diff --git a/package-lock.json b/package-lock.json index 4bc81f6ab6..e883b5a2a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -45593,4 +45593,4 @@ "license": "MIT" } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index ffc61304af..743de68239 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "build": { "appId": "nuclear", "productName": "nuclear", - "artifactName": "${productName}-v${env.VERSION}-${arch}.${ext}", + "artifactName": "${productName}-v${version}-${arch}.${ext}", "directories": { "output": "release" }, @@ -213,4 +213,4 @@ "dependencies": { "sqlite3": "^5.1.6" } -} \ No newline at end of file +} diff --git a/packages/app/app/.DS_Store b/packages/app/app/.DS_Store new file mode 100644 index 0000000000..1ddac5bbfe Binary files /dev/null and b/packages/app/app/.DS_Store differ diff --git a/packages/app/app/containers/AudiobookContainer/AudiobooksTab.tsx b/packages/app/app/containers/AudiobookContainer/AudiobooksTab.tsx new file mode 100644 index 0000000000..87572fbd27 --- /dev/null +++ b/packages/app/app/containers/AudiobookContainer/AudiobooksTab.tsx @@ -0,0 +1,12 @@ +import React from 'react'; + +const AudiobooksContainer: React.FC = () => { + return ( +
+

Audiobooks

+

Welcome to the Audiobooks section!

+
+ ); +}; + +export default AudiobooksContainer; diff --git a/packages/app/app/containers/AudiobookContainer/index.js b/packages/app/app/containers/AudiobookContainer/index.js new file mode 100644 index 0000000000..e104020bd5 --- /dev/null +++ b/packages/app/app/containers/AudiobookContainer/index.js @@ -0,0 +1,14 @@ +import React from 'react'; + +class AudiobookContainer extends React.Component { + render() { + return ( +
+

Audiobooks

+ {/* your audiobook UI goes here */} +
+ ); + } +} + +export default AudiobookContainer; diff --git a/packages/app/app/containers/DashboardContainer/__snapshots__/DashboardContainer.test.tsx.snap b/packages/app/app/containers/DashboardContainer/__snapshots__/DashboardContainer.test.tsx.snap index 2a5b113a84..8d000fe393 100644 --- a/packages/app/app/containers/DashboardContainer/__snapshots__/DashboardContainer.test.tsx.snap +++ b/packages/app/app/containers/DashboardContainer/__snapshots__/DashboardContainer.test.tsx.snap @@ -29,6 +29,11 @@ exports[`Dashboard container should display genres after going to genres tab 1`] > Genres + + Genres +
Genres + + Audiobooks +
"); +return vZ(c)}; +HG=function(N){var H=N.api.D().N("enable_linear_program_progress"),c=N.api.getPresentingPlayerType()===2;return N.sP&&!bq(N)&&(!H||!N.B)&&!c}; +YFh=function(){ZCv=J53=stw=xV=null}; +vAR=function(N){var H=[],c=[].concat(g.HE(N.mf));N.Eu.forEach(function(F){H.push(Object.assign({},F))}); +for(var t=N.T,h=g.K(N.C.Lt()),O=h.next();!O.done;O=h.next())t=AXw(N,H,c,O.value,t);H.forEach(function(F){F.startTimeMs&&(F.startTimeMs+=N.timestampOffset*1E3)}); +return{Eu:H,mf:c}}; +Bkv=function(N,H,c){N.GW=H;N.wk=c;H=g.K(N.Hr);for(c=H.next();!c.done;c=H.next()){var t=g.K(c.value);c=t.next().value;t=t.next().value;for(var h=g.K(t.uT),O=h.next();!O.done;O=h.next()){O=O.value;var F=aLD(N,c,O);DOf(N,O.jH,t,F)}}}; +ZQs=function(N,H,c){if(N.appInstallData)if(H){var t;c=(t=GL(H,$k,62))!=null?t:new $k;ES(c,6,N.appInstallData);ko(H,$k,62,c)}else c&&(c.client.configInfo=c.client.configInfo||{},c.client.configInfo.appInstallData=N.appInstallData)}; +kS=function(N,H){g.O7(N.S,H)||(N.S.push(H),H.jy(N.T),H.d4(N.U),H.JV()&&(N.TW=!0))}; +eGw=function(N){N.length===1||g.Mp(N,function(c){return!!c.range}); +for(var H=1;HH&&N.S=3&&N.cO>0&&(t=N.cO-1,c=O[t],c===O[++t]&&c===O[++t]&&c===O[++t])){for(h=N.cO+258;c===O[++t]&&c===O[++t]&&c===O[++t]&&c===O[++t]&&c===O[++t]&&c===O[++t]&&c===O[++t]&&c===O[++t]&&tN.sF&&(N.oW=N.sF)}N.oW>=3?(c=eC(N,1,N.oW-3),N.sF-=N.oW,N.cO+=N.oW,N.oW=0):(c=eC(N,0,N.window[N.cO]),N.sF--,N.cO++);if(c&&(vJ(N,!1),N.bG.Aj===0))return 1}N.X1=0;return H=== +4?(vJ(N,!0),N.bG.Aj===0?3:4):N.l1&&(vJ(N,!1),N.bG.Aj===0)?1:2}; +fLZ=function(N,H,c,t){c=c===void 0?{}:c;var h={};g.NY(h,{opt_adElement:void 0,opt_fullscreen:void 0},c);var O=N.LD(H,c);c=O?O.Kh:N.Ig();if(h.opt_bounds)return c.T(lI("ol",t));if(t!==void 0)if(u6D(t)!==void 0)if(oNf)N=lI("ue",t);else if(kAt(N),IF=="i")N=lI("i",t),N["if"]=0;else if(H=N.LD(H,h)){b:{IF=="i"&&(H.sB=!0);O=h.opt_fullscreen;O!==void 0&&YA(H,!!O);var F;if(O=!yG().B)(O=OL(g.tA(),"CrKey")&&!(OL(g.tA(),"CrKey")&&OL(g.tA(),"SmartSpeaker"))||OL(g.tA(),"PlayStation")||OL(g.tA(),"Roku")||RnS()|| +OL(g.tA(),"Xbox"))||(O=g.tA(),O=OL(O,"AppleTV")||OL(O,"Apple TV")||OL(O,"CFNetwork")||OL(O,"tvOS")),O||(O=g.tA(),O=OL(O,"sdk_google_atv_x86")||OL(O,"Android TV")),O=!O;O&&(jl(),O=YV(Uh)===0);if(F=O){switch(H.Zj()){case 1:rOe(H,"pv");break;case 2:N.UH(H)}bb("pv")}O=t.toLowerCase();if(F=!F)F=FP(BV().Ce,"ssmol")&&O==="loaded"?!1:g.O7(sRh,O);if(F&&H.DG==0){IF!="i"&&(kG.done=!1);F=h!==void 0?h.opt_nativeTime:void 0;Rv=F=typeof F==="number"?F:UW();H.dw=!0;var M=L2();H.DG=1;H.Nf={};H.Nf.start=!1;H.Nf.firstquartile= +!1;H.Nf.midpoint=!1;H.Nf.thirdquartile=!1;H.Nf.complete=!1;H.Nf.resume=!1;H.Nf.pause=!1;H.Nf.skip=!1;H.Nf.mute=!1;H.Nf.unmute=!1;H.Nf.viewable_impression=!1;H.Nf.measurable_impression=!1;H.Nf.fully_viewable_audible_half_duration_impression=!1;H.Nf.fullscreen=!1;H.Nf.exitfullscreen=!1;H.u8=0;M||(H.vv().Z=F);sN(kG,[H],!M)}(F=H.EC[O])&&Jy(H.FO,F);FP(BV().Ce,"fmd")||g.O7(B2R,O)&&H.XV&&H.XV.B(H,null);switch(H.Zj()){case 1:var f=Kf(O)?N.C.custom_metric_viewable:N.C[O];break;case 2:f=N.Z[O]}if(f&&(t=f.call(N, +H,h,t),FP(BV().Ce,"fmd")&&g.O7(B2R,O)&&H.XV&&H.XV.B(H,null),t!==void 0)){h=lI(void 0,O);g.NY(h,t);t=h;break b}t=void 0}H.DG==3&&N.wZ(H);N=t}else N=lI("nf",t);else N=void 0;else oNf?N=lI("ue"):O?(N=lI(),g.NY(N,s9l(O,!0,!1,!1))):N=lI("nf");return typeof N==="string"?c.T():c.T(N)}; +fpS=function(N,H,c){var t=this;this.loader=N;this.policy=H;this.mR=c;this.logger=new g.mE("dash");this.B=[];this.T=null;this.Us=-1;this.Z=0;this.NT=NaN;this.TW=0;this.L=NaN;this.C=this.Cq=0;this.zW=-1;this.Ix=this.U=this.S=this.ox=null;this.Xg=this.vp=NaN;this.Y=this.Bp=this.Kq=this.w_=null;this.Al=!1;this.gE=this.timestampOffset=0;this.Br={Lt:function(){return t.B}}; +if(this.policy.U){var h=this.mR,O=this.policy.U;this.policy.Al&&N.Lq("atv",{ap:this.policy.Al});this.Y=new T5(this.policy,h,function(F,M,f){N.wE.f0(new $7(t.policy.U,2,{So:new rqL(O,F,h.info,M,f)}))}); +this.Y.Z.promise.then(function(F){t.Y=null;F===1?N.wE.f0(new $7(t.policy.U,F)):t.loader.Lq("offlineerr",{status:F.toString()})},function(F){var M=(F.message||"none").replace(/[+]/g,"-").replace(/[^a-zA-Z0-9;.!_-]/g,"_"); +F instanceof aF&&!F.T?(t.loader.Lq("offlinenwerr",{em:M}),qr(t),N.wE.f0(new $7(t.policy.U,4))):(t.loader.Lq("dldbwerr",{em:M}),qr(t),N.wE.f0(new $7(t.policy.U,4,{k5:!0})))})}}; +yXZ=function(N){N.S&&N.Cq.element.removeChild(N.S.element);N.S=void 0}; +He=function(N){var H,c,t;return N.playerResponse&&N.playerResponse.paidContentOverlay&&N.playerResponse.paidContentOverlay.paidContentOverlayRenderer||g.P((H=N.ox)==null?void 0:(c=H.playerOverlays)==null?void 0:(t=c.playerOverlayRenderer)==null?void 0:t.playerDisclosure,Gtf)||null}; +wX=function(N,H,c){this.T=H;this.triggerType="TRIGGER_TYPE_CLOSE_REQUESTED";this.triggerId=c||N(this.triggerType)}; +MjL=function(){RGh||(RGh=hV(g.YI("WORKER_SERIALIZATION_URL")));return RGh||void 0}; +ejv=function(N,H,c,t){c+="."+N;N=Fn(H);t[c]=N;return c.length+N.length}; +ofD=function(N,H){N.J.getPlayerStateObject().isCued()||H?H&&(N.NT.hide(),N.Ix.hide(),N.muteButton&&N.muteButton.lX(!1),N.S&&N.S.lX(!1),N.U&&N.U.lX(!1),N.J.aU(N.N4())):H||(N.NT.show(),N.Ix.show(),N.muteButton&&N.muteButton.lX(!0),N.S&&N.S.lX(!0),N.U&&N.U.lX(!0),N.vD())}; +v6=function(N){window.bgens=N}; +JI3=function(N){this.xhr=N}; +g.s0=function(N){return(new gXh).UR(N)}; +kth=function(){}; +qM=function(N){N.M2&&(N.M2.dispose(),N.M2=null)}; +ILf=function(N){N.U1+H&&N.api.toggleFullscreen()}; +NBe=function(N){var H,c,t=(H=N.T)==null?void 0:(c=H.bannerData)==null?void 0:c.itemData,h,O,F,M;if(!((t==null?0:t.priceReplacementText)||N.J.N("web_player_enable_featured_product_banner_promotion_text_on_desktop")||(t==null?0:(h=t.dealsData)==null?0:(O=h.sales)==null?0:O.originalPrice))&&(t==null?0:(F=t.dealsData)==null?0:(M=F.priceDrop)==null?0:M.referencePrice)){var f,d;return t==null?void 0:(f=t.dealsData)==null?void 0:(d=f.priceDrop)==null?void 0:d.referencePrice}return null}; +pDR=function(N){var H;if(!(H=!N.T)){H=N.T;var c=window.getComputedStyle(H);H=c.display==="none"||c.visibility==="hidden"||H.getAttribute("aria-hidden")==="true"}if(H||N.J.isMinimized())N.a4(!1);else if(H=g.WQ(N.T),H.width&&H.height){N.J.t2(N.element,N.T);var t=N.J.BO().getPlayerSize().height;c=g.WQ(N.Sa("ytp-promotooltip-container")).height;N.L?N.element.style.top=t-c-H.height-12+"px":N.C||(t=N.J.UG().height-c-H.height-12,N.element.style.top=t+"px");t=N.Sa("ytp-promotooltip-pointer");var h=g.PW(N.T, +N.J.getRootNode()),O=Number(N.element.style.left.replace(/[^\d\.]/g,""));N=N.J.isFullscreen()?18:12;t.style.left=h.x-O+H.width/2-N+"px";t.style.top=c+"px"}else N.a4(!1)}; +Hth=function(N){N=Math.trunc(N)||0;N<0&&(N+=this.length);if(!(N<0||N>=this.length))return this[N]}; +Ib=function(N,H){return(N=N.G0(H))?N.toString():""}; +lx=function(N){return N.Es.N("html5_disable_av1")?!0:!1}; +Pnd=function(N,H,c,t,h,O,F){H=ysw(H,O,Number(t.prefetchMilliseconds)||0,F);N=H instanceof S?H:mul(N,t,h,H,c);return N instanceof S?N:[N]}; +itw=function(N,H,c){if(c.info.mR.Oa()){if(N.Al&&$5t(c)&&(H=g.sn(c),H=g.Yv(H,0,1953658222))){H.skip(1);var t=mr(H)<<16|QJ(H),h=t&1,O=t&4;if(t&256){var F=t&512,M=t&1024;t&=2048;var f=wm(H);f<2||(h&&H.skip(4),O&&H.skip(4),h=wm(H),H.skip((f-1)*(4+(F?4:0)+(M?4:0)+(t?4:0))-4),H.data.setUint32(H.offset+H.T,h))}}if(H=N.ox&&!!N.ox.mR.U)if(H=c.info.KG())H=E$Z(c),F=N.ox,wf?(M=1/H,H=Q1(N,H)>=Q1(F)+M):H=N.getDuration()>=F.getDuration(),H=!H;H&&$5t(c)&&(H=N.ox,wf?(M=E$Z(c),F=1/M,M=Q1(N,M),H=Q1(H)+F-M):H=H.getDuration()- +N.getDuration(),H=1+H/c.info.duration,tqs(g.sn(c),H))}else{F=!1;N.S||(AnR(c),c.T&&(N.S=c.T,F=!0,h=c.info,O=c.T.cz,h.Y="updateWithEmsg",h.Y_=O,h=c.T,h.Xy&&(O=N.mR.index,O.B=!h.Xy,O.L="emsg"),h=c.info.mR.info,O=g.sn(c),g.vs(h)?jCe(O,1701671783):h.RW()&&ZS([408125543],307544935,O)));a:if((h=NB(c,N.policy.T3))&&cMd(c))M=h7y(N,c),N.C+=M,h-=M,N.TW+=h,N.L=N.policy.HQ?N.L+h:NaN;else{if(N.policy.i5){if(O=f=N.loader.SH(g.TA(c),1),N.L>=0&&c.info.type!==6){if(N.policy.HQ&&isNaN(N.vp)){g.aS(new g.ti("Missing duration while processing previous chunk", +c.info.uX()));N.loader.isOffline()&&!N.policy.XS||Diw(N,c,O);Fg(N,"m");break a}t=f-N.L;var d=t-N.C,W=c.info.Y_,z=N.Ix?N.Ix.Y_:-1,E=N.Xg,x=N.vp,q=N.policy.p7&&t>N.policy.p7,r=Math.abs(d)>10,w=Math.abs(N.L-O)<1E-7;if(Math.abs(d)>1E-4){N.gE+=1;var n=(M=N.S)==null?void 0:gGt(M);M={audio:""+ +N.ll(),sq:W.toFixed(),sliceStart:f,lastSq:z.toFixed(),lastSliceStart:E,lastSliceDuration:x,totalDrift:(t*1E3).toFixed(),segDrift:(d*1E3).toFixed(),skipRewrite:""+ +(q||r)};if(n==null?0:n.length)M.adCpn=n[0];N.loader.handleError("qoe.avsync", +M);N.zW=W}q||r||w||(O=N.L);M=h7y(N,c,f);h-=M;N.C=t+M}}else O=isNaN(N.L)?c.info.startTime:N.L;Diw(N,c,O)&&(N.TW+=h,N.L=O+h,N.policy.N8&&N.gE>=N.policy.N8&&(N.gE=0,N.loader.Z7({resetForRewrites:"count"})))}N.Ix=c.info;N.vp=VM(c);c.L>=0&&(N.Xg=c.L);if(F&&N.S){F=x$L(N,!0);SX(c.info,F);N.T&&SX(N.T.info,F);H=g.K(H);for(M=H.next();!M.done;M=H.next())M=M.value,h=void 0,N.policy.S&&M.Y_!==((h=N.S)==null?void 0:h.cz)||SX(M,F);(c.info.L||N.T&&N.T.info.L)&&c.info.type!==6||(N.Bp=F,N.policy.B?(H=qUw(N.S),N.loader.G8(N.mR, +F,H)):(H=N.loader,H.GW.isManifestless&&ezv(H,F,null,!!N.mR.info.video)),N.policy.kD||Ci3(N))}}wve(N,c);N.timestampOffset&&aiZ(c,N.timestampOffset)}; +cm3=function(N){if(N.csn!==g.gi())if(N.csn==="UNDEFINED_CSN")N.csn=g.gi();else{var H=g.gi(),c=g.kV();if(H&&c){N.csn=H;for(var t=g.K(N.elements),h=t.next();!h.done;h=t.next())(h=h.value.visualElement)&&h.isClientVe()&&H&&c&&(g.sf("combine_ve_grafts")?Dz(qu(),h,c):g.Lu(g.Iw)(void 0,H,c,h))}if(H)for(N=g.K(N.T),c=N.next();!c.done;c=N.next())(c=c.value.visualElement)&&c.isClientVe()&&g.Qj(H,c)}}; +Zl=function(N){if(!N.isProximaLatencyEligible)return 0;var H=rf();return tHe(N)?2:H===1?1:N.N("html5_enable_proxima")?2:0}; +oFL=function(N,H,c){if(aGd){var t;N.mediaElement.Kb("rms",{l:"mswssb",sr:(t=N.mediaElement.wE)==null?void 0:t.YD()},!1);H.Cm(N.C,N);c.Cm(N.C,N)}N.T=H;N.B=c;g.l(N,H);g.l(N,c)}; +hQw=function(N){switch(N){case "multiview.ustreamer_disabled":case "sabr.live_no_max_sq":case "sabr.live_unauthorized_request":case "sabr.malformed_config":case "sabr.media_serving_enforcement_id_error":case "sabr.metadata_fetcher_error":case "sabr.no_audio_selected":case "sabr.no_available_formats":case "sabr.no_redirect_url":case "sabr.no_video_selected":case "sabr.too_many_chunk_reader_error_retries":return N;default:return"sabr.config"}}; +Otf=function(N,H){$z(N,1,H.cpn);d8(N,2,H.sequenceNumber);$z(N,3,H.serializedWatchEndpointLoggingContext);if(H.decoderInfo)for(var c=0;c1E4?t.XE=1:c=!0}}if(c)return!1}else if(c=!1,N.Us.B===2?c=!0:N.Us.B===3&&(Y7(N),N.loader.HO(),h=Au(N.audioTrack,N.loader.isSeeking()).Eu, +H=Au(N.videoTrack,N.loader.isSeeking()).Eu,t=N.loader.getCurrentTime()||0,h=aK(N,h,t),H=aK(N,H,t),H=Math.min(h,H),t=N.Us,H>=t.S?(t.Lq("sdai",{haltrq:H,est:t.S}),H=!0):H=!1,H&&(c=!0)),c&&N.policy.C&&N.loader.Lq("sabrcrq",{waitad:1}),c)return!1;N.policy.L2&&(N.Ix=aH(N,N.audioTrack),N.Cq=aH(N,N.videoTrack));if(!N.L)return N.policy.C&&N.loader.Lq("sabrcrq",{nopolicy:1}),!0;if(N.wE.G$())return N.policy.C&&N.loader.Lq("sabrcrq",{utc:1}),!0;if(N.B.C)return N.policy.C&&N.loader.Lq("sabrcrq",{audio:1}),!0; +if(N.policy.SL&&N.B.TW)return N.policy.C&&N.loader.Lq("sabrcrq",{constraint:1}),!0;if(!N.L.targetAudioReadaheadMs||!N.L.targetVideoReadaheadMs)return N.policy.C&&N.loader.Lq("sabrcrq",{noreadahead:1}),!0;if(N.policy.S&&N.loader.MV())return N.policy.C&&N.loader.Lq("sabrcrq",{seekToHead:1}),!0;c=Math.min(QE(N.loader,N.audioTrack)*1E3,N.L.targetAudioReadaheadMs);H=Math.min(QE(N.loader,N.videoTrack)*1E3,N.L.targetVideoReadaheadMs);var F=Math.min(c,H),M=N.wE.getCurrentTime()*1E3,f=MYZ(N,M);t=f.y6;h=f.nN; +O=f.J$;f=f.HP;var d=t=0;F--){var M=h.B[F];M.info.Y_>=H&&(h.B.pop(),h.L-=NB(M,h.policy.T3),O=M.info)}O&&(h.U=h.B.length>0?h.B[h.B.length-1].info:h.Kq,h.B.length!==0||h.U||Fg(h,"r"));h.loader.Lq("mdstm",{rollbk:1,itag:O?O.mR.info.itag:"",popped:O?O.Y_:-1,sq:H,lastslc:h.U?h.U.Y_:-1,lastfraget:h.L.toFixed(3)});if(N.policy.T)return N.T=null,!0;t>c?VV(N,t):N.T=N.mR.HM(H-1,!1).L4[0]}catch(f){return H=g8(f),H.details.reason= +"rollbkerr",N.loader.handleError(H.errorCode,H.details,H.severity),!1}return!0}; +W2v=function(N,H){xUR(N.program,H.l$a)&&(OZ("bg_i",void 0,"player_att"),g.jv.initialize(N,function(){OZ("bg_l",void 0,"player_att");lK=(0,g.Lh)()},H.cspNonce,H.qf))}; +Or=function(N,H){return!N.Y&&VW()&&uH(55)&&N.controlsType==="3"&&!H}; +nl=function(N){return N.ox==="adunit"||N.playerStyle==="gvn"}; +g.eP=function(N){var H=[];if(N.displayName)H.push(N.displayName);else{var c=N.languageName||"";H.push(c);N.kind==="asr"&&c.indexOf("(")===-1&&H.push(" (Automatic Captions)");N.name&&H.push(" - "+N.name)}N.translationLanguage&&H.push(" >> "+N.translationLanguage.languageName);return H.join("")}; +lm=function(N,H,c){H=H.layoutId;for(var t=[],h=g.K(N.tF.values()),O=h.next();!O.done;O=h.next())if(O=O.value,O.trigger instanceof mR){var F;if(F=O.trigger.layoutId===H){F=c;var M=zQD.get(O.category);F=M?M===F:!1}F&&t.push(O)}t.length&&$D(N.T(),t)}; +g.y9=function(N){return N.Jn.get("annotations_module")}; +Eus=function(N,H,c){var t,h=H==null?void 0:(t=H.text)==null?void 0:t.simpleText;h&&TDd(N,c,h,H==null?void 0:H.icon).listen("click",function(){var O;(H==null?void 0:(O=H.icon)==null?void 0:O.iconType)==="HIDE"?N.J.publish("featuredproductdismissed"):H.serviceEndpoint&&N.J.QS("innertubeCommand",H.serviceEndpoint);N.hide()},N)}; +x33=function(N){if(N.Fj)return!1;var H=void 0;N.aW&&(H=N.T.Vd({cpn:N.aW}));return N.playback.getVideoData().vH()?!!H&&!H.Jo:!!H}; +qMZ=function(N){var H;(H=N.Dt)==null||H.stop();N.countdownTimer.hide()}; +NUh=function(N){N.U=N.startTime;N.C=N.duration;N.S=N.U+N.C}; +oAs=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);this.events.G(N,"initialvideodatacreated",function(c){R9(qu(),16623);H.T=g.gi();var t=N.D().KC&&!c.T3;if(N4(c)&&t){R9(qu(),27240,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED"});if(c.getWatchNextResponse()){var h,O=(h=c.getWatchNextResponse())==null?void 0:h.trackingParams;O&&N0(O)}if(c.getPlayerResponse()){var F;(c=(F=c.getPlayerResponse())==null?void 0:F.trackingParams)&&N0(c)}}else R9(qu(), +32594,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED"}),c.getEmbeddedPlayerResponse()&&(F=(O=c.getEmbeddedPlayerResponse())==null?void 0:O.trackingParams)&&N0(F)}); +this.events.G(N,"loadvideo",function(){R9(qu(),27240,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED",parentCsn:H.T})}); +this.events.G(N,"cuevideo",function(c){c===1&&R9(qu(),32594,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED",parentCsn:H.T})}); +this.events.G(N,"largeplaybuttonclicked",function(c){R9(qu(),27240,c.visualElement)}); +this.events.G(N,"playlistnextbuttonclicked",function(c){R9(qu(),27240,c.visualElement)}); +this.events.G(N,"playlistprevbuttonclicked",function(c){R9(qu(),27240,c.visualElement)}); +this.events.G(N,"playlistautonextvideo",function(){R9(qu(),27240,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED"})})}; +qy=function(N){return!(!N.Ze||!N.Es.Z)&&N.PJ()}; +C3t=function(N){return N.X3!==void 0}; +uE=function(N){P$.call(this,N.uU,N.ea,N.ID,N.Nc,N.k_,N.mx,N.YO,N.HL,N.slot,N.layout,N.PH,N.ZM,N.Le,N.Rx)}; +uO=function(N){return N===1||N===2}; +hf=function(N){return N.keySystem==="com.youtube.fairplay"}; +NQS=function(N,H){var c;return!((c=N.C)==null||!c.S.has(H))||l1y(N.L,H)}; +fQe=function(N){N.B=!0;return N}; +i1=function(N,H){var c=lQ(N.clientMetadata,"metadata_type_eligible_for_ssap");return c===void 0?(KA("Expected SSAP eligibility in PlayerBytes factory",N),!1):H.fG(c)}; +tge=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x,q){var r=sqh(h,E,x);if(r instanceof S)return r;var w=[],n=[];r=g.K(r);for(var p=r.next();!p.done;p=r.next()){var U=p.value;p=N;var X=h[U.PQ],A=U,R=H;U=O;var v=F,Nf=M,Fe=f,tS=d,jh=W,cL=Dd(X);if(cL instanceof S)p=cL;else{var Ks={layoutId:X.adLayoutMetadata.layoutId,layoutType:X.adLayoutMetadata.layoutType,Hp:"adapter"};A=tCe(R,X,A,U);A instanceof S?p=A:(p=Object.assign({},Ks,iQ,{S1:cL,renderingContent:X.renderingContent,clientMetadata:new xd(A),z0:q5(Nf,p)(Ks), +adLayoutLoggingData:X.adLayoutMetadata.adLayoutLoggingData}),p=(X=l5(jh,p,U,v.uR,Nf,Fe,tS,void 0,!0))?X instanceof S?X:{layout:p,z7:X}:new S("Expecting associatedInPlayerSlot"))}if(p instanceof S)return p;w.push(p.layout);n.push(p.z7)}h={layoutId:c.adLayoutMetadata.layoutId,layoutType:c.adLayoutMetadata.layoutType,Hp:"core"};H=[new ob(Number(c.driftRecoveryMs)),new Wi(E),new Rb(x),new Xe(VR(H)),new M1(z),new kt({})];q&&H.push(new Mo({}));return{wN:Object.assign({},h,t,{Yb:w,S1:new Map,clientMetadata:new xd(H), +z0:q5(M,N)(h)}),VL:n}}; +K2h=function(N,H,c){H.Oz().currentState<2&&(c=P0(c,N.Rx),H.BH(H.dE(),c));c=H.Oz().T;N.BK(N.slot,H.dE(),c)}; +b9y=function(N){return N.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})\.(\d{3})$/)?N+"Z":N}; +BS=function(N){return N.J.D().experiments.M4("enable_ads_control_flow_deterministic_id_generation")}; +u7=function(N,H,c){g.L.call(this);this.J=N;this.tV=H;this.Rx=c;this.listeners=[];this.nk=null;this.ob=new Map;H=new g.Ww(this);g.l(this,H);H.G(N,"videodatachange",this.kEl);H.G(N,"serverstitchedvideochange",this.AnS);this.Ow=s7(this)}; +g.ac=function(N){for(var H in N)return H}; +DrL=function(N){g.e.call(this,{W:"div",K:"ytp-heat-map-chapter",X:[{W:"svg",K:"ytp-heat-map-svg",V:{height:"100%",preserveAspectRatio:"none",version:"1.1",viewBox:"0 0 1000 100",width:"100%"},X:[{W:"defs",X:[{W:"clipPath",V:{id:"{{id}}"},X:[{W:"path",K:"ytp-heat-map-path",V:{d:"",fill:"white"}}]},{W:"linearGradient",V:{gradientUnits:"userSpaceOnUse",id:"ytp-heat-map-gradient-def",x1:"0%",x2:"0%",y1:"0%",y2:"100%"},X:[{W:"stop",V:{offset:"0%","stop-color":"white","stop-opacity":"1"}},{W:"stop",V:{offset:"100%", +"stop-color":"white","stop-opacity":"0"}}]}]},{W:"rect",K:"ytp-heat-map-graph",V:{"clip-path":"url(#hm_1)",fill:"white","fill-opacity":"0.4",height:"100%",width:"100%",x:"0",y:"0"}},{W:"rect",K:"ytp-heat-map-hover",V:{"clip-path":"url(#hm_1)",fill:"white","fill-opacity":"0.7",height:"100%",width:"100%",x:"0",y:"0"}},{W:"rect",K:"ytp-heat-map-play",V:{"clip-path":"url(#hm_1)",height:"100%",x:"0",y:"0"}},{W:"path",K:"ytp-modern-heat-map",V:{d:"",fill:"url(#ytp-heat-map-gradient-def)",height:"100%", +stroke:"white","stroke-opacity":"1","stroke-width":"2px",width:"100%",x:"0",y:"0"}}]}]});this.api=N;this.C=this.Sa("ytp-heat-map-svg");this.S=this.Sa("ytp-heat-map-path");this.U=this.Sa("ytp-heat-map-graph");this.Y=this.Sa("ytp-heat-map-play");this.T=this.Sa("ytp-heat-map-hover");this.L=this.Sa("ytp-modern-heat-map");this.DI=!1;this.B=60;N=""+g.ye(this);this.update({id:N});N="url(#"+N+")";this.U.setAttribute("clip-path",N);this.Y.setAttribute("clip-path",N);this.T.setAttribute("clip-path",N)}; +gul=function(N){var H={c:N.N_,e:N.vK,mc:N.Sk,me:N.mJ};N.UB&&(H.co={c:N.UB.Kc,a:N.UB.FI,s:N.UB.nT});return H}; +FH=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);this.events.G(N,"standardControlsInitialized",function(){H.createButton()}); +g.gu(this.api.D())&&(this.N("web_watch_pip")||this.N("web_shorts_pip"))&&wl(this.api,"setDocumentPictureInPicture",function(c){H.setDocumentPictureInPicture(c)})}; +rmZ=function(N){N.provider.videoData.googleRemarketingUrl&&!N.Us&&(eM(N,N.provider.videoData.googleRemarketingUrl),N.Us=!0)}; +m3v=function(N){N=g.K(V1(N.T).RU.EV.values());for(var H=N.next();!H.done;H=N.next())if(H.value.layoutType==="LAYOUT_TYPE_MEDIA_BREAK")return!0;return!1}; +lMh=function(N){I5(N.S,N.element,["keymessage","webkitkeymessage"],N.cW);I5(N.S,N.element,["keyerror","webkitkeyerror"],N.pw);I5(N.S,N.element,["keyadded","webkitkeyadded"],N.Nm)}; +wlZ=function(N,H){var c=N[H];c!==void 0&&c>0&&(N[H]=Math.floor(c*1E3))}; +D3d=function(N,H,c){var t;F6(N.Pp.get(),"ads_qua","cpn."+lQ(N.layout.clientMetadata,"metadata_type_content_cpn")+";acpn."+((t=s7(N.ea.get(),2))==null?void 0:t.clientPlaybackNonce)+";qt."+H+";clr."+c)}; +OMR=function(N){var H=new Bs(N);H.cL();if(yq(H,[408125543,374648427,174,224]))H=kb(H);else return null;for(var c=N=null;!Ng(H);){var t=T8(H,!1);if(t===21432)switch(iK(H)){default:N=0;break;case 1:N=1;break;case 3:N=2;break;case 15:N=255}else t===30320?c=kb(H):Gy(H)}if(!c)return null;for(var h,O=t=H=null;!Ng(c);)switch(T8(c,!1)){case 30321:if(iK(c)!==3)return null;break;case 30324:H=$H(c);break;case 30323:O=$H(c);break;case 30325:t=$H(c);break;case 30322:h=T8(c,!0);h=zl(c,h);h=new DataView(h.buffer, +h.byteOffset,h.byteLength);break;default:Gy(c)}return h?new IZ3(N,H,O,t,h):null}; +Qk3=function(N){var H;return N==null?void 0:(H=N.activeViewTracking)==null?void 0:H.identifier}; +plf=function(N,H,c){H=em(H);H!=null&&H!=null&&(Xa(N,c,0),ZH3(N.T,H))}; +uOy=function(N,H){if(N.QY("getState")==="loading")return new g.rv(-1,-1);H=N.QY(H);if(!H)return new g.rv(-1,-1);N=parseInt(H.width,10);H=parseInt(H.height,10);return isNaN(N)||isNaN(H)?new g.rv(-1,-1):new g.rv(N,H)}; +SL=function(N,H){var c=PJ(N);B_(N.wE.getPlayerState())&&(c>=H.mediaTime?(H.resolve([H.mediaTime,H.id]),N.T.delete(H.id)):(H.delay.dispose(),c=(H.mediaTime-c)*1E3/N.wE.getPlaybackRate(),H.delay=new g.kT(function(){SL(N,H)},c/2),H.delay.start()))}; +Jmw=function(N){for(var H=g.K(N.Hr),c=H.next();!c.done;c=H.next()){var t=g.K(c.value);c=t.next().value;t=t.next().value;t.TO||p9(N,c)}}; +nud=function(N){return{TL:cM(N,2),videoId:fB(N,3),dI:IZ(N,4)}}; +QJv=function(N){var H=this;this.T={};this.L={};this.Br={O1l:function(){return H.T}}; +this.videoData=N;var c,t=(c=N.L)==null?void 0:c.B;t&&t.length>0?this.B=t:(N=N.getAvailableAudioTracks(),this.B=N.length>0?ZOd(N):[]);N=g.K(SMD);for(c=N.next();!c.done;c=N.next())c=c.value,this.T[c]=P3d[c](this.B);this.D$()}; +g.dzS=function(N){var H=H===void 0?{}:H;var c=c===void 0?"":c;var t=t===void 0?window:t;N=g.Of(N,H);E9(N);c=g.G6(N+c);t=t.location;c=W5(c);c!==void 0&&(t.href=c)}; +i8=function(N,H){return pq(N,void 0,H)}; +GN=function(N){N.NT=[];N.v4();N.J.gr("featured_product")}; +g.RX=function(N){Jt.call(this);var H=this;this.T=N;this.B={};this.listener=function(c){H.dispatchEvent(new nG(H,c.type,c))}}; +W1=function(){this.B=new JSt;this.T=c2()?new Te:new vN}; +o8w=function(N,H,c,t){t=t===void 0?!1:t;var h=h===void 0?!0:h;return Gi(void 0,function(){return function F(){var M,f,d,W,z,E,x,q,r,w,n,p,U,X,A,R,v,Nf,Fe;return Tr(F,function(tS){switch(tS.T){case 1:g.I_(tS,2);M=uZ.fl();f=N&&GNe;if(!f&&!H)return W={},(d=c)==null||d("wasmns",(W.p=N?"1":"0",W.a=H?"1":"0",W.s=GNe?"1":"0",W)),tS.return(uKS(Error("wasm.wm.ns")));z=new U3s;if(!f){tS.rE(4);break}g.Xy(tS,5);E=R$;return o$(tS,kx(jhZ(z,N,t)),7);case 7:return x=E(tS.B),q=new FA(x,z,!1,h),uZ.rD("winit",M),(r= +c)==null||r("wasmsw",{}),tS.return(q);case 5:if(w=g.Lq(tS),p={},(n=c)==null||n("wasmerrw",(p.e=""+w,p)),!H)throw Error("wasm.wm.iw: "+w);case 4:if(!H)throw Error("wasm.wm.xx");g.Xy(tS,8);U=R$;return o$(tS,kx(H(z)),10);case 10:return X=U(tS.B),A=new FA({exports:X},z,!0,h),uZ.rD("winitjs",M),(R=c)==null||R("wasmsa",{}),tS.return(A);case 8:throw v=g.Lq(tS),Fe={},(Nf=c)==null||Nf("wasmerra",(Fe.e=""+v,Fe)),Error("wasm.wm.ia: "+v);case 2:g.B$(tS),g.JV(tS,0)}})}()})}; +g.UU=function(N,H){if(N.NT)return function(){}; +H.addEventListener("mouseover",N.S);H.addEventListener("focus",N.S);var c=N.env.N("player_tooltip_data_title_killswitch")?H.getAttribute("title"):H.getAttribute("data-tooltip-title");c&&!H.hasAttribute("aria-label")&&H.setAttribute("aria-label",c);return function(){N.T===H&&N.oA();H.removeEventListener("mouseover",N.S);H.removeEventListener("focus",N.S)}}; +DV=function(N){this.T=this.B=0;this.alpha=Math.exp(Math.log(.5)/N)}; +M5f=function(N,H,c){c=c===void 0?!1:c;N.WO=OD(N.WO,H.video_id);N.Oc=OD(N.Oc,H.eventid);N.Oc&&(RB=N.Oc);for(var t=[],h=g.K(Object.keys(Xlv)),O=h.next();!O.done;O=h.next()){O=Xlv[O.value];var F=H[O];F!=null&&(F!==N.T[O]&&t.push(O),N.T[O]=F)}!c&&t.length>0&&N.UJ&&(t.sort(),g.aS(new g.ti("Player client parameters changed after startup",t)));N.userAge=PP(N.userAge,H.user_age);N.BR=OD(N.BR,H.user_display_email);N.userDisplayImage=OD(N.userDisplayImage,H.user_display_image);g.Vq(N.userDisplayImage)||(N.userDisplayImage= +"");N.userDisplayName=OD(N.userDisplayName,H.user_display_name);N.YA=OD(N.YA,H.user_gender);N.csiPageType=OD(N.csiPageType,H.csi_page_type);N.csiServiceName=OD(N.csiServiceName,H.csi_service_name);N.vQ=Nx(N.vQ,H.enablecsi);N.pageId=OD(N.pageId,H.pageid);if(c=H.enabled_engage_types)N.enabledEngageTypes=new Set(c.split(","));H.living_room_session_po_token&&(N.L2=H.living_room_session_po_token.toString())}; +lPl=function(){var N=window.document;return N&&typeof N.elementFromPoint==="function"}; +YMw=function(N,H){var c={};if(N.app.D().Us){N=g.K(VHw);for(var t=N.next();!t.done;t=N.next())t=t.value,H.hasOwnProperty(t)&&(c[t]=H[t]);if(H=c.qoe_cat)N="",typeof H==="string"&&H.length>0&&(N=H.split(",").filter(function(h){return L2Z.includes(h)}).join(",")),c.qoe_cat=N; +a0v(c)}else for(N=g.K(ZtL),t=N.next();!t.done;t=N.next())t=t.value,H.hasOwnProperty(t)&&(c[t]=H[t]);return c}; +WHD=function(N,H,c,t,h){var O;if((O=N.playerOverlay)==null||!O.instreamSurveyAdRenderer)return function(){return[]}; +if(!$Wd(N))return function(){return new S("Received invalid InstreamVideoAdRenderer for DAI survey.",{instreamVideoAdRenderer:N})}; +var F=N.playerOverlay.instreamSurveyAdRenderer,M=zT(F);return M<=0?function(){return new S("InstreamSurveyAdRenderer should have valid duration.",{instreamSurveyAdRenderer:F})}:function(f,d){var W=JXD(f,c,t,function(z){var E=z.slotId; +z=d(z);var x=Ew(F);E=CA(h.B.get(),"LAYOUT_TYPE_SURVEY",E);var q={layoutId:E,layoutType:"LAYOUT_TYPE_SURVEY",Hp:"core"},r=new uN(h.T,t),w=new wG(h.T,E),n=new Kc(h.T,E),p=new ICe(h.T);return{layoutId:E,layoutType:"LAYOUT_TYPE_SURVEY",S1:new Map,layoutExitNormalTriggers:[r,p],layoutExitSkipTriggers:[w],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[n],layoutExitUserCancelledTriggers:[],Hp:"core",clientMetadata:new xd([new w4t(F),new Xe(H),new rx(M/1E3),new G3(x)]),z0:z(q),adLayoutLoggingData:F.adLayoutLoggingData}}); +f=aMh(N,c,W.slotId,t,h,f,d);return f instanceof S?f:[W].concat(g.HE(f))}}; +Ams=function(N,H){var c=N.B.indexOf(H);c>=0&&N.B.splice(c,1);N.L.delete(H.cpn);H.vr&&N.U.delete(H.vr)}; +Im=function(N,H){N.T=H;g.Hw("yt.gcf.config.coldConfigGroup",N.T||null)}; +Hi=function(N,H){var c=N.N("web_fix_annotations")?"Annotated Overlays":"Annotations";n6.call(this,c,g.Se.i9);this.J=N;this.R4=H;this.T=!1;N.N("web_settings_menu_icons")&&(H=N.N("delhi_modern_web_player_icons")?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M9.65 6.00L9.5 6H2.5L2.34 6.00C1.97 6.04 1.63 6.21 1.38 6.49C1.13 6.77 1.00 7.12 1 7.5V13.5L1.00 13.65C1.04 14.02 1.21 14.36 1.49 14.61C1.77 14.86 2.12 15 2.5 15H4.5L3.81 17.75C3.77 17.89 3.77 18.03 3.79 18.17C3.82 18.31 3.87 18.45 3.95 18.56C4.03 18.68 4.14 18.78 4.26 18.85C4.38 18.92 4.51 18.97 4.66 18.99L4.78 19H8.55L8.72 18.98C8.88 18.95 9.04 18.89 9.17 18.79C9.30 18.68 9.40 18.55 9.47 18.40L9.52 18.24L10.62 13.96C10.84 13.11 10.96 12.24 10.99 11.36L11 10.98V7.5C11 7.12 10.86 6.77 10.61 6.49C10.36 6.21 10.02 6.04 9.65 6.00ZM21.65 6.00L21.5 6H14.5L14.34 6.00C13.97 6.04 13.63 6.21 13.38 6.49C13.13 6.77 13 7.12 13 7.5V13.5L13.00 13.65C13.04 14.02 13.21 14.36 13.49 14.61C13.77 14.86 14.12 15 14.5 15H16.5L15.81 17.75C15.77 17.89 15.77 18.03 15.79 18.17C15.82 18.31 15.87 18.44 15.95 18.56C16.03 18.68 16.14 18.78 16.26 18.85C16.38 18.92 16.51 18.97 16.66 18.99L16.78 19H20.55L20.72 18.98C20.88 18.95 21.04 18.89 21.17 18.79C21.30 18.68 21.40 18.55 21.47 18.40L21.52 18.24L22.62 13.96C22.84 13.11 22.96 12.24 22.99 11.36L23 10.98V7.5C23 7.12 22.86 6.77 22.61 6.49C22.36 6.21 22.02 6.04 21.65 6.00ZM3 13V8H9V10.98C9.00 11.71 8.91 12.44 8.76 13.16L8.68 13.47L7.78 17H6.06L6.44 15.48L7.06 13H3ZM15 13V8H21V10.98C21 11.71 20.91 12.44 20.76 13.16L20.68 13.47L19.78 17H18.06L18.44 15.48L19.06 13H15Z", +fill:"white"}}]}:{W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M17.5,7c1.93,0,3.5,1.57,3.5,3.5c0,1-0.53,4.5-0.85,6.5h-2.02l0.24-1.89l0.14-1.09l-1.1-0.03C15.5,13.94,14,12.4,14,10.5 C14,8.57,15.57,7,17.5,7 M6.5,7C8.43,7,10,8.57,10,10.5c0,1-0.53,4.5-0.85,6.5H7.13l0.24-1.89l0.14-1.09l-1.1-0.03 C4.5,13.94,3,12.4,3,10.5C3,8.57,4.57,7,6.5,7 M17.5,6C15.01,6,13,8.01,13,10.5c0,2.44,1.95,4.42,4.38,4.49L17,18h4c0,0,1-6,1-7.5 C22,8.01,19.99,6,17.5,6L17.5,6z M6.5,6C4.01,6,2,8.01,2,10.5c0,2.44,1.95,4.42,4.38,4.49L6,18h4c0,0,1-6,1-7.5 C11,8.01,8.99,6,6.5,6L6.5,6z", +fill:"white"}}]},this.setIcon(H));this.G(N,"videodatachange",this.Df);this.G(N,"onApiChange",this.Df);this.subscribe("select",this.onSelect,this);this.Df()}; +g.K_=function(N,H){var c=c===void 0?0:c;var t=new BTs;k8(t,2,GJf(N));N=a1h[H];if(typeof N==="undefined")throw c=new g.ti("Failed to recognize entity type",{name:"EntityKeyHelperError",entityType:H}),g.BZ(c),c;d8(t,4,N);d8(t,5,1);H=new Uint8Array(t.T.buffer,t.T.byteOffset,t.pos);return encodeURIComponent(g.Eq(H,c))}; +eQR=function(N,H){g.e.call(this,{W:"div",K:"ytp-cards-teaser",X:[{W:"div",K:"ytp-cards-teaser-box"},{W:"div",K:"ytp-cards-teaser-text",X:N.D().N("player_new_info_card_format")?[{W:"button",K:"ytp-cards-teaser-info-icon",V:{"aria-label":"Show cards","aria-haspopup":"true"},X:[R5R()]},{W:"img",K:"ytp-cards-teaser-channel-avatar",V:{alt:"","aria-hidden":"true"}},{W:"span",K:"ytp-cards-teaser-label",Wp:"{{text}}"},{W:"button",K:"ytp-cards-teaser-close-button",V:{"aria-label":"Close"},X:[g.Bg()]}]:[{W:"span", +K:"ytp-cards-teaser-label",Wp:"{{text}}"}]}]});var c=this;this.J=N;this.n2=H;this.fade=new g.BX(this,250,!1,250);this.T=null;this.Y=new g.kT(this.u2p,300,this);this.S=new g.kT(this.CGW,2E3,this);this.U=[];this.L=null;this.C=new g.kT(function(){c.element.style.margin="0"},250); +this.onClickCommand=this.B=null;g.l(this,this.fade);g.l(this,this.Y);g.l(this,this.S);g.l(this,this.C);N.D().N("player_new_info_card_format")?(g.bV(N.getRootNode(),"ytp-cards-teaser-dismissible"),this.G(this.Sa("ytp-cards-teaser-close-button"),"click",this.eU),this.G(this.Sa("ytp-cards-teaser-info-icon"),"click",this.Sw),this.G(this.Sa("ytp-cards-teaser-label"),"click",this.Sw)):this.listen("click",this.Sw);this.G(H.element,"mouseover",this.gU);this.G(H.element,"mouseout",this.fd);this.G(N,"cardsteasershow", +this.lsq);this.G(N,"cardsteaserhide",this.e1);this.G(N,"cardstatechange",this.vV);this.G(N,"presentingplayerstatechange",this.vV);this.G(N,"appresize",this.jQ);this.G(N,"onShowControls",this.jQ);this.G(N,"onHideControls",this.cX);this.listen("mouseenter",this.Vr)}; +N7=function(N,H,c){for(var t=N.Zs[c],h=c<<1;h<=N.Yu;){h=M,f=N.GW.isManifestless,F){var d;if(((d=N.T)==null?void 0:d.Rc.event)==="predictStart"&&N.T.Y_0&&(N.S=N.KO[0],N.Es.vO())){c={};t=g.K(Object.entries(N.S.T));for(h=t.next();!h.done;h=t.next()){var O=g.K(h.value);h=O.next().value;O=O.next().value;var F="unk";(h=h.match(/(.*)codecs="(.*)"/))&&(F=h[2]);c[F]=O}N.Lq("drmProbe",c)}N.Z5()})}; +jBS=function(N,H,c,t){if(!N.uo()){t&&($X={keySystem:H.keySystem,keySystemAccess:c,pNq:JSON.stringify(t)});H.keySystemAccess=c;if(c0(H)){c=EY();t=g.K(Object.keys(N.T[H.flavor]));for(var h=t.next();!h.done;h=t.next())h=h.value,H.T[h]=!!c.canPlayType(h)}else{c=H.keySystemAccess.getConfiguration();if(c.audioCapabilities)for(t=g.K(c.audioCapabilities),h=t.next();!h.done;h=t.next())H.T[h.value.contentType]=!0;if(c.videoCapabilities)for(c=g.K(c.videoCapabilities),t=c.next();!t.done;t=c.next())H.T[t.value.contentType]= +!0}N.U.push(H);N.useCobaltWidevine||N.N("html5_enable_vp9_fairplay")&&tW(H)?(N.B.shift(),G2(N)):N.callback(N.U)}}; +Y8y=function(N){this.hF=oF(N)}; +SC=function(N,H,c,t,h){h=h===void 0?!1:h;H!==N.mL&&(h||N.wE.Lq("ssevt",{tag:N.T===0?"sstd-cr":N.T===1?"sstd-tm":N.T===2?"sstd-poll":N.T===3?"sstd-poll100":"sstd-unknown",ad:N.cpn!==H,cpn:H,st:c.toFixed(3),late:Math.round((t-c)*1E3)}),N.mL=H,N.wE.publish("playbackstarted",H,c+N.wE.HO(),h))}; +ZDZ=function(){var N=document.queryCommandSupported&&document.queryCommandSupported("copy");UU3("Chromium")>=43&&(N=!0);UU3("Firefox")<=40&&(N=!1);return N}; +oK=function(N){QN.call(this,function(){return N}); +this.L=N}; +ymf=function(){g.Lu(function(){var N=Np();requestAnimationFrame(function(){setTimeout(function(){N===Np()&&Ai("ftl",void 0,void 0)},0)})})()}; +dhL=function(N,H){N=N===void 0?{}:N;H=H===void 0?{}:H;g.L.call(this);var c=this;this.values=N;this.Gl=H;this.B={};this.L=this.T=0;this.U=new g.kT(function(){cEt(c)},1E4); +g.l(this,this.U)}; +nNy=function(N,H){var c;return function(){c||(c=new ON(N,H));return c}}; +lOZ=function(N,H){g.Nn(H,function(c){return N.equals(c)})||H.push(N)}; +ud=function(N,H,c,t){N.policy.B&&N.RE(!1,"rollback");if(N.GW.isManifestless){var h=d3R(N.audioTrack,t,c,H),O=d3R(N.videoTrack,t,c,H);N.policy.G7||(O&&wP(N.GW,t,!0),h&&wP(N.GW,t,!1));O&&(N.videoTrack.TW=[]);h&&(N.audioTrack.TW=[]);N.Lq("sdai",{rollbk2_seg:t,rbt:c.toFixed(3),lt:H.toFixed(3),a:h,v:O});(h||O)&&N.policy.B&&Vp(N)}}; +z2=function(N,H,c,t,h,O,F){g.L.call(this);this.policy=N;this.info=H;this.GW=c;this.qT=h;this.logger=new g.mE("sabr");this.KA=new vf(this);this.g1=new $eh(this);this.sy=new wo(this);this.state=1;this.OM=!1;this.OH=0;this.clipId="";this.cz=-1;this.nX=0;this.gN=-1;this.fk=this.Wc=this.HJ=this.yz=!1;this.policy.Ms?this.hj=new id(this,O):this.hj=new P3(this,O);this.tj=this.policy.Dt?H.xq:edD(H,this.policy,t);this.tj.set("rn",""+this.DD());this.tj.set("alr","yes");Bkv(this.sy,c,N);this.Ke=new CT(this,this.policy, +this.tj,H.JF,this.hj,this.logger,t,F,this.policy.enableServerDrivenRequestCancellation);ce3(this.Ke);var M;if((M=this.policy)==null?0:M.qj)g.l(this,this.sy),g.l(this,this.Ke);N=H.B;H={method:"POST",body:N};N&&(this.nX=N.length);try{this.xhr=gj(this.tj,this.policy.Z,this.hj,km,H),this.policy.n3&&rj(this.hj,this.uG()),this.Ke.B.start()}catch(f){g.aS(f)}}; +GFl=function(N){N=N.T;for(var H in N){var c=N[H].index;if(c.isLoaded())return c.Ff()+1}return 0}; +RQh=function(N,H){for(var c=0;c1E3){var t=N.interruptions;t.push(Math.ceil(c));t.sort(function(h,O){return O-h}); +t.length>16&&t.pop()}N.NT+=c}}N.S=H}; +xh3=function(){return g.$b("iemobile")||g.$b("windows phone")&&g.$b("edge")}; +$Hs=function(N){return g.O7(N,"UHD2")||g.O7(N,"UHD2HDR")?"highres":g.O7(N,"UHD1")||g.O7(N,"UHD1HDR")?"hd2160":g.O7(N,"HD")||g.O7(N,"HDHDR")?"hd1080":g.O7(N,"HD720")||g.O7(N,"HD720HDR")?"hd720":"large"}; +OD=function(N,H){return H===void 0||H===null?N:H.toString()}; +T3e=function(N,H){if(H=H.content&&H.content.adFeedbackRenderer||null)N.B=new aX(N.api,N.layoutId,N.interactionLoggingClientData,N.yS),g.l(N,N.B),N.B.init(Gx("ad-feedback-dialog"),H,N.macros),N.B.Jl(N.Ix),N.B.subscribe("a",function(){return N.publish("c")})}; +RA=function(N){this.T=N}; +A4=function(){}; +F2=function(N,H){var c;if((c=YE)==null?0:c.encodeInto)return H=YE.encodeInto(N,H),H.read>6|192:((h&64512)===55296&&t+1>18|240,H[c++]=h>>12&63|128):H[c++]=h>>12|224,H[c++]=h>>6&63|128),H[c++]=h&63|128)}return c}; +jTD=function(N,H){return H.layoutId!==N.layout.layoutId?(N.qF.An(N.slot,H,new sz("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+N.layout.layoutId+("and LayoutType: "+N.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED"),!1):!0}; +Q0D=function(N){if(!Gf(N.adLayoutMetadata))return!1;N=N.renderingContent;return g.P(N,$o)||g.P(N,AF)||g.P(N,Myw)||g.P(N,U_)||g.P(N,VQ)?!0:!1}; +dHR=function(N,H,c,t){var h=S3(),O=(c=h||c&&nU())?["com.youtube.fairplay"]:["com.widevine.alpha"];H&&O.unshift("com.youtube.widevine.l3");h&&t&&O.unshift("com.youtube.fairplay.sbdl");return c?O:N?[].concat(g.HE(O),g.HE(fgL.playready)):[].concat(g.HE(fgL.playready),g.HE(O))}; +rg=function(N,H,c,t,h,O,F){H={id:H,namespace:F!=null?F:"appapi"};O==="chapter"?(H.style=DQ.CHAPTER_MARKER,H.visible=!0):isNaN(h)||(O==="ad"?H.style=DQ.AD_MARKER:(H.style=DQ.TIME_MARKER,H.color=h),H.visible=!0);N.iN([new g.vn(c*1E3,t*1E3,H)],1);return!0}; +WXe=function(N){this.T=N;N.bq("/client_streamz/bg/ec",g.iw("en"),g.iw("mk"))}; +A7=function(N){this.value=N}; +lNw=function(N,H){var c;return g.Y(function(t){if(t.T==1)return g.a(t,WR(H),2);c=t.B;return t.return(c.delete("LogsRequestsStore",N))})}; +z8y=function(N){this.T=N}; +g.Ne=function(N){g.e.call(this,{W:"div",X:[{W:"div",K:"ytp-bezel-text-wrapper",X:[{W:"div",K:"ytp-bezel-text",Wp:"{{title}}"}]},{W:"div",K:"ytp-bezel",V:{role:"status","aria-label":"{{label}}"},X:[{W:"div",K:"ytp-bezel-icon",Wp:"{{icon}}"}]}]});this.J=N;this.B=new g.kT(this.show,10,this);N=this.J.N("delhi_modern_web_player")?1E3:500;this.T=new g.kT(this.hide,N,this);g.l(this,this.B);g.l(this,this.T);this.hide()}; +jJ=function(N,H){H=Math.max(Math.max(1,Math.ceil(N.policy.U/K1(N))),H);return Math.min(Math.min(8,Math.floor(N.policy.TW/K1(N))),H)}; +rn=function(N){N.L.isFinal=!0;N.flush();N.L.isFinal=!1}; +mG=function(N,H,c){var t;N>>2<12&&((N^7)&7)>=3&&(t=H[T[14]]?H[T[14]][T[15]](T[40]):H[T[7]]===T[40]);(N&118)==N&&(this[T[14]]=H,this[T[24]]=c===void 0?!1:c,this[T[17]]=this[T[5]]=this[T[7]]=T[16],this[T[6]]={},this[T[27]]=T[16]);if(N-4<24&&N<<1>=6)for(var h=H[T[2]];h;)H[T[25]](H[T[22]](--h,1)[0]);return t}; +H8=function(N,H){N.add(H==null||isNaN(H)?0:H+1)}; +xHZ=function(N,H){var c=N.hN.IA;if(c)return fT(c.getPlayerState());if(N.getVideoData().enableServerStitchedDai&&H===2){var t,h,O;return(N.j.Zp().T.G0(EPl)?(O=(t=N.hN.B)==null?void 0:t.isAd())!=null&&O:(h=N.n6)==null?0:x33(h,N.getCurrentTime()))?N.Yn:-1}return H!==2||N.Re()?N.Yn:N.XF}; +OIR=function(N){var H=H===void 0?-1:H;var c=c===void 0?Infinity:c;SIL(N,H,c);for(var t=g.K(N.B.values()),h=t.next();!h.done;h=t.next())h=h.value,h.start>=H&&h.end<=c&&(N.playback.removeCueRange(h),N.B.delete(h.getId()),N.EF({rmAdCR:1}));t=Aj(N,H/1E3);H=t.ra;t=t.Vv;H&&(t=t*1E3-H.gs,fKf(N,H,t,H.gs+t),t=N.B.get(H.cpn))&&(t.start=H.gs,t.end=H.gs+H.durationMs);if(H=Aj(N,c/1E3).ra){var O;t="playback_timelinePlaybackId_"+H.vr+"_video_id_"+((O=H.videoData)==null?void 0:O.videoId)+"_durationMs_"+H.durationMs+ +"_enterTimeMs_"+H.gs+"_parentReturnTimeMs_"+H.m9;N.vZ("Invalid_clearEndTimeMs_"+c+"_that_falls_during_"+t+"._Child_playbacks_can_only_have_duration_updated_not_their_start.")}}; +wh=function(N){return!!(N.SFf&&N.slot&&N.layout)}; +W4h=function(N){if(JZ(N))if(N.QL&&N.indexRange)if(N.B){var H=new Uint8Array(N.S.buffer,0,N.B),c=lJy(N),t=N.policy.U;Promise.all(N.Bp).then(function(){var h=Sz(t,N.QL.mR.info,Pw(N,!0),c,N.policy.Al,N.U,H,N.crypto);fv(N,h,!0)})}else Uq(N,new aF("Woffle: Expect always re-mark currentChunkOffset at EOS")); +else Uq(N,new aF("Woffle: Expect at EOS to always have lastSlice or indexRange"))}; +Ad=function(N){var H=N.B,c=N.T,t=H[c+0],h=H[c+1],O=H[c+2];H=H[c+3];PE(N,N.T+4);return(t<<0|h<<8|O<<16|H<<24)>>>0}; +SG=function(N){return N?N.Xy():!1}; +iB=function(N,H){if(N.heightPx===-1){var c=null;try{c=g.Ch("CANVAS"),N.B=c.getContext("2d")}catch(M){}if(N.B){var t=N.T*N.sampleCount;N.L=c;N.L.width=t;N.L.style.width=t+"px";N.element.appendChild(N.L)}else for(N.sampleCount=Math.floor(N.sampleCount/4),N.T*=4,c=0;c1?2:1,N.L.height=N.heightPx*c,N.L.style.height= +N.heightPx+"px",N.B.scale(1,c)));H=g.K(H);for(t=H.next();!t.done;t=H.next()){c=N;var h=N.index,O=t.value;for(t=0;t+2=zwZ&&(eW++,dM=!1);lbD(H);t.headers||(t.headers={});t.headers["Content-Encoding"]="gzip";t.postBody=N;t.postParams=void 0;h(c,t)}; +t6=function(N,H,c){if(G$(N.params.xA.Rx.get(),!0)){var t=c.flush,h={};kot(N,H,(h.cts=c.currentTimeSec,h.f=t,h))}}; +Ry=function(N){g.L.call(this);var H=this;this.j=N;this.T=new Map;this.U=[];this.B=!Nq();this.TW=g.Mx(this.j.experiments,"html5_onesie_prewarm_interval_ms");this.Z=new g.kT(this.C,this.TW,this);this.Y=-1;this.Br={Vha:function(){return H.T}, +XeS:function(){return H.S}, +vdW:function(){return Chd}}; +g.l(this,this.Z);VLZ(this,g.pB("yt-player-bandaid-host"));this.S=this.load();this.TW&&this.S.then(function(){H.C()})}; +X6Z=function(N){var H=N.getVideoData();if(!H.dC){H=N.j.T3?1:LBh(H);var c=N.mediaElement;c.Jr(N.bR.muted);try{c.setVolume(N.bR.volume*H/100)}catch(t){g.aS(new g.ti("b183742307","multiplier: "+H+", volume: "+N.bR.volume))}}}; +lg3=function(N,H,c){c=c===void 0?{}:c;return BKl(N,H,!1,c)}; +cP3=function(N,H,c,t){c||(t?H.keyCode!==32||H.repeat||N.L||!N.U||g.lY(N.delay):LX(N))}; +iD=function(N){var H=N.app.D().controlsType==="3"&&!N.JL&&cS(N)&&!N.app.KU||!1;N.Wr.controls=H;N.Wr.tabIndex=H?0:-1;N.app.D().U&&(N.Wr.ariaHidden="true");H?N.Wr.removeEventListener("focus",N.XD):N.Wr.addEventListener("focus",N.XD)}; +KXL=function(N){N.B&&h9y(N.B);N.qoe&&OVw(N.qoe)}; +g.a=function(N,H,c){N.T=c;return{value:H}}; +WE=function(N,H,c,t){xW(N);var h=N.hF;vW(h,h[A8]|0,H,c,t);return N}; +EMZ=function(N,H){H=g.Kv(N.B,{m9:H},function(c,t){return c.m9-t.m9}); +return H>=0?N.B[H]:null}; +g.y=function(N,H){return!!(N.state&H)}; +qY=function(N,H){N.B||N.T!=2&&N.T!=3||jfv(N);N.U?N.U.next=H:N.B=H;N.U=H}; +tw=function(N,H){try{if(H.length){N.Bp||(N.Bp=UW());var c=lns(H),t=ZgZ(N.element,N.B.T.L),h=t.x,O=t.y;N.L=new wu(Math.round(O),Math.round(h)+c.boundingClientRect.width,Math.round(O)+c.boundingClientRect.height,Math.round(h));N.T=bUh(N,N.L);var F=Cbs(c.intersectionRect);N.Y=kF(F,N.L.left-F.left,N.L.top-F.top)}}catch(M){N.unobserve(),ov(299,M)}}; +Q6=function(N,H){g.L.call(this);this.uW=H;this.uW.get().addListener(this)}; +uAs=function(N){var H;if((H=N.api.getVideoData())==null||!gz(H)){H=gl(N);ar(N,H,N.Bp,Math.max(H.B,N.Bp),"HOVER_PROGRESS");for(var c=Lw(N,H.T*N.Bp,!0),t=Lw(N,H.L,!0),h=c;h<=t;h++)g.QH(N.T[h].L,"ytp-hover-progress-light",H.B>N.Bp);g.QH(N.KC,"ytp-scrubber-button-hover",c===t&&N.T.length>1);if(N.api.N("web_player_heat_map_played_bar")){var O;(O=N.U[0])!=null&&O.T.setAttribute("width",(H.B*100).toFixed(2)+"%")}}}; +rah=function(N,H,c,t){t=t===void 0?0:t;g.a1.call(this,c.d3());var h=this;this.z3=N;this.videoData=H;this.duration=t;this.T=this.startTimeSecs=0;this.B=this.L=!0;this.U=new gPw(function(O,F){return void h.Lq(O,F)})}; +xC=function(N,H){eG||(v5?v5.logEvent(N,H):(sW.push({type:"EVENT",eventType:N,payload:H}),sW.length>10&&sW.shift()))}; +wt=function(N){if(!Gf(N.adLayoutMetadata))return!1;N=N.renderingContent;var H=g.P(N,PG);return H?Ug(H):(H=g.P(N,QR))?ps(H):(H=g.P(N,h8))?H.playerVars!==void 0:(H=g.P(N,$o))?H.durationMilliseconds!==void 0:g.P(N,PK)||g.P(N,Ul)?!0:!1}; +P8v=function(N){switch(N){case "DESKTOP":return 1;case "UNKNOWN_PLATFORM":return 0;case "TV":return 2;case "GAME_CONSOLE":return 3;case "MOBILE":return 4;case "TABLET":return 5}}; +Eh=function(N,H,c,t,h){var O;c=c===void 0?!1:c;t=t===void 0?!1:t;var F=N.Jn.get(H);if(!F||t)if(h||(h=function(){Eh(N,H,c,t)}),O||(O=function(){n3(N,H)}),F=F||tiD(N,H,rZe(N,H),h,O))N.Jn.set(H,F),F.create(),N.J.publish("modulecreated",H),c&&N.J.vU("onApiChange")}; +g.h6=function(N){var H=N.D(),c=g.Pc||g.pX?{style:"will-change: opacity"}:void 0,t=H.U,h=["ytp-modern-videowall-still"];H.B&&h.push("ytp-videowall-show-text");g.e.call(this,{W:"a",fq:h,V:{href:"{{url}}",target:t?H.TW:"","aria-label":"{{aria_label}}","data-is-live":"{{is_live}}","data-is-list":"{{is_list}}","data-is-mix":"{{is_mix}}"},X:[{W:"div",K:"ytp-modern-videowall-still-image",V:{style:"{{background}}"},X:[{W:"span",K:"ytp-modern-videowall-still-info-duration",Wp:"{{duration}}"}]},{W:"span",K:"ytp-modern-videowall-still-info", +V:{"aria-hidden":"true"},X:[{W:"span",K:"ytp-modern-videowall-still-info-bg",X:[{W:"span",K:"ytp-modern-videowall-still-info-content",V:c,X:[{W:"span",K:"ytp-modern-videowall-still-info-title",Wp:"{{title}}"},{W:"span",K:"ytp-modern-videowall-still-info-author",Wp:"{{author}}"},{W:"span",K:"ytp-modern-videowall-still-view-count-and-date-info",Wp:"{{views_and_publish_time}}"},{W:"span",K:"ytp-modern-videowall-still-info-live",Wp:"Live"}]}]}]},{W:"span",fq:["ytp-modern-videowall-still-listlabel-regular", +"ytp-modern-videowall-still-listlabel"],V:{"aria-hidden":"true"},X:[{W:"span",K:"ytp-modern-videowall-still-listlabel-icon"},"Playlist",{W:"span",K:"ytp-modern-videowall-still-listlabel-length",X:[" (",{W:"span",Wp:"{{playlist_length}}"},")"]}]},{W:"span",fq:["ytp-modern-videowall-still-listlabel-mix","ytp-modern-videowall-still-listlabel"],V:{"aria-hidden":"true"},X:[{W:"span",K:"ytp-modern-videowall-still-listlabel-mix-icon"},"Mix",{W:"span",K:"ytp-modern-videowall-still-listlabel-length",Wp:" (50+)"}]}]}); +this.suggestion=null;this.B=t;this.api=N;this.T=new g.Ww(this);g.l(this,this.T);this.listen("click",this.onClick);this.listen("keypress",this.onKeyPress);this.T.G(N,"videodatachange",this.onVideoDataChange);N.createServerVe(this.element,this);this.onVideoDataChange()}; +nJ=function(N){var H=N.isMuted()?0:N.getVolume();xH.call(this,0,100,1,H,void 0,!0);this.J=N;this.Bp=p4S(this.ox,10,this);this.Z=!1;this.G(N,"onVolumeChange",this.onVolumeChange);this.G(this.element,"wheel",this.Us)}; +BV=function(){return vQ(b13)}; +Ew=function(N){var H,c,t,h,O=((c=g.P((H=N.questions)==null?void 0:H[0],aI))==null?void 0:c.surveyAdQuestionCommon)||((h=g.P((t=N.questions)==null?void 0:t[0],e1))==null?void 0:h.surveyAdQuestionCommon),F;H=[].concat(g.HE(((F=N.playbackCommands)==null?void 0:F.instreamAdCompleteCommands)||[]),g.HE((O==null?void 0:O.timeoutCommands)||[]));var M,f,d,W,z,E,x,q,r,w,n,p,U,X,A,R,v,Nf,Fe,tS;return{impressionCommands:(M=N.playbackCommands)==null?void 0:M.impressionCommands,errorCommands:(f=N.playbackCommands)== +null?void 0:f.errorCommands,muteCommands:(d=N.playbackCommands)==null?void 0:d.muteCommands,unmuteCommands:(W=N.playbackCommands)==null?void 0:W.unmuteCommands,pauseCommands:(z=N.playbackCommands)==null?void 0:z.pauseCommands,rewindCommands:(E=N.playbackCommands)==null?void 0:E.rewindCommands,resumeCommands:(x=N.playbackCommands)==null?void 0:x.resumeCommands,skipCommands:(q=N.playbackCommands)==null?void 0:q.skipCommands,progressCommands:(r=N.playbackCommands)==null?void 0:r.progressCommands,kks:(w= +N.playbackCommands)==null?void 0:w.clickthroughCommands,fullscreenCommands:(n=N.playbackCommands)==null?void 0:n.fullscreenCommands,activeViewViewableCommands:(p=N.playbackCommands)==null?void 0:p.activeViewViewableCommands,activeViewMeasurableCommands:(U=N.playbackCommands)==null?void 0:U.activeViewMeasurableCommands,activeViewFullyViewableAudibleHalfDurationCommands:(X=N.playbackCommands)==null?void 0:X.activeViewFullyViewableAudibleHalfDurationCommands,activeViewAudioAudibleCommands:(A=N.playbackCommands)== +null?void 0:(R=A.activeViewTracking)==null?void 0:R.activeViewAudioAudibleCommands,activeViewAudioMeasurableCommands:(v=N.playbackCommands)==null?void 0:(Nf=v.activeViewTracking)==null?void 0:Nf.activeViewAudioMeasurableCommands,endFullscreenCommands:(Fe=N.playbackCommands)==null?void 0:Fe.endFullscreenCommands,abandonCommands:(tS=N.playbackCommands)==null?void 0:tS.abandonCommands,completeCommands:H}}; +mHd=function(N,H){return N.view?zQ(H,N.view.start,N.view.end):H}; +my=function(N,H){H===void 0&&(H=N[A8]|0);H&32&&!(H&4096)&&rp(N,H|4096)}; +whh=function(N){N.updateValue("icon",sr());if(N.api.D().B)N.tooltip.r6(N.element,"Link copied to clipboard");else{N.updateValue("title-attr","Link copied to clipboard");N.updateValue("tooltip-title","Link copied to clipboard");N.tooltip.oo();N.tooltip.r6(N.element);var H=N.listen("mouseleave",function(){N.G3(H);N.Df();N.tooltip.aU()})}}; +DHs=function(N,H){STt(N,H).then(void 0,function(){dY(N)}); +H5(N,H).then(function(c){W$(N,c)},function(){dY(N)}); +N.wE.s3(H);if(N.j.vO()||Jht(N))H=N.Q4(),H["native"]=""+ +N.Us,H.tgt=""+N.B,H.otgt=""+(N.B+N.timestampOffset),H.maxst=""+N.L6(),N.T&&N.N("html5_high_res_seek_logging")&&(H.tht=""+N.T.S(),H.ht=""+N.T.e$(),H.adft=""+bC(N.T)),N.N("html5_sabr_parse_live_metadata_playback_boundaries")&&N.videoData.T&&AC(N.videoData)&&(H.minst=""+N.videoData.T.sU,H.cminst=""+(N.videoData.T.T7()+N.timestampOffset),H.maxst=""+N.videoData.T.Ot,H.hts=""+N.videoData.T.ox,H.cmaxst=""+(N.videoData.T.L6()+N.timestampOffset)),N.wE.Lq("startSeek", +H)}; +FTs=function(){this.T=[]}; +QTe=function(N){return window.MediaSource?new bO(N,new window.MediaSource,!1):window.ManagedMediaSource?new bO(N,new window.ManagedMediaSource,!1):window.WebKitMediaSource?new bO(N,new window.WebKitMediaSource,!1):new bO(N,void 0,!1)}; +Kqt=function(N,H){if(N.videoData.Z)return!1;N.Es.mG+=1;if(N.Es.mG<=10)return!1;H.exiled=""+N.Es.mG;N.rr("qoe.start15s",H);N.wE.publish("playbackstalledatstart");return!0}; +wUZ=function(N,H){return N.L===void 0?!1:H.seekDirection==="TIMELY_ACTION_TRIGGER_DIRECTION_FORWARD"&&Number(H.seekLengthMilliseconds)===5E3?N.L===72:H.seekDirection==="TIMELY_ACTION_TRIGGER_DIRECTION_FORWARD"&&Number(H.seekLengthMilliseconds)===1E4?N.L===74:H.seekDirection==="TIMELY_ACTION_TRIGGER_DIRECTION_BACKWARD"&&Number(H.seekLengthMilliseconds)===5E3?N.L===71:H.seekDirection==="TIMELY_ACTION_TRIGGER_DIRECTION_BACKWARD"&&Number(H.seekLengthMilliseconds)===1E4?N.L===73:!1}; +phs=function(N){this.hF=oF(N,500)}; +Z9D=function(N){N.B&&(N.U=new M9,N.S.promise.then(function(){N.f4.WN("pot_if");N2(N)}))}; +uy=function(N){return N.KU&&N.getVideoData().mutedAutoplay}; +CZe=function(N){return!N.keySystemAccess&&!!SN()&&N.keySystem==="com.apple.fps.1_0"}; +cp=function(N){this.Y=N}; +II=function(){this.C=[];this.Z=[];this.T=[];this.Us=[];this.S=[];this.TW=[];this.L=new Map;this.Y=new Map;this.B=new Set;this.ox=new Map}; +GR=function(){}; +GqZ=function(N){var H=[],c=na(N);c&&H.push(c);H=g.qK(H,N.L.mw());c=g.K(N.B);for(var t=c.next();!t.done;t=c.next()){t=t.value;for(var h=g.K(t.info.L4),O=h.next(),F={};!O.done;F={jo:void 0},O=h.next())F.jo=O.value,t.Lk&&(H=g.WL(H,function(M){return function(f){return!Uy3(f,M.jo)}}(F))),(Ql(F.jo)||F.jo.type===4)&&H.push(F.jo)}N.T&&!mZ3(N.T,g.vU(H),N.T.mR.Oa())&&H.push(N.T); +return H}; +RV=function(N,H,c,t){var h=this;this.U=N;this.cpn=H;this.wE=c;this.T=t;this.B=new Map;this.S=new Map;this.TW=this.Z=NaN;this.Y=!1;this.C=this.mL="";this.isSeeking=!1;this.Bp=0;this.L=new YId(c);this.UI=c.UI;this.wE.subscribe("statechange",this.Us,this);this.wE.subscribe("SEEK_TO",function(){h.s3()}); +this.wE.subscribe("SEEK_COMPLETE",function(){Mif(h)}); +this.mL=this.C=this.cpn}; +MxD=function(N){var H;return g.Y(function(c){if(N.uo())throw Error("Already disposed");(H=N.T)!=null&&(H.endTimeMs=0,H.yI(1));return g.a(c,N.L.promise,0)})}; +Xp=function(N){this.value=N}; +u$t=function(N){return zvy()===2?g.WL(N,Pr):N}; +g.tA=function(){var N=g.di.navigator;return N&&(N=N.userAgent)?N:""}; +JaS=function(N,H){return H.priority-N.priority}; +XQ=function(N,H,c){this.hF=oF(N,H,c)}; +TLv=function(N,H){var c={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]};if(N.N("html5_enable_vp9_fairplay")&&hf(H))return c.audioCapabilities.push({contentType:'audio/mp4; codecs="mp4a.40.5"'}),c.videoCapabilities.push({contentType:'video/mp4; codecs="avc1.4d400b"'}),[c];c0(H)&&(c.initDataTypes=["keyids","cenc"]);for(var t=g.K(Object.keys(N.T[H.flavor])),h=t.next();!h.done;h=t.next()){h=h.value;var O=h.indexOf("audio/")===0,F=O?c.audioCapabilities:c.videoCapabilities;H.flavor!== +"widevine"||N.S?F.push({contentType:h}):O?F.push({contentType:h,robustness:"SW_SECURE_CRYPTO"}):(g.Pc&&g.$b("windows nt")&&!N.N("html5_drm_enable_moho")||F.push({contentType:h,robustness:"HW_SECURE_ALL"}),O=h,N.Es.S.L&&h.includes("vp09")&&(O=h+"; experimental=allowed"),F.push({contentType:O,robustness:"SW_SECURE_DECODE"}),P_(N.Es)==="MWEB"&&(EA()||VW())&&(N.Lq("swcrypto",{}),F.push({contentType:h,robustness:"SW_SECURE_CRYPTO"})))}return[c]}; +$F=function(N){N=J8(N);N.tick||(N.tick={});return N.tick}; +nG=function(N,H,c){g.sk.call(this,H,N);this.T=c}; +nPh=function(N){if(N.j.vO()){N.U7.sort(function(t,h){return+t.rt-+h.rt}); +for(var H=g.K(N.U7),c=H.next();!c.done;c=H.next())c=c.value,N.Lq("vpe",Object.assign({t:c.rt},c));N.U7=[];N.YR=0}}; +SpR=function(N){var H=N===void 0?{}:N;N=H.cZ;var c=H.pF;var t=H.ul;var h=H.Ff;H=H.NZ;this.cZ=N;this.pF=c;this.ul=t;this.Ff=h;this.NZ=H}; +Jyf=function(N,H,c,t,h,O,F,M){return H===null?new S("Invalid slot type when get discovery companion fromTopBannerImageTextIconButtonedLayoutViewModel",{slotType:H,TopBannerImageTextIconButtonedLayoutViewModel:t}):[dsR(N,H,F,O,function(f){var d=f.slotId;f=M(f);var W=t.adLayoutLoggingData,z=new xd([new LN(t),new Xe(h)]);d=CA(c.B.get(),"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON",d);var E={layoutId:d,layoutType:"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON",Hp:"core"};return{layoutId:d,layoutType:"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON", +S1:new Map,layoutExitNormalTriggers:[new mZ(c.T,F)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],Hp:"core",clientMetadata:z,z0:f(E),adLayoutLoggingData:W}})]}; +Zb=function(N,H,c){var t=H*N.L.T*1E3;for(var h=-1,O=g.K(N.T),F=O.next();!F.done;F=O.next())F=F.value,t>F.startTime&&F.width>0&&h++;t=h<0?0:h;h=c.T-Vy(N)*N.gE;return H*h+Vy(N)*t+c.U}; +bcD=function(N,H,c,t,h,O,F,M,f,d,W,z,E){H=ecR(N,H,"adapter",c,t,h,O,F,M,f,W,z,E);t=H.layoutExitSkipTriggers;h=H.ub;c.adPodSkipTarget&&c.adPodSkipTarget>0&&(h.push(d),h.push(new zx(c.adPodSkipTarget)),t=[]);h.push(new hG(M.adPodIndex));c.isCritical&&(t=[new l8(N.T,H.layoutId,["error"])].concat(g.HE(t)));return{C2:{layoutId:H.layoutId,layoutType:H.layoutType,S1:H.S1,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[], +Hp:H.Hp,clientMetadata:new xd(h),z0:H.z0,adLayoutLoggingData:H.adLayoutLoggingData},x3:t,N0:H.layoutExitMuteTriggers,MR:H.layoutExitUserInputSubmittedTriggers,A6:H.layoutExitUserCancelledTriggers}}; +cIR=function(N){g.e.call(this,{W:"div",fq:["ytp-overlays-container"],X:[{W:"div",K:"ytp-overlay-top-left"},{W:"div",K:"ytp-overlay-top-right"},{W:"div",K:"ytp-overlay-bottom-left"},{W:"div",K:"ytp-overlay-bottom-right"}]});this.L=this.Sa("ytp-overlay-top-left");this.U=this.Sa("ytp-overlay-top-right");this.T=this.Sa("ytp-overlay-bottom-left");this.B=this.Sa("ytp-overlay-bottom-right");g.aG(N,this.element,4)}; +g.GY=function(N){if(N instanceof g.EL)return N;var H=new g.EL(g.$$);sh(H,2,N);return H}; +uKS=function(N){return new R3(function(H,c){c(N)})}; +yd3=function(N){if(pf()){N.f4=N.api.Um();N.T=new M9;N.L=2;var H=g.Mx(N.api.D().experiments,"html5_d6de4_defer_timeout_ms");N.f4.WN("pt_pish");H?g.Zh(function(){PhR(N)},H):N.api.N("html5_enable_d6de4_idle_priority_job")&&window.requestIdleCallback?window.requestIdleCallback(function(){PhR(N)}):PhR(N)}}; +g.vG=function(){return{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z"}}]}}; +ty=function(){g.L0.call(this);this.S=new Map}; +EJZ=function(N){var H,c;if(c=(H=N.player.getVideoData(1))==null||!H.Fo)H=N.player.D(),c=dz(H)&&!g.El(H)&&H.playerStyle==="desktop-polymer";c&&(N=N.player.getInternalApi(),N.addEventListener("updateKevlarOrC3Companion",N7D),N.addEventListener("updateEngagementPanelAction",B4h),N.addEventListener("changeEngagementPanelVisibility",nty),window.addEventListener("yt-navigate-start",YFh))}; +yC=function(){this.T={};this.B=!0;this.L={}}; +Pe=function(N,H){(N=FW(N,H))?N.layout!=null&&!N.layout&&KA("Unexpected empty layout",H):KA("Unexpected undefined slotState",H);return(N==null?void 0:N.layout)||null}; +uc=function(N){g.L.call(this);var H=this;this.wE=N;this.Z=this.T=this.loader=this.mediaElement=this.playbackData=null;this.L=0;this.S=this.ox=this.U=null;this.Ix=!1;this.kG=0;this.Us=!1;this.timestampOffset=0;this.TW=!0;this.vp=0;this.Xg=this.Dt=!1;this.C=0;this.Al=!1;this.NT=0;this.j=this.wE.D();this.videoData=this.wE.getVideoData();this.policy=new r_R;this.Bp=new DC(this.wE);this.WO=this.Kq=this.gE=this.Y=this.B=NaN;this.Cq=new g.kT(function(){QFv(H,!1)},2E3); +this.C4=new g.kT(function(){yk(H)}); +this.zW=new g.kT(function(){UHZ(H,{})}); +this.mG=NaN;this.UF=new g.kT(function(){var c=H.j.HQ;c.T+=1E4/36E5;c.T-c.L>1/6&&(cEt(c),c.L=c.T);H.UF.start()},1E4); +g.l(this,this.Bp);g.l(this,this.Cq);g.l(this,this.zW);g.l(this,this.C4);g.l(this,this.UF)}; +Vyh=function(N,H){return H.map(function(c){var t,h;if((c=(t=g.P(c,XhD))==null?void 0:(h=t.thumbnail)==null?void 0:h.thumbnails)&&c.length!==0)return c[0].url}).filter(function(c){return c!==void 0}).map(function(c){c=new g.e({W:"img", +K:"ytp-suggested-action-product-thumbnail",V:{alt:"",src:c}});g.l(N,c);return c})}; +MTw=function(N,H,c,t){t=t===void 0?{}:t;N.addEventListener&&(H!="mouseenter"||"onmouseenter"in document?H!="mouseleave"||"onmouseenter"in document?H=="mousewheel"&&"MozBoxSizing"in document.documentElement.style&&(H="MozMousePixelScroll"):H="mouseout":H="mouseover");return yj(U8,function(h){var O=typeof h[4]==="boolean"&&h[4]==!!t,F=g.ie(h[4])&&g.ie(t)&&g.gR(h[4],t);return!!h.length&&h[0]==N&&h[1]==H&&h[2]==c&&(O||F)})}; +LXt=function(N,H,c){N.cpn&&(H=g.Of(H,{cpn:N.cpn}));c&&(H=g.Of(H,{paired:c}));return H}; +N8L=function(N,H,c,t,h,O,F){return function(M,f){return ARZ(N,f.slotId,M,O,function(d,W){var z=f.layoutId;d=F(d);return nk(H,z,W,h,d,"LAYOUT_TYPE_SURVEY",[new Lp(c),t],c.adLayoutLoggingData)})}}; +KZ=function(N,H,c,t){return j0w(N,H,c,t,function(h,O){return new fH(N.T,c,h,O)})}; +Zbe=function(N){return N.isLive&&(0,g.Lh)()-N.gE>=N.Us}; +OQ=function(N){g.bM(N.U,!N.T)}; +G1D=function(N){var H=N===void 0?{}:N;N=H.pF===void 0?!1:H.pF;var c=H.cZ===void 0?!1:H.cZ;H=H.QG===void 0?!1:H.QG;return N?H?3:2:c?-1:1}; +UEv=function(N){if(N.Pm!==void 0){var H=FT;FT=!0;try{for(var c=N.Pm;c!==void 0;c=c.Ye){var t=c.D0;t.P0||(N=void 0,t.P0=!0,UEv(t),(N=t.Z0)==null||N.call(t,t))}}finally{FT=H}}}; +Jq=function(){return dX||Ws?!!WW&&WW.brands.length>0:!1}; +s4s=function(N,H,c,t,h){g.L.call(this);var O=this,F=dN(function(){return new Wd(O.Rx)}); +g.l(this,F);var M=dN(function(){return new zR(F,O.Rx)}); +g.l(this,M);var f=dN(function(){return new EP}); +g.l(this,f);var d=dN(function(){return new xh(N)}); +g.l(this,d);var W=dN(function(){return new qV(F,M,O.Rx)}); +g.l(this,W);var z=dN(function(){return new C$}); +g.l(this,z);this.xb=dN(function(){return new xbR(H)}); +g.l(this,this.xb);this.oD=dN(function(){return new ph(H)}); +g.l(this,this.oD);this.V4=dN(function(){return new l7(h)}); +g.l(this,this.V4);this.YO=dN(function(){return new K$(H)}); +g.l(this,this.YO);this.kO=dN(function(){return new gN(H)}); +g.l(this,this.kO);this.Nc=dN(function(){return new rN(H)}); +g.l(this,this.Nc);this.Mi=dN(function(){return new mT(H)}); +g.l(this,this.Mi);this.Rx=dN(function(){return new wN(H)}); +g.l(this,this.Rx);var E=dN(function(){return new Dk(t)}); +g.l(this,E);var x=dN(function(){return new Qx(O.Rx)}); +g.l(this,x);var q=dN(function(){return new XP(F,W,M,O.Rx,x,null,null,null,null)}); +g.l(this,q);this.bl=dN(function(){return new p$(H)}); +g.l(this,this.bl);this.ea=dN(function(){return new u7(H,z,O.Rx)}); +g.l(this,this.ea);var r=J1({ea:this.ea,Rx:this.Rx,Uy:x}),w=r.context,n=r.dR;this.j1=r.j1;this.k_=dN(function(){return new Pd(H,O.ea,O.Rx)}); +g.l(this,this.k_);this.mx=dN(function(){return new UP}); +g.l(this,this.mx);this.r_=dN(function(){return new L$(O.k_,H,O.Rx)}); +g.l(this,this.r_);this.Pp=dN(function(){return new Zk(H,f,O.r_,O.ea,O.j1,O.Rx,n)}); +g.l(this,this.Pp);this.j7=dN(function(){return new Vx(O.Rx)}); +g.l(this,this.j7);this.HZ=new ai(U0L,eT,function(U,X,A,R){return CA3(M.get(),U,X,A,R)},d,W,M,x,this.Rx,this.ea); +g.l(this,this.HZ);this.p6=new Yh(d,q,c,this.Rx,N,this.ea,this.k_,this.YO);g.l(this,this.p6);var p=new A1(H,this.p6,this.k_,this.ea);this.GE=dN(function(){return p}); +this.rW=p;this.qP=new sP(d,W,this.kO,this.GE,w);g.l(this,this.qP);this.cH=new Bd(this.Rx,d,W,q,this.ea,this.qP,c,this.Nc);g.l(this,this.cH);this.rH=dN(function(){return new yx(E,M,x,O.Rx,O.Pp,O.k_)}); +g.l(this,this.rH);this.m7=dN(function(){return new GR}); +g.l(this,this.m7);this.Ro=new Ri(N,this.oD,this.Rx);g.l(this,this.Ro);this.F3=new oi(N);g.l(this,this.F3);this.t3=new kh(N,this.GE,w);g.l(this,this.t3);this.q2=new Ii(N,this.kO,this.k_,this.ea,w);g.l(this,this.q2);this.N2=new Hs(N);g.l(this,this.N2);this.jE=new jr(N);g.l(this,this.jE);this.ID=dN(function(){return new ST(H)}); +g.l(this,this.ID);this.PH=new iS(N);g.l(this,this.PH);this.Oy=dN(function(){return new cs}); +g.l(this,this.Oy);this.q0=dN(function(){return new th(O.k_)}); +g.l(this,this.q0);this.Ii=dN(function(){return new hh(O.cH,d,F)}); +g.l(this,this.Ii);this.gH=dN(function(){return new On(O.Rx,O.Pp,O.N2,O.r_)}); +g.l(this,this.gH);this.dH=dN(function(){return new Dr(N,O.PH,O.N2,O.Pp,O.r_,O.j7,O.Nc,O.ea,O.k_,O.mx,O.kO,O.YO,O.Mi,O.V4,O.bl,O.Rx,O.ID,w,n)}); +g.l(this,this.dH);this.Q9=dN(function(){return new iAv(O.oD,O.k_,O.Pp,f,O.xb,c,O.ea)}); +g.l(this,this.Q9);this.CC={jt:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.cH],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.HZ],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.p6],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.qP]]),Yd:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.rH],["SLOT_TYPE_FORECASTING",this.m7],["SLOT_TYPE_IN_PLAYER",this.m7],["SLOT_TYPE_PLAYER_BYTES",this.m7]]),tZ:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Ro],["TRIGGER_TYPE_LAYOUT_ID_ENTERED", +this.F3],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.F3],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.F3],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.F3],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.F3],["TRIGGER_TYPE_SLOT_ID_EXITED",this.F3],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.F3],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.F3],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.F3],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.t3],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.q2],["TRIGGER_TYPE_MEDIA_TIME_RANGE", +this.q2],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.N2],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.t3],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.jE],["TRIGGER_TYPE_AD_BREAK_STARTED",this.PH]]),iH:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Oy],["SLOT_TYPE_FORECASTING",this.Oy],["SLOT_TYPE_IN_PLAYER",this.Oy],["SLOT_TYPE_PLAYER_BYTES",this.q0]]),lK:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Ii],["SLOT_TYPE_FORECASTING",this.gH],["SLOT_TYPE_IN_PLAYER",this.Q9],["SLOT_TYPE_PLAYER_BYTES", +this.dH]])};this.listeners=[f.get()];this.r5={cH:this.cH,FE:this.Rx.get(),yS:this.V4.get(),aL:this.k_.get(),p6:this.p6,uY:F.get(),m2:null,Ga:this.Ro,RU:f.get(),MP:this.ea.get()}}; +Aqd=function(N,H,c,t){H=H===void 0?!1:H;c=c===void 0?!0:c;t=t===void 0?{}:t;var h={};N=g.K(N);for(var O=N.next();!O.done;O=N.next()){O=O.value;if(H&&MediaSource&&MediaSource.isTypeSupported){var F=O.type;O.audio_channels&&(F=F+"; channels="+O.audio_channels);if(!MediaSource.isTypeSupported(F)){t[O.itag]="tpus";continue}}if(c||!O.drm_families||O.eotf!=="smpte2084"&&O.eotf!=="arib-std-b67"){F=void 0;var M={bt709:"SDR",bt2020:"SDR",smpte2084:"PQ","arib-std-b67":"HLG"},f=O.type.match(/codecs="([^"]*)"/); +f=f?f[1]:"";O.audio_track_id&&(F=new g.DF(O.name,O.audio_track_id,!!O.is_default));var d=O.eotf;O=new vH3({itag:O.itag,url:O.url,codecs:f,width:Number(O.width),height:Number(O.height),fps:Number(O.fps),bitrate:Number(O.bitrate),audioItag:O.audio_itag,yq:d?M[d]:void 0,YH:O.drm_families,X3:F,audioChannels:Number(O.audio_channels)});h[O.itag]=h[O.itag]||[];h[O.itag].push(O)}else t[O.itag]="enchdr"}return h}; +Ypv=function(N,H){H=g.fi[H];return N.B<=H&&(!N.T||N.T>=H)}; +sN=function(N,H,c){if(!N.done&&(N.B.cancel(),H.length!=0)){N.L=null;try{h_w();var t=UW();BV().S=t;if(vQ(EE).T!=null)for(var h=0;h0?N:1}; +j0w=function(N,H,c,t,h){var O=!H.hideCueRangeMarker;switch(H.kind){case "AD_PLACEMENT_KIND_START":return new LH(N.T,c);case "AD_PLACEMENT_KIND_MILLISECONDS":return N=ysw(H,t),N instanceof S?N:h(N.D7,O);case "AD_PLACEMENT_KIND_END":return new tf(N.T,c,O);default:return new S("Cannot construct entry trigger",{kind:H.kind})}}; +rFs=function(N,H){if(!H.T.T)return N.S?new jw(0,360,!1,"b"):wv;for(var c=!1,t=!1,h=g.K(H.T.videoInfos),O=h.next();!O.done;O=h.next())nK(O.value)?c=!0:t=!0;c=c&&t;t=0;h=g.Mx(N.j.experiments,"html5_performance_cap_floor");h=N.j.B?240:h;H=g.K(H.T.videoInfos);for(O=H.next();!O.done;O=H.next()){var F=O.value;if(!c||!nK(F))if(O=Ur(F.T0,F.video.fps,N.L),F=F.video.qualityOrdinal,Math.max(O,h)>=F){t=F;break}}return new jw(0,t,!1,"b")}; +ci=function(N,H,c,t,h,O,F){var M=new wQ;H in g.fi||(H="small");H==="light"&&(H="tiny");t&&h?(h=Number(h),t=Number(t)):(h=g.fi[H],t=Math.round(h*16/9));O=new Uo(t,h,0,null,void 0,H,O,F);N=unescape(N.replace(/"/g,'"'));return new p8(c,N,{audio:M,video:O})}; +OG=function(N,H){N.UF=H;N.TR(new sR(g.jm(N.UF,function(c){return c.getInfo()})))}; +tD=function(N){return!!N.yL||N.gG}; +ML=function(N){var H={engagementType:"ENGAGEMENT_TYPE_UNBOUND"};N&&(H.interpreterHash=N);return H}; +e8v=function(N,H){var c=Tv(Qg,H);c||(c=jV(N,H,"h",-1));return c}; +bhd=function(N,H){var c,t,h,O,F,M,f;return g.Y(function(d){if(d.T==1){c=g.tI();var W=N.D(),z={context:g.Rr(N),playbackContext:{contentPlaybackContext:{ancestorOrigins:W.ancestorOrigins}}},E=W.getWebPlayerContextConfig();if(E==null?0:E.encryptedHostFlags)z.playbackContext.contentPlaybackContext.encryptedHostFlags=E.encryptedHostFlags;if(E==null?0:E.hideInfo)z.playerParams={showinfo:!1};E=W.embedConfig;var x=N.i7;var q=H.docid||H.video_id||H.videoId||H.id;if(!q){q=H.raw_embedded_player_response;if(!q){var r= +H.embedded_player_response;r&&(q=JSON.parse(r))}if(q){var w,n,p,U,X,A;q=((A=g.P((w=q)==null?void 0:(n=w.embedPreview)==null?void 0:(p=n.thumbnailPreviewRenderer)==null?void 0:(U=p.playButton)==null?void 0:(X=U.buttonRenderer)==null?void 0:X.navigationEndpoint,g.DS))==null?void 0:A.videoId)||null}else q=null}w=(w=q)?w:void 0;n=N.playlistId?N.playlistId:H.list;p=H.listType;if(n){var R;p==="user_uploads"?R={username:n}:R={playlistId:n};rXl(E,x,w,H,R,W.experiments);z.playlistRequest=R}else H.playlist? +(R={templistVideoIds:H.playlist.toString().split(",")},rXl(E,x,w,H,R,W.experiments),z.playlistRequest=R):w&&(R={videoId:w},x&&W.N("embeds_enable_per_video_embed_config")?R.serializedThirdPartyEmbedConfig=x:E&&(R.serializedThirdPartyEmbedConfig=E),z.singleVideoRequest=R);t=z;h=g.kD(vPR);g.Xy(d,2);return g.a(d,g.Ir(c,t,h),4)}if(d.T!=2)return O=d.B,F=N.D(),H.raw_embedded_player_response=O,F.Ix=y_(H,g.PX(F)),F.L=F.Ix==="EMBEDDED_PLAYER_MODE_PFL",O&&(M=O,M.trackingParams&&N0(M.trackingParams)),d.return(new g.xm(F, +H));f=g.Lq(d);f instanceof Error||(f=Error("b259802748"));g.BZ(f);return d.return(N)})}; +wbD=function(N,H,c){c=c===void 0?0:c;var t=N.type;var h=N.itag;var O=N.xtags;O&&(h=N.itag+";"+O);if(K8(t)){var F=(N.size||"640x360").split("x");F=new Uo(+F[0],+F[1],+N.fps,N.projection_type,+N.stereo_layout,void 0,N.quality_label,+N.quality_ordinal,N.eotf,N.primaries);t=l0(t,F,gQ[N.itag]);rQ&&(t+="; enableflushduringseek=true");mN&&(t+="; enableresetaudiodecoder=true")}var M;if(Oj(t)){var f=new wQ(+N.audio_sample_rate||void 0,+N.audio_channels||0,N.spatial_audio_type,!!N.drc);N.name&&(M=new g.DF(N.name, +N.audio_track_id,N.isDefault==="1"))}var d;N.caption_display_name&&N.caption_vss_id&&N.caption_language_code&&(d=new YDL(N.caption_display_name,N.caption_vss_id,N.caption_language_code,N.caption_kind,N.xtags,N.caption_id));O=Number(N.bitrate)/8;var W=Number(N.clen),z=Number(N.lmt);c=c&&W?W/c:0;if(H&&N.drm_families){var E={};for(var x=g.K(N.drm_families.split(",")),q=x.next();!q.done;q=x.next())q=q.value,E[q]=H[q]}return new p8(h,t,{audio:f,video:F,X3:M,YH:E,OF:O,H$:c,contentLength:W,lastModified:z, +captionTrack:d,streamType:N.stream_type,approxDurationMs:Number(N.approx_duration_ms)})}; +$6=function(N,H,c){var t=c.T$,h=c.A7,O=c.listener,F=c.zJ;c=c.gA===void 0?!1:c.gA;if(N.T.has(H))KA("Unexpected registration of layout in LidarApi");else{if(F){if(N.B.has(F))return;N.B.add(F)}N.T.set(H,O);oG(BV().Ce,"fmd",1);JAv(vQ(Jw),t);var M=c?H:void 0;sT3(hi(),H,{IB:function(){if(!h)return{};var f=N.J.getPresentingPlayerType(!0),d;return(d=N.J.getVideoData(f))!=null&&d.isAd()?{currentTime:N.k_.get().getCurrentTimeSec(f,!1,M),duration:h,isPlaying:F9(N.k_.get(),f).isPlaying(),isVpaid:!1,isYouTube:!0, +volume:N.k_.get().isMuted()?0:N.k_.get().getVolume()/100}:{}}})}}; +B3w=function(N,H){if(TBw(N)){H=j5f(N,H);N.T.push(H);var c;(c=N.NT)==null||X8y(c,N.GW.TW);N.Z>0&&N.gE.rg++}}; +qo=function(N){N.removed=!0;N.listener=null;N.proxy=null;N.src=null;N.handler=null}; +meh=function(N,H){return isNaN(H)?!0:isNaN(N.T)?!1:H=0||H.JF.y8("defrag")==="1"||H.JF.y8("otf")==="1"){H=null;break a}h=Xv(0,4096)}h=new vx([new J9(5,t.mR,h,"createProbeRequestInfo"+t.Y,t.Y_)],H.B);h.oi=c;h.T=H.T;H=h}H&&UeR(N,H)}}; +Xf=function(N,H,c,t,h,O,F,M,f){eq.call(this,N,H,c,t);this.k_=h;this.Pp=O;this.Y=F;this.S=M;this.Rx=f;this.U=!1;this.C=lQ(this.layout.clientMetadata,"metadata_type_linked_player_bytes_layout_id")}; +JT=function(N,H,c){c=c===void 0?"":c;g.L.call(this);var t=this;this.J=N;this.S=H;this.L=c;this.FX={};this.T={};this.B=null;this.U=new Set;this.Y=new g.Ww(this);this.Br={Lrf:function(){return t.S}, +odp:function(){return t.L}}; +this.C=this.J.N("web_player_defer_modules");this.Jn=new Map;g.l(this,this.Y);this.Y.G(N,"videodatachange",this.onVideoDataChange)}; +HAs=function(){var N=["pbs","pbu"];g.Lu(function(){kq("").info.actionType="watch";N&&qz("TIMING_AFT_KEYS",N);qz("TIMING_ACTION","watch");var H=IXd(g.YI("TIMING_INFO",{}));Object.keys(H).length>0&&is(H);H={isNavigation:!0,actionType:H6(g.YI("TIMING_ACTION"))};var c=g.YI("PREVIOUS_ACTION");c&&(H.previousAction=H6(c));if(c=g.YI("CLIENT_PROTOCOL"))H.httpProtocol=c;if(c=g.YI("CLIENT_TRANSPORT"))H.transportProtocol=c;(c=g.gi())&&c!=="UNDEFINED_CSN"&&(H.clientScreenNonce=c);c=Tiy();if(c===1||c===-1)H.isVisible= +!0;c=b8().loadType==="cold";var t=m8s();c||(c=t.yt_lt==="cold");if(c){H.loadType="cold";c=m8s();t=PrS();var h=qQ(),O=g.YI("CSI_START_TIMESTAMP_MILLIS",0);O>0&&!g.sf("embeds_web_enable_csi_start_override_killswitch")&&(h=O);h&&(VT("srt",t.responseStart),c.prerender!==1&&tj(h));c=BHe();c>0&&VT("fpt",c);c=PrS();c.isPerformanceNavigationTiming&&is({performanceNavigationTiming:!0},void 0);VT("nreqs",c.requestStart,void 0);VT("nress",c.responseStart,void 0);VT("nrese",c.responseEnd,void 0);c.redirectEnd- +c.redirectStart>0&&(VT("nrs",c.redirectStart,void 0),VT("nre",c.redirectEnd,void 0));c.domainLookupEnd-c.domainLookupStart>0&&(VT("ndnss",c.domainLookupStart,void 0),VT("ndnse",c.domainLookupEnd,void 0));c.connectEnd-c.connectStart>0&&(VT("ntcps",c.connectStart,void 0),VT("ntcpe",c.connectEnd,void 0));c.secureConnectionStart>=qQ()&&c.connectEnd-c.secureConnectionStart>0&&(VT("nstcps",c.secureConnectionStart,void 0),VT("ntcpe",c.connectEnd,void 0));X6&&"getEntriesByType"in X6&&iQy();c=[];if(document.querySelector&& +X6&&X6.getEntriesByName)for(var F in bbL)bbL.hasOwnProperty(F)&&(t=bbL[F],tdR(F,t)&&c.push(t));if(c.length>0)for(H.resourceInfo=[],F=g.K(c),c=F.next();!c.done;c=F.next())H.resourceInfo.push({resourceCache:c.value})}is(H);H=nA();H.preLoggedGelInfos||(H.preLoggedGelInfos=[]);F=H.preLoggedGelInfos;H=oYZ();c=void 0;for(t=0;t=4&&N-6>>5<1){h=64;for(var M=[];++h-M[T[2]]-32;){switch(h){case 58:h-=14;case 91:case 92:case 93:continue;case 123:h=47;case 94:case 95:case 96:continue;case 46:h=95}M[T[25]](String[T[33]](h))}F=M}(N+2^28)>=N&&(N-3^1)=0?(c=T[0]+t[T[4]](0,h),t=t[T[4]](h+1)):(h=t[T[43]](T[59]))>=0&&(c=T[0]+t[T[4]](0,h),t=t[T[4]](h+3))),H[c]=t);return F}; +g.Df=function(N,H){for(var c=g.K(Object.keys(H)),t=c.next(),h={};!t.done;h={placeholder:void 0},t=c.next())t=t.value,h.placeholder=H[t],N=N.replace(new RegExp("\\$"+t,"gi"),function(O){return function(){return O.placeholder}}(h)); +return N}; +Y7=function(N){var H,c=N.policy.S&&((H=N.loader)==null?void 0:H.MV());H=N.loader.getCurrentTime()||0;H=b2S(N,H);if(N.policy.qJ&&N.loader.isSeeking()){var t=lUt(N.videoTrack,H);N.loader.Lq("asmtfnctv",{b:H,a:t});isNaN(t)||(H=t)}t=N.loader.HO()||0;H+=t;t=hd(N.videoData)||g.z7(N.videoData);var h=0;c?(t&&(h=Number.MAX_SAFE_INTEGER),N.videoData.j$&&(h=Math.ceil(N.videoData.ZG*1E3))):h=Math.ceil(H*1E3);return Math.min(Number.MAX_SAFE_INTEGER,h)}; +UHZ=function(N,H){N.Ix=!0;N.N("html5_use_centralized_player_time")&&(N.B=N.Y,N.L=N.B,N.Y=NaN);DHs(N,H)}; +PBD=function(N,H){isNaN(N.Bp)||N.Lq("aswr",{sq:H.info.L4[0].Y_,id:H.info.L4[0].mR.info.itag,xtag:H.info.L4[0].mR.info.T,ep:Date.now()-N.Bp});N.B.push(H);N.T=g.vU(H.info.L4);N.ox.push(H.uX());N.ox.length>4&&N.ox.shift()}; +g.jE=function(N,H,c){g.QH(N.element,"ytp-suggestion-set",!!H.videoId);var t=H.playlistId;c=H.Ds(c?c:"mqdefault.jpg");var h=null,O=null;H instanceof L4&&(H.lengthText?(h=H.lengthText||null,O=H.xv||null):H.lengthSeconds&&(h=g.ba(H.lengthSeconds),O=g.ba(H.lengthSeconds,!0)));var F=!!t;t=F&&KH(t).type==="RD";var M=H instanceof L4?H.isLivePlayback:null,f=H instanceof L4?H.isUpcoming:null,d=H.author,W=H.shortViewCount,z=H.publishedTimeText,E=[],x=[];d&&E.push(d);W&&(E.push(W),x.push(W));z&&x.push(z);c= +{title:H.title,author:d,author_and_views:E.join(" \u2022 "),aria_label:H.ariaLabel||g.Df("Watch $TITLE",{TITLE:H.title}),duration:h,timestamp:O,url:H.ZD(),is_live:M,is_upcoming:f,is_list:F,is_mix:t,background:c?"background-image: url("+c+")":"",views_and_publish_time:x.join(" \u2022 "),autoplayAlternativeHeader:H.Be};H instanceof VB&&(c.playlist_length=H.playlistLength);N.update(c)}; +lZS=function(N,H){if(!N.uo())if(WH(N,{onlcsrsp:1}),N.status="rr",H.statusCode!==0)N.error("drm.auth",1,"t.f;c."+H.statusCode,H.errorMessage||void 0);else{Ai("drm_kr_s",void 0,N.videoData.TW);if(H.heartbeatParams&&H.heartbeatParams.url&&N.videoData.N("outertube_streaming_data_always_use_staging_license_service")){var c=N.B.B.match(/(.*)youtube.com/g);c&&(H.heartbeatParams.url=c[0]+H.heartbeatParams.url)}H.heartbeatParams&&N.publish("newlicense",H.heartbeatParams);H.B&&(N.U=H.B,N.videoData.w4||N.publish("newlicense", +new o1R),N.videoData.w4=!0,N.C=hA(N.U,function(t){return t.includes("HDR")})); +H.T&&(N.j.N("html5_enable_vp9_fairplay")&&tW(N.B)?(c=g.Eq(bfw(N.fairplayKeyId),4),N.T[c]={type:H.T[c],status:"unknown"}):N.T=FV(H.T,function(t){return{type:t,status:"unknown"}})); +hf(N.B)&&(H.message=FNw(g.Eq(H.message)));N.L&&(WH(N,{updtks:1}),N.status="ku",N.L.update(H.message).then(function(){Ai("drm_kr_f",void 0,N.videoData.TW);iG(N)||(WH(N,{ksApiUnsup:1}),N.publish("keystatuseschange",N))},function(t){t="msuf.req."+N.requestNumber+";msg."+g.Mc(t.message,3); +N.error("drm.keyerror",1,t)})); +g.zB(N.B)&&N.publish("fairplay_next_need_key_info",N.baseUrl,H.nextFairplayKeyId);N.j.N("html5_enable_vp9_fairplay")&&tW(N.B)&&N.publish("qualitychange",$Hs(N.U));H.sabrLicenseConstraint&&N.publish("sabrlicenseconstraint",H.sabrLicenseConstraint)}}; +cbL=function(N){var H=H===void 0?5:H;return N?ijl[N]||H:H}; +kx=function(N){return function c(){return Tr(c,function(t){if(t.T==1)return g.I_(t,2),g.a(t,{M9:QA(N)},4);if(t.T!=2)return t.return(t.B);g.B$(t);return g.JV(t,0)})}()}; +g.M$L=function(N,H){if(N.T!=null&&g.OFl(H,N.T)&&N.T.T.rawcc!=null)return!0;if(!N.K4())return!1;H=!!N.T&&N.T.isManifestless&&Object.values(N.T.T).some(function(c){return g.H3(c,"386")}); +N=!!N.T&&!N.T.isManifestless&&g.zDL(N.T);return H||N}; +tff=function(N,H,c){return Hdw(new IY(N,H,c),N)}; +E7l=function(N,H,c,t,h,O,F){kNR(c,H);t=wD({cttAuthInfo:DK(H)||void 0,automatedLogEventSource:F},H);c={csn:H,ve:c.getAsJson(),eventType:1};h&&(c.clientData=h);H==="UNDEFINED_CSN"?QW("visualElementShown",t,c):N?px("visualElementShown",c,N,t):g.uF("visualElementShown",c,t)}; +Btf=function(){this.B=[];this.T=[]}; +b_l=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);this.events.G(N,"applicationInitialized",function(){isL(H)})}; +hW3=function(N,H){if(N.J.isLifaAdPlaying()){var c=N.J.UG(!0,!0);N.ri(H,c.width*.5*1.1,c.height*.25*1.1,c.width*.5*.9,c.height*.5*.9)}}; +yS=function(N,H,c){c=c===void 0?!1:c;var t=N.D().Cq?{"aria-keyshortcuts":"m","aria-label":"{{aria-label}}","data-title-no-tooltip":"{{data-title-no-tooltip}}","data-priority":"{{dataPriority}}","data-tooltip-offset-y":"{{dataTooltipOffsetY}}","data-tooltip-title":"{{tooltip-title}}",title:N.N("player_tooltip_data_title_killswitch")?"{{title}}":""}:{"aria-disabled":"true","aria-haspopup":"true"};t=N.N("delhi_modern_web_player")?{W:"div",K:"ytp-mute-button",X:[{W:"button",V:t,fq:["ytp-volume-icon", +"ytp-button"],Wp:"{{icon}}"}]}:{W:"button",fq:["ytp-mute-button","ytp-button"],V:t,X:[{W:"div",K:"ytp-volume-icon",Wp:"{{icon}}"}]};g.e.call(this,t);this.J=N;this.gE=c;this.B=null;this.Y=this.ox=this.Z=this.C=NaN;this.Ix=this.Bp=null;this.S=[];this.U=[];this.visible=!1;this.L=this.T=this.Us=null;N.N("delhi_modern_web_player")&&this.update({"data-priority":4});c=this.J.D();this.updateValue("icon",Tj());this.tooltip=H.HH();this.updateValue("dataTooltipOffsetY",0);this.L=g.as("ytp-volume-icon",this.element); +t=this.J.N("delhi_modern_web_player_icons")?{W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",fq:["ytp-svg-fill","ytp-svg-volume-animation-speaker"],V:{d:"M 11.60 2.08 L 11.48 2.14 L 3.91 6.68 C 3.02 7.21 2.28 7.97 1.77 8.87 C 1.26 9.77 1.00 10.79 1 11.83 V 12.16 L 1.01 12.56 C 1.07 13.52 1.37 14.46 1.87 15.29 C 2.38 16.12 3.08 16.81 3.91 17.31 L 11.48 21.85 C 11.63 21.94 11.80 21.99 11.98 21.99 C 12.16 22.00 12.33 21.95 12.49 21.87 C 12.64 21.78 12.77 21.65 12.86 21.50 C 12.95 21.35 13 21.17 13 21 V 3 C 12.99 2.83 12.95 2.67 12.87 2.52 C 12.80 2.37 12.68 2.25 12.54 2.16 C 12.41 2.07 12.25 2.01 12.08 2.00 C 11.92 1.98 11.75 2.01 11.60 2.08 Z", +fill:"#fff"}},{W:"path",K:"ytp-svg-volume-animation-small-ripple",V:{d:" M 15.53 7.05 C 15.35 7.22 15.25 7.45 15.24 7.70 C 15.23 7.95 15.31 8.19 15.46 8.38 L 15.53 8.46 L 15.70 8.64 C 16.09 9.06 16.39 9.55 16.61 10.08 L 16.70 10.31 C 16.90 10.85 17 11.42 17 12 L 16.99 12.24 C 16.96 12.73 16.87 13.22 16.70 13.68 L 16.61 13.91 C 16.36 14.51 15.99 15.07 15.53 15.53 C 15.35 15.72 15.25 15.97 15.26 16.23 C 15.26 16.49 15.37 16.74 15.55 16.92 C 15.73 17.11 15.98 17.21 16.24 17.22 C 16.50 17.22 16.76 17.12 16.95 16.95 C 17.6 16.29 18.11 15.52 18.46 14.67 L 18.59 14.35 C 18.82 13.71 18.95 13.03 18.99 12.34 L 19 12 C 18.99 11.19 18.86 10.39 18.59 9.64 L 18.46 9.32 C 18.15 8.57 17.72 7.89 17.18 7.3 L 16.95 7.05 L 16.87 6.98 C 16.68 6.82 16.43 6.74 16.19 6.75 C 15.94 6.77 15.71 6.87 15.53 7.05", +fill:"#fff"}},{W:"path",K:"ytp-svg-volume-animation-big-ripple",V:{d:"M18.36 4.22C18.18 4.39 18.08 4.62 18.07 4.87C18.05 5.12 18.13 5.36 18.29 5.56L18.36 5.63L18.66 5.95C19.36 6.72 19.91 7.60 20.31 8.55L20.47 8.96C20.82 9.94 21 10.96 21 11.99L20.98 12.44C20.94 13.32 20.77 14.19 20.47 15.03L20.31 15.44C19.86 16.53 19.19 17.52 18.36 18.36C18.17 18.55 18.07 18.80 18.07 19.07C18.07 19.33 18.17 19.59 18.36 19.77C18.55 19.96 18.80 20.07 19.07 20.07C19.33 20.07 19.59 19.96 19.77 19.77C20.79 18.75 21.61 17.54 22.16 16.20L22.35 15.70C22.72 14.68 22.93 13.62 22.98 12.54L23 12C22.99 10.73 22.78 9.48 22.35 8.29L22.16 7.79C21.67 6.62 20.99 5.54 20.15 4.61L19.77 4.22L19.70 4.15C19.51 3.99 19.26 3.91 19.02 3.93C18.77 3.94 18.53 4.04 18.36 4.22 Z", +fill:"#fff"}}]}:{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"defs",X:[{W:"clipPath",V:{id:"ytp-svg-volume-animation-mask"},X:[{W:"path",V:{d:"m 14.35,-0.14 -5.86,5.86 20.73,20.78 5.86,-5.91 z"}},{W:"path",V:{d:"M 7.07,6.87 -1.11,15.33 19.61,36.11 27.80,27.60 z"}},{W:"path",K:"ytp-svg-volume-animation-mover",V:{d:"M 9.09,5.20 6.47,7.88 26.82,28.77 29.66,25.99 z"}}]},{W:"clipPath",V:{id:"ytp-svg-volume-animation-slash-mask"},X:[{W:"path",K:"ytp-svg-volume-animation-mover", +V:{d:"m -11.45,-15.55 -4.44,4.51 20.45,20.94 4.55,-4.66 z"}}]}]},{W:"path",JN:!0,fq:["ytp-svg-fill","ytp-svg-volume-animation-speaker"],V:{"clip-path":"url(#ytp-svg-volume-animation-mask)",d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",fill:"#fff"}},{W:"path",JN:!0,fq:["ytp-svg-fill","ytp-svg-volume-animation-hider"],V:{"clip-path":"url(#ytp-svg-volume-animation-slash-mask)",d:"M 9.25,9 7.98,10.27 24.71,27 l 1.27,-1.27 Z", +fill:"#fff"}}]};this.B=new g.hH(t);g.l(this,this.B);this.Bp=this.B.Sa("ytp-svg-volume-animation-speaker");this.Ix=this.Bp.getAttribute("d");this.S=g.x7("ytp-svg-volume-animation-mover",this.B.element);this.J.N("delhi_modern_web_player_icons");this.U=g.x7("ytp-svg-volume-animation-hider",this.B.element);this.J.N("delhi_modern_web_player_icons");this.Cq=new Pb;g.l(this,this.Cq);this.NT=new Pb;g.l(this,this.NT);this.G(N,"appresize",this.wx);this.G(N,"onVolumeChange",this.onVolumeChange);N.N("delhi_modern_web_player")? +this.listen("click",this.pds):this.listen("click",this.T_);c.Cq?(N.N("delhi_modern_web_player")&&!N.N("delhi_modern_web_player_horizontal_volume_controls")&&(this.T=new $rZ(N,H),this.T.Jl(this.element),g.l(this,this.T),this.G(this.L,"mouseover",this.MX),this.G(this.L,"focus",this.MX),this.G(this.L,"mouseout",this.qg),this.G(this.L,"blur",this.qg)),c=N.N("delhi_modern_web_player")?this.L:this.element,this.addOnDisposeCallback(g.UU(H.HH(),c))):Pbh(this);this.message=null;N.createClientVe(this.element, +this,28662);this.wx(N.BO().getPlayerSize());this.setVolume(N.getVolume(),N.isMuted())}; +kk=function(N){N=N.J.getVideoData();var H;if(H=N.N("web_player_defer_ad")){if(g.O7(N.AJ,"ad")||mxR(N)||N.enableServerStitchedDai)N=!1;else{H=N.playerResponse;N=N.startSeconds;var c=H==null?void 0:H.adPlacements;if(H=c){H=Number.MAX_VALUE;c=g.K(c);for(var t=c.next();!t.done;t=c.next())if(t=t.value.adPlacementRenderer){var h=void 0,O=(h=t.config)==null?void 0:h.adPlacementConfig;h=void 0;if(((h=O)==null?void 0:h.kind)==="AD_PLACEMENT_KIND_MILLISECONDS"){var F=h=void 0;O=Number((h=O)==null?void 0:(F= +h.adTimeOffset)==null?void 0:F.offsetStartMilliseconds)||0;F=h=void 0;t=Number(((h=t.renderer)==null?void 0:(F=h.adBreakServiceRenderer)==null?void 0:F.prefetchMilliseconds)||0);t=O-t;t1?N[1]:N[0])):{}}; +g.Rr=function(N){var H=N.D(),c=g.Ak(H),t=H.TE;g.bi(H)&&(t&&(c.thirdParty=Object.assign({},c.thirdParty,{embedUrl:t})),hky(c,N));if(t=N.Bp)c.clickTracking={clickTrackingParams:t};else if(g.bi(N.D())&&g.YI("EVENT_ID"))c.clickTracking={clickTrackingParams:g.YI("EVENT_ID")};else if(H.N("html5_log_missing_itct")){var h;t=new g.ti("Missing ITCT in InnerTubeContext",{isAd:N.isAd(),fYg:(h=H.getWebPlayerContextConfig())==null?void 0:h.contextId});g.BZ(t)}h=c.client||{};t="EMBED";var O=or(N);O==="leanback"? +t="WATCH":H.N("gvi_channel_client_screen")&&O==="profilepage"?t="CHANNEL":N.fb?t="LIVE_MONITOR":O==="detailpage"?t="WATCH_FULL_SCREEN":O==="adunit"?t="ADUNIT":O==="sponsorshipsoffer"&&(t="UNKNOWN");h.clientScreen=t;if(H=N.kidsAppInfo)h.kidsAppInfo=JSON.parse(H);(t=N.jS)&&!H&&(h.kidsAppInfo={contentSettings:{ageUpMode:Tss[t]}});if(H=N.c$)h.unpluggedAppInfo={enableFilterMode:!0};(t=N.unpluggedFilterModeType)&&!H&&(h.unpluggedAppInfo={filterModeType:jDy[t]});if(H=N.mG)h.unpluggedLocationInfo=H;c.client= +h;h=c.request||{};N.Uu&&(h.isPrefetch=!0);if(H=N.mdxEnvironment)h.mdxEnvironment=H;if(H=N.mdxControlMode)h.mdxControlMode=Mff[H];c.request=h;h=c.user||{};if(H=N.Us)h.credentialTransferTokens=[{token:H,scope:"VIDEO"}];if(H=N.Al)h.delegatePurchases={oauthToken:H},h.kidsParent={oauthToken:H};c.user=h;if(h=N.contextParams)c.activePlayers=[{playerContextParams:h}];if(N=N.clientScreenNonce)c.clientScreenNonce=N;return c}; +cN3=function(){this.T=new Map}; +Dwh=function(N){var H={};N=N.experiments.Je();var c=N.T.G0(fRy);YS(c)&&Number(c)>0&&(H.SetPreferMinimalPostProcessing=nn("SetPreferMinimalPostProcessing",Number(c)===1?1:0));(c=N.T.G0(dXZ))&&(H["MediaSource.EnableUsingMediaSourceBufferedRange"]=nn("MediaSource.EnableUsingMediaSourceBufferedRange",c===1?1:0));(c=N.T.G0(W9L))&&(H.HTTP3=nn("HTTP3",c===1?1:0));(c=N.T.G0(zWd))&&(H["MediaSource.EnableUsingMediaSourceAttachmentMethods"]=nn("MediaSource.EnableUsingMediaSourceAttachmentMethods",c===1?1:0)); +(c=N.T.G0(EKl))&&(H.QUIC=nn("QUIC",c===1?1:0));(c=N.T.G0(xXl))&&(H["Media.PlayerConfiguration.DecodeToTexturePreferred"]=nn("Media.PlayerConfiguration.DecodeToTexturePreferred",c===1?1:0));(N=N.T.G0(qt3))&&(H["Media.AudioWriteDurationLocal"]=nn("Media.AudioWriteDurationLocal",Number(N)));return H}; +SW=function(N){N=N===void 0?t3l:N;if(N>0&&!(N0D()>(0,g.Lh)()-N*1E3))return 0;N=g.pB("yt-player-quality");if(typeof N==="string"){if(N=g.fi[N],N>0)return N}else if(N instanceof Object)return N.quality;return 0}; +upy=function(N){return N.U&&N.U.takeRecords?N.U.takeRecords():[]}; +fm=function(N,H){for(var c in N.T)if(N.T[c].status==="usable"&&N.T[c].type===H)return!0;return!1}; +tk=function(N,H){return euy(N.B,H===void 0?!0:H)}; +Wc=function(N){return N==null?N:u0s(N)}; +sW3=function(N){this.T=N;this.TW=this.Kq=this.C=this.Cq=this.U=this.S=this.Bp=this.Y=this.Ix=this.Z=this.gE=this.ox=this.NT=this.Us=0;this.ticks={}}; +Ckw=function(N){this.T=N}; +mol=function(){g.e.call(this,{W:"div",K:"ytp-timed-marker"});this.T=this.timeRangeStartMillis=NaN;this.title="";this.onActiveCommand=void 0}; +dc=function(N){return N&&N.baseUrl||""}; +xQ=function(N){uWt(Yg);var H=N.T;H=H==null||AGe&&H!=null&&H instanceof Uint8Array?H:typeof H==="string"?jjw(H):null;return H==null?H:N.T=H}; +lRl=function(N,H){H=IOv(H,N.T.Ql);H=N.L.createSession("video/mp4",H);return new Ol(null,null,null,null,H,N.C)}; +Ap=function(N,H){if(BS(N.Rx.get())){var c=N.L.get(H)||0;c++;N.L.set(H,c);return H+"_"+c}return g.Xj(16)}; +$D=function(N,H){H.sort(function(O,F){function M(f){KA("TriggerCategoryOrder enum does not contain trigger category: "+f)} +return O.category===F.category?O.trigger.triggerId.localeCompare(F.trigger.triggerId):K9t(O.category,M)-K9t(F.category,M)}); +var c=new Map;H=g.K(H);for(var t=H.next();!t.done;t=H.next())if(t=t.value,OU(N.T,t.slot))if(FW(N.T,t.slot).Y)FW(N.T,t.slot).Z.push(t);else{N.j1.DW("ADS_CLIENT_EVENT_TYPE_TRIGGER_ACTIVATED",t.slot,t,t.layout);var h=c.get(t.category);h||(h=[]);h.push(t);c.set(t.category,h)}H=g.K(zQD);for(t=H.next();!t.done;t=H.next())h=g.K(t.value),t=h.next().value,h=h.next().value,(t=c.get(t))&&gKs(N,t,h);(H=c.get("TRIGGER_CATEGORY_SLOT_EXPIRATION"))&&c4h(N,H);(H=c.get("TRIGGER_CATEGORY_SLOT_FULFILLMENT"))&&ByS(N, +H);(c=c.get("TRIGGER_CATEGORY_SLOT_ENTRY"))&&C1L(N,c)}; +Yz=function(N){return g.Lu(function(){return j_("_start",N)})()}; +ea=function(N){return!!(N.L&&N.L.videoInfos&&N.L.videoInfos.length)}; +$jL=function(N,H){if(H!==null&&H!==void 0){if(typeof H!=="object"&&typeof H!=="function")throw new TypeError("Object expected.");if(c===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");var c=H[Symbol.dispose]}if(typeof c!=="function")throw new TypeError("Object not disposable.");N.stack.push({value:H,dispose:c,async:!1})}return H}; +g.ro=function(N,H){H>=N.ZW()&&N.v$();var c=Ru(N,H),t=N.columns*N.rows,h=H%t;H=h%N.columns;h=Math.floor(h/N.columns);var O=N.v$()+1-t*c;if(O1&&g.aS(new g.ti("There are more than one engaged_view_urls.")),N.N5=H.engagedViewUrls[0]))}; +Lw=function(N,H,c){var t=0;(c===void 0?0:c)&&(H-=nTv(N,H)*Vy(N));c=g.K(N.T);for(var h=c.next();!h.done;h=c.next()){h=h.value;if(H>h.width)H-=h.width;else break;t++}return t===N.T.length?t-1:t}; +g.NF=function(N){for(var H in N)return!1;return!0}; +Yah=function(N){N.Cs();var H=N.fD;md(N);N.events.G(window,"resize",N.ZGp);var c=N.Sg();N.VS.vU("onVolumeChange",N.bR);if(H&&Pkl(H)){var t=V8(N.j);t&&!N.tJ&&(H.fetch=0);var h=g.PX(N.j);h&&!N.tJ&&(H.fetch=0);UE(N,H);g.PX(N.j)&&N.f4.tick("ep_pr_s");if(!t||N.tJ)if(h&&!N.tJ)YQ(N);else if(!c.DI())N.playlist.onReady(function(){Av(N)})}N.kt(N.o4(),!1,!0); +g.y(N.o4().getPlayerState(),128)||(H=Dp3(!N.j.deviceIsAudioOnly),H==="fmt.noneavailable"?N.h3("html5.missingapi",2,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK","nocodecs.1"):H==="html5.missingapi"?N.h3(H,2,"UNSUPPORTED_DEVICE","nocanplaymedia.1"):c&&c.DI()&&Cm(N)&&(N.j.KC||N.j.iR)?lB(N):c.Vm?N.VS.mutedAutoplay({durationMode:c.mutedAutoplayDurationMode}):g.pB("yt-player-playback-on-reload")?(g.uF("embedsItpPlayedOnReload",{playedOnReload:!0,isLoggedIn:!!N.j.NT}),g.h9("yt-player-playback-on-reload",!1),lB(N)): +hS(N.j)||bIh(N),g.gu(N.j)||P_(N.j)==="MWEB"?(g.ii(g.S6(),function(){Km(N)}),g.ii(g.S6(),function(){Ar3()})):(Km(N),Ar3()))}; +UXL=function(N){for(var H=0;H=0?N:NaN}; +yG=function(){return vQ(SHf)}; +qws=function(N){for(var H="",c=0;c=N&&(z=c(t,h,O,F,M,f));N>>1>=4&&(N<<2&15)<2&&(d=H[T[43]](T[65],12),W=H[T[43]](T[65],d+1),d>0&&W>0?(c[T[5]]=H[T[4]](0,W),H=H[T[4]](W+1)):(c[T[5]]=H,H=T[16]),z=[H]);return z}; +VfS=function(N){for(var H=1;H0&&(VfS(N)?(this.range=eGw(N),this.L=this.range.length):(this.range=this.L4[this.L4.length-1].range,this.L=YRv(N)))}; +Mpl=function(N,H,c){var t=[];for(H=Nzt(N,H);Hc)break}return t}; +m4L=function(N,H){H=H===void 0?{}:H;var c;return g.Y(function(t){if(t.T==1)return g.a(t,g.D6(),2);if(t.T!=3){c=t.B;if(!c)return t.return();pe(N);return g.a(t,ts(N,H),3)}return g.a(t,ub(N,c),0)})}; +Rjh=function(N,H,c,t,h,O){g.xo.call(this);var F=this;this.loader=N;this.GW=H;this.policy=c;this.videoTrack=t;this.audioTrack=h;this.Bp=this.T=null;this.Y=this.C=NaN;this.Z=0;this.TW=NaN;this.L=null;this.NT=this.ox=NaN;this.Ix=new Map;this.Us=this.S=this.U=NaN;this.Br={hll:function(){return F.B}}; +this.B=O?1:0}; +HpS=function(N,H){d8(N,1,H.elS);d8(N,2,H.HPW)}; +Bss=function(N,H,c,t,h,O){var F={},M={};g.tH(H,function(f,d){f=f.filter(function(W){var z=W.itag;if(!W.YH)return M[z]="noenc",!1;if(O.Dt&&W.T0==="(h"&&O.WO)return M[z]="lichdr",!1;if(!N.S&&W.T0==="1e")return M[z]="noav1enc",!1;if(W.T0==="("||W.T0==="(h"){if(N.L&&c&&c.flavor==="widevine"){var E=W.mimeType+"; experimental=allowed";(E=!!W.YH[c.flavor]&&!!c.T[E])||(M[z]=W.YH[c.flavor]?"unspt":"noflv");return E}if(!k_(N,o4.CRYPTOBLOCKFORMAT)&&!N.Ix||N.ox)return M[z]=N.ox?"disvp":"vpsub",!1}return c&&W.YH[c.flavor]&& +c.T[W.mimeType]?!0:(M[z]=c?W.YH[c.flavor]?"unspt":"noflv":"nosys",!1)}); +f.length&&(F[d]=f)}); +t&&Object.entries(M).length&&h({rjr:Gu(M)});return F}; +ybv=function(){var N=Ee;this.T=sO;this.Rk="jserror";this.Ma=!0;this.m5=null;this.B=this.Uv;this.xO=N===void 0?null:N}; +sy=function(N,H,c){N.isFocused(H);return H-N.L+c<=N.T[N.B].length}; +Bx=function(N){this.hF=oF(N)}; +xt=function(N,H){return xLs(N,H,!0)}; +GdL=function(N,H,c){var t=H.videoId;t&&(N.videoId=t,c.video_id||(c.video_id=t));if(t=H.title)N.title=t,c.title||(c.title=t);if(t=H.lengthSeconds)N.lengthSeconds=Number(t),c.length_seconds||(c.length_seconds=t);if(t=H.keywords)N.keywords=erd(t);if(t=H.channelId)N.tU=t,c.ucid||(c.ucid=t);if(t=H.viewCount)N.rawViewCount=Number(t);if(t=H.author)N.author=t,c.author||(c.author=t);if(c=H.shortDescription)N.shortDescription=c;if(c=H.isCrawlable)N.isListed=c;if(c=H.musicVideoType)N.musicVideoType=c;c=H.isLive; +c!=null&&(N.isLivePlayback=c);if(c||H.isUpcoming)N.isPremiere=!H.isLiveContent;if(c=H.thumbnail)N.xP=LZ(c);if(c=H.isExternallyHostedPodcast)N.isExternallyHostedPodcast=c;(c=H.stationType)&&c!=="STATION_TYPE_UNKNOWN"&&(N.cFp=!0);H=H.viewerLivestreamJoinPosition;if(H==null?0:H.utcTimeMillis)N.aj=AA(H.utcTimeMillis)}; +RWt=function(N,H){for(var c={},t=0;t0?H[0]:null;var c=g.as("ytp-chrome-bottom"),t=g.as("ytp-ad-module");N.L=!(c==null||!c.contains(H));N.Y=!(t==null||!t.contains(H));N.C=!(H==null||!H.hasAttribute("data-tooltip-target-fixed"));return H}; +Aay=function(N){if(N.dw&&N.g6){var H=FP(N.Ce,"od")==1,c=yG().T,t=N.g6,h=N.ZI?N.ZI.getName():"ns",O=N.JH,F=new g.rv(Gj(c),c.getHeight());c=N.Rj();N={EAx:h,JH:O,lDo:F,Rj:c,V0:N.mE.V0,Uzo:H};if(H=t.B){H.hA();h=H.TW;O=h.U.T;var M=F=null;h.Y!=null&&O&&(F=h.L,F=new g.Sr(F.left-O.left,F.top-O.top),M=new g.rv(O.right-O.left,O.bottom-O.top));h=c?Math.max(h.T,h.S):h.T;c={EAx:H.getName(),JH:F,lDo:M,Rj:c,Uzo:!1,V0:h}}else c=null;c&&THd(t,N,c)}}; +lE=function(N){var H=N===void 0?{}:N;N=H.JJ===void 0?0:H.JJ;var c=H.Q5===void 0?!1:H.Q5;var t=H.O9===void 0?0:H.O9;var h=H.rk===void 0?0:H.rk;var O=H.Em===void 0?Infinity:H.Em;var F=H.fU===void 0?0:H.fU;var M=H.K6===void 0?!1:H.K6;H=H.yD===void 0?!1:H.yD;g.zU.call(this);this.hZ=this.X_=-1;this.ul=N;this.O9=t;this.Q5=c;this.rk=h;this.Em=O;this.fU=F;((this.K6=M)||isFinite(O)&&this.Em>0)&&c&&sJe&&(this.B=!1,this.L="postLive");this.yD=H}; +oKf=function(N){var H,c;N=(H=N.T)==null?void 0:(c=H.bannerData)==null?void 0:c.itemData;var t,h,O;return(N==null||!N.affiliateDisclaimer)&&(N==null?0:(t=N.exclusivesData)==null?0:t.exclusiveOfferLabelText)&&(N==null?0:(h=N.exclusivesData)==null?0:h.expirationTimestampMs)&&(N==null?0:(O=N.exclusivesData)==null?0:O.exclusiveOfferCountdownText)?!0:!1}; +HK=function(N,H){H=H===void 0?[]:H;var c={LF:N.LF||"_",PB:N.PB||[],Th:N.Th|0,Iu:N.Iu,Yw:N.Yw||function(){}, +DN:N.DN||function(O,F){return WdS(O,F,c.Yw,c.Iu)}},t=c.DN("51",c.PB.concat(H)); +IW.call(this,{Ufp:new dK3(t),errorCount:new U8L(t),eventCount:new WXe(t),Pk:new lpy(t),oca:new kdh(t),mzW:new a9t(t),lk:new tBt(t),SVf:new NtZ(t)},c.LF);var h=this;this.Br={PA:function(){return h.options.PB.concat(h.U).sort(function(O,F){return O-F})}}; +this.options=c;this.service=t;this.L=!N.DN;this.T=new xde(function(){return void h.service.Ij()},c.Th); +this.addOnDisposeCallback(function(){h.T.dispose();h.L&&h.service.dispose()}); +g.Ua(this.U=H.slice())}; +IRd=function(N,H){var c=N.startSecs+N.C6;c=c<=0?null:c;if(c===null)return null;switch(N.event){case "start":case "continue":case "stop":break;case "predictStart":if(H)break;return null;default:return null}H=Math.max(N.startSecs,0);return{XN:new Hv(H,c),oGs:new Ni(H,c-H,N.context,N.identifier,N.event,N.T)}}; +bjt=function(N,H,c){var t=g.cd(N.provider);RUS(N,t,H,0,c);lc(N,t);k1(N)}; +YV=function(N){if(N.prerendering)return 3;var H;return(H={visible:1,hidden:2,prerender:3,preview:4,unloaded:5,"":0}[N.visibilityState||N.webkitVisibilityState||N.mozVisibilityState||""])!=null?H:0}; +g.TD=function(N,H,c){N=N.T.openCursor(H.query,H.direction);return RO(N).then(function(t){return BZe(t,c)})}; +AD=function(N){N.C=null;N.L=null;N.api.SP()||N.api.clearQueue()}; +Ux=function(N,H,c,t,h,O,F,M,f,d){this.callback=N;this.slot=H;this.layout=c;this.ea=t;this.ID=h;this.jg=O;this.k_=F;this.Fg=M;this.Pp=f;this.S=d;this.driftRecoveryMs=lQ(this.layout.clientMetadata,"metadata_type_drift_recovery_ms")||null;this.U=lQ(this.layout.clientMetadata,"metadata_type_prefetch_metadata")!==void 0}; +NI=function(N,H){N.Pd[N.pending++]=H>>>8&255;N.Pd[N.pending++]=H&255}; +nx=function(){for(var N=[],H=g.YI("EXPERIMENTS_FORCED_FLAGS",{}),c=g.K(Object.keys(H)),t=c.next();!t.done;t=c.next())t=t.value,N.push({key:t,value:String(H[t])});c=g.YI("EXPERIMENT_FLAGS",{});t=g.K(Object.keys(c));for(var h=t.next();!h.done;h=t.next())h=h.value,h.startsWith("force_")&&H[h]===void 0&&N.push({key:h,value:String(c[h])});return N}; +ZEd=function(N){var H=N.policy.ox,c=Eb(N.ox)/H-z1(N,N.B.info);H=g.iC(N.U,function(t){return z1(this,t)=0?H[h]:null){O=t;var M=h;F=c.startTimeMs+c.durationMs;var f=O.startTimeMs+O.durationMs;if(O.startTimeMs- +F>N.B)O=!1;else if(iPD(N,c.formatId,O.formatId))c.durationMs=Math.max(F,f)-c.startTimeMs,c.hY=Math.max(c.hY,O.hY),O=!0;else if(Math.abs(c.startTimeMs-O.startTimeMs)<=N.B)if(c.durationMs>O.durationMs+N.B){var d=c.formatId,W=c.IR;M=c.hY;c.formatId=O.formatId;c.durationMs=O.durationMs;c.IR=O.IR;c.hY=O.hY;O.formatId=d;O.startTimeMs=f;O.durationMs=F-f;O.IR=W;O.hY=M;O=!1}else c.formatId=O.formatId,O=!0;else F>O.startTimeMs&&(F>f&&(H.splice(M+1,0,{formatId:c.formatId,startTimeMs:f,durationMs:F-f,IR:O.hY+ +1,hY:c.hY}),N.logger&&N.logger({splitOldStart:(d=c.startTimeMs)==null?void 0:d.toFixed(3),splitOldEnd:F==null?void 0:F.toFixed(3),splitNewStart:(W=O.startTimeMs)==null?void 0:W.toFixed(3),splitNewEnd:f==null?void 0:f.toFixed(3)})),c.durationMs=O.startTimeMs-c.startTimeMs,c.hY=O.IR-1),O=!1}O?t=c:(h+=1,H.splice(h,0,t));d=0;for(W=h+1;W=f+c.B?c=!0:M+c.B0&&t.height>0){t=[Math.round(t.width),Math.round(t.height)];var h=g.fs();h>1&&t.push(h);g.Xz(N,c,"view",t)}N.NT||(N.provider.j.vO()&&v4(N,"rqs2"),N.provider.videoData.T&&$x(N.provider.videoData.T)&& +N.T.set("preload",["1"]));N.NT=!0;N.U=!0}H.reason==="m"&&++N.G7===100&&Gls(N,2);g.Xz(N,c,"vps",[N.y0]);N.ox||N.reportStats(c)}; +PdL=function(N,H,c,t,h,O){var F={layoutId:N.adLayoutMetadata.layoutId,layoutType:N.adLayoutMetadata.layoutType,Hp:"core"};H=HF(N,H,c);return H instanceof S?H:(c=g.P(N.renderingContent,DH))&&c.pings?Object.assign({},F,{renderingContent:N.renderingContent,S1:GX(c.pings)},H,{z0:q5(t,h)(F),clientMetadata:new xd([new Xe(VR(O))]),adLayoutLoggingData:N.adLayoutMetadata.adLayoutLoggingData}):new S("VideoAdTracking is missing from PlayerBytesSequenceItemAdLayoutRenderer")}; +qs=function(N){this.J=N}; +t8e=function(N){if(N.layout.renderingContent){var H;return(H=lQ(N.layout.clientMetadata,"metadata_type_player_bytes_callback_ref"))==null?void 0:H.current}return lQ(N.layout.clientMetadata,"metadata_type_player_bytes_callback")}; +Ny=function(){kB.apply(this,arguments)}; +g.ye=function(N){return Object.prototype.hasOwnProperty.call(N,h1w)&&N[h1w]||(N[h1w]=++OPy)}; +Aj=function(N,H,c){return{ra:ErS(N.T,H*1E3,(c===void 0?0:c)*1E3),Vv:H}}; +gzZ=function(N,H){var c=zC(N.loader)&&H&&H.bj!==void 0&&!H.tL?H.bj*1E3+(N.loader.HO()||0):Y7(N);if(N.policy.L2){var t=N.Ix;var h=N.Cq}else t=aH(N,N.audioTrack),h=aH(N,N.videoTrack);var O=[].concat(g.HE(t.Eu),g.HE(h.Eu));B6(N)&&O.push.apply(O,g.HE(N.S));var F=[].concat(g.HE(t.rq),g.HE(h.rq)),M=N.loader.xn();if(N.policy.jS&&!N.videoData.isLivePlayback){var f=N.videoData.lengthSeconds*1E3;c>=f&&N.loader.Lq("invalidSabrCmt",{cmt:c,vd:f})}var d,W;f=N.YG;var z=N.wE,E=N.GW,x=N.L,q=N.videoData.gE,r=N.policy, +w=N.loader.ys,n=Kmd(N.loader)*1E3,p=(d=N.Kq)==null?void 0:d.xB;d=(W=N.Kq)==null?void 0:W.h6;var U;W=Number((U=N.B.U)==null?void 0:U.info.itag)||0;var X;U=Number((X=N.B.S)==null?void 0:X.info.itag)||0;X=N.In;var A=N.wE.OS();var R=(H==null?0:H.ai)?H.ai:N.loader.isSuspended?4:void 0;c={YG:f,wE:z,GW:E,Eu:O,rq:F,sY:c,nextRequestPolicy:x,o5:q,wk:r,XY:w,Wu:n,xB:p,h6:d,In:X,G0S:W,u3o:U,q6:M,zL:A,ai:R};O=N.loader.S9();F=TS(O);O&&(c.EU=F);if(H=zC(N.loader)&&(H==null?0:H.tL)?H.bj:N.wE.G$())c.NJ=H*1E3;var v; +H=N.B;O=H.Us;if(((v=H.wk)==null?0:cB(v))&&!O)for(v=g.K(H.L),F=v.next();!F.done;F=v.next())if(F.value.X3){O=!0;break}v=cB(H.wk)&&!O?[]:D5h(H,H.L);c.Mh=v;v=N.B;cB(v.wk)&&!v.ox?v=[]:(H=i2e(v),H.length===0&&(H=v.Y),v=D5h(v,H));c.TD=v;c.w6=B6(N)?[N.Y]:void 0;N.policy.VN&&(c.f5=IEZ(N.loader,N.audioTrack),c.gK=IEZ(N.loader,N.videoTrack));if(N.policy.B){v=N.loader.getCurrentTime();t=aK(N,t.Eu,v);h=aK(N,h.Eu,v);h=Math.min(t,h);B6(N)&&(t=aK(N,N.S,v),N.wE.vO()&&t0)for(Fe.Lq("clsdai",{updcids:1,mt:t.toFixed(3),cid:v.join(","),rn:H}),Fe.B.clear(),t=g.K(v),v=t.next();!v.done;v=t.next())Fe.B.add(v.value);else Fe.Y&&(Fe.Lq("clsdai",{updcids:0,mt:t.toFixed(3),rn:H}),Fe.B.clear());t=g.K(Fe.B);for(H=t.next();!H.done;H= +t.next()){v=Fe;if(H=H.value){v=v.T.get(H);H={cuepointId:H};if(v==null?0:v.Tj)H.adsConfig=TS(v.Tj)||void 0;if(v==null?0:v.h$)H.Zi=v.h$;if(v==null?0:v.J7)H.tq=v.J7;Nf&&(H.X9=AA(Nf.split(";")[0]),H.jw=Nf.split(";")[1]||"");H.XE=(v==null?void 0:v.XE)||0;v=H}else v=void 0;v&&h.push(v)}Fe=h}c.Eh=Fe;var tS;(tS=N.ox)!=null&&tS.B.clear()}else if(tS=(Fe=N.C)==null?void 0:Fe.vx(h))c.nJ=tS}else N.policy.Y&&Fvw(N.videoData)&&(c.Eh=[{XE:7}]);N.policy.Bp&&N.T.length>0&&N.T[0].V$()&&(c.lT=N.T[0].GN());return c}; +Dy=function(N,H,c){N.state.T.hasOwnProperty(H)||wl(N,H,c);N.state.C[H]=function(){return c.apply(N,g.LQ.apply(0,arguments))}; +N.state.Y.add(H)}; +$RS=function(){this.L=!1}; +Twf=function(N,H,c){N.j1.A3("ADS_CLIENT_EVENT_TYPE_LAYOUT_ENTERED",H,c,void 0);N=g.K(N.B);for(var t=N.next();!t.done;t=N.next())t.value.AF(H,c)}; +jxD=function(N,H,c,t,h){J0.call(this,N,{W:"div",K:"ytp-ad-timed-pie-countdown-container",X:[{W:"svg",K:"ytp-ad-timed-pie-countdown",V:{viewBox:"0 0 20 20"},X:[{W:"circle",K:"ytp-ad-timed-pie-countdown-background",V:{r:"10",cx:"10",cy:"10"}},{W:"circle",K:"ytp-ad-timed-pie-countdown-inner",V:{r:"5",cx:"10",cy:"10"}},{W:"circle",K:"ytp-ad-timed-pie-countdown-outer",V:{r:"10",cx:"10",cy:"10"}}]}]},"timed-pie-countdown",H,c,t,h);this.U=this.Sa("ytp-ad-timed-pie-countdown-container");this.L=this.Sa("ytp-ad-timed-pie-countdown-inner"); +this.S=this.Sa("ytp-ad-timed-pie-countdown-outer");this.B=Math.ceil(2*Math.PI*5);this.hide()}; +wx=function(N,H){H?N.requestHeaders.Authorization="Bearer "+H:delete N.requestHeaders.Authorization}; +oc=function(N){g.lL.call(this,{W:"button",fq:["ytp-expand-right-bottom-section-button","ytp-button"],V:{title:"{{title}}","aria-pressed":"{{pressed}}","data-priority":"1","data-title-no-tooltip":"{{data-title-no-tooltip}}"},X:[g.pN()]});this.T=!1;this.listen("click",this.B);N.createClientVe(this.element,this,276954)}; +lB=function(N){var H=N.o4();if(g.y(H.getPlayerState(),128))return!1;H=H.getVideoData();Cm(N)&&N.j.iR&&(Gk.length&&N.KU?(aW(N,{muted:!1,volume:N.bR.volume},!1),NL(N,!1)):Gk.length||N.bR.muted||(aW(N,{muted:!0,volume:N.bR.volume},!1),NL(N,!0)));Cm(N)&&g.PX(N.j)&&H.mutedAutoplay&&(aW(N,{muted:!0,volume:N.bR.volume},!1),NL(N,!0));H.sL&&aW(N,{muted:!0,volume:N.bR.volume},!1);Zs(N,1,H,!1);var c=N.o4();N.VS.publish("initializingmode");N.kt(c);N.fp(3);var t;if(!(t=!N.j.Fb)){if(t=N.X2){t=N.X2;var h=N.mediaElement; +t=!!h&&h===t.mediaElement}t=t&&N.Tc}t&&(N.kA(),md(N),c.setMediaElement(N.mediaElement));c.GF();if(g.y(c.getPlayerState(),128))return!1;H.TE||Mt(N,3);return N.Tc=!0}; +T2t=function(N,H,c,t,h,O,F){function M(A){return!!z[A]} +var f=H.T||!!h,d=f&&H.n4?O:void 0,W=new Set,z=Csl(N,H,c,t,O,f,W);Fa(t)&&(z=Bss(c,z,h,f,O,H),f&&O({enflt:WI(z)}));H.UF=Zje(z,H);var E=smw(H);N=[];h=g.K(Object.values(z));for(var x=h.next();!x.done;x=h.next()){x=x.value;var q=void 0;((q=x)==null?0:q.length)&&x[0].ll()&&N.push.apply(N,g.HE(x))}if($x(t))return O=g.Nn(Object.values(z),function(A){return!!A.length&&!!A[0].audio}),f=g.Nn(Object.values(z),function(A){return!!A.length&&!!A[0].video}),O&&f||C6(),H2(new sR(f,O,d,N)); +h=z.a;x=!1;H.NT&&E[0]!=="a"&&sHe(h)&&(E.unshift("a"),x=!0);f&&(O({audioPrefOrder:E.join("_")}),O({preferHighQualityAudio:H.NT}),O({forcedAacForHqa:x}));h=[];if(H.T3){E=g.WL(E,M);x=new Set;q=g.K(E);for(var r=q.next();!r.done;r=q.next()){var w=new Set;r=g.K(z[r.value]);for(var n=r.next();!n.done;n=r.next()){n=n.value;var p=void 0,U=(p=n.X3)==null?void 0:p.id;U&&(x.has(U)?w.has(U)&&h.push(n):(w.add(U),x.add(U),h.push(n)))}}if(h.length===0){if(E.length===0)return f&&O({noaudio:1}),C6();h=z[E[0]]}}else{h= +g.Nn(E,M);if(!h)return f&&O({noaudio:1}),C6();h=z[h]}z["9"]&&z.h&&t.K4&&!H.vp&&(f&&O({dltvp9:1}),delete z["9"]);if(F){f&&O({bfsflt:WI(z),bfsflta:lo(c)});M8v(c,W);f&&O({bfsfltb:lo(c)});for(var X in z)if(z.hasOwnProperty(X)&&(F=X,!(F==="f"||H.Cq===0&&f5w.has(F))))for(W=g.K(z[F]),E=W.next();!E.done;E=W.next())E=E.value,H.AN?XFs(c,F,E):c_L(c,F,E);f&&O({aftsflt:lo(c)})}F=z["1h"]?"1h":"1";c=z["9h"]?"9h":"9";E=z[F];x=z["2"];q=z[c];E&&E.length&&(H.B.highestAv1Resolution=E[E.length-1].video.qualityOrdinal); +q&&q.length&&(H.B.highestVp9Resolution=q[q.length-1].video.qualityOrdinal);X=[];W=[];if(H.LG&&x)X=x,W=["2"];else if(H.G7&&E)X=E,W=[F],O({forceAv1:F});else if(H.Z&&!H.vL)for(W=yvD(t)?z["1h"]||z["9h"]?["1h","9h"]:["9","h"]:["1","9","h"],f&&O({newhybpref:W.join(".")}),E=g.K(W),x=E.next();!x.done;x=E.next())X=X.concat(z[x.value]).filter(function(A){return A}); +else H.CF>0&&q&&E&&(W=[F,c],X=E.concat(q).filter(function(A){return A})); +if(X.length&&!H.vL){kX(X,W);if(f){f=[];H=g.K(X);for(t=H.next();!t.done;t=H.next())f.push(t.value.itag);O({hbdfmt:f.join(".")})}return H2(new sR(X,h,d,N))}X=sAd(H);X=g.Nn(X,M);if(!X){if(z[F])return O=z[F],kX(O),H2(new sR(O,h,d,N));f&&O({novideo:1});return C6()}H.bX&&(X==="1"||X==="1h")&&z[c]&&(F=J5(z[X]),W=J5(z[c]),W>F?X=c:W===F&&tLw(z[c])&&(X=c));X==="9"&&z.h&&J5(z.h)>J5(z["9"])&&(X="h");H.mG&&t.isLive&&X==="("&&z.H&&J5(z["("])<1440&&(X="H");f&&O({vfmly:dU(X)});H=z[X];if(!H.length)return f&&O({novfmly:dU(X)}), +C6();kX(H);return H2(new sR(H,h,d,N))}; +MOf=function(N,H,c,t,h){this.oy=H;this.T=c;this.visible=t;this.layoutId=h;this.triggerType="TRIGGER_TYPE_MEDIA_TIME_RANGE_ALLOW_REACTIVATION_ON_USER_CANCELLED";this.triggerId=N(this.triggerType)}; +gKs=function(N,H,c){H=g.K(H);for(var t=H.next();!t.done;t=H.next())t=t.value,t.layout&&Um(N.T,t.slot)&&Q1v(N,t.slot,t.layout,c)}; +Ngv=function(N,H){if(!isNaN(N.C4)){var c=Date.now()-N.C4;c<1E4&&N.Lq("bfaswtch",{ep:c,sk:H!==void 0?"1":"0",sr:H||""})}}; +qW=function(){this.data=new Uint8Array(2048);this.pos=0;wc||(wc=GJf("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_."))}; +DG=function(N,H,c){c=c===void 0?!1:c;return rjR(N,H.getCurrentTime(),(0,g.Lh)(),H.Ul(),c)}; +dRR=function(N,H){N.T&&(g.y(H,8)&&N.L?(N.L=!1,N.aD(),N.T.start()):(g.y(H,2)||g.y(H,64))&&N.videoId&&(N.videoId=null))}; +Qb=function(N,H,c,t,h,O){c=c===void 0?!0:c;var F=g.C2(N,{playerType:h});if(!F||(F.getPlayerType()!==2||N.Re(F))&&!g.z7(F.getVideoData())){var M=N.hN.IA;M?M.seekTo(H,{jm:!c,uV:t,j_:"application",seekSource:O}):(F&&F===N.o4()&&N.PO&&!rrL(N,H)&&N.setLoopRange(null),N.seekTo(H,c,t,h,O,"_request"))}}; +TtS=function(N,H){H=g.K(H);for(var c=H.next();!c.done;c=H.next())if(c=c.value,c.adSlotMetadata.slotType==="SLOT_TYPE_PLAYER_UNDERLAY"){var t=g.P(c.fulfillmentContent.fulfilledLayout,y7);if(t&&(t=g.P(t.renderingContent,RC))&&t.associatedPlayerBytesLayoutId===N)return c}}; +Wvt=function(N,H){if(H!==N.icon){switch(H){case 3:var c=WY();break;case 1:c=sr();break;case 2:c={W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M16,19.02 L16,12.00 L18,12.00 L18,17.86 L23.10,20.81 L22.10,22.54 L16,19.02 Z"}}]};break;case 4:c={W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path", +JN:!0,V:{d:"M7,27.5h22L18,8.5L7,27.5z M19,24.5h-2v-2h2V24.5z M19,20.5h-2V16.5h2V20.5z",fill:"#fff"}}]}}N.updateValue("icon",c);N.icon=H}}; +g.QV=function(N,H){return typeof N.keywords[H]!=="string"?null:N.keywords[H]}; +lxR=function(N,H,c){N.Z&&clearTimeout(N.Z);N.T===0&&g.nH(N.api.getRootNode(),"ytp-grid-scrolling");H?HzS(N,c):N.T<.1&&(N.Z=window.setTimeout(function(){HzS(N)},1E3))}; +G_t=function(N,H,c,t,h,O,F,M,f){var d=c.pings;return d?[JY3(N,O,M,h,function(W){var z=W.slotId;W=f(W);var E=c.adLayoutLoggingData,x=c.progressCommands;z=CA(H.B.get(),"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER",z);var q={layoutId:z,layoutType:"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER",Hp:"core"};return{layoutId:z,layoutType:"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER",S1:GX(d),layoutExitNormalTriggers:[new mZ(H.T,O)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[], +layoutExitUserCancelledTriggers:[],Hp:"core",clientMetadata:new xd([new Xe(t),new HZ(cZ(d)),new dW(Qk3(d)),new N5(F/1E3),new G3({progressCommands:x}),new rx(F/1E3)]),z0:W(q),adLayoutLoggingData:E}})]:new S("VideoAdTrackingRenderer without VideoAdTracking pings filled.",{videoAdTrackingRenderer:c})}; +z1s=function(N,H,c,t){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.lp.call(this,N,H,c,0);this.B=null;this.S=t?2:0}; +$Ky=function(){var N=document;if("visibilityState"in N)return N.visibilityState;var H=gsD+"VisibilityState";if(H in N)return N[H]}; +IB=function(N,H,c,t,h){var O=N.N("html5_enable_new_audio_settings_menu");n6.call(this,"Stable Volume",O?Eas.aS:g.Se.aS);this.J=N;this.U=H;this.B=c;this.hasDrcAudioTrack=t;this.getDrcState=h;this.L=this.enableNewAudioSettingsMenu=this.T=!1;g.bV(this.element,"ytp-drc-menu-item");this.R4=(this.enableNewAudioSettingsMenu=O)?N.GS().rG:N.GS();N.N("html5_enable_voice_boost")?(this.L=!0,this.G(N,"onFilterAudioFeatures",this.dk)):N.addEventListener("videodatachange",this.dk.bind(this));N.N("mta_drc_mutual_exclusion_removal")&& +this.G(N,"onPlaybackAudioChange",this.dk);N.createClientVe(this.element,this,273317);this.listen("click",this.Y);H=this.B()===1&&this.hasDrcAudioTrack();this.enableNewAudioSettingsMenu||(N=N.N("delhi_modern_web_player_icons")?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M12 .99C5.92 .99 1 5.92 1 11.99C1 18.07 5.92 22.99 12 22.99C18.07 22.99 23 18.07 23 11.99C23 5.92 18.07 .99 12 .99ZM12 2.99C14.38 2.99 16.67 3.94 18.36 5.63C20.05 7.32 21 9.61 21 11.99C21 14.38 20.05 16.67 18.36 18.36C16.67 20.05 14.38 20.99 12 20.99C9.61 20.99 7.32 20.05 5.63 18.36C3.94 16.67 3 14.38 3 11.99C3 9.61 3.94 7.32 5.63 5.63C7.32 3.94 9.61 2.99 12 2.99ZM14 6.00C13.73 6.00 13.48 6.10 13.29 6.29C13.10 6.48 13 6.73 13 7.00V17.00C13 17.26 13.10 17.52 13.29 17.70C13.48 17.89 13.73 18.00 14 18.00C14.26 18.00 14.51 17.89 14.70 17.70C14.89 17.52 15 17.26 15 17.00V7.00C15 6.73 14.89 6.48 14.70 6.29C14.51 6.10 14.26 6.00 14 6.00ZM10 8.00C9.73 8.00 9.48 8.10 9.29 8.29C9.10 8.48 9 8.73 9 9.00V15.00C9 15.26 9.10 15.52 9.29 15.70C9.48 15.89 9.73 16.00 10 16.00C10.26 16.00 10.51 15.89 10.70 15.70C10.89 15.52 11 15.26 11 15.00V9.00C11 8.73 10.89 8.48 10.70 8.29C10.51 8.10 10.26 8.00 10 8.00ZM18 9.00C17.73 9.00 17.48 9.10 17.29 9.29C17.10 9.48 17 9.73 17 10.00V14.00C17 14.26 17.10 14.52 17.29 14.70C17.48 14.89 17.73 15.00 18 15.00C18.26 15.00 18.51 14.89 18.70 14.70C18.89 14.52 19 14.26 19 14.00V10.00C19 9.73 18.89 9.48 18.70 9.29C18.51 9.10 18.26 9.00 18 9.00ZM6 10.00C5.73 10.00 5.48 10.10 5.29 10.29C5.10 10.48 5 10.73 5 11.00V13.00C5 13.26 5.10 13.52 5.29 13.70C5.48 13.89 5.73 14.00 6 14.00C6.26 14.00 6.51 13.89 6.70 13.70C6.89 13.52 7 13.26 7 13.00V11.00C7 10.73 6.89 10.48 6.70 10.29C6.51 10.10 6.26 10.00 6 10.00Z", +fill:"white"}}]}:{W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M7 13H5v-2h2v2zm3-4H8v6h2V9zm3-3h-2v12h2V6zm3 2h-2v8h2V8zm3 2h-2v4h2v-4zm-7-7c-4.96 0-9 4.04-9 9s4.04 9 9 9 9-4.04 9-9-4.04-9-9-9m0-1c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2z",fill:"white"}}]},this.setIcon(N));this.subscribe("select",this.S,this);this.enableNewAudioSettingsMenu||this.L?this.dk():(this.setEnabled(this.hasDrcAudioTrack()),d1(this,H),this.R4.Ou(this))}; +xRD=function(N){N.FM=Date.now();iq(N,N.kc);N.timer.start()}; +nD=function(N,H,c,t,h,O,F,M,f,d,W,z){g.L.call(this);this.uU=N;this.slot=H;this.layout=c;this.PH=t;this.N2=h;this.ea=O;this.ID=F;this.Nc=M;this.Le=f;this.k_=d;this.params=z;this.AY=!0;N=E3s(W);if(!N)throw Error("Invalid params for sublayout");this.QR=N}; +GD3=function(N,H){var c;return g.Y(function(t){if(t.T==1)return v6(2),g.Xy(t,2),g.a(t,WA(N.network,H),4);if(t.T!=2)return(c=t.B)?c.challenge&&!c.bgChallenge?v6(1):v6(4):v6(3),t.return(c);g.Lq(t);v6(3);return t.return(void 0)})}; +pm=function(N){g.QH(N.badge.element,"ytp-suggested-action-badge-with-controls",N.ox||!N.C)}; +qKv=function(N){N.offsets.length=H&&wz(c,!0)>=H}else c.B.length||t.B.length?(h=c.mR.info.OF+t.mR.info.OF,h=10*(1-Eb(H)/h),H=Math.max(h,H.policy.b1),c=wz(t,!0)>=H&&wz(c,!0)>=H):c=!0;if(!c)return"abr"; +c=N.videoTrack;if(c.B.length>0&&c.L.B.length===1&&vh3(c.L).info.C360);if(!N.F_||c)return"";c=N.policy.zn;q1(N.policy)&&(c=yte(N.TW,N.F_,Eb(N.TW)));c=vfs(N.videoTrack,N.getCurrentTime(),c)||vfs(N.audioTrack,N.getCurrentTime(),c);return q1(N.policy)?c?"mbnm":"":(N.videoTrack.B.length>0||N.audioTrack.B.length>0|| +xZR(N.Y,N.videoTrack,N.audioTrack)||xZR(N.Y,N.audioTrack,N.videoTrack))&&c?"nord":""}; +l5h=function(N,H,c){var t;if(t=N.playback.getVideoData().vH())t=(t=N.T.Vd({cpn:H}))&&t.EN?(N=N.T.T.get(t==null?void 0:t.EN))&&N.slice(-1)[0].cpn===H:!1;return t&&c===2?1E3:0}; +uB=function(N){if(!N.hj)return{};var H=N.hj.H_(),c;H.d=(c=N.hj.Ix)==null?void 0:c.UR();H.shost=N.xq;H.ty="o";return H}; +gay=function(N,H){i1S(N);for(var c=H.links||H.shareTargets,t=0,h={},O=0;O0&&!R&&!X?(U.length===2&&(U=["noreferrer"]),g.JH(x,r,E,U[0]),x=cqw()):(w=p.join(","),PS()&&x.navigator&&x.navigator.standalone&&E&&E!="_self"?(w=g.Ch("A"),g.eV(w,r),w.target=E,n&&(w.rel="noreferrer"),((q=q.attributionsrc)||q==="")&&w.setAttribute("attributionsrc",q),q=document.createEvent("MouseEvent"), +q.initMouseEvent("click",!0,!0,x,1),w.dispatchEvent(q),x=cqw()):n?(x=g.JH(x,"",E,w),q=g.oA(r),x&&(x.opener=null,q===""&&(q="javascript:''"),q='',q=vZ(q),(r=x.document)&&r.write&&(r.write(aE(q)),r.close()))):((x=g.JH(x,r,E,w))&&q.noopener&&(x.opener=null),x&&q.noreferrer&&(x.opener=null)));x&&(x.opener||(x.opener=window),x.focus());z.preventDefault()}}}(h)); +h.pm.addOnDisposeCallback(g.UU(N.tooltip,h.pm.element));M==="Facebook"?N.api.createClientVe(h.pm.element,h.pm,164504):M==="Twitter"&&N.api.createClientVe(h.pm.element,h.pm,164505);N.G(h.pm.element,"click",function(W){return function(){N.api.logClick(W.pm.element)}}(h)); +N.api.logVisibility(h.pm.element,!0);N.B.push(h.pm);t++}}var f=H.more||H.moreLink,d=new g.e({W:"a",fq:["ytp-share-panel-service-button","ytp-button"],X:[{W:"span",K:"ytp-share-panel-service-button-more",X:[{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},X:[{W:"rect",V:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{W:"path",V:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 Z m -5.7,21.85 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z", +fill:"#4e4e4f","fill-rule":"evenodd"}}]}]}],V:{href:f,target:"_blank",title:"More"}});d.listen("click",function(W){var z=f;N.api.logClick(N.moreButton.element);z=SJL(N,z);g.Yc(z,N.api,W)&&N.api.QS("SHARE_CLICKED")}); +d.addOnDisposeCallback(g.UU(N.tooltip,d.element));N.api.createClientVe(d.element,d,164506);N.G(d.element,"click",function(){N.api.logClick(d.element)}); +N.api.logVisibility(d.element,!0);N.B.push(d);N.moreButton=d;N.updateValue("buttons",N.B)}; +J1L=function(N){kc.forEach(function(H){return H(N)})}; +Yy=function(N){this.value=N}; +qDD=function(N,H,c){var t;(t=N.app.z6().S[H.clientPlaybackNonce]||null)==null||t.dispose();H=new rah(N,H,N.playback,c/1E3);N.NT.set(H.Qd(),H);N.app.z6().S[H.Qd()]=H}; +rcy=function(N,H,c){var t=N.getVideoData(),h=H.getVideoData();if(!t.D().supportsGaplessShorts())return{nq:"env"};if((!c.TW||t.LC&&!t.isAd()||h.LC&&!h.isAd())&&(!c.B||t.LC&&!t.isAd()||h.LC)&&(!c.L||h.LC&&!h.isAd()||t.LC)&&(t.LC||h.LC))return{nq:"autoplay"};if(t.endSeconds>0)return{nq:"endcr"};if(!t.C)return{nq:"client"};if(!N.SP())return{nq:"no-empty"};N=UL(c,N,H,Infinity);return N!=null?{nq:N.msg}:null}; +R8l=function(N,H,c,t){if(H&&!H.hasAttribute)N=new g.ti("showElementTooltip called with non-element.",H.toString()),g.BZ(N);else{isNaN(N.U)||(N.U=NaN,N.bg.style.background="");g.nH(N.element,"ytp-tooltip-progress-bar-style");N.T=H;N.C=!!t;t?N.L=t:(N.env.N("player_tooltip_data_title_killswitch")?N.L=H.getAttribute("title"):N.L=H.getAttribute("data-tooltip-title"),N.env.N("player_tooltip_data_title_killswitch")?H.removeAttribute("title"):H.removeAttribute("data-tooltip-title"));g.HB(N.element,"ytp-tooltip"); +var h=H.getAttribute("data-tooltip-image");h&&(N.image.style.backgroundImage="url("+h+")");t?N.update({ariaHidden:"false"}):N.update({ariaHidden:"true"});g.QH(N.element,"ytp-tooltip-image-enabled",!!h);H=H.getAttribute("data-tooltip-opaque");g.QH(N.element,"ytp-tooltip-opaque",!!H);N.type=c;N.api.addEventListener("appresize",N.Bp);N.Y&&(un(N),N.fade.show(0))}}; +Kn=function(N){this.NE=N}; +Bq=function(N,H){this.adPodIndex=N;this.T=H.length;this.adBreakLengthSeconds=H.reduce(function(t,h){return t+h},0); +var c=0;for(N+=1;N=0;t--){var h=N[t];if(H.call(c,h,t,N))return{xW:t,b6:h}}return{xW:-1,b6:void 0}}; +x4R=function(N){var H=g.Ck();if(H)if(H.clear(N),N)aAv(N);else for(var c in g9)aAv(c)}; +BeD=function(N){return(N=N.iR)&&N.showError?N.showError:!1}; +Pkl=function(N){return!!(N.playlist||N.list||N.api)}; +b8=function(N){N=J8(N);N.metadata||(N.metadata={});return N.metadata}; +kA=function(N,H,c){N.J.N("delhi_modern_web_player")?H.Jl(N.B.Sa(Rc[c])):H.Jl(N.B.element)}; +hd=function(N){return BJ(N)&&N.allowLiveDvr}; +uJ=function(N,H){H=H===void 0?"":H;return N.Nj?QA(!0):i8(pq(QA(g.py(N,H)),function(c){return QA(!!c)}),function(){return QA(!1)})}; +J6=function(N,H,c,t,h,O,F,M,f){if(H===N)if(f){if(f===M.layoutId){a:{N=g.K(c.keys());for(H=N.next();!H.done;H=N.next())if(H=H.value,H.slotType==="SLOT_TYPE_PLAYER_BYTES"&&O===c.get(H).layoutId){c=!0;break a}c=!1}c?hJ(t,1):h?h():KA("Tried to call engagePingCallback but it is null",F,M)}}else KA("Companion AdUxClick received without a layoutId",F,M)}; +$Es=function(N,H){N.dataset.version=H}; +lA=function(N,H,c){for(var t=[],h;h=jc(N,H);)t.push(c(new kl(new eB([h]))));return t.length?t:void 0}; +$m=function(N,H,c,t){var h=new g.Fm(H,void 0,"Video Override");g.aQ.call(this,t.text||"",N,H,c,"Video Override",function(){g.Q7(c,h)}); +var O=this;g.bV(this.element,"ytp-subtitles-options-menu-item");this.setting=t.option.toString();N=t.options;this.settings=g.fn(N,this.BT,this);this.L=h;g.l(this,this.L);H=new g.TW({W:"div",K:"ytp-menuitemtitle",Wp:"Allow for a different caption style if specified by the video."},0);g.l(this,H);this.L.Ou(H,!0);this.B=new g.TW({W:"div",K:"ytp-menuitem",V:{role:"menuitemradio",tabindex:"0"},X:[{W:"div",K:"ytp-menuitem-label",Wp:"On"}]},-1);g.l(this,this.B);this.L.Ou(this.B,!0);this.G(this.B.element, +"click",function(){eLe(O,!0)}); +this.T=new g.TW({W:"div",K:"ytp-menuitem",V:{role:"menuitemradio",tabindex:"0"},X:[{W:"div",K:"ytp-menuitem-label",Wp:"Off"}]},-2);g.l(this,this.T);this.L.Ou(this.T,!0);this.G(this.T.element,"click",function(){eLe(O,!1)}); +this.Ad(g.jm(N,this.BT))}; +EAl=function(N,H){if(window.fetch&&H.format!=="XML"){var c={method:H.method||"GET",credentials:"same-origin"};H.headers&&(c.headers=H.headers);H.priority&&(c.priority=H.priority);N=Emw(N,H);var t=qWh(N,H);t&&(c.body=t);H.withCredentials&&(c.credentials="include");var h=H.context||g.di,O=!1,F;fetch(N,c).then(function(M){if(!O){O=!0;F&&g.wi(F);var f=M.ok,d=function(W){W=W||{};f?H.onSuccess&&H.onSuccess.call(h,W,M):H.onError&&H.onError.call(h,W,M);H.onFinish&&H.onFinish.call(h,W,M)}; +(H.format||"JSON")==="JSON"&&(f||M.status>=400&&M.status<500)?M.json().then(d,function(){d(null)}):d(null)}}).catch(function(){H.onError&&H.onError.call(h,{},{})}); +N=H.timeout||0;H.onFetchTimeout&&N>0&&(F=g.Zh(function(){O||(O=!0,g.wi(F),H.onFetchTimeout.call(H.context||g.di))},N))}else g.Rj(N,H)}; +OU=function(N,H){return FW(N,H)!=null}; +tHe=function(N){var H;return!((H=N.Es.getWebPlayerContextConfig())==null||!H.enableProximaLowLatency)}; +GQ3=function(N){dK.call(this,N);var H=this;wl(N,"getStatsForNerds",function(){return Pyl(H.api)}); +Dy(N,"showVideoInfo",function(){Efv(H,!0)}); +Dy(N,"hideVideoInfo",function(){Efv(H,!1)}); +Dy(N,"isVideoInfoVisible",function(){return eod(H)})}; +DRL=function(N){N.Zf&&N.Zf.wR()&&N.LH()}; +ecR=function(N,H,c,t,h,O,F,M,f,d,W,z,E){var x={layoutId:H,layoutType:"LAYOUT_TYPE_MEDIA",Hp:c};h=[new Xe(h),new vL(f),new BL(t.externalVideoId),new yR(M),new G3({impressionCommands:t.impressionCommands,abandonCommands:t.onAbandonCommands,completeCommands:t.completeCommands,progressCommands:t.adVideoProgressCommands}),new ky(O),new Il({current:null}),new N5(F)];(O=t.playerOverlay.instreamAdPlayerOverlayRenderer)&&h.push(new al(O));(F=t.playerOverlay.playerOverlayLayoutRenderer)&&h.push(new eh(F)); +z&&h.push(new j7(z));(z=t.playerUnderlay)&&h.push(new Xp(z));M=lS(N.B.get(),"SLOT_TYPE_IN_PLAYER");z=(z=O?O.elementId:F==null?void 0:F.layoutId)?z:CA(N.B.get(),"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",M);h.push(new Ls(z));h.push(new Zd(M));h.push(new Yy(f.adPodIndex));t.adNextParams&&h.push(new M5(t.adNextParams));t.shrunkenPlayerBytesConfig&&h.push(new ab(t.shrunkenPlayerBytesConfig));t.clickthroughEndpoint&&h.push(new fg(t.clickthroughEndpoint));t.legacyInfoCardVastExtension&&h.push(new dR(t.legacyInfoCardVastExtension)); +t.sodarExtensionData&&h.push(new WZ(t.sodarExtensionData));W&&h.push(new E4(W));h.push(new HZ(cZ(t.pings)));f=GX(t.pings);if(E){a:{E=g.K(E);for(W=E.next();!W.done;W=E.next())if(W=W.value,W.adSlotMetadata.slotType==="SLOT_TYPE_PLAYER_UNDERLAY"&&(O=g.P(W.fulfillmentContent.fulfilledLayout,y7))&&(O=g.P(O.renderingContent,RC))&&O.associatedPlayerBytesLayoutId===H){E=W;break a}E=void 0}E&&h.push(new $d(E))}return{layoutId:H,layoutType:"LAYOUT_TYPE_MEDIA",S1:f,layoutExitNormalTriggers:[new mR(N.T,H)],layoutExitSkipTriggers:t.skipOffsetMilliseconds? +[new wG(N.T,z)]:[],layoutExitMuteTriggers:[new wG(N.T,z)],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],Hp:c,ub:h,z0:d(x),adLayoutLoggingData:t.adLayoutLoggingData}}; +hj=function(N,H,c){N.VS.publish(H,c);var t=g.Iy(N.j)||g.G0(N.j)||g.m8(N.j);if(c&&t){switch(H){case "cuerangemarkersupdated":var h="onCueRangeMarkersUpdated";break;case "cuerangesadded":h="onCueRangesAdded";break;case "cuerangesremoved":h="onCueRangesRemoved"}h&&N.VS.QS(h,c.map(function(O){return{getId:function(){return this.id}, +end:O.end,id:O.getId(),namespace:O.namespace==="ad"?"ad":"",start:O.start,style:O.style,visible:O.visible,markerPositionMs:O.markerPositionMs}}))}}; +QxZ=function(N,H){return ce(N,H)-1}; +mr=function(N){var H=N.data.getUint8(N.offset+N.T);N.T+=1;return H}; +swf=function(N,H,c){return Math.ceil(Math.max(Math.max(N.policy.dL,N.policy.TK*c),Math.min(Math.min(N.policy.zW,31*c),Math.ceil(H*c))))||N.policy.dL}; +g.Ps=function(){var N=this;this.promise=new Promise(function(H,c){N.resolve=H;N.reject=c})}; +g.gC=function(N,H){g.Gv.call(this,N,{W:"div",fq:["ytp-popup",H||""],X:[{W:"div",K:"ytp-focus-trap-before",V:{tabindex:"0"}},{W:"div",K:"ytp-popup-content"},{W:"div",K:"ytp-focus-trap-after",V:{tabindex:"0"}}]},100,!0);this.T=[];this.U=this.L=null;this.maxHeight=this.maxWidth=0;this.size=new g.rv(0,0);this.content=this.Sa("ytp-popup-content");this.listen("keydown",this.DM);this.G(this.Sa("ytp-focus-trap-before"),"focus",this.O6o);this.G(this.Sa("ytp-focus-trap-after"),"focus",this.W9p)}; +sed=function(N,H){for(var c=g.K(Object.keys(N)),t=c.next();!t.done;t=c.next()){t=t.value;var h=N[t][0];if(!h.width&&h.YH===H.YH&&!h.audioChannels)return t}return""}; +F9=function(N,H){return N.J.getPlayerStateObject(H)}; +g.El=function(N){return g.G0(N)||P_(N)==="TV_UNPLUGGED_CAST"||jQ(N)}; +NLs=function(N){var H=N.Us;isFinite(H)&&(Zbe(N)?N.refresh():(H=Math.max(0,N.gE+H-(0,g.Lh)()),N.S||(N.S=new g.kT(N.refresh,H,N),g.l(N,N.S)),N.S.start(H)))}; +L3=function(N){return vh3(N.L)}; +Dm=function(N){N.L.stop();for(var H;!N.T.isEmpty();){var c=PZe(N.T);var t=N.T.T;t=t.length!=0?t[0].getValue():void 0;if(c===void 0||t===void 0)break;if((t=N.map.get(t))&&t.Ef===c){H=c;break}else N.T.remove()}H!==void 0&&(c=(0,g.Lh)(),N.L.start(Math.max(H-c,100)))}; +ZN=function(N,H){g.e.call(this,{W:"div",K:"ytp-fine-scrubbing",X:[{W:"div",K:"ytp-fine-scrubbing-draggable",X:[{W:"div",K:"ytp-fine-scrubbing-thumbnails",V:{tabindex:"0",role:"slider",type:"range","aria-label":"Click or scroll the panel for the precise seeking.","aria-valuemin":"{{ariamin}}","aria-valuemax":"{{ariamax}}","aria-valuenow":"{{arianow}}","aria-valuetext":"{{arianowtext}}"}}]},{W:"div",V:{"aria-hidden":"true"},K:"ytp-fine-scrubbing-cursor"},{W:"div",K:"ytp-fine-scrubbing-seek-time",V:{"aria-hidden":"true"}, +Wp:"{{seekTime}}"},{W:"div",K:"ytp-fine-scrubbing-play",X:[N.N("delhi_modern_web_player_icons")?tF():BVh()],V:{title:"Play from this position",role:"button"}},{W:"div",K:"ytp-fine-scrubbing-dismiss",X:[g.Bg()],V:{title:"Exit precise seeking",role:"button"}}]});var c=this;this.api=N;this.S=this.Sa("ytp-fine-scrubbing-thumbnails");this.dismissButton=this.Sa("ytp-fine-scrubbing-dismiss");this.ox=this.Sa("ytp-fine-scrubbing-draggable");this.playButton=this.Sa("ytp-fine-scrubbing-play");this.thumbnails= +[];this.B=[];this.gE=this.T=0;this.Cq=void 0;this.Bp=NaN;this.Kq=this.Z=this.L=this.C=0;this.U=[];this.interval=this.frameCount=0;this.Y=160;this.scale=1;this.vp=0;this.isEnabled=this.Ix=!1;dLS(this,this.api.getCurrentTime());this.addOnDisposeCallback(g.UU(H,this.dismissButton));this.addOnDisposeCallback(g.UU(H,this.playButton));this.NT=new g.la(this.ox,!0);this.NT.subscribe("dragstart",this.Ly,this);this.NT.subscribe("dragmove",this.Bi,this);this.NT.subscribe("dragend",this.dB,this);this.G(N,"SEEK_COMPLETE", +this.qq);N.N("web_fix_fine_scrubbing_false_play")&&this.G(N,"rootnodemousedown",function(t){c.Us=t}); +this.S.addEventListener("keydown",function(){}); +g.l(this,this.NT);this.api.createClientVe(this.element,this,153154);this.api.createClientVe(this.S,this,152789);this.api.createClientVe(this.dismissButton,this,153156);this.api.createClientVe(this.playButton,this,153155)}; +wY=function(N,H,c){c=c===void 0?N.D().schedule:c;g.L.call(this);var t=this;this.wE=N;this.playerRequest=H;this.YG=c;this.logger=new g.mE("onesie");this.xhr=null;this.state=1;this.Kp=new M9;this.Zu=!1;this.playerResponse="";this.KA=new vf(this);this.SY=new ubS(this);this.bK="";this.KD=this.O4=!1;this.rp="";this.enableCompression=this.WE=this.BD=!1;this.Kl=[];this.cz=-1;this.Aw=0;this.j=this.wE.D();this.videoData=this.wE.getVideoData();this.Ua=this.j.vO();this.nx=this.j.n4;this.Te=new Us(this.nx.T); +this.qh=this.j.N("html5_onesie_check_timeout");this.Hl=new g.kT(this.kY,500,this);this.i4=new g.kT(this.A8,1E4,this);this.jX=new g.kT(function(){if(!t.isComplete()){var h=uB(t);t.fail(new g.QP("net.timeout",h))}},1E3); +this.ol=new g.kT(this.M_s,2E3,this);this.yb=this.wE.vA();this.qL=this.N("html5_onesie_wait_for_media_availability");g.l(this.videoData,this);g.l(this,this.Hl);g.l(this,this.i4);g.l(this,this.ol);N=h4();km&&N&&(this.oe=new Map);this.G1=new Map;this.kK=new Map;this.QA=new Map;this.FF=new Map}; +Cp=function(N,H,c,t,h,O){O=O===void 0?0:O;H_.call(this,N,H,t,void 0);this.S=c;this.JJ=O;this.index=h||new g.zU}; +g.Kl=function(N,H){W2v(N,{l$a:g.Mx(H.experiments,"bg_vm_reinit_threshold"),cspNonce:H.cspNonce,qf:H.qf||""})}; +nm=function(N,H){H&&Wxe(N,H)}; +g.pS=function(N,H){var c=g.Ck();return c?c.publish.apply(c,arguments):!1}; +pof=function(N){return Object.values(N.tracks).find(function(H){return H.languageCode==="en"&&H.kind==="asr"})}; +uLy=function(N,H,c){if(mG(1,N.T))return!1;var t=q8(c,Sc(17,N.T));if(t.timedOut<1&&t.T<1)return!1;t=t.timedOut+t.T;N=Ob(N,H);c=q8(c,Sc(18,N));return c.timedOut+c.T+0=N.T.byteLength}; +wl=function(N,H,c){N.state.T[H]=function(){return c.apply(N,g.LQ.apply(0,arguments))}}; +TN=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);this.events.G(N,"videodatachange",function(){H.updateMetadata()}); +this.events.G(N,"presentingplayerstatechange",function(){SKl(H)}); +this.events.G(N,"SEEK_COMPLETE",function(){Jbw(H)})}; +PvZ=function(N,H){for(var c=[],t=g.K(N.tF.values()),h=t.next();!h.done;h=t.next()){h=h.value;var O=h.trigger;O instanceof Kc&&O.triggeringLayoutId===H&&c.push(h)}c.length?$D(N.Vu(),c):KA("Survey is submitted but no registered triggers can be activated.")}; +SI=function(N){if(N.J.D().nO)return N.Jn.get("offline")}; +erd=function(N){var H={};N=g.K(N);for(var c=N.next();!c.done;c=N.next()){c=c.value;var t=c.split("=");t.length===2?H[t[0]]=t[1]:H[c]=!0}return H}; +Jjy=function(N){for(var H="",c=0;c=c.U&&H<=c.S)return!0;return!1}; +tGs=function(N,H,c,t,h,O,F){c=czw(N,H,c,t);if(c instanceof S)return c;F=F({slotId:c.slotId,slotType:c.slotType,slotPhysicalPosition:c.slotPhysicalPosition,slotEntryTrigger:c.slotEntryTrigger,slotFulfillmentTriggers:c.slotFulfillmentTriggers,slotExpirationTriggers:c.slotExpirationTriggers,Hp:c.Hp});if(F instanceof S)return F;t=[new uS(Jh(H)),new pZ(F.layout),new nZ({w2:N.w2(H)})];O&&t.push(new Pn({}));return{uC:{slotId:c.slotId,slotType:c.slotType,slotPhysicalPosition:c.slotPhysicalPosition,slotEntryTrigger:DB(N, +H,c.slotId,c.slotEntryTrigger),slotFulfillmentTriggers:Qq(N,H,c.slotId,c.slotFulfillmentTriggers),slotExpirationTriggers:c.slotExpirationTriggers,Hp:c.Hp,clientMetadata:new xd(t),adSlotLoggingData:h},VL:F.VL}}; +Xo3=function(N){return N.v3()&&!N.fk}; +V8D=function(N){var H={},c=[],t=[];if(!N.data)return H;for(var h=0;h=N.data.length)return N.error=!0,0;N.register|=N.data[N.B++]<>=H;N.T-=H;return c}; +zm=function(N){return N.T0==="MAC3"||N.T0==="MEAC3"||N.T0==="M"||N.T0==="I"}; +g.Yv=function(N,H,c){for(;dJ(N,H);){var t=WB(N,H);if(t.type===c)return t;H=z9(t.type)?H+8:H+t.size}return null}; +R6=function(N,H,c,t,h){xW(N);var O=N.hF;vW(O,O[A8]|0,H,(t==="0"?Number(c)===0:c===t)?void 0:c,h);return N}; +wy=function(){this.wO=!0}; +gfL=function(N,H,c,t,h,O){var F=lS(N.B.get(),"SLOT_TYPE_FORECASTING");H=KZ(N,H,c,t);if(H instanceof S)return H;t=[new gX(N.T,F)];N=[new rX(N.T,F),new mZ(N.T,c)];return{slotId:F,slotType:"SLOT_TYPE_FORECASTING",slotPhysicalPosition:1,slotEntryTrigger:H,slotFulfillmentTriggers:t,slotExpirationTriggers:N,Hp:"core",clientMetadata:new xd([new pZ(O({slotId:F,slotType:"SLOT_TYPE_FORECASTING",slotPhysicalPosition:1,Hp:"core",slotEntryTrigger:H,slotFulfillmentTriggers:t,slotExpirationTriggers:N}))]),adSlotLoggingData:h}}; +g.aC=function(N){N=N===void 0?{}:N;g.d9.call(this);var H=this;this.T=this.U=0;this.B=PxD();var c=g.NA("yt.networkStatusManager.instance.listen").bind(this.B);c&&(N.rateLimit?(this.rateLimit=N.rateLimit,c("networkstatus-online",function(){ttv(H,"publicytnetworkstatus-online")}),c("networkstatus-offline",function(){ttv(H,"publicytnetworkstatus-offline")})):(c("networkstatus-online",function(){H.dispatchEvent("publicytnetworkstatus-online")}),c("networkstatus-offline",function(){H.dispatchEvent("publicytnetworkstatus-offline")})))}; +ZPR=function(N,H,c,t,h){t=t===void 0?Infinity:t;h=h===void 0?0:h;var O=N.x_();c=c||O.getPlayerType();(O=Zs(N,c,H,!0))||(O=Lf(N,c,H,!0));H=N.o4();c===2&&H&&(c=O.getVideoData(),H.WM(c.clientPlaybackNonce,c.n4||"",c.breakType||0,c.XQ,c.videoId||""));N.mp(O,t,0,h)}; +YKR=function(N,H){H=H===void 0?!1:H;if(N.loader){N.videoData.enableServerStitchedDai&&Lxf(N.loader);var c=N.getCurrentTime()-N.HO();N.loader.seek(c,{hk:H}).lw(function(){})}else QD(N)}; +AcL=function(N,H){g.e.call(this,{W:"button",fq:["ytp-button","ytp-cards-button"],V:{"aria-label":"Show cards","aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(g.PX(N.D()))},X:[{W:"span",K:"ytp-cards-button-icon-default",X:[{W:"div",K:"ytp-cards-button-icon",X:[N.D().N("player_new_info_card_format")?R5R():{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M17,16 L19,16 L19,24 L17,24 L17,16 Z M17,12 L19,12 L19,14 L17,14 L17,12 Z"}}]}]}, +{W:"div",K:"ytp-cards-button-title",Wp:"Info"}]},{W:"span",K:"ytp-cards-button-icon-shopping",X:[{W:"div",K:"ytp-cards-button-icon",X:[{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",K:"ytp-svg-shadow",V:{d:"M 27.99,18 A 9.99,9.99 0 1 1 8.00,18 9.99,9.99 0 1 1 27.99,18 z"}},{W:"path",K:"ytp-svg-fill",V:{d:"M 18,8 C 12.47,8 8,12.47 8,18 8,23.52 12.47,28 18,28 23.52,28 28,23.52 28,18 28,12.47 23.52,8 18,8 z m -4.68,4 4.53,0 c .35,0 .70,.14 .93,.37 l 5.84,5.84 c .23,.23 .37,.58 .37,.93 0,.35 -0.13,.67 -0.37,.90 L 20.06,24.62 C 19.82,24.86 19.51,25 19.15,25 c -0.35,0 -0.70,-0.14 -0.93,-0.37 L 12.37,18.78 C 12.13,18.54 12,18.20 12,17.84 L 12,13.31 C 12,12.59 12.59,12 13.31,12 z m .96,1.31 c -0.53,0 -0.96,.42 -0.96,.96 0,.53 .42,.96 .96,.96 .53,0 .96,-0.42 .96,-0.96 0,-0.53 -0.42,-0.96 -0.96,-0.96 z", +"fill-opacity":"1"}},{W:"path",K:"ytp-svg-shadow-fill",V:{d:"M 24.61,18.22 18.76,12.37 C 18.53,12.14 18.20,12 17.85,12 H 13.30 C 12.58,12 12,12.58 12,13.30 V 17.85 c 0,.35 .14,.68 .38,.92 l 5.84,5.85 c .23,.23 .55,.37 .91,.37 .35,0 .68,-0.14 .91,-0.38 L 24.61,20.06 C 24.85,19.83 25,19.50 25,19.15 25,18.79 24.85,18.46 24.61,18.22 z M 14.27,15.25 c -0.53,0 -0.97,-0.43 -0.97,-0.97 0,-0.53 .43,-0.97 .97,-0.97 .53,0 .97,.43 .97,.97 0,.53 -0.43,.97 -0.97,.97 z",fill:"#000","fill-opacity":"0.15"}}]}]},{W:"div", +K:"ytp-cards-button-title",Wp:"Shopping"}]}]});this.J=N;this.B=H;this.T=null;this.fade=new g.BX(this,250,!0,100);g.l(this,this.fade);g.QH(this.B,"ytp-show-cards-title",g.PX(N.D()));this.hide();this.listen("click",this.onClicked);this.listen("mouseover",this.onHover);this.OZ(!0)}; +K9t=function(N,H){switch(N){case "TRIGGER_CATEGORY_LAYOUT_EXIT_NORMAL":return 0;case "TRIGGER_CATEGORY_LAYOUT_EXIT_USER_SKIPPED":return 1;case "TRIGGER_CATEGORY_LAYOUT_EXIT_USER_MUTED":return 2;case "TRIGGER_CATEGORY_SLOT_EXPIRATION":return 3;case "TRIGGER_CATEGORY_SLOT_FULFILLMENT":return 4;case "TRIGGER_CATEGORY_SLOT_ENTRY":return 5;case "TRIGGER_CATEGORY_LAYOUT_EXIT_USER_INPUT_SUBMITTED":return 6;case "TRIGGER_CATEGORY_LAYOUT_EXIT_USER_CANCELLED":return 7;default:return H(N),8}}; +jRL=function(N,H){if(H.authorizedFormats)for(var c=0;cH||t>=0&&h.IR>t+1)break;c=Math.max(c,h.startTimeMs+h.durationMs);t=Math.max(t,h.hY)}return Math.max(0,c-H)}; +mI3=function(N){var H={ns:N.n4,el:N.eventLabel,cpn:N.clientPlaybackNonce,ver:2,cmt:N.B(N.T),fmt:N.xD,fs:N.Dt?"1":"0",rt:N.B(N.bX),adformat:N.adFormat,content_v:N.contentVideoId,euri:N.LG,lact:N.qc,live:N.L2,cl:(823563380).toString(),mos:N.TE,state:N.playerState,volume:N.kD};N.subscribed&&(H.subscribed="1");Object.assign(H,N.AN);N.Z==="all"?Object.assign(H,N.C4):N.Z==="once"&&N.L&&Object.assign(H,N.C4);N.autoplay&&(H.autoplay="1");N.mz&&(H.sautoplay="1");N.kG&&(H.dni="1");!N.S&&N.Kq&&(H.epm=vay[N.Kq]); +N.isFinal&&(H["final"]="1");N.Xg&&(H.splay="1");N.fE&&(H.delay=N.fE);N.zW&&(H.hl=N.zW);N.region&&(H.cr=N.region);N.userGenderAge&&(H.uga=N.userGenderAge);N.userAge!==void 0&&N.UF&&(H.uga=N.UF+N.userAge);N.gE!==void 0&&(H.len=N.B(N.gE));!N.S&&N.experimentIds.length>0&&(H.fexp=N.experimentIds.toString());N.C!==null&&(H.rtn=N.B(N.C));N.Ge&&(H.feature=N.Ge);N.oR&&(H.ctrl=N.oR);N.x8&&(H.ytr=N.x8);N.WO&&(H.afmt=N.WO);N.offlineDownloadUserChoice&&(H.ODUC=N.offlineDownloadUserChoice);N.Bp&&(H.lio=N.B(N.Bp)); +N.S?(H.idpj=N.wJ,H.ldpj=N.Oc,N.delayThresholdMet&&(H.dtm="1"),N.TW!=null&&(H.rti=N.B(N.TW)),N.AG&&(H.ald=N.AG),N.compositeLiveIngestionOffsetToken&&(H.clio=N.compositeLiveIngestionOffsetToken)):N.adType!==void 0&&(H.at=N.adType);N.S_&&(N.L||N.S)&&(H.size=N.S_);N.L&&N.Y.length&&(H.pbstyle=N.Y.join(","));N.T3!=null&&(N.L||N.S)&&(H.inview=N.B(N.T3));N.S&&(H.volume=vt(N,g.jm(N.segments,function(t){return t.volume})),H.st=vt(N,g.jm(N.segments,function(t){return t.startTime})),H.et=vt(N,g.jm(N.segments, +function(t){return t.endTime})),hA(N.segments,function(t){return t.playbackRate!==1})&&(H.rate=vt(N,g.jm(N.segments,function(t){return t.playbackRate}))),hA(N.segments,function(t){return t.T!=="-"})&&(H.als=g.jm(N.segments,function(t){return t.T}).join(",")),hA(N.segments,function(t){return t.previouslyEnded})&&(H.pe=g.jm(N.segments,function(t){return""+ +t.previouslyEnded}).join(","))); +H.muted=vt(N,g.jm(N.segments,function(t){return t.muted?1:0})); +hA(N.segments,function(t){return t.visibilityState!==0})&&(H.vis=vt(N,g.jm(N.segments,function(t){return t.visibilityState}))); +hA(N.segments,function(t){return t.connectionType!==0})&&(H.conn=vt(N,g.jm(N.segments,function(t){return t.connectionType}))); +hA(N.segments,function(t){return t.B!==0})&&(H.blo=vt(N,g.jm(N.segments,function(t){return t.B}))); +hA(N.segments,function(t){return!!t.U})&&(H.blo=g.jm(N.segments,function(t){return t.U}).join(",")); +hA(N.segments,function(t){return!!t.compositeLiveStatusToken})&&(H.cbs=g.jm(N.segments,function(t){return t.compositeLiveStatusToken}).join(",")); +hA(N.segments,function(t){return!!t.heartbeatLoggingToken})&&(H.hb_data=g.jm(N.segments,function(t){return t.heartbeatLoggingToken}).join(",")); +hA(N.segments,function(t){return t.L!=="-"})&&(H.cc=g.jm(N.segments,function(t){return t.L}).join(",")); +hA(N.segments,function(t){return t.clipId!=="-"})&&(H.clipid=g.jm(N.segments,function(t){return t.clipId}).join(",")); +if(hA(N.segments,function(t){return!!t.audioId})){var c="au"; +N.L&&(c="au_d");H[c]=g.jm(N.segments,function(t){return t.audioId}).join(",")}X8()&&N.Us&&(H.ctt=N.Us,H.cttype=N.mG,H.mdx_environment=N.mdxEnvironment); +N.gk&&(H.etype=N.ox!==void 0?N.ox:0);N.Al&&(H.uoo=N.Al);N.livingRoomAppMode&&N.livingRoomAppMode!=="LIVING_ROOM_APP_MODE_UNSPECIFIED"&&(H.clram=sxt[N.livingRoomAppMode]||N.livingRoomAppMode);N.U?E1R(N,H):(H.docid=N.videoId,H.referrer=N.referrer,H.ei=N.eventId,H.of=N.fh,H.osid=N.osid,H.vm=N.videoMetadata,N.adQueryId&&(H.aqi=N.adQueryId),N.autonav&&(H.autonav="1"),N.playlistId&&(H.list=N.playlistId),N.EZ&&(H.ssrt="1"),N.GR&&(H.upt=N.GR));N.L&&(N.embedsRct&&(H.rct=N.embedsRct),N.embedsRctn&&(H.rctn= +N.embedsRctn),N.compositeLiveIngestionOffsetToken&&(H.clio=N.compositeLiveIngestionOffsetToken));N.vp&&(H.host_cpn=N.vp);return H}; +Cn=function(N,H){if(!dy(H.get(),"html5_ssap_pass_transition_reason"))return 3;switch(N){case "skipped":case "muted":case "user_input_submitted":return 3;case "normal":return 2;case "error":return KA("Unexpected error from cPACF during rendering"),6;case "abandoned":return 5;case "user_cancelled":case "unknown":return KA("Unexpected layout exit reason",void 0,void 0,{layoutExitReason:N}),3;default:Iv(N,"unknown layoutExitReason")}}; +Gp3=function(N){return N.end==null?{start:String(N.start)}:{start:String(N.start),end:String(N.end)}}; +g.Bwl=function(N){if(N instanceof QN||N instanceof C_||N instanceof oK)return N;if(typeof N.next=="function")return new QN(function(){return N}); +if(typeof N[Symbol.iterator]=="function")return new QN(function(){return N[Symbol.iterator]()}); +if(typeof N.Zz=="function")return new QN(function(){return N.Zz()}); +throw Error("Not an iterator or iterable.");}; +jcS=function(N,H){var c,t;return(c=rq(N,"macroMarkersListEntity",H))==null?void 0:(t=c.markersList)==null?void 0:t.markerType}; +X9=function(N,H){var c;return((c=N.T.get(H))==null?void 0:QWZ(c.buffer))||0}; +M8v=function(N,H){for(var c=new Map,t=g.K(N.T.keys()),h=t.next();!h.done;h=t.next()){h=h.value;var O=h.split("_")[0];H.has(O)||c.set(h,N.T.get(h))}N.T=c}; +ycy=function(N,H){N.attestationResponse&&rdt(N).then(function(c){c=c||{};c.method="POST";c.postParams={atr:N.attestationResponse};N.Ix?N.Cq?NZ().sendAndWrite(H,c):NZ().sendThenWrite(H,c):g.Rj(H,c)})}; +Tud=function(N,H,c){var t=N.T.get(H);t?(t.push(c),g.Ua(t,function(h,O){return h.gs-O.gs})):N.T.set(H,[c])}; +Oef=function(N){for(var H=[],c=0;c65535&&(N=1);qz("BATCH_CLIENT_COUNTER",N);return N}; +aV=function(N,H,c){if(typeof N==="string")return{videoId:N,startSeconds:H,suggestedQuality:c};H={};c=g.K(GZw);for(var t=c.next();!t.done;t=c.next())t=t.value,N[t]&&(H[t]=N[t]);if(N=N.embedConfig||N.embed_config)if(typeof N==="string")H.embed_config=N;else if(g.ie(N))try{var h=JSON.stringify(N);H.embed_config=h}catch(O){console.error("Invalid embedConfig JSON",O)}return H}; +R1L=function(N){if(!N.stack)return!0;var H=!N.stack.includes("\n");return H&&N.stack.includes("ErrorType: ")||H&&N.stack.includes("Anonymous function (Unknown script")||N.stack.toLowerCase()==="not available"||N.fileName==="user-script"||N.fileName.startsWith("user-script:")?!0:!1}; +oas=function(N,H){N.isContentForward=H;g.QH(N.badge.element,"ytp-suggested-action-badge-content-forward",H)}; +Kns=function(N,H){var c=H.T.getValue();c=new g.kT(function(){gHs(N,H)},c); +g.l(N,c);c.start();g.Jz(H.T);WH(N,{rtyrq:1})}; +OWs=function(N,H){if(N.policy.YRs){var c=H.info.OF,t=bR(N.schedule);H=H.index.g$();c=Math.max(1,t/c);N.Z=Math.round(Math.max(((c-1)*H+N.policy.xD)/c,H-N.policy.W0)*1E3)}}; +WUL=function(N,H){if(N.policy.Xg&&N.Zf){var c,t,h=H?(c=N.Zf)==null?void 0:c.T:(t=N.Zf)==null?void 0:t.B;c=H?N.audioTrack:N.videoTrack;H=L3(c);if(H==null?0:H.isLocked){N.wE.D().vO()&&N.Lq("eosl",{unlock:H.info.uX()});var O;(O=c.Ix)==null||O.stop();H.isLocked=!1;c.pg(H);yhS(N.T,H.info);h=h==null?void 0:h.HB();(h==null?void 0:h.uX())!==H.info.uX()&&N.Lq("oue",{bls:h==null?void 0:h.uX(),tls:H.info.uX()})}}}; +qj=function(N){for(var H=N.length;--H>=0;)N[H]=0}; +qWh=function(N,H){var c=g.YI("XSRF_FIELD_NAME"),t=g.YI("XSRF_TOKEN"),h=H.postBody||"",O=H.postParams,F=g.YI("XSRF_FIELD_NAME"),M;H.headers&&(M=H.headers["Content-Type"]);H.excludeXsrf||g.dD(N)&&!H.withCredentials&&g.dD(N)!==document.location.hostname||H.method!=="POST"||M&&M!=="application/x-www-form-urlencoded"||H.postParams&&H.postParams[F]||(O||(O={}),O[c]=t);(g.sf("ajax_parse_query_data_only_when_filled")&&O&&Object.keys(O).length>0||O)&&typeof h==="string"&&(h=OC(h),g.NY(h,O),h=H.postBodyFormat&& +H.postBodyFormat==="JSON"?JSON.stringify(h):g.Hf(h));O=h||O&&!g.NF(O);!kZR&&O&&H.method!=="POST"&&(kZR=!0,g.PQ(Error("AJAX request with postData should use POST")));return h}; +I5y=function(N,H){var c=N.player.D(),t,h=(t=N.player.getVideoData(1))==null?void 0:t.oauthToken;return g.py(c,h).then(function(O){if(O&&X8()){var F=np();wx(F,O)}return g.Ir(N.player.h9(F),H,"/youtubei/v1/player/ad_break").then(function(M){return M})})}; +bPD=function(N,H,c){var t=N.EG?Math.max(H,c/N.EG):H,h=N.YG.B.L;h&&(t=H,N.EG&&(t=Math.max(H,c/N.EG*h)));wR(N.YG,H,c,t)}; +Vb=function(N){var H=null;try{H=N.toLocaleString("en",{style:"percent"})}catch(c){H=N.toLocaleString(void 0,{style:"percent"})}return H}; +g.Eq=function(N,H){H===void 0&&(H=0);G2d();H=yFL[H];for(var c=Array(Math.floor(N.length/3)),t=H[64]||"",h=0,O=0;h>2];F=H[(F&3)<<4|M>>4];M=H[(M&15)<<2|f>>6];f=H[f&63];c[O++]=""+d+F+M+f}d=0;f=t;switch(N.length-h){case 2:d=N[h+1],f=H[(d&15)<<2]||t;case 1:N=N[h],c[O]=""+H[N>>2]+H[(N&3)<<4|d>>4]+f+t}return c.join("")}; +Lm=function(N,H,c,t,h,O,F,M){H?H.test(c)?(N.rr(h,H,F),H.Y||O()):(!H.B||H.U?c=!1:(c=(0,g.Lh)(),t?H.T||(H.T=c):H.T=0,O=!t&&c-H.B>3E4,c=H.T&&c-H.T>1E3||O?H.U=!0:!1),c&&(M=Object.assign({},N.Q4(H),M),M.wn=F,M.we=h,M.wsuc=t,N.wE.Lq("workaroundReport",M),t&&(H.reset(),N.L[h]=!1))):N.wE.TU("auth",2,"BROWSER_OR_EXTENSION_ERROR",Gu({source:"watchdog",name:F}))}; +NEt=function(N){return g.PX(N.J.D())?N.Y3:N.oU}; +g.ba=function(N,H){var c=Math.abs(Math.floor(N)),t=Math.floor(c/86400),h=Math.floor(c%86400/3600),O=Math.floor(c%3600/60);c=Math.floor(c%60);if(H){H="";t>0&&(H+=" "+t+" Days");if(t>0||h>0)H+=" "+h+" Hours";H+=" "+O+" Minutes";H+=" "+c+" Seconds";t=H.trim()}else{H="";t>0&&(H+=t+":",h<10&&(H+="0"));if(t>0||h>0)H+=h+":",O<10&&(H+="0");H+=O+":";c<10&&(H+="0");t=H+c}return N>=0?t:"-"+t}; +sEL=function(N){if(!N)return HLv||(HLv=new L1(0,0));if(!/^-?\d+$/.test(N))return null;on(N);return new L1(k9,In)}; +S1Z=function(N,H,c,t,h,O,F){H=c-H;h?(h instanceof g.Uz&&(h.type==="QUOTA_EXCEEDED"||h.type==="QUOTA_MAYBE_EXCEEDED")&&xC("QUOTA_EXCEEDED",{dbName:EH(N.T.name),objectStoreNames:O,transactionCount:N.transactionCount,transactionMode:F.mode}),h instanceof g.Uz&&h.type==="UNKNOWN_ABORT"&&(c-=N.L,c<0&&c>=2147483648&&(c=0),xC("TRANSACTION_UNEXPECTEDLY_ABORTED",{objectStoreNames:O,transactionDuration:H,transactionCount:N.transactionCount,dbDuration:c}),N.B=!0),GW3(N,!1,t,O,H,F.tag),Qi(h)):GW3(N,!0,t,O,H, +F.tag)}; +iLw=function(N,H,c){H&&(N.h1=H);c&&(N.eT=c)}; +$UZ=function(N,H,c,t){return new J9(N.type,N.mR,N.range,"reslice"+N.Y,N.Y_,N.startTime,N.duration,H,c,t,N.hd,N.clipId)}; +Mg=function(N,H){var c=Error.call(this);this.message=c.message;"stack"in c&&(this.stack=c.stack);this.index=N;this.objectStore=H;Object.setPrototypeOf(this,Mg.prototype)}; +bEd=function(N,H,c){N.B=H;N.startTime=(0,g.Lh)();N.duration=c;N.T()}; +Q3=function(N,H){N=N.app.x_();return!!N&&N.getVideoData().vr===H.vr}; +hh=function(N,H,c){this.B=N;this.L=H;this.T=c}; +ZG=function(N,H,c,t,h){return H>=400?(N.lastError="net.badstatus",!0):(h===void 0?0:h)?(N.lastError="ump.spsrejectfailure",!0):c||t!==void 0&&t?!1:(N.lastError=H===204?"net.nocontent":"net.connect",!0)}; +Km=function(N){if(!N.N("use_rta_for_player"))if(N.N("fetch_att_independently"))g.lY(N.Qz);else{var H=N.getVideoData().botguardData;H&&g.Kl(H,N.j,N.getVideoData().iJ||"")}}; +clR=function(N){var H,c,t,h,O=(H=N.T)==null?void 0:(c=H.bannerData)==null?void 0:(t=c.itemData)==null?void 0:(h=t.hiddenProductOptions)==null?void 0:h.dropTimestampMs;H=(Number(O)-Date.now())/1E3;N.countdownTimer.setContent(WG({seconds:H}));if(H>0){var F;(F=N.Dt)==null||F.start()}}; +h_=function(N,H,c,t){if(c)return C6();c={};var h=EY();H=g.K(H);for(var O=H.next();!O.done;O=H.next())if(O=O.value,N.canPlayType(h,O.getInfo().mimeType)||t){var F=O.T.video.quality;if(!c[F]||c[F].getInfo().RW())c[F]=O}N=[];c.auto&&N.push(c.auto);t=g.K(pK);for(h=t.next();!h.done;h=t.next())(h=c[h.value])&&N.push(h);return N.length?H2(N):C6()}; +Zp=function(){}; +cg=function(N,H){N.T.set(H.VI,H);var c=N.L.get(H.VI);if(c)try{c.yI(N.resolve(H.VI))}catch(t){c.L9(t)}}; +F_h=function(N,H,c){var t;if(t=N.policy.Li&&N.Zf&&!N.Zf.Z&&!N.wE.lM())H=H.info.mR.info,t=H.RW()&&LB(H)&&H.video&&H.video.width<3840&&H.video.width>H.video.height;if(t&&(N.Zf.Z=!0,Er('video/webm; codecs="vp09.00.50.08.01.01.01.01.00"; width=3840; height=2160')))return c=Djy(c),N.policy.L&&N.Lq("sp4k",{s:!!c}),c}; +Vx=function(N){this.Rx=N}; +OJ=function(N,H){N.L={Ee:H,SZ:!0};N.T=N.Y||N.S}; +K7f=function(N){N.videoData.gE.clear();if(N.videoData.sabrContextUpdates.size>0)for(var H=g.K(N.videoData.sabrContextUpdates.keys()),c=H.next();!c.done;c=H.next()){c=c.value;var t=void 0;((t=N.videoData.sabrContextUpdates.get(c))==null?0:t.sendByDefault)&&N.videoData.gE.add(c)}if(N.policy.Bp&&N.T.length)for(H=g.K(N.T),c=H.next();!c.done;c=H.next())(c=c.value.GN())&&c.type&&c.sendByDefault&&N.videoData.gE.add(c.type)}; +g.t9e=function(N,H,c){ln||ah.remove(""+N,H===void 0?"/":H,c===void 0?"youtube.com":c)}; +hpD=function(N,H,c){g.BZ(c);N.L&&(c instanceof DOMException&&(H+=";n."+c.name+";m."+c.message),N.L(H))}; +kQv=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);this.events.G(N,"standardControlsInitialized",function(){var c=new OLs(N);g.l(H,c);N.Xa(c,"RIGHT_CONTROLS_LEFT")})}; +FVh=function(N){if(N.i$()&&!N.api.isEmbedsShortsMode()&&N.J9){var H=N.api.N("web_player_hide_overflow_button_if_empty_menu");!N.Tv||H&&!mpR(N.Tv)||m7l(N.J9,N.Tv);!N.shareButton||H&&!qkt(N.shareButton)||m7l(N.J9,N.shareButton);!N.copyLinkButton||H&&!Gkf(N.copyLinkButton)||m7l(N.J9,N.copyLinkButton)}else{H=N.api.D().getWebPlayerContextConfig();if(N.J9){for(var c=N.J9,t=g.K(c.actionButtons),h=t.next();!h.done;h=t.next())h.value.detach();c.actionButtons=[]}N.searchButton&&!g.m5(N.K2.element,N.searchButton.element)&& +N.searchButton.Jl(N.K2.element);!N.Tv||(H==null?0:H.hideTopWatchNextButton)||g.m5(N.K2.element,N.Tv.element)||N.Tv.Jl(N.K2.element);!N.shareButton||(H==null?0:H.hideTopShareButton)||g.m5(N.K2.element,N.shareButton.element)||N.shareButton.Jl(N.K2.element);N.copyLinkButton&&!g.m5(N.K2.element,N.copyLinkButton.element)&&N.copyLinkButton.Jl(N.K2.element)}}; +g.xm=function(N,H){g.xo.call(this);var c=this;this.Es=N;this.adaptiveFormats="";this.Lx=this.adQueryId=this.Nj=null;this.xa={start:NaN,end:NaN};this.cueRanges=this.YH=null;this.HQ=new Map;this.drmProduct=this.drmParams="";this.eventLabel=null;this.allowEmbed=!0;this.allowLiveDvr=this.offlineable=this.backgroundable=!1;this.qy="";this.oK=!1;this.Pt=null;this.YB=this.IM=this.v5=!1;this.U=null;this.sL=this.dC=!1;this.XQ=NaN;this.applyStatefulNormalization=this.preserveStatefulLoudnessTarget=!1;this.maxStatefulTimeThresholdSec= +0;this.rl=NaN;this.loudnessTargetLkfs=Infinity;this.minimumLoudnessTargetLkfs=-Infinity;this.YA=0;this.Bn=!1;this.cycToken=null;this.author="";this.XA=!1;this.kG=0;this.KC=!1;this.hQ=null;this.f7=[];this.Fo=this.ym=!1;this.clientScreenNonce=this.playerResponseCpn=this.clientPlaybackNonce=this.videoCountText=this.Kq=this.C4="";this.contentCheckOk=!1;this.limitedPlaybackDurationInSeconds=this.endSeconds=this.fE=0;this.Qq=this.Ql=this.B=null;this.yU="";this.loading=!1;this.H0=this.Ol=0;this.zT=this.pipable= +this.c_=this.isAutonav=!1;this.paidContentOverlayDurationMs=0;this.mutedAutoplay=this.LC=!1;this.mutedAutoplayDurationMode=0;this.isLiveHeadPlayable=this.isLivePlayback=this.fb=this.isPrivate=this.isListed=this.T3=!1;this.MN="";this.isLowLatencyLiveStream=this.isLivingRoomDeeplink=this.isLiveDefaultBroadcast=this.oG=this.j$=this.K6=!1;this.latencyClass="UNKNOWN";this.Qo=this.UJ=this.CD=this.bI=this.F5=this.Oo=this.RP=this.OOq=this.cY=this.enableServerStitchedDai=this.Re=this.isMdxPlayback=this.isUpcoming= +this.isPremiere=!1;this.mdxControlMode=null;this.isPharma=this.showSeekingControls=!1;this.zW=0;this.reloadReason="";this.ip=this.mz=!1;this.keywords={};this.Al="";this.jS=0;this.c$=!1;this.unpluggedFilterModeType=0;this.liveChunkReadahead=NaN;this.zn=null;this.l7=this.lengthSeconds=0;this.playerParams=this.musicVideoType=null;this.s2=this.paygated=!1;this.R9=[];this.kD=!1;this.AJ=[];this.fO=null;this.Hw=this.racyCheckOk=!1;this.i5={};this.isProximaLatencyEligible=!1;this.nu=0;this.L=null;this.autonavState= +1;this.Bg=null;this.shortDescription="";this.Z=this.qC=!1;this.PM=this.vp=this.startSeconds=0;this.a9=this.H9=this.y5=wv;this.u1=this.suggestions=null;this.M0=this.wH=void 0;this.isExternallyHostedPodcast=!1;this.L2=null;this.vM=this.expandedSubtitle=this.expandedTitle=this.subtitle=this.title="";this.Cq=[];this.bX=[];this.hlsFormats=this.Jg="";this.b1=this.qj=this.Jj=this.UF=this.Ix=this.QB=this.LG=null;this.eY="vvt";this.Oc=!1;this.xj=null;this.QH="";this.l5=NaN;this.Rt=this.nQ=this.Ww=this.FT= +this.xC=this.Aq=this.hG=this.sK=this.OE=this.Q7="";this.MO=null;this.b5=!1;this.clipStart=0;this.clipEnd=Infinity;this.Du=!1;this.heartbeatToken="";this.dQ=this.r8=NaN;this.Uu=this.BR=this.qc=this.B7=this.Hs=!1;this.uj=!0;this.xP={};this.captionTracks=[];this.Za=[];this.Jp=0;this.zP=[];this.vI=[];this.VP=!1;this.vQ={};this.G7=new g.Pi("und",new g.DF("Default","und",!0));this.SL=0;this.S=null;this.KO=[];this.w4=!1;this.qU=this.n4="";this.slotPosition=-1;this.breakType=0;this.embeddedPlayerConfig=this.reelItemWatchResponse= +this.ox=this.kB=this.EB=this.playerResponse=this.xJ=this.jY=this.iR=this.t9=null;this.Qm=!1;this.mG=null;this.isInlinePlaybackNoAd=this.oI=this.xt=this.useCobaltWidevine=this.tM=this.h0=!1;this.hO=!0;this.QC=this.Gm=NaN;this.defraggedFromSubfragments=this.vC=this.hasSubfragmentedFmp4=!1;this.liveExperimentalContentId=NaN;this.gE=new Set;this.sabrContextUpdates=new Map;this.gatewayExperimentGroup="";this.qJ=this.NT=this.cF=!1;this.interstitials=[];this.Uc=this.FK=!1;this.CE="";this.allowImaMonetization= +!1;this.IN="";this.Vm=!1;this.vu="";this.Jh=[];this.fn=[];this.vr="";this.p7=this.C=this.OT=!1;this.UE="";this.l4=this.kI=this.FB=this.readAheadGrowthRateMs=this.minReadAheadMediaTimeMs=this.maxReadAheadMediaTimeMs=NaN;this.showShareButton=!0;this.Mz=!1;this.Bd=this.S_=!0;this.errorDetail=this.userGenderAge="";this.J6=this.N8=this.getSharePanelCommand=this.removeFromWatchLaterCommand=this.addToWatchLaterCommand=this.unsubscribeCommand=this.subscribeCommand=this.contextParams=this.iW=this.errorReason= +this.errorCode=null;this.Ze=!1;this.qz=[];this.Cp=this.ZG=this.MJ=this.Em=this.rk=0;this.fetchType=null;this.Bw=!0;this.transitionEndpointAtEndOfStream=void 0;this.Qa=this.j6=-1;this.il=this.WO=!1;this.w_=null;this.TW="";this.watchUrl=null;this.XS=[];this.visibleOnLoadKeys=[];this.ZZ=[];this.inlineMetricEnabled=this.TE=!1;this.i7=this.embedsRctn=this.embedsRct="";this.au=NaN;this.authorizedFormats=[];this.j2=(0,g.Lh)();this.aj=this.Bv=0;this.M_=null;this.cFp=this.DZ=this.Si=this.Dh=!1;this.W4={}; +this.GD=.25;this.gz=2;this.F0=this.qA=!1;this.Xg=this.Es.experiments.M4("html5_use_triple_equals");this.X0=g.Mx(this.Es.experiments,"html5_gapless_loop_seek_offset_in_milli");this.Br={setData:function(t){c.setData(t)}, +Z5:function(){c.Z5()}, +TR:function(t){c.TR(t)}}; +this.WO=this.N("web_new_autonav_countdown");this.il=this.N("web_new_big_thumbnail_endscreen");this.Es.b1&&(this.Bp=this.Es.b1);this.setData(H);this.De=new Z9;g.l(this,this.De)}; +g.vI=function(N,H){N=AO(N);return N===void 0&&H!==void 0?H:Number(N||0)}; +sT3=function(N,H,c){N.T[H]=c}; +jPl=function(N){if(g.YY(g.vM(N)))return!1;if(N.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&")>=0)return!0;try{var H=new g.O3(N)}catch(c){return g.Nn($Pt,function(t){return N.search(t)>0})!=null}return H.Y.match(TEy)?!0:g.Nn($Pt,function(c){return N.match(c)!=null})!=null}; +ff=function(N){return g.x$(N.J.g_())!=null?g.x$(N.J.g_()).n9()?!!N.J.getOption("captions","tracklist",{includeAsr:!0}).length:!0:!1}; +g.pO=function(N){if(N.data.getUint8(N.dataOffset)){var H=N.data;N=N.dataOffset+4;H=H.getUint32(N)*4294967296+H.getUint32(N+4)}else H=N.data.getUint32(N.dataOffset+4);return H}; +Vp=function(N){g.lY(N.S_)}; +g.YY=function(N){return/^[\s\xa0]*$/.test(N)}; +N_e=function(N,H){if(DJ){var c=0;N=N.Hr.get(H);if(N==null||!N.Hv)return 0;N=g.K(N.Hv.values());for(H=N.next();!H.done;H=N.next())c+=H.value.data.totalLength;return c}return((c=N.Hr.get(H))==null?void 0:c.XH.totalLength)||0}; +M93=function(N,H){for(var c=0,t=g.K(N),h=t.next();!h.done;h=t.next()){h=h.value;if(H=h.timeRangeStartMillis&&H1)return jJ(N,N.T-1);if(N.policy.Z)return jJ(N,N.T+1)}return N.T}; +TT=function(N){return N.Es.U&&N.isPrivate}; +tM=function(N,H){N.L||N.Bp||PN(N,N.aW);var c=H.cB,t=H.IC;if(t.cpn===N.aW)N.EF({igtranssame:1,enter:t.cpn,exit:c.cpn});else{var h=N.Bp,O=!!N.L;N.L="";var F=H.rZ,M=c.playerType===2?c.gs/1E3+c.videoData.kG:N.hI().videoData.kG;N.api.N("html5_ssdai_enable_media_end_cue_range")&&(O||h||c.playerType!==2?(h||O)&&N.EF({mecr:0,seek:h,skip:O}):N.api.lH(c.cpn));if(c.playerType===2&&t.playerType===2)O?N.EF({igtransskip:1,enter:t.cpn,exit:c.cpn,seek:h,skip:N.L}):W3L(N,c,t,M,F,h,O);else{N.aW=t.cpn;N.jh(t.cpn,t.startTimeSecs|| +F);H=H.LEE;if(c.playerType===1&&t.playerType===2){N.zr=0;dme(N,t);var f=Dx(N,"c2a",t);N.EF(f);N.WJ++}else if(c.playerType===2&&t.playerType===1){N.api.publish("serverstitchedvideochange");f=Dx(N,"a2c");N.EF(f);N.WJ=0;N.zr=M;f=c.cpn;var d=N.zr;if(f!==N.playback.Qd()){var W=N.NT.get(f);W?W.T=d:N.EF({nop_e:f})}N.m1(c.EN)}N.playback.Ku(c,t,M,F,h,O,H)}zpS(N)}}; +mo=function(N){N.B.hide();N.banner.update({vendor:wq(N)})}; +E2h=function(N){var H=N.T;H&&H.Y_===-1&&(N=N.L.on())&&Ql(N.info)&&(N=N.info.Y_,H.Y="updateLastSliceRequested",H.Y_=N)}; +xPy=function(N,H,c,t,h){this.callback=N;this.slot=H;this.layout=c;this.Pp=t;this.ZM=h;N=lQ(this.layout.clientMetadata,"metadata_type_ad_placement_config");this.Fg=new sd(c.S1,this.Pp,N,c.layoutId)}; +g.Ir=function(N,H,c,t,h){function O(){} +h=h===void 0?{jL:{identity:AQ}}:h;var F=F===void 0?!0:F;O=s1t(NMh(c));H.context||(H.context=g.Yi(t,F));return new g.EL(function(M){var f,d,W,z,E;return g.Y(function(x){if(x.T==1)return f=bE(c),d=Q0(f)?"same-origin":"cors",N.T.wO?(W=J3S(N,h,d),x.rE(2)):g.a(x,oiw(N,h,d),3);x.T!=2&&(W=x.B);z=uIe(bE(c));E={input:z,nP:pQ(z),aH:H,config:h};M(kDf(N,E,W,O));g.Z3(x)})})}; +ETR=function(N){if(!Array.isArray(N))for(var H=N.length-1;H>=0;H--)delete N[H];N.length=0}; +g.tH=function(N,H,c){for(var t in N)H.call(c,N[t],t,N)}; +qUw=function(N){if(N.qv()){var H=N.data["Stitched-Video-Id"]?N.data["Stitched-Video-Id"].split(",").slice(0,-1):[],c=gGt(N),t=[];if(N.data["Stitched-Video-Duration-Us"])for(var h=g.K(N.data["Stitched-Video-Duration-Us"].split(",").slice(0,-1)),O=h.next();!O.done;O=h.next())t.push((Number(O.value)||0)/1E6);h=[];if(N.data["Stitched-Video-Start-Frame-Index"]){O=g.K(N.data["Stitched-Video-Start-Frame-Index"].split(",").slice(0,-1));for(var F=O.next();!F.done;F=O.next())h.push(Number(F.value)||0)}h=[]; +if(N.data["Stitched-Video-Start-Time-Within-Ad-Us"])for(O=g.K(N.data["Stitched-Video-Start-Time-Within-Ad-Us"].split(",").slice(0,-1)),F=O.next();!F.done;F=O.next())h.push((Number(F.value)||0)/1E6);N=new SqZ(H,c,t,h,g.CUy(N),g.qBS(N))}else N=null;return N}; +C2d=function(N,H){var c;g.gu(N.D())&&(c={W:"div",K:"ytp-panel-footer-content",X:[{W:"span",Wp:"Adjust download quality from your "},{W:"a",K:"ytp-panel-footer-content-link",Wp:"Settings",V:{href:"/account_downloads"}}]});g.aQ.call(this,"Quality",g.Se.O$,N,H,void 0,void 0,c);this.J=N;this.Us={};this.Y={};this.B={};this.ox=new Set;this.T=this.L=!1;this.U="unknown";this.C="";this.Z=new g.aC;g.l(this,this.Z);this.L=this.J.N("web_player_use_new_api_for_quality_pullback");this.T=this.J.N("web_player_enable_premium_hbr_playback_cap"); +N.N("web_settings_menu_icons")&&(H=N.N("delhi_modern_web_player_icons")?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M9 3C8.11 2.99 7.25 3.29 6.54 3.83C5.84 4.38 5.34 5.14 5.12 6H3C2.73 6 2.48 6.10 2.29 6.29C2.10 6.48 2 6.73 2 7C2 7.26 2.10 7.51 2.29 7.70C2.48 7.89 2.73 8 3 8H5.12C5.34 8.85 5.84 9.61 6.55 10.16C7.25 10.70 8.11 10.99 9 10.99C9.88 10.99 10.74 10.70 11.44 10.16C12.15 9.61 12.65 8.85 12.87 8H21C21.26 8 21.51 7.89 21.70 7.70C21.89 7.51 22 7.26 22 7C22 6.73 21.89 6.48 21.70 6.29C21.51 6.10 21.26 6 21 6H12.87C12.65 5.14 12.15 4.38 11.45 3.83C10.74 3.29 9.88 2.99 9 3ZM9 5C9.53 5 10.03 5.21 10.41 5.58C10.78 5.96 11 6.46 11 7C11 7.53 10.78 8.03 10.41 8.41C10.03 8.78 9.53 9 9 9C8.46 9 7.96 8.78 7.58 8.41C7.21 8.03 7 7.53 7 7C7 6.46 7.21 5.96 7.58 5.58C7.96 5.21 8.46 5 9 5ZM15 13C14.11 12.99 13.25 13.29 12.54 13.83C11.84 14.38 11.34 15.14 11.12 16H3C2.73 16 2.48 16.10 2.29 16.29C2.10 16.48 2 16.73 2 17C2 17.26 2.10 17.51 2.29 17.70C2.48 17.89 2.73 18 3 18H11.12C11.34 18.85 11.84 19.61 12.55 20.16C13.25 20.70 14.11 20.99 15 20.99C15.88 20.99 16.74 20.70 17.44 20.16C18.15 19.61 18.65 18.85 18.87 18H21C21.26 18 21.51 17.89 21.70 17.70C21.89 17.51 22 17.26 22 17C22 16.73 21.89 16.48 21.70 16.29C21.51 16.10 21.26 16 21 16H18.87C18.65 15.14 18.15 14.38 17.45 13.83C16.74 13.29 15.88 12.99 15 13ZM15 15C15.53 15 16.03 15.21 16.41 15.58C16.78 15.96 17 16.46 17 17C17 17.53 16.78 18.03 16.41 18.41C16.03 18.78 15.53 19 15 19C14.46 19 13.96 18.78 13.58 18.41C13.21 18.03 13 17.53 13 17C13 16.46 13.21 15.96 13.58 15.58C13.96 15.21 14.46 15 15 15Z", +fill:"white"}}]}:{W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M15,17h6v1h-6V17z M11,17H3v1h8v2h1v-2v-1v-2h-1V17z M14,8h1V6V5V3h-1v2H3v1h11V8z M18,5v1h3V5H18z M6,14h1v-2v-1V9H6v2H3v1 h3V14z M10,12h11v-1H10V12z",fill:"white"}}]},this.setIcon(H));g.bV(this.yR.element,"ytp-quality-menu");this.G(N,"videodatachange",this.dk);this.G(N,"videoplayerreset",this.dk);this.G(N,"onPlaybackQualityChange",this.iP);this.dk();N.createClientVe(this.element,this,137721)}; +cj=function(N){for(var H=0,c=0;c>>0;return H}; +C1=function(N){var H=N.state,c=H.pending;c>N.Aj&&(c=N.Aj);c!==0&&(xT.ji(N.output,H.Pd,H.hh,c,N.t0),N.t0+=c,H.hh+=c,N.fv+=c,N.Aj-=c,H.pending-=c,H.pending===0&&(H.hh=0))}; +H$e=function(N){var H=[];N=g.K(N.split(","));for(var c=N.next();!c.done;c=N.next()){var t=c.value;t&&((c=t.startsWith("!"))&&(t=t.substring(1)),t=t.split("-"),t.length<3||H.push({DE:t[0],platform:t[1],deviceVersion:t[2],nt:c}))}return H}; +r7e=function(N){var H=H===void 0?{}:H;var c,t;return g.Y(function(h){if(h.T==1)return g.a(h,g.D6(),2);if(h.T!=3){c=h.B;if(!c)return h.return();pe(N);return g.a(h,Eny(N,c),3)}t=h.B;return g.a(h,iBD(t,H,c),0)})}; +yj=function(N,H){for(var c in N)if(H.call(void 0,N[c],c,N))return c}; +lqs=function(N,H){return N.J.N("delhi_modern_web_player_icons")?H?{W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M3.29 3.29C3.11 3.46 3.01 3.70 3.00 3.94C2.98 4.19 3.06 4.43 3.22 4.63L3.29 4.70L7.58 8.99H5C4.73 8.99 4.48 9.10 4.29 9.29C4.10 9.47 4 9.73 4 9.99C4 10.26 4.10 10.51 4.29 10.70C4.48 10.89 4.73 10.99 5 10.99H11V4.99C11 4.73 10.89 4.47 10.70 4.29C10.51 4.10 10.26 3.99 10 3.99C9.73 3.99 9.48 4.10 9.29 4.29C9.10 4.47 9 4.73 9 4.99V7.58L4.70 3.29L4.63 3.22C4.43 3.06 4.19 2.98 3.94 3.00C3.70 3.01 3.46 3.11 3.29 3.29ZM19 13H13V19C13 19.26 13.10 19.51 13.29 19.70C13.48 19.89 13.73 20 14 20C14.26 20 14.51 19.89 14.70 19.70C14.89 19.51 15 19.26 15 19V16.41L19.29 20.70L19.36 20.77C19.56 20.92 19.80 21.00 20.04 20.99C20.29 20.98 20.52 20.87 20.70 20.70C20.87 20.52 20.98 20.29 20.99 20.04C21.00 19.80 20.92 19.56 20.77 19.36L20.70 19.29L16.41 15H19C19.26 15 19.51 14.89 19.70 14.70C19.89 14.51 20 14.26 20 14C20 13.73 19.89 13.48 19.70 13.29C19.51 13.10 19.26 13 19 13Z", +fill:"white"}}]}:{W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M10 3H3V10C3 10.26 3.10 10.51 3.29 10.70C3.48 10.89 3.73 11 4 11C4.26 11 4.51 10.89 4.70 10.70C4.89 10.51 5 10.26 5 10V6.41L9.29 10.70L9.36 10.77C9.56 10.92 9.80 11.00 10.04 10.99C10.29 10.98 10.52 10.87 10.70 10.70C10.87 10.52 10.98 10.29 10.99 10.04C11.00 9.80 10.92 9.56 10.77 9.36L10.70 9.29L6.41 5H10C10.26 5 10.51 4.89 10.70 4.70C10.89 4.51 11 4.26 11 4C11 3.73 10.89 3.48 10.70 3.29C10.51 3.10 10.26 3 10 3ZM20 13C19.73 13 19.48 13.10 19.29 13.29C19.10 13.48 19 13.73 19 14V17.58L14.70 13.29L14.63 13.22C14.43 13.07 14.19 12.99 13.95 13.00C13.70 13.01 13.47 13.12 13.29 13.29C13.12 13.47 13.01 13.70 13.00 13.95C12.99 14.19 13.07 14.43 13.22 14.63L13.29 14.70L17.58 19H14C13.73 19 13.48 19.10 13.29 19.29C13.10 19.48 13 19.73 13 20C13 20.26 13.10 20.51 13.29 20.70C13.48 20.89 13.73 21 14 21H21V14C21 13.73 20.89 13.48 20.70 13.29C20.51 13.10 20.26 13 20 13Z", +fill:"white"}}]}:H?{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"g",K:"ytp-fullscreen-button-corner-2",X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{W:"g",K:"ytp-fullscreen-button-corner-3",X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{W:"g",K:"ytp-fullscreen-button-corner-0",X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{W:"g",K:"ytp-fullscreen-button-corner-1", +X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]}:{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"g",K:"ytp-fullscreen-button-corner-0",X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},{W:"g",K:"ytp-fullscreen-button-corner-1",X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{W:"g",K:"ytp-fullscreen-button-corner-2",X:[{W:"path",JN:!0,K:"ytp-svg-fill", +V:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{W:"g",K:"ytp-fullscreen-button-corner-3",X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]}}; +Dx=function(N,H,c){return{ssvc:H,cpn:(c==null?void 0:c.cpn)||"",vid:(c==null?void 0:c.videoData.videoId)||"",ct:(N.playback.getCurrentTime()||0).toFixed(3),cmt:(N.playback.NP()||0).toFixed(3)}}; +OUe=function(N){if(N.policy.iR&&N.policy.Fd)for(var H=g.K(N.policy.iR),c=H.next(),t={};!c.done;t={s6:void 0,Jx:void 0},c=H.next())if(c=g.lN(c.value),t.s6=+c.clen,t.Jx=+c.csz,t.s6>0&&t.Jx>0&&N.policy.U===c.docid&&N.T.info.id===c.fmtid&&N.T.info.lastModified===+c.lmt)return N={},N.clen=t.s6,N.csz=t.Jx,N.ck=c.ck,N.civ=c.civ,N}; +KVR=function(N,H,c,t){N.L=t;N.api.mp(N.T,c,H)}; +wZ=function(N,H,c){var t=N.map.get(H);if(!t)return!1;N.map.delete(H);c&&N.B&&N.B(t.value);if(N.T.T.length>N.map.size*2)for(N.T.clear(),H=g.K(N.map.entries()),c=H.next();!c.done;c=H.next())t=g.K(c.value),c=t.next().value,t=t.next().value,isFinite(t.Ef)&&N.T.enqueue(t.Ef,c);return!0}; +pXt=function(){var N=jvZ();if(N!=null&&N.effectiveType)return g2R.hasOwnProperty(N.effectiveType)?g2R[N.effectiveType]:"EFFECTIVE_CONNECTION_TYPE_UNKNOWN"}; +do3=function(N,H,c,t,h,O,F){N=N===void 0?-1:N;H=H===void 0?"":H;c=c===void 0?"":c;t=t===void 0?!1:t;h=h===void 0?"":h;g.L.call(this);this.logSource=N;this.componentId=H;O?H=O:(N=new bI(N,"0"),N.componentId=H,g.l(this,N),c!==""&&(N.Iu=c),t&&(N.L=!0),h&&WiL(N,h),F&&iXD(N,F),H=N.build());this.T=H}; +Y6=function(N,H,c){return N.getCurrentTimeSec(H,c)}; +dMs=function(N){var H,c=(H=L3(N))==null?void 0:H.info;return!c||N.tf(Math.min(c.U+h1,c.S))}; +rly=function(N,H){this.L=N;this.U=H;this.B=0;this.T=null}; +snl=function(N,H,c){c=c===void 0?{}:c;return kUS(N,H,c)}; +hNs=function(){this.L=[];this.B=0;this.T=new oX}; +Ujv=function(N,H,c){c=N.T[H].N4(c);YD(N,c,0,N.T[H].width)}; +rC=function(){var N=Number(g.YI("DCLKSTAT",0));return isNaN(N)?0:N}; +TXZ=function(N){var H,c,t,h,O,F,M,f,d;return g.Y(function(W){if(W.T==1){if(N.uo())return W.return(Promise.reject(Error(N.status.error||"disposed")));N.timeout.start();return g.a(W,N.Kp,2)}H=N.T.wr();if(H.isEnded())return N.h3("ended_in_finishTransition"),W.return(Promise.reject(Error(N.status.error||"")));if(!N.U||!rk(N.U))return N.h3("next_mse_closed"),W.return(Promise.reject(Error(N.status.error||"")));if(N.B.CJ()!==N.U)return N.h3("next_mse_mismatch"),W.return(Promise.reject(Error(N.status.error|| +"")));c=fW(N);t=c.o1;h=c.xQ;O=c.Jz;N.T.kA(!1,!0);F=fWZ(N,H,t,O,!N.B.getVideoData().isAd());N.B.setMediaElement(F);(M=N.T.eh())&&N.B.Mu(M.Fk,M.nU);N.Z&&(N.policy.T||N.B.seekTo(N.B.getCurrentTime()+.001,{K$:!0,Na:3,j_:"gapless_pseudo"}),F.play());f=H.Q4();f.cpn=N.T.getVideoData().clientPlaybackNonce;f.st=""+t;f.et=""+O;N.B.Lq("gapless",f);N.T.Lq("gaplessTo",{cpn:N.B.getVideoData().clientPlaybackNonce});d=N.T.getPlayerType()===N.B.getPlayerType();N.T.P4(h,!0,!1,d,N.B.getVideoData().clientPlaybackNonce); +N.B.P4(N.B.getCurrentTime(),!0,!0,d,N.T.getVideoData().clientPlaybackNonce);N.B.z8();g.OT(function(){!N.B.getVideoData().Z&&N.B.getPlayerState().isOrWillBePlaying()&&N.B.Dv()}); +xb(N,6);N.dispose();return W.return(Promise.resolve())})}; +mPy=function(N,H){var c=H.filter(function(h){return oM(N,h)===10}),t=H.filter(function(h){return oM(N,h)!==10}); +return N.U.Dug?function(){var h=g.LQ.apply(0,arguments);return g.Y(function(O){if(O.T==1)return g.a(O,N.C$s.apply(N,[c].concat(g.HE(h))),2);N.cj.apply(N,[t].concat(g.HE(h)));g.Z3(O)})}:function(){var h=g.LQ.apply(0,arguments); +N.u1E.apply(N,[c].concat(g.HE(h)));N.cj.apply(N,[t].concat(g.HE(h)))}}; +E6=function(N){return N.adSlotMetadata.slotType==="SLOT_TYPE_PLAYER_BYTES"}; +g.iA=function(N){g.L.call(this);var H=this;this.provider=N;this.logger=new g.mE("qoe");this.T=new Map;this.sequenceNumber=1;this.Us=NaN;this.y0="N";this.Z=this.nU=this.Fk=this.Bp=this.B=0;this.n4=this.gE=this.Y=this.vp="";this.T3=this.Kq=NaN;this.S_=0;this.bX=-1;this.mz=1;this.playTimeSecs=this.rebufferTimeSecs=0;this.mG=this.isEmbargoed=this.Ix=this.isOffline=this.isBuffering=!1;this.AN=[];this.TW=null;this.WO=this.U=this.UF=this.NT=this.C=!1;this.L=-1;this.Xg=!1;this.qc=new g.kT(this.bqa,750,this); +this.by=this.adCpn="";this.adFormat=void 0;this.G7=0;this.Al=new Set("cl fexp drm drm_system drm_product ns el adformat live cat shbpslc".split(" "));this.Jj=new Set(["gd","pw","gp","gm","dd"]);this.serializedHouseBrandPlayerServiceLoggingContext="";this.kG=!1;this.Uu=NaN;this.Cq=0;this.C4=!1;this.remoteConnectedDevices=[];this.remoteControlMode=void 0;this.Dt=!1;this.Oc=new Set;this.Br={Yo:function(O){H.Yo(O)}, +b1W:function(){return H.S}, +reportStats:function(){H.reportStats()}, +SB_:function(){return H.T.get("cat")||[]}, +y8:function(O){return H.T.get(O)||[]}, +oeq:function(){return H.T}, +T4_:function(){return{adCpn:H.adCpn,by:H.by,adFormat:H.adFormat}}}; +this.ox=this.provider.j.N("html5_qoe_relaxed_reporting");var c=g.Mx(this.provider.j.experiments,"html5_qoe_proto_mock_length");c&&!A6.length&&(A6=Y_t(c));g.l(this,this.qc);try{var t,h;(h=(t=navigator).getBattery)==null||h.call(t).then(function(O){H.TW=O})}catch(O){}g.Xz(this,0,"vps",["N"]); +N.j.vO()&&(this.Cq=(0,g.Lh)(),this.Uu=g.Re(function(){var O=(0,g.Lh)(),F=O-H.Cq;F>500&&H.Lq("vmlock",{diff:F.toFixed()});H.Cq=O},250)); +this.provider.videoData.oR&&(this.remoteControlMode=wOL[this.provider.videoData.oR]||0);this.provider.videoData.x8&&(c=HXy(this.provider.videoData.x8),c==null?0:c.length)&&(this.remoteConnectedDevices=c);N.j.vO()&&(this.w_=new ML3,g.l(this,this.w_));S8f(N.j)&&(this.zW=new CE,g.l(this,this.zW))}; +y6L=function(N){this.offset=0;this.data=new DataView(new ArrayBuffer(N))}; +lQe=function(N){var H=0,c=NaN,t="";if(!N.TW)return{startSeconds:H,zR:c,source:t};N.videoData.j$?H=N.videoData.ZG:BJ(N.videoData)&&(H=Infinity);if(g.z7(N.videoData))return{startSeconds:H,zR:c,source:t};N.videoData.startSeconds?(t="ss",H=N.videoData.startSeconds):N.videoData.PM&&(t="stss",H=N.videoData.PM);N.videoData.liveUtcStartSeconds&&(c=N.videoData.liveUtcStartSeconds);if(isFinite(H)&&(H>N.L6()||HN.Ff())N.segments=[];else{var c=TH(N.segments,function(t){return t.Y_>=H},N); +c>0&&N.segments.splice(0,c)}}; +SoD=function(N){N=N===void 0?null:N;return N!=null&&(N=N.thumbnail,N!=null&&N.thumbnails!=null&&N.thumbnails.length!=0&&N.thumbnails[0].width!=null&&N.thumbnails[0].height!=null)?new g.rv(N.thumbnails[0].width||0,N.thumbnails[0].height||0):new g.rv(0,0)}; +Jht=function(N){return N.videoData.Tu()&&N.N("html5_enable_shorts_seek_details_logging")}; +qSv=function(N){var H={},c=N.J.getVideoData(1);H.ASR=BQ(function(){var t;return(t=c==null?void 0:c.Lx)!=null?t:null}); +H.EI=BQ(function(){var t;return(t=c==null?void 0:c.eventId)!=null?t:null}); +return H}; +fGD=function(N){var H=new XXe,c={},t=(c["X-Goog-Api-Key"]="AIzaSyDyT5W0Jh49F30Pqqtyfdf7pDLFKLJoAnw",c);return new rW(H,N,function(){return t})}; +ncR=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x,q,r){var w=HF(c,O,h.uR);if(w instanceof S)return w;if(g.P(c.renderingContent,QR)){f=Eyy([c],h,f);if(f instanceof S)return f;if(f.length!==1)return new S("Only expected one media layout.");N=jls(N,H,c,w,f[0],void 0,"core",t,O,F,M,d,E,x,q,h.uR,z,void 0,r);return N instanceof S?N:{layout:N.layout,VL:N.z7?[N.z7]:[]}}var n=g.P(c.renderingContent,PG);if(n){if(!Gf(c.adLayoutMetadata))return new S("Invalid ad layout metadata");if(!Ug(n))return new S("Invalid sequential layout"); +n=n.sequentialLayouts.map(function(p){return p.playerBytesAdLayoutRenderer}); +N=Cwh(N,H,c.adLayoutMetadata,w,n,t,O,h,f,F,M,d,W,z,q,E,x,r);return N instanceof S?N:{layout:N.wN,VL:N.VL}}return new S("Not able to convert a sequential layout")}; +QPD=function(N,H){N.policy.Bp?N.T.splice(N.T.indexOf(H)).forEach(function(c){c.dispose()}):(N.T.pop(),H==null||H.dispose())}; +pOf=function(N,H,c){return new yZ(N,H,c)}; +g6=function(N){if(N.L)if(g.nH(N.api.getRootNode(),"ytp-grid-scrolling"),N.api.getPresentingPlayerType()===2||N.api.IW()||N.api.isMinimized())HY(N,0);else{var H=g.y(N.api.getPlayerStateObject(),2);if(H)HY(N,2,"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED");else if(N.isEnded&&!H){var c=lO(N)?1:0;N.isEnded=H;HY(N,c)}else lO(N)?N.B!==2&&HY(N,1):HY(N,0);N.isEnded=H}}; +CT=function(N,H,c,t,h,O,F,M,f){f=f===void 0?!1:f;g.L.call(this);this.qT=N;this.policy=H;this.tj=c;this.JF=t;this.timing=h;this.logger=O;this.U=F;this.C0=M;this.Y=f;this.lastError=null;this.T=0;this.S=!1;this.L=0;this.B=new g.kT(this.k6s,this.policy.il,this)}; +zL=function(N){return g.ri(g.tA(),N)}; +u43=function(N,H){g.gC.call(this,N);this.eg=H;this.B=new g.Ww(this);this.C=new g.kT(this.IsE,1E3,this);this.Z=this.yR=null;g.l(this,this.B);g.l(this,this.C);H=this.J.D();N.createClientVe(this.element,this,28656);g.bV(this.element,"ytp-contextmenu");this.J.D().experiments.M4("delhi_modern_web_player")&&g.gu(H)&&g.bV(this.element,"ytp-delhi-modern-contextmenu");PJZ(this);this.hide()}; +rHS=function(N){var H=uke();H.update(N);return H.s8().toLowerCase()}; +Ss=function(N){this.S=!1;this.T=N;this.U=function(){}}; +afs=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x,q,r){N=lS(N,"SLOT_TYPE_PLAYER_BYTES");t=LpR(H,F,t,h,N,d,W);if(t instanceof S)return t;var w;F=(w=lQ(t.clientMetadata,"metadata_type_fulfilled_layout"))==null?void 0:w.layoutId;if(!F)return new S("Invalid adNotify layout");H=aYw(F,H,c,h,O,f,M,d,z,E,x,q,r);return H instanceof S?H:[t].concat(g.HE(H))}; +Jll=function(){}; +wR=function(N,H,c,t){N.L.dJ(t===void 0?H:t,c/H);N.Y=(0,g.Lh)()}; +W0=function(N){this.T=N}; +aJ=function(N,H,c,t){U$("https://"+H+"/videoplayback?probe=1",c,function(h){!t.N("html5_onesie_host_racing")||t.videoData.isLivePlayback||t.N("html5_onesie_probe_ec_hosts")||t.KD||t.A8();N.U.push(h)},function(h){N.U.push(h.details)})}; +vD=function(N,H){N=mq(N,H,void 0,void 0,a7s);return N==null?An():N}; +fg=function(N){this.value=N}; +xgL=function(N,H,c){var t=g.Kv(N.T,H);if(t>=0)return H;H=-t-1;return H>=N.T.length||N.T[H]>c?null:N.T[H]}; +Th=function(N){var H=[{W:"div",fq:["ytp-unmute-icon"],X:[{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}]}, +{W:"div",fq:["ytp-unmute-text"],Wp:"Tap to unmute"}];H.push({W:"div",fq:["ytp-unmute-box"],X:[]});g.Gv.call(this,N,{W:"button",fq:["ytp-unmute","ytp-popup","ytp-button","ytp-unmute-animated","ytp-unmute-shrink"],X:[{W:"div",K:"ytp-unmute-inner",X:H}]},100);this.T=this.clicked=!1;this.api=N;this.api.createClientVe(this.element,this,51663);this.G(N,"onMutedAutoplayChange",this.onMutedAutoplayChange,this);this.G(N,"presentingplayerstatechange",this.Wv);this.listen("click",this.onClick,this);N=N.isMutedByMutedAutoplay()&& +!g.PX(this.api.D());this.a4(N);N&&P1w(this);this.B=N}; +eI=function(N,H){if(H.uo()||N.uo())N.policy.w4||(N.policy.S?Vp(N.loader):N.loader.Ec());else{if(N.policy.L&&H.isComplete()&&H instanceof z2){var c=N.loader,t=c.Lq,h,O,F=Object.assign(H.hj.H_(),{rst:H.state,strm:H.xhr.hg(),d:(h=H.hj.Ix)==null?void 0:h.UR(),cncl:H.xhr&&H.Ke.S?1:0,rqb:H.nX,cwt:H.Ke.L,swt:(O=H.Ha)==null?void 0:O.aO});h=Object.assign(V8D(H.info),F);t.call(c,"rqs",h)}if(H.isComplete()&&H.eC()&&H instanceof z2)N.policy.bX?H.Nw()?(H.dispose(),N.T.length===0?N.loader.Ec():(N=N.T[0],N instanceof +z2&&N.Jf()&&N.Ry())):H.OG()&&N.loader.handleError(H.Wd(),H.Gv()):(H.dispose(),N.loader.Ec());else{if(H.IP())H instanceof z2&&gJd(N.timing,H),K7f(N),gEv(N);else if(H.OG())if(c=N.wE.G$(),H instanceof z2&&GPZ(H.info)&&c&&N.loader.ke(c),H instanceof z2&&Xo3(H)){var M;(M=N.loader.JI)==null||S_L(M)}else H instanceof wY?N.T.pop():(M=1,H.canRetry()&&kg3(N.loader)&&(QPD(N,H),M=0),N.loader.handleError(H.Wd(),H.Gv(),M));else{if(N.loader.isSuspended&&!H.isComplete())return;gEv(N)}H.uo()||H instanceof wY||(H.isComplete()? +M=PDf(H,N.policy,N.U):(M=msL(H,N.policy,N.U),M===1&&(N.UF=!0)),M!==0&&(c=new No(1,H.info.JF),c.oi=M===2,r3L(N,c)));N.policy.mz&&!H.isComplete()?oky(N.loader):N.loader.Ec()}}}; +I1S=function(N){N.CONN=BQ(TQ("0"));N.WT=BQ(function(){return Date.now().toString()})}; +T1=function(N){if(N.Kq&&N.TW&&!N.NT){for(;N.L.length;){var H=N.L[0],c=nyv(N)?trl(H):g.Eq(H.initData);if(tW(N.T)&&!H.B)N.L.shift();else{if(N.B.get(c))if(N.T.flavor!=="fairplay"||tW(N.T)){N.L.shift();continue}else N.B.delete(c);xVS(H);break}}N.L.length&&N.createSession(N.L[0])}}; +g.Mb=function(N){return(!("button"in N)||typeof N.button!=="number"||N.button===0)&&!("shiftKey"in N&&N.shiftKey)&&!("altKey"in N&&N.altKey)&&!("metaKey"in N&&N.metaKey)&&!("ctrlKey"in N&&N.ctrlKey)}; +v8=function(N,H){var c=kkv(N.L,H.B);if(N.T.length>1){c=Lw(N,H.L,!0);for(var t=0,h=0;h0&&(t+=N.T[h].width,t+=Vy(N));c=(N.T[c].startTime+(H.L-t)/N.T[c].width*((c===N.T.length-1?N.L.T*1E3:N.T[c+1].startTime)-N.T[c].startTime))/1E3||0}return c}; +g$=function(N,H,c){this.triggeringLayoutId=H;this.slotId=c;this.triggerType="TRIGGER_TYPE_LAYOUT_ID_ACTIVE_AND_SLOT_ID_HAS_EXITED";this.triggerId=N(this.triggerType)}; +y$=function(N,H,c,t,h){N.iv_load_policy=t;H=OC(H);if(H.cta_conversion_urls)try{N.cta_conversion_urls=JSON.parse(H.cta_conversion_urls)}catch(O){KA(O)}c.oR&&(N.ctrl=c.oR);c.x8&&(N.ytr=c.x8);c.fS&&(N.ytrcc=c.fS);c.isMdxPlayback&&(N.mdx="1");N.vvt&&(N.vss_credentials_token=N.vvt,c.eY&&(N.vss_credentials_token_type=c.eY),c.mdxEnvironment&&(N.mdx_environment=c.mdxEnvironment));FI(N,h);return N}; +n2v=function(N,H,c,t){Y_.call(this,"survey-interstitial",N,H,c,t)}; +rGy=function(N){this.next=function(H){o2(N.T);N.T.U?H=kW(N,N.T.U.next,H,N.T.Z):(N.T.Z(H),H=I2(N));return H}; +this.throw=function(H){o2(N.T);N.T.U?H=kW(N,N.T.U["throw"],H,N.T.Z):(OJ(N.T,H),H=I2(N));return H}; +this.return=function(H){return ihl(N,H)}; +this[Symbol.iterator]=function(){return this}}; +Kgw=function(N,H){g.xo.call(this);this.Es=N;this.startSeconds=0;this.shuffle=!1;this.index=0;this.title="";this.length=0;this.items=[];this.loaded=!1;this.sessionData=this.T=null;this.dislikes=this.likes=this.views=0;this.order=[];this.author="";this.xP={};this.B=0;if(N=H.session_data)this.sessionData=Ud(N,"&");this.index=Math.max(0,Number(H.index)||0);this.loop=!!H.loop;this.startSeconds=Number(H.startSeconds)||0;this.title=H.playlist_title||"";this.description=H.playlist_description||"";this.author= +H.author||H.playlist_author||"";H.video_id&&(this.items[this.index]=H);if(N=H.api)typeof N==="string"&&N.length===16?H.list="PL"+N:H.playlist=N;if(N=H.list)switch(H.listType){case "user_uploads":this.listId=new ls("UU","PLAYER_"+N);break;default:var c=H.playlist_length;c&&(this.length=Number(c)||0);this.listId=KH(N);if(N=H.video)this.items=N.slice(0),this.loaded=!0}else if(H.playlist){N=H.playlist.toString().split(",");this.index>0&&(this.items=[]);N=g.K(N);for(c=N.next();!c.done;c=N.next())(c=c.value)&& +this.items.push({video_id:c});this.length=this.items.length;if(N=H.video)this.items=N.slice(0),this.loaded=!0}this.setShuffle(!!H.shuffle);if(N=H.suggestedQuality)this.quality=N;this.xP=Vg(H,"playlist_");this.L=(H=H.thumbnail_ids)?H.split(","):[]}; +sQ=function(N,H,c){if(c===void 0||!c){c=g.K(N.Xg);for(var t=c.next();!t.done;t=c.next()){t=t.value;if(H>=t.start&&H<=t.end)return;if(H===t.end+1){t.end+=1;return}}N.Xg.push(new SZv(H))}}; +o0S=function(N){return S3()&&JFL(N)?!1:oY(N)&&(g.El(N.Es)?!N.isLivePlayback:N.hlsvp)||!h4()||N.ym?!0:!1}; +g.py=function(N,H){H=H===void 0?"":H;if(N.qj){var c=new M9,t,h=N.qj();h.signedOut?t="":h.token?t=h.token:h.pendingResult.then(function(O){h.signedOut?c.resolve(""):c.resolve(O.token)},function(O){g.aS(new g.ti("b189348328_oauth_callback_failed",{error:O})); +c.resolve(H)}); +return t!==void 0?H2(t):new NK(c)}return H2(H)}; +ioZ=function(N){dK.call(this,N);var H=this;this.B=new Set;this.T={};this.events=new g.Ww(N);g.l(this,this.events);this.events.G(N,"videodatachange",function(c){c==="newdata"&&(H.api.gr("stationsEmbargo"),H.api.gr("stationsMetadataUpdate"),H.T={},H.B.clear());c=H.api.getVideoData().HQ;var t=c.get("PLAYER_CUE_RANGE_SET_IDENTIFIER_STATION_AIRING_EMBARGO");t&&$CS(H,t,"stationsEmbargo");(c=c.get("PLAYER_CUE_RANGE_SET_IDENTIFIER_STATION_METADATA_UPDATE"))&&$CS(H,c,"stationsMetadataUpdate")}); +this.events.G(N,g.dm("stationsEmbargo"),function(c){H.api.TQ(!0);var t,h=(t=H.T[c.id])!=null?t:[];t=g.K(h);for(h=t.next();!h.done;h=t.next())if(h=h.value.embargo)H.api.hideControls(),H.api.TU("auth",2,KE(h.errorRenderer.reason),Gu({embargoed:1,id:c.id,idx:c.B,start:c.start})),(h=h.onTrigger)&&H.api.QS("innertubeCommand",h)}); +this.events.G(N,g.dm("stationsMetadataUpdate"),function(c){var t;c=(t=H.T[c.id])!=null?t:[];t=g.K(c);for(c=t.next();!c.done;c=t.next())(c=c.value.command)&&H.api.QS("innertubeCommand",c)})}; +SBy=function(N,H,c){this.callback=N;this.slot=H;this.k_=c;this.B=!1;this.T=0}; +Fk=function(N){return!(!N.T||N.T.mR===N.mR)}; +P2s=function(N){return N.N("html5_onesie_host_probing")||N.Ua?km:!1}; +UPL=function(N){N.d_.onProgress();if(BJ(N.videoData)&&Date.now()>N.qx+6283){if(N.N("html5_unified_live_latency_reporting")){var H=N.d_;H.qoe&&wMD(H.qoe)}else!N.isAtLiveHead()||N.videoData.T&&Zbe(N.videoData.T)||(H=N.d_,H.qoe&&wMD(H.qoe));H=g.El(N.j);var c=N.N("html5_always_log_rawlat");(H||c)&&N.Lq("rawlat",{l:X9(N.WS,"rawlivelatency").toFixed(3)});N.qx=Date.now()}N.videoData.B&&MF(N.videoData.B)&&(H=N.z$())&&H.videoHeight!==N.dV&&(N.dV=H.videoHeight,kiv(N,"a",Vi3(N,N.videoData.Ix)))}; +B8=function(N){g.gC.call(this,N,"ytp-shopping-product-menu");this.hn=new g.Fm(this.J);g.l(this,this.hn);this.hide();g.Q7(this,this.hn);g.aG(this.J,this.element,4)}; +Bs=function(N,H){this.T=N;this.pos=0;this.start=H||0}; +XO3=function(N){var H=KfZ(g.di==null?void 0:g.di.location.href),c=[];if(vWd()){H=H.indexOf("https:")==0||H.indexOf("chrome-extension:")==0||H.indexOf("chrome-untrusted://new-tab-page")==0||H.indexOf("moz-extension:")==0;var t=H?g.di.__SAPISID:g.di.__APISID;t||typeof document==="undefined"||(t=new za(document),t=t.get(H?"SAPISID":"APISID")||t.get("__Secure-3PAPISID"));(t=t?gYL(t,H?"SAPISIDHASH":"APISIDHASH",N):null)&&c.push(t);H&&((H=lCh("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",N))&&c.push(H), +(N=lCh("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",N))&&c.push(N))}return c.length==0?null:c.join(" ")}; +g.yb=function(N){this.NE=N}; +fnR=function(N){var H,c,t,h;return!!((H=N.Dt)==null?0:(c=H.title)==null?0:c.content)||!!((t=N.Dt)==null?0:(h=t.bodyText)==null?0:h.content)}; +we=function(N){return q8(N.U,Sc(22,N.tj.HR))}; +S3=function(){return g.$b("cobalt")&&g.$b("appletv")}; +V9S=function(){return{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},X:[{W:"path",JN:!0,V:{d:"M12,14 L9,11 L9,3 L12,0 L5,0 L5,14 L12,14 Z",fill:"#eaeaea"}}]}}; +EjL=function(N,H,c,t){var h=c,O=vB(H.width,H.height);N.cg?h=cO?{width:H.width,height:H.width/h,aspectRatio:h}:hh?N.width=N.height*c:c=H){H=O;break a}}H=h}return H<0?NaN:$wR(N,c?H:0)?N[H].startTime:NaN}; +LVe=function(N,H){if(H.info.video){if(N.L!==H)return N.L=H,Lkl(N)}else N.zW=N.C!==H,N.C=H;return null}; +$h=function(){ZB.call(this,iJ,2,"mraid");this.Cq=0;this.Us=this.ox=!1;this.C=null;this.B=Jph(this.L);this.U.T=new wu(0,0,0,0);this.gE=!1}; +uoL=function(N,H,c){if(N.B!==0&&c&&H.L4[0].KG()){var t=H.L4[0].Y_,h=H.L4[0].U;H=H.isDecorated();nBl(N,t,h,H,c)}}; +YBf=function(N,H,c,t){sE.call(this,N,{W:"div",K:"ytp-ad-overlay-slot",X:[{W:"div",K:"ytp-ad-overlay-container"}]},"invideo-overlay",H,c,t);this.Z=[];this.Al=this.Ix=this.U=this.Xg=this.Kq=null;this.vp=!1;this.S=null;this.Us=0;N=this.Sa("ytp-ad-overlay-container");this.gE=new pd(N,45E3,6E3,.3,.4);g.l(this,this.gE);this.L=K0t(this);g.l(this,this.L);this.L.Jl(N);this.B=ZLt(this);g.l(this,this.B);this.B.Jl(N);this.T=Yxt(this);g.l(this,this.T);this.T.Jl(N);this.hide()}; +Gg=function(N,H){g.nH(N.J.getRootNode(),H)}; +gk=function(N,H,c,t){g.xo.call(this);var h=this;this.WH=N;this.start=H;this.end=c;this.isActive=t;this.appendWindowStart=0;this.appendWindowEnd=Infinity;this.timestampOffset=0;this.uF={error:function(){!h.uo()&&h.isActive&&h.publish("error",h)}, +updateend:function(){!h.uo()&&h.isActive&&h.publish("updateend",h)}}; +this.WH.Cm(this.uF);this.Ti=this.isActive}; +$G=function(N){var H=H===void 0?!1:H;return vH(kC(N,AlL),N,H,"Trusted Stream URL")}; +epL=function(N,H,c,t,h){this.listener=N;this.proxy=null;this.src=H;this.type=c;this.capture=!!t;this.handler=h;this.key=++aqy;this.removed=this.Kx=!1}; +ks=function(N,H,c){return typeof N==="string"?(N=encodeURI(N).replace(H,tbL),c&&(N=N.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),N):null}; +N0=function(N){var H=qu();g.Lu(function(){var c=g.bg(N);Dz(H,c);return c})()}; +v2l=function(N){return N.currentTime+N.timestampOffset}; +sPy=function(N,H){var c=N.B[H],t;(t=N.L)==null||t.dispose();g.P(c,e1)?eMt(N,g.P(c,e1),N.macros):g.P(c,aI)&&q9d(N,g.P(c,aI),N.macros);N.T=H}; +BE3=function(N){var H=N.videoTrack.mR.index;N.SV=new SpR({cZ:N.policy.cZ,pF:N.policy.Z.pF,ul:H.g$(),Ff:function(){return H.Ff()}, +NZ:function(){return H.NZ()}})}; +xg=function(N){w9.call(this,N.message||N.description||N.name);this.isMissing=N instanceof Dj;this.isTimeout=N instanceof X5&&N.errorCode=="net.timeout";this.isCanceled=N instanceof xY}; +OLs=function(N){g.e.call(this,{W:"button",fq:["ytp-button","ytp-autonav-toggle"],V:{title:N.N("player_tooltip_data_title_killswitch")?"{{title}}":"","data-tooltip-title":"{{data-tooltip-title}}","aria-label":"{{label}}","data-priority":"3","data-tooltip-target-id":"ytp-autonav-toggle-button"},X:[{W:"div",K:"ytp-autonav-toggle-button-container",X:[{W:"div",K:"ytp-autonav-toggle-button",V:{"aria-checked":"true"}}]}]});this.J=N;this.B=[];this.T=!1;this.isChecked=!0;N.createClientVe(this.element,this, +113681);this.G(N,"presentingplayerstatechange",this.e6);this.listen("click",this.onClick);this.B.push(this.G(this.J,"videodatachange",this.e6));this.B.push(this.G(this.J,"videoplayerreset",this.e6));this.B.push(this.G(this.J,"onPlaylistUpdate",this.e6));this.B.push(this.G(this.J,"autonavchange",this.EL));XW(N,this.element,this);this.e6()}; +VT=function(N,H,c){if(!g.sf("web_csi_action_sampling_enabled")||!J8(c).actionDisabled){var t=Np(c),h;if(h=g.sf("web_csi_debug_sample_enabled")&&t){(nM().resolve(new Sp(Pq))==null?0:Iq())&&!ylS&&(ylS=!0,VT("gcfl",(0,g.Lh)(),c));var O,F,M;h=(nM().resolve(new Sp(Pq))==null?void 0:(O=Iq())==null?void 0:(F=O.loggingHotConfig)==null?void 0:(M=F.csiConfig)==null?void 0:M.debugSampleWeight)||0;if(O=h!==0)b:{O=cLf();if(O.length>0)for(F=0;F=0||(N.provider.wE.getVisibilityState()===3?N.S=!0:(N.T=g.cd(N.provider),N.delay.start()))}; +o2R=function(N,H){if(typeof N==="string")return new vY(jjw(N),H);if(Array.isArray(N))return new vY(new Uint8Array(N),H);if(N.constructor===Uint8Array)return new vY(N,!1);if(N.constructor===ArrayBuffer)return N=new Uint8Array(N),new vY(N,!1);if(N.constructor===ZV)return H=xQ(N)||new Uint8Array(0),new vY(H,!0,N);if(N instanceof Uint8Array)return N=N.constructor===Uint8Array?N:new Uint8Array(N.buffer,N.byteOffset,N.byteLength),new vY(N,!1);throw Error();}; +NB=function(N,H){H=H===void 0?!1:H;var c=VM(N);N=H?0:N.info.C;return c||N}; +k4y=function(N){if(!ikL(N))return!1;var H;N=(H=N.mediaElement)==null?void 0:H.audioTracks();return!!(N&&N.length>1)}; +DMt=function(N,H,c,t){t=t===void 0?0:t;if(N.U){var h=N.U.T+N.U.B;if(c.info.T>0)if(c.info.Y_===N.U.Y_&&c.info.T=0&&N.U.Y_>=0&&!VZ(N.U,c.info))throw new g.ti("improper_continuation",N.U.uX(),c.info.uX());I_v(N.U,c.info)||Fg(N,"d")}else if(c.info.T>0)throw new g.ti("continuation_of_null",c.info.uX());N.U=c.info;N.mR=c.info.mR;if(c.info.T===0){if(N.T)if(!N.loader.isOffline()||N.policy.XS)N.loader.Lq("slice_not_fully_processed", +{buffered:N.T.info.uX(),push:c.info.uX()});else throw new g.ti("slice_not_fully_processed",N.T.info.uX(),c.info.uX());CN(N);N.Cq=t}else{if(N.Cq&&t&&N.Cq!==t)throw N=new g.ti("lmt_mismatch",c.info.Y_,N.Cq,t),N.level="WARNING",N;!c.info.mR.Oa()&&N.S&&(t=c.info,h=N.S.cz,t.Y="updateWithEmsg",t.Y_=h)}if(N.T){t=g.aw(N.T,c);if(!t)throw new g.ti("failed_to_merge",N.T.info.uX(),c.info.uX());N.T=t}else N.T=c;a:{c=g.vs(N.T.info.mR.info);if(N.T.info.type!==3){if(!N.T.info.L)break a;N.T.info.type===6?itw(N,H, +N.T):dws(N,N.T);N.T=null}for(;N.T;){t=N.T.B.totalLength;if(N.Us<=0&&N.Z===0){var O=N.T.B,F=-1;h=-1;if(c){for(var M=0;M+80))break;if(z!==408125543)if(z===524531317)M=!0,W>=0&&(h=O.Tn()+W,f=!0);else{if(M&&(z===160||z===163)&&(F<0&&(F=d),f))break;z===163&&(F=Math.max(0,F),h=O.Tn()+W);if(z===160){F<0&&(h=F= +O.Tn()+W);break}O.skip(W)}}F<0&&(h=-1)}if(F<0)break;N.Us=F;N.Z=h-F}if(N.Us>t)break;N.Us?(t=d9s(N,N.Us),t.S&&$n3(N,t),itw(N,H,t),es(N,t),N.Us=0):N.Z&&(t=d9s(N,N.Z<0?Infinity:N.Z),N.Z-=t.B.totalLength,es(N,t))}}N.T&&N.T.info.L&&(es(N,N.T),N.T=null)}; +Mn=function(N,H,c,t,h,O,F){var M="";N&&(M+=N+":");c&&(M+="//",H&&(M+=H+"@"),M+=c,t&&(M+=":"+t));h&&(M+=h);O&&(M+="?"+O);F&&(M+="#"+F);return M}; +RJ=function(N){this.T=N}; +IqR=function(N){var H=N.api.getVideoData().interstitials,c=[];H=g.K(H);for(var t=H.next();!t.done;t=H.next()){t=t.value;var h=c,O=h.push,F=N,M=t.playerVars,f=t.AI,d=t.time,W="yto-"+F.Z++;d=new g.vn(d,d,{id:W,priority:7,namespace:"yto"});F.C[W]={playerVars:M,playerType:f};O.call(h,d);h=N.api.getVideoData(1);h=Object.assign({oauth_token:h.oauthToken},t.playerVars);N.api.preloadVideoByPlayerVars(h,t.AI)}N.api.Q0(c,1)}; +BK=function(N){this.hF=oF(N)}; +r4=function(){return(dX||Ws)&&WW?!WW.mobile&&(zL("iPad")||zL("Android")||zL("Silk")):zL("iPad")||zL("Android")&&!zL("Mobile")||zL("Silk")}; +bLD=function(N){var H,c,t,h;return(H=N.api.getVideoData().getWatchNextResponse())==null?void 0:(c=H.playerOverlays)==null?void 0:(t=c.playerOverlayRenderer)==null?void 0:(h=t.browserMediaSession)==null?void 0:h.browserMediaSessionRenderer}; +g.sn=function(N){return GCy(N.B)}; +SKl=function(N){N=N.api.getPlayerStateObject();N=N.isCued()||N.isError()?"none":N.isOrWillBePlaying()?"playing":"paused";navigator.mediaSession.playbackState=N}; +tf=function(N,H,c,t){this.oy=H;this.visible=c;this.triggerType="TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED";this.triggerId=t||N(this.triggerType)}; +zb=function(N){g.L.call(this);this.logger=N;this.L=new g.Ps}; +GM=function(N){this.hF=oF(N)}; +g.Lu=function(N){return N&&window.yterr?function(){try{return N.apply(this,arguments)}catch(H){g.PQ(H)}}:N}; +NIR=function(N){if(N.isExternallyHostedPodcast)return C6();var H=hq(N.Jg,N.yU);if(N.hlsvp){var c=N.hlsvp,t;if((t=N.Es.Zp())==null?0:t.T.G0(V3R))c=k5(c);c=I$v(c,N.clientPlaybackNonce,N.H0);H.push(c)}return xpv(N.Es,N.isAd(),H,PsZ(N)).then(function(h){OG(N,h)})}; +u4=function(N){N.updateValue("clipicon",{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 24 24",width:"100%"},X:[{W:"path",V:{d:"M22,3h-4l-5,5l3,3l6-6V3L22,3z M10.79,7.79C10.91,7.38,11,6.95,11,6.5C11,4.01,8.99,2,6.5,2S2,4.01,2,6.5S4.01,11,6.5,11 c0.45,0,.88-0.09,1.29-0.21L9,12l-1.21,1.21C7.38,13.09,6.95,13,6.5,13C4.01,13,2,15.01,2,17.5S4.01,22,6.5,22s4.5-2.01,4.5-4.5 c0-0.45-0.09-0.88-0.21-1.29L12,15l6,6h4v-2L10.79,7.79z M6.5,8C5.67,8,5,7.33,5,6.5S5.67,5,6.5,5S8,5.67,8,6.5S7.33,8,6.5,8z M6.5,19C5.67,19,5,18.33,5,17.5S5.67,16,6.5,16S8,16.67,8,17.5S7.33,19,6.5,19z"}}]}); +N.sP&&!N.B?N.updateValue("watchfullvideo","Watch live stream"):N.updateValue("watchfullvideo","Watch full video");g.QH(N.element,"ytp-clip",bq(N));g.QH(N.element,"ytp-live",HG(N))}; +BJ=function(N){return N.N("html5_live_head_playable")&&WK(N)&&N.Es.Bp==="yt"?N.isLiveHeadPlayable:N.isLivePlayback}; +H7R=function(N){var H=g.as("html5-video-player");H&&g.QH(H,"ytp-ad-display-override",N)}; +IV=function(N,H){this.triggeringSlotId=H;this.triggerType="TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY";this.triggerId=N(this.triggerType)}; +Vsl=function(N,H){N=H.Zj()==1?N.T:N.B;var c=TH(N,function(t){return t==H}); +return c!=-1?(N.splice(c,1),H.ZI&&H.ZI.unobserve(),H.dispose(),!0):!1}; +eAL=function(){g.e.call(this,{W:"div",K:"ytp-fine-scrubbing-chapter-title",X:[{W:"div",K:"ytp-fine-scrubbing-chapter-title-content",Wp:"{{chapterTitle}}"}]})}; +g.Xz=function(N,H,c,t){ei(N,c,H.toFixed(3)+":"+t.join(":"))}; +g.aG=function(N,H,c){N=N.BO().element;var t=xt(N.children,function(h){h=Number(h.getAttribute("data-layer"));return c-h||1}); +t<0&&(t=-(t+1));PH(N,H,t);H.setAttribute("data-layer",String(c))}; +zpS=function(N){N.UF.add(N.L);N.L="";N.Bp=!1}; +laD=function(N){if(!N.isRequestPending){N.isRequestPending=!0;N.Df(3);var H=N.J.getVideoData();H=N.T?H.removeFromWatchLaterCommand:H.addToWatchLaterCommand;var c=N.J.h9(),t=N.T?function(){N.T=!1;N.isRequestPending=!1;N.Df(2);N.J.D().Z&&N.J.QS("WATCH_LATER_VIDEO_REMOVED")}:function(){N.T=!0; +N.isRequestPending=!1;N.Df(1);N.J.D().B&&N.J.r6(N.element);N.J.D().Z&&N.J.QS("WATCH_LATER_VIDEO_ADDED")}; +KF(c,H).then(t,function(){N.isRequestPending=!1;N.Df(4,"An error occurred. Please try again later.");N.J.D().Z&&N.J.QS("WATCH_LATER_ERROR","An error occurred. Please try again later.")})}}; +TS=function(N){try{return m6(N)}catch(H){return null}}; +VQL=function(N,H,c,t,h,O,F,M){N=rzv(N,c,O,F,t,function(f,d){var W=f.slotId;f=M(f);var z=h.contentSupportedRenderer;z?z.textOverlayAdContentRenderer?(z=CA(H.B.get(),"LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY",W),d=pbZ(H,z,"LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY",h,c,f,iO(H,d,W))):z.enhancedTextOverlayAdContentRenderer?(z=CA(H.B.get(),"LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY",W),d=pbZ(H,z,"LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY",h,c,f,iO(H,d,W))):z.imageOverlayAdContentRenderer?(z=CA(H.B.get(),"LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY", +W),d=iO(H,d,W),d.push(new Ev(H.T,45E3,z)),d=pbZ(H,z,"LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY",h,c,f,d)):d=new sz("InvideoOverlayAdRenderer without appropriate sub renderer"):d=new sz("InvideoOverlayAdRenderer without contentSupportedRenderer");return d}); +return N instanceof S?N:[N]}; +H6=function(N){return i7l[N]||"LATENCY_ACTION_UNKNOWN"}; +CTv=function(N){return!(N.isMinimized()||N.isInline()||N.isBackground()||N.eP()||N.LU()||N.oL()||N.VB())}; +cxZ=function(N,H){H=g.Df("$TOTAL_SEEK_TIME seconds",{TOTAL_SEEK_TIME:H.toString()});N.updateValue("seekTime",H)}; +Bds=function(N,H,c,t,h){g.L.call(this);var O=this,F=dN(function(){return new Wd(O.Rx)}); +g.l(this,F);var M=dN(function(){return new zR(F,O.Rx)}); +g.l(this,M);var f=dN(function(){return new EP}); +g.l(this,f);t=dN(function(){return new xh(N)}); +g.l(this,t);var d=dN(function(){return new qV(F,M,O.Rx)}); +g.l(this,d);var W=dN(function(){return new C$}); +g.l(this,W);this.V4=dN(function(){return new l7(h)}); +g.l(this,this.V4);this.YO=dN(function(){return new K$(H)}); +g.l(this,this.YO);this.kO=dN(function(){return new gN(H)}); +g.l(this,this.kO);this.Nc=dN(function(){return new rN(H)}); +g.l(this,this.Nc);this.Mi=dN(function(){return new mT(H)}); +g.l(this,this.Mi);this.Rx=dN(function(){return new wN(H)}); +g.l(this,this.Rx);var z=dN(function(){return new Qx(O.Rx)}); +g.l(this,z);var E=dN(function(){return new XP(F,d,M,O.Rx,z,null,null,null,null)}); +g.l(this,E);this.ea=dN(function(){return new u7(H,W,O.Rx)}); +g.l(this,this.ea);var x=J1({ea:this.ea,Rx:this.Rx,Uy:z}),q=x.context,r=x.dR;this.j1=x.j1;this.k_=dN(function(){return new Pd(H,O.ea,O.Rx)}); +g.l(this,this.k_);this.r_=dN(function(){return new L$(O.k_,H,O.Rx)}); +g.l(this,this.r_);this.Pp=dN(function(){return new Zk(H,f,O.r_,O.ea,O.j1,O.Rx,r)}); +g.l(this,this.Pp);this.p6=new Yh(t,E,c,this.Rx,N,this.ea,this.k_,this.YO);g.l(this,this.p6);var w=new A1(H,this.p6,this.k_,this.ea);this.GE=dN(function(){return w}); +this.rW=w;this.qP=new sP(t,d,this.kO,this.GE,q);g.l(this,this.qP);this.cH=new Bd(this.Rx,t,d,E,this.ea,this.qP,c,this.Nc);g.l(this,this.cH);this.CC={jt:new Map,Yd:new Map,tZ:new Map,iH:new Map,lK:new Map};this.listeners=[];this.r5={cH:this.cH,FE:this.Rx.get(),yS:this.V4.get(),aL:this.k_.get(),p6:this.p6,uY:F.get(),m2:null,Ga:{nV:function(){}}, +RU:f.get(),MP:this.ea.get()}}; +sDS=function(N){N.channel.classList.remove("ytp-title-show-collapsed");N.channel.classList.remove("ytp-title-show-expanded")}; +$s=function(N){return N.J.D().experiments.M4("html5_cuepoint_identifier_logging")}; +t0D=function(N,H,c,t,h){J0.call(this,N,{W:"div",K:"ytp-skip-ad"},"skip-ad",H,c,t,h);this.skipOffsetMilliseconds=0;this.isSkippable=!1;this.L=new vp(this.api,this.layoutId,this.interactionLoggingClientData,this.yS);g.l(this,this.L);this.L.Jl(this.element);this.hide()}; +EOe=function(N,H){var c=!1;if(H==="")return c;H.split(",").forEach(function(t){var h={},O={clientName:"UNKNOWN_INTERFACE",platform:"UNKNOWN_PLATFORM",clientVersion:""},F="ACTIVE";t[0]==="!"&&(t=t.substring(1),F="INACTIVE");t=t.split("-");t.length<3||(t[0]in hTD&&(O.clientName=hTD[t[0]]),t[1]in O7d&&(O.platform=O7d[t[1]]),O.applicationState=F,O.clientVersion=t.length>2?t[2]:"",h.remoteClient=O,N.remoteContexts?N.remoteContexts.push(h):N.remoteContexts=[h],c=!0)}); +return c}; +FFf=function(N,H){N=g.K(g.sV(N,!0));for(var c=N.next();!c.done;c=N.next())if(c=c.value,sUD(c)){var t={potc:"1",pot:H};c.url&&(c.url=Z_(c.url,t))}}; +x9R=function(N){N.T=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];N.C=[];N.C.length=64;N.U=0;N.B=0}; +nhh=function(N,H,c,t,h,O){var F=c-t/2;c+=t/2;H+=h;return"M 0 "+h+" L 0 "+(H+" L ")+(F+" "+H+" C ")+(F+O+" "+H+" "+(F+O)+" "+h+" "+F+" "+h+" L 0 ")+(h+" M ")+(c+" "+h+" L ")+(N.Y+" "+h+" L ")+(N.Y+" "+H+" L ")+(c+" "+H+" C ")+(c-O+" "+H+" "+(c-O)+" "+h+" "+c+" "+h)}; +Fvw=function(N){return N.CD||N.UJ}; +qYD=function(N,H){return H?GmR(H):N?d5v(N):Promise.resolve()}; +A_t=function(N,H,c,t,h){var O=(0,g.Lh)(),F=h?h(H):void 0,M;h=(M=F==null?void 0:F.QV)!=null?M:1;if(h!==0){var f;M=(f=F==null?void 0:F.profile)!=null?f:c;DyS(N,M,O-t,h)}return H}; +j5=function(N){dK.call(this,N);var H=this;N.addEventListener("settingsMenuInitialized",function(){H.menuItem||(H.menuItem=new s1(H.api,H.api.GS()),g.l(H,H.menuItem))}); +N.addEventListener("openSettingsMenuItem",function(c){if(c==="menu_item_sleep_timer"){if(!H.menuItem){var t;(t=H.api.GS())==null||t.aD()}H.menuItem.open()}}); +wl(N,"resetSleepTimerMenuSettings",function(){H.resetSleepTimerMenuSettings()}); +wl(N,"setSleepTimerTimeLeft",function(c){H.setSleepTimerTimeLeft(c)}); +wl(N,"setVideoTimeLeft",function(c){H.setVideoTimeLeft(c)})}; +F1v=function(N,H){return VZ(N,H)||Math.abs(N.S-H.U)<=1E-6||N.Y_+1===H.Y_&&H.T===0&&N.L?!0:!1}; +w8l=function(N,H){return N.TW(N.T,!0)?!1:(L_(N,NaN,"ns",H),N.clear(),!0)}; +jM=function(N){iH.call(this,!0);this.T=N}; +cMd=function(N){return N.info.mR.info.RW()&&YW(N.B,0)===160}; +kNR=function(N,H){if(g.sf("no_client_ve_attach_unless_shown")){var c=qZ(N,H);CG.set(c,!0);gV(N,H)}}; +eE=function(N,H){var c;hA(N,function(t){c=H[t];return!!c}); +return c}; +$T3=function(N){N.T.forEach(function(H){H.delay.dispose()}); +N.T.clear()}; +ZLt=function(N){var H=new g.lL({W:"div",fq:["ytp-ad-text-overlay","ytp-ad-enhanced-overlay"],X:[{W:"div",K:"ytp-ad-overlay-ad-info-button-container"},{W:"div",K:"ytp-ad-overlay-close-container",X:[{W:"button",K:"ytp-ad-overlay-close-button",X:[G_(Bv)]}]},{W:"div",K:"ytp-ad-overlay-text-image",X:[{W:"img",V:{src:"{{imageUrl}}"}}]},{W:"div",K:"ytp-ad-overlay-title",Wp:"{{title}}"},{W:"div",K:"ytp-ad-overlay-desc",Wp:"{{description}}"},{W:"div",fq:["ytp-ad-overlay-link-inline-block","ytp-ad-overlay-link"], +Wp:"{{displayUrl}}"}]});N.G(H.Sa("ytp-ad-overlay-title"),"click",function(c){E7(N,H.element,c)}); +N.G(H.Sa("ytp-ad-overlay-link"),"click",function(c){E7(N,H.element,c)}); +N.G(H.Sa("ytp-ad-overlay-close-container"),"click",N.Wi);N.G(H.Sa("ytp-ad-overlay-text-image"),"click",N.RAR);H.hide();return H}; +K2=function(N,H,c){if(N.Re(c)&&(c=c.getVideoData(),!Qu(N))){N=N.z3;for(var t=g.K(N.B),h=t.next();!h.done;h=t.next())if(h=h.value,c.vr===h.vr){H+=h.gs/1E3;break}t=H;N=g.K(N.B);for(h=N.next();!h.done;h=N.next()){h=h.value;if(c.vr===h.vr)break;var O=h.gs/1E3;if(O1&&(h=!1);N.B4&&h===H||(t=t.lock(h?"portrait":"landscape"),t!=null&&t.catch(function(){}),N.B4=!0)}else N.B4&&(N.B4=!1,t.unlock())}; +Sdt=function(N,H){N.a4(H.width>=350)}; +v3S=function(N,H){var c=pk();c&&c.publish.call(c,N.toString(),N,H)}; +WFD=function(N,H,c){N.noneOfTheAbove=new FKl(N.api,N.layoutId,N.interactionLoggingClientData,N.yS);N.noneOfTheAbove.Jl(N.answers);N.noneOfTheAbove.init(Gx("survey-none-of-the-above"),H,c)}; +Dd=function(N){var H=g.P(N.renderingContent,QR);if(H==null?0:H.pings)return GX(H.pings);N=g.P(N.renderingContent,$o);return(N==null?0:N.skipPings)?new Map([["skip",N.skipPings]]):new Map}; +Ld=function(N){if(N.currentState!==2)return!1;N.currentState=3;return!0}; +CDt=function(N,H,c){c=c===void 0?"":c;g.L.call(this);this.message=N;this.requestNumber=H;this.timer=c;this.onError=this.onSuccess=null;this.T=new g.Ke(5E3,2E4,.2)}; +DA=function(N,H){g.aQ.call(this,"Auto-translate",0,N,H);this.J=N;this.languages={};N.createClientVe(this.element,this,127301);N.logVisibility(this.element,!0)}; +d2e=function(N,H){this.B=this.T=0;this.T=H.x-N.x;this.B=H.y-N.y}; +EeS=function(N,H){if(H){if(N==="fullwidth")return Infinity;if(N==="fullheight")return 0}return N&&(H=N.match(zTR))&&(N=Number(H[2]),H=Number(H[1]),!isNaN(N)&&!isNaN(H)&&N>0)?H/N:NaN}; +IO=function(N,H){H=String(H);N.U&&(H=H.toLowerCase());return H}; +YjL=function(N,H,c,t){qY(N,z0(H||g.$$,c||null,t))}; +WIZ=function(N){N=N.document;N=N.compatMode=="CSS1Compat"?N.documentElement:N.body;return new g.rv(N.clientWidth,N.clientHeight)}; +qNL=function(){this.U=0;this.TW=Infinity;this.Z=!0;this.B=this.T=2;this.L=1;this.S=!1;this.Y=10;this.Us=!1;this.C=1;this.Bp=!1}; +CdR=function(N,H,c){c.fb&&H--;gY(c)&&(H=1);if(Zl(c)!==0&&(N=g.Mx(N.experiments,"html5_live_chunk_readahead_proxima_override"))){H=N;var t;((t=c.T)==null?0:rot(t))&&H++}return H}; +g.qBS=function(N){switch(N.data["Is-Ad-Break-Finished"]){case "true":return 1;case "false":return 2;default:return 0}}; +xTt=function(N){var H=N.timing.H_();H.shost=Sc(23,N.tj.HR);return H}; +Nc=function(N,H){N.C4=NaN;N.kG=null;N.mG.stop();N.Cq&&H&&N.Cq.Jy();N.WO=null;N.Cq=null}; +K8=function(N){return/(vp9|vp09|vp8|avc1|av01)/.test(N)}; +k6=function(N,H){H.forEach(function(c){d$(N,c)})}; +Gy=function(N){var H=T8(N,!0);N.pos+=H}; +g.h8Z=function(N,H){N=g.K(N.Xg);for(var c=N.next();!c.done;c=N.next())if(c=c.value,H>=c.start&&H<=c.end)return!0;return!1}; +g.fs=function(){return window.devicePixelRatio>1?window.devicePixelRatio:1}; +q5d=function(N){if(/^f([1-9][0-9]*)$/.test(N))throw Error("ExpectedRegexMatch: "+N);}; +IJ=function(N,H,c,t,h){sE.call(this,N,{W:"span",K:h?"ytp-ad-badge--clean-player":"ytp-ad-badge"},"ad-badge",H,c,t);this.B=h;this.adBadgeText=new pD(this.api,this.layoutId,this.interactionLoggingClientData,this.yS);this.adBadgeText.Jl(this.element);g.l(this,this.adBadgeText);h?(this.adBadgeText.element.classList.add("ytp-ad-badge__text--clean-player"),bA&&this.adBadgeText.element.classList.add("ytp-ad-badge--stark-clean-player-ios")):this.adBadgeText.element.classList.add("ytp-ad-badge__text");this.hide()}; +Qr=function(N,H,c){H=H===void 0?!0:H;c=c===void 0?!1:c;g.e.call(this,{W:"div",K:"ytp-suggested-action"});var t=this;this.J=N;this.C4=this.Us=this.ox=this.Bp=this.U=this.C=this.expanded=this.enabled=this.Xg=!1;this.WO=new g.kT(function(){t.badge.element.style.width=""},200,this); +this.Kq=new g.kT(function(){pm(t);hZ(t)},200,this); +this.vp=this.J.N("delhi_modern_web_player")?40:34;this.dismissButton=new g.e({W:"button",fq:["ytp-suggested-action-badge-dismiss-button-icon","ytp-button"]});g.l(this,this.dismissButton);this.L=new g.e({W:"div",K:"ytp-suggested-action-badge-expanded-content-container",X:[{W:"label",K:"ytp-suggested-action-badge-title",Wp:"{{badgeLabel}}"},this.dismissButton]});g.l(this,this.L);this.Cq=new g.e({W:"div",K:"ytp-suggested-action-badge-icon-container",X:[H?{W:"div",K:"ytp-suggested-action-badge-icon"}: +""]});g.l(this,this.Cq);this.badge=new g.e({W:c?"div":"button",fq:["ytp-button","ytp-suggested-action-badge","ytp-suggested-action-badge-with-controls"],X:[this.Cq,this.L]});g.l(this,this.badge);this.badge.Jl(this.element);this.Z=new g.BX(this.badge,250,!1,100,function(){t.J.N("web_player_overlay_positioned_layout")&&t.hide()}); +g.l(this,this.Z);N.N("web_player_overlay_positioned_layout")&&this.hide();this.UF=new g.BX(this.L,250,!1,100);g.l(this,this.UF);this.mG=new g.WU(this.lMa,null,this);g.l(this,this.mG);this.Al=new g.WU(this.Sc,null,this);g.l(this,this.Al);g.l(this,this.WO);g.l(this,this.Kq);this.J.createServerVe(this.badge.element,this.badge,!0);this.J.createServerVe(this.dismissButton.element,this.dismissButton,!0);this.G(this.J,"onHideControls",function(){t.fZ(!1)}); +this.G(this.J,"onShowControls",function(){t.fZ(!0)}); +this.G(this.badge.element,"click",this.zK);this.G(this.dismissButton.element,"click",this.KP);this.G(this.J,"pageTransition",this.IZ);this.G(this.J,"appresize",this.Ri);this.G(this.J,"fullscreentoggled",this.lIW);this.G(this.J,"cardstatechange",this.beE);this.G(this.J,"annotationvisibility",this.QAa,this);this.G(this.J,"offlineslatestatechange",this.sAf,this)}; +xoD=function(N){this.Es=N;this.mz=this.vL=this.gE=this.S=this.U=this.NT=this.zW=this.Bp=!1;this.C=this.Y=0;this.Al=!1;this.Us=!0;this.w_=!1;this.CF=0;this.OY=this.Ix=!1;this.bX=!0;this.vp=this.Kq=!1;this.B={};this.kG=this.C4=this.T3=this.disableAv1=this.WO=this.wJ=this.UF=this.mG=this.T=this.Z=!1;this.ox=0;this.Oc=this.Es.N("html5_disable_aac_preference");this.S_=Infinity;this.Cq=0;this.n4=this.Es.vO();this.Dt=this.Es.experiments.M4("html5_enable_vp9_fairplay");this.G7=this.Es.N("html5_force_av1_for_testing"); +this.LG=this.Es.Zp().T.G0(C_d);this.Xg=g.Mx(this.Es.experiments,"html5_av1_ordinal_cap");this.Jj=this.Es.N("html5_disable_hfr_when_vp9_encrypted_2k4k_unsupported");this.xD=this.Es.N("html5_account_onesie_format_selection_during_format_filter");this.OF=g.Mx(this.Es.experiments,"html5_max_byterate");this.Uu=this.Es.N("html5_enable_iamf_audio");this.AN=this.Es.experiments.M4("html5_allow_capability_merge");this.qc=this.Es.N("html5_enable_encrypted_av1")}; +Cm=function(N){N=N.Sg();N.DI();return N4(N)}; +a8y=function(N,H,c){var t=H.type||0;(c==null?0:c.has(t))?N.FQ.push(H):N.dc.push(t)}; +g.A0=function(N,H){var c=g.M4();H!==c[N]&&(H!==0?c[N]=H:delete c[N],g.qch(c))}; +t_=function(N,H){this.T=N;this.B=H}; +Zk3=[];fbv=typeof Object.create=="function"?Object.create:function(N){function H(){} +H.prototype=N;return new H}; +XF=typeof Object.defineProperties=="function"?Object.defineProperty:function(N,H,c){if(N==Array.prototype||N==Object.prototype)return N;N[H]=c.value;return N}; +g.U7=KQy(this);rc="Int8 Uint8 Uint8Clamped Int16 Uint16 Int32 Uint32 Float32 Float64".split(" ");g.U7.BigInt64Array&&(rc.push("BigInt64"),rc.push("BigUint64"));var lud=function(){function N(){function c(){} +new c;Reflect.construct(c,[],function(){}); +return new c instanceof c} +if(typeof Reflect!="undefined"&&Reflect.construct){if(N())return Reflect.construct;var H=Reflect.construct;return function(c,t,h){c=H(c,t);h&&Reflect.setPrototypeOf(c,h.prototype);return c}}return function(c,t,h){h===void 0&&(h=c); +h=fbv(h.prototype||Object.prototype);return Function.prototype.apply.call(c,h,t)||h}}(),KFt; +if(typeof Object.setPrototypeOf=="function")KFt=Object.setPrototypeOf;else{var gee;a:{var rxy={a:!0},mTl={};try{mTl.__proto__=rxy;gee=mTl.a;break a}catch(N){}gee=!1}KFt=gee?function(N,H){N.__proto__=H;if(N.__proto__!==H)throw new TypeError(N+" is not extensible");return N}:null}var $g=KFt,wuw=typeof Object.assign=="function"?Object.assign:function(N,H){if(N==null)throw new TypeError("No nullish arg"); +N=Object(N);for(var c=1;c>>0)+"_",h=0;return H}); +nm("Symbol.iterator",function(N){if(N)return N;N=Symbol("Symbol.iterator");XF(Array.prototype,N,{configurable:!0,writable:!0,value:function(){return qpl(fsv(this))}}); +return N}); +nm("Promise",function(N){function H(){this.T=null} +function c(F){return F instanceof t?F:new t(function(M){M(F)})} +function t(F){this.T=0;this.L=void 0;this.B=[];this.C=!1;var M=this.U();try{F(M.resolve,M.reject)}catch(f){M.reject(f)}} +if(N)return N;H.prototype.B=function(F){if(this.T==null){this.T=[];var M=this;this.L(function(){M.S()})}this.T.push(F)}; +var h=g.U7.setTimeout;H.prototype.L=function(F){h(F,0)}; +H.prototype.S=function(){for(;this.T&&this.T.length;){var F=this.T;this.T=[];for(var M=0;M0&&c>0;)if(t[--c]!=H[--h])return!1;return h<=0}}); +nm("Array.prototype.find",function(N){return N?N:function(H,c){return xnR(this,H,c).b6}}); +nm("Array.prototype.entries",function(N){return N?N:function(){return Ipl(this,function(H,c){return[H,c]})}}); +nm("Array.prototype.keys",function(N){return N?N:function(){return Ipl(this,function(H){return H})}}); +nm("String.prototype.startsWith",function(N){return N?N:function(H,c){var t=mY(this,H,"startsWith");H+="";var h=t.length,O=H.length;c=Math.max(0,Math.min(c|0,t.length));for(var F=0;F=O}}); +nm("Number.isFinite",function(N){return N?N:function(H){return typeof H!=="number"?!1:!isNaN(H)&&H!==Infinity&&H!==-Infinity}}); +nm("String.prototype.repeat",function(N){return N?N:function(H){var c=mY(this,null,"repeat");if(H<0||H>1342177279)throw new RangeError("Invalid count value");H|=0;for(var t="";H;)if(H&1&&(t+=c),H>>>=1)c+=c;return t}}); +nm("Object.entries",function(N){return N?N:function(H){var c=[],t;for(t in H)Ka(H,t)&&c.push([t,H[t]]);return c}}); +nm("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991}); +nm("Number.MIN_SAFE_INTEGER",function(){return-9007199254740991}); +nm("Array.from",function(N){return N?N:function(H,c,t){c=c!=null?c:function(M){return M}; +var h=[],O=typeof Symbol!="undefined"&&Symbol.iterator&&H[Symbol.iterator];if(typeof O=="function"){H=O.call(H);for(var F=0;!(O=H.next()).done;)h.push(c.call(t,O.value,F++))}else for(O=H.length,F=0;F>>0;if(H===0)return 32;var c=0;(H&4294901760)===0&&(H<<=16,c+=16);(H&4278190080)===0&&(H<<=8,c+=8);(H&4026531840)===0&&(H<<=4,c+=4);(H&3221225472)===0&&(H<<=2,c+=2);(H&2147483648)===0&&c++;return c}}); +nm("Number.isNaN",function(N){return N?N:function(H){return typeof H==="number"&&isNaN(H)}}); +nm("Array.prototype.values",function(N){return N?N:function(){return Ipl(this,function(H,c){return c})}}); +nm("Array.prototype.fill",function(N){return N?N:function(H,c,t){var h=this.length||0;c<0&&(c=Math.max(0,h+c));if(t==null||t>h)t=h;t=Number(t);t<0&&(t=Math.max(0,h+t));for(c=Number(c||0);c0&&c?c.repeat(Math.ceil(H/c.length)).substring(0,H):"")+t}}); +nm("Array.prototype.findIndex",function(N){return N?N:function(H,c){return xnR(this,H,c).xW}}); +nm("Promise.prototype.finally",function(N){return N?N:function(H){return this.then(function(c){return Promise.resolve(H()).then(function(){return c})},function(c){return Promise.resolve(H()).then(function(){throw c; +})})}}); +nm("Math.imul",function(N){return N?N:function(H,c){H=Number(H);c=Number(c);var t=H&65535,h=c&65535;return t*h+((H>>>16&65535)*h+t*(c>>>16&65535)<<16>>>0)|0}}); +nm("Math.sign",function(N){return N?N:function(H){H=Number(H);return H===0||isNaN(H)?H:H>0?1:-1}}); +nm("WeakSet",function(N){function H(c){this.T=new WeakMap;if(c){c=g.K(c);for(var t;!(t=c.next()).done;)this.add(t.value)}} +if(function(){if(!N||!Object.seal)return!1;try{var c=Object.seal({}),t=Object.seal({}),h=new N([c]);if(!h.has(c)||h.has(t))return!1;h.delete(c);h.add(t);return!h.has(c)&&h.has(t)}catch(O){return!1}}())return N; +H.prototype.add=function(c){this.T.set(c,!0);return this}; +H.prototype.has=function(c){return this.T.has(c)}; +H.prototype.delete=function(c){return this.T.delete(c)}; +return H}); +nm("Array.prototype.copyWithin",function(N){function H(c){c=Number(c);return c===Infinity||c===-Infinity?c:c|0} +return N?N:function(c,t,h){var O=this.length;c=H(c);t=H(t);h=h===void 0?O:H(h);c=c<0?Math.max(O+c,0):Math.min(c,O);t=t<0?Math.max(O+t,0):Math.min(t,O);h=h<0?Math.max(O+h,0):Math.min(h,O);if(ct;)--h in this?this[--c]=this[h]:delete this[--c];return this}}); +mw("copyWithin",function(N){return N?N:Array.prototype.copyWithin}); +nm("Array.prototype.at",function(N){return N?N:Hth}); +mw("at",function(N){return N?N:Hth}); +nm("String.prototype.at",function(N){return N?N:Hth}); +nm("Array.prototype.findLastIndex",function(N){return N?N:function(H,c){return wot(this,H,c).xW}}); +mw("findLastIndex",function(N){return N?N:function(H,c){return wot(this,H,c).xW}}); +nm("Number.parseInt",function(N){return N||parseInt});var uML,h1w,OPy;uML=uML||{};g.di=this||self;h1w="closure_uid_"+(Math.random()*1E9>>>0);OPy=0;g.$_(w9,Error);w9.prototype.name="CustomError";var DVf;var Q_d,Xs,hA;Q_d=Array.prototype.indexOf?function(N,H){return Array.prototype.indexOf.call(N,H,void 0)}:function(N,H){if(typeof N==="string")return typeof H!=="string"||H.length!=1?-1:N.indexOf(H,0); +for(var c=0;c=0;c--)if(c in N&&N[c]===H)return c;return-1}; +g.uT=Array.prototype.forEach?function(N,H,c){Array.prototype.forEach.call(N,H,c)}:function(N,H,c){for(var t=N.length,h=typeof N==="string"?N.split(""):N,O=0;O=.3:this.V0>=.5};var qw={UyW:0,yUW:1},G6y={NONE:0,VYo:1,MYi:2};var dAe="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");V2.prototype.getValue=function(){return this.B}; +g.k(m0,V2);m0.prototype.L=function(N){this.B===null&&g.cc(this.U,N)&&(this.B=N)}; +g.k(hv,V2);hv.prototype.L=function(N){this.B===null&&typeof N==="number"&&(this.B=N)}; +g.k(LR,V2);LR.prototype.L=function(N){this.B===null&&typeof N==="string"&&(this.B=N)};yC.prototype.disable=function(){this.B=!1}; +yC.prototype.enable=function(){this.B=!0}; +yC.prototype.isEnabled=function(){return this.B}; +yC.prototype.reset=function(){this.T={};this.B=!0;this.L={}};var Uh=document,iJ=window;var Q7y=xq(1,!0),dX=xq(610401301,!1);xq(899588437,!1);var puR=xq(772657768,!1),u1t=xq(513659523,!1),Jx3=xq(568333945,!0),Kvw=xq(1331761403,!1);xq(651175828,!1);xq(722764542,!1);xq(748402145,!1);xq(748402146,!1);var hyS=xq(748402147,!0);xq(333098724,!1);xq(2147483644,!1);xq(2147483645,!1);xq(2147483646,Q7y);xq(2147483647,!0);var Ws=!!g.NA("yt.config_.EXPERIMENTS_FLAGS.html5_enable_client_hints_override");var LU=String.prototype.trim?function(N){return N.trim()}:function(N){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(N)[1]},Ukt=/&/g,XWR=//g,L4L=/"/g,ZAe=/'/g,YCv=/\x00/g,PQt=/[\x00&<>"']/;var WW,neD=g.di.navigator;WW=neD?neD.userAgentData||null:null;var wJw=globalThis.trustedTypes,CEZ;uV.prototype.toString=function(){return this.T+""};RA.prototype.toString=function(){return this.T}; +var IBf=new RA("about:invalid#zClosurez");var T1L=Pg("tel"),FkR=Pg("sms"),kyh=[Pg("data"),Pg("http"),Pg("https"),Pg("mailto"),Pg("ftp"),new SQ(function(N){return/^[^:]*([/?#]|$)/.test(N)})],mke=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;ad.prototype.toString=function(){return this.T+""};Q$.prototype.toString=function(){return this.T+""};Ei.prototype.toString=function(){return this.T};var S4={};g.S5y=String.prototype.repeat?function(N,H){return N.repeat(H)}:function(N,H){return Array(H+1).join(N)};s3[" "]=function(){};var Ue,Ej,fuy,P_S,UTv,XuR,yl,M_,V0h;g.pX=jA();g.mn=KiR();g.BY=zL("Edge");g.zN=g.BY||g.mn;Ue=zL("Gecko")&&!(OL(g.tA(),"WebKit")&&!zL("Edge"))&&!(zL("Trident")||zL("MSIE"))&&!zL("Edge");g.K6=OL(g.tA(),"WebKit")&&!zL("Edge");Ej=r_();fuy=Vhh();g.zD=gyd();P_S=B5();UTv=zL("iPad");XuR=zL("iPod");yl=PS();M_=OL(g.tA(),"KaiOS"); +a:{var LFf="",Z7h=function(){var N=g.tA();if(Ue)return/rv:([^\);]+)(\)|;)/.exec(N);if(g.BY)return/Edge\/([\d\.]+)/.exec(N);if(g.mn)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(N);if(g.K6)return/WebKit\/(\S+)/.exec(N);if(g.pX)return/(?:Version)[ \/]?(\S+)/.exec(N)}(); +Z7h&&(LFf=Z7h?Z7h[1]:"");if(g.mn){var bB,Y5L=g.di.document;bB=Y5L?Y5L.documentMode:void 0;if(bB!=null&&bB>parseFloat(LFf)){V0h=String(bB);break a}}V0h=LFf}var gds=V0h,dpR={};var P7,U9;g.dL=TV();P7=B5()||zL("iPod");U9=zL("iPad");g.$he=gUt();g.Pc=$l();g.op=Cy()&&!PS();var d_Z=!g.mn&&!Cy();g.C=g.Sr.prototype;g.C.clone=function(){return new g.Sr(this.x,this.y)}; +g.C.equals=function(N){return N instanceof g.Sr&&mB(this,N)}; +g.C.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this}; +g.C.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this}; +g.C.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this}; +g.C.scale=function(N,H){this.x*=N;this.y*=typeof H==="number"?H:N;return this};g.C=g.rv.prototype;g.C.clone=function(){return new g.rv(this.width,this.height)}; +g.C.aspectRatio=function(){return this.width/this.height}; +g.C.isEmpty=function(){return!aU(this)}; +g.C.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; +g.C.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; +g.C.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this}; +g.C.scale=function(N,H){this.width*=N;this.height*=typeof H==="number"?H:N;return this};hY.prototype.toString=function(){return this.T}; +var tY={};new hY(tY,"");var jHS=/^[a-z][a-z\d-]*$/i,XCD="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),Vbe="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),Mne=["action","formaction","href"];var OQl={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};g.C=$Q.prototype;g.C.N4=function(N){return z_(this.T,N)}; +g.C.getElementsByTagName=function(N,H){return(H||this.T).getElementsByTagName(String(N))}; +g.C.Sa=function(N){return g.as(N,this.T)}; +g.C.setProperties=va;g.C.createElement=function(N){return eZ(this.T,N)}; +g.C.appendChild=g.L8;g.C.append=function(N,H){voR(fh(N),N,arguments,1)}; +g.C.canHaveChildren=function(N){if(N.nodeType!=1)return!1;switch(N.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0}; +g.C.removeNode=g.wr;g.C.getChildren=function(N){return N.children!=void 0?N.children:Array.prototype.filter.call(N.childNodes,function(H){return H.nodeType==1})}; +g.C.contains=g.m5;g.C.isFocusable=Eg;vN.prototype.now=function(){return 0}; +vN.prototype.B=function(){return 0}; +vN.prototype.L=function(){return 0}; +vN.prototype.T=function(){return 0};g.k(Te,vN);Te.prototype.now=function(){return c2()&&iJ.performance.now?iJ.performance.now():vN.prototype.now.call(this)}; +Te.prototype.B=function(){return c2()&&iJ.performance.memory?iJ.performance.memory.totalJSHeapSize||0:vN.prototype.B.call(this)}; +Te.prototype.L=function(){return c2()&&iJ.performance.memory?iJ.performance.memory.usedJSHeapSize||0:vN.prototype.L.call(this)}; +Te.prototype.T=function(){return c2()&&iJ.performance.memory?iJ.performance.memory.jsHeapSizeLimit||0:vN.prototype.T.call(this)};var lXt=function(){if(!g.di.addEventListener||!Object.defineProperty)return!1;var N=!1,H=Object.defineProperty({},"passive",{get:function(){N=!0}}); +try{var c=function(){}; +g.di.addEventListener("test",c,H);g.di.removeEventListener("test",c,H)}catch(t){}return N}();var vK3=Cqe("AnimationEnd"),SV=Cqe("TransitionEnd");g.C=wu.prototype;g.C.getHeight=function(){return this.bottom-this.top}; +g.C.clone=function(){return new wu(this.top,this.right,this.bottom,this.left)}; +g.C.contains=function(N){return this&&N?N instanceof wu?N.left>=this.left&&N.right<=this.right&&N.top>=this.top&&N.bottom<=this.bottom:N.x>=this.left&&N.x<=this.right&&N.y>=this.top&&N.y<=this.bottom:!1}; +g.C.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; +g.C.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this}; +g.C.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this}; +g.C.scale=function(N,H){H=typeof H==="number"?H:N;this.left*=N;this.right*=N;this.top*=H;this.bottom*=H;return this};g.C=g.HS.prototype;g.C.clone=function(){return new g.HS(this.left,this.top,this.width,this.height)}; +g.C.contains=function(N){return N instanceof g.Sr?N.x>=this.left&&N.x<=this.left+this.width&&N.y>=this.top&&N.y<=this.top+this.height:this.left<=N.left&&this.left+this.width>=N.left+N.width&&this.top<=N.top&&this.top+this.height>=N.top+N.height}; +g.C.getSize=function(){return new g.rv(this.width,this.height)}; +g.C.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; +g.C.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; +g.C.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this}; +g.C.scale=function(N,H){H=typeof H==="number"?H:N;this.left*=N;this.width*=N;this.top*=H;this.height*=H;return this};var qfD={};var kfv=lH(function(){var N=!1;try{var H=Object.defineProperty({},"passive",{get:function(){N=!0}}); +g.di.addEventListener("test",null,H)}catch(c){}return N});JSt.prototype.isVisible=function(){return YV(Uh)===1};var sSv=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)");ni.prototype.uG=function(N,H,c){N=N+"//"+H+c;var t=AJS(this)-c.length;if(t<0)return"";this.T.sort(function(d,W){return d-W}); +c=null;H="";for(var h=0;h=f.length){t-=f.length;N+=f;H=this.L;break}c=c==null?O:c}}t="";c!=null&&(t=""+H+"trn="+c);return N+t};var BJs=Kz(function(N){return typeof N==="number"}),B7=Kz(function(N){return typeof N==="string"}),yVs=Kz(function(N){return typeof N==="boolean"}),DZ=Kz(function(N){return N!=null&&typeof N==="object"&&typeof N.then==="function"}),Axh=Kz(function(N){return!!N&&(typeof N==="object"||typeof N==="function")});var FBh={jRp:"allow-forms",dzl:"allow-modals",HFp:"allow-orientation-lock",qVp:"allow-pointer-lock",aDa:"allow-popups",yJR:"allow-popups-to-escape-sandbox",xzE:"allow-presentation",Flo:"allow-same-origin",ncS:"allow-scripts",QRi:"allow-top-navigation",sRa:"allow-top-navigation-by-user-activation"},OCZ=lH(function(){return $cw()});W1.prototype.setInterval=function(N,H){return iJ.setInterval(N,H)}; +W1.prototype.clearInterval=function(N){iJ.clearInterval(N)}; +W1.prototype.setTimeout=function(N,H){return iJ.setTimeout(N,H)}; +W1.prototype.clearTimeout=function(N){iJ.clearTimeout(N)};var Wr=void 0,dQ,Qaw=typeof TextDecoder!=="undefined",wrD,m2f=typeof String.prototype.isWellFormed==="function",rED=typeof TextEncoder!=="undefined";var yFL={},xE=null,ppD=Ue||g.K6||typeof g.di.btoa=="function";var AGe=typeof Uint8Array!=="undefined",$lR=!g.mn&&typeof btoa==="function",Tbf=/[-_.]/g,zK3={"-":"+",_:"/",".":"="},Yg={};ZV.prototype.isEmpty=function(){return this.T==null}; +ZV.prototype.sizeBytes=function(){var N=xQ(this);return N?N.length:0}; +var I8R;var Wre=void 0;var jB=typeof Symbol==="function"&&typeof Symbol()==="symbol",auh=U2("jas",void 0,!0),KJ=U2(void 0,"1oa"),mg=U2(void 0,Symbol()),eTe=U2(void 0,"0ub"),IQd=U2(void 0,"0ubs"),RyS=U2(void 0,"0ubsb"),ORh=U2(void 0,"0actk"),XA=U2("m_m","jGp",!0),cih=U2(void 0,"vps"),vef=U2();Math.max.apply(Math,g.HE(Object.values({TAf:1,wLa:2,M9W:4,s7E:8,Whp:16,dFS:32,iAs:64,obo:128,QUp:256,DJs:512,AU_:1024,Sai:2048,HbR:4096,UFg:8192})));var Zve={ltW:{value:0,configurable:!0,writable:!0,enumerable:!1}},LIl=Object.defineProperties,A8=jB?auh:"ltW",qn,s7t=[];rp(s7t,7);qn=Object.freeze(s7t);var Vf={},R0={},EhZ=Object.freeze({}),Qf={},oU={};var yW=typeof g.di.BigInt==="function"&&typeof g.di.BigInt(0)==="bigint";var YS=Kz(function(N){return yW?N>=BIR&&N<=yxe:N[0]==="-"?ZqD(N,Gnv):ZqD(N,RTe)}),Gnv=Number.MIN_SAFE_INTEGER.toString(),BIR=yW?BigInt(Number.MIN_SAFE_INTEGER):void 0,RTe=Number.MAX_SAFE_INTEGER.toString(),yxe=yW?BigInt(Number.MAX_SAFE_INTEGER):void 0;var Xxs=typeof Uint8Array.prototype.slice==="function",k9=0,In=0,kVe;var La=typeof BigInt==="function"?BigInt.asIntN:void 0,X2t=typeof BigInt==="function"?BigInt.asUintN:void 0,tK=Number.isSafeInteger,Wa=Number.isFinite,cq=Math.trunc,zmt=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;var tld={};var oes={P$x:!0};var HQ;var aJv,eqd;var KUl=GV(0),vm={};zW.prototype.init=function(N,H,c,t){var h=t===void 0?{}:t;t=h.WI===void 0?!1:h.WI;h=h.PP===void 0?!1:h.PP;this.WI=t;this.PP=h;N&&(N=o2R(N,this.PP),this.B=N.buffer,this.S=N.T,this.U=H||0,this.L=c!==void 0?this.U+c:this.B.length,this.T=this.U)}; +zW.prototype.free=function(){this.clear();xA.length<100&&xA.push(this)}; +zW.prototype.clear=function(){this.B=null;this.S=!1;this.T=this.L=this.U=0;this.WI=!1}; +zW.prototype.reset=function(){this.T=this.U}; +var xA=[];Z4.prototype.free=function(){this.T.clear();this.B=this.L=-1;LG.length<100&&LG.push(this)}; +Z4.prototype.reset=function(){this.T.reset();this.U=this.T.T;this.B=this.L=-1}; +var LG=[];var K4S,HLv;oX.prototype.length=function(){return this.T.length}; +oX.prototype.end=function(){var N=this.T;this.T=[];return N};var jZ=a8(),knt=a8(),Iul=a8(),b7f=a8(),NSZ=a8(),HYw=a8(),iYL=a8(),cge=a8(),tSy=a8(),hVl=a8(),OYR=a8();XQ.prototype.toJSON=function(){return tB(this)}; +XQ.prototype.UR=function(N){return JSON.stringify(tB(this,N))}; +XQ.prototype.clone=function(){var N=this.hF,H=N[A8]|0;return Nw(this,N,H)?Ha(this,N,!0):new this.constructor(o0(N,H,!1))}; +XQ.prototype[XA]=Vf;XQ.prototype.toString=function(){return this.hF.toString()};var l8s=D$(function(N,H,c,t,h){if(N.B!==2)return!1;RF(N,OH(H,t,c),h);return!0},wCS),WbZ=D$(function(N,H,c,t,h){if(N.B!==2)return!1; +RF(N,OH(H,t,c),h);return!0},wCS),$i=Symbol(),UC=Symbol(),V3=Symbol(),kpf=Symbol(),IFv=Symbol(),sq,Bw;var FJv=Rz(function(N,H,c){if(N.B!==1)return!1;RU(H,c,bme(N.T));return!0},ny,tSy),$vd=Rz(function(N,H,c){if(N.B!==1)return!1; +N=bme(N.T);RU(H,c,N===0?void 0:N);return!0},ny,tSy),TSv=Rz(function(N,H,c,t){if(N.B!==1)return!1; +QY(H,c,t,bme(N.T));return!0},ny,tSy),joS=Rz(function(N,H,c){if(N.B!==0)return!1; +RU(H,c,I4(N.T));return!0},Zi,iYL),MSZ=Rz(function(N,H,c){if(N.B!==0)return!1; +N=I4(N.T);RU(H,c,N===0?void 0:N);return!0},Zi,iYL),fIs=Rz(function(N,H,c,t){if(N.B!==0)return!1; +QY(H,c,t,I4(N.T));return!0},Zi,iYL),dvf=Rz(function(N,H,c){if(N.B!==0)return!1; +RU(H,c,Hq(N.T));return!0},plf,b7f),WJD=Rz(function(N,H,c){if(N.B!==0)return!1; +N=Hq(N.T);RU(H,c,N===0?void 0:N);return!0},plf,b7f),zVf=Rz(function(N,H,c,t){if(N.B!==0)return!1; +QY(H,c,t,Hq(N.T));return!0},plf,b7f),E43=Rz(function(N,H,c){if(N.B!==1)return!1; +RU(H,c,bSD(N.T));return!0},function(N,H,c){RIZ(N,c,VOt(H))},cge),xvh=pOf(function(N,H,c){if(N.B!==1&&N.B!==2)return!1; +H=Mm(H,H[A8]|0,c);if(N.B==2)for(c=Hq(N.T)>>>0,c=N.T.T+c;N.T.T>>0);return!0},function(N,H,c){H=r5(H); +H!=null&&H!=null&&(Xa(N,c,0),pn(N.T,H))},NSZ),hX=Rz(function(N,H,c){if(N.B!==0)return!1; +RU(H,c,Hq(N.T));return!0},function(N,H,c){H=em(H); +H!=null&&(H=parseInt(H,10),Xa(N,c,0),ZH3(N.T,H))},OYR);var Vx3=new Map;g.k(LWy,s3s);AuD.prototype.register=function(){s3(this)};g.k(GM,XQ);GM.prototype.L=Okh([0,$vd,MSZ,-2,WJD]);Ii3.prototype.G0=function(N){var H=this.T[N.key];if(N.valueType==="proto"){try{var c=JSON.parse(H);if(Array.isArray(c))return c}catch(t){}return N.defaultValue}return typeof H===typeof N.defaultValue?H:N.defaultValue};var RKv={JQf:1,CY:2,vNq:3,1:"POSITION",2:"VISIBILITY",3:"MONITOR_VISIBILITY"};b13.prototype.j8=function(N){if(typeof N==="string"&&N.length!=0){var H=this.Ce;if(H.B){N=N.split("&");for(var c=N.length-1;c>=0;c--){var t=N[c].split("="),h=decodeURIComponent(t[0]);t.length>1?(t=decodeURIComponent(t[1]),t=/^[0-9]+$/g.exec(t)?parseInt(t,10):t):t=1;(h=H.T[h])&&h.L(t)}}}};var OF=null;var Me=g.di.performance,wzt=!!(Me&&Me.mark&&Me.measure&&Me.clearMarks),MU=lH(function(){var N;if(N=wzt){var H=H===void 0?window:H;if(OF===null){OF="";try{N="";try{N=H.top.location.hash}catch(t){N=H.location.hash}if(N){var c=N.match(/\bdeid=([\d,]+)/);OF=c?c[1]:""}}catch(t){}}H=OF;N=!!H.indexOf&&H.indexOf("1337")>=0}return N}); +f5.prototype.disable=function(){this.T=!1;this.events!==this.B.google_js_reporting_queue&&(MU()&&g.uT(this.events,FEL),this.events.length=0)}; +f5.prototype.start=function(N,H){if(!this.T)return null;var c=b4s()||dnD();N=new hsv(N,H,c);H="goog_"+N.label+"_"+N.uniqueId+"_start";Me&&MU()&&Me.mark(H);return N}; +f5.prototype.end=function(N){if(this.T&&typeof N.value==="number"){var H=b4s()||dnD();N.duration=H-N.value;H="goog_"+N.label+"_"+N.uniqueId+"_end";Me&&MU()&&Me.mark(H);!this.T||this.events.length>2048||this.events.push(N)}};var $qh=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),g1=/#|$/,sBw=/[?&]($|#)/;ybv.prototype.Uv=function(N,H,c,t,h){h=h||this.Rk;try{var O=new ni;O.T.push(1);O.B[1]=Pa("context",N);H.error&&H.meta&&H.id||(H=new Hd(i7(H)));if(H.msg){var F=H.msg.substring(0,512);O.T.push(2);O.B[2]=Pa("msg",F)}var M=H.meta||{};if(this.m5)try{this.m5(M)}catch(x){}if(t)try{t(M)}catch(x){}t=[M];O.T.push(3);O.B[3]=t;var f=yis();if(f.B){var d=f.B.url||"";O.T.push(4);O.B[4]=Pa("top",d)}var W={url:f.T.url||""};if(f.T.url){var z=g.jp(f.T.url);var E=Mn(z[1],null,z[3],z[4])}else E="";d=[W,{url:E}];O.T.push(5); +O.B[5]=d;uG3(this.T,h,O,c)}catch(x){try{uG3(this.T,h,{context:"ecmserr",rctx:N,msg:i7(x),url:f&&f.T.url},c)}catch(q){}}return this.Ma}; +g.k(Hd,jQ3);var sO,bY,Ee=new f5;sO=new function(){var N="https:";iJ&&iJ.location&&iJ.location.protocol==="http:"&&(N="http:");this.B=N;this.T=.01}; +bY=new ybv;iJ&&iJ.document&&(iJ.document.readyState=="complete"?tOL():Ee.T&&MN(iJ,"load",function(){tOL()}));var Y0h=Date.now(),GI=-1,yT=-1,Tjl,Rv=-1,gJ=!1;br.prototype.equals=function(N,H){return!!N&&(!(H===void 0?0:H)||this.volume==N.volume)&&this.L==N.L&&St(this.T,N.T)&&!0};tz.prototype.N4=function(){return this.C}; +tz.prototype.equals=function(N,H){return this.U.equals(N.U,H===void 0?!1:H)&&this.C==N.C&&St(this.L,N.L)&&St(this.Y,N.Y)&&this.T==N.T&&this.S==N.S&&this.B==N.B&&this.Z==N.Z};var DvS={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},VG={rS:"start",CR:"firstquartile",nw:"midpoint",kE:"thirdquartile",COMPLETE:"complete",ERROR:"error",Fw:"metric",PAUSE:"pause",Rd:"resume",E$:"skip",YE:"viewable_impression",Ai:"mute",fY:"unmute",u9:"fullscreen",Po:"exitfullscreen",mN:"bufferstart",SI:"bufferfinish",KR:"fully_viewable_audible_half_duration_impression",xf:"measurable_impression",wB:"abandon",gB:"engagedview",VM:"impression",JC:"creativeview",LOADED:"loaded", +cQg:"progress",CLOSE:"close",MVg:"collapse",BaT:"overlay_resize",L8_:"overlay_unmeasurable_impression",U_o:"overlay_unviewable_impression",W8E:"overlay_viewable_immediate_impression",hbS:"overlay_viewable_end_of_session_impression",k7:"custom_metric_viewable",LR:"audio_audible",hC:"audio_measurable",Uj:"audio_impression"},sRh="start firstquartile midpoint thirdquartile resume loaded".split(" "),B2R=["start","firstquartile","midpoint","thirdquartile"],GbS=["abandon"],Y0={UNKNOWN:-1,rS:0,CR:1,nw:2, +kE:3,COMPLETE:4,Fw:5,PAUSE:6,Rd:7,E$:8,YE:9,Ai:10,fY:11,u9:12,Po:13,KR:14,xf:15,wB:16,gB:17,VM:18,JC:19,LOADED:20,k7:21,mN:22,SI:23,Uj:27,hC:28,LR:29};var ums={Gup:"addEventListener",TLs:"getMaxSize",imE:"getScreenSize",BLp:"getState",Lfo:"getVersion",QHg:"removeEventListener",BAa:"isViewable"};SHf.prototype.update=function(N){N&&N.document&&(this.C=n0(!1,N,this.isMobileDevice),this.T=n0(!0,N,this.isMobileDevice),Hiv(this,N),fvS(this,N))};exw.prototype.cancel=function(){jl().clearTimeout(this.T);this.T=null}; +exw.prototype.schedule=function(){var N=this,H=jl(),c=BV().T.T;this.T=H.setTimeout(NV(c,eF(143,function(){N.B++;N.L.sample()})),$JS())};g.C=ZB.prototype;g.C.gm=function(){return!1}; +g.C.initialize=function(){return this.isInitialized=!0}; +g.C.YW=function(){return this.T.Ix}; +g.C.Vi=function(){return this.T.Bp}; +g.C.fail=function(N,H){if(!this.Bp||(H===void 0?0:H))this.Bp=!0,this.Ix=N,this.Z=0,this.T!=this||sX(this)}; +g.C.getName=function(){return this.T.Kq}; +g.C.tA=function(){return this.T.qM()}; +g.C.qM=function(){return{}}; +g.C.fB=function(){return this.T.Z}; +g.C.wU=function(){var N=yG();N.T=n0(!0,this.L,N.isMobileDevice)}; +g.C.Tb=function(){fvS(yG(),this.L)}; +g.C.R2=function(){return this.U.T}; +g.C.sample=function(){}; +g.C.isActive=function(){return this.T.Y}; +g.C.jy=function(N){var H=this.T;this.T=N.fB()>=this.Z?N:this;H!==this.T?(this.Y=this.T.Y,sX(this)):this.Y!==this.T.Y&&(this.Y=this.T.Y,sX(this))}; +g.C.d4=function(N){if(N.B===this.T){var H=!this.U.equals(N,this.TW);this.U=N;H&&GRl(this)}}; +g.C.JV=function(){return this.TW}; +g.C.dispose=function(){this.NT=!0}; +g.C.uo=function(){return this.NT};g.C=Bf.prototype;g.C.observe=function(){return!0}; +g.C.unobserve=function(){}; +g.C.ri=function(N){this.S=N}; +g.C.dispose=function(){if(!this.uo()){var N=this.B;g.JC(N.S,this);N.TW&&this.JV()&&N9l(N);this.unobserve();this.ox=!0}}; +g.C.uo=function(){return this.ox}; +g.C.tA=function(){return this.B.tA()}; +g.C.fB=function(){return this.B.fB()}; +g.C.YW=function(){return this.B.YW()}; +g.C.Vi=function(){return this.B.Vi()}; +g.C.jy=function(){}; +g.C.d4=function(){this.hA()}; +g.C.JV=function(){return this.NT};g.C=Ss.prototype;g.C.fB=function(){return this.T.fB()}; +g.C.YW=function(){return this.T.YW()}; +g.C.Vi=function(){return this.T.Vi()}; +g.C.create=function(N,H,c){var t=null;this.T&&(t=this.u5(N,H,c),kS(this.T,t));return t}; +g.C.iS=function(){return this.P9()}; +g.C.P9=function(){return!1}; +g.C.init=function(N){return this.T.initialize()?(kS(this.T,this),this.U=N,!0):!1}; +g.C.jy=function(N){N.fB()==0&&this.U(N.YW(),this)}; +g.C.d4=function(){}; +g.C.JV=function(){return!1}; +g.C.dispose=function(){this.S=!0}; +g.C.uo=function(){return this.S}; +g.C.tA=function(){return{}};af.prototype.add=function(N,H,c){++this.L;N=new oOw(N,H,c);this.T.push(new oOw(N.B,N.T,N.L+this.L/4096));this.B=!0;return this};iDD.prototype.toString=function(){var N="//pagead2.googlesyndication.com//pagead/gen_204",H=Ve(this.T);H.length>0&&(N+="?"+H);return N};g.L.prototype.wJ=!1;g.L.prototype.uo=function(){return this.wJ}; +g.L.prototype.dispose=function(){this.wJ||(this.wJ=!0,this.Os())}; +g.L.prototype[Symbol.dispose]=function(){this.dispose()}; +g.L.prototype.addOnDisposeCallback=function(N,H){this.wJ?H!==void 0?N.call(H):N():(this.xD||(this.xD=[]),H&&(N=N.bind(H)),this.xD.push(N))}; +g.L.prototype.Os=function(){if(this.xD)for(;this.xD.length;)this.xD.shift()()};var QoZ=[0,joS,quR,-1];M7.prototype.update=function(N,H,c){N&&(this.T+=H,this.B+=H,this.U+=H,this.L=Math.max(this.L,this.U));if(c===void 0?!N:c)this.U=0};var TZR=[1,.75,.5,.3,0];FR.prototype.update=function(N,H,c,t,h,O){O=O===void 0?!0:O;H=h?Math.min(N,H):H;for(h=0;h0&&H>=F;F=!(N>0&&N>=F)||c;this.T[h].update(O&&M,t,!O||F)}};mO.prototype.update=function(N,H,c,t){this.C=this.C!=-1?Math.min(this.C,H.V0):H.V0;this.Us=Math.max(this.Us,H.V0);this.ox=this.ox!=-1?Math.min(this.ox,H.Fn):H.Fn;this.Ix=Math.max(this.Ix,H.Fn);this.UF.update(H.Fn,c.Fn,H.T,N,t);this.gE+=N;H.V0===0&&(this.Kq+=N);this.B.update(H.V0,c.V0,H.T,N,t);c=t||c.DJ!=H.DJ?c.isVisible()&&H.isVisible():c.isVisible();H=!H.isVisible()||H.T;this.zW.update(c,N,H)}; +mO.prototype.Zq=function(){return this.zW.L>=this.Al};if(Uh&&Uh.URL){var pze=Uh.URL,uN3;a:{if(pze){var Jgv=RegExp(".*[&#?]google_debug(=[^&]*)?(&.*)?$");try{var Fo=Jgv.exec(decodeURIComponent(pze));if(Fo){uN3=Fo[1]&&Fo[1].length>1?Fo[1].substring(1):"true";break a}}catch(N){}}uN3=""}bY.Ma=!(uN3.length>0)};var n4s=new wu(0,0,0,0);var vd3=new wu(0,0,0,0);g.k(kg,g.L);g.C=kg.prototype; +g.C.Os=function(){if(this.pJ.T){if(this.L$.IF){var N=this.pJ.T;typeof N.removeEventListener==="function"&&N.removeEventListener("mouseover",this.L$.IF,j4());this.L$.IF=null}this.L$.Ev&&(N=this.pJ.T,typeof N.removeEventListener==="function"&&N.removeEventListener("mouseout",this.L$.Ev,j4()),this.L$.Ev=null)}this.g6&&this.g6.dispose();this.ZI&&this.ZI.dispose();delete this.wX;delete this.h1;delete this.eT;delete this.pJ.Jk;delete this.pJ.T;delete this.L$;delete this.g6;delete this.ZI;delete this.Ce; +g.L.prototype.Os.call(this)}; +g.C.pB=function(){return this.ZI?this.ZI.T:this.position}; +g.C.j8=function(N){BV().j8(N)}; +g.C.JV=function(){return!1}; +g.C.aC=function(){return new mO}; +g.C.vv=function(){return this.wX}; +g.C.Mg=function(N){return E93(this,N,1E4)}; +g.C.Df=function(N,H,c,t,h,O,F){this.sB||(this.dw&&(N=this.ue(N,c,h,F),t=t&&this.mE.V0>=(this.DJ()?.3:.5),this.Vg(O,N,t),this.nE=H,N.V0>0&&-1===this.U5&&(this.U5=H),this.o_==-1&&this.Zq()&&(this.o_=H),this.wY==-2&&(this.wY=ZY(this.pB())?N.V0:-1),this.mE=N),this.h1(this))}; +g.C.Vg=function(N,H,c){this.vv().update(N,H,this.mE,c)}; +g.C.g3=function(){return new bL}; +g.C.ue=function(N,H,c,t){c=this.g3();c.T=H;H=jl().B;H=YV(Uh)===0?-1:H.isVisible()?0:1;c.B=H;c.V0=this.TI(N);c.DJ=this.DJ();c.Fn=t;return c}; +g.C.TI=function(N){return this.opacity===0&&FP(this.Ce,"opac")===1?0:N}; +g.C.DJ=function(){return!1}; +g.C.Rj=function(){return this.rFq||this.N_g}; +g.C.U_=function(){UW()}; +g.C.uO=function(){UW()}; +g.C.KV=function(){return this.requestSource}; +g.C.Zj=function(){return 0}; +g.C.Zq=function(){return this.wX.Zq()}; +g.C.mq=function(){var N=this.dw;N=(this.hasCompleted||this.uo())&&!N;var H=BV().B!==2||this.DfR;return this.sB||H&&N?2:this.Zq()?4:3}; +g.C.V8=function(){return 0};g.Zn.prototype.next=function(){return g.$f}; +g.$f={done:!0,value:void 0};g.Zn.prototype.Zz=function(){return this};g.k(qze,bL);var Tt=K5h([void 0,1,2,3,4,8,16]),jb=K5h([void 0,4,8,16]),Suw={sv:"sv",v:"v",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",p0:wV("p0",jb),p1:wV("p1",jb),p2:wV("p2",jb),p3:wV("p3",jb),cp:"cp",tos:"tos",mtos:"mtos",amtos:"amtos",mtos1:u0("mtos1",[0,2,4],!1,jb),mtos2:u0("mtos2",[0,2,4],!1,jb),mtos3:u0("mtos3",[0,2,4],!1,jb),mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",vht:"vht",mut:"mut",a:"a",a0:wV("a0",jb),a1:wV("a1",jb),a2:wV("a2",jb),a3:wV("a3",jb),ft:"ft",dft:"dft",at:"at",dat:"dat",as:"as", +vpt:"vpt",gmm:"gmm",std:"std",efpf:"efpf",swf:"swf",nio:"nio",px:"px",nnut:"nnut",vmer:"vmer",vmmk:"vmmk",vmiec:"vmiec",nmt:"nmt",tcm:"tcm",bt:"bt",pst:"pst",vpaid:"vpaid",dur:"dur",vmtime:"vmtime",dtos:"dtos",dtoss:"dtoss",dvs:"dvs",dfvs:"dfvs",dvpt:"dvpt",fmf:"fmf",vds:"vds",is:"is",i0:"i0",i1:"i1",i2:"i2",i3:"i3",ic:"ic",cs:"cs",c:"c",c0:wV("c0",jb),c1:wV("c1",jb),c2:wV("c2",jb),c3:wV("c3",jb),mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:wV("qmtos",Tt),qnc:wV("qnc",Tt),qmv:wV("qmv",Tt),qnv:wV("qnv",Tt), +raf:"raf",rafc:"rafc",lte:"lte",ces:"ces",tth:"tth",femt:"femt",femvt:"femvt",emc:"emc",emuc:"emuc",emb:"emb",avms:"avms",nvat:"nvat",qi:"qi",psm:"psm",psv:"psv",psfv:"psfv",psa:"psa",pnk:"pnk",pnc:"pnc",pnmm:"pnmm",pns:"pns",ptlt:"ptlt",pngs:"pings",veid:"veid",ssb:"ssb",ss0:wV("ss0",jb),ss1:wV("ss1",jb),ss2:wV("ss2",jb),ss3:wV("ss3",jb),dc_rfl:"urlsigs",obd:"obd",omidp:"omidp",omidr:"omidr",omidv:"omidv",omida:"omida",omids:"omids",omidpv:"omidpv",omidam:"omidam",omidct:"omidct",omidia:"omidia", +omiddc:"omiddc",omidlat:"omidlat",omiddit:"omiddit",nopd:"nopd",co:"co",tm:"tm",tu:"tu"},P$l=Object.assign({},Suw,{avid:TQ("audio"),avas:"avas",vs:"vs"}),Uvy={atos:"atos",avt:u0("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:function(N,H){return function(c){return c[N]===void 0&&H!==void 0?H:c[N]}}("ss",0), +t:"t"};QG.prototype.getValue=function(){return this.B}; +QG.prototype.update=function(N,H){N>=32||(this.T&1<=.5;T9(H.volume)&&(this.U=this.U!=-1?Math.min(this.U,H.volume):H.volume,this.Y=Math.max(this.Y,H.volume));O&&(this.NT+=N,this.TW+=h?N:0);this.T.update(H.V0,c.V0,H.T,N,t,h);this.L.update(!0,N);this.S.update(h,N);this.Bp.update(c.fullscreen,N);this.WO.update(h&&!O,N);N=Math.floor(H.mediaTime/1E3);this.Cq.update(N,H.isVisible());this.w_.update(N,H.V0>=1);this.Xg.update(N, +pJ(H))}};$RS.prototype.B=function(N){this.L||(this.T(N)?(N=Bvs(this.TW,this.U,N),this.S|=N,N=N==0):N=!1,this.L=N)};g.k(fe,$RS);fe.prototype.T=function(){return!0}; +fe.prototype.Y=function(){return!1}; +fe.prototype.getId=function(){var N=this,H=yj(VG,function(c){return c==N.U}); +return Y0[H].toString()}; +fe.prototype.toString=function(){var N="";this.Y()&&(N+="c");this.L&&(N+="s");this.S>0&&(N+=":"+this.S);return this.getId()+N};g.k(yh,fe);yh.prototype.B=function(N,H){H=H===void 0?null:H;H!=null&&this.C.push(H);fe.prototype.B.call(this,N)};g.k(Od,weh);Od.prototype.B=function(){return null}; +Od.prototype.L=function(){return[]};g.k(dT,Bf);g.C=dT.prototype;g.C.GP=function(){if(this.element){var N=this.element,H=this.B.T.L;try{try{var c=Cbs(N.getBoundingClientRect())}catch(d){c=new wu(0,0,0,0)}var t=c.right-c.left,h=c.bottom-c.top,O=ZgZ(N,H),F=O.x,M=O.y;var f=new wu(Math.round(M),Math.round(F+t),Math.round(M+h),Math.round(F))}catch(d){f=n4s.clone()}this.L=f;this.T=bUh(this,this.L)}}; +g.C.m_=function(){this.Y=this.B.U.T}; +g.C.oP=function(N){var H=FP(this.Ce,"od")==1;return qVL(N,this.Y,this.element,H)}; +g.C.EQ=function(){this.timestamp=UW()}; +g.C.hA=function(){this.EQ();this.GP();if(this.element&&typeof this.element.videoWidth==="number"&&typeof this.element.videoHeight==="number"){var N=this.element;var H=new g.rv(N.videoWidth,N.videoHeight);N=this.T;var c=Gj(N),t=N.getHeight(),h=H.width;H=H.height;h<=0||H<=0||c<=0||t<=0||(h/=H,H=c/t,N=N.clone(),h>H?(c/=h,t=(t-c)/2,t>0&&(t=N.top+t,N.top=Math.round(t),N.bottom=Math.round(t+c))):(t*=h,c=Math.round((c-t)/2),c>0&&(c=N.left+c,N.left=Math.round(c),N.right=Math.round(c+t))));this.T=N}this.m_(); +N=this.T;c=this.Y;N=N.left<=c.right&&c.left<=N.right&&N.top<=c.bottom&&c.top<=N.bottom?new wu(Math.max(N.top,c.top),Math.min(N.right,c.right),Math.min(N.bottom,c.bottom),Math.max(N.left,c.left)):new wu(0,0,0,0);c=N.top>=N.bottom||N.left>=N.right?new wu(0,0,0,0):N;N=this.B.U;H=h=t=0;if((this.T.bottom-this.T.top)*(this.T.right-this.T.left)>0)if(this.oP(c))c=new wu(0,0,0,0);else{t=yG().U;H=new wu(0,t.height,t.width,0);var O;t=AB(c,(O=this.S)!=null?O:this.T);h=AB(c,yG().T);H=AB(c,H)}O=c.top>=c.bottom|| +c.left>=c.right?new wu(0,0,0,0):kF(c,-this.T.left,-this.T.top);L2()||(h=t=0);this.TW=new tz(N,this.element,this.T,O,t,h,this.timestamp,H)}; +g.C.getName=function(){return this.B.getName()};var Xze=new wu(0,0,0,0);g.k(B1,dT);g.C=B1.prototype;g.C.observe=function(){this.U();return!0}; +g.C.d4=function(){dT.prototype.hA.call(this)}; +g.C.EQ=function(){}; +g.C.GP=function(){}; +g.C.hA=function(){this.U();dT.prototype.hA.call(this)}; +g.C.jy=function(N){N=N.isActive();N!==this.Z&&(N?this.U():(yG().T=new wu(0,0,0,0),this.T=new wu(0,0,0,0),this.Y=new wu(0,0,0,0),this.timestamp=-1));this.Z=N};var ME={},B1y=(ME.firstquartile=0,ME.midpoint=1,ME.thirdquartile=2,ME.complete=3,ME);g.k(Ta,kg);g.C=Ta.prototype;g.C.JV=function(){return!0}; +g.C.PL=function(){return this.DG==2}; +g.C.Mg=function(N){return E93(this,N,Math.max(1E4,this.L/3))}; +g.C.Df=function(N,H,c,t,h,O,F){var M=this,f=this.C(this)||{};g.NY(f,h);this.L=f.duration||this.L;this.TW=f.isVpaid||this.TW;this.Kq=f.isYouTube||this.Kq;jl();this.UF=!1;h=R6w(this,H);U4w(this)===1&&(O=h);kg.prototype.Df.call(this,N,H,c,t,f,O,F);this.XV&&this.XV.L&&g.uT(this.Y,function(d){d.B(M)})}; +g.C.Vg=function(N,H,c){kg.prototype.Vg.call(this,N,H,c);Vi(this).update(N,H,this.mE,c);this.Al=pJ(this.mE)&&pJ(H);this.Ix==-1&&this.w_&&(this.Ix=this.vv().L.T);this.FO.L=0;N=this.Zq();H.isVisible()&&Jy(this.FO,"vs");N&&Jy(this.FO,"vw");T9(H.volume)&&Jy(this.FO,"am");pJ(H)?Jy(this.FO,"a"):Jy(this.FO,"mut");this.M6&&Jy(this.FO,"f");H.B!=-1&&(Jy(this.FO,"bm"),H.B==1&&(Jy(this.FO,"b"),pJ(H)&&Jy(this.FO,"umutb")));pJ(H)&&H.isVisible()&&Jy(this.FO,"avs");this.Al&&N&&Jy(this.FO,"avw");H.V0>0&&Jy(this.FO, +"pv");KR(this,this.vv().L.T,!0)&&Jy(this.FO,"gdr");RN(this.vv().B,1)>=2E3&&Jy(this.FO,"pmx");this.UF&&Jy(this.FO,"tvoff")}; +g.C.aC=function(){return new Swe}; +g.C.vv=function(){return this.wX}; +g.C.g3=function(){return new qze}; +g.C.ue=function(N,H,c,t){N=kg.prototype.ue.call(this,N,H,c,t===void 0?-1:t);N.fullscreen=this.M6;N.paused=this.PL();N.volume=c.volume;T9(N.volume)||(this.mG++,H=this.mE,T9(H.volume)&&(N.volume=H.volume));c=c.currentTime;N.mediaTime=c!==void 0&&c>=0?c:-1;return N}; +g.C.TI=function(N){return yG(),this.M6?1:kg.prototype.TI.call(this,N)}; +g.C.Zj=function(){return 1}; +g.C.getDuration=function(){return this.L}; +g.C.mq=function(){return this.sB?2:s$y(this)?5:this.Zq()?4:3}; +g.C.V8=function(){return this.WO?this.vv().S.L>=2E3?4:3:2}; +g.C.ri=function(N){this.ZI&&this.ZI.ri(N)};var VSe=g.vg();NZS.prototype.reset=function(){this.T=[];this.B=[]}; +var Qg=vQ(NZS);g.k(MV,Ss);g.C=MV.prototype;g.C.getName=function(){return(this.B?this.B:this.T).getName()}; +g.C.tA=function(){return(this.B?this.B:this.T).tA()}; +g.C.fB=function(){return(this.B?this.B:this.T).fB()}; +g.C.init=function(N){var H=!1;(0,g.uT)(this.L,function(c){c.initialize()&&(H=!0)}); +H&&(this.U=N,kS(this.T,this));return H}; +g.C.dispose=function(){(0,g.uT)(this.L,function(N){N.dispose()}); +Ss.prototype.dispose.call(this)}; +g.C.iS=function(){return hA(this.L,function(N){return N.gm()})}; +g.C.P9=function(){return hA(this.L,function(N){return N.gm()})}; +g.C.u5=function(N,H,c){return new dT(N,this.T,H,c)}; +g.C.d4=function(N){this.B=N.B};var pSD={threshold:[0,.3,.5,.75,1]};g.k(yi,dT);g.C=yi.prototype;g.C.observe=function(){var N=this;this.Us||(this.Us=UW());if(kSR(298,function(){return JTw(N)}))return!0; +this.B.fail("msf");return!1}; +g.C.unobserve=function(){if(this.U&&this.element)try{this.U.unobserve(this.element),this.Z?(this.Z.unobserve(this.element),this.Z=null):this.C&&(this.C.disconnect(),this.C=null)}catch(N){}}; +g.C.hA=function(){var N=upy(this);N.length>0&&tw(this,N);dT.prototype.hA.call(this)}; +g.C.GP=function(){}; +g.C.oP=function(){return!1}; +g.C.m_=function(){}; +g.C.tA=function(){var N={};return Object.assign(this.B.tA(),(N.niot_obs=this.Us,N.niot_cbk=this.Bp,N))}; +g.C.getName=function(){return"nio"};g.k(f$,Ss);f$.prototype.getName=function(){return"nio"}; +f$.prototype.P9=function(){return!yG().B&&this.T.T.L.IntersectionObserver!=null}; +f$.prototype.u5=function(N,H,c){return new yi(N,this.T,H,c)};g.k(OP,ZB);OP.prototype.R2=function(){return yG().T}; +OP.prototype.gm=function(){var N=PAZ();this.Z!==N&&(this.T!=this&&N>this.T.Z&&(this.T=this,sX(this)),this.Z=N);return N==2};Ns3.prototype.sample=function(){sN(this,p4(),!1)}; +Ns3.prototype.U=function(){var N=L2(),H=UW();N?(gJ||(GI=H,g.uT(Qg.T,function(c){var t=c.vv();t.vp=rJ(t,H,c.DG!=1)})),gJ=!0):(this.C=Out(this,H),gJ=!1,Tjl=H,g.uT(Qg.T,function(c){c.dw&&(c.vv().Z=H)})); +sN(this,p4(),!N)}; +var kG=vQ(Ns3);var GAD=null,IF="",oNf=!1;var enS=A1d().kS,ZE=A1d().pE;var XDf={xyx:"visible",NHx:"audible",bpi:"time",X_R:"timetype"},VXy={visible:function(N){return/^(100|[0-9]{1,2})$/.test(N)}, +audible:function(N){return N=="0"||N=="1"}, +timetype:function(N){return N=="mtos"||N=="tos"}, +time:function(N){return/^(100|[0-9]{1,2})%$/.test(N)||/^([0-9])+ms$/.test(N)}}; +KZv.prototype.setTime=function(N,H,c){H=="ms"?(this.L=N,this.U=-1):(this.L=-1,this.U=N);this.S=c===void 0?"tos":c;return this};g.k(c$,fe);c$.prototype.getId=function(){return this.C}; +c$.prototype.Y=function(){return!0}; +c$.prototype.T=function(N){var H=N.vv(),c=N.getDuration();return hA(this.Z,function(t){if(t.T!=void 0)var h=R0f(t,H);else b:{switch(t.S){case "mtos":h=t.B?H.S.L:H.L.T;break b;case "tos":h=t.B?H.S.T:H.L.T;break b}h=0}h==0?t=!1:(t=t.L!=-1?t.L:c!==void 0&&c>0?t.U*c:-1,t=t!=-1&&h>=t);return t})};g.k(SJ,m$D);SJ.prototype.T=function(N){var H=new ggd;H.T=us(N,Suw);H.B=us(N,Uvy);return H};g.k(dn,fe);dn.prototype.T=function(N){return s$y(N)};g.k(q$,weh);g.k(Ldw,fe);Ldw.prototype.T=function(N){return N.vv().Zq()};g.k($B,yh);$B.prototype.T=function(N){var H=g.O7(this.C,FP(BV().Ce,"ovms"));return!N.sB&&(N.DG!=0||H)};g.k(Cw,q$);Cw.prototype.B=function(){return new $B(this.T)}; +Cw.prototype.L=function(){return[new Ldw("viewable_impression",this.T),new dn(this.T)]};g.k(yn,B1);yn.prototype.U=function(){var N=g.NA("ima.admob.getViewability"),H=FP(this.Ce,"queryid");typeof N==="function"&&H&&N(H)}; +yn.prototype.getName=function(){return"gsv"};g.k(TR,Ss);TR.prototype.getName=function(){return"gsv"}; +TR.prototype.P9=function(){var N=yG();BV();return N.B&&!1}; +TR.prototype.u5=function(N,H,c){return new yn(this.T,H,c)};g.k(Yj,B1);Yj.prototype.U=function(){var N=this,H=g.NA("ima.bridge.getNativeViewability"),c=FP(this.Ce,"queryid");typeof H==="function"&&c&&H(c,function(t){g.NF(t)&&N.C++;var h=t.opt_nativeViewVisibleBounds||{},O=t.opt_nativeViewHidden;N.T=VVe(t.opt_nativeViewBounds||{});var F=N.B.U;F.T=O?Xze.clone():VVe(h);N.timestamp=t.opt_nativeTime||-1;yG().T=F.T;t=t.opt_nativeVolume;t!==void 0&&(F.volume=t)})}; +Yj.prototype.getName=function(){return"nis"};g.k(jT,Ss);jT.prototype.getName=function(){return"nis"}; +jT.prototype.P9=function(){var N=yG();BV();return N.B&&!1}; +jT.prototype.u5=function(N,H,c){return new Yj(this.T,H,c)};g.k($h,ZB);g.C=$h.prototype;g.C.gm=function(){return this.B.tI!=null}; +g.C.qM=function(){var N={};this.Cq&&(N.mraid=this.Cq);this.ox&&(N.mlc=1);N.mtop=this.B.BJq;this.C&&(N.mse=this.C);this.gE&&(N.msc=1);N.mcp=this.B.compatibility;return N}; +g.C.QY=function(N){var H=g.LQ.apply(1,arguments);try{return this.B.tI[N].apply(this.B.tI,H)}catch(c){ov(538,c,.01,function(t){t.method=N})}}; +g.C.initialize=function(){var N=this;if(this.isInitialized)return!this.Vi();this.isInitialized=!0;if(this.B.compatibility===2)return this.C="ng",this.fail("w"),!1;if(this.B.compatibility===1)return this.C="mm",this.fail("w"),!1;yG().Z=!0;this.L.document.readyState&&this.L.document.readyState=="complete"?yDs(this):ZK(this.L,"load",function(){jl().setTimeout(eF(292,function(){return yDs(N)}),100)},292); +return!0}; +g.C.wU=function(){var N=yG(),H=uOy(this,"getMaxSize");N.T=new wu(0,H.width,H.height,0)}; +g.C.Tb=function(){yG().U=uOy(this,"getScreenSize")}; +g.C.dispose=function(){J7f(this);ZB.prototype.dispose.call(this)};var LJZ=new function(N,H){this.key=N;this.defaultValue=H===void 0?!1:H;this.valueType="boolean"}("45378663");g.C=TO.prototype;g.C.wZ=function(N){YA(N,!1);L$y(N)}; +g.C.LD=function(){}; +g.C.VK=function(N,H,c,t){var h=this;N=new Ta(iJ,N,c?H:-1,7,this.Ig(),this.jG());N.RR=t;Vtf(N.Ce);oG(N.Ce,"queryid",N.RR);N.j8("");iLw(N,function(){return h.gQ.apply(h,g.HE(g.LQ.apply(0,arguments)))},function(){return h.qsa.apply(h,g.HE(g.LQ.apply(0,arguments)))}); +(t=vQ(EE).T)&&PTw(N,t);this.L&&(N.ri(this.L),this.L=null);N.pJ.Jk&&vQ(t2e);return N}; +g.C.jy=function(N){switch(N.fB()){case 0:if(N=vQ(EE).T)N=N.T,g.JC(N.S,this),N.TW&&this.JV()&&N9l(N);EW();break;case 2:z$()}}; +g.C.d4=function(){}; +g.C.JV=function(){return!1}; +g.C.qsa=function(N,H){N.sB=!0;switch(N.Zj()){case 1:rOe(N,H);break;case 2:this.UH(N)}}; +g.C.M1W=function(N){var H=N.C(N);H&&(H=H.volume,N.WO=T9(H)&&H>0);nLS(N,0);return V7(N,"start",L2())}; +g.C.Hn=function(N,H,c){sN(kG,[N],!L2());return this.zv(N,H,c)}; +g.C.zv=function(N,H,c){return V7(N,c,L2())}; +g.C.FRT=function(N){return B0(N,"firstquartile",1)}; +g.C.Qxi=function(N){N.w_=!0;return B0(N,"midpoint",2)}; +g.C.wOp=function(N){return B0(N,"thirdquartile",3)}; +g.C.afq=function(N){var H=B0(N,"complete",4);e4(N);return H}; +g.C.yll=function(N){N.DG=3;return V7(N,"error",L2())}; +g.C.Bj=function(N,H,c){H=L2();if(N.PL()&&!H){var t=N.vv(),h=UW();t.Z=h}sN(kG,[N],!H);N.PL()&&(N.DG=1);return V7(N,c,H)}; +g.C.Alp=function(N,H){H=this.Hn(N,H||{},"skip");e4(N);return H}; +g.C.n_S=function(N,H){YA(N,!0);return this.Hn(N,H||{},"fullscreen")}; +g.C.xTE=function(N,H){YA(N,!1);return this.Hn(N,H||{},"exitfullscreen")}; +g.C.Ch=function(N,H,c){H=N.vv();var t=UW();H.vp=rJ(H,t,N.DG!=1);sN(kG,[N],!L2());N.DG==1&&(N.DG=2);return V7(N,c,L2())}; +g.C.sxE=function(N){sN(kG,[N],!L2());return N.B()}; +g.C.Mx=function(N){sN(kG,[N],!L2());this.xR(N);e4(N);return N.B()}; +g.C.gQ=function(){}; +g.C.UH=function(){}; +g.C.xR=function(){}; +g.C.Bq=function(){}; +g.C.rN=function(){}; +g.C.jG=function(){this.T||(this.T=this.rN());return this.T==null?new Od:new Cw(this.T)}; +g.C.Ig=function(){return new SJ};g.k(pw,fe);pw.prototype.T=function(N){return N.V8()==4};g.k(GA,yh);GA.prototype.T=function(N){N=N.V8();return N==3||N==4};g.k(zY,q$);zY.prototype.B=function(){return new GA(this.T)}; +zY.prototype.L=function(){return[new pw(this.T)]};g.k(ya,m$D);ya.prototype.T=function(N){N&&(N.e===28&&(N=Object.assign({},N,{avas:3})),N.vs===4||N.vs===5)&&(N=Object.assign({},N,{vs:3}));var H=new ggd;H.T=us(N,P$l);H.B=us(N,Uvy);return H};z8y.prototype.B=function(){return g.NA(this.T)};g.k(Jw,TO);g.C=Jw.prototype;g.C.LD=function(N,H){var c=this,t=vQ(EE);if(t.T!=null)switch(t.T.getName()){case "nis":var h=zXe(this,N,H);break;case "gsv":h=hvt(this,N,H);break;case "exc":h=e8v(this,N)}h||(H.opt_overlayAdElement?h=void 0:H.opt_adElement&&(h=ZKL(this,N,H.opt_adElement,H.opt_osdId)));h&&h.Zj()==1&&(h.C==g.$$&&(h.C=function(O){return c.Bq(O)}),ElS(this,h,H)); +return h}; +g.C.Bq=function(N){N.B=0;N.NT=0;if(N.U=="h"||N.U=="n"){BV();N.Xg&&(BV(),XD(this)!="h"&&XD(this));var H=g.NA("ima.common.getVideoMetadata");if(typeof H==="function")try{var c=H(N.RR)}catch(h){N.B|=4}else N.B|=2}else if(N.U=="b")if(H=g.NA("ytads.bulleit.getVideoMetadata"),typeof H==="function")try{c=H(N.RR)}catch(h){N.B|=4}else N.B|=2;else if(N.U=="ml")if(H=g.NA("ima.common.getVideoMetadata"),typeof H==="function")try{c=H(N.RR)}catch(h){N.B|=4}else N.B|=2;else N.B|=1;N.B||(c===void 0?N.B|=8:c===null? +N.B|=16:g.NF(c)?N.B|=32:c.errorCode!=null&&(N.NT=c.errorCode,N.B|=64));c==null&&(c={});H=c;N.Z=0;for(var t in DvS)H[t]==null&&(N.Z|=DvS[t]);wlZ(H,"currentTime");wlZ(H,"duration");T9(c.volume)&&T9()&&(c.volume*=NaN);return c}; +g.C.rN=function(){BV();XD(this)!="h"&&XD(this);var N=Juw(this);return N!=null?new z8y(N):null}; +g.C.UH=function(N){!N.T&&N.sB&&MEv(this,N,"overlay_unmeasurable_impression")&&(N.T=!0)}; +g.C.xR=function(N){N.KT&&(N.Zq()?MEv(this,N,"overlay_viewable_end_of_session_impression"):MEv(this,N,"overlay_unviewable_impression"),N.KT=!1)}; +g.C.gQ=function(){}; +g.C.VK=function(N,H,c,t){if(BV().flags.G0(LJZ)){var h=FP(BV().Ce,"mm"),O={};(h=(O[wb.Bo]="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO",O[wb.VIDEO]="ACTIVE_VIEW_TRAFFIC_TYPE_VIDEO",O)[h])&&JAv(this,h);this.U==="ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"&&ov(1044,Error())}N=TO.prototype.VK.call(this,N,H,c,t);this.S&&(H=this.Y,N.S==null&&(N.S=new hYL),H.T[N.RR]=N.S,N.S.S=VSe);return N}; +g.C.wZ=function(N){N&&N.Zj()==1&&this.S&&delete this.Y.T[N.RR];return TO.prototype.wZ.call(this,N)}; +g.C.jG=function(){this.T||(this.T=this.rN());return this.T==null?new Od:this.U==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new zY(this.T):new Cw(this.T)}; +g.C.Ig=function(){return this.U==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new ya:new SJ}; +g.C.ri=function(N,H,c,t,h){H=new wu(c,H+t,c+h,H);(N=Tv(Qg,N))?N.ri(H):this.L=H}; +var ZYl=aO(193,dEy,void 0,Vlh);g.Hw("Goog_AdSense_Lidar_sendVastEvent",ZYl);var Yue=eF(194,function(N,H){H=H===void 0?{}:H;N=fLZ(vQ(Jw),N,H);return oLl(N)}); +g.Hw("Goog_AdSense_Lidar_getViewability",Yue);var Agl=aO(195,function(){return rCD()}); +g.Hw("Goog_AdSense_Lidar_getUrlSignalsArray",Agl);var aIL=eF(196,function(){return JSON.stringify(rCD())}); +g.Hw("Goog_AdSense_Lidar_getUrlSignalsList",aIL);var qXD=g.X3(["//ep2.adtrafficquality.google/sodar/",""]),Cfd=g.X3(["//tpc.googlesyndication.com/sodar/",""]);g.k(fZ,Error);g.k(ev,g.L);ev.prototype.qK=function(){return this.wpc.f()}; +ev.prototype.SM=function(N){this.wpc.c(N)}; +ev.prototype.P1=function(N){return this.wpc.m(gul(N))}; +ev.prototype.K5=function(N){return this.wpc.mws(gul(N))}; +g.k(bS,g.L);bS.prototype.snapshot=function(N){return this.BU.s(Object.assign({},N.N_&&{c:N.N_},N.AT&&{s:N.AT},N.T9!==void 0&&{p:N.T9}))}; +bS.prototype.QW=function(N){this.BU.e(N)}; +bS.prototype.hm=function(){return this.BU.l()};g.k(Tk,g.L);Tk.prototype.share=function(){if(this.uo())throw Error("E:AD");this.B++;return this}; +Tk.prototype.dispose=function(){--this.B||g.L.prototype.dispose.call(this)};dK3.prototype.pA=function(N,H){this.T.pA("/client_streamz/bg/frs",N,H)}; +kdh.prototype.pA=function(N,H,c,t,h,O){this.T.pA("/client_streamz/bg/wrl",N,H,c,t,h,O)}; +WXe.prototype.zU=function(N,H){this.T.vz("/client_streamz/bg/ec",N,H)}; +lpy.prototype.pA=function(N,H,c){this.T.pA("/client_streamz/bg/el",N,H,c)}; +U8L.prototype.zU=function(N,H){this.T.vz("/client_streamz/bg/cec",N,H)}; +a9t.prototype.zU=function(N,H){this.T.vz("/client_streamz/bg/po/csc",N,H)}; +tBt.prototype.zU=function(N,H){this.T.vz("/client_streamz/bg/po/ctav",N,H)}; +NtZ.prototype.zU=function(N,H){this.T.vz("/client_streamz/bg/po/cwsc",N,H)};g.k(xDL,XQ);g.k(fK,XQ);var dh=[1,2,3];var eVh=[0,dh,g4R,zVf,lI3];var v4w=[0,HC,[0,FJv,joS]];g.k($Y,XQ);var jF=[1,2,3];var so3=[0,jF,fIs,TSv,cC,v4w];g.k(MY,XQ);var BSd=[0,HC,eVh,so3];var ygv=[0,NE];g.k(Bx,XQ);var Gze=[0,NE,-1,C$v];var RVD=[0,NE,-1,dvf,C$v];g.k(sc,XQ);var rps=[1,2,3];var o4D=[0,rps,cC,Gze,cC,RVD,cC,ygv];g.k(FZ,XQ);FZ.prototype.E9=function(){var N=s8(this,3,Yn,3,!0);sY(N);return N[void 0]};FZ.prototype.L=Okh([0,NE,o4D,KJw,HC,BSd,E43,xvh]);g.k(BmR,XQ);g.C=za.prototype;g.C.isEnabled=function(){if(!g.di.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{maxAge:60});if(this.get("TESTCOOKIESENABLED")!=="1")return!1;this.remove("TESTCOOKIESENABLED");return!0}; +g.C.set=function(N,H,c){var t=!1;if(typeof c==="object"){var h=c.sameSite;t=c.secure||!1;var O=c.domain||void 0;var F=c.path||void 0;var M=c.maxAge}if(/[;=\s]/.test(N))throw Error('Invalid cookie name "'+N+'"');if(/[;\r\n]/.test(H))throw Error('Invalid cookie value "'+H+'"');M===void 0&&(M=-1);c=O?";domain="+O:"";F=F?";path="+F:"";t=t?";secure":"";M=M<0?"":M==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+M*1E3)).toUTCString();this.T.cookie=N+"="+H+c+F+M+t+(h!=null? +";samesite="+h:"")}; +g.C.get=function(N,H){for(var c=N+"=",t=(this.T.cookie||"").split(";"),h=0,O;h=0;H--)this.remove(N[H])}; +var ah=new za(typeof document=="undefined"?null:document);n6e.prototype.compress=function(N){var H,c,t,h;return g.Y(function(O){switch(O.T){case 1:return H=new CompressionStream("gzip"),c=(new Response(H.readable)).arrayBuffer(),t=H.writable.getWriter(),g.a(O,t.write((new TextEncoder).encode(N)),2);case 2:return g.a(O,t.close(),3);case 3:return h=Uint8Array,g.a(O,c,4);case 4:return O.return(new h(O.B))}})}; +n6e.prototype.isSupported=function(N){return N<1024?!1:typeof CompressionStream!=="undefined"};g.k(hN,XQ);gn.prototype.setInterval=function(N){this.intervalMs=N;this.timer&&this.enabled?(this.stop(),this.start()):this.timer&&this.stop()}; +gn.prototype.start=function(){var N=this;this.enabled=!0;this.timer||(this.timer=setTimeout(function(){N.tick()},this.intervalMs),this.B=this.T())}; +gn.prototype.stop=function(){this.enabled=!1;this.timer&&(clearTimeout(this.timer),this.timer=void 0)}; +gn.prototype.tick=function(){var N=this;if(this.enabled){var H=Math.max(this.T()-this.B,0);H0?c:void 0));c=WE(c,4,Wc(h>0?h:void 0));c=WE(c,5,Wc(O>0?O:void 0));h=c.hF;O=h[A8]|0;c=bN(c,O)?c:Nw(c,h,O)?Ha(c,h):new c.constructor(o0(h,O,!0));ko(F,zh,10,c)}F=this.T.clone();c=Date.now().toString();F=WE(F,4,pM(c));N=wp(F,k0,3,N.slice());t&&(F=new Qo,t=WE(F,13,Wc(t)),F=new hBD, +t=ko(F,Qo,2,t),F=new MkZ,t=ko(F,hBD,1,t),t=qf(t,2,9),ko(N,MkZ,18,t));H&&XK(N,14,H);return N};g.Ke.prototype.B=0;g.Ke.prototype.reset=function(){this.T=this.L=this.U;this.B=0}; +g.Ke.prototype.getValue=function(){return this.L};g.k(O1,XQ);var kzS=Fp(O1);g.k(Y8y,XQ);var fC;fC=new AuD;g.k(mi,g.L);g.C=mi.prototype;g.C.Os=function(){rn(this);this.B.stop();this.Cq.stop();g.L.prototype.Os.call(this)}; +g.C.dispatch=function(N){if(N instanceof k0)this.log(N);else try{var H=new k0,c=N.UR();var t=ES(H,8,c);this.log(t)}catch(h){S2(this,4,1)}}; +g.C.log=function(N){S2(this,2,1);if(this.gE){N=N.clone();var H=this.zW++;N=XK(N,21,H);this.componentId&&ES(N,26,this.componentId);H=N;var c=mq(H,1);var t=t===void 0?!1:t;var h=typeof c;t=c==null?c:h==="bigint"?String(La(64,c)):iV(c)?h==="string"?ZP(c):t?oz(c):Yb(c):void 0;t==null&&(t=Date.now(),t=Number.isFinite(t)?t.toString():"0",WE(H,1,pM(t)));t=mq(H,15);t!=null&&(typeof t==="bigint"?YS(t)?t=Number(t):(t=La(64,t),t=YS(t)?Number(t):String(t)):t=iV(t)?typeof t==="number"?Yb(t):ZP(t):void 0);t!=null|| +XK(H,15,(new Date).getTimezoneOffset()*60);this.experimentIds&&(t=this.experimentIds.clone(),ko(H,hN,16,t));S2(this,1,1);H=this.T.length-1E3+1;H>0&&(this.T.splice(0,H),this.U+=H,S2(this,3,H));this.T.push(N);this.DP||this.B.enabled||this.B.start()}}; +g.C.flush=function(N,H){var c=this;if(this.T.length===0)N&&N();else if(this.Ix&&this.Bp)this.L.B=3,Ir3(this);else{var t=Date.now();if(this.vp>t&&this.NT0&&(c.NT=Date.now(),c.vp=c.NT+E);E=TX(mg);var r;jB&&E&&((r=x.hF[E])==null?void 0:r[175237375])!=null&&n4(eTe,3);a:{var w=w===void 0?!1:w;if(TX(vef)&&TX(mg)&&void 0===vef){r=x.hF;E=r[mg];if(!E)break a;if(E=E.NG)try{E(r,175237375,oes);break a}catch(n){W2(n)}}w&&(w=x.hF,(r=TX(mg))&&r in w&&(w=w[r])&&delete w[175237375])}w=fC.T?fC.B(x,fC.T, +175237375,fC.L):fC.B(x,175237375,null,fC.L);if(w=w===null?void 0:w)w=yM(w,1,-1),w!==-1&&(c.S=new g.Ke(w<1?1:w,3E5,.1),c.B.setInterval(c.S.getValue()))}}N&&N();c.Y=0}; +M?M.then(function(E){S2(c,5,h);f.requestHeaders["Content-Encoding"]="gzip";f.requestHeaders["Content-Type"]="application/binary";f.body=E;f.WX=2;W()},function(){S2(c,6,h); +W()}):W()}}}}; +g.C.isRetryable=function(N){return 500<=N&&N<600||N===401||N===0};OOs.prototype.send=function(N,H,c){var t=this,h,O,F,M,f,d,W,z,E,x;return g.Y(function(q){switch(q.T){case 1:return O=(h=t.Dy?new AbortController:void 0)?setTimeout(function(){h.abort()},N.timeoutMillis):void 0,g.Xy(q,2,3),F=Object.assign({},{method:N.requestType, +headers:Object.assign({},N.requestHeaders)},N.body&&{body:N.body},N.withCredentials&&{credentials:"include"},{signal:N.timeoutMillis&&h?h.signal:null}),g.a(q,fetch(N.url,F),5);case 5:M=q.B;if(M.status!==200){(f=c)==null||f(M.status);q.rE(3);break}if((d=H)==null){q.rE(7);break}return g.a(q,M.text(),8);case 8:d(q.B);case 7:case 3:g.B$(q);clearTimeout(O);g.JV(q,0);break;case 2:W=g.Lq(q);switch((z=W)==null?void 0:z.name){case "AbortError":(E=c)==null||E(408);break;default:(x=c)==null||x(400)}q.rE(3)}})}; +OOs.prototype.B3=function(){return 4};g.k(bI,g.L);bI.prototype.GI=function(){this.U=!0;return this}; +bI.prototype.build=function(){this.network||(this.network=new OOs);var N=new mi({logSource:this.logSource,NR:this.NR?this.NR:XO3,sessionIndex:this.sessionIndex,iFa:this.Iu,Vx:this.L,DP:!1,GI:this.U,hp:this.hp,network:this.network});g.l(this,N);if(this.buildLabel){var H=this.buildLabel,c=Le(N.L);ES(c,7,H)}N.C=new n6e;this.componentId&&(N.componentId=this.componentId);this.Gz&&(N.Gz=this.Gz);this.pageId&&(N.pageId=this.pageId);this.T&&((c=this.T)?(N.experimentIds||(N.experimentIds=new hN),H=N.experimentIds, +c=c.UR(),ES(H,4,c)):N.experimentIds&&WE(N.experimentIds,4));this.B&&(N.Ix=N.Bp);GSv(N.L);this.network.h7&&this.network.h7(this.logSource);this.network.Qoi&&this.network.Qoi(N);return N};g.k(do3,g.L);do3.prototype.flush=function(N){N=N||[];if(N.length){for(var H=new BmR,c=[],t=0;t-1?(H=N[F],c||(H.Kx=!1)):(H=new epL(H,this.src,O,!!t,h),H.Kx=c,N.push(H));return H}; +g.C.remove=function(N,H,c,t){N=N.toString();if(!(N in this.listeners))return!1;var h=this.listeners[N];H=bP(h,H,c,t);return H>-1?(qo(h[H]),g.wd(h,H),h.length==0&&(delete this.listeners[N],this.T--),!0):!1}; +g.C.removeAll=function(N){N=N&&N.toString();var H=0,c;for(c in this.listeners)if(!N||c==N){for(var t=this.listeners[c],h=0;h-1?N[h]:null}; +g.C.hasListener=function(N,H){var c=N!==void 0,t=c?N.toString():"",h=H!==void 0;return g.h0(this.listeners,function(O){for(var F=0;F>>0);g.$_(g.d9,g.L);g.d9.prototype[QGL]=!0;g.C=g.d9.prototype;g.C.addEventListener=function(N,H,c,t){g.OY(this,N,H,c,t)}; +g.C.removeEventListener=function(N,H,c,t){PeZ(this,N,H,c,t)}; +g.C.dispatchEvent=function(N){var H=this.gp;if(H){var c=[];for(var t=1;H;H=H.gp)c.push(H),++t}H=this.bZ;t=N.type||N;if(typeof N==="string")N=new g.sk(N,H);else if(N instanceof g.sk)N.target=N.target||H;else{var h=N;N=new g.sk(t,H);g.NY(N,h)}h=!0;var O;if(c)for(O=c.length-1;!N.B&&O>=0;O--){var F=N.currentTarget=c[O];h=V9(F,t,!0,N)&&h}N.B||(F=N.currentTarget=H,h=V9(F,t,!0,N)&&h,N.B||(h=V9(F,t,!1,N)&&h));if(c)for(O=0;!N.B&&O0){this.B--;var N=this.T;this.T=N.next;N.next=null}else N=this.L();return N};var b1;s_.prototype.add=function(N,H){var c=dD3.get();c.set(N,H);this.B?this.B.next=c:this.T=c;this.B=c}; +s_.prototype.remove=function(){var N=null;this.T&&(N=this.T,this.T=this.T.next,this.T||(this.B=null),N.next=null);return N}; +var dD3=new rly(function(){return new Px},function(N){return N.reset()}); +Px.prototype.set=function(N,H){this.T=N;this.scope=H;this.next=null}; +Px.prototype.reset=function(){this.next=this.scope=this.T=null};var j8y,Tm=!1,MqZ=new s_;CMw.prototype.reset=function(){this.context=this.B=this.L=this.T=null;this.U=!1}; +var J0l=new rly(function(){return new CMw},function(N){N.reset()}); +g.EL.prototype.then=function(N,H,c){return ivd(this,IH(typeof N==="function"?N:null),IH(typeof H==="function"?H:null),c)}; +g.EL.prototype.$goog_Thenable=!0;g.C=g.EL.prototype;g.C.finally=function(N){var H=this;N=IH(N);return new g.EL(function(c,t){YjL(H,function(h){N();c(h)},function(h){N(); +t(h)})})}; +g.C.lw=function(N,H){return ivd(this,null,IH(N),H)}; +g.C.catch=g.EL.prototype.lw;g.C.cancel=function(N){if(this.T==0){var H=new xY(N);g.OT(function(){n1L(this,H)},this)}}; +g.C.qmS=function(N){this.T=0;sh(this,2,N)}; +g.C.aMa=function(N){this.T=0;sh(this,3,N)}; +g.C.Yr=function(){for(var N;N=SlZ(this);)v8L(this,N,this.T,this.C);this.Y=!1}; +var eCh=W2;g.$_(xY,w9);xY.prototype.name="cancel";g.$_(g.ND,g.d9);g.C=g.ND.prototype;g.C.enabled=!1;g.C.xO=null;g.C.setInterval=function(N){this.wy=N;this.xO&&this.enabled?(this.stop(),this.start()):this.xO&&this.stop()}; +g.C.CRl=function(){if(this.enabled){var N=g.vg()-this.Y2;N>0&&N0&&(this.getStatus(),this.Y=setTimeout(this.SU.bind(this), +this.Bp)),this.getStatus(),this.TW=!0,this.T.send(N),this.TW=!1}catch(F){this.getStatus(),e1l(this,F)}}; +g.C.SU=function(){typeof uML!="undefined"&&this.T&&(this.U="Timed out after "+this.Bp+"ms, aborting",this.B=8,this.getStatus(),this.dispatchEvent("timeout"),this.abort(8))}; +g.C.abort=function(N){this.T&&this.L&&(this.getStatus(),this.L=!1,this.S=!0,this.T.abort(),this.S=!1,this.B=N||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),FX(this))}; +g.C.Os=function(){this.T&&(this.L&&(this.L=!1,this.S=!0,this.T.abort(),this.S=!1),FX(this,!0));g.VD.w0.Os.call(this)}; +g.C.Qn=function(){this.uo()||(this.ox||this.TW||this.S?JUZ(this):this.C2f())}; +g.C.C2f=function(){JUZ(this)}; +g.C.isActive=function(){return!!this.T}; +g.C.isComplete=function(){return g.Oy(this)==4}; +g.C.getStatus=function(){try{return g.Oy(this)>2?this.T.status:-1}catch(N){return-1}}; +g.C.getResponseHeader=function(N){if(this.T&&this.isComplete())return N=this.T.getResponseHeader(N),N===null?void 0:N}; +g.C.getLastError=function(){return typeof this.U==="string"?this.U:String(this.U)};WT.prototype.send=function(N,H,c){H=H===void 0?function(){}:H; +c=c===void 0?function(){}:c; +v5f(N.url,function(t){t=t.target;bf(t)?H(g.$r(t)):c(t.getStatus())},N.requestType,N.body,N.requestHeaders,N.timeoutMillis,N.withCredentials)}; +WT.prototype.B3=function(){return 1};KK.prototype.done=function(){this.logger.AE(this.event,c4()-this.startTime)}; +g.k(kB,Tk);g.k(Ny,kB);g.C=Ny.prototype;g.C.Jb=function(){}; +g.C.AQ=function(){}; +g.C.AE=function(){}; +g.C.vZ=function(){}; +g.C.Oh=function(){}; +g.C.kU=function(N,H,c,t){return t}; +g.C.x5=function(){}; +g.C.d8=function(){}; +g.C.qI=function(){}; +g.k(cFL,kB);g.C=cFL.prototype;g.C.update=function(N){this.logger.dispose();this.logger=N}; +g.C.AQ=function(N){this.logger.AQ(N)}; +g.C.AE=function(N,H){this.logger.AE(N,H)}; +g.C.vZ=function(N){this.logger.vZ(N)}; +g.C.Oh=function(){this.logger.Oh()}; +g.C.kU=function(N,H,c,t){return this.logger.kU(N,H,c,t)}; +g.C.x5=function(N){this.logger.x5(N)}; +g.C.d8=function(N){this.logger.d8(N)}; +g.C.qI=function(N){this.logger.qI(N)}; +g.C.Jb=function(N){this.logger.Jb(N)}; +g.k(xde,g.L);g.k(IW,kB);g.C=IW.prototype;g.C.Jb=function(N){this.metrics.Ufp.pA(N,this.LF)}; +g.C.AQ=function(N){this.metrics.eventCount.zU(N,this.LF)}; +g.C.AE=function(N,H){this.metrics.Pk.pA(H,N,this.LF)}; +g.C.vZ=function(N){this.metrics.errorCount.zU(N,this.LF)}; +g.C.kU=function(N,H,c,t){function h(M){if(!O.uo()){var f=c4()-F;O.metrics.oca.pA(f,N,c,M,H,O.LF)}} +var O=this,F=c4();t.then(function(){return void h(0)},function(M){return void h(M instanceof SB?M.code:-1)}); +return t}; +g.C.x5=function(N){this.metrics.mzW.zU(N,this.LF)}; +g.C.d8=function(N){this.metrics.lk.zU(N,this.LF)}; +g.C.qI=function(N){this.metrics.SVf.zU(N,this.LF)}; +g.k(HK,IW);HK.prototype.Oh=function(){uSs(this.T)};g.k(sl,XQ);g.k(BK,XQ);g.k(q2,XQ);var ho3=Fp(q2),OvR=function(N){return Kz(function(H){return H instanceof N&&!bN(H)})}(q2); +q2.messageId="bfkj";g.k(os,XQ);g.k(CK,XQ);var FId=Fp(CK);g.k(gh,g.L);gh.prototype.snapshot=function(N){if(this.uo())throw Error("Already disposed");this.logger.AQ("n");var H=this.logger.share();return this.L.then(function(c){var t=c.As;return new Promise(function(h){var O=new KK(H,"n");t(function(F){O.done();H.Jb(F.length);H.Oh();H.dispose();h(F)},[N.N_, +N.AT,N.nz,N.T9])})})}; +gh.prototype.vj=function(N){var H=this;if(this.uo())throw Error("Already disposed");this.logger.AQ("n");var c=PB(this.logger,function(){return H.U([N.N_,N.AT,N.nz,N.T9])},"n"); +this.logger.Jb(c.length);this.logger.Oh();return c}; +gh.prototype.QW=function(N){this.L.then(function(H){var c;(c=H.eAp)==null||c(N)})}; +gh.prototype.hm=function(){return this.logger.share()};g.k(eX,XQ);g.k(yp,XQ);rW.prototype.dN=function(N){return Bbe(this,N,new Ny,0)};g.k(m3,g.L);m3.prototype.snapshot=function(N){var H=this;return g.Y(function(c){switch(c.T){case 1:if(H.uo())throw Error("Already disposed");if(H.B||H.C){c.rE(2);break}return g.a(c,H.S.promise,2);case 2:if(!H.B){c.rE(4);break}return g.a(c,H.B.snapshot(N),5);case 5:return c.return(c.B);case 4:throw H.C;}})}; +m3.prototype.QW=function(N){var H,c;(H=this.B)==null||(c=H.QW)==null||c.call(H,N)}; +m3.prototype.handleError=function(N){if(!this.uo()){this.C=N;this.S.resolve();var H,c;(c=(H=this.options).Uis)==null||c.call(H,N)}}; +m3.prototype.hm=function(){return this.logger.share()}; +var tXh={OCi:432E5,Lz:3E5,R_:10,VX:1E4,vk:3E4,zmE:3E4,MPs:6E4,Ne:1E3,Ja:6E4,pj:6E5,gh:.25,rh:2,maxAttempts:10};var Nt4,YS3=(Nt4=Math.imul)!=null?Nt4:function(N,H){return N*H|0},r7=[196, +200,224,18];QT.prototype.UR=function(){return String(this.T)+","+this.B.join()}; +QT.prototype.X1=function(N,H){var c=void 0;if(this.B[this.T]!==N){var t=this.B.indexOf(N);t!==-1?(this.B.splice(t,1),t0;)H[c++]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".charAt(N%62),N=Math.floor(N/62);return H.join("")}};g.k(zb,g.L);zb.prototype.K5=function(N,H){var c=this.P1(N);H==null||H(c);return PB(this.logger,function(){return g.Eq(c,2)},this.B)}; +g.k(MC,zb);MC.prototype.P1=function(N,H){var c=this;this.logger.AQ(this.T);++this.S>=this.Y&&this.L.resolve();var t=N();N=PB(this.logger,function(){return c.U(t)},"C"); +if(N===void 0)throw new fZ(17,"YNJ:Undefined");if(!(N instanceof Uint8Array))throw new fZ(18,"ODM:Invalid");H==null||H(N);return N}; +g.k(fF,zb);fF.prototype.P1=function(){return this.U}; +g.k(xv,zb);xv.prototype.P1=function(){var N=this;return PB(this.logger,function(){return m6(N.U)},"d")}; +xv.prototype.K5=function(){return this.U}; +g.k(Sq,zb);Sq.prototype.P1=function(){if(this.U)return this.U;this.U=HCy(this,function(N){return"_"+LoD(N)}); +return HCy(this,function(N){return N})}; +g.k(Ij,zb);Ij.prototype.P1=function(){var N=Math.floor(Date.now()/1E3),H=[Math.random()*255,Math.random()*255],c=H.concat([this.U&255,this.clientState],[N>>24&255,N>>16&255,N>>8&255,N&255]);N=new Uint8Array(2+c.length);N[0]=34;N[1]=c.length;N.set(c,2);c=N.subarray(2);for(var t=H=H.length;t150))try{this.cache=new i6e(N,this.logger)}catch(H){this.reportError(new fZ(22,"GBJ:init",H))}}; +g.C.reportError=function(N){this.logger.vZ(N.code);this.onError(N);return N}; +var jYd=function(N){return Kz(function(H){if(!Axh(H))return!1;for(var c=g.K(Object.entries(N)),t=c.next();!t.done;t=c.next()){var h=g.K(t.value);t=h.next().value;h=h.next().value;if(!(t in H)){if(h.uqq===!0)continue;return!1}if(!h(H[t]))return!1}return!0})}({BU:function(N){return Kz(function(H){return H instanceof N})}(m3)},"");var vQl=(new Date).getTime();g.k(JN,XQ);var Hsc=Fp(JN);m9w.prototype.getMetadata=function(){return this.metadata};nd.prototype.getMetadata=function(){return this.metadata}; +nd.prototype.getStatus=function(){return this.status};B9.prototype.C=function(N,H){H=H===void 0?{}:H;return new m9w(N,this,H)}; +B9.prototype.getName=function(){return this.name};var isZ=new B9("/google.internal.waa.v1.Waa/Create",eX,JN,function(N){return N.UR()},Hsc);g.k(AW,XQ);var d8S=new B9("/google.internal.waa.v1.Waa/GenerateIT",yp,AW,function(N){return N.UR()},Fp(AW));var U_w=new Set(["SAPISIDHASH","APISIDHASH"]);g.k(Xu,XQ);Xu.prototype.getValue=function(){var N=mq(this,2);if(Array.isArray(N)||N instanceof XQ)throw Error("Cannot access the Any.value field on Any protos encoded using the jspb format, call unpackJspb instead");return vD(this,2)};g.k(Nu,XQ);Nu.prototype.getMessage=function(){return lX(this,2)}; +var FaZ=Fp(Nu);O8.prototype.removeListener=function(N,H){N==="data"?F3(this.B,H):N==="metadata"?F3(this.U,H):N==="status"?F3(this.S,H):N==="end"?F3(this.L,H):N==="error"&&F3(this.T,H);return this}; +O8.prototype.cancel=function(){this.xhr.abort()}; +g.k(w$3,Error);g.$_(g.DM,xFw);g.DM.prototype.T=function(){var N=new Zo(this.U,this.L);this.B&&N.setCredentialsMode(this.B);return N}; +g.DM.prototype.setCredentialsMode=function(N){this.B=N}; +g.$_(Zo,g.d9);g.C=Zo.prototype;g.C.open=function(N,H){if(this.readyState!=0)throw this.abort(),Error("Error reopening a connection");this.Us=N;this.Bp=H;this.readyState=1;hR(this)}; +g.C.send=function(N){if(this.readyState!=1)throw this.abort(),Error("need to call open() first. ");if(this.Z.signal.aborted)throw this.abort(),Error("Request was aborted.");this.T=!0;var H={headers:this.TW,method:this.Us,credentials:this.S,cache:void 0,signal:this.Z.signal};N&&(H.body=N);(this.ox||g.di).fetch(new Request(this.Bp,H)).then(this.dTo.bind(this),this.Su.bind(this))}; +g.C.abort=function(){this.response=this.responseText="";this.TW=new Headers;this.status=0;this.Z.abort("Request was aborted.");this.L&&this.L.cancel("Request was aborted.").catch(function(){}); +this.readyState>=1&&this.T&&this.readyState!=4&&(this.T=!1,C0(this));this.readyState=0}; +g.C.dTo=function(N){if(this.T&&(this.U=N,this.B||(this.status=this.U.status,this.statusText=this.U.statusText,this.B=N.headers,this.readyState=2,hR(this)),this.T&&(this.readyState=3,hR(this),this.T)))if(this.responseType==="arraybuffer")N.arrayBuffer().then(this.Xpg.bind(this),this.Su.bind(this));else if(typeof g.di.ReadableStream!=="undefined"&&"body"in N){this.L=N.body.getReader();if(this.Y){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.'); +this.response=[]}else this.response=this.responseText="",this.C=new TextDecoder;pEl(this)}else N.text().then(this.jxR.bind(this),this.Su.bind(this))}; +g.C.tax=function(N){if(this.T){if(this.Y&&N.value)this.response.push(N.value);else if(!this.Y){var H=N.value?N.value:new Uint8Array(0);if(H=this.C.decode(H,{stream:!N.done}))this.response=this.responseText+=H}N.done?C0(this):hR(this);this.readyState==3&&pEl(this)}}; +g.C.jxR=function(N){this.T&&(this.response=this.responseText=N,C0(this))}; +g.C.Xpg=function(N){this.T&&(this.response=N,C0(this))}; +g.C.Su=function(){this.T&&C0(this)}; +g.C.setRequestHeader=function(N,H){this.TW.append(N,H)}; +g.C.getResponseHeader=function(N){return this.B?this.B.get(N.toLowerCase())||"":""}; +g.C.getAllResponseHeaders=function(){if(!this.B)return"";for(var N=[],H=this.B.entries(),c=H.next();!c.done;)c=c.value,N.push(c[0]+": "+c[1]),c=H.next();return N.join("\r\n")}; +g.C.setCredentialsMode=function(N){this.S=N}; +Object.defineProperty(Zo.prototype,"withCredentials",{get:function(){return this.S==="include"}, +set:function(N){this.setCredentialsMode(N?"include":"same-origin")}});g.O3.prototype.toString=function(){var N=[],H=this.S;H&&N.push(ks(H,cSd,!0),":");var c=this.T;if(c||H=="file")N.push("//"),(H=this.Z)&&N.push(ks(H,cSd,!0),"@"),N.push(g.mI(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.L,c!=null&&N.push(":",String(c));if(c=this.B)this.T&&c.charAt(0)!="/"&&N.push("/"),N.push(ks(c,c.charAt(0)=="/"?th4:hZR,!0));(c=this.U.toString())&&N.push("?",c);(c=this.Y)&&N.push("#",ks(c,OsG));return N.join("")}; +g.O3.prototype.resolve=function(N){var H=this.clone(),c=!!N.S;c?g.v3(H,N.S):c=!!N.Z;c?H.Z=N.Z:c=!!N.T;c?g.Jv(H,N.T):c=N.L!=null;var t=N.B;if(c)g.sD(H,N.L);else if(c=!!N.B){if(t.charAt(0)!="/")if(this.T&&!this.B)t="/"+t;else{var h=H.B.lastIndexOf("/");h!=-1&&(t=H.B.slice(0,h+1)+t)}h=t;if(h==".."||h==".")t="";else if(g.ri(h,"./")||g.ri(h,"/.")){t=eD(h,"/");h=h.split("/");for(var O=[],F=0;F1||O.length==1&&O[0]!="")&&O.pop(), +t&&F==h.length&&O.push("")):(O.push(M),t=!0)}t=O.join("/")}else t=h}c?H.B=t:c=N.U.toString()!=="";c?B3(H,N.U.clone()):c=!!N.Y;c&&(H.Y=N.Y);return H}; +g.O3.prototype.clone=function(){return new g.O3(this)}; +var cSd=/[#\/\?@]/g,hZR=/[#\?:]/g,th4=/[#\?]/g,H9l=/[#\?@]/g,OsG=/#/g;g.C=w7.prototype;g.C.add=function(N,H){Ec(this);this.L=null;N=IO(this,N);var c=this.T.get(N);c||this.T.set(N,c=[]);c.push(H);this.B=this.B+1;return this}; +g.C.remove=function(N){Ec(this);N=IO(this,N);return this.T.has(N)?(this.L=null,this.B=this.B-this.T.get(N).length,this.T.delete(N)):!1}; +g.C.clear=function(){this.T=this.L=null;this.B=0}; +g.C.isEmpty=function(){Ec(this);return this.B==0}; +g.C.forEach=function(N,H){Ec(this);this.T.forEach(function(c,t){c.forEach(function(h){N.call(H,h,t,this)},this)},this)}; +g.C.eH=function(){Ec(this);for(var N=Array.from(this.T.values()),H=Array.from(this.T.keys()),c=[],t=0;t0?String(N[0]):H}; +g.C.toString=function(){if(this.L)return this.L;if(!this.T)return"";for(var N=[],H=Array.from(this.T.keys()),c=0;c>>3;O.L!=1&&O.L!=2&&O.L!=15&&oW(O,F,M,"unexpected tag");O.T=1;O.B=0;O.U=0} +function c(f){O.S[O.Z++]=f;O.Z==O.B&&t()} +function t(){if(O.L<15){var f={};f[O.L]=O.S;O.C.push(f)}O.T=0} +function h(f){O.U++;O.U==5&&f&240&&oW(O,F,M,"message length too long");O.B|=(f&127)<<(O.U-1)*7;f&128||(O.T=2,O.Z=0,typeof Uint8Array!=="undefined"?O.S=new Uint8Array(O.B):O.S=Array(O.B),O.B==0&&t())} +for(var O=this,F=N instanceof Array?N:new Uint8Array(N),M=0;M0?N:null};hL.prototype.isInputValid=function(){return this.T===null}; +hL.prototype.Yl=function(){return this.T}; +hL.prototype.sE=function(){return!1}; +hL.prototype.parse=function(N){this.T!==null&&$xe(this,N,"stream already broken");var H=null;try{var c=this.L;c.L||V$R(c,N,"stream already broken");c.T+=N;var t=Math.floor(c.T.length/4);if(t==0)var h=null;else{try{var O=ROd(c.T.slice(0,t*4))}catch(F){V$R(c,c.T,F.message)}c.B+=t*4;c.T=c.T.slice(t*4);h=O}H=h===null?null:this.U.parse(h)}catch(F){$xe(this,N,F.message)}this.B+=N.length;return H};var $fG={INIT:0,FA:1,qd:2,DA:3,TT:4,wm:5,STRING:6,dj:7,Pq:8,Kd:9,t5:10,Gb:11,F9:12,Qg:13,sA:14,A4:15,YM:16,Cd:17,uS:18,iZ:19,Hi:20};g.C=y5s.prototype;g.C.isInputValid=function(){return this.S!=3}; +g.C.Yl=function(){return this.TW}; +g.C.done=function(){return this.S===2}; +g.C.sE=function(){return!1}; +g.C.parse=function(N){function H(){var q=F.pop();return q!=null?q:f.FA} +function c(q){O.B>1||(q||(q=z===-1?O.U+N.substring(W,E):N.substring(z,E)),O.Bp?O.Y.push(q):O.Y.push(JSON.parse(q)),z=E)} +function t(){for(;E0;)if(q=N[E++], +O.Z===4?O.Z=0:O.Z++,!q)break a;if(q==='"'&&!O.C){O.T=H();break}if(q==="\\"&&!O.C&&(O.C=!0,q=N[E++],!q))break;if(O.C)if(O.C=!1,q==="u"&&(O.Z=1),q=N[E++])continue;else break;M.lastIndex=E;q=M.exec(N);if(!q){E=N.length+1;break}E=q.index+1;q=N[q.index];if(!q)break}O.L+=E-r;continue;case f.Kd:if(!q)continue;q==="r"?O.T=f.t5:a0(O,N,E);continue;case f.t5:if(!q)continue;q==="u"?O.T=f.Gb:a0(O,N,E);continue;case f.Gb:if(!q)continue;q==="e"?O.T=H():a0(O,N,E);continue;case f.F9:if(!q)continue;q==="a"?O.T=f.Qg: +a0(O,N,E);continue;case f.Qg:if(!q)continue;q==="l"?O.T=f.sA:a0(O,N,E);continue;case f.sA:if(!q)continue;q==="s"?O.T=f.A4:a0(O,N,E);continue;case f.A4:if(!q)continue;q==="e"?O.T=H():a0(O,N,E);continue;case f.YM:if(!q)continue;q==="u"?O.T=f.Cd:a0(O,N,E);continue;case f.Cd:if(!q)continue;q==="l"?O.T=f.uS:a0(O,N,E);continue;case f.uS:if(!q)continue;q==="l"?O.T=H():a0(O,N,E);continue;case f.iZ:q==="."?O.T=f.Hi:a0(O,N,E);continue;case f.Hi:if("0123456789.eE+-".indexOf(q)!==-1)continue;else E--,O.L--,O.T= +H();continue;default:a0(O,N,E)}}} +for(var O=this,F=O.Us,M=O.ox,f=$fG,d=N.length,W=0,z=-1,E=0;E0?(x=O.Y,O.Y=[],x):null}return null};UR.prototype.isInputValid=function(){return this.S===null}; +UR.prototype.Yl=function(){return this.S}; +UR.prototype.sE=function(){return!1}; +UR.prototype.parse=function(N){function H(f){if(f){(O.Y||f.length>1)&&c("extra status: "+f);O.Y=!0;var d={};d[2]=f[0];O.U.push(d)}} +function c(f){O.B=6;O.S="The stream is broken @"+O.T+"/"+F+". Error: "+f+". With input:\n";throw Error(O.S);} +function t(){O.L=new y5s({R9q:!0,nW:!0})} +function h(f){if(f)for(var d=0;d0?(N=O.U,O.U=[],N):null};aq.prototype.Hx=function(){return this.T}; +aq.prototype.getStatus=function(){return this.S}; +aq.prototype.Bp=function(N){N=N.target;try{if(N==this.T)a:{var H=g.Oy(this.T),c=this.T.B,t=this.T.getStatus(),h=g.$r(this.T);N=[];if(g.XH(this.T)instanceof Array){var O=g.XH(this.T);O.length>0&&O[0]instanceof Uint8Array&&(this.TW=!0,N=O)}if(!(H<3||H==3&&!h&&N.length==0))if(t=t==200||t==206,H==4&&(c==8?JF(this,7):c==7?JF(this,8):t||JF(this,3)),this.B||(this.B=XAZ(this.T),this.B==null&&JF(this,5)),this.S>2)gA(this);else{if(N.length>this.L){var F=N.length;c=[];try{if(this.B.sE())for(var M=0;Mthis.L){M=h.slice(this.L);this.L=h.length;try{var d=this.B.parse(M);d!=null&&this.U&&this.U(d)}catch(W){JF(this,5);gA(this);break a}}H==4?(h.length!= +0||this.TW?JF(this,2):JF(this,4),gA(this)):JF(this,1)}}}catch(W){JF(this,6),gA(this)}};g.C=UDy.prototype;g.C.addListener=function(N,H){AY(this,N,H);return this}; +g.C.removeListener=function(N,H){var c=this.B[N];c&&g.JC(c,H);(N=this.T[N])&&g.JC(N,H);return this}; +g.C.once=function(N,H){var c=this.T[N];c||(c=[],this.T[N]=c);c.push(H);return this}; +g.C.nOi=function(N){var H=this.B.data;H&&RWt(N,H);(H=this.T.data)&&RWt(N,H);this.T.data=[]}; +g.C.Wxg=function(){switch(this.L.getStatus()){case 1:ux(this,"readable");break;case 5:case 6:case 4:case 7:case 3:ux(this,"error");break;case 8:ux(this,"close");break;case 2:ux(this,"end")}};gLL.prototype.serverStreaming=function(N,H,c,t){var h=this,O=N.substring(0,N.length-t.name.length);return cZD(function(F){var M=F.Ok,f=F.getMetadata(),d=jZR(h,!1);f=MAZ(h,f,d,O+M.getName());var W=XTy(d,M.B,!0);F=M.T(F.sW);d.send(f,"POST",F);return W},this.sM).call(this,t.C(H,c))};XXe.prototype.create=function(N,H,c){var t=this.T,h=this.B+"/$rpc/google.internal.waa.v1.Waa/Create";H=H||{};c=c===void 0?{}:c;return obw(t,h,N,H,isZ,c)};var oy,FQ3,V3R,VYw,MZd,C_d,ibh,rve,v6D,jlg,mah,asL,ews,EPl,pVZ,gVe,mQ,RCh,Mhd,gvv;oy=new GH(45724570);FQ3=new GH(45733514);V3R=new GH(45730569);VYw=new GH(45732791);MZd=new GH(45728572);g.TtG=new GH(45728933);C_d=new GH(45731083);ibh=new GH(45728553);rve=new GH(45731202);v6D=new GH(45725537);jlg=new GH(45727949);mah=new GH(45731457);asL=new GH(45728333);ews=new Cs(45728334);EPl=new GH(45728181);pVZ=new GH(45733155);gVe=new GH(45732811);mQ=new GH(45732481);RCh=new GH(45732672);Mhd=new GH(45732674); +gvv=new GH(45729215);var qt3=new Cs(45725542),xXl=new Cs(45725543),W9L=new Cs(45725539),EKl=new Cs(45725541),zWd=new Cs(45725540),dXZ=new Cs(45725538),fRy=new function(N,H,c,t){this.i8=N;this.f1=H;this.defaultValue=t;this.ag="int"}(3,45721421,"h5vcc_set_prefer_minimal_post_processing",GV("0"));var $Pt="://secure-...imrworldwide.com/ ://cdn.imrworldwide.com/ ://aksecure.imrworldwide.com/ ://[^.]*.moatads.com ://youtube[0-9]+.moatpixel.com ://pm.adsafeprotected.com/youtube ://pm.test-adsafeprotected.com/youtube ://e[0-9]+.yt.srs.doubleverify.com www.google.com/pagead/xsul www.youtube.com/pagead/slav".split(" "),TEy=/\bocr\b/;var z2Z=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g;g.k(phs,XQ);g.k(QDD,XQ);g.k(R1,XQ);R1.prototype.getName=function(){return lX(this,1)}; +R1.prototype.getOptions=function(){return GL(this,QDD,3)}; +R1.prototype.clearOptions=function(){return WE(this,3)};g.k(ET,XQ);g.C=ET.prototype;g.C.getName=function(){return lX(this,1)}; +g.C.getOptions=function(){return GL(this,phs,3)}; +g.C.clearOptions=function(){return WE(this,3)}; +g.C.RA=function(){return Fd(this,6)}; +g.C.a4=function(N){qf(this,6,N)};var R9s=function(N){return function(H){H=JSON.parse(H);if(!Array.isArray(H))throw Error("Expected jspb data to be an array, got "+cr(H)+": "+H);kI(H,34);return new N(H)}}(ET);var Gcl=Symbol();var txR=Symbol();Object.assign({},{attributes:{},handleError:function(N){throw N;}},{u5q:!0, +t4i:!0,GkT:u1t,e9q:u1t,V4T:Jx3,vtx:!1,D3f:!1,otq:!1,KDf:!0,z9g:puR,CU_:!1,sEp:!1,VSg:!1});var EU=null,FT=!1,PzD=1,OBZ=Symbol("SIGNAL"),d2={version:0,Grf:0,P0:!1,producers:void 0,sx:void 0,Pm:void 0,yP:void 0,MG:!1,Ls:!1,Ug:!1,kind:"unknown",zw:function(){return!1}, +bL:function(){}, +Z0:function(){}, +crg:function(){}};var WC=Symbol("UNSET"),zt=Symbol("COMPUTING"),EF=Symbol("ERRORED");Object.assign({},d2,{value:WC,P0:!0,error:null,Rv:c_,kind:"computed",zw:function(N){return N.value===WC||N.value===zt}, +bL:function(N){if(N.value===zt)throw Error("");var H=N.value;N.value=zt;var c=Grd(N),t=!1;try{var h=N.YY();iX(null);t=H!==WC&&H!==EF&&h!==EF&&N.Rv(H,h)}catch(O){h=EF,N.error=O}finally{iX(c),N&&wDf(N)}t?N.value=H:(N.value=h,N.version++)}});Object.assign({},d2,{Ug:!0,Ls:!0,P0:!0,kind:"effect"});var hdd=Object.assign({},d2,{Rv:c_,value:void 0,kind:"signal"});Object.assign({},d2,{value:WC,P0:!0,error:null,Rv:c_,kind:"linkedSignal",zw:function(N){return N.value===WC||N.value===zt}, +bL:function(N){if(N.value===zt)throw Error("");var H=N.value;N.value=zt;var c=Grd(N);try{var t=N.source();var h=N.YY(t,H===WC||H===EF?void 0:{source:N.WET,value:H});N.WET=t}catch(O){h=EF,N.error=O}finally{iX(c),N&&wDf(N)}H!==WC&&h!==EF&&N.Rv(H,h)?N.value=H:(N.value=h,N.version++)}});Object.assign({},d2,{Ug:!0,Ls:!1,Z0:function(N){N.schedule!==null&&N.schedule(N.R7a)}, +rrp:function(){}});g.k(MK,g.d9);MK.prototype.dispose=function(){window.removeEventListener("offline",this.L);window.removeEventListener("online",this.L);this.YN.k8(this.S);delete MK.instance}; +MK.prototype.kP=function(){return this.T}; +MK.prototype.Ec=function(){var N=this;this.S=this.YN.jP(function(){var H;return g.Y(function(c){if(c.T==1)return N.T?((H=window.navigator)==null?0:H.onLine)?c.rE(3):g.a(c,yP(N),3):g.a(c,yP(N),3);N.Ec();g.Z3(c)})},3E4)};g.k(aOd,XQ);var nKf=i4h(aOd,[0,hX,QoZ,dvf,hX,-2,dvf,joS]);Z$.prototype.set=function(N,H){H=H===void 0?!0:H;0<=N&&N<52&&Number.isInteger(N)&&this.data[N]!==H&&(this.data[N]=H,this.T=-1)}; +Z$.prototype.get=function(N){return!!this.data[N]};var PU;g.$_(g.WU,g.L);g.C=g.WU.prototype;g.C.start=function(){this.stop();this.U=!1;var N=hel(this),H=Dcd(this);N&&!H&&this.B.mozRequestAnimationFrame?(this.T=g.OY(this.B,"MozBeforePaint",this.L),this.B.mozRequestAnimationFrame(null),this.U=!0):this.T=N&&H?N.call(this.B,this.L):this.B.setTimeout(LDL(this.L),20)}; +g.C.stop=function(){if(this.isActive()){var N=hel(this),H=Dcd(this);N&&!H&&this.B.mozRequestAnimationFrame?fV(this.T):N&&H?H.call(this.B,this.T):this.B.clearTimeout(this.T)}this.T=null}; +g.C.isActive=function(){return this.T!=null}; +g.C.mA=function(){this.U&&this.T&&fV(this.T);this.T=null;this.Y.call(this.S,g.vg())}; +g.C.Os=function(){this.stop();g.WU.w0.Os.call(this)};g.$_(g.kT,g.L);g.C=g.kT.prototype;g.C.YJ=0;g.C.Os=function(){g.kT.w0.Os.call(this);this.stop();delete this.T;delete this.B}; +g.C.start=function(N){this.stop();this.YJ=g.CR(this.L,N!==void 0?N:this.wy)}; +g.C.stop=function(){this.isActive()&&g.di.clearTimeout(this.YJ);this.YJ=0}; +g.C.isActive=function(){return this.YJ!=0}; +g.C.UL=function(){this.YJ=0;this.T&&this.T.call(this.B)};g.k(g.UT,g.L);g.C=g.UT.prototype;g.C.Ki=function(N){this.L=arguments;this.xO||this.B?this.T=!0:lj(this)}; +g.C.stop=function(){this.xO&&(g.di.clearTimeout(this.xO),this.xO=null,this.T=!1,this.L=null)}; +g.C.pause=function(){this.B++}; +g.C.resume=function(){this.B--;this.B||!this.T||this.xO||(this.T=!1,lj(this))}; +g.C.Os=function(){g.L.prototype.Os.call(this);this.stop()};g.sm.prototype[Symbol.iterator]=function(){return this}; +g.sm.prototype.next=function(){var N=this.T.next();return{value:N.done?void 0:this.B.call(void 0,N.value),done:N.done}};g.$_(g.Wm,g.d9);g.C=g.Wm.prototype;g.C.isPlaying=function(){return this.T==1}; +g.C.isPaused=function(){return this.T==-1}; +g.C.Nb=function(){this.Ta("begin")}; +g.C.nB=function(){this.Ta("end")}; +g.C.onFinish=function(){this.Ta("finish")}; +g.C.onStop=function(){this.Ta("stop")}; +g.C.Ta=function(N){this.dispatchEvent(N)};var fdx=lH(function(){var N=g.Ch("DIV"),H=g.K6?"-webkit":Ue?"-moz":null,c="transition:opacity 1s linear;";H&&(c+=H+"-transition:opacity 1s linear;");H=LSd({style:c});if(N.nodeType===1&&/^(script|style)$/i.test(N.tagName))throw Error("");N.innerHTML=aE(H);return g.cb(N.firstChild,"transition")!=""});g.$_(Qc,g.Wm);g.C=Qc.prototype;g.C.play=function(){if(this.isPlaying())return!1;this.Nb();this.Ta("play");this.startTime=g.vg();this.T=1;if(fdx())return g.eU(this.B,this.Y),this.L=g.CR(this.Xd_,void 0,this),!0;this.G2(!1);return!1}; +g.C.Xd_=function(){g.WQ(this.B);k$3(this.B,this.C);g.eU(this.B,this.U);this.L=g.CR((0,g.tv)(this.G2,this,!1),this.S*1E3)}; +g.C.stop=function(){this.isPlaying()&&this.G2(!0)}; +g.C.G2=function(N){g.eU(this.B,"transition","");g.di.clearTimeout(this.L);g.eU(this.B,this.U);this.endTime=g.vg();this.T=0;if(N)this.onStop();else this.onFinish();this.nB()}; +g.C.Os=function(){this.stop();Qc.w0.Os.call(this)}; +g.C.pause=function(){};var t4Z={rgb:!0,rgba:!0,alpha:!0,rect:!0,image:!0,"linear-gradient":!0,"radial-gradient":!0,"repeating-linear-gradient":!0,"repeating-radial-gradient":!0,"cubic-bezier":!0,matrix:!0,perspective:!0,rotate:!0,rotate3d:!0,rotatex:!0,rotatey:!0,steps:!0,rotatez:!0,scale:!0,scale3d:!0,scalex:!0,scaley:!0,scalez:!0,skew:!0,skewx:!0,skewy:!0,translate:!0,translate3d:!0,translatex:!0,translatey:!0,translatez:!0,"var":!0};Pj("Element","attributes")||Pj("Node","attributes");Pj("Element","innerHTML")||Pj("HTMLElement","innerHTML");Pj("Node","nodeName");Pj("Node","nodeType");Pj("Node","parentNode");Pj("Node","childNodes");Pj("HTMLElement","style")||Pj("Element","style");Pj("HTMLStyleElement","sheet");var GYd=y7S("getPropertyValue"),RFZ=y7S("setProperty");Pj("Element","namespaceURI")||Pj("Node","namespaceURI");var yre={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0};var fPZ,CHe,MGD,j9l,dFR;fPZ=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]");CHe=RegExp("^[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]");g.dfd=RegExp("^[^\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]*[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"); +g.LW=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]");MGD=/^http:\/\/.*/;g.WDd=RegExp("^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)","i");j9l=/\s+/;dFR=/[\d\u06f0-\u06f9]/;QN.prototype.Zz=function(){return new C_(this.B())}; +QN.prototype[Symbol.iterator]=function(){return new oK(this.B())}; +QN.prototype.T=function(){return new oK(this.B())}; +g.k(C_,g.Zn);C_.prototype.next=function(){return this.B.next()}; +C_.prototype[Symbol.iterator]=function(){return new oK(this.B)}; +C_.prototype.T=function(){return new oK(this.B)}; +g.k(oK,QN);oK.prototype.next=function(){return this.L.next()};dq.prototype.clone=function(){return new dq(this.T,this.C,this.L,this.S,this.U,this.Y,this.B,this.Z)}; +dq.prototype.equals=function(N){return this.T==N.T&&this.C==N.C&&this.L==N.L&&this.S==N.S&&this.U==N.U&&this.Y==N.Y&&this.B==N.B&&this.Z==N.Z};Hv.prototype.clone=function(){return new Hv(this.start,this.end)};(function(){if(fuy){var N=/Windows NT ([0-9.]+)/;return(N=N.exec(g.tA()))?N[1]:"0"}return Ej?(N=/1[0|1][_.][0-9_.]+/,(N=N.exec(g.tA()))?N[0].replace(/_/g,"."):"10"):g.zD?(N=/Android\s+([^\);]+)(\)|;)/,(N=N.exec(g.tA()))?N[1]:""):P_S||UTv||XuR?(N=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(N=N.exec(g.tA()))?N[1].replace(/_/g,"."):""):""})();var cps=function(){if(g.dL)return fc(/Firefox\/([0-9.]+)/);if(g.mn||g.BY||g.pX)return gds;if(g.Pc){if(PS()||r_()){var N=fc(/CriOS\/([0-9.]+)/);if(N)return N}return fc(/Chrome\/([0-9.]+)/)}if(g.op&&!PS())return fc(/Version\/([0-9.]+)/);if(P7||U9){if(N=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.tA()))return N[1]+"."+N[2]}else if(g.$he)return(N=fc(/Android\s+([0-9.]+)/))?N:fc(/Version\/([0-9.]+)/);return""}();g.$_(g.L0,g.L);g.C=g.L0.prototype;g.C.subscribe=function(N,H,c){var t=this.B[N];t||(t=this.B[N]=[]);var h=this.Y;this.T[h]=N;this.T[h+1]=H;this.T[h+2]=c;this.Y=h+3;t.push(h);return h}; +g.C.unsubscribe=function(N,H,c){if(N=this.B[N]){var t=this.T;if(N=N.find(function(h){return t[h+1]==H&&t[h+2]==c}))return this.nC(N)}return!1}; +g.C.nC=function(N){var H=this.T[N];if(H){var c=this.B[H];this.U!=0?(this.L.push(N),this.T[N+1]=function(){}):(c&&g.JC(c,N),delete this.T[N],delete this.T[N+1],delete this.T[N+2])}return!!H}; +g.C.publish=function(N,H){var c=this.B[N];if(c){var t=Array(arguments.length-1),h=arguments.length,O;for(O=1;O0&&this.U==0)for(;c=this.L.pop();)this.nC(c)}}return O!=0}return!1}; +g.C.clear=function(N){if(N){var H=this.B[N];H&&(H.forEach(this.nC,this),delete this.B[N])}else this.T.length=0,this.B={}}; +g.C.Os=function(){g.L0.w0.Os.call(this);this.clear();this.L.length=0};g.yb.prototype.set=function(N,H){H===void 0?this.NE.remove(N):this.NE.set(N,g.s0(H))}; +g.yb.prototype.get=function(N){try{var H=this.NE.get(N)}catch(c){return}if(H!==null)try{return JSON.parse(H)}catch(c){throw"Storage: Invalid value was encountered";}}; +g.yb.prototype.remove=function(N){this.NE.remove(N)};g.$_(qp,g.yb);qp.prototype.set=function(N,H){qp.w0.set.call(this,N,mct(H))}; +qp.prototype.bQ=function(N){N=qp.w0.get.call(this,N);if(N===void 0||N instanceof Object)return N;throw"Storage: Invalid value was encountered";}; +qp.prototype.get=function(N){if(N=this.bQ(N)){if(N=N.data,N===void 0)throw"Storage: Invalid value was encountered";}else N=void 0;return N};g.$_(Kn,qp);Kn.prototype.set=function(N,H,c){if(H=mct(H)){if(c){if(c=c.length)return g.$f;var h=c.key(H++);if(N)return g.VO(h);h=c.getItem(h);if(typeof h!=="string")throw"Storage mechanism: Invalid value was encountered";return g.VO(h)}; +return t}; +g.C.clear=function(){zi(this);this.T.clear()}; +g.C.key=function(N){zi(this);return this.T.key(N)};g.$_(ze,s9);g.$_(syt,s9);g.$_(Ef,Mz);Ef.prototype.set=function(N,H){this.B.set(this.T+N,H)}; +Ef.prototype.get=function(N){return this.B.get(this.T+N)}; +Ef.prototype.remove=function(N){this.B.remove(this.T+N)}; +Ef.prototype.Zz=function(N){var H=this.B[Symbol.iterator](),c=this,t=new g.Zn;t.next=function(){var h=H.next();if(h.done)return h;for(h=h.value;h.slice(0,c.T.length)!=c.T;){h=H.next();if(h.done)return h;h=h.value}return g.VO(N?h.slice(c.T.length):c.B.get(h))}; +return t};lf.prototype.getValue=function(){return this.B}; +lf.prototype.clone=function(){return new lf(this.T,this.B)};g.C=dx.prototype;g.C.X1=function(N,H){var c=this.T;c.push(new lf(N,H));N=c.length-1;H=this.T;for(c=H[N];N>0;){var t=N-1>>1;if(H[t].T>c.T)H[N]=H[t],N=t;else break}H[N]=c}; +g.C.remove=function(){var N=this.T,H=N.length,c=N[0];if(!(H<=0)){if(H==1)N.length=0;else{N[0]=N.pop();N=0;H=this.T;for(var t=H.length,h=H[N];N>1;){var O=N*2+1,F=N*2+2;O=Fh.T)break;H[N]=H[O];N=O}H[N]=h}return c.getValue()}}; +g.C.BQ=function(){for(var N=this.T,H=[],c=N.length,t=0;t>>16&65535|0;for(var O;c!==0;){O=c>2E3?2E3:c;c-=O;do h=h+H[t++]|0,N=N+h|0;while(--O);h%=65521;N%=65521}return h|N<<16|0};for(var by={},xf,Cw7=[],qE=0;qE<256;qE++){xf=qE;for(var ldx=0;ldx<8;ldx++)xf=xf&1?3988292384^xf>>>1:xf>>>1;Cw7[qE]=xf}by=function(N,H,c,t){c=t+c;for(N^=-1;t>>8^Cw7[(N^H[t])&255];return N^-1};var XV={};XV={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};var RL=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],bT=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Xyh=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],PSy=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],xX=Array(576);he(xX);var q9=Array(60);he(q9);var IL=Array(512);he(IL);var Ga=Array(256);he(Ga);var oL=Array(29);he(oL);var N$=Array(30);he(N$);var nwt,PR3,Uue,Jod=!1;var Ek;Ek=[new w$(0,0,0,0,function(N,H){var c=65535;for(c>N.Ea-5&&(c=N.Ea-5);;){if(N.sF<=1){au(N);if(N.sF===0&&H===0)return 1;if(N.sF===0)break}N.cO+=N.sF;N.sF=0;var t=N.wq+c;if(N.cO===0||N.cO>=t)if(N.sF=N.cO-t,N.cO=t,vJ(N,!1),N.bG.Aj===0)return 1;if(N.cO-N.wq>=N.gy-262&&(vJ(N,!1),N.bG.Aj===0))return 1}N.X1=0;if(H===4)return vJ(N,!0),N.bG.Aj===0?3:4;N.cO>N.wq&&vJ(N,!1);return 1}), +new w$(4,4,8,4,Tl),new w$(4,5,16,8,Tl),new w$(4,6,32,32,Tl),new w$(4,4,16,16,Bm),new w$(8,16,32,32,Bm),new w$(8,16,128,128,Bm),new w$(8,32,128,256,Bm),new w$(32,128,258,1024,Bm),new w$(32,258,258,4096,Bm)];var uBS={};uBS=function(){this.input=null;this.OC=this.uc=this.lC=0;this.output=null;this.fv=this.Aj=this.t0=0;this.msg="";this.state=null;this.Yp=2;this.f6=0};var Lzf=Object.prototype.toString; +om.prototype.push=function(N,H){var c=this.bG,t=this.options.chunkSize;if(this.ended)return!1;var h=H===~~H?H:H===!0?4:0;typeof N==="string"?c.input=BN3(N):Lzf.call(N)==="[object ArrayBuffer]"?c.input=new Uint8Array(N):c.input=N;c.lC=0;c.uc=c.input.length;do{c.Aj===0&&(c.output=new xT.rC(t),c.t0=0,c.Aj=t);N=tPh(c,h);if(N!==1&&N!==0)return this.nB(N),this.ended=!0,!1;if(c.Aj===0||c.uc===0&&(h===4||h===2))if(this.options.to==="string"){var O=xT.sH(c.output,c.t0);H=O;O=O.length;if(O<65537&&(H.subarray&& +qvd||!H.subarray))H=String.fromCharCode.apply(null,xT.sH(H,O));else{for(var F="",M=0;M0||c.Aj===0)&&N!==1);if(h===4)return(c=this.bG)&&c.state?(t=c.state.status,t!==42&&t!==69&&t!==73&&t!==91&&t!==103&&t!==113&&t!==666?N=V0(c,-2):(c.state=null,N=t===113?V0(c,-3):0)):N=-2,this.nB(N),this.ended=!0,N===0;h===2&&(this.nB(0),c.Aj=0);return!0}; +om.prototype.nB=function(N){N===0&&(this.result=this.options.to==="string"?this.chunks.join(""):xT.Pc(this.chunks));this.chunks=[];this.err=N;this.msg=this.bG.msg};var uR="@@redux/INIT"+Ed(),ats="@@redux/REPLACE"+Ed();var eks=typeof Symbol==="function"&&Symbol.observable||"@@observable";var KDl=[0,rgh,-3,tX];g.k(vrD,XQ);var zOv=i4h(vrD,[0,hX,mvR,NE,rgh,NE,-1,tX,rgh,tX,-1,hX,tX,mvR,HC,KDl,NE,-1,tX]);var huv=241377957;var gyl=function(N,H){return function(){var c=new LWy(N,H,Qf);return function(){return c}}()}("youtube.api.innertube.AttestationError",'[null,[["ATTESTATION_ERROR_UNKNOWN",0],["ATTESTATION_ERROR_VM_NOT_INITIALIZED",1],["ATTESTATION_ERROR_VM_NO_RESPONSE",2],["ATTESTATION_ERROR_VM_TIMEOUT",3],["ATTESTATION_ERROR_VM_INTERNAL_ERROR",4],["ATTESTATION_ERROR_PREFETCH_CHALLENGE_INVALID",5],["ATTESTATION_ERROR_PREFETCH_CHALLENGE_NETWORK_ERROR",6],["ATTESTATION_ERROR_PREFETCH_CHALLENGE_OFFLINE",7],["ATTESTATION_ERROR_PREFETCH_CHALLENGE_INTERNAL_ERROR",8],["ATTESTATION_ERROR_API_NOT_READY",9],["ATTESTATION_ERROR_DEVICE_OFFLINE",10],["ATTESTATION_ERROR_KEY_PAIR_INIT_FAILED",12],["ATTESTATION_ERROR_SIGNING_DATA_MISSING",13],["ATTESTATION_ERROR_SIGNING_FAILED",14],["ATTESTATION_ERROR_CERT_CHAIN_RETRIEVAL_FAILED",15]],null,[[11,11]]]');var r$w=new g.IQ("adInfoDialogEndpoint");var Y2D=new g.IQ("adPingingEndpoint");var Ylv=new g.IQ("crossDeviceProgressCommand");var Rf=new g.IQ("actionCompanionAdRenderer");var $o=new g.IQ("adActionInterstitialRenderer");var rSc=new g.IQ("adDurationRemainingRenderer");var nW=new g.IQ("adHoverTextButtonRenderer");var WDl=new g.IQ("adInfoDialogRenderer");var mf=new g.IQ("adMessageRenderer");var BF=new g.IQ("adPreviewRenderer");var ua=new g.IQ("adsEngagementPanelRenderer");var JsR=new g.IQ("dismissablePanelTextPortraitImageRenderer");var If=new g.IQ("adsEngagementPanelSectionListViewModel");var mfY=new g.IQ("flyoutCtaRenderer");var p5=new g.IQ("imageCompanionAdRenderer");var U_=new g.IQ("instreamAdPlayerOverlayRenderer");var x6v=new g.IQ("instreamSurveyAdBackgroundImageRenderer");var so=new g.IQ("instreamSurveyAdPlayerOverlayRenderer");var PK=new g.IQ("instreamSurveyAdRenderer"),e1=new g.IQ("instreamSurveyAdSingleSelectQuestionRenderer"),aI=new g.IQ("instreamSurveyAdMultiSelectQuestionRenderer"),CC=new g.IQ("instreamSurveyAdAnswerRenderer"),wL7=new g.IQ("instreamSurveyAdAnswerNoneOfTheAboveRenderer");var QR=new g.IQ("instreamVideoAdRenderer");var DfY=new g.IQ("textOverlayAdContentRenderer"),Ql4=new g.IQ("enhancedTextOverlayAdContentRenderer"),pLd=new g.IQ("imageOverlayAdContentRenderer");var VQ=new g.IQ("playerOverlayLayoutRenderer");var AF=new g.IQ("videoInterstitialButtonedCenteredLayoutRenderer");var p2R=new g.IQ("aboveFeedAdLayoutRenderer");var JOv=new g.IQ("belowPlayerAdLayoutRenderer");var DKR=new g.IQ("inPlayerAdLayoutRenderer");var nIh=new g.IQ("inPlayerOrganicOverlayAdLayoutRenderer");var BP=new g.IQ("playerBytesAdLayoutRenderer");var of=new g.IQ("playerBytesSequenceItemAdLayoutRenderer");var y7=new g.IQ("playerUnderlayAdLayoutRenderer");var h8=new g.IQ("adIntroRenderer");var PG=new g.IQ("playerBytesSequentialLayoutRenderer");var P0s=new g.IQ("slidingTextPlayerOverlayRenderer");var Ul=new g.IQ("surveyTextInterstitialRenderer");var DH=new g.IQ("videoAdTrackingRenderer");var Myw=new g.IQ("videoInterstitialCenteredLayoutViewModel");var ued=new g.IQ("simpleAdBadgeRenderer");var Ts=new g.IQ("skipAdRenderer"),JSR=new g.IQ("skipButtonRenderer");var iZ=new g.IQ("adSlotRenderer");var RC=new g.IQ("squeezebackPlayerSidePanelRenderer");var ny4=new g.IQ("timedPieCountdownRenderer");var W8=new g.IQ("adAvatarViewModel");var zg=new g.IQ("adBadgeViewModel");var EQ=new g.IQ("adButtonViewModel");var SvZ=new g.IQ("adDetailsLineViewModel");var Pw5=new g.IQ("adDisclosureBannerViewModel");var UfZ=new g.IQ("adPodIndexViewModel");var XLY=new g.IQ("imageBackgroundViewModel");var Vh7=new g.IQ("adGridCardCollectionViewModel");var LDZ=new g.IQ("adGridCardTextViewModel");var ZsR=new g.IQ("adPreviewViewModel");var Yvg=new g.IQ("playerAdAvatarLockupCardButtonedViewModel");var AS5=new g.IQ("skipAdButtonViewModel");var adl=new g.IQ("skipAdViewModel");var eZg=new g.IQ("timedPieCountdownViewModel");var vy4=new g.IQ("visitAdvertiserLinkViewModel");var JD=new g.IQ("bannerImageLayoutViewModel");var n5=new g.IQ("topBannerImageTextIconButtonedLayoutViewModel");var SD=new g.IQ("adsEngagementPanelLayoutViewModel");var oC=new g.IQ("displayUnderlayTextGridCardsLayoutViewModel");g.wF=new g.IQ("browseEndpoint");var sld=new g.IQ("confirmDialogEndpoint");var DUS=new g.IQ("commandContext");var eJe=new g.IQ("rawColdConfigGroup");var a3v=new g.IQ("rawHotConfigGroup");g.LS=new g.IQ("commandExecutorCommand");g.k(Mcl,XQ);var iUs={OBi:0,cfx:1,VC_:32,XGa:61,xAl:67,HBs:103,dAg:86,eCa:42,vui:60,gux:62,bBo:73,ZBS:76,q9f:88,aq_:90,FhT:99,tCg:98,yfq:100,zCs:102,nuf:41,Q$_:69,s$_:70,AfR:71,qzg:2,a7q:27,ANDROID:3,wZx:54,THf:14,o8o:91,iJx:55,BHg:24,LTW:20,U0p:18,WTg:21,OJ_:104,m0i:30,rdE:29,JdW:28,rfo:101,kQs:34,SNo:36,hoW:38,IOS:5,Dj_:15,yZg:92,Zmg:40,bmg:25,XQo:17,j9x:19,djE:64,HmR:66,qaa:26,Ffx:22,nbo:33,Q9W:68,s9x:35,aeg:53,xjS:37,zDp:39,Fdp:7,naS:57,Qng:43,AVW:59,snx:93,IGs:74,MCW:75,wGf:85,T7W:65,B7W:80,Lhq:8,yVq:10, +hCo:58,UAg:63,iBR:72,E8W:23,TbT:11,igq:13,Qi_:12,xJW:16,GMq:56,j$o:31,XLR:77,Ujs:84,DAf:87,WfR:89,hDf:94,YzT:95};g.k($k,XQ);$k.prototype.nj=function(){return lX(this,3)}; +$k.prototype.iqq=function(){return lX(this,5)}; +$k.prototype.IE=function(N){return ES(this,5,N)};g.k(R_,XQ);g.k(mX3,XQ);g.k(PT,XQ);g.C=PT.prototype;g.C.getDeviceId=function(){return lX(this,6)}; +g.C.PA=function(N){var H=s8(this,9,em,3,!0);sY(H,N);return H[N]}; +g.C.getPlayerType=function(){return Fd(this,36)}; +g.C.setHomeGroupInfo=function(N){return ko(this,mX3,81,N)}; +g.C.clearLocationPlayabilityToken=function(){return WE(this,89)};g.k(TM,XQ);TM.prototype.getValue=function(){return lX(this,SQZ(this,SWe,2))}; +var SWe=[2,3,4,5,6];g.k(qm,XQ);qm.prototype.setTrackingParams=function(N){return WE(this,1,alw(N,!1))};g.k(zo,XQ);g.k(HH,XQ);HH.prototype.PA=function(N){var H=s8(this,5,r5,3,!0);sY(H,N);return H[N]};g.k(MZ,XQ);MZ.prototype.getToken=function(){return le(this,2)}; +MZ.prototype.setToken=function(N){return ES(this,2,N)};g.k(lT,XQ);lT.prototype.setSafetyMode=function(N){return qf(this,5,N)};g.k(ml,XQ);ml.prototype.Ll=function(N){return ko(this,PT,1,N)};var fE=new g.IQ("thumbnailLandscapePortraitRenderer");g.Bt5=new g.IQ("changeEngagementPanelVisibilityAction");var AIZ=new g.IQ("continuationCommand");g.ySc=new g.IQ("openPopupAction");var GMs=new g.IQ("signalAction");g.lz=new g.IQ("webCommandMetadata");var FdL=new g.IQ("metadataBadgeRenderer");var YsZ=new g.IQ("signalServiceEndpoint");var xR=new g.IQ("innertubeCommand");var YZd=new g.IQ("loggingDirectives");var vYR={VVg:"EMBEDDED_PLAYER_MODE_UNKNOWN",tVi:"EMBEDDED_PLAYER_MODE_DEFAULT",eRp:"EMBEDDED_PLAYER_MODE_PFP",G4R:"EMBEDDED_PLAYER_MODE_PFL"};var E6S=new g.IQ("channelThumbnailEndpoint");var y$R=new g.IQ("embeddedPlayerErrorMessageRenderer");var V4f=new g.IQ("embeddedPlayerOverlayVideoDetailsRenderer"),xet=new g.IQ("embeddedPlayerOverlayVideoDetailsCollapsedRenderer"),qQR=new g.IQ("embeddedPlayerOverlayVideoDetailsExpandedRenderer");var vLD=new g.IQ("embedsInfoPanelRenderer");var UY=new g.IQ("feedbackEndpoint");var G3d=new g.IQ("callToActionButtonViewModel");var RZc=new g.IQ("interactionLoggingCommandMetadata");var SvL={Kh_:"WEB_DISPLAY_MODE_UNKNOWN",PJi:"WEB_DISPLAY_MODE_BROWSER",CJl:"WEB_DISPLAY_MODE_MINIMAL_UI",uVE:"WEB_DISPLAY_MODE_STANDALONE",Y9R:"WEB_DISPLAY_MODE_FULLSCREEN"};g.k(vK,XQ);vK.prototype.getPlayerType=function(){return Fd(this,7)}; +vK.prototype.u2=function(){return lX(this,19)}; +vK.prototype.setVideoId=function(N){return ES(this,19,N)};g.k(JE,XQ);g.k(li,XQ);g.k(zM,XQ); +var oyc=[2,3,5,6,7,11,13,20,21,22,23,24,28,32,37,45,59,72,73,74,76,78,79,80,85,91,97,100,102,105,111,117,119,126,127,136,146,148,151,156,157,158,159,163,164,168,176,177,178,179,184,188,189,190,191,193,194,195,196,197,198,199,200,201,202,203,204,205,206,208,209,215,219,222,225,226,227,229,232,233,234,240,241,244,247,248,249,251,254,255,256,257,258,259,260,261,266,270,272,278,288,291,293,300,304,308,309,310,311,313,314,319,320,321,323,324,327,328,330,331,332,334,337,338,340,344,348,350,351,352,353, +354,355,356,357,358,361,363,364,368,369,370,373,374,375,378,380,381,383,388,389,399,402,403,410,411,412,413,414,415,416,417,418,423,424,425,426,427,429,430,431,439,441,444,448,458,469,471,473,474,480,481,482,484,485,486,491,495,496,506,507,509,511,512,513,514,515,516,517,518,519,520,522,523,524,525,526,527,528,529,530,531];var k3R=new g.IQ("loggingContext");g.k(fG,XQ);g.k(CH,XQ);CH.prototype.u2=function(){return le(this,SQZ(this,Ig,1))}; +CH.prototype.setVideoId=function(N){return T0(this,1,Ig,z8(N))}; +CH.prototype.getPlaylistId=function(){return le(this,SQZ(this,Ig,2))}; +var Ig=[1,2];g.k(nqZ,XQ);var Idd=new g.IQ("dismissPlayerOverlayCommand");var lG=new g.IQ("changeKeyedMarkersVisibilityCommand");var bsg=new g.IQ("changeMarkersVisibilityCommand");var TCt=new g.IQ("loadMarkersCommand");var NRl=new g.IQ("suggestedActionDataViewModel");var rDL=new g.IQ("timelyActionViewModel");var grl=new g.IQ("timelyActionsOverlayViewModel");var XhD=new g.IQ("productListItemRenderer");var HgZ=new g.IQ("shoppingOverlayRenderer");var Z2v=new g.IQ("musicEmbeddedPlayerOverlayVideoDetailsRenderer");var igg=new g.IQ("adFeedbackEndpoint");var cG4=new g.IQ("menuEndpoint");var $Fy=new g.IQ("phoneDialerEndpoint");var Oas=new g.IQ("sendSmsEndpoint");var HP3=new g.IQ("copyTextEndpoint");var t7Y=new g.IQ("shareEndpoint"),h4d=new g.IQ("shareEntityEndpoint"),Ogd=new g.IQ("shareEntityServiceEndpoint"),FYd=new g.IQ("webPlayerShareEntityServiceEndpoint");g.iF=new g.IQ("urlEndpoint");g.DS=new g.IQ("watchEndpoint");var $5R=new g.IQ("watchPlaylistEndpoint");g.TRg=new g.IQ("offlineOrchestrationActionCommand");var P7v=new g.IQ("compositeVideoOverlayRenderer");var jd5=new g.IQ("miniplayerRenderer");var Gtf=new g.IQ("paidContentOverlayRenderer");var bdR=new g.IQ("playerMutedAutoplayOverlayRenderer"),Nb3=new g.IQ("playerMutedAutoplayEndScreenRenderer");var H5w=new g.IQ("unserializedPlayerResponse"),IDe=new g.IQ("unserializedPlayerResponse");var M7g=new g.IQ("playlistEditEndpoint");var KC;g.mM=new g.IQ("buttonRenderer");KC=new g.IQ("toggleButtonRenderer");var pHt=new g.IQ("counterfactualRenderer");var fld=new g.IQ("resolveUrlCommandMetadata");var d54=new g.IQ("modifyChannelNotificationPreferenceEndpoint");var ZlS=new g.IQ("pingingEndpoint");var WYc=new g.IQ("unsubscribeEndpoint");g.Do=new g.IQ("subscribeButtonRenderer");var z44=new g.IQ("subscribeEndpoint");var jdw=new g.IQ("buttonViewModel");var uTS=new g.IQ("qrCodeRenderer");var foS={rIf:"LIVING_ROOM_APP_MODE_UNSPECIFIED",mFE:"LIVING_ROOM_APP_MODE_MAIN",Szi:"LIVING_ROOM_APP_MODE_KIDS",ENo:"LIVING_ROOM_APP_MODE_MUSIC",I7_:"LIVING_ROOM_APP_MODE_UNPLUGGED",oNT:"LIVING_ROOM_APP_MODE_GAMING"};var cjw=new g.IQ("autoplaySwitchButtonRenderer");var XM,oPR,O3Z,bNh;XM=new g.IQ("decoratedPlayerBarRenderer");oPR=new g.IQ("chapteredPlayerBarRenderer");O3Z=new g.IQ("multiMarkersPlayerBarRenderer");bNh=new g.IQ("chapterRenderer");g.w1D=new g.IQ("markerRenderer");var f4y=new g.IQ("decoratedPlayheadRenderer");var hSd=new g.IQ("desktopOverlayConfigRenderer");var npy=new g.IQ("engagementPanelSectionListRenderer");var tYS=new g.IQ("gatedActionsOverlayViewModel");var uQe=new g.IQ("heatMarkerRenderer");var p1f=new g.IQ("heatmapRenderer");var $os=new g.IQ("watchToWatchTransitionRenderer");var ety=new g.IQ("playlistPanelRenderer");var EdG=new g.IQ("productUpsellSuggestedActionViewModel");var x5R=new g.IQ("suggestedActionTimeRangeTrigger"),q4R=new g.IQ("suggestedActionsRenderer"),C5R=new g.IQ("suggestedActionRenderer");var nEv=new g.IQ("timedMarkerDecorationRenderer");var UAe=new g.IQ("cipher");var i5e=new g.IQ("playerVars");var bWL=new g.IQ("playerVars");var g2=g.di.window,llR,KY5,nr=(g2==null?void 0:(llR=g2.yt)==null?void 0:llR.config_)||(g2==null?void 0:(KY5=g2.ytcfg)==null?void 0:KY5.data_)||{};g.Hw("yt.config_",nr);var kc=[];var TUh=/^[\w.]*$/,UWe={q:!0,search_query:!0},PIl=String(Ud);var LT=new function(){var N=window.document;this.T=window;this.B=N}; +g.Hw("yt.ads_.signals_.getAdSignalsString",function(N){return JM(AR(N))});g.vg();var wSh="XMLHttpRequest"in g.di?function(){return new XMLHttpRequest}:null;var gdg="client_dev_domain client_dev_expflag client_dev_regex_map client_dev_root_url client_rollout_override expflag forcedCapability jsfeat jsmode mods".split(" ");g.HE(gdg);var gOl={Authorization:"AUTHORIZATION","X-Goog-EOM-Visitor-Id":"EOM_VISITOR_DATA","X-Goog-Visitor-Id":"SANDBOXED_VISITOR_ID","X-Youtube-Domain-Admin-State":"DOMAIN_ADMIN_STATE","X-Youtube-Chrome-Connected":"CHROME_CONNECTED_HEADER","X-YouTube-Client-Name":"INNERTUBE_CONTEXT_CLIENT_NAME","X-YouTube-Client-Version":"INNERTUBE_CONTEXT_CLIENT_VERSION","X-YouTube-Delegation-Context":"INNERTUBE_CONTEXT_SERIALIZED_DELEGATION_CONTEXT","X-YouTube-Device":"DEVICE","X-Youtube-Identity-Token":"ID_TOKEN","X-YouTube-Page-CL":"PAGE_CL", +"X-YouTube-Page-Label":"PAGE_BUILD_LABEL","X-Goog-AuthUser":"SESSION_INDEX","X-Goog-PageId":"DELEGATED_SESSION_ID"},ovs="app debugcss debugjs expflag force_ad_params force_ad_encrypted force_viral_ad_response_params forced_experiments innertube_snapshots innertube_goldens internalcountrycode internalipoverride absolute_experiments conditional_experiments sbb sr_bns_address".split(" ").concat(g.HE(gdg)),kZR=!1,C83=xl;g.k(X5,w9);NK.prototype.then=function(N,H,c){return this.T?this.T.then(N,H,c):this.L===1&&N?(N=N.call(c,this.B))&&typeof N.then==="function"?N:H2(N):this.L===2&&H?(N=H.call(c,this.B))&&typeof N.then==="function"?N:C6(N):this}; +NK.prototype.getValue=function(){return this.B}; +NK.prototype.$goog_Thenable=!0;var ln=!1;var bA=P7||U9;var zTR=/^([0-9\.]+):([0-9\.]+)$/;g.k(xg,w9);xg.prototype.name="BiscottiError";g.k(Dj,w9);Dj.prototype.name="BiscottiMissingError";var k_S={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},qb=null;var inv=g.X3(["data-"]),DnZ={};var rGd=0,gsD=g.K6?"webkit":Ue?"moz":g.mn?"ms":g.pX?"o":"",m5d=g.NA("ytDomDomGetNextId")||function(){return++rGd}; +g.Hw("ytDomDomGetNextId",m5d);var juD={stopImmediatePropagation:1,stopPropagation:1,preventMouseEvent:1,preventManipulation:1,preventDefault:1,layerX:1,layerY:1,screenX:1,screenY:1,scale:1,rotation:1,webkitMovementX:1,webkitMovementY:1};Pm.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())}; +Pm.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())}; +Pm.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var U8=g.di.ytEventsEventsListeners||{};g.Hw("ytEventsEventsListeners",U8);var fkv=g.di.ytEventsEventsCounter||{count:0};g.Hw("ytEventsEventsCounter",fkv);var mjs=lH(function(){var N=!1;try{var H=Object.defineProperty({},"passive",{get:function(){N=!0}}); +window.addEventListener("test",null,H)}catch(c){}return N}),dVD=lH(function(){var N=!1; +try{var H=Object.defineProperty({},"capture",{get:function(){N=!0}}); +window.addEventListener("test",null,H)}catch(c){}return N});var r2;r2=window;g.Lh=r2.ytcsi&&r2.ytcsi.now?r2.ytcsi.now:r2.performance&&r2.performance.timing&&r2.performance.now&&r2.performance.timing.navigationStart?function(){return r2.performance.timing.navigationStart+r2.performance.now()}:function(){return(new Date).getTime()};g.$_(cw,g.L);cw.prototype.TW=function(N){N.T===void 0&&gwh(N);var H=N.T;N.B===void 0&&gwh(N);this.T=new g.Sr(H,N.B)}; +cw.prototype.pB=function(){return this.T||new g.Sr}; +cw.prototype.Bp=function(){if(this.T){var N=(0,g.Lh)();if(this.U!=0){var H=this.Y,c=this.T,t=H.x-c.x;H=H.y-c.y;t=Math.sqrt(t*t+H*H)/(N-this.U);this.B[this.L]=Math.abs((t-this.S)/this.S)>.5?1:0;for(c=H=0;c<4;c++)H+=this.B[c]||0;H>=3&&this.C();this.S=t}this.U=N;this.Y=this.T;this.L=(this.L+1)%4}}; +cw.prototype.Os=function(){g.gb(this.Z);g.Kr(this.Us)};g.k(Qz,g.L);Qz.prototype.G=function(N,H,c,t,h){c=g.Lu((0,g.tv)(c,t||this.mG));c={target:N,name:H,callback:c};var O;h&&mjs()&&(O={passive:!0});N.addEventListener(H,c.callback,O);this.Y.push(c);return c}; +Qz.prototype.G3=function(N){for(var H=0;H=A.nm)||w.T.version>=R||w.T.objectStoreNames.contains(X)||p.push(X)}f=p;if(f.length===0){r.rE(5);break}d=Object.keys(c.options.xu); +W=M.objectStoreNames();if(c.Sc.options.version+1)throw E.close(),c.L=!1,RAD(c,x);return r.return(E);case 8:throw H(), +z instanceof Error&&!g.sf("ytidb_async_stack_killswitch")&&(z.stack=z.stack+"\n"+F.substring(F.indexOf("\n")+1)),bU(z,c.name,"",(q=c.options.version)!=null?q:-1);}})} +function H(){c.T===t&&(c.T=void 0)} +var c=this;if(!this.L)throw RAD(this);if(this.T)return this.T;var t,h={blocking:function(O){O.close()}, +closed:H,fMf:H,upgrade:this.options.upgrade};return this.T=t=N()};var $V=new K9("YtIdbMeta",{xu:{databases:{nm:1}},upgrade:function(N,H){H(1)&&g.M6(N,"databases",{keyPath:"actualName"})}});var uq,kwv=new function(){}(new function(){});new g.Ps;g.k(ON,K9);ON.prototype.B=function(N,H,c){c=c===void 0?{}:c;return(this.options.shared?oSe:lg3)(N,H,Object.assign({},c))}; +ON.prototype.delete=function(N){N=N===void 0?{}:N;return(this.options.shared?m4L:ixt)(this.name,N)};var P55={},L_f=g.t4("ytGcfConfig",{xu:(P55.coldConfigStore={nm:1},P55.hotConfigStore={nm:1},P55),shared:!1,upgrade:function(N,H){H(1)&&(g.Jr(g.M6(N,"hotConfigStore",{keyPath:"key",autoIncrement:!0}),"hotTimestampIndex","timestamp"),g.Jr(g.M6(N,"coldConfigStore",{keyPath:"key",autoIncrement:!0}),"coldTimestampIndex","timestamp"))}, +version:1});g.k(cv,g.L);cv.prototype.Os=function(){for(var N=g.K(this.B),H=N.next();!H.done;H=N.next()){var c=this.T;H=c.indexOf(H.value);H>=0&&c.splice(H,1)}this.B.length=0;g.L.prototype.Os.call(this)};Pq.prototype.IE=function(N){this.hotHashData=N;g.Hw("yt.gcf.config.hotHashData",this.hotHashData||null)};var U5Z=typeof TextEncoder!=="undefined"?new TextEncoder:null,EZR=U5Z?function(N){return U5Z.encode(N)}:function(N){N=g.MD(N); +for(var H=new Uint8Array(N.length),c=0;c=H?!1:!0}; +g.C.jx=function(){var N=this;if(!tD(this))throw Error("IndexedDB is not supported: retryQueuedRequests");this.je.wQ("QUEUED",this.yL).then(function(H){H&&!N.ZL(H,N.d9)?N.YN.jP(function(){return g.Y(function(c){if(c.T==1)return H.id===void 0?c.rE(2):g.a(c,N.je.Sq(H.id,N.yL),2);N.jx();g.Z3(c)})}):N.Np.kP()&&N.zF()})};var cA;var DdD={accountStateChangeSignedIn:23,accountStateChangeSignedOut:24,delayedEventMetricCaptured:11,latencyActionBaselined:6,latencyActionInfo:7,latencyActionTicked:5,offlineTransferStatusChanged:2,offlineImageDownload:335,playbackStartStateChanged:9,systemHealthCaptured:3,mangoOnboardingCompleted:10,mangoPushNotificationReceived:230,mangoUnforkDbMigrationError:121,mangoUnforkDbMigrationSummary:122,mangoUnforkDbMigrationPreunforkDbVersionNumber:133,mangoUnforkDbMigrationPhoneMetadata:134,mangoUnforkDbMigrationPhoneStorage:135, +mangoUnforkDbMigrationStep:142,mangoAsyncApiMigrationEvent:223,mangoDownloadVideoResult:224,mangoHomepageVideoCount:279,mangoHomeV3State:295,mangoImageClientCacheHitEvent:273,sdCardStatusChanged:98,framesDropped:12,thumbnailHovered:13,deviceRetentionInfoCaptured:14,thumbnailLoaded:15,backToAppEvent:318,streamingStatsCaptured:17,offlineVideoShared:19,appCrashed:20,youThere:21,offlineStateSnapshot:22,mdxSessionStarted:25,mdxSessionConnected:26,mdxSessionDisconnected:27,bedrockResourceConsumptionSnapshot:28, +nextGenWatchWatchSwiped:29,kidsAccountsSnapshot:30,zeroStepChannelCreated:31,tvhtml5SearchCompleted:32,offlineSharePairing:34,offlineShareUnlock:35,mdxRouteDistributionSnapshot:36,bedrockRepetitiveActionTimed:37,unpluggedDegradationInfo:229,uploadMp4HeaderMoved:38,uploadVideoTranscoded:39,uploadProcessorStarted:46,uploadProcessorEnded:47,uploadProcessorReady:94,uploadProcessorRequirementPending:95,uploadProcessorInterrupted:96,uploadFrontendEvent:241,assetPackDownloadStarted:41,assetPackDownloaded:42, +assetPackApplied:43,assetPackDeleted:44,appInstallAttributionEvent:459,playbackSessionStopped:45,adBlockerMessagingShown:48,distributionChannelCaptured:49,dataPlanCpidRequested:51,detailedNetworkTypeCaptured:52,sendStateUpdated:53,receiveStateUpdated:54,sendDebugStateUpdated:55,receiveDebugStateUpdated:56,kidsErrored:57,mdxMsnSessionStatsFinished:58,appSettingsCaptured:59,mdxWebSocketServerHttpError:60,mdxWebSocketServer:61,startupCrashesDetected:62,coldStartInfo:435,offlinePlaybackStarted:63,liveChatMessageSent:225, +liveChatUserPresent:434,liveChatBeingModerated:457,liveCreationCameraUpdated:64,liveCreationEncodingCaptured:65,liveCreationError:66,liveCreationHealthUpdated:67,liveCreationVideoEffectsCaptured:68,liveCreationStageOccured:75,liveCreationBroadcastScheduled:123,liveCreationArchiveReplacement:149,liveCreationCostreamingConnection:421,liveCreationPlayablesMetrics:533,liveCreationStreamWebrtcStats:288,liveCreationWebrtcError:526,mdxSessionRecoveryStarted:69,mdxSessionRecoveryCompleted:70,mdxSessionRecoveryStopped:71, +visualElementShown:72,visualElementHidden:73,visualElementGestured:78,visualElementStateChanged:208,screenCreated:156,playbackAssociated:202,visualElementAttached:215,playbackContextEvent:214,cloudCastingPlaybackStarted:74,webPlayerApiCalled:76,tvhtml5AccountDialogOpened:79,foregroundHeartbeat:80,foregroundHeartbeatScreenAssociated:111,kidsOfflineSnapshot:81,mdxEncryptionSessionStatsFinished:82,playerRequestCompleted:83,liteSchedulerStatistics:84,mdxSignIn:85,spacecastMetadataLookupRequested:86,spacecastBatchLookupRequested:87, +spacecastSummaryRequested:88,spacecastPlayback:89,spacecastDiscovery:90,tvhtml5LaunchUrlComponentChanged:91,mdxBackgroundPlaybackRequestCompleted:92,mdxBrokenAdditionalDataDeviceDetected:93,tvhtml5LocalStorage:97,tvhtml5DeviceStorageStatus:147,autoCaptionsAvailable:99,playbackScrubbingEvent:339,flexyState:100,interfaceOrientationCaptured:101,mainAppBrowseFragmentCache:102,offlineCacheVerificationFailure:103,offlinePlaybackExceptionDigest:217,vrCopresenceStats:104,vrCopresenceSyncStats:130,vrCopresenceCommsStats:137, +vrCopresencePartyStats:153,vrCopresenceEmojiStats:213,vrCopresenceEvent:141,vrCopresenceFlowTransitEvent:160,vrCowatchPartyEvent:492,vrCowatchUserStartOrJoinEvent:504,vrPlaybackEvent:345,kidsAgeGateTracking:105,offlineDelayAllowedTracking:106,mainAppAutoOfflineState:107,videoAsThumbnailDownload:108,videoAsThumbnailPlayback:109,liteShowMore:110,renderingError:118,kidsProfilePinGateTracking:119,abrTrajectory:124,scrollEvent:125,streamzIncremented:126,kidsProfileSwitcherTracking:127,kidsProfileCreationTracking:129, +buyFlowStarted:136,mbsConnectionInitiated:138,mbsPlaybackInitiated:139,mbsLoadChildren:140,liteProfileFetcher:144,mdxRemoteTransaction:146,reelPlaybackError:148,reachabilityDetectionEvent:150,mobilePlaybackEvent:151,courtsidePlayerStateChanged:152,musicPersistentCacheChecked:154,musicPersistentCacheCleared:155,playbackInterrupted:157,playbackInterruptionResolved:158,fixFopFlow:159,anrDetection:161,backstagePostCreationFlowEnded:162,clientError:163,gamingAccountLinkStatusChanged:164,liteHousewarming:165, +buyFlowEvent:167,kidsParentalGateTracking:168,kidsSignedOutSettingsStatus:437,kidsSignedOutPauseHistoryFixStatus:438,tvhtml5WatchdogViolation:444,ypcUpgradeFlow:169,yongleStudy:170,ypcUpdateFlowStarted:171,ypcUpdateFlowCancelled:172,ypcUpdateFlowSucceeded:173,ypcUpdateFlowFailed:174,liteGrowthkitPromo:175,paymentFlowStarted:341,transactionFlowShowPaymentDialog:405,transactionFlowStarted:176,transactionFlowSecondaryDeviceStarted:222,transactionFlowSecondaryDeviceSignedOutStarted:383,transactionFlowCancelled:177, +transactionFlowPaymentCallBackReceived:387,transactionFlowPaymentSubmitted:460,transactionFlowPaymentSucceeded:329,transactionFlowSucceeded:178,transactionFlowFailed:179,transactionFlowPlayBillingConnectionStartEvent:428,transactionFlowSecondaryDeviceSuccess:458,transactionFlowErrorEvent:411,liteVideoQualityChanged:180,watchBreakEnablementSettingEvent:181,watchBreakFrequencySettingEvent:182,videoEffectsCameraPerformanceMetrics:183,adNotify:184,startupTelemetry:185,playbackOfflineFallbackUsed:186, +outOfMemory:187,ypcPauseFlowStarted:188,ypcPauseFlowCancelled:189,ypcPauseFlowSucceeded:190,ypcPauseFlowFailed:191,uploadFileSelected:192,ypcResumeFlowStarted:193,ypcResumeFlowCancelled:194,ypcResumeFlowSucceeded:195,ypcResumeFlowFailed:196,adsClientStateChange:197,ypcCancelFlowStarted:198,ypcCancelFlowCancelled:199,ypcCancelFlowSucceeded:200,ypcCancelFlowFailed:201,ypcCancelFlowGoToPaymentProcessor:402,ypcDeactivateFlowStarted:320,ypcRedeemFlowStarted:203,ypcRedeemFlowCancelled:204,ypcRedeemFlowSucceeded:205, +ypcRedeemFlowFailed:206,ypcFamilyCreateFlowStarted:258,ypcFamilyCreateFlowCancelled:259,ypcFamilyCreateFlowSucceeded:260,ypcFamilyCreateFlowFailed:261,ypcFamilyManageFlowStarted:262,ypcFamilyManageFlowCancelled:263,ypcFamilyManageFlowSucceeded:264,ypcFamilyManageFlowFailed:265,restoreContextEvent:207,embedsAdEvent:327,autoplayTriggered:209,clientDataErrorEvent:210,experimentalVssValidation:211,tvhtml5TriggeredEvent:212,tvhtml5FrameworksFieldTrialResult:216,tvhtml5FrameworksFieldTrialStart:220,musicOfflinePreferences:218, +watchTimeSegment:219,appWidthLayoutError:221,accountRegistryChange:226,userMentionAutoCompleteBoxEvent:227,downloadRecommendationEnablementSettingEvent:228,musicPlaybackContentModeChangeEvent:231,offlineDbOpenCompleted:232,kidsFlowEvent:233,kidsFlowCorpusSelectedEvent:234,videoEffectsEvent:235,unpluggedOpsEogAnalyticsEvent:236,playbackAudioRouteEvent:237,interactionLoggingDebugModeError:238,offlineYtbRefreshed:239,kidsFlowError:240,musicAutoplayOnLaunchAttempted:242,deviceContextActivityEvent:243, +deviceContextEvent:244,templateResolutionException:245,musicSideloadedPlaylistServiceCalled:246,embedsStorageAccessNotChecked:247,embedsHasStorageAccessResult:248,embedsItpPlayedOnReload:249,embedsRequestStorageAccessResult:250,embedsShouldRequestStorageAccessResult:251,embedsRequestStorageAccessState:256,embedsRequestStorageAccessFailedState:257,embedsItpWatchLaterResult:266,searchSuggestDecodingPayloadFailure:252,siriShortcutActivated:253,tvhtml5KeyboardPerformance:254,latencyActionSpan:255,elementsLog:267, +ytbFileOpened:268,tfliteModelError:269,apiTest:270,yongleUsbSetup:271,touStrikeInterstitialEvent:272,liteStreamToSave:274,appBundleClientEvent:275,ytbFileCreationFailed:276,adNotifyFailure:278,ytbTransferFailed:280,blockingRequestFailed:281,liteAccountSelector:282,liteAccountUiCallbacks:283,dummyPayload:284,browseResponseValidationEvent:285,entitiesError:286,musicIosBackgroundFetch:287,mdxNotificationEvent:289,layersValidationError:290,musicPwaInstalled:291,liteAccountCleanup:292,html5PlayerHealthEvent:293, +watchRestoreAttempt:294,liteAccountSignIn:296,notaireEvent:298,kidsVoiceSearchEvent:299,adNotifyFilled:300,delayedEventDropped:301,analyticsSearchEvent:302,systemDarkThemeOptOutEvent:303,flowEvent:304,networkConnectivityBaselineEvent:305,ytbFileImported:306,downloadStreamUrlExpired:307,directSignInEvent:308,lyricImpressionEvent:309,accessibilityStateEvent:310,tokenRefreshEvent:311,genericAttestationExecution:312,tvhtml5VideoSeek:313,unpluggedAutoPause:314,scrubbingEvent:315,bedtimeReminderEvent:317, +tvhtml5UnexpectedRestart:319,tvhtml5StabilityTraceEvent:478,tvhtml5OperationHealth:467,tvhtml5WatchKeyEvent:321,voiceLanguageChanged:322,tvhtml5LiveChatStatus:323,parentToolsCorpusSelectedEvent:324,offerAdsEnrollmentInitiated:325,networkQualityIntervalEvent:326,deviceStartupMetrics:328,heartbeatActionPlayerTransitioned:330,tvhtml5Lifecycle:331,heartbeatActionPlayerHalted:332,adaptiveInlineMutedSettingEvent:333,mainAppLibraryLoadingState:334,thirdPartyLogMonitoringEvent:336,appShellAssetLoadReport:337, +tvhtml5AndroidAttestation:338,tvhtml5StartupSoundEvent:340,iosBackgroundRefreshTask:342,iosBackgroundProcessingTask:343,sliEventBatch:344,postImpressionEvent:346,musicSideloadedPlaylistExport:347,idbUnexpectedlyClosed:348,voiceSearchEvent:349,mdxSessionCastEvent:350,idbQuotaExceeded:351,idbTransactionEnded:352,idbTransactionAborted:353,tvhtml5KeyboardLogging:354,idbIsSupportedCompleted:355,creatorStudioMobileEvent:356,idbDataCorrupted:357,parentToolsAppChosenEvent:358,webViewBottomSheetResized:359, +activeStateControllerScrollPerformanceSummary:360,navigatorValidation:361,mdxSessionHeartbeat:362,clientHintsPolyfillDiagnostics:363,clientHintsPolyfillEvent:364,proofOfOriginTokenError:365,kidsAddedAccountSummary:366,musicWearableDevice:367,ypcRefundFlowEvent:368,tvhtml5PlaybackMeasurementEvent:369,tvhtml5WatermarkMeasurementEvent:370,clientExpGcfPropagationEvent:371,mainAppReferrerIntent:372,leaderLockEnded:373,leaderLockAcquired:374,googleHatsEvent:375,persistentLensLaunchEvent:376,parentToolsChildWelcomeChosenEvent:378, +browseThumbnailPreloadEvent:379,finalPayload:380,mdxDialAdditionalDataUpdateEvent:381,webOrchestrationTaskLifecycleRecord:382,startupSignalEvent:384,accountError:385,gmsDeviceCheckEvent:386,accountSelectorEvent:388,accountUiCallbacks:389,mdxDialAdditionalDataProbeEvent:390,downloadsSearchIcingApiStats:391,downloadsSearchIndexUpdatedEvent:397,downloadsSearchIndexSnapshot:398,dataPushClientEvent:392,kidsCategorySelectedEvent:393,mdxDeviceManagementSnapshotEvent:394,prefetchRequested:395,prefetchableCommandExecuted:396, +gelDebuggingEvent:399,webLinkTtsPlayEnd:400,clipViewInvalid:401,persistentStorageStateChecked:403,cacheWipeoutEvent:404,playerEvent:410,sfvEffectPipelineStartedEvent:412,sfvEffectPipelinePausedEvent:429,sfvEffectPipelineEndedEvent:413,sfvEffectChosenEvent:414,sfvEffectLoadedEvent:415,sfvEffectUserInteractionEvent:465,sfvEffectFirstFrameProcessedLatencyEvent:416,sfvEffectAggregatedFramesProcessedLatencyEvent:417,sfvEffectAggregatedFramesDroppedEvent:418,sfvEffectPipelineErrorEvent:430,sfvEffectGraphFrozenEvent:419, +sfvEffectGlThreadBlockedEvent:420,mdeQosEvent:510,mdeVideoChangedEvent:442,mdePlayerPerformanceMetrics:472,mdeExporterEvent:497,genericClientExperimentEvent:423,homePreloadTaskScheduled:424,homePreloadTaskExecuted:425,homePreloadCacheHit:426,polymerPropertyChangedInObserver:427,applicationStarted:431,networkCronetRttBatch:432,networkCronetRttSummary:433,repeatChapterLoopEvent:436,seekCancellationEvent:462,lockModeTimeoutEvent:483,externalVideoShareToYoutubeAttempt:501,parentCodeEvent:502,offlineTransferStarted:4, +musicOfflineMixtapePreferencesChanged:16,mangoDailyNewVideosNotificationAttempt:40,mangoDailyNewVideosNotificationError:77,dtwsPlaybackStarted:112,dtwsTileFetchStarted:113,dtwsTileFetchCompleted:114,dtwsTileFetchStatusChanged:145,dtwsKeyframeDecoderBufferSent:115,dtwsTileUnderflowedOnNonkeyframe:116,dtwsBackfillFetchStatusChanged:143,dtwsBackfillUnderflowed:117,dtwsAdaptiveLevelChanged:128,blockingVisitorIdTimeout:277,liteSocial:18,mobileJsInvocation:297,biscottiBasedDetection:439,coWatchStateChange:440, +embedsVideoDataDidChange:441,shortsFirst:443,cruiseControlEvent:445,qoeClientLoggingContext:446,atvRecommendationJobExecuted:447,tvhtml5UserFeedback:448,producerProjectCreated:449,producerProjectOpened:450,producerProjectDeleted:451,producerProjectElementAdded:453,producerProjectElementRemoved:454,producerAppStateChange:509,producerProjectDiskInsufficientExportFailure:516,producerMediaServicesResetDetails:522,tvhtml5ShowClockEvent:455,deviceCapabilityCheckMetrics:456,youtubeClearcutEvent:461,offlineBrowseFallbackEvent:463, +getCtvTokenEvent:464,startupDroppedFramesSummary:466,screenshotEvent:468,miniAppPlayEvent:469,elementsDebugCounters:470,fontLoadEvent:471,webKillswitchReceived:473,webKillswitchExecuted:474,cameraOpenEvent:475,manualSmoothnessMeasurement:476,tvhtml5AppQualityEvent:477,polymerPropertyAccessEvent:479,miniAppSdkUsage:480,cobaltTelemetryEvent:481,crossDevicePlayback:482,channelCreatedWithObakeImage:484,channelEditedWithObakeImage:485,offlineDeleteEvent:486,crossDeviceNotificationTransfer:487,androidIntentEvent:488, +unpluggedAmbientInterludesCounterfactualEvent:489,keyPlaysPlayback:490,shortsCreationFallbackEvent:493,vssData:491,castMatch:494,miniAppPerformanceMetrics:495,userFeedbackEvent:496,kidsGuestSessionMismatch:498,musicSideloadedPlaylistMigrationEvent:499,sleepTimerSessionFinishEvent:500,watchEpPromoConflict:503,innertubeResponseCacheMetrics:505,miniAppAdEvent:506,dataPlanUpsellEvent:507,producerProjectRenamed:508,producerMediaSelectionEvent:511,embedsAutoplayStatusChanged:512,remoteConnectEvent:513, +connectedSessionMisattributionEvent:514,producerProjectElementModified:515,adsSeenClientLogging:517,producerEvent:518,tvhtml5CleanStart:519,deviceAccountMetricsEvent:520,derpLogEvent:521,playablesPortalEvent:523,ipValidationStarted:524,ipValidationReceived:525,reelsSequenceMutationEvent:527,watchZoomStateChange:528,metadataEditorEvent:529,kidsPrismaDeeplinksEvent:530,creationOrchestrationEvent:531,coordinatedSamplingTriggered:532};var V7Y={},k2v=g.t4("ServiceWorkerLogsDatabase",{xu:(V7Y.SWHealthLog={nm:1},V7Y),shared:!0,upgrade:function(N,H){H(1)&&g.Jr(g.M6(N,"SWHealthLog",{keyPath:"id",autoIncrement:!0}),"swHealthNewRequest",["interface","timestamp"])}, +version:1});var b0w={},I0h=0;var yaR;OX.prototype.requestComplete=function(N,H){H&&(this.B=!0);N=this.removeParams(N);this.T.get(N)||this.T.set(N,H)}; +OX.prototype.isEndpointCFR=function(N){N=this.removeParams(N);return(N=this.T.get(N))?!1:N===!1&&this.B?!0:null}; +OX.prototype.removeParams=function(N){return N.split("?")[0]}; +OX.prototype.removeParams=OX.prototype.removeParams;OX.prototype.isEndpointCFR=OX.prototype.isEndpointCFR;OX.prototype.requestComplete=OX.prototype.requestComplete;OX.getInstance=up;g.k(dA,g.d9);g.C=dA.prototype;g.C.kP=function(){return this.T.kP()}; +g.C.h2=function(N){this.T.T=N}; +g.C.clS=function(){var N=window.navigator.onLine;return N===void 0?!0:N}; +g.C.OD=function(){this.B=!0}; +g.C.listen=function(N,H){return this.T.listen(N,H)}; +g.C.nM=function(N){N=yP(this.T,N);N.then(function(H){g.sf("use_cfr_monitor")&&up().requestComplete("generate_204",H)}); +return N}; +dA.prototype.sendNetworkCheckRequest=dA.prototype.nM;dA.prototype.listen=dA.prototype.listen;dA.prototype.enableErrorFlushing=dA.prototype.OD;dA.prototype.getWindowStatus=dA.prototype.clS;dA.prototype.networkStatusHint=dA.prototype.h2;dA.prototype.isNetworkAvailable=dA.prototype.kP;dA.getInstance=PxD;g.k(g.aC,g.d9);g.aC.prototype.kP=function(){var N=g.NA("yt.networkStatusManager.instance.isNetworkAvailable");return N?N.bind(this.B)():!0}; +g.aC.prototype.h2=function(N){var H=g.NA("yt.networkStatusManager.instance.networkStatusHint").bind(this.B);H&&H(N)}; +g.aC.prototype.nM=function(N){var H=this,c;return g.Y(function(t){c=g.NA("yt.networkStatusManager.instance.sendNetworkCheckRequest").bind(H.B);return g.sf("skip_network_check_if_cfr")&&up().isEndpointCFR("generate_204")?t.return(new Promise(function(h){var O;H.h2(((O=window.navigator)==null?void 0:O.onLine)||!0);h(H.kP())})):c?t.return(c(N)):t.return(!0)})};var AE;g.k(b4,YN);b4.prototype.writeThenSend=function(N,H){H||(H={});H=OGw(N,H);g.En()||(this.T=!1);YN.prototype.writeThenSend.call(this,N,H)}; +b4.prototype.sendThenWrite=function(N,H,c){H||(H={});H=OGw(N,H);g.En()||(this.T=!1);YN.prototype.sendThenWrite.call(this,N,H,c)}; +b4.prototype.sendAndWrite=function(N,H){H||(H={});H=OGw(N,H);g.En()||(this.T=!1);YN.prototype.sendAndWrite.call(this,N,H)}; +b4.prototype.awaitInitialization=function(){return this.L.promise};var GgZ=g.di.ytNetworklessLoggingInitializationOptions||{isNwlInitialized:!1};g.Hw("ytNetworklessLoggingInitializationOptions",GgZ);g.jo.prototype.isReady=function(){!this.config_&&GuL()&&(this.config_=g.pR());return!!this.config_};var LYd,l1,g9;LYd=g.di.ytPubsubPubsubInstance||new g.L0;l1=g.di.ytPubsubPubsubSubscribedKeys||{};g9=g.di.ytPubsubPubsubTopicToKeys||{};g.Kk=g.di.ytPubsubPubsubIsSynchronous||{};g.L0.prototype.subscribe=g.L0.prototype.subscribe;g.L0.prototype.unsubscribeByKey=g.L0.prototype.nC;g.L0.prototype.publish=g.L0.prototype.publish;g.L0.prototype.clear=g.L0.prototype.clear;g.Hw("ytPubsubPubsubInstance",LYd);g.Hw("ytPubsubPubsubTopicToKeys",g9);g.Hw("ytPubsubPubsubIsSynchronous",g.Kk); +g.Hw("ytPubsubPubsubSubscribedKeys",l1);var Ycd={};g.k(iH,g.L);iH.prototype.append=function(N){if(!this.B)throw Error("This does not support the append operation");N=N.N4();this.N4().appendChild(N)}; +g.k(jM,iH);jM.prototype.N4=function(){return this.T};g.k(MM,g.L);MM.prototype.onTouchStart=function(N){this.C=!0;this.B=N.touches.length;this.T.isActive()&&(this.T.stop(),this.S=!0);N=N.touches;this.Y=yPR(this,N)||N.length!=1;var H=N.item(0);this.Y||!H?this.TW=this.Z=Infinity:(this.Z=H.clientX,this.TW=H.clientY);for(H=this.L.length=0;H=0)}if(H||N&&Math.pow(N.clientX-this.Z,2)+Math.pow(N.clientY-this.TW,2)>25)this.U=!0}; +MM.prototype.onTouchEnd=function(N){var H=N.changedTouches;H&&this.C&&this.B==1&&!this.U&&!this.S&&!this.Y&&yPR(this,H)&&(this.Bp=N,this.T.start());this.B=N.touches.length;this.B===0&&(this.U=this.C=!1,this.L.length=0);this.S=!1};var RB=Date.now().toString();var j7R={};var Uj=Symbol("injectionDeps");Af.prototype.toString=function(){return"InjectionToken("+this.name+")"}; +YfS.prototype.resolve=function(N){return N instanceof Sp?XB(this,N.key,[],!0):XB(this,N,[])};var Xr;var QO=window;var fX=g.sf("web_enable_lifecycle_monitoring")&&DN()!==0,efS=g.sf("web_enable_lifecycle_monitoring");JnD.prototype.cancel=function(){for(var N=g.K(this.T),H=N.next();!H.done;H=N.next())H=H.value,H.jobId===void 0||H.E7||this.scheduler.k8(H.jobId),H.E7=!0;this.B.resolve()};g.C=O_.prototype;g.C.install=function(N){this.plugins.push(N);return this}; +g.C.uninstall=function(){var N=this;g.LQ.apply(0,arguments).forEach(function(H){H=N.plugins.indexOf(H);H>-1&&N.plugins.splice(H,1)})}; +g.C.transition=function(N,H){var c=this;fX&&QAh(this.state);var t=this.transitions.find(function(O){return Array.isArray(O.from)?O.from.find(function(F){return F===c.state&&O.to===N}):O.from===c.state&&O.to===N}); +if(t){this.B&&(RM3(this.B),this.B=void 0);vjv(this,N,H);this.state=N;fX&&a5(this.state);t=t.action.bind(this);var h=this.plugins.filter(function(O){return O[N]}).map(function(O){return O[N]}); +t(mPy(this,h),H)}else throw Error("no transition specified from "+this.state+" to "+N);}; +g.C.u1E=function(N){var H=g.LQ.apply(1,arguments);g.S6();for(var c=g.K(N),t=c.next(),h={};!t.done;h={E3:void 0},t=c.next())h.E3=t.value,Ibs(function(O){return function(){eL(O.E3.name);N1(function(){return O.E3.callback.apply(O.E3,g.HE(H))}); +df(O.E3.name)}}(h))}; +g.C.C$s=function(N){var H=g.LQ.apply(1,arguments),c,t,h,O;return g.Y(function(F){F.T==1&&(g.S6(),c=g.K(N),t=c.next(),h={});if(F.T!=3){if(t.done)return F.rE(0);h.SS=t.value;h.Sv=void 0;O=function(M){return function(){eL(M.SS.name);var f=N1(function(){return M.SS.callback.apply(M.SS,g.HE(H))}); +DZ(f)?M.Sv=g.sf("web_lifecycle_error_handling_killswitch")?f.then(function(){df(M.SS.name)}):f.then(function(){df(M.SS.name)},function(d){cGZ(d); +df(M.SS.name)}):df(M.SS.name)}}(h); +Ibs(O);return h.Sv?g.a(F,h.Sv,3):F.rE(3)}h={SS:void 0,Sv:void 0};t=c.next();return F.rE(2)})}; +g.C.cj=function(N){var H=g.LQ.apply(1,arguments),c=this,t=N.map(function(h){return{Zn:function(){eL(h.name);N1(function(){return h.callback.apply(h,g.HE(H))}); +df(h.name)}, +priority:oM(c,h)}}); +t.length&&(this.B=new JnD(t))}; +g.U7.Object.defineProperties(O_.prototype,{currentState:{configurable:!0,enumerable:!0,get:function(){return this.state}}});var Rq;g.k(oq,O_);oq.prototype.S=function(N,H){var c=this;this.T=g.ii(0,function(){c.currentState==="application_navigating"&&c.transition("none")},5E3); +N(H==null?void 0:H.event)}; +oq.prototype.Y=function(N,H){this.T&&(g.jO.k8(this.T),this.T=null);N(H==null?void 0:H.event)};var Yl=[];g.Hw("yt.logging.transport.getScrapedGelPayloads",function(){return Yl});p1.prototype.storePayload=function(N,H){N=ifl(N);this.store[N]?this.store[N].push(H):(this.B={},this.store[N]=[H]);this.T++;g.sf("more_accurate_gel_parser")&&(H=new CustomEvent("TRANSPORTING_NEW_EVENT"),window.dispatchEvent(H));return N}; +p1.prototype.smartExtractMatchingEntries=function(N){if(!N.keys.length)return[];for(var H=coL(this,N.keys.splice(0,1)[0]),c=[],t=0;t=0){t=!1;break a}}t=!0}t&&(H=d5(H))&&this.QK(H)}}; +g.C.Xc=function(N){return N}; +g.C.onTouchStart=function(N){this.ox.onTouchStart(N)}; +g.C.onTouchMove=function(N){this.ox.onTouchMove(N)}; +g.C.onTouchEnd=function(N){if(this.ox)this.ox.onTouchEnd(N)}; +g.C.QK=function(N){this.layoutId?this.yS.executeCommand(N,this.layoutId):(N=new g.ti("There is undefined layoutId when calling the runCommand method.",{componentType:this.componentType}),g.BZ(N))}; +g.C.createServerVe=function(N,H){this.api.createServerVe(N,this);this.api.setTrackingParams(N,H)}; +g.C.logVisibility=function(N,H){this.api.hasVe(N)&&this.api.logVisibility(N,H,this.interactionLoggingClientData)}; +g.C.Os=function(){this.clear(null);this.G3(this.UF);for(var N=g.K(this.NT),H=N.next();!H.done;H=N.next())this.G3(H.value);g.lL.prototype.Os.call(this)};g.k(Mj,sE); +Mj.prototype.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);this.T=H;if(H.text==null&&H.icon==null)g.aS(Error("ButtonRenderer did not have text or an icon set."));else{switch(H.style||null){case "STYLE_UNKNOWN":N="ytp-ad-button-link";break;default:N=null}N!=null&&g.bV(this.element,N);H.text!=null&&(N=g.Fu(H.text),g.YY(N)||(this.element.setAttribute("aria-label",N),this.L=new g.lL({W:"span",K:"ytp-ad-button-text",Wp:N}),g.l(this,this.L),this.L.Jl(this.element)));H.accessibilityData&&H.accessibilityData.accessibilityData&& +H.accessibilityData.accessibilityData.label&&!g.YY(H.accessibilityData.accessibilityData.label)&&this.element.setAttribute("aria-label",H.accessibilityData.accessibilityData.label);H.icon!=null&&(H=G_(H.icon,this.U),H!=null&&(this.B=new g.lL({W:"span",K:"ytp-ad-button-icon",X:[H]}),g.l(this,this.B)),this.S?PH(this.element,this.B.element,0):this.B.Jl(this.element))}}; +Mj.prototype.clear=function(){this.hide()}; +Mj.prototype.onClick=function(N){sE.prototype.onClick.call(this,N);N=g.K(qle(this));for(var H=N.next();!H.done;H=N.next())H=H.value,this.layoutId?this.yS.executeCommand(H,this.layoutId):g.BZ(Error("Missing layoutId for button."));this.api.onAdUxClicked(this.componentType,this.layoutId)};g.k(l9,g.L);l9.prototype.Os=function(){this.B&&g.Kr(this.B);this.T.clear();CD=null;g.L.prototype.Os.call(this)}; +l9.prototype.register=function(N,H){H&&this.T.set(N,H)}; +var CD=null;g.k(RY,sE); +RY.prototype.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);N=H.hoverText||null;H=H.button&&g.P(H.button,g.mM)||null;H==null?g.BZ(Error("AdHoverTextButtonRenderer.button was not set in response.")):(this.button=new Mj(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,void 0,void 0,void 0,void 0,this.L),g.l(this,this.button),this.button.init(Gx("button"),H,this.macros),N&&this.button.element.setAttribute("aria-label",g.Fu(N)),this.button.Jl(this.element),this.Z&&!g.fk(this.button.element, +"ytp-ad-clickable")&&g.bV(this.button.element,"ytp-ad-clickable"),this.L&&g.bV(this.button.element,"ytp-ad-hover-text-button--clean-player"),N&&(this.B=new g.lL({W:"div",K:"ytp-ad-hover-text-container"}),this.S&&(H=new g.lL({W:"div",K:"ytp-ad-hover-text-callout"}),H.Jl(this.B.element),g.l(this,H)),g.l(this,this.B),this.B.Jl(this.element),H=$v(N),PH(this.B.element,H,0)),this.show())}; +RY.prototype.hide=function(){this.button&&this.button.hide();this.B&&this.B.hide();sE.prototype.hide.call(this)}; +RY.prototype.show=function(){this.button&&this.button.show();sE.prototype.show.call(this)};g.k(tE,sE); +tE.prototype.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);c=(N=H.thumbnail)&&ew(N)||"";g.YY(c)?Math.random()<.01&&g.aS(Error("Found AdImage without valid image URL")):(this.T?g.eU(this.element,"backgroundImage","url("+c+")"):va(this.element,{src:c}),va(this.element,{alt:N&&N.accessibility&&N.accessibility.label||""}),H&&H.adRendererCommands&&H.adRendererCommands.clickCommand?this.element.classList.add("ytp-ad-clickable-element"):this.element.classList.remove("ytp-ad-clickable-element"),this.show())}; +tE.prototype.clear=function(){this.hide()};g.k(vS,sE);g.C=vS.prototype;g.C.hide=function(){sE.prototype.hide.call(this);this.L&&this.L.focus()}; +g.C.show=function(){this.L=document.activeElement;sE.prototype.show.call(this);this.U.focus()}; +g.C.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);this.B=H;H.dialogMessages||H.title!=null?H.confirmLabel==null?g.BZ(Error("ConfirmDialogRenderer.confirmLabel was not set.")):H.cancelLabel==null?g.BZ(Error("ConfirmDialogRenderer.cancelLabel was not set.")):DNd(this,H):g.BZ(Error("Neither ConfirmDialogRenderer.title nor ConfirmDialogRenderer.dialogMessages were set."))}; +g.C.clear=function(){g.bM(this.T);this.hide()}; +g.C.Cf=function(){this.hide()}; +g.C.eQ=function(){var N=this.B.cancelEndpoint;N&&(this.layoutId?this.yS.executeCommand(N,this.layoutId):g.BZ(Error("Missing layoutId for confirm dialog.")));this.hide()}; +g.C.Kf=function(){var N=this.B.confirmNavigationEndpoint||this.B.confirmEndpoint;N&&(this.layoutId?this.yS.executeCommand(N,this.layoutId):g.BZ(Error("Missing layoutId for confirm dialog.")));this.hide()};g.k(cF,sE);g.C=cF.prototype; +g.C.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);this.L=H;if(H.defaultText==null&&H.defaultIcon==null)g.BZ(Error("ToggleButtonRenderer must have either text or icon set."));else if(H.defaultIcon==null&&H.toggledIcon!=null)g.BZ(Error("ToggleButtonRenderer cannot have toggled icon set without a default icon."));else{if(H.style){switch(H.style.styleType){case "STYLE_UNKNOWN":case "STYLE_DEFAULT":N="ytp-ad-toggle-button-default-style";break;default:N=null}N!=null&&g.bV(this.U,N)}N={};H.defaultText? +(c=g.Fu(H.defaultText),g.YY(c)||(N.buttonText=c,this.api.D().experiments.M4("a11y_h5_associate_survey_question")||this.T.setAttribute("aria-label",c),this.api.D().experiments.M4("fix_h5_toggle_button_a11y")&&this.B.setAttribute("aria-label",c))):g.AM(this.Ix,!1);H.defaultTooltip&&(N.tooltipText=H.defaultTooltip,this.T.hasAttribute("aria-label")||this.B.setAttribute("aria-label",H.defaultTooltip));H.defaultIcon?(c=G_(H.defaultIcon),this.updateValue("untoggledIconTemplateSpec",c),H.toggledIcon?(this.Us= +!0,c=G_(H.toggledIcon),this.updateValue("toggledIconTemplateSpec",c)):(g.AM(this.Z,!0),g.AM(this.S,!1)),g.AM(this.T,!1)):g.AM(this.B,!1);g.NF(N)||this.update(N);H.isToggled&&(g.bV(this.U,"ytp-ad-toggle-button-toggled"),this.toggleButton(H.isToggled));aL(this);this.G(this.element,"change",this.h5);this.show()}}; +g.C.onClick=function(N){this.NT.length>0&&(this.toggleButton(!this.isToggled()),this.h5());sE.prototype.onClick.call(this,N)}; +g.C.h5=function(){g.QH(this.U,"ytp-ad-toggle-button-toggled",this.isToggled());for(var N=g.K(u5s(this,this.isToggled())),H=N.next();!H.done;H=N.next())H=H.value,this.layoutId?this.yS.executeCommand(H,this.layoutId):g.BZ(Error("Missing layoutId for toggle button."));if(this.isToggled())this.api.onAdUxClicked("toggle-button",this.layoutId);aL(this)}; +g.C.clear=function(){this.hide()}; +g.C.toggleButton=function(N){g.QH(this.U,"ytp-ad-toggle-button-toggled",N);this.T.checked=N;aL(this)}; +g.C.isToggled=function(){return this.T.checked};g.k(Ys,Qz);Ys.prototype.S=function(N){if(Array.isArray(N)){N=g.K(N);for(var H=N.next();!H.done;H=N.next())H=H.value,H instanceof uRt&&this.L(H)}};g.k(aX,sE);g.C=aX.prototype;g.C.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);H.reasons?H.confirmLabel==null?g.BZ(Error("AdFeedbackRenderer.confirmLabel was not set.")):(H.cancelLabel==null&&g.aS(Error("AdFeedbackRenderer.cancelLabel was not set.")),H.title==null&&g.aS(Error("AdFeedbackRenderer.title was not set.")),T73(this,H)):g.BZ(Error("AdFeedbackRenderer.reasons were not set."))}; +g.C.clear=function(){g0(this.S);g0(this.Z);this.U.length=0;this.hide()}; +g.C.hide=function(){this.T&&this.T.hide();this.B&&this.B.hide();sE.prototype.hide.call(this);this.L&&this.L.focus()}; +g.C.show=function(){this.T&&this.T.show();this.B&&this.B.show();this.L=document.activeElement;sE.prototype.show.call(this);this.S.focus()}; +g.C.ek=function(){this.api.onAdUxClicked("ad-feedback-dialog-close-button",this.layoutId);this.publish("a");this.hide()}; +g.C.JYW=function(){this.hide()}; +$O.prototype.N4=function(){return this.T.element}; +$O.prototype.getCommand=function(){return this.B}; +$O.prototype.isChecked=function(){return this.L.checked};g.k(pE,vS);pE.prototype.Cf=function(N){vS.prototype.Cf.call(this,N);this.api.onAdUxClicked("ad-mute-confirm-dialog-close-button")}; +pE.prototype.eQ=function(N){vS.prototype.eQ.call(this,N);this.api.onAdUxClicked("ad-mute-confirm-dialog-close-button")}; +pE.prototype.Kf=function(N){vS.prototype.Kf.call(this,N);this.api.onAdUxClicked("ad-mute-confirm-dialog-confirm-button");this.publish("b")};g.k(yd,sE);g.C=yd.prototype; +g.C.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);this.S=H;if(H.dialogMessage==null&&H.title==null)g.BZ(Error("Neither AdInfoDialogRenderer.dialogMessage nor AdInfoDialogRenderer.title was set."));else{H.confirmLabel==null&&g.aS(Error("AdInfoDialogRenderer.confirmLabel was not set."));if(N=H.closeOverlayRenderer&&g.P(H.closeOverlayRenderer,g.mM)||null)this.T=new Mj(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,["ytp-ad-info-dialog-close-button"],"ad-info-dialog-close-button"), +g.l(this,this.T),this.T.init(Gx("button"),N,this.macros),this.T.Jl(this.element);H.title&&(N=g.Fu(H.title),this.updateValue("title",N));if(H.adReasons)for(N=H.adReasons,c=0;c=this.gE?(this.Us.hide(),this.vp=!0,this.publish("i")):this.L&&this.L.isTemplated()&&(N=Math.max(0,Math.ceil((this.gE-N)/1E3)),N!=this.Xg&&(cas(this.L,{TIME_REMAINING:String(N)}),this.Xg=N)))}};g.k(FU,J0);g.C=FU.prototype; +g.C.init=function(N,H,c){J0.prototype.init.call(this,N,H,c);if(H.image&&H.image.thumbnail)if(H.headline)if(H.description)if((N=H.actionButton&&g.P(H.actionButton,g.mM))&&N.navigationEndpoint){var t=this.api.getVideoData(2);if(t!=null)if(H.image&&H.image.thumbnail){var h=H.image.thumbnail.thumbnails;h!=null&&h.length>0&&g.YY(g.vM(h[0].url))&&(h[0].url=t.profilePicture)}else g.aS(Error("FlyoutCtaRenderer does not have image.thumbnail."));this.L.init(Gx("ad-image"),H.image,c);this.S.init(Gx("ad-text"), +H.headline,c);this.U.init(Gx("ad-text"),H.description,c);this.B.init(Gx("button"),N,c);c=tKZ(this.B.element);UH(this.B.element,c+" This link opens in new tab");this.Us=N.navigationEndpoint;this.api.Ox()||this.show();this.api.addEventListener("playerUnderlayVisibilityChange",this.OL.bind(this));this.Ix=H.startMs||0;uG(this)}else g.BZ(Error("FlyoutCtaRenderer has no valid action button."));else g.BZ(Error("FlyoutCtaRenderer has no description AdText."));else g.BZ(Error("FlyoutCtaRenderer has no headline AdText.")); +else g.aS(Error("FlyoutCtaRenderer has no image."))}; +g.C.onClick=function(N){J0.prototype.onClick.call(this,N);this.api.pauseVideo();!g.m5(this.B.element,N.target)&&this.Us&&(this.layoutId?this.yS.executeCommand(this.Us,this.layoutId):g.BZ(Error("Missing layoutId for flyout cta.")))}; +g.C.Ny=function(){if(this.T){var N=this.T.getProgressState();(N&&N.current||this.gE)&&1E3*N.current>=this.Ix&&(Ah(this),g.nH(this.element,"ytp-flyout-cta-inactive"),this.B.element.removeAttribute("tabIndex"))}}; +g.C.rL=function(){this.clear()}; +g.C.clear=function(){this.hide();this.api.removeEventListener("playerUnderlayVisibilityChange",this.OL.bind(this))}; +g.C.show=function(){this.B&&this.B.show();J0.prototype.show.call(this)}; +g.C.hide=function(){this.B&&this.B.hide();J0.prototype.hide.call(this)}; +g.C.OL=function(N){N=="hidden"?this.show():this.hide()};g.k(hDd,sE);g.C=hDd.prototype; +g.C.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);this.T=H;if(this.T.rectangle)for(N=this.T.likeButton&&g.P(this.T.likeButton,KC),H=this.T.dislikeButton&&g.P(this.T.dislikeButton,KC),this.L.init(Gx("toggle-button"),N,c),this.B.init(Gx("toggle-button"),H,c),this.G(this.element,"change",this.lS),this.U.show(100),this.show(),c=g.K(this.T&&this.T.impressionCommands||[]),N=c.next();!N.done;N=c.next())N=N.value,this.layoutId?this.yS.executeCommand(N,this.layoutId):g.BZ(Error("Missing layoutId for instream user sentiment."))}; +g.C.clear=function(){this.hide()}; +g.C.hide=function(){this.L.hide();this.B.hide();sE.prototype.hide.call(this)}; +g.C.show=function(){this.L.show();this.B.show();sE.prototype.show.call(this)}; +g.C.lS=function(){byL(this.element,"ytp-ad-instream-user-sentiment-selected");this.T.postMessageAction&&this.api.QS("onYtShowToast",this.T.postMessageAction);this.U.hide()}; +g.C.onClick=function(N){this.NT.length>0&&this.lS();sE.prototype.onClick.call(this,N)};g.k(pd,g.L);g.C=pd.prototype;g.C.Os=function(){this.reset();g.L.prototype.Os.call(this)}; +g.C.reset=function(){g.bM(this.U);this.Y=!1;this.T&&this.T.stop();this.S.stop();this.L&&(this.L=!1,this.C.play())}; +g.C.start=function(){this.reset();this.U.G(this.B,"mouseover",this.oZ,this);this.U.G(this.B,"mouseout",this.RZ,this);this.Bp&&(this.U.G(this.B,"focusin",this.oZ,this),this.U.G(this.B,"focusout",this.RZ,this));this.T?this.T.start():(this.Y=this.L=!0,g.eU(this.B,{opacity:this.TW}))}; +g.C.oZ=function(){this.L&&(this.L=!1,this.C.play());this.S.stop();this.T&&this.T.stop()}; +g.C.RZ=function(){this.Y?this.S.start():this.T&&this.T.start()}; +g.C.TC=function(){this.L||(this.L=!0,this.Z.play(),this.Y=!0)};var e0l=[new xS("b.f_",0),new xS("j.s_",2),new xS("r.s_",4),new xS("e.h_",6),new xS("i.s_",8),new xS("s.t_",10),new xS("p.h_",12),new xS("s.i_",14),new xS("f.i_",16),new xS("a.b_",18),new xS("a.o_"),new xS("g.o_",22),new xS("p.i_",24),new xS("p.m_"),new xS("n.k_",20),new xS("i.f_"),new xS("a.s_"),new xS("m.c_"),new xS("n.h_",26),new xS("o.p_"),new xS("m.p_",28),new xS("o.a_"),new xS("d.p_"),new xS("e.i_")].reduce(function(N,H){N[H.B]=H;return N},{});g.k(qe,J0);g.C=qe.prototype; +g.C.init=function(N,H,c){J0.prototype.init.call(this,N,H,c);this.Us=H;(this.Ix=qbl(this))&&g.aS(Error("hasAdControlInClickCommands_ is true."));if(!H||g.NF(H))g.BZ(Error("SkipButtonRenderer was not specified or empty."));else if(!H.message||g.NF(H.message))g.BZ(Error("SkipButtonRenderer.message was not specified or empty."));else if(N=this.S?{iconType:"SKIP_NEXT_NEW"}:{iconType:"SKIP_NEXT"},H=this.api.D().N("delhi_modern_web_player_icons"),H=G_(N,!1,!1,H),H==null?g.BZ(Error("Icon for SkipButton was unable to be retrieved. Icon.IconType: "+N.iconType+ +".")):(this.api.D().N("disable_touch_events_on_skip_button")&&(H.V=Object.assign({},H.V,{"aria-hidden":"true",ArW:"false"})),this.L=new g.lL({W:"button",fq:[this.S?"ytp-ad-skip-button-modern":"ytp-ad-skip-button","ytp-button"],X:[{W:"span",K:this.S?"ytp-ad-skip-button-icon-modern":"ytp-ad-skip-button-icon",X:[H]}]}),g.l(this,this.L),this.L.Jl(this.U.element),this.B=new hE(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,"ytp-ad-skip-button-text"),this.S&&this.B.element.classList.add("ytp-ad-skip-button-text-centered"), +this.B.init(Gx("ad-text"),this.Us.message,c),g.l(this,this.B),PH(this.L.element,this.B.element,0)),!this.api.D().N("disable_touch_events_on_skip_button")){var t=t===void 0?null:t;c=this.api.D();!(this.NT.length>0)&&c.B&&(M_?0:"ontouchstart"in document.documentElement&&(nrl()||r4()))&&(this.G3(this.UF),t&&this.G3(t),this.NT=[this.G(this.element,"touchstart",this.onTouchStart,this),this.G(this.element,"touchmove",this.onTouchMove,this),this.G(this.element,"touchend",this.onTouchEnd,this)])}}; +g.C.clear=function(){this.gE.reset();this.hide()}; +g.C.hide=function(){this.U.hide();this.B&&this.B.hide();Ah(this);J0.prototype.hide.call(this)}; +g.C.onClick=function(N){if(this.L!=null){if(N){var H=N||window.event;H.returnValue=!1;H.preventDefault&&H.preventDefault()}var c;if(WRw(N,{contentCpn:((c=this.api.getVideoData(1))==null?void 0:c.clientPlaybackNonce)||""})===0)this.api.QS("onAbnormalityDetected");else if(J0.prototype.onClick.call(this,N),this.publish("j"),this.api.QS("onAdSkip"),this.vp||!this.Ix)this.api.onAdUxClicked(this.componentType,this.layoutId)}}; +g.C.Xc=function(N){if(!this.vp)return this.Ix&&KA("SkipButton click commands not pruned while ALC exist"),N;var H,c=(H=g.P(N,g.LS))==null?void 0:H.commands;if(!c)return N;N=[];for(H=0;H=this.S&&ISy(this,!0)};g.k(rb,Mj);rb.prototype.init=function(N,H,c){Mj.prototype.init.call(this,N,H,c);N=!1;H.text!=null&&(N=g.Fu(H.text),N=!g.YY(N));N?H.navigationEndpoint==null?g.aS(Error("No visit advertiser clickthrough provided in renderer,")):H.style!=="STYLE_UNKNOWN"?g.aS(Error("Button style was not a link-style type in renderer,")):this.show():g.aS(Error("No visit advertiser text was present in the renderer."))};g.k(EO,sE); +EO.prototype.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);N=H.text;g.YY(s2(N))?g.aS(Error("SimpleAdBadgeRenderer has invalid or empty text")):(N&&N.text&&(H=N.text,this.L&&!this.B&&(H=this.api.D(),H=N.text+" "+(H&&H.B?"\u2022":"\u00b7")),H={text:H,isTemplated:N.isTemplated},N.style&&(H.style=N.style),N.targetId&&(H.targetId=N.targetId),N=new hE(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),N.init(Gx("simple-ad-badge"),H,c),N.Jl(this.element),g.l(this,N)),this.show())}; +EO.prototype.clear=function(){this.hide()};g.k(WJ,Y_);g.k(e6,g.xo);g.C=e6.prototype;g.C.D1=function(){return this.durationMs}; +g.C.stop=function(){this.T&&this.handler.G3(this.T)}; +g.C.Dp=function(N){this.B={seekableStart:0,seekableEnd:this.durationMs/1E3,current:N.current};this.publish("h")}; +g.C.getProgressState=function(){return this.B}; +g.C.Ep=function(N){g.tC(N,2)&&this.publish("g")};g.k(o8,g.xo);g.C=o8.prototype;g.C.D1=function(){return this.durationMs}; +g.C.start=function(){this.T||(this.T=!0,this.timer.start())}; +g.C.stop=function(){this.T&&(this.T=!1,this.timer.stop())}; +g.C.Dp=function(){this.kc+=100;var N=!1;this.kc>this.durationMs&&(this.kc=this.durationMs,this.timer.stop(),N=!0);this.B={seekableStart:0,seekableEnd:this.durationMs/1E3,current:this.kc/1E3};this.publish("h");N&&this.publish("g")}; +g.C.getProgressState=function(){return this.B};g.k(V6,J0);g.C=V6.prototype;g.C.init=function(N,H,c){J0.prototype.init.call(this,N,H,c);var t;if(H==null?0:(t=H.templatedCountdown)==null?0:t.templatedAdText){N=H.templatedCountdown.templatedAdText;if(!N.isTemplated){g.aS(Error("AdDurationRemainingRenderer has no templated ad text."));return}this.B=new hE(this.api,this.layoutId,this.interactionLoggingClientData,this.yS);this.B.init(Gx("ad-text"),N,{});this.B.Jl(this.element);g.l(this,this.B)}this.show()}; +g.C.clear=function(){this.hide()}; +g.C.hide=function(){Ah(this);J0.prototype.hide.call(this)}; +g.C.rL=function(){this.hide()}; +g.C.Ny=function(){if(this.T!=null){var N=this.T.getProgressState();if(N!=null&&N.current!=null&&this.B){var H=this.T instanceof e6?this.videoAdDurationSeconds!==void 0?this.videoAdDurationSeconds:N.seekableEnd:this.videoAdDurationSeconds!==void 0?this.videoAdDurationSeconds:this.T instanceof o8?N.seekableEnd:this.api.getDuration(2,!1);N=N.current;var c,t,h=((c=this.api.getVideoData())==null?0:(t=c.vH)==null?0:t.call(c))?Math.max(H-N,0):H-N;cas(this.B,{FORMATTED_AD_DURATION_REMAINING:String(g.ba(h)), +TIME_REMAINING:String(Math.ceil(h))})}}}; +g.C.show=function(){uG(this);J0.prototype.show.call(this)};g.k(TK,hE);TK.prototype.onClick=function(N){hE.prototype.onClick.call(this,N);this.api.onAdUxClicked(this.componentType)};g.k(pD,sE);pD.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});if(N=H.content){g.ed(this.element,N);var c,t;H=((c=H.interaction)==null?void 0:(t=c.accessibility)==null?void 0:t.label)||N;this.element.setAttribute("aria-label",H)}else g.BZ(Error("AdSimpleAttributedString does not have text content"))}; +pD.prototype.clear=function(){this.hide()}; +pD.prototype.onClick=function(N){sE.prototype.onClick.call(this,N)};g.k(IJ,sE); +IJ.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});(N=H.label)&&N.content&&!g.YY(N.content)?(this.adBadgeText.init(Gx("ad-simple-attributed-string"),new PY(N)),(H=H.adPodIndex)&&H.content&&!g.YY(H.content)&&(this.T=new pD(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),this.T.Jl(this.element),g.l(this,this.T),this.T.element.classList.add("ytp-ad-badge__pod-index"),this.T.init(Gx("ad-simple-attributed-string"),new PY(H))),this.element.classList.add(this.B?"ytp-ad-badge--stark-clean-player": +"ytp-ad-badge--stark"),this.show()):g.BZ(Error("No label is returned in AdBadgeViewModel."))}; +IJ.prototype.show=function(){this.adBadgeText.show();var N;(N=this.T)==null||N.show();sE.prototype.show.call(this)}; +IJ.prototype.hide=function(){this.adBadgeText.hide();var N;(N=this.T)==null||N.hide();sE.prototype.hide.call(this)};g.k(gg,sE);gg.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});(N=H.adPodIndex)&&N.content&&!g.YY(N.content)&&(this.T=new pD(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),this.T.Jl(this.element),g.l(this,this.T),this.T.init(Gx("ad-simple-attributed-string"),new PY(N)),H.visibilityCondition==="AD_POD_INDEX_VISIBILITY_CONDITION_AUTOHIDE"&&this.element.classList.add("ytp-ad-pod-index--autohide"));this.element.classList.add("ytp-ad-pod-index--stark");this.show()}; +gg.prototype.show=function(){var N;(N=this.T)==null||N.show();sE.prototype.show.call(this)}; +gg.prototype.hide=function(){var N;(N=this.T)==null||N.hide();sE.prototype.hide.call(this)};g.k(RK,sE); +RK.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});if(H!=null&&H.text){var c;if(((c=H.text)==null?0:c.content)&&!g.YY(H.text.content)){this.T=new g.lL({W:"div",K:"ytp-ad-disclosure-banner__text",Wp:H.text.content});g.l(this,this.T);this.T.Jl(this.element);if(this.api.D().N("enable_ad_disclosure_banner_a11y_fix")){var t,h,O=(t=H.interaction)==null?void 0:(h=t.accessibility)==null?void 0:h.label;O||(O=H.text.content+" This link opens in new tab");UH(this.element,O)}else{var F;t=((O= +H.interaction)==null?void 0:(F=O.accessibility)==null?void 0:F.label)||H.text.content;this.element.setAttribute("aria-label",t)}var M;if((M=H.interaction)==null?0:M.onTap)this.B=new g.lL({W:"div",K:"ytp-ad-disclosure-banner__chevron",X:[g.pN()]}),g.l(this,this.B),this.B.Jl(this.element),this.api.D().N("enable_ad_disclosure_banner_a11y_fix")&&(Ox(this.element),this.element.setAttribute("tabindex","0"),this.listen("keydown",this.DM));this.show()}}else g.BZ(Error("No banner text found in AdDisclosureBanner."))}; +RK.prototype.DM=function(N){if(N.key==="Enter"||N.key===" ")N.preventDefault(),this.element.click()}; +RK.prototype.clear=function(){this.hide()};g.k(RW,g.lL);RW.prototype.Dp=function(){var N=this.B.getProgressState(),H=N.seekableEnd;this.api.getPresentingPlayerType()===2&&(H=this.L?this.L/1E3:N.seekableEnd);this.progressBar.style.width=gy(new LD(N.seekableStart,H),N.current,0)*100+"%"}; +RW.prototype.onStateChange=function(){g.G0(this.api.D())||(this.api.getPresentingPlayerType()===2?this.T===-1&&(this.show(),this.T=this.B.subscribe("h",this.Dp,this),this.Dp()):this.T!==-1&&(this.hide(),this.B.nC(this.T),this.T=-1))};g.k(eJ,sE); +eJ.prototype.init=function(N,H,c,t){sE.prototype.init.call(this,N,H,c);if(H.skipOrPreviewRenderer){if(N=g.P(H.skipOrPreviewRenderer,Ts))c=new ne(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.B,this.Z),c.Jl(this.Kq),c.init(Gx("skip-button"),N,this.macros),g.l(this,c);if(N=g.P(H.skipOrPreviewRenderer,Ts))var h=N.skipOffsetMilliseconds}H.brandInteractionRenderer&&(N=H.brandInteractionRenderer.brandInteractionRenderer,c=new hDd(this.api,this.layoutId,this.interactionLoggingClientData,this.yS), +c.Jl(this.Ix),c.init(Gx("instream-user-sentiment"),N,this.macros),g.l(this,c));if(N=g.P(H,mfY))if(N=g.P(N,mfY))c=new FU(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.B,!!H.showWithoutLinkedMediaLayout),g.l(this,c),c.Jl(this.S),c.init(Gx("flyout-cta"),N,this.macros);t=t&&t.videoAdDurationSeconds;H.adBadgeRenderer&&(c=H.adBadgeRenderer,N=g.P(c,zg),N!=null?(c=new IJ(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,!1),g.l(this,c),c.Jl(this.T),c.init(Gx("ad-badge"), +N,this.macros),this.L=c.element):(N=c.simpleAdBadgeRenderer,N==null&&(N={text:{text:"Ad",isTemplated:!1}}),c=new EO(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,!0),g.l(this,c),c.Jl(this.T),c.init(Gx("simple-ad-badge"),N,this.macros)));H.adPodIndex&&(N=g.P(H.adPodIndex,UfZ),N!=null&&(c=new gg(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,c),c.Jl(this.T),c.init(Gx("ad-pod-index"),N)));H.adDurationRemaining&&!H.showWithoutLinkedMediaLayout&&(N=H.adDurationRemaining.adDurationRemainingRenderer, +N==null&&(N={templatedCountdown:{templatedAdText:{text:"{FORMATTED_AD_DURATION_REMAINING}",isTemplated:!0}}}),t=new V6(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.B,t,!1),g.l(this,t),t.Jl(this.T),t.init(Gx("ad-duration-remaining"),N,this.macros));H.adInfoRenderer&&(t=g.P(H.adInfoRenderer,nW))&&(N=new Sg(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.element,void 0,!1),g.l(this,N),this.L!==null?this.T.insertBefore(N.element,this.L.nextSibling):N.Jl(this.T), +N.init(Gx("ad-info-hover-text-button"),t,this.macros));H.visitAdvertiserRenderer&&(N=g.P(H.visitAdvertiserRenderer,g.mM))&&(c=yTy(this)&&this.U?this.U:this.T)&&(t=new rb(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,t),t.Jl(c),t.init(Gx("visit-advertiser"),N,this.macros),Ox(t.element),N=tKZ(t.element),UH(t.element,N+" This link opens in new tab"));!(t=this.api.D())||g.l6(t)||g.PX(t)||t.controlsType!="3"&&!t.disableOrganicUi||(h=new RW(this.api,this.B,h,!1),h.Jl(this.gE), +g.l(this,h));H.adDisclosureBannerRenderer&&(H=g.P(H.adDisclosureBannerRenderer,Pw5))&&(h=new RK(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),h.Jl(this.Us),h.init(Gx("ad-disclosure-banner"),H),g.l(this,h));this.api.D().N("enable_updated_html5_player_focus_style")&&g.bV(this.element,"ytp-ad-player-overlay-updated-focus-style");this.show()}; +eJ.prototype.clear=function(){this.hide()};g.hc3.prototype.flush=function(N,H){N=N===void 0?[]:N;H=H===void 0?!1:H;if(g.sf("enable_client_streamz_web")){N=g.K(N);for(var c=N.next();!c.done;c=N.next())c=Hvd(c.value),this.T&&ko(c,sc,2,this.T),c={serializedIncrementBatch:g.Eq(c.L())},g.uF("streamzIncremented",c,{sendIsolatedPayload:H})}}; +g.k(m0Z,g.hc3);var dew=new Map;gW.prototype.set=function(N,H,c){c=c!==void 0?Date.now()+c:void 0;this.T.set(N,H,c)}; +gW.prototype.get=function(N){return this.T.get(N)}; +gW.prototype.remove=function(N){this.T.remove(N)};var ECw=null;var xV=null,stw=null,J53=null,ZCv=null;g.Hw("yt.www.ads.eventcache.getLastCompanionData",function(){return xV}); +g.Hw("yt.www.ads.eventcache.getLastPlaShelfData",function(){return null}); +g.Hw("yt.www.ads.eventcache.getLastUpdateEngagementPanelAction",function(){return stw}); +g.Hw("yt.www.ads.eventcache.getLastChangeEngagementPanelVisibilityAction",function(){return J53}); +g.Hw("yt.www.ads.eventcache.getLastScrollToEngagementPanelCommand",function(){return ZCv});var TGe=new Map([["dark","USER_INTERFACE_THEME_DARK"],["light","USER_INTERFACE_THEME_LIGHT"]]);kz.prototype.handleResponse=function(N,H){if(!H)throw Error("request needs to be passed into ConsistencyService");var c,t;H=((c=H.aH.context)==null?void 0:(t=c.request)==null?void 0:t.consistencyTokenJars)||[];var h;(N=(h=N.responseContext)==null?void 0:h.consistencyTokenJar)&&this.replace(H,N)}; +kz.prototype.replace=function(N,H){N=g.K(N);for(var c=N.next();!c.done;c=N.next())delete this.T[c.value.encryptedTokenJarContents];X9h(this,H)};var vdx=window.location.hostname.split(".").slice(-2).join("."),uz;b0.getInstance=function(){uz=g.NA("yt.clientLocationService.instance");uz||(uz=new b0,g.Hw("yt.clientLocationService.instance",uz));return uz}; +g.C=b0.prototype; +g.C.setLocationOnInnerTubeContext=function(N){N.client||(N.client={});if(this.T)N.client.locationInfo||(N.client.locationInfo={}),N.client.locationInfo.latitudeE7=Math.floor(this.T.coords.latitude*1E7),N.client.locationInfo.longitudeE7=Math.floor(this.T.coords.longitude*1E7),N.client.locationInfo.horizontalAccuracyMeters=Math.round(this.T.coords.accuracy),N.client.locationInfo.forceLocationPlayabilityTokenRefresh=!0;else if(this.L||this.locationPlayabilityToken)N.client.locationPlayabilityToken=this.L|| +this.locationPlayabilityToken}; +g.C.handleResponse=function(N){var H;N=(H=N.responseContext)==null?void 0:H.locationPlayabilityToken;N!==void 0&&(this.locationPlayabilityToken=N,this.T=void 0,g.YI("INNERTUBE_CLIENT_NAME")==="TVHTML5"?(this.localStorage=lZ(this))&&this.localStorage.set("yt-location-playability-token",N,15552E3):g.e2("YT_CL",JSON.stringify({loctok:N}),15552E3,vdx,!0))}; +g.C.clearLocationPlayabilityToken=function(N){N==="TVHTML5"?(this.localStorage=lZ(this))&&this.localStorage.remove("yt-location-playability-token"):g.t9e("YT_CL");this.L=void 0;this.B!==-1&&(clearTimeout(this.B),this.B=-1)}; +g.C.getCurrentPositionFromGeolocation=function(){var N=this;if(!(navigator&&navigator.geolocation&&navigator.geolocation.getCurrentPosition))return Promise.reject(Error("Geolocation unsupported"));var H=!1,c=1E4;g.YI("INNERTUBE_CLIENT_NAME")==="MWEB"&&(H=!0,c=15E3);return new Promise(function(t,h){navigator.geolocation.getCurrentPosition(function(O){N.T=O;t(O)},function(O){h(O)},{enableHighAccuracy:H, +maximumAge:0,timeout:c})})}; +g.C.createUnpluggedLocationInfo=function(N){var H={};N=N.coords;if(N==null?0:N.latitude)H.latitudeE7=Math.floor(N.latitude*1E7);if(N==null?0:N.longitude)H.longitudeE7=Math.floor(N.longitude*1E7);if(N==null?0:N.accuracy)H.locationRadiusMeters=Math.round(N.accuracy);return H}; +g.C.createLocationInfo=function(N){var H={};N=N.coords;if(N==null?0:N.latitude)H.latitudeE7=Math.floor(N.latitude*1E7);if(N==null?0:N.longitude)H.longitudeE7=Math.floor(N.longitude*1E7);return H};g.C=o7e.prototype;g.C.contains=function(N){return Object.prototype.hasOwnProperty.call(this.T,N)}; +g.C.get=function(N){if(this.contains(N))return this.T[N]}; +g.C.set=function(N,H){this.T[N]=H}; +g.C.eH=function(){return Object.keys(this.T)}; +g.C.remove=function(N){delete this.T[N]};Hb.prototype.getModuleId=function(N){return N.serviceId.getModuleId()}; +Hb.prototype.get=function(N){a:{var H=this.mappings.get(N.toString());switch(H.type){case "mapping":N=H.value;break a;case "factory":H=H.value();this.mappings.set(N.toString(),{type:"mapping",value:H});N=H;break a;default:N=Iv(H)}}return N}; +Hb.prototype.registerService=function(N,H){this.mappings.set(N.toString(),{type:"mapping",value:H});return N}; +new Hb;var JX={},MHL=(JX.WEB_UNPLUGGED="^unplugged/",JX.WEB_UNPLUGGED_ONBOARDING="^unplugged/",JX.WEB_UNPLUGGED_OPS="^unplugged/",JX.WEB_UNPLUGGED_PUBLIC="^unplugged/",JX.WEB_CREATOR="^creator/",JX.WEB_KIDS="^kids/",JX.WEB_EXPERIMENTS="^experiments/",JX.WEB_MUSIC="^music/",JX.WEB_REMIX="^music/",JX.WEB_MUSIC_EMBEDDED_PLAYER="^music/",JX.WEB_MUSIC_EMBEDDED_PLAYER="^main_app/|^sfv/",JX);x3.prototype.S=function(N,H,c){H=H===void 0?{}:H;c=c===void 0?AQ:c;var t={context:g.Yi(N.clickTrackingParams,!1,this.U)};var h=this.B(N);if(h){this.T(t,h,H);var O;H=g.kD(this.L());(h=(O=g.P(N.commandMetadata,g.lz))==null?void 0:O.apiUrl)&&(H=h);O=uIe(bE(H));N=Object.assign({},{command:N},void 0);t={input:O,nP:pQ(O),aH:t,config:N};t.config.jL?t.config.jL.identity=c:t.config.jL={identity:c};return t}c=new g.ti("Error: Failed to create Request from Command.",N);g.BZ(c)}; +g.U7.Object.defineProperties(x3.prototype,{U:{configurable:!0,enumerable:!0,get:function(){return!1}}}); +g.k(JL,x3);g.k(xi,JL);xi.prototype.S=function(){return{input:"/getDatasyncIdsEndpoint",nP:pQ("/getDatasyncIdsEndpoint","GET"),aH:{}}}; +xi.prototype.L=function(){return[]}; +xi.prototype.B=function(){}; +xi.prototype.T=function(){};var sdG={},kLl=(sdG.GET_DATASYNC_IDS=bD(xi),sdG);var nC={},BR5=(nC["analytics.explore"]="LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE",nC["artist.analytics"]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS",nC["artist.events"]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS",nC["artist.presskit"]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE",nC["asset.claimed_videos"]="LATENCY_ACTION_CREATOR_CMS_ASSET_CLAIMED_VIDEOS",nC["asset.composition"]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION",nC["asset.composition_ownership"]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_OWNERSHIP", +nC["asset.composition_policy"]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_POLICY",nC["asset.embeds"]="LATENCY_ACTION_CREATOR_CMS_ASSET_EMBEDS",nC["asset.history"]="LATENCY_ACTION_CREATOR_CMS_ASSET_HISTORY",nC["asset.issues"]="LATENCY_ACTION_CREATOR_CMS_ASSET_ISSUES",nC["asset.licenses"]="LATENCY_ACTION_CREATOR_CMS_ASSET_LICENSES",nC["asset.metadata"]="LATENCY_ACTION_CREATOR_CMS_ASSET_METADATA",nC["asset.ownership"]="LATENCY_ACTION_CREATOR_CMS_ASSET_OWNERSHIP",nC["asset.policy"]="LATENCY_ACTION_CREATOR_CMS_ASSET_POLICY", +nC["asset.references"]="LATENCY_ACTION_CREATOR_CMS_ASSET_REFERENCES",nC["asset.shares"]="LATENCY_ACTION_CREATOR_CMS_ASSET_SHARES",nC["asset.sound_recordings"]="LATENCY_ACTION_CREATOR_CMS_ASSET_SOUND_RECORDINGS",nC["asset_group.assets"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_ASSETS",nC["asset_group.campaigns"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CAMPAIGNS",nC["asset_group.claimed_videos"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CLAIMED_VIDEOS",nC["asset_group.metadata"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_METADATA", +nC["song.analytics"]="LATENCY_ACTION_CREATOR_SONG_ANALYTICS",nC.creator_channel_dashboard="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD",nC["channel.analytics"]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS",nC["channel.comments"]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS",nC["channel.content"]="LATENCY_ACTION_CREATOR_POST_LIST",nC["channel.content.promotions"]="LATENCY_ACTION_CREATOR_PROMOTION_LIST",nC["channel.copyright"]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT",nC["channel.editing"]="LATENCY_ACTION_CREATOR_CHANNEL_EDITING", +nC["channel.monetization"]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION",nC["channel.music"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC",nC["channel.music_storefront"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT",nC["channel.playlists"]="LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS",nC["channel.translations"]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS",nC["channel.videos"]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",nC["channel.live_streaming"]="LATENCY_ACTION_CREATOR_LIVE_STREAMING",nC["dialog.copyright_strikes"]= +"LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES",nC["dialog.video_copyright"]="LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT",nC["dialog.uploads"]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS",nC.owner="LATENCY_ACTION_CREATOR_CMS_DASHBOARD",nC["owner.allowlist"]="LATENCY_ACTION_CREATOR_CMS_ALLOWLIST",nC["owner.analytics"]="LATENCY_ACTION_CREATOR_CMS_ANALYTICS",nC["owner.art_tracks"]="LATENCY_ACTION_CREATOR_CMS_ART_TRACKS",nC["owner.assets"]="LATENCY_ACTION_CREATOR_CMS_ASSETS",nC["owner.asset_groups"]= +"LATENCY_ACTION_CREATOR_CMS_ASSET_GROUPS",nC["owner.bulk"]="LATENCY_ACTION_CREATOR_CMS_BULK_HISTORY",nC["owner.campaigns"]="LATENCY_ACTION_CREATOR_CMS_CAMPAIGNS",nC["owner.channel_invites"]="LATENCY_ACTION_CREATOR_CMS_CHANNEL_INVITES",nC["owner.channels"]="LATENCY_ACTION_CREATOR_CMS_CHANNELS",nC["owner.claimed_videos"]="LATENCY_ACTION_CREATOR_CMS_CLAIMED_VIDEOS",nC["owner.claims"]="LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING",nC["owner.claims.manual"]="LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING",nC["owner.delivery"]= +"LATENCY_ACTION_CREATOR_CMS_CONTENT_DELIVERY",nC["owner.delivery_templates"]="LATENCY_ACTION_CREATOR_CMS_DELIVERY_TEMPLATES",nC["owner.issues"]="LATENCY_ACTION_CREATOR_CMS_ISSUES",nC["owner.licenses"]="LATENCY_ACTION_CREATOR_CMS_LICENSES",nC["owner.pitch_music"]="LATENCY_ACTION_CREATOR_CMS_PITCH_MUSIC",nC["owner.policies"]="LATENCY_ACTION_CREATOR_CMS_POLICIES",nC["owner.releases"]="LATENCY_ACTION_CREATOR_CMS_RELEASES",nC["owner.reports"]="LATENCY_ACTION_CREATOR_CMS_REPORTS",nC["owner.videos"]="LATENCY_ACTION_CREATOR_CMS_VIDEOS", +nC["playlist.videos"]="LATENCY_ACTION_CREATOR_PLAYLIST_VIDEO_LIST",nC["post.comments"]="LATENCY_ACTION_CREATOR_POST_COMMENTS",nC["post.edit"]="LATENCY_ACTION_CREATOR_POST_EDIT",nC["promotion.edit"]="LATENCY_ACTION_CREATOR_PROMOTION_EDIT",nC["video.analytics"]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS",nC["video.claims"]="LATENCY_ACTION_CREATOR_VIDEO_CLAIMS",nC["video.comments"]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS",nC["video.copyright"]="LATENCY_ACTION_CREATOR_VIDEO_COPYRIGHT",nC["video.edit"]="LATENCY_ACTION_CREATOR_VIDEO_EDIT", +nC["video.editor"]="LATENCY_ACTION_CREATOR_VIDEO_EDITOR",nC["video.editor_async"]="LATENCY_ACTION_CREATOR_VIDEO_EDITOR_ASYNC",nC["video.live_settings"]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS",nC["video.live_streaming"]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING",nC["video.monetization"]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION",nC["video.policy"]="LATENCY_ACTION_CREATOR_VIDEO_POLICY",nC["video.rights_management"]="LATENCY_ACTION_CREATOR_VIDEO_RIGHTS_MANAGEMENT",nC["video.translations"]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS", +nC),Sb={},i7l=(Sb.auto_search="LATENCY_ACTION_AUTO_SEARCH",Sb.ad_to_ad="LATENCY_ACTION_AD_TO_AD",Sb.ad_to_video="LATENCY_ACTION_AD_TO_VIDEO",Sb.app_startup="LATENCY_ACTION_APP_STARTUP",Sb.browse="LATENCY_ACTION_BROWSE",Sb.cast_splash="LATENCY_ACTION_CAST_SPLASH",Sb.channel_activity="LATENCY_ACTION_KIDS_CHANNEL_ACTIVITY",Sb.channels="LATENCY_ACTION_CHANNELS",Sb.chips="LATENCY_ACTION_CHIPS",Sb.commerce_transaction="LATENCY_ACTION_COMMERCE_TRANSACTION",Sb.direct_playback="LATENCY_ACTION_DIRECT_PLAYBACK", +Sb.editor="LATENCY_ACTION_EDITOR",Sb.embed="LATENCY_ACTION_EMBED",Sb.embed_no_video="LATENCY_ACTION_EMBED_NO_VIDEO",Sb.entity_key_serialization_perf="LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF",Sb.entity_key_deserialization_perf="LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF",Sb.explore="LATENCY_ACTION_EXPLORE",Sb.favorites="LATENCY_ACTION_FAVORITES",Sb.home="LATENCY_ACTION_HOME",Sb.inboarding="LATENCY_ACTION_INBOARDING",Sb.landing="LATENCY_ACTION_LANDING",Sb.learning="LATENCY_ACTION_LEARNING", +Sb.learning_journey_browse="LATENCY_ACTION_LEARNING_JOURNEY_BROWSE",Sb.learning_journey_watch="LATENCY_ACTION_LEARNING_JOURNEY_WATCH",Sb.library="LATENCY_ACTION_LIBRARY",Sb.live="LATENCY_ACTION_LIVE",Sb.live_pagination="LATENCY_ACTION_LIVE_PAGINATION",Sb.management="LATENCY_ACTION_MANAGEMENT",Sb.mini_app="LATENCY_ACTION_MINI_APP_PLAY",Sb.notification_settings="LATENCY_ACTION_KIDS_NOTIFICATION_SETTINGS",Sb.onboarding="LATENCY_ACTION_ONBOARDING",Sb.parent_profile_settings="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS", +Sb.parent_tools_collection="LATENCY_ACTION_PARENT_TOOLS_COLLECTION",Sb.parent_tools_dashboard="LATENCY_ACTION_PARENT_TOOLS_DASHBOARD",Sb.player_att="LATENCY_ACTION_PLAYER_ATTESTATION",Sb.prebuffer="LATENCY_ACTION_PREBUFFER",Sb.prefetch="LATENCY_ACTION_PREFETCH",Sb.profile_settings="LATENCY_ACTION_KIDS_PROFILE_SETTINGS",Sb.profile_switcher="LATENCY_ACTION_LOGIN",Sb.projects="LATENCY_ACTION_PROJECTS",Sb.reel_watch="LATENCY_ACTION_REEL_WATCH",Sb.results="LATENCY_ACTION_RESULTS",Sb.red="LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE", +Sb.premium="LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE",Sb.privacy_policy="LATENCY_ACTION_KIDS_PRIVACY_POLICY",Sb.review="LATENCY_ACTION_REVIEW",Sb.search_overview_answer="LATENCY_ACTION_SEARCH_OVERVIEW_ANSWER",Sb.search_ui="LATENCY_ACTION_SEARCH_UI",Sb.search_suggest="LATENCY_ACTION_SUGGEST",Sb.search_zero_state="LATENCY_ACTION_SEARCH_ZERO_STATE",Sb.secret_code="LATENCY_ACTION_KIDS_SECRET_CODE",Sb.seek="LATENCY_ACTION_PLAYER_SEEK",Sb.settings="LATENCY_ACTION_SETTINGS",Sb.store="LATENCY_ACTION_STORE", +Sb.supervision_dashboard="LATENCY_ACTION_KIDS_SUPERVISION_DASHBOARD",Sb.tenx="LATENCY_ACTION_TENX",Sb.video_preview="LATENCY_ACTION_VIDEO_PREVIEW",Sb.video_to_ad="LATENCY_ACTION_VIDEO_TO_AD",Sb.watch="LATENCY_ACTION_WATCH",Sb.watch_it_again="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN",Sb["watch,watch7"]="LATENCY_ACTION_WATCH",Sb["watch,watch7_html5"]="LATENCY_ACTION_WATCH",Sb["watch,watch7ad"]="LATENCY_ACTION_WATCH",Sb["watch,watch7ad_html5"]="LATENCY_ACTION_WATCH",Sb.wn_comments="LATENCY_ACTION_LOAD_COMMENTS", +Sb.ww_rqs="LATENCY_ACTION_WHO_IS_WATCHING",Sb.voice_assistant="LATENCY_ACTION_VOICE_ASSISTANT",Sb.cast_load_by_entity_to_watch="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH",Sb.networkless_performance="LATENCY_ACTION_NETWORKLESS_PERFORMANCE",Sb.gel_compression="LATENCY_ACTION_GEL_COMPRESSION",Sb.gel_jspb_serialize="LATENCY_ACTION_GEL_JSPB_SERIALIZE",Sb.attestation_challenge_fetch="LATENCY_ACTION_ATTESTATION_CHALLENGE_FETCH",Sb);Object.assign(i7l,BR5);g.k(O8Z,dF);var sMy=new Bb("aft-recorded",O8Z);var yGd=g.di.ytLoggingGelSequenceIdObj_||{};g.Hw("ytLoggingGelSequenceIdObj_",yGd);var xc=g.di.ytLoggingLatencyUsageStats_||{};g.Hw("ytLoggingLatencyUsageStats_",xc);ek.prototype.tick=function(N,H,c,t){qc(this,"tick_"+N+"_"+H)||g.uF("latencyActionTicked",{tickName:N,clientActionNonce:H},{timestamp:c,cttAuthInfo:t})}; +ek.prototype.info=function(N,H,c){var t=Object.keys(N).join("");qc(this,"info_"+t+"_"+H)||(N=Object.assign({},N),N.clientActionNonce=H,g.uF("latencyActionInfo",N,{cttAuthInfo:c}))}; +ek.prototype.jspbInfo=function(N,H,c){for(var t="",h=0;h=h.length?(H.append(h),N-=h.length):N?(H.append(new Uint8Array(h.buffer,h.byteOffset,N)),c.append(new Uint8Array(h.buffer,h.byteOffset+N,h.length-N)),N=0):c.append(h);return{Iz:H,CA:c}}; +eB.prototype.isFocused=function(N){return N>=this.L&&N=64&&(this.Y.set(N.subarray(0,64-this.B),this.B),H=64-this.B,this.B=0,p6Z(this,this.Y,0));for(;H+64<=c;H+=64)p6Z(this,N,H);H=this.start&&(N=2&&c.ssdaiAdsConfig&&KA("Unexpected ad placement renderers length",N.slot,null,{length:t.length});var h;((h=c.adSlots)==null?0:h.some(function(O){var F,M;return((F=g.P(O,iZ))==null?void 0:(M=F.adSlotMetadata)==null?void 0:M.slotType)==="SLOT_TYPE_PLAYER_BYTES"}))||t.some(function(O){var F,M,f,d; +return!!((F=O.renderer)==null?0:(M=F.linearAdSequenceRenderer)==null?0:(f=M.linearAds)==null?0:f.length)||!((d=O.renderer)==null||!d.instreamVideoAdRenderer)})||p03(N)})}; +aY.prototype.vl=function(){reD(this.T)};im.prototype.nS=function(){var N=this;sIZ(this.B,function(){var H=lQ(N.slot.clientMetadata,"metadata_type_ad_break_request_data");return H.cueProcessedMs?N.T.get().fetch({z9:H.getAdBreakUrl,NK:new g.vn(H.Uh,H.Lg),cueProcessedMs:H.cueProcessedMs}):N.T.get().fetch({z9:H.getAdBreakUrl,NK:new g.vn(H.Uh,H.Lg)})})}; +im.prototype.vl=function(){reD(this.B)};pG.prototype.nS=function(){var N=this.slot.clientMetadata,H,c=(H=this.slot.fulfilledLayout)!=null?H:lQ(N,"metadata_type_fulfilled_layout");Ew3(this.callback,this.slot,c)}; +pG.prototype.vl=function(){qB(this.callback,this.slot,new S("Got CancelSlotFulfilling request for "+this.slot.slotType+" in DirectFulfillmentAdapter.",void 0,"ADS_CLIENT_ERROR_MESSAGE_INVALID_FULFILLMENT_CANCELLATION_REQUEST"),"ADS_CLIENT_ERROR_TYPE_FULFILL_SLOT_FAILED")};hU.prototype.build=function(N,H){return H.fulfilledLayout||Ky(H,{lG:["metadata_type_fulfilled_layout"]})?new pG(N,H):this.L(N,H)};g.k(yx,hU); +yx.prototype.L=function(N,H){if(Ky(H,{lG:["metadata_type_ad_break_request_data","metadata_type_cue_point"],slotType:"SLOT_TYPE_AD_BREAK_REQUEST"}))return new aY(N,H,this.T,this.B,this.Uy,this.Rx,this.Pp,this.k_,this.ID);if(Ky(H,{lG:["metadata_type_ad_break_request_data"],slotType:"SLOT_TYPE_AD_BREAK_REQUEST"}))return new im(N,H,this.T,this.B,this.Uy,this.Rx);throw new S("Unsupported slot with type: "+H.slotType+" and client metadata: "+$A(H.clientMetadata)+" in AdBreakRequestSlotFulfillmentAdapterFactory.");};g.k(GR,hU);GR.prototype.L=function(N,H){throw new S("Unsupported slot with type: "+H.slotType+" and client metadata: "+$A(H.clientMetadata)+" in DefaultFulfillmentAdapterFactory.");};g.C=Y3l.prototype;g.C.y4=function(){return this.slot}; +g.C.dE=function(){return this.layout}; +g.C.init=function(){}; +g.C.release=function(){}; +g.C.startRendering=function(N){if(N.layoutId!==this.layout.layoutId)this.callback.An(this.slot,N,new sz("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED");else{var H=lQ(N.clientMetadata,"metadata_type_ad_break_response_data");this.slot.slotType==="SLOT_TYPE_AD_BREAK_REQUEST"?(this.callback.AF(this.slot,N),pke(this.L, +this.slot,H)):KA("Unexpected slot type in AdBreakResponseLayoutRenderingAdapter - this should never happen",this.slot,N)}}; +g.C.BH=function(N,H){N.layoutId!==this.layout.layoutId?this.callback.An(this.slot,N,new sz("Tried to stop rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_EXIT_LAYOUT_FAILED"):(this.callback.Pr(this.slot,N,H),Cgs(this),e73(this))};g.k(eq,g.xo);g.C=eq.prototype;g.C.y4=function(){return this.B.slot}; +g.C.dE=function(){return this.B.layout}; +g.C.init=function(){this.L.get().addListener(this)}; +g.C.release=function(){this.L.get().removeListener(this);this.dispose()}; +g.C.nV=function(){}; +g.C.xm=function(){}; +g.C.yp=function(){}; +g.C.Oq=function(){}; +g.C.startRendering=function(N){var H=this;yN(this.B,N,function(){return void H.Sr()})}; +g.C.Sr=function(){this.L.get().Sr(this.T)}; +g.C.BH=function(N,H){var c=this;yN(this.B,N,function(){var t=c.L.get();JMy(t,c.T,3);c.T=[];c.callback.Pr(c.slot,N,H)})}; +g.C.Os=function(){this.L.uo()||this.L.get().removeListener(this);g.xo.prototype.Os.call(this)}; +g.U7.Object.defineProperties(eq.prototype,{slot:{configurable:!0,enumerable:!0,get:function(){return this.B.slot}}, +layout:{configurable:!0,enumerable:!0,get:function(){return this.B.layout}}});sd.prototype.F1=function(N,H){H=H===void 0?!1:H;var c=(this.L.get(N)||[]).concat();if(H=H&&y9s(N)){var t=this.L.get(H);t&&c.push.apply(c,g.HE(t))}Ba(this,N,c);this.T.add(N);H&&this.T.add(H)}; +sd.prototype.xG=function(N,H){H=H===void 0?!1:H;if(!this.T.has(N)){var c=H&&y9s(N);c&&(H=!this.T.has(c));this.F1(N,H)}};g.k(E83,Y_);g.k(h2D,eq);g.C=h2D.prototype;g.C.OI=function(N,H){J6("ads-engagement-panel-layout",N,this.Y.get().EV,this.Pp.get(),this.U,this.S,this.y4(),this.dE(),H)}; +g.C.startRendering=function(N){GE(this.Fg,this.y4(),this.dE(),g.P(this.dE().renderingContent,SD),this.callback,"metadata_type_ads_engagement_panel_layout_view_model",function(H,c,t,h,O){return new E83(H,c,t,h,O)},this.T); +eq.prototype.startRendering.call(this,N)}; +g.C.AF=function(N,H){this.S===H.layoutId&&(this.U===null?this.U=this.Pp.get().ER():KA("OnLayoutEntered should set engagePingCallback, but it was not null",this.slot,this.layout))}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.Os=function(){hI(this.Le(),this);eq.prototype.Os.call(this)};g.k(n$Z,Y_);g.k(Rw,eq);g.C=Rw.prototype;g.C.OI=function(N,H){J6("banner-image",N,this.Y.get().EV,this.Pp.get(),this.U,this.S,this.y4(),this.dE(),H)}; +g.C.startRendering=function(N){GE(this.Fg,this.y4(),this.dE(),g.P(this.dE().renderingContent,JD),this.callback,"metadata_type_banner_image_layout_view_model",function(H,c,t,h,O){return new n$Z(H,c,t,h,O)},this.T); +eq.prototype.startRendering.call(this,N)}; +g.C.AF=function(N,H){this.S===H.layoutId&&(this.U===null?this.U=this.Pp.get().ER():KA("OnLayoutEntered should set engagePingCallback, but it was not null",this.slot,this.layout))}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.Os=function(){hI(this.Le(),this);eq.prototype.Os.call(this)};g.k(D6w,Y_);g.k(kN,eq);g.C=kN.prototype;g.C.OI=function(N,H){J6("action-companion",N,this.Y.get().EV,this.Pp.get(),this.U,this.S,this.y4(),this.dE(),H)}; +g.C.startRendering=function(N){GE(this.Fg,this.y4(),this.dE(),g.P(this.dE().renderingContent,Rf),this.callback,"metadata_type_action_companion_ad_renderer",function(H,c,t,h,O){return new D6w(H,c,t,h,O)},this.T); +eq.prototype.startRendering.call(this,N)}; +g.C.AF=function(N,H){H.layoutId===this.layout.layoutId?this.Fg.xG("impression"):this.S===H.layoutId&&(this.U===null?this.U=this.Pp.get().ER():KA("OnLayoutEntered should set engagePingCallback, but it was not null",this.slot,this.layout))}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.Os=function(){hI(this.Le(),this);eq.prototype.Os.call(this)};g.k(yMD,Y_);g.k(Rzv,eq);g.C=Rzv.prototype;g.C.OI=function(N,H){J6("image-companion",N,this.Y.get().EV,this.Pp.get(),this.U,this.S,this.y4(),this.dE(),H)}; +g.C.startRendering=function(N){GE(this.Fg,this.y4(),this.dE(),g.P(this.dE().renderingContent,p5),this.callback,"metadata_type_image_companion_ad_renderer",function(H,c,t,h,O){return new yMD(H,c,t,h,O)},this.T); +eq.prototype.startRendering.call(this,N)}; +g.C.AF=function(N,H){H.layoutId===this.layout.layoutId?this.Fg.xG("impression"):this.S===H.layoutId&&(this.U===null?this.U=this.Pp.get().ER():KA("OnLayoutEntered should set engagePingCallback, but it was not null",this.slot,this.layout))}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.Os=function(){hI(this.Le(),this);eq.prototype.Os.call(this)};g.k(i03,Y_);g.k(IUv,eq);g.C=IUv.prototype;g.C.OI=function(N,H){J6("shopping-companion",N,this.Y.get().EV,this.Pp.get(),this.U,this.S,this.y4(),this.dE(),H)}; +g.C.startRendering=function(N){GE(this.Fg,this.y4(),this.dE(),void 0,this.callback,"metadata_type_shopping_companion_carousel_renderer",function(H,c,t,h,O){return new i03(H,c,t,h,O)},this.T); +eq.prototype.startRendering.call(this,N)}; +g.C.AF=function(N,H){H.layoutId===this.layout.layoutId?this.Fg.xG("impression"):this.S===H.layoutId&&(this.U===null?this.U=this.Pp.get().ER():KA("OnLayoutEntered should set engagePingCallback, but it was not null",this.slot,this.layout))}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.Os=function(){hI(this.Le(),this);eq.prototype.Os.call(this)};g.k(WSl,eq);g.C=WSl.prototype;g.C.startRendering=function(N){GE(this.Fg,this.y4(),this.dE(),void 0,this.callback,"metadata_type_action_companion_ad_renderer",function(H,c,t,h,O){return new D6w(H,c,t,h,O)},this.T); +eq.prototype.startRendering.call(this,N)}; +g.C.AF=function(){}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.Os=function(){hI(this.Le(),this);eq.prototype.Os.call(this)}; +g.C.OI=function(){};g.C=ojv.prototype;g.C.y4=function(){return this.slot}; +g.C.dE=function(){return this.layout}; +g.C.init=function(){this.k_.get().addListener(this);this.k_.get().CS.push(this);var N=lQ(this.layout.clientMetadata,"metadata_type_video_length_seconds"),H=lQ(this.layout.clientMetadata,"metadata_type_active_view_traffic_type");P8(this.layout.S1)&&$6(this.r_.get(),this.layout.layoutId,{T$:H,A7:N,listener:this})}; +g.C.release=function(){this.k_.get().removeListener(this);mid(this.k_.get(),this);P8(this.layout.S1)&&OS(this.r_.get(),this.layout.layoutId)}; +g.C.startRendering=function(N){this.callback.AF(this.slot,N)}; +g.C.BH=function(N,H){F2L(this.Rx.get())&&!this.T&&(this.Fg.xG("abandon"),this.T=!0);this.callback.Pr(this.slot,N,H)}; +g.C.aR=function(N){switch(N.id){case "part2viewed":this.Fg.xG("start");this.Fg.xG("impression");break;case "videoplaytime25":this.Fg.xG("first_quartile");break;case "videoplaytime50":this.Fg.xG("midpoint");break;case "videoplaytime75":this.Fg.xG("third_quartile");break;case "videoplaytime100":F2L(this.Rx.get())?this.T||(this.Fg.xG("complete"),this.T=!0):this.Fg.xG("complete");$S(this.Fg)&&p_(this.Fg,Infinity,!0);HID(this.Rx.get())&&mC(this.B,Infinity,!0);break;case "engagedview":$S(this.Fg)||this.Fg.xG("progress"); +break;case "conversionview":case "videoplaybackstart":case "videoplayback2s":case "videoplayback10s":break;default:KA("Cue Range ID unknown in DiscoveryLayoutRenderingAdapter",this.slot,this.layout)}}; +g.C.onVolumeChange=function(){}; +g.C.UV=function(){}; +g.C.pC=function(){}; +g.C.Fy=function(){}; +g.C.onFullscreenToggled=function(){}; +g.C.jj=function(){}; +g.C.vR=function(){}; +g.C.t1=function(N){HID(this.Rx.get())&&mC(this.B,N*1E3,!1);$S(this.Fg)&&p_(this.Fg,N*1E3,!1)}; +g.C.QQ=function(){}; +g.C.E_=function(){this.Fg.xG("active_view_measurable")}; +g.C.IV=function(){this.Fg.xG("active_view_viewable")}; +g.C.SR=function(){this.Fg.xG("active_view_fully_viewable_audible_half_duration")}; +g.C.oV=function(){this.Fg.xG("audio_measurable")}; +g.C.RV=function(){this.Fg.xG("audio_audible")};g.k(Y3,eq);g.C=Y3.prototype;g.C.init=function(){eq.prototype.init.call(this);var N=lQ(this.layout.clientMetadata,"metadata_type_instream_ad_player_overlay_renderer"),H={adsClientData:this.layout.z0};this.T.push(new WJ(N,this.layout.layoutId,lQ(this.layout.clientMetadata,"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds"),H,!0))}; +g.C.B_=function(){this.U||this.k_.get().resumeVideo(1)}; +g.C.startRendering=function(N){eq.prototype.startRendering.call(this,N);Nj(this.k_.get(),"ad-showing");this.callback.AF(this.slot,N);this.S.Mv=this}; +g.C.BH=function(N,H){eq.prototype.BH.call(this,N,H);Gg(this.k_.get(),"ad-showing");MW(this.S,this)}; +g.C.OI=function(N){switch(N){case "ad-info-icon-button":(this.U=this.k_.get().PL(1))||this.k_.get().pauseVideo();break;case "visit-advertiser":this.k_.get().pauseVideo()}}; +g.C.Os=function(){eq.prototype.Os.call(this)};g.k(zAy,Y_);g.k(BT,eq);g.C=BT.prototype;g.C.startRendering=function(N){GE(this.Fg,this.y4(),this.dE(),void 0,this.callback,"metadata_type_top_banner_image_text_icon_buttoned_layout_view_model",function(H,c,t,h,O){return new zAy(H,c,t,h,O)},this.T); +eq.prototype.startRendering.call(this,N)}; +g.C.AF=function(){}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.Os=function(){hI(this.Le(),this);eq.prototype.Os.call(this)}; +g.C.OI=function(){};g.k(qje,Y_);g.k(iR,eq);iR.prototype.init=function(){eq.prototype.init.call(this);this.T.push(new qje(g.P(this.layout.renderingContent,oC),this.layout.layoutId,{adsClientData:this.layout.z0}))}; +iR.prototype.OI=function(){oJ(this.U.get(),this.S)&&hJ(this.Pp.get(),3)}; +iR.prototype.startRendering=function(N){eq.prototype.startRendering.call(this,N);this.callback.AF(this.slot,N)}; +iR.prototype.Os=function(){eq.prototype.Os.call(this)};g.k(gm,Y_);g.k(ZM,eq);ZM.prototype.init=function(){eq.prototype.init.call(this);var N=g.P(this.layout.renderingContent,$o)||lQ(this.layout.clientMetadata,"metadata_type_ad_action_interstitial_renderer"),H=tN(this.Fg);this.T.push(new gm(N,H,this.layout.layoutId,{adsClientData:this.layout.z0},!0,!0))}; +ZM.prototype.startRendering=function(N){eq.prototype.startRendering.call(this,N);this.callback.AF(this.slot,N)}; +ZM.prototype.OI=function(N,H){if(H===this.layout.layoutId)switch(N){case "skip-button":var c;(N=(c=lQ(this.layout.clientMetadata,"metadata_type_ad_pod_skip_target_callback_ref"))==null?void 0:c.current)&&N.ML(this.y4(),this.layout)}}; +ZM.prototype.Os=function(){eq.prototype.Os.call(this)};hh.prototype.build=function(N,H,c,t){if(u5(t,{lG:["metadata_type_ad_break_response_data"],xH:["LAYOUT_TYPE_AD_BREAK_RESPONSE","LAYOUT_TYPE_THROTTLED_AD_BREAK_RESPONSE"]}))return new Y3l(N,c,t,this.B,this.L,this.T);throw new sz("Unsupported layout with type: "+t.layoutType+" and client metadata: "+$A(t.clientMetadata)+" in AdBreakRequestLayoutRenderingAdapterFactory.");};g.k(sFZ,Y_);g.k(ul,eq);g.C=ul.prototype;g.C.OI=function(N,H){J6("ads-engagement-panel",N,this.Y.get().EV,this.Pp.get(),this.U,this.S,this.y4(),this.dE(),H)}; +g.C.startRendering=function(N){GE(this.Fg,this.y4(),this.dE(),g.P(this.dE().renderingContent,ua),this.callback,"metadata_type_ads_engagement_panel_renderer",function(H,c,t,h,O){return new sFZ(H,c,t,h,O)},this.T); +eq.prototype.startRendering.call(this,N)}; +g.C.AF=function(N,H){H.layoutId===this.layout.layoutId?this.Fg.xG("impression"):this.S===H.layoutId&&(this.U===null?this.U=this.Pp.get().ER():KA("OnLayoutEntered should set engagePingCallback, but it was not null",this.slot,this.layout))}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.Os=function(){hI(this.Le(),this);eq.prototype.Os.call(this)};g.k(Bcd,eq);g.C=Bcd.prototype;g.C.OI=function(N,H){J6("top-banner-image-text-icon-buttoned",N,this.Y.get().EV,this.Pp.get(),this.U,this.S,this.y4(),this.dE(),H)}; +g.C.startRendering=function(N){GE(this.Fg,this.y4(),this.dE(),g.P(this.dE().renderingContent,n5),this.callback,"metadata_type_top_banner_image_text_icon_buttoned_layout_view_model",function(H,c,t,h,O){return new zAy(H,c,t,h,O)},this.T); +eq.prototype.startRendering.call(this,N)}; +g.C.AF=function(N,H){this.S===H.layoutId&&(this.U===null?this.U=this.Pp.get().ER():KA("OnLayoutEntered should set engagePingCallback, but it was not null",this.slot,this.layout))}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.Os=function(){hI(this.Le(),this);eq.prototype.Os.call(this)};ZyD.prototype.build=function(N,H,c,t){if(u5(t,VqZ())||g.P(t.renderingContent,ua)!==void 0)return new ul(N,c,t,this.oD,this.Pp,this.Le,this.r_,this.T);if(u5(t,Wct())||g.P(t.renderingContent,Rf)!==void 0)return new kN(N,c,t,this.oD,this.Pp,this.Le,this.r_,this.T);if(u5(t,T6d())||g.P(t.renderingContent,p5)!==void 0)return new Rzv(N,c,t,this.oD,this.Pp,this.Le,this.r_,this.T);if(u5(t,Zps()))return new IUv(N,c,t,this.oD,this.Pp,this.Le,this.r_,this.T);if(u5(t,jJL()))return new WSl(N,c,t,this.oD,this.Pp, +this.Le,this.r_,this.T);if(u5(t,FPL())||g.P(t.renderingContent,JD)!==void 0)return new Rw(N,c,t,this.oD,this.Pp,this.Le,this.r_,this.T);if(u5(t,uwZ())||g.P(t.renderingContent,n5)!==void 0)return new Bcd(N,c,t,this.oD,this.Pp,this.Le,this.r_,this.T);if(u5(t,y1e()))return new BT(N,c,t,this.oD,this.Pp,this.Le,this.r_,this.T);if(u5(t,U6l())||g.P(t.renderingContent,SD)!==void 0)return new h2D(N,c,t,this.oD,this.Pp,this.Le,this.r_,this.T);throw new sz("Unsupported layout with type: "+t.layoutType+" and client metadata: "+ +$A(t.clientMetadata)+" in DesktopAboveFeedLayoutRenderingAdapterFactory.");};ZTh.prototype.build=function(N,H,c,t){if(u5(t,{lG:["metadata_type_linked_player_bytes_layout_id"],xH:["LAYOUT_TYPE_DISPLAY_UNDERLAY_TEXT_GRID_CARDS"]}))return new iR(N,c,t,this.oD,this.Pp,this.T);throw new sz("Unsupported layout with type: "+t.layoutType+" and client metadata: "+$A(t.clientMetadata)+" in DesktopPlayerUnderlayLayoutRenderingAdapterFactory.");};g.C=xPy.prototype;g.C.y4=function(){return this.slot}; +g.C.dE=function(){return this.layout}; +g.C.init=function(){}; +g.C.release=function(){}; +g.C.startRendering=function(N){N.layoutId!==this.layout.layoutId?this.callback.An(this.slot,N,new sz("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED"):(this.callback.AF(this.slot,N),this.Fg.xG("impression"),lm(this.ZM,N,"normal"))}; +g.C.BH=function(N,H){N.layoutId!==this.layout.layoutId?this.callback.An(this.slot,N,new sz("Tried to stop rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_EXIT_LAYOUT_FAILED"):this.callback.Pr(this.slot,N,H)};g.C=f_w.prototype;g.C.y4=function(){return this.slot}; +g.C.dE=function(){return this.layout}; +g.C.init=function(){}; +g.C.release=function(){}; +g.C.startRendering=function(N){N.layoutId!==this.layout.layoutId?this.callback.An(this.slot,N,new sz("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED"):(this.callback.AF(this.slot,N),this.Fg.xG("impression"),lm(this.ZM,N,"normal"))}; +g.C.BH=function(N,H){N.layoutId!==this.layout.layoutId?this.callback.An(this.slot,N,new sz("Tried to stop rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_EXIT_LAYOUT_FAILED"):this.callback.Pr(this.slot,N,H)};On.prototype.build=function(N,H,c,t){if(!this.Rx.get().J.D().N("h5_optimize_forcasting_slot_layout_creation_with_trimmed_metadata")){if(u5(t,jge()))return new xPy(N,c,t,this.Pp,this.ZM)}else if(u5(t,{lG:[],xH:["LAYOUT_TYPE_FORECASTING"]}))return new f_w(N,c,t,this.Pp,this.ZM);throw new sz("Unsupported layout with type: "+t.layoutType+" and client metadata: "+$A(t.clientMetadata)+" in ForecastingLayoutRenderingAdapterFactory.");};g.k(QUL,Y_);g.k(LF,eq);g.C=LF.prototype;g.C.init=function(){eq.prototype.init.call(this);var N=g.P(this.layout.renderingContent,VQ)||lQ(this.layout.clientMetadata,"metadata_type_player_overlay_layout_renderer"),H={adsClientData:this.layout.z0};this.T.push(new QUL(N,lQ(this.layout.clientMetadata,"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds"),this.layout.layoutId,H))}; +g.C.B_=function(){this.U||this.k_.get().resumeVideo(2)}; +g.C.startRendering=function(N){eq.prototype.startRendering.call(this,N);this.callback.AF(this.slot,N);this.S.Mv=this}; +g.C.BH=function(N,H){eq.prototype.BH.call(this,N,H);MW(this.S,this)}; +g.C.OI=function(N,H){if(!dy(this.Rx.get(),"stop_handling_click_for_non_rendering_overlay_layout")||H===this.layout.layoutId){if(oJ(this.Y.get(),this.C))switch(N){case "visit-advertiser-link":hJ(this.Pp.get(),3)}switch(N){case "ad-mute-confirm-dialog-close-button":case "ad-feedback-undo-mute-button":case "ad-info-dialog-close-button":this.U||this.k_.get().resumeVideo(2);break;case "ad-info-icon-button":case "ad-player-overflow-button":(this.U=this.k_.get().PL(2))||this.k_.get().pauseVideo();break; +case "visit-advertiser-link":this.k_.get().pauseVideo();jad(this).va();break;case "skip-button":if(N=jad(this),this.layout.renderingContent&&!QZ(this.layout.clientMetadata,"metadata_type_dai")||!N||!N.Gs){var c;(N=(c=lQ(this.layout.clientMetadata,"metadata_type_ad_pod_skip_target_callback_ref"))==null?void 0:c.current)&&N.ML(this.y4(),this.layout)}else KA("Requesting to skip by LegacyPlayerBytes when components enabled"),N.Pu(this.y4(),this.layout)}}}; +g.C.Os=function(){eq.prototype.Os.call(this)};g.k(Xf,eq);g.C=Xf.prototype;g.C.init=function(){eq.prototype.init.call(this);var N=g.P(this.layout.renderingContent,U_)||lQ(this.layout.clientMetadata,"metadata_type_instream_ad_player_overlay_renderer"),H={adsClientData:this.layout.z0},c;(c=!!this.layout.renderingContent)||(c=t8e(this),c=!(c&&c.Gs));this.T.push(new WJ(N,this.layout.layoutId,lQ(this.layout.clientMetadata,"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds"),H,c))}; +g.C.B_=function(){this.U||this.k_.get().resumeVideo(2)}; +g.C.startRendering=function(N){eq.prototype.startRendering.call(this,N);this.callback.AF(this.slot,N);this.S.Mv=this}; +g.C.BH=function(N,H){eq.prototype.BH.call(this,N,H);MW(this.S,this)}; +g.C.OI=function(N,H){if(!this.Rx||!dy(this.Rx.get(),"stop_handling_click_for_non_rendering_overlay_layout")||H===this.layout.layoutId){if(oJ(this.Y.get(),this.C))switch(N){case "visit-advertiser":hJ(this.Pp.get(),3)}switch(N){case "ad-mute-confirm-dialog-close-button":case "ad-feedback-undo-mute-button":case "ad-info-dialog-close-button":this.U||this.k_.get().resumeVideo(2);break;case "ad-info-icon-button":case "ad-player-overflow-button":(this.U=this.k_.get().PL(2))||this.k_.get().pauseVideo();break; +case "visit-advertiser":this.k_.get().pauseVideo();t8e(this).va();break;case "skip-button":if(N=t8e(this),this.layout.renderingContent&&!QZ(this.layout.clientMetadata,"metadata_type_dai")||!N||!N.Gs){var c;(N=(c=lQ(this.layout.clientMetadata,"metadata_type_ad_pod_skip_target_callback_ref"))==null?void 0:c.current)&&N.ML(this.y4(),this.layout)}else KA("Requesting to skip by LegacyPlayerBytes"),N.Pu(this.y4(),this.layout)}}}; +g.C.Os=function(){eq.prototype.Os.call(this)};g.k(Zdt,Y_);g.k(ER,eq);g.C=ER.prototype;g.C.startRendering=function(N){var H=this;yN(this.B,N,function(){H.T.push(new Zdt(lQ(H.layout.clientMetadata,"metadata_type_valid_ad_message_renderer"),N.layoutId,N.z0));H.Sr();H.callback.AF(H.slot,N);g.y(F9(H.k_.get(),1),512)&&H.callback.An(H.y4(),H.dE(),new sz("player is stuck during adNotify",void 0,"ADS_CLIENT_ERROR_MESSAGE_PLAYER_STUCK_DURING_ADNOTIFY"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED")})}; +g.C.vR=function(){}; +g.C.jj=function(N){if(N.state.isError()){var H;this.callback.An(this.y4(),this.dE(),new sz("A player error happened during adNotify",{playerErrorCode:(H=N.state.vN)==null?void 0:H.errorCode},"ADS_CLIENT_ERROR_MESSAGE_PLAYER_ERROR_DURING_ADNOTIFY"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED")}}; +g.C.onFullscreenToggled=function(){}; +g.C.pC=function(){}; +g.C.Fy=function(){}; +g.C.UV=function(){}; +g.C.onVolumeChange=function(){}; +g.C.aR=function(){}; +g.C.QQ=function(){}; +g.C.OI=function(){};g.k(A8h,Y_);g.k(OA,eq);OA.prototype.init=function(){eq.prototype.init.call(this);var N=g.P(this.layout.renderingContent,AF),H=tN(this.Fg);this.T.push(new A8h(N,H,this.layout.layoutId,{adsClientData:this.layout.z0}))}; +OA.prototype.startRendering=function(N){eq.prototype.startRendering.call(this,N);this.callback.AF(this.slot,N)}; +OA.prototype.OI=function(N,H){if(H===this.layout.layoutId)switch(N){case "skip-button":var c;(N=(c=lQ(this.layout.clientMetadata,"metadata_type_ad_pod_skip_target_callback_ref"))==null?void 0:c.current)&&N.ML(this.y4(),this.layout)}}; +OA.prototype.Os=function(){eq.prototype.Os.call(this)};rth.prototype.build=function(N,H,c,t){if(N=aM(N,c,t,this.oD,this.k_,this.Pp,this.B,this.T,this.Rx))return N;throw new sz("Unsupported layout with type: "+t.layoutType+" and client metadata: "+$A(t.clientMetadata)+" in OtherWebInPlayerLayoutRenderingAdapterFactory.");};g.C=HU.prototype;g.C.y4=function(){return this.slot}; +g.C.dE=function(){return this.layout}; +g.C.init=function(){this.k_.get().addListener(this);this.k_.get().CS.push(this);if(this.layout.renderingContent){var N=this.ea.get();N=s7(N,1).g9/1E3}else N=lQ(this.layout.clientMetadata,"metadata_type_video_length_seconds");var H=g.P(this.layout.renderingContent,DH),c=H?cZ(H.pings):lQ(this.layout.clientMetadata,"metadata_type_active_view_traffic_type");H=H?Qk3(H.pings):lQ(this.layout.clientMetadata,"metadata_type_active_view_identifier");P8(this.layout.S1)&&$6(this.r_.get(),this.layout.layoutId, +{T$:c,A7:N,listener:this,zJ:H})}; +g.C.release=function(){this.k_.get().removeListener(this);mid(this.k_.get(),this);P8(this.layout.S1)&&OS(this.r_.get(),this.layout.layoutId)}; +g.C.startRendering=function(N){this.callback.AF(this.slot,N)}; +g.C.BH=function(N,H){Va(this,"abandon");this.callback.Pr(this.slot,N,H)}; +g.C.aR=function(N){switch(N.id){case "part2viewed":this.Fg.xG("start");this.Fg.xG("impression");break;case "videoplaytime25":this.Fg.xG("first_quartile");break;case "videoplaytime50":this.Fg.xG("midpoint");break;case "videoplaytime75":this.Fg.xG("third_quartile");break;case "videoplaytime100":Va(this,"complete");$S(this.Fg)&&p_(this.Fg,Infinity,!0);break;case "engagedview":$S(this.Fg)||this.Fg.xG("progress");break;case "conversionview":case "videoplaybackstart":case "videoplayback2s":case "videoplayback10s":break; +default:KA("Cue Range ID unknown in ShortsPlaybackTrackingLayoutRenderingAdapter",this.slot,this.layout)}}; +g.C.onVolumeChange=function(){}; +g.C.UV=function(){}; +g.C.pC=function(){}; +g.C.Fy=function(){}; +g.C.onFullscreenToggled=function(){}; +g.C.jj=function(N){this.T||(g.tC(N,4)&&!g.tC(N,2)?Bt(this.Fg,"pause"):hC(N,4)<0&&!(hC(N,2)<0)&&Bt(this.Fg,"resume"))}; +g.C.vR=function(){}; +g.C.t1=function(N){$S(this.Fg)&&p_(this.Fg,N*1E3,!1)}; +g.C.QQ=function(){Va(this,"swipe")}; +g.C.E_=function(){this.Fg.xG("active_view_measurable")}; +g.C.IV=function(){this.Fg.xG("active_view_viewable")}; +g.C.SR=function(){this.Fg.xG("active_view_fully_viewable_audible_half_duration")}; +g.C.oV=function(){this.Fg.xG("audio_measurable")}; +g.C.RV=function(){this.Fg.xG("audio_audible")};Yol.prototype.build=function(N,H,c,t){if(c.slotType==="SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM"&&g.P(t.renderingContent,DH)!==void 0)return new HU(N,c,t,this.k_,this.Pp,this.Rx,this.r_,this.ea);H=["metadata_type_ad_placement_config"];for(var h=g.K(vR()),O=h.next();!O.done;O=h.next())H.push(O.value);if(u5(t,{lG:H,xH:["LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER"]}))return c.slotType==="SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM"?new HU(N,c,t,this.k_,this.Pp,this.Rx,this.r_,this.ea):new ojv(N,c,t,this.k_,this.Pp, +this.V4,this.Rx,this.r_);throw new sz("Unsupported layout with type: "+t.layoutType+" and client metadata: "+$A(t.clientMetadata)+" in PlaybackTrackingLayoutRenderingAdapterFactory.");};var mj={contentCpn:"",Nr:new Map};iu3.prototype.EF=function(N,H){var c={};H=Object.assign({},H,(c.cc=this.MP.sG(),c));this.MP.J.Lq(N,H)};var TGc,LC; +TGc={AJl:"ALREADY_PINNED_ON_A_DEVICE",AUTHENTICATION_EXPIRED:"AUTHENTICATION_EXPIRED",cdo:"AUTHENTICATION_MALFORMED",fGR:"AUTHENTICATION_MISSING",Cwa:"BAD_REQUEST",D0E:"CAST_SESSION_DEVICE_MISMATCHED",ZJT:"CAST_SESSION_VIDEO_MISMATCHED",zoa:"CAST_TOKEN_EXPIRED",bJS:"CAST_TOKEN_FAILED",XZo:"CAST_TOKEN_MALFORMED",jia:"CGI_PARAMS_MALFORMED",d0W:"CGI_PARAMS_MISSING",E3q:"DEVICE_FALLBACK",bAx:"GENERIC_WITH_LINK_AND_CPN",Xzg:"ERROR_HDCP",jUa:"LICENSE",HAq:"VIDEO_UNAVAILABLE",n3_:"FORMAT_UNAVAILABLE",wQE:"GEO_FAILURE", +JZE:"HTML5_AUDIO_RENDERER_ERROR",knE:"GENERIC_WITHOUT_LINK",NLq:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",pQS:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK",cZR:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK_SHORT",feW:"HTML5_SPS_UMP_STATUS_REJECTED",vbl:"INVALID_DRM_MESSAGE",P7s:"PURCHASE_NOT_FOUND",Yls:"PURCHASE_REFUNDED",sHg:"RENTAL_EXPIRED",Ldo:"RETRYABLE_ERROR",SnS:"SERVER_ERROR",fxg:"SIGNATURE_EXPIRED",tnE:"STOPPED_BY_ANOTHER_PLAYBACK",GZo:"STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",eHg:"STREAMING_NOT_ALLOWED", +VnT:"STREAM_LICENSE_NOT_FOUND",dJa:"TOO_MANY_REQUESTS",Hpl:"TOO_MANY_REQUESTS_WITH_LINK",qnl:"TOO_MANY_STREAMS_PER_ENTITLEMENT",axS:"TOO_MANY_STREAMS_PER_USER",UNSUPPORTED_DEVICE:"UNSUPPORTED_DEVICE",mAR:"VIDEO_FORBIDDEN",Euq:"VIDEO_NOT_FOUND",eof:"BROWSER_OR_EXTENSION_ERROR"};LC={}; +g.Ht=(LC.ALREADY_PINNED_ON_A_DEVICE="This video has already been downloaded on the maximum number of devices allowed by the copyright holder. Before you can play the video here, it needs to be unpinned on another device.",LC.DEVICE_FALLBACK="Sorry, this video is not available on this device.",LC.GENERIC_WITH_LINK_AND_CPN="An error occurred. Please try again later. (Playback ID: $CPN) $BEGIN_LINKLearn More$END_LINK",LC.LICENSE="Sorry, there was an error licensing this video.",LC.VIDEO_UNAVAILABLE= +"Video unavailable",LC.FORMAT_UNAVAILABLE="This video isn't available at the selected quality. Please try again later.",LC.GEO_FAILURE="This video isn't available in your country.",LC.HTML5_AUDIO_RENDERER_ERROR="Audio renderer error. Please restart your computer.",LC.GENERIC_WITHOUT_LINK="An error occurred. Please try again later.",LC.HTML5_NO_AVAILABLE_FORMATS_FALLBACK="This video format is not supported.",LC.HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK="Your browser does not currently recognize any of the video formats available. $BEGIN_LINKClick here to visit our frequently asked questions about HTML5 video.$END_LINK", +LC.HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK_SHORT="Your browser can't play this video. $BEGIN_LINKLearn more$END_LINK",LC.HTML5_SPS_UMP_STATUS_REJECTED="Something went wrong. Refresh or try again later. $BEGIN_LINKLearn more$END_LINK",LC.INVALID_DRM_MESSAGE="The DRM system specific message is invalid.",LC.PURCHASE_NOT_FOUND="This video requires payment.",LC.PURCHASE_REFUNDED="This video's purchase has been refunded.",LC.RENTAL_EXPIRED="This video's rental has expired.",LC.CAST_SESSION_DEVICE_MISMATCHED= +"The device in the cast session doesn't match the requested one.",LC.CAST_SESSION_VIDEO_MISMATCHED="The video in the cast session doesn't match the requested one.",LC.CAST_TOKEN_FAILED="Cast session not available. Please refresh or try again later.",LC.CAST_TOKEN_EXPIRED="Cast session was expired. Please refresh.",LC.CAST_TOKEN_MALFORMED="Invalid cast session. Please refresh or try again later.",LC.SERVER_ERROR="There was an internal server error. Please try again later.",LC.STOPPED_BY_ANOTHER_PLAYBACK= +"Your account is playing this video in another location. Please reload this page to resume watching.",LC.STREAM_LICENSE_NOT_FOUND="Video playback interrupted. Please try again.",LC.STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED="Too many devices/IP addresses have been used over the 24 hour period.",LC.STREAMING_NOT_ALLOWED="Playback not allowed because this video is pinned on another device.",LC.RETRYABLE_ERROR="There was a temporary server error. Please try again later.",LC.TOO_MANY_REQUESTS="Please log in to watch this video.", +LC.TOO_MANY_REQUESTS_WITH_LINK="Please $BEGIN_LINKclick here$END_LINK to watch this video on YouTube.",LC.TOO_MANY_STREAMS_PER_USER="Playback stopped because too many videos belonging to the same account are playing.",LC.TOO_MANY_STREAMS_PER_ENTITLEMENT="Playback stopped because this video has been played on too many devices.",LC.UNSUPPORTED_DEVICE="Playback isn't supported on this device.",LC.VIDEO_FORBIDDEN="Access to this video is forbidden.",LC.VIDEO_NOT_FOUND="This video can not be found.",LC.BROWSER_OR_EXTENSION_ERROR= +"Something went wrong. Refresh or try again later. $BEGIN_LINKLearn more$END_LINK",LC);var j_7;var Mr5=g.tA(),f8d=Mr5.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!f8d||f8d.length<2)j_7=void 0;else{var dkg=Mr5.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);j_7=dkg&&dkg.length===6?Number(dkg[5].replace("_",".")):0}var wa=j_7,mU=wa>=0;g.k(g.Ww,Qz);g.Ww.prototype.G=function(N,H,c,t,h){return Qz.prototype.G.call(this,N,H,c,t,h)};var ZL={},Qh=(ZL.FAIRPLAY="fairplay",ZL.PLAYREADY="playready",ZL.WIDEVINE="widevine",ZL.CLEARKEY=null,ZL.FLASHACCESS=null,ZL.UNKNOWN=null,ZL.WIDEVINE_CLASSIC=null,ZL);wQ.prototype.isMultiChannelAudio=function(){return this.numChannels>2};var Yf={},o4=(Yf.WIDTH={name:"width",video:!0,valid:640,WQ:99999},Yf.HEIGHT={name:"height",video:!0,valid:360,WQ:99999},Yf.FRAMERATE={name:"framerate",video:!0,valid:30,WQ:9999},Yf.BITRATE={name:"bitrate",video:!0,valid:3E5,WQ:2E9},Yf.EOTF={name:"eotf",video:!0,valid:"bt709",WQ:"catavision"},Yf.CHANNELS={name:"channels",video:!1,valid:2,WQ:99},Yf.CRYPTOBLOCKFORMAT={name:"cryptoblockformat",video:!0,valid:"subsample",WQ:"invalidformat"},Yf.DECODETOTEXTURE={name:"decode-to-texture",video:!0,valid:"false", +WQ:"nope"},Yf.AV1_CODECS={name:"codecs",video:!0,valid:"av01.0.05M.08",WQ:"av99.0.05M.08"},Yf.EXPERIMENTAL={name:"experimental",video:!0,valid:"allowed",WQ:"invalid"},Yf.TUNNELMODE={name:"tunnelmode",video:!0,valid:"true",WQ:"false"},Yf);var W47=["h","H"],zHG=["9","("],Eo5=["9h","(h"],xkg=["8","*"],qCR=["a","A"],CQd=["o","O"],l8g=["m","M"],K4G=["mac3","MAC3"],goc=["meac3","MEAC3"],AX={},vvS=(AX.h=W47,AX.H=W47,AX["9"]=zHG,AX["("]=zHG,AX["9h"]=Eo5,AX["(h"]=Eo5,AX["8"]=xkg,AX["*"]=xkg,AX.a=qCR,AX.A=qCR,AX.o=CQd,AX.O=CQd,AX.m=l8g,AX.M=l8g,AX.mac3=K4G,AX.MAC3=K4G,AX.meac3=goc,AX.MEAC3=goc,AX),r8g=new Set("o O a ah A m M mac3 MAC3 meac3 MEAC3 so sa".split(" ")),f5w=new Set("m M mac3 MAC3 meac3 MEAC3".split(" "));var b={},gQ=(b["0"]="f",b["160"]="h",b["133"]="h",b["134"]="h",b["135"]="h",b["136"]="h",b["137"]="h",b["264"]="h",b["266"]="h",b["138"]="h",b["298"]="h",b["299"]="h",b["304"]="h",b["305"]="h",b["214"]="h",b["216"]="h",b["374"]="h",b["375"]="h",b["140"]="a",b["141"]="a",b["327"]="sa",b["258"]="m",b["380"]="mac3",b["328"]="meac3",b["161"]="H",b["142"]="H",b["143"]="H",b["144"]="H",b["222"]="H",b["223"]="H",b["145"]="H",b["224"]="H",b["225"]="H",b["146"]="H",b["226"]="H",b["227"]="H",b["147"]="H",b["384"]= +"H",b["376"]="H",b["385"]="H",b["377"]="H",b["149"]="A",b["261"]="M",b["381"]="MAC3",b["329"]="MEAC3",b["598"]="9",b["278"]="9",b["242"]="9",b["243"]="9",b["244"]="9",b["775"]="9",b["776"]="9",b["777"]="9",b["778"]="9",b["779"]="9",b["780"]="9",b["781"]="9",b["782"]="9",b["783"]="9",b["247"]="9",b["248"]="9",b["353"]="9",b["355"]="9",b["356"]="9",b["271"]="9",b["577"]="9",b["313"]="9",b["579"]="9",b["272"]="9",b["302"]="9",b["303"]="9",b["407"]="9",b["408"]="9",b["308"]="9",b["315"]="9",b["330"]= +"9h",b["331"]="9h",b["332"]="9h",b["333"]="9h",b["334"]="9h",b["335"]="9h",b["336"]="9h",b["337"]="9h",b["338"]="so",b["600"]="o",b["250"]="o",b["251"]="o",b["774"]="o",b["194"]="*",b["195"]="*",b["220"]="*",b["221"]="*",b["196"]="*",b["197"]="*",b["279"]="(",b["280"]="(",b["317"]="(",b["318"]="(",b["273"]="(",b["274"]="(",b["357"]="(",b["358"]="(",b["275"]="(",b["359"]="(",b["360"]="(",b["276"]="(",b["583"]="(",b["584"]="(",b["314"]="(",b["585"]="(",b["561"]="(",b["277"]="(",b["361"]="(h",b["362"]= +"(h",b["363"]="(h",b["364"]="(h",b["365"]="(h",b["366"]="(h",b["591"]="(h",b["592"]="(h",b["367"]="(h",b["586"]="(h",b["587"]="(h",b["368"]="(h",b["588"]="(h",b["562"]="(h",b["409"]="(",b["410"]="(",b["411"]="(",b["412"]="(",b["557"]="(",b["558"]="(",b["394"]="1",b["395"]="1",b["396"]="1",b["397"]="1",b["398"]="1",b["399"]="1",b["720"]="1",b["721"]="1",b["400"]="1",b["401"]="1",b["571"]="1",b["402"]="1",b["694"]="1h",b["695"]="1h",b["696"]="1h",b["697"]="1h",b["698"]="1h",b["699"]="1h",b["700"]="1h", +b["701"]="1h",b["702"]="1h",b["703"]="1h",b["386"]="3",b["387"]="w",b["406"]="6",b["787"]="1",b["788"]="1",b["548"]="1e",b["549"]="1e",b["550"]="1e",b["551"]="1e",b["809"]="1e",b["810"]="1e",b["552"]="1e",b["811"]="1e",b["812"]="1e",b["553"]="1e",b["813"]="1e",b["814"]="1e",b["554"]="1e",b["815"]="1e",b["816"]="1e",b["555"]="1e",b["817"]="1e",b["818"]="1e",b["572"]="1e",b["556"]="1e",b["645"]="(",b["646"]="(",b["647"]="(",b["648"]="(",b["649"]="(",b["650"]="(",b["651"]="(",b["652"]="(",b["653"]="(", +b["654"]="(",b["655"]="(",b["656"]="(",b["657"]="(",b["658"]="(",b["659"]="(",b["660"]="(",b["661"]="(",b["662"]="(",b["663"]="(",b["664"]="(",b["665"]="(",b["666"]="(",b["667"]="(",b["668"]="(",b["669"]="(",b["670"]="(",b["671"]="(",b["672"]="(",b["673"]="(",b["674"]="(h",b["675"]="(h",b["676"]="(h",b["677"]="(h",b["678"]="(h",b["679"]="(h",b["680"]="(h",b["681"]="(h",b["682"]="(h",b["683"]="(h",b["684"]="(h",b["685"]="(h",b["686"]="(h",b["687"]="(h",b["688"]="A",b["689"]="A",b["690"]="A",b["691"]= +"MEAC3",b["773"]="i",b["806"]="I",b["805"]="I",b["829"]="9",b["830"]="9",b["831"]="9",b["832"]="9",b["833"]="9",b["834"]="9",b["835"]="9",b["836"]="9",b["892"]="9",b["893"]="9",b["837"]="9",b["838"]="9",b["839"]="9",b["840"]="9",b["841"]="(",b["842"]="(",b["843"]="(",b["844"]="(",b["845"]="(",b["846"]="(",b["847"]="(",b["848"]="(",b["894"]="(",b["895"]="(",b["849"]="(",b["850"]="(",b["851"]="(",b["852"]="(",b["865"]="9",b["866"]="9",b["867"]="9",b["868"]="9",b["869"]="9",b["870"]="9",b["871"]="9", +b["872"]="9",b["896"]="9",b["897"]="9",b["873"]="9",b["874"]="9",b["875"]="9",b["876"]="9",b["877"]="(",b["878"]="(",b["879"]="(",b["880"]="(",b["881"]="(",b["882"]="(",b["883"]="(",b["884"]="(",b["898"]="(",b["899"]="(",b["885"]="(",b["886"]="(",b["887"]="(",b["888"]="(",b["900"]="2",b["901"]="2",b["902"]="2",b["903"]="2",b["904"]="2",b["905"]="2",b["906"]="2",b["907"]="2",b["908"]="2",b);var aR={},X3D=(aR.STEREO_LAYOUT_UNKNOWN=0,aR.STEREO_LAYOUT_LEFT_RIGHT=1,aR.STEREO_LAYOUT_TOP_BOTTOM=2,aR);var R_Z={aji:0,ebE:124,Gva:144,D_s:220,vSq:240,zbE:340,ZEf:360,bEf:480,jHl:588,X0q:608,d_i:720,HES:740,u_q:1080,K8s:1100,tHg:1440,VHo:2160,qlg:9999,0:"QUALITY_ORDINAL_UNKNOWN",124:"QUALITY_ORDINAL_144P_SAVER",144:"QUALITY_ORDINAL_144P",220:"QUALITY_ORDINAL_240P_SAVER",240:"QUALITY_ORDINAL_240P",340:"QUALITY_ORDINAL_360P_SAVER",360:"QUALITY_ORDINAL_360P",480:"QUALITY_ORDINAL_480P",588:"QUALITY_ORDINAL_608P_SAVER",608:"QUALITY_ORDINAL_608P",720:"QUALITY_ORDINAL_720P",740:"QUALITY_ORDINAL_720P_ENHANCED", +1080:"QUALITY_ORDINAL_1080P",1100:"QUALITY_ORDINAL_1080P_ENHANCED",1440:"QUALITY_ORDINAL_1440P",2160:"QUALITY_ORDINAL_2160P",9999:"QUALITY_ORDINAL_HIGHRES"};var eb,n9,vC,ZNh;eb={};g.fi=(eb.auto=0,eb.tiny=144,eb.light=144,eb.small=240,eb.medium=360,eb.large=480,eb.hd720=720,eb.hd1080=1080,eb.hd1440=1440,eb.hd2160=2160,eb.hd2880=2880,eb.highres=4320,eb);n9={0:"auto",144:"tiny",240:"small",360:"medium",480:"large",720:"hd720",1080:"hd1080",1440:"hd1440",2160:"hd2160",2880:"hd2880",4320:"highres"};vC={}; +ZNh=(vC.QUALITY_ORDINAL_UNKNOWN=0,vC.QUALITY_ORDINAL_144P_SAVER=124,vC.QUALITY_ORDINAL_144P=144,vC.QUALITY_ORDINAL_240P_SAVER=220,vC.QUALITY_ORDINAL_240P=240,vC.QUALITY_ORDINAL_360P_SAVER=340,vC.QUALITY_ORDINAL_360P=360,vC.QUALITY_ORDINAL_480P=480,vC.QUALITY_ORDINAL_608P_SAVER=588,vC.QUALITY_ORDINAL_608P=608,vC.QUALITY_ORDINAL_720P=720,vC.QUALITY_ORDINAL_720P_ENHANCED=740,vC.QUALITY_ORDINAL_1080P=1080,vC.QUALITY_ORDINAL_1080P_ENHANCED=1100,vC.QUALITY_ORDINAL_1440P=1440,vC.QUALITY_ORDINAL_2160P=2160, +vC.QUALITY_ORDINAL_HIGHRES=9999,vC);var pK="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");Uo.prototype.isHdr=function(){return this.T==="smpte2084"||this.T==="arib-std-b67"};p8.prototype.RW=function(){return this.containerType===2}; +p8.prototype.isEncrypted=function(){return!!this.YH}; +p8.prototype.ll=function(){return!!this.audio}; +p8.prototype.KG=function(){return!!this.video}; +var J$=!1;g.k(gk,g.xo);g.C=gk.prototype;g.C.appendBuffer=function(N,H,c){if(this.WH.w$()!==this.appendWindowStart+this.start||this.WH.eW()!==this.appendWindowEnd+this.start||this.WH.HO()!==this.timestampOffset+this.start)this.WH.supports(1),this.WH.eq(this.appendWindowStart+this.start,this.appendWindowEnd+this.start),this.WH.Xm(this.timestampOffset+this.start);this.WH.appendBuffer(N,H,c)}; +g.C.abort=function(){this.WH.abort()}; +g.C.remove=function(N,H){this.WH.remove(N+this.start,H+this.start)}; +g.C.removeAll=function(){this.remove(this.appendWindowStart,this.appendWindowEnd)}; +g.C.clear=function(){this.WH.clear()}; +g.C.eq=function(N,H){this.appendWindowStart=N;this.appendWindowEnd=H}; +g.C.zN=function(){return this.timestampOffset+this.start}; +g.C.w$=function(){return this.appendWindowStart}; +g.C.eW=function(){return this.appendWindowEnd}; +g.C.Xm=function(N){this.timestampOffset=N}; +g.C.HO=function(){return this.timestampOffset}; +g.C.l2=function(N){N=this.WH.l2(N===void 0?!1:N);return zQ(N,this.start,this.end)}; +g.C.lq=function(){return this.WH.lq()}; +g.C.hL=function(){return this.WH.hL()}; +g.C.Wz=function(){return this.WH.Wz()}; +g.C.Nx=function(){return this.WH.Nx()}; +g.C.n7=function(){this.WH.n7()}; +g.C.iK=function(N){return this.WH.iK(N)}; +g.C.JE=function(){return this.WH.JE()}; +g.C.jW=function(){return this.WH.jW()}; +g.C.t4=function(N,H,c){this.WH.t4(N,H,c)}; +g.C.G9=function(N,H,c){this.WH.G9(N,H,c)}; +g.C.H4=function(N,H){return this.WH.H4(N,H)}; +g.C.supports=function(N){return this.WH.supports(N)}; +g.C.HB=function(){return this.WH.HB()}; +g.C.isView=function(){return!0}; +g.C.Gj=function(){return this.WH.Gj()?this.isActive:!1}; +g.C.isLocked=function(){return this.Ti&&!this.isActive}; +g.C.Q4=function(N){N=this.WH.Q4(N);N.vw=this.start+"-"+this.end;return N}; +g.C.dZ=function(){return this.WH.dZ()}; +g.C.o8=function(){return this.WH.o8()}; +g.C.t8=function(){return this.WH.t8()}; +g.C.Os=function(){this.WH.mV(this.uF);g.xo.prototype.Os.call(this)};var wf=!1;g.k(Ml,g.xo);g.C=Ml.prototype;g.C.appendBuffer=function(N,H,c){this.ET=!1;c&&(this.U3=c);if(N.length){var t;((t=this.q4)==null?0:t.appendBuffer)?this.q4.appendBuffer(N):this.q4?this.q4.append(N):this.YP&&this.YP.webkitSourceAppend(this.id,N)}H&&(H.isEncrypted()&&(this.H5=this.U3),H.type===3&&(this.QL=H),this.L5.push(H.uX()),this.L5.length>4&&this.L5.shift());this.Ut&&(this.Ut.length>=2||N.length>1048576?delete this.Ut:this.Ut.push(N))}; +g.C.abort=function(){try{this.q4?this.q4.abort():this.YP&&this.YP.webkitSourceAbort(this.id)}catch(H){if(eD3){var N=new g.ti("Error while abort the source buffer: "+H.name+", "+H.message);g.BZ(N)}}this.U3=this.QL=null}; +g.C.remove=function(N,H,c){this.ET=!1;var t;if((t=this.q4)==null?0:t.remove)c&&c({b:Eo(this.l2()),s:N,e:H}),this.q4.remove(N,H)}; +g.C.removeAll=function(){this.remove(this.w$(),this.eW())}; +g.C.clear=function(){this.Wz()||(this.abort(),this.removeAll(),this.H5=this.U3=this.QL=null,this.appendWindowStart=this.timestampOffset=0,this.t_=TC([],[]),this.ET=!1,this.Ut=jg?[]:void 0,this.XX=!0)}; +g.C.w$=function(){if(wf&&this.KG)return this.appendWindowStart;var N;return((N=this.q4)==null?void 0:N.appendWindowStart)||0}; +g.C.eW=function(){var N;return((N=this.q4)==null?void 0:N.appendWindowEnd)||0}; +g.C.eq=function(N,H){this.q4&&(wf&&this.KG?(this.appendWindowStart=N,this.q4.appendWindowEnd=H):N>this.w$()?(this.q4.appendWindowEnd=H,this.q4.appendWindowStart=N):(this.q4.appendWindowStart=N,this.q4.appendWindowEnd=H))}; +g.C.zN=function(){return this.timestampOffset}; +g.C.Xm=function(N){wf?this.timestampOffset=N:this.supports(1)&&(this.q4.timestampOffset=N)}; +g.C.HO=function(){return wf?this.timestampOffset:this.supports(1)?this.q4.timestampOffset:0}; +g.C.l2=function(N){if(N===void 0?0:N)return this.ET||this.lq()||(this.t_=this.l2(!1),this.ET=!0),this.t_;try{return this.q4?this.q4.buffered:this.YP?this.YP.webkitSourceBuffered(this.id):TC([0],[Infinity])}catch(H){return TC([],[])}}; +g.C.lq=function(){var N;return((N=this.q4)==null?void 0:N.updating)||!1}; +g.C.Wz=function(){return this.XX}; +g.C.Nx=function(){return!this.XX&&this.lq()}; +g.C.n7=function(){this.XX=!1}; +g.C.iK=function(N){var H=N==null?void 0:N.T0;N=N==null?void 0:N.containerType;return!H&&!N||H===this.T0&&N===this.containerType}; +g.C.JE=function(){return this.U3}; +g.C.jW=function(){return this.H5}; +g.C.H4=function(N,H){return this.containerType!==N||this.T0!==H}; +g.C.t4=function(N,H,c){if(this.containerType!==N||c&&this.H4(N,c))this.supports(4),SF()&&this.q4.changeType(H),c&&(this.T0=c);this.containerType=N}; +g.C.G9=function(N,H,c){this.containerType&&this.H4(N,H)&&SF()&&this.q4.changeType(c);this.containerType=N;this.T0=H}; +g.C.HB=function(){return this.QL}; +g.C.isView=function(){return!1}; +g.C.supports=function(N){switch(N){case 1:var H;return((H=this.q4)==null?void 0:H.timestampOffset)!==void 0;case 0:var c;return!((c=this.q4)==null||!c.appendBuffer);case 2:var t;return!((t=this.q4)==null||!t.remove);case 3:var h,O;return!!(((h=this.q4)==null?0:h.addEventListener)&&((O=this.q4)==null?0:O.removeEventListener));case 4:return!(!this.q4||!this.q4.changeType);default:return!1}}; +g.C.Gj=function(){return!this.lq()}; +g.C.isLocked=function(){return!1}; +g.C.Q4=function(N){N.to=this.HO();N.up=this.lq();var H,c=((H=this.q4)==null?void 0:H.appendWindowStart)||0,t;H=((t=this.q4)==null?void 0:t.appendWindowEnd)||Infinity;N.aw=c.toFixed(3)+"-"+H.toFixed(3);return N}; +g.C.hL=function(){var N;return((N=this.q4)==null?void 0:N.writeHead)||0}; +g.C.dZ=function(){for(var N={},H=0;H=7&&(!H||((t=this.wE)==null?0:t.N("mweb_ios_allow_playback_workaround_when_ready")))&&T8e(this,function(){g.Zh(function(){Wwd(N,N.getCurrentTime(),0)},500)})}return H}; +g.C.Kb=function(N,H,c){var t;((t=this.wE)==null?0:t.vO())&&this.wE.Lq(N,H,c===void 0?!1:c)}; +g.C.LQ=function(N){this.wE=N}; +g.C.Ul=function(){return mW(this.Z6(),this.getCurrentTime())}; +g.C.seekTo=function(N){this.gJ()>0&&(mU&&wa<4&&(N=Math.max(.1,N)),this.setCurrentTime(N))}; +g.C.E4=function(N){if(this.gJ()===0||this.hasError())return!1;var H=this.getCurrentTime()>0;if(N>=0){var c=this.v0();if(c.length||!H)return t1(c,N)}return H}; +g.C.LJ=function(){if(!this.L&&this.Zf)if(this.Zf.Y)try{var N;this.Kb("rms",{l:"mer",sr:(N=this.wE)==null?void 0:N.YD(),rs:rd(this.Zf)});this.Zf.clear();this.wT(this.Zf);this.Zf=void 0}catch(H){N=new g.ti("Error while clearing Media Source in MediaElement: "+H.name+", "+H.message),g.BZ(N),this.stopVideo()}else this.stopVideo()}; +g.C.stopVideo=function(){var N=this;if(!this.L){var H;(H=this.Zf)==null||vi(H);if(LwL){if(!this.C){var c=new M9;c.then(void 0,function(){}); +this.C=c;Zme&&this.pause();g.Zh(function(){N.C===c&&(Yt(N),c.resolve())},200)}}else Yt(this)}}; +g.C.A9=function(){var N=this.Z6();return GK(N)&&this.getDuration()?jU(N,this.getCurrentTime()):0}; +g.C.AO=function(){var N=this.Z6();return GK(N)&&this.getDuration()?N.end(N.length-1):0}; +g.C.K1=function(){var N=this.getDuration();return N===Infinity?1:N?this.A9()/N:0}; +g.C.Q4=function(){try{var N=this.getSize();return{vct:this.getCurrentTime().toFixed(3),vd:this.getDuration().toFixed(3),vpl:Eo(this.NA(),",",3),vbu:Eo(this.Z6()),vbs:Eo(this.v0()),vpa:""+ +this.isPaused(),vsk:""+ +this.isSeeking(),ven:""+ +this.isEnded(),vpr:""+this.getPlaybackRate(),vrs:""+this.gJ(),vns:""+this.ey(),vec:""+this.Wd(),vemsg:this.Yl(),vvol:""+this.getVolume(),vdom:""+ +this.nL(),vsrc:""+ +!!this.FH(),vw:""+N.width,vh:""+N.height}}catch(H){return{}}}; +g.C.XP=function(){return this.Wd()===4}; +g.C.hasError=function(){return this.Wd()>0}; +g.C.FR=function(){switch(this.Wd()){case 2:return"progressive.net.retryexhausted";case 3:var N=this.Yl();return(N==null?0:N.includes("MEDIA_ERR_CAPABILITY_CHANGED"))||A6R&&(N==null?0:N.includes("audio_output_change"))?"capability.changed":"fmt.decode";case 4:return"fmt.unplayable";case 5:return"drm.unavailable";case 1E3:return"capability.changed";default:return null}}; +g.C.addEventListener=function(N,H){this.TW.listen(N,H,!1,this);this.x0(N)}; +g.C.removeEventListener=function(N,H){this.TW.G3(N,H,!1,this)}; +g.C.dispatchEvent=function(N){if(this.C&&N.type==="pause")return!1;if(YQR){var H,c=((H=N.T)==null?void 0:H.timeStamp)||Infinity;H=c>performance.now()?c-Date.now()+performance.now():c;c=this.L||this.Zf;if((c==null?0:c.Wz())||H<=((c==null?void 0:c.U)||0)){var t;this.Kb("rms",{l:"mede",sr:(t=this.wE)==null?void 0:t.YD(),et:N.type});return!1}if(this.Fr)return this.Kb("rms",{l:"medes",et:N.type}),c&&N.type==="seeking"&&(c.U=performance.now(),this.Fr=!1),!1}return this.TW.dispatchEvent(N)}; +g.C.Uo=function(){this.ox=!1}; +g.C.Tf=function(){this.ox=!0;this.Jr(!0)}; +g.C.YQ=function(){this.ox&&!this.GV()&&this.Jr(!0)}; +g.C.equals=function(N){return!!N&&N.N4()===this.N4()}; +g.C.Os=function(){this.NT&&this.removeEventListener("volumechange",this.YQ);LwL&&Yt(this);g.L.prototype.Os.call(this)}; +var LwL=!1,Zme=!1,YQR=!1,A6R=!1;g.C=g.Nb.prototype;g.C.isPaused=function(){return g.y(this,4)}; +g.C.isPlaying=function(){return g.y(this,8)&&!g.y(this,512)&&!g.y(this,64)&&!g.y(this,2)}; +g.C.isOrWillBePlaying=function(){return g.y(this,8)&&!g.y(this,2)&&!g.y(this,1024)}; +g.C.isCued=function(){return g.y(this,64)&&!g.y(this,8)&&!g.y(this,4)}; +g.C.isBuffering=function(){return g.y(this,1)&&!g.y(this,2)}; +g.C.isError=function(){return g.y(this,128)}; +g.C.isSuspended=function(){return g.y(this,512)}; +g.C.AA=function(){return g.y(this,64)&&g.y(this,4)}; +g.C.toString=function(){return"PSt."+this.state.toString(16)}; +var sF={},BC=(sF.BUFFERING="buffering-mode",sF.CUED="cued-mode",sF.ENDED="ended-mode",sF.PAUSED="paused-mode",sF.PLAYING="playing-mode",sF.SEEKING="seeking-mode",sF.UNSTARTED="unstarted-mode",sF);g.k(RZ,g.L);g.C=RZ.prototype;g.C.Oz=function(){return this.L}; +g.C.y4=function(){return this.slot}; +g.C.dE=function(){return this.layout}; +g.C.init=function(){var N=lQ(this.layout.clientMetadata,"metadata_type_video_length_seconds"),H=lQ(this.layout.clientMetadata,"metadata_type_active_view_traffic_type");P8(this.layout.S1)&&$6(this.r_.get(),this.layout.layoutId,{T$:H,A7:N,listener:this,gA:this.fG()});$5(this.Pp.get(),this);N=this.dR;H=this.layout.layoutId;var c={gA:this.fG()};N.T.set(H,c);this.NI()}; +g.C.Tt=function(){}; +g.C.release=function(){P8(this.layout.S1)&&OS(this.r_.get(),this.layout.layoutId);xN(this.Pp.get(),this);this.dR.T.delete(this.layout.layoutId);this.jR()}; +g.C.wb=function(){}; +g.C.oE=function(){}; +g.C.startRendering=function(N){Fb3(hD(this));if(jTD(this,N)){var H=this.T;G$(H.params.xA.Rx.get(),!0)&&kot(H,"p_sr",{});vsR(this);this.iy(N);this.fG()||this.kz(!1)}}; +g.C.AF=function(N,H){if(H.layoutId===this.layout.layoutId){this.ws="rendering";this.B=this.k_.get().isMuted()||this.k_.get().getVolume()===0;this.xG("impression");this.xG("start");if(this.k_.get().isMuted()){UV(this,"mute");var c;N=((c=x5(this))==null?void 0:c.muteCommands)||[];BD(this.V4.get(),N,this.layout.layoutId)}if(this.k_.get().isFullscreen()){this.F1("fullscreen");var t;c=((t=x5(this))==null?void 0:t.fullscreenCommands)||[];BD(this.V4.get(),c,this.layout.layoutId)}this.fG()||(t=this.YO.get(), +t.L&&!t.B&&(t.S=!1,t.B=!0,t.actionType!=="ad_to_video"&&(OZ("pbs",void 0,t.actionType),g.sf("finalize_all_timelines")&&Jd3(t.actionType))));this.JZ(1);this.yO(H);var h;H=((h=x5(this))==null?void 0:h.impressionCommands)||[];BD(this.V4.get(),H,this.layout.layoutId)}}; +g.C.Er=function(N,H,c){this.C={Am:3,QD:N==="load_timeout"?402:400,errorMessage:H.message};this.xG("error");var t;N=((t=x5(this))==null?void 0:t.errorCommands)||[];BD(this.V4.get(),N,this.layout.layoutId);this.fG()||this.qF.An(this.slot,this.layout,H,c)}; +g.C.pz=function(){if(this.ws==="rendering"){UV(this,"pause");var N,H=((N=x5(this))==null?void 0:N.pauseCommands)||[];BD(this.V4.get(),H,this.layout.layoutId);this.JZ(2)}}; +g.C.cV=function(){if(this.ws==="rendering"){UV(this,"resume");var N,H=((N=x5(this))==null?void 0:N.resumeCommands)||[];BD(this.V4.get(),H,this.layout.layoutId)}}; +g.C.ly=function(N,H){H=H===void 0?!1:H;if(this.ws==="rendering"){var c={currentTimeSec:N,flush:H};t6(this.T,"p_ip",c);p_(this.Fg,N*1E3,H);this.B||p_(this.Fg,N*1E3,H===void 0?!1:H);var t=this.uQ();if(t){t/=1E3;if(N>=t*.25||H)this.xG("first_quartile"),t6(this.T,"p_fq",c);if(N>=t*.5||H)this.xG("midpoint"),t6(this.T,"p_sq",c);if(N>=t*.75||H)this.xG("third_quartile"),t6(this.T,"p_tq",c);this.Rx.get().J.D().experiments.M4("enable_progress_command_flush_on_kabuki")?mC(this.U,N*1E3,H):mC(this.U,N*1E3,AYw(this)? +H:!1)}}}; +g.C.sG=function(){var N;return((N=s7(this.ea.get(),1))==null?void 0:N.clientPlaybackNonce)||""}; +g.C.mB=function(N,H){N.layoutId!==this.layout.layoutId?this.qF.An(this.slot,N,new sz("Tried to stop rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_EXIT_LAYOUT_FAILED"):H()}; +g.C.Pr=function(N,H,c){if(H.layoutId===this.layout.layoutId)switch(this.ws="not_rendering",this.layoutExitReason=void 0,this.fG()||(N=c!=="normal"||this.position+1===this.Y)&&this.kz(N),this.Nt(c),this.JZ(0),c){case "abandoned":if(Mk(this.Fg,"impression")){var t,h=((t=x5(this))==null?void 0:t.abandonCommands)||[];BD(this.V4.get(),h,this.layout.layoutId)}break;case "normal":t=((h=x5(this))==null?void 0:h.completeCommands)||[];BD(this.V4.get(),t,this.layout.layoutId);break;case "skipped":var O;t=((O= +x5(this))==null?void 0:O.skipCommands)||[];BD(this.V4.get(),t,this.layout.layoutId)}}; +g.C.KH=function(){return this.layout.layoutId}; +g.C.TN=function(){return this.C}; +g.C.E_=function(){if(this.ws==="rendering"){this.Fg.xG("active_view_measurable");var N,H=((N=x5(this))==null?void 0:N.activeViewMeasurableCommands)||[];BD(this.V4.get(),H,this.layout.layoutId)}}; +g.C.SR=function(){if(this.ws==="rendering"){this.Fg.xG("active_view_fully_viewable_audible_half_duration");var N,H=((N=x5(this))==null?void 0:N.activeViewFullyViewableAudibleHalfDurationCommands)||[];BD(this.V4.get(),H,this.layout.layoutId)}}; +g.C.IV=function(){if(this.ws==="rendering"){this.Fg.xG("active_view_viewable");var N,H=((N=x5(this))==null?void 0:N.activeViewViewableCommands)||[];BD(this.V4.get(),H,this.layout.layoutId)}}; +g.C.RV=function(){if(this.ws==="rendering"){this.Fg.xG("audio_audible");var N,H=((N=x5(this))==null?void 0:N.activeViewAudioAudibleCommands)||[];BD(this.V4.get(),H,this.layout.layoutId)}}; +g.C.oV=function(){if(this.ws==="rendering"){this.Fg.xG("audio_measurable");var N,H=((N=x5(this))==null?void 0:N.activeViewAudioMeasurableCommands)||[];BD(this.V4.get(),H,this.layout.layoutId)}}; +g.C.kz=function(N){this.YO.get().kz(lQ(this.layout.clientMetadata,"metadata_type_ad_placement_config").kind,N,this.position,this.Y,!1)}; +g.C.onFullscreenToggled=function(N){if(this.ws==="rendering")if(N){this.F1("fullscreen");var H,c=((H=x5(this))==null?void 0:H.fullscreenCommands)||[];BD(this.V4.get(),c,this.layout.layoutId)}else this.F1("end_fullscreen"),H=((c=x5(this))==null?void 0:c.endFullscreenCommands)||[],BD(this.V4.get(),H,this.layout.layoutId)}; +g.C.onVolumeChange=function(){if(this.ws==="rendering")if(this.k_.get().isMuted()){UV(this,"mute");var N,H=((N=x5(this))==null?void 0:N.muteCommands)||[];BD(this.V4.get(),H,this.layout.layoutId)}else UV(this,"unmute"),N=((H=x5(this))==null?void 0:H.unmuteCommands)||[],BD(this.V4.get(),N,this.layout.layoutId)}; +g.C.pC=function(){}; +g.C.Fy=function(){}; +g.C.UV=function(){}; +g.C.aR=function(){}; +g.C.QQ=function(){}; +g.C.F1=function(N){this.Fg.F1(N,!this.B)}; +g.C.xG=function(N){this.Fg.xG(N,!this.B)}; +g.C.fG=function(){var N=lQ(this.slot.clientMetadata,"metadata_type_eligible_for_ssap");return N===void 0?(KA("Expected SSAP eligibility for PlayerBytes sub layout",this.slot,this.layout),!1):this.Rx.get().fG(N)};g.k(oZ,RZ);g.C=oZ.prototype;g.C.NI=function(){}; +g.C.jR=function(){var N=this.Pp.get();N.t7===this&&(N.t7=null);this.timer.stop()}; +g.C.wb=function(){this.timer.stop();RZ.prototype.pz.call(this)}; +g.C.oE=function(){xRD(this);RZ.prototype.cV.call(this)}; +g.C.uQ=function(){return lQ(this.dE().clientMetadata,"METADATA_TYPE_MEDIA_BREAK_LAYOUT_DURATION_MILLISECONDS")}; +g.C.BH=function(N,H){var c=this;this.mB(N,function(){c.ws!=="rendering_stop_requested"&&(c.ws="rendering_stop_requested",c.layoutExitReason=H,Ip(c,H),c.timer.stop())})}; +g.C.Dp=function(){var N=Date.now(),H=N-this.FM;this.FM=N;this.kc+=H;this.kc>=this.uQ()?this.I2():(this.ly(this.kc/1E3),iq(this,this.kc))}; +g.C.Nt=function(){}; +g.C.vR=function(){}; +g.k(By,oZ);g.C=By.prototype;g.C.jj=function(N){if(this.ws!=="not_rendering"){N=e5(this,N);var H=this.k_.get().getPresentingPlayerType()===2;this.ws==="rendering_start_requested"?H&&iu(N)&&this.aK():H?g.tC(N,2)?KA("Receive player ended event during MediaBreak",this.y4(),this.dE()):Ff(this,N):this.Xe()}}; +g.C.iy=function(){oBt(this);fqv(this.k_.get());this.Pp.get().t7=this;j_("pbp")||j_("pbs")||OZ("pbp");j_("pbp","watch")||j_("pbs","watch")||OZ("pbp",void 0,"watch");this.aK()}; +g.C.yO=function(N){this.YO.get();var H=lQ(N.clientMetadata,"metadata_type_ad_placement_config").kind,c=this.position===0;N=lQ(N.clientMetadata,"metadata_type_linked_in_player_layout_type");N={adBreakType:SR(H),adType:$Qw(N)};var t=void 0;c?H!=="AD_PLACEMENT_KIND_START"&&(t="video_to_ad"):t="ad_to_ad";Ai("ad_mbs",void 0,t);g.YR(N,t);xRD(this)}; +g.C.Xe=function(){this.gw()}; +g.C.I2=function(){zhS(this);this.gw()}; +g.k(u6,oZ);g.C=u6.prototype;g.C.jj=function(N){this.ws!=="not_rendering"&&(N=e5(this,N),Ff(this,N))}; +g.C.iy=function(){KA("Not used in SSAP")}; +g.C.yO=function(){xRD(this)}; +g.C.Xe=function(){KA("Not used in SSAP")}; +g.C.I2=function(){zhS(this);this.qF.ij(this.y4(),this.dE(),"normal")}; +g.k(FM,u6);FM.prototype.BH=function(N,H){var c=this;this.mB(N,function(){$2S(c.L,H)&&(c.ws="rendering_stop_requested",c.layoutExitReason=H,Ip(c,H),c.timer.stop())})}; +FM.prototype.startRendering=function(N){Fb3(hD(this));jTD(this,N)&&(vsR(this),this.Pp.get().t7=this)};g.k(cm,RZ);g.C=cm.prototype;g.C.Xe=function(){this.gw()}; +g.C.jj=function(N){if(this.ws!=="not_rendering"){N=e5(this,N);var H=this.k_.get().getPresentingPlayerType()===2;this.ws==="rendering_start_requested"?H&&iu(N)&&this.aK():!H||g.tC(N,2)?this.gw():Ff(this,N)}}; +g.C.NI=function(){lQ(this.dE().clientMetadata,"metadata_type_player_bytes_callback_ref").current=this;this.shrunkenPlayerBytesConfig=lQ(this.dE().clientMetadata,"metadata_type_shrunken_player_bytes_config")}; +g.C.jR=function(){lQ(this.dE().clientMetadata,"metadata_type_player_bytes_callback_ref").current=null;if(this.Se){var N=this.context.xA,H=this.Se,c=this.dE().layoutId;if(G$(N.Rx.get(),!0)){var t={};N.EF("mccru",(t.cid=H,t.p_ac=c,t))}this.kO.get().removeCueRange(this.Se)}this.Se=void 0;var h;(h=this.iB)==null||h.dispose();this.PD&&this.PD.dispose()}; +g.C.iy=function(N){var H=kd(this.Rx.get()),c=HW(this.Rx.get());if(H&&c&&!this.fG()){c=lQ(N.clientMetadata,"metadata_type_preload_player_vars");var t=this.Rx.get();t=g.Mx(t.J.D().experiments,"html5_preload_wait_time_secs");c&&this.PD&&this.PD.start(t*1E3)}sly(this,N);oBt(this);H?(c=this.Nc.get(),N=lQ(N.clientMetadata,"metadata_type_player_vars"),c.J.loadVideoByPlayerVars(N,!1,2)):yK(this.Nc.get(),lQ(N.clientMetadata,"metadata_type_player_vars"));var h;(h=this.iB)==null||h.start();H||this.Nc.get().J.playVideo(2)}; +g.C.yO=function(){var N;(N=this.iB)==null||N.stop();this.Av();(this.adCpn=gxs(this))||KA("Media layout confirmed started, but ad CPN not set.");this.Mi.get().Xq("onAdStart",this.adCpn);this.dU=Date.now()}; +g.C.uQ=function(){var N;return(N=s7(this.ea.get(),2))==null?void 0:N.g9}; +g.C.va=function(){this.Fg.F1("clickthrough")}; +g.C.BH=function(N,H){var c=this;this.mB(N,function(){if(c.ws!=="rendering_stop_requested"){c.ws="rendering_stop_requested";c.layoutExitReason=H;Ip(c,H);var t;(t=c.iB)==null||t.stop();c.PD&&c.PD.stop();G5e(c)}})}; +g.C.onCueRangeEnter=function(N){if(N!==this.Se)KA("Received CueRangeEnter signal for unknown layout.",this.y4(),this.dE(),{cueRangeId:N});else{var H=this.context.xA,c=this.dE().layoutId;if(G$(H.Rx.get(),!0)){var t={};H.EF("mccre",(t.cid=N,t.p_ac=c,t))}this.kO.get().removeCueRange(this.Se);this.Se=void 0;dy(this.context.Rx.get(),"html5_ssap_flush_at_stop_rendering")&&this.fG()||(N=lQ(this.dE().clientMetadata,"metadata_type_video_length_seconds"),this.ly(N,!0),this.xG("complete"))}}; +g.C.Nt=function(N){N!=="abandoned"&&this.Mi.get().Xq("onAdComplete");this.Mi.get().Xq("onAdEnd",this.adCpn)}; +g.C.Av=function(){this.Se="adcompletioncuerange:"+this.dE().layoutId;this.kO.get().addCueRange(this.Se,0x7ffffffffffff,0x8000000000000,!1,this,2,2);var N=this.context.xA,H=this.Se,c=this.dE().layoutId;if(G$(N.Rx.get(),!0)){var t={};N.EF("mccr",(t.cid=H,t.p_ac=c,t))}}; +g.C.onCueRangeExit=function(){}; +g.C.vR=function(N){this.ws==="rendering"&&(this.shrunkenPlayerBytesConfig&&this.shrunkenPlayerBytesConfig.shouldRequestShrunkenPlayerBytes&&N>=(this.shrunkenPlayerBytesConfig.playerProgressOffsetSeconds||0)&&this.k_.get().gg(!0),this.ly(N))}; +g.C.ly=function(N,H){RZ.prototype.ly.call(this,N,H===void 0?!1:H);H=Date.now()-this.dU;var c=N*1E3,t={contentCpn:this.sG(),adCpn:gxs(this)};if(N-this.c7>=5){var h=H=2||(this.QR.BH(this.layout,H),N=dy(this.params.context.Rx.get(),"html5_ssap_pass_transition_reason")&&H==="abandoned",this.P3()&&!N&&(dy(this.params.context.Rx.get(),"html5_ssap_pass_transition_reason")&&(["normal","skipped","muted","user_input_submitted"].includes(H)||KA("Single stopRendering: unexpected exit reason",this.slot,this.layout,{exitReason:H})),this.ID.get().finishSegmentByCpn(this.layout.layoutId, +s7(this.ea.get(),1).clientPlaybackNonce,Cn(H,this.params.context.Rx))),this.k_.get().removeListener(this),this.wi()&&Ld(this.QR.Oz())&&this.uU.Pr(this.slot,this.layout,this.QR.Oz().T))}; +g.C.dK=function(N,H,c){bGl({cpn:N,MP:this.ea.get(),vG:!0});this.dE().layoutId!==N||dy(this.params.context.Rx.get(),"html5_ssap_pass_transition_reason")&&c===5||(this.QR.Oz().currentState<2&&(N=P0(c,this.params.context.Rx),N==="error"?this.uU.An(this.slot,this.layout,new sz("Player transition with error during SSAP single layout.",{playerErrorCode:"non_video_expired",transitionReason:c},"ADS_CLIENT_ERROR_MESSAGE_PLAYER_TRANSITION_WITH_ERROR"),"ADS_CLIENT_ERROR_TYPE_ERROR_DURING_RENDERING"):lm(this.N2, +this.layout,N)),dy(this.params.context.Rx.get(),"html5_ssap_exit_without_waiting_for_transition")||this.uU.Pr(this.slot,this.layout,this.QR.Oz().T))};g.k(P$,g.L);g.C=P$.prototype;g.C.y4=function(){return this.slot}; +g.C.dE=function(){return this.layout}; +g.C.eX=function(){}; +g.C.xl=function(){return this.yF[this.Bm]}; +g.C.Y8=function(){return this.Bm}; +g.C.wb=function(N,H){var c=this.xl();H.layoutId!==Nl(c,N,H)?KA("pauseLayout for a PlayerBytes layout that is not currently active",N,H):c.wb()}; +g.C.oE=function(N,H){var c=this.xl();H.layoutId!==Nl(c,N,H)?KA("resumeLayout for a PlayerBytes layout that is not currently active",N,H):c.oE()}; +g.C.Pu=function(N,H){var c=this.xl();qRt(this,N,H);brZ(c,N,H)&&this.gZ(c.y4(),c.dE(),"skipped")}; +g.C.ML=function(N,H){var c=this.xl();S3d(this);KAf(c,N,H)&&(N=zil(this,c,N,H),N!==void 0&&(this.fG()?KA("Should not happen. Should delete"):zLL(this,c.y4(),c.dE(),N)))}; +g.C.UW=function(N,H){var c=Object.assign({},A3(this),{layoutId:H.layoutId}),t=c.layoutId,h=c.vG;if(c.gA){var O={};r0(c.MP,"wrse",(O.ec=t,O.is=h,O.ctp=w0(t),O))}Twf(this.HL,N,H)}; +g.C.AF=function(N,H){var c;(c=this.xl())==null||c.AF(N,H)}; +g.C.Pr=function(N,H,c){H.layoutId===this.dE().layoutId&&(this.tE=!1,hI(this.Le(),this));var t;(t=this.xl())==null||t.Pr(N,H,c)}; +g.C.vR=function(N){var H;(H=this.xl())==null||H.vR(N)}; +g.C.Rz=function(N,H,c){this.Y8()===-1&&(this.callback.AF(this.slot,this.layout),this.Bm++);var t=this.xl();t?(t.Er(N,H,c),this.fG()&&this.callback.An(this.slot,this.layout,H,c)):KA("No active adapter found onLayoutError in PlayerBytesVodCompositeLayoutRenderingAdapter",void 0,void 0,{activeSubLayoutIndex:String(this.Y8()),layoutId:this.dE().layoutId})}; +g.C.onFullscreenToggled=function(N){var H;(H=this.xl())==null||H.onFullscreenToggled(N)}; +g.C.pC=function(N){var H;(H=this.xl())==null||H.pC(N)}; +g.C.UV=function(N){var H;(H=this.xl())==null||H.UV(N)}; +g.C.onVolumeChange=function(){var N;(N=this.xl())==null||N.onVolumeChange()}; +g.C.BK=function(N,H,c){Za(this.HL,N,H,c)}; +g.C.h4=function(N){N.startRendering(N.dE())}; +g.C.init=function(){var N=lQ(this.dE().clientMetadata,"metadata_type_player_bytes_layout_controls_callback_ref");N&&(N.current=this);if(this.yF.length<1)throw new S("Invalid sub layout rendering adapter length when scheduling composite layout.",{length:String(this.yF.length)});if(N=lQ(this.dE().clientMetadata,"metadata_type_ad_pod_skip_target_callback_ref"))N.current=this;N=g.K(this.yF);for(var H=N.next();!H.done;H=N.next())H=H.value,H.init(),oGv(this.HL,this.slot,H.dE()),W7h(this.HL,this.slot,H.dE()); +if(this.fG())for(this.ea.get().addListener(this),Z3S(F9h(this),this.ea.get()),N=F9h(this),N=g.K(N),H=N.next();!H.done;H=N.next())this.E6(H.value)}; +g.C.E6=function(N){var H=lQ(N.clientMetadata,"metadata_type_player_vars");H?(N.layoutType!=="LAYOUT_TYPE_MEDIA"&&KA("Non-video ad contains playerVars",this.slot,N),this.Nc.get().addPlayerResponseForAssociation({playerVars:H})):(N=$8w(N),this.Nc.get().addPlayerResponseForAssociation({Hg:N}))}; +g.C.release=function(){var N=lQ(this.dE().clientMetadata,"metadata_type_player_bytes_layout_controls_callback_ref");N&&(N.current=null);if(N=lQ(this.dE().clientMetadata,"metadata_type_ad_pod_skip_target_callback_ref"))N.current=null;N=g.K(this.yF);for(var H=N.next();!H.done;H=N.next())H=H.value,mB3(this.HL,this.slot,H.dE()),H.release();this.fG()&&(this.ea.get().removeListener(this),W5d())}; +g.C.mB=function(N){return N.layoutId!==this.dE().layoutId?(this.callback.An(this.y4(),N,new sz("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+this.dE().layoutId+("and LayoutType: "+this.dE().layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED"),!1):!0}; +g.C.UY=function(){this.k_.get().addListener(this);vT(this.Le(),this)}; +g.C.jj=function(N){if(N.state.isError()){var H,c;this.Rz((H=N.state.vN)==null?void 0:H.errorCode,new sz("There was a player error during this media layout.",{playerErrorCode:(c=N.state.vN)==null?void 0:c.errorCode},"ADS_CLIENT_ERROR_MESSAGE_PLAYER_ERROR"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED")}else(H=this.xl())&&H.jj(N)}; +g.C.fG=function(){var N=lQ(this.y4().clientMetadata,"metadata_type_eligible_for_ssap");return N===void 0?(KA("Expected SSAP eligibility in PlayerBytes slots",this.y4(),this.dE()),!1):this.Rx.get().fG(N)}; +g.C.Fy=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.aR=function(){}; +g.C.QQ=function(){}; +g.k(uE,P$);g.C=uE.prototype;g.C.W6=function(N,H,c){this.gZ(N,H,c)}; +g.C.hw=function(N,H){this.gZ(N,H,"error")}; +g.C.gZ=function(N,H,c){var t=this;WPl(this,N,H,c,function(){Vu(t,t.Y8()+1)})}; +g.C.startRendering=function(N){this.mB(N)&&(this.UY(),H3l(this.YO.get()),xEv(this.Rx.get())||fqv(this.k_.get()),this.Y8()===-1&&Vu(this,this.Y8()+1))}; +g.C.BH=function(N,H){var c=this;this.tE=!0;this.Y8()===this.yF.length?this.callback.Pr(this.slot,this.layout,H):(N=this.xl(),N.BH(N.dE(),H),this.FP=function(){c.callback.Pr(c.slot,c.layout,H)}); +this.k_.get().J.dW();yK(this.Nc.get(),{});N=F9(this.k_.get(),1);N.isPaused()&&!g.y(N,2)&&this.k_.get().playVideo();this.k_.get().removeListener(this);this.tE&&Z1R(this)}; +g.C.dK=function(){}; +g.C.jD=function(){}; +g.C.ij=function(){}; +g.k(UI,P$);g.C=UI.prototype;g.C.W6=function(N,H,c){N=Object.assign({},A3(this),{layoutId:H.layoutId,layoutExitReason:c});H=N.layoutId;c=N.layoutExitReason;var t={};r0(N.MP,"prse",(t.xc=H,t.ler=c,t.ctp=w0(H),t))}; +g.C.hw=function(){KA("onSubLayoutError in SSAP")}; +g.C.gZ=function(){KA("exitSubLayoutAndPlayNext in SSAP")}; +g.C.xl=function(){return this.PU}; +g.C.Y8=function(){var N=this;return this.yF.findIndex(function(H){var c;return H.dE().layoutId===((c=N.PU)==null?void 0:c.dE().layoutId)})}; +g.C.h4=function(N){bd(this.PU===void 0,"replacing another adapter");this.PU=N;N.startRendering(N.dE())}; +g.C.BK=function(N,H,c){Za(this.HL,N,H,c);var t;bd(H.layoutId===((t=this.PU)==null?void 0:t.dE().layoutId),"currentAdapter does not match exiting layout",{slot:N?"slot: "+N.slotType:"",subLayout:C5(H)})&&(this.PU=void 0)}; +g.C.release=function(){P$.prototype.release.call(this);bd(this.PU===void 0,"currentAdapter is still active during release");this.PU=void 0}; +g.C.P3=function(){return this.k_.get().getPresentingPlayerType()===2}; +g.C.BH=function(N,H){function c(){q6(this)&&(["normal","error","skipped","muted","user_input_submitted"].includes(H)||KA("Composite stopRendering: Unexpected layout exit reason",this.slot,N,{layoutExitReason:H}))} +function t(){if(this.PU){var O=this.PU;O.Oz().currentState<2&&O.BH(O.dE(),H);O=q6(this)&&H==="abandoned";this.P3()&&!O&&(c.call(this),this.ID.get().finishSegmentByCpn(this.PU.dE().layoutId,s7(this.ea.get(),1).clientPlaybackNonce,Cn(H,this.Rx)))}} +function h(){this.PU&&Y1(this,this.PU,H);if(this.P3()&&(!q6(this)||H!=="abandoned")){c.call(this);var O;var F=((O=this.ea.get().J.getVideoData())==null?void 0:O.clientPlaybackNonce)||"";O=s7(this.ea.get(),1).clientPlaybackNonce;this.ID.get().finishSegmentByCpn(F,O,Cn(H,this.Rx))}rfw(this,H)} +bd(N.layoutId===this.dE().layoutId,"StopRendering for wrong layout")&&$2S(this.lN.B,H)&&(this.wi()?h.call(this):t.call(this))}; +g.C.Pr=function(N,H,c){P$.prototype.Pr.call(this,N,H,c);H.layoutId===this.dE().layoutId&&this.k_.get().removeListener(this)}; +g.C.sG=function(){return s7(this.ea.get(),1).clientPlaybackNonce}; +g.C.dK=function(N,H,c){bGl(Object.assign({},A3(this),{cpn:N}));if(!q6(this)||c!==5)if(this.wi()){if(this.PU&&this.PU.dE().layoutId!==H){var t=this.PU.dE().layoutId;t!==N&&KA("onClipExited: mismatched exiting cpn",this.slot,void 0,{layoutId:t,exitingCpn:N,enteringCpn:H});N=P0(c,this.Rx);Y1(this,this.PU,N)}else this.PU&&KA("onClipExited: active layout is entering again");H===this.sG()&&VPh(this,c)}else{if(this.PU&&this.PU.dE().layoutId===N)K2h(this,this.PU,c);else{var h;KA("Exiting cpn does not match active cpn", +this.slot,(t=this.PU)==null?void 0:t.dE(),{exitingCpn:N,transitionReason:c,activeCpn:(h=this.PU)==null?void 0:h.dE().layoutId})}H===this.sG()&&(this.PU!==void 0&&(KA("active adapter is not properly exited",this.slot,this.layout,{activeLayout:C5(this.PU.dE())}),K2h(this,this.PU,c)),VPh(this,c),rfw(this,this.lN.B.T))}}; +g.C.wi=function(){return dy(this.Rx.get(),"html5_ssap_exit_without_waiting_for_transition")}; +g.C.startRendering=function(N){this.mB(N)&&(N=this.lN,bd(N.T===1,"tickStartRendering: state is not initial"),N.T=2,this.UY())}; +g.C.jD=function(N){Hu3(Object.assign({},A3(this),{cpn:N}));var H=this.yF.find(function(c){return c.dE().layoutId===N}); +H?(this.lN.T!==2&&(qsh(this.PH,this.slot.slotId),bd(this.lN.T===2,"Expect started"),this.callback.AF(this.slot,this.layout)),this.h4(H),Twf(this.HL,this.slot,H.dE())):VUD(this,N)}; +g.C.Pu=function(N,H){qRt(this,N,H);var c=this.xl();c?brZ(c,N,H)&&uEv(this,"skipped"):nz3(this,"onSkipRequested")}; +g.C.ML=function(N,H){var c;a:{if(c=this.xl()){if(S3d(this),KAf(c,N,H)&&(N=zil(this,c,N,H),N!==void 0)){c={Zy:c,pRq:this.yF[N]};break a}}else nz3(this,"SkipWithAdPodSkip");c=void 0}if(N=c)c=N.Zy,H=N.pRq,N=c.dE().layoutId,this.wi()?Y1(this,c,"skipped"):c.BH(c.dE(),"skipped"),c=H.dE().layoutId,this.ID.get().finishSegmentByCpn(N,c,Cn("skipped",this.Rx))}; +g.C.UW=function(){KA("Not used in html5_ssap_fix_layout_exit")}; +g.C.jj=function(N){var H;(H=this.xl())==null||H.jj(N)}; +g.C.Rz=function(){KA("Not used in html5_ssap_fix_layout_exit")}; +g.C.ij=function(N,H,c){var t;if(((t=this.xl())==null?void 0:t.dE().layoutId)!==H.layoutId)return void KA("requestToExitSubLayout: wrong layout");uEv(this,c)};g.k(x7s,g.L);g.C=x7s.prototype;g.C.y4=function(){return this.QR.y4()}; +g.C.dE=function(){return this.QR.dE()}; +g.C.init=function(){var N=lQ(this.dE().clientMetadata,"metadata_type_player_bytes_layout_controls_callback_ref");N&&(N.current=this);this.NI()}; +g.C.NI=function(){this.QR.init()}; +g.C.release=function(){var N=lQ(this.dE().clientMetadata,"metadata_type_player_bytes_layout_controls_callback_ref");N&&(N.current=null);this.jR()}; +g.C.jR=function(){this.QR.release()}; +g.C.wb=function(){this.QR.wb()}; +g.C.oE=function(){this.QR.oE()}; +g.C.Pu=function(N,H){KA("Unexpected onSkipRequested from PlayerBytesVodSingleLayoutRenderingAdapter. Skip should be handled by Triggers",this.y4(),this.dE(),{requestingSlot:N,requestingLayout:H})}; +g.C.startRendering=function(N){N.layoutId!==this.dE().layoutId?this.callback.An(this.y4(),N,new sz("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+this.dE().layoutId+("and LayoutType: "+this.dE().layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED"):(this.k_.get().addListener(this),vT(this.Le(),this),H3l(this.YO.get()),xEv(this.Rx.get())||fqv(this.k_.get()),this.QR.startRendering(N))}; +g.C.BH=function(N,H){this.tE=!0;this.QR.BH(N,H);this.k_.get().J.dW();yK(this.Nc.get(),{});N=F9(this.k_.get(),1);N.isPaused()&&!g.y(N,2)&&this.k_.get().playVideo();this.k_.get().removeListener(this);this.tE&&this.QR.Xe()}; +g.C.AF=function(N,H){this.QR.AF(N,H)}; +g.C.Pr=function(N,H,c){H.layoutId===this.dE().layoutId&&(this.tE=!1,hI(this.Le(),this));this.QR.Pr(N,H,c);H.layoutId===this.dE().layoutId&&MS(this.YO.get())}; +g.C.vR=function(N){this.QR.vR(N)}; +g.C.jj=function(N){if(N.state.isError()){var H,c;this.Rz((H=N.state.vN)==null?void 0:H.errorCode,new sz("There was a player error during this media layout.",{playerErrorCode:(c=N.state.vN)==null?void 0:c.errorCode},"ADS_CLIENT_ERROR_MESSAGE_PLAYER_ERROR"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED")}else this.QR.jj(N)}; +g.C.Rz=function(N,H,c){this.QR.Er(N,H,c)}; +g.C.onFullscreenToggled=function(N){this.QR.onFullscreenToggled(N)}; +g.C.pC=function(N){this.QR.pC(N)}; +g.C.UV=function(N){this.QR.UV(N)}; +g.C.onVolumeChange=function(){this.QR.onVolumeChange()}; +g.C.Fy=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.aR=function(){}; +g.C.QQ=function(){};g.C=Ux.prototype;g.C.y4=function(){return this.slot}; +g.C.dE=function(){return this.layout}; +g.C.init=function(){this.jg.get().addListener(this);this.k_.get().addListener(this);var N=lQ(this.layout.clientMetadata,"metadata_type_layout_enter_ms");var H=lQ(this.layout.clientMetadata,"metadata_type_layout_exit_ms");if(this.U){var c=this.jg.get().XW.slice(-1)[0];c!==void 0&&(N=c.startSecs*1E3,H=(c.startSecs+c.C6)*1E3)}this.Tt(N,H);var t;c=(t=this.ea.get().Ow)==null?void 0:t.clientPlaybackNonce;t=this.layout.z0.adClientDataEntry;a2(this.Pp.get(),{daiStateTrigger:{filledAdsDurationMs:H-N,contentCpn:c, +adClientData:t}});var h=this.jg.get();h=xgL(h.L,N,H);h!==null&&(a2(this.Pp.get(),{daiStateTrigger:{filledAdsDurationMs:h-N,contentCpn:c,cueDurationChange:"DAI_CUE_DURATION_CHANGE_SHORTER",adClientData:t}}),this.ID.get().Fa(h,H))}; +g.C.release=function(){this.jR();this.jg.get().removeListener(this);this.k_.get().removeListener(this)}; +g.C.startRendering=function(){this.iy();this.callback.AF(this.slot,this.layout)}; +g.C.BH=function(N,H){this.Fl(H);this.driftRecoveryMs!==null&&(ep(this,{driftRecoveryMs:this.driftRecoveryMs.toString(),breakDurationMs:Math.round(qgv(this)-lQ(this.layout.clientMetadata,"metadata_type_layout_enter_ms")).toString(),driftFromHeadMs:Math.round(this.k_.get().J.iq()*1E3).toString()}),this.driftRecoveryMs=null);this.callback.Pr(this.slot,this.layout,H)}; +g.C.Bb=function(){return!1}; +g.C.Gh=function(N){var H=lQ(this.layout.clientMetadata,"metadata_type_layout_enter_ms"),c=lQ(this.layout.clientMetadata,"metadata_type_layout_exit_ms");N*=1E3;if(H<=N&&N0&&$D(this.T(),H)}; +g.C.PN=function(N){this.S.delete(N.slotId);for(var H=[],c=g.K(this.tF.values()),t=c.next();!t.done;t=c.next()){t=t.value;var h=t.trigger;h instanceof Az&&h.triggeringSlotId===N.slotId&&H.push(t)}H.length>0&&$D(this.T(),H)}; +g.C.cN=function(N){for(var H=[],c=g.K(this.tF.values()),t=c.next();!t.done;t=c.next()){t=t.value;var h=t.trigger;h instanceof qG&&h.slotType===N.slotType&&h.T!==N.slotId&&H.push(t)}H.length>0&&$D(this.T(),H)}; +g.C.GU=function(N){this.L.add(N.slotId);for(var H=[],c=g.K(this.tF.values()),t=c.next();!t.done;t=c.next())t=t.value,t.trigger instanceof gX&&N.slotId===t.trigger.triggeringSlotId&&H.push(t);H.length>0&&$D(this.T(),H)}; +g.C.e7=function(N){this.L.delete(N.slotId);this.U.add(N.slotId);for(var H=[],c=g.K(this.tF.values()),t=c.next();!t.done;t=c.next())if(t=t.value,t.trigger instanceof rX)N.slotId===t.trigger.triggeringSlotId&&H.push(t);else if(t.trigger instanceof g$){var h=t.trigger;N.slotId===h.slotId&&this.B.has(h.triggeringLayoutId)&&H.push(t)}H.length>0&&$D(this.T(),H)}; +g.C.fC=function(N){for(var H=[],c=g.K(this.tF.values()),t=c.next();!t.done;t=c.next())t=t.value,t.trigger instanceof EJ&&N.slotId===t.trigger.triggeringSlotId&&H.push(t);H.length>0&&$D(this.T(),H)}; +g.C.gR=function(N){for(var H=[],c=g.K(this.tF.values()),t=c.next();!t.done;t=c.next())t=t.value,t.trigger instanceof IV&&N.slotId===t.trigger.triggeringSlotId&&H.push(t);H.length>0&&$D(this.T(),H)}; +g.C.BN=function(N,H){this.Y.add(H.layoutId)}; +g.C.Sj=function(N,H){this.Y.delete(H.layoutId)}; +g.C.AF=function(N,H){this.B.add(H.layoutId);for(var c=[],t=g.K(this.tF.values()),h=t.next();!h.done;h=t.next())if(h=h.value,h.trigger instanceof Os)H.layoutId===h.trigger.triggeringLayoutId&&c.push(h);else if(h.trigger instanceof YC){var O=h.trigger;N.slotType===O.slotType&&H.layoutType===O.layoutType&&H.layoutId!==O.T&&c.push(h)}else h.trigger instanceof g$&&(O=h.trigger,H.layoutId===O.triggeringLayoutId&&this.U.has(O.slotId)&&c.push(h));c.length>0&&$D(this.T(),c)}; +g.C.Pr=function(N,H,c){this.B.delete(H.layoutId);N=[];for(var t=g.K(this.tF.values()),h=t.next();!h.done;h=t.next())if(h=h.value,h.trigger instanceof uN&&H.layoutId===h.trigger.triggeringLayoutId&&N.push(h),h.trigger instanceof l8){var O=h.trigger;H.layoutId===O.triggeringLayoutId&&O.T.includes(c)&&N.push(h)}N.length>0&&$D(this.T(),N)}; +g.C.XO=function(){}; +g.C.yQ=function(){this.U.clear()}; +g.C.o9=function(){};g.k(m_,g.L);m_.prototype.ye=function(N,H,c,t){if(this.tF.has(H.triggerId))throw new S("Tried to register duplicate trigger for slot.");if(!(H instanceof wX))throw new S("Incorrect TriggerType: Tried to register trigger of type "+H.triggerType+" in CloseRequestedTriggerAdapter");this.tF.set(H.triggerId,new I8(N,H,c,t))}; +m_.prototype.Qe=function(N){this.tF.delete(N.triggerId)};g.k(kh,g.L);kh.prototype.ye=function(N,H,c,t){if(this.tF.has(H.triggerId))throw new S("Tried to register duplicate trigger for slot.");if(!(H instanceof LH||H instanceof mZ))throw new S("Incorrect TriggerType: Tried to register trigger of type "+H.triggerType+" in ContentPlaybackLifecycleTriggerAdapter");this.tF.set(H.triggerId,new I8(N,H,c,t))}; +kh.prototype.Qe=function(N){this.tF.delete(N.triggerId)}; +kh.prototype.yQ=function(N){for(var H=[],c=H.push,t=c.apply,h=[],O=g.K(this.tF.values()),F=O.next();!F.done;F=O.next())F=F.value,F.trigger instanceof LH&&F.trigger.oy===N&&h.push(F);t.call(c,H,g.HE(h));c=H.push;t=c.apply;h=[];O=g.K(this.tF.values());for(F=O.next();!F.done;F=O.next())F=F.value,F.trigger instanceof mZ&&F.trigger.T!==N&&h.push(F);t.call(c,H,g.HE(h));H.length&&$D(this.T(),H)}; +kh.prototype.o9=function(N){for(var H=[],c=H.push,t=c.apply,h=[],O=g.K(this.tF.values()),F=O.next();!F.done;F=O.next()){F=F.value;var M=F.trigger;M instanceof mZ&&M.T===N&&h.push(F)}t.call(c,H,g.HE(h));H.length&&$D(this.T(),H)};g.k(Ii,g.L);g.C=Ii.prototype;g.C.ye=function(N,H,c,t){if(this.tF.has(H.triggerId))throw new S("Tried to register duplicate trigger for slot.");var h="adtriggercuerange:"+H.triggerId;if(H instanceof fH)iIs(this,N,H,c,t,h,H.T.start,H.T.end,H.oy,H.visible);else if(H instanceof tf)iIs(this,N,H,c,t,h,0x7ffffffffffff,0x8000000000000,H.oy,H.visible);else throw new S("Incorrect TriggerType: Tried to register trigger of type "+H.triggerType+" in CueRangeTriggerAdapter");}; +g.C.Qe=function(N){var H=this.tF.get(N.triggerId);H&&this.kO.get().removeCueRange(H.cueRangeId);this.tF.delete(N.triggerId)}; +g.C.onCueRangeEnter=function(N){var H=DPd(this,N);if(H&&(H=this.tF.get(H)))if(g.y(F9(this.k_.get()),32))this.T.add(H.cueRangeId);else{var c=H==null?void 0:H.Sz.trigger;if(c instanceof fH||c instanceof tf){if(G$(this.context.Rx.get())){var t=H.Sz.slot,h=H.Sz.layout,O={};this.context.xA.EF("cre",(O.ca=H.Sz.category,O.tt=c.triggerType,O.st=t.slotType,O.lt=h==null?void 0:h.layoutType,O.cid=N,O))}$D(this.B(),[H.Sz])}}}; +g.C.onCueRangeExit=function(N){(N=DPd(this,N))&&(N=this.tF.get(N))&&this.T.delete(N.cueRangeId)}; +g.C.jj=function(N){if(hC(N,16)<0){N=g.K(this.T);for(var H=N.next();!H.done;H=N.next())this.onCueRangeEnter(H.value,!0);this.T.clear()}}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.AF=function(){}; +g.C.Pr=function(){}; +g.C.XO=function(){}; +g.C.vR=function(){}; +g.C.onFullscreenToggled=function(){}; +g.C.pC=function(){}; +g.C.Fy=function(){}; +g.C.UV=function(){}; +g.C.onVolumeChange=function(){}; +g.C.aR=function(){}; +g.C.QQ=function(){};g.k(b7,g.L);g.C=b7.prototype; +g.C.ye=function(N,H,c,t){if(this.B.has(H.triggerId)||this.L.has(H.triggerId))throw new S("Tried to re-register the trigger.");N=new I8(N,H,c,t);if(N.trigger instanceof jX)this.B.set(N.trigger.triggerId,N);else if(N.trigger instanceof GJ)this.L.set(N.trigger.triggerId,N);else throw new S("Incorrect TriggerType: Tried to register trigger of type "+N.trigger.triggerType+" in LiveStreamBreakTransitionTriggerAdapter");this.B.has(N.trigger.triggerId)&&N.slot.slotId===this.T&&$D(this.U(),[N])}; +g.C.Qe=function(N){this.B.delete(N.triggerId);this.L.delete(N.triggerId)}; +g.C.eX=function(N){N=N.slotId;if(this.T!==N){var H=[];this.T!=null&&H.push.apply(H,g.HE(z$D(this.L,this.T)));N!=null&&H.push.apply(H,g.HE(z$D(this.B,N)));this.T=N;H.length&&$D(this.U(),H)}}; +g.C.dK=function(){}; +g.C.jD=function(){};g.k(Hs,g.L);g.C=Hs.prototype;g.C.ye=function(N,H,c,t){if(this.tF.has(H.triggerId))throw new S("Tried to register duplicate trigger for slot.");if(!(H instanceof mR))throw new S("Incorrect TriggerType: Tried to register trigger of type "+H.triggerType+" in OnLayoutSelfRequestedTriggerAdapter");this.tF.set(H.triggerId,new I8(N,H,c,t))}; +g.C.Qe=function(N){this.tF.delete(N.triggerId)}; +g.C.AF=function(){}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){};g.k(jr,g.L);g.C=jr.prototype;g.C.XO=function(N,H){for(var c=[],t=g.K(this.tF.values()),h=t.next();!h.done;h=t.next()){h=h.value;var O=h.trigger;O.opportunityType===N&&(O.associatedSlotId&&O.associatedSlotId!==H||c.push(h))}c.length&&$D(this.T(),c)}; +g.C.ye=function(N,H,c,t){if(this.tF.has(H.triggerId))throw new S("Tried to register duplicate trigger for slot.");if(!(H instanceof myZ))throw new S("Incorrect TriggerType: Tried to register trigger of type "+H.triggerType+" in OpportunityEventTriggerAdapter");this.tF.set(H.triggerId,new I8(N,H,c,t))}; +g.C.Qe=function(N){this.tF.delete(N.triggerId)}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.AF=function(){}; +g.C.Pr=function(){};g.k(NC,g.L);g.C=NC.prototype;g.C.ye=function(N,H,c,t){N=new I8(N,H,c,t);if(H instanceof q4||H instanceof Xi||H instanceof oN||H instanceof Pmh||H instanceof iTw){if(this.tF.has(H.triggerId))throw new S("Tried to register duplicate trigger for slot.");this.tF.set(H.triggerId,N)}else throw new S("Incorrect TriggerType: Tried to register trigger of type "+H.triggerType+" in PrefetchTriggerAdapter");}; +g.C.Qe=function(N){this.tF.delete(N.triggerId)}; +g.C.d0=function(N){var H=N.slotFulfillmentTriggers.find(function(c){return c instanceof q4}); +H&&(VN(this,"TRIGGER_TYPE_NEW_SLOT_SCHEDULED_WITH_BREAK_DURATION",H.breakDurationMs,new Set([N.slotId]),!0),F6(this.Pp.get(),"ads_css","sid."+N.slotId+";bd."+H.breakDurationMs))}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.AF=function(){}; +g.C.Pr=function(){}; +g.C.XO=function(){}; +g.C.Bb=function(N){var H=this;if(!this.T)return F6(this.Pp.get(),"ads_nfi","a.pta"),!1;this.B&&this.B.stop();this.S&&g.lY(this.S);var c=zIf(this,N);if(!c){var t=y0e(this),h=this.C!==void 0&&Date.now()<=this.C+1E4;F6(this.Pp.get(),"ads_ncfs","cid."+N.identifier+";cd."+N.C6.toFixed(3)+";ccs."+h+";cfa."+this.U+";bdc."+t.length+";"+t.slice(0,6).map(function(O){return";bd."+O}).join("")); +return h?(Due(this.G6,this.T,N),!0):!1}(t=lQ(c.slot.clientMetadata,"metadata_type_triggering_cue_point"))?t.current=N:KA("Expected triggering cue point ref to be available",c.slot);(new g.kT(function(){var O=c.trigger,F=c.slot;VN(H,"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_MATCHED",O.breakDurationMs,new Set,!0);VN(H,"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_NOT_MATCHED",O.breakDurationMs,new Set,!1);for(var M=0,f=g.K(H.tF.values()),d=f.next();!d.done;d=f.next()){d=d.value;var W= +d.trigger;d.slot.slotId===F.slotId&&(H.tF.delete(W.triggerId),M++)}F6(H.Pp.get(),"ads_csf","sid."+F.slotId+";bd."+O.breakDurationMs+";dt."+M)},10)).start(); +return!0}; +g.C.Gh=function(){}; +g.C.yQ=function(N){var H=this;this.U=!1;this.C=Date.now();if(this.T&&this.T.contentCpn!==N)KA("Fetch instructions carried over from previous content video",void 0,void 0,{contentCpn:N,fetchInstructionsCpn:this.T.contentCpn}),A_(this);else{this.L=new g.kT(function(){if(H.U)delete H.L;else{var t=H.k_.get().getGetAdBreakContext(),h;if(Number(t==null?void 0:(h=t.livePlaybackPosition)==null?void 0:h.utcTimeMillis)>0)delete H.L,Gjd(H);else{var O;(O=H.L)==null||O.start()}}},200); +var c;(c=this.L)==null||c.start()}}; +g.C.o9=function(N){this.T&&this.T.contentCpn!==N&&KA("Expected content video of the current fetch instructions to end",void 0,void 0,{contentCpn:N,fetchInstructionsCpn:this.T.contentCpn},!0);A_(this)}; +g.C.DS=function(N){var H=this;if(this.T)KA("Unexpected multiple fetch instructions for the current content");else{this.T=N;N=O1S(N);this.B=new g.kT(function(){Gjd(H)},N?N:6E5); +this.B.start();this.S=new g.kT(function(){H.T&&(H.B&&(H.B.stop(),H.B.start()),Bny(H,"TRIGGER_TYPE_CUE_BREAK_IDENTIFIED"))},h0L(this.T)); +N=this.k_.get().getCurrentTimeSec(1,!1);for(var c=g.K(this.jg.get().XW),t=c.next();!t.done;t=c.next())t=t.value,F6(this.Pp.get(),"nocache","ct."+Date.now()+";cmt."+N+";d."+t.C6.toFixed(3)+";tw."+(t.startSecs-N)+";cid."+t.identifier+";")}}; +g.C.Os=function(){g.L.prototype.Os.call(this);A_(this)};g.k(w8,g.L);g.C=w8.prototype;g.C.ye=function(N,H,c,t){if(this.tF.has(H.triggerId))throw new S("Tried to register duplicate trigger for slot.");if(!(H instanceof Ev))throw new S("Incorrect TriggerType: Tried to register trigger of type "+H.triggerType+" in TimeRelativeToLayoutEnterTriggerAdapter");this.tF.set(H.triggerId,new I8(N,H,c,t));N=this.T.has(H.triggeringLayoutId)?this.T.get(H.triggeringLayoutId):new Set;N.add(H);this.T.set(H.triggeringLayoutId,N)}; +g.C.Qe=function(N){this.tF.delete(N.triggerId);if(!(N instanceof Ev))throw new S("Incorrect TriggerType: Tried to unregister trigger of type "+N.triggerType+" in TimeRelativeToLayoutEnterTriggerAdapter");var H=this.B.get(N.triggerId);H&&(H.dispose(),this.B.delete(N.triggerId));if(H=this.T.get(N.triggeringLayoutId))H.delete(N),H.size===0&&this.T.delete(N.triggeringLayoutId)}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.AF=function(N,H){var c=this;if(this.T.has(H.layoutId)){N=this.T.get(H.layoutId);N=g.K(N);var t=N.next();for(H={};!t.done;H={YC:void 0},t=N.next())H.YC=t.value,t=new g.kT(function(h){return function(){var O=c.tF.get(h.YC.triggerId);$D(c.L(),[O])}}(H),H.YC.durationMs),t.start(),this.B.set(H.YC.triggerId,t)}}; +g.C.Pr=function(){};g.k(iS,g.L);iS.prototype.ye=function(N,H,c,t){if(this.tF.has(H.triggerId))throw new S("Tried to register duplicate trigger for slot.");if(!(H instanceof Hc))throw new S("Incorrect TriggerType: Tried to register trigger of type "+H.triggerType+" in VideoTransitionTriggerAdapter.");this.tF.set(H.triggerId,new I8(N,H,c,t))}; +iS.prototype.Qe=function(N){this.tF.delete(N.triggerId)};qV.prototype.w2=function(N){return N.kind==="AD_PLACEMENT_KIND_START"};g.k(sS,g.L);g.C=sS.prototype;g.C.logEvent=function(N){this.bJ(N)}; +g.C.SE=function(N,H,c){this.bJ(N,void 0,void 0,void 0,H,void 0,void 0,void 0,H.adSlotLoggingData,void 0,void 0,c)}; +g.C.A3=function(N,H,c,t){this.bJ(N,void 0,void 0,void 0,H,c?c:void 0,void 0,void 0,H.adSlotLoggingData,c?c.adLayoutLoggingData:void 0,void 0,t);H=nM().resolve(new Sp(Pq))==null?void 0:Iq();N=H==null?void 0:H.adsSeenHotConfig;H=H==null?void 0:H.adsHotConfig;(N==null?0:N.logOnAdsSeen)&&(H==null?0:H.webEnablePremiumAdsSeenLogging)&&fxe(this,c?c:void 0,t)}; +g.C.DW=function(N,H,c,t){dy(this.Rx.get(),"h5_enable_pacf_debug_logs")&&console.log("[PACF]: "+N,"trigger:",c,"slot:",H,"layout:",t);hF(this.T.get())&&this.bJ(N,void 0,void 0,void 0,H,t?t:void 0,void 0,c,H.adSlotLoggingData,t?t.adLayoutLoggingData:void 0)}; +g.C.Gi=function(N,H,c,t,h){this.bJ(N,H,c,t,void 0,void 0,void 0,void 0,void 0,void 0,void 0,h)}; +g.C.Dz=function(N,H,c,t){this.bJ("ADS_CLIENT_EVENT_TYPE_ERROR",void 0,void 0,void 0,c,t,void 0,void 0,c.adSlotLoggingData,t?t.adLayoutLoggingData:void 0,{errorType:N,errorMessage:H})}; +g.C.bJ=function(N,H,c,t,h,O,F,M,f,d,W,z){var E=this;z=z===void 0?0:z;dy(this.Rx.get(),"h5_enable_pacf_debug_logs")&&console.log("[PACF]: "+N,"slot:",h,"layout:",O,"ping:",F,"Opportunity:",{opportunityType:H,associatedSlotId:c,duo:t,q0W:M,adSlotLoggingData:f,adLayoutLoggingData:d});try{var x=function(){if(!E.Rx.get().J.D().N("html5_disable_client_tmp_logs")&&N!=="ADS_CLIENT_EVENT_TYPE_UNSPECIFIED"){N||KA("Empty PACF event type",h,O);var q=hF(E.T.get()),r={eventType:N,eventOrder:++E.eventCount},w={}; +h&&(w.slotData=jD(q,h));O&&(w.layoutData=NdD(q,O));F&&(w.pingData={pingDispatchStatus:"ADS_CLIENT_PING_DISPATCH_STATUS_SUCCESS",serializedAdPingMetadata:F.T.serializedAdPingMetadata,pingIndex:F.index});M&&(w.triggerData=TI(M.trigger,M.category));H&&(w.opportunityData=wmt(q,H,c,t));q={organicPlaybackContext:{contentCpn:s7(E.ea.get(),1).clientPlaybackNonce}};q.organicPlaybackContext.isLivePlayback=s7(E.ea.get(),1).K4;var n;q.organicPlaybackContext.isMdxPlayback=(n=s7(E.ea.get(),1))==null?void 0:n.isMdxPlayback; +var p;if((p=s7(E.ea.get(),1))==null?0:p.daiEnabled)q.organicPlaybackContext.isDaiContent=!0;var U;if(n=(U=s7(E.ea.get(),2))==null?void 0:U.clientPlaybackNonce)q.adVideoPlaybackContext={adVideoCpn:n};q&&(w.externalContext=q);r.adClientData=w;f&&(r.serializedSlotAdServingData=f.serializedSlotAdServingDataEntry);d&&(r.serializedAdServingData=d.serializedAdServingDataEntry);W&&(r.errorInfo=W);g.uF("adsClientStateChange",{adsClientEvent:r})}}; +z&&z>0?g.ii(g.S6(),function(){return x()},z):x()}catch(q){dy(this.Rx.get(),"html5_log_pacf_logging_errors")&&g.ii(g.S6(),function(){KA(q instanceof Error?q:String(q),h,O,{pacf_message:"exception during pacf logging"})})}};var wWd=new Set("ADS_CLIENT_EVENT_TYPE_LAYOUT_ENTERED ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_NORMALLY ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_SKIP ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_ABANDON ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_MUTE ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_USER_INPUT_SUBMITTED ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_ABORTED".split(" "));g.k(BE,sS);g.C=BE.prototype; +g.C.SE=function(N,H,c){sS.prototype.SE.call(this,N,H,c);G$(this.Rx.get())&&(c={},this.context.xA.EF("pacf",(c.et=N,c.st=H.slotType,c.si=H.slotId,c)))}; +g.C.A3=function(N,H,c,t){var h=wWd.has(N);sS.prototype.A3.call(this,N,H,c,t);G$(this.Rx.get(),h)&&(t={},this.context.xA.EF("pacf",(t.et=N,t.st=H.slotType,t.si=H.slotId,t.lt=c==null?void 0:c.layoutType,t.li=c==null?void 0:c.layoutId,t.p_ac=c==null?void 0:c.layoutId,t)))}; +g.C.Gi=function(N,H,c,t,h){sS.prototype.Gi.call(this,N,H,c,t,h);G$(this.Rx.get())&&(c={},this.context.xA.EF("pacf",(c.et=N,c.ot=H,c.ss=t==null?void 0:t.length,c)))}; +g.C.DW=function(N,H,c,t){sS.prototype.DW.call(this,N,H,c,t);if(G$(this.Rx.get())){var h={};this.context.xA.EF("pacf",(h.et=N,h.tt=c.trigger.triggerType,h.tc=c.category,h.st=H.slotType,h.si=H.slotId,h.lt=t==null?void 0:t.layoutType,h.li=t==null?void 0:t.layoutId,h.p_ac=t==null?void 0:t.layoutId,h))}}; +g.C.Dz=function(N,H,c,t){sS.prototype.Dz.call(this,N,H,c,t);if(G$(this.Rx.get(),!0)){var h={};this.context.xA.EF("perror",(h.ert=N,h.erm=H,h.st=c.slotType,h.si=c.slotId,h.lt=t==null?void 0:t.layoutType,h.li=t==null?void 0:t.layoutId,h.p_ac=t==null?void 0:t.layoutId,h))}}; +g.C.bJ=function(N,H,c,t,h,O,F,M,f,d,W){var z=this.Rx.get();g.Iy(z.J.D())?(z=this.Rx.get(),z=g.Mx(z.J.D().experiments,"H5_async_logging_delay_ms")):z=void 0;sS.prototype.bJ.call(this,N,H,c,t,h,O,F,M,f,d,W,z)};C$.prototype.clear=function(){this.T.clear()};R3.prototype.state=function(){return this.T==="fulfilled"?{state:"fulfilled",value:this.result}:this.T==="rejected"?{state:"rejected",reason:this.error}:{state:"pending"}}; +R3.prototype.U=function(N){DZ(N)||wH(N)?pq(QA(N),this.U.bind(this),this.reject.bind(this)):(this.T="fulfilled",this.result=N,yQd(this))}; +R3.prototype.reject=function(N){this.T="rejected";this.error=N;yQd(this)}; +var wH=Kz(function(N){return Axh(N)?N instanceof R3:!1});var P6=window.LDp||"en";kv.prototype.Ll=function(N){this.client=N}; +kv.prototype.T=function(){this.clear();this.csn=g.gi()}; +kv.prototype.clear=function(){this.L.clear();this.B.clear();this.U.clear();this.csn=null};A4.prototype.Ll=function(N){g.Lu(fy().Ll).bind(fy())(N)}; +A4.prototype.clear=function(){g.Lu(fy().clear).bind(fy())()};g.C=II.prototype;g.C.Ll=function(N){this.client=N}; +g.C.dn=function(N,H){var c=this;H=H===void 0?{}:H;g.Lu(function(){var t,h,O,F=((t=g.P(N==null?void 0:N.commandMetadata,g.lz))==null?void 0:t.rootVe)||((h=g.P(N==null?void 0:N.commandMetadata,RZc))==null?void 0:(O=h.screenVisualElement)==null?void 0:O.uiType);if(F){t=g.P(N==null?void 0:N.commandMetadata,fld);if(t==null?0:t.parentTrackingParams){var M=g.bg(t.parentTrackingParams);if(t.parentCsn)var f=t.parentCsn}else H.clickedVisualElement?M=H.clickedVisualElement:N.clickTrackingParams&&(M=g.bg(N.clickTrackingParams)); +a:{t=g.P(N,g.DS);h=g.P(N,$5R);if(t){if(h=Xbe(t,"VIDEO")){t={token:h,videoId:t.videoId};break a}}else if(h&&(t=Xbe(h,"PLAYLIST"))){t={token:t,playlistId:h.playlistId};break a}t=void 0}H=Object.assign({},{cttAuthInfo:t,parentCsn:f},H);if(g.sf("expectation_logging")){var d;H.loggingExpectations=((d=g.P(N==null?void 0:N.commandMetadata,RZc))==null?void 0:d.loggingExpectations)||void 0}R9(c,F,M,H)}else g.aS(new g.ti("Error: Trying to create a new screen without a rootVeType",N))})()}; +g.C.clickCommand=function(N,H,c){N=N.clickTrackingParams;c=c===void 0?0:c;N?(c=g.gi(c===void 0?0:c))?(Cf(this.client,c,g.bg(N),H),H=!0):H=!1:H=!1;return H}; +g.C.stateChanged=function(N,H,c){this.visualElementStateChanged(g.bg(N),H,c===void 0?0:c)}; +g.C.visualElementStateChanged=function(N,H,c){c=c===void 0?0:c;c===0&&this.B.has(c)?this.Z.push([N,H]):gNt(this,N,H,c)};Zz.prototype.fetch=function(N,H,c){var t=this,h=qOf(N,H,c);return new Promise(function(O,F){function M(){if(c==null?0:c.o$)try{var d=t.handleResponse(N,h.status,h.response,c);O(d)}catch(W){F(W)}else O(t.handleResponse(N,h.status,h.response,c))} +h.onerror=M;h.onload=M;var f;h.send((f=H.body)!=null?f:null)})}; +Zz.prototype.handleResponse=function(N,H,c,t){c=c.replace(")]}'","");try{var h=JSON.parse(c)}catch(O){g.aS(new g.ti("JSON parsing failed after XHR fetch",N,H,c));if((t==null?0:t.o$)&&c)throw new g.Zm(1,"JSON parsing failed after XHR fetch");h={}}H!==200&&(g.aS(new g.ti("XHR API fetch failed",N,H,c)),h=Object.assign({},h,{errorMetadata:{status:H}}));return h};v0.getInstance=function(){var N=g.NA("ytglobal.storage_");N||(N=new v0,g.Hw("ytglobal.storage_",N));return N}; +v0.prototype.estimate=function(){var N,H,c;return g.Y(function(t){N=navigator;return((H=N.storage)==null?0:H.estimate)?t.return(N.storage.estimate()):((c=N.webkitTemporaryStorage)==null?0:c.queryUsageAndQuota)?t.return(v7h()):t.return()})}; +g.Hw("ytglobal.storageClass_",v0);KN.prototype.vZ=function(N){this.handleError(N)}; +KN.prototype.logEvent=function(N,H){switch(N){case "IDB_DATA_CORRUPTED":g.sf("idb_data_corrupted_killswitch")||this.T("idbDataCorrupted",H);break;case "IDB_UNEXPECTEDLY_CLOSED":this.T("idbUnexpectedlyClosed",H);break;case "IS_SUPPORTED_COMPLETED":g.sf("idb_is_supported_completed_killswitch")||this.T("idbIsSupportedCompleted",H);break;case "QUOTA_EXCEEDED":N6v(this,H);break;case "TRANSACTION_ENDED":this.L&&Math.random()<=.1&&this.T("idbTransactionEnded",H);break;case "TRANSACTION_UNEXPECTEDLY_ABORTED":N= +Object.assign({},H,{hasWindowUnloaded:this.B}),this.T("idbTransactionAborted",N)}};var yU={},tEw=g.t4("yt-player-local-media",{xu:(yU.index={nm:2},yU.media={nm:2},yU.captions={nm:5},yU),shared:!1,upgrade:function(N,H){H(2)&&(g.M6(N,"index"),g.M6(N,"media"));H(5)&&g.M6(N,"captions");H(6)&&(oh(N,"metadata"),oh(N,"playerdata"))}, +version:5});var DkZ={cupcake:1.5,donut:1.6,eclair:2,froyo:2.2,gingerbread:2.3,honeycomb:3,"ice cream sandwich":4,jellybean:4.1,kitkat:4.4,lollipop:5.1,marshmallow:6,nougat:7.1},Gt;a:{var RR=g.tA();RR=RR.toLowerCase();if(g.ri(RR,"android")){var Q_l=RR.match(/android\s*(\d+(\.\d+)?)[^;|)]*[;)]/);if(Q_l){var pW4=parseFloat(Q_l[1]);if(pW4<100){Gt=pW4;break a}}var uGx=RR.match("("+Object.keys(DkZ).join("|")+")");Gt=uGx?DkZ[uGx[0]]:0}else Gt=void 0}var Mh=Gt,wg=Mh>=0;var tWv=lH(function(){var N,H;return(H=(N=window).matchMedia)==null?void 0:H.call(N,"(prefers-reduced-motion: reduce)").matches});var lK;g.jv=new Qn;lK=0;var km=FZd()?!0:typeof window.fetch==="function"&&window.ReadableStream&&window.AbortController&&!g.BY?!0:!1;var N_={pX:function(N,H){N[T[22]](0,H)}, +hf:function(N){N[T[32]]()}, +IJ:function(N,H){var c=N[0];N[0]=N[H%N[T[2]]];N[H%N[T[2]]]=c}};var uvZ={bFS:"adunit",myi:"detailpage",Cqg:"editpage",Kcg:"embedded",Obf:"leanback",kvi:"previewpage",p0W:"profilepage",gS:"unplugged",Ijl:"playlistoverview",Kd_:"sponsorshipsoffer",kZS:"shortspage",leR:"handlesclaiming",Yaa:"immersivelivepage",lzW:"creatormusic",C1p:"immersivelivepreviewpage",eex:"admintoolyurt",JVs:"shortsaudiopivot",BqE:"consumption",Pwo:"background_audio_playback"};var t3l=2592E3;var oR,J8d,Rc;oR={};g.Jk=(oR.STOP_EVENT_PROPAGATION="html5-stop-propagation",oR.IV_DRAWER_ENABLED="ytp-iv-drawer-enabled",oR.IV_DRAWER_OPEN="ytp-iv-drawer-open",oR.MAIN_VIDEO="html5-main-video",oR.VIDEO_CONTAINER="html5-video-container",oR.VIDEO_CONTAINER_TRANSITIONING="html5-video-container-transitioning",oR.HOUSE_BRAND="house-brand",oR);J8d={};Rc=(J8d.RIGHT_CONTROLS_LEFT="ytp-right-controls-left",J8d.RIGHT_CONTROLS_RIGHT="ytp-right-controls-right",J8d);var q8l={allowed:"AUTOPLAY_BROWSER_POLICY_ALLOWED","allowed-muted":"AUTOPLAY_BROWSER_POLICY_ALLOWED_MUTED",disallowed:"AUTOPLAY_BROWSER_POLICY_DISALLOWED"};var NfS={ANDROID:3,ANDROID_KIDS:18,ANDROID_MUSIC:21,ANDROID_UNPLUGGED:29,WEB:1,WEB_REMIX:67,WEB_UNPLUGGED:41,IOS:5,IOS_KIDS:19,IOS_MUSIC:26,IOS_UNPLUGGED:33},c1l={android:"ANDROID","android.k":"ANDROID_KIDS","android.m":"ANDROID_MUSIC","android.up":"ANDROID_UNPLUGGED",youtube:"WEB","youtube.m":"WEB_REMIX","youtube.up":"WEB_UNPLUGGED",ytios:"IOS","ytios.k":"IOS_KIDS","ytios.m":"IOS_MUSIC","ytios.up":"IOS_UNPLUGGED"},wOL={"mdx-pair":1,"mdx-dial":2,"mdx-cast":3,"mdx-voice":4,"mdx-inappdial":5};var axR={DISABLED:1,ENABLED:2,PAUSED:3,1:"DISABLED",2:"ENABLED",3:"PAUSED"};g.Ft[T[47]][T[1]]=function(N,H){this[T[6]][N]!==H&&(this[T[6]][N]=H,this[T[27]]=T[16])}; +g.Ft[T[47]][T[10]]=function(N){Ui(2,this);return this[T[6]][N]||null}; +g.Ft[T[47]][T[29]]=function(){this[T[27]]||(this[T[27]]=fN(48,this));return this[T[27]]}; +g.Ft[T[47]][T[21]]=function(){var N=new g.Ft(this[T[14]],this[T[24]]);N[T[7]]=this[T[7]];N[T[5]]=this[T[5]];N[T[17]]=this[T[17]];N[T[6]]=g.dP(this[T[6]]);N[T[27]]=this[T[27]];return N}; +var Q8w=[Zzf];g.Pi.prototype.getLanguageInfo=function(){return this.X3}; +g.Pi.prototype.getXtags=function(){if(!this.xtags){var N=this.id.split(";");N.length>1&&(this.xtags=N[1])}return this.xtags}; +g.Pi.prototype.toString=function(){return this.X3.name}; +g.Pi.prototype.getLanguageInfo=g.Pi.prototype.getLanguageInfo;jw.prototype.equals=function(N){return this.B===N.B&&this.T===N.T&&this.L===N.L&&this.reason===N.reason&&(!Mw||this.OF===N.OF)}; +jw.prototype.isLocked=function(){return this.L&&!!this.B&&this.B===this.T}; +jw.prototype.compose=function(N){if(N.L&&dd(N))return wv;if(N.L||dd(this))return N;if(this.L||dd(N))return this;var H=this.B&&N.B?Math.max(this.B,N.B):this.B||N.B,c=this.T&&N.T?Math.min(this.T,N.T):this.T||N.T;H=Math.min(H,c);var t=0;Mw&&(t=this.OF!==0&&N.OF!==0?Math.min(this.OF,N.OF):this.OF===0?N.OF:this.OF);return Mw&&H===this.B&&c===this.T&&t===this.OF||!Mw&&H===this.B&&c===this.T?this:Mw?new jw(H,c,!1,c===this.T&&t===this.OF?this.reason:N.reason,t):new jw(H,c,!1,c===this.T?this.reason:N.reason)}; +jw.prototype.U=function(N){return!N.video||Mw&&this.OF!==0&&this.OF=0}; +g.C.I$=function(){var N=this.segments[this.segments.length-1];return N?N.endTime:NaN}; +g.C.T7=function(){return this.segments[0].startTime}; +g.C.Vb=function(){return this.segments.length}; +g.C.Tn=function(){return 0}; +g.C.b$=function(N){return(N=this.Iv(N))?N.Y_:-1}; +g.C.Q8=function(N){return(N=this.BL(N))?N.sourceURL:""}; +g.C.getStartTime=function(N){return(N=this.BL(N))?N.startTime:0}; +g.C.ES=function(N){return this.getStartTime(N)+this.getDuration(N)}; +g.C.w8=h3(1);g.C.isLoaded=function(){return this.segments.length>0}; +g.C.BL=function(N){if(this.T&&this.T.Y_===N)return this.T;N=g.Kv(this.segments,new YB(N,0,0,0,""),function(H,c){return H.Y_-c.Y_}); +return this.T=N>=0?this.segments[N]:null}; +g.C.Iv=function(N){if(this.T&&this.T.startTime<=N&&N=0?this.segments[N]:this.segments[Math.max(0,-N-2)]}; +g.C.append=function(N){if(N.length)if(N=g.bX(N),this.segments.length){var H=this.segments.length?g.vU(this.segments).endTime:0,c=N[0].Y_-this.Ff();c>1&&ETR(this.segments);for(c=c>0?0:-c+1;cN.Y_&&this.index.lW()<=N.Y_+1}; +g.C.update=function(N,H,c){this.index.append(N);wFL(this.index,c);N=this.index;N.B=H;N.L="update"}; +g.C.g0=function(){return this.RL()?!0:H_.prototype.g0.call(this)}; +g.C.HM=function(N,H){var c=this.index.Q8(N),t=this.index.getStartTime(N),h=this.index.getDuration(N),O;H?h=O=0:O=this.info.OF>0?this.info.OF*h:1E3;return new vx([new J9(3,this,void 0,"liveCreateRequestInfoForSegment",N,t,h,0,O,!H)],c)}; +g.C.fV=function(){return this.RL()?0:this.initRange.length}; +g.C.tR=function(){return!1};xp.prototype.update=function(N){var H=void 0;this.B&&(H=this.B);var c=new xp,t=Array.from(N.getElementsByTagName("S"));if(t.length){var h=+PD(N,"timescale")||1,O=(+t[0].getAttribute("t")||0)/h,F=+PD(N,"startNumber")||0;c.U=O;var M=H?H.startSecs+H.C6:0,f=Date.parse(b9y(PD(N,"yt:segmentIngestTime")))/1E3;c.S=N.parentElement.tagName==="SegmentTemplate";c.S&&(c.C=PD(N,"media"));N=H?F-H.Y_:1;c.Y=N>0?0:-N+1;N=g.K(t);for(t=N.next();!t.done;t=N.next()){t=t.value;for(var d=+t.getAttribute("d")/h,W=(+t.getAttribute("yt:sid")|| +0)/h,z=+t.getAttribute("r")||0,E=0;E<=z;E++)if(H&&F<=H.Y_)F++;else{var x=new m6v(F,M,d,f+W,O);c.T.push(x);var q=t;var r=h,w=x.startSecs;x=q.getAttribute("yt:cuepointTimeOffset");var n=q.getAttribute("yt:cuepointDuration");if(x&&n){x=Number(x);w=-x/r+w;r=Number(n)/r;n=q.getAttribute("yt:cuepointContext")||null;var p=q.getAttribute("yt:cuepointIdentifier")||"";q=q.getAttribute("yt:cuepointEvent")||"";q=new Ni(w,r,n,p,SC7[q]||"unknown",x)}else q=null;q&&c.L.push(q);F++;M+=d;O+=d;f+=d+W}}c.T.length&& +(c.B=g.vU(c.T))}this.Y=c.Y;this.B=c.B||this.B;g.N9(this.T,c.T);g.N9(this.L,c.L);this.S=c.S;this.C=c.C;this.U===-1&&(this.U=c.getStreamTimeOffset())}; +xp.prototype.getStreamTimeOffset=function(){return this.U===-1?0:this.U};g.k(lE,g.zU);g.C=lE.prototype;g.C.g$=function(){return this.ul}; +g.C.rA=function(N,H){N=mu(this,N);return N>=0&&(H||!this.segments[N].pending)}; +g.C.lW=function(){return this.Q5?this.segments.length?this.Iv(this.T7()).Y_:-1:g.zU.prototype.lW.call(this)}; +g.C.T7=function(){if(this.K6)return 0;if(!this.Q5)return g.zU.prototype.T7.call(this);if(!this.segments.length)return 0;var N=Math.max(g.vU(this.segments).endTime-this.O9,0);return this.rk>0&&this.Iv(N).Y_0)return this.hZ/1E3;if(!this.segments.length)return g.zU.prototype.I$.call(this);var N=this.Ff();if(!this.Q5||N<=this.segments[this.segments.length-1].Y_)N=this.segments[this.segments.length-1];else{var H=this.segments[this.segments.length-1];N=new YB(N,Math.max(0,H.startTime-(H.Y_-N)*this.ul),this.ul,0,"sq/"+N,void 0,void 0,!0)}return this.K6?Math.min(this.O9,N.endTime):N.endTime}; +g.C.Vb=function(){return this.Q5?this.segments.length?this.Ff()-this.lW()+1:0:g.zU.prototype.Vb.call(this)}; +g.C.Ff=function(){var N=Math.min(this.Em,Math.max(g.zU.prototype.Ff.call(this),this.X_)),H=this.O9*1E3;H=this.hZ>0&&this.hZ0&&this.X_>0&&!H&&(H=this.Iv(this.O9))&&(N=Math.min(H.Y_-1,N));return N}; +g.C.NZ=function(){return this.segments.length?this.segments[this.segments.length-1]:null}; +g.C.VH=function(N){var H=mu(this,N.Y_);if(H>=0)this.segments[H]=N;else if(this.segments.splice(-(H+1),0,N),this.fU&&N.Y_%(300/this.ul)===0){var c=this.segments[0].Y_,t=Math.floor(this.fU/this.ul);N=N.Y_-t;H=-(H+1)-t;H>0&&N>c&&(this.segments=this.segments.slice(H))}}; +g.C.lm=function(){return this.X_}; +g.C.wK=function(N){return sJe?!this.B&&N>=0&&this.Ff()<=N:g.zU.prototype.wK.call(this,N)}; +g.C.Iv=function(N){if(!this.Q5)return g.zU.prototype.Iv.call(this,N);if(!this.segments.length)return null;var H=this.segments[this.segments.length-1];if(N=H.endTime)H=H.Y_+Math.floor((N-H.endTime)/this.ul+1);else{H=xt(this.segments,function(t){return N=t.endTime?1:0}); +if(H>=0)return this.segments[H];var c=-(H+1);H=this.segments[c-1];c=this.segments[c];H=Math.floor((N-H.endTime)/((c.startTime-H.endTime)/(c.Y_-H.Y_-1))+1)+H.Y_}return this.BL(H)}; +g.C.BL=function(N){if(!this.Q5)return g.zU.prototype.BL.call(this,N);if(!this.segments.length)return null;var H=mu(this,N);if(H>=0)return this.segments[H];var c=-(H+1);H=this.ul;if(c===0)var t=Math.max(0,this.segments[0].startTime-(this.segments[0].Y_-N)*H);else c===this.segments.length?(t=this.segments[this.segments.length-1],t=t.endTime+(N-t.Y_-1)*H):(t=this.segments[c-1],H=this.segments[c],H=(H.startTime-t.endTime)/(H.Y_-t.Y_-1),t=t.endTime+(N-t.Y_-1)*H);return new YB(N,t,H,0,"sq/"+N,void 0,void 0, +!0)}; +var sJe=!1;g.k(HI,Cp);g.C=HI.prototype;g.C.Ux=function(){return!0}; +g.C.g0=function(){return!0}; +g.C.j4=function(N){return this.zm()&&N.B&&!N.L||!N.mR.index.wK(N.Y_)}; +g.C.cJ=function(){}; +g.C.DQ=function(N,H){return typeof N!=="number"||isFinite(N)?Cp.prototype.DQ.call(this,N,H===void 0?!1:H):new vx([new J9(3,this,void 0,"mlLiveGetReqInfoStubForTime",-1,void 0,this.JJ,void 0,this.JJ*this.info.OF)],"")}; +g.C.HM=function(N,H){var c=c===void 0?!1:c;if(this.index.rA(N))return Cp.prototype.HM.call(this,N,H);var t=this.index.getStartTime(N),h=Math.round(this.JJ*this.info.OF),O=this.JJ;H&&(O=h=0);return new vx([new J9(c?6:3,this,void 0,"mlLiveCreateReqInfoForSeg",N,t,O,void 0,h,!H)],N>=0?"sq/"+N:"")};g.k(i0,H_);g.C=i0.prototype;g.C.Oa=function(){return!1}; +g.C.zm=function(){return!1}; +g.C.Ux=function(){return!1}; +g.C.cJ=function(){return new vx([new J9(1,this,void 0,"otfInit")],this.S)}; +g.C.V3=function(){return null}; +g.C.K3=function(N){this.j4(N);return KPv(this,Lv(N),!1)}; +g.C.DQ=function(N,H){H=H===void 0?!1:H;N=this.index.b$(N);H&&(N=Math.min(this.index.Ff(),N+1));return KPv(this,N,!0)}; +g.C.F8=function(N){N.info.type===1&&(this.T||(this.T=Qy(N.B)),N.T&&N.T.uri==="http://youtube.com/streaming/otf/durations/112015"&&LNl(this,N.T))}; +g.C.j4=function(N){return N.B===0?!0:this.index.Ff()>N.Y_&&this.index.lW()<=N.Y_+1}; +g.C.fV=function(){return 0}; +g.C.tR=function(){return!1};var pty=new Map,nFD=new Map,ull=new function(){var N=this;this.T=new Map;this.Br={lQg:function(){return N.T}}};g.C=g.fFf.prototype;g.C.rA=function(N){return N<=this.Ff()}; +g.C.Tn=function(N){return this.offsets[N]}; +g.C.getStartTime=function(N){return this.startTicks[N]/this.T}; +g.C.ES=function(N){return this.getStartTime(N)+this.getDuration(N)}; +g.C.w8=h3(0);g.C.kH=function(){return NaN}; +g.C.getDuration=function(N){N=this.z1(N);return N>=0?N/this.T:-1}; +g.C.z1=function(N){return N+1=0}; +g.C.I$=function(){return this.B?this.startTicks[this.count]/this.T:NaN}; +g.C.T7=function(){return 0}; +g.C.Vb=function(){return this.count}; +g.C.Q8=function(){return""}; +g.C.b$=function(N){N=g.Kv(this.startTicks.subarray(0,this.count),N*this.T);return N>=0?N:Math.max(0,-N-2)}; +g.C.isLoaded=function(){return this.Ff()>=0}; +g.C.F4=function(N,H){if(N>=this.Ff())return 0;var c=0;for(H=this.getStartTime(N)+H;Nthis.getStartTime(N);N++)c=Math.max(c,qTD(this,N)/this.getDuration(N));return c}; +g.C.resize=function(N){N+=2;var H=this.offsets;this.offsets=new Float64Array(N+1);var c=this.startTicks;this.startTicks=new Float64Array(N+1);for(N=0;N0&&N&&(c=c.range.end+1,N=Math.min(N,this.info.contentLength-c),N>0&&t.push(new J9(4,this,Xv(c,N),"tbdRange",void 0,void 0,void 0,void 0,void 0,void 0,void 0,H)));return new vx(t)}; +g.C.F8=function(N){if(N.info.type===1){if(this.T)return;this.T=Qy(N.B)}else if(N.info.type===2){if(this.S||this.index.Ff()>=0)return;if(g.vs(this.info)){var H=this.index,c=g.sn(N);N=N.info.range.start;var t=g.Yv(c,0,1936286840);c=ayL(t);H.T=c.timescale;var h=c.Bk;H.offsets[0]=c.ZU+N+t.size;H.startTicks[0]=h;H.B=!0;N=c.RO.length;for(t=0;t0&&N===O[0].HI)for(N=0;N=H+c)break}h.length||(N=new g.ti("b189619593",""+N,""+H,""+c),g.BZ(N));return new vx(h)}; +g.C.Sb=function(N){for(var H=this.La(N.info),c=N.info.range.start+N.info.T,t=[],h=0;h=this.index.Tn(c+1);)c++;return this.cC(c,H,N.B).L4}; +g.C.j4=function(N){N.Xy();return this.g0()?!0:N.range.end+1this.info.contentLength&&(H=new oa(H.start,this.info.contentLength-1)),new vx([new J9(4,N.mR,H,"getNextRequestInfoByLength",void 0,void 0,void 0,void 0,void 0,void 0,void 0,N.clipId)]);N.type===4&&(N=this.La(N),N=N[N.length-1]);var c=0,t=N.range.start+N.T+N.B;N.type===3&&(N.Xy(),c=N.Y_,t===N.range.end+1&&(c+=1));return this.cC(c,t,H)}; +g.C.K3=function(){return null}; +g.C.DQ=function(N,H){H=H===void 0?!1:H;N=this.index.b$(N);H&&(N=Math.min(this.index.Ff(),N+1));return this.cC(N,this.index.Tn(N),0,void 0)}; +g.C.Oa=function(){return!0}; +g.C.zm=function(){return!0}; +g.C.Ux=function(){return!1}; +g.C.fV=function(){return this.indexRange.length+this.initRange.length}; +g.C.tR=function(){return this.indexRange&&this.initRange&&this.initRange.end+1===this.indexRange.start?!0:!1};var IR={},Lcs=(IR.COLOR_PRIMARIES_BT709="bt709",IR.COLOR_PRIMARIES_BT2020="bt2020",IR.COLOR_PRIMARIES_UNKNOWN=null,IR.COLOR_PRIMARIES_UNSPECIFIED=null,IR),bz={},dQL=(bz.COLOR_TRANSFER_CHARACTERISTICS_BT709="bt709",bz.COLOR_TRANSFER_CHARACTERISTICS_BT2020_10="bt2020",bz.COLOR_TRANSFER_CHARACTERISTICS_SMPTEST2084="smpte2084",bz.COLOR_TRANSFER_CHARACTERISTICS_ARIB_STD_B67="arib-std-b67",bz.COLOR_TRANSFER_CHARACTERISTICS_UNKNOWN=null,bz.COLOR_TRANSFER_CHARACTERISTICS_UNSPECIFIED=null,bz);g.DF.prototype.getName=function(){return this.name}; +g.DF.prototype.getId=function(){return this.id}; +g.DF.prototype.getIsDefault=function(){return this.isDefault}; +g.DF.prototype.toString=function(){return this.name}; +g.DF.prototype.getName=g.DF.prototype.getName;g.DF.prototype.getId=g.DF.prototype.getId;g.DF.prototype.getIsDefault=g.DF.prototype.getIsDefault;var mSf=/action_display_post/;var hwv,rQ,mN;g.k(IY,g.xo);g.C=IY.prototype;g.C.isLoading=function(){return this.state===1}; +g.C.OG=function(){return this.state===3}; +g.C.uO_=function(N){var H=N.getElementsByTagName("Representation");if(N.getElementsByTagName("SegmentList").length>0||N.getElementsByTagName("SegmentTemplate").length>0){this.K4=this.B=!0;this.C||(this.C=new Io3);iSS(this.C,N);this.publish("refresh");for(N=0;N=0?W=Dv(E):z=z+"?range="+E}f.call(M,new YB(d.Y_,d.startSecs,d.C6,d.T,z,W,d.B))}t=h}c.update(t,this.isLive,this.vp)}QID(this.C);return!0}this.duration=IJh(PD(N,"mediaPresentationDuration"));a:{for(N= +0;N0))return this.L6()-N}}N=this.T;for(var H in N){var c=N[H].index;if(c.isLoaded()&&!rP(N[H].info.mimeType))return c.T7()}return 0}; +g.C.getStreamTimeOffset=function(){return this.Z}; +g.C.kH=function(N){for(var H in this.T){var c=this.T[H].index;if(c.isLoaded()){var t=c.b$(N),h=c.kH(t);if(h)return h+N-c.getStartTime(t)}}return NaN}; +var C9=null,PQR,ki=!((PQR=navigator.mediaCapabilities)==null||!PQR.decodingInfo),Dlh={commentary:1,alternate:2,dub:3,main:4};var Tq=new Set,sG=new Map;kE.prototype.clone=function(N){return new kE(this.flavor,N,this.B,this.experiments)}; +kE.prototype.Q4=function(){return{flavor:this.flavor,keySystem:this.keySystem}}; +kE.prototype.getInfo=function(){switch(this.keySystem){case "com.youtube.playready":return"PRY";case "com.microsoft.playready":return"PRM";case "com.widevine.alpha":return"WVA";case "com.youtube.widevine.l3":return"WVY";case "com.youtube.fairplay":return"FPY";case "com.youtube.fairplay.sbdl":return"FPC";case "com.apple.fps.1_0":return"FPA";default:return this.keySystem}}; +var UkR={},fgL=(UkR.playready=["com.youtube.playready","com.microsoft.playready"],UkR.widevine=["com.youtube.widevine.l3","com.widevine.alpha"],UkR),N3={},HbD=(N3.widevine="DRM_SYSTEM_WIDEVINE",N3.fairplay="DRM_SYSTEM_FAIRPLAY",N3.playready="DRM_SYSTEM_PLAYREADY",N3),Hl={},XWd=(Hl.widevine=1,Hl.fairplay=2,Hl.playready=3,Hl);var $X;g.k($T,g.L); +$T.prototype.initialize=function(N,H){for(var c=this,t=g.K(Object.keys(N)),h=t.next();!h.done;h=t.next()){h=g.K(N[h.value]);for(var O=h.next();!O.done;O=h.next())if(O=O.value,O.YH)for(var F=g.K(Object.keys(O.YH)),M=F.next();!M.done;M=F.next()){var f=M.value;M=f;f=fgL[f];!f&&this.N("html5_enable_vp9_fairplay")&&M==="fairplay"&&(f=["com.youtube.fairplay.sbdl"]);if(f){f=g.K(f);for(var d=f.next();!d.done;d=f.next())d=d.value,this.L[d]=this.L[d]||new kE(M,d,O.YH[M],this.Es.experiments),this.T[M]=this.T[M]|| +{},this.T[M][O.mimeType]=!0}}}S3()&&(this.L["com.youtube.fairplay"]=new kE("fairplay","com.youtube.fairplay","",this.Es.experiments),this.N("html5_enable_vp9_fairplay")||(this.T.fairplay=this.T.fairplay||{},this.T.fairplay['video/mp4; codecs="avc1.4d400b"']=!0,this.T.fairplay['audio/mp4; codecs="mp4a.40.5"']=!0));this.B=dHR(H,this.useCobaltWidevine,this.N("html5_enable_safari_fairplay")&&!0,this.N("html5_enable_vp9_fairplay")).filter(function(W){return!!c.L[W]})}; +$T.prototype.N=function(N){return this.Es.experiments.M4(N)};var VrY={"":"LIVE_STREAM_MODE_UNKNOWN",dvr:"LIVE_STREAM_MODE_DVR",lp:"LIVE_STREAM_MODE_LP",post:"LIVE_STREAM_MODE_POST",window:"LIVE_STREAM_MODE_WINDOW",live:"LIVE_STREAM_MODE_LIVE"};bW.prototype.N=function(N){return this.experiments.M4(N)};var ToS={RED:"red",M4R:"white"};rD.prototype.G0=function(N){if(N.i8!==3)throw Error("WpccFlagRetriever only supports WPCC flags");return C0w(this,N)}; +rD.prototype.M4=function(N){return this.flags.get(""+N)==="true"};H0.prototype.Zp=function(){return this.L}; +H0.prototype.Je=function(){return this.B}; +H0.prototype.M4=function(N){N=this.G0(N);JSON.stringify(N);return N==="true"}; +H0.prototype.G0=function(N){return this.flags[N]};var Pl3=Promise.resolve(),GLs=window.queueMicrotask?window.queueMicrotask.bind(window):UOS;D8y.prototype.canPlayType=function(N,H){N=N.canPlayType?N.canPlayType(H):!1;bA?N=N||L4Z[H]:Mh===2.2?N=N||ZAc[H]:VW()&&(N=N||YC4[H]);return!!N}; +D8y.prototype.isTypeSupported=function(N){return this.TW?window.cast.receiver.platform.canDisplayType(N):Er(N)}; +var ZAc={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},YC4={"application/x-mpegURL":"maybe"},L4Z={"application/x-mpegURL":"maybe"};g.k(W6,g.xo);W6.prototype.add=function(N,H){if(!this.items[N]&&(H.Dm||H.jf||H.JS)){var c=this.items,t=H;Object.isFrozen&&!Object.isFrozen(H)&&(t=Object.create(H),Object.freeze(t));c[N]=t;this.publish("vast_info_card_add",N)}}; +W6.prototype.remove=function(N){var H=this.get(N);delete this.items[N];return H}; +W6.prototype.get=function(N){return this.items[N]||null}; +W6.prototype.isEmpty=function(){return g.NF(this.items)};R5.prototype.encrypt=function(N){this.T.exports.AES128CTRCipher_encrypt(this.cipher,N.byteOffset,N.byteLength);return N}; +R5.prototype.uo=function(){return this.cipher===0}; +R5.prototype.dispose=function(){this.T.exports.AES128CTRCipher_release(this.cipher);this.cipher=0};Zj.prototype.pA=function(N,H){H=H===void 0?1:H;this.QV+=H;this.B+=N;N/=H;for(var c=0;c0)t+="."+Lk[h].toFixed(0)+"_"+c.T[h].toFixed(0);else break;c=t}c&&(N[H]=c)}this.T=new wKR;return N}; +g.C.toString=function(){return""};g.C=o6v.prototype;g.C.isActive=function(){return!1}; +g.C.W7=function(){}; +g.C.fl=function(){}; +g.C.rD=function(){}; +g.C.w1=function(N,H){H()}; +g.C.Ys=function(){return{}}; +g.C.toString=function(){return""};var A87=new o6v,a8d=!!+T7("html5_enable_profiler"),eHc=!!+T7("html5_onesie_enable_profiler"),i3=a8d||eHc?new HjS:A87,jEs=a8d?i3:A87,uZ=eHc?i3:A87;kth.prototype.emscripten_notify_memory_growth=function(){};g.C=FA.prototype;g.C.malloc=function(N){return this.exports.malloc(N)}; +g.C.free=function(N){this.exports.free(N)}; +g.C.realloc=function(N,H){return this.exports.realloc(N,H)}; +g.C.Uw=function(N){if(N.buffer!==this.exports.memory.buffer){var H=this.malloc(N.byteLength);H=new Uint8Array(this.exports.memory.buffer,H,N.byteLength);H.set(N);return H}}; +g.C.GK=function(N){if(N.buffer===this.exports.memory.buffer){var H=N.slice();this.free(N.byteOffset);return H}}; +var $4f=new function(){this.T=this.B="WebAssembly"in window},GNe="WebAssembly"in window&&("instantiateStreaming"in window.WebAssembly||"instantiate"in window.WebAssembly); +uZ.W7(FA,{Uw:function(N){return{profile:"copyj2w",QV:N===void 0?0:Math.ceil(N.byteLength/16)}}, +GK:function(N){return{profile:"copyw2j",QV:N===void 0?0:Math.ceil(N.byteLength/16)}}});o5.prototype.encrypt=function(N,H){try{return this.T.GK(xyl(this,N,H))}catch(c){g.aS(Error("ocwce: wasm encrypt failed: "+c))}}; +o5.prototype.uo=function(){return this.L}; +o5.prototype.dispose=function(){this.uo()||(g.ez(this.B),this.T.free(this.U.byteOffset),this.L=!0)};g.k(S93,g.L);g.k(PFe,g.L);var wc;qW.prototype.add=function(N){if(this.pos+20>this.data.length){var H=new Uint8Array(this.data.length*2);H.set(this.data);this.data=H}for(;N>31;)this.data[this.pos++]=wc[(N&31)+32],N>>=5;this.data[this.pos++]=wc[N|0]}; +qW.prototype.UR=function(){return g.MG(this.data.subarray(0,this.pos))}; +qW.prototype.reset=function(){this.pos=0};DV.prototype.dJ=function(N,H){var c=Math.pow(this.alpha,N);this.T=H*(1-c)+c*this.T;this.B+=N}; +DV.prototype.sI=function(){return this.T/(1-Math.pow(this.alpha,this.B))};Ea.prototype.dJ=function(N,H){for(var c=0;c<10;c++){var t=this.T[c],h=t+(c===0?N:0),O=1*Math.pow(2,c);if(h<=O)break;t=Math.min(1,(h-O*.5)/t);for(h=0;h<16;h++)O=this.values[c*16+h]*t,this.values[(c+1)*16+h]+=O,this.T[c+1]+=O,this.values[c*16+h]-=O,this.T[c]-=O}t=c=0;h=8192;H>8192&&(c=Math.ceil(Math.log(H/8192)/Math.log(2)),t=8192*Math.pow(2,c-1),h=t*2);c+2>16?this.values[15]+=N:(H=(H-t)/(h-t),this.values[c]+=N*(1-H),this.values[c+1]+=N*H);this.T[0]+=N}; +Ea.prototype.sI=function(){var N=N===void 0?this.B:N;var H=H===void 0?.02:H;var c=c===void 0?.98:c;for(var t=this.L,h=0;h<16;h++)t[h]=this.values[h];h=this.T[0];for(var O=1;O<11;O++){var F=this.T[O];if(F===0)break;for(var M=Math.min(1,(N-h)/F),f=0;f<16;f++)t[f]+=this.values[O*16+f]*M;h+=F*M;if(M<1)break}for(O=N=F=0;O<16;O++){M=F+t[O]/h;N+=Math.max(0,Math.min(M,c)-Math.max(F,H))*(O>0?8192*Math.pow(2,O-1):0);if(M>c)break;F=M}return N/(c-H)};nF.prototype.dJ=function(N,H){N=Math.min(this.T,Math.max(1,Math.round(N*this.resolution)));N+this.B>=this.T&&(this.L=!0);for(;N--;)this.values[this.B]=H,this.B=(this.B+1)%this.T;this.P0=!0}; +nF.prototype.percentile=function(N){var H=this;if(!this.L&&this.B===0)return 0;this.P0&&(g.Ua(this.S,function(c,t){return H.values[c]-H.values[t]}),this.P0=!1); +return this.values[this.S[Math.round(N*((this.L?this.T:this.B)-1))]]||0}; +nF.prototype.sI=function(){return this.Y?(this.percentile(this.U-this.Y)+this.percentile(this.U)+this.percentile(this.U+this.Y))/3:this.percentile(this.U)};g.k(kU,g.L);kU.prototype.zW=function(){var N;(N=this.Kq)==null||N.start();ir(this)&&this.policy.Z&&(this.VR?this.VR.a$():this.Xg())};Vu3.prototype.N=function(N){return this.experiments.M4(N)};g.k(dhL,g.L);var Few="blogger discover-ads ads-preview gac books docs duo flix google-live google-one play play-ads shopping chat hangouts-meet photos-edu picasaweb gmail jamboard".split(" "),Xlv={lGs:"caoe",RoR:"capsv",tEo:"cbrand",GQW:"cbr",VE_:"cbrver",qNp:"cchip",siE:"ccappver",Ada:"ccrv",FcW:"cfrmver",Kfi:"c",eDW:"cver",Gns:"ctheme",tYl:"cplayer",V9l:"cmodel",wS:"cnetwork",iEx:"cos",OS_VERSION:"cosver",Rbo:"cplatform",w_i:"crqyear"};g.k(G9,g.L);g.C=G9.prototype;g.C.N=function(N){return this.experiments.M4(N)}; +g.C.Zp=function(){return this.experiments.Zp()}; +g.C.Je=function(){return this.experiments.Je()}; +g.C.getWebPlayerContextConfig=function(){return this.webPlayerContextConfig}; +g.C.getVideoUrl=function(N,H,c,t,h,O,F){H={list:H};c&&(h?H.time_continue=c:H.t=c);c=F?"music.youtube.com":g.gx(this);h=c==="www.youtube.com";!O&&t&&h?O="https://youtu.be/"+N:g.G0(this)?(O="https://"+c+"/fire",H.v=N):(O&&h?(O=this.protocol+"://"+c+"/shorts/"+N,t&&(H.feature="share")):(O=this.protocol+"://"+c+"/watch",H.v=N),bA&&(N=lky())&&(H.ebc=N));return g.Of(O,H)}; +g.C.getVideoEmbedCode=function(N,H,c,t){H="https://"+g.gx(this)+"/embed/"+H;t&&(H=g.Of(H,{list:t}));t=c.width;c=c.height;H=Li(H);N=Li(N!=null?N:"YouTube video player");return'')}; +g.C.supportsGaplessAudio=function(){return g.Pc&&!bA&&jj()>=74||g.dL&&g.Oi(68)?!0:!1}; +g.C.supportsGaplessShorts=function(){return!this.N("html5_enable_short_gapless")||this.vp||g.op?!1:!0}; +g.C.getPlayerType=function(){return this.T.cplayer}; +g.C.vO=function(){return this.gk}; +var OyL=["www.youtube-nocookie.com","youtube.googleapis.com","www.youtubeeducation.com","youtubeeducation.com"],ENw=["EMBEDDED_PLAYER_LITE_MODE_UNKNOWN","EMBEDDED_PLAYER_LITE_MODE_NONE","EMBEDDED_PLAYER_LITE_MODE_FIXED_PLAYBACK_LIMIT","EMBEDDED_PLAYER_LITE_MODE_DYNAMIC_PLAYBACK_LIMIT"],AUy=[19];var cl={},zjd=(cl["140"]={numChannels:2},cl["141"]={numChannels:2},cl["251"]={audioSampleRate:48E3,numChannels:2},cl["774"]={audioSampleRate:48E3,numChannels:2},cl["380"]={numChannels:6},cl["328"]={numChannels:6},cl["773"]={},cl),tm={},WCd=(tm["1"]='video/mp4; codecs="av01.0.08M.08"',tm["1h"]='video/mp4; codecs="av01.0.12M.10.0.110.09.16.09.0"',tm["1e"]='video/mp4; codecs="av01.0.08M.08"',tm["9"]='video/webm; codecs="vp9"',tm["("]='video/webm; codecs="vp9"',tm["9h"]='video/webm; codecs="vp09.02.51.10.01.09.16.09.00"', +tm.h='video/mp4; codecs="avc1.64001e"',tm.H='video/mp4; codecs="avc1.64001e"',tm.o='audio/webm; codecs="opus"',tm.a='audio/mp4; codecs="mp4a.40.2"',tm.ah='audio/mp4; codecs="mp4a.40.2"',tm.mac3='audio/mp4; codecs="ac-3"; channels=6',tm.meac3='audio/mp4; codecs="ec-3"; channels=6',tm.i='audio/mp4; codecs="iamf.001.001.Opus"',tm),hm={},FXy=(hm["337"]={width:3840,height:2160,bitrate:3E7,fps:30},hm["336"]={width:2560,height:1440,bitrate:15E6,fps:30},hm["335"]={width:1920,height:1080,bitrate:75E5,fps:30}, +hm["702"]={width:7680,height:4320,bitrate:4E7,fps:60},hm["701"]={width:3840,height:2160,bitrate:2E7,fps:60},hm["700"]={width:2560,height:1440,bitrate:1E7,fps:60},hm["412"]={width:1920,height:1080,bitrate:85E5,fps:60,cryptoblockformat:"subsample"},hm["359"]={width:1920,height:1080,bitrate:8E6,fps:30,cryptoblockformat:"subsample"},hm["411"]={width:1920,height:1080,bitrate:3316E3,fps:60,cryptoblockformat:"subsample"},hm["410"]={width:1280,height:720,bitrate:4746E3,fps:60,cryptoblockformat:"subsample"}, +hm["409"]={width:1280,height:720,bitrate:1996E3,fps:60,cryptoblockformat:"subsample"},hm["360"]={width:1920,height:1080,bitrate:5331E3,fps:30,cryptoblockformat:"subsample"},hm["358"]={width:1280,height:720,bitrate:3508E3,fps:30,cryptoblockformat:"subsample"},hm["357"]={width:1280,height:720,bitrate:3206E3,fps:30,cryptoblockformat:"subsample"},hm["274"]={width:1280,height:720,bitrate:1446E3,fps:30,cryptoblockformat:"subsample"},hm["315"]={width:3840,height:2160,bitrate:2E7,fps:60},hm["308"]={width:2560, +height:1440,bitrate:1E7,fps:60},hm["303"]={width:1920,height:1080,bitrate:5E6,fps:60},hm["302"]={width:1280,height:720,bitrate:25E5,fps:60},hm["299"]={width:1920,height:1080,bitrate:75E5,fps:60},hm["298"]={width:1280,height:720,bitrate:35E5,fps:60},hm["571"]={width:7680,height:4320,bitrate:3E7,fps:60},hm["401"]={width:3840,height:2160,bitrate:15E6,fps:60},hm["400"]={width:2560,height:1440,bitrate:75E5,fps:60},hm["399"]={width:1920,height:1080,bitrate:2E6,fps:60},hm["398"]={width:1280,height:720,bitrate:1E6, +fps:60},hm["397"]={width:854,height:480,bitrate:4E5,fps:30},hm["396"]={width:640,height:360,bitrate:25E4,fps:30},hm["787"]={width:1080,height:608,bitrate:2E5,fps:30},hm["788"]={width:1080,height:608,bitrate:4E5,fps:30},hm["572"]={width:7680,height:4320,bitrate:3E7,fps:60},hm["555"]={width:3840,height:2160,bitrate:15E6,fps:60},hm["554"]={width:2560,height:1440,bitrate:75E5,fps:60},hm["553"]={width:1920,height:1080,bitrate:2E6,fps:60},hm["552"]={width:1280,height:720,bitrate:1E6,fps:60},hm["551"]={width:854, +height:480,bitrate:4E5,fps:30},hm["550"]={width:640,height:360,bitrate:25E4,fps:30},hm["313"]={width:3840,height:2160,bitrate:8E6,fps:30},hm["271"]={width:2560,height:1440,bitrate:4E6,fps:30},hm["248"]={width:1920,height:1080,bitrate:2E6,fps:30},hm["247"]={width:1280,height:720,bitrate:15E5,fps:30},hm["244"]={width:854,height:480,bitrate:52E4,fps:30},hm["243"]={width:640,height:360,bitrate:28E4,fps:30},hm["137"]={width:1920,height:1080,bitrate:4E6,fps:30},hm["136"]={width:1280,height:720,bitrate:3E6, +fps:30},hm["135"]={width:854,height:480,bitrate:1E6,fps:30},hm["385"]={width:1920,height:1080,bitrate:6503313,fps:60},hm["376"]={width:1280,height:720,bitrate:5706960,fps:60},hm["384"]={width:1280,height:720,bitrate:3660979,fps:60},hm["225"]={width:1280,height:720,bitrate:5805E3,fps:30},hm["224"]={width:1280,height:720,bitrate:453E4,fps:30},hm["145"]={width:1280,height:720,bitrate:2682052,fps:30},hm);g.C=RJ.prototype;g.C.getInfo=function(){return this.T}; +g.C.GT=function(){return null}; +g.C.X4=function(){var N=this.GT();return N?(N=g.lN(N.JF),Number(N.expire)):NaN}; +g.C.tT=function(){}; +g.C.getHeight=function(){return this.T.video.height};EtR.prototype.build=function(){Hfw(this);var N=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],H={};a:if(this.T)var c=this.T;else{c="";for(var t=g.K(this.L),h=t.next();!h.done;h=t.next())if(h=h.value,h.X3){if(h.X3.getIsDefault()){c=h.X3.getId();break a}c||(c=h.X3.getId())}}t=g.K(this.L);for(h=t.next();!h.done;h=t.next())if(h=h.value,this.Y||!h.X3||h.X3.getId()===c)H[h.itag]||(H[h.itag]=[]),H[h.itag].push(h);c=g.K(this.B);for(t=c.next();!t.done;t=c.next())if(t=t.value,h=H[t.T]){h=g.K(h);for(var O=h.next();!O.done;O= +h.next()){var F=N,M=F.push;O=O.value;var f="#EXT-X-MEDIA:TYPE=AUDIO,",d="YES",W="audio";if(O.X3){W=O.X3;var z=W.getId().split(".")[0];z&&(f+='LANGUAGE="'+z+'",');(this.T?this.T===W.getId():W.getIsDefault())||(d="NO");W=W.getName()}z="";t!==null&&(z=t.itag.toString());z=LXt(this,O.url,z);f=f+('NAME="'+W+'",DEFAULT='+(d+',AUTOSELECT=YES,GROUP-ID="'))+(ucl(O,t)+'",URI="'+(z+'"'));M.call(F,f)}}c=g.K(this.S);for(t=c.next();!t.done;t=c.next())t=t.value,h=vod,t=(F=t.X3)?'#EXT-X-MEDIA:URI="'+LXt(this,t.url)+ +'",TYPE=SUBTITLES,GROUP-ID="'+h+'",LANGUAGE="'+F.getId()+'",NAME="'+F.getName()+'",DEFAULT=NO,AUTOSELECT=YES':void 0,t&&N.push(t);c=this.S.length>0?vod:void 0;t=g.K(this.B);for(h=t.next();!h.done;h=t.next())h=h.value,M=H[h.T],F=void 0,((F=M)==null?void 0:F.length)>0&&(F=h,M=M[0],M="#EXT-X-STREAM-INF:BANDWIDTH="+(F.bitrate+M.bitrate)+',CODECS="'+(F.codecs+","+M.codecs+'",RESOLUTION=')+(F.width+"x"+F.height+',AUDIO="')+(ucl(M,F)+'",')+(c?'SUBTITLES="'+c+'",':"")+"CLOSED-CAPTIONS=NONE",F.fps>1&&(M+= +",FRAME-RATE="+F.fps),F.yq&&(M+=",VIDEO-RANGE="+F.yq),N.push(M),N.push(LXt(this,h.url,"")));return N.join("\n")}; +var vod="text";g.k(mH,RJ);mH.prototype.X4=function(){return this.expiration}; +mH.prototype.GT=function(){if(!this.JF||this.JF.uo()){var N=this.B.build();N="data:application/x-mpegurl;charset=utf-8,"+encodeURIComponent(N);this.JF=new At(N)}return this.JF};g.k(t_,RJ);t_.prototype.GT=function(){return new At(this.B.uG())}; +t_.prototype.tT=function(){this.B=ng(21,this.B)};g.k(SP,RJ);SP.prototype.GT=function(){return new At(this.B)};var OM={},Njs=(OM.PLAYABILITY_ERROR_CODE_VIDEO_BLOCK_BY_MRM="mrm.blocked",OM.PLAYABILITY_ERROR_CODE_PERMISSION_DENIED="auth",OM.PLAYABILITY_ERROR_CODE_EMBEDDER_IDENTITY_DENIED="embedder.identity.denied",OM.PLAYABILITY_ERROR_CODE_EMBEDDER_IDENTITY_MISSING_REFERRER="embedder.identity.missing.referrer",OM);g.C=g.GB.prototype;g.C.getId=function(){return this.id}; +g.C.getName=function(){return this.name}; +g.C.isServable=function(){return this.T}; +g.C.uG=function(){return this.url}; +g.C.getXtags=function(){return this.xtags}; +g.C.toString=function(){return this.languageCode+": "+g.eP(this)+" - "+this.vssId+" - "+(this.captionId||"")}; +g.C.equals=function(N){return N?this.toString()===N.toString():!1}; +g.C.DI=function(){return!(!this.languageCode||this.translationLanguage&&!this.translationLanguage.languageCode)};var B$w={"ad-trueview-indisplay-pv":6,"ad-trueview-insearch":7},ywD={"ad-trueview-indisplay-pv":2,"ad-trueview-insearch":2},Ghf=/^(\d*)_((\d*)_?(\d*))$/;var iCt={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"},nge={120:"default.jpg",320:"mqdefault.jpg",480:"hqdefault.jpg",560:"pop1.jpg",640:"sddefault.jpg",854:"pop2.jpg",1280:"hq720.jpg"};var FO={},G4D=(FO.ALWAYS=1,FO.BY_REQUEST=3,FO.UNKNOWN=void 0,FO),$u={},UtZ=($u.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_UNKNOWN="UNKNOWN",$u.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_NORMAL="NORMAL",$u.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_LOW="LOW",$u.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_ULTRA_LOW="ULTRALOW",$u);var IND; +IND=function(N){for(var H=Object.keys(N),c={},t=0;tt-H?-1:N}; +g.C.v$=function(){return this.B.Ff()}; +g.C.ZW=function(){return this.B.lW()}; +g.C.mP=function(N){this.B=N};g.k(pW,Qt);pW.prototype.B=function(N,H){return Qt.prototype.B.call(this,"$N|"+N,H)}; +pW.prototype.S=function(N,H,c){return new z1s(N,H,c,this.isLive)};g.k(g.xm,g.xo);g.C=g.xm.prototype; +g.C.setData=function(N){var H=this;N=N||{};var c=N.errordetail;c!=null&&(this.errorDetail=c);var t=N.errorcode;t!=null?this.errorCode=t:N.status==="fail"&&(this.errorCode="auth");var h=N.reason;h!=null&&(this.errorReason=h);var O=N.subreason;O!=null&&(this.iW=O);this.clientPlaybackNonce||(this.clientPlaybackNonce=N.cpn||(this.Es.vO()?"r"+g.Xj(15):g.Xj(16)));this.fb=Nx(this.Es.fb,N.livemonitor);Rte(this,N);var F=N.raw_player_response;if(F)this.kB=F;else{var M=N.player_response;M&&(F=JSON.parse(M))}F&& +(this.playerResponse=F);if(this.playerResponse){var f=this.playerResponse.annotations;f&&Rph(this,f);var d=this.playerResponse.attestation;d&&Gfh(this,d);var W=this.playerResponse.cotn;W&&(this.cotn=W);var z=this.playerResponse.heartbeatParams;z&&jew(this,z);var E=this.playerResponse.messages;E&&Fse(this,E);var x=this.playerResponse.overlay;x&&HWs(this,x);var q=this.playerResponse.playabilityStatus;if(q){AbD(this,q);var r=q.errorScreen;r&&NVd(this,r)}var w=this.playerResponse.playbackTracking;w&& +StZ(this,w,N);var n=this.playerResponse.playerCueRanges;n&&n.length>0&&(this.cueRanges=n);var p=this.playerResponse.playerCueRangeSet;p&&g.ESR(this,p);var U=lvv(this.playerResponse.adPlacements);w&&w.promotedPlaybackTracking&&U&&g.aS(new g.ti("Player Response with both promotedPlaybackTracking and videoAdTrackingRenderer"));if(U||i9w(this.playerResponse.adSlots))this.s2=!0;var X=this.playerResponse.playerAds;X&&ipt(this,X,N);var A=this.playerResponse.playerConfig;A&&YGy(this,A);var R=this.playerResponse.streamingData; +R&&xlZ(this,R,A||null);var v=this.playerResponse.trackingParams;v&&(this.Bp=v);var Nf=this.playerResponse.videoDetails;if(Nf){GdL(this,Nf,N);XvZ(this,Nf,A||null,N);var Fe=Nf.isPrivate;Fe!==void 0&&(this.isPrivate=Nx(this.isPrivate,Fe))}q&&RhZ(this,q,Nf||null);var tS=this.playerResponse.interstitialPods;tS&&cDv(this,tS);this.qy&&this.eventId&&(this.qy=hp(this.qy,{ei:this.eventId}));var jh=this.playerResponse.captions;jh&&jh.playerCaptionsTracklistRenderer&&Wpw(this,jh.playerCaptionsTracklistRenderer); +(this.clipConfig=this.playerResponse.clipConfig)&&this.clipConfig.startTimeMs!=null&&(this.l4=Number(this.clipConfig.startTimeMs)*.001);this.playerResponse&&this.playerResponse.playerConfig&&this.playerResponse.playerConfig.webPlayerConfig&&this.playerResponse.playerConfig.webPlayerConfig.webPlayerActionsPorting&&aEv(this,this.playerResponse.playerConfig.webPlayerConfig.webPlayerActionsPorting);var cL;this.compositeLiveIngestionOffsetToken=(cL=this.playerResponse.playbackTracking)==null?void 0:cL.compositeLiveIngestionOffsetToken; +var Ks;this.compositeLiveStatusToken=(Ks=this.playerResponse.playbackTracking)==null?void 0:Ks.compositeLiveStatusToken;this.N("html5_fill_default_mosaic_audio_track_id")&&Yd(this)&&(this.Es.w_=J93(this));var Rl,Tx,Fc=(Rl=this.playerResponse.playerConfig)==null?void 0:(Tx=Rl.granularVariableSpeedConfig)==null?void 0:Tx.minimumPlaybackRate,ol,Q,cW=(ol=this.playerResponse.playerConfig)==null?void 0:(Q=ol.granularVariableSpeedConfig)==null?void 0:Q.maximumPlaybackRate;Fc&&cW&&(this.GD=Fc/100,this.gz= +cW/100);this.N("html5_web_po_on_demand_init")&&this.playerResponse.onResponseReceivedActions&&this.playerResponse.onResponseReceivedActions.forEach(function($n){var Xq;((Xq=g.P($n,GMs))==null?void 0:Xq.signal)==="INIT_ATT_SERVICE"&&(H.F0=!0)})}qU(this,N); +I6L(this,N);N.queue_info&&(this.queueInfo=N.queue_info);var U4=N.hlsdvr;U4!=null&&(this.allowLiveDvr=Number(U4)===1?h4()?!0:U9&&wa<5?!1:!0:!1);this.adQueryId=N.ad_query_id||null;this.Lx||(this.Lx=N.encoded_ad_safety_reason||null);this.dC=Nx(this.dC,N.infringe||N.muted);this.Qu=N.authkey;this.yu=N.authuser;this.mutedAutoplay=Nx(this.mutedAutoplay,N&&N.playmuted);this.mutedAutoplayDurationMode=PP(this.mutedAutoplayDurationMode,N&&N.muted_autoplay_duration_mode);this.Vm=Nx(this.Vm,N&&N.mutedautoplay); +var Xc=N.length_seconds;Xc&&(this.lengthSeconds=typeof Xc==="string"?AA(Xc):Xc);this.isAd()||this.kD||!g.Hm(g.ZA(this.Es))?this.endSeconds=PP(this.endSeconds,this.kI||N.end||N.endSeconds):V2w(this,g.ZA(this.Es),this.lengthSeconds);this.Bp=OD(this.Bp,N.itct);this.oG=Nx(this.oG,N.is_live_destination);this.isLivePlayback=Nx(this.isLivePlayback,N.live_playback);this.enableServerStitchedDai=this.enableServerStitchedDai&&this.K4();N.isUpcoming&&(this.isUpcoming=Nx(this.isUpcoming,N.isUpcoming));this.K6= +Nx(this.K6,N.post_live_playback);this.j$&&(this.K6=!1);this.isMdxPlayback=Nx(this.isMdxPlayback,N.mdx);var b5=N.mdx_control_mode;b5&&(this.mdxControlMode=typeof b5==="number"?b5:AA(b5));this.isInlinePlaybackNoAd=Nx(this.isInlinePlaybackNoAd,N.is_inline_playback_no_ad);this.zW=PP(this.zW,N.reload_count);this.reloadReason=OD(this.reloadReason,N.reload_reason);this.uj=Nx(this.uj,N.show_content_thumbnail);this.cycToken=N.cyc||null;var Rd=Vg(N);Object.keys(Rd).length>0&&(this.xP=Rd);this.Us=OD(this.Us, +N.vvt);this.mdxEnvironment=OD(this.mdxEnvironment,N.mdx_environment);N.source_container_playlist_id&&(this.sourceContainerPlaylistId=N.source_container_playlist_id);N.serialized_mdx_metadata&&(this.serializedMdxMetadata=N.serialized_mdx_metadata);this.Ms=N.osig;this.eventId||(this.eventId=N.eventid);this.osid||(this.osid=N.osid);this.playlistId=OD(this.playlistId,N.list);N.index&&(this.playlistIndex=this.playlistIndex===void 0?PP(0,N.index):PP(this.playlistIndex,N.index));this.L3=N.pyv_view_beacon_url; +this.O2=N.pyv_quartile25_beacon_url;this.lI=N.pyv_quartile50_beacon_url;this.mS=N.pyv_quartile75_beacon_url;this.W9=N.pyv_quartile100_beacon_url;var T3=N.session_data;!this.EE&&T3&&(this.EE=Ud(T3,"&").feature);this.isFling=PP(this.isFling?1:0,N.is_fling)===1;this.vnd=PP(this.vnd,N.vnd);this.forceAdsUrl=OD(this.forceAdsUrl,N.force_ads_url);this.oR=OD(this.oR,N.ctrl);this.x8=OD(this.x8,N.ytr);this.fS=N.ytrcc;this.zi=N.ytrexp;this.Cn=N.ytrext;this.n4=OD(this.n4,N.adformat);this.qU=OD(this.qU,N.attrib); +this.slotPosition=PP(this.slotPosition,N.slot_pos);this.breakType=N.break_type;this.EZ=Nx(this.EZ,N.ssrt);this.videoId=xr(N)||this.videoId;this.Y=OD(this.Y,N.vss_credentials_token);this.eY=OD(this.eY,N.vss_credentials_token_type);this.cF=Nx(this.cF,N.audio_only);this.NT=Nx(this.NT,N.aac_high);this.qJ=Nx(this.qJ,N.prefer_low_quality_audio);this.p7=Nx(this.p7,N.uncap_inline_quality);this.N("html5_enable_qoe_cat_list")?N.qoe_cat&&(this.Jh=this.Jh.concat(N.qoe_cat.split(","))):this.vu=OD(this.vu,N.qoe_cat); +this.Ze=Nx(this.Ze,N.download_media);this.C=NcZ(this,N.prefer_gapless);mWR(this.playerResponse)&&this.AJ.push("ad");var JG=N.adaptive_fmts;JG&&(this.adaptiveFormats=JG,this.Lq("adpfmts",{},!0));var D=N.allow_embed;D&&(this.allowEmbed=Number(D)===1);var HL=N.backgroundable;HL&&(this.backgroundable=Number(HL)===1);var m4=N.autonav;m4&&(this.isAutonav=Number(m4)===1);var TL=N.autoplay;TL&&(this.LC=this.c_=Number(TL)===1);var bQ=N.iv_load_policy;bQ&&(this.annotationsLoadPolicy=ib(this.annotationsLoadPolicy, +bQ,fo));var fA=N.cc_lang_pref;fA&&(this.captionsLanguagePreference=OD(fA,this.captionsLanguagePreference));var bw=N.cc_load_policy;bw&&(this.hQ=ib(this.hQ,bw,fo));var i5;this.deviceCaptionsOn=(i5=N.device_captions_on)!=null?i5:void 0;var uQ;this.aT=(uQ=N.device_captions_lang_pref)!=null?uQ:"";var J;this.f7=(J=N.viewer_selected_caption_langs)!=null?J:[];var m=N.cached_load;m&&(this.Fo=Nx(this.Fo,m));if(N.dash==="0"||N.dash===0||N.dash===!1)this.ym=!0;var u=N.dashmpd;u&&(this.WG=g.Of(u,{cpn:this.clientPlaybackNonce})); +var V=N.delay;V&&(this.fE=AA(V));var G=this.kI||N.end;if(this.Xg?G!=null:G!=void 0)this.clipEnd=PP(this.clipEnd,G);var $y=N.fmt_list;$y&&(this.yU=$y);N.heartbeat_preroll&&this.AJ.push("heartbeat");s_d&&(this.Ol=-Math.floor(Math.random()*10),this.l7=-Math.floor(Math.random()*40));var I=N.is_listed;I&&(this.isListed=Nx(this.isListed,I));var B=N.is_private;B&&(this.isPrivate=Nx(this.isPrivate,B));var Z=N.is_dni;Z&&(this.Uc=Nx(this.Uc,Z));var Sh=N.dni_color;Sh&&(this.CE=OD(this.CE,Sh));var PL=N.pipable; +PL&&(this.pipable=Nx(this.pipable,PL));this.qC=(this.zT=this.pipable&&this.Es.vM)&&!this.Es.showMiniplayerButton;var gt=N.paid_content_overlay_duration_ms;gt&&(this.paidContentOverlayDurationMs=AA(gt));var JS=N.paid_content_overlay_text;JS&&(this.paidContentOverlayText=JS);var tG=N.url_encoded_fmt_stream_map;tG&&(this.Jg=tG);var uw=N.hls_formats;uw&&(this.hlsFormats=uw);var sC=N.hlsvp;sC&&(this.hlsvp=sC);var XG=N.live_start_walltime;XG&&(this.At=typeof XG==="number"?XG:AA(XG));var Id=N.live_manifest_duration; +Id&&(this.zn=typeof Id==="number"?Id:AA(Id));var ns=N.player_params;ns&&(this.playerParams=ns);var G8=N.partnerid;G8&&(this.partnerId=PP(this.partnerId,G8));var Uv=N.probe_url;Uv&&(this.probeUrl=XJ(g.Of(Uv,{cpn:this.clientPlaybackNonce})));var rR=N.pyv_billable_url;rR&&$ZZ(rR)&&(this.N5=rR);var AS=N.pyv_conv_url;AS&&$ZZ(AS)&&(this.U2=AS);vit(this,N);this.startSeconds>0?this.N("html5_log_start_seconds_inconsistency")&&this.startSeconds!==(this.l4||this.FB||N.start||N.startSeconds)&&this.Lq("lss",{css:this.startSeconds, +pcss:this.l4,iss:this.FB,ps:N.start||void 0,pss:N.startSeconds||void 0}):this.vp=this.startSeconds=PP(this.startSeconds,this.l4||this.FB||N.start||N.startSeconds);if(!(this.liveUtcStartSeconds&&this.liveUtcStartSeconds>0)){var DW=N.live_utc_start;DW!=null?this.liveUtcStartSeconds=Number(DW):pqs(this.startSeconds)&&(this.liveUtcStartSeconds=this.startSeconds)}if(!(this.liveUtcStartSeconds&&this.liveUtcStartSeconds>0)){var Dl=N.utc_start_millis;Dl&&(this.liveUtcStartSeconds=Number(Dl)*.001)}var Nk= +N.stream_time_start_millis;Nk&&(this.PM=Number(Nk)*.001);var t8=this.FB||N.start;(this.Xg?t8==null||Number(N.resume)===1:t8==void 0||N.resume=="1")||this.isLivePlayback||(this.clipStart=PP(this.clipStart,t8));var e7=N.url_encoded_third_party_media;e7&&(this.L2=ra(e7));var Vd=N.ypc_offer_button_formatted_text;if(Vd){var Kq=JSON.parse(Vd);this.xj=Kq!=null?Kq:null;this.QH=Vd}var Sl=N.ypc_offer_button_text;Sl&&(this.Q7=Sl);var x9=N.ypc_offer_description;x9&&(this.OE=x9);var qA=N.ypc_offer_headline;qA&& +(this.sK=qA);var NN=N.ypc_full_video_message;NN&&(this.hG=NN);var HP=N.ypc_offer_id;HP&&(this.Aq=HP);var F7=N.ypc_buy_url;F7&&(this.xC=F7);var gr=N.ypc_item_thumbnail;gr&&(this.FT=gr);var iM=N.ypc_item_title;iM&&(this.Ww=iM);var cP=N.ypc_item_url;cP&&(this.nQ=cP);var t$=N.ypc_vid;t$&&(this.Rt=t$);N.ypc_overlay_timeout&&(this.l5=Number(N.ypc_overlay_timeout));var Gr=N.ypc_trailer_player_vars;Gr&&(this.MO=OC(Gr));var Y9=N.ypc_original_itct;Y9&&(this.Qs=Y9);this.tU=OD(this.tU,N.ucid);this.qj=N.storyboard_spec|| +null;this.b1=N.live_storyboard_spec||null;this.Pt=N.iv_endscreen_url||null;this.v5=Nx(this.v5,N.iv3_module);this.IM=Nx(this.IM,N.ypc_module);this.YB=Nx(this.YB,N.ypc_clickwrap_module);this.IM&&this.AJ.push("ypc");this.YB&&this.AJ.push("ypcRentalActivation");this.i5={video_id:N.video_id,eventid:N.eventid,cbrand:N.cbrand,cbr:N.cbr,cbrver:N.cbrver,c:N.c,cver:N.cver,ctheme:N.ctheme,cplayer:N.cplayer,cmodel:N.cmodel,cnetwork:N.cnetwork,cos:N.cos,cosver:N.cosver,cplatform:N.cplatform,user_age:N.user_age, +user_display_image:N.user_display_image,user_display_name:N.user_display_name,user_gender:N.user_gender,csi_page_type:N.csi_page_type,csi_service_name:N.csi_service_name,enablecsi:N.enablecsi,enabled_engage_types:N.enabled_engage_types};bet(this,N);var AZ=N.cotn;AZ&&(this.cotn=AZ);o0S(this)?oY(this)&&(this.isLivePlayback&&this.WG&&(this.qc=!0),this.Ql&&(this.BR=!0)):anf(this)?this.qc=!0:DW3(this)?this.enableServerStitchedDai=this.enableServerStitchedDai&&WK(this):this.WG&&(this.Es.Bp==="yt"&&this.K4()&& +this.N("drm_manifestless_unplugged")&&this.N("html5_deprecate_manifestful_fallback")?this.Lq("deprecateMflFallback",{}):this.qc=!0);var Qe=N.adpings;Qe&&(this.Nj=Qe?OC(Qe):null);var h$=N.feature;h$&&(this.Ge=h$);var pi=N.referrer;pi&&(this.referrer=pi);this.clientScreenNonce=OD(this.clientScreenNonce,N.csn);this.nu=PP(this.nu,N.root_ve_type);this.jS=PP(this.jS,N.kids_age_up_mode);this.Xg||N.kids_app_info==void 0||(this.kidsAppInfo=N.kids_app_info);this.Xg&&N.kids_app_info!=null&&(this.kidsAppInfo= +N.kids_app_info);this.c$=Nx(this.c$,N.upg_content_filter_mode);this.unpluggedFilterModeType=PP(this.unpluggedFilterModeType,N.unplugged_filter_mode_type);var Oe=N.unplugged_location_info;Oe&&(this.mG=Oe);var FC=N.unplugged_partner_opt_out;FC&&(this.ya=OD("",FC));this.Qm=Nx(this.Qm,N.disable_watch_next);this.LP=OD(this.LP,N.internal_ip_override);this.FK=!!N.is_yto_interstitial;this.interstitials.length&&this.AJ.push("playableSequences");var $L=N.R9;$L&&(this.R9=$L);this.TW=OD(this.TW,N.csi_timer); +N.watchUrl&&(this.watchUrl=N.watchUrl);var uA=N.watch_endpoint;this.N("html5_attach_watch_endpoint_ustreamer_config")&&uA&&A$f(this,uA);if(uA==null?0:uA.ustreamerConfig)this.M_=TS(uA.ustreamerConfig);var Tf,RG,uu=uA==null?void 0:(Tf=uA.loggingContext)==null?void 0:(RG=Tf.qoeLoggingContext)==null?void 0:RG.serializedContextData;uu&&(this.Dn=uu);g.PX(this.Es)&&this.Es.dL&&(this.embedsRct=OD(this.embedsRct,N.rct),this.embedsRctn=OD(this.embedsRctn,N.rctn));N.embed_config&&(this.i7=N.embed_config);this.TE= +this.TE||!!N.pause_at_start;N.default_active_source_video_id&&(this.defaultActiveSourceVideoId=N.default_active_source_video_id);this.qA=this.qA||!!N.qA}; +g.C.D=function(){return this.Es}; +g.C.N=function(N){return this.Es.N(N)}; +g.C.T6=function(){return!this.isLivePlayback||this.allowLiveDvr}; +g.C.hasSupportedAudio51Tracks=function(){var N;return!((N=this.w_)==null||!N.UF)}; +g.C.getUserAudio51Preference=function(){var N=1;jQ(this.Es)&&this.N("html5_ytv_surround_toggle_default_off")?N=0:ht(this.Es)&&this.isLivePlayback&&this.f2()&&(N=0);var H;return(H=g.pB("yt-player-audio51"))!=null?H:N}; +g.C.Dr=function(){this.uo()||(this.T.B||this.T.unsubscribe("refresh",this.Dr,this),this.fN(-1))}; +g.C.fN=function(N){if(!this.isLivePlayback||!this.S||this.S.flavor!=="fairplay"){var H=V_y(this.T,this.SL);if(H.length>0){for(var c=g.K(H),t=c.next();!t.done;t=c.next())t=t.value,t.startSecs=Math.max(t.startSecs,this.T7()),this.N("html5_cuepoint_identifier_logging")&&t.event==="start"&&this.Lq("cuepoint",{pubCue:t.identifier,segNum:N});this.publish("cuepointupdated",H,N);this.SL+=H.length;if(WK(this)&&this.Es.vO())for(H=g.K(H),c=H.next();!c.done;c=H.next())c=c.value,this.Lq("cuepoint",{segNum:N,event:c.event, +startSecs:c.startSecs,id:c.identifier.slice(-16)}),c.event==="start"&&(c=c.startSecs,this.xa.start=this.kG,this.xa.end=c+3)}}}; +g.C.Z5=function(){this.uo()||(this.loading=!1,this.publish("dataloaded"))}; +g.C.f2=function(){return this.Gn!==void 0?this.Gn:this.Gn=!!this.YH||!!this.T&&Fa(this.T)}; +g.C.NQ=function(N){var H=this;if(this.uo())return C6();this.UF=this.Ix=this.L=null;xk(this,"html5_high_res_logging_always")&&(this.Es.gk=!0);return bOl(this,N).then(void 0,function(){return Znf(H,N)}).then(void 0,function(){return NnS(H)}).then(void 0,function(){return NIR(H)})}; +g.C.TR=function(N){this.L=N;EQZ(this,this.L.getAvailableAudioTracks());if(this.L){N=g.K(this.L.videoInfos);for(var H=N.next();!H.done;H=N.next()){H=H.value;var c=H.containerType;c!==0&&(this.vQ[c]=H.id)}}N=this.getAvailableAudioTracks();N=N.concat(this.G7);for(H=0;H0?this.L.getAvailableAudioTracks():this.LG||[]:[]}; +g.C.getAudioTrack=function(){var N=this;if(this.U&&!MF(this.U)){var H=g.Nn(this.getAvailableAudioTracks(),function(h){return h.id===N.U.id}),c; +if(!H&&((c=this.U.X3)==null?0:c.id)){var t=this.U.X3.id;H=g.Nn(this.getAvailableAudioTracks(),function(h){return h.X3.id===t}); +this.Lq("nat",{id:this.U.id,track:!!H})}return H||this.G7}if(this.LG){if(!this.QB)for(H=g.K(this.LG),c=H.next();!c.done;c=H.next())if(c=c.value,c.X3.getIsDefault()){this.QB=c;break}return this.QB||this.G7}return this.G7}; +g.C.getPlayerResponse=function(){return this.playerResponse}; +g.C.getWatchNextResponse=function(){return this.ox}; +g.C.getReelItemWatchResponse=function(){return this.reelItemWatchResponse}; +g.C.getHeartbeatResponse=function(){return this.EB}; +g.C.ZD=function(){return this.watchUrl?this.watchUrl:this.Es.getVideoUrl(this.videoId)}; +g.C.pk=function(){return!!this.T&&(T$3(this.T)||Ofs(this.T)||JQd(this.T))}; +g.C.getEmbeddedPlayerResponse=function(){return this.t9}; +g.C.Tu=function(){return(this.eventLabel||this.Es.ox)==="shortspage"}; +g.C.isAd=function(){return this.Dh||!!this.adFormat}; +g.C.isDaiEnabled=function(){return!!(this.playerResponse&&this.playerResponse.playerConfig&&this.playerResponse.playerConfig.daiConfig&&this.playerResponse.playerConfig.daiConfig.enableDai)}; +g.C.vH=function(){var N,H,c;return this.isDaiEnabled()&&this.enableServerStitchedDai&&!!((N=this.playerResponse)==null?0:(H=N.playerConfig)==null?0:(c=H.daiConfig)==null?0:c.ssaEnabledPlayback)}; +g.C.xL=function(){return this.Du}; +g.C.m$=function(){return this.IM||this.Oc}; +g.C.OY=function(){return xk(this,"html5_samsung_vp9_live")}; +g.C.Lq=function(N,H,c){this.publish("ctmp",N,H,c)}; +g.C.TH=function(N,H,c){this.publish("ctmpstr",N,H,c)}; +g.C.hasProgressBarBoundaries=function(){return!(!this.progressBarStartPosition||!this.progressBarEndPosition)}; +g.C.getGetAdBreakContext=function(N,H){N=N===void 0?NaN:N;H=H===void 0?NaN:H;var c={isSabr:AC(this)},t,h=(t=this.getHeartbeatResponse())==null?void 0:t.adBreakHeartbeatParams;h&&(c.adBreakHeartbeatParams=h);if(this.N("enable_ltc_param_fetch_from_innertube")&&this.isLivePlayback&&this.T&&!isNaN(N)&&!isNaN(H)){H=N-H;for(var O in this.T.T)if(t=this.T.T[O],t.info.KG()||t.info.ll())if(t=t.index,t.isLoaded()){O=t.b$(H);t=t.kH(O)+H-t.getStartTime(O);this.Lq("gabc",{t:N.toFixed(3),mt:H.toFixed(3),sg:O,igt:t.toFixed(3)}); +c.livePlaybackPosition={utcTimeMillis:""+(t*1E3).toFixed(0)};break}}return c}; +g.C.isEmbedsShortsMode=function(N,H){if(!g.PX(this.Es)||(this.Es.Ix||"EMBEDDED_PLAYER_MODE_DEFAULT")!=="EMBEDDED_PLAYER_MODE_DEFAULT"||H)return!1;if(this.N("embeds_enable_shorts")){var c,t;return!!((c=this.embeddedPlayerConfig)==null?0:(t=c.embeddedPlayerFlags)==null?0:t.isShortsExperienceEligible)}var h,O;return!!(((h=this.embeddedPlayerConfig)==null?0:(O=h.embeddedPlayerFlags)==null?0:O.isShortsExperienceEligible)&&N.width<=N.height)}; +g.C.AB=function(N,H){H?this.Ac||(this.Ac=N):this.Mr||(this.Mr=N)}; +g.C.Os=function(){g.xo.prototype.Os.call(this);this.Nj=null;delete this.Fd;delete this.accountLinkingConfig;delete this.T;this.L=this.EB=this.playerResponse=this.ox=null;this.Jg=this.adaptiveFormats="";delete this.botguardData;this.Cq=this.suggestions=this.u1=null;this.sabrContextUpdates.clear()}; +var s_d=!0;var i$D={phone:"SMALL_FORM_FACTOR",tablet:"LARGE_FORM_FACTOR"},tTv={desktop:"DESKTOP",phone:"MOBILE",tablet:"TABLET"},bVf={preroll:"BREAK_PREROLL",midroll:"BREAK_MIDROLL",postroll:"BREAK_POSTROLL"},Tss={0:"YT_KIDS_AGE_UP_MODE_UNKNOWN",1:"YT_KIDS_AGE_UP_MODE_OFF",2:"YT_KIDS_AGE_UP_MODE_TWEEN",3:"YT_KIDS_AGE_UP_MODE_PRESCHOOL"},Mff={0:"MDX_CONTROL_MODE_UNKNOWN",1:"MDX_CONTROL_MODE_REMOTE",2:"MDX_CONTROL_MODE_VOICE"},jDy={0:"UNPLUGGED_FILTER_MODE_TYPE_UNKNOWN",1:"UNPLUGGED_FILTER_MODE_TYPE_NONE",2:"UNPLUGGED_FILTER_MODE_TYPE_PG", +3:"UNPLUGGED_FILTER_MODE_TYPE_PG_THIRTEEN"},NNv={0:"EMBEDDED_PLAYER_MUTED_AUTOPLAY_DURATION_MODE_UNSPECIFIED",1:"EMBEDDED_PLAYER_MUTED_AUTOPLAY_DURATION_MODE_30_SECONDS",2:"EMBEDDED_PLAYER_MUTED_AUTOPLAY_DURATION_MODE_FULL"};g.k(vP,g.L);g.C=vP.prototype;g.C.handleExternalCall=function(N,H,c){var t=this.state.C[N],h=this.state.Z[N],O=t;if(h)if(c&&kC(c,$kx))O=h;else if(!t)throw Error('API call from an untrusted origin: "'+c+'"');this.logApiCall(N,c);if(O){c=!1;t=g.K(H);for(h=t.next();!h.done;h=t.next())if(String(h.value).includes("javascript:")){c=!0;break}c&&g.aS(Error('Dangerous call to "'+N+'" with ['+H+"]."));return O.apply(this,H)}throw Error('Unknown API method: "'+N+'".');}; +g.C.logApiCall=function(N,H,c){var t=this.app.D();t.ym&&!this.state.TW.has(N)&&(this.state.TW.add(N),g.uF("webPlayerApiCalled",{callerUrl:t.loaderUrl,methodName:N,origin:H||void 0,playerStyle:t.playerStyle||void 0,embeddedPlayerMode:t.Ix,errorCode:c}))}; +g.C.publish=function(N){var H=g.LQ.apply(1,arguments);this.state.L.publish.apply(this.state.L,[N].concat(g.HE(H)));if(N==="videodatachange"||N==="resize"||N==="cardstatechange")this.state.B.publish.apply(this.state.B,[N].concat(g.HE(H))),this.state.U.publish.apply(this.state.U,[N].concat(g.HE(H)))}; +g.C.QS=function(N){var H=g.LQ.apply(1,arguments);this.state.L.publish.apply(this.state.L,[N].concat(g.HE(H)));this.state.B.publish.apply(this.state.B,[N].concat(g.HE(H)))}; +g.C.Ic=function(N){var H=g.LQ.apply(1,arguments);this.state.L.publish.apply(this.state.L,[N].concat(g.HE(H)));this.state.B.publish.apply(this.state.B,[N].concat(g.HE(H)));this.state.U.publish.apply(this.state.U,[N].concat(g.HE(H)))}; +g.C.vU=function(N){var H=g.LQ.apply(1,arguments);this.state.L.publish.apply(this.state.L,[N].concat(g.HE(H)));this.state.B.publish.apply(this.state.B,[N].concat(g.HE(H)));this.state.U.publish.apply(this.state.U,[N].concat(g.HE(H)));this.state.S.publish.apply(this.state.S,[N].concat(g.HE(H)))}; +g.C.N=function(N){return this.app.D().N(N)}; +g.C.Os=function(){if(this.state.element){var N=this.state.element,H;for(H in this.state.T)this.state.T.hasOwnProperty(H)&&(N[H]=null);this.state.element=null}g.L.prototype.Os.call(this)};g.k(ty,g.L0);ty.prototype.publish=function(N){var H=g.LQ.apply(1,arguments);if(this.S.has(N))return this.S.get(N).push(H),!0;var c=!1;try{for(H=[H],this.S.set(N,H);H.length;)c=g.L0.prototype.publish.call.apply(g.L0.prototype.publish,[this,N].concat(g.HE(H.shift())))}finally{this.S.delete(N)}return c};g.k(hy,g.L);hy.prototype.Os=function(){this.S.dispose();this.U.dispose();this.B.dispose();this.L.dispose();this.TW=this.T=this.Z=this.C=this.Y=void 0};var GZw=new Set("endSeconds startSeconds mediaContentUrl suggestedQuality videoId rct rctn playmuted muted_autoplay_duration_mode".split(" "));g.k(se,vP);g.C=se.prototype;g.C.getApiInterface=function(){return Array.from(this.state.Y)}; +g.C.nY=function(N,H){this.state.S.subscribe(N,H)}; +g.C.mpS=function(N,H){this.state.S.unsubscribe(N,H)}; +g.C.getPlayerState=function(N){return xHZ(this.app,N)}; +g.C.Oqo=function(){return xHZ(this.app)}; +g.C.vPS=function(N,H,c){pGd(this)&&(kn(this.app,!0,1),Qb(this.app,N,H,c,1))}; +g.C.getCurrentTime=function(N,H,c){var t=this.getPlayerState(N);if(this.app.getAppState()===2&&t===5){var h;return((h=this.app.getVideoData())==null?void 0:h.startSeconds)||0}return this.N("web_player_max_seekable_on_ended")&&t===0?ge(this.app,N):N?this.app.getCurrentTime(N,H,c):this.app.getCurrentTime(N)}; +g.C.sD=function(){return this.app.getCurrentTime(1)}; +g.C.BEW=function(){var N=this.app.kH(1);return isNaN(N)?this.getCurrentTime(1):N}; +g.C.wpf=function(){return this.app.getDuration(1)}; +g.C.UK=function(N,H){N=g.Ae(Math.floor(N),0,100);isFinite(N)&&aW(this.app,{volume:N,muted:this.isMuted()},H)}; +g.C.A3S=function(N){this.UK(N,!1)}; +g.C.lB=function(N){aW(this.app,{muted:!0,volume:this.getVolume()},N)}; +g.C.Suo=function(){this.lB(!1)}; +g.C.KQ=function(N){aW(this.app,{muted:!1,volume:Math.max(5,this.getVolume())},N)}; +g.C.HOE=function(){uy(this.app)||this.KQ(!1)}; +g.C.getPlayerMode=function(){var N={};this.app.getVideoData().Uc&&(N.pfp={enableIma:this.app.Sg().allowImaMonetization,autoplay:N4(this.app.Sg()),mutedAutoplay:this.app.Sg().mutedAutoplay});return N}; +g.C.G_=function(){var N=this.app.getPresentingPlayerType();if(N===2&&!this.app.Re()){var H=pH(this.app.g_());if(!(I2L(H)||g.PX(this.app.D())&&g.y(this.app.x_().getPlayerState(),1024))||m3v(H))return}(H=this.app.z6().IA)?H.playVideo():this.app.playVideo(N)}; +g.C.b2l=function(){kn(this.app,!0,1);this.G_()}; +g.C.pauseVideo=function(N){var H=this.app.getPresentingPlayerType();if(H!==2||this.app.Re()||I2L(pH(this.app.g_()))){var c=this.app.z6().IA;c?c.pauseVideo():this.app.pauseVideo(H,N)}}; +g.C.mfR=function(){var N=this.app,H=!1;N.j.Dt&&(N.VS.publish("pageTransition"),H=!0);N.stopVideo(H)}; +g.C.clearVideo=function(){}; +g.C.getAvailablePlaybackRates=function(){var N=this.app.D();if(N.enableSpeedOptions){if(["https://admin.youtube.com","https://viacon.corp.google.com","https://yurt.corp.google.com"].includes(N.U?N.ancestorOrigins[0]:window.location.origin)||N.xt)return Zg4;var H=this.app.getVideoData();if(lDw(H)){var c=H.GD,t=H.gz;return al5.filter(function(h){return h>=c&&h<=t})}return N.supportsVarispeedExtendedFeatures?Y4d:N.N("web_remix_allow_up_to_3x_playback_rate")&&g.m8(N)?AGc:pC}return[1]}; +g.C.getPlaybackQuality=function(N){return(N=this.app.CG(N))?N.getPlaybackQuality():"unknown"}; +g.C.y3E=function(){}; +g.C.getAvailableQualityLevels=function(N){return(N=this.app.CG(N))?(N=g.jm(N.Uz(),function(H){return H.quality}),N.length&&(N[0]==="auto"&&N.shift(),N=N.concat(["auto"])),N):[]}; +g.C.xr=function(){return this.getAvailableQualityLevels(1)}; +g.C.mTx=function(){return this.S3()}; +g.C.E_a=function(){return 1}; +g.C.getVideoLoadedFraction=function(N){return this.app.getVideoLoadedFraction(N)}; +g.C.S3=function(){return this.getVideoLoadedFraction()}; +g.C.Jlx=function(){return 0}; +g.C.getSize=function(){var N=this.app.BO().getPlayerSize();return{width:N.width,height:N.height}}; +g.C.setSize=function(){this.app.BO().resize()}; +g.C.loadVideoById=function(N,H,c,t){if(!N)return!1;N=aV(N,H,c);return this.app.loadVideoByPlayerVars(N,t)}; +g.C.b4q=function(N,H,c){N=this.loadVideoById(N,H,c,1);kn(this.app,N,1)}; +g.C.cueVideoById=function(N,H,c,t){N=aV(N,H,c);this.app.cueVideoByPlayerVars(N,t)}; +g.C.du=function(N,H,c){this.cueVideoById(N,H,c,1)}; +g.C.loadVideoByUrl=function(N,H,c,t){N=wjZ(N,H,c);return this.app.loadVideoByPlayerVars(N,t)}; +g.C.d4g=function(N,H,c){N=this.loadVideoByUrl(N,H,c,1);kn(this.app,N,1)}; +g.C.cueVideoByUrl=function(N,H,c,t){N=wjZ(N,H,c);this.app.cueVideoByPlayerVars(N,t)}; +g.C.aq=function(N,H,c){this.cueVideoByUrl(N,H,c,1)}; +g.C.NEE=function(){var N=this.app.D();if(N.Us)return"";var H=this.app.Sg(),c=void 0;H.isLivePlayback||(c=Math.floor(this.app.getCurrentTime(1)));return N.getVideoUrl(H.videoId,this.getPlaylistId()||void 0,c)}; +g.C.Mas=function(){return this.app.getDebugText()}; +g.C.getVideoEmbedCode=function(){var N=this.app.D();if(N.Us)return"";var H=this.app.Sg();return N.getVideoEmbedCode(H.isPrivate?"":H.title,this.app.Sg().videoId,this.app.BO().getPlayerSize(),this.getPlaylistId()||void 0)}; +g.C.xE=function(N,H,c){return rg(this.app,N,H,c)}; +g.C.removeCueRange=function(N){return this.app.VZ(N)}; +g.C.loadPlaylist=function(N,H,c,t){this.app.loadPlaylist(N,H,c,t)}; +g.C.Z4o=function(N,H,c,t){this.loadPlaylist(N,H,c,t);kn(this.app,!0,1)}; +g.C.cuePlaylist=function(N,H,c,t){this.app.cuePlaylist(N,H,c,t)}; +g.C.nextVideo=function(N,H){this.app.nextVideo(N,H)}; +g.C.mcE=function(){this.nextVideo();kn(this.app,!0,1)}; +g.C.previousVideo=function(N){this.app.previousVideo(N)}; +g.C.sef=function(){this.previousVideo();kn(this.app,!0,1)}; +g.C.playVideoAt=function(N){this.app.playVideoAt(N)}; +g.C.zA_=function(N){this.playVideoAt(N);kn(this.app,!0,1)}; +g.C.setShuffle=function(N){var H=this.app.getPlaylist();H&&H.setShuffle(N)}; +g.C.setLoop=function(N){var H=this.app.getPlaylist();H&&(H.loop=N)}; +g.C.Ria=function(){var N=this.app.getPlaylist();if(!N)return null;for(var H=[],c=0;c=400)if(N=this.Sg(),this.J.D().N("client_respect_autoplay_switch_button_renderer"))N=!!N.autoplaySwitchButtonRenderer;else{var H,c,t,h;N=!!((H=N.getWatchNextResponse())==null?0:(c=H.contents)==null?0:(t=c.twoColumnWatchNextResults)==null?0:(h=t.autoplay)==null?0:h.autoplay)!==!1}N?this.T||(this.T=!0,this.a4(this.T),H=this.Sg(),this.EL(H.autonavState),this.J.logVisibility(this.element,this.T)): +(this.T=!1,this.a4(this.T))}; +g.C.EL=function(N){aBD(this)?this.isChecked=N!==1:((N=N!==1)||(N=g.GU(),N=g.sf("web_autonav_allow_off_by_default")&&!N.G0(141)&&g.YI("AUTONAV_OFF_BY_DEFAULT")?!1:!N.G0(140)),this.isChecked=N);unh(this)}; +g.C.onClick=function(){this.isChecked=!this.isChecked;this.J.DL(this.isChecked?2:1);unh(this);if(aBD(this)){var N=this.Sg().autoplaySwitchButtonRenderer;this.isChecked&&(N==null?0:N.onEnabledCommand)?this.J.QS("innertubeCommand",N.onEnabledCommand):!this.isChecked&&(N==null?0:N.onDisabledCommand)&&this.J.QS("innertubeCommand",N.onDisabledCommand)}this.J.logClick(this.element)}; +g.C.getValue=function(){return this.isChecked}; +g.C.Sg=function(){return this.J.getVideoData(1)};g.k(kQv,dK);g.k(P9,n6);P9.prototype.Df=function(N){N?this.T||(this.R4.Ou(this),this.T=!0):this.T&&(this.R4.cU(this),this.T=!1);this.T&&d1(this,hqe())}; +P9.prototype.U=function(){g.nH(this.element,"ytp-menuitem-highlight-transition-enabled")}; +P9.prototype.L=function(N){var H=hqe();N!==H&&(H=g.GU(),t7(190,N),t7(192,!0),H.save(),this.J.QS("cinematicSettingsToggleChange",N))}; +P9.prototype.Os=function(){this.T&&this.R4.cU(this);n6.prototype.Os.call(this)};g.k(Iz3,dK);Iz3.prototype.updateCinematicSettings=function(N){this.T=N;var H;(H=this.menuItem)==null||H.Df(N);this.api.publish("onCinematicSettingsVisibilityChange",N)};g.k(Nol,dK);g.k(UN,dK);UN.prototype.setCreatorEndscreenVisibility=function(N){var H;(H=S7(this.api.g_()))==null||H.a4(N)}; +UN.prototype.T=function(N){function H(t){t==="creatorendscreen"&&(t=S7(c.api.g_()))&&t.qRE(c.hideButton)} +var c=this;this.hideButton=N;this.events.G(this.api,"modulecreated",H);H("creatorendscreen")};g.k(k1S,dK);g.k(IB,n6);IB.prototype.S=function(N){this.U(N?1:0)}; +IB.prototype.dk=function(){if(this.enableNewAudioSettingsMenu||this.L){var N=this.J.getPresentingPlayerType();N===2||N===3?this.T&&(this.T=!1,this.R4.cU(this)):(N=this.getDrcState(),N!==1?(N===0?(d1(this,this.B()===1),this.setEnabled(!0)):(d1(this,!1),this.setEnabled(!1)),this.T||(this.R4.Ou(this),this.T=!0)):this.T&&(this.R4.cU(this),this.T=!1))}else{N=this.hasDrcAudioTrack();var H=this.B()===1&&N;d1(this,H);this.setEnabled(N)}}; +IB.prototype.Os=function(){this.R4.cU(this);n6.prototype.Os.call(this)}; +IB.prototype.Y=function(){this.J.logClick(this.element)};g.k(bx,dK);g.C=bx.prototype;g.C.getDrcUserPreference=function(){return this.T}; +g.C.setDrcUserPreference=function(N){this.api.Lq("drc_set",{pref:N});g.h9("yt-player-drc-pref",N,31536E3);N!==this.T&&(this.T=N,this.updateEnvironmentData(),this.Ty()&&this.api.Fm(),this.api.D$())}; +g.C.updateEnvironmentData=function(){this.api.D().Bd=this.T===1}; +g.C.Ty=function(){var N,H,c=(N=this.api.getVideoData())==null?void 0:(H=N.L)==null?void 0:H.T;if(!c)return!1;if(this.api.getAvailableAudioTracks().length>1&&this.api.N("mta_drc_mutual_exclusion_removal")){var t,h,O=(t=this.api.kW())==null?void 0:(h=t.X3)==null?void 0:h.id;return hA(c,function(F){var M;return F.audio.T&&((M=F.X3)==null?void 0:M.id)===O})}return hA(c,function(F){var M; +return((M=F.audio)==null?void 0:M.T)===!0})}; +g.C.getDrcState=function(){return this.api.Lb(3)};g.k(O2,dK);O2.prototype.onVideoDataChange=function(){var N=this,H=this.api.getVideoData();this.api.gr("embargo",1);var c=H==null?void 0:H.HQ.get("PLAYER_CUE_RANGE_SET_IDENTIFIER_EMBARGO");(c==null?0:c.length)?ouy(this,c.filter(function(t){return C6h(N,t)})):(H==null?0:H.cueRanges)&&ouy(this,H.cueRanges.filter(function(t){return C6h(N,t)}))}; +O2.prototype.B=function(N){return N.embargo!==void 0}; +O2.prototype.Os=function(){dK.prototype.Os.call(this);this.T={}};g.k(NAy,dK); +NAy.prototype.addEmbedsConversionTrackingParams=function(N){var H=this.api.D(),c=H.widgetReferrer,t=H.TE,h=this.T,O="",F=H.getWebPlayerContextConfig();F&&(O=F.embedsIframeOriginParam||"");c.length>0&&(N.embeds_widget_referrer=c);t.length>0&&(N.embeds_referring_euri=t);H.U&&O.length>0&&(N.embeds_referring_origin=O);F&&F.embedsFeature&&(N.feature=F.embedsFeature);h.length>0&&(H.N("embeds_web_enable_lite_experiment_control_arm_logging")?h.unshift(28572):g.Hm(g.ZA(H))&&h.unshift(159628),H=h.join(","), +H=g.Iu()?H:g.Mc(H,4),N.source_ve_path=H);this.T.length=0};g.k(vcD,dK);g.k(oAs,dK);g.k(Mf,g.L);Mf.prototype.Os=function(){g.L.prototype.Os.call(this);this.T=null;this.B&&this.B.disconnect()};g.k(b_l,dK);g.k(zK,dK);zK.prototype.dismissFeaturedProductOverlay=function(){this.api.publish("featuredproductdismissed")};g.k(oe,g.e);oe.prototype.show=function(){g.e.prototype.show.call(this);this.api.logVisibility(this.element,!0)}; +oe.prototype.stopTimer=function(){this.T&&(this.T.dispose(),this.T=null)}; +oe.prototype.onVideoDataChange=function(N){var H,c,t=(H=this.api.getVideoData())==null?void 0:(c=H.getPlayerResponse())==null?void 0:c.playabilityStatus;t&&(H=lHe(t),g.y(this.api.getPlayerStateObject(),128)||N==="dataloaderror"||!H?(this.B=0,this.stopTimer(),this.hide()):(N=(H.remainingTimeSecs||0)*1E3,N>0&&(this.show(),this.updateValue("label",KE(H.label)),DL3(this,N))))}; +oe.prototype.Os=function(){this.stopTimer();g.e.prototype.Os.call(this)};g.k(nOZ,dK);g.k(nf,g.e);nf.prototype.onClick=function(){this.VS.logClick(this.element);this.VS.QS("onFullerscreenEduClicked")}; +nf.prototype.Df=function(){this.VS.isFullscreen()?this.T?this.fade.hide():this.fade.show():this.hide();this.VS.logVisibility(this.element,this.VS.isFullscreen()&&!this.T)};g.k(hP,dK);hP.prototype.updateFullerscreenEduButtonSubtleModeState=function(N){var H;(H=this.T)!=null&&(g.QH(H.element,"ytp-fullerscreen-edu-button-subtle",N),N&&!H.B&&(H.VS.N("player_tooltip_data_title_killswitch")?H.element.setAttribute("title","Scroll for details"):H.element.setAttribute("data-tooltip-title","Scroll for details"),XW(H.VS,H.element,H),H.B=!0))}; +hP.prototype.updateFullerscreenEduButtonVisibility=function(N){var H;(H=this.T)!=null&&(H.T=N,H.Df())};g.k(kMZ,g.e);g.k(I4D,dK);g.k(ma,dK);ma.prototype.getSphericalProperties=function(){var N=g.RS(this.api.g_());return N?N.getSphericalProperties():{}}; +ma.prototype.setSphericalProperties=function(N){if(N){var H=g.RS(this.api.g_());H&&H.setSphericalProperties(N,!0)}};g.k(AI,dK);g.C=AI.prototype;g.C.createClientVe=function(N,H,c,t){this.api.createClientVe(N,H,c,t===void 0?!1:t)}; +g.C.createServerVe=function(N,H,c){this.api.createServerVe(N,H,c===void 0?!1:c)}; +g.C.setTrackingParams=function(N,H){this.api.setTrackingParams(N,H)}; +g.C.logClick=function(N,H){this.api.logClick(N,H)}; +g.C.logVisibility=function(N,H,c){this.api.logVisibility(N,H,c)}; +g.C.hasVe=function(N){return this.api.hasVe(N)}; +g.C.destroyVe=function(N){this.api.destroyVe(N)};var jH={},P3d=(jH[0]=function(N){return GKs(N,function(H){var c;return(c=H.X3)==null?void 0:c.id})},jH[2]=function(N){return Em(N,mK)},jH[3]=function(N){return Em(N,uL)},jH[4]=function(N){return Em(N,QCf)},jH[1]=function(N){return Em(N,Pr)},jH); +QJv.prototype.Lb=function(N){return this.L[N]}; +QJv.prototype.D$=function(){for(var N=this.B,H={},c=g.K(SMD),t=c.next();!t.done;t=c.next())if(t=t.value,this.T[t]){N=BG4[t].QT(N,this.videoData);for(var h=g.K(SMD),O=h.next();!O.done;O=h.next())O=O.value,H[O]!==void 0||hA(N,BG4[O].F7)||(H[O]=BG4[t].d$);H[t]===void 0&&(H[t]=0)}else H[t]=1;this.L=H}; +var SMD=[0,1,2,3,4],M3={},BG4=(M3[0]={d$:2,F7:C3t,QT:AAD},M3[2]={d$:4,F7:mK,QT:FjR},M3[3]={d$:5,F7:uL,QT:NpR},M3[1]={d$:3,F7:Pr,QT:u$t},M3[4]={d$:6,F7:QCf,QT:prh},M3);var jXl=!1;n3y.prototype.setPlaybackRate=function(N){this.playbackRate=Math.max(1,N)}; +n3y.prototype.getPlaybackRate=function(){return this.playbackRate};duw.prototype.I8=function(N){var H=g.dv(N.info.mR.info,this.GW.K4),c=N.info.Y_+this.U,t=N.info.startTime*1E3;if(this.policy.w_)try{t=this.policy.w_?g.TA(N)*1E3:N.info.startTime*1E3}catch(F){Math.random()>.99&&this.logger&&(t=Qy(N.B).slice(0,1E3),this.logger&&this.logger({parserErrorSliceInfo:N.info.uX(),encodedDataView:g.Eq(t,4)})),t=N.info.startTime*1E3}var h=N.info.clipId,O=this.policy.w_?g.c3e(N)*1E3:N.info.duration*1E3;this.policy.w_&&(t<0||O<0)&&(this.logger&&(this.logger({missingSegInfo:N.info.uX(), +startTimeMs:t,durationMs:O}),this.policy.Qa||(t<0&&(t=N.info.startTime*1E3),O<0&&(O=N.info.duration*1E3))),this.policy.Qa&&(t<0&&(t=N.info.startTime*1E3),O<0&&(O=N.info.duration*1E3)));return{formatId:H,Y_:c,startTimeMs:t,clipId:h,i_:O}}; +duw.prototype.Xm=function(N){this.timestampOffset=N};Gq.prototype.seek=function(N,H){N!==this.targetTime&&(this.seekCount=0);this.targetTime=N;var c=this.videoTrack.T,t=this.audioTrack.T,h=this.audioTrack.q4,O=r6v(this,this.videoTrack,N,this.videoTrack.q4,H);H=r6v(this,this.audioTrack,this.policy.kG?N:O,h,H);N=Math.max(N,O,H);this.U=!0;this.GW.isManifestless&&(h5R(this,this.videoTrack,c),h5R(this,this.audioTrack,t));return N}; +Gq.prototype.isSeeking=function(){return this.U}; +Gq.prototype.d1=function(N){this.B=N}; +var g6h=2/24;var BCd=0;g.C=Sj.prototype;g.C.Zb=function(){this.TW=this.now();yWZ(this.YG,this.TW);this.qT.Zb()}; +g.C.Af=function(N,H){var c=this.policy.B?(0,g.Lh)():0;re(this,N,H);N-this.Y<10&&this.B>0||this.Di(N,H);this.qT.Af(N,H);this.policy.B&&(N=(0,g.Lh)()-c,this.kG+=N,this.UF=Math.max(N,this.UF))}; +g.C.Di=function(N,H){var c=(N-this.Y)/1E3,t=H-this.L;this.YS||(Q6D(this.YG,c,t),this.xe(c,t));this.Y=N;this.L=H}; +g.C.VG=function(){this.NT&&IcS(this);this.qT.VG()}; +g.C.Qx=function(N){this.NT||(this.NT=this.S-this.Uu+N,this.S_=this.S,this.T3=this.C)}; +g.C.H1=function(N,H){N=N===void 0?this.C:N;H=H===void 0?this.S:H;this.B>0||(this.Z=N,this.B=H,this.Bp=this.isActive=!0)}; +g.C.q7=function(){return this.ul||2}; +g.C.qk=function(){}; +g.C.H_=function(){var N,H={rn:this.requestNumber,rt:(this.C-this.T).toFixed(),lb:this.S,stall:(1E3*this.U).toFixed(),ht:(this.TW-this.T).toFixed(),elt:(this.Z-this.T).toFixed(),elb:this.B,d:(N=this.Ix)==null?void 0:N.UR()};this.url&&MKR(H,this.url);this.policy.B&&(H.mph=this.UF.toFixed(),H.tph=this.kG.toFixed());H.ulb=this.Cq;H.ult=this.Us;return H}; +g.C.now=function(){return(0,g.Lh)()}; +g.C.deactivate=function(){this.isActive&&(this.isActive=!1)};g.k(P3,Sj);g.C=P3.prototype;g.C.H_=function(){var N=Sj.prototype.H_.call(this);N.pb=this.Sy;N.pt=(1E3*this.Dt).toFixed();N.se=this.n4;return N}; +g.C.KE=function(){var N=this.qT;this.Xg||(this.Xg=N.KE?N.KE():1);return this.Xg}; +g.C.Kk=function(){return this.SV?this.KE()!==1:!1}; +g.C.kF=function(N,H,c){if(!this.C4){this.C4=!0;if(!this.YS){re(this,N,H);this.Di(N,H);var t=this.KE();this.n4=c;if(!this.YS)if(t===2){t=N-this.Z0)||Qd(this,t,H),this.B>0&&Aq(this.YG,H,this.U));N=(N-this.T)/ +1E3||.01;this.policy.Z&&!(this.B>0)||q7(this.YG,N,this.L,YgR(this),this.MF)}this.deactivate()}}; +g.C.VY=function(N,H,c){c&&(this.Xg=2);N<0&&this.ul&&(N=this.ul);H?this.zW+=N:this.vp+=N}; +g.C.q7=function(){return this.vp||this.zW||Sj.prototype.q7.call(this)}; +g.C.Di=function(N,H){var c=(N-this.Y)/1E3,t=H-this.L,h=this.KE();this.isActive?h===1&&((t>0||this.policy.S)&&(c>.2||t<1024)?(this.U+=c,t>0&&c>.2&&Qd(this,this.EG?c:.05,t),this.WO=!0):t>0&&(Qd(this,c,t),this.WO=!0)):H&&H>=this.policy.T&&this.H1(N,H);Sj.prototype.Di.call(this,N,H)}; +g.C.I1=function(N){if(!this.YS){re(this,N,this.S);var H=(N-this.T)/1E3;this.KE()!==2&&this.B>0&&(this.U+=(N-this.Y)/1E3,Aq(this.YG,this.L,this.U));q7(this.YG,H,this.L,YgR(this),this.MF,!0);N=(N-this.Y)/1E3;Q6D(this.YG,N,0);this.xe(N,0)}}; +g.C.H1=function(N,H){N=N===void 0?this.C:N;H=H===void 0?this.S:H;if(!(this.B>0)&&(Sj.prototype.H1.call(this,N,H),this.KE()===1)){H=(this.TW-this.T)/1E3;var c=(N-this.TW)/1E3;this.SV&&mL(this,this.now());this.mG||this.YS||(this.ul&&(c=Math.max(0,c-this.ul)),N=this.YG,N.Z.dJ(1,H),N.Ix.dJ(1,c))}}; +g.C.UO=function(){this.SV&&mL(this,this.now());return this.Kq}; +g.C.bY=function(){var N;if(N=this.L>this.Nn)N=(N=this.L)?N>=this.policy.T:!1;return N}; +g.C.Ym=function(){return this.w_}; +g.C.hT=function(N){N=N===void 0?this.now():N;if(this.SV){mL(this,N);if(this.Xg?this.Kk():this.ox!==this.gE){var H=this.gE;if(N0?c+N:c+Math.max(N,H)}; +g.C.Z1=function(){return this.now()-this.Z}; +g.C.CV=function(){return(this.L-this.B)*1E3/this.Z1()||0}; +g.C.Ws=function(){return this.Z};vf.prototype.feed=function(N){WP(this.T,N);this.Ec()}; +vf.prototype.Ec=function(){if(this.U){if(!this.T.totalLength)return;var N=this.T.split(this.L-this.B),H=N.Iz;N=N.CA;if(!this.qT.Qx(this.U,H,this.B,this.L))return;this.B+=H.totalLength;this.T=N;this.B===this.L&&(this.U=this.L=this.B=void 0)}for(;;){var c=0;N=g.K(g_e(this.T,c));H=N.next().value;c=N.next().value;c=g.K(g_e(this.T,c));N=c.next().value;c=c.next().value;if(H<0||N<0)break;if(!(c+N<=this.T.totalLength)){if(!(this.qT.Qx&&c+1<=this.T.totalLength))break;c=this.T.split(c).CA;this.qT.Qx(H,c,0, +N)&&(this.U=H,this.B=c.totalLength,this.L=N,this.T=new eB([]));break}N=this.T.split(c).CA.split(N);c=N.CA;this.qT.Xk(H,N.Iz);this.T=c}}; +vf.prototype.dispose=function(){this.T=new eB};g.C=Lx.prototype;g.C.Wx=function(){return 0}; +g.C.lm=function(){return null}; +g.C.Hc=function(){return null}; +g.C.Tr=function(){return this.state>=1}; +g.C.isComplete=function(){return this.state>=3}; +g.C.OG=function(){return this.state===5}; +g.C.onStateChange=function(){}; +g.C.Xf=function(N){var H=this.state;this.state=N;this.onStateChange(H);this.callback&&this.callback(this,H)}; +g.C.Gt=function(N){N&&this.state=this.xhr.HEADERS_RECEIVED}; +g.C.getResponseHeader=function(N){try{return this.xhr.getResponseHeader(N)}catch(H){return""}}; +g.C.BC=function(){return+this.getResponseHeader("content-length")}; +g.C.wL=function(){return this.B}; +g.C.Dk=function(){return this.status>=200&&this.status<300&&!!this.B}; +g.C.uJ=function(){return this.T.totalLength>0}; +g.C.M8=function(){var N=this.T;this.T=new eB;return N}; +g.C.iA=function(){return this.T}; +g.C.abort=function(){this.uo=!0;this.xhr.abort()}; +g.C.hg=function(){return!0}; +g.C.fM=function(){return this.L}; +g.C.Yl=function(){return""};g.C=oHL.prototype; +g.C.run=function(){var N=this,H,c,t,h,O,F,M,f,d,W,z,E,x,q,r;return g.Y(function(w){if(w.T==1){N.status=200;H=N.T.get("docid");c=r1(N.T.get("fmtid")||"");t=N.T.get("lmt")||"0";h=+(N.T.get("csz")||0);if(!H||!c||!h)throw Error("Invalid local URL");N.T.get("ck")&&N.T.get("civ")&&(O=new F8h(N.T.get("ck"),N.T.get("civ")));F=N.range;M=Math.floor(F.start/h);f=Math.floor(F.end/h);d=M}if(w.T!=5)return d<=f?g.a(w,SFd(H,c,t,d,O),5):w.rE(0);W=w.B;if(W===void 0)throw Error("invariant: data is undefined");z=d*h; +E=(d+1)*h;x=Math.max(0,F.start-z);q=Math.min(F.end+1,E)-(x+z);r=new Uint8Array(W.buffer,x,q);N.B.append(r);N.loaded+=q;N.loaded=200&&this.status<300&&!!this.B}; +g.C.uJ=function(){return!!this.T.totalLength}; +g.C.M8=function(){var N=this.T;this.T=new eB;return N}; +g.C.iA=function(){return this.T}; +g.C.uo=function(){return this.aborted}; +g.C.abort=function(){this.L&&this.L.cancel().catch(function(){}); +this.U&&this.U.abort();this.aborted=!0}; +g.C.hg=function(){return!0}; +g.C.fM=function(){return this.S}; +g.C.Yl=function(){return this.errorMessage};g.C=Cuv.prototype;g.C.onDone=function(){if(!this.uo){this.status=this.xhr.status;try{this.response=this.xhr.response,this.B=this.response.byteLength}catch(N){}this.T=!0;this.qT.VG()}}; +g.C.zt=function(){this.xhr.readyState===2&&this.qT.Zb()}; +g.C.onProgress=function(N){this.uo||(this.status=this.xhr.status,this.T||(this.B=N.loaded),this.qT.Af((0,g.Lh)(),N.loaded))}; +g.C.He=function(){return this.xhr.readyState>=2}; +g.C.getResponseHeader=function(N){try{return this.xhr.getResponseHeader(N)}catch(H){return g.aS(Error("Could not read XHR header "+N)),""}}; +g.C.BC=function(){return+this.getResponseHeader("content-length")}; +g.C.wL=function(){return this.B}; +g.C.Dk=function(){return this.status>=200&&this.status<300&&this.T&&!!this.B}; +g.C.uJ=function(){return this.T&&!!this.response&&!!this.response.byteLength}; +g.C.M8=function(){var N=this.response;this.response=void 0;return new eB([new Uint8Array(N)])}; +g.C.iA=function(){return new eB([new Uint8Array(this.response)])}; +g.C.abort=function(){this.uo=!0;this.xhr.abort()}; +g.C.hg=function(){return!1}; +g.C.fM=function(){return!1}; +g.C.Yl=function(){return""};g.k(b9,g.L);b9.prototype.gq=function(){if(!this.XH.length)return[];var N=this.XH;this.XH=[];this.L=g.vU(N).info;return N}; +b9.prototype.UU=function(){return this.XH}; +b9.prototype.Os=function(){g.L.prototype.Os.call(this);this.T=null;this.XH.length=0;this.L4.length=0;this.L=null};g.k(CT,g.L);g.C=CT.prototype; +g.C.k6s=function(){if(!this.uo()){var N=(0,g.Lh)(),H=!1;if(this.policy.y5){var c=this.timing.B>0?this.timing.Z:this.timing.T;this.policy.fDs&&this.L&&(c=this.L);N=N-c-(this.policy.W9?this.policy.xt:this.timing.q7()*1E3);c=Mr(we(this),!1);N>=2E3*c?H=!0:N>=this.policy.vM*c&&(this.T=this.policy.jY)}else if(this.timing.B>0){if(this.Y){this.policy.bX&&(this.T=0);return}N=this.timing.Ym();this.timing.hT();this.timing.Ym()-N>=this.policy.il*.8?(this.T++,H=this.T>=5):this.T=0}else H=N-this.timing.UO(),this.policy.jY&& +H>0&&(this.T+=1),N=Mr(we(this),!1)*this.policy.Y7,H=H>N*1E3;this.T>0&&this.qT.Qp();H?this.Ry():this.B.start()}}; +g.C.Ry=function(){this.S=!0;this.qT.ZA();this.lastError="net.timeout";DE(this)}; +g.C.canRetry=function(N){var H=we(this);N=N?this.policy.Ss:this.policy.Gn;return H.timedOut0&&(H=YW(H.T,0),N.ubyte=H,c===1&&H===0&&(N.b248180278=!0))}this.zE&&(N.rc=this.policy.ya?this.zE:this.zE.toString());this.policy.AN&&this.lD&&(N.tr=this.lD);N.itag=this.info.L4[0].mR.info.itag;N.ml=""+ +this.info.L4[0].mR.g0();N.sq=""+this.info.L4[0].Y_;this.tj&&(N.ifi=""+ +te(2,this.info.JF.B));this.zE!==410&&this.zE!==500&&this.zE!==503||(N.fmt_unav="true");var t;(c=this.errorMessage||((t=this.xhr)==null? +void 0:t.Yl()))&&(N.msg=c);this.Cl&&(N.smb="1");this.info.isDecorated()&&(N.sdai="1");return N}; +g.C.ZT=function(){return zGL(this.timing)}; +g.C.Yl=function(){return this.xhr.Yl()||""}; +g.C.bY=function(){return this.isComplete()||this.timing.bY()}; +g.C.Af=function(){!this.uo()&&this.xhr&&(this.zE=this.xhr.status,this.policy.gC&&this.Ie&&this.Lm(!1),this.I9()?this.Gt(2):!this.zo&&this.bY()&&(this.Gt(),this.zo=!0))}; +g.C.Zb=function(){if(!this.uo()&&this.xhr){if(!this.sC&&this.xhr.He()&&this.xhr.getResponseHeader("X-Walltime-Ms")){var N=Number(this.xhr.getResponseHeader("X-Walltime-Ms"));this.sC=((0,g.Lh)()-N)/1E3}this.xhr.He()&&this.xhr.getResponseHeader("X-Restrict-Formats-Hint")&&this.policy.LL_&&!CCZ()&&g.h9("yt-player-headers-readable",!0,2592E3);N=Number(this.xhr.getResponseHeader("X-Head-Seqnum"));var H=Number(this.xhr.getResponseHeader("X-Head-Time-Millis")),c;(c=this.CP)==null||c.stop();this.X_=N||this.X_; +this.hZ=H||this.hZ}}; +g.C.VG=function(){var N=this.xhr;if(!this.uo()&&N){this.zE=N.status;N=this.wV(N);if(this.policy.AN){var H;(H=this.CP)==null||H.stop()}N===5?DE(this.Ke):this.Xf(N);this.Ke.B.stop()}}; +g.C.wV=function(N){wVL(this);if(ZG(this.Ke,this.xhr.status,this.kd?this.timing.Bp||this.u6:this.xhr.Dk(),!1,this.HJ))return 5;var H="";Py(this.Ke,this.xhr)&&(H=u83(this.Ke,this.xhr));if(H)return PM(we(this.Ke)),this.info.uw(this.tj,H),3;H=N.wL();if(this.KA){this.Lm(!0);wVL(this);if(ZG(this.Ke,this.xhr.status,this.timing.Bp||this.u6,!1,this.HJ))return 5;if(!this.Cz){if(this.u6)return PM(we(this.Ke)),3;this.Ke.lastError="net.closed";return 5}}else{if(ZG(this.Ke,this.xhr.status,this.xhr.Dk(),!1,this.HJ))return 5; +var c=this.info.L;if(c&&c!==H||N.fM())return this.Ke.lastError="net.closed",5;this.Lm(!0)}c=mMS(this)?N.getResponseHeader("X-Bandwidth-Est"):0;if(N=mMS(this)?N.getResponseHeader("X-Bandwidth-Est3"):0)this.EM=!0,this.policy.Py&&(c=N);Lgv(this.Ke,H,c?Number(c):0,this.info.L4[0].type===5);return 4}; +g.C.canRetry=function(){this.uo();var N=this.info.isDecorated();return this.Ke.canRetry(N)}; +g.C.onStateChange=function(){this.isComplete()&&(this.policy.PF?this.ZA():this.timing.deactivate())}; +g.C.Ry=function(){this.Ke.Ry()}; +g.C.Qp=function(){this.callback&&this.callback(this,this.state)}; +g.C.Jf=function(){return this.Ke.Jf()}; +g.C.dispose=function(){Lx.prototype.dispose.call(this);this.Ke.dispose();var N;(N=this.CP)==null||N.dispose();this.policy.PF||this.ZA()}; +g.C.ZA=function(){this.xhr&&this.xhr.abort();this.timing.deactivate()}; +g.C.gq=function(){if(!this.UU().length)return[];this.Lk=!0;return this.Ie.gq()}; +g.C.I9=function(){if(this.state<1)return!1;if(this.Ie&&this.Ie.XH.length)return!0;var N;return((N=this.xhr)==null?0:N.uJ())?!0:!1}; +g.C.UU=function(){this.Lm(!1);return this.Ie?this.Ie.UU():[]}; +g.C.Lm=function(N){try{if(N||this.xhr.He()&&this.xhr.uJ()&&!Py(this.Ke,this.xhr)&&!this.d5)this.Ie||(this.Ie=new b9(this.policy,this.info.L4)),this.xhr.uJ()&&(this.KA?this.KA.feed(this.xhr.M8()):ho(this.Ie,this.xhr.M8(),N&&!this.xhr.uJ()))}catch(H){this.KA?iVy(this,H):g.aS(H)}}; +g.C.Xk=function(N,H){switch(N){case 21:N=H.split(1).CA;nAw(this,N);break;case 22:this.Cz=!0;ho(this.Ie,new eB([]),!0);break;case 43:if(N=fB(new kl(H),1))this.info.uw(this.tj,N),this.u6=!0;break;case 45:H=YNL(new kl(H));N=H.q5;H=H.YL;N&&H&&(this.Cx=N/H);break;case 44:this.Wn=WVt(new kl(H));var c,t,h;!this.timing.Bp&&((c=this.Wn)==null?void 0:c.action)===4&&((t=this.Wn)==null?0:(h=t.Wj)==null?0:h.kd)&&(this.kd=this.Wn.Wj.kd);break;case 53:this.policy.AN&&(N=scR(new kl(H)).TZ)&&(this.CP||(this.TZ=N, +this.CP=new g.kT(this.TX,N,this)),this.CP.start());break;case 60:this.IL=g_(new kl(H));break;case 58:if(N=K$R(new kl(H)))this.u3=N,N.u3===3&&(this.HJ=!0)}}; +g.C.Qx=function(N,H,c,t){c||this.timing.Qx(t);if(N!==21)return!1;if(N=this.policy.gC)if(N*=this.info.L4[0].mR.info.OF,H.totalLength+c!==t&&H.totalLength0)return!1;if(!this.xhr.He())return!0;if(this.KA)var N=!this.info.L;else this.xhr.BC()?N=!1:(N=this.xhr.getResponseHeader("content-type"),N=N==="audio/mp4"||N==="video/mp4"||N==="video/webm");if(!N)return!1;if(isNaN(this.info.Io)){N=this.xhr.getResponseHeader("x-head-seqnum");var H=this.timing.policy.C?1:0;if(N&&Number(N)>this.info.L4[0].Y_+H)return!1}return!0}; +g.C.Vp=function(){return+this.xhr.getResponseHeader("X-Segment-Lmt")||0}; +g.C.lm=function(){this.xhr&&(this.X_=Number(this.xhr.getResponseHeader("X-Head-Seqnum")));return this.X_}; +g.C.Hc=function(){this.xhr&&(this.hZ=Number(this.xhr.getResponseHeader("X-Head-Time-Millis")));return this.hZ}; +g.C.Wd=function(){return this.Ke.Wd()}; +g.C.TX=function(){if(!this.uo()&&this.xhr){this.lD="heartbeat";var N=this.Ke;N.T+=2;this.Qp()}};g.k(id,Sj);g.C=id.prototype;g.C.Di=function(N,H){var c=(N-this.Y)/1E3,t=H-this.L;this.B>0?t>0&&(this.ox&&(c>.2||t<1024?(this.U+=c,c>.2&&bPD(this,.05,t)):bPD(this,c,t)),this.gE&&(this.Kq+=t,this.vp+=c)):H>this.policy.T&&this.H1(N,H);Sj.prototype.Di.call(this,N,H)}; +g.C.kF=function(N,H){re(this,N,H);this.Di(N,H);this.ox&&(H=this.L*this.snapshot.stall+this.L/this.snapshot.byterate,this.B>0&&Aq(this.YG,this.Kq,this.U),N=(N-this.T)/1E3||.01,this.policy.Z&&!(this.B>0)||q7(this.YG,N,this.L,H,!1))}; +g.C.I1=function(N){re(this,N,this.S);var H=(N-this.Y)/1E3;Q6D(this.YG,H,0);this.xe(H,0);!this.ox&&this.B>0||(H=this.L*this.snapshot.stall+this.L/this.snapshot.byterate,this.B>0&&(this.U+=(N-this.Y)/1E3,Aq(this.YG,this.Kq,this.U)),q7(this.YG,(N-this.T)/1E3||.01,this.L,H,!1,!0))}; +g.C.wz=function(N){N=N.Cc||2147483647;(N&2)!==2&&(this.gE=!1);(N&1)===1&&(this.ox=!0)}; +g.C.Ht=function(N){N=N.Cc||2147483647;(N&2)===2&&(this.gE=!1);(N&1)===1&&(this.ox=!1)}; +g.C.Ws=function(){return this.Z}; +g.C.Z1=function(){var N=this.gE?this.now()-this.Y:0;return Math.max(this.vp*1E3+N,1)}; +g.C.CV=function(){return this.Kq*1E3/this.Z1()}; +g.C.H1=function(N,H){N=N===void 0?this.C:N;H=H===void 0?this.S:H;this.B>0||(Sj.prototype.H1.call(this,N,H),H=this.YG,N=(N-this.TW)/1E3,H.Z.dJ(1,(this.TW-this.T)/1E3),H.Ix.dJ(1,N))}; +g.C.qk=function(N){this.zW=N}; +g.C.H_=function(){var N=Sj.prototype.H_.call(this);N.rbw=this.CV();N.rbe=+this.gE;N.gbe=+this.ox;N.ackt=(this.zW-this.T).toFixed();return N}; +g.C.hT=function(){}; +g.C.Ym=function(){return NaN}; +g.C.UO=function(){return this.T+this.snapshot.delay*1E3};jY.prototype.Xk=function(N,H){switch(N){case 20:N=new kl(H);N={jH:IZ(N,1),videoId:fB(N,2),itag:IZ(N,3),lmt:IZ(N,4),xtags:fB(N,5),lj:IZ(N,6),cL:pz(N,8),S$:IZ(N,9),PUl:IZ(N,10),startMs:IZ(N,11),durationMs:IZ(N,12),mD:IZ(N,14),timeRange:Hj(N,15,TlS),hd:IZ(N,16),rX:IZ(N,17),clipId:fB(N,1E3)};this.QO(N);break;case 21:this.FD(H,!1);break;case 22:this.hV(H);break;case 31:N=jL(H,xmy);this.qT.tH(N);break;case 52:N=jL(H,JDh);this.qT.w9(N);break;default:this.vE(N,H)}}; +jY.prototype.QO=function(){}; +jY.prototype.vE=function(){};var y84=new Set([53,49,50]);g.k($eh,jY);g.C=$eh.prototype;g.C.vE=function(N,H){Xo3(this.qT)&&!y84.has(N)?this.T.push({id:N,data:H}):JE3(this,N,H)}; +g.C.Ab=function(N){N=new kl(N);N={Jgs:lA(N,1,Zx),rga:lA(N,2,Zx)};this.qT.Ab(N)}; +g.C.Fz=function(N){var H=new kl(N);N=cM(H,1);var c=cM(H,2);H=cM(H,3);this.qT.Fz(N,c,H)}; +g.C.l3=function(N){N=YNL(new kl(N));this.qT.l3(N)}; +g.C.Qf=function(N){N=jL(N,U5L);this.qT.Qf(N)}; +g.C.jN=function(N){N=new kl(N);N={videoId:fB(N,1),formatId:Hj(N,2,Zx),endTimeMs:IZ(N,3),XMl:IZ(N,4),mimeType:fB(N,5),Mw:Hj(N,6,vFZ),indexRange:Hj(N,7,vFZ),QU:Hj(N,8,EEL)};this.qT.jN(N)}; +g.C.gW=function(N){N=new kl(N);N={type:IZ(N,1),scope:IZ(N,2),value:jc(N,3),sendByDefault:pz(N,4),writePolicy:IZ(N,5)};this.qT.gW(N)}; +g.C.xU=function(){this.qT.xU()}; +g.C.W_=function(N){N=Bld(new kl(N));this.qT.W_(N)}; +g.C.UX=function(N){N=scR(new kl(N));this.qT.UX(N)}; +g.C.n5=function(N){N=WVt(new kl(N));this.qT.n5(N)}; +g.C.OX=function(N){N={redirectUrl:fB(new kl(N),1)};this.qT.OX(N)}; +g.C.FD=function(N){var H=YW(N,0);if(N.totalLength!==1){N=N.split(1).CA;var c=this.B[H]||null;c&&Ko(this.qT.sy,H,c,N)}}; +g.C.hV=function(N){N=YW(N,0);var H=this.B[N]||null;H&&this.qT.hV(N,H)}; +g.C.QO=function(N){var H=N.jH,c=N.cL,t=N.lj,h=N.rX,O=N.hd,F=N.S$,M=N.startMs,f=N.durationMs,d=N.timeRange,W=N.mD,z=N.clipId,E=hM(N);N=r8g.has(gQ[""+N.itag]);this.B[H]=E;this.qT.VY(E,N,{jH:H,cL:!!c,lj:t!=null?t:-1,S$:F!=null?F:-1,startMs:M!=null?M:-1,durationMs:f!=null?f:-1,mD:W,rX:h,hd:O,clipId:z,timeRange:d})}; +g.C.wz=function(N){N={Cc:IZ(new kl(N),1)};this.qT.wz(N)}; +g.C.Ht=function(N){N={Cc:IZ(new kl(N),1)};this.qT.Ht(N)}; +g.C.v1=function(N){N=K$R(new kl(N));this.qT.v1(N)}; +g.C.s9=function(N){N={xi:Hj(new kl(N),1,Kzl)};this.qT.s9(N)}; +g.C.onSnackbarMessage=function(N){N=IZ(new kl(N),1);this.qT.onSnackbarMessage(N)}; +g.C.FV=function(N){N={QP:lA(new kl(N),1,Dgl)};this.qT.FV(N)}; +g.C.qV=function(N){N=new kl(N);N={reloadPlaybackParams:Hj(N,1,YkD),HV:pz(N,2)};this.qT.qV(N)}; +g.C.Hb=function(){for(var N=g.K(this.T),H=N.next();!H.done;H=N.next())H=H.value,JE3(this,H.id,H.data);this.T=[]};g.k(wo,g.L);g.C=wo.prototype;g.C.uN=function(){return Array.from(this.Hr.keys())}; +g.C.pg=function(N){N=this.Hr.get(N);var H=N.XH;N.x4+=H.totalLength;N.XH=new eB;return H}; +g.C.wR=function(N){return this.Hr.get(N).wR}; +g.C.eO=function(N){return this.Hr.get(N).eO}; +g.C.VY=function(N,H,c){this.Hr.get(N)||this.Hr.set(N,{XH:new eB,x4:0,bytesReceived:0,AD:0,qn:!1,wR:!1,eO:!1,ll:H,uT:[],L4:[],YU:[],TO:!1,Hv:new Map,kT:new Map,Bu:[]});H=this.Hr.get(N);this.GW?(N=aLD(this,N,c),DOf(this,c.jH,H,N)):(c.cL?H.AD=c.mD:H.YU.push(c),H.uT.push(c))}; +g.C.mw=function(N){var H;return((H=this.Hr.get(N))==null?void 0:H.L4)||[]}; +g.C.Gt=function(){for(var N=g.K(this.Hr.values()),H=N.next();!H.done;H=N.next())if(H=H.value,H.qn){if(H.onProgress)H.onProgress();H.qn=!1}}; +g.C.hV=function(N,H){H=this.Hr.get(H);DJ?H&&!H.wR&&(H.Hv.get(N)?H.Hv.get(N).ZJ=!0:H.Hv.set(N,{data:new eB,Yz:0,ZJ:!0}),H.eO=!0):H&&!H.eO&&(H.eO=!0)}; +g.C.gq=function(N){if(DJ){var H=this.Hr.get(N);if(H)for(var c=g.K(H.Hv),t=c.next();!t.done;t=c.next()){var h=g.K(t.value);t=h.next().value;h=h.next().value;var O=H.kT.get(t);if(cy(O[0])){if(!h.ZJ)continue;var F=h.data,M=0,f=[];O=g.K(O);for(var d=O.next();!d.done;d=O.next()){d=d.value;var W=d.B,z=D_(F,M,W);M+=W;f.push(new to(d,z))}H.Bu.push.apply(H.Bu,g.HE(f))}else if(h.data.totalLength>0||!O[0].range&&h.ZJ)F=void 0,M=O[0],f=h.Yz,O=h.data,M.range||(F=h.ZJ),F=new to($UZ(M,M.T+f,O.totalLength,F),O), +h.Yz+=F.info.B,H.Bu.push(F);H.Hv.get(t).data=new eB;h.ZJ&&H.Hv.delete(t)}N=this.Hr.get(N);if(!N)return[];H=N.Bu;N.Bu=[];c=g.K(H);for(t=c.next();!t.done;t=c.next())N.x4+=t.value.info.B;return H||[]}c=(H=this.Hr.get(N))==null?void 0:H.Ie;if(!c)return[];this.Lm(N,c);return c.gq()}; +g.C.I9=function(N){if(DJ)return p3(this,N);var H,c,t;return!!((c=(H=this.Hr.get(N))==null?void 0:H.Ie)==null?0:(t=c.UU())==null?0:t.length)||p3(this,N)}; +g.C.Lm=function(N,H){for(;p3(this,N);){var c=this.pg(N);var t=N;t=this.Hr.get(t).wR&&!N_e(this,t);ho(H,c,t&&iGR(this,N))}}; +g.C.Os=function(){g.L.prototype.Os.call(this);for(var N=g.K(this.Hr.keys()),H=N.next();!H.done;H=N.next())QM(this,H.value);var c;if((c=this.wk)==null?0:c.qj)for(N=g.K(this.Hr.values()),H=N.next();!H.done;H=N.next())H=H.value,H.Hv.clear(),H.kT.clear(),H.Bu.length=0,H.L4.length=0,H.uT.length=0,H.YU.length=0;this.Hr.clear()}; +var DJ=!1;var GLg=new Set([2]);g.k(z2,g.L);g.C=z2.prototype;g.C.Af=function(){!this.uo()&&this.xhr&&(this.Lm(!1),eI(this.qT,this))}; +g.C.Zb=function(){}; +g.C.VG=function(){if(!this.uo()&&this.xhr){var N=this.wV();N===5?DE(this.Ke):this.Xf(N);this.Ke.B.stop();var H;(H=this.Xi)==null||H.stop()}}; +g.C.wV=function(){var N="";Py(this.Ke,this.xhr)&&(N=u83(this.Ke,this.xhr));if(N)return this.info.JF.uw(this.tj,N),3;this.Lm(!0);if(ZG(this.Ke,this.xhr.status,this.xhr.Dk(),this.info.eC(),this.HJ))return 5;if(this.OM)return 3;Lgv(this.Ke,this.xhr.wL(),0,this.eC());this.policy.qc&&Tfl(this.qT);return 4}; +g.C.Lm=function(N){var H=this.xhr;!N&&Py(this.Ke,this.xhr)||!H.uJ()||(N=H.M8(),this.KA.feed(N))}; +g.C.Xk=function(N,H){this.xhr.hg()&&N===21&&f$t(this);this.g1.Xk(N,H)}; +g.C.Qx=function(N,H,c,t){c||(this.hj.Qx(t),this.policy.rz&&N===21&&f$t(this));if(N!==21)return!1;this.hj.Bp=!0;N=H.totalLength;c||(this.gN=YW(H,0),H=H.split(1).CA);var h=this.policy.eI,O=this.g1.B[this.gN],F=this.GW.L.get(O);if(h&&F&&(h*=F.info.OF,N+c!==t&&N0){this.policy.y5&&this.Ke.B.stop();N=this.hj.Z1();H=this.hj.CV();var c=Rqy(this,N);if(!(H>c.Ur||c.mZ>0&&this.info.S5()>c.mZ)){this.OH=(0,g.Lh)();var t;(t=this.Xi)==null||t.stop();this.policy.qc&&(t=this.qT,N={xB:Math.round(H*N/1E3),h6:N},t.policy.qc&&(t.Kq=N,t.In++));this.Ry()}}}}; +g.C.Ry=function(){this.Ke.Ry()}; +g.C.n5=function(N){this.qT.n5(N,this.DD())}; +g.C.OX=function(N){this.OM=!0;this.info.JF.uw(this.tj,N.redirectUrl)}; +g.C.wz=function(N){this.hj instanceof id&&this.hj.wz(N)}; +g.C.Ht=function(N){this.hj instanceof id&&this.hj.Ht(N)}; +g.C.jN=function(N){var H=N.formatId,c=hM({itag:H.itag,lmt:H.lmt,xtags:H.xtags}),t,h,O=new oa(((t=N.Mw)==null?void 0:t.first)||0,((h=N.Mw)==null?void 0:h.p_)||0),F,M;t=new oa(((F=N.indexRange)==null?void 0:F.first)||0,((M=N.indexRange)==null?void 0:M.p_)||0);this.GW.L.get(c)||(c=N.QU||{},c.mimeType=N.mimeType,c.itag=H.itag,c.lastModified=""+(H.lmt||0),c.xtags=H.xtags,N=this.GW,H=NQ(""),c=bl(c,null),XT(N,new cI(H,c,O,t)))}; +g.C.l3=function(N){this.qT.l3(N,this.DD())}; +g.C.onSnackbarMessage=function(N){if(this.policy.wP)this.qT.onSnackbarMessage(N)}; +g.C.FV=function(N){this.policy.Y&&this.qT.FV(N,this.DD())}; +g.C.tH=function(N){this.Ha=N;this.Ke.L=(0,g.Lh)();this.qT.tH(N)}; +g.C.Fz=function(N,H,c){this.qT.Fz(N,H,c)}; +g.C.gW=function(N){N.scope===2&&(this.f9=N);this.qT.gW(N)}; +g.C.xU=function(){this.yz=!0;this.qT.xU()}; +g.C.Ab=function(N){this.policy.M0&&this.qT.Ab(N)}; +g.C.Qf=function(N){this.qT.Qf(N,this.DD())}; +g.C.v1=function(N){N.u3===3&&(this.HJ=!0);this.qT.v1(N)}; +g.C.s9=function(N){this.qT.s9(N)}; +g.C.qV=function(N){this.qT.qV(N)}; +g.C.canRetry=function(){this.uo();return this.Ke.canRetry(!1)}; +g.C.dispose=function(){if(!this.uo()){g.L.prototype.dispose.call(this);this.Ke.dispose();var N;(N=this.Xi)==null||N.dispose();this.Xf(-1);this.ZA()}}; +g.C.Xf=function(N){this.state=N;eI(this.qT,this)}; +g.C.eC=function(){return this.info.eC()}; +g.C.V$=function(){return this.yz}; +g.C.GN=function(){return this.f9}; +g.C.VY=function(N,H,c){c.clipId&&(this.clipId=c.clipId);this.policy.B&&!H&&(this.cz=c.S$);if(this.info.isDecorated()){var t=this.info,h,O;var F=((h=t.data)==null?0:(O=h.nJ)==null?0:O.tq)?t.data.nJ.tq:-1;F>=0&&F>c.S$&&this.qT.loader.Lq("sdai",{skpsqmismatch:"1",stsq:F,rcvsq:c.S$,a:H})}this.sy.VY(N,H,c);this.policy.a9&&this.Ha&&this.hj instanceof P3&&(F=this.Ha.Zh,this.hj.VY(c.durationMs/1E3,H,F>0&&c.S$+1>=F));this.sy.Hr.get(N).TO=!0;this.policy.qz&&this.qT.AB(2,H)}; +g.C.hV=function(N,H){this.sy.hV(N,H)}; +g.C.w9=function(N){this.requestIdentifier=N}; +g.C.gq=function(N){return this.sy.gq(N)}; +g.C.mw=function(N){return this.sy.mw(N)}; +g.C.I9=function(N){return this.sy.I9(N)}; +g.C.uN=function(){return this.sy.uN()}; +g.C.KE=function(){return 1}; +g.C.DD=function(){return this.hj.requestNumber}; +g.C.ut=function(){return this.requestIdentifier}; +g.C.uG=function(){return this.tj.uG()}; +g.C.gf=function(){this.ZA()}; +g.C.ZA=function(){this.hj.deactivate();var N;(N=this.xhr)==null||N.abort()}; +g.C.isComplete=function(){return this.state>=3}; +g.C.IP=function(){return this.state===3}; +g.C.OG=function(){return this.state===5}; +g.C.Nw=function(){return this.state===4}; +g.C.bF=function(){return this.isComplete()}; +g.C.Tr=function(){return this.state>=1}; +g.C.Jf=function(){return this.policy.bX?this.Ke.Jf():0}; +g.C.Qp=function(){this.policy.bX&&eI(this.qT,this)}; +g.C.OO=function(){return lC(this.info)}; +g.C.Hb=function(){this.v3()&&!this.fk&&(this.fk=!0,this.g1.Hb())}; +g.C.v3=function(){var N,H;var c=(N=this.info.T)==null?void 0:(H=N.JQ)==null?void 0:H.ai;return!!c&&GLg.has(c)}; +g.C.KV=function(){return"SABR"}; +g.C.Wd=function(){return this.Ke.Wd()}; +g.C.Gv=function(){var N=xTt(this.Ke);Object.assign(N,V8D(this.info));N.req="sabr";N.rn=this.DD();var H;if((H=this.xhr)==null?0:H.status)N.rc=this.policy.ya?this.xhr.status:this.xhr.status.toString();var c;(H=(c=this.xhr)==null?void 0:c.Yl())&&(N.msg=H);this.OH&&(c=Rqy(this,this.OH-this.hj.Ws()),N.letm=c.Cgq,N.mrbps=c.Ur,N.mram=c.mZ);return N};sW3.prototype.tick=function(N,H){this.ticks[N]=H?window.performance.timing.navigationStart+H:(0,g.Lh)()};g.k(Rjh,g.xo);g.C=Rjh.prototype; +g.C.G8=function(N,H,c,t){if(this.policy.oG&&this.policy.B){var h=N.Rc||null;h?(OXy(this,N.Y_,Vn(this,N.startTime,N.Y_),{Rc:h,Y_:N.Y_,qv:!!H,KG:c},this.L),t&&this.L&&this.L.bO(N.Y_,N.startTime,this.B,(H==null?void 0:H.T)||[],(H==null?void 0:H.B)||[],(H==null?void 0:H.U)||[],c,(H==null?void 0:H.zY)||0,(H==null?void 0:H.L)||void 0)):this.B===1&&GD(this,5,"noad")}else{var O=!1;this.policy.B&&(O=c?this.NT===N.Y_:this.ox===N.Y_);if(this.L&&t&&!O){t=[];O=[];var F=[],M=void 0,f=0;H&&(t=H.T,O=H.B,F=H.U,M= +H.L,f=H.zY,this.Lq("sdai",{sq:N.Y_,ssvicpns:t.join("."),ssvid:O.join(".")}));this.policy.B&&(c?this.NT=N.Y_:this.ox=N.Y_);this.L.bO(N.Y_,N.startTime,this.B,t,O,F,c,f,M)}this.policy.B?c&&(this.B===1&&GD(this,5,"noad"),N.Y_!==((h=this.T)==null?void 0:h.Y_)&&(vuZ(this,N,H,c),isNaN(N.startTime)||nBl(this,N.Y_,Vn(this,N.startTime,N.Y_),!!H,this.L))):c&&vuZ(this,N,H)}}; +g.C.A1=function(N,H,c){var t=this.videoTrack.mR.index.Ff()<=H;this.T={Rc:N,Y_:H,qv:c};t&&Hx(this,N,H)}; +g.C.ge=function(){this.L&&this.L.ge()}; +g.C.Lq=function(N,H,c){(N!=="sdai"||this.policy.kB||(c===void 0?0:c))&&this.loader.Lq(N,H)}; +g.C.gL=function(N,H){var c=this.videoTrack.mR.index.b$(N);if(c>=0){var t;var h=((t=H.z3.D4(c,2))==null?void 0:t.RI)||"";if(this.policy.B||h)return H.Ya(N,c),ud(this.loader,N,N,c),this.Lq("sdai",{cmskpad:1,t:N.toFixed(3),sq:c}),!0}this.Lq("sdai",{cmskpad:0,t:N.toFixed(3),sq:c});return!1};g.C=j1S.prototype;g.C.N3=function(N,H,c){var t=N||this.U;this.Lq("clsdai",{setadcfg:N||"misscid",cid:t,acpn:c,acfglen:(H==null?void 0:H.length)||0});this.T.has(t)||(this.Lq("clsdai",{setadcfg:"noentry",cid:t}),this.T.set(t,{event:"unknown",startTimeSecs:0,C6:0,h$:[],qQ:Date.now(),SD:-1,XE:6}));(N=this.T.get(t))?H?(N.XE=6,N.h$.push(c),N.Tj=H):N.XE=2:this.Lq("clsdai",{setadcfg:"notfound",cid:t})}; +g.C.Fq=function(N){var H=N||this.U;this.Lq("clsdai",{rmvadcfg:N||"misscid",lastcid:this.U});(N=this.T.get(H))?(N.Tj="",N.XE=4):this.Lq("clsdai",{rmadcfg:"notfound",cid:H})}; +g.C.FV=function(N,H,c){this.S=H;var t;if(!((((t=N.QP)==null?void 0:t.length)||0)<=0)&&(N=N.QP[0],N.Rc)){var h;t=-(((h=N.Rc)==null?void 0:h.uL)||0);N.timeRange&&(t+=(N.timeRange.startTicks||0)/(N.timeRange.timescale||1));var O,F,M,f,d;h=new Ni(t,((O=N.Rc)==null?void 0:O.GSs)||0,((F=N.Rc)==null?void 0:F.yX)||"",((M=N.Rc)==null?void 0:M.identifier)||"",PVv((f=N.Rc)==null?void 0:f.event),(((d=N.Rc)==null?void 0:d.uL)||0)*1E3);O=N.S$||0;this.T.has(h.identifier)?(F=this.T.get(h.identifier),O>F.SD&&(F.startTimeSecs= +h.startSecs,F.C6=h.C6,F.event==="predictStart"&&F.XE===5&&h.event!=="predictStart"&&(F.qQ=Date.now()),F.event=h.event)):(F={event:h.event,startTimeSecs:h.startSecs,C6:h.C6,h$:[],SD:O,XE:0},this.T.set(h.identifier,F),this.L&&this.Lq("clsdai",{newcid:1,cid:h.identifier,evt:h.event,sn:O,rn:H,st:N4e(F.XE)}));c&&F.XE===0&&(c.Lp(h)?F.XE=5:(F.XE=2,F.Tj=""),F.qQ=Date.now(),F.SD=O,this.L&&this.Lq("clsdai",{onqpnt:1,cid:h.identifier,evt:h.event,sn:O,rn:H,st:N4e(F.XE)}));O>F.SD&&(c==null||c.Lp(h),F.SD=O);this.U= +h.identifier;this.L&&this.B.add(h.identifier)}}; +g.C.Ya=function(N,H,c){var t=N;this.L&&(t+=c);var h,O="";t=Nxw(this,t);t.length>0&&(O=t[0])&&(h=this.T.get(O));if(!h||h.J7){var F;this.Lq("clsdai",{skipadfail:1,cid:O,sn:H,mt:N.toFixed(3),of:c.toFixed(3),skipsq:((F=h)==null?void 0:F.J7)||-1});return!1}this.Lq("clsdai",{skipadsuc:1,cid:O,sn:H,mt:N.toFixed(3),of:c.toFixed(3)});h.J7=H;this.B.clear();this.B.add(O);return!0}; +g.C.xo=function(){this.Lq("clsdai",{rstskipad:1});for(var N=g.K(this.T.values()),H=N.next();!H.done;H=N.next())H.value.J7=NaN};g.k(p6,g.L);p6.prototype.xN=function(N,H,c){c=c===void 0?{}:c;this.policy.CF=Cd(N,c,this.U,H===void 0?!1:H)};Jn.prototype.uB=function(N){var H=this;if(this.policy.Qu){var c=new Set(N);c.size===this.Ix.size&&[].concat(g.HE(c)).every(function(t){return H.Ix.has(t)})||(this.loader.Lq("lwnmow",{itagDenylist:[].concat(g.HE(N)).join(",")}),this.loader.qY(!!c.size),this.TW=-1,this.Ix=c,Wj(this,this.T),this.Kq=!0)}}; +Jn.prototype.xN=function(N,H,c){c=c===void 0?{}:c;var t=this.policy.CF;this.S.xN(N,H===void 0?!1:H,c);if(t!==this.policy.CF){Wj(this,this.T);xB(this);var h,O;t>this.policy.CF&&((h=this.L)==null?0:nK(h.info))&&((O=this.nextVideo)==null||!nK(O.info))&&(this.Bp=!0)}};var ZIL={bj:-1,tL:!1,ai:0};g.k(Ywf,g.L);Ywf.prototype.Os=function(){this.B=ZIL;S_L(this);g.L.prototype.Os.call(this)};Wz3.prototype.Xm=function(N){this.timestampOffset=N;this.flush()}; +Wz3.prototype.flush=function(){if(this.T.pos>0){var N={a:this.track.ll(),u:this.T.UR(),pd:Math.round(this.U),ad:Math.round(this.L)},H=this.B;if(H){var c=H.mR.info;N.itag=c.itag;c.T&&(N.xtags=c.T);N.sq=H.Y_;N.st=H.startTime;N.sd=H.duration;this.track.policy.Nq&&(N.si=H.uX());H.L&&(N.esl=H.T+H.B);H.Xy()&&(N.eos=1)}isNaN(this.timestampOffset)||(N.to=this.timestampOffset);var t;if(H=(t=this.track.q4)==null?void 0:t.Q4({})){for(var h in H)this.Y[h]!==H[h]&&(N["sb_"+h]=H[h]);this.Y=H}this.track.Lq("sbu", +N);this.T.reset();this.buffered=[];this.S=this.L=this.U=0;this.timestampOffset=this.B=void 0}};T5.prototype.dispose=function(){this.Us=!0}; +T5.prototype.uo=function(){return this.Us}; +g.k(aF,Error);Db.prototype.skip=function(N){this.offset+=N}; +Db.prototype.Tn=function(){return this.offset};g.C=fpS.prototype;g.C.Lt=function(){return this.B}; +g.C.on=function(){return this.B.length?this.B[this.B.length-1]:null}; +g.C.yB=function(){this.B=[];CN(this);qr(this)}; +g.C.pg=function(N){this.Kq=this.B.shift().info;N.info.equals(this.Kq)}; +g.C.mw=function(){return g.jm(this.B,function(N){return N.info})}; +g.C.ll=function(){return!!this.mR.info.audio}; +g.C.isDrm=function(){return!!this.mR.info.YH}; +g.C.getDuration=function(){return this.mR.index.I$()};g.k(uo,Lx);g.C=uo.prototype;g.C.onStateChange=function(){this.uo()&&(p9(this.sy,this.formatId),this.T.dispose())}; +g.C.Gv=function(){var N=xKd(this.sy,this.formatId),H;var c=((H=this.sy.Hr.get(this.formatId))==null?void 0:H.bytesReceived)||0;var t;H=((t=this.sy.Hr.get(this.formatId))==null?void 0:t.x4)||0;return{expected:N,received:c,bytesShifted:H,sliceLength:N_e(this.sy,this.formatId),isAnyMediaEndReceived:this.sy.eO(this.formatId)}}; +g.C.ZT=function(){return 0}; +g.C.bY=function(){return!0}; +g.C.gq=function(){return this.sy.gq(this.formatId)}; +g.C.UU=function(){return[]}; +g.C.I9=function(){return this.sy.I9(this.formatId)}; +g.C.Wd=function(){return this.lastError}; +g.C.Jf=function(){return 0};g.k(jP,g.L);g.C=jP.prototype;g.C.ll=function(){return!!this.mR.info.audio}; +g.C.on=function(){return this.L.on()}; +g.C.pg=function(N){this.L.pg(N);var H;(H=this.C)!=null&&(H.S.add(N.info.Y_),H.T=AXw(H,H.Eu,H.mf,N,H.T),H.L=N,H.Y=(0,g.Lh)());this.OF=Math.max(this.OF,N.info.mR.info.OF||0)}; +g.C.getDuration=function(){return this.mR.index.I$()}; +g.C.yB=function(){Gh(this);this.L.yB()}; +g.C.pV=function(){return this.L}; +g.C.tf=function(N){return this.q4?t1(this.q4.l2(),N):!0}; +g.C.isRequestPending=function(N){return this.B.length?N===this.B[this.B.length-1].info.L4[0].Y_:!1}; +g.C.Xm=function(N){var H;(H=this.C)==null||H.Xm(N);var c;(c=this.Z)==null||c.Xm(N)}; +g.C.Lq=function(N,H){this.loader.Lq(N,H)}; +g.C.Bz=function(){return this.loader.Bz()}; +g.C.dispose=function(){var N;(N=this.Z)==null||N.flush();g.L.prototype.dispose.call(this)};g.k(IU,g.L);IU.prototype.L=function(){this.B++>15||(this.T=!this.T,new a2y(this.loader,this.policy,this.YG,this.JF,this.T),this.delay.start())}; +g.C=a2y.prototype;g.C.Zb=function(){}; +g.C.Af=function(){}; +g.C.VG=function(){if(!this.done)if(this.done=!0,this.xhr.status===200&&this.xhr.wL()===this.size)this.loader.Lq("rqs",this.getInfo());else{var N="net.connect";this.xhr.status>200?N="net.badstatus":this.xhr.He()&&(N="net.closed");this.onError(N)}}; +g.C.onError=function(N){var H=this;this.loader.handleError(N,this.getInfo());U$("https://www.gstatic.com/ytlr/img/sign_in_avatar_default.png?rn="+this.timing.requestNumber,"gp",function(c){H.loader.Lq("pathprobe",c)},function(c){H.loader.handleError(c.errorCode,c.details)})}; +g.C.getInfo=function(){var N=this.timing.H_();N.shost=Sc(22,this.location.HR);N.pb=this.size;return N};g.k(VH,g.L); +VH.prototype.C=function(N,H){if(N.Y){this.GW.isLive?(N=this.GW.rk&&this.GW.U?N.mR.HM(this.GW.rk,!1):N.mR.DQ(Infinity),N.Io=this.Io):N=N.mR.HM(0,!1);if(this.Bp){var c=this.Bp;N.Io===0&&(N.S=c.Z)}else N.S=this.TW;return N}c=N.T;if(!c.mR.g0())return c.mR.Oa()?(N=jK(this.S,N.mR.info.OF,H.mR.info.OF,0),N=c.mR.V3(c,N)):N=c.mR.K3(c),N;var t=c.S-this.loader.getCurrentTime(),h=!c.range||c.B===0&&c.T===0?0:c.range.length-(c.T+c.B),O=c.mR;this.Ck(N,t)&&h===0&&(this.GW.isManifestless?O=N.mR:(O=c.startTime+h1, +c.B&&(O+=c.duration),VV(N,O),c=N.T,O=c.mR));O.Oa()?(h=this.L,H=jK(this.S,O.info.OF,H.mR.info.OF,t,h.U.length>0&&h.Z===0&&this.loader.F_),t=Fk(N),N=c.mR.V3(c,H),(H=N.L)&&N.L4.length>1&&(t||N.JF.L||N.L4[0].mR!==c.mR?N=c.mR.V3(c,N.L4[0].B):(t=N.L4[N.L4.length-1],O=t.B/H,!t.L&&O<.4&&(N=c.mR.V3(c,H-t.B))))):(c.Y_<0&&(H=gd(c),H.pr=""+N.B.length,this.loader.isSeeking()&&(H.sk="1"),H.snss=c.Y,this.loader.Lq("nosq",H)),N=O.K3(c));if(this.policy.Cq)for(c=g.K(N.L4),H=c.next();!H.done;H=c.next())H.value.type= +6;return N}; +VH.prototype.Ck=function(N,H){if(!Fk(N)||!N.mR.g0())return!1;var c;(c=this.L.Kq)||(c=Fk(N)&&N.mR.g0()&&N.T.mR.info.OF=H)return t.return();(c=N.T.get(0))&&cKZ(N,c);g.Z3(t)})}; +var Chd={NaW:0,RHl:1,x_x:2,oaq:3,SGf:4,0:"PRIMARY",1:"SECONDARY",2:"RANDOM",3:"SENSITIVE_CONTENT",4:"C_YOUTUBE"};CF.prototype.decrypt=function(N){var H=this,c,t,h,O,F,M;return g.Y(function(f){switch(f.T){case 1:if(H.T.length&&!H.T[0].isEncrypted)return f.return();H.B=!0;H.SY.tN("omd_s");c=new Uint8Array(16);Nq()?t=new g.x8(N):h=new g.Gl(N);case 2:if(!H.T.length||!H.T[0].isEncrypted){f.rE(4);break}O=H.T.shift();if(!t){F=h.decrypt(fD(O.buffer),c);f.rE(5);break}return g.a(f,t.decrypt(fD(O.buffer),c),6);case 6:F=f.B;case 5:M=F;for(var d=0;d=4)){var H=uB(this),c=this.xhr;H.rc=c.status;N&&(H.ab=!0);if(c.Yl()){var t="onesie.net";H.msg=c.Yl()}else c.status>=400?t="onesie.net.badstatus":c.Dk()?this.Zu||(t="onesie.response.noplayerresponse"):t=c.status===204?"onesie.net.nocontent":"onesie.net.connect";t?this.fail(new g.QP(t,H)):(this.tN("or_fs"),this.hj.kF((0,g.Lh)(),c.wL(),0),this.Xf(4),this.Ua&&this.Lq("rqs",H));this.Ua&&this.Lq("ombre","ok."+ +!t);this.qL=!1;cK(this); +e3(this.SY);if(!this.qh){this.i4.stop();var h;(h=this.jX)==null||h.stop()}var O;if(N=(O=this.yb)==null?void 0:Q5t(O))for(O=0;O1E3){var N;(N=this.hj)==null||N.I1((0,g.Lh)());N=uB(this);if(this.j.vO()&&this.xhr instanceof CRS){var H=this.xhr;N.xrs=H.xhr.readyState;N.xpb=H.T.totalLength;N.xdc=H.U}this.fail(new g.QP("net.timeout",N))}}else(0,g.Lh)()-this.hj.T>1E4&&((H=this.hj)==null||H.I1((0,g.Lh)()),this.A8());this.isComplete()||this.Hl.start()}}; +g.C.A8=function(){this.qL=!1;if(!cK(this)){var N=uB(this);N.timeout="1";this.fail(new g.QP("onesie.request",N))}}; +g.C.fail=function(N){var H=this;N=g8(N);this.BD?this.wE.rr(N):(this.Kp.reject(N),this.BD=!0);e3(this.SY);this.qh||this.i4.stop();this.tN("or_fe");var c,t;(c=this.yb)==null||(t=Q5t(c))==null||t.forEach(function(h){H.Lq("pathprobe",h)}); +this.Xf(5);this.dispose()}; +g.C.isComplete=function(){return this.state>=3}; +g.C.Nw=function(){return this.state===4}; +g.C.bF=function(N){var H,c;return this.isComplete()||!!((H=this.oe)==null?0:(c=H.get(N))==null?0:c.T)}; +g.C.IP=function(){return!1}; +g.C.OG=function(){return this.state===5}; +g.C.notifySubscribers=function(N){for(var H=0;H102400&&!this.O4&&(this.tN("or100k"),this.O4=!0);if(N.uJ()){var H=N.M8(),c=H.totalLength;this.Ua&&this.Lq("ombrss","len."+c);this.KA.feed(H)}if(this.oe)for(var t=g.K(this.oe.keys()),h=t.next();!h.done;h=t.next()){var O=h.value;N=void 0;(N=this.oe.get(O))==null||N.Gt();this.notifySubscribers(O)}}catch(F){this.fail(F)}}; +g.C.DD=function(){return this.hj.requestNumber}; +g.C.ut=function(N){return this.QA.get(N)}; +g.C.v3=function(){return!1}; +g.C.KV=function(){return"ONESIE"};g.k(Sk,g.L);g.C=Sk.prototype;g.C.RE=function(N,H){this.TW=void 0;Tfl(this);XYe(this,N,H)}; +g.C.P5=function(N){if(this.T.length===0)return!1;var H=this.T[0];return H instanceof wY?N===this.loader.getCurrentTime()*1E3:!(H instanceof z2&&GPZ(H.info))&&Math.abs(H.OO()-N)<50}; +g.C.W_=function(N,H){this.L=N;this.policy.B&&!N.playbackCookie&&this.loader.Lq("sbrnocookie",{rn:H!=null?H:-1});this.TW=(0,g.Lh)()+(N.backoffTimeMs||0)}; +g.C.n5=function(N,H){if(N.action===void 0){var c=this.wE.G$();c!==void 0&&this.loader.ke(c)}else if(N.action!==0||!this.zW)if(N.action===0&&this.policy.QH&&(N.action=2),N.NL==="sabr.malformed_config"&&this.w_++<3)this.loader.handleError("sabr.malformed_config",{action:N.action,rn:H,retry:this.w_},0);else switch(N.NL==="sabr.malformed_config"&&(N.action=2),c={},c.reason=N.NL,c.action=N.action,c.rn=H,N.action){case 1:this.policy.B&&this.C&&this.C.Uf(void 0,void 0,c);break;case 0:this.zW=!0;this.videoData.vH()&& +this.policy.B&&this.C&&this.C.Uf(void 0,void 0,c,!1);this.loader.Ks(c);break;case 2:hQw(N.NL)!=="sabr.config"&&delete c.reason;this.loader.handleError(hQw(N.NL),c,1);break;case 3:this.policy.Dt&&((N=this.GW.TW)!=null&&(N.Z=!0),this.loader.handleError("sabr.hostfallback",c))}}; +g.C.gW=function(N){N&&(this.loader.Lq("sabrctxt",{onsbrctxt:N.type,scp:N.scope,dflt:N.sendByDefault}),N.type&&N.sendByDefault&&this.videoData.gE.add(N.type),N.scope!==2&&(N.type&&this.videoData.sabrContextUpdates.set(N.type,N),this.wE.gW(N)))}; +g.C.xU=function(){}; +g.C.l3=function(N,H){if(this.loader.Dq)this.loader.Lq("sdai",{ignSabrSeek:1,smt:N==null?void 0:N.q5,rn:H});else if(N.q5!==void 0&&N.YL){H=N.q5/N.YL;this.audioTrack.Y=!1;this.videoTrack.Y=!1;if(this.policy.Us||this.policy.nO||this.policy.w4)this.loader.tY.T=!1;if(this.wE.getCurrentTime()!==H){var c={j_:"sabr_seek",hk:!0,wI:!0};N.seekSource&&(c.seekSource=N.seekSource);y8(this.loader,H+.1,c)}}}; +g.C.onSnackbarMessage=function(N){this.wE.publish("onSnackbarMessage",N)}; +g.C.FV=function(N,H){this.policy.Y&&!Fvw(this.videoData)&&this.loader.FV(N,H)}; +g.C.tH=function(N){N.Zh&&N.HA&&NO(this.GW,N.Zh,N.HA);this.policy.zT&&(N.RN&&N.oN&&(this.GW.sU=N.RN/N.oN),N.s4&&N.Ao&&(this.GW.Ot=N.s4/N.Ao));hd(this.videoData)&&!this.videoData.j$&&N.HA&&this.loader.SH(N.HA,1E3);N.ju!=null&&this.wE.zz(N.ju);N.aO&&(N=((0,g.Lh)()-N.aO)/1E3,this.loader.pS.dJ(1,N))}; +g.C.v1=function(N){this.loader.v1(N)}; +g.C.lO=function(N){return this.videoData.gE.has(N)}; +g.C.Fz=function(N,H,c){this.policy.L&&this.loader.Lq("sabrctxtplc",{start:N?N.join("_"):"",stop:H?H.join("_"):"",discard:c?c.join("_"):""});if(N){N=g.K(N);for(var t=N.next();!t.done;t=N.next())this.videoData.gE.add(t.value)}if(H)for(H=g.K(H),N=H.next();!N.done;N=H.next())N=N.value,this.videoData.gE.has(N)&&this.videoData.gE.delete(N);if(c)for(c=g.K(c),H=c.next();!H.done;H=c.next())if(H=H.value,this.videoData.sabrContextUpdates.has(H)&&this.videoData.sabrContextUpdates.delete(H),this.policy.Bp&&this.T.length)for(N= +g.K(this.T),t=N.next();!t.done;t=N.next())if(t=t.value,!(t instanceof wY)){var h=void 0;((h=t.f9)==null?void 0:h.type)===H&&(t.f9=void 0)}}; +g.C.Ab=function(){}; +g.C.fT=function(N){this.Y=N}; +g.C.Vh=function(N){this.S=N}; +g.C.Qf=function(N,H){Kd(this.policy,N,4,H)}; +g.C.s9=function(N){if(N==null?0:N.xi)if(N=N.xi.tO){N=g.K(N);for(var H=N.next();!H.done;H=N.next())if(H=H.value,H.formatId){var c=this.GW.L.get(hM(H.formatId));c&&c.info&&(c.info.debugInfo=H.debugInfo)}}}; +g.C.qV=function(N){this.Xg=!0;this.wE.publish("reloadplayer",N)}; +g.C.u2=function(){return this.wE.u2()||""}; +g.C.S5=function(){var N=jVd(this);return Math.min(N.J$,N.HP)}; +g.C.EF=function(N,H){this.loader.Lq(N,H)}; +g.C.rQ=function(N){NHl(this.loader,LVe(this.WO,N))}; +g.C.AB=function(N,H){this.videoData.AB(N,H)}; +g.C.Os=function(){g.L.prototype.Os.call(this);this.L=void 0;XYe(this,!0,"i");this.T=[]};RV.prototype.Us=function(N){B_(N.state)&&s8t(this.L)}; +RV.prototype.clear=function(){$T3(this.L);this.S.clear();this.B.clear();this.TW=this.Z=NaN;this.Y=!1}; +RV.prototype.s3=function(){this.isSeeking=!0;this.T===1&&$T3(this.L);this.T===0&&this.UI.gr("transitiondetector");this.Y=!1;this.Z=NaN;this.C=this.mL};ia.prototype.Ec=function(N,H){if(this.U)return De3(this,H);if(H=L3(N)){var c=H.T;c&&c.L&&c.T&&(N=N.B.length?N.B[0]:null)&&N.state>=2&&!N.OG()&&N.info.Io===0&&(this.U=N,this.C=c,this.B=H.info,this.Y=this.startTimeSecs=Date.now()/1E3,this.S=this.B.startTime)}return NaN}; +ia.prototype.clear=function(){this.B=this.C=this.U=null;this.T=this.S=this.Y=this.startTimeSecs=NaN;this.L=!1};g.k(ML3,g.L);ML3.prototype.Os=function(){APy(this);g.L.prototype.Os.call(this)};var O4l=/[?&]cpn=/;g.k(CE,g.L);CE.prototype.flush=function(){var N={};this.B&&(N.pe=this.B);this.T.length>0&&(N.pt=this.T.join("."));this.T=[];return N}; +CE.prototype.stop=function(){var N=this,H,c,t;return g.Y(function(h){if(h.T==1)return g.Xy(h,2),g.a(h,(H=N.U)==null?void 0:H.stop(),4);if(h.T!=2)return(c=h.B)&&N.logTrace(c),g.VI(h,0);t=g.Lq(h);N.B=zSy(t.message);g.Z3(h)})}; +CE.prototype.logTrace=function(N){this.encoder.reset();this.encoder.add(1);this.encoder.add(N.resources.length);for(var H=g.K(N.resources),c=H.next();!c.done;c=H.next()){c=c.value.replace("https://www.youtube.com/s/","");this.encoder.add(c.length);for(var t=0;t=0?N:g.cd(this.provider),this.ox?RHG.has(this.y0)&&(this.T.size||(this.y0==="PL"?N>=this.B+30:N<=this.Bp+30||N>=this.B+1200&&N<=this.Bp+86400))&&(g.Xz(this,N,"vps",[this.y0]),this.B=N):["PL","B","S"].indexOf(this.y0)>-1&&(this.T.size||N>=this.B+30)&&(g.Xz(this,N,"vps",[this.y0]),this.B=N),this.T.size)){this.sequenceNumber===7E3&&g.aS(Error("Sent over 7000 pings"));if(!(this.sequenceNumber>=7E3)){lc(this,N);var H=this.provider.wE.LV(); +H=g.K(H);for(var c=H.next();!c.done;c=H.next())c=c.value,this.Lq(c.key,c.value);H=N;c=this.provider.wE.CL();var t=c.droppedVideoFrames||0,h=c.totalVideoFrames||0,O=t-this.Fk,F=h&&!this.nU;t>c.totalVideoFrames||O>5E3?bjt(this,"html5.badframedropcount","df."+t+";tf."+c.totalVideoFrames):(O>0||F)&&g.Xz(this,H,"df",[O]);this.Fk=t;this.nU=h;this.Z>0&&(g.Xz(this,N,"glf",[this.Z]),this.Z=0);i3.isActive()&&(N=i3.Ys(),Object.keys(N).length>0&&this.Lq("profile",N));this.C4&&v4(this,"lwnmow");this.provider.j.vO()&& +this.provider.N("html5_record_now")&&this.Lq("now",{wt:(0,g.Lh)()});N={};this.provider.videoData.B&&(N.fmt=this.provider.videoData.B.itag,(H=this.provider.videoData.U)&&H.itag!==N.fmt&&(N.afmt=H.itag));N.cpn=this.provider.videoData.clientPlaybackNonce;this.adCpn&&(N.adcpn=this.adCpn);this.by&&(N.addocid=this.by);this.provider.videoData.cotn&&(N.cotn=this.provider.videoData.cotn);N.el=or(this.provider.videoData);N.content_v=SRs(this.provider.videoData);N.ns=this.provider.j.Bp;N.fexp=fhL(this.provider.j.experiments).toString(); +N.cl=(823563380).toString();(H=this.provider.videoData.adFormat||this.adFormat)&&(N.adformat=H);(H=f9(this.provider.videoData))&&(N.live=H);this.provider.videoData.f2()&&(N.drm=1,this.provider.videoData.S&&(N.drm_system=XWd[this.provider.videoData.S.flavor]||0),this.provider.videoData.drmProduct&&(N.drm_product=this.provider.videoData.drmProduct));X8()&&this.provider.videoData.Y&&(N.ctt=this.provider.videoData.Y,N.cttype=this.provider.videoData.eY,this.provider.videoData.mdxEnvironment&&(N.mdx_environment= +this.provider.videoData.mdxEnvironment));this.provider.videoData.isDaiEnabled()?(N.dai=this.provider.videoData.enableServerStitchedDai?"ss":"cs",this.provider.videoData.UJ&&(N.dai_fallback="1")):this.provider.videoData.vr?N.dai="cs":this.provider.videoData.CD&&(N.dai="disabled");N.seq=this.sequenceNumber++;if(this.provider.videoData.Rh){if(H=this.provider.videoData.Rh,N&&H)for(H.ns==="3pp"&&(N.ns="3pp"),this.Jj.has(H.ns)&&v4(this,"hbps"),H.shbpslc&&(this.serializedHouseBrandPlayerServiceLoggingContext= +H.shbpslc),this.provider.j.experiments.M4("html5_use_server_qoe_el_value")&&this.Al.delete("el"),c=g.K(Object.keys(H)),t=c.next();!t.done;t=c.next())t=t.value,this.Al.has(t)||(N[t]=H[t])}else N.event="streamingstats",N.docid=this.provider.videoData.videoId,N.ei=this.provider.videoData.eventId;this.isEmbargoed&&(N.embargoed="1");Object.assign(N,this.provider.j.T);if(H=N.seq)H={cpn:this.provider.videoData.clientPlaybackNonce,sequenceNumber:+H,serializedWatchEndpointLoggingContext:this.provider.videoData.Dn}, +this.serializedHouseBrandPlayerServiceLoggingContext&&(H.serializedHouseBrandPlayerServiceLoggingContext=m6(this.serializedHouseBrandPlayerServiceLoggingContext)||void 0),this.provider.videoData.playerResponseCpn&&(H.playerResponseCpn=this.provider.videoData.playerResponseCpn),A6.length&&(H.decoderInfo=A6),this.remoteControlMode&&(H.remoteControlMode=this.remoteControlMode),this.remoteConnectedDevices.length&&(H.remoteConnectedDevices=this.remoteConnectedDevices),H=g.ue(H,Otf),H=g.Eq(H,4),this.T.set("qclc", +[H]);N=g.Of("//"+this.provider.j.AV+"/api/stats/qoe",N);c=H="";t=g.K(this.T.entries());for(h=t.next();!h.done;h=t.next())O=g.K(h.value),h=O.next().value,O=O.next().value,F=void 0,(F=O)!=null&&F.join&&(h="&"+h+"="+O.join(","),h.length>100?c+=h:H+=h);wHl(this,N+H,c.replace(/ /g,"%20"))}this.T.clear()}}; +g.C.qY=function(N){this.C4=N}; +g.C.pT=function(){if(this.provider.videoData.S){var N=this.provider.videoData.S;v4(this,"eme-"+(N.keySystemAccess?"final":Ub(N)?"ms":hf(N)?"ytfp":CZe(N)?"safarifp":"nonfinal"))}}; +g.C.IU=h3(53);g.C.TQ=function(N){this.isEmbargoed=N}; +g.C.HN=h3(30);g.C.qp=h3(36);g.C.onPlaybackRateChange=function(N){var H=g.cd(this.provider);N&&N!==this.mz&&(g.Xz(this,H,"rate",[N]),this.mz=N);this.ox||this.reportStats(H)}; +g.C.hJ=h3(24);g.C.getPlayerState=function(N){if(g.y(N,128))return"ER";if(g.y(N,2048))return"B";if(g.y(N,512))return"SU";if(g.y(N,16)||g.y(N,32))return"S";if(N.isOrWillBePlaying()&&g.y(N,64))return"B";var H=oo5[fT(N)];g.Iy(this.provider.j)&&H==="B"&&this.provider.wE.getVisibilityState()===3&&(H="SU");H==="B"&&g.y(N,4)&&(H="PB");return H}; +g.C.bC=function(N,H){var c=g.cd(this.provider);g.Xz(this,c,"vfi",[N==="A"?"":""+(H!=null?H:0),N])}; +g.C.Os=function(){g.L.prototype.Os.call(this);g.gb(this.Us);g.gb(this.Uu)}; +g.C.Yo=function(N){this.isOffline=N;g.Xz(this,g.cd(this.provider),"is_offline",[this.isOffline?"1":"0"])}; +g.C.Lq=function(N,H,c){var t=this.AN.indexOf(N)!==-1;t||this.AN.push(N);if(!c||!t){H=typeof H!=="string"?Gu(H):H;H=n7D(H);if(!c&&!/^t[.]/.test(H)){var h=g.cd(this.provider)*1E3;H="t."+h.toFixed()+";"+H}ei(this,"ctmp",N+":"+H);k1(this);return h}}; +g.C.aG=function(N,H,c){this.S={KLp:Number(this.Lq("glrem",{nst:N.toFixed(),rem:H.toFixed(),ca:+c})),No:N,oPS:H,isAd:c}}; +g.C.WM=function(N,H,c){g.Xz(this,g.cd(this.provider),"ad_playback",[N,H,c])}; +g.C.qE=function(N,H){var c=g.cd(this.provider)*1E3;ei(this,"daism","t."+c.toFixed(0)+";smw."+(N*1E3).toFixed(0)+";smo."+(H*1E3).toFixed(0))}; +g.C.resume=function(){var N=this;isNaN(this.Us)?sXv(this):this.Us=g.Re(function(){N.reportStats()},1E4)}; +var Ct={},oo5=(Ct[5]="N",Ct[-1]="N",Ct[3]="B",Ct[0]="EN",Ct[2]="PA",Ct[1]="PL",Ct[-1E3]="ER",Ct[1E3]="N",Ct),RHG=new Set(["PL","B","S"]),A6=[];g.k(g.gL,g.L);g.C=g.gL.prototype; +g.C.initialize=function(N,H,c){N=N||0;this.policy.T||(H=fd3(this.T),b83(this.wE,new uW(H.video,H.reason)),this.wE.kh(new uW(H.audio,H.reason)));this.policy.T&&JI(this);this.GW.isManifestless&&BE3(this.Y);this.Z&&OWs(this.Z,this.videoTrack.mR);H=isNaN(this.getCurrentTime())?0:this.getCurrentTime();var t=!this.GW.isManifestless;this.policy.aT&&(t=t||this.GW.K6);if(!this.policy.gE||this.policy.Uu)this.currentTime=t?N:H;this.policy.Us&&this.seek(this.getCurrentTime(),{}).lw(function(){}); +if(this.policy.T){var h;((h=this.Bp)==null?0:kT3(h,this.u2()||""))&&dfy(this)&&Z0(this,this.videoTrack)&&Z0(this,this.audioTrack)&&(u9h(this.B,this.Bp),this.policy.S&&yqd(this))}else this.Us&&(dPw(this,this.videoTrack),dPw(this,this.audioTrack),Jmw(this.Us),delete this.Us);c?(GEy(this,!1),g.lY(this.N6)):(N=this.getCurrentTime()===0,JP(this.Y,this.videoTrack,this.videoTrack.mR,N),JP(this.Y,this.audioTrack,this.audioTrack.mR,N),this.policy.T&&B3w(this.B,{ai:1}),this.policy.Us||this.seek(this.getCurrentTime(), +{}).lw(function(){}),this.timing.tick("gv")); +(this.GW.rk||this.GW.Em||this.GW.ZG||this.GW.MJ||this.GW.Cp)&&this.wE.Cu(this.GW)}; +g.C.resume=function(){if(this.isSuspended||this.F_){this.iM=this.F_=this.isSuspended=!1;try{this.Ec()}catch(N){g.BZ(N)}}}; +g.C.vJ=function(){return!this.policy.Jj}; +g.C.LH=function(N,H){N=N===void 0?!1:N;H=H===void 0?!1:H;FOs(this);this.wE.YD()&&(this.C=NaN);N?(this.policy.Kq&&this.Lq("loader",{setsmb:1}),this.policy.Cq=!0,this.yB()):(GEy(this,!1),H||this.yB())}; +g.C.setAudioTrack=function(N,H,c){c=c===void 0?!1:c;if(!this.uo()){var t=!isNaN(H);c&&t&&(this.audioTrack.Bp=Date.now(),this.policy.LG&&(this.WO=!0));c=this.wE.YD()&&!this.wE.getVideoData().Z;if(this.policy.T){var h=this.U.oY(N.id,t);this.wE.kh(h)}else h=this.T,h.B=h.GW.T[N.id],h.C=h.B,h=new PZ(h.C,h.L,t?"t":"m"),this.wE.kh(new uW(h.audio,h.reason));t?(this.C4=Date.now(),t=this.audioTrack.mR.index.b$(H),this.Lq("setAudio",{id:N.id,cmt:H,sq:t}),t>=0&&(N=this.policy.TP?t+1:t,this.policy.T&&this.RE(!0, +"mosaic"),d3R(this.audioTrack,N,NaN,NaN),!this.policy.G7&&this.GW.isLive&&wP(this.GW,N,!1))):c||this.wE.Z7()}}; +g.C.setPlaybackRate=function(N){N!==this.TW.getPlaybackRate()&&this.TW.setPlaybackRate(N)}; +g.C.N1=function(N){var H=this.B.Y;this.B.fT(N);this.Lq("scfidc",{curr:hM(H),"new":hM(N)});N&&hM(N)!==hM(H)&&(this.RE(!0,"caption change"),this.Ec())}; +g.C.Jq=function(N){this.B.Vh(N)}; +g.C.CZ=function(N){N.T.info.ll()?this.wE.kh(N):b83(this.wE,N)}; +g.C.rQ=function(N){Ql(N.L4[N.L4.length-1])&&NHl(this,LVe(this.T,N.L4[0].mR))}; +g.C.S9=function(){return this.wE.S9()}; +g.C.xn=function(){return this.wE.xn()}; +g.C.v1=function(N){this.wE.D().vO()&&this.Lq("sps",{status:N.u3||""});if(N.u3===1)this.BF=0;else if(N.u3===2||N.u3===3){var H=!1;if(N.u3===3){var c;this.qc=(c=N.RPl)!=null?c:Infinity;this.BF+=1;(H=kg3(this))&&this.wW(!0)}this.wE.S8(!0,H)}}; +g.C.vA=function(){return this.wE.vA()}; +g.C.Z$=function(){return this.wE.Z$()}; +g.C.If=function(N){this.wE.If(N)}; +g.C.qIs=function(){var N,H=(N=this.wE.wr())==null?void 0:N.getCurrentTime();H?this.wE.Lq("rms",{cta:H}):g.lY(this.bX)}; +g.C.Ec=function(){DRL(this);if(this.Zf&&rk(this.Zf)&&!this.Zf.lq()&&(!this.policy.gE||isFinite(this.getCurrentTime()))){var N=na(this.videoTrack);N=this.policy.jAR&&N&&N.Xy();this.GW.isManifestless&&this.GW.U&&cX(this.GW)?(this.C=cX(this.GW),this.Zf.cQ(this.C)):Lg(this.GW)&&!N?isNaN(this.C)?(this.C=this.getCurrentTime()+3600,this.Zf.cQ(this.C)):this.C<=this.getCurrentTime()+1800&&(this.C=Math.max(this.C+1800,this.getCurrentTime()+3600),this.Zf.cQ(this.C)):this.Zf.isView||(N=Math.max(this.audioTrack.getDuration(), +this.videoTrack.getDuration()),(!isFinite(this.C)||this.C!==N)&&N>0&&(this.Zf.cQ(N),this.C=N))}if(!this.uo())if(Zbe(this.GW)&&this.GW.OG()){var H=this.GW;this.handleError("manifest.net.retryexhausted",H.w_?{rc:H.zE}:{rc:H.zE.toString()},1)}else if(this.policy.T)a:{try{if(zC(this)&&this.JI){var c=this.B,t=this.JI,h=t.T;if(h){var O=c.wE.G$(),F=!0;O||(O=c.loader.getCurrentTime(),F=!1);H=O;var M=F?c.wE.o7(H):H;if(c.loader.tf(M))var f=!1;else{var d={t:H.toFixed(3),isUtc:F};c:{var W=c.wE.u2();if(W){for(var z= +g.K([c.audioTrack,c.videoTrack]),E=z.next();!E.done;E=z.next()){var x=UJ(E.value.mR,c.GW.K4);O=void 0;var q=((O=h)==null?void 0:O.mw(x,W))||[];if(q.length===0||!ykt(new vx(q),M)){var r=!1;break c}}r=!0}else r=!1}if(r)c.loader.Lq("prebuffer",Object.assign(d,{inrange:1})),f=!0;else{if(GPZ(h.info)){var w;if(w=F){var n,p;w=(((n=h.info.T)==null?void 0:(p=n.JQ)==null?void 0:p.NJ)||0)===H*1E3}var U=w}else U=!F&&lC(h.info)===H*1E3;U?(c.loader.Lq("prebuffer",Object.assign(d,{match:1})),f=!0):f=!1}}if(f){c.wE.tN("ismp_c"); +c.T.push(h);var X;(X=c.NT)==null||X8y(X,h.info.JF);h.Hb();S_L(t,!1)}}}gEv(this.B);this.GW.isManifestless&&this.policy.S&&oV(this.tY);var A;((A=this.Zf)==null?0:yD(A))&&this.yv();B3w(this.B);if(zC(this)&&this.JI){var R=this.B,v=this.JI,Nf=v.B.bj;if(Nf!==void 0&&Nf>=0){R.wE.tN("ismp_a");var Fe=v.B;var tS=Fe.bj;if(tS===void 0)var jh=!1;else{var cL=Fe.tL?R.wE.o7(tS):tS,Ks;if(Ks=!R.loader.tf(cL)&&Ait(R,R.Al)){var Rl=R.wE.getCurrentTime()*1E3,Tx=MYZ(R,Rl),Fc=Tx.nN;Ks=Tx.y6>=7E3&&Fc>=7E3}jh=Ks}if(jh){var ol= +j5f(R,Fe);R.policy.xa>0&&R.Al.rg++;ol&&(v.T!==ol&&(J8R(v),v.T=ol,v.B=ZIL),R.wE.tN("ismp_rc"))}}}}catch(Q){g.aS(Q);H=Q;if(H.message.includes("changeType")){this.Lq("ctype",{exp:H.name,msg:H.message,s:H.stack});break a}this.handleError("fmt.unplayable",{exp:H.name,msg:H.message,s:H.stack,trg:"sabrslicerqt"},1)}Nul(this);g.lY(this.Al)}else if(!this.GW.B||!nRs(this.videoTrack)&&!nRs(this.audioTrack)||(this.videoTrack.U||this.audioTrack.U)&&this.policy.mG?c=!1:(this.yB(),this.wE.seekTo(Infinity,{j_:"checkLoaderTracksSync", +SH:!0}),c=!0),!c){DRL(this);this.GW.isManifestless&&(E2h(this.videoTrack),E2h(this.audioTrack),oV(this.tY),(c=L3(this.videoTrack))&&c.T&&(c=c.T.L&&!this.policy.cZ,this.Lq(c===this.policy.Z.pF?"strm":"strmbug",{strm:c,sfmp4:this.policy.Z.pF,dfs:this.policy.cZ},!0)));if(this.Zf)this.yv();else if(this.policy.U){c=!1;if(this.policy.Hw)for(t=g.K([this.videoTrack,this.audioTrack]),h=t.next();!h.done;h=t.next()){f=h.value;for(h=L3(f);h&&f.on()!==na(f);h=L3(f))f.pg(h);c=c||!!h}else(H=L3(this.videoTrack))&& +this.videoTrack.pg(H),(F=L3(this.audioTrack))&&this.audioTrack.pg(F);P5(this.videoTrack)&&P5(this.audioTrack)||(H||F||c)&&Vp(this)}qL(this);JP(this.Y,this.videoTrack,this.videoTrack.mR,!1);JP(this.Y,this.audioTrack,this.audioTrack.mR,!1);if(!this.policy.yu&&(H=this.videoTrack,t=this.audioTrack,(!this.Zf||rk(this.Zf)&&!this.policy.Qm)&&!this.tY.isSeeking()&&(this.policy.T||Fk(H)&&H.mR.g0()&&this.T.Bp)))a:{if(F=this.getCurrentTime(),c=this.TW,t=jK(c,H.mR.info.OF,t.mR.info.OF,0),h=lw(c.YG)+t/bR(c.YG), +F+=Math.max(h,h+c.policy.qm-t/H.mR.info.OF),H.B.length){if(H.B[0].info.L4[0].startTime<=F)break a;Gh(H)}c=H.L;for(t=c.B.length-1;t>=0;t--)c.B[t].info.startTime>F&&c.B.pop();nHw(H);H.T&&F5&&d.TW.shift();H=H.Y_;var W;if((W=this.wE.getVideoData())==null?0:W.enableServerStitchedDai)W=HTL(this.audioTrack,H),c=HTL(this.videoTrack,H),W!==0&&c!==0&&W!==c&&this.handleError("ssdai.avsync",{sq:H,a:W,v:c}, +0)}}; +g.C.A1=function(N,H,c,t){N.info.video&&this.L.A1(H,c,t)}; +g.C.uB=function(N){this.T.uB(N)}; +g.C.PC=h3(12);g.C.Iq=function(){if(g.y(this.wE.getPlayerState(),8)){var N,H,c=(H=(N=this.wE.wr())==null?void 0:N.getCurrentTime())!=null?H:this.wE.getCurrentTime(),t;(t=this.Xg)==null||fVZ(t,c)}var h;(h=this.Dt)==null||g.lY(h)}; +g.C.MV=function(){return this.videoTrack.Y||this.audioTrack.Y}; +g.C.seek=function(N,H){if(this.uo())return Kw();if(this.MV())return Kw("seeking to head");if(this.policy.Us&&!isFinite(N))return F5S(this.tY),g.GY(Infinity);DRL(this);Fow(this,N,!1,H.seekSource);JI(this);this.policy.T||qL(this,N);this.Zf&&this.Zf.T&&this.Zf.B&&!this.wE.getVideoData().bI&&(this.Zf.T.isLocked()||this.Zf.B.isLocked())&&this.wE.Z7({reattachOnLockedBuffer:1,vsb:""+this.Zf.B.isLocked(),asb:""+this.Zf.T.isLocked()});var c=this.getCurrentTime(),t=this.tY.seek(N,H);if(!this.policy.gE||this.policy.Uu)this.currentTime= +t;Dn(this.L,N,c,this.policy.j2&&!H.hk);Vp(this);return g.GY(t)}; +g.C.P5=function(N){return this.policy.T&&this.B.P5(N)}; +g.C.lO=function(N){return this.B.lO(N)}; +g.C.RE=function(N,H){this.B.RE(N,H)}; +g.C.getCurrentTime=function(){if(this.policy.gE){var N=this.HO()||0;return this.wE.getCurrentTime(!0)-N}return this.currentTime}; +g.C.RB=function(){return this.audioTrack.mR.info}; +g.C.tQ=function(){return this.videoTrack.mR.info}; +g.C.cA=function(){return this.audioTrack.mR.info.T0}; +g.C.fH=function(){return this.videoTrack.mR.info.T0}; +g.C.Os=function(){try{this.LH(),Gh(this.audioTrack),Gh(this.videoTrack),qI(this.audioTrack),qI(this.videoTrack),this.audioTrack.dispose(),this.videoTrack.dispose(),g.L.prototype.Os.call(this)}catch(N){g.BZ(N)}}; +g.C.handleError=function(N,H,c){c=c===void 0?0:c;var t=uO(c);N==="fmt.unplayable"&&this.GW.isLive&&(this.policy.QG=!1,Y5(this.GW));H=new g.QP(N,H,c);g.ye(this);Gu(H.details);this.wE.handleError(H);N!=="html5.invalidstate"&&H.errorCode!=="fmt.unplayable"&&N!=="fmt.unparseable"&&t&&this.dispose()}; +g.C.Q4=function(){var N=na(this.audioTrack),H=na(this.videoTrack);N={lct:this.getCurrentTime().toFixed(3),lsk:this.tY.isSeeking(),lmf:this.T.T.isLocked(),lbw:rt(this.schedule).toFixed(3),lhd:lw(this.schedule).toFixed(3),lst:((this.schedule.C.sI()||0)*1E9).toFixed(3),laa:N?N.uX():"",lva:H?H.uX():"",lar:this.audioTrack.T?this.audioTrack.T.uX():"",lvr:this.videoTrack.T?this.videoTrack.T.uX():"",laq:""+kw(this.audioTrack),lvq:""+kw(this.videoTrack)};this.Zf&&!this.Zf.wR()&&this.Zf.T&&this.Zf.B&&(N.lab= +Eo(this.Zf.T.l2()),N.lvb=Eo(this.Zf.B.l2()));this.ox&&(N.lapt=((0,g.Lh)()-this.ox).toFixed(0),N.lapr=Cvw(this));this.Kq&&(N.lapmabht=((0,g.Lh)()-this.Kq).toFixed(0),N.lapmabh=QE(this,this.audioTrack).toFixed(0));this.zW&&(N.lapmvbht=((0,g.Lh)()-this.zW).toFixed(0),N.lapmvbh=QE(this,this.videoTrack).toFixed(0));this.vp&&(N.lapsdai=((0,g.Lh)()-this.vp).toFixed(0));return N}; +g.C.yB=function(){try{this.policy.T&&this.B.RE(!1,"pending"),this.audioTrack.yB(),this.videoTrack.yB()}catch(N){g.BZ(N)}this.policy.U=""}; +g.C.tf=function(N){return this.videoTrack&&this.audioTrack?this.videoTrack.tf(N)&&this.audioTrack.tf(N):!0}; +g.C.US=function(){return Jf(this.TW)}; +g.C.Lq=function(N,H,c){this.wE.Lq(N,H,c===void 0?!1:c)}; +g.C.u2=function(){return this.wE.u2()}; +g.C.SH=function(N,H){N/=H;isNaN(this.timestampOffset)&&AJ(this,N-Math.min(N,this.policy.Gx));return(N-this.timestampOffset)*H}; +g.C.HO=function(){return this.timestampOffset}; +g.C.isSeeking=function(){return this.tY.isSeeking()}; +g.C.ge=function(){this.L.ge()}; +g.C.xN=function(N,H,c){H=H===void 0?!1:H;c=c===void 0?{}:c;this.policy.T?this.U.xN(N,H,c):this.T.xN(N,H,c)}; +g.C.gL=function(N,H){if(this.policy.B&&(this.Dq||this.isSeeking()))return this.Lq("sdai",{ignoreSkip:"1",isSkip:this.Dq,isSeek:this.isSeeking(),t:N.toFixed(3)}),!1;var c=this.policy.B&&(this.policy.Y||this.policy.KC),t=this.videoTrack.mR.index.b$(N),h=!1;if(c){var O;if(h=!((O=this.NT)==null||!O.Ya(N,t,this.timestampOffset)))if(ud(this,N,N,t),this.S){var F;(F=this.S)==null||F.Ya(N,t)}}else this.S&&(h=!!this.L.gL(N,this.S));if(!h)return this.handleError("ad.skipfailed",{dec:!!this.S,t:N.toFixed(3), +sq:t}),!1;this.policy.B&&(this.Lq("sdai",{skipAdStd:"1"}),this.Dq=!0);if(this.policy.n4){var M;(M=this.Xg)==null||M.clear()}AJ(this,this.timestampOffset-H);Vp(this);this.policy.B&&(Y5(this.GW),qI(this.audioTrack),qI(this.videoTrack),this.yB());return!0}; +g.C.getManifest=function(){return this.GW}; +g.C.isOffline=function(){return!!this.wE.getVideoData().cotn}; +g.C.u4=function(N,H){this.wE.u4(N,H)}; +g.C.lU=function(N,H){if(this.policy.T)Fow(this,N,!0,H),this.B.RE(!0,"utc"),this.Ec();else if(H=this.wE.getVideoData().fO){var c=this.Y;c.u$=N;c.fO=H;yu(this)}}; +g.C.ke=function(N){this.videoTrack.Y=!1;this.audioTrack.Y=!1;this.tY.T=!1;this.wE.ke(N)}; +g.C.d1=function(N){this.tY.d1(N-this.HO())}; +g.C.k0=function(){this.wE.k0()}; +g.C.wW=function(N){N!==this.policy.BR&&((this.policy.BR=N)||this.Ec())}; +g.C.Z7=function(N){this.wE.Z7(N)}; +g.C.qY=function(N){this.wE.qY(N)}; +g.C.N3=function(N,H,c){var t;(t=this.NT)==null||t.N3(N,H,c);this.policy.Y&&(this.B.TW=void 0,this.Ec())}; +g.C.Fq=function(N){var H;(H=this.NT)==null||H.Fq(N)}; +g.C.FV=function(N,H){if(this.policy.Y){var c,t=(c=N.QP)==null?void 0:c[0],h,O,F;this.Lq("clidai",{onqlst:1,len:((h=N.QP)==null?void 0:h.length)||0,rn:H,evt:PVv(t==null?void 0:(O=t.Rc)==null?void 0:O.event),cid:(t==null?void 0:(F=t.Rc)==null?void 0:F.identifier)||"null",sq:(t==null?void 0:t.S$)||-1,trk:(t==null?void 0:t.trackType)||"null"});var M;(M=this.NT)==null||M.FV(N,H,this.S||void 0)}}; +g.C.prefetchKeyPlay=function(N,H){var c=this;zC(this)&&(this.JI||(this.JI=new Ywf(function(t){c.wE.tN(t)}),g.l(this,this.JI)),YVD(this.JI,{bj:N, +tL:H,ai:2}),this.Ec())};g.C=g.Gp.prototype;g.C.gD=function(N,H,c,t,h,O){return this.z3.gD(N,H,c,t,h,O)}; +g.C.Uq=function(N,H,c,t,h,O){return this.z3.Uq(N,H,c,t,h,O)}; +g.C.vx=function(N){return this.z3.vx(N)}; +g.C.W3=function(N){this.z3.W3(N)}; +g.C.Uf=function(N,H,c,t){return this.z3.Uf(N,H,c,t)}; +g.C.ge=function(){this.z3.ge()}; +g.C.Ya=function(N,H){this.z3.Ya(N,H)}; +g.C.xo=function(){this.z3.xo()}; +g.C.LL=h3(56);g.C.uw=function(N,H,c){this.z3.uw(N,H,c)}; +g.C.E0=h3(59);g.C.bO=function(N,H,c,t,h,O,F,M,f){this.z3.bO(N,H,c,t,h,O,F,M,f)}; +g.C.qG=function(N){this.z3.qG(N)}; +g.C.Lp=function(N){return this.z3.Lp(N)}; +g.C.X8=function(N){return this.z3.X8(N)}; +g.C.VU=function(N){return this.z3.VU(N)};g.k(zr,g.xo);g.k(AU,zr);AU.prototype.Y=function(N,H){if(N&&H){var c=Number(mk(N,"cpi"))*1+1;isNaN(c)||c<=0||cthis.L&&(this.L=c,g.NF(this.T)||(this.T={},this.U.stop(),this.B.stop())),this.T[H]=N,g.lY(this.B))}}; +AU.prototype.S=function(){for(var N=g.K(Object.keys(this.T)),H=N.next();!H.done;H=N.next()){var c=H.value;H=this.publish;for(var t=this.L,h=g.jp(this.T[c]),O=[],F=g.K(h[6].split("&")),M=F.next();!M.done;M=F.next())M=M.value,M.indexOf("cpi=")===0?O.push("cpi="+t.toString()):M.indexOf("ek=")===0?O.push("ek="+g.mI(c)):O.push(M);h[6]="?"+O.join("&");c="skd://"+h.slice(2).join("");h=c.length*2;t=new Uint8Array(h+4);t[0]=h%256;t[1]=(h-t[0])/256;for(h=0;h0)for(var c=g.K(this.T),t=c.next();!t.done;t=c.next())if(H===t.value.info.cryptoPeriodIndex){H=!0;break a}H=!1}if(!H){H=(0,g.Lh)();a:{c=N.cryptoPeriodIndex;if(!isNaN(c)){t=g.K(this.L.values());for(var h=t.next();!h.done;h=t.next())if(Math.abs(h.value.cryptoPeriodIndex-c)<=1){c=!0;break a}}c=!1}c?(c=N.T,c=Math.max(0,Math.random()*((isNaN(c)?120:c)-30))*1E3):c=0;this.publish("log_qoe",{wvagt:"delay."+c,cpi:N.cryptoPeriodIndex,reqlen:this.T.length}); +c<=0?mDe(this,N):(this.T.push({time:H+c,info:N}),g.lY(this.B,c))}}; +Cl.prototype.Os=function(){this.T=[];zr.prototype.Os.call(this)};var l3={},Cnf=(l3.DRM_TRACK_TYPE_AUDIO="AUDIO",l3.DRM_TRACK_TYPE_SD="SD",l3.DRM_TRACK_TYPE_HD="HD",l3.DRM_TRACK_TYPE_UHD1="UHD1",l3);g.k(CDt,g.L);g.k(Urv,g.xo);g.C=Urv.prototype;g.C.Un=function(N){var H=this;if(!(this.uo()||N.size<=0)){var c={};N.forEach(function(t,h){var O=c0(H.B)?h:t;h=new Uint8Array(c0(H.B)?t:h);c0(H.B)&&vBy(h);t=g.Eq(h,4);vBy(h);h=g.Eq(h,4);H.T[t]?H.T[t].status=O:H.T[h]?H.T[h].status=O:H.T[t]={type:"",status:O};$Xd(H,H.T[t].type,c)}); +Rgh(this,",");WH(this,{onkeystatuschange:1});this.status="kc";this.publish("keystatuseschange",this)}}; +g.C.error=function(N,H,c,t){this.uo()||(this.publish("licenseerror",N,H,c,t),N==="drm.provision"&&(N=(Date.now()-this.Y)/1E3,this.Y=NaN,this.publish("ctmp","provf",{et:N.toFixed(3)})));uO(H)&&this.dispose()}; +g.C.shouldRetry=function(N,H){return!N&&this.requestNumber===H.requestNumber}; +g.C.Os=function(){this.T={};g.xo.prototype.Os.call(this)}; +g.C.Q4=function(){var N={ctype:this.Z.contentType||"",length:this.Z.initData.length,requestedKeyIds:this.ox,cryptoPeriodIndex:this.cryptoPeriodIndex};this.L&&(N.keyStatuses=this.T);return N}; +g.C.getInfo=function(){var N=this.U.join();if(iG(this)){var H=new Set,c;for(c in this.T)this.T[c].status!=="usable"&&H.add(this.T[c].type);N+="/UKS."+Array.from(H)}return N+="/"+this.cryptoPeriodIndex}; +g.C.uG=function(){return this.url};g.k(Ol,g.L);g.C=Ol.prototype;g.C.kf=function(N){if(this.S){var H=N.messageType||"license-request";this.S(new Uint8Array(N.message),H)}}; +g.C.Un=function(){this.C&&this.C(this.T.keyStatuses)}; +g.C.onClosed=function(){this.uo()||g.$b("xboxone")&&this.L&&this.L("closedShouldNotRetry")}; +g.C.aN=function(N){this.S&&this.S(N.message,"license-request")}; +g.C.qo=function(N){if(this.L){if(this.B){var H=this.B.error.code;N=this.B.error.systemCode}else H=N.errorCode,N=N.systemCode;this.L("t.prefixedKeyError;c."+H+";sc."+N,H,N)}}; +g.C.H2=function(){this.Y&&this.Y()}; +g.C.update=function(N){var H=this;if(this.T)return this.T.update(N).then(null,ZO(function(c){hpD(H,"t.update",c)})); +this.B?this.B.update(N):this.element.addKey?this.element.addKey(this.Z.keySystem,N,this.initData,this.sessionId):this.element.webkitAddKey&&this.element.webkitAddKey(this.Z.keySystem,N,this.initData,this.sessionId);return H2()}; +g.C.Os=function(){this.T&&(this.TW?this.T.close().catch(g.aS):this.T.close());this.element=null;g.L.prototype.Os.call(this)};g.k(zq,g.L);g.C=zq.prototype;g.C.setServerCertificate=function(){return this.B.setServerCertificate?this.T.flavor==="widevine"&&this.T.Qq?this.B.setServerCertificate(this.T.Qq):tW(this.T)&&this.T.Ql?this.B.setServerCertificate(this.T.Ql):null:null}; +g.C.createSession=function(N,H){var c=N.initData;if(this.T.keySystemAccess){H&&H("createsession");var t=this.B.createSession();hf(this.T)?c=IOv(c,this.T.Ql):tW(this.T)&&(c=wxL(c)||new Uint8Array(0));H&&H("genreq");N=t.generateRequest(N.contentType,c);var h=new Ol(null,null,null,t,null,this.C);N.then(function(){H&&H("genreqsuccess")},ZO(function(F){hpD(h,"t.generateRequest",F)})); +return h}if(Ub(this.T))return Dzd(this,c);if(CZe(this.T))return lRl(this,c);if((t=this.element)==null?0:t.generateKeyRequest)this.element.generateKeyRequest(this.T.keySystem,c);else{var O;(O=this.element)==null||O.webkitGenerateKeyRequest(this.T.keySystem,c)}return this.U=new Ol(this.element,this.T,c,null,null,this.C)}; +g.C.cW=function(N){var H=I9y(this,N);H&&H.aN(N)}; +g.C.pw=function(N){var H=I9y(this,N);H&&H.qo(N)}; +g.C.Nm=function(N){var H=I9y(this,N);H&&H.H2(N)}; +g.C.getMetrics=function(){var N=null;if(this.B&&this.B.getMetrics)try{N=this.B.getMetrics()}catch(H){}return N}; +g.C.Os=function(){this.L=this.B=null;var N;(N=this.U)==null||N.dispose();N=g.K(Object.values(this.Y));for(var H=N.next();!H.done;H=N.next())H.value.dispose();this.Y={};g.L.prototype.Os.call(this);delete this.element};g.C=q0.prototype;g.C.get=function(N){N=this.findIndex(N);return N!==-1?this.values[N]:null}; +g.C.remove=function(N){N=this.findIndex(N);N!==-1&&(this.keys.splice(N,1),this.values.splice(N,1))}; +g.C.removeAll=function(){this.keys=[];this.values=[]}; +g.C.set=function(N,H){var c=this.findIndex(N);c!==-1?this.values[c]=H:(this.keys.push(N),this.values.push(H))}; +g.C.findIndex=function(N){return g.iC(this.keys,function(H){return g.bo(N,H)})};g.k(CO,g.xo);g.C=CO.prototype;g.C.Brg=function(N){this.Yc({onecpt:1});N.initData&&Nyd(this,new Uint8Array(N.initData),N.initDataType)}; +g.C.tgg=function(N){this.Yc({onndky:1});Nyd(this,N.initData,N.contentType)}; +g.C.Gr=function(N){this.Yc({onneedkeyinfo:1});this.j.N("html5_eme_loader_sync")&&(this.C.get(N.initData)||this.C.set(N.initData,N));baD(this,N)}; +g.C.qS=function(N){this.L.push(N);T1(this)}; +g.C.createSession=function(N){var H=nyv(this)?trl(N):g.Eq(N.initData);this.B.get(H);this.NT=!0;N=new Urv(this.videoData,this.j,N,this.drmSessionId);this.B.set(H,N);N.subscribe("ctmp",this.CI,this);N.subscribe("keystatuseschange",this.Un,this);N.subscribe("licenseerror",this.KZ,this);N.subscribe("newlicense",this.XJ,this);N.subscribe("newsession",this.jk,this);N.subscribe("sessionready",this.B6,this);N.subscribe("fairplay_next_need_key_info",this.Zr,this);this.j.N("html5_enable_vp9_fairplay")&&N.subscribe("qualitychange", +this.Zl,this);N.subscribe("sabrlicenseconstraint",this.F7T,this);CLf(N,this.U)}; +g.C.XJ=function(N){this.uo()||(this.Yc({onnelcswhb:1}),N&&!this.heartbeatParams&&(this.heartbeatParams=N,this.publish("heartbeatparams",N)))}; +g.C.jk=function(){this.uo()||(this.Yc({newlcssn:1}),this.L.shift(),this.NT=!1,T1(this))}; +g.C.B6=function(){if(Ub(this.T)&&(this.Yc({onsnrdy:1}),this.gE--,this.gE===0)){var N=this.Bp,H,c;(H=N.element)==null||(c=H.msSetMediaKeys)==null||c.call(H,N.L)}}; +g.C.Un=function(N){if(!this.uo()){this.Cq||(this.Cq=!0,this.j.vO()&&rJ3(this));this.Yc({onksch:1});var H=this.Zl;if(!iG(N)&&g.BY&&N.B.keySystem==="com.microsoft.playready"&&navigator.requestMediaKeySystemAccess)var c="large";else{c=[];var t=!0;if(iG(N))for(var h=g.K(Object.keys(N.T)),O=h.next();!O.done;O=h.next())O=O.value,N.T[O].status==="usable"&&c.push(N.T[O].type),N.T[O].status!=="unknown"&&(t=!1);if(!iG(N)||t)c=N.U;c=$Hs(c)}H.call(this,c);if(!iG(N))for(H={},c=g.K(N.U),t=c.next();!t.done;t=c.next())$Xd(N, +t.value,H);this.videoData.authorizedFormats=N.authorizedFormats;this.publish("keystatuseschange",N)}}; +g.C.CI=function(N,H){this.uo()||this.publish("ctmp",N,H)}; +g.C.Zr=function(N,H){this.uo()||this.publish("fairplay_next_need_key_info",N,H)}; +g.C.KZ=function(N,H,c,t){this.uo()||(this.videoData.N("html5_log_drm_metrics_on_error")&&rJ3(this),this.publish("licenseerror",N,H,c,t))}; +g.C.p$=function(){return this.Z}; +g.C.Zl=function(N){var H=g.PI("auto",N,!1,"l");if(this.videoData.oI){if(this.Z.equals(H))return}else if(Ypv(this.Z,N))return;this.Z=H;this.publish("qualitychange");this.Yc({updtlq:N})}; +g.C.F7T=function(N){this.videoData.sabrLicenseConstraint=N}; +g.C.Os=function(){var N,H;this.T.keySystemAccess&&this.element&&!((N=this.mediaElement)==null?0:(H=N.wE)==null?0:H.YD())&&(this.ox?this.element.setMediaKeys(null).catch(g.aS):this.element.setMediaKeys(null));this.element=null;this.L=[];N=g.K(this.B.values());for(H=N.next();!H.done;H=N.next())H=H.value,H.unsubscribe("ctmp",this.CI,this),H.unsubscribe("keystatuseschange",this.Un,this),H.unsubscribe("licenseerror",this.KZ,this),H.unsubscribe("newlicense",this.XJ,this),H.unsubscribe("newsession",this.jk, +this),H.unsubscribe("sessionready",this.B6,this),H.unsubscribe("fairplay_next_need_key_info",this.Zr,this),this.j.N("html5_enable_vp9_fairplay")&&H.unsubscribe("qualitychange",this.Zl,this),H.dispose();this.B.clear();this.Y.removeAll();this.C.removeAll();this.heartbeatParams=null;g.xo.prototype.Os.call(this)}; +g.C.Q4=function(){for(var N={systemInfo:this.T.Q4(),sessions:[]},H=g.K(this.B.values()),c=H.next();!c.done;c=H.next())N.sessions.push(c.value.Q4());return N}; +g.C.getInfo=function(){return this.B.size<=0?"no session":""+this.B.values().next().value.getInfo()+(this.S?"/KR":"")}; +g.C.Yc=function(N,H){H=H===void 0?!1:H;this.uo()||(Gu(N),(this.j.vO()||H)&&this.publish("ctmp","drmlog",N))};var i3L=!1,jpS=!1;g.k(rO,g.L);g.C=rO.prototype;g.C.lM=function(){return!!this.O3}; +g.C.qZ=function(){return this.B}; +g.C.handleError=function(N){var H=this;AkZ(this,N);var c;if(c=!((N.errorCode==="html5.invalidstate"||N.errorCode==="fmt.unplayable"||N.errorCode==="fmt.unparseable")&&Is(this,N.errorCode,N.details)))if(c=!xuf(this,N))this.videoData.errorDetail==="7"&&g.Iy(this.Es)?(OO(this,"innertube_player_reload_required"),c=!0):c=!1,c=!c;if(c)if(this.Es.Bp!=="yt"&&emD(this,N)&&this.videoData.Bv&&(0,g.Lh)()/1E3>this.videoData.Bv&&this.Es.Bp==="hm"&&(c=Object.assign({e:N.errorCode},N.details),c.stalesigexp="1",c.expire= +this.videoData.Bv,c.init=this.videoData.j2/1E3,c.now=(0,g.Lh)()/1E3,c.systelapsed=((0,g.Lh)()-this.videoData.j2)/1E3,N=new g.QP(N.errorCode,c,2),this.wE.TU(N.errorCode,2,"SIGNATURE_EXPIRED",Gu(N.details))),uO(N.severity)){var t;c=(t=this.wE.loader)==null?void 0:t.T.T;if(this.Es.N("html5_use_network_error_code_enums"))if(och(N)&&c&&c.isLocked())var h="FORMAT_UNAVAILABLE";else if(this.Es.Y||N.errorCode!=="auth"||N.details.rc!==429)N.errorCode==="ump.spsrejectfailure"&&(h="HTML5_SPS_UMP_STATUS_REJECTED"); +else{h="TOO_MANY_REQUESTS";var O="6"}else och(N)&&c&&c.isLocked()?h="FORMAT_UNAVAILABLE":this.Es.Y||N.errorCode!=="auth"||N.details.rc!=="429"?N.errorCode==="ump.spsrejectfailure"&&(h="HTML5_SPS_UMP_STATUS_REJECTED"):(h="TOO_MANY_REQUESTS",O="6");this.wE.TU(N.errorCode,N.severity,h,Gu(N.details),O)}else this.wE.publish("nonfatalerror",N),t=/^pp/.test(this.videoData.clientPlaybackNonce),this.rr(N.errorCode,N.details),t&&N.errorCode==="manifest.net.connect"&&(N="https://www.youtube.com/generate_204?cpn="+ +this.videoData.clientPlaybackNonce+"&t="+(0,g.Lh)(),U$(N,"manifest",function(F){H.Y=!0;H.Lq("pathprobe",F)},function(F){H.rr(F.errorCode,F.details)}))}; +g.C.Lq=function(N,H){this.wE.d_.Lq(N,H)}; +g.C.rr=function(N,H){H=Gu(H);this.wE.d_.rr(N,H)};Jp.prototype.Bx=function(N){var H=jsL(this);if(!N)return{fX:wv,Ap:wv,Vk:wv,xx:wv,Oe:wv,ZE:wv,yk:H};var c=wv;if(dd(H)||this.N("html5_perf_cap_override_sticky"))c=rFs(this,N);return{fX:c,Ap:l2R(this,N),Vk:g3h(this,N),xx:fw(this,N.videoData),Oe:uU(this,N.videoData,N),ZE:EG(this,N),yk:H}}; +Jp.prototype.KL=function(N){if(g.Iy(this.j)&&k_(this.j.S,o4.HEIGHT))var H=N.T.videoInfos[0].video.qualityOrdinal;else{var c=this.vB(!!N.T.T);ix(N.videoData)||qy(N.videoData);N=N.T.videoInfos;if(N.length){var t=.85,h=N[0].video;h.projectionType!=="MESH"&&h.projectionType!=="EQUIRECTANGULAR"&&h.projectionType!=="EQUIRECTANGULAR_THREED_TOP_BOTTOM"||wg||(t=.45);h=g.Mx(this.j.experiments,"html5_viewport_undersend_maximum");for(var O=0;O=0,stateAtSend:H,joinLatencySecs:O,jsErrorCount:this.jsErrorCount,playTimeSecs:this.playTimeSecs,rebufferTimeSecs:this.rebufferTimeSecs,seekCount:this.seekCount,networkErrorCount:this.networkErrorCount,nonNetworkErrorCount:this.nonNetworkErrorCount,playerCanaryType:t,playerCanaryStage:h,isAd:this.provider.videoData.isAd(),liveMode:c,hasDrm:!!g.JA(this.provider.videoData),isGapless:this.provider.videoData.C,isServerStitchedDai:this.provider.videoData.enableServerStitchedDai, +encounteredSabrFallback:this.encounteredSabrFallback,isSabr:AC(this.provider.videoData)};N||g.uF("html5PlayerHealthEvent",H);this.L=!0;this.dispose()}}; +cV.prototype.Os=function(){this.L||this.send();window.removeEventListener("error",this.D5);window.removeEventListener("unhandledrejection",this.D5);g.L.prototype.Os.call(this)}; +var kLd=/\bnet\b/;Txs.prototype.update=function(){if(this.C){var N=this.NP()||0,H=g.cd(this.provider);N>=this.provider.wE.getDuration()-.1&&(this.previouslyEnded=!0);if(N!==this.T||nQv(this,N,H)){var c;if(!(c=NH-this.nE+2||nQv(this,N,H))){c=this.provider.wE.getVolume();var t=c!==this.TW,h=this.provider.wE.isMuted()?1:0;h!==this.Z?(this.Z=h,c=!0):(!t||this.U>=0||(this.TW=c,this.U=H),c=H-this.U,this.U>=0&&c>2?(this.U=-1,c=!0):c=!1)}c&&(BU(this),this.L=N);this.nE=H;this.T=N}}}; +Txs.prototype.NP=function(){var N=this.provider.wE.NP();return Qp(this.provider.videoData)?N+this.provider.wE.HO():N};D9.prototype.send=function(N){var H=this;if(!this.w_){var c=mI3(this),t=g.Of(this.uri,c);this.j.N("vss_through_gel_double")&&ns3(t);this.NT&&!this.j.N("html5_simplify_pings")?ycy(this,t):rdt(this,N).then(function(h){H.j.N("html5_switch_vss_to_post")&&(h=h||{},h.method="POST");H.NT&&(h=h||{},h.method="POST",h.postParams={atr:H.attestationResponse});vr(t,h,{token:H.Us,J4:H.mG,mdxEnvironment:H.mdxEnvironment},H.j,N,H.Ix,H.isFinal&&H.il||H.Cq||H.L&&H.Bd)}); +this.w_=!0}}; +D9.prototype.B=function(N){N===void 0&&(N=NaN);return Number(N.toFixed(3)).toString()}; +var Kt={},sxt=(Kt.LIVING_ROOM_APP_MODE_UNSPECIFIED=0,Kt.LIVING_ROOM_APP_MODE_MAIN=1,Kt.LIVING_ROOM_APP_MODE_KIDS=2,Kt.LIVING_ROOM_APP_MODE_MUSIC=3,Kt.LIVING_ROOM_APP_MODE_UNPLUGGED=4,Kt.LIVING_ROOM_APP_MODE_GAMING=5,Kt),gB={},vay=(gB.EMBEDDED_PLAYER_MODE_UNKNOWN=0,gB.EMBEDDED_PLAYER_MODE_DEFAULT=1,gB.EMBEDDED_PLAYER_MODE_PFP=2,gB.EMBEDDED_PLAYER_MODE_PFL=3,gB);g.k(HV,g.L);g.C=HV.prototype; +g.C.On=function(){if(!this.L){this.provider.videoData.nu===16623&&g.aS(Error("Playback for EmbedPage"));var N=pp(this,"playback");this.C=qAs(this);$Ll(this.T);N.C=hQ(this);this.B>0&&(N.T-=this.B);N.send();if(this.provider.videoData.nZ){N=this.provider.j;var H=this.provider.videoData,c={html5:"1",video_id:H.videoId,cpn:H.clientPlaybackNonce,ei:H.eventId,ptk:H.nZ,oid:H.Nk,ptchn:H.kR,pltype:H.c6,content_v:SRs(H)};H.RC&&Object.assign(c,{m:H.RC});N=g.Of(N.qf+"ptracking",c);eM(this,N)}this.provider.videoData.fE|| +(oJh(this),rmZ(this));this.L=!0;N=this.T;N.T=N.NP();N.nE=g.cd(N.provider);!(N.L===0&&N.T<5)&&N.T-N.L>2&&(N.L=N.T);N.C=!0}}; +g.C.onProgress=function(){this.T.update();OKs(this)&&(oJh(this),rmZ(this))}; +g.C.Os=function(){g.L.prototype.Os.call(this);D3(this);BYf(this.T)}; +g.C.Q4=function(){return mI3(pp(this,"playback"))}; +g.C.ER=function(N){var H=pp(this,"engage");H.ox=N;return wNy(H,vXR(this.provider))};O_t.prototype.isEmpty=function(){return this.endTime===this.startTime};MA.prototype.N=function(N){return this.j.N(N)}; +MA.prototype.getCurrentTime=function(){return this.wE.getCurrentTime()}; +MA.prototype.NP=function(){return this.wE.NP()}; +var Y6y={other:1,none:2,wifi:3,cellular:7,ethernet:30};g.k(g.tn,g.L);g.C=g.tn.prototype;g.C.On=function(){this.T&&this.T.On();this.B&&this.B.On()}; +g.C.onProgress=function(){if(this.provider.videoData.enableServerStitchedDai&&this.mL){var N;(N=this.L.get(this.mL))==null||N.onProgress()}else if(this.T)this.T.onProgress()}; +g.C.TQ=function(N){this.qoe&&this.qoe.TQ(N)}; +g.C.HN=h3(29);g.C.qp=h3(35);g.C.qE=function(N,H){this.qoe&&this.qoe.qE(N,H)}; +g.C.lY=function(){if(this.provider.videoData.enableServerStitchedDai&&this.mL){var N;(N=this.L.get(this.mL))!=null&&BU(N.T)}else this.T&&BU(this.T.T)}; +g.C.rr=function(N,H){this.qoe&&bjt(this.qoe,N,H);if(this.B)this.B.onError(N)}; +g.C.bC=function(N,H){switch(N){case "M":var c;(c=this.qoe)==null||c.bC(N,H);break;case "A":var t;(t=this.qoe)==null||t.bC(N)}}; +g.C.onPlaybackRateChange=function(N){if(this.qoe)this.qoe.onPlaybackRateChange(N);this.T&&BU(this.T.T)}; +g.C.IU=h3(52);g.C.Lq=function(N,H,c){this.qoe&&this.qoe.Lq(N,H,c)}; +g.C.aG=function(N,H,c){this.qoe&&this.qoe.aG(N,H,c)}; +g.C.zz=function(N){var H;(H=this.qoe)==null||H.zz(N)}; +g.C.Cu=function(N){var H;(H=this.qoe)==null||H.Cu(N)}; +g.C.yY=function(N,H,c,t){var h;(h=this.qoe)==null||h.yY(N,H,c,t)}; +g.C.qY=function(N){this.qoe&&this.qoe.qY(N)}; +g.C.WM=function(N,H,c){this.qoe&&this.qoe.WM(N,H,c)}; +g.C.hJ=h3(23);g.C.SK=function(){if(this.qoe)return this.qoe.SK()}; +g.C.Q4=function(){if(this.provider.videoData.enableServerStitchedDai&&this.mL){var N,H;return(H=(N=this.L.get(this.mL))==null?void 0:N.Q4())!=null?H:{}}return this.T?this.T.Q4():{}}; +g.C.eh=function(){var N;return(N=this.qoe)==null?void 0:N.eh()}; +g.C.Mu=function(N,H){var c;(c=this.qoe)==null||c.Mu(N,H)}; +g.C.ER=function(N){return this.T?this.T.ER(N):function(){}}; +g.C.getVideoData=function(){return this.provider.videoData}; +g.C.resume=function(){this.qoe&&this.qoe.resume()};g.k(g.nu,g.L);g.C=g.nu.prototype;g.C.Q0=function(N,H){this.sync();H&&this.T.array.length>=2E3&&this.mH("captions",1E4);H=this.T;if(N.length>1&&N.length>H.array.length)H.array=H.array.concat(N),H.array.sort(H.T);else{N=g.K(N);for(var c=N.next();!c.done;c=N.next())c=c.value,!H.array.length||H.T(c,H.array[H.array.length-1])>0?H.array.push(c):g.rK(H.array,c,H.T)}this.L=NaN;this.sync()}; +g.C.UN=function(N){N.length>1E4&&g.aS(new g.ti("Over 10k cueRanges removal occurs with a sample: ",N[0]));if(!this.uo()){var H=new Set(N);this.B=this.B.filter(function(c){return!H.has(c)}); +k0R(this.T,H);this.sync()}}; +g.C.VZ=function(N,H){if(!this.uo()){var c=this.Z$().find(function(t){return t.id===H&&t.namespace===N}); +c&&this.UN([c])}}; +g.C.mH=function(N,H){var c=(isNaN(this.L)?Tp3(this):this.L)-H;H=this.Z$().filter(function(t){return t.namespace===N&&t.endthis.T,O=g.y(c,8)&&g.y(c,16),F=this.wE.RA().isBackground()||c.isSuspended();Lm(this,this.Xg,O&&!F,h,"qoe.slowseek",function(){},"timeout"); +var M=isFinite(this.T);M=O&&M&&H.E4(this.T);var f=!t||Math.abs(t-this.T)>10,d=this.j.N("html5_exclude_initial_sabr_live_dvr_seek_in_watchdog"),W=t===0&&this.B&&[11,10].includes(this.B);Lm(this,this.w_,M&&f&&!F&&(!d||!W),h,"qoe.slowseek",function(){H.seekTo(N.T)},"set_cmt"); +f=M&&t1(H.Z6(),this.T);var z=this.wE.loader;M=!z||z.vJ();var E=function(){H.seekTo(N.T+.001)}; +Lm(this,this.Cq,f&&M&&!F,h,"qoe.slowseek",E,"jiggle_cmt");M=function(){return N.wE.WR()}; +Lm(this,this.Kq,f&&!F,h,"qoe.slowseek",M,"new_elem");var x=B_(c);W=c.isBuffering();var q=H.Z6(),r=O$(q,t),w=r>=0&&q.end(r)>t+5;f=x&&W&&w;d=this.wE.getVideoData();Lm(this,this.gE,t<.002&&this.T<.002&&O&&g.Iy(this.j)&&g.Yq(d)&&!F,h,"qoe.slowseek",M,"slow_seek_shorts");Lm(this,this.TW,d.Tu()&&O&&!F&&!d.Z,h,"qoe.slowseek",M,"slow_seek_gapless_shorts");Lm(this,this.Bp,f&&!F,x&&!W,"qoe.longrebuffer",E,"jiggle_cmt");Lm(this,this.Us,f&&!F,x&&!W,"qoe.longrebuffer",M,"new_elem_nnr");if(z){var n=z.getCurrentTime(); +O=H.NA();O=E5h(O,n);O=!z.isSeeking()&&t===O;Lm(this,this.C4,x&&W&&O&&!F,x&&!W&&!O,"qoe.longrebuffer",function(){H.seekTo(n)},"seek_to_loader")}O={}; +E=O$(q,Math.max(t-3.5,0));var p=E>=0&&t>q.end(E)-1.1,U=E>=0&&E+1=0&&p&&U<11;O.close2edge=p;O.gapsize=U;O.buflen=q.length;this.B&&(O.seekSour=this.B);Lm(this,this.ox,x&&W&&!F,x&&!W,"qoe.longrebuffer",function(){},"timeout",O); +O=c.isSuspended();O=this.wE.NF()&&!O;Lm(this,this.C,O,!O,"qoe.start15s",function(){N.wE.ao("ad")},"ads_preroll_timeout"); +O=this.j.experiments.M4("html5_use_playback_rate_in_skip_slow_ad")?this.wE.getPlaybackRate()*1E3:1E3;r=t-this.U5;Lm(this,this.zW,z,x&&!W,"qoe.longrebuffer",function(){N.wE.Z7()},"reset_media_source"); +Lm(this,this.vp,z,x&&!W,"qoe.longrebuffer",M,"reset_media_element");this.U===0&&(this.Y=t);z=W&&this.T===0&&t>1&&t===this.Y;Lm(this,this.Ix,g.Yq(d)&&z,x&&!W,"qoe.slowseek",function(){H.seekTo(0)},"reseek_after_time_jump"); +F=c.isOrWillBePlaying()&&!F;w=this.wE.VQ()-t<6&&!w&&this.wE.GM();Lm(this,this.Z,d.Tu()&&F&&W&&w,x&&!W,"qoe.longrebuffer",function(){N.wE.WR(!1,!0)},"handoff_end_long_buffer_reload"); +F=this.B===104||this.wE.q$;c=Vz(d)&&d.isAd()&&!d.Z&&F&&(W||g.y(c,8)&&g.y(c,16));Lm(this,this.Al,c,h,"qoe.start15s",M,"gapless_ad_slow_start");c=Vz(d)&&!d.Z&&F&&f;Lm(this,this.UF,c,h,"qoe.longrebuffer",M,"gapless_slow_start");this.U=t;this.S.start()}}; +DC.prototype.rr=function(N,H,c){H=this.Q4(H);H.wn=c;H.wdup=this.L[N]?"1":"0";this.wE.rr(new g.QP(N,H));this.L[N]=!0}; +DC.prototype.Q4=function(N){N=Object.assign(this.wE.Q4(!0),N.Q4());this.T&&(N.stt=this.T.toFixed(3));this.wE.getVideoData().isLivePlayback&&(N.ct=this.wE.getCurrentTime().toFixed(3),N.to=this.wE.HO().toFixed(3));delete N.uga;delete N.euri;delete N.referrer;delete N.fexp;delete N.vm;return N}; +bn.prototype.reset=function(){this.T=this.B=this.L=this.startTimestamp=0;this.U=!1}; +bn.prototype.test=function(N){if(!this.S||this.B)return!1;if(!N)return this.reset(),!1;N=(0,g.Lh)();if(!this.startTimestamp)this.startTimestamp=N,this.L=0;else if(this.L>=this.S)return this.B=N,!0;this.L+=1;return!1}; +bn.prototype.Q4=function(){var N={},H=(0,g.Lh)();this.startTimestamp&&(N.wsd=(H-this.startTimestamp).toFixed());this.B&&(N.wtd=(H-this.B).toFixed());this.T&&(N.wssd=(H-this.T).toFixed());return N};g.k(uc,g.L);g.C=uc.prototype;g.C.setMediaElement=function(N){(this.mediaElement=N)?(this.mediaElement&&(this.S||this.L||!this.mediaElement.yK()||this.seekTo(.01,{j_:"seektimeline_setupMediaElement"})),yk(this)):dY(this)}; +g.C.getCurrentTime=function(N){N=N===void 0?!1:N;if(J3(this.wE)){if(this.N("html5_use_centralized_player_time")&&!N&&!isNaN(this.Y))return this.Y;if(!isNaN(this.B))return this.B}else{if(this.N("html5_use_centralized_player_time")&&!N&&!isNaN(this.Y)&&isFinite(this.Y))return this.Y;if(!isNaN(this.B)&&isFinite(this.B))return this.B}return this.mediaElement&&qEw(this)?this.mediaElement.getCurrentTime()+this.timestampOffset:this.L||0}; +g.C.G$=function(){return this.w_}; +g.C.NP=function(){return this.getCurrentTime()-this.HO()}; +g.C.e$=function(){return this.T?this.T.e$():Infinity}; +g.C.isAtLiveHead=function(N){if(!this.T)return!1;N===void 0&&(N=this.getCurrentTime());return zf(this.T,N)}; +g.C.xS=function(){return!!this.T&&this.T.xS()}; +g.C.seekTo=function(N,H){var c=H===void 0?{}:H;H=c.jm===void 0?!1:c.jm;var t=c.uV===void 0?0:c.uV;var h=c.K$===void 0?!1:c.K$;var O=c.Na===void 0?0:c.Na;var F=c.j_===void 0?"":c.j_;var M=c.seekSource===void 0?void 0:c.seekSource;var f=c.SH===void 0?!1:c.SH;var d=c.hk===void 0?!1:c.hk;c=c.wI===void 0?!1:c.wI;f&&(N+=this.HO());AC(this.videoData)&&M===29&&(this.w_=void 0);f=N=this.L6())||!g.z7(this.videoData),r||(w={st:w,mst:this.L6()},this.T&&this.N("html5_high_res_seek_logging")&&(w.ht=this.T.e$(),w.adft=bC(this.T)),this.wE.Lq("seeknotallowed",w)),w=r));if(!w)return this.U&&(this.U=null,H5(this)),g.GY(this.getCurrentTime());w=.005;d&&this.N("html5_sabr_seek_no_shift_tolerance")&&(w=0);if(Math.abs(N-this.B)<=w&&this.Ix)return this.S;F&&(w=N,this.j.vO()||this.N("html5_log_seek_reasons"))&& +(F={reason:F,tgt:w},this.N("html5_sabr_csdai_seek_log")&&(F.source=M),this.wE.Lq("seekreason",F));M&&(this.Bp.B=M);this.Ix&&dY(this);this.S||(this.S=new M9);N&&!isFinite(N)&&rY(this,!1);(F=c||f)||(F=N,F=!(this.videoData.isLivePlayback&&this.videoData.L&&!this.videoData.L.T&&!(this.mediaElement&&this.mediaElement.gJ()>0&&this.mediaElement.Ts()>0)||WK(this.videoData)&&this.T7()===this.L6(!1)?0:isFinite(F)||!WK(this.videoData)));F||(N=sT(this,N,h));N&&!isFinite(N)&&rY(this,!1);this.N("html5_use_centralized_player_time")? +this.Y=N:this.B=this.L=N;this.vp=O;this.C=0;this.T&&(h=this.T,O=N,Hqe(h,O,!1),DSf(h,O));h=this.wE;O=N;F={jm:H,seekSource:M};h.e_.L=O;c=h.oX;c.mediaTime=O;c.T=!0;F.jm&&h.Vq(F);F=O>h.videoData.endSeconds&&O>h.videoData.limitedPlaybackDurationInSeconds;h.lJ&&F&&isFinite(O)&&Yk(h);OH.start&&Yk(this.wE);return this.S}; +g.C.L6=function(N){if(!this.videoData.isLivePlayback)return this.wE.videoData.L6();var H;return gz(this.videoData)&&((H=this.mediaElement)==null?0:H.isPaused())&&this.videoData.T?(N=this.getCurrentTime(),Cmf(this.kH(N)*1E3)+N):this.N("html5_sabr_parse_live_metadata_playback_boundaries")&&AC(this.videoData)&&this.videoData.T?N?this.videoData.T.ox||0:this.videoData.T.Ot||0:WK(this.videoData)&&this.videoData.j$&&this.videoData.T?this.videoData.T.L6()+this.timestampOffset:this.videoData.L&&this.videoData.L.T? +!N&&this.T?this.T.e$():this.wE.videoData.L6()+this.timestampOffset:this.mediaElement?S3()?Cmf(this.mediaElement.uI().getTime()):this.mediaElement.Ts()+this.timestampOffset||this.timestampOffset:this.timestampOffset}; +g.C.T7=function(){if(this.N("html5_sabr_parse_live_metadata_playback_boundaries")&&AC(this.videoData)){var N;return((N=this.videoData.T)==null?void 0:N.sU)||0}N=this.videoData?this.videoData.T7()+this.timestampOffset:this.timestampOffset;if(gz(this.videoData)&&this.videoData.T){var H,c=Number((H=this.videoData.progressBarStartPosition)==null?void 0:H.utcTimeMillis)/1E3;if(!isNaN(c)&&(H=this.o7(c),!isNaN(H)))return Math.max(N,H)}return N}; +g.C.xp=function(){this.S||this.seekTo(this.L,{j_:"seektimeline_forceResumeTime_singleMediaSourceTransition",seekSource:15})}; +g.C.MV=function(){return this.Ix&&!isFinite(this.B)}; +g.C.Os=function(){S$(this,null);this.Bp.dispose();g.L.prototype.Os.call(this)}; +g.C.Q4=function(){var N={};this.loader&&Object.assign(N,this.loader.Q4());this.mediaElement&&Object.assign(N,this.mediaElement.Q4());return N}; +g.C.EX=function(N){this.timestampOffset=N}; +g.C.getStreamTimeOffset=function(){return WK(this.videoData)?0:this.videoData.T?this.videoData.T.getStreamTimeOffset():0}; +g.C.HO=function(){return this.timestampOffset}; +g.C.kH=function(N){return this.videoData&&this.videoData.T?this.videoData.T.kH(N-this.timestampOffset):NaN}; +g.C.K1=function(){if(!this.mediaElement)return 0;if(hd(this.videoData)){var N=this.mediaElement.AO()+this.timestampOffset-this.T7(),H=this.L6()-this.T7();return Math.max(0,Math.min(1,N/H))}return this.mediaElement.K1()}; +g.C.kh=function(N){this.Z&&(this.Z.T=N)}; +g.C.lU=function(N,H,c){this.wE.Lq("requestUtcSeek",{time:N});AC(this.videoData)&&(this.w_=N);var t;(t=this.loader)==null||t.lU(N,c);H&&(this.NT=H)}; +g.C.ke=function(N){AC(this.videoData)&&(this.w_=void 0);this.NT?(this.wE.Lq("utcSeekingFallback",{source:"streamTime",timeSeconds:this.NT}),this.wE.seekTo(this.NT,{j_:"utcSeekingFallback_streamTime"}),this.NT=0):(N=this.o7(N),isNaN(N)||(this.wE.Lq("utcSeekingFallback",{source:"estimate",timeSeconds:N}),this.wE.seekTo(N,{j_:"utcSeekingFallback_estimate"})))}; +g.C.k0=function(){this.NT=0}; +g.C.o7=function(N){var H=this.getCurrentTime();if(isNaN(H))return NaN;var c=this.kH(H);return isNaN(c)?NaN:N-(c-H)}; +g.C.N=function(N){return this.j&&this.j.N(N)};g.k(mP,g.L);mP.prototype.start=function(){this.B.start()}; +mP.prototype.stop=function(){this.B.stop()}; +mP.prototype.clear=function(){for(var N=g.K(this.T.values()),H=N.next();!H.done;H=N.next())H.value.clear()}; +mP.prototype.sample=function(){for(var N=g.K(this.L),H=N.next();!H.done;H=N.next()){var c=g.K(H.value);H=c.next().value;c=c.next().value;this.T.has(H)||this.T.set(H,new N2D(I8d.has(H)));this.T.get(H).update(c())}this.B.start()}; +var I8d=new Set(["networkactivity"]);N2D.prototype.update=function(N){this.B?(this.buffer.add(N-this.T||0),this.T=N):this.buffer.add(N)}; +N2D.prototype.clear=function(){this.buffer.clear();this.T=0};Cu.prototype.Tr=function(){return this.started}; +Cu.prototype.start=function(){this.started=!0}; +Cu.prototype.reset=function(){this.finished=this.started=!1};var WLt=!1;g.k(g.Xm,g.xo);g.C=g.Xm.prototype;g.C.Os=function(){g.gb(this.LM);tmZ(this.pG);this.visibility.unsubscribe("visibilitystatechange",this.pG);mdv(this.d_);g.ez(this.d_);x0(this);g.jO.k8(this.eR);this.kA();this.S7=null;g.ez(this.videoData);g.ez(this.T4);g.ez(this.Ns);g.ez(this.gP);g.an(this.JNo);this.lJ=null;g.xo.prototype.Os.call(this)}; +g.C.WM=function(N,H,c,t,h){if(this.j.N("html5_log_ad_playback_docid")){var O=this.d_;if(O.qoe){O=O.qoe;var F=this.j.Bp||"yt";g.Xz(O,g.cd(O.provider),"ad_playback",[N,H,c,h,F])}}else this.d_.WM(N,H,c);this.N("html5_log_media_perf_info")&&this.Lq("adloudness",{ld:t.toFixed(3),cpn:N})}; +g.C.cA=function(){var N;return(N=this.loader)==null?void 0:N.cA()}; +g.C.fH=function(){var N;return(N=this.loader)==null?void 0:N.fH()}; +g.C.tQ=function(){var N;return(N=this.loader)==null?void 0:N.tQ()}; +g.C.RB=function(){var N;return(N=this.loader)==null?void 0:N.RB()}; +g.C.f2=function(){return this.videoData.f2()}; +g.C.YD=function(){return this.N("html5_not_reset_media_source")&&this.videoData.isLivePlayback}; +g.C.Y1=function(){this.videoData.C&&(this.videoData.M0=this.videoData.M0||this.VR.x_().cA(),this.videoData.wH=this.videoData.wH||this.VR.x_().fH());if(BeD(this.videoData)||!bH(this.videoData)){var N=this.videoData.errorDetail;this.TU(this.videoData.errorCode||"auth",2,unescape(this.videoData.errorReason),N,N,this.videoData.iW||void 0)}this.N("html5_generate_content_po_token")&&this.oM();this.N("html5_enable_d6de4")&&this.d6()}; +g.C.getVideoData=function(){return this.videoData}; +g.C.D=function(){return this.j}; +g.C.Bx=function(){return this.OV.Bx(this.S7)}; +g.C.RA=function(){return this.visibility}; +g.C.z$=function(){return this.mediaElement&&this.mediaElement.X5()?this.mediaElement.N4():null}; +g.C.wr=function(){return this.mediaElement}; +g.C.Tm=function(){if(this.videoData.errorCode)return!1;this.D().Y&&this.D().houseBrandUserStatus&&this.Lq("hbut",{status:this.D().houseBrandUserStatus},!0);if(this.videoData.DI())return!0;this.TU("api.invalidparam",2,void 0,"invalidVideodata.1");return!1}; +g.C.gb=function(N){(N=N===void 0?!1:N)||KXL(this.d_);this.ME=N;!this.Tm()||this.iU.Tr()?mm(this)&&this.iU.Tr()&&!this.iU.finished&&!this.ME&&this.qs():(this.iU.start(),N=this.d_,g.cd(N.provider),N.qoe&&sXv(N.qoe),this.qs())}; +g.C.qs=function(){if(this.videoData.isLoaded()){var N=this.T4;g.Mx(N.Es.experiments,"html5_player_min_build_cl")>0&&g.Mx(N.Es.experiments,"html5_player_min_build_cl")>823563380&&OO(N,"oldplayer");p8v(this)}else this.videoData.qc||this.videoData.BR?this.ME&&mm(this)||(this.videoData.qc?naR(this.videoData):(N=this.d_,N.qoe&&(N=N.qoe,v4(N,"protected"),N.provider.videoData.S?N.pT():N.provider.videoData.subscribe("dataloaded",N.pT,N)),BBs(this.videoData))):!this.videoData.loading&&this.Rq&&lGv(this)}; +g.C.BP=function(N){this.z3=N;this.loader&&(ssl(this.loader,new g.Gp(N)),this.Lq("sdai",{sdsstm:1}))}; +g.C.N3=function(N,H,c){var t;(t=this.loader)==null||t.N3(N,H,c)}; +g.C.Fq=function(N){var H;(H=this.loader)==null||H.Fq(N)}; +g.C.R7=h3(8);g.C.isFullscreen=function(){return this.visibility.isFullscreen()}; +g.C.isBackground=function(){return this.visibility.isBackground()}; +g.C.Fm=function(){var N=this;P1(this).then(function(){return lP(N)}); +this.playerState.isOrWillBePlaying()&&this.playVideo()}; +g.C.GF=function(){this.mediaElement&&this.mediaElement.activate();this.gb();this.Tm()&&!g.y(this.playerState,128)&&(this.BM.Tr()||(this.BM.start(),this.videoData.TE?this.RD(po(this.playerState,4)):this.RD(po(po(this.playerState,8),1))),VEy(this))}; +g.C.XC=function(){return this.iU.finished}; +g.C.sendAbandonmentPing=function(){g.y(this.getPlayerState(),128)||(this.publish("internalAbandon"),this.F$(!0),mdv(this.d_),g.ez(this.d_),g.jO.k8(this.eR))}; +g.C.sJ=function(N,H,c){N=N===void 0?!0:N;(H===void 0||H)&&this.mediaElement&&this.mediaElement.pause();N&&c&&this.loader&&WK(this.videoData)&&this.loader.yY(c);this.RD(N?new g.Nb(14):new g.Nb)}; +g.C.e4=function(){this.d_.lY()}; +g.C.TU=function(N,H,c,t,h,O){var F,M;g.cc(TGc,c)?F=c:c?M=c:F="GENERIC_WITHOUT_LINK";t=(t||"")+(";a6s."+rC());if(N==="auth"||N==="drm.auth"||N==="heartbeat.stop")c&&(t+=";r."+c.replaceAll(" ","_")),O&&(t+="sr."+O.replaceAll(" ","_"));H={errorCode:N,errorDetail:h,errorMessage:M||g.Ht[F]||"",Z9:F,iW:O||"",pM:t,JP:H,cpn:this.videoData.clientPlaybackNonce};this.videoData.errorCode=N;a9(this,"dataloaderror");this.RD(U3(this.playerState,128,H));g.jO.k8(this.eR);x0(this);this.LJ()}; +g.C.ao=function(N){this.Tk=this.Tk.filter(function(H){return N!==H}); +this.BM.Tr()&&VEy(this)}; +g.C.hU=function(){var N;(N=!!this.Tk.length)||(N=this.UI.T.array[0],N=!!N&&N.start<=-0x8000000000000);return N}; +g.C.xS=function(){return this.e_.xS()}; +g.C.isPlaying=function(){return this.playerState.isPlaying()}; +g.C.AA=function(){return this.playerState.AA()&&this.videoData.TE}; +g.C.getPlayerState=function(){return this.playerState}; +g.C.N1=function(N){var H;(H=this.loader)==null||H.N1(N)}; +g.C.Jq=function(N){var H;(H=this.loader)==null||H.Jq(N)}; +g.C.getPlayerType=function(){return this.playerType}; +g.C.getPreferredQuality=function(){if(this.S7){var N=this.S7;N=N.videoData.a9.compose(N.videoData.H9);N=Su(N)}else N="auto";return N}; +g.C.Vw=h3(16);g.C.isGapless=function(){return!!this.mediaElement&&this.mediaElement.isView()}; +g.C.setMediaElement=function(N){if(this.mediaElement&&N.N4()===this.mediaElement.N4()&&(N.isView()||this.mediaElement.isView())){if(N.isView()||!this.mediaElement.isView())this.wc(),this.mediaElement=N,this.mediaElement.LQ(this),gcs(this),this.e_.setMediaElement(this.mediaElement)}else{this.mediaElement&&this.kA();if(!this.playerState.isError()){var H=Xt(this.playerState,512);g.y(H,8)&&!g.y(H,2)&&(H=po(H,1));N.isView()&&(H=Xt(H,64));this.RD(H)}this.mediaElement=N;this.mediaElement.LQ(this);!g.Iy(this.j)&& +this.mediaElement.setLoop(this.loop);this.mediaElement.setPlaybackRate(this.playbackRate);gcs(this);this.e_.setMediaElement(this.mediaElement);this.N("html5_prewarm_media_source")&&!this.T4.lM()&&this.mediaElement.mC()}}; +g.C.kA=function(N,H,c){N=N===void 0?!1:N;H=H===void 0?!1:H;c=c===void 0?!1:c;if(this.mediaElement){var t=this.getCurrentTime();t>0&&(this.e_.L=t);this.e_.setMediaElement(null);!N&&this.YD()?w03(this):this.md(c);this.loader&&(Vp(this.loader),wL(this,H));this.QE.stop();if(this.mediaElement&&(!this.BM.Tr()&&!this.NF()||this.playerState.isError()||g.y(this.playerState,2)||this.RD(po(this.playerState,512)),this.mediaElement)){this.wc();if(N||!this.mediaElement.isView())this.f4.Yt("mesv_s"),this.mediaElement.stopVideo(), +qM(this);this.mediaElement.LQ(null);this.mediaElement=null}}}; +g.C.playVideo=function(N,H){N=N===void 0?!1:N;H=H===void 0?!1:H;var c=this,t,h,O,F,M,f;return g.Y(function(d){if(d.T==1){var W=window.google_image_requests;W&&W.length>10&&(window.google_image_requests=W.slice(-10));if(g.y(c.playerState,128))return d.return();if(c.T4.qZ())return c.publish("signatureexpired"),d.return();c.mediaElement&&KXL(c.d_);c.GF();(g.y(c.playerState,64)||N)&&c.RD(po(c.playerState,8));return c.BM.finished&&c.mediaElement?c.S7||!c.Lu?d.rE(2):g.a(d,c.Lu,3):d.return()}if(d.T!=2&& +g.y(c.playerState,128))return d.return();if(!c.videoData.L)return c.videoData.isLivePlayback&&!g.bm(c.j.S,!0)?(t="html5.unsupportedlive",h=2):(t=c.videoData.f2()?"fmt.unplayable":"fmt.noneavailable",h=1),g.aS(Error("selectableFormats")),c.TU(t,h,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK","trg.selectableFormats"),d.return();if(c.Mp()&&c.videoData.L.T)return d.return(P1(c));if(J3(c))W=c.e_,BJ(W.videoData)&&!W.isAtLiveHead(W.getCurrentTime())&&W.xS()&&W.wE.seekTo(Infinity,{j_:"seektimeline_peggedToLive", +seekSource:34});else if(BJ(c.videoData)&&(O=c.getCurrentTime()F;if(!M||!F){h&&M&&(O=Math.max(O,h));var f;h=zv(H,(f=t.T)==null?void 0:f.videoInfos);f=H.wE.getPlaybackRate();f>1&&h&&(f=jFZ(H.j.S,t.T.videoInfos,f),N.T!==0&&f=480;if(H.N("html5_perf_cap_override_sticky")){d=H.L;H=H.N("html5_perserve_av1_perf_cap");H=H===void 0?!1:H;if(H===void 0?0:H){W=Fh();N=g.K(Object.keys(W));for(O=N.next();!O.done;O=N.next())O=O.value,O.indexOf("1")!==0&&delete W[O];g.h9("yt-player-performance-cap",W,2592E3)}else g.FB("yt-player-performance-cap");sZw(H);if(H){H=g.K(sG.keys());for(W=H.next();!W.done;W=H.next())W=W.value,W.startsWith("1")|| +sG.delete(W);H=g.K(Tq.values());for(W=H.next();!W.done;W=H.next())W=W.value,W.startsWith("1")||Tq.delete(W);H=g.K(d.keys());for(W=H.next();!W.done;W=H.next())W=W.value,W.startsWith("1")||d.delete(W)}else sG.clear(),Tq.clear(),d.clear()}}}}this.loader&&(H=this.loader,c=c||"",H.policy.T?e$(H.U.T,c):e$(H.T.S,c));this.v_()}; +g.C.getUserPlaybackQualityPreference=function(){return this.videoData.L&&!this.videoData.L.T?Su(this.videoData.a9):n9[SW()]}; +g.C.hasSupportedAudio51Tracks=function(){return this.videoData.hasSupportedAudio51Tracks()}; +g.C.setUserAudio51Preference=function(N,H){this.getUserAudio51Preference()!==N&&(this.Lq("toggle51",{pref:N}),g.h9("yt-player-audio51",N,H?31536E3:2592E3),this.Fm())}; +g.C.getUserAudio51Preference=function(){return this.videoData.getUserAudio51Preference()}; +g.C.setProximaLatencyPreference=function(N){var H=this.getProximaLatencyPreference();this.Lq("proxima",{pref:N});g.h9("yt-player-proxima-pref",N,31536E3);H!==N&&(N=this.e_,N.Al=!0,N.wE.seekTo(Infinity,{j_:"seektimeline_proximaSeekToHead",seekSource:34}))}; +g.C.getProximaLatencyPreference=function(){var N;return(N=rf())!=null?N:0}; +g.C.isProximaLatencyEligible=function(){return this.videoData.isProximaLatencyEligible}; +g.C.oM=function(){this.videoData.videoId?this.VR.oM(this.videoData):this.Lq("povid",{})}; +g.C.d6=function(){this.videoData.videoId?this.VR.d6(this.videoData):this.Lq("piavid",{})}; +g.C.v_=function(){if(!this.uo()&&!g.y(this.playerState,128)&&this.videoData.L){if(this.videoData.L.T)Ku(this);else{var N=rL(this),H=this.videoData;a:{var c=this.videoData.UF;if(N.T){for(var t=g.K(c),h=t.next();!h.done;h=t.next()){h=h.value;var O=h.getInfo(),F=g.fi[O.video.quality];if((!N.L||O.video.quality!=="auto")&&F<=N.T){c=h;break a}}c=c[c.length-1]}else c=c[0]}H.Ix=c;kiv(this,N.reason,Vi3(this,this.videoData.Ix))}if(this.N("html5_check_unstarted")?this.playerState.isOrWillBePlaying():this.isPlaying())this.e_.TW= +!1,this.playVideo()}}; +g.C.RM=function(N,H){if(this.uo()||g.y(this.playerState,128))return!1;var c,t=!((c=this.videoData.L)==null||!c.T);c=t&&H?this.getCurrentTime()-this.HO():NaN;if(N.X3&&N.X3.id){var h=this.d_;if(h.qoe){h=h.qoe;var O=[N.X3.id,isNaN(c)?"m":"t"];g.Xz(h,g.cd(h.provider),"afi",O)}}if(t)return H&&(t=Qk(this.e_),this.Lq("aswh",{id:N.id,xtags:N.xtags,bh:t.toFixed(3)})),this.loader.setAudioTrack(N,c,H),!0;if(k4y(this)){a:{H=this.mediaElement.audioTracks();for(t=0;tO.Zf.getDuration()&&g8h(O,F)):g8h(O,d);var W=O.loader,z=O.Zf;M=M===void 0?!1:M;f=f===void 0?!1:f;W.policy.Cq&&(W.policy.Kq&&W.Lq("loader",{setsmb:0}),W.yB(),W.policy.Cq=!1);FOs(W,f);if(!yD(z)){var E=L3(W.videoTrack),x=L3(W.audioTrack),q=(E?E.info.mR:W.videoTrack.mR).info,r=(x?x.info.mR:W.audioTrack.mR).info,w=W.policy.u1, +n=q.mimeType+(w===void 0?"":w),p=r.mimeType,U=q.T0,X=r.T0,A;z.Bp=(A=z.Zf)==null?void 0:A.addSourceBuffer(p);var R;z.Us=n.split(";")[0]==="fakesb"?void 0:(R=z.Zf)==null?void 0:R.addSourceBuffer(n);z.YP&&(z.YP.webkitSourceAddId("0",p),z.YP.webkitSourceAddId("1",n));var v=new Ml(z.Bp,z.YP,"0",ZH(p),X,!1),Nf=new Ml(z.Us,z.YP,"1",ZH(n),U,!0);oFL(z,v,Nf)}E=M;x=f;E=E===void 0?!1:E;x=x===void 0?!1:x;wC(W.videoTrack,z.B||null,x);wC(W.audioTrack,z.T||null,x);W.Zf=z;W.Zf.S=!0;E||W.resume();z.T.Cm(W.w_,W);z.B.Cm(W.w_, +W);try{W.Ec()}catch(Fe){g.BZ(Fe)}O.publish("mediasourceattached")}}catch(Fe){g.aS(Fe),O.handleError(new g.QP("fmt.unplayable",{msi:"1",ename:Fe&&typeof Fe==="object"&&"name"in Fe?String(Fe.name):void 0,trg:"setmediasrc"},1))}} +var O=this;H=H===void 0?!1:H;c=c===void 0?!1:c;YKR(this,t===void 0?!1:t);this.Zf=N;this.YD()&&rd(this.Zf)==="open"?h(this.Zf):bFR(this.Zf,h)}; +g.C.Gr=function(N){this.HD.set(N.initData,N);this.M2&&(this.M2.Gr(N),this.N("html5_eme_loader_sync")||this.HD.remove(N.initData))}; +g.C.If=function(N){this.videoData.y5=g.PI("auto",N,!1,"u");Ku(this)}; +g.C.kh=function(N){var H=N.reason,c=N.T.info,t=N.token,h=N.videoId,O=this.d_,F=this.videoData;if(c!==F.U){var M=!F.U;F.U=c;H!=="m"&&H!=="t"&&(H=M?"i":"a");var f=H==="m"||H==="t";this.j.experiments.M4("html5_refactor_sabr_audio_format_selection_logging")?this.IK=new oxe(F,c,H,"",t,h):(H=new oxe(F,c,H,"",t),O.qoe&&(O=O.qoe,c=g.cd(O.provider),jGL(O,c,H)));this.publish("internalaudioformatchange",F,!M&&f)}this.e_.kh(N.T.index)}; +g.C.f0=function(N){this.publish("localmediachange",N)}; +g.C.xN=function(N){N=N===void 0?{}:N;var H;(H=this.loader)==null||H.xN(this.j,lx(this.videoData),N)}; +g.C.qZ=function(){return this.T4.qZ()}; +g.C.uA=function(N){this.rr(new g.QP("staleconfig",{reason:N}))}; +g.C.handleError=function(N){this.T4.handleError(N)}; +g.C.lM=function(){return this.T4.lM()}; +g.C.ke=function(N){this.e_.ke(N)}; +g.C.WR=function(N,H){N=N===void 0?!1:N;H=H===void 0?!1:H;var c=this,t,h,O;return g.Y(function(F){if(F.T==1){c.loader&&c.loader.ge();c.loader&&c.loader.uo()&&x0(c);if(c.N("html5_enable_vp9_fairplay")&&c.f2()&&(t=c.videoData.T)!=null)for(var M in t.T)t.T.hasOwnProperty(M)&&(t.T[M].T=null,t.T[M].L=!1);c.RD(po(c.playerState,2048));c.publish("newelementrequired");return N?g.a(F,P1(c),2):F.rE(2)}c.videoData.K4()&&((h=c.loader)==null?0:h.Ix)&&!J3(c)&&((O=c.isAtLiveHead())&&BJ(c.videoData)?c.seekTo(Infinity, +{j_:"videoPlayer_getNewElement"}):c.videoData.K6&&c.loader&&(M=c.loader,M.GW.K4&&(M.GW.K6||M.GW.U||M.GW.isPremiere?(M.seek(0,{j_:"loader_resetSqless"}),M.videoTrack.Y=!0,M.audioTrack.Y=!0,M.videoTrack.U=!0,M.audioTrack.U=!0):Lg(M.GW)&&yu(M))));H&&c.seekTo(0,{seekSource:105});g.y(c.playerState,8)&&c.playVideo();g.Z3(F)})}; +g.C.f$=function(N){this.Lq("hgte",{ne:+N});this.videoData.C=!1;N&&this.WR();this.loader&&Wnv(this.loader)}; +g.C.oz=function(N){this.Lq("newelem",{r:N});this.WR()}; +g.C.pauseVideo=function(N){N=N===void 0?!1:N;if((g.y(this.playerState,64)||g.y(this.playerState,2))&&!N)if(g.y(this.playerState,8))this.RD(AP(this.playerState,4,8));else if(this.AA())lP(this);else return;g.y(this.playerState,128)||(N?this.RD(po(this.playerState,256)):this.RD(AP(this.playerState,4,8)));this.mediaElement&&this.mediaElement.pause();g.z7(this.videoData)&&this.loader&&wL(this,!1)}; +g.C.stopVideo=function(){this.pauseVideo();this.loader&&(wL(this,!1),this.loader.yB())}; +g.C.LJ=function(N,H){N=N===void 0?!1:N;H=H===void 0?!1:H;if(this.YD()&&H){var c;(c=this.mediaElement)==null||c.LJ()}else{var t;(t=this.mediaElement)==null||t.stopVideo()}qM(this);x0(this);g.y(this.playerState,128)||(N?this.RD(Xt(Xt(po(this.playerState,4),8),16)):this.RD(U3(this.playerState)));this.videoData.videoId&&this.j.gE.remove(this.videoData.videoId)}; +g.C.seekTo=function(N,H){H=H===void 0?{}:H;g.y(this.playerState,2)&&lP(this);H.bPR&&this.RD(po(this.playerState,2048));if((H.seekSource===58||H.seekSource===60)&&this.N("html5_update_vss_during_gapless_seeking")){var c=this.d_;c.T&&(c=c.T,H.seekSource===58?c.T.update():c.L&&(D3(c),Na(c).send(),c.U=NaN))}this.e_.seekTo(N,H);this.UI.sync()}; +g.C.Vq=function(N){this.f4.U.B=(0,g.Lh)();g.y(this.playerState,32)||(this.RD(po(this.playerState,32,N==null?void 0:N.seekSource)),g.y(this.playerState,8)&&this.pauseVideo(!0),this.publish("beginseeking"));this.Dp()}; +g.C.Jy=function(N){N=N==null?void 0:N.seekSource;g.y(this.playerState,32)?(this.RD(AP(this.playerState,16,32,N)),this.publish("endseeking")):g.y(this.playerState,2)||this.RD(po(this.playerState,16,N));N=this.f4.U;var H=this.videoData,c=this.playerState.isPaused();if(H.clientPlaybackNonce&&!isNaN(N.T)){if(Math.random()<.01){c=c?"pbp":"pbs";var t={startTime:N.T};H.Y&&(t.cttAuthInfo={token:H.Y,videoId:H.videoId});Zy("seek",t);g.YR({clientPlaybackNonce:H.clientPlaybackNonce},"seek");isNaN(N.B)||Ai("pl_ss", +N.B,"seek");Ai(c,(0,g.Lh)(),"seek")}N.reset()}}; +g.C.s3=function(N){this.Jy(N)}; +g.C.Rf=function(){this.publish("SEEK_COMPLETE")}; +g.C.gW=function(N){var H=this.VR,c=this.videoData.clientPlaybackNonce,t=this.playerType;if(N.scope===4){var h=N.type;if(h){var O=H.o4(),F=O.getVideoData().clientPlaybackNonce;t===1&&(F=c);if(t=sgv(H,F)){if(c=t.getVideoData())N.writePolicy===2&&c.sabrContextUpdates.has(h)||(N.sendByDefault&&c.gE.add(h),c.sabrContextUpdates.set(h,N)),H.N("html5_enable_t1_enf_on_sabr")&&(N=h===5,h=mWR(c.playerResponse),N?(N=h?1:0,v9(N,"m.p_",{}),qz("MBSTAT",N)):N=1,N===0&&H.VS.QS("onAbnormalityDetected"))}else O.Lq("scuset", +{ncpf:"1",ccpn:F,crcpn:c})}else g.aS(Error("b/380308491: contextUpdateType is undefined"))}}; +g.C.OS=function(){if(this.playerType===2)return this.VR.OS("")}; +g.C.getCurrentTime=function(N){return this.e_.getCurrentTime(N===void 0?!1:N)}; +g.C.G$=function(){return this.e_.G$()}; +g.C.NP=function(){return this.e_.NP()}; +g.C.oB=function(){return this.NP()}; +g.C.e$=function(){return this.e_.e$()}; +g.C.getPlaylistSequenceForTime=function(N){return this.videoData.getPlaylistSequenceForTime(N-this.HO())}; +g.C.A9=function(){var N=NaN;this.mediaElement&&(N=this.mediaElement.A9());return N>=0?N:this.getCurrentTime()}; +g.C.kH=function(){var N;return((N=this.videoData.T)==null?0:N.kH)?this.videoData.T.kH(this.getCurrentTime()-this.HO()):this.mediaElement&&(N=this.mediaElement.uI())&&(N=N.getTime(),!isNaN(N))?N/1E3+this.getCurrentTime():NaN}; +g.C.getDuration=function(){return this.videoData.lengthSeconds?this.videoData.lengthSeconds+this.HO():this.L6()?this.L6():0}; +g.C.fL=function(){var N=new udL;if(this.loader){var H=this.YG,c=this.j.vO();c=c===void 0?!1:c;N.Gk=H.ox;N.O0=H.vp;N.bandwidthEstimate=bR(H);if(c){c=(H.Z.sI()*1E3).toFixed();var t=(H.Ix.sI()*1E3).toFixed(),h=lw(H).toFixed(2),O=((H.C.sI()||0)*1E9).toFixed(2),F=H.L.sI().toFixed(0),M=H.Cq.sI().toFixed(0),f=H.TW.percentile(.5).toFixed(2),d=H.TW.percentile(.92).toFixed(2),W=H.TW.percentile(.96).toFixed(2),z=H.TW.percentile(.98).toFixed(2);H.T?H.T.reset():H.T=new qW;H.T.add(H.NT);H.T.add(H.interruptions.length); +for(var E=0,x=H.interruptions.length-1;x>=0;x--){var q=H.interruptions[x];H.T.add(q-E);E=q}E=0;for(x=H.U.length-1;x>=0;x--){q=H.U[x];var r=q.stamp/36E5;H.T.add(r-E);E=r;H.T.add(q.net/1E3);H.T.add(q.max)}H=H.T.UR();N.T={ttr:c,ttm:t,d:h,st:O,bw:F,abw:M,v50:f,v92:d,v96:W,v98:z,"int":H}}H=this.loader;H.Zf&&H.Zf.S&&!H.Zf.wR()&&(N.yV=wz(H.videoTrack),N.B=wz(H.audioTrack),H.policy.L&&(c=kw(H.videoTrack),t=kw(H.audioTrack),h=Eo(H.Zf.B.l2(),"_",5),O=Eo(H.Zf.T.l2(),"_",5),Object.assign(N.T,{lvq:c,laq:t,lvb:h, +lab:O})));N.bandwidthEstimate=Jf(H.TW);var w;(w=H.audioTrack.Z)==null||w.flush();var n;(n=H.videoTrack.Z)==null||n.flush()}else this.mediaElement&&(N.yV=this.mediaElement.Ul());N.Gk=this.Gk;N.O0=this.O0;N.L=this.isAtLiveHead()&&this.isPlaying()?pu(this):NaN;w=this.e_;w=w.T?bC(w.T):0;N.U=w;return N}; +g.C.u4=function(N,H){this.O0+=N;this.Gk+=H}; +g.C.K1=function(){return this.mediaElement?g.z7(this.videoData)?1:hd(this.videoData)?this.isAtLiveHead()||this.xS()?1:this.e_.K1():this.mediaElement.K1():0}; +g.C.Z4=function(){var N=this.WS,H=X9(N,"bandwidth"),c=X9(N,"bufferhealth"),t=X9(N,"livelatency"),h=X9(N,"networkactivity"),O=U0(N,"bandwidth"),F=U0(N,"bufferhealth"),M=U0(N,"livelatency");N=U0(N,"networkactivity");var f=this.CL(),d=f.droppedVideoFrames;f=f.totalVideoFrames;var W=this.getCurrentTime();if(this.M2){var z="IT/"+(this.M2.T.getInfo()+"/"+Su(this.p$()));z+="/"+this.M2.getInfo()}else z="";var E=this.isGapless(),x=this.SP(),q=this.SK(),r=g.Fb(this),w=this.getPlayerState(),n=this.getPlaylistSequenceForTime(this.getCurrentTime()); +a:{var p=0;var U="";if(this.z3){if(this.z3.Fj){U="D,";break a}p=this.z3.WJ;U=this.z3.aW.substring(0,4)}p>0?(p="AD"+p+", ",U&&(p+=U+", "),U=p):U=""}return{OQ:O,aM:F,currentTime:W,XK:z,droppedVideoFrames:d,isGapless:E,SP:x,St:q,C_:H,K_:c,eZ:t,Vy:h,zc:M,rf:N,EW:r,playerState:w,KX:n,O5:U,totalVideoFrames:f}}; +g.C.Q4=function(N){var H={};if(N===void 0?0:N){Object.assign(H,this.d_.Q4());this.mediaElement&&(Object.assign(H,this.mediaElement.Q4()),N=this.CL(),H.dvf=N.droppedVideoFrames,H.tvf=N.totalVideoFrames);this.loader&&Object.assign(H,this.loader.Q4());this.M2&&(H.drm=JSON.stringify(this.M2.Q4()));H.state=this.playerState.state.toString(16);g.y(this.playerState,128)&&(H.debug_error=JSON.stringify(this.playerState.vN));this.hU()&&(H.prerolls=this.Tk.join(","));this.videoData.H0&&(H.ismb=this.videoData.H0); +this.videoData.latencyClass!=="UNKNOWN"&&(H.latency_class=this.videoData.latencyClass);this.videoData.isLowLatencyLiveStream&&(H.lowlatency="1");if(this.videoData.defaultActiveSourceVideoId||this.videoData.compositeLiveStatusToken||this.videoData.compositeLiveIngestionOffsetToken)H.is_mosaic=1;this.videoData.cotn&&(H.is_offline=1,H.cotn=this.videoData.cotn);this.videoData.playerResponseCpn&&(H.playerResponseCpn=this.videoData.playerResponseCpn);this.VR.isOrchestrationLeader()&&(H.leader=1);this.videoData.isLivePlayback&& +(this.videoData.T&&Qv(this.videoData.T)&&(H.segduration=Qv(this.videoData.T)),N=this.e_,H.lat=N.Z?QWZ(N.Z.U):0,H.liveutcstart=this.videoData.liveUtcStartSeconds);H.relative_loudness=this.videoData.XQ.toFixed(3);if(N=g.Fb(this))H.optimal_format=N.video.qualityLabel;H.user_qual=SW();H.release_version=T[34]}H.debug_videoId=this.videoData.videoId;return H}; +g.C.addCueRange=function(N){this.iN([N])}; +g.C.removeCueRange=function(N){this.UI.UN([N])}; +g.C.gX=function(){var N=this.UI;if(N.wE.D().N("html5_sort_cueranges_on_update")&&!(N.Z$().length<=0||N.uo())){var H=N.T;H.array.sort(H.T)}N.sync()}; +g.C.mH=function(N,H){return this.UI.mH(N,H)}; +g.C.iN=function(N,H){this.UI.Q0(N,H)}; +g.C.Hu=function(N){this.UI.UN(N)}; +g.C.Z$=function(){return this.UI.Z$()||[]}; +g.C.XR=function(){return this.Y5}; +g.C.Mp=function(){return this.visibility.Mp()}; +g.C.fm=function(){this.mediaElement&&this.mediaElement.fm()}; +g.C.N0R=function(){a9(this)}; +g.C.togglePictureInPicture=function(){this.mediaElement&&this.mediaElement.togglePictureInPicture()}; +g.C.wc=function(){g.bM(this.sZ)}; +g.C.f6g=function(){this.Dp();this.publish("onLoadProgress",this.K1())}; +g.C.Rl=function(N){var H=N.target.FH();if(this.mediaElement&&this.mediaElement.FH()&&this.mediaElement.FH()===H){LKh(this,N.type);switch(N.type){case "error":var c=this.mediaElement.FR()||"",t=this.mediaElement.Yl();if(c==="capability.changed"){this.N("html5_restart_on_capability_change")?(this.Lq("capchg",{msg:t}),this.WR(!0)):P1(this);return}if(this.mediaElement.hasError()&&Is(this.T4,c,{msg:t,trg:"elementevt"}))return;if(this.isBackground()&&this.mediaElement.XP()){this.LJ();kJ(this,"unplayable"); +return}break;case "durationchange":c=this.mediaElement.getDuration();isFinite(c)&&(!this.Zf||c>0)&&c!==1&&this.cQ(c);break;case "ratechange":this.loader&&this.loader.setPlaybackRate(this.mediaElement.getPlaybackRate());c=this.UI;c.started=!0;c.sync();this.d_.onPlaybackRateChange(this.getPlaybackRate());break;case "loadedmetadata":this.Zp().T.G0(jlg)&&gO(this,!1);ozZ(this);this.publish("onLoadedMetadata");JLv(this);c=this.kH();this.videoData.aj&&(this.videoData.aj=c);break;case "loadstart":JLv(this); +break;case "progress":case "suspend":this.nI.Ki();break;case "seeked":(c=this.loader)!=null&&c.policy.B&&c.Dq&&(c.Lq("sdai",{skipAdSked:"1"}),c.Dq=!1);break;case "playing":this.Zp().T.G0(jlg)&&gO(this,!1);this.f4.Yt("plev");this.C9&&!J3(this)&&(this.C9=!1,this.isAtLiveHead()||this.seekTo(Infinity,{j_:"videoplayer_onPlaying"}));break;case "timeupdate":this.Zp().T.G0(jlg)&&gO(this,!1);c=this.mediaElement&&!this.mediaElement.getCurrentTime();t=this.mediaElement&&this.mediaElement.gJ()===0;if(c&&(!this.SX|| +t))return;this.SX=this.SX||!!this.mediaElement.getCurrentTime();GT(this);this.Dp();if(!this.mediaElement||this.mediaElement.FH()!==H)return;this.publish("onVideoProgress",this.getCurrentTime());break;case "waiting":if(this.mediaElement.NA().length>0&&this.mediaElement.Z6().length===0&&this.mediaElement.getCurrentTime()>0&&this.mediaElement.getCurrentTime()<5&&this.loader)return;this.N("html5_ignore_unexpected_waiting_cfl")&&(this.mediaElement.isPaused()||this.mediaElement.gJ()>2||!this.mediaElement.isSeeking()&& +t1(this.mediaElement.Z6(),this.mediaElement.getCurrentTime()))&&(c=this.mediaElement.Q4(),c.bh=this.mediaElement.Ul().toFixed(3),this.Lq("uwe",c));break;case "resize":ozZ(this);this.videoData.B&&this.videoData.B.video.quality==="auto"&&this.publish("internalvideoformatchange",this.videoData,!1);break;case "pause":if(this.LN&&g.y(this.playerState,8)&&!g.y(this.playerState,1024)&&this.getCurrentTime()===0&&g.op){kJ(this,"safari_autoplay_disabled");return}}if(this.mediaElement&&this.mediaElement.FH()=== +H){KHD(this.e_,N);this.publish("videoelementevent",N);H=this.playerState;t=this.oX;var h=this.mediaElement;c=this.videoData.clientPlaybackNonce;if(!g.y(H,128)){var O=H.state;h=h?h:N.target;var F=h.getCurrentTime();if(!g.y(H,64)||N.type!=="ended"&&N.type!=="pause"){var M=h.getDuration();M=h.isEnded()||F>1&&Math.abs(F-M)<1.1;var f=N.type==="pause"&&h.isEnded();F=N.type==="ended"||N.type==="waiting"||N.type==="timeupdate"&&!g.y(H,4)&&!Rp(t,F);if(f||M&&F)h.ey()>0&&h.FH()&&(O=14);else switch(N.type){case "error":h.FR()&& +(O|=128);break;case "pause":g.y(H,256)?(O^=256)||(O=64):g.y(H,32)||g.y(H,2)||g.y(H,4)||(O=4,g.y(H,1)&&g.y(H,8)&&(O|=1));break;case "playing":F=O;O=(O|8)&-1093;F&4?(O|=1,DG(t,h,!0)):Rp(t,h.getCurrentTime())&&(O&=-2);g.y(H,1)&&DG(t,h)&&(O|=1);break;case "seeking":O|=16;g.y(H,8)&&(O|=1);O&=-3;break;case "seeked":O&=-17;DG(t,h,!0);break;case "waiting":g.y(H,2)||(O|=1);DG(t,h);break;case "timeupdate":F=g.y(H,16),M=g.y(H,4),(g.y(H,8)||F)&&!M&&Rp(t,h.getCurrentTime())&&(O=8),DG(t,h)&&(O|=1)}}t=O;O=null; +t&128&&(O=N.target,h=O.FR(),F=1,h?(h==="capability.changed"&&(F=2),M="GENERIC_WITHOUT_LINK",f=O.Q4(),f.mediaElem="1",f.trg="melem",/AUDIO_RENDERER/.test(O.Yl())&&(M="HTML5_AUDIO_RENDERER_ERROR"),O={errorCode:h,errorMessage:g.Ht[M]||"",Z9:M,pM:Gu(f),JP:F,cpn:H.vN?H.vN.cpn:""}):O=null,O&&(O.cpn=c));H=U3(H,t,O)}!g.y(this.playerState,1)&&g.y(H,1)&&uxl(this,"evt"+N.type);this.RD(H)}}}; +g.C.gOx=function(N){N=N.T.availability==="available";N!==this.Y5&&(this.Y5=N,this.publish("airplayavailabilitychange"))}; +g.C.PXs=function(){var N=(0,g.Lh)(),H=this.mediaElement.Mp();this.Lq("airplay",{ia:H});!H&&!isNaN(this.zs)&&N-this.zs<2E3||(this.zs=N,H!==this.Mp()&&(N=this.visibility,N.T!==H&&(N.T=H,N.pG()),this.Lq("airplay",{rbld:H}),this.Fm()),this.publish("airplayactivechange"))}; +g.C.bN=function(N){if(this.loader){var H=this.loader,c=H.L,t=H.getCurrentTime(),h=Date.now()-c.TW;c.TW=NaN;c.Lq("sdai",{adfetchdone:N,d:h});N&&!isNaN(c.C)&&c.B!==3&&ud(c.loader,t,c.C,c.Y);c.policy.B?c.S=NaN:c.U=NaN;GD(c,4,c.B===3?"adfps":"adf");Vp(H)}}; +g.C.Dv=function(){g.gb(this.LM);this.QE.stop();this.videoData.Z=!0;this.j.aE=!0;this.j.mG=0;var N=this.T4;if(N.videoData.B){var H=N.Es.S,c=N.videoData.B.T0;H.U.has(c)&&(H.U.delete(c),H.B=!0)}N.T.stop();this.IX();g.y(this.playerState,8)&&this.RD(Xt(this.playerState,65));this.ME=!1;this.d_.On();g.lY(this.Ns);this.publish("playbackstarted");(N=g.NA("yt.scheduler.instance.clearPriorityThreshold"))?N():Fw(0)}; +g.C.IX=function(){var N=this.VR.Sg(),H={},c={};!j_("pbs",this.f4.timerName)&&X6.measure&&X6.getEntriesByName&&(X6.getEntriesByName("mark_nr")[0]?hit("mark_nr"):hit());N.videoId&&(H.videoId=N.videoId);N.clientPlaybackNonce&&!this.N("web_player_early_cpn")&&(H.clientPlaybackNonce=N.clientPlaybackNonce);this.mediaElement&&this.mediaElement.isPaused()&&(c.isPausedOnLoad=!0);c.itag=N.B?Number(N.B.itag):-1;N.Uu&&(c.preloadType=String(this.B5?2:1));H.liveStreamMode=VrY[f9(N)];H.playerInfo=c;this.f4.infoGel(H); +if(this.loader){N=this.loader.timing;window&&window.performance&&window.performance.getEntriesByName&&(N.L&&(H=window.performance.getEntriesByName(N.L),H.length&&(H=H[0],N.tick("vri",H.fetchStart),N.tick("vdns",H.domainLookupEnd),N.tick("vreq",H.requestStart),N.tick("vrc",H.responseEnd))),N.B&&(H=window.performance.getEntriesByName(N.B),H.length&&(H=H[0],N.tick("ari",H.fetchStart),N.tick("adns",H.domainLookupEnd),N.tick("areq",H.requestStart),N.tick("arc",H.responseEnd))));N=N.ticks;for(var t in N)N.hasOwnProperty(t)&& +this.f4.tick(t,N[t])}}; +g.C.Dp=function(N){var H=this;N=N===void 0?!1:N;if(this.mediaElement&&this.videoData){pfl(this.e_,this.isPlaying());var c=this.getCurrentTime();if(this.loader&&(g.y(this.playerState,4)&&g.z7(this.videoData)||g.y(this.playerState,32)&&AC(this.videoData)||dbD(this.loader,c),this.N("html5_log_centralized_player_time")&&Math.abs(this.getCurrentTime()-v2l(this.loader))>10)){var t;this.Lq("sabrSeekRefactorCmt",{cmt:this.getCurrentTime(),loaderCmt:(t=this.loader)==null?void 0:v2l(t)},!0)}c>5&&(this.e_.L= +c);(t=g.FK())?g.jO.k8(this.eR):g.wi(this.eR);var h=this.mediaElement.isPaused();if((this.playerState.isBuffering()||!h||gz(this.videoData))&&!g.y(this.playerState,128)){var O=function(){if(H.mediaElement&&!g.y(H.playerState,128)){H.j.vO()&&LKh(H,"pfx");var F=H.getCurrentTime();H.N("html5_buffer_underrun_transition_fix")&&(F-=H.HO());var M=H.mediaElement.Ul(),f=g.y(H.playerState,8),d=Rp(H.oX,F),W=rjR(H.oX,F,(0,g.Lh)(),M);f&&d?H.RD(Xt(H.playerState,1)):f&&W?(f=H.getDuration(),d=BJ(H.videoData),f&&Math.abs(f- +F)<1.1?(H.Lq("setended",{ct:F,bh:M,dur:f,live:d}),H.mediaElement.Mj()?H.seekTo(0,{j_:"videoplayer_loop",seekSource:37}):H.sJ()):(H.playerState.isBuffering()||uxl(H,"progress_fix"),H.RD(po(H.playerState,1)))):(f&&!d&&!W&&F>0&&(f=(Date.now()-H.O3)/1E3,d=H.getDuration(),F>d-1&&H.Lq("misspg",{t:F.toFixed(2),d:d.toFixed(2),r:f.toFixed(2),bh:M.toFixed(2)})),H.playerState.isPaused()&&H.playerState.isBuffering()&&H.mediaElement.Ul()>5&&H.RD(Xt(H.playerState,1)));H.Dp()}}; +this.mediaElement.NA().length===0?this.eR=t?g.jO.jP(O,100):g.Zh(O,100):this.eR=t?g.jO.jP(O,500):g.Zh(O,500)}this.videoData.kG=c;!N&&this.isPlaying()&&UPL(this);q3L(this.OV,this.S7,this.wr(),this.isBackground())&&Ku(this);this.publish("progresssync",N);h&&gz(this.videoData)&&this.publish("onVideoProgress",this.getCurrentTime())}}; +g.C.Ysi=function(){this.TU("ad.rebuftimeout",2,"RETRYABLE_ERROR","vps."+this.playerState.state.toString(16))}; +g.C.SK=function(){return this.d_.SK()}; +g.C.US=function(){return this.loader?this.loader.US():bR(this.YG,!0)}; +g.C.RD=function(N){if(!g.ZU(this.playerState,N)){var H=new g.I$(N,this.playerState);this.playerState=N;nPh(this);var c=!this.hB.length;this.hB.push(H);var t=this.mediaElement&&this.mediaElement.isSeeking();g.tC(H,1)&&this.loader&&Ngv(this.loader);t=H.oldState.state===8&&!t;if(g.tC(H,1)&&t&&g.y(this.playerState,8)&&!g.y(this.playerState,64)&&this.loader){t=this.loader;t.F_=!0;if(t.policy.S_&&t.Zf){var h,O,F,M;t.Lq("lr_rb",{c:t.getCurrentTime(),s:t.isSeeking(),ab:Eo(t.Zf.T.l2()),ala:(h=na(t.audioTrack))== +null?void 0:h.uX(),alr:(O=t.audioTrack.T)==null?void 0:O.uX(),vb:Eo(t.Zf.B.l2()),vla:(F=na(t.videoTrack))==null?void 0:F.uX(),vlr:(M=t.videoTrack.T)==null?void 0:M.uX()})}t.BF!==0&&t.Lq("sps_rebuffer",{c:t.getCurrentTime()});this.mediaElement&&this.mediaElement.Ul()>=5&&(h=this.OV,O=this.S7,!O.videoData.B||h.N("html5_disable_performance_downgrade")?h=!1:(Date.now()-h.C>6E4&&(h.B=0),h.B++,h.C=Date.now(),h.B!==4?h=!1:(xSh(h,O.videoData.B),h=!0)),h&&Ku(this))}(h=g.Mx(this.j.experiments,"html5_ad_timeout_ms"))&& +this.videoData.isAd()&&g.y(N,1)&&(g.y(N,8)||g.y(N,16))?this.h_.start(h):this.h_.stop();(hC(H,8)<0||g.tC(H,1024))&&this.QE.stop();!g.tC(H,8)||this.videoData.Z||g.y(H.state,1024)||this.QE.start();g.y(H.state,8)&&hC(H,16)<0&&!g.y(H.state,32)&&!g.y(H.state,2)&&this.playVideo();g.y(H.state,2)&&hd(this.videoData)&&(this.cQ(this.getCurrentTime()),this.Dp(!0));g.tC(H,2)&&(this.F$(!0),this.j.vO()&&this.N("html5_sabr_parse_live_metadata_playback_boundaries")&&AC(this.videoData)&&this.videoData.T&&(N={minst:""+ +this.videoData.T.sU,cminst:""+(this.videoData.T.T7()+this.HO()),maxst:""+this.videoData.T.Ot,hts:""+this.videoData.T.ox,cmaxst:""+(this.videoData.T.L6()+this.HO())},this.Lq("sabrSeekableBoundaries",N)));g.tC(H,128)&&this.LJ();this.videoData.T&&this.videoData.isLivePlayback&&!this.zB&&(hC(H,8)<0?(N=this.videoData.T,N.S&&N.S.stop()):g.tC(H,8)&&this.videoData.T.resume());N=this.e_;g.lY(N.Bp.S);if(N.mediaElement)if(H.oldState.state===8&&B_(H.state)&&H.state.isBuffering()){var f=N.mediaElement.getCurrentTime(); +h=N.mediaElement.Z6();O=N.N("manifestless_post_live_ufph")||N.N("manifestless_post_live")?O$(h,Math.max(f-3.5,0)):O$(h,f-3.5);O>=0&&f>h.end(O)-1.1&&O+10?(d4(N.wE,N.getCurrentTime()+N.videoData.limitedPlaybackDurationInSeconds), +N.Xg=!0):N.videoData.isLivePlayback&&N.videoData.endSeconds>0&&(d4(N.wE,N.getCurrentTime()+N.videoData.endSeconds),N.Xg=!0));f=this.d_;if(g.tC(H,1024)||g.tC(H,512)||g.tC(H,4))f.B&&(N=f.B,N.B>=0||(N.T=-1,N.delay.stop())),f.qoe&&(N=f.qoe,N.C||(N.L=-1));if(f.provider.videoData.enableServerStitchedDai&&f.mL){var d;(d=f.L.get(f.mL))==null||o5v(d,H)}else f.T&&o5v(f.T,H);f.qoe&&(d=f.qoe,N=H.state,h=g.cd(d.provider),O=d.getPlayerState(N),F=N.seekSource||void 0,O!==d.y0&&(d.ox||h=10&&d.playTimeSecs<=180&&(d.T.set("qoealert",["1"]),d.mG=!0)),O!=="B"||d.y0!=="PL"&&d.y0!=="PB"||(d.isBuffering=!0),d.B=h),d.y0==="PL"&&(O==="B"||O==="S")||d.provider.j.vO()?lc(d,h):(d.kG||O!=="PL"||(d.kG=!0,kr(d,h,d.provider.wE.fL())),el(d,h)),O==="PL"&&g.lY(d.qc),M=[O],O==="S"&&F&&M.push("ss."+F),g.Xz(d,h,"vps",M),d.y0=O,d.Bp=h,d.B=h,d.U=!0),O=N.vN,g.y(N,128)&&O&&(O.pM=O.pM||"",RUS(d,h,O.errorCode, +O.JP,O.pM)),(g.y(N,2)||g.y(N,128))&&d.reportStats(h),N.isPlaying()&&!d.C&&(d.L>=0&&d.T.set("user_intent",[d.L.toString()]),d.C=!0),k1(d));f.B&&(d=f.B,fAs(d),d.playerState=H.state,d.B>=0&&g.tC(H,16)&&d.seekCount++,H.state.isError()&&d.send());if(c&&!this.uo())try{for(var W=g.K(this.hB),z=W.next();!z.done;z=W.next()){var E=z.value,x=this.UI;if(x.started&&(x.sync(),g.y(E.oldState,16))){H=x;var q=XKy(H.T,Math.max(H.L-2E3,0));!isNaN(q)&&q<0x7ffffffffffff&&H.U.start()}this.publish("statechange",E)}}finally{this.hB.length= +0}}}; +g.C.Wb=function(){this.f4.tick("qoes")}; +g.C.xp=function(){this.e_.xp()}; +g.C.KZ=function(N,H,c,t){a:{var h=this.T4;t=t===void 0?"LICENSE":t;c=c.substring(0,256);var O=uO(H);N==="drm.keyerror"&&this.M2&&this.M2.B.keys.length>1&&h.U<96&&(N="drm.sessionlimitexhausted",O=!1);var F=h.Es.experiments.M4("html5_retry_on_drm_unavailable"),M=h.Es.experiments.M4("html5_retry_on_drm_key_error"),f=/^(closedShouldNotRetry|t\.prefixedKeyError)(.*)/;if(F&&N==="drm.unavailable"||M&&N==="drm.keyerror"&&!c.match(f))h.rr("qoe.restart",{retryOnDrmError:1,e:N,detail:c}),h.wE.WR(!0);else{if(O)if(h.videoData.B&& +h.videoData.B.video.isHdr())OjS(h,N);else{if(h.wE.TU(N,H,t,c),Kqt(h,{detail:c}))break a}else h.rr(N,{detail:c});N==="drm.sessionlimitexhausted"&&(h.Lq("retrydrm",{sessionLimitExhausted:1}),h.U++,LvZ(h.wE))}}}; +g.C.rjS=function(){var N=this,H=g.Mx(this.j.experiments,"html5_license_constraint_delay"),c=bs();H&&c?(H=new g.kT(function(){N.v_();a9(N)},H),g.l(this,H),H.start()):(this.v_(),a9(this))}; +g.C.HE=function(N){this.publish("heartbeatparams",N)}; +g.C.Un=function(N){this.Lq("keystatuses",skv(N));var H="auto",c=!1;this.videoData.B&&(H=this.videoData.B.video.quality,c=this.videoData.B.video.isHdr());a:{switch(H){case "highres":case "hd2880":H="UHD2";break;case "hd2160":case "hd1440":H="UHD1";break;case "hd1080":case "hd720":H="HD";break;case "large":case "medium":case "small":case "light":case "tiny":H="SD";break;default:H="";break a}c&&(H+="HDR")}H=iG(N)?fm(N,H):N.U.includes(H);if(this.N("html5_enable_vp9_fairplay")){if(c)if(N.C){var t;if((t= +this.M2)==null?0:tW(t.T))if((c=this.M2)==null)c=0;else{for(var h=t=void 0,O=g.K(c.B.values()),F=O.next();!F.done;F=O.next())F=F.value,t||(t=DXy(F,"SD")),h||(h=DXy(F,"AUDIO"));c.Yc({sd:t,audio:h});c=t==="output-restricted"||h==="output-restricted"}else c=!H;if(c){this.Lq("drm",{dshdr:1});OjS(this.T4);return}}else{this.videoData.xt||(this.videoData.xt=!0,this.Lq("drm",{dphdr:1}),this.WR(!0));return}var M;if((M=this.M2)==null?0:tW(M.T))return}else if(M=N.C&&H,c&&!M){OjS(this.T4);return}H||fm(N,"AUDIO")&& +fm(N,"SD")||(N=skv(N),this.kL?(this.publish("drmoutputrestricted"),this.N("html5_report_fatal_drm_restricted_error_killswitch")||this.TU("drm.keyerror",2,void 0,"info."+N)):(this.kL=!0,this.rr(new g.QP("qoe.restart",Object.assign({},{retrydrm:1},N))),Ku(this),LvZ(this)))}; +g.C.Jj_=function(){if(!this.videoData.Z&&this.mediaElement&&!this.isBackground()){var N="0";this.mediaElement.gJ()>0&&this.mediaElement.Ul()>=5&&this.videoData.L&&this.videoData.L.T&&(this.RD(po(this.playerState,1)),uxl(this,"load_soft_timeout"),this.publish("playbackstalledatstart"),N="1");nPh(this);var H=this.videoData.L;N={restartmsg:N,mfmt:!ea(this.videoData),mdrm:!(!(H&&H.videoInfos&&H.videoInfos.length&&H.videoInfos[0].YH)||this.M2),mfmtinfo:!this.videoData.B,prerolls:this.hU()?this.Tk.join(","): +"0"};if(this.M2){H=this.M2;if(H.B.size<=0){var c="ns;";H.TW||(c+="nr;");H=c+="ql."+H.L.length}else H=skv(H.B.values().next().value),H=Gu(H);N.drmp=H}var t;Object.assign(N,((t=this.loader)==null?void 0:t.Q4())||{});var h;Object.assign(N,((h=this.mediaElement)==null?void 0:h.Q4())||{});this.d_.rr("qoe.start15s",Gu(N));this.publish("loadsofttimeout")}}; +g.C.cQ=function(N){this.videoData.lengthSeconds!==N&&(this.videoData.lengthSeconds=N,a9(this))}; +g.C.F$=function(N,H){var c=this;N=N===void 0?!1:N;if(!this.EY)if(j_("att_s","player_att")||OZ("att_s",void 0,"player_att"),this.N("use_rta_for_player"))(function(){var h,O,F,M,f;return g.Y(function(d){switch(d.T){case 1:if(!(h=N)){d.rE(2);break}return g.a(d,g.Adh(),3);case 3:h=!d.B;case 2:if(h)return d.return();g.Xy(d,4);O=DId(c.d_);if(!O)throw Error();F={};return g.a(d,g.DGD((F.cpn=c.videoData.clientPlaybackNonce,F.encryptedVideoId=c.videoData.videoId||"",F),3E4),6);case 6:M=d.B;if(c.EY)throw Error(); +if(!M.challenge)throw f=M.error?"; error: "+M.error:"",g.aS(Error("Not sending atr ping; missing challenge string"+f)),Error();c.EY=!0;var W=[M.challenge];if(M.error){var z=gyl();z=OzS(z).get(M.error)||0;W.push("r1c="+z)}else M.webResponse&&W.push("r1a="+M.webResponse);var E;((E=M.adblockReporting)==null?void 0:E.reportingStatus)!==void 0&&W.push("r6a="+M.adblockReporting.reportingStatus);var x;((x=M.adblockReporting)==null?void 0:x.broadSpectrumDetectionResult)!==void 0&&W.push("r6b="+M.adblockReporting.broadSpectrumDetectionResult); +O(W.join("&"));OZ("att_f",void 0,"player_att");g.VI(d,0);break;case 4:g.Lq(d),OZ("att_e",void 0,"player_att"),g.Z3(d)}})})().then(function(){H==null||H()}); +else{var t=new g.t1h(this.videoData);if("c1a"in t.yl&&!g.jv.isInitialized()){OZ("att_wb",void 0,"player_att");this.kZ===2&&Math.random()<.01&&g.aS(Error("Botguard not available after 2 attempts"));if(N)return;if(this.kZ<5){g.lY(this.gP);this.kZ++;return}}(t=g.ots(t))?(OZ("att_f",void 0,"player_att"),Jc3(this.d_,t),this.EY=!0):OZ("att_e",void 0,"player_att")}}; +g.C.VQ=function(N){N=N===void 0?!1:N;return BJ(this.videoData)&&(this.isAtLiveHead()&&!this.playerState.isPaused()||this.xS()||g.z7(this.videoData))?this.getCurrentTime():this.L6(N)}; +g.C.r7=function(){return this.T7()}; +g.C.L6=function(N){return this.e_.L6(N===void 0?!1:N)}; +g.C.T7=function(){return this.e_.T7()}; +g.C.HO=function(){return this.e_?this.e_.HO():0}; +g.C.getStreamTimeOffset=function(){return this.e_?this.e_.getStreamTimeOffset():0}; +g.C.Dj=function(){return this.getStreamTimeOffset()===0?this.HO():this.getStreamTimeOffset()}; +g.C.setPlaybackRate=function(N){var H;this.playbackRate!==N&&zv(this.OV,(H=this.videoData.L)==null?void 0:H.videoInfos)&&(this.playbackRate=N,Ku(this));this.playbackRate=N;this.mediaElement&&this.mediaElement.setPlaybackRate(N)}; +g.C.getPlaybackRate=function(){return this.playbackRate}; +g.C.getPlaybackQuality=function(){var N="unknown";if(this.videoData.B&&(N=this.videoData.B.video.quality,N==="auto"&&this.mediaElement)){var H=this.z$();H&&H.videoHeight>0&&(N=uX(H.videoWidth,H.videoHeight))}return N}; +g.C.isHdr=function(){return!!(this.videoData.B&&this.videoData.B.video&&this.videoData.B.video.isHdr())}; +g.C.sendVideoStatsEngageEvent=function(N,H){var c=this.d_;c.T?(c=pp(c.T,"engage"),c.ox=N,c.send(H)):H&&H()}; +g.C.ER=function(N){return this.d_.ER(N)}; +g.C.isAtLiveHead=function(N,H){H=H===void 0?!1:H;return BJ(this.videoData)&&(this.Kt||H)?this.e_.isAtLiveHead(N):!1}; +g.C.iq=function(){var N=this.L6(),H=this.getCurrentTime(),c;(c=!BJ(this.videoData))||(c=this.e_,c=!(c.T&&c.T.L));return c||this.xS()||isNaN(N)||isNaN(H)?0:Math.max(0,N-H)}; +g.C.vP=function(N){(this.Kt=N)||this.QE.stop();if(this.videoData.T)if(N)this.videoData.T.resume();else{var H=this.videoData.T;H.S&&H.S.stop()}this.loader&&(H=this.videoData.N("html5_disable_preload_for_ssdai_with_preroll")&&this.NF()&&this.videoData.isLivePlayback,N&&!H?this.loader.resume():wL(this,!0));g.y(this.playerState,2)||N?g.y(this.playerState,512)&&N&&this.RD(Xt(this.playerState,512)):this.RD(po(this.playerState,512));H=this.d_;H.qoe&&(H=H.qoe,g.Xz(H,g.cd(H.provider),"stream",[N?"A":"I"]))}; +g.C.Ph=function(N){this.d_.rr("player.exception",Gu({n:N.name,m:N.message}))}; +g.C.hJ=h3(22);g.C.IU=h3(51);g.C.TQ=function(N){this.d_.TQ(N)}; +g.C.zz=function(N){this.d_.zz(N)}; +g.C.qY=function(N){this.d_.qY(N)}; +g.C.HN=h3(28);g.C.qp=h3(34);g.C.Cu=function(N){this.d_.Cu(N)}; +g.C.yY=function(N,H,c,t){this.d_.yY(N,H,c,t)}; +g.C.FY=function(){this.Lq("hidden",{},!0)}; +g.C.CL=function(){return this.mediaElement?this.mediaElement.getVideoPlaybackQuality():{}}; +g.C.vJ=function(){return this.loader?this.loader.vJ():!0}; +g.C.setLoop=function(N){this.loop=N;this.mediaElement&&!g.Iy(this.j)&&this.mediaElement.setLoop(N)}; +g.C.Mj=function(){return this.mediaElement&&!g.Iy(this.j)?this.mediaElement.Mj():this.loop}; +g.C.EX=function(N){this.Lq("timestamp",{o:N.toString()});this.e_.EX(N)}; +g.C.tN=function(N){this.f4.tick(N)}; +g.C.WN=function(N){return this.f4.WN(N)}; +g.C.Yt=function(N){this.f4.Yt(N)}; +g.C.Lq=function(N,H,c){this.d_.Lq(N,H,c===void 0?!1:c)}; +g.C.TH=function(N,H,c){this.d_.Lq(N,H,c===void 0?!1:c)}; +g.C.rr=function(N){this.d_.rr(N.errorCode,Gu(N.details));N=N.errorCode;if(this.videoData.isLivePlayback&&(N==="qoe.longrebuffer"||N==="qoe.slowseek")||N==="qoe.restart"){N=this.loader?yp3(this.loader.videoTrack):{};var H,c;this.Lq("lasoe",Object.assign(this.loader?yp3(this.loader.audioTrack):{},(H=this.Zf)==null?void 0:(c=H.T)==null?void 0:c.dZ()));var t,h;this.Lq("lvsoe",Object.assign(N,(t=this.Zf)==null?void 0:(h=t.B)==null?void 0:h.dZ()))}if(this.N("html5_log_centralized_player_time")){var O;this.Lq("sabrSeekRefactorCmt", +{cmt:this.getCurrentTime(),loaderCmt:(O=this.loader)==null?void 0:v2l(O)})}}; +g.C.aG=function(N,H,c){this.d_.aG(N,H,c)}; +g.C.Ku=function(N,H,c,t,h,O,F,M){var f;if((f=this.videoData.T)!=null&&f.isLive){var d=H.playerType===2?H:N,W=N.videoData.videoId,z=H.videoData.videoId;if(W&&z){f=this.d_;if(f.qoe){var E=f.qoe,x=N.cpn,q=H.cpn,r=d.videoData.n4,w=E.provider.videoData.clientPlaybackNonce,n=E.provider.videoData.videoId,p=q!==w&&z!==n;w=x!==w&&W!==n;E.reportStats();E.adCpn&&E.adCpn!==x||(E.adCpn=w?x:"",E.by=w?W:"",E.adFormat=w?r:void 0,yYd(E,O?4:h?2:0,q,z,t),E.reportStats(),E.adCpn=p?q:"",E.by=p?z:"",E.adFormat=p?r:void 0, +yYd(E,O?5:h?3:1,x,W,c),E.reportStats())}c=N.cpn;if(f.L.has(c)){if(h=f.L.get(c),Na(h,!0).send(),D3(h),c!==f.provider.videoData.clientPlaybackNonce){HX(h);var U;(U=f.T)==null||tQ(U);f.L.delete(c)}}else f.mL=f.provider.videoData.clientPlaybackNonce,f.mL&&f.T&&(f.L.set(f.mL,f.T),Na(f.T).send(),D3(f.T));U=H.cpn;d=d.videoData;t-=this.Dj();if(f.L.has(U)){t=f.L.get(U);var X=t.L&&isNaN(t.S)?hQ(t):NaN;t=h7(t,!1);isNaN(X)||(t.C=X);t.send()}else t=B93(f,f.provider,d,t),f.L.set(U,t),o5v(t,new g.I$(po(new g.Nb, +8),new g.Nb)),t.On(),(X=f.T)==null||D3(X);f.mL=U;if(this.N("html5_unify_csi_server_stitched_transition_logging")){if(f=this.f4,X=H.cpn,t=this.videoData.clientPlaybackNonce,H=H.videoData,N=(N.cpn===t?"video":"ad")+"_to_"+(X===t?"video":"ad"),N!=="video_to_ad"){t=N==="ad_to_video"?void 0:H;d=t==null?void 0:t.Hg;U={};if(H==null?0:H.Y)U.cttAuthInfo={token:H.Y,videoId:H.videoId};F&&(U.startTime=F);Zy(N,U);var A,R,v;F={targetVideoId:(A=H==null?void 0:H.videoId)!=null?A:"empty_video",targetCpn:X,adVideoId:(R= +t==null?void 0:t.videoId)!=null?R:"empty_video",adClientPlaybackNonce:(v=d==null?void 0:d.cpn)!=null?v:t==null?void 0:t.clientPlaybackNonce};d&&(F.adBreakType=d.adBreakType,F.adType=d.adType);g.YR(F,N);MB(f,M,N)}}else A=this.f4,v=this.videoData.clientPlaybackNonce,R=H.videoData,v=(N.cpn===v?"video":"ad")+"_to_"+(H.cpn===v?"video":"ad"),N={},R.Y&&(N.cttAuthInfo={token:R.Y,videoId:R.videoId}),F&&(N.startTime=F),Zy(v,N),g.YR({targetVideoId:R.videoId,targetCpn:H.cpn,isSsdai:!0},v),F||MB(A,M,v)}}else g.Bp(this.logger, +360717806,"SSTEvent for nonSS")}; +g.C.LV=function(){var N=this.VR,H=N.GH;N.GH=[];return H}; +g.C.Ks=function(N){this.videoData.Qo=!0;this.rr(new g.QP("sabr.fallback",N));this.WR(!0)}; +g.C.BB=function(N,H){this.videoData.UJ=!0;if(H===void 0||H)this.rr(new g.QP("qoe.restart",N)),this.WR(!0)}; +g.C.Yq=function(N){this.Lq("sdai",{aftimeout:N});this.rr(new g.QP("ad.fetchtimeout",{timeout:N}))}; +g.C.CM=function(N,H){this.Lq("timelineerror",N);N=new g.QP("dai.timelineerror",N);H?this.TU("dai.timelineerror",1,"RETRYABLE_ERROR",Gu(N.details)):this.rr(N)}; +g.C.Bz=function(){return g.cd(this.d_.provider)}; +g.C.getPlayerSize=function(){return this.Ka.getPlayerSize()}; +g.C.lR=function(){return this.Ka.lR()}; +g.C.Um=function(){return this.f4}; +g.C.cG=function(){return this.VR.cG()}; +g.C.getVolume=function(){return this.VR.getVolume()}; +g.C.yw=function(){return this.VR.yw()}; +g.C.isMuted=function(){return this.VR.isMuted()}; +g.C.pH=function(){return this.VR.pH()}; +g.C.MU=function(){this.zB=!0}; +g.C.N=function(N){return this.j.N(N)}; +g.C.Zp=function(){return this.j.Zp()}; +g.C.P4=function(N,H,c,t,h){this.Lq("xvt",{m:N,g:H?1:0,tt:c?1:0,np:t?1:0,c:h})}; +g.C.X$=function(){var N;(N=this.loader)==null||N.resume()}; +g.C.NF=function(){return g.O7(this.Tk,"ad")}; +g.C.gL=function(){var N=this.getCurrentTime(),H=N-this.HO();var c=this.mediaElement?yY(this.mediaElement.Z6()):0;c=Math.floor(Math.max(c-H,0))+100;var t;return((t=this.loader)==null?0:t.gL(H,c))?(this.Lq("sdai",{skipad:1,ct:H.toFixed(3),adj:c.toFixed(3)}),AC(this.videoData)&&this.loader.seek(H+c,{seekSource:89,j_:"videoplayer_skipServerStitchedAd"}),mge(this.e_,N),!0):!1}; +g.C.vO=function(){return this.j.vO()}; +g.C.S9=function(){if(this.N("html5_generate_content_po_token"))return this.videoData.qO||"";this.VR.vS();return this.j.L2||""}; +g.C.xn=function(){if(this.videoData.videoId)return this.videoData.AV}; +g.C.u2=function(){return this.videoData.videoId}; +g.C.vA=function(){return this.VR.C0}; +g.C.WD=function(){return this.ME}; +g.C.GM=function(){return this.VR.GM()}; +g.C.lU=function(N,H,c){this.RD(po(this.playerState,16,c));this.e_.lU(N,H,c)}; +g.C.prefetchKeyPlay=function(N,H){var c;(c=this.loader)==null||c.prefetchKeyPlay(N,H)}; +g.C.o7=function(N){return this.e_.o7(N)}; +g.C.k0=function(){this.e_.k0()}; +g.C.S8=function(N,H){var c=this.N("html5_generate_content_po_token")?this.videoData:void 0;this.VR.S8(N,H,c)}; +g.C.Mu=function(N,H){this.d_.Mu(N,H)}; +g.C.eh=function(){return this.d_.eh()}; +g.C.SP=function(){return this.VR.SP()}; +g.C.Y9=function(){return this.VR.Y9(this)}; +g.C.z8=function(){this.q$=!0}; +g.C.wW=function(N){var H;(H=this.loader)==null||H.wW(N)}; +g.C.gV=function(){return this.videoData.Uu&&this.B5};g.k(pvf,dK);g.k(fJ,n6);fJ.prototype.T=function(N){N&&d1(this,this.J.getLoopVideo());this.J.logVisibility(this.element,N)}; +fJ.prototype.logClick=function(){this.J.logClick(this.element)}; +fJ.prototype.onLoopChange=function(N){d1(this,N)}; +fJ.prototype.B=function(N){this.J.setLoopVideo(N)};g.k(HoD,dK);g.k(TG,dK);g.C=TG.prototype;g.C.seekToChapterWithAnimation=function(N){var H=this;if(g.Vl(this.api)&&!(N<0)){var c=this.api.getVideoData(),t=c.bX;if(t&&N=0)return;H=~H;g.gK(this.items,H,0,N);PH(this.menuItems.element,N.element,H)}N.subscribe("size-change",this.Mn,this);this.menuItems.publish("size-change")}; +g.C.Co=function(){Nr(this)||this.items[0].focus();return!0}; +g.C.u0=function(){this.items[this.items.length-1].focus();return!0}; +g.C.cU=function(N){N.unsubscribe("size-change",this.Mn,this);this.uo()||(g.JC(this.items,N),this.menuItems.element.removeChild(N.element),this.menuItems.publish("size-change"))}; +g.C.Mn=function(){this.menuItems.publish("size-change")}; +g.C.focus=function(){for(var N=0,H=0;H1&&g.CJ(this)}; +g.C.q1=function(){kXL(this);this.I4&&(Hnt(this),g.sb(this.element,this.size))}; +g.C.lc=function(){var N=this.T.pop();WF(this,N,this.T[this.T.length-1],!0)}; +g.C.DM=function(N){if(!N.defaultPrevented)switch(N.keyCode){case 27:this.e1();N.preventDefault();break;case 37:this.T.length>1&&this.lc();N.preventDefault();break;case 39:N.preventDefault()}}; +g.C.focus=function(){this.T.length&&this.T[this.T.length-1].focus()}; +g.C.Os=function(){g.Gv.prototype.Os.call(this);this.L&&this.L.dispose();this.U&&this.U.dispose()};g.k(B8,g.gC);B8.prototype.open=function(N,H){this.initialize(N.items)&&this.aD(H,!!H)}; +B8.prototype.initialize=function(N){g.k7(this.hn);if(N===void 0||N.length===0)return!1;var H=N.length;N=g.K(N);for(var c=N.next();!c.done;c=N.next())this.Ou(c.value,H--);return!0}; +B8.prototype.Ou=function(N,H){N.menuNavigationItemRenderer?xOS(this,N.menuNavigationItemRenderer,H):N.menuServiceItemRenderer&&Eus(this,N.menuServiceItemRenderer,H)};g.k(Gw,Qr);g.C=Gw.prototype;g.C.zK=function(N){N.target!==this.dismissButton.element&&N.target!==this.overflowButton.element&&(this.iC(),this.onClickCommand&&this.J.QS("innertubeCommand",this.onClickCommand))}; +g.C.KP=function(){this.enabled=!1;this.Z.hide()}; +g.C.TG=function(){return!!this.T&&this.enabled}; +g.C.onVideoDataChange=function(N,H){this.IY(H);if(this.T){this.N$();a:if(!this.isCounterfactual){var c,t,h;this.banner.update({title:(c=this.T)==null?void 0:c.title,subtitle:(t=this.T)==null?void 0:t.subtitle,metadata:(h=this.T)==null?void 0:h.metadataText});var O;this.onClickCommand=g.P((O=this.T)==null?void 0:O.onTap,xR);var F;if(N=g.P((F=this.T)==null?void 0:F.onOverflow,xR))this.Y=g.P(N,cG4);var M;if((M=this.T)==null?0:M.thumbnailImage){var f,d;F=((f=this.T)==null?void 0:(d=f.thumbnailImage)== +null?void 0:d.sources)||[];if(F.length===0)break a;this.thumbnailImage.update({url:F[0].url})}else{var W;if((W=this.T)==null?0:W.thumbnailIconName){var z;this.thumbnailIcon.update({icon:(z=this.T)==null?void 0:z.thumbnailIconName})}}var E;this.shouldShowOverflowButton=!((E=this.T)==null||!E.shouldShowOverflowButton);var x;this.shouldHideDismissButton=!((x=this.T)==null||!x.shouldHideDismissButton)}var q;this.banner.element.setAttribute("aria-label",((q=this.T)==null?void 0:q.a11yLabel)||"");var r; +this.zW=(r=this.T)==null?void 0:r.dismissButtonA11yLabel;this.dismissButton.hide();this.overflowButton.hide();this.isInitialized=!0;Oq(this)}}; +g.C.L9o=function(){this.isVisible=!0;Oq(this)}; +g.C.h1o=function(){this.isVisible=!1;Oq(this)}; +g.C.Mb=function(){Qr.prototype.Mb.call(this);this.B&&this.J.logVisibility(this.banner.element,this.isVisible)}; +g.C.iC=function(){Qr.prototype.iC.call(this,!1);this.B&&this.J.logClick(this.banner.element)}; +g.C.gM=function(N){this.S||(this.S=new B8(this.J),g.l(this,this.S));var H,c;if((H=this.Y)==null?0:(c=H.menu)==null?0:c.menuRenderer)this.S.open(this.Y.menu.menuRenderer,N.target),N.preventDefault()}; +g.C.IY=function(){}; +g.C.N$=function(){}; +g.C.Os=function(){this.J.gr("suggested_action_view_model");Qr.prototype.Os.call(this)};g.k(Ok,Gw); +Ok.prototype.IY=function(N){var H,c,t;this.productUpsellSuggestedActionViewModel=g.P((H=N.getWatchNextResponse())==null?void 0:(c=H.playerOverlays)==null?void 0:(t=c.playerOverlayRenderer)==null?void 0:t.suggestedActionViewModel,EdG);var h;if((h=this.productUpsellSuggestedActionViewModel)==null?0:h.content){var O;this.T=g.P((O=this.productUpsellSuggestedActionViewModel)==null?void 0:O.content,NRl)}var F,M;if(this.B=!!((F=this.productUpsellSuggestedActionViewModel)==null?0:(M=F.loggingDirectives)==null? +0:M.trackingParams)){var f,d;this.J.setTrackingParams(this.banner.element,((f=this.productUpsellSuggestedActionViewModel)==null?void 0:(d=f.loggingDirectives)==null?void 0:d.trackingParams)||null)}var W;this.isCounterfactual=!((W=this.productUpsellSuggestedActionViewModel)==null||!W.isCounterfactualServing)}; +Ok.prototype.N$=function(){var N=[],H,c=g.K(((H=this.productUpsellSuggestedActionViewModel)==null?void 0:H.ranges)||[]);for(H=c.next();!H.done;H=c.next()){var t=H.value;t&&(H=Number(t.startTimeMilliseconds),t=Number(t.endTimeMilliseconds),isNaN(H)||isNaN(t)||N.push(new g.vn(H,t,{id:"product_upsell",namespace:"suggested_action_view_model"})))}this.J.Q0(N)};g.k(Yrt,dK);g.k(g4,dK);g4.prototype.onVideoDataChange=function(N,H){var c=this;if(!Yd(H)&&(N==="newdata"&&nq(this),this.T&&N==="dataloaded")){this.T=!1;var t;i8(pq(uJ(this.api.D(),(t=this.api.getVideoData())==null?void 0:g.JO(t)),function(h){jOS(c,h)}),function(){c.T=!0})}}; +g4.prototype.h9=function(){var N=this;if(g.Iy(this.api.D())){var H,c=g.py(this.api.D(),(H=this.api.getVideoData())==null?void 0:g.JO(H));return pq(QA(c),function(t){var h=np();wx(h,t);return N.api.h9(h)})}return QA(this.api.h9())};g.k(g.aQ,g.TW);g.C=g.aQ.prototype;g.C.open=function(){g.Q7(this.R4,this.yR)}; +g.C.Mf=function(N){xtZ(this);var H=this.options[N];H&&(H.element.setAttribute("aria-checked","true"),this.setContent(this.mT(N)),this.S=N)}; +g.C.Ad=function(N){g.k7(this.yR);for(var H={},c=!1,t=0;t=0?this.T.playbackRate:1}catch(N){return 1}}; +g.C.setPlaybackRate=function(N){this.getPlaybackRate()!==N&&(this.T.playbackRate=N);return N}; +g.C.Mj=function(){return this.T.loop}; +g.C.setLoop=function(N){this.T.loop=N}; +g.C.canPlayType=function(N,H){return this.T.canPlayType(N,H)}; +g.C.isPaused=function(){return this.T.paused}; +g.C.isSeeking=function(){return this.T.seeking}; +g.C.isEnded=function(){return this.T.ended}; +g.C.GV=function(){return this.T.muted}; +g.C.Jr=function(N){xF();this.T.muted=N}; +g.C.NA=function(){return this.T.played||TC([],[])}; +g.C.Z6=function(){try{var N=this.T.buffered}catch(H){}return N||TC([],[])}; +g.C.v0=function(){return this.T.seekable||TC([],[])}; +g.C.uI=function(){var N=this.T;return N.getStartDate?N.getStartDate():null}; +g.C.getCurrentTime=function(){return this.T.currentTime}; +g.C.setCurrentTime=function(N){this.T.currentTime=N}; +g.C.getDuration=function(){return this.T.duration}; +g.C.load=function(){var N=this.T.playbackRate;try{this.T.load()}catch(H){}this.T.playbackRate=N}; +g.C.pause=function(){this.T.pause()}; +g.C.play=function(){var N=this.T.play();if(!N||!N.then)return null;N.then(void 0,function(){}); +return N}; +g.C.gJ=function(){return this.T.readyState}; +g.C.ey=function(){return this.T.networkState}; +g.C.Wd=function(){return this.T.error?this.T.error.code:null}; +g.C.Yl=function(){return this.T.error?this.T.error.message:""}; +g.C.getVideoPlaybackQuality=function(){if(window.HTMLVideoElement&&this.T instanceof window.HTMLVideoElement&&this.T.getVideoPlaybackQuality)return this.T.getVideoPlaybackQuality();if(this.T){var N=this.T,H=N.webkitDroppedFrameCount;if(N=N.webkitDecodedFrameCount)return{droppedVideoFrames:H||0,totalVideoFrames:N}}return{}}; +g.C.Mp=function(){return!!this.T.webkitCurrentPlaybackTargetIsWireless}; +g.C.fm=function(){return!!this.T.webkitShowPlaybackTargetPicker()}; +g.C.togglePictureInPicture=function(){var N=this.T,H=window.document;window.document.pictureInPictureEnabled?this.T!==H.pictureInPictureElement?N.requestPictureInPicture():H.exitPictureInPicture():o6()&&N.webkitSetPresentationMode(N.webkitPresentationMode==="picture-in-picture"?"inline":"picture-in-picture")}; +g.C.pB=function(){return SSe(this.T)}; +g.C.getSize=function(){return g.WQ(this.T)}; +g.C.setSize=function(N){g.sb(this.T,N)}; +g.C.getVolume=function(){return this.T.volume}; +g.C.setVolume=function(N){xF();this.T.volume=N}; +g.C.x0=function(N){this.B[N]||(this.T.addEventListener(N,this.listener),this.B[N]=this.listener)}; +g.C.setAttribute=function(N,H){this.T.setAttribute(N,H)}; +g.C.removeAttribute=function(N){this.T.removeAttribute(N)}; +g.C.hasAttribute=function(N){return this.T.hasAttribute(N)}; +g.C.Xo=h3(62);g.C.L7=h3(65);g.C.UC=h3(68);g.C.We=h3(71);g.C.ov=function(){return ip(this.T)}; +g.C.TM=function(N){g.bV(this.T,N)}; +g.C.zV=function(N){return g.cb(this.T,N)}; +g.C.nL=function(){return g.m5(document.body,this.T)}; +g.C.audioTracks=function(){var N=this.T;if("audioTracks"in N)return N.audioTracks}; +g.C.Os=function(){for(var N=g.K(Object.keys(this.B)),H=N.next();!H.done;H=N.next())H=H.value,this.T.removeEventListener(H,this.B[H]);Jt.prototype.Os.call(this)}; +g.C.UZ=function(N){this.T.disableRemotePlayback=N};g.k(DP,g.e);g.k(Q_,g.e);Q_.prototype.show=function(){g.e.prototype.show.call(this);this.Df()}; +Q_.prototype.hide=function(){g.e.prototype.hide.call(this);this.delay.stop();this.U.stop()}; +Q_.prototype.Df=function(){var N=(0,g.Lh)(),H=Pyl(this.VS);iB(this.T,H.bandwidth_samples);iB(this.Y,H.network_activity_samples);iB(this.L,H.live_latency_samples);iB(this.B,H.buffer_health_samples);var c={};H=g.K(Object.entries(H));for(var t=H.next();!t.done;t=H.next()){var h=g.K(t.value);t=h.next().value;h=h.next().value;this.C[t]!==h&&(c[t]=" "+String(h));this.C[t]=h}this.update(c);N=(0,g.Lh)()-N>25?5E3:500;this.delay.start(N)}; +Q_.prototype.Z=function(){this.S?(this.position+=1,this.position>15&&(this.S=!1)):(--this.position,this.position<=0&&(this.S=!0));this.element.style.left=this.position+"%";this.element.style.top=this.position+"%";this.U.start(2E4)};g.k(GQ3,dK);g.k(Pb,g.L);Pb.prototype.T=function(){var N=(0,g.Lh)()-this.startTime;N=Nthis.U[N])&&(this.T=N,this.Tz())}; +g.C.onCueRangeExit=function(N){var H=HmD(this,N);H&&this.T===N&&this.api.QS("innertubeCommand",H);me(this);this.T=void 0}; +g.C.s3=function(N){this.L=N}; +g.C.Rf=function(){this.Tz();this.L=void 0}; +g.C.Tz=function(){if(this.T!==void 0){var N=(N=xw(this,this.T))&&N.onCueRangeEnter?d5(N.onCueRangeEnter):void 0;var H=xw(this,this.T);a:if(H&&H.additionalTrigger){var c=g.K(H.additionalTrigger);for(var t=c.next();!t.done;t=c.next())if(t=t.value,t.type){var h=void 0,O=void 0;if((h=this.NT[t.type])==null?0:h((O=t.args)!=null?O:{})){c=!0;break a}}c=!1}else c=!0;N&&c&&(this.api.QS("innertubeCommand",N),imt(this,H),this.U[this.T]!==void 0&&this.U[this.T]++,this.TW=!0)}}; +g.C.Os=function(){this.timelyActions=this.L=this.T=this.videoId=void 0;this.U={};this.UN();me(this);dK.prototype.Os.call(this)};g.k(Rih,dK);g.k(BG,n6);BG.prototype.U=function(N){this.L(N?2:1)}; +BG.prototype.dk=function(){var N=this.J.getPresentingPlayerType();N===2||N===3?this.T&&(this.T=!1,this.R4.cU(this)):(N=this.getVoiceBoostState(),N!==1?(N===0?(d1(this,this.B()===2),this.setEnabled(!0)):(d1(this,!1),this.setEnabled(!1)),this.T||(this.R4.Ou(this),this.T=!0)):this.T&&(this.R4.cU(this),this.T=!1))}; +BG.prototype.Os=function(){this.R4.cU(this);n6.prototype.Os.call(this)};g.k(js,dK);js.prototype.getVoiceBoostUserPreference=function(){return this.T}; +js.prototype.setVoiceBoostUserPreference=function(N){this.api.Lq("vb_set",{pref:N});g.h9("yt-player-voice-boost",N);N!==this.T&&(this.T=N,this.updateEnvironmentData(),this.getVoiceBoostState()!==1&&this.api.Fm(),this.api.D$())}; +js.prototype.getVoiceBoostState=function(){return this.api.Lb(1)}; +js.prototype.updateEnvironmentData=function(){this.api.D().MA=this.T};g.k(c1,dK);c1.prototype.Os=function(){this.Z&&(g.gb(this.Z),this.Z=void 0);dK.prototype.Os.call(this)}; +c1.prototype.vS=function(){(this.B?!this.T:this.L)&&N2(this)}; +c1.prototype.rJ=function(N,H,c){var t=this;if(LCv(N)){var h=c||"";if(this.T)H=bt(this,h),FFf(N,H);else{var O=new g.Ps;H.push(O.promise);this.S.promise.then(function(){var F=bt(t,h);FFf(N,F);O.resolve()})}}}; +c1.prototype.oM=function(N){var H=this;if(this.B||this.L)N.qO=bt(this,N.videoId),this.T||(this.U=new M9,this.S.promise.then(function(){H.f4.WN("pot_if");N.qO=bt(H,N.videoId)}))};g.k(g.h6,g.e);g.h6.prototype.select=function(){this.api.V5(this.suggestion.videoId,this.suggestion.sessionData,this.suggestion.playlistId,void 0,void 0,this.suggestion.lQ||void 0)&&this.api.logClick(this.element)}; +g.h6.prototype.onClick=function(N){if(g.PX(this.api.D())&&this.api.N("web_player_log_click_before_generating_ve_conversion_params")){this.api.logClick(this.element);var H=this.suggestion.ZD(),c={};g.d7(this.api,c);H=g.Of(H,c);g.Yc(H,this.api,N)}else g.KQ(N,this.api,this.B,this.suggestion.sessionData||void 0)&&this.select()}; +g.h6.prototype.onKeyPress=function(N){switch(N.keyCode){case 13:case 32:N.defaultPrevented||(this.select(),N.preventDefault())}}; +g.h6.prototype.onVideoDataChange=function(){var N=this.api.getVideoData(),H=this.api.D();this.B=N.Uc?!1:H.U};g.k(K0,g.e);K0.prototype.Os=function(){this.hide();g.bM(this.L);g.an(this.stills);this.stills.length=0;this.T&&(this.T.remove(),this.T=void 0);g.e.prototype.Os.call(this)}; +K0.prototype.Y=function(N){this.C&&this.C(N)}; +K0.prototype.onVideoDataChange=function(){if(!this.S){this.videoData=this.player.getVideoData(1);var N,H,c,t,h;var O=(((N=this.videoData)==null?0:(H=N.suggestions)==null?0:H.length)?(c=this.videoData)==null?void 0:c.suggestions:((t=this.videoData)==null?0:g.ZJ(t))?[(h=this.videoData)==null?void 0:g.ZJ(h)]:[]).slice(0,18);if((N=this.U)&&this.B)if(g.oH(N),O.length)for(this.stills.length>O.length&&g.an(this.stills.splice(O.length)),this.stills.length=O.length,H=0;H=0;N--)this.features[N].dispose();this.features.length=0;g.L.prototype.Os.call(this)};MDR.prototype.reset=function(){this.T=this.B=NaN};g.C=T_.prototype;g.C.reset=function(){db(this.timerName)}; +g.C.tick=function(N,H){Ai(N,H,this.timerName)}; +g.C.WN=function(N){return Es(N,void 0,this.timerName)}; +g.C.Yt=function(N){g.DO(N,void 0,this.timerName)}; +g.C.infoGel=function(N){g.YR(N,this.timerName)};g.k(Kgw,g.xo);g.C=Kgw.prototype;g.C.hasNext=function(N){return this.loop||!!N||this.index+1=0}; +g.C.setShuffle=function(N){this.shuffle=N;N=this.order&&this.order[this.index]!=null?this.order[this.index]:this.index;this.order=[];for(var H=0;H=H.top&&N.right<=H.right&&N.bottom<=H.bottom&&N.left>=H.left))return}Oo(this,2,!1)}; +g.C.U_=function(N){var H=new g.Sr(N.pageX,N.pageY);mB(H,this.U)||(this.U=H,(N=N.target)&&this.ev(N)&&(Oo(this,4,!0),this.T.G3(this.L),this.L=this.T.G(this.target,"mouseover",this.uO),this.C=this.T.G(this.target,"mouseout",this.uO)))}; +g.C.uO=function(N){N=N.relatedTarget;N&&this.ev(N)||(this.U=new g.Sr(NaN,NaN),bJR(this))}; +g.C.Pgo=function(){Oo(this,1,!0)}; +g.C.zq=function(N){N=N.target;N instanceof Element&&!(N.tabIndex>0)||Oo(this,1,!0)}; +g.C.NS=function(){this.Y=!0;this.T.G3(this.S);this.S=this.T.G(document,"mouseup",this.ud)}; +g.C.ud=function(){this.Y=!1;Oo(this,8,!1);this.T.G3(this.S);this.S=this.T.G(this.target,"mousedown",this.NS)}; +g.C.cq=function(N){if(N=(N=N.changedTouches)&&N[0])this.NT=N.identifier,this.T.G3(this.Z),this.Z=this.T.G(this.target,"touchend",this.Kw,void 0,!0),Oo(this,1024,!0)}; +g.C.Kw=function(N){if(N=N.changedTouches)for(var H=0;H1280||h>720)if(H=t.Ds("maxresdefault.jpg"))break;if(O>640||h>480)if(H=t.Ds("maxresdefault.jpg"))break;if(O>320||h>180)if(H=t.Ds("sddefault.jpg")||t.Ds("hqdefault.jpg")||t.Ds("mqdefault.jpg"))break;if(H=t.Ds("default.jpg"))break}g.ru(N)&&(N=new Image,N.addEventListener("load", +function(){ymf()}),N.src=H?H:"",this.api.Um().tick("ftr")); +this.U.style.backgroundImage=H?"url("+H+")":""};g.k(g.dj,g.e);g.dj.prototype.resize=function(){}; +g.dj.prototype.B=function(N){var H=this;this.L=!1;UXL(this);var c=N.Z9,t=this.api.D();c!=="GENERIC_WITHOUT_LINK"||t.Y?c==="TOO_MANY_REQUESTS"?(t=this.api.getVideoData(),this.setContent(i4(this,"TOO_MANY_REQUESTS_WITH_LINK",t.ZD(),void 0,void 0,void 0,!1))):c!=="HTML5_NO_AVAILABLE_FORMATS_FALLBACK"||t.Y?this.api.D().N("html5_enable_bandaid_error_screen")&&c==="HTML5_SPS_UMP_STATUS_REJECTED"&&!t.Y?(t=t.hostLanguage,N="//support.google.com/youtube?p=videoError",t&&(N=g.Of(N,{hl:t})),this.setContent(i4(this, +"HTML5_SPS_UMP_STATUS_REJECTED",N))):this.api.D().N("enable_adb_handling_in_sabr")&&c==="BROWSER_OR_EXTENSION_ERROR"&&!t.Y?(t=t.hostLanguage,N="//support.google.com/youtube/answer/3037019#zippy=%2Cupdate-your-browser-and-check-your-extensions",t&&(N=g.Of(N,{hl:t})),this.setContent(i4(this,"BROWSER_OR_EXTENSION_ERROR",N))):this.setContent(g.Co(N.errorMessage)):this.setContent(i4(this,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK_SHORT","//www.youtube.com/supported_browsers")):(N=t.hostLanguage,c= +"//support.google.com/youtube/?p=player_error1",N&&(c=g.Of(c,{hl:N})),this.setContent(i4(this,"GENERIC_WITH_LINK_AND_CPN",c,!0)),t.Dt&&!t.U&&Baf(this,function(O){if(g.KQ(O,H.api,!V8(H.api.D()))){O={as3:!1,html5:!0,player:!0,cpn:H.api.getVideoData().clientPlaybackNonce};var F=H.api;F.Ic("onFeedbackArticleRequest",{articleId:3037019,helpContext:"player_error",productData:O});F.isFullscreen()&&F.toggleFullscreen()}})); +if(this.L){var h=this.Sa("ytp-error-link");h&&(this.api.createClientVe(h,this,216104),this.api.logVisibility(h,!0),Baf(this,function(){H.api.logClick(h)}))}}; +var uHZ=/([^<>]+)<\/a>/;g.k(cIR,g.e);cIR.prototype.PR=function(N,H,c){c=c===void 0?!1:c;switch(H){case 1:Rh(this,N,this.L,c);break;case 2:Rh(this,N,this.U,c);break;case 3:Rh(this,N,this.T,c);break;case 4:Rh(this,N,this.B,c)}};g.k(Je,g.e);g.C=Je.prototype;g.C.onClick=function(N){this.innertubeCommand?(this.J.QS("innertubeCommand",this.innertubeCommand),N.preventDefault()):g.KQ(N,this.J,!0);this.J.logClick(this.element)}; +g.C.onVideoDataChange=function(N,H){sph(this,H);this.y0&&dRR(this,this.y0)}; +g.C.GA=function(N){var H=this.J.getVideoData();this.videoId!==H.videoId&&sph(this,H);this.T&&dRR(this,N.state);this.y0=N.state}; +g.C.aD=function(){this.fade.show();this.J.publish("paidcontentoverlayvisibilitychange",!0);this.J.logVisibility(this.element,!0)}; +g.C.e1=function(){this.fade.hide();this.J.publish("paidcontentoverlayvisibilitychange",!1);this.J.logVisibility(this.element,!1)};g.k(zw,g.e);zw.prototype.hide=function(){this.T.stop();this.message.style.display="none";g.e.prototype.hide.call(this)}; +zw.prototype.onStateChange=function(N){this.Xf(N.state)}; +zw.prototype.Xf=function(N){if(g.y(N,128)||this.api.WD())var H=!1;else{var c;H=this.api.N("web_watch_enable_multiview_manager")&&((c=this.api.getVideoData())==null?0:Yd(c))?!1:g.y(N,16)||g.y(N,1)?!0:!1}H?this.T.start():this.hide()}; +zw.prototype.B=function(){this.message.style.display="block"};g.k(Th,g.Gv);Th.prototype.onMutedAutoplayChange=function(N){this.B&&(N?(P1w(this),this.aD()):(this.T&&this.logClick(),this.e1()))}; +Th.prototype.Wv=function(N){this.api.isMutedByMutedAutoplay()&&g.tC(N,2)&&this.e1()}; +Th.prototype.onClick=function(){this.api.unMute();this.logClick()}; +Th.prototype.logClick=function(){this.clicked||(this.clicked=!0,this.api.logClick(this.element))};g.k(g.ju,g.Ww);g.C=g.ju.prototype;g.C.init=function(){var N=this.api,H=N.getPlayerStateObject();this.pD=N.getPlayerSize();this.RD(H);this.Dx();this.Mc();this.api.publish("basechromeinitialized",this);this.Zg()&&this.api.publish("standardControlsInitialized")}; +g.C.onVideoDataChange=function(N,H){var c=this.Wt!==H.videoId;if(c||N==="newdata")N=this.api,N.isFullscreen()||(this.pD=N.getPlayerSize());c&&(this.Wt=H.videoId,c=this.HU,c.Ix=3E3,Oo(c,512,!0),this.Dx());this.api.N("web_render_jump_buttons")&&H.showSeekingControls&&(this.eF=572)}; +g.C.z1q=function(){this.onVideoDataChange("newdata",this.api.getVideoData())}; +g.C.Ca=function(){var N=this.api.Jd()&&this.api.m8(),H=this.api.Vt();return this.Og||N||this.hv||H}; +g.C.Iy=function(){var N=!this.Ca();g.QH(this.api.getRootNode(),"ytp-menu-shown",!N)}; +g.C.ev=function(N){try{if(!g.m5(this.api.getRootNode(),N))return!1}catch(H){return!1}for(;N&&!Eg(N);)N=N===this.api.getRootNode()?null:N.parentElement||null;return!!N}; +g.C.vD=function(N){var H=this.api.getRootNode();g.QH(H,"ytp-autohide",N);g.QH(H,"ytp-autohide-active",!0);this.ib.start(N?250:100);N&&(this.gT=!1,g.nH(H,"ytp-touch-mode"));this.l8=!N;this.api.s7(!N);this.api.N("web_player_enable_fullscreen_grid_components")&&this.api.publish("autohideupdate",N)}; +g.C.YF=function(){var N=this.api.getRootNode();g.QH(N,"ytp-autohide-active",!1)}; +g.C.a6s=function(){this.gI=!0}; +g.C.qyS=function(N){if(this.api.D().N("player_doubletap_to_seek")||this.api.D().C)this.gI=!1,this.PS&&this.G3(this.PS),this.Zv===0&&dH(this,N)?(this.W5(),this.Lr.start(),this.PS=this.G(this.api.BO(),"touchmove",this.a6s,void 0,!0)):this.Lr.stop();kmR(this)&&dH(this,N)&&!this.api.D().C&&dg(this);var H=this.Kv.td();if(!g.PX(this.api.D())&&yl&&f6(this,N))H&&N.preventDefault();else if(this.gT=!0,g.bV(this.api.getRootNode(),"ytp-touch-mode"),this.HU.GZ(),this.api.D().N("player_doubletap_to_seek")||this.api.D().C)if(H= +this.api.getPlayerStateObject(),!(!this.api.T6()||g.y(H,2)&&g.fp(this.api)||g.y(H,64))){H=Date.now()-this.gt;this.Zv+=1;if(H<=350){this.zO=!0;H=this.api.getPlayerSize().width/3;var c=this.api.getRootNode().getBoundingClientRect(),t=N.targetTouches[0].clientX-c.left;c=N.targetTouches[0].clientY-c.top;var h=(this.Zv-1)*10;t>0&&tH*2&&t=650,t=N.width<528;this.HU.resize();if(this.api.N("web_player_use_screen_width_for_big_mode")){var h,O=N.width>=((h=g.Mx(this.api.D().experiments,"web_player_big_mode_screen_width_cutoff"))!=null?h:2E3);g.QH(H,"ytp-big-mode",O)}g.QH(H,"ytp-fullscreen",this.api.isFullscreen());g.QH(H,"ytp-large-width-mode",c);this.api.N("delhi_modern_web_player")?g.QH(H,"ytp-xsmall-width-mode",t):g.QH(H,"ytp-small-mode",this.i$()); +g.QH(H,"ytp-tiny-mode",this.Do());g.QH(H,"ytp-big-mode",this.J3());this.ej&&this.ej.resize(N)}; +g.C.Wv=function(N){this.RD(N.state);this.Dx()}; +g.C.Et=h3(3);g.C.J8=function(){var N=!!this.Wt&&!this.api.IW()&&!this.ph,H=this.api.getPresentingPlayerType()===2,c=this.api.D();if(H)return c=pH(this.api.g_()),N&&(c&&c.player?N=(N=c.player.getVideoData(2))?N.isListed&&!g.El(c.player.D()):!1:(KA("showInfoBarDuringAd: this is null"),N=!1)),N;H=c.N("web_player_imax_theater_mode")&&this.api.VB()&&!this.api.isInline();return N&&(c.ya||H||this.api.isFullscreen()||c.M0)}; +g.C.Dx=function(){var N=this.J8();this.kN!==N&&(this.kN=N,g.QH(this.api.getRootNode(),"ytp-hide-info-bar",!N))}; +g.C.RD=function(N){var H=N.isCued()||this.api.hU()&&this.api.getPresentingPlayerType()!==3;H!==this.isCued&&(this.isCued=H,this.Yj&&this.G3(this.Yj),this.Yj=this.G(this.api.BO(),"touchstart",this.qyS,void 0,H));var c=this.HU,t=N.isPlaying()&&!g.y(N,32)||this.api.Ae();Oo(c,128,!t);c=this.HU;t=this.api.getPresentingPlayerType()===3;Oo(c,256,t);c=this.api.getRootNode();g.y(N,2)?t=[BC.ENDED]:(t=[],g.y(N,8)?t.push(BC.PLAYING):g.y(N,4)&&t.push(BC.PAUSED),g.y(N,1)&&!g.y(N,32)&&t.push(BC.BUFFERING),g.y(N, +32)&&t.push(BC.SEEKING),g.y(N,64)&&t.push(BC.UNSTARTED));g.bo(this.U6,t)||(g.pU(c,this.U6),this.U6=t,g.iW(c,t));t=this.api.D();var h=g.y(N,2);a:{var O=this.api.D();var F=O.controlsType;switch(F){case "2":case "0":O=!1;break a}O=F==="3"&&!g.y(N,2)||this.isCued||(this.api.getPresentingPlayerType()!==2?0:m3v(pH(this.api.g_())))||this.api.Vt()||g.PX(O)&&this.api.getPresentingPlayerType()===2?!1:!0}g.QH(c,"ytp-hide-controls",!O);g.QH(c,"ytp-native-controls",t.controlsType==="3"&&!H&&!h&&!this.hv);g.y(N, +128)&&!g.PX(t)?(this.ej||(this.ej=new g.dj(this.api),g.l(this,this.ej),g.aG(this.api,this.ej.element,4)),this.ej.B(N.vN),this.ej.show()):this.ej&&(this.ej.dispose(),this.ej=null)}; +g.C.R$=function(){return this.api.Jd()&&this.api.m8()?(this.api.o6(!1,!1),!0):this.api.IW()?(g.JU(this.api,!0),!0):!1}; +g.C.onMutedAutoplayChange=function(N){this.hv=N;this.Iy()}; +g.C.J3=function(){return!1}; +g.C.i$=function(){return!this.J3()&&(this.api.getPlayerSize().width=0&&H.left>=0&&H.bottom>H.top&&H.right>H.left?H:null;H=this.size;N=N.clone();H=H.clone();t&&(F=H,h=5,(h&65)==65&&(N.x=t.right)&&(h&=-2),(h&132)==132&&(N.y=t.bottom)&&(h&=-5),N.xt.right&&(F.width=Math.min(t.right-N.x,O+F.width-t.left),F.width=Math.max(F.width,0))),N.x+F.width>t.right&&h&1&&(N.x=Math.max(t.right-F.width,t.left)),N.yt.bottom&&(F.height=Math.min(t.bottom-N.y,O+F.height-t.top),F.height=Math.max(F.height,0))),N.y+F.height>t.bottom&&h&4&&(N.y=Math.max(t.bottom-F.height,t.top)));t=new g.HS(0,0,0,0);t.left=N.x;t.top=N.y;t.width= +H.width;t.height=H.height;g.LO(this.element,new g.Sr(t.left,t.top));g.bM(this.B);this.B.G(ee(this),"contextmenu",this.Mgi);this.B.G(this.J,"fullscreentoggled",this.onFullscreenToggled);this.B.G(this.J,"pageTransition",this.Zw)}; +g.C.Mgi=function(N){if(!N.defaultPrevented){var H=fI(N);g.m5(this.element,H)||this.e1();this.J.D().disableNativeContextMenu&&N.preventDefault()}}; +g.C.onFullscreenToggled=function(){this.e1();e4v(this)}; +g.C.Zw=function(){this.e1()};g.k(UQ,g.e);UQ.prototype.onClick=function(){var N=this,H,c,t,h;return g.Y(function(O){if(O.T==1)return H=N.api.D(),c=N.api.getVideoData(),t=N.api.getPlaylistId(),h=H.getVideoUrl(c.videoId,t,void 0,!0),g.a(O,R4f(N,h),2);O.B&&whh(N);N.api.logClick(N.element);g.Z3(O)})}; +UQ.prototype.Df=function(){this.updateValue("icon",{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M21.9,8.3H11.3c-0.9,0-1.7,.8-1.7,1.7v12.3h1.7V10h10.6V8.3z M24.6,11.8h-9.7c-1,0-1.8,.8-1.8,1.8v12.3 c0,1,.8,1.8,1.8,1.8h9.7c1,0,1.8-0.8,1.8-1.8V13.5C26.3,12.6,25.5,11.8,24.6,11.8z M24.6,25.9h-9.7V13.5h9.7V25.9z"}}]});this.updateValue("title-attr","Copy link");this.updateValue("tooltip-title","Copy link");this.visible=Gkf(this);g.QH(this.element, +"ytp-copylink-button-visible",this.visible);this.a4(this.visible);this.tooltip.oo();this.api.logVisibility(this.element,this.visible&&this.TW)}; +UQ.prototype.lX=function(N){g.e.prototype.lX.call(this,N);this.api.logVisibility(this.element,this.visible&&N)}; +UQ.prototype.Os=function(){g.e.prototype.Os.call(this);g.nH(this.element,"ytp-copylink-button-visible")};g.k(J6t,g.e);g.C=J6t.prototype;g.C.show=function(){g.e.prototype.show.call(this);g.lY(this.B)}; +g.C.hide=function(){this.U.stop();this.L=0;this.Sa("ytp-seek-icon").style.display="none";this.updateValue("seekIcon","");g.nH(this.element,"ytp-chapter-seek");g.nH(this.element,"ytp-time-seeking");g.e.prototype.hide.call(this)}; +g.C.TF=function(N,H,c,t){this.L=N===this.Y?this.L+t:t;this.Y=N;var h=N===-1?this.Z:this.C;h&&this.J.logClick(h);this.S?this.B.stop():g.Ms(this.B);this.U.start();this.element.setAttribute("data-side",N===-1?"back":"forward");var O=3*this.J.BO().getPlayerSize().height;h=this.J.BO().getPlayerSize();h=h.width/3-3*h.height;this.T.style.width=O+"px";this.T.style.height=O+"px";N===1?(this.T.style.left="",this.T.style.right=h+"px"):N===-1&&(this.T.style.right="",this.T.style.left=h+"px");var F=O*2.5;O=F/ +2;var M=this.Sa("ytp-doubletap-ripple");M.style.width=F+"px";M.style.height=F+"px";N===1?(N=this.J.BO().getPlayerSize().width-H+Math.abs(h),M.style.left="",M.style.right=N-O+"px"):N===-1&&(N=Math.abs(h)+H,M.style.right="",M.style.left=N-O+"px");M.style.top="calc((33% + "+Math.round(c)+"px) - "+O+"px)";if(c=this.Sa("ytp-doubletap-ripple"))c.classList.remove("ytp-doubletap-ripple"),c.classList.add("ytp-doubletap-ripple");cxZ(this,this.S?this.L:t)}; +g.C.En=function(N,H,c){if(c=c===void 0?null:c){var t=N===-1?this.Z.visualElement:this.C.visualElement;c={seekData:c};var h=g.gi();h&&Rg(h,t,"INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS",c)}this.L=N===this.Y?this.L+H:H;this.Y=N;t=this.J.BO().getPlayerSize();this.S?this.B.stop():g.Ms(this.B);this.U.start();this.element.setAttribute("data-side",N===-1?"back":"forward");g.bV(this.element,"ytp-time-seeking");this.T.style.width="110px";this.T.style.height="110px";c=t.width*.1-15;N===1?this.Bp?(this.T.style.right= +c+"px",this.T.style.left=""):(this.T.style.right="",this.T.style.left=t.width*.8-30+"px"):N===-1&&(this.Bp?(this.T.style.right="",this.T.style.left=c+"px"):(this.T.style.right="",this.T.style.left=t.width*.1-15+"px"));this.T.style.top=t.height*.5+15+"px";cxZ(this,this.S?this.L:H)}; +g.C.ze=function(N,H,c){c=c===void 0?null:c;g.Ms(this.B);this.U.start();switch(N){case -1:N="back";break;case 1:N="forward";break;default:N=""}this.element.setAttribute("data-side",N);this.T.style.width="0";this.T.style.height="0";g.bV(this.element,"ytp-chapter-seek");this.updateValue("seekText",H);this.updateValue("seekTime","");H=this.Sa("ytp-seek-icon");if(c){a:if(c){switch(c){case "PREMIUM_STANDALONE":c=vNs();break a;case "PREMIUM_STANDALONE_CAIRO":c=dyf();break a}c=void 0}else c=null;this.updateValue("seekIcon", +c);H.style.display="inline-block"}else H.style.display="none"};g.k(Kwv,Qr);g.C=Kwv.prototype;g.C.zA=function(N){this.gE||(this.gE=new B8(this.J),g.l(this,this.gE));var H,c;if((H=this.kG)==null?0:(c=H.menu)==null?0:c.menuRenderer)this.gE.open(this.kG.menu.menuRenderer,N.target),N.preventDefault()}; +g.C.TG=function(){return!!this.T}; +g.C.l6=function(){return!!this.T}; +g.C.zK=function(N){N.target===this.overflowButton.element?N.preventDefault():(this.T3&&this.J.QS("innertubeCommand",this.T3),this.iC(!1))}; +g.C.KP=function(){this.iC(!0);var N,H;if((N=this.T)==null?0:(H=N.bannerData)==null?0:H.dismissedStatusKey){if(this.w_.includes(this.T.bannerData.dismissedStatusKey))return;this.w_.push(this.T.bannerData.dismissedStatusKey)}this.v4();this.J.N("web_enable_shopping_timely_shelf_client")&&(N={},g.T2(N,Idd,{overlayId:"player_overlay_timely_shelf"}),this.J.QS("innertubeCommand",N))}; +g.C.IZ=function(){this.v4();GN(this)}; +g.C.HC_=function(N){var H=this,c;if(N.id!==((c=this.T)==null?void 0:c.identifier)){this.v4();c=g.K(this.NT);for(var t=c.next();!t.done;t=c.next()){var h=t.value,O=void 0,F=void 0;if((t=(O=h)==null?void 0:(F=O.bannerData)==null?void 0:F.itemData)&&h.identifier===N.id){F=O=void 0;var M=((O=h)==null?void 0:(F=O.bannerData)==null?void 0:F.dismissedStatusKey)||"";if(this.w_.includes(M))return;this.T=h;this.banner.element.setAttribute("aria-label",t.accessibilityLabel||"");t.trackingParams&&(this.U=!0, +this.J.setTrackingParams(this.badge.element,t.trackingParams));this.show();this.Z.show();hZ(this);this.Ix.a4(!t.stayInApp);qMZ(this);v2(this);eO(this);this.T3=g.P(t.onTapCommand,xR);if(h=g.P(t.menuOnTap,xR))this.kG=g.P(h,cG4);h=void 0;this.banner.update({thumbnail:(h=(t.thumbnailSources||[])[0])==null?void 0:h.url,title:t.productTitle,price:t.priceReplacementText?t.priceReplacementText:t.price,salesOriginalPrice:pWZ(this),priceDropReferencePrice:NBe(this),promotionText:Xk3(this),priceA11yText:Qhv(this), +affiliateDisclaimer:t.affiliateDisclaimer,vendor:wq(this)});M=F=O=h=void 0;((h=t)==null?0:(O=h.hiddenProductOptions)==null?0:O.showDropCountdown)&&((F=t)==null?0:(M=F.hiddenProductOptions)==null?0:M.dropTimestampMs)&&(this.Dt=new g.kT(function(){clR(H)},1E3),this.Ix.hide(),this.countdownTimer.show(),clR(this)); +this.J.N("web_player_enable_featured_product_banner_exclusives_on_desktop")&&oKf(this)&&(this.n4=new g.kT(function(){LmZ(H)},1E3),LmZ(this))}}this.J.getRootNode()&&g.bV(this.J.getRootNode(),"ytp-featured-product-shown")}}; +g.C.v4=function(){this.T&&(this.T=void 0,this.Ri(),this.J.getRootNode()&&g.nH(this.J.getRootNode(),"ytp-featured-product-shown"))}; +g.C.onVideoDataChange=function(N,H){var c=this;N==="dataloaded"&&GN(this);var t,h,O;N=g.P((t=H.getWatchNextResponse())==null?void 0:(h=t.playerOverlays)==null?void 0:(O=h.playerOverlayRenderer)==null?void 0:O.productsInVideoOverlayRenderer,HgZ);this.overflowButton.show();this.dismissButton.hide();var F=N==null?void 0:N.featuredProductsEntityKey;this.trendingOfferEntityKey=N==null?void 0:N.trendingOfferEntityKey;this.NT.length||(NwR(this,F),eO(this));var M;(M=this.mz)==null||M.call(this);this.mz=g.gq.subscribe(function(){NwR(c, +F);eO(c)})}; +g.C.Os=function(){GN(this);qMZ(this);v2(this);Qr.prototype.Os.call(this)};g.k(Xl,g.e);Xl.prototype.onClick=function(){this.J.logClick(this.element,this.L);if(this.J.N("embeds_enable_info_panel_dismissal")&&this.T&&this.feedbackToken){var N=this.J.h9();if(N==null?0:aHh(this.T,N.SW))KF(N,this.T,{feedbackTokens:[this.feedbackToken]}),this.J.publish("infopaneldetaildismissed")}};g.k(fO,g.Gv);g.C=fO.prototype;g.C.show=function(){g.Gv.prototype.show.call(this);this.J.publish("infopaneldetailvisibilitychange",!0);this.J.logVisibility(this.element,!0);$Dd(this,!0)}; +g.C.hide=function(){g.Gv.prototype.hide.call(this);this.J.publish("infopaneldetailvisibilitychange",!1);this.J.logVisibility(this.element,!1);$Dd(this,!1)}; +g.C.getId=function(){return this.L}; +g.C.AU=function(){return this.itemData.length}; +g.C.onVideoDataChange=function(N,H){if(H){var c,t,h,O;this.update({title:((c=H.gk)==null?void 0:(t=c.title)==null?void 0:t.content)||"",body:((h=H.gk)==null?void 0:(O=h.bodyText)==null?void 0:O.content)||""});var F;N=((F=H.gk)==null?void 0:F.trackingParams)||null;this.J.setTrackingParams(this.element,N);F=g.K(this.itemData);for(N=F.next();!N.done;N=F.next())N.value.dispose();this.itemData=[];var M;if((M=H.gk)==null?0:M.ctaButtons)for(H=g.K(H.gk.ctaButtons),M=H.next();!M.done;M=H.next())if(M=g.P(M.value, +G3d))M=new Xl(this.J,M,this.T),M.DI&&(this.itemData.push(M),M.Jl(this.items))}}; +g.C.Os=function(){this.hide();g.Gv.prototype.Os.call(this)};g.k(WBR,g.e);g.C=WBR.prototype;g.C.onVideoDataChange=function(N,H){dcs(this,H);this.y0&&q03(this,this.y0)}; +g.C.jU=function(N){var H=this.J.getVideoData();this.videoId!==H.videoId&&dcs(this,H);q03(this,N.state);this.y0=N.state}; +g.C.v2=function(N){(this.L=N)?this.hide():this.T&&!this.isDismissed&&this.show()}; +g.C.Xw=function(){this.B||this.aD();this.showControls=!0}; +g.C.bd=function(){this.B||this.e1();this.showControls=!1}; +g.C.aD=function(){if(!this.isDismissed){var N,H=(N=this.J)==null?void 0:N.getPlayerSize();N=H.width<380;var c;H=H.height<(((c=this.J)==null?0:c.isEmbedsShortsMode())?400:280);var t,h;(((t=this.J)==null?0:t.getPlayerStateObject().isCued())||((h=this.J)==null?0:g.y(h.getPlayerStateObject(),1024)))&&N&&H||!this.T||this.L||(this.fade.show(),this.J.publish("infopanelpreviewvisibilitychange",!0),this.J.logVisibility(this.element,!0))}}; +g.C.e1=function(){this.T&&!this.L&&(this.fade.hide(),this.J.publish("infopanelpreviewvisibilitychange",!1),this.J.logVisibility(this.element,!1))}; +g.C.nPa=function(){this.B=!1;this.showControls||this.e1()};var iqg={"default":0,monoSerif:1,propSerif:2,monoSans:3,propSans:4,casual:5,cursive:6,smallCaps:7};Object.keys(iqg).reduce(function(N,H){N[iqg[H]]=H;return N},{}); +var cO4={none:0,raised:1,depressed:2,uniform:3,dropShadow:4};Object.keys(cO4).reduce(function(N,H){N[cO4[H]]=H;return N},{}); +var tOZ={normal:0,bold:1,italic:2,bold_italic:3};Object.keys(tOZ).reduce(function(N,H){N[tOZ[H]]=H;return N},{});var hJg,Oq5;hJg=[{option:"#fff",text:"White"},{option:"#ff0",text:"Yellow"},{option:"#0f0",text:"Green"},{option:"#0ff",text:"Cyan"},{option:"#00f",text:"Blue"},{option:"#f0f",text:"Magenta"},{option:"#f00",text:"Red"},{option:"#080808",text:"Black"}];Oq5=[{option:0,text:Vb(0)},{option:.25,text:Vb(.25)},{option:.5,text:Vb(.5)},{option:.75,text:Vb(.75)},{option:1,text:Vb(1)}]; +g.qD=[{option:"fontFamily",text:"Font family",options:[{option:1,text:"Monospaced Serif"},{option:2,text:"Proportional Serif"},{option:3,text:"Monospaced Sans-Serif"},{option:4,text:"Proportional Sans-Serif"},{option:5,text:"Casual"},{option:6,text:"Cursive"},{option:7,text:"Small Capitals"}]},{option:"color",text:"Font color",options:hJg},{option:"fontSizeIncrement",text:"Font size",options:[{option:-2,text:Vb(.5)},{option:-1,text:Vb(.75)},{option:0,text:Vb(1)},{option:1,text:Vb(1.5)},{option:2, +text:Vb(2)},{option:3,text:Vb(3)},{option:4,text:Vb(4)}]},{option:"background",text:"Background color",options:hJg},{option:"backgroundOpacity",text:"Background opacity",options:Oq5},{option:"windowColor",text:"Window color",options:hJg},{option:"windowOpacity",text:"Window opacity",options:Oq5},{option:"charEdgeStyle",text:"Character edge style",options:[{option:0,text:"None"},{option:4,text:"Drop Shadow"},{option:1,text:"Raised"},{option:2,text:"Depressed"},{option:3,text:"Outline"}]},{option:"textOpacity", +text:"Font opacity",options:[{option:.25,text:Vb(.25)},{option:.5,text:Vb(.5)},{option:.75,text:Vb(.75)},{option:1,text:Vb(1)}]}];var F6c=[27,9,33,34,13,32,187,61,43,189,173,95,79,87,67,80,78,75,70,65,68,87,83,107,221,109,219];g.k(CX,g.Ww);g.C=CX.prototype; +g.C.Ps=function(N){N.repeat||(this.L.XB=!1);var H=!1,c=N.keyCode,t=fI(N),h=!N.altKey&&!N.ctrlKey&&!N.metaKey&&(!this.api.isMutedByEmbedsMutedAutoplay()||F6c.includes(c)),O=!1,F=!1,M=this.api.D();N.defaultPrevented?(h=!1,F=!0):M.Jj&&!this.api.isMutedByEmbedsMutedAutoplay()&&(h=!1);if(c===9)H=!0;else{if(t)switch(c){case 32:case 13:if(t.tagName==="BUTTON"||t.tagName==="A"||t.tagName==="INPUT")H=!0,h=!1;else if(h){var f=t.getAttribute("role");!f||f!=="option"&&f!=="button"&&f.indexOf("menuitem")!==0|| +(H=!0,t.click(),O=!0)}break;case 37:case 39:case 36:case 35:H=t.getAttribute("role")==="slider";break;case 38:case 40:f=t.getAttribute("role"),t=c===38?t.previousSibling:t.nextSibling,f==="slider"?H=!0:h&&(f==="option"?(t&&t.getAttribute("role")==="option"&&t.focus(),O=H=!0):f&&f.indexOf("menuitem")===0&&(t&&t.hasAttribute("role")&&t.getAttribute("role").indexOf("menuitem")===0&&t.focus(),O=H=!0))}if(h&&!O)switch(c){case 38:O=Math.min(this.api.getVolume()+5,100);Q9(this.eg,O,!1);this.api.setVolume(O); +F=O=!0;break;case 40:O=Math.max(this.api.getVolume()-5,0);Q9(this.eg,O,!0);this.api.setVolume(O);F=O=!0;break;case 36:this.api.T6()&&(this.api.startSeekCsiAction(),this.api.seekTo(0,void 0,void 0,void 0,79),F=O=!0);break;case 35:this.api.T6()&&(this.api.startSeekCsiAction(),this.api.seekTo(Infinity,void 0,void 0,void 0,80),F=O=!0)}}H&&Ra(this,!0);(H||F)&&this.HU.GZ();(O||h&&this.handleGlobalKeyDown(c,N.shiftKey,N.ctrlKey,N.altKey,N.metaKey,N.key,N.code,N.repeat))&&N.preventDefault();M.Z&&(N={keyCode:N.keyCode, +altKey:N.altKey,ctrlKey:N.ctrlKey,metaKey:N.metaKey,shiftKey:N.shiftKey,handled:N.defaultPrevented,fullscreen:this.api.isFullscreen()},this.api.vU("onKeyPress",N))}; +g.C.Yk=function(N){var H=N.keyCode;!this.L.bf&&this.handleGlobalKeyUp(H,N.shiftKey,N.ctrlKey,N.altKey,N.metaKey,N.key,N.code)&&N.preventDefault()}; +g.C.handleGlobalKeyUp=function(N,H,c,t,h,O,F){this.api.publish("keyboardserviceglobalkeyup",{keyCode:N,shiftKey:H,ctrlKey:c,altKey:t,metaKey:h,key:O,code:F});H=!1;if(this.L.XB)return H;(O=g.RS(this.api.g_()))&&(O=O.fg)&&O.I4&&(O.Ng(N),H=!0);switch(N){case 9:Ra(this,!0);H=!0;break;case 32:if(this.api.N("web_speedmaster_spacebar_control")&&!this.api.D().Jj){var M,f;N=(M=this.progressBar)==null?void 0:(f=M.B)==null?void 0:f.isEnabled;H=this.Kg(N)}break;case 39:(this.api.N("web_player_chapter_seeking_keyboard_shortcut_killswitch")|| +!(h||c&&t))&&(Ej?t:c)&&this.api.T6()&&this.api.N("web_enable_keyboard_shortcut_for_timely_actions")&&(this.api.startSeekCsiAction(),M=(M=this.api.getVideoData())?M.bX:[],f=IhD(M,this.api.getCurrentTime()*1E3),f!==-1&&this.T!=null&&(this.T.ze(1,M[f].title),this.api.seekTo(M[f].startTime/1E3,void 0,void 0,void 0,52),H=!0))}return H}; +g.C.handleGlobalKeyDown=function(N,H,c,t,h,O,F,M){M||(this.L.XB=!1);var f=!1,d=this.api.D();if(d.Jj&&!this.api.isMutedByEmbedsMutedAutoplay())return f;var W=g.RS(this.api.g_());if(W&&(W=W.fg)&&W.I4)switch(N){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:f=W.JD(N)}d.Y||f||(f=O||String.fromCharCode(N).toLowerCase(),this.B+=f,"awesome".indexOf(this.B)===0||this.api.N("web_player_rtr_ctrls")&&"bday".indexOf(this.B)===0?(f=!0,4===this.B.length&&this.B==="bday"&&this.api.N("web_player_rtr_ctrls")&& +(BzS(this.S),this.HU.GZ()),7===this.B.length&&this.B==="awesome"&&byL(this.api.getRootNode(),"ytp-color-party")):(this.B=f,f="awesome".indexOf(this.B)===0||"bday".indexOf(this.B)===0));if(!f&&(!this.api.isMutedByEmbedsMutedAutoplay()||F6c.includes(N))){var z=this.api.getVideoData(),E,x;W=(E=this.progressBar)==null?void 0:(x=E.B)==null?void 0:x.isEnabled;E=z?z.bX:[];x=Ej?t:c;switch(N){case 80:H&&!d.Kq&&(Dc(this.eg,Iww(),"Previous"),this.api.previousVideo(),f=!0);break;case 78:H&&!d.Kq&&(Dc(this.eg, +yH(),"Next"),this.api.nextVideo(),f=!0);break;case 74:this.api.T6()&&(this.api.startSeekCsiAction(),this.T?this.api.N("enable_key_press_seek_logging")?(f=YF(this,-10*this.api.getPlaybackRate(),"SEEK_SOURCE_SEEK_BACKWARD_10S"),this.T.En(-1,10,f)):this.T.En(-1,10):Dc(this.eg,{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z M 16.9,22 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 -0.2,0 -0.4,.1 -0.6,.1 -0.2,0 -0.4,0 -0.6,-0.1 -0.2,-0.1 -0.3,-0.2 -0.5,-0.3 -0.2,-0.1 -0.2,-0.3 -0.3,-0.6 -0.1,-0.3 -0.1,-0.5 -0.1,-0.8 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.9,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}), +this.api.seekBy(-10*this.api.getPlaybackRate(),void 0,void 0,73),f=!0);break;case 76:this.api.T6()&&(this.api.startSeekCsiAction(),this.T?this.api.N("enable_key_press_seek_logging")?(f=YF(this,10*this.api.getPlaybackRate(),"SEEK_SOURCE_SEEK_FORWARD_10S"),this.T.En(1,10,f)):this.T.En(1,10):Dc(this.eg,{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.8,3 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 C 20,21.9 19.8,22 19.6,22 19.4,22 19.2,22 19,21.9 18.8,21.8 18.7,21.7 18.5,21.6 18.3,21.5 18.3,21.3 18.2,21 18.1,20.7 18.1,20.5 18.1,20.2 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.8,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}), +this.api.seekBy(10*this.api.getPlaybackRate(),void 0,void 0,74),f=!0);break;case 37:if(this.api.T6())if(this.api.startSeekCsiAction(),x){if(this.api.N("web_player_chapter_seeking_keyboard_shortcut_killswitch")||!(h||c&&t))x=QxZ(E,this.api.getCurrentTime()*1E3),x!==-1&&this.T!=null&&(this.T.ze(-1,E[x].title),this.api.seekTo(E[x].startTime/1E3,void 0,void 0,void 0,53),f=!0)}else this.T?this.api.N("enable_key_press_seek_logging")?(f=YF(this,-5*this.api.getPlaybackRate(),"SEEK_SOURCE_SEEK_BACKWARD_5S"), +this.T.En(-1,5,f)):this.T.En(-1,5):Dc(this.eg,{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z m -1.3,8.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.4,.3 C 18.5,22 18.2,22 18,22 17.8,22 17.6,22 17.5,21.9 17.4,21.8 17.2,21.8 17,21.7 16.8,21.6 16.8,21.5 16.7,21.3 16.6,21.1 16.6,21 16.6,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.5,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.7 z"}}]}), +this.api.seekBy(-5*this.api.getPlaybackRate(),void 0,void 0,71),f=!0;break;case 39:this.api.T6()&&(this.api.startSeekCsiAction(),x?this.api.N("web_enable_keyboard_shortcut_for_timely_actions")||!this.api.N("web_player_chapter_seeking_keyboard_shortcut_killswitch")&&(h||c&&t)||(x=IhD(E,this.api.getCurrentTime()*1E3),x!==-1&&this.T!=null&&(this.T.ze(1,E[x].title),this.api.seekTo(E[x].startTime/1E3,void 0,void 0,void 0,52),f=!0)):(this.T!=null?this.api.N("enable_key_press_seek_logging")?(f=YF(this,5* +this.api.getPlaybackRate(),"SEEK_SOURCE_SEEK_FORWARD_5S"),this.T.En(1,5,f)):this.T.En(1,5):Dc(this.eg,{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.7,.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.5,.3 C 18.3,22 18.1,22 17.9,22 17.7,22 17.5,22 17.4,21.9 17.3,21.8 17.1,21.8 16.9,21.7 16.7,21.6 16.7,21.5 16.6,21.3 16.5,21.1 16.5,21 16.5,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.4,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.6 z"}}]}), +this.api.seekBy(5*this.api.getPlaybackRate(),void 0,void 0,72),f=!0));break;case 77:this.api.isMuted()?(this.api.unMute(),Q9(this.eg,this.api.getVolume(),!1)):(this.api.mute(),Q9(this.eg,0,!0));f=!0;break;case 32:f=this.api.N("web_speedmaster_spacebar_control")?!this.api.D().Kq:this.Kg(W);break;case 75:f=this.Kg(W);break;case 190:H?d.enableSpeedOptions&&ZS3(this)&&(f=this.api.getPlaybackRate(),this.api.setPlaybackRate(f+.25,!0),kOf(this.eg,!1),f=!0):this.api.T6()&&(this.step(1),f=!0);break;case 188:H? +d.enableSpeedOptions&&ZS3(this)&&(f=this.api.getPlaybackRate(),this.api.setPlaybackRate(f-.25,!0),kOf(this.eg,!0),f=!0):this.api.T6()&&(this.step(-1),f=!0);break;case 70:qmR(this.api)&&(this.api.toggleFullscreen().catch(function(){}),f=!0); +break;case 27:W?(this.progressBar.II(),f=!0):this.C()&&(f=!0)}if(d.controlsType!=="3")switch(N){case 67:g.x$(this.api.g_())&&(d=this.api.getOption("captions","track"),this.api.toggleSubtitles(),hgD(this.eg,!d||d&&!d.displayName),f=!0);break;case 79:C4(this,"textOpacity");break;case 87:C4(this,"windowOpacity");break;case 187:case 61:C4(this,"fontSizeIncrement",!1,!0);break;case 189:case 173:C4(this,"fontSizeIncrement",!0,!0)}var q;H||c||t||(N>=48&&N<=57?q=N-48:N>=96&&N<=105&&(q=N-96));q!=null&&this.api.T6()&& +!this.api.N("web_player_disable_keyboard_seek_percent")&&(this.api.startSeekCsiAction(),d=this.api.getProgressState(),this.api.seekTo(q/10*(d.seekableEnd-d.seekableStart)+d.seekableStart,void 0,void 0,void 0,81),f=!0);f&&this.HU.GZ()}this.L.cS=!1;this.api.publish("keyboardserviceglobalkeydown",{keyCode:N,shiftKey:H,ctrlKey:c,altKey:t,metaKey:h,key:O,code:F,repeat:M},this.L);this.L.cS&&(f=!0,this.HU.GZ());return f}; +g.C.step=function(N){this.api.T6();if(this.api.getPlayerStateObject().isPaused()){var H=this.api.getVideoData().B;H&&(H=H.video)&&this.api.seekBy(N/(H.fps||30),void 0,void 0,N>0?77:78)}}; +g.C.Kg=function(N){if(!this.api.D().Kq){var H;var c,t=(H=this.api.getVideoData())==null?void 0:(c=H.getPlayerResponse())==null?void 0:c.playabilityStatus;if(t){var h;H=((h=g.P(t.miniplayer,jd5))==null?void 0:h.playbackMode)==="PLAYBACK_MODE_PAUSED_ONLY"}else H=!1;H&&this.api.QS("onExpandMiniplayer");N?this.progressBar.HK():(N=!this.api.getPlayerStateObject().isOrWillBePlaying(),this.eg.I3(N),N?this.api.playVideo():this.api.pauseVideo());return!0}return!1}; +g.C.Os=function(){g.Ms(this.U);g.Ww.prototype.Os.call(this)};g.k(Q8,g.e);Q8.prototype.Df=function(){var N=this.J.D(),H=N.L||this.J.N("web_player_hide_overflow_button_if_empty_menu")&&this.J9.isEmpty();N=g.PX(N)&&g.eg(this.J)&&g.y(this.J.getPlayerStateObject(),128);var c=this.J.getPlayerSize();this.visible=this.J.i$()&&!N&&c.width>=240&&!this.J.getVideoData().Uc&&!H&&!this.J.isEmbedsShortsMode();g.QH(this.element,"ytp-overflow-button-visible",this.visible);this.a4(this.visible);this.visible&&this.J.oo();this.J.logVisibility(this.element,this.visible&&this.TW)}; +Q8.prototype.lX=function(N){g.e.prototype.lX.call(this,N);this.J.logVisibility(this.element,this.visible&&N)}; +Q8.prototype.Os=function(){g.e.prototype.Os.call(this);g.nH(this.element,"ytp-overflow-button-visible")};g.k(j1,g.Gv);g.C=j1.prototype;g.C.dM=function(N){N=fI(N);g.m5(this.element,N)&&(g.m5(this.T,N)||g.m5(this.closeButton,N)||l4(this))}; +g.C.e1=function(){g.Gv.prototype.e1.call(this);this.J.aU(this.element)}; +g.C.show=function(){this.I4&&this.J.publish("OVERFLOW_PANEL_OPENED");g.Gv.prototype.show.call(this);this.element.setAttribute("aria-modal","true");Igd(this,!0)}; +g.C.hide=function(){g.Gv.prototype.hide.call(this);this.element.removeAttribute("aria-modal");Igd(this,!1)}; +g.C.onFullscreenToggled=function(N){!N&&this.td()&&l4(this)}; +g.C.isEmpty=function(){return this.actionButtons.length===0}; +g.C.focus=function(){for(var N=g.K(this.actionButtons),H=N.next();!H.done;H=N.next())if(H=H.value,H.I4){H.focus();break}};g.k(mt,g.e);mt.prototype.onClick=function(N){g.KQ(N,this.api)&&this.api.playVideoAt(this.index)};g.k(jk,g.Gv);g.C=jk.prototype;g.C.show=function(){g.Gv.prototype.show.call(this);this.T.G(this.api,"videodatachange",this.T2);this.T.G(this.api,"onPlaylistUpdate",this.T2);this.T2()}; +g.C.hide=function(){g.Gv.prototype.hide.call(this);g.bM(this.T);this.updatePlaylist(null)}; +g.C.T2=function(){this.updatePlaylist(this.api.getPlaylist());this.api.D().L&&(this.Sa("ytp-playlist-menu-title-name").removeAttribute("href"),this.B&&(this.G3(this.B),this.B=null))}; +g.C.zp=function(){var N=this.playlist,H=N.author,c=H?"by $AUTHOR \u2022 $CURRENT_POSITION/$PLAYLIST_LENGTH":"$CURRENT_POSITION/$PLAYLIST_LENGTH",t={CURRENT_POSITION:String(N.index+1),PLAYLIST_LENGTH:String(N.length)};H&&(t.AUTHOR=H);this.update({title:N.title,subtitle:g.Df(c,t),playlisturl:this.api.getVideoUrl(!0)});H=N.B;if(H===this.L)this.selected.element.setAttribute("aria-checked","false"),this.selected=this.playlistData[N.index];else{c=g.K(this.playlistData);for(t=c.next();!t.done;t=c.next())t.value.dispose(); +c=N.length;this.playlistData=[];for(t=0;t=this.B&&!N.L&&!H.isAd()&&!this.api.isEmbedsShortsMode()}else N=!1;this.visible=N;this.a4(this.visible);g.QH(this.element,"ytp-search-button-visible",this.visible);g.QH(this.element,"ytp-show-search-title",!this.api.i$());this.api.logVisibility(this.element,this.visible&&this.TW)}; +ct.prototype.lX=function(N){g.e.prototype.lX.call(this,N);this.api.logVisibility(this.element,this.visible&&N)};g.k(Yw,g.e); +Yw.prototype.trigger=function(N,H,c,t){this.show();if(this.B&&N!==this.B){var h=1;this.L&&(h=vwZ(this));qHd(this,h,!1);uVt(this)}this.B=N;this.U=this.B===-1?this.C:this.Z;N="";H?(this.B===-1&&this.J.getCurrentTime()<=H?this.S=H:this.S+=H,N=(this.B===-1?"\u2212":"+")+" "+this.S):this.S=0;this.updateValue(this.B===-1?"durationBack":"durationForward",N);if(this.T==="hidden"||this.T==="fading-out")H=0,this.T==="fading-out"&&(H=vwZ(this),WmD(this)),zUe(this,H),this.T!=="fading-out"&&l$h(this,this.U.querySelector(".ytp-seek-overlay-arrow-persistent")), +this.T="fading-in";else if(this.T==="fading-in"||this.T==="lingering")H=this.U.querySelector(".ytp-seek-overlay-duration"),N=g.Mx(this.J.D().experiments,"web_player_seek_overlay_duration_bump_scale")||.9,H.animate([{offset:0,easing:"cubic-bezier(0.20, 0.00, 0.60, 1.00)",transform:"scale(1)"},{offset:.64,easing:"cubic-bezier(0.20, 0.00, 0.60, 1.00)",transform:"scale("+N+")"},{offset:1,transform:"scale(1)"}],{duration:184}),WmD(this),this.T==="lingering"&&(this.Y.stop(),this.Y.start());c&&Wgy(this, +c,t)}; +Yw.prototype.TF=function(N,H,c,t){this.trigger(N,t)}; +Yw.prototype.En=function(N,H,c){this.trigger(N,H);c&&(N=N===-1?this.Z.visualElement:this.C.visualElement,c={seekData:c},(H=g.gi())&&Rg(H,N,"INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS",c))}; +Yw.prototype.ze=function(N,H,c){this.trigger(N,void 0,H,c)};g.k($E,g.e);$E.prototype.onClick=function(){var N=this,H=this.api.D(),c=this.api.getVideoData(this.api.getPresentingPlayerType()),t=this.api.getPlaylistId();H=this.api.N("enable_share_button_url_fix")?this.api.getVideoUrl(!0,!0,!0):H.getVideoUrl(c.videoId,t,void 0,!0);if(navigator.share)try{var h=navigator.share({title:c.title,url:H});h instanceof Promise&&h.catch(function(O){c7t(N,O)})}catch(O){O instanceof Error&&c7t(this,O)}else this.T.R$(),l4(this.B,this.element,!1); +this.api.logClick(this.element)}; +$E.prototype.Df=function(){var N=this.api.D(),H=this.api.isEmbedsShortsMode();g.QH(this.element,"ytp-show-share-title",g.PX(N)&&!H);this.T.J3()&&H?(N=(this.api.BO().getPlayerSize().width-this.api.getVideoContentRect().width)/2,g.eU(this.element,"right",N+"px")):H&&g.eU(this.element,"right","0px");this.updateValue("icon",{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 20.20,14.19 0,-4.45 7.79,7.79 -7.79,7.79 0,-4.56 C 16.27,20.69 12.10,21.81 9.34,24.76 8.80,25.13 7.60,27.29 8.12,25.65 9.08,21.32 11.80,17.18 15.98,15.38 c 1.33,-0.60 2.76,-0.98 4.21,-1.19 z"}}]}); +this.visible=qkt(this);g.QH(this.element,"ytp-share-button-visible",this.visible);this.a4(this.visible);this.tooltip.oo();this.api.logVisibility(this.element,qkt(this)&&this.TW)}; +$E.prototype.lX=function(N){g.e.prototype.lX.call(this,N);this.api.logVisibility(this.element,this.visible&&N)}; +$E.prototype.Os=function(){g.e.prototype.Os.call(this);g.nH(this.element,"ytp-share-button-visible")};g.k(Pqe,g.Gv);g.C=Pqe.prototype;g.C.Xt=function(N){N=fI(N);g.m5(this.U,N)||g.m5(this.closeButton,N)||l4(this)}; +g.C.e1=function(){g.Gv.prototype.e1.call(this);this.tooltip.aU(this.element);this.api.logVisibility(this.T,!1);for(var N=g.K(this.B),H=N.next();!H.done;H=N.next())H=H.value,this.api.hasVe(H.element)&&this.api.logVisibility(H.element,!1)}; +g.C.show=function(){var N=this.I4;g.Gv.prototype.show.call(this);this.Df();N||this.api.QS("onSharePanelOpened")}; +g.C.yFp=function(){this.I4&&this.Df()}; +g.C.Df=function(){var N=this;g.bV(this.element,"ytp-share-panel-loading");g.nH(this.element,"ytp-share-panel-fail");var H=this.api.getVideoData(),c=this.api.getPlaylistId()&&this.L.checked;H.getSharePanelCommand&&KF(this.api.h9(),H.getSharePanelCommand,{includeListId:c}).then(function(t){N.uo()||(g.nH(N.element,"ytp-share-panel-loading"),gay(N,t))}); +H=this.api.getVideoUrl(!0,!0,!1,!1);this.updateValue("link",H);this.updateValue("linkText",H);this.updateValue("shareLinkWithUrl",g.Df("Share link $URL",{URL:H}));p2(this.T);this.api.logVisibility(this.T,!0)}; +g.C.onFullscreenToggled=function(N){!N&&this.td()&&l4(this)}; +g.C.focus=function(){this.T.focus()}; +g.C.Os=function(){g.Gv.prototype.Os.call(this);i1S(this)};g.k(kFv,Qr);g.C=kFv.prototype;g.C.Os=function(){hk(this);Qr.prototype.Os.call(this)}; +g.C.zK=function(N){N.target!==this.dismissButton.element&&(this.iC(!1),this.J.QS("innertubeCommand",this.onClickCommand))}; +g.C.KP=function(){this.Xg=!0;this.iC(!0);this.Ri()}; +g.C.Ell=function(N){this.Y=N;this.Ri()}; +g.C.onVideoDataChange=function(N,H){if(N=!!H.videoId&&this.videoId!==H.videoId)this.videoId=H.videoId,this.Xg=!1,this.ox=!0,this.C=this.Us=!1,hk(this),oas(this,!1),this.B=this.T=!1,zc(this),yXZ(this);if(N||!H.videoId)this.Bp=this.U=!1;var c,t;if(H==null?0:(c=H.getPlayerResponse())==null?0:(t=c.videoDetails)==null?0:t.isLiveContent)this.pG(!1);else{var h,O,F;H=g.P((h=H.getWatchNextResponse())==null?void 0:(O=h.playerOverlays)==null?void 0:(F=O.playerOverlayRenderer)==null?void 0:F.productsInVideoOverlayRenderer, +HgZ);this.Y=this.enabled=!1;if(H){if(h=H==null?void 0:H.featuredProductsEntityKey){O=g.gq.getState().entities;var M;if((M=rq(O,"featuredProductsEntity",h))==null?0:M.productsData){this.pG(!1);return}}if(!H.text||!H.onClickCommand||!H.timing){this.pG(!1);return}this.enabled=!0;if(!this.U){var f;M=(f=H.badgeInteractionLogging)==null?void 0:f.trackingParams;(this.U=!!M)&&this.J.setTrackingParams(this.badge.element,M||null)}if(!this.Bp){var d;if(this.Bp=!((d=H.dismissButton)==null||!d.trackingParams)){var W; +this.J.setTrackingParams(this.dismissButton.element,((W=H.dismissButton)==null?void 0:W.trackingParams)||null)}}H.isContentForward&&(f=H.productsData,oas(this,!0),yXZ(this),f=Vyh(this,f),d=[],f.length>0&&d.push(f[0]),f.length>1&&(W=new g.e({W:"div",K:"ytp-suggested-action-more-products-icon"}),g.l(this,W),d.push(W),d.push.apply(d,g.HE(f.slice(1)))),this.S=new g.e({W:"div",X:d,K:"ytp-suggested-action-content-forward-container"}),g.l(this,this.S),this.Cq.element.append(this.S.element));this.text=g.Fu(H.text); +var z;if(f=(z=H.dismissButton)==null?void 0:z.a11yLabel)this.zW=g.Fu(f);this.onClickCommand=H.onClickCommand;this.timing=H.timing;this.Q0()}sit(this);hZ(this);this.Ri()}}; +g.C.TG=function(){return!this.Y&&this.enabled&&!this.Xg&&!this.J.i$()&&!this.C4&&(this.C||this.ox)}; +g.C.fZ=function(N){Qr.prototype.fZ.call(this,N);if(this.T||this.B)this.timing&&n_(this.timing.preview)&&(this.T=!1,zc(this),this.B=!1,zc(this),this.J.gr("shopping_overlay_preview_collapsed"),this.J.gr("shopping_overlay_preview_expanded"),N=r6(this.timing.preview.startSec,this.timing.preview.endSec,"shopping_overlay_expanded"),n_(this.timing.expanded)&&this.timing.preview.endSec===this.timing.expanded.startSec&&(this.J.gr("shopping_overlay_expanded"),N.end=this.timing.expanded.endSec*1E3),this.J.Q0([N])), +this.Us=!0,hZ(this);zc(this)}; +g.C.pG=function(N){(this.C=N)?(pm(this),hZ(this,!1)):(hk(this),this.Kq.start());this.Ri()}; +g.C.Q0=function(N){var H=this.timing;N=(N===void 0?0:N)+this.J.getCurrentTime();var c=[],t=H.visible,h=H.preview;H=H.expanded;n_(t)&&(Wed(t,N),c.push(r6(t.startSec,t.endSec,"shopping_overlay_visible")));n_(h)&&(Wed(h,N),t=h.startSec+1,c.push(r6(h.startSec,t,"shopping_overlay_preview_collapsed")),c.push(r6(t,h.endSec,"shopping_overlay_preview_expanded")));n_(H)&&(Wed(H,N),c.push(r6(H.startSec,H.endSec,"shopping_overlay_expanded")));this.J.Q0(c)}; +g.C.Ri=function(){Qr.prototype.Ri.call(this);this.J.getRootNode()&&g.QH(this.J.getRootNode(),"ytp-shopping-pill-shown",this.TG())};g.k(nB,g.e); +nB.prototype.Df=function(){var N=this.api.D();this.a4(g.PX(N)&&this.api.isEmbedsShortsMode());this.subscribeButton&&this.api.logVisibility(this.subscribeButton.element,this.I4);var H=this.api.getVideoData(),c=!1;this.api.getPresentingPlayerType()===2?c=!!H.videoId&&!!H.isListed&&!!H.author&&!!H.Kq&&!!H.profilePicture:g.PX(N)&&(c=!!H.videoId&&!!H.Kq&&!!H.profilePicture&&!H.Uc&&!N.L&&!(N.C&&this.api.getPlayerSize().width<200));var t=H.profilePicture;N=g.PX(N)?H.expandedTitle:H.author;t=t===void 0?"": +t;N=N===void 0?"":N;c?(this.B!==t&&(this.T.style.backgroundImage="url("+t+")",this.B=t),this.updateValue("channelLogoLabel",g.Df("Photo image of $CHANNEL_NAME",{CHANNEL_NAME:N})),g.bV(this.api.getRootNode(),"ytp-title-enable-channel-logo")):g.nH(this.api.getRootNode(),"ytp-title-enable-channel-logo");this.api.logVisibility(this.T,c&&this.TW);this.api.logVisibility(this.channelName,c&&this.TW);this.subscribeButton&&(this.subscribeButton.channelId=H.tU);this.updateValue("expandedTitle",H.expandedTitle)};g.k(zE,g.Gv);zE.prototype.show=function(){g.Gv.prototype.show.call(this);this.T.start()}; +zE.prototype.hide=function(){g.Gv.prototype.hide.call(this);this.T.stop()}; +zE.prototype.KJ=function(N,H){N==="dataloaded"&&((this.Gm=H.Gm,this.QC=H.QC,isNaN(this.Gm)||isNaN(this.QC))?this.B&&(this.J.gr("intro"),this.J.removeEventListener(g.dm("intro"),this.C),this.J.removeEventListener(g.WX("intro"),this.U),this.J.removeEventListener("onShowControls",this.L),this.hide(),this.B=!1):(this.J.addEventListener(g.dm("intro"),this.C),this.J.addEventListener(g.WX("intro"),this.U),this.J.addEventListener("onShowControls",this.L),N=new g.vn(this.Gm,this.QC,{priority:9,namespace:"intro"}), +this.J.Q0([N]),this.B=!0))};g.k(ly,g.e);ly.prototype.onClick=function(){this.J.fm()}; +ly.prototype.Df=function(){var N=!0;g.PX(this.J.D())&&(N=N&&this.J.BO().getPlayerSize().width>=480);this.a4(N);N=this.updateValue;var H=this.J.N("delhi_modern_web_player_icons"),c=H?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M23 17V5C23.00 4.50 22.81 4.02 22.48 3.65C22.15 3.29 21.69 3.06 21.20 3.01L21 3H3L2.79 3.01C2.30 3.06 1.84 3.29 1.51 3.65C1.18 4.02 .99 4.50 1 5V17C0.99 17.49 1.18 17.97 1.51 18.34C1.84 18.70 2.30 18.93 2.79 18.99L3 19H5.93L7.65 17H3V5H21V17H16.35L18.06 19H21L21.20 18.99C21.69 18.93 22.15 18.70 22.48 18.34C22.81 17.97 23.00 17.49 23 17ZM17.29 21.17L12 15L6.70 21.17C6.64 21.24 6.60 21.33 6.59 21.43C6.57 21.52 6.59 21.62 6.63 21.70C6.67 21.79 6.73 21.86 6.81 21.92C6.89 21.97 6.99 22 7.08 22H16.91C17.00 22 17.10 21.97 17.18 21.92C17.26 21.86 17.32 21.79 17.36 21.70C17.40 21.62 17.42 21.52 17.40 21.43C17.39 21.33 17.35 21.24 17.29 21.17Z", +fill:"white"}}]}:{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,V:{d:"M11,13 L25,13 L25,21 L11,21 L11,13 Z M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z",fill:"#fff"}}]};H=H?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M23 17V5C23.00 4.50 22.81 4.02 22.48 3.65C22.15 3.29 21.69 3.06 21.20 3.01L21 3H3L2.79 3.01C2.30 3.06 1.84 3.29 1.51 3.65C1.18 4.02 .99 4.50 1 5V17C0.99 17.49 1.18 17.97 1.51 18.34C1.84 18.70 2.30 18.93 2.79 18.99L3 19H5.93L7.65 17H3V5H21V17H16.35L18.06 19H21L21.20 18.99C21.69 18.93 22.15 18.70 22.48 18.34C22.81 17.97 23.00 17.49 23 17ZM17.29 21.17L12 15L6.70 21.17C6.64 21.24 6.60 21.33 6.59 21.43C6.57 21.52 6.59 21.62 6.63 21.70C6.67 21.79 6.73 21.86 6.81 21.92C6.89 21.97 6.99 22 7.08 22H16.91C17.00 22 17.10 21.97 17.18 21.92C17.26 21.86 17.32 21.79 17.36 21.70C17.40 21.62 17.42 21.52 17.40 21.43C17.39 21.33 17.35 21.24 17.29 21.17Z", +fill:"white"}}]}:{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z"}}]};N.call(this,"icon",this.J.Mp()?c:H)};g.k(xIL,g.e);xIL.prototype.Os=function(){this.T=null;g.e.prototype.Os.call(this)};g.k(yV,g.e);yV.prototype.onClick=function(){this.J.QS("innertubeCommand",this.B)}; +yV.prototype.Z=function(){if(this.J.N("delhi_modern_web_player")){var N=this.J.getPlayerSize();N.width&&(this.element.style.maxWidth=N.width*.25+"px")}}; +yV.prototype.Us=function(N){N!==this.Y&&(this.update({chapterTitle:N,ariaLabel:N}),this.Y=N);N?this.show():this.hide()}; +yV.prototype.Bp=function(){this.T.disabled=this.B==null;g.QH(this.T,"ytp-chapter-container-disabled",this.T.disabled);this.Dp()};g.k(GQ,yV);GQ.prototype.onClickCommand=function(N){g.P(N,lG)&&this.Dp()}; +GQ.prototype.updateVideoData=function(N,H){var c,t,h;N=g.P((c=H.getWatchNextResponse())==null?void 0:(t=c.playerOverlays)==null?void 0:(h=t.playerOverlayRenderer)==null?void 0:h.decoratedPlayerBarRenderer,XM);c=g.P(N==null?void 0:N.playerBarActionButton,g.mM);if(this.J.N("web_player_updated_entrypoint")){this.C=KE(c==null?void 0:c.text);var O;t=(O=c==null?void 0:c.tooltip)!=null?O:"View chapter";this.S.setAttribute("title",t)}this.B=c==null?void 0:c.command;yV.prototype.Bp.call(this)}; +GQ.prototype.Dp=function(){var N=this.C,H=this.U.T,c,t=((c=this.J.getLoopRange())==null?void 0:c.type)==="clips";if(H.length>1&&!t){N=this.J.getProgressState().current*1E3;c=ce(H,N);N=H[c].title||"Chapters";if(c!==this.currentIndex||this.L)this.J.QS("innertubeCommand",H[c].onActiveCommand),this.currentIndex=c;this.L=!1}else this.L=!0;yV.prototype.Us.call(this,N)};g.k(oc,g.lL);oc.prototype.B=function(){var N;(N=this.element.parentElement)==null||N.classList.contains("ytp-right-controls-left");(this.T=!this.T)?this.publish("small-mode-expand-right-bottom-controls"):this.publish("small-mode-collapse-right-bottom-controls")}; +oc.prototype.isExpanded=function(){return this.T};g.k(Xd,g.e);Xd.prototype.L=function(N){g.y(N.state,32)?$w(this,this.api.Om()):this.I4&&(g.y(N.state,16)||g.y(N.state,1))||this.fade.hide()}; +Xd.prototype.onProgress=function(){var N=this.api.getPlayerStateObject();(g.y(N,32)||g.y(N,16))&&Nd(this)}; +Xd.prototype.U=function(){this.frameIndex=NaN;Nd(this)}; +Xd.prototype.hide=function(){this.T&&$w(this,null);g.e.prototype.hide.call(this)};g.k(Lz,g.e);g.C=Lz.prototype;g.C.onClick=function(){var N=this;if(this.J.D().UF||this.J.D().C){this.J.logClick(this.element);try{this.J.toggleFullscreen().catch(function(H){N.eK(H)})}catch(H){this.eK(H)}}else l4(this.message,this.element,!0)}; +g.C.eK=function(N){String(N).includes("fullscreen error")?g.aS(N):g.BZ(N);this.dY()}; +g.C.dY=function(){this.disable();this.message.aD(this.element,!0)}; +g.C.J2=function(){vj()===this.J.getRootNode()?this.L.start():(this.L.stop(),this.message&&this.message.hide())}; +g.C.Ju=function(){if(window.screen&&window.outerWidth&&window.outerHeight){var N=window.screen.width*.9,H=window.screen.height*.9,c=Math.max(window.outerWidth,window.innerWidth),t=Math.max(window.outerHeight,window.innerHeight);if(c>t!==N>H){var h=c;c=t;t=h}N>c&&H>t&&this.dY()}}; +g.C.disable=function(){var N=this;if(!this.message){var H=(eE(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],document.body)!=null?"Full screen is unavailable. $BEGIN_LINKLearn More$END_LINK":"Your browser doesn't support full screen. $BEGIN_LINKLearn More$END_LINK").split(/\$(BEGIN|END)_LINK/);this.message=new g.Gv(this.J,{W:"div",fq:["ytp-popup","ytp-generic-popup"],V:{role:"alert",tabindex:"0"},X:[H[0],{W:"a",V:{href:"https://support.google.com/youtube/answer/6276924", +target:this.J.D().TW},Wp:H[2]},H[4]]},100,!0);this.message.hide();g.l(this,this.message);this.message.subscribe("show",function(c){N.B.qr(N.message,c)}); +g.aG(this.J,this.message.element,4);this.element.setAttribute("aria-disabled","true");this.element.setAttribute("aria-haspopup","true");(0,this.T)();this.T=null}}; +g.C.Df=function(){var N=qmR(this.J),H=this.J.D().C&&this.J.getPlayerSize().width<250;this.a4(N&&!H);this.J.logVisibility(this.element,this.I4)}; +g.C.fA=function(N){if(N){var H=g.EC(this.J,"Exit full screen","f");this.update({"data-title-no-tooltip":"Exit full screen"});document.activeElement===this.element&&this.J.getRootNode().focus();document.pictureInPictureElement&&document.exitPictureInPicture().catch(function(c){g.aS(c)})}else H=g.EC(this.J,"Full screen","f"),this.update({"data-title-no-tooltip":"Full screen"}); +N=lqs(this,N);H=this.message?null:H;this.J.D().N("player_tooltip_data_title_killswitch")?this.update({title:H,icon:N}):this.update({"tooltip-title":H,"aria-label":H,icon:N});this.B.HH().oo()}; +g.C.Os=function(){this.message||((0,this.T)(),this.T=null);g.e.prototype.Os.call(this)}; +g.C.lX=function(N){g.e.prototype.lX.call(this,N)};g.k(Zv,g.e);Zv.prototype.onClick=function(){this.J.logClick(this.element);this.J.seekBy(this.T,!0);var N=this.T>0?1:-1,H=Math.abs(this.T),c=this.J.Gu().r4;c&&c.En(N,H);this.B.isActive()?this.L=!0:(N=["ytp-jump-spin"],this.T<0&&N.push("backwards"),this.element.classList.add.apply(this.element.classList,g.HE(N)),g.lY(this.B))};g.k(G1,yV);G1.prototype.onClickCommand=function(N){g.P(N,bsg)&&this.Dp()}; +G1.prototype.updateVideoData=function(){var N,H;this.B=(N=OT3(this))==null?void 0:(H=N.onTap)==null?void 0:H.innertubeCommand;yV.prototype.Bp.call(this)}; +G1.prototype.Dp=function(){var N="",H=this.U.C,c,t=(c=OT3(this))==null?void 0:c.headerTitle;c=t?g.Fu(t):"";var h;t=((h=this.J.getLoopRange())==null?void 0:h.type)==="clips";H.length>1&&!t&&(N=this.J.getProgressState().current*1E3,h=M93(H,N),N=h!=null?H[h].title:c,h!=null&&h!==this.currentIndex&&(this.J.QS("innertubeCommand",H[h].onActiveCommand),this.currentIndex=h));yV.prototype.Us.call(this,N)};g.k(C3,g.e);C3.prototype.onClick=function(){this.J.QS("onCollapseMiniplayer");this.J.logClick(this.element)}; +C3.prototype.Df=function(){this.visible=!this.J.isFullscreen();this.a4(this.visible);this.J.logVisibility(this.element,this.visible&&this.TW)}; +C3.prototype.lX=function(N){g.e.prototype.lX.call(this,N);this.J.logVisibility(this.element,this.visible&&N)};g.k(xH,g.e);xH.prototype.init=function(){this.update({minvalue:this.L,maxvalue:this.S,stepvalue:this.C,slidervalue:this.T,ariaValueNow:this.T,ariaMinValue:this.L,ariaMaxValue:this.S});XMS(this,this.T)}; +xH.prototype.U=function(){td(this,Number(this.B.value));this.B.focus()}; +xH.prototype.Y=function(N){if(!N.defaultPrevented){switch(N.code){case "ArrowDown":N=-this.C;break;case "ArrowUp":N=this.C;break;default:return}td(this,Math.min(this.S,Math.max(Number((this.T+N).toFixed(2)),this.L)))}};g.k(nJ,xH);nJ.prototype.onVolumeChange=function(N){if(this.Z)this.Z=!1;else{var H=N.volume;H===0||N.muted?td(this,0):td(this,H)}}; +nJ.prototype.U=function(){xH.prototype.U.call(this);this.Bp(this.T)}; +nJ.prototype.Us=function(N){var H=-N.deltaY;H=N.deltaMode===WheelEvent.DOM_DELTA_LINE||N.deltaMode===WheelEvent.DOM_DELTA_PAGE?g.Ae(this.T+H,0,100):g.Ae(this.T+g.Ae(H/10,-10,10),0,100);H===0?td(this,0):td(this,H);this.Bp(H);N.preventDefault();N.stopPropagation()}; +nJ.prototype.ox=function(N,H){this.Z=!0;N===0||H?this.J.mute():(this.J.isMuted()&&this.J.unMute(),this.J.setVolume(N))};g.k($rZ,g.e);g.k(yS,g.e);g.C=yS.prototype;g.C.MX=function(){if(!this.J.eE()){this.updateValue("dataTooltipOffsetY",-120);var N;(N=this.T)!=null&&Vc(N,!0);var H;(H=this.T)!=null&&H.T.stop()}}; +g.C.qg=function(){var N;(N=this.T)!=null&&N.T.start()}; +g.C.wx=function(N){this.visible=N.width>=300||this.gE;this.a4(this.visible);this.J.logVisibility(this.element,this.visible&&this.TW)}; +g.C.T_=function(){this.J.D().Cq?this.J.isMuted()?this.J.unMute():this.J.mute():l4(this.message,this.element,!0);this.J.logClick(this.element)}; +g.C.pds=function(N){if(this.J.D().Cq&&this.T)if(N.target===this.L){var H;if(!this.J.eE()||((H=this.T)==null?0:H.isVisible))this.T_();else{var c;(c=this.T)!=null&&Vc(c,!0)}}else{var t;(t=this.T)!=null&&Vc(t,!0)}else this.T_()}; +g.C.onVolumeChange=function(N){this.setVolume(N.volume,N.muted)}; +g.C.setVolume=function(N,H){var c=this,t=H?0:N/100;N=t===0?1:N>50?1:0;if(this.Z!==N){var h=this.C;isNaN(h)?jMe(this,N):bEd(this.Cq,function(F){jMe(c,h+(c.Z-h)*F)},250); +this.Z=N}t=t===0?1:0;if(this.Y!==t){var O=this.ox;isNaN(O)?VzD(this,t):bEd(this.NT,function(F){VzD(c,O+(c.Y-O)*F)},250); +this.Y=t}YHf(this,H)}; +g.C.lX=function(N){g.e.prototype.lX.call(this,N);this.J.logVisibility(this.element,this.visible&&N)}; +var $7f=["M",19,",",11.29," C",21.89,",",12.15," ",24,",",14.83," ",24,",",18," C",24,",",21.17," ",21.89,",",23.85," ",19,",",24.71," L",19,",",24.77," C",21.89,",",23.85," ",24,",",21.17," ",24,",",18," C",24,",",14.83," ",21.89,",",12.15," ",19,",",11.29," L",19,",",11.29," Z"],T_l=["M",19,",",11.29," C",21.89,",",12.15," ",24,",",14.83," ",24,",",18," C",24,",",21.17," ",21.89,",",23.85," ",19,",",24.71," L",19,",",26.77," C",23.01,",",25.86," ",26,",",22.28," ",26,",",18," C",26,",",13.72," ", +23.01,",",10.14," ",19,",",9.23," L",19,",",11.29," Z"];g.k(g.BN,g.e);g.C=g.BN.prototype;g.C.onStateChange=function(N){this.Xf(N.state)}; +g.C.Xf=function(N){var H=g.z7(this.J.getVideoData()),c=!1;N.isOrWillBePlaying()?N=H?4:2:g.y(N,2)?(N=3,c=H):N=1;this.element.disabled=c;if(this.T!==N){H=null;switch(N){case 2:H=g.EC(this.J,"Pause","k");this.update({"data-title-no-tooltip":"Pause"});break;case 3:H="Replay";this.update({"data-title-no-tooltip":"Replay"});break;case 1:H=g.EC(this.J,"Play","k");this.update({"data-title-no-tooltip":"Play"});break;case 4:H="Stop live playback",this.update({"data-title-no-tooltip":"Stop live playback"})}N=== +3?this.J.D().N("player_tooltip_data_title_killswitch")?this.update({title:H,icon:M0d(this,N)}):this.update({"tooltip-title":H,icon:M0d(this,N)}):(this.J.N("player_tooltip_data_title_killswitch")?this.update({title:H}):this.update({"tooltip-title":H}),(H=M0d(this,N))&&this.T&&this.T!==3?N$v(this.transition,this.element,H):this.updateValue("icon",H));this.tooltip.oo();this.T=N}}; +g.C.onVideoDataChange=function(){g.QH(this.element,"ytp-play-button-playlist",g.eg(this.J))}; +g.C.Kg=function(N){this.J.logClick(this.element);if(this.J.getPlayerStateObject().isOrWillBePlaying())this.J.pauseVideo();else{if(this.J.isMinimized()&&this.J.getPlayerStateObject().isCued()){var H={},c;if((c=this.J.getVideoData())==null?0:c.Y)H.cttAuthInfo={token:this.J.getVideoData().Y,videoId:this.J.getVideoData().videoId};Zy("direct_playback",H);this.J.Um().timerName="direct_playback"}this.J.playVideo()}this.J.isMinimized()&&(N==null?void 0:N.type)==="click"&&this.element.blur()}; +g.C.lX=function(N){g.e.prototype.lX.call(this,N)};g.k(g.Y$,g.e);g.C=g.Y$.prototype;g.C.onVideoDataChange=function(){Fg3(this);this.U&&(this.G3(this.U),this.U=null);this.videoData=this.J.getVideoData(1);if(this.playlist=this.J.getPlaylist())this.playlist.subscribe("shuffle",this.onVideoDataChange,this),this.U=this.G(this.J,"progresssync",this.jI);this.L=fNy(this);Zc(this);this.iE(this.J.BO().getPlayerSize())}; +g.C.iE=function(N){N=N===void 0?this.J.BO().getPlayerSize():N;var H,c=((H=this.J.getLoopRange())==null?void 0:H.type)==="clips";H=g.eg(this.J)||this.T&&g.rz(this.J)&&!this.J.N("web_hide_next_button")||Eqe(this);var t=!this.T&&N.width<400;N=this.J.N("delhi_modern_web_player_horizontal_volume_controls")&&N.width<640;c=H&&!c&&!t&&!N;this.a4(c);this.J.logVisibility(this.element,c)}; +g.C.onClick=function(N){this.J.logClick(this.element);var H=!0;this.Y?H=g.KQ(N,this.J):N.preventDefault();H&&(this.T&&this.J.getPresentingPlayerType()===5?this.J.publish("ytoprerollinternstitialnext"):this.T?($9(this.J.Um()),this.J.publish("playlistnextbuttonclicked",this.element),this.J.nextVideo(!0)):this.L?this.J.seekTo(0):($9(this.J.Um()),this.J.publish("playlistprevbuttonclicked",this.element),this.J.previousVideo(!0)))}; +g.C.jI=function(){var N=fNy(this);N!==this.L&&(this.L=N,Zc(this))}; +g.C.Os=function(){this.B&&(this.B(),this.B=null);Fg3(this);g.e.prototype.Os.call(this)};g.k(ZN,g.e);g.C=ZN.prototype;g.C.Ho=function(N){this.Ly(N.pageX);this.Bi(N.pageX+N.deltaX);U1(this)}; +g.C.Ly=function(N){this.Bp=N-this.gE}; +g.C.Bi=function(N){N-=this.gE;!isNaN(this.Bp)&&this.thumbnails.length>0&&(this.Z=N-this.Bp,this.thumbnails.length>0&&this.Z!==0&&(this.L=this.C+this.Z,N=iRL(this,this.L),this.L<=this.T/2&&this.L>=l6l(this)?(this.api.seekTo(N,!1,void 0,void 0,25),g.eU(this.ox,"transform","translateX("+(this.L-this.T/2)+"px)"),dLS(this,N)):this.L=this.C))}; +g.C.dB=function(){this.Us&&(this.Us.Ay=!0);var N=(0,g.Lh)()-this.vp<300;if(Math.abs(this.Z)<5&&!N){this.vp=(0,g.Lh)();N=this.Bp+this.Z;var H=this.T/2-N;this.Ly(N);this.Bi(N+H);U1(this);this.api.logClick(this.S)}U1(this)}; +g.C.qq=function(){R8(this,this.api.getCurrentTime())}; +g.C.play=function(N){this.api.seekTo(iRL(this,this.L),void 0,void 0,void 0,26);this.api.playVideo();N&&this.api.logClick(this.playButton)}; +g.C.onExit=function(N){this.api.seekTo(this.Kq,void 0,void 0,void 0,63);this.api.playVideo();N&&this.api.logClick(this.dismissButton)}; +g.C.Mc=function(N,H){this.gE=N;this.T=H;R8(this,this.api.getCurrentTime())}; +g.C.enable=function(){this.isEnabled||(this.isEnabled=!0,this.Kq=this.api.getCurrentTime(),dLS(this,this.Kq),g.QH(this.api.getRootNode(),"ytp-fine-scrubbing-enable",this.isEnabled),this.Cq=this.G(this.element,"wheel",this.Ho),this.logVisibility(this.isEnabled))}; +g.C.disable=function(){this.isEnabled=!1;this.hide();g.QH(this.api.getRootNode(),"ytp-fine-scrubbing-enable",this.isEnabled);this.Cq&&this.G3(this.Cq);this.logVisibility(this.isEnabled)}; +g.C.reset=function(){this.disable();this.U=[];this.Ix=!1}; +g.C.logVisibility=function(N){this.api.logVisibility(this.element,N);this.api.logVisibility(this.S,N);this.api.logVisibility(this.dismissButton,N);this.api.logVisibility(this.playButton,N)}; +g.C.Os=function(){for(;this.B.length;){var N=void 0;(N=this.B.pop())==null||N.dispose()}g.e.prototype.Os.call(this)}; +g.k(FHv,g.e);g.k(eAL,g.e);g.k(DrL,g.e);g.k(A5,g.e);A5.prototype.N4=function(N){return N==="PLAY_PROGRESS"?this.C:N==="LOAD_PROGRESS"?this.Y:N==="LIVE_BUFFER"?this.S:this.L};ZBR.prototype.update=function(N,H,c,t){c=c===void 0?0:c;this.width=H;this.U=c;this.T=H-c-(t===void 0?0:t);this.position=g.Ae(N,c,c+this.T);this.L=this.position-c;this.B=this.L/this.T};g.k(mol,g.e);g.k(g.Yp,g.lL);g.C=g.Yp.prototype; +g.C.Z3=function(){var N=!1,H=this.api.getVideoData();if(!H)return N;this.api.gr("timedMarkerCueRange");L9(this);for(var c=g.K(H.Cq),t=c.next();!t.done;t=c.next()){t=t.value;var h=void 0,O=(h=this.Xg[t])==null?void 0:h.markerType,F=void 0;h=(F=this.Xg[t])==null?void 0:F.markers;if(!h)break;if(O==="MARKER_TYPE_TIMESTAMPS"){N=g.K(h);for(O=N.next();!O.done;O=N.next()){F=O.value;O=new mol;var M=void 0;O.title=((M=F.title)==null?void 0:M.simpleText)||"";O.timeRangeStartMillis=Number(F.startMillis);O.T= +Number(F.durationMillis);var f=M=void 0;O.onActiveCommand=(f=(M=F.onActive)==null?void 0:M.innertubeCommand)!=null?f:void 0;$_Z(this,O)}Doy(this,this.C);N=this.C;O=this.BR;F=[];M=null;for(f=0;fd&&(M.end=d);d=QVe(d,d+z);F.push(d);M=d;O[d.id]=N[f].onActiveCommand}}this.api.Q0(F);a:{N=g.K(h);for(h=N.next();!h.done;h=N.next())if(h.value.sourceType==="SOURCE_TYPE_SMART_SKIP"){N= +!1;break a}N=!0}N&&(this.nO=this.Xg[t]);N=!0}else if(O==="MARKER_TYPE_HEATMAP"){t=this.Xg[t];W=d=O=f=M=F=void 0;if(t&&t.markers){h=(O=(W=t.markersMetadata)==null?void 0:(d=W.heatmapMetadata)==null?void 0:d.minHeightDp)!=null?O:0;O=(F=(f=t.markersMetadata)==null?void 0:(M=f.heatmapMetadata)==null?void 0:M.maxHeightDp)!=null?F:60;F=this.T.length;M=null;for(f=0;f=W&&q<=z&&d.push(x)}O>0&&(this.Us.style.height=O+"px");W=this.U[f];z=d;x=h;var r=O,w=f===0;w=w===void 0?!1:w;lWs(W,r);E=z;q=W.B;w=w===void 0?!1:w;var n=1E3/E.length,p=[];p.push({x:0,y:100});for(var U=0;U0&&(M=d[d.length-1])}g.$8(this)}O=void 0;h=[];if(t=(O=t.markersDecoration)==null?void 0:O.timedMarkerDecorations)for(t=g.K(t),O=t.next();!O.done;O=t.next())O=O.value,f=M=F=void 0,h.push({visibleTimeRangeStartMillis:(F=O.visibleTimeRangeStartMillis)!= +null?F:-1,visibleTimeRangeEndMillis:(M=O.visibleTimeRangeEndMillis)!=null?M:-1,decorationTimeMillis:(f=O.decorationTimeMillis)!=null?f:NaN,label:O.label?g.Fu(O.label):""});t=h;this.heatMarkersDecorations=t}}H.ZZ=this.C;g.QH(this.element,"ytp-timed-markers-enabled",N);return N}; +g.C.Mc=function(){g.$8(this);Be(this);Doy(this,this.C);if(this.B){var N=g.VC(this.element).x||0;this.B.Mc(N,this.Y)}}; +g.C.zEW=function(){var N=this.api.getVideoData();N&&dZd(this,N)}; +g.C.onClickCommand=function(N){if(N=g.P(N,lG)){var H=N.key;N.isVisible&&H&&SVd(this,H)}}; +g.C.SIp=function(N){this.api.QS("innertubeCommand",this.BR[N.id])}; +g.C.Dp=function(){Be(this);var N=this.api.getCurrentTime();(Nthis.clipEnd)&&this.Gp()}; +g.C.DM=function(N){if(!N.defaultPrevented){var H=!1;switch(N.keyCode){case 36:this.api.seekTo(0,void 0,void 0,void 0,79);H=!0;break;case 35:this.api.seekTo(Infinity,void 0,void 0,void 0,80);H=!0;break;case 34:this.api.seekBy(-60,void 0,void 0,76);H=!0;break;case 33:this.api.seekBy(60,void 0,void 0,75);H=!0;break;case 38:this.api.N("enable_key_press_seek_logging")&&og(this,this.api.getCurrentTime(),this.api.getCurrentTime()+5,"SEEK_SOURCE_SEEK_FORWARD_5S","INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS"); +this.api.seekBy(5,void 0,void 0,72);H=!0;break;case 40:this.api.N("enable_key_press_seek_logging")&&og(this,this.api.getCurrentTime(),this.api.getCurrentTime()-5,"SEEK_SOURCE_SEEK_BACKWARD_5S","INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS"),this.api.seekBy(-5,void 0,void 0,71),H=!0}H&&N.preventDefault()}}; +g.C.KJ=function(N,H){this.updateVideoData(H,N==="newdata")}; +g.C.ZqR=function(){this.KJ("newdata",this.api.getVideoData())}; +g.C.updateVideoData=function(N,H){H=H===void 0?!1:H;var c=!!N&&N.DI();c&&(gz(N)||IE(this)?this.YA=!1:this.YA=N.allowLiveDvr,g.QH(this.api.getRootNode(),"ytp-enable-live-buffer",!(N==null||!gz(N))),dZd(this,N));tR3(this,this.api.T6());if(H){if(c){H=N.clipEnd;this.clipStart=N.clipStart;this.clipEnd=H;Ll(this);for(sZ(this,this.Bp,this.kG);this.U.length>0;)this.U.pop().dispose();this.heatMarkersDecorations=[];this.Dt={};var t;(t=this.B)==null||t.reset();ej(this);g.QH(this.api.getRootNode(),"ytp-fine-scrubbing-exp", +FE(this))}else this.Gp();this.oA()}if(N){var h;t=((h=this.PO)==null?void 0:h.type)==="clips";if(h=!N.isLivePlayback){h=this.api.getVideoData();H=g.FCf(h);c=kPt(h);var O;h=H!=null||c!=null&&c.length>0||((O=h.XS)==null?void 0:O.length)>0}if(h&&!t){O=this.api.getVideoData();t=g.FCf(O);h=!1;if(t==null?0:t.markersMap){h=this.api.getVideoData();var F;h.aE=((F=t.visibleOnLoad)==null?void 0:F.key)||h.aE;F=g.K(t.markersMap);for(t=F.next();!t.done;t=F.next())t=t.value,t.key&&t.value&&(this.Dt[t.key]=t.value, +t.value.onChapterRepeat&&(h.TP=t.value.onChapterRepeat));h.aE!=null&&SVd(this,h.aE);h=!0}var M;if(((M=O.XS)==null?void 0:M.length)>0){M=g.gq.getState().entities;F=g.K(O.XS);for(t=F.next();!t.done;t=F.next()){t=t.value;c=void 0;H=(c=rq(M,"macroMarkersListEntity",t))==null?void 0:c.markersList;var f=c=void 0;if(((c=H)==null?void 0:c.markerType)==="MARKER_TYPE_TIMESTAMPS"||((f=H)==null?void 0:f.markerType)==="MARKER_TYPE_HEATMAP")this.Xg[t]=H}h=this.Z3()||h}!h&&(M=kPt(O))&&(NTs(this,M),O.bX=this.T,jLR(this)); +hAf(this,null);N.rz&&this.U.length===0&&(N=N.rz,M=N.key,N.isVisible&&M&&SVd(this,M))}else Y$l(this),L9(this)}Be(this)}; +g.C.zix=function(N){this.Z&&!g.y(N.state,32)&&this.api.getPresentingPlayerType()!==3&&this.Z.cancel();var H;((H=this.B)==null?0:H.isEnabled)&&g.y(N.state,8)&&this.api.pauseVideo();N=this.api.getPresentingPlayerType()===2||!this.api.T6()||this.api.getPlayerState()===-1&&this.api.getCurrentTime()===0;g.QH(this.KC,"ytp-hide-scrubber-button",N)}; +g.C.Tg=function(N){var H=!!this.PO!==!!N,c=this.PO;this.PO=N;hAf(this,c);(N==null?void 0:N.type)!=="clips"&&N||(N?(this.updateValue("clipstarticon",Lnf()),this.updateValue("clipendicon",Lnf()),this.updateValue("clipstarttitle",null),this.updateValue("clipendtitle",null)):(this.updateValue("clipstarticon",V9S()),this.updateValue("clipendicon",gDw()),this.updateValue("clipstarttitle","Watch full video"),this.updateValue("clipendtitle","Watch full video")),H&&(this.updateVideoData(this.api.getVideoData(), +!0),g.$8(this)),Ll(this));sZ(this,this.Bp,this.kG)}; +g.C.rns=function(){this.api.publish("progressBarHoverStart")}; +g.C.kUl=function(N,H,c){var t=g.VC(this.element),h=gl(this).T,O=c?c.getAttribute("data-tooltip"):void 0,F=c?c.getAttribute("data-position"):void 0,M=c?c.getAttribute("data-offset-y"):void 0;M=M?Number(M):0;F&&(N=gy(this.L,Number(c.getAttribute("data-position")),0)*h+g.VC(this.progressBar).x);this.mG.x=N-t.x;this.mG.y=H-t.y;N=gl(this);c=v8(this,N);H=0;var f;if((f=this.api.getVideoData())==null?0:gz(f))(f=this.api.getProgressState().seekableEnd)&&c>f&&(c=f,N.position=gy(this.L,f)*gl(this).T),H=this.L.B; +IE(this)&&(H=this.L.B);f=O||g.ba(this.YA?c-this.L.T:c-H);H=N.position+this.qz;c-=this.api.HO();var d;if((d=this.B)==null||!d.isEnabled)if(this.api.Om()){if(this.T.length>1){d=Lw(this,this.mG.x,!0);if(!this.PO)for(t=0;t1)for(t=0;t0)for(d=this.mG.x,t=g.K(this.C),h=t.next();!h.done;h=t.next())h=h.value,F=Zb(this,h.timeRangeStartMillis/ +(this.L.T*1E3),gl(this)),g.QH(h.element,"ytp-timed-marker-hover",F<=d&&F+6>=d);t=this.tooltip.scale;d=this.api.N("delhi_modern_web_player")?67:45;M=(isNaN(M)?0:M)-d*t;this.api.N("web_key_moments_markers")?this.nO?(d=M93(this.C,c*1E3),d=d!=null?this.C[d].title:""):(d=ce(this.T,c*1E3),d=this.T[d].title):(d=ce(this.T,c*1E3),d=this.T[d].title);d||(M+=16*t);this.tooltip.scale===.6&&(g.gu(this.api.D())?(M=this.api.BO().getPlayerSize().height-225,t=this.api.N("delhi_modern_web_player")?70:110,M=d?M+t:M+ +t+16):M=d?110:126);t=ce(this.T,c*1E3);this.Cq=UcS(this,c,t)?t:UcS(this,c,t+1)?t+1:-1;g.QH(this.api.getRootNode(),"ytp-progress-bar-snap",this.Cq!==-1&&this.T.length>1);t=!1;h=g.K(this.heatMarkersDecorations);for(F=h.next();!F.done;F=h.next()){F=F.value;var W=c*1E3;W>=F.visibleTimeRangeStartMillis&&W<=F.visibleTimeRangeEndMillis&&(d=F.label,f=g.ba(F.decorationTimeMillis/1E3),this.api.N("web_heat_marker_use_current_time")&&(f=g.ba(v8(this,N))),t=!0)}this.il!==t&&(this.il=t,this.api.logVisibility(this.gk, +this.il));g.QH(this.api.getRootNode(),"ytp-progress-bar-decoration",t);t=160*this.tooltip.scale*2;h=d.length*(this.S?8.55:5.7);h=h<=t?h:t;F=h<160*this.tooltip.scale;t=3;!F&&h/2>N.position&&(t=1);!F&&h/2>this.Y-N.position&&(t=2);this.api.D().C&&(M-=10);this.U.length&&this.U[0].DI&&(M-=14*(this.S?2:1),this.vp||(this.vp=!0,this.api.logVisibility(this.Us,this.vp)));var z;if(FE(this)&&(((z=this.B)==null?0:z.isEnabled)||this.Al>0)){var E;M-=((E=this.B)==null?0:E.isEnabled)?(this.S?135:90)-this.ox:this.Al}z= +void 0;FE(this)&&!this.api.N("web_player_hide_fine_scrubbing_edu")&&(z="Pull up for precise seeking",this.Kq||(this.Kq=!0,this.api.logVisibility(this.LG,this.Kq)));this.tooltip.EK(H,c,f,!!O,M,d,t,z)}else this.tooltip.EK(H,c,f,!!O,M);g.bV(this.api.getRootNode(),"ytp-progress-bar-hover");uAs(this)}; +g.C.JnR=function(){this.oA();g.nH(this.api.getRootNode(),"ytp-progress-bar-hover");this.vp&&(this.vp=!1,this.api.logVisibility(this.Us,this.vp));this.Kq&&(this.Kq=!1,this.api.logVisibility(this.LG,this.Kq));this.api.N("enable_smart_skip_player_controls_shown_on_web_increased_triggering_sensitivity")&&this.api.publish("progressBarHoverEnd")}; +g.C.I6p=function(N,H){var c=g.VC(this.element);this.qc=N-c.x;FE(this)&&this.B&&(this.B.Ix?R8(this.B,this.api.getCurrentTime()):ief(this.B),this.B.show(),g.QH(this.api.getRootNode(),"ytp-fine-scrubbing-enable",this.B.isEnabled));this.kD&&(this.kD.dispose(),this.kD=null);this.M0=H;this.L2=this.api.getCurrentTime();this.T.length>1&&this.Cq!==-1?this.api.seekTo(this.T[this.Cq].startTime/1E3,!1,void 0,void 0,7):this.api.seekTo(v8(this,gl(this)),!1,void 0,void 0,7);g.bV(this.element,"ytp-drag");(this.KO= +this.api.getPlayerStateObject().isOrWillBePlaying())&&this.api.pauseVideo()}; +g.C.NkR=function(){if(FE(this)&&this.B){var N=(this.S?135:90)-this.ox;this.Al>=N*.5?(this.B.enable(),R8(this.B,this.api.getCurrentTime()),Pid(this,N)):ej(this)}if(g.y(this.api.getPlayerStateObject(),32)||this.api.getPresentingPlayerType()===3){var H;if((H=this.B)==null?0:H.isEnabled)this.api.pauseVideo();else{this.api.startSeekCsiAction();if(this.T.length>1&&this.Cq!==-1)this.api.N("html5_enable_progress_bar_slide_seek_logging")&&og(this,this.L2,this.T[this.Cq].startTime/1E3,"SEEK_SOURCE_SLIDE_ON_SCRUBBER_BAR_CHAPTER", +"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK"),this.api.seekTo(this.T[this.Cq].startTime/1E3,void 0,void 0,void 0,7);else{N=v8(this,gl(this));this.api.N("html5_enable_progress_bar_slide_seek_logging")&&og(this,this.L2,N,"SEEK_SOURCE_SLIDE_ON_SCRUBBER_BAR","INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK");this.api.seekTo(N,void 0,void 0,void 0,7);H=g.K(this.heatMarkersDecorations);for(var c=H.next();!c.done;c=H.next())c=c.value,N*1E3>=c.visibleTimeRangeStartMillis&&N*1E3<=c.visibleTimeRangeEndMillis&& +this.api.logClick(this.gk)}g.nH(this.element,"ytp-drag");this.Ix&&(this.NT.src=this.Ix);this.KO&&!g.y(this.api.getPlayerStateObject(),2)&&this.api.playVideo()}}}; +g.C.pUS=function(N,H){var c=this,t=gl(this),h=v8(this,t);this.api.BO().bW||(t.position>this.qc+2?this.mz&&(this.NT.src=this.mz):t.position1);this.a4(N&&this.J.BO().getPlayerSize().width>=400);this.J.logVisibility(this.element,this.I4);var H=1;N&&this.isActive()&&(H=2);if(this.T!==H){this.T=H;N=this.J.N("delhi_modern_web_player_icons");switch(H){case 1:this.updateValue("icon",N?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M21 3H3C2.46 3 1.96 3.21 1.58 3.58C1.21 3.96 1 4.46 1 5V8C1.68 8.00 2.34 8.05 3 8.15V5H21V19H13.84C13.94 19.65 13.99 20.31 14 21H21C21.53 21 22.03 20.78 22.41 20.41C22.78 20.03 23 19.53 23 19V5C23 4.46 22.78 3.96 22.41 3.58C22.03 3.21 21.53 3 21 3ZM1 10V12C2.18 12 3.35 12.23 4.44 12.68C5.53 13.13 6.52 13.80 7.36 14.63C8.19 15.47 8.86 16.46 9.31 17.55C9.76 18.64 10 19.81 10 21H12C12 18.08 10.84 15.28 8.77 13.22C6.71 11.15 3.91 10 1 10ZM1 14V16C1.65 16 2.30 16.12 2.91 16.38C3.52 16.63 4.07 17.00 4.53 17.46C4.99 17.92 5.36 18.48 5.61 19.08C5.87 19.69 6 20.34 6 21H8C8 19.14 7.26 17.36 5.94 16.05C4.63 14.73 2.85 14 1 14ZM1 18V21H4C3.99 20.20 3.68 19.44 3.12 18.87C2.55 18.31 1.79 18.00 1 18Z", +fill:"white"}}]}:{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,V:{d:"M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z",fill:"#fff"}}]});break;case 2:this.updateValue("icon", +N?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M21.20 3.01C21.69 3.06 22.15 3.29 22.48 3.65C22.81 4.02 23.00 4.50 23 5V19L22.99 19.20C22.94 19.66 22.73 20.08 22.41 20.41C22.08 20.73 21.66 20.94 21.20 20.98L21 21H14C13.99 20.31 13.94 19.65 13.84 19H21V5H3V8.15C2.34 8.05 1.68 8.00 1 8V5C0.99 4.50 1.18 4.02 1.51 3.65C1.84 3.29 2.30 3.06 2.79 3.01L3 3H21L21.20 3.01ZM19 17V7H5V8.62C6.95 9.26 8.73 10.35 10.19 11.80C11.64 13.26 12.73 15.04 13.37 17H19ZM1 10V12C2.18 12 3.35 12.23 4.44 12.68C5.53 13.13 6.52 13.80 7.36 14.63C8.19 15.47 8.86 16.46 9.31 17.55C9.76 18.64 10 19.81 10 21H12C12 18.08 10.84 15.28 8.77 13.22C6.71 11.15 3.91 10 1 10ZM1 14V16C1.65 16 2.30 16.12 2.91 16.38C3.52 16.63 4.07 17.00 4.53 17.46C4.99 17.92 5.36 18.48 5.61 19.08C5.87 19.69 6 20.34 6 21H8C8 19.14 7.26 17.36 5.94 16.05C4.63 14.73 2.85 14 1 14ZM1 18V21H4C3.99 20.20 3.68 19.44 3.12 18.87C2.55 18.31 1.79 18.00 1 18Z", +fill:"white"}}]}:g.YAd())}g.QH(this.element,"ytp-remote-button-active",this.isActive())}}; +O6.prototype.B=function(){if(this.J.getOption("remote","quickCast"))this.J.setOption("remote","quickCast",!0);else{var N=this.R4,H=this.element;if(N.td())N.e1();else{N.initialize();a:{var c=g.K(N.hn.items);for(var t=c.next();!t.done;t=c.next())if(t=t.value,t.priority===1){c=t;break a}c=null}c&&(c.open(),N.aD(H));N.aD(H)}}this.J.logClick(this.element)};g.k(Ic,g.e);Ic.prototype.T=function(N){var H=this.J.D(),c=400;H.Y?c=300:H.C&&(c=200);N=this.B&&N.width>=c;this.a4(N);this.J.logVisibility(this.element,N)}; +Ic.prototype.L=function(){if(this.R4.I4)this.R4.e1();else{var N=g.x$(this.J.g_());N&&!N.loaded&&(N.LO("tracklist",{includeAsr:!0}).length||N.load());this.J.logClick(this.element);this.R4.aD(this.element)}}; +Ic.prototype.updateBadge=function(){var N=this.J.isHdr(),H=this.J.getPresentingPlayerType(),c=H!==2&&H!==3,t=g.oS(this.J),h=c&&!!g.RS(this.J.g_());H=h&&t.displayMode===1;t=h&&t.displayMode===2;c=(h=H||t)||!c?null:this.J.getPlaybackQuality();g.QH(this.element,"ytp-hdr-quality-badge",N);g.QH(this.element,"ytp-hd-quality-badge",!N&&(c==="hd1080"||c==="hd1440"));g.QH(this.element,"ytp-4k-quality-badge",!N&&c==="hd2160");g.QH(this.element,"ytp-5k-quality-badge",!N&&c==="hd2880");g.QH(this.element,"ytp-8k-quality-badge", +!N&&c==="highres");g.QH(this.element,"ytp-3d-badge-grey",!N&&h&&H);g.QH(this.element,"ytp-3d-badge",!N&&h&&t)};g.k(vX,g.aQ);g.C=vX.prototype;g.C.Df=function(){var N=this.J.getAvailableAudioTracks();if(N.length>1){this.Ad(g.jm(N,this.Ud));this.tracks=g.fn(N,this.Ud,this);this.countLabel.setContent(N.length?" ("+N.length+")":"");this.publish("size-change");N=this.Ud(this.J.getAudioTrack());this.Mf(N);if(this.J.N("html5_enable_new_audio_settings_menu")){var H;(H=this.T)!=null&&H.setContent(N.toString())}this.enable(!0)}else{if(this.J.N("html5_enable_new_audio_settings_menu")){var c;(c=this.T)!=null&&c.setContent("")}this.enable(!1)}}; +g.C.l$=function(N){g.aQ.prototype.l$.call(this,N);this.J.setAudioTrack(this.tracks[N]);this.R4.lc()}; +g.C.Ud=function(N){return N.toString()}; +g.C.q3=function(N){this.J.N("html5_enable_new_audio_settings_menu")?this.T&&(N?this.T.Ou(this):this.T.cU(this)):g.aQ.prototype.q3.call(this,N)}; +g.C.onClick=function(){this.J.logClick(this.element)};g.k(tq,g.TW);g.C=tq.prototype;g.C.D$=function(){this.J.D$()}; +g.C.open=function(){this.yR.AU()>0&&g.Q7(this.R4,this.yR)}; +g.C.dk=function(){this.yR.AU()>0&&this.J.getPresentingPlayerType()!==2&&this.J.getPresentingPlayerType()!==3?this.element.removeAttribute("aria-disabled"):this.element.setAttribute("aria-disabled","true")}; +g.C.DM=function(N){N.defaultPrevented||(this.open(),N.preventDefault())}; +g.C.Ou=function(N){this.yR.Ou(N)}; +g.C.cU=function(N){this.yR.cU(N)};g.k(PV,n6); +PV.prototype.dk=function(){var N=this.J.getPresentingPlayerType();if(N!==2&&N!==3&&g.rz(this.J))this.T||(this.R4.Ou(this),this.T=!0,this.B.push(this.G(this.J,"videodatachange",this.dk)),this.B.push(this.G(this.J,"videoplayerreset",this.dk)),this.B.push(this.G(this.J,"onPlaylistUpdate",this.dk)),this.B.push(this.G(this.J,"autonavchange",this.L)),N=this.J.getVideoData(),this.L(N.autonavState),this.J.logVisibility(this.element,this.T));else if(this.T){this.R4.cU(this);this.T=!1;N=g.K(this.B);for(var H= +N.next();!H.done;H=N.next())this.G3(H.value)}}; +PV.prototype.L=function(N){d1(this,N!==1)}; +PV.prototype.onSelect=function(N){this.J.DL(N?2:1);this.T&&(this.J.logVisibility(this.element,this.T),this.J.logClick(this.element))}; +PV.prototype.Os=function(){this.T&&this.R4.cU(this);n6.prototype.Os.call(this)};g.k(owR,g.TW);owR.prototype.onClick=function(N){N.preventDefault();var H,c;(H=g.Vl(this.J))==null||(c=H.GS())==null||c.e1();var t,h;(t=g.Vl(this.J))==null||(h=t.DT())==null||h.aD(N.target)};g.k(C2d,g.aQ);g.C=C2d.prototype; +g.C.dk=function(){var N=this.J.getPresentingPlayerType();if(N!==2&&N!==3){this.Us=this.J.Uz();var H=this.J.getAvailableQualityLevels();if(this.T){this.B={};N=g.je(this.J,"getAvailableQualityData",[]);N=g.K(N);for(var c=N.next();!c.done;c=N.next())c=c.value,this.B[c.qualityLabel]=c;N=Object.keys(this.B);H[H.length-1]==="auto"&&N.push("auto");this.ox=new Set(H)}else if(this.L){c=g.je(this.J,"getAvailableQualityData",[]);N=[];c=g.K(c);for(var t=c.next();!t.done;t=c.next())t=t.value,this.Y[t.quality]= +t,t.quality&&N.push(t.quality);H[H.length-1]==="auto"&&N.push("auto")}else N=H;g.kqZ(this.J)&&this.J.PJ()&&N.unshift("missing-qualities");H=this.J.app.x_();c=H.getVideoData();if(!c.B||!c.B.video||c.B.video.qualityOrdinal<1080||c.OT)H=!1;else{t=/^qsa/.test(c.clientPlaybackNonce);var h="r";c.B.id.indexOf(";")>=0&&(t=/^[a-p]/.test(c.clientPlaybackNonce),h="x");t?(H.Lq("iqss",{trigger:h},!0),H=!0):H=!1}H&&N.unshift("inline-survey");this.Ad(N);H=this.J.getVideoData().cotn?!0:!1;c=this.Z.kP();c=!g.gu(this.J.D())|| +!(H===void 0?0:H)||!(c===void 0||c);H=this.yR;c=c===void 0?!1:c;H.e3&&g.QH(H.Sa("ytp-panel-footer"),"ytp-panel-hide-footer",c===void 0?!1:c);if(N.length){this.iP();this.enable(!0);return}}this.enable(!1)}; +g.C.iP=function(){if(this.T){var N=this.J.getPreferredQuality();this.ox.has(N)&&(this.U=this.J.getPlaybackQuality(),this.C=this.J.getPlaybackQualityLabel(),N==="auto"?(this.Mf(N),this.setContent(this.mT(N))):this.Mf(this.C))}else N=this.J.getPreferredQuality(),this.options[N]&&(this.U=this.J.getPlaybackQuality(),this.Mf(N),N==="auto"&&this.setContent(this.mT(N)))}; +g.C.l$=function(N){if(N!=="missing-qualities"){g.aQ.prototype.l$.call(this,N);var H=this.T?this.B[N]:this.Y[N];var c=H==null?void 0:H.quality,t=H==null?void 0:H.formatId,h=H==null?void 0:H.paygatedQualityDetails;H=h==null?void 0:h.endpoint;if(h){var O;h=(O=this.options[N])==null?void 0:O.element;this.J.logClick(h)}if(this.T){var F,M;if((F=g.P(H,g.ySc))==null?0:(M=F.popup)==null?0:M.notificationActionRenderer)this.J.QS("innertubeCommand",H);else if(H){this.J.QS("innertubeCommand",H);return}t?this.J.setPlaybackQuality(c, +t):this.J.setPlaybackQuality(c)}else{if(this.L){var f,d;if((f=g.P(H,g.ySc))==null?0:(d=f.popup)==null?0:d.notificationActionRenderer)this.J.QS("innertubeCommand",H);else if(H){this.J.QS("innertubeCommand",H);return}}this.J.setPlaybackQuality(N)}this.R4.e1();this.dk()}}; +g.C.open=function(){for(var N=g.K(Object.values(this.options)),H=N.next();!H.done;H=N.next()){H=H.value;var c=void 0;this.J.hasVe((c=H)==null?void 0:c.element)&&(c=void 0,this.J.logVisibility((c=H)==null?void 0:c.element,!0))}g.aQ.prototype.open.call(this);this.J.logClick(this.element)}; +g.C.y3=function(N,H,c){var t=this;if(N==="missing-qualities")return new g.TW({W:"a",fq:["ytp-menuitem"],V:{href:"https://support.google.com/youtube/?p=missing_quality",target:this.J.D().TW,tabindex:"0",role:"menuitemradio"},X:[{W:"div",fq:["ytp-menuitem-label"],Wp:"{{label}}"}]},H,this.mT(N));if(N!=="inline-survey"){var h,O=(h=this.T?this.B[N]:this.Y[N])==null?void 0:h.paygatedQualityDetails;h=O==null?void 0:O.veType;O=O==null?void 0:O.trackingParams;H=g.aQ.prototype.y3.call(this,N,H,c);O?(this.J.createServerVe(H.element, +this,!0),this.J.setTrackingParams(H.element,O)):h&&this.J.createClientVe(H.element,this,h,!0);return H}N=[{W:"span",Wp:"Looks good?"}];c=g.K([!0,!1]);O=c.next();for(h={};!O.done;h={R5:void 0},O=c.next())h.R5=O.value,O=new g.e({W:"span",K:"ytp-menuitem-inline-survey-response",X:[h.R5?ztw():ELe()],V:{tabindex:"0",role:"button"}}),O.listen("click",function(F){return function(){var M=t.J.app.x_();M.Lq("iqsr",{tu:F.R5});M.getVideoData().OT=!0;t.R4.e1();t.dk()}}(h)),N.push(O); +return new g.TW({W:"div",K:"ytp-menuitem",V:{"aria-disabled":"true"},X:[{W:"div",fq:["ytp-menuitem-label"],X:N}]},H)}; +g.C.mT=function(N,H){H=H===void 0?!1:H;if(N==="missing-qualities")return{W:"div",Wp:"Missing options?"};if(N==="inline-survey")return"";var c=this.L||this.T?[C8(this,N,H,!1)]:[IYS(this,N)];var t=this.J.getPreferredQuality();H||t!=="auto"||N!=="auto"||(c.push(" "),this.T?c.push(C8(this,this.C,H,!0,["ytp-menu-label-secondary"])):this.L?c.push(C8(this,this.U,H,!0,["ytp-menu-label-secondary"])):c.push(IYS(this,this.U,["ytp-menu-label-secondary"])));return{W:"div",X:c}};g.k(KB,xH);KB.prototype.U=function(){xH.prototype.U.call(this);this.Z&&Lhs(this)}; +KB.prototype.NT=function(){this.Bp()}; +KB.prototype.ox=function(){this.J.setPlaybackRate(this.T,!0)}; +KB.prototype.Y=function(N){xH.prototype.Y.call(this,N);this.Bp();Lhs(this);N.preventDefault()};g.k(K5,g.e);g.C=K5.prototype;g.C.init=function(){this.s_(this.T);this.updateValue("minvalue",this.B);this.updateValue("maxvalue",this.L)}; +g.C.Ft=function(N){if(!N.defaultPrevented){switch(N.keyCode){case 37:case 40:var H=-this.C;break;case 39:case 38:H=this.C;break;default:return}this.s_(this.T+H);N.preventDefault()}}; +g.C.yM=function(N){var H=this.T;H+=(N.deltaX||-N.deltaY)<0?-this.Z:this.Z;this.s_(H);N.preventDefault()}; +g.C.x7=function(N){N=(N-g.VC(this.U).x)/this.Bp*this.range+this.B;this.s_(N)}; +g.C.s_=function(N,H){H=H===void 0?"":H;N=g.Ae(N,this.B,this.L);H===""&&(H=N.toString());this.updateValue("valuenow",N);this.updateValue("valuetext",H);this.Us.style.left=(N-this.B)/this.range*(this.Bp-this.Ix)+"px";this.T=N}; +g.C.focus=function(){this.Cq.focus()};g.k(gF,K5);gF.prototype.ox=function(){this.J.setPlaybackRate(this.T,!0)}; +gF.prototype.s_=function(N){K5.prototype.s_.call(this,N,ex(this,N).toString());this.S&&(RM(this),this.NT())}; +gF.prototype.updateValues=function(){var N=this.J.getPlaybackRate();ex(this,this.T)!==N&&(this.s_(N),RM(this))};g.k(rF,g.lL);rF.prototype.focus=function(){this.T.focus()};g.k(tJ,tT);g.k(VRR,g.aQ);g.C=VRR.prototype;g.C.onVideoDataChange=function(N,H){N==="dataloaded"&&lDw(H)&&(N=this.J.getAvailablePlaybackRates(),g.bo(this.U,N)||(this.U=N,this.L.dispose(),this.L=new KB(this.J)),this.Df())}; +g.C.mT=function(N){return N==="1"?"Normal":N.toLocaleString()}; +g.C.Df=function(){var N,H=(N=this.J.getVideoData())==null?void 0:N.vH();N=this.J.getPresentingPlayerType(H);this.enable(N!==2&&N!==3);llt(this)}; +g.C.Ad=function(N){g.aQ.prototype.Ad.call(this,N);this.L&&this.L.B.focus()}; +g.C.q3=function(N){g.aQ.prototype.q3.call(this,N);N?(this.Us=this.G(this.J,"onPlaybackRateChange",this.onPlaybackRateChange),llt(this),VKt(this,this.J.getPlaybackRate()),this.J.N("enable_web_premium_varispeed_upsell")&&(this.J.logVisibility(this.element,!0),this.B&&this.J.logVisibility(this.Z.element,!0))):(this.G3(this.Us),this.Us=null)}; +g.C.onPlaybackRateChange=function(N){var H=this.J.getPlaybackRate();!this.Y&&this.U.includes(H)||C5t(this,H);VKt(this,N)}; +g.C.y3=function(N,H,c){return N===this.T&&T$(this.J)?g.aQ.prototype.y3.call(this,N,H,c,{W:"div",K:"ytp-speed-slider-menu-footer",X:[this.L]}):N===this.B&&UZl(this.J,this.ox)?eWv(this,N,H,c):g.aQ.prototype.y3.call(this,N,H,c)}; +g.C.l$=function(N){g.aQ.prototype.l$.call(this,N);N===this.B?(this.J.logClick(this.Z.element),this.J.QS("innertubeCommand",this.ox)):N===this.T?this.J.setPlaybackRate(this.C,!0):this.J.setPlaybackRate(Number(N),!0);(!T$(this.J)||N!==this.T&&N!==this.B)&&this.R4.lc()}; +g.C.Z_=function(N){var H=N===this.T;this.Y=!1;H&&IS(this.J)&&!T$(this.J)?(N=new tJ(this.J),g.Q7(this.R4,N)):g.aQ.prototype.Z_.call(this,N)};g.k($m,g.aQ);g.C=$m.prototype;g.C.Mf=function(N){g.aQ.prototype.Mf.call(this,N)}; +g.C.BT=function(N){return N.option.toString()}; +g.C.getOption=function(N){return this.settings[N]}; +g.C.mT=function(N){return this.getOption(N).text||""}; +g.C.l$=function(N){g.aQ.prototype.l$.call(this,N);this.publish("settingChange",this.setting,this.settings[N].option)};g.k(M0,g.Fm);M0.prototype.pO=function(N){for(var H=g.K(Object.keys(N)),c=H.next();!c.done;c=H.next()){var t=c.value;if(c=this.g2[t]){var h=N[t].toString();t=!!N[t+"Override"];c.options[h]&&(c.Mf(h),c.B.element.setAttribute("aria-checked",String(!t)),c.T.element.setAttribute("aria-checked",String(t)))}}}; +M0.prototype.Xn=function(N,H){this.publish("settingChange",N,H)};g.k(DA,g.aQ);DA.prototype.T=function(N){return N.languageCode}; +DA.prototype.mT=function(N){return this.languages[N].languageName||""}; +DA.prototype.l$=function(N){this.publish("select",N);this.J.logClick(this.element);g.CJ(this.R4)};g.k(urR,g.aQ);g.C=urR.prototype;g.C.RT=function(N){return g.NF(N)?"__off__":N.displayName}; +g.C.mT=function(N){return N==="__off__"?"Off":N==="__translate__"?"Auto-translate":N==="__contribute__"?"Add subtitles/CC":N==="__correction__"?"Suggest caption corrections":(N==="__off__"?{}:this.tracks[N]).displayName}; +g.C.l$=function(N){if(N==="__translate__")this.T.open();else if(N==="__contribute__"){this.J.pauseVideo();this.J.isFullscreen()&&this.J.toggleFullscreen();var H=g.pr(this.J.D(),this.J.getVideoData());g.tU(H)}else if(N==="__correction__"){this.J.pauseVideo();this.J.isFullscreen()&&this.J.toggleFullscreen();var c=pof(this);Uk(this,c);g.aQ.prototype.l$.call(this,this.RT(c));var t,h;c=(H=this.J.getVideoData().getPlayerResponse())==null?void 0:(t=H.captions)==null?void 0:(h=t.playerCaptionsTracklistRenderer)== +null?void 0:h.openTranscriptCommand;this.J.QS("innertubeCommand",c);this.R4.lc();this.B&&this.J.logClick(this.B)}else{if(N==="__correction__"){this.J.pauseVideo();this.J.isFullscreen()&&this.J.toggleFullscreen();H=pof(this);Uk(this,H);g.aQ.prototype.l$.call(this,this.RT(H));var O,F;H=(c=this.J.getVideoData().getPlayerResponse())==null?void 0:(O=c.captions)==null?void 0:(F=O.playerCaptionsTracklistRenderer)==null?void 0:F.openTranscriptCommand;this.J.QS("innertubeCommand",H)}else this.J.logClick(this.element), +Uk(this,N==="__off__"?{}:this.tracks[N]),g.aQ.prototype.l$.call(this,N);this.R4.lc()}}; +g.C.Df=function(){var N=this.J.getOptions();N=N&&N.indexOf("captions")!==-1;var H=this.J.getVideoData(),c=H&&H.VP,t,h=!((t=this.J.getVideoData())==null||!g.Da(t));t={};if(N||c){var O;if(N){var F=this.J.getOption("captions","track");t=this.J.getOption("captions","tracklist",{includeAsr:!0});var M=h?[]:this.J.getOption("captions","translationLanguages");this.tracks=g.fn(t,this.RT,this);h=g.jm(t,this.RT);var f,d;pof(this)&&((O=H.getPlayerResponse())==null?0:(f=O.captions)==null?0:(d=f.playerCaptionsTracklistRenderer)== +null?0:d.openTranscriptCommand)&&h.push("__correction__");if(M.length&&!g.NF(F)){if((O=F.translationLanguage)&&O.languageName){var W=O.languageName;O=M.findIndex(function(z){return z.languageName===W}); +jWD(M,O)}A3R(this.T,M);h.push("__translate__")}O=this.RT(F)}else this.tracks={},h=[],O="__off__";h.unshift("__off__");this.tracks.__off__={};c&&h.unshift("__contribute__");this.tracks[O]||(this.tracks[O]=F,h.push(O));this.Ad(h);this.Mf(O);F&&F.translationLanguage?this.T.Mf(this.T.T(F.translationLanguage)):xtZ(this.T);N&&this.L.pO(this.J.getSubtitlesUserSettings());this.countLabel.setContent(t&&t.length?" ("+t.length+")":"");this.publish("size-change");this.J.logVisibility(this.element,!0);this.enable(!0)}else this.enable(!1)}; +g.C.nR=function(N){var H=this.J.getOption("captions","track");H=g.dP(H);H.translationLanguage=this.T.languages[N];Uk(this,H)}; +g.C.Xn=function(N,H){if(N==="reset")this.J.resetSubtitlesUserSettings();else{var c={};c[N]=H;this.J.updateSubtitlesUserSettings(c)}Qbv(this,!0);this.U.start();this.L.pO(this.J.getSubtitlesUserSettings())}; +g.C.wdf=function(N){N||g.Ms(this.U)}; +g.C.Os=function(){g.Ms(this.U);g.aQ.prototype.Os.call(this)}; +g.C.open=function(){g.aQ.prototype.open.call(this);this.options.__correction__&&!this.B&&(this.B=this.options.__correction__.element,this.J.createClientVe(this.B,this,167341),this.J.logVisibility(this.B,!0))};g.k(cJL,g.gC);g.C=cJL.prototype; +g.C.initialize=function(){if(!this.isInitialized){var N=this.J.D();this.isInitialized=!0;try{this.AR=new C2d(this.J,this)}catch(c){g.aS(Error("QualityMenuItem creation failed"))}g.l(this,this.AR);var H=new urR(this.J,this);g.l(this,H);N.enableSpeedOptions&&(H=new VRR(this.J,this),g.l(this,H));(g.PX(N)||N.Y)&&(N.B||N.vp)&&(H=new owR(this.J,this),g.l(this,H));N.AN&&!N.N("web_player_move_autonav_toggle")&&(H=new PV(this.J,this),g.l(this,H));N.N("html5_enable_new_audio_settings_menu")?(this.rG=new tq(this.J, +this),g.l(this,this.rG)):(N=new vX(this.J,this),g.l(this,N));this.J.publish("settingsMenuInitialized");BM(this.settingsButton,this.hn.AU())}}; +g.C.Ou=function(N){this.initialize();this.hn.Ou(N);BM(this.settingsButton,this.hn.AU())}; +g.C.cU=function(N){this.uo()||(this.I4&&this.hn.AU()<=1&&this.hide(),this.hn.cU(N),BM(this.settingsButton,this.hn.AU()))}; +g.C.aD=function(N){this.initialize();this.hn.AU()>0&&g.gC.prototype.aD.call(this,N)}; +g.C.e1=function(){this.xw?this.xw=!1:g.gC.prototype.e1.call(this)}; +g.C.show=function(){g.gC.prototype.show.call(this);g.bV(this.J.getRootNode(),"ytp-settings-shown")}; +g.C.hide=function(){g.gC.prototype.hide.call(this);g.nH(this.J.getRootNode(),"ytp-settings-shown")}; +g.C.pG=function(N){this.J.logVisibility(this.element,N);this.J.publish("settingsMenuVisibilityChanged",N)}; +g.C.D$=function(){this.J.D$()};g.k(CG3,g.e);g.C=CG3.prototype;g.C.onClick=function(){if(ff(this)&&(this.J.toggleSubtitles(),this.J.logClick(this.element),!this.isEnabled())){var N=!1,H=g.GU().G0(65);g.gu(this.J.D())&&H!=null&&(N=!H);N&&this.J.D().N("web_player_nitrate_promo_tooltip")&&this.J.publish("showpromotooltip",this.element)}}; +g.C.EDS=function(N){var H,c;(H=g.Vl(this.J))==null||(c=H.GS())==null||c.aD(N)}; +g.C.isEnabled=function(){var N=this.J.getOption("captions","track");return!(!N||!N.displayName)}; +g.C.Df=function(){var N=ff(this),H=300;this.J.D().C&&(H=480);this.J.N("delhi_modern_web_player_icons")&&this.updateValue("icon",Cah(this));if(this.J.D().Y){this.updateValue("title",g.EC(this.J,"Subtitles/closed captions","c"));this.update({"tooltip-title":g.EC(this.J,"Subtitles/closed captions","c")});this.update({"data-title-no-tooltip":"Subtitles/closed captions"});var c=N}else{if(N)(c=this.Sa("ytp-subtitles-button-icon"))==null||c.setAttribute("fill-opacity","1"),this.J.D().N("player_tooltip_data_title_killswitch")? +this.updateValue("title",g.EC(this.J,"Subtitles/closed captions","c")):this.update({"tooltip-title":g.EC(this.J,"Subtitles/closed captions","c")}),this.update({"data-title-no-tooltip":"Subtitles/closed captions"});else{if(this.J.N("delhi_modern_web_player_icons")){var t;(t=this.Sa("ytp-subtitles-button-icon"))==null||t.getElementsByTagName("svg")[0].setAttribute("fill-opacity","0.3")}else{var h;(h=this.Sa("ytp-subtitles-button-icon"))==null||h.setAttribute("fill-opacity","0.3")}this.updateValue("title", +"Subtitles/closed captions unavailable");this.update({"tooltip-title":"Subtitles/closed captions unavailable"});this.update({"data-title-no-tooltip":"Subtitles/closed captions unavailable"})}c=!0}this.tooltip.oo();c=c&&this.J.BO().getPlayerSize().width>=H;this.a4(c);this.J.logVisibility(this.element,c);N?this.updateValue("pressed",this.isEnabled()):this.updateValue("pressed",!1)}; +g.C.lX=function(N){g.e.prototype.lX.call(this,N)};g.k(g.s6,g.e);g.C=g.s6.prototype;g.C.canShowCountdown=function(){return!bq(this)&&!HG(this)}; +g.C.Dp=function(){var N=this.api.BO().getPlayerSize().width,H=this.Bp;this.api.D().C&&(H=400);H=N>=H&&(!HG(this)||!g.y(this.api.getPlayerStateObject(),64));this.a4(H);g.QH(this.element,"ytp-time-display-allow-autohide",H&&N<400);N=this.api.getProgressState();if(H){var c=this.api.getPresentingPlayerType();H=this.api.getCurrentTime(c,!1);this.B&&(H-=N.airingStart);bq(this)&&(H-=this.PO.startTimeMs/1E3);this.canShowCountdown()&&this.L&&(H-=this.api.getDuration(c,!1));var t=g.ba(H);this.U!==t&&(this.updateValue("currenttime", +t),this.U=t);c=bq(this)?(this.PO.endTimeMs-this.PO.startTimeMs)/1E3:this.api.getDuration(c,!1);t=g.ba(c);this.S!==t&&(this.updateValue("duration",t),this.S=t,H&&(H=g.Df("$PLAY_PROGRESS of $DURATION",{PLAY_PROGRESS:g.ba(H,!0),DURATION:g.ba(c,!0)}),this.updateValue("timeDisplayAriaLabel",H)))}zoh(this,N.isAtLiveHead);hED(this,this.api.getLoopRange())}; +g.C.onLoopRangeChange=function(N){var H=this.PO!==N;this.PO=N;H&&(this.Dp(),u4(this))}; +g.C.cYT=function(){this.api.setLoopRange(null)}; +g.C.FzE=function(){this.L=!this.L;this.Dp()}; +g.C.onVideoDataChange=function(N,H,c){this.updateVideoData((this.api.D().N("enable_topsoil_wta_for_halftime")||this.api.D().N("enable_topsoil_wta_for_halftime_live_infra"))&&c===2?this.api.getVideoData(1):H);this.Dp();u4(this)}; +g.C.updateVideoData=function(N){this.sP=N.isLivePlayback&&!N.fb;this.B=gz(N);this.isPremiere=N.isPremiere;var H,c,t;this.liveIndicatorText=(N=(H=N.getWatchNextResponse())==null?void 0:(c=H.playerOverlays)==null?void 0:(t=c.playerOverlayRenderer)==null?void 0:t.liveIndicatorText)?KE(N):null;g.QH(this.element,"ytp-live",HG(this));this.api.N("delhi_modern_web_player")&&this.Sa("ytp-time-wrapper").classList.toggle("ytp-time-wrapper-delhi",this.canShowCountdown())}; +g.C.onClick=function(N){N.target===this.liveBadge.element&&(this.api.seekTo(Infinity,void 0,void 0,void 0,33),this.api.playVideo())}; +g.C.Os=function(){this.T&&this.T();g.e.prototype.Os.call(this)};g.k(AL,g.e);g.C=AL.prototype;g.C.J2=function(){ApR(this)}; +g.C.ewq=function(N){Sdt(this,N);this.Z&&ApR(this)}; +g.C.AC=function(N){if(!N.defaultPrevented){var H=N.keyCode,c=null;H===37?c=this.volume-5:H===39?c=this.volume+5:H===36?c=0:H===35&&(c=100);c!==null&&(c=g.Ae(c,0,100),c===0?this.api.mute():(this.api.isMuted()&&this.api.unMute(),this.api.setVolume(c)),N.preventDefault())}}; +g.C.QM=function(N){var H=N.deltaX||-N.deltaY;N.deltaMode?this.api.setVolume(this.volume+(H<0?-10:10)):this.api.setVolume(this.volume+g.Ae(H/10,-10,10));N.preventDefault();var c,t;((c=this.api.D())==null?0:(t=c.getWebPlayerContextConfig())==null?0:t.enableFullscreenComponentsFeature)&&N.stopPropagation()}; +g.C.LxT=function(){Zr(this,this.T,!0,this.B,this.api.eE());this.Bp=this.volume;this.api.isMuted()&&this.api.unMute()}; +g.C.sj=function(N){var H=this.L?78:52,c=this.L?18:12;N-=g.VC(this.C).x;c=g.Ae((N-c/2)/(H-c),0,1);this.Z&&(c=g.Ae(N/H,0,1));H=c;H=this.api.N("web_player_non_linear_volume_controls")?H<=.25?H/.25*.1:.1+(H-.25)/.75*.9:H;this.api.setVolume(H*100)}; +g.C.B0S=function(){Zr(this,this.T,!1,this.B,this.api.eE());this.volume===0&&(this.api.mute(),this.api.setVolume(this.Bp))}; +g.C.onVolumeChange=function(N){YO(this,N.volume,N.muted)}; +g.C.Pg=function(){Zr(this,this.T,this.isDragging,this.B,this.api.eE())}; +g.C.Os=function(){g.e.prototype.Os.call(this);g.nH(this.Y,"ytp-volume-slider-active")};g.k(bG,g.e); +bG.prototype.onVideoDataChange=function(){var N=this.api.D();this.Mc();this.visible=!!this.api.getVideoData().videoId&&!this.api.getVideoData(1).Uc;this.a4(this.visible);this.api.logVisibility(this.element,this.visible&&this.TW);if(this.visible){var H=this.api.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",H)}N.L&&(this.T&&(this.G3(this.T),this.T=null),this.element.removeAttribute("href"),this.element.removeAttribute("title"),this.element.removeAttribute("aria-label"),g.bV(this.element,"no-link")); +H=this.api.D();N=this.api.getVideoData();var c="";H.L||(H=g.gx(H),H.indexOf("www.")===0&&(H=H.substring(4)),c=g.DT(N)?"Watch on YouTube Music":H==="youtube.com"?"Watch on YouTube":g.Df("Watch on $WEBSITE",{WEBSITE:H}));this.api.N("player_tooltip_data_title_killswitch")?this.updateValue("title",c):this.updateValue("tooltip-title",c)}; +bG.prototype.onClick=function(N){this.api.N("web_player_log_click_before_generating_ve_conversion_params")&&this.api.logClick(this.element);var H=this.api.D(),c=this.api.getVideoUrl(!g.Mb(N),!1,!0,!0);if(g.PX(H)){var t={};g.PX(H)&&g.je(this.api,"addEmbedsConversionTrackingParams",[t]);c=g.Of(c,t)}g.Yc(c,this.api,N);this.api.N("web_player_log_click_before_generating_ve_conversion_params")||this.api.logClick(this.element)}; +bG.prototype.Mc=function(){var N={W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M 45.09 10 L 45.09 25.82 L 47.16 25.82 L 47.41 24.76 L 47.47 24.76 C 47.66 25.14 47.94 25.44 48.33 25.66 C 48.72 25.88 49.16 25.99 49.63 25.99 C 50.48 25.99 51.1 25.60 51.5 24.82 C 51.9 24.04 52.09 22.82 52.09 21.16 L 52.09 19.40 C 52.12 18.13 52.05 17.15 51.90 16.44 C 51.75 15.74 51.50 15.23 51.16 14.91 C 50.82 14.59 50.34 14.44 49.75 14.44 C 49.29 14.44 48.87 14.57 48.47 14.83 C 48.27 14.96 48.09 15.11 47.93 15.29 C 47.78 15.46 47.64 15.65 47.53 15.86 L 47.51 15.86 L 47.51 10 L 45.09 10 z M 8.10 10.56 L 10.96 20.86 L 10.96 25.82 L 13.42 25.82 L 13.42 20.86 L 16.32 10.56 L 13.83 10.56 L 12.78 15.25 C 12.49 16.62 12.31 17.59 12.23 18.17 L 12.16 18.17 C 12.04 17.35 11.84 16.38 11.59 15.23 L 10.59 10.56 L 8.10 10.56 z M 30.10 10.56 L 30.10 12.58 L 32.59 12.58 L 32.59 25.82 L 35.06 25.82 L 35.06 12.58 L 37.55 12.58 L 37.55 10.56 L 30.10 10.56 z M 19.21 14.46 C 18.37 14.46 17.69 14.63 17.17 14.96 C 16.65 15.29 16.27 15.82 16.03 16.55 C 15.79 17.28 15.67 18.23 15.67 19.43 L 15.67 21.06 C 15.67 22.24 15.79 23.19 16 23.91 C 16.21 24.62 16.57 25.15 17.07 25.49 C 17.58 25.83 18.27 26 19.15 26 C 20.02 26 20.69 25.83 21.19 25.5 C 21.69 25.17 22.06 24.63 22.28 23.91 C 22.51 23.19 22.63 22.25 22.63 21.06 L 22.63 19.43 C 22.63 18.23 22.50 17.28 22.27 16.56 C 22.04 15.84 21.68 15.31 21.18 14.97 C 20.68 14.63 20.03 14.46 19.21 14.46 z M 56.64 14.47 C 55.39 14.47 54.51 14.84 53.99 15.61 C 53.48 16.38 53.22 17.60 53.22 19.27 L 53.22 21.23 C 53.22 22.85 53.47 24.05 53.97 24.83 C 54.34 25.40 54.92 25.77 55.71 25.91 C 55.97 25.96 56.26 25.99 56.57 25.99 C 57.60 25.99 58.40 25.74 58.96 25.23 C 59.53 24.72 59.81 23.94 59.81 22.91 C 59.81 22.74 59.79 22.61 59.78 22.51 L 57.63 22.39 C 57.62 23.06 57.54 23.54 57.40 23.83 C 57.26 24.12 57.01 24.27 56.63 24.27 C 56.35 24.27 56.13 24.18 56.00 24.02 C 55.87 23.86 55.79 23.61 55.75 23.25 C 55.71 22.89 55.68 22.36 55.68 21.64 L 55.68 21.08 L 59.86 21.08 L 59.86 19.16 C 59.86 17.99 59.77 17.08 59.58 16.41 C 59.39 15.75 59.07 15.25 58.61 14.93 C 58.15 14.62 57.50 14.47 56.64 14.47 z M 23.92 14.67 L 23.92 23.00 C 23.92 24.03 24.11 24.79 24.46 25.27 C 24.82 25.76 25.35 26.00 26.09 26.00 C 27.16 26.00 27.97 25.49 28.5 24.46 L 28.55 24.46 L 28.76 25.82 L 30.73 25.82 L 30.73 14.67 L 28.23 14.67 L 28.23 23.52 C 28.13 23.73 27.97 23.90 27.77 24.03 C 27.57 24.16 27.37 24.24 27.15 24.24 C 26.89 24.24 26.70 24.12 26.59 23.91 C 26.48 23.70 26.43 23.35 26.43 22.85 L 26.43 14.67 L 23.92 14.67 z M 36.80 14.67 L 36.80 23.00 C 36.80 24.03 36.98 24.79 37.33 25.27 C 37.60 25.64 37.97 25.87 38.45 25.96 C 38.61 25.99 38.78 26.00 38.97 26.00 C 40.04 26.00 40.83 25.49 41.36 24.46 L 41.41 24.46 L 41.64 25.82 L 43.59 25.82 L 43.59 14.67 L 41.09 14.67 L 41.09 23.52 C 40.99 23.73 40.85 23.90 40.65 24.03 C 40.45 24.16 40.23 24.24 40.01 24.24 C 39.75 24.24 39.58 24.12 39.47 23.91 C 39.36 23.70 39.31 23.35 39.31 22.85 L 39.31 14.67 L 36.80 14.67 z M 56.61 16.15 C 56.88 16.15 57.08 16.23 57.21 16.38 C 57.33 16.53 57.42 16.79 57.47 17.16 C 57.52 17.53 57.53 18.06 57.53 18.78 L 57.53 19.58 L 55.69 19.58 L 55.69 18.78 C 55.69 18.05 55.71 17.52 55.75 17.16 C 55.79 16.81 55.87 16.55 56.00 16.39 C 56.13 16.23 56.32 16.15 56.61 16.15 z M 19.15 16.19 C 19.50 16.19 19.75 16.38 19.89 16.75 C 20.03 17.12 20.09 17.7 20.09 18.5 L 20.09 21.97 C 20.09 22.79 20.03 23.39 19.89 23.75 C 19.75 24.11 19.51 24.29 19.15 24.30 C 18.80 24.30 18.54 24.11 18.41 23.75 C 18.28 23.39 18.22 22.79 18.22 21.97 L 18.22 18.5 C 18.22 17.7 18.28 17.12 18.42 16.75 C 18.56 16.38 18.81 16.19 19.15 16.19 z M 48.63 16.22 C 48.88 16.22 49.08 16.31 49.22 16.51 C 49.36 16.71 49.45 17.05 49.50 17.52 C 49.55 17.99 49.58 18.68 49.58 19.55 L 49.58 21 L 49.59 21 C 49.59 21.81 49.57 22.45 49.5 22.91 C 49.43 23.37 49.32 23.70 49.16 23.89 C 49.00 24.08 48.78 24.17 48.51 24.17 C 48.30 24.17 48.11 24.12 47.94 24.02 C 47.76 23.92 47.62 23.78 47.51 23.58 L 47.51 17.25 C 47.59 16.95 47.75 16.70 47.96 16.50 C 48.17 16.31 48.39 16.22 48.63 16.22 z "}}]}, +H=28666,c=this.api.getVideoData();this.api.isEmbedsShortsMode()?N={W:"svg",V:{fill:"none",height:"100%",viewBox:"-10 -8 67 36",width:"100%"},X:[{W:"path",V:{d:"m.73 13.78 2.57-.05c-.05 2.31.36 3.04 1.34 3.04.95 0 1.34-.61 1.34-1.88 0-1.88-.97-2.83-2.37-4.04C1.47 8.99.55 7.96.55 5.23c0-2.60 1.15-4.14 4.17-4.14 2.91 0 4.12 1.70 3.71 5.20l-2.57.15c.05-2.39-.20-3.22-1.26-3.22-.97 0-1.31.64-1.31 1.82 0 1.77.74 2.31 2.34 3.84 1.98 1.88 3.09 2.98 3.09 5.54 0 3.24-1.26 4.48-4.20 4.48-3.06.02-4.30-1.62-3.78-5.12ZM9.67.74h2.83V4.58c0 1.15-.05 1.95-.15 2.93h.05c.54-1.15 1.44-1.75 2.60-1.75 1.75 0 2.5 1.23 2.5 3.35v9.53h-2.83V9.32c0-1.03-.25-1.54-.90-1.54-.48 0-.92.28-1.23.79V18.65H9.70V.74h-.02ZM18.67 13.27v-1.82c0-4.07 1.18-5.64 3.99-5.64 2.80 0 3.86 1.62 3.86 5.64v1.82c0 3.96-1.00 5.59-3.94 5.59-2.98 0-3.91-1.67-3.91-5.59Zm5 1.03v-3.94c0-1.72-.25-2.60-1.08-2.60-.79 0-1.05.87-1.05 2.60v3.94c0 1.80.25 2.62 1.05 2.62.82 0 1.08-.82 1.08-2.62ZM27.66 6.03h2.19l.25 2.73h.10c.28-2.01 1.21-3.01 2.39-3.01.15 0 .30.02.51.05l-.15 3.27c-1.18-.25-2.13-.05-2.57.72V18.63h-2.73V6.03ZM34.80 15.67V8.27h-1.03V6.05h1.15l.36-3.73h2.11V6.05h1.93v2.21h-1.80v6.98c0 1.18.15 1.44.61 1.44.41 0 .77-.05 1.10-.18l.36 1.80c-.85.41-1.93.54-2.60.54-1.82-.02-2.21-.97-2.21-3.19ZM40.26 14.81l2.39-.05c-.12 1.39.36 2.19 1.21 2.19.72 0 1.13-.46 1.13-1.10 0-.87-.79-1.46-2.16-2.5-1.62-1.23-2.60-2.16-2.60-4.20 0-2.24 1.18-3.32 3.63-3.32 2.60 0 3.63 1.28 3.42 4.35l-2.39.10c-.02-1.90-.28-2.44-1.08-2.44-.77 0-1.10.38-1.10 1.08 0 .97.56 1.44 1.49 2.11 2.21 1.64 3.24 2.47 3.24 4.53 0 2.26-1.28 3.40-3.73 3.40-2.78-.02-3.81-1.54-3.45-4.14Z", +fill:"#fff"}}]}:g.DT(c)&&(N={W:"svg",V:{fill:"none",height:"25",viewBox:"0 0 140 25",width:"140"},X:[{W:"path",V:{d:"M33.96 20.91V15.45L37.43 4.11H34.84L33.52 9.26C33.22 10.44 32.95 11.67 32.75 12.81H32.59C32.48 11.81 32.16 10.50 31.84 9.24L30.56 4.11H27.97L31.39 15.45V20.91H33.96Z",fill:"white"}},{W:"path",V:{d:"M40.92 8.31C37.89 8.31 36.85 10.06 36.85 13.83V15.62C36.85 19.00 37.50 21.12 40.86 21.12C44.17 21.12 44.88 19.10 44.88 15.62V13.83C44.88 10.46 44.20 8.31 40.92 8.31ZM42.21 16.73C42.21 18.37 41.92 19.40 40.87 19.40C39.84 19.40 39.55 18.36 39.55 16.73V12.69C39.55 11.29 39.75 10.04 40.87 10.04C42.05 10.04 42.21 11.36 42.21 12.69V16.73Z", +fill:"white"}},{W:"path",V:{d:"M49.09 21.10C50.55 21.10 51.46 20.49 52.21 19.39H52.32L52.43 20.91H54.42V8.55H51.78V18.48C51.50 18.97 50.85 19.33 50.24 19.33C49.47 19.33 49.23 18.72 49.23 17.70V8.55H46.60V17.82C46.60 19.83 47.18 21.10 49.09 21.10Z",fill:"white"}},{W:"path",V:{d:"M59.64 20.91V6.16H62.68V4.11H53.99V6.16H57.03V20.91H59.64Z",fill:"white"}},{W:"path",V:{d:"M64.69 21.10C66.15 21.10 67.06 20.49 67.81 19.39H67.92L68.03 20.91H70.02V8.55H67.38V18.48C67.10 18.97 66.45 19.33 65.84 19.33C65.07 19.33 64.83 18.72 64.83 17.70V8.55H62.20V17.82C62.20 19.83 62.78 21.10 64.69 21.10Z", +fill:"white"}},{W:"path",V:{d:"M77.49 8.28C76.21 8.28 75.29 8.84 74.68 9.75H74.55C74.63 8.55 74.69 7.53 74.69 6.72V3.45H72.14L72.13 14.19L72.14 20.91H74.36L74.55 19.71H74.62C75.21 20.52 76.12 21.03 77.33 21.03C79.34 21.03 80.20 19.30 80.20 15.62V13.71C80.20 10.27 79.81 8.28 77.49 8.28ZM77.58 15.62C77.58 17.92 77.24 19.29 76.17 19.29C75.67 19.29 74.98 19.05 74.67 18.60V11.25C74.94 10.55 75.54 10.04 76.21 10.04C77.29 10.04 77.58 11.35 77.58 13.74V15.62Z",fill:"white"}},{W:"path",V:{d:"M89.47 13.51C89.47 10.53 89.17 8.32 85.74 8.32C82.51 8.32 81.79 10.47 81.79 13.63V15.80C81.79 18.88 82.45 21.12 85.66 21.12C88.20 21.12 89.51 19.85 89.36 17.39L87.11 17.27C87.08 18.79 86.73 19.41 85.72 19.41C84.45 19.41 84.39 18.20 84.39 16.40V15.56H89.47V13.51ZM85.68 9.98C86.90 9.98 86.99 11.13 86.99 13.08V14.09H84.39V13.08C84.39 11.15 84.47 9.98 85.68 9.98Z", +fill:"white"}},{W:"path",V:{d:"M93.18 20.86H95.50V13.57C95.50 11.53 95.46 9.36 95.30 6.46H95.56L95.99 8.24L98.73 20.86H101.09L103.78 8.24L104.25 6.46H104.49C104.37 9.03 104.30 11.35 104.30 13.57V20.86H106.63V4.06H102.67L101.25 10.27C100.65 12.85 100.22 16.05 99.97 17.68H99.78C99.60 16.02 99.15 12.83 98.56 10.29L97.10 4.06H93.18V20.86Z",fill:"white"}},{W:"path",V:{d:"M111.27 21.05C112.73 21.05 113.64 20.44 114.39 19.34H114.50L114.61 20.86H116.60V8.50H113.96V18.43C113.68 18.92 113.03 19.28 112.42 19.28C111.65 19.28 111.41 18.67 111.41 17.65V8.50H108.78V17.77C108.78 19.78 109.36 21.05 111.27 21.05Z", +fill:"white"}},{W:"path",V:{d:"M121.82 21.12C124.24 21.12 125.59 20.05 125.59 17.86C125.59 15.87 124.59 15.06 122.21 13.44C121.12 12.72 120.53 12.27 120.53 11.21C120.53 10.42 121.02 10.00 121.91 10.00C122.88 10.00 123.21 10.64 123.25 12.46L125.41 12.34C125.59 9.49 124.57 8.27 121.95 8.27C119.47 8.27 118.28 9.34 118.28 11.46C118.28 13.42 119.21 14.31 120.96 15.53C122.51 16.60 123.36 17.27 123.36 18.16C123.36 18.89 122.85 19.42 121.96 19.42C120.94 19.42 120.36 18.54 120.46 17.21L118.27 17.25C117.93 19.81 119.13 21.12 121.82 21.12Z", +fill:"white"}},{W:"path",V:{d:"M128.45 6.93C129.35 6.93 129.77 6.63 129.77 5.39C129.77 4.23 129.32 3.87 128.45 3.87C127.57 3.87 127.14 4.19 127.14 5.39C127.14 6.63 127.55 6.93 128.45 6.93ZM127.23 20.86H129.76V8.50H127.23V20.86Z",fill:"white"}},{W:"path",V:{d:"M135.41 21.06C136.67 21.06 137.38 20.91 137.95 20.37C138.80 19.63 139.15 18.48 139.09 16.54L136.78 16.42C136.78 18.54 136.44 19.34 135.45 19.34C134.36 19.34 134.18 18.15 134.18 15.99V13.43C134.18 11.07 134.41 9.95 135.47 9.95C136.35 9.95 136.70 10.69 136.70 13.05L138.99 12.89C139.15 11.20 138.98 9.82 138.18 9.05C137.58 8.49 136.69 8.27 135.51 8.27C132.48 8.27 131.54 10.19 131.54 13.84V15.53C131.54 19.18 132.25 21.06 135.41 21.06Z", +fill:"white"}}]},H=216163);g.DT(c)?g.bV(this.element,"ytp-youtube-music-button"):g.nH(this.element,"ytp-youtube-music-button");N.V=Object.assign({},N.V,{"aria-hidden":"true"});this.updateValue("logoSvg",N);this.api.hasVe(this.element)&&this.api.destroyVe(this.element);this.api.createClientVe(this.element,this,H,!0)}; +bG.prototype.lX=function(N){g.e.prototype.lX.call(this,N);this.api.logVisibility(this.element,this.visible&&N)};g.k(lmh,g.Ww);g.C=lmh.prototype;g.C.onProgress=function(){if(this.J.N("web_player_max_seekable_on_ended")||!g.y(this.J.getPlayerStateObject(),2))h5(this.HU),this.progressBar.Dp(),this.Cg.Dp()}; +g.C.vD=function(){this.Dl();if(h5(this.HU))this.progressBar.oA();else this.onProgress()}; +g.C.MB=function(){this.onProgress();this.Z.start()}; +g.C.Dl=function(){var N;if(N=!this.J.D().B){N=this.progressBar;var H=2*g.fs()*N.Y,c=N.L;N=(c.T-c.B)*1E3/N.api.getPlaybackRate()/H<300}N=N&&this.J.getPlayerStateObject().isPlaying()&&!!window.requestAnimationFrame;H=!N;h5(this.HU)&&(N=H=!1);H?this.Us||(this.Us=this.G(this.J,"progresssync",this.onProgress)):this.Us&&(this.G3(this.Us),this.Us=null);N?this.Z.isActive()||this.Z.start():this.Z.stop()}; +g.C.Mc=function(){var N=this.J.J3(),H=this.J.BO().getPlayerSize(),c=this.J.BO().bW,t=f2(this),h=Bhe(this),O=Math.max(H.width-t*2,100);if(this.Al!==H.width||this.w_!==N||this.J.N("web_player_rtr_ctrls")&&this.Rs!==c)this.Al=H.width,this.w_=N,this.Rs=c,this.T.element.style.width=h+"px",this.T.element.style.left=t+"px",g.c03(this.progressBar,t,h,N),this.J.HH().LK=h;c=this.L;O=Math.min(570*(N?1.5:1),O);N=Math.min(413*(N?1.5:1),Math.round((H.height-ksf(this))*.82));c.maxWidth=O;c.maxHeight=N;c.q1();this.Dl(); +this.WO&&CBD(this.zW,H.height)}; +g.C.onVideoDataChange=function(){var N=this.J.getVideoData();this.gE.style.background=N.Uc?N.CE:"";this.Bp&&Z_l(this.Bp,N.showSeekingControls);this.TW&&Z_l(this.TW,N.showSeekingControls)}; +g.C.N4=function(){return this.T.element};g.k(pc,Qr);g.C=pc.prototype;g.C.zK=function(N){N.target!==this.dismissButton.element&&(this.onClickCommand&&this.J.QS("innertubeCommand",this.onClickCommand),this.KP())}; +g.C.KP=function(){this.enabled=!1;this.Z.hide()}; +g.C.onVideoDataChange=function(N,H){N==="dataloaded"&&iqs(this);N=[];var c,t,h,O;if(H=(O=g.P((c=H.getWatchNextResponse())==null?void 0:(t=c.playerOverlays)==null?void 0:(h=t.playerOverlayRenderer)==null?void 0:h.suggestedActionsRenderer,q4R))==null?void 0:O.suggestedActions)for(c=g.K(H),t=c.next();!t.done;t=c.next())(t=g.P(t.value,C5R))&&g.P(t.trigger,x5R)&&N.push(t);if(N.length!==0){c=[];N=g.K(N);for(t=N.next();!t.done;t=N.next())if(t=t.value,h=g.P(t.trigger,x5R)){O=(O=t.title)?g.Fu(O):"View Chapters"; +H=h.timeRangeStartMillis;var F=h.timeRangeEndMillis;h=h.onlyTriggersOnPlayerPause;t.tapCommand&&(H!=null&&F!=null&&c.push(new g.vn(H,F,{priority:9,namespace:"suggested_action_button_visible",id:O})),H!=null&&F!=null||h)&&(this.suggestedActions[O]=t)}this.J.Q0(c)}}; +g.C.TG=function(){return this.enabled}; +g.C.pG=function(){this.enabled?this.Kq.start():pm(this);this.Ri()}; +g.C.onStateChange=function(N){for(var H=g.K(Object.keys(this.suggestedActions)),c=H.next();!c.done;c=H.next()){c=c.value;var t=void 0;if((t=g.P(this.suggestedActions[c].trigger,x5R))==null?0:t.onlyTriggersOnPlayerPause){N.state.isPaused()?(Xdy(this,c),this.enabled=!0,this.pG()):N.oldState.isPaused()&&(this.enabled=!1,this.pG());break}}}; +g.C.Os=function(){iqs(this);Qr.prototype.Os.call(this)};var Qw={},VK=(Qw.CHANNEL_NAME="ytp-title-channel-name",Qw.FULLERSCREEN_LINK="ytp-title-fullerscreen-link",Qw.LINK="ytp-title-link",Qw.SESSIONLINK="yt-uix-sessionlink",Qw.SUBTEXT="ytp-title-subtext",Qw.TEXT="ytp-title-text",Qw.TITLE="ytp-title",Qw);g.k(Ly,g.e);Ly.prototype.onClick=function(N){this.api.logClick(this.element);var H=this.api.D(),c=this.api.getVideoUrl(!g.Mb(N),!1,!0);g.PX(H)&&(H={},g.je(this.api,"addEmbedsConversionTrackingParams",[H]),c=g.Of(c,H));g.Yc(c,this.api,N)}; +Ly.prototype.Df=function(){var N=this.api.getVideoData(),H=this.api.D();this.updateValue("title",N.title);var c={W:"a",K:VK.CHANNEL_NAME,V:{href:"{{channelLink}}",target:"_blank"},Wp:"{{channelName}}"};this.api.D().L?c={W:"span",K:VK.CHANNEL_NAME,Wp:"{{channelName}}",V:{tabIndex:"{{channelSubtextFocusable}}"}}:N.vM&&(c={W:"span",K:VK.SUBTEXT,Wp:N.vM});this.updateValue("subtextElement",c);Wav(this);this.api.getPresentingPlayerType()===2&&(c=this.api.getVideoData(),c.videoId&&c.isListed&&c.author&& +c.Kq&&c.profilePicture?(this.updateValue("channelLink",c.Kq),this.updateValue("channelName",c.author),this.updateValue("channelTitleFocusable","0")):Wav(this));c=H.externalFullscreen||!this.api.isFullscreen()&&H.M0;g.QH(this.link,VK.FULLERSCREEN_LINK,c);H.Us||!N.videoId||c||N.Uc||H.L?this.T&&(this.updateValue("url",null),this.G3(this.T),this.T=null):(this.updateValue("url",this.api.getVideoUrl(!0)),this.T||(this.T=this.G(this.link,"click",this.onClick)));H.L&&(this.element.classList.add("ytp-no-link"), +this.updateValue("channelName",g.PX(H)?N.expandedTitle:N.author),this.updateValue("channelTitleFocusable","0"),this.updateValue("channelSubtextFocusable","0"))};g.k(g.Tg,g.e);g.C=g.Tg.prototype;g.C.setEnabled=function(N){if(this.type!=null)if(N)switch(this.type){case 3:case 2:un(this);this.fade.show();break;default:this.fade.show()}else this.fade.hide();this.Y=N}; +g.C.EK=function(N,H,c,t,h,O,F,M){if(!this.NT||this.env.C){this.type===3&&this.oA();this.type!==1&&(g.HB(this.element,"ytp-tooltip ytp-bottom"),this.type=1,this.Y&&this.fade.show(),this.B&&this.B.dispose(),(this.B=this.api.Om())&&this.B.subscribe("l",this.zX,this));if(M){var f=g.WQ(this.bg).height||141;this.Ix.style.bottom=f+2+"px"}else this.Ix.style.display="none";this.env.N("delhi_modern_web_player")?(this.update({pillTimeStamp:c,pillTitle:O!=null?O:"",eduText:M!=null?M:""}),g.bV(this.element,"ytp-tooltip-progress-bar-style")): +(this.update({text:c,title:O!=null?O:"",eduText:M!=null?M:""}),g.QH(this.bottomText,"ytp-tooltip-text-no-title",this.type===1&&!O));this.api.isInline()&&g.bV(this.bottomText,"ytp-modern-tooltip-text");g.QH(this.element,"ytp-text-detail",!!t);c=-1;this.B&&(c=GW(this.B,243*this.scale),this.env.N("web_l3_storyboard")&&this.B.levels.length===4&&(c=this.B.levels.length-1),c=jy3(this.B,c,H));yEy(this,c);if(F)switch(H=g.WQ(this.element).width,F){case 1:this.title.style.right="0";this.title.style.textAlign= +"left";break;case 2:this.title.style.right=H+"px";this.title.style.textAlign="right";break;case 3:this.title.style.right=H/2+"px",this.title.style.textAlign="center"}o_e(this,!!t,N,h)}}; +g.C.Oi=function(){this.type===1&&this.oA()}; +g.C.r6=function(N,H){if(this.type)if(this.type===3)this.oA();else return;R8l(this,N,3,H)}; +g.C.oo=function(){this.T&&!this.C&&(this.env.N("player_tooltip_data_title_killswitch")?this.T.hasAttribute("title")&&(this.L=this.T.getAttribute("title")||"",this.T.removeAttribute("title"),this.Y&&un(this)):this.T.hasAttribute("data-tooltip-title")&&(this.L=this.T.getAttribute("data-tooltip-title")||"",this.T.removeAttribute("data-tooltip-title"),this.Y&&un(this)))}; +g.C.zX=function(N,H){N<=this.U&&this.U<=H&&(N=this.U,this.U=NaN,yEy(this,N))}; +g.C.D4l=function(){Kr3(this.B,this.U,243*this.scale)}; +g.C.oA=function(){switch(this.type){case 2:var N=this.T;N.removeEventListener("mouseout",this.Z);N.addEventListener("mouseover",this.S);N.removeEventListener("blur",this.Z);N.addEventListener("focus",this.S);GXh(this);break;case 3:GXh(this);break;case 1:this.B&&(this.B.unsubscribe("l",this.zX,this),this.B=null),this.api.removeEventListener("videoready",this.Bp),this.Us.stop()}this.type=null;this.Y&&this.fade.hide()}; +g.C.aU=function(){if(this.T)for(var N=0;N=0;H--)if(this.uK[H]===N){this.uK.splice(H,1);break}Oo(this.HU,64,this.uK.length>0)}; +g.C.Ca=function(){this.api.Jd()&&this.api.m8();return!!this.tK||O6w(this)||g.ju.prototype.Ca.call(this)}; +g.C.Iy=function(){var N=!this.Ca(),H=N&&this.api.Jd()&&!g.y(this.api.getPlayerStateObject(),2)&&!this.api.getVideoData().Uc&&!this.api.D().L&&!this.api.isEmbedsShortsMode(),c=this.KB&&g.eg(this.api)&&g.y(this.api.getPlayerStateObject(),128);N||c?(this.cP.show(),this.fQ.show()):(this.cP.hide(),this.fQ.hide(),this.api.aU(this.cR.element));H?this.n2.aD():this.n2.e1();this.Hd&&ofD(this.Hd,this.Clf||!N);this.api.N("web_player_hide_overflow_button_if_empty_menu")&&FVh(this);g.ju.prototype.Iy.call(this)}; +g.C.t2=function(N,H,c,t,h){N.style.left="";N.style.top="";N.style.bottom="";var O=g.WQ(N),F=t||this.Hd&&g.m5(this.Hd.N4(),H),M=t=null;c!=null&&F||(t=g.WQ(H),M=g.PW(H,this.api.getRootNode()),c==null&&(c=M.x+t.width/2));c-=O.width/2;F?(H=this.Hd,t=f2(H),M=Bhe(H),F=this.api.BO().getPlayerSize().height,c=g.Ae(c,t,t+M-O.width),O=F-ksf(H)-O.height):g.m5(this.cR.element,H)?(H=this.api.BO().getPlayerSize().width,c=g.Ae(c,12,H-O.width-12),O=this.J3()?this.xZ:this.y$,this.api.D().playerStyle==="gvn"&&(O+=20), +this.KB&&(O-=this.J3()?26:18)):(H=this.api.BO().getPlayerSize(),c=g.Ae(c,12,H.width-O.width-12),O=M.y>(H.height-t.height)/2?M.y-O.height-12:M.y+t.height+12);N.style.top=O+(h||0)+"px";N.style.left=c+"px"}; +g.C.vD=function(N){N&&(this.api.aU(this.cR.element),this.Hd&&this.api.aU(this.Hd.N4()));this.uv&&(g.QH(this.contextMenu.element,"ytp-autohide",N),g.QH(this.contextMenu.element,"ytp-autohide-active",!0));g.ju.prototype.vD.call(this,N)}; +g.C.YF=function(){g.ju.prototype.YF.call(this);this.uv&&(g.QH(this.contextMenu.element,"ytp-autohide-active",!1),this.uv&&(this.contextMenu.hide(),this.J9&&this.J9.hide()))}; +g.C.UG=function(N,H){var c=this.api.BO().getPlayerSize();c=new g.HS(0,0,c.width,c.height);if(N||!h5(this.HU)&&!this.Ca()){if(this.api.D().ya||H)N=this.J3()?this.xZ:this.y$,c.top+=N,c.height-=N;this.Hd&&(c.height-=ksf(this.Hd))}return c}; +g.C.J2=function(N){var H=this.api.getRootNode();N?H.parentElement?(H.setAttribute("aria-label","YouTube Video Player in Fullscreen"),this.api.D().externalFullscreen||(H.parentElement.insertBefore(this.MW.element,H),H.parentElement.insertBefore(this.AK.element,H.nextSibling))):g.BZ(Error("Player not in DOM.")):(H.setAttribute("aria-label","YouTube Video Player"),this.MW.detach(),this.AK.detach());this.Mc();this.Dx()}; +g.C.J3=function(){if(this.api.N("web_player_use_screen_width_for_big_mode")){var N;return this.api.BO().getPlayerSize().width>=((N=g.Mx(this.api.D().experiments,"web_player_big_mode_screen_width_cutoff"))!=null?N:2E3)}N=this.api.D();return this.api.isFullscreen()&&!N.C||!1}; +g.C.showControls=function(N){this.Og=!N;this.Iy()}; +g.C.Mc=function(){var N=this.J3();this.tooltip.scale=N?1.5:1;this.contextMenu&&g.QH(this.contextMenu.element,"ytp-big-mode",N);this.Iy();this.api.N("web_player_hide_overflow_button_if_empty_menu")||FVh(this);this.Dx();var H=this.api.isEmbedsShortsMode();H&&N?(N=(this.api.BO().getPlayerSize().width-this.api.getVideoContentRect().width)/2,g.eU(this.cR.element,"padding-left",N+"px"),g.eU(this.cR.element,"padding-right",N+"px")):H&&(g.eU(this.cR.element,"padding-left",""),g.eU(this.cR.element,"padding-right", +""));g.ju.prototype.Mc.call(this)}; +g.C.J8=function(){if(O6w(this)&&!g.eg(this.api))return!1;var N=this.api.getVideoData();return!g.PX(this.api.D())||this.api.getPresentingPlayerType()===2||!this.t9||((N=this.t9||N.t9)?(N=N.embedPreview)?(N=N.thumbnailPreviewRenderer,N=N.videoDetails&&g.P(N.videoDetails,V4f)||null):N=null:N=null,N&&N.collapsedRenderer&&N.expandedRenderer)?g.ju.prototype.J8.call(this):!1}; +g.C.Dx=function(){g.ju.prototype.Dx.call(this);this.api.logVisibility(this.title.element,!!this.kN);this.K0&&this.K0.lX(!!this.kN);this.channelAvatar.lX(!!this.kN);this.overflowButton&&this.overflowButton.lX(this.i$()&&!!this.kN);this.shareButton&&this.shareButton.lX(!this.i$()&&!!this.kN);this.Tv&&this.Tv.lX(!this.i$()&&!!this.kN);this.searchButton&&this.searchButton.lX(!this.i$()&&!!this.kN);this.copyLinkButton&&this.copyLinkButton.lX(!this.i$()&&!!this.kN);if(!this.kN){this.api.aU(this.cR.element); +for(var N=0;N=0?this.T.playbackRate:1}catch(N){return 1}}; +g.C.setPlaybackRate=function(N){this.getPlaybackRate()!==N&&(this.T.playbackRate=N);return N}; +g.C.Mj=function(){return this.T.loop}; +g.C.setLoop=function(N){this.T.loop=N}; +g.C.canPlayType=function(N,H){return this.T.canPlayType(N,H)}; +g.C.isPaused=function(){return this.T.paused}; +g.C.isSeeking=function(){return this.T.seeking}; +g.C.isEnded=function(){return this.T.ended}; +g.C.GV=function(){return this.T.muted}; +g.C.Jr=function(N){xF();this.T.muted=N}; +g.C.NA=function(){var N=this.T.played||TC([],[]);return this.view?mHd(this,N):N}; +g.C.Z6=function(){try{var N=this.T.buffered}catch(H){}N=N||TC([],[]);return this.view?mHd(this,N):N}; +g.C.v0=function(){var N=this.T.seekable||TC([],[]);return this.view?mHd(this,N):N}; +g.C.uI=function(){var N=this.T;return N.getStartDate?N.getStartDate():null}; +g.C.getCurrentTime=function(){if(this.view){var N=this.T.currentTime;N=this.view?N-this.view.start:N}else N=this.T.currentTime;return N}; +g.C.setCurrentTime=function(N){this.T.currentTime=this.view?this.view?N+this.view.start:N:N}; +g.C.getDuration=function(){return this.view?isFinite(this.view.end)&&!this.view.Ib?this.view.end-this.view.start:this.T.duration-this.view.start:this.T.duration}; +g.C.load=function(){var N=this.T.playbackRate;try{this.T.load()}catch(H){}this.T.playbackRate=N}; +g.C.pause=function(){this.T.pause()}; +g.C.play=function(){if(this.view&&this.yK())try{this.T.currentTime=this.view.start}catch(H){}var N=this.T.play();if(!N||!N.then)return null;N.then(void 0,function(){}); +return N}; +g.C.gJ=function(){return this.T.readyState}; +g.C.ey=function(){return this.T.networkState}; +g.C.Wd=function(){return this.T.error?this.T.error.code:null}; +g.C.Yl=function(){return this.T.error?this.T.error.message:""}; +g.C.getVideoPlaybackQuality=function(){if(window.HTMLVideoElement&&this.T instanceof window.HTMLVideoElement&&this.T.getVideoPlaybackQuality)return this.T.getVideoPlaybackQuality();if(this.T){var N=this.T,H=N.webkitDroppedFrameCount;if(N=N.webkitDecodedFrameCount)return{droppedVideoFrames:H||0,totalVideoFrames:N}}return{}}; +g.C.Q4=function(){try{var N=this.getSize(),H={vct:this.getCurrentTime().toFixed(3),vd:this.getDuration().toFixed(3),vpl:Eo(this.NA(),",",3),vbu:Eo(this.Z6()),vbs:Eo(this.v0()),vpa:""+ +this.isPaused(),vsk:""+ +this.isSeeking(),ven:""+ +this.isEnded(),vpr:""+this.getPlaybackRate(),vrs:""+this.gJ(),vns:""+this.ey(),vec:""+this.Wd(),vemsg:this.Yl(),vvol:""+this.getVolume(),vdom:""+ +this.nL(),vsrc:""+ +!!this.FH(),vw:""+N.width,vh:""+N.height};this.view&&(H.view=this.view.start+"-"+this.view.end);return H}catch(c){return{}}}; +g.C.Mp=function(){return!!this.T.webkitCurrentPlaybackTargetIsWireless}; +g.C.fm=function(){return!!this.T.webkitShowPlaybackTargetPicker()}; +g.C.togglePictureInPicture=function(){var N=this.T,H=window.document;window.document.pictureInPictureEnabled?this.T!==H.pictureInPictureElement?N.requestPictureInPicture():H.exitPictureInPicture():o6()&&N.webkitSetPresentationMode(N.webkitPresentationMode==="picture-in-picture"?"inline":"picture-in-picture")}; +g.C.pB=function(){return SSe(this.T)}; +g.C.getSize=function(){return g.WQ(this.T)}; +g.C.setSize=function(N){g.sb(this.T,N)}; +g.C.getVolume=function(){return this.T.volume}; +g.C.setVolume=function(N){xF();this.T.volume=N}; +g.C.addEventListener=function(N,H){this.Us.listen(N,H,!1,this);this.x0(N)}; +g.C.removeEventListener=function(N,H){this.Us.G3(N,H,!1,this)}; +g.C.dispatchEvent=function(N){if(this.Y&&N.type==="pause")return!1;if($Kd){var H,c=((H=N.T)==null?void 0:H.timeStamp)||Infinity;H=c>performance.now()?c-Date.now()+performance.now():c;c=this.B||this.U;if((c==null?0:c.Wz())||H<=((c==null?void 0:c.U)||0)){var t;this.Kb("rms",{l:"mede",sr:(t=this.wE)==null?void 0:t.YD(),et:N.type});return!1}if(this.Fr)return this.Kb("rms",{l:"medes",et:N.type}),c&&N.type==="seeking"&&(c.U=performance.now(),this.Fr=!1),!1}return this.Us.dispatchEvent(N)}; +g.C.x0=function(N){this.Z[N]||(this.T.addEventListener(N,this.listener),this.Z[N]=this.listener)}; +g.C.setAttribute=function(N,H){this.T.setAttribute(N,H)}; +g.C.removeAttribute=function(N){this.T.removeAttribute(N)}; +g.C.hasAttribute=function(N){return this.T.hasAttribute(N)}; +g.C.Xo=h3(61);g.C.L7=h3(64);g.C.UC=h3(67);g.C.We=h3(70);g.C.ov=function(){return ip(this.T)}; +g.C.TM=function(N){g.bV(this.T,N)}; +g.C.zV=function(N){return g.cb(this.T,N)}; +g.C.nL=function(){return g.m5(document.body,this.T)}; +g.C.audioTracks=function(){var N=this.T;if("audioTracks"in N)return N.audioTracks}; +g.C.Uo=function(){this.Ix=!1}; +g.C.Tf=function(){this.Ix=!0;this.Jr(!0)}; +g.C.Jw=function(){this.Ix&&!this.GV()&&this.Jr(!0)}; +g.C.equals=function(N){return!!N&&N.N4()===this.N4()}; +g.C.Os=function(){for(var N=g.K(Object.keys(this.Z)),H=N.next();!H.done;H=N.next())H=H.value,this.T.removeEventListener(H,this.Z[H]);this.Cq&&this.removeEventListener("volumechange",this.Jw);Tid&&sj(this);Jt.prototype.Os.call(this)}; +g.C.XP=function(){return this.Wd()===4}; +g.C.hasError=function(){return this.Wd()>0}; +g.C.FR=function(){switch(this.Wd()){case 2:return"progressive.net.retryexhausted";case 3:var N=this.Yl();return(N==null?0:N.includes("MEDIA_ERR_CAPABILITY_CHANGED"))?"capability.changed":"fmt.decode";case 4:return"fmt.unplayable";case 5:return"drm.unavailable";case 1E3:return"capability.changed";default:return null}}; +g.C.UZ=function(N){this.T.disableRemotePlayback=N}; +g.C.Ts=function(){var N=this.v0();return N.length<1?NaN:N.end(N.length-1)}; +g.C.C3=function(){return this.S}; +g.C.activate=function(N){var H="";N&&(qnS(this,N),H=N.JF);if(!this.FH()||H)H&&this.FH()!==H&&(this.A2(H),delete this.B,this.Y&&(this.Y.reject(),delete this.Y),!window.MediaSource&&window.ManagedMediaSource&&this.UZ(!(N==null||!N.T))),N&&N.T||this.load(),this.Cq||(this.addEventListener("volumechange",this.Jw),this.Cq=!0)}; +g.C.mC=function(){var N=this;!this.B&&JR()&&(this.Y?this.Y.then(function(){return void N.mC()}):this.FH()||(this.B=this.CJ()))}; +g.C.bu=function(){this.B&&(this.B.dispose(),this.B=void 0)}; +g.C.CJ=function(N,H){if(this.B)if($Kd&&yD(this.B)&&!this.B.iK(N,H)){var c;this.Kb("rms",{l:"megms",sr:(c=this.wE)==null?void 0:c.YD()});this.bu();this.stopVideo()}else return this.U=this.B,this.B=void 0,this.U;N=QTe(this);this.activate(N.L);this.U=N;this.Fr=!1;return N}; +g.C.wT=function(N){this.B=N}; +g.C.playVideo=function(){var N=this;this.isEnded()&&this.seekTo(0);!this.FH()&&this.S&&(g.BZ(Error("playVideo without src")),this.A2(this.S.JF),this.S.T||this.load());var H=this.play(),c;if((c=this.wE)==null||!OZR(c)){var t;mU&&(wa||0)>=7&&(!H||((t=this.wE)==null?0:t.N("mweb_ios_allow_playback_workaround_when_ready")))&&T8e(this,function(){g.Zh(function(){LOh(N,N.getCurrentTime(),0)},500)})}return H}; +g.C.Kb=function(N,H,c){var t;((t=this.wE)==null?0:t.vO())&&this.wE.Lq(N,H,c===void 0?!1:c)}; +g.C.LQ=function(N){this.wE=N}; +g.C.Ul=function(){return mW(this.Z6(),this.getCurrentTime())}; +g.C.seekTo=function(N){this.gJ()>0&&(mU&&wa<4&&(N=Math.max(.1,N)),this.setCurrentTime(N))}; +g.C.E4=function(N){if(this.gJ()===0||this.hasError())return!1;var H=this.getCurrentTime()>0;if(N>=0){var c=this.v0();if(c.length||!H)return t1(c,N)}return H}; +g.C.LJ=function(){if(!this.B&&this.U)if(this.U.Y)try{var N;this.Kb("rms",{l:"mer",sr:(N=this.wE)==null?void 0:N.YD(),rs:rd(this.U)});this.U.clear();this.wT(this.U);this.U=void 0}catch(H){N=new g.ti("Error while clearing Media Source in MediaElement: "+H.name+", "+H.message),g.BZ(N),this.stopVideo()}else this.stopVideo()}; +g.C.stopVideo=function(){var N=this;if(!this.B){var H;(H=this.U)==null||vi(H);if(Tid){if(!this.Y){var c=new M9;c.then(void 0,function(){}); +this.Y=c;j05&&this.pause();g.Zh(function(){N.Y===c&&(sj(N),c.resolve())},200)}}else sj(this)}}; +g.C.A9=function(){var N=this.Z6();return GK(N)&&this.getDuration()?jU(N,this.getCurrentTime()):0}; +g.C.AO=function(){var N=this.Z6();return GK(N)&&this.getDuration()?N.end(N.length-1):0}; +g.C.K1=function(){var N=this.getDuration();return N===Infinity?1:N?this.A9()/N:0}; +var Tid=!1,j05=!1,$Kd=!1;var Gk=[],a_R=!1;g.k(Wg,g.L);Wg.prototype.C=function(){this.T!=null&&this.app.getVideoData()!==this.T&&Di(this.T)&&ZPR(this.app,this.T,void 0,void 0,this.L)}; +Wg.prototype.Y=function(){if(this.T!=null&&this.app.getVideoData()!==this.T&&this.B!=null&&this.U!=null&&this.S!=null&&Di(this.T)){var N=rcy(this.B,this.U,this.S);N==null?ZPR(this.app,this.T,void 0,void 0,this.L):(this.B.Lq("sgap",N),this.B.getVideoData().C&&this.B.f$(!1),this.app.D().N("html5_remove_loop_range_on_gapless_fallback")&&(iy(this.app,"gaplessshortslooprange"),this.app.setLoopRange(null)))}}; +Wg.prototype.Z=function(N){var H=this.app.x_();if(H){var c=this.app.getCurrentTime();Math.abs(c-N.end/1E3)>5&&H.Lq("glrs",{cmt:c});H.seekTo(0,{seekSource:58});H.Lq("glrre",{cmt:c})}}; +Wg.prototype.Os=function(){this.T=null;g.L.prototype.Os.call(this)};g.k(g.wJ,Jt);g.C=g.wJ.prototype;g.C.isView=function(){return!0}; +g.C.yK=function(){var N=this.mediaElement.getCurrentTime();if(N1;t1(N.l2(),t-.01)&&!h&&(xb(this,4),c.isActive=!1,c.Ti=c.Ti||c.isActive,(this.S===1?this.T:this.B).Lq("sbh",{}),H.isActive=!0,H.Ti=H.Ti||H.isActive,this.S!==0&&(this.T.getVideoData().bI=!0));N=this.U.B;if(this.U.T.isActive&&N.isActive&&(xb(this,5),this.S!==0)){N=this.B.tQ();c=this.T.tQ(); +this.T.Lq("sbs",{citag:c==null?void 0:c.itag,nitag:N==null?void 0:N.itag});this.B.Lq("gitags",{pitag:c==null?void 0:c.itag,citag:N==null?void 0:N.itag});var O;(O=this.B)==null||O.mj()}}}; +g.C.bx=function(){this.GM()&&this.h3("player-reload-after-handoff")}; +g.C.h3=function(N,H){H=H===void 0?{}:H;if(!this.uo()&&this.status.status!==6){var c=this.status.status>=4&&N!=="player-reload-after-handoff";this.status={status:Infinity,error:N};if(this.T&&this.B){var t=this.B.getVideoData().clientPlaybackNonce;this.T.rr(new g.QP("dai.transitionfailure",Object.assign(H,{cpn:t,transitionTimeMs:this.Km,msg:N})));this.T.f$(c)}this.Kp.reject(N);this.dispose()}}; +g.C.GM=function(){return this.status.status>=4&&this.status.status<6}; +g.C.Os=function(){vkv(this);this.T.unsubscribe("newelementrequired",this.bx,this);if(this.L){var N=this.L.B;this.L.T.WH.unsubscribe("updateend",this.P$,this);N.WH.unsubscribe("updateend",this.P$,this)}g.L.prototype.Os.call(this)}; +g.C.U1=function(N){g.tC(N,128)&&this.h3("player-error-event")};g.k(du,g.L);du.prototype.clearQueue=function(N,H){N=N===void 0?!1:N;H=H===void 0?!1:H;this.U&&this.U.reject("Queue cleared");this.app.D().N("html5_gapless_fallback_on_qoe_restart_v2")||H&&this.B&&this.B.f$(!1);Rs(this,N)}; +du.prototype.SP=function(){return!this.T}; +du.prototype.GM=function(){var N;return((N=this.L)==null?void 0:N.GM())||!1}; +du.prototype.Os=function(){Rs(this);g.L.prototype.Os.call(this)};g.k(qk,g.xo);g.C=qk.prototype;g.C.getVisibilityState=function(N,H,c,t,h,O,F,M){return N?4:h&&jpS?7:i3L&&!(E2()||document.hasFocus&&document.hasFocus())||E2()?3:H?2:c?1:t?5:h&&!jpS?7:O?8:F?9:M?10:0}; +g.C.fA=function(N){this.fullscreen!==N&&(this.fullscreen=N,this.pG())}; +g.C.setMinimized=function(N){this.B!==N&&(this.B=N,this.pG())}; +g.C.setInline=function(N){this.inline!==N&&(this.inline=N,this.pG())}; +g.C.Ak=function(N){this.pictureInPicture!==N&&(this.pictureInPicture=N,this.pG())}; +g.C.setSqueezeback=function(N){this.L!==N&&(this.L=N,this.pG())}; +g.C.Pn=function(N){this.U!==N&&(this.U=N,this.pG())}; +g.C.Mp=function(){return this.T}; +g.C.yw=function(){return this.fullscreen!==0}; +g.C.isFullscreen=function(){return this.fullscreen!==0&&this.fullscreen!==4}; +g.C.OP=function(){return this.fullscreen}; +g.C.isMinimized=function(){return this.B}; +g.C.isInline=function(){return this.inline}; +g.C.isBackground=function(){return E2()}; +g.C.eP=function(){return this.pictureInPicture}; +g.C.LU=function(){return!1}; +g.C.oL=function(){return this.L}; +g.C.VB=function(){return this.U}; +g.C.pG=function(){this.publish("visibilitychange");var N=this.getVisibilityState(this.Mp(),this.isFullscreen(),this.isMinimized(),this.isInline(),this.eP(),this.LU(),this.oL(),this.VB());N!==this.Y&&this.publish("visibilitystatechange");this.Y=N}; +g.C.Os=function(){tmZ(this.S);g.xo.prototype.Os.call(this)};g.k(g.qC,g.L);g.C=g.qC.prototype;g.C.Os=function(){this.videoData=this.playerState=null;g.L.prototype.Os.call(this)}; +g.C.addCueRange=function(){}; +g.C.iN=function(){}; +g.C.IX=function(){}; +g.C.Tm=function(){return!1}; +g.C.zC=function(){return!1}; +g.C.lY=function(){}; +g.C.BB=function(){}; +g.C.mH=function(){return[]}; +g.C.D$=function(){}; +g.C.Jy=function(){}; +g.C.Lb=function(){return 1}; +g.C.getAudioTrack=function(){return this.getVideoData().G7}; +g.C.kW=function(){return null}; +g.C.getAvailableAudioTracks=function(){return[]}; +g.C.Uz=function(){return[]}; +g.C.SC=function(){return[]}; +g.C.Qd=function(){return""}; +g.C.Z$=function(){return[]}; +g.C.cA=function(){}; +g.C.NP=function(){return 0}; +g.C.getCurrentTime=function(){return 0}; +g.C.fH=function(){}; +g.C.tQ=function(){}; +g.C.Q4=function(){return{}}; +g.C.getDuration=function(){return 0}; +g.C.e$=function(){return 0}; +g.C.kH=function(){return 0}; +g.C.XR=function(){return!1}; +g.C.iq=function(){return 0}; +g.C.A9=function(){return 0}; +g.C.R7=h3(7);g.C.Bz=function(){return 0}; +g.C.Mj=function(){return!1}; +g.C.VQ=function(){return 0}; +g.C.wr=function(){return null}; +g.C.CJ=function(){return null}; +g.C.T7=function(){return 0}; +g.C.r7=function(){return 0}; +g.C.WR=function(){return g.Y(function(N){g.Z3(N)})}; +g.C.Vw=h3(15);g.C.getPlaybackQuality=function(){return"auto"}; +g.C.getPlaybackRate=function(){return 1}; +g.C.getPlayerState=function(){this.playerState||(this.playerState=new g.Nb);return this.playerState}; +g.C.getPlayerType=function(){return 0}; +g.C.getPlaylistSequenceForTime=function(){return null}; +g.C.ER=function(){return function(){}}; +g.C.S9=function(){return""}; +g.C.getPreferredQuality=function(){return"unknown"}; +g.C.eh=function(){}; +g.C.getProximaLatencyPreference=function(){return 0}; +g.C.MI=function(){return wv}; +g.C.Om=function(){return null}; +g.C.getStoryboardFormat=function(){return null}; +g.C.getStreamTimeOffset=function(){return 0}; +g.C.Dj=function(){return 0}; +g.C.HO=function(){return 0}; +g.C.Z4=function(){return{OQ:[],aM:[],currentTime:0,XK:"",droppedVideoFrames:0,isGapless:!1,SP:!0,St:0,C_:0,K_:0,eZ:0,Vy:0,zc:[],rf:[],EW:null,playerState:this.getPlayerState(),KX:null,O5:"",totalVideoFrames:0}}; +g.C.getUserAudio51Preference=function(){return 0}; +g.C.getUserPlaybackQualityPreference=function(){return""}; +g.C.getVideoData=function(){this.videoData||(this.videoData=new g.xm(this.j),g.l(this,this.videoData));return this.videoData}; +g.C.d3=function(){return null}; +g.C.z$=function(){return null}; +g.C.u2=function(){}; +g.C.getVideoLoadedFraction=function(){return 0}; +g.C.bN=function(){}; +g.C.handleError=function(){}; +g.C.f$=function(){}; +g.C.oz=function(){}; +g.C.b7=h3(40);g.C.hU=function(){return!1}; +g.C.hasSupportedAudio51Tracks=function(){return!1}; +g.C.isAd=function(){return!1}; +g.C.NF=function(){return!1}; +g.C.Mp=function(){return!1}; +g.C.isAtLiveHead=function(){return!1}; +g.C.vJ=function(){return!0}; +g.C.isGapless=function(){return!1}; +g.C.isHdr=function(){return!1}; +g.C.AA=function(){return!1}; +g.C.XC=function(){return!1}; +g.C.WD=function(){return!1}; +g.C.isProximaLatencyEligible=function(){return!1}; +g.C.SP=function(){return!0}; +g.C.lO=function(){return!1}; +g.C.qZ=function(){return!1}; +g.C.FY=function(){}; +g.C.wW=function(){}; +g.C.mj=function(){}; +g.C.a$=function(){}; +g.C.Dv=function(){}; +g.C.gX=function(){}; +g.C.Ph=function(){}; +g.C.IU=h3(50);g.C.hJ=h3(21);g.C.z8=function(){}; +g.C.pauseVideo=function(){}; +g.C.prefetchKeyPlay=function(){}; +g.C.playVideo=function(){return g.Y(function(N){return N.return()})}; +g.C.WM=function(){}; +g.C.HN=h3(27);g.C.qp=h3(33);g.C.P4=function(){}; +g.C.Lq=function(){}; +g.C.TQ=function(){}; +g.C.qE=function(){}; +g.C.aG=function(){}; +g.C.rr=function(){}; +g.C.Yq=function(){}; +g.C.CM=function(){}; +g.C.Ku=function(){}; +g.C.al=function(){}; +g.C.uA=function(){}; +g.C.LJ=function(){}; +g.C.removeCueRange=function(){}; +g.C.Hu=function(){}; +g.C.gr=function(){return[]}; +g.C.md=function(){}; +g.C.kA=function(){}; +g.C.wc=function(){}; +g.C.Fq=function(){}; +g.C.M$=function(){}; +g.C.X$=function(){}; +g.C.lU=function(){}; +g.C.seekTo=function(){}; +g.C.sendAbandonmentPing=function(){}; +g.C.sendVideoStatsEngageEvent=function(){}; +g.C.sJ=function(){}; +g.C.setLoop=function(){}; +g.C.MU=function(){}; +g.C.setMediaElement=function(){}; +g.C.Sm=function(){}; +g.C.setPlaybackRate=function(){}; +g.C.TU=function(){}; +g.C.Mu=function(){}; +g.C.ao=function(){}; +g.C.setProximaLatencyPreference=function(){}; +g.C.Jq=function(){}; +g.C.N1=function(){}; +g.C.N3=function(){}; +g.C.Y1=function(){}; +g.C.BP=function(){}; +g.C.setUserAudio51Preference=function(){}; +g.C.R3=function(){}; +g.C.YD=function(){return!1}; +g.C.fm=function(){}; +g.C.gL=function(){return!1}; +g.C.gb=function(){}; +g.C.GF=function(){}; +g.C.Vq=function(){}; +g.C.stopVideo=function(){}; +g.C.subscribe=function(){return NaN}; +g.C.Cm=function(){}; +g.C.togglePictureInPicture=function(){}; +g.C.lH=function(){return 0}; +g.C.Z2=function(){}; +g.C.unsubscribe=function(){return!1}; +g.C.mV=function(){}; +g.C.RM=function(){return!1}; +g.C.v_=function(){}; +g.C.vP=function(){}; +g.C.Fm=function(){};g.k(UX,g.L);g.C=UX.prototype;g.C.get=function(N){Sd(this);var H=this.data.find(function(c){return c.key===N}); +return H?H.value:null}; +g.C.Gf=function(){Sd(this);return this.data.map(function(N){return N.value})}; +g.C.set=function(N,H,c){this.remove(N,!0);Sd(this);N={key:N,value:H,expire:Infinity};c&&isFinite(c)&&(c*=1E3,N.expire=(0,g.Lh)()+c);for(this.data.push(N);this.data.length>this.L;)(c=this.data.shift())&&$t(this,c,!0);PR(this)}; +g.C.remove=function(N,H){H=H===void 0?!1:H;var c=this.data.find(function(t){return t.key===N}); +c&&($t(this,c,H),g.N8(this.data,function(t){return t.key===N}),PR(this))}; +g.C.removeAll=function(N){if(N=N===void 0?!1:N)for(var H=g.K(this.data),c=H.next();!c.done;c=H.next())$t(this,c.value,N);this.data=[];PR(this)}; +g.C.Os=function(){var N=this;g.L.prototype.Os.call(this);this.data.forEach(function(H){$t(N,H,!0)}); +this.data=[]}; +g.k(V1h,g.L);g.C=V1h.prototype;g.C.get=function(N){var H=this.map.get(N);return H?H.Ef<=(0,g.Lh)()?(this.remove(N,!0),null):H.value:null}; +g.C.Gf=function(){for(var N=[],H=(0,g.Lh)(),c=[],t=g.K(this.map.entries()),h=t.next();!h.done;h=t.next()){var O=g.K(h.value);h=O.next().value;O=O.next().value;O.Ef<=H?c.push(h):N.push(O.value)}if(c.length>0){H=g.K(c);for(c=H.next();!c.done;c=H.next())wZ(this,c.value,!0);Dm(this)}return N}; +g.C.set=function(N,H,c){this.map.has(N)&&wZ(this,N,!0);var t=(0,g.Lh)(),h=Infinity;c!==void 0&&c!==null&&isFinite(c)&&(h=t+c*1E3);this.map.set(N,{value:H,Ef:h});isFinite(h)&&(this.T.enqueue(h,N),PZe(this.T)===h&&Dm(this));if(!Number.isNaN(this.U))for(N=this.map.keys();this.map.size>this.U;){H=N.next();if(H.done)break;wZ(this,H.value,!0)}}; +g.C.remove=function(N,H){wZ(this,N,H===void 0?!1:H)&&Dm(this)}; +g.C.removeAll=function(N){if((N===void 0?0:N)&&this.B){N=g.K(this.map.values());for(var H=N.next();!H.done;H=N.next())this.B(H.value.value)}this.map.clear();this.T.clear();this.L.stop()}; +g.C.Os=function(){g.L.prototype.Os.call(this);this.removeAll(!0)};g.k(g.CZ,g.L);g.C=g.CZ.prototype;g.C.Os=function(){for(var N=g.K(Object.values(this.U)),H=N.next();!H.done;H=N.next())H.value.dispose();LyS(this);this.T.dispose();g.L.prototype.Os.call(this)}; +g.C.CG=function(N){return N?N===1?this.Z:this.L.getVideoData().enableServerStitchedDai&&N===2?this.L.getVideoData().Oo?this.U[2]||this.L:this.L:this.U[N]||null:this.L}; +g.C.Vd=function(N){var H=N.cpn;N=N.playerType;if(H)a:{N=g.K(Object.values(this.U));for(var c=N.next();!c.done;c=N.next())if(c=c.value,c.Qd()===H){H=c;break a}H=this.S[H]||null}else H=N?this.CG(N):this.L;return H}; +g.C.o4=function(){return this.Z}; +g.C.QZ=function(N){this.Z=N}; +g.C.x_=function(){return this.L}; +g.C.kt=function(N){this.L=N;jq(this)}; +g.C.WY=h3(46);g.C.D2=h3(48);g.k(rah,g.a1);g.C=rah.prototype;g.C.Bc=function(){}; +g.C.Qd=function(){return this.videoData.clientPlaybackNonce}; +g.C.getVideoData=function(){if(g.a1.prototype.getVideoData.call(this).N("html5_huli_ssdai_use_playback_state")){var N=SsL(this.z3,g.a1.prototype.getCurrentTime.call(this))||g.a1.prototype.getVideoData.call(this);this.videoData.clientPlaybackNonce!==N.clientPlaybackNonce&&UsD(this.U,"cpn",{cpn:this.videoData.clientPlaybackNonce,ref:N.clientPlaybackNonce});return this.videoData}return SsL(this.z3,g.a1.prototype.getCurrentTime.call(this))||g.a1.prototype.getVideoData.call(this)}; +g.C.getCurrentTime=function(N){var H=g.a1.prototype.getCurrentTime.call(this);if(g.a1.prototype.getVideoData.call(this).N("html5_huli_ssdai_use_playback_state")){this.T===0?N||(H-=this.startTimeSecs,g.a1.prototype.getVideoData.call(this).N("html5_ssdai_log_missed_ad_impressions")&&this.B&&this.L&&H>1&&this.Lq("sdai-admiss",{cpn:this.Qd(),ct:H.toFixed(3),pfs:this.L}),this.B=!1):N&&(H=this.T);var c=N?this.z3.zr||g.a1.prototype.getCurrentTime.call(this):dUt(this.z3,g.a1.prototype.getCurrentTime.call(this)); +H!==c&&UsD(this.U,"time"+(N!=null?N:!1),{time:H,ref:c,ct:N!=null?N:!1})}else H=N?this.z3.zr||H:dUt(this.z3,H);return H}; +g.C.getDuration=function(){if(g.a1.prototype.getVideoData.call(this).N("html5_huli_ssdai_use_playback_state")){var N=ugZ(this.z3,g.a1.prototype.getCurrentTime.call(this));this.duration!==N&&UsD(this.U,"duration",{dur:this.duration,ref:N});return this.duration}return ugZ(this.z3,g.a1.prototype.getCurrentTime.call(this))}; +g.C.cQ=function(N){this.duration=N};g.lF.prototype.D4=function(N,H){if(H===1)return this.T.get(N);if(H===2)return this.L.get(N);if(H===3)return this.B.get(N)}; +g.lF.prototype.E0=h3(58);g.lF.prototype.bO=function(N,H,c,t){c={RI:t,zY:c};H?this.L.set(N,c):this.T.set(N,c)}; +g.lF.prototype.clearAll=function(){this.T.clear();this.L.clear();this.B.clear()}; +t0.prototype.clear=function(){this.B=[];this.L.clear();this.U.clear();this.T.clear()}; +t0.prototype.Vd=function(N){var H=N.cpn;N=N.vr;if(H&&(H=this.L.get(H))||N&&(H=(this.S?this.L:this.U).get(N)))return H}; +g.k(g.gD,g.L);g.C=g.gD.prototype;g.C.onCueRangeEnter=function(N){var H=N.getId();this.EF({oncueEnter:1,cpn:H,start:N.start,end:N.end,ct:(this.playback.getCurrentTime()||0).toFixed(3),cmt:(this.playback.NP()||0).toFixed(3)});var c=this.T.Vd({cpn:H});this.EF({enterAdCueRange:1});var t=this.aW||this.hI().cpn,h;t=(h=this.T.Vd({cpn:t}))!=null?h:this.hI();c&&(h=this.playback.getCurrentTime(),c.startTimeSecs=N.start/1E3,c={cB:t,IC:c,rZ:h},Dhw(this,H,N.start/1E3,h),tM(this,c));this.zW=!1}; +g.C.On=function(N,H,c){if(N&&H)if((this.app.z6().S[N]||null)===null){var t;this.EF({nocpn:N,active:(t=this.app.z6().B)==null?void 0:t.Qd()})}else{this.zW=c!=null?c:!1;var h;c=((h=this.app.z6().B)==null?void 0:h.Qd())||this.playback.Qd();var O;h=(O=this.T.Vd({cpn:c}))!=null?O:this.hI();var F;O=(F=this.T.Vd({cpn:N}))!=null?F:this.hI();O.startTimeSecs=H;O.playerType===2&&(O.w7=O.w7!=null?Math.min(O.w7,H):H);F=this.playback.getCurrentTime();Dhw(this,c,H,F);tM(this,{cB:h,IC:O,rZ:F});if(this.playback.getVideoData().vH()&& +N===this.playback.Qd())if(H=this.Dt.get(c)){var M;N=g.K((M=this.gE.get(H))!=null?M:[]);for(M=N.next();!M.done;M=N.next()){M=M.value;F=this.app.z6();if(c=F.S[M])F.B===c&&(F.B=null),F.Y===c&&(F.Y=null),delete F.S[M];this.NT.delete(M);this.Dt.delete(M)}this.gE.delete(H)}else this.EF({no_abid:N})}}; +g.C.jh=function(N,H){if(N===this.playback.Qd())tu(this.app.z6(),this.playback,!1);else{var c=this.NT.get(N);c?(N=!this.zW,c.T=0,c.startTimeSecs=H,c.L=N===void 0?!0:N,c.B=!0,tu(this.app.z6(),c,!0)):this.EF({nop_s:N})}}; +g.C.onCueRangeExit=function(N){for(var H=this.playback.getCurrentTime()*1E3,c=N.getId(),t=g.K(this.B.values()),h=t.next();!h.done;h=t.next())if(h=h.value,h.getId()!==c&&H>=h.start&&H<=h.end)return;if(c=this.T.Vd({cpn:c}))H=this.playback.getCurrentTime(),t=this.hI(),t.startTimeSecs=N.end/1E3,c={cB:c,IC:t,rZ:H},Dhw(this,this.playback.Qd(),N.end/1E3,H),tM(this,c)}; +g.C.hI=function(){return{cpn:this.playback.Qd(),durationMs:0,gs:0,playerType:1,m9:0,videoData:this.playback.getVideoData(),errorCount:0,EN:""}}; +g.C.seekTo=function(N,H,c,t){N=N===void 0?0:N;H=H===void 0?{}:H;c=c===void 0?!1:c;t=t===void 0?null:t;PN(this,this.aW);if(this.playback.getVideoData().vH()&&N<=this.zr)this.playback.pauseVideo(),this.zr=0,Poe(this,N);else if(this.zW=this.Bp=!0,c)PWd(this,N,H);else{c=this.app.x_();var h=c===this.Cq?this.WO:null;Nc(this,!1);this.C4=N;this.kG=H;t!=null&&this.mG.start(t);c&&(this.WO=h||c.getPlayerState(),c.Vq(H),this.Cq=c)}}; +g.C.Os=function(){Nc(this,!1);OIR(this);Lrd(this);g.L.prototype.Os.call(this)}; +g.C.qG=function(N){this.n4=N;this.EF({swebm:N})}; +g.C.uw=function(N,H,c){if(c&&H){var t=this.S.get(N);if(t){t.locations||(t.locations=new Map);var h=Number(H.split(";")[0]);c=new g.Ft(c);this.EF({hdlredir:1,itag:H,seg:N,hostport:Sc(18,c)});t.locations.set(h,c)}}}; +g.C.Uq=function(N,H,c,t,h,O){var F=t===3,M=Obd(this,N,H,t,c,O);if(!M){sQ(this,H,F);var f=g.h8Z(this,H)?"undec":"ncp";this.EF({gvprp:f,mt:N,seg:H,tt:t,itag:c,ce:O});return null}F||this.S.set(H,M);O=M.EN;var d;t=((d=this.D4(H-1,t,h))==null?void 0:d.RI)||"";t===""&&this.EF({eds:1});d=c8D(this,M.ssdaiAdsConfig);h=this.playback.getVideoData();var W;F=((W=h.B)==null?void 0:W.containerType)||0;W=h.vQ[F];M=M.j9&&H>=M.j9?M.j9:void 0;W={Zi:O?OE(this,O):[],adsConfig:d,RI:t,tq:M,X9:AA(W.split(";")[0]),jw:W.split(";")[1]|| +""};M={nJ:W};this.w_&&(N={gvprpro:"v",sq:H,mt:N.toFixed(3),itag:c,acpns:((f=W.Zi)==null?void 0:f.join("_"))||"none",abid:O},this.EF(N));return M}; +g.C.vx=function(N){a:{if(!this.Fj){var H=mLy(this,N);if(!(this.playback.getVideoData().vH()&&(H==null?0:H.Jo)))break a}H=void 0}var c=H;if(!c)return this.EF({gvprp:"ncp",mt:N}),null;H=c.EN;var t=c8D(this,c.ssdaiAdsConfig);c=c.j9&&c.BS&&N>=c.BS?c.j9:void 0;var h=this.playback.getVideoData(),O,F=((O=h.B)==null?void 0:O.containerType)||0;O=h.vQ[F];O={Zi:H?OE(this,H):[],adsConfig:t,tq:c,X9:AA(O.split(";")[0]),jw:O.split(";")[1]||""};var M;N={gvprpro:"v",mt:N.toFixed(3),acpns:((M=O.Zi)==null?void 0:M.join("_"))|| +"none",abid:H};this.EF(N);return O}; +g.C.gD=function(N,H,c,t,h,O){var F=Number(c.split(";")[0]),M=t===3;N=Obd(this,N,H,t,c,O);this.EF({gdu:1,seg:H,itag:F,pb:""+!!N});if(!N)return sQ(this,H,M),null;N.locations||(N.locations=new Map);if(!N.locations.has(F)){var f,d;O=(f=N.videoData.getPlayerResponse())==null?void 0:(d=f.streamingData)==null?void 0:d.adaptiveFormats;if(!O)return this.EF({gdu:"noadpfmts",seg:H,itag:F}),sQ(this,H,M),null;f=O.find(function(E){return E.itag===F}); +if(!f||!f.url){var W=N.videoData.videoId;N=[];var z=g.K(O);for(t=z.next();!t.done;t=z.next())N.push(t.value.itag);this.EF({gdu:"nofmt",seg:H,vid:W,itag:F,fullitag:c,itags:N.join(",")});sQ(this,H,M);return null}N.locations.set(F,new g.Ft(f.url,!0))}O=N.locations.get(F);if(!O)return this.EF({gdu:"nourl",seg:H,itag:F}),sQ(this,H,M),null;O=new r$(O);this.n4&&(O.get("dvc")?this.EF({dvc:O.get("dvc")||""}):O.set("dvc","webm"));(t=(z=this.D4(H-1,t,h))==null?void 0:z.RI)&&O.set("daistate",t);N.j9&&H>=N.j9&& +O.set("skipsq",""+N.j9);(z=this.playback.getVideoData().clientPlaybackNonce)&&O.set("cpn",z);z=[];N.EN&&(z=OE(this,N.EN),z.length>0&&O.set("acpns",z.join(",")));M||this.S.set(H,N);M=null;M=O.get("aids");t=O.uG();(t==null?void 0:t.length)>2048&&this.EF({urltoolong:1,sq:H,itag:F,len:t.length});this.w_&&(t&&(O=N.cpn,h=N.EN,KRl(this,O,h),h&&!this.qc.has(h)&&(O=uJt(this,O,h),f=eBs(this,h),this.EF({iofa:O}),this.EF({noawnzd:f-O}),this.EF({acpns:z.join("."),aids:(W=M)==null?void 0:W.replace(/,/g,".")}), +this.qc.add(h))),this.EF({gdu:"v",seg:H,itag:c,ast:N.gs.toFixed(3),alen:N.durationMs.toFixed(3),acpn:N.cpn,avid:N.videoData.videoId}));return t}; +g.C.Ya=function(N,H,c){c=c===void 0?!1:c;var t=UhR(this,N,H);if(t){this.Jj&&(this.Ix=t);var h=void 0,O=t.EN;if(O){this.EF({skipadonsq:H,sts:c,abid:O,acpn:t.cpn,avid:t.videoData.videoId});c=this.T.T.get(O);if(!c)return;c=g.K(c);for(O=c.next();!O.done;O=c.next())O=O.value,O.j9=H,O.BS=N,O.gs>t.gs&&(h=O)}PN(this,this.aW);this.L=t.cpn;nfw(this);this.api.N("html5_ssdai_enable_media_end_cue_range")&&this.playback.Z2(this.L);N=this.playback.getCurrentTime();W3L(this,t,h,N,N,!1,!0);zpS(this)}}; +g.C.xo=function(){for(var N=g.K(this.T.B),H=N.next();!H.done;H=N.next())H=H.value,H.j9=NaN,H.BS=NaN;nfw(this);this.EF({rsac:"resetSkipAd",sac:this.L});this.UF.delete(this.L);this.L="";this.Jj&&(this.Ix=void 0)}; +g.C.D4=function(N,H,c){return this.Us.D4(N,H,c)}; +g.C.E0=h3(57); +g.C.bO=function(N,H,c,t,h,O,F,M,f){t.length>0&&this.EF({onssinfo:1,sq:N,start:H.toFixed(3),cpns:t.join(","),ds:h.join(","),isVideo:F?1:0});if(this.Jj&&this.Ix&&this.Ix.j9&&t.length>0){c=g.K(t);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d===this.Ix.cpn){this.LG!==d&&(this.EF({skiperror:1,sq:N,acpn:this.Ix.cpn,skipsq:this.Ix.j9||0}),this.LG=d);break}}f&&this.Us.bO(N,F,M,f);if(F){if(t.length&&h.length)for(this.UF.has(t[0])&&this.EF({skipfail:1,sq:N,acpn:t[0]}),N=H+this.Dj(),F=0;F0&&(this.WJ=0,this.aW="",this.j.N("html5_huli_ssdai_use_playback_state")&&this.jh(this.playback.Qd(),0),this.api.publish("serverstitchedvideochange"));this.playback.BB(c,t);return!0}; +g.C.ge=function(){this.EF({rstdaist:1});this.Us.clearAll()}; +g.C.eS=function(N){var H;if(N!==((H=this.Y)==null?void 0:H.identifier))this.EF({ignorenoad:N});else{this.Oc.add(N);this.EF({noadrcv:N});var c;((c=this.Y)==null?void 0:c.identifier)===N&&hu(this)}}; +g.C.Lp=function(N){if(this.Fj)return this.EF({dai_disabled:N.event}),!1;if(this.playback.getVideoData().vH()&&(N.event==="continue"||N.event==="stop"))return!1;var H=pH(this.api.g_());if(H=H?H.Lp(N):!1)this.U={kp:N.identifier,wG:N.startSecs};else if(this.U&&this.U.kp===N.identifier&&N.startSecs>this.U.wG+1){this.EF({cueStChg:N.identifier,oldSt:this.U.wG.toFixed(3),newSt:N.startSecs.toFixed(3),abid:this.U.MQ});if(this.U.MQ){var c=N.startSecs-this.U.wG,t=this.T.T.get(this.U.MQ);if(t){t=g.K(t);for(var h= +t.next();!h.done;h=t.next())h=h.value,h.gs>=0&&(h.gs+=c*1E3,this.j.N("html5_ssdai_update_timeline_on_start_time_change")&&(h.m9+=c*1E3),this.EF({newApEt:h.gs,newApPrt:h.m9,acpn:h.cpn}))}}this.U.wG=N.startSecs}H?this.vp.add(N.identifier):this.vp.has(N.identifier)&&this.vp.delete(N.identifier);return H}; +g.C.X8=function(N){var H="";N?N.event==="unknown"?H="unknown":this.vp.has(N.identifier)?this.U&&this.U.kp===N.identifier?this.U.kp===N.identifier?H=this.j.N("html5_ssdai_under_decoration_shortad")&&hA(this.Kq,function(c){return c.identifier===N.identifier})?"shortad":"pending":hA(this.Kq,function(c){return c.identifier===N.identifier})||(H="noAdsAdded"):H="wrongAdBreakInfo":H="unscheduled":H="noCuepoint"; +return H}; +g.C.VU=function(N){return this.Fj?!1:!!mLy(this,N)}; +g.C.iV=function(N){var H=this;if(this.j.N("html5_lifa_ignore_multiple_skips")&&this.ox)return this.EF({ufs_ad:this.L,ufs_cur:this.aW,ufs_cont:this.hI().cpn}),!1;PN(this,this.aW);this.playback.pauseVideo();var c=this.playback.getCurrentTime(),t=this.T.Vd({cpn:this.aW});if(!t)return this.EF({skipFail:c}),!1;this.L=this.aW;this.Bp=!1;this.api.N("html5_ssdai_enable_media_end_cue_range")&&this.playback.Z2(this.L);this.m1(t.EN);wqw(this,t,this.hI(),N);Poe(this,c,{seekSource:89,j_:"lifa_skip"});this.ox|| +(this.ox=this.events.G(this.api,"progresssync",function(){MB(H.api.Um(),(0,g.Lh)(),"ad_to_video");H.ox&&(H.events.G3(H.ox),H.ox=null)})); +return!0}; +g.C.m1=function(N){if(this.playback.getVideoData().vH()){var H=this.T.T.get(N);if(H){H=g.K(H);for(var c=H.next();!c.done;c=H.next()){c=c.value;var t=this.B.get(c.cpn);this.B.delete(c.cpn);t&&this.playback.removeCueRange(t);Ams(this.T,c)}this.S.clear();H=this.T;var h;c=(h=H.T.get(N))!=null?h:[];h=g.K(c);for(c=h.next();!c.done;c=h.next())Ams(H,c.value);H.T.delete(N);(N=this.Uu.get(N))&&this.G7&&this.playback.Fq(N)}}}; +g.C.EF=function(N,H){((H===void 0?0:H)||this.w_)&&this.playback.Lq("sdai",N)}; +var x_l=0;g.k($U,g.L);g.C=$U.prototype;g.C.onCueRangeEnter=function(N){if(this.T===this.app.x_()){var H=this.S.get(N);H?mGL(this,H.target,H.Km,N):this.rr("dai.transitionfailure",{e:"unexpectedCueRangeTriggered",cr:N.toString()})}else if(H=this.B.find(function(h){return h.Nv.VF===N})){var c=H.Nv,t=c.target; +c=c.Km;t?mGL(this,t,c,N):KVR(this,H.m9,c,N)}}; +g.C.onQueuedVideoLoaded=function(){var N=this.C;AD(this);if(N){if(!Q3(this,N)){var H=this.app.x_();this.rr("dai.transitionfailure",{e:"unexpectedPresentingPlayer",pcpn:H==null?void 0:H.getVideoData().clientPlaybackNonce,ccpn:""+N.playerVars.cpn})}this.app.x_().addCueRange(N.Nv.VF)}}; +g.C.seekTo=function(N,H,c,t){N=N===void 0?0:N;H=H===void 0?{}:H;t=t===void 0?null:t;if(c===void 0?0:c)Oiw(this,N,H);else{c=this.app.x_()||null;var h=c===this.U?this.Y:null;Zt(this,!1);this.Bp=N;this.TW=H;t!=null&&this.Z.start(t);c&&(this.Y=h||c.getPlayerState(),c.Vq(),this.U=c)}}; +g.C.Wv=function(N){g.tC(N,128)&&rYt(this)}; +g.C.isManifestless=function(){return WK(this.T.getVideoData())}; +g.C.Os=function(){Zt(this,!1);$N(this);g.L.prototype.Os.call(this)}; +g.C.rr=function(N,H){this.T.rr(new g.QP(N,H))}; +var VJf=0;var Inl="MWEB TVHTML5 TVHTML5_AUDIO TVHTML5_CAST TVHTML5_KIDS TVHTML5_FOR_KIDS TVHTML5_SIMPLY TVHTML5_SIMPLY_EMBEDDED_PLAYER TVHTML5_UNPLUGGED TVHTML5_VR TV_UNPLUGGED_CAST WEB WEB_CREATOR WEB_EMBEDDED_PLAYER WEB_EXPERIMENTS WEB_GAMING WEB_HEROES WEB_KIDS WEB_LIVE_APPS WEB_LIVE_STREAMING WEB_MUSIC WEB_MUSIC_ANALYTICS WEB_MUSIC_INTEGRATIONS WEB_REMIX WEB_UNPLUGGED WEB_UNPLUGGED_ONBOARDING WEB_UNPLUGGED_OPS WEB_UNPLUGGED_PUBLIC".split(" ");g.k(fU,g.L);fU.prototype.zf=function(N){if(N)return this.B.get(N)}; +fU.prototype.Os=function(){this.T.removeAll();this.B.removeAll();g.L.prototype.Os.call(this)};g.MO5=lH(function(){var N=window.AudioContext||window.webkitAudioContext;try{return new N}catch(H){return H.name}});g.k(Fj,g.e);g.C=Fj.prototype;g.C.TM=function(){g.iW(this.element,g.LQ.apply(0,arguments))}; +g.C.kA=function(){this.Wr&&(this.Wr.removeEventListener("focus",this.XD),g.wr(this.Wr),this.Wr=null)}; +g.C.Cs=function(){this.uo();var N=this.app.D();N.Fb||this.TM("tag-pool-enabled");N.Y&&this.TM(g.Jk.HOUSE_BRAND);N.playerStyle==="gvn"&&(this.TM("ytp-gvn"),this.element.style.backgroundColor="transparent");N.Dt&&(this.hx=g.r9("yt-dom-content-change",this.resize,this));this.G(window,"orientationchange",this.resize,this);this.G(window,"resize",this.resize,this)}; +g.C.s7=function(N){g.l6(this.app.D());this.JL=!N;iD(this)}; +g.C.resize=function(){if(this.Wr){var N=this.lR();if(!N.isEmpty()){this.app.VS.isFullscreen()&&VW()&&this.xM.start();var H=!g.iE(N,this.xg.getSize()),c=Opf(this);H&&(this.xg.width=N.width,this.xg.height=N.height);N=this.app.D();(c||H||this.EH||N.Dt)&&this.app.VS.publish("resize",this.getPlayerSize())}}}; +g.C.KJ=function(N,H){this.updateVideoData(H)}; +g.C.updateVideoData=function(N){if(this.Wr){var H=this.app.D();bA&&(this.Wr.setAttribute("x-webkit-airplay","allow"),N.title?this.Wr.setAttribute("title",N.title):this.Wr.removeAttribute("title"));this.Wr.setAttribute("controlslist","nodownload");H.DY&&N.videoId&&(this.Wr.poster=N.Ds("default.jpg"))}H=g.QV(N,"yt:bgcolor");this.BJ.style.backgroundColor=H?H:"";this.RF=EeS(g.QV(N,"yt:stretch"));this.oF=EeS(g.QV(N,"yt:crop"),!0);g.QH(this.element,"ytp-dni",N.Uc);this.resize()}; +g.C.setGlobalCrop=function(N){this.q9=EeS(N,!0);this.resize()}; +g.C.setCenterCrop=function(N){this.cg=N;this.resize()}; +g.C.fA=function(){}; +g.C.getPlayerSize=function(){var N=this.app.D(),H=this.app.VS.isFullscreen(),c=N.externalFullscreen&&g.PX(N);if(H&&VW()&&!c)return new g.rv(window.outerWidth,window.outerHeight);c=!isNaN(this.sT.width)&&!isNaN(this.sT.height);var t=this.app.D().N("kevlar_player_enable_squeezeback_fullscreen_sizing")||this.app.D().N("web_watch_enable_fs_squeezeback_panels");if(H&&!c&&t)return new g.rv(this.element.clientWidth,this.element.clientHeight);if(H||N.w4){if(window.matchMedia){N="(width: "+window.innerWidth+ +"px) and (height: "+window.innerHeight+"px)";this.p5&&this.p5.media===N||(this.p5=window.matchMedia(N));var h=this.p5&&this.p5.matches}if(h)return new g.rv(window.innerWidth,window.innerHeight)}else if(c)return this.sT.clone();return new g.rv(this.element.clientWidth,this.element.clientHeight)}; +g.C.lR=function(){var N=this.app.D().N("enable_desktop_player_underlay"),H=this.getPlayerSize(),c=g.Mx(this.app.D().experiments,"player_underlay_min_player_width");return N&&this.z_&&H.width>c?(N=g.Mx(this.app.D().experiments,"player_underlay_video_width_fraction"),new g.rv(Math.min(H.height*this.getVideoAspectRatio(),H.width*N),Math.min(H.height,H.width*N/this.getVideoAspectRatio()))):H}; +g.C.getVideoAspectRatio=function(){return isNaN(this.RF)?K1h(this):this.RF}; +g.C.getVideoContentRect=function(N){var H=this.lR();N=EjL(this,H,this.getVideoAspectRatio(),N);return new g.HS((H.width-N.width)/2,(H.height-N.height)/2,N.width,N.height)}; +g.C.gg=function(N){this.z_=N;this.resize()}; +g.C.Ox=function(){return this.Wa}; +g.C.onMutedAutoplayChange=function(){iD(this)}; +g.C.setInternalSize=function(N){g.iE(this.sT,N)||(this.sT=N,this.resize())}; +g.C.Os=function(){this.hx&&g.G7(this.hx);this.kA();g.e.prototype.Os.call(this)};g.C=G3l.prototype;g.C.click=function(N,H){this.elements.has(N);this.T.has(N);var c=g.gi();c&&N.visualElement&&g.Lo(c,N.visualElement,H)}; +g.C.createClientVe=function(N,H,c,t){var h=this;t=t===void 0?!1:t;this.elements.has(N);this.elements.add(N);c=B8f(c);N.visualElement=c;var O=g.gi(),F=g.kV();O&&F&&(g.sf("combine_ve_grafts")?Dz(qu(),c,F):g.Lu(g.Iw)(void 0,O,F,c));H.addOnDisposeCallback(function(){h.elements.has(N)&&h.destroyVe(N)}); +t&&this.B.add(N)}; +g.C.createServerVe=function(N,H,c){var t=this;c=c===void 0?!1:c;this.elements.has(N);this.elements.add(N);H.addOnDisposeCallback(function(){t.destroyVe(N)}); +c&&this.B.add(N)}; +g.C.destroyVe=function(N){this.elements.has(N);this.elements.delete(N);this.L.delete(N);this.T.delete(N);this.B.delete(N)}; +g.C.dn=function(N,H){this.clientPlaybackNonce!==H&&(this.clientPlaybackNonce=H,R9(qu(),N),cm3(this))}; +g.C.setTrackingParams=function(N,H){this.elements.has(N);H&&(N.visualElement=g.bg(H))}; +g.C.a4=function(N,H,c){this.elements.has(N);H?this.T.add(N):this.T.delete(N);var t=g.gi(),h=N.visualElement;this.B.has(N)?t&&h&&(H?g.jI(t,[h]):g.Nh(t,[h])):H&&!this.L.has(N)&&(t&&h&&g.Qj(t,h,void 0,c),this.L.add(N))}; +g.C.hasVe=function(N){return this.elements.has(N)};g.k(g.KU,g.L);g.KU.create=function(N,H,c,t){try{var h=typeof N==="string"?N:"player"+g.ye(N),O=pt[h];if(O){try{O.dispose()}catch(M){g.BZ(M)}pt[h]=null}var F=new g.KU(N,H,c,t);F.addOnDisposeCallback(function(){pt[h]=null;F.Kz&&F.Kz()}); +return pt[h]=F}catch(M){throw g.BZ(M),(M&&M instanceof Error?M:Error(String(M))).stack;}}; +g.C=g.KU.prototype;g.C.RA=function(){return this.visibility}; +g.C.QZ=function(N){var H=this.o4();if(N!==H){N.getVideoData().autonavState=H.getVideoData().autonavState;H.mV(this.J_,this);var c=H.getPlaybackRate();H.dispose();this.hN.QZ(N);N.setPlaybackRate(c);N.Cm(this.J_,this);CU(this)}}; +g.C.h9=function(){this.Jv||(this.Jv=g.tI(np(),fDv()));return this.Jv}; +g.C.kA=function(N){if(this.mediaElement){this.FW&&(this.events.G3(this.FW),this.FW=null);g.bM(this.pP);this.x_().kA(!0,!1,N);this.template.kA();try{this.N("html5_use_async_stopVideo")?this.mediaElement.dispose():this.mediaElement.M1()}catch(H){g.aS(H)}this.mediaElement=null}}; +g.C.kt=function(N,H,c){if(N!==this.x_()){var t=null;if(c===void 0||!c){c=this.x_();t=c.getPlayerState();mz(this.F2,3);hj(this,"cuerangesremoved",c.Z$());this.fF&&!N.isGapless()&&c.isGapless()&&this.mediaElement&&this.mediaElement.stopVideo();c=N.YD()&&c.YD();this.f4.Yt("iv_s");c=c===void 0?!0:c;var h;if(h=this.X2){h=this.X2;var O=this.mediaElement;h=!!O&&O===h.mediaElement}h&&(this.kA(),md(this));h=this.x_();h.kA(!c);h.mV(this.v6,this);h.getPlayerType()!==1&&h.dispose();c=this.hN;c.L=c.T;jq(c)}N.getPlayerType()=== +1&&this.QZ(N);c=N.getPlayerType();h=this.hN.U[c]||null;N!==this.o4()&&N!==h&&(h==null||h.dispose(),this.hN.U[c]=N);this.hN.kt(N);this.mediaElement&&N.setMediaElement(this.mediaElement);N.Cm(this.v6,this);N.qZ()?Jwf(this,"setPresenting",!1):(this.KJ("newdata",N,N.getVideoData()),t&&!g.ZU(t,N.getPlayerState())&&this.xK(new g.I$(N.getPlayerState(),t)),H=H&&N.getPlayerType()===1,N.XC()&&!H&&this.KJ("dataloaded",N,N.getVideoData()),(H=(H=N.getVideoData().B)&&H.video)&&this.VS.vU("onPlaybackQualityChange", +H.quality),hj(this,"cuerangesadded",N.Z$()),H=N.getPlayerState(),g.y(H,2)?kaS(this):g.y(H,8)?N.playVideo():N.AA()&&N.pauseVideo(),H=this.o4(),N.getPlayerType()===2&&(N.getVideoData().v9=H.getVideoData().clientPlaybackNonce),N.getPlayerType()!==2||this.Re()||(N=N.getVideoData(),H.WM(N.clientPlaybackNonce,N.n4||"",N.breakType||0,N.XQ,N.videoId||"")))}}; +g.C.dW=function(){this.o4()!==this.x_()&&this.kt(this.o4())}; +g.C.z6=function(){return this.hN}; +g.C.Vd=function(N){return this.hN.Vd(N)}; +g.C.CG=function(N){return this.hN.CG(N)}; +g.C.o4=function(){return this.hN.o4()}; +g.C.x_=function(){return this.hN.x_()}; +g.C.KS=h3(44);g.C.Kzx=function(){w_(this)||this.fp(5)}; +g.C.wUi=function(){if(!w_(this)){X6Z(this);var N=this.x_(),H=N.getPlayerState();N.AA()?this.pauseVideo():H.isOrWillBePlaying()&&this.playVideo()}}; +g.C.canPlayType=function(N){return xx(N)}; +g.C.D=function(){return this.j}; +g.C.getVideoData=function(){return this.x_().getVideoData()}; +g.C.PC=h3(11);g.C.Sg=function(){return this.o4().getVideoData()}; +g.C.getVideoLoadedFraction=function(N){return(N=g.C2(this,{playerType:N}))?N.getVideoLoadedFraction():this.hN.T.getVideoLoadedFraction()}; +g.C.BO=function(){return this.template}; +g.C.g_=function(){return this.F2}; +g.C.Um=function(){return this.f4}; +g.C.I6=function(N,H,c){(H=g.C2(this,{playerType:H===void 0?1:H}))&&H.sJ(N,void 0,c)}; +g.C.cG=function(){var N=this.F2.cG();this.VS.publish("videoStatsPingCreated",N);return N}; +g.C.getVolume=function(){return Math.round(this.VS.getVolume())}; +g.C.isMuted=function(){return this.VS.isMuted()}; +g.C.pH=function(){if(this.o4()===this.x_()&&this.PO)return this.PO.postId}; +g.C.WLE=function(){var N=this;this.N("use_rta_for_player")||(g.Iy(this.j)?g.py(this.j,g.JO(this.getVideoData())).then(function(H){wx(np(),H);DDL(N.getVideoData(),N.j,N.h9())}):DDL(this.getVideoData(),this.j,this.h9()))}; +g.C.oM=function(N){this.VS.publish("poTokenVideoBindingChange",N)}; +g.C.d6=function(N){this.VS.publish("d6de4videobindingchange",N)}; +g.C.vS=function(){this.Gw&&this.Gw.vS()}; +g.C.XZ=function(N){this.Gw=N}; +g.C.I0=function(N){if(N===1){this.f4.tick("vr");var H=this.x_();H.IX();z7h(this.f4,H.getVideoData(),GVf(this));I6(this.F2)}H=this.j;if(hS(H)&&H.Z||g.G0(H)){var c;(((c=this.x_().getVideoData())==null?0:c.enableServerStitchedDai)||!this.Re())&&this.VS.vU("onAdStateChange",N)}}; +g.C.setLoopVideo=function(N){var H=this.x_();H===this.o4()&&H.Mj()!==N&&(H.setLoop(N),this.VS.QS("onLoopChange",N))}; +g.C.getLoopVideo=function(){return this.x_().Mj()}; +g.C.setLoopRange=function(N){var H=!1;!!this.PO!==!!N?H=!0:this.PO&&N&&(H=this.PO.startTimeMs!==N.startTimeMs||this.PO.endTimeMs!==N.endTimeMs||this.PO.postId!==N.postId||this.PO.type!==N.type);if(H){H=this.x_();Vz(H.getVideoData())&&H.Lq("slr",{et:(N==null?void 0:N.endTimeMs)||-1});H=this.o4();H.gr("applooprange");if(N){var c=new g.vn(N.startTimeMs,N.endTimeMs,{id:"looprange",namespace:"applooprange"});H.addCueRange(c)}else{this.Sg().clipConfig=void 0;var t;((c=this.PO)==null?void 0:c.type)!=="repeatChapter"|| +isNaN(Number((t=this.PO)==null?void 0:t.loopCount))||(c={loopCount:String(this.PO.loopCount),cpn:this.getVideoData().clientPlaybackNonce},g.uF("repeatChapterLoopEvent",c))}this.PO=N;this.VS.QS("onLoopRangeChange",N||void 0);this.o4()===this.x_()&&(this.yZ(),H.lY())}}; +g.C.getLoopRange=function(){return this.PO}; +g.C.yZ=function(){var N="",H=this.o4();this.PO?H!==this.x_()?N="pnea":rrL(this,H.getCurrentTime())&&(this.PO.loopCount=0,N="ilr"):N="nlr";var c=this.x_();if(Vz(c.getVideoData()))if(this.N("html5_gapless_log_loop_range_info")){var t,h;c.Lq("slrre",{rej:N,ct:H.getCurrentTime(),lst:(t=this.PO)==null?void 0:t.startTimeMs,let:(h=this.PO)==null?void 0:h.endTimeMs})}else c.Lq("slrre",{});N||KSd(this)}; +g.C.setPlaybackRate=function(N,H){if(!isNaN(N)){N=tFw(this,N);var c=this.o4();c.getPlaybackRate()!==N&&(c.setPlaybackRate(N),H&&!this.j.U&&g.h9("yt-player-playback-rate",N),this.VS.vU("onPlaybackRateChange",N))}}; +g.C.getCurrentTime=function(N,H){H=H===void 0?!0:H;var c=this.hN.IA;if(c)return c.getCurrentTime();var t=N===2&&this.getVideoData().enableServerStitchedDai;c=null;t?c=this.x_():c=g.C2(this,{playerType:N});return c?t&&this.n6?(N=this.hN.Y)?N.getCurrentTime(H):c.getCurrentTime():H?(H=WN(this,c),K2(this,H.getCurrentTime(),H)):c.getCurrentTime():this.hN.T.getCurrentTime()}; +g.C.A9=function(){var N=g.C2(this,{playerType:void 0});if(!N)return this.hN.T.A9();N=WN(this,N);return K2(this,N.A9(),N)}; +g.C.getDuration=function(N,H){H=H===void 0?!0:H;var c=this.hN.IA;if(c)return c.getDuration();c=this.getVideoData();var t=N===2&&c.enableServerStitchedDai,h=null;t?h=this.x_():h=g.C2(this,{playerType:N});if(!h)return this.hN.T.getDuration();if(c.hasProgressBarBoundaries()&&!t){var O,F=Number((O=c.progressBarStartPosition)==null?void 0:O.utcTimeMillis),M;O=Number((M=c.progressBarEndPosition)==null?void 0:M.utcTimeMillis);if(!isNaN(F)&&!isNaN(O))return(O-F)/1E3}if(Vz(c)&&!c.isLivePlayback)return ge(this, +N);if(H)return N=lM(this,h),K2(this,N.getDuration(),N);if(t&&this.n6){if(this.N("html5_huli_ssdai_use_playback_state"))return N=this.hN,N=N.B===N.Y?N.B:null,(N==null?void 0:N.getDuration())||0;var f;return((f=this.hN.Y)==null?void 0:f.getDuration())||0}return h.getDuration()}; +g.C.kH=function(N){var H=g.C2(this,{playerType:N});return H?this.Re(H)?(H=lM(this,H),H.kH()-H.getCurrentTime()+this.getCurrentTime(N)):H.kH():this.hN.T.kH()}; +g.C.finishSegmentByCpn=function(){return[]}; +g.C.Cs=function(){this.template.Cs();var N=this.VS;N.state.element=this.template.element;var H=N.state.element,c;for(c in N.state.T)N.state.T.hasOwnProperty(c)&&(H[c]=N.state.T[c]);(N=K3h(this.template.element))&&this.events.G(this.template,N,this.onFullscreenChange)}; +g.C.getDebugText=function(N){var H=this.o4().Q4(N),c=this.x_();if(c!==this.o4()){c=c.Q4(N);for(var t=g.K(Object.keys(c)),h=t.next();!h.done;h=t.next())h=h.value,H["ad"+h]=c[h];if(N){c=H;t={};if(h=z_(document,"movie_player"))t.bounds=h.getBoundingClientRect(),t["class"]=h.className;h={};var O=g.as("video-ads");O?(Na3(O,h),h.html=O.outerHTML):h.missing=1;O={};var F=g.as("videoAdUiSkipContainer"),M=g.as("ytp-ad-skip-button-container"),f=g.as("ytp-skip-ad-button"),d=F||M||f;d?(Na3(d,O),O.ima=F?1:0,O.bulleit= +M?1:0,O.component=f?1:0):O.missing=1;t=JSON.stringify({player:t,videoAds:h,skipButton:O});c.ad_skipBtnDbgInfo=t}}N&&this.mediaElement&&(H["0sz"]=""+(+aU(this.mediaElement.getSize())===0),H.op=this.mediaElement.zV("opacity"),c=this.mediaElement.pB().y+this.mediaElement.getSize().height,H.yof=""+(+c<=0),H.dis=this.mediaElement.zV("display"));N&&((N=(0,g.eu)())&&(H.gpu=N),(N=this.j.playerStyle)&&(H.ps=N),this.j.vp&&(H.webview=1),(N=this.webPlayerContextConfig.jsUrl)&&(H.js=N));H.debug_playbackQuality= +this.VS.getPlaybackQuality(1);H.debug_date=(new Date).toString();H.origin=window.origin;H.timestamp=Date.now();delete H.uga;delete H.q;return JSON.stringify(H,null,2)}; +g.C.getFeedbackProductData=function(){var N={player_debug_info:this.getDebugText(!0),player_experiment_ids:this.D().experiments.experimentIds.join(", "),player_release:T[34]},H=this.getPlayerStateObject().vN;H&&(N.player_error_code=H.errorCode,N.player_error_details=JSON.stringify(H.errorDetail));return N}; +g.C.getPresentingPlayerType=function(N){if(this.appState===1)return 1;if(w_(this))return 3;var H,c,t;return(N&&this.j.Zp().T.G0(EPl)?(t=(H=this.hN.B)==null?void 0:H.isAd())!=null&&t:(c=this.n6)==null?0:x33(c,this.getCurrentTime()))?2:this.x_().getPlayerType()}; +g.C.Vt=function(){return!1}; +g.C.getPlayerStateObject=function(N){var H=this.hN.IA;return H?H.getPlayerState():g.C2(this,{playerType:N}).getPlayerState()}; +g.C.getAppState=function(){return this.appState}; +g.C.ols=function(N){switch(N.type){case "loadedmetadata":this.bA.start();N=g.K(this.hq);for(var H=N.next();!H.done;H=N.next())H=H.value,BLL(this,H.id,H.Wlq,H.hex,void 0,!1);this.hq=[];break;case "loadstart":this.f4.Yt("gv");break;case "progress":case "timeupdate":yY(N.target.Z6())>=2&&this.f4.Yt("l2s");break;case "playing":g.zN&&this.bA.start();if(g.Iy(this.j))N=!1;else{H=g.RS(this.g_());N=this.mediaElement.zV("display")==="none"||aU(this.mediaElement.getSize())===0;var c=cS(this.template),t=this.x_().getVideoData(), +h=g.m8(this.j);t=ix(t);H=!c||H||h||t||this.j.Al;N=N&&!H}N&&(N=this.x_(),N.FY(),this.getVideoData().zW||(this.getVideoData().zW=1,this.yn(),N.playVideo()))}}; +g.C.QcW=function(N){this.VS.Ic("onLoadProgress",N)}; +g.C.l6x=function(){this.VS.publish("playbackstalledatstart")}; +g.C.L7l=function(N,H){this.VS.publish("sabrCaptionsDataLoaded",N,H)}; +g.C.x2s=function(N){this.x_().N1(N)}; +g.C.ynE=function(N){this.x_().Jq(N)}; +g.C.m2T=function(N){N=WN(this,this.x_());N=K2(this,N.getCurrentTime(),N);this.VS.vU("onVideoProgress",N);this.j.W0&&Fz(this,this.visibility.eP())&&this.pauseVideo()}; +g.C.H6q=function(){this.VS.vU("onAutoplayBlocked");var N=this.x_().getVideoData();N&&(N.XA=!0);g.PX(this.j)&&(N={autoplayBrowserPolicy:nz(),autoplayIntended:Sa(this.getVideoData()),autoplayStatus:"AUTOPLAY_STATUS_BLOCKED",cpn:this.getVideoData().clientPlaybackNonce,intentionalPlayback:this.intentionalPlayback},g.uF("embedsAutoplayStatusChanged",N))}; +g.C.iGS=function(){this.VS.publish("progresssync")}; +g.C.M7q=function(){this.VS.Ic("onPlaybackPauseAtStart")}; +g.C.G3x=function(N){if(this.getPresentingPlayerType()===1){g.tC(N,1)&&!g.y(N.state,64)&&this.Sg().isLivePlayback&&this.o4().isAtLiveHead()&&this.VS.getPlaybackRate()>1&&this.setPlaybackRate(1,!0);if(g.tC(N,2)){if(this.PO&&this.PO.endTimeMs>=(this.getDuration()-1)*1E3){KSd(this);return}kaS(this)}if(g.y(N.state,128)){var H=N.state;this.cancelPlayback(5);H=H.vN;JSON.stringify({errorData:H,debugInfo:this.getDebugText(!0)});this.VS.vU("onError",cbL(H.errorCode));this.VS.Ic("onDetailedError",{errorCode:H.errorCode, +errorDetail:H.errorDetail,message:H.errorMessage,messageKey:H.Z9,cpn:H.cpn});(0,g.Lh)()-this.j.il>6048E5&&this.VS.Ic("onReloadRequired")}H={};if(N.state.isPlaying()&&!N.state.isBuffering()&&!j_("pbresume","ad_to_video")&&j_("_start","ad_to_video")){var c=this.getVideoData();H.clientPlaybackNonce=c.clientPlaybackNonce;c.videoId&&(H.videoId=c.videoId);g.YR(H,"ad_to_video");Ai("pbresume",void 0,"ad_to_video");I6(this.F2)}this.VS.publish("applicationplayerstatechange",N)}}; +g.C.xK=function(N){this.hN.IA||this.VS.publish("presentingplayerstatechange",N)}; +g.C.Wv=function(N){Mt(this,fT(N.state));g.y(N.state,1024)&&this.VS.isMutedByMutedAutoplay()&&(aW(this,{muted:!1,volume:this.bR.volume},!1),NL(this,!1))}; +g.C.onPlayerRequestSent=function(N){this.VS.QS("onPlayerRequestSent",N)}; +g.C.PE=function(N,H){N==="newdata"&&CU(this);this.VS.publish("applicationvideodatachange",N,H)}; +g.C.dia=function(N,H){X6Z(this);this.VS.Ic("onPlaybackAudioChange",this.VS.getAudioTrack().X3.name);this.VS.publish("internalaudioformatchange",this.VS.getAudioTrack().X3.id,H)}; +g.C.SyE=function(N){var H=this.x_().getVideoData();N===H&&this.VS.vU("onPlaybackQualityChange",N.B.video.quality)}; +g.C.zj=function(){var N=this.hN.U[2]||null;N&&(N=N.getVideoData(),this.x_().Lq("ssdai",{cleanaply:1,acpn:N==null?void 0:N.clientPlaybackNonce,avid:N.videoId,isDai:this.Sg().enableServerStitchedDai?1:0}),delete this.hN.U[2])}; +g.C.REl=function(N,H){this.KJ(N,this.x_(),H)}; +g.C.KJ=function(N,H,c){this.j.vO()&&H.Lq("vdc",{type:N,vid:c.videoId||"",cpn:c.clientPlaybackNonce||""});H===this.o4()&&(this.j.QB=c.oauthToken);H===this.o4()&&(this.getVideoData().enableServerStitchedDai&&!this.n6?(this.o4().Lq("sdai",{initSstm:1}),this.n6=new g.gD(this.VS,this.j,this.o4(),this)):!this.getVideoData().enableServerStitchedDai&&this.n6&&(this.n6.dispose(),this.n6=null));if(N==="newdata")mz(this.F2,2),this.VS.publish("videoplayerreset",H);else{if(!this.mediaElement)return;if(N==="dataloaded")if(this.o4()=== +this.x_()){if(M5f(c.Es,c.i5),!this.o4().getPlayerState().isError()){var t=w_(this);this.Sg().isLoaded();t&&this.fp(6);Rfl(this);kk(this.F2)||uX3(this)}}else Rfl(this);if(H.getPlayerType()===1&&(this.j.Cq&&s6y(this),this.getVideoData().isLivePlayback&&!this.j.Cn&&this.h3("html5.unsupportedlive",2,"DEVICE_FALLBACK"),c.isLoaded()&&((mxR(c)||this.getVideoData().Nj)&&this.VS.publish("legacyadtrackingpingchange",this.getVideoData()),c.hasProgressBarBoundaries()))){var h;t=Number((h=this.getVideoData().progressBarEndPosition)== +null?void 0:h.utcTimeMillis)/1E3;!isNaN(t)&&(h=this.kH())&&(h-=this.getCurrentTime(),t=(t-h)*1E3,h=this.JB.progressEndBoundary,(h==null?void 0:h.start)!==t&&(h&&this.Hu([h]),t=new g.vn(t,0x7ffffffffffff,{id:"progressEndBoundary",namespace:"appprogressboundary"}),this.o4().addCueRange(t),this.JB.progressEndBoundary=t))}this.VS.publish("videodatachange",N,c,H.getPlayerType())}this.VS.vU("onVideoDataChange",{type:N,playertype:H.getPlayerType()});this.yZ();(N=c.nu)?this.CB.dn(N,c.clientPlaybackNonce): +cm3(this.CB)}; +g.C.Q$=function(){UE(this,null);this.VS.Ic("onPlaylistUpdate")}; +g.C.cn_=function(N){delete this.JB[N.getId()];this.o4().removeCueRange(N);a:{N=this.getVideoData();var H,c,t,h,O,F,M,f,d,W,z=((H=N.ox)==null?void 0:(c=H.contents)==null?void 0:(t=c.singleColumnWatchNextResults)==null?void 0:(h=t.autoplay)==null?void 0:(O=h.autoplay)==null?void 0:O.sets)||((F=N.ox)==null?void 0:(M=F.contents)==null?void 0:(f=M.twoColumnWatchNextResults)==null?void 0:(d=f.autoplay)==null?void 0:(W=d.autoplay)==null?void 0:W.sets);if(z)for(H=g.K(z),c=H.next();!c.done;c=H.next())if(c= +c.value,h=t=void 0,c=c.autoplayVideo||((t=c.autoplayVideoRenderer)==null?void 0:(h=t.autoplayEndpointRenderer)==null?void 0:h.endpoint),t=g.P(c,g.DS),O=h=void 0,c!=null&&((h=t)==null?void 0:h.videoId)===N.videoId&&((O=t)==null?0:O.continuePlayback)){N=c;break a}N=null}(H=g.P(N,g.DS))&&this.VS.QS("onPlayVideo",{sessionData:{autonav:"1",itct:N==null?void 0:N.clickTrackingParams},videoId:H.videoId,watchEndpoint:H})}; +g.C.fp=function(N){N!==this.appState&&(N===2&&this.getPresentingPlayerType()===1&&(Mt(this,-1),Mt(this,5)),this.appState=N,this.VS.publish("appstatechange",N))}; +g.C.h3=function(N,H,c,t,h){this.o4().TU(N,H,c,t,h)}; +g.C.P_=h3(13);g.C.isAtLiveHead=function(N,H){H=H===void 0?!1:H;var c=g.C2(this,{playerType:N});if(!c)return this.hN.T.isAtLiveHead();N=lM(this,c);c=WN(this,c);return N!==c?N.isAtLiveHead(K2(this,c.getCurrentTime(),c),!0):N.isAtLiveHead(void 0,H)}; +g.C.iq=function(){var N=g.C2(this,{playerType:void 0});return N?lM(this,N).iq():this.hN.T.iq()}; +g.C.seekTo=function(N,H,c,t,h,O){H=H!==!1;if(t=g.C2(this,{playerType:t}))if(this.appState===2&&lB(this),this.Re(t))Qu(this)?this.n6.seekTo(N,{seekSource:h},H,c):this.z3.seekTo(N,{seekSource:h},H,c);else{this.N("html5_sabr_csdai_seek_log")||(O="");var F;t.seekTo(N,{jm:!H,uV:c,j_:"application"+((F=O)!=null?F:""),seekSource:h})}}; +g.C.seekBy=function(N,H,c,t){this.seekTo(this.getCurrentTime()+N,H,c,t,void 0,"_by")}; +g.C.U2T=function(){this.VS.vU("SEEK_COMPLETE")}; +g.C.b6p=function(){this.VS.QS("onAbnormalityDetected")}; +g.C.OGo=function(N){this.VS.QS("onSnackbarMessage",N)}; +g.C.hER=function(N){var H=this.x_(),c=H.getVideoData();if(this.appState===1||this.appState===2)c.startSeconds=N;this.appState===2?g.y(H.getPlayerState(),512)||lB(this):this.VS.vU("SEEK_TO",N)}; +g.C.XHs=function(){this.VS.publish("airplayactivechange")}; +g.C.jcl=function(){this.VS.publish("airplayavailabilitychange")}; +g.C.showAirplayPicker=function(){this.x_().fm()}; +g.C.qca=function(){this.VS.publish("beginseeking")}; +g.C.yjS=function(){this.VS.publish("endseeking")}; +g.C.getStoryboardFormat=function(N){return(N=g.C2(this,{playerType:N}))?lM(this,N).getStoryboardFormat():this.hN.T.getStoryboardFormat()}; +g.C.Om=function(N){return(N=g.C2(this,{playerType:N}))?lM(this,N).getVideoData().Om():this.hN.T.Om()}; +g.C.Re=function(N){N=(N||this.x_()).getVideoData();if(Qu(this))N=N===this.n6.playback.getVideoData();else a:{var H=this.z3;if(N===H.T.getVideoData()&&H.B.length)N=!0;else{H=g.K(H.B);for(var c=H.next();!c.done;c=H.next())if(N.vr===c.value.vr){N=!0;break a}N=!1}}return N}; +g.C.LS=function(N,H,c,t,h,O,F,M){var f=Qu(this);this.x_().Lq("appattl",{sstm:this.n6?1:0,ssenable:this.getVideoData().enableServerStitchedDai,susstm:f});f?(c=Cr3(this.n6,N,H,c,t,h,O,F,M),N=(c==null?void 0:c.vr)||"",(this.N("html5_ssdai_new_decoration_logic")||this.o4().getVideoData().cY)&&this.o4().N3(M||"",H,(c==null?void 0:c.clientPlaybackNonce)||"")):N=Lbv(this.z3,N,c,t,h,O);return N}; +g.C.HC=function(N,H,c,t,h,O,F,M){if(Qu(this)){var f;(f=this.n6)==null||Cr3(f,N,H,c,t,h,O,F,M)}}; +g.C.eS=function(N){(this.N("html5_ssdai_new_decoration_logic")||this.o4().getVideoData().cY)&&this.o4().N3(N,"","");var H;(H=this.n6)==null||H.eS(N)}; +g.C.Fa=function(N,H){N=N===void 0?-1:N;H=H===void 0?Infinity:H;Qu(this)||$N(this.z3,N,H)}; +g.C.HY=function(N,H,c){if(Qu(this)){var t=this.n6,h=t.T.Vd({vr:N});h?(c===void 0&&(c=h.m9),fKf(t,h,H,c)):t.vZ("Invalid_timelinePlaybackId_"+N+"_specified")}else{t=this.z3;h=null;for(var O=g.K(t.B),F=O.next();!F.done;F=O.next())if(F=F.value,F.vr===N){h=F;break}h?(c===void 0&&(c=h.m9),Kce(t,h,H,c)):pA(t,"InvalidTimelinePlaybackId timelinePlaybackId="+N)}}; +g.C.enqueueVideoByPlayerVars=function(N,H,c,t){c=c===void 0?Infinity:c;t=t===void 0?"":t;this.Re();N=new g.xm(this.j,N);t&&(N.vr=t);ZPR(this,N,H,c)}; +g.C.queueNextVideo=function(N,H,c,t,h){c=c===void 0?NaN:c;N=this.preloadVideoByPlayerVars(N,H===void 0?1:H,c,t===void 0?"":t,h===void 0?"":h);H=this.x_();N&&(this.N("html5_check_queue_on_data_loaded")?this.D().supportsGaplessShorts()&&H.getVideoData().C&&(c=this.dT,t=this.fF.S,c.U!==N&&(c.B=H,c.U=N,c.L=1,c.T=N.getVideoData(),c.S=t,c.T.isLoaded()?c.Y():c.T.subscribe("dataloaded",c.Y,c))):(c=rcy(H,N,this.fF.S),c!=null?(H.Lq("sgap",c),H.getVideoData().C&&H.f$(!1)):(N=N.getVideoData(),H=this.dT,H.T!== +N&&(H.T=N,H.L=1,N.isLoaded()?H.C():H.T.subscribe("dataloaded",H.C,H)))))}; +g.C.mp=function(N,H,c,t){var h=this;c=c===void 0?0:c;t=t===void 0?0:t;lM(this,this.x_()).MU();u_s(this.fF,N,H,c,t).then(function(){h.VS.Ic("onQueuedVideoLoaded")},function(){})}; +g.C.SP=function(){return this.fF.SP()}; +g.C.Y9=function(N){var H=this.fF.T;return H?H.zC(N):!1}; +g.C.clearQueue=function(N,H){this.fF.clearQueue(N===void 0?!1:N,H===void 0?!1:H)}; +g.C.loadVideoByPlayerVars=function(N,H,c,t,h,O){H=H===void 0?1:H;var F=this.o4();if(H===2&&this.Sg().enableServerStitchedDai&&F&&!F.NF())return F.Lq("lvonss",{vid:(N==null?void 0:N.videoId)||"",ptype:H}),!1;var M=!1;F=new g.xm(this.j,N);F.nO=O;g.ru(this.j)&&!F.LC&&$9(this.f4);var f;O=this.f4;var d=(f=F.TW)!=null?f:"";O.timerName=d;this.f4.WN("pl_i");this.N("web_player_early_cpn")&&F.clientPlaybackNonce&&this.f4.infoGel({clientPlaybackNonce:F.clientPlaybackNonce});hOs(F).supportsVp9Encoding===!1&& +this.x_().Lq("noVp9enc",{});if(this.D().supportsGaplessShorts()){f=f0Z(this.fF,F,H);if(f==null){Mt(this,-1);var W;((W=this.fF.T)==null?0:W.getVideoData().isAd())||Lc(this);N=this.fF;N.app.D().N("html5_gapless_new_slr")?iy(N.app,"gaplessshortslooprange"):N.app.setLoopRange(null);N.app.getVideoData().F5=!0;var z;(z=N.T)==null||z.X$();var E;(E=N.T)==null||E.al();c={j_:"gapless_to_next_video",seekSource:60,wI:N.S.T};t=dlL(N);if(N.S.T){var x;h=((x=N.L)==null?void 0:fW(x))||{};x=h.FG;h=h.o1;h!=null&&x!= +null&&(t=h-x+.001)}var q;(q=N.app.x_())==null||q.seekTo(t,c);if(!N.app.getPlayerStateObject(H).isPlaying()){var r;(r=N.app.x_())==null||r.playVideo(!0)}var w;(w=N.app.x_())==null||w.wc();N.C();return!0}q=this.N("html5_shorts_gapless_preload_fallback");r=this.fF.T;q&&r&&!r.uo()&&(w=r.getVideoData(),this.hN.C.set(Vr(H,w),r,3600));this.fF.clearQueue(q);this.x_().Lq("sgap",{f:f})}if(h){for(;F.R9.length&&F.R9[0].isExpired();)F.R9.shift();q=F.R9.length-1;M=q>0&&h.B(F.R9[q])&&h.B(F.R9[q-1]);F.R9.push(h)}c|| +(N&&Pkl(N)?(V8(this.j)&&!this.tJ&&(N.fetch=0),UE(this,N)):this.playlist&&UE(this,null),N&&(this.tJ=Nx(!1,N.external_list)));this.VS.publish("loadvideo");q=this.IG(F,H,t);M&&this.h3("player.fatalexception",1,"GENERIC_WITH_LINK_AND_CPN",("loadvideo.1;emsg."+F.R9.join()).replace(/[;:,]/g,"_"));return q}; +g.C.preloadVideoByPlayerVars=function(N,H,c,t,h){H=H===void 0?1:H;c=c===void 0?NaN:c;h=h===void 0?"":h;t=H;var O=h,F=xr(N);if(t=this.hN.C.get(t+"_"+F+"_"+O+"_"+ +(N.autonav==="1"||N.autonav===!0)+ +(N.autoplay==="1"||N.autoplay===!0||N.autoplay===1))||null)return t;N=new g.xm(this.j,N);h&&(N.vr=h);h=Vr(H,N);t=this.x_();O=Vr(t.getPlayerType(),t.getVideoData());h===O?(t.gb(!0),N.dispose(),c=null):(N.Uu=!0,t=Lf(this,H,N,!0),(H!==1||!jQ(this.j)||this.j.N("html5_allow_multiview_tile_preload")&&N.qA)&& +t.gb(!0),this.hN.C.set(h,t,c||3600),c=t);return c}; +g.C.setMinimized=function(N){this.visibility.setMinimized(N);(N=Sks(this.F2))&&(this.isMinimized()?N.load():N.unload());this.VS.publish("minimized")}; +g.C.setInline=function(N){this.visibility.setInline(N)}; +g.C.setInlinePreview=function(N){this.visibility.setInline(N)}; +g.C.Ak=function(N){t7D(this,N)||this.visibility.Ak(N)}; +g.C.setSqueezeback=function(N){this.visibility.setSqueezeback(N)}; +g.C.Ih=function(){var N,H=(N=this.mediaElement)==null?void 0:N.N4();H&&(this.j.jS&&i8(yA(function(){return document.exitFullscreen()}),function(){}),i8(yA(function(){return ip(H)}),function(){}))}; +g.C.nlf=function(){this.mediaElement.N4();this.mediaElement.N4().webkitPresentationMode==="picture-in-picture"?this.Ak(!0):this.Ak(!1)}; +g.C.togglePictureInPicture=function(){this.x_().togglePictureInPicture()}; +g.C.IG=function(N,H,c){var t=this;H=H===void 0?1:H;j_("_start",this.f4.timerName)||g.Lu(tj)(void 0,this.f4.timerName);var h=!1,O=Zs(this,H,N,!1);O?(h=!0,N.dispose()):(O=Lf(this,H,N,!0,c),(this.N("html5_onesie")||this.N("html5_load_before_stop"))&&O.Tm()&&O.gb(),this.bA.stop(),H===1&&H!==this.getPresentingPlayerType()&&this.cancelPlayback(4),this.cancelPlayback(4,H),this.kt(O));O===this.o4()&&(this.j.QB=N.oauthToken);if(!O.Tm())return!1;if(O===this.o4()){this.fp(1);if(this.j.N("html5_allow_multiview_tile_preload")&& +h&&O.getVideoData().qA)return O.Lq("app_lv",{pdl:O.XC()}),O.XC()?sKS(this,O):O.subscribe("internalvideodatachange",function(F){F==="dataloaded"&&sKS(t,O)},this),!0; +N=lB(this);h&&this.N("html5_player_preload_ad_fix")&&O.getPlayerType()===1&&O.XC()&&this.KJ("dataloaded",O,O.getVideoData());return N}O.GF();return!0}; +g.C.cueVideoByPlayerVars=function(N,H){var c=this;H=H===void 0?1:H;var t=this.o4();if(this.Sg().enableServerStitchedDai&&t&&!t.NF()&&N&&Object.keys(N).length>0)t.Lq("qvonss",{vid:(N==null?void 0:N.videoId)||"",ptype:H});else if(N&&Pkl(N))if(this.jO=!0,UE(this,N),(N=g.rT(this.playlist))&&N.DI())FQ(this,N,H);else this.playlist.onReady(function(){Av(c)}); +else{H||(H=this.getPresentingPlayerType());H===1&&this.Q$();t=new g.xm(this.j,N);var h=g.PX(this.j)&&!this.j.Us&&H===1&&!t.isAd()&&!t.n4;this.VS.publish("cuevideo",H);h?(this.x_().getVideoData().loading=!0,bhd(t,N?N:{}).then(function(O){FQ(c,O,H)}),t.dispose()):FQ(this,t,H)}}; +g.C.V5=function(N,H,c,t,h,O,F){if(!N&&!c)throw Error("Playback source is invalid");if(Hg(this.j)||g.El(this.j))return H=H||{},H.lact=M$(),H.vis=this.VS.getVisibilityState(),this.VS.QS("onPlayVideo",{videoId:N,watchEndpoint:O,sessionData:H,listId:c}),!1;wZl(this.f4);this.f4.reset();N={video_id:N};t&&(N.autoplay="1");t&&(N.autonav="1");O&&(N.player_params=O.playerParams);F&&(N.oauth_token=F);c?(N.list=c,this.loadPlaylist(N)):this.loadVideoByPlayerVars(N,1);return!0}; +g.C.cuePlaylist=function(N,H,c,t){this.jO=!0;Nvd(this,N,H,c,t)}; +g.C.loadPlaylist=function(N,H,c,t){this.jO=!1;Nvd(this,N,H,c,t)}; +g.C.im=function(){return this.VS.isMutedByMutedAutoplay()?!1:this.hN.IA?!0:!(!this.playlist||!this.playlist.hasNext())}; +g.C.C1=h3(5); +g.C.nextVideo=function(N,H){var c=g.ZJ(this.o4().getVideoData());g.rz(this.VS)&&c?this.V5(c.videoId,H?c.yT:c.sessionData,c.playlistId,H,void 0,c.Bg||void 0):this.tJ?this.VS.Ic("onPlaylistNext"):this.getPresentingPlayerType()===3?ms(this.F2).nextVideo():!this.playlist||V8(this.j)&&!this.VS.isFullscreen()||(this.playlist.hasNext(N)&&rQh(this.playlist,AHD(this.playlist)),this.playlist.loaded?(N=H&&this.j.N("html5_player_autonav_logging"),H&&this.VS.publish("playlistautonextvideo"),this.IG(g.rT(this.playlist,void 0, +H,N),1)):this.jO=!1)}; +g.C.previousVideo=function(N){this.tJ?this.VS.Ic("onPlaylistPrevious"):this.getPresentingPlayerType()===3?ms(this.F2).oa():!this.playlist||V8(this.j)&&!this.VS.isFullscreen()||(this.playlist.hasPrevious(N)&&rQh(this.playlist,Gxs(this.playlist)),this.playlist.loaded?this.IG(g.rT(this.playlist),1):this.jO=!1)}; +g.C.playVideoAt=function(N){this.tJ?this.VS.Ic("onPlaylistIndex",N):this.playlist&&(this.playlist.loaded?this.IG(g.rT(this.playlist,N),1):this.jO=!1,rQh(this.playlist,N))}; +g.C.getPlaylist=function(){return this.playlist}; +g.C.r$=h3(19);g.C.VZ=function(N){this.hq=g.WL(this.hq,function(O){return O.id!==N}); +for(var H=this.o4(),c=H.Z$(),t=0;t0&&(f=Math.floor(d/1E3))}f=H?H.C6:f;var W={AD_BLOCK:this.T++,AD_BREAK_LENGTH:f,AUTONAV_STATE:Lr(this.player.D()),CA_TYPE:"image",CPN:M.clientPlaybackNonce,DRIFT_FROM_HEAD_MS:this.player.iq()*1E3,LACT:M$(),LIVE_INDEX:H?this.L++:1,LIVE_TARGETING_CONTEXT:H&&H.context?H.context:"",MIDROLL_POS:O? +Math.round(O.start/1E3):0,MIDROLL_POS_MS:O?Math.round(O.start):0,VIS:this.player.getVisibilityState(),P_H:this.player.BO().lR().height,P_W:this.player.BO().lR().width,YT_REMOTE:h?h.join(","):""},z=E8(LT);Object.keys(z).forEach(function(x){z[x]!=null&&(W[x.toUpperCase()]=z[x].toString())}); +c!==""&&(W.BISCOTTI_ID=c);c={};Md(N)&&(c.sts="20385",(H=this.player.D().forcedExperiments)&&(c.forced_experiments=H));var E=hp(g.P4(N,W),c);return E.split("?").length!==2?Kw(Error("Invalid AdBreakInfo URL")):g.py(this.player.D(),M==null?void 0:M.oauthToken).then(function(x){if(x&&X8()){var q=np();wx(q,x)}x=t.player.h9(q);q=lry(t,E,W,M.isMdxPlayback,F);return g.Ir(x,q,"/youtubei/v1/player/ad_break").then(function(r){return r})})}; +MO.prototype.reset=function(){this.L=this.T=1};g.k(jx,MO); +jx.prototype.B=function(N,H,c){H=H===void 0?{}:H;var t=H.hE;var h=H.VF;var O=H.cueProcessedMs;c=c===void 0?"":c;H=this.T;this.T++;var F=this.player.D().N("h5_disable_macro_substitution_in_get_ad_break")?N:eEf(this,N,{hE:t,VF:h,cueProcessedMs:O},c,H);if(F.split("?").length!==2)return Math.random()<.1&&g.aS(Error("Invalid AdBreakInfo URL")),Kw(Error("Invalid AdBreakInfo URL"));var M=this.player.getVideoData(1).isMdxPlayback,f=c;c=M_v.exec(F);c=c!=null&&c.length>=2?c[1]:"";N=frl.test(F);var d=dBe.exec(F); +d=d!=null&&d.length>=2?d[1]:"";var W=W_l.exec(F);W=W!=null&&W.length>=2&&!Number.isNaN(Number(W[1]))?Number(W[1]):1;var z=z6v.exec(F);z=z!=null&&z.length>=2?z[1]:"0";var E=nI(this.player.D().qf),x=g.Yi(this.player.getVideoData(1).Bp,!0);O5s(this,x,F,f===""?"":f,this.player.D(),this.player.getVideoData(1));f={splay:!1,lactMilliseconds:String(M$()),playerHeightPixels:Math.trunc(this.player.BO().lR().height),playerWidthPixels:Math.trunc(this.player.BO().lR().width),vis:Math.trunc(this.player.getVisibilityState()), +signatureTimestamp:20385,autonavState:Lr(this.player.D())};if(M){M={};var q=this.player.D().Mz;EOe(M,q?q.join(","):"")&&(f.mdxContext=M)}if(M=xBe.includes(E)?void 0:g.W7("PREF")){q=M.split(RegExp("[:&]"));for(var r=0,w=q.length;r1&&n[1].toUpperCase()==="TRUE"){x.user.lockedSafetyMode=!0;break}}f.autoCaptionsDefaultOn=q2l(M)}F=CKh.exec(F);(F=F!=null&&F.length>=2?F[1]:"")&&d&&(x.user.credentialTransferTokens= +[{token:F,scope:"VIDEO"}]);F={contentPlaybackContext:f};f=this.player.getVideoData(1).getGetAdBreakContext();M=this.player.getVideoData(1).clientPlaybackNonce;q=O!==void 0?Math.round(O).toString():void 0;r=(t==null?0:t.context)?t.context:void 0;w=0;O&&h&&!t&&(h=h.end-h.start,h>0&&(w=Math.floor(h/1E3)));t=(t=Math.trunc((t?t.C6:w)*1E3))?String(t):void 0;h=this.player.iq()*1E3;h=Number.isNaN(h)?0:Math.trunc(h);H={adBlock:H,params:c,breakIndex:W,breakPositionMs:z,clientPlaybackNonce:M,topLevelDomain:E, +isProxyAdTagRequest:N,context:x,overridePlaybackContext:F,cueProcessedMs:q,videoId:d?d:void 0,liveTargetingParams:r,breakLengthMs:t,driftFromHeadMs:h?String(h):void 0,currentMediaTimeMs:String(Math.round(this.player.getCurrentTime(1)*1E3)),getAdBreakContext:f?f:void 0};return I5y(this,H)};var dKx={AQl:"replaceUrlMacros",MHp:"onAboutThisAdPopupClosed",azx:"executeCommand"};Br.prototype.E9=function(){return"adPingingEndpoint"}; +Br.prototype.Xr=function(N,H,c){JqL(this.Pp.get(),N,H,c)};qs.prototype.E9=function(){return"changeEngagementPanelVisibilityAction"}; +qs.prototype.Xr=function(N){this.J.QS("changeEngagementPanelVisibility",{changeEngagementPanelVisibilityAction:N})};o9.prototype.E9=function(){return"loggingUrls"}; +o9.prototype.Xr=function(N,H,c){N=g.K(N);for(var t=N.next();!t.done;t=N.next())t=t.value,JqL(this.Pp.get(),t.baseUrl,H,c,t.attributionSrcMode)};g.k(mYv,g.L);g.k(A1,g.L);g.C=A1.prototype;g.C.addListener=function(N){this.listeners.push(N)}; +g.C.removeListener=function(N){this.listeners=this.listeners.filter(function(H){return H!==N})}; +g.C.yQ=function(N,H,c,t,h,O,F,M){if(N==="")KA("Received empty content video CPN in DefaultContentPlaybackLifecycleApi");else if(N!==this.T||c){this.T=N;this.k_.get().yQ(N,H,c,t,h,O,F,M);this.ea.get().yQ(N,H,c,t,h,O,F,M);var f;(f=this.jg)==null||f.get().yQ(N,H,c,t,h,O,F,M);this.B.yQ(N,H,c,t,h,O,F,M);f=g.K(this.listeners);for(var d=f.next();!d.done;d=f.next())d.value.yQ(N,H,c,t,h,O,F,M)}else KA("Duplicate content video loaded signal")}; +g.C.EHg=function(){this.T&&this.o9(this.T)}; +g.C.o9=function(N){this.T=void 0;for(var H=g.K(this.listeners),c=H.next();!c.done;c=H.next())c.value.o9(N)};K$.prototype.kz=function(N,H,c,t,h){mwt(this);this.S=!H&&c===0;var O=this.J.getVideoData(1),F=this.J.getVideoData(2);O&&(this.contentCpn=O.clientPlaybackNonce,this.videoId=O.videoId,this.T=O.Y);F&&(this.adCpn=F.clientPlaybackNonce,this.adVideoId=F.videoId,this.adFormat=F.adFormat);this.U=N;t<=0?(mwt(this),this.S=!H&&c===0):(this.actionType=this.S?H?"unknown_type":"video_to_ad":H?"ad_to_video":"ad_to_ad",this.videoStreamType=h?"VIDEO_STREAM_TYPE_LIVE":"VIDEO_STREAM_TYPE_VOD",this.actionType!=="unknown_type"&& +(this.L=!0,j_("_start",this.actionType)&&YqR(this)))}; +K$.prototype.reset=function(){return new K$(this.J)};g.k(gN,g.L);gN.prototype.addCueRange=function(N,H,c,t,h,O,F,M,f){O=O===void 0?3:O;F=F===void 0?1:F;this.T.has(N)?KA("Tried to register duplicate cue range",void 0,void 0,{CueRangeID:N}):(N=new RN3(N,H,c,t,O,M,f),this.T.set(N.id,{VF:N,listener:h,AI:F}),this.J.Q0([N],F))}; +gN.prototype.removeCueRange=function(N){var H=this.T.get(N);H?(this.J.UN([H.VF],H.AI),this.T.delete(H.VF.id)):KA("Requested to remove unknown cue range",void 0,void 0,{CueRangeID:N})}; +gN.prototype.onCueRangeEnter=function(N){if(this.T.has(N.id))this.T.get(N.id).listener.onCueRangeEnter(N.id)}; +gN.prototype.onCueRangeExit=function(N){if(this.T.has(N.id))this.T.get(N.id).listener.onCueRangeExit(N.id)}; +g.k(RN3,g.vn);rN.prototype.addPlayerResponseForAssociation=function(N){this.J.addPlayerResponseForAssociation(N)};mT.prototype.I0=function(N){this.J.I0(N)}; +mT.prototype.Xq=function(N){var H=g.LQ.apply(1,arguments);N==="onAdStart"||N==="onAdEnd"?this.J.vU.apply(this.J,[N].concat(g.HE(H))):this.J.QS.apply(this.J,[N].concat(g.HE(H)))};wN.prototype.fG=function(N){return N&&Wv(this)};var H0S=null;g.k(QQ,g.xo);QQ.prototype.IB=function(N){return this.T.hasOwnProperty(N)?this.T[N].IB():{}}; +g.Hw("ytads.bulleit.getVideoMetadata",function(N){return hi().IB(N)}); +g.Hw("ytads.bulleit.triggerExternalActivityEvent",function(N,H,c){var t=hi();c=cve(c);c!==null&&t.publish(c,{queryId:N,viewabilityString:H})});g.C=L$.prototype;g.C.F1=function(N,H){if(!this.T.has(N))return{};if(H==="seek"){H=!1;H=H===void 0?!1:H;var c=vQ(Jw).LD(N,{});c?e4(c):H&&(N=vQ(Jw).VK(null,UW(),!1,N),N.DG=3,l7t([N]));return{}}H=KlS(H);if(H===null)return{};var t=this.J.z$();if(!t)return{};var h=this.J.getPresentingPlayerType(!0);if((c=this.J.getVideoData(h))==null||!c.isAd())return{};c={opt_adElement:t,opt_fullscreen:this.k_.get().isFullscreen()};return dEy(H,N,c)}; +g.C.ri=function(N,H,c,t,h){this.T.has(N)&&(t<=0||h<=0||vQ(Jw).ri(N,H,c,t,h))}; +g.C.E_=function(N){var H;(H=this.T.get(N.queryId))==null||H.E_()}; +g.C.SR=function(N){var H;(H=this.T.get(N.queryId))==null||H.SR()}; +g.C.IV=function(N){var H;(H=this.T.get(N.queryId))==null||H.IV()}; +g.C.RV=function(N){var H;(H=this.T.get(N.queryId))==null||H.RV()}; +g.C.oV=function(N){var H;(H=this.T.get(N.queryId))==null||H.oV()};Jll.prototype.send=function(N,H,c,t){try{uUf(this,N,H,c,t===void 0?!1:t)}catch(h){}};g.k(buR,Jll);BDR.prototype.send=function(N,H,c,t){var h=!1;try{if(t==="ATTRIBUTION_SRC_MODE_LABEL_CHROME"||t==="ATTRIBUTION_SRC_MODE_XHR_OPTION")h=!0,N=Ox3(N);t=h;var O=g.jp(N);if(O[1]==="https")var F=N;else O[1]="https",F=Mn("https",O[2],O[3],O[4],O[5],O[6],O[7]);var M=jPl(F);O=[];var f=Aes(F)&&this.Rx.get().J.D().experiments.M4("add_auth_headers_to_remarketing_google_dot_com_ping");if(Md(F)||f)O.push({headerType:"USER_AUTH"}),O.push({headerType:"PLUS_PAGE_ID"}),O.push({headerType:"VISITOR_ID"}),O.push({headerType:"EOM_VISITOR_ID"}), +O.push({headerType:"AUTH_USER"}),O.push({headerType:"DATASYNC_ID"});this.T.send({baseUrl:F,scrubReferrer:M,headers:O},H,c,t)}catch(d){}};Zk.prototype.ER=function(){return this.J.ER(1)};g.k(u7,g.L);g.C=u7.prototype;g.C.sG=function(){return this.J.getVideoData(1).clientPlaybackNonce}; +g.C.addListener=function(N){this.listeners.push(N)}; +g.C.removeListener=function(N){this.listeners=this.listeners.filter(function(H){return H!==N})}; +g.C.yQ=function(){this.ob.clear();this.nk=null;this.tV.get().clear()}; +g.C.o9=function(){}; +g.C.kEl=function(N,H,c,t,h){H.videoId==="nPpU29QrbiU"&&this.J.Lq("ads_ssm_vdc_s",{pt:c,dvt:N});Wt(this.Rx.get())&&N!=="dataloaded"||Zw3(this,H,c);if(Wv(this.Rx.get())&&N==="newdata"&&h!==void 0){N=this.sG();var O=H.clientPlaybackNonce,F={};r0(this,"rte",(F.ec=O,F.xc=t==null?void 0:t.clientPlaybackNonce,F.tr=h,F.pt=c,F.ia=O!==N,F.ctp=w0(O),F));H=H.clientPlaybackNonce;t=t==null?void 0:t.clientPlaybackNonce;h=zfS(h);if(h!==1)if(t!==void 0)for(c=g.K(this.listeners),N=c.next();!N.done;N=c.next())N.value.dK(t, +H,h);else KA("Expected exiting CPN for all non initial transitions",void 0,void 0,{enteringCpn:H,transitionReason:String(h)});h=g.K(this.listeners);for(t=h.next();!t.done;t=h.next())t.value.jD(H)}}; +g.C.AnS=function(N,H){N!==void 0&&(this.nk=N,H===void 0?KA("Expected ad video start time on SS video changed"):this.ob.set(N,H));var c=this.J.getPresentingPlayerType(!0),t=this.J.getVideoData(c),h;N===void 0?h=null:h=this.tV.get().T.get(N)||null;this.J.getVideoData(1).Lq("ads_ssvc",{pt:c,cpn:t==null?void 0:t.clientPlaybackNonce,crtt:this.J.getCurrentTime(1,!1),atlh:this.J.isAtLiveHead(),adstt:H,pid:N,slid:h==null?void 0:h.layoutId});t?Zw3(this,t,c):KA("Expected video data on server stitched video changed", +void 0,void 0,{cpn:this.J.getVideoData(1).clientPlaybackNonce,timelinePlaybackId:N})}; +g.C.NQ=function(N,H){var c=N.author,t=N.clientPlaybackNonce,h=N.isListed,O=N.vr,F=N.title,M=N.oR,f=N.x8,d=N.isMdxPlayback,W=N.eY,z=N.mdxEnvironment,E=N.isAutonav,x=N.c_,q=N.LC,r=N.Fo,w=N.videoId||"",n=N.profilePicture||"",p=N.tU||"",U=N.Tu()||!1,X=N.vH()||!1;N=N.fS||void 0;O=this.tV.get().T.get(O)||{layoutId:null,slotId:null};var A=this.J.getVideoData(1),R=A.K4();A=A.getPlayerResponse();H=1E3*this.J.getDuration(H);var v=1E3*this.J.getDuration(1),Nf,Fe,tS=(A==null?void 0:(Nf=A.playerConfig)==null? +void 0:(Fe=Nf.daiConfig)==null?void 0:Fe.enableDai)||!1,jh,cL;Nf=(A==null?void 0:(jh=A.playerConfig)==null?void 0:(cL=jh.daiConfig)==null?void 0:cL.enablePreroll)||!1;return Object.assign({},O,{videoId:w,author:c,clientPlaybackNonce:t,g9:H,uR:v,daiEnabled:tS,Q6:Nf,isListed:h,K4:R,profilePicture:n,title:F,tU:p,oR:M,x8:f,fS:N,isMdxPlayback:d,eY:W,mdxEnvironment:z,isAutonav:E,c_:x,LC:q,Fo:r,Tu:U,vH:X})}; +g.C.Os=function(){this.listeners.length=0;this.Ow=null;g.L.prototype.Os.call(this)};g.k(Pd,g.L);g.C=Pd.prototype;g.C.yQ=function(){var N=this;Wv(this.Rx.get())||(this.T=W9(function(){N.J.uo()||N.J.ao("ad",1)}))}; +g.C.o9=function(){}; +g.C.addListener=function(N){this.listeners.push(N)}; +g.C.removeListener=function(N){this.listeners=this.listeners.filter(function(H){return H!==N})}; +g.C.t1=function(){}; +g.C.playVideo=function(){this.J.playVideo()}; +g.C.pauseVideo=function(){this.J.pauseVideo()}; +g.C.resumeVideo=function(N){this.PL(N)&&this.J.playVideo()}; +g.C.PL=function(N){return this.J.getPlayerState(N)===2}; +g.C.getCurrentTimeSec=function(N,H,c){var t=this.ea.get().nk;if(N===2&&!H&&t!==null)return f_(this,t);dy(this.Rx.get(),"html5_ssap_use_cpn_to_get_time")||(c=void 0);return c!==void 0?this.J.getCurrentTime(N,H,c):this.J.getCurrentTime(N,H)}; +g.C.getVolume=function(){return this.J.getVolume()}; +g.C.isMuted=function(){return this.J.isMuted()}; +g.C.getPresentingPlayerType=function(){return this.J.getPresentingPlayerType(!0)}; +g.C.getPlayerState=function(N){return this.J.getPlayerState(N)}; +g.C.getGetAdBreakContext=function(){return this.J.getGetAdBreakContext()}; +g.C.isFullscreen=function(){return this.J.isFullscreen()}; +g.C.isAtLiveHead=function(){return this.J.isAtLiveHead()}; +g.C.gg=function(N){this.J.gg(N)}; +g.C.glg=function(){var N=this.J.getPresentingPlayerType(!0),H=this.getCurrentTimeSec(N,!1);if(N===2){N=g.K(this.listeners);for(var c=N.next();!c.done;c=N.next())c.value.vR(H)}else if(N===1)for(N=g.K(this.CS),c=N.next();!c.done;c=N.next())c.value.t1(H)}; +g.C.Tks=function(N){for(var H=g.K(this.listeners),c=H.next();!c.done;c=H.next())c.value.jj(N,this.getPresentingPlayerType())}; +g.C.onFullscreenToggled=function(N){for(var H=g.K(this.listeners),c=H.next();!c.done;c=H.next())c.value.onFullscreenToggled(N)}; +g.C.onVolumeChange=function(){for(var N=g.K(this.listeners),H=N.next();!H.done;H=N.next())H.value.onVolumeChange()}; +g.C.pC=function(){for(var N=this.J.isMinimized(),H=g.K(this.listeners),c=H.next();!c.done;c=H.next())c.value.pC(N)}; +g.C.Fy=function(N){for(var H=g.K(this.listeners),c=H.next();!c.done;c=H.next())c.value.Fy(N)}; +g.C.Mc=function(){for(var N=this.J.BO().lR(),H=g.K(this.listeners),c=H.next();!c.done;c=H.next())c.value.UV(N)}; +g.C.aR=function(N){for(var H=g.K(this.listeners),c=H.next();!c.done;c=H.next())c.value.aR(N)}; +g.C.QQ=function(){for(var N=g.K(this.listeners),H=N.next();!H.done;H=N.next())H.value.QQ()};g.k(Bds,g.L);g.k(Q6,g.L);Q6.prototype.Os=function(){this.uW.uo()||this.uW.get().removeListener(this);g.L.prototype.Os.call(this)};Dk.prototype.fetch=function(N){var H=N.NK;return this.T.fetch(N.z9,{hE:N.hE===void 0?void 0:N.hE,VF:H,cueProcessedMs:N.cueProcessedMs===void 0?0:N.cueProcessedMs}).then(function(c){return f2R(c,H)})};g.k(ph,g.L);g.C=ph.prototype;g.C.addListener=function(N){this.listeners.push(N)}; +g.C.removeListener=function(N){this.listeners=this.listeners.filter(function(H){return H!==N})}; +g.C.Sr=function(N){JMy(this,N,1)}; +g.C.onAdUxClicked=function(N,H){LE(this,function(c){c.OI(N,H)})}; +g.C.gY=function(N){LE(this,function(H){H.xm(N)})}; +g.C.cE=function(N){LE(this,function(H){H.yp(N)})}; +g.C.fpl=function(N){LE(this,function(H){H.Oq(N)})};Ju.prototype.reduce=function(N){switch(N.event){case "unknown":return}var H=N.identifier;var c=this.T[H];c?H=c:(c={GO:null,Gc:-Infinity},H=this.T[H]=c);c=N.startSecs+N.T/1E3;if(!(c=this.T.startSecs&&c.startSecs<=this.T.startSecs+this.T.C6)){var t=void 0;if($s(this.Rx.get())&&c.identifier!==((t=this.T)==null?void 0:t.identifier)){var h=t=void 0,O=void 0,F=void 0;F6(this.Pp.get(),"ocud","ccpi."+c.identifier+";ccpe."+c.event+";ccps."+c.startSecs+";\n ccpd."+c.C6+";pcpi."+((t=this.T)==null?void 0:t.identifier)+ +";pcpe."+((h=this.T)==null?void 0:h.event)+";\n pcps."+((O=this.T)==null?void 0:O.startSecs)+";pcpd."+((F=this.T)==null?void 0:F.C6)+";")}t=void 0;c.identifier!==((t=this.T)==null?void 0:t.identifier)&&KA("Latest Endemic Live Web cue point overlaps with previous cue point")}else this.T=c,dOR(this,c)}}; +g.C.Os=function(){this.B!=null&&(this.B.unsubscribe("cuepointupdated",this.eN,this),this.B=null);this.listeners.length=0;this.XW.length=0;g.L.prototype.Os.call(this)};g.C=ST.prototype;g.C.LS=function(N,H,c,t,h,O,F,M){return this.J.LS(N,H,c,t,h,O,F,M)}; +g.C.Fa=function(N,H){this.J.Fa(N,H)}; +g.C.HY=function(N,H,c){this.J.HY(N,H,c)}; +g.C.eS=function(N){this.J.eS(N)}; +g.C.HC=function(N,H,c,t,h,O,F,M){this.J.HC(N,H,c,t,h,O,F,M)}; +g.C.gL=function(N){return this.J.gL(N)}; +g.C.finishSegmentByCpn=function(N,H,c){c=x0l(c);this.J.finishSegmentByCpn(N,H,c)};g.k(UP,g.L);g.k(aWt,g.L);g.k(e$w,g.L);g.k(v_d,g.L);g.k(s4s,g.L);g.k(KEe,g.L);g.k(fz,g.L);fz.prototype.L=function(){return this.B};g.k(zp,Ys); +zp.prototype.L=function(N){var H=N.content;if(H.componentType==="shopping-companion")switch(N.actionType){case 1:case 2:N=this.T.getVideoData(1);this.T.QS("updateKevlarOrC3Companion",{contentVideoId:N&&N.videoId,shoppingCompanionCarouselRenderer:H.renderer,layoutId:H.layoutId,macros:H.macros,onLayoutVisibleCallback:H.T,interactionLoggingClientData:H.interactionLoggingClientData});break;case 3:this.T.QS("updateKevlarOrC3Companion",{})}else if(H.componentType==="action-companion")switch(N.actionType){case 1:case 2:N=this.T.getVideoData(1); +this.T.QS("updateKevlarOrC3Companion",{contentVideoId:N&&N.videoId,actionCompanionAdRenderer:H.renderer,layoutId:H.layoutId,macros:H.macros,onLayoutVisibleCallback:H.T,interactionLoggingClientData:H.interactionLoggingClientData});break;case 3:H.renderer&&(H=this.T.getVideoData(1),this.T.QS("updateKevlarOrC3Companion",{contentVideoId:H&&H.videoId})),this.T.QS("updateKevlarOrC3Companion",{})}else if(H.componentType==="image-companion")switch(N.actionType){case 1:case 2:N=this.T.getVideoData(1);this.T.QS("updateKevlarOrC3Companion", +{contentVideoId:N&&N.videoId,imageCompanionAdRenderer:H.renderer,layoutId:H.layoutId,macros:H.macros,onLayoutVisibleCallback:H.T,interactionLoggingClientData:H.interactionLoggingClientData});break;case 3:H=this.T.getVideoData(1),this.T.QS("updateKevlarOrC3Companion",{contentVideoId:H&&H.videoId}),this.T.QS("updateKevlarOrC3Companion",{})}else if(H.componentType==="top-banner-image-text-icon-buttoned")switch(N.actionType){case 1:case 2:N=this.T.getVideoData(1);this.T.QS("updateKevlarOrC3Companion", +{contentVideoId:N&&N.videoId,topBannerImageTextIconButtonedLayoutViewModel:H.renderer,layoutId:H.layoutId,macros:H.macros,onLayoutVisibleCallback:H.T,interactionLoggingClientData:H.interactionLoggingClientData});break;case 3:H.renderer&&(H=this.T.getVideoData(1),this.T.QS("updateKevlarOrC3Companion",{contentVideoId:H&&H.videoId})),this.T.QS("updateKevlarOrC3Companion",{})}else if(H.componentType==="banner-image")switch(N.actionType){case 1:case 2:N=this.T.getVideoData(1);this.T.QS("updateKevlarOrC3Companion", +{contentVideoId:N&&N.videoId,bannerImageLayoutViewModel:H.renderer,layoutId:H.layoutId,macros:H.macros,onLayoutVisibleCallback:H.T,interactionLoggingClientData:H.interactionLoggingClientData});break;case 3:H=this.T.getVideoData(1),this.T.QS("updateKevlarOrC3Companion",{contentVideoId:H&&H.videoId}),this.T.QS("updateKevlarOrC3Companion",{})}else if(H.componentType==="ads-engagement-panel")switch(H=H.renderer,N.actionType){case 1:case 2:this.T.QS("updateEngagementPanelAction",H.addAction);this.T.QS("changeEngagementPanelVisibility", +H.expandAction);break;case 3:this.T.QS("changeEngagementPanelVisibility",H.hideAction),this.T.QS("updateEngagementPanelAction",H.removeAction)}else if(H.componentType==="ads-engagement-panel-layout"){var c=H.renderer;switch(N.actionType){case 1:case 2:this.T.QS("updateEngagementPanelAction",{action:d5(c.addAction),layoutId:H.layoutId,onLayoutVisibleCallback:H.T,interactionLoggingClientData:H.interactionLoggingClientData});this.T.QS("changeEngagementPanelVisibility",d5(c.expandAction));break;case 3:this.T.QS("changeEngagementPanelVisibility", +d5(c.hideAction)),this.T.QS("updateEngagementPanelAction",{action:d5(c.removeAction)})}}};g.k(jxD,J0);g.C=jxD.prototype;g.C.init=function(N,H,c){J0.prototype.init.call(this,N,H,c);g.eU(this.L,"stroke-dasharray","0 "+this.B);this.L.classList.add("ytp-ad-timed-pie-countdown-inner-light");this.S.classList.add("ytp-ad-timed-pie-countdown-outer-light");this.U.classList.add("ytp-ad-timed-pie-countdown-container-upper-right");this.show()}; +g.C.clear=function(){this.hide()}; +g.C.hide=function(){Ah(this);J0.prototype.hide.call(this)}; +g.C.show=function(){uG(this);J0.prototype.show.call(this)}; +g.C.rL=function(){this.hide()}; +g.C.Ny=function(){if(this.T){var N=this.T.getProgressState();N!=null&&N.current!=null&&g.eU(this.L,"stroke-dasharray",N.current/N.seekableEnd*this.B+" "+this.B)}};g.k(xWf,sE);g.C=xWf.prototype; +g.C.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);if(H.image&&H.image.thumbnail)if(H.headline)if(H.description)if(H.backgroundImage&&H.backgroundImage.thumbnail)if(H.actionButton&&g.P(H.actionButton,g.mM))if(N=H.durationMilliseconds||0,typeof N!=="number"||N<=0)g.BZ(Error("durationMilliseconds was specified incorrectly in AdActionInterstitialRenderer with a value of: "+N));else if(H.navigationEndpoint){var t=this.api.getVideoData(2);if(t!=null){var h=H.image.thumbnail.thumbnails;h!=null&& +h.length>0&&g.YY(g.vM(h[0].url))&&(h[0].url=t.profilePicture,g.YY(g.vM(t.profilePicture))&&kl3("VideoPlayer",239976093,"Expected non-empty profile picture."));h=H.backgroundImage.thumbnail.thumbnails;h!=null&&h.length>0&&g.YY(g.vM(h[0].url))&&(h[0].url=t.Ds());h=H.headline;h!=null&&g.YY(g.vM(h.text))&&(h.text=t.author)}this.Z.init(Gx("ad-image"),H.image,c);this.S.init(Gx("ad-text"),H.headline,c);this.L.init(Gx("ad-text"),H.description,c);this.vp.init(Gx("ad-image"),H.backgroundImage,c);t=["ytp-ad-action-interstitial-action-button", +"ytp-ad-action-interstitial-action-button-rounded"];this.slot.classList.add("ytp-ad-action-interstitial-slot-dark-background");this.S.element.classList.add("ytp-ad-action-interstitial-headline-light");this.L.element.classList.add("ytp-ad-action-interstitial-description-light");this.api.D().N("enable_default_mono_cta_migration_web_client")?t.push("ytp-ad-action-interstitial-action-button-mono-dark"):t.push("ytp-ad-action-interstitial-action-button-dark");this.api.D().B&&(t.push("ytp-ad-action-interstitial-action-button-mobile-companion-size"), +this.api.D().N("enable_default_mono_cta_migration_web_client")?t.push("ytp-ad-action-interstitial-action-button-mono-dark"):t.push("ytp-ad-action-interstitial-action-button-dark"));this.api.D().N("enable_unified_action_endcap_on_web")&&!this.api.D().B&&(this.api.D().N("enable_default_mono_cta_migration_web_client")?t.push("ytp-ad-action-interstitial-action-button-unified-mono"):t.push("ytp-ad-action-interstitial-action-button-unified"),this.Xg.classList.add("ytp-ad-action-interstitial-action-button-container-unified"), +this.Z.element.classList.add("ytp-ad-action-interstitial-image-unified"),this.Al.classList.add("ytp-ad-action-interstitial-background-container-unified"),this.D6.classList.add("ytp-ad-action-interstitial-card-unified"),this.Us.classList.add("ytp-ad-action-interstitial-description-container-unified"),this.L.element.classList.add("ytp-ad-action-interstitial-description-unified"),this.Ix.classList.add("ytp-ad-action-interstitial-headline-container-unified"),this.S.element.classList.add("ytp-ad-action-interstitial-headline-unified"), +this.gE.classList.add("ytp-ad-action-interstitial-image-container-unified"),this.Kq.classList.add("ytp-ad-action-interstitial-instream-info-unified"),this.slot.classList.add("ytp-ad-action-interstitial-slot-unified"));this.actionButton=new Mj(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,t);g.l(this,this.actionButton);this.actionButton.Jl(this.Xg);this.actionButton.init(Gx("button"),g.P(H.actionButton,g.mM),c);Ox(this.actionButton.element);t=tKZ(this.actionButton.element);UH(this.actionButton.element, +t+" This link opens in new tab");this.navigationEndpoint=H.navigationEndpoint;this.U.G(this.gE,"click",this.zI,this);this.U.G(this.Us,"click",this.zI,this);this.api.D().B||this.U.G(this.Ix,"click",this.zI,this);this.T=this.Qh?new e6(this.api,N):new o8(N);g.l(this,this.T);if(H.skipButton){(N=g.P(H.skipButton,JSR))&&this.T&&(this.skipButton=new qe(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.T,this.WP),g.l(this,this.skipButton),this.skipButton.Jl(this.element),this.skipButton.init(Gx("skip-button"), +N,c));if(c=H.adBadgeRenderer)if(c=g.P(c,ued))N=new EO(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,!0,!0),N.Jl(this.Kq),N.init(Gx("simple-ad-badge"),c,this.macros),g.l(this,N);if(c=H.adInfoRenderer)if(c=g.P(c,nW))N=new Sg(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.element,void 0,!0),N.Jl(this.Kq),N.init(Gx("ad-info-hover-text-button"),c,this.macros),g.l(this,N)}else H.nonskippableOverlayRenderer&&(N=g.P(H.nonskippableOverlayRenderer,BF))&&this.T&&(this.B= +new eK(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.T,!1),g.l(this,this.B),this.B.Jl(this.element),this.B.init(Gx("ad-preview"),N,c));H.countdownRenderer&&(H=H.countdownRenderer,g.P(H,ny4)&&this.T&&(c=new jxD(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.T),g.l(this,c),c.Jl(this.element),c.init(Gx("timed-pie-countdown"),g.P(H,ny4),this.macros)));this.show();this.element.focus()}else g.BZ(Error("AdActionInterstitialRenderer has no navigation endpoint.")); +else g.BZ(Error("AdActionInterstitialRenderer has no button."));else g.BZ(Error("AdActionInterstitialRenderer has no background AdImage."));else g.BZ(Error("AdActionInterstitialRenderer has no description AdText."));else g.BZ(Error("AdActionInterstitialRenderer has no headline AdText."));else g.BZ(Error("AdActionInterstitialRenderer has no image."))}; +g.C.clear=function(){g.bM(this.U);this.hide()}; +g.C.show=function(){H7R(!0);this.actionButton&&this.actionButton.show();this.skipButton&&this.skipButton.show();this.B&&this.B.show();sE.prototype.show.call(this)}; +g.C.hide=function(){H7R(!1);this.actionButton&&this.actionButton.hide();this.skipButton&&this.skipButton.hide();this.B&&this.B.hide();sE.prototype.hide.call(this)}; +g.C.zI=function(){this.navigationEndpoint&&(this.layoutId?this.yS.executeCommand(this.navigationEndpoint,this.layoutId):g.BZ(Error("Missing layoutId for ad action interstitial.")))};var Bv={iconType:"CLOSE"},Ns=new g.rv(320,63);g.k(YBf,sE);g.C=YBf.prototype; +g.C.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);this.U=H;this.Z=g.bX(this.U.onClickCommands||[]);this.Kq=this.U.onErrorCommand||null;if(N=this.U.contentSupportedRenderer)N=this.U.contentSupportedRenderer,H=this.U.adInfoRenderer||null,g.P(N,DfY)?(this.S=g.as("ytp-ad-overlay-ad-info-button-container",this.L.element),Pt(this,H),N=P9h(this,g.P(N,DfY))):g.P(N,Ql4)?(this.S=g.as("ytp-ad-overlay-ad-info-button-container",this.B.element),Pt(this,H),N=$3w(this,g.P(N,Ql4))):g.P(N,pLd)?(this.S=g.as("ytp-ad-overlay-ad-info-button-container", +this.T.element),Pt(this,H),N=UqS(this,g.P(N,pLd))):(g.BZ(Error("InvideoOverlayAdRenderer content could not be initialized.")),N=!1);N&&(this.show(),bny(this,!0))}; +g.C.clear=function(){bny(this,!1);this.gE.reset();this.Us=0;this.L.hide();this.logVisibility(this.L.element,!1);this.B.hide();this.logVisibility(this.B.element,!1);this.T.hide();this.logVisibility(this.T.element,!1);this.hide();this.dispose()}; +g.C.RAR=function(){this.Xg&&(this.layoutId?this.yS.executeCommand(this.Xg,this.layoutId):g.BZ(Error("Missing layoutId for invideo_overlay_ad.")));this.api.pauseVideo()}; +g.C.Wi=function(){a:{if(this.U&&this.U.closeButton&&this.U.closeButton.buttonRenderer){var N=this.U.closeButton.buttonRenderer;if(N.serviceEndpoint){N=[N.serviceEndpoint];break a}}N=[]}N=g.K(N);for(var H=N.next();!H.done;H=N.next())H=H.value,this.layoutId?this.yS.executeCommand(H,this.layoutId):g.BZ(Error("Missing layoutId for invideo_overlay_ad."));this.api.onAdUxClicked("in_video_overlay_close_button",this.layoutId)}; +g.C.pra=function(){this.vp||this.api.getPlayerState(1)!==2||this.api.playVideo()}; +g.C.wp=function(){this.vp||this.api.getPlayerState(1)!==2||this.api.playVideo();this.api.wp("invideo-overlay")}; +g.C.cNW=function(N){N.target===this.S&&g.as("ytp-ad-button",this.Al.element).click()};g.k(f1D,J0);g.C=f1D.prototype;g.C.init=function(N,H,c){J0.prototype.init.call(this,N,H,c);N=H.durationMs;this.L=N==null||N===0?0:N+this.T.getProgressState().current*1E3;if(H.text)var t=H.text.templatedAdText;else H.staticMessage&&(t=H.staticMessage);this.messageText.init(Gx("ad-text"),t,c);this.messageText.Jl(this.B.element);this.U.show(100);this.show()}; +g.C.clear=function(){this.hide()}; +g.C.hide=function(){NkD(this,!1);J0.prototype.hide.call(this);this.B.hide();this.messageText.hide();Ah(this)}; +g.C.show=function(){NkD(this,!0);J0.prototype.show.call(this);uG(this);this.B.show();this.messageText.show()}; +g.C.rL=function(){this.hide()}; +g.C.Ny=function(){if(this.T!=null){var N=this.T.getProgressState();N!=null&&N.current!=null&&(N=1E3*N.current,!this.Us&&N>=this.L?(this.U.hide(),this.Us=!0):this.messageText&&this.messageText.isTemplated()&&(N=Math.max(0,Math.ceil((this.L-N)/1E3)),N!==this.S&&(cas(this.messageText,{TIME_REMAINING:String(N)}),this.S=N)))}};g.k(ExS,sE);g.C=ExS.prototype; +g.C.init=function(N,H,c){sE.prototype.init.call(this,N,H,{});H.image&&H.image.thumbnail?H.headline?H.description?H.actionButton&&g.P(H.actionButton,g.mM)?(this.L.init(Gx("ad-image"),H.image,c),this.B.init(Gx("ad-text"),H.headline,c),this.U.init(Gx("ad-text"),H.description,c),this.actionButton=new Mj(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,["ytp-ad-underlay-action-button"]),H.backgroundColor&&g.eU(this.element,"background-color",g.v7(H.backgroundColor)),g.l(this,this.actionButton), +this.actionButton.Jl(this.S),this.actionButton.init(Gx("button"),g.P(H.actionButton,g.mM),c),N=g.Mx(this.api.D().experiments,"player_underlay_video_width_fraction"),this.api.D().N("place_shrunken_video_on_left_of_player")?(H=this.T,g.nH(H,"ytp-ad-underlay-left-container"),g.bV(H,"ytp-ad-underlay-right-container"),g.eU(this.T,"margin-left",Math.round((N+.02)*100)+"%")):(H=this.T,g.nH(H,"ytp-ad-underlay-right-container"),g.bV(H,"ytp-ad-underlay-left-container")),g.eU(this.T,"width",Math.round((1-N- +.04)*100)+"%"),this.api.Ox()&&this.show(),this.api.addEventListener("playerUnderlayVisibilityChange",this.O1.bind(this)),this.api.addEventListener("resize",this.hX.bind(this))):g.BZ(Error("InstreamAdPlayerUnderlayRenderer has no button.")):g.BZ(Error("InstreamAdPlayerUnderlayRenderer has no description AdText.")):g.BZ(Error("InstreamAdPlayerUnderlayRenderer has no headline AdText.")):g.BZ(Error("InstreamAdPlayerUnderlayRenderer has no image."))}; +g.C.show=function(){lht(!0);this.actionButton&&this.actionButton.show();sE.prototype.show.call(this)}; +g.C.hide=function(){lht(!1);this.actionButton&&this.actionButton.hide();sE.prototype.hide.call(this)}; +g.C.clear=function(){this.api.removeEventListener("playerUnderlayVisibilityChange",this.O1.bind(this));this.api.removeEventListener("resize",this.hX.bind(this));this.hide()}; +g.C.onClick=function(N){sE.prototype.onClick.call(this,N);this.actionButton&&g.m5(this.actionButton.element,N.target)&&this.api.pauseVideo()}; +g.C.O1=function(N){N==="transitioning"?(this.T.classList.remove("ytp-ad-underlay-clickable"),this.show()):N==="visible"?this.T.classList.add("ytp-ad-underlay-clickable"):N==="hidden"&&(this.hide(),this.T.classList.remove("ytp-ad-underlay-clickable"))}; +g.C.hX=function(N){N.width>1200?(this.actionButton.element.classList.add("ytp-ad-underlay-action-button-large"),this.actionButton.element.classList.remove("ytp-ad-underlay-action-button-medium")):N.width>875?(this.actionButton.element.classList.add("ytp-ad-underlay-action-button-medium"),this.actionButton.element.classList.remove("ytp-ad-underlay-action-button-large")):(this.actionButton.element.classList.remove("ytp-ad-underlay-action-button-large"),this.actionButton.element.classList.remove("ytp-ad-underlay-action-button-medium")); +g.eU(this.B.element,"font-size",N.width/40+"px")};g.k(Dt,sE); +Dt.prototype.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);H.toggledLoggingParams&&(this.toggledLoggingParams=H.toggledLoggingParams);H.answer&&g.P(H.answer,g.mM)?(N=new Mj(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,["ytp-ad-survey-answer-button"],"survey-single-select-answer-button"),N.Jl(this.answer),N.init(Gx("ytp-ad-survey-answer-button"),g.P(H.answer,g.mM),c),N.show()):H.answer&&g.P(H.answer,KC)&&(this.T=new cF(this.api,this.layoutId,this.interactionLoggingClientData,this.yS, +["ytp-ad-survey-answer-toggle-button"]),this.T.Jl(this.answer),g.l(this,this.T),this.T.init(Gx("survey-answer-button"),g.P(H.answer,KC),c));this.show()}; +Dt.prototype.QK=function(N){this.layoutId?zH(this.yS,N,this.layoutId,this.macros):(N=new g.ti("There is undefined layoutId when calling the runCommand method.",{componentType:this.componentType}),g.BZ(N))}; +Dt.prototype.onClick=function(N){sE.prototype.onClick.call(this,N);if(this.api.D().N("supports_multi_step_on_desktop")&&this.index!==null)this.onSelected(this.index)}; +Dt.prototype.clear=function(){this.hide()};g.k(FKl,sE);FKl.prototype.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);H.answer&&g.P(H.answer,KC)&&(this.button=new cF(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,["ytp-ad-survey-answer-toggle-button","ytp-ad-survey-none-of-the-above-button"]),this.button.Jl(this.T),this.button.init(Gx("survey-none-of-the-above-button"),g.P(H.answer,KC),c));this.show()};g.k(fR,Mj);fR.prototype.init=function(N,H,c){Mj.prototype.init.call(this,N,H,c);N=!1;H.text&&(H=g.Fu(H.text),N=!g.YY(H));N||g.aS(Error("No submit text was present in the renderer."))}; +fR.prototype.onClick=function(N){this.publish("l");Mj.prototype.onClick.call(this,N)};g.k(xJ,sE); +xJ.prototype.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);if(N=H.skipOrPreviewRenderer)g.P(N,Ts)?(N=g.P(N,Ts),c=new ne(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.U,!0),c.Jl(this.skipOrPreview),c.init(Gx("skip-button"),N,this.macros),g.l(this,c),this.T=c):g.P(N,BF)&&(N=g.P(N,BF),c=new eK(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.U,!1),c.Jl(this.skipOrPreview),c.init(Gx("ad-preview"),N,this.macros),c.Us.show(100),c.show(),g.l(this,c), +this.T=c);this.T==null&&(N=Error("ISAPOR.skipOrPreviewRenderer was not initialized properly.ISAPOR: "+JSON.stringify(H)),g.BZ(N));H.submitButton&&(N=H.submitButton,g.P(N,g.mM)&&(N=g.P(N,g.mM),c=new fR(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),c.Jl(this.submitButton),c.init(Gx("survey-submit"),N,this.macros),g.l(this,c),this.B=c));if(N=H.adBadgeRenderer)N=g.P(N,ued),c=new EO(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,!0,!0,!0),c.Jl(this.L),c.init(Gx("simple-ad-badge"), +N,this.macros),this.adBadge=c.element,g.l(this,c);if(N=H.adDurationRemaining)N=g.P(N,rSc),c=new V6(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.U,void 0,!0),c.Jl(this.L),c.init(Gx("ad-duration-remaining"),N,this.macros),g.l(this,c);(H=H.adInfoRenderer)&&g.P(H,nW)&&(N=new Sg(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.element,void 0,!0),g.l(this,N),this.adBadge!==void 0?this.L.insertBefore(N.element,this.adBadge.nextSibling):N.Jl(this.L),N.init(Gx("ad-info-hover-text-button"), +g.P(H,nW),this.macros));this.show()}; +xJ.prototype.clear=function(){this.hide()};g.k(IN,sE);IN.prototype.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);CXe(this)}; +IN.prototype.show=function(){this.L=Date.now();sE.prototype.show.call(this)}; +IN.prototype.yA=function(){};g.k(t5,IN);g.C=t5.prototype;g.C.init=function(N,H,c){var t=this;IN.prototype.init.call(this,N,H,c);H.questionText&&ckR(this,H.questionText);H.answers&&H.answers.forEach(function(h,O){g.P(h,CC)&&HOt(t,g.P(h,CC),c,O)}); +this.S=new Set(this.B.map(function(h){return h.T.T})); +(N=H.noneOfTheAbove)&&(N=g.P(N,wL7))&&WFD(this,N,c);H.surveyAdQuestionCommon&&qrv(this,H.surveyAdQuestionCommon);H.submitEndpoints&&(this.submitEndpoints=H.submitEndpoints);this.G(this.element,"change",this.onChange);this.show()}; +g.C.yA=function(){e_(this,!1);this.U.B.subscribe("l",this.O2q,this)}; +g.C.onChange=function(N){N.target===this.noneOfTheAbove.button.T?RDR(this):this.S.has(N.target)&&(this.noneOfTheAbove.button.toggleButton(!1),e_(this,!0))}; +g.C.O2q=function(){var N=[],H=this.B.reduce(function(h,O,F){var M=O.toggledLoggingParams;O.T&&O.T.isToggled()&&M&&(h.push(M),N.push(F));return h},[]).join("&"),c=this.submitEndpoints.map(function(h){if(!h.loggingUrls)return h; +h=g.DY(h);h.loggingUrls=h.loggingUrls.map(function(O){O.baseUrl&&(O.baseUrl=Oc(O.baseUrl,H));return O}); +return h}); +if(c){c=g.K(c);for(var t=c.next();!t.done;t=c.next())t=t.value,this.layoutId?zH(this.yS,t,this.layoutId,this.macros):g.BZ(Error("Missing layoutId for multi_select_question."))}this.api.D().N("supports_multi_step_on_desktop")&&this.Us(N)}; +g.C.clear=function(){this.api.D().N("enable_hide_on_clear_in_survey_question_bulleit")?this.hide():this.dispose()};g.k(SA,IN);SA.prototype.init=function(N,H,c){var t=this;IN.prototype.init.call(this,N,H,c);H.questionText&&ckR(this,H.questionText);H.answers&&H.answers.forEach(function(h,O){g.P(h,CC)&&HOt(t,g.P(h,CC),c,O)}); +H.surveyAdQuestionCommon?qrv(this,H.surveyAdQuestionCommon):gM(Error("SurveyAdQuestionCommon was not sent.SingleSelectQuestionRenderer: "+JSON.stringify(H)));this.show()}; +SA.prototype.clear=function(){this.api.D().N("enable_hide_on_clear_in_survey_question_bulleit")?this.hide():this.dispose()};g.k(WD,sE);WD.prototype.init=function(N,H,c){var t=this;sE.prototype.init.call(this,N,H,c);if(this.api.D().N("supports_multi_step_on_desktop")){var h;this.conditioningRules=(h=H.conditioningRules)!=null?h:[];var O;this.B=(O=H.questions)!=null?O:[];var F;((F=H.questions)==null?0:F.length)&&sPy(this,0)}else(H.questions||[]).forEach(function(M){g.P(M,e1)?eMt(t,g.P(M,e1),c):g.P(M,aI)&&q9d(t,g.P(M,aI),c)}); +this.show()}; +WD.prototype.clear=function(){this.api.D().N("enable_hide_on_clear_in_survey_question_bulleit")?this.hide():(this.hide(),this.dispose())}; +WD.prototype.U=function(N){var H=this;if(this.api.D().N("supports_multi_step_on_desktop")){var c;if((c=this.conditioningRules)==null?0:c.length){var t;if(N.length===0)this.api.onAdUxClicked("ad-action-submit-survey",this.layoutId);else if(this.conditioningRules.find(function(h){return h.questionIndex===H.T})==null)g.BZ(Error("Expected conditioning rule(s) for survey question.")),this.api.onAdUxClicked("ad-action-submit-survey",this.layoutId); +else if(this.conditioningRules.forEach(function(h){if(h.questionIndex===H.T)switch(h.condition){case "CONDITION_ALL_OF":var O;if((O=h.answerIndices)==null?0:O.every(function(M){return N.includes(M)}))t=h.nextQuestionIndex; +break;case "CONDITION_ANY_OF":var F;if((F=h.answerIndices)==null?0:F.some(function(M){return N.includes(M)}))t=h.nextQuestionIndex; +break;default:g.BZ(Error("Expected specified condition in survey conditioning rules."))}}),t!=null)sPy(this,t); +else this.api.onAdUxClicked("ad-action-submit-survey",this.layoutId)}else this.questions.length>1&&g.BZ(Error("No conditioning rules, yet survey is multi step. Expected questions.length to be 1.")),this.api.onAdUxClicked("ad-action-submit-survey",this.layoutId)}};g.k(yJ,sE); +yJ.prototype.init=function(N,H,c){var t=this;sE.prototype.init.call(this,N,H,c);N=H.timeoutSeconds||0;if(typeof N!=="number"||N<0)g.BZ(Error("timeoutSeconds was specified incorrectly in SurveyTextInterstitialRenderer with a value of: "+N));else if(H.timeoutCommands)if(H.text)if(H.ctaButton&&g.P(H.ctaButton,g.mM))if(H.brandImage)if(H.backgroundImage&&g.P(H.backgroundImage,fE)&&g.P(H.backgroundImage,fE).landscape){this.layoutId||g.BZ(Error("Missing layoutId for survey interstitial."));Vms(this.interstitial,g.P(H.backgroundImage, +fE).landscape);Vms(this.logoImage,H.brandImage);g.ed(this.text,g.Fu(H.text));var h=["ytp-ad-survey-interstitial-action-button"];h.push("ytp-ad-survey-interstitial-action-button-rounded");this.actionButton=new Mj(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,h);g.l(this,this.actionButton);this.actionButton.Jl(this.B);this.actionButton.init(Gx("button"),g.P(H.ctaButton,g.mM),c);this.actionButton.show();this.T=new e6(this.api,N*1E3);this.T.subscribe("g",function(){t.transition.hide()}); +g.l(this,this.T);this.G(this.element,"click",function(O){var F=O.target===t.interstitial;O=t.actionButton.element.contains(O.target);if(F||O)if(t.transition.hide(),F)t.api.onAdUxClicked(t.componentType,t.layoutId)}); +this.transition.show(100)}else g.BZ(Error("SurveyTextInterstitialRenderer has no landscape background image."));else g.BZ(Error("SurveyTextInterstitialRenderer has no brandImage."));else g.BZ(Error("SurveyTextInterstitialRenderer has no button."));else g.BZ(Error("SurveyTextInterstitialRenderer has no text."));else g.BZ(Error("timeoutSeconds was specified yet no timeoutCommands where specified"))}; +yJ.prototype.clear=function(){this.hide()}; +yJ.prototype.show=function(){Qef(!0);sE.prototype.show.call(this)}; +yJ.prototype.hide=function(){Qef(!1);sE.prototype.hide.call(this)};g.k(G5,J0);g.C=G5.prototype; +g.C.init=function(N,H){J0.prototype.init.call(this,N,H,{});if(H.durationMilliseconds){if(H.durationMilliseconds<0){g.BZ(Error("DurationMilliseconds was specified incorrectly in AdPreview with a value of: "+H.durationMilliseconds));return}this.B=H.durationMilliseconds}else this.B=this.T.D1();var c;if((c=H.previewText)==null||!c.text||g.YY(H.previewText.text))g.BZ(Error("No text is returned for AdPreview."));else{this.S=H.previewText;H.previewText.isTemplated||g.ed(this.L,H.previewText.text);var t; +if(((t=this.api.getVideoData(1))==null?0:t.uj)&&H.previewImage){var h,O;(N=((O=jby(((h=H.previewImage)==null?void 0:h.sources)||[],52,!1))==null?void 0:O.url)||"")&&N.length?(this.previewImage=new g.lL({W:"img",K:"ytp-preview-ad__image",V:{src:"{{imageUrl}}"}}),this.previewImage.updateValue("imageUrl",N),g.l(this,this.previewImage),this.previewImage.Jl(this.element)):g.BZ(Error("Failed to get imageUrl in AdPreview."))}else this.L.classList.add("ytp-preview-ad__text--padding--wide")}}; +g.C.clear=function(){this.hide()}; +g.C.hide=function(){Ah(this);J0.prototype.hide.call(this)}; +g.C.show=function(){uG(this);J0.prototype.show.call(this)}; +g.C.rL=function(){this.hide()}; +g.C.Ny=function(){if(this.T){var N=this.T.getProgressState();if(N!=null&&N.current)if(N=1E3*N.current,N>=this.B)this.transition.hide();else{var H;if((H=this.S)==null?0:H.isTemplated)if(H=Math.max(0,Math.ceil((this.B-N)/1E3)),H!==this.U){var c,t;(N=(c=this.S)==null?void 0:(t=c.text)==null?void 0:t.replace("{TIME_REMAINING}",String(H)))&&g.ed(this.L,N);this.U=H}}}};g.k(Pv,sE); +Pv.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});var c,t;if((N=((t=jby(((c=H.image)==null?void 0:c.sources)||[],AEf(H),!0))==null?void 0:t.url)||"")&&N.length){c=this.Sa("ytp-ad-avatar");c.src=N;var h,O;if(t=(h=H.interaction)==null?void 0:(O=h.accessibility)==null?void 0:O.label)c.alt=t;switch(H.size){case "AD_AVATAR_SIZE_XXS":this.element.classList.add("ytp-ad-avatar--size-xxs");break;case "AD_AVATAR_SIZE_XS":this.element.classList.add("ytp-ad-avatar--size-xs");break;case "AD_AVATAR_SIZE_S":this.element.classList.add("ytp-ad-avatar--size-s"); +break;case "AD_AVATAR_SIZE_M":this.element.classList.add("ytp-ad-avatar--size-m");break;case "AD_AVATAR_SIZE_L":this.element.classList.add("ytp-ad-avatar--size-l");break;case "AD_AVATAR_SIZE_XL":this.element.classList.add("ytp-ad-avatar--size-xl");break;case "AD_AVATAR_SIZE_RESPONSIVE":this.element.classList.add("ytp-ad-avatar--size-responsive");break;default:this.element.classList.add("ytp-ad-avatar--size-m")}switch(H.style){case "AD_AVATAR_STYLE_ROUNDED_CORNER":this.element.classList.add("ytp-ad-avatar--rounded-corner"); +break;default:this.element.classList.add("ytp-ad-avatar--circular")}}else g.BZ(Error("Failed to get imageUrl in AdAvatar."))}; +Pv.prototype.clear=function(){this.hide()}; +Pv.prototype.onClick=function(N){sE.prototype.onClick.call(this,N)};g.k(zO,sE); +zO.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});var c;N=(c=H.label)==null?void 0:c.content;if((c=N!=null&&!g.YY(N))||H.iconImage){c&&(this.buttonText=new g.lL({W:"span",K:"ytp-ad-button-vm__text",Wp:N}),g.l(this,this.buttonText),this.buttonText.Jl(this.element));var t,h,O=((t=H.interaction)==null?0:(h=t.accessibility)==null?0:h.label)||c?N:"";O&&UH(this.element,O+" This link opens in new tab");Ox(this.element);if(H.iconImage){t=void 0;if(H.iconImage){a:{h=H.iconImage;if(h.sources)for(h= +g.K(h.sources),N=h.next();!N.done;N=h.next())if(N=N.value,O=void 0,(O=N.clientResource)==null?0:O.imageName){h=N;break a}h=void 0}if(h){var F;t={iconType:(F=h.clientResource)==null?void 0:F.imageName}}}F=G_(t,!1,this.B);F!=null&&(this.buttonIcon=new g.lL({W:"span",K:"ytp-ad-button-vm__icon",X:[F]}),g.l(this,this.buttonIcon),H.iconLeading?(PH(this.element,this.buttonIcon.element,0),this.buttonIcon.element.classList.add("ytp-ad-button-vm__icon--leading")):c?(this.buttonIcon.Jl(this.element),this.buttonIcon.element.classList.add("ytp-ad-button-vm__icon--trailing")): +(this.buttonIcon.Jl(this.element),this.element.classList.add("ytp-ad-button-vm--icon-only")))}switch(H.style){case "AD_BUTTON_STYLE_TRANSPARENT":this.element.classList.add("ytp-ad-button-vm--style-transparent");break;case "AD_BUTTON_STYLE_FILLED_WHITE":this.element.classList.add("ytp-ad-button-vm--style-filled-white");break;case "AD_BUTTON_STYLE_MONO_FILLED":this.element.classList.add("ytp-ad-button-vm--style-mono-filled");break;case "AD_BUTTON_STYLE_FILLED":this.api.N("delhi_modern_web_player")? +this.element.classList.add("ytp-ad-button-vm--style-filled-white"):this.element.classList.add(this.T?"ytp-ad-button-vm--style-filled-dark":"ytp-ad-button-vm--style-filled");break;default:this.element.classList.add("ytp-ad-button-vm--style-filled")}switch(H.size){case "AD_BUTTON_SIZE_COMPACT":this.element.classList.add("ytp-ad-button-vm--size-compact");break;case "AD_BUTTON_SIZE_LARGE":this.element.classList.add("ytp-ad-button-vm--size-large");break;default:this.element.classList.add("ytp-ad-button-vm--size-default")}}else g.aS(Error("AdButton does not have label or an icon."))}; +zO.prototype.clear=function(){this.hide()}; +zO.prototype.onClick=function(N){sE.prototype.onClick.call(this,N)};g.k(UA,J0);g.C=UA.prototype; +g.C.init=function(N,H){J0.prototype.init.call(this,N,H,{});if(N=g.P(H.avatar,W8)){var c=H.headline;if(c){var t=H.description;if(t){var h=g.P(H.button,EQ);h?(this.adAvatar.init(Gx("ad-avatar"),N),this.headline.init(Gx("ad-simple-attributed-string"),new PY(c)),this.description.init(Gx("ad-simple-attributed-string"),new PY(t)),c.content&&c.content.length>20&&this.description.element.classList.add("ytp-ad-avatar-lockup-card__description--hidden--in--small--player"),this.adButton.init(Gx("ad-button"),h), +this.startMilliseconds=H.startMs||0,this.api.Ox()||this.show(),this.api.addEventListener("playerUnderlayVisibilityChange",this.lP.bind(this)),uG(this)):g.BZ(Error("No AdButtonViewModel is returned in PlayerAdAvatarLockupCardButtonedViewModel."))}else g.BZ(Error("No description is returned in PlayerAdAvatarLockupCardButtonedViewModel."))}else g.BZ(Error("No headline is returned in PlayerAdAvatarLockupCardButtonedViewModel."))}else g.BZ(Error("No AdAvatarViewModel is returned in PlayerAdAvatarLockupCardButtonedViewModel."))}; +g.C.Ny=function(){if(this.T){var N=this.T.getProgressState();N&&N.current&&1E3*N.current>=this.startMilliseconds&&(Ah(this),this.element.classList.remove("ytp-ad-avatar-lockup-card--inactive"))}}; +g.C.rL=function(){this.clear()}; +g.C.onClick=function(N){this.api.pauseVideo();J0.prototype.onClick.call(this,N)}; +g.C.clear=function(){this.hide();this.api.removeEventListener("playerUnderlayVisibilityChange",this.lP.bind(this))}; +g.C.show=function(){this.adAvatar.show();this.headline.show();this.description.show();this.adButton.show();J0.prototype.show.call(this)}; +g.C.hide=function(){this.adAvatar.hide();this.headline.hide();this.description.hide();this.adButton.hide();J0.prototype.hide.call(this)}; +g.C.lP=function(N){N==="hidden"?this.show():this.hide()};g.k(vp,sE);g.C=vp.prototype; +g.C.init=function(N,H){sE.prototype.init.call(this,N,H,{});if(!H.label||g.YY(H.label))g.BZ(Error("No label is returned for SkipAdButton."));else if(g.ed(this.U,H.label),N=G_({iconType:"SKIP_NEXT_NEW"},!1,!1,this.api.N("delhi_modern_web_player_icons")),N==null)g.BZ(Error("Unable to retrieve icon for SkipAdButton"));else if(this.L=new g.lL({W:"span",K:"ytp-skip-ad-button__icon",X:[N]}),g.l(this,this.L),this.L.Jl(this.element),this.api.D().experiments.M4("enable_skip_to_next_messaging")&&(H=g.vM(H.targetId)))this.B= +!0,this.element.setAttribute("data-tooltip-target-id",H),this.element.setAttribute("data-tooltip-target-fixed","")}; +g.C.onClick=function(N){N&&N.preventDefault();var H,c;WRw(N,{contentCpn:(c=(H=this.api.getVideoData(1))==null?void 0:H.clientPlaybackNonce)!=null?c:""})===0?this.api.QS("onAbnormalityDetected"):(sE.prototype.onClick.call(this,N),this.api.QS("onAdSkip"),this.api.onAdUxClicked(this.componentType,this.layoutId))}; +g.C.clear=function(){this.T.reset();this.hide()}; +g.C.hide=function(){sE.prototype.hide.call(this)}; +g.C.show=function(){this.T.start();sE.prototype.show.call(this);this.B&&this.api.D().experiments.M4("enable_skip_to_next_messaging")&&this.api.publish("showpromotooltip",this.element)};g.k(t0D,J0);g.C=t0D.prototype; +g.C.init=function(N,H){J0.prototype.init.call(this,N,H,{});N=g.P(H.preskipState,ZsR);var c;if((c=this.api.getVideoData())==null?0:c.isDaiEnabled()){if(!N){g.BZ(Error("No AdPreviewViewModel is returned in SkipAdViewModel."));return}this.B=new G5(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.T);g.l(this,this.B);this.B.Jl(this.element);var t;(t=this.B)==null||t.init(Gx("preview-ad"),N);(c=this.B)!=null&&(c.transition.show(100),c.show())}(c=g.P(H.skippableState,AS5))?(H.skipOffsetMilliseconds!= +null?this.skipOffsetMilliseconds=H.skipOffsetMilliseconds:(g.aS(Error("No skipOffsetMilliseconds is returned in SkipAdViewModel.")),this.skipOffsetMilliseconds=5E3),this.L.init(Gx("skip-button"),c),this.show()):g.BZ(Error("No SkipAdButtonViewModel is returned in SkipAdViewModel."))}; +g.C.show=function(){uG(this);J0.prototype.show.call(this)}; +g.C.hide=function(){!this.isSkippable&&this.B?this.B.hide():this.L&&this.L.hide();Ah(this);J0.prototype.hide.call(this)}; +g.C.clear=function(){var N;(N=this.B)==null||N.clear();this.L&&this.L.clear();Ah(this);J0.prototype.hide.call(this)}; +g.C.rL=function(){this.hide()}; +g.C.Ny=function(){if(1E3*this.T.getProgressState().current>=this.skipOffsetMilliseconds&&!this.isSkippable){this.isSkippable=!0;var N;(N=this.B)!=null&&N.transition.hide();(N=this.L)!=null&&(N.transition.show(),N.show())}};g.k(H$,sE); +H$.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});if(H.label){var c;((c=H.label)==null?0:c.content)&&!g.YY(H.label.content)&&(this.linkText=new g.lL({W:"span",K:"ytp-visit-advertiser-link__text",Wp:H.label.content}),g.l(this,this.linkText),this.linkText.Jl(this.element));var t,h;if((t=H.interaction)==null?0:(h=t.accessibility)==null?0:h.label)UH(this.element,H.interaction.accessibility.label+" This link opens in new tab");else{var O;((O=H.label)==null?0:O.content)&&!g.YY(H.label.content)&&UH(this.element, +H.label.content+" This link opens in new tab")}Ox(this.element);this.element.setAttribute("tabindex","0");this.show()}else g.BZ(Error("No label found in VisitAdvertiserLink."))}; +H$.prototype.onClick=function(N){sE.prototype.onClick.call(this,N);this.api.onAdUxClicked(this.componentType,this.layoutId)}; +H$.prototype.clear=function(){this.hide()};g.k(vv,sE); +vv.prototype.init=function(N,H,c,t){sE.prototype.init.call(this,N,H,{});if(H.skipOrPreview){c=H.skipOrPreview;N=g.P(c,adl);c=g.P(c,ZsR);if(N)this.Ya=new t0D(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.B),g.l(this,this.Ya),this.Ya.Jl(this.Z),this.Ya.init(Gx("skip-ad"),N);else{var h;c&&((h=this.api.getVideoData())==null?0:h.isDaiEnabled())&&(this.U=new G5(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.B,1),g.l(this,this.U),this.U.Jl(this.Z),this.U.init(Gx("ad-preview"), +c),h=this.U,h.transition.show(100),h.show())}if(h=g.P(H.skipOrPreview,adl))var O=h.skipOffsetMilliseconds}H.playerAdCard&&(h=g.P(H.playerAdCard,Yvg))&&(this.playerAdCard=new UA(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.B),g.l(this,this.playerAdCard),this.playerAdCard.Jl(this.Ix),this.playerAdCard.init(Gx("ad-avatar-lockup-card"),h));H.adBadgeRenderer&&((h=g.P(H.adBadgeRenderer,zg))?(this.L=new IJ(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,!0),g.l(this, +this.L),this.L.Jl(this.T),this.L.init(Gx("ad-badge"),h)):g.BZ(Error("AdBadgeViewModel is not found in player overlay layout.")));H.adPodIndex&&(h=g.P(H.adPodIndex,UfZ))&&(this.adPodIndex=new gg(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,this.adPodIndex),this.adPodIndex.Jl(this.T),this.adPodIndex.init(Gx("ad-pod-index"),h));H.adInfoRenderer&&((h=g.P(H.adInfoRenderer,nW))?(this.adInfoButton=new Sg(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.element, +void 0,!0),g.l(this,this.adInfoButton),this.L!==void 0?this.T.insertBefore(this.adInfoButton.element,this.L.element.nextSibling):this.adInfoButton.Jl(this.T),this.adInfoButton.init(Gx("ad-info-hover-text-button"),h,this.macros)):g.aS(Error("AdInfoRenderer is not found in player overlay layout.")));var F;h=(F=this.api.getVideoData())==null?void 0:F.isDaiEnabled();H.adDurationRemaining&&h&&(F=g.P(H.adDurationRemaining,rSc))&&(this.adDurationRemaining=new V6(this.api,this.layoutId,this.interactionLoggingClientData, +this.yS,this.B,t.videoAdDurationSeconds,!0),g.l(this,this.adDurationRemaining),this.adPodIndex!==void 0?this.T.insertBefore(this.adDurationRemaining.element,this.adPodIndex.element.nextSibling):this.adDurationRemaining.Jl(this.T),this.adDurationRemaining.init(Gx("ad-duration-remaining"),F,this.macros),this.adDurationRemaining.element.classList.add("ytp-ad-duration-remaining-autohide"));H.visitAdvertiserLink&&(t=g.P(H.visitAdvertiserLink,vy4))&&(this.visitAdvertiserLink=new H$(this.api,this.layoutId, +this.interactionLoggingClientData,this.yS),g.l(this,this.visitAdvertiserLink),this.visitAdvertiserLink.Jl(this.T),this.visitAdvertiserLink.init(Gx("visit-advertiser-link"),t));H.adDisclosureBanner&&(H=g.P(H.adDisclosureBanner,Pw5))&&(this.adDisclosureBanner=new RK(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,this.adDisclosureBanner),this.adDisclosureBanner.Jl(this.Us),this.adDisclosureBanner.init(Gx("ad-disclosure-banner"),H));this.S=new RW(this.api,this.B,O,!0);g.l(this, +this.S);g.aG(this.api,this.S.element,4);this.show()}; +vv.prototype.clear=function(){this.hide()};g.k(u9,sE);g.C=u9.prototype; +g.C.init=function(N,H){sE.prototype.init.call(this,N,H,{});if(H!=null&&H.title)if(N=H.title)if(this.headline.init(Gx("ad-simple-attributed-string"),new PY(N)),N=g.P(H.moreInfoButton,EQ)){if(this.moreInfoButton.init(Gx("ad-button"),N),H.descriptions)H.descriptions.length>0&&(N=H.descriptions[0])&&(this.T=new pD(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,this.T),this.T.Jl(this.element.getElementsByClassName("ytp-ad-grid-card-text__metadata__description__line")[0]),this.T.init(Gx("ad-simple-attributed-string"), +new PY(N))),H.descriptions.length>1&&(H=H.descriptions[1])&&(this.B=new pD(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,this.B),this.B.Jl(this.element.getElementsByClassName("ytp-ad-grid-card-text__metadata__description__line")[1]),this.B.init(Gx("ad-simple-attributed-string"),new PY(H)))}else g.BZ(Error("No AdButtonViewModel is returned in AdGridCardText."));else g.BZ(Error("No headline found in AdGridCardText."));else g.BZ(Error("No headline found in AdGridCardText."))}; +g.C.onClick=function(N){sE.prototype.onClick.call(this,N);this.api.pauseVideo();this.api.onAdUxClicked(this.componentType,this.layoutId)}; +g.C.clear=function(){this.hide();this.headline.clear();this.moreInfoButton.clear();var N;(N=this.T)==null||N.clear();var H;(H=this.B)==null||H.clear()}; +g.C.hide=function(){this.headline.hide();this.moreInfoButton.hide();var N;(N=this.T)==null||N.hide();var H;(H=this.B)==null||H.hide();sE.prototype.hide.call(this)}; +g.C.show=function(){sE.prototype.show.call(this);this.headline.show();this.moreInfoButton.show();var N;(N=this.T)==null||N.show();var H;(H=this.B)==null||H.show()};g.k(Wq,sE);Wq.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});if(H!=null&&H.gridCards)if(H.style!=="AD_GRID_CARD_COLLECTION_STYLE_FIXED_ONE_COLUMN")g.BZ(Error("Only single column style is currently supported in AdGridCardCollection."));else for(N=g.K(H.gridCards),H=N.next();!H.done;H=N.next()){if(H=g.P(H.value,LDZ)){var c=new u9(this.api,this.layoutId,this.interactionLoggingClientData,this.yS);g.l(this,c);c.Jl(this.element);c.init(Gx("ad-grid-card-text"),H);this.T.push(c)}}else g.BZ(Error("No grid cards found in AdGridCardCollection."))}; +Wq.prototype.show=function(){for(var N=g.K(this.T),H=N.next();!H.done;H=N.next())H.value.show();sE.prototype.show.call(this)}; +Wq.prototype.clear=function(){this.hide();for(var N=g.K(this.T),H=N.next();!H.done;H=N.next())H.value.clear()}; +Wq.prototype.hide=function(){for(var N=g.K(this.T),H=N.next();!H.done;H=N.next())H.value.hide();sE.prototype.hide.call(this)};g.k(dp,J0);g.C=dp.prototype;g.C.init=function(N,H,c,t,h){h=h===void 0?0:h;J0.prototype.init.call(this,N,H,c,t);this.playerProgressOffsetMs=h;uG(this);this.api.addEventListener("playerUnderlayVisibilityChange",this.Ct.bind(this));this.api.addEventListener("resize",this.Rm.bind(this));this.api.Ox()?(this.B=!0,this.api.gg(!0),this.show()):this.hide()}; +g.C.Ny=function(){if(this.T){var N=this.T.getProgressState();N&&N.current&&!this.B&&1E3*N.current>=this.playerProgressOffsetMs&&(this.B=!0,this.api.gg(!0),this.show())}}; +g.C.rL=function(){this.B&&this.api.gg(!1);this.hide()}; +g.C.clear=function(){this.api.gg(!1);this.api.removeEventListener("playerUnderlayVisibilityChange",this.Ct.bind(this));this.api.removeEventListener("resize",this.Rm.bind(this));Ah(this);this.hide()}; +g.C.hide=function(){nYl(!1);J0.prototype.hide.call(this)}; +g.C.show=function(){nYl(!0);J0.prototype.show.call(this)};g.k(Ez,dp);g.C=Ez.prototype; +g.C.init=function(N,H,c,t){if(H!=null&&H.adGridCardCollection)if(H!=null&&H.adButton){var h=Number(H.playerProgressOffsetMs||"0");isNaN(h)?dp.prototype.init.call(this,N,H,c,t):dp.prototype.init.call(this,N,H,c,t,h);N=H.headline;c=g.P(H.adAvatar,W8);N&&c?(this.headline=new pD(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,this.headline),this.headline.Jl(this.Sa("ytp-display-underlay-text-grid-cards__content_container__header__headline")),this.headline.init(Gx("ad-simple-attributed-string"),new PY(N)), +this.adAvatar=new Pv(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,this.adAvatar),this.adAvatar.Jl(this.Sa("ytp-display-underlay-text-grid-cards__content_container__header__ad_avatar")),this.adAvatar.init(Gx("ad-avatar"),c)):this.U.classList.remove("ytp-display-underlay-text-grid-cards__content_container__header");N=g.P(H.adGridCardCollection,Vh7);this.adGridCardCollection.init(Gx("ad-grid-card-collection"),N);H=g.P(H.adButton,EQ);this.adButton.init(Gx("ad-button"),H); +this.hide()}else g.BZ(Error("No button found in DisplayUnderlayTextGridCardsLayout."));else g.BZ(Error("No grid cards found in DisplayUnderlayTextGridCardsLayout."))}; +g.C.onClick=function(N){(this.adButton&&g.m5(this.adButton.element,N.target)||this.adAvatar&&g.m5(this.adAvatar.element,N.target))&&this.api.pauseVideo();dp.prototype.onClick.call(this,N);this.api.onAdUxClicked(this.componentType,this.layoutId)}; +g.C.Rm=function(){}; +g.C.clear=function(){this.hide();var N;(N=this.headline)==null||N.clear();var H;(H=this.adAvatar)==null||H.clear();this.adGridCardCollection.clear();this.adButton.clear();dp.prototype.clear.call(this)}; +g.C.show=function(){var N;(N=this.headline)==null||N.show();var H;(H=this.adAvatar)==null||H.show();this.adGridCardCollection.show();this.adButton.show();dp.prototype.show.call(this)}; +g.C.hide=function(){var N;(N=this.headline)==null||N.hide();var H;(H=this.adAvatar)==null||H.hide();this.adGridCardCollection.hide();this.adButton.hide();dp.prototype.hide.call(this)}; +g.C.Ct=function(N){N==="transitioning"?(this.L.classList.remove("ytp-ad-underlay-clickable"),this.show()):N==="visible"?this.L.classList.add("ytp-ad-underlay-clickable"):N==="hidden"&&(this.hide(),this.L.classList.remove("ytp-ad-underlay-clickable"))};g.k(eY,sE); +eY.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});if(H.attributes===void 0)g.BZ(Error("No attributes found in AdDetailsLineViewModel."));else if(H.style===void 0)g.BZ(Error("No style found in AdDetailsLineViewModel."));else{N=g.K(H.attributes);for(var c=N.next();!c.done;c=N.next())if(c=c.value,c.text!==void 0){c=c.text;var t=H.style,h=new pD(this.api,this.layoutId,this.interactionLoggingClientData,this.yS);g.l(this,h);h.Jl(this.element);a:switch(t){case "AD_DETAILS_LINE_STYLE_RESPONSIVE":t="ytp-ad-details-line__text--style-responsive"; +break a;default:t="ytp-ad-details-line__text--style-standard"}h.element.classList.add(t);h.init(Gx("ad-simple-attributed-string"),new PY(c));this.T.push(h)}this.show()}}; +eY.prototype.show=function(){this.T.forEach(function(N){N.show()}); +sE.prototype.show.call(this)}; +eY.prototype.clear=function(){this.hide()}; +eY.prototype.hide=function(){this.T.forEach(function(N){N.hide()}); +sE.prototype.hide.call(this)};g.k(tt,sE);tt.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});var c,t;(N=((t=jby(((c=H.image)==null?void 0:c.sources)||[]))==null?void 0:t.url)||"")&&N.length?(c=this.Sa("ytp-image-background-image"),g.eU(c,"backgroundImage","url("+N+")"),H.blurLevel!==void 0&&g.eU(c,"filter","blur("+H.blurLevel+"px)"),H.gradient!==void 0&&(H=new g.e({W:"div",fq:["ytp-image-background--gradient-vertical"]}),g.l(this,H),H.Jl(this.element)),this.show()):g.BZ(Error("Failed to get imageUrl in ImageBackground."))}; +tt.prototype.clear=function(){this.hide()};g.k(nN,J0);g.C=nN.prototype;g.C.init=function(N,H){J0.prototype.init.call(this,N,H,{});g.eU(this.L,"stroke-dasharray","0 "+this.B);this.show()}; +g.C.clear=function(){this.hide()}; +g.C.hide=function(){Ah(this);J0.prototype.hide.call(this)}; +g.C.show=function(){uG(this);J0.prototype.show.call(this)}; +g.C.rL=function(){this.hide()}; +g.C.Ny=function(){if(this.T){var N=this.T.getProgressState();N!=null&&N.current!=null&&g.eU(this.L,"stroke-dasharray",N.current/N.seekableEnd*this.B+" "+this.B)}};g.k(hz,sE); +hz.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});if(wks(H)){this.adAvatar=new Pv(this.api,this.layoutId,this.interactionLoggingClientData,this.yS);g.l(this,this.adAvatar);this.adAvatar.Jl(this.Sa("ytp-video-interstitial-buttoned-centered-layout__content__lockup__ad-avatar-container"));this.adAvatar.init(Gx("ad-avatar"),g.P(H.adAvatar,W8));this.headline=new pD(this.api,this.layoutId,this.interactionLoggingClientData,this.yS);g.l(this,this.headline);this.headline.Jl(this.Sa("ytp-video-interstitial-buttoned-centered-layout__content__lockup__headline-container"));this.headline.element.classList.add("ytp-video-interstitial-buttoned-centered-layout__content__lockup__headline"); +this.headline.init(Gx("ad-simple-attributed-string"),new PY(H.headline));if(N=g.P(H.adDetailsLine,SvZ))this.detailsLine=new eY(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,this.detailsLine),this.detailsLine.Jl(this.Sa("ytp-video-interstitial-buttoned-centered-layout__content__lockup__details-line-container")),this.detailsLine.init(Gx("ad-details-line"),N);this.adButton=new zO(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,!0);g.l(this,this.adButton); +this.adButton.Jl(this.Sa("ytp-video-interstitial-buttoned-centered-layout__content__lockup__ad-button-container"));this.adButton.init(Gx("ad-button"),g.P(H.adButton,EQ));this.adBadge=new IJ(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,!0);g.l(this,this.adBadge);this.adBadge.Jl(this.U);this.adBadge.init(Gx("ad-badge"),g.P(H.adBadge,zg));this.adInfoButton=new Sg(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.element,void 0,!0);g.l(this,this.adInfoButton);this.adInfoButton.Jl(this.U); +this.adInfoButton.init(Gx("ad-info-hover-text-button"),g.P(H.adInfoRenderer,nW),this.macros);if(N=g.P(H.skipAdButton,AS5))this.skipAdButton=new vp(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,this.skipAdButton),this.skipAdButton.Jl(this.element),this.skipAdButton.init(Gx("skip-button"),N);this.B=new o8(H.durationMilliseconds);g.l(this,this.B);if(N=g.P(H.countdownViewModel,eZg))this.T=new nN(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.B),g.l(this, +this.T),this.T.Jl(this.Sa("ytp-video-interstitial-buttoned-centered-layout__timed-pie-countdown-container")),this.T.init(Gx("timed-pie-countdown"),N);if(H=g.P(H.imageBackground,XLY))this.imageBackground=new tt(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,this.imageBackground),this.imageBackground.Jl(this.element),this.imageBackground.element.classList.add("ytp-video-interstitial-buttoned-centered-layout__background-image-container"),this.imageBackground.init(Gx("image-background"), +H);this.show();this.element.focus()}}; +hz.prototype.clear=function(){g.bM(this.L);this.hide()}; +hz.prototype.show=function(){AfD(!0);this.adAvatar&&this.adAvatar.show();this.headline&&this.headline.show();this.adButton&&this.adButton.show();this.skipAdButton&&this.skipAdButton.show();sE.prototype.show.call(this)}; +hz.prototype.hide=function(){AfD(!1);this.adAvatar&&this.adAvatar.hide();this.headline&&this.headline.hide();this.adButton&&this.adButton.hide();this.detailsLine&&this.detailsLine.hide();this.adBadge&&this.adBadge.hide();this.adInfoButton&&this.adInfoButton.hide();this.skipAdButton&&this.skipAdButton.hide();this.T&&this.T.hide();this.imageBackground&&this.imageBackground.hide();sE.prototype.hide.call(this)};g.k(hw,g.xo);g.C=hw.prototype;g.C.D1=function(){return 1E3*this.api.getDuration(this.AI,!1)}; +g.C.stop=function(){this.T&&this.handler.G3(this.T)}; +g.C.Dp=function(){var N=this.api.getProgressState(this.AI);this.B={seekableStart:N.seekableStart,seekableEnd:N.seekableEnd,current:this.api.getCurrentTime(this.AI,!1)};this.publish("h")}; +g.C.getProgressState=function(){return this.B}; +g.C.T5=function(N){g.tC(N,2)&&this.publish("g")};var W6g="ad-attribution-bar ad-channel-thumbnail advertiser-name ad-preview ad-title skip-button visit-advertiser".split(" ").concat("shopping-companion action-companion image-companion ads-engagement-panel ads-engagement-panel-layout banner-image top-banner-image-text-icon-buttoned".split(" "));g.k(We,Ys); +We.prototype.L=function(N){var H=N.id,c=N.content,t=c.componentType;if(!W6g.includes(t))switch(N.actionType){case 1:N=this.api;var h=this.yS,O=c.layoutId,F=c.interactionLoggingClientData,M=c instanceof gm?c.Qh:!1,f=c instanceof gm||c instanceof WJ?c.WP:!1;F=F===void 0?{}:F;M=M===void 0?!1:M;f=f===void 0?!1:f;switch(t){case "invideo-overlay":N=new YBf(N,O,F,h);break;case "player-overlay":N=new eJ(N,O,F,h,new hw(N),f);break;case "player-overlay-layout":N=new vv(N,O,F,h,new hw(N));break;case "survey":N= +new WD(N,O,F,h);break;case "ad-action-interstitial":N=new xWf(N,O,F,h,M,f);break;case "video-interstitial-buttoned-centered":N=new hz(N,O,F,h);break;case "survey-interstitial":N=new yJ(N,O,F,h);break;case "ad-message":N=new f1D(N,O,F,h,new hw(N,1));break;case "player-underlay":N=new ExS(N,O,F,h);break;case "display-underlay-text-grid-cards":N=new Ez(N,O,F,h,new hw(N));break;default:N=null}if(!N){g.aS(Error("No UI component returned from ComponentFactory for type: "+t));break}g.Ln(this.components, +H)?g.aS(Error("Ad UI component already registered: "+H)):this.components[H]=N;N.bind(c);c instanceof qje?this.B?this.B.append(N.p9):g.aS(Error("Underlay view was not created but UnderlayRenderer was created")):this.U.append(N.p9);break;case 2:H=fwR(this,N);if(H==null)break;H.bind(c);break;case 3:c=fwR(this,N),c!=null&&(g.ez(c),g.Ln(this.components,H)?(c=this.components,H in c&&delete c[H]):g.aS(Error("Ad UI component does not exist: "+H)))}}; +We.prototype.Os=function(){g.an(Object.values(this.components));this.components={};Ys.prototype.Os.call(this)};g.k(EZ,g.wK);g.C=EZ.prototype;g.C.create=function(){try{cdw(this),this.load(),this.created=!0,cdw(this)}catch(N){KA(N instanceof Error?N:String(N))}}; +g.C.load=function(){try{xrs(this)}finally{Wv(V1(this.T).FE)&&this.player.ao("ad",1)}}; +g.C.destroy=function(){var N=this.player.getVideoData(1);this.T.T.rW.o9(N&&N.clientPlaybackNonce||"");this.unload();this.created=!1}; +g.C.unload=function(){g.wK.prototype.unload.call(this);try{this.player.getRootNode().classList.remove("ad-created")}catch(H){KA(H instanceof Error?H:String(H))}if(this.B!=null){var N=this.B;this.B=null;N.dispose()}this.L.reset()}; +g.C.cM=function(){return!1}; +g.C.getAdState=function(){return-1}; +g.C.getOptions=function(){return Object.values(dKx)}; +g.C.LO=function(N,H){H=H===void 0?{}:H;switch(N){case "replaceUrlMacros":return N=H,N.url?(H=Ceh(this.player),Object.assign(H,N.Og_),N=g.P4(N.url,H)):N=null,N;case "onAboutThisAdPopupClosed":this.B_(H);break;case "executeCommand":N=H;N.command&&N.layoutId&&this.executeCommand(N);break;default:return null}}; +g.C.Lp=function(N){var H;return!((H=this.T.T.jg)==null||!H.get().Lp(N))}; +g.C.B_=function(N){N.isMuted&&IMy(V1(this.T).RU,V1(this.T).Ga,N.layoutId);this.Mv&&this.Mv.B_()}; +g.C.executeCommand=function(N){V1(this.T).yS.executeCommand(N.command,N.layoutId)};g.Hw("yt.player.Application.create",g.KU.create);g.Hw("yt.player.Application.createAlternate",g.KU.create);yKl(g5(),f34);var zJx=g.NA("ytcsi.tick");zJx&&zJx("pe");g.xZ("ad",EZ);g.k(g.zI,g.L);g.zI.prototype.start=function(N,H,c){this.config={from:N,to:H,duration:c,startTime:(0,g.Lh)()};this.next()}; +g.zI.prototype.stop=function(){this.delay.stop();this.config=void 0}; +g.zI.prototype.next=function(){if(this.config){var N=this.config,H=N.from,c=N.to,t=N.duration;N=N.startTime;var h=(0,g.Lh)()-N;N=this.T;t=$OL(N,h/t);if(t==0)N=N.C;else if(t==1)N=N.Z;else{h=UG(N.C,N.S,t);var O=UG(N.S,N.Y,t);N=UG(N.Y,N.Z,t);h=UG(h,O,t);O=UG(O,N,t);N=UG(h,O,t)}N=g.Ae(N,0,1);this.callback(H+(c-H)*N);N<1&&this.delay.start()}};g.k(g.ur,g.e);g.C=g.ur.prototype;g.C.hasSuggestions=function(){return this.suggestionData.length>0}; +g.C.ih=function(){this.B&&this.scrollTo(this.scrollPosition-this.containerWidth)}; +g.C.show=function(){g.e.prototype.show.call(this);EiL(this)}; +g.C.B8=function(){this.B&&this.scrollTo(this.scrollPosition+this.containerWidth)}; +g.C.J2=function(){this.Mc(this.api.BO().getPlayerSize())}; +g.C.Mc=function(N){var H=this.api.isEmbedsShortsMode()?.5625:16/9,c=this.api.J3();N=N.width-(c?112:58);c=Math.ceil(N/(c?320:192));var t=(N-c*8)/c;H=Math.floor(t/H);for(var h=g.K(this.T),O=h.next();!O.done;O=h.next())O=O.value.Sa("ytp-suggestion-image"),O.style.width=t+"px",O.style.height=H+"px";this.suggestions.element.style.height=H+"px";this.U=t;this.C=H;this.containerWidth=N;this.columns=c;this.scrollPosition=0;this.suggestions.element.scrollLeft=-0;g.um(this)}; +g.C.onVideoDataChange=function(){var N=this.api.D(),H=this.api.getVideoData();this.S=H.Uc?!1:N.U;this.suggestionData=H.suggestions?g.WL(H.suggestions,function(c){return c&&!c.playlistId}):[]; +l_L(this);H.Uc?this.title.update({title:g.Df("More videos from $DNI_RELATED_CHANNEL",{DNI_RELATED_CHANNEL:H.author})}):this.title.update({title:this.api.isEmbedsShortsMode()?"More shorts":"More videos"})}; +g.C.scrollTo=function(N){N=g.Ae(N,this.containerWidth-this.suggestionData.length*(this.U+8),0);this.Y.start(this.scrollPosition,N,1E3);this.scrollPosition=N;g.um(this);EiL(this)};})(_yt_player); diff --git a/packages/main/1761673707376-player-script.js b/packages/main/1761673707376-player-script.js new file mode 100644 index 0000000000..47018e6730 --- /dev/null +++ b/packages/main/1761673707376-player-script.js @@ -0,0 +1,14052 @@ +var _yt_player={};(function(g){var window=this;/* + + Copyright The Closure Library Authors. + SPDX-License-Identifier: Apache-2.0 +*/ +/* + + Copyright Google LLC + SPDX-License-Identifier: Apache-2.0 +*/ +/* + + (The MIT License) + + Copyright (C) 2014 by Vitaly Puzrin + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + + ----------------------------------------------------------------------------- + Ported from zlib, which is under the following license + https://github.com/madler/zlib/blob/master/zlib.h + + zlib.h -- interface of the 'zlib' general purpose compression library + version 1.2.8, April 28th, 2013 + Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + The data format used by the zlib library is described by RFCs (Request for + Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950 + (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format). +*/ +/* + + Copyright Google LLC All Rights Reserved. + + Use of this source code is governed by an MIT-style license that can be + found in the LICENSE file at https://angular.dev/license +*/ +/* + + Copyright 2015-present Dan Abramov + SPDX-License-Identifier: MIT +*/ +'use strict';var T="cmo=;set;length;call;slice;path;T;scheme;/file/index.m3u8;,;get;\\.googlevideo\\.com$;Untrusted URL;hf;B;startsWith;;L;/initplayback;redirector.googlevideo.com;:;clone;splice;=;U;push;unshift;url;/api/manifest;uG;assign;toString;reverse;fromCharCode;youtube.player.web_20251026_00_RC00;rr;pop;\\.a1\\.googlevideo\\.com$;undefined;fvip;local;tD;split;indexOf;file;r;shift;prototype;IJ;s;playerfallback;index.m3u8;1;join;1970-01-01T04:45:45.000+04:45;match;1969-12-31T13:59:16.000-11:45;a1.googlevideo.com;{,,/;%3D;https://local;n;http://local;/videoplayback;cmo=td;/;1969-12-31T17:15:19.000-06:45;d_3n3b;rr?[1-9].*\\.c\\.youtube\\.com$;signatureCipher;cmo=pf;&;---;1970-01-01T03:46:21.000+03:45;replace;mn;Nh;://;?;cmo;JK;fallback_count;forEach;sp;www.youtube.com;S;pX;1969-12-31T13:45:05.000-10:15;1969-12-31T12:46:23.000-11:15;mhRyFke0_vQoZ8B3uD-_w8_;//".split(";"), +NtZ,hS,z3,Ev,thZ,hZt,Cs,mD,OsS,FD3,jls,mY,Qd,u5,S7,fd3,dfy,s4,zZR,Cwh,jr,ld3,gyd,rSe,qk,D8,wLh,nA,uel,JSt,nyv,y3,Pww,H2,c2,hO,Vhh,LDL,Zst,$I,Te,Yvs,add,sly,W2,Cq,ySe,G3l,m6,D3,nq,NRd,AO,a0,v2,igs,Ge,I0,N1,OS,t7D,h4R,FYl,M1,$5t,dr,ES,M7s,q1,d5v,z4v,ph,x5t,US,el,vE,BE,yz,q4t,llt,be,Tr,f6,wZl,D5h,WV,pLR,zr,pZv,ucl,S4l,U5L,XZw,Jn,PV,ZgZ,L6,Y4l,alw,e4v,si,kg,rr,Gxs,R4f,odL,IlR,bgf,Oq,$9,iAv,c8D,MA,fv,zS,trl,$k3,j_h,pv,Mrf,JGw,f8l,zHS,Eof,xks,qCt,vw,GS,goe,r8s,Fs,wWR,yZ,dd,qf,Ea,BRf,m1,pWZ,uG3,J8R,Ve,Li, +A8h,a4,sa,Ba,BGZ,R4,RHS,I4,bu,MN,An,f2,de,WP,F43,Hqe,pg,iqs,cOv,tOL,hJs,ge,DE,uM,Tiy,f3v,dK3,W6s,zJ3,PP,EIv,xKd,XC,K6e,rOe,e4,se,Ha,SfR,PJZ,UKw,Hq,VOt,$W,TO,ZqD,fM,Ez,YfS,wp,DX,Q$,pM,JK,Bit,X0,ZX,AK,RJl,ep,Hhv,ihl,Nj,tB,hmD,FF,$T,TH,Oht,fR,E7,Fxd,lj,KR,wP,fyh,Wxe,LR,AB,aU,iV,em,vQ,y2,GH,RU,a_,gR3,ri3,IU,m1h,D1s,gp,HX,iY,QSw,cX,pEl,uzw,hv,OE,JiL,$Q,nRs,SSe,PeZ,U1f,L6Z,cV,Lxf,Zhs,qa,CV,Ait,gm,ayL,emD,yis,G8e,oRs,k8f,St,Nvd,vX,i6e,yJ,hnh,O6w,$bL,dbD,WEf,zns,Eg3,KEe,ggd,mbZ,dG,Fq,wVL,DbR,jt,u7s,JnD,LZ, +OP,Yn,Ah,Vev,aE,e6,i7,AnR,kn,IE,bS,Bvs,ynt,DB,Grd,RnS,ogy,Hvd,ivd,cZD,tzs,hav,gh,fe3,zaS,Qv,uX,UL,XZ,E93,xAS,ZT,AA,eF,rZe,wwD,s0t,JZt,cf,t0,n9v,SqZ,PNh,ng,VzD,kI,MS,dn,Wf,mi,aee,wn,BKl,ne,SB,Pf,xbR,Xt,Vi,GSv,Uq,RaD,ni,vf,o9R,kSR,s3,yi,Iev,NdD,Hiv,RF,oF,bb,cCD,cB,hV,$U,T9,Ma,$wR,j4L,qJ,vRv,CJS,rJ,fWZ,W1S,z$D,pQ,uW,E_h,Sa,j6,V0,qah,Cuv,lWs,K1h,g_e,y0,rCD,mwt,TX,yCe,wu,GXh,un,kXL,bih,Jy,nU,Pg,Ney,VH,i2e,YQ,htS,$NR,gn,sh,fED,G_,RN,oN,kZ,IN,bn,xNs,H_,Wq,qef,iL,CMw,c_,lE3,KGs,gLL,t1,wPd,DNd,Qfd,fB,pPR, +nLS,W_,xv,Sed,qG,hK,UNe,rF,Rte,oLl,j4,IEZ,b2S,NpR,k_,nB,cKZ,tp3,Xu,$n3,ec,fXy,dnD,WyR,zbt,kv,EWL,xnR,qze,rKt,mne,K$,wqw,hM,Q2S,pqs,JKR,SzZ,C6,PVv,cs,Ta,Bd,Xqy,Vpl,LyS,Uy,d5,ebt,WT,vWd,Ed,C4,lT,g5,w5,kOf,p4,JM,IXd,HRt,iRL,al,tmZ,FuZ,TPh,PT,L4,SO,aL,BT,Mml,zyd,p6,he,TU,fw,xjR,Wn,q73,xD,sdS,Cw,li,lYe,Qq,gTl,rBt,x_,w7,Djy,pw,ui,Je,QUL,JBs,Pn,XW,ar,Vms,sU,Mle,aYw,vTL,sUD,BPD,or,cJ,oTR,tp,IYS,Nms,hp,A$,iVy,M0,dO,WJ,zW,cve,RmR,ET,ttv,jQ3,Mtd,f7w,das,zR,n4,z9e,EQZ,xaS,yk,l7t,Kr3,RQ,JvL,HZ,nQv,SEv,Uae,XXe, +Vtf,Lrd,ST,O8,nTv,FA,$7,Mm,AvR,a7s,lV,zo,E8,oow,Fz,Une,qm,sQZ,Dj,BmR,yvD,oQy,pk,O$f,n$,jih,WTe,Zj,aH,en,HMs,xVS,Bm,QdD,C7Z,RH,lky,Nz,ghL,Dk,r1t,mVD,OX,wdd,Tu,jd,Mz,o2,fc,vT,Qiy,pdv,uPt,xb,Cc,lf,Kc,rl,SPZ,ml,Ds,Fye,pc,Sz,A1d,UX,eOt,Zs,vh3,Yb,lX,AW,sit,BN3,y1e,sX,ROd,oh3,Sc,OZR,FZd,yr,Gu,$CS,M6h,os,ZS,dCl,bf,Eny,xCw,H$,$fS,qnS,mCf,vB,DCe,T6,QEv,u_s,W$,vJ,LZ3,lC,rY,n2,YnZ,uC,AhR,aBD,UI,euy,Zi,BXs,v$,yhS,Gys,yP,bZv,Nhd,HKS,iKh,cAh,tFw,hsv,bC,OKs,Ffl,H5,jOS,MFw,tz,GL,CVL,gnL,Vr,IG,hz,dYZ,FD,WfD,xY3,rnv, +CXe,gYL,mYv,T$,jG,MF,fa,DYt,d1,W5,EW,xq,qF,uZ3,JAv,nYl,SLR,Ka,mk,w1,Q_,Lfw,P5,ZKL,V_,YLR,vnZ,AAD,Az,V6t,a9,aTy,Qi,esR,B5,y_,e9s,sOZ,G$,Bhe,R9,o9,is,c9,tq,k0R,Uf,nc,NnS,tBt,hvt,FiR,$Sl,W9,KuR,Tnf,aO,EG,MBv,qp,z$,voR,CH,KH,dSs,WiL,ry,mR,zvy,EGl,Dw,q3L,Q1,pH,Cbs,us,l6l,KiR,P9,gGt,XE,xwy,r0y,Y8,Rn,Aq,pfl,a3,uty,z0,nGD,B9,S3d,Pbh,USe,Lih,Zev,Y3l,bs,RO,HU,A0R,cU,xW,vGh,hD,OH,sFZ,Gjd,jD,f5,qPf,RvL,oGv,EH,kjZ,KA,K5,eO,Dt,NJS,H6s,HQv,uyf,UH,iQy,Oiw,tal,hel,va,nK,fu,BU,$JS,kr,Ce,TJ3,Nd,dJh,H7,Mk,Ii,gY,WQd, +xJ3,J8,CWS,yKl,KQy,h2,FI,xY,gUt,Md,mJ3,wBw,E9,uVt,ic,rD,wQt,UJf,mp,XBv,Iv,SA,XI,VW,Fh,Lx,ZK,eq,aOd,A2,s_y,vUd,syt,GV,oZ,Hn,IOv,Nul,t7,Na,jQ,cyL,Fg,tQS,hRR,T5,$xe,jNR,MQv,rh,q_,lfy,K8v,lr,ryl,mxR,rM,dNe,Od,AC,DC,wgZ,bc,J7,VP,nN,P3,RRt,oZe,ej,ndZ,xr,bUh,G5,Ra,oa,pst,NFh,Ia,br,wD,wm,E$,N4,HH,r5,cH,iBD,n_R,hs,I2,Qyh,$Gd,CA3,j2,Mcl,jc,dT,WML,zdh,CLf,EJ,lSS,KMv,q4,EUD,lTR,Sp,gT,mt,mGL,QAh,uu3,u9,JHt,S2,S$e,PH,PLt,XT,Bps,LMv,AHD,edD,sAd,vH,sJ,vW,yHt,Rd3,kbs,Rh,b6L,TV,ISy,oh,rO,px,Oz,i4h,b9,jn,h7y,cM,FqZ, +$Dd,hL,O2,jLR,$O,Wqw,z7h,E$Z,xDL,qdl,ad,Is,qB,bN,Cl,DDL,e$w,pTe,JL,S_,PM,JMy,U2,XK,sGS,V6,Ll,n$Z,Gfh,AL,ou,PTw,XTy,KM,e_,s2,VqZ,Lql,BM,uY,YW,y6,Gm,Ydv,Iq,k8,Nt,QI,TNl,Hv,e73,Pq,Iyv,sL3,hR,B5D,OA,yMD,fe,zuw,js,R7h,F6,kaS,IcS,Zw,EA,b4s,N7D,fcs,Hw3,m$,twZ,wj,D$,h3R,uCD,pT,dN,T73,jry,JR,ASw,Mwe,f$,Z6,UA,X5,ky,rP,Vc,tqs,W0d,AR,es,vv,lbD,K0t,yc,GD,gDw,r1,reD,m$D,Rw,ow,ZV,Jed,nDR,SUl,iH,Pid,nT,cx,L0S,Zw3,av,Aes,jGL,sry,Wx,zY,B73,iiw,yeS,GUd,R33,Ec,oD3,kUS,Ibs,aq,lH,qi,bwl,gQv,g0,NOy,Hu3,D_,iu3,Qu,$M,uH, +hLL,Out,MB,FPL,qz,S$,Px,TOv,s9,Pm,MC3,fhL,d03,zLL,Lr,Emw,Xg,Ar,x0l,qTD,Cce,lht,e$,KPv,m0Z,D0t,gN,Jph,M$,nme,STt,U0L,VCy,LPL,R1,VZ,eel,QOw,YTh,ApR,ahy,eLe,vmS,BOt,bH,yp3,GW3,pct,omZ,NO,SQ,kWd,vZ,IhD,J$h,hk,buR,BB,N9l,cuw,Q0,Yd,pe,p1,tnt,Okh,cHR,EZ,T9v,xi,Oc,Kz,wz,fje,W3L,fBh,zN3,xmy,ul,UJ,nz,C1L,lje,Lz,mmh,Zx,wmt,Ai,cZ,o_e,zsd,QHe,aY,ZY,ZBR,ex,Be,Juw,n7D,Gey,S8f,P1w,Xms,RY,L3w,h3,w_Z,AuD,$z,dy,NKw,TG,v7h,sHe,zf,B93,kq,GoZ,rp,MQ,RN3,o7e,kot,yq,bkS,Hcs,cWR,WI,xz,LA,tdR,l0,K9,Oc3,$zy,te,TlS,wU,p9,u0, +J3,jsL,U1,VM,L9,s8,OZ,WPl,Wls,kC,qd,xzt,s1,lss,nv,KlS,gbh,wG,TKv,rWD,GG,Rz,mz3,$As,cK,hY,Dzd,QD,Bld,re,H2t,pd,ux,flR,GuL,obw,TY,Lud,Y1,Syt,i1S,ZVS,O1S,$9R,MUf,d9s,vK,XcZ,yD,v$e,EXe,oB,k1,qIv,CCZ,liL,bx,Vy,KAf,i4,gXh,r9D,LT3,m9w,ct,CK,Fw,tN,hN,D9v,p$h,j_,uah,eA,PMR,J93,SIL,PCy,Ml,nR,fW,DfD,db,VUD,LAL,Wt,Z1R,Hd,VTl,YId,A9D,eKZ,AV3,zC,vXR,smw,xF,CW,jW,fsv,KW,BYf,rb,TR,ee,y9s,b13,N13,X2,DD,iat,eRL,pW,O4,hED,JN,Pt,Xl,oye,Vt,YF,YUR,qLv,Tj,QW,Zc,vt,yBR,T5R,sY,Bt,xFw,gmy,pl,oj,Hc,KkS,rzv,U3,mFt,NZ,Q93,PB, +yd,dR,tt,o_,OO,FY,uDw,Jzl,VGe,yv,EO,xk,mDe,Lkl,Zat,wV,lM,YWl,QG,$at,To,pG,VwZ,uU,fd,aPS,eEf,FG,vqs,V7,Qlv,oqd,Yk,TB,QLS,k$3,IPy,At,a6,v4,Nyd,XE3,o6,Xv,Pfy,cqw,D7,I6,Lg,Cg,OHv,ts,qiw,$pw,Le,C5,Cv,Tyv,j3t,MVe,fwR,KYw,WRw,zCv,im,E83,jU,xpv,Fi,Csl,lwL,KRl,g8h,rqL,dW,kd,mpR,rj,Wi,X$y,zi,w9R,Dp3,p9w,qZ,uEv,gW,rW,JqL,mL,wW,DU,PsZ,QN,kz,VVe,l9,LRy,ZH3,SCh,J_,nn,YGy,awD,v8L,s3s,ia,Ur,VN,HVw,ByS,Yx,Fa,A_,yqd,X5e,iHS,ztw,e3,vi,sr,Bi,yN,XaD,jUh,bHS,Nql,Nu,cDv,Hy,O5s,iR,Fow,Vnf,ho,TqL,Oj,sz,jvZ,$l,ij,MDR,ftL, +$w,F0,dUt,Woe,na,zkh,ErS,QM,sc,xUR,qHd,Cah,Qy,lt3,ca,Tmt,mUv,Wy,lR,Nm,uRt,FRf,pUR,xU,u6D,UG,JDh,YER,g4,SHf,Mj,Wg,MO,UU3,mz,hZ,LoD,w4,f9,Qa,s2v,YHf,pf,ADl,Xn,ajZ,vrD,yDs,bss,GIl,zM,P5w,nf,SZ,kIs,Itf,qN,b5s,Sv,Py,XB,Va,yuS,VZS,Gx,Yw,ixt,hIw,c4,hKt,Pjh,Ao,Ox3,WH,Ree,ev,vy,sj,By,TDd,ya,Rwf,fKf,w8,ig,Rt,fz,kw,PAZ,g7w,Di,Wpw,nh,zIf,akt,Xnl,ElS,HF,xde,cF,q9d,Oo,nd,Fr,jfv,$t,lKt,KpS,N6,jk,r2w,gU,mdv,Mq,kW,QZe,OVw,fy,dA,p7y,uIe,J2v,nld,PFe,zJ,Eo,Udl,mu,LpR,Cy,A2t,Ky,aKh,gA,eIs,L5,vlt,eh,ma,DSf,Dz,Iww,fl,sZw, +B4,Zk,y23,GVf,RIZ,J5,olv,pme,ny,Sk,IKy,V2,PF,NMh,HNL,gV,xd,iNw,KTf,Uo,nM,Ly,Zz,c7t,Yt,h5R,A5,eNs,Bn,kX,ab,H9,J2,ONh,PZ,Fc3,$_Z,yK,TMl,jad,fCv,Cu,yGl,N2,Qt,i6,HH3,Wct,FU,z5y,gy,Cr3,lCh,$N,w7t,aiZ,c5,jR,m_S,xx,w3f,z5,zA,p5v,Ex,hG,VAD,xN,ugZ,d$D,q2,PrS,Kw,C8,MAZ,F0Z,jw,bl,vMD,u6,JE,H1l,BML,y7S,SR,G5e,R5R,yz3,Pr,oMe,XU,Vh,k5L,ICe,NTs,iDD,P_,cst,h_w,l8,Fte,jhZ,TJ,fNy,d4e,Wtt,Bny,qJy,c$s,b4,wHl,sx,Q4t,Qhv,Br,GA,$1l,w2y,SJL,kN,IC,AzD,S7R,PE,P9h,$$y,U4w,gZt,z6,XHv,V2w,jAD,Ltv,Ow,Fp,fQ,e_v,$H,ew,GO,vpR,tjh, +ysw,WYe,UfL,iwD,dH,oph,PXv,kBe,not,WS,NYy,gG,tE,ei,xH,A7w,rA3,cLf,t_e,h6w,QA,Xa,uD,RE,T8e,Uw3,n8,lry,rU,K_y,rLv,AY,Ij,jnt,mB3,PS,Uw,t3,Nre,wMD,k$,rd,DBf,QZ,pMw,Q3d,vS,CA,yA,JLv,rhZ,nOZ,X_,hI,UB3,XMS,V_y,qvl,yf,ALl,r0,N5l,arw,GHs,zH,kF,TK,sE,sqh,fO,da,HM,Kf,Wp,KZv,zK,QqZ,QvS,GmR,R6w,Es,lP,ra,oOw,CSR,kmR,Ir3,k6v,blL,sfy,kL,HTL,iTw,Qo,gMw,cR3,hgD,OT3,jqL,F$w,JI,ZRw,s9l,p$,Us,eR,Ox,f$t,abD,YDL,Zt,zX,DP,aSZ,w9,p8,QT,vgv,AI,zgy,T7,m5R,hCw,ap,tO,eM,vp,xtZ,qAs,A1,rMd,Cgs,iMw,Trv,Ju,GT,l$h,K$R,mtw,k0,Ip,bP, +MM,dws,iP,Hg,Dtl,Qwf,Nr,oE,pvf,Sg,u5s,pgl,iq,nVt,Pgw,ZO,mNt,XvZ,L$y,Om,A3,ZTh,F3,gl,ARZ,a$f,Lc,$J,Tk,jK,Mr,YqR,CNw,gH,VFD,zew,df,WA,UbD,Em,rH,$03,SGd,xJ,ThS,Rgh,Ie,kDf,qr,CX,I$v,g$D,lq,bMt,FjR,T0h,j1S,KId,f_w,vDd,D2,NU,eah,dih,WjL,zFS,fx,xiZ,Ql,l_L,bR,Vo,gCS,rsv,Vcd,Vz,rrL,Pul,Kyt,PA,mid,wxL,Diw,pxf,Z2,uSs,iK,fr,Rsw,s7,Dml,aX,RES,mKZ,eK,Uiv,ort,vA,V$R,Ar3,oe,usD,IZ,Vm,EE,eFh,oX,s1t,vP,Rs,IX,bq,nk,XQw,UVl,GJ,XPS,Wd,oCy,kYR,cVt,I_v,brZ,j2L,HzS,izD,ckR,iO,OzS,cY,hQ,$OL,Kx,Tp,FJ,fxe,dOR,fVZ,Oa,qS,jL, +f0,d6,EiL,zw,ER,xOS,R3,Kg,zv,xs,Tb,q8,AyL,Cld,C0,za,zre,M4D,r6,D0,mOs,weh,DOf,QB,SaZ,peh,uwZ,Ti,SZv,UOS,Zus,JRd,Ji,LWy,Zzf,PY,aZ,jj,AkZ,UR,V1,bet,sYh,BzS,YJ,dK,N5,UP,Z0,uFy,n0,Pw,Ys,Jo,oiw,eL,vOy,Ixy,vY,Scs,sR,yB,Gw,q6,o5,J9,B3,bO,EI,i9w,ve,cD,Zct,tF,Fy,q5,hqe,F7f,Rb,XfD,zp,O_,Ff,$3,$Qw,jzL,pn,fJh,lO,e3t,xG,jX,Vjs,W7h,HA,zV,EzS,UD,C0w,M7,Umw,fF,Gj,d_,lJy,fT,WD,z_,xw,vL,r3L,x3,G3,q7,CF,cGZ,Vu,oz,pIy,So,b0,KF,pV,vit,TI,nz3,hT,g_,r_,NM,n6,UQf,w_,vI3,DFw,QQ,pF,m7,JY,Er,A3R,CQl,szD,on,JF,nF,GGw,SX,Rqy, +ozZ,Hdw,aM,Vaw,cYf,toL,jme,pJ3,Odd,s_,XJ,BD,I9,On,$yD,G2,MoZ,oUR,iu,RM,Mi,faS,HgL,J0,Nw,oM,sd,Nq,bZ,Un,dyf,paZ,$R,WmD,zoh,E1R,EdS,qle,cG,tJ,gX,kGe,g1d,OC,rYt,hJ,hE,Og,u8,myZ,wKR,DyS,Sd,Lv,QBt,Fd,pKt,unh,$5,JY3,n1L,PxD,Tl,Uy3,m0,XKy,l3y,j1,PD,f1,lb,kO,bU,SDD,dg,LK,LmZ,Um,YiR,ffh,Zdt,Eg,Hs,BuR,AYw,Bf,MK,aaw,eod,sS,R_,H4,qg,Kh,HI,Kp,IVv,gg,xh,BLL,mO,yYd,G7h,RoD,ai,pp,o1R,k7t,Iay,np,HWs,iWD,KI,hXv,Xd,yu,WB,D_v,Lp,iS,c$,C$,jjw,Z9,Z8,AJ,IJh,MgZ,zT,fDv,dlL,sg,W5d,Gah,zXe,NG,fh,yp,$VZ,EF3,RI,xlZ,Kce,wA,WA3, +C4v,k5,Qc,Tv,lDw,qu,bE,NL,K5h,rNw,QjL,YJ3,SYv,io,xyl,hU,Ob,MZ,FM,$B,Pd,baD,Xth,wT,k3t,RZ,YYt,dk,mh,qL,C5t,aDh,Idy,gd,dks,C3,vFZ,sjD,VWw,yNh,GCy,hB,lo,RXt,u0s,Wv,kCw,mC,NVd,lt,wk,Dv,Ktw,N0D,jq,uo,nnd,S93,jwR,d0,tiD,IA,hh3,eX,OGw,$ZZ,hr,Pj,j6w,Ash,zx,b7,Zr,L2,G9v,Ub,S,tVZ,Nl,Mif,dZd,Shh,B0R,zhS,xZR,ids,Zv,z9,Pv,bK,ZP,qOf,l4R,gkZ,rth,L$,mZ3,w4t,YB,I3,xB,DZl,Q6D,p4S,hky,L1,JtR,nkt,Gi,PUS,UZl,Z_,AU,wve,Vi3,Lhs,YOw,F33,a4R,ehf,cT,nw,vkv,s6y,v_d,BVh,le,kQ,yte,RhZ,QE,oky,rq,Y$l,I4D,bGl,Cd,vj,hFR,NWe,Hnt, +Ei,c_L,hlS,Dat,M3w,KfZ,zlt,G1,ExS,qrv,qZs,Cmf,Ni,oW,VV,ZxR,$v,uV,KLL,o$,fK,gxs,r_R,du,X9h,IW,m6v,zs,Gs,D6w,YO,mK,NW,iX,Q$y,uiR,v_,Hb,pA,fZ,Y5,nxf,I6L,UGl,PHR,FP,$q,U6l,Znf,Uc,oYZ,UDy,Yrt,pZ,O$,JNw,Pp,hq,aUZ,ib,ug,LB,ZWD,vxw,s$y,RlS,kiv,fI,yLd,UYe,F8h,IUv,$S,bny,w$3,N4e,Hfw,coL,hMf,Heh,Ofs,Mt,Fzt,MvD,jP,Ew3,xuf,WhL,qje,Ii3,CRS,MW,saS,lpy,mc,Wb,R2,zE,Kzl,tcS,gwh,rot,Due,l7,Qt3,MY,pys,sNL,om,Te3,CYS,F8,eMt,vwZ,xS,B4h,yos,CE,RM3,owR,LF,ksf,Ipl,lI,bfw,MdR,NAy,KE,f3,fU3,cm,Y7f,nZ,tUe,x$L,od,TAd,jby,wEZ, +MkZ,jN,fzl,rx,dqs,Wav,to,qhD,n3,FrZ,pu,OAR,xqS,Np,qoy,CtR,gtR,z_s,yy,bBw,Dql,urR,lD,nty,UqS,XFs,Vkv,Law,iN,xfD,aWt,K0,Q8,azl,oIw,XIL,vtl,sbt,AMw,uI,uN,BAh,bKL,Pb,y5s,RcS,Uk,th,Sq,mW,fTs,Iz3,vyZ,lZ,pD,lw,jZR,V8,mH,byL,i8h,cEt,tR3,qqL,hYL,egd,FGw,AZL,LE,O8Z,FNw,$2S,TQZ,A9,Wks,jCe,MRs,qyR,WNh,zYS,Ug,bqh,pE,x2v,jV,I3t,qxe,tCe,C6h,lFR,KNs,o0,G0R,Af,vR,TdR,prh,xL,gqL,a8,L8y,NJ,uUf,JE3,eD,mT,Z$S,jy3,VBR,Xrl,VRR,bD,LNl,Z8d,Yxt,AEf,cv,zk,kh,Bb,aF3,GE,R8,FmD,vNs,o8,sCe,yEy,kAt,O9,NHl,HID,iIs,T8,oI,bI,hzR,gv, +CU,tV,H0,vq,Gvh,kJf,THd,jew,ZZt,F5S,Yh,DJv,SrD,dsR,YL,Wnv,EHe,xse,OL,id,q$y,P$,ob,msL,DsR,Qef,SM,JTw,piL,Fpe,nHw,Swe,eZs,oq,yg,Z$,m_,UZ,PDf,UsD,AB3,MC,XSe,hw,Hxt,VNL,LQy,eC,Fn,Lnf,d8,ON,q1h,BG,HBv,Eqe,Ywf,ATL,J7f,FX,AG,xO,EpZ,ezv,am,nI,LLy,RkL,BHe,yTy,GTD,Wz3,Rzv,oHL,kT3,IZ3,ov,bIh,Bre,z1,Na3,ls,L5D,HOt,iOd,dU,mAD,h0L,Msl,CxZ,Ok,cTy,Qzd,OOs,S1,$M3,Taw,MMt,fH3,$BS,QFv,Tp3,ODw,xMh,fJ,qsh,y0e,zMy,M8,QCf,d$,l4,tkd,zl,lHe,g0e,rId,Vgf,zO,mMS,wpd,zh,jtf,gF,BQ,Qph,qc,fZ3,u83,ym,n0w,$Y,SsL,eN,hry,ld,PPd,UMv, +R$l,Hr,Ki,V$,X8,Xpe,Dp,cS,j3,zE3,bt,ZUt,As,Z4w,p2,tNR,ZOd,aHh,R$,v1D,v9,mB,sph,w$,Baf,yIt,GKs,R0f,Dn,bOl,HXy,QY,iXD,WR,o$h,pJ,rG,c4h,tKZ,OXy,Jw,ZC,BTs,lz3,gIy,EYd,FKl,$rZ,Tfl,MKR,f2R,ctL,zPh,OW,xrs,rN,Ru,Su,qmR,Cqe,l2R,tL,$d,P0,hOs,Sjh,UN,gJd,Y1h,drZ,bTv,wAf,QXD,Vv,PJ,T_,u3w,Qbv,nJS,OR,rA,Pqe,KWh,vc,Urv,Hp,$ue,XAZ,VKt,vZZ,ag,nV,Yo,Xb,LKh,A4w,a2y,ict,vJl,LD,sXv,y4y,Gkf,RPS,tR,oJh,eZ,kkv,r$,I2L,bXs,N6v,lS,B0,hi,j7,i03,yY,LUt,tLw,hBD,O0S,Gh,og,ACh,J4t,Fg3,v9y,$0,tZZ,$8w,T6d,bd,j5f,wM,ML3,f0Z,Bbe,Wgy, +H1,zBs,EsL,x8R,Vlh,pwl,c1,qRt,COR,xGR,NGv,iy,UE,cBf,Hx,rQh,m8s,wYL,D8y,Q5t,ZyD,H4s,uJt,ns3,SRs,lc,OV,gFd,U8L,XYe,t5,tT,$md,VMw,Lgv,FQ,Y9D,kMZ,YRv,AQS,a0v,CB,$tZ,eBs,vsR,$E,rX,VE,uWt,y3t,yQd,wTw,lct,RB3,Zd,AOZ,WF,X7D,xSh,Kjf,q0,mA,Za,JVv,jY,KV,Cjy,kM,Mo,acl,rVv,i9,t2,iGR,HFL,iFh,ko,m3,krL,h2D,fS,FUR,c5L,bL,Evl,jFZ,Fse,jMe,dC,jl,B6e,d7w,WsD,svy,zq,SF,ELe,q_y,Ks3,rL,B_,m7l,wDf,Kay,ufZ,JFL,n3y,d4,BH,S_L,dtd,PZe,U7D,lBt,Ef,$k,Lse,F6e,ZFs,ut,Y_t,aMh,wt3,B_l,TVe,G2d,Cf,o33,QmZ,wiy,gO,IMy,GRl,Z5l,bFR,y8, +ly,KS,n8y,i0,ruf,Qk,FAv,kKw,ipt,cJL,HY,md,FOs,$gl,DN,kuw,GX,af,NS,A5w,Hyh,Ty,f9S,dgv,gpv,zUe,E5h,wye,qgv,il,f6e,lu,xQv,TgS,mq,wC,KOL,Qn,nZe,Eyy,P4Z,LH,g5e,rJ3,mge,Yml,wq,bRv,Dgl,QID,pGd,HDe,udL,ms,Sgy,XGh,xn,Jj,SY,LOh,Zps,YgR,AJS,QJ,h4,a9t,v5f,oi,sIZ,P1,pBw,Ol,RUS,o5v,Qne,kl3,Yyf,I9y,bpZ,Oqw,Vvs,Aos,NPy,jA,NkD,D9,H3l,cU3,Fl,hjs,UV,Y3,$Ll,pz,VB,Tkv,jWD,I8,yx,hHD,MEv,Vn,fvS,dLS,EBl,xLs,qbl,zqv,gz,h5,ZQ,CoS,FWL,wN,GJf,HW,lvv,Hkl,g3h,KCd,jSL,qQ,AtZ,fiw,gBt,rUw,bW,Ifh,mLy,wjZ,DL3,eY,fSd,QWZ,pjL,JUZ,nBl, +Os,Sbd,z0f,GW,Poe,ULy,VEy,LCv,z8,Z3S,hbR,Yby,CI,yn,avL,JWf,vVy,SAd,lVv,QuR,vBy,fV,No,BUt,aZw,q$,oBt,k1S,CO,Nxw,EP,HER,kE,mul,Av,Yzf,Qp,iEl,x1,tPh,hAf,YC,FHv,$Wd,lQ,Khy,Owt,w6,RrS,dY,Txs,fU,fAs,dWZ,DQZ,zAy,cI,xWf,rk,qkt,CIL,KHD,teL,x5,XD,ZB,lAs,ujw,iG,rfw,mWR,DW3,dt,QYZ,cN,pbZ,ubS,NV,Jf3,WM,nSt,kxe,Sks,gle,aa,Qz,Ud,Xbe,s$,td,gSv,Sn,VPh,yU3,YkD,AfD,aAv,ief,Y_,O9R,EDR,s8t,EV3,GEy,Ri,RAD,O6,oSe,Ku,ub,N$v,Kmd,Gls,HJL,B8f,Bfy,x1h,pI,cwL,tud,hxv,OJy,$cw,RYv,yJD,T$3,jge,M13,$A,WBR,K3,lyy,TC,d6t,IS,M9,jT, +nS,zxD,EcZ,KN,xc3,MI,lns,f_,q2l,gcs,E_,Pct,aB,mct,x0,dZ,pq,WWt,aCR,Dcd,Qgf,oWy,WN,MWv,p03,zQ,Jwf,MXD,UcS,X0s,ce,YN,JCe,sI,Wj,LBh,kR,HUS,YNL,Awh,b83,E4,anf,Z4,I1,a5,SP,exw,oY,vcD,qI,sgv,h7,Koh,hu,RxR,ZGL,r8,och,tQ,g7,Ca,eB,Gb,khD,l9f,UCs,Ziw,oxe,bJR,C_,YM,t2e,iSS,qU,MYZ,WdS,Gsh,x7s,ilS,EEL,K1,qq,FV,qVL,V1h,QS,ZXe,tu,Kdy,hy,kB,gEv,B1,xp,VLZ,Iz,rjR,Tw,sl,fD,SVd,uX3,uG,NCs,Doy,VR,LN,Pyl,X1f,n_,SJ,dl,mlf,PN,u2L,vbS,PtD,Ldw,sP,ZS3,QNl,YVD,vH3,jIR,L_,Sj,yyw,E0e,Eks,JQd,RSl,Dc,Db,kt,aNL,dp,w0,g9S,oES,Bj, +Vu3,XJS,YA,gis,uL,Gq,bSD,dq,NZS,Flw,WKv,i_3,AFL,nis,WGS,cdw,tJD,hit,WK,aF,gNt,Gf,sH,Fb3,$IZ,eJ,QK,FR,v0d,MJf,Yhf,Sie,dIw,CPv,vN,e6f,o3,Rp,zil,vr,Lf,EY,lmh,c9Z,Tc,gAf,kew,wNy,Nx,dme,E2,DId,pNs,uke,Zy,nAw,pYL,XNS,cw,ip,Lbv,Z_l,POs,Mf,Bqt,Au,scR,kY,cr,fq,BZe,tP,O1,kl,$Z,w5D,mZ,pa,nUv,O0,G9,Pa,ZH,jVd,Wed,a2,zfS,Jrv,wRZ,Opf,q03,G$R,D2L,nCv,LHt,bG,$YR,XP,E0,mqy,UIL,ek,Dhw,xj,QKw,p6Z,TM,JPZ,SNw,Xi,OEt,njd,Ppd,eo,rwl,QVe,UhR,aW,q6w,n1,pAs,V5e,a$,dcs,Zoe,UW,yh,kb,Q1v,HSl,APy,Ool,vjv,Dr,Ic,sKS,FnL,Ogy,aEv, +qGh,KK,yPR,U$,hF,go,Rfl,ojv,PYh,R2v,zSy,Io3,iyf,Xsf,NcZ,Mav,imt,oV,QC,hDd,Omy,Fwh,FW,Ci3,dJ,$eh,TQ,EN,Ci,Hj,TcS,qV,H8t,jJL,nXl,TE,wo,rTR,FE,L7S,Wwd,me,RLs,LGd,tW,Paw,Q9,Nol,PR,CBD,lGv,Kwv,Nzt,sA,r6v,fG,De3,l0e,$iw,p8v,u9h,WY,J6t,fH,n6e,uS,kce,LYy,SQZ,We,yM,s5h,fMd,VIR,up,dx,I5,waD,Jh,Bcd,tMe,JP,nrl,cy,OlZ,RDR,o6v,kg3,tsZ,X_D,ddD,kU,gM,bme,N2D,Qx,MPv,HCy,Vg,MV,mfD,tbL,tAl,eXL,tj,WG,hGv,U0,z3s,ot,CN,Fj,ir,IHS,B2,kvZ,au,rf,j$,hPR,t5f,duw,kES,SOy,p3,KKs,ssl,Mbh,nO,dEy,V9,WSl,RZe,PGw,mQD,CyL,zGL,CFL,Efv, +cQ,xEv,Haw,qFf,Kd,rkR,GQ,Zo,hC,Yj,p_t,DxD,bDl,WZ,Yr,AP,w03,lLe,KSd,Xge,ERD,UxR,XeR,aK,rXl,mEv,ce3,SN,mm,e5,uYw,a6v,GK,AWe,wCS,NQ,DEw,J3S,yH,sT,$x,QRZ,UeR,T4y,er,H_h,JXD,pQR,c6L,I7y,nfw,WOZ,F_,Jt,tIs,SFd,hP,Qc3,b6,NC,U$h,qEw,FMv,Vk,A$f,nMv,LSd,HG,YFh,vAR,Bkv,ZQs,kS,eGw,L13,vfs,cfl,fLZ,fpS,yXZ,He,wX,MjL,ejv,ofD,v6,JI3,kth,qM,ILf,p_,bCf,NBe,pDR,Hth,Ib,lx,Pnd,itw,cm3,Zl,oFL,hQw,Otf,Pmh,po,wId,F2L,$3w,TBw,IAe,v0,c0,BFs,f1D,d3R,W2v,Or,nl,lm,Eus,x33,qMZ,NUh,oAs,qy,C3t,uE,uO,hf,NQS,fQe,i1,tge,K2h,b9y,BS, +u7,DrL,gul,FH,rmZ,m3v,lMh,wlZ,D3d,OMR,Qk3,plf,uOy,SL,Jmw,nud,QJv,i8,GN,W1,o8w,DV,M5f,lPl,YMw,WHD,Ams,Im,Hi,eQR,N7,czw,vuZ,aVZ,Jd3,B6,gjd,skv,g8,RK,RW,LM,BBs,jBS,Y8y,SC,ZDZ,oK,ymf,dhL,nNy,lOZ,ud,z2,GFl,RQh,ouy,Rih,kFv,fOy,kj,Ceh,N3l,wQ,gHs,My,wL,IK,bp,ikL,ITs,cas,EV,Xdy,Leh,tyy,Obd,SnR,gf,yWZ,xh3,$Hs,OD,T3e,RA,A4,F2,jTD,Q0D,dHR,rg,WXe,A7,lNw,z8y,jJ,rn,mG,H8,xHZ,OIR,wh,W4h,Ad,SG,iB,mP,qpl,xxR,t6,Ry,X6Z,lg3,cP3,iD,KXL,WE,EMZ,qY,tw,Q6,uAs,rah,xC,wt,P8v,Eh,nJ,BV,Ew,mHd,my,whh,DHs,FTs,QTe,Kqt,wUZ,phs,Z9D, +uy,CZe,cp,II,GR,GqZ,RV,MxD,Xp,u$t,JaS,XQ,TLv,$F,nG,nPh,SpR,Jyf,Zb,bcD,cIR,uKS,yd3,ty,EJZ,yC,Pe,uc,Vyh,MTw,LXt,N8L,KZ,Zbe,OQ,G1D,UEv,Jq,s4s,Aqd,Ypv,sN,agy,KB,bQf,PWd,rdt,rt,j0w,rFs,ci,OG,tD,ML,e8v,bhd,wbD,$6,B3w,qo,meh,S0v,YX,UpL,Jd,Xw,Jp,GPZ,xl,GB3,kPt,Igd,pC3,Xf,JT,HAs,xIL,ZM,evs,pFS,Ns3,FEL,HjS,Bos,no,SlZ,fN,Y7,UHZ,PBD,lZS,cbL,kx,tff,E7l,Btf,b_l,hW3,yS,kk,OjS,F9h,$Xd,cN3,Dwh,SW,upy,fm,tk,Wc,sW3,Ckw,mol,dc,xQ,lRl,Ap,$D,Yz,ea,$jL,X4L,FZ,Xjw,Imf,Ls,M5,rbf,NK,mX3,wks,aLD,SmZ,FSy,DXy,x6,Yol,O2s,qe,C9w, +hW,QDD,ps,LX,Ko,pke,uxl,zc,O_t,Jbw,StZ,Lw,Yah,UXL,Xk3,$dy,M2,yG,qws,gPw,BW,Ui,VfS,b3Z,Zje,Ytt,EtR,AbD,aRD,rm,E3s,ze,U3s,mw,T0,CG3,BDR,eWv,vV,Jkl,PEs,vx,Mpl,m4L,Rjh,HpS,Bss,ybv,sy,Bx,xt,GdL,RWt,IY,yV,TTt,R5,QMh,Aay,lE,oKf,HK,IRd,bjt,YV,AD,Ux,NI,nx,ZEd,$p,Eb,jKd,NwR,X7,kdh,YeS,nqZ,Tvw,OSv,AXw,yR,ccL,Meh,PdL,qs,t8e,Ny,Aj,gzZ,Dy,$RS,Twf,jxD,wx,oc,lB,T2t,MOf,gKs,Ngv,qW,DG,dRR,Qb,TtS,Wvt,lxR,G_t,z1s,$Ky,IB,xRD,nD,GD3,pm,qKv,HoD,Cvw,l5h,uB,gay,J1L,Yy,qDD,rcy,R8l,Kn,Bq,JZ,PhR,yjR,mRt,dz,Xe,ifl,Il,l1y,osS, +sZ,wot,x4R,BeD,Pkl,b8,kA,hd,uJ,J6,$Es,lA,$m,EAl,OU,tHe,GQ3,DRL,ecR,hj,QxZ,mr,swf,sed,F9,NLs,L3,Dm,ZN,wY,Cp,nm,pof,uLy,hUf,K3h,Jc3,oG,l5,naR,Sx,Ng,wl,TN,PvZ,SI,erd,Jjy,XVd,X8y,ykt,tGs,Xo3,V8D,MIw,P8,DK,YXZ,gj,LvZ,vd,ae,YD,kJ,TFt,AH,HmD,UQ,iPD,uP,zm,R6,wy,gfL,ZPR,YKR,AcL,K9t,jRL,Rg,a5t,dF,cXl,jx,eYf,e1l,gZ,mI3,Cn,Gp3,jcS,X9,M8v,ycy,Tud,Oef,UFe,aV,R1L,oas,Kns,OWs,WUL,qj,qWh,I5y,bPD,Vb,Lm,NEt,sEL,S1Z,iLw,$UZ,Mg,bEd,Q3,hh,ZG,Km,clR,h_,Zp,cg,F_h,Vx,OJ,K7f,hpD,kQv,FVh,sT3,jPl,ff,Vp,N_e,M93,Ugy,W6,fqv,Hll, +dPw,Ist,WVt,MNf,TT,tM,mo,E2h,xPy,ETR,qUw,C2d,cj,C1,H$e,r7e,yj,lqs,Dx,OUe,KVR,wZ,pXt,do3,Y6,dMs,rly,snl,hNs,Ujv,rC,TXZ,mPy,E6,y6L,lQe,DPd,HV,aA,wFL,SoD,Jht,qSv,fGD,ncR,QPD,pOf,g6,CT,zL,u43,rHS,Ss,afs,Jll,wR,W0,aJ,vD,fg,xgL,Th,eI,I1S,T1,v8,g$,y$,n2v,rGy,Kgw,sQ,o0S,ioZ,SBy,Fk,P2s,UPL,B8,Bs,XO3,fnR,we,S3,V9S,EjL,ix,lUt,LVe,$h,uoL,YBf,Gg,gk,$G,epL,ks,N0,v2l,sPy,BE3,xg,OLs,VT,kHt,BL,Rph,yE,btD,Xwh,Jf,h9y,o2R,NB,k4y,DMt,Mn,RJ,IqR,BK,r4,bLD,SKl,tf,zb,GM,NIR,u4,BJ,H7R,IV,Vsl,eAL,zpS,laD,TS,VQL,H6,CTv,cxZ, +Bds,sDS,$s,t0D,EOe,FFf,x9R,nhh,Fvw,qYD,A_t,j5,F1v,w8l,jM,cMd,kNR,eE,$T3,ZLt,K2,CM,TIe,tZ,wGd,cFL,oJ,M0d,J1,ht,dTw,Sdt,v3S,WFD,Dd,Ld,CDt,DA,d2e,EeS,IO,YjL,WIZ,qNL,CdR,xTt,Nc,K8,k6,Gy,q5d,IJ,Qr,xoD,Cm,a8y,t_,Zk3,fbv,XF,rc;NtZ=function(N){this.T=N;N.bq("/client_streamz/bg/po/cwsc",g.iw("su"),g.iw("mk"))}; +hS=function(N){return N.ox==="leanback"}; +var Hse=function(){return Ov[T[3]](this,17)}; +var isL=function(N){var H=N.api.getRootNode(),c,t=N.api.getWebPlayerContextConfig().embedsEnableEmc3ds?((c=H.parentElement)==null?void 0:c.parentElement)||H:H;N.T=new Mf(t,function(h){h!=null&&(N.api.D().XS=h,N.api.D().jY="EMBEDDED_PLAYER_VISIBILITY_FRACTION_SOURCE_INTERSECTION_OBSERVER")}); +g.l(N,N.T);N.events.G(N.api,"videoStatsPingCreated",function(h){var O=N.T;O=O.T==null?null:Math.round(O.T*100)/100;h.inview=O!=null?O:void 0;O=N.api.getPlayerSize();if(O.height>0&&O.width>0){O=[Math.round(O.width),Math.round(O.height)];var F=g.fs();F>1&&O.push(F);O=O.join(":")}else O=void 0;h.size=O})},Ov=function(N,H,c){if(N+4>>4>=2&&(N+3&11)<6){H[1]!==4&&(H[17]<=-10&&((0,H[30])(H[6],H[41]),1)||(0,H[26])(H[64])); +(H[11]>-9||((0,H[81])((0,H[42])(H[72],H[83]),H[63],(0,H[55])(),H[28],H[5]),void 0))&&(0,H[81])((0,H[8])(H[83],H[40]),H[51],H[6]);H[61]!==6&&((0,H[65])((0,H[30])(H[64],H[69]),H[39],(((0,H[19])(H[74],H[29]),H[45])(H[10],H[40]),H[54])(H[68],H[41]),H[75],H[53]),1)||(0,H[49])(H[85],(0,H[73])((0,H[20])(H[56],H[new c(T[66])/1E3]),H[23],H[83],H[36]),(0,H[85])(H[75],H[51]),(0,H[55])((0,H[47])(),H[18],H[82]),H[83],H[48]);H[72]>=0&&((0,H[9])((0,H[32])(H[46],H[56]),(0,H[73])((0,H[32])(H[70],H[18]),H[41],H[83]), +H[73],(0,H[13])(H[67],H[18]),H[32],H[28],H[22]),[])||(0,H[80])((((0,H[16])(H[22]),H[41])(H[56]),H[85])(H[18],H[33]),H[73],(0,H[32])(H[1],H[10]),H[23],H[56],H[72]);var t=[]}N+3>>2=N&&c[T[2]]!=0&&(H=(H%c[T[2]]+c[T[2]])%c[T[2]],c[T[22]](0,1,c[T[22]](H,1,c[0])[0]));if((N&110)==N){H=(H%c[T[2]]+c[T[2]])%c[T[2]];var h=c[0];c[0]=c[H];c[H]=h;t=[H]}if((N-1^18)=N){h=64;for(var O=[];++h-O[T[2]]-32;)switch(h){case 46:h=95;default:O[T[25]](String[T[33]](h));case 94:case 95:case 96:break; +case 123:h-=76;case 92:case 93:continue;case 58:h=44;case 91:}t=O}return t}; +var cSy=function(N,H,c,t,h){return dt[T[3]](this,57,N,H,c,t,h)}; +z3=function(N,H,c){N.videoInfos=N.Y;N.videoInfos=g.WL(N.videoInfos,function(t){return t.video.qualityOrdinal>=H&&t.video.qualityOrdinal<=c})}; +Ev=function(N,H,c,t){this.durationMs=H;this.triggeringLayoutId=c;this.triggerType="TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER";this.triggerId=t||N(this.triggerType)}; +thZ=function(N,H){return N===H}; +hZt=function(N){return qf(N,1,1)}; +Cs=function(N){this.i8=3;this.f1=N;this.defaultValue=0;this.ag="double"}; +mD=function(N){var H={delay:lw(N),stall:N.C.sI()||0,byterate:rt(N),init:N.gE},c=N.U[0];c.stamp=Math.round(N.Y/36E5)*36E5;c.net=Math.ceil(N.NT);c.max=N.interruptions[0]||0;H.interruptions=N.U;return H}; +OsS=function(N){return window.Profiler&&new window.Profiler(N)}; +FD3=function(N,H,c){var t=[];c=g.K(c);for(var h=c.next();!h.done;h=c.next()){var O=t,F=O.push;var M=N;var f=H;h=h.value;M=h.triggeringSlotId!=null&&h.triggeringSlotId===M?h.clone(f):h;F.call(O,M)}return t}; +jls=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x,q,r,w,n,p){if(!wt(c))return new S("Invalid PlayerBytesAdLayoutRenderer");var U=Dd(c);if(U instanceof S)return U;F={layoutId:c.adLayoutMetadata.layoutId,layoutType:c.adLayoutMetadata.layoutType,Hp:F};a:{var X=c.adLayoutMetadata.layoutId,A=g.P(c.renderingContent,QR);if(A&&ps(A)){var R=[];if(x)R.push(new Xe(VR(H)));else{b:{M=g.K(M);for(H=M.next();!H.done;H=M.next()){H=H.value;var v=$fS(H.renderer)||[],Nf=g.K(v);for(v=Nf.next();!v.done;v=Nf.next())if(v=v.value, +v.associatedPlayerBytesLayoutId===X){v.associatedPlayerBytesLayoutId?(M=v.playerOverlay,Nf=M!==void 0&&M.playerOverlayLayoutRenderer!==void 0&&M.playerOverlayLayoutRenderer.inPlayerSlotId!==void 0&&M.playerOverlayLayoutRenderer.inPlayerLayoutId!==void 0,M=M!==void 0&&M.instreamAdPlayerOverlayRenderer!==void 0&&M.instreamAdPlayerOverlayRenderer.inPlayerSlotId!==void 0&&M.instreamAdPlayerOverlayRenderer.inPlayerLayoutId!==void 0||Nf):M=!1;H=M?{instreamVideoAdRenderer:v,adPlacementConfig:H.config.adPlacementConfig}: +new S("Invalid InPlayer shim");break b}}H=new S("Not able to find associated InPlayer slot")}if(H instanceof S){O=H;break a}M=H.instreamVideoAdRenderer.playerOverlay.instreamAdPlayerOverlayRenderer;v=H.instreamVideoAdRenderer.playerOverlay.playerOverlayLayoutRenderer;var Fe;Nf=(Fe=M==null?void 0:M.inPlayerSlotId)!=null?Fe:v==null?void 0:v.inPlayerSlotId;var tS;Fe=(tS=M==null?void 0:M.inPlayerLayoutId)!=null?tS:v==null?void 0:v.inPlayerLayoutId;if(Nf===void 0){O=new S("InPlayer shim slot id is undefined"); +break a}if(Fe===void 0){O=new S("InPlayer shim layout id is undefined");break a}R.push(new Ls(Fe),new Zd(Nf),new Yy(h.RH.adPodIndex),new Xe(H.adPlacementConfig));M&&R.push(new al(M));v&&R.push(new eh(v))}R.push(new vL(h.RH),new BL(A.externalVideoId),new yR(f),new G3({impressionCommands:A.impressionCommands,abandonCommands:A.onAbandonCommands,completeCommands:A.completeCommands,progressCommands:A.adVideoProgressCommands}),new ky(h.Wm),new Il({current:null}),new N5(h.dPo.oH),new HZ(cZ(A.pings)),new hG(h.RH.adPodIndex)); +p&&R.push(new O4(p));(h=TtS(X,E))&&R.push(new $d(h));O&&R.push(new j7(O.Wm));A.adNextParams&&R.push(new M5(A.adNextParams));A.clickthroughEndpoint&&R.push(new fg(A.clickthroughEndpoint));A.legacyInfoCardVastExtension&&R.push(new dR(A.legacyInfoCardVastExtension));A.sodarExtensionData&&R.push(new WZ(A.sodarExtensionData));n&&A.adPodSkipTarget&&A.adPodSkipTarget>0&&(R.push(n),R.push(new zx(A.adPodSkipTarget)));(O=d.get(A.externalVideoId))&&R.push(new E4(O));O=R}else O=new S("Invalid vod media renderer")}if(O instanceof +S)return O;N=Object.assign({},F,t,{S1:U,renderingContent:c.renderingContent,clientMetadata:new xd(O),z0:q5(W,N)(F),adLayoutLoggingData:c.adLayoutMetadata.adLayoutLoggingData});c=g.P(c.renderingContent,QR);if(!c||!ps(c))return new S("Invalid meida renderer");z=Cg(z,c.externalVideoId);z.instreamVideoAdRenderer=c;z.a8="AD_PLACEMENT_KIND_START";return x?(f=l5(E,N,f,r,W,w,q,n,!1),f instanceof S?f:TtS(N.layoutId,E)&&f?{layout:Object.assign({},N,{clientMetadata:new xd(O.concat(new Kg(f)))})}:{layout:N,z7:f}): +{layout:N}}; +g.gR=function(N,H){for(var c in N)if(!(c in H)||N[c]!==H[c])return!1;for(var t in H)if(!(t in N))return!1;return!0}; +mY=function(N,H,c){if(N==null)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(H instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return N+""}; +Qd=function(N,H,c){if(!N.YS){H=Math.max(H,.01);var t=N.EG?Math.max(H,c/N.EG):H,h=N.YG.B.L;h&&(t=H,N.EG&&(t=Math.max(H,c/N.EG*h)));wR(N.YG,H,c,t)}}; +u5=function(N,H){return pg(N,H.lG,H.xH)?!0:!1}; +var Mhl=function(N,H){return ng[T[3]](this,11,N,H)}; +S7=function(N){return N.Jn.get("creatorendscreen")}; +fd3=function(N,H){return new PZ(N.C,N.L,H||N.T.reason)}; +dfy=function(N){if(!N.GW.K4)return!0;var H=N.wE.getVideoData();if(N.wE.NF())return N.Lq("ombpa",{}),!1;var c,t;if(!!((c=N.Bp)==null?0:(t=c.bz)==null?0:t.asp)!==N.GW.K6)return N.Lq("ombplmm",{}),!1;c=H.vp||H.liveUtcStartSeconds||H.PM;if(N.GW.K6&&c)return N.Lq("ombplst",{}),!1;if(N.GW.Bp)return N.Lq("ombab",{}),!1;c=Date.now();return Lg(N.GW)&&!isNaN(N.Ix)&&c-N.Ix>N.policy.Ml*1E3?(N.Lq("ombttl",{}),!1):N.GW.rk&&N.GW.U||Zl(H)!==0&&!N.policy.T||H.N("html5_disable_onesie_media_for_mosaic")&&Yd(H)||H.N("html5_disable_onesie_media_for_lifa_eligible")&& +AG(H)?!1:!0}; +s4=function(N){if(N instanceof ad)return N;N=String(N).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");return vZ(N)}; +zZR=function(N,H,c){H=H.dialog&&g.P(H.dialog,WDl)||null;H==null?g.BZ(Error("AdInfoDialogEndpoint did not contain an AdInfoDialogRenderer.")):(N.T=new yd(N.api,N.layoutId,N.interactionLoggingClientData,N.yS,N.U),g.l(N,N.T),N.T.init(Gx("ad-info-dialog"),H,c),N.T.Jl(N.U),N.T.subscribe("d",function(){return N.publish("f")}),N.T.subscribe("c",function(){return N.publish("e")}))}; +Cwh=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x,q,r,w,n){var p=new od({current:null}),U=Eyy(h,M,f);if(U instanceof S)return U;f=[];for(var X=[],A=void 0,R=0;RN.S.No+100)&&N.S){var h=N.S;c=h.isAd;t=t*1E3-h.No;N.St=H*1E3-h.KLp-t-h.oPS;h=(0,g.Lh)()-t;H=N.St;t=N.provider.videoData;var O=t.isAd();if(c||O){O=(c?"ad":"video")+"_to_"+(O?"ad":"video");var F={};t.Y&&(F.cttAuthInfo={token:t.Y,videoId:t.videoId});F.startTime= +h-H;Zy(O,F);g.YR({targetVideoId:t.videoId,targetCpn:t.clientPlaybackNonce},O);Ai("pbs",h,O)}else h=N.provider.wE.Um(),h.Y!==t.clientPlaybackNonce?(h.S=t.clientPlaybackNonce,h.B=H):t.Tu()||g.aS(new g.ti("CSI timing logged before gllat",{cpn:t.clientPlaybackNonce}));N.Lq("gllat",{l:N.St.toFixed(),prev_ad:+c});delete N.S}}; +vE=function(N,H){H.length!==0&&(N.L.push(H),N.B+=H.length)}; +BE=function(N,H,c,t){sS.call(this,N,H);this.Rx=N;this.ea=c;this.context=t}; +yz=function(N){this.value=N}; +g.oS=function(N){return(N=g.RS(N.g_()))?N.AP():{}}; +q4t=function(N){return typeof N==="undefined"?"-1":String(Math.ceil(N/1048576))}; +llt=function(N){var H=N.U.map(kR);N.B&&H.push(N.B);N.Ad(H);N.T=null;N.C=null;H=N.J.getPlaybackRate();IS(N.J)&&C5t(N,H);!N.U.includes(H)||N.Y?N.Mf(N.T):N.Mf(kR(H))}; +be=function(N){if(N!=null&&typeof N!=="number")throw Error("Value of float/double field must be a number, found "+typeof N+": "+N);return N}; +g.tn=function(N,H){g.L.call(this);var c=this;this.provider=N;this.L=new Map;this.y0=new g.Nb;this.Br={QuS:function(){return c.qoe}, +Ibq:function(){return c.T}, +G$S:function(){return c.B}}; +this.provider.videoData.DI()&&!this.provider.videoData.L2&&(this.T=new HV(this.provider),this.T.B=0,g.l(this,this.T),this.qoe=new g.iA(this.provider,H),g.l(this,this.qoe),this.provider.videoData.enableServerStitchedDai&&(this.mL=this.provider.videoData.clientPlaybackNonce)&&this.L.set(this.mL,this.T));if(N.j.playerCanaryState==="canary"||N.j.playerCanaryState==="holdback")this.B=new cV(this.provider),g.l(this,this.B)}; +g.Oi=function(N){return KYw(N,function(){return g.hn(gds,N)>=0})}; +Tr=function(N,H){H=new rGy(new m5R(H));$g&&N.prototype&&$g(H,N.prototype);return H}; +g.je=function(N,H,c){return N.state.T[H].apply(N.state.T,g.HE(c))}; +f6=function(N,H){var c;if((c=N.api.getVideoData())==null?0:c.mutedAutoplay){var t,h;if((t=H.target)==null?0:(h=t.className)==null?0:h.includes("ytp-info-panel"))return!1}return g.Mb(H)&&N.api.isMutedByMutedAutoplay()?(N.api.unMute(),N.api.getPresentingPlayerType()===2&&N.api.playVideo(),H=N.api.getPlayerStateObject(),!g.y(H,4)||g.y(H,8)||g.y(H,2)||N.Kg(),!0):!1}; +wZl=function(N){if(N.T){var H=N.T;H.T={};H.FX={}}N.L=!1;N.S=void 0;N.B=NaN}; +D5h=function(N,H){var c=[];H=g.K(H);for(var t=H.next();!t.done;t=H.next())c.push(g.dv(t.value,N.GW.K4));return c}; +WV=function(N){try{return!!N&&N.location.href!=null&&QdD(N,"foo")}catch(H){return!1}}; +pLR=function(N,H,c){var t=H&128?0:-1,h=N.length,O;if(O=!!h)O=N[h-1],O=O!=null&&typeof O==="object"&&O.constructor===Object;var F=h+(O?-1:0);for(H=H&128?1:0;H0&&ndZ(12E4,N-1);throw H;}; +U5L=function(N){return{startMinReadaheadPolicy:lA(N,1,P5w),resumeMinReadaheadPolicy:lA(N,2,P5w)}}; +XZw=function(N){var H=N.offsetWidth,c=N.offsetHeight,t=g.K6&&!H&&!c;return(H===void 0||t)&&N.getBoundingClientRect?(N=gv(N),new g.rv(N.right-N.left,N.bottom-N.top)):new g.rv(H,c)}; +Jn=function(N,H,c,t,h,O){var F=this;O=O===void 0?[]:O;this.loader=N;this.ox=H;this.policy=c;this.GW=t;this.Y=h;this.Al=O;this.logger=new g.mE("dash/abr");this.T=wv;this.L=this.C=null;this.TW=-1;this.gE=!1;this.nextVideo=this.B=null;this.U=[];this.vp=new Set;this.Cq={};this.w_=new DV(1);this.Z=0;this.zW=this.Us=this.Bp=!1;this.NT=0;this.Xg=!1;this.Ix=new Set;this.Kq=!1;this.Br={oY:function(){QC(F)}}; +this.S=new p6(this.policy,h,function(M,f){F.loader.Lq(M,f)})}; +PV=function(N,H){n6.call(this,"Autoplay",g.Se.Oj);this.J=N;this.R4=H;this.T=!1;this.B=[];this.G(N,"presentingplayerstatechange",this.dk);this.subscribe("select",this.onSelect,this);N.createClientVe(this.element,this,113682);this.dk()}; +var V7D=function(){return Ui[T[3]](this,14)}; +ZgZ=function(N,H){var c=new g.Sr(0,0),t=X7(fh(N));if(!QdD(t,"parent"))return c;do{var h=t==H?g.VC(N):LYy(N);c.x+=h.x;c.y+=h.y}while(t&&t!=H&&t!=t.parent&&(N=t.frameElement)&&(t=t.parent));return c}; +L6=function(N,H){return(N=N.T.get(H))?N:new Map}; +Y4l=function(N,H){var c;((c=N.T)==null?void 0:c.id)!==(H==null?void 0:H.id)&&(N.T&&(N.B.delete(N.T.id),N.api.UN([N.T],1)),N.T=H)}; +alw=function(N,H){if(N!=null)if(typeof N==="string")N=N?new ZV(N,Yg):An();else if(N.constructor!==ZV)if(AGe&&N!=null&&N instanceof Uint8Array)N=N.length?new ZV(new Uint8Array(N),Yg):An();else{if(!H)throw Error();N=void 0}return N}; +e4v=function(N){N.J.isFullscreen()?g.aG(N.J,N.element,10):N.Jl(ee(N).body)}; +si=function(N,H){return vV(N,H,function(c){return c.T})}; +kg=function(N,H,c){g.L.call(this);this.position=vd3.clone();this.wX=this.aC();this.wY=-2;this.timeCreated=Date.now();this.o_=-1;this.nE=H;this.bv=null;this.dw=!1;this.JH=null;this.opacity=-1;this.requestSource=c;this.DfR=!1;this.h1=function(){}; +this.eT=function(){}; +this.pJ=new sdS;this.pJ.Jk=N;this.pJ.T=N;this.sB=!1;this.L$={IF:null,Ev:null};this.KT=!0;this.g6=null;this.M6=this.N_g=!1;BV().Y++;this.mE=this.g3();this.U5=-1;this.ZI=null;this.hasCompleted=this.rFq=!1;this.Ce=new yC;BRf(this.Ce);yGl(this);this.requestSource==1?oG(this.Ce,"od",1):oG(this.Ce,"od",0)}; +rr=function(N){var H=IG(N.ownerDocument);H&&N.setAttribute("nonce",H)}; +Gxs=function(N){var H=N.index-1;return H<0?N.length-1:H}; +R4f=function(N,H){return g.Y(function(c){if(c.T==1)return g.Xy(c,2),g.a(c,navigator.clipboard.writeText(H),4);if(c.T!=2)return c.return(!0);g.Lq(c);var t=c.return,h=!1,O=g.Ch("TEXTAREA");O.value=H;O.setAttribute("readonly","");var F=N.api.getRootNode();F.appendChild(O);if(bA){var M=window.getSelection();M.removeAllRanges();var f=document.createRange();f.selectNodeContents(O);M.addRange(f);O.setSelectionRange(0,H.length)}else O.select();try{h=document.execCommand("copy")}catch(d){}F.removeChild(O); +return t.call(c,h)})}; +odL=function(){}; +IlR=function(){var N={};var H=N.yYf===void 0?!1:N.yYf;N=N.l_===void 0?!0:N.l_;if(g.NA("_lact",window)==null){var c=parseInt(g.YI("LACT"),10);c=isFinite(c)?Date.now()-Math.max(c,0):-1;g.Hw("_lact",c,window);g.Hw("_fact",c,window);c==-1&&iN();kxe(H,N);new cw(function(){tZ("mouse",100)})}}; +bgf=function(N){if(!(N instanceof Object))throw new TypeError("Iterator result "+N+" is not an object");}; +Oq=function(N){N.isInitialized&&(N.enabled=N.isVisible,N.Us=N.isVisible,hZ(N),N.Ri(),N.thumbnailImage.a4(N.isVisible),N.shouldHideDismissButton||N.dismissButton.a4(N.isVisible),N.shouldShowOverflowButton&&N.overflowButton.a4(N.isVisible))}; +g.Fv=function(N){N.stop();N.UL()}; +$9=function(N){NGv();HAs();N.timerName=""}; +iAv=function(N,H,c,t,h,O,F){this.oD=N;this.k_=H;this.Pp=c;this.B=t;this.xb=h;this.T=O;this.ea=F}; +c8D=function(N,H){H=H===void 0?"":H;var c=TS(H)||void 0;if(!H||!c){var t;N.EF({adcfg:(t=H)==null?void 0:t.length,dcfg:c==null?void 0:c.length})}return c}; +g.jz=function(N){return document.createTextNode(String(N))}; +MA=function(N,H,c){this.videoData=N;this.j=H;this.wE=c;this.T=void 0}; +fv=function(N,H,c){c=c===void 0?!1:c;H.then(function(t){N.Bp.delete(H);(c||t===4)&&N.Z.resolve(t)},function(t){N.Z.reject(t)})}; +zS=function(N){dK.call(this,N);var H=this;this.loaded=!1;this.Z=0;this.T=!1;this.C={};this.L=[];this.U=0;this.Y=!1;this.events=new g.Ww(N);g.l(this,this.events);this.B=new g.Ww(N);g.l(this,this.B);this.events.G(N,"modulesCreated",function(){H.Pz()&&H.load()}); +this.events.G(N,"modulesDestroyed",function(c){var t=H.api.getPresentingPlayerType();switch(c){case 2:case 3:c=t!==1&&!(t===5||t===6||t===7);break;case 4:c=!H.T;break;default:c=!0}c&&H.unload()})}; +trl=function(N){return isNaN(N.cryptoPeriodIndex)?g.Eq(N.initData):""+N.cryptoPeriodIndex}; +$k3=function(N,H,c,t,h){H=hHD(H,t);H!=null&&(c=OAR(N,c),h(H,N),F43(N,c))}; +j_h=function(){var N=N===void 0?window.location.href:N;if(g.sf("kevlar_disable_theme_param"))return null;var H=Cv(N);if(g.sf("enable_dark_theme_only_on_shorts")&&H!=null&&H.startsWith("/shorts/"))return"USER_INTERFACE_THEME_DARK";try{var c=g.lN(N).theme;return TGe.get(c)||null}catch(t){}return null}; +g.rK=function(N,H,c){c=g.Kv(N,H,c);c<0&&g.gK(N,-(c+1),0,H)}; +g.mI=function(N){return encodeURIComponent(String(N))}; +g.De=function(N){g.wK.call(this,N);this.chrome=null;this.load()}; +pv=function(N){var H,c=(H=lQ(N.clientMetadata,"metadata_type_player_bytes_callback_ref"))==null?void 0:H.current;if(!c)return null;H=lQ(N.clientMetadata,"metadata_type_ad_pod_skip_target_callback_ref");var t=N.layoutId,h=lQ(N.clientMetadata,"metadata_type_content_cpn"),O=lQ(N.clientMetadata,"metadata_type_instream_ad_player_overlay_renderer"),F=lQ(N.clientMetadata,"metadata_type_player_overlay_layout_renderer"),M=lQ(N.clientMetadata,"metadata_type_player_underlay_renderer"),f=lQ(N.clientMetadata, +"metadata_type_ad_placement_config"),d=lQ(N.clientMetadata,"metadata_type_video_length_seconds");var W=QZ(N.clientMetadata,"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds")?lQ(N.clientMetadata,"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds"):QZ(N.clientMetadata,"metadata_type_layout_enter_ms")&&QZ(N.clientMetadata,"metadata_type_layout_exit_ms")?(lQ(N.clientMetadata,"metadata_type_layout_exit_ms")-lQ(N.clientMetadata,"metadata_type_layout_enter_ms"))/1E3:void 0;return{Va:t,contentCpn:h,V1:c,Rb:H,instreamAdPlayerOverlayRenderer:O, +playerOverlayLayoutRenderer:F,instreamAdPlayerUnderlayRenderer:M,adPlacementConfig:f,videoLengthSeconds:d,T8:W,inPlayerLayoutId:lQ(N.clientMetadata,"metadata_type_linked_in_player_layout_id"),inPlayerSlotId:lQ(N.clientMetadata,"metadata_type_linked_in_player_slot_id")}}; +Mrf=function(N,H){var c;return(c=N.layoutExitNormalTriggers.find(function(t){return t instanceof uN&&(t==null?void 0:t.triggeringLayoutId)!==H}))==null?void 0:c.triggeringLayoutId}; +JGw=function(N){g.Hw("yt.ads.biscotti.lastId_",N)}; +f8l=function(N){function H(t){return N.throw(t)} +function c(t){return N.next(t)} +return new Promise(function(t,h){function O(F){F.done?t(F.value):Promise.resolve(F.value).then(c,H).then(O,h)} +O(N.next())})}; +zHS=function(N,H){if(!JZ(N)&&!N.uo()){if(!(N.ox||(N.ox=!0,N.L>0))){var c=nv(N);c=Sz(N.policy.U,N.T.info,Pw(N),c,N.policy.Al);fv(N,c)}if(H.info.type===1){if(N.QL){Uq(N,Error("Woffle: Expect INIT slices to always start us off"));return}N.initRange=Xv(0,H.B.totalLength)}else if(H.info.type===2)N.QL&&N.QL.type===1||Uq(N,Error("Woffle: Index before init")),N.indexRange=Xv(N.initRange.end+1,H.B.totalLength);else if(H.info.type===3){if(!N.QL){Uq(N,Error("Woffle: Expect MEDIA slices to always have lastSlice")); +return}if(N.QL.type===3&&!VZ(N.QL,H.info)&&(N.TW=[],H.info.Y_!==Lv(N.QL)||H.info.T!==0))return;if(H.info.L){c=g.K(N.TW);for(var t=c.next();!t.done;t=c.next())dks(N,t.value);N.TW=[]}else{N.TW.push(H);N.QL=H.info;return}}else{Uq(N,Error("Woffle: Unexpected slice type"));return}N.QL=H.info;dks(N,H);W4h(N)}}; +Eof=function(N,H){N.raw=H;Object.freeze&&(Object.freeze(N),Object.freeze(H));return N}; +xks=function(N){var H=0,c;for(c in N.T){var t=N.T[c];if(t==1||t==2)H+=N.B[c][1]}return H}; +qCt=function(N){return N?decodeURI(N):N}; +g.an=function(N){for(var H=0,c=arguments.length;H0;){for(var f=0;f=.5&&N.F1("seek"),F&&g.tC(c,2)&&Oa(N,c.state,H,t,h,O))}; +wWR=function(N){if(mke.test(N))return N}; +g.$_=function(N,H){function c(){} +c.prototype=H.prototype;N.w0=H.prototype;N.prototype=new c;N.prototype.constructor=N;N.HR=function(t,h,O){for(var F=Array(arguments.length-2),M=2;M0||lu(N.U.T,t.mR,!1):!t.mR.info.video||Ci(N.T.S).size>0||Ki(N.T,t.mR)):c===2&&(N.kG<15?(N.kG++,h="html5.invalidstate",O=0):h="fmt.unplayable");t=gd(t);var F;t.mrs=(F=N.Zf)==null?void 0:rd(F);t.origin=H;t.reason=c;t.trg="appenderr";N.handleError(h,t,O)}; +g.JC=function(N,H){H=Q_d(N,H);var c;(c=H>=0)&&g.wd(N,H);return c}; +pWZ=function(N){var H,c,t=(H=N.T)==null?void 0:(c=H.bannerData)==null?void 0:c.itemData,h,O;if(!(t!=null&&t.priceReplacementText||N.J.N("web_player_enable_featured_product_banner_promotion_text_on_desktop"))&&(t==null?0:(h=t.dealsData)==null?0:(O=h.sales)==null?0:O.originalPrice)){var F,M;return t==null?void 0:(F=t.dealsData)==null?void 0:(M=F.sales)==null?void 0:M.originalPrice}return null}; +uG3=function(N,H,c,t){if(Math.random()<(t||N.T))try{if(c instanceof ni)var h=c;else h=new ni,SZ(c,function(F,M){var f=h,d=f.U++;F=Pa(M,F);f.T.push(d);f.B[d]=F}); +var O=h.uG(N.B,"pagead2.googlesyndication.com","/pagead/gen_204?id="+H+"&");O&&(jl(),Ogy(O))}catch(F){}}; +J8R=function(N){N.T&&(N.T.dispose(),N.tN("ismp_d"))}; +Ve=function(N){var H=not;N.B&&(g.Ua(N.T,function(c,t){return SCh(t,c)?1:SCh(c,t)?-1:0}),N.B=!1); +return Xs(N.T,function(c,t){t=H(t);return""+c+(c!=""&&t!=""?"&":"")+t},"")}; +Li=function(N){PQt.test(N)&&(N.indexOf("&")!=-1&&(N=N.replace(Ukt,"&")),N.indexOf("<")!=-1&&(N=N.replace(XWR,"<")),N.indexOf(">")!=-1&&(N=N.replace(VrD,">")),N.indexOf('"')!=-1&&(N=N.replace(L4L,""")),N.indexOf("'")!=-1&&(N=N.replace(ZAe,"'")),N.indexOf("\x00")!=-1&&(N=N.replace(YCv,"�")));return N}; +g.ZW=function(N){var H=N.data.getUint8(N.dataOffset)?20:12;return N.data.getUint32(N.dataOffset+H)}; +A8h=function(N,H,c,t){Y_.call(this,"video-interstitial-buttoned-centered",N,H,c,t);this.interactionLoggingClientData=t}; +a4=function(N,H,c,t,h,O,F){var M={};H&&(M.q6=H);if(!N)return M;M.playbackCookie=c==null?void 0:c.playbackCookie;h&&(M.EU=h);M.dc=[];M.FQ=[];if(F==null?0:F.size)for(H=g.K(F.values()),c=H.next();!c.done;c=H.next())M.FQ.push(c.value);if(N.sabrContextUpdates.size>0)for(H=g.K(N.sabrContextUpdates.values()),c=H.next();!c.done;c=H.next())a8y(M,c.value,t);AC(N)&&O&&a8y(M,O,t);t=N.D().T;M.clientInfo={clientName:eHe[t.c.toUpperCase()]||0};t.cbrand&&(M.clientInfo.deviceMake=t.cbrand);t.cmodel&&(M.clientInfo.deviceModel= +t.cmodel);t.cver&&(M.clientInfo.clientVersion=t.cver);t.cos&&(M.clientInfo.osName=t.cos);t.cosver&&(M.clientInfo.osVersion=t.cosver);t=N.D();t.N("html5_sabr_enable_server_xtag_selection")&&t.qc&&(M.clientInfo.hl=t.qc);N.M_&&(M.M_=N.M_);return M}; +sa=function(N,H,c){var t=arguments,h=document,O=t[1],F=eZ(h,String(t[0]));O&&(typeof O==="string"?F.className=O:Array.isArray(O)?F.className=O.join(" "):va(F,O));t.length>2&&voR(h,F,t,2);return F}; +Ba=function(N,H,c){var t;s_y(N.Pp.get(),N.layoutId,H,c,(t=N.Y)!=null?t:void 0,N.S)}; +BGZ=function(N){for(var H=0,c=0,t={};c32)for(c|=(F&127)>>4,t=3;t<32&&F&128;t+=7)F=h[O++],c|=(F&127)<>>0,c>>>0);throw Error();}; +bu=function(N,H,c,t){this.SW=N;this.Np=H;this.T=c;this.U=t;this.L=void 0;this.B=new Map;N.wC||(N.wC={});N.wC=Object.assign({},kLl,N.wC)}; +MN=function(N,H,c,t){return typeof N.addEventListener==="function"?(N.addEventListener(H,c,j4(t)),!0):!1}; +An=function(){return I8R||(I8R=new ZV(null,Yg))}; +f2=function(N){if(N.J.N("web_player_rtr_ctrls")&&N.J.BO().bW)return 0;var H=N.J.J3(),c=N.J.getVideoData().Uc,t=0;N.J.J3()&&N.J.isEmbedsShortsMode()&&(t=(N.J.BO().getPlayerSize().width-N.J.getVideoContentRect().width)/2);return 12*(c?0:H?2:1)+t}; +de=function(N,H){N.T-=H;N.register>>=H}; +WP=function(N,H){H=g.K(H.T);for(var c=H.next();!c.done;c=H.next())N.append(c.value)}; +F43=function(N,H){var c=H.pop();for(c=N.B+N.T.length()-c;c>127;)H.push(c&127|128),c>>>=7,N.B++;H.push(c);N.B++}; +Hqe=function(N,H,c){H=zf(N,H);c||H?H&&(N.L=!0):N.L=!1;N.C=N.policy.L===2||N.policy.L===3&&N.L}; +pg=function(N,H,c){if(c&&!c.includes(N.layoutType))return!1;H=g.K(H);for(c=H.next();!c.done;c=H.next())if(!QZ(N.clientMetadata,c.value))return!1;return!0}; +iqs=function(N){N.suggestedActions={};N.J.gr("suggested_action_button_visible")}; +cOv=function(){this.startTimeMs=(0,g.Lh)();this.T=!1}; +tOL=function(){iJ&&typeof iJ.google_measure_js_timing!="undefined"&&(iJ.google_measure_js_timing||Ee.disable())}; +hJs=function(N,H,c,t,h,O){if(Array.isArray(c))for(var F=0;F0){H=g.K(H.L4);for(var c=H.next();!c.done;c=H.next()){var t=void 0;N+=((t=c.value.range)==null?void 0:t.length)||0}return N}if(H.YU.length>0)for(c=g.K(H.YU),t=c.next();!t.done;t=c.next())N+=t.value.mD||0;return N+H.AD}; +XC=function(N,H){var c=qfD[H];if(!c){var t=CJS(H);c=t;N.style[t]===void 0&&(t=(g.K6?"Webkit":Ue?"Moz":null)+l3y(t),N.style[t]!==void 0&&(c=t));qfD[H]=c}return c}; +K6e=function(N,H){return(N==null?void 0:N.maxWidth)>(H==null?void 0:H.maxWidth)||(N==null?void 0:N.maxHeight)>(H==null?void 0:H.maxHeight)}; +rOe=function(N,H){if(!N.kG){var c=V7(N,"start",L2());c=N.Kh.T(c).T;var t={id:"lidarv"};t.r=H;t.sv="968";ZE!==null&&(t.v=ZE);YL(c,function(h,O){return t[h]=h=="mtos"||h=="tos"?O:encodeURIComponent(O)}); +H=gIy();YL(H,function(h,O){return t[h]=encodeURIComponent(O)}); +H="//pagead2.googlesyndication.com/pagead/gen_204?"+Ve(A$(new af,t));FYl(H);N.kG=!0}}; +e4=function(N){N.hasCompleted=!0;N.DG!=0&&(N.DG=3)}; +se=function(){vP.apply(this,arguments)}; +Ha=function(N,H,c){N=new N.constructor(H);c&&(N.T=R0);N.B=R0;return N}; +SfR=function(N){var H;(H=!N)||(H=N.adSlotMetadata,H=!((H==null?void 0:H.slotId)!==void 0&&(H==null?void 0:H.slotType)!==void 0));if(H||!(mKZ(N)||N.slotEntryTrigger&&N.slotFulfillmentTriggers&&N.slotExpirationTriggers))return!1;var c;N=(c=N.fulfillmentContent)==null?void 0:c.fulfilledLayout;return(c=g.P(N,BP))?wt(c):(c=g.P(N,y7))?w2y(c):(c=g.P(N,DKR))?Q0D(c):(c=g.P(N,p2R))?uyf(c):(c=g.P(N,JOv))?Gf(c.adLayoutMetadata)?g.P(c.renderingContent,Rf)?!0:!1:!1:(c=g.P(N,of))?kL(c):(N=g.P(N,nIh))?Gf(N.adLayoutMetadata)? +g.P(N.renderingContent,If)?!0:!1:!1:!1}; +PJZ=function(N){g.bM(N.B);var H=N.J.D();H.playerStyle==="gvn"||H.B||H.vp||(H=N.J.BO(),N.B.G(H,"contextmenu",N.apo),N.B.G(H,"touchstart",N.onTouchStart,null,!0),N.B.G(H,"touchmove",N.OW,null,!0),N.B.G(H,"touchend",N.OW,null,!0))}; +UKw=function(N,H){return H?g.Nn(N.T,function(c){return c.pJ.Jk==H}):null}; +Hq=function(N){var H=N.B,c=N.T,t=H[c++],h=t&127;if(t&128&&(t=H[c++],h|=(t&127)<<7,t&128&&(t=H[c++],h|=(t&127)<<14,t&128&&(t=H[c++],h|=(t&127)<<21,t&128&&(t=H[c++],h|=t<<28,t&128&&H[c++]&128&&H[c++]&128&&H[c++]&128&&H[c++]&128&&H[c++]&128)))))throw Error();PE(N,c);return h}; +VOt=function(N){if(N==null)return N;var H=typeof N;if(H==="bigint")return String(X2t(64,N));if(iV(N)){if(H==="string")return iV(N),H=cq(Number(N)),tK(H)&&H>=0?N=String(H):(H=N.indexOf("."),H!==-1&&(N=N.substring(0,H)),N[0]==="-"?H=!1:(H=N.length,H=H<20?!0:H===20&&N<="18446744073709551615"),H||(on(N),N=hK(k9,In))),N;if(H==="number")return iV(N),N=cq(N),N>=0&&tK(N)||(Oz(N),N=F0(k9,In)),N}}; +$W=function(){return g.sf("use_request_time_ms_header")||g.sf("lr_use_request_time_ms_header")}; +TO=function(){this.isInitialized=!1;this.T=this.B=null;var N={};this.C=(N.start=this.M1W,N.firstquartile=this.FRT,N.midpoint=this.Qxi,N.thirdquartile=this.wOp,N.complete=this.afq,N.error=this.yll,N.pause=this.Ch,N.resume=this.Bj,N.skip=this.Alp,N.viewable_impression=this.zv,N.mute=this.Hn,N.unmute=this.Hn,N.fullscreen=this.n_S,N.exitfullscreen=this.xTE,N.fully_viewable_audible_half_duration_impression=this.zv,N.measurable_impression=this.zv,N.abandon=this.Ch,N.engagedview=this.zv,N.impression=this.zv, +N.creativeview=this.zv,N.progress=this.Hn,N.custom_metric_viewable=this.zv,N.bufferstart=this.Ch,N.bufferfinish=this.Bj,N.audio_measurable=this.zv,N.audio_audible=this.zv,N);N={};this.Z=(N.overlay_resize=this.sxE,N.abandon=this.Mx,N.close=this.Mx,N.collapse=this.Mx,N.overlay_unmeasurable_impression=function(H){return V7(H,"overlay_unmeasurable_impression",L2())},N.overlay_viewable_immediate_impression=function(H){return V7(H,"overlay_viewable_immediate_impression",L2())},N.overlay_unviewable_impression= +function(H){return V7(H,"overlay_unviewable_impression",L2())},N.overlay_viewable_end_of_session_impression=function(H){return V7(H,"overlay_viewable_end_of_session_impression",L2())},N); +BV().B=3;L6Z(this);this.L=null}; +ZqD=function(N,H){if(N.length>H.length)return!1;if(N.lengthh)return!1;if(t=N.T.totalLength)throw Error();return YW(N.T,N.offset++)}; +RJl=function(N,H){N=Gey(N.GW.T,function(c){return c.info.itag===H}); +if(!N)throw Error("Itag "+H+" from server not known.");return N}; +ep=function(N,H){var c;a2(N.Pp.get(),{driftRecoveryInfo:Object.assign({},{contentCpn:(c=N.ea.get().Ow)==null?void 0:c.clientPlaybackNonce,adClientData:N.layout.z0.adClientDataEntry},H)})}; +Hhv=function(N,H,c,t,h,O,F,M,f,d,W,z){var E=vq(t,c,d);return E instanceof sz?new S(E):d.J.D().experiments.M4("html5_refactor_in_player_slot_generation")?function(x){var q=new Bq(0,[E.oH]);x=oIw(H,E.layoutId,E.sz,c,y$(E.playerVars,E.A0,O,f,q),E.oH,h,q,F(x),M.get(E.sz.externalVideoId),z);q=[];if(E.sz.playerOverlay.instreamAdPlayerOverlayRenderer){var r=kew(x);if(!r)return KA("Expected MediaLayout to carry valid data to create InPlayerSlot and PlayerOverlayForMediaLayout",void 0,x),{layout:x,VL:[]}; +q=[I3t(N,r.contentCpn,r.Va,function(n){return GO(H,n.slotId,"core",r,q5(W,n))},r.inPlayerSlotId)].concat(g.HE(q)); +if(r.instreamAdPlayerUnderlayRenderer&&R2(d)){var w=r.instreamAdPlayerUnderlayRenderer;q=[bqh(N,r.contentCpn,r.Va,function(n){return Nre(H,n.slotId,w,r.adPlacementConfig,r.Va,q5(W,n))})].concat(g.HE(q))}}return{layout:x, +VL:q}}:function(x){var q=new Bq(0,[E.oH]); +return{layout:oIw(H,E.layoutId,E.sz,c,y$(E.playerVars,E.A0,O,f,q),E.oH,h,q,F(x),M.get(E.sz.externalVideoId),z),VL:[]}}}; +ihl=function(N,H){o2(N.T);var c=N.T.U;if(c)return kW(N,"return"in c?c["return"]:function(t){return{value:t,done:!0}},H,N.T.return); +N.T.return(H);return I2(N)}; +Nj=function(N,H){g.bV(N.J.getRootNode(),H)}; +tB=function(N,H){if(H){HQ=H==null||H===ij||H[cih]!==tld?ij:H;try{return cQ(N)}finally{HQ=void 0}}return cQ(N)}; +hmD=function(N){if(!N.U){var H=N.T[N.B];N.U=new DataView(H.buffer,H.byteOffset,H.length)}return N.U}; +FF=function(N,H,c){if(!H&&!c)return null;var t=H?String(H).toUpperCase():null;return hB(N,function(h){return(!t||h.nodeName==t)&&(!c||typeof h.className==="string"&&g.O7(h.className.split(/\s+/),c))},!0)}; +$T=function(N,H,c,t,h){t=t===void 0?!1:t;g.L.call(this);this.Es=H;this.useCobaltWidevine=t;this.Lq=h;this.B=[];this.L={};this.T={};this.callback=null;this.S=!1;this.U=[];this.initialize(N,!c)}; +TH=function(N,H,c){for(var t=N.length,h=typeof N==="string"?N.split(""):N,O=0;O0?t[c]-t[c-1]:t[c]})}; +fR=function(N,H,c,t){var h=["ytp-ad-survey-submit-button"];h.push("ytp-ad-survey-submit-button-rounded");Mj.call(this,N,H,c,t,h,"survey-submit")}; +E7=function(N,H,c){var t=g.dP(N.macros),h=g.WQ(H);t.AW={toString:function(){return h.width.toString()}}; +t.AH={toString:function(){return h.height.toString()}}; +var O=g.PW(c,H).floor();t.I_X={toString:function(){return O.x.toString()}}; +t.NX={toString:function(){return O.x.toString()}}; +t.I_Y={toString:function(){return O.y.toString()}}; +t.NY={toString:function(){return O.y.toString()}}; +t.NM={toString:function(){return N.Us.toString()}}; +H=g.K(N.Z);for(c=H.next();!c.done;c=H.next())c=c.value,N.layoutId?zH(N.yS,c,N.layoutId,t):g.BZ(Error("Missing layoutId for invideo_overlay_ad."));N.api.pauseVideo()}; +Fxd=function(){this.bG=null;this.status=0;this.Pd=null;this.wrap=this.pending=this.hh=this.Ea=0;this.Ni=null;this.I7=0;this.method=8;this.mX=-1;this.pn=this.qa=this.gy=0;this.window=null;this.s5=0;this.head=this.Sn=null;this.pI=this.EO=this.strategy=this.level=this.Lf=this.Mo=this.JU=this.sF=this.cD=this.cO=this.MY=this.ZB=this.oW=this.wq=this.PG=this.g7=this.Ui=this.Eq=this.ac=0;this.fJ=new xT.zZ(1146);this.SO=new xT.zZ(122);this.aA=new xT.zZ(78);qj(this.fJ);qj(this.SO);qj(this.aA);this.oh=this.A$= +this.Zo=null;this.LB=new xT.zZ(16);this.Zs=new xT.zZ(573);qj(this.Zs);this.qR=this.Yu=0;this.depth=new xT.zZ(573);qj(this.depth);this.CO=this.KF=this.X1=this.matches=this.vn=this.M3=this.ez=this.l1=this.rK=this.XM=0}; +lj=function(N){N.xO=g.CR(function(){N.xO=null;N.T&&!N.B&&(N.T=!1,lj(N))},N.wy); +var H=N.L;N.L=null;N.U.apply(null,H)}; +KR=function(N,H,c){return H>=15E3?!0:N.w_?(c===void 0?0:c)?!0:N.L>0?H>=N.L/2:N.Ix>0?H>=N.Ix:!1:!1}; +wP=function(N,H,c){for(var t in N.T){var h=rP(N.T[t].info.mimeType)||N.T[t].info.KG();if(c===h&&(h=N.T[t].index)!=null){var O=mu(h,H);O>=0&&h.segments.splice(O,1)}}}; +g.Nn=function(N,H,c){H=TH(N,H,c);return H<0?null:typeof N==="string"?N.charAt(H):N[H]}; +fyh=function(N,H,c,t,h,O,F){h=h===void 0?{}:h;var M=Math.round((0,g.Lh)()),f=N.size,d=$1l(F);N=g.K(N);var W=N.next();for(F={};!W.done;F={J1:void 0,batchRequest:void 0,dangerousLogToVisitorSession:void 0,m4:void 0,VO:void 0},W=N.next()){var z=g.K(W.value);W=z.next().value;z=z.next().value;F.batchRequest=g.DY({context:g.Q2(H.config_||g.pR())});if(!g.Ze(z)&&!g.sf("throw_err_when_logevent_malformed_killswitch")){t();break}F.batchRequest.events=z;(z=uj[W])&&Trv(F.batchRequest,W,z);delete uj[W];F.dangerousLogToVisitorSession= +W==="visitorOnlyApprovedKey";jSL(F.batchRequest,M,F.dangerousLogToVisitorSession);Mle(h);F.m4=function(E){g.sf("start_client_gcf")&&g.jO.jP(function(){return g.Y(function(x){return g.a(x,Bit(E),0)})}); +f--;f||c()}; +F.J1=0;F.VO=function(E){return function(){E.J1++;if(h.bypassNetworkless&&E.J1===1)try{g.JB(H,d,E.batchRequest,nR({writeThenSend:!0},E.dangerousLogToVisitorSession,E.m4,E.VO,O)),Sm=!1}catch(x){g.PQ(x),t()}f--;f||c()}}(F); +try{g.JB(H,d,F.batchRequest,nR(h,F.dangerousLogToVisitorSession,F.m4,F.VO,O)),Sm=!1}catch(E){g.PQ(E),t()}}}; +var d1y=function(N){return mG[T[3]](this,5,N)}; +Wxe=function(N,H){var c=g.U7;N=N.split(".");for(var t=0;t2147483647?-1:g.di.setTimeout(N,H||0)}; +uzw=function(N,H){var c;return(c=H.onEnter)==null?void 0:c.some(N.S)}; +hv=function(){V2.call(this)}; +OE=function(N,H){var c=[];N=N.T.T.get(H);if(!N)return[];N=g.K(N);for(H=N.next();!H.done;H=N.next())H=H.value,H.cpn&&c.push(H.cpn);return c}; +JiL=function(N){N=N.U;if(!N)return"";var H=Fq("uap",N.platform)+Fq("uapv",N.platformVersion)+Fq("uafv",N.uaFullVersion)+Fq("uaa",N.architecture)+Fq("uam",N.model)+Fq("uab",N.bitness);N.fullVersionList&&(H+="&uafvl="+encodeURIComponent(N.fullVersionList.map(function(c){return encodeURIComponent(c.brand)+";"+encodeURIComponent(c.version)}).join("|"))); +N.wow64!=null&&(H+="&uaw="+Number(N.wow64));return H.slice(1)}; +$Q=function(N){this.T=N||g.di.document||document}; +nRs=function(N){return!!N.T&&N.T.Y_!==-1&&N.T.Y_2){var t=Array.prototype.slice.call(arguments,2);return function(){var h=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(h,t);return N.apply(H,h)}}return function(){return N.apply(H,arguments)}}; +qa=function(N){return new Uint8Array(xQ(N)||0)}; +CV=function(N,H,c,t){H=H===void 0?0:H;c=c===void 0?N.length:c;var h=0;for(t&&(h=CV(t));H0){var c=Math.floor((0,g.Lh)()/1E4);if(c===H.PK){if(H.rg>=N.Z){H.rg===N.Z&&(c={reason:"toomanyrequests"},c.limit=H.rg,N.loader.handleError("player.exception",c),H.rg+=1);H=!1;break a}}else H.PK=c,H.rg=0}H=!0}if(!H||N.loader.isSuspended&&N.loader.iM)return!1;if(N.TW&&(0,g.Lh)()0)||N.policy.Bp&&N.T.length===1&&N.T[0].V$()?!0:!1){var t;H=(t=N.GW.TW)!=null&&KV(t,N.policy,N.U,N.loader.BF)?!0:!1}return!H||N.policy.uZ&&N.Xg? +!1:!0}; +gm=function(N,H,c,t,h,O){h=h===void 0?!1:h;O=O===void 0?!1:O;Y_.call(this,"ad-action-interstitial",N,H,c,t);this.interactionLoggingClientData=t;this.Qh=h;this.WP=O}; +ayL=function(N){N=new rm(N.data,N.offset,N.size,N.type,N.B);var H=mr(N);N.skip(7);var c=wm(N);if(H===0){H=wm(N);var t=wm(N)}else H=D7(N),t=D7(N);N.skip(2);for(var h=QJ(N),O=[],F=[],M=0;M=0;--h){var O=N[h];!c&&sSv.test(O.url)&&(c=O);if(O.url&&!O.T){H=O;break}}h=null;O=N.length&&N[t].url;H.depth!==0&&O&&(h=N[t]);return new Bre(H,h,c)}; +g.Jv=function(N,H,c){N.T=c?uY(H,!0):H}; +G8e=function(N,H){return N.Y.has(H)?void 0:N.B.get(H)}; +oRs=function(N,H){var c=0;RmR(N,function(t,h){H.call(void 0,t,h,N)&&g.wd(N,h)&&c++})}; +k8f=function(N,H,c,t,h){var O;H={reason:"overlapping_playbacks",Fri:H,gs:c,m9:t,aYo:h.vr,yrg:((O=h.videoData)==null?void 0:O.videoId)||"",d3S:h.durationMs,Hgp:h.gs,qhR:h.m9};nV(N,H)}; +St=function(N,H){return N==H?!0:N&&H?N.top==H.top&&N.right==H.right&&N.bottom==H.bottom&&N.left==H.left:!1}; +Nvd=function(N,H,c,t,h){H=Iyv(H,c,t,h);(c=g.PX(N.j)&&!N.j.Us)&&!N.tJ&&(H.fetch=0);UE(N,H);g.PX(N.j)&&N.f4.tick("ep_a_pr_s");if(c&&!N.tJ)c=N.Sg(),bhd(c,H).then(function(O){N.FZ=!0;YQ(N,O)}); +else N.playlist.onReady(function(){Av(N)}); +g.PX(N.j)&&N.f4.tick("ep_a_pr_r")}; +vX=function(N,H,c){g.aQ.call(this,"Audio track",g.Se.AUDIO,N,H);this.J=N;this.T=c;this.tracks={};g.bV(this.element,"ytp-audio-menu-item");this.countLabel=new g.e({W:"div",X:[{W:"span",Wp:"Audio track"},{W:"span",K:"ytp-menuitem-label-count",Wp:"{{content}}"}]});N.N("web_settings_menu_icons")&&!this.J.N("html5_enable_new_audio_settings_menu")&&(H=N.N("delhi_modern_web_player_icons")?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M19.4 .2C19.29 .27 19.20 .37 19.13 .49C19.07 .60 19.02 .72 19.01 .85C18.99 .98 18.99 1.12 19.03 1.24C19.06 1.37 19.12 1.49 19.2 1.6L20.8 .4C20.64 .18 20.40 .04 20.14 .01C19.87 -0.02 19.61 .04 19.4 .2ZM20.8 .4L20 1L19.2 1.59C20.37 3.16 21.00 5.06 21.00 7.01C20.99 8.97 20.35 10.87 19.17 12.42C19.01 12.64 18.94 12.90 18.98 13.16C19.02 13.43 19.16 13.66 19.37 13.83C19.58 13.99 19.84 14.05 20.11 14.02C20.37 13.98 20.61 13.84 20.77 13.63C22.21 11.73 22.99 9.41 23 7.02C23.00 4.63 22.23 2.31 20.8 .4ZM10 2C8.67 2 7.40 2.52 6.46 3.46C5.52 4.40 5 5.67 5 7C5 8.32 5.52 9.59 6.46 10.53C7.40 11.47 8.67 12 10 12C11.32 12 12.59 11.47 13.53 10.53C14.47 9.59 15 8.32 15 7C15 5.67 14.47 4.40 13.53 3.46C12.59 2.52 11.32 2 10 2ZM16.17 2.29C15.97 2.48 15.86 2.73 15.86 2.99C15.85 3.26 15.95 3.51 16.14 3.71C16.98 4.58 17.44 5.68 17.49 6.80L17.5 7.02C17.49 8.22 17.01 9.40 16.10 10.32C15.92 10.51 15.83 10.77 15.83 11.03C15.84 11.29 15.95 11.53 16.13 11.71C16.32 11.90 16.57 12.00 16.83 12.00C17.09 12.00 17.34 11.90 17.53 11.72C18.78 10.44 19.49 8.77 19.5 7.03L19.49 6.71C19.42 5.09 18.74 3.53 17.58 2.32C17.49 2.23 17.38 2.15 17.26 2.10C17.14 2.05 17.01 2.02 16.88 2.01C16.75 2.01 16.62 2.03 16.49 2.08C16.37 2.13 16.26 2.20 16.17 2.29ZM10 4C10.39 4 10.78 4.07 11.14 4.22C11.51 4.37 11.84 4.60 12.12 4.87C12.39 5.15 12.62 5.48 12.77 5.85C12.92 6.21 13 6.60 13 7C13 7.39 12.92 7.78 12.77 8.14C12.62 8.51 12.39 8.84 12.12 9.12C11.84 9.39 11.51 9.62 11.14 9.77C10.78 9.92 10.39 10 10 10C9.20 10 8.44 9.68 7.87 9.12C7.31 8.55 7 7.79 7 7C7 6.20 7.31 5.44 7.87 4.87C8.44 4.31 9.20 4 10 4ZM10.39 13.01L10 13C8.01 12.99 6.10 13.73 4.63 15.06L4.34 15.34C3.60 16.08 3.01 16.96 2.60 17.93C2.20 18.90 1.99 19.94 2 21C2 21.26 2.10 21.51 2.29 21.70C2.48 21.89 2.73 22 3 22C3.26 22 3.51 21.89 3.70 21.70C3.89 21.51 4 21.26 4 21C4.00 19.40 4.63 17.88 5.75 16.75L5.97 16.55C7.07 15.55 8.51 15 10 15L10.29 15.00C11.78 15.08 13.18 15.70 14.24 16.75L14.44 16.97C15.44 18.07 16 19.51 16 21C16 21.26 16.10 21.51 16.29 21.70C16.48 21.89 16.73 22 17 22C17.26 22 17.51 21.89 17.70 21.70C17.89 21.51 18 21.26 18 21C18.00 19.01 17.26 17.10 15.93 15.63L15.65 15.34C14.25 13.93 12.37 13.10 10.39 13.01Z", +fill:"white"}}]}:{W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M11.72,11.93C13.58,11.59,15,9.96,15,8c0-2.21-1.79-4-4-4C8.79,4,7,5.79,7,8c0,1.96,1.42,3.59,3.28,3.93 C4.77,12.21,2,15.76,2,20h18C20,15.76,17.23,12.21,11.72,11.93z M8,8c0-1.65,1.35-3,3-3s3,1.35,3,3s-1.35,3-3,3S8,9.65,8,8z M11,12.9c5.33,0,7.56,2.99,7.94,6.1H3.06C3.44,15.89,5.67,12.9,11,12.9z M16.68,11.44l-0.48-0.88C17.31,9.95,18,8.77,18,7.5 c0-1.27-0.69-2.45-1.81-3.06l0.49-0.88C18.11,4.36,19,5.87,19,7.5C19,9.14,18.11,10.64,16.68,11.44z M18.75,13.13l-0.5-0.87 C19.95,11.28,21,9.46,21,7.5s-1.05-3.78-2.75-4.76l0.5-0.87C20.75,3.03,22,5.19,22,7.5S20.76,11.97,18.75,13.13z", +fill:"white"}}]},this.setIcon(H));g.l(this,this.countLabel);g.et(this,this.countLabel);N.createClientVe(this.element,this,273318);this.listen("click",this.onClick);this.G(N,"videodatachange",this.Df);this.G(N,"onPlaybackAudioChange",this.Df);this.Df()}; +i6e=function(N,H){this.logger=H;try{var c=globalThis.sessionStorage&&!!globalThis.sessionStorage.getItem&&!!globalThis.sessionStorage.setItem&&!!globalThis.sessionStorage.removeItem}catch(t){c=!1}c&&(this.index=H6s(N))}; +yJ=function(N,H,c,t){sE.call(this,N,{W:"div",K:"ytp-ad-survey-interstitial",X:[{W:"div",K:"ytp-ad-survey-interstitial-contents",X:[{W:"div",K:"ytp-ad-survey-interstitial-logo",X:[{W:"div",K:"ytp-ad-survey-interstitial-logo-image"}]},{W:"div",K:"ytp-ad-survey-interstitial-text"}]}]},"survey-interstitial",H,c,t);this.T=this.actionButton=null;this.interstitial=this.Sa("ytp-ad-survey-interstitial");this.B=this.Sa("ytp-ad-survey-interstitial-contents");this.text=this.Sa("ytp-ad-survey-interstitial-text"); +this.logoImage=this.Sa("ytp-ad-survey-interstitial-logo-image");this.transition=new g.BX(this,500,!1,300);g.l(this,this.transition)}; +hnh=function(N,H){H=H===void 0?cny:H;if(!Gc){var c;N=(c=N.navigator)==null?void 0:c.userAgentData;if(!N||typeof N.getHighEntropyValues!=="function"||N.brands&&typeof N.brands.map!=="function")return Promise.reject(Error("UACH unavailable"));teL((N.brands||[]).map(function(h){var O=new RQ;O=ES(O,1,h.brand);return ES(O,2,h.version)})); +typeof N.mobile==="boolean"&&WE(oQ,2,kQ(N.mobile));Gc=N.getHighEntropyValues(H)}var t=new Set(H);return Gc.then(function(h){var O=oQ.clone();t.has("platform")&&ES(O,3,h.platform);t.has("platformVersion")&&ES(O,4,h.platformVersion);t.has("architecture")&&ES(O,5,h.architecture);t.has("model")&&ES(O,6,h.model);t.has("uaFullVersion")&&ES(O,7,h.uaFullVersion);return O.UR()}).catch(function(){return oQ.UR()})}; +O6w=function(N){var H=N.api.D(),c=g.y(N.api.getPlayerStateObject(),128);return H.U&&c&&!N.api.isFullscreen()}; +g.IQ=function(N){this.name=N}; +$bL=function(N,H,c){var t=bY;return NV(BV().T.T,function(){try{if(t.xO&&t.xO.T){var h=t.xO.start(N.toString(),3);var O=H();t.xO.end(h)}else O=H()}catch(M){var F=t.Ma;try{FEL(h),F=t.B(N,new Hd(i7(M)),void 0,c)}catch(f){t.Uv(217,f)}if(!F)throw M;}return O})()}; +dbD=function(N,H){if(N.Zf&&N.Zf.B){if(N.policy.zy){var c=Tvw(N.audioTrack);if(c&&c.ll()){var t=N.wE;if(t.IK&&(t.IK.T=c,c=t.d_,c.qoe)){c=c.qoe;t=t.IK;var h=g.cd(c.provider);jGL(c,h,t)}}}N.policy.Qs&&(c=Tvw(N.videoTrack))&&c.KG()&&(t=N.wE,t.jr&&(t.jr.T=c,c=t.d_,c.qoe&&Meh(c.qoe,t.jr)));H-=isNaN(N.timestampOffset)?0:N.timestampOffset;N.getCurrentTime()!==H&&N.resume();N.tY.isSeeking()&&N.Zf&&!N.Zf.wR()&&(t=N.getCurrentTime()<=H&&H1?H:"0"+H}).join("")}; +KEe=function(N,H,c,t,h){g.L.call(this);var O=this,F=dN(function(){return new Wd(O.Rx)}); +g.l(this,F);var M=dN(function(){return new zR(F,O.Rx)}); +g.l(this,M);var f=dN(function(){return new EP}); +g.l(this,f);var d=dN(function(){return new xh(N)}); +g.l(this,d);var W=dN(function(){return new qV(F,M,O.Rx)}); +g.l(this,W);var z=dN(function(){return new C$}); +g.l(this,z);this.xb=dN(function(){return new xbR(H)}); +g.l(this,this.xb);this.oD=dN(function(){return new ph(H)}); +g.l(this,this.oD);this.V4=dN(function(){return new l7(h)}); +g.l(this,this.V4);this.YO=dN(function(){return new K$(H)}); +g.l(this,this.YO);this.kO=dN(function(){return new gN(H)}); +g.l(this,this.kO);this.Nc=dN(function(){return new rN(H)}); +g.l(this,this.Nc);this.Mi=dN(function(){return new mT(H)}); +g.l(this,this.Mi);this.Rx=dN(function(){return new wN(H)}); +g.l(this,this.Rx);var E=dN(function(){return new Dk(t)}); +g.l(this,E);var x=dN(function(){return new Qx(O.Rx)}); +g.l(this,x);this.bl=dN(function(){return new p$(H)}); +g.l(this,this.bl);this.ea=dN(function(){return new u7(H,z,O.Rx)}); +g.l(this,this.ea);var q=J1({ea:this.ea,Rx:this.Rx,Uy:x}),r=q.context,w=q.dR;this.j1=q.j1;this.jg=dN(function(){return new n$(H,O.Rx,O.Pp)}); +g.l(this,this.jg);this.ID=dN(function(){return new ST(H)}); +g.l(this,this.ID);this.k_=dN(function(){return new Pd(H,O.ea,O.Rx)}); +g.l(this,this.k_);this.mx=dN(function(){return new UP}); +g.l(this,this.mx);q=dN(function(){return new XP(F,W,M,O.Rx,x,null,O.k_,O.G6,O.b2,3)}); +g.l(this,q);this.j7=dN(function(){return new Vx(O.Rx)}); +this.r_=dN(function(){return new L$(O.k_,H,O.Rx)}); +g.l(this,this.r_);this.Pp=dN(function(){return new Zk(H,f,O.r_,O.ea,O.j1,O.Rx,w)}); +g.l(this,this.Pp);this.p6=new Yh(d,q,c,this.Rx,N,this.ea,this.k_,this.YO);g.l(this,this.p6);var n=new A1(H,this.p6,this.k_,this.ea,this.jg);this.GE=dN(function(){return n}); +this.rW=n;this.HZ=new ai(qiw,eT,function(p,U,X,A){return CA3(M.get(),p,U,X,A)},d,W,M,x,this.Rx,this.ea); +g.l(this,this.HZ);this.G6=new vd(d,W,this.GE,this.jg,this.k_,this.Rx,this.Pp,this.ID);g.l(this,this.G6);this.qP=new sP(d,W,this.kO,this.GE,r);g.l(this,this.qP);this.cH=new Bd(this.Rx,d,W,q,this.ea,this.qP,c,this.Nc);g.l(this,this.cH);this.rH=dN(function(){return new yx(E,M,x,O.Rx,O.Pp,O.k_,O.ID)}); +g.l(this,this.rH);this.m7=dN(function(){return new GR}); +g.l(this,this.m7);this.Ro=new Ri(N,this.oD,this.Rx);g.l(this,this.Ro);this.F3=new oi(N);g.l(this,this.F3);this.t3=new kh(N,this.GE,r);g.l(this,this.t3);this.q2=new Ii(N,this.kO,this.k_,this.ea,r);g.l(this,this.q2);this.n$=new b7(N,this.ea);g.l(this,this.n$);this.b2=new NC(N,this.jg,this.k_,this.Pp,this.GE,this.G6);g.l(this,this.b2);this.N2=new Hs(N);g.l(this,this.N2);this.jE=new jr(N);g.l(this,this.jE);this.PH=new iS(N);g.l(this,this.PH);this.Oy=dN(function(){return new cs}); +g.l(this,this.Oy);this.q0=dN(function(){return new th(O.k_)}); +g.l(this,this.q0);this.Ii=dN(function(){return new hh(O.cH,d,F)}); +g.l(this,this.Ii);this.gH=dN(function(){return new On(O.Rx,O.Pp,O.N2,O.r_)}); +g.l(this,this.gH);this.dH=dN(function(){return new F_(N,O.PH,O.N2,O.ea,O.ID,O.k_,O.mx,O.Pp,z,O.jg,O.r_,O.j7,O.Nc,O.kO,O.YO,O.Mi,O.V4,O.bl,O.Rx,f,r,w)}); +g.l(this,this.dH);this.n1=dN(function(){return new lVv(O.oD,O.k_,O.Pp,f,O.xb,c,O.Rx,O.ea)}); +g.l(this,this.n1);this.CC={jt:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.cH],["OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",this.G6],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.HZ],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.p6],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.qP]]),Yd:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.rH],["SLOT_TYPE_FORECASTING",this.m7],["SLOT_TYPE_IN_PLAYER",this.m7],["SLOT_TYPE_PLAYER_BYTES",this.m7]]),tZ:new Map([["TRIGGER_TYPE_SKIP_REQUESTED", +this.Ro],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.F3],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.F3],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.F3],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.F3],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.F3],["TRIGGER_TYPE_SLOT_ID_EXITED",this.F3],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.F3],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.F3],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.F3],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.t3],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED", +this.q2],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.q2],["TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED",this.n$],["TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED",this.n$],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.N2],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.t3],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.jE],["TRIGGER_TYPE_AD_BREAK_STARTED",this.PH],["TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_MATCHED",this.b2],["TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_NOT_MATCHED", +this.b2],["TRIGGER_TYPE_NEW_SLOT_SCHEDULED_WITH_BREAK_DURATION",this.b2],["TRIGGER_TYPE_PREFETCH_CACHE_EXPIRED",this.b2],["TRIGGER_TYPE_CUE_BREAK_IDENTIFIED",this.b2]]),iH:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Oy],["SLOT_TYPE_FORECASTING",this.Oy],["SLOT_TYPE_IN_PLAYER",this.Oy],["SLOT_TYPE_PLAYER_BYTES",this.q0]]),lK:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Ii],["SLOT_TYPE_FORECASTING",this.gH],["SLOT_TYPE_PLAYER_BYTES",this.dH],["SLOT_TYPE_IN_PLAYER",this.n1]])};this.listeners=[f.get()]; +this.r5={cH:this.cH,FE:this.Rx.get(),yS:this.V4.get(),aL:this.k_.get(),p6:this.p6,uY:F.get(),m2:null,Ga:this.Ro,RU:f.get(),MP:this.ea.get()}}; +ggd=function(){this.B=this.T=""}; +mbZ=function(N,H,c){var t;return(t=N.T)==null?void 0:Ty(t,function(){return j6(N,H)},c,function(h){var O; +if(N.T instanceof MC&&((O=H.UB)==null?0:O.nT))try{var F;(F=N.cache)==null||rnv(F,j6(N,H),h,H.UB.Kc,N.Y-120)}catch(M){N.reportError(new fZ(24,"ELX:write",M))}})}; +dG=function(){return dX||Ws?!!WW&&!!WW.platform:!1}; +g.En=function(){try{return g.zy(),!0}catch(N){return!1}}; +Fq=function(N,H){return H?"&"+N+"="+encodeURIComponent(H):""}; +wVL=function(N){N.kd&&(N.xhr.status=N.kd,N.zE=N.kd)}; +DbR=function(N,H,c,t,h){var O=[];SZ(N,function(F,M){(F=fq(F,H,c,t,h))&&O.push(M+"="+F)}); +return O.join(H)}; +jt=function(N){return!(!N||!N[QGL])}; +g.CZ=function(N,H){g.L.call(this);var c=this;this.api=N;this.U={};this.IA=null;this.S={};this.Y=this.B=null;H=xn(H,function(t){t!==c.Vd({playerType:t.getPlayerType()})&&t.dispose()},N.D().Zp().T.G0(pVZ)); +g.l(this,H);this.L=this.Z=this.T=new g.qC(N.D());this.C=H}; +u7s=function(N,H,c,t,h,O){var F=lS(N.B.get(),"SLOT_TYPE_PLAYER_BYTES"),M=lS(N.B.get(),"SLOT_TYPE_IN_PLAYER"),f=CA(N.B.get(),"LAYOUT_TYPE_SURVEY",M);t=KZ(N,H,c,t);var d=[new gX(N.T,F)];c=[new rX(N.T,F),new mZ(N.T,c),new wX(N.T,f)];if(t instanceof S)return t;M=O({slotId:F,slotType:"SLOT_TYPE_PLAYER_BYTES",slotPhysicalPosition:1,Hp:"core",slotEntryTrigger:t,slotFulfillmentTriggers:d,slotExpirationTriggers:c},{slotId:M,layoutId:f});O=M.Tsq;M=M.U4o;return[{slotId:F,slotType:"SLOT_TYPE_PLAYER_BYTES",slotPhysicalPosition:1, +slotEntryTrigger:DB(N,H,F,t),slotFulfillmentTriggers:Qq(N,H,F,d),slotExpirationTriggers:c,Hp:"core",clientMetadata:new xd([new pZ(O),new uS(Jh(H)),new nZ({w2:N.w2(H)})]),adSlotLoggingData:h},M]}; +JnD=function(N){var H=this;var c=c===void 0?0:c;var t=t===void 0?g.S6():t;this.L=c;this.scheduler=t;this.B=new g.Ps;this.T=N;for(N={Yv:0};N.Yv=h){h=Sie(F.url);g.Vq(h)&&(H[t]=h);break}}(N=N.pop())&&N.width>=1280&&(N=Sie(N.url),g.Vq(N)&&(H["maxresdefault.jpg"]=N));return H}; +OP=function(){var N=PAZ();ZB.call(this,iJ.top,N,"geo")}; +Yn=function(N){return N==null||typeof N==="string"?N:void 0}; +Ah=function(N){N.T!=null&&N.Z!==-1&&(N.T.nC(N.Z),N.T.nC(N.Kq),N.Kq=-1,N.Z=-1)}; +Vev=function(N,H,c,t,h,O,F){h=h===void 0?c.schedule:h;var M=g.ue(N,Ji),f;if(!N.TY)if(f=EdS(H,M)){var d=f.CN;f=f.signature}else f=d=H.encrypt(M),(0,g.Lh)(),f=UbD(new XVd(H.T.L),f,H.iv);return nh(d&&f?{D9:d,zl:f}:{xfR:M},H,c,t,!!N.TY,h,O,F)}; +aE=function(N){if(N instanceof ad)return N.T;throw Error("");}; +e6=function(N,H){g.xo.call(this);this.api=N;this.durationMs=H;this.T=null;this.handler=new Qz(this);g.l(this,this.handler);this.B=LEt;this.handler.G(this.api,"presentingplayerstatechange",this.Ep);this.T=this.handler.G(this.api,"onAdPlaybackProgress",this.Dp)}; +i7=function(N){var H=N.toString();N.name&&H.indexOf(N.name)==-1&&(H+=": "+N.name);N.message&&H.indexOf(N.message)==-1&&(H+=": "+N.message);if(N.stack)a:{N=N.stack;var c=H;try{N.indexOf(c)==-1&&(N=c+"\n"+N);for(var t;N!=t;)t=N,N=N.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");H=N.replace(/\n */g,"\n");break a}catch(h){H=c;break a}H=void 0}return H}; +AnR=function(N){if(!N.T){g.vs(N.info.mR.info)||N.info.mR.info.RW();if(g.vs(N.info.mR.info))var H=g.Z6R(g.sn(N));else{H=new Bs(g.sn(N));var c=H.pos;H.pos=0;var t=null,h=null;if(yq(H,[408125543,307544935]))for(var O=H.pos+T8(H,!0);H.pos10&&(N.Cq=H);return H}if(N.isLive&&(t=H[c],t.JJ))return t.JJ}return NaN}; +uX=function(N,H){var c=Math.max(N,H);N=Math.min(N,H);H=pK[0];for(var t=0;t=Math.floor(O*16/9)*1.3||N>=O*1.3)return H;H=h}return"tiny"}; +UL=function(N,H,c,t){var h=c.getVideoData(),O=H.getVideoData();if(c.getPlayerState().isError())return{msg:"player-error"};var F=O.L;if(H.NP()>t/1E3+1)return{msg:"in-the-past"};if(O.isLivePlayback&&!isFinite(t))return{msg:"live-infinite"};(t=H.wr())&&t.isView()&&(t=t.mediaElement);if(t&&t.NA().length>12&&g.JA(h))return{msg:"played-ranges"};if(!h.L)return null;if(!F)return{msg:"no-pvd-formats"};if(!h.L.T||!F.T)return{msg:"non-dash"};t=F.videoInfos[0];var M=h.L.videoInfos[0];N.Bp&&Vz(O)&&(t=H.tQ(),M= +c.tQ());if(!t||!M)return{msg:"no-video-info"};if(N.Y&&(nK(t)||nK(M)))return{msg:"av1"};H=N.U&&O.Tu()&&SF();if(M.containerType!==t.containerType)if(H)O.Lq("sgap",{ierr:"container"});else return{msg:"container"};if(N.S&&!H&&(M.T0!==t.T0||M.T0===""||t.T0===""))return{msg:"codec"};if(N.C&&M.video&&t.video&&Math.abs(M.video.width/M.video.height-t.video.width/t.video.height)>.01)return{msg:"ratio"};if(g.JA(O)&&g.JA(h))return{msg:"content-protection"};F=F.T[0];h=h.L.T[0];c=F.audio;var f=h.audio;if(c.sampleRate!== +f.sampleRate&&!g.Pc)if(H)O.Lq("sgap",{ierr:"srate"});else return{msg:"sample-rate",ci:F.itag,cr:c.sampleRate,ni:h.itag,nr:f.sampleRate};return(c.numChannels||2)!==(f.numChannels||2)?{msg:"channel-count"}:N.Z&&O.Tu()&&t.video.fps!==M.video.fps?{msg:"fps"}:null}; +XZ=function(N){return N==="gelDebuggingEvent"}; +E93=function(N,H,c){if(!N.bv||N.nE==-1||H.B===-1||N.bv.B===-1)return 0;N=H.B-N.bv.B;return N>c?0:N}; +xAS=function(N){switch(N){case "OPEN_IN_NEW":return Vv();case "NOT_INTERESTED":return{W:"svg",V:{fill:"#fff",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M18.71,6C20.13,7.59,21,9.69,21,12c0,4.97-4.03,9-9,9c-2.31,0-4.41-0.87-6-2.29L18.71,6z M3,12 c0-4.97,4.03-9,9-9c2.31,0,4.41,.87,6,2.29L5.29,18C3.87,16.41,3,14.31,3,12z M12,2c5.52,0,10,4.48,10,10c0,5.52-4.48,10-10,10 C6.48,22,2,17.52,2,12C2,6.48,6.48,2,12,2z","fill-rule":"evenodd"}}]};case "HELP_OUTLINE":return LK();default:return Vv()}}; +ZT=function(N){g.e.call(this,{W:"div",fq:["ytp-more-videos-button","ytp-button"],V:{title:"{{title}}",role:"button",tabindex:"0","aria-hidden":"true"},X:[{W:"div",K:"ytp-more-videos-button-thumbnail"},{W:"span",K:"ytp-more-videos-button-title",Wp:"{{title}}"}]});this.J=N;this.B=this.Sa("ytp-more-videos-button-thumbnail");this.L=this.Sa("ytp-more-videos-button-title");this.T=new g.Ww(this);g.l(this,this.T);this.T.G(this.J,"videodatachange",this.Xd);this.Xd();this.listen("click",this.onClick);qqL(this, +0);this.hide()}; +AA=function(N){var H=Number(N);return H==0&&g.YY(N)?NaN:H}; +eF=function(N,H){return aO(N,H)}; +rZe=function(N,H){switch(H){case "ad":return vc(N);case "annotations_module":return N.J.isEmbedsShortsMode()?N=!1:(H=N.J,N=H.D(),H=H.getVideoData(),N=N.L||H.TK||N.controlsType==="3"?!1:N.gE.isEmpty()&&N.playerStyle!=="annotation-editor"&&N.playerStyle!=="live-dashboard"?!!H.qy||!!g.sL(H)||!!g.Bc(H):!0),N;case "asmjs":return yv(N);case "creatorendscreen":return CNw(N);case "embed":return g.PX(N.J.D());case "endscreen":return g.leD(N);case "heartbeat":return N.xL();case "kids":return BW(N.J.D());case "remote":return N.J.D().Bv; +case "miniplayer":return N.J.D().showMiniplayerUiWhenMinimized;case "offline":return N.J.D().nO;case "captions":return KId(N);case "unplugged":return g.G0(N.J.D());case "ux":return N.J.D().Xg;case "webgl":return g9S(N);case "ypc":return N.m$();default:return g.BZ(Error("Module descriptor "+H+" does not match")),!1}}; +g.oO=function(N){N.cursor.continue(void 0);return RO(N.request)}; +wwD=function(N,H){var c=arguments.length==2?mAD(arguments[1],0):mAD(arguments,1);return kY(N,c)}; +g.DAd=function(N,H,c){N.remove(H);c.length>0&&(N.L=null,N.T.set(IO(N,H),g.bX(c)),N.B=N.B+c.length)}; +s0t=function(N,H,c){var t,h,O,F;return g.Y(function(M){if(M.T==1){if(!g.sf("start_client_gcf"))return M.rE(0);NS(N,H);return(t=SO())?c?M.rE(4):g.a(M,Qne(t),5):M.rE(0)}M.T!=4&&(h=M.B,c=(O=h)==null?void 0:O.config);if(!c)return M.rE(0);F=c.configData;return g.a(M,pwl(c,H,F,t),0)})}; +g.Of=function(N,H){H=g.Hf(H);return kY(N,H)}; +JZt=function(N,H){var c="detailpage";H==="adunit"?c=N.U?"embedded":"detailpage":H==="embedded"||N.Z?c=ib(c,H,uvZ):H&&(c="embedded");return c}; +cf=function(N,H,c,t){Y_.call(this,"invideo-overlay",N,H,c,t);this.interactionLoggingClientData=t}; +t0=function(N){var H=this;this.j=N;this.B=[];this.L=new Map;this.U=new Map;this.T=new Map;this.Br={vc:function(){return H.L}, +B4a:function(){return H.U}, +V2:function(){return H.B}}; +this.S=this.j.N("html5_huli_ssdai_deprecate_playback_timeline_id")}; +n9v=function(){this.T=0}; +SqZ=function(N,H,c,t,h,O){this.ids=N;this.T=H;this.B=c;this.U=t;this.L=h;this.zY=O}; +PNh=function(N,H,c){N=g.jm(N.T,function(t){return H(t)}); +return c?N:Oht(N)}; +ng=function(N,H,c){if(!(N-1&15)){var t=g.P(H,UAe)||H[T[69]],h={tD:!1,JK:T[16],Nh:T[16],s:T[16]};if(t){t=OC(t);h[T[41]]=!0;h[T[80]]=t[T[27]];h[T[76]]=t[T[83]];h[T[49]]=t[T[49]];var O=h}else O=h}((N^72)&14)==2&&c[T[22]](c[T[2]],0,H);if((N|72)==N){h=H[T[42]](T[71]);t={};for(var F=0;F=N&&N-7<<2=N)if(c=c===void 0?!1:c,Ui(98,H),H[T[5]]!==T[63])h=H[T[21]](),h[T[1]](T[50],T[52]),O=h;else if(t=H[T[29]](), +h=new g.O3(t),F=H[T[10]](T[39]),M=decodeURIComponent(H[T[10]](T[75])||T[16])[T[42]](T[9]),F&&M&&M[T[2]]>1&&M[1]){t=h[T[6]];var f=t[T[74]](/^[^.]*/,T[16]);g.Jv(h,(t[T[43]](T[35])===0?T[35]:T[45])+F+T[72]+M[1]+f);h=new g.Ft(h[T[31]]());h[T[1]](T[81],T[52]);O=h}else c?(h=H[T[21]](),h[T[1]](T[81],T[52]),O=h):(F=h[T[6]][T[55]](T[37]),h[T[6]][T[55]](T[11])?(g.Jv(h,T[19]),t=h[T[31]]()):h[T[6]][T[55]](T[68])?(g.Jv(h,T[84]),t=h[T[31]]()):(h=Xwh(t),$G(h)&&(t=h)),h=new g.Ft(t),h[T[1]](T[70],T[52]),F&&h[T[1]](T[64], +T[57]),O=h);return O}; +VzD=function(N,H){var c;H===1?c=N.J.N("delhi_modern_web_player_icons")?{W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M11.60 2.08L11.48 2.14L3.91 6.68C3.02 7.21 2.28 7.97 1.77 8.87C1.26 9.77 1.00 10.79 1 11.83V12.16L1.01 12.56C1.07 13.52 1.37 14.46 1.87 15.29C2.38 16.12 3.08 16.81 3.91 17.31L11.48 21.85C11.63 21.94 11.80 21.99 11.98 21.99C12.16 22.00 12.33 21.95 12.49 21.87C12.64 21.78 12.77 21.65 12.86 21.50C12.95 21.35 13 21.17 13 21V3C12.99 2.83 12.95 2.67 12.87 2.52C12.80 2.37 12.68 2.25 12.54 2.16C12.41 2.07 12.25 2.01 12.08 2.00C11.92 1.98 11.75 2.01 11.60 2.08ZM4.94 8.4V8.40L11 4.76V19.23L4.94 15.6C4.38 15.26 3.92 14.80 3.58 14.25C3.24 13.70 3.05 13.07 3.00 12.43L3 12.17V11.83C2.99 11.14 3.17 10.46 3.51 9.86C3.85 9.25 4.34 8.75 4.94 8.4ZM21.29 8.29L19 10.58L16.70 8.29L16.63 8.22C16.43 8.07 16.19 7.99 15.95 8.00C15.70 8.01 15.47 8.12 15.29 8.29C15.12 8.47 15.01 8.70 15.00 8.95C14.99 9.19 15.07 9.43 15.22 9.63L15.29 9.70L17.58 12L15.29 14.29C15.19 14.38 15.12 14.49 15.06 14.61C15.01 14.73 14.98 14.87 14.98 15.00C14.98 15.13 15.01 15.26 15.06 15.39C15.11 15.51 15.18 15.62 15.28 15.71C15.37 15.81 15.48 15.88 15.60 15.93C15.73 15.98 15.86 16.01 15.99 16.01C16.12 16.01 16.26 15.98 16.38 15.93C16.50 15.87 16.61 15.80 16.70 15.70L19 13.41L21.29 15.70L21.36 15.77C21.56 15.93 21.80 16.01 22.05 15.99C22.29 15.98 22.53 15.88 22.70 15.70C22.88 15.53 22.98 15.29 22.99 15.05C23.00 14.80 22.93 14.56 22.77 14.36L22.70 14.29L20.41 12L22.70 9.70C22.80 9.61 22.87 9.50 22.93 9.38C22.98 9.26 23.01 9.12 23.01 8.99C23.01 8.86 22.98 8.73 22.93 8.60C22.88 8.48 22.81 8.37 22.71 8.28C22.62 8.18 22.51 8.11 22.39 8.06C22.26 8.01 22.13 7.98 22.00 7.98C21.87 7.98 21.73 8.01 21.61 8.06C21.49 8.12 21.38 8.19 21.29 8.29Z", +fill:"white"}}]}:Tj():c=N.B;N.ox=H;if(N.J.N("delhi_modern_web_player_icons"))N.B.Sa("ytp-svg-volume-animation-small-ripple").setAttribute("transform","translate(18, 12) scale("+(1-H+") translate(-18,-12)")),N.B.Sa("ytp-svg-volume-animation-big-ripple").setAttribute("transform","translate(22, 12) scale("+(N.C-H+") translate(-22, -12)"));else{for(var t=20*H,h=0;hc.height?f>W?(t=f,h=d):(t=W,h=z):f>>0;h=N.T.T+h;var O=h-t;O<=0&&(N.T.L=h,c(H,N,void 0,void 0,void 0),O=h-N.T.T);if(O)throw Error();N.T.T=h;N.T.L=t}; +oF=function(N,H,c){return iiw(N,H,c,2048)}; +bb=function(N){kG.B.cancel();IF=N;kG.done=!0}; +g.iW=function(N,H){if(N.classList)Array.prototype.forEach.call(H,function(h){g.bV(N,h)}); +else{var c={};Array.prototype.forEach.call(NJ(N),function(h){c[h]=!0}); +Array.prototype.forEach.call(H,function(h){c[h]=!0}); +H="";for(var t in c)H+=H.length>0?" "+t:t;g.HB(N,H)}}; +cCD=function(N,H,c,t,h,O,F,M,f){var d=H;F===1||(F!==4?0:2&H||!(16&H)&&32&t)?CM(H)||(H|=!N.length||M&&!(4096&H)||32&t&&!(4096&H||16&H)?2:256,H!==d&&rp(N,H),Object.freeze(N)):(F===2&&CM(H)&&(N=KM(N),d=0,H=gp(H,t),t=vW(c,t,h,N,O)),CM(H)||(f||(H|=16),H!==d&&rp(N,H)));2&H||!(4096&H||16&H)||my(c,t);return N}; +cB=function(N){return N.T&&N.M0}; +hV=function(N){return N?(N=N.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue)?tV(N):null:null}; +g.h$D=function(N){var H={};N=(N.T&&g.Oy(N)>=2?N.T.getAllResponseHeaders()||"":"").split("\r\n");for(var c=0;c=0&&N<=1}; +Ma=function(N){N=N[MJ];return N instanceof fQ?N:null}; +$wR=function(N,H){if(!N.length)return!1;for(H+=1;HH?1:N1&&N.Lq("trBug",{af:""+g.dv(N.audioTrack.mR.info,!1),vf:""+g.dv(N.videoTrack.mR.info,!1),a:""+H,v:""+c}))}; +z$D=function(N,H){var c=[];N=g.K(N.values());for(var t=N.next();!t.done;t=N.next())t=t.value,t.slot.slotId===H&&c.push(t);return c}; +pQ=function(N,H){var c=c===void 0?{}:c;N={method:H===void 0?"POST":H,mode:Q0(N)?"same-origin":"cors",credentials:Q0(N)?"same-origin":"include"};H={};for(var t=g.K(Object.keys(c)),h=t.next();!h.done;h=t.next())h=h.value,c[h]&&(H[h]=c[h]);Object.keys(H).length>0&&(N.headers=H);return N}; +uW=function(N,H,c){this.T=N;this.reason=H;this.token=c;this.videoId=void 0}; +g.JV=function(N,H,c){c=N.TW.splice(c||0)[0];(c=N.L=N.L||c)?c.SZ?N.T=N.Y||N.S:c.rE!=void 0&&N.S0&&(N.B=H,N.C.style.height=N.B+"px")}; +K1h=function(N){var H=N.app.x_();if(H=H?H.getVideoData():null){if(g.YU(H)||g.AV(H)||g.ay(H))return 16/9;if(ea(H)&&H.L.T)return N=H.L.videoInfos[0].video,vB(N.width,N.height)}return(N=N.Wr)?vB(N.videoWidth,N.videoHeight):16/9}; +g_e=function(N,H){if(H+1<=N.totalLength){var c=YW(N,H);c=c<128?1:c<192?2:c<224?3:c<240?4:5}else c=0;if(c<1||!(H+c<=N.totalLength))return[-1,H];if(c===1)N=YW(N,H++);else if(c===2)c=YW(N,H++),N=YW(N,H++),N=(c&63)+64*N;else if(c===3){c=YW(N,H++);var t=YW(N,H++);N=YW(N,H++);N=(c&31)+32*(t+256*N)}else if(c===4){c=YW(N,H++);t=YW(N,H++);var h=YW(N,H++);N=YW(N,H++);N=(c&15)+16*(t+256*(h+256*N))}else c=H+1,N.focus(c),sy(N,c,4)?N=hmD(N).getUint32(c-N.L,!0):(t=YW(N,c+2)+256*YW(N,c+3),N=YW(N,c)+256*(YW(N,c+1)+ +256*t)),H+=5;return[N,H]}; +y0=function(N,H,c,t){var h=t;xW(N);t=N.hF;N=BB(N,t,t[A8]|0,c,H,2,void 0,!0);h=h!=null?lV(h,c):new c;N.push(h);H=c=N===qn?7:N[A8]|0;(h=bN(h))?(c&=-9,N.length===1&&(c&=-4097)):c|=4096;c!==H&&rp(N,c);h||my(t)}; +rCD=function(){jl();return add()}; +mwt=function(N){N.contentCpn=null;N.adCpn=null;N.videoId=null;N.adVideoId=null;N.adFormat=null;N.U="AD_PLACEMENT_KIND_UNKNOWN";N.actionType="unknown_type";N.L=!1;N.B=!1}; +g.KU=function(N,H,c,t){g.L.call(this);var h=this;this.logger=new g.mE("App");this.KU=this.tJ=!1;this.JB={};this.hq=[];this.Tc=!1;this.Jv=null;this.intentionalPlayback=!1;this.jO=!0;this.FZ=!1;this.Rs=this.P7=this.a5=null;this.aP=!0;this.mediaElement=this.PO=null;this.rY=NaN;this.B4=!1;this.X2=this.FW=this.n6=this.screenLayer=this.playlist=null;this.GH=[];this.BE=0;this.Br={z6:function(){return h.hN}, +Wrg:function(){return h.n6}}; +if(!c)throw Error("b/179532961");this.fD=(H==null?void 0:H.args)||{};this.webPlayerContextConfig=c;H=this.fD;this.j=new G9(H,c,c.canaryState,t,this);g.l(this,this.j);waD(this.j);c=Dwh(this.j);this.j.vO()&&this.iT("h5vcc",c);this.j.experiments.M4("jspb_serialize_with_worker")&&Q4t();this.j.experiments.M4("gzip_gel_with_worker")&&paZ();this.j.B&&(c=this.j.experiments.Zp().T.G0(mQ),usD(c));this.N("html5_onesie")&&(this.C0=new Ry(this.j),g.l(this,this.C0));this.Zp().T.G0(oy)&&(this.YG=new kU(JCe(g.Iy(this.j), +this.j.H0,this.j.experiments),new bW(this.j.experiments),void 0,function(){return void h.a$()}),g.l(this,this.YG)); +this.Gd=Nx(Hg(this.j)&&!0,H.enablesizebutton);this.tv=Nx(!1,H.player_wide);this.visibility=new qk;g.l(this,this.visibility);this.N("web_log_theater_mode_visibility")&&this.Pn(Nx(!1,H.player_wide));this.tJ=Nx(!1,H.external_list);this.events=new g.Ww(this);g.l(this,this.events);this.N("start_client_gcf")&&(cg(nM(),{VI:Pq,bV:n_R()}),this.KW=nM().resolve(Pq),SaZ(this.KW));this.wN_=new ty;g.l(this,this.wN_);this.CB=new G3l;H=new hy;this.VS=new g.Oh(this,H);g.l(this,this.VS);this.template=new Fj(this); +g.l(this,this.template);this.appState=1;this.bR=Pul(this);g.l(this,H);H={};this.J_=(H.internalvideodatachange=this.PE,H.playbackready=this.Kzx,H.playbackstarted=this.t_g,H.statechange=this.G3x,H);this.Vc=new $Z(this.VS);this.F2=Uw3(this);H=this.j.Y;!1!==H&&this.iT("badps",{hbp:H,hostname:window.location.hostname,ps:this.j.playerStyle});this.f4=new T_(this.j,this.F2);this.VS.publish("csiinitialized");(this.webPlayerContextConfig.wasmModuleUrl||yv(this.F2))&&XaD(this);H=10;g.Iy(this.j)&&(H=3);jQ(this.j)&& +(H=g.Mx(this.j.experiments,"tvhtml5_unplugged_preload_cache_size"));this.hN=new g.CZ(this.VS,H);H=VZS(this);this.hN.QZ(H);L13(this);H={};this.v6=(H.airplayactivechange=this.XHs,H.airplayavailabilitychange=this.jcl,H.beginseeking=this.qca,H.sabrCaptionsDataLoaded=this.L7l,H.endseeking=this.yjS,H.internalAbandon=this.F9a,H.internalaudioformatchange=this.dia,H.internalvideodatachange=this.REl,H.internalvideoformatchange=this.SyE,H.liveviewshift=this.nHo,H.playbackstalledatstart=this.l6x,H.progresssync= +this.iGS,H.onAbnormalityDetected=this.b6p,H.onSnackbarMessage=this.OGo,H.onLoadProgress=this.QcW,H.SEEK_COMPLETE=this.U2T,H.SEEK_TO=this.hER,H.onVideoProgress=this.m2T,H.onLoadedMetadata=this.scS,H.onAutoplayBlocked=this.H6q,H.onPlaybackPauseAtStart=this.M7q,H.playbackready=this.wUi,H.statechange=this.xK,H.newelementrequired=this.yn,H.heartbeatparams=this.xii,H.videoelementevent=this.ols,H.drmoutputrestricted=this.aIp,H.signatureexpired=this.W7a,H.nonfatalerror=this.Aji,H.reloadplayer=this.Bks,H); +this.pP=new g.Ww(this);g.l(this,this.pP);this.fP=new fU(this.j.Zp().T.G0(pVZ));g.l(this,this.fP);this.XF=this.Yn=-1;this.bA=new g.kT(this.template.resize,16,this.template);g.l(this,this.bA);this.z3=new $U(this.VS,this.j,this.o4(),this);this.fF=new du(this);g.l(this,this.fF);this.dT=new Wg(this);g.l(this,this.dT);Ziw(this.j.T.c);this.events.G(this.VS,g.dm("appapi"),this.Yug);this.events.G(this.VS,g.WX("appapi"),this.CXg);this.events.G(this.VS,g.dm("appprogressboundary"),this.cn_);this.events.G(this.VS, +g.WX("applooprange"),this.yZ);this.events.G(this.VS,"presentingplayerstatechange",this.Wv);this.events.G(this.VS,"resize",this.D2p);this.template.Jl(z_(document,N));this.events.G(this.VS,"offlineslatestatechange",this.e1x);this.events.G(this.VS,"sabrCaptionsTrackChanged",this.x2s);this.events.G(this.VS,"sabrCaptionsBufferedRangesUpdated",this.ynE);this.F2.J.D().nO&&Eh(this.F2,"offline");this.j.Xg&&g.xZ("ux",g.De);N=g.Mx(this.j.experiments,"html5_defer_fetch_att_ms");this.Qz=new g.kT(this.WLE,N,this); +g.l(this,this.Qz);this.Sg().DI()&&(g.qx()&&this.Sg().AJ.push("mdx"),CU(this));this.f4.tick("fs");Yah(this);this.j.Xg&&Eh(this.F2,"ux",!0);g.PX(this.F2.J.D())&&Eh(this.F2,"embed");this.N("web_player_sentinel_is_uniplayer")||g.aS(new g.ti("Player experiment flags missing","web_player_sentinel_is_uniplayer"));N=this.N("web_player_sentinel_yt_experiments_sync");H=g.sf("web_player_sentinel_yt_experiments_sync");N!==H&&g.aS(new g.ti("b/195699950",{yt:N,player:H}));this.Kz=ACh(this);if(N=g.Mx(this.j.experiments, +"html5_block_pip_safari_delay"))this.Ax=new g.kT(this.Ih,N,this),g.l(this,this.Ax);ln=this.j.Uu;this.VS.publish("applicationInitialized")}; +TX=function(N){return N}; +yCe=function(N,H,c,t,h){try{var O=H.D();if(g.gu(O))var F=new aWt(N,H,c,t,h);else if(g.ru(O))F=new e$w(N,H,c,t,h);else if(BW(O))F=new v_d(N,H,c,t,h);else if(g.m8(O))F=new s4s(N,H,c,t,h);else if(g.G0(O))F=new KEe(N,H,c,t,h);else throw new TypeError("Unknown web interface");return F}catch(M){return F=H.D(),KA("Unexpected interface not supported in Ads Control Flow",void 0,void 0,{platform:F.T.cplatform,interface:F.T.c,PK_:F.T.cver,geg:F.T.ctheme,fbs:F.T.cplayer,Uug:F.playerStyle}),new Bds(N,H,c,t,h)}}; +wu=function(N,H,c,t){this.top=N;this.right=H;this.bottom=c;this.left=t}; +GXh=function(N){var H=N.T;N.type===3&&N.ox.stop();N.api.removeEventListener("appresize",N.Bp);N.C||(N.env.N("player_tooltip_data_title_killswitch")?H.setAttribute("title",N.L):H.setAttribute("data-tooltip-title",N.L));N.L="";N.T=null;N.update({keyBoardShortcut:"",keyBoardShortcutTitle:""});N.wrapper.style.width=""}; +un=function(N){if(N.T){var H=N.T.getAttribute("data-tooltip-text");if(N.L&&N.T.getAttribute("aria-label")!==N.L)var c=N.L;var t=N.T.getAttribute("aria-keyshortcuts"),h=N.T.getAttribute("data-title-no-tooltip");t&&h&&(c=g.Df("$BUTTON_TITLE keyboard shortcut $SHORTCUT_KEY",{BUTTON_TITLE:h,SHORTCUT_KEY:t}));c&&N.T.setAttribute("aria-label",c);if(H&&!N.C){R$l(N,!0);var O=N.T;N.updateValue("text",H);c=O.getAttribute("data-duration");N.update({title:N.L,duration:c});O=O.getAttribute("data-preview");N.env.N("delhi_modern_web_player")? +(N.updateValue("title",h),N.updateValue("keyBoardShortcutTitle",t.toUpperCase())):R$l(N,!1);t=243*N.scale;h=141*N.scale;N.bg.style.width=t+"px";N.bg.style.height=h+"px";N.bg.style.backgroundImage=O?"url("+O+")":"";N.bg.style.backgroundSize=t+"px "+h+"px";N.wrapper.style.width=t+"px";g.iW(N.element,["ytp-text-detail","ytp-preview"]);g.QH(N.element,"ytp-has-duration",!!c)}else h&&t&&N.env.N("delhi_modern_web_player")?(N.updateValue("text",h),N.updateValue("keyBoardShortcut",t.toUpperCase())):N.updateValue("text", +N.L),g.pU(N.element,["ytp-text-detail","ytp-preview","ytp-has-duration"]);c=N.T;c.hasAttribute("data-tooltip-offset-y")?(c=Number(c.getAttribute("data-tooltip-offset-y")),c=isNaN(c)?0:c):c=0;o_e(N,!!H,void 0,c)}}; +kXL=function(N){N.L&&g.Fv(N.L);N.U&&g.Fv(N.U)}; +g.IWd=function(N){return N.K4()&&AC(N)}; +bih=function(N,H){N=N.app.z6().C.Gf();N=g.K(N);for(var c=N.next();!c.done;c=N.next()){c=c.value;var t=c.getAvailableAudioTracks(),h=null;t=g.K(t);for(var O=t.next();!O.done;O=t.next())if(O=O.value,O.getLanguageInfo().getId()===H){h=O;break}h&&c.RM(h,!0)}}; +Jy=function(N,H){var c=N.B[H],t=c[1];N.L+=c[0];t>0&&N.T[H]==0&&(N.T[H]=1)}; +nU=function(){var N=/WebKit\/([0-9]+)/.exec(g.tA());return!!(N&&parseInt(N[1],10)>=600)}; +Pg=function(N){return new SQ(function(H){return H.substr(0,N.length+1).toLowerCase()===N+":"})}; +Ney=function(N,H){if(!N.S){H=aO(142,H);jl();var c;Uh.visibilityState?c="visibilitychange":Uh.mozVisibilityState?c="mozvisibilitychange":Uh.webkitVisibilityState&&(c="webkitvisibilitychange");c&&MN(Uh,c,H,{capture:!1})&&(N.S=H)}}; +VH=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x){x=x===void 0?null:x;g.L.call(this);var q=this;this.loader=N;this.policy=H;this.videoTrack=c;this.audioTrack=t;this.U=h;this.T=O;this.timing=F;this.S=M;this.schedule=f;this.GW=d;this.L=W;this.Bp=z;this.Jm=E;this.fO=x;this.Us=!1;this.pu="";this.SV=null;this.Io=NaN;this.ox=!1;this.B=null;this.u$=this.TW=NaN;this.TZ=this.Y=0;this.logger=new g.mE("dash");this.Br={Ck:function(r,w){return q.Ck(r,w)}}; +this.policy.DZ>0&&(this.pu=g.Xj(this.policy.DZ));this.policy.QB&&(this.Z=new IU(this.loader,this.policy,this.schedule),g.l(this,this.Z))}; +i2e=function(N){var H;if((H=N.B)==null?0:H.isLocked())return N.videoInfos;var c=Ci(N.T);H=g.WL(N.videoInfos,function(t){return t.OF>N.wk.OF?!1:!c.has(t.id)}); +H2t(N.T)&&(H=g.WL(H,function(t){return t.video.width<=854&&t.video.height<=480})); +return H}; +YQ=function(N,H){var c=(H?H:N.Sg()).xJ;N.f4.tick("ep_pr_r");if(c!=null&&(c$s(N.playlist,c),N.FZ))N.playlist.onReady(function(){Av(N,H)})}; +htS=function(N){N=LU(N);if(N=="")return null;var H=String(N.slice(0,4)).toLowerCase();if(("url("1||N&&N.split(")"),null;if(N.indexOf("(")>0){if(/"|'/.test(N))return null;H=/([\-\w]+)\(/g;for(var c;c=H.exec(N);)if(!(c[1].toLowerCase()in t4Z))return null}return N}; +$NR=function(N,H){cB(N.wk)&&(N.ox=H.reason==="m"||H.reason==="l"?!0:!1);H.reason==="m"?H.isLocked()&&O2s(N,H.T):FGw(N,H)?z3(N,H.B,H.T):N.videoInfos=N.Y;N.TW=!0;N.B=H}; +gn=function(N,H){this.intervalMs=N;this.callback=H;this.enabled=!1;this.T=function(){return g.vg()}; +this.B=this.T()}; +sh=function(N,H,c){N.T==0&&(N===c&&(H=3,c=new TypeError("Promise cannot resolve to itself")),N.T=1,Te3(c,N.qmS,N.aMa,N)||(N.C=c,N.T=H,N.L=null,jfv(N),H!=3||c instanceof xY||M4D(N,c)))}; +fED=function(N){var H={};var c=g.vg()-N.S;H=(H.ptlt=c,H);(c=N.B)&&(H.pnk=c);(c=N.L)&&(H.pnc=c);(c=N.U)&&(H.pnmm=c);(N=N.T)&&(H.pns=N);return H}; +G_=function(N,H,c,t){H=H===void 0?!1:H;c=c===void 0?!1:c;t=t===void 0?!1:t;if(!N)return null;switch(N.iconType){case "OPEN_IN_NEW":case "EXTERNAL_LINK":return c?{W:"svg",V:{fill:"#fff",height:"100%",version:"1.1",viewBox:"0 0 24 24",width:"100%"},X:[{W:"path",V:{d:"M21 21H3V3h9v1H4v16h16v-8h1v9zM15 3v1h4.32l-8.03 8.03.71.71 8-8V9h1V3h-6z"}}]}:Vv();case "CHECK_BOX":return{W:"svg",V:{height:"100%",viewBox:"0 0 24 24",width:"100%"},X:[{W:"path",V:{d:"M0 0h24v24H0z",fill:"none"}},{W:"path",V:{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z", +fill:"#d4d4d4"}}]};case "CHECK_BOX_OUTLINE_BLANK":return{W:"svg",V:{height:"100%",viewBox:"0 0 24 24",width:"100%"},X:[{W:"path",V:{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z",fill:"#d4d4d4"}},{W:"path",V:{d:"M0 0h24v24H0z",fill:"none"}}]};case "CLOSE":return g.Bg();case "INFO_OUTLINE":return H?{W:"svg",V:{fill:"#fff",height:"12px",style:"padding-top: 8px",viewBox:"0 -960 960 960",width:"12px"},X:[{W:"path",V:{d:"M430.09-270.8h101.34V-528H430.09v257.2Zm49.52-338.03q20.94 0 35.34-14.01 14.4-14.01 14.4-34.95 0-20.94-14.01-35.34-14.01-14.39-34.95-14.39-20.94 0-35.34 14.01-14.4 14.01-14.4 34.95 0 20.94 14.01 35.34 14.01 14.39 34.95 14.39Zm.67 548.18q-86.64 0-163.19-32.66-76.56-32.66-133.84-89.94t-89.94-133.8q-32.66-76.51-32.66-163.41 0-87.15 32.72-163.31t90.14-133.61q57.42-57.44 133.79-89.7 76.38-32.27 163.16-32.27 87.14 0 163.31 32.26 76.16 32.26 133.61 89.71 57.45 57.45 89.71 133.86 32.26 76.42 32.26 163.33 0 86.91-32.27 163.08-32.26 76.18-89.7 133.6-57.45 57.42-133.83 90.14-76.39 32.72-163.27 32.72Zm-.33-105.18q131.13 0 222.68-91.49 91.54-91.49 91.54-222.63 0-131.13-91.49-222.68-91.49-91.54-222.63-91.54-131.13 0-222.68 91.49-91.54 91.49-91.54 222.63 0 131.13 91.49 222.68 91.49 91.54 222.63 91.54ZM480-480Z"}}]}: +dNe();case "REMOVE_CIRCLE":return{W:"svg",V:{fill:"#fff",height:"100%",version:"1.1",viewBox:"0 0 24 24",width:"100%"},X:[{W:"path",V:{d:"M0 0h24v24H0z",fill:"none"}},{W:"path",V:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z",fill:"#757575"}}]};case "SKIP_NEXT":return yH();case "SKIP_NEXT_NEW":return t?WGS():{W:"svg",V:{height:"100%",viewBox:"-6 -6 36 36",width:"100%"},X:[{W:"path",V:{d:"M5,18l10-6L5,6V18L5,18z M19,6h-2v12h2V6z",fill:"#fff"}}]};case "LIKE":return ztw(); +case "DISLIKE":return ELe();default:return g.aS(new g.ti("Unexpected icon:",N)),null}}; +RN=function(N,H){return vV(N,H,function(c){return c.L})}; +oN=function(N,H){this.breakDurationMs=N;this.triggerType="TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_NOT_MATCHED";this.triggerId=H||""}; +kZ=function(N,H){return NH?1:0}; +IN=function(N,H,c,t,h,O){O=O===void 0?function(){}:O; +sE.call(this,N,{W:"div",K:"ytp-ad-survey-question",X:[{W:"div",fq:["ytp-ad-survey-question-text","ytp-ad-survey-question-foreground"]},{W:"div",fq:["ytp-ad-survey-answers","ytp-ad-survey-question-foreground"]},{W:"div",fq:["ytp-ad-survey-question-player-overlay","ytp-ad-survey-question-foreground"]},{W:"div",K:"ytp-ad-survey-question-background"}]},h,H,c,t);this.Ix=O;this.U=null;this.B=[];this.T=null;this.Z=this.api.D().experiments.M4("a11y_h5_associate_survey_question");this.question=this.Sa("ytp-ad-survey-question"); +this.gE=this.Sa("ytp-ad-survey-question-background");this.questionText=this.Sa("ytp-ad-survey-question-text");this.answers=this.Sa("ytp-ad-survey-answers");this.playerOverlay=this.Sa("ytp-ad-survey-question-player-overlay");this.L=Date.now()}; +bn=function(N,H){this.Y=H===void 0?!1:H;this.T=this.B=this.L=this.startTimestamp=0;this.U=!1;this.S=Math.ceil(N/1E3)}; +xNs=function(N,H){N!=null?lV(N,H):N=void 0;return N}; +H_=function(N,H,c,t){this.initRange=c;this.indexRange=t;this.T=null;this.L=!1;this.Y=0;this.U=this.XK=this.B=null;this.info=H;this.JF=new NG(N)}; +Wq=function(N,H,c,t){sE.call(this,N,{W:"div",K:"ytp-ad-grid-card-collection"},"ad-grid-card-collection",H,c,t);this.T=[]}; +g.NA=function(N,H){N=N.split(".");H=H||g.di;for(var c=0;c1E5||++H.U})}; +KGs=function(N,H,c){H==2?N.L.call(N.context,c):N.B&&N.B.call(N.context,c)}; +g.hH=function(N){g.L.call(this);this.Uu={};this.iR={};this.element=this.createElement(N)}; +gLL=function(){var N={format:"jspb"};N=N===void 0?{}:N;this.Mt=N.Mt||g.NA("suppressCorsPreflight",N)||!1;this.withCredentials=N.withCredentials||g.NA("withCredentials",N)||!1;this.sM=N.sM||[];this.uD=N.uD||[];this.yg=N.yg;this.T=N.nBx||!1}; +t1=function(N,H){return O$(N,H)>=0}; +wPd=function(N,H,c){N.button==null?g.BZ(Error("AdInfoHoverTextButton.button was expected but it was not created.")):(N.B&&g.bV(N.B.element,"ytp-ad-info-hover-text-short"),(H=H&&H.serviceEndpoint&&g.P(H.serviceEndpoint,r$w)||null)?(zZR(N,H,c),N.button.listen("click",function(){N.T&&!N.T.I4&&(N.T.show(),mNt(N))})):N.button.listen("click",function(){return mNt(N)}))}; +DNd=function(N,H){if(H.title){var c=g.Fu(H.title);N.updateValue("title",c)}if(H.dialogMessages){c=g.K(H.dialogMessages);for(var t=c.next();!t.done;t=c.next())t=$v(t.value),N.Us.appendChild(t)}H.cancelLabel&&(c=g.Fu(H.cancelLabel),N.updateValue("cancelLabel",c),N.T.G(N.U,"click",function(h){return N.eQ(h)})); +H.confirmLabel&&(H=g.Fu(H.confirmLabel),N.updateValue("confirmLabel",H),N.T.G(N.S,"click",function(h){return N.Kf(h)})); +N.T.G(N.Z,"click",function(h){return N.Cf(h)})}; +Qfd=function(N){N.CO>8?Tb(N,N.KF):N.CO>0&&(N.Pd[N.pending++]=N.KF);N.KF=0;N.CO=0}; +fB=function(N,H){if(N=jc(N,H))return g.MG(N)}; +pPR=function(N){var H,c;return(c=(H=/https?:\/\/[^\/]+/.exec(N))==null?void 0:H[0])!=null?c:""}; +nLS=function(N,H){uCD(N.T,H,function(){return{OFx:0,qW:void 0,Bh:-1,nD:-1,hK:-1,LZ:-1,Qt:-1,V0:-1,hH:-1,AL:-1,Fn:-1,position:void 0,Y0:void 0,Or:[]}}); +N.T[H]=J$h(N)}; +W_=function(N){dF.call(this,1,arguments);this.csn=N}; +xv=function(N,H,c){zb.call(this,N);this.U=H;this.T="w";this.B="z";E$(this,c)}; +Sed=function(N,H,c){if(!N.isSeeking())return-1;c=(c?N.videoTrack:N.audioTrack).mR.index;var t=c.b$(N.targetTime);return(c.rA(N.GW.rk)||H.Y_===N.GW.rk)&&t>>=0;N>>>=0;if(H<=2097151)var c=""+(4294967296*H+N);else CB()?c=""+(BigInt(H)<>>24|H<<8)&16777215,H=H>>16&65535,N=(N&16777215)+c*6777216+H*6710656,c+=H*8147497,H*=2,N>=1E7&&(c+=N/1E7>>>0,N%=1E7),c>=1E7&&(H+=c/1E7>>>0,c%=1E7),c=H+PMR(c)+PMR(N));return c}; +UNe=function(N){this.T=N}; +rF=function(N){g.lL.call(this,{W:"div",K:"ytp-speedslider-component"});N.N("web_settings_use_input_slider")?this.T=new KB(N):this.T=new gF(N);g.l(this,this.T);this.element.appendChild(this.T.element)}; +Rte=function(N,H){var c=H.raw_embedded_player_response;if(!c){var t=H.embedded_player_response;t&&(c=JSON.parse(t))}c&&(N.t9=c);if(N.t9){N.embeddedPlayerConfig=N.t9.embeddedPlayerConfig||null;if(c=N.t9.videoFlags)c.playableInEmbed&&(N.allowEmbed=!0),c.isPrivate&&(N.isPrivate=!0),c.userDisplayName&&(H.user_display_name=c.userDisplayName),c.userDisplayImage&&(H.user_display_image=c.userDisplayImage);if(c=N.t9.embedPreview){c=c.thumbnailPreviewRenderer;XPS(N,c.controlBgHtml);if(t=c.defaultThumbnail)N.xP= +LZ(t);N.N("embeds_web_enable_search_button")&&c.searchButton&&(t=g.P(c.searchButton,g.mM))&&(N.w3=g.P(t.navigationEndpoint,g.wF));(t=g.P(c==null?void 0:c.videoDetails,V4f))&&LGd(N,H,t);t=g.P(c==null?void 0:c.videoDetails,Z2v);N.S_=!!c.addToWatchLaterButton;YeS(N,c.shareButton);if(t==null?0:t.musicVideoType)N.musicVideoType=t.musicVideoType;var h,O,F,M,f;if(t=g.P((h=N.getEmbeddedPlayerResponse())==null?void 0:(O=h.embedPreview)==null?void 0:(F=O.thumbnailPreviewRenderer)==null?void 0:(M=F.playButton)== +null?void 0:(f=M.buttonRenderer)==null?void 0:f.navigationEndpoint,g.DS))A$f(N,t),N.videoId=t.videoId||N.videoId;c.videoDurationSeconds&&(N.lengthSeconds=AA(c.videoDurationSeconds));c.webPlayerActionsPorting&&aEv(N,c.webPlayerActionsPorting);if(h=g.P(c==null?void 0:c.playlist,ety)){N.kD=!0;O=[];F=Number(h.currentIndex);if(h.contents)for(M=0,f=h.contents.length;MH)){var F=H-c.end(O);F=20)?(N.loader.handleError("player.exception",{reason:"bufferunderrunexceedslimit"}),H):t}; +NpR=function(N){return g.pB("yt-player-drc-pref")?g.WL(N,uL):N}; +k_=function(N,H){H.name in N.Z||(N.Z[H.name]=HMs(N,H));return N.Z[H.name]}; +nB=function(N){g.e.call(this,{W:"div",K:"ytp-shorts-title-channel",X:[{W:"a",K:"ytp-shorts-title-channel-logo",V:{href:"{{channelLink}}",target:N.D().TW,"aria-label":"{{channelLogoLabel}}"}},{W:"div",K:"ytp-shorts-title-expanded-heading",X:[{W:"div",K:"ytp-shorts-title-expanded-title",X:[{W:"a",Wp:"{{expandedTitle}}",V:{href:"{{channelTitleLink}}",target:N.D().TW,tabIndex:"0"}}]}]}]});var H=this;this.api=N;this.T=this.Sa("ytp-shorts-title-channel-logo");this.channelName=this.Sa("ytp-shorts-title-expanded-title"); +this.subscribeButton=null;N.createClientVe(this.T,this,36925);this.G(this.T,"click",function(c){H.api.logClick(H.T);g.JH(window,E_h(H));c.preventDefault()}); +N.createClientVe(this.channelName,this,37220);this.G(this.channelName,"click",function(c){H.api.logClick(H.channelName);g.JH(window,E_h(H));c.preventDefault()}); +iMw(this);this.G(N,"videodatachange",this.Df);this.G(N,"videoplayerreset",this.Df);this.Df()}; +cKZ=function(N,H){N="https://"+Sc(21,H.location)+"/initplayback?c="+P_(N.j)+"&owc=1";U$(N,"pw",function(c){c.ht=H.T})}; +tp3=function(N){var H=N.J.BO().lR();N=N.J.UG(!0,!0);return H.height-(N.height+N.top)}; +Xu=function(N){this.hF=oF(N)}; +$n3=function(N,H){var c=g.sn(H);if(VE(H.info.mR.info)&&H.info.mR.info.video.primaries==="bt2020"){var t=new Bs(c);yq(t,[408125543,374648427,174,224,21936,21937])&&(t=t.start+t.pos,c.getUint8(t)===129&&c.getUint8(t+1)===1&&c.setUint8(t+1,9))}t=H.info.mR.info;LB(t)&&!VE(t)&&(t=g.sn(H),(new Bs(t)).cL(),ZS([408125543,374648427,174,224],21936,t));H.info.mR.info.KG()&&(t=H.info.mR,t.info&&t.info.video&&t.info.video.projectionType==="MESH"&&!t.B&&(g.vs(t.info)?t.B=hbR(c):t.info.RW()&&(t.B=OMR(c))));H.info.mR.info.RW()&& +H.info.KG()&&(c=g.sn(H),(new Bs(c)).cL(),ZS([408125543,374648427,174,224],30320,c)&&ZS([408125543,374648427,174,224],21432,c));if(N.policy.QX&&H.info.mR.info.RW()){c=g.sn(H);var h=new Bs(c);if(yq(h,[408125543,374648427,174,29637])){t=T8(h,!0);h=h.start+h.pos;for(var O=0;O1E9}; +JKR=function(N,H){return IVv(N,H,u0s)}; +SzZ=function(){var N,H,c,t=(N=window.h5vcc)==null?void 0:(H=N.settings)==null?void 0:(c=H.getPersistentSettingAsString)==null?void 0:c.call(H,"cpu_usage_tracker_intervals");if(t!=null){var h;N=(h=JSON.parse(t))!=null?h:[];h=N.filter(function(d){return d.type==="total"}).map(function(d){return d.seconds}); +H=g.K(nWy);for(c=H.next();!c.done;c=H.next())c=c.value,h.indexOf(c)===-1&&N.push({type:"total",seconds:c});var O,F;(O=window.h5vcc)==null||(F=O.settings)==null||F.set("cpu_usage_tracker_intervals_enabled",1);var M,f;(M=window.h5vcc)==null||(f=M.settings)==null||f.set("cpu_usage_tracker_intervals",JSON.stringify(N))}}; +C6=function(N){var H=new NK;N=N===void 0?null:N;H.L=2;H.B=N===void 0?null:N;return H}; +PVv=function(N){if(!N)return"unknown";switch(N){case 5:return"predictStart";case 1:return"start";case 2:return"continue";case 3:return"stop";default:return"unknown"}}; +cs=function(){}; +Ta=function(N,H,c,t,h,O){O=O===void 0?new Od:O;kg.call(this,H,c,t);this.Kh=h;this.u8=0;this.Nf={};this.FO=new Une;this.y9={};this.RR="";this.Xg=null;this.kG=!1;this.T=[];this.XV=O.B();this.Y=O.L();this.U=null;this.L=-1;this.Kq=this.TW=void 0;this.Us=this.Bp=0;this.Ix=-1;this.Al=this.w_=!1;this.NT=this.Z=this.B=this.a6=this.mG=0;new FR;this.Cq=this.vp=0;this.zW=-1;this.DG=0;this.C=g.$$;this.ox=[this.aC()];this.Dt=2;this.EC={};this.EC.pause="p";this.EC.resume="r";this.EC.skip="s";this.EC.mute="m";this.EC.unmute= +"um";this.EC.exitfullscreen="ef";this.S=null;this.UF=this.WO=!1;this.C4=Math.floor(Date.now()/1E3-1704067200);this.gE=0}; +Bd=function(N,H,c,t,h,O,F,M){g.L.call(this);this.Rx=N;this.T=H;this.B=t;this.ea=h;this.U=O;this.L=F;this.Nc=M}; +Xqy=function(N){var H;switch((H=N.j.playerCanaryStage)==null?void 0:H.toLowerCase()){case "xsmall":return"HTML5_PLAYER_CANARY_STAGE_XSMALL";case "small":return"HTML5_PLAYER_CANARY_STAGE_SMALL";case "medium":return"HTML5_PLAYER_CANARY_STAGE_MEDIUM";case "large":return"HTML5_PLAYER_CANARY_STAGE_LARGE";case "xlarge":return"HTML5_PLAYER_CANARY_STAGE_XLARGE";default:return"HTML5_PLAYER_CANARY_STAGE_UNSPECIFIED"}}; +Vpl=function(){return{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M21.20 3.01L21 3H3L2.79 3.01C2.30 3.06 1.84 3.29 1.51 3.65C1.18 4.02 .99 4.50 1 5V19L1.01 19.20C1.05 19.66 1.26 20.08 1.58 20.41C1.91 20.73 2.33 20.94 2.79 20.99L3 21H21L21.20 20.98C21.66 20.94 22.08 20.73 22.41 20.41C22.73 20.08 22.94 19.66 22.99 19.20L23 19V5C23.00 4.50 22.81 4.02 22.48 3.65C22.15 3.29 21.69 3.06 21.20 3.01ZM3 19V5H21V19H3ZM8 11H6C5.73 11 5.48 11.10 5.29 11.29C5.10 11.48 5 11.73 5 12C5 12.26 5.10 12.51 5.29 12.70C5.48 12.89 5.73 13 6 13H8C8.26 13 8.51 12.89 8.70 12.70C8.89 12.51 9 12.26 9 12C9 11.73 8.89 11.48 8.70 11.29C8.51 11.10 8.26 11 8 11ZM18 11H12C11.73 11 11.48 11.10 11.29 11.29C11.10 11.48 11 11.73 11 12C11 12.26 11.10 12.51 11.29 12.70C11.48 12.89 11.73 13 12 13H18C18.26 13 18.51 12.89 18.70 12.70C18.89 12.51 19 12.26 19 12C19 11.73 18.89 11.48 18.70 11.29C18.51 11.10 18.26 11 18 11ZM18 15H16C15.73 15 15.48 15.10 15.29 15.29C15.10 15.48 15 15.73 15 16C15 16.26 15.10 16.51 15.29 16.70C15.48 16.89 15.73 17 16 17H18C18.26 17 18.51 16.89 18.70 16.70C18.89 16.51 19 16.26 19 16C19 15.73 18.89 15.48 18.70 15.29C18.51 15.10 18.26 15 18 15ZM12 15H6C5.73 15 5.48 15.10 5.29 15.29C5.10 15.48 5 15.73 5 16C5 16.26 5.10 16.51 5.29 16.70C5.48 16.89 5.73 17 6 17H12C12.26 17 12.51 16.89 12.70 16.70C12.89 16.51 13 16.26 13 16C13 15.73 12.89 15.48 12.70 15.29C12.51 15.10 12.26 15 12 15Z", +fill:"white"}}]}}; +LyS=function(N){for(var H=g.K(Object.values(N.S)),c=H.next();!c.done;c=H.next())c.value.dispose();N.S={};N.B=null;N.Y=null;jq(N)}; +Uy=function(N){return globalThis.TextEncoder?(new TextEncoder).encode(N):g.MD(N)}; +d5=function(N){var H=g.P(N,xR);if(H)return H;if((H=g.P(N,ZMR))&&H.commands)return Yzf(H.commands);if((H=g.P(N,AKt))&&H.commands)return Yzf(H.commands);if((N=g.P(N,aXl))&&N.identifier&&N.command&&(f4||(f4=[]),!f4.includes(N.identifier)))return f4.push(N.identifier),g.P(N.command,xR)}; +g.leD=function(N){var H=N.J.D();if(H.L||hS(H)||H.Y||!H.mz&&!H.kD)return!1;var c=N.J.getPresentingPlayerType();if(c===2||c===3)return!1;N=N.J.getVideoData();if(!N)return!1;c=!N.isLiveDefaultBroadcast||H.N("allow_poltergust_autoplay");c=N.isLivePlayback&&(!H.N("allow_live_autoplay")||!c);H=N.isLivePlayback&&H.N("allow_live_autoplay_on_mweb");return!c||H}; +ebt=function(N,H){N.api.N("html5_enable_d6de4_cold_start_and_error")&&(H.AV={coldStartInfo:{clientState:N.L}})}; +WT=function(){}; +vWd=function(){var N=g.di.__SAPISID||g.di.__APISID||g.di.__3PSAPISID||g.di.__1PSAPISID||g.di.__OVERRIDE_SID;if(N)return!0;typeof document!=="undefined"&&(N=new za(document),N=N.get("SAPISID")||N.get("APISID")||N.get("__Secure-3PAPISID")||N.get("__Secure-1PAPISID"));return!!N}; +Ed=function(){return Math.random().toString(36).substring(7).split("").join(".")}; +C4=function(N,H,c,t){var h=g.x$(N.api.g_());if(h&&h.loaded){var O=N.api.getSubtitlesUserSettings();h=void 0;for(var F=0;F0&&(O.Eh=N.Eh):N.nJ&&(O.nJ=N.nJ);O.Eu=N.Eu;O.iO=h.zW;return O}; +iRL=function(N,H){var c=N.Y*N.scale;H-=N.T/2;return H>-c?-H/c*N.interval*.5:-(H+c/2)/c*N.interval}; +al=function(N){this.value=N}; +tmZ=function(N){var H=cBf();H&&document.removeEventListener(H,N,!1)}; +FuZ=function(){if(hyS)throw Error("carr");n4(ORh,5)}; +TPh=function(N,H,c){var t={stack:[],error:void 0,hasError:!1};try{var h=o9R(N,c);return Ty($jL(t,new Sq(N.logger,h)),function(){return[]},H)}catch(O){t.error=O,t.hasError=!0}finally{gR3(t)}}; +PT=function(N){this.hF=oF(N)}; +L4=function(N,H){this.Es=N;this.Be=this.author="";this.yT=null;this.isUpcoming=this.isLivePlayback=!1;this.lengthSeconds=0;this.xv=this.lengthText="";this.sessionData=null;this.xP={};this.title="";if(H){this.ariaLabel=H.aria_label||void 0;this.author=H.author||"";this.Be=H.Be||"";if(N=H.endscreen_autoplay_session_data)this.yT=Ud(N,"&");this.lQ=H.lQ;this.isLivePlayback=H.live_playback==="1";this.isUpcoming=!!H.isUpcoming;if(N=H.length_seconds)this.lengthSeconds=typeof N==="string"?Number(N):N;this.lengthText= +H.lengthText||"";this.xv=H.xv||"";this.publishedTimeText=H.publishedTimeText||void 0;if(N=H.session_data)this.sessionData=Ud(N,"&");this.shortViewCount=H.short_view_count_text||void 0;this.xP=Vg(H);this.title=H.title||"";this.videoId=H.docid||H.video_id||H.videoId||H.id||void 0;this.watchUrl=H.watchUrl||void 0}}; +g.Y$=function(N,H,c){g.e.call(this,{W:"a",fq:[c?"ytp-next-button":"ytp-prev-button","ytp-button"],V:{role:"button",title:"{{title}}","data-tooltip-title":"{{tooltip-title}}",href:"{{url}}","data-preview":"{{preview}}","data-tooltip-text":"{{text}}","data-duration":"{{duration}}","aria-disabled":"{{disabled}}","data-next":"{{next}}","data-prev":"{{prev}}","data-title-no-tooltip":"{{data-title-no-tooltip}}","aria-keyshortcuts":"{{aria-keyshortcuts}}"},X:[jUh(c,N.N("delhi_modern_web_player_icons"))]}); +var t=this;this.J=N;this.T=c;this.playlist=this.videoData=null;this.Y=!1;this.U=this.S=this.B=null;this.L=!1;this.tooltip=H.HH();c?N.createClientVe(this.element,this,6193):N.createClientVe(this.element,this,6194);this.G(N,"fullscreentoggled",this.onVideoDataChange);this.G(N,"videodatachange",this.onVideoDataChange);this.G(N,"onPlaylistUpdate",this.onVideoDataChange);this.G(N,"onLoopRangeChange",this.onVideoDataChange);this.T||this.G(N,"appresize",this.iE);this.G(N,"mdxpreviousnextchange",function(){Zc(t); +t.iE()}); +this.onVideoDataChange()}; +SO=function(){return g.NA("ytglobal.idbToken_")||void 0}; +g.Lq=function(N,H){N.Y=H||0;H=N.L.Ee;N.L=null;return H}; +aL=function(N){N.Us&&(N.isToggled()?(g.AM(N.Z,!1),g.AM(N.S,!0),N.B.setAttribute("aria-checked",!0)):(g.AM(N.Z,!0),g.AM(N.S,!1),N.B.setAttribute("aria-checked",!1)))}; +BT=function(N,H,c,t,h,O){eq.call(this,N,H,c,t);this.Pp=h;this.Le=O;this.AY=!0;vT(this.Le(),this);N=lQ(c.clientMetadata,"metadata_type_ad_placement_config");this.Fg=new sd(c.S1,this.Pp,N,c.layoutId)}; +Mml=function(N,H,c){var t=0;if(N.l1!==0){do{var h=N.Pd[N.ez+t*2]<<8|N.Pd[N.ez+t*2+1];var O=N.Pd[N.XM+t];t++;if(h===0)yg(N,O,H);else{var F=Ga[O];yg(N,F+256+1,H);var M=RL[F];M!==0&&(O-=oL[F],k$(N,O,M));h--;F=h<256?IL[h]:IL[256+(h>>>7)];yg(N,F,c);M=bT[F];M!==0&&(h-=N$[F],k$(N,h,M))}}while(t=0;)N[H]=0}; +TU=function(N,H){if(OU(N.T,H)){FW(N.T,H).Y=!1;var c=$D;H=FW(N.T,H);var t=[].concat(g.HE(H.Z));ETR(H.Z);c(N,t)}}; +fw=function(N,H){var c=N.wE.RA();return c.isInline()&&!H.p7?new jw(0,480,!1,"v"):AC(H)?wv:c.isBackground()&&M$()/1E3>60&&!g.Iy(N.j)?new jw(0,360,!1,"v"):wv}; +g.d7=function(N,H){g.je(N,"addEmbedsConversionTrackingParams",[H])}; +xjR=function(){return Object.values(g.YI("client-screen-nonce-store",{})).filter(function(N){return N!==void 0})}; +Wn=function(N){N.U=void 0;N.B=0;N.L=0}; +g.zU=function(){this.segments=[];this.T=null;this.B=!0;this.L=""}; +q73=function(){var N;return((N=EU)==null?void 0:N.Ls)!==!1}; +xD=function(N,H,c,t){for(var h=c.length;(H=N.indexOf(c,H))>=0&&H=c?(globalThis.sessionStorage.removeItem(N),["e"]):["a",new Uint8Array(t.buffer,H+4)]}; +hp=function(N,H){return HVw(N,H||{},!1)}; +A$=function(N,H){var c=c===void 0?0:c;var t=t===void 0?!0:t;SZ(H,function(h,O){t&&h===void 0||N.add(O,h,c)}); +return N}; +iVy=function(N,H,c){c=c===void 0?!1:c;g.BZ(H);N.Ke.lastError="player.exception";N.errorMessage=H.name+"_"+H.message;c?g.OT(function(){DE(N.Ke)}):DE(N.Ke)}; +M0=function(N,H){g.Fm.call(this,N,void 0,"Options");var c=this;this.g2={};for(var t=0;t=0;--c)c in t&&H.call(void 0,t[c],c,N)}; +ET=function(N){this.hF=oF(N)}; +ttv=function(N,H){N.rateLimit?N.T?(g.jO.k8(N.U),N.U=g.jO.jP(function(){N.L!==H&&(N.dispatchEvent(H),N.L=H,N.T=(0,g.Lh)())},N.rateLimit-((0,g.Lh)()-N.T))):(N.dispatchEvent(H),N.L=H,N.T=(0,g.Lh)()):N.dispatchEvent(H)}; +g.Xm=function(N,H,c,t,h,O,F,M,f,d,W){f=f===void 0?N.schedule:f;d=d===void 0?new g.xm(N):d;W=W===void 0?!0:W;g.xo.call(this);var z=this;this.j=N;this.playerType=H;this.f4=c;this.Ka=t;this.getVisibilityState=O;this.visibility=F;this.VR=M;this.YG=f;this.videoData=d;this.Rq=W;this.logger=new g.mE("VideoPlayer");this.M2=null;this.HD=new q0;this.lJ=null;this.Kt=!0;this.Zf=this.loader=null;this.Tk=[];this.iU=new Cu;this.S7=this.Lu=null;this.BM=new Cu;this.Ba=null;this.B5=this.ME=!1;this.LM=NaN;this.P6=!1; +this.playerState=new g.Nb;this.hB=[];this.sZ=new g.Ww;this.mediaElement=null;this.C9=this.SX=!1;this.eR=NaN;this.EY=!1;this.kZ=0;this.Y5=!1;this.zs=NaN;this.O3=0;this.loop=!1;this.playbackRate=1;this.qx=0;this.LN=!1;this.U7=[];this.dV=this.YR=0;this.kL=this.zB=!1;this.O0=this.Gk=0;this.q$=!1;this.UT=this.jr=this.IK=this.z3=null;this.pG=function(){var E=z.d_;E.provider.j.LG||E.provider.wE.getVisibilityState()===3||(E.provider.j.LG=!0);E.lY();if(E.B){var x=E.B;x.S&&x.T<0&&x.provider.wE.getVisibilityState()!== +3&&h9y(x)}E.qoe&&(E=E.qoe,E.Xg&&E.L<0&&E.provider.j.LG&&OVw(E),E.U&&lc(E));z.loader&&Ku(z);gO(z)}; +this.Br={Un:function(E){z.Un(E)}, +Y0a:function(E){z.M2=E}, +juR:function(){return z.d_}, +CJ:function(){return z.Zf}, +h5S:function(){return z.Ns}, +Wbi:function(){return z.gP}, +neR:function(){}, +D:function(){return z.j}, +wr:function(){return z.mediaElement}, +QGp:function(E){z.Rl(E)}, +OP_:function(){return z.Ka}}; +this.T4=new rO(this);this.QE=new g.kT(this.Jj_,15E3,this);this.WS=new mP(new Map([["bufferhealth",function(){return Qk(z.e_)}], +["bandwidth",function(){return z.US()}], +["networkactivity",function(){return z.YG.ox}], +["livelatency",function(){return z.isAtLiveHead()&&z.isPlaying()?pu(z):NaN}], +["rawlivelatency",function(){return pu(z)}]])); +this.e_=new uc(this);this.h_=new g.kT(this.Ysi,0,this);this.JNo=[this.sZ,this.h_,this.QE,this.WS];this.oX=new FrZ(this.j);this.OV=new Jp(this.j,this.Ka,this,this.YG);this.UI=new g.nu(this,function(E,x){E!==g.dm("endcr")||g.y(z.playerState,32)||z.sJ();h(E,x,z.playerType);if(E===g.dm("transitiondetector")&&(E=z.loader)!=null&&(E=E.Xg)!=null){var q=g.K($at(x.id));q.next();q=q.next().value;SC(E,q,x.start/1E3-E.wE.HO(),PJ(E.L))}}); +g.l(this,this.UI);g.l(this,this.e_);Tmt(this,d);this.videoData.subscribe("dataupdated",this.N0R,this);this.videoData.subscribe("dataloaded",this.qs,this);this.videoData.subscribe("dataloaderror",this.handleError,this);this.videoData.subscribe("ctmp",this.Lq,this);this.videoData.subscribe("ctmpstr",this.TH,this);!this.d_||this.d_.uo();this.d_=new g.tn(new MA(this.videoData,this.j,this));mfD(this.pG);this.visibility.subscribe("visibilitystatechange",this.pG);this.Ns=new g.kT(this.F$,g.Mx(this.j.experiments, +"html5_player_att_initial_delay_ms")||4500,this);this.gP=new g.kT(this.F$,g.Mx(this.j.experiments,"html5_player_att_retry_delay_ms")||4500,this);this.nI=new g.UT(this.f6g,350,this);g.l(this,this.nI)}; +jQ3=function(N,H,c){c=c===void 0?{}:c;this.error=N;this.meta=c;this.context=H.context;this.msg=H.message||"";this.id=H.id||"jserror"}; +Mtd=function(N){var H=Vk("aft",N);if(H)return H;H=g.YI((N||"")+"TIMING_AFT_KEYS",["ol"]);for(var c=H.length,t=0;t=H||(t[N]=c+1,N=Error(),ySe(N,"incident"),W2(N))}}; +z9e=function(N,H,c,t){if(bu.instance!==void 0){if(t=bu.instance,N=[N!==t.SW,H!==t.Np,c!==t.T,!1,!1,!1,void 0!==t.L],N.some(function(h){return h}))throw new g.ti("InnerTubeTransportService is already initialized",N); +}else bu.instance=new bu(N,H,c,t)}; +EQZ=function(N,H){H.sort(function(c,t){return c.toString().localeCompare(t.toString(),N.Es.hostLanguage)})}; +xaS=function(N,H){for(var c;;){if(N.sF===0&&(au(N),N.sF===0)){if(H===0)return 1;break}N.oW=0;c=eC(N,0,N.window[N.cO]);N.sF--;N.cO++;if(c&&(vJ(N,!1),N.bG.Aj===0))return 1}N.X1=0;return H===4?(vJ(N,!0),N.bG.Aj===0?3:4):N.l1&&(vJ(N,!1),N.bG.Aj===0)?1:2}; +yk=function(N,H){if(N.U)if(N.videoData.isLivePlayback&&N.videoData.L&&!N.videoData.L.T&&N.mediaElement&&N.mediaElement.gJ()>0&&N.mediaElement.Ts()>0&&(N.B=sT(N,N.B,!1)),H=N.N("html5_pseudogapless_shorts_seek_to_next_start")&&(H==null?void 0:H.seekSource)===60,!N.mediaElement||!qEw(N,H))N.C4.start(750);else if(!isNaN(N.B)&&isFinite(N.B)&&(H=N.Kq-(N.B-N.timestampOffset),!(H===0||Math.abs(H)<.005)))if(H=N.mediaElement.getCurrentTime()-N.B,Math.abs(H)<=N.vp||Math.abs(H)<.005)CYS(N);else{if(N.videoData.F5)N.videoData.F5= +!1;else if(!BJ(N.videoData)&&N.B>=N.L6()-.1){N.B=N.L6();N.U.resolve(N.L6());N.j.vO()&&N.wE.Lq("setEndedInSeek",{tgt:""+N.B,maxst:""+N.L6()});N.wE.sJ();return}try{var c=N.B-N.timestampOffset;N.mediaElement.seekTo(c);N.Bp.T=c;N.Kq=c;N.L=N.B;N.Us=!1}catch(t){}}}; +l7t=function(N){var H=[];g.uT(N,function(c){hA(Qg.T,function(t){return t.pJ.Jk===c.pJ.Jk&&t.RR===c.RR})||(Qg.T.push(c),H.push(c))})}; +Kr3=function(N,H,c){c=GW(N,c);for(var t,h;c>=0;c--)if(t=N.levels[c],h=Ru(t,H),!t.isLoaded(h)){t=N;var O=c,F=O+"-"+h;t.Y.has(F)||(t.Y.add(F),t.L.enqueue(O,{DH:O,Ek:h}))}wEZ(N)}; +RQ=function(N){this.hF=oF(N)}; +g.wXZ=function(N){this.Es=N;this.Z=new gQv;this.XA=this.bI=!1;this.c$=2;this.vp=20971520;this.UF=8388608;this.Ix=120;this.TK=this.MA=this.lI=2;this.y5=this.Qm=!1;this.vM=1E3;this.C4=15;this.Mz=1;this.TW=1.15;this.ox=1.05;this.aE=1;this.Ze=this.YA=!1;this.zn=6;this.L=!1;this.L3=100;this.Gn=10;this.yr=6;this.Nj=!1;this.J6=1;this.cZ=this.TE=!1;this.jY=2;this.qJ=this.i5=this.KO=!1;this.mG=!0;this.Jj=this.Bv=this.NT=this.wJ=!1;this.UJ=!0;this.ip=!1;this.U="";this.iR=[];this.ym=this.S_=!1;this.CF=0;this.u1= +"";this.Ar=this.iI=this.DY=this.FK=this.BR=this.M0=this.S=this.Qo=this.wH=this.T=this.Al=this.Cq=this.Pt=this.l7=this.Bp=this.kD=this.Bw=!1;this.LG=!0;this.aT=this.fn=this.i7=this.EB=this.zT=this.B=this.w_=!1;this.Xg=!0;this.Oc=this.j2=this.Us=this.nO=this.Uu=this.gE=!1;this.gz=3;this.W9=this.Ac=this.G7=this.bX=this.U2=this.s2=this.OT=this.SL=this.O2=!1;this.xt=0;this.n4=this.kB=this.Mr=!1;this.WO=1;this.qO=this.H9=this.Y=this.jS=!1;this.Vo=g.Mx(this.Es.experiments,"html5_min_readbehind_secs");this.DR= +g.Mx(this.Es.experiments,"html5_min_readbehind_cap_secs");this.XS=this.Es.N("html5_offline_reset_media_stream_on_unresumable_slices");this.OF=NaN;this.dL=ou(this,"html5_request_size_min_kb",64)*1024;this.zW=2097152;this.X0=ou(this,"html5_bypass_contention_secs");this.Dh=1048576;this.il=ou(this,"html5_repredict_interval_ms",1800);this.Y7=ou(this,"html5_head_miss_secs",5);this.qm=ou(this,"html5_min_upgrade_health_secs",10);this.HW=ou(this,"html5_min_seconds_between_format_selections",8);this.fR=ou(this, +"html5_max_buffer_health_for_downgrade_secs",15);this.QG=km;this.b1=g.Mx(this.Es.experiments,"html5_min_startup_buffered_media_duration_secs");this.j6=g.Mx(this.Es.experiments,"html5_post_interrupt_readahead");this.x6=this.Es.N("html5_disable_classic_alr");this.xJ=g.Mx(this.Es.experiments,"html5_probe_primary_delay_base_ms")||5E3;this.Ss=ou(this,"html5_ssdai_failure_retry_limit",3);this.F5=this.Es.experiments.M4("html5_clone_original_for_fallback_location");this.xD=g.Mx(this.Es.experiments,"html5_subsegment_readahead_target_buffer_health_secs"); +this.W0=g.Mx(this.Es.experiments,"html5_subsegment_readahead_timeout_secs");this.wRi=g.Mx(this.Es.experiments,"html5_subsegment_readahead_min_buffer_health_secs");this.hQ=g.Mx(this.Es.experiments,"html5_subsegment_readahead_min_buffer_health_secs_on_timeout");this.Ymx=g.Mx(this.Es.experiments,"html5_subsegment_readahead_min_load_speed");this.B9=g.Mx(this.Es.experiments,"html5_subsegment_readahead_load_speed_check_interval");this.df_=g.Mx(this.Es.experiments,"html5_subsegment_readahead_seek_latency_fudge"); +this.De=ou(this,"html5_hopeless_secs",15);this.mM=this.Es.N("html5_restrict_streaming_xhr_on_sqless_requests");this.tC=g.Mx(this.Es.experiments,"html5_max_headm_for_streaming_xhr");this.Wy=this.Es.N("html5_pipeline_manifestless_allow_nonstreaming");this.Py=this.Es.N("html5_prefer_server_bwe3");this.jAR=this.Es.N("html5_last_slice_transition");this.LL_=this.Es.N("html5_store_xhr_headers_readable");this.p7=g.Mx(this.Es.experiments,"html5_max_drift_per_track_secs");this.v9=this.Es.N("html5_no_placeholder_rollbacks"); +this.YRs=this.Es.N("html5_subsegment_readahead_enable_mffa");this.kG=this.Es.N("html5_allow_video_keyframe_without_audio");this.qJ=g.Iy(this.Es)&&!g.Iu()&&this.Es.N("html5_adjust_media_time_for_non_cobalt_tv");this.hs=this.Es.N("html5_enable_vp9_fairplay");this.xV=1048576;this.Fd=this.Es.N("html5_woffle_resume");this.Fb=this.Es.N("html5_abs_buffer_health");this.k3E=this.Es.N("html5_interruption_resets_seeked_time");this.Gx=g.Mx(this.Es.experiments,"html5_max_live_dvr_window_plus_margin_secs")||46800; +this.l9=this.Es.N("html5_report_captions_ctmp_qoe");this.PF=this.Es.N("html5_explicitly_dispose_xhr");this.b5=!this.Es.N("html5_encourage_array_coalescing");this.Es.N("html5_limit_media_merge_size")?km?bc()<21?this.gk=786432:this.gk=8388608:this.gk=262144:this.gk=0;this.w3=this.Es.N("html5_filter_non_efficient_formats_for_safari");this.Es.N("html5_format_hybridization");this.EE=this.Es.N("html5_abort_before_separate_init");this.QX=Nm();this.YFa=this.Es.N("html5_serialize_server_stitched_ad_request"); +this.AV=this.Es.N("html5_attach_po_token_to_bandaid");this.f7=g.Mx(this.Es.experiments,"html5_max_redirect_response_length")||8192;this.HQ=this.Es.N("html5_rewrite_timestamps_for_webm");this.T3=this.Es.N("html5_only_media_duration_for_discontinuities");this.LW=g.Mx(this.Es.experiments,"html5_resource_bad_status_delay_scaling")||1;this.Es.N("html5_onesie_live");this.Ml=g.Mx(this.Es.experiments,"html5_onesie_live_ttl_secs")||8;this.DZ=g.Mx(this.Es.experiments,"html5_attach_num_random_bytes_to_bandaid"); +this.Eci=this.Es.N("html5_update_container_type_on_codec_family_change");this.Dt=this.Es.N("html5_enable_sabr_host_fallback");this.Dn=this.Es.N("html5_gapless_fallback_on_append_error");this.emR=this.Es.N("html5_shorts_stop_request_when_buffer_to_end");this.gcq=this.Es.N("html5_vod_stop_request_when_buffer_to_end");this.Kq=this.Es.N("html5_ssdai_use_post_for_media")&&this.Es.N("gab_return_sabr_ssdai_config");this.cJp=this.Es.N("html5_use_post_for_media");this.AN=this.Es.N("html5_use_live_ump_heartbeat"); +this.useUmp=this.Es.N("html5_use_ump");this.pY=this.Es.Bd;this.vy=this.Es.N("html5_reset_primary_stats_on_redirector_failure");this.KY=this.Es.N("html5_remap_to_original_host_when_redirected");this.ya=this.Es.N("html5_use_network_error_code_enums");this.F0=this.Es.N("html5_disable_overlapping_requests");this.enableServerDrivenRequestCancellation=this.Es.N("html5_enable_server_driven_request_cancellation");this.Ms=this.Es.N("html5_enable_sabr_request_timing");this.Qu=this.Es.N("html5_enable_lawnmower"); +this.QB=this.Es.vO()?g.Mx(this.Es.experiments,"html5_continuous_goodput_probe_interval_ms"):0;this.BRT=g.Mx(this.Es.experiments,"html5_jumbo_ull_nonstreaming_mffa_ms")||NaN;this.pvT=this.Es.N("html5_live_defrag_only_h264_playbacks");this.kuo=this.Es.N("html5_live_defrag_only_h264_formats");this.n3=this.Es.N("html5_record_now");this.au=g.Mx(this.Es.experiments,"html5_drm_byterate_soft_cap");this.LP=g.Mx(this.Es.experiments,"html5_drm_live_byterate_soft_cap");this.C=this.Es.N("html5_sabr_log_request_creation"); +this.L2=this.Es.N("html5_use_buffer_timeline_for_sabr_request_creation");this.qc=this.Es.N("html5_sabr_report_request_cancellation_info");this.Li=this.Es.N("html5_spoof_4k");this.gC=ou(this,"html5_min_media_duration_for_cabr_slice");this.eI=ou(this,"html5_sabr_min_media_bytes_factor_to_append_for_stream")||.01;this.GJ=this.Es.N("html5_remove_defrag_without_frame_level_streaming");this.Hw=this.Es.N("html5_consume_all_buffered_bytes_one_poll");this.yu=this.Es.N("html5_disable_urgent_adaptation");this.zi= +this.Es.N("html5_apply_constraints_in_client_for_sabr");this.GD=this.Es.N("html5_send_video_playback_ustreamer_config");this.N8=ou(this,"html5_max_discontinuity_rewrite_count");this.Cn=ou(this,"html5_fixed_media_duration_for_request");this.Qa=this.Es.N("html5_apply_fix_for_missing_seg_info_without_logger");this.Bv=this.Es.N("html5_enable_audio_quality_setting");this.Es.N("html5_enable_audio_quality_setting_feature");this.xa=ou(this,"html5_sabr_request_limit_per_period");this.ffa=ou(this,"html5_sabr_request_limit_per_period_for_low_latency"); +this.ftp=ou(this,"html5_sabr_request_limit_per_period_for_ultra_low_latency");this.qj=this.Es.N("html5_sabr_dispose_media_objects");this.vQ=this.Es.N("html5_fix_hbr_reselection_qoe_restart_for_sabr");this.At=this.Es.N("html5_enable_d6de4");this.Es.N("html5_high_res_seek_logging");this.w4=this.Es.N("html5_disable_chunk_synchronization_sabr_seek");this.ZZ=g.Mx(this.Es.experiments,"html5_override_micro_discontinuities_threshold_ms");this.Vm=this.Es.N("html5_byterate_constraints");this.zy=this.Es.N("html5_refactor_sabr_audio_format_selection_logging"); +this.wP=this.Es.N("enable_sabr_snackbar_message");this.Es.N("html5_reinit_source_buffer_by_new_element");this.Qs=this.Es.N("html5_refactor_sabr_video_format_selection_logging");this.Nq=this.Es.N("html5_log_slice_info_in_sbu");this.mz=ou(this,"html5_paced_poll_ms");this.By=ou(this,"html5_paced_poll_min_health_ms");this.QH=this.Es.N("html5_disable_sabr_fallback");this.Ol=this.Es.N("html5_track_current_buffered_range_at_sync");this.EOg=g.Iy(this.Es)?500:2E3;this.a9=this.Es.N("html5_sabr_live_timing"); +this.qC=this.Es.N("html5_count_updating_slice_for_buffer_health");this.VN=this.Es.N("html5_report_max_buffer_bytes_limit_to_sabr");this.rz=this.Es.N("html5_sabr_live_audio_early_return_fix");this.lZ=g.Mx(this.Es.experiments,"html5_platform_max_buffer_health_oversend_duration_secs");this.yH=this.Es.N("html5_cuepoint_identifier_logging");this.oG=this.Es.N("html5_new_sabr_ssdai_cuepoint_logic");this.Ej=this.Es.N("html5_sabr_log_server_xtag_selection_onesie_mismatch");this.hws=this.Es.N("html5_skip_client_drm_license_constraint"); +this.Bd=this.Es.N("html5_ssdai_not_block_on_predict_start");this.Bw=this.Es.N("html5_pseudogapless_shorts_skip_abort_on_transition");this.SL=this.Es.N("html5_sabr_request_on_constraint");this.fDs=this.Es.N("html5_live_metadata_resets_timeout");this.jS=this.Es.N("html5_sabr_log_invalid_sabr_current_time");this.KC=this.Es.N("html5_ssdai_new_decoration_logic");this.TP=this.Es.N("html5_enable_smooth_audio_offset");this.mS=this.Es.N("html5_cuepoint_list_clear_on_seek");this.Nyf=this.Es.Zp().T.G0(rve); +this.qz=g.CQ(this.Es.Zp());this.uZ=this.Es.Zp().T.G0(mah)}; +JvL=function(N,H){var c=Dat();c&&(N?qf(N,61,QQS[c]):H&&(H.client.connectionType=c));g.sf("web_log_effective_connection_type")&&(c=pXt())&&(N?qf(N,94,uqs[c]):H&&(H.client.effectiveConnectionType=c))}; +g.Hm=function(N){return N==="EMBEDDED_PLAYER_LITE_MODE_FIXED_PLAYBACK_LIMIT"||N==="EMBEDDED_PLAYER_LITE_MODE_DYNAMIC_PLAYBACK_LIMIT"?!0:!1}; +HZ=function(){cn.apply(this,arguments)}; +nQv=function(N,H,c){c-=N.nE;return H===N.T&&c>.5}; +SEv=function(N,H,c){Y_.call(this,"survey",N,{},H,c)}; +Uae=function(N){function H(c){N.Mi.get().I0(c)} +return i1(N.slot,N.Rx.get())?PYh(Object.assign({},N,{JZ:H})):new cm(Object.assign({},N,{JZ:H}))}; +XXe=function(){this.T=new gLL;this.B="https://jnn-pa.googleapis.com".replace(/\/+$/,"")}; +Vtf=function(N){N.T.queryid||(N.T.queryid=new LR)}; +Lrd=function(N){N.Us.clearAll();N.B.clear();N.T.clear();N.S.clear();N.Xg=[];N.Y=null;N.Oc.clear();N.vp.clear();N.TW=[];N.Kq=[];N.bX=[];N.T3=[];N.mz.clear();N.AN.clear();N.qc.clear();N.UF.clear();N.Z=!1;N.zr=0;N.Bp=!1;N.zW=!1;N.WJ=0;N.S_=0;N.n4=!1;N.Fj=!1;N.L="";LyS(N.app.z6());tu(N.app.z6(),N.playback,!1);N.NT.clear();N.C.isActive()&&hu(N)}; +ST=function(N){this.J=N}; +O8=function(N,H){this.B=[];this.U=[];this.S=[];this.L=[];this.T=[];this.Y=N.rNo;this.C=H;this.xhr=N.xhr;this.Y&&ZVS(this)}; +nTv=function(N,H){for(var c=N.T.length,t=0,h=g.K(N.T),O=h.next();!O.done;O=h.next())if(O=O.value,O.width!==0)if(H>O.width)H-=O.width,H-=Vy(N),t++;else break;return t===c?c-1:t}; +FA=function(N,H,c){this.instance=N;this.T=c;this.exports=this.instance.exports;H.wasi_snapshot_preview1.exports=this.exports;N=Math.floor(Math.random()*256);H=Math.floor(Math.random()*256);c=0;try{c=this.exports.malloc(16);(new Uint8Array(this.exports.memory.buffer,c,16)).fill(N);if(this.exports.sentinel(c,16,H)!==H*16%256)throw"wasm.wm.vi";for(var t=new Uint8Array(this.exports.memory.buffer,c,16),h=0;h<16;h++)if(t[h]!==(N+H)%256)throw"wasm.wm.vi"+h;}finally{c!==0&&this.exports.free(c)}}; +$7=function(N,H,c){var t=c===void 0?{}:c;c=t.videoDuration===void 0?0:t.videoDuration;var h=t.So===void 0?void 0:t.So;t=t.k5===void 0?!1:t.k5;this.videoId=N;this.status=H;this.videoDuration=c;this.So=h;this.k5=t}; +Mm=function(N,H,c){if(H&2)throw Error();var t=a_(H),h=To(N,c,t),O=h===qn?7:h[A8]|0,F=jn(O,H);if(2&F||CM(F)||16&F)F===O||CM(F)||rp(h,F),h=KM(h),O=0,F=gp(F,H),vW(N,H,c,h,t);F&=-13;F!==O&&rp(h,F);return h}; +g.bV=function(N,H){if(N.classList)N.classList.add(H);else if(!g.fk(N,H)){var c=YER(N);g.HB(N,c+(c.length>0?" "+H:H))}}; +AvR=function(N){this.T=N}; +g.Wm=function(){g.d9.call(this);this.T=0;this.endTime=this.startTime=null}; +a7s=function(N){return alw(N,!0)}; +lV=function(N,H){if(!(N instanceof H))throw Error("Expected instanceof "+e9s(H)+" but got "+(N&&e9s(N.constructor)));return N}; +zo=function(N){this.hF=oF(N)}; +E8=function(N){var H={};H.dt=vQl;H.flash="0";a:{try{var c=N.T.top.location.href}catch(d){N=2;break a}N=c?c===N.B.location.href?0:1:2}H=(H.frm=N,H);try{H.u_tz=-(new Date).getTimezoneOffset();try{var t=iJ.history.length}catch(d){t=0}H.u_his=t;var h;H.u_h=(h=iJ.screen)==null?void 0:h.height;var O;H.u_w=(O=iJ.screen)==null?void 0:O.width;var F;H.u_ah=(F=iJ.screen)==null?void 0:F.availHeight;var M;H.u_aw=(M=iJ.screen)==null?void 0:M.availWidth;var f;H.u_cd=(f=iJ.screen)==null?void 0:f.colorDepth}catch(d){}return H}; +oow=function(N,H){var c=H&2147483648;c&&(N=~N+1>>>0,H=~H>>>0,N==0&&(H=H+1>>>0));N=F0(N,H);return typeof N==="number"?c?-N:N:c?"-"+N:N}; +g.x7=function(N,H){return(H||document).querySelectorAll("."+N)}; +Fz=function(N,H){var c;return H&&N.j.zn&&!((c=N.getVideoData())==null?0:c.backgroundable)}; +Une=function(){var N={};this.B=(N.vs=[1,0],N.vw=[0,1],N.am=[2,2],N.a=[4,4],N.f=[8,8],N.bm=[16,16],N.b=[32,32],N.avw=[0,64],N.avs=[64,0],N.pv=[256,256],N.gdr=[0,512],N.p=[0,1024],N.r=[0,2048],N.m=[0,4096],N.um=[0,8192],N.ef=[0,16384],N.s=[0,32768],N.pmx=[0,16777216],N.mut=[33554432,33554432],N.umutb=[67108864,67108864],N.tvoff=[134217728,134217728],N);this.T={};for(var H in this.B)this.B[H][1]>0&&(this.T[H]=0);this.L=0}; +qm=function(N){this.hF=oF(N)}; +g.r9=function(N,H,c){var t=g.Ck();if(t&&H){var h=t.subscribe(N,function(){function O(){l1[h]&&H.apply&&typeof H.apply=="function"&&H.apply(c||window,F)} +var F=arguments;try{g.Kk[N]?O():g.Zh(O,0)}catch(M){g.PQ(M)}},c); +l1[h]=!0;g9[N]||(g9[N]=[]);g9[N].push(h);return h}return 0}; +sQZ=function(N){return new m3(N)}; +Dj=function(){w9.call(this,"Biscotti ID is missing from server")}; +BmR=function(N){this.hF=oF(N)}; +yvD=function(N){return g.h0(N.T,function(H){return!!H.info.video&&H.info.video.isHdr()})}; +oQy=function(N){var H;if((H=N[Gcl])!=null)N=H;else{if(Qf!==Qf)throw Error();N=N[Gcl]=R9s(N.T)}return N}; +pk=function(){return g.NA("ytPubsub2Pubsub2Instance")}; +O$f=function(N,H,c){var t=N.videoId,h=g.Rr(N),O=N.D(),F={html5Preference:"HTML5_PREF_WANTS",lactMilliseconds:String(M$()),referer:document.location.toString(),signatureTimestamp:20385},M=g.GU();N.isAutonav&&(F.autonav=!0);M.G0(141)&&(F.autonavState=M.G0(140)?"STATE_OFF":"STATE_ON");F.autoCaptionsDefaultOn=M.G0(66);kce(N)&&(F.autoplay=!0);O.Z&&N.cycToken&&(F.cycToken=N.cycToken);O.enablePrivacyFilter&&(F.enablePrivacyFilter=!0);N.isFling&&(F.fling=!0);var f=N.forceAdsUrl;if(f){M={};var d=[];f=f.split(","); +f=g.K(f);for(var W=f.next();!W.done;W=f.next()){W=W.value;var z=W.split("|");z.length!==3||W.includes("=")||(z[0]="breaktype="+z[0],z[1]="offset="+z[1],z[2]="url="+z[2]);W={adtype:"video_ad"};z=g.K(z);for(var E=z.next();!E.done;E=z.next()){var x=g.K(E.value.split("="));E=x.next().value;x=I7y(x);W[E]=x.join("=")}z=W.url;E=W.presetad;x=W.viralresponseurl;var q=Number(W.campaignid);if(W.adtype==="in_display_ad")z&&(M.url=z),E&&(M.presetAd=E),x&&(M.viralAdResponseUrl=x),q&&(M.viralCampaignId=String(q)); +else if(W.adtype==="video_ad"){var r={offset:{kind:"OFFSET_MILLISECONDS",value:String(Number(W.offset)||0)}};if(W=bVf[W.breaktype])r.breakType=W;z&&(r.url=z);E&&(r.presetAd=E);x&&(r.viralAdResponseUrl=x);q&&(r.viralCampaignId=String(q));d.push(r)}}F.forceAdParameters={videoAds:d,inDisplayAd:M}}N.isInlinePlaybackNoAd&&(F.isInlinePlaybackNoAd=!0);N.isLivingRoomDeeplink&&(F.isLivingRoomDeeplink=!0);M=N.At;if(M!=null){M={startWalltime:String(M)};if(d=N.zn)M.manifestDuration=String(d||14400);F.liveContext= +M}if(N.mutedAutoplay){F.mutedAutoplay=!0;M=O.getWebPlayerContextConfig();var w,n;(M==null?0:(w=M.embedsHostFlags)==null?0:w.allowMutedAutoplayDurationMode)&&(M==null?0:(n=M.embedsHostFlags)==null?0:n.allowMutedAutoplayDurationMode.includes(NNv[N.mutedAutoplayDurationMode]))&&(F.mutedAutoplayDurationMode=NNv[N.mutedAutoplayDurationMode])}if(N.T3?0:N.mz)F.splay=!0;w=N.vnd;w===5&&(F.vnd=w);w={};if(n=N.isMdxPlayback)w.triggeredByMdx=n;if(n=N.fS)w.skippableAdsSupported=n.split(",").includes("ska");if(d= +N.x8){n=N.Cn;M=[];d=g.K(H$e(d));for(f=d.next();!f.done;f=d.next()){f=f.value;W=f.platform;f={applicationState:f.nt?"INACTIVE":"ACTIVE",clientFormFactor:i$D[W]||"UNKNOWN_FORM_FACTOR",clientName:c1l[f.DE]||"UNKNOWN_INTERFACE",clientVersion:f.deviceVersion||"",platform:tTv[W]||"UNKNOWN_PLATFORM"};W={};if(n){z=void 0;try{z=JSON.parse(n)}catch(U){g.aS(U)}z&&(W={params:[{key:"ms",value:z.ms}]},z.advertising_id&&(W.advertisingId=z.advertising_id),z.limit_ad_tracking!==void 0&&z.limit_ad_tracking!==null&& +(W.limitAdTracking=z.limit_ad_tracking),f.osName=z.os_name,f.userAgent=z.user_agent,f.windowHeightPoints=z.window_height_points,f.windowWidthPoints=z.window_width_points)}M.push({adSignalsInfo:W,remoteClient:f})}w.remoteContexts=M}n=N.sourceContainerPlaylistId;M=N.serializedMdxMetadata;if(n||M)d={},n&&(d.mdxPlaybackContainerInfo={sourceContainerPlaylistId:n}),M&&(d.serializedMdxMetadata=M),w.mdxPlaybackSourceContext=d;F.mdxContext=w;w=H.width;w>0&&(F.playerWidthPixels=Math.round(w));if(H=H.height)F.playerHeightPixels= +Math.round(H);c!==0&&(F.vis=c);if(c=O.widgetReferrer)F.widgetReferrer=c.substring(0,128);g.PX(O)&&F&&(F.ancestorOrigins=O.ancestorOrigins);N.defaultActiveSourceVideoId&&(F.compositeVideoContext={defaultActiveSourceVideoId:N.defaultActiveSourceVideoId});if(O=O.getWebPlayerContextConfig())F.encryptedHostFlags=O.encryptedHostFlags;t={videoId:t,context:h,playbackContext:{contentPlaybackContext:F}};if(N.nO){var p;t.playbackContext.reloadPlaybackContext={reloadPlaybackParams:(p=N.nO)==null?void 0:p.reloadPlaybackParams}}N.contentCheckOk&& +(t.contentCheckOk=!0);if(p=N.clientPlaybackNonce)t.cpn=p;if(p=N.playerParams)t.params=p;if(p=N.playlistId)t.playlistId=p;N.racyCheckOk&&(t.racyCheckOk=!0);p=N.D();h=p.embedConfig;N.i7&&p.N("embeds_enable_per_video_embed_config")?t.serializedThirdPartyEmbedConfig=N.i7:h&&(t.serializedThirdPartyEmbedConfig=h);t.captionParams={};h=g.GU().G0(65);N.deviceCaptionsOn!=null?t.captionParams.deviceCaptionsOn=N.deviceCaptionsOn:g.gu(p)&&(t.captionParams.deviceCaptionsOn=h!=null?!h:!1);N.aT&&(t.captionParams.deviceCaptionsLangPref= +N.aT);N.f7.length?t.captionParams.viewerSelectedCaptionLangs=N.f7:g.gu(p)&&(h=g.u1(),h==null?0:h.length)&&(t.captionParams.viewerSelectedCaptionLangs=h);h=N.fetchType==="onesie"&&N.N("html5_onesie_attach_po_token");F=N.fetchType!=="onesie"&&N.N("html5_non_onesie_attach_po_token");if(h||F)h=N.D(),h.L2&&(t.serviceIntegrityDimensions={},t.serviceIntegrityDimensions.poToken=h.L2);p.N("fetch_att_independently")&&(t.attestationRequest={omitBotguardData:!0});t.playbackContext||(t.playbackContext={});t.playbackContext.devicePlaybackCapabilities= +hOs(N);t.playbackContext.devicePlaybackCapabilities.supportsVp9Encoding===!1&&N.Lq("noVp9",{});return t}; +n$=function(N,H,c){g.L.call(this);this.J=N;this.Rx=H;this.Pp=c;this.listeners=[];this.U=!1;this.XW=[];this.T=null;this.S=new Ju(this,BPD(H.get()));this.L=new FTs;this.B=null}; +jih=function(N,H,c,t,h,O,F,M,f){var d=Number(t.durationMilliseconds);return isNaN(d)?new S("Expected valid duration for AdActionInterstitialRenderer."):function(W){return $VZ(H,W.slotId,c,t,d,{impressionCommands:void 0,abandonCommands:t.abandonCommands?[{commandExecutorCommand:t.abandonCommands}]:void 0,completeCommands:t.completionCommands},t.skipPings?new Map([["skip",t.skipPings]]):new Map,F(W),function(z){return TNl(N,z,h,function(E,x){var q=E.slotId;E=F(E);q=CA(H.B.get(),"LAYOUT_TYPE_ENDCAP", +q);return nk(H,q,x,c,E,"LAYOUT_TYPE_ENDCAP",[new Sn(t),M],t.adLayoutLoggingData)})},f,O-1,t.adLayoutLoggingData,O)}}; +g.bj=function(N,H,c,t){t=t===void 0?{}:t;if(!N||!N.addEventListener&&!N.attachEvent)return"";var h=MTw(N,H,c,t);if(h)return h;h=++fkv.count+"";var O=!(H!="mouseenter"&&H!="mouseleave"||!N.addEventListener||"onmouseenter"in document);var F=O?function(M){M=new Pm(M);if(!hB(M.relatedTarget,function(f){return f==N},!0))return M.currentTarget=N,M.type=H,c.call(N,M)}:function(M){M=new Pm(M); +M.currentTarget=N;return c.call(N,M)}; +F=g.Lu(F);N.addEventListener?(H=="mouseenter"&&O?H="mouseover":H=="mouseleave"&&O?H="mouseout":H=="mousewheel"&&"MozBoxSizing"in document.documentElement.style&&(H="MozMousePixelScroll"),dVD()||typeof t==="boolean"?N.addEventListener(H,F,t):N.addEventListener(H,F,!!t.capture)):N.attachEvent("on"+H,F);U8[h]=[N,H,c,F,t];return h}; +WTe=function(N,H,c){if(N!=null&&N[XA]===Vf)return N;if(Array.isArray(N)){var t=N[A8]|0;c=t|c&32|c&2;c!==t&&rp(N,c);return new H(N)}}; +Zj=function(){this.B=this.QV=0;this.T=Array.from({length:Lk.length}).fill(0)}; +aH=function(N,H){Y7(N);N.loader.HO();return Au(H,N.loader.isSeeking())}; +en=function(N,H){for(var c=0;c=0?h=H:h=RH(N,H,c);h&&(t?c?h.tabIndex>t.tabIndex&&(t=h):h.tabIndex>>6:(O<65536?M[c++]=224|O>>>12:(M[c++]=240|O>>>18,M[c++]=128|O>>>12&63),M[c++]=128|O>>> +6&63),M[c++]=128|O&63);return M}; +y1e=function(){var N=["metadata_type_top_banner_image_text_icon_buttoned_layout_view_model"];vR().forEach(function(H){N.push(H)}); +return{lG:N,xH:["LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON"]}}; +sX=function(N){var H=g.bX(N.S);g.uT(H,function(c){c.jy(N.T)}); +N.T!=N||GRl(N)}; +ROd=function(N){var H=[];RZe(N,function(c){H.push(c)}); +return H}; +oh3=function(N,H){return H.reduce(function(c,t){return function(h){return t.intercept(h,c)}},N)}; +Sc=function(N,H,c){(N<<2&14)<4&&N<<1>=-77&&H[T[25]](c);if(N+7>>3==3){Ui(82,H);var t=H[T[17]]}if((N|72)==N){if(!($G(H[T[14]])||H[T[14]][T[15]](T[40])||H[T[14]][T[15]](T[60])||H[T[14]][T[15]](T[62])))throw new g.ti(T[12],H[T[14]]);var h=g.BR(H[T[14]]);H[T[7]]=h[T[85]];H[T[17]]=h[T[6]]+(h[T[17]]!=null?T[20]+h[T[17]]:T[16]);var O=h[T[14]];O[T[15]](T[63])?(H[T[5]]=T[63],O=O[T[4]](14)):O[T[15]](T[18])?(H[T[5]]=T[18],O=O[T[4]](13)):O[T[15]](T[28])?(O=Ui(16,O,H),O=O[0]):(H[T[5]]=O,O=T[16]);var F=H[T[6]]; +H[T[6]]=rh(52,O);Object[T[30]](H[T[6]],ng(76,h[T[24]][T[31]]()));Object[T[30]](H[T[6]],F);H[T[6]][T[44]]===T[51]&&(delete H[T[6]][T[44]],H[T[5]]+=T[8]);H[T[14]]=T[16];H[T[27]]=T[16];H[T[24]]&&(h=dt(11,H));t=[]}if((N|24)==N)a:if(h=H[T[42]](T[16]),O=[1416765981,1164578304,239974346,Rbw,498802505,T[46],h,-1904248590,WuL,kRD,null,-691712620,-455292542,1168175214,Iky,-487585259,1017808957,-1691775991,-1002935317,b$l,-599091366,-436094359,-1374081486,NXe,-767326192,T[67],HZe,765617526,h,-170205244,function(M, +f){f=(f%M[T[2]]+M[T[2]])%M[T[2]];M[T[22]](-f)[T[32]]()[T[82]](function(d){M[T[26]](d)})}, +-2047650182,h,iZw,527512410,2099351746,765617526,676448101,1057600640,1753867781,-72582607,1284814122,chS,1082244763,1270810583,1240780505,-908899220,1815059160,1136427895,2083324597,-523394786,d1y,T[58],187025367,-630886488,V7D,-209643728,fYe,685635911,-1886463214,1165736392,102400054,-867473794,function(M,f,d){var W=M[T[2]];f[T[82]](function(z,E,x){this[T[25]](x[E]=M[(M[T[43]](z)-M[T[43]](this[E])+E+W--)%M[T[2]]])},d[T[42]](T[16]))}, +null,t6l,-599091366,1180913176,-503581748,-904069064,-718716277,-1147185753,1943799052,Mhl,-1044624889,260028529,-789431023,1165736392,347739228,-1772870012,2006921154,cSy,Hse,null,1866508433],O[10]=O,O[64]=O,O[83]=O,typeof huv===T[38])t=H;else{try{try{F=Ov(33,O,Date)}catch(M){(0,O[57])((0,O[73])((0,O[32])(O[50],O[83]),O[23],O[75],O[17]),O[13],(0,O[32])(O[6],O[10]),O[3],O[new Date(T[88])/1E3])}finally{O=te(12,O,Date)}}catch(M){t=T[89]+H;break a}t=h[T[53]](T[16])}return t}; +OZR=function(N){return N.N("html5_remove_ios_7_hack_force_play")}; +FZd=function(){var N=XMLHttpRequest.prototype.fetch;return!!N&&N.length===3}; +yr=function(N){this.FE=N}; +Gu=function(N){var H=[];if(N){N=g.K(Object.entries(N));for(var c=N.next();!c.done;c=N.next()){var t=g.K(c.value);c=t.next().value;t=t.next().value;t!==void 0&&(t=typeof t==="boolean"?""+ +t:(""+t).replace(/[:,=]/g,"_"),H.push(c+"."+t))}}return H.join(";")}; +$CS=function(N,H,c){H=g.K(H);for(var t=H.next();!t.done;t=H.next()){t=t.value;var h=void 0,O=Number((h=t.playbackRelativePosition)==null?void 0:h.utcTimeMs)/1E3,F=void 0;h=O+Number((F=t.duration)==null?void 0:F.seconds);F="stations:"+c+":"+O;N.B.has(F)||(N.B.add(F),t.onEnter&&(N.T[F]=t.onEnter),N.api.addUtcCueRange(F,O,h,c,!1))}}; +M6h=function(N){var H,c,t,h,O,F,M;g.Y(function(f){switch(f.T){case 1:if(N.uo()||!N.U||!N.T)return f.return();N.Z&&N.app.x_().sJ(!0,!1);H=null;if(!N.L){f.rE(2);break}g.Xy(f,3);return g.a(f,TXZ(N.L),5);case 5:g.VI(f,2);break;case 3:H=c=g.Lq(f);case 2:if(!N.T)return f.return();jEs.w1("vqsp",function(){N.app.kt(N.T)}); +if(!N.T)return f.return();t=N.T.wr();N.app.D().N("html5_gapless_seek_on_negative_time")&&t&&t.getCurrentTime()<-.01&&N.T.seekTo(0);jEs.w1("vqpv",function(){N.app.playVideo()}); +H&&(N.T?(h=H?H.message:"forced",(O=N.B)==null||O.Lq("gapfulfbk",{r:h}),N.T.oz(h)):(F=N.B)==null||F.Lq("gapsp",{}));M=N.U;Rs(N);M&&M.resolve();return f.return(Promise.resolve())}})}; +os=function(N){this.hF=oF(N)}; +ZS=function(N,H,c){var t=new Bs(c);if(!yq(t,N))return!1;t=kb(t);if(!$R(t,H))return!1;for(N=0;H;)H>>>=8,N++;H=t.start+t.pos;var h=T8(t,!0);t=N+(t.start+t.pos-H)+h;t=t>9?fBh(t-9,8):fBh(t-2,1);N=H-N;c.setUint8(N++,236);for(H=0;H=0;t--)if(t in h&&H.call(c,h[t],t,N))return t;return-1}; +mCf=function(N,H,c){CSR(H);var t=N.T;g.uT(H,function(h){var O=g.jm(h.criteria,function(F){var M=lBt(F);if(M==null)F=null;else if(F=new KZv,M.visible!=null&&(F.T=M.visible/100),M.audible!=null&&(F.B=M.audible==1),M.time!=null){var f=M.timetype=="mtos"?"mtos":"tos",d=gnL(M.time,"%")?"%":"ms";M=parseInt(M.time,10);d=="%"&&(M/=100);F.setTime(M,d,f)}return F}); +hA(O,function(F){return F==null})||rhZ(c,new c$(h.id,h.event,O,t))})}; +g.wsS=function(N){var H="";g.tH(N,function(c,t){H+=t;H+=":";H+=c;H+="\r\n"}); +return H}; +vB=function(N,H){return Math.abs(t9*H-N)<1||Math.abs(t9/N-H)<1?t9:N/H}; +DCe=function(N,H){N.Sg().autonavState=H;g.h9("yt-player-autonavstate",H);N.VS.publish("autonavchange",H)}; +T6=function(N,H,c){c=c===void 0?!1:c;N.Gn=void 0;N.T=H;g.l(N,H);H.rk=N.rk;H.Em=N.Em;H.ZG=N.ZG;H.MJ=N.MJ;H.Cp=N.Cp;N.n0&&(H.TW=new NG(N.n0));(N.pk()||g.OI(N))&&N.AJ.push("webgl");N.T.isLive||(N.isLivePlayback=!1);var t=H.sourceUrl.split("/");if(N.Xg?t.indexOf("manifest_duration")!==-1:t.indexOf("manifest_duration")!=-1)N.zn=Number(t[t.indexOf("manifest_duration")+1]);if(H.B||H.isManifestless)H.subscribe("clienttemp",N.Lq,N),c?H.subscribe("refresh",N.Dr,N):H.subscribe("cuepointsadded",N.fN,N);Fa(H)? +N.BR=!0:$X=void 0;N.j$&&(H.U=N.j$,H.isLive=!0,N.isLivePlayback=!0);H.isPremiere=N.isPremiere;H.isLiveHeadPlayable=N.isLiveHeadPlayable}; +g.wi=function(N){window.clearTimeout(N)}; +QEv=function(N){if(N.wE.getVideoData().isLivePlayback)return!1;var H=N.wE.wr();if(!H)return!1;H=H.getDuration();if(N.Zf&&N.Zf.T&&N.Zf.B){var c=N.getCurrentTime(),t=N.Zf.T.l2();N=N.Zf.B.l2();t=t?jU(t,c):c;c=N?jU(N,c):c;c=Math.min(t,c);H=isNaN(c)?!1:c>=H-.01}else H=!1;return H}; +u_s=function(N,H,c,t,h){t=t===void 0?0:t;h=h===void 0?0:h;N.SP()||Rs(N);N.U=new M9;N.T=H;var O=c,F=h===0;F=F===void 0?!0:F;var M=N.app.x_(),f=M.getVideoData().isLivePlayback?Infinity:M.VQ(!0)*1E3;O>f&&(O=f-200,N.Z=!0);F&&M.getCurrentTime()>=O/1E3?N.C():(N.B=M,F&&(F=O,O=N.B,N.app.VS.addEventListener(g.dm("vqueued"),N.C),F=isFinite(F)||F/1E3>O.getDuration()?F:0x8000000000000,N.Y=new g.vn(F,0x8000000000000,{namespace:"vqueued"}),O.addCueRange(N.Y)));F=t/=1E3;O=H.getVideoData().T;t&&O&&N.B&&(M=t,f=0, +H.getVideoData().isLivePlayback&&(F=Math.min(c/1E3,N.B.VQ(!0)),f=Math.max(0,F-N.B.getCurrentTime()),M=Math.min(t,H.VQ()+f)),F=pst(O,M)||t,F!==t&&N.T.Lq("qvaln",{st:t,at:F,rm:f,ct:M}));H=F;t=N.T;t.getVideoData().Uu=!0;t.getVideoData().C=!0;t.gb(!0);O={};N.B&&(O=N.B.Bz(),F=N.B.getVideoData().clientPlaybackNonce,O={crt:(O*1E3).toFixed(),cpn:F});t.Lq("queued",O);H!==0&&t.seekTo(H+.01,{K$:!0,Na:3,j_:"videoqueuer_queued"});N.L=new f1(N.S,N.app.x_(),N.T,c,N.app,h);c=N.L;c.status.status!==Infinity&&(xb(c, +1),c.T.subscribe("internalvideodatachange",c.AZ,c),c.B.subscribe("internalvideodatachange",c.AZ,c),c.VR.D().N("html5_gapless_use_format_info_fix")&&(c.T.subscribe("internalvideoformatchange",c.AZ,c),c.B.subscribe("internalvideoformatchange",c.AZ,c)),c.T.subscribe("mediasourceattached",c.AZ,c),c.B.subscribe("statechange",c.U1,c),c.T.subscribe("newelementrequired",c.bx,c),c.AZ());return N.U}; +W$=function(N,H){N.S&&(N.S.resolve(H),N.wE.Rf(),N.j.vO()||Jht(N))&&(H=N.Q4(),H["native"]=""+ +N.Us,H.otgt=""+(N.B+N.timestampOffset),N.wE.Lq("seekEnd",H));dY(N)}; +g.Hf=function(N){var H=[],c;for(c in N)z6(c,N[c],H);return H.join("&")}; +vJ=function(N,H){var c=N.wq>=0?N.wq:-1,t=N.cO-N.wq,h=0;if(N.level>0){N.bG.Yp===2&&(N.bG.Yp=nnd(N));EI(N,N.Zo);EI(N,N.A$);SnR(N,N.fJ,N.Zo.g5);SnR(N,N.SO,N.A$.g5);EI(N,N.oh);for(h=18;h>=3&&N.aA[PSy[h]*2+1]===0;h--);N.M3+=3*(h+1)+5+5+4;var O=N.M3+3+7>>>3;var F=N.vn+3+7>>>3;F<=O&&(O=F)}else O=F=t+5;if(t+4<=O&&c!==-1)k$(N,H?1:0,3),UCs(N,c,t);else if(N.strategy===4||F===O)k$(N,2+(H?1:0),3),Mml(N,xX,q9);else{k$(N,4+(H?1:0),3);c=N.Zo.g5+1;t=N.A$.g5+1;h+=1;k$(N,c-257,5);k$(N,t-1,5);k$(N,h-4,4);for(O=0;O4);h++)H[mA(N[h])]||(c+="\nInner error "+t++ +": ",N[h].stack&&N[h].stack.indexOf(N[h].toString())==0||(c+=typeof N[h]==="string"?N[h]:N[h].message+"\n"),c+=n2(N[h],H));h>BigInt(32)));VP(N.T,c.B,c.T);break;default:c=sEL(H),VP(N.T,c.B,c.T)}}}; +BXs=function(N,H){H=g.K(H);for(var c=H.next();!c.done;c=H.next())c=c.value,YX(c)?N.push(A9({},c)):am(c)?N.push(BXs([],c)):N.push(c);return N}; +v$=function(N,H){g.eU(N.T,"width",H)}; +yhS=function(N,H){if(H.mR.info.video&&H.L){var c=(H.T+H.B)/H.duration,t=H.mR.info.OF;c&&t&&(N.w_.dJ(1,c/t),N.policy.L&&c/t>1.5&&N.loader.Lq("overshoot",{sq:H.Y_,br:c,max:t}))}}; +Gys=function(N){sI(N,g.YI("RAW_HOT_CONFIG_GROUP"));N.IE(g.YI("SERIALIZED_HOT_HASH_DATA"))}; +yP=function(N,H){return N.U?N.U:N.U=new Promise(function(c){var t,h,O,F;return g.Y(function(M){switch(M.T){case 1:return t=window.AbortController?new window.AbortController:void 0,O=(h=t)==null?void 0:h.signal,F=!1,g.Xy(M,2,3),t&&(N.B=N.YN.jP(function(){t.abort()},H||2E4)),g.a(M,fetch("/generate_204",{method:"HEAD", +signal:O}),5);case 5:F=!0;case 3:g.B$(M);N.U=void 0;N.B&&(N.YN.k8(N.B),N.B=0);F!==N.T&&(N.T=F,N.T?N.dispatchEvent("networkstatus-online"):N.dispatchEvent("networkstatus-offline"));c(F);g.JV(M,0);break;case 2:g.Lq(M),F=!1,M.rE(3)}})})}; +g.Uz=function(N,H,c,t,h){H=H===void 0?{}:H;c=c===void 0?yOL[N]:c;t=t===void 0?Rus[N]:t;h=h===void 0?ont[N]:h;g.ti.call(this,c,Object.assign({},{name:"YtIdbKnownError",isSw:self.document===void 0,isIframe:self!==self.top,type:N},H));this.type=N;this.message=c;this.level=t;this.T=h;Object.setPrototypeOf(this,g.Uz.prototype)}; +g.G6=function(N,H){H=H===void 0?kyh:H;a:if(H=H===void 0?kyh:H,!(N instanceof RA)){for(var c=0;c-1&&(H=H*256+t)}return H}t=128;for(var h=0;h<6&&t>c;h++)c=c*256+AK(N),t*=128;return H?c:c-t}; +tFw=function(N,H){var c=N.VS.getAvailablePlaybackRates();H=Number(H.toFixed(2));N=c[0];c=c[c.length-1];H<=N?H=N:H>=c?H=c:(N=Math.floor(H*100+.001)%5,H=N===0?H:Math.floor((H-N*.01)*100+.001)/100);return H}; +hsv=function(N,H,c){this.label=N;this.type=H;this.value=c;this.duration=0;this.taskId=this.slotId=void 0;this.uniqueId=Math.random()}; +bC=function(N){var H=N.policy.T;N.U||(H=Math.max(H-1,0));return H*K1(N)}; +OKs=function(N){var H;if(H=N.provider.videoData.isLoaded()&&N.provider.videoData.fE&&N.L&&!N.ox)H=N.T,H=H.S+H.NP()-H.L>=N.provider.videoData.fE;return!!H}; +Ffl=function(N,H,c){function t(M,f){(f=c[f])&&(O[M]=f)} +function h(M,f){(f=c[f])&&(O[M]=F(f))} +if(!c||g.NF(c))return N;var O=Object.assign({},N),F=H?encodeURIComponent:function(M){return M}; +h("DV_VIEWABILITY","doubleVerifyViewability");h("IAS_VIEWABILITY","integralAdsViewability");h("MOAT_INIT","moatInit");h("MOAT_VIEWABILITY","moatViewability");t("GOOGLE_VIEWABILITY","googleViewability");t("VIEWABILITY","viewability");return O}; +H5=function(N,H){var c=N.U;c||(N.U=new M9,c=N.U,yk(N,H));return c}; +jOS=function(N,H){i8(pq(pq(N.h9(),function(c){return $YR(c,[c5(H)])}),function(c){if(c){c=g.K(c); +for(var t=c.next();!t.done;t=c.next()){var h=t.value;t=h.key;h=h.value;t&&h&&(ThS([{settingItemId:t,settingOptionValue:h}]),nq(N))}}}),function(){N.T=!0})}; +MFw=function(N){var H={},c=window.h5vcc;H.hwConcurrency=navigator.hardwareConcurrency;N.T&&(H.cpe=N.T.message);N.B&&(H.cpt=N.B.time,H.cps=N.B.state);if(c==null?0:c.cVal)H.cb2s=c.cVal.getValue("CPU.Total.Usage.IntervalSeconds.2"),H.cb5s=c.cVal.getValue("CPU.Total.Usage.IntervalSeconds.5"),H.cb30s=c.cVal.getValue("CPU.Total.Usage.IntervalSeconds.30");return H}; +tz=function(N,H,c,t,h,O,F,M){this.U=N;this.C=H;this.L=c;this.Y=t;this.T=h;this.S=O;this.B=F;this.Z=M}; +GL=function(N,H,c,t){var h=N.hF,O=h[A8]|0;H=fTs(h,O,H,c,t);if(H==null)return H;O=h[A8]|0;if(!bN(N,O)){var F=r8s(H);F!==H&&(I0(N)&&(h=N.hF,O=h[A8]|0),H=F,O=vW(h,O,c,H,t),my(h,O))}return H}; +CVL=function(){function N(c){return H.call(N.src,N.listener,c)} +var H=dYZ;return N}; +gnL=function(N,H){var c=N.length-H.length;return c>=0&&N.indexOf(H,c)==c}; +Vr=function(N,H){return N+"_"+H.videoId+"_"+H.vr+"_"+ +H.isAutonav+ +H.c_}; +IG=function(N){N=N===void 0?document:N;var H,c;N=(c=(H=N).querySelector)==null?void 0:c.call(H,"script[nonce]");return N==null?"":N.nonce||N.getAttribute("nonce")||""}; +hz=function(N,H,c,t){sE.call(this,N,{W:"div",K:"ytp-video-interstitial-buttoned-centered-layout",V:{tabindex:"0"},X:[{W:"div",K:"ytp-video-interstitial-buttoned-centered-layout__content",X:[{W:"div",K:"ytp-video-interstitial-buttoned-centered-layout__content__instream-info-container"},{W:"div",K:"ytp-video-interstitial-buttoned-centered-layout__content__lockup",X:[{W:"div",K:"ytp-video-interstitial-buttoned-centered-layout__content__lockup__ad-avatar-container"},{W:"div",K:"ytp-video-interstitial-buttoned-centered-layout__content__lockup__headline-container"}, +{W:"div",K:"ytp-video-interstitial-buttoned-centered-layout__content__lockup__details-line-container"},{W:"div",K:"ytp-video-interstitial-buttoned-centered-layout__content__lockup__ad-button-container"}]}]},{W:"div",K:"ytp-video-interstitial-buttoned-centered-layout__timed-pie-countdown-container"}]},"video-interstitial-buttoned-centered",H,c,t);this.B=null;this.U=this.Sa("ytp-video-interstitial-buttoned-centered-layout__content__instream-info-container");this.L=new Qz;g.l(this,this.L);this.hide()}; +dYZ=function(N,H){if(N.removed)N=!0;else{H=new OW(H,this);var c=N.listener,t=N.handler||N.src;N.Kx&&fV(N);N=c.call(t,H)}return N}; +FD=function(N){return N.J.D().N("substitute_ad_cpn_macro_in_ssdai")}; +WfD=function(N){return new J9(N.type,N.mR,N.range,"getEmptyStubBefore"+N.Y,N.Y_,N.startTime,0,N.T,0)}; +xY3=function(N,H,c,t,h){var O=zsd($q(N.slotEntryTrigger,c,t),h,N,H);if(O instanceof S)return O;for(var F=[],M=g.K(N.slotFulfillmentTriggers),f=M.next();!f.done;f=M.next()){f=$q(f.value,c,t);if(f instanceof S)return f;F.push(f)}F=EYd(F,h,N,H);H=[];N=g.K(N.slotExpirationTriggers);for(h=N.next();!h.done;h=N.next()){h=$q(h.value,c,t);if(h instanceof S)return h;H.push(h)}return{slotEntryTrigger:O,slotFulfillmentTriggers:F,slotExpirationTriggers:H}}; +g.kT=function(N,H,c){g.L.call(this);this.T=N;this.wy=H||0;this.B=c;this.L=(0,g.tv)(this.UL,this)}; +rnv=function(N,H,c,t,h){var O=N.index?PB(N.logger,function(){return qLv(N.index,gTl(H),c,t,h)},"W"):"u"; +N.logger.qI(O)}; +CXe=function(N){function H(c){return{toString:function(){return c()}}} +N.macros.SURVEY_LOCAL_TIME_EPOCH_S=H(function(){var c=new Date;return(Math.round(c.valueOf()/1E3)+-1*c.getTimezoneOffset()*60).toString()}); +N.macros.SURVEY_ELAPSED_MS=H(function(){return(Date.now()-N.L).toString()})}; +gYL=function(N,H,c){var t=String(g.di.location.href);return t&&N&&H?[H,lTR(KfZ(t),N,c||null)].join(" "):null}; +mYv=function(N){g.L.call(this);this.T=N;this.wF=rA3(this)}; +g.Ke=function(N,H,c,t){this.U=N;this.S=H;this.T=this.L=N;this.Y=c||0;this.C=t||2}; +T$=function(N){return N.N("web_settings_menu_surface_custom_playback")&&N.N("web_settings_use_input_slider")}; +jG=function(){return{W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M21.20 3.01L21 3H3L2.79 3.01C2.30 3.06 1.84 3.29 1.51 3.65C1.18 4.02 .99 4.50 1 5V19L1.01 19.20C1.05 19.66 1.26 20.08 1.58 20.41C1.91 20.73 2.33 20.94 2.79 20.99L3 21H21L21.20 20.98C21.66 20.94 22.08 20.73 22.41 20.41C22.73 20.08 22.94 19.66 22.99 19.20L23 19V5C23.00 4.50 22.81 4.02 22.48 3.65C22.15 3.29 21.69 3.06 21.20 3.01ZM3 19V5H21V19H3ZM6.97 8.34C6.42 8.64 5.96 9.09 5.64 9.63L5.50 9.87C5.16 10.53 4.99 11.26 5 12L5.00 12.27C5.04 12.92 5.21 13.55 5.50 14.12L5.64 14.36C5.96 14.90 6.42 15.35 6.97 15.65L7.21 15.77C7.79 16.01 8.43 16.06 9.03 15.91L9.29 15.83C9.88 15.61 10.39 15.23 10.77 14.73C10.93 14.53 11.00 14.27 10.97 14.02C10.94 13.77 10.82 13.53 10.63 13.37C10.44 13.20 10.19 13.11 9.93 13.12C9.68 13.13 9.44 13.24 9.26 13.43L9.19 13.50C9.05 13.70 8.85 13.85 8.62 13.94L8.54 13.97C8.35 14.02 8.16 14.00 7.99 13.92L7.91 13.88C7.67 13.75 7.48 13.56 7.35 13.32L7.28 13.20C7.11 12.88 7.02 12.52 7.00 12.16L7 12C6.99 11.58 7.09 11.16 7.28 10.79L7.35 10.67C7.48 10.43 7.67 10.24 7.91 10.11C8.10 10.00 8.32 9.97 8.54 10.02L8.62 10.05C8.81 10.12 8.98 10.24 9.11 10.39L9.19 10.49L9.26 10.57C9.43 10.74 9.66 10.85 9.91 10.87C10.15 10.89 10.40 10.81 10.59 10.66C10.79 10.51 10.92 10.29 10.96 10.05C11.01 9.80 10.96 9.55 10.83 9.34L10.77 9.26L10.60 9.05C10.24 8.65 9.79 8.35 9.29 8.16L9.03 8.08C8.34 7.91 7.60 8.00 6.97 8.34ZM14.97 8.34C14.42 8.64 13.96 9.09 13.64 9.63L13.50 9.87C13.16 10.53 12.99 11.26 13 12L13.00 12.27C13.04 12.92 13.21 13.55 13.50 14.12L13.64 14.36C13.96 14.90 14.42 15.35 14.97 15.65L15.21 15.77C15.79 16.01 16.43 16.06 17.03 15.91L17.29 15.83C17.88 15.61 18.39 15.23 18.77 14.73C18.93 14.53 19.00 14.27 18.97 14.02C18.94 13.77 18.82 13.53 18.63 13.37C18.44 13.20 18.19 13.11 17.93 13.12C17.68 13.13 17.44 13.24 17.26 13.43L17.19 13.50C17.05 13.70 16.85 13.85 16.62 13.94L16.54 13.97C16.35 14.02 16.16 14.00 15.99 13.92L15.91 13.88C15.67 13.75 15.48 13.56 15.35 13.32L15.28 13.20C15.11 12.88 15.02 12.52 15.00 12.16L15 12C14.99 11.58 15.09 11.16 15.28 10.79L15.35 10.67C15.48 10.43 15.67 10.24 15.91 10.11C16.10 10.00 16.32 9.97 16.54 10.02L16.62 10.05C16.81 10.12 16.98 10.24 17.11 10.39L17.19 10.49L17.26 10.57C17.43 10.74 17.66 10.85 17.91 10.87C18.15 10.89 18.40 10.81 18.59 10.66C18.79 10.51 18.92 10.29 18.96 10.05C19.01 9.80 18.96 9.55 18.83 9.34L18.77 9.26L18.60 9.05C18.24 8.65 17.79 8.35 17.29 8.16L17.03 8.08C16.34 7.91 15.60 8.00 14.97 8.34Z", +fill:"white"}}]}}; +MF=function(N){return N.mimeType==="application/x-mpegURL"}; +fa=function(N,H,c,t,h){eq.call(this,c,N,H,t);this.Pp=h;N=lQ(H.clientMetadata,"metadata_type_ad_placement_config");this.Fg=new sd(H.S1,h,N,H.layoutId)}; +DYt=function(N){return new g.EL(function(H,c){N.length||H(void 0);for(var t,h=0;hc)h=c;t+=H.length+1;return r1(N.slice(t,h!==-1?h:0))}; +w1=function(){this.C=!1;this.U=null;this.B=void 0;this.T=1;this.S=this.Y=0;this.TW=this.L=null}; +Q_=function(N){var H=null;H={W:"button",fq:["ytp-sfn-close","html5-video-info-panel-close","ytp-button"],V:{title:"close"},Wp:"[X]"};g.e.call(this,{W:"div",fq:["html5-video-info-panel","ytp-sfn"],X:[H,{W:"div",fq:["html5-video-info-panel-content","ytp-sfn-content"],X:[{W:"div",X:[{W:"div",Wp:"Video ID / sCPN"},{W:"span",Wp:"{{video_id_and_cpn}}",K:"ytp-sfn-cpn"}]},{W:"div",X:[{W:"div",Wp:"Viewport / Frames"},{W:"span",Wp:"{{dims_and_frames}}"}]},{W:"div",X:[{W:"div",Wp:"Current / Optimal Res"},{W:"span", +Wp:"{{resolution}}"}]},{W:"div",X:[{W:"div",Wp:"Volume / Normalized"},{W:"span",Wp:"{{volume}}"}]},{W:"div",X:[{W:"div",Wp:"Codecs"},{W:"span",Wp:"{{codecs}}"}]},{W:"div",V:{style:"{{shader_info_style}}"},X:[{W:"div",Wp:"Shader Info"},{W:"span",Wp:"{{shader_info}}"}]},{W:"div",V:{style:"{{color_style}}"},X:[{W:"div",Wp:"Color"},{W:"span",Wp:"{{color}}"}]},{W:"div",V:{style:"{{drm_style}}"},X:[{W:"div",Wp:"Protected"},{W:"span",Wp:"{{drm}}"}]},{W:"div",V:{style:"{{bandwidth_style}}"},X:[{W:"div",Wp:"Connection Speed"}, +{W:"span",X:[{W:"span",Wp:"{{bandwidth_chart}}"},{W:"span",Wp:"{{bandwidth_kbps}}"}]}]},{W:"div",V:{style:"{{network_activity_style}}"},X:[{W:"div",Wp:"Network Activity"},{W:"span",X:[{W:"span",Wp:"{{network_activity_chart}}"},{W:"span",Wp:"{{network_activity_bytes}}"}]}]},{W:"div",X:[{W:"div",Wp:"Buffer Health"},{W:"span",X:[{W:"span",Wp:"{{buffer_health_chart}}"},{W:"span",Wp:"{{buffer_health_seconds}}"}]}]},{W:"div",V:{style:"{{live_latency_style}}"},X:[{W:"div",Wp:"Live Latency"},{W:"span",X:[{W:"span", +Wp:"{{live_latency_chart}}"},{W:"span",Wp:"{{live_latency_secs}}"}]}]},{W:"div",V:{style:"{{live_mode_style}}"},X:[{W:"div",Wp:"Live Mode"},{W:"span",Wp:"{{live_mode}}"}]},{W:"div",V:{style:"{{playback_categories_style}}"},X:[{W:"div",Wp:"Playback Categories"},{W:"span",Wp:"{{playback_categories}}"}]},{W:"div",V:{style:"{{fmt_debug_info_style}}"},X:[{W:"div",Wp:"Format Debug Info"},{W:"span",Wp:"{{fmt_debug_info}}"}]},{W:"div",X:[{W:"div",Wp:"Mystery Text"},{W:"span",Wp:"{{debug_info}}"}]},{W:"div", +V:{style:"{{extra_debug_info_style}}"},X:[{W:"div",Wp:""},{W:"span",X:[{W:"span",Wp:"{{extra_debug_info}}"}]}]},{W:"div",X:[{W:"div",Wp:"Date"},{W:"span",Wp:"{{date}}"}]},{W:"div",V:{style:"{{cotn_and_local_media_style}}"},X:[{W:"div",Wp:"COTN / Local Media"},{W:"span",Wp:"{{cotn_and_local_media}}"}]},{W:"div",V:{style:"{{release_style}}"},X:[{W:"div",Wp:"Player Release"},{W:"span",Wp:"{{release_name}}"}]}]}]});this.VS=N;this.position=0;this.S=!0;H?this.G(this.Sa("ytp-sfn-close"),"click",this.hide): +this.G(this.element,"click",this.hide);N=[0,18750,37500,81250,128E3,256E3,512E3,2048E3,8192E3,32768E3,131072E3];H="#000 #d53e4f #f46d43 #fdae61 #fee08b #e6f598 #abdda4 #66c2a5 #3288bd #124588 #fff".split(" ");var c=N.map(function(t){return t/4}); +this.C={};this.T=new DP(300,1,150,N,H);g.l(this,this.T);this.updateValue("bandwidth_chart",this.T);this.L=new DP(300,1,150,[0,3,10,15,30,60,90],"#000 #66c2a5 #abdda4 #e6f598 #fdae61 #f46d43 #a8330f".split(" "));g.l(this,this.L);this.updateValue("live_latency_chart",this.L);this.B=new DP(300,1,150,[0,15,30,60,90,120],"#000 #fdae61 #e6f598 #66c2a5 #3288bd #fff".split(" "));g.l(this,this.B);this.updateValue("buffer_health_chart",this.B);this.Y=new DP(300,1,150,c,H);g.l(this,this.Y);this.updateValue("network_activity_chart", +this.Y);this.delay=new g.kT(this.Df,500,this);g.l(this,this.delay);this.U=new g.kT(this.Z,2E4,this);g.l(this,this.U)}; +Lfw=function(N,H,c,t,h,O){t=t===void 0?pa():t;h=h===void 0?Promise.resolve(void 0):h;var F,M,f,d,W,z,E,x,q,r,w,n;g.Y(function(p){switch(p.T){case 1:return g.a(p,0,3);case 3:M=null;if(!F){p.rE(6);break}u8(N,7);g.Xy(p,7);return g.a(p,tp(F.snapshot({}),O.VX,function(){return Promise.resolve("E:CTO")}),9); +case 9:M=p.B;g.VI(p,6);break;case 7:g.Lq(p),M="E:UCE";case 6:f=void 0,d=F?O.Ja:O.Ne,W=new g.Ke(d,O.pj,O.gh,O.rh),z=1;case 10:if(!(z<=O.maxAttempts)){p.rE(12);break}if(z===1){p.rE(13);break}u8(N,0);N.T=new PXv(W.getValue(),O.Lz,O.R_);return g.a(p,N.T.promise,14);case 14:E=p.B,N.T=void 0,E===1?(z=1,W.reset()):g.Jz(W);case 13:g.Xy(p,15);x=void 0;if(c){x=c;p.rE(17);break}u8(N,5);q=t.T;return g.a(p,tp(UYe(H,N.logger,z,q,M),O.vk,function(){return Promise.reject(Error("RGF:Fetch timed out"))}),18); +case 18:x=p.B;case 17:return u8(N,3),g.a(p,tp(XcZ(t,x),O.zmE,function(){return Promise.reject(Error("DTZ:Script timed out"))}),19); +case 19:return u8(N,8),g.a(p,h,20);case 20:return r=new gh({challenge:x,Yg:N.options.Yg,qt:N.options.qt}),g.a(p,tp(r.o3,O.MPs,function(){return Promise.reject(Error("QEG:Setup timed out"))}),21); +case 21:f=r;p.rE(12);break;case 15:w=g.Lq(p),N.handleError(w),WyR(N);case 11:z++;p.rE(10);break;case 12:if(N.uo()){p.rE(5);break}f&&(c=void 0,zyd(N,F),F=f,VFD(N,f),WyR(N));u8(N,2);N.T=new PXv(O.OCi,O.Lz,O.R_);return g.a(p,N.T.promise,22);case 22:N.T=void 0;if(N.uo()){p.rE(5);break}p.rE(3);break;case 5:(n=F)==null||n.dispose(),g.Z3(p)}})}; +P5=function(N){var H;!(H=N.mR.info.T0==="f")&&(H=N.policy.U)&&(H=N.L,H=!!H.Y&&JZ(H.Y));if(H)return!0;H=na(N);if(!H)return!1;var c=SG(H)&&H.L;return N.isManifestless&&N.NT>0?c||H.Y_>=N.NT:c}; +ZKL=function(N,H,c,t){var h=UKw(Qg,c);h!==null&&h.RR!==H&&(N.wZ(h),h=null);h||(H=N.VK(c,UW(),!1,H),Qg.B.length==0&&(BV().L=79463069),l7t([H]),h=H,h.U=XD(N),t&&(h.Xg=t));return h}; +V_=function(N){this.k_=N;this.T=!1}; +YLR=function(){}; +vnZ=function(N){if(N==null)return N;var H=typeof N;if(H==="bigint")return String(La(64,N));if(iV(N)){if(H==="string")return ZP(N);if(H==="number")return Yb(N)}}; +g.Yq=function(N){return or(N)==="shortspage"}; +AAD=function(N,H){var c=H.getAudioTrack();return c.id!=="und"?g.WL(N,function(t){var h;return((h=t.X3)==null?void 0:h.name)===c.getLanguageInfo().name}):N}; +Az=function(N,H){this.triggeringSlotId=H;this.triggerType="TRIGGER_TYPE_SLOT_ID_UNSCHEDULED";this.triggerId=N(this.triggerType)}; +V6t=function(N){var H;for(H=0;H<286;H++)N.fJ[H*2]=0;for(H=0;H<30;H++)N.SO[H*2]=0;for(H=0;H<19;H++)N.aA[H*2]=0;N.fJ[512]=1;N.M3=N.vn=0;N.l1=N.matches=0}; +a9=function(N,H){N.publish("internalvideodatachange",H===void 0?"dataupdated":H,N.videoData)}; +aTy=function(N){g.tH(N.T,function(H){H.T>1E5||++H.T})}; +g.Bg=function(){return{W:"svg",V:{height:"100%",viewBox:"0 0 24 24",width:"100%"},X:[{W:"path",V:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",fill:"#fff"}}]}}; +Qi=function(N){eG||(v5?v5.vZ(N):(sW.push({type:"ERROR",payload:N}),sW.length>10&&sW.shift()))}; +esR=function(N){g.tH(N.T,function(H){H.T>1E5||++H.T})}; +B5=function(){return zL("iPhone")&&!zL("iPod")&&!zL("iPad")}; +y_=function(N,H){H=(H===void 0?0:H)?"EMBEDDED_PLAYER_MODE_DEFAULT":"EMBEDDED_PLAYER_MODE_UNKNOWN";window.location.hostname.includes("youtubeeducation.com")&&(H="EMBEDDED_PLAYER_MODE_PFL");var c=N.raw_embedded_player_response;if(!c&&(N=N.embedded_player_response))try{c=JSON.parse(N)}catch(t){return H}return c?ib(H,c.embeddedPlayerMode,vYR):H}; +e9s=function(N){return N.displayName||N.name||"unknown type name"}; +sOZ=function(N,H){var c;return g.Y(function(t){if(t.T==1)return g.a(t,WR(H),2);c=t.B;return t.return(g.zu(c,["LogsRequestsStore"],{mode:"readwrite",Zt:!0},function(h){var O=h.objectStore("LogsRequestsStore");return O.get(N).then(function(F){if(F)return F.status="QUEUED",g.EX(O,F).then(function(){return F})})}))})}; +G$=function(N,H){H=H===void 0?!1:H;return N.J.D().N("html5_ssap_force_ads_ctmp")?!0:(H||N.J.D().vO())&&N.J.D().N("html5_ssap_pacf_qoe_ctmp")}; +Bhe=function(N){var H=N.J.BO().getPlayerSize().width;return Math.max(H-f2(N)*2,100)}; +R9=function(N,H,c,t){t=t===void 0?{}:t;g.Lu(function(){yAd.includes(H)||(g.aS(new g.ti("createClientScreen() called with a non-page VE",H)),H=83769);t.isHistoryNavigation||(N.Us=[],N.T.push({rootVe:H,key:t.key||""}));N.C=[];N.Z=[];t.sQ?G0R(N,H,c,t):Rsw(N,H,c,t)})()}; +g.EL=function(N){this.T=0;this.C=void 0;this.U=this.B=this.L=null;this.S=this.Y=!1;if(N!=g.$$)try{var H=this;N.call(void 0,function(c){sh(H,2,c)},function(c){sh(H,3,c)})}catch(c){sh(this,3,c)}}; +o9=function(N){this.Pp=N}; +is=function(N,H){if(!g.sf("web_csi_action_sampling_enabled")||!J8(H).actionDisabled){var c=kq(H||"");I9(c.info,N);N.loadType&&(c=N.loadType,b8(H).loadType=c);I9(oYZ(H),N);c=Np(H);H=J8(H).cttAuthInfo;H9().info(N,c,H)}}; +c9=function(N,H){return PNh(N,function(c){return c.T},H===void 0?!0:H)}; +tq=function(N,H){g.TW.call(this,g.jC({"aria-haspopup":"true"},["ytp-audio-settings-menu-item"]),g.Se.Wo);this.J=N;this.R4=H;g.bV(this.element,"ytp-audio-settings-menu-item");this.yR=new g.Fm(N,void 0,"Audio");this.countLabel=new g.e({W:"div",X:[{W:"span",Wp:"Audio"},{W:"span",K:"ytp-menuitem-label-count",Wp:"{{content}}"}]});N.N("web_settings_menu_icons")&&this.setIcon({W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M17.5,12c0,2.14-1.5,3.92-3.5,4.38v-1.04c1.44-0.43,2.5-1.76,2.5-3.34c0-1.58-1.06-2.9-2.5-3.34V7.62 C16,8.08,17.5,9.86,17.5,12z M12,4.07v15.86L6.16,15H3V9h3.16L12,4.07z M11,6.22L6.52,10H4v4h2.52L11,17.78V6.22z M21,12 c0,4.08-3.05,7.44-7,7.93v-1.01c3.39-0.49,6-3.4,6-6.92s-2.61-6.43-6-6.92V4.07C17.95,4.56,21,7.92,21,12z", +fill:"white"}}]});this.wu=new vX(N,this.R4,this);g.l(this,this.wu);this.G(N,"settingsMenuInitialized",this.dk.bind(this));this.G(N,"videodatachange",this.dk.bind(this));g.l(this,this.countLabel);g.et(this,this.countLabel);this.R4.Ou(this);this.G(N,"onPlaybackAudioChange",this.D$);this.listen("keydown",this.DM);this.listen("click",this.open)}; +k0R=function(N,H){N.array=N.array.filter(function(c){return!H.has(c)})}; +Uf=function(N,H,c,t,h){var O=g.NA("yt.logging.errors.log");O?O(N,"WARNING",H,c,t,void 0,h):(O=g.YI("ERRORS",[]),O.push([N,"WARNING",H,c,t,void 0,h]),qz("ERRORS",O))}; +g.JH=function(N,H,c,t){H=W5(H);return H!==void 0?N.open(H,c,t):null}; +nc=function(){var N="youtube.player.web_20251026_00_RC00".match(/_(\d{8})_RC\d+$/)||"youtube.player.web_20251026_00_RC00".match(/_(\d{8})_\d+_\d+$/)||"youtube.player.web_20251026_00_RC00".match(/_(\d{8})_\d+\.\d+$/)||"youtube.player.web_20251026_00_RC00".match(/_(\d{8})_\d+_RC\d+$/),H;if(((H=N)==null?void 0:H.length)==2)return N[1];N="youtube.player.web_20251026_00_RC00".match(/.*_(\d{2})\.(\d{4})\.\d+_RC\d+$/);var c;return((c=N)==null?void 0:c.length)==3?"20"+N[1]+N[2]:null}; +NnS=function(N){if(N.isExternallyHostedPodcast&&N.Jg){var H=hq(N.Jg);if(!H[0])return C6();N.zy=H[0];return ITs(N.Es,H[0]).then(function(c){OG(N,c)})}return N.L2&&N.ip?bKL(N.Es,N.isAd(),N.L2).then(function(c){OG(N,c)}):C6()}; +g.c03=function(N,H,c,t){var h=N.Y!==c,O=N.S!==t;N.qz=H;N.Y=c;N.S=t;FE(N)&&(H=N.B)!=null&&(H.scale=t?1.5:1);Heh(N);N.T.length===1&&(N.T[0].width=c||0);h&&g.$8(N);N.B&&O&&FE(N)&&(N.B.isEnabled&&(c=N.S?135:90,t=c-N.ox,N.WO.style.height=c+"px",g.eU(N.Us,"transform","translateY("+-t+"px)"),g.eU(N.progressBar,"transform","translateY("+-t+"px)")),ief(N.B))}; +tBt=function(N){this.T=N;N.bq("/client_streamz/bg/po/ctav",g.iw("av"),g.iw("mk"))}; +hvt=function(N,H,c){var t=Tv(Qg,H);t||(t=c.opt_nativeTime||-1,t=jV(N,H,XD(N),t),c.opt_osdId&&(t.Xg=c.opt_osdId));return t}; +FiR=function(N,H){g.Mp(H,function(h){return h.depth>=0}); +var c=Xs(H,function(h,O){return Math.max(h,O.depth)},-1),t=Oef(c+2); +t[0]=N;g.uT(H,function(h){return t[h.depth+1]=h.T}); +return t}; +$Sl=function(N,H){var c=0x8000000000000,t=0,h=0x8000000000000;var O=g.K(H.slotFulfillmentTriggers);for(var F=O.next();!F.done;F=O.next())if(F=F.value,F instanceof fH){var M=F.T.start;c=Math.min(c,M);t=Math.max(t,F.T.end);F.visible&&(h=Math.min(h,M))}else KA("Found unexpected fulfillment trigger for throttled slot.",H,null,{fulfillmentTrigger:F});O=c;h=h<0x8000000000000&&c>1,H),CV(N,N.length>>1)]}; +Tnf=function(N){switch(N){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 499:return 1;case 500:return 2;case 501:return 12;case 503:return 14;case 504:return 4;default:return 2}}; +aO=function(N,H,c,t){return NV(BV().T.T,function(){var h=g.LQ.apply(0,arguments);return $bL(N,function(){return H.apply(c,h)},t)})}; +EG=function(N,H){var c,t=zv(N,(c=H.T)==null?void 0:c.videoInfos);c=N.wE.getPlaybackRate();return c>1&&t?(N=jFZ(N.j.S,H.T.videoInfos,c),new jw(0,N,!0,"o")):new jw(0,0,!1,"o")}; +MBv=function(N){N.U||(N.U=new g.x8(N.B));return N.U}; +qp=function(N){this.NE=N}; +z$=function(){var N=kG;N.Y||(N.Y=!0,Ney(N,function(){return N.U.apply(N,g.HE(g.LQ.apply(0,arguments)))}),N.U())}; +voR=function(N,H,c,t){function h(M){M&&H.appendChild(typeof M==="string"?N.createTextNode(M):M)} +for(;t0)h(O);else{a:{if(O&&typeof O.length=="number"){if(g.ie(O)){var F=typeof O.item=="function"||typeof O.item=="string";break a}if(typeof O==="function"){F=typeof O.item=="function";break a}}F=!1}g.uT(F?g.bX(O):O,h)}}}; +CH=function(N){this.hF=oF(N)}; +KH=function(N){return new ls(N.substring(0,2),N.substring(2))}; +dSs=function(N,H){var c=N.zW[H];H=N.T3[H];var t=gl(N),h=gy(N.L,c.start/1E3,0),O=f6e(c,N.S)/t.width;var F=gy(N.L,c.end/1E3,1);O!==Number.POSITIVE_INFINITY&&(h=g.Ae(h,0,F-O));F=Math.min(F,h+O);c.color&&(H.style.background=c.color);c=h;H.style.left=Math.max(c*t.T+t.U,0)+"px";YD(N,H,g.Ae((F-c)*t.T+t.U,0,t.width),t.width,!0)}; +WiL=function(N,H){N.buildLabel=H;return N}; +ry=function(){this.T=new WeakMap}; +mR=function(N,H,c){this.layoutId=H;this.triggerType="TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED";this.triggerId=c||N(this.triggerType)}; +zvy=function(){var N;return(N=g.pB("yt-player-voice-boost"))!=null?N:void 0}; +EGl=function(){wy.instance||(wy.instance=new wy);return wy.instance}; +Dw=function(N){var H=N>>>0;k9=H;In=(N-H)/4294967296>>>0}; +q3L=function(N,H,c,t){if(!H||!c||!H.videoData.B)return!1;var h=g.Mx(N.j.experiments,"html5_df_downgrade_thresh"),O=N.N("html5_log_media_perf_info");if(!((0,g.Lh)()-N.U<5E3?0:O||h>0))return!1;var F=((0,g.Lh)()-N.U)/1E3;N.U=(0,g.Lh)();c=c.getVideoPlaybackQuality();if(!c)return!1;var M=c.droppedVideoFrames-N.Y,f=c.totalVideoFrames-N.Z;N.Y=c.droppedVideoFrames;N.Z=c.totalVideoFrames;var d=c.displayCompositedVideoFrames===0?0:c.displayCompositedVideoFrames||-1;O&&N.j.vO()&&N.wE.Lq("ddf",{dr:c.droppedVideoFrames, +de:c.totalVideoFrames,comp:d});if(t)return N.T=0,!1;if((f-M)/F>N.TW||!h||g.Iy(N.j))return!1;N.T=(f>60?M/f:0)>h?N.T+1:0;if(N.T!==3)return!1;xSh(N,H.videoData.B);N.wE.Lq("dfd",Object.assign({dr:c.droppedVideoFrames,de:c.totalVideoFrames},wdd()));return!0}; +Q1=function(N,H){H=(H=H===void 0?0:H)?Math.round(N.timestampOffset*H)/H:N.timestampOffset;N.mR.U&&H&&(H+=N.mR.U.T);return H+N.getDuration()}; +pH=function(N){return N.Jn.get("ad")}; +Cbs=function(N){return new wu(N.top,N.right,N.bottom,N.left)}; +us=function(N,H){var c={};if(N!==void 0)if(H!=null)for(var t in H){var h=H[t];t in Object.prototype||h!=null&&(c[t]=typeof h==="function"?h(N):N[h])}else g.NY(c,N);return Ve(A$(new af,c))}; +l6l=function(N){return-((N.S.offsetWidth||(N.frameCount-1)*N.Y*N.scale)-N.T/2)}; +KiR=function(){return Jq()?!1:zL("Trident")||zL("MSIE")}; +P9=function(N){var H=N.N("web_player_use_cinematic_label_2")?"Ambient mode":"Cinematic lighting";n6.call(this,H,g.Se.rB);var c=this;this.J=N;this.T=!1;this.B=new g.kT(function(){g.nH(c.element,"ytp-menuitem-highlighted")},0); +this.R4=N.GS();N=N.N("delhi_modern_web_player_icons")?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M12 .5C11.73 .5 11.48 .60 11.29 .79C11.10 .98 11 1.23 11 1.5V3.5C11 3.76 11.10 4.01 11.29 4.20C11.48 4.39 11.73 4.5 12 4.5C12.26 4.5 12.51 4.39 12.70 4.20C12.89 4.01 13 3.76 13 3.5V1.5C13 1.23 12.89 .98 12.70 .79C12.51 .60 12.26 .5 12 .5ZM3.79 1.29C3.61 1.46 3.51 1.70 3.50 1.94C3.48 2.19 3.56 2.43 3.72 2.63L3.79 2.70L5.29 4.20L5.37 4.27C5.56 4.42 5.80 4.50 6.04 4.49C6.29 4.47 6.52 4.37 6.70 4.20C6.87 4.02 6.97 3.79 6.99 3.54C7.00 3.30 6.92 3.06 6.77 2.86L6.70 2.79L5.20 1.29L5.13 1.22C4.93 1.06 4.69 .98 4.44 1.00C4.20 1.01 3.96 1.11 3.79 1.29ZM18.86 1.22L18.79 1.29L17.29 2.79L17.22 2.86C17.07 3.06 16.99 3.30 17.00 3.54C17.01 3.79 17.12 4.02 17.29 4.20C17.47 4.37 17.70 4.48 17.95 4.49C18.19 4.50 18.43 4.42 18.63 4.27L18.70 4.20L20.20 2.70L20.27 2.63C20.42 2.43 20.50 2.19 20.49 1.95C20.48 1.70 20.37 1.47 20.20 1.29C20.02 1.12 19.79 1.01 19.54 1.00C19.30 .99 19.06 1.07 18.86 1.22ZM19.20 6.01L19 6H5L4.79 6.01C4.30 6.06 3.84 6.29 3.51 6.65C3.18 7.02 2.99 7.50 3 8V16L3.01 16.20C3.05 16.66 3.26 17.08 3.58 17.41C3.91 17.73 4.33 17.94 4.79 17.99L5 18H19L19.20 17.98C19.66 17.94 20.08 17.73 20.41 17.41C20.73 17.08 20.94 16.66 20.99 16.20L21 16V8C20.99 7.50 20.81 7.02 20.48 6.66C20.15 6.29 19.69 6.06 19.20 6.01ZM5 16V8H19V16H5ZM17.29 19.79C17.11 19.96 17.01 20.20 17.00 20.44C16.98 20.69 17.06 20.93 17.22 21.13L17.29 21.20L18.79 22.70L18.86 22.77C19.06 22.92 19.30 23.00 19.54 22.99C19.79 22.98 20.02 22.87 20.20 22.70C20.37 22.52 20.48 22.29 20.49 22.04C20.50 21.80 20.42 21.56 20.27 21.36L20.20 21.29L18.70 19.79L18.63 19.72C18.43 19.56 18.19 19.48 17.94 19.50C17.70 19.51 17.46 19.61 17.29 19.79ZM5.37 19.72L5.29 19.79L3.79 21.29L3.72 21.36C3.57 21.56 3.49 21.80 3.50 22.04C3.51 22.29 3.62 22.52 3.79 22.70C3.97 22.87 4.20 22.98 4.45 22.99C4.69 23.00 4.93 22.92 5.13 22.77L5.20 22.70L6.70 21.20L6.77 21.13C6.92 20.93 7.00 20.69 6.99 20.45C6.97 20.20 6.87 19.97 6.70 19.79C6.52 19.62 6.29 19.52 6.04 19.50C5.80 19.49 5.56 19.57 5.37 19.72ZM12 19.5C11.73 19.5 11.48 19.60 11.29 19.79C11.10 19.98 11 20.23 11 20.5V22.5C11 22.76 11.10 23.01 11.29 23.20C11.48 23.39 11.73 23.5 12 23.5C12.26 23.5 12.51 23.39 12.70 23.20C12.89 23.01 13 22.76 13 22.5V20.5C13 20.23 12.89 19.98 12.70 19.79C12.51 19.60 12.26 19.5 12 19.5Z", +fill:"white"}}]}:{W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M21 7v10H3V7h18m1-1H2v12h20V6zM11.5 2v3h1V2h-1zm1 17h-1v3h1v-3zM3.79 3 6 5.21l.71-.71L4.5 2.29 3.79 3zm2.92 16.5L6 18.79 3.79 21l.71.71 2.21-2.21zM19.5 2.29 17.29 4.5l.71.71L20.21 3l-.71-.71zm0 19.42.71-.71L18 18.79l-.71.71 2.21 2.21z",fill:"white"}}]};this.setIcon(N);this.subscribe("select",this.L,this);this.listen(SV,this.U);g.l(this,this.B)}; +gGt=function(N){return N.data["Stitched-Video-Cpn"]?N.data["Stitched-Video-Cpn"].split(",").slice(0,-1):[]}; +XE=function(N,H){if(H==0)return N.T;if(H==1)return N.B;var c=UG(N.T,N.L,H),t=UG(N.L,N.U,H);N=UG(N.U,N.B,H);c=UG(c,t,H);t=UG(t,N,H);return UG(c,t,H)}; +xwy=function(){var N=g.LQ.apply(0,arguments);return N.length===0?function(H){return H}:N.length===1?N[0]:N.reduce(function(H,c){return function(){return H(c.apply(null,g.HE(g.LQ.apply(0,arguments))))}})}; +r0y=function(N){var H=V1(N.T).p6,c=H.U().e5("SLOT_TYPE_PLAYER_BYTES",1);H=s7(H.ea.get(),1).clientPlaybackNonce;var t=!1;c=g.K(c);for(var h=c.next();!h.done;h=c.next()){h=h.value;var O=h.slotType==="SLOT_TYPE_PLAYER_BYTES"&&h.slotEntryTrigger instanceof LH?h.slotEntryTrigger.oy:void 0;O&&O===H&&(t&&KA("More than 1 preroll playerBytes slot detected",h),t=!0)}t||Zw(V1(N.T).aL)}; +Y8=function(N,H,c){H.match(mSf);return N(H,c).then(function(t){var h=g.wfy(t.xhr);return h?Y8(N,h,c):t.xhr})}; +Rn=function(N,H){this.B=N>>>0;this.T=H>>>0}; +Aq=function(N,H,c){H=Math.max(H,N.B.T);N.C.dJ(1,c/H)}; +pfl=function(N,H){var c=N.getCurrentTime(),t=N.isAtLiveHead(c);if(N.Z&&t){var h=N.Z;if(h.T&&!(c>=h.B&&c50&&h.B.shift())),h=N.T,Hqe(h,c,H===void 0?!0:H),DSf(h,c),H&&QFv(N,!0));t!==N.Dt&&(H=N.getCurrentTime()-N.WO<=500,c=N.kG>=1E3,H||c||(H=N.wE.d_,H.qoe&&(H=H.qoe,c=g.cd(H.provider), +g.Xz(H,c,"lh",[t?"1":"0"])),N.Dt=t,N.kG++,N.WO=N.getCurrentTime()))}; +a3=function(N,H,c){this.initData=N;this.contentType=H;this.isPrefetch=c;this.T=this.cryptoPeriodIndex=NaN;this.L=[];this.RW=!1;this.B=null;if((H==null?void 0:H.toLowerCase())==="webm"||N.length===16)this.RW=!0}; +g.eV=function(N,H){H=W5(H);H!==void 0&&(N.href=H)}; +uty=function(N,H){var c=[];H?H.isTrusted===!0?c.push("BISCOTTI_BASED_DETECTION_STATE_AS_SEEK_EVENT_TRUSTED"):H.isTrusted===!1?c.push("BISCOTTI_BASED_DETECTION_STATE_AS_SEEK_EVENT_NOT_TRUSTED"):c.push("BISCOTTI_BASED_DETECTION_STATE_AS_SEEK_EVENT_TRUSTED_PROPERTY_UNDEFINED"):c.push("BISCOTTI_BASED_DETECTION_STATE_AS_SEEK_EVENT_UNDEFINED");v9(0,"a.s_",{metadata:N,states:c});qz("ASDSTAT",0)}; +z0=function(N,H,c){var t=J0l.get();t.L=N;t.B=H;t.context=c;return t}; +nGD=function(N,H){N.N("html5_log_media_perf_info")&&(N.wE.Lq("perfdb",wdd()),N.wE.Lq("sessionperfdb",Object.fromEntries(sG.entries())),N.wE.Lq("playbackperfdb",Object.fromEntries(N.L.entries())),N.wE.Lq("hwc",{nch:navigator.hardwareConcurrency},!0),H&&N.wE.Lq("mcdb",{itags:H.T.videoInfos.filter(function(c){var t;return((t=c.B)==null?void 0:t.smooth)===!1}).map(function(c){return c.itag}).join("-")}))}; +B9=function(N,H,c,t,h){this.name=N;this.methodType="unary";this.requestType=H;this.responseType=c;this.T=t;this.B=h}; +S3d=function(N){N.Y8()===N.yF.length-1&&KA("Unexpected skip with target requested during the last sublayout")}; +Pbh=function(N){var H=null,c="Your browser doesn't support changing the volume. $BEGIN_LINKLearn More$END_LINK".split(/\$(BEGIN|END)_LINK/);H=new g.Gv(N.J,{W:"span",fq:["ytp-popup","ytp-generic-popup"],V:{tabindex:"0"},X:[c[0],{W:"a",V:{href:"https://support.google.com/youtube/?p=noaudio",target:N.J.D().TW},Wp:c[2]},c[4]]},100,!0);g.l(N,H);H.hide();H.subscribe("show",function(t){N.J.qr(H,t)}); +g.aG(N.J,H.element,4)}; +USe=function(){var N,H;return{M9:new R3(function(c,t){N=c;H=t}), +resolve:N,reject:H}}; +Lih=function(N,H,c,t,h,O){if(!O)for(H=g.K(H),O=H.next();!O.done;O=H.next())O=O.value,o3(N,O.renderer,O.config.adPlacementConfig.kind);N=Array.from(N.values()).filter(function(W){return XfD(W)}); +H=[];O=g.K(N);for(var F=O.next(),M={};!F.done;M={Ag:void 0},F=O.next()){M.Ag=F.value;F=g.K(M.Ag.le);for(var f=F.next(),d={};!f.done;d={FS:void 0},f=F.next())d.FS=f.value,f=function(W,z){return function(E){return W.FS.Eg(E,z.Ag.instreamVideoAdRenderer.elementId,W.FS.O6)}}(d,M),d.FS.isContentVideoCompanion?H.push(SLR(c,t,h,M.Ag.instreamVideoAdRenderer.elementId,d.FS.associatedCompositePlayerBytesLayoutId,d.FS.adSlotLoggingData,f)):N.length>1?H.push(VBR(c,t,h,M.Ag.instreamVideoAdRenderer.elementId,d.FS.adSlotLoggingData, +function(W,z){return function(E){return W.FS.Eg(E,z.Ag.instreamVideoAdRenderer.elementId,W.FS.O6,W.FS.associatedCompositePlayerBytesLayoutId)}}(d,M))):H.push(VBR(c,t,h,M.Ag.instreamVideoAdRenderer.elementId,d.FS.adSlotLoggingData,f))}return H}; +Zev=function(N,H){k8(N,2,H.ow);k8(N,5,H.encryptedClientKey);k8(N,6,H.iv);k8(N,7,H.zl);I3(N,10,H.bCT);I3(N,13,H.Wk);I3(N,14,H.Ue);k8(N,16,H.y9q);I3(N,17,H.Ll_)}; +Y3l=function(N,H,c,t,h,O){this.callback=N;this.slot=H;this.layout=c;this.L=t;this.T=h;this.B=O}; +bs=function(){return g.$b("smart-tv")&&g.$b("samsung")}; +RO=function(N){return cJ(N).then(function(H){return H?new NU(N,H):null})}; +HU=function(N,H,c,t,h,O,F,M){this.callback=N;this.slot=H;this.layout=c;this.k_=t;this.Pp=h;this.Rx=O;this.r_=F;this.ea=M;this.T=!1;N=lQ(c.clientMetadata,"metadata_type_ad_placement_config");this.Fg=new sd(c.S1,this.Pp,N,c.layoutId)}; +A0R=function(N,H,c,t,h,O){return H.Nj&&H.kG&&c===3?new ia(N,H,t,h,O):null}; +cU=function(N,H){var c=new g.Ft(H);(H=c.get("req_id"))&&N.set("req_id",H);g.tH(N.T,function(t,h){c["set"](h,null)}); +return c}; +xW=function(N){if(!I0(N)&&bN(N,N.hF[A8]|0))throw Error();}; +vGh=function(N,H){if(!tD(N))throw Error("IndexedDB is not supported: updateRequestHandlers");var c=H.options.onError?H.options.onError:function(){}; +H.options.onError=function(h,O){var F,M,f,d;return g.Y(function(W){switch(W.T){case 1:F=a6v(O);(M=evs(O))&&N.M4&&N.M4("web_enable_error_204")&&N.handleError(Error("Request failed due to compression"),H.url,O);if(!(N.M4&&N.M4("nwl_consider_error_code")&&F||N.M4&&!N.M4("nwl_consider_error_code")&&N.potentialEsfErrorCounter<=N.O7)){W.rE(2);break}if(!N.Np.nM){W.rE(3);break}return g.a(W,N.Np.nM(),3);case 3:if(N.Np.kP()){W.rE(2);break}c(h,O);if(!N.M4||!N.M4("nwl_consider_error_code")||((f=H)==null?void 0: +f.id)===void 0){W.rE(6);break}return g.a(W,N.je.Sq(H.id,N.yL,!1),6);case 6:return W.return();case 2:if(N.M4&&N.M4("nwl_consider_error_code")&&!F&&N.potentialEsfErrorCounter>N.O7)return W.return();N.potentialEsfErrorCounter++;if(((d=H)==null?void 0:d.id)===void 0){W.rE(8);break}return H.sendCountN.gy-262?N.cO-(N.gy-262):0,M=N.window,f=N.pn,d=N.Sn,W=N.cO+258,z=M[t+h-1],E=M[t+h];N.JU>=N.EO&&(c>>=2);O>N.sF&&(O=N.sF);do{var x=H;if(M[x+h]===E&&M[x+h-1]===z&&M[x]===M[t]&&M[++x]===M[t+1]){t+=2;for(x++;M[++t]===M[++x]&&M[++t]===M[++x]&&M[++t]===M[++x]&&M[++t]===M[++x]&&M[++t]===M[++x]&&M[++t]===M[++x]&&M[++t]===M[++x]&&M[++t]===M[++x]&&th){N.cD=H;h=x;if(x>=O)break;z=M[t+h-1];E=M[t+h]}}}while((H=d[H&f])>F&&--c!== +0);return h<=N.sF?h:N.sF}; +RvL=function(N,H,c){if(N.TW.length)for(var t=g.K(N.TW),h=t.next(),O={};!h.done;O={iQ:void 0},h=t.next()){O.iQ=h.value;h=O.iQ.startSecs*1E3;var F=O.iQ.C6*1E3+h;if(H>h&&Hh&&c0?O[h-1]+1:0,t+1).reduce(function(F,M){return F+M},0)})}; +H6s=function(N){var H=globalThis.sessionStorage.getItem("iU5q-!O9@$");if(!H)return new QT(N);var c=H.split(",");if(c.length<2)return globalThis.sessionStorage.removeItem("iU5q-!O9@$"),new QT(N);H=c.slice(1);H.length===1&&H[0]===""&&(H=[]);c=Number(c[0]);return isNaN(c)||c<0||c>H.length?(globalThis.sessionStorage.removeItem("iU5q-!O9@$"),new QT(N)):new QT(N,c,H)}; +HQv=function(){var N=this;this.proc_exit=function(){}; +this.fd_write=function(H,c,t){if(!N.exports)return 1;H=new Uint32Array(N.exports.memory.buffer,c,t*2);c=[];for(var h=0;hc.duration?t:c},{duration:0}))&&H.startTime>0&&H.responseEnd>0&&(VT("wffs",L5(H.startTime)),VT("wffe",L5(H.responseEnd)))}; +Oiw=function(N,H,c){c=c===void 0?{}:c;var t=N.Y||N.app.x_().getPlayerState();Zt(N,!0);H=isFinite(H)?H:N.T.e$();var h=Yr(N,H);H=h.Vv;var O=(h=h.ra)&&!Q3(N,h)||!h&&N.T!==N.app.x_(),F=H*1E3;F=N.L&&N.L.start<=F&&F<=N.L.end;!O&&F||AD(N);h?cVt(N,h,H,c,t):av(N,H,c,t,"_execute")}; +tal=function(N){var H;return(N==null?void 0:(H=N.adSlotMetadata)==null?void 0:H.slotType)==="SLOT_TYPE_IN_PLAYER"}; +hel=function(N){N=N.B;return N.requestAnimationFrame||N.webkitRequestAnimationFrame||N.mozRequestAnimationFrame||N.oRequestAnimationFrame||N.msRequestAnimationFrame||null}; +va=function(N,H){g.tH(H,function(c,t){t=="style"?N.style.cssText=c:t=="class"?N.className=c:t=="for"?N.htmlFor=c:OQl.hasOwnProperty(t)?N.setAttribute(OQl[t],c):eD(t,"aria-")||eD(t,"data-")?N.setAttribute(t,c):N[t]=c})}; +g.Xy=function(N,H,c){N.Y=H;c!=void 0&&(N.S=c)}; +nK=function(N){return N.T0==="1"||N.T0==="1h"||J$&&N.T0==="1e"}; +fu=function(N,H,c){this.B=N;this.U=H;this.fields=c||[];this.T=new Map}; +BU=function(N){N.B.startTime=N.L;N.B.endTime=N.T;var H=!1;N.segments.length&&g.vU(N.segments).isEmpty()?(N.segments[N.segments.length-1].previouslyEnded&&(N.B.previouslyEnded=!0),N.segments[N.segments.length-1]=N.B,H=!0):N.segments.length&&N.B.isEmpty()||(N.segments.push(N.B),H=!0);H?N.B.endTime===0&&(N.previouslyEnded=!1):N.B.previouslyEnded&&(N.previouslyEnded=!0);N.S+=N.T-N.L;N.B=sH(N.provider);N.B.previouslyEnded=N.previouslyEnded;N.provider.j.Zp().T.G0(FQ3)&&JSON.stringify(N.B);N.previouslyEnded= +!1;N.L=N.T}; +$JS=function(){var N=BV().L,H=yT>=0?UW()-yT:-1,c=gJ?UW()-GI:-1,t=Rv>=0?UW()-Rv:-1;if(N==947190542)return 100;if(N==79463069)return 200;N=[2E3,4E3];var h=[250,500,1E3];ov(637,Error(),.001);var O=H;c!=-1&&c1500&&t<4E3?500:F}; +kr=function(N,H,c){if(!isNaN(c.yV)){var t=c.yV;c.B0&&c.push(g.Ch("BR"));c.push(g.jz(O))}):c.push(g.jz(t))}return c}; +H7=function(N,H,c,t,h,O,F,M,f){h?Cg(N,h).le.push({h9_:H,BI:c,isContentVideoCompanion:t,O6:F,associatedCompositePlayerBytesLayoutId:O,adSlotLoggingData:M,Eg:f}):KA("Companion AdPlacementSupportedRenderer without adVideoId")}; +Mk=function(N,H){return N.T.has(H)}; +Ii=function(N,H,c,t,h){g.L.call(this);var O=this;this.B=N;this.kO=H;this.k_=c;this.ea=t;this.context=h;this.AY=!0;this.tF=new Map;this.T=new Set;c.get().addListener(this);this.addOnDisposeCallback(function(){c.uo()||c.get().removeListener(O)})}; +gY=function(N){return N.Xg?N.isLowLatencyLiveStream&&N.T!=null&&Qv(N.T)>=5:N.isLowLatencyLiveStream&&N.T!=void 0&&Qv(N.T)>=5}; +WQd=function(N){for(var H in N)return N[H]}; +xJ3=function(N,H){var c=null,t=N.text;H&&(t=zew(t)||t);N.bold&&(c=sa("B",null,c||t));N.italics&&(c=sa("I",null,c||t));N.strikethrough&&(c=sa("STRIKE",null,c||t));N.navigationEndpoint&&g.P(N.navigationEndpoint,g.iF)&&(H=g.P(N.navigationEndpoint,g.iF),c=sa("A",null,c||t),g.eV(c,H.url),H.target=="TARGET_NEW_WINDOW"&&(c.target="_blank"),N=N.navigationEndpoint.loggingUrls)&&(N=N.map(function(h){return h.baseUrl}),EUD().register(c,N),g.bV(c,"ytp-ad-has-logging-urls")); +return c||sa("SPAN",null,t)}; +J8=function(N){return g.NA("ytcsi."+(N||"")+"data_")||qyR(N)}; +CWS=function(N){var H=N.api.getRootNode();if(g.y(N.api.getPlayerStateObject(),256)||g.y(N.api.getPlayerStateObject(),32)||g.y(N.api.getPlayerStateObject(),16))var c=N.C;else if(N.Cq&&N.api.getPlayerStateObject().isPaused()){var t;c=(((t=N.S)==null?void 0:t.element.clientWidth)||0)*.5625/3*N.gE||N.ox}else c=N.ox;N.C=c;H.style.setProperty("--ytp-grid-peek-height",N.C+"px");g.QH(H,"ytp-disable-bottom-gradient",N.C<=12&&N.Y===0)}; +g.c7=function(N,H){switch(H.kind){case "asr":lOZ(H,N.B);break;default:lOZ(H,N.T)}}; +yKl=function(N,H){H.jC&&N.jC.push.apply(N.jC,H.jC);H.U9&&N.U9.push.apply(N.U9,H.U9)}; +KQy=function(N){N=["object"==typeof globalThis&&globalThis,N,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var H=0;H=2&&(N.slot_pos=H.adPodIndex);N.autoplay="1"}; +g.iT=function(N){function H(h){if(t.state.status==="PENDING"){t.state={status:"FULFILLED",value:h};h=g.K(t.T);for(var O=h.next();!O.done;O=h.next())O=O.value,O()}} +function c(h){if(t.state.status==="PENDING"){t.state={status:"REJECTED",reason:h};h=g.K(t.B);for(var O=h.next();!O.done;O=h.next())O=O.value,O()}} +var t=this;this.state={status:"PENDING"};this.T=[];this.B=[];N=N.T;try{N(H,c)}catch(h){c(h)}}; +xY=function(N){w9.call(this,N)}; +gUt=function(){return zL("Android")&&!($l()||TV()||jA()||zL("Silk"))}; +Md=function(N){N=rVv(N);return N===null?!1:N[0]==="com"&&N[1].match(/^youtube(?:kids|-nocookie)?$/)?!0:!1}; +mJ3=function(N){this.T=N}; +wBw=function(N){var H=N.api.getVideoData();N.button.a4(H.qC)}; +E9=function(N){N&&(N.startsWith("https://accounts.google.com/AddSession")?fx():N.startsWith("https://accounts.google.com/ServiceLogin")?fx():N.startsWith("https://myaccount.google.com")&&g.BR(N).B.endsWith("/youtubeoptions")&&fx());if(g.YI("LOGGED_IN",!0)&&DJv()){var H=g.YI("VALID_SESSION_TEMPDATA_DOMAINS",[]);var c=g.dD(window.location.href);c&&H.push(c);c=g.dD(N);g.O7(H,c)||!c&&eD(N,"/")?(H=fM(N),(H=Qyh(H))?(H=pBw(H),H=(H=g.W7(H)||null)?OC(H):{}):H=null):H=null;H==null&&(H={});c=H;var t=void 0; +DJv()?(t||(t=g.YI("LOGIN_INFO")),t?(c.session_logininfo=t,c=!0):c=!1):c=!1;c&&zV(N,H)}}; +uVt=function(N){N.S=0;N.T="hidden";N.B=void 0;N.U=void 0;N.Y.stop();N.L=void 0}; +ic=function(N){this.T=N}; +g.Cx=function(N,H,c,t,h,O,F){h=h===void 0?"":h;O=O===void 0?!1:O;F=F===void 0?!1:F;if(N)if(c&&!g.Iu())Uf(new g.ti("Legacy referrer-scrubbed ping detected")),N&&JVv(N,void 0,{scrubReferrer:!0});else if(h)xl(N,H,"POST",h,t);else if(g.YI("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||t||F)xl(N,H,"GET","",t,void 0,O,F);else{b:{try{c:{var M=new nUv({url:N});if(M.T.dsh==="1")var f=null;else{var d=M.T.ae;if(d==="1"){var W=M.T.adurl;if(W)try{f={version:3,Au:decodeURIComponent(W),MD:qd(M.B,"act=1","ri=1",JiL(M))}; +break c}catch(x){}}f=d==="2"?{version:4,Au:qd(M.B,"dct=1","suid="+M.L,"ri=1"),MD:qd(M.B,"act=1","ri=1","suid="+M.L)}:null}}if(f){var z=Cv(N);var E=!(!z||!z.endsWith("/aclk")||mk(N,"ri")!=="1");break b}}catch(x){}E=!1}E?Syt(N)?(H&&H(),c=!0):c=!1:c=!1;c||JVv(N,H)}}; +g.gD=function(N,H,c,t){g.L.call(this);var h=this;this.api=N;this.j=H;this.playback=c;this.app=t;this.Us=new g.lF;this.B=new Map;this.Uu=new Map;this.NT=new Map;this.Cq=null;this.C4=NaN;this.WO=this.kG=null;this.mG=new g.kT(function(){PWd(h,h.C4,h.kG||void 0)}); +this.events=new g.Ww(this);this.Al=15E3;this.C=new g.kT(function(){h.Z=!0;h.playback.Yq(h.Al);Kx(h);if(h.playback.getVideoData().vH()){var O;h.EF({togab:(O=h.Y)==null?void 0:O.identifier})}h.bN(!1)},this.Al); +this.Z=!1;this.S=new Map;this.Xg=[];this.Y=null;this.Oc=new Set;this.TW=[];this.Kq=[];this.bX=[];this.T3=[];this.vp=new Set;this.zr=0;this.Bp=!1;this.mz=new Set;this.AN=new Set;this.qc=new Set;this.UF=new Set;this.S_=this.WJ=0;this.Fj=this.n4=!1;this.aW=this.L="";this.ox=null;this.logger=new g.mE("dai");this.LG="";this.zW=!0;this.gE=new Map;this.Dt=new Map;this.Br={wea:function(){return h.B}, +vc:function(){return h.T.Br.vc()}, +Rll:function(){return h.L}, +jEq:function(O){h.onCueRangeEnter(h.B.get(O))}, +x3W:function(O){h.onCueRangeExit(h.B.get(O))}, +NiR:function(O,F){h.B.set(O,F)}, +fio:function(O){h.aW=O}, +hI:function(){return h.hI()}, +i1l:function(O){return h.T.T.get(O)}, +lbR:function(){return h.ox}, +V2:function(){return h.T.Br.V2()}, +On:function(O,F){h.On(O,F)}, +JAs:function(){return h.Uu}, +m1:function(O){h.m1(O)}}; +this.playback.getPlayerType();this.T=new t0(this.j);this.playback.BP(this);this.w_=this.j.vO();g.l(this,this.mG);g.l(this,this.events);g.l(this,this.C);this.gk=this.j.N("html5_use_new_ssdai_transition_detector");this.G7=this.playback.getVideoData().cY;this.gk?this.playback.subscribe("playbackstarted",this.On,this):(this.events.G(this.api,g.dm("serverstitchedcuerange"),this.onCueRangeEnter),this.events.G(this.api,g.WX("serverstitchedcuerange"),this.onCueRangeExit));this.Jj=this.j.N("html5_ssdai_report_stitch_error_after_skip_ad"); +tu(this.app.z6(),this.playback,!1)}; +rD=function(N){var H;N=Ud((H=N.serializedClientExperimentFlags)!=null?H:"","&");this.flags=new Map(Object.entries(N).map(function(c){var t=g.K(c);c=t.next().value;t=t.next().value;return typeof t==="string"?[c,t]:[c,t[0]]}))}; +wQt=function(N){try{var H=cAh(N,!0),c=cAh(N,!1);return{id:H,size:c}}catch(t){return{id:-1,size:-1}}}; +UJf=function(){return{W:"svg",V:{fill:"none",height:"36",viewBox:"0 0 36 36",width:"36"},X:[{W:"path",V:{d:"M 12.75 4.5 L 9.75 4.5 C 9.15 4.5 8.58 4.73 8.15 5.15 C 7.73 5.58 7.5 6.15 7.5 6.75 L 7.5 29.25 C 7.5 29.84 7.73 30.41 8.15 30.84 C 8.58 31.26 9.15 31.5 9.75 31.5 L 12.75 31.5 C 13.34 31.5 13.91 31.26 14.34 30.84 C 14.76 30.41 15 29.84 15 29.25 L 15 6.75 C 15 6.15 14.76 5.58 14.34 5.15 C 13.91 4.73 13.34 4.5 12.75 4.5 Z M 26.25 4.5 L 23.25 4.5 C 22.65 4.5 22.08 4.73 21.65 5.15 C 21.23 5.58 21 6.15 21 6.75 V 29.25 C 21 29.84 21.23 30.41 21.65 30.84 C 22.08 31.26 22.65 31.5 23.25 31.5 L 26.25 31.5 C 26.84 31.5 27.41 31.26 27.84 30.84 C 28.26 30.41 28.5 29.84 28.5 29.25 V 6.75 L 28.5 6.75 C 28.5 6.15 28.26 5.58 27.84 5.15 C 27.41 4.73 26.84 4.5 26.25 4.5 Z", +fill:"white"}}]}}; +mp=function(){throw Error("Invalid UTF8");}; +XBv=function(N,H,c,t){var h=(t=t===void 0?!1:t)?16:8;t=wD({cttAuthInfo:DK(H)||void 0,endOfSequence:t,automatedLogEventSource:void 0},H);c={csn:H,ve:c.getAsJson(),eventType:h};H==="UNDEFINED_CSN"?QW("visualElementHidden",t,c):N?px("visualElementHidden",c,N,t):g.uF("visualElementHidden",c,t)}; +Iv=function(N,H){throw Error(H===void 0?"unexpected value "+N+"!":H);}; +g.Q2=function(N){var H={client:{hl:N.rV,gl:N.I5,clientName:N.Ei,clientVersion:N.innertubeContextClientVersion,configInfo:N.g8}};navigator.userAgent&&(H.client.userAgent=String(navigator.userAgent));var c=g.di.devicePixelRatio;c&&c!=1&&(H.client.screenDensityFloat=String(c));c=J2();c!==""&&(H.client.experimentsToken=c);c=nx();c.length>0&&(H.request={internalExperimentFlags:c});Pww(N,void 0,H);Vaw(void 0,H);LQy(void 0,H);ZQs(N,void 0,H);JvL(void 0,H);g.sf("start_client_gcf")&&Yyf(void 0,H);g.YI("DELEGATED_SESSION_ID")&& +!g.sf("pageid_as_header_web")&&(H.user={onBehalfOfUser:g.YI("DELEGATED_SESSION_ID")});!g.sf("fill_delegate_context_in_gel_killswitch")&&(N=g.YI("INNERTUBE_CONTEXT_SERIALIZED_DELEGATION_CONTEXT"))&&(H.user=Object.assign({},H.user,{serializedDelegationContext:N}));N=g.YI("INNERTUBE_CONTEXT");var t;if(g.sf("enable_persistent_device_token")&&(N==null?0:(t=N.client)==null?0:t.rolloutToken)){var h;H.client.rolloutToken=N==null?void 0:(h=N.client)==null?void 0:h.rolloutToken}t=Object;h=t.assign;N=H.client; +c={};for(var O=g.K(Object.entries(OC(g.YI("DEVICE","")))),F=O.next();!F.done;F=O.next()){var M=g.K(F.value);F=M.next().value;M=M.next().value;F==="cbrand"?c.deviceMake=M:F==="cmodel"?c.deviceModel=M:F==="cbr"?c.browserName=M:F==="cbrver"?c.browserVersion=M:F==="cos"?c.osName=M:F==="cosver"?c.osVersion=M:F==="cplatform"&&(c.platform=M)}H.client=h.call(t,N,c);return H}; +SA=function(N,H,c,t,h){IN.call(this,N,H,c,t,"survey-question-single-select",function(F){O.api.D().N("supports_multi_step_on_desktop")&&h([F])}); +var O=this;this.hide()}; +XI=function(){return(P7||U9)&&g.$b("applewebkit")&&!g.$b("version")&&(!g.$b("safari")||g.$b("gsa/"))}; +VW=function(){return g.$b("android")&&g.$b("chrome")&&!(g.$b("trident/")||g.$b("edge/"))&&!g.$b("cobalt")}; +Fh=function(){return g.pB("yt-player-performance-cap")||{}}; +Lx=function(N,H){this.info=N;this.callback=H;this.state=1;this.d5=this.Lk=!1;this.Ie=null}; +ZK=function(N,H,c,t){var h=h===void 0?!1:h;c=aO(t,c);MN(N,H,c,{capture:h})}; +eq=function(N,H,c,t){g.xo.call(this);this.callback=N;this.L=t;this.T=[];this.B=new AV3(N,H,c)}; +aOd=function(N){this.hF=oF(N)}; +A2=function(N,H){var c=g.NA("yt.logging.transport.enableScrapingForTest"),t=AO("il_payload_scraping");t=(t!==void 0?String(t):"")==="enable_il_payload_scraping";if(!c)if(t)Yl=[],g.Hw("yt.logging.transport.enableScrapingForTest",!0),g.Hw("yt.logging.transport.scrapedPayloadsForTesting",Yl),g.Hw("yt.logging.transport.payloadToScrape","visualElementShown visualElementHidden visualElementAttached screenCreated visualElementGestured visualElementStateChanged".split(" ")),g.Hw("yt.logging.transport.getScrapedPayloadFromClientEventsFunction"), +g.Hw("yt.logging.transport.scrapeClientEvent",!0);else return;c=g.NA("yt.logging.transport.scrapedPayloadsForTesting");t=g.NA("yt.logging.transport.payloadToScrape");H&&(H=H.payload,(H=g.NA("yt.logging.transport.getScrapedPayloadFromClientEventsFunction").bind(H)())&&c.push(H));H=g.NA("yt.logging.transport.scrapeClientEvent");if(t&&t.length>=1)for(var h=0;h>16,(N&65280)>>8,N&255];N=H[0];var c=H[1];H=H[2];N=Number(N);c=Number(c);H=Number(H);if(N!=(N&255)||c!=(c&255)||H!=(H&255))throw Error('"('+N+","+c+","+H+'") is not a valid RGB color');c=N<<16|c<<8|H;return N<16?"#"+(16777216|c).toString(16).slice(1):"#"+c.toString(16)}; +vUd=function(N,H){N.settingsButton=H;N.element.id=H.element.getAttribute("aria-controls")}; +syt=function(){var N=null;try{N=g.di.sessionStorage||null}catch(H){}s9.call(this,N)}; +GV=function(N){var H=N;if(B7(H)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(H))throw Error(String(H));}else if(BJs(H)&&!Number.isSafeInteger(H))throw Error(String(H));return yW?BigInt(N):N=yVs(N)?N?"1":"0":B7(N)?N.trim()||"0":String(N)}; +oZ=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x,q,r,w,n){RZ.call(this,N,H,c,t,h,O,F,M,d,W,z,E,x,q,r,w,n);var p=this;this.Mi=f;this.q_=z;this.Gs=!0;this.FM=this.kc=0;this.aK=W9(function(){G9v(hD(p));p.qF.AF(p.slot,p.layout)}); +this.gw=W9(function(){Ree(hD(p));p.ws!=="rendering_stop_requested"&&p.q_(p);p.layoutExitReason?p.qF.Pr(p.slot,p.layout,p.layoutExitReason):oUR(p)}); +this.timer=new g.ND(200);this.timer.listen("tick",function(){p.Dp()}); +g.l(this,this.timer)}; +g.bF=function(N){var H=new kl(new eB([m6(decodeURIComponent(N))]));N=fB(H,2);H=IZ(H,4);var c=k9S[H];if(typeof c==="undefined")throw N=new g.ti("Failed to recognize field number",{name:"EntityKeyHelperError",fieldNumber:H}),g.BZ(N),N;return{Iw:H,entityType:c,entityId:N}}; +Hn=function(N,H,c,t,h,O,F,M){var f;(N-1^9)>=N&&N-5<<1=28&&(c=(c%H[T[2]]+H[T[2]])%H[T[2]],H[T[22]](c,1));if((N>>2&7)>=3&&(N-5&4)<2){var d=H[T[42]](T[16]);N_[T[13]](d,45);N_[T[48]](d,28);N_[T[13]](d,41);N_[T[86]](d,1);f=d[T[53]](T[16])}return f}; +IOv=function(N,H){var c=N.subarray(4);c=new Uint16Array(c.buffer,c.byteOffset,c.byteLength/2);c=String.fromCharCode.apply(null,c).match(/ek=([0-9a-f]+)/)[1];for(var t="",h=0;h2147483647?"0":String(N)}; +hRR=function(N,H,c,t,h,O,F,M,f,d){H=D8(N,H,c,t,O,new Map,F,function(W){return M(W,f)},void 0,$M(N,c,h.layoutId,"createSubLayoutVodSkippableMediaBreakLayoutForVodSurvey")); +N=new Kc(N.T,H.qb);c=new Ls(H.qb);d=new hG(d);return{C2:{layoutId:H.layoutId,layoutType:H.layoutType,S1:H.S1,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],Hp:H.Hp,clientMetadata:new xd([].concat(g.HE(H.Q3),[c,d])),z0:H.z0,adLayoutLoggingData:H.adLayoutLoggingData},x3:H.layoutExitSkipTriggers,N0:H.layoutExitMuteTriggers,MR:[].concat(g.HE(H.layoutExitUserInputSubmittedTriggers),[N]),A6:H.layoutExitUserCancelledTriggers, +z7:H.z7}}; +T5=function(N,H,c){var t=this;this.policy=N;this.T=H;this.NT=c;this.U=this.B=0;this.QL=null;this.Bp=new Set;this.TW=[];this.indexRange=this.initRange=null;this.Z=new M9;this.Us=this.ox=!1;this.Br={ndi:function(){return t.L}, +IQf:function(){return t.chunkSize}, +Uv_:function(){return t.C}, +Lbs:function(){return t.Y}}; +(H=OUe(this))?(this.chunkSize=H.csz,this.L=Math.floor(H.clen/H.csz),this.C=H.ck,this.Y=H.civ):(this.chunkSize=N.xV,this.L=0,this.C=g.Xj(16),this.Y=g.Xj(16));this.S=new Uint8Array(this.chunkSize);this.C&&this.Y&&(this.crypto=new F8h(this.C,this.Y))}; +$xe=function(N,H,c){N.T="The stream is broken @"+N.B+". Error: "+c+". With input:\n"+H;throw Error(N.T);}; +jNR=function(N,H){g.rK(N.B,H,function(c,t){return c.gs===t.gs?c.durationMs-t.durationMs:c.gs-t.gs}); +N.L.set(H.cpn,H);H.vr&&!N.S&&N.U.set(H.vr,H);H.EN&&Tud(N,H.EN,H)}; +MQv=function(N){var H=VW()&&jj()>=67&&!N.api.D().C;N=N.api.D().disableOrganicUi;return!g.$b("tizen")&&!M_&&!H&&!N}; +rh=function(N,H,c,t,h,O,F){var M;(N>>1&15)==2&&(M=c(h,O,F));if((N&120)==N){var f=H[c],d=f[T[43]](T[23]);d>0?fN(3,t,f[T[4]](0,d),f[T[4]](d+1)):f&&(t[f]=T[16]);M=[]}(N-3&11)==3&&(M=H!==null);if((N>>2&15)>=13&&(N^55)>>5<4){f=H[T[42]](T[65]);d=0;f[0]||d++;for(var W={};ddxf||F0;)switch(H=sW.shift(),H.type){case "ERROR":v5.vZ(H.payload);break;case "EVENT":v5.logEvent(H.eventType,H.payload)}}); +wl(this.api,"queueOfflineAction",this.queueOfflineAction.bind(this));wl(this.api,"updateDownloadState",this.updateDownloadState.bind(this));wl(this.api,"pauseVideoDownload",this.pauseVideoDownload.bind(this));wl(this.api,"resumeVideoDownload",this.resumeVideoDownload.bind(this));wl(this.api,"isOrchestrationLeader",this.isOrchestrationLeader.bind(this));wl(this.api,"refreshAllStaleEntities",this.refreshAllStaleEntities.bind(this));wl(this.api,"setUpPositionSyncInterval",this.setUpPositionSyncInterval.bind(this))}; +dNe=function(){return{W:"svg",V:{fill:"#fff",height:"100%",version:"1.1",viewBox:"0 0 48 48",width:"100%"},X:[{W:"path",V:{d:"M0 0h48v48H0z",fill:"none"}},{W:"path",V:{d:"M22 34h4V22h-4v12zm2-30C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16zm-2-22h4v-4h-4v4z"}}]}}; +Od=function(){}; +AC=function(N){var H=N.N("html5_enable_sabr_on_drive")&&N.Es.Bp==="gd";if(N.Qo)return N.Si&&N.Lq("fds",{fds:!0},!0),!1;if(N.Es.Bp!=="yt"&&!H)return N.Si&&N.Lq("dsvn",{ns:N.Es.Bp},!0),!1;if(N.cotn||!N.T||N.T.isOtf&&!N.N("html5_enable_sabr_otf_in_client")||N.L&&!N.L.T||N.RP&&!N.N("html5_enable_sabr_csdai"))return!1;if(N.N("html5_use_sabr_requests_for_debugging"))return!0;N.Si&&N.Lq("esfw",{usbc:N.Si,hsu:!!N.n0},!0);if(N.Si&&N.n0)return!0;if(N.N("html5_remove_client_sabr_determination"))return!1;var c= +!N.T.K4&&!N.f2();H=c&&km&&N.N("html5_enable_sabr_vod_streaming_xhr");c=c&&!km&&N.N("html5_enable_sabr_vod_non_streaming_xhr");var t=mc(N),h=N.N("html5_enable_sabr_drm_vod_streaming_xhr")&&km&&N.f2()&&!N.T.K4&&(N.drmProduct==="1"?!1:!0);(H=H||c||t||h)&&!N.n0&&N.Lq("sabr",{loc:"m"},!0);return H&&!!N.n0}; +DC=function(N){g.L.call(this);this.wE=N;this.T=0;this.B=null;this.Y=this.U=0;this.L={};this.j=this.wE.D();this.S=new g.kT(this.Ec,1E3,this);this.Xg=wM(this,"html5_seek_timeout_delay_ms");this.ox=wM(this,"html5_long_rebuffer_threshold_ms");this.w_=wM(this,"html5_seek_set_cmt_delay_ms","html5_seek_set_cmt_cfl");this.Cq=wM(this,"html5_seek_jiggle_cmt_delay_ms","html5_seek_jiggle_cmt_cfl");this.Kq=wM(this,"html5_seek_new_elem_delay_ms","html5_seek_new_elem_cfl");this.C4=wM(this,"html5_unreported_seek_reseek_delay_ms", +"html5_unreported_seek_reseek_cfl");this.Bp=wM(this,"html5_long_rebuffer_jiggle_cmt_delay_ms","html5_long_rebuffer_jiggle_cmt_cfl");this.Us=new bn(2E4);this.gE=wM(this,"html5_seek_new_elem_shorts_delay_ms","html5_seek_new_elem_shorts_cfl");this.zW=wM(this,"html5_seek_new_media_source_shorts_reuse_delay_ms","html5_seek_new_media_source_shorts_reuse_cfl");this.vp=wM(this,"html5_seek_new_media_element_shorts_reuse_delay_ms","html5_seek_new_media_element_shorts_reuse_cfl");this.Ix=wM(this,"html5_reseek_after_time_jump_delay_ms", +"html5_reseek_after_time_jump_cfl");this.Z=wM(this,"html5_gapless_handoff_close_end_long_rebuffer_delay_ms","html5_gapless_handoff_close_end_long_rebuffer_cfl");this.TW=wM(this,"html5_gapless_slow_seek_delay_ms","html5_gapless_slow_seek_cfl");this.Al=wM(this,"html5_shorts_gapless_ad_slow_start_delay_ms","html5_shorts_gapless_ad_slow_start_cfl");this.UF=wM(this,"html5_shorts_gapless_slow_start_delay_ms","html5_shorts_gapless_slow_start_cfl");this.C=wM(this,"html5_ads_preroll_lock_timeout_delay_ms", +"html5_ads_preroll_lock_timeout_cfl");this.WO=new bn(g.Mx(this.j.experiments,"html5_skip_slow_ad_delay_ms")||5E3,!this.j.N("html5_report_slow_ads_as_error"));this.mG=new bn(g.Mx(this.j.experiments,"html5_skip_slow_ad_delay_ms")||5E3,!this.j.N("html5_skip_slow_buffering_ad"));this.kG=wM(this,"html5_slow_start_timeout_delay_ms");this.NT=wM(this,"html5_slow_start_no_media_source_delay_ms","html5_slow_start_no_media_source_cfl");g.l(this,this.S)}; +wgZ=function(N){var H=window;H.ywc&&delete H.ywc[N]}; +bc=function(){var N=/\sCobalt\/(\S+)\s/.exec(g.tA());if(!N)return NaN;var H=[];N=g.K(N[1].split("."));for(var c=N.next();!c.done;c=N.next())c=parseInt(c.value,10),c>=0&&H.push(c);return parseFloat(H.join("."))}; +g.ur=function(N){g.e.call(this,{W:"div",K:"ytp-more-videos-view",V:{tabIndex:"-1"}});var H=this;this.api=N;this.B=!0;this.L=new g.Ww(this);this.T=[];this.suggestionData=[];this.columns=this.containerWidth=this.C=this.U=this.scrollPosition=0;this.title=new g.e({W:"h2",K:"ytp-related-title",Wp:"{{title}}"});this.previous=new g.e({W:"button",fq:["ytp-button","ytp-previous"],V:{"aria-label":"Show previous suggested videos"},X:[g.Qm()]});this.Y=new g.zI(function(c){H.suggestions.element.scrollLeft=-c}); +this.next=new g.e({W:"button",fq:["ytp-button","ytp-next"],V:{"aria-label":"Show more suggested videos"},X:[g.pN()]});g.l(this,this.L);this.S=N.D().U;g.l(this,this.title);this.title.Jl(this.element);this.suggestions=new g.e({W:"div",K:"ytp-suggestions"});g.l(this,this.suggestions);this.suggestions.Jl(this.element);g.l(this,this.previous);this.previous.Jl(this.element);this.previous.listen("click",this.B8,this);g.l(this,this.Y);DxD(this);g.l(this,this.next);this.next.Jl(this.element);this.next.listen("click", +this.ih,this);this.L.G(this.api,"appresize",this.Mc);this.L.G(this.api,"fullscreentoggled",this.J2);this.L.G(this.api,"videodatachange",this.onVideoDataChange);this.Mc(this.api.BO().getPlayerSize());this.onVideoDataChange()}; +J7=function(N,H,c,t){t=t===void 0?0:t;var h;if(H!==N.Z||((h=N.B.get(H))==null?void 0:h.L)!==(c==null?void 0:c.L))if(c?N.B.set(H,c):N.B.delete(H),!N.isSeeking){var O=N.U.getStartTime(H);N.Z=H;QNl(N,H);if(c){var F=O;c.T.forEach(function(M,f){F0||H>127;)N.T.push(H&127|128),H=(H>>>7|c<<25)>>>0,c>>>=7;N.T.push(H)}; +nN=function(N,H,c,t,h){J0.call(this,N,{W:"svg",K:"ytp-timed-pie-countdown",V:{viewBox:"0 0 20 20"},X:[{W:"circle",K:"ytp-timed-pie-countdown__background",V:{r:"10",cx:"10",cy:"10"}},{W:"circle",K:"ytp-timed-pie-countdown__inner",V:{r:"5",cx:"10",cy:"10"}},{W:"circle",K:"ytp-timed-pie-countdown__outer",V:{r:"10",cx:"10",cy:"10"}}]},"timed-pie-countdown",H,c,t,h);this.L=this.Sa("ytp-timed-pie-countdown__inner");this.B=Math.ceil(2*Math.PI*5);this.hide()}; +g.DY=function(N){if(!N||typeof N!=="object")return N;if(typeof N.clone==="function")return N.clone();if(typeof Map!=="undefined"&&N instanceof Map)return new Map(N);if(typeof Set!=="undefined"&&N instanceof Set)return new Set(N);if(N instanceof Date)return new Date(N.getTime());var H=Array.isArray(N)?[]:typeof ArrayBuffer!=="function"||typeof ArrayBuffer.isView!=="function"||!ArrayBuffer.isView(N)||N instanceof DataView?{}:new N.constructor(N.length),c;for(c in N)H[c]=g.DY(N[c]);return H}; +P3=function(N,H){Sj.call(this,N,H);this.WO=this.C4=!1;this.gE=this.ox=Infinity;this.Kq=NaN;this.mG=!1;this.w_=NaN;this.n4=this.vp=this.zW=0;this.Sy=H.Sy||1;this.Nn=H.Nn||this.Sy;this.SV=H.SV;this.Y_=H.Y_;this.Io=H.Io;K8v(this);this.hT(this.T);this.Dt=(this.w_-this.T)/1E3}; +RRt=function(N,H,c,t,h,O,F,M,f,d,W,z){function E(p){return q5(N.Uy.get(),p)} +var x=c.renderer,q=c.config.adPlacementConfig,r=q.kind,w=c.adSlotLoggingData,n=M.Q6&&r==="AD_PLACEMENT_KIND_START";n=O&&!n;if(x.adsEngagementPanelRenderer!=null)return H7(H,c.elementId,r,x.adsEngagementPanelRenderer.isContentVideoEngagementPanel,x.adsEngagementPanelRenderer.adVideoId,x.adsEngagementPanelRenderer.associatedCompositePlayerBytesLayoutId,q,w,function(p,U,X,A){var R=N.T.get(),v=p.slotId,Nf=x.adsEngagementPanelRenderer;p=q5(N.Uy.get(),p);return UD(R,v,"LAYOUT_TYPE_PANEL_TEXT_ICON_IMAGE_TILES_BUTTON", +new wn(Nf),U,X,Nf.impressionPings,p,x.adsEngagementPanelRenderer.adLayoutLoggingData,A)}),[]; +if(x.adsEngagementPanelLayoutViewModel)return H7(H,c.elementId,r,x.adsEngagementPanelLayoutViewModel.isContentVideoEngagementPanel,x.adsEngagementPanelLayoutViewModel.adVideoId,x.adsEngagementPanelLayoutViewModel.associatedCompositePlayerBytesLayoutId,q,w,function(p,U,X,A){var R=N.T.get(),v=p.slotId,Nf=x.adsEngagementPanelLayoutViewModel;p=q5(N.Uy.get(),p);return Xg(R,v,"LAYOUT_TYPE_PANEL",new Vm(Nf),U,X,p,x.adsEngagementPanelLayoutViewModel.adLayoutLoggingData,A)}),[]; +if(x.actionCompanionAdRenderer!=null){if(x.actionCompanionAdRenderer.showWithoutLinkedMediaLayout)return ujw(N.B.get(),N.L,N.T.get(),x.actionCompanionAdRenderer,q,w,t,E);H7(H,c.elementId,r,x.actionCompanionAdRenderer.isContentVideoCompanion,x.actionCompanionAdRenderer.adVideoId,x.actionCompanionAdRenderer.associatedCompositePlayerBytesLayoutId,q,w,function(p,U,X,A){var R=N.T.get(),v=p.slotId,Nf=x.actionCompanionAdRenderer;p=q5(N.Uy.get(),p);return UD(R,v,"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON", +new yz(Nf),U,X,Nf.impressionPings,p,x.actionCompanionAdRenderer.adLayoutLoggingData,A)})}else if(x.topBannerImageTextIconButtonedLayoutViewModel!==void 0){if(x.topBannerImageTextIconButtonedLayoutViewModel.showWithoutLinkedMediaLayout)return Jyf(N.B.get(),N.L,N.T.get(),x.topBannerImageTextIconButtonedLayoutViewModel,q,w,t,E); +H7(H,c.elementId,r,x.topBannerImageTextIconButtonedLayoutViewModel.isContentVideoCompanion,x.topBannerImageTextIconButtonedLayoutViewModel.adVideoId,x.topBannerImageTextIconButtonedLayoutViewModel.associatedCompositePlayerBytesLayoutId,q,w,function(p,U,X,A){var R=N.T.get(),v=p.slotId,Nf=x.topBannerImageTextIconButtonedLayoutViewModel;p=q5(N.Uy.get(),p);return Xg(R,v,"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON",new LN(Nf),U,X,p,x.topBannerImageTextIconButtonedLayoutViewModel.adLayoutLoggingData,A)})}else if(x.imageCompanionAdRenderer)H7(H, +c.elementId,r,x.imageCompanionAdRenderer.isContentVideoCompanion,x.imageCompanionAdRenderer.adVideoId,x.imageCompanionAdRenderer.associatedCompositePlayerBytesLayoutId,q,w,function(p,U,X,A){var R=N.T.get(),v=p.slotId,Nf=x.imageCompanionAdRenderer; +p=q5(N.Uy.get(),p);return UD(R,v,"LAYOUT_TYPE_COMPANION_WITH_IMAGE",new ZC(Nf),U,X,Nf.impressionPings,p,x.imageCompanionAdRenderer.adLayoutLoggingData,A)}); +else if(x.bannerImageLayoutViewModel)H7(H,c.elementId,r,x.bannerImageLayoutViewModel.isContentVideoCompanion,x.bannerImageLayoutViewModel.adVideoId,x.bannerImageLayoutViewModel.associatedCompositePlayerBytesLayoutId,q,w,function(p,U,X,A){var R=N.T.get(),v=p.slotId,Nf=x.bannerImageLayoutViewModel;p=q5(N.Uy.get(),p);return Xg(R,v,"LAYOUT_TYPE_COMPANION_WITH_IMAGE",new YM(Nf),U,X,p,x.bannerImageLayoutViewModel.adLayoutLoggingData,A)}); +else if(x.shoppingCompanionCarouselRenderer)H7(H,c.elementId,r,x.shoppingCompanionCarouselRenderer.isContentVideoCompanion,x.shoppingCompanionCarouselRenderer.adVideoId,x.shoppingCompanionCarouselRenderer.associatedCompositePlayerBytesLayoutId,q,w,function(p,U,X,A){var R=N.T.get(),v=p.slotId,Nf=x.shoppingCompanionCarouselRenderer;p=q5(N.Uy.get(),p);return UD(R,v,"LAYOUT_TYPE_COMPANION_WITH_SHOPPING",new A7(Nf),U,X,Nf.impressionPings,p,x.shoppingCompanionCarouselRenderer.adLayoutLoggingData,A)}); +else if(x.adBreakServiceRenderer){if(!nZe(c))return[];if(r==="AD_PLACEMENT_KIND_PAUSE")return Shh(N.B.get(),q,w,c.renderer.adBreakServiceRenderer,t);if(r!=="AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"&&r!=="AD_PLACEMENT_KIND_PREFETCH_TRIGGERED")return Pnd(N.B.get(),q,w,c.renderer.adBreakServiceRenderer,t,h,O);M.K4||KA("Received non-live cue point triggered AdBreakServiceRenderer",void 0,void 0,{kind:r,adPlacementConfig:q,daiEnabledForContentVideo:String(O),isServedFromLiveInfra:String(M.K4),clientPlaybackNonce:M.clientPlaybackNonce}); +if(r==="AD_PLACEMENT_KIND_PREFETCH_TRIGGERED"){if(!N.k_)return new S("Received AD_PLACEMENT_KIND_PREFETCH_TRIGGERED with no playerControlsApiProvider set for interface");if(!N.b2)return new S("Received AD_PLACEMENT_KIND_PREFETCH_TRIGGERED with no PrefetchTriggerAdapter set for interface");N.b2.DS({adPlacementRenderer:c,contentCpn:t,uR:h});h=N.k_.get().getCurrentTimeSec(1,!1);return UxR(N.B.get(),c.renderer.adBreakServiceRenderer,q,h,t,w,O)}if(!N.G6)return new S("Received AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED with no CuePointOpportunityAdapter set for interface"); +N.G6.DS({adPlacementRenderer:c,contentCpn:t,uR:h})}else{if(x.clientForecastingAdRenderer)return Xge(N.B.get(),N.T.get(),q,w,x.clientForecastingAdRenderer,t,h,E);if(x.invideoOverlayAdRenderer)return VQL(N.B.get(),N.T.get(),q,w,x.invideoOverlayAdRenderer,t,h,E);if(x.instreamAdPlayerOverlayRenderer)return L8y(N.B.get(),N.T.get(),q,w,x.instreamAdPlayerOverlayRenderer,t,E);if((x.linearAdSequenceRenderer||x.instreamVideoAdRenderer)&&n)return ZUt(N.B.get(),N.T.get(),c,t,E,d,!N.Rx.get().J.D().N("html5_override_ad_video_length_killswitch"), +z);if(x.linearAdSequenceRenderer&&!n){if(F)return[];o3(H,x,r);if(x.linearAdSequenceRenderer.adLayoutMetadata){if(!Yhf(x.linearAdSequenceRenderer))return new S("Received invalid LinearAdSequenceRenderer.")}else if(x.linearAdSequenceRenderer.linearAds==null)return new S("Received invalid LinearAdSequenceRenderer.");if(g.P(x.linearAdSequenceRenderer.adStart,mf)){KA("Found AdNotify in LinearAdSequenceRenderer");c=g.P(x.linearAdSequenceRenderer.adStart,mf);if(!AyL(c))return new S("Invalid AdMessageRenderer."); +O=x.linearAdSequenceRenderer.linearAds;return afs(N.U.get(),N.B.get(),N.T.get(),N.Uy.get(),q,w,c,Gf(x.linearAdSequenceRenderer.adLayoutMetadata)?x.linearAdSequenceRenderer.adLayoutMetadata:void 0,O,t,h,M,E,f,N.loadPolicy,N.Rx.get())}return eRL(N.B.get(),N.T.get(),q,w,x.linearAdSequenceRenderer.linearAds,Gf(x.linearAdSequenceRenderer.adLayoutMetadata)?x.linearAdSequenceRenderer.adLayoutMetadata:void 0,t,h,M,E,f,N.loadPolicy,N.Rx.get(),W)}if(!x.remoteSlotsRenderer||O){if(x.instreamVideoAdRenderer&& +!n){if(F)return[];o3(H,x,r);return vZZ(N.B.get(),N.T.get(),q,w,x.instreamVideoAdRenderer,t,h,M,E,f,N.loadPolicy,N.Rx.get(),N.Uy.get(),W)}if(x.instreamSurveyAdRenderer)return sNL(N.B.get(),N.T.get(),x.instreamSurveyAdRenderer,q,w,t,E,dy(N.Rx.get(),"supports_multi_step_on_desktop"));if(x.sandwichedLinearAdRenderer!=null)return BuR(x.sandwichedLinearAdRenderer)?g.P(x.sandwichedLinearAdRenderer.adVideoStart,mf)?(KA("Found AdNotify in SandwichedLinearAdRenderer"),c=g.P(x.sandwichedLinearAdRenderer.adVideoStart, +mf),AyL(c)?(O=g.P(x.sandwichedLinearAdRenderer.linearAd,QR))?yyw(c,O,q,N.U.get(),N.B.get(),N.T.get(),N.Uy.get(),w,t,h,M,E,f,N.loadPolicy,N.Rx.get()):new S("Missing IVAR from Sandwich"):new S("Invalid AdMessageRenderer.")):eRL(N.B.get(),N.T.get(),q,w,[x.sandwichedLinearAdRenderer.adVideoStart,x.sandwichedLinearAdRenderer.linearAd],void 0,t,h,M,E,f,N.loadPolicy,N.Rx.get()):new S("Received invalid SandwichedLinearAdRenderer.");if(x.videoAdTrackingRenderer!=null)return G_t(N.B.get(),N.T.get(),x.videoAdTrackingRenderer, +q,w,t,h,M.Tu,E)}}return[]}; +oZe=function(N){function H(){return N.charCodeAt(t++)} +var c=N.length,t=0;do{var h=aa(H);if(h===Infinity)break;var O=h>>3;switch(h&7){case 0:h=aa(H);if(O===2)return h;break;case 1:if(O===2)return;t+=8;break;case 2:h=aa(H);if(O===2)return N.substr(t,h);t+=h;break;case 5:if(O===2)return;t+=4;break;default:return}}while(t>>0:void 0}; +cH=function(N,H){var c=N.B;for(N.B=-1;N.pos+1<=N.T.totalLength;){c<0&&(c=i9(N));var t=c>>3,h=c&7;if(t===H)return!0;if(t>H){N.B=c;break}c=-1;switch(h){case 0:i9(N);break;case 1:N.pos+=8;break;case 2:t=i9(N);N.pos+=t;break;case 5:N.pos+=4}}return!1}; +iBD=function(N,H,c){N=N.map(function(t){return g.Y(function(h){return h.T==1?g.a(h,ts(t.actualName,H),2):g.a(h,ub(t.actualName,c),0)})}); +return Promise.all(N).then(function(){})}; +n_R=function(){if(!Pq.instance){var N=new Pq;Pq.instance=N}return Pq.instance}; +hs=function(N,H){H=N.pos+H;if(!(N.T.length>=H)){for(var c=N.T.length*2;c>>=1,c<<=1;while(--H>0);return c>>>1}; +CLf=function(N,H){WH(N,{createkeysession:1});N.status="gr";Ai("drm_gk_s",void 0,N.videoData.TW);N.url=Evl(N);try{N.L=H.createSession(N.Z,function(c){WH(N,{m:c})})}catch(c){H="t.g"; +c instanceof DOMException&&(H+=";c."+c.code);N.publish("licenseerror","drm.unavailable",1,H,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK");return}N.L&&(xGR(N.L,function(c,t){q$y(N,c,t)},function(c,t,h){if(!N.uo()){t=void 0; +var O=1;g.zB(N.B)&&g.G0(N.j)&&N.j.N("html5_enable_safari_fairplay")&&h===1212433232&&(t="ERROR_HDCP",O=N.j.N("html5_safari_fairplay_ignore_hdcp")?0:O);N.error("drm.keyerror",O,c,t)}},function(){N.uo()||(WH(N,{onkyadd:1}),N.Bp||(N.publish("sessionready"),N.Bp=!0))},function(c){N.Un(c)}),g.l(N,N.L))}; +EJ=function(N,H){this.triggeringSlotId=H;this.triggerType="TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY";this.triggerId=N(this.triggerType)}; +lSS=function(N,H){return QZ(N.clientMetadata,"metadata_type_ad_info_ad_metadata")?lQ(N.clientMetadata,"metadata_type_ad_info_ad_metadata"):H?{channelId:H.tU,channelThumbnailUrl:H.profilePicture,channelTitle:H.author,videoTitle:H.title}:(KA("No layout metadata nor AdPlayback specified for AdMetaData"),{channelId:"",channelThumbnailUrl:"",channelTitle:"",videoTitle:""})}; +KMv=function(N,H){N.L[H]||(N.L[H]=new xp);return N.L[H]}; +q4=function(N,H){this.breakDurationMs=N;this.triggerType="TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_MATCHED";this.triggerId=H||""}; +g.C2=function(N,H){return N.j.experiments.Zp().T.G0(gvv)?N.hN.Vd(H)||N.hN.T:N.Vd(H)}; +EUD=function(){CD==null&&(CD=new l9);return CD}; +lTR=function(N,H,c){var t=[],h=[];if((Array.isArray(c)?2:1)==1)return h=[H,N],g.uT(t,function(M){h.push(M)}),rHS(h.join(" ")); +var O=[],F=[];g.uT(c,function(M){F.push(M.key);O.push(M.value)}); +c=Math.floor((new Date).getTime()/1E3);h=O.length==0?[c,H,N]:[O.join(":"),c,H,N];g.uT(t,function(M){h.push(M)}); +N=rHS(h.join(" "));N=[c,N];F.length==0||N.push(F.join(""));return N.join("_")}; +Sp=function(N){this.key=N}; +gT=function(N){return N.length?KD?KD.decode(N):String.fromCharCode.apply(null,N):""}; +mt=function(N,H,c){var t=g.rT(H,c),h=t.Ds("default.jpg");g.e.call(this,{W:"a",fq:["ytp-video-menu-item","ytp-button"],V:{role:"menuitemradio","aria-label":t.title,href:N.D().getVideoUrl(t.videoId,H.listId?H.listId.toString():null)},X:[{W:"div",K:"ytp-video-menu-item-index",Wp:String(c+1)},{W:"div",K:"ytp-video-menu-item-now-playing",Wp:"\u25b6"},{W:"div",K:"ytp-video-menu-item-thumbnail",V:{style:h?"background-image: url("+h+");":void 0}},{W:"div",K:"ytp-video-menu-item-title",Wp:t.title},{W:"div", +K:"ytp-video-menu-item-author",Wp:t.author}]});this.api=N;this.index=c;this.listen("click",this.onClick)}; +mGL=function(N,H,c,t){N.L=t;t=H.vr;var h=H.playerVars,O=H.playerType;N.C=H;h&&N.api.enqueueVideoByPlayerVars(h,O,c,t)}; +g.DGD=function(N,H){var c,t;return g.Y(function(h){if(h.T==1)return g.sf("attmusi")&&g.sf("attmusi_ue")?g.a(h,w_Z(),3):h.rE(2);if(h.T!=2)return c=h.B,h.return(c.s("ENGAGEMENT_TYPE_PLAYBACK",N,H));var O=g.NA("yt.aba.att");return(t=O?O:wT.instance!==void 0?wT.instance.L.bind(wT.instance):null)?h.return(t("ENGAGEMENT_TYPE_PLAYBACK",N,H)):h.return(Promise.resolve({error:"ATTESTATION_ERROR_API_NOT_READY"}))})}; +QAh=function(N){var H=DN();switch(H){case 1:QO.h5vcc.traceEvent.traceEnd("YTLR",N);break;case 2:H=N+"-start";var c=N+"-end";QO.performance.mark(c);QO.performance.measure(N,H,c);break;case 0:break;default:Iv(H,"unknown trace type")}}; +uu3=function(N,H,c){ThS([{settingItemId:H,settingOptionValue:c}]);pq(N.h9(),function(t){p_t(t,H,c)})}; +u9=function(N,H,c,t){sE.call(this,N,{W:"div",K:"ytp-ad-grid-card-text",X:[{W:"div",K:"ytp-ad-grid-card-text__metadata",X:[{W:"div",K:"ytp-ad-grid-card-text__metadata__headline"},{W:"div",K:"ytp-ad-grid-card-text__metadata__description",X:[{W:"div",K:"ytp-ad-grid-card-text__metadata__description__line"},{W:"div",K:"ytp-ad-grid-card-text__metadata__description__line"}]}]},{W:"div",K:"ytp-ad-grid-card-text__button"}]},"ad-grid-card-text",H,c,t);this.headline=new pD(this.api,this.layoutId,this.interactionLoggingClientData, +this.yS);g.l(this,this.headline);this.headline.Jl(this.Sa("ytp-ad-grid-card-text__metadata__headline"));this.moreInfoButton=new zO(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,!0);g.l(this,this.moreInfoButton);this.moreInfoButton.Jl(this.Sa("ytp-ad-grid-card-text__button"))}; +g.l=function(N,H){N.addOnDisposeCallback(g.Js(g.ez,H))}; +JHt=function(N){try{return new nD(N.uU,N.slot,N.layout,N.PH,N.N2,N.ea,N.ID,N.Nc,N.Le,N.k_,N.IM_,N)}catch(H){}}; +S2=function(N,H,c){N.TW&&N.TW.zU(H,c)}; +S$e=function(N){var H=[];return g.nvy(N,{query:void 0},function(c){H.push(c.cursor.primaryKey);return g.XLD(c)}).then(function(){return H})}; +PH=function(N,H,c){N.insertBefore(H,N.childNodes[c]||null)}; +PLt=function(N){N.Eu=[];N.mf=[];N.S.clear();N.T=-1;N.L=void 0}; +XT=function(N,H){N.T[H.info.id]=H;N.L.set(UJ(H,N.K4),H)}; +Bps=function(){this.U9=[];this.jC=[]}; +LMv=function(){var N=UGl,H=X_D(function(c){N.apply(void 0,arguments);Vcd(H)}); +return H}; +g.VO=function(N){return{value:N,done:!1}}; +g.Yp=function(N,H){g.lL.call(this,{W:"div",K:"ytp-progress-bar-container",V:{"aria-disabled":"true"},X:[{W:"div",fq:["ytp-heat-map-container"],X:[{W:"div",K:"ytp-heat-map-edu"}]},{W:"div",fq:["ytp-progress-bar"],V:{tabindex:"0",role:"slider","aria-label":"Seek slider","aria-valuemin":"{{ariamin}}","aria-valuemax":"{{ariamax}}","aria-valuenow":"{{arianow}}","aria-valuetext":"{{arianowtext}}"},X:[{W:"div",K:"ytp-chapters-container"},{W:"div",K:"ytp-timed-markers-container"},{W:"div",K:"ytp-clip-start-exclude"}, +{W:"div",K:"ytp-clip-end-exclude"},{W:"div",K:"ytp-scrubber-container",X:[{W:"div",fq:["ytp-scrubber-button","ytp-swatch-background-color"],X:[{W:"div",K:"ytp-scrubber-pull-indicator"},{W:"img",fq:["ytp-decorated-scrubber-button"]}]}]}]},{W:"div",fq:["ytp-fine-scrubbing-container"],X:[{W:"div",K:"ytp-fine-scrubbing-edu"}]},{W:"div",K:"ytp-bound-time-left",Wp:"{{boundTimeLeft}}"},{W:"div",K:"ytp-bound-time-right",Wp:"{{boundTimeRight}}"},{W:"div",K:"ytp-clip-start",V:{title:"{{clipstarttitle}}"},Wp:"{{clipstarticon}}"}, +{W:"div",K:"ytp-clip-end",V:{title:"{{clipendtitle}}"},Wp:"{{clipendicon}}"}]});this.api=N;this.KO=!1;this.L2=this.M0=this.Al=this.ox=this.Y=this.qz=0;this.kD=null;this.Bd=!1;this.zW={};this.T3={};this.clipEnd=Infinity;this.n4=this.Sa("ytp-clip-end");this.Oc=new g.la(this.n4,!0);this.AN=this.Sa("ytp-clip-end-exclude");this.Jj=this.Sa("ytp-clip-start-exclude");this.clipStart=0;this.S_=this.Sa("ytp-clip-start");this.G7=new g.la(this.S_,!0);this.Bp=this.kG=0;this.progressBar=this.Sa("ytp-progress-bar"); +this.Dt={};this.Xg={};this.UF=this.Sa("ytp-chapters-container");this.Bv=this.Sa("ytp-timed-markers-container");this.T=[];this.C=[];this.BR={};this.nO=null;this.Cq=-1;this.C4=this.gE=0;this.TE=this.Z=null;this.KC=this.Sa("ytp-scrubber-button");this.NT=this.Sa("ytp-decorated-scrubber-button");this.wH=this.Sa("ytp-scrubber-container");this.mG=new g.Sr;this.qc=0;this.QB=new ZBR;this.L=new LD(0,0);this.PO=null;this.S=this.YA=!1;this.Mz=null;this.Us=this.Sa("ytp-heat-map-container");this.gk=this.Sa("ytp-heat-map-edu"); +this.U=[];this.heatMarkersDecorations=[];this.WO=this.Sa("ytp-fine-scrubbing-container");this.LG=this.Sa("ytp-fine-scrubbing-edu");this.B=void 0;this.Kq=this.il=this.vp=!1;this.tooltip=H.HH();this.addOnDisposeCallback(g.UU(this.tooltip,this.n4));g.l(this,this.Oc);this.Oc.subscribe("hoverstart",this.GX,this);this.Oc.subscribe("hoverend",this.KI,this);this.G(this.n4,"click",this.Gp);this.addOnDisposeCallback(g.UU(this.tooltip,this.S_));g.l(this,this.G7);this.G7.subscribe("hoverstart",this.GX,this); +this.G7.subscribe("hoverend",this.KI,this);this.G(this.S_,"click",this.Gp);Y$l(this);this.G(N,"resize",this.Mc);this.G(N,"presentingplayerstatechange",this.zix);this.G(N,"videodatachange",this.KJ);this.G(N,"videoplayerreset",this.ZqR);this.G(N,"cuerangesadded",this.M$p);this.G(N,"cuerangesremoved",this.I$s);this.G(N,"onLoopRangeChange",this.Tg);this.G(N,"innertubeCommand",this.onClickCommand);this.G(N,"onRetroModeChanged",this.zEW);this.G(N,g.dm("timedMarkerCueRange"),this.SIp);this.G(N,"updatemarkervisibility", +this.Z3);this.G(N,"serverstitchedvideochange",this.wvg);this.updateVideoData(N.getVideoData(),!0);this.Tg(N.getLoopRange());FE(this)&&!this.B&&(this.B=new ZN(this.api,this.tooltip),N=g.VC(this.element).x||0,this.B.Mc(N,this.Y),this.B.Jl(this.WO),g.l(this,this.B),this.G(this.B.dismissButton,"click",this.II),this.G(this.B.playButton,"click",this.HK),this.G(this.B.element,"dblclick",this.HK));this.api.createClientVe(this.Us,this,139609,!0);this.api.createClientVe(this.gk,this,140127,!0);this.api.createClientVe(this.LG, +this,151179,!0);this.api.createClientVe(this.progressBar,this,38856,!0)}; +AHD=function(N){var H=N.index+1;return H>=N.length?0:H}; +edD=function(N,H,c){H=As(N.JF,aSZ(N,H,c),H);N.eC()&&H.set("probe","1");return H}; +g.e2=function(N,H,c,t,h){ln||ah.set(""+N,H,{maxAge:c,path:"/",domain:t===void 0?"youtube.com":t,secure:h===void 0?!1:h})}; +sAd=function(N){if(N.zW)return["f"];if(g.$b("appletv5"))return"h 9h 9 8 H (h ( *".split(" ");var H=["9h","9","h","8"];N.qc&&H.push("1e");H=H.concat(["(h","(","H","*"]);N.Ix&&(H.unshift("1"),H.unshift("1h"));N.vL&&H.unshift("h");N.TW&&(H=(vvS[N.TW]||[N.TW]).concat(H));return H}; +vH=function(N,H,c,t){!N&&(c===void 0?0:c)&&g.aS(Error("Player URL validator detects invalid url. "+(t===void 0?"":t)+": "+H));return N}; +sJ=function(N){N=(N.T.cookie||"").split(";");for(var H=[],c=[],t,h,O=0;O=1+(h?0:-1)&&O>=F){var M=N[F];if(M!=null&&typeof M==="object"&&M.constructor===Object)return M[c]=t,H}if(O<=F)return N[O]=t,H;if(t!==void 0){var f;F=((f=H)!=null?f:H=N[A8]|0)>>14&1023||536870912;c>=F?t!=null&&(O={},N[F+(h?0:-1)]=(O[c]=t,O)):N[O]=t}return H}; +var NXe=function(N,H){return dt[T[3]](this,1,N,H)}; +g.kD=function(N){return"/youtubei/v1/"+BFs(N)}; +yHt=function(N){return N.B.some(function(H){return H.T.isToggled()})||N.noneOfTheAbove.button.isToggled()}; +g.yO=function(){BH.apply(this,arguments)}; +g.HE=function(N){return N instanceof Array?N:I7y(g.K(N))}; +Rd3=function(N,H){if(g.O7(GbS,H))return!0;var c=N.Nf[H];return c!==void 0?(N.Nf[H]=!0,!c):!1}; +g.GB=function(N){N=N===void 0?{}:N;this.languageCode=N.languageCode||"";this.languageName=N.languageName||null;this.kind=N.kind||"";this.name=N.name===void 0?null:N.name;this.displayName=N.displayName||null;this.id=N.id||null;this.T=N.is_servable||!1;this.isTranslateable=N.is_translateable||!1;this.url=N.url||null;this.vssId=N.vss_id||"";this.isDefault=N.is_default||!1;this.translationLanguage=N.translationLanguage||null;this.xtags=N.xtags||"";this.captionId=N.captionId||""}; +kbs=function(N){var H=window.location.search,c=g.dD(N);g.sf("debug_handle_relative_url_for_query_forward_killswitch")||!c&&Q0(N)&&(c=document.location.hostname);var t=Cv(N);t=(c=c&&(c.endsWith("youtube.com")||c.endsWith("youtube-nocookie.com")))&&t&&t.startsWith("/api/");if(!c||t)return N;var h=OC(H),O={};g.uT(ovs,function(F){h[F]&&(O[F]=h[F])}); +return hp(N,O)}; +Rh=function(N,H,c,t){for(var h=Number(H.getAttribute("data-overlay-order"))||0,O=0,F=null,M=g.K(c.children),f=M.next();!f.done;f=M.next()){f=f.value;if(t&&f.classList.contains("ytp-overlay-inline-container")){F=f;break}if(h<(Number(f.getAttribute("data-overlay-order"))||0))break;O++}F?Rh(N,H,F,!1):t?(N=document.createElement("div"),N.classList.add("ytp-overlay-inline-container"),N.setAttribute("data-overlay-order",""+h),F=N,F.appendChild(H),PH(c,F,O)):PH(c,H,O)}; +b6L=function(N){if(typeof N!=="string")throw Error();return N}; +TV=function(){return zL("Firefox")||zL("FxiOS")}; +ISy=function(N,H){N.U||(N.U=!0,N.B&&(H?N.B.Us.hide():N.B.hide()),H?(N=N.L,N.Al.show(),N.show()):N.L.show())}; +oh=function(N,H){N.T.objectStoreNames.contains(H)&&N.T.deleteObjectStore(H)}; +rO=function(N){g.L.call(this);var H=this;this.wE=N;this.O3=0;this.Y=this.B=this.S=!1;this.U=0;this.Es=this.wE.D();this.videoData=this.wE.getVideoData();this.L=g.Mx(this.Es.experiments,"html5_delayed_retry_count");this.T=new g.kT(function(){H.wE.WR()},g.Mx(this.Es.experiments,"html5_delayed_retry_delay_ms")); +g.l(this,this.T)}; +px=function(N,H,c,t){t=t===void 0?{}:t;var h={},O=Math.round(t.timestamp||(0,g.Lh)());h.eventTimeMs=O>>0;In=H>>>0}else Dw(N)}; +i4h=function(N,H){return function(c,t){var h={PP:!0};t&&Object.assign(h,t);c=Qlv(c,void 0,void 0,h);try{var O=new N,F=O.hF;O9(H)(F,c);var M=O}finally{c.free()}return M}}; +g.xZ=function(N,H){Ih.get(N);Ih.set(N,H)}; +b9=function(N,H){g.L.call(this);var c=this;this.policy=N;this.L4=H;this.B=0;this.T=null;this.XH=[];this.L=null;this.Br={mw:function(){return c.L4}}; +this.L4.length===1||g.Mp(this.L4,function(t){return!!t.range})}; +jn=function(N,H){2&H&&(N|=2);return N|1}; +h7y=function(N,H,c){var t=0;if(H.info.mR.info.RW()&&!cMd(H))return 0;if(N.ox&&!N.ll()){var h=0;c&&g.vs(H.info.mR.info)?h=c-N.L:H.info.mR.info.RW()&&(h=N.C);var O=H.info.Y_;c=NB(H,N.policy.T3);var F=N.ox;var M=F.zW;F=F.C;var f=Math.abs(F-h)>.02;if((O===M||O>M&&O>N.zW)&&f){t=Math.max(.95,Math.min(1.05,(c-(F-h))/c));if(g.vs(H.info.mR.info))tqs(g.sn(H),t);else if(H.info.mR.info.RW()&&(O=h-F,!g.vs(H.info.mR.info)&&(H.info.mR.info.RW(),t=new Bs(g.sn(H)),M=H.S?t:new Bs(new DataView(H.info.mR.T.buffer)), +NB(H,!0)))){var d=O*1E3,W=HM(M);M=t.pos;t.pos=0;if(t.T.getUint8(t.pos)===160||Pf(t))if($R(t,160))if(T8(t,!0),$R(t,155)){if(O=t.pos,f=T8(t,!0),t.pos=O,d=d*1E9/W,W=iK(t),d=W+Math.max(-W*.7,Math.min(W,d)),d=Math.sign(d)*Math.floor(Math.abs(d)),!(Math.ceil(Math.log(d)/Math.log(2)/8)>f)){t.pos=O+1;for(O=f-1;O>=0;O--)t.T.setUint8(t.pos+O,d&255),d>>>=8;t.pos=M}}else t.pos=M;else t.pos=M;else t.pos=M}t=NB(H,N.policy.T3);t=c-t}t&&H.info.mR.info.RW()&&N.loader.Lq("webmDurationAdjustment",{durationAdjustment:t, +videoDrift:h+t,audioDrift:F})}return t}; +cM=function(N,H){for(var c=[];cH(N,H);)c.push(i9(N));return c.length?c:void 0}; +FqZ=function(N,H){H?O4l.test(N):(N=g.lN(N),Object.keys(N).includes("cpn"))}; +$Dd=function(N,H){N=g.K(N.itemData);for(var c=N.next();!c.done;c=N.next())c=c.value,c.J.logVisibility(c.element,H)}; +hL=function(){this.T=null;this.B=0;this.L=new T5R;this.U=new tL}; +O2=function(N){dK.call(this,N);var H=this;this.T={};this.events=new g.Ww(N);g.l(this,this.events);this.events.G(N,"videodatachange",function(){H.onVideoDataChange()}); +this.events.G(N,g.dm("embargo"),function(c){H.api.TQ(!0);var t,h=(t=H.T[c.id])!=null?t:[];t=g.K(h);for(h=t.next();!h.done;h=t.next()){var O=h.value;H.api.hideControls();H.api.TU("auth",2,"This video isn't available in your current playback area",Gu({embargoed:1,id:c.id,idx:c.B,start:c.start}));h=void 0;(O=(h=O.embargo)==null?void 0:h.onTrigger)&&H.api.QS("innertubeCommand",O)}})}; +jLR=function(N){for(var H=N.T,c=[],t=0;t0}; +E$Z=function(N){var H=g.sn(N);var c=(c=g.Yv(H,0,1936286840))?c.data.getUint32(c.dataOffset+8):NaN;isNaN(c)&&(N=N.info.mR.T,c=(H=g.Yv(H,0,1836476516))?g.ZW(H):N?fl(N):NaN);return c}; +xDL=function(N){this.hF=oF(N)}; +qdl=function(N,H){d8(N,1,H.trackType);I3(N,2,H.isHdr)}; +ad=function(N){this.T=N}; +Is=function(N,H,c){var t=N.videoData.B,h=N.videoData.U,O=N.Es.N("html5_disable_codec_fallback_for_drm")&&N.videoData.f2();Vz(N.wE.getVideoData())&&N.Es.N("html5_gapless_fallback_on_qoe_restart")&&EIv(N.wE,"pe");if((H==="progressive.net.retryexhausted"||H==="fmt.unplayable"||H==="fmt.decode")&&!N.wE.OV.S&&t&&t.itag==="22")return N.wE.OV.S=!0,N.rr("qoe.restart",{reason:"fmt.unplayable.22"}),N.wE.Fm(),!0;var F=!1;if(N.videoData.isExternallyHostedPodcast){if(F=N.videoData.zy)c.mimeType=F.type,N.Lq("3pp", +{url:F.url});c.ns="3pp";N.wE.TU(H,1,"VIDEO_UNAVAILABLE",Gu((new g.QP(H,c,1)).details));return!0}var M=N.O3+3E4<(0,g.Lh)()||N.T.isActive();if(N.Es.N("html5_empty_src")&&N.videoData.isAd()&&H==="fmt.unplayable"&&/Empty src/.test(""+c.msg))return c.origin="emptysrc",N.rr("auth",c),!0;M||CTv(N.wE.RA())||(c.nonfg="paused",M=!0,N.wE.pauseVideo());(H==="fmt.decode"||H==="fmt.unplayable")&&(h==null?0:WM(h)||zm(h))&&(lct(N.Es.S,h.T0),c.acfallexp=h.T0,F=M=!0);!M&&N.L>0&&(N.T.start(),M=!0,c.delayed="1",--N.L); +h=N.wE.loader;M||!((t==null?0:nK(t))||(t==null?0:LB(t)))||O||(lct(N.Es.S,t.T0),F=M=!0,c.cfallexp=t.T0);if(!M)return Kqt(N,c);O=!1;N.S?N.O3=(0,g.Lh)():O=N.S=!0;M=N.videoData;if(M.Ix){M=M.Ix.X4();var f=Date.now()/1E3+1800;M=M0){var t=c.T.shift();mDe(c,t.info)}c.T.length>0&&(t=c.T[0].time-(0,g.Lh)(),c.B.start(Math.max(0,t)))}},0); +g.l(this,this.B);H.subscribe("widevine_set_need_key_info",this.U,this)}; +DDL=function(N,H,c){var t=g.Mx(H.experiments,"bg_vm_reinit_threshold");(!lK||(0,g.Lh)()-lK>t)&&wTw(N,c).then(function(h){h&&(h=h.botguardData)&&g.Kl(h,H)},function(h){N.uo()||(h=g8(h),N.Lq("attf",h.details))})}; +e$w=function(N,H,c,t,h){g.L.call(this);var O=this,F=dN(function(){return new Wd(O.Rx)}); +g.l(this,F);var M=dN(function(){return new zR(F,O.Rx)}); +g.l(this,M);var f=dN(function(){return new EP}); +g.l(this,f);var d=dN(function(){return new xh(N)}); +g.l(this,d);var W=dN(function(){return new qV(F,M,O.Rx)}); +g.l(this,W);var z=dN(function(){return new C$}); +g.l(this,z);this.oD=dN(function(){return new ph(H)}); +g.l(this,this.oD);this.V4=dN(function(){return new l7(h)}); +g.l(this,this.V4);this.YO=dN(function(){return new K$(H)}); +g.l(this,this.YO);this.kO=dN(function(){return new gN(H)}); +g.l(this,this.kO);this.Nc=dN(function(){return new rN(H)}); +g.l(this,this.Nc);this.Mi=dN(function(){return new mT(H)}); +g.l(this,this.Mi);this.Rx=dN(function(){return new wN(H)}); +g.l(this,this.Rx);var E=dN(function(){return new Dk(t)}); +g.l(this,E);var x=dN(function(){return new Qx(O.Rx)}); +g.l(this,x);var q=dN(function(){return new XP(F,W,M,O.Rx,x,null,null,O.G6,O.b2)}); +g.l(this,q);this.bl=dN(function(){return new p$(H)}); +g.l(this,this.bl);this.uW=dN(function(){return new r8}); +g.l(this,this.uW);this.ea=dN(function(){return new u7(H,z,O.Rx)}); +g.l(this,this.ea);var r=J1({ea:this.ea,Rx:this.Rx,Uy:x}),w=r.context,n=r.dR;this.j1=r.j1;this.jg=dN(function(){return new n$(H,O.Rx,O.Pp)}); +this.k_=dN(function(){return new Pd(H,O.ea,O.Rx)}); +g.l(this,this.k_);this.mx=dN(function(){return new UP}); +g.l(this,this.mx);this.r_=dN(function(){return new L$(O.k_,H,O.Rx)}); +g.l(this,this.r_);this.Pp=dN(function(){return new Zk(H,f,O.r_,O.ea,O.j1,O.Rx,n)}); +g.l(this,this.Pp);this.j7=dN(function(){return new Vx(O.Rx)}); +g.l(this,this.j7);this.HZ=new ai(pv,eT,function(U,X,A,R){return GO(M.get(),U,X,A,R)},d,W,M,x,this.Rx,this.ea); +g.l(this,this.HZ);this.p6=new Yh(d,q,c,this.Rx,N,this.ea,this.k_,this.YO);g.l(this,this.p6);var p=new A1(H,this.p6,this.k_,this.ea,this.jg);this.GE=dN(function(){return p}); +this.rW=p;this.G6=new vd(d,W,this.GE,this.jg,this.k_,this.Rx,this.Pp);g.l(this,this.G6);this.qP=new sP(d,W,this.kO,this.GE,w);g.l(this,this.qP);this.cH=new Bd(this.Rx,d,W,q,this.ea,this.qP,c,this.Nc);g.l(this,this.cH);this.rH=dN(function(){return new yx(E,M,x,O.Rx,O.Pp,O.k_)}); +g.l(this,this.rH);this.m7=dN(function(){return new GR}); +g.l(this,this.m7);this.Ro=new Ri(N,this.oD,this.Rx);g.l(this,this.Ro);this.F3=new oi(N);g.l(this,this.F3);this.iY=new m_(N);g.l(this,this.iY);this.t3=new kh(N,this.GE,w);g.l(this,this.t3);this.q2=new Ii(N,this.kO,this.k_,this.ea,w);g.l(this,this.q2);this.N2=new Hs(N);g.l(this,this.N2);this.jE=new jr(N);g.l(this,this.jE);this.W$=new w8(N);g.l(this,this.W$);this.ID=dN(function(){return new ST(H)}); +g.l(this,this.ID);this.PH=new iS(N);g.l(this,this.PH);this.b2=new NC(N,this.jg,this.k_,this.Pp,this.GE,this.G6);g.l(this,this.b2);this.Oy=dN(function(){return new cs}); +g.l(this,this.Oy);this.q0=dN(function(){return new th(O.k_)}); +g.l(this,this.q0);this.Ii=dN(function(){return new hh(O.cH,d,F)}); +g.l(this,this.Ii);this.gH=dN(function(){return new On(O.Rx,O.Pp,O.N2,O.r_)}); +g.l(this,this.gH);this.n1=dN(function(){return new QLS(O.oD,O.k_,O.Pp,f,O.r_,O.iY,O.W$,O.V4,O.Rx,c)}); +g.l(this,this.n1);this.dH=dN(function(){return new Dr(N,O.PH,O.N2,O.Pp,O.r_,O.j7,O.Nc,O.ea,O.k_,O.mx,O.kO,O.YO,O.Mi,O.V4,O.bl,O.Rx,O.ID,w,n)}); +g.l(this,this.dH);this.Wl=new Q6(N,this.uW,F);g.l(this,this.Wl);this.CC={jt:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.cH],["OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",this.G6],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.HZ],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.p6],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.qP]]),Yd:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.rH],["SLOT_TYPE_FORECASTING",this.m7],["SLOT_TYPE_IN_PLAYER",this.m7], +["SLOT_TYPE_PLAYER_BYTES",this.m7]]),tZ:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Ro],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.F3],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.F3],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.F3],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.F3],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.F3],["TRIGGER_TYPE_SLOT_ID_EXITED",this.F3],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.F3],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.F3],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.F3], +["TRIGGER_TYPE_ON_DIFFERENT_SLOT_ID_ENTER_REQUESTED",this.F3],["TRIGGER_TYPE_CLOSE_REQUESTED",this.iY],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.t3],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.q2],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.q2],["TRIGGER_TYPE_NOT_IN_MEDIA_TIME_RANGE",this.q2],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.N2],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.t3],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.jE],["TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER", +this.W$],["TRIGGER_TYPE_AD_BREAK_STARTED",this.PH],["TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_MATCHED",this.b2],["TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_NOT_MATCHED",this.b2],["TRIGGER_TYPE_NEW_SLOT_SCHEDULED_WITH_BREAK_DURATION",this.b2],["TRIGGER_TYPE_PREFETCH_CACHE_EXPIRED",this.b2],["TRIGGER_TYPE_CUE_BREAK_IDENTIFIED",this.b2]]),iH:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Oy],["SLOT_TYPE_FORECASTING",this.Oy],["SLOT_TYPE_IN_PLAYER",this.Oy],["SLOT_TYPE_PLAYER_BYTES",this.q0]]), +lK:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Ii],["SLOT_TYPE_FORECASTING",this.gH],["SLOT_TYPE_IN_PLAYER",this.n1],["SLOT_TYPE_PLAYER_BYTES",this.dH]])};this.listeners=[f.get()];this.r5={cH:this.cH,FE:this.Rx.get(),yS:this.V4.get(),aL:this.k_.get(),p6:this.p6,uY:F.get(),m2:this.uW.get(),Ga:this.Ro,RU:f.get(),MP:this.ea.get()}}; +g.Go=function(N,H,c){return g.zu(N,[H],{mode:"readwrite",Zt:!0,commit:pl()},function(t){return g.EX(t.objectStore(H),c)})}; +pTe=function(N){if(N.Al.length){var H=N.Al,c=function(t,h){if(t.info.T0==="f"||H.includes(UJ(t,N.GW.K4)))return t;for(var O={},F=0;FN.L.B,O=N.L.T>0&&tthis.policy.tC?!1:!0:!1)H=null,this.policy.kuo&& +this.policy.cZ?H=[1]:r&&(H=[]),H!=null&&(this.policy.GJ&&H.push(2),this.tj.set("defsel",H.join(",")));this.Ke=new CT(this,this.policy,this.tj,this.info.JF,this.timing,this.logger,t,z);this.OU=M||null;this.d5=iwD(this);ce3(this.Ke);t=void 0;if(this.policy.cJp||this.KA||this.policy.Kq)t={method:"POST"},M=(0,g.lg)([120,0]),z={},this.policy.At&&F&&(F=a4(void 0,F),z.PY=F),this.policy.GD&&this.fO&&(z.videoPlaybackUstreamerConfig=this.fO),this.policy.Kq&&(F=this.info.U)&&Object.assign(z,F),Object.keys(z).length> +0?t.body=g.ue(z,g.KT):t.body=M;if(this.u$&&this.fO){this.tj.set("iwts","1");t={method:"POST"};F={NJ:this.u$*1E3};var n;M=(n=this.info.U)==null?void 0:n.nJ;n=g.ue({JQ:F,nJ:M||void 0,videoPlaybackUstreamerConfig:this.fO},g.KT);t.body=n}try{this.xhr=gj(this.tj,this.policy.Z,this.timing,N,t),this.Ke.B.start(),O&&(this.CP=new g.kT(this.TX,O,this),this.CP.start(O+(this.timing.YG.Z.sI()||0)*1E3)),this.policy.n3&&rj(this.timing,this.uG()),g.OT(function(){})}catch(p){iVy(this,p,!0)}}; +twZ=function(){try{return+(window.localStorage&&window.localStorage["yt-player-av1-pref"])||0}catch(N){return 0}}; +wj=function(N,H){g.Hw("ytglobal.timing"+(H||"")+"ready_",N)}; +D$=function(N,H){var c=c===void 0?jZ:c;return new yZ(N,H,c)}; +h3R=function(N,H,c,t){return new Qc(N,H,{opacity:c},{opacity:t},{property:"opacity",duration:H,timing:"ease-in",delay:0})}; +uCD=function(N,H,c){for(var t=N.length;t1?Math.ceil(h*H):Math.floor(h*H))}N.skip(1);c=mr(N)<<16|QJ(N);if(c&256){t=c&1;h=c&4;var O=c&512,F=c&1024,M=c&2048;c=wm(N);t&&N.skip(4);h&&N.skip(4);t=(O?4:0)+(F?4:0)+(M?4:0);for(h=0;h1?Math.ceil(F*H):Math.floor(F*H)),N.skip(t)}}}; +W0d=function(N){typeof N.B.tI.AFMA_LIDAR==="string"?(N.ox=!0,d$D(N)):(N.B.compatibility=3,N.C="nc",N.fail("w"))}; +AR=function(N){var H=LT;N=N===void 0?lky():N;var c=Object,t=c.assign,h=E8(H);var O=H.T;try{var F=O.screenX;var M=O.screenY}catch(n){}try{var f=O.outerWidth;var d=O.outerHeight}catch(n){}try{var W=O.innerWidth;var z=O.innerHeight}catch(n){}try{var E=O.screenLeft;var x=O.screenTop}catch(n){}try{W=O.innerWidth,z=O.innerHeight}catch(n){}try{var q=O.screen.availWidth;var r=O.screen.availTop}catch(n){}O=[E,x,F,M,q,r,f,d,W,z];F=zaS(!1,H.T.top);M={};var w=w===void 0?g.di:w;f=new Z$;"SVGElement"in w&&"createElementNS"in +w.document&&f.set(0);d=z3s();d["allow-top-navigation-by-user-activation"]&&f.set(1);d["allow-popups-to-escape-sandbox"]&&f.set(2);w.crypto&&w.crypto.subtle&&f.set(3);"TextDecoder"in w&&"TextEncoder"in w&&f.set(4);w=EDR(f);H=(M.bc=w,M.bih=F.height,M.biw=F.width,M.brdim=O.join(),M.vis=YV(H.B),M.wgl=!!iJ.WebGLRenderingContext,M);c=t.call(c,h,H);c.ca_type="image";N&&(c.bid=N);return c}; +es=function(N,H){if(H.info.L){N.w_=H.info;if(N.S){var c=N.S,t=x$L(N,!1);c=qUw(c);N.loader.G8(N.mR,t,c);N.Bp||N.policy.kD||Ci3(N);N.Bp=null}CN(N)}N.Y&&zHS(N.Y,H);if(t=N.on())if(t=g.aw(t,H,N.policy.b5,N.policy.gk)){N.B.pop();N.B.push(t);return}N.B.push(H)}; +vv=function(N,H,c,t,h){sE.call(this,N,{W:"div",K:"ytp-ad-player-overlay-layout",X:[{W:"div",K:"ytp-ad-player-overlay-layout__player-card-container"},{W:"div",K:"ytp-ad-player-overlay-layout__ad-info-container"},{W:"div",K:"ytp-ad-player-overlay-layout__skip-or-preview-container"},{W:"div",K:"ytp-ad-player-overlay-layout__ad-disclosure-banner-container"}]},"player-overlay-layout",H,c,t);this.B=h;this.Ix=this.Sa("ytp-ad-player-overlay-layout__player-card-container");this.T=this.Sa("ytp-ad-player-overlay-layout__ad-info-container"); +this.Z=this.Sa("ytp-ad-player-overlay-layout__skip-or-preview-container");this.Us=this.Sa("ytp-ad-player-overlay-layout__ad-disclosure-banner-container");this.hide()}; +lbD=function(N){g.sf("gel_compression_csi_killswitch")||!g.sf("log_gel_compression_latency")&&!g.sf("log_gel_compression_latency_lr")||sA("gel_compression",N,{sampleRate:.1})}; +K0t=function(N){var H=new g.lL({W:"div",K:"ytp-ad-text-overlay",X:[{W:"div",K:"ytp-ad-overlay-ad-info-button-container"},{W:"div",K:"ytp-ad-overlay-close-container",X:[{W:"button",K:"ytp-ad-overlay-close-button",X:[G_(Bv)]}]},{W:"div",K:"ytp-ad-overlay-title",Wp:"{{title}}"},{W:"div",K:"ytp-ad-overlay-desc",Wp:"{{description}}"},{W:"div",fq:["ytp-ad-overlay-link-inline-block","ytp-ad-overlay-link"],Wp:"{{displayUrl}}"}]});N.G(H.Sa("ytp-ad-overlay-title"),"click",function(c){E7(N,H.element,c)}); +N.G(H.Sa("ytp-ad-overlay-link"),"click",function(c){E7(N,H.element,c)}); +N.G(H.Sa("ytp-ad-overlay-close-container"),"click",N.Wi);H.hide();return H}; +yc=function(N){return{fieldType:2,fieldName:N}}; +GD=function(N,H,c){N.B!==H&&(N.Lq("sdai",{setsst:H,old:N.B,r:c}),N.B=H)}; +gDw=function(){return{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},X:[{W:"path",JN:!0,V:{d:"M2,14 L5,11 L5,3 L2,0 L9,0 L9,14 L2,14 L2,14 Z",fill:"#eaeaea"}}]}}; +r1=function(N){return decodeURIComponent(N.replace(/\+/g," "))}; +reD=function(N){if(N.T==null)N.callback.ZK(N.slot);else try{N.T.cancel(),N.T=null,N.callback.ZK(N.slot)}catch(H){N.T=null,qB(N.callback,N.slot,new S(H,void 0,"ADS_CLIENT_ERROR_MESSAGE_CANCEL_SLOT_FULFILLMENT_FAILURE"),"ADS_CLIENT_ERROR_TYPE_CANCEL_FULFILL_SLOT_FAILED")}}; +m$D=function(){}; +Rw=function(N,H,c,t,h,O,F,M){eq.call(this,N,H,c,t);this.Pp=h;this.Le=O;this.Y=M;this.AY=!0;this.U=null;this.S=lQ(c.clientMetadata,"metadata_type_linked_player_bytes_layout_id");vT(this.Le(),this);this.adPlacementConfig=lQ(c.clientMetadata,"metadata_type_ad_placement_config");this.Fg=new sd(c.S1,this.Pp,this.adPlacementConfig,c.layoutId)}; +ow=function(N,H){H=H===void 0?200:H;return N?H===300?wny:D$t:H===300?Qre:pnw}; +ZV=function(N,H){uWt(H);this.T=N;if(N!=null&&N.length===0)throw Error("ByteString should be constructed with non-empty values");}; +Jed=function(N,H,c){c=c===void 0?0:c;g.Lu(function(){H.then(function(t){N.B.has(c)&&N.U&&N.U();var h=g.gi(c),O=g.kV(c);if(h&&O){var F={automatedLogEventSource:3},M;(t==null?0:(M=t.response)==null?0:M.trackingParams)&&g.Iw(N.client,h,O,g.bg(t.response.trackingParams),!1,F);var f;(t==null?0:(f=t.playerResponse)==null?0:f.trackingParams)&&g.Iw(N.client,h,O,g.bg(t.playerResponse.trackingParams),!1,F)}})})()}; +nDR=function(N){return hA(N,function(H){return"FORMAT_STREAM_TYPE_OTF"===H.stream_type})?"FORMAT_STREAM_TYPE_OTF":"FORMAT_STREAM_TYPE_UNKNOWN"}; +SUl=function(N,H){if(N.T){var c=N.T.Rc.C6-(H.startTime+N.Z-N.T.Rc.startSecs);c<=0||(c=new Ni(N.T.Rc.startSecs-(isNaN(N.Z)?0:N.Z),c,N.T.Rc.context,N.T.Rc.identifier,"stop",N.T.Rc.T+H.duration*1E3),N.Lq("cuepointdiscontinuity",{segNum:H.Y_}),Hx(N,c,H.Y_))}}; +iH=function(N){g.L.call(this);this.B=N}; +Pid=function(N,H){var c=H/((N.S?135:90)-N.ox)*N.ox;g.eU(N.progressBar,"transform","translateY("+-H+"px)");g.eU(N.Us,"transform","translateY("+-H+"px)");g.eU(N.WO,"transform","translateY("+c+"px)");N.WO.style.height=H+c+"px";N.element.parentElement&&(N.element.parentElement.style.height=N.ox-c+"px")}; +nT=function(N){N=N===void 0?0:N;return N===0?"ROOT_VE_TYPE":"ROOT_VE_TYPE."+N}; +cx=function(N){g.sf("transport_use_scheduler")?g.jO.k8(N):g.wi(N)}; +L0S=function(N,H,c,t){var h=null;switch(H){case "JSON":try{var O=c.responseText}catch(F){throw t=Error("Error reading responseText"),t.params=N,Uf(t),F;}N=c.getResponseHeader("Content-Type")||"";O&&N.indexOf("json")>=0&&(O.substring(0,5)===")]}'\n"&&(O=O.substring(5)),h=JSON.parse(O));break;case "XML":if(N=(N=c.responseXML)?U$h(N):null)h={},g.uT(N.getElementsByTagName("*"),function(F){h[F.tagName]=Xnl(F)})}t&&VwZ(h); +return h}; +Zw3=function(N,H,c){var t=N.NQ(H,c);N.Ow=t;N.listeners.forEach(function(h){h.eX(t)})}; +g.tr=function(N){return P_(N)==="WEB_MUSIC_INTEGRATIONS"}; +av=function(N,H,c,t,h){var O=N.T;O!==N.app.x_()&&N.app.dW();N.j.N("html5_sabr_csdai_seek_log")||(h="");var F;O.seekTo(H,Object.assign({},{j_:"application_timelinemanager"+((F=h)!=null?F:"")},c));YUR(N,t)}; +Aes=function(N){N=rVv(N);return N===null?!1:N[1]==="google"?!0:N[2]==="google"?N[0]==="au"&&N[1]==="com"?!0:N[0]==="uk"&&N[1]==="co"?!0:!1:!1}; +jGL=function(N,H,c){if(N.provider.j.experiments.M4("html5_refactor_sabr_audio_format_selection_logging")){H=c.T;var t=[H.audio&&H.video?H.R1?H.R1:"":H.id];H.X3&&H.X3.id&&t.push(H.X3.id);H=t.join(";");H!==N.Y&&(t=[H,N.Y,c.reason],g.CQ(N.provider.j.Zp())&&c.reason==="i"&&t.push(hr(N,c)),c.token&&t.push(c.token),g.Xz(N,g.cd(N.provider),"afs",t),N.Y=H)}else c.T.id!==N.Y&&(t=[c.T.id,N.Y,c.reason],g.CQ(N.provider.j.Zp())&&c.reason==="i"&&t.push(hr(N,c)),c.token&&t.push(c.token),g.Xz(N,H,"afs",t),N.Y=c.T.id)}; +g.$C=function(N,H,c){if(g.NF(c))return N;c=g.wsS(c);if(typeof N==="string")return Oc(N,g.mI(H),c);g.FS(N,H,c);return N}; +sry=function(N,H){TY(N,1,H.JQ,j$,3);if(H.iO)for(var c=0;c=1024)throw Error("pvtlmt");for(var f in M)O= ++f,O1024)throw Error("spvt");h=h&-16760833|(f&1023)<<14}}}rp(N,h|64|t);return N}; +yeS=function(N,H){this.T=N;this.options=H;this.transactionCount=0;this.L=Math.round((0,g.Lh)());this.B=!1}; +GUd=function(N){var H=Qg;N=g.WL(N,function(c){return!UKw(H,c.pJ.Jk)}); +H.T.push.apply(H.T,g.HE(N))}; +R33=function(N,H){N=N.flags.get(""+H);return Number(N)||0}; +Ec=function(N){N.T||(N.T=new Map,N.B=0,N.L&&YL(N.L,function(H,c){N.add(r1(H),c)}))}; +oD3=function(N,H,c,t){var h,O,F;return g.Y(function(M){switch(M.T){case 1:if(N.T){M.rE(2);break}return g.a(M,t.importKey("raw",N.B,{name:"HMAC",hash:"SHA-256"},!1,["sign"]),3);case 3:N.T=M.B;case 2:return h=new Uint8Array(H.length+c.length),h.set(H),h.set(c,H.length),O={name:"HMAC",hash:"SHA-256"},g.a(M,t.sign(O,N.T,h),4);case 4:return F=M.B,M.return(new Uint8Array(F))}})}; +kUS=function(N,H,c){return new Promise(function(t,h){function O(){E||(E=new yeS(F.result,{closed:z}));return E} +var F=H!==void 0?self.indexedDB.open(N,H):self.indexedDB.open(N);var M=c.blocked,f=c.blocking,d=c.fMf,W=c.upgrade,z=c.closed,E;F.addEventListener("upgradeneeded",function(x){try{if(x.newVersion===null)throw Error("Invariant: newVersion on IDbVersionChangeEvent is null");if(F.transaction===null)throw Error("Invariant: transaction on IDbOpenDbRequest is null");x.dataLoss&&x.dataLoss!=="none"&&xC("IDB_DATA_CORRUPTED",{reason:x.dataLossMessage||"unknown reason",dbName:EH(N)});var q=O(),r=new qi(F.transaction); +W&&W(q,function(w){return x.oldVersion=w},r); +r.done.catch(function(w){h(w)})}catch(w){h(w)}}); +F.addEventListener("success",function(){var x=F.result;f&&x.addEventListener("versionchange",function(){f(O())}); +x.addEventListener("close",function(){xC("IDB_UNEXPECTEDLY_CLOSED",{dbName:EH(N),dbVersion:x.version});d&&d()}); +t(O())}); +F.addEventListener("error",function(){h(F.error)}); +M&&F.addEventListener("blocked",function(){M()})})}; +Ibs=function(N){var H=g.NA("yt.scheduler.instance.addImmediateJob");H?H(N):N()}; +aq=function(N){this.T=N;this.B=null;this.S=this.L=0;this.TW=!1;this.U=this.C=this.Y=null;this.Z=new g.Cr(this);this.Z.listen(this.T,"readystatechange",this.Bp)}; +lH=function(N){var H=!1,c;return function(){H||(c=N(),H=!0);return c}}; +qi=function(N){var H=this;this.T=N;this.B=new Map;this.aborted=!1;this.done=new Promise(function(c,t){H.T.addEventListener("complete",function(){c()}); +H.T.addEventListener("error",function(h){h.currentTarget===h.target&&t(H.T.error)}); +H.T.addEventListener("abort",function(){var h=H.T.error;if(h)t(h);else if(!H.aborted){h=g.Uz;for(var O=H.T.objectStoreNames,F=[],M=0;M=0}; +hLL=function(N,H,c,t,h,O,F,M,f,d,W,z){if(!wt(c))return new S("Invalid PlayerBytesAdLayoutRenderer");var E=Dd(c);if(E instanceof S)return E;var x={layoutId:c.adLayoutMetadata.layoutId,layoutType:c.adLayoutMetadata.layoutType,Hp:"core"},q=g.P(c.renderingContent,QR);if(!q)return new S("Invalid rendering content for DAI media layout");q=R4(q,!1);W={M7:q,PQ:0,us:W,AM:Math.min(W+q.videoLengthSeconds*1E3,z),RH:new Bq(0,[q.videoLengthSeconds])};var r;z=(r=Number(c.driftRecoveryMs))!=null?r:void 0;H=tCe(H, +c,W,h,z);if(H instanceof S)return H;N=Object.assign({},x,t,{S1:E,renderingContent:c.renderingContent,clientMetadata:new xd(H),z0:q5(O,N)(x),adLayoutLoggingData:c.adLayoutMetadata.adLayoutLoggingData});return(h=l5(F,N,h,f,O,d,M,void 0,!0))?h instanceof S?h:{layout:N,z7:h}:new S("Expecting associatedInPlayerSlot")}; +Out=function(N,H){N=N.C;gJ&&(N+=H-GI);return N}; +MB=function(N,H,c){Ai("pbs",H!=null?H:(0,g.Lh)(),c!=null?c:N.timerName)}; +g.Jr=function(N,H,c){N.T.createIndex(H,c,{unique:!1})}; +FPL=function(){var N=["metadata_type_banner_image_layout_view_model","metadata_type_linked_player_bytes_layout_id"];vR().forEach(function(H){N.push(H)}); +return{lG:N,xH:["LAYOUT_TYPE_COMPANION_WITH_IMAGE"]}}; +qz=function(){var N=arguments,H=nr;N.length>1?H[N[0]]=N[1]:N.length===1&&Object.assign(H,N[0])}; +S$=function(N,H){(N.loader=H)?rY(N,!0):dY(N)}; +Px=function(){this.next=this.scope=this.T=null}; +TOv=function(){var N=Uc(1E3,"NO_BID");return g.XS(DYt([lYe(),N]).lw($03),function(){N.cancel()})}; +s9=function(N){this.T=N;this.B=null}; +Pm=function(N){this.type="";this.state=this.source=this.data=this.currentTarget=this.relatedTarget=this.target=null;this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.ctrlKey=this.altKey=!1;this.rotation=this.clientY=this.clientX=0;this.scale=1;this.changedTouches=this.touches=null;try{if(N=N||window.event){this.event=N;for(var H in N)H in juD||(this[H]=N[H]);this.scale=N.scale;this.rotation=N.rotation;var c=N.target||N.srcElement;c&&c.nodeType==3&&(c=c.parentNode);this.target=c;var t=N.relatedTarget; +if(t)try{t=t.nodeName?t:null}catch(h){t=null}else this.type=="mouseover"?t=N.fromElement:this.type=="mouseout"&&(t=N.toElement);this.relatedTarget=t;this.clientX=N.clientX!=void 0?N.clientX:N.pageX;this.clientY=N.clientY!=void 0?N.clientY:N.pageY;this.keyCode=N.keyCode?N.keyCode:N.which;this.charCode=N.charCode||(this.type=="keypress"?this.keyCode:0);this.altKey=N.altKey;this.ctrlKey=N.ctrlKey;this.shiftKey=N.shiftKey;this.metaKey=N.metaKey;this.T=N.pageX;this.B=N.pageY}}catch(h){}}; +MC3=function(N){this.triggerType="TRIGGER_TYPE_DURATION_AFTER_MEDIA_PAUSED";this.triggerId=N(this.triggerType)}; +fhL=function(N){if(N.T)return N.T;if(N.experimentIds.length<=1)return N.T=N.experimentIds,N.T;var H=[].concat(g.HE(N.experimentIds)).map(function(t){return Number(t)}); +H.sort();for(var c=H.length-1;c>0;--c)H[c]-=H[c-1];N.T=H.map(function(t){return t.toString()}); +N.T.unshift("v1");return N.T}; +d03=function(N,H,c,t,h,O,F,M,f,d,W,z,E){c=Hhv(H,c,t,O,F,M,f,d,W,z,E);if(c instanceof S)return c;N=AB3(H,N,F,h,c);return N instanceof S?N:[].concat(g.HE(N.VL),[N.uC])}; +zLL=function(N,H,c,t){WPl(N,H,c,"skipped",function(){Vu(N,t)})}; +Lr=function(N){return N.AN?g.GU().G0(140)?"STATE_OFF":"STATE_ON":"STATE_NONE"}; +Emw=function(N,H){H.includeDomain&&(N=document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:"")+N);var c=g.YI("XSRF_FIELD_NAME");if(H=H.urlParams)H[c]&&delete H[c],N=Z_(N,H);return N}; +Xg=function(N,H,c,t,h,O,F,M,f){H=CA(N.B.get(),c,H);var d={layoutId:H,layoutType:c,Hp:"core"},W=[new YC(N.T,h,"SLOT_TYPE_PLAYER_BYTES","LAYOUT_TYPE_MEDIA")];f&&W.push(new l8(N.T,f,["normal"]));return{layoutId:H,layoutType:c,S1:new Map,layoutExitNormalTriggers:W,layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],Hp:"core",clientMetadata:new xd([t,new Xe(O),new O4(h)]),z0:F(d),adLayoutLoggingData:M}}; +Ar=function(N){return!!N.videoData.startSeconds&&isFinite(N.videoData.startSeconds)&&N.videoData.startSeconds>1E9}; +x0l=function(N){switch(N){case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;case 5:return 5;case 6:return 6;case 7:return 7;default:Iv(N,"unknown transitionReason")}}; +g.a1=function(N){g.L.call(this);var H=this;this.wE=N;this.Br={d3:function(){return H.wE}}}; +qTD=function(N,H){return H+1=524}; +STt=function(N,H){N.ox||(N.loader?isFinite(N.B)?N.ox=N.loader.seek(N.B-N.timestampOffset,H):(BJ(N.videoData),N.N("html5_unified_live_latency_reporting")&&(N.wE.qx=0),N.ox=yu(N.loader),mc(N.videoData)||(N.B=N.loader.getCurrentTime()+N.timestampOffset)):N.ox=g.GY(N.B-N.timestampOffset));return N.ox}; +U0L=function(N,H){return Pct(N,H)}; +VCy=function(N){return XJS(Object.assign({},N,{qF:N.callback,JZ:function(){}}))}; +LPL=function(N,H,c){if(H&&H.status===204)return!0;switch(N){case "JSON":return!!c;case "XML":return Number(c&&c.return_code)===0;case "RAW":return!0;default:return!!c}}; +R1=function(N){this.hF=oF(N)}; +VZ=function(N,H){return N.mR===H.mR?N.range&&H.range?N.range.start+N.T+N.B===H.range.start+H.T:N.Y_===H.Y_?N.T+N.B===H.T:N.Y_+1===H.Y_&&H.T===0&&N.L:!1}; +eel=function(N,H){this.T=N;this.index=H}; +QOw=function(N,H){function c(t,h){H(t,h)} +if(N.B==null)return!1;N.T=g.Nn(N.B,function(t){return t!=null&&t.iS()}); +N.T&&(N.T.init(c)?Zus(N.T.T):H(N.T.T.YW(),N.T));return N.T!=null}; +YTh=function(N,H){WH(N,{sdpvrq:1});N.Y=Date.now();if(N.B.flavor!=="widevine")N.error("drm.provision",1,"e.flavor;f."+N.B.flavor+";l."+H.byteLength);else{var c={cpn:N.videoData.clientPlaybackNonce};Object.assign(c,N.j.T);c=g.Of("https://www.googleapis.com/certificateprovisioning/v1/devicecertificates/create?key=AIzaSyB-5OLKTx2iU5mko18DfdwK5611JIjbUhE",c);H={format:"RAW",headers:{"content-type":"application/json"},method:"POST",postBody:JSON.stringify({signedRequest:String.fromCharCode.apply(null,H)}), +responseType:"arraybuffer"};g.o1(c,H,3,500).then(ZO(function(t){t=t.xhr;if(!N.uo()){t=new Uint8Array(t.response);var h=String.fromCharCode.apply(null,t);try{var O=JSON.parse(h)}catch(F){}O&&O.signedResponse?(N.publish("ctmp","drminfo",{provisioning:1}),O=(Date.now()-N.Y)/1E3,N.Y=NaN,N.publish("ctmp","provs",{et:O.toFixed(3)}),N.L&&N.L.update(t)):(O=O&&O.error&&O.error.message,t="e.parse",O&&(t+=";m."+O),N.error("drm.provision",1,t))}}),ZO(function(t){N.uo()||N.error("drm.provision",1,"e."+t.errorCode+ +";c."+(t.xhr&&t.xhr.status))}))}}; +ApR=function(N){var H=N.api.J3();N.L!==H&&(N.L=H,YO(N,N.api.getVolume(),N.api.isMuted()))}; +ahy=function(N,H){this.videoData=N;this.T=H}; +eLe=function(N,H){N.publish("settingChange",N.setting+"Override",!H);N.R4.lc()}; +vmS=function(){return"googleAvInapp".replace(/([A-Z])/g,"-$1").toLowerCase()}; +BOt=function(N){var H=H===void 0?!1:H;return vH(kC(N,sul),N,H,"Drm Licensor URL")}; +g.la=function(N,H,c,t,h){H=H===void 0?!1:H;t=t===void 0?!1:t;h=h===void 0?!1:h;g.xo.call(this);this.TW=h;this.C=!1;this.U=new Qz(this);this.S=this.Y=null;this.L=this.B=!1;g.l(this,this.U);this.target=N;this.T=H;this.Z=c||N;this.C=t;H&&(g.K6&&this.target.setAttribute("draggable","true"),h||(this.target.style.touchAction="none"));I1(this)}; +bH=function(N){return N.jY?["OK","LIVE_STREAM_OFFLINE"].includes(N.jY.status):!0}; +yp3=function(N){for(var H={},c=0;c0&&Hkl(N.e_,N.getCurrentTime());N.mediaElement.activate(H);N.Zf&&Fw(4);!N.videoData.Z&&N.playerState.isOrWillBePlaying()&&N.QE.start();if(ikL(N)){var c;if(H=(c=N.mediaElement)==null?void 0:c.audioTracks())H.onchange=function(){N.publish("internalaudioformatchange",N.videoData,!0)}}}; +Q0=function(N){if(!H)var H=window.location.href;var c=g.jp(N)[1]||null,t=g.dD(N);c&&t?(N=g.jp(N),H=g.jp(H),N=N[3]==H[3]&&N[1]==H[1]&&N[4]==H[4]):N=t?g.dD(H)===t&&(Number(g.jp(H)[4]||null)||null)===(Number(g.jp(N)[4]||null)||null):!0;return N}; +Yd=function(N){var H;return!((H=N.playerResponse)==null||!H.compositePlayabilityStatus)}; +pe=function(N){if(N.indexOf(":")>=0)throw Error("Database name cannot contain ':'");}; +p1=function(){var N=this;this.store={};this.T=0;this.B={};this.Br={PNa:function(){return N.T}}}; +tnt=function(N,H,c,t){var h=H*2,O=c*2;return N[h]H+.02&&N.Lq("abh",{bh:H,bhtls:c}),H=Math.max(H,c)));return H}; +g.Sr=function(N,H){this.x=N!==void 0?N:0;this.y=H!==void 0?H:0}; +fje=function(N){for(var H="",c=Object.keys(N),t=0;t0&&H[0]?N.getAutoplayPolicy(H[0]):N.getAutoplayPolicy("mediaelement");if(q8l[c])return q8l[c]}}catch(t){}return"AUTOPLAY_BROWSER_POLICY_UNSPECIFIED"}; +C1L=function(N,H){H=g.K(H);for(var c=H.next();!c.done;c=H.next()){c=c.value;N.j1.SE("ADS_CLIENT_EVENT_TYPE_ENTER_SLOT_REQUESTED",c.slot);for(var t=g.K(N.B),h=t.next();!h.done;h=t.next())h.value.cN(c.slot);try{var O=N.T,F=c.slot,M=FW(O,F);if(!M)throw new S("Got enter request for unknown slot",void 0,"ADS_CLIENT_ERROR_MESSAGE_SLOT_STATE_IS_NULL");if(!M.B)throw new S("Tried to enter slot with no assigned slotAdapter",void 0,"ADS_CLIENT_ERROR_MESSAGE_NO_SLOT_ADAPTER_REGISTERED");if(M.T!=="scheduled")throw new S("Tried to enter a slot from stage: "+ +M.T,void 0,"ADS_CLIENT_ERROR_MESSAGE_ILLEGAL_SLOT_STATE");if(Sx(M))throw new S("Got enter request for already active slot",void 0,"ADS_CLIENT_ERROR_MESSAGE_SLOT_COLLISION");for(var f=g.K(L6(O,F.slotType+"_"+F.slotPhysicalPosition).values()),d=f.next();!d.done;d=f.next()){var W=d.value,z;if(z=M!==W&&Sx(W))h=t=void 0,z=!(((h=M.slot.fulfilledLayout)==null?void 0:h.layoutType)==="LAYOUT_TYPE_VIDEO_INTERSTITIAL_CENTERED"&&((t=W.layout)==null?void 0:t.layoutType)==="LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY"); +if(z)throw new S("Trying to enter a slot when a slot of same type is already active.",{activeSlotStatus:W.T},"ADS_CLIENT_ERROR_MESSAGE_DUPLICATE_SLOT");}}catch(E){E instanceof S&&E.My?(N.j1.Dz("ADS_CLIENT_ERROR_TYPE_ENTER_SLOT_FAILED",E.My,c.slot),KA(E,c.slot,Pe(N.T,c.slot),void 0,E.bH)):(N.j1.Dz("ADS_CLIENT_ERROR_TYPE_ENTER_SLOT_FAILED","ADS_CLIENT_ERROR_MESSAGE_UNEXPECTED_ERROR",c.slot),KA(E,c.slot));xO(N,c.slot,!0);continue}c=FW(N.T,c.slot);c.T!=="scheduled"&&UZ(c.slot,c.T,"enterSlot");c.T="enter_requested"; +c.B.Eo()}}; +g.Iu=function(){return g.$b("cobalt")}; +lje=function(N){if(g.sf("offline_error_handling")){var H=Xw().get("errors",!0)||{};H[N.message]={name:N.name,stack:N.stack};N.level&&(H[N.message].level=N.level);Xw().set("errors",H,2592E3,!0)}}; +Lz=function(N,H){g.e.call(this,{W:"button",fq:["ytp-fullscreen-button","ytp-button"],V:{title:N.N("player_tooltip_data_title_killswitch")?"{{title}}":"","data-tooltip-title":"{{tooltip-title}}","aria-label":"{{aria-label}}","aria-keyshortcuts":"f","data-priority":"12","data-title-no-tooltip":"{{data-title-no-tooltip}}"},Wp:"{{icon}}"});this.J=N;this.B=H;this.message=null;this.T=g.UU(this.B.HH(),this.element);this.L=new g.kT(this.Ju,2E3,this);g.l(this,this.L);this.G(N,"fullscreentoggled",this.fA); +this.G(N,"presentingplayerstatechange",this.Df);this.G(N,"resize",this.Df);this.listen("click",this.onClick);g.Vj()&&(H=this.J.BO(),this.G(H,rBt(),this.dY),this.G(H,K3h(document),this.J2));N.D().UF||N.D().C||this.disable();N.createClientVe(this.element,this,139117);this.Df();this.fA(N.isFullscreen())}; +mmh=function(N,H){k8(N,1,H.Z2s);TY(N,2,H.DPf,g7w,3);TY(N,3,H.coldStartInfo,ruf,3)}; +Zx=function(N){return{itag:IZ(N,1),lmt:IZ(N,2),xtags:fB(N,3)}}; +wmt=function(N,H,c,t){H={opportunityType:H};N&&(t||c)&&(t=g.jm(t||[],function(h){return jD(N,h)}),H.debugData=Object.assign({},c&&c.length>0?{associatedSlotId:c}:{},t.length>0?{slots:t}:{})); +return H}; +Ai=function(N,H,c){return g.Lu(VT)(N,H,c)}; +cZ=function(N){var H,c;return(c=N==null?void 0:(H=N.activeViewTracking)==null?void 0:H.trafficType)!=null?c:"ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"}; +o_e=function(N,H,c,t){var h=Math.min(N.LK,300*N.scale);N.element.style.maxWidth=H?"":h+"px";N.Cq.t2(N.element,N.T,c,N.type===1,t);N.element.style.top?g.bV(N.element,"ytp-bottom"):N.element.style.bottom&&g.bV(N.element,"ytp-top");N.type===3&&N.ox.start()}; +g.Ak=function(N){var H=g.Yi(),c=H.client||{};if(N.forcedExperiments){var t=N.forcedExperiments.split(","),h=[];t=g.K(t);for(var O=t.next();!O.done;O=t.next())h.push(Number(O.value));c.experimentIds=h}if(h=N.homeGroupInfo)c.homeGroupInfo=JSON.parse(h);if(h=N.getPlayerType())c.playerType=h;if(h=N.T.ctheme)c.theme=h;if(h=N.livingRoomAppMode)c.tvAppInfo=Object.assign({},c.tvAppInfo,{livingRoomAppMode:h});h=N.deviceYear;N.N("html5_propagate_device_year")&&h&&(c.tvAppInfo=Object.assign({},c.tvAppInfo,{deviceYear:h})); +if(h=N.livingRoomPoTokenId)c.tvAppInfo=Object.assign({},c.tvAppInfo,{livingRoomPoTokenId:h});H.client=c;h=H.user||{};N.enableSafetyMode&&(h=Object.assign({},h,{enableSafetyMode:!0}));var F;((F=c.tvAppInfo)==null?0:F.usePageidAsHeader)||!N.pageId||(h=Object.assign({},h,{onBehalfOfUser:N.pageId}));H.user=h;return H}; +g.bi=function(N){return N.ox==="embedded"}; +g.u1=function(){var N=g.pB("yt-player-caption-language-preferences");return N?N:[]}; +zsd=function(N,H,c,t){return H&&c.adSlotMetadata.slotType==="SLOT_TYPE_PLAYER_BYTES"&&N instanceof LH?new Hc(function(h){return Ap(t,h)},c.adSlotMetadata.slotId):N}; +QHe=function(N){return Dml(N,function(H){return g.fk(H,"ytp-ad-has-logging-urls")})}; +aY=function(N,H,c,t,h,O,F,M,f){this.slot=H;this.B=c;this.Pp=F;this.k_=M;this.ID=f;this.T=new pme(N,H,t,h,O)}; +ZY=function(N){return Math.max(N.bottom-N.top,0)*Math.max(N.right-N.left,0)}; +ZBR=function(){this.B=this.position=this.L=this.T=this.U=this.width=NaN}; +ex=function(N,H){N=Number(g.Ae(H,N.B,N.L).toFixed(2));H=Math.floor((N+.001)*100%5+2E-15);var c=N;H!==0&&(c=N-H*.01);return Number(c.toFixed(2))}; +Be=function(N){if(N.Y){var H=N.api.getProgressState(),c=N.api.getVideoData();if(!(c&&c.enableServerStitchedDai&&c.Oo)||isFinite(H.current)){var t;if(((t=N.api.getVideoData())==null?0:gz(t))&&H.airingStart&&H.airingEnd)var h=ve(N,H.airingStart,H.airingEnd);else if(N.api.getPresentingPlayerType()===2){var O,F,M;h=(c=(h=N.api.getVideoData())==null?void 0:(O=h.getPlayerResponse())==null?void 0:(F=O.playerConfig)==null?void 0:(M=F.webPlayerConfig)==null?void 0:M.skippableAdProgressBarDuration)?ve(N,H.seekableStart, +c/1E3):ve(N,H.seekableStart,H.seekableEnd)}else h=ve(N,H.seekableStart,H.seekableEnd);O=gy(h,H.loaded,0);H=gy(h,H.current,0);F=N.L.B!==h.B||N.L.T!==h.T;N.L=h;sZ(N,H,O);F&&Heh(N);uAs(N);H=48;h=N.api.D();O=g.Mx(N.api.D().experiments,"delhi_modern_web_player_responsive_compact_controls_threshold");O=N.api.N("delhi_modern_web_player_compact_controls")||O>0&&N.api.getPlayerSize().width<=O;N.api.N("delhi_modern_web_player")?H=N.api.getPlayerSize().width<=528?O?56:64:N.S?O?72:96:O?56:72:N.S?H=54:g.PX(h)&& +!h.B&&(H=40);N.ox=H}}}; +Juw=function(N){BV();switch(XD(N)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null}; +n7D=function(N){/[^a-zA-Z0-9;.!_-]/.test(N)&&(N=N.replace(/[+]/g,"-").replace(/[^a-zA-Z0-9;.!_-]/g,"_"));return N}; +Gey=function(N,H){return(H=yj(N,H))&&N[H]}; +S8f=function(N){var H;return!((H=N.webPlayerContextConfig)==null||!H.enableSelfProfilingLogging)}; +P1w=function(N){N.T||(N.T=!0,N.api.logVisibility(N.element,!0))}; +Xms=function(N){N.C=Error("Cancelled by dispose");N.S.resolve();Umw(N.Y.promise);N.Y.reject(Error("Cancelled by dispose"));N.logger.dispose();Promise.all(N.U).then(function(){var c;return g.Y(function(t){(c=N.B)==null||c.dispose();N.B=void 0;g.Z3(t)})}); +N.U=[];var H;(H=N.T)!=null&&(H.endTimeMs=0,H.yI(1));Umw(N.L.promise);N.L.reject(Error("Cancelled by dispose"))}; +g.Gp=function(N){this.z3=N}; +RY=function(N,H,c,t,h,O,F,M,f){O=O===void 0?!1:O;F=F===void 0?[]:F;f=f===void 0?!1:f;sE.call(this,N,{W:"span",fq:["ytp-ad-hover-text-button"].concat(F)},M===void 0?"ad-hover-text-button":M,H,c,t);this.button=this.B=null;this.Z=O;this.S=h;this.L=f;this.hide()}; +L3w=function(N,H){if(H.length===0||oY(N))return null;N.Es.S.L&&(ki=!0);var c=N.YH;var t=N.lengthSeconds,h=N.isLivePlayback,O=N.K6,F=N.Es,M=Vnf(H);if(h||O){F=F.experiments;t=new IY("",F,!0);t.B=!O;t.K4=!0;t.isManifestless=!0;t.isLive=!O;t.K6=O;H=g.K(H);for(h=H.next();!h.done;h=H.next()){var f=h.value;h=bl(f,c);M=ng(17,f);M=NQ(M.JK||f.url||"",M.Nh,M.s);var d=M.get("id");d&&d.includes("%7E")&&(t.Bp=!0);var W=void 0;d=(W=F)==null?void 0:W.M4("html5_max_known_end_time_rebase");W=Number(f.targetDurationSec|| +5);f=Number(f.maxDvrDurationSec||14400);var z=Number(M.get("mindsq")||M.get("min_sq")||"0"),E=Number(M.get("maxdsq")||M.get("max_sq")||"0")||Infinity;t.rk=t.rk||z;t.Em=t.Em||E;var x=!rP(h.mimeType);M&&XT(t,new HI(M,h,{JJ:W,Q5:x,O9:f,rk:z,Em:E,fU:300,K6:O,yD:d}))}c=t}else if(M==="FORMAT_STREAM_TYPE_OTF"){t=t===void 0?0:t;O=new IY("",F.experiments,!1);O.duration=t||0;F=g.K(H);for(t=F.next();!t.done;t=F.next())t=t.value,H=bl(t,c,O.duration),h=ng(49,t),(h=NQ(h.JK||t.url||"",h.Nh,h.s))&&(H.streamType=== +"FORMAT_STREAM_TYPE_OTF"?XT(O,new i0(h,H,"sq/0")):XT(O,new cI(h,H,t3(t.initRange),t3(t.indexRange))));O.isOtf=!0;c=O}else{t=t===void 0?0:t;O=new IY("",F.experiments,!1);O.duration=t||0;F=g.K(H);for(t=F.next();!t.done;t=F.next())M=t.value,t=bl(M,c,O.duration),H=t3(M.initRange),h=t3(M.indexRange),d=ng(65,M),(M=NQ(d.JK||M.url||"",d.Nh,d.s))&&XT(O,new cI(M,t,H,h));c=O}O=N.isLivePlayback&&!N.K6&&!N.j$&&!N.isPremiere;N.N("html5_live_head_playable")&&(!BJ(N)&&O&&N.Lq("missingLiveHeadPlayable",{}),N.Es.Bp=== +"yt"&&(c.Kq=!0));return c}; +h3=function(N){return function(){return Zk3[N].apply(this,arguments)}}; +w_Z=function(){return new Promise(function(N){var H=window;H.attmp!==void 0?N(H.attmp):(H.attmq===void 0&&(H.attmq=[]),H.attmq.push(function(c){N(c)}))})}; +AuD=function(){var N=O1;this.T=Y8y;this.isRepeated=0;this.B=GL;this.defaultValue=void 0;this.L=N.messageId!=null?oU:void 0}; +$z=function(N,H,c){c!==void 0&&(ajZ(N,H,Math.ceil(Math.log2(c.length*4+2)/7)),hs(N,c.length*1.2),H=F2(c,N.T.subarray(N.pos)),N.pos+H>N.T.length&&(hs(N,H),H=F2(c,N.T.subarray(N.pos))),N.pos+=H,eNs(N))}; +dy=function(N,H){return N.J.D().N(H)}; +NKw=function(N){return N.fields.map(function(H){return H.fieldType})}; +TG=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);wl(this.api,"seekToChapterWithAnimation",function(c){H.seekToChapterWithAnimation(c)}); +wl(this.api,"seekToTimeWithAnimation",function(c,t){H.seekToTimeWithAnimation(c,t)}); +wl(this.api,"renderChapterSeekingAnimation",function(c,t,h){H.api.renderChapterSeekingAnimation(c,t,h)}); +wl(this.api,"setMacroMarkers",function(c){H.setMacroMarkers(N,c)}); +wl(this.api,"changeMarkerVisibility",function(c,t,h){H.changeMarkerVisibility(c,t,h)}); +wl(this.api,"isSameMarkerTypeVisible",function(c){return H.isSameMarkerTypeVisible(c)})}; +v7h=function(){var N=navigator;return new Promise(function(H,c){var t;(t=N.webkitTemporaryStorage)!=null&&t.queryUsageAndQuota?N.webkitTemporaryStorage.queryUsageAndQuota(function(h,O){H({usage:h,quota:O})},function(h){c(h)}):c(Error("webkitTemporaryStorage is not supported."))})}; +sHe=function(N){N=g.K(N);for(var H=N.next();!H.done;H=N.next())if(H.value.audio.audioQuality==="AUDIO_QUALITY_HIGH")return!0;return!1}; +zf=function(N,H){return H>=N.e$()-bC(N)}; +B93=function(N,H,c,t){c.adFormat=c.n4;var h=H.wE;H=new HV(new MA(c,H.j,{getDuration:function(){return c.lengthSeconds}, +getCurrentTime:function(){return h.getCurrentTime()}, +NP:function(){return h.NP()}, +oB:function(){return h.oB()}, +fL:function(){return h.fL()}, +getPlayerSize:function(){return h.getPlayerSize()}, +getAudioTrack:function(){return c.getAudioTrack()}, +getPlaybackRate:function(){return h.getPlaybackRate()}, +CL:function(){return h.CL()}, +getVisibilityState:function(){return h.getVisibilityState()}, +Um:function(){return h.Um()}, +cG:function(){return h.cG()}, +getVolume:function(){return h.getVolume()}, +isMuted:function(){return h.isMuted()}, +yw:function(){return h.yw()}, +pH:function(){return h.pH()}, +getProximaLatencyPreference:function(){return h.getProximaLatencyPreference()}, +Wb:function(){h.Wb()}, +Lq:function(O,F){h.Lq(O,F)}, +LV:function(){return h.LV()}, +HO:function(){return h.HO()}, +gV:function(){return h.gV()}})); +H.B=t;g.l(N,H);return H}; +kq=function(N){N=N||"";var H=yuS();if(H[N])return H[N];var c=jW(),t={timerName:N,info:{},tick:{},span:{},jspbInfo:[]};c.push(t);return H[N]=t}; +GoZ=function(N){N=g.K(N);for(var H=N.next();!H.done;H=N.next())if(H=H.value,H.url&&(H=H.url.split("expire/"),!(H.length<=1)))return+H[1].split("/")[0];return NaN}; +rp=function(N,H){jB||A8 in N||LIl(N,Zve);N[A8]=H}; +MQ=function(N,H,c,t,h,O,F,M){g.L.call(this);var f=this;this.loader=N;this.wk=H;this.videoTrack=c;this.audioTrack=t;this.GW=h;this.Bp=O;this.isAudioOnly=F;this.Z=M;this.B=wv;this.NT=!1;this.logger=new g.mE("sabr");this.TW=this.C=this.ox=this.Us=!1;this.videoInfos=this.Y=this.Bp.videoInfos;this.L=this.Ix=this.Bp.T;this.T=new p6(H,O,function(d,W){f.loader.Lq(d,W)}); +this.isAudioOnly&&kjZ(this,this.GW.T["0"])}; +RN3=function(N,H,c,t,h,O,F){g.vn.call(this,H,c,{id:N,namespace:"ad",priority:h,visible:t,associatedClipId:O,markerPositionMs:F})}; +o7e=function(){this.T={}}; +kot=function(N,H,c){if(!N.T.has(H)){N.T.add(H);var t={};N.params.xA.EF(H,Object.assign({},c,(t.p_ac=N.params.adCpn,t.p_isv=N.params.pOT&&N.params.KG,t)))}}; +yq=function(N,H){for(var c=0;c>1&15)>=6&&N-4<24){(H[38]>=2||((0,H[85])(H[10],H[77]),0))&&(0,H[85])(H[10],H[15]);H[1]<=5&&((((((0,H[13])(H[40],H[10])|((0,H[53])((0,H[43])(),H[16],H[28]),H[83])(H[81],H[61]))*((0,H[39])(H[new c(T[73])/1E3])&(0,H[83])(H[20],H[50])),(0,H[14])(H[73]),H[3])(H[13],H[45]),H[3])(H[66],H[28]),H[3])(H[78],H[59]),1)||((((0,H[15])((0,H[33])((0,H[41])(),H[5],H[6]),H[65],H[13],H[50]),H[15])((0,H[68])(H[26],H[32]),H[65],H[70],H[10]),((0,H[72])(H[78]),H[47])(H[70]),H[15])((0,H[68])(H[77], +H[78]),H[68],H[12],H[32]),H[47])(H[new c(T[87])/1E3]);H[44]>4&&(H[42]>=-4||(((0,H[15])((0,H[3])(H[78],H[67]),H[68],H[49],H[32]),H[33])(H[86],H[77]),0))&&(0,H[8])((0,H[42])(H[55],H[11]),H[42],(0,H[10])((0,H[20])(),H[43],H[70]),H[69],H[63]);H[19]!=6&&(H[5]!==-8?(0,H[72])(((0,H[33])(H[51],H[77]),H[33])(H[71],H[43]),H[79],(0,H[45])(H[31],H[43]),H[45],H[40],H[43]):(0,H[56])((0,H[45])(H[41],H[47]),(0,H[42])(H[9],H[58]),H[79],(0,H[67])(H[55],H[53]),H[49],H[43]));H[3]!=-6&&(H[52]>=7?(0,H[33])(H[68],H[69]): +(0,H[42])(H[43],H[6]));(H[27]==6||((0,H[33])(H[28],H[9]),0))&&(0,H[new c(T[54])/1E3])(H[60],H[55]);H[11]!==-2&&(0,H[79])((0,H[45])(H[57],H[55]),H[11],H[42]);H[69]!==10&&(H[9]==10||((0,H[20])(((((0,H[32])(H[44],H[26]),H[34])(H[56],H[12]),H[66])(H[69],H[52]),H[50])(H[30]),H[75],H[52]),0))&&((0,H[2])((0,H[6337-new c(T[56])/1E3])(),H[56],H[64]),H[2])((0,H[33])(),H[52],H[29])%(0,H[57])(H[52],H[18])%(0,H[2])((0,H[81])(),H[52],H[29])%(0,H[2])((0,H[21])(),H[30],H[29]);var t=[]}if((N+1^4)>=N&&(N+7&55)1&&!!h[1]}N<<2>=21&&(N<<1&16)<6&&H[T[2]]!=0&&(h=Ov(2,c,H),c=h[0]);return t}; +TlS=function(N){return{startTicks:IZ(N,1),jz:IZ(N,2),timescale:IZ(N,3)}}; +wU=function(N,H,c){var t=N.hF;return BB(N,t,t[A8]|0,H,c,void 0===EhZ?2:4,void 0,!1,!0)}; +p9=function(N,H){N.Hr.has(H)&&(DJ?N.Hr.get(H).Hv.clear():N.Hr.get(H).XH=new eB,QM(N,H),N.L=!0)}; +u0=function(N,H,c,t){c=c===void 0?!0:c;t=t===void 0?function(){return!0}:t; +return function(h){var O=h[N];if(Array.isArray(O)&&t(h))return NJS(O,H,c)}}; +g.YPZ=function(N){return N?N==="music"?!0:N.includes("dlt=-1")||!N.includes("dlt="):!1}; +J3=function(N){return N.N("html5_disable_video_player_initiated_seeks")&&AC(N.videoData)}; +jsL=function(N){if(N.wE.RA().isInline())return wv;N=n9[SW()];return g.PI("auto",N,!1,"s")}; +U1=function(N){N.Bp=NaN;N.Z=0;N.C=N.L}; +VM=function(N){g.vs(N.info.mR.info)||N.info.mR.info.RW();if(N.T&&N.info.type===6)return N.T.JJ;if(g.vs(N.info.mR.info)){var H=g.sn(N);var c=0;H=g.Ey(H,1936286840);H=g.K(H);for(var t=H.next();!t.done;t=H.next())t=ayL(t.value),c+=t.RO[0]/t.timescale;c=c||NaN;if(!(c>=0))a:{c=g.sn(N);H=N.info.mR.T;for(var h=t=0,O=0;dJ(c,t);){var F=WB(c,t);if(F.type===1836476516)h=g.ZW(F);else if(F.type===1836019558){!h&&H&&(h=fl(H));if(!h){c=NaN;break a}var M=X2(F.data,F.dataOffset,1953653094),f=M;M=h;var d=X2(f.data, +f.dataOffset,1952868452);f=X2(f.data,f.dataOffset,1953658222);var W=AH(d);AH(d);W&2&&AH(d);d=W&8?AH(d):0;var z=AH(f),E=z&1;W=z&4;var x=z&256,q=z&512,r=z&1024;z&=2048;var w=wm(f);E&&AH(f);W&&AH(f);for(var n=E=0;ndxf||M=zwZ)if(eW++,g.sf("abandon_compression_after_N_slow_zips_lr")){H=eW/az;var d=Eby/g.vI("compression_disable_point");az>0&&az%g.vI("compression_disable_point")===0&&H>=d&&(dM=!1)}else dM=!1;lbD(h)}}N.headers=Object.assign({},{"Content-Encoding":"gzip"},N.headers||{});N.body=O;return N}catch(W){return Uf(W),N}}else return N}; +s1=function(N,H){g.aQ.call(this,"Sleep timer",g.Se.SLEEP_TIMER,N,H);this.J=N;this.Y={};this.L=this.CH("Off");this.U=this.T="";N.N("web_settings_menu_icons")&&(H=N.N("delhi_modern_web_player_icons")?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M12.33 1.00C12.22 1.00 12.11 1.00 12 1C5.92 1 1 5.92 1 12C1 18.07 5.92 23 12 23C13.90 23.00 15.78 22.50 17.44 21.55C19.10 20.61 20.48 19.25 21.46 17.61L21.64 17.29C22.06 16.52 21.21 15.73 20.35 15.88C18.76 16.15 17.12 15.94 15.66 15.27C14.19 14.59 12.97 13.49 12.14 12.11C11.31 10.73 10.91 9.13 11.01 7.52C11.11 5.91 11.69 4.37 12.67 3.09L12.89 2.83C13.45 2.16 13.20 1.03 12.33 1.00ZM15.56 2.60C15.45 2.84 15.43 3.11 15.51 3.36C15.59 3.61 15.77 3.82 16.01 3.94C16.91 4.39 17.73 4.99 18.44 5.71L18.73 6.03L18.80 6.10C18.99 6.27 19.22 6.36 19.47 6.37C19.72 6.37 19.96 6.28 20.15 6.12C20.33 5.95 20.45 5.72 20.48 5.48C20.51 5.23 20.44 4.98 20.29 4.78L20.23 4.70L19.87 4.31C19.01 3.43 18.01 2.70 16.90 2.15C16.67 2.03 16.39 2.01 16.14 2.10C15.89 2.18 15.68 2.36 15.56 2.60M10.24 3.17C9.42 4.64 8.99 6.31 9 8C9 13.42 13.32 17.84 18.71 17.99C17.86 18.93 16.83 19.69 15.67 20.21C14.52 20.73 13.26 21.00 12 21C9.76 21.00 7.60 20.17 5.95 18.67C4.29 17.17 3.25 15.10 3.03 12.88C2.81 10.65 3.43 8.43 4.76 6.63C6.09 4.84 8.05 3.60 10.24 3.17M21.16 7.88C20.93 7.96 20.73 8.12 20.61 8.34C20.49 8.55 20.45 8.81 20.50 9.05L20.53 9.15L20.66 9.56C20.93 10.53 21.04 11.54 20.98 12.55C20.97 12.81 21.06 13.06 21.23 13.26C21.41 13.45 21.65 13.57 21.92 13.59C22.18 13.60 22.44 13.52 22.63 13.34C22.83 13.17 22.95 12.93 22.97 12.67C23.05 11.44 22.92 10.20 22.58 9.02L22.43 8.51L22.39 8.42C22.29 8.19 22.11 8.01 21.88 7.91C21.65 7.81 21.40 7.80 21.16 7.88Z", +fill:"white"}}]}:{W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M16.67,4.31C19.3,5.92,21,8.83,21,12c0,4.96-4.04,9-9,9c-2.61,0-5.04-1.12-6.72-3.02C5.52,17.99,5.76,18,6,18 c6.07,0,11-4.93,11-11C17,6.08,16.89,5.18,16.67,4.31 M14.89,2.43C15.59,3.8,16,5.35,16,7c0,5.52-4.48,10-10,10 c-1,0-1.97-0.15-2.89-0.43C4.77,19.79,8.13,22,12,22c5.52,0,10-4.48,10-10C22,7.48,19,3.67,14.89,2.43L14.89,2.43z M12,6H6v1h4.5 L6,10.99v0.05V12h6v-1H7.5L12,7.01V6.98V6L12,6z",fill:"#fff"}}]},this.setIcon(H)); +this.B=new g.e({W:"div",fq:["ytp-menuitem-label-wrapper"],X:[{W:"div",Wp:"End of video"},{W:"div",fq:["ytp-menuitem-sublabel"],Wp:"{{content}}"}]});g.l(this,this.B);this.listen("click",this.onClick);this.G(N,"videodatachange",this.onVideoDataChange);this.G(N,"presentingplayerstatechange",this.Df);this.G(N,"settingsMenuVisibilityChanged",this.PW);N.createClientVe(this.element,this,218889);this.Df();this.J.QS("onSleepTimerFeatureAvailable")}; +lss=function(N,H,c,t,h){var O=window;var F=F===void 0?!1:F;var M;c?M=(F===void 0?0:F)?"//ep1.adtrafficquality.google/bg/"+Li(c)+".js":"//pagead2.googlesyndication.com/bg/"+Li(c)+".js":M="";F=F===void 0?!1:F;c=O.document;var f={};H&&(f._scs_=H);f._bgu_=M;f._bgp_=t;f._li_="v_h.3.0.0.0";h&&(f._upb_=h);(H=O.GoogleTyFxhY)&&typeof H.push=="function"||(H=O.GoogleTyFxhY=[]);H.push(f);H=jd(c).createElement("SCRIPT");H.type="text/javascript";H.async=!0;N=(F===void 0?0:F)?g.BI(qXD,Li(N)+".js"):g.BI(Cfd,Li(N)+ +".js");g.HR(H,N);(O=(O.GoogleTyFxhYEET||{})[H.src])?O():c.getElementsByTagName("head")[0].appendChild(H)}; +nv=function(N){return{downloadedEndTime:Math.round(N.QL?N.QL.S:0),maxKnownEndTime:Math.round(N.T.index.I$()),averageByteRate:Math.round(N.T.info.H$)}}; +KlS=function(N){switch(N){case "abandon":case "unmuted_abandon":return"abandon";case "active_view_fully_viewable_audible_half_duration":return"fully_viewable_audible_half_duration_impression";case "active_view_measurable":return"measurable_impression";case "active_view_viewable":return"viewable_impression";case "audio_audible":return"audio_audible";case "audio_measurable":return"audio_measurable";case "complete":case "unmuted_complete":return"complete";case "end_fullscreen":case "unmuted_end_fullscreen":return"exitfullscreen"; +case "first_quartile":case "unmuted_first_quartile":return"firstquartile";case "fullscreen":case "unmuted_fullscreen":return"fullscreen";case "impression":case "unmuted_impression":return"impression";case "midpoint":case "unmuted_midpoint":return"midpoint";case "mute":case "unmuted_mute":return"mute";case "pause":case "unmuted_pause":return"pause";case "progress":case "unmuted_progress":return"progress";case "resume":case "unmuted_resume":return"resume";case "swipe":case "skip":case "unmuted_skip":return"skip"; +case "start":case "unmuted_start":return"start";case "third_quartile":case "unmuted_third_quartile":return"thirdquartile";case "unmute":case "unmuted_unmute":return"unmute";default:return null}}; +g.ti=function(N){var H=g.LQ.apply(1,arguments);var c=Error.call(this,N);this.message=c.message;"stack"in c&&(this.stack=c.stack);this.args=[].concat(g.HE(H));Object.setPrototypeOf(this,this.constructor.prototype)}; +gbh=function(N,H){H=String.fromCharCode.apply(null,H);return N==null?H:N+H}; +wG=function(N,H,c){this.triggeringLayoutId=H;this.triggerType="TRIGGER_TYPE_SKIP_REQUESTED";this.triggerId=c||N(this.triggerType)}; +TKv=function(N){var H=H===void 0?51:H;var c=[];wU(N,os,6).forEach(function(t){yM(t,2)<=H&&c.push(yM(t,1))}); +return c}; +rWD=function(N){if(N.range)return N.L;N=N.L4[0];return Math.round(N.C*N.mR.info.OF)}; +GG=function(N,H){H=g.K(H);for(var c=H.next();!c.done;c=H.next()){c=c.value;var t=N.Us.get(c.triggerId);t&&(t.Qe(c),N.Us.delete(c.triggerId))}}; +Rz=function(N,H,c){return new yZ(N,H,c)}; +mz3=function(N){return tK(N)?GV(Yb(N)):GV(oz(N))}; +g.Yi=function(N,H,c){H=H===void 0?!1:H;c=c===void 0?!1:c;var t=g.YI("INNERTUBE_CONTEXT");if(!t)return g.BZ(Error("Error: No InnerTubeContext shell provided in ytconfig.")),{};t=g.DY(t);g.sf("web_no_tracking_params_in_shell_killswitch")||delete t.clickTracking;t.client||(t.client={});var h=t.client;h.clientName==="MWEB"&&h.clientFormFactor!=="AUTOMOTIVE_FORM_FACTOR"&&(h.clientFormFactor=g.YI("IS_TABLET")?"LARGE_FORM_FACTOR":"SMALL_FORM_FACTOR");h.screenWidthPoints=window.innerWidth;h.screenHeightPoints= +window.innerHeight;h.screenPixelDensity=Math.round(window.devicePixelRatio||1);h.screenDensityFloat=window.devicePixelRatio||1;h.utcOffsetMinutes=-Math.floor((new Date).getTimezoneOffset());var O=O===void 0?!1:O;var F=g.GU(),M="USER_INTERFACE_THEME_LIGHT";F.G0(165)?M="USER_INTERFACE_THEME_DARK":F.G0(174)?M="USER_INTERFACE_THEME_LIGHT":!g.sf("kevlar_legacy_browsers")&&window.matchMedia&&window.matchMedia("(prefers-color-scheme)").matches&&window.matchMedia("(prefers-color-scheme: dark)").matches&& +(M="USER_INTERFACE_THEME_DARK");O=O?M:j_h()||M;h.userInterfaceTheme=O;if(!H){if(O=Dat())h.connectionType=O;g.sf("web_log_effective_connection_type")&&(O=pXt())&&(t.client.effectiveConnectionType=O)}var f;if(g.sf("web_log_memory_total_kbytes")&&((f=g.di.navigator)==null?0:f.deviceMemory)){var d;f=(d=g.di.navigator)==null?void 0:d.deviceMemory;t.client.memoryTotalKbytes=""+f*1E6}g.sf("web_gcf_hashes_innertube")&&(O=wRZ())&&(d=O.coldConfigData,f=O.coldHashData,O=O.hotHashData,t.client.configInfo=t.client.configInfo|| +{},d&&(t.client.configInfo.coldConfigData=d),f&&(t.client.configInfo.coldHashData=f),O&&(t.client.configInfo.hotHashData=O));d=g.lN(g.di.location.href);!g.sf("web_populate_internal_geo_killswitch")&&d.internalcountrycode&&(h.internalGeo=d.internalcountrycode);h.clientName==="MWEB"||h.clientName==="WEB"?(h.mainAppWebInfo||(h.mainAppWebInfo={}),h.mainAppWebInfo.graftUrl=g.di.location.href,g.sf("kevlar_woffle")&&jry.instance&&(d=jry.instance,h.mainAppWebInfo.pwaInstallabilityStatus=!d.T&&d.B?"PWA_INSTALLABILITY_STATUS_CAN_BE_INSTALLED": +"PWA_INSTALLABILITY_STATUS_UNKNOWN"),h.mainAppWebInfo.webDisplayMode=o_(),h.mainAppWebInfo.isWebNativeShareAvailable=navigator&&navigator.share!==void 0):h.clientName==="TVHTML5"&&(!g.sf("web_lr_app_quality_killswitch")&&(d=g.YI("LIVING_ROOM_APP_QUALITY"))&&(h.tvAppInfo=Object.assign(h.tvAppInfo||{},{appQuality:d})),d=g.YI("LIVING_ROOM_CERTIFICATION_SCOPE"))&&(h.tvAppInfo=Object.assign(h.tvAppInfo||{},{certificationScope:d}));if(!g.sf("web_populate_time_zone_itc_killswitch")){a:{if(typeof Intl!== +"undefined")try{var W=(new Intl.DateTimeFormat).resolvedOptions().timeZone;break a}catch(A){}W=void 0}W&&(h.timeZone=W)}(W=J2())?h.experimentsToken=W:delete h.experimentsToken;W=nx();kz.instance||(kz.instance=new kz);t.request=Object.assign({},t.request,{internalExperimentFlags:W,consistencyTokenJars:Iz(kz.instance.T)});!g.sf("web_prequest_context_killswitch")&&(W=g.YI("INNERTUBE_CONTEXT_PREQUEST_CONTEXT"))&&(t.request.externalPrequestContext=W);h=g.GU();W=h.G0(58);h=h.get("gsml","");t.user=Object.assign({}, +t.user);W&&(t.user.enableSafetyMode=W);h&&(t.user.lockedSafetyMode=!0);g.sf("warm_op_csn_cleanup")?c&&(H=g.gi())&&(t.clientScreenNonce=H):!H&&(H=g.gi())&&(t.clientScreenNonce=H);N&&(t.clickTracking={clickTrackingParams:N});if(N=g.NA("yt.mdx.remote.remoteClient_"))t.remoteClient=N;b0.getInstance().setLocationOnInnerTubeContext(t);try{var z=AR(),E=z.bid;delete z.bid;t.adSignalsInfo={params:[],bid:E};for(var x=g.K(Object.entries(z)),q=x.next();!q.done;q=x.next()){var r=g.K(q.value),w=r.next().value, +n=r.next().value;z=w;E=n;N=void 0;(N=t.adSignalsInfo.params)==null||N.push({key:z,value:""+E})}var p,U;if(((p=t.client)==null?void 0:p.clientName)==="TVHTML5"||((U=t.client)==null?void 0:U.clientName)==="TVHTML5_UNPLUGGED"){var X=g.YI("INNERTUBE_CONTEXT");X.adSignalsInfo&&(t.adSignalsInfo.advertisingId=X.adSignalsInfo.advertisingId,t.adSignalsInfo.advertisingIdSignalType="DEVICE_ID_TYPE_CONNECTED_TV_IFA",t.adSignalsInfo.limitAdTracking=X.adSignalsInfo.limitAdTracking)}}catch(A){g.BZ(A)}return t}; +$As=function(N,H){if(N.disable)return new Ny;H=H?TKv(H):[];N={LF:N.LF,PB:N.Cj,Th:N.WzW,Iu:N.Iu,Yw:N.Yw,DN:N.DN};H=H===void 0?[]:H;return new HK(N,H)}; +cK=function(N){if(!N.playerResponse)return!1;if(N.BD)return!0;var H=N.videoData.N("html5_onesie_audio_only_playback")&&ix(N.videoData);if(N.oe&&N.qL){if(!N.oe.has(N.bK))return!1;var c=N.oe.get(N.bK),t;if(t=c){t=!1;for(var h=g.K(c.Hr.keys()),O=h.next();!O.done;O=h.next())if(O=c.Hr.get(O.value))for(var F=g.K(O.YU),M=F.next();!M.done;M=F.next())M.value.mD>0&&(O.ll?t=!0:H=!0);t=!(H&&t)}if(t)return!1}N.tN("ofr");N.Kp.resolve(N.playerResponse);if(!N.qh){var f;(f=N.jX)==null||f.start();N.i4.start()}return N.BD= +!0}; +hY=function(N,H){this.T=N===tY&&H||""}; +Dzd=function(N,H){for(var c=new Uint8Array(270),t=0;t<135;t++)c[t*2]=''.charCodeAt(t);N=N.L.createSession("video/mp4",H,c);return new Ol(null,null,null,null,N)}; +g.BZ=function(N,H){var c=c===void 0?{}:c;c.name=g.YI("INNERTUBE_CONTEXT_CLIENT_NAME",1);c.version=g.YI("INNERTUBE_CONTEXT_CLIENT_VERSION");H=H===void 0?"ERROR":H;var t=!1;H=H===void 0?"ERROR":H;t=t===void 0?!1:t;if(N){N.hasOwnProperty("level")&&N.level&&(H=N.level);if(g.sf("console_log_js_exceptions")){var h=[];h.push("Name: "+N.name);h.push("Message: "+N.message);N.hasOwnProperty("params")&&h.push("Error Params: "+JSON.stringify(N.params));N.hasOwnProperty("args")&&h.push("Error args: "+JSON.stringify(N.args)); +h.push("File name: "+N.fileName);h.push("Stacktrace: "+N.stack);window.console.log(h.join("\n"),N)}if(!(QsD>=5)){h=[];for(var O=g.K(pRs),F=O.next();!F.done;F=O.next()){F=F.value;try{F()&&h.push(F())}catch(r){}}h=[].concat(g.HE(uhe),g.HE(h));var M=zJ3(N);O=M.message||"Unknown Error";F=M.name||"UnknownError";var f=M.stack||N.B||"Not available";if(f.startsWith(F+": "+O)){var d=f.split("\n");d.shift();f=d.join("\n")}d=M.lineNumber||"Not available";M=M.fileName||"Not available";var W=0;if(N.hasOwnProperty("args")&& +N.args&&N.args.length)for(var z=0;z=500);z++);else if(N.hasOwnProperty("params")&&N.params){var E=N.params;if(typeof N.params==="object")for(z in E){if(E[z]){var x="params."+z,q=Fn(E[z]);c[x]=q;W+=x.length+q.length;if(W>500)break}}else c.params=Fn(E)}if(h.length)for(z=0;z=500);z++);navigator.vendor&&!c.hasOwnProperty("vendor")&&(c["device.vendor"]=navigator.vendor);c={message:O,name:F,lineNumber:d, +fileName:M,stack:f,params:c,sampleWeight:1};z=Number(N.columnNumber);isNaN(z)||(c.lineNumber=c.lineNumber+":"+z);if(N.level==="IGNORED")N=0;else a:{N=g5();z=g.K(N.jC);for(h=z.next();!h.done;h=z.next())if(h=h.value,c.message&&c.message.match(h.wg)){N=h.weight;break a}N=g.K(N.U9);for(z=N.next();!z.done;z=N.next())if(z=z.value,z.callback(c)){N=z.weight;break a}N=1}c.sampleWeight=N;N=g.K(nbw);for(z=N.next();!z.done;z=N.next())if(z=z.value,z.M5[c.name])for(O=g.K(z.M5[c.name]),h=O.next();!h.done;h=O.next())if(F= +h.value,h=c.message.match(F.BZ)){c.params["params.error.original"]=h[0];O=F.groups;F={};for(d=0;d0&&(H.iR=c.qz));H.KO=c.oI;H.CF=Cd(t,{},c.L||void 0,lx(c));H.Al=ix(c)&&(g.m8(t)||g.tr(t));AC(c)&&(H.S=!0,H.fn=t.N("html5_estimate_live_partial_slice_duration"),g.Iy(t)&&!g.Iu()&&t.N("html5_force_audio_to_cover_video_keyframe")?H.kG=!1:H.kG=!0,M=t.experiments.Zp(), +H.QG||c.isLivePlayback||!M.T.G0(asL)||(H.W9=!0,M=M.T.G0(ews),H.xt=M),t.N("html5_sabr_report_partial_segment_estimated_duration")&&(H.OT=!0),H.T=!0,H.iI=t.N("html5_trigger_loader_when_idle_network"),H.zT=t.N("html5_sabr_parse_live_metadata_playback_boundaries"),H.Ar=t.N("html5_consume_onesie_next_request_policy_for_sabr"),H.FK=t.N("html5_sabr_report_next_ad_break_time"),H.DY=t.N("html5_log_high_res_buffer_timeline")&&t.vO(),H.Mr=t.N("html5_remove_stuck_slices_beyond_max_buffer_limits"),H.l7=t.N("html5_gapless_sabr_btl_last_slice")&& +Vz(c),H.Pt=t.N("html5_reset_last_appended_slice_on_seek")&&Vz(c),WK(c)?(H.Ac=!0,H.EB=t.N("html5_disable_variability_tracker_for_live"),H.w_=!0,t.N("html5_simplified_backup_timeout_sabr_live")&&(H.y5=!0,H.il=H.vM)):H.bX=t.N("html5_probe_request_on_sabr_request_progress"),H.aT=t.N("html5_serve_start_seconds_seek_for_post_live_sabr"),H.G7=t.N("html5_flush_index_on_updated_timestamp_offset"),H.Bp=AC(c),H.i7=t.N("html5_ignore_partial_segment_from_live_readahead"),t.N("html5_include_partial_segment_for_jumbo_ll")&& +gY(c)&&(H.i7=!1),H.O2=t.N("html5_use_non_active_broadcast_for_post_live"),H.gE=t.N("html5_use_centralized_player_time"),H.Uu=t.N("html5_log_centralized_player_time"),H.nO=t.N("html5_consume_onesie_sabr_seek"),H.Us=t.N("html5_enable_sabr_seek_loader_refactor"),H.gz=g.Mx(t.experiments,"html5_sabr_quota_exceeded_retry_buffer_health_secs"),H.U2=t.N("html5_update_segment_start_time_from_media_header"),c.enableServerStitchedDai&&(H.B=!0,H.j2=t.N("html5_reset_server_stitch_state_for_non_sabr_seek"),H.s2= +t.N("html5_remove_ssdai_append_pause")&&!c.vH(),H.n4=t.N("html5_ssdai_log_ssevt_in_loader")||t.N("html5_ssdai_log_ssevt_in_loader_200ms")||t.N("html5_ssdai_log_ssevt_in_loader_timers")||t.N("html5_ssdai_log_ssevt_in_loader_cuerange"),t.N("html5_ssdai_log_ssevt_in_loader_timers")?H.WO=1:t.N("html5_ssdai_log_ssevt_in_loader_200ms")?H.WO=3:t.N("html5_ssdai_log_ssevt_in_loader_cuerange")&&(H.WO=0)),H.kB=t.vO(),H.H9=c.K4()&&t.N("html5_prebuffer_instream_media_live")&&t.N("html5_report_prefetch_requests"), +H.qO=!c.K4()&&t.N("html5_prebuffer_instream_media_vod")&&t.N("html5_report_prefetch_requests"));H.Oc=g.IWd(c);k_(t.S,o4.BITRATE)&&(H.OF=NaN);if(M=g.Mx(t.experiments,"html5_request_size_max_kb"))H.zW=M*1024;t.S.L?H.u1="; "+o4.EXPERIMENTAL.name+"=allowed":t.N("html5_enable_cobalt_tunnel_mode")&&g.Iu()&&(t=o4.TUNNELMODE,H.u1="; "+t.name+"="+t.valid);c=c.serverPlaybackStartConfig;(c==null?0:c.enable)&&(c==null?0:c.playbackStartPolicy)&&(H.wH=!0,Kd(H,c.playbackStartPolicy,2));c=vbS(N);N.HD.removeAll(); +a:{t=N.VR.fP;if(M=N.videoData.videoId)if(h=t.T.get(M)){t.T.remove(M);t=h;break a}t=void 0}N.loader=new g.gL(N,N.YG,H,N.videoData.T,N.videoData.L,rL(N),c,N.videoData.enableServerStitchedDai,t,N.videoData.TW);H=N.videoData.N("html5_disable_preload_for_ssdai_with_preroll")&&N.videoData.isLivePlayback&&N.NF()?!0:N.ME&&mm(N);N.loader.initialize(N.getCurrentTime(),rL(N),H);N.videoData.probeUrl&&(N.loader.UF=N.videoData.probeUrl);if(N.Tk.length||N.ME)N.videoData.cotn||wL(N,!1);S$(N.e_,N.loader);N.z3&&(ssl(N.loader, +new g.Gp(N.z3)),N.Lq("sdai",{sdl:1}));g.Da(N.videoData)&&(N=N.loader,N.policy.Gn=N.policy.yr)}; +Bld=function(N){return{targetAudioReadaheadMs:IZ(N,1),targetVideoReadaheadMs:IZ(N,2),backoffTimeMs:IZ(N,4),playbackCookie:jc(N,7),videoId:fB(N,8)}}; +g.vg=function(){return Date.now()}; +re=function(N,H,c){yWZ(N.YG,H);N.Ix&&(N.Ix.add(Math.ceil(H)-Math.ceil(N.C)),N.Ix.add(Math.max(0,Math.ceil(c/1024)-Math.ceil(N.S/1024))));var t=H-N.C,h=c-N.S;N.Uu=h;N.Al=Math.max(N.Al,h/(t+.01)*1E3);N.C=H;N.S=c;N.NT&&c>N.NT&&IcS(N)}; +H2t=function(N){return N.Y&&Ci(N).size>0}; +pd=function(N,H,c,t,h,O){h=h===void 0?0:h;O=O===void 0?!1:O;g.L.call(this);this.B=N;this.L=!1;this.TW=t;this.Bp=O;this.Y=!1;this.T=null;H>0&&(this.T=new g.kT(this.TC,H,this),g.l(this,this.T));this.S=new g.kT(this.TC,c,this);g.l(this,this.S);this.Z=h3R(this.B,h,1,t);g.l(this,this.Z);this.C=h3R(this.B,0,t,1);g.l(this,this.C);this.U=new Qz;g.l(this,this.U)}; +ux=function(N,H){var c=N.B[H];c&&c.forEach(function(t){try{t()}catch(h){}}); +(c=N.T[H])&&c.forEach(function(t){t()}); +N.T[H]=[]}; +flR=function(N){var H=il();N=H?H.createScript(N):N;return new Q$(N)}; +var iZw=function(N,H){return Hn[T[3]](this,25,N,H)}; +GuL=function(){return"INNERTUBE_API_KEY"in nr&&"INNERTUBE_API_VERSION"in nr}; +obw=function(N,H,c,t,h,O){O=O===void 0?{}:O;var F=H.substring(0,H.length-h.name.length),M,f=(M=O)==null?void 0:M.signal;return oh3(function(d){return new Promise(function(W,z){if(f==null?0:f.aborted){var E=new SB(1,"Aborted");E.cause=f.reason;z(E)}else{var x={},q=Rwf(N,d,F);JY(q,"error",function(r){return void z(r)}); +JY(q,"metadata",function(r){x=r}); +JY(q,"data",function(r){var w=x;w=w===void 0?{}:w;W(new nd(r,w))}); +f&&f.addEventListener("abort",function(){q.cancel();var r=new SB(1,"Aborted");r.cause=f.reason;z(r)})}})},N.uD).call(N,h.C(c,t)).then(function(d){return d.f$E})}; +TY=function(N,H,c,t,h){c&&(ajZ(N,H,h===void 0?3:h),t(N,c),eNs(N))}; +Lud=function(N,H,c,t,h,O,F,M,f,d,W,z){return function(E,x){if(kd(W)&&HW(W))a:{var q=kuw(t,c,W);if(q instanceof S)x=q;else{for(var r=0,w=[],n=[],p=[],U=[],X=[],A=[],R=new So({current:null}),v=new od({current:null}),Nf=!1,Fe=[],tS=0,jh=[],cL=0;cL0?tS:-1;else if(Ks= +g.P(cL,$o)){cL=jih(N,H,c,Ks,O,r,M,v,tS);if(cL instanceof S){x=cL;break a}cL=cL(E);w.push(cL.C2);n=[].concat(g.HE(cL.x3),g.HE(n));p=[].concat(g.HE(cL.N0),g.HE(p));cL.z7&&(Fe=[cL.z7].concat(g.HE(Fe)))}else if(Ks=g.P(cL,PK)){if(x===void 0){x=new S("Composite Survey must already have a Survey Bundle with required metadata.",{instreamSurveyAdRenderer:Ks});break a}cL=NYy(N,H,c,O,Ks,R,M,x,r,dy(W,"supports_multi_step_on_desktop"));if(cL instanceof S){x=cL;break a}cL=cL(E);w.push(cL.C2);cL.z7&&Fe.push(cL.z7); +n=[].concat(g.HE(cL.x3),g.HE(n));p=[].concat(g.HE(cL.N0),g.HE(p));U=[].concat(g.HE(cL.MR),g.HE(U));X=[].concat(g.HE(cL.A6),g.HE(X));A=[R].concat(g.HE(A))}else if(cL=g.P(cL,Ul)){cL=H1l(N,H,c,O,cL,R,M,r);if(cL instanceof S){x=cL;break a}cL=cL(E);w.push(cL.C2);cL.z7&&Fe.push(cL.z7);p=[].concat(g.HE(cL.N0),g.HE(p))}else{x=new S("Unsupported linearAd found in LinearAdSequenceRenderer.");break a}x={Yb:w,layoutExitSkipTriggers:n,layoutExitUserInputSubmittedTriggers:U,layoutExitUserCancelledTriggers:X,layoutExitMuteTriggers:p, +Q3:A,VL:Fe}}}else a:if(r=kuw(t,c,W),r instanceof S)x=r;else{w=0;n=[];p=[];U=[];X=[];A=[];R=[];v=new So({current:null});Nf=new od({current:null});Fe=!1;jh=[];tS=-1;q=g.K(t);for(cL=q.next();!cL.done;cL=q.next())if(cL=cL.value,g.P(cL,h8)){cL=Ist(H,c,g.P(cL,h8),M);if(cL instanceof S){x=cL;break a}cL=cL(E);n.push(cL.C2);p=[].concat(g.HE(cL.x3),g.HE(p));U=[].concat(g.HE(cL.N0),g.HE(U));cL.z7&&(jh=[cL.z7].concat(g.HE(jh)))}else if(g.P(cL,QR)){tS=vq(g.P(cL,QR),c,W);if(tS instanceof sz){x=new S(tS);break a}cL= +new Bq(w,r);cL=bcD(H,tS.layoutId,tS.sz,c,y$(tS.playerVars,tS.A0,F,d,cL),tS.oH,O,cL,M(E),Nf,f.get(tS.sz.externalVideoId),void 0,z);w++;n.push(cL.C2);p=[].concat(g.HE(cL.x3),g.HE(p));U=[].concat(g.HE(cL.N0),g.HE(U));Fe||(R.push(Nf),Fe=!0);tS=(tS=tS.sz.adPodSkipTarget)&&tS>0?tS:-1}else if(g.P(cL,$o)){cL=jih(N,H,c,g.P(cL,$o),O,w,M,Nf,tS);if(cL instanceof S){x=cL;break a}cL=cL(E);n.push(cL.C2);p=[].concat(g.HE(cL.x3),g.HE(p));U=[].concat(g.HE(cL.N0),g.HE(U));cL.z7&&(jh=[cL.z7].concat(g.HE(jh)))}else if(g.P(cL, +PK)){if(x===void 0){x=new S("Composite Survey must already have a Survey Bundle with required metadata.",{instreamSurveyAdRenderer:g.P(cL,PK)});break a}cL=NYy(N,H,c,O,g.P(cL,PK),v,M,x,w,dy(W,"supports_multi_step_on_desktop"));if(cL instanceof S){x=cL;break a}cL=cL(E);n.push(cL.C2);cL.z7&&jh.push(cL.z7);p=[].concat(g.HE(cL.x3),g.HE(p));U=[].concat(g.HE(cL.N0),g.HE(U));X=[].concat(g.HE(cL.MR),g.HE(X));A=[].concat(g.HE(cL.A6),g.HE(A));R=[v].concat(g.HE(R))}else if(g.P(cL,Ul)){cL=H1l(N,H,c,O,g.P(cL,Ul), +v,M,w);if(cL instanceof S){x=cL;break a}cL=cL(E);n.push(cL.C2);cL.z7&&jh.push(cL.z7);U=[].concat(g.HE(cL.N0),g.HE(U))}else{x=new S("Unsupported linearAd found in LinearAdSequenceRenderer.");break a}x={Yb:n,layoutExitSkipTriggers:p,layoutExitUserInputSubmittedTriggers:X,layoutExitUserCancelledTriggers:A,layoutExitMuteTriggers:U,Q3:R,VL:jh}}x instanceof S?E=x:(A=E.slotId,r=x.Yb,w=x.layoutExitSkipTriggers,n=x.layoutExitMuteTriggers,p=x.layoutExitUserInputSubmittedTriggers,U=x.Q3,E=M(E),X=h?h.layoutType: +"LAYOUT_TYPE_COMPOSITE_PLAYER_BYTES",A=h?h.layoutId:CA(H.B.get(),X,A),R={layoutId:A,layoutType:X,Hp:"core"},E={layout:{layoutId:A,layoutType:X,S1:new Map,layoutExitNormalTriggers:[new mR(H.T,A)],layoutExitSkipTriggers:w,layoutExitMuteTriggers:n,layoutExitUserInputSubmittedTriggers:p,layoutExitUserCancelledTriggers:[],Hp:"core",clientMetadata:new xd([new Xn(r)].concat(g.HE(U))),z0:E(R)},VL:x.VL});return E}}; +g.VD=function(N){g.d9.call(this);this.headers=new Map;this.Ix=N||null;this.L=!1;this.T=null;this.Z="";this.B=0;this.U="";this.S=this.ox=this.TW=this.Us=!1;this.Bp=0;this.Y=null;this.NT="";this.C=!1}; +g.Cr=function(N){g.L.call(this);this.B=N;this.T={}}; +Y1=function(N,H,c){H.Oz().currentState>=2||(H.BH(H.dE(),c),Ld(H.Oz())&&(Za(N.HL,N.slot,H.dE(),c),N.PU=void 0))}; +Syt=function(N,H){try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(N,H===void 0?"":H))return!0}catch(c){}return!1}; +i1S=function(N){for(var H=g.K(N.B),c=H.next();!c.done;c=H.next())c=c.value,c.detach(),g.ez(c);N.B=[]}; +ZVS=function(N){AY(N.Y,"data",function(H){if("1"in H){var c=H["1"];try{var t=N.C(c)}catch(h){en(N,new SB(13,"Error when deserializing response data; error: "+h+(", response: "+c)))}t&&c9Z(N,t)}if("2"in H)for(H=tUe(N,H["2"]),c=0;c96E3&&(new g.kT(N.reportStats,0,N)).start()}}; +qIv=function(N){var H=new Uint8Array(32),c=64-N.B;N.B>55&&(c+=64);var t=new Uint8Array(c);t[0]=128;for(var h=N.U*8,O=1;O<9;O++){var F=h%256;t[c-O]=F;h=(h-F)/256}N.update(t);for(c=0;c<8;c++)H[c*4]=N.T[c]>>>24,H[c*4+1]=N.T[c]>>>16&255,H[c*4+2]=N.T[c]>>>8&255,H[c*4+3]=N.T[c]&255;x9R(N);return H}; +CCZ=function(){return!!g.pB("yt-player-headers-readable")}; +liL=function(N,H,c){var t=[];return g.TD(N,{query:H},function(h){if(!(c!==void 0&&t.length>=c))return t.push(h.getValue()),g.oO(h)}).then(function(){return t})}; +bx=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);N.N("html5_show_drc_toggle")&&N.addEventListener("settingsMenuInitialized",function(){H.menuItem||(H.menuItem=new IB(H.api,H.setDrcUserPreference.bind(H),H.getDrcUserPreference.bind(H),H.Ty.bind(H),H.getDrcState.bind(H)),g.l(H,H.menuItem))}); +wl(this.api,"setDrcUserPreference",function(t){H.setDrcUserPreference(t)}); +wl(this.api,"getDrcUserPreference",function(){return H.getDrcUserPreference()}); +wl(this.api,"hasDrcAudioTrack",function(){return H.Ty()}); +wl(this.api,"getDrcState",function(){return H.getDrcState()}); +var c;this.T=(c=g.pB("yt-player-drc-pref"))!=null?c:1;this.updateEnvironmentData()}; +Vy=function(N){return N.api.N("delhi_modern_web_player")?4:N.S?3:2}; +KAf=function(N,H,c){return c.renderingContent===void 0&&c.layoutId!==Nl(N,H,c)?(KA("onSkipWithAdPodSkipTargetRequested for a PlayerBytes layout that is not currently active",N.y4(),N.dE(),{requestingSlot:H,requestingLayout:c}),!1):!0}; +i4=function(N,H,c,t,h,O,F){t=t===void 0?!1:t;h=h===void 0?!1:h;F=F===void 0?!0:F;h||(h=N.api.D().U);var M=N.api.getVideoData();H=g.Df(g.Ht[H]||"",t?{CPN:M.clientPlaybackNonce}:{}).split(/\$(BEGIN|END)_LINK/);t=[];O&&t.push({W:"h2",Wp:O});t.push(H[0]);F&&t.push({W:"br"});t.push({W:"a",V:{href:c,target:h?"_blank":null},K:"ytp-error-link",Wp:H[2]});N.L=!0;t.push(H[4]);return{W:"span",X:t}}; +gXh=function(){}; +r9D=function(N,H){var c=N.VW;N.VW=function(){c();H()}}; +LT3=function(N,H){return""+N+"|"+(H?"v":"a")}; +m9w=function(N,H,c){this.sW=N;this.Ok=H;this.metadata=c}; +var Iky=function(N,H){return Sc[T[3]](this,4,N,H)}; +g.B$=function(N,H,c,t){t?N.TW[t]=N.L:N.TW=[N.L];N.Y=H||0;N.S=c||0}; +g.et=function(N,H){N.updateValue("label",H)}; +ct=function(N,H){H=H===void 0?240:H;g.e.call(this,{W:"button",fq:["ytp-button","ytp-search-button"],V:{title:N.N("player_tooltip_data_title_killswitch")?"Search":"","data-tooltip-title":"Search","data-tooltip-opaque":String(g.PX(N.D()))},X:[{W:"div",K:"ytp-search-icon",Wp:"{{icon}}"},{W:"div",K:"ytp-search-title",Wp:"Search"}]});this.api=N;this.B=H;this.visible=!1;this.updateValue("icon",{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 24 24",width:"100%"},X:[{W:"path",K:"ytp-svg-fill",V:{d:"M21.24,19.83l-5.64-5.64C16.48,13.02,17,11.57,17,10c0-3.87-3.13-7-7-7s-7,3.13-7,7c0,3.87,3.13,7,7,7 c1.57,0,3.02-0.52,4.19-1.4l5.64,5.64L21.24,19.83z M5,10c0-2.76,2.24-5,5-5s5,2.24,5,5c0,2.76-2.24,5-5,5S5,12.76,5,10z"}}]}); +N.createClientVe(this.element,this,184945);this.listen("click",this.onClick);this.T();this.G(N,"appresize",this.T);this.G(N,"videodatachange",this.T);XW(N,this.element,this)}; +g.mx=function(N,H){return(H||document).getElementsByTagName(String(N))}; +CK=function(N){this.hF=oF(N)}; +Fw=function(N){var H=g.NA("yt.scheduler.instance.setPriorityThreshold");H&&H(N)}; +tN=function(N){var H=N.Pp.get();return y2(H,N.C)}; +hN=function(N){this.hF=oF(N)}; +D9v=function(N,H){var c=new w$3;g.OY(N.xhr,"complete",function(){if(bf(N.xhr)){var t=g.$r(N.xhr);if(H&&N.xhr.getResponseHeader("Content-Type")==="text/plain"){if(!atob)throw Error("Cannot decode Base64 response");t=atob(t)}try{var h=N.C(t)}catch(M){en(N,Fl(new SB(13,"Error when deserializing response data; error: "+M+(", response: "+t)),c));return}t=Tnf(N.xhr.getStatus());aB(N,eo(N));t===0?c9Z(N,h):en(N,Fl(new SB(t,"Xhr succeeded but the status code is not 200"),c))}else{t=g.$r(N.xhr);h=eo(N);if(t){var O= +tUe(N,t);t=O.code;var F=O.details;O=O.metadata}else t=2,F="Rpc failed due to xhr error. uri: "+String(N.xhr.Z)+", error code: "+(N.xhr.B+", error: ")+N.xhr.getLastError(),O=h;aB(N,h);en(N,Fl(new SB(t,F,O),c))}})}; +p$h=function(N){var H,c;g.Y(function(t){if(t.T==1)return g.a(t,QmZ(N),2);H=t.B;c=(0,g.Lh)()-2592E6;return g.a(t,g.zu(H,["SWHealthLog"],{mode:"readwrite",Zt:!0},function(h){return g.TD(h.objectStore("SWHealthLog"),{},function(O){if(O.getValue().timestamp<=c)return O.delete().then(function(){return g.oO(O)})})}),0)})}; +j_=function(N,H){return g.Lu(function(){var c=$F(H);return N in c})()}; +uah=function(N,H){N.L.some(function(c){var t;return((t=c.X3)==null?void 0:t.getId())===H}); +N.T=H}; +eA=function(N){var H=lQ(N.clientMetadata,"metadata_type_ad_placement_config");N=lQ(N.clientMetadata,"metadata_type_media_sub_layout_index");return{adPlacementConfig:H,ix:N}}; +PMR=function(N){N=String(N);return"0000000".slice(N.length)+N}; +J93=function(N){var H,c,t,h=(H=N.playerResponse)==null?void 0:(c=H.playerConfig)==null?void 0:(t=c.compositeVideoConfig)==null?void 0:t.sourceConfigs,O,F,M;N=(O=N.playerResponse)==null?void 0:(F=O.playerConfig)==null?void 0:(M=F.compositeVideoConfig)==null?void 0:M.defaultActiveSourceVideoId;if(!h||!h.length)return"";N||(N=h[0].videoId||"");h=g.K(h);for(O=h.next();!O.done;O=h.next())if(O=O.value,O.videoId===N&&O.audioTracks)for(O=g.K(O.audioTracks),F=O.next();!F.done;F=O.next())if(F=F.value,F.isDefaultForSource)return F.id|| +"";return""}; +SIL=function(N,H,c){nXl(N.T,function(t){return t.gs>=H&&t.m9<=c})}; +PCy=function(N,H,c){if(c){var t="";hav(N,H)&&(t=H,N.api.D().w_=H);if(t&&k3t(N,t)){bih(N.api,t);var h;pq(uJ(N.api.D(),(h=N.api.getVideoData())==null?void 0:g.JO(h)),function(O){var F=t;oye(O)!==F&&uu3(N,c5(O),{stringValue:F})})}}}; +Ml=function(N,H,c,t,h,O){g.xo.call(this);var F=this;this.q4=N;this.YP=H;this.id=c;this.containerType=t;this.T0=h;this.KG=O;this.H5=this.U3=this.QL=null;this.XX=!1;this.appendWindowStart=this.timestampOffset=0;this.t_=TC([],[]);this.ET=!1;this.L5=[];this.Ut=jg?[]:void 0;this.handler=function(f){return F.publish(f.type,F)}; +var M;if((M=this.q4)==null?0:M.addEventListener)this.q4.addEventListener("updateend",this.handler),this.q4.addEventListener("error",this.handler)}; +nR=function(N,H,c,t,h){N={retry:!0,onSuccess:c,onError:t,networklessOptions:N,dangerousLogToVisitorSession:H,m3s:!!h,headers:{},postBodyFormat:"",postBody:"",compress:g.sf("compress_gel")||g.sf("compress_gel_lr")};$W()&&(N.headers["X-Goog-Request-Time"]=JSON.stringify(Math.round((0,g.Lh)())));return N}; +fW=function(N){var H=N.T.wr();H=H.isView()?H.start:0;var c=N.T.getVideoData().isLivePlayback?Infinity:N.T.VQ(!0);c=Math.min(N.Km/1E3,c)+H;var t=N.Z?100:0;N=c-N.B.NP()+t;return{FG:H,o1:N,xQ:c,Jz:Infinity}}; +DfD=function(N){if(N.nodeType==1)return LYy(N);N=N.changedTouches?N.changedTouches[0]:N;return new g.Sr(N.clientX,N.clientY)}; +db=function(N){qyR(N);U9D();X$y();N||(g.YI("TIMING_ACTION")&&qz("PREVIOUS_ACTION",g.YI("TIMING_ACTION")),qz("TIMING_ACTION",""))}; +VUD=function(N,H){N.lN.T===2&&H!==N.sG()&&KA("onClipEntered: unknown cpn",N.slot,N.layout,{cpn:H})}; +LAL=function(N){this.L=N;this.T=-1;this.B=this.U=0}; +Wt=function(N){var H,c,t;return((H=N.J.getVideoData(1).getPlayerResponse())==null?void 0:(c=H.playerConfig)==null?void 0:(t=c.daiConfig)==null?void 0:t.enableServerStitchedDai)||!1}; +Z1R=function(N){(N=N.xl())&&N.Xe()}; +Hd=function(N){jQ3.call(this,Error(N),{message:N})}; +VTl=function(N,H){var c;return g.Y(function(t){if(!H)return t.return(H);c=new g.x8(N.B);return t.return(c.encrypt(H,N.T))})}; +g.DO=function(N,H,c){j_(N,c)||OZ(N,H,c);j_(N,"video_to_ad")||OZ(N,H,"video_to_ad");j_(N,"ad_to_video")||OZ(N,H,"ad_to_video");j_(N,"ad_to_ad")||OZ(N,H,"ad_to_ad")}; +YId=function(N){this.wE=N;this.T=new Map}; +A9D=function(){var N={values:{},Gl:{}};try{var H=JSON.parse(JSON.parse(window.localStorage["yt-player-memory"]).data);N.values=H.values;N.halfLives=H.halfLives}catch(c){}return N}; +eKZ=function(N,H){H<0||(N.B.forEach(function(c){aiZ(c,H)}),N.timestampOffset=H)}; +AV3=function(N,H,c){this.T=N;this.slot=H;this.layout=c}; +zC=function(N){return N.policy.H9||N.policy.qO}; +vXR=function(N){if(!N.T){var H=g.Js(function(t){var h=(0,g.Lh)();t&&h<=631152E6&&(N.wE.Lq("ytnerror",{issue:28799967,value:""+h}),h=(new Date).getTime()+2);return h},N.j.N("html5_validate_yt_now")),c=H(); +N.T=function(){return Math.round(H()-c)/1E3}; +N.wE.Wb()}return N.T}; +smw=function(N){var H=["o","a","A"];N.Cq===1&&(N.U&&(H=["mac3","MAC3"].concat(H)),N.S&&(H=["meac3","MEAC3"].concat(H)),N.Uu&&(H=["i","I"].concat(H)));N.Bp&&(H=["so","sa"].concat(H));!N.mz||N.gE||N.L||N.Oc||H.unshift("a");N.L&&(H=(vvS[N.L]||[N.L]).concat(H));return H}; +xF=function(){var N=EY();try{var H=N.muted;N.muted=!H;return N.muted!==H}catch(c){}return!1}; +CW=function(){var N;return(N=ql())==null?void 0:N.get("LAST_RESULT_ENTRY_KEY",!0)}; +jW=function(){var N=g.NA("ytcsi.debug");N||(N=[],g.Hw("ytcsi.debug",N),g.Hw("ytcsi.reference",{}));return N}; +fsv=function(N){var H=0;return function(){return H>6|192:((h&64512)==55296&&t+1>18|240,H[c++]=h>>12&63|128):H[c++]=h>>12|224,H[c++]=h>>6&63|128),H[c++]=h&63|128)}return H}; +g.m5=function(N,H){if(!N||!H)return!1;if(N.contains&&H.nodeType==1)return N==H||N.contains(H);if(typeof N.compareDocumentPosition!="undefined")return N==H||!!(N.compareDocumentPosition(H)&16);for(;H&&N!=H;)H=H.parentNode;return H==N}; +ee=function(N){var H=N.J.getRootNode();return N.J.N("web_watch_pip")||N.J.N("web_shorts_pip")?fh(H):document}; +y9s=function(N){switch(N){case "abandon":return"unmuted_abandon";case "active_view_fully_viewable_audible_half_duration":return null;case "active_view_measurable":return null;case "active_view_viewable":return null;case "audio_audible":return null;case "audio_measurable":return null;case "channel_clickthrough":return null;case "clickthrough":return"unmuted_clickthrough";case "close":return"unmuted_close";case "companion_engagement":return null;case "complete":return"unmuted_complete";case "end_fullscreen":return"unmuted_end_fullscreen"; +case "error":return"unmuted_error";case "first_quartile":return"unmuted_first_quartile";case "fullscreen":return"unmuted_fullscreen";case "impression":return"unmuted_impression";case "midpoint":return"unmuted_midpoint";case "mute":return"unmuted_mute";case "pause":return"unmuted_pause";case "progress":return"unmuted_progress";case "resume":return"unmuted_resume";case "rewind":return null;case "skip":return"unmuted_skip";case "swipe":return null;case "start":return"unmuted_start";case "third_quartile":return"unmuted_third_quartile"; +case "unmute":return"unmuted_unmute";case "seek":return null;case "unmuted_abandon":case "unmuted_clickthrough":case "unmuted_complete":case "unmuted_end_fullscreen":case "unmuted_error":case "unmuted_first_quartile":case "unmuted_fullscreen":case "unmuted_impression":case "unmuted_midpoint":case "unmuted_mute":case "unmuted_pause":case "unmuted_close":case "unmuted_progress":case "unmuted_resume":case "unmuted_start":case "unmuted_third_quartile":case "unmuted_unmute":case "unmuted_skip":return null; +default:return null}}; +b13=function(){this.L=void 0;this.B=this.Y=0;this.S=-1;this.Ce=new yC;x_(this.Ce,"mv",G6y).T=!0;x_(this.Ce,"omid",qw);x_(this.Ce,"epoh",qw).T=!0;x_(this.Ce,"epph",qw).T=!0;x_(this.Ce,"umt",qw).T=!0;x_(this.Ce,"phel",qw).T=!0;x_(this.Ce,"phell",qw).T=!0;x_(this.Ce,"oseid",RKv).T=!0;var N=this.Ce;N.T.sloi||(N.T.sloi=new hv);N.T.sloi.T=!0;x_(this.Ce,"mm",wb);x_(this.Ce,"ovms",oXe).T=!0;x_(this.Ce,"xdi",qw).T=!0;x_(this.Ce,"amp",qw).T=!0;x_(this.Ce,"prf",qw).T=!0;x_(this.Ce,"gtx",qw).T=!0;x_(this.Ce, +"mvp_lv",qw).T=!0;x_(this.Ce,"ssmol",qw).T=!0;x_(this.Ce,"fmd",qw).T=!0;x_(this.Ce,"gen204simple",qw);this.T=new k6v(jl(),this.Ce);this.U=!1;this.flags=new Ii3}; +N13=function(N,H,c){this.callback=N;this.slot=H;this.k_=c}; +X2=function(N,H,c){for(;dJ(N,H);){var t=WB(N,H);if(t.type===c)return t;H+=t.size}return null}; +DD=function(N,H){function c(){var h;return g.Y(function(O){h=t-Date.now();return h<1E3?g.a(O,Haw(N),0):(Un(c,0,Math.min(h,6E4)),O.rE(0))})} +var t=Date.now()+H;c()}; +iat=function(N){g.Hw("yt.abuse.playerAttLoaderRun",N)}; +eRL=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x){H=Lud(N,H,c,h,O,F,f,d,W,z,E,x);ZRw(h)?(h=czw(N,c,F,M),h instanceof S?N=h:(M=lS(N.B.get(),"SLOT_TYPE_IN_PLAYER"),f=CA(N.B.get(),"LAYOUT_TYPE_SURVEY",M),F=[].concat(g.HE(h.slotExpirationTriggers),[new wX(N.T,f)]),M=H({slotId:h.slotId,slotType:h.slotType,slotPhysicalPosition:h.slotPhysicalPosition,Hp:h.Hp,slotEntryTrigger:h.slotEntryTrigger,slotFulfillmentTriggers:h.slotFulfillmentTriggers,slotExpirationTriggers:F},{slotId:M,layoutId:f}),N=M instanceof S?M:{uC:{slotId:h.slotId, +slotType:h.slotType,slotPhysicalPosition:h.slotPhysicalPosition,slotEntryTrigger:DB(N,c,h.slotId,h.slotEntryTrigger),slotFulfillmentTriggers:Qq(N,c,h.slotId,h.slotFulfillmentTriggers),slotExpirationTriggers:F,Hp:h.Hp,clientMetadata:new xd([new uS(Jh(c)),new pZ(M.layout),new nZ({w2:N.w2(c)})]),adSlotLoggingData:t},VL:M.VL})):N=tGs(N,c,F,M,t,f.K4,H);return N instanceof S?N:N.VL.concat(N.uC)}; +pW=function(N,H,c,t){Qt.call(this,N,0,void 0,H,!(t===void 0||!t));for(N=0;N0?(N="sms:"+N[0],t.messageText&&(N+="?&body="+encodeURI(t.messageText))):N="",this.DI=!0,g.eV(this.button,g.G6(N,[FkR]))):(c=g.P(c,$Fy))&&!this.B&&(N=c.phoneNumber? +"tel:"+c.phoneNumber:"",this.DI=!0,g.eV(this.button,g.G6(N,[T1L])));this.J.N("embeds_enable_info_panel_dismissal")&&!N&&(c=g.P(H==null?void 0:H.onTap,xR),t=g.P(c,UY))&&(this.DI=!0,this.T=c,this.feedbackToken=t.feedbackToken);var h;if(c=(h=H.disclaimerText)==null?void 0:h.content){this.button.style.borderBottom="1px solid white";this.button.style.paddingBottom="16px";var O,F;this.update({label:(O=H.bodyText)==null?void 0:O.content,icon:this.J.N("embeds_enable_info_panel_dismissal")?xAS((F=H.icon)== +null?void 0:F.iconType):Vv(),disclaimer:c})}else{this.disclaimer.style.display="none";var M,f;this.update({label:(M=H.bodyText)==null?void 0:M.content,icon:this.J.N("embeds_enable_info_panel_dismissal")?xAS((f=H.icon)==null?void 0:f.iconType):Vv()})}this.J.setTrackingParams(this.element,H.trackingParams||null);this.DI&&(this.L={externalLinkData:{url:N}})}; +g.P=function(N,H){if(N)return N[H.name]}; +oye=function(N){N=c5(N);var H=QI();N=H?H.get(N):void 0;return N&&N.stringValue?N.stringValue:""}; +Vt=function(N,H){g.eU(N.T,"margin-right",H+"px")}; +g.ZD=function(N){var H,c=H=0,t=!1;N=N.split(j9l);for(var h=0;h.4?-1:1;return(H==0?null:H)==-1?"rtl":"ltr"}; +YF=function(N,H,c){var t=N.api.getCurrentTime(),h=Wks(N,t);N=Wks(N,t+H);return{startMediaTimeMs:h,endMediaTimeMs:N,seekSource:c}}; +YUR=function(N,H){N=N.app.x_();var c=N.getPlayerState();H.isOrWillBePlaying()&&!c.isOrWillBePlaying()?N.playVideo():H.isPaused()&&!c.isPaused()&&N.pauseVideo()}; +qLv=function(N,H,c,t,h){var O=(4-(r7.length+c.length)%4)%4,F=new Uint8Array(4+O+r7.length+4+c.length),M=new DataView(F.buffer),f=0;M.setUint32(f,Math.random()*4294967295);f=f+4+O;F.set(r7,f);f+=r7.length;M.setUint32(f,h);F.set(c,f+4);bRv(F,t);return N.X1(H,function(d){return void globalThis.sessionStorage.removeItem(d)})?zE3(H,g.Eq(F))?"s":"t":"i"}; +Tj=function(){return{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}}; +QW=function(N,H,c){AN.push({payloadName:N,payload:c,tS_:void 0,options:H});aj||(aj=LMv())}; +Zc=function(N){var H={duration:null,preview:null,text:null,title:null,"tooltip-title":null,url:null,"data-title-no-tooltip":null,"aria-keyshortcuts":null},c=N.playlist!=null&&N.playlist.hasNext();c=g.eg(N.J)&&(!N.T||c);var t=N.T&&g.rz(N.J),h=Eqe(N),O=N.T&&N.J.getPresentingPlayerType()===5,F=g.EC(N.J,"Next","SHIFT+n"),M=g.EC(N.J,"Previous","SHIFT+p");if(O)H.title="Start video",H["tooltip-title"]="Start video";else if(N.L)H.title="Replay",H["tooltip-title"]="Replay";else if(c){var f=null;N.playlist&& +(f=g.rT(N.playlist,N.T?AHD(N.playlist):Gxs(N.playlist)));if(f){if(f.videoId){var d=N.playlist.listId;H.url=N.J.D().getVideoUrl(f.videoId,d?d.toString():void 0)}H.text=f.title;H.duration=f.lengthText?f.lengthText:f.lengthSeconds?g.ba(f.lengthSeconds):null;H.preview=f.Ds("mqdefault.jpg")}N.T?(H.title=F,H["tooltip-title"]=F,H["data-title-no-tooltip"]="Next",H["aria-keyshortcuts"]="SHIFT+n"):(H.title=M,H["tooltip-title"]=M,H["data-title-no-tooltip"]="Previous",H["aria-keyshortcuts"]="SHIFT+p")}else if(t){if(M= +(f=N.videoData)==null?void 0:g.ZJ(f))H.url=M.ZD(),H.text=M.title,H.duration=M.lengthText?M.lengthText:M.lengthSeconds?g.ba(M.lengthSeconds):null,H.preview=M.Ds("mqdefault.jpg");H.title=F;H["tooltip-title"]=F;H["data-title-no-tooltip"]="Next";H["aria-keyshortcuts"]="SHIFT+n"}H.disabled=!t&&!c&&!h&&!O;N.update(H);N.Y=!!H.url;t||c||N.L||h||O?N.B||(N.B=g.UU(N.tooltip,N.element),N.S=N.listen("click",N.onClick,N)):N.B&&(N.B(),N.B=null,N.G3(N.S),N.S=null);N.tooltip.oo();g.QH(N.element,"ytp-playlist-ui", +N.T&&(c||N.J.N("web_hide_next_button")))}; +vt=function(N,H){return g.jm(H,N.B).join(",")}; +yBR=function(N,H,c){function t(){c(N.error);h()} +function h(){try{N.removeEventListener("success",O),N.removeEventListener("error",t)}catch(F){}} +function O(){H(N.result);h()} +N.addEventListener("success",O);N.addEventListener("error",t)}; +T5R=function(){this.L=!0;this.B=0;this.T=""}; +sY=function(N,H){if(typeof H!=="number"||H<0||H>=N.length)throw Error();}; +Bt=function(N,H,c){c=c===void 0?!1:c;N.T.has(H)?Ba(N,H,[]):N.xG(H,c)}; +xFw=function(){}; +gmy=function(N,H,c,t,h){h=xNs(h,H);T0(N,c,t,h);h&&!bN(h)&&my(N.hF);return N}; +pl=function(){return g.sf("idb_immediate_commit")}; +g.Rj=function(N,H){var c=H.format||"JSON";N=Emw(N,H);var t=qWh(N,H),h=!1,O=C83(N,function(f){if(!h){h=!0;M&&g.wi(M);var d=g.GC(f),W=null,z=400<=f.status&&f.status<500,E=500<=f.status&&f.status<600;if(d||z||E)W=L0S(N,c,f,H.convertToSafeHtml);d&&(d=LPL(c,f,W));W=W||{};z=H.context||g.di;d?H.onSuccess&&H.onSuccess.call(z,f,W):H.onError&&H.onError.call(z,f,W);H.onFinish&&H.onFinish.call(z,f,W)}},H.method,t,H.headers,H.responseType,H.withCredentials,!1,H.onProgress); +t=H.timeout||0;if(H.onTimeout&&t>0){var F=H.onTimeout;var M=g.Zh(function(){h||(h=!0,O.abort(),g.wi(M),F.call(H.context||g.di,O))},t)}return O}; +oj=function(N,H){g.e.call(this,{W:"div",fq:["ytp-overlay","ytp-speedmaster-overlay"],X:[{W:"div",K:"ytp-speedmaster-user-edu",X:[{W:"div",K:"ytp-speedmaster-label",Wp:H},{W:"div",K:"ytp-speedmaster-icon",Wp:"{{icon}}"}]}]});this.J=N;this.T=this.Sa("ytp-speedmaster-user-edu");this.updateValue("icon",oWy());g.bV(this.T,"ytp-speedmaster-has-icon");this.J.createClientVe(this.T,this,173040,!0);this.oA()}; +Hc=function(N,H){this.slotId=H;this.triggerType="TRIGGER_TYPE_AD_BREAK_STARTED";this.triggerId=N(this.triggerType)}; +KkS=function(N,H,c){if(!N||!H)return!1;H=kF(N.clone(),-H.left,-H.top);N=(H.left+H.right)/2;H=(H.top+H.bottom)/2;WV(window.top)&&window.top&&window.top.document&&(window=window.top);if(!lPl())return!1;N=window.document.elementFromPoint(N,H);if(!N)return!1;H=(H=(H=fh(c))&&H.defaultView&&H.defaultView.frameElement)&&QSw(H,N);var t=N===c;N=!t&&N&&hB(N,function(h){return h===c}); +return!(H||t||N)}; +rzv=function(N,H,c,t,h,O){H=KZ(N,H,c,t);if(H instanceof S)return H;var F=H instanceof fH?new gqL(N.T,c,H.T):null;t=lS(N.B.get(),"SLOT_TYPE_IN_PLAYER");var M=[new gX(N.T,t)];N=[new mZ(N.T,c),new rX(N.T,t)];O=O({slotId:t,slotType:"SLOT_TYPE_IN_PLAYER",slotPhysicalPosition:1,Hp:"core",slotEntryTrigger:H,slotFulfillmentTriggers:M,slotExpirationTriggers:N},F);return O instanceof sz?new S(O):{slotId:t,slotType:"SLOT_TYPE_IN_PLAYER",slotPhysicalPosition:1,slotEntryTrigger:H,slotFulfillmentTriggers:M,slotExpirationTriggers:N, +Hp:"core",clientMetadata:new xd([new pZ(O)]),adSlotLoggingData:h}}; +U3=function(N,H,c,t){if(!(H===N.state&&c===N.vN&&t===N.seekSource||H!==void 0&&(H&128&&!c||H&2&&H&16))){var h;if(h=H)h=H||N.state,h=!!(h&16||h&32);N=new g.Nb(H,c,h?t?t:N.seekSource:null)}return N}; +mFt=function(){var N=0,H;return function(c){H||(H=new Ny);var t=new Ij(H,N,1),h=Ty(t,function(){return Uy(c)},!0); +t.dispose();N++;return h}}; +NZ=function(){var N=g.NA("yt.networklessRequestController.instance");N||(N=new b4,g.Hw("yt.networklessRequestController.instance",N),g.sf("networkless_logging")&&g.D6().then(function(H){N.yL=H;w5D(N);N.L.resolve();N.hP&&Math.random()<=N.Zm&&N.yL&&p$h(N.yL);g.sf("networkless_immediately_drop_sw_health_store")&&DFw(N)})); +return N}; +Q93=function(N,H,c){return Oc(H4(N,H),H,c)}; +g.h9=function(N,H,c){var t=c&&c>0?c:0;c=t?Date.now()+t*1E3:0;if((t=t?g.iU.EP():g.iU.Dg())&&window.JSON){typeof H!=="string"&&(H=JSON.stringify(H,void 0));try{t.set(N,H,c)}catch(h){t.remove(N)}}}; +PB=function(N,H,c){var t=c4();H=H();N.AE(c,c4()-t);return H}; +yd=function(N,H,c,t,h){sE.call(this,N,{W:"div",K:"ytp-ad-info-dialog-background",X:[{W:"div",K:"ytp-ad-info-dialog-container",X:[{W:"div",K:"ytp-ad-info-dialog-form",V:{role:"dialog",tabindex:"-1"},X:[{W:"div",K:"ytp-ad-info-dialog-title",Wp:"{{title}}"},{W:"ul",K:"ytp-ad-info-dialog-ad-reasons"},{W:"div",K:"ytp-ad-info-dialog-message"},{W:"div",K:"ytp-ad-info-dialog-mute-container"},{W:"div",K:"ytp-ad-info-dialog-confirm-container",X:[{W:"button",K:"ytp-ad-info-dialog-confirm-button",Wp:"{{confirmLabel}}"}]}]}]}]}, +"ad-info-dialog",H,c,t);this.T=this.B=null;this.Z=this.Sa("ytp-ad-info-dialog-confirm-button");this.Xg=this.Sa("ytp-ad-info-dialog-mute-container");this.vp=this.Sa("ytp-ad-info-dialog-message");this.gE=this.Sa("ytp-ad-info-dialog-ad-reasons");this.U=this.L=null;this.Ix=h;this.S=null;this.Kq=!1;this.Us=null;this.hide()}; +dR=function(){cn.apply(this,arguments)}; +tt=function(N,H,c,t){sE.call(this,N,{W:"div",K:"ytp-image-background",X:[{W:"img",K:"ytp-image-background-image"}]},"image-background",H,c,t);this.hide()}; +o_=function(){if(!g.di.matchMedia)return"WEB_DISPLAY_MODE_UNKNOWN";try{return g.di.matchMedia("(display-mode: standalone)").matches?"WEB_DISPLAY_MODE_STANDALONE":g.di.matchMedia("(display-mode: minimal-ui)").matches?"WEB_DISPLAY_MODE_MINIMAL_UI":g.di.matchMedia("(display-mode: fullscreen)").matches?"WEB_DISPLAY_MODE_FULLSCREEN":g.di.matchMedia("(display-mode: browser)").matches?"WEB_DISPLAY_MODE_BROWSER":"WEB_DISPLAY_MODE_UNKNOWN"}catch(N){return"WEB_DISPLAY_MODE_UNKNOWN"}}; +OO=function(N,H){try{H={detail:"pr."+H},(ht(N.Es)||P_(N.Es)==="TVHTML5_FOR_KIDS")&&N.Es.N("html5_reload_by_kabuki_app")?N.wE.TU("qoe.restart",1,void 0,Gu(H),"7"):(N.rr("qoe.restart",H),window.location.reload())}catch(c){}}; +FY=function(){}; +uDw=function(N,H){TY(N,2,H.JQ,j$,3);TY(N,3,H.innertubeRequest,Zev,3);k8(N,4,H.onesieUstreamerConfig);k8(N,9,H.M_);TY(N,10,H.PY,fr,3);TY(N,15,H.reloadPlaybackParams,p5v,3)}; +Jzl=function(N){return{kd:IZ(N,1)}}; +VGe=function(N,H,c,t,h,O){t=t===void 0?{}:t;var F=Math.round((0,g.Lh)()),M={value:N.size},f=new Map([].concat(g.HE(N)));f=g.K(f);for(var d=f.next();!d.done;d=f.next()){var W=g.K(d.value).next().value,z=N.get(W);d=new nqZ;var E=H.config_||g.pR(),x=new ml,q=new PT;ES(q,1,E.rV);ES(q,2,E.I5);qf(q,16,E.iz);ES(q,17,E.innertubeContextClientVersion);if(E.g8){var r=E.g8,w=new $k;r.coldConfigData&&ES(w,1,r.coldConfigData);r.appInstallData&&ES(w,6,r.appInstallData);r.coldHashData&&ES(w,3,r.coldHashData);r.hotHashData&& +w.IE(r.hotHashData);ko(q,$k,62,w)}(r=g.di.devicePixelRatio)&&r!=1&&WE(q,65,be(r));r=J2();r!==""&&ES(q,54,r);r=nx();if(r.length>0){w=new zo;for(var n=0;n1E3&&g.aS(new g.ti("IL Attach cache exceeded limit"))}M= +qZ(c,H);KG.has(M)?gV(c,H):lU.set(M,!0)}}t=t.filter(function(W){W.csn!==H?(W.csn=H,W=!0):W=!1;return W}); +c={csn:H,parentVe:c.getAsJson(),childVes:g.jm(t,function(W){return W.getAsJson()})}; +H==="UNDEFINED_CSN"?QW("visualElementAttached",O,c):N?px("visualElementAttached",c,N,O):g.uF("visualElementAttached",c,O)}; +g.rT=function(N,H,c,t){H=H!==void 0?H:N.index;H=N.items&&H in N.items?N.items[N.order[H]]:null;var h=null;H&&(c&&(H.autoplay="1"),t&&(H.autonav="1"),h=new g.xm(N.Es,H),g.l(N,h),h.kD=!0,h.startSeconds=N.startSeconds||h.clipStart||0,N.listId&&(h.playlistId=N.listId.toString()));return h}; +mDe=function(N,H){a:{var c=H.cryptoPeriodIndex;if(isNaN(c)&&N.L.size>0)c=!0;else{for(var t=g.K(N.L.values()),h=t.next();!h.done;h=t.next())if(h.value.cryptoPeriodIndex===c){c=!0;break a}c=!1}}N.publish("log_qoe",{wvagt:"reqnews",canskip:c});c||N.publish("rotated_need_key_info_ready",H)}; +Lkl=function(N){N.gE?N.gE=!1:N.TW=(0,g.Lh)();N.Bp=!1;N.Kq=!1;return new PZ(N.C,N.L,N.T.reason)}; +Zat=function(N){if(!N)throw Error("Fetching Attestation challenge returned falsy");if(!N.challenge)throw Error("Missing Attestation challenge");var H=N.challenge,c=mh(H);if("c1a"in c&&(!N.bgChallenge||!N.bgChallenge.program))throw Error("Expected bg challenge but missing.");return Object.assign({},N,{Kxa:H,tja:c})}; +wV=function(N,H){return function(c){return H(c)?c[N]:void 0}}; +g.D4=function(N,H,c,t,h,O){g.lJ.call(this,N);this.videoId=c;this.Q_=h;this.eventId=O;this.Y={};this.B=null;N=t||g.lN(H).hl||"";N=N.split("_").join("-");this.U=Z_(H,{hl:N})}; +lM=function(N,H){return N.Re(H)?N.o4():H}; +YWl=function(N,H){var c=lQ(N.clientMetadata,"metadata_type_ad_placement_config");return new sd(N.S1,H,c,N.layoutId)}; +QG=function(){this.T=this.B=0}; +$at=function(N){var H=g.K(N.split("."));N=H.next().value;H=H.next().value;return[Number(N),H]}; +To=function(N,H,c){N=er(N,H,c);return Array.isArray(N)?N:qn}; +pG=function(N,H){this.callback=N;this.slot=H}; +VwZ=function(N){if(g.ie(N))for(var H in N)H==="html_content"||gnL(H,"_html")?N[H]=vZ(N[H]):VwZ(N[H])}; +uU=function(N,H,c){if(N.j.experiments.M4("html5_disable_client_autonav_cap_for_onesie")&&H.fetchType==="onesie"||g.Iy(N.j)&&(SW(-1)>=1080||H.osid))return wv;var t=g.Mx(N.j.experiments,"html5_autonav_quality_cap"),h=g.Mx(N.j.experiments,"html5_autonav_cap_idle_secs");return t&&H.isAutonav&&M$()/1E3>h?(c&&(t=AzD(N,c,t)),new jw(0,t,!1,"e")):wv}; +var kRD=function(){return fN[T[3]](this,14)}; +g.Si=function(N){Jt.call(this);var H=this;this.T=N;this.Fr=!1;this.S=null;this.Cq=this.Ix=!1;this.Us=new g.d9;this.view=this.Bp=this.wE=null;this.Z={};this.listener=function(c){H.dispatchEvent(new nG(H,c.type,c))}; +g.l(this,this.Us)}; +fd=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)||window.ManagedMediaSource}; +aPS=function(N){var H=na(N);return H?H.S-N.loader.getCurrentTime():0}; +eEf=function(N,H,c,t,h){var O=c.hE;var F=c.VF;var M=N.player.D().Mz,f=0;c.cueProcessedMs&&F&&!O&&(c=F.end-F.start,c>0&&(f=Math.floor(c/1E3)));var d={AD_BLOCK:h,AD_BREAK_LENGTH:O?O.C6:f,AUTONAV_STATE:Lr(N.player.D()),CA_TYPE:"image",CPN:N.player.getVideoData(1).clientPlaybackNonce,DRIFT_FROM_HEAD_MS:N.player.iq()*1E3,LACT:M$(),LIVE_INDEX:O?N.L++:1,LIVE_TARGETING_CONTEXT:O&&O.context?O.context:"",MIDROLL_POS:F?Math.round(F.start/1E3):0,MIDROLL_POS_MS:F?Math.round(F.start):0,VIS:N.player.getVisibilityState(), +P_H:N.player.BO().lR().height,P_W:N.player.BO().lR().width,YT_REMOTE:M?M.join(","):""},W=E8(LT);Object.keys(W).forEach(function(z){W[z]!=null&&(d[z.toUpperCase()]=W[z].toString())}); +t!==""&&(d.BISCOTTI_ID=t);t={};Md(H)&&(t.sts="20385",(N=N.player.D().forcedExperiments)&&(t.forced_experiments=N));return hp(g.P4(H,d),t)}; +FG=function(N){this.value=N}; +vqs=function(N,H,c,t,h,O){var F=UO;c=c===void 0?{}:c;t=t===void 0?!1:t;h=h===void 0?200:h;O=O===void 0?!1:O;var M=new Map,f=new Map,d={isJspb:t,cttAuthInfo:void 0,tier:h},W={isJspb:t,cttAuthInfo:void 0};if(t){H=g.K(Object.keys(XY));for(h=H.next();!h.done;h=H.next())h=h.value,f=g.sf("enable_web_tiered_gel")?uC().smartExtractMatchingEntries({keys:[d,W],sizeLimit:1E3}):uC().extractMatchingEntries({isJspb:!0,cttAuthInfo:h}),f.length>0&&M.set(h,f),(g.sf("web_fp_via_jspb_and_json")&&c.writeThenSend||!g.sf("web_fp_via_jspb_and_json"))&& +delete XY[h];VGe(M,F,N,c,!1,O)}else{M=g.K(Object.keys(XY));for(d=M.next();!d.done;d=M.next())d=d.value,W=g.sf("enable_web_tiered_gel")?uC().smartExtractMatchingEntries({keys:[{isJspb:!1,cttAuthInfo:d,tier:h},{isJspb:!1,cttAuthInfo:d}],sizeLimit:1E3}):uC().extractMatchingEntries({isJspb:!1,cttAuthInfo:d}),W.length>0&&f.set(d,W),(g.sf("web_fp_via_jspb_and_json")&&c.writeThenSend||!g.sf("web_fp_via_jspb_and_json"))&&delete XY[d];fyh(f,F,N,H,c,!1,O)}}; +V7=function(N,H,c){var t=N.y9[H];if(t!=null)return t;t=Rd3(N,H);var h=yj(VG,function(O){return O==H}); +N=s9l(N,t,t,c,B1y[VG[h]]);H=="fully_viewable_audible_half_duration_impression"&&(N.std="csm");return N}; +Qlv=function(N,H,c,t){if(LG.length){var h=LG.pop();yz3(h,t);h.T.init(N,H,c,t);return h}return new Z4(N,H,c,t)}; +var b$l=function(N,H,c,t,h,O,F,M,f){return dt[T[3]](this,10,N,H,c,t,h,O,F,M,f)}; +oqd=function(N,H,c){try{if(N.uo())throw new fZ(21,"BNT:disposed");if(!N.T&&N.B)throw N.B;var t,h;return(h=(t=mbZ(N,H,c))!=null?t:G$R(N,H,c))!=null?h:RES(N,H,c)}catch(O){if(!H.mJ)throw o9R(N,O);return TPh(N,c,O)}}; +Yk=function(N){N.removeCueRange(N.lJ);N.lJ=null}; +TB=function(N){this.value=N}; +g.W7=function(N,H){if(!ln)return ah.get(""+N,H)}; +QLS=function(N,H,c,t,h,O,F,M,f,d){this.oD=N;this.k_=H;this.Pp=c;this.U=t;this.r_=h;this.B=O;this.L=F;this.V4=M;this.Rx=f;this.T=d}; +k$3=function(N,H){Array.isArray(H)||(H=[H]);H=H.map(function(c){return typeof c==="string"?c:c.property+" "+c.duration+"s "+c.timing+" "+c.delay+"s"}); +g.eU(N,"transition",H.join(","))}; +IPy=function(){this.timing={};this.clearResourceTimings=function(){}; +this.webkitClearResourceTimings=function(){}; +this.mozClearResourceTimings=function(){}; +this.msClearResourceTimings=function(){}; +this.oClearResourceTimings=function(){}}; +At=function(N,H){this.JF=N;this.T=H===void 0?!1:H;this.B=!1}; +a6=function(){this.currentState=1;this.T="unknown"}; +v4=function(N,H){ei(N,"cat",H)}; +Nyd=function(N,H,c){N.Kq=!0;c=new a3(H,c);N.j.N("html5_eme_loader_sync")&&(N.Y.get(H)||N.Y.set(H,c));baD(N,c)}; +XE3=function(N){N=N===void 0?function(){return{}}:N; +bY.Rk="av-js";sO.T=.01;HH3([function(H){var c=BV(),t={};t=(t.bin=c.B,t.type="error",t);c=B4(c.Ce);if(!kG.L){var h=kG,O=iJ.document,F=yT>=0?UW()-yT:-1,M=UW();h.T.m6==-1&&(F=M);var f=yG(),d=BV(),W=B4(d.Ce),z=p4();try{if(z.length>0){var E=f.T;E&&(W.bs=[Gj(E),E.getHeight()]);var x=f.S;x&&(W.ps=[x.width,x.height]);iJ.screen&&(W.scs=[iJ.screen.width,iJ.screen.height])}else W.url=encodeURIComponent(iJ.location.href.substring(0,512)),O.referrer&&(W.referrer=encodeURIComponent(O.referrer.substring(0,512))); +W.tt=F;W.pt=yT;W.bin=d.B;iJ.google_osd_load_pub_page_exp!==void 0&&(W.olpp=iJ.google_osd_load_pub_page_exp);W.deb=[1,h.T.Xu,h.T.bS,h.T.T1,h.T.m6,0,h.B.B,h.T.DO,h.T.vX,h.T.ZO,h.T.Smi,-1].join(";");W.tvt=Out(h,M);f.B&&(W.inapp=1);if(iJ!==null&&iJ!=iJ.top){z.length>0&&(W.iframe_loc=encodeURIComponent(iJ.location.href.substring(0,512)));var q=f.C;W.is=[Gj(q),q.getHeight()]}}catch(r){W.error=1}kG.L=W}E=g.dP(kG.L);x=BV().T;FP(x.L,"prf")==1?(q=new GM,h=x.T,O=0,h.T>-1&&(O=h.L.T.now()-h.T),q=R6(q,1,be(h.U+ +O),0),h=x.T,q=R6(q,5,Wc(h.T>-1?h.B+1:h.B),0),q=R6(q,2,pM(x.B.T.L()),"0"),q=R6(q,3,pM(x.B.T.B()),"0"),x=R6(q,4,pM(x.B.T.T()),"0"),q={},x=(q.pf=g.Eq(x.L()),q)):x={};g.NY(E,x);g.NY(H,t,c,E,N())}])}; +o6=function(){var N=EY();return!(!N.webkitSupportsPresentationMode||typeof N.webkitSetPresentationMode!=="function")}; +Xv=function(N,H){return new oa(N,N+H-1)}; +Pfy=function(N,H){var c=H.params||{};N={urlParams:{a:"logerror",t:"jserror",type:H.name,msg:H.message.substr(0,250),line:H.lineNumber,level:N,"client.name":c.name},postParams:{url:g.YI("PAGE_NAME",window.location.href),file:H.fileName},method:"POST"};c.version&&(N["client.version"]=c.version);if(N.postParams){H.stack&&(N.postParams.stack=H.stack);H=g.K(Object.keys(c));for(var t=H.next();!t.done;t=H.next())t=t.value,N.postParams["client."+t]=c[t];if(c=g.YI("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS"))for(H= +g.K(Object.keys(c)),t=H.next();!t.done;t=H.next())t=t.value,N.postParams[t]=c[t];(c=g.YI("LAVA_VERSION"))&&(N.postParams["lava.version"]=c);c=g.YI("SERVER_NAME");H=g.YI("SERVER_VERSION");c&&H&&(N.postParams["server.name"]=c,N.postParams["server.version"]=H)}g.Rj(g.YI("ECATCHER_REPORT_HOST","")+"/error_204",N)}; +cqw=function(){return{get opener(){return null},get closed(){return!0},get location(){iHS()},get document(){iHS()},postMessage:function(){}, +close:function(){}, +focus:function(){}}}; +D7=function(N){var H=N.data;var c=N.offset+N.T;H=H.getUint32(c)*4294967296+H.getUint32(c+4);N.T+=8;return H}; +I6=function(N){kk(N)&&N.Rg();tVZ(N)&&(Eh(N,"captions",!0),Eh(N,"endscreen"),N.xz(),Eh(N,"creatorendscreen",!0))}; +Lg=function(N){return N.Kq&&N.isManifestless?N.isLiveHeadPlayable:N.isLive}; +Cg=function(N,H){N.has(H)||N.set(H,{instreamVideoAdRenderer:void 0,a8:void 0,adVideoId:H,le:[]});return N.get(H)}; +OHv=function(N){N=g.Ey(N,1886614376);for(var H=g.K(N),c=H.next();!c.done;c=H.next());return g.jm(N,function(t){return hCw(t)})}; +ts=function(N,H){H=H===void 0?{}:H;var c,t,h,O;return g.Y(function(F){if(F.T==1)return g.Xy(F,2),c=self.indexedDB.deleteDatabase(N),t=H,(h=t.blocked)&&c.addEventListener("blocked",function(){h()}),g.a(F,FRf(c),4); +if(F.T!=2)return g.VI(F,0);O=g.Lq(F);throw bU(O,N,"",-1);})}; +qiw=function(N,H){H=Pct(N,H);if(!H)return null;var c;H.T8=(c=lQ(N.clientMetadata,"metadata_type_ad_pod_info"))==null?void 0:c.adBreakRemainingLengthSeconds;return H}; +$pw=function(N,H){N=N.player.D();if(ht(N)||jQ(N)){N=g.YI("INNERTUBE_CONTEXT");var c,t;(N==null?0:(c=N.adSignalsInfo)==null?0:c.advertisingId)&&typeof(N==null?void 0:(t=N.adSignalsInfo)==null?void 0:t.limitAdTracking)!=="undefined"&&(H.advertisingId=N.adSignalsInfo.advertisingId,H.advertisingIdSignalType="DEVICE_ID_TYPE_CONNECTED_TV_IFA",H.limitAdTracking=N.adSignalsInfo.limitAdTracking)}}; +Le=function(N){var H=GL(N.T,Ce,1);H||(H=new Ce,lb(N,H));N=H;H=GL(N,N6,11);H||(H=new N6,ko(N,N6,11,H));return H}; +C5=function(N){return N?"layout: "+N.layoutType:""}; +Cv=function(N){return qCt(g.jp(N)[5]||null)}; +Tyv=function(N){var H=N.OV;N=N.videoData;var c=fw(H,N);H.N("html5_disable_client_autonav_cap_for_onesie")||c.compose(uU(H,N));return c}; +j3t=function(N){N=(N.renderer.linearAdSequenceRenderer||{}).linearAds;return N!=null&&N.length?N.filter(function(H){var c,t;return((c=g.P(H,QR))==null?void 0:(t=c.playerOverlay)==null?void 0:t.instreamSurveyAdRenderer)!=null}).length:0}; +MVe=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);N.addEventListener("settingsMenuInitialized",function(){var c=new Hi(H.api,H.api.GS());g.l(H,c)})}; +fwR=function(N,H){N=g.yI(N.components,H.id,null);N==null&&g.aS(Error("Component not found for element id: "+H.id));return N||null}; +KYw=function(N,H){var c=dpR;return Object.prototype.hasOwnProperty.call(c,N)?c[N]:c[N]=H(N)}; +WRw=function(N,H){var c=1;N.isTrusted===!1&&(c=0);qz("ISDSTAT",c);v9(c,"i.s_",{triggerContext:"sk",metadata:H});return c}; +zCv=function(N){this.triggerId=N;this.triggerType="TRIGGER_TYPE_MEDIA_RESUMED"}; +im=function(N,H,c,t,h,O){this.slot=H;this.T=c;this.B=new pme(N,H,t,h,O)}; +E83=function(N,H,c,t,h){Y_.call(this,"ads-engagement-panel-layout",N,H,c,t,h)}; +jU=function(N,H){if(!N)return NaN;H=O$(N,H);return H>=0?N.end(H):NaN}; +xpv=function(N,H,c,t){var h=[];c=g.K(c);for(var O=c.next();!O.done;O=c.next()){var F=O.value;if(F.url){O=new g.Ft(F.url,!0);if(F.s){var M=O,f=F.sp,d=Hn(13,decodeURIComponent(F.s));M[T[1]](f,encodeURIComponent(d))}M=g.K(Object.keys(t));for(f=M.next();!f.done;f=M.next())f=f.value,O.set(f,t[f]);F=ci(F.type,F.quality,F.itag,F.width,F.height);h.push(new t_(F,O))}}return h_(N.S,h,Or(N,H),!1)}; +Fi=function(N,H,c,t,h,O){g.L.call(this);this.CC=N;this.L=H;this.S=c;this.U=t;this.B=h;this.Rx=O;this.T=new Map}; +Csl=function(N,H,c,t,h,O,F){if(N.T)return N.T;var M={},f=new Set,d={};if($x(t)){for(var W in t.T)t.T.hasOwnProperty(W)&&(N=t.T[W],d[N.info.T0]=[N.info]);return d}W=Nhd(H,t,M);O&&h({aftsrt:WI(W)});for(var z={},E=g.K(Object.keys(W)),x=E.next();!x.done;x=E.next()){x=x.value;for(var q=g.K(W[x]),r=q.next();!r.done;r=q.next()){r=r.value;var w=r.itag,n=void 0,p=x+"_"+(((n=r.video)==null?void 0:n.fps)||0);z.hasOwnProperty(p)?z[p]===!0?d[x].push(r):M[w]=z[p]:(n=Ti(H,r,c,t.isLive,f),n!==!0?(F.add(x),M[w]=n, +n==="disablevp9hfr"&&(z[p]="disablevp9hfr")):(d[x]=d[x]||[],d[x].push(r),z[p]=!0))}}O&&h({bfflt:WI(d)});for(var U in d)d.hasOwnProperty(U)&&(t=U,d[t]&&d[t][0].KG()&&(d[t]=d[t],d[t]=WEf(H,d[t],M),d[t]=qGh(d[t],M)));O&&Object.keys(M).length>0&&h({rjr:Gu(M)});H=g.K(f.values());for(t=H.next();!t.done;t=H.next())(t=c.U.get(t.value))&&--t.LT;O&&h({aftflt:WI(d)});N.T=g.bJ(d,function(X){return!!X.length}); +return N.T}; +lwL=function(){var N=["metadata_type_ad_action_interstitial_renderer"];vR().forEach(function(H){N.push(H)}); +return{lG:N,xH:["LAYOUT_TYPE_ENDCAP"]}}; +g.m8=function(N){return P_(N)==="WEB_REMIX"}; +g.M6=function(N,H,c){N=N.T.createObjectStore(H,c);return new j3(N)}; +KRl=function(N,H,c){var t=!1;if(c=N.T.T.get(c)){c=g.K(c);for(var h=c.next();!h.done;h=c.next())h=h.value,h.durationMs!==0&&h.m9!==h.gs&&(h=h.cpn,H===h&&(t=!0),t&&!N.AN.has(h)&&(N.EF({decoratedAd:h}),N.AN.add(h)))}}; +g8h=function(N,H){if(N.Zf){N.Zf.cQ(H);var c;(c=N.loader)!=null&&c.policy.gE&&(c.C=H)}}; +rqL=function(N,H,c,t,h){this.videoId=N;this.QU=H;this.B=c;this.bytesDownloaded=t;this.T=h}; +g.fn=function(N,H,c){var t={};(0,g.uT)(N,function(h,O){t[H.call(c,h,O,N)]=h}); +return t}; +dW=function(){cn.apply(this,arguments)}; +kd=function(N){return N.J.D().experiments.M4("html5_load_ads_instead_of_cue")}; +mpR=function(N){var H=N.J.getPlayerSize(),c=N.J.D(),t=N.J.getVideoData(),h=g.PX(c)&&g.eg(N.J)&&g.y(N.J.getPlayerStateObject(),128),O=c.L;return c.S_&&H.width>=240&&!t.isAd()&&t.S_&&!h&&!t.Uc&&!N.J.isEmbedsShortsMode()&&!O}; +rj=function(N,H){N.url=H;window.performance&&!performance.onresourcetimingbufferfull&&(performance.onresourcetimingbufferfull=function(){performance.clearResourceTimings()})}; +Wi=function(N){this.value=N}; +X$y=function(){var N,H=(N=X6.getEntriesByType)==null?void 0:N.call(X6,"mark");H&&H.forEach(function(c){if(c.name.startsWith("mark_")){var t;(t=X6.clearMarks)==null||t.call(X6,c.name)}})}; +zi=function(N){if(N.T==null)throw Error("Storage mechanism: Storage unavailable");N.isAvailable()||W2(Error("Storage mechanism: Storage unavailable"))}; +w9R=function(){var N=document.documentElement;try{if(!WV(X7().top))return"2";var H=[],c=X7(N.ownerDocument);for(N=c;N!=c.top;N=N.parent)if(N.frameElement)H.push(N.frameElement);else break;return H&&H.length!=0?"1":"0"}catch(t){return"2"}}; +Dp3=function(N){try{var H=Er('video/mp4; codecs="avc1.42001E"')||Er('video/webm; codecs="vp9"');return(Er('audio/mp4; codecs="mp4a.40.2"')||Er('audio/webm; codecs="opus"'))&&(H||!N)||xx('video/mp4; codecs="avc1.42001E, mp4a.40.2"')?null:"fmt.noneavailable"}catch(c){return"html5.missingapi"}}; +p9w=function(N,H,c){var t;return g.Y(function(h){(0,g.Lh)();if(N.T.T)return h.return(Q3d(N,H,c));t=MBv(N.T);return h.return(t.decrypt(H,c))})}; +qZ=function(N,H){return""+N.getAsJson().veType+N.getAsJson().veCounter+H}; +uEv=function(N,H){var c=N.xl();if(c){var t=c.dE().layoutId,h=N.Y8()+1;N.wi()?Y1(N,c,H):c.BH(c.dE(),H);h>=0&&h=0)pn(N,H);else{for(var c=0;c<9;c++)N.T.push(H&127|128),H>>=7;N.T.push(1)}}; +SCh=function(N,H){return N.LH.L?!1:N.BH.B?!1:typeof N.Ttypeof H.T?!1:N.T=0);g.QH(N.element,"ytp-scroll-max",H<=c)}; +J_=function(N,H,c,t){if(t===void 0)return t=Object.assign({},N[H]||{}),c=(delete t[c],t),t={},Object.assign({},N,(t[H]=c,t));var h={},O={};return Object.assign({},N,(O[H]=Object.assign({},N[H],(h[c]=t,h)),O))}; +nn=function(N,H){var c,t;return!!((c=window.h5vcc)==null?0:(t=c.settings)==null?0:t.set(N,H))}; +YGy=function(N,H){var c=H.manifestlessWindowedLiveConfig;if(c){var t=Number(c.minDvrSequence),h=Number(c.maxDvrSequence),O=Number(c.minDvrMediaTimeMs),F=Number(c.maxDvrMediaTimeMs);c=Number(c.startWalltimeMs);t&&(N.rk=t);O&&(N.ZG=O/1E3,N.N("html5_sabr_parse_live_metadata_playback_boundaries")&&AC(N)&&(N.sU=O/1E3));h&&(N.Em=h);F&&(N.MJ=F/1E3,N.N("html5_sabr_parse_live_metadata_playback_boundaries")&&AC(N)&&(N.Ot=F/1E3));c&&(N.Cp=c/1E3);(t||O)&&(h||F)&&(N.j$=!0,N.isLivePlayback=!0,N.allowLiveDvr=!0, +N.K6=!1)}if(t=H.daiConfig){if(t.enableDai){N.Re=!0;if(h=t.enableServerStitchedDai)N.enableServerStitchedDai=h;if(h=t.enablePreroll)N.Oo=h}var M;if(t.daiType==="DAI_TYPE_SS_DISABLED"||((M=t.debugInfo)==null?0:M.isDisabledUnpluggedChannel))N.CD=!0;t.daiType==="DAI_TYPE_CLIENT_STITCHED"&&(N.RP=!0);t.allowUstreamerRequestAdconfig&&(N.cY=!0);t.sendSsdaiMissingAdBreakReasons&&(N.OOq=!0)}if(M=H.audioConfig){t=M.loudnessDb;t!=null&&(N.XQ=t);t=M.trackAbsoluteLoudnessLkfs;t!=null&&(N.rl=t);t=M.loudnessTargetLkfs; +t!=null&&(N.loudnessTargetLkfs=t);M.audioMuted&&(N.dC=!0);M.muteOnStart&&(N.sL=!0);if(t=M.loudnessNormalizationConfig)t.applyStatefulNormalization&&(N.applyStatefulNormalization=!0),t.preserveStatefulLoudnessTarget&&(N.preserveStatefulLoudnessTarget=!0),h=t.minimumLoudnessTargetLkfs,h!=null&&(N.minimumLoudnessTargetLkfs=h),t=t.maxStatefulTimeThresholdSec,t!=null&&(N.maxStatefulTimeThresholdSec=t);M.playAudioOnly&&(N.cF=!0)}if(t=H.playbackEndConfig)M=t.endSeconds,t=t.limitedPlaybackDurationInSeconds, +N.mutedAutoplay&&(M&&(N.endSeconds=M),t&&(N.limitedPlaybackDurationInSeconds=t));if(M=H.fairPlayConfig){if(t=M.certificate)N.Ql=TS(t);t=Number(M.keyRotationPeriodMs);t>0&&(N.uM=t);M=Number(M.keyPrefetchMarginMs);M>0&&(N.Cr=M)}if(M=H.playbackStartConfig){N.l4=Number(M.startSeconds);h=M.liveUtcStartSeconds;t=!!N.liveUtcStartSeconds&&N.liveUtcStartSeconds>0;h&&!t&&(N.liveUtcStartSeconds=Number(h));if(h=M.startPosition)if((O=h.utcTimeMillis)&&!t&&(N.liveUtcStartSeconds=Number(O)*.001),t=h.streamTimeMillis)N.PM= +Number(t)*.001;N.progressBarStartPosition=M.progressBarStartPosition;N.progressBarEndPosition=M.progressBarEndPosition}else if(M=H.skippableSegmentsConfig){if(t=M.introSkipDurationMs)N.FB=Number(t)/1E3;if(M=M.outroSkipDurationMs)N.kI=Number(M)/1E3}if(t=H.skippableIntroConfig)M=Number(t.startMs),t=Number(t.endMs),isNaN(M)||isNaN(t)||(N.Gm=M,N.QC=t);if(M=H.streamSelectionConfig)N.H0=Number(M.maxBitrate);if(M=H.vrConfig)N.h0=M.partialSpherical=="1";if(M=H.webDrmConfig){M.skipWidevine&&(N.tM=!0);if(t= +M.widevineServiceCert)N.Qq=TS(t);M.useCobaltWidevine&&(N.useCobaltWidevine=!0);M.startWithNoQualityConstraint&&(N.oI=!0)}if(M=H.mediaCommonConfig){if(t=M.dynamicReadaheadConfig){N.maxReadAheadMediaTimeMs=t.maxReadAheadMediaTimeMs||NaN;N.minReadAheadMediaTimeMs=t.minReadAheadMediaTimeMs||NaN;N.readAheadGrowthRateMs=t.readAheadGrowthRateMs||NaN;var f;if(t=M==null?void 0:(f=M.mediaUstreamerRequestConfig)==null?void 0:f.videoPlaybackUstreamerConfig)N.fO=TS(t);if((f=M==null?void 0:M.sabrContextUpdates)&& +f.length>0)for(f=g.K(f),t=f.next();!t.done;t=f.next())t=t.value,t.type&&t.value&&(h={type:t.type,scope:t.scope,value:TS(t.value)||void 0,sendByDefault:t.sendByDefault},N.sabrContextUpdates.set(t.type,h))}if(f=M.serverPlaybackStartConfig)N.serverPlaybackStartConfig=f;M.useServerDrivenAbr&&(N.Si=!0);if(f=M.requestPipeliningConfig)N.requestPipeliningConfig=f}if(f=H.inlinePlaybackConfig)N.hO=!!f.showAudioControls;if(f=H.embeddedPlayerConfig){N.embeddedPlayerConfig=f;if(M=f.embeddedPlayerMode)t=N.D(), +t.Ix=M,t.L=M==="EMBEDDED_PLAYER_MODE_PFL";if(f=f.permissions)N.allowImaMonetization=!!f.allowImaMonetization}if(H=H.webPlayerConfig)H.gatewayExperimentGroup&&(N.gatewayExperimentGroup=H.gatewayExperimentGroup),H.isProximaEligible&&(N.isProximaLatencyEligible=!0)}; +awD=function(N,H){if(!(bA||nU()||S3()))return null;N=Aqd(H,N.N("html5_filter_fmp4_in_hls"));if(!N)return null;H=[];for(var c={},t=g.K(Object.keys(N)),h=t.next();!h.done;h=t.next()){h=g.K(N[h.value]);for(var O=h.next();!O.done;O=h.next()){var F=O.value;F.X3&&(O=F.X3.getId(),c[O]||(F=new g.Pi(O,F.X3),c[O]=F,H.push(F)))}}return H.length>0?H:null}; +v8L=function(N,H,c,t){if(c==3&&H.B&&!H.U)for(;N&&N.S;N=N.L)N.S=!1;if(H.T)H.T.L=null,KGs(H,c,t);else try{H.U?H.L.call(H.context):KGs(H,c,t)}catch(h){eCh.call(null,h)}fcs(J0l,H)}; +s3s=function(N){if(N!==Qf)throw Error();}; +ia=function(N,H,c,t,h){this.loader=N;this.policy=H;this.schedule=c;this.sC=t;this.TW=h;this.Bp=NaN;this.B=this.C=this.U=null;this.T=this.S=this.Y=this.startTimeSecs=NaN;this.L=!1;this.Z=NaN}; +Ur=function(N,H,c){N=""+N+(H>49?"p60":H>32?"p48":"");H=Fh()[N];if(H!=null&&H>0)return H;H=sG.get(N);if(H!=null&&H>0)return H;c=c==null?void 0:c.get(N);return c!=null&&c>0?c:8192}; +VN=function(N,H,c,t,h){for(var O=[],F=g.K(N.tF.values()),M=F.next();!M.done;M=F.next()){var f=M=M.value,d=f.trigger;f=f.slot;if(d.triggerType===H){if(d instanceof q4||d instanceof oN||d instanceof Xi){if(h&&d.breakDurationMs!==c)continue;if(!h&&d.breakDurationMs===c)continue;if(t.has(f.slotId))continue}O.push(M)}}O.length>0&&$D(N.Y(),O)}; +g.bg=function(N){return new gU({trackingParams:N})}; +HVw=function(N,H,c){var t=N.split("#",2);N=t[0];t=t.length>1?"#"+t[1]:"";var h=N.split("?",2);N=h[0];h=OC(h[1]||"");for(var O in H)if(c||!g.Ln(h,O))h[O]=H[O];return g.Of(N,h)+t}; +g.ZU=function(N,H){return H.state===N.state&&H.vN===N.vN}; +ByS=function(N,H){H=g.K(H);for(var c=H.next();!c.done;c=H.next()){c=c.value;a:switch(FW(N.T,c.slot).U){case "not_filled":var t=!0;break a;default:t=!1}t&&(N.j1.SE("ADS_CLIENT_EVENT_TYPE_FULFILL_SLOT_REQUESTED",c.slot),N.T.nS(c.slot))}}; +Yx=function(N){var H=g.jC({"aria-haspopup":"true"});g.TW.call(this,H,N);this.listen("keydown",this.DM)}; +Fa=function(N){return g.h0(N.T,function(H){return!!H.info.YH})}; +A_=function(N){N.T=null;N.tF.clear();N.B&&N.B.stop();N.S&&N.S.stop();var H;(H=N.L)==null||H.stop();delete N.L}; +yqd=function(N){var H,c;if((H=N.Bp)==null?0:(c=H.IL)==null?0:c.itagDenylist){var t;N.uB((t=N.Bp)==null?void 0:t.IL.itagDenylist)}var h;if((h=N.Bp)==null?0:h.playbackStartPolicy){var O,F;Kd(N.policy,(O=N.Bp)==null?void 0:O.playbackStartPolicy,3,(F=N.Bp)==null?void 0:F.DD())}if(N.policy.Ar){H=N.u2();var M;(c=H?(M=N.Bp)==null?void 0:M.kK.get(H):void 0)&&N.B.W_(c,-1)}if(!N.GW.Bp){var f;M=(f=N.Bp)==null?void 0:f.bz;(M==null?0:M.Zh)&&(M==null?0:M.HA)&&N.GW.K4&&NO(N.GW,M.Zh,M.HA)}var d;((d=N.Bp)==null?0: +d.FF)&&(f=N.Bp.FF.get(N.u2()||""))&&N.GW&&f.formatId&&(N=N.GW.L.get(hM(f.formatId)))&&(N.info.debugInfo=f.debugInfo)}; +X5e=function(N,H,c,t,h,O,F,M){t=t===void 0?{}:t;M=M===void 0?{value:0}:M;O=$1l(O);t=nR(t,F,function(f){g.sf("start_client_gcf")&&g.jO.jP(function(){return g.Y(function(d){return g.a(d,Bit(f),0)})}); +M.value--;M.value||c()},function(){M.value--; +M.value||c()},h); +t.headers["Content-Type"]="application/json+protobuf";t.postBodyFormat="JSPB";t.postBody=N;g.JB(H,O,"",t);Sm=!1}; +iHS=function(){var N=Error();N.name="SecurityError";throw N;}; +g.HR=function(N,H){N.src=JK(H);rr(N)}; +ztw=function(){return{W:"svg",V:{viewBox:"0 0 24 24"},X:[{W:"path",V:{d:"M0 0h24v24H0z",fill:"none"}},{W:"path",V:{d:"M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-1.91l-.01-.01L23 10z",fill:"#fff"}}]}}; +e3=function(N){var H=N.queue;H.T.length&&H.T[0].isEncrypted&&!H.B&&(H.T.length=0);H=g.K(Object.keys(N.T));for(var c=H.next();!c.done;c=H.next()){c=c.value;var t=N.T[c];if(!t.Go){var h=N.queue;h.T.push({videoId:t.videoId,formatId:c,isEncrypted:!1});h.B||a$(h)}}}; +vi=function(N){var H;(H=N.T)==null||H.n7();var c;(c=N.B)==null||c.n7();N.Y=!1}; +sr=function(){return{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",V:{d:"m 14.8,21.9 -4.2,-4.2 -1.4,1.4 5.6,5.6 12,-12 -1.4,-1.4 -10.6,10.6 z",fill:"#fff"}}]}}; +g.WU=function(N,H,c){g.L.call(this);this.T=null;this.U=!1;this.Y=N;this.S=c;this.B=H||window;this.L=(0,g.tv)(this.mA,this)}; +Bi=function(){return{W:"svg",V:{height:"100%",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",V:{d:"M5.85 18.0c0.0-2.56 2.08-4.65 4.65-4.65h6.0V10.5H10.5c-4.14 .0-7.5 3.36-7.5 7.5s3.36 7.5 7.5 7.5h6.0v-2.85H10.5c-2.56 .0-4.65-2.08-4.65-4.65zM12.0 19.5h12.0v-3.0H12.0v3.0zm13.5-9.0h-6.0v2.85h6.0c2.56 .0 4.65 2.08 4.65 4.65s-2.08 4.65-4.65 4.65h-6.0V25.5h6.0c4.14 .0 7.5-3.36 7.5-7.5s-3.36-7.5-7.5-7.5z",fill:"#fff"}}]}}; +yN=function(N,H,c){H.layoutId!==N.layout.layoutId?N.T.An(N.slot,H,new sz("Unknown layout received. Required LayoutId: "+N.layout.layoutId+("and LayoutType: "+N.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED"):c()}; +XaD=function(N){Gi(N,function(){var H=this;return function t(){var h,O,F,M,f;return Tr(t,function(d){switch(d.T){case 1:return g.I_(d,2),H.f4.tick("wasm_s"),h=yv(H.F2)?function(W){return pq(Gvh(H.F2),function(z){return z.O4x(W)})}:void 0,O=H.N("html5_wasm_initialization_disable_sync")||H.j.Zp().T.G0(RCh),g.Xy(d,4),F=o8w(H.webPlayerContextConfig.wasmModuleUrl,h,H.iT.bind(H),O),M=R$,o$(d,kx(F),6); +case 6:f=M(d.B);H.f4.tick(f.T?"wasm_fa":"wasm_fw");kvZ(H.j,f);g.VI(d,2);break;case 4:g.Lq(d),H.f4.tick("wasm_ferr");case 2:g.B$(d),g.JV(d,0)}})}()})}; +jUh=function(N,H){return N?H?WGS():yH():H?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M4 4C3.73 4 3.48 4.10 3.29 4.29C3.10 4.48 3 4.73 3 5V19C3 19.26 3.10 19.51 3.29 19.70C3.48 19.89 3.73 20 4 20C4.26 20 4.51 19.89 4.70 19.70C4.89 19.51 5 19.26 5 19V5C5 4.73 4.89 4.48 4.70 4.29C4.51 4.10 4.26 4 4 4ZM18.95 4.23L6 12.00L18.95 19.77C19.15 19.89 19.39 19.96 19.63 19.96C19.87 19.97 20.10 19.91 20.31 19.79C20.52 19.67 20.69 19.50 20.81 19.29C20.93 19.09 21.00 18.85 21 18.61V5.38C20.99 5.14 20.93 4.91 20.81 4.70C20.69 4.50 20.52 4.33 20.31 4.21C20.10 4.09 19.87 4.03 19.63 4.03C19.39 4.04 19.15 4.10 18.95 4.23Z", +fill:"white"}}]}:Iww()}; +bHS=function(N){N=N.tabIndex;return typeof N==="number"&&N>=0&&N<32768}; +g.I$=function(N,H){this.state=N;this.oldState=H}; +Nql=function(N,H,c){return H.NQ(c).then(function(){return H2(new ahy(H,H.L))},function(t){t instanceof Error&&g.aS(t); +var h=xx('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),O=Er('audio/mp4; codecs="mp4a.40.2"'),F=h||O,M=H.isLivePlayback&&!g.bm(N.S,!0);t="fmt.noneavailable";M?t="html5.unsupportedlive":F||(t="html5.missingapi");F=M||!F?2:1;h={buildRej:"1",a:H.PJ(),d:!!H.WG,drm:H.f2(),f18:H.Jg.indexOf("itag=18")>=0,c18:h};H.T&&(H.f2()?(h.f142=!!H.T.T["142"],h.f149=!!H.T.T["149"],h.f279=!!H.T.T["279"]):(h.f133=!!H.T.T["133"],h.f140=!!H.T.T["140"],h.f242=!!H.T.T["242"]),h.cAAC=O,h.cAVC=Er('video/mp4; codecs="avc1.42001E"'), +h.cVP9=Er('video/webm; codecs="vp9"'));H.S&&(h.drmsys=H.S.keySystem,O=0,H.S.T&&(O=Object.keys(H.S.T).length),h.drmst=O);return new g.QP(t,h,F)})}; +Nu=function(N){this.hF=oF(N)}; +cDv=function(N,H){H=g.K(H);for(var c=H.next();!c.done;c=H.next()){c=c.value;var t=c.interstitials.map(function(F){var M=g.P(F,H5w);if(M)return{is_yto_interstitial:!0,raw_player_response:M};if(F=g.P(F,i5e))return Object.assign({is_yto_interstitial:!0},OC(F))}); +t=g.K(t);for(var h=t.next();!h.done;h=t.next())switch(h=h.value,c.podConfig.playbackPlacement){case "INTERSTITIAL_PLAYBACK_PLACEMENT_PRE":N.interstitials=N.interstitials.concat({time:0,playerVars:h,AI:5});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_POST":N.interstitials=N.interstitials.concat({time:0x7ffffffffffff,playerVars:h,AI:6});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_INSERT_AT_VIDEO_TIME":var O=Number(c.podConfig.timeToInsertAtMillis);N.interstitials=N.interstitials.concat({time:O,playerVars:h, +AI:O===0?5:7})}}}; +Hy=function(N){return N.ZG?N.ZG-(N.Z||N.timestampOffset):0}; +O5s=function(N,H,c,t,h,O){H.client||(H.client={});N.player.D().N("h5_remove_url_for_get_ad_break")||(H.client.originalUrl=c);var F=Q0(c),M=g.dD(c)?!1:!0;(F||M)&&typeof Intl!=="undefined"&&(H.client.timeZone=(new Intl.DateTimeFormat).resolvedOptions().timeZone);M=g.dD(c)?!1:!0;if(F||M||t!==""){var f={};c=JM(AR(t)).split("&");var d=new Map;c.forEach(function(W){W=W.split("=");W.length>1&&d.set(W[0].toString(),decodeURIComponent(W[1].toString()))}); +d.has("bid")&&(f.bid=d.get("bid"));f.params=[];tDZ.forEach(function(W){d.has(W)&&(W={key:W,value:d.get(W)},f.params.push(W))}); +$pw(N,f);H.adSignalsInfo=f}H.client.unpluggedAppInfo||(H.client.unpluggedAppInfo={});H.client.unpluggedAppInfo.enableFilterMode=!1;c=h.T.cosver;c!=null&&c!=="cosver"&&(H.client.osVersion=c);c=h.T.cplatform;c!=null&&c!=="cplatform"&&c!==""&&(H.client.platform=c);c=h.T.cmodel;c!=null&&c!=="cmodel"&&(H.client.deviceModel=c);c=h.T.cplayer;c!=null&&c!=="cplayer"&&(H.client.playerType=c);c=h.T.cbrand;c!=null&&c!=="cbrand"&&(H.client.deviceMake=c);H.user||(H.user={});H.user.lockedSafetyMode=!1;g.bi(h)&& +hky(H,O,N.player.getPlayerState(1));if(N=h.livingRoomPoTokenId)H.client.tvAppInfo=Object.assign({},H.client.tvAppInfo,{livingRoomPoTokenId:N})}; +iR=function(N,H,c,t,h,O){eq.call(this,N,H,c,t);this.Pp=h;this.U=O;this.S=lQ(this.layout.clientMetadata,"metadata_type_linked_player_bytes_layout_id")}; +Fow=function(N,H,c,t){zC(N)&&N.JI&&t&&t!==96&&(t=c?N.wE.o7(H):H,N.tf(t)||N.JI.T||N.Lq("prebuffer",{miss:1,t:H.toFixed(3),isUtc:c}))}; +Vnf=function(N){return hA(N,function(H){return"FORMAT_STREAM_TYPE_OTF"===H.type})?"FORMAT_STREAM_TYPE_OTF":"FORMAT_STREAM_TYPE_UNKNOWN"}; +ho=function(N,H,c){N.T&&(WP(N.T,H),H=N.T,N.T=null);for(var t=0,h=0,O=g.K(N.L4),F=O.next();!F.done;F=O.next())if(F=F.value,F.range&&t+F.B<=N.B)t+=F.B;else{if(cy(F)&&!c&&N.B+H.totalLength-h>>0);return Number.isSafeInteger(c)?c:hK(N,H)}; +dUt=function(N,H){return(N=FAv(N,H*1E3))?H-N.start/1E3:H}; +Woe=function(N){Mk(N,"impression")&&!Mk(N,"seek")&&N.F1("active_view_viewable")}; +na=function(N){var H=N.q4&&N.q4.HB();if(N.policy.l7){if((N=N.C)==null)N=void 0;else{var c;N=(c=N.L)==null?void 0:c.info}return N||null}return H}; +zkh=function(N,H){var c,t;F6(N.Pp.get(),"ads_imp","cpn."+lQ(N.layout.clientMetadata,"metadata_type_content_cpn")+";acpn."+((c=s7(N.ea.get(),2))==null?void 0:c.clientPlaybackNonce)+";clr."+H+";skp."+!!g.P((t=lQ(N.layout.clientMetadata,"metadata_type_instream_ad_player_overlay_renderer"))==null?void 0:t.skipOrPreviewRenderer,Ts))}; +ErS=function(N,H,c){N=N.B;var t=g.Kv(N,{gs:H},function(F,M){return F.gs-M.gs}); +t=t<0?(t+2)*-1:t;if(t>=0)for(var h=t;h<=t+1&&h=O.gs-c&&H<=O.m9+c)return O}}; +QM=function(N,H){if((H=N.Hr.get(H))&&!H.wR){H.wR=!0;if(H.onProgress)H.onProgress();a:{H=g.K(N.Hr.values());for(var c=H.next();!c.done;c=H.next())if(!c.value.wR){H=!1;break a}H=!0}H&&N.B.gf()}}; +sc=function(N){this.hF=oF(N)}; +xUR=function(N,H){if(N){var c;g.jv.isLoading()?c=!1:c=!lK||(0,g.Lh)()-lK>H;N=c}else N=!1;return N}; +qHd=function(N,H,c){c=c===void 0?!0:c;N.L=N.U.animate([{offset:0,opacity:H===void 0?1:H},{offset:1,opacity:0}],{duration:200,fill:"forwards",easing:"cubic-bezier(0.20, 0.00, 0.60, 1.00)"});c&&(N.L.addEventListener("finish",function(){N.L=void 0;uVt(N);N.hide()}),N.T="fading-out")}; +Cah=function(N){if(N.J.N("delhi_modern_web_player_icons"))return N=Mu.includes("en")?ff(N)&&N.isEnabled()?{W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M21 3H3C2.46 3 1.96 3.21 1.58 3.58C1.21 3.96 1 4.46 1 5V19C1 19.53 1.21 20.03 1.58 20.41C1.96 20.78 2.46 21 3 21H21C21.53 21 22.03 20.78 22.41 20.41C22.78 20.03 23 19.53 23 19V5C23 4.46 22.78 3.96 22.41 3.58C22.03 3.21 21.53 3 21 3ZM9.03 8.08L9.29 8.16C9.79 8.35 10.24 8.65 10.60 9.05L10.77 9.26L10.83 9.34C10.96 9.55 11.01 9.80 10.96 10.05C10.92 10.29 10.79 10.51 10.59 10.66C10.40 10.81 10.15 10.89 9.91 10.87C9.66 10.85 9.43 10.74 9.26 10.57L9.19 10.49L9.11 10.39C8.98 10.24 8.81 10.12 8.62 10.05L8.54 10.02C8.32 9.97 8.10 10.00 7.91 10.11C7.67 10.24 7.48 10.43 7.35 10.67L7.28 10.79C7.09 11.16 6.99 11.58 7 12L7.00 12.16C7.02 12.52 7.11 12.88 7.28 13.20L7.35 13.32C7.48 13.56 7.67 13.75 7.91 13.88L7.99 13.92C8.16 14.00 8.35 14.02 8.54 13.97L8.62 13.94C8.85 13.85 9.05 13.70 9.19 13.50L9.26 13.43C9.44 13.24 9.68 13.13 9.93 13.12C10.19 13.11 10.44 13.20 10.63 13.37C10.82 13.53 10.94 13.77 10.97 14.02C11.00 14.27 10.93 14.53 10.77 14.73C10.39 15.23 9.88 15.61 9.29 15.83L9.03 15.91C8.43 16.06 7.79 16.01 7.21 15.77L6.97 15.65C6.42 15.35 5.95 14.90 5.64 14.36L5.50 14.12C5.21 13.55 5.04 12.92 5.00 12.27L5 12C4.99 11.26 5.17 10.53 5.50 9.87L5.64 9.63C5.96 9.09 6.42 8.64 6.97 8.34C7.60 8.00 8.34 7.91 9.03 8.08ZM17.03 8.08L17.29 8.16C17.79 8.35 18.24 8.65 18.60 9.05L18.77 9.26L18.83 9.34C18.96 9.55 19.01 9.80 18.96 10.05C18.92 10.29 18.79 10.51 18.59 10.66C18.40 10.81 18.15 10.89 17.91 10.87C17.66 10.85 17.43 10.74 17.26 10.57L17.19 10.49L17.11 10.39C16.98 10.24 16.81 10.12 16.62 10.05L16.54 10.02C16.32 9.97 16.10 10.00 15.91 10.11C15.67 10.24 15.48 10.43 15.35 10.67L15.28 10.79C15.09 11.16 14.99 11.58 15 12L15.00 12.16C15.02 12.52 15.11 12.88 15.28 13.20L15.35 13.32C15.48 13.56 15.67 13.75 15.91 13.88L15.99 13.92C16.16 14.00 16.35 14.02 16.54 13.97L16.62 13.94C16.85 13.85 17.05 13.70 17.19 13.50L17.26 13.43C17.44 13.24 17.68 13.13 17.93 13.12C18.19 13.11 18.44 13.20 18.63 13.37C18.82 13.53 18.94 13.77 18.97 14.02C19.00 14.27 18.93 14.53 18.77 14.73C18.39 15.23 17.88 15.61 17.29 15.83L17.03 15.91C16.43 16.06 15.79 16.01 15.21 15.77L14.97 15.65C14.42 15.35 13.95 14.90 13.64 14.36L13.50 14.12C13.21 13.55 13.04 12.92 13.00 12.27L13 12C12.99 11.26 13.17 10.53 13.50 9.87L13.64 9.63C13.96 9.09 14.42 8.64 14.97 8.34C15.60 8.00 16.34 7.91 17.03 8.08Z", +fill:"white"}}]}:jG():ff(N)&&N.isEnabled()?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M21 3H3C2.46 3 1.96 3.21 1.58 3.58C1.21 3.96 1 4.46 1 5V19C1 19.53 1.21 20.03 1.58 20.41C1.96 20.78 2.46 21 3 21H21C21.53 21 22.03 20.78 22.41 20.41C22.78 20.03 23 19.53 23 19V5C23 4.46 22.78 3.96 22.41 3.58C22.03 3.21 21.53 3 21 3ZM6 11H8C8.26 11 8.51 11.10 8.70 11.29C8.89 11.48 9 11.73 9 12C9 12.26 8.89 12.51 8.70 12.70C8.51 12.89 8.26 13 8 13H6C5.73 13 5.48 12.89 5.29 12.70C5.10 12.51 5 12.26 5 12C5 11.73 5.10 11.48 5.29 11.29C5.48 11.10 5.73 11 6 11ZM12 11H18C18.26 11 18.51 11.10 18.70 11.29C18.89 11.48 19 11.73 19 12C19 12.26 18.89 12.51 18.70 12.70C18.51 12.89 18.26 13 18 13H12C11.73 13 11.48 12.89 11.29 12.70C11.10 12.51 11 12.26 11 12C11 11.73 11.10 11.48 11.29 11.29C11.48 11.10 11.73 11 12 11ZM16 15H18C18.26 15 18.51 15.10 18.70 15.29C18.89 15.48 19 15.73 19 16C19 16.26 18.89 16.51 18.70 16.70C18.51 16.89 18.26 17 18 17H16C15.73 17 15.48 16.89 15.29 16.70C15.10 16.51 15 16.26 15 16C15 15.73 15.10 15.48 15.29 15.29C15.48 15.10 15.73 15 16 15ZM6 15H12C12.26 15 12.51 15.10 12.70 15.29C12.89 15.48 13 15.73 13 16C13 16.26 12.89 16.51 12.70 16.70C12.51 16.89 12.26 17 12 17H6C5.73 17 5.48 16.89 5.29 16.70C5.10 16.51 5 16.26 5 16C5 15.73 5.10 15.48 5.29 15.29C5.48 15.10 5.73 15 6 15Z", +fill:"white"}}]}:Vpl()}; +Qy=function(N,H,c){N=fD(N,H===void 0?0:H,c===void 0?-1:c);H=new Uint8Array(N.length);try{H.set(N)}catch(t){for(c=0;cH.startSeconds&&d4(N,H.endSeconds)}; +mUv=function(N){if(N=N.getWatchNextResponse()){var H,c;N=(H=N.playerOverlays)==null?void 0:(c=H.playerOverlayRenderer)==null?void 0:c.timelyActionsOverlayViewModel;H=g.P(N,grl);if(H!=null&&H.timelyActions)return H==null?void 0:H.timelyActions.map(function(t){return g.P(t,rDL)}).filter(function(t){return!!t})}}; +Wy=function(N){if(!/^\w+$/.test(N))throw Error("ExpectedRegexMismatch: "+N);}; +lR=function(N){dK.call(this,N);var H=this,c={};this.NT=(c.TIMELY_ACTION_TRIGGER_TYPE_UNSPECIFIED=function(){return!1},c.TIMELY_ACTION_TRIGGER_TYPE_KEYBOARD_SEEK=function(t){return wUZ(H,t)},c.TIMELY_ACTION_TRIGGER_TYPE_PROGRESS_BAR_SEEK=function(t){return wUZ(H,t)},c.TIMELY_ACTION_TRIGGER_TYPE_PLAYER_CONTROLS_SHOWN=function(){return H.api.D().experiments.M4("enable_smart_skip_player_controls_shown_on_web_increased_triggering_sensitivity")?H.S&&H.Z:H.S&&H.C},c.TIMELY_ACTION_TRIGGER_TYPE_SPEEDMASTER= +function(){return H.ox},c); +this.ox=this.Z=this.C=this.S=!1;this.U={};this.events=new g.Ww(N);g.l(this,this.events);this.Y=new g.la(this.api.BO().BJ);g.l(this,this.Y);this.api.N("enable_smart_skip_web_player_bar_hover_length_threshold")&&g.Mx(this.api.D().experiments,"smart_skip_web_player_bar_min_hover_length_milliseconds")&&(c=g.Mx(this.api.D().experiments,"smart_skip_web_player_bar_min_hover_length_milliseconds"),this.Bp=new g.kT(this.Tz,c,this),g.l(this,this.Bp));this.events.G(N,"videodatachange",function(t,h){if(t!=="dataupdated"|| +h.videoId!==H.videoId||!zs(H.timelyActions,mUv(h)))H.onVideoDataChange(h)}); +this.events.G(N,"presentingplayerstatechange",function(t){H.Wv(t)}); +N.N("enable_smart_skip_player_controls_shown_on_web")&&(this.events.G(N,"onShowControls",function(){H.S=!0;H.Tz()}),this.events.G(N,"onHideControls",function(){H.S=!1}),this.Y.subscribe("hoverstart",function(){H.C=!0; +H.Tz()},this),this.Y.subscribe("hoverend",function(){H.C=!1},this),N.N("enable_smart_skip_player_controls_shown_on_web_increased_triggering_sensitivity")&&(this.events.G(N,"progressBarHoverStart",function(){H.Z=!0; +if(H.api.N("enable_smart_skip_web_player_bar_hover_length_threshold")){var t;(t=H.Bp)==null||g.lY(t)}else H.Tz()}),this.events.G(N,"progressBarHoverEnd",function(){H.Z=!1; +if(H.api.N("enable_smart_skip_web_player_bar_hover_length_threshold")){var t;(t=H.Bp)==null||t.stop()}}))); +N.N("enable_smart_skip_speedmaster_on_web")&&this.events.G(N,"speedmasterchanged",function(t){(H.ox=t)&&H.Tz()}); +this.events.G(N,g.dm("timelyAction"),function(t){H.onCueRangeEnter(t.getId())}); +this.events.G(N,g.WX("timelyAction"),function(t){H.onCueRangeExit(t.getId())}); +N.N("web_enable_keyboard_shortcut_for_timely_actions")&&this.events.G(N,"keyboardserviceglobalkeydown",function(t,h){if((Ej?t.altKey:t.ctrlKey)&&t.keyCode===39&&H.TW&&H.T){var O;t=g.P((O=xw(H,H.T))==null?void 0:O.rendererContext,DUS);if(O=d5(t==null?void 0:t.onTap))H.api.QS("innertubeCommand",O),h&&(h.XB=!0),h=qu(),(O=QvS(h))&&(t=g.gi(0))&&Cf(h.client,t,O,void 0)}},this); +this.B=new g.e({W:"div",fq:["ytp-player-content","ytp-timely-actions-content"]});this.B.hide();wl(N,"insertTimelyActionUi",function(t){H.B.element.children.length>0&&g.oH(H.B.element);t.classList.add("ytp-timely-actions-overlay");H.B.element.appendChild(t)}); +g.l(this,this.B);this.N("web_player_overlay_positioned_layout")?this.events.G(N,"basechromeinitialized",function(){H.api.PR(H.B.element,4,!0);H.B.element.setAttribute("data-overlay-order","10")}):g.aG(this.api,this.B.element,4)}; +Nm=function(){var N=/WebKit\/([0-9]+)/.exec(g.tA());return!!(N&&parseInt(N[1],10)>=602)}; +uRt=function(N,H,c){this.actionType=H;this.id=c;this.content=N}; +FRf=function(N){return new Promise(function(H,c){yBR(N,H,c)})}; +pUR=function(N,H){this.request=N;this.cursor=H}; +xU=function(N,H,c){Xa(N,H,2);pn(N.T,c.length);vE(N,N.T.end());vE(N,c)}; +u6D=function(N){var H=Kf(N)?"custom_metric_viewable":N.toLowerCase();return yj(VG,function(c){return c==H})}; +UG=function(N,H,c){return N+c*(H-N)}; +JDh=function(N){return{token:fB(N,1),videoId:fB(N,2)}}; +YER=function(N){return typeof N.className=="string"?N.className:N.getAttribute&&N.getAttribute("class")||""}; +g4=function(N){dK.call(this,N);var H=this;this.T=!0;var c=new g.Ww(N);g.l(this,c);c.G(N,"internalaudioformatchange",function(t,h){PCy(H,t,h)}); +c.G(N,"annotationvisibility",function(t){H.api.N("web_fix_annotations")&&uu3(H,(294).toString(),{boolValue:t})}); +c.G(N,"videoplayerreset",function(){nq(H)}); +c.G(N,"videodatachange",function(t,h){H.onVideoDataChange(t,h)})}; +SHf=function(){this.L=!WV(iJ.top);this.isMobileDevice=r4()||nrl();var N=pV();this.domain=N.length>0&&N[N.length-1]!=null&&N[N.length-1].url!=null?g.dD(N[N.length-1].url)||"":"";this.T=new wu(0,0,0,0);this.U=new g.rv(0,0);this.S=new g.rv(0,0);this.C=new wu(0,0,0,0);this.frameOffset=new g.Sr(0,0);this.Y=0;this.Z=!1;this.B=!(!iJ||!Jph(iJ).tI);this.update(iJ)}; +Mj=function(N,H,c,t,h,O,F,M,f){h=h===void 0?[]:h;F=F===void 0?!1:F;f=f===void 0?!1:f;h={W:"button",fq:["ytp-ad-button"].concat(h)};M!=null&&(h.V={tabindex:M});sE.call(this,N,h,O===void 0?"button":O,H,c,t);this.T=this.B=this.L=null;this.S=F;this.U=f;this.hide()}; +Wg=function(N){g.L.call(this);this.app=N;this.S=this.U=this.B=this.T=null;this.L=1;this.events=new g.Ww(this);this.events.G(this.app.VS,g.WX("gaplessshortslooprange"),this.Z);g.l(this,this.events)}; +MO=function(N){this.player=N;this.L=this.T=1}; +UU3=function(N){if(Jq()&&N!=="Silk"){var H=WW.brands.find(function(c){return c.brand===N}); +if(!H||!H.version)return NaN;H=H.version.split(".")}else{H=Paw(N);if(H==="")return NaN;H=H.split(".")}return H.length===0?NaN:Number(H[0])}; +mz=function(N,H,c){for(var t=g.K(XUD),h=t.next();!h.done;h=t.next()){h=h.value;var O=N.Jn.get(h);O&&(c||O.cM(H))&&(g.ez(O),N.Jn.delete(h))}N.J.publish("modulesDestroyed",H)}; +hZ=function(N,H){var c=N.l6();N.expanded!==c&&(N.expanded=c,H===void 0||H?(N.mG.stop(),N.Al.stop(),N.WO.stop(),N.mG.start()):(N.L.a4(N.expanded),g.QH(N.badge.element,"ytp-suggested-action-badge-expanded",N.expanded)),N.Mb())}; +LoD=function(N){function H(){c-=t;c-=h;c^=h>>>13;t-=h;t-=c;t^=c<<8;h-=c;h-=t;h^=t>>>13;c-=t;c-=h;c^=h>>>12;t-=h;t-=c;t^=c<<16;h-=c;h-=t;h^=t>>>5;c-=t;c-=h;c^=h>>>3;t-=h;t-=c;t^=c<<10;h-=c;h-=t;h^=t>>>15} +N=LRy(N);for(var c=2654435769,t=2654435769,h=314159265,O=N.length,F=O,M=0;F>=12;F-=12,M+=12)c+=ec(N,M),t+=ec(N,M+4),h+=ec(N,M+8),H();h+=O;switch(F){case 11:h+=N[M+10]<<24;case 10:h+=N[M+9]<<16;case 9:h+=N[M+8]<<8;case 8:t+=N[M+7]<<24;case 7:t+=N[M+6]<<16;case 6:t+=N[M+5]<<8;case 5:t+=N[M+4];case 4:c+=N[M+3]<<24;case 3:c+=N[M+2]<<16;case 2:c+=N[M+1]<<8;case 1:c+=N[M+0]}H();return VDZ.toString(h)}; +w4=function(N,H){H.method="POST";H.postParams||(H.postParams={});return g.Rj(N,H)}; +f9=function(N){var H="";if(N.MN)return N.MN;N.isLivePlayback&&(H=N.allowLiveDvr?"dvr":N.isPremiere?"lp":N.j$?"window":"live");N.K6&&(H="post");return H}; +Qa=function(N,H){var c,t,h,O,F,M,f,d;return g.Y(function(W){if(W.T==1){c=Dp(N,"redirector.googlevideo.com");c.set("alr","yes");c.set("id",""+Math.round(Math.random()*1E5));if(H===1||H===2)c.set("cmo=sensitive_content","yes"),c.set("sc","yes");H===2&&c.set("cmo=td","c.youtube.com");t={format:"RAW",timeout:5E3};return g.a(W,ym(c.uG(),t),2)}h=W.B;if(h.xhr.status!==200||!h.xhr.responseText)return W.return(Promise.reject(new g.ti("b204258371_no_host",c.uG(),h.xhr.status)));O=new g.Ft(h.xhr.responseText); +F=Sc(19,O);M=O.get("ms");f=Dp(N,F);d=O.get("mm");f.set("ms",M);f.set("mm",d);return F&&Z5l(F)?H!==2||Wf(F)?W.return(f):W.return(Promise.reject(new g.ti("b204258371_untrusted",F,M))):W.return(Promise.reject(new g.ti("b204258371_invalid",F,M)))})}; +s2v=function(N,H){g.x$(N.api.g_())&&N.api.setOption("captions","sampleSubtitles",H)}; +YHf=function(N,H){if(N.J.D().Cq){var c=g.EC(N.J,"Mute","m"),t=g.EC(N.J,"Unmute","m");c=H?t:c;N.J.D().N("player_tooltip_data_title_killswitch")?N.updateValue("title",c):N.update({"tooltip-title":c,"aria-label":c});N.update({"data-title-no-tooltip":H?"Unmute":"Mute"});N.tooltip.oo()}}; +pf=function(){return window.android&&window.android.webview&&window.android.webview.getExperimentalMediaIntegrityTokenProvider}; +ADl=function(N,H,c){function t(){if(W)throw Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return M} +function h(x){if(typeof x!=="object"||x===null)var q=!1;else{for(q=x;Object.getPrototypeOf(q)!==null;)q=Object.getPrototypeOf(q);q=Object.getPrototypeOf(x)===q}if(!q)throw Error("Actions must be plain objects. Instead, the actual type was: '"+typeof x+"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples."); +if(typeof x.type==="undefined")throw Error('Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(W)throw Error("Reducers may not dispatch actions.");try{W=!0,M=F(M,x)}finally{W=!1}q=f=d;for(var r=0;rt)return Im(N,O.config),uPt(N,O.configData),NS(N,O.hashData),M.return(tR());case 2:iKh(N);if(!(c&&N.T&&N.coldHashData&&N.configData)){M.rE(4);break}return g.a(M,pwl(N.T, +N.coldHashData,N.configData,c,t),4);case 4:return N.T?M.return(tR()):(F=new g.ti("Config not available in ytConfig"),Uf(F),M.return(Promise.reject(F)))}})}; +GIl=function(N,H,c){this.layoutId=H;this.offsetMs=c;this.triggerType="TRIGGER_TYPE_SEEK_FORWARD_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER";this.triggerId=N(this.triggerType)}; +zM=function(N){this.hF=oF(N,500)}; +P5w=function(N){return{minBandwidthBytesPerSec:IZ(N,1),minReadaheadMs:IZ(N,2)}}; +nf=function(N){g.e.call(this,{W:"button",fq:["ytp-fullerscreen-edu-button","ytp-button"],X:[{W:"div",fq:["ytp-fullerscreen-edu-text"],Wp:"Scroll for details"},{W:"div",fq:["ytp-fullerscreen-edu-chevron"],X:[RkL()]}],V:{"data-priority":"2"}});this.VS=N;this.fade=new g.BX(this,250,void 0,100);this.B=this.T=!1;N.createClientVe(this.element,this,61214);g.l(this,this.fade);this.G(N,"fullscreentoggled",this.Df);this.G(N,"presentingplayerstatechange",this.Df);this.listen("click",this.onClick);this.Df()}; +SZ=function(N,H){if(N)for(var c in N)Object.prototype.hasOwnProperty.call(N,c)&&H(N[c],c,N)}; +kIs=function(N){var H=Hq(N.T)>>>0;return ort(N.T,H)}; +Itf=function(N,H){d8(N,1,H.deviceInterface);$z(N,2,H.deviceVersion);I3(N,3,H.isSleeping)}; +qN=function(N,H,c){return arguments.length<=2?Array.prototype.slice.call(N,H):Array.prototype.slice.call(N,H,c)}; +b5s=function(N){var H=new Map;N=g.K(N);for(var c=N.next();!c.done;c=N.next())(c=c.value.renderer.remoteSlotsRenderer)&&c.hostElementId&&H.set(c.hostElementId,c);return H}; +Sv=function(N,H,c){c=g.K(c);for(var t=c.next();!t.done;t=c.next())if(t=t.value,!N.CC.tZ.get(t.triggerType))throw new sz("No trigger adapter registered for "+NDD.get(H)+" trigger of type: "+t.triggerType,void 0,"ADS_CLIENT_ERROR_MESSAGE_NO_TRIGGER_ADAPTER_REGISTERED_FOR_TYPE");}; +Py=function(N,H){if(N.policy.x6)return!1;var c=H.getResponseHeader("content-type"),t=H.BC();N=!t||t<=N.policy.f7;return(!H.hg()||!c||c.indexOf("text/plain")!==-1)&&N}; +XB=function(N,H,c,t){t=t===void 0?!1:t;if(c.indexOf(H)>-1)throw Error("Deps cycle for: "+H);if(N.B.has(H))return N.B.get(H);if(!N.T.has(H)){if(t)return;throw Error("No provider for: "+H);}t=N.T.get(H);c.push(H);if(t.bV!==void 0)var h=t.bV;else if(t.Byl)h=t[Uj]?Hxt(N,t[Uj],c):[],h=t.Byl.apply(t,g.HE(h));else if(t.Zd){h=t.Zd;var O=h[Uj]?Hxt(N,h[Uj],c):[];h=new (Function.prototype.bind.apply(h,[null].concat(g.HE(O))))}else throw Error("Could not resolve providers for: "+H);c.pop();t.jyW||N.B.set(H,h); +return h}; +Va=function(N,H){N.T||(N.Fg.xG(H),N.T=!0)}; +yuS=function(){var N=g.NA("ytcsi.reference");if(N)return N;jW();return g.NA("ytcsi.reference")}; +VZS=function(N){var H=new g.xm(N.j,N.fD);N.VS.publish("initialvideodatacreated",H);return Lf(N,1,H,!1)}; +Gx=function(N){var H=":"+(Zp.getInstance().T++).toString(36);return N+H}; +Yw=function(N){g.e.call(this,{W:"div",K:"ytp-seek-overlay",X:[{W:"div",fq:["ytp-seek-overlay-animation","ytp-seek-overlay-animation-back"],X:[{W:"div",fq:["ytp-seek-overlay-arrow","ytp-seek-overlay-arrow-persistent"],X:[{W:"svg",V:{viewBox:"0 0 22 32",width:"22",height:"24"},X:[{W:"path",V:{d:"M 18 4 L 6 16 L 18 28",stroke:"white","stroke-width":"4","stroke-linecap":"round",fill:"none"}}]}]},{W:"div",K:"ytp-seek-overlay-duration",Wp:"{{durationBack}}"}]},{W:"div",fq:["ytp-seek-overlay-animation", +"ytp-seek-overlay-animation-forward"],X:[{W:"div",K:"ytp-seek-overlay-duration",Wp:"{{durationForward}}"},{W:"div",fq:["ytp-seek-overlay-arrow","ytp-seek-overlay-arrow-persistent"],X:[{W:"svg",V:{viewBox:"0 0 22 32",width:"22",height:"24"},X:[{W:"path",V:{d:"M 4 4 L 16 16 L 4 28",stroke:"white","stroke-width":"4","stroke-linecap":"round",fill:"none"}}]}]}]},{W:"div",K:"ytp-seek-overlay-message",X:[{W:"div",K:"ytp-seek-overlay-message-icon",Wp:"{{icon}}"},{W:"div",K:"ytp-seek-overlay-message-text", +Wp:"{{text}}"}]}]});var H=this;this.J=N;this.S=0;this.T="hidden";this.C=this.Sa("ytp-seek-overlay-animation-back");this.Z=this.Sa("ytp-seek-overlay-animation-forward");this.Bp=this.Sa("ytp-seek-overlay-message");this.Y=new g.kT(function(){qHd(H)},g.Mx(this.J.D().experiments,"web_player_seek_overlay_linger_duration")||1E3); +g.l(this,this.Y);this.J.createClientVe(this.Z,this,28240);this.J.createClientVe(this.C,this,28239);this.J.logVisibility(this.Z,!0);this.J.logVisibility(this.C,!0);this.hide()}; +ixt=function(N,H){H=H===void 0?{}:H;var c,t;return g.Y(function(h){if(h.T==1)return g.a(h,g.D6(),2);if(h.T!=3){c=h.B;if(!c)return h.return();pe(N);t=eah(N);return g.a(h,ts(t.actualName,H),3)}return g.a(h,ub(t.actualName,c),0)})}; +hIw=function(N,H,c,t){if(N.S){var h=c2h[H];H=N.S+h;N.L&&(H+="?cb="+N.L);tAl(N,H,function(){N.U.add(h);c.call(N)},t)}}; +c4=function(){var N,H,c;return(c=(N=globalThis.performance)==null?void 0:(H=N.now)==null?void 0:H.call(N))!=null?c:Date.now()}; +hKt=function(N){switch(N){case 0:return"No Error";case 1:return"Access denied to content document";case 2:return"File not found";case 3:return"Firefox silently errored";case 4:return"Application custom error";case 5:return"An exception occurred";case 6:return"Http response at 400 or 500 level";case 7:return"Request was aborted";case 8:return"Request timed out";case 9:return"The resource is not available offline";default:return"Unrecognized error code"}}; +Pjh=function(N,H,c,t,h,O,F){F==="PLAY_PROGRESS"&&(c=!t||N.api.D().B?1:c/t,N.Jj.clientWidth>0||N.AN.clientWidth>0?(O=H.clientWidth/c,N=-1*N.Jj.clientWidth/c):(O/=c,N=-1*N.T[h].element.offsetLeft/c),g.eU(H,"background-size",O+"px"),g.eU(H,"background-position-x",N+"px"))}; +Ao=function(N){N.T===0&&N.api.getRootNode().style.setProperty("--ytp-grid-scroll-percentage","0");requestAnimationFrame(function(){var H=N.T-N.Y,c=H;N.T!==0&&(c=g.Ae(H,-.01,.01));N.Y+=c;N.api.getRootNode().style.setProperty("--ytp-grid-scroll-percentage",""+N.Y.toString());N.Y!==N.T&&Ao(N)})}; +Ox3=function(N){var H;return((H=document.featurePolicy)==null?0:H.allowedFeatures().includes("attribution-reporting"))?N+"&nis=6":N+"&nis=5"}; +WH=function(N,H){var c=c===void 0?!1:c;Gu(H);(c||N.j.vO())&&N.publish("ctmp","drmlog",H)}; +Ree=function(N){var H=N.layoutId,c=N.vG,t=N.MP;N.gA&&(N={},r0(t,"sleo",(N.xc=H,N.is=c,N.ctp=w0(H),N)),Fpe(t))}; +g.at=function(N,H,c){g.lJ.call(this,N);this.videoData=H;this.audioTrack=c;this.B=null;this.U=!1;this.S=H.vI;this.Z=H.zP;this.U=g.Yq(H)}; +ev=function(N){g.L.call(this);this.wpc=N}; +vy=function(N){this.value=N}; +sj=function(N){N.FH()&&(N.wE&&N.wE.Yt("rs_s"),bA&&N.getCurrentTime()>0&&N.seekTo(0),N.M1(),N.load(),qnS(N,null));delete N.Y}; +By=function(N){oZ.call(this,N.qF,N.slot,N.C2,N.Pp,N.r_,N.ea,N.k_,N.YO,N.Mi,N.V4,N.JZ,N.q_,N.PQ,N.X7,N.Rx,N.B1,N.dR,N.context)}; +TDd=function(N,H,c,t,h){H=new g.TW(g.jC({},[],!1,!!h),H,c);h&&H.updateValue("secondaryIcon",$dy(h));H.setIcon($dy(t));g.l(N,H);N.hn.Ou(H,!0);return H}; +ya=function(){}; +Rwf=function(N,H,c){var t=H.Ok,h=H.getMetadata(),O=jZR(N,!0);N=MAZ(N,h,O,c+t.getName());c=XTy(O,t.B,!1);D9v(c,h["X-Goog-Encode-Response-If-Executable"]==="base64");H=t.T(H.sW);O.send(N,"POST",H);return c}; +fKf=function(N,H,c,t){H.durationMs=c;H.m9=t;(t=N.NT.get(H.cpn))?t.cQ(c/1E3):N.EF({nop_d:H.cpn})}; +w8=function(N){g.L.call(this);this.L=N;this.AY=!0;this.tF=new Map;this.T=new Map;this.B=new Map}; +ig=function(N,H,c,t){N.T().XO(H,t);c=c();N=N.T();N.j1.Gi("ADS_CLIENT_EVENT_TYPE_OPPORTUNITY_PROCESSED",H,t,c);H=g.K(c);for(c=H.next();!c.done;c=H.next())a:{t=N;c=c.value;t.j1.SE("ADS_CLIENT_EVENT_TYPE_SLOT_RECEIVED",c);t.j1.SE("ADS_CLIENT_EVENT_TYPE_SCHEDULE_SLOT_REQUESTED",c);try{var h=t.T;if(g.YY(c.slotId))throw new S("Slot ID was empty",void 0,"ADS_CLIENT_ERROR_MESSAGE_INVALID_SLOT");if(FW(h,c))throw new S("Duplicate registration for slot.",{slotId:c.slotId,slotEntryTriggerType:c.slotEntryTrigger.triggerType}, +"ADS_CLIENT_ERROR_MESSAGE_DUPLICATE_SLOT");if(!h.CC.Yd.has(c.slotType))throw new S("No fulfillment adapter factory registered for slot of type: "+c.slotType,void 0,"ADS_CLIENT_ERROR_MESSAGE_NO_FULFILLMENT_ADAPTER_REGISTERED");if(!h.CC.iH.has(c.slotType))throw new S("No SlotAdapterFactory registered for slot of type: "+c.slotType,void 0,"ADS_CLIENT_ERROR_MESSAGE_NO_SLOT_ADAPTER_REGISTERED");Gs(h,"TRIGGER_CATEGORY_SLOT_ENTRY",c.slotEntryTrigger?[c.slotEntryTrigger]:[]);Gs(h,"TRIGGER_CATEGORY_SLOT_FULFILLMENT", +c.slotFulfillmentTriggers);Gs(h,"TRIGGER_CATEGORY_SLOT_EXPIRATION",c.slotExpirationTriggers);var O=t.T,F=c.slotType+"_"+c.slotPhysicalPosition,M=L6(O,F);if(FW(O,c))throw new S("Duplicate slots not supported",void 0,"ADS_CLIENT_ERROR_MESSAGE_DUPLICATE_SLOT");M.set(c.slotId,new ddD(c));O.T.set(F,M)}catch(Nf){Nf instanceof S&&Nf.My?(t.j1.Dz("ADS_CLIENT_ERROR_TYPE_REGISTER_SLOT_FAILED",Nf.My,c),KA(Nf,c,void 0,void 0,Nf.bH)):(t.j1.Dz("ADS_CLIENT_ERROR_TYPE_REGISTER_SLOT_FAILED","ADS_CLIENT_ERROR_MESSAGE_UNEXPECTED_ERROR", +c),KA(Nf,c));break a}FW(t.T,c).Y=!0;try{var f=t.T,d=FW(f,c),W=c.slotEntryTrigger,z=f.CC.tZ.get(W.triggerType);z&&(z.ye("TRIGGER_CATEGORY_SLOT_ENTRY",W,c,null),d.ox.set(W.triggerId,z));for(var E=g.K(c.slotFulfillmentTriggers),x=E.next();!x.done;x=E.next()){var q=x.value,r=f.CC.tZ.get(q.triggerType);r&&(r.ye("TRIGGER_CATEGORY_SLOT_FULFILLMENT",q,c,null),d.Bp.set(q.triggerId,r))}for(var w=g.K(c.slotExpirationTriggers),n=w.next();!n.done;n=w.next()){var p=n.value,U=f.CC.tZ.get(p.triggerType);U&&(U.ye("TRIGGER_CATEGORY_SLOT_EXPIRATION", +p,c,null),d.TW.set(p.triggerId,U))}var X=f.CC.Yd.get(c.slotType).get().build(f.L,c);d.C=X;var A=f.CC.iH.get(c.slotType).get().build(f.S,c);A.init();d.B=A}catch(Nf){Nf instanceof S&&Nf.My?(t.j1.Dz("ADS_CLIENT_ERROR_TYPE_SCHEDULE_SLOT_FAILED",Nf.My,c),KA(Nf,c,void 0,void 0,Nf.bH)):(t.j1.Dz("ADS_CLIENT_ERROR_TYPE_SCHEDULE_SLOT_FAILED","ADS_CLIENT_ERROR_MESSAGE_UNEXPECTED_ERROR",c),KA(Nf,c));xO(t,c,!0);break a}t.j1.SE("ADS_CLIENT_EVENT_TYPE_SLOT_SCHEDULED",c);t.T.d0(c);for(var R=g.K(t.B),v=R.next();!v.done;v= +R.next())v.value.d0(c);TU(t,c)}}; +Rt=function(N,H,c,t,h,O,F){eq.call(this,c,N,H,t);this.U=h;this.k_=O;this.Rx=F}; +fz=function(N,H,c,t){function h(){return O.B} +g.L.call(this);var O=this;N.D().experiments.M4("html5_dispose_of_manager_before_dependency")?(this.T=yCe(h,N,H,c,t),this.B=(new ot(this.T)).L(),g.l(this,this.B),g.l(this,this.T)):(this.T=yCe(h,N,H,c,t),g.l(this,this.T),this.B=(new ot(this.T)).L(),g.l(this,this.B))}; +kw=function(N){for(var H=0,c=g.K(N.B),t=c.next();!t.done;t=c.next())H+=rWD(t.value.info);return H+=LZ3(N.L)}; +PAZ=function(){BV();var N=yG();return N.L||N.B?0:2}; +g7w=function(N,H){var c=H.code;c!==void 0&&(bK(N,8),bK(N,c<<1^c>>31));$z(N,2,H.message)}; +Di=function(N){if(N.N("html5_onesie")&&N.errorCode)return!1;var H=g.O7(N.AJ,"ypc");N.ypcPreview&&(H=!1);return N.DI()&&!N.loading&&(g.It(N)||g.O7(N.AJ,"heartbeat")||H)}; +Wpw=function(N,H){N.captionTracks=[];if(H.captionTracks)for(var c=g.K(H.captionTracks),t=c.next();!t.done;t=c.next()){t=t.value;var h=cWR(t.baseUrl);if(!h)return;h={is_translateable:!!t.isTranslatable,languageCode:t.languageCode,languageName:t.name&&g.Fu(t.name),url:h,vss_id:t.vssId,kind:t.kind};h.name=t.trackName;h.displayName=t.name&&g.Fu(t.name);N.captionTracks.push(new g.GB(h))}N.Za=H.audioTracks||[];N.Jp=H.defaultAudioTrackIndex||0;N.vI=[];if(H.translationLanguages)for(c=g.K(H.translationLanguages), +t=c.next();!t.done;t=c.next()){h=t.value;t={};t.languageCode=h.languageCode;t.languageName=g.Fu(h.languageName);if(h.translationSourceTrackIndices){t.translationSourceTrackIndices=[];for(var O=g.K(h.translationSourceTrackIndices),F=O.next();!F.done;F=O.next())t.translationSourceTrackIndices.push(F.value)}if(h.excludeAudioTrackIndices)for(t.excludeAudioTrackIndices=[],h=g.K(h.excludeAudioTrackIndices),O=h.next();!O.done;O=h.next())t.excludeAudioTrackIndices.push(O.value);N.vI.push(t)}N.zP=[];if(H.defaultTranslationSourceTrackIndices)for(c= +g.K(H.defaultTranslationSourceTrackIndices),t=c.next();!t.done;t=c.next())N.zP.push(t.value);N.VP=!!H.contribute&&!!H.contribute.captionsMetadataRenderer}; +nh=function(N,H,c,t,h,O,F,M){O=O===void 0?c.schedule:O;var f=N.D9,d=N.zl;N=N.xfR;var W=f!==void 0&&d!==void 0,z=t.getVideoData(),E,x=H.T.encryptedClientKey;H=W?H.iv:void 0;W=O;W=W===void 0?c.schedule:W;W=bR(W,!0);h=h||!!Nq()&&W>1572864;return{innertubeRequest:{y9q:N,ow:f,zl:d,encryptedClientKey:x,iv:H,bCT:!0,Wk:!0,Ue:"DecompressionStream"in window||!h,Ll_:c.experiments.M4("html5_use_jsonformatter_to_parse_player_response")},JQ:bMt({YG:O,Es:c,wE:t,sY:z.startSeconds*1E3}),onesieUstreamerConfig:F,M_:M, +PY:a4(z),reloadPlaybackParams:(E=z.nO)==null?void 0:E.reloadPlaybackParams}}; +zIf=function(N,H){H=(H.C6+1)*1E3;var c=void 0;N=g.K(N.tF.values());for(var t=N.next();!t.done;t=N.next()){var h=t.value;t=h.trigger;h=h.slot;t instanceof q4&&t.breakDurationMs<=H&&(!c||t.breakDurationMs>c.trigger.breakDurationMs)&&(c={slot:h,trigger:t})}return c}; +akt=function(N){g.sf("nwl_csi_killswitch")||sA("networkless_performance",N,{sampleRate:1})}; +Xnl=function(N){var H="";g.uT(N.childNodes,function(c){H+=c.nodeValue}); +return H}; +ElS=function(N,H,c){c=c.opt_configurable_tracking_events;N.T!=null&&Array.isArray(c)&&mCf(N,c,H)}; +HF=function(N,H,c){for(var t=[],h=g.K(N.layoutExitNormalTriggers||[]),O=h.next();!O.done;O=h.next()){O=$q(O.value,H,c);if(O instanceof S)return O;t.push(O)}h=[];O=g.K(N.layoutExitSkipTriggers||[]);for(var F=O.next();!F.done;F=O.next()){F=$q(F.value,H,c);if(F instanceof S)return F;h.push(F)}O=[];F=g.K(N.layoutExitMuteTriggers||[]);for(var M=F.next();!M.done;M=F.next()){M=$q(M.value,H,c);if(M instanceof S)return M;O.push(M)}F=[];N=g.K(N.layoutExitUserInputSubmittedTriggers||[]);for(M=N.next();!M.done;M= +N.next()){M=$q(M.value,H,c);if(M instanceof S)return M;F.push(M)}return{layoutExitNormalTriggers:t,layoutExitSkipTriggers:h,layoutExitMuteTriggers:O,layoutExitUserInputSubmittedTriggers:F,layoutExitUserCancelledTriggers:[]}}; +xde=function(N,H){g.L.call(this);var c=this;this.callback=N;this.B=H;this.T=-H;this.addOnDisposeCallback(function(){return void clearTimeout(c.timer)})}; +cF=function(N,H,c,t,h,O){h=h===void 0?[]:h;O=O===void 0?"toggle-button":O;var F=Gx("ytp-ad-toggle-button-input"),M={role:"button","aria-label":"{{tooltipText}}"};N.D().experiments.M4("fix_h5_toggle_button_a11y")&&(M.tabindex="0");M.role="checkbox";sE.call(this,N,{W:"div",fq:["ytp-ad-toggle-button"].concat(h),X:[{W:"label",K:"ytp-ad-toggle-button-label",V:{"for":F},X:[{W:"span",K:"ytp-ad-toggle-button-icon",V:M,X:[{W:"span",K:"ytp-ad-toggle-button-untoggled-icon",Wp:"{{untoggledIconTemplateSpec}}"}, +{W:"span",K:"ytp-ad-toggle-button-toggled-icon",Wp:"{{toggledIconTemplateSpec}}"}]},{W:"input",K:"ytp-ad-toggle-button-input",V:{id:F,type:"checkbox"}},{W:"span",K:"ytp-ad-toggle-button-text",Wp:"{{buttonText}}"},{W:"span",K:"ytp-ad-toggle-button-tooltip",Wp:"{{tooltipText}}"}]}]},O,H,c,t);this.U=this.Sa("ytp-ad-toggle-button");this.T=this.Sa("ytp-ad-toggle-button-input");this.B=this.Sa("ytp-ad-toggle-button-icon");this.Z=this.Sa("ytp-ad-toggle-button-untoggled-icon");this.S=this.Sa("ytp-ad-toggle-button-toggled-icon"); +this.Ix=this.Sa("ytp-ad-toggle-button-text");this.L=null;this.Us=!1;this.hide()}; +q9d=function(N,H,c){var t=new t5(N.api,N.layoutId,N.interactionLoggingClientData,N.yS,N.U.bind(N));t.Jl(N.S);t.init(Gx("survey-question-multi-select"),H,c);N.api.D().N("supports_multi_step_on_desktop")?N.L=t:N.questions.push(t);g.l(N,t)}; +Oo=function(N,H,c){N.uo();var t=h5(N);c?(N.B|=H,H&1&&N.TW.start(),H&2&&N.Bp.start(),H&2048&&N.Us.start()):(N.B&=~H,H&1&&N.TW.stop(),H&2&&N.Bp.stop(),H&2048&&N.Us.stop(),H&512&&N.ox.stop());N.B&512&&!(N.B&128)&&g.lY(N.ox,N.Ix);H=h5(N);t!==H&&N.publish("autohideupdate",H)}; +g.fk=function(N,H){return N.classList?N.classList.contains(H):g.O7(NJ(N),H)}; +nd=function(N,H){H=H===void 0?{}:H;this.f$E=N;this.metadata=H;this.status=null}; +Fr=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(this);g.l(this,this.events);this.T=new CFL(this.api);this.events.G(this.api,"legacyadtrackingpingreset",function(){H.T.T={}}); +this.events.G(this.api,"legacyadtrackingpingchange",function(c){var t=H.T;sU(t,"part2viewed",1,0x8000000000000);sU(t,"engagedview",Math.max(1,c.fE*1E3),0x8000000000000);if(!c.isLivePlayback){var h=c.lengthSeconds*1E3;Vz(c)&&t.api.N("html5_shorts_gapless_ads_duration_fix")&&(h=t.api.getProgressState().seekableEnd*1E3-c.X0);sU(t,"videoplaytime25",h*.25,h);sU(t,"videoplaytime50",h*.5,h);sU(t,"videoplaytime75",h*.75,h);sU(t,"videoplaytime100",h,0x8000000000000);sU(t,"conversionview",h,0x8000000000000); +sU(t,"videoplaybackstart",1,h);sU(t,"videoplayback2s",2E3,h);sU(t,"videoplayback10s",1E4,h)}}); +this.events.G(this.api,g.dm("appad"),this.B);this.events.G(this.api,g.WX("appad"),this.B)}; +jfv=function(N){N.Y||(N.Y=!0,g.OT(N.Yr,N))}; +$t=function(N,H,c){c&&N.B&&N.B(H.value)}; +lKt=function(N,H){return dl(N,2,H)}; +KpS=function(N,H,c){var t=[],h=H?156595:151874;N=g.K(N);for(var O=N.next();!O.done;O=N.next()){var F=O.value;O=F.video;F={formatId:F.id,qualityLabel:O.qualityLabel,quality:O.quality,isPlayable:H};if(O=c.get(O.qualityLabel))F.paygatedQualityDetails={paygatedIndicatorText:O.paygatedIndicatorText,endpoint:O.endpoint,veType:h,trackingParams:O.trackingParams};t.push(F)}return t}; +N6=function(N){this.hF=oF(N)}; +jk=function(N){g.Gv.call(this,N,{W:"div",K:"ytp-playlist-menu",V:{role:"dialog",id:TJ()},X:[{W:"div",K:"ytp-playlist-menu-header",X:[{W:"div",K:"ytp-playlist-menu-title",X:[N.D().L?{W:"span",K:"ytp-playlist-menu-title-name",Wp:"{{title}}"}:{W:"a",K:"ytp-playlist-menu-title-name",V:{href:"{{playlisturl}}"},Wp:"{{title}}"},{W:"button",fq:["ytp-playlist-menu-close","ytp-button"],V:{"aria-label":"Close"},X:[g.Bg()]}]},{W:"div",K:"ytp-playlist-menu-subtitle",Wp:"{{subtitle}}"}]},{W:"div",K:"ytp-playlist-menu-items", +V:{role:"menu"}}]},250);this.api=N;this.B=this.selected=this.L=this.playlist=null;this.items=this.Sa("ytp-playlist-menu-items");this.T=new g.Ww(this);this.playlistData=[];this.G(this.Sa("ytp-playlist-menu-close"),"click",this.e1);var H=this.Sa("ytp-playlist-menu-title-name");N.D().L||(this.B=this.G(H,"click",this.mP_));g.l(this,this.T);this.hide()}; +r2w=function(N){var H=N.length;if(N[0]==="-"?H<20||H===20&&N<="-9223372036854775808":H<19||H===19&&N<="9223372036854775807")return N;on(N);return gle()}; +gU=function(N){this.T=N}; +mdv=function(N){N.B&&N.B.send();if(N.qoe){var H=N.qoe;if(H.U){H.y0==="PL"&&(H.y0="N");var c=g.cd(H.provider);g.Xz(H,c,"vps",[H.y0]);H.C||(H.L>=0&&H.T.set("user_intent",[H.L.toString()]),H.C=!0);H.provider.j.vO()&&H.Lq("finalized",{});H.Ix=!0;H.reportStats(c)}}if(N.provider.videoData.enableServerStitchedDai)for(H=g.K(N.L.values()),c=H.next();!c.done;c=H.next())HX(c.value);else N.T&&HX(N.T);N.dispose()}; +Mq=function(N){switch(N.B){case 0:N.B!=0?Mq(N):US(N.T);break;case 1:N=N.T;PE(N,N.T+8);break;case 2:if(N.B!=2)Mq(N);else{var H=Hq(N.T)>>>0;N=N.T;PE(N,N.T+H)}break;case 5:N=N.T;PE(N,N.T+4);break;case 3:H=N.L;do{if(!w7t(N))throw Error();if(N.B==4){if(N.L!=H)throw Error();break}Mq(N)}while(1);break;default:throw Error();}}; +kW=function(N,H,c,t){try{var h=H.call(N.T.U,c);bgf(h);if(!h.done)return N.T.C=!1,h;var O=h.value}catch(F){return N.T.U=null,OJ(N.T,F),I2(N)}N.T.U=null;t.call(N.T,O);return I2(N)}; +QZe=function(N){N=Object.keys(N);N=g.K(N);for(var H=N.next();!H.done;H=N.next())if(H=H.value,DdD[H])return H}; +OVw=function(N){N.L>=0||(N.provider.j.LG||N.provider.wE.getVisibilityState()!==3?N.L=g.cd(N.provider):N.Xg=!0)}; +fy=function(){kv.instance||(kv.instance=new kv);return kv.instance}; +dA=function(){g.d9.call(this);var N=this;this.B=!1;this.T=Yvs();this.T.listen("networkstatus-online",function(){if(N.B&&g.sf("offline_error_handling")){var H=Xw().get("errors",!0);if(H){for(var c in H)if(H[c]){var t=new g.ti(c,"sent via offline_errors");t.name=H[c].name;t.stack=H[c].stack;t.level=H[c].level;g.PQ(t)}Xw().set("errors",{},2592E3,!0)}}})}; +g.wd=function(N,H){return Array.prototype.splice.call(N,H,1).length==1}; +p7y=function(N,H){$z(N,1,H.hl);$z(N,12,H.deviceMake);$z(N,13,H.deviceModel);d8(N,16,H.clientName);$z(N,17,H.clientVersion);$z(N,18,H.osName);$z(N,19,H.osVersion)}; +uIe=function(N){var H={};g.sf("json_condensed_response")&&(H.prettyPrint="false");return N=hp(N,H)}; +J2v=function(N){var H=new ogy;H.U=N.N("h5_gapless_support_types_diff");H.Z=!1;H.Bp=N.N("html5_gapless_use_format_info_fix");H.Y=N.N("html5_gapless_disable_on_av1")&&!N.N("html5_gapless_enable_on_av1");H.S=N.N("html5_gapless_check_codec_diff_strictly");H.TW=N.N("html5_gapless_on_ad_autoplay");H.C=N.N("html5_gapless_disable_diff_aspect_radio");H.B=N.N("html5_gapless_ad_autoplay_on_ad_to_video_only")&&!N.N("html5_disable_loop_range_for_shorts_ads");H.T=N.N("html5_pseudogapless_shorts_seek_to_next_start"); +H.L=N.N("html5_gapless_ad_autoplay_on_video_to_ad_only");return H}; +nld=function(N){xk(N.videoData,"html5_set_debugging_opt_in")&&(N=g.GU(),N.G0(183)||(t7(183,!0),N.save()))}; +PFe=function(N,H){g.L.call(this);if(!H&&N)try{H=JSON.parse(N)}catch(h){}if(H){N=H.clientKey?TS(H.clientKey):null;var c=H.encryptedClientKey?TS(H.encryptedClientKey):null,t=H.keyExpiresInSeconds?Number(H.keyExpiresInSeconds)*1E3+(0,g.Lh)():null;N&&c&&t&&(this.T=new S93(N,c,t),g.l(this,this.T));H.onesieUstreamerConfig&&(this.onesieUstreamerConfig=TS(H.onesieUstreamerConfig)||void 0);this.baseUrl=H.baseUrl}}; +g.Q7=function(N,H){var c=N.T[N.T.length-1];c!==H&&(N.T.push(H),WF(N,c,H))}; +zJ=function(N){for(var H=[],c=g.K(N),t=c.next();!t.done;t=c.next())t=t.value,H[t]||(H[t]=0),H[t]++;var h=H[0]=0;c=[];var O=0;t=0;for(var F=1;F7&&(O+=H[F]);for(h=1;h>f&1;M=O<<4|F;if(F<=7)for(f=1<<7-F;f--;)t[f<>=7;F--;){t[f]||(t[f]=-H,H+=2);var d=h&1;h>>=1;f=d-t[f]}t[f]=M}}return t}; +g.Fu=function(N){if(N.simpleText)return N.simpleText;if(N.runs){var H=[];N=g.K(N.runs);for(var c=N.next();!c.done;c=N.next())c=c.value,c.text&&H.push(c.text);return H.join("")}return""}; +Eo=function(N,H,c){H=H===void 0?",":H;c=c===void 0?N?N.length:0:c;var t=[];if(N)for(c=Math.max(N.length-c,0);c0&&(H[h]=t)},N); +return H}; +Zk=function(N,H,c,t,h,O,F){var M=M===void 0?new buR(function(){var f=N.D(),d=N.getVideoData(1);return g.py(f,d?g.JO(d):"")},function(){return N.D().pageId},function(){return N.D().NT},function(){var f; +return(f=N.D().datasyncId)!=null?f:""},function(){return N.D().experiments}):M; +this.J=N;this.B=H;this.r_=c;this.ea=t;this.j1=h;this.Rx=O;this.dR=F;this.U=M;this.t7=null;this.T=new Map;this.L=new BDR(M,this.Rx)}; +y23=function(N){var H=Xs(N,function(h,O){return h+O.length},0); +H=new Uint8Array(H);var c=0;N=g.K(N);for(var t=N.next();!t.done;t=N.next())t=t.value,H.set(t,c),c+=t.length;return H}; +GVf=function(N){var H=(0,g.Lh)(),c=N.getCurrentTime();N=N.getVideoData();c=1E3*(c-N.startSeconds);N.isLivePlayback&&(c=0);return H-Math.max(c,0)}; +RIZ=function(N,H,c){if(c!=null){switch(typeof c){case "string":goe(c)}Xa(N,H,1);switch(typeof c){case "number":N=N.T;Dw(c);ut(N,k9);ut(N,In);break;case "bigint":c=BigInt.asUintN(64,c);c=new Rn(Number(c&BigInt(4294967295)),Number(c>>BigInt(32)));N=N.T;H=c.T;ut(N,c.B);ut(N,H);break;default:c=goe(c),N=N.T,H=c.T,ut(N,c.B),ut(N,H)}}}; +J5=function(N){return Xs(N,function(H,c){return Math.max(H,c.video.qualityOrdinal)},0)}; +olv=function(N,H){return N.mR!==H.mR?!1:N.type===4&&H.type===3&&N.mR.g0()?(N=N.mR.La(N),hA(N,function(c){return olv(c,H)})):N.Y_===H.Y_&&!!H.B&&H.T+H.B>N.T&&H.T+H.B<=N.T+N.B}; +pme=function(N,H,c,t,h){this.callback=N;this.slot=H;this.B=c;this.Uy=t;this.Rx=h;this.T=null}; +ny=function(N,H,c){H=H==null||typeof H==="number"?H:H==="NaN"||H==="Infinity"||H==="-Infinity"?Number(H):void 0;H!=null&&(Xa(N,c,1),N=N.T,c=kVe||(kVe=new DataView(new ArrayBuffer(8))),c.setFloat64(0,+H,!0),k9=c.getUint32(0,!0),In=c.getUint32(4,!0),ut(N,k9),ut(N,In))}; +Sk=function(N,H,c,t,h,O,F,M,f,d,W,z){g.L.call(this);var E=this;this.wE=N;this.loader=H;this.policy=c;this.audioTrack=t;this.videoTrack=h;this.GW=O;this.YG=F;this.WO=M;this.B=f;this.timing=d;this.Us=W;this.ox=z;this.T=[];this.U={};this.zW=this.UF=!1;this.Bp=this.w_=this.In=0;this.gE={PK:0,rg:0};this.Al={PK:0,rg:0};this.C=null;this.Ix={Eu:[],rq:[]};this.Cq={Eu:[],rq:[]};this.Y=null;this.S=[];this.Xg=!1;this.Br={T2E:function(){return E.T}, +pea:function(){return E.U}, +Jrs:function(){E.T.length=0}, +Z1S:function(){return E.videoData.gE}, +e5x:function(){return E.Bp}, +CHg:function(x){E.Bp=x}, +e7W:function(x){E.gE.rg=x}, +fT:function(x){E.Y=x}, +Vh:function(x){E.S=x}}; +this.videoData=this.wE.getVideoData();this.Z=this.videoData.latencyClass==="LOW"?this.policy.ffa:this.videoData.latencyClass==="ULTRALOW"?this.policy.ftp:this.policy.xa;this.policy.QB&&(this.NT=new IU(this.loader,this.policy,this.YG),g.l(this,this.NT))}; +IKy=function(N){var H=/codecs="([^"]*)"/.exec(N.mimeType);return H&&H[1]?H[1]+" ("+N.itag+")":N.itag}; +V2=function(){this.B=null;this.T=!1}; +PF=function(N){return Math.round(N.width)+"x"+Math.round(N.height)}; +NMh=function(N){if(!g.sf("universal_csi_network_ticks"))return"";N=Cv(N)||"";for(var H=Object.keys(bxD),c=0;c55?"60": +H>49?"50":H>39?"48":"")));this.qualityLabel=N;this.T=f||"";this.primaries=d||""}; +g.pR=function(){return{innertubeApiKey:g.YI("INNERTUBE_API_KEY"),innertubeApiVersion:g.YI("INNERTUBE_API_VERSION"),g8:g.YI("INNERTUBE_CONTEXT_CLIENT_CONFIG_INFO"),Ei:g.YI("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),iz:g.YI("INNERTUBE_CONTEXT_CLIENT_NAME",1),innertubeContextClientVersion:g.YI("INNERTUBE_CONTEXT_CLIENT_VERSION"),rV:g.YI("INNERTUBE_CONTEXT_HL"),I5:g.YI("INNERTUBE_CONTEXT_GL"),L_:g.YI("INNERTUBE_HOST_OVERRIDE")||"",U4:!!g.YI("INNERTUBE_USE_THIRD_PARTY_AUTH",!1),WGl:!!g.YI("INNERTUBE_OMIT_API_KEY_WHEN_AUTH_HEADER_IS_PRESENT", +!1),appInstallData:g.YI("SERIALIZED_CLIENT_CONFIG_DATA")}}; +nM=function(){Xr||(Xr=new YfS);return Xr}; +Ly=function(N){g.e.call(this,{W:"div",K:VK.TITLE,X:[{W:"div",fq:[VK.TEXT,N.N("enable_larger_title_line_height")?"ytp-title-text-larger-line-height":""],X:[{W:"a",fq:[VK.LINK,VK.SESSIONLINK],V:{target:N.D().TW,href:"{{url}}","data-sessionlink":"feature=player-title",tabIndex:"{{channelTitleFocusable}}"},Wp:"{{title}}"},{W:"div",K:VK.SUBTEXT,X:["{{subtextElement}}"]}]}]});this.api=N;this.T=null;this.link=this.Sa(VK.LINK);N.createClientVe(this.element,this,23851);this.G(N,"videodatachange",this.Df); +this.G(N,"videoplayerreset",this.Df);this.Df()}; +Zz=function(){}; +c7t=function(N,H){H.name!=="InvalidStateError"&&H.name!=="AbortError"&&(H.name==="NotAllowedError"?(N.T.R$(),l4(N.B,N.element,!1)):g.BZ(H))}; +Yt=function(N){N.FH()&&(N.wE&&N.wE.Yt("rs_s"),bA&&N.getCurrentTime()>0&&N.seekTo(0),N.M1(),N.load(),tjh(N,null));delete N.C}; +h5R=function(N,H,c){if(!N.policy.S){N=H.mR.index;var t=H.T.Y_;N.rA(t)||c&&c.Y_===t?(H.U=!N.rA(t),H.Us=!N.rA(t)):(H.U=!0,H.Us=!0)}}; +A5=function(){g.e.call(this,{W:"div",K:"ytp-chapter-hover-container",X:[{W:"div",K:"ytp-progress-bar-padding"},{W:"div",K:"ytp-progress-list",X:[{W:"div",fq:["ytp-play-progress","ytp-swatch-background-color"]},{W:"div",K:"ytp-progress-linear-live-buffer"},{W:"div",K:"ytp-load-progress"},{W:"div",K:"ytp-hover-progress"},{W:"div",K:"ytp-ad-progress-list"}]}]});this.startTime=NaN;this.title="";this.index=NaN;this.width=0;this.B=this.Sa("ytp-progress-list");this.S=this.Sa("ytp-progress-linear-live-buffer"); +this.U=this.Sa("ytp-ad-progress-list");this.Y=this.Sa("ytp-load-progress");this.C=this.Sa("ytp-play-progress");this.L=this.Sa("ytp-hover-progress");this.T=this.Sa("ytp-chapter-hover-container")}; +eNs=function(N){for(var H=N.B.pop(),c=N.B.pop(),t=N.pos-c-H;H--;){var h=H?128:0;N.view.setUint8(c++,t&127|h);t>>=7}}; +Bn=function(N,H,c){var t=lS(N.B.get(),"SLOT_TYPE_PLAYER_BYTES"),h=[new gX(N.T,t)];N=[new rX(N.T,t),new mZ(N.T,c)];return{slotId:t,slotType:"SLOT_TYPE_PLAYER_BYTES",slotPhysicalPosition:1,slotEntryTrigger:H,slotFulfillmentTriggers:h,slotExpirationTriggers:N,Hp:"core"}}; +kX=function(N,H){H=H===void 0?[]:H;g.Ua(N,function(c,t){var h=t.OF-c.OF;if(!c.KG()||!t.KG())return h;var O=t.video.height*t.video.width-c.video.height*c.video.width;!O&&H&&H.length>0&&(c=H.indexOf(c.T0)+1,t=H.indexOf(t.T0)+1,O=c===0||t===0?t||-1:c-t);O||(O=h);return O})}; +ab=function(N){this.value=N}; +H9=function(){ek.instance||(ek.instance=new ek);return ek.instance}; +J2=function(){return g.YI("EXPERIMENTS_TOKEN","")}; +g.vF=function(N,H,c,t){N=t||N;return(H=H&&H!="*"?String(H).toUpperCase():"")||c?N.querySelectorAll(H+(c?"."+c:"")):N.getElementsByTagName("*")}; +ONh=function(N){if(!N)return!1;N=g.P(N.instreamAdPlayerOverlay,so);var H=g.P(N==null?void 0:N.skipOrPreviewRenderer,Ts),c=g.P(N==null?void 0:N.adInfoRenderer,nW);return(g.P(N==null?void 0:N.skipOrPreviewRenderer,BF)||H)&&c?!0:!1}; +PZ=function(N,H,c){this.audio=N;this.video=H;this.reason=c}; +Fc3=function(N,H,c,t,h){if((N=N.T.get(H))&&typeof N==="function")try{N(c,t,h)}catch(O){g.BZ(O)}else H=new g.ti("Unhandled field",H),g.aS(H)}; +$_Z=function(N,H){N.C.push(H);g.l(N,H);H.Jl(N.Bv,N.Bv.children.length)}; +yK=function(N,H){N.J.cueVideoByPlayerVars(H,2)}; +TMl=function(N,H,c,t,h,O,F,M,f){t.every(function(W){return pg(W,[],["LAYOUT_TYPE_MEDIA"])})||KA("Unexpect subLayout type for DAI composite layout"); +H=CA(N.B.get(),"LAYOUT_TYPE_COMPOSITE_PLAYER_BYTES",H);var d={layoutId:H,layoutType:"LAYOUT_TYPE_COMPOSITE_PLAYER_BYTES",Hp:"core"};return{layoutId:H,layoutType:"LAYOUT_TYPE_COMPOSITE_PLAYER_BYTES",S1:new Map,layoutExitNormalTriggers:[new GJ(N.T)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],Hp:"core",clientMetadata:new xd([new Wi(c),new Rb(M),new Xn(t),new Xe(h),new ob(O),new kt({}),new M1(f)]),z0:F(d)}}; +jad=function(N){if(N.layout.renderingContent){var H;return(H=lQ(N.layout.clientMetadata,"metadata_type_player_bytes_callback_ref"))==null?void 0:H.current}return lQ(N.layout.clientMetadata,"metadata_type_player_bytes_callback")}; +fCv=function(){return typeof Worker==="function"&&MjL()?!0:!1}; +Cu=function(){this.finished=this.started=!1}; +yGl=function(N){N=N.pJ.Jk;var H;if(H=N&&N.getAttribute)H=/-[a-z]/.test("googleAvInapp")?!1:d_Z&&N.dataset?"googleAvInapp"in N.dataset:N.hasAttribute?N.hasAttribute("data-"+vmS()):!!N.getAttribute("data-"+vmS());H&&(yG().B=!0)}; +N2=function(N){var H,c,t,h;g.Y(function(O){if(!N.N("html5_generate_session_po_token")||N.useLivingRoomPoToken)return O.return();H=N.api.D();c=g.YI("EOM_VISITOR_DATA")||g.YI("VISITOR_DATA");t=H.Nj?H.datasyncId:c;h=Ib(H.experiments,"html5_mock_content_binding_for_session_token")||H.livingRoomPoTokenId||t;H.L2=bt(N,h);g.Z3(O)})}; +Qt=function(N,H,c,t,h){t=t===void 0?!1:t;h=h===void 0?!1:h;Hr.call(this,c);this.isLive=t;this.C=!!h;this.levels=this.B(N,H);this.U=new Map;this.levels.length>1&&this.levels[0].isDefault()&&this.levels.splice(0,1)}; +i6=function(N){return!cy(N.L4[N.L4.length-1])}; +g.Ze=function(N){var H=cr(N);return H=="array"||H=="object"&&typeof N.length=="number"}; +HH3=function(N){bY.m5=function(H){g.uT(N,function(c){c(H)})}}; +Wct=function(){var N=["metadata_type_action_companion_ad_renderer","metadata_type_linked_player_bytes_layout_id"];vR().forEach(function(H){N.push(H)}); +return{lG:N,xH:["LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON"]}}; +FU=function(N,H,c,t,h,O){J0.call(this,N,{W:"div",fq:["ytp-flyout-cta","ytp-flyout-cta-inactive"],X:[{W:"div",K:"ytp-flyout-cta-icon-container"},{W:"div",K:"ytp-flyout-cta-body",X:[{W:"div",K:"ytp-flyout-cta-text-container",X:[{W:"div",K:"ytp-flyout-cta-headline-container"},{W:"div",K:"ytp-flyout-cta-description-container"}]},{W:"div",K:"ytp-flyout-cta-action-button-container"}]}]},"flyout-cta",H,c,t,h);this.L=new tE(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,"ytp-flyout-cta-icon"); +g.l(this,this.L);this.L.Jl(this.Sa("ytp-flyout-cta-icon-container"));this.L.element.classList.add("ytp-flyout-cta-icon-rounded");this.S=new hE(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,"ytp-flyout-cta-headline");g.l(this,this.S);this.S.Jl(this.Sa("ytp-flyout-cta-headline-container"));this.U=new hE(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,"ytp-flyout-cta-description");g.l(this,this.U);this.U.Jl(this.Sa("ytp-flyout-cta-description-container"));this.B=new Mj(this.api, +this.layoutId,this.interactionLoggingClientData,this.yS,["ytp-flyout-cta-action-button","ytp-flyout-cta-action-button-rounded"]);g.l(this,this.B);this.B.Jl(this.Sa("ytp-flyout-cta-action-button-container"));this.B.element.setAttribute("tabIndex","-1");Ox(this.B.element);this.Us=null;this.Ix=0;this.gE=O;this.hide()}; +z5y=function(N){N.T.enabled||N.T.start();N.U++;N.U>=N.L&&N.Ij()}; +g.AM=function(N,H){N.style.display=H?"":"none"}; +gy=function(N,H,c){return N.T-N.B?g.Ae((H-N.B)/(N.T-N.B),0,1):c!=null?c:Infinity}; +g.pB=function(N){var H=g.iU.Dg(),c=g.iU.EP();if(!H&&!c||!window.JSON)return null;try{var t=H.get(N)}catch(h){}if(typeof t!=="string")try{t=c.get(N)}catch(h){}if(typeof t!=="string")return null;try{t=JSON.parse(t,void 0)}catch(h){}return t}; +Cr3=function(N,H,c,t,h,O,F,M,f){var d=RvL(N,O,O+h);N.Z&&N.EF({adaftto:1});c||N.EF({missadcon:1,enter:O,len:h,aid:M});N.U&&!N.U.MQ&&(N.U.MQ=M);N.Fj&&N.EF({adfbk:1,enter:O,len:h,aid:M});var W=N.playback;O>F&&nV(N,{reason:"enterTime_greater_than_return",gs:O,m9:F});var z=W.T7()*1E3;OW&&nV(N,{reason:"parent_return_greater_than_content_duration",m9:F,wFp:W});(W=EMZ(N.T,O))&&W.m9>O&&k8f(N,H.video_id|| +"",O,F,W);if(d&&W)for(z=0;z=t&&M.target&&M.target.m9<=h&&(N.T.removeCueRange(F),N.S.delete(F))}t=H;h=c;O=[];F=g.K(N.B);for(M=F.next();!M.done;M=F.next())if(M=M.value,M.gs>=t&&M.m9<=h){var f=N;f.C===M&&AD(f);Q3(f,M)&&f.app.dW()}else O.push(M);N.B=O;t=Yr(N,H/1E3);H=t.ra;t=t.Vv;H&&(t*=1E3,Kce(N,H,t,H.m9===H.gs+H.durationMs?H.gs+t:H.m9));(H=Yr(N,c/1E3).ra)&& +pA(N,"Invalid clearEndTimeMs="+c+" that falls during playback={timelinePlaybackId="+(H.vr+" video_id="+H.playerVars.video_id+" durationMs="+H.durationMs+" enterTimeMs="+H.gs+" parentReturnTimeMs="+H.m9+"}.Child playbacks can only have duration updated not their start."))}; +w7t=function(N){var H=N.T;if(H.T==H.L)return!1;N.U=N.T.T;var c=Hq(N.T)>>>0;H=c>>>3;c&=7;if(!(c>=0&&c<=5))throw Error();if(H<1)throw Error();N.L=H;N.B=c;return!0}; +aiZ=function(N,H){N.timestampOffset>0&&(H-=N.timestampOffset);var c=g.TA(N)+H;gMw(N,c);N.timestampOffset=H}; +c5=function(N){var H=(484).toString();N&&(H=(483).toString());return H}; +jR=function(){cn.apply(this,arguments)}; +m_S=function(){return g.Y(function(N){return g.a(N,r7e("ytGcfConfig"),0)})}; +xx=function(N){var H=EY();return!!(H&&H.canPlayType&&H.canPlayType(N))}; +w3f=function(N,H,c){if(!(N.videoTrack.mR.g0()&&N.audioTrack.mR.g0()&&N.Zf&&N.Zf.B&&N.Zf.T))return!1;if(c&&N.GW.isManifestless&&(N.videoTrack.S===-1||N.audioTrack.S===-1))return!0;var t=M2(N.videoTrack,H,c);if(isNaN(t))return!1;N=M2(N.audioTrack,N.policy.kG?H:t,c);return isNaN(N)?!1:!0}; +z5=function(){var N=MjL();f8||N===void 0||(f8=new Worker(JK(N),void 0));return f8}; +zA=function(N){var H=Hq(N.T)>>>0;N=N.T;var c=D_v(N,H);N=N.B;if(Qaw){var t=N,h;(h=dQ)||(h=dQ=new TextDecoder("utf-8",{fatal:!0}));H=c+H;t=c===0&&H===t.length?t:t.subarray(c,H);try{var O=h.decode(t)}catch(d){if(Wr===void 0){try{h.decode(new Uint8Array([128]))}catch(W){}try{h.decode(new Uint8Array([97])),Wr=!0}catch(W){Wr=!1}}!Wr&&(dQ=void 0);throw d;}}else{O=c;H=O+H;c=[];for(var F=null,M,f;O=H?mp():(f=N[O++],M<194||(f&192)!==128?(O--,mp()):c.push((M&31)<<6|f&63)): +M<240?O>=H-1?mp():(f=N[O++],(f&192)!==128||M===224&&f<160||M===237&&f>=160||((h=N[O++])&192)!==128?(O--,mp()):c.push((M&15)<<12|(f&63)<<6|h&63)):M<=244?O>=H-2?mp():(f=N[O++],(f&192)!==128||(M<<28)+(f-144)>>30!==0||((h=N[O++])&192)!==128||((t=N[O++])&192)!==128?(O--,mp()):(M=(M&7)<<18|(f&63)<<12|(h&63)<<6|t&63,M-=65536,c.push((M>>10&1023)+55296,(M&1023)+56320))):mp(),c.length>=8192&&(F=gbh(F,c),c.length=0);O=gbh(F,c)}return O}; +p5v=function(N,H){$z(N,1,H.token)}; +Ex=function(N){dK.call(this,N);var H=this;wl(N,"getAvailableQualityData",function(){return H.getAvailableQualityData()}); +wl(N,"getAvailableQualityDataAndMessaging",function(){return H.getAvailableQualityDataAndMessaging()})}; +hG=function(N){this.value=N}; +g.p3Z=function(N){var H=N.D();return H.mz&&!H.L&&g.PX(H)?N.isEmbedsShortsMode()?(N=N.UG(),Math.min(N.width,N.height)>=315):!N.i$():!1}; +VAD=function(N,H){this.layoutId=H;this.triggerType="TRIGGER_TYPE_SEEK_BACKWARD_BEFORE_LAYOUT_ENTER_TIME";this.triggerId=N(this.triggerType)}; +xN=function(N,H){N.T.delete(H.KH())||KA("Trying to unregister a AdErrorInfoSupplier that has not been registered yet.")}; +ugZ=function(N,H){return(N=$9R(N,H*1E3))?N.durationMs/1E3:0}; +d$D=function(N){N.Us=!1;var H=FP(BV().Ce,"rmmt")==1,c=!!N.QY("isViewable");(H?!c:1)&&jl().setTimeout(eF(524,function(){N.Us||(J7f(N),ov(540,Error()),N.C="mt",N.fail("w"))}),500); +nMv(N);Jo(N,N.B.tI.AFMA_LIDAR,SDD)}; +q2=function(N){this.hF=oF(N,0,q2.messageId)}; +PrS=function(){var N;if(g.sf("csi_use_performance_navigation_timing")){var H,c,t,h=X6==null?void 0:(N=X6.getEntriesByType)==null?void 0:(H=N.call(X6,"navigation"))==null?void 0:(c=H[0])==null?void 0:(t=c.toJSON)==null?void 0:t.call(c);h?(h.requestStart=L5(h.requestStart),h.responseEnd=L5(h.responseEnd),h.redirectStart=L5(h.redirectStart),h.redirectEnd=L5(h.redirectEnd),h.domainLookupEnd=L5(h.domainLookupEnd),h.connectStart=L5(h.connectStart),h.connectEnd=L5(h.connectEnd),h.responseStart=L5(h.responseStart), +h.secureConnectionStart=L5(h.secureConnectionStart),h.domainLookupStart=L5(h.domainLookupStart),h.isPerformanceNavigationTiming=!0,N=h):N=X6.timing}else N=g.sf("csi_performance_timing_to_object")?JSON.parse(JSON.stringify(X6.timing)):X6.timing;return N}; +g.x$=function(N){return N.Jn.get("captions")}; +Kw=function(N){return new g.EL(function(H,c){c(N)})}; +C8=function(N,H,c,t,h){var O=(H=N.T?N.B[H]:N.Y[H])&&H.quality,F=H&&H.qualityLabel;F=F?F:"Auto";t&&(F="("+F);N=kHt(N,F,O||"",h);t&&N.X.push(")");(t=(t=H&&H.paygatedQualityDetails)&&t.paygatedIndicatorText)&&c&&N.X.push({W:"div",K:"ytp-premium-label",Wp:t});return N}; +MAZ=function(N,H,c,t){H["Content-Type"]="application/json+protobuf";H["X-User-Agent"]="grpc-web-javascript/0.1";var h=H.Authorization;if(h&&U_w.has(h.split(" ")[0])||N.withCredentials)c.C=!0;if(N.Mt)t=g.$C(t,"$httpHeaders",H);else for(N=g.K(Object.keys(H)),h=N.next();!h.done;h=N.next())h=h.value,c.headers.set(h,H[h]);return t}; +F0Z=function(N){var H=N.U.filter(function(c){return c.isChecked()}); +H.length!==0&&(H=H[0].getCommand(),N.layoutId?N.yS.executeCommand(H,N.layoutId):g.BZ(Error("Missing layoutId for ad feedback dialog.")),N.api.onAdUxClicked("ad-feedback-dialog-confirm-button",N.layoutId),N.publish("a"),N.hide())}; +jw=function(N,H,c,t,h){this.B=N;this.T=H;this.L=c;this.reason=t;this.OF=h===void 0?0:h}; +g.l6=function(N){return N.N("html5_local_playsinline")?P7&&!g.Oi(602)&&!("playsInline"in EY()):P7&&!N.l7||g.$b("nintendo wiiu")?!0:!1}; +bl=function(N,H,c){c=c===void 0?0:c;var t=N.mimeType||"",h=N.itag;var O=N.xtags;h=h?h.toString():"";O&&(h+=";"+O);O=h;if(K8(t)){var F=N.width||640;h=N.height||360;var M=N.fps,f=N.qualityLabel,d=N.qualityOrdinal,W=N.colorInfo,z=N.projectionType,E;N.stereoLayout&&(E=X3D[N.stereoLayout]);var x=Vjs(N)||void 0;if(W==null?0:W.primaries)var q=Lcs[W.primaries]||void 0;F=new Uo(F,h,M,z,E,void 0,f,d&&ZNh[d],x,q);t=l0(t,F,gQ[N.itag||""]);rQ&&(t+="; enableflushduringseek=true");mN&&(t+="; enableresetaudiodecoder=true")}var r; +if(Oj(t)){var w=N.audioSampleRate;E=N.audioTrack;w=new wQ(w?+w:void 0,N.audioChannels,N.spatialAudioType,N.isDrc,N.loudnessDb,N.trackAbsoluteLoudnessLkfs,N.audioQuality||"AUDIO_QUALITY_UNKNOWN",N.isVb);E&&(q=E.displayName,h=E.id,E=E.audioIsDefault,q&&(r=new g.DF(q,h||"",!!E)))}var n;N.captionTrack&&(f=N.captionTrack,E=f.displayName,q=f.vssId,h=f.languageCode,M=f.kind,f=f.id,E&&q&&h&&(n=new YDL(E,q,h,M,N.xtags,f)));E=Number(N.bitrate)/8;q=Number(N.contentLength);h=Number(N.lastModified);f=N.drmFamilies; +M=N.type;c=c&&q?q/c:0;N=Number(N.approxDurationMs);if(H&&f){var p={};f=g.K(f);for(d=f.next();!d.done;d=f.next())(d=Qh[d.value])&&(p[d]=H[d])}return new p8(O,t,{audio:w,video:F,X3:r,YH:p,OF:E,H$:c,contentLength:q,lastModified:h,captionTrack:n,streamType:M,approxDurationMs:N})}; +vMD=function(N,H,c,t){c=c===void 0?0:c;if(N!==A7w(c)||H!==g.YI(nT(c)))if(ryl(N,t,c),aCR(N,c),qz(nT(c),H),H=function(){setTimeout(function(){N&&g.uF("foregroundHeartbeatScreenAssociated",{clientDocumentNonce:e5l,clientScreenNonce:N})},0)},"requestAnimationFrame"in window)try{window.requestAnimationFrame(H)}catch(h){H()}else H()}; +u6=function(N){oZ.call(this,N.qF,N.slot,N.C2,N.Pp,N.r_,N.ea,N.k_,N.YO,N.Mi,N.V4,N.JZ,N.q_,N.PQ,N.X7,N.Rx,N.B1,N.dR,N.context)}; +JE=function(N){this.hF=oF(N)}; +H1l=function(N,H,c,t,h,O,F,M){function f(z,E){var x=z.slotId;z=F(z);x=CA(H.B.get(),"LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT",x);return nk(H,x,E,c,z,"LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT",[new n8(h),O],h.adLayoutLoggingData)} +function d(z){return TNl(N,z,t,f)} +if(!saS(h))return new S("Received invalid SurveyTextInterstitialRenderer.",{SurveyTextInterstitialRenderer:h});var W=h.timeoutSeconds*1E3;return function(z){var E=z.slotId,x={impressionCommands:h.impressionCommands,completeCommands:h.timeoutCommands,skipCommands:h.dismissCommands};z=F(z);E=D8(H,E,c,W,x,new Map,z,d,void 0,$M(H,c,h.layoutId,"createSubLayoutVodMediaBreakLayoutForSurveyInterstitial"));x=new Ls(E.qb);z=new hG(M);return{C2:{layoutId:E.layoutId,layoutType:E.layoutType,S1:E.S1,layoutExitNormalTriggers:[], +layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],Hp:E.Hp,clientMetadata:new xd([].concat(g.HE(E.Q3),[x,z])),z0:E.z0,adLayoutLoggingData:E.adLayoutLoggingData},x3:[],N0:E.layoutExitMuteTriggers,MR:E.layoutExitUserInputSubmittedTriggers,A6:E.layoutExitUserCancelledTriggers,z7:E.z7}}}; +BML=function(N){this.T=N.playback_progress_0s_url;this.L=N.playback_progress_2s_url;this.B=N.playback_progress_10s_url}; +y7S=function(N){var H=g.di.CSSStyleDeclaration;return H&&H.prototype&&H.prototype[N]||null}; +SR=function(N){switch(N){case "AD_PLACEMENT_KIND_START":return"LATENCY_AD_BREAK_TYPE_PREROLL";case "AD_PLACEMENT_KIND_MILLISECONDS":case "AD_PLACEMENT_KIND_COMMAND_TRIGGERED":case "AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED":return"LATENCY_AD_BREAK_TYPE_MIDROLL";case "AD_PLACEMENT_KIND_END":return"LATENCY_AD_BREAK_TYPE_POSTROLL";default:return"LATENCY_AD_BREAK_TYPE_UNKNOWN"}}; +G5e=function(N){vyZ(N.k_.get(),!0);var H;((H=N.shrunkenPlayerBytesConfig)==null?0:H.shouldRequestShrunkenPlayerBytes)&&N.k_.get().gg(!1)}; +R5R=function(){return{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 17,23 h 2 V 17 H 17 Z M 18,8 C 12.47,8 8,12.47 8,18 8,23.52 12.47,28 18,28 23.52,28 28,23.52 28,18 28,12.47 23.52,8 18,8 Z m 0,18 c -4.41,0 -8,-3.59 -8,-8 0,-4.41 3.59,-8 8,-8 4.41,0 8,3.59 8,8 0,4.41 -3.59,8 -8,8 z M 17,15 h 2 v -2 h -2 z"}}]}}; +yz3=function(N,H){H=H===void 0?{}:H;N.eM=H.eM===void 0?!1:H.eM}; +Pr=function(N){var H;return((H=N.audio)==null?void 0:H.B)===!0}; +oMe=function(N,H){var c;return g.Y(function(t){if(t.T==1){if(!H)return t.return(H);c=new g.x8(N.B);return g.a(t,c.decrypt(H,N.T),2)}return t.return(t.B)})}; +XU=function(N,H,c,t,h,O,F,M,f,d,W){Ux.call(this,N,H,c,t,h,O,F,M,f,d);this.L=W;this.B=this.T=null;N=g.K(this.L);for(H=N.next();!H.done;H=N.next())H=H.value,QZ(H.dE().clientMetadata,"metadata_type_survey_overlay")&&(this.B=H.dE().layoutId)}; +Vh=function(N,H){d8(N,1,H.startTicks);d8(N,2,H.jz);d8(N,3,H.timescale)}; +k5L=function(N,H,c,t,h){if(!g.P(N.renderingContent,If))return new S("AdsEngagementPanelSectionListViewModel is missing");var O={layoutId:N.adLayoutMetadata.layoutId,layoutType:N.adLayoutMetadata.layoutType,Hp:"core"};H=HF(N,H,c);return H instanceof S?H:Object.assign({},O,{renderingContent:N.renderingContent,S1:new Map([])},H,{z0:q5(t,h)(O),adLayoutLoggingData:N.adLayoutMetadata.adLayoutLoggingData,clientMetadata:new xd([])})}; +ICe=function(N){this.triggerType="TRIGGER_TYPE_PLAYBACK_MINIMIZED";this.triggerId=N(this.triggerType)}; +NTs=function(N,H){var c=0,t=!1;H=g.K(H);for(var h=H.next();!h.done;h=H.next()){h=h.value;if(g.P(h,bNh)){h=g.P(h,bNh);var O={startTime:NaN,title:null,onActiveCommand:void 0},F=h.title;O.title=F?g.Fu(F):"";F=h.timeRangeStartMillis;F!=null&&(O.startTime=F);O.onActiveCommand=h.onActiveCommand;h=O;c===0&&h.startTime!==0&&(N.T[c].startTime=0,N.T[c].title="",N.T[c].onActiveCommand=h.onActiveCommand,c++,t=!0);N.T.length<=c&&(O=new A5,N.T.push(O),g.l(N,O),O.Jl(N.UF,N.UF.children.length));N.T[c].startTime= +h.startTime;N.T[c].title=h.title?h.title:"";N.T[c].onActiveCommand=h.onActiveCommand;N.T[c].index=t?c-1:c}c++}for(;c=3&&N.J.getPresentingPlayerType()!==2}; +d4e=function(N){return N.scrollingElement?N.scrollingElement:g.K6||N.compatMode!="CSS1Compat"?N.body||N.documentElement:N.documentElement}; +Wtt=function(){}; +Bny=function(N,H){for(var c=[],t=g.K(N.tF.values()),h=t.next();!h.done;h=t.next())h=h.value,h.trigger.triggerType===H&&c.push(h);c.length>0&&$D(N.Y(),c)}; +qJy=function(N,H,c,t,h,O){var F=F===void 0?"trayride":F;c?(N.Xf(2),g.ZF(g.cR(c),function(){if(window[F])z_s(N,t,F,h);else{N.Xf(3);var M=EpZ(c),f=document.getElementById(M);f&&(x4R(M),f.parentNode.removeChild(f));g.aS(new g.ti("BL:ULB",""+c))}},O)):H?(O=g.Ch("SCRIPT"),H instanceof Q$?(O.textContent=Kh(H),rr(O)):O.textContent=H,O.nonce=IG(document),document.head.appendChild(O),document.head.removeChild(O),window[F]?z_s(N,t,F,h):(N.Xf(4),g.aS(new g.ti("BL:ULBJ")))):g.aS(new g.ti("BL:ULV"))}; +c$s=function(N,H){if(H.video&&H.video.length){N.title=H.title||"";N.description=H.description;N.views=H.views;N.likes=H.likes;N.dislikes=H.dislikes;N.author=H.author||"";var c=H.loop;c&&(N.loop=c);c=g.rT(N);N.items=[];for(var t=g.K(H.video),h=t.next();!h.done;h=t.next())if(h=h.value)h.video_id=h.encrypted_id,N.items.push(h);N.length=N.items.length;(H=H.index)?N.index=H:N.findIndex(c);N.setShuffle(!1);N.loaded=!0;N.B++;N.T&&N.T()}}; +b4=function(){var N=YN.call;AE||(AE=new g.aC({ZPS:!0,Zgi:!0}));N.call(YN,this,{je:{ND:C9w,BA:lNw,wQ:eOt,x4S:sOZ,Sq:pdv,set:Ktw},Np:AE,handleError:function(H,c,t){var h,O=t==null?void 0:(h=t.error)==null?void 0:h.code;if(O===400||O===415){var F;H=new g.ti(H.message,c,t==null?void 0:(F=t.error)==null?void 0:F.code);Uf(H,void 0,void 0,void 0,!0)}else g.PQ(H)}, +dD:Uf,sendFn:gpv,now:g.Lh,AS:lje,YN:g.S6(),JR:"publicytnetworkstatus-online",NN:"publicytnetworkstatus-offline",hP:!0,Zm:.1,O7:g.vI("potential_esf_error_limit",10),M4:g.sf,ZP:!(g.En()&&g.dD(document.location.toString())!=="www.youtube-nocookie.com")});this.L=new g.Ps;g.sf("networkless_immediately_drop_all_requests")&&rsv();m4L("LogsDatabaseV2")}; +wHl=function(N,H,c){g.py(N.provider.j,g.JO(N.provider.videoData)).then(function(t){var h=!1;H.includes("&dt=")||H.includes("&cotn=")?h=!0:N.provider.j.N("qoe_with_networkless")&&(h=!0);var O=N.provider.j.N("qoe_send_and_write"),F=N.provider.j;t=eR(H,F,N.provider.j.pageId,N.provider.j.sendVisitorIdHeader?N.provider.videoData.visitorData:void 0,t);F.N("html5_simplify_pings")&&(t=t||{});t?(t.method="POST",t.postBody=c,vr(H,t,{token:N.provider.videoData.Y,J4:N.provider.videoData.eY,mdxEnvironment:N.provider.videoData.mdxEnvironment}, +F,void 0,h,O&&N.Ix)):h?(h=N.provider.j.N("networkless_ajax"),F={method:"POST",postBody:c},O&&N.Ix?NZ().sendAndWrite(H,F):h?g.Rj(H,{method:"POST",postBody:c}):NZ().sendThenWrite(H,F)):(O=c,O=O===void 0?"":O,Syt(H,O)||g.Cx(H,void 0,void 0,void 0,O))})}; +sx=function(N,H,c,t){t=g.K(t);for(var h=t.next();!h.done;h=t.next()){h=h.value;var O=N.CC.tZ.get(h.triggerType);O.ye(c,h,H.slot,H.layout?H.layout:null);H.Us.set(h.triggerId,O)}}; +Q4t=function(){if(fCv()&&!D4S){var N=function(c){c=c.data;if(c.op==="serializedGelBatch"){var t=dV.get(c.key);t&&(X5e(c.serializedBatch,t.client,t.resolve,t.networklessOptions,t.isIsolated,t.useVSSEndpoint,t.dangerousLogToVisitorSession,t.requestsOutstanding),dV.delete(c.key))}},H=z5(); +H&&(H.addEventListener("message",N),H.onerror=function(){dV.clear()}); +D4S=!0}}; +Qhv=function(N){var H,c,t=(H=N.T)==null?void 0:(c=H.bannerData)==null?void 0:c.itemData;if(t==null?0:t.priceReplacementText)return t==null?void 0:t.priceReplacementText;if((t==null?0:t.promotionText)&&N.J.N("web_player_enable_featured_product_banner_promotion_text_on_desktop")){var h;return(t==null?void 0:t.price)+" "+(t==null?void 0:(h=t.promotionText)==null?void 0:h.content)}var O,F;if(t==null?0:(O=t.dealsData)==null?0:(F=O.sales)==null?0:F.originalPrice){var M,f;return t==null?void 0:(M=t.dealsData)== +null?void 0:(f=M.sales)==null?void 0:f.salesPriceAccessibilityLabel}var d,W;if(t==null?0:(d=t.dealsData)==null?0:(W=d.priceDrop)==null?0:W.referencePrice){var z,E;return(t==null?void 0:t.price)+" "+(t==null?void 0:(z=t.dealsData)==null?void 0:(E=z.priceDrop)==null?void 0:E.referencePrice)}return t==null?void 0:t.price}; +Br=function(N){this.Pp=N}; +GA=function(N){yh.call(this,"audio_measurable",N)}; +$1l=function(N){return(N===void 0?0:N)&&g.sf("vss_through_gel_video_stats")?"video_stats":"log_event"}; +w2y=function(N){if(!Gf(N.adLayoutMetadata))return!1;if(g.P(N.renderingContent,pHt)||g.P(N.renderingContent,If))return!0;var H=g.P(N.renderingContent,RC);return g.P(N.renderingContent,oC)||g.P(H==null?void 0:H.sidePanel,uTS)||g.P(H==null?void 0:H.sidePanel,JsR)||g.P(H==null?void 0:H.sidePanel,npy)?!0:!1}; +SJL=function(N,H){var c={};g.PX(N.api.D())&&(g.je(N.api,"addEmbedsConversionTrackingParams",[c]),H=g.Of(H,c));return H}; +kN=function(N,H,c,t,h,O,F,M){eq.call(this,N,H,c,t);this.Pp=h;this.Le=O;this.Y=M;this.AY=!0;this.U=null;this.S=lQ(c.clientMetadata,"metadata_type_linked_player_bytes_layout_id");vT(this.Le(),this);N=lQ(c.clientMetadata,"metadata_type_ad_placement_config");this.Fg=new sd(c.S1,this.Pp,N,c.layoutId)}; +IC=function(){ry.apply(this,arguments)}; +AzD=function(N,H,c){if(N.N("html5_optimality_defaults_chooses_next_higher")&&c)for(N=H.T.videoInfos,H=1;H=N.T.length)return N.Y;for(var c=0,t=0;tN.L)throw Error();}; +g.$b=function(N){var H=g.tA();return H?H.toLowerCase().indexOf(N)>=0:!1}; +P9h=function(N,H){if(b6(N,Ns)||N.api.isMinimized())return!1;var c=s2(H.title),t=s2(H.description);if(g.YY(c)||g.YY(t))return!1;N.createServerVe(N.L.element,H.trackingParams||null);N.L.updateValue("title",s2(H.title));N.L.updateValue("description",s2(H.description));N.L.updateValue("displayUrl",s2(H.displayUrl));H.navigationEndpoint&&g.N9(N.Z,H.navigationEndpoint);N.L.show();N.gE.start();N.logVisibility(N.L.element,!0);N.G(N.L.element,"mouseover",function(){N.Us++}); +return!0}; +$$y=function(N,H){if(H=H&&H.buttonRenderer||null)H.serviceEndpoint?(N.B=new Mj(N.api,N.layoutId,N.interactionLoggingClientData,N.yS,["ytp-ad-feedback-dialog-undo-mute-button"],"ad-feedback-undo-mute-button"),g.l(N,N.B),N.B.init(Gx("ad-feedback-undo-mute-button"),H,N.macros),N.B.listen("click",N.JYW,N),N.B.Jl(N.Ix)):g.aS(Error("AdFeedbackRenderer.undoRenderer.undoButtonRenderer was specified but did not contain a service endpoint."))}; +g.ez=function(N){N&&typeof N.dispose=="function"&&N.dispose()}; +U4w=function(N){var H=!!FP(BV().Ce,"umt");return N.TW||!H&&!N.Kq?0:1}; +gZt=function(){var N=g.YI("csn-to-ctt-auth-info");N||(N={},qz("csn-to-ctt-auth-info",N));return N}; +z6=function(N,H,c){if(Array.isArray(H))for(var t=0;t30?N.limitedPlaybackDurationInSeconds=30:c<30&&c>10&&(N.limitedPlaybackDurationInSeconds=10);break;case "EMBEDDED_PLAYER_LITE_MODE_DYNAMIC_PLAYBACK_LIMIT":N.limitedPlaybackDurationInSeconds=c*.2}}; +jAD=function(N,H,c,t,h,O){N=c.inPlayerLayoutId?c.inPlayerLayoutId:CA(O,"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",N);var F,M,f=c.instreamAdPlayerOverlayRenderer?(F=c.instreamAdPlayerOverlayRenderer)==null?void 0:F.adLayoutLoggingData:(M=c.playerOverlayLayoutRenderer)==null?void 0:M.adLayoutLoggingData;F={layoutId:N,layoutType:"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",Hp:H};return{layoutId:N,layoutType:"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",S1:new Map,layoutExitNormalTriggers:[new uN(function(d){return Ap(O, +d)},c.Va)], +layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],Hp:H,clientMetadata:t,z0:h(F),adLayoutLoggingData:f}}; +Ltv=function(N){function H(){N.Sx=new g.HS(0,0,0,0);N.xg=new g.HS(0,0,0,0)} +function c(F,M){N.KJ(F,M)} +function t(F){N.Wr&&iD(N);cS(N)!==N.Vs&&N.resize();N.app.D().N("web_enable_smart_zoom")&&N.cK&&(F.state.isPaused()?N.cK.pause():g.tC(F,8)&&N.cK.playState==="paused"&&N.cK.play())} +function h(F){F.getVideoData()&&N.updateVideoData(F.getVideoData())} +var O=N.app.VS;O.addEventListener("initializingmode",H);O.addEventListener("videoplayerreset",h);O.addEventListener("videodatachange",c);O.addEventListener("presentingplayerstatechange",t);N.addOnDisposeCallback(function(){O.removeEventListener("initializingmode",H);O.removeEventListener("videoplayerreset",h);O.removeEventListener("videodatachange",c);O.removeEventListener("presentingplayerstatechange",t)})}; +Ow=function(N,H,c){g.Fm.call(this,N);var t=this;this.R4=H;this.eg=c;this.getVideoUrl=new Yx(6);this.Ez=new Yx(5);this.WL=new Yx(4);this.Q4=new Yx(3);this.b4=new g.TW(g.jC({href:"{{href}}",target:this.J.D().TW},void 0,!0),2,"Troubleshoot playback issue");this.showVideoInfo=new g.TW(g.jC(),1,"Stats for nerds");this.TV=new g.lL({W:"div",fq:["ytp-copytext","ytp-no-contextmenu"],V:{draggable:"false",tabindex:"1"},Wp:"{{text}}"});this.bb=new tT(this.J,this.TV);this.xT=this.xd=null;g.PX(this.J.D())&&(this.closeButton= +new g.e({W:"button",fq:["ytp-collapse","ytp-button"],V:{title:"Close"},X:[g.Rm()]}),g.l(this,this.closeButton),this.closeButton.Jl(this.element),this.closeButton.listen("click",this.fW,this));g.PX(this.J.D())&&(this.Y3=new g.TW(g.jC(),8,"Account"),g.l(this,this.Y3),this.Ou(this.Y3,!0),this.Y3.listen("click",this.T0a,this),N.createClientVe(this.Y3.element,this.Y3,137682));this.J.D().De&&(this.oU=new n6("Loop",7),g.l(this,this.oU),this.Ou(this.oU,!0),this.oU.listen("click",this.Nrg,this),N.createClientVe(this.oU.element, +this.oU,28661));this.J.N("web_player_miniplayer_in_context_menu")&&(this.HG=new g.TW(g.jC(),6,"Miniplayer"),g.l(this,this.HG),this.Ou(this.HG,!0),this.HG.listen("click",this.Ycf,this),N.createClientVe(this.HG.element,this.HG,62946));g.l(this,this.getVideoUrl);this.Ou(this.getVideoUrl,!0);this.getVideoUrl.listen("click",this.Scq,this);N.createClientVe(this.getVideoUrl.element,this.getVideoUrl,28659);g.l(this,this.Ez);this.Ou(this.Ez,!0);this.Ez.listen("click",this.mif,this);N.createClientVe(this.Ez.element, +this.Ez,28660);g.l(this,this.WL);this.Ou(this.WL,!0);this.WL.listen("click",this.oHp,this);N.createClientVe(this.WL.element,this.WL,28658);g.l(this,this.Q4);this.Ou(this.Q4,!0);this.Q4.listen("click",this.R1p,this);g.l(this,this.b4);this.Ou(this.b4,!0);this.b4.listen("click",this.vlE,this);g.l(this,this.showVideoInfo);this.Ou(this.showVideoInfo,!0);this.showVideoInfo.listen("click",this.i2g,this);g.l(this,this.TV);this.TV.listen("click",this.xcW,this);g.l(this,this.bb);ZDZ()&&(this.xd=new g.e({W:"textarea", +K:"ytp-html5-clipboard",V:{readonly:"",tabindex:"-1"}}),g.l(this,this.xd),this.xd.Jl(this.element));var h;(h=this.Y3)==null||h.setIcon(YJ3());var O;(O=this.oU)==null||O.setIcon(eIs());var F;(F=this.HG)==null||F.setIcon(this.J.N("delhi_modern_web_player_icons")?Ash():hT());this.Q4.setIcon({W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{"clip-rule":"evenodd",d:"M20 10V8H17.19C16.74 7.22 16.12 6.54 15.37 6.04L17 4.41L15.59 3L13.42 5.17C13.39 5.16 13.37 5.16 13.34 5.16C13.18 5.12 13.02 5.1 12.85 5.07C12.79 5.06 12.74 5.05 12.68 5.04C12.46 5.02 12.23 5 12 5C11.51 5 11.03 5.07 10.58 5.18L10.6 5.17L8.41 3L7 4.41L8.62 6.04H8.63C7.88 6.54 7.26 7.22 6.81 8H4V10H6.09C6.03 10.33 6 10.66 6 11V12H4V14H6V15C6 15.34 6.04 15.67 6.09 16H4V18H6.81C7.85 19.79 9.78 21 12 21C14.22 21 16.15 19.79 17.19 18H20V16H17.91C17.96 15.67 18 15.34 18 15V14H20V12H18V11C18 10.66 17.96 10.33 17.91 10H20ZM16 15C16 17.21 14.21 19 12 19C9.79 19 8 17.21 8 15V11C8 8.79 9.79 7 12 7C14.21 7 16 8.79 16 11V15ZM10 14H14V16H10V14ZM10 10H14V12H10V10Z", +fill:"white","fill-rule":"evenodd"}}]});this.b4.setIcon(LK());this.showVideoInfo.setIcon(dNe());this.G(N,"onLoopChange",this.onLoopChange);this.G(N,"videodatachange",this.onVideoDataChange);this.G(N,"fullscreentoggled",function(){Fy(t)}); +this.G(N,"minimized",function(){Fy(t)}); +F6e(this);Zst(this,this.J.getVideoData())}; +Fp=function(N){return function(H){return aNL(N,H)}}; +fQ=function(N){this.src=N;this.listeners={};this.T=0}; +e_v=function(N,H){var c=0,t=!1,h=N.T.length,O=N.L.T*1E3;O===0&&(O=N.api.getProgressState().seekableEnd*1E3);if(O>0&&N.Y>0){for(var F=N.Y-Vy(N)*N.gE,M=N.C4===0?3:F*N.C4,f=g.K(N.T),d=f.next();!d.done;d=f.next())d.value.width=0;for(;c1);d=(O===0?0:f/O*F)+N.T[c].width;if(d>M)N.T[c].width=d;else{N.T[c].width=0;var W=N,z=c,E=W.T[z-1];E!==void 0&&E.width>0? +E.width+=d:zN.C4&&(N.C4=f/O),t=!0)}c++}}return t}; +$H=function(N){var H=T8(N,!0),c=0;H===4?c=N.T.getFloat32(N.pos):H===8&&(c=N.T.getFloat64(N.pos));N.pos+=H;return c}; +ew=function(N){return N&&N.thumbnails&&(N.thumbnails||null).length!=0&&N.thumbnails[0].url?g.vM(N.thumbnails[0].url):""}; +GO=function(N,H,c,t,h){var O=TFt(t);return jAD(H,c,t,new xd(O),h,N.B.get())}; +vpR=function(N,H){var c=[];c.push(new Xe(VR(N)));c.push(new O4(H.layoutId));(N=lQ(H.clientMetadata,"metadata_type_player_bytes_callback_ref"))&&c.push(new Il(N));(N=lQ(H.clientMetadata,"metadata_type_ad_pod_skip_target_callback_ref"))&&c.push(new od(N));(N=lQ(H.clientMetadata,"metadata_type_remote_slots_data"))&&c.push(new E4(N));(N=lQ(H.clientMetadata,"metadata_type_ad_next_params"))&&c.push(new M5(N));(N=lQ(H.clientMetadata,"metadata_type_ad_video_clickthrough_endpoint"))&&c.push(new fg(N));(N= +lQ(H.clientMetadata,"metadata_type_ad_pod_info"))&&c.push(new vL(N));(H=lQ(H.clientMetadata,"metadata_type_ad_video_id"))&&c.push(new BL(H));return c}; +g.shL=function(){return g.jm(oB(16),function(N){return(N&15).toString(16)}).join("")}; +g.ue=function(N,H){var c=new BTs(4096);H(c,N);return new Uint8Array(c.T.buffer,c.T.byteOffset,c.pos)}; +tjh=function(N,H){N.JF&&N.JF.equals(H)||(N.JF&&N.JF.dispose(),N.JF=H)}; +ysw=function(N,H,c,t){var h=N.kind;t=t?!1:!N.hideCueRangeMarker;switch(h){case "AD_PLACEMENT_KIND_START":return t={D7:new Hv(-0x8000000000000,-0x8000000000000),fu:t},c!=null&&(t.u7=new Hv(-0x8000000000000,-0x8000000000000)),t;case "AD_PLACEMENT_KIND_END":return t={D7:new Hv(0x7ffffffffffff,0x8000000000000),fu:t},c!=null&&(t.u7=new Hv(Math.max(0,H-c),0x8000000000000)),t;case "AD_PLACEMENT_KIND_MILLISECONDS":h=N.adTimeOffset;h.offsetStartMilliseconds||KA("AD_PLACEMENT_KIND_MILLISECONDS missing start milliseconds."); +h.offsetEndMilliseconds||KA("AD_PLACEMENT_KIND_MILLISECONDS missing end milliseconds.");N=Number(h.offsetStartMilliseconds);h=Number(h.offsetEndMilliseconds);h===-1&&(h=H);if(Number.isNaN(N)||Number.isNaN(h)||N>h)return new S("AD_PLACEMENT_KIND_MILLISECONDS endMs needs to be >= startMs.",{offsetStartMs:N,offsetEndMs:h},"ADS_CLIENT_ERROR_MESSAGE_AD_PLACEMENT_END_SHOULD_GREATER_THAN_START",h===H&&N-500<=h);t={D7:new Hv(N,h),fu:t};if(c!=null){N=Math.max(0,N-c);if(N===h)return t;t.u7=new Hv(N,h)}return t; +default:return new S("AdPlacementKind not supported in convertToRange.",{kind:h,adPlacementConfig:N})}}; +WYe=function(N,H){var c={};if(H=N.app.CG(H===void 0?1:H)){H=H.getVideoData();if(TT(H))return{};c.video_id=H.videoId;c.author=H.author;c.title=H.title;c.isPlayable=bH(H);c.errorCode=H.errorCode;if(H.B&&H.B.video){c.video_quality=H.B.video.quality;H=H.B.video;var t=[];H.fps>32&&t.push("hfr");H.isHdr()&&t.push("hdr");H.primaries==="bt2020"&&t.push("wcg");c.video_quality_features=t}}if(N=N.getPlaylistId())c.list=N;return c}; +UfL=function(N){return cJ(N).then(function(H){return H?new pUR(N,H):null})}; +iwD=function(N){if(!(jN(N.info)&&N.info.MF()&&N.policy.TE&&N.OU)||N.info.JF.L>=2||SW()>0||!CCZ())return!1;var H=N.tj.get("aitags");if(!H)return!1;H=r1(H).split(",");for(var c=[],t=g.K(N.OU),h=t.next();!h.done;h=t.next())h=h.value,g.O7(H,h)&&c.push(h);if(!c.length)return!1;N.tj.set("altitags",g.mI(c.join(",")));return!0}; +g.Ms=function(N){N.isActive()&&g.Fv(N)}; +dH=function(N,H){return!N.api.isInline()&&!GB3(N,fI(H))&&g.Mb(H)}; +oph=function(N){return Object.values(R_Z).includes(N)}; +PXv=function(N,H,c){function t(){var O=h.endTimeMs-Date.now();O<=c?h.yI(0):setTimeout(t,Math.min(O,H))} +var h=this;this.endTimeMs=Date.now()+N;this.promise=new Promise(function(O){h.yI=O}); +t()}; +kBe=function(N,H){H&&!N.U&&(Ec(N),N.L=null,N.T.forEach(function(c,t){var h=t.toLowerCase();t!=h&&(this.remove(t),g.DAd(this,h,c))},N)); +N.U=H}; +not=function(N){var H=N.B;N=N.T;return N===""?H:typeof N==="boolean"?N?H:"":Array.isArray(N)?N.length===0?H:H+"="+N.join():H+"="+(g.O7(["mtos","tos","p"],H)?N:encodeURIComponent(N))}; +WS=function(){var N=IND;var H=H===void 0?[]:H;var c=c===void 0?[]:c;H=xwy.apply(null,[qah.apply(null,g.HE(H))].concat(g.HE(c)));this.store=ADl(N,void 0,H)}; +NYy=function(N,H,c,t,h,O,F,M,f,d){d=d===void 0?!1:d;var W=zT(h);if(!bDl(h,d))return new S("Received invalid InstreamSurveyAdRenderer for VOD composite survey.",{InstreamSurveyAdRenderer:h});if(W<=0)return new S("InstreamSurveyAdRenderer should have valid duration.",{instreamSurveyAdRenderer:h});var z=N8L(N,H,h,O,c,t,F);return z instanceof S?z:function(E){return hRR(H,E.slotId,c,W,h,Ew(h),F(E),z,M,f)}}; +gG=function(N){this.value=N}; +tE=function(N,H,c,t,h,O){O=O===void 0?!1:O;sE.call(this,N,{W:"img",K:"ytp-ad-image"},"ad-image",H,c,t,h===void 0?null:h);this.T=O;this.hide()}; +ei=function(N,H,c){var t=N.T.get(H);t?t.push(c):N.T.set(H,[c])}; +xH=function(N,H,c,t,h,O){O=O===void 0?!1:O;var F={W:"div",fq:["ytp-input-slider-section"],X:[{W:"input",K:"ytp-input-slider",V:{role:"slider",tabindex:"0",type:"range",min:"{{minvalue}}",max:"{{maxvalue}}","aria-valuemin":"{{ariaMinValue}}","aria-valuemax":"{{ariaMaxValue}}","aria-valuenow":"{{ariaValueNow}}",step:"{{stepvalue}}",value:"{{slidervalue}}"}}]};h&&F.X.unshift(h);O&&F.fq.push("ytp-vertical-slider");g.e.call(this,F);this.L=N;this.S=H;this.C=c;this.initialValue=t;this.header=h;this.B=this.Sa("ytp-input-slider"); +this.T=t?t:N;this.init();this.G(this.B,"input",this.U);this.G(this.B,"keydown",this.Y)}; +A7w=function(N){return g.YI("client-screen-nonce-store",{})[N===void 0?0:N]}; +rA3=function(N){var H=new Hll(N.T.Mi);g.l(N,H);N=[new Br(N.T.Pp),new qs(N.T.J),new o9(N.T.Pp),new CI(N.T.RU,N.T.Ga),new lD,new KI(N.T.MP,N.T.FE,N.T.Pp),new gH,new yr(N.T.FE)];N=g.K(N);for(var c=N.next();!c.done;c=N.next())ilS(H,c.value);N=g.K(["adInfoDialogEndpoint","adFeedbackEndpoint"]);for(c=N.next();!c.done;c=N.next())rH(H,c.value,function(){}); +return H}; +cLf=function(){var N,H,c,t;return((t=nM().resolve(new Sp(Pq))==null?void 0:(N=Iq())==null?void 0:(H=N.loggingHotConfig)==null?void 0:(c=H.csiConfig)==null?void 0:c.debugTicks)!=null?t:[]).map(function(h){return Object.values(h)[0]})}; +t_e=function(N){var H=OC(N.playerVars),c=Number(H.length_seconds);isNaN(c)&&(c=0,KA("Expected valid length seconds in player vars but got NaN"));return{playerVars:H,A0:N.playerVars,oH:c}}; +h6w=function(N,H,c,t){if(N)return N.apply(H,t);if(g.mn&&document.documentMode<10){if(!H[c].call)throw Error("IE Clobbering detected");}else if(typeof H[c]!="function")throw Error("Clobbering detected");return H[c].apply(H,t)}; +QA=function(N){return wH(N)?N:DZ(N)?new R3(function(H,c){N.then(H,c)}):new R3(function(H){H(N)})}; +Xa=function(N,H,c){pn(N.T,H*8+c)}; +uD=function(N,H,c,t){t.info.mR.g0();var h=t.info.mR.T;if(!h||!c.Gj()||c.JE()===h)return!1;var O=h,F=c.jW();if(N.policy.ip&&F&&c.isView()&&g.vs(t.info.mR.info)){var M=new DataView(h.buffer,h.byteOffset,h.byteLength);(F=OlZ(M,F))?O=new Uint8Array(F.buffer,F.byteOffset,F.byteLength):N.Lq("fenc",{})}N.policy.Li&&(F=F_h(N,t,new eB([O])))&&(O=fD(F));var f;(F=t.info.mR.cJ(0,t.info.clipId))&&(f=F.L4[0]);if(t===N.T3){if(N.Cq+=1,N.wE.getVideoData().N("html5_shorts_gapless_restart_on_init_seg_retries")&&N.Cq> +5)return N.Cq=0,N.wE.Z7({initSegStuck:1,as:t.info.uX()}),!0}else N.Cq=0,N.T3=t;N.policy.EE&&(c.abort(),(F=H.Z)!=null&&(pI(F,4),F.flush()));h=$BS(N,c,O,f,h);(H=H.Z)!=null&&(H.flush(),H.B=f,pI(H,3,h));if(h!==0)return N.policy.Dn&&Vz(N.wE.getVideoData())?(N.wE.Y9()||m1(N,"sepInit",h,t.info),EIv(N.wE,"sie")):m1(N,"sepInit",h,t.info),!0;t.info.KG()?(f=N.timing,f.Cq||(f.Cq=(0,g.Lh)(),g.DO("vis_a",f.Cq,f.T))):(f=N.timing,f.C||(f.C=(0,g.Lh)(),g.DO("ais_a",f.C,f.T)));(t=t.info.mR.XK)&&N.wE.Gr(new a3(t.key, +t.type));return c.lq()}; +RE=function(N){var H={};N=N.split("\r\n");for(var c=0;c=2?F[1]:"";var M=frl.test(H),f=dBe.exec(H);f=f!=null&&f.length>=2?f[1]:"";var d=W_l.exec(H);d=d!=null&&d.length>=2&&!Number.isNaN(Number(d[1]))?Number(d[1]):1;var W=z6v.exec(H);W=W!=null&&W.length>=2?W[1]:"0";var z=nI(N.player.D().qf),E=N.player.getVideoData(1),x=g.Yi(E.Bp,!0),q="BISCOTTI_ID"in c?c.BISCOTTI_ID:"";O5s(N,x,H,q.toString(),N.player.D(), +E);E={splay:!1,lactMilliseconds:c.LACT.toString(),playerHeightPixels:Math.trunc(c.P_H),playerWidthPixels:Math.trunc(c.P_W),vis:Math.trunc(c.VIS),signatureTimestamp:20385,autonavState:Lr(N.player.D())};t&&(t={},EOe(t,c.YT_REMOTE)&&(E.mdxContext=t));if(t=xBe.includes(z)?void 0:g.W7("PREF")){for(var r=t.split(RegExp("[:&]")),w=0,n=r.length;w1&&p[1].toUpperCase()==="TRUE"){x.user.lockedSafetyMode=!0;break}}E.autoCaptionsDefaultOn= +q2l(t)}H=CKh.exec(H);(H=H!=null&&H.length>=2?H[1]:"")&&f&&(x.user.credentialTransferTokens=[{token:H,scope:"VIDEO"}]);H={contentPlaybackContext:E};F={adBlock:Math.trunc(c.AD_BLOCK),params:F,breakIndex:d,breakPositionMs:W,clientPlaybackNonce:c.CPN,topLevelDomain:z,isProxyAdTagRequest:M,context:x,adSignalsInfoString:JM(AR(q.toString())),overridePlaybackContext:H};h!==void 0&&(F.cueProcessedMs=Math.round(h).toString());f&&(F.videoId=f);c.LIVE_TARGETING_CONTEXT&&(F.liveTargetingParams=c.LIVE_TARGETING_CONTEXT); +c.AD_BREAK_LENGTH&&(F.breakLengthMs=Math.trunc(c.AD_BREAK_LENGTH*1E3).toString());O&&(F.driftFromHeadMs=O.toString());F.currentMediaTimeMs=Math.round(N.player.getCurrentTime(1)*1E3);(N=N.player.getGetAdBreakContext())&&(F.getAdBreakContext=N);return F}; +rU=function(N){N.L||(N.L=mFt())}; +K_y=function(){var N=SN();if(N){var H=N.isTypeSupported;return function(t,h){return H(h,t)}}var c=EY(); +return c&&(c.addKey||c.webkitAddKey)?function(t,h){return!!c.canPlayType(t,h)}:function(){return!1}}; +rLv=function(N,H){H=H===void 0?{}:H;var c=Q0(N),t=g.YI("INNERTUBE_CLIENT_NAME"),h=g.sf("web_ajax_ignore_global_headers_if_set"),O;for(O in gOl){var F=g.YI(gOl[O]),M=O==="X-Goog-AuthUser"||O==="X-Goog-PageId";O!=="X-Goog-Visitor-Id"||F||(F=g.YI("VISITOR_DATA"));var f;if(!(f=!F)){if(!(f=c||(g.dD(N)?!1:!0))){f=N;var d;if(d=g.sf("add_auth_headers_to_remarketing_google_dot_com_ping")&&O==="Authorization"&&(t==="TVHTML5"||t==="TVHTML5_UNPLUGGED"||t==="TVHTML5_SIMPLY")&&Aes(f))f=Cv(f)||"",f=f.split("/"), +f="/"+(f.length>1?f[1]:""),d=f==="/pagead";f=d?!0:!1}f=!f}f||h&&H[O]!==void 0||t==="TVHTML5_UNPLUGGED"&&M||(H[O]=F)}"X-Goog-EOM-Visitor-Id"in H&&"X-Goog-Visitor-Id"in H&&delete H["X-Goog-Visitor-Id"];if(c||!g.dD(N))H["X-YouTube-Utc-Offset"]=String(-(new Date).getTimezoneOffset());if(c||!g.dD(N)){try{var W=(new Intl.DateTimeFormat).resolvedOptions().timeZone}catch(z){}W&&(H["X-YouTube-Time-Zone"]=W)}document.location.hostname.endsWith("youtubeeducation.com")||!c&&g.dD(N)||(H["X-YouTube-Ad-Signals"]= +JM(AR()));return H}; +AY=function(N,H,c){var t=N.B[H];t||(t=[],N.B[H]=t);t.push(c)}; +Ij=function(N,H,c){zb.call(this,N);this.U=H;this.clientState=c;this.T="S";this.B="q"}; +jnt=function(N){var H=H===void 0?51:H;var c=[];wU(N,os,6).forEach(function(t){yM(t,2)>H&&c.push(yM(t,1))}); +return c}; +mB3=function(N,H,c){N=g.K(N.B);for(var t=N.next();!t.done;t=N.next())t.value.Sj(H,c)}; +PS=function(){return B5()||zL("iPad")||zL("iPod")}; +Uw=function(){}; +t3=function(N){if(!N)return new oa(0,0);var H=Number(N.start);N=Number(N.end);if(!isNaN(H)&&!isNaN(N)&&(H=new oa(H,N),H.length>0))return H}; +Nre=function(N,H,c,t,h,O){c=new xd([new Xp(c),new Xe(t)]);H=CA(N.B.get(),"LAYOUT_TYPE_UNDERLAY_TEXT_ICON_BUTTON",H);t={layoutId:H,layoutType:"LAYOUT_TYPE_UNDERLAY_TEXT_ICON_BUTTON",Hp:"core"};return{layoutId:H,layoutType:"LAYOUT_TYPE_UNDERLAY_TEXT_ICON_BUTTON",S1:new Map,layoutExitNormalTriggers:[new uN(function(F){return Ap(N.B.get(),F)},h)], +layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],Hp:"core",clientMetadata:c,z0:O(t),adLayoutLoggingData:void 0}}; +wMD=function(N){var H=N.provider.wE.fL(),c=g.cd(N.provider);kr(N,c,H);var t=H.L;H=H.U;isNaN(t)||(N.provider.j.N("html5_unified_live_latency_reporting")&&!isNaN(H)&&H?g.Xz(N,c,"e2el",[t.toFixed(3),H.toFixed(3)]):g.Xz(N,c,"e2el",[t.toFixed(3)]))}; +k$=function(N,H,c){N.CO>16-c?(N.KF|=H<>16-N.CO,N.CO+=c-16):(N.KF|=H<=0&&!(N.counter[F]=-~N.counter[F]);F--);for(var M,f,d=4;d<40;)F=VA[c>>>24]^LI[t>>16&255]^ZZ[h>>8&255]^YH[O&255]^H[d++],M=VA[t>>>24]^LI[h>>16&255]^ZZ[O>>8&255]^YH[c&255]^H[d++],f=VA[h>>>24]^LI[O>>16&255]^ZZ[c>>8&255]^YH[t&255]^H[d++],O=VA[O>>>24]^LI[c>>16&255]^ZZ[t>>8&255]^YH[h&255]^H[d++],c=F,t=M,h=f;N=N.B;F=H[40];N[0]=AT[c>>>24]^F>>>24;N[1]=AT[t>>16&255]^F>>16&255;N[2]=AT[h>>8&255]^ +F>>8&255;N[3]=AT[O&255]^F&255;F=H[41];N[4]=AT[t>>>24]^F>>>24;N[5]=AT[h>>16&255]^F>>16&255;N[6]=AT[O>>8&255]^F>>8&255;N[7]=AT[c&255]^F&255;F=H[42];N[8]=AT[h>>>24]^F>>>24;N[9]=AT[O>>16&255]^F>>16&255;N[10]=AT[c>>8&255]^F>>8&255;N[11]=AT[t&255]^F&255;F=H[43];N[12]=AT[O>>>24]^F>>>24;N[13]=AT[c>>16&255]^F>>16&255;N[14]=AT[t>>8&255]^F>>8&255;N[15]=AT[h&255]^F&255}; +QZ=function(N,H){return N.T.has(H)}; +pMw=function(N){var H=QqZ(N);if(H.binP)return H.binP;H.binP=Promise.resolve().then(function(){return fetch(N)}).then(function(c){if(!c.ok)throw Error("HTTP"+c.statusText); +return c.arrayBuffer()}); +H.binP.then(function(c){H.bin=c},function(){wgZ(N)}); +return H.binP}; +Q3d=function(N,H,c){var t;return g.Y(function(h){switch(h.T){case 1:var O=N.T;var F=Nq();O=F?new ae(O.B,F):void 0;t=O;if(!t){h.rE(2);break}g.Xy(h,3);return g.a(h,t.encrypt(H,c),5);case 5:return h.return(h.B);case 3:g.Lq(h);case 2:return h.return(eN(N,H,c))}})}; +vS=function(N,H,c,t,h,O){h=h===void 0?[]:h;sE.call(this,N,{W:"div",fq:["ytp-ad-confirm-dialog-background"],X:[{W:"div",K:"ytp-ad-confirm-dialog-container",X:[{W:"div",fq:["ytp-ad-confirm-dialog"].concat(h),V:{role:"dialog",tabindex:"-1"},X:[{W:"div",K:"ytp-ad-confirm-dialog-title",Wp:"{{title}}"},{W:"div",K:"ytp-ad-confirm-dialog-messages"},{W:"div",K:"ytp-ad-confirm-dialog-confirm-container",X:[{W:"button",K:"ytp-ad-confirm-dialog-cancel-button",Wp:"{{cancelLabel}}"},{W:"button",K:"ytp-ad-confirm-dialog-confirm-button", +Wp:"{{confirmLabel}}"}]}]}]},{W:"button",fq:["ytp-ad-confirm-dialog-close-overlay-button","ytp-ad-button","ytp-ad-button-link"],X:[{W:"span",K:"ytp-ad-button-icon",X:[g.Bg()]}]}]},O===void 0?"confirm-dialog":O,H,c,t);this.Z=this.Sa("ytp-ad-confirm-dialog-close-overlay-button");this.U=this.Sa("ytp-ad-confirm-dialog-cancel-button");this.S=this.Sa("ytp-ad-confirm-dialog-confirm-button");this.Us=this.Sa("ytp-ad-confirm-dialog-messages");this.L=null;this.T=new Qz;g.l(this,this.T);this.B=null;this.hide()}; +g.ed=function(N,H){if("textContent"in N)N.textContent=H;else if(N.nodeType==3)N.data=String(H);else if(N.firstChild&&N.firstChild.nodeType==3){for(;N.lastChild!=N.firstChild;)N.removeChild(N.lastChild);N.firstChild.data=String(H)}else g.oH(N),N.appendChild(fh(N).createTextNode(String(H)))}; +CA=function(N,H,c){if(BS(N.Rx.get())){var t=N.T.get(H)||0;t++;N.T.set(H,t);return c+"_"+H+"_"+t}return g.Xj(16)}; +yA=function(N){try{return QA(N())}catch(H){return uKS(H)}}; +JLv=function(N){g.gb(N.LM);GT(N)||(N.LM=g.Re(function(){return GT(N)},100))}; +rhZ=function(N,H){hA(N.Y,function(c){return c.U==H.U})||N.Y.push(H)}; +nOZ=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);this.events.G(N,"basechromeinitialized",function(){H.T=new oe(N);g.l(H,H.T);g.aG(N,H.T.element,4);H.T.hide()})}; +g.tI=function(N,H){if(!kH){var c=nM();cg(c,{VI:S23,Zd:Ie});var t={MK:{feedbackEndpoint:bD(NM),modifyChannelNotificationPreferenceEndpoint:bD(Hp),playlistEditEndpoint:bD(iP),shareEntityEndpoint:bD(cp),subscribeEndpoint:bD(FY),unsubscribeEndpoint:bD(Uw),webPlayerShareEntityServiceEndpoint:bD(y6)}},h=b0.getInstance(),O={};h&&(O.client_location=h);N===void 0&&(N=EGl());H===void 0&&(H=c.resolve(S23));z9e(t,H,N,O);cg(c,{VI:PKy,bV:bu.instance});kH=c.resolve(PKy)}return kH}; +X_=function(N,H){var c;return(c=H.priority)!=null?c:N.L}; +hI=function(N,H){N.B.delete(H)}; +UB3=function(N){N&&(N.dataset?N.dataset[Q2S()]="true":pZv(N))}; +XMS=function(N,H){N.B.style.setProperty("--yt-slider-shape-gradient-percent",(H-N.L)/(N.S-N.L)*100+"%")}; +V_y=function(N,H){return N.C?qN(N.C.U,H):N.NT.length?qN(N.NT,H):[]}; +qvl=function(N,H,c,t,h,O){function F(d){return Ap(H,d)} +var M=t.oC.inPlayerSlotId,f={layoutId:t.oC.inPlayerLayoutId,layoutType:"LAYOUT_TYPE_ENDCAP",Hp:"core"};c={slotId:M,slotType:"SLOT_TYPE_IN_PLAYER",slotPhysicalPosition:1,Hp:"core",slotEntryTrigger:new Os(F,N),slotFulfillmentTriggers:[new gX(F,M)],slotExpirationTriggers:[new rX(F,M),new mZ(F,c)]};N=Object.assign({},f,{layoutExitNormalTriggers:[new uN(F,N)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],S1:new Map,clientMetadata:new xd([new Sn(t.oC), +new Xe(t.adPlacementConfig),h]),z0:q5(O,c)(f),adLayoutLoggingData:t.oC.adLayoutLoggingData});return Object.assign({},c,{clientMetadata:new xd([new pZ(N)])})}; +yf=function(N){return g.F5(L_f(),N)}; +ALl=function(N,H,c,t){H=H===void 0?[]:H;N.uo();var h=[],O=[];H=g.K(H);for(var F=H.next();!F.done;F=H.next())F=F.value,g.P(F,ZlS)||g.P(F,Y2D)?h.push(F):O.push(F);h=g.K(h);for(H=h.next();!H.done;H=h.next())F8(N,H.value,c,t);O=g.K(O);for(h=O.next();!h.done;h=O.next())F8(N,h.value,c,t)}; +r0=function(N,H,c){N.J.Lq(H,c);Fpe(N)}; +N5l=function(N,H){if(N.endpoint==="log_event"){g.sf("more_accurate_gel_parser")&&uC().storePayload({isJspb:!1},N.payload);A2(N);var c=$0(N),t=new Map;t.set(c,[N.payload]);var h=QZe(N.payload)||"";H&&(UO=new H);return new g.EL(function(O,F){UO&&UO.isReady()?fyh(t,UO,O,F,{bypassNetworkless:!0},!0,XZ(h)):O()})}}; +arw=function(N){return{videoId:fB(N,2)}}; +GHs=function(N,H){var c=N[H];if(c)return c;if(c=N.extensions)if(c=c[H]){c=e6f(c);var t=c[0].wj;if(c=c[1]){var h=vOy(c),O=GS($i,iY,Tp,c).C5;c=N.mQ?Bw(O,h):function(F,M,f){return t(F,M,f,O,h)}}else c=t; +return N[H]=c}}; +zH=function(N,H,c,t){(N=N.T())||KA("Could not initiate a command router instance.");F8(N,H,c,t)}; +kF=function(N,H,c){H instanceof g.Sr?(N.left+=H.x,N.right+=H.x,N.top+=H.y,N.bottom+=H.y):(N.left+=H,N.right+=H,typeof c==="number"&&(N.top+=c,N.bottom+=c));return N}; +TK=function(N,H,c,t){hE.call(this,N,H,c,t,"ytp-video-ad-top-bar-title","ad-title")}; +sE=function(N,H,c,t,h,O,F){F=F===void 0?null:F;g.lL.call(this,H);this.api=N;this.macros={};this.componentType=c;this.Y=this.C=null;this.WO=F;this.layoutId=t;this.interactionLoggingClientData=h;this.yS=O;this.zW=null;this.p9=new jM(this.element);g.l(this,this.p9);this.UF=this.G(this.element,"click",this.onClick);this.NT=[];this.ox=new MM(this.onClick,this);g.l(this,this.ox);this.mG=!1;this.Cq=this.Bp=null}; +sqh=function(N,H,c){N=N.map(function(f){return R4(g.P(f.renderingContent,QR),!1)}); +var t=N.map(function(f){return f.videoLengthSeconds}),h=t.map(function(f,d){return new Bq(d,t)}),O=H,F=c,M=[]; +N.forEach(function(f,d){F=Math.min(O+f.videoLengthSeconds*1E3,c);FI(f.playerVars,h[d]);M.push({M7:f,us:O,AM:F,PQ:d,RH:h[d]});O=F}); +return M}; +fO=function(N,H){var c=TJ();g.Gv.call(this,N,{W:"div",K:"ytp-info-panel-detail-skrim",X:[{W:"div",K:"ytp-info-panel-detail",V:{role:"dialog",id:c},X:[{W:"div",K:"ytp-info-panel-detail-header",X:[{W:"div",K:"ytp-info-panel-detail-title",Wp:"{{title}}"},{W:"button",fq:["ytp-info-panel-detail-close","ytp-button"],V:{"aria-label":"Close"},X:[g.Bg()]}]},{W:"div",K:"ytp-info-panel-detail-body",Wp:"{{body}}"},{W:"div",K:"ytp-info-panel-detail-items"}]}]},250);var t=this;this.T=H;this.items=this.Sa("ytp-info-panel-detail-items"); +this.B=new g.Ww(this);this.itemData=[];this.L=c;this.G(this.Sa("ytp-info-panel-detail-close"),"click",this.e1);this.G(this.Sa("ytp-info-panel-detail-skrim"),"click",this.e1);this.G(this.Sa("ytp-info-panel-detail"),"click",function(h){h.stopPropagation()}); +this.G(this.J,"infopaneldetaildismissed",function(){N.N("embeds_enable_info_panel_dismissal")&&t.e1()}); +g.l(this,this.B);this.J.createServerVe(this.element,this,!0);this.G(N,"videodatachange",this.onVideoDataChange);this.onVideoDataChange("newdata",N.getVideoData());this.hide()}; +da=function(N,H){return N==H?!0:N&&H?N.left==H.left&&N.width==H.width&&N.top==H.top&&N.height==H.height:!1}; +HM=function(N){var H=N.pos;N.pos=0;var c=1E6;yq(N,[408125543,357149030,2807729])&&(c=iK(N));N.pos=H;return c}; +Kf=function(N){return eD(N,"custom_metric_viewable")}; +Wp=function(){var N=g.NA("yt.abuse.playerAttLoader");return N&&["bgvma","bgvmb","bgvmc"].every(function(H){return H in N})?N:null}; +KZv=function(){this.T=void 0;this.B=!1;this.L=0;this.U=-1;this.S="tos"}; +g.XS=function(N,H){H=IH(H);H=z0(H,H);H.U=!0;qY(N,H);return N}; +zK=function(N){dK.call(this,N);var H=this;wl(this.api,"dismissFeaturedProductOverlay",function(){H.dismissFeaturedProductOverlay()})}; +QqZ=function(N){var H=window;H.ywc||(H.ywc={});var c=H.ywc[N];if(c)return c;c={};return H.ywc[N]=c}; +QvS=function(N){var H={veType:253246};return g.Lu(function(){if(!H.veType)return gM(new g.ti("Error: Trying to graft a client VE without a veType.")),null;if(H.visibilityTypes){var c=H.visibilityTypes.reduce(function(t,h){return t|h}); +c={visibility:{types:String(c)}}}c=B8f(H.veType,H.visualElement,H.elementIndex,H.clientYouTubeData,void 0,c);return Dz(N,c)?c:null})()}; +GmR=function(N){return new Promise(function(H,c){var t=g.Ch("SCRIPT"),h=yLd(N);g.HR(t,h);t.onload=function(){g.wr(t);H()}; +t.onerror=function(){g.wr(t);c(Error("EWLS"))}; +(g.mx("HEAD")[0]||document.documentElement).appendChild(t)})}; +R6w=function(N,H){N.PL()?H=0:N.nE==-1?H=0:(H-=N.nE,H=H>Math.max(1E4,N.L/3)?0:H);var c=N.C(N)||{};c=c.currentTime!==void 0?c.currentTime:N.Bp;var t=c-N.Bp,h=0;t>=0?(N.Us+=H,N.Cq+=Math.max(H-t,0),h=Math.min(t,N.Us)):N.vp+=Math.abs(t);t!=0&&(N.Us=0);N.zW==-1&&t>0&&(N.zW=Rv>=0?UW()-Rv:-1);N.Bp=c;return h}; +Es=function(N,H,c){return g.Lu(function(){if(j_(N,c))return!1;Ai(N,H,c);return!0})()}; +lP=function(N,H){H=H===void 0?!1:H;if(!N.mediaElement||!N.videoData.L)return!1;var c=H;c=c===void 0?!1:c;var t=null;var h;if((h=N.videoData.L)==null?0:h.T){t=dCl(N,c);var O;(O=N.loader)==null||O.resume()}else x0(N),N.videoData.Ix&&(t=N.videoData.Ix.GT());h=N.mediaElement.C3();c=!1;h&&h.equals(t)||(cuw(N,t),c=!0);g.y(N.playerState,2)||(t=N.e_,H=H===void 0?!1:H,t.S||!(t.L>0)||t.mediaElement&&t.mediaElement.getCurrentTime()>0||(H={j_:"seektimeline_resumeTime",hk:H},t.videoData.Z||(H.seekSource=15),t.seekTo(t.L, +H)));a:{H=c;if(AC(N.videoData)){if(!N.videoData.f2())break a}else if(!g.JA(N.videoData))break a;if(N.mediaElement)if((t=N.videoData.S)&&N.mediaElement.X5()){h=N.mediaElement.N4();if(N.M2)if(h!==N.M2.element)qM(N);else if(H&&t.flavor==="fairplay"&&!S3())qM(N);else break a;if(N.N("html5_report_error_for_unsupported_tvos_widevine")&&S3()&&t.flavor==="widevine")N.TU("fmt.unplayable",1,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK","trg.unspttvoswidevine");else{N.M2=new CO(h,N.videoData,N.j,N.mediaElement);N.M2.subscribe("licenseerror", +N.KZ,N);N.M2.subscribe("qualitychange",N.rjS,N);N.M2.subscribe("heartbeatparams",N.HE,N);N.M2.subscribe("keystatuseschange",N.Un,N);N.M2.subscribe("ctmp",N.Lq,N);H=g.K(N.HD.keys);for(t=H.next();!t.done;t=H.next())t=N.HD.get(t.value),N.M2.Gr(t);N.N("html5_eme_loader_sync")||N.HD.removeAll()}}else N.TU("fmt.unplayable",1,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK","trg.updatedrm")}return c}; +g.KO=function(N){if(g.G0(N.J.D()))return N.Jn.get("unplugged")}; +ra=function(N){return N.split(",").map(function(H){return OC(H)})}; +g.wcl=function(N,H,c){Te3(N,H,c,null)||g.OT(g.Js(H,N))}; +oOw=function(N,H,c){this.L=c===void 0?0:c;this.B=N;this.T=H==null?"":H}; +CSR=function(N){var H={};g.uT(N,function(c){var t=c.event,h=H[t];H.hasOwnProperty(t)?h!==null&&(c.equals(h)||(H[t]=null)):H[t]=c}); +oRs(N,function(c){return H[c.event]===null})}; +kmR=function(N){var H=N.api.getPresentingPlayerType()===2&&(N.api.BO().JL||N.api.D().disableOrganicUi)&&N.api.D().B&&mU&&wa>=11;N=N.api.D().C&&mU;return!(!H&&!N)}; +Ir3=function(N){NOy(N,function(H,c){H=new URL(H);H.searchParams.set("format","json");var t=!1;try{t=X7().navigator.sendBeacon(H.toString(),c.UR())}catch(h){}t||(N.Bp=!1);return t})}; +k6v=function(N,H){this.B=N;this.L=H;this.T=new LAL(N)}; +blL=function(N,H){if(!(H instanceof fZ))if(H instanceof SB){var c=Error(H.toString());c.stack=H.stack;H=new fZ(11,"EBH:Error",c)}else H=new fZ(12,"BSO:Unknown",H);return N.reportError(H)}; +sfy=function(N){return N&&Njs[N]?Njs[N]:null}; +kL=function(N){return Gf(N.adLayoutMetadata)?(N=g.P(N.renderingContent,DH))&&N.pings?!0:!1:!1}; +HTL=function(N,H){N=g.K(N.TW);for(var c=N.next();!c.done;c=N.next())if(c=c.value,c.cz===H)return c.oAq?2:1;return 0}; +iTw=function(N){this.triggerType="TRIGGER_TYPE_CUE_BREAK_IDENTIFIED";this.triggerId=N(this.triggerType)}; +Qo=function(N){this.hF=oF(N)}; +gMw=function(N,H){g.vs(N.info.mR.info)||N.info.mR.info.RW();N.L=H;if(g.vs(N.info.mR.info)){var c=g.sn(N);N=N.info.mR.T;for(var t=NaN,h=NaN,O=0;dJ(c,O);){var F=WB(c,O);isNaN(t)&&(F.type===1936286840?t=F.data.getUint32(F.dataOffset+8):F.type===1836476516&&(t=g.ZW(F)));if(F.type===1952867444){!t&&N&&(t=fl(N));var M=g.pO(F);isNaN(h)&&(h=Math.round(H*t)-M);var f=F;M+=h;if(f.data.getUint8(f.dataOffset)){var d=f.data;f=f.dataOffset+4;d.setUint32(f,Math.floor(M/4294967296));d.setUint32(f+4,M&4294967295)}else f.data.setUint32(f.dataOffset+ +4,M)}O=z9(F.type)?O+8:O+F.size}return!0}c=new Bs(g.sn(N));N=N.S?c:new Bs(new DataView(N.info.mR.T.buffer));t=HM(N);N=c.pos;c.pos=0;if(Pf(c)&&$R(c,231))if(h=T8(c,!0),H=Math.floor(H*1E9/t),Math.ceil(Math.log(H)/Math.log(2)/8)>h)H=!1;else{for(t=h-1;t>=0;t--)c.T.setUint8(c.pos+t,H&255),H>>>=8;c.pos=N;H=!0}else H=!1;return H}; +cR3=function(N,H){var c=[];if(H=N.T.get(H.layoutId)){H=g.K(H);for(var t=H.next();!t.done;t=H.next())(t=N.B.get(t.value.triggerId))&&c.push(t)}return c}; +hgD=function(N,H){H=H?"Subtitles/closed captions on":"Subtitles/closed captions off";Dc(N,tsZ(N.J),H)}; +OT3=function(N){var H,c=(H=N.J.getVideoData())==null?void 0:H.Cq;if(c)for(N=N.U.Xg,c=g.K(c),H=c.next();!H.done;H=c.next())if(H=N[H.value]){var t=void 0,h=void 0,O=void 0;if(((t=H.onTap)==null?void 0:(h=t.innertubeCommand)==null?void 0:(O=h.changeEngagementPanelVisibilityAction)==null?void 0:O.targetId)!=="engagement-panel-macro-markers-problem-walkthroughs")return H}}; +jqL=function(N,H){N.B=H}; +F$w=function(N,H){if(N.T<7){var c=N.data,t=N.B;t>c.length&&(N.error=!0);N.register|=(c[t+1]<<8)+c[t]<=0)return de(N,c&15),c>>4;for(de(N,7);c<0;)c=H[uP(N,1)-c];return c>>4}; +JI=function(N){var H=(0,g.Lh)();N.ys=H}; +ZRw=function(N){N=g.K(N);for(var H=N.next();!H.done;H=N.next())if(g.P(H.value,PK))return!0;return!1}; +s9l=function(N,H,c,t,h){if(N.sB)return{"if":0,vs:0};var O=N.pB().clone().round(),F=N.ZI?N.ZI.L:null,M=yG(),f=BV(),d=N.vv(),W=N.ZI?N.ZI.getName():"ns",z={};z["if"]=M.L?1:void 0;z.sdk=N.U?N.U:void 0;z.t=N.timeCreated;z.p=[O.top,O.left,O.bottom,O.right];O&&F&&!St(F,O)&&(O=F.round(),z.cp=[O.top,O.left,O.bottom,O.right]);z.tos=c9(d.B,!1);z.mtos=tk(d);z.mcvt=d.zW.L;z.ps=void 0;O=rJ(d,UW(),N.PL());z.vht=O;z.mut=d.WO.L;z.a=Ia(N.mE.volume);z.mv=Ia(d.Y);z.fs=N.M6?1:0;z.ft=d.Bp.T;z.at=d.S.T;z.as=d.U>0?1:0;z.atos= +c9(d.T);z.ssb=c9(d.UF,!1);z.amtos=euy(d.T,!1);z.uac=N.mG;z.vpt=d.L.T;W=="nio"&&(z.nio=1,z.avms="nio");z.gmm="4";z.gdr=KR(N,d.L.T,!0)?1:0;z.efpf=N.Dt;if(W=="gsv"||W=="nis")W=N.ZI,W.C>0&&(z.nnut=W.C);z.tcm=U4w(N);z.nmt=N.vp;z.bt=N.Cq;z.pst=N.zW;z.vpaid=N.TW;z.dur=N.L;z.vmtime=N.Bp;z.is=N.FO.L;N.T.length>=1&&(z.i0=N.T[0].qW,z.a0=[N.T[0].hK],z.c0=[N.T[0].V0],z.ss0=[N.T[0].Fn],W=N.T[0].position,O=N.T[0].Y0,z.p0=W?nO(W):void 0,W&&O&&!St(O,W)&&(z.cp0=nO(O)));N.T.length>=2&&(z.i1=N.T[1].qW,z.a1=SM(N.T[1].Bh, +N.T[1].hK,N.T[1].nD),z.c1=SM(N.T[1].LZ,N.T[1].V0,N.T[1].Qt),z.ss1=SM(N.T[1].hH,N.T[1].Fn,N.T[1].AL),W=N.T[1].position,O=N.T[1].Y0,z.p1=W?nO(W):void 0,W&&O&&!St(O,W)&&(z.cp1=nO(O)),z.mtos1=N.T[1].Or);N.T.length>=3&&(z.i2=N.T[2].qW,z.a2=SM(N.T[2].Bh,N.T[2].hK,N.T[2].nD),z.c2=SM(N.T[2].LZ,N.T[2].V0,N.T[2].Qt),z.ss2=SM(N.T[2].hH,N.T[2].Fn,N.T[2].AL),W=N.T[2].position,O=N.T[2].Y0,z.p2=W?nO(W):void 0,W&&O&&!St(O,W)&&(z.cp2=nO(O)),z.mtos2=N.T[2].Or);N.T.length>=4&&(z.i3=N.T[3].qW,z.a3=SM(N.T[3].Bh,N.T[3].hK, +N.T[3].nD),z.c3=SM(N.T[3].LZ,N.T[3].V0,N.T[3].Qt),z.ss3=SM(N.T[3].hH,N.T[3].Fn,N.T[3].AL),W=N.T[3].position,O=N.T[3].Y0,z.p3=W?nO(W):void 0,W&&O&&!St(O,W)&&(z.cp3=nO(O)),z.mtos3=N.T[3].Or);z.cs=xks(N.FO);H&&(z.ic=das(N.FO),z.dvpt=d.L.B,z.dvs=Pp(d.B,.5),z.dfvs=Pp(d.B,1),z.davs=Pp(d.T,.5),z.dafvs=Pp(d.T,1),c&&(d.L.B=0,$tZ(d.B),$tZ(d.T)),N.Zq()&&(z.dtos=d.NT,z.dav=d.TW,z.dtoss=N.u8+1,c&&(d.NT=0,d.TW=0,N.u8++)),z.dat=d.S.B,z.dft=d.Bp.B,c&&(d.S.B=0,d.Bp.B=0));z.ps=[M.S.width,M.S.height];z.bs=[Gj(M.T), +M.T.getHeight()];z.scs=[M.U.width,M.U.height];z.dom=M.domain;N.a6&&(z.vds=N.a6);if(N.Y.length>0||N.XV)H=g.bX(N.Y),N.XV&&H.push(N.XV),z.pings=g.jm(H,function(E){return E.toString()}); +H=g.jm(g.WL(N.Y,function(E){return E.Y()}),function(E){return E.getId()}); +BGZ(H);z.ces=H;N.B&&(z.vmer=N.B);N.Z&&(z.vmmk=N.Z);N.NT&&(z.vmiec=N.NT);z.avms=N.ZI?N.ZI.getName():"ns";N.ZI&&g.NY(z,N.ZI.tA());t?(z.c=kM(N.mE.V0,2),z.ss=kM(N.mE.Fn,2)):z.tth=UW()-Tjl;z.mc=kM(d.Us,2);z.nc=kM(d.C,2);z.mv=Ia(d.Y);z.nv=Ia(d.U);z.lte=kM(N.wY,2);t=Vi(N,h);tk(d);z.qmtos=tk(t);z.qnc=kM(t.C,2);z.qmv=Ia(t.Y);z.qnv=Ia(t.U);z.qas=t.U>0?1:0;z.qi=N.RR;z.avms||(z.avms="geo");z.psm=d.Cq.T;z.psv=d.Cq.getValue();z.psfv=d.w_.getValue();z.psa=d.Xg.getValue();f=jwR(f.Ce);f.length&&(z.veid=f);N.S&&g.NY(z, +fED(N.S));z.avas=N.V8();z.vs=N.mq();z.co=Msl(N);z.tm=d.gE;z.tu=d.Kq;return z}; +p$=function(N){this.J=N}; +Us=function(N){this.T=N;this.iv=(0,g.lg)(oB(16))}; +eR=function(N,H,c,t,h,O){var F={format:"RAW"},M={};if(Q0(N)&&X8()){var f=g.YI("EOM_VISITOR_DATA");f?M["X-Goog-EOM-Visitor-Id"]=f:t?M["X-Goog-Visitor-Id"]=t:g.YI("VISITOR_DATA")&&(M["X-Goog-Visitor-Id"]=g.YI("VISITOR_DATA"));c&&(M["X-Goog-PageId"]=c);(t=H.NT)&&!jQ(H)&&(M["X-Goog-AuthUser"]=t);h&&(M.Authorization="Bearer "+h);H.N("enable_datasync_id_header_in_web_vss_pings")&&H.Nj&&H.datasyncId&&(M["X-YouTube-DataSync-Id"]=H.datasyncId);if(H.N("enable_rollout_token_header")){var d,W,z=(d=g.YI("INNERTUBE_CONTEXT"))== +null?void 0:(W=d.client)==null?void 0:W.rolloutToken;z&&(M["X-YouTube-Rollout-Token"]=z)}f||M["X-Goog-Visitor-Id"]||h||c||t?F.withCredentials=!0:H.N("html5_send_cpn_with_options")&&O4l.test(N)&&(F.withCredentials=!0)}Object.keys(M).length>0&&(F.headers=M);O&&(F.onFinish=O);return Object.keys(F).length>1?F:null}; +Ox=function(N){N.setAttribute("role","link")}; +g.LO=function(N,H,c){if(H instanceof g.Sr){var t=H.x;H=H.y}else t=H,H=c;N.style.left=Vo(t,!1);N.style.top=Vo(H,!1)}; +f$t=function(N){N.policy.rz&&N.Ha&&!N.Wc?N.Wc=!0:N.hj.H1()}; +abD=function(N,H){TY(N,1,H.formatId,Mi,3);d8(N,2,H.startTimeMs);d8(N,3,H.durationMs);d8(N,4,H.IR);d8(N,5,H.hY);TY(N,9,H.lYg,dtd,3);TY(N,11,H.BiE,Vh,1);TY(N,12,H.Pb,Vh,1)}; +YDL=function(N,H,c,t,h,O){this.displayName=N;this.vssId=H;this.languageCode=c;this.kind=t===void 0?"":t;this.xtags=h===void 0?"":h;this.id=O===void 0?"":O}; +g.bX=function(N){var H=N.length;if(H>0){for(var c=Array(H),t=0;t0||(c.OF=16E3);Object.assign(this,c);N=g.K(this.id.split(";"));this.itag=N.next().value;this.T=N.next().value;this.containerType=ZH(H);this.T0=gQ[this.itag]||""}; +QT=function(N,H,c){c=c===void 0?[]:c;this.maxItems=N;this.T=H===void 0?0:H;this.B=c}; +vgv=function(N){var H=Kf(N)?"custom_metric_viewable":N;N=yj(VG,function(c){return c==H}); +return Y0[N]}; +AI=function(N){dK.call(this,N);wl(N,"createClientVe",this.createClientVe.bind(this));wl(N,"createServerVe",this.createServerVe.bind(this));wl(N,"destroyVe",this.destroyVe.bind(this));wl(N,"hasVe",this.hasVe.bind(this));wl(N,"logClick",this.logClick.bind(this));wl(N,"logVisibility",this.logVisibility.bind(this));wl(N,"setTrackingParams",this.setTrackingParams.bind(this))}; +zgy=function(N){var H;return((H=W$R.get(N))==null?void 0:H.B$)||"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED"}; +T7=function(N){var H=nr.EXPERIMENT_FLAGS;return H?H[N]:void 0}; +m5R=function(N){this.T=new w1;this.B=N}; +hCw=function(N){return new Uint8Array(N.data.buffer,N.offset+N.data.byteOffset,N.size)}; +ap=function(N,H,c){if(H==null)c.push("null");else{if(typeof H=="object"){if(Array.isArray(H)){var t=H;H=t.length;c.push("[");for(var h="",O=0;O0&&h))return t;H=[F[0]+H].concat(g.HE(F.slice(1).map(function(M,f){return M-F[f]})),[h+c-H, +h]);return H.some(function(M){return M<0})?(g.Bp(N.logger,347111855,"Neg vss scheduled pings "+F+" "+h),t):H}; +A1=function(N,H,c,t,h){g.L.call(this);this.B=H;this.k_=c;this.ea=t;this.jg=h;this.listeners=[];var O=new Qz(this);g.l(this,O);O.G(N,"internalAbandon",this.EHg);this.addOnDisposeCallback(function(){g.bM(O)})}; +g.$8=function(N){N.gE=N.T.length-1;N.C4=0;e_v(N,!0)&&e_v(N,!1);for(var H=0,c=0;c=0;t--)if(N.T[t].width>0){Vt(N.T[t],0);var h=Math.floor(N.T[t].width);N.T[t].width=h;v$(N.T[t],h+"px");break}N.T[c].width=0;v$(N.T[c],"0")}else c===N.T.length-1?(t=Math.floor(N.T[c].width+H),N.T[c].width=t,v$(N.T[c],t+"px")):(H=N.T[c].width+H,t=Math.round(H),H-=t,N.T[c].width=t,v$(N.T[c],t+"px"));c=0;if(N.U.length===N.T.length)for(H=0;H< +N.U.length;H++)t=N.T[H].width,N.U[H].element.style.width=t+"px",N.U[H].element.style.left=c+"px",c+=t+Vy(N);N.api.N("delhi_modern_web_player")&&(N.T.length===1?N.T[0].B.classList.add("ytp-progress-bar-start","ytp-progress-bar-end"):(N.T[0].B.classList.remove("ytp-progress-bar-end"),N.T[0].B.classList.add("ytp-progress-bar-start"),N.T[N.T.length-1].B.classList.add("ytp-progress-bar-end")))}; +rMd=function(N){if(!N.B){N.B=!0;var H=N.wE.getPlayerState();H=H.isPaused()||H.isSuspended();N.wE.LJ();H&&!qy(N.videoData)||N.wE.publish("signatureexpired")}}; +Cgs=function(N){if(lQ(N.slot.clientMetadata,"metadata_type_allow_pause_ad_break_request_slot_reschedule")){var H=acl(N,N.slot);ig(N.T.get(),"OPPORTUNITY_TYPE_PAUSE_AD_BREAK_REQUEST_SLOT_RESCHEDULE",function(){return[H]})}}; +iMw=function(N){if(!N.api.D().C4){var H=N.api.getVideoData(),c=new g.yo("Subscribe",null,"Subscribed",null,!0,!1,H.tU,H.subscribed,"channel_avatar",null,N.api,!0);N.api.createServerVe(c.element,N);var t;N.api.setTrackingParams(c.element,((t=H.subscribeButtonRenderer)==null?void 0:t.trackingParams)||null);N.G(c.element,"click",function(){N.api.logClick(c.element)}); +N.subscribeButton=c;g.l(N,N.subscribeButton);N.subscribeButton.Jl(N.element)}}; +Trv=function(N,H,c){if(c.videoId)var t="VIDEO";else if(c.playlistId)t="PLAYLIST";else return;N.credentialTransferTokenTargetId=c;N.context=N.context||{};N.context.user=N.context.user||{};N.context.user.credentialTransferTokens=[{token:H,scope:t}]}; +Ju=function(N,H){this.B=N;this.L=H===void 0?!1:H;this.T={}}; +GT=function(N){var H=N.mediaElement;H&&N.SX&&!N.videoData.Z&&!j_("vfp",N.f4.timerName)&&H.gJ()>=2&&!H.isEnded()&&GK(H.Z6())&&N.f4.tick("vfp");return(H=N.mediaElement)&&!N.videoData.Z&&H.getDuration()>0&&(H.isPaused()&&H.gJ()>=2&&GK(H.Z6())&&(j_("pbp",N.f4.timerName)||N.f4.tick("pbp"),!N.videoData.TE||N.P6||H.isSeeking()||(N.P6=!0,N.publish("onPlaybackPauseAtStart"))),H=H.getCurrentTime(),Rp(N.oX,H))?(N.Dv(),!0):!1}; +l$h=function(N,H,c,t){c=c===void 0?!1:c;t=t===void 0?!1:t;var h=[];h.push({offset:0,transform:"translateX("+(N.B===-1?20:-20)+"px)",opacity:c?"0":"1"});c&&h.push({offset:.5,opacity:"1"});h.push({offset:1,transform:"translateX(0)",opacity:"1"});c=H.animate(h,{duration:400,easing:"cubic-bezier(0.05, 0.00, 0.00, 1.00)"});H=H.querySelector("path");h=[];var O={offset:0,d:N.B===-1?'path("M 18 4 L 18 16 L 18 28")':'path("M 4 4 L 4 16 L 4 28")'};t&&(O.filter="drop-shadow(0 0 0.5px rgba(0, 0, 0, 0.8))");h.push(O); +t&&h.push({offset:.8,filter:"drop-shadow(0 0 0.5px rgba(0, 0, 0, 0.8))"});N={offset:1,d:N.B===-1?'path("M 18 4 L 6 16 L 18 28")':'path("M 4 4 L 16 16 L 4 28")'};t&&(N.filter="drop-shadow(0 0 0.5px rgba(0, 0, 0, 0))");h.push(N);H.animate(h,{duration:333,easing:"cubic-bezier(0.05, 0.00, 0.00, 1.00)",fill:"forwards"});return c}; +K$R=function(N){return{u3:IZ(N,1),RPl:IZ(N,2)}}; +g.rRS=function(N,H){var c;return H.D().experiments.Zp().T.G0(gVe)&&g.op&&N.K4()&&!((c=N.B)==null||!MF(c))}; +mtw=function(N){N=e6f(N);var H=N[0].Md;if(N=N[1]){var c=O9(N),t=GS(UC,t2,h2,N).C5;return function(h,O,F){return H(h,O,F,t,c)}}return H}; +k0=function(N){this.hF=oF(N,36)}; +Ip=function(N,H){switch(H){case "normal":N.xG("complete");break;case "skipped":N.xG("skip");break;case "abandoned":Mk(N.Fg,"impression")&&N.xG("abandon")}}; +bP=function(N,H,c,t){for(var h=0;h-1&&N.splice(H,1)}; +g.YAd=function(){return{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,V:{d:"M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M25,13 L11,13 L11,14.63 C14.96,15.91 18.09,19.04 19.37,23 L25,23 L25,13 L25,13 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z", +fill:"#fff"}}]}}; +gl=function(N){var H=N.mG.x;H=g.Ae(H,0,N.Y);N.QB.update(H,N.Y);return N.QB}; +ARZ=function(N,H,c,t,h){return AMw(N,H,c,t,h)}; +a$f=function(N){Object.keys(N).forEach(function(H){var c=N[H];if(typeof c(void 0,{type:uR})==="undefined")throw Error('The slice reducer for key "'+H+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(typeof c(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION"+Ed()})==="undefined")throw Error('The slice reducer for key "'+ +H+"\" returned undefined when probed with a random type. Don't try to handle '"+(uR+'\' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.'));})}; +Lc=function(N){(N=pH(N.g_()))&&N.created&&N.destroy()}; +$J=function(){var N=egd();N=N===void 0?"bevasrsg":N;return new Promise(function(H){var c=window===window.top?window:vVy()?window:window.top,t=c[N],h;((h=t)==null?0:h.bevasrs)?H(new bS(t.bevasrs)):(t||(t={},t=(t.nqfbel=[],t),c[N]=t),t.nqfbel.push(function(O){H(new bS(O))}))})}; +Tk=function(){g.L.apply(this,arguments);this.B=1}; +jK=function(N,H,c,t,h){h=h===void 0?!1:h;if(N.policy.Cn)return Math.ceil(N.policy.Cn*H);N.policy.Fb&&(t=Math.abs(t));t/=N.playbackRate;var O=1/bR(N.YG);c=Math.max(.9*(t-3),lw(N.YG)+N.YG.B.T*O)/O*.8/(H+c);c=Math.min(c,t);N.policy.De>0&&h&&(c=Math.max(c,N.policy.De));return swf(N,c,H)}; +Mr=function(N,H){var c=N.started+N.T*4;H&&(c+=N.L);c=Math.max(0,c-3);return Math.pow(1.6,c)}; +YqR=function(N){if(N.L)if(N.U==="AD_PLACEMENT_KIND_START"&&N.actionType==="video_to_ad")db("video_to_ad");else{var H={adBreakType:SR(N.U),playerType:"LATENCY_PLAYER_HTML5",playerInfo:{preloadType:"LATENCY_PLAYER_PRELOAD_TYPE_PREBUFFER"},videoStreamType:N.videoStreamType};N.actionType==="ad_to_video"?(N.contentCpn&&(H.targetCpn=N.contentCpn),N.videoId&&(H.targetVideoId=N.videoId)):(N.adCpn&&(H.targetCpn=N.adCpn),N.adVideoId&&(H.targetVideoId=N.adVideoId));N.adFormat&&(H.adType=N.adFormat);N.contentCpn&& +(H.clientPlaybackNonce=N.contentCpn);N.videoId&&(H.videoId=N.videoId);N.adCpn&&(H.adClientPlaybackNonce=N.adCpn);N.adVideoId&&(H.adVideoId=N.adVideoId);g.YR(H,N.actionType);N.J.D().experiments.M4("html5_ads_csi_qoes")&&(H=N.J.Bz(N.actionType==="ad_to_video"?1:2),H=(0,g.Lh)()-1E3*H,Es("qoes",H,N.actionType))}}; +CNw=function(N){if(N.J.isEmbedsShortsMode())return!1;N=N.J;var H=N.D();if(H.L)return!1;var c;if(((c=H.getWebPlayerContextConfig())==null?0:c.embedsEnableEmc3ds)||H.controlsType==="3")return!1;if(H.playerStyle==="creator-endscreen-editor")return!0;c=N.getVideoData();return!!c&&(!!g.Bjh(c)||!!g.yRd(c))}; +gH=function(){}; +VFD=function(N,H){N.uo()||(N.B=H,N.logger.update(H.hm()),N.S.resolve(),N.Y.resolve(void 0),N.VW())}; +zew=function(N){N=N.split(/(?:\r\n|\r|\n)/g);if(N.length>1){for(var H=[N[0]],c=1;c0)return 2;if(H<0)return 1;c=N.Ff();return H-1&&(delete Ks["@type"],v=Ks);r&&N.B.has(r)&&N.B.delete(r);((Tx=H.config)==null?0:Tx.gPo)&&Ai(H.config.gPo);if(v||(Fc=N.L)==null||!Fc.EtS(H.input,H.aH)){Q.rE(15);break}return g.a(Q,N.L.veT(H.input,H.aH),16);case 16:v=Q.B;case 15:return Hcs(N, +v,H),((ol=H.config)==null?0:ol.TRq)&&Ai(H.config.TRq),t(),Q.return(v||void 0)}})}; +g.d9=function(){g.L.call(this);this.nA=new fQ(this);this.bZ=this;this.gp=null}; +qr=function(N){var H;(H=N.Y)==null||H.dispose();N.Y=null}; +CX=function(N,H,c,t,h,O,F,M){g.Ww.call(this);var f=this;this.api=N;this.S=H;this.contextMenu=c;this.HU=t;this.eg=h;this.T=O;this.C=F;this.progressBar=M;this.U=new g.kT(function(){s2v(f,!1)},1E3); +this.B="";this.L={XB:!1,bf:!1,cS:!1};g.l(this,this.U);this.G(H,"mousedown",function(){Ra(f,!1)}); +this.G(c.element,"mousedown",function(){Ra(f,!1)}); +this.G(H,"keydown",this.Ps);this.G(c.element,"keydown",this.Ps);this.G(H,"keyup",this.Yk);this.G(c.element,"keyup",this.Yk)}; +g.gb=function(N){window.clearInterval(N)}; +I$v=function(N,H,c){H={cpn:H};N.indexOf("/ibw/")===-1&&(H.ibw=c?String(c):"1369843");return{url:g.Of(N,H),type:"application/x-mpegURL",quality:"auto",itag:"93"}}; +g$D=function(N){return N.B?!0:N.Es.Bp==="yt"?N.videoData.Z?N.videoData.zW<25:!N.videoData.zW:!1}; +lq=function(N){this.value=N}; +bMt=function(N){var H,c={},t=N.wE,h=N.Es,O=N.YG,F=t.getVideoData(),M=SW(0),f=t.getVisibilityState(),d;if((d=N.wk)==null?0:d.Bv)c.BG=h.BG;M&&(c.KGq=M,c.lastManualDirection=bTv(),M=N0D()||0,M>0&&(M=(h.N("html5_use_date_now_for_local_storage")?Date.now():(0,g.Lh)())-M,h.N("html5_use_date_now_for_local_storage")?M>0&&(c.timeSinceLastManualFormatSelectionMs=M):c.timeSinceLastManualFormatSelectionMs=M));M=h.N("html5_use_streamer_bandwidth_for_low_latency_live")&&F.isLowLatencyLiveStream;if(O.Bp&&!M){var W; +M=h.N("html5_disable_bandwidth_cofactors_for_sabr_live")?!((W=N.wk)==null||!W.Ze):!1;c.BX=bR(O,!M)}M=g.fi.medium;d=Math.floor(M*16/9);(W=F.Tu())||(F.T&&F.L&&F.L.videoInfos.length!==0?(W=F.L.videoInfos[0],W=!!W.video&&W.video.width0?{authorizedFormats:N.authorizedFormats}:{authorizedFormats:H};N.sabrLicenseConstraint&&(c.ZH.sabrLicenseConstraint=N.sabrLicenseConstraint);if(h.N("html5_onesie_media_capabilities")||x1(F))c.aX=3;h.N("html5_onesie_audio_only_playback")&& +ix(F)&&(c.aX=1);var p;((p=N.wk)==null?0:p.Oc)&&N.EGx&&(c.aX=c.aX===void 0?7:c.aX|4);p=F.w_?F.w_:g.KX(F);h.N("html5_onesie_media_capabilities")&&(c.mediaCapabilities=g.HrR(F,p,h));var U;if((U=N.wk)==null?0:cB(U)){E=h.S;U=[];H=[];x=new Map;q=Array.from(E.T.values());q=g.K(q);for(r=q.next();!r.done;r=q.next())w=r.value,w.ll?H.push({audioCodec:irh[w.T0],numChannels:w.numChannels,spatialCapabilityBitmask:cre[w.T0]}):(n=t$3[w.T0],r={videoCodec:n,maxWidth:w.maxWidth||0,maxHeight:w.maxHeight||0,maxFramerate:w.maxFramerate|| +0,is10BitSupported:w.Qi||!1},w.maxBitrateBps&&(r.maxBitrateBps=w.maxBitrateBps,f=gf(w.itag),W=void 0,((W=f)==null?0:W.video)&&Ti(p,f,E)===!0&&(f=f.OF*8,f>r.maxBitrateBps&&(r.maxBitrateBps=f))),w=n+"_"+w.Qi,n=x.get(w)||[],n.push(r),x.set(w,n));U=hFR(U,x);E={};h.N("html5_ssff_denylist_opus_low")&&(E={itagDenylist:[249,350]});c.mediaCapabilities={videoFormatCapabilities:U,audioFormatCapabilities:H,hdrModeBitmask:3,perPlaybackAttributes:E}}var X;if((X=N.wk)==null?0:X.T){c.vL=p.vL;var A;c.CF=(A=N.wk)== +null?void 0:A.CF}h.Bd&&(c.Tq=h.Bd);c.ZF=N.sY;c.f5=N.f5;c.gK=N.gK;c.NJ=N.NJ;N.XY&&(c.KEg=(0,g.Lh)()-N.XY);N.ai&&h.N("html5_report_prefetch_requests")&&(c.ai=N.ai);km||(c.OeT=!0);X=lw(O)*1E3;X>0&&(c.GL=X);var R;((R=N.wk)==null?0:R.FK)&&N.Wu&&N.Wu0?v:O.interruptions[0]||0;var Nf;if((Nf=N.wk)==null?0:Nf.Dt)c.s0=N.s0;h.w_&&(c.audioTrackId=h.w_);Yd(F)&&!c.audioTrackId&&(h.N("html5_fill_default_mosaic_audio_track_id")||(N=J93(F),c.audioTrackId=N),F==null||F.Lq("misstrkchg",{"default":c.audioTrackId}));if(F=XHv())c.detailedNetworkType=Orw[F]||Orw.other;h.N("html5_enable_voice_boost")&&(c.Reg=h.MA);return c}; +FjR=function(N,H){return H.getUserAudio51Preference()?g.WL(N,mK):N}; +T0h=function(N,H,c){var t;return g.Y(function(h){if(h.T==1)return N.tN("oprd_s"),$iw(N)?g.a(h,p9w(N.Te,H,c),3):(t=N.Te.decrypt(H,c),h.rE(2));h.T!=2&&(t=h.B);N.tN("oprd_c");return h.return(t)})}; +j1S=function(N,H,c){var t=this;this.L=N;this.Lq=H;this.Y=c;this.U="";this.B=new Set;this.T=new Map;this.S=-1;this.Br={N4g:function(){return t.B}}}; +KId=function(N){var H=N.J.getVideoData();return g.rRS(H,N.J)||!!H.C4||!!H.captionTracks.length||g.M$L(H,N.J)}; +f_w=function(N,H,c,t,h){this.callback=N;this.slot=H;this.layout=c;this.Pp=t;this.ZM=h;N=lQ(this.layout.clientMetadata,"metadata_type_ad_placement_config");this.Fg=new sd(c.S1,this.Pp,N,c.layoutId)}; +vDd=function(N,H){if(H.iO)for(var c=0;c= +2)){var O=window.sessionStorage.getItem("session_logininfo");if(O){var F;(F=H.contentWindow)==null||F.postMessage({loginInfo:O},t)}}}}catch(M){}}; +xiZ=function(){return{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M 12,26 16,26 16,10 12,10 z M 21,26 25,26 25,10 21,10 z"}}]}}; +Ql=function(N){return N.type===3||N.type===6}; +g.qch=function(N){var H=fSd();H&&(N=JSON.stringify(N),H.set("yt-player-lv",N))}; +l_L=function(N){for(var H=N.suggestionData.length,c=0;c0?h:1;var O=Math.max(t,h);N.policy.S>0&&h=c&&H<=t}; +Pul=function(N){if(N.j.storeUserVolume){N=g.pB("yt-player-volume")||{};var H=N.volume;N={volume:isNaN(H)?100:g.Ae(Math.floor(H),0,100),muted:!!N.muted}}else N={volume:100,muted:N.j.mute};return N}; +Kyt=function(N){return N in nX?nX[N]:nX[N]="on"+N}; +PA=function(N,H,c){c=c===void 0?SK:c;c.widthN.width*N.height*.2)return{Am:3,QD:501,errorMessage:"ad("+PF(c)+") to container("+PF(N)+") ratio exceeds limit."};if(c.height>N.height/3-H)return{Am:3,QD:501,errorMessage:"ad("+PF(c)+") covers container("+PF(N)+") center."}}; +mid=function(N,H){N.CS=N.CS.filter(function(c){return c!==H})}; +wxL=function(N){if(!(N.length<=28))for(var H=(0,g.lg)([60,0,75,0,73,0,68,0,62,0]),c=28;c=0&&g.wd(N,H)}; +Wd=function(N){this.Rx=N;this.B=new Map;this.T=new Map;this.L=new Map}; +oCy=function(N){if(g.sf("enable_web_tiered_gel")){N=DdD[N||""];var H,c,t,h=nM().resolve(new Sp(Pq))==null?void 0:(H=Iq())==null?void 0:(c=H.loggingHotConfig)==null?void 0:(t=c.eventLoggingConfig)==null?void 0:t.payloadPolicies;if(h)for(H=0;H=.15&&N.mY("INTERACTION_LOGGING_GESTURE_TYPE_SCROLL_BEGAN_DRAGGING"),N.T=0,Ao(N),g.nH(N.api.getRootNode(),"ytp-grid-scrolling"))}; +izD=function(N){return N.replace(/(\d+)---/g,function(H,c){H=Number(c);return(H===1?2:H-1)+"---"})}; +ckR=function(N,H){H=g.Fu(H);g.ed(N.questionText,H);N.Z&&N.questionText.setAttribute("id",Gx("survey-question-text"))}; +iO=function(N,H,c){var t=[];t.push(new qG(N.T,c));H&&t.push(H);return t}; +g.Kr=function(N){N&&(typeof N=="string"&&(N=[N]),g.uT(N,function(H){if(H in U8){var c=U8[H],t=c[0],h=c[1],O=c[3];c=c[4];t.removeEventListener?dVD()||typeof c==="boolean"?t.removeEventListener(h,O,c):t.removeEventListener(h,O,!!c.capture):t.detachEvent&&t.detachEvent("on"+h,O);delete U8[H]}}))}; +OzS=function(N){var H;return(H=N[txR])!=null?H:N[txR]=new Map(hry(oQy(N)).map(function(c){return[c.getName(),yM(c,2)]}))}; +cY=function(N,H){N.AS&&!N.Np.kP()?N.AS(H):N.handleError(H)}; +hQ=function(N,H){H=H===void 0?NaN:H;var c=g.cd(N.provider);H=isNaN(H)?c:H;H=Math.ceil(H);var t=N.C[N.Z];N.Z+11E3;!(O.length>1)&&O[0].isEmpty()||M||(F.C=hQ(N,h));F.send();N.TW++}},(h-c)*1E3); +return N.U=h}; +$OL=function(N,H){var c=(H-N.T)/(N.B-N.T);if(c<=0)return 0;if(c>=1)return 1;for(var t=0,h=1,O=0,F=0;F<8;F++){O=XE(N,c);var M=(XE(N,c+1E-6)-O)/1E-6;if(Math.abs(O-H)<1E-6)return c;if(Math.abs(M)<1E-6)break;else O1E-6&&F<8;F++)O=-1&&O<=2):O=Math.abs(t-h)<=1,Tw(N,H,O?t:h,c,t,F,M&&O),O&&!f&&N.xG("complete"))}; +qS=function(){return"https://play.google.com/log?format=json&hasfast=true"}; +jL=function(N,H){N=N instanceof Uint8Array?new eB([N]):N;return H(new kl(N))}; +f0=function(N){dK.call(this,N);var H=this;this.Y=this.T=this.B=0;this.Z=null;this.C=this.U=0;this.isEnded=!1;this.TW=null;var c=new g.Ww(N);g.l(this,c);this.ox=g.Mx(this.api.D().experiments,"web_player_default_peeking_px");this.Cq=this.api.N("delhi_modern_player_enable_pause_peeking");this.gE=g.Mx(this.api.D().experiments,"delhi_modern_player_pause_thumbnail_percentage");this.Kq=this.api.N("web_player_imax_theater_mode");this.L=this.api.N("web_player_enable_fullscreen_grid_components");this.Ix=this.api.N("web_player_enable_more_videos_button"); +this.NT=this.api.N("web_player_use_external_grid_component");g.bV(this.api.getRootNode(),"ytp-grid-scrollable");c.G(N,"fullscreentoggled",function(){M8(H)}); +c.G(N,"videodatachange",function(){if(H.L){var t=H.api.getVideoData(1);H.videoData!==t&&H.B===2&&(g.nH(H.api.getRootNode(),"ytp-grid-scrolling"),HY(H,1,"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED"));H.videoData=t}},this); +c.G(N,"sizestylechange",function(){H.L&&M8(H)}); +wl(this.api,"setFullscreenQuickActions",function(t){H.setFullscreenQuickActions(t)}); +wl(this.api,"setPlayerOverlayVideoDetailsRenderer",function(t){H.setPlayerOverlayVideoDetailsRenderer(t)}); +this.NT&&wl(this.api,"setFullscreenGrid",function(t){H.setFullscreenGrid(t)}); +this.L&&zre(this,c,N)}; +d6=function(N){N=g.lN(N);for(var H=g.K(Object.keys(N)),c=H.next();!c.done;c=H.next()){c=c.value;var t=N[c];N[c]=Array.isArray(t)?t[0]:t}return N}; +EiL=function(N){if(N.api.D().N("web_player_log_click_before_generating_ve_conversion_params"))for(var H=Math.floor(-N.scrollPosition/(N.U+8)),c=Math.min(H+N.columns,N.suggestionData.length)-1;H<=c;H++)N.api.logVisibility(N.T[H].element,!0)}; +zw=function(N){g.e.call(this,{W:"div",K:"ytp-spinner",X:[WY(),{W:"div",K:"ytp-spinner-message",Wp:"If playback doesn't begin shortly, try restarting your device."}]});this.api=N;this.message=this.Sa("ytp-spinner-message");this.T=new g.kT(this.show,500,this);g.l(this,this.T);this.G(N,"presentingplayerstatechange",this.onStateChange);this.G(N,"playbackstalledatstart",this.B);this.Xf(N.getPlayerStateObject())}; +ER=function(N,H,c,t,h,O){eq.call(this,c,N,H,t);this.k_=h;this.Rx=O}; +xOS=function(N,H,c){var t,h=H==null?void 0:(t=H.text)==null?void 0:t.simpleText;h&&(c=TDd(N,c,h,H==null?void 0:H.icon,H==null?void 0:H.secondaryIcon),H.navigationEndpoint&&c.listen("click",function(){N.J.QS("innertubeCommand",H.navigationEndpoint);N.hide()},N))}; +R3=function(N){this.T="pending";this.B=[];this.L=[];try{N(this.U.bind(this),this.reject.bind(this))}catch(H){this.reject(H)}}; +Kg=function(N){this.value=N}; +zv=function(N,H){return H&&g.Iy(N.j)?H.some(function(c){return c.video.fps>32}):!1}; +xs=function(N){this.value=N}; +Tb=function(N,H){N.Pd[N.pending++]=H&255;N.Pd[N.pending++]=H>>>8&255}; +q8=function(N,H){N[H]||(N[H]=new qZs);return N[H]}; +AyL=function(N){return(N==null?void 0:N.durationMs)!=null&&(N==null?void 0:N.durationMs)>0}; +Cld=function(N){N.T.element.classList.toggle("ytp-xsmall-width-right-controls-expanded",N.C.isExpanded())}; +C0=function(N){N.readyState=4;N.U=null;N.L=null;N.C=null;hR(N)}; +za=function(N){this.T=N||{cookie:""}}; +zre=function(N,H,c){H.G(c,"keyboardserviceglobalkeydown",function(t,h){N.L&&t.keyCode===86&&!t.repeat&&N.B!==0&&(h&&(h.cS=!0),N.mY("INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS"))}); +H.G(N.api.getRootNode(),"wheel",function(t){if(!N.TW){var h;if(N.L&&(h=N.S)!=null&&h.element&&!g.y(N.api.getPlayerStateObject(),2)&&N.B!==0&&lO(N))if(g.bV(N.api.getRootNode(),"ytp-grid-scrolling"),N.U===0&&(N.U=window.innerHeight),N.B===1)N.U!==0&&(N.T+=t.deltaY/N.U,N.T=g.Ae(N.T,0,.7),Ao(N),lxR(N,N.C/N.U+N.T>=.7,2));else if(N.B===2){h=t.deltaY<0;var O,F,M=((F=(O=N.S)==null?void 0:O.B)==null?void 0:F.scrollTop)===0;O=N.T!==0;h&&M||O&&!h?N.U!==0&&(N.T=Math.max(0,N.T-t.deltaY/N.U),Ao(N),lxR(N,N.C/N.U+ +Math.abs(N.T)>=.7,1)):N.T!==0&&(N.T=0,Ao(N))}}},N,!0); +H.G(c,"standardControlsInitialized",function(){if(!N.S){N.S=new K0(N.api,N.GWW.bind(N));N.Ix&&(N.Bp=new ZT(N.api),g.l(N,N.Bp),N.Bp.element.setAttribute("data-overlay-order","12"),N.api.PR(N.Bp.element,4),N.Bp.listen("click",N.mY,N));g.l(N,N.S);var t=N.api.getRootNode().querySelector(".ytp-chrome-bottom");t&&t.parentNode&&t.parentNode.insertBefore(N.S.element,t.nextSibling);CWS(N)}}); +H.G(c,"presentingplayerstatechange",function(){g6(N)}); +H.G(c,"autonavvisibility",function(){g6(N)}); +N.api.RA().subscribe("visibilitystatechange",function(){g6(N)}); +KWh(N,N.B)}; +M4D=function(N,H){N.S=!0;g.OT(function(){N.S&&eCh.call(null,H)})}; +r6=function(N,H,c){return new g.vn(N*1E3,H*1E3,{priority:9,namespace:c})}; +D0=function(N,H,c,t){var h=t!==void 0;t=!!t;var O=TX(mg),F;!h&&jB&&O&&(F=N[O])&&Yo(F,gis);O=[];var M=N.length;F=4294967295;var f=!1,d=!!(H&64),W=d?H&128?0:-1:void 0;if(!(H&1)){var z=M&&N[M-1];z!=null&&typeof z==="object"&&z.constructor===Object?(M--,F=M):z=void 0;if(d&&!(H&128)&&!h){f=!0;var E;F=((E=HQ)!=null?E:ij)(F-W,W,N,z,void 0)+W}}H=void 0;for(E=0;E=F){var q=E-W,r=void 0;((r=H)!=null?r:H={})[q]=x}else O[E]=x}if(z)for(var w in z)M=z[w],M!= +null&&(M=c(M,t))!=null&&(E=+w,x=void 0,d&&!Number.isNaN(E)&&(x=E+W)0)){q.rE(5);break}return g.a(q,Uc(5E3),6);case 6:W={playerretry:f,playerretrysrc:c},F||(W.recover="embedded"),d=hp(O,W);case 5:return g.a(q,QYZ(H,d).then(h,t),7);case 7:if(z=q.B)return q.return();f++;q.rE(2);break;case 4:E=F?"auth":"manifest.net.retryexhausted";x=F?2:1;if(!F&&Math.random()< +1E-4)try{g.aS(new g.ti("b/152131571",btoa(O)))}catch(w){}return q.return(Promise.reject(new g.QP(E,{backend:"gvi"},x)))}})}; +uwZ=function(){var N=["metadata_type_top_banner_image_text_icon_buttoned_layout_view_model","metadata_type_linked_player_bytes_layout_id"];vR().forEach(function(H){N.push(H)}); +return{lG:N,xH:["LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON"]}}; +g.ND=function(N,H){g.d9.call(this);this.wy=N||1;this.D8=H||g.di;this.SG=(0,g.tv)(this.CRl,this);this.Y2=g.vg()}; +Ti=function(N,H,c,t,h){h=h===void 0?new Set:h;if(H.T0==="")return"unkn";if((H.itag==="304"||H.itag==="266")&&N.Us)return"blk2khfr";if(N.Y&&H.video&&H.video.qualityOrdinal>N.Y)return"max"+N.Y;if(N.Al&&H.T0==="h"&&H.video&&H.video.qualityOrdinal>1080)return"blkhigh264";if(H.T0==="(h"&&!c.C)return"enchdr";if((t===void 0?0:t)&&zm(H)&&!N.Kq)return"blk51live";if((H.T0==="MAC3"||H.T0==="mac3")&&!N.U)return"blkac3";if((H.T0==="MEAC3"||H.T0==="meac3")&&!N.S)return"blkeac3";if(H.T0==="M"||H.T0==="m")return"blkaac51"; +if((H.T0==="so"||H.T0==="sa")&&!N.Bp)return"blkamb";if(!N.Dt&&Jkl(H)&&(!c.S||H.T0!=="1e"))return"cbc";if(!c.S&&Jkl(H)&&H.T0==="1e")return"cbcav1";if((H.T0==="i"||H.T0==="I")&&!N.Uu)return"blkiamf";var O;if(N.C4&&((O=H.audio)==null?void 0:O.B)===!0)return"blkvbcabr";var F,M;if(N.Xg&&(H.T0==="1"||H.T0==="1h"||c.S&&H.T0==="1e")&&((F=H.video)==null?0:F.qualityOrdinal)&&((M=H.video)==null?void 0:M.qualityOrdinal)>N.Xg)return"av1cap";t=c.U.get(H.T0);if(!N.kG&&t&&t.LT>0)return h.add(H.T0),"byerr";var f; +if((f=H.video)==null?0:f.fps>32){if(!c.NT&&!k_(c,o4.FRAMERATE))return"capHfr";if(N.w_&&H.video.qualityOrdinal>=4320)return"blk8khfr";if(LB(H)&&N.Jj&&H.YH&&H.video.qualityOrdinal>=1440)return"disablevp9hfr"}if(N.OF&&H.OF>N.OF)return"ratecap";if(N.ox>0&&H.KG()&&H.video.height>N.ox)return"mvhcap";N=nis(c,H);return N!==!0?N:!0}; +SZv=function(N){this.end=this.start=N}; +UOS=function(N){return Pl3.then(N)}; +Zus=function(N){N=N.T;N.Tb();N.wU();var H=yG();H.C=n0(!1,N.L,H.isMobileDevice);Hiv(yG(),N.L);N.U.T=N.R2()}; +JRd=function(N,H,c){var t;(t=N.T.get(c))==null||t.delay.dispose();N.T.delete(c);return new Promise(function(h){h={id:c,mediaTime:H,delay:new g.kT(function(){}), +resolve:h};N.T.set(c,h);SL(N,h)})}; +Ji=function(N,H){$z(N,1,H.url);if(H.lf)for(var c=0;c0?c.heartbeatRequestParams.unpluggedParams.freePreviewUsageDetails= +H.freePreviewUsageDetails:c.heartbeatRequestParams.unpluggedParams.freePreviewWatchedDuration={seconds:""+H.freePreviewWatchedDuration}}); +wl(N,"setFreePreviewWatchedDuration",function(c){H.freePreviewWatchedDuration=c}); +wl(N,"setFreePreviewUsageDetails",function(c){H.freePreviewUsageDetails=c})}; +vY=function(N,H,c){this.buffer=N;if(c&&!H)throw Error();this.T=H}; +Scs=function(N){for(var H=g.K(Object.values(bzs)),c=H.next();!c.done;c=H.next())if(g.gi(c.value)===N)return!0;return!1}; +sR=function(N,H,c,t){this.videoInfos=N;this.T=H;this.audioTracks=[];this.B=t||[];if(this.T){N=new Set;c==null||c({ainfolen:this.T.length});H=g.K(this.T);for(t=H.next();!t.done;t=H.next())if(t=t.value,!t.X3||N.has(t.X3.id)){var h=void 0,O=void 0,F=void 0;(F=c)==null||F({atkerr:!!t.X3,itag:t.itag,xtag:t.T,lang:((h=t.X3)==null?void 0:h.name)||"",langid:((O=t.X3)==null?void 0:O.id)||""})}else h=new g.Pi(t.id,t.X3),N.add(t.X3.id),this.audioTracks.push(h);c==null||c({atklen:this.audioTracks.length})}}; +yB=function(N){return navigator.requestMediaKeySystemAccess?g.Pc&&!g.Iu()?uH("45"):g.BY||g.mn?N.M4("edge_nonprefixed_eme"):g.dL?uH("47"):g.op&&N.M4("html5_enable_safari_fairplay")?!1:!0:!1}; +Gw=function(N){Qr.call(this,N,!1,!0);this.isCounterfactual=this.B=this.isVisible=this.isInitialized=this.shouldShowOverflowButton=this.shouldHideDismissButton=!1;this.C=!0;this.overflowButton=new g.e({W:"button",fq:["ytp-featured-product-overflow-icon","ytp-button"],V:{"aria-haspopup":"true"}});this.overflowButton.hide();g.l(this,this.overflowButton);this.badge.element.classList.add("ytp-suggested-action");this.thumbnailImage=new g.e({W:"img",K:"ytp-suggested-action-badge-img",V:{src:"{{url}}"}}); +this.thumbnailImage.hide();g.l(this,this.thumbnailImage);this.thumbnailIcon=new g.e({W:"div",K:"ytp-suggested-action-badge-icon"});this.thumbnailIcon.hide();g.l(this,this.thumbnailIcon);this.banner=new g.e({W:"a",K:"ytp-suggested-action-container",X:[this.thumbnailImage,this.thumbnailIcon,{W:"div",K:"ytp-suggested-action-details",X:[{W:"text",K:"ytp-suggested-action-title",Wp:"{{title}}"},{W:"text",K:"ytp-suggested-action-subtitle",Wp:"{{subtitle}}"},{W:"text",K:"ytp-suggested-action-metadata-text", +Wp:"{{metadata}}"}]},this.dismissButton,this.overflowButton]});g.l(this,this.banner);this.banner.Jl(this.L.element);this.G(this.J,"videodatachange",this.onVideoDataChange);this.G(this.J,g.dm("suggested_action_view_model"),this.L9o);this.G(this.J,g.WX("suggested_action_view_model"),this.h1o);this.G(this.overflowButton.element,"click",this.gM);this.G(N,"featuredproductdismissed",this.KP);this.J.createServerVe(this.banner.element,this.banner,!0)}; +q6=function(N){return dy(N.Rx.get(),"html5_ssap_pass_transition_reason")}; +o5=function(N,H,c){this.T=N;this.L=!1;H=this.T.Uw(H);this.B=new R5(N,H);this.T.free(H.byteOffset);this.U=this.T.Uw(c)}; +J9=function(N,H,c,t,h,O,F,M,f,d,W,z){t=t===void 0?"":t;this.type=N;this.mR=H;this.range=c;this.source=t;this.hd=W;this.clipId=z===void 0?"":z;this.Z=[];this.Y="";this.Y_=-1;this.TW=0;this.Y=t;this.Y_=h>=0?h:-1;this.startTime=O||0;this.duration=F||0;this.T=M||0;this.B=f>=0?f:this.range?this.range.length:NaN;this.L=this.range?this.T+this.B===this.range.length:d===void 0?!!this.B:d;this.range?(this.U=this.startTime+this.duration*this.T/this.range.length,this.C=this.duration*this.B/this.range.length, +this.S=this.U+this.C):NUh(this)}; +B3=function(N,H,c){H instanceof w7?(N.U=H,kBe(N.U,N.C)):(c||(H=ks(H,H9l)),N.U=new w7(H,N.C))}; +bO=function(N,H,c){c=c===void 0?!1:c;g.L.call(this);this.mediaElement=N;this.Zf=H;this.isView=c;this.U=0;this.S=!1;this.Y=!0;this.TW=0;this.callback=null;this.Z=!1;this.Zf||(this.YP=this.mediaElement.N4());this.events=new g.Ww(this);g.l(this,this.events);this.L=new At(this.Zf?window.URL.createObjectURL(this.Zf):this.YP.webkitMediaSourceURL,!0);N=this.Zf||this.YP;I5(this.events,N,["sourceopen","webkitsourceopen"],this.hAT);I5(this.events,N,["sourceclose","webkitsourceclose"],this.UPp);this.C={updateend:this.IQ}}; +EI=function(N,H){var c=H.Lo,t=H.U0.aY,h=H.U0.j3,O=H.U0.UD,F,M=-1;N.Yu=0;N.qR=573;for(F=0;F>1;F>=1;F--)N7(N,c,F);f=O;do F=N.Zs[1],N.Zs[1]=N.Zs[N.Yu--],N7(N,c,1),t=N.Zs[1],N.Zs[--N.qR]=F,N.Zs[--N.qR]=t,c[f*2]=c[F*2]+c[t*2],N.depth[f]=(N.depth[F]>=N.depth[t]?N.depth[F]:N.depth[t])+1,c[F*2+1]=c[t*2+1]=f,N.Zs[1]=f++,N7(N,c,1);while(N.Yu>= +2);N.Zs[--N.qR]=N.Zs[1];F=H.Lo;f=H.g5;t=H.U0.aY;h=H.U0.j3;O=H.U0.Kj;var d=H.U0.u_,W=H.U0.AFp,z,E=0;for(z=0;z<=15;z++)N.LB[z]=0;F[N.Zs[N.qR]*2+1]=0;for(H=N.qR+1;H<573;H++){var x=N.Zs[H];z=F[F[x*2+1]*2+1]+1;z>W&&(z=W,E++);F[x*2+1]=z;if(!(x>f)){N.LB[z]++;var q=0;x>=d&&(q=O[x-d]);var r=F[x*2];N.M3+=r*(z+q);h&&(N.vn+=r*(t[x*2+1]+q))}}if(E!==0){do{for(z=W-1;N.LB[z]===0;)z--;N.LB[z]--;N.LB[z+1]+=2;N.LB[W]--;E-=2}while(E>0);for(z=W;z!==0;z--)for(x=N.LB[z];x!==0;)t=N.Zs[--H],t>f||(F[t*2+1]!==z&&(N.M3+=(z- +F[t*2+1])*F[t*2],F[t*2+1]=z),x--)}Lql(c,M,N.LB)}; +g.HD=function(N){g.e.call(this,{W:"button",fq:["ytp-large-play-button","ytp-button"],V:{"aria-label":"Play",title:"Play"},X:["{{largePlayButtonChildren}}"]});this.api=N;this.G(N,"videodatachange",this.Df);this.G(N,"basechromeinitialized",this.nAo);N=this.api.D();N.C&&mU&&(this.listen("click",this.Col,this),this.listen("touchstart",this.QeT,this));g.bi(N)&&g.bV(this.element,"ytp-large-play-button-red-bg");this.api.createClientVe(this.element,this,28572);this.Df()}; +i9w=function(N){N=g.K(N||[]);for(var H=N.next();!H.done;H=N.next()){var c=g.P(H.value,iZ);if(c===void 0||!SfR(c))break;H=void 0;c=(H=c.fulfillmentContent)==null?void 0:H.fulfilledLayout;if((H=g.P(c,of))&&kL(H))return!0}return!1}; +ve=function(N,H,c){return IE(N)?new LD(Math.max(H,N.PO.startTimeMs/1E3),Math.min(c,N.PO.endTimeMs/1E3)):new LD(H,c)}; +cD=function(N,H){for(;N;N=N.parentNode){var c=N.getElementsByTagName(H);if(c.length>0)return c[0]}return null}; +Zct=function(N,H,c){N.T.set(H,c);N.B.set(H,c);N.U&&N.U.set(H,c)}; +g.c3e=function(N){if(N.info.mR.Oa())return N.info.duration;N.U===-1&&(N.U=VM(N));return N.U||N.info.duration}; +tF=function(){return{W:"svg",V:{fill:"none",height:"36",viewBox:"0 0 36 36",width:"36"},X:[{W:"path",V:{d:"M 17 8.6 L 10.89 4.99 C 9.39 4.11 7.5 5.19 7.5 6.93 C 7.5 6.93 7.5 6.93 7.5 6.93 L 7.5 29.06 C 7.5 30.8 9.39 31.88 10.89 31 C 10.89 31 10.89 31 10.89 31 L 17 27.4 C 17 27.4 17 27.4 17 27.4 C 17 27.4 17 27.4 17 27.4 L 17 8.6 C 17 8.6 17 8.6 17 8.6 C 17 8.6 17 8.6 17 8.6 Z M 17 8.6 L 17 8.6 C 17 8.6 17 8.6 17 8.6 C 17 8.6 17 8.6 17 8.6 V 27.4 C 17 27.4 17 27.4 17 27.4 C 17 27.4 17 27.4 17 27.4 L 33 18 C 33 18 33 18 33 18 C 33 18 33 18 33 18 V 18 L 17 8.6 C 17 8.6 17 8.6 17 8.6 C 17 8.6 17 8.6 17 8.6 Z", +fill:"white"}}]}}; +Fy=function(N){var H;(H=N.HG)==null||H.a4(!N.J.isFullscreen()&&!N.J.isMinimized()&&N.J.getPresentingPlayerType()!==2&&N.J.D().showMiniplayerButton)}; +q5=function(N,H){return function(c){return RLs(hF(N),H.slotId,H.slotType,H.slotPhysicalPosition,H.Hp,H.slotEntryTrigger,H.slotFulfillmentTriggers,H.slotExpirationTriggers,c.layoutId,c.layoutType,c.Hp)}}; +hqe=function(){var N=g.GU();return N.G0(192)?N.G0(190):!(g.sf("web_watch_cinematics_disabled_by_default")||g.sf("web_watch_cinematics_preferred_reduced_motion_default_disabled")&&tWv())}; +F7f=function(N,H){var c,t,h,O;g.Y(function(F){if(F.T==1)return c=N.D(),t=g.py(c,g.JO(H)),t.T?g.a(F,t.T,3):(h=t.getValue(),F.rE(2));F.T!=2&&(h=F.B);O=h;return F.return(O9R(H,O))})}; +Rb=function(N){this.value=N}; +XfD=function(N){if(N.instreamVideoAdRenderer===void 0)return KA("AdPlacementSupportedRenderers without matching InstreamVideoAdRenderer"),!1;for(var H=g.K(N.le),c=H.next();!c.done;c=H.next()){c=c.value;if(c.Eg===void 0)return!1;if(c.O6===void 0)return KA("AdPlacementConfig for AdPlacementSupportedRenderers that matches an InstreamVideoAdRenderer is undefined"),!1;if(N.a8===void 0||c.BI===void 0||N.a8!==c.BI&&c.BI!=="AD_PLACEMENT_KIND_SELF_START")return!1;if(N.instreamVideoAdRenderer.elementId===void 0)return KA("InstreamVideoAdRenderer has no elementId", +void 0,void 0,{kind:N.a8,"matching APSR kind":c.BI}),!1}return!0}; +zp=function(N){Ys.call(this,N)}; +O_=function(N){this.state=N;this.plugins=[];this.L=void 0;this.U={};fX&&a5(this.state)}; +Ff=function(N,H){iu(H)?N.JZ(1):g.tC(H,4)&&!g.tC(H,2)&&N.pz();hC(H,4)<0&&!(hC(H,2)<0)&&N.cV()}; +$3=function(){return""}; +$Qw=function(N){switch(N){case "LAYOUT_TYPE_ENDCAP":return"adVideoEnd";case "LAYOUT_TYPE_SURVEY":return"surveyAd";case "LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT":return"surveyInterstitialAd";default:return"unknown"}}; +g.T2=function(N,H,c){c===void 0?delete N[H.name]:N[H.name]=c}; +jzL=function(N){return N&&N.match(TUh)?N:r1(N)}; +g.GC=function(N){switch(vw(N)){case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 304:return!0;default:return!1}}; +g.L0=function(N){g.L.call(this);this.Y=1;this.L=[];this.U=0;this.T=[];this.B={};this.C=!!N}; +pn=function(N,H){for(;H>127;)N.T.push(H&127|128),H>>>=7;N.T.push(H)}; +fJh=function(N,H,c,t){this.V4=N;this.layoutId=c;this.S=t;this.B=[];this.T=[];this.L=this.U=0;N=g.K(H);for(H=N.next();!H.done;H=N.next())switch(H=H.value,c=void 0,(c=H.adVideoOffset)==null?void 0:c.kind){case "AD_VIDEO_PROGRESS_KIND_PERCENT":MWv(H)?this.B.push(H):KA("Invalid AdVideoProgressPercentCommand");break;case "AD_VIDEO_PROGRESS_KIND_MILLISECONDS":Udl(H)?this.T.push(H):KA("Invalid AdVideoProgressMillisecondsCommand");break;default:KA("Unknown or invalid AdVideoProgressOffSet kind")}this.B.sort(function(h, +O){return h.adVideoOffset.percent-O.adVideoOffset.percent}); +this.T.sort(function(h,O){return Number(h.adVideoOffset.milliseconds)-Number(O.adVideoOffset.milliseconds)})}; +lO=function(N){return N.api.isFullscreen()||N.Kq&&N.api.VB()}; +e3t=function(N,H){TY(N,1,H.formatId,Mi,3);d8(N,2,H.hd);d8(N,3,H.sequenceNumber);TY(N,4,H.tP,Vh,1);d8(N,5,H.v7);d8(N,6,H.SB)}; +xG=function(N,H){this.Vx=H=H===void 0?!1:H;this.uach=this.locale=null;this.B=0;this.isFinal=!1;this.T=new j2;Number.isInteger(N)&&this.T.h7(N);H||(this.locale=document.documentElement.getAttribute("lang"));lb(this,new Ce)}; +jX=function(N,H){this.triggerType="TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED";this.triggerId=H||N(this.triggerType)}; +Vjs=function(N){if(N=N.colorInfo)if(N=N.transferCharacteristics)return dQL[N];return null}; +W7h=function(N,H,c){N.j1.A3("ADS_CLIENT_EVENT_TYPE_LAYOUT_SCHEDULED",H,c,void 0);N=g.K(N.B);for(var t=N.next();!t.done;t=N.next())t.value.BN(H,c)}; +HA=function(N,H){return Number(N.data[H])||0}; +zV=function(N,H){var c=c===void 0?!0:c;var t=g.YI("VALID_SESSION_TEMPDATA_DOMAINS",[]),h=g.dD(window.location.href);h&&t.push(h);h=g.dD(N);if(g.O7(t,h)||!h&&eD(N,"/"))if(t=document.createElement("a"),g.eV(t,N),N=t.href)if(N=fM(N),N=Qyh(N))if(c&&!H.csn&&(H.itct||H.ved)&&(H=Object.assign({csn:g.gi()},H)),O){var O=parseInt(O,10);isFinite(O)&&O>0&&zqv(N,H,O)}else zqv(N,H)}; +EzS=function(N){return dy(N,"html5_ssap_play_cached_preroll")}; +UD=function(N,H,c,t,h,O,F,M,f,d){H=CA(N.B.get(),c,H);var W={layoutId:H,layoutType:c,Hp:"core"},z=new Map;F&&z.set("impression",F);F=[new YC(N.T,h,"SLOT_TYPE_PLAYER_BYTES","LAYOUT_TYPE_MEDIA")];d&&F.push(new l8(N.T,d,["normal"]));return{layoutId:H,layoutType:c,S1:z,layoutExitNormalTriggers:F,layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],Hp:"core",clientMetadata:new xd([t,new Xe(O),new O4(h)]),z0:M(W),adLayoutLoggingData:f}}; +C0w=function(N,H){switch(H.ag){case "bool":return N.M4(H.f1);case "int":return N=R33(N,H.f1),GV(N);case "double":return R33(N,H.f1);case "string":return xQv(N,H.f1);case "int32_list":return q1h(N,H.f1);case "int64_list":return q1h(N,H.f1).map(function(c){return GV(c)}); +case "string_list":throw Error("String list flags are not supported in WPCC");default:throw Error("Unknown flag type");}}; +M7=function(){this.B=this.L=this.U=this.T=0}; +Umw=function(N){N.then(function(){},function(){})}; +fF=function(N,H,c){zb.call(this,N);this.U=H;this.T="f";this.B="z";E$(this,c)}; +g.QH=function(N,H,c){c?g.bV(N,H):g.nH(N,H)}; +Gj=function(N){return N.right-N.left}; +d_=function(N,H){N.Pd[N.pending++]=H}; +lJy=function(N){return{downloadedEndTime:-1,maxKnownEndTime:Math.round(N.T.index.I$()),averageByteRate:Math.round(N.T.info.H$)}}; +fT=function(N){return g.y(N,128)?-1:g.y(N,2)?0:g.y(N,2048)?3:g.y(N,64)?-1:g.y(N,1)&&!g.y(N,32)?3:g.y(N,8)?1:g.y(N,4)?2:-1}; +WD=function(N,H,c,t){sE.call(this,N,{W:"div",K:"ytp-ad-survey",X:[{W:"div",K:"ytp-ad-survey-questions"}]},"survey",H,c,t);this.questions=[];this.B=[];this.conditioningRules=[];this.T=0;this.S=this.Sa("ytp-ad-survey-questions");this.api.D().N("fix_survey_color_contrast_on_destop")&&this.Sa("ytp-ad-survey").classList.add("color-contrast-fix");this.api.D().N("web_enable_speedmaster")&&this.Sa("ytp-ad-survey").classList.add("relative-positioning-survey");this.hide()}; +z_=function(N,H){return typeof H==="string"?N.getElementById(H):H}; +xw=function(N,H){if(N.timelyActions){N=g.K(N.timelyActions);for(var c=N.next();!c.done;c=N.next())if(c=c.value,c.cueRangeId===H)return c}}; +vL=function(N){this.value=N}; +r3L=function(N,H,c){var t={YG:N.YG,xe:function(f,d){N.wE.u4(f,d)}, +MF:N.policy.EB,WB:N.policy.L};N.YG.B.Y&&(t.EG=(N.videoTrack.mR.info.OF||0)+(N.audioTrack.mR.info.OF||0));N.policy.a9&&(t.ul=N.audioTrack.mR.index.g$(),t.MF=!1);var h=aSZ(H,N.policy,N.U)?2:1;h!==N.Bp&&(N.Bp=h,K7f(N));c=gzZ(N,c);if(N.policy.Bp&&N.policy.L&&c.o5){for(var O=h="",F=g.K(c.o5),M=F.next();!M.done;M=F.next())M=M.value,N.videoData.sabrContextUpdates.has(M)||N.policy.Bp&&c.lT&&c.lT.type===M?h+="_"+M:O+="_"+M;N.loader.Lq("sabrbldrqs",{ctxts:h,misctxts:O})}!H.setData(c,N.policy,N.U)&&N.policy.Bp&& +N.loader.handleError("player.exception",{reason:"buildsabrrequestdatafailed"},1);t=new z2(N.policy,H,N.GW,N.U,N,t,N.loader.vA());E_(N.timing);N.policy.C&&N.loader.Lq("sabrcrq",{rn:t.DD(),probe:H.eC()});return t}; +x3=function(){}; +G3=function(){cn.apply(this,arguments)}; +q7=function(N,H,c,t,h,O){O=O===void 0?!1:O;N.Cq.dJ(H,c/H);N.Y=(0,g.Lh)();h||N.TW.dJ(1,H-t);O||(N.S=0);N.Us>-1&&(0,g.Lh)()-N.Us>3E4&&(mQD(mD(N)),N.Us=(0,g.Lh)(),N.Bp=!0)}; +CF=function(N){this.SY=N;this.B=!1;this.T=[]}; +cGZ=function(N){var H,c;(c=(H=window).onerror)==null||c.call(H,N.message,"",0,0,N)}; +Vu=function(N,H){if(N.Y8()===N.yF.length-1)N.Bm++,lm(N.ZM,N.layout,"normal"),N.fG()||MS(N.YO.get());else a:{if(N.Y8()===-1&&(N.callback.AF(N.slot,N.layout),H>0)){KA("Invalid index for playLayoutAtIndexOrExit when no ad has played yet.",N.slot,N.layout,{indexToPlay:H,layoutId:N.layout.layoutId});break a}N.Bm=H;H=N.xl();if(N.Y8()>0&&!N.fG()){var c=N.YO.get();c.B=!1;var t={};c.T&&c.videoId&&(t.cttAuthInfo={token:c.T,videoId:c.videoId});Zy("ad_to_ad",t)}c=g.P(H.dE().renderingContent,$o);if(c==null?0: +c.isEligibleToBeSkippedWhenNoEngagementOnLayoutId){var h;c=!((h=N.mx.get().jeo.get(c.isEligibleToBeSkippedWhenNoEngagementOnLayoutId))!=null&&h)}else c=!1;c?Vu(N,N.Y8()+1):N.h4(H)}}; +oz=function(N){iV(N);N=cq(N);tK(N)?N=String(N):(Oz(N),N=gle());return N}; +pIy=function(N,H,c,t,h,O,F){var M=H.config.adPlacementConfig,f=wId(M),d=f.l0,W=f.Ik;f=(H.renderer.linearAdSequenceRenderer||{}).linearAds;if(f==null||!f.length)throw new TypeError("Expected linear ads");var z=[],E={us:d,PQ:0,r9R:z};f=f.map(function(q){return DQZ(N,q,E,c,t,M,h,W,F)}).map(function(q,r){r=new Bq(r,z); +return q(r)}); +var x=f.map(function(q){return q.FN}); +return{xY:TMl(c,N,d,x,M,Qzd(H),t,W,O),NJl:f.map(function(q){return q.kSS})}}; +So=function(N){this.value=N}; +b0=function(){this.B=-1;var N=g.YI("LOCATION_PLAYABILITY_TOKEN");g.YI("INNERTUBE_CLIENT_NAME")==="TVHTML5"&&(this.localStorage=lZ(this))&&(N=this.localStorage.get("yt-location-playability-token"));N&&(this.locationPlayabilityToken=N,this.T=void 0)}; +KF=function(N,H,c){var t=t===void 0?AQ:t;var h=u2L(N,H);return h?new g.EL(function(O,F){var M,f,d,W,z;return g.Y(function(E){switch(E.T){case 1:return g.a(E,h,2);case 2:M=E.B;f=M.S(H,c,t);if(!f){F(new g.ti("Error: Failed to build request for command.",H));E.rE(0);break}E9(f.input);W=((d=f.nP)==null?void 0:d.mode)==="cors"?"cors":void 0;if(N.T.wO){z=J3S(N,f.config,W);E.rE(4);break}return g.a(E,oiw(N,f.config,W),5);case 5:z=E.B;case 4:O(kDf(N,f,z)),g.Z3(E)}})}):Kw(new g.ti("Error: No request builder found for command.", +H))}; +pV=function(){var N=g.di,H=[],c=null;do{var t=N;if(WV(t)){var h=t.location.href;c=t.document&&t.document.referrer||null}else h=c,c=null;H.push(new vRv(h||""));try{N=t.parent}catch(O){N=null}}while(N&&t!==N);t=0;for(N=H.length-1;t<=N;++t)H[t].depth=N-t;t=g.di;if(t.location&&t.location.ancestorOrigins&&t.location.ancestorOrigins.length===H.length-1)for(N=1;N=O)S1Z(N,f,x,F,q,H.join(),h),M=q;w.rE(2);break;case 4:return w.return(Promise.reject(M))}})}; +g_=function(N){return{itagDenylist:cM(N,1)}}; +r_=function(){return dG()?WW.platform==="macOS":zL("Macintosh")}; +NM=function(){}; +n6=function(N,H){g.TW.call(this,g.jC({role:"menuitemcheckbox","aria-checked":"false"}),H,N,{W:"div",K:"ytp-menuitem-toggle-checkbox"});this.checked=!1;this.enabled=!0;this.listen("click",this.onClick)}; +UQf=function(N){N=g.P(N==null?void 0:N.additionalPlayerOverlay,P0s);if(!N)return!1;var H=N.slidingMessages;return N.title&&H&&H.length!==0?!0:!1}; +w_=function(N){N=ms(N.F2);return!!N&&N.loaded}; +vI3=function(N,H,c){var t,h,O;return g.Y(function(F){switch(F.T){case 1:if(!g.sf("start_client_gcf")){F.rE(0);break}c&&sI(N,c);N.IE(H);t=SO();if(!t){F.rE(3);break}if(c){F.rE(4);break}return g.a(F,XIL(t),5);case 5:h=F.B,c=(O=h)==null?void 0:O.config;case 4:return g.a(F,C7Z(c,H,t),3);case 3:if(c)for(var M=c,f=g.K(N.Y.T),d=f.next();!d.done;d=f.next())d=d.value,d(M);g.Z3(F)}})}; +DFw=function(N){var H;g.Y(function(c){if(!N.yL)throw H=g.P2("clearSWHealthLogsDb"),H;return c.return(VWw(N.yL).catch(function(t){N.handleError(t)}))})}; +g.DM=function(N){this.U=N.JJf||null;this.L=N.Qk||!1;this.B=void 0}; +QQ=function(){g.xo.call(this);var N=this;this.T={};this.addOnDisposeCallback(function(){for(var H=g.K(Object.keys(N.T)),c=H.next();!c.done;c=H.next())delete N.T[c.value]})}; +pF=function(N,H){return N===void 0||N==="undefined"?!0:N===H}; +m7=function(N){var H=N.api.D();N.f4.WN("pot_ist");N.B||L7S(N);N.N("html5_bandaid_attach_content_po_token")||(N.N("html5_generate_session_po_token")&&(N2(N),Z9D(N)),H=g.Mx(H.experiments,"html5_session_po_token_interval_time_ms")||0,H>0&&(N.Z=g.Re(function(){N2(N)},H)),N.C=!0)}; +JY=function(N,H,c){H==="data"?N.B.push(c):H==="metadata"?N.U.push(c):H==="status"?N.S.push(c):H==="end"?N.L.push(c):H==="error"&&N.T.push(c)}; +Er=function(N){if(/opus/.test(N)&&g.Pc&&!uH("38")&&!g.Iu())return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(N);if(window.ManagedMediaSource&&window.ManagedMediaSource.isTypeSupported)return window.ManagedMediaSource.isTypeSupported(N);if(/webm/.test(N)&&!Y1h())return!1;N==='audio/mp4; codecs="mp4a.40.2"'&&(N='video/mp4; codecs="avc1.4d401f"');return!!xx(N)}; +A3R=function(N,H){N.languages=g.fn(H,N.T,N);N.Ad(g.jm(H,N.T))}; +CQl=function(N){switch(typeof N){case "boolean":return aJv||(aJv=[0,void 0,!0]);case "number":return N>0?void 0:N===0?eqd||(eqd=[0,void 0]):[-N,void 0];case "string":return[0,N];case "object":return N}}; +szD=function(N){var H,c,t,h,O,F,M,f,d;return g.Y(function(W){switch(W.T){case 1:if(!vzw)throw Error("DecompressionStream is not supported");H=uZ.fl();c=new DecompressionStream("gzip");t=c.writable.getWriter();t.write(N);t.close();h=c.readable.getReader();O=new eB([]);case 2:return g.a(W,h.read(),5);case 5:F=W.B;M=F.value;if(f=F.done){W.rE(4);break}O.append(M);W.rE(2);break;case 4:return d=fD(O),uZ.rD("gznb",H,Math.ceil(d.byteLength/16)),W.return(d)}})}; +on=function(N){if(N.length<16)Oz(Number(N));else if(CB())N=BigInt(N),k9=Number(N&BigInt(4294967295))>>>0,In=Number(N>>BigInt(32)&BigInt(4294967295));else{var H=+(N[0]==="-");In=k9=0;for(var c=N.length,t=0+H,h=(c-H)%6+H;h<=c;t=h,h+=6)t=Number(N.slice(t,h)),In*=1E6,k9=k9*1E6+t,k9>=4294967296&&(In+=Math.trunc(k9/4294967296),In>>>=0,k9>>>=0);H&&(H=g.K(Ge(k9,In)),N=H.next().value,H=H.next().value,k9=N,In=H)}}; +JF=function(N,H){N.S!=H&&(N.S=H,N.C&&N.C())}; +nF=function(N,H,c,t){c=c===void 0?.5:c;t=t===void 0?0:t;this.resolution=H;this.B=0;this.L=!1;this.P0=!0;this.T=Math.round(N*this.resolution);this.values=Array(this.T);for(N=0;N=0||xD(N,0,"gad_source",N.search(g1))>=0}; +pJ3=function(N,H){for(var c in N)if(!H.call(void 0,N[c],c,N))return!1;return!0}; +Odd=function(N,H,c,t,h){var O,F,M,f,d;return g.Y(function(W){if(W.T==1)return O=Qiy(lKt(uZ3(new eX,N.requestKey),H),c),F=N.T(),g.a(W,t.kU("c",N.requestKey,h,N.client.create(O,F)),2);M=W.B;f=qa(vD(M,2));if(f.length)return W.return(PB(t,function(){for(var z=new Uint8Array(f.length),E=0;E0&&(c=((0,g.Lh)()-N.loader.ys)/1E3,H=Math.min(H,N.policy.C4+N.policy.Mz*c));H=N.loader.getCurrentTime()+H;return N.policy.j6&&(c=Kmd(N.loader)+N.policy.j6,c=0&&(H in N.T||(N.T[H]=new Zj),N.T[H].pA(c,t))}; +Sd=function(N){var H=(0,g.Lh)();N.data.forEach(function(c){c.expire0)){M.rE(5);break}h.Wg=1E3*Math.pow(2,t-1)+Math.random()*1E3;return g.a(M,new Promise(function(f){return function(d){g.ii(0,function(){d(void 0)},f.Wg)}}(h)),5); +case 5:return g.Xy(M,7),g.a(M,WA(N,H),9);case 9:return O=M.B,M.return(Zat(O));case 7:c=F=g.Lq(M),F instanceof Error&&g.aS(F);case 8:t++;h={Wg:void 0};M.rE(2);break;case 4:throw c;}})}; +unh=function(N){N.isChecked=N.isChecked;N.Sa("ytp-autonav-toggle-button").setAttribute("aria-checked",String(N.isChecked));var H=N.isChecked?"Autoplay is on":"Autoplay is off";N.J.D().N("player_tooltip_data_title_killswitch")?N.update({title:H,label:H}):N.update({"data-tooltip-title":H,label:H});N.J.oo()}; +$5=function(N,H){N.T.has(H.KH())?KA("Trying to register an existing AdErrorInfoSupplier."):N.T.set(H.KH(),H)}; +JY3=function(N,H,c,t,h){c=c?"SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM":"SLOT_TYPE_PLAYBACK_TRACKING";var O=lS(N.B.get(),c);H=new LH(N.T,H);var F=[new gX(N.T,O)];N=[new rX(N.T,O)];return{slotId:O,slotType:c,slotPhysicalPosition:1,slotEntryTrigger:H,slotFulfillmentTriggers:F,slotExpirationTriggers:N,Hp:"core",clientMetadata:new xd([new pZ(h({slotId:O,slotType:c,slotPhysicalPosition:1,Hp:"core",slotEntryTrigger:H,slotFulfillmentTriggers:F,slotExpirationTriggers:N}))]),adSlotLoggingData:t}}; +n1L=function(N,H){if(N.T==0)if(N.L){var c=N.L;if(c.B){for(var t=0,h=null,O=null,F=c.B;F&&(F.U||(t++,F.T==N&&(h=F),!(h&&t>1)));F=F.next)h||(O=F);h&&(c.T==0&&t==1?n1L(c,H):(O?(t=O,t.next==c.U&&(c.U=t),t.next=t.next.next):SlZ(c),v8L(c,h,3,H)))}N.L=null}else sh(N,3,H)}; +PxD=function(){if(!dA.instance){var N=g.NA("yt.networkStatusManager.instance")||new dA;g.Hw("yt.networkStatusManager.instance",N);dA.instance=N}return dA.instance}; +Tl=function(N,H){for(var c;;){if(N.sF<262){au(N);if(N.sF<262&&H===0)return 1;if(N.sF===0)break}c=0;N.sF>=3&&(N.ac=(N.ac<=3)if(c=eC(N,N.cO-N.cD,N.oW-3),N.sF-=N.oW,N.oW<=N.Lf&&N.sF>=3){N.oW--;do N.cO++,N.ac=(N.ac<=H.range.start+H.T&&N.range.start+N.T+N.B<=H.range.start+H.T+H.B:N.Y_===H.Y_&&N.T>=H.T&&(N.T+N.B<=H.T+H.B||H.L)}; +m0=function(N){V2.call(this);this.U=N}; +XKy=function(N,H){var c=NaN;N=g.K(N.array);for(var t=N.next();!t.done;t=N.next())if(t=t.value,t.contains(H)&&(isNaN(c)||t.endH&&(isNaN(c)||t.start0){if(H<604800){var F,M,f,d;c=(F=N.T)==null?void 0:(M=F.bannerData)==null?void 0:(f=M.itemData)==null?void 0:(d=f.exclusivesData)==null?void 0:d.exclusiveOfferCountdownText;if(c!==void 0)for(F=Date.now(),M=g.K(c),f=M.next();!f.done;f=M.next())if(f=f.value,f!==void 0&&f.text!==void 0&&(d=Number(f.textDisplayStartTimestampMs), +!isNaN(d)&&F>=d)){f.insertCountdown?(H=f.text.replace(/\$0/,String(WG({seconds:H}))),N.Y.setContent(H)):N.Y.setContent(f.text);N.Y.show();break}}var W,z,E,x;N.S.update({exclusive:(W=N.T)==null?void 0:(z=W.bannerData)==null?void 0:(E=z.itemData)==null?void 0:(x=E.exclusivesData)==null?void 0:x.exclusiveOfferLabelText});N.S.show();mo(N);var q;(q=N.n4)==null||q.start()}else v2(N)}; +Um=function(N,H){N=FW(N,H);if(H=N.layout!=null)a:switch(N.T){case "rendering":case "rendering_stop_requested":H=!0;break a;default:H=!1}return H}; +YiR=function(N){var H=T8(N,!0);return gT(zl(N,H))}; +ffh=function(N){try{return(new Blob(N.split(""))).size}catch(H){return Uf(H),null}}; +Zdt=function(N,H,c){Y_.call(this,"ad-message",N,void 0,H,c)}; +g.tv=function(N,H,c){g.tv=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?kYR:Zhs;return g.tv.apply(null,arguments)}; +Eg=function(N){return N.tagName=="A"&&N.hasAttribute("href")||N.tagName=="INPUT"||N.tagName=="TEXTAREA"||N.tagName=="SELECT"||N.tagName=="BUTTON"?!N.disabled&&(!N.hasAttribute("tabindex")||bHS(N)):N.hasAttribute("tabindex")&&bHS(N)}; +Hs=function(N){g.L.call(this);this.T=N;this.AY=!0;this.tF=new Map}; +BuR=function(N){return N.linearAd!=null&&N.adVideoStart!=null}; +AYw=function(N){var H;return(((H=x5(N))==null?void 0:H.progressCommands)||[]).findIndex(function(c){return!!g.P(c==null?void 0:c.command,Ylv)})!==-1}; +Bf=function(N,H,c,t){this.element=N;this.T=new wu(0,0,0,0);this.L=null;this.Y=new wu(0,0,0,0);this.B=H;this.Ce=c;this.NT=t;this.ox=!1;this.timestamp=-1;this.TW=new tz(H.U,this.element,this.T,new wu(0,0,0,0),0,0,UW(),0);this.S=void 0}; +MK=function(N){g.d9.call(this);var H=this;this.S=this.B=0;this.YN=N!=null?N:{jP:function(h,O){return setTimeout(h,O)}, +k8:function(h){clearTimeout(h)}}; +var c,t;this.T=(t=(c=window.navigator)==null?void 0:c.onLine)!=null?t:!0;this.L=function(){return g.Y(function(h){return g.a(h,yP(H),0)})}; +window.addEventListener("offline",this.L);window.addEventListener("online",this.L);this.S||this.Ec()}; +aaw=function(){return{W:"svg",V:{fill:"none",height:"36",viewBox:"0 0 36 36",width:"36"},X:[{W:"path",V:{d:"M 18 6 L 9 6 C 8.20 6 7.44 6.31 6.87 6.87 C 6.31 7.44 6 8.20 6 9 L 6 27 C 6 27.79 6.31 28.55 6.87 29.12 C 7.44 29.68 8.20 30 9 30 L 18 30 C 18 30 18 30 18 30 C 18 30 18 30 18 30 L 18 6 C 18 30 18 30 18 30 C 18 30 18 30 18 30 Z M 27 6 L 18 6 C 18 6 18 6 18 6 C 18 6 18 6 18 6 V 30 C 18 30 18 30 18 30 C 18 30 18 30 18 30 L 27 30 C 27.79 30 28.55 29.68 29.12 29.12 C 29.68 28.55 30 27.79 30 27 V 9 L 30 9 C 30 8.20 29.68 7.44 29.12 6.87 C 28.55 6.31 27.79 6 27 6 Z", +fill:"white"}}]}}; +eod=function(N){var H;return!((H=N.yR)==null||!H.I4)}; +sS=function(N,H){g.L.call(this);this.Rx=N;this.T=H;this.eventCount=0;this.B=v1D()()}; +R_=function(N){this.hF=oF(N)}; +H4=function(N,H){for(var c=N.search(g1),t=0,h,O=[];(h=xD(N,t,H,c))>=0;)O.push(N.substring(t,h)),t=Math.min(N.indexOf("&",h)+1||c,c);O.push(N.slice(t));return O.join("").replace(sBw,"$1")}; +qg=function(){wy.apply(this,arguments);this.requestHeaders={}}; +Kh=function(N){if(N instanceof Q$)return N.T;throw Error("");}; +HI=function(N,H,c){c=c===void 0?{}:c;Cp.call(this,N,H,"",void 0,void 0,c.JJ||0);this.index=new lE(c)}; +Kp=function(N,H,c,t,h,O,F,M,f,d){Xf.call(this,N,H,c,t,h,O,F,f);this.xb=M;this.ea=d}; +IVv=function(N,H,c){xW(N);var t=N.hF,h=t[A8]|0;if(H==null)return vW(t,h,3),N;if(!Array.isArray(H))throw zX();var O=H===qn?7:H[A8]|0,F=O,M=CM(O),f=M||Object.isFrozen(H);M||(O=0);f||(H=KM(H),F=0,O=gp(O,h),f=!1);O|=5;M=4&O?512&O?512:1024&O?1024:0:void 0;M=M!=null?M:0;for(var d=0;dN.L)throw Error();N.T=H;return c}; +Lp=function(N){this.value=N}; +g.lL=function(N){g.e.call(this,N);this.w_=new g.xo;g.l(this,this.w_)}; +iS=function(N){g.L.call(this);this.T=N;this.tF=new Map}; +c$=function(N,H,c,t){fe.call(this,H,t);this.C=N;this.Z=c}; +C$=function(){this.T=new Map}; +jjw=function(N){if(!$lR)return m6(N);N=Tbf.test(N)?N.replace(Tbf,EXe):N;N=atob(N);for(var H=new Uint8Array(N.length),c=0;c0&&(H.push(c),H.push(new zx(d)),t=[]);H.push(new hG(W));return{C2:{layoutId:N.layoutId,layoutType:N.layoutType,S1:N.S1,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],Hp:N.Hp,clientMetadata:new xd(H),z0:N.z0, +adLayoutLoggingData:N.adLayoutLoggingData},x3:t,N0:N.layoutExitMuteTriggers,MR:N.layoutExitUserInputSubmittedTriggers,A6:N.layoutExitUserCancelledTriggers,z7:N.z7}}; +EF3=function(N,H){this.location=N;this.T=H}; +RI=function(N,H,c){var t=t===void 0?800:t;var h=h===void 0?600:h;var O=document.location.protocol;N=wwD(O+"//"+N+"/signin?context=popup","feature",H,"next",O+"//"+location.hostname+"/post_login");A2t(N,c,t,h)}; +xlZ=function(N,H,c){var t=H.formats;if(t){for(var h=[],O=g.K(t),F=O.next();!F.done;F=O.next())F=F.value,h.push(F.itag+"/"+F.width+"x"+F.height);N.yU=h.join(",");h=[];t=g.K(t);for(O=t.next();!O.done;O=t.next()){F=O.value;O={itag:F.itag,type:F.mimeType,quality:F.quality};var M=F.url;M&&(O.url=M);F=ng(33,F);M=F.JK;var f=F.Nh,d=F.s;F.tD&&(O.url=M,O.sp=f,O.s=d);h.push(g.Hf(O))}N.Jg=h.join(",")}if(O=H.hlsFormats){h={};if(c&&(c=c.audioPairingConfig)&&c.pairs)for(c=g.K(c.pairs),t=c.next();!t.done;t=c.next())t= +t.value,F=t.videoItag,h[F]||(h[F]=[]),h[F].push(t.audioItag);c={};t=g.K(O);for(F=t.next();!F.done;F=t.next())F=F.value,c[F.itag]=F.bitrate;t=[];O=g.K(O);for(F=O.next();!F.done;F=O.next()){F=F.value;M={itag:F.itag,type:F.mimeType,url:F.url,bitrate:F.bitrate,width:F.width,height:F.height,fps:F.fps};if(f=F.audioTrack)if(d=f.displayName)M.name=d,M.audio_track_id=f.id,f.audioIsDefault&&(M.is_default="1");if(F.drmFamilies){f=[];d=g.K(F.drmFamilies);for(var W=d.next();!W.done;W=d.next())f.push(Qh[W.value]); +M.drm_families=f.join(",")}(f=h[F.itag])&&f.length&&(M.audio_itag=f.join(","),(f=c[f[0]])&&(M.bitrate+=f));(f=Vjs(F))&&(M.eotf=f);F.audioChannels&&(M.audio_channels=F.audioChannels);t.push(g.Hf(M))}N.hlsFormats=t.join(",")}if((c=H.licenseInfos)&&c.length>0){h={};c=g.K(c);for(t=c.next();!t.done;t=c.next())O=t.value,t=O.drmFamily,O=O.url,t&&O&&(h[Qh[t]]=O);N.YH=h}if(h=H.drmParams)N.drmParams=h;if(h=H.dashManifestUrl)N.WG=g.Of(h,{cpn:N.clientPlaybackNonce});if(h=H.hlsManifestUrl)N.hlsvp=h;if(h=H.probeUrl)N.probeUrl= +XJ(g.Of(h,{cpn:N.clientPlaybackNonce}));if(H=H.serverAbrStreamingUrl)N.n0=new g.Ft(H,!0)}; +Kce=function(N,H,c,t){H.durationMs=c;H.m9=t;t={VF:oI(c,!0),Km:c,target:null};iNw(N,H,t);Q3(N,H)&&N.app.x_().getCurrentTime()*1E3>c&&(H=wLh(N,H)/1E3,c=N.app.x_().getPlayerState(),av(N,H,{},c,"_update"))}; +wA=function(N,H){if(H===void 0)for(var c=xjR(),t=0;t0&&(h.T=Math.min(h.T+F,10),h.B=O);h.T>0?(h.T--,h=!0):h=!1;if(h)typeof t==="function"&&(t=t()),console.log("plyr."+H,t);else{var M;t=((M=nFD.get(H))!=null?M:0)+1;nFD.set(H,t);t%100===1&&console.warn("plyr","plyr."+H+" is chatty, dropping logs.")}}}; +io=function(N,H,c,t){(t===void 0?0:t)&&!H.Kq&&(SF()||(t=H.q4)&&!t.iK(c.info)&&N.wE.WR(),H.Kq=!0);H.mR!==c&&(H.mR=c)}; +xyl=function(N,H,c){c=N.T.Uw(c);var t=N.B;t.T.exports.AES128CTRCipher_setCounter(t.cipher,c.byteOffset);N.T.free(c.byteOffset);H=N.T.Uw(H);N.B.encrypt(H);return H}; +g.ZF=function(N,H,c){P4Z(N,H,c===void 0?null:c)}; +g.tU=function(N,H,c,t,h){h=h===void 0?!1:h;c&&zV(N,c);c=g.G6(N);var O=g.oA(c);N!=O&&Uf(Error("Unsafe window.open URL: "+N));N=O;H=H||cj(N).toString(36);try{if(h)return h=N,h=Ox3(h),E9(h),g.JH(window,h,H,"attributionsrc")}catch(F){g.PQ(F)}E9(N);return g.JH(window,c,H,t)}; +hU=function(){}; +Ob=function(N,H){H=H?H.F5:!1;N.U||(N.U=ng(52,N.B,H));return N.U}; +MZ=function(N){this.hF=oF(N)}; +FM=function(){u6.apply(this,arguments)}; +$B=function(N){yh.call(this,"measurable_impression",N)}; +Pd=function(N,H,c){g.L.call(this);this.J=N;this.ea=H;this.Rx=c;this.listeners=[];this.CS=[];this.T=function(){KA("Called 'doUnlockPreroll' before it's initialized.")}; +H=new Qz(this);c=new g.Ww(this);g.l(this,c);g.l(this,H);H.G(N,"progresssync",this.glg);H.G(N,"presentingplayerstatechange",this.Tks);H.G(N,"fullscreentoggled",this.onFullscreenToggled);H.G(N,"onVolumeChange",this.onVolumeChange);H.G(N,"minimized",this.pC);H.G(N,"overlayvisibilitychange",this.Fy);H.G(N,"shortsadswipe",this.QQ);H.G(N,"resize",this.Mc);c.G(N,g.dm("appad"),this.aR)}; +baD=function(N,H){if(!N.uo()){N.Yc({onInitData:1});if(N.j.N("html5_eme_loader_sync")&&N.videoData.L&&N.videoData.L.T){var c=N.C.get(H.initData);H=N.Y.get(H.initData);if(!c||!H)return;H=c;c=H.initData;N.Y.remove(c);N.C.remove(c)}N.Yc({initd:H.initData.length,ct:H.contentType});if(N.T.flavor==="widevine")if(N.Ix&&!N.videoData.isLivePlayback)T1(N);else{if(!(N.j.N("vp9_drm_live")&&N.videoData.isLivePlayback&&H.RW)){N.Ix=!0;c=H.cryptoPeriodIndex;var t=H.T;xVS(H);H.RW||(t&&H.T!==t?N.publish("ctmp","cpsmm", +{emsg:t,pssh:H.T}):c&&H.cryptoPeriodIndex!==c&&N.publish("ctmp","cpimm",{emsg:c,pssh:H.cryptoPeriodIndex}));N.publish("widevine_set_need_key_info",H)}}else N.qS(H)}}; +g.Ull=function(N,H){if(N.suggestion!==H){N.suggestion=H;var c=N.api.D(),t="hqdefault.jpg";H.Ds("sddefault.jpg")&&(t="sddefault.jpg");g.jE(N,H,t);g.PX(c)&&!N.api.N("web_player_log_click_before_generating_ve_conversion_params")&&(c=H.ZD(),t={},g.je(N.api,"addEmbedsConversionTrackingParams",[t]),c=g.Of(c,t),N.updateValue("url",c));(H=(H=H.sessionData)&&H.itct)&&N.api.setTrackingParams(N.element,H)}}; +Xth=function(N){if(N=N.G0("html5_web_po_experiment_ids"))if(N=N.replace(/\[ *(.*?) *\]/,"$1"))return N.split(",").map(Number);return[]}; +wT=function(N,H,c){var t=this;this.network=N;this.options=H;this.B=c;this.T=null;if(H.FVa){var h=new g.Ps;this.T=h.promise;g.di.ytAtRC&&Un(function(){var O,F;return g.Y(function(M){if(M.T==1){if(!g.di.ytAtRC)return M.return();O=ML(null);return g.a(M,WA(t,O),2)}F=M.B;g.di.ytAtRC&&g.di.ytAtRC(JSON.stringify(F));g.Z3(M)})},2); +Vgf().then(function(O){var F,M,f,d;return g.Y(function(W){if(W.T==1)return O.bindInnertubeChallengeFetcher(function(z){return WA(t,ML(z))}),g.a(W,$J(),2); +F=W.B;M=O.getLatestChallengeResponse();f=M.challenge;if(!f)throw Error("BGE_MACIL");d={challenge:f,yl:mh(f),BU:F,bgChallenge:new q2};h.resolve(d);O.registerChallengeFetchedCallback(function(z){z=z.challenge;if(!z)throw Error("BGE_MACR");z={challenge:z,yl:mh(z),BU:F,bgChallenge:new q2};t.T=Promise.resolve(z)}); +g.Z3(W)})})}else H.preload&&L5D(this,new Promise(function(O){g.ii(0,function(){O(f3(t))},0)}))}; +k3t=function(N,H){var c;return H.split(".")[0]!==""&&((c=N.api.getVideoData())==null?void 0:!Yd(c))}; +RZ=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x,q,r,w){g.L.call(this);var n=this;this.qF=N;this.slot=H;this.layout=c;this.Pp=t;this.r_=h;this.ea=O;this.k_=F;this.YO=M;this.V4=f;this.JZ=d;this.position=z;this.Y=E;this.Rx=x;this.B1=q;this.dR=r;this.context=w;this.AY=!0;this.S=!1;this.ws="not_rendering";this.B=!1;this.L=new a6;N=lQ(this.layout.clientMetadata,"metadata_type_ad_placement_config");this.Fg=new sd(c.S1,this.Pp,N,c.layoutId);var p;N=((p=x5(this))==null?void 0:p.progressCommands)||[];this.U=new fJh(f, +N,c.layoutId,function(){return n.uQ()}); +this.T=new ZWD({adCpn:this.layout.layoutId,xA:w.xA,pOT:this.B1,KG:this.layout.layoutType==="LAYOUT_TYPE_MEDIA"})}; +YYt=function(N){if(N.BQ&&typeof N.BQ=="function")return N.BQ();if(typeof Map!=="undefined"&&N instanceof Map||typeof Set!=="undefined"&&N instanceof Set)return Array.from(N.values());if(typeof N==="string")return N.split("");if(g.Ze(N)){for(var H=[],c=N.length,t=0;t-1&&(0,g.Lh)()-t.TWt)return sI(N,O.config),N.IE(O.hashData),M.return(kO());case 2:Gys(N);if(!(c&&N.B&&N.hotHashData)){M.rE(4);break}return g.a(M,C7Z(N.B,N.hotHashData,c,t),4);case 4:return N.B? +M.return(kO()):(F=new g.ti("Config not available in ytConfig"),Uf(F),M.return(Promise.reject(F)))}})}; +gd=function(N){var H={};H.itag=N.mR.info.itag;H.type=""+N.type;H.src=""+N.source;H.segsrc=N.Y;H.seg=String(N.Y_);N.range&&(H.range=N.range.start+N.T+"-"+(N.range.start+N.T+N.B-1));H.time=N.U.toFixed(1)+"-"+(N.U+N.C).toFixed(1);H.off=String(N.T);H.len=String(N.B);N.L&&(H.end="1");N.Xy()&&(H.eos="1");N.clipId&&(H.cid=N.clipId);return H}; +dks=function(N,H){var c=0,t=fD(H.B);if(N.U=t.length)return;if(c<0)throw Error("Missing data");N.U=N.L;N.B=0}for(h={};c0))return N}; +Ktw=function(N,H){var c,t,h,O;return g.Y(function(F){if(F.T==1)return c={startTime:(0,g.Lh)(),infos:{transactionType:"YT_IDB_TRANSACTION_TYPE_WRITE"},ticks:{}},g.a(F,WR(H),2);if(F.T!=3)return t=F.B,h=Object.assign({},N,{options:JSON.parse(JSON.stringify(N.options)),interface:g.YI("INNERTUBE_CONTEXT_CLIENT_NAME",0)}),g.a(F,g.Go(t,"LogsRequestsStore",h),3);O=F.B;c.ticks.tc=(0,g.Lh)();akt(c);return F.return(O)})}; +N0D=function(){var N=g.iU.EP();if(N&&(N=N.bQ("yt-player-quality")))return N.creation}; +g.HGs=function(N){return N.captionsLanguagePreference||N.Es.captionsLanguagePreference||g.QV(N,"yt:cc_default_lang")||N.Es.qc}; +g.gu=function(N){return P_(N).toUpperCase()==="WEB"}; +jq=function(N){var H=[{cpn:N.L.Qd()}];N.B&&H.push({cpn:N.B.Qd()});N.api.publish("playbackChange",{LVg:H})}; +uo=function(N,H,c,t,h){Lx.call(this,c,h);var O=this;this.policy=N;this.formatId=H;this.sy=t;this.lastError=null;this.onProgress=function(){O.uo()||(O.sy.Hr.has(O.formatId)?(O.isComplete()||O.T.start(),p3(O.sy,O.formatId)&&O.Gt(2),O.sy.wR(O.formatId)&&(iGR(O.sy,O.formatId)?O.Xf(4):(O.lastError="net.closed",O.Xf(5)))):(O.lastError="player.exception",O.Xf(5)))}; +this.T=new g.kT(function(){O.isComplete()||(O.lastError="net.timeout",O.Xf(5))},1E3); +this.T.start();ctL(this.sy,this.formatId,this.onProgress);g.OT(this.onProgress)}; +g.JU=function(N,H){N.getPresentingPlayerType()===3?N.publish("mdxautoplaycancel"):N.QS("onAutonavCancelled",H)}; +nnd=function(N){var H=4093624447,c;for(c=0;c<=31;c++,H>>>=1)if(H&1&&N.fJ[c*2]!==0)return 0;if(N.fJ[18]!==0||N.fJ[20]!==0||N.fJ[26]!==0)return 1;for(c=32;c<256;c++)if(N.fJ[c*2]!==0)return 1;return 0}; +S93=function(N,H,c){g.L.call(this);this.encryptedClientKey=H;this.Y=c;this.B=new Uint8Array(N.buffer,0,16);this.L=new Uint8Array(N.buffer,16)}; +jwR=function(N){N=B4(N);var H=[];g.tH(N,function(c,t){t in Object.prototype||typeof c!="undefined"&&H.push([t,":",c].join(""))}); +return H}; +d0=function(N,H){if(H.Zi)for(var c=0;c0||N.Z)return!0;N=jl().B.isVisible();var H=YV(Uh)===0;return N||H}; +G9v=function(N){var H=N.layoutId,c=N.vG;if(N.gA){var t={};r0(N.MP,"slso",(t.ec=H,t.is=c,t.ctp=w0(H),t))}}; +Ub=function(N){return N.L?!1:!N.keySystemAccess&&!!SN()&&N.keySystem==="com.microsoft.playready"}; +S=function(N,H,c,t){t=t===void 0?!1:t;w9.call(this,N);this.My=c;this.bH=t;this.args=[];H&&this.args.push(H)}; +tVZ=function(N){var H=N.J.getVideoData(),c=N.C&&!H.isInlinePlaybackNoAd;N.J.N("html5_defer_modules_on_ads_only")&&!H.isAd()&&(c=!1);return c}; +Nl=function(N,H,c){var t=lQ(N.dE().clientMetadata,"metadata_type_linked_in_player_layout_id");return t?t:(KA("Tried to retrieve Linked InPlayer LayoutId but missing ClientMetadata",N.y4(),N.dE(),{requestingSlot:H,requestingLayout:c}),null)}; +Mif=function(N){var H,c,t=(c=(H=N.wE.wr())==null?void 0:H.getCurrentTime())!=null?c:N.wE.getCurrentTime(),h=N.U.b$(t);WWt(N,h,t,!0);N.isSeeking=!1;Array.from(N.B.keys()).sort(function(O,F){return O-F}).forEach(function(O){O>h?J7(N,O,N.B.get(O)):O===h&&J7(N,O,N.B.get(O),t-N.U.getStartTime(O))})}; +dZd=function(N,H){var c,t,h;H=g.P((c=H.getWatchNextResponse())==null?void 0:(t=c.playerOverlays)==null?void 0:(h=t.playerOverlayRenderer)==null?void 0:h.decoratedPlayerBarRenderer,XM);if(H==null?0:H.progressColor)for(c=0;c=h.U?(h.Lq("sdai",{haltrq:O+1,est:h.U}),t=!1):t=h.B!==2;if(!t||!KV(H.T?H.T.mR.JF:H.mR.JF,N.policy,N.U,N.loader.BF)||N.loader.isSuspended&&(!ir(N.schedule)||N.loader.iM))return!1;if(N.policy.U&&JW>=5)return g.lY(N.loader.N6),!1;if(N.GW.isManifestless){if(H.B.length>0&&H.T&&H.T.Y_===-1||H.B.length>=N.policy.J6||!N.policy.Wy&&H.B.length>0&&!N.policy.Z.pF)return!1;if(H.Y)return!N.GW.isLive|| +!isNaN(N.Io)}if(Eks(H))return!1;if(!H.T){if(!H.mR.g0())return!1;VV(H,N.loader.getCurrentTime())}if(L3(H)&&(H.on()!==L3(H)||N.loader.isSuspended))return!1;h=(t=N.policy.X0)&&!H.B.length&&wz(H,!0)=N.policy.c$)return!1;t=H.T;if(!t)return!0;t.type===4&&t.mR.g0()&&(H.T=g.vU(t.mR.La(t)),t=H.T);if(!t.Xy()&&!t.mR.j4(t))return!1;O=N.GW.K6||N.GW.U;if(N.GW.isManifestless&& +O){O=H.mR.index.Ff();var F=c.mR.index.Ff();O=Math.min(O,F);if(H.mR.index.lm()>0&&O>0&&t.Y_>=O)return H.NT=O,c.NT=O,!1}if(t.mR.info.audio&&t.type===4||t.Xy())return!1;O=!H.U&&!c.U;if(h=!h)h=t.S,h=!!(c.T&&!SG(c.T)&&c.T.Sg1d(N,H)?(g1d(N,H),!1):(N=H.q4)&&N.isLocked()?!1:!0}; +ids=function(){return{lG:["metadata_type_instream_ad_player_overlay_renderer","metadata_type_player_bytes_callback","metadata_type_linked_player_bytes_layout_id","METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds"],xH:["LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY"]}}; +Zv=function(N,H){g.e.call(this,{W:"button",fq:["ytp-button","ytp-jump-button"],V:{title:N.N("player_tooltip_data_title_killswitch")?"{{title}}":"","data-tooltip-title":"{{tooltip-title}}","aria-keyshortcuts":"{{aria-keyshortcuts}}","data-title-no-tooltip":"{{data-title-no-tooltip}}"},X:[H>0?{W:"svg",V:{height:"100%",mlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"100%"},X:[{W:"path",fq:["ytp-circle-arrow","ytp-svg-fill"],V:{d:"m19,12c0,2.1 -0.93,4.07 -2.55,5.4c-1.62,1.34 -3.76,1.87 -5.86,1.46c-2.73,-0.53 -4.92,-2.72 -5.45,-5.45c-0.41,-2.1 .12,-4.24 1.46,-5.86c1.33,-1.62 3.3,-2.55 5.4,-2.55l1.27,0l-0.85,.85l1.41,1.41l3.35,-3.35l-3.35,-3.35l-1.41,1.41l1.01,1.03l-1.43,0c-2.7,0 -5.23,1.19 -6.95,3.28c-1.72,2.08 -2.4,4.82 -1.88,7.52c0.68,3.52 3.51,6.35 7.03,7.03c0.6,.11 1.19,.17 1.78,.17c2.09,0 4.11,-0.71 5.74,-2.05c2.09,-1.72 3.28,-4.25 3.28,-6.95l-2,0z"}}, +{W:"text",fq:["ytp-jump-button-text","ytp-svg-fill"],V:{x:"7.05",y:"15.05"}}]}:{W:"svg",V:{height:"100%",mlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"100%"},X:[{W:"path",fq:["ytp-circle-arrow","ytp-svg-fill"],V:{d:"m18.95,6.28c-1.72,-2.09 -4.25,-3.28 -6.95,-3.28l-1.43,0l1.02,-1.02l-1.41,-1.41l-3.36,3.35l3.35,3.35l1.41,-1.41l-0.85,-0.86l1.27,0c2.1,0 4.07,.93 5.4,2.55c1.34,1.62 1.87,3.76 1.46,5.86c-0.53,2.73 -2.72,4.92 -5.45,5.45c-2.11,.41 -4.24,-0.12 -5.86,-1.46c-1.62,-1.33 -2.55,-3.3 -2.55,-5.4l-2,0c0,2.7 1.19,5.23 3.28,6.95c1.62,1.34 3.65,2.05 5.74,2.05c0.59,0 1.19,-0.06 1.78,-0.17c3.52,-0.68 6.35,-3.51 7.03,-7.03c0.52,-2.7 -0.17,-5.44 -1.88,-7.52z"}}, +{W:"text",fq:["ytp-jump-button-text","ytp-svg-fill"],V:{x:"6.5",y:"15"}}]}]});var c=this;this.J=N;this.T=H;this.B=new g.kT(function(){c.L?(c.L=!1,c.B.start()):c.element.classList.remove("ytp-jump-spin","backwards")},250); +this.L=!1;(H=H>0)?this.J.createClientVe(this.element,this,36843):this.J.createClientVe(this.element,this,36844);var t=g.Df(H?"Seek forward $SECONDS seconds. (\u2192)":"Seek backwards $SECONDS seconds. (\u2190)",{SECONDS:Math.abs(this.T).toString()});this.J.N("player_tooltip_data_title_killswitch")?this.update({title:t,"data-title-no-tooltip":t,"aria-keyshortcuts":H?"\u2192":"\u2190"}):this.update({"tooltip-title":t,"data-title-no-tooltip":t,"aria-keyshortcuts":H?"\u2192":"\u2190"});this.U=this.element.querySelector(".ytp-jump-button-text"); +this.U.textContent=Math.abs(this.T).toString();this.listen("click",this.onClick,this);XW(N,this.element,this)}; +z9=function(N){return N===1701082227||N===1836019558||N===1836019574||N===1835297121||N===1835626086||N===1937007212||N===1953653094||N===1953653099||N===1836475768}; +Pv=function(N,H,c,t){sE.call(this,N,{W:"img",K:"ytp-ad-avatar"},"ad-avatar",H,c,t);this.hide()}; +bK=function(N,H){if(H>268435455){hs(N,4);for(var c=H&1073741823,t=0;t<4;t++)N.view.setUint8(N.pos,c&127|128),c>>=7,N.pos+=1;H=Math.floor(H/268435456)}for(hs(N,4);H>127;)N.view.setUint8(N.pos,H&127|128),H>>=7,N.pos+=1;N.view.setUint8(N.pos,H);N.pos+=1}; +ZP=function(N){iV(N);var H=cq(Number(N));if(tK(H))return String(H);H=N.indexOf(".");H!==-1&&(N=N.substring(0,H));return r2w(N)}; +qOf=function(N,H,c){var t=new XMLHttpRequest;if(c==null?0:c.zt)t.onreadystatechange=function(O){c.zt(t,O)}; +var h;t.open((h=H.method)!=null?h:"GET",N,!0);t.responseType="text";t.withCredentials=!0;if(H.headers)for(N=g.K(Object.entries(H.headers)),H=N.next();!H.done;H=N.next())h=g.K(H.value),H=h.next().value,h=h.next().value,t.setRequestHeader(H,h);return t}; +g.CUy=function(N){return N.data["Serialized-State"]?N.data["Serialized-State"]:""}; +l4R=function(N){if(N.J.D().Xg)return N.Jn.get("ux")}; +gkZ=function(N){var H=Khy(N);if(H)return N.videoData.getAvailableAudioTracks().find(function(c){return c.X3.getName()===H})}; +rth=function(N,H,c,t,h,O){this.oD=N;this.k_=H;this.Pp=c;this.B=t;this.T=h;this.Rx=O}; +L$=function(N,H,c){this.k_=N;this.J=H;this.Rx=c;this.B=new Set;this.T=new Map;hi().subscribe("adactiveviewmeasurable",this.E_,this);hi().subscribe("adfullyviewableaudiblehalfdurationimpression",this.SR,this);hi().subscribe("adviewableimpression",this.IV,this);hi().subscribe("adaudioaudible",this.RV,this);hi().subscribe("adaudiomeasurable",this.oV,this)}; +mZ3=function(N,H,c){var t=!(!H||H.mR!==N.mR||H.type!==N.type||H.Y_!==N.Y_);return c?t&&!!H&&(N.range&&H.range?H.range.end===N.range.end:H.range===N.range)&&H.T+H.B===N.T+N.B:t}; +w4t=function(N){this.value=N}; +YB=function(N,H,c,t,h,O,F,M,f){this.Y_=N;this.startTime=H;this.duration=c;this.ingestionTime=t;this.sourceURL=h;this.Rc=f;this.endTime=H+c;this.T=F||0;this.range=O||null;this.pending=M||!1;this.Rc=f||null}; +I3=function(N,H,c){c!==void 0&&d8(N,H,c?1:0)}; +g.S6=function(){IC.instance||(IC.instance=new IC);return IC.instance}; +xB=function(N){if(!N.nextVideo||!N.policy.U)if(N.T.isLocked())N.nextVideo=N.T.T<=360?N.GW.T[N.U[0].id]:N.GW.T[g.vU(N.U).id];else{for(var H=Math.min(N.Z,N.U.length-1),c=Eb(N.ox),t=z1(N,N.B.info),h=c/N.policy.ox-t;H>0&&!(z1(N,N.U[H])<=h);H--);for(c=c/N.policy.TW-t;H=c);H++);N.nextVideo=N.GW.T[N.U[H].id];N.Z=H}}; +DZl=function(N){var H={};N.forEach(function(c){H[c[0]]=c[1]}); +return function(c){return H[c.find(function(t){return t in H})]||""}}; +Q6D=function(N,H,c){isNaN(c)||(N.ox+=c);isNaN(H)||(N.vp+=H)}; +p4S=function(N,H,c){var t=0;return function(h){g.di.clearTimeout(t);var O=arguments;t=g.di.setTimeout(function(){N.apply(c,O)},H)}}; +hky=function(N,H,c){var t=H.D();N.thirdParty||(N.thirdParty={});t.N("embeds_enable_embed_url_in_ads_request")&&(N.thirdParty=Object.assign({},N.thirdParty,{embedUrl:t.loaderUrl}));t.ancestorOrigins&&(N.thirdParty.embeddedPlayerContext=Object.assign({},N.thirdParty.embeddedPlayerContext,{ancestorOrigins:t.ancestorOrigins}));t.XS!=null&&(N.thirdParty.embeddedPlayerContext=Object.assign({},N.thirdParty.embeddedPlayerContext,{visibilityFraction:Number(t.XS)}));t.jY&&(N.thirdParty.embeddedPlayerContext= +Object.assign({},N.thirdParty.embeddedPlayerContext,{visibilityFractionSource:t.jY}));N.thirdParty.embeddedPlayerContext=Object.assign({},N.thirdParty.embeddedPlayerContext,{autoplayBrowserPolicy:nz(),autoplayIntended:Sa(H),autoplayStatus:uYw(H,c)})}; +L1=function(N,H){this.B=N>>>0;this.T=H>>>0}; +JtR=function(N,H,c,t){N.T&&N.T.dispose();N.T=new g.kT(N.e1,H,N);g.l(N,N.T);t=He(t);H=t==null?void 0:t.navigationEndpoint;var h;t=t==null?void 0:(h=t.icon)==null?void 0:h.iconType;var O;h=(O=g.P(H,g.iF))==null?void 0:O.url;N.J.setTrackingParams(N.element,(H==null?void 0:H.clickTrackingParams)||null);H&&!h?(N.innertubeCommand=H,h="#!"):N.innertubeCommand=null;var F;N.B.update({href:(F=h)!=null?F:"#",text:c,icon:t==="MONEY_HAND"?{W:"svg",V:{fill:"none",height:"100%",viewBox:"0 0 24 24",width:"100%"}, +X:[{W:"path",V:{d:"M6 9H5V5V4H6H19V5H6V9ZM21.72 16.04C21.56 16.8 21.15 17.5 20.55 18.05C20.47 18.13 18.42 20.01 14.03 20.01C13.85 20.01 13.67 20.01 13.48 20C11.3 19.92 8.51 19.23 5.4 18H2V10H5H6H7V6H21V13H16.72C16.37 13.59 15.74 14 15 14H12.7C13.01 14.46 13.56 15 14.5 15H15.02C16.07 15 17.1 14.64 17.92 13.98C18.82 13.26 20.03 13.22 20.91 13.84C21.58 14.32 21.9 15.19 21.72 16.04ZM15 10C15 9.45 14.55 9 14 9C13.45 9 13 9.45 13 10H15ZM20 11C19.45 11 19 11.45 19 12H20V11ZM19 7C19 7.55 19.45 8 20 8V7H19ZM8 8C8.55 8 9 7.55 9 7H8V8ZM8 10H12C12 8.9 12.9 8 14 8C15.1 8 16 8.9 16 10V10.28C16.59 10.63 17 11.26 17 12H18C18 10.9 18.9 10 20 10V9C18.9 9 18 8.1 18 7H10C10 8.1 9.1 9 8 9V10ZM5 13.5V11H3V17H5V13.5ZM20.33 14.66C19.81 14.29 19.1 14.31 18.6 14.71C17.55 15.56 16.29 16 15.02 16H14.5C12.62 16 11.67 14.46 11.43 13.64L11.24 13H15C15.55 13 16 12.55 16 12C16 11.45 15.55 11 15 11H6V13.5V17.16C8.9 18.29 11.5 18.93 13.52 19C17.85 19.15 19.85 17.34 19.87 17.32C20.33 16.9 20.62 16.4 20.74 15.84C20.84 15.37 20.68 14.91 20.33 14.66Z", +fill:"white"}}]}:null,chevron:h||N.innertubeCommand?g.pN():null})}; +nkt=function(N){g.tH(N.T,function(H){H.L>1E5||++H.L})}; +Gi=function(N,H){return SOy(H.call(N))}; +PUS=function(N,H){N.B[H]||(N.B[H]=new xp);return N.B[H]}; +UZl=function(N,H){return!!H&&N.getAvailablePlaybackRates()[N.getAvailablePlaybackRates().length-1]<=2}; +Z_=function(N,H){return HVw(N,H||{},!0)}; +AU=function(N,H,c,t){zr.call(this);var h=this;this.L=-1;this.T={};this.U=new g.kT(this.S,0,this);g.l(this,this.U);this.B=new g.kT(function(){h.uo()||(h.U.start(Math.random()*c),h.B.start(H))},N,this); +g.l(this,this.B);t.subscribe("fairplay_next_need_key_info",this.Y,this)}; +wve=function(N,H){if(N.isDrm()){if(H.info.mR.info.RW()){var c=new Bs(g.sn(H));if(yq(c,[408125543,374648427,174,28032,25152,20533,18402])){var t=T8(c,!0);c=t!==16?null:zl(c,t)}else c=null;t="webm"}else H.info.Z=OHv(g.sn(H)),c=y23(H.info.Z),t="cenc";c&&c.length&&(c=new a3(c,t),N.policy.hs&&g.vs(H.info.mR.info)&&(t=X4L(g.sn(H)))&&(c.B=t),c.RW=H.info.mR.info.RW(),H.T&&H.T.cryptoPeriodIndex&&(c.cryptoPeriodIndex=H.T.cryptoPeriodIndex),H.T&&H.T.B&&(c.T=H.T.B),N.loader.Gr(c))}}; +Vi3=function(N,H){if(H.T.video.quality==="auto"&&MF(H.getInfo())&&N.videoData.UF)for(var c=g.K(N.videoData.UF),t=c.next();!t.done;t=c.next())if(t=t.value,t.getHeight()===N.dV&&t.T.video.quality!=="auto")return t.getInfo();return H.getInfo()}; +Lhs=function(N){N.Z.textContent=N.T.toFixed(2)+"x";var H=N.T>2&&N.J.N("enable_web_premium_varispeed");N.Us.classList.toggle("ytp-speedslider-premium-badge",H);N.Us.setAttribute("aria-label",H?"Premium":"")}; +YOw=function(N,H,c){if(N.forEach&&typeof N.forEach=="function")N.forEach(H,c);else if(g.Ze(N)||typeof N==="string")Array.prototype.forEach.call(N,H,c);else for(var t=ZGL(N),h=YYt(N),O=h.length,F=0;F0&&(0,g.Lh)()-N.Y<5E3&&(N.logger&&N.logger({dend:t.info.uX()}),c=AtZ(c,h,h+.01))}N.policy.Ol&&N.logger&&N.logger({cbri:""+N.T});t=[];for(var O=h=0;h=F){var W=Object.assign({},N.Eu[O]),z=N.GW.L.get(hM(N.Eu[O].formatId)),E=Math.max(f,F);F=z.index.b$(E+N.B/ +1E3);f=z.index.getStartTime(F);var x=F+ +(Math.abs(f-E)>N.B/1E3);E=x+N.U;x=z.index.getStartTime(x)*1E3;O!==N.T||H?(W.IR=E,W.startTimeMs=x):(N.logger&&N.logger({pEvict:"1",og:W.startTimeMs,adj:f*1E3}),W.IR=F+N.U,W.startTimeMs=f*1E3);F=void 0;f=((F=N.L)==null?void 0:F.info.duration)||11;O===N.T&&MN.B/1E3);F=f+N.U;z=z.index.ES(f)*1E3;W.hY=F;W.durationMs=z-W.startTimeMs;W.IR<=W.hY&&t.push(W)}d0?t:h);for(t=H.next();!t.done;t=H.next())t=t.value,h=t.minReadaheadMs||0,c<(t.minBandwidthBytesPerSec||0)||N>h&&(N=h);return N0&&N.Zf&&rk(N.Zf)&&(H=H.mR.info.video?N.Zf.B:N.Zf.T)&&!H.lq()){H=H.l2();var t=O$(H,N.getCurrentTime());t>=0&&(H=N.getCurrentTime()-H.start(t),c+=Math.max(0,Math.min(H-N.policy.Vo,N.policy.DR)))}N.policy.Ix>0&&(c=Math.min(c,N.policy.Ix));return c}; +oky=function(N){N.policy.mz&&N.policy.QG&&Math.min(aPS(N.videoTrack),aPS(N.audioTrack))*1E3>N.policy.By?g.lY(N.n4):N.Ec()}; +rq=function(N,H,c){return N[H]?N[H][c]||null:null}; +Y$l=function(N){if(N.T.length===0){var H=new A5;N.T.push(H);g.l(N,H);H.Jl(N.UF,0)}for(;N.T.length>1;)N.T.pop().dispose();v$(N.T[0],"100%");N.T[0].startTime=0;N.T[0].title=""}; +I4D=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);this.T=new kMZ(this.api);g.l(this,this.T);this.events.G(N,"videodatachange",function(){var c,t=(c=H.api.getVideoData())==null?void 0:c.xV;c=H.T;if(t){var h,O,F=((h=t.title)==null?void 0:h.content)||"";h=((O=t.subtitle)==null?void 0:O.content)||"";c.update({title:F,subtitle:h});F=t.thumbnail;O="none";if(F==null?0:F.sources){h=0;F=g.K(F.sources);for(var M=F.next();!M.done;M=F.next())M=M.value,M.width&&M.url&&M.width> +h&&(h=M.width,O="url("+M.url+")")}c.background.style.backgroundImage=O;M7s(c,t.actionButtons||[]);c.show()}else c.hide()}); +g.aG(this.api,this.T.element,4)}; +bGl=function(N){var H=N.cpn,c=N.MP;N=N.vG;var t=c.sG(),h={};r0(c,"cx",(h.xc=H,h.ia=H!==t,h.r=mj.Nr.has(H),h.is=N,h.ctp=w0(H),h))}; +Cd=function(N,H,c,t){H=H===void 0?{}:H;if(t===void 0?0:t)return H.disabled=1,0;if(k_(N.S,o4.AV1_CODECS)&&k_(N.S,o4.HEIGHT)&&k_(N.S,o4.BITRATE))return H.isCapabilityUsable=1,8192;try{var h=twZ();if(h&&!N.N("disable_av1_setting"))return H.localPref=h}catch(M){}t=1080;h=navigator.hardwareConcurrency;h<=2&&(t=480);H.coreCount=h;if(h=g.Mx(N.experiments,"html5_default_av1_threshold"))t=H["default"]=h;if(N=N.S.Us)H.mcap=N,t=Math.max(t,N);if(c){var O,F;if(N=(O=c.videoInfos.find(function(M){return nK(M)}))== +null?void 0:(F=O.B)==null?void 0:F.powerEfficient)t=8192,H.isEfficient=1; +c=c.videoInfos[0].video;O=Math.min(Ur("1",c.fps),Ur("1",30));H.perfCap=O;t=Math.min(t,O);c.isHdr()&&!N&&(H.hdr=1,t*=.75)}else c=Ur("1",30),H.perfCap30=c,t=Math.min(t,c),c=Ur("1",60),H.perfCap60=c,t=Math.min(t,c);return H.av1Threshold=t}; +g.WX=function(N){return"crx_"+N}; +vj=function(N){N=N===void 0?!1:N;var H=eE(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],document);if(N)for(;H&&H.shadowRoot;)H=H.shadowRoot.fullscreenElement;return H?H:null}; +hFR=function(N,H){for(var c=g.K(H.keys()),t=c.next();!t.done;t=c.next())if(t=H.get(t.value),t.length!==0){g.Ua(t,function(M,f){return f.maxFramerate-M.maxFramerate}); +for(var h=[t[0]],O=0,F=1;F0&&h>0&&(c.width+=h,g.eU(H.element,"width",c.width+"px")));N.size=c}}; +Ei=function(){this.T=inv[0].toLowerCase()}; +c_L=function(N,H,c){var t,h=((t=c.video)==null?void 0:t.fps)||0;t=H+"_"+h;var O=!!c.audio,F=N.T.get(t);a:{var M=N.T.get(t),f=!!c.audio;if(M){if(f){var d=!1;break a}var W;if(!f&&((d=c.video)==null?0:d.height)&&M.maxHeight&&M.maxHeight>=((W=c.video)==null?void 0:W.height)){d=!1;break a}}d=!0}d&&(d=c.itag,H=F?F:{itag:d,T0:H,ll:O},O?H.numChannels=c.audio.numChannels:(O=c.video,H.maxWidth=O==null?void 0:O.width,H.maxHeight=O==null?void 0:O.height,H.maxFramerate=h,k_(N,o4.BITRATE)&&(H.maxBitrateBps=c.OF* +8),H.Qi=O==null?void 0:O.isHdr()),N.T.set(t,H))}; +hlS=function(N){t3l=2592E3*(N||1)}; +Dat=function(){var N=jvZ();if(N){var H=Ons[N.type||"unknown"]||"CONN_UNKNOWN";N=Ons[N.effectiveType||"unknown"]||"CONN_UNKNOWN";H==="CONN_CELLULAR_UNKNOWN"&&N!=="CONN_UNKNOWN"&&(H=N);if(H!=="CONN_UNKNOWN")return H;if(N!=="CONN_UNKNOWN")return N}}; +M3w=function(N){return N.data["Cuepoint-Type"]?new Ni(-(Number(N.data["Cuepoint-Playhead-Time-Sec"])||0),Number(N.data["Cuepoint-Total-Duration-Sec"])||0,N.data["Cuepoint-Context"],N.data["Cuepoint-Identifier"]||"",FLh[N.data["Cuepoint-Event"]||""]||"unknown",(Number(N.data["Cuepoint-Playhead-Time-Sec"])||0)*1E3):null}; +KfZ=function(N){if(!N)return"";if(/^about:(?:blank|srcdoc)$/.test(N))return window.origin||"";N.indexOf("blob:")===0&&(N=N.substring(5));N=N.split("#")[0].split("?")[0];N=N.toLowerCase();N.indexOf("//")==0&&(N=window.location.protocol+N);/^[\w\-]*:\/\//.test(N)||(N=window.location.href);var H=N.substring(N.indexOf("://")+3),c=H.indexOf("/");c!=-1&&(H=H.substring(0,c));c=N.substring(0,N.indexOf("://"));if(!c)throw Error("URI is missing protocol: "+N);if(c!=="http"&&c!=="https"&&c!=="chrome-extension"&& +c!=="moz-extension"&&c!=="file"&&c!=="android-app"&&c!=="chrome-search"&&c!=="chrome-untrusted"&&c!=="chrome"&&c!=="app"&&c!=="devtools")throw Error("Invalid URI scheme in origin: "+c);N="";var t=H.indexOf(":");if(t!=-1){var h=H.substring(t+1);H=H.substring(0,t);if(c==="http"&&h!=="80"||c==="https"&&h!=="443")N=":"+h}return c+"://"+H+N}; +zlt=function(N,H){function c(O){return t.Bp!=="yt"&&(h.partnerId===38&&t.playerStyle==="books"||h.partnerId===30&&t.playerStyle==="docs"||h.partnerId===33&&t.playerStyle==="google-live")?peh(N,h,O):fU3(N,h).then(function(){t.N("embeds_enable_shorts")&&N.D().Qm&&h.isEmbedsShortsMode(new g.rv(0,0),!!h.playlistId)?F7f(N,h):Bj(N,h)},function(F){Bj(N,h,!0); +throw F;})} +H=H===void 0?N.D().schedule:H;var t=N.D(),h=N.getVideoData();h.uo();h.loading=!0;return d6t(N)?YnZ(N,h,H).then(function(){Bj(N,h)},function(O){O=g8(O); +if(uO(O.severity))return Bj(N,h,!0),Promise.reject(O);O.errorCode==="onesie.response.badproxystatus"&&""+O.details.st==="3"&&(WLt=!0);N.handleError(O);return c("onesie")}):c("gvi")}; +G1=function(N,H){yV.call(this,N,H,"timedMarkerCueRange","View key moments");this.G(N,g.WX("timedMarkerCueRange"),this.Dp);this.G(N,"updatemarkervisibility",this.updateVideoData)}; +ExS=function(N,H,c,t){sE.call(this,N,{W:"div",K:"ytp-ad-underlay-companion",X:[{W:"div",K:"ytp-ad-underlay-side-container",X:[{W:"div",K:"ytp-ad-underlay-image-container"},{W:"div",K:"ytp-ad-underlay-description-container"},{W:"div",K:"ytp-ad-underlay-headline-container"},{W:"div",K:"ytp-ad-underlay-action-button-container"}]}]},"player-underlay",H,c,t);this.actionButton=null;this.Ix=this.Sa("ytp-ad-underlay-image-container");this.L=new tE(this.api,this.layoutId,this.interactionLoggingClientData, +this.yS,"ytp-ad-underlay-image");g.l(this,this.L);this.L.Jl(this.Ix);this.Us=this.Sa("ytp-ad-underlay-headline-container");this.B=new hE(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,"ytp-ad-underlay-headline");g.l(this,this.B);this.B.Jl(this.Us);this.Z=this.Sa("ytp-ad-underlay-description-container");this.U=new hE(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,"ytp-ad-underlay-description");g.l(this,this.U);this.U.Jl(this.Z);this.S=this.Sa("ytp-ad-underlay-action-button-container"); +this.T=this.Sa("ytp-ad-underlay-side-container");this.hide()}; +qrv=function(N,H){if(H){var c=H.background;c&&g.P(c,x6v)&&(c=(c=g.P(c,x6v).image)&&ew(c)||"",g.YY(c)?g.aS(Error("Found ThumbnailDetails without valid image URL")):g.eU(N.gE,"backgroundImage","url("+c+")"));if(H.durationMilliseconds==null||H.durationMilliseconds===void 0||H.durationMilliseconds===0)N=Error("durationMilliseconds unset or 0 for SurveyAdQuestionCommon: "+JSON.stringify(H)),g.BZ(N);else{N.L=g.vg();N.T=new e6(N.api,H.durationMilliseconds);g.l(N,N.T);if(N.T&&H.instreamAdPlayerOverlay&&g.P(H.instreamAdPlayerOverlay, +so))try{var t=new xJ(N.api,N.layoutId,N.interactionLoggingClientData,N.yS,N.T);t.Jl(N.playerOverlay);t.init(Gx("survey-player-overlay"),g.P(H.instreamAdPlayerOverlay,so),N.macros);N.U=t;g.l(N,t);N.yA()}catch(h){t=Error("ISAPOR had an error when initializing. Error: "+(h+" SurveyAdQuestionCommon: "+JSON.stringify(H))),g.BZ(t)}else t=Error("ISAPOR was not present in renderer. SurveyAdQuestionCommon: "+JSON.stringify(H)),g.BZ(t);N.T&&H.durationMilliseconds&&H.durationMilliseconds>0?(H=new RW(N.api,N.T), +H.Jl(N.playerOverlay),g.l(N,H)):(N=Error("Survey progress bar was not added. SurveyAdQuestionCommon: "+JSON.stringify(H)),g.BZ(N))}}else g.BZ(Error("addCommonComponents() needs to be called before starting countdown."))}; +qZs=function(){this.U=this.L=this.T=this.timedOut=this.started=this.S=this.B=0}; +Cmf=function(N){return isNaN(N)?0:Math.max((Date.now()-N)/1E3-30,0)}; +Ni=function(N,H,c,t,h,O){this.startSecs=N;this.C6=H;this.context=c;this.identifier=t;this.event=h;this.T=O}; +oW=function(N,H,c,t){N.T=3;N.Y="The stream is broken @"+N.TW+"/"+c+". Error: "+t+". With input:\n"+H;throw Error(N.Y);}; +VV=function(N,H,c){N.mR.g0();var t=lUt(N,H);if(t>=0)return t;var h;(h=N.C)==null||T9v(h,H,c);t=Math;h=t.min;var O=N.L;if(O.Y)if(O=O.Y,O.QL&&O.QL.type===3)O=O.QL.startTime;else if(O.L>0){var F=O.T.index;F=g.Kv(F.offsets.subarray(0,F.count),O.L*O.chunkSize);O=O.T.index.getStartTime(F>=0?F:Math.max(0,-F-2))}else O=0;else O=Infinity;H=h.call(t,H,O);N.T=N.policy.Us?null:N.mR.DQ(H).L4[0];P5(N)&&(N.policy.Bw&&(c==null?void 0:c.seekSource)===60||N.q4&&N.q4.abort(),N.policy.Pt&&(c=N.C)!=null&&(c.L=void 0)); +N.Cq=0;return N.T?N.T.startTime:H}; +ZxR=function(){return Jq()?Cc("Microsoft Edge"):zL("Edg/")}; +$v=function(N,H){if(N.simpleText){a:{N=N.simpleText;if(H&&(H=zew(N))){H=sa("SPAN",null,H);break a}H=g.jz(N)}return H}var c=[];if(N.runs)for(var t=0;tq?new S("AD_PLACEMENT_KIND_MILLISECONDS endMs needs to be >= startMs.",{offsetStartMs:t,offsetEndMs:q},"ADS_CLIENT_ERROR_MESSAGE_AD_PLACEMENT_END_SHOULD_GREATER_THAN_START",q===c&&t-500<=q):new Hv(t,q),N=c instanceof S?c:new fH($3,H,c,!1,N.id)):N=new S("Not able to create MediaTimeRangeTrigger")}else if(N.contentVideoIdEndedTrigger)N=N.contentVideoIdEndedTrigger?new tf($3,H,!1,N.id):new S("Not able to create ContentVideoIdEndedTrigger"); +else{if(N.layoutIdEnteredTrigger){var r;H=(r=N.layoutIdEnteredTrigger)!=null&&r.triggeringLayoutId?new Os($3,N.layoutIdEnteredTrigger.triggeringLayoutId,N.id):new S("Not able to create LayoutIdEnteredTrigger")}else if(N.timeRelativeToLayoutEnterTrigger){var w;H=(w=N.timeRelativeToLayoutEnterTrigger)!=null&&w.triggeringLayoutId?new Ev($3,Number(N.timeRelativeToLayoutEnterTrigger.durationMs),N.timeRelativeToLayoutEnterTrigger.triggeringLayoutId,N.id):new S("Not able to create TimeRelativeToLayoutEnterTrigger")}else if(N.onDifferentLayoutIdEnteredTrigger){var n; +H=(n=N.onDifferentLayoutIdEnteredTrigger)!=null&&n.triggeringLayoutId&&N.onDifferentLayoutIdEnteredTrigger.slotType&&N.onDifferentLayoutIdEnteredTrigger.layoutType?new YC($3,N.onDifferentLayoutIdEnteredTrigger.triggeringLayoutId,N.onDifferentLayoutIdEnteredTrigger.slotType,N.onDifferentLayoutIdEnteredTrigger.layoutType,N.id):new S("Not able to create CloseRequestedTrigger")}else{if(N.liveStreamBreakStartedTrigger)N=N.liveStreamBreakStartedTrigger&&N.id?new jX($3,N.id):new S("Not able to create LiveStreamBreakStartedTrigger"); +else if(N.liveStreamBreakEndedTrigger)N=N.liveStreamBreakEndedTrigger&&N.id?new GJ($3,N.id):new S("Not able to create LiveStreamBreakEndedTrigger");else{if(N.liveStreamBreakScheduledDurationMatchedTrigger){var p;H=(p=N.liveStreamBreakScheduledDurationMatchedTrigger)!=null&&p.breakDurationMs?new q4(Number(N.liveStreamBreakScheduledDurationMatchedTrigger.breakDurationMs||"0")||0,N.id):new S("Not able to create LiveStreamBreakScheduledDurationMatchedTrigger")}else if(N.liveStreamBreakScheduledDurationNotMatchedTrigger){var U; +H=(U=N.liveStreamBreakScheduledDurationNotMatchedTrigger)!=null&&U.breakDurationMs?new oN(Number(N.liveStreamBreakScheduledDurationNotMatchedTrigger.breakDurationMs||"0")||0,N.id):new S("Not able to create LiveStreamBreakScheduledDurationNotMatchedTrigger")}else if(N.newSlotScheduledWithBreakDurationTrigger){var X;H=(X=N.newSlotScheduledWithBreakDurationTrigger)!=null&&X.breakDurationMs?new Xi(Number(N.newSlotScheduledWithBreakDurationTrigger.breakDurationMs||"0")||0,N.id):new S("Not able to create NewSlotScheduledWithBreakDurationTrigger")}else H= +N.prefetchCacheExpiredTrigger?new Pmh($3,N.id):new S("Not able to convert an AdsControlflowTrigger.");N=H}H=N}N=H}H=N}N=H}H=N}N=H}H=N}N=H}H=N}N=H}return N}; +U6l=function(){var N=["metadata_type_ads_engagement_panel_layout_view_model","metadata_type_linked_player_bytes_layout_id"];vR().forEach(function(H){N.push(H)}); +return{lG:N,xH:["LAYOUT_TYPE_PANEL"]}}; +g.Vq=function(N){var H=H===void 0?!1:H;return vH(kC(N,XiS),N,H,"Trusted Image URL")}; +Znf=function(N,H){if(H&&N.hlsvp)return C6();if(N.hlsFormats){if(H=hq(N.hlsFormats)){for(var c=[],t=g.K(H),h=t.next();!h.done;h=t.next()){h=h.value;var O=void 0;((O=N.Es.Zp())==null?0:O.T.G0(V3R))&&h.url&&(h.url=k5(h.url));O=void 0;((O=N.w_)==null?0:O.T)&&c.push(h.itag)}var F;((F=N.w_)==null?0:F.T)&&c.length>0&&N.Lq("hlsfmt",{itags:c.join(".")})}N.LG=awD(N.Es,H);N.LG&&EQZ(N,N.LG);F=N.clientPlaybackNonce;var M,f,d,W;return LLy(N.Es,N.isAd(),H,(W=(M=N.playerResponse)==null?void 0:(f=M.captions)==null? +void 0:(d=f.playerCaptionsRenderer)==null?void 0:d.baseUrl)!=null?W:null,N.H0,F,function(z){return N.publish("ctmp","hlsflt",z)}).then(function(z){for(var E=0,x=[],q=g.K(z),r=q.next();!r.done;r=q.next()){r=r.value; +var w=void 0;x.push((w=r.getInfo())==null?void 0:w.itag);var n=w=void 0;((w=r.getInfo())==null?void 0:(n=w.audio)==null?void 0:n.numChannels)>E&&(E=r.getInfo().audio.numChannels)}E>2&&N.Lq("hlschl",{mn:E});var p;((p=N.w_)==null?0:p.T)&&N.Lq("hlsfmtaf",{itags:x.join(".")});var U;if(N.N("html5_enable_vp9_fairplay")&&((U=N.S)==null?0:tW(U)))for(N.Lq("drm",{sbdlfbk:1}),E=g.K(N.KO),x=E.next();!x.done;x=E.next())if(x=x.value,hf(x)){N.S=x;break}OG(N,z)})}return C6()}; +Uc=function(N,H){var c=null;return(new g.EL(function(t,h){c=g.CR(function(){t(H)},N); +c==-1&&h(Error("Failed to schedule timer."))})).lw(function(t){g.di.clearTimeout(c); +throw t;})}; +oYZ=function(N){N=nA(N);N.gelInfos||(N.gelInfos={});return N.gelInfos}; +UDy=function(N){N=this.L=N;var H=(0,g.tv)(this.nOi,this);N.U=H;N=this.L;H=(0,g.tv)(this.Wxg,this);N.C=H;this.B={};this.T={}}; +Yrt=function(N){dK.call(this,N);this.T=new Ok(this.api);g.l(this,this.T);g.aG(this.api,this.T.element,4)}; +pZ=function(N){this.value=N}; +O$=function(N,H){if(!N)return-1;try{for(var c=0;c=H)return c}catch(t){}return-1}; +JNw=function(){this.T=10;this.B=Date.now()}; +Pp=function(N,H){return vV(N,H,function(c){return c.B})}; +hq=function(N,H){N=ra(N);var c={};if(H){H=g.K(H.split(","));for(var t=H.next();!t.done;t=H.next())(t=t.value.match(/^([0-9]+)\/([0-9]+)x([0-9]+)(\/|$)/))&&(c[t[1]]={width:t[2],height:t[3]})}H=g.K(N);for(t=H.next();!t.done;t=H.next()){t=t.value;var h=c[t.itag];h&&(t.width=h.width,t.height=h.height)}return N}; +aUZ=function(N,H,c,t,h){if(H&&typeof H==="object"){var O=function(F){return A_t(N,F,c,t,h)}; +if(DZ(H))return H.then(O);if(wH(H))return pq(H,O)}return A_t(N,H,c,t,h)}; +ib=function(N,H,c){for(var t in c)if(c[t]==H)return c[t];return N}; +ug=function(N){g.L.call(this);var H=this;this.T=N;this.instance=null;this.addOnDisposeCallback(function(){g.ez(H.instance);H.instance=null})}; +LB=function(N){return N.T0==="9"||N.T0==="("||N.T0==="9h"||N.T0==="(h"}; +ZWD=function(N){this.params=N;this.T=new Set}; +vxw=function(N,H){var c=g.NA("ytDebugData.callbacks");c||(c={},g.Hw("ytDebugData.callbacks",c));if(g.sf("web_dd_iu")||elR.includes(N))c[N]=H}; +s$y=function(N){var H=si(N.vv().T,1);return KR(N,H)}; +RlS=function(N,H,c){if(!(c in H))return!1;H=H[c];Array.isArray(H)||(H=[H]);H=g.K(H);for(c=H.next();!c.done;c=H.next()){c=c.value;var t={CPN:N.api.getVideoData().clientPlaybackNonce};c=g.P4(c,t);t=void 0;t=t===void 0?!1:t;(t=vH(kC(c,BWR),c,t,"Active View 3rd Party Integration URL"))||(t=void 0,t=t===void 0?!1:t,t=vH(kC(c,y_t),c,t,"Google/YouTube Brand Lift URL"));t||(t=void 0,t=t===void 0?!1:t,t=vH(kC(c,GiZ),c,t,"Nielsen OCR URL"));g.Cx(c,void 0,t)}return!0}; +kiv=function(N,H,c,t,h){var O=N.d_,F=N.videoData;F.B=c;var M=g.Fb(N);c=new oxe(F,c,H,M?M.itag:"",t);N.j.experiments.M4("html5_refactor_sabr_video_format_selection_logging")?(c.videoId=h,N.jr=c):O.qoe&&Meh(O.qoe,c);h=N.OV;h.B=0;h.T=0;N.publish("internalvideoformatchange",F,H==="m")}; +fI=function(N){N=N||window.event;var H;N.composedPath&&typeof N.composedPath==="function"?H=N.composedPath():H=N.path;H&&H.length?N=H[0]:(N=N||window.event,N=N.target||N.srcElement,N.nodeType==3&&(N=N.parentNode));return N}; +yLd=function(N){if(!N)return null;N=le(N,4);return N===null||N===void 0?null:tV(N)}; +UYe=function(N,H,c,t,h){return N instanceof rW?Odd(N,t,h,H,c):Odd(N,t,h,new Ny,0)}; +F8h=function(N,H){this.B=(new TextEncoder).encode(N);this.T=(new TextEncoder).encode(H)}; +IUv=function(N,H,c,t,h,O,F,M){eq.call(this,N,H,c,t);this.Pp=h;this.Le=O;this.Y=M;this.AY=!0;this.U=null;this.S=lQ(c.clientMetadata,"metadata_type_linked_player_bytes_layout_id");vT(this.Le(),this);N=lQ(c.clientMetadata,"metadata_type_ad_placement_config");this.Fg=new sd(c.S1,this.Pp,N,c.layoutId)}; +$S=function(N){return N.B.every(function(H){return H.hasOwnProperty("offsetMilliseconds")})}; +bny=function(N,H){N=N.api.getRootNode();g.QH(N,"ytp-ad-overlay-open",H);g.QH(N,"ytp-ad-overlay-closed",!H)}; +w$3=function(){var N=Error.call(this);this.message=N.message;"stack"in N&&(this.stack=N.stack);this.name="AsyncStack";Object.setPrototypeOf(this,this.constructor.prototype)}; +N4e=function(N){switch(N){case 1:return"timeout";case 2:return"ratecontrol";case 3:return"sverr";case 4:return"deleted";case 5:return"waiting";case 6:return"ready";case 7:return"ssdisabled";default:return"unknown"}}; +Hfw=function(N){for(var H=[],c=[],t=g.K(N.B),h=t.next();!h.done;h=t.next())h=h.value,h.bitrate<=N.U?H.push(h):c.push(h);H.sort(function(O,F){return F.bitrate-O.bitrate}); +c.sort(function(O,F){return O.bitrate-F.bitrate}); +N.B=H.concat(c)}; +g.yI=function(N,H,c){return N!==null&&H in N?N[H]:c}; +coL=function(N,H){var c=ifl(H);if(N.B[c])return N.B[c];var t=Object.keys(N.store)||[];if(t.length<=1&&ifl(H)===t[0])return t;for(var h=[],O=0;Oh&&F.HY(W,h-t);return W}; +MvD=function(N,H){H instanceof z2&&(N.vp=H);var c=new Set(H.uN(N.u2()));c=g.K(c);for(var t=c.next();!t.done;t=c.next()){var h=t.value;if(!(t=!(H instanceof wY))){t=N.B;var O=t.GW.K4,F=TE(t.videoInfos,O);O=$ue(t,h,O);var M=F.includes(h);!t.wk.Ej||O||M||t.loader.Lq("sabrcpf",{fid:""+h,vfids:""+F.join("."),said:t.Z||""});t=O||F.includes(h)}if(t&&(t=H.mw(h,N.u2()),F=N.policy.Oc&&rP(t[0].mR.info.mimeType),H.I9(h,N.u2())))for(h=H.gq(h,N.u2()),h=g.K(h),O=h.next();!O.done;O=h.next())if(O=O.value,N.policy.L&& +H instanceof wY&&N.loader.Lq("omblss",{s:O.info.uX()}),F)M=N.timing,M.Bp||(M.Bp=(0,g.Lh)(),g.DO("fcb_r",M.Bp,M.T)),M=N,M.videoData.K4()&&M.Y&&hM(M.Y)===hM(g.dv(O.info.mR.info,M.GW.K4))&&M.wE.publish("sabrCaptionsDataLoaded",O,M.Vh.bind(M));else{M=O.info.mR.info.ll();var f=O.info.mR;if(M){var d=void 0;var W=N.B,z=(d=H.ut(N.u2()))==null?void 0:d.token;W.C&&f!==W.S?d=!0:(W.C=!1,f!==W.S&&(W.S=f,W.CZ(f,W.audioTrack,z)),d=!1);if(d)continue}else d=void 0,kjZ(N.B,f,(d=H.ut(N.u2()))==null?void 0:d.token); +d=M?N.audioTrack:N.videoTrack;H instanceof wY&&(d.Y=!1,H instanceof wY&&(M?T4y(N.timing):B73(N.timing)));try{jtf(d,t,O)}catch(E){O=g8(E),N.loader.handleError(O.errorCode,O.details,O.severity),d.yB(),N.RE(!1,"pushSlice"),Vp(N.loader)}}}}; +jP=function(N,H,c,t){g.L.call(this);var h=this;this.loader=N;this.policy=H;this.mR=c;this.timing=t;this.logger=new g.mE("dash");this.B=[];this.ox=[];this.T=this.q4=null;this.Kq=!1;this.Cq=this.gE=0;this.S=-1;this.Us=!1;this.NT=-1;this.Ix=null;this.Bp=NaN;this.TW=[];this.Br={pV:function(){return h.L}, +xva:function(){return h.B}, +R5S:function(){return h.C}}; +this.L=new fpS(N,H,c);this.policy.T&&(this.C=new duw(this.L,this.loader.getManifest(),this.policy,function(O){h.policy.DY&&h.Lq("buftl",O)})); +this.policy.S_&&(this.Z=new Wz3(this));this.OF=c.info.OF;this.Y=this.policy.Us?!1:c.Ux();this.isManifestless=c.Ux();this.U=this.Y;g.l(this,this.Ix)}; +Ew3=function(N,H,c){if(OU(N.T,H))if(FW(N.T,H).U=c?"filled":"not_filled",c===null){N.j1.A3("ADS_CLIENT_EVENT_TYPE_SLOT_FULFILLED_EMPTY",H);c=g.K(N.B);for(var t=c.next();!t.done;t=c.next())t.value.fC(H);xO(N,H,!1)}else{N.j1.A3("ADS_CLIENT_EVENT_TYPE_SLOT_FULFILLED_NON_EMPTY",H,c);N.j1.A3("ADS_CLIENT_EVENT_TYPE_LAYOUT_RECEIVED",H,c);var h,O=(h=c.Yb)!=null?h:lQ(c.clientMetadata,"metadata_type_sub_layouts");if(O)for(h=g.K(O),O=h.next();!O.done;O=h.next())N.j1.A3("ADS_CLIENT_EVENT_TYPE_LAYOUT_RECEIVED", +H,O.value);h=g.K(N.B);for(O=h.next();!O.done;O=h.next())O.value.gR(H);if(OU(N.T,H))if(FW(N.T,H).S)xO(N,H,!1);else{N.j1.A3("ADS_CLIENT_EVENT_TYPE_SCHEDULE_LAYOUT_REQUESTED",H,c);try{t=N.T;if(!FW(t,H))throw new sz("Unknown slotState for onLayout",void 0,"ADS_CLIENT_ERROR_MESSAGE_SLOT_STATE_IS_NULL");if(!t.CC.lK.get(H.slotType))throw new sz("No LayoutRenderingAdapterFactory registered for slot of type: "+H.slotType,void 0,"ADS_CLIENT_ERROR_MESSAGE_CANNOT_FIND_MATCHING_LAYOUT_RENDERING_ADAPTER_FACTORY"); +if(c.layoutExitNormalTriggers.length==0&&c.layoutExitSkipTriggers.length==0&&c.layoutExitMuteTriggers.length==0&&c.layoutExitUserInputSubmittedTriggers.length==0&&c.layoutExitUserCancelledTriggers.length==0)throw new sz("Layout has no exit triggers.",void 0,"ADS_CLIENT_ERROR_MESSAGE_EMPTY_LAYOUT_EXIT_TRIGGER");Sv(t,"TRIGGER_CATEGORY_LAYOUT_EXIT_NORMAL",c.layoutExitNormalTriggers);Sv(t,"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_SKIPPED",c.layoutExitSkipTriggers);Sv(t,"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_MUTED", +c.layoutExitMuteTriggers);Sv(t,"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_INPUT_SUBMITTED",c.layoutExitUserInputSubmittedTriggers);Sv(t,"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_CANCELLED",c.layoutExitUserCancelledTriggers)}catch(d){d instanceof sz?N.An(H,c,d,"ADS_CLIENT_ERROR_TYPE_SCHEDULE_LAYOUT_FAILED"):N.An(H,c,new sz("Unexpected error: "+d,void 0,"ADS_CLIENT_ERROR_MESSAGE_UNEXPECTED_ERROR"),"ADS_CLIENT_ERROR_TYPE_SCHEDULE_LAYOUT_FAILED");xO(N,H,!0);return}FW(N.T,H).Y=!0;try{var F=N.T,M=FW(F,H),f=F.CC.lK.get(H.slotType).get().build(F.U, +F.B,H,c);f.init();M.layout=c;if(M.L)throw new sz("Already had LayoutRenderingAdapter registered for slot",void 0,"ADS_CLIENT_ERROR_MESSAGE_BUILD_DUPLICATE_LAYOUT_RENDERING_ADAPTER");M.L=f;sx(F,M,"TRIGGER_CATEGORY_LAYOUT_EXIT_NORMAL",c.layoutExitNormalTriggers);sx(F,M,"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_SKIPPED",c.layoutExitSkipTriggers);sx(F,M,"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_MUTED",c.layoutExitMuteTriggers);sx(F,M,"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_INPUT_SUBMITTED",c.layoutExitUserInputSubmittedTriggers); +sx(F,M,"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_CANCELLED",c.layoutExitUserCancelledTriggers)}catch(d){TU(N,H);d instanceof sz?N.An(H,c,d,"ADS_CLIENT_ERROR_TYPE_SCHEDULE_LAYOUT_FAILED"):N.An(H,c,new sz("Unexpected error: "+d,void 0,"ADS_CLIENT_ERROR_MESSAGE_UNEXPECTED_ERROR"),"ADS_CLIENT_ERROR_TYPE_SCHEDULE_LAYOUT_FAILED");xO(N,H,!0);return}N.j1.A3("ADS_CLIENT_EVENT_TYPE_LAYOUT_SCHEDULED",H,c);t=g.K(N.B);for(F=t.next();!F.done;F=t.next())F.value.BN(H,c);TU(N,H);zMy(N,H)}else N=N.Rx.get(),g.El(N.J.D())|| +dz(N.J.D())||g.Iy(N.J.D())?N=!0:(KA("Composite VOD on legacy path."),N=!1),N&&KA("slot is unscheduled after been fulfilled.",H,c)}}; +xuf=function(N,H){if(!emD(N,H)&&!N.B)return!1;H.details.sts="20385";if(g$D(N))return uO(H.severity)&&(H=Object.assign({e:H.errorCode},H.details),H=new g.QP("qoe.restart",H)),N.rr(H.errorCode,H.details),rMd(N),!0;(0,g.Lh)()-N.Es.il>6048E5&&OO(N,"signature");return!1}; +WhL=function(N){this.value=N}; +qje=function(N,H,c){Y_.call(this,"display-underlay-text-grid-cards",N,{},H,c);this.interactionLoggingClientData=c}; +Ii3=function(){this.T={}}; +CRS=function(N,H,c,t){var h=this;t=t===void 0?{}:t;this.policy=H;this.qT=c;this.status=0;this.T=new eB;this.B=0;this.uo=this.U=this.L=!1;this.xhr=new XMLHttpRequest;this.xhr.open(t.method||"GET",N);if(t.headers)for(N=t.headers,H=g.K(Object.keys(N)),c=H.next();!c.done;c=H.next())c=c.value,this.xhr.setRequestHeader(c,N[c]);this.xhr.withCredentials=!0;this.xhr.onreadystatechange=function(){return h.zt()}; +this.xhr.onload=function(){return h.onDone()}; +this.xhr.onerror=function(){return h.onError()}; +this.xhr.fetch(function(O){h.T.append(O);h.B+=O.length;O=(0,g.Lh)();h.qT.Af(O,h.B)},function(){},t.body||null)}; +g.P2=function(N,H,c){var t=CW();return new g.Uz("IDB_NOT_SUPPORTED",{context:{caller:N,publicName:H,version:c,hasSucceededOnce:t==null?void 0:t.hasSucceededOnce}})}; +g.v3=function(N,H,c){N.S=c?uY(H,!0):H;N.S&&(N.S=N.S.replace(/:$/,""))}; +MW=function(N,H){H===N.Mv&&(N.Mv=void 0)}; +saS=function(N){if(isNaN(Number(N.timeoutSeconds))||!N.text||!N.ctaButton||!g.P(N.ctaButton,g.mM)||!N.brandImage)return!1;var H;return N.backgroundImage&&g.P(N.backgroundImage,fE)&&((H=g.P(N.backgroundImage,fE))==null?0:H.landscape)?!0:!1}; +lpy=function(N){this.T=N;N.Sf("/client_streamz/bg/el",g.iw("en"),g.iw("mk"))}; +mc=function(N){var H;if(!(H=km&&N.K4()&&N.f2()&&(N.drmProduct==="1"?!1:!0)&&N.N("html5_sabr_live_drm_streaming_xhr"))){H=N.K4()&&!N.f2()&&km;var c=N.K4()&&N.latencyClass!=="ULTRALOW"&&!N.isLowLatencyLiveStream&&N.N("html5_sabr_live_normal_latency_streaming_xhr"),t=N.isLowLatencyLiveStream&&N.N("html5_sabr_live_low_latency_streaming_xhr"),h=N.latencyClass==="ULTRALOW"&&N.N("html5_sabr_live_ultra_low_latency_streaming_xhr");H=H&&(c||t||h)}c=H;H=N.enableServerStitchedDai&&c&&N.N("html5_enable_sabr_ssdai_streaming_xhr"); +c=!N.enableServerStitchedDai&&c;t=N.K4()&&!km&&N.N("html5_enable_sabr_live_non_streaming_xhr");N=km&&(N.vH()||AG(N)&&N.N("html5_enable_sabr_for_lifa_eligible_streams"));return H||c||t||N}; +Wb=function(){dx.apply(this,arguments)}; +R2=function(N){return N.J.D().experiments.M4("enable_desktop_player_underlay")}; +zE=function(N){g.Gv.call(this,N,{W:"button",fq:["ytp-skip-intro-button","ytp-popup","ytp-button"],X:[{W:"div",K:"ytp-skip-intro-button-text",Wp:"Skip Intro"}]},100);var H=this;this.B=!1;this.T=new g.kT(function(){H.hide()},5E3); +this.QC=this.Gm=NaN;g.l(this,this.T);this.C=function(){H.show()}; +this.U=function(){H.hide()}; +this.L=function(){var c=H.J.getCurrentTime();c>H.Gm/1E3&&c=2160})}; +Due=function(N,H,c){var t=N.k_.get().getCurrentTimeSec(1,!1);N.Rx.get().J.D().vO()&&F6(N.Pp.get(),"sdai","onopp.1;evt."+c.event+";start."+c.startSecs.toFixed(3)+";d."+c.C6.toFixed(3));ig(N.B.get(),"OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",function(){var h=N.L.get(),O=H.adPlacementRenderer.renderer.adBreakServiceRenderer,F=H.contentCpn,M=H.adPlacementRenderer.adSlotLoggingData;Wt(N.Rx.get());var f=N.Pp;var d=h.Rx.get();d=g.Mx(d.J.D().experiments,"max_prefetch_window_sec_for_livestream_optimization"); +var W=h.Rx.get();var z=g.Mx(W.J.D().experiments,"min_prefetch_offset_sec_for_livestream_optimization");W=c.startSecs*1E3;W={D7:new Hv(W,W+c.C6*1E3),fu:!1,cueProcessedMs:t*1E3};var E=c.startSecs+c.C6;if(t===0)W.u7=new Hv(0,E*1E3);else{z=c.startSecs-z;var x=z-t;W.u7=x<=0?new Hv(z*1E3,E*1E3):new Hv(Math.floor(t+Math.random()*Math.min(x,d))*1E3,E*1E3)}O=mul(h,O,F,W,M,[new wye(c)]);$s(h.Rx.get())&&F6(f.get(),"abrsm","cpi."+c.identifier+";cps."+c.startSecs+";cpd."+c.C6+";cts."+t+";rbf."+W.u7.start);f.get().J.qE(c.startSecs- +t,W.u7.start/1E3-t);return[O]})}; +l7=function(N){this.T=N}; +Qt3=function(N){Mk(N,"impression")&&N.F1("clickthrough")}; +MY=function(N){this.hF=oF(N)}; +pys=function(N,H){if(N.N("html5_disable_ustreamer_constraint_for_sabr")&&AC(H.videoData))return wv;var c=N.wE.zf();N.N("html5_use_video_quality_cap_for_ustreamer_constraint")&&c&&c.dI>0&&dd(H.videoData.y5)&&(N=c.dI,H.videoData.y5=new jw(0,N,!1,"u"));return H.videoData.y5}; +sNL=function(N,H,c,t,h,O,F,M){if(!bDl(c,M===void 0?!1:M))return new S("Received invalid InstreamSurveyAdRenderer for VOD single survey.",{InstreamSurveyAdRenderer:c});var f=zT(c);if(f<=0)return new S("InstreamSurveyAdRenderer should have valid duration.",{instreamSurveyAdRenderer:c});var d=new So({current:null}),W=N8L(N,H,c,d,t,O,F);return u7s(N,t,O,f,h,function(z,E){var x=z.slotId,q=Ew(c);z=F(z);var r,w=(r=$M(H,t,c.layoutId,"createMediaBreakLayoutAndAssociatedInPlayerSlotForVodSurvey"))!=null?r: +CA(H.B.get(),"LAYOUT_TYPE_MEDIA_BREAK",x);x={layoutId:w,layoutType:"LAYOUT_TYPE_MEDIA_BREAK",Hp:"core"};r=W(w,E);var n=lQ(r.clientMetadata,"metadata_type_fulfilled_layout");n||KA("Could not retrieve overlay layout ID during VodMediaBreakLayout for survey creation. This should never happen.");q=[new Xe(t),new gG(f),new G3(q),d];n&&q.push(new rG(n.layoutType));return{Tsq:{layoutId:w,layoutType:"LAYOUT_TYPE_MEDIA_BREAK",S1:new Map,layoutExitNormalTriggers:[new mR(H.T,w)],layoutExitSkipTriggers:[new wG(H.T, +E.layoutId)],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[new Kc(H.T,E.layoutId)],layoutExitUserCancelledTriggers:[],Hp:"core",clientMetadata:new xd(q),z0:z(x)},U4o:r}})}; +om=function(N){if(!(this instanceof om))return new om(N);N=this.options=xT.assign({level:-1,method:8,chunkSize:16384,gi:15,Bsq:8,strategy:0,to:""},N||{});N.raw&&N.gi>0?N.gi=-N.gi:N.Pog&&N.gi>0&&N.gi<16&&(N.gi+=16);this.err=0;this.msg="";this.ended=!1;this.chunks=[];this.bG=new uBS;this.bG.Aj=0;var H=this.bG;var c=N.level,t=N.method,h=N.gi,O=N.Bsq,F=N.strategy;if(H){var M=1;c===-1&&(c=6);h<0?(M=0,h=-h):h>15&&(M=2,h-=16);if(O<1||O>9||t!==8||h<8||h>15||c<0||c>9||F<0||F>4)H=V0(H,-2);else{h===8&&(h=9); +var f=new Fxd;H.state=f;f.bG=H;f.wrap=M;f.Ni=null;f.qa=h;f.gy=1<>=7;O<30;O++)for(N$[O]=F<<7,h=0;h<1<=d.gy&&(H===0&&(qj(d.head),d.cO=0,d.wq=0,d.X1=0),c=new xT.rC(d.gy),xT.ji(c,O,F-d.gy,d.gy,0),O=c,F=d.gy);c=N.uc;t=N.lC;h=N.input;N.uc=F;N.lC=0;N.input=O;for(au(d);d.sF>=3;){O=d.cO;F=d.sF-2;do d.ac=(d.ac<0&&N.J.getPlayerSize().width<=H,H=N.J.J3()?112:H?70:78,N.J.getRootNode().classList.contains("ytp-fullscreen-grid-peeking")&&(N=getComputedStyle(N.J.getRootNode()).getPropertyValue("--ytp-grid-peek-height")||"36px",H+=Number(N.replace("px","")))):H=62,g.bi(c)&&(H=54));return H}; +g.Vj=function(){return!!eE(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],document)}; +Ipl=function(N,H){N instanceof String&&(N+="");var c=0,t=!1,h={next:function(){if(!t&&c=5)return g.aS(Error("Failed to fetch attestation challenge after "+(H+" attempts; not retrying for 24h."))),DD(N,864E5),q.return({challenge:"",yl:{},BU:void 0,bgChallenge:void 0});f=1E3*Math.pow(2,H-1)+Math.random()*1E3;return q.return(new Promise(function(r){g.ii(0, +function(){r(f3(N,H))},f)})); +case 3:d=Number(O.t)||7200;DD(N,d*1E3);W=void 0;if(!("c1a"in O&&t.bgChallenge)){q.rE(10);break}z=Hyh(t.bgChallenge);g.Xy(q,11);return g.a(q,XcZ(pa(),z),13);case 13:g.VI(q,12);break;case 11:return E=g.Lq(q),g.aS(E),q.return({challenge:h,yl:O,BU:W,bgChallenge:z});case 12:return g.Xy(q,14),W=new gh({challenge:z,Yg:{LF:"aGIf"}}),g.a(q,W.o3,16);case 16:g.VI(q,10);break;case 14:x=g.Lq(q),g.aS(x),W=void 0;case 10:return q.return({challenge:h,yl:O,BU:W,bgChallenge:z})}})}; +g.G0=function(N){return P_(N)==="WEB_UNPLUGGED"}; +fU3=function(N,H){var c,t,h,O,F,M,f,d,W,z,E;return g.Y(function(x){switch(x.T){case 1:c=H.isAd(),t=!c,h=c?1:3,O=0;case 2:if(!(O0)){x.rE(5);break}return g.a(x,Uc(5E3),6);case 6:F=new g.ti("Retrying OnePlatform request",{attempt:O}),g.aS(F);case 5:return g.Xy(x,7),g.a(x,iyf(N,H),9);case 9:return x.return();case 7:M=g.Lq(x);f=g8(M);d=f.errorCode;W=N.D();z=W.N("html5_use_network_error_code_enums")?401:"401";t&&d==="manifest.net.badstatus"&&f.details.rc===z&&(t=!1,O===h-1&&(h+= +1));if(O===h-1)return E=c5L(c,f.details),E.details.backend="op",E.details.originec=d,x.return(Promise.reject(E));if(d==="auth"||d==="manifest.net.retryexhausted")return x.return(Promise.reject(f));N.handleError(f);if(uO(f.severity)){x.rE(4);break}case 3:O++;x.rE(2);break;case 4:return x.return(Promise.reject(c5L(c,{backend:"op"})))}})}; +cm=function(N){RZ.call(this,N.callback,N.slot,N.C2,N.Pp,N.r_,N.ea,N.k_,N.YO,N.V4,N.JZ,N.q_,N.PQ,N.X7,N.Rx,N.B1,N.dR,N.context);var H=this;this.adCpn="";this.c7=this.dU=0;this.aK=W9(function(){G9v(hD(H));H.qF.AF(H.slot,H.layout)}); +this.gw=W9(function(){Ree(hD(H));H.ws!=="rendering_stop_requested"&&H.q_(H);H.layoutExitReason?H.qF.Pr(H.slot,H.layout,H.layoutExitReason):oUR(H)}); +this.j7=N.j7;this.Nc=N.Nc;this.kO=N.kO;this.Mi=N.Mi;this.bl=N.bl;this.q_=N.q_;if(!this.fG()){dy(this.Rx.get(),"html5_disable_media_load_timeout")||(this.iB=new g.kT(function(){H.Er("load_timeout",new sz("Media layout load timeout.",{},"ADS_CLIENT_ERROR_MESSAGE_MEDIA_LAYOUT_LOAD_TIMEOUT",!0),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED")},1E4)); +N=kd(this.Rx.get());var c=HW(this.Rx.get());N&&c&&(this.PD=new g.kT(function(){var t=lQ(H.layout.clientMetadata,"metadata_type_preload_player_vars");t&&H.Nc.get().J.preloadVideoByPlayerVars(t,2,300)}))}}; +Y7f=function(N,H){return tkd(N.Rx.get())?new l8(N.T,H,["normal","error","skipped"]):new l8(N.T,H,["normal"])}; +g.hc3=function(){}; +g.nQ=function(N){var H=g.gx(N);OyL.includes(H)&&(H="www.youtube.com");return N.protocol+"://"+H}; +nZ=function(N){this.value=N}; +tUe=function(N,H){var c=2,t={};try{var h=FaZ(H);c=yM(h,1);var O=h.getMessage();wU(h,Xu,3).length&&(t["grpc-web-status-details-bin"]=H)}catch(F){N.xhr&&N.xhr.getStatus()===404?(c=5,O="Not Found: "+String(N.xhr.Z)):(c=14,O="Unable to parse RpcStatus: "+F)}return{code:c,details:O,metadata:t}}; +x$L=function(N,H){var c,t=N.S;if(c=M3w(t))c.startSecs+=N.NT;var h=N.NT,O=0;N.policy.Nyf?N.mR instanceof Cp&&(O=N.mR.JJ):O=t.JJ;return new YB(t.cz,h,H?O:N.TW,t.ingestionTime,"sq/"+t.cz,void 0,void 0,H,c)}; +g.jp=function(N){return N.match($qh)}; +od=function(N){this.value=N}; +TAd=function(N){var H=fh(N),c=hO(N,"position"),t=c=="fixed"||c=="absolute";for(N=N.parentNode;N&&N!=H;N=N.parentNode)if(N.nodeType==11&&N.host&&(N=N.host),c=hO(N,"position"),t=t&&c=="static"&&N!=H.documentElement&&N!=H.body,!t&&(N.scrollWidth>N.clientWidth||N.scrollHeight>N.clientHeight||c=="fixed"||c=="absolute"||c=="relative"))return N;return null}; +jby=function(N,H,c){if(!H)return N.length>=1?N[N.length-1]:null;for(var t=g.K(N),h=t.next();!h.done;h=t.next())if(h=h.value,h.width&&h.height&&(c&&h.width>=H||!c&&h.height>=H))return h;for(H=N.length-1;H>=0;H--)if(c&&N[H].width||!c&&N[H].height)return N[H];return N[0]}; +wEZ=function(N){if(!N.T&&!N.L.isEmpty()){var H=N.L.remove();N.T=D1s(N,H)}}; +MkZ=function(N){this.hF=oF(N,4)}; +jN=function(N){return N.L4[N.L4.length-1].type===4}; +fzl=function(N,H){return H?!!N.T.get(H):!1}; +rx=function(N){this.value=N}; +g.Hw=function(N,H,c){N=N.split(".");c=c||g.di;for(var t;N.length&&(t=N.shift());)N.length||H===void 0?c[t]&&c[t]!==Object.prototype[t]?c=c[t]:c=c[t]={}:c[t]=H}; +dqs=function(N){if(!Yhf(N))return!1;N=g.P(N.adStart,mf);return N?wh(N)?!0:(KA("Invalid LASR with notify"),!1):!1}; +Wav=function(N){N.updateValue("channelLink","");N.updateValue("channelName","");g.bi(N.api.D())||N.api.N("enable_channel_title_always_focusable")?N.updateValue("channelTitleFocusable","0"):N.updateValue("channelTitleFocusable","-1")}; +to=function(N,H){this.info=N;this.B=H;this.T=null;this.U=this.L=-1;this.timestampOffset=0;this.isLocked=this.Y=!1;this.S=this.info.mR.RL()&&!this.info.T}; +qhD=function(N,H){this.statusCode=N;this.message=H;this.B=this.heartbeatParams=this.errorMessage=null;this.T={};this.nextFairplayKeyId=null}; +n3=function(N,H){H=g.K(zcZ[H]);for(var c=H.next();!c.done;c=H.next())N.J.ao(c.value)}; +FrZ=function(N){this.j=N;this.L=this.B=this.mediaTime=NaN;this.U=this.T=!1;this.S=.001;g.Iy(N)&&(this.S=.01)}; +pu=function(N){if(!BJ(N.videoData))return NaN;var H=0;N.loader&&N.videoData.T&&(H=WK(N.videoData)?N.loader.pS.sI()||0:N.videoData.T.Ix);return(0,g.Lh)()/1E3-N.kH()-H}; +OAR=function(N,H){Xa(N,H,2);H=N.T.end();vE(N,H);H.push(N.B);return H}; +xqS=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x){for(var q=0,r="",w=g.K(N),n=w.next();!n.done;n=w.next())n=n.value,r||(r=n.itag),n.audioChannels&&n.audioChannels>q&&(q=n.audioChannels,r=n.itag);h=new p8(h,"application/x-mpegURL",{audio:new wQ(0,q),video:new Uo(O,F,M,null,void 0,d,void 0,void 0,E),YH:z,R1:r});N=new EtR(N,H,c?[c]:[],t,!!x);N.U=W?W:1369843;return new mH(h,N,f)}; +Np=function(N){var H=J8(N).nonce;H||(H=g.Xj(16),J8(N).nonce=H);return H}; +qoy=function(N){dK.call(this,N);var H=this;wl(this.api,"getAudioTrackState",function(){return H.api.Lb(0)})}; +CtR=function(N,H){ht(N.api.D())&&(H?N.S.show():N.S.hide())}; +gtR=function(N,H,c){if(N.api.N("web_player_nitrate_promo_tooltip")&&N.api.getPresentingPlayerType(!0)!==2){var t=N.api.getVideoData(1);if(t==null?0:t.tooltipRenderer){t=t.tooltipRenderer;var h;if(h=!N.mF){if(!(H=!H)){var O,F,M;H=((O=t.tooltipDisplayStrategy)==null?void 0:O.type)!=="TOOLTIP_DISPLAY_TYPE_DO_NOT_SHOW_IMMEDIATELY"&&((F=t.promoConfig)==null?void 0:F.promoId)!=="dtip-edu-player-iseecaptions"&&((M=t.promoConfig)==null?void 0:M.promoId)!=="dtip-edu-player-tc-m2"}h=H}h&&(N.mF=new lz3(t,N.api), +g.l(N,N.mF),g.aG(N.api,N.mF.element,9));var f;(f=N.mF)==null||Kay(f,t,c)}}}; +z_s=function(N,H,c,t){N.Xf(5);var h=!!N.qf&&r5w.includes(g.dD(N.qf)||"");try{var O=new gh({program:H,globalName:c,Yg:{disable:!g.sf("att_web_record_metrics")||!g.sf("att_skip_metrics_for_cookieless_domains_ks")&&h,LF:"aGIf"}});O.o3.then(function(){N.Xf(6);t&&t(H)}); +N.Hf(O)}catch(F){N.Xf(7),F instanceof Error&&g.aS(F)}}; +yy=function(N){var H=np();wx(H,N);return g.tI(H,fDv())}; +g.TA=function(N){g.vs(N.info.mR.info)||N.info.mR.info.RW();if(N.L!==-1)return N.L;if(N.T&&mqy(N.T))return N.L=mqy(N.T),N.L;if(g.vs(N.info.mR.info)){var H=g.sn(N);for(var c=N.info.mR.T,t=NaN,h=NaN,O=0;dJ(H,O);){var F=WB(H,O);F.type===1936286840?h=F.data.getUint32(F.dataOffset+8):F.type===1836476516?h=g.ZW(F):F.type===1952867444&&isNaN(t)&&(t=g.pO(F));O=z9(F.type)?O+8:O+F.size}!h&&c&&(h=fl(c));H=t/h}else H=new Bs(g.sn(N)),c=N.S?H:new Bs(new DataView(N.info.mR.T.buffer)),t=HM(c),c=H.pos,H.pos=0,Pf(H)? +$R(H,231)?(t=iK(H)*t/1E9,H.pos=c,H=t):(H.pos=c,H=NaN):(H.pos=c,H=NaN);N.L=H||N.info.U;return N.L}; +bBw=function(N){kp[N]=N in kp?kp[N]+1:0;return kp[N]}; +Dql=function(N){for(var H in N.T)rP(N.T[H].info.mimeType)||wFL(N.T[H].index,Infinity)}; +urR=function(N,H){var c=new M0(N,H),t=["This setting only applies to the current video. Adjust caption visibility in "," for all videos."],h;g.gu(N.D())&&(h={W:"div",K:"ytp-panel-footer-content",X:[{W:"span",Wp:t[0]},{W:"a",K:"ytp-panel-footer-content-link",Wp:"Settings",V:{href:"/account_playback"}},{W:"span",Wp:t[1]}]});g.aQ.call(this,"Subtitles/CC",g.Se.SUBTITLES,N,H,"Options",function(){g.Q7(H,c)},h); +var O=this;this.J=N;this.R4=H;this.tracks={};this.U=new g.kT(function(){Qbv(O,!1)},3E3); +g.l(this,this.U);this.countLabel=new g.e({W:"div",X:[{W:"span",Wp:"Subtitles/CC"},{W:"span",K:"ytp-menuitem-label-count",Wp:"{{content}}"}]});g.l(this,this.countLabel);g.et(this,this.countLabel);N.N("web_settings_menu_icons")&&this.setIcon(pFS(N.N("delhi_modern_web_player_icons")));this.T=new DA(N,H);g.l(this,this.T);this.T.subscribe("select",this.nR,this);this.L=c;g.l(this,this.L);this.L.subscribe("settingChange",this.Xn,this);H.subscribe("show",this.wdf,this);this.G(N,"videodatachange",this.Df); +this.G(N,"onApiChange",this.Df);this.G(N,"onCaptionsTrackListChanged",this.Df);this.G(N,"captionschanged",this.Df);N.createClientVe(this.element,this,127300);this.Df()}; +lD=function(){}; +nty=function(N){J53=N}; +UqS=function(N,H){if(N.api.isMinimized())return!1;var c=SoD(H.image),t=c;c.widthMath.max(F.maxWidth||0,F.maxHeight||0)?M:F,H={itag:c.itag,T0:H,ll:O,maxWidth:Math.max(M.maxWidth||0,F.maxWidth|| +0),maxHeight:Math.max(M.maxHeight||0,F.maxHeight||0),maxFramerate:h,Qi:c.Qi},k_(N,o4.BITRATE)&&(H.maxBitrateBps=c.maxBitrateBps),N.T.set(t,H)):N.T.set(t,F)}; +Vkv=function(){this.state=1;this.BU=null;this.qf=void 0}; +Law=function(N,H){H=g.K(H);for(var c=H.next();!c.done;c=H.next()){var t=c.value;if(t.slotType==="SLOT_TYPE_PLAYER_BYTES"&&t.fulfilledLayout)if(c=void 0,t.fulfilledLayout.renderingContent)c=lQ(t.fulfilledLayout.clientMetadata,"metadata_type_player_vars");else{if(t.fulfilledLayout.Yb){t=g.K(t.fulfilledLayout.Yb);for(var h=t.next();!h.done&&(h=h.value,!h.renderingContent||!(c=lQ(h.clientMetadata,"metadata_type_player_vars")));h=t.next());}}else c=void 0;if(c){N.Nc.get().J.preloadVideoByPlayerVars(c, +2,300);break}}}; +iN=function(){g.NA("_lact",window)==null&&(IlR(),g.NA("_lact",window));var N=Date.now();g.Hw("_lact",N,window);g.NA("_fact",window)==-1&&g.Hw("_fact",N,window);(N=g.NA("ytglobal.ytUtilActivityCallback_"))&&N()}; +xfD=function(N,H,c,t,h){if(!wt(H))return new S("Invalid PlayerBytesAdLayoutRenderer");var O=g.P(H.renderingContent,$o);if(!O||O.durationMilliseconds===void 0)return new S("Invalid endcap renderer");var F={layoutId:H.adLayoutMetadata.layoutId,layoutType:H.adLayoutMetadata.layoutType,Hp:"adapter"};t=[new gG(O.durationMilliseconds),new G3({impressionCommands:void 0,abandonCommands:O.abandonCommands?[{commandExecutorCommand:O.abandonCommands}]:void 0,completeCommands:O.completionCommands}),new Xe(t), +new rG("LAYOUT_TYPE_ENDCAP")];if(h){t.push(new hG(h.RH.adPodIndex-1));t.push(new Yy(h.RH.adPodIndex));var M;t.push(new zx((M=h.adPodSkipTarget)!=null?M:-1))}return Object.assign({},F,iQ,{renderingContent:H.renderingContent,clientMetadata:new xd(t),S1:O.skipPings?new Map([["skip",O.skipPings]]):new Map,z0:q5(c,N)(F),adLayoutLoggingData:H.adLayoutMetadata.adLayoutLoggingData})}; +aWt=function(N,H,c,t,h){g.L.call(this);var O=this,F=dN(function(){return new Wd(O.Rx)}); +g.l(this,F);var M=dN(function(){return new zR(F,O.Rx)}); +g.l(this,M);var f=dN(function(){return new EP}); +g.l(this,f);var d=dN(function(){return new xh(N)}); +g.l(this,d);var W=dN(function(){return new qV(F,M,O.Rx)}); +g.l(this,W);var z=dN(function(){return new C$}); +g.l(this,z);this.oD=dN(function(){return new ph(H)}); +g.l(this,this.oD);this.V4=dN(function(){return new l7(h)}); +g.l(this,this.V4);this.YO=dN(function(){return new K$(H)}); +g.l(this,this.YO);this.kO=dN(function(){return new gN(H)}); +g.l(this,this.kO);this.Nc=dN(function(){return new rN(H)}); +g.l(this,this.Nc);this.Mi=dN(function(){return new mT(H)}); +g.l(this,this.Mi);this.Rx=dN(function(){return new wN(H)}); +g.l(this,this.Rx);var E=dN(function(){return new Dk(t)}); +g.l(this,E);var x=dN(function(){return new Qx(O.Rx)}); +g.l(this,x);this.bl=dN(function(){return new p$(H)}); +g.l(this,this.bl);this.uW=dN(function(){return new r8}); +g.l(this,this.uW);this.ea=dN(function(){return new u7(H,z,O.Rx)}); +g.l(this,this.ea);var q=J1({ea:this.ea,Rx:this.Rx,Uy:x}),r=q.context,w=q.dR;this.j1=q.j1;this.jg=dN(function(){return new n$(H,O.Rx,O.Pp)}); +g.l(this,this.jg);this.ID=dN(function(){return new ST(H)}); +g.l(this,this.ID);this.k_=dN(function(){return new Pd(H,O.ea,O.Rx)}); +g.l(this,this.k_);this.mx=dN(function(){return new UP}); +g.l(this,this.mx);q=dN(function(){return new XP(F,W,M,O.Rx,x,"SLOT_TYPE_ABOVE_FEED",O.k_,O.G6,O.b2)}); +g.l(this,q);this.j7=dN(function(){return new Vx(O.Rx)}); +this.r_=dN(function(){return new L$(O.k_,H,O.Rx)}); +g.l(this,this.r_);this.Pp=dN(function(){return new Zk(H,f,O.r_,O.ea,O.j1,O.Rx,w)}); +g.l(this,this.Pp);this.HZ=new ai(pv,eT,function(p,U,X,A){return GO(M.get(),p,U,X,A)},d,W,M,x,this.Rx,this.ea); +g.l(this,this.HZ);this.p6=new Yh(d,q,c,this.Rx,N,this.ea,this.k_,this.YO);g.l(this,this.p6);var n=new A1(H,this.p6,this.k_,this.ea,this.jg);this.GE=dN(function(){return n}); +this.rW=n;this.G6=new vd(d,W,this.GE,this.jg,this.k_,this.Rx,this.Pp,this.ID);g.l(this,this.G6);this.qP=new sP(d,W,this.kO,this.GE,r);g.l(this,this.qP);this.cH=new Bd(this.Rx,d,W,q,this.ea,this.qP,c,this.Nc);g.l(this,this.cH);this.rH=dN(function(){return new yx(E,M,x,O.Rx,O.Pp,O.k_,O.ID)}); +g.l(this,this.rH);this.m7=dN(function(){return new GR}); +g.l(this,this.m7);this.Ro=new Ri(N,this.oD,this.Rx);g.l(this,this.Ro);this.F3=new oi(N);g.l(this,this.F3);this.iY=new m_(N);g.l(this,this.iY);this.t3=new kh(N,this.GE,r);g.l(this,this.t3);this.q2=new Ii(N,this.kO,this.k_,this.ea,r);g.l(this,this.q2);this.n$=new b7(N,this.ea);g.l(this,this.n$);this.b2=new NC(N,this.jg,this.k_,this.Pp,this.GE,this.G6);g.l(this,this.b2);this.N2=new Hs(N);g.l(this,this.N2);this.PH=new iS(N);g.l(this,this.PH);this.jE=new jr(N);g.l(this,this.jE);this.W$=new w8(N);g.l(this, +this.W$);this.PH=new iS(N);g.l(this,this.PH);this.Oy=dN(function(){return new cs}); +g.l(this,this.Oy);this.q0=dN(function(){return new th(O.k_)}); +g.l(this,this.q0);this.zb=dN(function(){return new ZyD(O.oD,O.Pp,N,f,O.r_)}); +g.l(this,this.zb);this.Ii=dN(function(){return new hh(O.cH,d,F)}); +g.l(this,this.Ii);this.gH=dN(function(){return new On(O.Rx,O.Pp,O.N2,O.r_)}); +g.l(this,this.gH);this.dH=dN(function(){return new F_(N,O.PH,O.N2,O.ea,O.ID,O.k_,O.mx,O.Pp,z,O.jg,O.r_,O.j7,O.Nc,O.kO,O.YO,O.Mi,O.V4,O.bl,O.Rx,f,r,w)}); +g.l(this,this.dH);this.e8=dN(function(){return new Yol(O.k_,O.Pp,O.V4,O.Rx,O.r_,O.ea)}); +g.l(this,this.e8);this.n1=dN(function(){return new A5w(O.oD,O.k_,O.Pp,f,O.r_,O.iY,O.W$,O.V4,O.Rx,c)}); +g.l(this,this.n1);this.tS=dN(function(){return new ZTh(O.oD,O.Pp,f)}); +g.l(this,this.tS);this.Wl=new Q6(N,this.uW,F);g.l(this,this.Wl);this.CC={jt:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.cH],["OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",this.G6],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.HZ],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.p6],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.qP]]),Yd:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.rH],["SLOT_TYPE_ABOVE_FEED",this.m7],["SLOT_TYPE_FORECASTING",this.m7], +["SLOT_TYPE_IN_PLAYER",this.m7],["SLOT_TYPE_PLAYER_BYTES",this.m7],["SLOT_TYPE_PLAYER_UNDERLAY",this.m7],["SLOT_TYPE_PLAYBACK_TRACKING",this.m7],["SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM",this.m7]]),tZ:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Ro],["TRIGGER_TYPE_SURVEY_SUBMITTED",this.Ro],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.F3],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.F3],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.F3],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.F3],["TRIGGER_TYPE_SLOT_ID_ENTERED", +this.F3],["TRIGGER_TYPE_SLOT_ID_EXITED",this.F3],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.F3],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.F3],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.F3],["TRIGGER_TYPE_SLOT_ID_UNSCHEDULED",this.F3],["TRIGGER_TYPE_ON_DIFFERENT_SLOT_ID_ENTER_REQUESTED",this.F3],["TRIGGER_TYPE_CLOSE_REQUESTED",this.iY],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.t3],["TRIGGER_TYPE_PROGRESS_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER",this.q2],["TRIGGER_TYPE_SEEK_FORWARD_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER", +this.q2],["TRIGGER_TYPE_SEEK_BACKWARD_BEFORE_LAYOUT_ENTER_TIME",this.q2],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.q2],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.q2],["TRIGGER_TYPE_MEDIA_TIME_RANGE_ALLOW_REACTIVATION_ON_USER_CANCELLED",this.q2],["TRIGGER_TYPE_NOT_IN_MEDIA_TIME_RANGE",this.q2],["TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED",this.n$],["TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED",this.n$],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.N2],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID", +this.t3],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.jE],["TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER",this.W$],["TRIGGER_TYPE_AD_BREAK_STARTED",this.PH],["TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_MATCHED",this.b2],["TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_NOT_MATCHED",this.b2],["TRIGGER_TYPE_NEW_SLOT_SCHEDULED_WITH_BREAK_DURATION",this.b2],["TRIGGER_TYPE_PREFETCH_CACHE_EXPIRED",this.b2],["TRIGGER_TYPE_CUE_BREAK_IDENTIFIED",this.b2]]),iH:new Map([["SLOT_TYPE_ABOVE_FEED",this.Oy], +["SLOT_TYPE_AD_BREAK_REQUEST",this.Oy],["SLOT_TYPE_FORECASTING",this.Oy],["SLOT_TYPE_IN_PLAYER",this.Oy],["SLOT_TYPE_PLAYER_BYTES",this.q0],["SLOT_TYPE_PLAYER_UNDERLAY",this.Oy],["SLOT_TYPE_PLAYBACK_TRACKING",this.Oy],["SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM",this.Oy]]),lK:new Map([["SLOT_TYPE_ABOVE_FEED",this.zb],["SLOT_TYPE_AD_BREAK_REQUEST",this.Ii],["SLOT_TYPE_FORECASTING",this.gH],["SLOT_TYPE_PLAYER_BYTES",this.dH],["SLOT_TYPE_PLAYBACK_TRACKING",this.e8],["SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM", +this.e8],["SLOT_TYPE_IN_PLAYER",this.n1],["SLOT_TYPE_PLAYER_UNDERLAY",this.tS]])};this.listeners=[f.get()];this.r5={cH:this.cH,FE:this.Rx.get(),yS:this.V4.get(),aL:this.k_.get(),p6:this.p6,uY:F.get(),m2:this.uW.get(),Ga:this.Ro,RU:f.get(),MP:this.ea.get()}}; +g.mE=function(N){this.tag=N}; +K0=function(N,H){g.e.call(this,{W:"div",fq:["ytp-fullscreen-grid"],X:[{W:"button",fq:["ytp-fullscreen-grid-expand-button","ytp-button"],V:{"aria-keyshortcuts":"v","data-title-no-tooltip":"{{data-title-no-tooltip}}","data-tooltip-target-id":"ytp-fullscreen-grid-expand-button","data-tooltip-offset-y":"-10"},X:["{{icon}}"]},{W:"div",K:"ytp-fullscreen-grid-hover-overlay",V:{"aria-keyshortcuts":"v","data-title-no-tooltip":"{{data-title-no-tooltip}}","data-tooltip-target-id":"ytp-fullscreen-grid-expand-button", +"data-tooltip-offset-y":"-70"}},{W:"div",K:"ytp-fullscreen-grid-main-content",X:[{W:"div",K:"ytp-fullscreen-grid-stills-container"}]}]});this.player=N;this.stills=[];this.videoData=null;this.currentState=0;this.S=this.player.N("web_player_use_external_grid_component");this.B=this.Sa("ytp-fullscreen-grid-main-content");this.U=this.Sa("ytp-fullscreen-grid-stills-container");this.S&&(this.U.style.display="none");this.L=new g.Ww(this);g.l(this,this.L);this.C=H;if(this.B&&this.U){if(N=this.Sa("ytp-fullscreen-grid-hover-overlay"))this.G(N, +"click",this.Y),XW(this.player,N,this);if(N=this.Sa("ytp-fullscreen-grid-expand-button"))this.G(N,"click",this.Y),XW(this.player,N,this);if(N=this.player.getVideoData(1))this.videoData=N;this.player.createClientVe(this.B,this,223051);this.L.G(this.player,"videodatachange",this.onVideoDataChange)}}; +Q8=function(N,H){g.e.call(this,{W:"button",fq:["ytp-button","ytp-overflow-button"],V:{title:N.N("player_tooltip_data_title_killswitch")?"More":"","data-tooltip-title":"More","aria-haspopup":"true","aria-owns":H.element.id},X:[{W:"div",K:"ytp-overflow-icon",X:[{W:"svg",V:{height:"100%",viewBox:"-5 -5 36 36",width:"100%"},X:[{W:"path",V:{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",fill:"#fff"}}]}]}]}); +var c=this;this.J=N;this.J9=H;this.visible=!1;N.createClientVe(this.element,this,16499);this.G(N,"videoplayerreset",this.Df);this.G(N,"appresize",this.Df);this.G(N,"fullscreentoggled",this.Df);this.G(N,"presentingplayerstatechange",this.Df);this.Df();XW(N,this.element,this);this.listen("click",function(){N.logClick(c.element);l4(H,c.element,!1)}); +this.G(H.closeButton,"click",function(){c.focus()})}; +azl=function(N){var H=Math,c=H.round,t=Math.min((0,g.Lh)()-N.L,N.B);H=c.call(H,(N.B-t)/1E3);N.updateValue("duration",WG({seconds:H}));H<=0&&N.T?N.stopTimer():N.T&&N.T.start()}; +oIw=function(N,H,c,t,h,O,F,M,f,d,W){N=ecR(N,H,"core",c,t,h,O,F,M,f,d,void 0,W);return{layoutId:N.layoutId,layoutType:N.layoutType,S1:N.S1,layoutExitNormalTriggers:N.layoutExitNormalTriggers,layoutExitSkipTriggers:N.layoutExitSkipTriggers,layoutExitMuteTriggers:N.layoutExitMuteTriggers,layoutExitUserInputSubmittedTriggers:N.layoutExitUserInputSubmittedTriggers,layoutExitUserCancelledTriggers:N.layoutExitUserCancelledTriggers,Hp:N.Hp,clientMetadata:new xd(N.ub),z0:N.z0,adLayoutLoggingData:N.adLayoutLoggingData}}; +XIL=function(N){var H,c;return g.Y(function(t){return t.T==1?g.a(t,yf(N),2):t.T!=3?(H=t.B,c=void 0,g.a(t,g.zu(H,["hotConfigStore"],{mode:"readwrite",Zt:!0},function(h){return g.Xh(h.objectStore("hotConfigStore").index("hotTimestampIndex"),{direction:"prev"},function(O){c=O.getValue()})}),3)):t.return(c)})}; +g.It=function(N){return!!(N.WG||N.Jg||N.L2||N.hlsvp||N.PJ())}; +vtl=function(N,H){$z(N,1,H.videoId);d8(N,2,H.lmt)}; +sbt=function(N,H){if(H=H.content&&H.content.confirmDialogRenderer||null)N.U=new pE(N.api,N.layoutId,N.interactionLoggingClientData,N.yS),g.l(N,N.U),N.U.init(Gx("ad-mute-confirm-dialog"),H,N.macros),N.U.Jl(N.Ix),N.U.subscribe("b",function(){return N.publish("c")})}; +AMw=function(N,H,c,t,h){var O=new Os(N.T,c),F=[new gX(N.T,H)];N=[new rX(N.T,H),new mZ(N.T,t)];return{slotId:H,slotType:"SLOT_TYPE_IN_PLAYER",slotPhysicalPosition:1,slotEntryTrigger:O,slotFulfillmentTriggers:F,slotExpirationTriggers:N,Hp:"core",clientMetadata:new xd([new pZ(h({slotId:H,slotType:"SLOT_TYPE_IN_PLAYER",slotPhysicalPosition:1,Hp:"core",slotEntryTrigger:O,slotFulfillmentTriggers:F,slotExpirationTriggers:N},c))]),adSlotLoggingData:void 0}}; +uI=function(){this.B={};this.T=null}; +g.Xj=function(N){N=oB(N);for(var H=[],c=0;c=0?N-H:0}; +fTs=function(N,H,c,t,h){var O=!1;t=er(N,t,h,function(F){var M=WTe(F,c,H);O=M!==F&&M!=null;return M}); +if(t!=null)return O&&!bN(t)&&my(N,H),t}; +g.ots=function(N){if(N.videoData&&N.videoData.iJ){for(var H=[N.videoData.iJ],c=g.K(Object.keys(N.T)),t=c.next();!t.done;t=c.next())t=t.value,N.yl[t]&&N.T[t]&&(t=N.T[t](N.yl))&&H.push(t);return H.join("&")}return null}; +Iz3=function(N){dK.call(this,N);var H=this;this.T=!1;N.addEventListener("settingsMenuInitialized",function(){kJf(H)}); +N.addEventListener("highlightSettingsMenu",function(c){kJf(H);var t=H.menuItem;c==="menu_item_cinematic_lighting"&&(g.bV(t.element,"ytp-menuitem-highlighted"),g.bV(t.element,"ytp-menuitem-highlight-transition-enabled"),t.B.start())}); +wl(N,"updateCinematicSettings",function(c){H.updateCinematicSettings(c)})}; +vyZ=function(N,H){var c=N.J.D();g.l6(c)||c.controlsType!=="3"||N.J.BO().s7(H)}; +lZ=function(N){return N.localStorage===void 0?new Xb("yt-client-location"):N.localStorage}; +pD=function(N,H,c,t){sE.call(this,N,{W:"div",K:"ad-simple-attributed-string"},"ad-simple-attributed-string",H,c,t);this.hide()}; +lw=function(N){N=N.Z.sI()+N.Ix.sI()||0;N=isNaN(N)?.5:N;return N=Math.min(N,5)}; +jZR=function(N,H){H=N.T&&!H;return N.yg||H?new g.VD(new g.DM({JJf:N.yg,Qk:H})):new g.VD}; +V8=function(N){return Hg(N)&&!g.G0(N)}; +mH=function(N,H,c){this.T=N;this.B=H;this.expiration=c;this.JF=null}; +byL=function(N,H){var c=!g.fk(N,H);g.QH(N,H,c)}; +i8h=function(N,H,c){if(N.policy.oG&&N.policy.B)return!(N.B===1||N.B===2||!N.policy.Bd&&N.B===3&&c>=N.U);if(N.B===1||N.B===2)return!1;if(N.B!==0&&H===N.audioTrack){if(N.policy.B)return NQS(N.videoTrack,c)||NQS(N.videoTrack,c+1);N=H8t(N.videoTrack);if(c>(N?N.Y_:-1))return!1}return!0}; +cEt=function(N){var H=A9D();if(H.values){H=H.values;for(var c={},t=g.K(Object.keys(N.values)),h=t.next();!h.done;h=t.next()){h=h.value;H[h]&&N.B[h]&&(N.values[h]+=H[h]-N.B[h]);var O=N,F=O;if(!F.values[h]){var M=A9D();F.values=M.values||{};F.Gl=M.halfLives||{};F.B=M.values?Object.assign({},M.values):{}}c[h]=O.values[h]&&O.Gl[h]?O.values[h]/Math.pow(2,O.T/O.Gl[h]):0}N.B=c}H=N.Gl;c={};c.values=N.B;c.halfLives=H;g.h9("yt-player-memory",c,2592E3)}; +tR3=function(N,H){H?N.Z||(N.element.removeAttribute("aria-disabled"),N.Z=new g.la(N.progressBar,!0),N.api.N("enable_smart_skip_player_controls_shown_on_web_increased_triggering_sensitivity")&&N.Z.subscribe("hoverstart",N.rns,N),N.Z.subscribe("hovermove",N.kUl,N),N.Z.subscribe("hoverend",N.JnR,N),N.Z.subscribe("dragstart",N.I6p,N),N.Z.subscribe("dragmove",N.pUS,N),N.Z.subscribe("dragend",N.NkR,N),N.api&&N.api.N("delhi_modern_web_player")&&N.api.N("delhi_modern_web_player_cutout")&&(N.TE=new g.la(N.progressBar, +!0),N.TE.subscribe("hoverstart",function(){N.Bd=!0;rl(N)},N),N.TE.subscribe("hoverend",function(){N.Bd=!1; +rl(N)},N)),N.Mz=N.listen("keydown",N.DM)):N.Z&&(N.element.setAttribute("aria-disabled","true"),N.G3(N.Mz),N.Z.cancel(),N.Z.dispose(),N.Z=null)}; +qqL=function(N,H){switch(H){case 2:H="Hide videos";var c="Hide recommendations grid";break;default:H="More videos",c="Show recommendations grid"}N.updateValue("title",H);N.element.ariaLabel=c;N.L.textContent=H}; +hYL=function(){this.U=this.T=this.L=this.B=this.S=0}; +egd=function(){if(g.sf("bg_st_hr"))return"havuokmhhs-0";var N,H=((N=globalThis.performance)==null?void 0:N.timeOrigin)||0;return"havuokmhhs-"+Math.floor(H)}; +FGw=function(N,H){return N.wk.hws&&H.reason==="l"||N.wk.Qo?!1:N.wk.zi?!0:H.reason==="l"||H.reason==="b"||H.reason==="o"}; +AZL=function(N,H){return N.gE?H?function(){H().then(function(){N.flush()})}:function(){N.flush()}:function(){}}; +LE=function(N,H){N=g.K(N.listeners);for(var c=N.next();!c.done;c=N.next())H(c.value)}; +O8Z=function(N,H){dF.call(this,1,arguments);this.timer=H}; +FNw=function(N){for(var H=new Uint8Array(N.length),c=0;c1){g.aS(new g.ti("Exit already started",{current:N.currentState}));var c=!1}else c=!0;if(!c)return!1;N.currentState=2;N.T=H;return!0}; +TQZ=function(N){var H=cq(Number(N));if(tK(H))return GV(H);H=N.indexOf(".");H!==-1&&(N=N.substring(0,H));return CB()?GV(La(64,BigInt(N))):GV(r2w(N))}; +A9=function(N,H){for(var c in H)if(YX(H[c])){if(c in N&&!YX(N[c]))throw Error("Cannot merge an object into a non-object.");c in N||(N[c]={});A9(N[c],H[c])}else if(am(H[c])){if(c in N&&!am(N[c]))throw Error("Cannot merge an array into a non-array.");c in N||(N[c]=[]);BXs(N[c],H[c])}else N[c]=H[c];return N}; +Wks=function(N,H){if(H<0)return"0";N=Math.floor(Math.min(H,N.api.getDuration())*1E3);return N>2147483647?"0":String(N)}; +jCe=function(N,H){for(var c=X2(N,0,H);c;){var t=c;t.type=1936419184;t.data.setUint32(t.offset+4,1936419184);c=X2(N,c.offset+c.size,H)}}; +MRs=function(N,H){if(typeof N!=="object")return N;if(Array.isArray(N)){var c=N[A8]|0;N.length===0&&c&1?N=void 0:c&2||(!H||4096&c||16&c?N=o0(N,c,!1,H&&!(c&16)):(kI(N,34),c&4&&Object.freeze(N)));return N}if(N!=null&&N[XA]===Vf)return H=N.hF,c=H[A8]|0,bN(N,c)?N:Nw(N,H,c)?Ha(N,H):o0(H,c);if(N instanceof ZV)return N}; +g.fFf=function(){this.count=0;this.T=1;this.B=!1;this.offsets=new Float64Array(128);this.startTicks=new Float64Array(128)}; +qyR=function(N){var H={tick:{},info:{}};g.Hw("ytcsi."+(N||"")+"data_",H);return H}; +WNh=function(N,H,c,t){t=t===void 0?!1:t;H=new d2e(H||N,c||N);return{x:N.x+((t===void 0?0:t)?H.T*-1:H.T)*.2,y:N.y+((t===void 0?0:t)?H.B*-1:H.B)*.2}}; +zYS=function(N){return{SA:IZ(N,1),httpStatus:IZ(N,2),body:jc(N,4)}}; +Ug=function(N){N=(N.sequentialLayouts||[]).map(function(H){return g.P(H,BP)}); +return N.length>0&&N.every(wt)}; +bqh=function(N,H,c,t){var h=lS(N.B.get(),"SLOT_TYPE_PLAYER_UNDERLAY");c=new Os(N.T,c);var O=[new gX(N.T,h)];N=[new mZ(N.T,H),new rX(N.T,h)];return{slotId:h,slotType:"SLOT_TYPE_PLAYER_UNDERLAY",slotPhysicalPosition:1,slotEntryTrigger:c,slotFulfillmentTriggers:O,slotExpirationTriggers:N,Hp:"core",clientMetadata:new xd([new pZ(t({slotId:h,slotType:"SLOT_TYPE_PLAYER_UNDERLAY",slotPhysicalPosition:1,Hp:"core",slotEntryTrigger:c,slotFulfillmentTriggers:O,slotExpirationTriggers:N}))])}}; +pE=function(N,H,c,t){vS.call(this,N,H,c,t,[],"ad-mute-confirm-dialog")}; +g.ZA=function(N){var H,c;if(!((H=N.webPlayerContextConfig)==null?0:(c=H.embedsHostFlags)==null?0:c.enableLiteUx)||N.Uu||N.Y||N.L||N.Ix==="EMBEDDED_PLAYER_MODE_PFP")return"EMBEDDED_PLAYER_LITE_MODE_NONE";N=g.Mx(N.experiments,"embeds_web_lite_mode");return N===void 0?"EMBEDDED_PLAYER_LITE_MODE_UNKNOWN":N>=0&&N>6|192;else{if(O>=55296&&O<=57343){if(O<=56319&&h=56320&&F<=57343){O=(O-55296)*1024+ +F-56320+65536;t[c++]=O>>18|240;t[c++]=O>>12&63|128;t[c++]=O>>6&63|128;t[c++]=O&63|128;continue}else h--}if(H)throw Error("Found an unpaired surrogate");O=65533}t[c++]=O>>12|224;t[c++]=O>>6&63|128}t[c++]=O&63|128}}N=c===t.length?t:t.subarray(0,c)}return N}; +prh=function(N){return D2L()===1?g.WL(N,QCf):N}; +xL=function(N,H,c,t,h){if(Array.isArray(H)){for(var O=0;O0}); +for(var h=0,O=0,F=0,M=/^(\d+)/,f=/r=(\d+)/,d=0;d=0);if(!(H<0||H===N.U)){N.U=H;H=243*N.scale;var c=141*N.scale,t=Mav(N.B,N.U,H);fOy(N.bg,t,H,c,!0);N.Us.start()}}; +kAt=function(N){if(!N.isInitialized){N.isInitialized=!0;try{var H=UW(),c=BV(),t=yG();yT=H;c.L=79463069;N.B!=="o"&&(GAD=QuR(iJ));if(RYv()){kG.T.bS=0;kG.T.m6=UW()-H;var h=zns(),O=vQ(EE);O.B=h;QOw(O,function(){EW()})?kG.done||(pct(),kS(O.T.T,N),z$()):t.L?EW():z$()}else oNf=!0}catch(F){throw Qg.reset(),F; +}}}; +O9=function(N){var H=N[V3];if(H!=null)return H;var c=GS(UC,t2,h2,N);H=c.mQ?function(t,h){return sq(t,h,c)}:function(t,h){for(;w7t(h)&&h.B!=4;){var O=h.L,F=c[O]; +if(F==null){var M=c.extensions;M&&(M=M[O])&&(M=mtw(M),M!=null&&(F=c[O]=M))}if(F==null||!F(h,t,O)){M=h;F=M.U;Mq(M);if(M.eM)var f=void 0;else{var d=M.T.T-F;M.T.T=F;f=ort(M.T,d)}d=M=F=void 0;var W=t;f&&((F=(M=(d=W[mg])!=null?d:W[mg]=new w6)[O])!=null?F:M[O]=[]).push(f)}}if(t=Z8(t))t.NG=c.U8[IFv];return!0}; +N[V3]=H;N[IFv]=uel.bind(N);return H}; +NHl=function(N,H){H&&b83(N.wE,new uW(H.video,H.reason));N.T.zW&&(H=fd3(N.T,"a"),N.wE.kh(new uW(H.audio,H.reason)))}; +HID=function(N){return N.J.D().experiments.M4("enable_progres_commands_lr_feeds")}; +iIs=function(N,H,c,t,h,O,F,M,f,d){if(s7(N.ea.get(),1).clientPlaybackNonce!==f)throw new S("Cannot register CueRange-based trigger for different content CPN",{trigger:c});N.tF.set(c.triggerId,{Sz:new I8(H,c,t,h),cueRangeId:O});N.kO.get().addCueRange(O,F,M,d,N);G$(N.context.Rx.get())&&(f={},N.context.xA.EF("crr",(f.ca=H,f.tt=c.triggerType,f.st=t.slotType,f.lt=h==null?void 0:h.layoutType,f.cid=O,f.sm=F,f.em=M,f)))}; +T8=function(N,H){var c=YJ(N);if(c===1){for(H=c=0;H<7;H++)c=c*256+YJ(N);return c}for(var t=128,h=0;h<6&&t>c;h++)c=c*256+YJ(N),t*=128;return H?c-t:c}; +oI=function(N,H){return new g.vn(Math.max(0,N-5E3),H?0x8000000000000:N-1,{namespace:"childplayback",priority:9})}; +bI=function(N,H){H=H===void 0?"0":H;g.L.call(this);this.logSource=N;this.sessionIndex=H;this.Iu="https://play.google.com/log?format=json&hasfast=true";this.buildLabel=null;this.L=!1;this.network=null;this.componentId="";this.T=this.Gz=null;this.B=!1;this.pageId=null}; +hzR=function(N,H){var c;return g.Y(function(t){(0,g.Lh)();var h=N.T;h.S||(h.S=new cTy(h.L));c=h.S;return t.return(tNR(c,H,N.iv))})}; +gv=function(N){try{return N.getBoundingClientRect()}catch(H){return{left:0,top:0,right:0,bottom:0}}}; +CU=function(N){Lc(N);N.setLoopVideo(!1);N.setLoopRange(null);N.VS.publish("legacyadtrackingpingreset");N.JB={};N.hq=[];wZl(N.f4);if(N.n6){var H=N.n6,c=N.o4();c.getPlayerType();Nc(H,!1);OIR(H);Lrd(H);H.playback=c}H=N.z3;N=N.o4();N.getPlayerType()!==1&&pA(H,"invalidParentVideoPlayerType");Zt(H,!1);$N(H);H.T=N}; +tV=function(N){var H=il();N=H?H.createScriptURL(N):N;return new uV(N)}; +H0=function(N,H,c){this.T=void 0;this.experimentIds=N?N.split(","):[];this.flags=Ud(H||"","&");N={};H=g.K(this.experimentIds);for(var t=H.next();!t.done;t=H.next())N[t.value]=!0;this.experiments=N;c=new rD(c);this.L=new AvR(c);this.B=new UNe(c)}; +g.YR=function(N,H,c){g.Lu(is)(N,H,c===void 0?!1:c)}; +vq=function(N,H,c){if(!N.playerVars)return new sz("No playerVars available in InstreamVideoAdRenderer.");var t,h;if(N.elementId==null||N.playerVars==null||N.playerOverlay==null||((t=N.playerOverlay)==null?void 0:t.instreamAdPlayerOverlayRenderer)==null&&((h=N.playerOverlay)==null?void 0:h.playerOverlayLayoutRenderer)==null||N.pings==null||N.externalVideoId==null)return new sz("Received invalid VOD InstreamVideoAdRenderer",{instreamVideoAdRenderer:N});t=OC(N.playerVars);h=Number(t.length_seconds); +isNaN(h)&&(h=0,KA("Expected valid length seconds in player vars but got NaN"));if(c.fG(H.kind==="AD_PLACEMENT_KIND_START")){if(N.layoutId===void 0)return new sz("Expected server generated layout ID in instreamVideoAdRenderer");H=N.layoutId}else H=N.elementId;return{layoutId:H,sz:N,playerVars:t,A0:N.playerVars,oH:h}}; +Gvh=function(N){return yA(function(){var H;return(H=N.Jn.get("asmjs"))!=null?H:FnL(N)})}; +kJf=function(N){N.menuItem||(N.menuItem=new P9(N.api),g.l(N,N.menuItem),N.menuItem.Df(N.T))}; +g.$sl=function(N){var H=N.creation;N=N.expiration;return!!N&&Ng.vg()}; +THd=function(N,H,c){(0,g.uT)(N.L,function(t){var h=N.T;if(!t.T&&(t.L(H,c),t.U())){t.T=!0;var O=t.B(),F=new af;F.add("id","av-js");F.add("type","verif");F.add("vtype",t.S);t=vQ(n9v);F.add("i",t.T++);F.add("adk",h);A$(F,O);h=new iDD(F);FYl(h)}})}; +jew=function(N,H){N.Du=!0;var c=H.heartbeatToken;c&&(N.drmSessionId=H.drmSessionId||"",N.heartbeatToken=c,N.r8=Number(H.intervalMilliseconds),N.dQ=Number(H.maxRetries),N.Hs=!!H.softFailOnError,N.B7=!!H.useInnertubeHeartbeatsForDrm);N.heartbeatServerData=H.heartbeatServerData;var t;N.Bn=!((t=H.heartbeatAttestationConfig)==null||!t.requiresAttestation)}; +ZZt=function(N,H){if(!N.B.length)return!1;var c=N.T;N.T=MNf(N,H===void 0?!1:H);if(H=c!==N.T)N.B=[],N.aM=0;return H}; +F5S=function(N){var H=Math.max(N.videoTrack.L.L||0,N.audioTrack.L.L||0);fZ3(N.videoTrack);fZ3(N.audioTrack);N.policy.S||Dql(N.GW);N.GW.isManifestless&&!N.policy.S&&(N.T=!0,N.B=0);var c=N.loader;if(!c.policy.gE||c.policy.Uu)c.currentTime=H;N.U=!0;N.L=new M9;return N.L}; +Yh=function(N,H,c,t,h,O,F,M){g.L.call(this);this.B=N;this.T=H;this.L=c;this.Rx=t;this.U=h;this.ea=O;this.k_=F;this.YO=M}; +DJv=function(){var N=!1;try{N=!!window.sessionStorage.getItem("session_logininfo")}catch(H){N=!0}return(g.YI("INNERTUBE_CLIENT_NAME")==="WEB"||g.YI("INNERTUBE_CLIENT_NAME")==="WEB_CREATOR")&&N}; +SrD=function(N){switch(N){case "LAYOUT_EXIT_REASON_UNSPECIFIED":return"unknown";case "LAYOUT_EXIT_REASON_NORMAL":return"normal";case "LAYOUT_EXIT_REASON_ERROR":return"error";case "LAYOUT_EXIT_REASON_USER_SKIPPED":return"skipped";case "LAYOUT_EXIT_REASON_USER_MUTED":return"muted";case "LAYOUT_EXIT_REASON_ABANDONED":return"abandoned";case "LAYOUT_EXIT_REASON_USER_INPUT_SUBMITTED":return"user_input_submitted";case "LAYOUT_EXIT_REASON_USER_CANCELLED":return"user_cancelled";default:return new S("Invalid layout exit reason: "+ +N)}}; +dsR=function(N,H,c,t,h){var O=lS(N.B.get(),H);return Ca(N,O,H,new LH(N.T,c),[new mZ(N.T,c),new rX(N.T,O)],t,h)}; +YL=function(N,H){if(N){N=N.split("&");for(var c=0;c=0){var O=N[c].substring(0,t);h=N[c].substring(t+1)}else O=N[c];H(O,h?r1(h):"")}}}; +Wnv=function(N){N.policy.Jj=!1;try{N.yv()}catch(H){g.BZ(H)}}; +EHe=function(N){return(N=zzS&&zzS.exec(N))?N[0]:""}; +xse=function(N){N.sourceElement&&(document.activeElement&&g.m5(N.element,document.activeElement)&&N.sourceElement.focus(),N.sourceElement.setAttribute("aria-expanded","false"),N.sourceElement=void 0);g.bM(N.S);N.Y=void 0}; +OL=function(N,H){return g.ri(N.toLowerCase(),H.toLowerCase())}; +id=function(N,H){Sj.call(this,N,H);this.gE=!0;this.ox=!1;this.vp=this.Kq=0;this.zW=NaN}; +q$y=function(N,H,c){if(!N.uo())if(H){WH(N,{onkmtyp:c});N.status="km";switch(c){case "license-renewal":case "license-request":case "license-release":break;case "individualization-request":YTh(N,H);return;default:N.publish("ctmp","message_type",{t:c,l:H.byteLength})}N.Us||(Ai("drm_gk_f",void 0,N.videoData.TW),N.Us=!0,N.publish("newsession",N));if(c0(N.B)&&(H=qws(H),!H))return;H=new CDt(H,++N.requestNumber,N.videoData.TW);Oc3(H,function(t){lZS(N,t)},function(t,h,O){if(!N.uo()){var F=0; +t.T.B>=3&&(F=1,h="drm.net.retryexhausted");WH(N,{onlcsrqerr:h,info:O});N.error(h,F,O);N.shouldRetry(uO(F),t)&&Kns(N,t)}}); +g.l(N,H);gHs(N,H)}else N.error("drm.unavailable",1,"km.empty")}; +P$=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x){g.L.call(this);this.callback=N;this.ea=H;this.ID=c;this.Nc=t;this.k_=h;this.mx=O;this.YO=F;this.HL=M;this.slot=f;this.layout=d;this.PH=W;this.ZM=z;this.Le=E;this.Rx=x;this.AY=!0;this.tE=!1;this.yF=[];this.Bm=-1;this.k9=!1;this.lN=new rTR}; +ob=function(N){this.value=N}; +msL=function(N,H,c){var t=N.Jf();if(N.isComplete()||!t||N.info.JF.oi(H,c))return 0;var h=H.jY;if(!h||t(0,g.Lh)()?0:1}; +UsD=function(N,H,c){N.T[H]||(N.Lq("huli-sdai-err",c),N.T[H]=!0)}; +AB3=function(N,H,c,t,h){H=Y7f(N,H);N=Bn(N,H,c);h=h({slotId:N.slotId,slotType:N.slotType,slotPhysicalPosition:N.slotPhysicalPosition,slotEntryTrigger:N.slotEntryTrigger,slotFulfillmentTriggers:N.slotFulfillmentTriggers,slotExpirationTriggers:N.slotExpirationTriggers,Hp:N.Hp});return h instanceof S?h:{uC:Object.assign({},N,{clientMetadata:new xd([new pZ(h.layout)]),adSlotLoggingData:t}),VL:h.VL}}; +g.O7=function(N,H){return Q_d(N,H)>=0}; +MC=function(N,H,c,t){zb.call(this,N);this.U=H;this.Y=c;this.T="m";this.B="x";this.S=0;E$(this,t)}; +XSe=function(N){return window.PressureObserver&&new window.PressureObserver(N)}; +hw=function(N,H){H=H===void 0?2:H;g.xo.call(this);this.api=N;this.T=null;this.handler=new Qz(this);g.l(this,this.handler);this.B=LEt;this.handler.G(this.api,"presentingplayerstatechange",this.T5);this.T=this.handler.G(this.api,"progresssync",this.Dp);this.AI=H;this.AI===1&&this.Dp()}; +Hxt=function(N,H,c){return H?H.map(function(t){return t instanceof Sp?XB(N,t.key,c,!0):XB(N,t,c)}):[]}; +VNL=function(N,H){if(cH(N,H))return H=fD(N.T,N.pos,8),N.pos+=8,(new DataView(H.buffer,H.byteOffset,H.byteLength)).getFloat64(0,!0)}; +LQy=function(N,H){var c;if(g.sf("web_log_memory_total_kbytes")&&((c=g.di.navigator)==null?0:c.deviceMemory)){var t;c=(t=g.di.navigator)==null?void 0:t.deviceMemory;N?WE(N,95,pM(c*1E6)):H&&(H.client.memoryTotalKbytes=""+c*1E6)}}; +eC=function(N,H,c){N.Pd[N.ez+N.l1*2]=H>>>8&255;N.Pd[N.ez+N.l1*2+1]=H&255;N.Pd[N.XM+N.l1]=c&255;N.l1++;H===0?N.fJ[c*2]++:(N.matches++,H--,N.fJ[(Ga[c]+256+1)*2]++,N.SO[(H<256?IL[H]:IL[256+(H>>>7)])*2]++);return N.l1===N.rK-1}; +Fn=function(N){try{return(typeof N==="string"?N:String(JSON.stringify(N))).substr(0,500)}catch(H){return"unable to serialize "+typeof N+" ("+H.message+")"}}; +Lnf=function(){return{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},X:[{W:"path",JN:!0,V:{d:"M5,0 L9,0 L9,14 L5,14 L5,0 Z",fill:"#eaeaea"}}]}}; +d8=function(N,H,c){c!==void 0&&(bK(N,H*8),bK(N,c))}; +ON=function(N,H){K9.call(this,N,H);this.options=H;pe(N)}; +q1h=function(N,H){if(N=N.flags.get(""+H))if(N=N.replace(/\[ *(.*?) *\]/,"$1"))return N.split(",").map(Number);return[]}; +BG=function(N,H,c,t){n6.call(this,"Voice boost",g.Se.eb);this.J=N;this.L=H;this.B=c;this.getVoiceBoostState=t;this.T=!1;this.R4=this.J.N("html5_enable_new_audio_settings_menu")?N.GS().rG:N.GS();this.G(N,"onFilterAudioFeatures",this.dk);this.setIcon({W:"svg",V:{fill:"currentColor",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M11.48 2.14 3.91 6.68A6 6 0 0 0 1 11.83v.33a6 6 0 0 0 2.91 5.14l7.57 4.54A1 1 0 0 0 13 21V3a1.00 1.00 0 0 0-1.51-.85Zm6.88 2.07a1 1 0 0 0-.00 1.41 9 9 0 0 1 0 12.72 1 1 0 0 0 1.41 1.41 11 11 0 0 0 0-15.55 1 1 0 0 0-1.41 0ZM4.94 8.40l.00-.00L11 4.76v14.46l-6.05-3.63A4 4 0 0 1 3 12.16v-.33a4 4 0 0 1 1.94-3.42ZM15.53 7.05a1 1 0 0 0 0 1.41 5 5 0 0 1 0 7.07 1 1 0 0 0 1.41 1.41 6.99 6.99 0 0 0 0-9.9 1 1 0 0 0-1.41 0Z"}}]}); +this.subscribe("select",this.U,this);this.dk()}; +HBv=function(N){var H=d4e(N);N=N.defaultView;return new g.Sr((N==null?void 0:N.pageXOffset)||H.scrollLeft,(N==null?void 0:N.pageYOffset)||H.scrollTop)}; +Eqe=function(N){var H=ms(N.J.g_());return H?N.T?H.hasNext():H.hasPrevious():!1}; +Ywf=function(N){g.L.call(this);this.tN=N;this.T=null;this.B=ZIL;this.tN("ismp_i")}; +ATL=function(){return{W:"svg",V:{height:"100%",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",V:{d:"M14.1 24.9L7.2 18.0l6.9-6.9L12.0 9.0l-9.0 9.0 9.0 9.0 2.1-2.1zm7.8 .0l6.9-6.9-6.9-6.9L24.0 9.0l9.0 9.0-9.0 9.0-2.1-2.1z",fill:"#fff"}}]}}; +J7f=function(N){N.QY("removeEventListener",N.B.tI.AFMA_LIDAR,SDD);N.ox=!1}; +FX=function(N,H){if(N.T){N.Y&&(clearTimeout(N.Y),N.Y=null);var c=N.T;N.T=null;H||N.dispatchEvent("ready");try{c.onreadystatechange=null}catch(t){}}}; +AG=function(N){var H,c,t;return!!((H=N.playerResponse)==null?0:(c=H.playerConfig)==null?0:(t=c.mediaCommonConfig)==null?0:t.splitScreenEligible)}; +xO=function(N,H,c){if(OU(N.T,H)){a:switch(FW(N.T,H).T){case "exit_requested":var t=!0;break a;default:t=!1}if(!t)a:switch(FW(N.T,H).T){case "rendering_stop_requested":t=!0;break a;default:t=!1}if(t&&(FW(N.T,H).S=!0,!c))return;if(Sx(FW(N.T,H)))FW(N.T,H).S=!0,pxf(N,H,c);else{a:switch(FW(N.T,H).U){case "fill_requested":c=!0;break a;default:c=!1}if(c)FW(N.T,H).S=!0,OU(N.T,H)&&(N.j1.SE("ADS_CLIENT_EVENT_TYPE_CANCEL_SLOT_FULFILLMENT_REQUESTED",H),H=FW(N.T,H),H.U="fill_cancel_requested",H.C.vl());else{c= +Pe(N.T,H);(t=N.Rx.get().J.D().experiments.M4("h5_enable_layout_unscheduling_events"))&&(c?N.Sj(H,c):KA(Error("Layout is null for LayoutUnscheduled event."),H,c,void 0,!1));N.j1.SE("ADS_CLIENT_EVENT_TYPE_UNSCHEDULE_SLOT_REQUESTED",H);var h=FW(N.T,H),O=H.slotEntryTrigger,F=h.ox.get(O.triggerId);F&&(F.Qe(O),h.ox.delete(O.triggerId));O=g.K(H.slotFulfillmentTriggers);for(F=O.next();!F.done;F=O.next()){F=F.value;var M=h.Bp.get(F.triggerId);M&&(M.Qe(F),h.Bp.delete(F.triggerId))}O=g.K(H.slotExpirationTriggers); +for(F=O.next();!F.done;F=O.next())if(F=F.value,M=h.TW.get(F.triggerId))M.Qe(F),h.TW.delete(F.triggerId);h.layout!=null&&(O=h.layout,GG(h,O.layoutExitNormalTriggers),GG(h,O.layoutExitSkipTriggers),GG(h,O.layoutExitMuteTriggers),GG(h,O.layoutExitUserInputSubmittedTriggers),GG(h,O.layoutExitUserCancelledTriggers));h.C=void 0;h.B!=null&&(h.B.release(),h.B=void 0);h.L!=null&&(h.L.release(),h.L=void 0);h=N.T;FW(h,H)&&(h=L6(h,H.slotType+"_"+H.slotPhysicalPosition))&&h.delete(H.slotId);N.j1.SE("ADS_CLIENT_EVENT_TYPE_SLOT_UNSCHEDULED", +H);N=g.K(N.B);for(h=N.next();!h.done;h=N.next())h=h.value,h.PN(H),c&&!t&&h.Sj(H,c)}}}}; +EpZ=function(N){var H=document.createElement("a");g.eV(H,N);N=H.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+cj(N)}; +ezv=function(N,H,c,t,h){var O=N.GW;var F=N.policy.T,M=!1,f=-1,d;for(d in O.T){var W=rP(O.T[d].info.mimeType)||O.T[d].info.KG();if(t===W)if(W=O.T[d].index,W.rA(H.Y_)){M=W;var z=H,E=M.BL(z.Y_);E&&E.startTime!==z.startTime?(M.segments=[],M.VH(z),M=!0):M=!1;M?f=H.Y_:!H.pending&&F&&(z=W.getDuration(H.Y_),z!==H.duration&&(O.publish("clienttemp","mfldurUpdate",{itag:O.T[d].info.itag,seg:H.Y_,od:z,nd:H.duration},!1),W.VH(H),M=!0))}else W.VH(H),M=!0}f>=0&&(F={},O.publish("clienttemp","resetMflIndex",(F[t? +"v":"a"]=f,F),!1));O=M;aZw(N.tY,H,t,O);N.L.G8(H,c,t,h);H.Y_===N.GW.rk&&O&&Hy(N.GW)&&H.startTime>Hy(N.GW)&&(N.GW.ZG=H.startTime+(isNaN(N.timestampOffset)?0:N.timestampOffset),N.tY.isSeeking()&&N.tY.targetTimeq.width*q.height*q.fps)q=p}else E.push(p)}else M[n]="disdrmhfr";x.reduce(function(A, +R){return R.getInfo().isEncrypted()&&A},!0)&&(z=W); +h=Math.max(h,0);W=q||{};d=W.fps===void 0?0:W.fps;q=W.width===void 0?0:W.width;W=W.height===void 0?0:W.height;w=N.N("html5_native_audio_track_switching");x.push(xqS(E,c,t,O,"93",q,W,d,f,"auto",h,z,r,w));Object.entries(M).length&&F(M);return h_(N.S,x,Or(N,H),!1)}; +RkL=function(){return{W:"svg",V:{height:"100%",viewBox:"0 0 24 24",width:"100%"},X:[{W:"path",V:{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z",fill:"#fff"}}]}}; +BHe=function(){if(X6.getEntriesByType){var N=X6.getEntriesByType("paint");if(N=g.Nn(N,function(c){return c.name==="first-paint"}))return L5(N.startTime)}var H; +g.sf("csi_use_performance_navigation_timing")?H=X6.getEntriesByType("first-paint")[0].startTime:H=X6.timing.abR;return H?Math.max(0,H):0}; +yTy=function(N){N=N.api.D();return g.m8(N)&&N.B}; +GTD=function(N,H,c){return bqh(N.T.get(),H.contentCpn,H.Va,function(t){return Nre(N.B.get(),t.slotId,c,H.adPlacementConfig,H.Va,q5(N.Uy.get(),t))})}; +Wz3=function(N){this.track=N;this.buffered=[];this.L=this.U=0;this.Y={};this.S=0;this.T=new qW}; +g.Iy=function(N){return/^TVHTML5/.test(P_(N))}; +Rzv=function(N,H,c,t,h,O,F,M){eq.call(this,N,H,c,t);this.Pp=h;this.Le=O;this.Y=M;this.AY=!0;this.U=null;this.S=lQ(c.clientMetadata,"metadata_type_linked_player_bytes_layout_id");vT(this.Le(),this);N=lQ(c.clientMetadata,"metadata_type_ad_placement_config");this.Fg=new sd(c.S1,this.Pp,N,c.layoutId)}; +oHL=function(N,H){var c=this;this.T=N;this.qT=H;this.loaded=this.status=0;this.error="";N=Dv(this.T.get("range")||"");if(!N)throw Error("bad range");this.range=N;this.B=new eB;this.run().then(function(){c.qT.VG()},function(t){c.error=""+t||"unknown_err"; +c.qT.VG()})}; +kT3=function(N,H){var c,t;(t=(N=(c=N.oe)==null?void 0:c.get(H))==null)||(H=N.U?!1:N.U=!0,t=!H);return!t}; +IZ3=function(N,H,c,t,h){this.B=h;this.T=N||0;this.pitch=H||0;this.yaw=c||0;this.roll=t||0;this.crc=h.getUint32(4)}; +ov=function(N,H,c,t){bY.Uv(N,H,c,t)}; +bIh=function(N){N.VS.publish("initializingmode");N.fp(2);Eh(N.F2,"remote");Eh(N.F2,"miniplayer")}; +Bre=function(N,H,c){this.T=N;this.B=H;this.L=c}; +z1=function(N,H){if(!N.Cq[H.id]){var c=N.GW.T[H.id].index.F4(N.NT,15);c=H.H$&&N.L&&N.L.index.isLoaded()?c||H.H$:c||H.OF;N.Cq[H.id]=c}c=N.Cq[H.id];N.vp.has(H.itag)&&(c*=1.5);return c*=Math.max(1,N.w_.sI()||0)}; +Na3=function(N,H){H.bounds=N.getBoundingClientRect();for(var c=g.K(["display","opacity","visibility","zIndex"]),t=c.next();!t.done;t=c.next())t=t.value,H[t]=tO(N,t);H.hidden=!!N.hidden}; +ls=function(N,H){this.type=N||"";this.id=H||""}; +L5D=function(N,H){N.T=H}; +HOt=function(N,H,c,t){t=new Dt(N.api,N.layoutId,N.interactionLoggingClientData,N.yS,t,N.Ix);t.Jl(N.answers);t.init(Gx("survey-answer"),H,c);N.Z&&(H=N.questionText.getAttribute("id"),H!=null&&(t.T!==null?t.T.B.setAttribute("aria-describedby",H):t.answer.getElementsByTagName("button")[0].setAttribute("aria-describedby",H)));N.B.push(t)}; +iOd=function(N){N.T||(N.T=new xp);return N.T}; +dU=function(N){switch(N){case "*":return"v8e";case "(":return"v9e";case "(h":return"v9he";default:return N}}; +g.ju=function(N){g.Ww.call(this);var H=this;this.api=N;this.Ov=!1;this.kN=null;this.Og=!1;this.ej=null;this.l8=this.gT=!1;this.PS=this.Yj=null;this.gt=NaN;this.gI=this.zO=!1;this.Zv=0;this.U6=[];this.ph=!1;this.pD={height:0,width:0};this.eF=480;this.rJW=["ytp-player-content","html5-endscreen","ytp-overlay"];this.Wh={Ay:!1};this.sV=null;var c=N.D(),t=N.BO();this.pD=N.getPlayerSize();this.ib=new g.kT(this.YF,0,this);g.l(this,this.ib);c.disableOrganicUi||(this.wA=new g.$c(N),g.l(this,this.wA),g.aG(N, +this.wA.element,4));this.api.N("web_player_overlay_positioned_layout")&&(this.sV=new cIR(this.api),g.l(this,this.sV));if(MQv(this)){var h=new zw(N);g.l(this,h);h=h.element;g.aG(N,h,4)}var O=N.getVideoData();this.HU=new tMe(t,N,function(M){return H.ev(M)},O,c.Ze,!1); +g.l(this,this.HU);this.HU.subscribe("autohideupdate",this.vD,this);h5(this.HU);if(!c.disablePaidContentOverlay){var F=new Je(N);g.l(this,F);this.sV?this.sV.PR(F.element,g.ru(c)?3:1):g.aG(N,F.element,4)}this.Kv=new Th(N);g.l(this,this.Kv);g.aG(this.api,this.Kv.element,2);this.hv=this.api.isMutedByMutedAutoplay();this.G(N,"onMutedAutoplayChange",this.onMutedAutoplayChange);this.pQ=new g.kT(this.Kg,200,this);g.l(this,this.pQ);this.Wt=O.videoId;this.wv=new g.kT(function(){H.Zv=0},350); +g.l(this,this.wv);this.Lr=new g.kT(function(){H.gI||dg(H)},350,this); +g.l(this,this.Lr);O=N.getRootNode();O.setAttribute("aria-label","YouTube Video Player");switch(c.color){case "white":g.bV(O,"ytp-color-white")}this.G(N,"appresize",this.Mc);this.G(N,"presentingplayerstatechange",this.Wv);this.G(N,"videodatachange",this.onVideoDataChange);this.G(N,"videoplayerreset",this.z1q);this.G(N,"autonavvisibility",function(){H.Dx()}); +this.G(N,"sizestylechange",function(){H.Dx()}); +this.G(t,"click",this.bGx,this);this.G(t,"dblclick",this.XUR,this);this.G(t,"mousedown",this.HGq,this);c.UF&&(this.G(t,"gesturechange",this.jWR,this),this.G(t,"gestureend",this.d2g,this));this.vt=[t.BJ];this.wA&&this.vt.push(this.wA.element);h&&this.vt.push(h);this.api.N("web_player_fullscreen_double_click_ve")&&(this.api.createClientVe(t.element,this,247482),this.api.logVisibility(t.element,!0))}; +mAD=function(N,H){var c=[];for(H=H||0;H1)return 6;F.Ix=new g.kT(function(){var M=L3(F);N.uo()||M==null||!M.isLocked?N.wE.D().vO()&&N.Lq("eosl",{delayA:M==null?void 0:M.info.uX()}):dMs(F)?(N.wE.D().vO()&&N.Lq("eosl",{dunlock:M==null?void 0:M.info.uX()}),WUL(N,F===N.audioTrack)):(N.Lq("nue",{ls:M.info.uX()}),M.info.TW+=1,N.Zf&&N.yv())},1E4,N); +N.wE.D().vO()&&N.Lq("eosl",{delayS:t.uX()});F.Ix.start()}N.policy.O2&&(t==null?void 0:t.mR)instanceof Cp&&t.Xy()&&N.Lq("poseos",{itag:t.mR.info.itag,seg:t.Y_,lseg:t.mR.index.Ff(),es:t.mR.index.L});H.appendBuffer(c,t,h)}catch(M){if(M instanceof DOMException){if(M.code===11)return 2;if(M.code===12)return 5;if(M.code===22||M.message.indexOf("Not enough storage")===0)return H=Object.assign({name:"QuotaExceededError",buffered:Eo(H.l2()).replace(/,/g,"_"),vheap:kw(N.videoTrack),aheap:kw(N.audioTrack),message:g.Mc(M.message, +3),track:N.Zf?H===N.Zf.B?"v":"a":"u"},z0f()),N.handleError("player.exception",H),1;g.BZ(M)}return 4}return N.Zf.wR()?3:0}; +QFv=function(N,H){if(N.T){var c=N.T;var t=N.getCurrentTime(),h=c.e$();var O=c.policy.B;c.U||(O=Math.max(O-1,0));O*=K1(c);t>=h-O||!c.xS()?c=t=1&&$D(N.T(),c)}; +y0e=function(N){var H=[];N=g.K(N.tF.values());for(var c=N.next();!c.done;c=N.next())c=c.value.trigger,c instanceof q4&&H.push(c.breakDurationMs);return H}; +zMy=function(N,H){if(OU(N.T,H)&&Sx(FW(N.T,H))&&Pe(N.T,H)&&!Um(N.T,H)){var c;N.j1.A3("ADS_CLIENT_EVENT_TYPE_ENTER_LAYOUT_REQUESTED",H,(c=Pe(N.T,H))!=null?c:void 0);N=FW(N.T,H);N.T!=="entered"&&UZ(N.slot,N.T,"enterLayoutForSlot");N.T="rendering";N.L.startRendering(N.layout)}}; +M8=function(N){var H=lO(N);g.QH(N.api.getRootNode(),"ytp-full-bleed-player",H);N.Us&&g.AM(N.Us,H);N.playerOverlayVideoDetailsRenderer&&g.AM(N.playerOverlayVideoDetailsRenderer,H);N.L&&g6(N)}; +QCf=function(N){var H;return((H=N.audio)==null?void 0:H.audioQuality)==="AUDIO_QUALITY_HIGH"}; +d$=function(N,H){CPv(N,H).then(function(c){g.Cx(H,void 0,void 0,c)})}; +g.JO=function(N){return N.oauthToken||N.Es.QB}; +l4=function(N,H,c){N.td()?N.e1():N.aD(H,c)}; +tkd=function(N){return N.J.D().N("html5_enable_vod_slar_with_notify_pacf")}; +g.Re=function(N,H){typeof N==="function"&&(N=g.Lu(N));return window.setInterval(N,H)}; +zl=function(N,H){var c=new Uint8Array(N.T.buffer,N.T.byteOffset+N.pos,H);N.pos+=H;return c}; +lHe=function(N){var H;return((H=((N==null?void 0:N.messageRenderers)||[]).find(function(c){return!!c.timeCounterRenderer}))==null?void 0:H.timeCounterRenderer)||null}; +g0e=function(N,H,c){c=c===void 0?KUl:c;N=mq(N,H);H=typeof N;N=N==null?N:H==="bigint"?GV(La(64,N)):iV(N)?H==="string"?TQZ(N):mz3(N):void 0;return N!=null?N:c}; +rId=function(N,H,c){if(N.logger){for(var t=[],h=0;h6E4&&delete xc[h];N&&(N.T=0)},5E3)); +return c.count>5?(c.count===6&&Math.random()*1E5<1&&(c=new g.ti("CSI data exceeded logging limit with key",H.split("_")),H.indexOf("plev")>=0||g.aS(c)),!0):!1}; +fZ3=function(N){N.Y=!0;N.U=!0;N.S=-1;VV(N,Infinity)}; +g.Mc=function(N,H,c){if(ppD&&!H)N=g.di.btoa(N);else{for(var t=[],h=0,O=0;O255){var M=Error("go/unicode-to-byte-error");if(c)throw M;t[h++]=F&255;F>>=8}t[h++]=F}N=g.Eq(t,H)}return N}; +u83=function(N,H){var c="";H=H.iA();H.totalLength<=N.policy.f7&&(N=fD(H),N=gT(N),c=$G(N)?N:"");return c}; +ym=function(N,H){var c=g.dP(H),t;return(new g.EL(function(h,O){c.onSuccess=function(F){g.GC(F)?h(new JI3(F)):O(new X5("Request failed, status="+vw(F),"net.badstatus",F))}; +c.onError=function(F){O(new X5("Unknown request error","net.unknown",F))}; +c.onTimeout=function(F){O(new X5("Request timed out","net.timeout",F))}; +t=g.Rj(N,c)})).lw(function(h){if(h instanceof xY){var O; +(O=t)==null||O.abort()}return Kw(h)})}; +n0w=function(N){this.value=N}; +$Y=function(N){this.hF=oF(N)}; +SsL=function(N,H){if(!N.Fj){var c=void 0;N.aW&&(c=N.T.Vd({cpn:N.aW}));if(!c){c=$9R(N,H*1E3);var t,h=(t=c)==null?void 0:t.cpn;N.aW?h&&N.aW!==h&&N.EF({cpcnm:h+"_"+N.aW,cmt:H.toFixed(3)}):N.EF({cpcna:h,cmt:H.toFixed(3)})}var O;return(O=c)==null?void 0:O.videoData}}; +g.gi=function(N){N=A7w(N===void 0?0:N);if(!N&&!g.YI("USE_CSN_FALLBACK",!0))return null;N||(N="UNDEFINED_CSN");return N?N:null}; +eN=function(N,H,c){var t,h=(t=N.T.T)==null?void 0:t.encrypt(H,c);return h?h:(new g.Gl(N.T.B)).encrypt(H,c)}; +g.CJ=function(N){if(!(N.T.length<=1)){var H=N.T.pop(),c=N.T[0];N.T=[c];WF(N,H,c,!0)}}; +hry=function(N){var H=N.hF;return BB(N,H,H[A8]|0,R1,2,1)}; +ld=function(N,H,c,t){if(t.substring(0,2)==="{{")N.iR[t]=[H,c];else return t}; +PPd=function(N){if(g.P(N.renderingContent,ua)){var H;return((H=g.P(N.renderingContent,ua))==null?void 0:H.impressionPings)||[]}if(g.P(N.renderingContent,Rf)){var c;return((c=g.P(N.renderingContent,Rf))==null?void 0:c.impressionPings)||[]}if(g.P(N.renderingContent,p5)){var t;return((t=g.P(N.renderingContent,p5))==null?void 0:t.impressionPings)||[]}return[]}; +UMv=function(N){return P_(N)==="TVHTML5_SIMPLY_EMBEDDED_PLAYER"}; +R$l=function(N,H){N.env.N("delhi_modern_web_player")&&N.scale!==.6&&(N.scale=H?.8:1)}; +Hr=function(N){g.xo.call(this);this.T=null;this.L=new Wb;this.T=null;this.Y=new Set;this.crossOrigin=N||""}; +Ki=function(N,H,c){lu(N.S,H,c===void 0?!1:c);N.TW=-1;Wj(N,N.T)}; +V$=function(N){if(jB){var H;return(H=N[KJ])!=null?H:N[KJ]=new Map}if(KJ in N)return N[KJ];H=new Map;Object.defineProperty(N,KJ,{value:H});return H}; +g.BI=function(N){var H=g.LQ.apply(1,arguments);if(H.length===0)return tV(N[0]);for(var c=N[0],t=0;t=2}; +R0f=function(N,H){if(N.T==void 0)return 0;switch(N.S){case "mtos":return N.B?RN(H.T,N.T):RN(H.B,N.T);case "tos":return N.B?si(H.T,N.T):si(H.B,N.T)}return 0}; +Dn=function(N,H,c,t){(t===void 0?0:t)?GD(N,1,"seek"):H>0&&Math.abs(H-c)>=5&&N.B===4&&GD(N,5,"sk2t")}; +bOl=function(N,H){var c=H||o0S(N)||N.isExternallyHostedPodcast;if(!N.T||c)return N.Lq("skipDash",{dm:!!N.T,air:H,dd:N.ym,mss:h4(),"3pp":N.isExternallyHostedPodcast}),C6();ix(N)&&kKw(N.T,N.isLivePlayback);return H2().then(function(){return IHS(N.De,g.KX(N),N.Es.S,N.T,N.S,function(t){return N.publish("ctmp","fmtflt",t)},N.fn,x1(N)).then(function(t){N.TR(t); +N.De.T=null;/^av/.test(N.clientPlaybackNonce)&&N.w_&&N.Lq("av1",N.w_.B)})})}; +HXy=function(N){return H$e(N).map(function(H){return{deviceInterface:NfS[c1l[H.DE]]||0,deviceVersion:H.deviceVersion||"",isSleeping:H.nt}})}; +QY=function(N,H,c,t){var h=N[A8]|0,O=a_(h);h=ZX(N,h,c,H,O);vW(N,h,H,t,O)}; +iXD=function(N,H){N.network=H;return N}; +WR=function(N){return g.F5(nVt(),N)}; +o$h=function(N){if(N.playlist&&(g.bi(N.j)||N.j.ox==="background_audio_playback")&&N.im()){var H=N.j.N("html5_player_autonav_logging");N.nextVideo(!1,H);return!0}return!1}; +g.Fb=function(N){var H=rL(N);return dd(H)||!N.S7?null:g.Nn(N.S7.T.videoInfos,function(c){return H.U(c)})}; +pJ=function(N){return T9(N.volume)&&N.volume>0}; +rG=function(N){this.value=N}; +c4h=function(N,H){H=g.K(H);for(var c=H.next();!c.done;c=H.next())xO(N,c.value.slot,!1)}; +tKZ=function(N){N=N.getAttribute("aria-label");return N==null||N==void 0?"":String(N)}; +OXy=function(N,H,c,t,h){if(!N.policy.Y||!N.policy.B)if(h&&t){var O=t.Rc,F=h.Lp(O);O.event==="predictStart"&&(N.Us=H);N.Lq("sdai",{onqevt:O.event,sq:H,mt:c,gab:F,cst:O.startSecs,cueid:N.policy.yH&&(F||O.event==="start")?O.identifier:void 0},!0);if(F)O.event!=="predictStart"?(O.event==="start"&&N.Us===H-1&&N.Lq("sdai",{gabonstart:H}),hPR(N,H,c,t,h)):N.policy.Bd?GD(N,3,"predict"):(H+=Math.max(Math.ceil(-O.T/5E3),1),O=Math.floor(c-O.T/1E3),N.policy.B?N.S=O:N.U=H,N.Lq("sdai",{onpred:c,estsq:H,estmt:O.toFixed(3)}), +ud(N.loader,O,O,H),N.TW=Date.now(),GD(N,3,"predict"),h.W3(t.Rc));else if(N.B===1){var M;((M=N.L)==null?0:M.VU(c))?(ud(N.loader,c,c,H),GD(N,4,"sk2head")):GD(N,5,"nogab")}else O.event==="predictStart"?N.policy.B&&N.S>0?(c=Math.floor(c-O.T/1E3),N.S!==c&&N.Lq("sdai",{updateSt:c,old:N.S}),N.S=c):N.U>0&&(c=H+Math.max(Math.ceil(-O.T/5E3),1),N.U!==c&&(N.Lq("sdai",{updateSt:c,old:N.U}),N.U=c)):N.policy.Bd&&N.B===3&&hPR(N,H,c,t,h)}else N.Lq("sdai",{nulldec:1,sq:H,mt:c.toFixed(3),evt:(t==null?void 0:(O=t.Rc)== +null?void 0:O.event)||"none"})}; +Jw=function(){TO.call(this);this.Y=null;this.S=!1;this.U="ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"}; +ZC=function(N){this.value=N}; +BTs=function(N){this.pos=0;this.B=[];this.T=cHR(N===void 0?4096:N);this.view=new DataView(this.T.buffer,this.T.byteOffset,this.T.byteLength)}; +lz3=function(N,H){g.e.call(this,{W:"div",K:"ytp-promotooltip-wrapper",X:[{W:"div",K:"ytp-promotooltip-container",X:[{W:"div",K:"ytp-promotooltip-content",X:[{W:"div",K:"ytp-promotooltip-title",Wp:"{{title}}"},{W:"div",K:"ytp-promotooltip-details",Wp:"{{details}}"}]},{W:"div",K:"ytp-promotooltip-buttons",X:[{W:"div",K:"ytp-promotooltip-dismiss-button",Wp:"{{dismissButtonText}}",V:{tabindex:"0"}},{W:"div",K:"ytp-promotooltip-accept-button",Wp:"{{acceptButtonText}}",V:{tabindex:"0","aria-haspopup":"true"}}]}]}, +{W:"div",K:"ytp-promotooltip-pointer"}]});var c=this;this.tooltipRenderer=N;this.J=H;this.T=this.sourceElement=null;this.title=this.Sa("ytp-promotooltip-title");this.details=this.Sa("ytp-promotooltip-details");this.acceptButton=this.Sa("ytp-promotooltip-accept-button");this.dismissButton=this.Sa("ytp-promotooltip-dismiss-button");this.B=this.U=!1;this.L=!0;this.Z=this.S=this.C=this.Y=!1;this.Br={BY:function(t){c.BY(t)}}; +this.a4(!1);N=this.tooltipRenderer.trackingParams||null;if(this.B=!!N)this.J.createServerVe(this.element,this,!0),this.J.setTrackingParams(this.element,N);this.G(H,"onShowControls",this.zx);this.G(H,"onHideControls",this.ZR);this.G(H,"resize",this.Mc);this.G(this.acceptButton,"click",this.NsW);this.G(this.dismissButton,"click",this.ANx);this.G(document,"click",this.b9)}; +gIy=function(){var N=GAD||iJ;if(!N)return"";var H=[];if(!N.location||!N.location.href)return"";H.push("url="+encodeURIComponent(N.location.href.substring(0,512)));N.document&&N.document.referrer&&H.push("referrer="+encodeURIComponent(N.document.referrer.substring(0,512)));return H.join("&")}; +g.YG=function(N){return g.M4()[N]||0}; +EYd=function(N,H,c,t){return H&&c.adSlotMetadata.slotType==="SLOT_TYPE_PLAYER_BYTES"?N.map(function(h){return h instanceof gX?new g7(function(O){return Ap(t,O)},c.adSlotMetadata.slotId):h}):N}; +FKl=function(N,H,c,t){sE.call(this,N,{W:"div",K:"ytp-ad-survey-none-of-the-above"},"survey-none-of-the-above",H,c,t);this.button=null;this.T=this.Sa("ytp-ad-survey-none-of-the-above");this.hide()}; +$rZ=function(N,H){g.e.call(this,{W:"div",V:{tabindex:"0",title:N.N("player_tooltip_data_title_killswitch")?"Volume":"","data-tooltip-title":"Volume","data-tooltip-offset-y":"-120"},fq:["ytp-volume-popover"]});var c=this;this.isVisible=!1;this.tooltip=H.HH();this.B=new nJ(N);g.l(this,this.B);this.B.Jl(this.element);this.T=new g.kT(function(){Vc(c,!1)},300); +this.listen("mouseenter",function(){c.T.stop()}); +this.listen("mouseleave",function(){c.T.start()}); +this.listen("focus",function(){c.T.stop()}); +this.G(this.B.B,"focus",function(){c.T.stop()}); +this.listen("focusout",function(){c.T.start();c.element.dispatchEvent(new Event("blur"))}); +this.addOnDisposeCallback(g.UU(H.HH(),this.element));g.l(this,this.T)}; +Tfl=function(N){N.policy.qc&&(N.Kq=void 0,N.In=0)}; +MKR=function(N,H){var c;((c=window.performance)==null?0:c.getEntriesByName)&&(H=performance.getEntriesByName(H))&&H.length&&(H=H[0],N.pedns=(H.domainLookupEnd-H.startTime).toFixed(),N.pecon=(H.connectEnd-H.domainLookupEnd).toFixed(),N.perqs=(H.requestStart-H.connectEnd).toFixed(),jXl&&(N.perqsa=H.requestStart+(performance.timeOrigin||performance.timing.navigationStart)))}; +f2R=function(N,H){if(!N)return{zG:[],adSlots:[],ZN:!0,ssdaiAdsConfig:void 0};N.trackingParams&&N0(N.trackingParams);if(N.adThrottled)return{zG:[],adSlots:[],ZN:!0,ssdaiAdsConfig:void 0};var c,t=(c=N.adSlots)!=null?c:[],h;c=(h=N.playerAds)!=null?h:[];if(!(c&&c.length||t.length))return{zG:[],adSlots:t,ZN:!1,ssdaiAdsConfig:void 0};h=c.map(function(F){return F.adPlacementRenderer}).filter(function(F){return!(!F||!F.renderer)}); +if(!h.length&&!t.length)return{zG:[],adSlots:t,ZN:!1,ssdaiAdsConfig:void 0};if(H.end>0){var O=H.end.toString();h.forEach(function(F){(F=F.config&&F.config.adPlacementConfig)&&F.kind==="AD_PLACEMENT_KIND_MILLISECONDS"&&F.adTimeOffset&&F.adTimeOffset.offsetEndMilliseconds==="-1"&&F.adTimeOffset.offsetEndMilliseconds!==O&&(F.adTimeOffset.offsetEndMilliseconds=O)}); +t.map(function(F){return g.P(F,iZ)}).forEach(function(F){var M; +(F=F==null?void 0:(M=F.slotEntryTrigger)==null?void 0:M.mediaTimeRangeTrigger)&&F.offsetEndMilliseconds==="-1"&&(F.offsetEndMilliseconds=O)})}return{zG:h, +adSlots:t,ZN:!1,ssdaiAdsConfig:N.ssdaiAdsConfig}}; +ctL=function(N,H,c){N.Hr.get(H).onProgress=c}; +zPh=function(N,H,c){if(N.policy.Xg&&drZ(H))return!1;if(c.Nx())return!0;if(!c.Gj())return!1;var t=L3(H);if(!t||t.info.type===6)return!1;var h;if(N.policy.s2||((h=N.L)==null?0:i8h(h,H,t.info.Y_)))N.vp=0;else return N.tY.isSeeking()&&Vp(N),N.vp=N.vp||(0,g.Lh)(),!1;if(!D2(N,H,c,t.info))return!1;if(N.GW.B&&t.info.T===0){if(c.JE()==null){h=na(H);var O;if(!(O=!h||h.mR!==t.info.mR)){b:if(h=h.Z,O=t.info.Z,h.length!==O.length)h=!1;else{for(var F=0;FO)return N.policy.T&&(H===N.videoTrack?N.zW=N.zW||(0,g.Lh)():N.Kq=N.Kq||(0,g.Lh)()),N.policy.Mr&&WKv(H.L,O,!1),!1;H===N.videoTrack?N.zW=0:N.Kq=0;var M;N.policy.LG&&c===((M=N.Zf)==null?void 0:M.T)&&N.WO&&(c.hL()===0?(N.WO=!1,N.policy.LG=!1):N.mG=c.hL());a:{M=N.policy.S_?(0,g.Lh)():0;F=t.S&&t.info.mR.T||void 0;O=t.B;t.S&&(O=F_h(N,t,O)||O);var f=fD(O);O=N.policy.S_?(0,g.Lh)():0;c=$BS(N,c,f,t.info,F);(F=H.Z)!=null&&(f=t.info,M=O-M,O=(0,g.Lh)()-O,!F.B||I_v(F.B, +f)&&F.B.Y_===f.Y_||F.flush(),F.U+=M,F.L+=O,M=1,!F.B&&f.T&&(M=2),pI(F,M,c),O=Math.ceil(f.T/1024),M===2&&F.T.add(O),F.T.add(Math.ceil((f.T+f.B)/1024)-O),F.B=f);N.Cq=0;if(c===0)N.gE&&(N.gE=!1,N.Uu=!1),N.kG=0,c=!0;else{if(c===2||c===5)m1(N,"checked",c,t.info);else{if(c===1){if(!N.gE){N.gE=!0;c=!1;break a}if(!N.Uu){N.Uu=!0;N.wE.seekTo(N.getCurrentTime(),{j_:"quotaExceeded",SH:!0});c=!1;break a}t.info.KG()?(M=N.policy,M.vp=Math.floor(M.vp*.8),M.Ix=Math.floor(M.Ix*.8)):(M=N.policy,M.UF=Math.floor(M.UF*.8), +M.Ix=Math.floor(M.Ix*.8));N.policy.T?lu(N.U.T,t.info.mR,!1):Ki(N.T,t.info.mR)}N.wE.Z7({reattachOnAppend:c})}c=!1}}if(!c)return!1;N.policy.Xg&&t.info.Xy()?(N.wE.D().vO()&&N.Lq("eosl",{ls:t.info.uX()}),t.isLocked=!0):(H.pg(t),yhS(N.T,t.info));h&&(H=t.info.mR.XK)&&N.wE.Gr(new a3(H.key,H.type));return!0}; +OW=function(N,H){g.sk.call(this,N?N.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.T=null;N&&this.init(N,H)}; +xrs=function(N){g.wK.prototype.load.call(N);var H=V1(N.T).FE;try{N.player.getRootNode().classList.add("ad-created")}catch(f){KA(f instanceof Error?f:String(f))}var c=N.player.getVideoData(1),t=c&&c.videoId||"",h=c&&c.getPlayerResponse()||{},O=(h&&h.adPlacements||[]).map(function(f){return f.adPlacementRenderer}),F=((h==null?void 0:h.adSlots)||[]).map(function(f){return g.P(f,iZ)}); +h=h.playerConfig&&h.playerConfig.daiConfig&&h.playerConfig.daiConfig.enableDai||!1;c&&c.K4();O=BUt(O,F,H,V1(N.T).uY);F=c&&c.clientPlaybackNonce||"";c=c&&c.Fo||!1;if(G$(H,!0)&&c){var M;H={};(M=N.player.getVideoData())==null||M.Lq("p_cpb",(H.cc=F,H))}M=1E3*N.player.getDuration(1);EJZ(N);N.T.T.rW.yQ(F,M,c,O.Fs,O.Hq,O.Fs,h,t)}; +rN=function(N){this.J=N}; +Ru=function(N,H){return Math.floor(H/(N.columns*N.rows))}; +Su=function(N){return n9[N.T||N.B]||"auto"}; +qmR=function(N){var H=!N.D().qz&&N.getPresentingPlayerType()!==3;return N.isFullscreen()||H}; +Cqe=function(N){return g.K6?"webkit"+N:N.toLowerCase()}; +l2R=function(N,H){var c=4320;!N.j.B||g.bi(N.j)||N.j.N("hls_for_vod")||N.j.N("mweb_remove_360p_cap")||(c=g.fi.medium);var t=g.Mx(N.j.experiments,"html5_default_quality_cap");t&&H.T.T&&(N.j.N("html5_always_apply_default_quality_cap")||!H.videoData.oR&&!H.videoData.YH)&&(c=Math.min(c,t));t=g.Mx(N.j.experiments,"html5_random_playback_cap");var h=/[a-h]$/;t&&h.test(H.videoData.clientPlaybackNonce)&&(c=Math.min(c,t));if(h=t=g.Mx(N.j.experiments,"html5_hfr_quality_cap"))a:{h=H.T;if(h.T){h=g.K(h.videoInfos); +for(var O=h.next();!O.done;O=h.next())if(O.value.video.fps>32){h=!0;break a}}h=!1}h&&(c=Math.min(c,t));(t=g.Mx(N.j.experiments,"html5_live_quality_cap"))&&H.videoData.isLivePlayback&&(c=Math.min(c,t));c=AzD(N,H,c);N=g.Mx(N.j.experiments,"html5_byterate_soft_cap");return new jw(0,c===4320?0:c,!1,"d",N)}; +tL=function(){this.Y=null;this.C=[];this.U=this.B=this.L=this.T=this.TW=0;this.S=null;this.Z=0}; +$d=function(N){this.value=N}; +P0=function(N,H){if(dy(H.get(),"html5_ssap_pass_transition_reason"))switch(N){case 2:return"normal";case 4:case 6:case 7:return"error";case 5:return KKs(N),"abandoned";case 3:case 1:return KKs(N),"error";default:Iv(N,"unexpected transition reason")}else switch(N){case 2:return"normal";case 4:return"error";case 5:case 3:case 1:case 6:case 7:return KA("getExitReason: unexpected reason",void 0,void 0,{reason:N}),"error";default:Iv(N,"unexpected transition reason")}}; +hOs=function(N){var H=!(N==null?0:N.OY())&&(N==null?void 0:N.K4())&&bs(),c;if(!(c=N==null)){c=g.KX(N);N=N.D().S;var t=gf("243");c=!(t&&Ti(c,t,N,!0)===!0)}return{supportsVp9Encoding:!(c||H),supportXhr:km}}; +Sjh=function(N,H,c,t,h){this.aY=N;this.Kj=H;this.u_=c;this.UD=t;this.AFp=h;this.j3=N&&N.length}; +UN=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);wl(N,"setCreatorEndscreenVisibility",this.setCreatorEndscreenVisibility.bind(this));wl(N,"setCreatorEndscreenHideButton",this.T.bind(this));this.N("web_fix_annotations")&&this.events.G(N,"annotationvisibility",function(c){H.setCreatorEndscreenVisibility(!c);H.hideButton&&g.AM(H.hideButton,c)})}; +gJd=function(N,H,c){var t=H instanceof z2&&!N.L&&!N.B,h=!N.L&&(c==null?void 0:c.info.video);c=!N.B&&(c==null?void 0:c.info.audio);H.state===3?((h||t)&&N.tick("vrr"),(c||t)&&N.tick("arr")):H.state===4?h?(N.L=H.uG(),g.S6(),Fw(4)):c&&(N.B=H.uG()):H instanceof m$&&H.bY()&&h&&(g.S6(),Fw(4))}; +Y1h=function(){return g.$b("(ps4; leanback shell)")||g.$b("ps4")&&g.Iu()}; +drZ=function(N){var H;return!((H=L3(N))==null||!H.isLocked)}; +bTv=function(){var N=g.pB("yt-player-quality");if(N instanceof Object&&N.quality&&N.previousQuality){if(N.quality>N.previousQuality)return 1;if(N.qualityt.length){N.error=!0;break}F|=(t[f+1]<<8)+t[f]<>=7;d<0;)d=H[(F&1)-d],F>>=1;else F>>=d&15;M-=d&15;d>>=4;if(d<256)h[O++]=d;else if(N.register=F,N.T=M,N.B=f,d>256){F=XX[d];F+=uP(N,VY[d]);f=F$w(N,c);M=LJ[f];M+=uP(N,r4y[f]);if(mrR&&F=0&&(c.element.style.width=H+"px")}; +g.Zn=function(){}; +Vv=function(){return{W:"svg",V:{fill:"#fff",height:"100%",version:"1.1",viewBox:"0 0 48 48",width:"100%"},X:[{W:"path",V:{d:"M0 0h48v48H0z",fill:"none"}},{W:"path",V:{d:"M38 38H10V10h14V6H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V24h-4v14zM28 6v4h7.17L15.51 29.66l2.83 2.83L38 12.83V20h4V6H28z"}}]}}; +PJ=function(N){var H,c;return(c=(H=N.wE.wr())==null?void 0:H.getCurrentTime())!=null?c:N.wE.getCurrentTime()}; +T_=function(N,H){this.j=N;this.timerName="";this.L=!1;this.B=NaN;this.U=new MDR;this.T=H||null;this.L=!1}; +u3w=function(N,H){if(N.policy.useUmp&&H.uo())return!1;try{var c=H.info.L4[0].mR,t=c.info.video?N.videoTrack:N.audioTrack;if(N.GW.isManifestless&&t){N.Y=0;t.Y&&(H.uo(),H.isComplete()||H.I9(),t.Y=!1);H.Wx()&&N.loader.pS.dJ(1,H.Wx());var h=H.lm(),O=H.Hc();NO(N.GW,h,O)}if(H.info.MF()&&!i6(H.info))for(var F=g.K(H.gq()),M=F.next();!M.done;M=F.next())W1S(t,M.value);for(N.loader.getCurrentTime();t.B.length&&t.B[0].state===4;){var f=t.B.shift();pAs(t,f);t.gE=f.ZT()}t.B.length&&pAs(t,t.B[0]);var d=!!L3(t); +d&&H instanceof uo&&(c.info.ll()?T4y(N.timing):B73(N.timing));return d}catch(W){H=H.Gv();H.origin="hrhs";a:{N=N.loader;c=W;if(c instanceof Error){H.msg||(H.msg=""+c.message);H.name||(H.name=""+c.name);if(c instanceof g.ti&&c.args)for(t=g.K(Object.entries(c.args)),h=t.next();!h.done;h=t.next())O=g.K(h.value),h=O.next().value,O=O.next().value,H["arg"+h]=""+O;g.aS(c);if(c.level==="WARNING"){N.wE.Z7(H);break a}}N.handleError("fmt.unplayable",H,1)}return!1}}; +Qbv=function(N,H){N.J.setOption("captions","sampleSubtitles",H)}; +nJS=function(N){if(!N.api.D().C4){var H=N.api.getVideoData(),c=new g.yo("Subscribe",null,"Subscribed",null,!0,!1,H.tU,H.subscribed,"channel_avatar",null,N.api,!0);N.api.createServerVe(c.element,N);var t;N.api.setTrackingParams(c.element,((t=H.subscribeButtonRenderer)==null?void 0:t.trackingParams)||null);N.G(c.element,"click",function(){N.api.logClick(c.element)}); +N.subscribeButton=c;g.l(N,N.subscribeButton);N.subscribeButton.Jl(N.S);N.subscribeButton.hide();var h=new xz(N.api);N.T=h;g.l(N,h);h.Jl(N.S);h.hide();N.G(N.api,"SUBSCRIBE",function(){H.Bd&&(h.show(),N.api.logVisibility(h.element,!0))}); +N.G(N.api,"UNSUBSCRIBE",function(){H.Bd&&(h.hide(),N.api.logVisibility(h.element,!1),J4t(h,!1))})}}; +OR=function(N){var H,c,t,h,O,F,M,f,d,W,z,E,x,q,r;return g.Y(function(w){switch(w.T){case 1:H=void 0;N.U++;c=new g.Ps;N.BU instanceof m3&&N.BU.U.push(c.promise);if(!N.Mq){w.rE(2);break}t=new g.Ps;setTimeout(function(){return void t.resolve()}); +return g.a(w,t.promise,2);case 2:return h=N.logger.share(),g.Xy(w,4,5),N.state=5,O={},F=[],g.a(w,tp(N.BU.snapshot({N_:O,nz:F}),N.Z8.hus,function(){return Promise.reject(new fZ(15,"MDA:Timeout"))}),7); +case 7:M=w.B;if(N.uo())throw new fZ(N.T?20:32,"MDA:Disposed");f=F[0];N.state=6;return g.a(w,tp(yNh(N.Ew,h,M),N.Z8.DU,function(){return Promise.reject(new fZ(10,"BWB:Timeout"))}),8); +case 8:d=w.B;if(N.uo())throw new fZ(N.T?20:32,"BWB:Disposed");N.state=7;H=PB(h,function(){var p=SmZ(N,d,c,f);p.L.promise.then(function(){return void N.S()}); +return p},"i"); +case 5:g.B$(w);h.dispose();g.JV(w,6);break;case 4:W=g.Lq(w);(z=H)==null||z.dispose();if(!N.B){E=blL(N,W);c.resolve();var n;if(n=N.BU instanceof m3&&N.U<2)a:if(W instanceof fZ)n=W.code!==32&&W.code!==20&&W.code!==10;else{if(W instanceof SB)switch(W.code){case 2:case 13:case 14:case 4:break;default:n=!1;break a}n=!0}if(n)return x=(1+Math.random()*.25)*(N.T?6E4:1E3),q=setTimeout(function(){return void N.S()},x),N.addOnDisposeCallback(function(){return void clearTimeout(q)}),w.return(); +N.B=E}h.vZ(N.T?13:14);N.L.reject(N.B);return w.return();case 6:N.state=8,N.U=0,(r=N.T)==null||r.dispose(),N.T=H,N.L.resolve(),g.Z3(w)}})}; +rA=function(N,H,c){N.state.T.hasOwnProperty(H)||wl(N,H,c);N.app.D().Z&&(N.state.Z[H]=function(){return c.apply(N,g.LQ.apply(0,arguments))},N.state.Y.add(H))}; +Pqe=function(N,H){var c=TJ(),t=N.D();c={W:"div",K:"ytp-share-panel",V:{id:TJ(),role:"dialog","aria-labelledby":c},X:[{W:"div",K:"ytp-share-panel-inner-content",X:[{W:"div",K:"ytp-share-panel-title",V:{id:c},Wp:"Share"},{W:"a",fq:["ytp-share-panel-link","ytp-no-contextmenu"],V:{href:"{{link}}",target:t.TW,title:"Share link","aria-label":"{{shareLinkWithUrl}}"},Wp:"{{linkText}}"},{W:"label",K:"ytp-share-panel-include-playlist",X:[{W:"input",K:"ytp-share-panel-include-playlist-checkbox",V:{type:"checkbox", +checked:"true"}},"Include playlist"]},{W:"div",K:"ytp-share-panel-loading-spinner",X:[WY()]},{W:"div",K:"ytp-share-panel-service-buttons",Wp:"{{buttons}}"},{W:"div",K:"ytp-share-panel-error",Wp:"An error occurred while retrieving sharing information. Please try again later."}]},{W:"button",fq:["ytp-share-panel-close","ytp-button"],V:{title:"Close"},X:[g.Bg()]}]};g.Gv.call(this,N,c,250);var h=this;this.moreButton=null;this.api=N;this.tooltip=H.HH();this.B=[];this.U=this.Sa("ytp-share-panel-inner-content"); +this.closeButton=this.Sa("ytp-share-panel-close");this.G(this.closeButton,"click",this.e1);this.addOnDisposeCallback(g.UU(this.tooltip,this.closeButton));this.L=this.Sa("ytp-share-panel-include-playlist-checkbox");this.G(this.L,"click",this.Df);this.T=this.Sa("ytp-share-panel-link");this.addOnDisposeCallback(g.UU(this.tooltip,this.T));this.api.createClientVe(this.T,this,164503);this.G(this.T,"click",function(O){O.preventDefault();h.api.logClick(h.T);var F=h.api.getVideoUrl(!0,!0,!1,!1);F=SJL(h,F); +g.Yc(F,h.api,O)&&h.api.QS("SHARE_CLICKED")}); +this.listen("click",this.Xt);this.G(N,"videoplayerreset",this.hide);this.G(N,"fullscreentoggled",this.onFullscreenToggled);this.G(N,"onLoopRangeChange",this.yFp);this.hide()}; +KWh=function(N,H){var c=N.api.getRootNode();g.QH(c,"ytp-fullscreen-grid-peeking",H===1);g.QH(c,"ytp-fullscreen-grid-active",H===2);H===1&&CWS(N)}; +vc=function(N){if(N.J.D().L)return!1;if(N=N.J.getVideoData(1).getPlayerResponse()){var H=N.adPlacements;if(H)for(var c=0;c=0&&(this.S.mfpe=""+H),this.TW=!1);H="";g.zB(this.B)? +tW(this.B)?(t=c.B)&&(H="https://www.youtube.com/api/drm/fps?ek="+Eg3(t)):(H=c.initData.subarray(4),H=new Uint16Array(H.buffer,H.byteOffset,H.byteLength/2),H=String.fromCharCode.apply(null,H).replace("skd://","https://")):H=this.B.B;this.baseUrl=H;this.fairplayKeyId=mk(this.baseUrl,"ek")||"";if(H=mk(this.baseUrl,"cpi")||"")this.cryptoPeriodIndex=Number(H);this.ox=c.RW?[g.Eq(c.initData,4)]:c.L;WH(this,{sessioninit:c.cryptoPeriodIndex});this.status="in"}; +Hp=function(){}; +$ue=function(N,H,c){if(N.Z){var t=g.WL(N.L,function(h){return h.id===N.Z}); +return TE(t,c).includes(H)}t=g.WL(N.L,function(h){var O;return!((O=h.X3)==null||!O.isDefault)}); +return t.length>0?TE(t,c).includes(H):TE(N.L,c).includes(H)}; +XAZ=function(N){var H=g.Aw(N,"Content-Type");if(!H)return null;H=H.toLowerCase();return H.startsWith("application/json")?H.startsWith("application/json+protobuf")?new UR:new y5s:H.startsWith("application/x-protobuf")?(N=g.Aw(N,"Content-Transfer-Encoding"))?N.toLowerCase()=="base64"?new hL:null:new tL:null}; +VKt=function(N,H){var c=kR(H);N.T&&(N.Y||H===N.C)?(N.Mf(N.T),N.setContent(H.toString())):N.Mf(c)}; +vZZ=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x){H=Hhv(N,H,c,h,O,M,f,d,W,z,E,x);if(H instanceof S)return H;N=tGs(N,c,O,F,t,M.K4,H);return N instanceof S?N:N.VL.concat(N.uC)}; +ag=function(N){g.e.call(this,{W:"button",fq:["ytp-pip-button","ytp-button"],V:{title:N.N("player_tooltip_data_title_killswitch")?"{{title}}":"","data-tooltip-title":"{{data-tooltip-title}}","data-priority":"8","data-title-no-tooltip":"{{data-title-no-tooltip}}","data-tooltip-target-id":"ytp-pip-button"},X:[hT()]});var H=this;this.api=N;this.listen("click",this.onClick);var c=this.api.RA(),t=c.subscribe("visibilitystatechange",function(){H.Df(c.eP())}); +this.addOnDisposeCallback(function(){c.nC(t)}); +XW(N,this.element,this);this.Df(c.eP())}; +nV=function(N,H,c){N.playback.CM(H,c)}; +g.Aw=function(N,H){return N.T?N.T.getResponseHeader(H):null}; +Yo=function(N,H){for(var c in N)!isNaN(c)&&H(N,+c,N[c])}; +Xb=function(N){this.T=(N=g.xI(N))?new Kn(N):null;this.B=document.domain||window.location.hostname}; +LKh=function(N,H){if(N.j.vO()&&N.mediaElement){var c=N.mediaElement.Q4();c.omt=(N.mediaElement.getCurrentTime()+N.HO()).toFixed(3);c.ps=N.playerState.state.toString(16);c.rt=(g.cd(N.d_.provider)*1E3).toFixed();c.e=H;N.U7[N.YR++%5]=c}}; +A4w=function(N,H){if(!N.uo()&&!H.videoData.uo()){N.S7=H;ZXe(N.e_,N.S7);if(N.videoData.isLivePlayback){var c=fzl(N.VR.fP,N.videoData.videoId)||N.loader&&!isNaN(N.loader.Ix);c=N.N("html5_onesie_live")&&c;J3(N)||N.videoData.vp>0&&!WK(N.videoData)||c||N.seekTo(N.L6(),{j_:"videoplayer_playbackData",seekSource:18})}if(N.videoData.L.T){if(ri3(N.videoData)){N.TU("fmt.missing",2,"BROWSER_OR_EXTENSION_ERROR",Gu({missabrurl:1}));return}N.loader?g.aS(Error("Duplicated Loader")):(c=g.Mx(N.j.experiments,"html5_onesie_defer_content_loader_ms"))&& +N.NF()&&fzl(N.VR.fP,N.videoData.wP)?g.Zh(function(){N.uo()||N.loader||QD(N)},c):QD(N)}else!N.videoData.L.T&&qy(N.videoData)&&N.f0(new $7(N.videoData.videoId||"",4)); +N.v_();Yml(H).then(function(){var t={};N.xN(t);N.j.vO()&&N.N("html5_log_media_perf_info")&&N.Lq("av1Info",t);Ku(N)})}}; +a2y=function(N,H,c,t,h){var O=this;this.loader=N;this.policy=H;this.YG=c;this.JF=t;this.oi=h;this.done=!1;this.onTimeout=function(){O.done||(O.done=!0,O.onError("net.timeout"))}; +this.size=Math.ceil(Math.min(1E5,.1*bR(this.YG)));this.timing=new P3(this,{YG:this.YG,Sy:this.size,YS:!0,xe:function(){}, +WB:this.policy.L});N=As(this.JF,this.oi,this.policy).HR.clone();Ui(18,N);N[T[5]]!=="/videogoodput"&&(N[T[5]]="/videogoodput",N[T[27]]=T[16]);this.location=new r$(N);this.location.set("rn",""+this.timing.requestNumber);this.location.set("range","0-"+(this.size-1));this.xhr=gj(this.location,this.policy.Z,this.timing,this.policy.QG,{});setTimeout(this.onTimeout,1E4)}; +ict=function(N,H){H=H===void 0?!1:H;return vH(kC(N,ePf),N,H,"Captions URL")}; +vJl=function(N,H,c,t,h){try{if(N.state.status!=="REJECTED")throw Error("calling handleReject before the promise is rejected.");var O=c(N.state.reason);O instanceof g.iT?cT(N,H,O,t,h):t(O)}catch(F){h(F)}}; +LD=function(N,H){this.B=N;this.T=H}; +sXv=function(N){N.provider.videoData.Uu&&v4(N,"prefetch");N.provider.videoData.zW&&N.Lq("reload",{r:N.provider.videoData.reloadReason,ct:N.provider.videoData.zW});N.provider.videoData.fb&&v4(N,"monitor");N.provider.videoData.isLivePlayback&&v4(N,"live");km&&v4(N,"streaming");N.provider.videoData.oR&&N.Lq("ctrl",{mode:N.provider.videoData.oR},!0);if(N.provider.videoData.x8){var H=N.provider.videoData.x8.replace(/,/g,"_");N.Lq("ytp",{type:H},!0)}N.provider.videoData.zi&&(H=N.provider.videoData.zi.replace(/,/g, +"."),N.Lq("ytrexp",{ids:H},!0));H=N.provider.videoData;var c=N.provider.j.N("enable_white_noise")||N.provider.j.N("enable_webgl_noop"),t=g.OI(H)||g.YU(H)||g.AV(H)||g.ay(H);(c||t)&&(c=(0,g.eu)())&&N.T.set("gpu",[c]);qy(N.provider.videoData)&&g.Xz(N,g.cd(N.provider),"dt",["1"]);H.cotn&&!qy(H)&&N.Yo(!0);N.provider.j.vO()&&(H=(0,g.Lh)()-N.provider.j.il,N.Lq("playerage",{secs:Math.pow(1.6,Math.round(Math.log(H/1E3)/Math.log(1.6))).toFixed()}));N.U=!0;N.Us=g.Re(function(){N.reportStats()},1E4)}; +y4y=function(N,H){N.callback=H;N.U=[];yB(N.Es.experiments)?G2(N):Bfy(N)}; +Gkf=function(N){var H=N.api.D(),c=N.api.getVideoData(),t=N.api.BO().getPlayerSize().width;H=H.L;return!!c.videoId&&t>=N.B&&c.Mz&&!c.Uc&&!N.api.isEmbedsShortsMode()&&!H}; +RPS=function(N){if(N.requestFullscreen)N=N.requestFullscreen(void 0);else if(N.webkitRequestFullscreen)N=N.webkitRequestFullscreen();else if(N.mozRequestFullScreen)N=N.mozRequestFullScreen();else if(N.msRequestFullscreen)N=N.msRequestFullscreen();else if(N.webkitEnterFullscreen)N=N.webkitEnterFullscreen();else return Promise.reject(Error("Fullscreen API unavailable"));return N instanceof Promise?N:Promise.resolve()}; +tR=function(){return g.NA("yt.gcf.config.coldConfigGroup")}; +oJh=function(N){N.provider.videoData.youtubeRemarketingUrl&&!N.NT&&(eM(N,N.provider.videoData.youtubeRemarketingUrl),N.NT=!0)}; +eZ=function(N,H){H=String(H);N.contentType==="application/xhtml+xml"&&(H=H.toLowerCase());return N.createElement(H)}; +kkv=function(N,H){return N.B+H*(N.T-N.B)}; +r$=function(N){this.HR=N;this.T={};this.url=""}; +I2L=function(N){if(Wv(V1(N.T).FE))return!0;var H="";N=g.K(V1(N.T).RU.EV.keys());for(var c=N.next();!c.done;c=N.next()){c=c.value;if(c.slotType==="SLOT_TYPE_PLAYER_BYTES"&&c.Hp==="core")return!0;H+=c.slotType+" "}Math.random()<.01&&KA("Ads Playback Not Managed By Controlflow",void 0,null,{slotTypes:H});return!1}; +bXs=function(N,H){d8(N,1,H.videoCodec);d8(N,3,H.maxHeight);d8(N,4,H.maxWidth);d8(N,11,H.maxFramerate);d8(N,12,H.maxBitrateBps);I3(N,15,H.is10BitSupported)}; +N6v=function(N,H){v0.getInstance().estimate().then(function(c){c=Object.assign({},H,{isSw:self.document===void 0,isIframe:self!==self.top,deviceStorageUsageMbytes:q4t(c==null?void 0:c.usage),deviceStorageQuotaMbytes:q4t(c==null?void 0:c.quota)});N.T("idbQuotaExceeded",c)})}; +lS=function(N,H){if(BS(N.Rx.get())){var c=N.B.get(H)||0;c++;N.B.set(H,c);return H+"_"+c}return g.Xj(16)}; +B0=function(N,H,c){sN(kG,[N],!L2());nLS(N,c);c!=4&&uCD(N.ox,c,N.aC);return V7(N,H,L2())}; +hi=function(){if(H0S===null){H0S=new QQ;vQ(Jw).B="b";var N=vQ(Jw),H=XD(N)=="h"||XD(N)=="b",c=!(BV(),!1);H&&c&&(N.S=!0,N.Y=new iWD)}return H0S}; +j7=function(N){this.value=N}; +i03=function(N,H,c,t,h){Y_.call(this,"shopping-companion",N,H,c,t,h)}; +yY=function(N){return N&&N.length?N.end(N.length-1):NaN}; +g.ii=function(N,H,c){return Un(H,0,c)}; +g.J_y=function(N,H){return N.start-H.start||N.priority-H.priority||N.B-H.B}; +LUt=function(N,H,c){N.L||(N.L=new XVd(N.B));return UbD(N.L,H,c)}; +tLw=function(N){N=g.K(N);for(var H=N.next();!H.done;H=N.next())if(H=H.value,H.itag&&cQe.has(H.itag))return!0;return!1}; +hBD=function(N){this.hF=oF(N)}; +g.aw=function(N,H,c,t){c=c===void 0?!1:c;t=t===void 0?0:t;if(N.isLocked||H.isLocked||!VZ(N.info,H.info)||N.info.L)return null;if(t){if(N.B.totalLength+H.B.totalLength>t)return null}else if(c&&(c=N.B,t=H.B,c=!(t.T.length?zFS(c,t.T[0]):1)),c)return null;c=new J9(N.info.type,N.info.mR,N.info.range,N.info.Y,N.info.Y_,N.info.startTime,N.info.duration,N.info.T,N.info.B,N.info.L,N.info.hd,N.info.clipId);t=H.info;c.B+=t.B;c.range&&(c.C+=t.C);c.S=t.S;c.L=t.L;t=new eB;WP(t,N.B);WP(t,H.B);c=new to(c,t);c.T!= +null&&H.T!=null&&g.Bp("dash",414627957,"merged slice emsg overridden; prev: "+c.T.qv()+" next: "+H.T.qv());c.T=H.T||N.T;c.L=N.L!==-1?N.L:H.L;c.U=N.U!==-1?N.U:H.U;return c}; +O0S=function(N,H){var c=H.totalLength,t=!1;switch(N.L){case 0:N.Lh(H,N.U).then(function(h){var O=N.qT;O.tN("oprr");O.playerResponse=h;O.WE||(O.qL=!1);cK(O)},function(h){N.qT.fail(h)}); +break;case 2:N.tN("ormk");H=fD(H);N.queue.decrypt(H);break;default:t=!0}N.qT.Ua&&N.qT.Lq("ombup","id.11;pt."+N.L+";len."+c+(t?";ignored.1":""));N.L=null}; +Gh=function(N){for(var H=g.K(N.B),c=H.next();!c.done;c=H.next())lr(N,c.value);N.B=[];N.T=null}; +og=function(N,H,c,t,h){H=tQS(N,H);c=tQS(N,c);N=N.progressBar.visualElement;t={seekData:{startMediaTimeMs:H,endMediaTimeMs:c,seekSource:t}};(H=g.gi())&&Rg(H,N,h,t)}; +ACh=function(N){function H(c){c.stack&&c.stack.indexOf("player")!==-1&&N.x_().Ph(c)} +$1.subscribe("handleError",H);kc.push(H);return function(){$1.unsubscribe("handleError",H);var c=kc.indexOf(H);c!==-1&&kc.splice(c,1)}}; +J4t=function(N,H){N.T=H;N.element.classList.toggle(zG.NOTIFICATIONS_ENABLED,N.T);var c=N.api.getVideoData();c?(H=H?c.N8:c.J6)?(N=N.api.h9())?KF(N,H):g.BZ(Error("No innertube service available when updating notification preferences.")):g.BZ(Error("No update preferences command available.")):g.BZ(Error("No video data when updating notification preferences."))}; +Fg3=function(N){N.playlist&&N.playlist.unsubscribe("shuffle",N.onVideoDataChange,N)}; +v9y=function(N,H){var c;return g.Y(function(t){if(t.T==1)return g.a(t,g.F5($V,H),2);c=t.B;return t.return(g.zu(c,["databases"],{Zt:!0,mode:"readwrite"},function(h){var O=h.objectStore("databases");return O.get(N.actualName).then(function(F){if(F?N.actualName!==F.actualName||N.publicName!==F.publicName||N.userIdentifier!==F.userIdentifier:1)return g.EX(O,N).then(function(){})})}))})}; +$0=function(N,H){var c="";if(N.dangerousLogToVisitorSession)c="visitorOnlyApprovedKey";else if(N.cttAuthInfo){if(H===void 0?0:H){H=N.cttAuthInfo.token;c=N.cttAuthInfo;var t=new CH;c.videoId?t.setVideoId(c.videoId):c.playlistId&&T0(t,2,Ig,z8(c.playlistId));ji[H]=t}else H=N.cttAuthInfo,c={},H.videoId?c.videoId=H.videoId:H.playlistId&&(c.playlistId=H.playlistId),uj[N.cttAuthInfo.token]=c;c=N.cttAuthInfo.token}return c}; +tZZ=function(N){var H=1;N=N.split(":");for(var c=[];H>0&&N.length;)c.push(N.shift()),H--;N.length&&c.push(N.join(":"));return c}; +$8w=function(N){var H=lQ(N.clientMetadata,"metadata_type_ad_placement_config").kind,c=lQ(N.clientMetadata,"metadata_type_linked_in_player_layout_type");return{cpn:N.layoutId,adType:$Qw(c),adBreakType:SR(H)}}; +T6d=function(){var N=["metadata_type_image_companion_ad_renderer","metadata_type_linked_player_bytes_layout_id"];vR().forEach(function(H){N.push(H)}); +return{lG:N,xH:["LAYOUT_TYPE_COMPANION_WITH_IMAGE"]}}; +bd=function(N,H,c){return N?!0:(g.aS(new g.ti("Assertion: "+H,c)),!1)}; +j5f=function(N,H){N.policy.C&&N.loader.Lq("sabrcrq",{create:1});var c=new No(0,N.GW.TW,N);N.B.TW=!1;return r3L(N,c,H)}; +wM=function(N,H,c){c=c===void 0?null:c;var t=t===void 0?0:t;return new bn(g.Mx(N.j.experiments,H)||t,c?N.j.N(c):!1)}; +ML3=function(N){N=N===void 0?XSe:N;g.L.call(this);var H=this;try{this.L=N(function(t){H.B=t.at(-1)}); +var c;this.U=(c=this.L)==null?void 0:c.observe("cpu",{sampleInterval:2E3}).catch(function(t){t instanceof DOMException&&(H.T=t)})}catch(t){t instanceof DOMException&&(this.T=t)}}; +f0Z=function(N,H,c){if(N.SP())return"qie";if(N.T==null||N.T.uo()||N.T.getVideoData()==null)return"qpd";if(H.videoId!==N.T.u2())return"vinm";if(dlL(N)<=0)return"ivd";if(c!==1)return"upt";if((c=N.L)==null)N=void 0;else if(c.getStatus().status!==5)N="niss";else if(UL(c.policy,c.T,c.B,c.Km)!=null)N="pge";else{H=$I(c);N=H.aJ;var t=H.CT;H=g.Mx(c.VR.D().experiments,"html5_shorts_gapless_next_buffer_in_seconds");var h=c.Y+H;c.VR.D().experiments.M4("html5_pseudogapless_shorts")&&(h=fW(c).o1+H);c=t1(t.l2(), +h);N=t1(N.l2(),h);N=!(H>0)||c&&N?null:"neb"}return N!=null?N:null}; +Bbe=function(N,H,c,t){var h,O;return g.Y(function(F){h=N.T();var M=new yp;M=dl(M,1,N.requestKey);O=dl(M,2,H);M=F.return;var f=c.kU,d=N.requestKey,W=N.client;var z=W.T;W=W.B+"/$rpc/google.internal.waa.v1.Waa/GenerateIT";var E=O,x=h||{},q=d8S,r=void 0;r=r===void 0?{}:r;z=obw(z,W,E,x,q,r);return M.call(F,f.call(c,"g",d,t,z))})}; +Wgy=function(N,H,c){N.updateValue("text",H);if(c){a:{switch(c){case "PREMIUM_STANDALONE":H=vNs();break a;case "PREMIUM_STANDALONE_CAIRO":H=dyf();break a}H=void 0}N.updateValue("icon",H)}H=g.K(N.Bp.getAnimations());for(c=H.next();!c.done;c=H.next())c.value.cancel();N.Bp.animate([{offset:0,opacity:0},{offset:.3,opacity:1},{offset:.7,opacity:1},{offset:1,opacity:0}],{duration:1400}).addEventListener("finish",function(){N.updateValue("text","");N.updateValue("icon","")})}; +H1=function(N,H){N.N("html5_webpo_bge_ctmp")&&N.api.Lq(H,{hwpo:!!N.B,hwpor:N.T})}; +zBs=function(N){var H=N.x_();if(N.N("html5_disable_loop_range_for_shorts_ads")&&H.getVideoData().isAd()?0:Vz(H.getVideoData())&&!H.vJ())H=ge(N)*1E3-N.getVideoData().X0,N.N("html5_gapless_new_slr")?(N=N.dT,iy(N.app,"gaplessshortslooprange"),H=new g.vn(0,H,{id:"gaplesslooprange",namespace:"gaplessshortslooprange"}),(N=N.app.x_())&&N.addCueRange(H)):N.setLoopRange({startTimeMs:0,endTimeMs:H,type:"shortsLoop"})}; +EsL=function(N){switch(Math.trunc(N.L)){case -16:return-16;case -8:return-8;case 0:return 0;case 8:return 8;case 16:return 16;default:return 16}}; +x8R=function(N){var H;(H=navigator.mediaCapabilities)!=null&&H.decodingInfo&&navigator.mediaCapabilities.decodingInfo({type:"media-source",video:{contentType:'video/mp4; codecs="av01.0.12M.08"',width:3840,height:2160,bitrate:32E6,framerate:60}}).then(function(c){c.smooth&&c.powerEfficient&&(N.Us=2160)})}; +Vlh=function(){var N=yG(),H={},c={},t={};return Object.assign({},(H.sv="968",H),ZE!==null&&(c.v=ZE,c),(t["if"]=N.L?"1":"0",t.nas=String(Qg.T.length),t))}; +pwl=function(N,H,c,t,h){var O,F,M;return g.Y(function(f){switch(f.T){case 1:return O={config:N,hashData:H,configData:c,timestamp:h!==void 0?h:(0,g.Lh)()},g.a(f,yf(t),2);case 2:return F=f.B,g.a(f,F.clear("coldConfigStore"),3);case 3:return g.a(f,g.Go(F,"coldConfigStore",O),4);case 4:return M=f.B,f.return(M)}})}; +c1=function(N){dK.call(this,N);var H=this;this.useLivingRoomPoToken=!1;this.S=new g.Ps;this.T=!1;this.f4=null;this.C=!1;this.U=null;this.Y=!1;var c=N.D().getWebPlayerContextConfig();this.events=new g.Ww(N);g.l(this,this.events);this.events.G(N,"spsumpreject",function(h,O,F){H.Y=O;h&&H.C&&!H.U&&(H.N("html5_generate_content_po_token")&&F?H.oM(F):H.N("html5_generate_session_po_token")&&Z9D(H));H.U||H.api.Lq("stp",{s:+H.C,b:+H.Y})}); +this.events.G(N,"poTokenVideoBindingChange",function(h){H.oM(h)}); +if(this.N("html5_web_po_on_demand_init"))var t=this.events.G(N,"videodatachange",function(h,O){O.F0&&!H.C&&($zy(H),H.events.G3(t))}); +this.useLivingRoomPoToken=!(c==null||!c.useLivingRoomPoToken);N.addEventListener("csiinitialized",function(){H.f4=N.Um();H.N("html5_web_po_on_demand_init")?H.L=mFt():$zy(H)}); +N.addEventListener("trackListLoaded",this.rJ.bind(this));N.XZ(this)}; +qRt=function(N,H,c){if(N.Y8()===N.yF.length-1){var t,h;KA("Unexpected skip requested during the last sublayout",(t=N.xl())==null?void 0:t.y4(),(h=N.xl())==null?void 0:h.dE(),{requestingSlot:H,requestingLayout:c})}}; +COR=function(N){var H=N.api.N("delhi_modern_web_player_compact_controls"),c=g.Mx(N.api.D().experiments,"delhi_modern_web_player_responsive_compact_controls_threshold");H=H||c>0&&N.api.getPlayerSize().width<=c;N=N.api.getRootNode();N.classList.toggle("ytp-delhi-modern-compact-controls",H);c=H?"8px":"12px";var t=H?"56px":"72px",h=H?"56px":"64px",O=H?"48px":"56px",F=H?"12px":"20px",M=H?"72px":"96px";N.style.setProperty("--yt-delhi-pill-height",H?"40px":"48px");N.style.setProperty("--yt-delhi-pill-top-height", +c);N.style.setProperty("--yt-delhi-bottom-controls-height",t);N.style.setProperty("--yt-delhi-bottom-controls-height-xsmall-width-mode",h);N.style.setProperty("--yt-delhi-big-mode-pill-height",O);N.style.setProperty("--yt-delhi-big-mode-pill-top-height",F);N.style.setProperty("--yt-delhi-big-mode-bottom-controls-height",M)}; +xGR=function(N,H,c,t,h){N.S=H;N.L=c;N.Y=t;N.C=h}; +NGv=function(){var N=N===void 0?{}:N;g.Lu(function(){Yz()&&Ai("aa",void 0,void 0);l0e();db();wj(!1);N.cttAuthInfo&&(J8().cttAuthInfo=N.cttAuthInfo);qz("TIMING_AFT_KEYS",[]);N.CKa?g.YR({loadType:"hot"}):g.YR({loadType:"warm"});qz("TIMING_ACTION","");delete g.YI("TIMING_INFO",{}).yt_lt;g.Lu(tj)(N.startTime,void 0)})()}; +iy=function(N,H,c){var t=g.C2(N,{playerType:c});t&&(H=t.gr(H),c&&N.getPresentingPlayerType()!==c||hj(N,"cuerangesremoved",H))}; +UE=function(N,H){N.playlist&&(g.ez(N.playlist),N.playlist=null);H&&(N.tJ&&(H.fetch=0),N.playlist=new Kgw(N.j,H))}; +cBf=function(){if(document.visibilityState)var N="visibilitychange";else{if(!document[gsD+"VisibilityState"])return"";N=gsD+"visibilitychange"}return N}; +Hx=function(N,H,c){H.startSecs+=isNaN(N.Z)?0:N.Z;N=N.GW;N.NT.push(H);N.publish("cuepointsadded",c)}; +rQh=function(N,H){N.index=g.Ae(H,0,N.length-1);N.startSeconds=0}; +m8s=function(){var N=J8();N.info||(N.info={});return N.info}; +wYL=function(N,H){N.au?(H=H.vss_host||"s.youtube.com",H==="s.youtube.com"&&(H=nI(N.qf)||"www.youtube.com")):H="video.google.com";return H}; +D8y=function(N,H,c){this.experiments=N;this.NT=H;this.Ix=c===void 0?!1:c;this.TW=!!g.NA("cast.receiver.platform.canDisplayType");this.Z={};this.Bp=!1;this.U=new Map;this.C=!0;this.B=this.L=!1;this.T=new Map;this.Us=0;this.ox=this.experiments.M4("html5_disable_vp9_encrypted");this.S=this.experiments.M4("html5_enable_encrypted_av1");N=g.NA("cast.receiver.platform.getValue");this.Y=!this.TW&&N&&N("max-video-resolution-vpx")||null;x8R(this);this.L=!!(S3()&&bc()>=21)}; +Q5t=function(N){var H=N.U;N.U=[];return H}; +ZyD=function(N,H,c,t,h){this.oD=N;this.Pp=H;this.Le=c;this.T=t;this.r_=h}; +H4s=function(N,H){if(N.endpoint==="log_event"){A2(N);var c=$0(N),t=QZe(N.payload)||"",h=oCy(t),O=200;if(h){if(h.enabled===!1&&!g.sf("web_payload_policy_disabled_killswitch"))return;O=SPZ(h.tier);if(O===400){N5l(N,H);return}}XY[c]=!0;c={cttAuthInfo:c,isJspb:!1,tier:O};uC().storePayload(c,N.payload);pYL(H,!1,c,XZ(t))}}; +uJt=function(N,H,c){var t=0;N=N.T.T.get(c);if(!N)return-1;N=g.K(N);for(c=N.next();!c.done;c=N.next()){if(c.value.cpn===H)return t;t++}return-1}; +g.ay=function(N){return!!N.T&&JQd(N.T)}; +ns3=function(N){N.indexOf("watchtime")!==-1&&g.uF("gelDebuggingEvent",{vss3debuggingEvent:{vss2Ping:N}})}; +SRs=function(N){if(N.isAd()&&(N.Xg?N.videoId!==N.Es.WO:N.videoId!=N.Es.WO))return N.Es.WO}; +lc=function(N,H){H=H===void 0?NaN:H;H=H>=0?H:g.cd(N.provider);var c=N.provider.wE.fL(),t=c.Gk-(N.Kq||0);t>0&&g.Xz(N,H,"bwm",[t,(c.O0-(N.T3||0)).toFixed(3)]);isNaN(N.Kq)&&c.Gk&&N.isOffline&&N.Yo(!1);N.Kq=c.Gk;N.T3=c.O0;isNaN(c.bandwidthEstimate)||g.Xz(N,H,"bwe",[c.bandwidthEstimate.toFixed(0)]);N.provider.j.vO()&&Object.keys(c.T).length!==0&&N.Lq("bwinfo",c.T);if(N.provider.j.vO()||N.provider.j.N("html5_log_meminfo"))t=z0f(),Object.values(t).some(function(O){return O!==void 0})&&N.Lq("meminfo",t); +if(N.provider.j.vO()){var h;(t=(h=N.w_)==null?void 0:MFw(h))&&Object.values(t).some(function(O){return O!=null})&&N.Lq("cpuinfo",t)}N.zW&&N.Lq("jsprof",N.zW.flush()); +N.TW&&g.Xz(N,H,"bat",[N.TW.level,N.TW.charging?"1":"0"]);h=N.provider.wE.getVisibilityState();N.bX!==h&&(g.Xz(N,H,"vis",[h]),N.bX=h);el(N,H);(h=POs(N.provider))&&h!==N.S_&&(g.Xz(N,H,"conn",[h]),N.S_=h);kr(N,H,c)}; +OV=function(N){return N?g.Fu(N):""}; +gFd=function(N){return{iv:jc(N,5),ItT:pz(N,7)}}; +U8L=function(N){this.T=N;N.bq("/client_streamz/bg/cec",yc("ec"),g.iw("mk"))}; +XYe=function(N,H,c){for(var t=[],h=0;h=0?N:-N-2}; +VMw=function(N){return N!=null}; +Lgv=function(N,H,c,t){N.timing.kF((0,g.Lh)(),H,c);H=N.JF;H.L=0;H.S=0;H.C=0;PM(we(N));t&&(t=we(N),t.L+=1);if((t=N.C0)!=null&&(N=N.tj.HR,!((0,g.Lh)()49?"p60":t>32?"p48":"");c=Ur(c,t,O);h>0&&(c=Math.min(c,h));if(!Tq.has(H)&&QK().includes(H)){var F=c;c=Fh();+c[H]>0&&(F=Math.min(+c[H],F));c[H]!==F&&(c[H]=F,g.h9("yt-player-performance-cap",c,2592E3))}else if(Tq.has(H)||O==null){a:{F=F===void 0?!0:F;t=QK().slice();if(F){if(t.includes(H))break a;t.push(H)}else{if(!t.includes(H))break a;t.splice(t.indexOf(H),1)}g.h9("yt-player-performance-cap-active-set",t,2592E3)}sG.set(H, +c)}else Tq.add(H),O==null||O.set(H,c);N.wE.xN()}; +Kjf=function(){var N,H,c,t;return g.Y(function(h){switch(h.T){case 1:N=CW();if((H=N)==null?0:H.hasSucceededOnce)return h.return(!0);if(bA&&nU()&&!Nm()||g.BY)return h.return(!1);try{if(c=self,!(c.indexedDB&&c.IDBIndex&&c.IDBKeyRange&&c.IDBObjectStore))return h.return(!1)}catch(O){return h.return(!1)}if(!("IDBTransaction"in self&&"objectStoreNames"in IDBTransaction.prototype))return h.return(!1);g.Xy(h,2);t={actualName:"yt-idb-test-do-not-use",publicName:"yt-idb-test-do-not-use",userIdentifier:void 0}; +return g.a(h,v9y(t,kwv),4);case 4:return g.a(h,ub("yt-idb-test-do-not-use",kwv),5);case 5:return h.return(!0);case 2:return g.Lq(h),h.return(!1)}})}; +q0=function(){this.keys=[];this.values=[]}; +mA=function(N){var H="";typeof N.toString==="function"&&(H=""+N);return H+N.stack}; +Za=function(N,H,c,t){N.j1.A3(zgy(t),H,c,void 0);N=g.K(N.B);for(var h=N.next();!h.done;h=N.next())h.value.Pr(H,c,t)}; +JVv=function(N,H,c){c=c===void 0?{}:c;var t=new Image,h=""+I0h++;b0w[h]=t;t.onload=t.onerror=function(){H&&b0w[h]&&H();delete b0w[h]}; +c.scrubReferrer&&(t.referrerPolicy="no-referrer");t.src=N}; +jY=function(N,H){this.qT=H;this.B={};this.logger=new g.mE(N)}; +KV=function(N,H,c,t){(t===void 0?0:t)>1?H=H.EOg:(c=q8(c,dk(N,N.oi(H,c),H)),H=Math.max(N.S,c.timedOut)+H.LW*(N.L-N.S)+.25*N.C,H=H>3?1E3*Math.pow(1.6,H-3):0);return H===0?!0:N.TW+H<(0,g.Lh)()}; +Cjy=function(){var N=igs();if(N!==void 0)return Kw(N);qb||(qb=ym("//googleads.g.doubleclick.net/pagead/id",k_S).then(Ifh).lw(function(H){return S4l(2,H)})); +return qb}; +kM=function(N,H){H=Math.pow(10,H);return Math.floor(N*H)/H}; +Mo=function(N){this.value=N}; +g.iw=function(N){return{fieldType:3,fieldName:N}}; +acl=function(N,H){var c=lS(N.B.get(),N.slot.slotType),t=Object,h=t.assign;N=N.slot;if(H.slotEntryTrigger){var O=H.slotId;var F=H.slotEntryTrigger;O=F.triggeringSlotId!=null&&F.triggeringSlotId===O?F.clone(c):F}else O=void 0;return h.call(t,{},N,{slotId:c,slotEntryTrigger:O,slotFulfillmentTriggers:FD3(H.slotId,c,H.slotFulfillmentTriggers),slotExpirationTriggers:FD3(H.slotId,c,H.slotExpirationTriggers)})}; +rVv=function(N){N=g.dD(N);return N!==null?N.split(".").reverse():null}; +g.Ln=function(N,H){return N!==null&&H in N}; +i9=function(N){var H=YW(N.T,N.pos);++N.pos;if(H<128)return H;for(var c=H&127,t=1;H>=128;)H=YW(N.T,N.pos),++N.pos,t*=128,c+=(H&127)*t;return c}; +t2=function(N,H,c,t){var h=c.Md;N[H]=t?function(O,F,M){return h(O,F,M,t)}:h}; +iGR=function(N,H){var c=N.Hr.get(H),t=xKd(N,H),h=!t&&!!c.bytesReceived;if(DJ){var O;if((O=N.GW)==null?0:O.K4){N=g.K(c.Hv.values());for(H=N.next();!H.done;H=N.next())if(!H.value.ZJ)return!1;return h}}else if(O=N.eO(H),h&&N.T&&O!==void 0)return O;return(h||c.bytesReceived===t)&&c.x4+N_e(N,H)===c.bytesReceived}; +HFL=function(){var N=oB(16);for(var H=[],c=0;c1E5||++H.B})}; +g.OFl=function(N,H){var c;return N.D().N("safari_live_drm_captions_fix")&&((c=N.getVideoData())==null?0:c.f2())?!1:g.El(N.D())&&!H.isManifestless}; +c5L=function(N,H){return new g.QP(N?"auth":"manifest.net.retryexhausted",H,N?2:1)}; +bL=function(){this.V0=0;this.T=!1;this.B=-1;this.DJ=!1;this.Fn=0}; +Evl=function(N){var H=N.baseUrl;BOt(H)||N.error("drm.net",2,"t.x");if(!mk(H,"fexp")){var c=["23898307","23914062","23916106","23883098"].filter(function(h){return N.j.experiments.experiments[h]}); +c.length>0&&(N.S.fexp=c.join())}c=g.K(Object.keys(N.S));for(var t=c.next();!t.done;t=c.next())t=t.value,H=Q93(H,t,N.S[t]);return H}; +jFZ=function(N,H,c){var t=480;H=g.K(H);for(var h=H.next();!h.done;h=H.next()){h=h.value;var O=h.video.qualityOrdinal;O<=1080&&O>t&&nis(N,h,c)===!0&&(t=O)}return t}; +Fse=function(N,H){if(H=H.find(function(c){return!(!c||!c.tooltipRenderer)}))N.tooltipRenderer=H.tooltipRenderer}; +jMe=function(N,H){N.C=H;var c=N.Ix;N.J.N("delhi_modern_web_player_icons")?N.B.Sa("ytp-svg-volume-animation-big-ripple").setAttribute("transform","translate(22, 12) scale("+(H+") translate(-22,-12)")):H&&(c+=C4v($7f,T_l,H));N.Bp.setAttribute("d",c)}; +dC=function(N){return window.navigator.msPointerEnabled?"MSPointer"+N.charAt(0).toUpperCase()+N.substring(1):"mouse"+N}; +jl=function(){var N=vQ(odL);if(!N.T){if(!iJ)throw Error("Context has not been set and window is undefined.");N.T=vQ(W1)}return N.T}; +B6e=function(N,H,c,t,h,O,F,M,f,d,W){var z=[];if(H.length===0&&t.length===0&&c.length===0)return z;H=H.filter(Og);var E=c.filter(SfR),x=t.filter(Og),q=new Map,r=b5s(H),w=c.some(function(Fc){var ol;return(Fc==null?void 0:(ol=Fc.adSlotMetadata)==null?void 0:ol.slotType)==="SLOT_TYPE_PLAYER_BYTES"}),n=c.some(function(Fc){var ol; +return(Fc==null?void 0:(ol=Fc.adSlotMetadata)==null?void 0:ol.slotType)==="SLOT_TYPE_PLAYER_UNDERLAY"}),p=c.some(function(Fc){var ol; +return(Fc==null?void 0:(ol=Fc.adSlotMetadata)==null?void 0:ol.slotType)==="SLOT_TYPE_IN_PLAYER"}),U=c.some(function(Fc){var ol,Q; +return(Fc==null?void 0:(ol=Fc.adSlotMetadata)==null?void 0:ol.slotType)==="SLOT_TYPE_BELOW_PLAYER"||(Fc==null?void 0:(Q=Fc.adSlotMetadata)==null?void 0:Q.slotType)==="SLOT_TYPE_ABOVE_FEED"}),X=c.some(function(Fc){var ol; +return(Fc==null?void 0:(ol=Fc.adSlotMetadata)==null?void 0:ol.slotType)==="SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM"}); +c=c.some(function(Fc){var ol;return(Fc==null?void 0:(ol=Fc.adSlotMetadata)==null?void 0:ol.slotType)==="SLOT_TYPE_IN_PLAYER_ORGANIC_OVERLAY"}); +if(w||n||p||U||X||c)d=MXD(E,H,M,h,r,N.Uy.get(),N.loadPolicy,q,N.Rx.get(),N.U.get(),p,F,f,d,W),d instanceof S?KA(d,void 0,void 0,{contentCpn:h}):z.push.apply(z,g.HE(d));d=g.K(H);for(c=d.next();!c.done;c=d.next())c=c.value,n=RRt(N,q,c,h,O,F,w,M,r,f,E,N.Rx.get().J.D().experiments.M4("html5_enable_triggering_cuepoint_for_slot")?W:void 0),n instanceof S?KA(n,void 0,void 0,{renderer:c.renderer,config:c.config.adPlacementConfig,kind:c.config.adPlacementConfig.kind,contentCpn:h,daiEnabled:F}):z.push.apply(z, +g.HE(n));tkd(N.Rx.get())||(O=fMd(N,x,h,M,r,q),z.push.apply(z,g.HE(O)));if(N.L===null||F&&!M.Q6){var A,R,v;N=M.K4&&H.length===1&&((A=H[0].config)==null?void 0:(R=A.adPlacementConfig)==null?void 0:R.kind)==="AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"&&((v=H[0].renderer)==null?void 0:v.adBreakServiceRenderer);if(!z.length&&!N){var Nf,Fe,tS,jh;KA("Expected slots parsed from AdPlacementRenderers for DAI",void 0,void 0,{"AdPlacementRenderer count":H.length,contentCpn:h,"first APR kind":(Nf=H[0])==null?void 0: +(Fe=Nf.config)==null?void 0:(tS=Fe.adPlacementConfig)==null?void 0:tS.kind,renderer:(jh=H[0])==null?void 0:jh.renderer})}return z}A=t.filter(Og);z.push.apply(z,g.HE(Lih(q,A,N.B.get(),N.L,h,w)));if(!z.length){var cL,Ks,Rl,Tx;KA("Expected slots parsed from AdPlacementRenderers",void 0,void 0,{"AdPlacementRenderer count":H.length,contentCpn:h,daiEnabled:F.toString(),"first APR kind":(cL=H[0])==null?void 0:(Ks=cL.config)==null?void 0:(Rl=Ks.adPlacementConfig)==null?void 0:Rl.kind,renderer:(Tx=H[0])== +null?void 0:Tx.renderer})}return z}; +d7w=function(N,H,c){var t=g.K(N.index?PB(N.logger,function(){return Nms(gTl(H),c)},"R"):["u"]),h=t.next().value; +t=t.next().value;N.logger.d8(h);return t}; +WsD=function(N,H){return QZ(N.clientMetadata,"metadata_ad_video_is_listed")?lQ(N.clientMetadata,"metadata_ad_video_is_listed"):H?H.isListed:(KA("No layout metadata nor AdPlayback specified for ad video isListed"),!1)}; +svy=function(N){var H=BV(),c=vQ($h);N&&!H.U&&(H.U=!0,c.gE=!0,c.C&&c.fail("w",!0))}; +zq=function(N,H,c){c=c===void 0?!1:c;g.L.call(this);this.element=N;this.T=H;this.C=c;this.Y={};this.U=null;this.S=new g.Ww(this);this.L=this.B=null;g.l(this,this.S)}; +SF=function(){return window.SourceBuffer?!!SourceBuffer.prototype.changeType:!1}; +ELe=function(){return{W:"svg",V:{viewBox:"0 0 24 24"},X:[{W:"path",V:{d:"M0 0h24v24H0z",fill:"none"}},{W:"path",V:{d:"M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v1.91l.01.01L1 14c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z",fill:"#fff"}}]}}; +g.P4=function(N,H){return N.replace(z2Z,function(c,t){try{var h=g.yI(H,t);if(h==null||h.toString()==null)return c;h=h.toString();if(h==""||!g.YY(g.vM(h)))return encodeURIComponent(h).replace(/%2C/g,",")}catch(O){}return c})}; +q_y=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x,q,r,w,n,p,U,X,A,R){function v(){var jh,cL=(jh=t.Yb)!=null?jh:lQ(t.clientMetadata,"metadata_type_sub_layouts");jh=k7t({uU:N,ea:z,ID:X,Nc:W,k_:E,mx:x,YO:r,HL:H,slot:c,layout:t,PH:O,ZM:F,Le:h,Rx:U});for(var Ks=[],Rl={C$:0};Rl.C$-1)if(N.tooltipRenderer.targetId){H=[];t=t.split("$TARGET_ICON");var F=new g.hH({W:"span",K:"ytp-promotooltip-details-icon", +X:[D7f[N.tooltipRenderer.targetId]]});g.l(N,F);for(var M=[],f=g.K(t),d=f.next();!d.done;d=f.next())d=new g.hH({W:"span",K:"ytp-promotooltip-details-component",Wp:d.value}),g.l(N,d),M.push(d);t.length===2?(H.push(M[0].element),H.push(F.element),H.push(M[1].element)):t.length===1&&(O===0?(H.push(F.element),H.push(M[0].element)):(H.push(M[0].element),H.push(F.element)));O=H.length?H:null}else O=null;else O=t;if(O){if(typeof O!=="string")for(g.oH(N.details),h=g.K(O),O=h.next();!O.done;O=h.next())N.details.appendChild(O.value); +else N.update({details:O});h=!0}}g.AM(N.details,h);h=N.tooltipRenderer.acceptButton;O=!1;var W,z,E;((W=g.P(h,g.mM))==null?0:(z=W.text)==null?0:(E=z.runs)==null?0:E.length)&&g.P(h,g.mM).text.runs[0].text&&(N.update({acceptButtonText:g.P(h,g.mM).text.runs[0].text.toString()}),O=!0);g.AM(N.acceptButton,O);W=N.tooltipRenderer.dismissButton;z=!1;var x,q,r;((x=g.P(W,g.mM))==null?0:(q=x.text)==null?0:(r=q.runs)==null?0:r.length)&&g.P(W,g.mM).text.runs[0].text&&(N.update({dismissButtonText:g.P(W,g.mM).text.runs[0].text.toString()}), +z=!0);g.AM(N.dismissButton,z)}c&&(N.sourceElement=c);N.T=QMh(N);N.S=!1;N.J.D().N("web_player_hide_nitrate_promo_tooltip")||N.a4(!0);pDR(N);N.I4&&!N.Z&&(N.Z=!0,N.Br.BY(0));N.B&&N.J.logVisibility(N.element,N.I4)}}; +ufZ=function(N,H){var c;return N.T.equals(H)&&(!N.S.T||!N.T.isLocked()||((c=N.nextVideo)==null?void 0:c.info.id)===N.S.T)}; +JFL=function(N){return N.N("html5_tvos_skip_dash_audio_check")||MediaSource.isTypeSupported('audio/webm; codecs="opus"')}; +n3y=function(N,H){this.YG=N;this.policy=H;this.playbackRate=1}; +g.$c=function(N){var H=["ytp-cued-thumbnail-overlay"];N.D().Y&&H.push("ytp-exp-contain-thumbnail");g.e.call(this,{W:"div",fq:H,X:[{W:"div",K:"ytp-cued-thumbnail-overlay-image"}]});H=this.Sa("ytp-cued-thumbnail-overlay");var c=new g.HD(N);g.l(this,c);c.Jl(H);this.B=new g.Ww(this);g.l(this,this.B);this.api=N;this.U=this.Sa("ytp-cued-thumbnail-overlay-image");this.L=c;this.fade=new g.BX(this,250);g.l(this,this.fade);this.T=new g.kT(this.Df,0,this);g.l(this,this.T);this.Df();this.G(N,"appresize",this.Mc); +this.G(N,"presentingplayerstatechange",this.onStateChange);this.G(N,"ypcStateChanged",this.YIf);Hg(N.D())&&this.G(N,"videoplayerreset",this.onReset)}; +var HZe=function(N){return Ui[T[3]](this,1,N)}; +d4=function(N,H){N.lJ&&Yk(N);N.lJ=new g.vn(H*1E3,0x7ffffffffffff);N.lJ.namespace="endcr";N.addCueRange(N.lJ)}; +BH=function(){se.apply(this,arguments)}; +S_L=function(N,H){(H===void 0||H)&&J8R(N);N.T=null}; +dtd=function(N,H){if(H.jb)for(var c=0;cg.Ym(XDf).length?null:Xs(H,function(c,t){t=t.toLowerCase().split("=");if(t.length!=2||VXy[t[0]]===void 0||!VXy[t[0]](t[1]))throw Error("Entry ("+t[0]+", "+t[1]+") is invalid.");c[t[0]]=t[1];return c},{})}catch(c){return null}}; +Ef=function(N,H){this.B=N;this.T=H+"::"}; +$k=function(N){this.hF=oF(N)}; +Lse=function(N){return{SN:IZ(N,1),Ur:IZ(N,2),minReadaheadMs:IZ(N,3)}}; +F6e=function(N){var H=!!N.xd;g.et(N.Q4,H?"Copy debug info":"Get debug info");EV(N.Q4,!H);g.et(N.WL,H?"Copy embed code":"Get embed code");EV(N.WL,!H);g.et(N.getVideoUrl,H?"Copy video URL":"Get video URL");EV(N.getVideoUrl,!H);g.et(N.Ez,H?"Copy video URL at current time":"Get video URL at current time");EV(N.Ez,!H);N.WL.setIcon(H?ATL():null);N.getVideoUrl.setIcon(H?Bi():null);N.Ez.setIcon(H?Bi():null)}; +ZFs=function(N){Mk(N,"impression")&&!Mk(N,"seek")&&N.F1("active_view_fully_viewable_audible_half_duration")}; +ut=function(N,H){N.T.push(H>>>0&255);N.T.push(H>>>8&255);N.T.push(H>>>16&255);N.T.push(H>>>24&255)}; +Y_t=function(N){for(var H=[],c=0;c=H)return c}N=g.K(N.B.values());for(c=N.next();!c.done;c=N.next())if(c=c.value,c.start<=H&&c.end>=H)return c}; +kKw=function(N,H){if(!N.T["0"]){var c=new p8("0","fakesb",{video:new Uo(0,0,0,void 0,void 0,"auto")});N.T["0"]=H?new Cp(new g.Ft("http://www.youtube.com/videoplayback"),c,"fake"):new cI(new g.Ft("http://www.youtube.com/videoplayback"),c,new oa(0,0),new oa(0,0))}}; +ipt=function(N,H,c){H=g.K(H);for(var t=H.next();!t.done;t=H.next())if(t=t.value)if(t=t.playerLegacyDesktopWatchAdsRenderer)if(t=t.playerAdParams){t.autoplay=="1"&&(N.LC=!0,N.c_=!0);N.Lx=t.encodedAdSafetyReason||null;t.showContentThumbnail!==void 0&&(N.uj=!!t.showContentThumbnail);c.enabled_engage_types=t.enabledEngageTypes;break}}; +cJL=function(N){g.gC.call(this,N,"ytp-settings-menu");var H=this;this.hn=new g.Fm(this.J);this.rG=this.AR=this.settingsButton=null;this.isInitialized=this.xw=!1;g.l(this,this.hn);this.hide();g.Q7(this,this.hn);N.createClientVe(this.element,this,108341,!0);this.subscribe("show",function(h){H.pG(h)}); +this.G(N,"highlightSettingsMenu",function(){H.xw=!0;H.aD()}); +this.G(N,"openSettingsMenuItem",function(h){if(h&&(H.xw=!0,H.aD(),h==="menu_item_video_quality_advanced")){var O;(O=H.AR)==null||O.open()}}); +N.N("html5_enable_voice_boost")&&(this.G(N,"onPlaybackAudioChange",this.D$),this.G(N,"videodatachange",this.D$));var c,t;((c=this.J.D())==null?0:(t=c.getWebPlayerContextConfig())==null?0:t.enableFullscreenComponentsFeature)&&this.G(this.element,"wheel",function(h){h.stopPropagation()})}; +g.t1h=function(N){var H=this;this.videoData=N;N={};this.T=(N.c1a=function(){var c=[];if(g.jv.isInitialized()){var t="";H.videoData&&H.videoData.iJ&&(t=H.videoData.iJ+("&r1b="+H.videoData.clientPlaybackNonce));var h={};t=(h.atr_challenge=t,h);OZ("bg_v",void 0,"player_att");(t=toL(t))?(OZ("bg_s",void 0,"player_att"),c.push("r1a="+t)):(OZ("bg_e",void 0,"player_att"),c.push("r1c=2"))}else OZ("bg_e",void 0,"player_att"),window.trayride||window.botguard?c.push("r1c=1"):c.push("r1c=4");c.push("r1d="+g.jv.getState()); +return c.join("&")},N.c6a=function(c){return"r6a="+(Number(c.c)^rC())},N.c6b=function(c){return"r6b="+(Number(c.c)^Number(g.YI("CATSTAT",0)))},N); +this.videoData&&this.videoData.iJ?this.yl=OC(this.videoData.iJ):this.yl={}}; +HY=function(N,H,c){N.B=H;var t;(t=N.S)==null||t.Xf(H,c);var h;(h=N.Bp)==null||h.Xf(H);N.T=0;Ao(N);KWh(N,H)}; +md=function(N){var H=N.j.experiments.Zp().T.G0(mQ);var c=N.j.deviceIsAudioOnly;H=H===void 0?!1:H;c=c?H?new g.Si(g.Ch("AUDIO")):new g.RX(g.Ch("AUDIO")):Gk.pop()||(H?new g.Si(g.Ch("VIDEO")):new g.RX(g.Ch("VIDEO")));N.mediaElement=c;g.l(N,N.mediaElement);N.x_().setMediaElement(N.mediaElement);try{N.j.T3?(N.FW&&N.events.G3(N.FW),N.FW=N.events.G(N.mediaElement,"volumechange",N.PGo)):(N.mediaElement.Jr(N.bR.muted),N.mediaElement.setVolume(N.bR.volume/100))}catch(h){N.h3("html5.missingapi",2,"UNSUPPORTED_DEVICE", +"setvolume.1;emsg."+(h&&typeof h==="object"&&"message"in h&&typeof h.message==="string"&&h.message.replace(/[;:,]/g,"_")));return}g.bM(N.pP);hUf(N);c=N.template;H=N.mediaElement.N4();c.Wr=H;c.JL=!1;c.Wr.parentNode||PH(c.BJ,c.Wr,0);c.Sx=new g.HS(0,0,0,0);Opf(c);iD(c);H=c.Wr;g.bV(H,"video-stream");g.bV(H,g.Jk.MAIN_VIDEO);var t=c.app.D();t.qz&&H.setAttribute("data-no-fullscreen","true");t.N("html5_local_playsinline")?"playsInline"in EY()&&(H.playsInline=!0):t.l7&&(H.setAttribute("webkit-playsinline", +""),H.setAttribute("playsinline",""));t.fn&&c.Wr&&c.G(H,"click",H.play,H);try{N.mediaElement.activate()}catch(h){N.h3("html5.missingapi",2,"UNSUPPORTED_DEVICE","activate.1;emsg."+(h&&typeof h==="object"&&"message"in h&&typeof h.message==="string"&&h.message.replace(/[;:,]/g,"_")))}}; +FOs=function(N,H){H=H===void 0?!1:H;N.Zf&&N.Zf.T&&N.Zf.B&&(N.Zf.T.mV(N.w_,N),N.Zf.B.mV(N.w_,N));wC(N.audioTrack,null,H);wC(N.videoTrack,null,H);N.Zf&&(N.Zf.S=!1);N.Zf=null}; +$gl=function(N){var H=1,c=g.Mx(N.Es.experiments,"html5_default_ad_gain");c&&N.isAd()&&(H=c);var t,h;c=((t=N.U)==null?void 0:t.audio.L)!=null?(h=N.U)==null?void 0:h.audio.L:N.XQ;isNaN(c)||(N.YA=4);return Math.min(1,Math.pow(10,-c/20))||H}; +DN=function(){var N,H;return"h5vcc"in QO&&((N=QO.h5vcc.traceEvent)==null?0:N.traceBegin)&&((H=QO.h5vcc.traceEvent)==null?0:H.traceEnd)?1:"performance"in QO&&QO.performance.mark&&QO.performance.measure?2:0}; +g.ie=function(N){var H=typeof N;return H=="object"&&N!=null||H=="function"}; +kuw=function(N,H,c){var t=[];N=g.K(N);for(var h=N.next();!h.done;h=N.next())if(h=h.value,g.P(h,QR)){h=vq(g.P(h,QR),H,c);if(h instanceof sz)return new S(h);t.push(h.oH)}return t}; +GX=function(N){var H,c;return new Map([["impression",N.impressionPings||[]],["error",N.errorPings||[]],["mute",N.mutePings||[]],["unmute",N.unmutePings||[]],["pause",N.pausePings||[]],["rewind",N.rewindPings||[]],["resume",N.resumePings||[]],["skip",N.skipPings||[]],["swipe",N.swipePings||[]],["close",N.closePings||[]],["progress",N.progressPings||[]],["clickthrough",N.clickthroughPings||[]],["fullscreen",N.fullscreenPings||[]],["active_view_viewable",N.activeViewViewablePings||[]],["active_view_measurable", +N.activeViewMeasurablePings||[]],["active_view_fully_viewable_audible_half_duration",N.activeViewFullyViewableAudibleHalfDurationPings||[]],["audio_audible",((H=N.activeViewTracking)==null?void 0:H.activeViewAudioAudiblePings)||[]],["audio_measurable",((c=N.activeViewTracking)==null?void 0:c.activeViewAudioMeasurablePings)||[]],["end_fullscreen",N.endFullscreenPings||[]],["channel_clickthrough",N.channelClickthroughPings||[]],["abandon",N.abandonPings||[]],["start",N.startPings||[]],["first_quartile", +N.firstQuartilePings||[]],["midpoint",N.secondQuartilePings||[]],["third_quartile",N.thirdQuartilePings||[]],["complete",N.completePings||[]],["unmuted_impression",N.unmutedImpressionPings||[]],["unmuted_error",N.unmutedErrorPings||[]],["unmuted_mute",N.unmutedMutePings||[]],["unmuted_unmute",N.unmutedUnmutePings||[]],["unmuted_pause",N.unmutedPausePings||[]],["unmuted_resume",N.unmutedResumePings||[]],["unmuted_close",N.unmutedClosePings||[]],["unmuted_progress",N.unmutedProgressPings||[]],["unmuted_clickthrough", +N.unmutedClickthroughPings||[]],["unmuted_fullscreen",N.unmutedFullscreenPings||[]],["unmuted_end_fullscreen",N.unmutedEndFullscreenPings||[]],["unmuted_abandon",N.unmutedAbandonPings||[]],["unmuted_start",N.unmutedStartPings||[]],["unmuted_first_quartile",N.unmutedFirstQuartilePings||[]],["unmuted_midpoint",N.unmutedSecondQuartilePings||[]],["unmuted_third_quartile",N.unmutedThirdQuartilePings||[]],["unmuted_complete",N.unmutedCompletePings||[]],["unmuted_skip",N.unmutedSkipPings||[]]])}; +af=function(){this.L=0;this.T=[];this.B=!1}; +NS=function(N,H){N.coldHashData=H;g.Hw("yt.gcf.config.coldHashData",N.coldHashData||null)}; +A5w=function(N,H,c,t,h,O,F,M,f,d){this.oD=N;this.k_=H;this.Pp=c;this.U=t;this.r_=h;this.B=O;this.L=F;this.V4=M;this.Rx=f;this.T=d}; +Hyh=function(N){var H=new q2;if(N.interpreterJavascript){var c=TgS(N.interpreterJavascript);c=Kh(c).toString();var t=new sl;ES(t,6,c);ko(H,sl,1,t,oU)}else N.interpreterUrl&&(c=hV(N.interpreterUrl),c=JK(c).toString(),t=new BK,ES(t,4,c),ko(H,BK,2,t,oU));N.interpreterHash&&dl(H,3,N.interpreterHash,oU);N.program&&dl(H,4,N.program,oU);N.globalName&&dl(H,5,N.globalName,oU);N.clientExperimentsStateBlob&&dl(H,7,N.clientExperimentsStateBlob,oU);return H}; +g.Js=function(N,H){var c=Array.prototype.slice.call(arguments,1);return function(){var t=c.slice();t.push.apply(t,arguments);return N.apply(this,t)}}; +Ty=function(N,H,c,t){return PB(N.logger,function(){return c?N.K5(H,t):N.P1(H,t)},N.T)}; +f9S=function(N){if(N.oe&&!N.N("html5_onesie_media_capabilities")){N.tN("ogsf_s");var H=jIR(N.wE.getVideoData(),function(t,h){N.Lq(t,h)}),c=Tyv(N.wE); +H.video=M13(c,H.video);N.tN("ogsf_c");if(H.video.length)return H;N.Lq("ombspf","l."+c.B+";u."+c.T+";o."+c.L+";r."+c.reason)}}; +dgv=function(N){return N.T.cmodel==="CHROMECAST ULTRA/STEAK"||N.T.cmodel==="CHROMECAST/STEAK"}; +gpv=function(N,H,c,t){t=t===void 0?!1:t;H=g.sf("web_fp_via_jspb")?Object.assign({},H):H;g.sf("use_cfr_monitor")&&WOZ(N,H);if(g.sf("use_request_time_ms_header"))H.headers&&Q0(N)&&(H.headers["X-Goog-Request-Time"]=JSON.stringify(Math.round((0,g.Lh)())));else{var h;if((h=H.postParams)==null?0:h.requestTimeMs)H.postParams.requestTimeMs=Math.round((0,g.Lh)())}c&&Object.keys(H).length===0?g.Cx(N):H.compress?H.postBody?(typeof H.postBody!=="string"&&(H.postBody=JSON.stringify(H.postBody)),q_(N,H.postBody, +H,g.Rj,t)):q_(N,JSON.stringify(H.postParams),H,w4,t):g.Rj(N,H)}; +zUe=function(N,H){N.L=N.U.animate([{offset:0,easing:"cubic-bezier(0.20, 0.00, 0.60, 1.00)",opacity:H},{offset:1,opacity:1}],{duration:200,fill:"forwards"});N.L.addEventListener("finish",function(){N.L=void 0;N.Y.start();N.T="lingering"})}; +E5h=function(N,H){if(!N)return NaN;H=O$(N,H);return H>=0?N.start(H):NaN}; +wye=function(N){this.value=N}; +qgv=function(N){var H=lQ(N.layout.clientMetadata,"metadata_type_layout_enter_ms"),c=lQ(N.layout.clientMetadata,"metadata_type_layout_exit_ms");N=N.jg.get();H=xgL(N.L,H,c);return Math.min(c,H!==null?H:Infinity)}; +il=function(){CEZ===void 0&&(CEZ=D0t());return CEZ}; +f6e=function(N,H){switch(N.style){case DQ.CHAPTER_MARKER:return H?8:5;case DQ.AD_MARKER:return 6;case DQ.TIME_MARKER:return Number.POSITIVE_INFINITY;default:return 0}}; +g.aS=function(N){g.BZ(N,"WARNING")}; +lu=function(N,H,c){if(c===void 0?0:c)N.Y=!0;++N.S;c=6E4*Math.pow(2,N.S);c=(0,g.Lh)()+c;N.L.set(H.info.id,c)}; +g.zB=function(N){return N.flavor==="fairplay"}; +xQv=function(N,H){return(N=N.flags.get(""+H))?N.toString():""}; +TgS=function(N){return N?(N=N.privateDoNotAccessOrElseSafeScriptWrappedValue)?flR(N):null:null}; +mq=function(N,H,c,t,h){Object.isExtensible(N);H=er(N.hF,H,c,h);if(H!==null||t&&N.B!==R0)return H}; +wC=function(N,H,c){c=c===void 0?!1:c;H&&wf&&eKZ(N.L,H.zN());if(!c){var t;(t=N.C)==null||PLt(t)}N.q4=H;(H=N.C)!=null&&(H.q4=N.q4)}; +KOL=function(N,H,c){var t=c.reason==="m"||c.reason==="s";N.policy.w3&&Ej&&g.op&&(!t||c.T<1080)&&(H=H.filter(function(d){return d.video&&(!d.B||d.B.powerEfficient)})); +if(H.length>0)if(SF()){var h=l9f(N,H);H=H.filter(function(d){return!!d&&!!d.video&&d.T0===h[d.video.qualityOrdinal].T0})}else{var O,F,M=(O=H[0])==null?void 0:(F=O.video)==null?void 0:F.qualityOrdinal; +if(M){c=H.filter(function(d){return!!d&&!!d.video&&d.video.qualityOrdinal===M}); +var f=l9f(N,c)[M].T0;H=H.filter(function(d){return!!d&&!!d.video&&d.T0===f})}}return H}; +Qn=function(){Vkv.apply(this,arguments)}; +nZe=function(N){var H,c;return((H=N.renderer)==null?void 0:(c=H.adBreakServiceRenderer)==null?void 0:c.getAdBreakUrl)!==void 0}; +Eyy=function(N,H,c){for(var t=[],h=g.K(N),O=h.next();!O.done;O=h.next())if(O=g.P(O.value.renderingContent,QR)){if(!ps(O))return new S("Invalid vod media renderer");t.push(t_e(O))}h=t.map(function(z){return z.oH}); +O=[];for(var F=0,M=0;M>>8|F<<24,F+=O|0,F^=M+38293,O=O<<3|O>>>29,O^=F,f=f>>>8|f<<24,f+=M|0,f^=d+38293,M=M<<3|M>>>29,M^=f;O=[O,F];N[h]^=O[0];h+1H||c>10||(N.play(),g.Zh(function(){LOh(N,N.getCurrentTime(),c+1)},500))}; +Zps=function(){var N=["metadata_type_shopping_companion_carousel_renderer","metadata_type_linked_player_bytes_layout_id"];vR().forEach(function(H){N.push(H)}); +return{lG:N,xH:["LAYOUT_TYPE_COMPANION_WITH_SHOPPING"]}}; +YgR=function(N){var H=N.vp||N.zW;return H?N.snapshot.delay+Math.min(N.ul,(N.Z-N.TW)/1E3)+H:N.Dt}; +AJS=function(N){var H=1,c;for(c in N.B)c.length>H&&(H=c.length);return 3997-H-N.L.length-1}; +QJ=function(N){var H=N.data.getUint16(N.offset+N.T);N.T+=2;return H}; +h4=function(){var N=VW()&&!uH(29),H=g.$b("google tv")&&g.$b("chrome")&&!uH(30);return N||H?!1:JR()}; +g.pN=function(){return{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},X:[{W:"path",V:{d:"m 12.59,20.34 4.58,-4.59 -4.58,-4.59 1.41,-1.41 6,6 -6,6 z",fill:"#fff"}}]}}; +a9t=function(N){this.T=N;N.bq("/client_streamz/bg/po/csc",yc("cs"),g.iw("mk"))}; +v5f=function(N,H,c,t,h,O,F){var M=new g.VD;eUh.push(M);H&&M.listen("complete",H);M.Is("ready",M.pW);O&&(M.Bp=Math.max(0,O));F&&(M.C=F);M.send(N,c,t,h)}; +oi=function(N){g.L.call(this);this.T=N;this.AY=!0;this.tF=new Map;this.S=new Set;this.L=new Set;this.U=new Set;this.Y=new Set;this.B=new Set}; +sIZ=function(N,H,c,t){N.T&&KA("Currently active request ongoing for slot. This should never happen",N.slot);N.T=H();N.T.then(function(h){N.T=null;t&&t(h);var O=h.ZN?"LAYOUT_TYPE_THROTTLED_AD_BREAK_RESPONSE":"LAYOUT_TYPE_AD_BREAK_RESPONSE",F=N.B.get(),M=N.slot.slotId,f=q5(N.Uy.get(),{slotId:N.slot.slotId,slotType:N.slot.slotType,slotPhysicalPosition:N.slot.slotPhysicalPosition,Hp:N.slot.Hp,slotEntryTrigger:N.slot.slotEntryTrigger,slotFulfillmentTriggers:N.slot.slotFulfillmentTriggers,slotExpirationTriggers:N.slot.slotExpirationTriggers}), +d=CA(F.B.get(),O,M),W={layoutId:d,layoutType:O,Hp:"core"};h={layoutId:d,layoutType:O,S1:new Map,layoutExitNormalTriggers:[new myZ(F.T,M)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],Hp:"core",clientMetadata:new xd([new vy(h)]),z0:f(W)};Ew3(N.callback,N.slot,h)},function(h){N.T=null; +c&&c();h instanceof xY||qB(N.callback,N.slot,new S(h,void 0,"ADS_CLIENT_ERROR_MESSAGE_AD_BREAK_REQUEST_ERROR",!0),"ADS_CLIENT_ERROR_TYPE_FULFILL_SLOT_FAILED")})}; +P1=function(N){x0(N);N.S7=null;var H=Nql(N.j,N.videoData,N.Mp());N.Lu=H;N.Lu.then(function(c){A4w(N,c)},function(c){N.uo()||(c=g8(c),N.visibility.isBackground()?(kJ(N,"vp_none_avail"),N.Lu=null,N.iU.reset()):(N.iU.finished=!0,N.TU(c.errorCode,c.severity,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",Gu(c.details))))}); +return H}; +pBw=function(N){for(var H=g.K(Bgt),c=H.next();!c.done;c=H.next())N=H4(N,c.value);return"ST-"+cj(N).toString(36)}; +Ol=function(N,H,c,t,h,O){O=O===void 0?!1:O;g.L.call(this);this.element=N;this.Z=H;this.initData=c;this.T=t;this.B=h;this.TW=O;this.sessionId="";this.C=this.Y=this.L=this.S=null;this.U=new g.Ww(this);g.l(this,this.U);yJD(this)}; +RUS=function(N,H,c,t,h){var O=N.provider.j.T.cbrver;N.provider.j.T.cbr==="Chrome"&&/^96[.]/.test(O)&&c==="net.badstatus"&&/rc\.500/.test(h)&&Gls(N,3);N.provider.j.N("html5_use_ump")&&/b248180278/.test(h)&&Gls(N,4);O=N.provider.getCurrentTime(N.adCpn||N.provider.videoData.clientPlaybackNonce);t=t===1?"fatal":"";c=[c,t,O.toFixed(3)];t&&(h+=";a6s."+rC());h&&c.push(n7D(h));g.Xz(N,H,"error",c);N.U=!0}; +o5v=function(N,H){if(!N.uo())if(g.y(H.state,2)||g.y(H.state,512)){if(N.Y="paused",g.tC(H,2)||g.tC(H,512))g.tC(H,2)&&(N.T.previouslyEnded=!0),N.L&&(D3(N),Na(N).send(),N.U=NaN)}else if(g.y(H.state,8)){N.Y="playing";var c=N.L&&isNaN(N.S)?hQ(N):NaN;if(!isNaN(c)&&(hC(H,64)<0||hC(H,512)<0)){var t=h7(N,!1);t.C=c;t.send()}g.tC(H,16)&&H.state.seekSource===58&&(N.T.previouslyEnded=!0)}else N.Y="paused"}; +Qne=function(N){var H,c;return g.Y(function(t){return t.T==1?g.a(t,yf(N),2):t.T!=3?(H=t.B,c=void 0,g.a(t,g.zu(H,["coldConfigStore"],{mode:"readwrite",Zt:!0},function(h){return g.Xh(h.objectStore("coldConfigStore").index("coldTimestampIndex"),{direction:"prev"},function(O){c=O.getValue()})}),3)):t.return(c)})}; +kl3=function(N,H){SYv.apply(null,[6,N instanceof g.mE?N.tag:N,H].concat(g.HE(g.LQ.apply(2,arguments))))}; +g.Ww=function(){Qz.apply(this,arguments)}; +Yyf=function(N,H){var c=wRZ();if(c){var t=c.coldConfigData,h=c.coldHashData;c=c.hotHashData;if(N){var O;H=(O=GL(N,$k,62))!=null?O:new $k;t=ES(H,1,t);ES(t,3,h).IE(c);ko(N,$k,62,H)}else H&&(H.client.configInfo=H.client.configInfo||{},t&&(H.client.configInfo.coldConfigData=t),h&&(H.client.configInfo.coldHashData=h),c&&(H.client.configInfo.hotHashData=c))}}; +I9y=function(N,H){var c=N.Y[H.sessionId];!c&&N.U&&(c=N.U,N.U=null,c.sessionId=H.sessionId,N.Y[H.sessionId]=c);return c}; +bpZ=function(N,H){RI(g.gx(N.J.D()),"wl_button",function(){CxZ({videoId:H});window.location.reload()})}; +Oqw=function(N,H,c,t,h){++N.L;H&&++N.S;Sc(23,c.HR).startsWith("redirector.")&&(N.T=N.B.clone(),delete N.U,t.vy&&delete h[Sc(21,N.T)])}; +Vvs=function(N,H){this.Lo=N;this.g5=0;this.U0=H}; +Aos=function(N,H,c,t,h){function O(f){M||(M=!0,c.call(h,f))} +function F(f){M||(M=!0,t.call(h,f))} +var M=!1;try{H.call(N,O,F)}catch(f){F(f)}}; +NPy=function(N,H){return H?[g.dv(H.info,N)]:[]}; +jA=function(){return Jq()?!1:zL("Opera")}; +NkD=function(N,H){N=N.api.getRootNode();g.QH(N,"ytp-ad-overlay-open",H);g.QH(N,"ytp-ad-overlay-closed",!H)}; +D9=function(N,H,c,t){this.j=H;this.Uu=c;this.segments=[];this.experimentIds=[];this.Xg=this.Dt=this.isFinal=this.delayThresholdMet=this.kG=this.mz=this.autoplay=this.autonav=!1;this.n4="yt";this.Y=[];this.C=this.TW=null;this.sendVisitorIdHeader=this.w_=!1;this.Z=this.pageId="";this.S=c==="watchtime";this.L=c==="playback";this.NT=c==="atr";this.gk=c==="engage";this.sendVisitorIdHeader=!1;this.uri=this.NT?"/api/stats/"+c:"//"+H.AV+"/api/stats/"+c;t&&(this.Dt=t.fs,t.rtn&&(this.C=t.rtn),this.S?(this.playerState= +t.state,t.rti>0&&(this.TW=t.rti)):(this.TE=t.mos,this.kD=t.volume,t.at&&(this.adType=t.at)),t.autonav&&(this.autonav=t.autonav),t.inview!=null&&(this.T3=t.inview),t.size&&(this.S_=t.size),t.playerwidth&&(this.G7=t.playerwidth),t.playerheight&&(this.Jj=t.playerheight));this.AN=g.dP(H.T);this.Z=Ib(H.experiments,"html5_log_vss_extra_lr_cparams_freq");if(this.Z==="all"||this.Z==="once")this.C4=g.dP(H.kG);this.LG=H.TE;this.experimentIds=fhL(H.experiments);this.zW=H.qc;this.n4=H.Bp;this.region=H.region; +this.userAge=H.userAge;this.UF=H.YA;this.qc=M$();this.sendVisitorIdHeader=H.sendVisitorIdHeader;this.Ix=H.N("vss_pings_using_networkless")||H.N("kevlar_woffle");this.il=H.N("vss_final_ping_send_and_write");this.Cq=H.N("vss_use_send_and_write");this.pageId=H.pageId;this.Bd=H.N("vss_playback_use_send_and_write");H.livingRoomAppMode&&(this.livingRoomAppMode=H.livingRoomAppMode);g.PX(H)&&(this.Kq=H.Ix);g.Hm(g.ZA(H))&&this.Y.push(1);this.accessToken=g.JO(N);N.W4[this.Uu]?this.U=N.W4[this.Uu]:N.W4.playback&& +(this.U=N.W4.playback);this.adFormat=N.adFormat;this.adQueryId=N.adQueryId;this.autoplay=kce(N);this.L&&(this.mz=N.c_&&or(N)==="adunit"?!0:!1);this.autonav=N.isAutonav||this.autonav;this.contentVideoId=SRs(N);this.clientPlaybackNonce=N.clientPlaybackNonce;this.kG=N.Uc;N.Y&&(this.Us=N.Y,this.mG=N.eY);N.mdxEnvironment&&(this.mdxEnvironment=N.mdxEnvironment);this.T=N.kG;this.fE=N.fE;N.B&&(this.xD=N.B.itag,N.U&&N.U.itag!==this.xD&&(this.WO=N.U.itag));N.T&&$x(N.T)&&(this.offlineDownloadUserChoice="1"); +this.eventLabel=or(N);this.Xg=N.T3?!1:N.mz;this.wJ=N.Ol;if(H=f9(N))this.L2=H;this.Oc=N.l7;this.partnerId=N.partnerId;this.eventId=N.eventId;this.playlistId=N.yH||N.playlistId;this.KM=N.KM;this.oR=N.oR;this.x8=N.x8;this.EZ=N.EZ;this.subscribed=N.subscribed;this.videoId=N.videoId;this.videoMetadata=N.videoMetadata;this.visitorData=N.visitorData;this.osid=N.osid;this.fh=N.fh;this.referrer=N.referrer;this.Ge=N.EE||N.Ge;this.Al=N.ya;this.GR=N.GR;this.userGenderAge=N.userGenderAge;this.AG=N.AG;this.embedsRct= +N.embedsRct;this.embedsRctn=N.embedsRctn;g.PX(this.j)&&N.mutedAutoplay&&(N.mutedAutoplayDurationMode===2&&N.limitedPlaybackDurationInSeconds===0&&N.endSeconds===0?this.Y.push(7):this.Y.push(2));N.isEmbedsShortsMode(new g.rv(this.G7,this.Jj),!!this.playlistId)&&this.Y.push(3);g.DT(N)&&this.Y.push(4);this.vp=N.v9;N.compositeLiveIngestionOffsetToken&&(this.compositeLiveIngestionOffsetToken=N.compositeLiveIngestionOffsetToken)}; +H3l=function(N){var H;(H=N.J.getVideoData(1))!=null&&H.Z&&(N.B=!1,H={},N.T&&N.videoId&&(H.cttAuthInfo={token:N.T,videoId:N.videoId}),Zy("video_to_ad",H))}; +cU3=function(N){i3L=N}; +Fl=function(N,H){H.stack&&(N.stack+="\n"+H.stack);return N}; +g.uf=function(N){return g.Y(function(H){return H.return(g.F5(tEw(),N))})}; +hjs=function(N){return N.J.D().experiments.M4("should_ignore_cuepoints_during_lifa_preroll")}; +g.FCf=function(N){var H,c,t;N=g.P((H=N.getWatchNextResponse())==null?void 0:(c=H.playerOverlays)==null?void 0:(t=c.playerOverlayRenderer)==null?void 0:t.decoratedPlayerBarRenderer,XM);return g.P(N==null?void 0:N.playerBar,O3Z)}; +UV=function(N,H){Bt(N.Fg,H,!N.B)}; +Y3=function(N,H,c,t,h,O){eq.call(this,N,H,c,t);this.k_=h;this.S=O;this.U=!1}; +$Ll=function(N){BYf(N);N.Y=g.Re(function(){N.update()},100); +N.nE=g.cd(N.provider);N.B=sH(N.provider)}; +pz=function(N,H){if(cH(N,H))return!!i9(N)}; +VB=function(N,H){this.Es=N;this.author="";this.yT=null;this.playlistLength=0;this.T=this.sessionData=null;this.xP={};this.title="";if(H){this.author=H.author||H.playlist_author||"";this.title=H.playlist_title||"";if(N=H.session_data)this.sessionData=Ud(N,"&");var c;this.T=((c=H.thumbnail_ids)==null?void 0:c.split(",")[0])||null;this.xP=Vg(H,"playlist_");this.videoId=H.video_id||void 0;if(c=H.list)switch(H.listType){case "user_uploads":this.playlistId=(new ls("UU","PLAYER_"+c)).toString();break;default:if(N= +H.playlist_length)this.playlistLength=Number(N)||0;this.playlistId=KH(c).toString();if(H=H.video)this.videoId=(H[0]||null).video_id||void 0}else H.playlist&&(this.playlistLength=H.playlist.toString().split(",").length)}}; +Tkv=function(N){return N.J.D().experiments.M4("html5_ssdai_enable_media_end_cue_range")}; +jWD=function(N,H){H=Array.prototype.splice.call(N,H,1);Array.prototype.splice.call(N,0,0,H[0])}; +I8=function(N,H,c,t){this.category=N;this.trigger=H;this.slot=c;this.layout=t}; +yx=function(N,H,c,t,h,O,F){this.T=N;this.B=H;this.Uy=c;this.Rx=t;this.Pp=h;this.k_=O;this.ID=F}; +g.sf=function(N){N=AO(N);return typeof N==="string"&&N==="false"?!1:!!N}; +hHD=function(N,H){if(N instanceof XQ)return N.hF;if(Array.isArray(N))return LA(N,H)}; +MEv=function(N,H,c){if(N.T==null)return H.a6|=4,!1;N=Bvs(N.T,c,H);H.a6|=N;return N==0}; +Vn=function(N,H,c){return(c<0||c===N.Y)&&!isNaN(N.C)?N.C:H}; +fvS=function(N,H){H&&H.screen&&(N.U=new g.rv(H.screen.width,H.screen.height))}; +dLS=function(N,H){var c=g.ba(H),t=g.Df("Seek to $PROGRESS",{PROGRESS:g.ba(H,!0)});N.update({ariamin:0,ariamax:Math.floor(N.api.getDuration()),arianow:Math.floor(H),arianowtext:t,seekTime:c})}; +EBl=function(N){var H=WCd[gQ[N]],c=zjd[N];return c&&H?new p8(N,H,{audio:new wQ(c.audioSampleRate,c.numChannels)}):null}; +xLs=function(N,H,c,t){for(var h=0,O=N.length,F;h>>1),f=void 0;c?f=H.call(void 0,N[M],M,N):f=H(t,N[M]);f>0?h=M+1:(O=M,F=!f)}return F?h:-h-1}; +qbl=function(N){N=N.Us&&N.Us.adRendererCommands;return(N&&N.clickCommand&&g.P(N.clickCommand,g.LS)&&g.P(N.clickCommand,g.LS).commands||[]).some(function(H){return H.adLifecycleCommand?HNL(H.adLifecycleCommand):!1})}; +zqv=function(N,H,c){N=pBw(N);H=H?g.Hf(H):"";c=c||5;B2()&&g.e2(N,H,c)}; +gz=function(N){return!(!N.isLivePlayback||!N.hasProgressBarBoundaries())}; +h5=function(N){return N.api.N("allow_autohide_on_paused_videos")?!(N.B&-129):!N.B}; +ZQ=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);var c=this.api.N("html5_enable_audio_quality_setting_feature");wl(this.api,"getUserAudioQualitySetting",function(){return c?H.getUserAudioQualitySetting():2}); +wl(this.api,"setUserAudioQualitySetting",function(t){c&&H.setUserAudioQualitySetting(t)}); +wl(this.api,"hasHqaAudioTrack",function(){return c?H.hasHqaAudioTrack():!1}); +wl(this.api,"getAudioQualitySettingState",function(){return c?H.api.Lb(4):1}); +this.BG=D2L();this.updateEnvironmentData()}; +CoS=function(){}; +FWL=function(N,H){var c=pp(N,"watchtime");OKs(N)&&(c.delayThresholdMet=!0,N.ox=!0);if(N.B>0){for(var t=g.K(H),h=t.next();!h.done;h=t.next())h=h.value,h.startTime-=N.B,h.endTime-=N.B;c.T-=N.B}else c.T=N.T.T;c.segments=H;return c}; +wN=function(N){this.J=N}; +GJf=function(N){if(YE)return YE.encode(N);var H=new Uint8Array(Math.ceil(N.length*1.2)),c=F2(N,H);H.lengthc&&(H=H.subarray(0,c));return H}; +HW=function(N){return N.J.D().experiments.M4("html5_preload_ads")}; +lvv=function(N){if(!N)return null;N=g.K(N);for(var H=N.next();!H.done;H=N.next()){var c=void 0,t=void 0;if(H=(c=H.value.adPlacementRenderer)==null?void 0:(t=c.renderer)==null?void 0:t.videoAdTrackingRenderer)return H}return null}; +Hkl=function(N,H){N.L=H}; +g3h=function(N,H){var c;a:if((c=H.T)&&c.videoInfos.length){for(var t=g.K(c.videoInfos),h=t.next();!h.done;h=t.next()){h=h.value;var O=void 0;if((O=h.B)==null?0:O.smooth){c=h.video.qualityOrdinal;break a}}c=c.videoInfos[0].video.qualityOrdinal}else c=0;(g.$b("armv7")||g.$b("aarch64")||g.$b("android"))&&!g.Iy(N.j)&&LB(H.T.videoInfos[0])&&(c=Math.min(c,g.fi.large));t=g.Mx(N.j.experiments,"html5_chipset_soft_cap");t>0&&(c=Math.min(c,t));if(t=g.Mx(N.j.experiments,"html5_max_vertical_resolution")){h=4320; +for(O=0;Ot&&(h=Math.min(h,F.video.qualityOrdinal))}if(h<4320){for(F=O=0;F1)throw new Dj;N=N.id;JGw(N);qb=H2(N);ndZ(18E5,2);return N}; +mLy=function(N,H){H+=N.Dj();var c;if(N.playback.getVideoData().vH()){a:{var t=H*1E3;N=g.K(N.T.B);for(c=N.next();!c.done;c=N.next()){c=c.value;var h=c.w7?c.w7*1E3:c.gs;if(t>=c.gs-1E3&&t<=h+c.durationMs+1E3){t=c;break a}}t=void 0}c={ra:t,Vv:H}}else c=Aj(N,H),((t=c)==null?0:t.ra)||(c=Aj(N,H,1));var O;return(O=c)==null?void 0:O.ra}; +wjZ=function(N,H,c){typeof N==="string"&&(N={mediaContentUrl:N,startSeconds:H,suggestedQuality:c});a:{if((H=N.mediaContentUrl)&&(H=/\/([ve]|embed)\/([^#?]+)/.exec(H))&&H[2]){H=H[2];break a}H=null}N.videoId=H;return aV(N)}; +DL3=function(N,H){N.T||(N.B=H,N.L=(0,g.Lh)(),N.T=new g.WU(function(){azl(N)},null),azl(N))}; +g.JA=function(N){return oY(N)&&N.Ql?(N={},N.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",N):N.B&&N.B.YH||null}; +eY=function(N,H,c,t){sE.call(this,N,{W:"div",K:"ytp-ad-details-line"},"ad-details-line",H,c,t);this.T=[];this.hide()}; +fSd=function(){if(v1===void 0){try{window.localStorage.removeItem("yt-player-lv")}catch(H){}a:{try{var N=!!self.localStorage}catch(H){N=!1}if(N&&(N=g.xI(g.zy()+"::yt-player"))){v1=new gW(N);break a}v1=void 0}}return v1}; +QWZ=function(N){return N.data[N.T]||0}; +pjL=function(N,H){N.T=H}; +JUZ=function(N){if(N.L&&typeof uML!="undefined")if(N.TW&&g.Oy(N)==4)setTimeout(N.Qn.bind(N),0);else if(N.dispatchEvent("readystatechange"),N.isComplete()){N.getStatus();N.L=!1;try{if(bf(N))N.dispatchEvent("complete"),N.dispatchEvent("success");else{N.B=6;try{var H=g.Oy(N)>2?N.T.statusText:""}catch(c){H=""}N.U=H+" ["+N.getStatus()+"]";g5e(N)}}finally{FX(N)}}}; +nBl=function(N,H,c,t,h){var O;H!==((O=N.T)==null?void 0:O.Y_)||N.B===1||t||N.T.Rc.event==="predictStart"||N.Lq("sdai",{undecevt:1,sq:H,mt:c,evt:N.T.Rc.event},!0);H>N.Y&&(N.Y=NaN,N.C=NaN);N.T&&N.T.Y_===H?OXy(N,H,c,N.T,h):N.B===1&&GD(N,5,"noad")}; +Os=function(N,H,c){this.triggeringLayoutId=H;this.triggerType="TRIGGER_TYPE_LAYOUT_ID_ENTERED";this.triggerId=c||N(this.triggerType)}; +g.Yc=function(N,H,c){if(V8(H.D())&&H.getPresentingPlayerType()!==2){if(g.Mb(c))return H.isFullscreen()&&!H.D().externalFullscreen&&H.toggleFullscreen(),c.preventDefault(),!0}else{var t=g.Mb(c);t&&H.pauseVideo();g.lW(N,void 0,!0);t&&(g.tU(N),c.preventDefault())}return!1}; +Sbd=function(N){var H=[];N.T.forEach(function(c){c=g.K(c.values());for(var t=c.next();!t.done;t=c.next())H.push(t.value.slot)}); +return H}; +z0f=function(){var N={},H=window.performance;if(H){var c=H.memory;if(c){N.jsTotal=c.totalJSHeapSize;N.jsUsed=c.usedJSHeapSize;N.jsLimit=c.jsHeapSizeLimit;var t,h;N.msTotal=(h=(t=c.getMediaSourceTotalAllocatedMemory)==null?void 0:t.call(c))!=null?h:c.totalMediaSourceSize;var O,F;N.msLimit=(F=(O=c.getMediaSourceMaximumMemoryCapacity)==null?void 0:O.call(c))!=null?F:c.mediaSourceSizeLimit;var M,f;N.msUsed=(f=(M=c.getMediaSourceCurrentMemoryCapacity)==null?void 0:M.call(c))!=null?f:c.usedMediaSourceMemorySize}H.measureAvailableCpuMemory&& +(N.cbFree=H.measureAvailableCpuMemory());H.measureUsedCpuMemory&&(N.cbUsed=H.measureUsedCpuMemory())}var d;if((d=window.h5vcc)==null?0:d.cVal)N.cbFree=window.h5vcc.cVal.getValue("Memory.CPU.Free"),N.cbUsed=window.h5vcc.cVal.getValue("Memory.CPU.Used"),N.cbJs=window.h5vcc.cVal.getValue("Memory.JS");return N}; +GW=function(N,H){var c=N.U.get(H);if(c)return c;c=N.levels.length;for(var t=0;t=H)return N.U.set(H,t),t;N.U.set(H,c-1);return c-1}; +Poe=function(N,H,c){N.playback.WR();N.playback.seekTo(H,c);N.playback.playVideo()}; +g.wJ=function(N,H,c,t){t=t===void 0?!1:t;Jt.call(this);this.mediaElement=N;this.start=H;this.end=c;this.Ib=t}; +ULy=function(N,H){if(N.B&&!N.N("html5_disable_d6de4_mint_debug")){var c=H.videoId;N.L=3;N.f4.WN("pt_ms");try{N.B.requestToken(c).then(function(t){N.f4.WN("pt_mf");if(t=TS(t))H.AV={Z2s:t}}).catch(function(t){N.f4.WN("pt_me"); +DX(t,"player_generate");N.handleError(t,H)})}catch(t){DX(t,"player_generate_catch"),N.handleError(t,H)}}}; +VEy=function(N){N.uo();if(!N.BM.finished&&N.iU.finished&&!g.y(N.playerState,128)&&!N.Tk.length){if(!N.UI.started){var H=N.UI;H.started=!0;H.sync()}if(!N.hU()){if(N.loader){if(g.CQ(N.Zp())){H=N.loader;var c=!0;c=c===void 0?!1:c;H=Math.min(wz(H.audioTrack,c),wz(H.videoTrack,c))>0}else H=N.loader.timing,H=!!H.B&&!!H.L;N.B5=H}N.BM.finished||(N.BM.finished=!0);H=N.N("html5_onesie_live")&&N.loader&&!isNaN(N.loader.Ix);!N.videoData.isLivePlayback||N.videoData.vp>0&&!WK(N.videoData)||H||J3(N)||(N.seekTo(Infinity, +{j_:"videoplayer_readying",seekSource:18}),N.isBackground()&&(N.C9=!0));H=N.d_;if(H.qoe){H=H.qoe;var t=H.provider.videoData;c=H.provider.j;for(var h=g.K(c.vu),O=h.next();!O.done;O=h.next())v4(H,O.value);if(H.provider.N("html5_enable_qoe_cat_list"))for(h=g.K(t.Jh),O=h.next();!O.done;O=h.next())v4(H,O.value);else t.vu&&v4(H,H.provider.videoData.vu);t.K4()&&(h=t.T,WK(t)&&v4(H,"manifestless"),h&&Qv(h)&&v4(H,"live-segment-"+Qv(h).toFixed(1)));AC(t)?v4(H,"sabr"):H.zz(Zl(t));if(AG(t)||t.vH())t.vH()&&v4(H, +"ssa"),v4(H,"lifa");Qp(t)&&v4(H,"cdm");H.provider.videoData.qA&&v4(H,"mvtile");t.gatewayExperimentGroup&&(h=t.gatewayExperimentGroup,h==="EXPERIMENT_GROUP_SPIKY_AD_BREAK_EXPERIMENT"?h="spkadtrt":h==="EXPERIMENT_GROUP_SPIKY_AD_BREAK_CONTROL"&&(h="spkadctrl"),v4(H,h));c.Bp!=="yt"&&H.T.set("len",[t.lengthSeconds.toFixed(2)]);t.cotn&&!qy(t)&&H.Yo(!0);c.vO()&&(t=Xjw())&&H.Lq("cblt",{m:t});if(c.N("html5_log_screen_diagonal")){c=H.Lq;var F;t=((F=window.H5vccScreen)==null?0:F.GetDiagonal)?window.H5vccScreen.GetDiagonal(): +0;c.call(H,"cbltdiag",{v:t})}}N.publish("playbackready");j_("pl_c",N.f4.timerName)||(N.f4.tick("pl_c"),OZ("pl_c",void 0,"video_to_ad"));j_("pbr",N.f4.timerName)||(N.f4.tick("pbr"),OZ("pbr",void 0,"video_to_ad"))}}}; +LCv=function(N){N=g.K(g.sV(N,!0));for(var H=N.next();!H.done;H=N.next())if(sUD(H.value))return!0;return!1}; +z8=function(N){if(N!=null&&typeof N!=="string")throw Error();return N}; +Z3S=function(N,H){var c=new Map;N=g.K(N);for(var t=N.next();!t.done;t=N.next()){t=t.value;if(t.layoutType==="LAYOUT_TYPE_MEDIA")var h="v";else t.layoutType==="LAYOUT_TYPE_MEDIA_BREAK"?(h=lQ(t.clientMetadata,"metadata_type_linked_in_player_layout_type"),h=h==="LAYOUT_TYPE_ENDCAP"||h==="LAYOUT_TYPE_VIDEO_INTERSTITIAL"?"e":h==="LAYOUT_TYPE_SURVEY"?"s":h==="LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT"?"si":"u"):h="u";c.set(t.layoutId,h);if(h==="u"){var O={};h=H;t=(O.c=t.layoutId,O);h.J.Lq("uct",t)}}N= +H.sG();mj={contentCpn:N,Nr:c};t={};c=(t.ct=c.size,t.c=N,t);H.J.Lq("acc",c)}; +hbR=function(N){var H=g.Yv(N,0,1937011556);if(!H)return null;H=X2(N,H.dataOffset+8,1635148593)||X2(N,H.dataOffset+8,1635135537);if(!H)return null;var c=X2(N,H.dataOffset+78,1936995172),t=X2(N,H.dataOffset+78,1937126244);if(!t)return null;H=null;if(c)switch(c.skip(4),mr(c)){default:H=0;break;case 1:H=2;break;case 2:H=1;break;case 3:H=255}var h=c=null,O=null;if(t=X2(N,t.dataOffset,1886547818)){var F=X2(N,t.dataOffset,1886546020),M=X2(N,t.dataOffset,2037673328);if(!M&&(M=X2(N,t.dataOffset,1836279920), +!M))return null;F&&(F.skip(4),c=AH(F)/65536,O=AH(F)/65536,h=AH(F)/65536);N=hCw(M);N=new DataView(N.buffer,N.byteOffset+8,N.byteLength-8);return new IZ3(H,c,O,h,N)}return null}; +Yby=function(N,H){var c;F6(N.Pp.get(),"ads_imp","acpn."+((c=s7(N.ea.get(),2))==null?void 0:c.clientPlaybackNonce)+";clr."+H)}; +CI=function(N,H){this.RU=N;this.Ga=H}; +yn=function(N,H,c){B1.call(this,N,H,c)}; +avL=function(N,H){return N.enabledEngageTypes.has(H.toString())||AUy.includes(H)}; +JWf=function(N,H,c,t){if(N)if(Array.isArray(N)){var h=t;for(t=0;t500));t++);t=h}else if(typeof N==="object")for(h in N){if(N[h]){var O=h;var F=N[h],M=H,f=c;O=typeof F!=="string"||O!=="clickTrackingParams"&&O!=="trackingParams"?0:(F=oZe(atob(F.replace(/-/g,"+").replace(/_/g,"/"))))?ejv(O+".ve",F,M,f):0;t+=O;t+=ejv(h,N[h],H,c);if(t>500)break}}else c[H]=Fn(N),t+=c[H].length;else c[H]=Fn(N),t+=c[H].length;return t}; +vVy=function(){try{var N,H;return!!((N=window)==null?0:(H=N.top)==null?0:H.location.href)&&!1}catch(c){return!0}}; +SAd=function(N,H){return H==null?null:N.L.find(function(c){return c.dE().layoutId===H})||null}; +lVv=function(N,H,c,t,h,O,F,M){this.oD=N;this.k_=H;this.Pp=c;this.B=t;this.xb=h;this.T=O;this.Rx=F;this.ea=M}; +QuR=function(N){for(var H=N;N&&N!=N.parent;)N=N.parent,WV(N)&&(H=N);return H}; +vBy=function(N){var H=N[0];N[0]=N[3];N[3]=H;H=N[1];N[1]=N[2];N[2]=H;H=N[4];N[4]=N[5];N[5]=H;H=N[6];N[6]=N[7];N[7]=H}; +fV=function(N){if(typeof N!=="number"&&N&&!N.removed){var H=N.src;if(jt(H))g.CS(H.nA,N);else{var c=N.type,t=N.proxy;H.removeEventListener?H.removeEventListener(c,t,N.capture):H.detachEvent?H.detachEvent(Kyt(c),t):H.addListener&&H.removeListener&&H.removeListener(t);gWs--;(c=Ma(H))?(g.CS(c,N),c.T==0&&(c.src=null,H[MJ]=null)):qo(N)}}}; +g.gL=function(N,H,c,t,h,O,F,M,f,d){M=M===void 0?!1:M;g.L.call(this);var W=this;this.wE=N;this.schedule=H;this.policy=c;this.GW=t;this.Us=f;this.Oc=d;this.JI=this.Zf=null;this.vp=this.zW=this.Kq=this.ox=0;this.F_=this.iM=this.isSuspended=!1;this.UF="";this.Jj={};this.C4=NaN;this.kG=this.BF=0;this.S=null;this.Uu=this.gE=!1;this.ys=0;this.WO=!1;this.Cq=this.mG=0;this.T3=null;this.Dq=!1;this.Bz=function(){return W.wE.Bz()}; +this.timing=new sW3(this.Oc);this.TW=new n3y(this.schedule,this.policy);this.S_=new g.kT(this.Ec,0,this);this.n4=new g.kT(this.Ec,this.policy.mz,this);this.N6=new g.kT(this.Ec,1E3,this);this.AN=new g.kT(this.Ec,void 0,this);this.Al=new g.kT(function(){W.isSuspended||W.Ec()},1E4,this); +this.bX=new g.kT(this.qIs,250,this);this.C=this.currentTime=NaN;this.pS=new DV(5);this.Ix=this.timestampOffset=NaN;this.logger=new g.mE("dash");this.qc=Infinity;this.Br={Edl:function(){return W.tY}, +k$W:function(){return W.L}, +getAudioTrack:function(){return W.audioTrack}, +Eel:function(){return W.videoTrack}, +fQg:function(){return W.NT}, +getManifest:function(){return W.GW}, +UEs:function(){return W.B}, +Ec:function(){W.Ec()}, +yv:function(){W.ox=0;W.yv()}, +WVE:function(E){return D2(W,W.videoTrack,W.Zf.B,E)}}; +N=f&&f.uN();f&&(Bkv(f,this.GW,this.policy),this.Ix=Date.now());this.T=new Jn(this,this.TW,c,this.GW,h,N);c=yU3(this.T,O,F&&F.id);this.audioTrack=new jP(this,this.policy,c.audio,this.timing);this.videoTrack=new jP(this,this.policy,c.video,this.timing);this.videoTrack.L.ox=this.audioTrack.pV();this.w_={updateend:this.Ji,error:this.ufi};g.l(this,this.S_);g.l(this,this.n4);g.l(this,this.N6);g.l(this,this.AN);g.l(this,this.Al);c=this.policy.pvT&&this.policy.cZ?!sjD(this.videoTrack.mR.info):!1;this.mz= +G1D({pF:this.policy.Z.pF||c,cZ:this.policy.cZ&&!c,QG:this.policy.QG});this.Z=A0R(this,this.policy,this.mz,this.schedule,this.pS,function(E,x){return w3f(W,E,x)}); +this.L=new Rjh(this,this.GW,this.policy,this.videoTrack,this.audioTrack,M);this.policy.KC&&this.policy.B&&(this.NT=new j1S(this.policy.Y,function(E,x){W.Lq(E,x)},this.policy.mS)); +this.tY=new Gq(this,this.GW,this.videoTrack,this.audioTrack,this.policy);M=this.policy.GD?this.wE.getVideoData().fO:null;this.Y=new VH(this,this.policy,this.videoTrack,this.audioTrack,this.Jj,this.L,this.timing,this.TW,this.schedule,this.GW,this.T,this.Z,c,M);g.l(this,this.Y);this.U=new MQ(this,this.policy,this.videoTrack,this.audioTrack,this.GW,h,ix(this.wE.getVideoData()),F==null?void 0:F.id);g.l(this,this.U);$NR(this.U,O);this.B=new Sk(this.wE,this,this.policy,this.audioTrack,this.videoTrack,this.GW, +this.schedule,this.T,this.U,this.timing,this.L,this.NT);g.l(this,this.B);this.Bp=this.wE.VR.fP.Ew;this.policy.S||yqd(this);if(this.policy.n4){var z;this.Xg=new RV(this.videoTrack.mR.index,(z=this.wE.getVideoData().clientPlaybackNonce)!=null?z:"",this.wE,this.policy.WO);this.policy.WO===3&&(this.Dt=new g.kT(this.Iq,200,this),this.Dt.start(),g.l(this,this.Dt))}}; +No=function(N,H,c){var t=this;this.requestType=N;this.JF=H;this.qT=c;this.B=null;this.Br={ai:function(){var h;return(h=t.data)==null?void 0:h.ai}, +EU:function(){var h;return(h=t.data)==null?void 0:h.EU}, +NJ:function(){var h;return(h=t.data)==null?void 0:h.NJ}}}; +BUt=function(N,H,c,t){H={Fs:[],Hq:H};N=g.K(N);for(var h=N.next();!h.done;h=N.next())if((h=h.value)&&h.renderer!=null){var O=h.renderer;if(!c.J.D().N("html5_enable_vod_lasr_with_notify_pacf")){var F=void 0,M=void 0,f=void 0,d=void 0,W=t;g.P((d=O.sandwichedLinearAdRenderer)==null?void 0:d.adVideoStart,mf)?(F=g.P((f=O.sandwichedLinearAdRenderer)==null?void 0:f.adVideoStart,mf),F=omZ(F,W),g.T2(O.sandwichedLinearAdRenderer.adVideoStart,mf,F)):g.P((M=O.linearAdSequenceRenderer)==null?void 0:M.adStart,mf)&& +(f=g.P((F=O.linearAdSequenceRenderer)==null?void 0:F.adStart,mf),F=omZ(f,W),g.T2(O.linearAdSequenceRenderer.adStart,mf,F))}H.Fs.push(h)}return H}; +g.wfy=function(N){var H;N.responseType&&N.responseType!=="text"?N.responseType==="arraybuffer"&&(H=gT(new Uint8Array(N.response))):H=N.responseText;return!H||H.length>2048?"":H.indexOf("https://")===0?H:""}; +aZw=function(N,H,c,t){if(N.policy.S)!t||!N.T&&N.policy.mG||g.OT(function(){oV(N)}); +else{if(N.isSeeking()&&N.targetTime){var h=Sed(N,H,c);if(h!==-1){N.videoTrack.U=!1;N.audioTrack.U=!1;N.T=!0;N.B=0;g.OT(function(){N.loader.Lq("seekreason",{reason:"behindMinSq",tgt:h});aF3(N,h)}); +return}}c?N.videoTrack.Us=!1:N.audioTrack.Us=!1;var O=!N.T;M2(N.videoTrack,N.targetTime)>=0&&M2(N.audioTrack,N.targetTime)>=0&&O?((N.videoTrack.U||N.audioTrack.U)&&N.loader.Lq("iterativeSeeking",{status:"done",count:N.seekCount}),N.videoTrack.U=!1,N.audioTrack.U=!1):t&&g.OT(function(){if(N.T||!N.policy.mG)oV(N);else{var F=H.startTime,M=H.duration;if(!N.policy.S){var f=N.videoTrack.S!==-1&&N.audioTrack.S!==-1,d=!N.videoTrack.Us&&!N.audioTrack.Us;(c?N.videoTrack.U:N.audioTrack.U)&&f&&d&&(N.targetTime>= +F&&N.targetTime19.2999?(N=c.uM,c=c.Cr, +c>=N&&(c=N*.75),H=(N-c)*.5,c=new AU(H,N,N-H-c,this)):c=null;break a;case "widevine":c=new Cl(H,this,N);break a;default:c=null}if(this.S=c)g.l(this,this.S),this.S.subscribe("rotated_need_key_info_ready",this.qS,this),this.S.subscribe("log_qoe",this.Yc,this);yB(this.j.experiments);this.Yc({cks:this.T.getInfo()})}; +Nxw=function(N,H){for(var c="",t=[],h=g.K(N.T.entries()),O=h.next();!O.done;O=h.next()){var F=g.K(O.value);O=F.next().value;F=F.next().value;var M=void 0,f=void 0,d=void 0;((M=F)==null?void 0:M.startTimeSecs)<=H&&H<=((f=F)==null?void 0:f.startTimeSecs)+((d=F)==null?void 0:d.C6)&&t.push(O);f=M=void 0;c+=O+":"+((M=F)==null?void 0:M.startTimeSecs.toFixed(3))+":"+((f=F)==null?void 0:f.C6.toFixed(3))+";"}t.length===0&&N.Lq("clsdai",{no_cid:1,mt:H.toFixed(3),adConfigMap:c.substring(0,1024)});return t}; +EP=function(){g.L.apply(this,arguments);this.AY=!0;this.EV=new Map;this.T=new Map}; +HER=function(N,H,c){c=c===void 0?!1:c;H.video.qualityOrdinal>1080&&!N.bI&&(N.vp=36700160,N.UF=5242880,N.zW=Math.max(4194304,N.zW),N.bI=!0);H.video.qualityOrdinal>2160&&!N.XA&&(N.vp=104857600,N.OF=13107200,N.XA=!0);g.Mx(N.Es.experiments,"html5_samsung_kant_limit_max_bitrate")!==0?H.isEncrypted()&&g.Iu()&&g.$b("samsung")&&(g.$b("kant")||g.$b("muse"))&&(N.OF=g.Mx(N.Es.experiments,"html5_samsung_kant_limit_max_bitrate")):H.isEncrypted()&&g.Iu()&&g.$b("kant")&&(N.OF=1310720);N.au!==0&&H.isEncrypted()&& +(N.OF=N.au);N.LP!==0&&H.isEncrypted()&&c&&(N.OF=N.LP);H.OF&&(N.Dh=Math.max(N.dL,Math.min(N.zW,5*H.OF)))}; +kE=function(N,H,c,t){this.flavor=N;this.keySystem=H;this.B=c;this.experiments=t;this.T={};this.Ql=this.keySystemAccess=null;this.Cr=this.uM=-1;this.Qq=null;this.L=!!t&&t.M4("edge_nonprefixed_eme");t&&t.M4("html5_enable_vp9_fairplay")}; +mul=function(N,H,c,t,h,O,F){O=O===void 0?[]:O;var M=lS(N.B.get(),"SLOT_TYPE_AD_BREAK_REQUEST");F||(F=[],t.u7&&t.u7.start!==t.D7.start&&F.push(new fH(N.T,c,new Hv(t.u7.start,t.D7.start),!1)),F.push(new fH(N.T,c,new Hv(t.D7.start,t.D7.end),t.fu)));t={getAdBreakUrl:H.getAdBreakUrl,Uh:t.D7.start,Lg:t.D7.end,cueProcessedMs:t.cueProcessedMs};H=new IV(N.T,M);O=[new bZ(t)].concat(g.HE(O));return{slotId:M,slotType:"SLOT_TYPE_AD_BREAK_REQUEST",slotPhysicalPosition:1,slotEntryTrigger:H,slotFulfillmentTriggers:F, +slotExpirationTriggers:[new mZ(N.T,c),new rX(N.T,M),new EJ(N.T,M)],Hp:"core",clientMetadata:new xd(O),adSlotLoggingData:h}}; +Av=function(N,H){var c=g.PX(N.j)&&!N.j.Us,t=c&&H?H:g.rT(N.playlist);H=c&&H?H:N.getVideoData();t&&(H.LC&&(N.j.KC||N.j.iR)||!N.jO?(H=H.mz,t=N.IG(t,1),H&&kn(N,t)):FQ(N,t,1));g.PX(N.j)&&N.f4.tick("ep_p_l");N.FZ=!1;N.VS.Ic("onPlaylistUpdate")}; +Yzf=function(N){if(N.length!==0){var H=[];N=g.K(N);for(var c=N.next();!c.done;c=N.next())(c=d5(c.value))&&H.push(c);return{commandExecutorCommand:{commands:H}}}}; +Qp=function(N){var H,c,t;return((H=N.playerResponse)==null?void 0:(c=H.playerConfig)==null?void 0:(t=c.compositeVideoConfig)==null?void 0:t.compositeBroadcastType)==="COMPOSITE_BROADCAST_TYPE_COMPRESSED_DOMAIN_COMPOSITE"}; +iEl=function(N,H,c){var t,h;return g.Y(function(O){switch(O.T){case 1:if(N.T){O.rE(2);break}return g.a(O,N.subtleCrypto.importKey("raw",N.B,{name:"AES-CTR"},!1,["encrypt"]),3);case 3:N.T=O.B;case 2:return t={name:"AES-CTR",counter:c,length:128},g.a(O,N.subtleCrypto.encrypt(t,N.T,H),4);case 4:return h=O.B,O.return(new Uint8Array(h))}})}; +x1=function(N){var H=N.N("html5_enable_server_format_filter")&&!N.f2(),c=N.N("html5_enable_server_format_filter_for_drm")&&N.f2();return AC(N)&&(H||c)}; +tPh=function(N,H){if(!N||!N.state||H>5||H<0)return N?V0(N,-2):-2;var c=N.state;if(!N.output||!N.input&&N.uc!==0||c.status===666&&H!==4)return V0(N,N.Aj===0?-5:-2);c.bG=N;var t=c.mX;c.mX=H;if(c.status===42)if(c.wrap===2)N.f6=0,d_(c,31),d_(c,139),d_(c,8),c.Ni?(d_(c,(c.Ni.text?1:0)+(c.Ni.yC?2:0)+(c.Ni.extra?4:0)+(c.Ni.name?8:0)+(c.Ni.comment?16:0)),d_(c,c.Ni.time&255),d_(c,c.Ni.time>>8&255),d_(c,c.Ni.time>>16&255),d_(c,c.Ni.time>>24&255),d_(c,c.level===9?2:c.strategy>=2||c.level<2?4:0),d_(c,c.Ni.os& +255),c.Ni.extra&&c.Ni.extra.length&&(d_(c,c.Ni.extra.length&255),d_(c,c.Ni.extra.length>>8&255)),c.Ni.yC&&(N.f6=by(N.f6,c.Pd,c.pending,0)),c.I7=0,c.status=69):(d_(c,0),d_(c,0),d_(c,0),d_(c,0),d_(c,0),d_(c,c.level===9?2:c.strategy>=2||c.level<2?4:0),d_(c,3),c.status=113);else{var h=8+(c.qa-8<<4)<<8;h|=(c.strategy>=2||c.level<2?0:c.level<6?1:c.level===6?2:3)<<6;c.cO!==0&&(h|=32);c.status=113;NI(c,h+(31-h%31));c.cO!==0&&(NI(c,N.f6>>>16),NI(c,N.f6&65535));N.f6=1}if(c.status===69)if(c.Ni.extra){for(h= +c.pending;c.I7<(c.Ni.extra.length&65535)&&(c.pending!==c.Ea||(c.Ni.yC&&c.pending>h&&(N.f6=by(N.f6,c.Pd,c.pending-h,h)),C1(N),h=c.pending,c.pending!==c.Ea));)d_(c,c.Ni.extra[c.I7]&255),c.I7++;c.Ni.yC&&c.pending>h&&(N.f6=by(N.f6,c.Pd,c.pending-h,h));c.I7===c.Ni.extra.length&&(c.I7=0,c.status=73)}else c.status=73;if(c.status===73)if(c.Ni.name){h=c.pending;do{if(c.pending===c.Ea&&(c.Ni.yC&&c.pending>h&&(N.f6=by(N.f6,c.Pd,c.pending-h,h)),C1(N),h=c.pending,c.pending===c.Ea)){var O=1;break}O=c.I7h&&(N.f6=by(N.f6,c.Pd,c.pending-h,h));O===0&&(c.I7=0,c.status=91)}else c.status=91;if(c.status===91)if(c.Ni.comment){h=c.pending;do{if(c.pending===c.Ea&&(c.Ni.yC&&c.pending>h&&(N.f6=by(N.f6,c.Pd,c.pending-h,h)),C1(N),h=c.pending,c.pending===c.Ea)){O=1;break}O=c.I7h&&(N.f6=by(N.f6,c.Pd,c.pending-h,h));O===0&&(c.status=103)}else c.status= +103;c.status===103&&(c.Ni.yC?(c.pending+2>c.Ea&&C1(N),c.pending+2<=c.Ea&&(d_(c,N.f6&255),d_(c,N.f6>>8&255),N.f6=0,c.status=113)):c.status=113);if(c.pending!==0){if(C1(N),N.Aj===0)return c.mX=-1,0}else if(N.uc===0&&(H<<1)-(H>4?9:0)<=(t<<1)-(t>4?9:0)&&H!==4)return V0(N,-5);if(c.status===666&&N.uc!==0)return V0(N,-5);if(N.uc!==0||c.sF!==0||H!==0&&c.status!==666){t=c.strategy===2?xaS(c,H):c.strategy===3?cfl(c,H):Ek[c.level].func(c,H);if(t===3||t===4)c.status=666;if(t===1||t===3)return N.Aj===0&&(c.mX= +-1),0;if(t===2&&(H===1?(k$(c,2,3),yg(c,256,xX),c.CO===16?(Tb(c,c.KF),c.KF=0,c.CO=0):c.CO>=8&&(c.Pd[c.pending++]=c.KF&255,c.KF>>=8,c.CO-=8)):H!==5&&(k$(c,0,3),UCs(c,0,0),H===3&&(qj(c.head),c.sF===0&&(c.cO=0,c.wq=0,c.X1=0))),C1(N),N.Aj===0))return c.mX=-1,0}if(H!==4)return 0;if(c.wrap<=0)return 1;c.wrap===2?(d_(c,N.f6&255),d_(c,N.f6>>8&255),d_(c,N.f6>>16&255),d_(c,N.f6>>24&255),d_(c,N.OC&255),d_(c,N.OC>>8&255),d_(c,N.OC>>16&255),d_(c,N.OC>>24&255)):(NI(c,N.f6>>>16),NI(c,N.f6&65535));C1(N);c.wrap>0&& +(c.wrap=-c.wrap);return c.pending!==0?0:1}; +hAf=function(N,H){var c;if(((c=N.PO)==null?void 0:c.type)==="repeatChapter"||(H==null?void 0:H.type)==="repeatChapter")H&&(H=N.T[ce(N.T,H.startTimeMs)],g.QH(H.T,"ytp-repeating-chapter",!1)),N.PO&&(H=N.T[ce(N.T,N.PO.startTimeMs)],g.QH(H.T,"ytp-repeating-chapter",!0)),N.T.forEach(function(t){g.QH(t.T,"ytp-exp-chapter-hover-container",!N.PO)})}; +g.qt=function(N,H,c){c=N.oi===null?N.JF.oi(H,c,N.L4[0].type):N.oi;if(N.T){H=c?ng(40,N.T,H.F5):N.T;var t=new r$(H);t.get("alr")||t.set("alr","yes");N.B&&OEt(t,N.B)}else/http[s]?:\/\//.test(N.B)?t=new r$(new g.Ft(N.B)):(t=As(N.JF,c,H),N.B&&OEt(t,N.B));(H=N.range)?t.set("range",H.toString()):N.L4[0].mR.zm()&&N.L4.length===1&&N.L4[0].T&&t.set("range",N.L4[0].T+"-");N.requestId&&t.set("req_id",N.requestId);isNaN(N.Io)||t.set("headm",N.Io.toString());isNaN(N.S)||t.set("mffa",N.S+"ms");N.urlParams&&g.tH(N.urlParams, +function(h,O){t.set(O,h)}); +return t}; +YC=function(N,H,c,t,h){this.T=H;this.slotType=c;this.layoutType=t;this.triggerType="TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED";this.triggerId=h||N(this.triggerType)}; +FHv=function(){g.e.call(this,{W:"div",K:"ytp-fine-scrubbing-thumbnail"})}; +$Wd=function(N){N=((N==null?void 0:N.playerOverlay)||{}).instreamSurveyAdRenderer;var H;if(N)if(N.playbackCommands&&N.questions&&N.questions.length===1){var c,t=((H=g.P(N.questions[0],aI))==null?void 0:H.surveyAdQuestionCommon)||((c=g.P(N.questions[0],e1))==null?void 0:c.surveyAdQuestionCommon);H=ONh(t)}else H=!1;else H=!1;return H}; +lQ=function(N,H){N=N.T.get(H);if(N!==void 0)return N.get()}; +Khy=function(N){var H;if(N=(H=N.mediaElement)==null?void 0:H.audioTracks())for(H=0;H>10;O=56320|O&1023}HN[h++]=O}}O=String.fromCharCode.apply(String,HN); +h<1024&&(O=O.substring(0,h));c.push(O)}return c.join("")}; +Txs=function(N){this.provider=N;this.C=!1;this.T=0;this.U=-1;this.nE=NaN;this.L=0;this.segments=[];this.Y=this.S=0;this.previouslyEnded=!1;this.TW=this.provider.wE.getVolume();this.Z=this.provider.wE.isMuted()?1:0;this.B=sH(this.provider)}; +g.OT=function(N,H){j8y||MPv();Tm||(j8y(),Tm=!0);MqZ.add(N,H)}; +fU=function(N){N=N===void 0?!1:N;g.L.call(this);this.T=xn(5,null,N);g.l(this,this.T);this.B=xn(15,null,N);g.l(this,this.B)}; +fAs=function(N){if(!(N.B<0)){var H=g.cd(N.provider),c=H-N.U;N.U=H;N.playerState.state===8?N.playTimeSecs+=c:N.playerState.isBuffering()&&!g.y(N.playerState,16)&&(N.rebufferTimeSecs+=c)}}; +dWZ=function(N,H,c,t){t=t===void 0?!1:t;N.set("cpn",H.clientPlaybackNonce);N.set("opr","1");var h=H.D();N.set("por","1");Nq()||N.set("onem","1");H.startSeconds>0&&N.set("osts",""+H.startSeconds);t||(h.N("html5_onesie_disable_partial_segments")&&N.set("oses","1"),H=h.N("html5_gapless_onesie_no_media_bytes")&&Vz(H)&&H.Uu,c&&!H?(H=c.audio,N.set("pvi",c.video.join(",")),h.N("html5_onesie_disable_audio_bytes")||N.set("pai",H.join(",")),km||N.set("osh","1")):(N.set("oad","0"),N.set("ovd","0"),N.set("oaad", +"0"),N.set("oavd","0")))}; +DQZ=function(N,H,c,t,h,O,F,M,f){var d=R4(g.P(H,QR),f),W=c.us,z=c.PQ,E=Math.min(W+d.videoLengthSeconds*1E3,M);c.us=E;c.PQ++;c.r9R.push(d.videoLengthSeconds);var x,q,r=(x=g.P(H,QR))==null?void 0:(q=x.playerOverlay)==null?void 0:q.instreamSurveyAdRenderer;if(d.adVideoId==="nPpU29QrbiU"&&r==null)throw new TypeError("Survey slate media has no survey overlay");return function(w){FI(d.playerVars,w);var n,p,U=d.videoLengthSeconds,X=d.playerVars,A=d.S1,R=d.T$,v=d.instreamAdPlayerOverlayRenderer,Nf=d.playerOverlayLayoutRenderer, +Fe=d.adVideoId,tS=(n=g.P(H,QR))==null?void 0:n.adLayoutLoggingData;n=(p=g.P(H,QR))==null?void 0:p.sodarExtensionData;p=CA(t.B.get(),"LAYOUT_TYPE_MEDIA",N);var jh={layoutId:p,layoutType:"LAYOUT_TYPE_MEDIA",Hp:"adapter"};w={layoutId:p,layoutType:"LAYOUT_TYPE_MEDIA",S1:A,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],Hp:"adapter",clientMetadata:new xd([new yR(F),new N5(U),new ky(X),new Wi(W),new Rb(E), +new Yy(z),new Il({current:null}),v&&new al(v),Nf&&new eh(Nf),new Xe(O),new BL(Fe),new vL(w),n&&new WZ(n),r&&new iFh(r),new kt({}),new HZ(R)].filter(VMw)),z0:h(jh),adLayoutLoggingData:tS};U=WHD(g.P(H,QR),O,F,w.layoutId,t);return{FN:w,kSS:U}}}; +zAy=function(N,H,c,t,h){Y_.call(this,"top-banner-image-text-icon-buttoned",N,H,c,t,h)}; +cI=function(N,H,c,t){H_.call(this,N,H,c,t);var h=this;this.S=null;this.Br={cC:function(O,F,M,f){return h.cC(O,F,M,f)}}; +this.index=new g.fFf}; +g.ESR=function(N,H){H=g.K(H);for(var c=H.next();!c.done;c=H.next())if(c=c.value,c.cueRangeSetIdentifier){var t=void 0;N.HQ.set(c.cueRangeSetIdentifier,(t=c.playerCueRanges)!=null?t:[])}}; +xWf=function(N,H,c,t,h,O){sE.call(this,N,{W:"div",K:"ytp-ad-action-interstitial",V:{tabindex:"0"},X:[{W:"div",K:"ytp-ad-action-interstitial-background-container"},{W:"div",K:"ytp-ad-action-interstitial-slot",X:[{W:"div",K:"ytp-ad-action-interstitial-instream-info"},{W:"div",K:"ytp-ad-action-interstitial-card",X:[{W:"div",K:"ytp-ad-action-interstitial-image-container"},{W:"div",K:"ytp-ad-action-interstitial-headline-container"},{W:"div",K:"ytp-ad-action-interstitial-description-container"},{W:"div", +K:"ytp-ad-action-interstitial-action-button-container"}]}]}]},"ad-action-interstitial",H,c,t);this.Qh=h;this.WP=O;this.navigationEndpoint=this.T=this.skipButton=this.B=this.actionButton=null;this.Kq=this.Sa("ytp-ad-action-interstitial-instream-info");this.gE=this.Sa("ytp-ad-action-interstitial-image-container");this.Z=new tE(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,"ytp-ad-action-interstitial-image");g.l(this,this.Z);this.Z.Jl(this.gE);this.Ix=this.Sa("ytp-ad-action-interstitial-headline-container"); +this.S=new hE(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,"ytp-ad-action-interstitial-headline");g.l(this,this.S);this.S.Jl(this.Ix);this.Us=this.Sa("ytp-ad-action-interstitial-description-container");this.L=new hE(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,"ytp-ad-action-interstitial-description");g.l(this,this.L);this.L.Jl(this.Us);this.Al=this.Sa("ytp-ad-action-interstitial-background-container");this.vp=new tE(this.api,this.layoutId,this.interactionLoggingClientData, +this.yS,"ytp-ad-action-interstitial-background",!0);g.l(this,this.vp);this.vp.Jl(this.Al);this.Xg=this.Sa("ytp-ad-action-interstitial-action-button-container");this.slot=this.Sa("ytp-ad-action-interstitial-slot");this.D6=this.Sa("ytp-ad-action-interstitial-card");this.U=new Qz;g.l(this,this.U);this.hide()}; +rk=function(N){try{return rd(N)==="open"}catch(H){return!1}}; +qkt=function(N){var H=N.api.D(),c=N.api.getVideoData(),t=g.PX(H)&&g.eg(N.api)&&g.y(N.api.getPlayerStateObject(),128);H=H.L||H.disableSharing&&N.api.getPresentingPlayerType()!==2||!c.showShareButton||c.Mz||t||c.Uc||!1;t=N.api.BO().getPlayerSize().width;return!!c.videoId&&t>=N.L&&!H}; +CIL=function(N){return N.C||N.N("web_player_media_session_infinity")&&N.isLivePlayback}; +KHD=function(N,H){var c=N.mediaElement,t=H.type;switch(t){case "seeking":var h=c.getCurrentTime()+N.timestampOffset;if(!N.U||N.Us&&h!==N.B){N.U=new M9;N.U.then(function(F){W$(N,F)},function(){dY(N)}); +if(N.videoData.isAd()){var O;uty({adCpn:N.videoData.clientPlaybackNonce,contentCpn:(O=N.videoData.v9)!=null?O:""},H.T)}N.Kq=h;pjL(N.Bp,c.getCurrentTime());N.seekTo(h,{seekSource:104,j_:"seektimeline_mediaElementEvent"});N.Us=!0}break;case "seeked":CYS(N);break;case "loadedmetadata":J3(N.wE)||lAs(N);yk(N);break;case "progress":yk(N);break;case "pause":N.C=N.getCurrentTime()}N.C&&((t==="play"||t==="playing"||t==="timeupdate"||t==="progress")&&N.getCurrentTime()-N.C>10&&(N.N("html5_sky_skip_pause_jump")? +N.wE.Lq("skipPauseJump",{evt:t,cmt:N.getCurrentTime(),lpt:N.C}):N.seekTo(N.C,{j_:"pauseJump"})),t!=="pause"&&t!=="play"&&t!=="playing"&&t!=="progress"&&(N.C=0))}; +teL=function(N){wp(oQ,RQ,1,N)}; +x5=function(N){return lQ(N.layout.clientMetadata,"METADATA_TYPE_INTERACTIONS_AND_PROGRESS_LAYOUT_COMMANDS")}; +XD=function(N){if(N.B)return N.B;var H=vQ(EE).T;if(H)switch(H.getName()){case "nis":N.B="n";break;case "gsv":N.B="m"}N.B||(N.B="h");return N.B}; +ZB=function(N,H,c){this.L=N;this.Kq=c===void 0?"na":c;this.S=[];this.isInitialized=!1;this.U=new br(-1,!0,this);this.T=this;this.Z=H;this.Bp=this.TW=!1;this.Ix="uk";this.NT=!1;this.Y=!0}; +g.ru=function(N){return P_(N)==="WEB_EMBEDDED_PLAYER"}; +lAs=function(N){if(N.TW){var H;if((H=N.videoData.nO)==null?0:H.HV)N.TW=!1;else if(g.z7(N.videoData))N.TW=!1;else{H="ss";var c=0,t;((t=N.videoData.T)==null?0:t.isManifestless)&&N.videoData.vp&&!Ar(N)&&(H="mss",c=N.videoData.vp);(N.videoData.j$?N.N("html5_prioritize_windowed_st_start_seconds"):N.N("html5_prioritize_st_start_seconds"))&&!c&&N.videoData.PM&&(H="stss",c=N.videoData.PM);!c&&gSv(N)&&(c=N.videoData.liveUtcStartSeconds||N.videoData.vp,H="utc",c=N.L6()-N.kH(N.L6())+c);!c&&N.videoData.K4()&& +N.videoData.PM&&(H="stss",c=N.videoData.PM);t={};if(c){if(c>N.L6()||c0)H=L3w(N,t);else if(!N.N("html5_deprecate_adaptive_formats_string")){N.Lq("pafmtstr",{s:N.adaptiveFormats.substring(0,50)});if((t=N.adaptiveFormats)&&!oY(N)){N.Es.S.L&&(ki=!0);t=hq(t);H=N.YH;var h=N.lengthSeconds,O=N.isLivePlayback;c=N.K6;var F=N.Es,M=nDR(t);if(O||c){F=F==null?void 0:F.experiments;h=new IY("",F,!0);h.K4=!0;h.isManifestless=!0;h.B=!c;h.isLive=!c; +h.K6=c;O=g.K(t);for(M=O.next();!M.done;M=O.next()){var f=M.value;M=wbD(f,H);var d=NQ(f.url,f.sp,f.s),W=d.get("id");W&&W.includes("%7E")&&(h.Bp=!0);var z=void 0;W=(z=F)==null?void 0:z.M4("html5_max_known_end_time_rebase");z=Number(f.target_duration_sec)||5;f=Number(f.max_dvr_duration_sec)||14400;var E=Number(d.get("mindsq")||d.get("min_sq")||"0"),x=Number(d.get("maxdsq")||d.get("max_sq")||"0")||Infinity;h.rk=h.rk||E;h.Em=h.Em||x;var q=!rP(M.mimeType);d&&XT(h,new HI(d,M,{JJ:z,Q5:q,O9:f,rk:E,Em:x,fU:300, +K6:c,yD:W}))}H=h}else if(M==="FORMAT_STREAM_TYPE_OTF"){h=h===void 0?0:h;c=new IY("",F==null?void 0:F.experiments,!1);c.duration=h||0;F=g.K(t);for(h=F.next();!h.done;h=F.next())if(d=h.value,h=wbD(d,H,c.duration),O=NQ(d.url,d.sp,d.s))h.streamType==="FORMAT_STREAM_TYPE_OTF"?XT(c,new i0(O,h,"sq/0")):(M=Dv(d.init),d=Dv(d.index),XT(c,new cI(O,h,M,d)));c.isOtf=!0;H=c}else{h=h===void 0?0:h;c=new IY("",F==null?void 0:F.experiments,!1);c.duration=h||0;F=g.K(t);for(h=F.next();!h.done;h=F.next())d=h.value,h= +wbD(d,H,c.duration),O=Dv(d.init),M=Dv(d.index),(d=NQ(d.url,d.sp,d.s))&&XT(c,new cI(d,h,O,M));H=c}t.length>0&&(t=t[0],N.D().playerStyle==="hangouts-meet"&&t.url&&(t=g.lN(t.url),N.Bv=N.Bv||Number(t.expire)));t=N.isLivePlayback&&!N.K6&&!N.j$&&!N.isPremiere;N.N("html5_live_head_playable")&&(!BJ(N)&&t&&N.Lq("missingLiveHeadPlayable",{}),N.Es.Bp==="yt"&&(H.Kq=!0))}else H=null;N.Lq("pafmts",{isManifestFilled:!!H})}if(!H)return!1;T6(N,H);return!0}; +dt=function(N,H,c,t,h,O,F,M,f,d){if(!((N|4)>>3))for(H=(H%c[T[2]]+c[T[2]])%c[T[2]];H--;)c[T[26]](c[T[36]]());if(!(N-3&6)){var W;Ui(50,H);if(W=H[T[6]][T[61]]||null)W=Q8w[0](W),H[T[1]](T[61],W);var z=[]}(N+8&11)==2&&(z=t(h,O,F,M,f,d));(N-1|36)>=N&&(N+9&55)200&&(U="manifest.net.badstatus",w===400&&(n=2));return Promise.reject(new g.QP(U,p,n))}} +function t(w){return c(w.xhr)} +var h,O,F,M,f,d,W,z,E,x,q,r;return g.Y(function(w){if(w.T==1){N.fetchType="gvi";h=N.D();var n={};N.Cn&&(n.ytrext=N.Cn);(M=g.NF(n)?void 0:n)?(O={format:"RAW",method:"POST",withCredentials:!0,timeout:3E4,postParams:M},F=hp(H,{action_display_post:1})):(O={format:"RAW",method:"GET",withCredentials:!0,timeout:3E4},F=H);f={};h.sendVisitorIdHeader&&N.visitorData&&(f["X-Goog-Visitor-Id"]=N.visitorData);(d=Ib(h.experiments,"debug_sherlog_username"))&&(f["X-Youtube-Sherlog-Username"]=d);Object.keys(f).length> +0&&(O.headers=f);W=(0,g.Lh)();return g.a(w,Y8(ym,F,O).then(void 0,t),2)}z=w.B;if(!z||!z.responseText)return w.return(c(z));N.loading=!1;E=OC(z.responseText);g.HJ(N,E,!0);if(N.errorCode)return x={ec:N.errorCode,ed:N.errorDetail,es:N.iW||""},w.return(Promise.reject(new g.QP("auth",x,2)));if(!N.loading&&!Di(N))return q=N.isAd()?"auth":"manifest.net.retryexhausted",r=N.isAd()?2:1,w.return(Promise.reject(new g.QP(q,{successButUnplayable:"1"},r)));g.Z3(w)})}; +cN=function(){cm.apply(this,arguments)}; +pbZ=function(N,H,c,t,h,O,F){var M={layoutId:H,layoutType:c,Hp:"core"};return{layoutId:H,layoutType:c,S1:new Map,layoutExitNormalTriggers:F,layoutExitSkipTriggers:[new wX(N.T,H)],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],Hp:"core",clientMetadata:new xd([new jR(t),new Xe(h)]),z0:O(M),adLayoutLoggingData:t.adLayoutLoggingData}}; +ubS=function(N){jY.call(this,"onesie",N);this.qT=N;this.T={};this.U=!0;this.L=null;this.queue=new CF(this);this.S={}}; +NV=function(N,H){return function(){var c=g.LQ.apply(0,arguments);if(N.T>-1)return H.apply(null,g.HE(c));try{return N.T=N.L.T.now(),H.apply(null,g.HE(c))}finally{N.U+=N.L.T.now()-N.T,N.T=-1,N.B+=1}}}; +Jf3=function(N,H,c,t,h,O,F,M,f,d,W,z,E){this.callback=N;this.slot=H;this.layout=c;this.ID=t;this.Fg=h;this.k_=O;this.tV=F;this.r_=M;this.j7=f;this.Rx=d;this.Pp=W;this.ea=z;this.kO=E;this.Gs=!0;this.vr=this.ws=null;this.adCpn=void 0;this.T=!1}; +WM=function(N){return N.T0==="mac3"||N.T0==="meac3"||N.T0==="m"||N.T0==="i"}; +nSt=function(N){Mk(N,"impression")&&!Mk(N,"seek")&&N.F1("audio_audible")}; +kxe=function(N,H){var c=window;N=N===void 0?!1:N;H=H===void 0?!0:H;g.bj(c.document,"keydown",iN);g.bj(c.document,"keyup",iN);g.bj(c.document,"mousedown",iN);g.bj(c.document,"mouseup",iN);N?g.bj(c,"touchmove",function(){tZ("touchmove",200)},{passive:!0}):(g.bj(c,"resize",function(){tZ("resize",200)}),H&&g.bj(c,"scroll",function(){tZ("scroll",200)})); +g.bj(c.document,"touchstart",iN,{passive:!0});g.bj(c.document,"touchend",iN,{passive:!0})}; +Sks=function(N){if(N.J.D().showMiniplayerUiWhenMinimized)return N.Jn.get("miniplayer")}; +gle=function(){var N=k9,H=In;H&2147483648?CB()?N=""+(BigInt(H|0)<>>0)):(H=g.K(Ge(N,H)),N=H.next().value,H=H.next().value,N="-"+hK(N,H)):N=hK(N,H);return N}; +aa=function(N){var H=N(),c=H&127;if(H<128)return c;H=N();c|=(H&127)<<7;if(H<128)return c;H=N();c|=(H&127)<<14;if(H<128)return c;H=N();return H<128?c|(H&127)<<21:Infinity}; +Qz=function(N){g.L.call(this);this.Y=[];this.mG=N||this}; +Ud=function(N,H){H=N.split(H);for(var c={},t=0,h=H.length;tH);t=N.next());return c}; +td=function(N,H){N.T=H;N.update({slidervalue:N.T,ariaValueNow:N.T});N.B.valueAsNumber=N.T;XMS(N,H)}; +gSv=function(N){return(hd(N.videoData)||!!N.videoData.liveUtcStartSeconds)&&(!!N.videoData.liveUtcStartSeconds||Ar(N))&&!!N.videoData.T}; +Sn=function(N){this.value=N}; +VPh=function(N,H){if(N.lN.B.currentState<2){var c=P0(H,N.Rx);c==="error"?N.callback.An(N.slot,N.layout,new sz("Player transition with error during SSAP composite layout.",{playerErrorCode:"non_video_expired",transitionReason:H},"ADS_CLIENT_ERROR_MESSAGE_PLAYER_TRANSITION_WITH_ERROR"),"ADS_CLIENT_ERROR_TYPE_ERROR_DURING_RENDERING"):lm(N.ZM,N.layout,c)}}; +yU3=function(N,H,c){Wj(N,H);H=aDh(N.S,c);c||H||(H=LHt(N));H=H||N.Y.T[0];N.B=N.GW.T[H.id];QC(N);N.C=N.B;ZEd(N);pTe(N);N.L=N.nextVideo;N.C=N.B;return Lkl(N)}; +YkD=function(N){return{token:fB(N,1)}}; +AfD=function(N){var H=g.as("html5-video-player");H&&g.QH(H,"ytp-ad-display-override",N)}; +aAv=function(N){g9[N]&&(N=g9[N],g.uT(N,function(H){l1[H]&&delete l1[H]}),N.length=0)}; +ief=function(N){var H=N.api.Om();if(H){var c=90*N.scale,t=GW(H,160*N.scale);if(H=H.levels[t]){N.Y=H.width;if(!N.U.length){t=[];for(var h=Ru(H,H.v$()),O=H.columns*H.rows,F=H.frameCount,M=0;M<=h;M++)for(var f=FN.U.length;)t= +void 0,(t=N.thumbnails.pop())==null||t.dispose();for(;N.thumbnails.lengthc.length;)t=void 0,(t=N.B.pop())==null||t.dispose(); +for(;N.B.lengthH.T&&H.reason==="b";t||h||c?(N.wE.Z7({reattachOnConstraint:t?"u":h?"drm":"perf",lo:H.B,up:H.T}), +N.policy.vQ||(N.U.T.B=!1)):(N.policy.vQ&&(N.U.T.B=!1),Vp(N))}}else!ufZ(N.T,H)&&N.videoTrack&&(h=N.T.T,NHl(N,kES(N.T,H)),qL(N),c=H.isLocked()&&H.reason==="m"&&N.T.Us,t=N.policy.KO&&H.reason==="l"&&Fk(N.videoTrack),H=h.T>H.T&&H.reason==="b",h=N.T.Xg&&!SF(),c||t||H||h?N.wE.Z7({reattachOnConstraint:c?"u":t?"drm":h?"codec":"perf"}):Vp(N))}}; +ub=function(N,H){var c;return g.Y(function(t){if(t.T==1)return N?g.a(t,g.F5($V,H),2):t.return();c=t.B;return t.return(c.delete("databases",N))})}; +g.Y=function(N){return f8l(new rGy(new m5R(N)))}; +N$v=function(N,H,c){c=yos(N,c);var t=H.getElementsByTagName("path")[0],h=t.getAttribute("d");if(t.getAttribute("id")){var O=TJ();H=H.getElementsByTagName("use");for(var F=0;FN.getCurrentTime())return c.start/1E3;return Infinity}; +Gls=function(N,H){N.WO||(ei(N,"fcnz",""+H),N.WO=!0)}; +HJL=function(N,H,c){c=c===void 0?0:c;var t,h;return g.Y(function(O){if(O.T==1)return t=[],t.push(H.load()),c>0&&t.push(f7w(c)),g.a(O,Promise.race(t),2);h=QBt(N,H);return O.return(h)})}; +B8f=function(N,H,c,t,h,O){var F=iJl++;return new gU({veType:N,veCounter:F,elementIndex:c,dataElement:H,youtubeData:t,jspbYoutubeData:h,loggingDirectives:O})}; +Bfy=function(N){if(SN()&&(g.op||P7))N.U.push(new kE("fairplay","com.apple.fps.1_0","",N.Es.experiments));else{var H=K_y(),c=g.Nn(N.B,function(t){var h=N.L[t],O=!1,F=!1,M;for(M in N.T[h.flavor])H(M,t)&&(h.T[M]=!0,O=O||M.indexOf("audio/")===0,F=F||M.indexOf("video/")===0);return O&&F}); +c&&N.U.push(N.L[c]);N.B=[]}N.callback(N.U)}; +x1h=function(N,H){N=N.T.get(H);if(!N)return{};N=N.TN();if(!N)return{};H={};return H.YT_ERROR_CODE=N.Am.toString(),H.ERRORCODE=N.QD.toString(),H.ERROR_MSG=N.errorMessage,H}; +pI=function(N,H,c){var t=[],h=N.track.q4;if(h){h=h.l2();for(var O=0;OO?h=0:t[F]>N.buffered[F]&&(F===O-1?h=2:F===O-2&&t[F+1]>N.buffered[F+1]&&(h=3))}N.T.add(H<<3|(c&&4)|h);H=Math.ceil(N.track.Bz()*1E3);N.T.add(H-N.S);N.S=H;if(h===1)for(N.T.add(O),F=H=0;F=2&&N.T.add(t[O- +1]-N.buffered[O-1]);c&&N.T.add(c);N.buffered=t}; +cwL=function(N){if(!BuR(N))return!1;var H=g.P(N.adVideoStart,mf);return H?g.P(N.linearAd,QR)&&wh(H)?!0:(KA("Invalid Sandwich with notify"),!1):!1}; +tud=function(N,H,c){var t=[];return g.Xh(N,{query:H},function(h){if(!(c!==void 0&&t.length>=c))return t.push(h.getValue()),g.oO(h)}).then(function(){return t})}; +hxv=function(N,H,c,t){g.L.call(this);this.B=H;this.j1=c;this.Rx=t;this.T=N(this,this,this,this,this);g.l(this,this.T);N=g.K(H);for(H=N.next();!H.done;H=N.next())g.l(this,H.value)}; +OJy=function(N,H,c){g.OT(function(){N.apply(H,c)})}; +$cw=function(){var N=[];SZ(FBh,function(H){N.push(H)}); +return N}; +RYv=function(){jl();var N=iJ.document;return!!(N&&N.body&&N.body.getBoundingClientRect&&typeof iJ.setInterval==="function"&&typeof iJ.clearInterval==="function"&&typeof iJ.setTimeout==="function"&&typeof iJ.clearTimeout==="function")}; +yJD=function(N){N.T?(N.U.G(N.T,"message",N.kf),N.U.G(N.T,"keystatuseschange",N.Un),N.T.closed&&N.T.closed.then(ZO(function(){N.onClosed()}),null)):N.B&&(I5(N.U,N.B,["mskeymessage", +"webkitkeymessage"],N.aN),I5(N.U,N.B,["mskeyerror","webkitkeyerror"],N.qo),I5(N.U,N.B,["mskeyadded","webkitkeyadded"],N.H2))}; +T$3=function(N){return g.h0(N.T,function(H){return H.info.video?H.info.video.projectionType==="EQUIRECTANGULAR":!1})}; +jge=function(){var N=["metadata_type_client_forecasting_ad_renderer"];vR().forEach(function(H){N.push(H)}); +return{lG:N,xH:["LAYOUT_TYPE_FORECASTING"]}}; +M13=function(N,H){var c=[];H=g.K(H);for(var t=H.next();!t.done;t=H.next()){t=t.value;var h=Mul[t]||0;N.T&&h>N.T||c.push(t)}return c}; +$A=function(N){return Array.from(N.T.keys())}; +WBR=function(N,H){g.e.call(this,{W:"div",K:"ytp-info-panel-preview",V:{"aria-live":"assertive","aria-atomic":"true","aria-owns":H.getId(),"aria-haspopup":"true","data-tooltip-opaque":String(g.PX(N.D()))},X:[{W:"div",K:"ytp-info-panel-preview-text",Wp:"{{text}}"},{W:"div",K:"ytp-info-panel-preview-chevron",Wp:"{{chevron}}"}]});var c=this;this.J=N;this.y0=this.T=this.videoId=null;this.isDismissed=this.L=this.showControls=this.B=!1;this.G(this.element,"click",function(){N.logClick(c.element);N.R$(); +l4(H)}); +this.fade=new g.BX(this,250,!1,100);g.l(this,this.fade);this.J.createServerVe(this.element,this,!0);this.G(N,"videodatachange",this.onVideoDataChange);this.G(N,"presentingplayerstatechange",this.jU);this.G(this.J,"paidcontentoverlayvisibilitychange",this.v2);this.G(this.J,"infopaneldetailvisibilitychange",this.v2);var t=N.getVideoData()||{};fnR(t)&&dcs(this,t);this.G(N,"onShowControls",this.Xw);this.G(N,"onHideControls",this.bd);this.G(this.J,"infopaneldetaildismissed",function(){N.N("embeds_enable_info_panel_dismissal")&& +(c.isDismissed=!0,c.hide())})}; +K3=function(N){g.e.call(this,{W:"button",fq:["ytp-size-button","ytp-button"],V:{title:N.N("player_tooltip_data_title_killswitch")?"{{title}}":"","data-tooltip-title":"{{tooltip-title}}","aria-keyshortcuts":"t","data-priority":"9","data-title-no-tooltip":"{{data-title-no-tooltip}}"},Wp:"{{icon}}"});this.api=N;this.VB=null;this.transition=new Pb;g.l(this,this.transition);this.G(N,"sizestylechange",this.Df);this.G(N,"fullscreentoggled",this.Df);this.G(N,"presentingplayerstatechange",this.Df);N.createClientVe(this.element, +this,139116);this.Df();this.listen("click",this.onClick);XW(N,this.element,this)}; +lyy=function(N,H){var c={};if(H||!N||!N.kind)return c;if(N.kind==="AD_PLACEMENT_KIND_MILLISECONDS"||N.kind==="AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"){if(!N.adTimeOffset||!N.adTimeOffset.offsetStartMilliseconds)return g.BZ(Error("malformed AdPlacementConfig")),c;c.MIDROLL_POS=BQ(TQ(Math.round(AA(N.adTimeOffset.offsetStartMilliseconds)/1E3).toString()))}else c.MIDROLL_POS=BQ(TQ("0"));return c}; +TC=function(N,H){return{start:function(c){return N[c]}, +end:function(c){return H[c]}, +length:N.length}}; +d6t=function(N){var H=N.D();if(H.N("html5_disable_onesie")||!H.N("html5_onesie")||!H.N("html5_onesie_inline")&&N.getVisibilityState()===5||H.Bp!=="yt")return!1;var c=H.n4;if(!c||!c.T)return N.handleError(new g.QP("onesie.unavailable.hotconfig",{key:"0"})),!1;if(c.T.Y<(0,g.Lh)()&&(N.Lq("okexp","1"),(c=N.vA())&&H.N("html5_prefer_trusted_host_on_key_expiration"))){c.B=!0;var t;(H=(t=c.T.get(0))==null?void 0:Sc(19,t.location))&&!Wf(H)&&c.T.delete(0)}if(WLt)return N.Lq("ost3","1"),!1;t={};return Object.keys(t).length> +0?(t.onesie="0",N.handleError(new g.QP("html5.missingapi",t)),!1):!0}; +IS=function(N){return N.N("web_settings_menu_surface_custom_playback")}; +M9=function(){var N=this;this.L9=this.yI=nxf;this.promise=new g.EL(function(H,c){N.yI=H;N.L9=c})}; +jT=function(N){N=N===void 0?iJ:N;Ss.call(this,new ZB(N,2))}; +nS=function(N){g.TW.call(this,g.jC({"aria-haspopup":"true"},["ytp-linked-account-menuitem"]),2);var H=this;this.J=N;this.B=this.T=!1;this.R4=N.GS();N.createServerVe(this.element,this,!0);this.G(this.J,"settingsMenuVisibilityChanged",function(c){H.lX(c)}); +this.G(this.J,"videodatachange",this.U);this.listen("click",this.onClick);this.U()}; +zxD=function(N){return g.h0(N.T,function(H){return H.info.video?H.info.video.stereoLayout===1:!1})}; +EcZ=function(N,H){return g.TD(N,{query:H},function(c){return c.delete().then(function(){return g.oO(c)})}).then(function(){})}; +KN=function(N,H){var c=this;this.handleError=N;this.T=H;this.B=!1;self.document===void 0||self.addEventListener("beforeunload",function(){c.B=!0}); +this.L=Math.random()<=.2}; +xc3=function(N,H){if(H.videoFormatCapabilities)for(var c=0;cc.time?H:c},N[0])}; +f_=function(N,H){var c;H=(c=N.ea.get().ob.get(H))!=null?c:null;if(H===null)return KA("Expected ad video start time on playback timeline"),0;N=N.J.getCurrentTime(2,!0);return N=M&&cc||(t.push(Math.max(H,N.start(O))-H),h.push(Math.min(c,N.end(O))-H));return TC(t,h)}; +Jwf=function(N,H,c,t){c&&(N.kA(),md(N));c=N.x_();c.uA(H);var h=N.getVideoData(),O={};O.video_id=h.videoId;O.adformat=h.adFormat;h.isLivePlayback||(O.start=c.getCurrentTime(),O.resume="1");h.isLivePlayback&&WK(h)&&g.El(N.j)&&(O.live_utc_start=c.kH(),O.resume="1");h.Us&&(O.vvt=h.Us);h.Y&&(O.vss_credentials_token=h.Y,O.vss_credentials_token_type=h.eY);h.oauthToken&&(O.oauth_token=h.oauthToken);O.autoplay=1;O.reload_count=h.zW+1;O.reload_reason=H;h.ya&&(O.unplugged_partner_opt_out=h.ya);h.Oc&&(O.ypc_is_premiere_trailer= +h.Oc);h.playerParams&&(O.player_params=h.playerParams);h.Bp&&(O.itct=h.Bp);N.loadVideoByPlayerVars(O,void 0,!0,void 0,void 0,t);H==="signature"&&N.n6&&uX3(N)}; +MXD=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x,q){for(var r=[],w=g.K(N),n=w.next();!n.done;n=w.next())if(n=n.value,!mKZ(n)&&!tal(n)){var p=E6(n)&&!!n.slotEntryTrigger.beforeContentVideoIdStartedTrigger,U=f.fG(p),X=xY3(n,d,t,c.uR,U);if(X instanceof S)return X;var A=void 0,R={slotId:n.adSlotMetadata.slotId,slotType:n.adSlotMetadata.slotType,slotPhysicalPosition:(A=n.adSlotMetadata.slotPhysicalPosition)!=null?A:1,Hp:"core",slotEntryTrigger:X.slotEntryTrigger,slotFulfillmentTriggers:X.slotFulfillmentTriggers, +slotExpirationTriggers:X.slotExpirationTriggers},v=g.P(n.fulfillmentContent.fulfilledLayout,BP);if(v){if(!wt(v))return new S("Invalid PlayerBytesAdLayoutRenderer");A=z&&!(E6(n)&&n.slotEntryTrigger.beforeContentVideoIdStartedTrigger);X=X.slotFulfillmentTriggers.some(function(Nf){return Nf instanceof q4}); +U=A?hXv(R,n.adSlotMetadata.triggerEvent,v,c,t,O,d,N,U,E,X,x):ncR(R,n.adSlotMetadata.triggerEvent,v,H,c,t,h,O,F,M,f,d,N,W,U,n.adSlotMetadata.triggeringSourceLayoutId);if(U instanceof S)return U;X=[];q?X.push(new EN({current:q})):X.push(new EN({current:null}));E6(n)&&X.push(new nZ({w2:E6(n)&&!!n.slotEntryTrigger.beforeContentVideoIdStartedTrigger}));A&&X.push(new kt({}));c.K4&&X.push(new Pn({}));X.push(new uS(p));n=Object.assign({},R,{clientMetadata:new xd(X),fulfilledLayout:U.layout,adSlotLoggingData:n.adSlotMetadata.adSlotLoggingData}); +r.push.apply(r,g.HE(U.VL));r.push(n)}else if(p=g.P(n.fulfillmentContent.fulfilledLayout,y7)){if(!w2y(p))return new S("Invalid PlayerUnderlayAdLayoutRenderer");p=qxe(p,t,c.uR,O,R,n.adSlotMetadata.triggerEvent,n.adSlotMetadata.triggeringSourceLayoutId);if(p instanceof S)return p;n=Object.assign({},R,{clientMetadata:new xd([]),fulfilledLayout:p,adSlotLoggingData:n.adSlotMetadata.adSlotLoggingData});r.push(n)}else if(p=g.P(n.fulfillmentContent.fulfilledLayout,nIh)){if(!Gf(p.adLayoutMetadata)||!g.P(p.renderingContent, +If))return new S("Invalid InPlayerOrganicOverlayAdLayoutRenderer");p=p.adLayoutMetadata.layoutType==="LAYOUT_TYPE_PLAYER_ORGANIC_BANNER_OVERLAY"?k5L(p,t,c.uR,O,R):new S("LayoutType ["+p.adLayoutMetadata.layoutType+"] is invalid for InPlayerOrganicOverlaySlot");if(p instanceof S)return p;n=Object.assign({},R,{clientMetadata:new xd([]),fulfilledLayout:p,adSlotLoggingData:n.adSlotMetadata.adSlotLoggingData});r.push(n)}else if(p=g.P(n.fulfillmentContent.fulfilledLayout,p2R)){if(!uyf(p))return new S("Invalid AboveFeedAdLayoutRenderer"); +p=SNw(p,t,c.uR,O,R,n.adSlotMetadata.triggerEvent,n.adSlotMetadata.triggeringSourceLayoutId);if(p instanceof S)return p;n=Object.assign({},R,{clientMetadata:new xd([]),fulfilledLayout:p,adSlotLoggingData:n.adSlotMetadata.adSlotLoggingData});r.push(n)}else if(p=g.P(n.fulfillmentContent.fulfilledLayout,JOv)){if(!Gf(p.adLayoutMetadata)||!g.P(p.renderingContent,Rf))return new S("Invalid BelowPlayerAdLayoutRenderer");p=SNw(p,t,c.uR,O,R,n.adSlotMetadata.triggerEvent,n.adSlotMetadata.triggeringSourceLayoutId); +if(p instanceof S)return p;n=Object.assign({},R,{clientMetadata:new xd([]),fulfilledLayout:p,adSlotLoggingData:n.adSlotMetadata.adSlotLoggingData});r.push(n)}else if(p=g.P(n.fulfillmentContent.fulfilledLayout,of)){if(!kL(p))return new S("Invalid PlayerBytesSequenceItemAdLayoutRenderer");p=PdL(p,t,c.uR,O,R,n.adSlotMetadata.triggerEvent);if(p instanceof S)return p;n=Object.assign({},R,{clientMetadata:new xd([]),fulfilledLayout:p,adSlotLoggingData:n.adSlotMetadata.adSlotLoggingData});r.push(n)}else return new S("Unable to retrieve a client slot ["+ +R.slotType+"] from a given AdSlotRenderer")}return r}; +UcS=function(N,H,c){if(c>=N.T.length)return!1;var t=N.Y-Vy(N)*N.gE;return Math.abs(H-N.T[c].startTime/1E3)/N.L.T*t<4}; +X0s=function(N,H,c){N.Y=H;N.S=c}; +ce=function(N,H){var c=0;N=g.K(N);for(var t=N.next();!(t.done||t.value.startTime>H);t=N.next())c++;return c===0?c:c-1}; +YN=function(N){var H=this;this.gG=this.T=!1;this.potentialEsfErrorCounter=this.B=0;this.handleError=function(){}; +this.dD=function(){}; +this.now=Date.now;this.ZP=!1;this.Br={gBE:function(W){H.yL=W}, +ygs:function(){H.zF()}, +Sl:function(){H.Da()}, +jK:function(W){return g.Y(function(z){return g.a(z,H.jK(W),0)})}, +ZL:function(W,z){return H.ZL(W,z)}, +jx:function(){H.jx()}}; +var c;this.BV=(c=N.BV)!=null?c:100;var t;this.hM=(t=N.hM)!=null?t:1;var h;this.Fc=(h=N.Fc)!=null?h:2592E6;var O;this.d9=(O=N.d9)!=null?O:12E4;var F;this.UM=(F=N.UM)!=null?F:5E3;var M;this.yL=(M=N.yL)!=null?M:void 0;this.hP=!!N.hP;var f;this.Zm=(f=N.Zm)!=null?f:.1;var d;this.O7=(d=N.O7)!=null?d:10;N.handleError&&(this.handleError=N.handleError);N.dD&&(this.dD=N.dD);N.ZP&&(this.ZP=N.ZP);N.gG&&(this.gG=N.gG);this.M4=N.M4;this.YN=N.YN;this.je=N.je;this.Np=N.Np;this.sendFn=N.sendFn;this.JR=N.JR;this.NN= +N.NN;tD(this)&&(!this.M4||this.M4("networkless_logging"))&&w5D(this)}; +g.Ua=function(N,H){N.sort(H||qJ)}; +JCe=function(N,H,c){var t=new Vu3(c);N&&(t.B=!0,t.Y=.1);c.M4("html5_media_time_weight")&&(t.B=!1);H&&(t.L=H/8);t.U=SW()>=480;return t}; +sI=function(N,H){N.B=H;g.Hw("yt.gcf.config.hotConfigGroup",N.B||null)}; +Wj=function(N,H){N.T=H;var c=N.Y.videoInfos;if(!N.T.isLocked()){var t=(0,g.Lh)();c=g.WL(c,function(F){if(F.OF>this.policy.OF)return!1;var M=this.GW.T[F.id];return Ci(this.S).get(F.id)>t||M.JF.L>4||M.Y>4?!1:this.Ix.has(+F.itag)?!1:!0},N); +H2t(N.S)&&(c=g.WL(c,function(F){return F.video.width<=854&&F.video.height<=480}))}c.length||(c=N.Y.videoInfos); +var h=c;N.policy.Vm&&(h=KOL(N,h,H));h=g.WL(h,H.U,H);if(N.T.isLocked()&&N.S.T){var O=g.Nn(c,function(F){return F.id===N.S.T}); +O?h=[O]:e$(N.S,"")}N.policy.Vm||(h=KOL(N,h,H));h.length||(h=[c[0]]);h.sort(function(F,M){return z1(N,F)-z1(N,M)}); +H={};for(c=1;cH.YZ.video.width?(g.wd(h,c),c--):z1(N,H.Bl)*N.policy.TW>z1(N,H.YZ)&&(g.wd(h,c-1),c--);H=h[h.length-1];N.Xg=!!N.L&&!!N.L.info&&N.L.info.T0!==H.T0;N.U=h;N.vp.clear();c=!1;for(O=0;O=1080&&(c=!0);HER(N.policy,H,N.GW.K4)}; +LBh=function(N){if(N.N("html5_stateful_audio_normalization")){var H=1,c=g.Mx(N.Es.experiments,"html5_default_ad_gain");c&&N.isAd()&&(H=c);var t,h;c=(h=(t=N.U)==null?void 0:t.audio.U)!=null?h:N.rl;if(c==null||isNaN(c))N=$gl(N);else{t=(0,g.Lh)();N.YA=1;h=t-N.Es.Gn<=N.maxStatefulTimeThresholdSec*1E3;N.applyStatefulNormalization&&h?N.YA=2:h||(N.Es.u1=Infinity,N.Es.Gn=NaN);h=(N.YA===2?g.Ae(N.Es.u1,N.minimumLoudnessTargetLkfs,N.loudnessTargetLkfs):N.loudnessTargetLkfs)-c;if(N.YA!==2){var O,F,M,f,d=((O= +N.playerResponse)==null?void 0:(F=O.playerConfig)==null?void 0:(M=F.audioConfig)==null?void 0:(f=M.loudnessNormalizationConfig)==null?void 0:f.statelessLoudnessAdjustmentGain)||0;h+=d}h=Math.min(h,0);N.preserveStatefulLoudnessTarget&&(N.Es.u1=c+h,N.Es.Gn=t);N=Math.min(1,Math.pow(10,h/20))||H}}else N=$gl(N);return N}; +kR=function(N){return N.toString()}; +g.vn=function(N,H,c){c=c===void 0?{}:c;this.start=N;this.end=H;this.active=!0;this.color="";this.B=ZJf++;this.id=c.id||"";this.priority=c.priority||9;this.visible=c.visible||!1;this.style=c.style||DQ.AD_MARKER;this.namespace=c.namespace||"";if(N=c.color)N=N.toString(16),this.color="#"+Array(7-N.length).join("0")+N;this.tooltip=c.tooltip;this.icons=c.icons?c.icons.filter(function(t){return g.Mp(t.thumbnails,function(h){return g.Vq(h.url)})}):null; +this.associatedClipId=c.associatedClipId;this.markerPositionMs=c.markerPositionMs;this.visible=this.visible;this.style=this.style;this.start=this.start}; +HUS=function(N){N=c3[N]!==void 0?c3[N].toString():null;return N!=null&&/^[A-Fa-f0-9]+$/.test(N)?parseInt(N,16):null}; +YNL=function(N){return{q5:IZ(N,1),YL:IZ(N,2),seekSource:IZ(N,3)}}; +Awh=function(N,H){H=H===void 0?N.D().schedule:H;N.tN("vir");N.tN("ps_s");OZ("vir",void 0,"video_to_ad");H=zlt(N,H);H.then(function(){N.tN("virc");OZ("virc",void 0,"video_to_ad");N.tN("ps_r");OZ("ps_r",void 0,"video_to_ad")},function(){N.tN("virc"); +OZ("virc",void 0,"video_to_ad")}); +return H}; +g.sL=function(N){var H,c,t,h;return(g.uK(N)?(H=N.ox)==null?void 0:(c=H.cards)==null?void 0:c.cardCollectionRenderer:(t=N.playerResponse)==null?void 0:(h=t.cards)==null?void 0:h.cardCollectionRenderer)||null}; +b83=function(N,H){kiv(N,H.reason,H.T.info,H.token,H.videoId)}; +E4=function(N){this.value=N}; +anf=function(N){var H;if(H=!!N.cotn)H=N.videoId,H=!!H&&g.YG(H)===1;return H&&!N.Ze}; +Z4=function(N,H,c,t){if(xA.length){var h=xA.pop();h.init(N,H,c,t);N=h}else N=new zW(N,H,c,t);this.T=N;this.U=this.T.T;this.B=this.L=-1;yz3(this,t)}; +I1=function(N){N.S=null;N.Y=null;N.G(dC("over"),N.U_);N.G("touchstart",N.bE);N.T&&N.G(dC("down"),N.RwT)}; +a5=function(N){var H=DN();switch(H){case 1:QO.h5vcc.traceEvent.traceBegin("YTLR",N);break;case 2:QO.performance.mark(N+"-start");break;case 0:break;default:Iv(H,"unknown trace type")}}; +SP=function(N,H){this.T=N;this.B=H}; +exw=function(N){this.L=N;this.B=0;this.T=null}; +oY=function(N){return S3()?!JFL(N):nU()?!(!N.Ql||!N.N("html5_enable_safari_fairplay")&&h4()):!1}; +vcD=function(N){dK.call(this,N);wl(N,"isEmbedsShortsMode",function(){return N.isEmbedsShortsMode()}); +wl(N,"getReelItemWatchResponse",function(){var H,c;return(c=(H=N.getVideoData(1))==null?void 0:H.getReelItemWatchResponse())!=null?c:null})}; +qI=function(N){var H;(H=N.C)==null||PLt(H);N.TW=[]}; +sgv=function(N,H){var c=N.Vd({playerType:1});if(c){if(c.getVideoData().clientPlaybackNonce===H)return c;if((N=N.fF.T)&&N.getVideoData().clientPlaybackNonce===H)return N}return null}; +h7=function(N,H){var c=FWL(N,tQ(N));!isNaN(N.U)&&H&&(c.TW=N.U);return c}; +Koh=function(N,H,c,t){N||(N=H&&B$w.hasOwnProperty(H)&&ywD.hasOwnProperty(H)?ywD[H]+"_"+B$w[H]:void 0);H=N;if(!H)return null;N=H.match(Ghf);if(!N||N.length!==5)return null;if(N=H.match(Ghf)){var h=Number(N[3]),O=[7,8,10,5,6];N=!(Number(N[1])===1&&h===8)&&O.indexOf(h)>=0}else N=!1;return c||t||N?H:null}; +hu=function(N){N.Z=!1;N.C.isActive()&&Kx(N);N.C.stop();N.bN(!1)}; +RxR=function(N,H,c){c=c===void 0?{}:c;var t={};g.YI("EOM_VISITOR_DATA")?t={"X-Goog-EOM-Visitor-Id":g.YI("EOM_VISITOR_DATA")}:t={"X-Goog-Visitor-Id":c.visitorData||g.YI("VISITOR_DATA","")};if(H&&H.includes("www.youtube-nocookie.com"))return t;H=c.A5||g.YI("AUTHORIZATION");H||(N?H="Bearer "+g.NA("gapi.auth.getToken")().access_token:(N=EGl().Tl(AQ),g.sf("pageid_as_header_web")||delete N["X-Goog-PageId"],t=Object.assign({},t,N)));H&&(t.Authorization=H);return t}; +ZGL=function(N){if(N.eH&&typeof N.eH=="function")return N.eH();if(!N.BQ||typeof N.BQ!="function"){if(typeof Map!=="undefined"&&N instanceof Map)return Array.from(N.keys());if(!(typeof Set!=="undefined"&&N instanceof Set)){if(g.Ze(N)||typeof N==="string"){var H=[];N=N.length;for(var c=0;cN.policy.CF,M=h<=N.policy.CF?nK(t):LB(t);if(!O||F||M)c[h]=t}return c}; +UCs=function(N,H,c){Qfd(N);Tb(N,c);Tb(N,~c);xT.ji(N.Pd,N.window,H,c,N.pending);N.pending+=c}; +Ziw=function(N){N&&N!=="web"&&Inl.includes(N)}; +oxe=function(N,H,c,t,h,O){this.videoData=N;this.T=H;this.reason=c;this.B=t;this.token=h;this.videoId=O}; +bJR=function(N){Oo(N,4,!1);N.C&&(N.T.G3(N.C),N.C=null,N.L=N.T.G(N.target,"mouseover",N.U_));N.L&&(N.T.G3(N.L),N.L=N.T.G(N.target,"mouseover",N.U_))}; +C_=function(N){this.B=N}; +g.FS=function(N,H,c){N.U.set(H,c)}; +YM=function(N){this.value=N}; +t2e=function(){}; +iSS=function(N,H){var c=[];H=Array.from(H.getElementsByTagName("SegmentTimeline"));H=g.K(H);for(var t=H.next();!t.done;t=H.next()){t=t.value;var h=t.parentNode.parentNode,O=null;h.nodeName==="Period"?O=iOd(N):h.nodeName==="AdaptationSet"?(h=h.getAttribute("id")||h.getAttribute("mimetype")||"",O=PUS(N,h)):h.nodeName==="Representation"&&(h=h.getAttribute("id")||"",O=KMv(N,h));if(O==null)return;O.update(t);g.N9(c,NCs(O))}g.N9(N.U,c);HSl(N.U,function(F){return F.startSecs*1E3+F.T})}; +qU=function(N,H){var c=H.raw_watch_next_response;if(!c){var t=H.watch_next_response;t&&(c=JSON.parse(t))}if(c){N.ox=c;var h=N.ox.playerCueRangeSet;h&&g.ESR(N,h);var O=N.ox.playerOverlays;if(O){var F=O.playerOverlayRenderer;if(F){var M=F.autonavToggle;M&&(N.autoplaySwitchButtonRenderer=g.P(M,cjw),N.N("web_player_autonav_use_server_provided_state")&&n1(N)&&(N.autonavState=N.autoplaySwitchButtonRenderer.enabled?2:1));var f=F.videoDetails;if(f){var d=f.embeddedPlayerOverlayVideoDetailsRenderer;var W= +f.playerOverlayVideoDetailsRenderer;W&&(W.title&&(H.title=g.Fu(W.title)),W.subtitle&&(H.subtitle=g.Fu(W.subtitle)))}g.bi(N.Es)&&(N.S_=!!F.addToMenu);YeS(N,F.shareButton);F.startPosition&&F.endPosition&&(N.progressBarStartPosition=F.startPosition,N.progressBarEndPosition=F.endPosition);var z=F.gatedActionsOverlayRenderer;z&&(N.xV=g.P(z,tYS));var E,x,q,r=g.P((E=N.getWatchNextResponse())==null?void 0:(x=E.playerOverlays)==null?void 0:(q=x.playerOverlayRenderer)==null?void 0:q.infoPanel,vLD);if(r){N.au= +Number(r==null?void 0:r.durationMs)||NaN;if(r==null?0:r.infoPanelOverviewViewModel)N.Dt=r==null?void 0:r.infoPanelOverviewViewModel;if(r==null?0:r.infoPanelDetailsViewModel)N.gk=r==null?void 0:r.infoPanelDetailsViewModel}N.showSeekingControls=!!F.showSeekingControls}}var w,n,p=(w=N.getWatchNextResponse())==null?void 0:(n=w.contents)==null?void 0:n.twoColumnWatchNextResults;if(p){var U=p.desktopOverlay&&g.P(p.desktopOverlay,hSd);U&&(U.suppressShareButton&&(N.showShareButton=!1),U.suppressWatchLaterButton&& +(N.S_=!1))}d&&LGd(N,H,d);var X=PP(0,H.autoplay_count),A=N.getWatchNextResponse(),R,v=(R=A.contents)==null?void 0:R.twoColumnWatchNextResults,Nf,Fe,tS,jh=(Nf=A.playerOverlays)==null?void 0:(Fe=Nf.playerOverlayRenderer)==null?void 0:(tS=Fe.autoplay)==null?void 0:tS.playerOverlayAutoplayRenderer,cL=OSv(N),Ks,Rl=(Ks=A.contents)==null?void 0:Ks.singleColumnWatchNextResults;if(Rl){var Tx;if(((Tx=Rl.autoplay)==null?0:Tx.autoplay)&&!Rl.playlist){var Fc=Rl.autoplay.autoplay.sets,ol={},Q=new L4(N.D()),cW=null, +U4;if(Fc){for(var Xc=g.K(Fc),b5=Xc.next();!b5.done;b5=Xc.next()){var Rd=b5.value.autoplayVideoRenderer;if(Rd&&Rd.compactVideoRenderer){cW=Rd.compactVideoRenderer;break}}if(U4=Fc[0].autoplayVideo){var T3=U4.clickTrackingParams;T3&&(ol.itct=T3);ol.autonav="1";ol.playnext=String(X)}}else ol.feature="related-auto";var JG=g.P(U4,g.DS);if(cW){Q.videoId=cW.videoId;var D=cW.shortBylineText;D&&(Q.author=g.Fu(D));var HL=cW.title;HL&&(Q.title=g.Fu(HL))}else JG!=null&&JG.videoId&&(Q.videoId=JG.videoId);Q.yT= +ol;N.suggestions=[];N.u1=Q}}if(cL){for(var m4=[],TL=g.K(cL),bQ=TL.next();!bQ.done;bQ=TL.next()){var fA=bQ.value,bw=void 0,i5=null;if(fA.endScreenVideoRenderer){var uQ=fA.endScreenVideoRenderer,J=uQ.title;i5=new L4(N.D());i5.videoId=uQ.videoId;i5.lengthSeconds=uQ.lengthInSeconds||0;var m=uQ.publishedTimeText;m&&(i5.publishedTimeText=g.Fu(m));var u=uQ.shortBylineText;u&&(i5.author=g.Fu(u));var V=uQ.shortViewCountText;V&&(i5.shortViewCount=g.Fu(V));if(J){i5.title=g.Fu(J);var G=J.accessibility;if(G){var $y= +G.accessibilityData;$y&&$y.label&&(i5.ariaLabel=$y.label)}}var I=uQ.navigationEndpoint;if(I){bw=I.clickTrackingParams;var B=g.P(I,g.DS),Z=g.P(I,g.iF);B?i5.lQ=B:Z!=null&&(i5.watchUrl=Z.url)}var Sh=uQ.thumbnailOverlays;if(Sh)for(var PL=g.K(Sh),gt=PL.next();!gt.done;gt=PL.next()){var JS=gt.value.thumbnailOverlayTimeStatusRenderer;if(JS)if(JS.style==="LIVE"){i5.isLivePlayback=!0;break}else if(JS.style==="UPCOMING"){i5.isUpcoming=!0;break}}i5.xP=LZ(uQ.thumbnail)}else if(fA.endScreenPlaylistRenderer){var tG= +fA.endScreenPlaylistRenderer,uw=tG.navigationEndpoint;if(!uw)continue;var sC=g.P(uw,g.DS);if(!sC)continue;var XG=sC.videoId;i5=new VB(N.D());i5.playlistId=tG.playlistId;i5.playlistLength=Number(tG.videoCount)||0;i5.T=XG||null;i5.videoId=XG;var Id=tG.title;Id&&(i5.title=g.Fu(Id));var ns=tG.shortBylineText;ns&&(i5.author=g.Fu(ns));bw=uw.clickTrackingParams;i5.xP=LZ(tG.thumbnail)}i5&&(bw&&(i5.sessionData={itct:bw}),m4.push(i5))}N.suggestions=m4}if(jh){N.Bw=!!jh.preferImmediateRedirect;N.WO=N.WO||!!jh.webShowNewAutonavCountdown; +N.il=N.il||!!jh.webShowBigThumbnailEndscreen;if(N.WO||N.il){var G8=v||null,Uv=new L4(N.D());Uv.videoId=jh.videoId;var rR=jh.videoTitle;if(rR){Uv.title=g.Fu(rR);var AS=rR.accessibility;if(AS){var DW=AS.accessibilityData;DW&&DW.label&&(Uv.ariaLabel=DW.label)}}var Dl=jh.byline;Dl&&(Uv.author=g.Fu(Dl));var Nk=jh.publishedTimeText;Nk&&(Uv.publishedTimeText=g.Fu(Nk));var t8=jh.shortViewCountText;t8&&(Uv.shortViewCount=g.Fu(t8));var e7=jh.thumbnailOverlays;if(e7)for(var Vd=g.K(e7),Kq=Vd.next();!Kq.done;Kq= +Vd.next()){var Sl=Kq.value.thumbnailOverlayTimeStatusRenderer;if(Sl)if(Sl.style==="LIVE"){Uv.isLivePlayback=!0;break}else if(Sl.style==="UPCOMING"){Uv.isUpcoming=!0;break}else if(Sl.style==="DEFAULT"&&Sl.text){Uv.lengthText=g.Fu(Sl.text);var x9=Sl.text.accessibility;if(x9){var qA=x9.accessibilityData;qA&&qA.label&&(Uv.xv=qA.label||"")}break}}Uv.xP=LZ(jh.background);var NN=jh.nextButton;if(NN){var HP=NN.buttonRenderer;if(HP){var F7=HP.navigationEndpoint;if(F7){var gr=g.P(F7,g.DS);gr&&(Uv.lQ=gr)}}}if(jh.topBadges){var iM= +jh.topBadges[0];if(iM){var cP=g.P(iM,FdL);cP&&cP.style==="BADGE_STYLE_TYPE_PREMIUM"&&(Uv.TJW=!0)}}var t$=jh.alternativeTitle;t$&&(Uv.Be=g.Fu(t$));var Gr={autonav:"1",playnext:String(X)};Uv.playlistId&&(Gr.autoplay="1");if(G8){var Y9,AZ,Qe,h$,pi=(Y9=G8.autoplay)==null?void 0:(AZ=Y9.autoplay)==null?void 0:(Qe=AZ.sets)==null?void 0:(h$=Qe[0])==null?void 0:h$.autoplayVideo;if(pi){var Oe=pi.clickTrackingParams;Oe&&(Gr.itct=Oe);var FC=g.P(pi,g.DS);FC&&(Uv.Bg=FC)}}else if(jh){var $L,uA,Tf,RG=($L=jh.nextButton)== +null?void 0:(uA=$L.buttonRenderer)==null?void 0:(Tf=uA.navigationEndpoint)==null?void 0:Tf.clickTrackingParams;RG&&(Gr.itct=RG)}Gr.itct||(Gr.feature="related-auto");Uv.yT=Gr;N.suggestions||(N.suggestions=[]);N.u1=Uv}jh.countDownSecs!=null&&(N.j6=jh.countDownSecs*1E3);jh.countDownSecsForFullscreen!=null&&(N.Qa=jh.countDownSecsForFullscreen>=0?jh.countDownSecsForFullscreen*1E3:-1);N.N("web_autonav_color_transition")&&jh.watchToWatchTransitionRenderer&&(N.watchToWatchTransitionRenderer=g.P(jh.watchToWatchTransitionRenderer, +$os))}var uu=OSv(N);if(uu){var $n,Xq,Zf,gP=uu==null?void 0:($n=uu[0])==null?void 0:(Xq=$n.endScreenVideoRenderer)==null?void 0:(Zf=Xq.navigationEndpoint)==null?void 0:Zf.clickTrackingParams,VJ=g.ZJ(N);gP&&VJ&&(VJ.sessionData={itct:gP})}N.ox.currentVideoThumbnail&&(N.xP=LZ(N.ox.currentVideoThumbnail));var LV,YZ,Ay,aN,eQ,Z7=(LV=N.ox)==null?void 0:(YZ=LV.contents)==null?void 0:(Ay=YZ.twoColumnWatchNextResults)==null?void 0:(aN=Ay.results)==null?void 0:(eQ=aN.results)==null?void 0:eQ.contents;if(Z7&& +Z7[0]){var zj=Z7[0].videoPrimaryInfoRenderer;zj&&zj&&zj.subtitle&&(N.vM=g.Fu(zj.subtitle))}if(Z7&&Z7[1]){var qO,wO,Cz,y1,E3=(qO=Z7[1].videoSecondaryInfoRenderer)==null?void 0:(wO=qO.owner)==null?void 0:(Cz=wO.videoOwnerRenderer)==null?void 0:(y1=Cz.thumbnail)==null?void 0:y1.thumbnails;E3&&E3.length&&(N.profilePicture=E3[E3.length-1].url)}var p0=xr(H),Dh,$6e=(Dh=N.getWatchNextResponse())==null?void 0:Dh.onResponseReceivedEndpoints;if($6e)for(var TWy=g.K($6e),bAl=TWy.next();!bAl.done;bAl=TWy.next()){var NiD= +bAl.value;g.P(NiD,lG)&&(N.rz=g.P(NiD,lG));var JQ=g.P(NiD,TCt),j$w=void 0;if((j$w=JQ)==null?0:j$w.entityKeys)N.XS=JQ.entityKeys||[],JQ.visibleOnLoadKeys&&(N.visibleOnLoadKeys=JQ.visibleOnLoadKeys)}if(N.N("web_key_moments_markers")){var oLd=g.gq.getState().entities,kf4=g.K_("visibility_override","markersVisibilityOverrideEntity");var ll=rq(oLd,"markersVisibilityOverrideEntity",kf4);N.Cq=(ll==null?void 0:ll.videoId)===(N.videoId||p0)&&(ll==null?0:ll.visibilityOverrideMarkersKey)?ll.visibilityOverrideMarkersKey: +N.visibleOnLoadKeys;N.visibleOnLoadKeys=[].concat(g.HE(N.Cq))}}}; +g.Gv=function(N,H,c,t){t=t===void 0?!1:t;g.lL.call(this,H);var h=this;this.J=N;this.Bp=t;this.S=new g.Ww(this);this.fade=new g.BX(this,c,!0,void 0,void 0,function(){h.Ko()}); +g.l(this,this.S);g.l(this,this.fade)}; +MYZ=function(N,H){var c=jVd(N),t=c.J$;c=c.HP;if(N.policy.L2){var h=gZ(N.Ix.Eu,H);N=gZ(N.Cq.Eu,H)}else h=t,N=c;return{y6:h,nN:N,J$:t,HP:c}}; +WdS=function(N,H,c,t){N=fQe(iXD(WiL(new bI(1828,"0"),N),new WT)).GI();H.length&&HKS(N,JKR(new xDL,H));t!==void 0&&(N.Iu=t);var h=new do3(1828,"","",!1,"",N.build());g.l(h,N);var O=new g.HT({flush:function(F){try{h.flush(F)}catch(M){c(M)}}}); +O.addOnDisposeCallback(function(){setTimeout(function(){try{O.Ij()}finally{h.dispose()}})}); +O.L=1E5;O.flushInterval=3E4;O.T.setInterval(3E4);return O}; +Gsh=function(N){var H=N.sampleInterval,c=N.maxBufferSize;if(H>0&&c>0&&!N.B&&N.L<1E7)try{N.U=N.S({sampleInterval:H,maxBufferSize:c});var t;(t=N.U)==null||t.addEventListener("samplebufferfull",function(){return g.Y(function(h){if(h.T==1)return g.a(h,N.stop(),2);Gsh(N);g.Z3(h)})})}catch(h){N.B=zSy(h.message)}}; +x7s=function(N,H,c,t,h,O,F){g.L.call(this);this.callback=N;this.Nc=H;this.k_=c;this.YO=t;this.QR=h;this.Le=O;this.Rx=F;this.AY=!0;this.tE=!1}; +ilS=function(N,H){rH(N,H.E9(),function(c,t,h){H.Xr(c,t,h)})}; +EEL=function(N){return{bitrate:IZ(N,6),width:IZ(N,7),height:IZ(N,8),fps:IZ(N,25),averageBitrate:IZ(N,31),audioSampleRate:IZ(N,45),audioChannels:IZ(N,46),qualityOrdinal:IZ(N,56)}}; +K1=function(N){return N.videoData.T?Qv(N.videoData.T)||5:5}; +g.KX=function(N){var H=N.C;N.N("html5_gapless_unlimit_format_selection")&&Vz(N)&&(H=!1);var c=!!N.T&&N.T.K4,t=N.Es,h=N.pk(),O=ix(N),F=N.NT,M=H,f=N.isOtf();H=N.OY();var d=N.fb,W=N.getUserAudio51Preference(),z=lx(N),E=Qp(N),x=new xoD(t);if(t.vO()||t.N("html5_logging_format_selection"))x.T=!0;x.zW=O;x.NT=F&&t.Z;x.Cq=W;g.$b("windows nt 5.1")&&!g.dL&&(x.vL=!0);if(O=h)O=g.rZ(t)?RoD(t):!1;O&&(x.Bp=!0);M&&(x.vL=!0,x.mz=!0);f&&!t.N("html5_otf_prefer_vp9")&&(x.vL=!0);t.playerStyle==="picasaweb"&&(f&&(x.vL= +!1),x.Us=!1);d&&(x.vL=!0);k_(t.S,o4.CHANNELS)&&(t.N("html5_enable_ac3")&&(x.U=!0),t.N("html5_enable_eac3")&&(x.S=!0),t.N("html5_enable_ac3_gapless")&&(x.gE=!0));t.N("html5_block_8k_hfr")&&(x.w_=!0);x.Y=g.Mx(t.experiments,"html5_max_selectable_quality_ordinal");x.C=g.Mx(t.experiments,"html5_min_selectable_quality_ordinal");M_&&(x.S_=480);if(c||h)x.Us=!1;x.Al=!1;x.disableAv1=z;c=Cd(t,x.B,void 0,x.disableAv1);c>0&&c<2160&&(SF()||t.N("html5_format_hybridization"))&&(x.B.supportsChangeType=+SF(),x.CF= +c);c>=2160&&(x.Ix=!0);twZ()&&!t.N("disable_av1_setting")&&(x.B.serveVp9OverAv1IfHigherRes=0,x.bX=!1);x.OY=H;x.vp=g.BY||bs()&&!H?!1:!0;x.Z=t.N("html5_format_hybridization");x.mG=t.N("html5_disable_encrypted_vp9_live_non_2k_4k");x.kG=E;AC(N)&&(x.T3=!0);S3()&&N.playerResponse&&N.playerResponse.playerConfig&&N.playerResponse.playerConfig.webPlayerConfig&&N.playerResponse.playerConfig.webPlayerConfig.useCobaltTvosDogfoodFeatures&&(x.U=!0,x.S=!0);N.C&&N.isAd()&&(N.wH&&(x.TW=N.wH),N.M0&&(x.L=N.M0));N.Tu()&& +(x.ox=g.Mx(N.Es.experiments,"html5_hard_cap_max_vertical_resolution_for_shorts"));x.Kq=N.isLivePlayback&&N.f2()&&N.Es.N("html5_drm_live_audio_51");x.WO=N.xt;x.C4=!AC(N);return N.w_=x}; +qq=function(N){this.value=N}; +FV=function(N,H){var c={},t;for(t in N)c[t]=H.call(void 0,N[t],t,N);return c}; +g.HB=function(N,H){typeof N.className=="string"?N.className=H:N.setAttribute&&N.setAttribute("class",H)}; +qVL=function(N,H,c,t){return yG().L?!1:Gj(N)<=0||N.getHeight()<=0?!0:c&&t?kSR(208,function(){return KkS(N,H,c)}):!1}; +V1h=function(N,H){N=N===void 0?NaN:N;H=H===void 0?null:H;g.L.call(this);var c=this;this.U=N;this.B=H;this.L=new g.kT(function(){for(var t=(0,g.Lh)();!c.T.isEmpty();){var h=PZe(c.T);if(h===void 0||h>t)break;var O=c.T.remove(),F=c.map.get(O);F&&F.Ef===h&&wZ(c,O,!0)}Dm(c)}); +this.map=new Map;this.T=new Wb;Number.isNaN(N);g.l(this,this.L)}; +QS=function(N){N.a4(!1);N.B&&N.J.logVisibility(N.element,N.I4)}; +ZXe=function(N,H){N.playbackData=H;N.videoData.isLivePlayback&&(N.Z=new CyL(function(){a:{if(N.playbackData&&N.playbackData.T.T){if(WK(N.videoData)&&N.loader){var t=N.loader.pS.sI()||0;break a}if(N.videoData.T){t=N.videoData.T.Ix;break a}}t=0}return t}),N.T=new MI(N.videoData,N.j.experiments,function(){return N.L6(!0)})); +if(J3(N.wE)){var c;(c=N.videoData.nO)!=null&&c.HV||(H=lQe(N),H.zR?(AC(N.videoData)&&N.lU(H.zR,H.startSeconds),N.L=H.startSeconds):H.startSeconds>0&&N.seekTo(H.startSeconds,{j_:"seektimeline_startPlayback",seekSource:15}));N.TW=!1}else Ar(N)||(N.L=N.L||N.videoData.startSeconds||0,N.videoData.isLivePlayback||(H=N.wE.videoData.L6(),N.L>H&&(N.N("html5_sabr_log_invalid_sabr_current_time")&&N.wE.Lq("invalidSabrCmtStart",{rt:N.L,mst:H}),N.N("html5_sabr_vod_invalid_start_time_fallback")&&(N.L=0))))}; +tu=function(N,H,c){N.S[H.Qd()]=H;N.B=H;c&&(N.Y=H);jq(N)}; +Kdy=function(){var N=null;lYe().then(function(H){return N=H},function(H){return N=$03(H)}); +return N}; +hy=function(){g.L.apply(this,arguments);this.element=null;this.Y=new Set;this.C={};this.Z={};this.T={};this.TW=new Set;this.L=new ty;this.B=new ty;this.U=new ty;this.S=new ty}; +kB=function(){Tk.apply(this,arguments);this.Br={PA:function(){return[]}}}; +gEv=function(N){for(;N.T.length&&N.T[0].bF(N.u2());){var H=N.T.shift();MvD(N,H)}N.T.length&&MvD(N,N.T[0])}; +B1=function(N,H,c){Bf.call(this,null,N,H,c);this.Z=N.isActive();this.C=0}; +g.Bc=function(N){if(!N.playerResponse||!N.playerResponse.annotations)return null;N=g.K(N.playerResponse.annotations);for(var H=N.next();!H.done;H=N.next())if(H=H.value,H.playerAnnotationsExpandedRenderer&&H.playerAnnotationsExpandedRenderer.featuredChannel)return H.playerAnnotationsExpandedRenderer;return null}; +xp=function(){this.T=[];this.B=null;this.Y=0;this.L=[];this.S=!1;this.C="";this.U=-1}; +VLZ=function(N,H){var c=H==null?void 0:H.primary;N.L(0,c);c=c?izD(c):void 0;N.L(2,c);N.L(1,H==null?void 0:H.secondary)}; +Iz=function(N){var H=[],c=0,t;for(t in N)H[c++]=N[t];return H}; +rjR=function(N,H,c,t,h){if(t=t>1)N.U=!0;if((h===void 0?0:h)||isNaN(N.B))N.B=H;if(N.T)H!==N.mediaTime&&(N.T=!1);else if(H>0&&N.mediaTime===H){h=1500;if(N.j.N("html5_buffer_underrun_transition_fix")){h=g.Mx(N.j.experiments,"html5_min_playback_advance_for_steady_state_secs");var O=g.Mx(N.j.experiments,"html5_min_underrun_buffered_pre_steady_state_ms");h=h>0&&O>0&&Math.abs(H-N.B)(t||!N.U?h:400)}N.mediaTime=H;N.L=c;return!1}; +Tw=function(N,H,c,t,h,O,F){p_(N,c*1E3,F);h<=0||c<=0||(H==null?0:g.y(H,16))||(H==null?0:g.y(H,32))||(ca(c,h*.25,t)&&(O&&!Mk(N,"first_quartile")&&O("first"),N.xG("first_quartile")),ca(c,h*.5,t)&&(O&&!Mk(N,"midpoint")&&O("second"),N.xG("midpoint")),ca(c,h*.75,t)&&(O&&!Mk(N,"third_quartile")&&O("third"),N.xG("third_quartile")))}; +sl=function(N){this.hF=oF(N)}; +fD=function(N,H,c){N=GCy(N,H===void 0?0:H,c===void 0?-1:c);return new Uint8Array(N.buffer,N.byteOffset,N.byteLength)}; +SVd=function(N,H){var c,t=(c=N.Dt[H])==null?void 0:c.chapters;t&&(NTs(N,t),N.api.getVideoData().bX=N.T,jLR(N));var h;if((c=(h=N.Dt[H])==null?void 0:h.markers)&&H!=="HEATSEEKER"){L9(N);h=g.K(c);for(c=h.next();!c.done;c=h.next())if(t=c.value,c=new mol,t=g.P(t,g.w1D)){var O=void 0;c.title=((O=t.title)==null?void 0:O.simpleText)||"";O=void 0;c.timeRangeStartMillis=(O=t.timeRangeStartMillis)!=null?O:NaN;var F=O=void 0;c.onActiveCommand=(F=(O=t)==null?void 0:O.onActiveCommand)!=null?F:void 0;$_Z(N,c)}Doy(N, +N.C);h=N.C;c=N.BR;t=[];for(O=0;O=F&&r<=W&&O.push(E)}f>0&&(N.Us.style.height=f+"px");F=N.U[t];W=O;E=h;q=f;r=t===0;r=r===void 0?!1:r;lWs(F,q);z=W;x=F.B;r=r===void 0?!1:r;var w=1E3/z.length,n=[];n.push({x:0,y:100});for(var p=0;p0&&(c=O[O.length-1])}g.$8(N);M=[];H=g.K(H.heatMarkersDecorations||[]);for(h=H.next();!h.done;h=H.next())if(h=g.P(h.value,nEv))f=h.label,t=c=d=void 0,M.push({visibleTimeRangeStartMillis:(d=h.visibleTimeRangeStartMillis)!=null?d:-1,visibleTimeRangeEndMillis:(c=h.visibleTimeRangeEndMillis)!=null?c:-1,decorationTimeMillis:(t=h.decorationTimeMillis)!=null?t:NaN,label:f?g.Fu(f):""});N.heatMarkersDecorations=M}}; +uX3=function(N){if(!w_(N)){var H=pH(N.F2);H&&!H.created&&vc(N.F2)&&H.create()}}; +uG=function(N){N.T&&N.Z===-1&&(N.Z=N.T.subscribe("h",N.Ny,N),N.Kq=N.T.subscribe("g",N.rL,N),N.Ny())}; +NCs=function(N){var H=N.L;N.L=[];return H}; +Doy=function(N,H){H=g.K(H);for(var c=H.next();!c.done;c=H.next()){c=c.value;var t=Zb(N,c.timeRangeStartMillis/(N.L.T*1E3),gl(N)),h=N.api.N("delhi_modern_web_player")?.667:.6;g.eU(c.element,"transform","translateX("+t+"px) scaleX("+h+")")}}; +VR=function(N){switch(N){case "SLOT_TRIGGER_EVENT_LAYOUT_ID_ENTERED":return{kind:"AD_PLACEMENT_KIND_LAYOUT_ID_ENTERED"};case "SLOT_TRIGGER_EVENT_BEFORE_CONTENT":return{kind:"AD_PLACEMENT_KIND_START"};case "SLOT_TRIGGER_EVENT_CONTENT_OFFSET":return{kind:"AD_PLACEMENT_KIND_MILLISECONDS"};case "SLOT_TRIGGER_EVENT_AFTER_CONTENT":return{kind:"AD_PLACEMENT_KIND_END"};case "SLOT_TRIGGER_EVENT_CONTENT_PAUSED":return{kind:"AD_PLACEMENT_KIND_PAUSE"};default:return{kind:"AD_PLACEMENT_KIND_UNKNOWN"}}}; +LN=function(N){this.value=N}; +Pyl=function(N){var H=N.getVideoData(),c=N.wr(),t=c.N4(),h=N.D(),O=N.Z4(),F=O.C_*8/1024,M=O.Vy/1024,f=O.K_,d=O.XK,W=O.playerState.state.toString(16),z=c.getCurrentTime().toFixed(2),E=Eo(c.Z6(),",",3),x="";if(H.isDaiEnabled()){H.enableServerStitchedDai&&(x+=H.CD?"DS":"SS");x=H.vH()?x+"LIFA, ":x+"DAI, ";var q=O.O5;q&&(x+=q)}AG(H)&&!H.vH()&&(x+="LIFAE, ");AC(H)&&(x+="SABR, ");if(H.fetchType){switch(H.fetchType){case "onesie":q="o";break;case "gp":q="gp";break;default:q="gvi"}x+="vd:"+q+", "}(h=h.KO)&& +(x=h.T?x+"wa, ":x+"w, ");x+="s:"+W+" t:"+z+" b:"+E+" ";c.isSeeking()&&(x+="S");c.isPaused()&&(x+="P");c.isEnded()&&(x+="E");N.isOrchestrationLeader()&&(x+=" L");(c=O.St)&&(x+=" l:"+c.toFixed());c=O.currentTime;W=H.xa;c&&c>W.start&&c>=5;r+=n}h=r.substr(0,4)+" "+r.substr(4,4)+" "+r.substr(8,4)+" "+(r.substr(12,4)+" "+r.substr(16,4))}else h="";F={video_id_and_cpn:String(H.videoId)+" / "+h,codecs:"",dims_and_frames:"",bandwidth_kbps:F.toFixed(0)+" Kbps",buffer_health_seconds:f.toFixed(2)+ +" s",date:""+(new Date).toString(),drm_style:d?"":"display:none",drm:d,debug_info:c,extra_debug_info:"",bandwidth_style:E,network_activity_style:E,network_activity_bytes:M.toFixed(0)+" KB",shader_info:z,shader_info_style:z?"":"display:none",playback_categories:""};M=t.clientWidth+"x"+t.clientHeight+(W>1?"*"+W.toFixed(2):"");f="-";O.totalVideoFrames&&(f=(O.droppedVideoFrames||0)+" dropped of "+O.totalVideoFrames);F.dims_and_frames=M+" / "+f;N=N.getVolume();M=LBh(H);var U;if((U=H.U)==null?0:U.audio.B)U= +"VB";else{var X;U=((X=H.U)==null?0:X.audio.T)?"DRC":Math.round(N*M)+"%"}X=Math.round(N)+"% / "+U;U=H.XQ.toFixed(1);isFinite(Number(U))&&(X+=" (content loudness "+U+"dB)");F.volume=X;F.resolution=t.videoWidth+"x"+t.videoHeight;if(t=H.B){if(X=t.video)U=X.fps,U>1&&(F.resolution+="@"+U),(U=O.EW)&&U.video&&(F.resolution+=" / "+U.video.width+"x"+U.video.height,U.video.fps>1&&(F.resolution+="@"+U.video.fps)),F.codecs=IKy(t),!H.U||t.audio&&t.video?t.R1&&(F.codecs+=" / "+t.R1+"A"):F.codecs+=" / "+IKy(H.U), +X.T||X.primaries?(U=X.T||"unknown",U==="smpte2084"?U+=" (PQ)":U==="arib-std-b67"&&(U+=" (HLG)"),F.color=U+" / "+(X.primaries||"unknown"),F.color_style=""):F.color_style="display:none";if(t.debugInfo)for(F.fmt_debug_info="",t=g.K(t.debugInfo),X=t.next();!X.done;X=t.next())X=X.value,F.fmt_debug_info+=X.label+":"+X.text+" ";F.fmt_debug_info_style=F.fmt_debug_info&&F.fmt_debug_info.length>0?"":"display:none"}t=H.isLivePlayback;X=H.K6;F.live_mode_style=t||X?"":"display:none";F.live_latency_style=t?"": +"display:none";if(X)F.live_mode="Post-Live"+(WK(H)?" Manifestless":"");else if(t){X=O.eZ;F.live_latency_secs=X.toFixed(2)+"s";t=WK(H)?"Manifestless, ":"";H.j$&&(t+="Windowed, ");U="Uncertain";if(X>=0&&X<120)if(H.latencyClass&&H.latencyClass!=="UNKNOWN")switch(H.latencyClass){case "NORMAL":U="Optimized for Normal Latency";break;case "LOW":U="Optimized for Low Latency";break;case "ULTRALOW":U="Optimized for Ultra Low Latency";break;default:U="Unknown Latency Setting"}else U=H.isLowLatencyLiveStream? +"Optimized for Low Latency":"Optimized for Smooth Streaming";t+=U;(X=O.KX)&&(t+=", seq "+X.sequence);F.live_mode=t}!O.isGapless||Vz(H)&&O.SP||(F.playback_categories+="Gapless ");F.playback_categories_style=F.playback_categories?"":"display:none";F.bandwidth_samples=O.OQ;F.network_activity_samples=O.rf;F.live_latency_samples=O.zc;F.buffer_health_samples=O.aM;O=g.Da(H);if(H.cotn||O)F.cotn_and_local_media=(H.cotn?H.cotn:"null")+" / "+O;F.cotn_and_local_media_style=F.cotn_and_local_media?"":"display:none"; +xk(H,"web_player_release_debug")?(F.release_name=T[34],F.release_style=""):F.release_style="display:none";F.debug_info&&x.length>0&&F.debug_info.length+x.length<=60?F.debug_info+=" "+x:F.extra_debug_info=x;F.extra_debug_info_style=F.extra_debug_info&&F.extra_debug_info.length>0?"":"display:none";return F}; +X1f=function(N){g.L.call(this);this.counter=[0,0,0,0];this.B=new Uint8Array(16);this.T=16;if(!Uof){var H,c=new Uint8Array(256),t=new Uint8Array(256);var h=1;for(H=0;H<256;H++)c[h]=H,t[H]=h,h^=h<<1^(h>>7&&283);AT=new Uint8Array(256);VA=Jd(256);LI=Jd(256);ZZ=Jd(256);YH=Jd(256);for(var O=0;O<256;O++){h=O?t[255^c[O]]:0;h^=h<<1^h<<2^h<<3^h<<4;h=h&255^h>>>8^99;AT[O]=h;H=h<<1^(h>>7&&283);var F=H^h;VA[O]=H<<24|h<<16|h<<8|F;LI[O]=F<<24|VA[O]>>>8;ZZ[O]=h<<24|LI[O]>>>8;YH[O]=h<<24|ZZ[O]>>>8}Uof=!0}h=Jd(44); +for(c=0;c<4;c++)h[c]=N[4*c]<<24|N[4*c+1]<<16|N[4*c+2]<<8|N[4*c+3];for(t=1;c<44;c++)N=h[c-1],c%4||(N=(AT[N>>16&255]^t)<<24|AT[N>>8&255]<<16|AT[N&255]<<8|AT[N>>>24],t=t<<1^(t>>7&&283)),h[c]=h[c-4]^N;this.key=h}; +n_=function(N){return N===void 0||N.startSec===void 0||N.endSec===void 0?!1:!0}; +SJ=function(){}; +dl=function(N,H,c,t){return R6(N,H,z8(c),"",t)}; +mlf=function(N){switch(N){case "equirectangular":return"EQUIRECTANGULAR";case "equirectangular_threed_top_bottom":return"EQUIRECTANGULAR_THREED_TOP_BOTTOM";case "mesh":return"MESH";case "rectangular":return"RECTANGULAR";default:return"UNKNOWN"}}; +g.D6=function(){var N=SO();return N?Promise.resolve(N):gCS().then(function(H){(H=H?kwv:void 0)&&g.Hw("ytglobal.idbToken_",H);return H})}; +PN=function(N,H){var c=H||N.aW,t=N.T.Vd({cpn:c});if(t){H=t.videoData;var h,O;c=t.w7||((O=(h=N.B.get(c))==null?void 0:h.start)!=null?O:0)/1E3;N=N.playback.getCurrentTime()-c;H.kG=N>0?N:0}else N.hI().videoData.kG=N.playback.getCurrentTime()}; +u2L=function(N,H){a:{N=N.SW;var c,t=(c=g.P(H,YsZ))==null?void 0:c.signal;if(t&&N.wC&&(c=N.wC[t])){var h=c();break a}var O;if((c=(O=g.P(H,AIZ))==null?void 0:O.request)&&N.WK&&(O=N.WK[c])){h=O();break a}for(h in H)if(N.MK[h]&&(H=N.MK[h])){h=H();break a}h=void 0}if(h!==void 0)return Promise.resolve(h)}; +vbS=function(N){var H,c=N.videoData.getAvailableAudioTracks(),t=N.j.w_;if(N.Zp().T.G0(VYw)&&N.videoData.cotn)return H=c.find(function(O){return!!O.Y}); +t&&(H=c.find(function(O){return O.getLanguageInfo().id===t})); +if(N.j.experiments.M4("enable_audio_description_setting")&&g.GU().G0(198)){c=g.K(c);for(var h=c.next();!h.done;h=c.next())if(h=h.value,h.S){H=h;break}}H||(N=N.getAudioTrack(),H=N.X3.isDefault?void 0:N);return H}; +PtD=function(N){N=N===void 0?null:N;return N!=null&&(N=N.thumbnail,N!=null&&N.thumbnails!=null&&N.thumbnails.length!=0&&N.thumbnails[0].url!=null)?g.vM(N.thumbnails[0].url):""}; +Ldw=function(N,H){fe.call(this,N,H)}; +sP=function(N,H,c,t,h){g.L.call(this);var O=this;this.B=N;this.L=H;this.kO=c;this.context=h;this.T=new Map;t.get().addListener(this);this.addOnDisposeCallback(function(){t.uo()||t.get().removeListener(O)})}; +ZS3=function(N){var H,c=(H=N.api.getVideoData())==null?void 0:H.vH();return N.api.getPresentingPlayerType(c)!==2}; +QNl=function(N,H){var c;((c=N.S.get(H))!=null?c:[]).forEach(function(t){N.T===0&&N.UI.VZ("transitiondetector",t);if(N.T===1){var h=N.L,O;(O=h.T.get(t))==null||O.delay.dispose();h.T.delete(t)}}); +N.S.delete(H)}; +YVD=function(N,H){N.tN("ismp_p");N.B=H}; +vH3=function(N){this.itag=N.itag;this.url=N.url;this.codecs=N.codecs;this.width=N.width;this.height=N.height;this.fps=N.fps;this.bitrate=N.bitrate;var H;this.B=((H=N.audioItag)==null?void 0:H.split(","))||[];this.yq=N.yq;this.YH=N.YH||"";this.X3=N.X3;this.audioChannels=N.audioChannels;this.T=""}; +jIR=function(N,H){var c=g.KX(N),t=N.D(),h=t.S;t=t.N("html5_shorts_onesie_mismatched_fix");var O=N.Tu();if(t){if(!h.B){if(O&&U6)return U6;if(Xk)return Xk}}else if(Xk&&!h.B)return Xk;var F=[],M=[],f={},d=VS.concat(AjZ);t&&(d=VS.concat(aQD));N.N("html5_early_media_for_drm")&&(d=d.concat(eSR),N.N("allow_vp9_1080p_mq_enc")&&d.push(vEe));var W=[].concat(g.HE(sVL));N.N("html5_iamf_audio_onesie_fmt")&&W.push(["773"]);d=g.K(d);for(var z=d.next();!z.done;z=d.next()){var E=!1;z=g.K(z.value);for(var x=z.next();!x.done;x= +z.next()){x=x.value;var q=gf(x,O&&t);if(q&&q.video&&!(nK(q)&&!c.Ix&&q.video.qualityOrdinal>c.CF)){var r=g.Mx(N.D().experiments,"html5_drm_byterate_soft_cap");r>0&&W6s(q)&&q.OF>r||(E?(F.push(x),Xrl(x,F,N)):(q=Ti(c,q,h),q===!0?(E=!0,F.push(x),Xrl(x,F,N)):f[x]=q))}}}W=g.K(W);for(d=W.next();!d.done;d=W.next())for(d=g.K(d.value),E=d.next();!E.done;E=d.next())if(E=E.value,(z=EBl(E))&&z.audio&&(N.N("html5_onesie_51_audio")||!WM(z)&&!zm(z)))if(z=Ti(c,z,h),z===!0){M.push(E);Xrl(E,M,N);break}else f[E]=z;if(!N.N("html5_enable_audio_quality_setting"))for(N= +g.K(["141","774"]),W=N.next();!W.done;W=N.next())W=W.value,M.includes(W)&&(g.JC(M,W),f[W]="blkhqa");c.T&&H("orfmts",f);if(t)return h.B&&(h.B=!1,U6=Xk=void 0),O?U6={video:F,audio:M}:Xk={video:F,audio:M};Xk={video:F,audio:M};h.B=!1;return Xk}; +L_=function(N,H,c,t){var h=N.U.Gv();h.ssr_sk=(H*1E3).toFixed(0);h.ssr_t=(N.T*1E3).toFixed(0);h.ssr_r=c;h.ssr_st=(N.startTimeSecs*1E3).toFixed(0);h.ssr_n=(0,g.Lh)().toFixed(0);h.ssr_f=(N.C.T*1E3).toFixed(0);h.ssr_fa=N.L?"1":"0";h.ssr_o=(N.sC.sI()*1E3||0).toFixed(0);h.ssr_v=(t*1E3).toFixed(0);H=N.B.mR.index;H.rA(N.B.Y_,!0)&&(h.ssr_ist=(H.getStartTime(N.B.Y_)*1E3).toFixed(0),h.ssr_id=(H.getDuration(N.B.Y_)*1E3).toFixed(0));N.loader.Lq("ssr",h)}; +Sj=function(N,H){var c=this;this.qT=N;this.requestNumber=++BCd;this.T=this.now();this.Z=this.TW=NaN;this.C=this.T;this.L=this.Uu=this.S=0;this.Y=this.T;this.Al=this.Us=this.Cq=this.T3=this.S_=this.NT=this.B=this.U=0;this.Bp=this.isActive=!1;this.kG=this.UF=0;this.Br={KrW:function(){return c.MF}}; +this.YG=H.YG;this.snapshot=mD(this.YG);this.policy=this.YG.B;this.YS=!!H.YS;this.xe=H.xe;this.EG=H.EG||0;this.ul=H.ul||0;H.WB&&(this.Ix=new qW);var t;this.MF=(t=H.MF)!=null?t:!1;this.YS||yjR(this.YG)}; +yyw=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x,q){t=lS(t,"SLOT_TYPE_PLAYER_BYTES");N=LpR(h,N,F,c,t,f,d);if(N instanceof S)return N;var r;d=(r=lQ(N.clientMetadata,"metadata_type_fulfilled_layout"))==null?void 0:r.layoutId;if(!d)return new S("Invalid adNotify layout");H=d03(d,h,O,c,M,H,f,W,z,E,x,q,F);return H instanceof S?H:[N].concat(g.HE(H))}; +E0e=function(N,H){var c=GqZ(N.videoTrack).find(function(t){return t.startTime>=H&&w3f(N,t.startTime,!1)}); +return c&&c.startTime0&&N.Y--)}; +g.kqZ=function(N){N=(N=N.getVideoData())&&N.B;return!!N&&!(!N.audio||!N.video)&&N.mimeType!=="application/x-mpegURL"}; +g.Kv=function(N,H,c){return xLs(N,c||qJ,!1,H)}; +gis=function(N,H){H<100||n4(IQd,1)}; +uL=function(N){var H;return((H=N.audio)==null?void 0:H.T)===!0}; +Gq=function(N,H,c,t,h){this.loader=N;this.GW=H;this.videoTrack=c;this.audioTrack=t;this.policy=h;this.seekCount=this.targetTime=0;this.U=!1;this.L=null;this.B=0;this.T=this.GW.isManifestless&&!this.GW.K6}; +bSD=function(N){var H=Ad(N);N=Ad(N);return F0(H,N)}; +dq=function(N,H,c,t,h,O,F,M){this.T=N;this.C=H;this.L=c;this.S=t;this.U=h;this.Y=O;this.B=F;this.Z=M}; +NZS=function(){this.T=[];this.B=[]}; +Flw=function(N){var H,c;g.Y(function(t){if(t.T==1)return H1(N,"swpo_i"),rU(N),N2(N),g.a(t,$J(),2);if(t.T!=3)return H=t.B,H1(N,"swpo_co"),g.a(t,H_h(H),3);c=t.B;N.N("html5_web_po_token_disable_caching")||c.SM(150);N.B=c;H1(N,"swpo_cc");RSl(c.qK()).then(function(){N.T=!0;N.S.resolve();H1(N,"swpo_re")}); +g.Zh(function(){m7(N);H1(N,"swpo_si")},0); +g.Z3(t)})}; +WKv=function(N,H,c){if(N.B.length!==0&&(c||N.B.some(function(O){return O.info.U24&&window.matchMedia("(color-gamut: p3)").matches)))return"dhdr";if(t==="338"&&!(g.Pc?uH(53):g.dL&&uH(64)))return"dopus";var O=c;O=O===void 0?1: +O;c={};H.video&&(H.video.width&&(c[o4.WIDTH.name]=H.video.width),H.video.height&&(c[o4.HEIGHT.name]=H.video.height),H.video.fps&&(c[o4.FRAMERATE.name]=H.video.fps*O),H.video.T&&(c[o4.EOTF.name]=H.video.T),H.OF&&(c[o4.BITRATE.name]=H.OF*8*O),H.T0==="("&&(c[o4.CRYPTOBLOCKFORMAT.name]="subsample"),H.video.projectionType==="EQUIRECTANGULAR"||H.video.projectionType==="EQUIRECTANGULAR_THREED_TOP_BOTTOM"||H.video.projectionType==="MESH")&&(c[o4.DECODETOTEXTURE.name]="true");var F;((F=H.audio)==null?0:F.numChannels)&& +H.T0!=="i"&&H.T0!=="I"&&(c[o4.CHANNELS.name]=H.audio.numChannels);N.L&&LB(H)&&(c[o4.EXPERIMENTAL.name]="allowed");F=g.K(Object.keys(o4));for(O=F.next();!O.done;O=F.next()){O=o4[O.value];var M;if(M=c[O.name])if(M=!(O===o4.EOTF&&H.mimeType.indexOf("vp09.02")>0)){M=O;var f=H;M=!(N.experiments.M4("html5_ignore_h264_framerate_cap")&&M===o4.FRAMERATE&&sjD(f))}if(M)if(k_(N,O))if(N.Y){if(N.Y[O.name]1080&&H.YH&&(h+="; hdcp=2.2");return t==="227"?"hqcenc":t!=="585"&&t!=="588"&&t!=="583"&&t!=="586"&&t!=="584"&&t!=="587"&&t!=="591"&&t!=="592"||N.experiments.M4("html5_enable_new_hvc_enc")?S3()&&bc()>=21&&g.$b("appletv5")&&(t==="410"||t==="845")?!0:N.isTypeSupported(h)?!0:"tpus":"newhvc"}; +WGS=function(){return{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M20 20C20.26 20 20.51 19.89 20.70 19.70C20.89 19.51 21 19.26 21 19V5C21 4.73 20.89 4.48 20.70 4.29C20.51 4.10 20.26 4 20 4C19.73 4 19.48 4.10 19.29 4.29C19.10 4.48 19 4.73 19 5V19C19 19.26 19.10 19.51 19.29 19.70C19.48 19.89 19.73 20 20 20ZM5.04 19.77L18 12L5.04 4.22C4.84 4.10 4.60 4.03 4.36 4.03C4.12 4.03 3.89 4.09 3.68 4.21C3.47 4.32 3.30 4.49 3.18 4.70C3.06 4.91 2.99 5.14 3 5.38V18.61C2.99 18.85 3.06 19.08 3.18 19.29C3.30 19.50 3.47 19.67 3.68 19.79C3.89 19.90 4.12 19.96 4.36 19.96C4.60 19.96 4.84 19.89 5.04 19.77Z", +fill:"white"}}]}}; +cdw=function(N){N.created!==N.loaded&&KA("Created and loaded are out of sync")}; +g.Ym=function(N){var H=[],c=0,t;for(t in N)H[c++]=t;return H}; +tJD=function(N){return N===-0x8000000000000?"BEFORE_MEDIA_START":N===0?"MEDIA_START":N===0x7ffffffffffff?"MEDIA_END":N===0x8000000000000?"AFTER_MEDIA_END":N.toString()}; +hit=function(N){g.Lu(xMh)("action_finished",N,void 0)}; +WK=function(N){return!(!N.T||!N.T.isManifestless)}; +aF=function(N,H){N=Error.call(this,N);this.message=N.message;"stack"in N&&(this.stack=N.stack);this.T=H===void 0?!1:H}; +gNt=function(N,H,c,t){t=t===void 0?0:t;var h=g.gi(t);H=H||g.kV(t);h&&H&&(N=N.client,t=wD({cttAuthInfo:DK(h)||void 0},h),c={csn:h,ve:H.getAsJson(),clientData:c},h==="UNDEFINED_CSN"?QW("visualElementStateChanged",t,c):N?px("visualElementStateChanged",c,N,t):g.uF("visualElementStateChanged",c,t))}; +Gf=function(N){return(N==null?void 0:N.layoutId)!=null&&(N==null?void 0:N.layoutType)!=null}; +sH=function(N){var H=new O_t,c;H.L=((c=bkS(N).cc)==null?void 0:c.toString())||"-";H.playbackRate=N.wE.getPlaybackRate();c=N.wE.getVisibilityState();c!==0&&(H.visibilityState=c);N.j.Al&&(H.B=1);H.U=N.videoData.W0;H.compositeLiveStatusToken=N.videoData.compositeLiveStatusToken;H.heartbeatLoggingToken=N.videoData.heartbeatLoggingToken;c=N.wE.getAudioTrack();c.X3&&c.X3.id&&c.X3.id!=="und"&&(H.audioId=c.X3.id);H.connectionType=POs(N);H.volume=N.wE.getVolume();H.muted=N.wE.isMuted();H.clipId=N.wE.pH()|| +"-";H.T=N.videoData.Vo||"-";return H}; +Fb3=function(N){var H=N.layoutId,c=N.vG;if(N.gA){var t={};r0(N.MP,"slse",(t.ec=H,t.is=c,t.ctp=w0(H),t))}}; +$IZ=function(N,H){N=N===void 0?{}:N;switch(H.type){case "ENTITY_LOADED":return H.payload.reduce(function(t,h){var O,F=(O=h.options)==null?void 0:O.persistenceOption;if(F&&F!=="ENTITY_PERSISTENCE_OPTION_UNKNOWN"&&F!=="ENTITY_PERSISTENCE_OPTION_INMEMORY_AND_PERSIST")return t;if(!h.entityKey)return g.BZ(Error("Missing entity key")),t;if(h.type==="ENTITY_MUTATION_TYPE_REPLACE"){if(!h.payload)return h=new g.ti("REPLACE entity mutation is missing a payload",{entityKey:h.entityKey}),g.BZ(h),t;var M=g.ac(h.payload); +return J_(t,M,h.entityKey,h.payload[M])}if(h.type==="ENTITY_MUTATION_TYPE_DELETE"){a:{h=h.entityKey;try{var f=g.bF(h).entityType;M=J_(t,f,h);break a}catch(z){if(z instanceof Error){h=new g.ti("Failed to deserialize entity key",{entityKey:h,originalMessage:z.message});g.BZ(h);M=t;break a}throw z;}M=void 0}return M}if(h.type==="ENTITY_MUTATION_TYPE_UPDATE"){if(!h.payload)return h=new g.ti("UPDATE entity mutation is missing a payload",{entityKey:h.entityKey}),g.BZ(h),t;M=g.ac(h.payload);var d,W;return xCw(t, +M,h.entityKey,h.payload[M],(d=h.fieldMask)==null?void 0:(W=d.mergeOptions)==null?void 0:W.repeatedFieldsMergeOption)}return t},N); +case "REPLACE_ENTITY":var c=H.payload;return J_(N,c.entityType,c.key,c.ED);case "REPLACE_ENTITIES":return Object.keys(H.payload).reduce(function(t,h){var O=H.payload[h];return Object.keys(O).reduce(function(F,M){return J_(F,h,M,O[M])},t)},N); +case "UPDATE_ENTITY":return c=H.payload,xCw(N,c.entityType,c.key,c.ED,c.X1T);default:return N}}; +eJ=function(N,H,c,t,h,O){sE.call(this,N,{W:"div",K:"ytp-ad-player-overlay",X:[{W:"div",K:"ytp-ad-player-overlay-flyout-cta"},{W:"div",K:"ytp-ad-player-overlay-instream-info"},{W:"div",K:"ytp-ad-player-overlay-skip-or-preview"},{W:"div",K:"ytp-ad-player-overlay-progress-bar"},{W:"div",K:"ytp-ad-player-overlay-instream-user-sentiment"},{W:"div",K:"ytp-ad-player-overlay-ad-disclosure-banner"}]},"player-overlay",H,c,t);this.Z=O;this.S=this.Sa("ytp-ad-player-overlay-flyout-cta");this.S.classList.add("ytp-ad-player-overlay-flyout-cta-rounded"); +this.T=this.Sa("ytp-ad-player-overlay-instream-info");this.U=null;yTy(this)&&(N=sa("div"),g.bV(N,"ytp-ad-player-overlay-top-bar-gradients"),H=this.T,H.parentNode&&H.parentNode.insertBefore(N,H),(H=this.api.getVideoData(2))&&H.isListed&&H.title&&(c=new TK(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),c.Jl(N),c.init(Gx("ad-title"),{text:H.title},this.macros),g.l(this,c)),this.U=N);this.L=null;this.Kq=this.Sa("ytp-ad-player-overlay-skip-or-preview");this.gE=this.Sa("ytp-ad-player-overlay-progress-bar"); +this.Ix=this.Sa("ytp-ad-player-overlay-instream-user-sentiment");this.Us=this.Sa("ytp-ad-player-overlay-ad-disclosure-banner");this.B=h;g.l(this,this.B);this.hide()}; +QK=function(){var N;return(N=g.pB("yt-player-performance-cap-active-set"))!=null?N:[]}; +FR=function(N){this.B=N=N===void 0?TZR:N;this.T=g.jm(this.B,function(){return new M7})}; +v0d=function(N){var H=He(N);return H&&H.text?g.Fu(H.text):N.paidContentOverlayText}; +MJf=function(N,H){var c=g.gq.getState().entities;N=jcS(c,N);H=g.K(H.Cq);for(var t=H.next();!t.done;t=H.next())if(N===jcS(c,t.value))return!0;return!1}; +g.fmw=function(){return{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,V:{d:"m 23.94,18.78 c .03,-0.25 .05,-0.51 .05,-0.78 0,-0.27 -0.02,-0.52 -0.05,-0.78 l 1.68,-1.32 c .15,-0.12 .19,-0.33 .09,-0.51 l -1.6,-2.76 c -0.09,-0.17 -0.31,-0.24 -0.48,-0.17 l -1.99,.8 c -0.41,-0.32 -0.86,-0.58 -1.35,-0.78 l -0.30,-2.12 c -0.02,-0.19 -0.19,-0.33 -0.39,-0.33 l -3.2,0 c -0.2,0 -0.36,.14 -0.39,.33 l -0.30,2.12 c -0.48,.2 -0.93,.47 -1.35,.78 l -1.99,-0.8 c -0.18,-0.07 -0.39,0 -0.48,.17 l -1.6,2.76 c -0.10,.17 -0.05,.39 .09,.51 l 1.68,1.32 c -0.03,.25 -0.05,.52 -0.05,.78 0,.26 .02,.52 .05,.78 l -1.68,1.32 c -0.15,.12 -0.19,.33 -0.09,.51 l 1.6,2.76 c .09,.17 .31,.24 .48,.17 l 1.99,-0.8 c .41,.32 .86,.58 1.35,.78 l .30,2.12 c .02,.19 .19,.33 .39,.33 l 3.2,0 c .2,0 .36,-0.14 .39,-0.33 l .30,-2.12 c .48,-0.2 .93,-0.47 1.35,-0.78 l 1.99,.8 c .18,.07 .39,0 .48,-0.17 l 1.6,-2.76 c .09,-0.17 .05,-0.39 -0.09,-0.51 l -1.68,-1.32 0,0 z m -5.94,2.01 c -1.54,0 -2.8,-1.25 -2.8,-2.8 0,-1.54 1.25,-2.8 2.8,-2.8 1.54,0 2.8,1.25 2.8,2.8 0,1.54 -1.25,2.8 -2.8,2.8 l 0,0 z", +fill:"#fff"}}]}}; +g.yo=function(N,H,c,t,h,O,F,M,f,d,W,z){N=N.charAt(0)+N.substring(1).toLowerCase();c=c.charAt(0)+c.substring(1).toLowerCase();if(H==="0"||H==="-1")H=null;if(t==="0"||t==="-1")t=null;var E=W.D(),x=E.userDisplayName&&g.bi(E);g.e.call(this,{W:"div",fq:["ytp-button","ytp-sb"],X:[{W:"div",K:"ytp-sb-subscribe",V:x?{title:W.D().N("player_tooltip_data_title_killswitch")?g.Df("Subscribe as $USER_NAME",{USER_NAME:E.userDisplayName}):"","data-tooltip-title":g.Df("Subscribe as $USER_NAME",{USER_NAME:E.userDisplayName}), +"aria-label":"Subscribe to channel","data-tooltip-image":S_(E),"data-tooltip-opaque":String(g.PX(E)),tabindex:"0",role:"button"}:{"aria-label":"Subscribe to channel"},X:[{W:"div",K:"ytp-sb-text",X:[{W:"div",K:"ytp-sb-icon"},N]},H?{W:"div",K:"ytp-sb-count",Wp:H}:""]},{W:"div",K:"ytp-sb-unsubscribe",V:x?{title:W.N("player_tooltip_data_title_killswitch")?g.Df("Subscribed as $USER_NAME",{USER_NAME:E.userDisplayName}):"","data-tooltip-title":g.Df("Subscribed as $USER_NAME",{USER_NAME:E.userDisplayName}), +"aria-label":"Unsubscribe to channel","data-tooltip-image":S_(E),"data-tooltip-opaque":String(g.PX(E)),tabindex:"0",role:"button"}:{"aria-label":"Unsubscribe to channel"},X:[{W:"div",K:"ytp-sb-text",X:[{W:"div",K:"ytp-sb-icon"},c]},t?{W:"div",K:"ytp-sb-count",Wp:t}:""]}],V:{"aria-live":"polite"}});var q=this;this.channelId=F;this.J=W;this.L=z;var r=this.Sa("ytp-sb-subscribe"),w=this.Sa("ytp-sb-unsubscribe");O&&g.bV(this.element,"ytp-sb-classic");if(h){M?this.T():this.B();var n=function(){if(E.NT){var U= +q.channelId;if(f||d){var X={c:U};var A;g.jv.isInitialized()&&(A=toL(X));X=A||"";if(A=W.getVideoData())if(A=A.subscribeCommand){var R=W.h9();R?(KF(R,A,{botguardResponse:X,feature:f}),W.QS("SUBSCRIBE",U)):g.BZ(Error("No innertube service available when updating subscriptions."))}else g.BZ(Error("No subscribe command in videoData."));else g.BZ(Error("No video data available when updating subscription."))}w.focus();w.removeAttribute("aria-hidden");r.setAttribute("aria-hidden","true")}else RI(g.gx(q.J.D()), +"sb_button",q.U)},p=function(){var U=q.channelId; +if(f||d){var X=W.getVideoData();KF(W.h9(),X.unsubscribeCommand,{feature:f});W.QS("UNSUBSCRIBE",U)}r.focus();r.removeAttribute("aria-hidden");w.setAttribute("aria-hidden","true")}; +this.G(r,"click",n);this.G(w,"click",p);this.G(r,"keypress",function(U){U.keyCode===13&&n(U)}); +this.G(w,"keypress",function(U){U.keyCode===13&&p(U)}); +this.G(W,"SUBSCRIBE",this.T);this.G(W,"UNSUBSCRIBE",this.B);this.L&&x&&(NFh(W),XW(W,r,this),XW(W,w,this))}else g.bV(r,"ytp-sb-disabled"),g.bV(w,"ytp-sb-disabled")}; +Yhf=function(N){return N.linearAds!=null&&Gf(N.adLayoutMetadata)}; +Sie=function(N){return N.startsWith("//")?"https:"+N:N}; +dIw=function(N,H){return Math.max(0,N.L4[0].U-H)}; +g.HrR=function(N,H,c){var t=c.S,h=[],O=[],F=c.N("html5_shorts_onesie_mismatched_fix");N=N.Tu();var M=VS.concat(AjZ);F&&(M=VS.concat(aQD));c.N("html5_early_media_for_drm")&&(M=M.concat(eSR),c.N("allow_vp9_1080p_mq_enc")&&M.push(vEe));var f=[].concat(g.HE(sVL));c.N("html5_iamf_audio_onesie_fmt")&&f.push(["773"]);M=g.K(M);for(var d=M.next();!d.done;d=M.next()){d=g.K(d.value);for(var W=d.next();!W.done;W=d.next()){W=W.value;var z=gf(W,N&&F);if(z&&z.video){var E=g.Mx(c.experiments,"html5_drm_byterate_soft_cap"); +if(!(E>0&&W6s(z)&&z.OF>E)&&Ti(H,z,t)===!0){h.push({videoCodec:t$3[gQ[W]],maxWidth:z.video.width,maxHeight:z.video.height,maxFramerate:z.video.fps});break}}}}F=g.K(f);for(N=F.next();!N.done;N=F.next())for(N=g.K(N.value),f=N.next();!f.done;f=N.next())if(f=f.value,(M=EBl(f))&&M.audio&&(c.N("html5_onesie_51_audio")||!WM(M)&&!zm(M))&&Ti(H,M,t)===!0){O.push({audioCodec:irh[gQ[f]],numChannels:M.audio.numChannels});break}return{videoFormatCapabilities:h,audioFormatCapabilities:O}}; +CPv=function(N,H){return g.Iy(N.api.D())&&Md(H)&&X8(H)?g.py(N.api.D(),g.JO(N.api.getVideoData())).then(function(c){var t;c&&(t={Authorization:"Bearer "+c});return t},void 0):H2()}; +g.jo=function(N){this.config_=null;N?this.config_=N:GuL()&&(this.config_=g.pR())}; +vN=function(){}; +e6f=function(N){return Array.isArray(N)?N[0]instanceof yZ?N:[WbZ,N]:[N,void 0]}; +o3=function(N,H,c){if(H=$fS(H)){H=g.K(H);for(var t=H.next();!t.done;t=H.next())if((t=t.value)&&t.externalVideoId){var h=Cg(N,t.externalVideoId);h.instreamVideoAdRenderer||(h.instreamVideoAdRenderer=t,h.a8=c)}else KA("InstreamVideoAdRenderer without externalVideoId")}}; +Rp=function(N,H){return H>N.mediaTime+N.S&&H0&&h=56;x--)O[x]=E&255,E>>>=8;t(O);for(x=E=0;x<5;x++)for(var q=24;q>=0;q-=8)z[E++]=h[x]>>q&255;return z} +function t(z){for(var E=F,x=0;x<64;x+=4)E[x/4]=z[x]<<24|z[x+1]<<16|z[x+2]<<8|z[x+3];for(x=16;x<80;x++)z=E[x-3]^E[x-8]^E[x-14]^E[x-16],E[x]=(z<<1|z>>>31)&4294967295;z=h[0];var q=h[1],r=h[2],w=h[3],n=h[4];for(x=0;x<80;x++){if(x<40)if(x<20){var p=w^q&(r^w);var U=1518500249}else p=q^r^w,U=1859775393;else x<60?(p=q&r|w&(q|r),U=2400959708):(p=q^r^w,U=3395469782);p=((z<<5|z>>>27)&4294967295)+p+n+U+E[x]&4294967295;n=w;w=r;r=(q<<30|q>>>2)&4294967295;q=z;z=p}h[0]=h[0]+z&4294967295;h[1]=h[1]+q&4294967295;h[2]= +h[2]+r&4294967295;h[3]=h[3]+w&4294967295;h[4]=h[4]+n&4294967295} +for(var h=[],O=[],F=[],M=[128],f=1;f<64;++f)M[f]=0;var d,W;H();return{reset:H,update:N,digest:c,s8:function(){for(var z=c(),E="",x=0;x=1E3?h():t>=N?S6h||(S6h=PGw(function(){h();S6h=void 0},0)):O-M>=10&&(UIL(H,c.tier),F.U=O)}; +XNS=function(N,H){this.callback=N;this.slot=H}; +cw=function(N){this.C=N;this.T=null;this.U=0;this.Y=null;this.S=0;this.B=[];for(N=0;N<4;N++)this.B.push(0);this.L=0;this.Us=g.bj(window,"mousemove",(0,g.tv)(this.TW,this));this.Z=g.Re((0,g.tv)(this.Bp,this),25)}; +ip=function(N){var H;g.Vj()?vj()==N&&(H=document):H=N;return H&&(N=eE(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],H))?(H=N.call(H),H instanceof Promise?H:Promise.resolve()):Promise.resolve()}; +Lbv=function(N,H,c,t,h,O){var F=H.cpn,M=H.docid||H.video_id||H.videoId||H.id,f=N.T;O=O===void 0?h+t:O;if(h>O)return pA(N,"enterAfterReturn enterTimeMs="+h+" is greater than parentReturnTimeMs="+O.toFixed(3),F,M),"";var d=f.T7()*1E3;if(hd)return f="returnAfterDuration parentReturnTimeMs="+O.toFixed(3)+" is greater than parentDurationMs="+d+". And timestampOffset in seconds is "+ +f.HO(),pA(N,f,F,M),"";d=null;for(var W=g.K(N.B),z=W.next();!z.done;z=W.next()){z=z.value;if(h>=z.gs&&hz.gs)return pA(N,"overlappingReturn",F,M),"";if(O===z.gs)return pA(N,"outOfOrder",F,M),"";h===z.m9&&(d=z)}F="cs_childplayback_"+VJf++;M={VF:oI(t,!0),Km:Infinity,target:null};var E={vr:F,playerVars:H,playerType:c,durationMs:t,gs:h,m9:O,Nv:M};N.B=N.B.concat(E).sort(function(r,w){return r.gs-w.gs}); +d?iNw(N,d,{VF:oI(d.durationMs,!0),Km:d.Nv.Km,target:E}):(H={VF:oI(h,!1),Km:h,target:E},N.S.set(H.VF,H),f.addCueRange(H.VF));H=!0;if(N.T===N.app.x_()&&(f=f.getCurrentTime()*1E3,f>=E.gs&&f0?O=h.intersectionRatio:document.visibilityState==="hidden"?O=0:O=null:O=h.isVisible?h.intersectionRatio:0;O!=null&&(O=Math.max(O,0),O=Math.min(O, +1));c.T=O;typeof c.L==="function"&&c.L(c.T)},H):null)&&this.B.observe(N)}; +g.Adh=function(){var N,H,c;return g.Y(function(t){if(t.T==1){if(!g.sf("attmusi")||!g.sf("attmusi_ue"))return t.rE(2);N=window;return N.attmp===void 0?t.return(!1):g.a(t,w_Z(),3)}if(t.T!=2)return H=t.B,t.return(H.ir());var h=g.NA("yt.aba.att2");return(c=h?h:wT.instance!==void 0?wT.instance.U.bind(wT.instance):null)?t.return(c()):t.return(Promise.resolve(!1))})}; +Bqt=function(){try{var N=vQ($h);N.QY("removeEventListener","ready",Bqt);W0d(N)}catch(H){ov(541,H)}}; +g.JJd=function(N){for(;!N.U&&!N.error;){var H=N;H.U=!!uP(H,1);switch(uP(H,2)){case 2:var c=[],t=[];t.length=19;t.fill(0);var h=uP(H,5)+257;var O=uP(H,5)+1;for(var F=uP(H,4)+4,M=0;M0;f--)c.push(M)}c.length!==F?H.error=!0:(O=c.slice(-O),c.length=h,wAf(H,c,O));break;case 1:wAf(H,c6,eis);break;case 0:de(H, +H.T&7);c=uP(H,16);h=uP(H,16);(c^h)!==65535&&(H.error=!0);H.output.set(H.data.subarray(H.B,H.B+c),H.L);H.B+=c;H.L+=c;break;default:H.error=!0}N.L>N.output.length&&(N.output=new Uint8Array(N.L*2),N.L=0,N.B=0,N.U=!1,N.T=0,N.register=0)}N.output.length!==N.L&&(N.output=N.output.subarray(0,N.L));return N.error?new Uint8Array(0):N.output}; +Au=function(N,H){var c={Eu:[],rq:[]},t;if((N=N.C)==null)N=void 0;else{rId(N,N.Eu,"og");F33(N,H);rId(N,N.Eu,"trim");var h=vAR(N);H=h.Eu;h=h.mf;for(var O=[],F=0;F0){var E=O$(z,f);E>=0&&(W=(z.end(E)-f+.1)*1E3)}O.push({formatId:g.dv(M.info.mR.info,N.GW.K4), +hd:M.info.hd,sequenceNumber:M.info.Y_+N.U,tP:d,v7:M.info.B,SB:W})}N={Eu:H,rq:O}}return(t=N)!=null?t:c}; +scR=function(N){return{eA:IZ(N,1),items:lA(N,2,Lse),TZ:IZ(N,3)}}; +g.e=function(N){g.hH.call(this,N);this.I4=!0;this.TW=!1;this.listeners=[]}; +kY=function(N,H){if(!H)return N;var c=N.indexOf("#");c<0&&(c=N.length);var t=N.indexOf("?");if(t<0||t>c){t=c;var h=""}else h=N.substring(t+1,c);N=[N.slice(0,t),h,N.slice(c)];c=N[1];N[1]=H?c?c+"&"+H:H:c;return N[0]+(N[1]?"?"+N[1]:"")+N[2]}; +cr=function(N){var H=typeof N;return H!="object"?H:N?Array.isArray(N)?"array":H:"null"}; +fq=function(N,H,c,t,h){if(N==null)return"";H=H||"&";c=c||",$";typeof c==="string"&&(c=c.split(""));if(N instanceof Array){if(t||(t=0),t0&&Mh<=2.3;f=H?H.useNativeControls:N.use_native_controls; +this.C=g.PX(this)&&this.B;d=this.B&&!this.C;f=g.l6(this)||!M&&Nx(d,f)?"3":"1";this.disableOrganicUi=!(H==null||!H.disableOrganicUi);d=H?H.controlsType:N.controls;this.controlsType=this.disableOrganicUi||d==="0"||d===0?"0":f;this.Ze=this.B;this.color=ib("red",H?H.progressBarColor:N.color,ToS);this.oG=this.controlsType==="3";this.Dt=!this.U;this.xa=(f=!this.Dt&&!Hg(this)&&!this.Us&&!this.Y&&!nl(this))&&!this.oG&&this.controlsType==="1";this.bX=g.bi(this)&&f&&this.controlsType==="0"&&!this.xa&&!(H== +null?0:H.embedsEnableEmc3ds);this.DY=this.fn=M;this.T3=(this.controlsType==="3"||this.B||Nx(!1,N.use_media_volume))&&!this.C;this.Fb=P7&&!g.Oi(601)?!1:!0;this.w4=this.U||!1;this.TE=Hg(this)?"":(this.loaderUrl||N.post_message_origin||"").substring(0,128);this.widgetReferrer=OD("",H?H.widgetReferrer:N.widget_referrer);var W;H?H.disableCastApi&&(W=!1):W=N.enablecastapi;W=!this.Z||Nx(!0,W);M=!0;H&&H.disableMdxCast&&(M=!1);this.Bv=this.N("enable_cast_for_web_unplugged")&&g.G0(this)&&M||g.m8(this)&&M|| +W&&M&&this.controlsType==="1"&&!this.B&&(Hg(this)||g.bi(this)||g.SU(this));this.vM=!!window.document.pictureInPictureEnabled||o6();W=H?!!H.supportsAutoplayOverride:Nx(!1,N.autoplayoverride);this.KC=!(this.B&&!g.PX(this))&&!g.$b("nintendo wiiu")||W;this.iR=(H?!!H.enableMutedAutoplay:Nx(!1,N.mutedautoplay))&&!1;W=(Hg(this)||nl(this))&&this.playerStyle==="blazer";this.qz=H?!!H.disableFullscreen:!Nx(!0,N.fs);M=g.Hm(g.ZA(this))&&g.PX(this);this.UF=!this.qz&&(W||g.Vj())&&!M;this.SL=this.N("html5_picture_in_picture_logging_onresize"); +var z;this.kB=(z=g.Mx(this.experiments,"html5_picture_in_picture_logging_onresize_ratio"))!=null?z:.33;this.hQ=this.N("html5_picture_in_picture_blocking_onresize");this.W0=this.N("html5_picture_in_picture_blocking_ontimeupdate");this.jS=this.N("html5_picture_in_picture_blocking_document_fullscreen");this.Ol=this.N("html5_picture_in_picture_blocking_standard_api");z=VW()&&uH(58)&&!EA();W=bA||typeof MediaSource==="undefined";this.zn=this.N("uniplayer_block_pip")&&(z||W)||this.hQ||this.W0||this.Ol;z= +g.PX(this)&&!this.y5;var E;H?H.disableRelatedVideos!==void 0&&(E=!H.disableRelatedVideos):E=N.rel;this.mz=z||Nx(!this.Y,E);this.Vm=Nx(!1,H?H.enableContentOwnerRelatedVideos:N.co_rel);this.TW=EA()&&Mh>0&&Mh<=4.4?"_top":"_blank";this.kD=g.SU(this);this.vQ=Nx(this.playerStyle==="blazer",H?H.enableCsiLogging:N.enablecsi);switch(this.playerStyle){case "blogger":E="bl";break;case "discover-ads":E="dd";break;case "gmail":E="gm";break;case "gac":E="ga";break;case "ads-preview":E="ap";break;case "books":E= +"gb";break;case "docs":case "flix":E="gd";break;case "duo":E="gu";break;case "google-live":E="gl";break;case "google-one":E="go";break;case "play":case "play-ads":E="gp";break;case "chat":E="hc";break;case "hangouts-meet":E="hm";break;case "photos-edu":case "picasaweb":E="pw";break;default:E="yt"}this.Bp=E;this.NT=OD("",H?H.authorizedUserIndex:N.authuser);this.C4=g.PX(this)&&(this.Uu||!UpL()||this.vp);var x;H?H.disableWatchLater!==void 0&&(x=!H.disableWatchLater):x=N.showwatchlater;this.S_=((E=!this.C4)|| +!!this.NT&&E)&&Nx(!this.Us,this.Z?x:void 0);this.Jj=H?H.isMobileDevice||!!H.disableKeyboardControls:Nx(!1,N.disablekb);this.loop=Nx(!1,N.loop);this.pageId=OD("",H?H.initialDelegatedSessionId:N.pageid);this.Cn=Nx(!0,N.canplaylive);this.BG=2;this.fb=Nx(!1,N.livemonitor);this.disableSharing=Nx(this.Y,H?H.disableSharing:N.ss);this.Qa=jKd(H&&this.N("fill_video_container_size_override_from_wpcc")?H.videoContainerOverride:N.video_container_override);this.mute=H?!!H.startMuted:Nx(!1,N.mute);this.storeUserVolume= +!this.mute&&Nx(this.controlsType!=="0",H?H.storeUserVolume:N.store_user_volume);x=H?H.annotationsLoadPolicy:N.iv_load_policy;this.annotationsLoadPolicy=this.controlsType==="3"?3:ib(void 0,x,fo);this.captionsLanguagePreference=H?H.captionsLanguagePreference||"":OD("",N.cc_lang_pref);x=ib(2,H?H.captionsLanguageLoadPolicy:N.cc_load_policy,fo);this.controlsType==="3"&&x===2&&(x=3);this.i7=x;this.qc=H?H.hl||"en_US":OD("en_US",N.hl);this.region=H?H.contentRegion||"US":OD("US",N.cr);this.hostLanguage=H? +H.hostLanguage||"en":OD("en",N.host_language);this.ym=!this.Uu&&Math.random()=0?1:N.indexOf("/webm")>=0?2:N.indexOf("/x-flv")>=0?3:N.indexOf("/vtt")>=0?4:0}; +jVd=function(N){var H=wz(N.audioTrack,!0)*1E3;N=wz(N.videoTrack,!0)*1E3;return{J$:H,HP:N}}; +g.hn=function(N,H){var c=0;N=LU(String(N)).split(".");H=LU(String(H)).split(".");for(var t=Math.max(N.length,H.length),h=0;c==0&&h1&&(this.S=N[1]==="2",this.Y=N[1]==="4")}; +wRZ=function(){var N=n_R(),H=(0,g.Lh)()-N.L;if(!(N.L!==0&&Hf;if(cS(N)){var d=K1h(N);var W=isNaN(d)||g.BY||Ej&&g.op||f;bA&&!g.Oi(601)?d=h.aspectRatio:W=W||O.controlsType==="3";W?f?(W=O.N("place_shrunken_video_on_left_of_player")?16:N.getPlayerSize().width-H.width-16,d=Math.max((N.getPlayerSize().height-H.height)/2,0),W=new g.HS(W,d,H.width, +H.height),N.Wr.style.setProperty("border-radius","12px")):W=new g.HS(0,0,H.width,H.height):(c=h.aspectRatio/d,W=new g.HS((H.width-h.width/c)/2,(H.height-h.height)/2,h.width/c,h.height),c===1&&g.op&&(d=W.width-H.height*d,d>0&&(W.width+=d,W.height+=d)));g.QH(N.element,"ytp-fit-cover-video",Math.max(W.width-h.width,W.height-h.height)<1);if(M||N.un)N.Wr.style.display="";N.Vs=!0}else{W=-H.height;bA?W*=window.devicePixelRatio:g.zN&&(W-=window.screen.height);W=new g.HS(0,W,H.width,H.height);if(M||N.un)N.Wr.style.display= +"none";N.Vs=!1}da(N.Sx,W)||(N.Sx=W,g.G0(O)?(N.Wr.style.setProperty("width",W.width+"px","important"),N.Wr.style.setProperty("height",W.height+"px","important")):g.sb(N.Wr,W.getSize()),t=new g.Sr(W.left,W.top),g.LO(N.Wr,Math.round(t.x),Math.round(t.y)),t=!0);H=new g.HS((H.width-h.width)/2,(H.height-h.height)/2,h.width,h.height);da(N.xg,H)||(N.xg=H,t=!0);g.eU(N.Wr,"transform",c===1?"":"scaleX("+c+")");F&&f!==N.Wa&&(f&&(N.Wr.addEventListener(SV,N.bB),N.Wr.addEventListener("transitioncancel",N.bB),N.Wr.classList.add(g.Jk.VIDEO_CONTAINER_TRANSITIONING)), +N.Wa=f,N.app.VS.publish("playerUnderlayVisibilityChange",N.Wa?"transitioning":"hidden"));return t}; +q03=function(N,H){N.T&&(g.y(H,8)?(N.B=!0,N.aD(),N.T.start()):(g.y(H,2)||g.y(H,64))&&N.videoId&&(N.videoId=null))}; +G$R=function(N,H,c){var t;if((t=H.UB)!=null&&t.FI)try{var h,O=(h=N.cache)==null?void 0:d7w(h,j6(N,H),H.UB.Kc);return O?c?PB(N.logger,function(){return g.Eq(O,2)},"a"):O:void 0}catch(F){N.reportError(new fZ(23,"RXO:read",F))}}; +D2L=function(){var N;return(N=g.pB("yt-player-audio-quality-setting"))!=null?N:2}; +nCv=function(N,H,c,t,h,O,F,M,f){var d=CpZ();O=new gU({veType:H,youtubeData:O,jspbYoutubeData:void 0});f=wD({automatedLogEventSource:f},d);h&&(f.cttAuthInfo=h);h={csn:d,pageVe:O.getAsJson()};g.sf("expectation_logging")&&M&&M.screenCreatedLoggingExpectations&&(h.screenCreatedLoggingExpectations=M.screenCreatedLoggingExpectations);c&&c.visualElement?(h.implicitGesture={parentCsn:c.clientScreenNonce,gesturedVe:c.visualElement.getAsJson()},F&&(h.implicitGesture.gestureType=F)):c&&g.aS(new g.ti("newScreen() parent element does not have a VE - rootVe", +H));t&&(h.cloneCsn=t);N?px("screenCreated",h,N,f):g.uF("screenCreated",h,f);v3S(loR,new W_(d));KG.clear();CG.clear();lU.clear();return d}; +LHt=function(N){var H=g.Nn(N.Y.T,function(t){return t.audio.T}),c=g.Nn(N.Y.T,function(t){return!t.audio.T}); +return H?N.policy.pY?H:c:null}; +bG=function(N,H){var c=N.D(),t=["ytp-youtube-button","ytp-button","yt-uix-sessionlink"];c.L&&t.push("no-link");var h={title:N.N("player_tooltip_data_title_killswitch")?"{{title}}":"","data-tooltip-title":"{{tooltip-title}}",target:c.TW,"data-priority":"6","data-sessionlink":"feature=player-button"};c.L||(h.href="{{url}}");g.e.call(this,{W:"a",fq:t,V:h,Wp:"{{logoSvg}}"});this.T=null;this.api=N;this.visible=!1;c.L||(this.T=this.listen("click",this.onClick));this.G(N,"videodatachange",this.onVideoDataChange); +this.G(N,"videoplayerreset",this.onVideoDataChange);this.G(N,"onLoopRangeChange",this.onVideoDataChange);this.G(N,"appresize",this.Mc);this.onVideoDataChange();c.L||this.addOnDisposeCallback(g.UU(H.HH(),this.element));this.Mc()}; +$YR=function(N,H){var c,t,h;return g.Y(function(O){if(O.T==1)return c={context:g.Yi(),settingItemIds:H},t=g.kD(Kel),g.a(O,g.Ir(N,c,t),2);h=O.B;return!h||h.errorMetadata?(gjd("GetSettingValuesRequest",h),O.return(void 0)):O.return(h.settingValues)})}; +XP=function(N,H,c,t,h,O,F,M,f,d){this.U=N;this.B=H;this.T=c;this.Rx=t;this.Uy=h;this.L=O;this.k_=F;this.G6=M;this.b2=f;this.loadPolicy=d===void 0?1:d}; +g.bm=function(N,H){H=H===void 0?!1:H;return h4()&&N.isTypeSupported('audio/mp4; codecs="mp4a.40.2"')||!H&&N.canPlayType(EY(),"application/x-mpegURL")?!0:!1}; +E0=function(){cN.apply(this,arguments)}; +mqy=function(N){return Number(N.data["Start-Media-Time-Us"])/1E6||0}; +UIL=function(N,H){function c(){My({writeThenSend:!0},N,H)} +N=N===void 0?!1:N;H=H===void 0?200:H;var t=ow(N,H),h=t===wny||t===Qre?5E3:rPe;g.sf("web_gel_timeout_cap")&&!t.T&&(h=PGw(function(){c()},h),t.T=h); +cx(t.B);h=g.YI("LOGGING_BATCH_TIMEOUT",g.vI("web_gel_debounce_ms",1E4));g.sf("shorten_initial_gel_batch_timeout")&&Sm&&(h=mhv);h=PGw(function(){g.vI("gel_min_batch_size")>0?uC().getSequenceCount({cttAuthInfo:void 0,isJspb:N,tier:H})>=w6s&&c():c()},h); +t.B=h}; +ek=function(){this.T=0}; +Dhw=function(N,H,c,t){if(N.j.N("html5_ssdai_log_ssevt_in_loader")||N.j.N("html5_ssdai_log_ssevt_in_loader_200ms")||N.j.N("html5_ssdai_log_ssevt_in_loader_timers")||N.j.N("html5_ssdai_log_ssevt_in_loader_cuerange"))t=N.Bp?0:Math.round((t-c)*1E3),N.playback.Lq("ssevt",{tag:"sstme",ad:H!==N.playback.Qd(),cpn:H,st:(c-N.playback.Dj()).toFixed(3),late:t})}; +xj=function(N,H){var c;return(c=N.oe)==null?void 0:c.get(H)}; +QKw=function(){var N=["metadata_type_invideo_overlay_ad_renderer"];vR().forEach(function(H){N.push(H)}); +return{lG:N,xH:["LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY","LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY"]}}; +p6Z=function(N,H,c){for(var t=N.C,h=N.T[0],O=N.T[1],F=N.T[2],M=N.T[3],f=N.T[4],d=N.T[5],W=N.T[6],z=N.T[7],E,x,q,r=0;r<64;)r<16?(t[r]=q=H[c]<<24|H[c+1]<<16|H[c+2]<<8|H[c+3],c+=4):(E=t[r-2],x=t[r-15],q=t[r-7]+t[r-16]+((E>>>17|E<<15)^(E>>>19|E<<13)^E>>>10)+((x>>>7|x<<25)^(x>>>18|x<<14)^x>>>3),t[r]=q),E=z+qh[r]+q+((f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&d^~f&W),x=((h>>>2|h<<30)^(h>>>13|h<<19)^(h>>>22|h<<10))+(h&O^h&F^O&F),z=E+x,M+=E,r++,r<16?(t[r]=q=H[c]<<24|H[c+1]<<16|H[c+2]<<8|H[c+3],c+=4):(E= +t[r-2],x=t[r-15],q=t[r-7]+t[r-16]+((E>>>17|E<<15)^(E>>>19|E<<13)^E>>>10)+((x>>>7|x<<25)^(x>>>18|x<<14)^x>>>3),t[r]=q),E=W+qh[r]+q+((M>>>6|M<<26)^(M>>>11|M<<21)^(M>>>25|M<<7))+(M&f^~M&d),x=((z>>>2|z<<30)^(z>>>13|z<<19)^(z>>>22|z<<10))+(z&h^z&O^h&O),W=E+x,F+=E,r++,r<16?(t[r]=q=H[c]<<24|H[c+1]<<16|H[c+2]<<8|H[c+3],c+=4):(E=t[r-2],x=t[r-15],q=t[r-7]+t[r-16]+((E>>>17|E<<15)^(E>>>19|E<<13)^E>>>10)+((x>>>7|x<<25)^(x>>>18|x<<14)^x>>>3),t[r]=q),E=d+qh[r]+q+((F>>>6|F<<26)^(F>>>11|F<<21)^(F>>>25|F<<7))+(F&M^ +~F&f),x=((W>>>2|W<<30)^(W>>>13|W<<19)^(W>>>22|W<<10))+(W&z^W&h^z&h),d=E+x,O+=E,r++,r<16?(t[r]=q=H[c]<<24|H[c+1]<<16|H[c+2]<<8|H[c+3],c+=4):(E=t[r-2],x=t[r-15],q=t[r-7]+t[r-16]+((E>>>17|E<<15)^(E>>>19|E<<13)^E>>>10)+((x>>>7|x<<25)^(x>>>18|x<<14)^x>>>3),t[r]=q),E=f+qh[r]+q+((O>>>6|O<<26)^(O>>>11|O<<21)^(O>>>25|O<<7))+(O&F^~O&M),x=((d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10))+(d&W^d&z^W&z),q=z,z=M,M=q,q=W,W=F,F=q,q=d,d=O,O=q,f=h+E,h=E+x,r++;N.T[0]=h+N.T[0]|0;N.T[1]=O+N.T[1]|0;N.T[2]=F+N.T[2]|0;N.T[3]= +M+N.T[3]|0;N.T[4]=f+N.T[4]|0;N.T[5]=d+N.T[5]|0;N.T[6]=W+N.T[6]|0;N.T[7]=z+N.T[7]|0}; +TM=function(N){this.hF=oF(N)}; +g.Co=function(N){N=N.split(uHZ);for(var H=[],c=0;c0){var t=ng(77,H.substring(c+1));g.tH(t,function(h,O){this.set(O,h)},N); +H=H.substring(0,c)}H=rh(53,H);g.tH(H,function(h,O){this.set(O,h)},N)}; +g.rZ=function(N){return(N.deviceIsAudioOnly||!g.Pc||bA||N.controlsType==="3"?!1:g.zD?N.U&&g.Oi(51):!0)||(N.deviceIsAudioOnly||!g.dL||bA||N.controlsType==="3"?!1:g.zD?N.U&&g.Oi(48):g.Oi(38))||(N.deviceIsAudioOnly||!g.pX||bA||N.controlsType==="3"?!1:g.zD?N.U&&g.Oi(37):g.Oi(27))||!N.deviceIsAudioOnly&&g.zN&&!xh3()&&g.Oi(11)||!N.deviceIsAudioOnly&&g.op&&g.Oi("604.4")}; +njd=function(N){if(N==null||typeof N=="string"||N instanceof ZV)return N}; +Ppd=function(N){return S0v(N)}; +eo=function(N){var H={},c=g.h$D(N.xhr);Object.keys(c).forEach(function(t){H[t]=c[t]}); +return H}; +rwl=function(N){this.data=N}; +QVe=function(N,H){return new g.vn(N,H,{namespace:"timedMarkerCueRange",priority:9,id:"tm_"+N})}; +g.TW=function(N,H,c,t){g.lL.call(this,N);this.priority=H;c&&g.et(this,c);t&&this.setContent(t)}; +UhR=function(N,H,c,t,h){var O=N.S.get(c);if(!O){if(O=mLy(N,H))return O;H=N.D4(c-1,t!=null?t:2);if(h)return N.EF({misscue:h,sq:c,type:t,prevsstate:H==null?void 0:H.zY,prevrecord:N.S.has(c-1)}),N.S.get(c-1);if((H==null?void 0:H.zY)===2)return N.EF({adnf:1,sq:c,type:t,prevrecord:N.S.has(c-1)}),N.S.get(c-1)}return O}; +aW=function(N,H,c){N.j.Cq&&(N.bR=H,H.muted||NL(N,!1),c&&N.j.storeUserVolume&&!N.j.T3&&(c={volume:Math.floor(H.volume),muted:H.muted},c.unstorable||(g.h9("yt-player-volume",c),g.h9("yt-player-volume",c,2592E3))),X6Z(N),c=g.Pc&&N.mediaElement&&!N.mediaElement.FH(),N.j.T3&&!c||N.VS.vU("onVolumeChange",{muted:H.muted,volume:H.volume,unstorable:!N.j.storeUserVolume}))}; +q6w=function(N,H){g.QH(N.element,"ytp-volume-control-hover",H);Zr(N,H,N.isDragging,N.B,N.api.eE())}; +n1=function(N){var H;return((H=N.autoplaySwitchButtonRenderer)==null?void 0:H.enabled)!==void 0}; +pAs=function(N,H){if(H.I9()){var c=H.gq();c=g.K(c);for(var t=c.next();!t.done;t=c.next())t=t.value,N.policy.L&&H instanceof uo&&N.Lq("omblss",{s:t.info.uX()}),jtf(N,H.info.L4,t,H.Vp())}}; +V5e=function(N,H,c){var t;F6(N.Pp.get(),"ads_qua","cpn."+lQ(N.layout.clientMetadata,"metadata_type_content_cpn")+";acpn."+((t=s7(N.ea.get(),2))==null?void 0:t.clientPlaybackNonce)+";qt."+H+";clr."+c)}; +a$=function(N){for(;N.T.length&&!N.T[0].isEncrypted;){var H=N.T.shift(),c=H.videoId,t=H.jH,h=H.formatId,O=H.buffer;H=H.jc;if(O)H=void 0,(H=xj(N.SY.qT,c))==null||Ko(H,t,h,O);else if(H)N.SY.qT.hV(c,t,h);else if(t=N.SY,t.T[h].Go=!0,c=xj(t.qT,c),c==null?0:c.Hr.has(h))c==null||QM(c,h)}}; +dcs=function(N,H){if(!H.YB||!N.J.hU()){var c=H.au||1E4,t=fnR(H);N.T?H.videoId&&H.videoId!==N.videoId&&(g.Ms(N.T),N.videoId=H.videoId,t?(Leh(N,c,H),N.aD()):(N.e1(),N.T.dispose(),N.T=null)):t&&(H.videoId&&(N.videoId=H.videoId),Leh(N,c,H),N.aD())}}; +Zoe=function(N,H){N.focus(H);return sy(N,H,4)?hmD(N).getUint32(H-N.L):256*(256*(256*YW(N,H)+YW(N,H+1))+YW(N,H+2))+YW(N,H+3)}; +UW=function(){return Date.now()-Y0h}; +yh=function(N,H){fe.call(this,N,H);this.C=[]}; +kb=function(N){var H=T8(N,!0),c=N.T.byteOffset+N.pos;c=new DataView(N.T.buffer,c,Math.min(H,N.T.buffer.byteLength-c));c=new Bs(c,N.start+N.pos);N.pos+=H;return c}; +Q1v=function(N,H,c,t){if(OU(N.T,H)){var h=N.j1,O=h.A3,F;var M=((F=W$R.get(t))==null?void 0:F.aV)||"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED";O.call(h,M,H,c);N=FW(N.T,H);N.T!=="rendering"&&UZ(N.slot,N.T,"exitLayout");N.T="rendering_stop_requested";N.L.BH(c,t)}}; +HSl=function(N,H){var c=qJ;g.Ua(N,function(t,h){return c(H(t),H(h))})}; +APy=function(N){var H;g.Y(function(c){switch(c.T){case 1:return g.Xy(c,2),g.a(c,N.U,4);case 4:g.VI(c,3);break;case 2:g.Lq(c);case 3:(H=N.L)==null||H.disconnect(),g.Z3(c)}})}; +Ool=function(N){var H=H===void 0?!1:H;return vH(kC(N,aoh),N,H,"Trusted Ad Domain URL")}; +vjv=function(N,H,c){efS&&console.groupCollapsed&&console.groupEnd&&(console.groupCollapsed("["+N.constructor.name+"] '"+N.state+"' to '"+H+"'"),console.log("with message: ",c),console.groupEnd())}; +Dr=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x,q,r,w,n,p){this.Le=N;this.PH=H;this.ZM=c;this.Pp=t;this.r_=h;this.j7=O;this.Nc=F;this.ea=M;this.k_=f;this.mx=d;this.kO=W;this.YO=z;this.Mi=E;this.V4=x;this.bl=q;this.Rx=r;this.ID=w;this.context=n;this.dR=p}; +Ic=function(N,H){g.e.call(this,{W:"button",fq:["ytp-button","ytp-settings-button"],V:{"aria-expanded":"false","aria-haspopup":"true","aria-controls":TJ(),title:N.N("player_tooltip_data_title_killswitch")?"Settings":"","data-tooltip-title":"Settings","data-tooltip-target-id":"ytp-settings-button"},X:[N.N("delhi_modern_web_player_icons")?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M12.84 1H11.15C10.72 .99 10.30 1.14 9.95 1.40C9.60 1.66 9.35 2.02 9.23 2.44L9.19 2.61C9.11 3.00 8.96 3.38 8.73 3.71C8.51 4.04 8.22 4.33 7.89 4.55L7.75 4.64C7.37 4.85 6.96 4.98 6.53 5.02C6.11 5.06 5.68 5.01 5.27 4.87C4.86 4.73 4.42 4.73 4.00 4.86C3.59 5.00 3.23 5.26 2.99 5.62L2.89 5.77L2.05 7.23C1.82 7.63 1.73 8.10 1.81 8.55C1.88 9.01 2.12 9.43 2.47 9.73L2.58 9.84C3.15 10.39 3.50 11.15 3.50 12L3.49 12.16C3.47 12.56 3.37 12.95 3.19 13.31C3.01 13.67 2.77 13.99 2.47 14.26C2.12 14.56 1.88 14.98 1.81 15.43C1.73 15.89 1.82 16.36 2.05 16.76L2.89 18.22L2.99 18.37C3.24 18.73 3.59 18.99 4.01 19.13C4.42 19.26 4.86 19.26 5.27 19.12L5.42 19.07C5.81 18.96 6.21 18.93 6.61 18.98C7.01 19.03 7.40 19.15 7.75 19.36L7.89 19.44C8.22 19.66 8.51 19.95 8.73 20.28C8.96 20.61 9.11 20.99 9.19 21.38C9.28 21.84 9.52 22.24 9.88 22.54C10.24 22.83 10.69 23.00 11.15 23H12.84C13.30 23.00 13.75 22.83 14.11 22.54C14.47 22.24 14.71 21.84 14.80 21.38C14.89 20.96 15.06 20.56 15.31 20.21C15.55 19.86 15.88 19.57 16.25 19.36L16.39 19.28C16.75 19.10 17.14 18.99 17.54 18.96C17.94 18.94 18.34 18.99 18.72 19.12L18.89 19.17C19.31 19.27 19.75 19.24 20.15 19.07C20.55 18.90 20.88 18.60 21.10 18.23L21.95 16.76C22.18 16.36 22.26 15.89 22.19 15.43C22.11 14.98 21.88 14.56 21.53 14.26C21.23 13.99 20.98 13.67 20.80 13.31C20.63 12.95 20.52 12.56 20.50 12.16L20.50 12C20.50 11.57 20.59 11.14 20.77 10.75C20.94 10.36 21.20 10.01 21.53 9.73C21.88 9.43 22.11 9.01 22.19 8.55C22.26 8.10 22.18 7.63 21.95 7.23L21.10 5.76C20.88 5.39 20.55 5.09 20.15 4.92C19.76 4.75 19.31 4.72 18.89 4.82L18.72 4.87C18.34 5.00 17.94 5.05 17.54 5.03C17.14 5.00 16.75 4.89 16.4 4.71L16.25 4.63C15.88 4.42 15.56 4.13 15.31 3.78C15.06 3.43 14.89 3.03 14.80 2.61C14.71 2.15 14.47 1.74 14.11 1.45C13.75 1.16 13.30 .99 12.84 1ZM11.15 3H12.84C12.98 3.70 13.26 4.36 13.68 4.94C14.09 5.52 14.63 6.01 15.25 6.37C15.87 6.72 16.55 6.94 17.26 7.01C17.97 7.08 18.69 6.99 19.37 6.76L20.21 8.23C19.67 8.69 19.24 9.27 18.94 9.92C18.65 10.57 18.50 11.28 18.5 12C18.50 12.71 18.65 13.42 18.95 14.07C19.24 14.72 19.67 15.29 20.21 15.76L19.37 17.23C18.69 16.99 17.97 16.91 17.26 16.98C16.55 17.05 15.86 17.27 15.25 17.63C14.63 17.98 14.09 18.47 13.68 19.05C13.26 19.63 12.98 20.29 12.84 21H11.15C11.01 20.29 10.73 19.63 10.31 19.05C9.90 18.47 9.36 17.98 8.75 17.62C8.13 17.27 7.44 17.05 6.73 16.98C6.02 16.91 5.30 16.99 4.62 17.23L3.78 15.76C4.32 15.29 4.75 14.71 5.05 14.06C5.34 13.41 5.49 12.71 5.5 12C5.50 11.28 5.34 10.57 5.05 9.92C4.75 9.27 4.32 8.69 3.78 8.23L4.62 6.76C5.30 7.00 6.02 7.08 6.73 7.01C7.44 6.94 8.13 6.72 8.75 6.37C9.36 6.01 9.90 5.52 10.31 4.94C10.73 4.36 11.01 3.70 11.15 3ZM12.00 8C10.94 8 9.92 8.42 9.17 9.17C8.42 9.92 8.00 10.93 8.00 12C8.00 13.06 8.42 14.07 9.17 14.82C9.92 15.57 10.94 16 12.00 16C13.06 16 14.08 15.57 14.83 14.82C15.58 14.07 16.00 13.06 16.00 12C16.00 10.93 15.58 9.92 14.83 9.17C14.08 8.42 13.06 8 12.00 8ZM12.00 10H12L12.20 10.01C12.69 10.06 13.15 10.29 13.48 10.65C13.81 11.02 14.00 11.50 14 12L13.99 12.20C13.95 12.58 13.80 12.95 13.55 13.25C13.31 13.55 12.98 13.78 12.62 13.90C12.25 14.02 11.85 14.03 11.48 13.93C11.11 13.83 10.77 13.62 10.51 13.34C10.25 13.05 10.08 12.69 10.02 12.31C9.96 11.93 10.01 11.54 10.17 11.18C10.32 10.83 10.58 10.53 10.91 10.32C11.23 10.11 11.61 10.00 12 10", +fill:"white"}}]}:g.fmw()]});this.J=N;this.R4=H;this.B=!0;this.listen("click",this.L);this.G(N,"onPlaybackQualityChange",this.updateBadge);this.G(N,"videodatachange",this.updateBadge);this.G(N,"webglsettingschanged",this.updateBadge);this.G(N,"appresize",this.T);XW(N,this.element,this);this.J.createClientVe(this.element,this,28663);this.updateBadge();this.T(N.BO().getPlayerSize())}; +sKS=function(N,H){N.KJ("dataloaded",H,H.getVideoData());N.seekTo(Infinity);N.playVideo()}; +FnL=function(N){var H,c;return g.Y(function(t){if(t.T==1)return g.a(t,Bos(N),2);c=H=t.B;return t.return(c)})}; +g.vs=function(N){return N.containerType===1}; +Ogy=function(N){var H=!1;H=H===void 0?!1:H;iJ.google_image_requests||(iJ.google_image_requests=[]);var c=Q$y("IMG",iJ.document);H&&(c.attributionSrc="");c.src=N;iJ.google_image_requests.push(c)}; +aEv=function(N,H){H.subscribeCommand&&(N.subscribeCommand=H.subscribeCommand);H.unsubscribeCommand&&(N.unsubscribeCommand=H.unsubscribeCommand);H.addToWatchLaterCommand&&(N.addToWatchLaterCommand=H.addToWatchLaterCommand);H.removeFromWatchLaterCommand&&(N.removeFromWatchLaterCommand=H.removeFromWatchLaterCommand);H.getSharePanelCommand&&(N.getSharePanelCommand=H.getSharePanelCommand)}; +qGh=function(N,H){var c=Xs(N,function(t,h){return h.video.fps>32?Math.min(t,h.video.width):t},Infinity); +c32||t.video.width200&&(X="manifest.net.badstatus",q===400&&(n=2)),Fe.return(Promise.reject(new g.QP(X,U,n)));H.loading=!1;g.HJ(H,{raw_player_response:w},!0); +A=w;g.bi(H.D())&&A&&A.trackingParams&&N0(A.trackingParams);if(H.errorCode)return R={ec:H.errorCode,ed:H.errorDetail,es:H.iW||""},Fe.return(Promise.reject(new g.QP("auth",R,2)));if(!H.loading&&!Di(H))return v=H.isAd()?"auth":"manifest.net.retryexhausted",Nf=H.isAd()?2:1,Fe.return(Promise.reject(new g.QP(v,{successButUnplayable:"1",hasMedia:g.It(H)?"1":"0"},Nf)));g.Z3(Fe)}})}; +Xsf=function(N,H,c){var t,h=-1,O=H[1],F=0,M=7,f=4;O===0&&(M=138,f=3);for(t=0;t<=c;t++){var d=O;O=H[(t+1)*2+1];if(!(++F=0;){var t=N.levels[c];if(t.isLoaded(Ru(t,H))&&(t=g.ro(t,H)))return t;c--}return g.ro(N.levels[0],H)}; +imt=function(N,H){var c=Number(H==null?void 0:H.maxVisibleDurationMilliseconds);c&&(me(N),N.Us=setTimeout(function(){if(N.T!==void 0&&(H==null?void 0:H.cueRangeId)===N.T){N.TW=!1;var t=HmD(N,N.T);t&&N.api.QS("innertubeCommand",t)}},c))}; +oV=function(N){var H=N.videoTrack.S!==-1,c=N.audioTrack.S!==-1;if(!H||!c)if(H=!H&&L3(N.videoTrack),c=!c&&L3(N.audioTrack),H||c){c=H?N.videoTrack:N.audioTrack;H=H?N.audioTrack:N.videoTrack;c.S=L3(c).info.Y_;if(N.policy.S){var t;H.S=((t=L3(H))==null?void 0:t.info.Y_)||H.S}if(H.S!==-1){var h=Math.max(H.mR.index.getStartTime(H.S),c.mR.index.getStartTime(c.S));Hy(N.GW)&&Math.abs(h-Hy(N.GW))>432E3&&c6L(N.GW);N.B&&(h=N.B,N.B=0);g.OT(function(){N.policy.S||aF3(N,h,102)}); +N.loader.Lq("initManifestlessSync",{st:h,ost:h+N.loader.HO(),a:N.audioTrack.S,v:N.videoTrack.S});N.L&&(N.L.resolve(h+.1),N.L=null);N.policy.S&&aF3(N,h,102)}}}; +QC=function(N){if(!N.B||!N.policy.U&&!N.B.info.X3){var H=N.Y.T;N.B&&(H=H.filter(function(t){return t.audio.T===N.B.info.audio.T}),H.length||(H=N.Y.T)); +N.B=N.GW.T[H[0].id];if(H.length>1&&!N.policy.NT){if(!N.policy.Bv){var c=g.Nn(H,function(t){return t.audio.audioQuality!=="AUDIO_QUALITY_HIGH"}); +c&&(N.B=N.GW.T[c.id])}c=!1;if(c=N.policy.wJ?!0:N.T.isLocked()?N.T.T<240:tIs(N,N.B))N.B=N.GW.T[g.vU(H).id]}}}; +hDd=function(N,H,c,t,h){sE.call(this,N,{W:"div",K:"ytp-ad-instream-user-sentiment-container"},"instream-user-sentiment",H,c,t,h===void 0?null:h);var O=this;this.T=null;this.L=new cF(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,["ytp-ad-instream-user-sentiment-like-button"]);g.l(this,this.L);this.L.Jl(this.element);this.B=new cF(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,["ytp-ad-instream-user-sentiment-dislike-button"]);g.l(this,this.B);this.B.Jl(this.element); +this.U=new g.BX(this,400,!1,500,function(){return O.hide()}); +g.l(this,this.U);this.hide()}; +Omy=function(N){for(var H=0;H122)return!1}return!0}; +$eh=function(N){jY.call(this,"sabr",N);this.qT=N;this.T=[]}; +TQ=function(N){return function(){return N}}; +EN=function(N){this.value=N}; +Ci=function(N){for(var H=g.K(N.L.entries()),c=H.next();!c.done;c=H.next()){var t=g.K(c.value);c=t.next().value;t=t.next().value;t<(0,g.Lh)()&&N.L.delete(c)}return N.L}; +Hj=function(N,H,c){if(N=jc(N,H))return c(new kl(new eB([N])))}; +TcS=function(N){N.F1("active_view_measurable")}; +qV=function(N,H,c){var t=this;this.B=N;this.L=H;this.Rx=c;this.T=function(h){return Ap(t.B.get(),h)}}; +H8t=function(N){var H=N.L.on();return H?H.info:na(N)}; +jJL=function(){var N=["metadata_type_action_companion_ad_renderer"];vR().forEach(function(H){N.push(H)}); +return{lG:N,xH:["LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON"]}}; +nXl=function(N,H){for(var c=[],t=g.K(N.B),h=t.next();!h.done;h=t.next())h=h.value,H(h)||c.push(h);if(N.j.N("html5_sstm_fixes"))for(t=g.K(N.B),h=t.next();!h.done;h=t.next())h=h.value,H(h)&&(N.L.delete(h.cpn),h.vr&&N.U.delete(h.vr));N.B=c}; +g.o1=function(N,H,c,t,h,O){function F(f,d,W){return f.lw(function(z){if(d<=0||vw(z.xhr)===403)return Kw(new X5("Request retried too many times","net.retryexhausted",z.xhr,z));var E=Math.pow(2,c-d+1)*W,x=h>0?Math.min(h,E):E;return M(W).then(function(){O&&O(z,d-1);return F(ym(N,H),d-1,x)})})} +function M(f){return new g.EL(function(d){setTimeout(d,f)})} +h=h===void 0?-1:h;return F(ym(N,H),c-1,t)}; +TE=function(N,H){return N.map(function(c){return hM(g.dv(c,H))})}; +wo=function(N){g.L.call(this);this.B=N;this.logger=new g.mE("onesie");this.Hr=new Map;this.L=this.T=!1;this.wk=this.GW=null;this.U=!1}; +rTR=function(){this.T=1;this.B=new a6}; +FE=function(N){var H=g.gu(N.api.D())&&(N.api.N("web_shorts_pip")||N.api.N("web_watch_pip")),c;return!((c=N.api.getVideoData())==null?0:c.isLivePlayback)&&!N.api.isMinimized()&&!N.api.isInline()&&(!N.api.eP()||!H)}; +L7S=function(N){var H=N.api.D(),c=MIw(H);c=fGD(c);var t=c.dN.bind(c);c.dN=function(M){var f;return g.Y(function(d){if(d.T==1)return g.a(d,t(M),2);f=d.B;N.api.Lq("itr",{});return d.return(f)})}; +try{var h=sQZ({Ew:c,Z8:{maxAttempts:5},Yg:{LF:"CLEn",disable:H.experiments.M4("html5_web_po_disable_remote_logging"),Cj:Xth(H.experiments),DN:function(M){var f=dew.get(M);f||(f=new m0Z(M),f=new g.HT(f),dew.set(M,f));return f}, +WzW:N.N("wpo_dis_lfdms")?0:1E3},Uis:g.aS});var O=new FJ({BU:h,Ew:c,onError:g.aS});RSl(O.qK()).then(function(){N.T=!0;N.S.resolve()}); +N.N("html5_web_po_token_disable_caching")||O.SM(150);g.l(N,h);g.l(N,O);N.B=O}catch(M){g.aS(M);var F;(F=h)==null||F.dispose()}}; +Wwd=function(N,H,c){N.isPaused()||N.getCurrentTime()>H||c>10||(N.play(),g.Zh(function(){Wwd(N,N.getCurrentTime(),c+1)},500))}; +g.zDL=function(N){return g.h0(N.T,function(H){return rP(H.info.mimeType)})}; +me=function(N){N.Us&&clearTimeout(N.Us);N.Us=void 0;N.TW=!1}; +RLs=function(N,H,c,t,h,O,F,M,f,d,W){return{adClientDataEntry:{slotData:jD(N,{slotId:H,slotType:c,slotPhysicalPosition:t,Hp:h,slotEntryTrigger:O,slotFulfillmentTriggers:F,slotExpirationTriggers:M,clientMetadata:new xd([])}),layoutData:NdD(N,{layoutId:f,layoutType:d,Hp:W,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],S1:new Map,clientMetadata:new xd([]),z0:{}})}}}; +LGd=function(N,H,c){var t=c.channelThumbnail;t&&(t=t.thumbnails)&&(t=t[0])&&(H.profile_picture=t.url);var h;if(t=g.P((h=g.P(c==null?void 0:c.channelThumbnailEndpoint,E6S))==null?void 0:h.urlEndpoint,g.iF))H.channel_path=t.url;if(h=c.collapsedRenderer)if(h=g.P(h,xet)){if(t=h.title)H.title=g.Fu(t);if(h=h.subtitle)H.subtitle=g.Fu(h)}if(c=c.expandedRenderer)if(c=g.P(c,qQR)){if(h=c.title)H.expanded_title=g.Fu(h);if(h=c.subtitle)H.expanded_subtitle=g.Fu(h);if(c=c.subscribeButton)N.subscribeButtonRenderer= +g.P(c,g.Do),N.subscribeButtonRenderer&&(H.ucid=N.subscribeButtonRenderer.channelId,H.subscribed=N.subscribeButtonRenderer.subscribed,N.Bd=!!N.subscribeButtonRenderer.notificationPreferenceToggleButton,N.subscribeButtonRenderer.notificationPreferenceToggleButton&&N.subscribeButtonRenderer.notificationPreferenceToggleButton.toggleButtonRenderer&&(H=N.subscribeButtonRenderer.notificationPreferenceToggleButton.toggleButtonRenderer,H.isToggled?(N.N8=H.toggledServiceEndpoint||null,N.J6=H.defaultServiceEndpoint|| +null):(N.N8=H.defaultServiceEndpoint||null,N.J6=H.toggledServiceEndpoint||null)))}}; +tW=function(N){return N.keySystem==="com.youtube.fairplay.sbdl"}; +Paw=function(N){var H=g.tA();if(N==="Internet Explorer"){if(KiR())if((N=/rv: *([\d\.]*)/.exec(H))&&N[1])H=N[1];else{N="";var c=/MSIE +([\d\.]+)/.exec(H);if(c&&c[1])if(H=/Trident\/(\d.\d)/.exec(H),c[1]=="7.0")if(H&&H[1])switch(H[1]){case "4.0":N="8.0";break;case "5.0":N="9.0";break;case "6.0":N="10.0";break;case "7.0":N="11.0"}else N="7.0";else N=c[1];H=N}else H="";return H}var t=RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g");c=[];for(var h;h=t.exec(H);)c.push([h[1],h[2],h[3]||void 0]); +H=DZl(c);switch(N){case "Opera":if(jA())return H(["Version","Opera"]);if(Jq()?Cc("Opera"):zL("OPR"))return H(["OPR"]);break;case "Microsoft Edge":if(Jq()?0:zL("Edge"))return H(["Edge"]);if(ZxR())return H(["Edg"]);break;case "Chromium":if($l())return H(["Chrome","CriOS","HeadlessChrome"])}return N==="Firefox"&&TV()||N==="Safari"&&Cy()||N==="Android Browser"&&gUt()||N==="Silk"&&zL("Silk")?(H=c[2])&&H[1]||"":""}; +Q9=function(N,H,c){if(H<=0){c=Tj();H="muted";var t=0}else c=c?{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,V:{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",fill:"#fff"}}]}:{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,V:{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z M19,11.29 C21.89,12.15 24,14.83 24,18 C24,21.17 21.89,23.85 19,24.71 L19,26.77 C23.01,25.86 26,22.28 26,18 C26,13.72 23.01,10.14 19,9.23 L19,11.29 Z", +fill:"#fff"}}]},t=Math.floor(H),H=t+"volume";Dc(N,c,H,t+"%")}; +Nol=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);this.events.G(N,"applicationvideodatachange",function(c,t){t=t.clipConfig;c==="dataloaded"&&t&&t.startTimeMs!=null&&t.endTimeMs!=null&&H.api.setLoopRange({startTimeMs:Math.floor(Number(t.startTimeMs)),endTimeMs:Math.floor(Number(t.endTimeMs)),postId:t.postId,type:"clips"})})}; +PR=function(N){N.T.stop();var H=Infinity;for(var c=g.K(N.data),t=c.next();!t.done;t=c.next())t=t.value,t.expire=N.policy.B9,F=!1;if(O){var M=0;!isNaN(H)&&H>N.S&&(M=H-N.S,N.S=H);M/h=N.policy.W0&&!N.L;if(!O&&!c&&meh(N,H))return NaN;c&&(N.L=!0);a:{t=F;c=(0,g.Lh)()/1E3-(N.sC.sI()||0)-N.C.T-N.policy.xD;O=N.B.startTime;c=O+c;if(t){if(isNaN(H)){L_(N,NaN,"n",H);O=NaN;break a}t=H-N.policy.hQ;tt.startSeconds&&d4(N,t.endSeconds);N.iU.finished=!0;a9(N,"dataloaded");N.BM.Tr()&&VEy(N);nGD(N.OV,N.S7)}}); +N.N("html5_log_media_perf_info")&&N.Lq("loudness",{v:N.videoData.XQ.toFixed(3)},!0);var H,c=(H=N.mediaElement)==null?void 0:H.N4();if(c&&"disablePictureInPicture"in c&&N.j.Ol)try{c.disablePictureInPicture=N.j.zn&&!N.videoData.backgroundable}catch(t){g.aS(t)}nld(N);N.UT=new QJv(N.videoData)}else a9(N,"dataloaded")}; +u9h=function(N,H){if(H.OG()||H.uo()){var c=N.loader,t=c.Lq,h=H.state;N=N.u2();var O,F;if((H=(O=H.oe)==null?void 0:O.get(N))==null)H=void 0;else{O=0;N=H.uN();for(var M=0;M0:N.T3?!1:N.Es.KC||N.Es.iR||!g.PX(N.Es)?!0:!1:(N.T3?0:N.mz)&&g.PX(N.Es)?!0:!1;N.N("html5_log_detailpage_autoplay")&&or(N)==="detailpage"&&N.Lq("autoplay_info",{autoplay:N.LC,autonav:N.isAutonav,wasDompaused:N.T3,result:H});return H}; +LYy=function(N){N=gv(N);return new g.Sr(N.left,N.top)}; +g.YU=function(N){return!!N.T&&T$3(N.T)}; +SQZ=function(N,H,c){N=N.hF;return LM(V$(N),N,void 0,H)===c?c:-1}; +We=function(N,H,c){Ys.call(this,N);this.api=N;this.yS=H;this.components={};N=new g.e({W:"div",fq:["video-ads","ytp-ad-module"]});g.l(this,N);M_&&g.bV(N.element,"ytp-ads-tiny-mode");this.U=new jM(N.element);g.l(this,this.U);g.aG(this.api,N.element,4);R2(c)&&(c=new g.e({W:"div",fq:["ytp-ad-underlay"]}),g.l(this,c),this.B=new jM(c.element),g.l(this,this.B),g.aG(this.api,c.element,0));g.l(this,EUD())}; +yM=function(N,H,c){c=c===void 0?0:c;N=em(mq(N,H));return N!=null?N:c}; +s5h=function(N){N=N.J.getVideoData(1);return!!N&&N.N("html5_preload_first_vod_video_ad")&&!N.isDaiEnabled()&&!N.isLivePlayback}; +fMd=function(N,H,c,t,h,O){function F(E){return q5(N.Uy.get(),E)} +var M=[];H=g.K(H);for(var f=H.next();!f.done;f=H.next()){f=f.value;var d=f.renderer,W=d.sandwichedLinearAdRenderer,z=d.linearAdSequenceRenderer;W&&cwL(W)?(KA("Found AdNotify with SandwichedLinearAdRenderer"),z=g.P(W.adVideoStart,mf),W=g.P(W.linearAd,QR),o3(O,d,f.config.adPlacementConfig.kind),d=void 0,z=d03((d=z)==null?void 0:d.layout.layoutId,N.B.get(),N.T.get(),f.config.adPlacementConfig,f.adSlotLoggingData,W,c,t,F,h,N.loadPolicy,N.Rx.get(),N.Uy.get()),z instanceof S?KA(z):M.push.apply(M,g.HE(z))): +z&&(!z.adLayoutMetadata&&fe3(z)||z.adLayoutMetadata&&dqs(z))&&(KA("Found AdNotify with LinearAdSequenceRenderer"),o3(O,d,f.config.adPlacementConfig.kind),d=void 0,W=aYw((d=g.P(z.adStart,mf))==null?void 0:d.layout.layoutId,N.B.get(),N.T.get(),f.config.adPlacementConfig,f.adSlotLoggingData,z.linearAds,Gf(z.adLayoutMetadata)?z.adLayoutMetadata:void 0,c,t,F,h,N.loadPolicy,N.Rx.get()),W instanceof S?KA(W):M.push.apply(M,g.HE(W)))}return M}; +VIR=function(N,H,c){var t=H.T?H.T.mR.JF:H.mR.JF;var h=N.U,O;(O=!N.policy.KY)||(O=Sc(22,t.T)===Sc(19,t.B));O?t=!1:(h=q8(h,Sc(17,t.B)),O=6E4*Math.pow(h.U,1.6),(0,g.Lh)()0))}N.vO()&&SzZ();Error.stackTraceLimit=50;var h=g.Mx(H,"html5_idle_rate_limit_ms");h&&Object.defineProperty(window,"requestIdleCallback",{value:function(O){return window.setTimeout(O,h)}}); +RHS(N.S);o33(c("html5_use_ump_request_slicer"));oES(c("html5_record_now"));c("html5_disable_streaming_xhr")&&(km=!1);c("html5_byterate_constraints")&&(Mw=!0);c("html5_use_non_active_broadcast_for_post_live")&&(sJe=!0);c("html5_enable_encrypted_av1")&&(J$=!0);hlS(g.Mx(N.experiments,"html5_sticky_duration_mos"))}; +Jh=function(N){return N.kind==="AD_PLACEMENT_KIND_START"}; +Bcd=function(N,H,c,t,h,O,F,M){eq.call(this,N,H,c,t);this.Pp=h;this.Le=O;this.Y=M;this.AY=!0;this.U=null;this.S=lQ(c.clientMetadata,"metadata_type_linked_player_bytes_layout_id");vT(this.Le(),this);this.adPlacementConfig=lQ(c.clientMetadata,"metadata_type_ad_placement_config");this.Fg=new sd(c.S1,this.Pp,this.adPlacementConfig,c.layoutId)}; +tMe=function(N,H,c,t,h,O){g.xo.call(this);var F=this;this.target=N;this.api=H;this.ev=c;this.B=0;this.Y=!1;this.U=new g.Sr(NaN,NaN);this.T=new g.Ww(this);this.NT=this.L=this.C=null;g.l(this,this.T);H=h||O?g.Mx(this.api.D().experiments,"web_player_touch_idle_wait_time_ms",4E3):g.Mx(this.api.D().experiments,"web_player_mouse_idle_wait_time_ms",3E3);this.TW=new g.kT(function(){Oo(F,1,!1)},H,this); +g.l(this,this.TW);this.Bp=new g.kT(function(){Oo(F,2,!1)},H,this); +g.l(this,this.Bp);this.Us=new g.kT(function(){Oo(F,2048,!1)},H,this); +g.l(this,this.Us);this.ox=new g.kT(function(){Oo(F,512,!1)},H,this); +g.l(this,this.ox);this.Ix=3E3;h||(this.L=this.T.G(N,"mouseover",this.U_),this.T.G(N,"mousemove",this.Cw),this.T.G(N,"mouseleave",this.oOo));this.api.N("web_player_enable_fullscreen_grid_components")&&this.T.G(N,"wheel",this.IDg,this,!0);Ue?this.T.G(N,"keypress",this.Pgo):this.T.G(N,"focusin",this.zq);this.S=this.T.G(N,"mousedown",this.NS);this.Z=this.T.G(N,"touchstart",this.cq,void 0,!0);Oo(this,640,!0)}; +JP=function(N,H,c,t){if(!(c.g0()||c.RL()||c.L||!KV(c.JF,N.policy,N.U,N.loader.BF)||c.info.T0==="f"||N.policy.T)){if(t){t=N.S;var h=c.info;t=swf(t,h.video?t.policy.lI:t.policy.MA,h.OF)}else t=0;t=c.cJ(t);N=UeR(N,t);i6(t)&&PBD(H,N);c.L=!0}}; +nrl=function(){return(dX||Ws)&&WW?WW.mobile:!r4()&&(zL("iPod")||zL("iPhone")||zL("Android")||zL("IEMobile"))}; +cy=function(N){return N.type===1||N.type===2}; +OlZ=function(N,H){var c=g.Yv(N,0,1937011556),t=g.Yv(N,0,1953654136);if(!c||!t||N.getUint32(c.offset+12)>=2)return null;var h=new DataView(H.buffer,H.byteOffset,H.length),O=g.Yv(h,0,1937011556);if(!O)return null;H=h.getUint32(O.dataOffset+8);t=h.getUint32(O.dataOffset+12);if(t!==1701733217&&t!==1701733238)return null;t=new y6L(N.byteLength+H);no(t,N,0,c.offset+12);t.data.setInt32(t.offset,2);t.offset+=4;no(t,N,c.offset+16,c.size-16);no(t,h,h.byteOffset+O.dataOffset+8,H);no(t,N,c.offset+c.size,N.byteLength- +(c.offset+c.size));c=g.K([1836019574,1953653099,1835297121,1835626086,1937007212,1937011556]);for(h=c.next();!h.done;h=c.next())h=g.Yv(N,0,h.value),t.data.setUint32(h.offset,h.size+H);N=g.Yv(t.data,0,1953654136);t.data.setUint32(N.offset+16,2);return t.data}; +g.JB=function(N,H,c,t){function h(d){try{if((d===void 0?0:d)&&t.retry&&!t.networklessOptions.bypassNetworkless)O.method="POST",t.networklessOptions.writeThenSend?NZ().writeThenSend(f,O):NZ().sendAndWrite(f,O);else if(t.compress){var W=!t.networklessOptions.writeThenSend;if(O.postBody){var z=O.postBody;typeof z!=="string"&&(z=JSON.stringify(O.postBody));q_(f,z,O,g.Rj,W)}else q_(f,JSON.stringify(O.postParams),O,w4,W)}else w4(f,O)}catch(E){if(E.name==="InvalidAccessError")Uf(Error("An extension is blocking network request.")); +else throw E;}} +!g.YI("VISITOR_DATA")&&H!=="visitor_id"&&Math.random()<.01&&Uf(new g.ti("Missing VISITOR_DATA when sending innertube request.",H,c,t));if(!N.isReady())throw N=new g.ti("innertube xhrclient not ready",H,c,t),g.PQ(N),N;var O={headers:t.headers||{},method:"POST",postParams:c,postBody:t.postBody,postBodyFormat:t.postBodyFormat||"JSON",onTimeout:function(){t.onTimeout()}, +onFetchTimeout:t.onTimeout,onSuccess:function(d,W){if(t.onSuccess)t.onSuccess(W)}, +onFetchSuccess:function(d){if(t.onSuccess)t.onSuccess(d)}, +onProgress:function(d){if(t.onProgress)t.onProgress(d)}, +onError:function(d,W){if(t.onError)t.onError(W)}, +onFetchError:function(d){if(t.onError)t.onError(d)}, +timeout:t.timeout,withCredentials:!0,compress:t.compress};O.headers["Content-Type"]||(O.headers["Content-Type"]="application/json");c="";var F=N.config_.L_;F&&(c=F);F=N.config_.U4||!1;var M=RxR(F,c,t);Object.assign(O.headers,M);O.headers.Authorization&&!c&&F&&(O.headers["x-origin"]=window.location.origin);var f=Z_(""+c+("/youtubei/"+N.config_.innertubeApiVersion+"/"+H),{alt:"json"});g.NA("ytNetworklessLoggingInitializationOptions")&&GgZ.isNwlInitialized?gCS().then(function(d){h(d)}):h(!1)}; +RDR=function(N){N.B.forEach(function(H){H.T.toggleButton(!1)}); +e_(N,!0)}; +o6v=function(){}; +kg3=function(N){return N.BF0)H=N.byterate,this.Bp= +!0;else{var h;c=(((h=navigator.connection)==null?void 0:h.downlink)||0)*64*1024;c>0&&(H=c,this.Bp=!0)}this.L.dJ(this.policy.Y,H);N.delay>0&&this.Z.dJ(1,Math.min(N.delay,2));N.stall>0&&this.C.dJ(1,N.stall);N.init>0&&(this.gE=Math.min(N.init,this.gE));N.interruptions&&(this.U=this.U.concat(N.interruptions),this.U.length>16&&this.U.pop());this.Us=(0,g.Lh)();this.policy.C>0&&(this.Kq=new g.kT(this.zW,this.policy.C,this),g.l(this,this.Kq),this.Kq.start())}; +gM=function(N){g.BZ(N)}; +bme=function(N){var H=Ad(N),c=Ad(N);N=(c>>31)*2+1;var t=c>>>20&2047;H=4294967296*(c&1048575)+H;return t==2047?H?NaN:N*Infinity:t==0?N*4.9E-324*H:N*Math.pow(2,t-1075)*(H+4503599627370496)}; +N2D=function(N){this.B=N;this.T=NaN;this.buffer=new ui(100)}; +Qx=function(N){this.Rx=N;N=Math.random();var H=this.Rx.get();H=g.Mx(H.J.D().experiments,"html5_debug_data_log_probability");H=Number.isFinite(H)&&H>=0&&H<=1?H:0;this.T=N>7,N.error.code]);t.set(c,4);return t}; +Vg=function(N,H){for(var c={},t=g.K(Object.keys(iCt)),h=t.next();!h.done;h=t.next()){h=h.value;var O=H?H+h:h;O=N[O+"_webp"]||N[O];g.Vq(O)&&(c[iCt[h]]=O)}return c}; +MV=function(N){N=cXl(N);Ss.call(this,N.length?N[N.length-1]:new ZB(iJ,0));this.L=N;this.B=null}; +mfD=function(N){var H=cBf();H&&document.addEventListener(H,N,!1)}; +tbL=function(N){N=N.charCodeAt(0);return"%"+(N>>4&15).toString(16)+(N&15).toString(16)}; +tAl=function(N,H,c,t){function h(){N.uo()||t.call(N)} +function O(){N.uo()||c.call(N)} +for(var F=g.mx("SCRIPT"),M=!1,f,d=0;d0;H=[];if(t){h=(new Intl.NumberFormat("en-u-nu-latn")).format(h);var O=["fr"],F="az bs ca da de el es eu gl hr id is it km lo mk nl pt-BR ro sl sr sr-Latn tr vi".split(" "); +h="af be bg cs et fi fr-CA hu hy ka kk ky lt lv no pl pt-PT ru sk sq sv uk uz".split(" ").includes(P6)?h.replace(",","\u00a0"):O.includes(P6)?h.replace(",","\u202f"):F.includes(P6)?h.replace(",","."):h;H.push(h)}t=t===void 0?!1:t;c=(["af","be","lt"].includes(P6)||t)&&c<10?Dtl().format(c):(new Intl.NumberFormat("en-u-nu-latn")).format(c);H.push(c);c=Dtl().format(N);H.push(c);c=":";"da fi id si sr sr-Latn".split(" ").includes(P6)&&(c=".");return H.join(c)}; +hGv=function(N,H,c){H=H==null||typeof H==="boolean"?H:typeof H==="number"?!!H:void 0;H!=null&&(Xa(N,c,0),N.T.T.push(H?1:0))}; +U0=function(N,H){if((N=N.T.get(H))==null)N=void 0;else{N=N.buffer;for(H=[];N.B!==N.T;)N.B=(N.B+1)%N.data.length,H.push(N.data[N.B]);N=H}return N||[]}; +z3s=function(){var N=Q$y("IFRAME"),H={};g.uT(OCZ(),function(c){N.sandbox&&N.sandbox.supports&&N.sandbox.supports(c)&&(H[c]=!0)}); +return H}; +ot=function(N){g.L.call(this);this.T=N;this.B=FSy(this)}; +g.XH=function(N){try{if(!N.T)return null;if("response"in N.T)return N.T.response;switch(N.NT){case "":case "text":return N.T.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in N.T)return N.T.mozResponseArrayBuffer}return null}catch(H){return null}}; +CN=function(N){N.T=null;N.Us=-1;N.Z=0;N.S=null;N.NT=NaN;N.TW=0;N.Bp=null}; +Fj=function(N){g.e.call(this,{W:"div",fq:["html5-video-player"],V:{tabindex:N.D().disableOrganicUi?"":"-1",id:N.webPlayerContextConfig.rootElementId},X:[{W:"div",K:g.Jk.VIDEO_CONTAINER,V:{"data-layer":"0"}}]});var H=this;this.app=N;this.BJ=this.Sa(g.Jk.VIDEO_CONTAINER);this.xg=new g.HS(0,0,0,0);this.Wr=null;this.Sx=new g.HS(0,0,0,0);this.q9=this.oF=this.RF=NaN;this.JL=this.Wa=this.z_=this.cg=!1;this.hx=NaN;this.Vs=!1;this.p5=null;this.xM=new g.kT(function(){H.app.D().N("web_enable_smart_zoom")&&H.app.VS.getInternalApi().isAutocropEnabled()|| +H.resize()},100); +this.XD=function(){H.element.focus({preventScroll:!0})}; +this.bB=function(){H.app.VS.publish("playerUnderlayVisibilityChange","visible");H.Wr.classList.remove(g.Jk.VIDEO_CONTAINER_TRANSITIONING);H.Wr.removeEventListener(SV,H.bB);H.Wr.removeEventListener("transitioncancel",H.bB)}; +this.EH=this.bW=!1;var c=this.element.addEventListener,t=this.element.removeEventListener;this.addEventListener=function(O,F,M){c.apply(H.element,[O,F,M])}; +this.removeEventListener=function(O,F,M){t.apply(H.element,[O,F,M])}; +var h=N.D();h.transparentBackground&&this.TM("ytp-transparent");h.controlsType==="0"&&this.TM("ytp-hide-controls");g.bV(this.element,"ytp-exp-bottom-control-flexbox");g.bV(this.element,"ytp-modern-caption");h.N("enable_new_paid_product_placement")&&!g.ru(h)&&g.bV(this.element,"ytp-exp-ppp-update");g.bV(this.element,"ytp-livebadge-color");$Es(this.element,TqL(N));this.un=!1;this.sT=new g.rv(NaN,NaN);Ltv(this);this.G(N.VS,"onMutedAutoplayChange",this.onMutedAutoplayChange);g.l(this,this.xM)}; +ir=function(N){return(0,g.Lh)()-N.Y>=4E3}; +IHS=function(N,H,c,t,h,O,F,M){M=M===void 0?!1:M;if(H.xD&&F&&F.length>1&&!(H.CF>0||H.Z)){for(var f=H.T||!!h,d=f&&H.n4?O:void 0,W=Nhd(H,t),z=[],E=[],x={},q=0;q=H+(H-262)){xT.ji(N.window,N.window,H,H,0);N.cD-=H;N.cO-=H;N.wq-=H;var h=c=N.Eq;do{var O=N.head[--h];N.head[h]=O>=H?O-H:0}while(--c);h=c=H;do O=N.Sn[--h],N.Sn[h]=O>=H?O-H:0;while(--c);t+=H}if(N.bG.uc===0)break;h=N.bG;c=N.window;O=N.cO+N.sF;var F=h.uc;F>t&&(F=t);F===0?c=0:(h.uc-=F,xT.ji(c,h.input,h.lC,F,O),h.state.wrap===1?h.f6=Zfv(h.f6,c,F,O):h.state.wrap===2&&(h.f6=by(h.f6,c,F,O)),h.lC+=F,h.OC+=F,c=F);N.sF+=c;if(N.sF+N.X1>=3)for(t=N.cO- +N.X1,N.ac=N.window[t],N.ac=(N.ac<>31));d8(N,16,H.KGq);d8(N,17,H.detailedNetworkType);d8(N,18,H.eG);d8(N,19,H.GC);d8(N,21,H.Ruq);d8(N,23,H.BX);d8(N,28,H.ZF);d8(N,29,H.KEg);d8(N,34,H.visibility);c=H.playbackRate;if(c!==void 0){var t=new ArrayBuffer(4);(new Float32Array(t))[0]=c;c=(new Uint32Array(t))[0];if(c!==void 0)for(bK(N,285),hs(N,4),t=0;t<4;)N.view.setUint8(N.pos,c&255),c>>=8,N.pos+=1,t+=1}d8(N,36,H.Lj); +TY(N,38,H.mediaCapabilities,xc3,3);d8(N,39,H.uEs);d8(N,40,H.aX);d8(N,44,H.playerState);I3(N,46,H.Tq);d8(N,48,H.NJ);d8(N,50,H.xB);d8(N,51,H.h6);d8(N,54,H.In);if(H.MH)for(c=0;c0&&(this.B=c.ZZ)}; +kES=function(N,H){if(ufZ(N,H))return null;if(H.reason==="m"&&H.isLocked())return Wj(N,H),N.Z=N.U.length-1,QC(N),xB(N),N.Us=N.Us||N.L!==N.nextVideo,N.L=N.nextVideo,new PZ(N.B,N.L,H.reason);H.reason==="r"&&(N.TW=-1);Wj(N,H);xB(N);if(H.reason==="r"&&N.nextVideo===N.L)return new PZ(N.B,N.nextVideo,H.reason);N.L&&N.nextVideo&&z1(N,N.L.info)0;return N.Bu.length>0||H}return!(N==null||!N.TO)&&!(N==null||!N.XH.totalLength)}; +KKs=function(N){KA("getExitReason: unexpected reason",void 0,void 0,{reason:N})}; +ssl=function(N,H){N.S=H;N.L&&(N.L.L=H);N.S.qG(N.videoTrack.mR.info.RW());N.Y.B=N.S;N.policy.B&&(N.B.C=N.S)}; +g.n5R=function(N){this.data=N;this.T=0;this.U=!1;this.L=0;this.error=!1;this.register=this.B=0;if(c6.length===0){c6.length=288;c6.fill(8);for(N=144;N<280;N++)c6[N]=N<=255?9:7;eis.length=32;eis.fill(5);VY.length=286;VY.fill(0);for(N=261;N<285;N++)VY[N]=Math.floor((N-261)/4);XX[257]=3;for(N=258;N<285;N++){var H=XX[N-1];H+=1<>4);F!=64&&(H(O<<4&240|F>>2),M!=64&&H(F<<6&192|M))}}; +PGw=function(N,H){return g.sf("transport_use_scheduler")===!1?g.Zh(N,H):g.sf("logging_avoid_blocking_during_navigation")||g.sf("lr_logging_avoid_blocking_during_navigation")?g.ii(0,function(){if(Ydv().currentState==="none")N();else{var c={};Ydv().install((c.none={callback:N},c))}},H):Un(N,0,H)}; +mQD=function(N){g.h9("yt-player-bandwidth",N,2592E3)}; +g.Lo=function(N,H,c){g.Lu(Cf)(void 0,N,H,c,void 0)}; +CyL=function(N){this.S=N;this.L=this.B=0;this.U=new ui(50)}; +zGL=function(N){return(N.Y-N.T)/1E3}; +CFL=function(N){this.api=N;this.T={}}; +Efv=function(N,H){var c=eod(N);N.yR||(N.yR=new Q_(N.api),g.l(N,N.yR),g.aG(N.api,N.yR.element,4));N.yR.a4(H);var t=ms(N.api.g_());t&&t.loaded&&c!==H&&t.rI();H&&N.api.Lq("sfn",{},!0)}; +cQ=function(N){N=N.hF;return D0(N,N[A8]|0,KNs)}; +xEv=function(N){return N.J.D().experiments.M4("html5_load_empty_player_in_media_break_sub_lra")}; +Haw=function(N){var H,c,t;return g.Y(function(h){if(h.T==1)return g.a(h,Promise.race([N.T,null]),2);H=h.B;var O=f3(N);N.T=O;(c=H)==null||(t=c.BU)==null||t.dispose();g.Z3(h)})}; +qFf=function(N,H){a2(N.Pp.get(),{cuepointTrigger:{event:Hw3(H.event),cuepointId:H.identifier,totalCueDurationMs:H.C6*1E3,playheadTimeMs:H.T,cueStartTimeMs:H.startSecs*1E3,cuepointReceivedTimeMs:Date.now(),contentCpn:N.J.getVideoData(1).clientPlaybackNonce}})}; +Kd=function(N,H,c,t){N.wH&&(N.playbackStartPolicy=H,N.Js=c,N.Sp=t)}; +rkR=function(N){var H=new w6;Yo(N,function(c,t,h){H[t]=KM(h)}); +H.NG=N.NG;return H}; +GQ=function(N,H){yV.call(this,N,H,"chapterCueRange","View chapter");this.C=""}; +g.DF=function(N,H,c){this.name=N;this.id=H;this.isDefault=c}; +Zo=function(N,H){g.d9.call(this);this.ox=N;this.Y=H;this.S=void 0;this.status=this.readyState=0;this.responseType=this.responseText=this.response=this.statusText="";this.onreadystatechange=this.responseXML=null;this.TW=new Headers;this.B=null;this.Us="GET";this.Bp="";this.T=!1;this.C=this.L=this.U=null;this.Z=new AbortController}; +hC=function(N,H){return g.y(N.state,H)&&!g.y(N.oldState,H)?1:!g.y(N.state,H)&&g.y(N.oldState,H)?-1:0}; +Yj=function(N,H,c){B1.call(this,N,H,c)}; +p_t=function(N,H,c){var t,h,O;g.Y(function(F){if(F.T==1)return t={context:g.Yi(),settingItemId:H,newValue:c},h=g.kD(CzL),g.a(F,g.Ir(N,t,h),2);O=F.B;if(!O||O.errorMetadata)return gjd("SetSettingRequest",O),F.return(void 0);g.Z3(F)})}; +DxD=function(N){for(var H={nH:0};H.nH<16;H={nH:H.nH},++H.nH){var c=new g.e({W:"a",K:"ytp-suggestion-link",V:{href:"{{link}}",target:N.api.D().TW,"aria-label":"{{aria_label}}"},X:[{W:"div",K:"ytp-suggestion-image"},{W:"div",K:"ytp-suggestion-overlay",V:{style:"{{blink_rendering_hack}}","aria-hidden":"{{aria_hidden}}"},X:[{W:"div",K:"ytp-suggestion-title",Wp:"{{title}}"},{W:"div",K:"ytp-suggestion-author",Wp:"{{author_and_views}}"},{W:"div",V:{"data-is-live":"{{is_live}}"},K:"ytp-suggestion-duration", +Wp:"{{duration}}"}]}]});g.l(N,c);var t=c.Sa("ytp-suggestion-link");g.eU(t,"transitionDelay",H.nH/20+"s");N.L.G(t,"click",function(h){return function(O){var F=h.nH;if(N.B){var M=N.suggestionData[F],f=M.sessionData;N.S&&N.api.N("web_player_log_click_before_generating_ve_conversion_params")?(N.api.logClick(N.T[F].element),F=M.ZD(),M={},g.d7(N.api,M),F=g.Of(F,M),g.Yc(F,N.api,O)):g.KQ(O,N.api,N.S,f||void 0)&&N.api.V5(M.videoId,f,M.playlistId)}else O.preventDefault(),document.activeElement.blur()}}(H)); +c.Jl(N.suggestions.element);N.T.push(c);N.api.createServerVe(c.element,c)}}; +bDl=function(N,H){var c;if((c=N.questions)==null||!c.length||!N.playbackCommands||(H===void 0||!H)&&N.questions.length!==1)return!1;N=g.K(N.questions);for(H=N.next();!H.done;H=N.next()){H=H.value;var t=c=void 0,h=((c=g.P(H,aI))==null?void 0:c.surveyAdQuestionCommon)||((t=g.P(H,e1))==null?void 0:t.surveyAdQuestionCommon);if(!ONh(h))return!1}return!0}; +WZ=function(N){this.value=N}; +Yr=function(N,H){var c=0;N=g.K(N.B);for(var t=N.next();!t.done;t=N.next()){t=t.value;var h=t.gs/1E3+c,O=h+t.durationMs/1E3;if(h>H)break;if(O>H)return{ra:t,Vv:H-h};c=O-t.m9/1E3}return{ra:null,Vv:H-c}}; +AP=function(N,H,c,t){return U3(N,(N.state|H)&~c,null,t===void 0?null:t)}; +w03=function(N){if(N.Zf)if(N.LH(),N.Zf.Y)try{N.j.vO()&&N.Lq("rms",{l:"vprms",sr:N.YD(),rs:rd(N.Zf)});N.Zf.clear();var H;(H=N.mediaElement)==null||H.wT(N.Zf);N.Zf=null}catch(c){H=new g.ti("Error while clearing Media Source in VideoPlayer: "+c.name+", "+c.message),H=g8(H),N.handleError(H),N.md()}else N.md()}; +lLe=function(N){if(N!==void 0&&N.trim()!==""&&(N=Math.trunc(Number(N.trim())),!(isNaN(N)||N<0)))return N}; +KSd=function(N){var H=N.o4();if(!(g.y(H.getPlayerState(),64)&&N.Sg().isLivePlayback&&N.PO.startTimeMs<5E3)){if(N.PO.type==="repeatChapter"){var c,t=(c=l4R(N.g_()))==null?void 0:c.Gu(),h;c=(h=N.getVideoData())==null?void 0:h.bX;t instanceof g.ju&&c&&(h=c[ce(c,N.PO.startTimeMs)],t.renderChapterSeekingAnimation(0,h.title));isNaN(Number(N.PO.loopCount))?N.PO.loopCount=0:N.PO.loopCount++;N.PO.loopCount===1&&N.VS.QS("innertubeCommand",N.getVideoData().TP)}t={j_:"application_loopRangeStart"};if(N.PO.type=== +"clips"||N.PO.type==="shortsLoop")t.seekSource=58;H.seekTo(N.PO.startTimeMs*.001,t)}}; +Xge=function(N,H,c,t,h,O,F,M){N=gfL(N,c,O,F,t,function(f){var d=f.slotId;f=M(f);d=CA(H.B.get(),"LAYOUT_TYPE_FORECASTING",d);var W={layoutId:d,layoutType:"LAYOUT_TYPE_FORECASTING",Hp:"core"},z=new Map,E=h.impressionUrls;E&&z.set("impression",E);return{layoutId:d,layoutType:"LAYOUT_TYPE_FORECASTING",S1:z,layoutExitNormalTriggers:[new mR(H.T,d)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],Hp:"core",clientMetadata:new xd([new xs(h), +new Xe(c)]),z0:f(W)}}); +return N instanceof S?N:[N]}; +ERD=function(N){var H={},c,t=(c=N.t7)==null?void 0:c.kc/1E3;t!=null&&(H.SURVEY_ELAPSED_MS=BQ(function(){return Math.round(t*1E3).toString()})); +H.SURVEY_LOCAL_TIME_EPOCH_S=BQ(function(){return Math.round(Date.now()/1E3).toString()}); +return H}; +UxR=function(N,H,c,t,h,O,F){if(!c.prefetchModeConfig)return new S("AdPlacementConfig for Live Prefetch is missing prefetch_config");c=c.prefetchModeConfig;t*=1E3;var M=[];if(!c.breakLengthMs)return new S("AdPlacementConfig for Live Prefetch is missing break_length_ms");for(var f=g.K(c.breakLengthMs),d=f.next();!d.done;d=f.next())if(d=d.value,Number(d)>0){var W=t+Number(c.startTimeOffsetMs),z=W+Number(c.cacheFetchSmearingDurationMs);d={D7:new Hv(z,z+Number(d)),fu:!1,u7:new Hv(Math.floor(W+Math.random()* +Number(c.cacheFetchSmearingDurationMs)),z),cueProcessedMs:t?t:W};W=[];W.push(new Mo({}));z=[];z.push(new Pmh(N.T));z.push(new iTw(N.T));F&&W.push(new kt({}));M.push(mul(N,H,h,d,O,W,z))}return M}; +XeR=function(N,H){$z(N,1,H.name);$z(N,2,H.value)}; +aK=function(N,H,c){N=N.loader.HO()||0;return gZ(H,(c+N)*1E3)/1E3+c}; +rXl=function(N,H,c,t,h,O){t.index&&(h.playlistIndex=String(Number(t.index)+1));h.videoId=c?c:"";H&&O.M4("embeds_enable_per_video_embed_config")?h.serializedThirdPartyEmbedConfig=H:N&&(h.serializedThirdPartyEmbedConfig=N)}; +mEv=function(N){var H="Off 10 15 20 30 45 60".split(" "),c;((c=N.J.getVideoData())==null?0:c.isLivePlayback)||H.push("End of video");c=N.J.getPlaylist();var t;c&&((t=c.listId)==null?void 0:t.type)!=="RD"&&H.push("End of playlist");N.Ad(g.jm(H,N.CH));N.Y=g.fn(H,N.CH,N);H=N.CH("End of video");N.options[H]&&g.et(N.options[H],N.B)}; +ce3=function(N){N.JF.TW=(0,g.Lh)();N=we(N);N.B=(0,g.Lh)();N.started+=1}; +SN=function(){var N=window,H=N.MSMediaKeys;nU()&&!H&&(H=N.WebKitMediaKeys);return H&&H.isTypeSupported?H:null}; +mm=function(N){return g.Iy(N.j)&&N.videoData.isLivePlayback&&(!N.j.N("html5_allow_multiview_tile_preload")||!N.videoData.qA)}; +e5=function(N,H){N.S||(H=new g.I$(H.state,new g.Nb),N.S=!0);return H}; +uYw=function(N,H){return Sa(N)?H!==1&&H!==2&&H!==0?"AUTOPLAY_STATUS_UNAVAILABLE":N.XA?"AUTOPLAY_STATUS_BLOCKED":"AUTOPLAY_STATUS_OCCURRED":"AUTOPLAY_STATUS_NOT_ATTEMPTED"}; +a6v=function(N){var H;return(N=N==null?void 0:(H=N.error)==null?void 0:H.code)&&N>=400&&N<=599?!1:!0}; +GK=function(N){return yY(N)>0}; +AWe=function(N){for(var H=Array(N.T),c=0;cc+1&&H=2)||F.isComplete()||F.Jf()||!(!N.loader.Zf||N.loader.isSuspended||wz(d)>3)){var W=msL(F,N.policy,N.U);W===1&&(N.ox=!0);pC3(N,F,W);if(F.isComplete()||F.uo()&&M<3){if(N.policy.L){var z=F.timing.H_();z.rst=F.state;z.strm=F.xhr.hg();z.cncl=F.xhr&&F.Ke.S?1:0;N.loader.Lq("rqs",z)}F.EM&&N.loader.Lq("sbwe3",{},!0)}if(!N.uo()&&F.state>=2){gJd(N.timing,F,f);var E=N.loader;N.u$&&F.Cx&&E&&(N.u$=NaN,N.loader.d1(F.Cx),N.loader.k0(),N.loader.Lq("cabrUtcSeek",{mediaTimeSeconds:F.Cx}));F.Wn&&N.u$&&F.Wn&& +!F.Wn.action&&(N.loader.ke(N.u$),N.u$=NaN,N.loader.Lq("cabrUtcSeekFallback",{targetUtcTimeSeconds:N.u$}));F.u3&&N.loader.v1(F.u3);N.policy.AN&&(N.TZ=F.TZ);if(F.state===3){go(d,F);jN(F.info)&&JP(N,d,f,!0);if(N.B){var x=F.info.gD();x&&N.B.uw(F.info.L4[0].Y_,f.info.id,x)}N.loader.Ec()}else if(F.isComplete()&&F.info.L4[0].type===5){if(F.state!==4)F.OG()&&N.loader.handleError(F.Wd(),F.Gv());else{var q=(F.info.L4[0].mR.info.video?N.videoTrack:N.audioTrack).B[0]||null;q&&q instanceof m$&&q.Jf()&&q.Ry()}F.dispose()}else{if(!F.OG()&& +F.d5&&F.state>=2&&F.state!==3){var r=F.xhr.getResponseHeader("X-Response-Itag");if(r){var w=RJl(N.L,r),n=F.info.L;if(n){var p=n-w.fV();w.L=!0;F.info.L4[0].mR.L=!1;var U=w.cJ(p);F.info=U;if(F.Ie){var X=F.Ie,A=U.L4;(A.length!==X.L4.length||A.length=N.policy.Ss&&N.B&&F.info.isDecorated()&&Ks==="net.badstatus"&&N.B.Uf(Fc,Tx))){var ol=(cL.info.video&&cL.JF.L>1||F.zE===410||F.zE===500||F.zE===503)&&!(Ci(N.L.S).size>0)&&!mG(28,cL.JF.T),Q=F.Gv(),cW=cL.info.video?N.videoTrack:N.audioTrack;ol&&(Q.stun="1");N.loader.handleError(Ks,Q);N.uo()||(ol&&Ki(N.L,cL),go(cW,F),N.loader.Ec())}}else w= +1,N.B&&F.info.isDecorated()&&Ks==="net.badstatus"&&N.B.Uf(Fc,Tx)&&(w=0),N.GW.isLive&&F.Wd()==="net.badstatus"&&N.Y<=N.policy.Gn*2?(Dql(N.GW),N.GW.K6||N.GW.isPremiere?y8(N.loader,0,{j_:"badStatusWorkaround"}):N.GW.U?y8(N.loader,N.GW.ZG,{j_:"badStatusWorkaround",SH:!0}):yu(N.loader)):N.loader.handleError(Ks,F.Gv(),w);isNaN(N.u$)||(N.loader.ke(N.u$),N.u$=NaN)}N.policy.mz&&!F.isComplete()?oky(N.loader):N.loader.Ec();var U4=PDf(F,N.policy,N.U);pC3(N,F,U4)}}}}}catch(Xc){Ks=N.Us?1:0,N.Us=!0,F=uO(Ks),Ks= +g8(Xc,Ks),N.loader.handleError(Ks.errorCode,Ks.details,Ks.severity),F||N.loader.yB()}},t)}; +T4y=function(N){N.ox||(N.ox=(0,g.Lh)(),g.DO("oafs_rp",N.ox,N.T))}; +er=function(N,H,c,t){if(H===-1)return null;var h=H+(c?0:-1),O=N.length-1;if(!(O<1+(c?0:-1))){if(h>=O){var F=N[O];if(F!=null&&typeof F==="object"&&F.constructor===Object){c=F[H];var M=!0}else if(h===O)c=F;else return}else c=N[h];if(t&&c!=null){t=t(c);if(t==null)return t;if(!Object.is(t,c))return M?F[H]=t:N[h]=t,t}return c}}; +H_h=function(N){var H;return g.Y(function(c){if(c.T==1){if(!N.BU.wpc)throw new fZ(30,"NWA");return N.T?c.return(N.T):g.a(c,N.BU.wpc(),2)}H=c.B;N.T=new ev(H);return c.return(N.T)})}; +JXD=function(N,H,c,t){var h=lS(N.B.get(),"SLOT_TYPE_IN_PLAYER");c=new Os(N.T,c);var O=[new gX(N.T,h)],F=[new rX(N.T,h),new mZ(N.T,H)];O={slotId:h,slotType:"SLOT_TYPE_IN_PLAYER",slotPhysicalPosition:1,Hp:"core",slotEntryTrigger:c,slotFulfillmentTriggers:O,slotExpirationTriggers:F};return{slotId:h,slotType:"SLOT_TYPE_IN_PLAYER",slotPhysicalPosition:1,slotEntryTrigger:c,slotFulfillmentTriggers:[new gX(N.T,h)],slotExpirationTriggers:[new mZ(N.T,H),new rX(N.T,h)],Hp:"core",clientMetadata:new xd([new pZ(t(O))])}}; +pQR=function(N){N=v$e(N);return vZ(N)}; +c6L=function(N){N.ZG=0;N.MJ=0;N.Cp=0}; +I7y=function(N){for(var H,c=[];!(H=N.next()).done;)c.push(H.value);return c}; +nfw=function(N){for(var H=g.K(N.B.values()),c=H.next();!c.done;c=H.next())N.playback.removeCueRange(c.value);N.B.clear();N.Us.clearAll()}; +WOZ=function(N,H){var c=H.onError?H.onError:function(){}; +H.onError=function(h,O){up().requestComplete(N,!1);c(h,O)}; +var t=H.onSuccess?H.onSuccess:function(){}; +H.onSuccess=function(h,O){up().requestComplete(N,!0);t(h,O)}}; +F_=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x,q,r,w,n,p,U,X,A){this.Le=N;this.PH=H;this.ZM=c;this.ea=t;this.ID=h;this.k_=O;this.mx=F;this.Pp=M;this.tV=f;this.jg=d;this.r_=W;this.j7=z;this.Nc=E;this.kO=x;this.YO=q;this.Mi=r;this.V4=w;this.bl=n;this.Rx=p;this.T=U;this.context=X;this.dR=A}; +Jt=function(){g.L.call(this);this.Fr=!1;this.JF=null;this.NT=this.ox=!1;this.TW=new g.d9;this.Bp=this.wE=null;g.l(this,this.TW)}; +tIs=function(N,H){for(var c=0;c+1t}; +SFd=function(N,H,c,t,h){var O,F,M;return g.Y(function(f){if(f.T==1)return g.a(f,g.D6(),2);if(f.T!=3){O=f.B;if(!O)throw g.P2("rc");return g.a(f,g.uf(O),3)}F=f.B;M=g.zu(F,["media"],{mode:"readonly",tag:"IDB_TRANSACTION_TAG_LMRM"},function(d){var W=""+N+"|"+H+"|"+c+"|"+String(t).padStart(10,"0");return d.objectStore("media").get(W)}); +return h?f.return(M.then(function(d){if(d===void 0)throw Error("No data from indexDb");return oMe(h,d)}).catch(function(d){throw new g.ti("Error while reading chunk: "+d.name+", "+d.message); +})):f.return(M)})}; +hP=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);wl(this.api,"updateFullerscreenEduButtonSubtleModeState",function(t){H.updateFullerscreenEduButtonSubtleModeState(t)}); +wl(this.api,"updateFullerscreenEduButtonVisibility",function(t){H.updateFullerscreenEduButtonVisibility(t)}); +var c=N.D();N.N("external_fullscreen_with_edu")&&c.externalFullscreen&&V8(c)&&c.controlsType==="1"&&this.events.G(N,"standardControlsInitialized",function(){H.T=new nf(N);g.l(H,H.T);N.Xa(H.T)})}; +Qc3=function(N,H,c){return c.triggeringSlotId!=null&&c.triggeringSlotId===N?c.clone(H):c}; +g.VI=function(N,H,c){N.T=H;N.Y=c||0}; +b6=function(N,H){var c=N.api.BO().lR(),t=N.api.UG(!0,!1);return(H=PA(c,c.height-(t.height+t.top),H))?(N.Kq&&H&&(c=g.dP(N.macros),c.ERRORCODE=H.QD.toString(),c.ERROR_MSG=H.errorMessage,N.layoutId?zH(N.yS,N.Kq,N.layoutId,c):g.BZ(Error("Missing layoutId for invideo_overlay_ad."))),!0):!1}; +NC=function(N,H,c,t,h,O){g.L.call(this);var F=this;this.Y=N;this.jg=H;this.k_=c;this.Pp=t;this.G6=O;this.T=null;this.U=!1;this.AY=!0;this.tF=new Map;H.get().addListener(this);this.addOnDisposeCallback(function(){H.uo()||H.get().removeListener(F)}); +h.get().addListener(this);this.addOnDisposeCallback(function(){h.uo()||h.get().removeListener(F)})}; +U$h=function(N){return N?(N=("responseXML"in N?N.responseXML:N).getElementsByTagName("root"))&&N.length>0?N[0]:null:null}; +qEw=function(N,H){H=H===void 0?!1:H;if(!N.mediaElement||N.mediaElement.gJ()===0||N.mediaElement.hasError())return!1;var c=N.mediaElement.getCurrentTime()>0;return N.videoData.L&&N.videoData.L.T||N.videoData.isLivePlayback||!N.videoData.f2()?N.B>=0&&!H&&(H=N.mediaElement.v0(),H.length||!c)?t1(H,N.B-N.timestampOffset):c:c}; +var t6l=function(N,H,c,t,h,O){return rh[T[3]](this,4,N,H,c,t,h,O)}; +FMv=function(N,H){if(!q73())throw Error();N.Rv(N.value,H)||(N.value=H,N.version++,PzD++,UEv(N))}; +Vk=function(N,H){if(N=$F(H)[N])return typeof N==="number"?N:N[N.length-1]}; +A$f=function(N,H){var c;if(H=H==null?void 0:(c=H.watchEndpointSupportedOnesieConfig)==null?void 0:c.html5PlaybackOnesieConfig)N.dX=new lFR(H)}; +nMv=function(N){var H=FP(BV().Ce,"sneio")==1,c=N.B.tI.AFMA_LIDAR_EXP_1!==void 0,t=N.B.tI.AFMA_LIDAR_EXP_2!==void 0;(H=H&&t)&&(N.B.tI.AFMA_LIDAR_EXP_2=!0);c&&(N.B.tI.AFMA_LIDAR_EXP_1=!H)}; +LSd=function(N){var H;if(!jHS.test("div"))throw Error("");if(XCD.indexOf("DIV")!==-1)throw Error("");var c="":(N=Ppd(H.map(function(t){return t instanceof ad?t:s4(String(t))})),c+=">"+N.toString()+""); +return vZ(c)}; +HG=function(N){var H=N.api.D().N("enable_linear_program_progress"),c=N.api.getPresentingPlayerType()===2;return N.sP&&!bq(N)&&(!H||!N.B)&&!c}; +YFh=function(){ZCv=J53=stw=xV=null}; +vAR=function(N){var H=[],c=[].concat(g.HE(N.mf));N.Eu.forEach(function(F){H.push(Object.assign({},F))}); +for(var t=N.T,h=g.K(N.C.Lt()),O=h.next();!O.done;O=h.next())t=AXw(N,H,c,O.value,t);H.forEach(function(F){F.startTimeMs&&(F.startTimeMs+=N.timestampOffset*1E3)}); +return{Eu:H,mf:c}}; +Bkv=function(N,H,c){N.GW=H;N.wk=c;H=g.K(N.Hr);for(c=H.next();!c.done;c=H.next()){var t=g.K(c.value);c=t.next().value;t=t.next().value;for(var h=g.K(t.uT),O=h.next();!O.done;O=h.next()){O=O.value;var F=aLD(N,c,O);DOf(N,O.jH,t,F)}}}; +ZQs=function(N,H,c){if(N.appInstallData)if(H){var t;c=(t=GL(H,$k,62))!=null?t:new $k;ES(c,6,N.appInstallData);ko(H,$k,62,c)}else c&&(c.client.configInfo=c.client.configInfo||{},c.client.configInfo.appInstallData=N.appInstallData)}; +kS=function(N,H){g.O7(N.S,H)||(N.S.push(H),H.jy(N.T),H.d4(N.U),H.JV()&&(N.TW=!0))}; +eGw=function(N){N.length===1||g.Mp(N,function(c){return!!c.range}); +for(var H=1;HH&&N.S=3&&N.cO>0&&(t=N.cO-1,c=O[t],c===O[++t]&&c===O[++t]&&c===O[++t])){for(h=N.cO+258;c===O[++t]&&c===O[++t]&&c===O[++t]&&c===O[++t]&&c===O[++t]&&c===O[++t]&&c===O[++t]&&c===O[++t]&&tN.sF&&(N.oW=N.sF)}N.oW>=3?(c=eC(N,1,N.oW-3),N.sF-=N.oW,N.cO+=N.oW,N.oW=0):(c=eC(N,0,N.window[N.cO]),N.sF--,N.cO++);if(c&&(vJ(N,!1),N.bG.Aj===0))return 1}N.X1=0;return H=== +4?(vJ(N,!0),N.bG.Aj===0?3:4):N.l1&&(vJ(N,!1),N.bG.Aj===0)?1:2}; +fLZ=function(N,H,c,t){c=c===void 0?{}:c;var h={};g.NY(h,{opt_adElement:void 0,opt_fullscreen:void 0},c);var O=N.LD(H,c);c=O?O.Kh:N.Ig();if(h.opt_bounds)return c.T(lI("ol",t));if(t!==void 0)if(u6D(t)!==void 0)if(oNf)N=lI("ue",t);else if(kAt(N),IF=="i")N=lI("i",t),N["if"]=0;else if(H=N.LD(H,h)){b:{IF=="i"&&(H.sB=!0);O=h.opt_fullscreen;O!==void 0&&YA(H,!!O);var F;if(O=!yG().B)(O=OL(g.tA(),"CrKey")&&!(OL(g.tA(),"CrKey")&&OL(g.tA(),"SmartSpeaker"))||OL(g.tA(),"PlayStation")||OL(g.tA(),"Roku")||RnS()|| +OL(g.tA(),"Xbox"))||(O=g.tA(),O=OL(O,"AppleTV")||OL(O,"Apple TV")||OL(O,"CFNetwork")||OL(O,"tvOS")),O||(O=g.tA(),O=OL(O,"sdk_google_atv_x86")||OL(O,"Android TV")),O=!O;O&&(jl(),O=YV(Uh)===0);if(F=O){switch(H.Zj()){case 1:rOe(H,"pv");break;case 2:N.UH(H)}bb("pv")}O=t.toLowerCase();if(F=!F)F=FP(BV().Ce,"ssmol")&&O==="loaded"?!1:g.O7(sRh,O);if(F&&H.DG==0){IF!="i"&&(kG.done=!1);F=h!==void 0?h.opt_nativeTime:void 0;Rv=F=typeof F==="number"?F:UW();H.dw=!0;var M=L2();H.DG=1;H.Nf={};H.Nf.start=!1;H.Nf.firstquartile= +!1;H.Nf.midpoint=!1;H.Nf.thirdquartile=!1;H.Nf.complete=!1;H.Nf.resume=!1;H.Nf.pause=!1;H.Nf.skip=!1;H.Nf.mute=!1;H.Nf.unmute=!1;H.Nf.viewable_impression=!1;H.Nf.measurable_impression=!1;H.Nf.fully_viewable_audible_half_duration_impression=!1;H.Nf.fullscreen=!1;H.Nf.exitfullscreen=!1;H.u8=0;M||(H.vv().Z=F);sN(kG,[H],!M)}(F=H.EC[O])&&Jy(H.FO,F);FP(BV().Ce,"fmd")||g.O7(B2R,O)&&H.XV&&H.XV.B(H,null);switch(H.Zj()){case 1:var f=Kf(O)?N.C.custom_metric_viewable:N.C[O];break;case 2:f=N.Z[O]}if(f&&(t=f.call(N, +H,h,t),FP(BV().Ce,"fmd")&&g.O7(B2R,O)&&H.XV&&H.XV.B(H,null),t!==void 0)){h=lI(void 0,O);g.NY(h,t);t=h;break b}t=void 0}H.DG==3&&N.wZ(H);N=t}else N=lI("nf",t);else N=void 0;else oNf?N=lI("ue"):O?(N=lI(),g.NY(N,s9l(O,!0,!1,!1))):N=lI("nf");return typeof N==="string"?c.T():c.T(N)}; +fpS=function(N,H,c){var t=this;this.loader=N;this.policy=H;this.mR=c;this.logger=new g.mE("dash");this.B=[];this.T=null;this.Us=-1;this.Z=0;this.NT=NaN;this.TW=0;this.L=NaN;this.C=this.Cq=0;this.zW=-1;this.Ix=this.U=this.S=this.ox=null;this.Xg=this.vp=NaN;this.Y=this.Bp=this.Kq=this.w_=null;this.Al=!1;this.gE=this.timestampOffset=0;this.Br={Lt:function(){return t.B}}; +if(this.policy.U){var h=this.mR,O=this.policy.U;this.policy.Al&&N.Lq("atv",{ap:this.policy.Al});this.Y=new T5(this.policy,h,function(F,M,f){N.wE.f0(new $7(t.policy.U,2,{So:new rqL(O,F,h.info,M,f)}))}); +this.Y.Z.promise.then(function(F){t.Y=null;F===1?N.wE.f0(new $7(t.policy.U,F)):t.loader.Lq("offlineerr",{status:F.toString()})},function(F){var M=(F.message||"none").replace(/[+]/g,"-").replace(/[^a-zA-Z0-9;.!_-]/g,"_"); +F instanceof aF&&!F.T?(t.loader.Lq("offlinenwerr",{em:M}),qr(t),N.wE.f0(new $7(t.policy.U,4))):(t.loader.Lq("dldbwerr",{em:M}),qr(t),N.wE.f0(new $7(t.policy.U,4,{k5:!0})))})}}; +yXZ=function(N){N.S&&N.Cq.element.removeChild(N.S.element);N.S=void 0}; +He=function(N){var H,c,t;return N.playerResponse&&N.playerResponse.paidContentOverlay&&N.playerResponse.paidContentOverlay.paidContentOverlayRenderer||g.P((H=N.ox)==null?void 0:(c=H.playerOverlays)==null?void 0:(t=c.playerOverlayRenderer)==null?void 0:t.playerDisclosure,Gtf)||null}; +wX=function(N,H,c){this.T=H;this.triggerType="TRIGGER_TYPE_CLOSE_REQUESTED";this.triggerId=c||N(this.triggerType)}; +MjL=function(){RGh||(RGh=hV(g.YI("WORKER_SERIALIZATION_URL")));return RGh||void 0}; +ejv=function(N,H,c,t){c+="."+N;N=Fn(H);t[c]=N;return c.length+N.length}; +ofD=function(N,H){N.J.getPlayerStateObject().isCued()||H?H&&(N.NT.hide(),N.Ix.hide(),N.muteButton&&N.muteButton.lX(!1),N.S&&N.S.lX(!1),N.U&&N.U.lX(!1),N.J.aU(N.N4())):H||(N.NT.show(),N.Ix.show(),N.muteButton&&N.muteButton.lX(!0),N.S&&N.S.lX(!0),N.U&&N.U.lX(!0),N.vD())}; +v6=function(N){window.bgens=N}; +JI3=function(N){this.xhr=N}; +g.s0=function(N){return(new gXh).UR(N)}; +kth=function(){}; +qM=function(N){N.M2&&(N.M2.dispose(),N.M2=null)}; +ILf=function(N){N.U1+H&&N.api.toggleFullscreen()}; +NBe=function(N){var H,c,t=(H=N.T)==null?void 0:(c=H.bannerData)==null?void 0:c.itemData,h,O,F,M;if(!((t==null?0:t.priceReplacementText)||N.J.N("web_player_enable_featured_product_banner_promotion_text_on_desktop")||(t==null?0:(h=t.dealsData)==null?0:(O=h.sales)==null?0:O.originalPrice))&&(t==null?0:(F=t.dealsData)==null?0:(M=F.priceDrop)==null?0:M.referencePrice)){var f,d;return t==null?void 0:(f=t.dealsData)==null?void 0:(d=f.priceDrop)==null?void 0:d.referencePrice}return null}; +pDR=function(N){var H;if(!(H=!N.T)){H=N.T;var c=window.getComputedStyle(H);H=c.display==="none"||c.visibility==="hidden"||H.getAttribute("aria-hidden")==="true"}if(H||N.J.isMinimized())N.a4(!1);else if(H=g.WQ(N.T),H.width&&H.height){N.J.t2(N.element,N.T);var t=N.J.BO().getPlayerSize().height;c=g.WQ(N.Sa("ytp-promotooltip-container")).height;N.L?N.element.style.top=t-c-H.height-12+"px":N.C||(t=N.J.UG().height-c-H.height-12,N.element.style.top=t+"px");t=N.Sa("ytp-promotooltip-pointer");var h=g.PW(N.T, +N.J.getRootNode()),O=Number(N.element.style.left.replace(/[^\d\.]/g,""));N=N.J.isFullscreen()?18:12;t.style.left=h.x-O+H.width/2-N+"px";t.style.top=c+"px"}else N.a4(!1)}; +Hth=function(N){N=Math.trunc(N)||0;N<0&&(N+=this.length);if(!(N<0||N>=this.length))return this[N]}; +Ib=function(N,H){return(N=N.G0(H))?N.toString():""}; +lx=function(N){return N.Es.N("html5_disable_av1")?!0:!1}; +Pnd=function(N,H,c,t,h,O,F){H=ysw(H,O,Number(t.prefetchMilliseconds)||0,F);N=H instanceof S?H:mul(N,t,h,H,c);return N instanceof S?N:[N]}; +itw=function(N,H,c){if(c.info.mR.Oa()){if(N.Al&&$5t(c)&&(H=g.sn(c),H=g.Yv(H,0,1953658222))){H.skip(1);var t=mr(H)<<16|QJ(H),h=t&1,O=t&4;if(t&256){var F=t&512,M=t&1024;t&=2048;var f=wm(H);f<2||(h&&H.skip(4),O&&H.skip(4),h=wm(H),H.skip((f-1)*(4+(F?4:0)+(M?4:0)+(t?4:0))-4),H.data.setUint32(H.offset+H.T,h))}}if(H=N.ox&&!!N.ox.mR.U)if(H=c.info.KG())H=E$Z(c),F=N.ox,wf?(M=1/H,H=Q1(N,H)>=Q1(F)+M):H=N.getDuration()>=F.getDuration(),H=!H;H&&$5t(c)&&(H=N.ox,wf?(M=E$Z(c),F=1/M,M=Q1(N,M),H=Q1(H)+F-M):H=H.getDuration()- +N.getDuration(),H=1+H/c.info.duration,tqs(g.sn(c),H))}else{F=!1;N.S||(AnR(c),c.T&&(N.S=c.T,F=!0,h=c.info,O=c.T.cz,h.Y="updateWithEmsg",h.Y_=O,h=c.T,h.Xy&&(O=N.mR.index,O.B=!h.Xy,O.L="emsg"),h=c.info.mR.info,O=g.sn(c),g.vs(h)?jCe(O,1701671783):h.RW()&&ZS([408125543],307544935,O)));a:if((h=NB(c,N.policy.T3))&&cMd(c))M=h7y(N,c),N.C+=M,h-=M,N.TW+=h,N.L=N.policy.HQ?N.L+h:NaN;else{if(N.policy.i5){if(O=f=N.loader.SH(g.TA(c),1),N.L>=0&&c.info.type!==6){if(N.policy.HQ&&isNaN(N.vp)){g.aS(new g.ti("Missing duration while processing previous chunk", +c.info.uX()));N.loader.isOffline()&&!N.policy.XS||Diw(N,c,O);Fg(N,"m");break a}t=f-N.L;var d=t-N.C,W=c.info.Y_,z=N.Ix?N.Ix.Y_:-1,E=N.Xg,x=N.vp,q=N.policy.p7&&t>N.policy.p7,r=Math.abs(d)>10,w=Math.abs(N.L-O)<1E-7;if(Math.abs(d)>1E-4){N.gE+=1;var n=(M=N.S)==null?void 0:gGt(M);M={audio:""+ +N.ll(),sq:W.toFixed(),sliceStart:f,lastSq:z.toFixed(),lastSliceStart:E,lastSliceDuration:x,totalDrift:(t*1E3).toFixed(),segDrift:(d*1E3).toFixed(),skipRewrite:""+ +(q||r)};if(n==null?0:n.length)M.adCpn=n[0];N.loader.handleError("qoe.avsync", +M);N.zW=W}q||r||w||(O=N.L);M=h7y(N,c,f);h-=M;N.C=t+M}}else O=isNaN(N.L)?c.info.startTime:N.L;Diw(N,c,O)&&(N.TW+=h,N.L=O+h,N.policy.N8&&N.gE>=N.policy.N8&&(N.gE=0,N.loader.Z7({resetForRewrites:"count"})))}N.Ix=c.info;N.vp=VM(c);c.L>=0&&(N.Xg=c.L);if(F&&N.S){F=x$L(N,!0);SX(c.info,F);N.T&&SX(N.T.info,F);H=g.K(H);for(M=H.next();!M.done;M=H.next())M=M.value,h=void 0,N.policy.S&&M.Y_!==((h=N.S)==null?void 0:h.cz)||SX(M,F);(c.info.L||N.T&&N.T.info.L)&&c.info.type!==6||(N.Bp=F,N.policy.B?(H=qUw(N.S),N.loader.G8(N.mR, +F,H)):(H=N.loader,H.GW.isManifestless&&ezv(H,F,null,!!N.mR.info.video)),N.policy.kD||Ci3(N))}}wve(N,c);N.timestampOffset&&aiZ(c,N.timestampOffset)}; +cm3=function(N){if(N.csn!==g.gi())if(N.csn==="UNDEFINED_CSN")N.csn=g.gi();else{var H=g.gi(),c=g.kV();if(H&&c){N.csn=H;for(var t=g.K(N.elements),h=t.next();!h.done;h=t.next())(h=h.value.visualElement)&&h.isClientVe()&&H&&c&&(g.sf("combine_ve_grafts")?Dz(qu(),h,c):g.Lu(g.Iw)(void 0,H,c,h))}if(H)for(N=g.K(N.T),c=N.next();!c.done;c=N.next())(c=c.value.visualElement)&&c.isClientVe()&&g.Qj(H,c)}}; +Zl=function(N){if(!N.isProximaLatencyEligible)return 0;var H=rf();return tHe(N)?2:H===1?1:N.N("html5_enable_proxima")?2:0}; +oFL=function(N,H,c){if(aGd){var t;N.mediaElement.Kb("rms",{l:"mswssb",sr:(t=N.mediaElement.wE)==null?void 0:t.YD()},!1);H.Cm(N.C,N);c.Cm(N.C,N)}N.T=H;N.B=c;g.l(N,H);g.l(N,c)}; +hQw=function(N){switch(N){case "multiview.ustreamer_disabled":case "sabr.live_no_max_sq":case "sabr.live_unauthorized_request":case "sabr.malformed_config":case "sabr.media_serving_enforcement_id_error":case "sabr.metadata_fetcher_error":case "sabr.no_audio_selected":case "sabr.no_available_formats":case "sabr.no_redirect_url":case "sabr.no_video_selected":case "sabr.too_many_chunk_reader_error_retries":return N;default:return"sabr.config"}}; +Otf=function(N,H){$z(N,1,H.cpn);d8(N,2,H.sequenceNumber);$z(N,3,H.serializedWatchEndpointLoggingContext);if(H.decoderInfo)for(var c=0;c1E4?t.XE=1:c=!0}}if(c)return!1}else if(c=!1,N.Us.B===2?c=!0:N.Us.B===3&&(Y7(N),N.loader.HO(),h=Au(N.audioTrack,N.loader.isSeeking()).Eu, +H=Au(N.videoTrack,N.loader.isSeeking()).Eu,t=N.loader.getCurrentTime()||0,h=aK(N,h,t),H=aK(N,H,t),H=Math.min(h,H),t=N.Us,H>=t.S?(t.Lq("sdai",{haltrq:H,est:t.S}),H=!0):H=!1,H&&(c=!0)),c&&N.policy.C&&N.loader.Lq("sabrcrq",{waitad:1}),c)return!1;N.policy.L2&&(N.Ix=aH(N,N.audioTrack),N.Cq=aH(N,N.videoTrack));if(!N.L)return N.policy.C&&N.loader.Lq("sabrcrq",{nopolicy:1}),!0;if(N.wE.G$())return N.policy.C&&N.loader.Lq("sabrcrq",{utc:1}),!0;if(N.B.C)return N.policy.C&&N.loader.Lq("sabrcrq",{audio:1}),!0; +if(N.policy.SL&&N.B.TW)return N.policy.C&&N.loader.Lq("sabrcrq",{constraint:1}),!0;if(!N.L.targetAudioReadaheadMs||!N.L.targetVideoReadaheadMs)return N.policy.C&&N.loader.Lq("sabrcrq",{noreadahead:1}),!0;if(N.policy.S&&N.loader.MV())return N.policy.C&&N.loader.Lq("sabrcrq",{seekToHead:1}),!0;c=Math.min(QE(N.loader,N.audioTrack)*1E3,N.L.targetAudioReadaheadMs);H=Math.min(QE(N.loader,N.videoTrack)*1E3,N.L.targetVideoReadaheadMs);var F=Math.min(c,H),M=N.wE.getCurrentTime()*1E3,f=MYZ(N,M);t=f.y6;h=f.nN; +O=f.J$;f=f.HP;var d=t=0;F--){var M=h.B[F];M.info.Y_>=H&&(h.B.pop(),h.L-=NB(M,h.policy.T3),O=M.info)}O&&(h.U=h.B.length>0?h.B[h.B.length-1].info:h.Kq,h.B.length!==0||h.U||Fg(h,"r"));h.loader.Lq("mdstm",{rollbk:1,itag:O?O.mR.info.itag:"",popped:O?O.Y_:-1,sq:H,lastslc:h.U?h.U.Y_:-1,lastfraget:h.L.toFixed(3)});if(N.policy.T)return N.T=null,!0;t>c?VV(N,t):N.T=N.mR.HM(H-1,!1).L4[0]}catch(f){return H=g8(f),H.details.reason= +"rollbkerr",N.loader.handleError(H.errorCode,H.details,H.severity),!1}return!0}; +W2v=function(N,H){xUR(N.program,H.l$a)&&(OZ("bg_i",void 0,"player_att"),g.jv.initialize(N,function(){OZ("bg_l",void 0,"player_att");lK=(0,g.Lh)()},H.cspNonce,H.qf))}; +Or=function(N,H){return!N.Y&&VW()&&uH(55)&&N.controlsType==="3"&&!H}; +nl=function(N){return N.ox==="adunit"||N.playerStyle==="gvn"}; +g.eP=function(N){var H=[];if(N.displayName)H.push(N.displayName);else{var c=N.languageName||"";H.push(c);N.kind==="asr"&&c.indexOf("(")===-1&&H.push(" (Automatic Captions)");N.name&&H.push(" - "+N.name)}N.translationLanguage&&H.push(" >> "+N.translationLanguage.languageName);return H.join("")}; +lm=function(N,H,c){H=H.layoutId;for(var t=[],h=g.K(N.tF.values()),O=h.next();!O.done;O=h.next())if(O=O.value,O.trigger instanceof mR){var F;if(F=O.trigger.layoutId===H){F=c;var M=zQD.get(O.category);F=M?M===F:!1}F&&t.push(O)}t.length&&$D(N.T(),t)}; +g.y9=function(N){return N.Jn.get("annotations_module")}; +Eus=function(N,H,c){var t,h=H==null?void 0:(t=H.text)==null?void 0:t.simpleText;h&&TDd(N,c,h,H==null?void 0:H.icon).listen("click",function(){var O;(H==null?void 0:(O=H.icon)==null?void 0:O.iconType)==="HIDE"?N.J.publish("featuredproductdismissed"):H.serviceEndpoint&&N.J.QS("innertubeCommand",H.serviceEndpoint);N.hide()},N)}; +x33=function(N){if(N.Fj)return!1;var H=void 0;N.aW&&(H=N.T.Vd({cpn:N.aW}));return N.playback.getVideoData().vH()?!!H&&!H.Jo:!!H}; +qMZ=function(N){var H;(H=N.Dt)==null||H.stop();N.countdownTimer.hide()}; +NUh=function(N){N.U=N.startTime;N.C=N.duration;N.S=N.U+N.C}; +oAs=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);this.events.G(N,"initialvideodatacreated",function(c){R9(qu(),16623);H.T=g.gi();var t=N.D().KC&&!c.T3;if(N4(c)&&t){R9(qu(),27240,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED"});if(c.getWatchNextResponse()){var h,O=(h=c.getWatchNextResponse())==null?void 0:h.trackingParams;O&&N0(O)}if(c.getPlayerResponse()){var F;(c=(F=c.getPlayerResponse())==null?void 0:F.trackingParams)&&N0(c)}}else R9(qu(), +32594,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED"}),c.getEmbeddedPlayerResponse()&&(F=(O=c.getEmbeddedPlayerResponse())==null?void 0:O.trackingParams)&&N0(F)}); +this.events.G(N,"loadvideo",function(){R9(qu(),27240,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED",parentCsn:H.T})}); +this.events.G(N,"cuevideo",function(c){c===1&&R9(qu(),32594,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED",parentCsn:H.T})}); +this.events.G(N,"largeplaybuttonclicked",function(c){R9(qu(),27240,c.visualElement)}); +this.events.G(N,"playlistnextbuttonclicked",function(c){R9(qu(),27240,c.visualElement)}); +this.events.G(N,"playlistprevbuttonclicked",function(c){R9(qu(),27240,c.visualElement)}); +this.events.G(N,"playlistautonextvideo",function(){R9(qu(),27240,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED"})})}; +qy=function(N){return!(!N.Ze||!N.Es.Z)&&N.PJ()}; +C3t=function(N){return N.X3!==void 0}; +uE=function(N){P$.call(this,N.uU,N.ea,N.ID,N.Nc,N.k_,N.mx,N.YO,N.HL,N.slot,N.layout,N.PH,N.ZM,N.Le,N.Rx)}; +uO=function(N){return N===1||N===2}; +hf=function(N){return N.keySystem==="com.youtube.fairplay"}; +NQS=function(N,H){var c;return!((c=N.C)==null||!c.S.has(H))||l1y(N.L,H)}; +fQe=function(N){N.B=!0;return N}; +i1=function(N,H){var c=lQ(N.clientMetadata,"metadata_type_eligible_for_ssap");return c===void 0?(KA("Expected SSAP eligibility in PlayerBytes factory",N),!1):H.fG(c)}; +tge=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x,q){var r=sqh(h,E,x);if(r instanceof S)return r;var w=[],n=[];r=g.K(r);for(var p=r.next();!p.done;p=r.next()){var U=p.value;p=N;var X=h[U.PQ],A=U,R=H;U=O;var v=F,Nf=M,Fe=f,tS=d,jh=W,cL=Dd(X);if(cL instanceof S)p=cL;else{var Ks={layoutId:X.adLayoutMetadata.layoutId,layoutType:X.adLayoutMetadata.layoutType,Hp:"adapter"};A=tCe(R,X,A,U);A instanceof S?p=A:(p=Object.assign({},Ks,iQ,{S1:cL,renderingContent:X.renderingContent,clientMetadata:new xd(A),z0:q5(Nf,p)(Ks), +adLayoutLoggingData:X.adLayoutMetadata.adLayoutLoggingData}),p=(X=l5(jh,p,U,v.uR,Nf,Fe,tS,void 0,!0))?X instanceof S?X:{layout:p,z7:X}:new S("Expecting associatedInPlayerSlot"))}if(p instanceof S)return p;w.push(p.layout);n.push(p.z7)}h={layoutId:c.adLayoutMetadata.layoutId,layoutType:c.adLayoutMetadata.layoutType,Hp:"core"};H=[new ob(Number(c.driftRecoveryMs)),new Wi(E),new Rb(x),new Xe(VR(H)),new M1(z),new kt({})];q&&H.push(new Mo({}));return{wN:Object.assign({},h,t,{Yb:w,S1:new Map,clientMetadata:new xd(H), +z0:q5(M,N)(h)}),VL:n}}; +K2h=function(N,H,c){H.Oz().currentState<2&&(c=P0(c,N.Rx),H.BH(H.dE(),c));c=H.Oz().T;N.BK(N.slot,H.dE(),c)}; +b9y=function(N){return N.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})\.(\d{3})$/)?N+"Z":N}; +BS=function(N){return N.J.D().experiments.M4("enable_ads_control_flow_deterministic_id_generation")}; +u7=function(N,H,c){g.L.call(this);this.J=N;this.tV=H;this.Rx=c;this.listeners=[];this.nk=null;this.ob=new Map;H=new g.Ww(this);g.l(this,H);H.G(N,"videodatachange",this.kEl);H.G(N,"serverstitchedvideochange",this.AnS);this.Ow=s7(this)}; +g.ac=function(N){for(var H in N)return H}; +DrL=function(N){g.e.call(this,{W:"div",K:"ytp-heat-map-chapter",X:[{W:"svg",K:"ytp-heat-map-svg",V:{height:"100%",preserveAspectRatio:"none",version:"1.1",viewBox:"0 0 1000 100",width:"100%"},X:[{W:"defs",X:[{W:"clipPath",V:{id:"{{id}}"},X:[{W:"path",K:"ytp-heat-map-path",V:{d:"",fill:"white"}}]},{W:"linearGradient",V:{gradientUnits:"userSpaceOnUse",id:"ytp-heat-map-gradient-def",x1:"0%",x2:"0%",y1:"0%",y2:"100%"},X:[{W:"stop",V:{offset:"0%","stop-color":"white","stop-opacity":"1"}},{W:"stop",V:{offset:"100%", +"stop-color":"white","stop-opacity":"0"}}]}]},{W:"rect",K:"ytp-heat-map-graph",V:{"clip-path":"url(#hm_1)",fill:"white","fill-opacity":"0.4",height:"100%",width:"100%",x:"0",y:"0"}},{W:"rect",K:"ytp-heat-map-hover",V:{"clip-path":"url(#hm_1)",fill:"white","fill-opacity":"0.7",height:"100%",width:"100%",x:"0",y:"0"}},{W:"rect",K:"ytp-heat-map-play",V:{"clip-path":"url(#hm_1)",height:"100%",x:"0",y:"0"}},{W:"path",K:"ytp-modern-heat-map",V:{d:"",fill:"url(#ytp-heat-map-gradient-def)",height:"100%", +stroke:"white","stroke-opacity":"1","stroke-width":"2px",width:"100%",x:"0",y:"0"}}]}]});this.api=N;this.C=this.Sa("ytp-heat-map-svg");this.S=this.Sa("ytp-heat-map-path");this.U=this.Sa("ytp-heat-map-graph");this.Y=this.Sa("ytp-heat-map-play");this.T=this.Sa("ytp-heat-map-hover");this.L=this.Sa("ytp-modern-heat-map");this.DI=!1;this.B=60;N=""+g.ye(this);this.update({id:N});N="url(#"+N+")";this.U.setAttribute("clip-path",N);this.Y.setAttribute("clip-path",N);this.T.setAttribute("clip-path",N)}; +gul=function(N){var H={c:N.N_,e:N.vK,mc:N.Sk,me:N.mJ};N.UB&&(H.co={c:N.UB.Kc,a:N.UB.FI,s:N.UB.nT});return H}; +FH=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);this.events.G(N,"standardControlsInitialized",function(){H.createButton()}); +g.gu(this.api.D())&&(this.N("web_watch_pip")||this.N("web_shorts_pip"))&&wl(this.api,"setDocumentPictureInPicture",function(c){H.setDocumentPictureInPicture(c)})}; +rmZ=function(N){N.provider.videoData.googleRemarketingUrl&&!N.Us&&(eM(N,N.provider.videoData.googleRemarketingUrl),N.Us=!0)}; +m3v=function(N){N=g.K(V1(N.T).RU.EV.values());for(var H=N.next();!H.done;H=N.next())if(H.value.layoutType==="LAYOUT_TYPE_MEDIA_BREAK")return!0;return!1}; +lMh=function(N){I5(N.S,N.element,["keymessage","webkitkeymessage"],N.cW);I5(N.S,N.element,["keyerror","webkitkeyerror"],N.pw);I5(N.S,N.element,["keyadded","webkitkeyadded"],N.Nm)}; +wlZ=function(N,H){var c=N[H];c!==void 0&&c>0&&(N[H]=Math.floor(c*1E3))}; +D3d=function(N,H,c){var t;F6(N.Pp.get(),"ads_qua","cpn."+lQ(N.layout.clientMetadata,"metadata_type_content_cpn")+";acpn."+((t=s7(N.ea.get(),2))==null?void 0:t.clientPlaybackNonce)+";qt."+H+";clr."+c)}; +OMR=function(N){var H=new Bs(N);H.cL();if(yq(H,[408125543,374648427,174,224]))H=kb(H);else return null;for(var c=N=null;!Ng(H);){var t=T8(H,!1);if(t===21432)switch(iK(H)){default:N=0;break;case 1:N=1;break;case 3:N=2;break;case 15:N=255}else t===30320?c=kb(H):Gy(H)}if(!c)return null;for(var h,O=t=H=null;!Ng(c);)switch(T8(c,!1)){case 30321:if(iK(c)!==3)return null;break;case 30324:H=$H(c);break;case 30323:O=$H(c);break;case 30325:t=$H(c);break;case 30322:h=T8(c,!0);h=zl(c,h);h=new DataView(h.buffer, +h.byteOffset,h.byteLength);break;default:Gy(c)}return h?new IZ3(N,H,O,t,h):null}; +Qk3=function(N){var H;return N==null?void 0:(H=N.activeViewTracking)==null?void 0:H.identifier}; +plf=function(N,H,c){H=em(H);H!=null&&H!=null&&(Xa(N,c,0),ZH3(N.T,H))}; +uOy=function(N,H){if(N.QY("getState")==="loading")return new g.rv(-1,-1);H=N.QY(H);if(!H)return new g.rv(-1,-1);N=parseInt(H.width,10);H=parseInt(H.height,10);return isNaN(N)||isNaN(H)?new g.rv(-1,-1):new g.rv(N,H)}; +SL=function(N,H){var c=PJ(N);B_(N.wE.getPlayerState())&&(c>=H.mediaTime?(H.resolve([H.mediaTime,H.id]),N.T.delete(H.id)):(H.delay.dispose(),c=(H.mediaTime-c)*1E3/N.wE.getPlaybackRate(),H.delay=new g.kT(function(){SL(N,H)},c/2),H.delay.start()))}; +Jmw=function(N){for(var H=g.K(N.Hr),c=H.next();!c.done;c=H.next()){var t=g.K(c.value);c=t.next().value;t=t.next().value;t.TO||p9(N,c)}}; +nud=function(N){return{TL:cM(N,2),videoId:fB(N,3),dI:IZ(N,4)}}; +QJv=function(N){var H=this;this.T={};this.L={};this.Br={O1l:function(){return H.T}}; +this.videoData=N;var c,t=(c=N.L)==null?void 0:c.B;t&&t.length>0?this.B=t:(N=N.getAvailableAudioTracks(),this.B=N.length>0?ZOd(N):[]);N=g.K(SMD);for(c=N.next();!c.done;c=N.next())c=c.value,this.T[c]=P3d[c](this.B);this.D$()}; +g.dzS=function(N){var H=H===void 0?{}:H;var c=c===void 0?"":c;var t=t===void 0?window:t;N=g.Of(N,H);E9(N);c=g.G6(N+c);t=t.location;c=W5(c);c!==void 0&&(t.href=c)}; +i8=function(N,H){return pq(N,void 0,H)}; +GN=function(N){N.NT=[];N.v4();N.J.gr("featured_product")}; +g.RX=function(N){Jt.call(this);var H=this;this.T=N;this.B={};this.listener=function(c){H.dispatchEvent(new nG(H,c.type,c))}}; +W1=function(){this.B=new JSt;this.T=c2()?new Te:new vN}; +o8w=function(N,H,c,t){t=t===void 0?!1:t;var h=h===void 0?!0:h;return Gi(void 0,function(){return function F(){var M,f,d,W,z,E,x,q,r,w,n,p,U,X,A,R,v,Nf,Fe;return Tr(F,function(tS){switch(tS.T){case 1:g.I_(tS,2);M=uZ.fl();f=N&&GNe;if(!f&&!H)return W={},(d=c)==null||d("wasmns",(W.p=N?"1":"0",W.a=H?"1":"0",W.s=GNe?"1":"0",W)),tS.return(uKS(Error("wasm.wm.ns")));z=new U3s;if(!f){tS.rE(4);break}g.Xy(tS,5);E=R$;return o$(tS,kx(jhZ(z,N,t)),7);case 7:return x=E(tS.B),q=new FA(x,z,!1,h),uZ.rD("winit",M),(r= +c)==null||r("wasmsw",{}),tS.return(q);case 5:if(w=g.Lq(tS),p={},(n=c)==null||n("wasmerrw",(p.e=""+w,p)),!H)throw Error("wasm.wm.iw: "+w);case 4:if(!H)throw Error("wasm.wm.xx");g.Xy(tS,8);U=R$;return o$(tS,kx(H(z)),10);case 10:return X=U(tS.B),A=new FA({exports:X},z,!0,h),uZ.rD("winitjs",M),(R=c)==null||R("wasmsa",{}),tS.return(A);case 8:throw v=g.Lq(tS),Fe={},(Nf=c)==null||Nf("wasmerra",(Fe.e=""+v,Fe)),Error("wasm.wm.ia: "+v);case 2:g.B$(tS),g.JV(tS,0)}})}()})}; +g.UU=function(N,H){if(N.NT)return function(){}; +H.addEventListener("mouseover",N.S);H.addEventListener("focus",N.S);var c=N.env.N("player_tooltip_data_title_killswitch")?H.getAttribute("title"):H.getAttribute("data-tooltip-title");c&&!H.hasAttribute("aria-label")&&H.setAttribute("aria-label",c);return function(){N.T===H&&N.oA();H.removeEventListener("mouseover",N.S);H.removeEventListener("focus",N.S)}}; +DV=function(N){this.T=this.B=0;this.alpha=Math.exp(Math.log(.5)/N)}; +M5f=function(N,H,c){c=c===void 0?!1:c;N.WO=OD(N.WO,H.video_id);N.Oc=OD(N.Oc,H.eventid);N.Oc&&(RB=N.Oc);for(var t=[],h=g.K(Object.keys(Xlv)),O=h.next();!O.done;O=h.next()){O=Xlv[O.value];var F=H[O];F!=null&&(F!==N.T[O]&&t.push(O),N.T[O]=F)}!c&&t.length>0&&N.UJ&&(t.sort(),g.aS(new g.ti("Player client parameters changed after startup",t)));N.userAge=PP(N.userAge,H.user_age);N.BR=OD(N.BR,H.user_display_email);N.userDisplayImage=OD(N.userDisplayImage,H.user_display_image);g.Vq(N.userDisplayImage)||(N.userDisplayImage= +"");N.userDisplayName=OD(N.userDisplayName,H.user_display_name);N.YA=OD(N.YA,H.user_gender);N.csiPageType=OD(N.csiPageType,H.csi_page_type);N.csiServiceName=OD(N.csiServiceName,H.csi_service_name);N.vQ=Nx(N.vQ,H.enablecsi);N.pageId=OD(N.pageId,H.pageid);if(c=H.enabled_engage_types)N.enabledEngageTypes=new Set(c.split(","));H.living_room_session_po_token&&(N.L2=H.living_room_session_po_token.toString())}; +lPl=function(){var N=window.document;return N&&typeof N.elementFromPoint==="function"}; +YMw=function(N,H){var c={};if(N.app.D().Us){N=g.K(VHw);for(var t=N.next();!t.done;t=N.next())t=t.value,H.hasOwnProperty(t)&&(c[t]=H[t]);if(H=c.qoe_cat)N="",typeof H==="string"&&H.length>0&&(N=H.split(",").filter(function(h){return L2Z.includes(h)}).join(",")),c.qoe_cat=N; +a0v(c)}else for(N=g.K(ZtL),t=N.next();!t.done;t=N.next())t=t.value,H.hasOwnProperty(t)&&(c[t]=H[t]);return c}; +WHD=function(N,H,c,t,h){var O;if((O=N.playerOverlay)==null||!O.instreamSurveyAdRenderer)return function(){return[]}; +if(!$Wd(N))return function(){return new S("Received invalid InstreamVideoAdRenderer for DAI survey.",{instreamVideoAdRenderer:N})}; +var F=N.playerOverlay.instreamSurveyAdRenderer,M=zT(F);return M<=0?function(){return new S("InstreamSurveyAdRenderer should have valid duration.",{instreamSurveyAdRenderer:F})}:function(f,d){var W=JXD(f,c,t,function(z){var E=z.slotId; +z=d(z);var x=Ew(F);E=CA(h.B.get(),"LAYOUT_TYPE_SURVEY",E);var q={layoutId:E,layoutType:"LAYOUT_TYPE_SURVEY",Hp:"core"},r=new uN(h.T,t),w=new wG(h.T,E),n=new Kc(h.T,E),p=new ICe(h.T);return{layoutId:E,layoutType:"LAYOUT_TYPE_SURVEY",S1:new Map,layoutExitNormalTriggers:[r,p],layoutExitSkipTriggers:[w],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[n],layoutExitUserCancelledTriggers:[],Hp:"core",clientMetadata:new xd([new w4t(F),new Xe(H),new rx(M/1E3),new G3(x)]),z0:z(q),adLayoutLoggingData:F.adLayoutLoggingData}}); +f=aMh(N,c,W.slotId,t,h,f,d);return f instanceof S?f:[W].concat(g.HE(f))}}; +Ams=function(N,H){var c=N.B.indexOf(H);c>=0&&N.B.splice(c,1);N.L.delete(H.cpn);H.vr&&N.U.delete(H.vr)}; +Im=function(N,H){N.T=H;g.Hw("yt.gcf.config.coldConfigGroup",N.T||null)}; +Hi=function(N,H){var c=N.N("web_fix_annotations")?"Annotated Overlays":"Annotations";n6.call(this,c,g.Se.i9);this.J=N;this.R4=H;this.T=!1;N.N("web_settings_menu_icons")&&(H=N.N("delhi_modern_web_player_icons")?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M9.65 6.00L9.5 6H2.5L2.34 6.00C1.97 6.04 1.63 6.21 1.38 6.49C1.13 6.77 1.00 7.12 1 7.5V13.5L1.00 13.65C1.04 14.02 1.21 14.36 1.49 14.61C1.77 14.86 2.12 15 2.5 15H4.5L3.81 17.75C3.77 17.89 3.77 18.03 3.79 18.17C3.82 18.31 3.87 18.45 3.95 18.56C4.03 18.68 4.14 18.78 4.26 18.85C4.38 18.92 4.51 18.97 4.66 18.99L4.78 19H8.55L8.72 18.98C8.88 18.95 9.04 18.89 9.17 18.79C9.30 18.68 9.40 18.55 9.47 18.40L9.52 18.24L10.62 13.96C10.84 13.11 10.96 12.24 10.99 11.36L11 10.98V7.5C11 7.12 10.86 6.77 10.61 6.49C10.36 6.21 10.02 6.04 9.65 6.00ZM21.65 6.00L21.5 6H14.5L14.34 6.00C13.97 6.04 13.63 6.21 13.38 6.49C13.13 6.77 13 7.12 13 7.5V13.5L13.00 13.65C13.04 14.02 13.21 14.36 13.49 14.61C13.77 14.86 14.12 15 14.5 15H16.5L15.81 17.75C15.77 17.89 15.77 18.03 15.79 18.17C15.82 18.31 15.87 18.44 15.95 18.56C16.03 18.68 16.14 18.78 16.26 18.85C16.38 18.92 16.51 18.97 16.66 18.99L16.78 19H20.55L20.72 18.98C20.88 18.95 21.04 18.89 21.17 18.79C21.30 18.68 21.40 18.55 21.47 18.40L21.52 18.24L22.62 13.96C22.84 13.11 22.96 12.24 22.99 11.36L23 10.98V7.5C23 7.12 22.86 6.77 22.61 6.49C22.36 6.21 22.02 6.04 21.65 6.00ZM3 13V8H9V10.98C9.00 11.71 8.91 12.44 8.76 13.16L8.68 13.47L7.78 17H6.06L6.44 15.48L7.06 13H3ZM15 13V8H21V10.98C21 11.71 20.91 12.44 20.76 13.16L20.68 13.47L19.78 17H18.06L18.44 15.48L19.06 13H15Z", +fill:"white"}}]}:{W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M17.5,7c1.93,0,3.5,1.57,3.5,3.5c0,1-0.53,4.5-0.85,6.5h-2.02l0.24-1.89l0.14-1.09l-1.1-0.03C15.5,13.94,14,12.4,14,10.5 C14,8.57,15.57,7,17.5,7 M6.5,7C8.43,7,10,8.57,10,10.5c0,1-0.53,4.5-0.85,6.5H7.13l0.24-1.89l0.14-1.09l-1.1-0.03 C4.5,13.94,3,12.4,3,10.5C3,8.57,4.57,7,6.5,7 M17.5,6C15.01,6,13,8.01,13,10.5c0,2.44,1.95,4.42,4.38,4.49L17,18h4c0,0,1-6,1-7.5 C22,8.01,19.99,6,17.5,6L17.5,6z M6.5,6C4.01,6,2,8.01,2,10.5c0,2.44,1.95,4.42,4.38,4.49L6,18h4c0,0,1-6,1-7.5 C11,8.01,8.99,6,6.5,6L6.5,6z", +fill:"white"}}]},this.setIcon(H));this.G(N,"videodatachange",this.Df);this.G(N,"onApiChange",this.Df);this.subscribe("select",this.onSelect,this);this.Df()}; +g.K_=function(N,H){var c=c===void 0?0:c;var t=new BTs;k8(t,2,GJf(N));N=a1h[H];if(typeof N==="undefined")throw c=new g.ti("Failed to recognize entity type",{name:"EntityKeyHelperError",entityType:H}),g.BZ(c),c;d8(t,4,N);d8(t,5,1);H=new Uint8Array(t.T.buffer,t.T.byteOffset,t.pos);return encodeURIComponent(g.Eq(H,c))}; +eQR=function(N,H){g.e.call(this,{W:"div",K:"ytp-cards-teaser",X:[{W:"div",K:"ytp-cards-teaser-box"},{W:"div",K:"ytp-cards-teaser-text",X:N.D().N("player_new_info_card_format")?[{W:"button",K:"ytp-cards-teaser-info-icon",V:{"aria-label":"Show cards","aria-haspopup":"true"},X:[R5R()]},{W:"img",K:"ytp-cards-teaser-channel-avatar",V:{alt:"","aria-hidden":"true"}},{W:"span",K:"ytp-cards-teaser-label",Wp:"{{text}}"},{W:"button",K:"ytp-cards-teaser-close-button",V:{"aria-label":"Close"},X:[g.Bg()]}]:[{W:"span", +K:"ytp-cards-teaser-label",Wp:"{{text}}"}]}]});var c=this;this.J=N;this.n2=H;this.fade=new g.BX(this,250,!1,250);this.T=null;this.Y=new g.kT(this.u2p,300,this);this.S=new g.kT(this.CGW,2E3,this);this.U=[];this.L=null;this.C=new g.kT(function(){c.element.style.margin="0"},250); +this.onClickCommand=this.B=null;g.l(this,this.fade);g.l(this,this.Y);g.l(this,this.S);g.l(this,this.C);N.D().N("player_new_info_card_format")?(g.bV(N.getRootNode(),"ytp-cards-teaser-dismissible"),this.G(this.Sa("ytp-cards-teaser-close-button"),"click",this.eU),this.G(this.Sa("ytp-cards-teaser-info-icon"),"click",this.Sw),this.G(this.Sa("ytp-cards-teaser-label"),"click",this.Sw)):this.listen("click",this.Sw);this.G(H.element,"mouseover",this.gU);this.G(H.element,"mouseout",this.fd);this.G(N,"cardsteasershow", +this.lsq);this.G(N,"cardsteaserhide",this.e1);this.G(N,"cardstatechange",this.vV);this.G(N,"presentingplayerstatechange",this.vV);this.G(N,"appresize",this.jQ);this.G(N,"onShowControls",this.jQ);this.G(N,"onHideControls",this.cX);this.listen("mouseenter",this.Vr)}; +N7=function(N,H,c){for(var t=N.Zs[c],h=c<<1;h<=N.Yu;){h=M,f=N.GW.isManifestless,F){var d;if(((d=N.T)==null?void 0:d.Rc.event)==="predictStart"&&N.T.Y_0&&(N.S=N.KO[0],N.Es.vO())){c={};t=g.K(Object.entries(N.S.T));for(h=t.next();!h.done;h=t.next()){var O=g.K(h.value);h=O.next().value;O=O.next().value;var F="unk";(h=h.match(/(.*)codecs="(.*)"/))&&(F=h[2]);c[F]=O}N.Lq("drmProbe",c)}N.Z5()})}; +jBS=function(N,H,c,t){if(!N.uo()){t&&($X={keySystem:H.keySystem,keySystemAccess:c,pNq:JSON.stringify(t)});H.keySystemAccess=c;if(c0(H)){c=EY();t=g.K(Object.keys(N.T[H.flavor]));for(var h=t.next();!h.done;h=t.next())h=h.value,H.T[h]=!!c.canPlayType(h)}else{c=H.keySystemAccess.getConfiguration();if(c.audioCapabilities)for(t=g.K(c.audioCapabilities),h=t.next();!h.done;h=t.next())H.T[h.value.contentType]=!0;if(c.videoCapabilities)for(c=g.K(c.videoCapabilities),t=c.next();!t.done;t=c.next())H.T[t.value.contentType]= +!0}N.U.push(H);N.useCobaltWidevine||N.N("html5_enable_vp9_fairplay")&&tW(H)?(N.B.shift(),G2(N)):N.callback(N.U)}}; +Y8y=function(N){this.hF=oF(N)}; +SC=function(N,H,c,t,h){h=h===void 0?!1:h;H!==N.mL&&(h||N.wE.Lq("ssevt",{tag:N.T===0?"sstd-cr":N.T===1?"sstd-tm":N.T===2?"sstd-poll":N.T===3?"sstd-poll100":"sstd-unknown",ad:N.cpn!==H,cpn:H,st:c.toFixed(3),late:Math.round((t-c)*1E3)}),N.mL=H,N.wE.publish("playbackstarted",H,c+N.wE.HO(),h))}; +ZDZ=function(){var N=document.queryCommandSupported&&document.queryCommandSupported("copy");UU3("Chromium")>=43&&(N=!0);UU3("Firefox")<=40&&(N=!1);return N}; +oK=function(N){QN.call(this,function(){return N}); +this.L=N}; +ymf=function(){g.Lu(function(){var N=Np();requestAnimationFrame(function(){setTimeout(function(){N===Np()&&Ai("ftl",void 0,void 0)},0)})})()}; +dhL=function(N,H){N=N===void 0?{}:N;H=H===void 0?{}:H;g.L.call(this);var c=this;this.values=N;this.Gl=H;this.B={};this.L=this.T=0;this.U=new g.kT(function(){cEt(c)},1E4); +g.l(this,this.U)}; +nNy=function(N,H){var c;return function(){c||(c=new ON(N,H));return c}}; +lOZ=function(N,H){g.Nn(H,function(c){return N.equals(c)})||H.push(N)}; +ud=function(N,H,c,t){N.policy.B&&N.RE(!1,"rollback");if(N.GW.isManifestless){var h=d3R(N.audioTrack,t,c,H),O=d3R(N.videoTrack,t,c,H);N.policy.G7||(O&&wP(N.GW,t,!0),h&&wP(N.GW,t,!1));O&&(N.videoTrack.TW=[]);h&&(N.audioTrack.TW=[]);N.Lq("sdai",{rollbk2_seg:t,rbt:c.toFixed(3),lt:H.toFixed(3),a:h,v:O});(h||O)&&N.policy.B&&Vp(N)}}; +z2=function(N,H,c,t,h,O,F){g.L.call(this);this.policy=N;this.info=H;this.GW=c;this.qT=h;this.logger=new g.mE("sabr");this.KA=new vf(this);this.g1=new $eh(this);this.sy=new wo(this);this.state=1;this.OM=!1;this.OH=0;this.clipId="";this.cz=-1;this.nX=0;this.gN=-1;this.fk=this.Wc=this.HJ=this.yz=!1;this.policy.Ms?this.hj=new id(this,O):this.hj=new P3(this,O);this.tj=this.policy.Dt?H.xq:edD(H,this.policy,t);this.tj.set("rn",""+this.DD());this.tj.set("alr","yes");Bkv(this.sy,c,N);this.Ke=new CT(this,this.policy, +this.tj,H.JF,this.hj,this.logger,t,F,this.policy.enableServerDrivenRequestCancellation);ce3(this.Ke);var M;if((M=this.policy)==null?0:M.qj)g.l(this,this.sy),g.l(this,this.Ke);N=H.B;H={method:"POST",body:N};N&&(this.nX=N.length);try{this.xhr=gj(this.tj,this.policy.Z,this.hj,km,H),this.policy.n3&&rj(this.hj,this.uG()),this.Ke.B.start()}catch(f){g.aS(f)}}; +GFl=function(N){N=N.T;for(var H in N){var c=N[H].index;if(c.isLoaded())return c.Ff()+1}return 0}; +RQh=function(N,H){for(var c=0;c1E3){var t=N.interruptions;t.push(Math.ceil(c));t.sort(function(h,O){return O-h}); +t.length>16&&t.pop()}N.NT+=c}}N.S=H}; +xh3=function(){return g.$b("iemobile")||g.$b("windows phone")&&g.$b("edge")}; +$Hs=function(N){return g.O7(N,"UHD2")||g.O7(N,"UHD2HDR")?"highres":g.O7(N,"UHD1")||g.O7(N,"UHD1HDR")?"hd2160":g.O7(N,"HD")||g.O7(N,"HDHDR")?"hd1080":g.O7(N,"HD720")||g.O7(N,"HD720HDR")?"hd720":"large"}; +OD=function(N,H){return H===void 0||H===null?N:H.toString()}; +T3e=function(N,H){if(H=H.content&&H.content.adFeedbackRenderer||null)N.B=new aX(N.api,N.layoutId,N.interactionLoggingClientData,N.yS),g.l(N,N.B),N.B.init(Gx("ad-feedback-dialog"),H,N.macros),N.B.Jl(N.Ix),N.B.subscribe("a",function(){return N.publish("c")})}; +RA=function(N){this.T=N}; +A4=function(){}; +F2=function(N,H){var c;if((c=YE)==null?0:c.encodeInto)return H=YE.encodeInto(N,H),H.read>6|192:((h&64512)===55296&&t+1>18|240,H[c++]=h>>12&63|128):H[c++]=h>>12|224,H[c++]=h>>6&63|128),H[c++]=h&63|128)}return c}; +jTD=function(N,H){return H.layoutId!==N.layout.layoutId?(N.qF.An(N.slot,H,new sz("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+N.layout.layoutId+("and LayoutType: "+N.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED"),!1):!0}; +Q0D=function(N){if(!Gf(N.adLayoutMetadata))return!1;N=N.renderingContent;return g.P(N,$o)||g.P(N,AF)||g.P(N,Myw)||g.P(N,U_)||g.P(N,VQ)?!0:!1}; +dHR=function(N,H,c,t){var h=S3(),O=(c=h||c&&nU())?["com.youtube.fairplay"]:["com.widevine.alpha"];H&&O.unshift("com.youtube.widevine.l3");h&&t&&O.unshift("com.youtube.fairplay.sbdl");return c?O:N?[].concat(g.HE(O),g.HE(fgL.playready)):[].concat(g.HE(fgL.playready),g.HE(O))}; +rg=function(N,H,c,t,h,O,F){H={id:H,namespace:F!=null?F:"appapi"};O==="chapter"?(H.style=DQ.CHAPTER_MARKER,H.visible=!0):isNaN(h)||(O==="ad"?H.style=DQ.AD_MARKER:(H.style=DQ.TIME_MARKER,H.color=h),H.visible=!0);N.iN([new g.vn(c*1E3,t*1E3,H)],1);return!0}; +WXe=function(N){this.T=N;N.bq("/client_streamz/bg/ec",g.iw("en"),g.iw("mk"))}; +A7=function(N){this.value=N}; +lNw=function(N,H){var c;return g.Y(function(t){if(t.T==1)return g.a(t,WR(H),2);c=t.B;return t.return(c.delete("LogsRequestsStore",N))})}; +z8y=function(N){this.T=N}; +g.Ne=function(N){g.e.call(this,{W:"div",X:[{W:"div",K:"ytp-bezel-text-wrapper",X:[{W:"div",K:"ytp-bezel-text",Wp:"{{title}}"}]},{W:"div",K:"ytp-bezel",V:{role:"status","aria-label":"{{label}}"},X:[{W:"div",K:"ytp-bezel-icon",Wp:"{{icon}}"}]}]});this.J=N;this.B=new g.kT(this.show,10,this);N=this.J.N("delhi_modern_web_player")?1E3:500;this.T=new g.kT(this.hide,N,this);g.l(this,this.B);g.l(this,this.T);this.hide()}; +jJ=function(N,H){H=Math.max(Math.max(1,Math.ceil(N.policy.U/K1(N))),H);return Math.min(Math.min(8,Math.floor(N.policy.TW/K1(N))),H)}; +rn=function(N){N.L.isFinal=!0;N.flush();N.L.isFinal=!1}; +mG=function(N,H,c){var t;N>>2<12&&((N^7)&7)>=3&&(t=H[T[14]]?H[T[14]][T[15]](T[40]):H[T[7]]===T[40]);(N&118)==N&&(this[T[14]]=H,this[T[24]]=c===void 0?!1:c,this[T[17]]=this[T[5]]=this[T[7]]=T[16],this[T[6]]={},this[T[27]]=T[16]);if(N-4<24&&N<<1>=6)for(var h=H[T[2]];h;)H[T[25]](H[T[22]](--h,1)[0]);return t}; +H8=function(N,H){N.add(H==null||isNaN(H)?0:H+1)}; +xHZ=function(N,H){var c=N.hN.IA;if(c)return fT(c.getPlayerState());if(N.getVideoData().enableServerStitchedDai&&H===2){var t,h,O;return(N.j.Zp().T.G0(EPl)?(O=(t=N.hN.B)==null?void 0:t.isAd())!=null&&O:(h=N.n6)==null?0:x33(h,N.getCurrentTime()))?N.Yn:-1}return H!==2||N.Re()?N.Yn:N.XF}; +OIR=function(N){var H=H===void 0?-1:H;var c=c===void 0?Infinity:c;SIL(N,H,c);for(var t=g.K(N.B.values()),h=t.next();!h.done;h=t.next())h=h.value,h.start>=H&&h.end<=c&&(N.playback.removeCueRange(h),N.B.delete(h.getId()),N.EF({rmAdCR:1}));t=Aj(N,H/1E3);H=t.ra;t=t.Vv;H&&(t=t*1E3-H.gs,fKf(N,H,t,H.gs+t),t=N.B.get(H.cpn))&&(t.start=H.gs,t.end=H.gs+H.durationMs);if(H=Aj(N,c/1E3).ra){var O;t="playback_timelinePlaybackId_"+H.vr+"_video_id_"+((O=H.videoData)==null?void 0:O.videoId)+"_durationMs_"+H.durationMs+ +"_enterTimeMs_"+H.gs+"_parentReturnTimeMs_"+H.m9;N.vZ("Invalid_clearEndTimeMs_"+c+"_that_falls_during_"+t+"._Child_playbacks_can_only_have_duration_updated_not_their_start.")}}; +wh=function(N){return!!(N.SFf&&N.slot&&N.layout)}; +W4h=function(N){if(JZ(N))if(N.QL&&N.indexRange)if(N.B){var H=new Uint8Array(N.S.buffer,0,N.B),c=lJy(N),t=N.policy.U;Promise.all(N.Bp).then(function(){var h=Sz(t,N.QL.mR.info,Pw(N,!0),c,N.policy.Al,N.U,H,N.crypto);fv(N,h,!0)})}else Uq(N,new aF("Woffle: Expect always re-mark currentChunkOffset at EOS")); +else Uq(N,new aF("Woffle: Expect at EOS to always have lastSlice or indexRange"))}; +Ad=function(N){var H=N.B,c=N.T,t=H[c+0],h=H[c+1],O=H[c+2];H=H[c+3];PE(N,N.T+4);return(t<<0|h<<8|O<<16|H<<24)>>>0}; +SG=function(N){return N?N.Xy():!1}; +iB=function(N,H){if(N.heightPx===-1){var c=null;try{c=g.Ch("CANVAS"),N.B=c.getContext("2d")}catch(M){}if(N.B){var t=N.T*N.sampleCount;N.L=c;N.L.width=t;N.L.style.width=t+"px";N.element.appendChild(N.L)}else for(N.sampleCount=Math.floor(N.sampleCount/4),N.T*=4,c=0;c1?2:1,N.L.height=N.heightPx*c,N.L.style.height= +N.heightPx+"px",N.B.scale(1,c)));H=g.K(H);for(t=H.next();!t.done;t=H.next()){c=N;var h=N.index,O=t.value;for(t=0;t+2=zwZ&&(eW++,dM=!1);lbD(H);t.headers||(t.headers={});t.headers["Content-Encoding"]="gzip";t.postBody=N;t.postParams=void 0;h(c,t)}; +t6=function(N,H,c){if(G$(N.params.xA.Rx.get(),!0)){var t=c.flush,h={};kot(N,H,(h.cts=c.currentTimeSec,h.f=t,h))}}; +Ry=function(N){g.L.call(this);var H=this;this.j=N;this.T=new Map;this.U=[];this.B=!Nq();this.TW=g.Mx(this.j.experiments,"html5_onesie_prewarm_interval_ms");this.Z=new g.kT(this.C,this.TW,this);this.Y=-1;this.Br={Vha:function(){return H.T}, +XeS:function(){return H.S}, +vdW:function(){return Chd}}; +g.l(this,this.Z);VLZ(this,g.pB("yt-player-bandaid-host"));this.S=this.load();this.TW&&this.S.then(function(){H.C()})}; +X6Z=function(N){var H=N.getVideoData();if(!H.dC){H=N.j.T3?1:LBh(H);var c=N.mediaElement;c.Jr(N.bR.muted);try{c.setVolume(N.bR.volume*H/100)}catch(t){g.aS(new g.ti("b183742307","multiplier: "+H+", volume: "+N.bR.volume))}}}; +lg3=function(N,H,c){c=c===void 0?{}:c;return BKl(N,H,!1,c)}; +cP3=function(N,H,c,t){c||(t?H.keyCode!==32||H.repeat||N.L||!N.U||g.lY(N.delay):LX(N))}; +iD=function(N){var H=N.app.D().controlsType==="3"&&!N.JL&&cS(N)&&!N.app.KU||!1;N.Wr.controls=H;N.Wr.tabIndex=H?0:-1;N.app.D().U&&(N.Wr.ariaHidden="true");H?N.Wr.removeEventListener("focus",N.XD):N.Wr.addEventListener("focus",N.XD)}; +KXL=function(N){N.B&&h9y(N.B);N.qoe&&OVw(N.qoe)}; +g.a=function(N,H,c){N.T=c;return{value:H}}; +WE=function(N,H,c,t){xW(N);var h=N.hF;vW(h,h[A8]|0,H,c,t);return N}; +EMZ=function(N,H){H=g.Kv(N.B,{m9:H},function(c,t){return c.m9-t.m9}); +return H>=0?N.B[H]:null}; +g.y=function(N,H){return!!(N.state&H)}; +qY=function(N,H){N.B||N.T!=2&&N.T!=3||jfv(N);N.U?N.U.next=H:N.B=H;N.U=H}; +tw=function(N,H){try{if(H.length){N.Bp||(N.Bp=UW());var c=lns(H),t=ZgZ(N.element,N.B.T.L),h=t.x,O=t.y;N.L=new wu(Math.round(O),Math.round(h)+c.boundingClientRect.width,Math.round(O)+c.boundingClientRect.height,Math.round(h));N.T=bUh(N,N.L);var F=Cbs(c.intersectionRect);N.Y=kF(F,N.L.left-F.left,N.L.top-F.top)}}catch(M){N.unobserve(),ov(299,M)}}; +Q6=function(N,H){g.L.call(this);this.uW=H;this.uW.get().addListener(this)}; +uAs=function(N){var H;if((H=N.api.getVideoData())==null||!gz(H)){H=gl(N);ar(N,H,N.Bp,Math.max(H.B,N.Bp),"HOVER_PROGRESS");for(var c=Lw(N,H.T*N.Bp,!0),t=Lw(N,H.L,!0),h=c;h<=t;h++)g.QH(N.T[h].L,"ytp-hover-progress-light",H.B>N.Bp);g.QH(N.KC,"ytp-scrubber-button-hover",c===t&&N.T.length>1);if(N.api.N("web_player_heat_map_played_bar")){var O;(O=N.U[0])!=null&&O.T.setAttribute("width",(H.B*100).toFixed(2)+"%")}}}; +rah=function(N,H,c,t){t=t===void 0?0:t;g.a1.call(this,c.d3());var h=this;this.z3=N;this.videoData=H;this.duration=t;this.T=this.startTimeSecs=0;this.B=this.L=!0;this.U=new gPw(function(O,F){return void h.Lq(O,F)})}; +xC=function(N,H){eG||(v5?v5.logEvent(N,H):(sW.push({type:"EVENT",eventType:N,payload:H}),sW.length>10&&sW.shift()))}; +wt=function(N){if(!Gf(N.adLayoutMetadata))return!1;N=N.renderingContent;var H=g.P(N,PG);return H?Ug(H):(H=g.P(N,QR))?ps(H):(H=g.P(N,h8))?H.playerVars!==void 0:(H=g.P(N,$o))?H.durationMilliseconds!==void 0:g.P(N,PK)||g.P(N,Ul)?!0:!1}; +P8v=function(N){switch(N){case "DESKTOP":return 1;case "UNKNOWN_PLATFORM":return 0;case "TV":return 2;case "GAME_CONSOLE":return 3;case "MOBILE":return 4;case "TABLET":return 5}}; +Eh=function(N,H,c,t,h){var O;c=c===void 0?!1:c;t=t===void 0?!1:t;var F=N.Jn.get(H);if(!F||t)if(h||(h=function(){Eh(N,H,c,t)}),O||(O=function(){n3(N,H)}),F=F||tiD(N,H,rZe(N,H),h,O))N.Jn.set(H,F),F.create(),N.J.publish("modulecreated",H),c&&N.J.vU("onApiChange")}; +g.h6=function(N){var H=N.D(),c=g.Pc||g.pX?{style:"will-change: opacity"}:void 0,t=H.U,h=["ytp-modern-videowall-still"];H.B&&h.push("ytp-videowall-show-text");g.e.call(this,{W:"a",fq:h,V:{href:"{{url}}",target:t?H.TW:"","aria-label":"{{aria_label}}","data-is-live":"{{is_live}}","data-is-list":"{{is_list}}","data-is-mix":"{{is_mix}}"},X:[{W:"div",K:"ytp-modern-videowall-still-image",V:{style:"{{background}}"},X:[{W:"span",K:"ytp-modern-videowall-still-info-duration",Wp:"{{duration}}"}]},{W:"span",K:"ytp-modern-videowall-still-info", +V:{"aria-hidden":"true"},X:[{W:"span",K:"ytp-modern-videowall-still-info-bg",X:[{W:"span",K:"ytp-modern-videowall-still-info-content",V:c,X:[{W:"span",K:"ytp-modern-videowall-still-info-title",Wp:"{{title}}"},{W:"span",K:"ytp-modern-videowall-still-info-author",Wp:"{{author}}"},{W:"span",K:"ytp-modern-videowall-still-view-count-and-date-info",Wp:"{{views_and_publish_time}}"},{W:"span",K:"ytp-modern-videowall-still-info-live",Wp:"Live"}]}]}]},{W:"span",fq:["ytp-modern-videowall-still-listlabel-regular", +"ytp-modern-videowall-still-listlabel"],V:{"aria-hidden":"true"},X:[{W:"span",K:"ytp-modern-videowall-still-listlabel-icon"},"Playlist",{W:"span",K:"ytp-modern-videowall-still-listlabel-length",X:[" (",{W:"span",Wp:"{{playlist_length}}"},")"]}]},{W:"span",fq:["ytp-modern-videowall-still-listlabel-mix","ytp-modern-videowall-still-listlabel"],V:{"aria-hidden":"true"},X:[{W:"span",K:"ytp-modern-videowall-still-listlabel-mix-icon"},"Mix",{W:"span",K:"ytp-modern-videowall-still-listlabel-length",Wp:" (50+)"}]}]}); +this.suggestion=null;this.B=t;this.api=N;this.T=new g.Ww(this);g.l(this,this.T);this.listen("click",this.onClick);this.listen("keypress",this.onKeyPress);this.T.G(N,"videodatachange",this.onVideoDataChange);N.createServerVe(this.element,this);this.onVideoDataChange()}; +nJ=function(N){var H=N.isMuted()?0:N.getVolume();xH.call(this,0,100,1,H,void 0,!0);this.J=N;this.Bp=p4S(this.ox,10,this);this.Z=!1;this.G(N,"onVolumeChange",this.onVolumeChange);this.G(this.element,"wheel",this.Us)}; +BV=function(){return vQ(b13)}; +Ew=function(N){var H,c,t,h,O=((c=g.P((H=N.questions)==null?void 0:H[0],aI))==null?void 0:c.surveyAdQuestionCommon)||((h=g.P((t=N.questions)==null?void 0:t[0],e1))==null?void 0:h.surveyAdQuestionCommon),F;H=[].concat(g.HE(((F=N.playbackCommands)==null?void 0:F.instreamAdCompleteCommands)||[]),g.HE((O==null?void 0:O.timeoutCommands)||[]));var M,f,d,W,z,E,x,q,r,w,n,p,U,X,A,R,v,Nf,Fe,tS;return{impressionCommands:(M=N.playbackCommands)==null?void 0:M.impressionCommands,errorCommands:(f=N.playbackCommands)== +null?void 0:f.errorCommands,muteCommands:(d=N.playbackCommands)==null?void 0:d.muteCommands,unmuteCommands:(W=N.playbackCommands)==null?void 0:W.unmuteCommands,pauseCommands:(z=N.playbackCommands)==null?void 0:z.pauseCommands,rewindCommands:(E=N.playbackCommands)==null?void 0:E.rewindCommands,resumeCommands:(x=N.playbackCommands)==null?void 0:x.resumeCommands,skipCommands:(q=N.playbackCommands)==null?void 0:q.skipCommands,progressCommands:(r=N.playbackCommands)==null?void 0:r.progressCommands,kks:(w= +N.playbackCommands)==null?void 0:w.clickthroughCommands,fullscreenCommands:(n=N.playbackCommands)==null?void 0:n.fullscreenCommands,activeViewViewableCommands:(p=N.playbackCommands)==null?void 0:p.activeViewViewableCommands,activeViewMeasurableCommands:(U=N.playbackCommands)==null?void 0:U.activeViewMeasurableCommands,activeViewFullyViewableAudibleHalfDurationCommands:(X=N.playbackCommands)==null?void 0:X.activeViewFullyViewableAudibleHalfDurationCommands,activeViewAudioAudibleCommands:(A=N.playbackCommands)== +null?void 0:(R=A.activeViewTracking)==null?void 0:R.activeViewAudioAudibleCommands,activeViewAudioMeasurableCommands:(v=N.playbackCommands)==null?void 0:(Nf=v.activeViewTracking)==null?void 0:Nf.activeViewAudioMeasurableCommands,endFullscreenCommands:(Fe=N.playbackCommands)==null?void 0:Fe.endFullscreenCommands,abandonCommands:(tS=N.playbackCommands)==null?void 0:tS.abandonCommands,completeCommands:H}}; +mHd=function(N,H){return N.view?zQ(H,N.view.start,N.view.end):H}; +my=function(N,H){H===void 0&&(H=N[A8]|0);H&32&&!(H&4096)&&rp(N,H|4096)}; +whh=function(N){N.updateValue("icon",sr());if(N.api.D().B)N.tooltip.r6(N.element,"Link copied to clipboard");else{N.updateValue("title-attr","Link copied to clipboard");N.updateValue("tooltip-title","Link copied to clipboard");N.tooltip.oo();N.tooltip.r6(N.element);var H=N.listen("mouseleave",function(){N.G3(H);N.Df();N.tooltip.aU()})}}; +DHs=function(N,H){STt(N,H).then(void 0,function(){dY(N)}); +H5(N,H).then(function(c){W$(N,c)},function(){dY(N)}); +N.wE.s3(H);if(N.j.vO()||Jht(N))H=N.Q4(),H["native"]=""+ +N.Us,H.tgt=""+N.B,H.otgt=""+(N.B+N.timestampOffset),H.maxst=""+N.L6(),N.T&&N.N("html5_high_res_seek_logging")&&(H.tht=""+N.T.S(),H.ht=""+N.T.e$(),H.adft=""+bC(N.T)),N.N("html5_sabr_parse_live_metadata_playback_boundaries")&&N.videoData.T&&AC(N.videoData)&&(H.minst=""+N.videoData.T.sU,H.cminst=""+(N.videoData.T.T7()+N.timestampOffset),H.maxst=""+N.videoData.T.Ot,H.hts=""+N.videoData.T.ox,H.cmaxst=""+(N.videoData.T.L6()+N.timestampOffset)),N.wE.Lq("startSeek", +H)}; +FTs=function(){this.T=[]}; +QTe=function(N){return window.MediaSource?new bO(N,new window.MediaSource,!1):window.ManagedMediaSource?new bO(N,new window.ManagedMediaSource,!1):window.WebKitMediaSource?new bO(N,new window.WebKitMediaSource,!1):new bO(N,void 0,!1)}; +Kqt=function(N,H){if(N.videoData.Z)return!1;N.Es.mG+=1;if(N.Es.mG<=10)return!1;H.exiled=""+N.Es.mG;N.rr("qoe.start15s",H);N.wE.publish("playbackstalledatstart");return!0}; +wUZ=function(N,H){return N.L===void 0?!1:H.seekDirection==="TIMELY_ACTION_TRIGGER_DIRECTION_FORWARD"&&Number(H.seekLengthMilliseconds)===5E3?N.L===72:H.seekDirection==="TIMELY_ACTION_TRIGGER_DIRECTION_FORWARD"&&Number(H.seekLengthMilliseconds)===1E4?N.L===74:H.seekDirection==="TIMELY_ACTION_TRIGGER_DIRECTION_BACKWARD"&&Number(H.seekLengthMilliseconds)===5E3?N.L===71:H.seekDirection==="TIMELY_ACTION_TRIGGER_DIRECTION_BACKWARD"&&Number(H.seekLengthMilliseconds)===1E4?N.L===73:!1}; +phs=function(N){this.hF=oF(N,500)}; +Z9D=function(N){N.B&&(N.U=new M9,N.S.promise.then(function(){N.f4.WN("pot_if");N2(N)}))}; +uy=function(N){return N.KU&&N.getVideoData().mutedAutoplay}; +CZe=function(N){return!N.keySystemAccess&&!!SN()&&N.keySystem==="com.apple.fps.1_0"}; +cp=function(N){this.Y=N}; +II=function(){this.C=[];this.Z=[];this.T=[];this.Us=[];this.S=[];this.TW=[];this.L=new Map;this.Y=new Map;this.B=new Set;this.ox=new Map}; +GR=function(){}; +GqZ=function(N){var H=[],c=na(N);c&&H.push(c);H=g.qK(H,N.L.mw());c=g.K(N.B);for(var t=c.next();!t.done;t=c.next()){t=t.value;for(var h=g.K(t.info.L4),O=h.next(),F={};!O.done;F={jo:void 0},O=h.next())F.jo=O.value,t.Lk&&(H=g.WL(H,function(M){return function(f){return!Uy3(f,M.jo)}}(F))),(Ql(F.jo)||F.jo.type===4)&&H.push(F.jo)}N.T&&!mZ3(N.T,g.vU(H),N.T.mR.Oa())&&H.push(N.T); +return H}; +RV=function(N,H,c,t){var h=this;this.U=N;this.cpn=H;this.wE=c;this.T=t;this.B=new Map;this.S=new Map;this.TW=this.Z=NaN;this.Y=!1;this.C=this.mL="";this.isSeeking=!1;this.Bp=0;this.L=new YId(c);this.UI=c.UI;this.wE.subscribe("statechange",this.Us,this);this.wE.subscribe("SEEK_TO",function(){h.s3()}); +this.wE.subscribe("SEEK_COMPLETE",function(){Mif(h)}); +this.mL=this.C=this.cpn}; +MxD=function(N){var H;return g.Y(function(c){if(N.uo())throw Error("Already disposed");(H=N.T)!=null&&(H.endTimeMs=0,H.yI(1));return g.a(c,N.L.promise,0)})}; +Xp=function(N){this.value=N}; +u$t=function(N){return zvy()===2?g.WL(N,Pr):N}; +g.tA=function(){var N=g.di.navigator;return N&&(N=N.userAgent)?N:""}; +JaS=function(N,H){return H.priority-N.priority}; +XQ=function(N,H,c){this.hF=oF(N,H,c)}; +TLv=function(N,H){var c={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]};if(N.N("html5_enable_vp9_fairplay")&&hf(H))return c.audioCapabilities.push({contentType:'audio/mp4; codecs="mp4a.40.5"'}),c.videoCapabilities.push({contentType:'video/mp4; codecs="avc1.4d400b"'}),[c];c0(H)&&(c.initDataTypes=["keyids","cenc"]);for(var t=g.K(Object.keys(N.T[H.flavor])),h=t.next();!h.done;h=t.next()){h=h.value;var O=h.indexOf("audio/")===0,F=O?c.audioCapabilities:c.videoCapabilities;H.flavor!== +"widevine"||N.S?F.push({contentType:h}):O?F.push({contentType:h,robustness:"SW_SECURE_CRYPTO"}):(g.Pc&&g.$b("windows nt")&&!N.N("html5_drm_enable_moho")||F.push({contentType:h,robustness:"HW_SECURE_ALL"}),O=h,N.Es.S.L&&h.includes("vp09")&&(O=h+"; experimental=allowed"),F.push({contentType:O,robustness:"SW_SECURE_DECODE"}),P_(N.Es)==="MWEB"&&(EA()||VW())&&(N.Lq("swcrypto",{}),F.push({contentType:h,robustness:"SW_SECURE_CRYPTO"})))}return[c]}; +$F=function(N){N=J8(N);N.tick||(N.tick={});return N.tick}; +nG=function(N,H,c){g.sk.call(this,H,N);this.T=c}; +nPh=function(N){if(N.j.vO()){N.U7.sort(function(t,h){return+t.rt-+h.rt}); +for(var H=g.K(N.U7),c=H.next();!c.done;c=H.next())c=c.value,N.Lq("vpe",Object.assign({t:c.rt},c));N.U7=[];N.YR=0}}; +SpR=function(N){var H=N===void 0?{}:N;N=H.cZ;var c=H.pF;var t=H.ul;var h=H.Ff;H=H.NZ;this.cZ=N;this.pF=c;this.ul=t;this.Ff=h;this.NZ=H}; +Jyf=function(N,H,c,t,h,O,F,M){return H===null?new S("Invalid slot type when get discovery companion fromTopBannerImageTextIconButtonedLayoutViewModel",{slotType:H,TopBannerImageTextIconButtonedLayoutViewModel:t}):[dsR(N,H,F,O,function(f){var d=f.slotId;f=M(f);var W=t.adLayoutLoggingData,z=new xd([new LN(t),new Xe(h)]);d=CA(c.B.get(),"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON",d);var E={layoutId:d,layoutType:"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON",Hp:"core"};return{layoutId:d,layoutType:"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON", +S1:new Map,layoutExitNormalTriggers:[new mZ(c.T,F)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],Hp:"core",clientMetadata:z,z0:f(E),adLayoutLoggingData:W}})]}; +Zb=function(N,H,c){var t=H*N.L.T*1E3;for(var h=-1,O=g.K(N.T),F=O.next();!F.done;F=O.next())F=F.value,t>F.startTime&&F.width>0&&h++;t=h<0?0:h;h=c.T-Vy(N)*N.gE;return H*h+Vy(N)*t+c.U}; +bcD=function(N,H,c,t,h,O,F,M,f,d,W,z,E){H=ecR(N,H,"adapter",c,t,h,O,F,M,f,W,z,E);t=H.layoutExitSkipTriggers;h=H.ub;c.adPodSkipTarget&&c.adPodSkipTarget>0&&(h.push(d),h.push(new zx(c.adPodSkipTarget)),t=[]);h.push(new hG(M.adPodIndex));c.isCritical&&(t=[new l8(N.T,H.layoutId,["error"])].concat(g.HE(t)));return{C2:{layoutId:H.layoutId,layoutType:H.layoutType,S1:H.S1,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[], +Hp:H.Hp,clientMetadata:new xd(h),z0:H.z0,adLayoutLoggingData:H.adLayoutLoggingData},x3:t,N0:H.layoutExitMuteTriggers,MR:H.layoutExitUserInputSubmittedTriggers,A6:H.layoutExitUserCancelledTriggers}}; +cIR=function(N){g.e.call(this,{W:"div",fq:["ytp-overlays-container"],X:[{W:"div",K:"ytp-overlay-top-left"},{W:"div",K:"ytp-overlay-top-right"},{W:"div",K:"ytp-overlay-bottom-left"},{W:"div",K:"ytp-overlay-bottom-right"}]});this.L=this.Sa("ytp-overlay-top-left");this.U=this.Sa("ytp-overlay-top-right");this.T=this.Sa("ytp-overlay-bottom-left");this.B=this.Sa("ytp-overlay-bottom-right");g.aG(N,this.element,4)}; +g.GY=function(N){if(N instanceof g.EL)return N;var H=new g.EL(g.$$);sh(H,2,N);return H}; +uKS=function(N){return new R3(function(H,c){c(N)})}; +yd3=function(N){if(pf()){N.f4=N.api.Um();N.T=new M9;N.L=2;var H=g.Mx(N.api.D().experiments,"html5_d6de4_defer_timeout_ms");N.f4.WN("pt_pish");H?g.Zh(function(){PhR(N)},H):N.api.N("html5_enable_d6de4_idle_priority_job")&&window.requestIdleCallback?window.requestIdleCallback(function(){PhR(N)}):PhR(N)}}; +g.vG=function(){return{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z"}}]}}; +ty=function(){g.L0.call(this);this.S=new Map}; +EJZ=function(N){var H,c;if(c=(H=N.player.getVideoData(1))==null||!H.Fo)H=N.player.D(),c=dz(H)&&!g.El(H)&&H.playerStyle==="desktop-polymer";c&&(N=N.player.getInternalApi(),N.addEventListener("updateKevlarOrC3Companion",N7D),N.addEventListener("updateEngagementPanelAction",B4h),N.addEventListener("changeEngagementPanelVisibility",nty),window.addEventListener("yt-navigate-start",YFh))}; +yC=function(){this.T={};this.B=!0;this.L={}}; +Pe=function(N,H){(N=FW(N,H))?N.layout!=null&&!N.layout&&KA("Unexpected empty layout",H):KA("Unexpected undefined slotState",H);return(N==null?void 0:N.layout)||null}; +uc=function(N){g.L.call(this);var H=this;this.wE=N;this.Z=this.T=this.loader=this.mediaElement=this.playbackData=null;this.L=0;this.S=this.ox=this.U=null;this.Ix=!1;this.kG=0;this.Us=!1;this.timestampOffset=0;this.TW=!0;this.vp=0;this.Xg=this.Dt=!1;this.C=0;this.Al=!1;this.NT=0;this.j=this.wE.D();this.videoData=this.wE.getVideoData();this.policy=new r_R;this.Bp=new DC(this.wE);this.WO=this.Kq=this.gE=this.Y=this.B=NaN;this.Cq=new g.kT(function(){QFv(H,!1)},2E3); +this.C4=new g.kT(function(){yk(H)}); +this.zW=new g.kT(function(){UHZ(H,{})}); +this.mG=NaN;this.UF=new g.kT(function(){var c=H.j.HQ;c.T+=1E4/36E5;c.T-c.L>1/6&&(cEt(c),c.L=c.T);H.UF.start()},1E4); +g.l(this,this.Bp);g.l(this,this.Cq);g.l(this,this.zW);g.l(this,this.C4);g.l(this,this.UF)}; +Vyh=function(N,H){return H.map(function(c){var t,h;if((c=(t=g.P(c,XhD))==null?void 0:(h=t.thumbnail)==null?void 0:h.thumbnails)&&c.length!==0)return c[0].url}).filter(function(c){return c!==void 0}).map(function(c){c=new g.e({W:"img", +K:"ytp-suggested-action-product-thumbnail",V:{alt:"",src:c}});g.l(N,c);return c})}; +MTw=function(N,H,c,t){t=t===void 0?{}:t;N.addEventListener&&(H!="mouseenter"||"onmouseenter"in document?H!="mouseleave"||"onmouseenter"in document?H=="mousewheel"&&"MozBoxSizing"in document.documentElement.style&&(H="MozMousePixelScroll"):H="mouseout":H="mouseover");return yj(U8,function(h){var O=typeof h[4]==="boolean"&&h[4]==!!t,F=g.ie(h[4])&&g.ie(t)&&g.gR(h[4],t);return!!h.length&&h[0]==N&&h[1]==H&&h[2]==c&&(O||F)})}; +LXt=function(N,H,c){N.cpn&&(H=g.Of(H,{cpn:N.cpn}));c&&(H=g.Of(H,{paired:c}));return H}; +N8L=function(N,H,c,t,h,O,F){return function(M,f){return ARZ(N,f.slotId,M,O,function(d,W){var z=f.layoutId;d=F(d);return nk(H,z,W,h,d,"LAYOUT_TYPE_SURVEY",[new Lp(c),t],c.adLayoutLoggingData)})}}; +KZ=function(N,H,c,t){return j0w(N,H,c,t,function(h,O){return new fH(N.T,c,h,O)})}; +Zbe=function(N){return N.isLive&&(0,g.Lh)()-N.gE>=N.Us}; +OQ=function(N){g.bM(N.U,!N.T)}; +G1D=function(N){var H=N===void 0?{}:N;N=H.pF===void 0?!1:H.pF;var c=H.cZ===void 0?!1:H.cZ;H=H.QG===void 0?!1:H.QG;return N?H?3:2:c?-1:1}; +UEv=function(N){if(N.Pm!==void 0){var H=FT;FT=!0;try{for(var c=N.Pm;c!==void 0;c=c.Ye){var t=c.D0;t.P0||(N=void 0,t.P0=!0,UEv(t),(N=t.Z0)==null||N.call(t,t))}}finally{FT=H}}}; +Jq=function(){return dX||Ws?!!WW&&WW.brands.length>0:!1}; +s4s=function(N,H,c,t,h){g.L.call(this);var O=this,F=dN(function(){return new Wd(O.Rx)}); +g.l(this,F);var M=dN(function(){return new zR(F,O.Rx)}); +g.l(this,M);var f=dN(function(){return new EP}); +g.l(this,f);var d=dN(function(){return new xh(N)}); +g.l(this,d);var W=dN(function(){return new qV(F,M,O.Rx)}); +g.l(this,W);var z=dN(function(){return new C$}); +g.l(this,z);this.xb=dN(function(){return new xbR(H)}); +g.l(this,this.xb);this.oD=dN(function(){return new ph(H)}); +g.l(this,this.oD);this.V4=dN(function(){return new l7(h)}); +g.l(this,this.V4);this.YO=dN(function(){return new K$(H)}); +g.l(this,this.YO);this.kO=dN(function(){return new gN(H)}); +g.l(this,this.kO);this.Nc=dN(function(){return new rN(H)}); +g.l(this,this.Nc);this.Mi=dN(function(){return new mT(H)}); +g.l(this,this.Mi);this.Rx=dN(function(){return new wN(H)}); +g.l(this,this.Rx);var E=dN(function(){return new Dk(t)}); +g.l(this,E);var x=dN(function(){return new Qx(O.Rx)}); +g.l(this,x);var q=dN(function(){return new XP(F,W,M,O.Rx,x,null,null,null,null)}); +g.l(this,q);this.bl=dN(function(){return new p$(H)}); +g.l(this,this.bl);this.ea=dN(function(){return new u7(H,z,O.Rx)}); +g.l(this,this.ea);var r=J1({ea:this.ea,Rx:this.Rx,Uy:x}),w=r.context,n=r.dR;this.j1=r.j1;this.k_=dN(function(){return new Pd(H,O.ea,O.Rx)}); +g.l(this,this.k_);this.mx=dN(function(){return new UP}); +g.l(this,this.mx);this.r_=dN(function(){return new L$(O.k_,H,O.Rx)}); +g.l(this,this.r_);this.Pp=dN(function(){return new Zk(H,f,O.r_,O.ea,O.j1,O.Rx,n)}); +g.l(this,this.Pp);this.j7=dN(function(){return new Vx(O.Rx)}); +g.l(this,this.j7);this.HZ=new ai(U0L,eT,function(U,X,A,R){return CA3(M.get(),U,X,A,R)},d,W,M,x,this.Rx,this.ea); +g.l(this,this.HZ);this.p6=new Yh(d,q,c,this.Rx,N,this.ea,this.k_,this.YO);g.l(this,this.p6);var p=new A1(H,this.p6,this.k_,this.ea);this.GE=dN(function(){return p}); +this.rW=p;this.qP=new sP(d,W,this.kO,this.GE,w);g.l(this,this.qP);this.cH=new Bd(this.Rx,d,W,q,this.ea,this.qP,c,this.Nc);g.l(this,this.cH);this.rH=dN(function(){return new yx(E,M,x,O.Rx,O.Pp,O.k_)}); +g.l(this,this.rH);this.m7=dN(function(){return new GR}); +g.l(this,this.m7);this.Ro=new Ri(N,this.oD,this.Rx);g.l(this,this.Ro);this.F3=new oi(N);g.l(this,this.F3);this.t3=new kh(N,this.GE,w);g.l(this,this.t3);this.q2=new Ii(N,this.kO,this.k_,this.ea,w);g.l(this,this.q2);this.N2=new Hs(N);g.l(this,this.N2);this.jE=new jr(N);g.l(this,this.jE);this.ID=dN(function(){return new ST(H)}); +g.l(this,this.ID);this.PH=new iS(N);g.l(this,this.PH);this.Oy=dN(function(){return new cs}); +g.l(this,this.Oy);this.q0=dN(function(){return new th(O.k_)}); +g.l(this,this.q0);this.Ii=dN(function(){return new hh(O.cH,d,F)}); +g.l(this,this.Ii);this.gH=dN(function(){return new On(O.Rx,O.Pp,O.N2,O.r_)}); +g.l(this,this.gH);this.dH=dN(function(){return new Dr(N,O.PH,O.N2,O.Pp,O.r_,O.j7,O.Nc,O.ea,O.k_,O.mx,O.kO,O.YO,O.Mi,O.V4,O.bl,O.Rx,O.ID,w,n)}); +g.l(this,this.dH);this.Q9=dN(function(){return new iAv(O.oD,O.k_,O.Pp,f,O.xb,c,O.ea)}); +g.l(this,this.Q9);this.CC={jt:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.cH],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.HZ],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.p6],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.qP]]),Yd:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.rH],["SLOT_TYPE_FORECASTING",this.m7],["SLOT_TYPE_IN_PLAYER",this.m7],["SLOT_TYPE_PLAYER_BYTES",this.m7]]),tZ:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Ro],["TRIGGER_TYPE_LAYOUT_ID_ENTERED", +this.F3],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.F3],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.F3],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.F3],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.F3],["TRIGGER_TYPE_SLOT_ID_EXITED",this.F3],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.F3],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.F3],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.F3],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.t3],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.q2],["TRIGGER_TYPE_MEDIA_TIME_RANGE", +this.q2],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.N2],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.t3],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.jE],["TRIGGER_TYPE_AD_BREAK_STARTED",this.PH]]),iH:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Oy],["SLOT_TYPE_FORECASTING",this.Oy],["SLOT_TYPE_IN_PLAYER",this.Oy],["SLOT_TYPE_PLAYER_BYTES",this.q0]]),lK:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Ii],["SLOT_TYPE_FORECASTING",this.gH],["SLOT_TYPE_IN_PLAYER",this.Q9],["SLOT_TYPE_PLAYER_BYTES", +this.dH]])};this.listeners=[f.get()];this.r5={cH:this.cH,FE:this.Rx.get(),yS:this.V4.get(),aL:this.k_.get(),p6:this.p6,uY:F.get(),m2:null,Ga:this.Ro,RU:f.get(),MP:this.ea.get()}}; +Aqd=function(N,H,c,t){H=H===void 0?!1:H;c=c===void 0?!0:c;t=t===void 0?{}:t;var h={};N=g.K(N);for(var O=N.next();!O.done;O=N.next()){O=O.value;if(H&&MediaSource&&MediaSource.isTypeSupported){var F=O.type;O.audio_channels&&(F=F+"; channels="+O.audio_channels);if(!MediaSource.isTypeSupported(F)){t[O.itag]="tpus";continue}}if(c||!O.drm_families||O.eotf!=="smpte2084"&&O.eotf!=="arib-std-b67"){F=void 0;var M={bt709:"SDR",bt2020:"SDR",smpte2084:"PQ","arib-std-b67":"HLG"},f=O.type.match(/codecs="([^"]*)"/); +f=f?f[1]:"";O.audio_track_id&&(F=new g.DF(O.name,O.audio_track_id,!!O.is_default));var d=O.eotf;O=new vH3({itag:O.itag,url:O.url,codecs:f,width:Number(O.width),height:Number(O.height),fps:Number(O.fps),bitrate:Number(O.bitrate),audioItag:O.audio_itag,yq:d?M[d]:void 0,YH:O.drm_families,X3:F,audioChannels:Number(O.audio_channels)});h[O.itag]=h[O.itag]||[];h[O.itag].push(O)}else t[O.itag]="enchdr"}return h}; +Ypv=function(N,H){H=g.fi[H];return N.B<=H&&(!N.T||N.T>=H)}; +sN=function(N,H,c){if(!N.done&&(N.B.cancel(),H.length!=0)){N.L=null;try{h_w();var t=UW();BV().S=t;if(vQ(EE).T!=null)for(var h=0;h0?N:1}; +j0w=function(N,H,c,t,h){var O=!H.hideCueRangeMarker;switch(H.kind){case "AD_PLACEMENT_KIND_START":return new LH(N.T,c);case "AD_PLACEMENT_KIND_MILLISECONDS":return N=ysw(H,t),N instanceof S?N:h(N.D7,O);case "AD_PLACEMENT_KIND_END":return new tf(N.T,c,O);default:return new S("Cannot construct entry trigger",{kind:H.kind})}}; +rFs=function(N,H){if(!H.T.T)return N.S?new jw(0,360,!1,"b"):wv;for(var c=!1,t=!1,h=g.K(H.T.videoInfos),O=h.next();!O.done;O=h.next())nK(O.value)?c=!0:t=!0;c=c&&t;t=0;h=g.Mx(N.j.experiments,"html5_performance_cap_floor");h=N.j.B?240:h;H=g.K(H.T.videoInfos);for(O=H.next();!O.done;O=H.next()){var F=O.value;if(!c||!nK(F))if(O=Ur(F.T0,F.video.fps,N.L),F=F.video.qualityOrdinal,Math.max(O,h)>=F){t=F;break}}return new jw(0,t,!1,"b")}; +ci=function(N,H,c,t,h,O,F){var M=new wQ;H in g.fi||(H="small");H==="light"&&(H="tiny");t&&h?(h=Number(h),t=Number(t)):(h=g.fi[H],t=Math.round(h*16/9));O=new Uo(t,h,0,null,void 0,H,O,F);N=unescape(N.replace(/"/g,'"'));return new p8(c,N,{audio:M,video:O})}; +OG=function(N,H){N.UF=H;N.TR(new sR(g.jm(N.UF,function(c){return c.getInfo()})))}; +tD=function(N){return!!N.yL||N.gG}; +ML=function(N){var H={engagementType:"ENGAGEMENT_TYPE_UNBOUND"};N&&(H.interpreterHash=N);return H}; +e8v=function(N,H){var c=Tv(Qg,H);c||(c=jV(N,H,"h",-1));return c}; +bhd=function(N,H){var c,t,h,O,F,M,f;return g.Y(function(d){if(d.T==1){c=g.tI();var W=N.D(),z={context:g.Rr(N),playbackContext:{contentPlaybackContext:{ancestorOrigins:W.ancestorOrigins}}},E=W.getWebPlayerContextConfig();if(E==null?0:E.encryptedHostFlags)z.playbackContext.contentPlaybackContext.encryptedHostFlags=E.encryptedHostFlags;if(E==null?0:E.hideInfo)z.playerParams={showinfo:!1};E=W.embedConfig;var x=N.i7;var q=H.docid||H.video_id||H.videoId||H.id;if(!q){q=H.raw_embedded_player_response;if(!q){var r= +H.embedded_player_response;r&&(q=JSON.parse(r))}if(q){var w,n,p,U,X,A;q=((A=g.P((w=q)==null?void 0:(n=w.embedPreview)==null?void 0:(p=n.thumbnailPreviewRenderer)==null?void 0:(U=p.playButton)==null?void 0:(X=U.buttonRenderer)==null?void 0:X.navigationEndpoint,g.DS))==null?void 0:A.videoId)||null}else q=null}w=(w=q)?w:void 0;n=N.playlistId?N.playlistId:H.list;p=H.listType;if(n){var R;p==="user_uploads"?R={username:n}:R={playlistId:n};rXl(E,x,w,H,R,W.experiments);z.playlistRequest=R}else H.playlist? +(R={templistVideoIds:H.playlist.toString().split(",")},rXl(E,x,w,H,R,W.experiments),z.playlistRequest=R):w&&(R={videoId:w},x&&W.N("embeds_enable_per_video_embed_config")?R.serializedThirdPartyEmbedConfig=x:E&&(R.serializedThirdPartyEmbedConfig=E),z.singleVideoRequest=R);t=z;h=g.kD(vPR);g.Xy(d,2);return g.a(d,g.Ir(c,t,h),4)}if(d.T!=2)return O=d.B,F=N.D(),H.raw_embedded_player_response=O,F.Ix=y_(H,g.PX(F)),F.L=F.Ix==="EMBEDDED_PLAYER_MODE_PFL",O&&(M=O,M.trackingParams&&N0(M.trackingParams)),d.return(new g.xm(F, +H));f=g.Lq(d);f instanceof Error||(f=Error("b259802748"));g.BZ(f);return d.return(N)})}; +wbD=function(N,H,c){c=c===void 0?0:c;var t=N.type;var h=N.itag;var O=N.xtags;O&&(h=N.itag+";"+O);if(K8(t)){var F=(N.size||"640x360").split("x");F=new Uo(+F[0],+F[1],+N.fps,N.projection_type,+N.stereo_layout,void 0,N.quality_label,+N.quality_ordinal,N.eotf,N.primaries);t=l0(t,F,gQ[N.itag]);rQ&&(t+="; enableflushduringseek=true");mN&&(t+="; enableresetaudiodecoder=true")}var M;if(Oj(t)){var f=new wQ(+N.audio_sample_rate||void 0,+N.audio_channels||0,N.spatial_audio_type,!!N.drc);N.name&&(M=new g.DF(N.name, +N.audio_track_id,N.isDefault==="1"))}var d;N.caption_display_name&&N.caption_vss_id&&N.caption_language_code&&(d=new YDL(N.caption_display_name,N.caption_vss_id,N.caption_language_code,N.caption_kind,N.xtags,N.caption_id));O=Number(N.bitrate)/8;var W=Number(N.clen),z=Number(N.lmt);c=c&&W?W/c:0;if(H&&N.drm_families){var E={};for(var x=g.K(N.drm_families.split(",")),q=x.next();!q.done;q=x.next())q=q.value,E[q]=H[q]}return new p8(h,t,{audio:f,video:F,X3:M,YH:E,OF:O,H$:c,contentLength:W,lastModified:z, +captionTrack:d,streamType:N.stream_type,approxDurationMs:Number(N.approx_duration_ms)})}; +$6=function(N,H,c){var t=c.T$,h=c.A7,O=c.listener,F=c.zJ;c=c.gA===void 0?!1:c.gA;if(N.T.has(H))KA("Unexpected registration of layout in LidarApi");else{if(F){if(N.B.has(F))return;N.B.add(F)}N.T.set(H,O);oG(BV().Ce,"fmd",1);JAv(vQ(Jw),t);var M=c?H:void 0;sT3(hi(),H,{IB:function(){if(!h)return{};var f=N.J.getPresentingPlayerType(!0),d;return(d=N.J.getVideoData(f))!=null&&d.isAd()?{currentTime:N.k_.get().getCurrentTimeSec(f,!1,M),duration:h,isPlaying:F9(N.k_.get(),f).isPlaying(),isVpaid:!1,isYouTube:!0, +volume:N.k_.get().isMuted()?0:N.k_.get().getVolume()/100}:{}}})}}; +B3w=function(N,H){if(TBw(N)){H=j5f(N,H);N.T.push(H);var c;(c=N.NT)==null||X8y(c,N.GW.TW);N.Z>0&&N.gE.rg++}}; +qo=function(N){N.removed=!0;N.listener=null;N.proxy=null;N.src=null;N.handler=null}; +meh=function(N,H){return isNaN(H)?!0:isNaN(N.T)?!1:H=0||H.JF.y8("defrag")==="1"||H.JF.y8("otf")==="1"){H=null;break a}h=Xv(0,4096)}h=new vx([new J9(5,t.mR,h,"createProbeRequestInfo"+t.Y,t.Y_)],H.B);h.oi=c;h.T=H.T;H=h}H&&UeR(N,H)}}; +Xf=function(N,H,c,t,h,O,F,M,f){eq.call(this,N,H,c,t);this.k_=h;this.Pp=O;this.Y=F;this.S=M;this.Rx=f;this.U=!1;this.C=lQ(this.layout.clientMetadata,"metadata_type_linked_player_bytes_layout_id")}; +JT=function(N,H,c){c=c===void 0?"":c;g.L.call(this);var t=this;this.J=N;this.S=H;this.L=c;this.FX={};this.T={};this.B=null;this.U=new Set;this.Y=new g.Ww(this);this.Br={Lrf:function(){return t.S}, +odp:function(){return t.L}}; +this.C=this.J.N("web_player_defer_modules");this.Jn=new Map;g.l(this,this.Y);this.Y.G(N,"videodatachange",this.onVideoDataChange)}; +HAs=function(){var N=["pbs","pbu"];g.Lu(function(){kq("").info.actionType="watch";N&&qz("TIMING_AFT_KEYS",N);qz("TIMING_ACTION","watch");var H=IXd(g.YI("TIMING_INFO",{}));Object.keys(H).length>0&&is(H);H={isNavigation:!0,actionType:H6(g.YI("TIMING_ACTION"))};var c=g.YI("PREVIOUS_ACTION");c&&(H.previousAction=H6(c));if(c=g.YI("CLIENT_PROTOCOL"))H.httpProtocol=c;if(c=g.YI("CLIENT_TRANSPORT"))H.transportProtocol=c;(c=g.gi())&&c!=="UNDEFINED_CSN"&&(H.clientScreenNonce=c);c=Tiy();if(c===1||c===-1)H.isVisible= +!0;c=b8().loadType==="cold";var t=m8s();c||(c=t.yt_lt==="cold");if(c){H.loadType="cold";c=m8s();t=PrS();var h=qQ(),O=g.YI("CSI_START_TIMESTAMP_MILLIS",0);O>0&&!g.sf("embeds_web_enable_csi_start_override_killswitch")&&(h=O);h&&(VT("srt",t.responseStart),c.prerender!==1&&tj(h));c=BHe();c>0&&VT("fpt",c);c=PrS();c.isPerformanceNavigationTiming&&is({performanceNavigationTiming:!0},void 0);VT("nreqs",c.requestStart,void 0);VT("nress",c.responseStart,void 0);VT("nrese",c.responseEnd,void 0);c.redirectEnd- +c.redirectStart>0&&(VT("nrs",c.redirectStart,void 0),VT("nre",c.redirectEnd,void 0));c.domainLookupEnd-c.domainLookupStart>0&&(VT("ndnss",c.domainLookupStart,void 0),VT("ndnse",c.domainLookupEnd,void 0));c.connectEnd-c.connectStart>0&&(VT("ntcps",c.connectStart,void 0),VT("ntcpe",c.connectEnd,void 0));c.secureConnectionStart>=qQ()&&c.connectEnd-c.secureConnectionStart>0&&(VT("nstcps",c.secureConnectionStart,void 0),VT("ntcpe",c.connectEnd,void 0));X6&&"getEntriesByType"in X6&&iQy();c=[];if(document.querySelector&& +X6&&X6.getEntriesByName)for(var F in bbL)bbL.hasOwnProperty(F)&&(t=bbL[F],tdR(F,t)&&c.push(t));if(c.length>0)for(H.resourceInfo=[],F=g.K(c),c=F.next();!c.done;c=F.next())H.resourceInfo.push({resourceCache:c.value})}is(H);H=nA();H.preLoggedGelInfos||(H.preLoggedGelInfos=[]);F=H.preLoggedGelInfos;H=oYZ();c=void 0;for(t=0;t=4&&N-6>>5<1){h=64;for(var M=[];++h-M[T[2]]-32;){switch(h){case 58:h-=14;case 91:case 92:case 93:continue;case 123:h=47;case 94:case 95:case 96:continue;case 46:h=95}M[T[25]](String[T[33]](h))}F=M}(N+2^28)>=N&&(N-3^1)=0?(c=T[0]+t[T[4]](0,h),t=t[T[4]](h+1)):(h=t[T[43]](T[59]))>=0&&(c=T[0]+t[T[4]](0,h),t=t[T[4]](h+3))),H[c]=t);return F}; +g.Df=function(N,H){for(var c=g.K(Object.keys(H)),t=c.next(),h={};!t.done;h={placeholder:void 0},t=c.next())t=t.value,h.placeholder=H[t],N=N.replace(new RegExp("\\$"+t,"gi"),function(O){return function(){return O.placeholder}}(h)); +return N}; +Y7=function(N){var H,c=N.policy.S&&((H=N.loader)==null?void 0:H.MV());H=N.loader.getCurrentTime()||0;H=b2S(N,H);if(N.policy.qJ&&N.loader.isSeeking()){var t=lUt(N.videoTrack,H);N.loader.Lq("asmtfnctv",{b:H,a:t});isNaN(t)||(H=t)}t=N.loader.HO()||0;H+=t;t=hd(N.videoData)||g.z7(N.videoData);var h=0;c?(t&&(h=Number.MAX_SAFE_INTEGER),N.videoData.j$&&(h=Math.ceil(N.videoData.ZG*1E3))):h=Math.ceil(H*1E3);return Math.min(Number.MAX_SAFE_INTEGER,h)}; +UHZ=function(N,H){N.Ix=!0;N.N("html5_use_centralized_player_time")&&(N.B=N.Y,N.L=N.B,N.Y=NaN);DHs(N,H)}; +PBD=function(N,H){isNaN(N.Bp)||N.Lq("aswr",{sq:H.info.L4[0].Y_,id:H.info.L4[0].mR.info.itag,xtag:H.info.L4[0].mR.info.T,ep:Date.now()-N.Bp});N.B.push(H);N.T=g.vU(H.info.L4);N.ox.push(H.uX());N.ox.length>4&&N.ox.shift()}; +g.jE=function(N,H,c){g.QH(N.element,"ytp-suggestion-set",!!H.videoId);var t=H.playlistId;c=H.Ds(c?c:"mqdefault.jpg");var h=null,O=null;H instanceof L4&&(H.lengthText?(h=H.lengthText||null,O=H.xv||null):H.lengthSeconds&&(h=g.ba(H.lengthSeconds),O=g.ba(H.lengthSeconds,!0)));var F=!!t;t=F&&KH(t).type==="RD";var M=H instanceof L4?H.isLivePlayback:null,f=H instanceof L4?H.isUpcoming:null,d=H.author,W=H.shortViewCount,z=H.publishedTimeText,E=[],x=[];d&&E.push(d);W&&(E.push(W),x.push(W));z&&x.push(z);c= +{title:H.title,author:d,author_and_views:E.join(" \u2022 "),aria_label:H.ariaLabel||g.Df("Watch $TITLE",{TITLE:H.title}),duration:h,timestamp:O,url:H.ZD(),is_live:M,is_upcoming:f,is_list:F,is_mix:t,background:c?"background-image: url("+c+")":"",views_and_publish_time:x.join(" \u2022 "),autoplayAlternativeHeader:H.Be};H instanceof VB&&(c.playlist_length=H.playlistLength);N.update(c)}; +lZS=function(N,H){if(!N.uo())if(WH(N,{onlcsrsp:1}),N.status="rr",H.statusCode!==0)N.error("drm.auth",1,"t.f;c."+H.statusCode,H.errorMessage||void 0);else{Ai("drm_kr_s",void 0,N.videoData.TW);if(H.heartbeatParams&&H.heartbeatParams.url&&N.videoData.N("outertube_streaming_data_always_use_staging_license_service")){var c=N.B.B.match(/(.*)youtube.com/g);c&&(H.heartbeatParams.url=c[0]+H.heartbeatParams.url)}H.heartbeatParams&&N.publish("newlicense",H.heartbeatParams);H.B&&(N.U=H.B,N.videoData.w4||N.publish("newlicense", +new o1R),N.videoData.w4=!0,N.C=hA(N.U,function(t){return t.includes("HDR")})); +H.T&&(N.j.N("html5_enable_vp9_fairplay")&&tW(N.B)?(c=g.Eq(bfw(N.fairplayKeyId),4),N.T[c]={type:H.T[c],status:"unknown"}):N.T=FV(H.T,function(t){return{type:t,status:"unknown"}})); +hf(N.B)&&(H.message=FNw(g.Eq(H.message)));N.L&&(WH(N,{updtks:1}),N.status="ku",N.L.update(H.message).then(function(){Ai("drm_kr_f",void 0,N.videoData.TW);iG(N)||(WH(N,{ksApiUnsup:1}),N.publish("keystatuseschange",N))},function(t){t="msuf.req."+N.requestNumber+";msg."+g.Mc(t.message,3); +N.error("drm.keyerror",1,t)})); +g.zB(N.B)&&N.publish("fairplay_next_need_key_info",N.baseUrl,H.nextFairplayKeyId);N.j.N("html5_enable_vp9_fairplay")&&tW(N.B)&&N.publish("qualitychange",$Hs(N.U));H.sabrLicenseConstraint&&N.publish("sabrlicenseconstraint",H.sabrLicenseConstraint)}}; +cbL=function(N){var H=H===void 0?5:H;return N?ijl[N]||H:H}; +kx=function(N){return function c(){return Tr(c,function(t){if(t.T==1)return g.I_(t,2),g.a(t,{M9:QA(N)},4);if(t.T!=2)return t.return(t.B);g.B$(t);return g.JV(t,0)})}()}; +g.M$L=function(N,H){if(N.T!=null&&g.OFl(H,N.T)&&N.T.T.rawcc!=null)return!0;if(!N.K4())return!1;H=!!N.T&&N.T.isManifestless&&Object.values(N.T.T).some(function(c){return g.H3(c,"386")}); +N=!!N.T&&!N.T.isManifestless&&g.zDL(N.T);return H||N}; +tff=function(N,H,c){return Hdw(new IY(N,H,c),N)}; +E7l=function(N,H,c,t,h,O,F){kNR(c,H);t=wD({cttAuthInfo:DK(H)||void 0,automatedLogEventSource:F},H);c={csn:H,ve:c.getAsJson(),eventType:1};h&&(c.clientData=h);H==="UNDEFINED_CSN"?QW("visualElementShown",t,c):N?px("visualElementShown",c,N,t):g.uF("visualElementShown",c,t)}; +Btf=function(){this.B=[];this.T=[]}; +b_l=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);this.events.G(N,"applicationInitialized",function(){isL(H)})}; +hW3=function(N,H){if(N.J.isLifaAdPlaying()){var c=N.J.UG(!0,!0);N.ri(H,c.width*.5*1.1,c.height*.25*1.1,c.width*.5*.9,c.height*.5*.9)}}; +yS=function(N,H,c){c=c===void 0?!1:c;var t=N.D().Cq?{"aria-keyshortcuts":"m","aria-label":"{{aria-label}}","data-title-no-tooltip":"{{data-title-no-tooltip}}","data-priority":"{{dataPriority}}","data-tooltip-offset-y":"{{dataTooltipOffsetY}}","data-tooltip-title":"{{tooltip-title}}",title:N.N("player_tooltip_data_title_killswitch")?"{{title}}":""}:{"aria-disabled":"true","aria-haspopup":"true"};t=N.N("delhi_modern_web_player")?{W:"div",K:"ytp-mute-button",X:[{W:"button",V:t,fq:["ytp-volume-icon", +"ytp-button"],Wp:"{{icon}}"}]}:{W:"button",fq:["ytp-mute-button","ytp-button"],V:t,X:[{W:"div",K:"ytp-volume-icon",Wp:"{{icon}}"}]};g.e.call(this,t);this.J=N;this.gE=c;this.B=null;this.Y=this.ox=this.Z=this.C=NaN;this.Ix=this.Bp=null;this.S=[];this.U=[];this.visible=!1;this.L=this.T=this.Us=null;N.N("delhi_modern_web_player")&&this.update({"data-priority":4});c=this.J.D();this.updateValue("icon",Tj());this.tooltip=H.HH();this.updateValue("dataTooltipOffsetY",0);this.L=g.as("ytp-volume-icon",this.element); +t=this.J.N("delhi_modern_web_player_icons")?{W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",fq:["ytp-svg-fill","ytp-svg-volume-animation-speaker"],V:{d:"M 11.60 2.08 L 11.48 2.14 L 3.91 6.68 C 3.02 7.21 2.28 7.97 1.77 8.87 C 1.26 9.77 1.00 10.79 1 11.83 V 12.16 L 1.01 12.56 C 1.07 13.52 1.37 14.46 1.87 15.29 C 2.38 16.12 3.08 16.81 3.91 17.31 L 11.48 21.85 C 11.63 21.94 11.80 21.99 11.98 21.99 C 12.16 22.00 12.33 21.95 12.49 21.87 C 12.64 21.78 12.77 21.65 12.86 21.50 C 12.95 21.35 13 21.17 13 21 V 3 C 12.99 2.83 12.95 2.67 12.87 2.52 C 12.80 2.37 12.68 2.25 12.54 2.16 C 12.41 2.07 12.25 2.01 12.08 2.00 C 11.92 1.98 11.75 2.01 11.60 2.08 Z", +fill:"#fff"}},{W:"path",K:"ytp-svg-volume-animation-small-ripple",V:{d:" M 15.53 7.05 C 15.35 7.22 15.25 7.45 15.24 7.70 C 15.23 7.95 15.31 8.19 15.46 8.38 L 15.53 8.46 L 15.70 8.64 C 16.09 9.06 16.39 9.55 16.61 10.08 L 16.70 10.31 C 16.90 10.85 17 11.42 17 12 L 16.99 12.24 C 16.96 12.73 16.87 13.22 16.70 13.68 L 16.61 13.91 C 16.36 14.51 15.99 15.07 15.53 15.53 C 15.35 15.72 15.25 15.97 15.26 16.23 C 15.26 16.49 15.37 16.74 15.55 16.92 C 15.73 17.11 15.98 17.21 16.24 17.22 C 16.50 17.22 16.76 17.12 16.95 16.95 C 17.6 16.29 18.11 15.52 18.46 14.67 L 18.59 14.35 C 18.82 13.71 18.95 13.03 18.99 12.34 L 19 12 C 18.99 11.19 18.86 10.39 18.59 9.64 L 18.46 9.32 C 18.15 8.57 17.72 7.89 17.18 7.3 L 16.95 7.05 L 16.87 6.98 C 16.68 6.82 16.43 6.74 16.19 6.75 C 15.94 6.77 15.71 6.87 15.53 7.05", +fill:"#fff"}},{W:"path",K:"ytp-svg-volume-animation-big-ripple",V:{d:"M18.36 4.22C18.18 4.39 18.08 4.62 18.07 4.87C18.05 5.12 18.13 5.36 18.29 5.56L18.36 5.63L18.66 5.95C19.36 6.72 19.91 7.60 20.31 8.55L20.47 8.96C20.82 9.94 21 10.96 21 11.99L20.98 12.44C20.94 13.32 20.77 14.19 20.47 15.03L20.31 15.44C19.86 16.53 19.19 17.52 18.36 18.36C18.17 18.55 18.07 18.80 18.07 19.07C18.07 19.33 18.17 19.59 18.36 19.77C18.55 19.96 18.80 20.07 19.07 20.07C19.33 20.07 19.59 19.96 19.77 19.77C20.79 18.75 21.61 17.54 22.16 16.20L22.35 15.70C22.72 14.68 22.93 13.62 22.98 12.54L23 12C22.99 10.73 22.78 9.48 22.35 8.29L22.16 7.79C21.67 6.62 20.99 5.54 20.15 4.61L19.77 4.22L19.70 4.15C19.51 3.99 19.26 3.91 19.02 3.93C18.77 3.94 18.53 4.04 18.36 4.22 Z", +fill:"#fff"}}]}:{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"defs",X:[{W:"clipPath",V:{id:"ytp-svg-volume-animation-mask"},X:[{W:"path",V:{d:"m 14.35,-0.14 -5.86,5.86 20.73,20.78 5.86,-5.91 z"}},{W:"path",V:{d:"M 7.07,6.87 -1.11,15.33 19.61,36.11 27.80,27.60 z"}},{W:"path",K:"ytp-svg-volume-animation-mover",V:{d:"M 9.09,5.20 6.47,7.88 26.82,28.77 29.66,25.99 z"}}]},{W:"clipPath",V:{id:"ytp-svg-volume-animation-slash-mask"},X:[{W:"path",K:"ytp-svg-volume-animation-mover", +V:{d:"m -11.45,-15.55 -4.44,4.51 20.45,20.94 4.55,-4.66 z"}}]}]},{W:"path",JN:!0,fq:["ytp-svg-fill","ytp-svg-volume-animation-speaker"],V:{"clip-path":"url(#ytp-svg-volume-animation-mask)",d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",fill:"#fff"}},{W:"path",JN:!0,fq:["ytp-svg-fill","ytp-svg-volume-animation-hider"],V:{"clip-path":"url(#ytp-svg-volume-animation-slash-mask)",d:"M 9.25,9 7.98,10.27 24.71,27 l 1.27,-1.27 Z", +fill:"#fff"}}]};this.B=new g.hH(t);g.l(this,this.B);this.Bp=this.B.Sa("ytp-svg-volume-animation-speaker");this.Ix=this.Bp.getAttribute("d");this.S=g.x7("ytp-svg-volume-animation-mover",this.B.element);this.J.N("delhi_modern_web_player_icons");this.U=g.x7("ytp-svg-volume-animation-hider",this.B.element);this.J.N("delhi_modern_web_player_icons");this.Cq=new Pb;g.l(this,this.Cq);this.NT=new Pb;g.l(this,this.NT);this.G(N,"appresize",this.wx);this.G(N,"onVolumeChange",this.onVolumeChange);N.N("delhi_modern_web_player")? +this.listen("click",this.pds):this.listen("click",this.T_);c.Cq?(N.N("delhi_modern_web_player")&&!N.N("delhi_modern_web_player_horizontal_volume_controls")&&(this.T=new $rZ(N,H),this.T.Jl(this.element),g.l(this,this.T),this.G(this.L,"mouseover",this.MX),this.G(this.L,"focus",this.MX),this.G(this.L,"mouseout",this.qg),this.G(this.L,"blur",this.qg)),c=N.N("delhi_modern_web_player")?this.L:this.element,this.addOnDisposeCallback(g.UU(H.HH(),c))):Pbh(this);this.message=null;N.createClientVe(this.element, +this,28662);this.wx(N.BO().getPlayerSize());this.setVolume(N.getVolume(),N.isMuted())}; +kk=function(N){N=N.J.getVideoData();var H;if(H=N.N("web_player_defer_ad")){if(g.O7(N.AJ,"ad")||mxR(N)||N.enableServerStitchedDai)N=!1;else{H=N.playerResponse;N=N.startSeconds;var c=H==null?void 0:H.adPlacements;if(H=c){H=Number.MAX_VALUE;c=g.K(c);for(var t=c.next();!t.done;t=c.next())if(t=t.value.adPlacementRenderer){var h=void 0,O=(h=t.config)==null?void 0:h.adPlacementConfig;h=void 0;if(((h=O)==null?void 0:h.kind)==="AD_PLACEMENT_KIND_MILLISECONDS"){var F=h=void 0;O=Number((h=O)==null?void 0:(F= +h.adTimeOffset)==null?void 0:F.offsetStartMilliseconds)||0;F=h=void 0;t=Number(((h=t.renderer)==null?void 0:(F=h.adBreakServiceRenderer)==null?void 0:F.prefetchMilliseconds)||0);t=O-t;t1?N[1]:N[0])):{}}; +g.Rr=function(N){var H=N.D(),c=g.Ak(H),t=H.TE;g.bi(H)&&(t&&(c.thirdParty=Object.assign({},c.thirdParty,{embedUrl:t})),hky(c,N));if(t=N.Bp)c.clickTracking={clickTrackingParams:t};else if(g.bi(N.D())&&g.YI("EVENT_ID"))c.clickTracking={clickTrackingParams:g.YI("EVENT_ID")};else if(H.N("html5_log_missing_itct")){var h;t=new g.ti("Missing ITCT in InnerTubeContext",{isAd:N.isAd(),fYg:(h=H.getWebPlayerContextConfig())==null?void 0:h.contextId});g.BZ(t)}h=c.client||{};t="EMBED";var O=or(N);O==="leanback"? +t="WATCH":H.N("gvi_channel_client_screen")&&O==="profilepage"?t="CHANNEL":N.fb?t="LIVE_MONITOR":O==="detailpage"?t="WATCH_FULL_SCREEN":O==="adunit"?t="ADUNIT":O==="sponsorshipsoffer"&&(t="UNKNOWN");h.clientScreen=t;if(H=N.kidsAppInfo)h.kidsAppInfo=JSON.parse(H);(t=N.jS)&&!H&&(h.kidsAppInfo={contentSettings:{ageUpMode:Tss[t]}});if(H=N.c$)h.unpluggedAppInfo={enableFilterMode:!0};(t=N.unpluggedFilterModeType)&&!H&&(h.unpluggedAppInfo={filterModeType:jDy[t]});if(H=N.mG)h.unpluggedLocationInfo=H;c.client= +h;h=c.request||{};N.Uu&&(h.isPrefetch=!0);if(H=N.mdxEnvironment)h.mdxEnvironment=H;if(H=N.mdxControlMode)h.mdxControlMode=Mff[H];c.request=h;h=c.user||{};if(H=N.Us)h.credentialTransferTokens=[{token:H,scope:"VIDEO"}];if(H=N.Al)h.delegatePurchases={oauthToken:H},h.kidsParent={oauthToken:H};c.user=h;if(h=N.contextParams)c.activePlayers=[{playerContextParams:h}];if(N=N.clientScreenNonce)c.clientScreenNonce=N;return c}; +cN3=function(){this.T=new Map}; +Dwh=function(N){var H={};N=N.experiments.Je();var c=N.T.G0(fRy);YS(c)&&Number(c)>0&&(H.SetPreferMinimalPostProcessing=nn("SetPreferMinimalPostProcessing",Number(c)===1?1:0));(c=N.T.G0(dXZ))&&(H["MediaSource.EnableUsingMediaSourceBufferedRange"]=nn("MediaSource.EnableUsingMediaSourceBufferedRange",c===1?1:0));(c=N.T.G0(W9L))&&(H.HTTP3=nn("HTTP3",c===1?1:0));(c=N.T.G0(zWd))&&(H["MediaSource.EnableUsingMediaSourceAttachmentMethods"]=nn("MediaSource.EnableUsingMediaSourceAttachmentMethods",c===1?1:0)); +(c=N.T.G0(EKl))&&(H.QUIC=nn("QUIC",c===1?1:0));(c=N.T.G0(xXl))&&(H["Media.PlayerConfiguration.DecodeToTexturePreferred"]=nn("Media.PlayerConfiguration.DecodeToTexturePreferred",c===1?1:0));(N=N.T.G0(qt3))&&(H["Media.AudioWriteDurationLocal"]=nn("Media.AudioWriteDurationLocal",Number(N)));return H}; +SW=function(N){N=N===void 0?t3l:N;if(N>0&&!(N0D()>(0,g.Lh)()-N*1E3))return 0;N=g.pB("yt-player-quality");if(typeof N==="string"){if(N=g.fi[N],N>0)return N}else if(N instanceof Object)return N.quality;return 0}; +upy=function(N){return N.U&&N.U.takeRecords?N.U.takeRecords():[]}; +fm=function(N,H){for(var c in N.T)if(N.T[c].status==="usable"&&N.T[c].type===H)return!0;return!1}; +tk=function(N,H){return euy(N.B,H===void 0?!0:H)}; +Wc=function(N){return N==null?N:u0s(N)}; +sW3=function(N){this.T=N;this.TW=this.Kq=this.C=this.Cq=this.U=this.S=this.Bp=this.Y=this.Ix=this.Z=this.gE=this.ox=this.NT=this.Us=0;this.ticks={}}; +Ckw=function(N){this.T=N}; +mol=function(){g.e.call(this,{W:"div",K:"ytp-timed-marker"});this.T=this.timeRangeStartMillis=NaN;this.title="";this.onActiveCommand=void 0}; +dc=function(N){return N&&N.baseUrl||""}; +xQ=function(N){uWt(Yg);var H=N.T;H=H==null||AGe&&H!=null&&H instanceof Uint8Array?H:typeof H==="string"?jjw(H):null;return H==null?H:N.T=H}; +lRl=function(N,H){H=IOv(H,N.T.Ql);H=N.L.createSession("video/mp4",H);return new Ol(null,null,null,null,H,N.C)}; +Ap=function(N,H){if(BS(N.Rx.get())){var c=N.L.get(H)||0;c++;N.L.set(H,c);return H+"_"+c}return g.Xj(16)}; +$D=function(N,H){H.sort(function(O,F){function M(f){KA("TriggerCategoryOrder enum does not contain trigger category: "+f)} +return O.category===F.category?O.trigger.triggerId.localeCompare(F.trigger.triggerId):K9t(O.category,M)-K9t(F.category,M)}); +var c=new Map;H=g.K(H);for(var t=H.next();!t.done;t=H.next())if(t=t.value,OU(N.T,t.slot))if(FW(N.T,t.slot).Y)FW(N.T,t.slot).Z.push(t);else{N.j1.DW("ADS_CLIENT_EVENT_TYPE_TRIGGER_ACTIVATED",t.slot,t,t.layout);var h=c.get(t.category);h||(h=[]);h.push(t);c.set(t.category,h)}H=g.K(zQD);for(t=H.next();!t.done;t=H.next())h=g.K(t.value),t=h.next().value,h=h.next().value,(t=c.get(t))&&gKs(N,t,h);(H=c.get("TRIGGER_CATEGORY_SLOT_EXPIRATION"))&&c4h(N,H);(H=c.get("TRIGGER_CATEGORY_SLOT_FULFILLMENT"))&&ByS(N, +H);(c=c.get("TRIGGER_CATEGORY_SLOT_ENTRY"))&&C1L(N,c)}; +Yz=function(N){return g.Lu(function(){return j_("_start",N)})()}; +ea=function(N){return!!(N.L&&N.L.videoInfos&&N.L.videoInfos.length)}; +$jL=function(N,H){if(H!==null&&H!==void 0){if(typeof H!=="object"&&typeof H!=="function")throw new TypeError("Object expected.");if(c===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");var c=H[Symbol.dispose]}if(typeof c!=="function")throw new TypeError("Object not disposable.");N.stack.push({value:H,dispose:c,async:!1})}return H}; +g.ro=function(N,H){H>=N.ZW()&&N.v$();var c=Ru(N,H),t=N.columns*N.rows,h=H%t;H=h%N.columns;h=Math.floor(h/N.columns);var O=N.v$()+1-t*c;if(O1&&g.aS(new g.ti("There are more than one engaged_view_urls.")),N.N5=H.engagedViewUrls[0]))}; +Lw=function(N,H,c){var t=0;(c===void 0?0:c)&&(H-=nTv(N,H)*Vy(N));c=g.K(N.T);for(var h=c.next();!h.done;h=c.next()){h=h.value;if(H>h.width)H-=h.width;else break;t++}return t===N.T.length?t-1:t}; +g.NF=function(N){for(var H in N)return!1;return!0}; +Yah=function(N){N.Cs();var H=N.fD;md(N);N.events.G(window,"resize",N.ZGp);var c=N.Sg();N.VS.vU("onVolumeChange",N.bR);if(H&&Pkl(H)){var t=V8(N.j);t&&!N.tJ&&(H.fetch=0);var h=g.PX(N.j);h&&!N.tJ&&(H.fetch=0);UE(N,H);g.PX(N.j)&&N.f4.tick("ep_pr_s");if(!t||N.tJ)if(h&&!N.tJ)YQ(N);else if(!c.DI())N.playlist.onReady(function(){Av(N)})}N.kt(N.o4(),!1,!0); +g.y(N.o4().getPlayerState(),128)||(H=Dp3(!N.j.deviceIsAudioOnly),H==="fmt.noneavailable"?N.h3("html5.missingapi",2,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK","nocodecs.1"):H==="html5.missingapi"?N.h3(H,2,"UNSUPPORTED_DEVICE","nocanplaymedia.1"):c&&c.DI()&&Cm(N)&&(N.j.KC||N.j.iR)?lB(N):c.Vm?N.VS.mutedAutoplay({durationMode:c.mutedAutoplayDurationMode}):g.pB("yt-player-playback-on-reload")?(g.uF("embedsItpPlayedOnReload",{playedOnReload:!0,isLoggedIn:!!N.j.NT}),g.h9("yt-player-playback-on-reload",!1),lB(N)): +hS(N.j)||bIh(N),g.gu(N.j)||P_(N.j)==="MWEB"?(g.ii(g.S6(),function(){Km(N)}),g.ii(g.S6(),function(){Ar3()})):(Km(N),Ar3()))}; +UXL=function(N){for(var H=0;H=0?N:NaN}; +yG=function(){return vQ(SHf)}; +qws=function(N){for(var H="",c=0;c=N&&(z=c(t,h,O,F,M,f));N>>1>=4&&(N<<2&15)<2&&(d=H[T[43]](T[65],12),W=H[T[43]](T[65],d+1),d>0&&W>0?(c[T[5]]=H[T[4]](0,W),H=H[T[4]](W+1)):(c[T[5]]=H,H=T[16]),z=[H]);return z}; +VfS=function(N){for(var H=1;H0&&(VfS(N)?(this.range=eGw(N),this.L=this.range.length):(this.range=this.L4[this.L4.length-1].range,this.L=YRv(N)))}; +Mpl=function(N,H,c){var t=[];for(H=Nzt(N,H);Hc)break}return t}; +m4L=function(N,H){H=H===void 0?{}:H;var c;return g.Y(function(t){if(t.T==1)return g.a(t,g.D6(),2);if(t.T!=3){c=t.B;if(!c)return t.return();pe(N);return g.a(t,ts(N,H),3)}return g.a(t,ub(N,c),0)})}; +Rjh=function(N,H,c,t,h,O){g.xo.call(this);var F=this;this.loader=N;this.GW=H;this.policy=c;this.videoTrack=t;this.audioTrack=h;this.Bp=this.T=null;this.Y=this.C=NaN;this.Z=0;this.TW=NaN;this.L=null;this.NT=this.ox=NaN;this.Ix=new Map;this.Us=this.S=this.U=NaN;this.Br={hll:function(){return F.B}}; +this.B=O?1:0}; +HpS=function(N,H){d8(N,1,H.elS);d8(N,2,H.HPW)}; +Bss=function(N,H,c,t,h,O){var F={},M={};g.tH(H,function(f,d){f=f.filter(function(W){var z=W.itag;if(!W.YH)return M[z]="noenc",!1;if(O.Dt&&W.T0==="(h"&&O.WO)return M[z]="lichdr",!1;if(!N.S&&W.T0==="1e")return M[z]="noav1enc",!1;if(W.T0==="("||W.T0==="(h"){if(N.L&&c&&c.flavor==="widevine"){var E=W.mimeType+"; experimental=allowed";(E=!!W.YH[c.flavor]&&!!c.T[E])||(M[z]=W.YH[c.flavor]?"unspt":"noflv");return E}if(!k_(N,o4.CRYPTOBLOCKFORMAT)&&!N.Ix||N.ox)return M[z]=N.ox?"disvp":"vpsub",!1}return c&&W.YH[c.flavor]&& +c.T[W.mimeType]?!0:(M[z]=c?W.YH[c.flavor]?"unspt":"noflv":"nosys",!1)}); +f.length&&(F[d]=f)}); +t&&Object.entries(M).length&&h({rjr:Gu(M)});return F}; +ybv=function(){var N=Ee;this.T=sO;this.Rk="jserror";this.Ma=!0;this.m5=null;this.B=this.Uv;this.xO=N===void 0?null:N}; +sy=function(N,H,c){N.isFocused(H);return H-N.L+c<=N.T[N.B].length}; +Bx=function(N){this.hF=oF(N)}; +xt=function(N,H){return xLs(N,H,!0)}; +GdL=function(N,H,c){var t=H.videoId;t&&(N.videoId=t,c.video_id||(c.video_id=t));if(t=H.title)N.title=t,c.title||(c.title=t);if(t=H.lengthSeconds)N.lengthSeconds=Number(t),c.length_seconds||(c.length_seconds=t);if(t=H.keywords)N.keywords=erd(t);if(t=H.channelId)N.tU=t,c.ucid||(c.ucid=t);if(t=H.viewCount)N.rawViewCount=Number(t);if(t=H.author)N.author=t,c.author||(c.author=t);if(c=H.shortDescription)N.shortDescription=c;if(c=H.isCrawlable)N.isListed=c;if(c=H.musicVideoType)N.musicVideoType=c;c=H.isLive; +c!=null&&(N.isLivePlayback=c);if(c||H.isUpcoming)N.isPremiere=!H.isLiveContent;if(c=H.thumbnail)N.xP=LZ(c);if(c=H.isExternallyHostedPodcast)N.isExternallyHostedPodcast=c;(c=H.stationType)&&c!=="STATION_TYPE_UNKNOWN"&&(N.cFp=!0);H=H.viewerLivestreamJoinPosition;if(H==null?0:H.utcTimeMillis)N.aj=AA(H.utcTimeMillis)}; +RWt=function(N,H){for(var c={},t=0;t0?H[0]:null;var c=g.as("ytp-chrome-bottom"),t=g.as("ytp-ad-module");N.L=!(c==null||!c.contains(H));N.Y=!(t==null||!t.contains(H));N.C=!(H==null||!H.hasAttribute("data-tooltip-target-fixed"));return H}; +Aay=function(N){if(N.dw&&N.g6){var H=FP(N.Ce,"od")==1,c=yG().T,t=N.g6,h=N.ZI?N.ZI.getName():"ns",O=N.JH,F=new g.rv(Gj(c),c.getHeight());c=N.Rj();N={EAx:h,JH:O,lDo:F,Rj:c,V0:N.mE.V0,Uzo:H};if(H=t.B){H.hA();h=H.TW;O=h.U.T;var M=F=null;h.Y!=null&&O&&(F=h.L,F=new g.Sr(F.left-O.left,F.top-O.top),M=new g.rv(O.right-O.left,O.bottom-O.top));h=c?Math.max(h.T,h.S):h.T;c={EAx:H.getName(),JH:F,lDo:M,Rj:c,Uzo:!1,V0:h}}else c=null;c&&THd(t,N,c)}}; +lE=function(N){var H=N===void 0?{}:N;N=H.JJ===void 0?0:H.JJ;var c=H.Q5===void 0?!1:H.Q5;var t=H.O9===void 0?0:H.O9;var h=H.rk===void 0?0:H.rk;var O=H.Em===void 0?Infinity:H.Em;var F=H.fU===void 0?0:H.fU;var M=H.K6===void 0?!1:H.K6;H=H.yD===void 0?!1:H.yD;g.zU.call(this);this.hZ=this.X_=-1;this.ul=N;this.O9=t;this.Q5=c;this.rk=h;this.Em=O;this.fU=F;((this.K6=M)||isFinite(O)&&this.Em>0)&&c&&sJe&&(this.B=!1,this.L="postLive");this.yD=H}; +oKf=function(N){var H,c;N=(H=N.T)==null?void 0:(c=H.bannerData)==null?void 0:c.itemData;var t,h,O;return(N==null||!N.affiliateDisclaimer)&&(N==null?0:(t=N.exclusivesData)==null?0:t.exclusiveOfferLabelText)&&(N==null?0:(h=N.exclusivesData)==null?0:h.expirationTimestampMs)&&(N==null?0:(O=N.exclusivesData)==null?0:O.exclusiveOfferCountdownText)?!0:!1}; +HK=function(N,H){H=H===void 0?[]:H;var c={LF:N.LF||"_",PB:N.PB||[],Th:N.Th|0,Iu:N.Iu,Yw:N.Yw||function(){}, +DN:N.DN||function(O,F){return WdS(O,F,c.Yw,c.Iu)}},t=c.DN("51",c.PB.concat(H)); +IW.call(this,{Ufp:new dK3(t),errorCount:new U8L(t),eventCount:new WXe(t),Pk:new lpy(t),oca:new kdh(t),mzW:new a9t(t),lk:new tBt(t),SVf:new NtZ(t)},c.LF);var h=this;this.Br={PA:function(){return h.options.PB.concat(h.U).sort(function(O,F){return O-F})}}; +this.options=c;this.service=t;this.L=!N.DN;this.T=new xde(function(){return void h.service.Ij()},c.Th); +this.addOnDisposeCallback(function(){h.T.dispose();h.L&&h.service.dispose()}); +g.Ua(this.U=H.slice())}; +IRd=function(N,H){var c=N.startSecs+N.C6;c=c<=0?null:c;if(c===null)return null;switch(N.event){case "start":case "continue":case "stop":break;case "predictStart":if(H)break;return null;default:return null}H=Math.max(N.startSecs,0);return{XN:new Hv(H,c),oGs:new Ni(H,c-H,N.context,N.identifier,N.event,N.T)}}; +bjt=function(N,H,c){var t=g.cd(N.provider);RUS(N,t,H,0,c);lc(N,t);k1(N)}; +YV=function(N){if(N.prerendering)return 3;var H;return(H={visible:1,hidden:2,prerender:3,preview:4,unloaded:5,"":0}[N.visibilityState||N.webkitVisibilityState||N.mozVisibilityState||""])!=null?H:0}; +g.TD=function(N,H,c){N=N.T.openCursor(H.query,H.direction);return RO(N).then(function(t){return BZe(t,c)})}; +AD=function(N){N.C=null;N.L=null;N.api.SP()||N.api.clearQueue()}; +Ux=function(N,H,c,t,h,O,F,M,f,d){this.callback=N;this.slot=H;this.layout=c;this.ea=t;this.ID=h;this.jg=O;this.k_=F;this.Fg=M;this.Pp=f;this.S=d;this.driftRecoveryMs=lQ(this.layout.clientMetadata,"metadata_type_drift_recovery_ms")||null;this.U=lQ(this.layout.clientMetadata,"metadata_type_prefetch_metadata")!==void 0}; +NI=function(N,H){N.Pd[N.pending++]=H>>>8&255;N.Pd[N.pending++]=H&255}; +nx=function(){for(var N=[],H=g.YI("EXPERIMENTS_FORCED_FLAGS",{}),c=g.K(Object.keys(H)),t=c.next();!t.done;t=c.next())t=t.value,N.push({key:t,value:String(H[t])});c=g.YI("EXPERIMENT_FLAGS",{});t=g.K(Object.keys(c));for(var h=t.next();!h.done;h=t.next())h=h.value,h.startsWith("force_")&&H[h]===void 0&&N.push({key:h,value:String(c[h])});return N}; +ZEd=function(N){var H=N.policy.ox,c=Eb(N.ox)/H-z1(N,N.B.info);H=g.iC(N.U,function(t){return z1(this,t)=0?H[h]:null){O=t;var M=h;F=c.startTimeMs+c.durationMs;var f=O.startTimeMs+O.durationMs;if(O.startTimeMs- +F>N.B)O=!1;else if(iPD(N,c.formatId,O.formatId))c.durationMs=Math.max(F,f)-c.startTimeMs,c.hY=Math.max(c.hY,O.hY),O=!0;else if(Math.abs(c.startTimeMs-O.startTimeMs)<=N.B)if(c.durationMs>O.durationMs+N.B){var d=c.formatId,W=c.IR;M=c.hY;c.formatId=O.formatId;c.durationMs=O.durationMs;c.IR=O.IR;c.hY=O.hY;O.formatId=d;O.startTimeMs=f;O.durationMs=F-f;O.IR=W;O.hY=M;O=!1}else c.formatId=O.formatId,O=!0;else F>O.startTimeMs&&(F>f&&(H.splice(M+1,0,{formatId:c.formatId,startTimeMs:f,durationMs:F-f,IR:O.hY+ +1,hY:c.hY}),N.logger&&N.logger({splitOldStart:(d=c.startTimeMs)==null?void 0:d.toFixed(3),splitOldEnd:F==null?void 0:F.toFixed(3),splitNewStart:(W=O.startTimeMs)==null?void 0:W.toFixed(3),splitNewEnd:f==null?void 0:f.toFixed(3)})),c.durationMs=O.startTimeMs-c.startTimeMs,c.hY=O.IR-1),O=!1}O?t=c:(h+=1,H.splice(h,0,t));d=0;for(W=h+1;W=f+c.B?c=!0:M+c.B0&&t.height>0){t=[Math.round(t.width),Math.round(t.height)];var h=g.fs();h>1&&t.push(h);g.Xz(N,c,"view",t)}N.NT||(N.provider.j.vO()&&v4(N,"rqs2"),N.provider.videoData.T&&$x(N.provider.videoData.T)&& +N.T.set("preload",["1"]));N.NT=!0;N.U=!0}H.reason==="m"&&++N.G7===100&&Gls(N,2);g.Xz(N,c,"vps",[N.y0]);N.ox||N.reportStats(c)}; +PdL=function(N,H,c,t,h,O){var F={layoutId:N.adLayoutMetadata.layoutId,layoutType:N.adLayoutMetadata.layoutType,Hp:"core"};H=HF(N,H,c);return H instanceof S?H:(c=g.P(N.renderingContent,DH))&&c.pings?Object.assign({},F,{renderingContent:N.renderingContent,S1:GX(c.pings)},H,{z0:q5(t,h)(F),clientMetadata:new xd([new Xe(VR(O))]),adLayoutLoggingData:N.adLayoutMetadata.adLayoutLoggingData}):new S("VideoAdTracking is missing from PlayerBytesSequenceItemAdLayoutRenderer")}; +qs=function(N){this.J=N}; +t8e=function(N){if(N.layout.renderingContent){var H;return(H=lQ(N.layout.clientMetadata,"metadata_type_player_bytes_callback_ref"))==null?void 0:H.current}return lQ(N.layout.clientMetadata,"metadata_type_player_bytes_callback")}; +Ny=function(){kB.apply(this,arguments)}; +g.ye=function(N){return Object.prototype.hasOwnProperty.call(N,h1w)&&N[h1w]||(N[h1w]=++OPy)}; +Aj=function(N,H,c){return{ra:ErS(N.T,H*1E3,(c===void 0?0:c)*1E3),Vv:H}}; +gzZ=function(N,H){var c=zC(N.loader)&&H&&H.bj!==void 0&&!H.tL?H.bj*1E3+(N.loader.HO()||0):Y7(N);if(N.policy.L2){var t=N.Ix;var h=N.Cq}else t=aH(N,N.audioTrack),h=aH(N,N.videoTrack);var O=[].concat(g.HE(t.Eu),g.HE(h.Eu));B6(N)&&O.push.apply(O,g.HE(N.S));var F=[].concat(g.HE(t.rq),g.HE(h.rq)),M=N.loader.xn();if(N.policy.jS&&!N.videoData.isLivePlayback){var f=N.videoData.lengthSeconds*1E3;c>=f&&N.loader.Lq("invalidSabrCmt",{cmt:c,vd:f})}var d,W;f=N.YG;var z=N.wE,E=N.GW,x=N.L,q=N.videoData.gE,r=N.policy, +w=N.loader.ys,n=Kmd(N.loader)*1E3,p=(d=N.Kq)==null?void 0:d.xB;d=(W=N.Kq)==null?void 0:W.h6;var U;W=Number((U=N.B.U)==null?void 0:U.info.itag)||0;var X;U=Number((X=N.B.S)==null?void 0:X.info.itag)||0;X=N.In;var A=N.wE.OS();var R=(H==null?0:H.ai)?H.ai:N.loader.isSuspended?4:void 0;c={YG:f,wE:z,GW:E,Eu:O,rq:F,sY:c,nextRequestPolicy:x,o5:q,wk:r,XY:w,Wu:n,xB:p,h6:d,In:X,G0S:W,u3o:U,q6:M,zL:A,ai:R};O=N.loader.S9();F=TS(O);O&&(c.EU=F);if(H=zC(N.loader)&&(H==null?0:H.tL)?H.bj:N.wE.G$())c.NJ=H*1E3;var v; +H=N.B;O=H.Us;if(((v=H.wk)==null?0:cB(v))&&!O)for(v=g.K(H.L),F=v.next();!F.done;F=v.next())if(F.value.X3){O=!0;break}v=cB(H.wk)&&!O?[]:D5h(H,H.L);c.Mh=v;v=N.B;cB(v.wk)&&!v.ox?v=[]:(H=i2e(v),H.length===0&&(H=v.Y),v=D5h(v,H));c.TD=v;c.w6=B6(N)?[N.Y]:void 0;N.policy.VN&&(c.f5=IEZ(N.loader,N.audioTrack),c.gK=IEZ(N.loader,N.videoTrack));if(N.policy.B){v=N.loader.getCurrentTime();t=aK(N,t.Eu,v);h=aK(N,h.Eu,v);h=Math.min(t,h);B6(N)&&(t=aK(N,N.S,v),N.wE.vO()&&t0)for(Fe.Lq("clsdai",{updcids:1,mt:t.toFixed(3),cid:v.join(","),rn:H}),Fe.B.clear(),t=g.K(v),v=t.next();!v.done;v=t.next())Fe.B.add(v.value);else Fe.Y&&(Fe.Lq("clsdai",{updcids:0,mt:t.toFixed(3),rn:H}),Fe.B.clear());t=g.K(Fe.B);for(H=t.next();!H.done;H= +t.next()){v=Fe;if(H=H.value){v=v.T.get(H);H={cuepointId:H};if(v==null?0:v.Tj)H.adsConfig=TS(v.Tj)||void 0;if(v==null?0:v.h$)H.Zi=v.h$;if(v==null?0:v.J7)H.tq=v.J7;Nf&&(H.X9=AA(Nf.split(";")[0]),H.jw=Nf.split(";")[1]||"");H.XE=(v==null?void 0:v.XE)||0;v=H}else v=void 0;v&&h.push(v)}Fe=h}c.Eh=Fe;var tS;(tS=N.ox)!=null&&tS.B.clear()}else if(tS=(Fe=N.C)==null?void 0:Fe.vx(h))c.nJ=tS}else N.policy.Y&&Fvw(N.videoData)&&(c.Eh=[{XE:7}]);N.policy.Bp&&N.T.length>0&&N.T[0].V$()&&(c.lT=N.T[0].GN());return c}; +Dy=function(N,H,c){N.state.T.hasOwnProperty(H)||wl(N,H,c);N.state.C[H]=function(){return c.apply(N,g.LQ.apply(0,arguments))}; +N.state.Y.add(H)}; +$RS=function(){this.L=!1}; +Twf=function(N,H,c){N.j1.A3("ADS_CLIENT_EVENT_TYPE_LAYOUT_ENTERED",H,c,void 0);N=g.K(N.B);for(var t=N.next();!t.done;t=N.next())t.value.AF(H,c)}; +jxD=function(N,H,c,t,h){J0.call(this,N,{W:"div",K:"ytp-ad-timed-pie-countdown-container",X:[{W:"svg",K:"ytp-ad-timed-pie-countdown",V:{viewBox:"0 0 20 20"},X:[{W:"circle",K:"ytp-ad-timed-pie-countdown-background",V:{r:"10",cx:"10",cy:"10"}},{W:"circle",K:"ytp-ad-timed-pie-countdown-inner",V:{r:"5",cx:"10",cy:"10"}},{W:"circle",K:"ytp-ad-timed-pie-countdown-outer",V:{r:"10",cx:"10",cy:"10"}}]}]},"timed-pie-countdown",H,c,t,h);this.U=this.Sa("ytp-ad-timed-pie-countdown-container");this.L=this.Sa("ytp-ad-timed-pie-countdown-inner"); +this.S=this.Sa("ytp-ad-timed-pie-countdown-outer");this.B=Math.ceil(2*Math.PI*5);this.hide()}; +wx=function(N,H){H?N.requestHeaders.Authorization="Bearer "+H:delete N.requestHeaders.Authorization}; +oc=function(N){g.lL.call(this,{W:"button",fq:["ytp-expand-right-bottom-section-button","ytp-button"],V:{title:"{{title}}","aria-pressed":"{{pressed}}","data-priority":"1","data-title-no-tooltip":"{{data-title-no-tooltip}}"},X:[g.pN()]});this.T=!1;this.listen("click",this.B);N.createClientVe(this.element,this,276954)}; +lB=function(N){var H=N.o4();if(g.y(H.getPlayerState(),128))return!1;H=H.getVideoData();Cm(N)&&N.j.iR&&(Gk.length&&N.KU?(aW(N,{muted:!1,volume:N.bR.volume},!1),NL(N,!1)):Gk.length||N.bR.muted||(aW(N,{muted:!0,volume:N.bR.volume},!1),NL(N,!0)));Cm(N)&&g.PX(N.j)&&H.mutedAutoplay&&(aW(N,{muted:!0,volume:N.bR.volume},!1),NL(N,!0));H.sL&&aW(N,{muted:!0,volume:N.bR.volume},!1);Zs(N,1,H,!1);var c=N.o4();N.VS.publish("initializingmode");N.kt(c);N.fp(3);var t;if(!(t=!N.j.Fb)){if(t=N.X2){t=N.X2;var h=N.mediaElement; +t=!!h&&h===t.mediaElement}t=t&&N.Tc}t&&(N.kA(),md(N),c.setMediaElement(N.mediaElement));c.GF();if(g.y(c.getPlayerState(),128))return!1;H.TE||Mt(N,3);return N.Tc=!0}; +T2t=function(N,H,c,t,h,O,F){function M(A){return!!z[A]} +var f=H.T||!!h,d=f&&H.n4?O:void 0,W=new Set,z=Csl(N,H,c,t,O,f,W);Fa(t)&&(z=Bss(c,z,h,f,O,H),f&&O({enflt:WI(z)}));H.UF=Zje(z,H);var E=smw(H);N=[];h=g.K(Object.values(z));for(var x=h.next();!x.done;x=h.next()){x=x.value;var q=void 0;((q=x)==null?0:q.length)&&x[0].ll()&&N.push.apply(N,g.HE(x))}if($x(t))return O=g.Nn(Object.values(z),function(A){return!!A.length&&!!A[0].audio}),f=g.Nn(Object.values(z),function(A){return!!A.length&&!!A[0].video}),O&&f||C6(),H2(new sR(f,O,d,N)); +h=z.a;x=!1;H.NT&&E[0]!=="a"&&sHe(h)&&(E.unshift("a"),x=!0);f&&(O({audioPrefOrder:E.join("_")}),O({preferHighQualityAudio:H.NT}),O({forcedAacForHqa:x}));h=[];if(H.T3){E=g.WL(E,M);x=new Set;q=g.K(E);for(var r=q.next();!r.done;r=q.next()){var w=new Set;r=g.K(z[r.value]);for(var n=r.next();!n.done;n=r.next()){n=n.value;var p=void 0,U=(p=n.X3)==null?void 0:p.id;U&&(x.has(U)?w.has(U)&&h.push(n):(w.add(U),x.add(U),h.push(n)))}}if(h.length===0){if(E.length===0)return f&&O({noaudio:1}),C6();h=z[E[0]]}}else{h= +g.Nn(E,M);if(!h)return f&&O({noaudio:1}),C6();h=z[h]}z["9"]&&z.h&&t.K4&&!H.vp&&(f&&O({dltvp9:1}),delete z["9"]);if(F){f&&O({bfsflt:WI(z),bfsflta:lo(c)});M8v(c,W);f&&O({bfsfltb:lo(c)});for(var X in z)if(z.hasOwnProperty(X)&&(F=X,!(F==="f"||H.Cq===0&&f5w.has(F))))for(W=g.K(z[F]),E=W.next();!E.done;E=W.next())E=E.value,H.AN?XFs(c,F,E):c_L(c,F,E);f&&O({aftsflt:lo(c)})}F=z["1h"]?"1h":"1";c=z["9h"]?"9h":"9";E=z[F];x=z["2"];q=z[c];E&&E.length&&(H.B.highestAv1Resolution=E[E.length-1].video.qualityOrdinal); +q&&q.length&&(H.B.highestVp9Resolution=q[q.length-1].video.qualityOrdinal);X=[];W=[];if(H.LG&&x)X=x,W=["2"];else if(H.G7&&E)X=E,W=[F],O({forceAv1:F});else if(H.Z&&!H.vL)for(W=yvD(t)?z["1h"]||z["9h"]?["1h","9h"]:["9","h"]:["1","9","h"],f&&O({newhybpref:W.join(".")}),E=g.K(W),x=E.next();!x.done;x=E.next())X=X.concat(z[x.value]).filter(function(A){return A}); +else H.CF>0&&q&&E&&(W=[F,c],X=E.concat(q).filter(function(A){return A})); +if(X.length&&!H.vL){kX(X,W);if(f){f=[];H=g.K(X);for(t=H.next();!t.done;t=H.next())f.push(t.value.itag);O({hbdfmt:f.join(".")})}return H2(new sR(X,h,d,N))}X=sAd(H);X=g.Nn(X,M);if(!X){if(z[F])return O=z[F],kX(O),H2(new sR(O,h,d,N));f&&O({novideo:1});return C6()}H.bX&&(X==="1"||X==="1h")&&z[c]&&(F=J5(z[X]),W=J5(z[c]),W>F?X=c:W===F&&tLw(z[c])&&(X=c));X==="9"&&z.h&&J5(z.h)>J5(z["9"])&&(X="h");H.mG&&t.isLive&&X==="("&&z.H&&J5(z["("])<1440&&(X="H");f&&O({vfmly:dU(X)});H=z[X];if(!H.length)return f&&O({novfmly:dU(X)}), +C6();kX(H);return H2(new sR(H,h,d,N))}; +MOf=function(N,H,c,t,h){this.oy=H;this.T=c;this.visible=t;this.layoutId=h;this.triggerType="TRIGGER_TYPE_MEDIA_TIME_RANGE_ALLOW_REACTIVATION_ON_USER_CANCELLED";this.triggerId=N(this.triggerType)}; +gKs=function(N,H,c){H=g.K(H);for(var t=H.next();!t.done;t=H.next())t=t.value,t.layout&&Um(N.T,t.slot)&&Q1v(N,t.slot,t.layout,c)}; +Ngv=function(N,H){if(!isNaN(N.C4)){var c=Date.now()-N.C4;c<1E4&&N.Lq("bfaswtch",{ep:c,sk:H!==void 0?"1":"0",sr:H||""})}}; +qW=function(){this.data=new Uint8Array(2048);this.pos=0;wc||(wc=GJf("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_."))}; +DG=function(N,H,c){c=c===void 0?!1:c;return rjR(N,H.getCurrentTime(),(0,g.Lh)(),H.Ul(),c)}; +dRR=function(N,H){N.T&&(g.y(H,8)&&N.L?(N.L=!1,N.aD(),N.T.start()):(g.y(H,2)||g.y(H,64))&&N.videoId&&(N.videoId=null))}; +Qb=function(N,H,c,t,h,O){c=c===void 0?!0:c;var F=g.C2(N,{playerType:h});if(!F||(F.getPlayerType()!==2||N.Re(F))&&!g.z7(F.getVideoData())){var M=N.hN.IA;M?M.seekTo(H,{jm:!c,uV:t,j_:"application",seekSource:O}):(F&&F===N.o4()&&N.PO&&!rrL(N,H)&&N.setLoopRange(null),N.seekTo(H,c,t,h,O,"_request"))}}; +TtS=function(N,H){H=g.K(H);for(var c=H.next();!c.done;c=H.next())if(c=c.value,c.adSlotMetadata.slotType==="SLOT_TYPE_PLAYER_UNDERLAY"){var t=g.P(c.fulfillmentContent.fulfilledLayout,y7);if(t&&(t=g.P(t.renderingContent,RC))&&t.associatedPlayerBytesLayoutId===N)return c}}; +Wvt=function(N,H){if(H!==N.icon){switch(H){case 3:var c=WY();break;case 1:c=sr();break;case 2:c={W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M16,19.02 L16,12.00 L18,12.00 L18,17.86 L23.10,20.81 L22.10,22.54 L16,19.02 Z"}}]};break;case 4:c={W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path", +JN:!0,V:{d:"M7,27.5h22L18,8.5L7,27.5z M19,24.5h-2v-2h2V24.5z M19,20.5h-2V16.5h2V20.5z",fill:"#fff"}}]}}N.updateValue("icon",c);N.icon=H}}; +g.QV=function(N,H){return typeof N.keywords[H]!=="string"?null:N.keywords[H]}; +lxR=function(N,H,c){N.Z&&clearTimeout(N.Z);N.T===0&&g.nH(N.api.getRootNode(),"ytp-grid-scrolling");H?HzS(N,c):N.T<.1&&(N.Z=window.setTimeout(function(){HzS(N)},1E3))}; +G_t=function(N,H,c,t,h,O,F,M,f){var d=c.pings;return d?[JY3(N,O,M,h,function(W){var z=W.slotId;W=f(W);var E=c.adLayoutLoggingData,x=c.progressCommands;z=CA(H.B.get(),"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER",z);var q={layoutId:z,layoutType:"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER",Hp:"core"};return{layoutId:z,layoutType:"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER",S1:GX(d),layoutExitNormalTriggers:[new mZ(H.T,O)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[], +layoutExitUserCancelledTriggers:[],Hp:"core",clientMetadata:new xd([new Xe(t),new HZ(cZ(d)),new dW(Qk3(d)),new N5(F/1E3),new G3({progressCommands:x}),new rx(F/1E3)]),z0:W(q),adLayoutLoggingData:E}})]:new S("VideoAdTrackingRenderer without VideoAdTracking pings filled.",{videoAdTrackingRenderer:c})}; +z1s=function(N,H,c,t){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.lp.call(this,N,H,c,0);this.B=null;this.S=t?2:0}; +$Ky=function(){var N=document;if("visibilityState"in N)return N.visibilityState;var H=gsD+"VisibilityState";if(H in N)return N[H]}; +IB=function(N,H,c,t,h){var O=N.N("html5_enable_new_audio_settings_menu");n6.call(this,"Stable Volume",O?Eas.aS:g.Se.aS);this.J=N;this.U=H;this.B=c;this.hasDrcAudioTrack=t;this.getDrcState=h;this.L=this.enableNewAudioSettingsMenu=this.T=!1;g.bV(this.element,"ytp-drc-menu-item");this.R4=(this.enableNewAudioSettingsMenu=O)?N.GS().rG:N.GS();N.N("html5_enable_voice_boost")?(this.L=!0,this.G(N,"onFilterAudioFeatures",this.dk)):N.addEventListener("videodatachange",this.dk.bind(this));N.N("mta_drc_mutual_exclusion_removal")&& +this.G(N,"onPlaybackAudioChange",this.dk);N.createClientVe(this.element,this,273317);this.listen("click",this.Y);H=this.B()===1&&this.hasDrcAudioTrack();this.enableNewAudioSettingsMenu||(N=N.N("delhi_modern_web_player_icons")?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M12 .99C5.92 .99 1 5.92 1 11.99C1 18.07 5.92 22.99 12 22.99C18.07 22.99 23 18.07 23 11.99C23 5.92 18.07 .99 12 .99ZM12 2.99C14.38 2.99 16.67 3.94 18.36 5.63C20.05 7.32 21 9.61 21 11.99C21 14.38 20.05 16.67 18.36 18.36C16.67 20.05 14.38 20.99 12 20.99C9.61 20.99 7.32 20.05 5.63 18.36C3.94 16.67 3 14.38 3 11.99C3 9.61 3.94 7.32 5.63 5.63C7.32 3.94 9.61 2.99 12 2.99ZM14 6.00C13.73 6.00 13.48 6.10 13.29 6.29C13.10 6.48 13 6.73 13 7.00V17.00C13 17.26 13.10 17.52 13.29 17.70C13.48 17.89 13.73 18.00 14 18.00C14.26 18.00 14.51 17.89 14.70 17.70C14.89 17.52 15 17.26 15 17.00V7.00C15 6.73 14.89 6.48 14.70 6.29C14.51 6.10 14.26 6.00 14 6.00ZM10 8.00C9.73 8.00 9.48 8.10 9.29 8.29C9.10 8.48 9 8.73 9 9.00V15.00C9 15.26 9.10 15.52 9.29 15.70C9.48 15.89 9.73 16.00 10 16.00C10.26 16.00 10.51 15.89 10.70 15.70C10.89 15.52 11 15.26 11 15.00V9.00C11 8.73 10.89 8.48 10.70 8.29C10.51 8.10 10.26 8.00 10 8.00ZM18 9.00C17.73 9.00 17.48 9.10 17.29 9.29C17.10 9.48 17 9.73 17 10.00V14.00C17 14.26 17.10 14.52 17.29 14.70C17.48 14.89 17.73 15.00 18 15.00C18.26 15.00 18.51 14.89 18.70 14.70C18.89 14.52 19 14.26 19 14.00V10.00C19 9.73 18.89 9.48 18.70 9.29C18.51 9.10 18.26 9.00 18 9.00ZM6 10.00C5.73 10.00 5.48 10.10 5.29 10.29C5.10 10.48 5 10.73 5 11.00V13.00C5 13.26 5.10 13.52 5.29 13.70C5.48 13.89 5.73 14.00 6 14.00C6.26 14.00 6.51 13.89 6.70 13.70C6.89 13.52 7 13.26 7 13.00V11.00C7 10.73 6.89 10.48 6.70 10.29C6.51 10.10 6.26 10.00 6 10.00Z", +fill:"white"}}]}:{W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M7 13H5v-2h2v2zm3-4H8v6h2V9zm3-3h-2v12h2V6zm3 2h-2v8h2V8zm3 2h-2v4h2v-4zm-7-7c-4.96 0-9 4.04-9 9s4.04 9 9 9 9-4.04 9-9-4.04-9-9-9m0-1c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2z",fill:"white"}}]},this.setIcon(N));this.subscribe("select",this.S,this);this.enableNewAudioSettingsMenu||this.L?this.dk():(this.setEnabled(this.hasDrcAudioTrack()),d1(this,H),this.R4.Ou(this))}; +xRD=function(N){N.FM=Date.now();iq(N,N.kc);N.timer.start()}; +nD=function(N,H,c,t,h,O,F,M,f,d,W,z){g.L.call(this);this.uU=N;this.slot=H;this.layout=c;this.PH=t;this.N2=h;this.ea=O;this.ID=F;this.Nc=M;this.Le=f;this.k_=d;this.params=z;this.AY=!0;N=E3s(W);if(!N)throw Error("Invalid params for sublayout");this.QR=N}; +GD3=function(N,H){var c;return g.Y(function(t){if(t.T==1)return v6(2),g.Xy(t,2),g.a(t,WA(N.network,H),4);if(t.T!=2)return(c=t.B)?c.challenge&&!c.bgChallenge?v6(1):v6(4):v6(3),t.return(c);g.Lq(t);v6(3);return t.return(void 0)})}; +pm=function(N){g.QH(N.badge.element,"ytp-suggested-action-badge-with-controls",N.ox||!N.C)}; +qKv=function(N){N.offsets.length=H&&wz(c,!0)>=H}else c.B.length||t.B.length?(h=c.mR.info.OF+t.mR.info.OF,h=10*(1-Eb(H)/h),H=Math.max(h,H.policy.b1),c=wz(t,!0)>=H&&wz(c,!0)>=H):c=!0;if(!c)return"abr"; +c=N.videoTrack;if(c.B.length>0&&c.L.B.length===1&&vh3(c.L).info.C360);if(!N.F_||c)return"";c=N.policy.zn;q1(N.policy)&&(c=yte(N.TW,N.F_,Eb(N.TW)));c=vfs(N.videoTrack,N.getCurrentTime(),c)||vfs(N.audioTrack,N.getCurrentTime(),c);return q1(N.policy)?c?"mbnm":"":(N.videoTrack.B.length>0||N.audioTrack.B.length>0|| +xZR(N.Y,N.videoTrack,N.audioTrack)||xZR(N.Y,N.audioTrack,N.videoTrack))&&c?"nord":""}; +l5h=function(N,H,c){var t;if(t=N.playback.getVideoData().vH())t=(t=N.T.Vd({cpn:H}))&&t.EN?(N=N.T.T.get(t==null?void 0:t.EN))&&N.slice(-1)[0].cpn===H:!1;return t&&c===2?1E3:0}; +uB=function(N){if(!N.hj)return{};var H=N.hj.H_(),c;H.d=(c=N.hj.Ix)==null?void 0:c.UR();H.shost=N.xq;H.ty="o";return H}; +gay=function(N,H){i1S(N);for(var c=H.links||H.shareTargets,t=0,h={},O=0;O0&&!R&&!X?(U.length===2&&(U=["noreferrer"]),g.JH(x,r,E,U[0]),x=cqw()):(w=p.join(","),PS()&&x.navigator&&x.navigator.standalone&&E&&E!="_self"?(w=g.Ch("A"),g.eV(w,r),w.target=E,n&&(w.rel="noreferrer"),((q=q.attributionsrc)||q==="")&&w.setAttribute("attributionsrc",q),q=document.createEvent("MouseEvent"), +q.initMouseEvent("click",!0,!0,x,1),w.dispatchEvent(q),x=cqw()):n?(x=g.JH(x,"",E,w),q=g.oA(r),x&&(x.opener=null,q===""&&(q="javascript:''"),q='',q=vZ(q),(r=x.document)&&r.write&&(r.write(aE(q)),r.close()))):((x=g.JH(x,r,E,w))&&q.noopener&&(x.opener=null),x&&q.noreferrer&&(x.opener=null)));x&&(x.opener||(x.opener=window),x.focus());z.preventDefault()}}}(h)); +h.pm.addOnDisposeCallback(g.UU(N.tooltip,h.pm.element));M==="Facebook"?N.api.createClientVe(h.pm.element,h.pm,164504):M==="Twitter"&&N.api.createClientVe(h.pm.element,h.pm,164505);N.G(h.pm.element,"click",function(W){return function(){N.api.logClick(W.pm.element)}}(h)); +N.api.logVisibility(h.pm.element,!0);N.B.push(h.pm);t++}}var f=H.more||H.moreLink,d=new g.e({W:"a",fq:["ytp-share-panel-service-button","ytp-button"],X:[{W:"span",K:"ytp-share-panel-service-button-more",X:[{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},X:[{W:"rect",V:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{W:"path",V:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 Z m -5.7,21.85 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z", +fill:"#4e4e4f","fill-rule":"evenodd"}}]}]}],V:{href:f,target:"_blank",title:"More"}});d.listen("click",function(W){var z=f;N.api.logClick(N.moreButton.element);z=SJL(N,z);g.Yc(z,N.api,W)&&N.api.QS("SHARE_CLICKED")}); +d.addOnDisposeCallback(g.UU(N.tooltip,d.element));N.api.createClientVe(d.element,d,164506);N.G(d.element,"click",function(){N.api.logClick(d.element)}); +N.api.logVisibility(d.element,!0);N.B.push(d);N.moreButton=d;N.updateValue("buttons",N.B)}; +J1L=function(N){kc.forEach(function(H){return H(N)})}; +Yy=function(N){this.value=N}; +qDD=function(N,H,c){var t;(t=N.app.z6().S[H.clientPlaybackNonce]||null)==null||t.dispose();H=new rah(N,H,N.playback,c/1E3);N.NT.set(H.Qd(),H);N.app.z6().S[H.Qd()]=H}; +rcy=function(N,H,c){var t=N.getVideoData(),h=H.getVideoData();if(!t.D().supportsGaplessShorts())return{nq:"env"};if((!c.TW||t.LC&&!t.isAd()||h.LC&&!h.isAd())&&(!c.B||t.LC&&!t.isAd()||h.LC)&&(!c.L||h.LC&&!h.isAd()||t.LC)&&(t.LC||h.LC))return{nq:"autoplay"};if(t.endSeconds>0)return{nq:"endcr"};if(!t.C)return{nq:"client"};if(!N.SP())return{nq:"no-empty"};N=UL(c,N,H,Infinity);return N!=null?{nq:N.msg}:null}; +R8l=function(N,H,c,t){if(H&&!H.hasAttribute)N=new g.ti("showElementTooltip called with non-element.",H.toString()),g.BZ(N);else{isNaN(N.U)||(N.U=NaN,N.bg.style.background="");g.nH(N.element,"ytp-tooltip-progress-bar-style");N.T=H;N.C=!!t;t?N.L=t:(N.env.N("player_tooltip_data_title_killswitch")?N.L=H.getAttribute("title"):N.L=H.getAttribute("data-tooltip-title"),N.env.N("player_tooltip_data_title_killswitch")?H.removeAttribute("title"):H.removeAttribute("data-tooltip-title"));g.HB(N.element,"ytp-tooltip"); +var h=H.getAttribute("data-tooltip-image");h&&(N.image.style.backgroundImage="url("+h+")");t?N.update({ariaHidden:"false"}):N.update({ariaHidden:"true"});g.QH(N.element,"ytp-tooltip-image-enabled",!!h);H=H.getAttribute("data-tooltip-opaque");g.QH(N.element,"ytp-tooltip-opaque",!!H);N.type=c;N.api.addEventListener("appresize",N.Bp);N.Y&&(un(N),N.fade.show(0))}}; +Kn=function(N){this.NE=N}; +Bq=function(N,H){this.adPodIndex=N;this.T=H.length;this.adBreakLengthSeconds=H.reduce(function(t,h){return t+h},0); +var c=0;for(N+=1;N=0;t--){var h=N[t];if(H.call(c,h,t,N))return{xW:t,b6:h}}return{xW:-1,b6:void 0}}; +x4R=function(N){var H=g.Ck();if(H)if(H.clear(N),N)aAv(N);else for(var c in g9)aAv(c)}; +BeD=function(N){return(N=N.iR)&&N.showError?N.showError:!1}; +Pkl=function(N){return!!(N.playlist||N.list||N.api)}; +b8=function(N){N=J8(N);N.metadata||(N.metadata={});return N.metadata}; +kA=function(N,H,c){N.J.N("delhi_modern_web_player")?H.Jl(N.B.Sa(Rc[c])):H.Jl(N.B.element)}; +hd=function(N){return BJ(N)&&N.allowLiveDvr}; +uJ=function(N,H){H=H===void 0?"":H;return N.Nj?QA(!0):i8(pq(QA(g.py(N,H)),function(c){return QA(!!c)}),function(){return QA(!1)})}; +J6=function(N,H,c,t,h,O,F,M,f){if(H===N)if(f){if(f===M.layoutId){a:{N=g.K(c.keys());for(H=N.next();!H.done;H=N.next())if(H=H.value,H.slotType==="SLOT_TYPE_PLAYER_BYTES"&&O===c.get(H).layoutId){c=!0;break a}c=!1}c?hJ(t,1):h?h():KA("Tried to call engagePingCallback but it is null",F,M)}}else KA("Companion AdUxClick received without a layoutId",F,M)}; +$Es=function(N,H){N.dataset.version=H}; +lA=function(N,H,c){for(var t=[],h;h=jc(N,H);)t.push(c(new kl(new eB([h]))));return t.length?t:void 0}; +$m=function(N,H,c,t){var h=new g.Fm(H,void 0,"Video Override");g.aQ.call(this,t.text||"",N,H,c,"Video Override",function(){g.Q7(c,h)}); +var O=this;g.bV(this.element,"ytp-subtitles-options-menu-item");this.setting=t.option.toString();N=t.options;this.settings=g.fn(N,this.BT,this);this.L=h;g.l(this,this.L);H=new g.TW({W:"div",K:"ytp-menuitemtitle",Wp:"Allow for a different caption style if specified by the video."},0);g.l(this,H);this.L.Ou(H,!0);this.B=new g.TW({W:"div",K:"ytp-menuitem",V:{role:"menuitemradio",tabindex:"0"},X:[{W:"div",K:"ytp-menuitem-label",Wp:"On"}]},-1);g.l(this,this.B);this.L.Ou(this.B,!0);this.G(this.B.element, +"click",function(){eLe(O,!0)}); +this.T=new g.TW({W:"div",K:"ytp-menuitem",V:{role:"menuitemradio",tabindex:"0"},X:[{W:"div",K:"ytp-menuitem-label",Wp:"Off"}]},-2);g.l(this,this.T);this.L.Ou(this.T,!0);this.G(this.T.element,"click",function(){eLe(O,!1)}); +this.Ad(g.jm(N,this.BT))}; +EAl=function(N,H){if(window.fetch&&H.format!=="XML"){var c={method:H.method||"GET",credentials:"same-origin"};H.headers&&(c.headers=H.headers);H.priority&&(c.priority=H.priority);N=Emw(N,H);var t=qWh(N,H);t&&(c.body=t);H.withCredentials&&(c.credentials="include");var h=H.context||g.di,O=!1,F;fetch(N,c).then(function(M){if(!O){O=!0;F&&g.wi(F);var f=M.ok,d=function(W){W=W||{};f?H.onSuccess&&H.onSuccess.call(h,W,M):H.onError&&H.onError.call(h,W,M);H.onFinish&&H.onFinish.call(h,W,M)}; +(H.format||"JSON")==="JSON"&&(f||M.status>=400&&M.status<500)?M.json().then(d,function(){d(null)}):d(null)}}).catch(function(){H.onError&&H.onError.call(h,{},{})}); +N=H.timeout||0;H.onFetchTimeout&&N>0&&(F=g.Zh(function(){O||(O=!0,g.wi(F),H.onFetchTimeout.call(H.context||g.di))},N))}else g.Rj(N,H)}; +OU=function(N,H){return FW(N,H)!=null}; +tHe=function(N){var H;return!((H=N.Es.getWebPlayerContextConfig())==null||!H.enableProximaLowLatency)}; +GQ3=function(N){dK.call(this,N);var H=this;wl(N,"getStatsForNerds",function(){return Pyl(H.api)}); +Dy(N,"showVideoInfo",function(){Efv(H,!0)}); +Dy(N,"hideVideoInfo",function(){Efv(H,!1)}); +Dy(N,"isVideoInfoVisible",function(){return eod(H)})}; +DRL=function(N){N.Zf&&N.Zf.wR()&&N.LH()}; +ecR=function(N,H,c,t,h,O,F,M,f,d,W,z,E){var x={layoutId:H,layoutType:"LAYOUT_TYPE_MEDIA",Hp:c};h=[new Xe(h),new vL(f),new BL(t.externalVideoId),new yR(M),new G3({impressionCommands:t.impressionCommands,abandonCommands:t.onAbandonCommands,completeCommands:t.completeCommands,progressCommands:t.adVideoProgressCommands}),new ky(O),new Il({current:null}),new N5(F)];(O=t.playerOverlay.instreamAdPlayerOverlayRenderer)&&h.push(new al(O));(F=t.playerOverlay.playerOverlayLayoutRenderer)&&h.push(new eh(F)); +z&&h.push(new j7(z));(z=t.playerUnderlay)&&h.push(new Xp(z));M=lS(N.B.get(),"SLOT_TYPE_IN_PLAYER");z=(z=O?O.elementId:F==null?void 0:F.layoutId)?z:CA(N.B.get(),"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",M);h.push(new Ls(z));h.push(new Zd(M));h.push(new Yy(f.adPodIndex));t.adNextParams&&h.push(new M5(t.adNextParams));t.shrunkenPlayerBytesConfig&&h.push(new ab(t.shrunkenPlayerBytesConfig));t.clickthroughEndpoint&&h.push(new fg(t.clickthroughEndpoint));t.legacyInfoCardVastExtension&&h.push(new dR(t.legacyInfoCardVastExtension)); +t.sodarExtensionData&&h.push(new WZ(t.sodarExtensionData));W&&h.push(new E4(W));h.push(new HZ(cZ(t.pings)));f=GX(t.pings);if(E){a:{E=g.K(E);for(W=E.next();!W.done;W=E.next())if(W=W.value,W.adSlotMetadata.slotType==="SLOT_TYPE_PLAYER_UNDERLAY"&&(O=g.P(W.fulfillmentContent.fulfilledLayout,y7))&&(O=g.P(O.renderingContent,RC))&&O.associatedPlayerBytesLayoutId===H){E=W;break a}E=void 0}E&&h.push(new $d(E))}return{layoutId:H,layoutType:"LAYOUT_TYPE_MEDIA",S1:f,layoutExitNormalTriggers:[new mR(N.T,H)],layoutExitSkipTriggers:t.skipOffsetMilliseconds? +[new wG(N.T,z)]:[],layoutExitMuteTriggers:[new wG(N.T,z)],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],Hp:c,ub:h,z0:d(x),adLayoutLoggingData:t.adLayoutLoggingData}}; +hj=function(N,H,c){N.VS.publish(H,c);var t=g.Iy(N.j)||g.G0(N.j)||g.m8(N.j);if(c&&t){switch(H){case "cuerangemarkersupdated":var h="onCueRangeMarkersUpdated";break;case "cuerangesadded":h="onCueRangesAdded";break;case "cuerangesremoved":h="onCueRangesRemoved"}h&&N.VS.QS(h,c.map(function(O){return{getId:function(){return this.id}, +end:O.end,id:O.getId(),namespace:O.namespace==="ad"?"ad":"",start:O.start,style:O.style,visible:O.visible,markerPositionMs:O.markerPositionMs}}))}}; +QxZ=function(N,H){return ce(N,H)-1}; +mr=function(N){var H=N.data.getUint8(N.offset+N.T);N.T+=1;return H}; +swf=function(N,H,c){return Math.ceil(Math.max(Math.max(N.policy.dL,N.policy.TK*c),Math.min(Math.min(N.policy.zW,31*c),Math.ceil(H*c))))||N.policy.dL}; +g.Ps=function(){var N=this;this.promise=new Promise(function(H,c){N.resolve=H;N.reject=c})}; +g.gC=function(N,H){g.Gv.call(this,N,{W:"div",fq:["ytp-popup",H||""],X:[{W:"div",K:"ytp-focus-trap-before",V:{tabindex:"0"}},{W:"div",K:"ytp-popup-content"},{W:"div",K:"ytp-focus-trap-after",V:{tabindex:"0"}}]},100,!0);this.T=[];this.U=this.L=null;this.maxHeight=this.maxWidth=0;this.size=new g.rv(0,0);this.content=this.Sa("ytp-popup-content");this.listen("keydown",this.DM);this.G(this.Sa("ytp-focus-trap-before"),"focus",this.O6o);this.G(this.Sa("ytp-focus-trap-after"),"focus",this.W9p)}; +sed=function(N,H){for(var c=g.K(Object.keys(N)),t=c.next();!t.done;t=c.next()){t=t.value;var h=N[t][0];if(!h.width&&h.YH===H.YH&&!h.audioChannels)return t}return""}; +F9=function(N,H){return N.J.getPlayerStateObject(H)}; +g.El=function(N){return g.G0(N)||P_(N)==="TV_UNPLUGGED_CAST"||jQ(N)}; +NLs=function(N){var H=N.Us;isFinite(H)&&(Zbe(N)?N.refresh():(H=Math.max(0,N.gE+H-(0,g.Lh)()),N.S||(N.S=new g.kT(N.refresh,H,N),g.l(N,N.S)),N.S.start(H)))}; +L3=function(N){return vh3(N.L)}; +Dm=function(N){N.L.stop();for(var H;!N.T.isEmpty();){var c=PZe(N.T);var t=N.T.T;t=t.length!=0?t[0].getValue():void 0;if(c===void 0||t===void 0)break;if((t=N.map.get(t))&&t.Ef===c){H=c;break}else N.T.remove()}H!==void 0&&(c=(0,g.Lh)(),N.L.start(Math.max(H-c,100)))}; +ZN=function(N,H){g.e.call(this,{W:"div",K:"ytp-fine-scrubbing",X:[{W:"div",K:"ytp-fine-scrubbing-draggable",X:[{W:"div",K:"ytp-fine-scrubbing-thumbnails",V:{tabindex:"0",role:"slider",type:"range","aria-label":"Click or scroll the panel for the precise seeking.","aria-valuemin":"{{ariamin}}","aria-valuemax":"{{ariamax}}","aria-valuenow":"{{arianow}}","aria-valuetext":"{{arianowtext}}"}}]},{W:"div",V:{"aria-hidden":"true"},K:"ytp-fine-scrubbing-cursor"},{W:"div",K:"ytp-fine-scrubbing-seek-time",V:{"aria-hidden":"true"}, +Wp:"{{seekTime}}"},{W:"div",K:"ytp-fine-scrubbing-play",X:[N.N("delhi_modern_web_player_icons")?tF():BVh()],V:{title:"Play from this position",role:"button"}},{W:"div",K:"ytp-fine-scrubbing-dismiss",X:[g.Bg()],V:{title:"Exit precise seeking",role:"button"}}]});var c=this;this.api=N;this.S=this.Sa("ytp-fine-scrubbing-thumbnails");this.dismissButton=this.Sa("ytp-fine-scrubbing-dismiss");this.ox=this.Sa("ytp-fine-scrubbing-draggable");this.playButton=this.Sa("ytp-fine-scrubbing-play");this.thumbnails= +[];this.B=[];this.gE=this.T=0;this.Cq=void 0;this.Bp=NaN;this.Kq=this.Z=this.L=this.C=0;this.U=[];this.interval=this.frameCount=0;this.Y=160;this.scale=1;this.vp=0;this.isEnabled=this.Ix=!1;dLS(this,this.api.getCurrentTime());this.addOnDisposeCallback(g.UU(H,this.dismissButton));this.addOnDisposeCallback(g.UU(H,this.playButton));this.NT=new g.la(this.ox,!0);this.NT.subscribe("dragstart",this.Ly,this);this.NT.subscribe("dragmove",this.Bi,this);this.NT.subscribe("dragend",this.dB,this);this.G(N,"SEEK_COMPLETE", +this.qq);N.N("web_fix_fine_scrubbing_false_play")&&this.G(N,"rootnodemousedown",function(t){c.Us=t}); +this.S.addEventListener("keydown",function(){}); +g.l(this,this.NT);this.api.createClientVe(this.element,this,153154);this.api.createClientVe(this.S,this,152789);this.api.createClientVe(this.dismissButton,this,153156);this.api.createClientVe(this.playButton,this,153155)}; +wY=function(N,H,c){c=c===void 0?N.D().schedule:c;g.L.call(this);var t=this;this.wE=N;this.playerRequest=H;this.YG=c;this.logger=new g.mE("onesie");this.xhr=null;this.state=1;this.Kp=new M9;this.Zu=!1;this.playerResponse="";this.KA=new vf(this);this.SY=new ubS(this);this.bK="";this.KD=this.O4=!1;this.rp="";this.enableCompression=this.WE=this.BD=!1;this.Kl=[];this.cz=-1;this.Aw=0;this.j=this.wE.D();this.videoData=this.wE.getVideoData();this.Ua=this.j.vO();this.nx=this.j.n4;this.Te=new Us(this.nx.T); +this.qh=this.j.N("html5_onesie_check_timeout");this.Hl=new g.kT(this.kY,500,this);this.i4=new g.kT(this.A8,1E4,this);this.jX=new g.kT(function(){if(!t.isComplete()){var h=uB(t);t.fail(new g.QP("net.timeout",h))}},1E3); +this.ol=new g.kT(this.M_s,2E3,this);this.yb=this.wE.vA();this.qL=this.N("html5_onesie_wait_for_media_availability");g.l(this.videoData,this);g.l(this,this.Hl);g.l(this,this.i4);g.l(this,this.ol);N=h4();km&&N&&(this.oe=new Map);this.G1=new Map;this.kK=new Map;this.QA=new Map;this.FF=new Map}; +Cp=function(N,H,c,t,h,O){O=O===void 0?0:O;H_.call(this,N,H,t,void 0);this.S=c;this.JJ=O;this.index=h||new g.zU}; +g.Kl=function(N,H){W2v(N,{l$a:g.Mx(H.experiments,"bg_vm_reinit_threshold"),cspNonce:H.cspNonce,qf:H.qf||""})}; +nm=function(N,H){H&&Wxe(N,H)}; +g.pS=function(N,H){var c=g.Ck();return c?c.publish.apply(c,arguments):!1}; +pof=function(N){return Object.values(N.tracks).find(function(H){return H.languageCode==="en"&&H.kind==="asr"})}; +uLy=function(N,H,c){if(mG(1,N.T))return!1;var t=q8(c,Sc(17,N.T));if(t.timedOut<1&&t.T<1)return!1;t=t.timedOut+t.T;N=Ob(N,H);c=q8(c,Sc(18,N));return c.timedOut+c.T+0=N.T.byteLength}; +wl=function(N,H,c){N.state.T[H]=function(){return c.apply(N,g.LQ.apply(0,arguments))}}; +TN=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);this.events.G(N,"videodatachange",function(){H.updateMetadata()}); +this.events.G(N,"presentingplayerstatechange",function(){SKl(H)}); +this.events.G(N,"SEEK_COMPLETE",function(){Jbw(H)})}; +PvZ=function(N,H){for(var c=[],t=g.K(N.tF.values()),h=t.next();!h.done;h=t.next()){h=h.value;var O=h.trigger;O instanceof Kc&&O.triggeringLayoutId===H&&c.push(h)}c.length?$D(N.Vu(),c):KA("Survey is submitted but no registered triggers can be activated.")}; +SI=function(N){if(N.J.D().nO)return N.Jn.get("offline")}; +erd=function(N){var H={};N=g.K(N);for(var c=N.next();!c.done;c=N.next()){c=c.value;var t=c.split("=");t.length===2?H[t[0]]=t[1]:H[c]=!0}return H}; +Jjy=function(N){for(var H="",c=0;c=c.U&&H<=c.S)return!0;return!1}; +tGs=function(N,H,c,t,h,O,F){c=czw(N,H,c,t);if(c instanceof S)return c;F=F({slotId:c.slotId,slotType:c.slotType,slotPhysicalPosition:c.slotPhysicalPosition,slotEntryTrigger:c.slotEntryTrigger,slotFulfillmentTriggers:c.slotFulfillmentTriggers,slotExpirationTriggers:c.slotExpirationTriggers,Hp:c.Hp});if(F instanceof S)return F;t=[new uS(Jh(H)),new pZ(F.layout),new nZ({w2:N.w2(H)})];O&&t.push(new Pn({}));return{uC:{slotId:c.slotId,slotType:c.slotType,slotPhysicalPosition:c.slotPhysicalPosition,slotEntryTrigger:DB(N, +H,c.slotId,c.slotEntryTrigger),slotFulfillmentTriggers:Qq(N,H,c.slotId,c.slotFulfillmentTriggers),slotExpirationTriggers:c.slotExpirationTriggers,Hp:c.Hp,clientMetadata:new xd(t),adSlotLoggingData:h},VL:F.VL}}; +Xo3=function(N){return N.v3()&&!N.fk}; +V8D=function(N){var H={},c=[],t=[];if(!N.data)return H;for(var h=0;h=N.data.length)return N.error=!0,0;N.register|=N.data[N.B++]<>=H;N.T-=H;return c}; +zm=function(N){return N.T0==="MAC3"||N.T0==="MEAC3"||N.T0==="M"||N.T0==="I"}; +g.Yv=function(N,H,c){for(;dJ(N,H);){var t=WB(N,H);if(t.type===c)return t;H=z9(t.type)?H+8:H+t.size}return null}; +R6=function(N,H,c,t,h){xW(N);var O=N.hF;vW(O,O[A8]|0,H,(t==="0"?Number(c)===0:c===t)?void 0:c,h);return N}; +wy=function(){this.wO=!0}; +gfL=function(N,H,c,t,h,O){var F=lS(N.B.get(),"SLOT_TYPE_FORECASTING");H=KZ(N,H,c,t);if(H instanceof S)return H;t=[new gX(N.T,F)];N=[new rX(N.T,F),new mZ(N.T,c)];return{slotId:F,slotType:"SLOT_TYPE_FORECASTING",slotPhysicalPosition:1,slotEntryTrigger:H,slotFulfillmentTriggers:t,slotExpirationTriggers:N,Hp:"core",clientMetadata:new xd([new pZ(O({slotId:F,slotType:"SLOT_TYPE_FORECASTING",slotPhysicalPosition:1,Hp:"core",slotEntryTrigger:H,slotFulfillmentTriggers:t,slotExpirationTriggers:N}))]),adSlotLoggingData:h}}; +g.aC=function(N){N=N===void 0?{}:N;g.d9.call(this);var H=this;this.T=this.U=0;this.B=PxD();var c=g.NA("yt.networkStatusManager.instance.listen").bind(this.B);c&&(N.rateLimit?(this.rateLimit=N.rateLimit,c("networkstatus-online",function(){ttv(H,"publicytnetworkstatus-online")}),c("networkstatus-offline",function(){ttv(H,"publicytnetworkstatus-offline")})):(c("networkstatus-online",function(){H.dispatchEvent("publicytnetworkstatus-online")}),c("networkstatus-offline",function(){H.dispatchEvent("publicytnetworkstatus-offline")})))}; +ZPR=function(N,H,c,t,h){t=t===void 0?Infinity:t;h=h===void 0?0:h;var O=N.x_();c=c||O.getPlayerType();(O=Zs(N,c,H,!0))||(O=Lf(N,c,H,!0));H=N.o4();c===2&&H&&(c=O.getVideoData(),H.WM(c.clientPlaybackNonce,c.n4||"",c.breakType||0,c.XQ,c.videoId||""));N.mp(O,t,0,h)}; +YKR=function(N,H){H=H===void 0?!1:H;if(N.loader){N.videoData.enableServerStitchedDai&&Lxf(N.loader);var c=N.getCurrentTime()-N.HO();N.loader.seek(c,{hk:H}).lw(function(){})}else QD(N)}; +AcL=function(N,H){g.e.call(this,{W:"button",fq:["ytp-button","ytp-cards-button"],V:{"aria-label":"Show cards","aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(g.PX(N.D()))},X:[{W:"span",K:"ytp-cards-button-icon-default",X:[{W:"div",K:"ytp-cards-button-icon",X:[N.D().N("player_new_info_card_format")?R5R():{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M17,16 L19,16 L19,24 L17,24 L17,16 Z M17,12 L19,12 L19,14 L17,14 L17,12 Z"}}]}]}, +{W:"div",K:"ytp-cards-button-title",Wp:"Info"}]},{W:"span",K:"ytp-cards-button-icon-shopping",X:[{W:"div",K:"ytp-cards-button-icon",X:[{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",K:"ytp-svg-shadow",V:{d:"M 27.99,18 A 9.99,9.99 0 1 1 8.00,18 9.99,9.99 0 1 1 27.99,18 z"}},{W:"path",K:"ytp-svg-fill",V:{d:"M 18,8 C 12.47,8 8,12.47 8,18 8,23.52 12.47,28 18,28 23.52,28 28,23.52 28,18 28,12.47 23.52,8 18,8 z m -4.68,4 4.53,0 c .35,0 .70,.14 .93,.37 l 5.84,5.84 c .23,.23 .37,.58 .37,.93 0,.35 -0.13,.67 -0.37,.90 L 20.06,24.62 C 19.82,24.86 19.51,25 19.15,25 c -0.35,0 -0.70,-0.14 -0.93,-0.37 L 12.37,18.78 C 12.13,18.54 12,18.20 12,17.84 L 12,13.31 C 12,12.59 12.59,12 13.31,12 z m .96,1.31 c -0.53,0 -0.96,.42 -0.96,.96 0,.53 .42,.96 .96,.96 .53,0 .96,-0.42 .96,-0.96 0,-0.53 -0.42,-0.96 -0.96,-0.96 z", +"fill-opacity":"1"}},{W:"path",K:"ytp-svg-shadow-fill",V:{d:"M 24.61,18.22 18.76,12.37 C 18.53,12.14 18.20,12 17.85,12 H 13.30 C 12.58,12 12,12.58 12,13.30 V 17.85 c 0,.35 .14,.68 .38,.92 l 5.84,5.85 c .23,.23 .55,.37 .91,.37 .35,0 .68,-0.14 .91,-0.38 L 24.61,20.06 C 24.85,19.83 25,19.50 25,19.15 25,18.79 24.85,18.46 24.61,18.22 z M 14.27,15.25 c -0.53,0 -0.97,-0.43 -0.97,-0.97 0,-0.53 .43,-0.97 .97,-0.97 .53,0 .97,.43 .97,.97 0,.53 -0.43,.97 -0.97,.97 z",fill:"#000","fill-opacity":"0.15"}}]}]},{W:"div", +K:"ytp-cards-button-title",Wp:"Shopping"}]}]});this.J=N;this.B=H;this.T=null;this.fade=new g.BX(this,250,!0,100);g.l(this,this.fade);g.QH(this.B,"ytp-show-cards-title",g.PX(N.D()));this.hide();this.listen("click",this.onClicked);this.listen("mouseover",this.onHover);this.OZ(!0)}; +K9t=function(N,H){switch(N){case "TRIGGER_CATEGORY_LAYOUT_EXIT_NORMAL":return 0;case "TRIGGER_CATEGORY_LAYOUT_EXIT_USER_SKIPPED":return 1;case "TRIGGER_CATEGORY_LAYOUT_EXIT_USER_MUTED":return 2;case "TRIGGER_CATEGORY_SLOT_EXPIRATION":return 3;case "TRIGGER_CATEGORY_SLOT_FULFILLMENT":return 4;case "TRIGGER_CATEGORY_SLOT_ENTRY":return 5;case "TRIGGER_CATEGORY_LAYOUT_EXIT_USER_INPUT_SUBMITTED":return 6;case "TRIGGER_CATEGORY_LAYOUT_EXIT_USER_CANCELLED":return 7;default:return H(N),8}}; +jRL=function(N,H){if(H.authorizedFormats)for(var c=0;cH||t>=0&&h.IR>t+1)break;c=Math.max(c,h.startTimeMs+h.durationMs);t=Math.max(t,h.hY)}return Math.max(0,c-H)}; +mI3=function(N){var H={ns:N.n4,el:N.eventLabel,cpn:N.clientPlaybackNonce,ver:2,cmt:N.B(N.T),fmt:N.xD,fs:N.Dt?"1":"0",rt:N.B(N.bX),adformat:N.adFormat,content_v:N.contentVideoId,euri:N.LG,lact:N.qc,live:N.L2,cl:(823563380).toString(),mos:N.TE,state:N.playerState,volume:N.kD};N.subscribed&&(H.subscribed="1");Object.assign(H,N.AN);N.Z==="all"?Object.assign(H,N.C4):N.Z==="once"&&N.L&&Object.assign(H,N.C4);N.autoplay&&(H.autoplay="1");N.mz&&(H.sautoplay="1");N.kG&&(H.dni="1");!N.S&&N.Kq&&(H.epm=vay[N.Kq]); +N.isFinal&&(H["final"]="1");N.Xg&&(H.splay="1");N.fE&&(H.delay=N.fE);N.zW&&(H.hl=N.zW);N.region&&(H.cr=N.region);N.userGenderAge&&(H.uga=N.userGenderAge);N.userAge!==void 0&&N.UF&&(H.uga=N.UF+N.userAge);N.gE!==void 0&&(H.len=N.B(N.gE));!N.S&&N.experimentIds.length>0&&(H.fexp=N.experimentIds.toString());N.C!==null&&(H.rtn=N.B(N.C));N.Ge&&(H.feature=N.Ge);N.oR&&(H.ctrl=N.oR);N.x8&&(H.ytr=N.x8);N.WO&&(H.afmt=N.WO);N.offlineDownloadUserChoice&&(H.ODUC=N.offlineDownloadUserChoice);N.Bp&&(H.lio=N.B(N.Bp)); +N.S?(H.idpj=N.wJ,H.ldpj=N.Oc,N.delayThresholdMet&&(H.dtm="1"),N.TW!=null&&(H.rti=N.B(N.TW)),N.AG&&(H.ald=N.AG),N.compositeLiveIngestionOffsetToken&&(H.clio=N.compositeLiveIngestionOffsetToken)):N.adType!==void 0&&(H.at=N.adType);N.S_&&(N.L||N.S)&&(H.size=N.S_);N.L&&N.Y.length&&(H.pbstyle=N.Y.join(","));N.T3!=null&&(N.L||N.S)&&(H.inview=N.B(N.T3));N.S&&(H.volume=vt(N,g.jm(N.segments,function(t){return t.volume})),H.st=vt(N,g.jm(N.segments,function(t){return t.startTime})),H.et=vt(N,g.jm(N.segments, +function(t){return t.endTime})),hA(N.segments,function(t){return t.playbackRate!==1})&&(H.rate=vt(N,g.jm(N.segments,function(t){return t.playbackRate}))),hA(N.segments,function(t){return t.T!=="-"})&&(H.als=g.jm(N.segments,function(t){return t.T}).join(",")),hA(N.segments,function(t){return t.previouslyEnded})&&(H.pe=g.jm(N.segments,function(t){return""+ +t.previouslyEnded}).join(","))); +H.muted=vt(N,g.jm(N.segments,function(t){return t.muted?1:0})); +hA(N.segments,function(t){return t.visibilityState!==0})&&(H.vis=vt(N,g.jm(N.segments,function(t){return t.visibilityState}))); +hA(N.segments,function(t){return t.connectionType!==0})&&(H.conn=vt(N,g.jm(N.segments,function(t){return t.connectionType}))); +hA(N.segments,function(t){return t.B!==0})&&(H.blo=vt(N,g.jm(N.segments,function(t){return t.B}))); +hA(N.segments,function(t){return!!t.U})&&(H.blo=g.jm(N.segments,function(t){return t.U}).join(",")); +hA(N.segments,function(t){return!!t.compositeLiveStatusToken})&&(H.cbs=g.jm(N.segments,function(t){return t.compositeLiveStatusToken}).join(",")); +hA(N.segments,function(t){return!!t.heartbeatLoggingToken})&&(H.hb_data=g.jm(N.segments,function(t){return t.heartbeatLoggingToken}).join(",")); +hA(N.segments,function(t){return t.L!=="-"})&&(H.cc=g.jm(N.segments,function(t){return t.L}).join(",")); +hA(N.segments,function(t){return t.clipId!=="-"})&&(H.clipid=g.jm(N.segments,function(t){return t.clipId}).join(",")); +if(hA(N.segments,function(t){return!!t.audioId})){var c="au"; +N.L&&(c="au_d");H[c]=g.jm(N.segments,function(t){return t.audioId}).join(",")}X8()&&N.Us&&(H.ctt=N.Us,H.cttype=N.mG,H.mdx_environment=N.mdxEnvironment); +N.gk&&(H.etype=N.ox!==void 0?N.ox:0);N.Al&&(H.uoo=N.Al);N.livingRoomAppMode&&N.livingRoomAppMode!=="LIVING_ROOM_APP_MODE_UNSPECIFIED"&&(H.clram=sxt[N.livingRoomAppMode]||N.livingRoomAppMode);N.U?E1R(N,H):(H.docid=N.videoId,H.referrer=N.referrer,H.ei=N.eventId,H.of=N.fh,H.osid=N.osid,H.vm=N.videoMetadata,N.adQueryId&&(H.aqi=N.adQueryId),N.autonav&&(H.autonav="1"),N.playlistId&&(H.list=N.playlistId),N.EZ&&(H.ssrt="1"),N.GR&&(H.upt=N.GR));N.L&&(N.embedsRct&&(H.rct=N.embedsRct),N.embedsRctn&&(H.rctn= +N.embedsRctn),N.compositeLiveIngestionOffsetToken&&(H.clio=N.compositeLiveIngestionOffsetToken));N.vp&&(H.host_cpn=N.vp);return H}; +Cn=function(N,H){if(!dy(H.get(),"html5_ssap_pass_transition_reason"))return 3;switch(N){case "skipped":case "muted":case "user_input_submitted":return 3;case "normal":return 2;case "error":return KA("Unexpected error from cPACF during rendering"),6;case "abandoned":return 5;case "user_cancelled":case "unknown":return KA("Unexpected layout exit reason",void 0,void 0,{layoutExitReason:N}),3;default:Iv(N,"unknown layoutExitReason")}}; +Gp3=function(N){return N.end==null?{start:String(N.start)}:{start:String(N.start),end:String(N.end)}}; +g.Bwl=function(N){if(N instanceof QN||N instanceof C_||N instanceof oK)return N;if(typeof N.next=="function")return new QN(function(){return N}); +if(typeof N[Symbol.iterator]=="function")return new QN(function(){return N[Symbol.iterator]()}); +if(typeof N.Zz=="function")return new QN(function(){return N.Zz()}); +throw Error("Not an iterator or iterable.");}; +jcS=function(N,H){var c,t;return(c=rq(N,"macroMarkersListEntity",H))==null?void 0:(t=c.markersList)==null?void 0:t.markerType}; +X9=function(N,H){var c;return((c=N.T.get(H))==null?void 0:QWZ(c.buffer))||0}; +M8v=function(N,H){for(var c=new Map,t=g.K(N.T.keys()),h=t.next();!h.done;h=t.next()){h=h.value;var O=h.split("_")[0];H.has(O)||c.set(h,N.T.get(h))}N.T=c}; +ycy=function(N,H){N.attestationResponse&&rdt(N).then(function(c){c=c||{};c.method="POST";c.postParams={atr:N.attestationResponse};N.Ix?N.Cq?NZ().sendAndWrite(H,c):NZ().sendThenWrite(H,c):g.Rj(H,c)})}; +Tud=function(N,H,c){var t=N.T.get(H);t?(t.push(c),g.Ua(t,function(h,O){return h.gs-O.gs})):N.T.set(H,[c])}; +Oef=function(N){for(var H=[],c=0;c65535&&(N=1);qz("BATCH_CLIENT_COUNTER",N);return N}; +aV=function(N,H,c){if(typeof N==="string")return{videoId:N,startSeconds:H,suggestedQuality:c};H={};c=g.K(GZw);for(var t=c.next();!t.done;t=c.next())t=t.value,N[t]&&(H[t]=N[t]);if(N=N.embedConfig||N.embed_config)if(typeof N==="string")H.embed_config=N;else if(g.ie(N))try{var h=JSON.stringify(N);H.embed_config=h}catch(O){console.error("Invalid embedConfig JSON",O)}return H}; +R1L=function(N){if(!N.stack)return!0;var H=!N.stack.includes("\n");return H&&N.stack.includes("ErrorType: ")||H&&N.stack.includes("Anonymous function (Unknown script")||N.stack.toLowerCase()==="not available"||N.fileName==="user-script"||N.fileName.startsWith("user-script:")?!0:!1}; +oas=function(N,H){N.isContentForward=H;g.QH(N.badge.element,"ytp-suggested-action-badge-content-forward",H)}; +Kns=function(N,H){var c=H.T.getValue();c=new g.kT(function(){gHs(N,H)},c); +g.l(N,c);c.start();g.Jz(H.T);WH(N,{rtyrq:1})}; +OWs=function(N,H){if(N.policy.YRs){var c=H.info.OF,t=bR(N.schedule);H=H.index.g$();c=Math.max(1,t/c);N.Z=Math.round(Math.max(((c-1)*H+N.policy.xD)/c,H-N.policy.W0)*1E3)}}; +WUL=function(N,H){if(N.policy.Xg&&N.Zf){var c,t,h=H?(c=N.Zf)==null?void 0:c.T:(t=N.Zf)==null?void 0:t.B;c=H?N.audioTrack:N.videoTrack;H=L3(c);if(H==null?0:H.isLocked){N.wE.D().vO()&&N.Lq("eosl",{unlock:H.info.uX()});var O;(O=c.Ix)==null||O.stop();H.isLocked=!1;c.pg(H);yhS(N.T,H.info);h=h==null?void 0:h.HB();(h==null?void 0:h.uX())!==H.info.uX()&&N.Lq("oue",{bls:h==null?void 0:h.uX(),tls:H.info.uX()})}}}; +qj=function(N){for(var H=N.length;--H>=0;)N[H]=0}; +qWh=function(N,H){var c=g.YI("XSRF_FIELD_NAME"),t=g.YI("XSRF_TOKEN"),h=H.postBody||"",O=H.postParams,F=g.YI("XSRF_FIELD_NAME"),M;H.headers&&(M=H.headers["Content-Type"]);H.excludeXsrf||g.dD(N)&&!H.withCredentials&&g.dD(N)!==document.location.hostname||H.method!=="POST"||M&&M!=="application/x-www-form-urlencoded"||H.postParams&&H.postParams[F]||(O||(O={}),O[c]=t);(g.sf("ajax_parse_query_data_only_when_filled")&&O&&Object.keys(O).length>0||O)&&typeof h==="string"&&(h=OC(h),g.NY(h,O),h=H.postBodyFormat&& +H.postBodyFormat==="JSON"?JSON.stringify(h):g.Hf(h));O=h||O&&!g.NF(O);!kZR&&O&&H.method!=="POST"&&(kZR=!0,g.PQ(Error("AJAX request with postData should use POST")));return h}; +I5y=function(N,H){var c=N.player.D(),t,h=(t=N.player.getVideoData(1))==null?void 0:t.oauthToken;return g.py(c,h).then(function(O){if(O&&X8()){var F=np();wx(F,O)}return g.Ir(N.player.h9(F),H,"/youtubei/v1/player/ad_break").then(function(M){return M})})}; +bPD=function(N,H,c){var t=N.EG?Math.max(H,c/N.EG):H,h=N.YG.B.L;h&&(t=H,N.EG&&(t=Math.max(H,c/N.EG*h)));wR(N.YG,H,c,t)}; +Vb=function(N){var H=null;try{H=N.toLocaleString("en",{style:"percent"})}catch(c){H=N.toLocaleString(void 0,{style:"percent"})}return H}; +g.Eq=function(N,H){H===void 0&&(H=0);G2d();H=yFL[H];for(var c=Array(Math.floor(N.length/3)),t=H[64]||"",h=0,O=0;h>2];F=H[(F&3)<<4|M>>4];M=H[(M&15)<<2|f>>6];f=H[f&63];c[O++]=""+d+F+M+f}d=0;f=t;switch(N.length-h){case 2:d=N[h+1],f=H[(d&15)<<2]||t;case 1:N=N[h],c[O]=""+H[N>>2]+H[(N&3)<<4|d>>4]+f+t}return c.join("")}; +Lm=function(N,H,c,t,h,O,F,M){H?H.test(c)?(N.rr(h,H,F),H.Y||O()):(!H.B||H.U?c=!1:(c=(0,g.Lh)(),t?H.T||(H.T=c):H.T=0,O=!t&&c-H.B>3E4,c=H.T&&c-H.T>1E3||O?H.U=!0:!1),c&&(M=Object.assign({},N.Q4(H),M),M.wn=F,M.we=h,M.wsuc=t,N.wE.Lq("workaroundReport",M),t&&(H.reset(),N.L[h]=!1))):N.wE.TU("auth",2,"BROWSER_OR_EXTENSION_ERROR",Gu({source:"watchdog",name:F}))}; +NEt=function(N){return g.PX(N.J.D())?N.Y3:N.oU}; +g.ba=function(N,H){var c=Math.abs(Math.floor(N)),t=Math.floor(c/86400),h=Math.floor(c%86400/3600),O=Math.floor(c%3600/60);c=Math.floor(c%60);if(H){H="";t>0&&(H+=" "+t+" Days");if(t>0||h>0)H+=" "+h+" Hours";H+=" "+O+" Minutes";H+=" "+c+" Seconds";t=H.trim()}else{H="";t>0&&(H+=t+":",h<10&&(H+="0"));if(t>0||h>0)H+=h+":",O<10&&(H+="0");H+=O+":";c<10&&(H+="0");t=H+c}return N>=0?t:"-"+t}; +sEL=function(N){if(!N)return HLv||(HLv=new L1(0,0));if(!/^-?\d+$/.test(N))return null;on(N);return new L1(k9,In)}; +S1Z=function(N,H,c,t,h,O,F){H=c-H;h?(h instanceof g.Uz&&(h.type==="QUOTA_EXCEEDED"||h.type==="QUOTA_MAYBE_EXCEEDED")&&xC("QUOTA_EXCEEDED",{dbName:EH(N.T.name),objectStoreNames:O,transactionCount:N.transactionCount,transactionMode:F.mode}),h instanceof g.Uz&&h.type==="UNKNOWN_ABORT"&&(c-=N.L,c<0&&c>=2147483648&&(c=0),xC("TRANSACTION_UNEXPECTEDLY_ABORTED",{objectStoreNames:O,transactionDuration:H,transactionCount:N.transactionCount,dbDuration:c}),N.B=!0),GW3(N,!1,t,O,H,F.tag),Qi(h)):GW3(N,!0,t,O,H, +F.tag)}; +iLw=function(N,H,c){H&&(N.h1=H);c&&(N.eT=c)}; +$UZ=function(N,H,c,t){return new J9(N.type,N.mR,N.range,"reslice"+N.Y,N.Y_,N.startTime,N.duration,H,c,t,N.hd,N.clipId)}; +Mg=function(N,H){var c=Error.call(this);this.message=c.message;"stack"in c&&(this.stack=c.stack);this.index=N;this.objectStore=H;Object.setPrototypeOf(this,Mg.prototype)}; +bEd=function(N,H,c){N.B=H;N.startTime=(0,g.Lh)();N.duration=c;N.T()}; +Q3=function(N,H){N=N.app.x_();return!!N&&N.getVideoData().vr===H.vr}; +hh=function(N,H,c){this.B=N;this.L=H;this.T=c}; +ZG=function(N,H,c,t,h){return H>=400?(N.lastError="net.badstatus",!0):(h===void 0?0:h)?(N.lastError="ump.spsrejectfailure",!0):c||t!==void 0&&t?!1:(N.lastError=H===204?"net.nocontent":"net.connect",!0)}; +Km=function(N){if(!N.N("use_rta_for_player"))if(N.N("fetch_att_independently"))g.lY(N.Qz);else{var H=N.getVideoData().botguardData;H&&g.Kl(H,N.j,N.getVideoData().iJ||"")}}; +clR=function(N){var H,c,t,h,O=(H=N.T)==null?void 0:(c=H.bannerData)==null?void 0:(t=c.itemData)==null?void 0:(h=t.hiddenProductOptions)==null?void 0:h.dropTimestampMs;H=(Number(O)-Date.now())/1E3;N.countdownTimer.setContent(WG({seconds:H}));if(H>0){var F;(F=N.Dt)==null||F.start()}}; +h_=function(N,H,c,t){if(c)return C6();c={};var h=EY();H=g.K(H);for(var O=H.next();!O.done;O=H.next())if(O=O.value,N.canPlayType(h,O.getInfo().mimeType)||t){var F=O.T.video.quality;if(!c[F]||c[F].getInfo().RW())c[F]=O}N=[];c.auto&&N.push(c.auto);t=g.K(pK);for(h=t.next();!h.done;h=t.next())(h=c[h.value])&&N.push(h);return N.length?H2(N):C6()}; +Zp=function(){}; +cg=function(N,H){N.T.set(H.VI,H);var c=N.L.get(H.VI);if(c)try{c.yI(N.resolve(H.VI))}catch(t){c.L9(t)}}; +F_h=function(N,H,c){var t;if(t=N.policy.Li&&N.Zf&&!N.Zf.Z&&!N.wE.lM())H=H.info.mR.info,t=H.RW()&&LB(H)&&H.video&&H.video.width<3840&&H.video.width>H.video.height;if(t&&(N.Zf.Z=!0,Er('video/webm; codecs="vp09.00.50.08.01.01.01.01.00"; width=3840; height=2160')))return c=Djy(c),N.policy.L&&N.Lq("sp4k",{s:!!c}),c}; +Vx=function(N){this.Rx=N}; +OJ=function(N,H){N.L={Ee:H,SZ:!0};N.T=N.Y||N.S}; +K7f=function(N){N.videoData.gE.clear();if(N.videoData.sabrContextUpdates.size>0)for(var H=g.K(N.videoData.sabrContextUpdates.keys()),c=H.next();!c.done;c=H.next()){c=c.value;var t=void 0;((t=N.videoData.sabrContextUpdates.get(c))==null?0:t.sendByDefault)&&N.videoData.gE.add(c)}if(N.policy.Bp&&N.T.length)for(H=g.K(N.T),c=H.next();!c.done;c=H.next())(c=c.value.GN())&&c.type&&c.sendByDefault&&N.videoData.gE.add(c.type)}; +g.t9e=function(N,H,c){ln||ah.remove(""+N,H===void 0?"/":H,c===void 0?"youtube.com":c)}; +hpD=function(N,H,c){g.BZ(c);N.L&&(c instanceof DOMException&&(H+=";n."+c.name+";m."+c.message),N.L(H))}; +kQv=function(N){dK.call(this,N);var H=this;this.events=new g.Ww(N);g.l(this,this.events);this.events.G(N,"standardControlsInitialized",function(){var c=new OLs(N);g.l(H,c);N.Xa(c,"RIGHT_CONTROLS_LEFT")})}; +FVh=function(N){if(N.i$()&&!N.api.isEmbedsShortsMode()&&N.J9){var H=N.api.N("web_player_hide_overflow_button_if_empty_menu");!N.Tv||H&&!mpR(N.Tv)||m7l(N.J9,N.Tv);!N.shareButton||H&&!qkt(N.shareButton)||m7l(N.J9,N.shareButton);!N.copyLinkButton||H&&!Gkf(N.copyLinkButton)||m7l(N.J9,N.copyLinkButton)}else{H=N.api.D().getWebPlayerContextConfig();if(N.J9){for(var c=N.J9,t=g.K(c.actionButtons),h=t.next();!h.done;h=t.next())h.value.detach();c.actionButtons=[]}N.searchButton&&!g.m5(N.K2.element,N.searchButton.element)&& +N.searchButton.Jl(N.K2.element);!N.Tv||(H==null?0:H.hideTopWatchNextButton)||g.m5(N.K2.element,N.Tv.element)||N.Tv.Jl(N.K2.element);!N.shareButton||(H==null?0:H.hideTopShareButton)||g.m5(N.K2.element,N.shareButton.element)||N.shareButton.Jl(N.K2.element);N.copyLinkButton&&!g.m5(N.K2.element,N.copyLinkButton.element)&&N.copyLinkButton.Jl(N.K2.element)}}; +g.xm=function(N,H){g.xo.call(this);var c=this;this.Es=N;this.adaptiveFormats="";this.Lx=this.adQueryId=this.Nj=null;this.xa={start:NaN,end:NaN};this.cueRanges=this.YH=null;this.HQ=new Map;this.drmProduct=this.drmParams="";this.eventLabel=null;this.allowEmbed=!0;this.allowLiveDvr=this.offlineable=this.backgroundable=!1;this.qy="";this.oK=!1;this.Pt=null;this.YB=this.IM=this.v5=!1;this.U=null;this.sL=this.dC=!1;this.XQ=NaN;this.applyStatefulNormalization=this.preserveStatefulLoudnessTarget=!1;this.maxStatefulTimeThresholdSec= +0;this.rl=NaN;this.loudnessTargetLkfs=Infinity;this.minimumLoudnessTargetLkfs=-Infinity;this.YA=0;this.Bn=!1;this.cycToken=null;this.author="";this.XA=!1;this.kG=0;this.KC=!1;this.hQ=null;this.f7=[];this.Fo=this.ym=!1;this.clientScreenNonce=this.playerResponseCpn=this.clientPlaybackNonce=this.videoCountText=this.Kq=this.C4="";this.contentCheckOk=!1;this.limitedPlaybackDurationInSeconds=this.endSeconds=this.fE=0;this.Qq=this.Ql=this.B=null;this.yU="";this.loading=!1;this.H0=this.Ol=0;this.zT=this.pipable= +this.c_=this.isAutonav=!1;this.paidContentOverlayDurationMs=0;this.mutedAutoplay=this.LC=!1;this.mutedAutoplayDurationMode=0;this.isLiveHeadPlayable=this.isLivePlayback=this.fb=this.isPrivate=this.isListed=this.T3=!1;this.MN="";this.isLowLatencyLiveStream=this.isLivingRoomDeeplink=this.isLiveDefaultBroadcast=this.oG=this.j$=this.K6=!1;this.latencyClass="UNKNOWN";this.Qo=this.UJ=this.CD=this.bI=this.F5=this.Oo=this.RP=this.OOq=this.cY=this.enableServerStitchedDai=this.Re=this.isMdxPlayback=this.isUpcoming= +this.isPremiere=!1;this.mdxControlMode=null;this.isPharma=this.showSeekingControls=!1;this.zW=0;this.reloadReason="";this.ip=this.mz=!1;this.keywords={};this.Al="";this.jS=0;this.c$=!1;this.unpluggedFilterModeType=0;this.liveChunkReadahead=NaN;this.zn=null;this.l7=this.lengthSeconds=0;this.playerParams=this.musicVideoType=null;this.s2=this.paygated=!1;this.R9=[];this.kD=!1;this.AJ=[];this.fO=null;this.Hw=this.racyCheckOk=!1;this.i5={};this.isProximaLatencyEligible=!1;this.nu=0;this.L=null;this.autonavState= +1;this.Bg=null;this.shortDescription="";this.Z=this.qC=!1;this.PM=this.vp=this.startSeconds=0;this.a9=this.H9=this.y5=wv;this.u1=this.suggestions=null;this.M0=this.wH=void 0;this.isExternallyHostedPodcast=!1;this.L2=null;this.vM=this.expandedSubtitle=this.expandedTitle=this.subtitle=this.title="";this.Cq=[];this.bX=[];this.hlsFormats=this.Jg="";this.b1=this.qj=this.Jj=this.UF=this.Ix=this.QB=this.LG=null;this.eY="vvt";this.Oc=!1;this.xj=null;this.QH="";this.l5=NaN;this.Rt=this.nQ=this.Ww=this.FT= +this.xC=this.Aq=this.hG=this.sK=this.OE=this.Q7="";this.MO=null;this.b5=!1;this.clipStart=0;this.clipEnd=Infinity;this.Du=!1;this.heartbeatToken="";this.dQ=this.r8=NaN;this.Uu=this.BR=this.qc=this.B7=this.Hs=!1;this.uj=!0;this.xP={};this.captionTracks=[];this.Za=[];this.Jp=0;this.zP=[];this.vI=[];this.VP=!1;this.vQ={};this.G7=new g.Pi("und",new g.DF("Default","und",!0));this.SL=0;this.S=null;this.KO=[];this.w4=!1;this.qU=this.n4="";this.slotPosition=-1;this.breakType=0;this.embeddedPlayerConfig=this.reelItemWatchResponse= +this.ox=this.kB=this.EB=this.playerResponse=this.xJ=this.jY=this.iR=this.t9=null;this.Qm=!1;this.mG=null;this.isInlinePlaybackNoAd=this.oI=this.xt=this.useCobaltWidevine=this.tM=this.h0=!1;this.hO=!0;this.QC=this.Gm=NaN;this.defraggedFromSubfragments=this.vC=this.hasSubfragmentedFmp4=!1;this.liveExperimentalContentId=NaN;this.gE=new Set;this.sabrContextUpdates=new Map;this.gatewayExperimentGroup="";this.qJ=this.NT=this.cF=!1;this.interstitials=[];this.Uc=this.FK=!1;this.CE="";this.allowImaMonetization= +!1;this.IN="";this.Vm=!1;this.vu="";this.Jh=[];this.fn=[];this.vr="";this.p7=this.C=this.OT=!1;this.UE="";this.l4=this.kI=this.FB=this.readAheadGrowthRateMs=this.minReadAheadMediaTimeMs=this.maxReadAheadMediaTimeMs=NaN;this.showShareButton=!0;this.Mz=!1;this.Bd=this.S_=!0;this.errorDetail=this.userGenderAge="";this.J6=this.N8=this.getSharePanelCommand=this.removeFromWatchLaterCommand=this.addToWatchLaterCommand=this.unsubscribeCommand=this.subscribeCommand=this.contextParams=this.iW=this.errorReason= +this.errorCode=null;this.Ze=!1;this.qz=[];this.Cp=this.ZG=this.MJ=this.Em=this.rk=0;this.fetchType=null;this.Bw=!0;this.transitionEndpointAtEndOfStream=void 0;this.Qa=this.j6=-1;this.il=this.WO=!1;this.w_=null;this.TW="";this.watchUrl=null;this.XS=[];this.visibleOnLoadKeys=[];this.ZZ=[];this.inlineMetricEnabled=this.TE=!1;this.i7=this.embedsRctn=this.embedsRct="";this.au=NaN;this.authorizedFormats=[];this.j2=(0,g.Lh)();this.aj=this.Bv=0;this.M_=null;this.cFp=this.DZ=this.Si=this.Dh=!1;this.W4={}; +this.GD=.25;this.gz=2;this.F0=this.qA=!1;this.Xg=this.Es.experiments.M4("html5_use_triple_equals");this.X0=g.Mx(this.Es.experiments,"html5_gapless_loop_seek_offset_in_milli");this.Br={setData:function(t){c.setData(t)}, +Z5:function(){c.Z5()}, +TR:function(t){c.TR(t)}}; +this.WO=this.N("web_new_autonav_countdown");this.il=this.N("web_new_big_thumbnail_endscreen");this.Es.b1&&(this.Bp=this.Es.b1);this.setData(H);this.De=new Z9;g.l(this,this.De)}; +g.vI=function(N,H){N=AO(N);return N===void 0&&H!==void 0?H:Number(N||0)}; +sT3=function(N,H,c){N.T[H]=c}; +jPl=function(N){if(g.YY(g.vM(N)))return!1;if(N.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&")>=0)return!0;try{var H=new g.O3(N)}catch(c){return g.Nn($Pt,function(t){return N.search(t)>0})!=null}return H.Y.match(TEy)?!0:g.Nn($Pt,function(c){return N.match(c)!=null})!=null}; +ff=function(N){return g.x$(N.J.g_())!=null?g.x$(N.J.g_()).n9()?!!N.J.getOption("captions","tracklist",{includeAsr:!0}).length:!0:!1}; +g.pO=function(N){if(N.data.getUint8(N.dataOffset)){var H=N.data;N=N.dataOffset+4;H=H.getUint32(N)*4294967296+H.getUint32(N+4)}else H=N.data.getUint32(N.dataOffset+4);return H}; +Vp=function(N){g.lY(N.S_)}; +g.YY=function(N){return/^[\s\xa0]*$/.test(N)}; +N_e=function(N,H){if(DJ){var c=0;N=N.Hr.get(H);if(N==null||!N.Hv)return 0;N=g.K(N.Hv.values());for(H=N.next();!H.done;H=N.next())c+=H.value.data.totalLength;return c}return((c=N.Hr.get(H))==null?void 0:c.XH.totalLength)||0}; +M93=function(N,H){for(var c=0,t=g.K(N),h=t.next();!h.done;h=t.next()){h=h.value;if(H=h.timeRangeStartMillis&&H1)return jJ(N,N.T-1);if(N.policy.Z)return jJ(N,N.T+1)}return N.T}; +TT=function(N){return N.Es.U&&N.isPrivate}; +tM=function(N,H){N.L||N.Bp||PN(N,N.aW);var c=H.cB,t=H.IC;if(t.cpn===N.aW)N.EF({igtranssame:1,enter:t.cpn,exit:c.cpn});else{var h=N.Bp,O=!!N.L;N.L="";var F=H.rZ,M=c.playerType===2?c.gs/1E3+c.videoData.kG:N.hI().videoData.kG;N.api.N("html5_ssdai_enable_media_end_cue_range")&&(O||h||c.playerType!==2?(h||O)&&N.EF({mecr:0,seek:h,skip:O}):N.api.lH(c.cpn));if(c.playerType===2&&t.playerType===2)O?N.EF({igtransskip:1,enter:t.cpn,exit:c.cpn,seek:h,skip:N.L}):W3L(N,c,t,M,F,h,O);else{N.aW=t.cpn;N.jh(t.cpn,t.startTimeSecs|| +F);H=H.LEE;if(c.playerType===1&&t.playerType===2){N.zr=0;dme(N,t);var f=Dx(N,"c2a",t);N.EF(f);N.WJ++}else if(c.playerType===2&&t.playerType===1){N.api.publish("serverstitchedvideochange");f=Dx(N,"a2c");N.EF(f);N.WJ=0;N.zr=M;f=c.cpn;var d=N.zr;if(f!==N.playback.Qd()){var W=N.NT.get(f);W?W.T=d:N.EF({nop_e:f})}N.m1(c.EN)}N.playback.Ku(c,t,M,F,h,O,H)}zpS(N)}}; +mo=function(N){N.B.hide();N.banner.update({vendor:wq(N)})}; +E2h=function(N){var H=N.T;H&&H.Y_===-1&&(N=N.L.on())&&Ql(N.info)&&(N=N.info.Y_,H.Y="updateLastSliceRequested",H.Y_=N)}; +xPy=function(N,H,c,t,h){this.callback=N;this.slot=H;this.layout=c;this.Pp=t;this.ZM=h;N=lQ(this.layout.clientMetadata,"metadata_type_ad_placement_config");this.Fg=new sd(c.S1,this.Pp,N,c.layoutId)}; +g.Ir=function(N,H,c,t,h){function O(){} +h=h===void 0?{jL:{identity:AQ}}:h;var F=F===void 0?!0:F;O=s1t(NMh(c));H.context||(H.context=g.Yi(t,F));return new g.EL(function(M){var f,d,W,z,E;return g.Y(function(x){if(x.T==1)return f=bE(c),d=Q0(f)?"same-origin":"cors",N.T.wO?(W=J3S(N,h,d),x.rE(2)):g.a(x,oiw(N,h,d),3);x.T!=2&&(W=x.B);z=uIe(bE(c));E={input:z,nP:pQ(z),aH:H,config:h};M(kDf(N,E,W,O));g.Z3(x)})})}; +ETR=function(N){if(!Array.isArray(N))for(var H=N.length-1;H>=0;H--)delete N[H];N.length=0}; +g.tH=function(N,H,c){for(var t in N)H.call(c,N[t],t,N)}; +qUw=function(N){if(N.qv()){var H=N.data["Stitched-Video-Id"]?N.data["Stitched-Video-Id"].split(",").slice(0,-1):[],c=gGt(N),t=[];if(N.data["Stitched-Video-Duration-Us"])for(var h=g.K(N.data["Stitched-Video-Duration-Us"].split(",").slice(0,-1)),O=h.next();!O.done;O=h.next())t.push((Number(O.value)||0)/1E6);h=[];if(N.data["Stitched-Video-Start-Frame-Index"]){O=g.K(N.data["Stitched-Video-Start-Frame-Index"].split(",").slice(0,-1));for(var F=O.next();!F.done;F=O.next())h.push(Number(F.value)||0)}h=[]; +if(N.data["Stitched-Video-Start-Time-Within-Ad-Us"])for(O=g.K(N.data["Stitched-Video-Start-Time-Within-Ad-Us"].split(",").slice(0,-1)),F=O.next();!F.done;F=O.next())h.push((Number(F.value)||0)/1E6);N=new SqZ(H,c,t,h,g.CUy(N),g.qBS(N))}else N=null;return N}; +C2d=function(N,H){var c;g.gu(N.D())&&(c={W:"div",K:"ytp-panel-footer-content",X:[{W:"span",Wp:"Adjust download quality from your "},{W:"a",K:"ytp-panel-footer-content-link",Wp:"Settings",V:{href:"/account_downloads"}}]});g.aQ.call(this,"Quality",g.Se.O$,N,H,void 0,void 0,c);this.J=N;this.Us={};this.Y={};this.B={};this.ox=new Set;this.T=this.L=!1;this.U="unknown";this.C="";this.Z=new g.aC;g.l(this,this.Z);this.L=this.J.N("web_player_use_new_api_for_quality_pullback");this.T=this.J.N("web_player_enable_premium_hbr_playback_cap"); +N.N("web_settings_menu_icons")&&(H=N.N("delhi_modern_web_player_icons")?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M9 3C8.11 2.99 7.25 3.29 6.54 3.83C5.84 4.38 5.34 5.14 5.12 6H3C2.73 6 2.48 6.10 2.29 6.29C2.10 6.48 2 6.73 2 7C2 7.26 2.10 7.51 2.29 7.70C2.48 7.89 2.73 8 3 8H5.12C5.34 8.85 5.84 9.61 6.55 10.16C7.25 10.70 8.11 10.99 9 10.99C9.88 10.99 10.74 10.70 11.44 10.16C12.15 9.61 12.65 8.85 12.87 8H21C21.26 8 21.51 7.89 21.70 7.70C21.89 7.51 22 7.26 22 7C22 6.73 21.89 6.48 21.70 6.29C21.51 6.10 21.26 6 21 6H12.87C12.65 5.14 12.15 4.38 11.45 3.83C10.74 3.29 9.88 2.99 9 3ZM9 5C9.53 5 10.03 5.21 10.41 5.58C10.78 5.96 11 6.46 11 7C11 7.53 10.78 8.03 10.41 8.41C10.03 8.78 9.53 9 9 9C8.46 9 7.96 8.78 7.58 8.41C7.21 8.03 7 7.53 7 7C7 6.46 7.21 5.96 7.58 5.58C7.96 5.21 8.46 5 9 5ZM15 13C14.11 12.99 13.25 13.29 12.54 13.83C11.84 14.38 11.34 15.14 11.12 16H3C2.73 16 2.48 16.10 2.29 16.29C2.10 16.48 2 16.73 2 17C2 17.26 2.10 17.51 2.29 17.70C2.48 17.89 2.73 18 3 18H11.12C11.34 18.85 11.84 19.61 12.55 20.16C13.25 20.70 14.11 20.99 15 20.99C15.88 20.99 16.74 20.70 17.44 20.16C18.15 19.61 18.65 18.85 18.87 18H21C21.26 18 21.51 17.89 21.70 17.70C21.89 17.51 22 17.26 22 17C22 16.73 21.89 16.48 21.70 16.29C21.51 16.10 21.26 16 21 16H18.87C18.65 15.14 18.15 14.38 17.45 13.83C16.74 13.29 15.88 12.99 15 13ZM15 15C15.53 15 16.03 15.21 16.41 15.58C16.78 15.96 17 16.46 17 17C17 17.53 16.78 18.03 16.41 18.41C16.03 18.78 15.53 19 15 19C14.46 19 13.96 18.78 13.58 18.41C13.21 18.03 13 17.53 13 17C13 16.46 13.21 15.96 13.58 15.58C13.96 15.21 14.46 15 15 15Z", +fill:"white"}}]}:{W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M15,17h6v1h-6V17z M11,17H3v1h8v2h1v-2v-1v-2h-1V17z M14,8h1V6V5V3h-1v2H3v1h11V8z M18,5v1h3V5H18z M6,14h1v-2v-1V9H6v2H3v1 h3V14z M10,12h11v-1H10V12z",fill:"white"}}]},this.setIcon(H));g.bV(this.yR.element,"ytp-quality-menu");this.G(N,"videodatachange",this.dk);this.G(N,"videoplayerreset",this.dk);this.G(N,"onPlaybackQualityChange",this.iP);this.dk();N.createClientVe(this.element,this,137721)}; +cj=function(N){for(var H=0,c=0;c>>0;return H}; +C1=function(N){var H=N.state,c=H.pending;c>N.Aj&&(c=N.Aj);c!==0&&(xT.ji(N.output,H.Pd,H.hh,c,N.t0),N.t0+=c,H.hh+=c,N.fv+=c,N.Aj-=c,H.pending-=c,H.pending===0&&(H.hh=0))}; +H$e=function(N){var H=[];N=g.K(N.split(","));for(var c=N.next();!c.done;c=N.next()){var t=c.value;t&&((c=t.startsWith("!"))&&(t=t.substring(1)),t=t.split("-"),t.length<3||H.push({DE:t[0],platform:t[1],deviceVersion:t[2],nt:c}))}return H}; +r7e=function(N){var H=H===void 0?{}:H;var c,t;return g.Y(function(h){if(h.T==1)return g.a(h,g.D6(),2);if(h.T!=3){c=h.B;if(!c)return h.return();pe(N);return g.a(h,Eny(N,c),3)}t=h.B;return g.a(h,iBD(t,H,c),0)})}; +yj=function(N,H){for(var c in N)if(H.call(void 0,N[c],c,N))return c}; +lqs=function(N,H){return N.J.N("delhi_modern_web_player_icons")?H?{W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M3.29 3.29C3.11 3.46 3.01 3.70 3.00 3.94C2.98 4.19 3.06 4.43 3.22 4.63L3.29 4.70L7.58 8.99H5C4.73 8.99 4.48 9.10 4.29 9.29C4.10 9.47 4 9.73 4 9.99C4 10.26 4.10 10.51 4.29 10.70C4.48 10.89 4.73 10.99 5 10.99H11V4.99C11 4.73 10.89 4.47 10.70 4.29C10.51 4.10 10.26 3.99 10 3.99C9.73 3.99 9.48 4.10 9.29 4.29C9.10 4.47 9 4.73 9 4.99V7.58L4.70 3.29L4.63 3.22C4.43 3.06 4.19 2.98 3.94 3.00C3.70 3.01 3.46 3.11 3.29 3.29ZM19 13H13V19C13 19.26 13.10 19.51 13.29 19.70C13.48 19.89 13.73 20 14 20C14.26 20 14.51 19.89 14.70 19.70C14.89 19.51 15 19.26 15 19V16.41L19.29 20.70L19.36 20.77C19.56 20.92 19.80 21.00 20.04 20.99C20.29 20.98 20.52 20.87 20.70 20.70C20.87 20.52 20.98 20.29 20.99 20.04C21.00 19.80 20.92 19.56 20.77 19.36L20.70 19.29L16.41 15H19C19.26 15 19.51 14.89 19.70 14.70C19.89 14.51 20 14.26 20 14C20 13.73 19.89 13.48 19.70 13.29C19.51 13.10 19.26 13 19 13Z", +fill:"white"}}]}:{W:"svg",V:{height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M10 3H3V10C3 10.26 3.10 10.51 3.29 10.70C3.48 10.89 3.73 11 4 11C4.26 11 4.51 10.89 4.70 10.70C4.89 10.51 5 10.26 5 10V6.41L9.29 10.70L9.36 10.77C9.56 10.92 9.80 11.00 10.04 10.99C10.29 10.98 10.52 10.87 10.70 10.70C10.87 10.52 10.98 10.29 10.99 10.04C11.00 9.80 10.92 9.56 10.77 9.36L10.70 9.29L6.41 5H10C10.26 5 10.51 4.89 10.70 4.70C10.89 4.51 11 4.26 11 4C11 3.73 10.89 3.48 10.70 3.29C10.51 3.10 10.26 3 10 3ZM20 13C19.73 13 19.48 13.10 19.29 13.29C19.10 13.48 19 13.73 19 14V17.58L14.70 13.29L14.63 13.22C14.43 13.07 14.19 12.99 13.95 13.00C13.70 13.01 13.47 13.12 13.29 13.29C13.12 13.47 13.01 13.70 13.00 13.95C12.99 14.19 13.07 14.43 13.22 14.63L13.29 14.70L17.58 19H14C13.73 19 13.48 19.10 13.29 19.29C13.10 19.48 13 19.73 13 20C13 20.26 13.10 20.51 13.29 20.70C13.48 20.89 13.73 21 14 21H21V14C21 13.73 20.89 13.48 20.70 13.29C20.51 13.10 20.26 13 20 13Z", +fill:"white"}}]}:H?{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"g",K:"ytp-fullscreen-button-corner-2",X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{W:"g",K:"ytp-fullscreen-button-corner-3",X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{W:"g",K:"ytp-fullscreen-button-corner-0",X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{W:"g",K:"ytp-fullscreen-button-corner-1", +X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]}:{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"g",K:"ytp-fullscreen-button-corner-0",X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},{W:"g",K:"ytp-fullscreen-button-corner-1",X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{W:"g",K:"ytp-fullscreen-button-corner-2",X:[{W:"path",JN:!0,K:"ytp-svg-fill", +V:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{W:"g",K:"ytp-fullscreen-button-corner-3",X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]}}; +Dx=function(N,H,c){return{ssvc:H,cpn:(c==null?void 0:c.cpn)||"",vid:(c==null?void 0:c.videoData.videoId)||"",ct:(N.playback.getCurrentTime()||0).toFixed(3),cmt:(N.playback.NP()||0).toFixed(3)}}; +OUe=function(N){if(N.policy.iR&&N.policy.Fd)for(var H=g.K(N.policy.iR),c=H.next(),t={};!c.done;t={s6:void 0,Jx:void 0},c=H.next())if(c=g.lN(c.value),t.s6=+c.clen,t.Jx=+c.csz,t.s6>0&&t.Jx>0&&N.policy.U===c.docid&&N.T.info.id===c.fmtid&&N.T.info.lastModified===+c.lmt)return N={},N.clen=t.s6,N.csz=t.Jx,N.ck=c.ck,N.civ=c.civ,N}; +KVR=function(N,H,c,t){N.L=t;N.api.mp(N.T,c,H)}; +wZ=function(N,H,c){var t=N.map.get(H);if(!t)return!1;N.map.delete(H);c&&N.B&&N.B(t.value);if(N.T.T.length>N.map.size*2)for(N.T.clear(),H=g.K(N.map.entries()),c=H.next();!c.done;c=H.next())t=g.K(c.value),c=t.next().value,t=t.next().value,isFinite(t.Ef)&&N.T.enqueue(t.Ef,c);return!0}; +pXt=function(){var N=jvZ();if(N!=null&&N.effectiveType)return g2R.hasOwnProperty(N.effectiveType)?g2R[N.effectiveType]:"EFFECTIVE_CONNECTION_TYPE_UNKNOWN"}; +do3=function(N,H,c,t,h,O,F){N=N===void 0?-1:N;H=H===void 0?"":H;c=c===void 0?"":c;t=t===void 0?!1:t;h=h===void 0?"":h;g.L.call(this);this.logSource=N;this.componentId=H;O?H=O:(N=new bI(N,"0"),N.componentId=H,g.l(this,N),c!==""&&(N.Iu=c),t&&(N.L=!0),h&&WiL(N,h),F&&iXD(N,F),H=N.build());this.T=H}; +Y6=function(N,H,c){return N.getCurrentTimeSec(H,c)}; +dMs=function(N){var H,c=(H=L3(N))==null?void 0:H.info;return!c||N.tf(Math.min(c.U+h1,c.S))}; +rly=function(N,H){this.L=N;this.U=H;this.B=0;this.T=null}; +snl=function(N,H,c){c=c===void 0?{}:c;return kUS(N,H,c)}; +hNs=function(){this.L=[];this.B=0;this.T=new oX}; +Ujv=function(N,H,c){c=N.T[H].N4(c);YD(N,c,0,N.T[H].width)}; +rC=function(){var N=Number(g.YI("DCLKSTAT",0));return isNaN(N)?0:N}; +TXZ=function(N){var H,c,t,h,O,F,M,f,d;return g.Y(function(W){if(W.T==1){if(N.uo())return W.return(Promise.reject(Error(N.status.error||"disposed")));N.timeout.start();return g.a(W,N.Kp,2)}H=N.T.wr();if(H.isEnded())return N.h3("ended_in_finishTransition"),W.return(Promise.reject(Error(N.status.error||"")));if(!N.U||!rk(N.U))return N.h3("next_mse_closed"),W.return(Promise.reject(Error(N.status.error||"")));if(N.B.CJ()!==N.U)return N.h3("next_mse_mismatch"),W.return(Promise.reject(Error(N.status.error|| +"")));c=fW(N);t=c.o1;h=c.xQ;O=c.Jz;N.T.kA(!1,!0);F=fWZ(N,H,t,O,!N.B.getVideoData().isAd());N.B.setMediaElement(F);(M=N.T.eh())&&N.B.Mu(M.Fk,M.nU);N.Z&&(N.policy.T||N.B.seekTo(N.B.getCurrentTime()+.001,{K$:!0,Na:3,j_:"gapless_pseudo"}),F.play());f=H.Q4();f.cpn=N.T.getVideoData().clientPlaybackNonce;f.st=""+t;f.et=""+O;N.B.Lq("gapless",f);N.T.Lq("gaplessTo",{cpn:N.B.getVideoData().clientPlaybackNonce});d=N.T.getPlayerType()===N.B.getPlayerType();N.T.P4(h,!0,!1,d,N.B.getVideoData().clientPlaybackNonce); +N.B.P4(N.B.getCurrentTime(),!0,!0,d,N.T.getVideoData().clientPlaybackNonce);N.B.z8();g.OT(function(){!N.B.getVideoData().Z&&N.B.getPlayerState().isOrWillBePlaying()&&N.B.Dv()}); +xb(N,6);N.dispose();return W.return(Promise.resolve())})}; +mPy=function(N,H){var c=H.filter(function(h){return oM(N,h)===10}),t=H.filter(function(h){return oM(N,h)!==10}); +return N.U.Dug?function(){var h=g.LQ.apply(0,arguments);return g.Y(function(O){if(O.T==1)return g.a(O,N.C$s.apply(N,[c].concat(g.HE(h))),2);N.cj.apply(N,[t].concat(g.HE(h)));g.Z3(O)})}:function(){var h=g.LQ.apply(0,arguments); +N.u1E.apply(N,[c].concat(g.HE(h)));N.cj.apply(N,[t].concat(g.HE(h)))}}; +E6=function(N){return N.adSlotMetadata.slotType==="SLOT_TYPE_PLAYER_BYTES"}; +g.iA=function(N){g.L.call(this);var H=this;this.provider=N;this.logger=new g.mE("qoe");this.T=new Map;this.sequenceNumber=1;this.Us=NaN;this.y0="N";this.Z=this.nU=this.Fk=this.Bp=this.B=0;this.n4=this.gE=this.Y=this.vp="";this.T3=this.Kq=NaN;this.S_=0;this.bX=-1;this.mz=1;this.playTimeSecs=this.rebufferTimeSecs=0;this.mG=this.isEmbargoed=this.Ix=this.isOffline=this.isBuffering=!1;this.AN=[];this.TW=null;this.WO=this.U=this.UF=this.NT=this.C=!1;this.L=-1;this.Xg=!1;this.qc=new g.kT(this.bqa,750,this); +this.by=this.adCpn="";this.adFormat=void 0;this.G7=0;this.Al=new Set("cl fexp drm drm_system drm_product ns el adformat live cat shbpslc".split(" "));this.Jj=new Set(["gd","pw","gp","gm","dd"]);this.serializedHouseBrandPlayerServiceLoggingContext="";this.kG=!1;this.Uu=NaN;this.Cq=0;this.C4=!1;this.remoteConnectedDevices=[];this.remoteControlMode=void 0;this.Dt=!1;this.Oc=new Set;this.Br={Yo:function(O){H.Yo(O)}, +b1W:function(){return H.S}, +reportStats:function(){H.reportStats()}, +SB_:function(){return H.T.get("cat")||[]}, +y8:function(O){return H.T.get(O)||[]}, +oeq:function(){return H.T}, +T4_:function(){return{adCpn:H.adCpn,by:H.by,adFormat:H.adFormat}}}; +this.ox=this.provider.j.N("html5_qoe_relaxed_reporting");var c=g.Mx(this.provider.j.experiments,"html5_qoe_proto_mock_length");c&&!A6.length&&(A6=Y_t(c));g.l(this,this.qc);try{var t,h;(h=(t=navigator).getBattery)==null||h.call(t).then(function(O){H.TW=O})}catch(O){}g.Xz(this,0,"vps",["N"]); +N.j.vO()&&(this.Cq=(0,g.Lh)(),this.Uu=g.Re(function(){var O=(0,g.Lh)(),F=O-H.Cq;F>500&&H.Lq("vmlock",{diff:F.toFixed()});H.Cq=O},250)); +this.provider.videoData.oR&&(this.remoteControlMode=wOL[this.provider.videoData.oR]||0);this.provider.videoData.x8&&(c=HXy(this.provider.videoData.x8),c==null?0:c.length)&&(this.remoteConnectedDevices=c);N.j.vO()&&(this.w_=new ML3,g.l(this,this.w_));S8f(N.j)&&(this.zW=new CE,g.l(this,this.zW))}; +y6L=function(N){this.offset=0;this.data=new DataView(new ArrayBuffer(N))}; +lQe=function(N){var H=0,c=NaN,t="";if(!N.TW)return{startSeconds:H,zR:c,source:t};N.videoData.j$?H=N.videoData.ZG:BJ(N.videoData)&&(H=Infinity);if(g.z7(N.videoData))return{startSeconds:H,zR:c,source:t};N.videoData.startSeconds?(t="ss",H=N.videoData.startSeconds):N.videoData.PM&&(t="stss",H=N.videoData.PM);N.videoData.liveUtcStartSeconds&&(c=N.videoData.liveUtcStartSeconds);if(isFinite(H)&&(H>N.L6()||HN.Ff())N.segments=[];else{var c=TH(N.segments,function(t){return t.Y_>=H},N); +c>0&&N.segments.splice(0,c)}}; +SoD=function(N){N=N===void 0?null:N;return N!=null&&(N=N.thumbnail,N!=null&&N.thumbnails!=null&&N.thumbnails.length!=0&&N.thumbnails[0].width!=null&&N.thumbnails[0].height!=null)?new g.rv(N.thumbnails[0].width||0,N.thumbnails[0].height||0):new g.rv(0,0)}; +Jht=function(N){return N.videoData.Tu()&&N.N("html5_enable_shorts_seek_details_logging")}; +qSv=function(N){var H={},c=N.J.getVideoData(1);H.ASR=BQ(function(){var t;return(t=c==null?void 0:c.Lx)!=null?t:null}); +H.EI=BQ(function(){var t;return(t=c==null?void 0:c.eventId)!=null?t:null}); +return H}; +fGD=function(N){var H=new XXe,c={},t=(c["X-Goog-Api-Key"]="AIzaSyDyT5W0Jh49F30Pqqtyfdf7pDLFKLJoAnw",c);return new rW(H,N,function(){return t})}; +ncR=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x,q,r){var w=HF(c,O,h.uR);if(w instanceof S)return w;if(g.P(c.renderingContent,QR)){f=Eyy([c],h,f);if(f instanceof S)return f;if(f.length!==1)return new S("Only expected one media layout.");N=jls(N,H,c,w,f[0],void 0,"core",t,O,F,M,d,E,x,q,h.uR,z,void 0,r);return N instanceof S?N:{layout:N.layout,VL:N.z7?[N.z7]:[]}}var n=g.P(c.renderingContent,PG);if(n){if(!Gf(c.adLayoutMetadata))return new S("Invalid ad layout metadata");if(!Ug(n))return new S("Invalid sequential layout"); +n=n.sequentialLayouts.map(function(p){return p.playerBytesAdLayoutRenderer}); +N=Cwh(N,H,c.adLayoutMetadata,w,n,t,O,h,f,F,M,d,W,z,q,E,x,r);return N instanceof S?N:{layout:N.wN,VL:N.VL}}return new S("Not able to convert a sequential layout")}; +QPD=function(N,H){N.policy.Bp?N.T.splice(N.T.indexOf(H)).forEach(function(c){c.dispose()}):(N.T.pop(),H==null||H.dispose())}; +pOf=function(N,H,c){return new yZ(N,H,c)}; +g6=function(N){if(N.L)if(g.nH(N.api.getRootNode(),"ytp-grid-scrolling"),N.api.getPresentingPlayerType()===2||N.api.IW()||N.api.isMinimized())HY(N,0);else{var H=g.y(N.api.getPlayerStateObject(),2);if(H)HY(N,2,"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED");else if(N.isEnded&&!H){var c=lO(N)?1:0;N.isEnded=H;HY(N,c)}else lO(N)?N.B!==2&&HY(N,1):HY(N,0);N.isEnded=H}}; +CT=function(N,H,c,t,h,O,F,M,f){f=f===void 0?!1:f;g.L.call(this);this.qT=N;this.policy=H;this.tj=c;this.JF=t;this.timing=h;this.logger=O;this.U=F;this.C0=M;this.Y=f;this.lastError=null;this.T=0;this.S=!1;this.L=0;this.B=new g.kT(this.k6s,this.policy.il,this)}; +zL=function(N){return g.ri(g.tA(),N)}; +u43=function(N,H){g.gC.call(this,N);this.eg=H;this.B=new g.Ww(this);this.C=new g.kT(this.IsE,1E3,this);this.Z=this.yR=null;g.l(this,this.B);g.l(this,this.C);H=this.J.D();N.createClientVe(this.element,this,28656);g.bV(this.element,"ytp-contextmenu");this.J.D().experiments.M4("delhi_modern_web_player")&&g.gu(H)&&g.bV(this.element,"ytp-delhi-modern-contextmenu");PJZ(this);this.hide()}; +rHS=function(N){var H=uke();H.update(N);return H.s8().toLowerCase()}; +Ss=function(N){this.S=!1;this.T=N;this.U=function(){}}; +afs=function(N,H,c,t,h,O,F,M,f,d,W,z,E,x,q,r){N=lS(N,"SLOT_TYPE_PLAYER_BYTES");t=LpR(H,F,t,h,N,d,W);if(t instanceof S)return t;var w;F=(w=lQ(t.clientMetadata,"metadata_type_fulfilled_layout"))==null?void 0:w.layoutId;if(!F)return new S("Invalid adNotify layout");H=aYw(F,H,c,h,O,f,M,d,z,E,x,q,r);return H instanceof S?H:[t].concat(g.HE(H))}; +Jll=function(){}; +wR=function(N,H,c,t){N.L.dJ(t===void 0?H:t,c/H);N.Y=(0,g.Lh)()}; +W0=function(N){this.T=N}; +aJ=function(N,H,c,t){U$("https://"+H+"/videoplayback?probe=1",c,function(h){!t.N("html5_onesie_host_racing")||t.videoData.isLivePlayback||t.N("html5_onesie_probe_ec_hosts")||t.KD||t.A8();N.U.push(h)},function(h){N.U.push(h.details)})}; +vD=function(N,H){N=mq(N,H,void 0,void 0,a7s);return N==null?An():N}; +fg=function(N){this.value=N}; +xgL=function(N,H,c){var t=g.Kv(N.T,H);if(t>=0)return H;H=-t-1;return H>=N.T.length||N.T[H]>c?null:N.T[H]}; +Th=function(N){var H=[{W:"div",fq:["ytp-unmute-icon"],X:[{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}]}, +{W:"div",fq:["ytp-unmute-text"],Wp:"Tap to unmute"}];H.push({W:"div",fq:["ytp-unmute-box"],X:[]});g.Gv.call(this,N,{W:"button",fq:["ytp-unmute","ytp-popup","ytp-button","ytp-unmute-animated","ytp-unmute-shrink"],X:[{W:"div",K:"ytp-unmute-inner",X:H}]},100);this.T=this.clicked=!1;this.api=N;this.api.createClientVe(this.element,this,51663);this.G(N,"onMutedAutoplayChange",this.onMutedAutoplayChange,this);this.G(N,"presentingplayerstatechange",this.Wv);this.listen("click",this.onClick,this);N=N.isMutedByMutedAutoplay()&& +!g.PX(this.api.D());this.a4(N);N&&P1w(this);this.B=N}; +eI=function(N,H){if(H.uo()||N.uo())N.policy.w4||(N.policy.S?Vp(N.loader):N.loader.Ec());else{if(N.policy.L&&H.isComplete()&&H instanceof z2){var c=N.loader,t=c.Lq,h,O,F=Object.assign(H.hj.H_(),{rst:H.state,strm:H.xhr.hg(),d:(h=H.hj.Ix)==null?void 0:h.UR(),cncl:H.xhr&&H.Ke.S?1:0,rqb:H.nX,cwt:H.Ke.L,swt:(O=H.Ha)==null?void 0:O.aO});h=Object.assign(V8D(H.info),F);t.call(c,"rqs",h)}if(H.isComplete()&&H.eC()&&H instanceof z2)N.policy.bX?H.Nw()?(H.dispose(),N.T.length===0?N.loader.Ec():(N=N.T[0],N instanceof +z2&&N.Jf()&&N.Ry())):H.OG()&&N.loader.handleError(H.Wd(),H.Gv()):(H.dispose(),N.loader.Ec());else{if(H.IP())H instanceof z2&&gJd(N.timing,H),K7f(N),gEv(N);else if(H.OG())if(c=N.wE.G$(),H instanceof z2&&GPZ(H.info)&&c&&N.loader.ke(c),H instanceof z2&&Xo3(H)){var M;(M=N.loader.JI)==null||S_L(M)}else H instanceof wY?N.T.pop():(M=1,H.canRetry()&&kg3(N.loader)&&(QPD(N,H),M=0),N.loader.handleError(H.Wd(),H.Gv(),M));else{if(N.loader.isSuspended&&!H.isComplete())return;gEv(N)}H.uo()||H instanceof wY||(H.isComplete()? +M=PDf(H,N.policy,N.U):(M=msL(H,N.policy,N.U),M===1&&(N.UF=!0)),M!==0&&(c=new No(1,H.info.JF),c.oi=M===2,r3L(N,c)));N.policy.mz&&!H.isComplete()?oky(N.loader):N.loader.Ec()}}}; +I1S=function(N){N.CONN=BQ(TQ("0"));N.WT=BQ(function(){return Date.now().toString()})}; +T1=function(N){if(N.Kq&&N.TW&&!N.NT){for(;N.L.length;){var H=N.L[0],c=nyv(N)?trl(H):g.Eq(H.initData);if(tW(N.T)&&!H.B)N.L.shift();else{if(N.B.get(c))if(N.T.flavor!=="fairplay"||tW(N.T)){N.L.shift();continue}else N.B.delete(c);xVS(H);break}}N.L.length&&N.createSession(N.L[0])}}; +g.Mb=function(N){return(!("button"in N)||typeof N.button!=="number"||N.button===0)&&!("shiftKey"in N&&N.shiftKey)&&!("altKey"in N&&N.altKey)&&!("metaKey"in N&&N.metaKey)&&!("ctrlKey"in N&&N.ctrlKey)}; +v8=function(N,H){var c=kkv(N.L,H.B);if(N.T.length>1){c=Lw(N,H.L,!0);for(var t=0,h=0;h0&&(t+=N.T[h].width,t+=Vy(N));c=(N.T[c].startTime+(H.L-t)/N.T[c].width*((c===N.T.length-1?N.L.T*1E3:N.T[c+1].startTime)-N.T[c].startTime))/1E3||0}return c}; +g$=function(N,H,c){this.triggeringLayoutId=H;this.slotId=c;this.triggerType="TRIGGER_TYPE_LAYOUT_ID_ACTIVE_AND_SLOT_ID_HAS_EXITED";this.triggerId=N(this.triggerType)}; +y$=function(N,H,c,t,h){N.iv_load_policy=t;H=OC(H);if(H.cta_conversion_urls)try{N.cta_conversion_urls=JSON.parse(H.cta_conversion_urls)}catch(O){KA(O)}c.oR&&(N.ctrl=c.oR);c.x8&&(N.ytr=c.x8);c.fS&&(N.ytrcc=c.fS);c.isMdxPlayback&&(N.mdx="1");N.vvt&&(N.vss_credentials_token=N.vvt,c.eY&&(N.vss_credentials_token_type=c.eY),c.mdxEnvironment&&(N.mdx_environment=c.mdxEnvironment));FI(N,h);return N}; +n2v=function(N,H,c,t){Y_.call(this,"survey-interstitial",N,H,c,t)}; +rGy=function(N){this.next=function(H){o2(N.T);N.T.U?H=kW(N,N.T.U.next,H,N.T.Z):(N.T.Z(H),H=I2(N));return H}; +this.throw=function(H){o2(N.T);N.T.U?H=kW(N,N.T.U["throw"],H,N.T.Z):(OJ(N.T,H),H=I2(N));return H}; +this.return=function(H){return ihl(N,H)}; +this[Symbol.iterator]=function(){return this}}; +Kgw=function(N,H){g.xo.call(this);this.Es=N;this.startSeconds=0;this.shuffle=!1;this.index=0;this.title="";this.length=0;this.items=[];this.loaded=!1;this.sessionData=this.T=null;this.dislikes=this.likes=this.views=0;this.order=[];this.author="";this.xP={};this.B=0;if(N=H.session_data)this.sessionData=Ud(N,"&");this.index=Math.max(0,Number(H.index)||0);this.loop=!!H.loop;this.startSeconds=Number(H.startSeconds)||0;this.title=H.playlist_title||"";this.description=H.playlist_description||"";this.author= +H.author||H.playlist_author||"";H.video_id&&(this.items[this.index]=H);if(N=H.api)typeof N==="string"&&N.length===16?H.list="PL"+N:H.playlist=N;if(N=H.list)switch(H.listType){case "user_uploads":this.listId=new ls("UU","PLAYER_"+N);break;default:var c=H.playlist_length;c&&(this.length=Number(c)||0);this.listId=KH(N);if(N=H.video)this.items=N.slice(0),this.loaded=!0}else if(H.playlist){N=H.playlist.toString().split(",");this.index>0&&(this.items=[]);N=g.K(N);for(c=N.next();!c.done;c=N.next())(c=c.value)&& +this.items.push({video_id:c});this.length=this.items.length;if(N=H.video)this.items=N.slice(0),this.loaded=!0}this.setShuffle(!!H.shuffle);if(N=H.suggestedQuality)this.quality=N;this.xP=Vg(H,"playlist_");this.L=(H=H.thumbnail_ids)?H.split(","):[]}; +sQ=function(N,H,c){if(c===void 0||!c){c=g.K(N.Xg);for(var t=c.next();!t.done;t=c.next()){t=t.value;if(H>=t.start&&H<=t.end)return;if(H===t.end+1){t.end+=1;return}}N.Xg.push(new SZv(H))}}; +o0S=function(N){return S3()&&JFL(N)?!1:oY(N)&&(g.El(N.Es)?!N.isLivePlayback:N.hlsvp)||!h4()||N.ym?!0:!1}; +g.py=function(N,H){H=H===void 0?"":H;if(N.qj){var c=new M9,t,h=N.qj();h.signedOut?t="":h.token?t=h.token:h.pendingResult.then(function(O){h.signedOut?c.resolve(""):c.resolve(O.token)},function(O){g.aS(new g.ti("b189348328_oauth_callback_failed",{error:O})); +c.resolve(H)}); +return t!==void 0?H2(t):new NK(c)}return H2(H)}; +ioZ=function(N){dK.call(this,N);var H=this;this.B=new Set;this.T={};this.events=new g.Ww(N);g.l(this,this.events);this.events.G(N,"videodatachange",function(c){c==="newdata"&&(H.api.gr("stationsEmbargo"),H.api.gr("stationsMetadataUpdate"),H.T={},H.B.clear());c=H.api.getVideoData().HQ;var t=c.get("PLAYER_CUE_RANGE_SET_IDENTIFIER_STATION_AIRING_EMBARGO");t&&$CS(H,t,"stationsEmbargo");(c=c.get("PLAYER_CUE_RANGE_SET_IDENTIFIER_STATION_METADATA_UPDATE"))&&$CS(H,c,"stationsMetadataUpdate")}); +this.events.G(N,g.dm("stationsEmbargo"),function(c){H.api.TQ(!0);var t,h=(t=H.T[c.id])!=null?t:[];t=g.K(h);for(h=t.next();!h.done;h=t.next())if(h=h.value.embargo)H.api.hideControls(),H.api.TU("auth",2,KE(h.errorRenderer.reason),Gu({embargoed:1,id:c.id,idx:c.B,start:c.start})),(h=h.onTrigger)&&H.api.QS("innertubeCommand",h)}); +this.events.G(N,g.dm("stationsMetadataUpdate"),function(c){var t;c=(t=H.T[c.id])!=null?t:[];t=g.K(c);for(c=t.next();!c.done;c=t.next())(c=c.value.command)&&H.api.QS("innertubeCommand",c)})}; +SBy=function(N,H,c){this.callback=N;this.slot=H;this.k_=c;this.B=!1;this.T=0}; +Fk=function(N){return!(!N.T||N.T.mR===N.mR)}; +P2s=function(N){return N.N("html5_onesie_host_probing")||N.Ua?km:!1}; +UPL=function(N){N.d_.onProgress();if(BJ(N.videoData)&&Date.now()>N.qx+6283){if(N.N("html5_unified_live_latency_reporting")){var H=N.d_;H.qoe&&wMD(H.qoe)}else!N.isAtLiveHead()||N.videoData.T&&Zbe(N.videoData.T)||(H=N.d_,H.qoe&&wMD(H.qoe));H=g.El(N.j);var c=N.N("html5_always_log_rawlat");(H||c)&&N.Lq("rawlat",{l:X9(N.WS,"rawlivelatency").toFixed(3)});N.qx=Date.now()}N.videoData.B&&MF(N.videoData.B)&&(H=N.z$())&&H.videoHeight!==N.dV&&(N.dV=H.videoHeight,kiv(N,"a",Vi3(N,N.videoData.Ix)))}; +B8=function(N){g.gC.call(this,N,"ytp-shopping-product-menu");this.hn=new g.Fm(this.J);g.l(this,this.hn);this.hide();g.Q7(this,this.hn);g.aG(this.J,this.element,4)}; +Bs=function(N,H){this.T=N;this.pos=0;this.start=H||0}; +XO3=function(N){var H=KfZ(g.di==null?void 0:g.di.location.href),c=[];if(vWd()){H=H.indexOf("https:")==0||H.indexOf("chrome-extension:")==0||H.indexOf("chrome-untrusted://new-tab-page")==0||H.indexOf("moz-extension:")==0;var t=H?g.di.__SAPISID:g.di.__APISID;t||typeof document==="undefined"||(t=new za(document),t=t.get(H?"SAPISID":"APISID")||t.get("__Secure-3PAPISID"));(t=t?gYL(t,H?"SAPISIDHASH":"APISIDHASH",N):null)&&c.push(t);H&&((H=lCh("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",N))&&c.push(H), +(N=lCh("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",N))&&c.push(N))}return c.length==0?null:c.join(" ")}; +g.yb=function(N){this.NE=N}; +fnR=function(N){var H,c,t,h;return!!((H=N.Dt)==null?0:(c=H.title)==null?0:c.content)||!!((t=N.Dt)==null?0:(h=t.bodyText)==null?0:h.content)}; +we=function(N){return q8(N.U,Sc(22,N.tj.HR))}; +S3=function(){return g.$b("cobalt")&&g.$b("appletv")}; +V9S=function(){return{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},X:[{W:"path",JN:!0,V:{d:"M12,14 L9,11 L9,3 L12,0 L5,0 L5,14 L12,14 Z",fill:"#eaeaea"}}]}}; +EjL=function(N,H,c,t){var h=c,O=vB(H.width,H.height);N.cg?h=cO?{width:H.width,height:H.width/h,aspectRatio:h}:hh?N.width=N.height*c:c=H){H=O;break a}}H=h}return H<0?NaN:$wR(N,c?H:0)?N[H].startTime:NaN}; +LVe=function(N,H){if(H.info.video){if(N.L!==H)return N.L=H,Lkl(N)}else N.zW=N.C!==H,N.C=H;return null}; +$h=function(){ZB.call(this,iJ,2,"mraid");this.Cq=0;this.Us=this.ox=!1;this.C=null;this.B=Jph(this.L);this.U.T=new wu(0,0,0,0);this.gE=!1}; +uoL=function(N,H,c){if(N.B!==0&&c&&H.L4[0].KG()){var t=H.L4[0].Y_,h=H.L4[0].U;H=H.isDecorated();nBl(N,t,h,H,c)}}; +YBf=function(N,H,c,t){sE.call(this,N,{W:"div",K:"ytp-ad-overlay-slot",X:[{W:"div",K:"ytp-ad-overlay-container"}]},"invideo-overlay",H,c,t);this.Z=[];this.Al=this.Ix=this.U=this.Xg=this.Kq=null;this.vp=!1;this.S=null;this.Us=0;N=this.Sa("ytp-ad-overlay-container");this.gE=new pd(N,45E3,6E3,.3,.4);g.l(this,this.gE);this.L=K0t(this);g.l(this,this.L);this.L.Jl(N);this.B=ZLt(this);g.l(this,this.B);this.B.Jl(N);this.T=Yxt(this);g.l(this,this.T);this.T.Jl(N);this.hide()}; +Gg=function(N,H){g.nH(N.J.getRootNode(),H)}; +gk=function(N,H,c,t){g.xo.call(this);var h=this;this.WH=N;this.start=H;this.end=c;this.isActive=t;this.appendWindowStart=0;this.appendWindowEnd=Infinity;this.timestampOffset=0;this.uF={error:function(){!h.uo()&&h.isActive&&h.publish("error",h)}, +updateend:function(){!h.uo()&&h.isActive&&h.publish("updateend",h)}}; +this.WH.Cm(this.uF);this.Ti=this.isActive}; +$G=function(N){var H=H===void 0?!1:H;return vH(kC(N,AlL),N,H,"Trusted Stream URL")}; +epL=function(N,H,c,t,h){this.listener=N;this.proxy=null;this.src=H;this.type=c;this.capture=!!t;this.handler=h;this.key=++aqy;this.removed=this.Kx=!1}; +ks=function(N,H,c){return typeof N==="string"?(N=encodeURI(N).replace(H,tbL),c&&(N=N.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),N):null}; +N0=function(N){var H=qu();g.Lu(function(){var c=g.bg(N);Dz(H,c);return c})()}; +v2l=function(N){return N.currentTime+N.timestampOffset}; +sPy=function(N,H){var c=N.B[H],t;(t=N.L)==null||t.dispose();g.P(c,e1)?eMt(N,g.P(c,e1),N.macros):g.P(c,aI)&&q9d(N,g.P(c,aI),N.macros);N.T=H}; +BE3=function(N){var H=N.videoTrack.mR.index;N.SV=new SpR({cZ:N.policy.cZ,pF:N.policy.Z.pF,ul:H.g$(),Ff:function(){return H.Ff()}, +NZ:function(){return H.NZ()}})}; +xg=function(N){w9.call(this,N.message||N.description||N.name);this.isMissing=N instanceof Dj;this.isTimeout=N instanceof X5&&N.errorCode=="net.timeout";this.isCanceled=N instanceof xY}; +OLs=function(N){g.e.call(this,{W:"button",fq:["ytp-button","ytp-autonav-toggle"],V:{title:N.N("player_tooltip_data_title_killswitch")?"{{title}}":"","data-tooltip-title":"{{data-tooltip-title}}","aria-label":"{{label}}","data-priority":"3","data-tooltip-target-id":"ytp-autonav-toggle-button"},X:[{W:"div",K:"ytp-autonav-toggle-button-container",X:[{W:"div",K:"ytp-autonav-toggle-button",V:{"aria-checked":"true"}}]}]});this.J=N;this.B=[];this.T=!1;this.isChecked=!0;N.createClientVe(this.element,this, +113681);this.G(N,"presentingplayerstatechange",this.e6);this.listen("click",this.onClick);this.B.push(this.G(this.J,"videodatachange",this.e6));this.B.push(this.G(this.J,"videoplayerreset",this.e6));this.B.push(this.G(this.J,"onPlaylistUpdate",this.e6));this.B.push(this.G(this.J,"autonavchange",this.EL));XW(N,this.element,this);this.e6()}; +VT=function(N,H,c){if(!g.sf("web_csi_action_sampling_enabled")||!J8(c).actionDisabled){var t=Np(c),h;if(h=g.sf("web_csi_debug_sample_enabled")&&t){(nM().resolve(new Sp(Pq))==null?0:Iq())&&!ylS&&(ylS=!0,VT("gcfl",(0,g.Lh)(),c));var O,F,M;h=(nM().resolve(new Sp(Pq))==null?void 0:(O=Iq())==null?void 0:(F=O.loggingHotConfig)==null?void 0:(M=F.csiConfig)==null?void 0:M.debugSampleWeight)||0;if(O=h!==0)b:{O=cLf();if(O.length>0)for(F=0;F=0||(N.provider.wE.getVisibilityState()===3?N.S=!0:(N.T=g.cd(N.provider),N.delay.start()))}; +o2R=function(N,H){if(typeof N==="string")return new vY(jjw(N),H);if(Array.isArray(N))return new vY(new Uint8Array(N),H);if(N.constructor===Uint8Array)return new vY(N,!1);if(N.constructor===ArrayBuffer)return N=new Uint8Array(N),new vY(N,!1);if(N.constructor===ZV)return H=xQ(N)||new Uint8Array(0),new vY(H,!0,N);if(N instanceof Uint8Array)return N=N.constructor===Uint8Array?N:new Uint8Array(N.buffer,N.byteOffset,N.byteLength),new vY(N,!1);throw Error();}; +NB=function(N,H){H=H===void 0?!1:H;var c=VM(N);N=H?0:N.info.C;return c||N}; +k4y=function(N){if(!ikL(N))return!1;var H;N=(H=N.mediaElement)==null?void 0:H.audioTracks();return!!(N&&N.length>1)}; +DMt=function(N,H,c,t){t=t===void 0?0:t;if(N.U){var h=N.U.T+N.U.B;if(c.info.T>0)if(c.info.Y_===N.U.Y_&&c.info.T=0&&N.U.Y_>=0&&!VZ(N.U,c.info))throw new g.ti("improper_continuation",N.U.uX(),c.info.uX());I_v(N.U,c.info)||Fg(N,"d")}else if(c.info.T>0)throw new g.ti("continuation_of_null",c.info.uX());N.U=c.info;N.mR=c.info.mR;if(c.info.T===0){if(N.T)if(!N.loader.isOffline()||N.policy.XS)N.loader.Lq("slice_not_fully_processed", +{buffered:N.T.info.uX(),push:c.info.uX()});else throw new g.ti("slice_not_fully_processed",N.T.info.uX(),c.info.uX());CN(N);N.Cq=t}else{if(N.Cq&&t&&N.Cq!==t)throw N=new g.ti("lmt_mismatch",c.info.Y_,N.Cq,t),N.level="WARNING",N;!c.info.mR.Oa()&&N.S&&(t=c.info,h=N.S.cz,t.Y="updateWithEmsg",t.Y_=h)}if(N.T){t=g.aw(N.T,c);if(!t)throw new g.ti("failed_to_merge",N.T.info.uX(),c.info.uX());N.T=t}else N.T=c;a:{c=g.vs(N.T.info.mR.info);if(N.T.info.type!==3){if(!N.T.info.L)break a;N.T.info.type===6?itw(N,H, +N.T):dws(N,N.T);N.T=null}for(;N.T;){t=N.T.B.totalLength;if(N.Us<=0&&N.Z===0){var O=N.T.B,F=-1;h=-1;if(c){for(var M=0;M+80))break;if(z!==408125543)if(z===524531317)M=!0,W>=0&&(h=O.Tn()+W,f=!0);else{if(M&&(z===160||z===163)&&(F<0&&(F=d),f))break;z===163&&(F=Math.max(0,F),h=O.Tn()+W);if(z===160){F<0&&(h=F= +O.Tn()+W);break}O.skip(W)}}F<0&&(h=-1)}if(F<0)break;N.Us=F;N.Z=h-F}if(N.Us>t)break;N.Us?(t=d9s(N,N.Us),t.S&&$n3(N,t),itw(N,H,t),es(N,t),N.Us=0):N.Z&&(t=d9s(N,N.Z<0?Infinity:N.Z),N.Z-=t.B.totalLength,es(N,t))}}N.T&&N.T.info.L&&(es(N,N.T),N.T=null)}; +Mn=function(N,H,c,t,h,O,F){var M="";N&&(M+=N+":");c&&(M+="//",H&&(M+=H+"@"),M+=c,t&&(M+=":"+t));h&&(M+=h);O&&(M+="?"+O);F&&(M+="#"+F);return M}; +RJ=function(N){this.T=N}; +IqR=function(N){var H=N.api.getVideoData().interstitials,c=[];H=g.K(H);for(var t=H.next();!t.done;t=H.next()){t=t.value;var h=c,O=h.push,F=N,M=t.playerVars,f=t.AI,d=t.time,W="yto-"+F.Z++;d=new g.vn(d,d,{id:W,priority:7,namespace:"yto"});F.C[W]={playerVars:M,playerType:f};O.call(h,d);h=N.api.getVideoData(1);h=Object.assign({oauth_token:h.oauthToken},t.playerVars);N.api.preloadVideoByPlayerVars(h,t.AI)}N.api.Q0(c,1)}; +BK=function(N){this.hF=oF(N)}; +r4=function(){return(dX||Ws)&&WW?!WW.mobile&&(zL("iPad")||zL("Android")||zL("Silk")):zL("iPad")||zL("Android")&&!zL("Mobile")||zL("Silk")}; +bLD=function(N){var H,c,t,h;return(H=N.api.getVideoData().getWatchNextResponse())==null?void 0:(c=H.playerOverlays)==null?void 0:(t=c.playerOverlayRenderer)==null?void 0:(h=t.browserMediaSession)==null?void 0:h.browserMediaSessionRenderer}; +g.sn=function(N){return GCy(N.B)}; +SKl=function(N){N=N.api.getPlayerStateObject();N=N.isCued()||N.isError()?"none":N.isOrWillBePlaying()?"playing":"paused";navigator.mediaSession.playbackState=N}; +tf=function(N,H,c,t){this.oy=H;this.visible=c;this.triggerType="TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED";this.triggerId=t||N(this.triggerType)}; +zb=function(N){g.L.call(this);this.logger=N;this.L=new g.Ps}; +GM=function(N){this.hF=oF(N)}; +g.Lu=function(N){return N&&window.yterr?function(){try{return N.apply(this,arguments)}catch(H){g.PQ(H)}}:N}; +NIR=function(N){if(N.isExternallyHostedPodcast)return C6();var H=hq(N.Jg,N.yU);if(N.hlsvp){var c=N.hlsvp,t;if((t=N.Es.Zp())==null?0:t.T.G0(V3R))c=k5(c);c=I$v(c,N.clientPlaybackNonce,N.H0);H.push(c)}return xpv(N.Es,N.isAd(),H,PsZ(N)).then(function(h){OG(N,h)})}; +u4=function(N){N.updateValue("clipicon",{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 24 24",width:"100%"},X:[{W:"path",V:{d:"M22,3h-4l-5,5l3,3l6-6V3L22,3z M10.79,7.79C10.91,7.38,11,6.95,11,6.5C11,4.01,8.99,2,6.5,2S2,4.01,2,6.5S4.01,11,6.5,11 c0.45,0,.88-0.09,1.29-0.21L9,12l-1.21,1.21C7.38,13.09,6.95,13,6.5,13C4.01,13,2,15.01,2,17.5S4.01,22,6.5,22s4.5-2.01,4.5-4.5 c0-0.45-0.09-0.88-0.21-1.29L12,15l6,6h4v-2L10.79,7.79z M6.5,8C5.67,8,5,7.33,5,6.5S5.67,5,6.5,5S8,5.67,8,6.5S7.33,8,6.5,8z M6.5,19C5.67,19,5,18.33,5,17.5S5.67,16,6.5,16S8,16.67,8,17.5S7.33,19,6.5,19z"}}]}); +N.sP&&!N.B?N.updateValue("watchfullvideo","Watch live stream"):N.updateValue("watchfullvideo","Watch full video");g.QH(N.element,"ytp-clip",bq(N));g.QH(N.element,"ytp-live",HG(N))}; +BJ=function(N){return N.N("html5_live_head_playable")&&WK(N)&&N.Es.Bp==="yt"?N.isLiveHeadPlayable:N.isLivePlayback}; +H7R=function(N){var H=g.as("html5-video-player");H&&g.QH(H,"ytp-ad-display-override",N)}; +IV=function(N,H){this.triggeringSlotId=H;this.triggerType="TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY";this.triggerId=N(this.triggerType)}; +Vsl=function(N,H){N=H.Zj()==1?N.T:N.B;var c=TH(N,function(t){return t==H}); +return c!=-1?(N.splice(c,1),H.ZI&&H.ZI.unobserve(),H.dispose(),!0):!1}; +eAL=function(){g.e.call(this,{W:"div",K:"ytp-fine-scrubbing-chapter-title",X:[{W:"div",K:"ytp-fine-scrubbing-chapter-title-content",Wp:"{{chapterTitle}}"}]})}; +g.Xz=function(N,H,c,t){ei(N,c,H.toFixed(3)+":"+t.join(":"))}; +g.aG=function(N,H,c){N=N.BO().element;var t=xt(N.children,function(h){h=Number(h.getAttribute("data-layer"));return c-h||1}); +t<0&&(t=-(t+1));PH(N,H,t);H.setAttribute("data-layer",String(c))}; +zpS=function(N){N.UF.add(N.L);N.L="";N.Bp=!1}; +laD=function(N){if(!N.isRequestPending){N.isRequestPending=!0;N.Df(3);var H=N.J.getVideoData();H=N.T?H.removeFromWatchLaterCommand:H.addToWatchLaterCommand;var c=N.J.h9(),t=N.T?function(){N.T=!1;N.isRequestPending=!1;N.Df(2);N.J.D().Z&&N.J.QS("WATCH_LATER_VIDEO_REMOVED")}:function(){N.T=!0; +N.isRequestPending=!1;N.Df(1);N.J.D().B&&N.J.r6(N.element);N.J.D().Z&&N.J.QS("WATCH_LATER_VIDEO_ADDED")}; +KF(c,H).then(t,function(){N.isRequestPending=!1;N.Df(4,"An error occurred. Please try again later.");N.J.D().Z&&N.J.QS("WATCH_LATER_ERROR","An error occurred. Please try again later.")})}}; +TS=function(N){try{return m6(N)}catch(H){return null}}; +VQL=function(N,H,c,t,h,O,F,M){N=rzv(N,c,O,F,t,function(f,d){var W=f.slotId;f=M(f);var z=h.contentSupportedRenderer;z?z.textOverlayAdContentRenderer?(z=CA(H.B.get(),"LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY",W),d=pbZ(H,z,"LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY",h,c,f,iO(H,d,W))):z.enhancedTextOverlayAdContentRenderer?(z=CA(H.B.get(),"LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY",W),d=pbZ(H,z,"LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY",h,c,f,iO(H,d,W))):z.imageOverlayAdContentRenderer?(z=CA(H.B.get(),"LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY", +W),d=iO(H,d,W),d.push(new Ev(H.T,45E3,z)),d=pbZ(H,z,"LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY",h,c,f,d)):d=new sz("InvideoOverlayAdRenderer without appropriate sub renderer"):d=new sz("InvideoOverlayAdRenderer without contentSupportedRenderer");return d}); +return N instanceof S?N:[N]}; +H6=function(N){return i7l[N]||"LATENCY_ACTION_UNKNOWN"}; +CTv=function(N){return!(N.isMinimized()||N.isInline()||N.isBackground()||N.eP()||N.LU()||N.oL()||N.VB())}; +cxZ=function(N,H){H=g.Df("$TOTAL_SEEK_TIME seconds",{TOTAL_SEEK_TIME:H.toString()});N.updateValue("seekTime",H)}; +Bds=function(N,H,c,t,h){g.L.call(this);var O=this,F=dN(function(){return new Wd(O.Rx)}); +g.l(this,F);var M=dN(function(){return new zR(F,O.Rx)}); +g.l(this,M);var f=dN(function(){return new EP}); +g.l(this,f);t=dN(function(){return new xh(N)}); +g.l(this,t);var d=dN(function(){return new qV(F,M,O.Rx)}); +g.l(this,d);var W=dN(function(){return new C$}); +g.l(this,W);this.V4=dN(function(){return new l7(h)}); +g.l(this,this.V4);this.YO=dN(function(){return new K$(H)}); +g.l(this,this.YO);this.kO=dN(function(){return new gN(H)}); +g.l(this,this.kO);this.Nc=dN(function(){return new rN(H)}); +g.l(this,this.Nc);this.Mi=dN(function(){return new mT(H)}); +g.l(this,this.Mi);this.Rx=dN(function(){return new wN(H)}); +g.l(this,this.Rx);var z=dN(function(){return new Qx(O.Rx)}); +g.l(this,z);var E=dN(function(){return new XP(F,d,M,O.Rx,z,null,null,null,null)}); +g.l(this,E);this.ea=dN(function(){return new u7(H,W,O.Rx)}); +g.l(this,this.ea);var x=J1({ea:this.ea,Rx:this.Rx,Uy:z}),q=x.context,r=x.dR;this.j1=x.j1;this.k_=dN(function(){return new Pd(H,O.ea,O.Rx)}); +g.l(this,this.k_);this.r_=dN(function(){return new L$(O.k_,H,O.Rx)}); +g.l(this,this.r_);this.Pp=dN(function(){return new Zk(H,f,O.r_,O.ea,O.j1,O.Rx,r)}); +g.l(this,this.Pp);this.p6=new Yh(t,E,c,this.Rx,N,this.ea,this.k_,this.YO);g.l(this,this.p6);var w=new A1(H,this.p6,this.k_,this.ea);this.GE=dN(function(){return w}); +this.rW=w;this.qP=new sP(t,d,this.kO,this.GE,q);g.l(this,this.qP);this.cH=new Bd(this.Rx,t,d,E,this.ea,this.qP,c,this.Nc);g.l(this,this.cH);this.CC={jt:new Map,Yd:new Map,tZ:new Map,iH:new Map,lK:new Map};this.listeners=[];this.r5={cH:this.cH,FE:this.Rx.get(),yS:this.V4.get(),aL:this.k_.get(),p6:this.p6,uY:F.get(),m2:null,Ga:{nV:function(){}}, +RU:f.get(),MP:this.ea.get()}}; +sDS=function(N){N.channel.classList.remove("ytp-title-show-collapsed");N.channel.classList.remove("ytp-title-show-expanded")}; +$s=function(N){return N.J.D().experiments.M4("html5_cuepoint_identifier_logging")}; +t0D=function(N,H,c,t,h){J0.call(this,N,{W:"div",K:"ytp-skip-ad"},"skip-ad",H,c,t,h);this.skipOffsetMilliseconds=0;this.isSkippable=!1;this.L=new vp(this.api,this.layoutId,this.interactionLoggingClientData,this.yS);g.l(this,this.L);this.L.Jl(this.element);this.hide()}; +EOe=function(N,H){var c=!1;if(H==="")return c;H.split(",").forEach(function(t){var h={},O={clientName:"UNKNOWN_INTERFACE",platform:"UNKNOWN_PLATFORM",clientVersion:""},F="ACTIVE";t[0]==="!"&&(t=t.substring(1),F="INACTIVE");t=t.split("-");t.length<3||(t[0]in hTD&&(O.clientName=hTD[t[0]]),t[1]in O7d&&(O.platform=O7d[t[1]]),O.applicationState=F,O.clientVersion=t.length>2?t[2]:"",h.remoteClient=O,N.remoteContexts?N.remoteContexts.push(h):N.remoteContexts=[h],c=!0)}); +return c}; +FFf=function(N,H){N=g.K(g.sV(N,!0));for(var c=N.next();!c.done;c=N.next())if(c=c.value,sUD(c)){var t={potc:"1",pot:H};c.url&&(c.url=Z_(c.url,t))}}; +x9R=function(N){N.T=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];N.C=[];N.C.length=64;N.U=0;N.B=0}; +nhh=function(N,H,c,t,h,O){var F=c-t/2;c+=t/2;H+=h;return"M 0 "+h+" L 0 "+(H+" L ")+(F+" "+H+" C ")+(F+O+" "+H+" "+(F+O)+" "+h+" "+F+" "+h+" L 0 ")+(h+" M ")+(c+" "+h+" L ")+(N.Y+" "+h+" L ")+(N.Y+" "+H+" L ")+(c+" "+H+" C ")+(c-O+" "+H+" "+(c-O)+" "+h+" "+c+" "+h)}; +Fvw=function(N){return N.CD||N.UJ}; +qYD=function(N,H){return H?GmR(H):N?d5v(N):Promise.resolve()}; +A_t=function(N,H,c,t,h){var O=(0,g.Lh)(),F=h?h(H):void 0,M;h=(M=F==null?void 0:F.QV)!=null?M:1;if(h!==0){var f;M=(f=F==null?void 0:F.profile)!=null?f:c;DyS(N,M,O-t,h)}return H}; +j5=function(N){dK.call(this,N);var H=this;N.addEventListener("settingsMenuInitialized",function(){H.menuItem||(H.menuItem=new s1(H.api,H.api.GS()),g.l(H,H.menuItem))}); +N.addEventListener("openSettingsMenuItem",function(c){if(c==="menu_item_sleep_timer"){if(!H.menuItem){var t;(t=H.api.GS())==null||t.aD()}H.menuItem.open()}}); +wl(N,"resetSleepTimerMenuSettings",function(){H.resetSleepTimerMenuSettings()}); +wl(N,"setSleepTimerTimeLeft",function(c){H.setSleepTimerTimeLeft(c)}); +wl(N,"setVideoTimeLeft",function(c){H.setVideoTimeLeft(c)})}; +F1v=function(N,H){return VZ(N,H)||Math.abs(N.S-H.U)<=1E-6||N.Y_+1===H.Y_&&H.T===0&&N.L?!0:!1}; +w8l=function(N,H){return N.TW(N.T,!0)?!1:(L_(N,NaN,"ns",H),N.clear(),!0)}; +jM=function(N){iH.call(this,!0);this.T=N}; +cMd=function(N){return N.info.mR.info.RW()&&YW(N.B,0)===160}; +kNR=function(N,H){if(g.sf("no_client_ve_attach_unless_shown")){var c=qZ(N,H);CG.set(c,!0);gV(N,H)}}; +eE=function(N,H){var c;hA(N,function(t){c=H[t];return!!c}); +return c}; +$T3=function(N){N.T.forEach(function(H){H.delay.dispose()}); +N.T.clear()}; +ZLt=function(N){var H=new g.lL({W:"div",fq:["ytp-ad-text-overlay","ytp-ad-enhanced-overlay"],X:[{W:"div",K:"ytp-ad-overlay-ad-info-button-container"},{W:"div",K:"ytp-ad-overlay-close-container",X:[{W:"button",K:"ytp-ad-overlay-close-button",X:[G_(Bv)]}]},{W:"div",K:"ytp-ad-overlay-text-image",X:[{W:"img",V:{src:"{{imageUrl}}"}}]},{W:"div",K:"ytp-ad-overlay-title",Wp:"{{title}}"},{W:"div",K:"ytp-ad-overlay-desc",Wp:"{{description}}"},{W:"div",fq:["ytp-ad-overlay-link-inline-block","ytp-ad-overlay-link"], +Wp:"{{displayUrl}}"}]});N.G(H.Sa("ytp-ad-overlay-title"),"click",function(c){E7(N,H.element,c)}); +N.G(H.Sa("ytp-ad-overlay-link"),"click",function(c){E7(N,H.element,c)}); +N.G(H.Sa("ytp-ad-overlay-close-container"),"click",N.Wi);N.G(H.Sa("ytp-ad-overlay-text-image"),"click",N.RAR);H.hide();return H}; +K2=function(N,H,c){if(N.Re(c)&&(c=c.getVideoData(),!Qu(N))){N=N.z3;for(var t=g.K(N.B),h=t.next();!h.done;h=t.next())if(h=h.value,c.vr===h.vr){H+=h.gs/1E3;break}t=H;N=g.K(N.B);for(h=N.next();!h.done;h=N.next()){h=h.value;if(c.vr===h.vr)break;var O=h.gs/1E3;if(O1&&(h=!1);N.B4&&h===H||(t=t.lock(h?"portrait":"landscape"),t!=null&&t.catch(function(){}),N.B4=!0)}else N.B4&&(N.B4=!1,t.unlock())}; +Sdt=function(N,H){N.a4(H.width>=350)}; +v3S=function(N,H){var c=pk();c&&c.publish.call(c,N.toString(),N,H)}; +WFD=function(N,H,c){N.noneOfTheAbove=new FKl(N.api,N.layoutId,N.interactionLoggingClientData,N.yS);N.noneOfTheAbove.Jl(N.answers);N.noneOfTheAbove.init(Gx("survey-none-of-the-above"),H,c)}; +Dd=function(N){var H=g.P(N.renderingContent,QR);if(H==null?0:H.pings)return GX(H.pings);N=g.P(N.renderingContent,$o);return(N==null?0:N.skipPings)?new Map([["skip",N.skipPings]]):new Map}; +Ld=function(N){if(N.currentState!==2)return!1;N.currentState=3;return!0}; +CDt=function(N,H,c){c=c===void 0?"":c;g.L.call(this);this.message=N;this.requestNumber=H;this.timer=c;this.onError=this.onSuccess=null;this.T=new g.Ke(5E3,2E4,.2)}; +DA=function(N,H){g.aQ.call(this,"Auto-translate",0,N,H);this.J=N;this.languages={};N.createClientVe(this.element,this,127301);N.logVisibility(this.element,!0)}; +d2e=function(N,H){this.B=this.T=0;this.T=H.x-N.x;this.B=H.y-N.y}; +EeS=function(N,H){if(H){if(N==="fullwidth")return Infinity;if(N==="fullheight")return 0}return N&&(H=N.match(zTR))&&(N=Number(H[2]),H=Number(H[1]),!isNaN(N)&&!isNaN(H)&&N>0)?H/N:NaN}; +IO=function(N,H){H=String(H);N.U&&(H=H.toLowerCase());return H}; +YjL=function(N,H,c,t){qY(N,z0(H||g.$$,c||null,t))}; +WIZ=function(N){N=N.document;N=N.compatMode=="CSS1Compat"?N.documentElement:N.body;return new g.rv(N.clientWidth,N.clientHeight)}; +qNL=function(){this.U=0;this.TW=Infinity;this.Z=!0;this.B=this.T=2;this.L=1;this.S=!1;this.Y=10;this.Us=!1;this.C=1;this.Bp=!1}; +CdR=function(N,H,c){c.fb&&H--;gY(c)&&(H=1);if(Zl(c)!==0&&(N=g.Mx(N.experiments,"html5_live_chunk_readahead_proxima_override"))){H=N;var t;((t=c.T)==null?0:rot(t))&&H++}return H}; +g.qBS=function(N){switch(N.data["Is-Ad-Break-Finished"]){case "true":return 1;case "false":return 2;default:return 0}}; +xTt=function(N){var H=N.timing.H_();H.shost=Sc(23,N.tj.HR);return H}; +Nc=function(N,H){N.C4=NaN;N.kG=null;N.mG.stop();N.Cq&&H&&N.Cq.Jy();N.WO=null;N.Cq=null}; +K8=function(N){return/(vp9|vp09|vp8|avc1|av01)/.test(N)}; +k6=function(N,H){H.forEach(function(c){d$(N,c)})}; +Gy=function(N){var H=T8(N,!0);N.pos+=H}; +g.h8Z=function(N,H){N=g.K(N.Xg);for(var c=N.next();!c.done;c=N.next())if(c=c.value,H>=c.start&&H<=c.end)return!0;return!1}; +g.fs=function(){return window.devicePixelRatio>1?window.devicePixelRatio:1}; +q5d=function(N){if(/^f([1-9][0-9]*)$/.test(N))throw Error("ExpectedRegexMatch: "+N);}; +IJ=function(N,H,c,t,h){sE.call(this,N,{W:"span",K:h?"ytp-ad-badge--clean-player":"ytp-ad-badge"},"ad-badge",H,c,t);this.B=h;this.adBadgeText=new pD(this.api,this.layoutId,this.interactionLoggingClientData,this.yS);this.adBadgeText.Jl(this.element);g.l(this,this.adBadgeText);h?(this.adBadgeText.element.classList.add("ytp-ad-badge__text--clean-player"),bA&&this.adBadgeText.element.classList.add("ytp-ad-badge--stark-clean-player-ios")):this.adBadgeText.element.classList.add("ytp-ad-badge__text");this.hide()}; +Qr=function(N,H,c){H=H===void 0?!0:H;c=c===void 0?!1:c;g.e.call(this,{W:"div",K:"ytp-suggested-action"});var t=this;this.J=N;this.C4=this.Us=this.ox=this.Bp=this.U=this.C=this.expanded=this.enabled=this.Xg=!1;this.WO=new g.kT(function(){t.badge.element.style.width=""},200,this); +this.Kq=new g.kT(function(){pm(t);hZ(t)},200,this); +this.vp=this.J.N("delhi_modern_web_player")?40:34;this.dismissButton=new g.e({W:"button",fq:["ytp-suggested-action-badge-dismiss-button-icon","ytp-button"]});g.l(this,this.dismissButton);this.L=new g.e({W:"div",K:"ytp-suggested-action-badge-expanded-content-container",X:[{W:"label",K:"ytp-suggested-action-badge-title",Wp:"{{badgeLabel}}"},this.dismissButton]});g.l(this,this.L);this.Cq=new g.e({W:"div",K:"ytp-suggested-action-badge-icon-container",X:[H?{W:"div",K:"ytp-suggested-action-badge-icon"}: +""]});g.l(this,this.Cq);this.badge=new g.e({W:c?"div":"button",fq:["ytp-button","ytp-suggested-action-badge","ytp-suggested-action-badge-with-controls"],X:[this.Cq,this.L]});g.l(this,this.badge);this.badge.Jl(this.element);this.Z=new g.BX(this.badge,250,!1,100,function(){t.J.N("web_player_overlay_positioned_layout")&&t.hide()}); +g.l(this,this.Z);N.N("web_player_overlay_positioned_layout")&&this.hide();this.UF=new g.BX(this.L,250,!1,100);g.l(this,this.UF);this.mG=new g.WU(this.lMa,null,this);g.l(this,this.mG);this.Al=new g.WU(this.Sc,null,this);g.l(this,this.Al);g.l(this,this.WO);g.l(this,this.Kq);this.J.createServerVe(this.badge.element,this.badge,!0);this.J.createServerVe(this.dismissButton.element,this.dismissButton,!0);this.G(this.J,"onHideControls",function(){t.fZ(!1)}); +this.G(this.J,"onShowControls",function(){t.fZ(!0)}); +this.G(this.badge.element,"click",this.zK);this.G(this.dismissButton.element,"click",this.KP);this.G(this.J,"pageTransition",this.IZ);this.G(this.J,"appresize",this.Ri);this.G(this.J,"fullscreentoggled",this.lIW);this.G(this.J,"cardstatechange",this.beE);this.G(this.J,"annotationvisibility",this.QAa,this);this.G(this.J,"offlineslatestatechange",this.sAf,this)}; +xoD=function(N){this.Es=N;this.mz=this.vL=this.gE=this.S=this.U=this.NT=this.zW=this.Bp=!1;this.C=this.Y=0;this.Al=!1;this.Us=!0;this.w_=!1;this.CF=0;this.OY=this.Ix=!1;this.bX=!0;this.vp=this.Kq=!1;this.B={};this.kG=this.C4=this.T3=this.disableAv1=this.WO=this.wJ=this.UF=this.mG=this.T=this.Z=!1;this.ox=0;this.Oc=this.Es.N("html5_disable_aac_preference");this.S_=Infinity;this.Cq=0;this.n4=this.Es.vO();this.Dt=this.Es.experiments.M4("html5_enable_vp9_fairplay");this.G7=this.Es.N("html5_force_av1_for_testing"); +this.LG=this.Es.Zp().T.G0(C_d);this.Xg=g.Mx(this.Es.experiments,"html5_av1_ordinal_cap");this.Jj=this.Es.N("html5_disable_hfr_when_vp9_encrypted_2k4k_unsupported");this.xD=this.Es.N("html5_account_onesie_format_selection_during_format_filter");this.OF=g.Mx(this.Es.experiments,"html5_max_byterate");this.Uu=this.Es.N("html5_enable_iamf_audio");this.AN=this.Es.experiments.M4("html5_allow_capability_merge");this.qc=this.Es.N("html5_enable_encrypted_av1")}; +Cm=function(N){N=N.Sg();N.DI();return N4(N)}; +a8y=function(N,H,c){var t=H.type||0;(c==null?0:c.has(t))?N.FQ.push(H):N.dc.push(t)}; +g.A0=function(N,H){var c=g.M4();H!==c[N]&&(H!==0?c[N]=H:delete c[N],g.qch(c))}; +t_=function(N,H){this.T=N;this.B=H}; +Zk3=[];fbv=typeof Object.create=="function"?Object.create:function(N){function H(){} +H.prototype=N;return new H}; +XF=typeof Object.defineProperties=="function"?Object.defineProperty:function(N,H,c){if(N==Array.prototype||N==Object.prototype)return N;N[H]=c.value;return N}; +g.U7=KQy(this);rc="Int8 Uint8 Uint8Clamped Int16 Uint16 Int32 Uint32 Float32 Float64".split(" ");g.U7.BigInt64Array&&(rc.push("BigInt64"),rc.push("BigUint64"));var lud=function(){function N(){function c(){} +new c;Reflect.construct(c,[],function(){}); +return new c instanceof c} +if(typeof Reflect!="undefined"&&Reflect.construct){if(N())return Reflect.construct;var H=Reflect.construct;return function(c,t,h){c=H(c,t);h&&Reflect.setPrototypeOf(c,h.prototype);return c}}return function(c,t,h){h===void 0&&(h=c); +h=fbv(h.prototype||Object.prototype);return Function.prototype.apply.call(c,h,t)||h}}(),KFt; +if(typeof Object.setPrototypeOf=="function")KFt=Object.setPrototypeOf;else{var gee;a:{var rxy={a:!0},mTl={};try{mTl.__proto__=rxy;gee=mTl.a;break a}catch(N){}gee=!1}KFt=gee?function(N,H){N.__proto__=H;if(N.__proto__!==H)throw new TypeError(N+" is not extensible");return N}:null}var $g=KFt,wuw=typeof Object.assign=="function"?Object.assign:function(N,H){if(N==null)throw new TypeError("No nullish arg"); +N=Object(N);for(var c=1;c>>0)+"_",h=0;return H}); +nm("Symbol.iterator",function(N){if(N)return N;N=Symbol("Symbol.iterator");XF(Array.prototype,N,{configurable:!0,writable:!0,value:function(){return qpl(fsv(this))}}); +return N}); +nm("Promise",function(N){function H(){this.T=null} +function c(F){return F instanceof t?F:new t(function(M){M(F)})} +function t(F){this.T=0;this.L=void 0;this.B=[];this.C=!1;var M=this.U();try{F(M.resolve,M.reject)}catch(f){M.reject(f)}} +if(N)return N;H.prototype.B=function(F){if(this.T==null){this.T=[];var M=this;this.L(function(){M.S()})}this.T.push(F)}; +var h=g.U7.setTimeout;H.prototype.L=function(F){h(F,0)}; +H.prototype.S=function(){for(;this.T&&this.T.length;){var F=this.T;this.T=[];for(var M=0;M0&&c>0;)if(t[--c]!=H[--h])return!1;return h<=0}}); +nm("Array.prototype.find",function(N){return N?N:function(H,c){return xnR(this,H,c).b6}}); +nm("Array.prototype.entries",function(N){return N?N:function(){return Ipl(this,function(H,c){return[H,c]})}}); +nm("Array.prototype.keys",function(N){return N?N:function(){return Ipl(this,function(H){return H})}}); +nm("String.prototype.startsWith",function(N){return N?N:function(H,c){var t=mY(this,H,"startsWith");H+="";var h=t.length,O=H.length;c=Math.max(0,Math.min(c|0,t.length));for(var F=0;F=O}}); +nm("Number.isFinite",function(N){return N?N:function(H){return typeof H!=="number"?!1:!isNaN(H)&&H!==Infinity&&H!==-Infinity}}); +nm("String.prototype.repeat",function(N){return N?N:function(H){var c=mY(this,null,"repeat");if(H<0||H>1342177279)throw new RangeError("Invalid count value");H|=0;for(var t="";H;)if(H&1&&(t+=c),H>>>=1)c+=c;return t}}); +nm("Object.entries",function(N){return N?N:function(H){var c=[],t;for(t in H)Ka(H,t)&&c.push([t,H[t]]);return c}}); +nm("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991}); +nm("Number.MIN_SAFE_INTEGER",function(){return-9007199254740991}); +nm("Array.from",function(N){return N?N:function(H,c,t){c=c!=null?c:function(M){return M}; +var h=[],O=typeof Symbol!="undefined"&&Symbol.iterator&&H[Symbol.iterator];if(typeof O=="function"){H=O.call(H);for(var F=0;!(O=H.next()).done;)h.push(c.call(t,O.value,F++))}else for(O=H.length,F=0;F>>0;if(H===0)return 32;var c=0;(H&4294901760)===0&&(H<<=16,c+=16);(H&4278190080)===0&&(H<<=8,c+=8);(H&4026531840)===0&&(H<<=4,c+=4);(H&3221225472)===0&&(H<<=2,c+=2);(H&2147483648)===0&&c++;return c}}); +nm("Number.isNaN",function(N){return N?N:function(H){return typeof H==="number"&&isNaN(H)}}); +nm("Array.prototype.values",function(N){return N?N:function(){return Ipl(this,function(H,c){return c})}}); +nm("Array.prototype.fill",function(N){return N?N:function(H,c,t){var h=this.length||0;c<0&&(c=Math.max(0,h+c));if(t==null||t>h)t=h;t=Number(t);t<0&&(t=Math.max(0,h+t));for(c=Number(c||0);c0&&c?c.repeat(Math.ceil(H/c.length)).substring(0,H):"")+t}}); +nm("Array.prototype.findIndex",function(N){return N?N:function(H,c){return xnR(this,H,c).xW}}); +nm("Promise.prototype.finally",function(N){return N?N:function(H){return this.then(function(c){return Promise.resolve(H()).then(function(){return c})},function(c){return Promise.resolve(H()).then(function(){throw c; +})})}}); +nm("Math.imul",function(N){return N?N:function(H,c){H=Number(H);c=Number(c);var t=H&65535,h=c&65535;return t*h+((H>>>16&65535)*h+t*(c>>>16&65535)<<16>>>0)|0}}); +nm("Math.sign",function(N){return N?N:function(H){H=Number(H);return H===0||isNaN(H)?H:H>0?1:-1}}); +nm("WeakSet",function(N){function H(c){this.T=new WeakMap;if(c){c=g.K(c);for(var t;!(t=c.next()).done;)this.add(t.value)}} +if(function(){if(!N||!Object.seal)return!1;try{var c=Object.seal({}),t=Object.seal({}),h=new N([c]);if(!h.has(c)||h.has(t))return!1;h.delete(c);h.add(t);return!h.has(c)&&h.has(t)}catch(O){return!1}}())return N; +H.prototype.add=function(c){this.T.set(c,!0);return this}; +H.prototype.has=function(c){return this.T.has(c)}; +H.prototype.delete=function(c){return this.T.delete(c)}; +return H}); +nm("Array.prototype.copyWithin",function(N){function H(c){c=Number(c);return c===Infinity||c===-Infinity?c:c|0} +return N?N:function(c,t,h){var O=this.length;c=H(c);t=H(t);h=h===void 0?O:H(h);c=c<0?Math.max(O+c,0):Math.min(c,O);t=t<0?Math.max(O+t,0):Math.min(t,O);h=h<0?Math.max(O+h,0):Math.min(h,O);if(ct;)--h in this?this[--c]=this[h]:delete this[--c];return this}}); +mw("copyWithin",function(N){return N?N:Array.prototype.copyWithin}); +nm("Array.prototype.at",function(N){return N?N:Hth}); +mw("at",function(N){return N?N:Hth}); +nm("String.prototype.at",function(N){return N?N:Hth}); +nm("Array.prototype.findLastIndex",function(N){return N?N:function(H,c){return wot(this,H,c).xW}}); +mw("findLastIndex",function(N){return N?N:function(H,c){return wot(this,H,c).xW}}); +nm("Number.parseInt",function(N){return N||parseInt});var uML,h1w,OPy;uML=uML||{};g.di=this||self;h1w="closure_uid_"+(Math.random()*1E9>>>0);OPy=0;g.$_(w9,Error);w9.prototype.name="CustomError";var DVf;var Q_d,Xs,hA;Q_d=Array.prototype.indexOf?function(N,H){return Array.prototype.indexOf.call(N,H,void 0)}:function(N,H){if(typeof N==="string")return typeof H!=="string"||H.length!=1?-1:N.indexOf(H,0); +for(var c=0;c=0;c--)if(c in N&&N[c]===H)return c;return-1}; +g.uT=Array.prototype.forEach?function(N,H,c){Array.prototype.forEach.call(N,H,c)}:function(N,H,c){for(var t=N.length,h=typeof N==="string"?N.split(""):N,O=0;O=.3:this.V0>=.5};var qw={UyW:0,yUW:1},G6y={NONE:0,VYo:1,MYi:2};var dAe="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");V2.prototype.getValue=function(){return this.B}; +g.k(m0,V2);m0.prototype.L=function(N){this.B===null&&g.cc(this.U,N)&&(this.B=N)}; +g.k(hv,V2);hv.prototype.L=function(N){this.B===null&&typeof N==="number"&&(this.B=N)}; +g.k(LR,V2);LR.prototype.L=function(N){this.B===null&&typeof N==="string"&&(this.B=N)};yC.prototype.disable=function(){this.B=!1}; +yC.prototype.enable=function(){this.B=!0}; +yC.prototype.isEnabled=function(){return this.B}; +yC.prototype.reset=function(){this.T={};this.B=!0;this.L={}};var Uh=document,iJ=window;var Q7y=xq(1,!0),dX=xq(610401301,!1);xq(899588437,!1);var puR=xq(772657768,!1),u1t=xq(513659523,!1),Jx3=xq(568333945,!0),Kvw=xq(1331761403,!1);xq(651175828,!1);xq(722764542,!1);xq(748402145,!1);xq(748402146,!1);var hyS=xq(748402147,!0);xq(333098724,!1);xq(2147483644,!1);xq(2147483645,!1);xq(2147483646,Q7y);xq(2147483647,!0);var Ws=!!g.NA("yt.config_.EXPERIMENTS_FLAGS.html5_enable_client_hints_override");var LU=String.prototype.trim?function(N){return N.trim()}:function(N){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(N)[1]},Ukt=/&/g,XWR=//g,L4L=/"/g,ZAe=/'/g,YCv=/\x00/g,PQt=/[\x00&<>"']/;var WW,neD=g.di.navigator;WW=neD?neD.userAgentData||null:null;var wJw=globalThis.trustedTypes,CEZ;uV.prototype.toString=function(){return this.T+""};RA.prototype.toString=function(){return this.T}; +var IBf=new RA("about:invalid#zClosurez");var T1L=Pg("tel"),FkR=Pg("sms"),kyh=[Pg("data"),Pg("http"),Pg("https"),Pg("mailto"),Pg("ftp"),new SQ(function(N){return/^[^:]*([/?#]|$)/.test(N)})],mke=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;ad.prototype.toString=function(){return this.T+""};Q$.prototype.toString=function(){return this.T+""};Ei.prototype.toString=function(){return this.T};var S4={};g.S5y=String.prototype.repeat?function(N,H){return N.repeat(H)}:function(N,H){return Array(H+1).join(N)};s3[" "]=function(){};var Ue,Ej,fuy,P_S,UTv,XuR,yl,M_,V0h;g.pX=jA();g.mn=KiR();g.BY=zL("Edge");g.zN=g.BY||g.mn;Ue=zL("Gecko")&&!(OL(g.tA(),"WebKit")&&!zL("Edge"))&&!(zL("Trident")||zL("MSIE"))&&!zL("Edge");g.K6=OL(g.tA(),"WebKit")&&!zL("Edge");Ej=r_();fuy=Vhh();g.zD=gyd();P_S=B5();UTv=zL("iPad");XuR=zL("iPod");yl=PS();M_=OL(g.tA(),"KaiOS"); +a:{var LFf="",Z7h=function(){var N=g.tA();if(Ue)return/rv:([^\);]+)(\)|;)/.exec(N);if(g.BY)return/Edge\/([\d\.]+)/.exec(N);if(g.mn)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(N);if(g.K6)return/WebKit\/(\S+)/.exec(N);if(g.pX)return/(?:Version)[ \/]?(\S+)/.exec(N)}(); +Z7h&&(LFf=Z7h?Z7h[1]:"");if(g.mn){var bB,Y5L=g.di.document;bB=Y5L?Y5L.documentMode:void 0;if(bB!=null&&bB>parseFloat(LFf)){V0h=String(bB);break a}}V0h=LFf}var gds=V0h,dpR={};var P7,U9;g.dL=TV();P7=B5()||zL("iPod");U9=zL("iPad");g.$he=gUt();g.Pc=$l();g.op=Cy()&&!PS();var d_Z=!g.mn&&!Cy();g.C=g.Sr.prototype;g.C.clone=function(){return new g.Sr(this.x,this.y)}; +g.C.equals=function(N){return N instanceof g.Sr&&mB(this,N)}; +g.C.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this}; +g.C.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this}; +g.C.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this}; +g.C.scale=function(N,H){this.x*=N;this.y*=typeof H==="number"?H:N;return this};g.C=g.rv.prototype;g.C.clone=function(){return new g.rv(this.width,this.height)}; +g.C.aspectRatio=function(){return this.width/this.height}; +g.C.isEmpty=function(){return!aU(this)}; +g.C.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; +g.C.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; +g.C.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this}; +g.C.scale=function(N,H){this.width*=N;this.height*=typeof H==="number"?H:N;return this};hY.prototype.toString=function(){return this.T}; +var tY={};new hY(tY,"");var jHS=/^[a-z][a-z\d-]*$/i,XCD="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),Vbe="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),Mne=["action","formaction","href"];var OQl={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};g.C=$Q.prototype;g.C.N4=function(N){return z_(this.T,N)}; +g.C.getElementsByTagName=function(N,H){return(H||this.T).getElementsByTagName(String(N))}; +g.C.Sa=function(N){return g.as(N,this.T)}; +g.C.setProperties=va;g.C.createElement=function(N){return eZ(this.T,N)}; +g.C.appendChild=g.L8;g.C.append=function(N,H){voR(fh(N),N,arguments,1)}; +g.C.canHaveChildren=function(N){if(N.nodeType!=1)return!1;switch(N.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0}; +g.C.removeNode=g.wr;g.C.getChildren=function(N){return N.children!=void 0?N.children:Array.prototype.filter.call(N.childNodes,function(H){return H.nodeType==1})}; +g.C.contains=g.m5;g.C.isFocusable=Eg;vN.prototype.now=function(){return 0}; +vN.prototype.B=function(){return 0}; +vN.prototype.L=function(){return 0}; +vN.prototype.T=function(){return 0};g.k(Te,vN);Te.prototype.now=function(){return c2()&&iJ.performance.now?iJ.performance.now():vN.prototype.now.call(this)}; +Te.prototype.B=function(){return c2()&&iJ.performance.memory?iJ.performance.memory.totalJSHeapSize||0:vN.prototype.B.call(this)}; +Te.prototype.L=function(){return c2()&&iJ.performance.memory?iJ.performance.memory.usedJSHeapSize||0:vN.prototype.L.call(this)}; +Te.prototype.T=function(){return c2()&&iJ.performance.memory?iJ.performance.memory.jsHeapSizeLimit||0:vN.prototype.T.call(this)};var lXt=function(){if(!g.di.addEventListener||!Object.defineProperty)return!1;var N=!1,H=Object.defineProperty({},"passive",{get:function(){N=!0}}); +try{var c=function(){}; +g.di.addEventListener("test",c,H);g.di.removeEventListener("test",c,H)}catch(t){}return N}();var vK3=Cqe("AnimationEnd"),SV=Cqe("TransitionEnd");g.C=wu.prototype;g.C.getHeight=function(){return this.bottom-this.top}; +g.C.clone=function(){return new wu(this.top,this.right,this.bottom,this.left)}; +g.C.contains=function(N){return this&&N?N instanceof wu?N.left>=this.left&&N.right<=this.right&&N.top>=this.top&&N.bottom<=this.bottom:N.x>=this.left&&N.x<=this.right&&N.y>=this.top&&N.y<=this.bottom:!1}; +g.C.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; +g.C.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this}; +g.C.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this}; +g.C.scale=function(N,H){H=typeof H==="number"?H:N;this.left*=N;this.right*=N;this.top*=H;this.bottom*=H;return this};g.C=g.HS.prototype;g.C.clone=function(){return new g.HS(this.left,this.top,this.width,this.height)}; +g.C.contains=function(N){return N instanceof g.Sr?N.x>=this.left&&N.x<=this.left+this.width&&N.y>=this.top&&N.y<=this.top+this.height:this.left<=N.left&&this.left+this.width>=N.left+N.width&&this.top<=N.top&&this.top+this.height>=N.top+N.height}; +g.C.getSize=function(){return new g.rv(this.width,this.height)}; +g.C.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; +g.C.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; +g.C.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this}; +g.C.scale=function(N,H){H=typeof H==="number"?H:N;this.left*=N;this.width*=N;this.top*=H;this.height*=H;return this};var qfD={};var kfv=lH(function(){var N=!1;try{var H=Object.defineProperty({},"passive",{get:function(){N=!0}}); +g.di.addEventListener("test",null,H)}catch(c){}return N});JSt.prototype.isVisible=function(){return YV(Uh)===1};var sSv=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)");ni.prototype.uG=function(N,H,c){N=N+"//"+H+c;var t=AJS(this)-c.length;if(t<0)return"";this.T.sort(function(d,W){return d-W}); +c=null;H="";for(var h=0;h=f.length){t-=f.length;N+=f;H=this.L;break}c=c==null?O:c}}t="";c!=null&&(t=""+H+"trn="+c);return N+t};var BJs=Kz(function(N){return typeof N==="number"}),B7=Kz(function(N){return typeof N==="string"}),yVs=Kz(function(N){return typeof N==="boolean"}),DZ=Kz(function(N){return N!=null&&typeof N==="object"&&typeof N.then==="function"}),Axh=Kz(function(N){return!!N&&(typeof N==="object"||typeof N==="function")});var FBh={jRp:"allow-forms",dzl:"allow-modals",HFp:"allow-orientation-lock",qVp:"allow-pointer-lock",aDa:"allow-popups",yJR:"allow-popups-to-escape-sandbox",xzE:"allow-presentation",Flo:"allow-same-origin",ncS:"allow-scripts",QRi:"allow-top-navigation",sRa:"allow-top-navigation-by-user-activation"},OCZ=lH(function(){return $cw()});W1.prototype.setInterval=function(N,H){return iJ.setInterval(N,H)}; +W1.prototype.clearInterval=function(N){iJ.clearInterval(N)}; +W1.prototype.setTimeout=function(N,H){return iJ.setTimeout(N,H)}; +W1.prototype.clearTimeout=function(N){iJ.clearTimeout(N)};var Wr=void 0,dQ,Qaw=typeof TextDecoder!=="undefined",wrD,m2f=typeof String.prototype.isWellFormed==="function",rED=typeof TextEncoder!=="undefined";var yFL={},xE=null,ppD=Ue||g.K6||typeof g.di.btoa=="function";var AGe=typeof Uint8Array!=="undefined",$lR=!g.mn&&typeof btoa==="function",Tbf=/[-_.]/g,zK3={"-":"+",_:"/",".":"="},Yg={};ZV.prototype.isEmpty=function(){return this.T==null}; +ZV.prototype.sizeBytes=function(){var N=xQ(this);return N?N.length:0}; +var I8R;var Wre=void 0;var jB=typeof Symbol==="function"&&typeof Symbol()==="symbol",auh=U2("jas",void 0,!0),KJ=U2(void 0,"1oa"),mg=U2(void 0,Symbol()),eTe=U2(void 0,"0ub"),IQd=U2(void 0,"0ubs"),RyS=U2(void 0,"0ubsb"),ORh=U2(void 0,"0actk"),XA=U2("m_m","jGp",!0),cih=U2(void 0,"vps"),vef=U2();Math.max.apply(Math,g.HE(Object.values({TAf:1,wLa:2,M9W:4,s7E:8,Whp:16,dFS:32,iAs:64,obo:128,QUp:256,DJs:512,AU_:1024,Sai:2048,HbR:4096,UFg:8192})));var Zve={ltW:{value:0,configurable:!0,writable:!0,enumerable:!1}},LIl=Object.defineProperties,A8=jB?auh:"ltW",qn,s7t=[];rp(s7t,7);qn=Object.freeze(s7t);var Vf={},R0={},EhZ=Object.freeze({}),Qf={},oU={};var yW=typeof g.di.BigInt==="function"&&typeof g.di.BigInt(0)==="bigint";var YS=Kz(function(N){return yW?N>=BIR&&N<=yxe:N[0]==="-"?ZqD(N,Gnv):ZqD(N,RTe)}),Gnv=Number.MIN_SAFE_INTEGER.toString(),BIR=yW?BigInt(Number.MIN_SAFE_INTEGER):void 0,RTe=Number.MAX_SAFE_INTEGER.toString(),yxe=yW?BigInt(Number.MAX_SAFE_INTEGER):void 0;var Xxs=typeof Uint8Array.prototype.slice==="function",k9=0,In=0,kVe;var La=typeof BigInt==="function"?BigInt.asIntN:void 0,X2t=typeof BigInt==="function"?BigInt.asUintN:void 0,tK=Number.isSafeInteger,Wa=Number.isFinite,cq=Math.trunc,zmt=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;var tld={};var oes={P$x:!0};var HQ;var aJv,eqd;var KUl=GV(0),vm={};zW.prototype.init=function(N,H,c,t){var h=t===void 0?{}:t;t=h.WI===void 0?!1:h.WI;h=h.PP===void 0?!1:h.PP;this.WI=t;this.PP=h;N&&(N=o2R(N,this.PP),this.B=N.buffer,this.S=N.T,this.U=H||0,this.L=c!==void 0?this.U+c:this.B.length,this.T=this.U)}; +zW.prototype.free=function(){this.clear();xA.length<100&&xA.push(this)}; +zW.prototype.clear=function(){this.B=null;this.S=!1;this.T=this.L=this.U=0;this.WI=!1}; +zW.prototype.reset=function(){this.T=this.U}; +var xA=[];Z4.prototype.free=function(){this.T.clear();this.B=this.L=-1;LG.length<100&&LG.push(this)}; +Z4.prototype.reset=function(){this.T.reset();this.U=this.T.T;this.B=this.L=-1}; +var LG=[];var K4S,HLv;oX.prototype.length=function(){return this.T.length}; +oX.prototype.end=function(){var N=this.T;this.T=[];return N};var jZ=a8(),knt=a8(),Iul=a8(),b7f=a8(),NSZ=a8(),HYw=a8(),iYL=a8(),cge=a8(),tSy=a8(),hVl=a8(),OYR=a8();XQ.prototype.toJSON=function(){return tB(this)}; +XQ.prototype.UR=function(N){return JSON.stringify(tB(this,N))}; +XQ.prototype.clone=function(){var N=this.hF,H=N[A8]|0;return Nw(this,N,H)?Ha(this,N,!0):new this.constructor(o0(N,H,!1))}; +XQ.prototype[XA]=Vf;XQ.prototype.toString=function(){return this.hF.toString()};var l8s=D$(function(N,H,c,t,h){if(N.B!==2)return!1;RF(N,OH(H,t,c),h);return!0},wCS),WbZ=D$(function(N,H,c,t,h){if(N.B!==2)return!1; +RF(N,OH(H,t,c),h);return!0},wCS),$i=Symbol(),UC=Symbol(),V3=Symbol(),kpf=Symbol(),IFv=Symbol(),sq,Bw;var FJv=Rz(function(N,H,c){if(N.B!==1)return!1;RU(H,c,bme(N.T));return!0},ny,tSy),$vd=Rz(function(N,H,c){if(N.B!==1)return!1; +N=bme(N.T);RU(H,c,N===0?void 0:N);return!0},ny,tSy),TSv=Rz(function(N,H,c,t){if(N.B!==1)return!1; +QY(H,c,t,bme(N.T));return!0},ny,tSy),joS=Rz(function(N,H,c){if(N.B!==0)return!1; +RU(H,c,I4(N.T));return!0},Zi,iYL),MSZ=Rz(function(N,H,c){if(N.B!==0)return!1; +N=I4(N.T);RU(H,c,N===0?void 0:N);return!0},Zi,iYL),fIs=Rz(function(N,H,c,t){if(N.B!==0)return!1; +QY(H,c,t,I4(N.T));return!0},Zi,iYL),dvf=Rz(function(N,H,c){if(N.B!==0)return!1; +RU(H,c,Hq(N.T));return!0},plf,b7f),WJD=Rz(function(N,H,c){if(N.B!==0)return!1; +N=Hq(N.T);RU(H,c,N===0?void 0:N);return!0},plf,b7f),zVf=Rz(function(N,H,c,t){if(N.B!==0)return!1; +QY(H,c,t,Hq(N.T));return!0},plf,b7f),E43=Rz(function(N,H,c){if(N.B!==1)return!1; +RU(H,c,bSD(N.T));return!0},function(N,H,c){RIZ(N,c,VOt(H))},cge),xvh=pOf(function(N,H,c){if(N.B!==1&&N.B!==2)return!1; +H=Mm(H,H[A8]|0,c);if(N.B==2)for(c=Hq(N.T)>>>0,c=N.T.T+c;N.T.T>>0);return!0},function(N,H,c){H=r5(H); +H!=null&&H!=null&&(Xa(N,c,0),pn(N.T,H))},NSZ),hX=Rz(function(N,H,c){if(N.B!==0)return!1; +RU(H,c,Hq(N.T));return!0},function(N,H,c){H=em(H); +H!=null&&(H=parseInt(H,10),Xa(N,c,0),ZH3(N.T,H))},OYR);var Vx3=new Map;g.k(LWy,s3s);AuD.prototype.register=function(){s3(this)};g.k(GM,XQ);GM.prototype.L=Okh([0,$vd,MSZ,-2,WJD]);Ii3.prototype.G0=function(N){var H=this.T[N.key];if(N.valueType==="proto"){try{var c=JSON.parse(H);if(Array.isArray(c))return c}catch(t){}return N.defaultValue}return typeof H===typeof N.defaultValue?H:N.defaultValue};var RKv={JQf:1,CY:2,vNq:3,1:"POSITION",2:"VISIBILITY",3:"MONITOR_VISIBILITY"};b13.prototype.j8=function(N){if(typeof N==="string"&&N.length!=0){var H=this.Ce;if(H.B){N=N.split("&");for(var c=N.length-1;c>=0;c--){var t=N[c].split("="),h=decodeURIComponent(t[0]);t.length>1?(t=decodeURIComponent(t[1]),t=/^[0-9]+$/g.exec(t)?parseInt(t,10):t):t=1;(h=H.T[h])&&h.L(t)}}}};var OF=null;var Me=g.di.performance,wzt=!!(Me&&Me.mark&&Me.measure&&Me.clearMarks),MU=lH(function(){var N;if(N=wzt){var H=H===void 0?window:H;if(OF===null){OF="";try{N="";try{N=H.top.location.hash}catch(t){N=H.location.hash}if(N){var c=N.match(/\bdeid=([\d,]+)/);OF=c?c[1]:""}}catch(t){}}H=OF;N=!!H.indexOf&&H.indexOf("1337")>=0}return N}); +f5.prototype.disable=function(){this.T=!1;this.events!==this.B.google_js_reporting_queue&&(MU()&&g.uT(this.events,FEL),this.events.length=0)}; +f5.prototype.start=function(N,H){if(!this.T)return null;var c=b4s()||dnD();N=new hsv(N,H,c);H="goog_"+N.label+"_"+N.uniqueId+"_start";Me&&MU()&&Me.mark(H);return N}; +f5.prototype.end=function(N){if(this.T&&typeof N.value==="number"){var H=b4s()||dnD();N.duration=H-N.value;H="goog_"+N.label+"_"+N.uniqueId+"_end";Me&&MU()&&Me.mark(H);!this.T||this.events.length>2048||this.events.push(N)}};var $qh=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),g1=/#|$/,sBw=/[?&]($|#)/;ybv.prototype.Uv=function(N,H,c,t,h){h=h||this.Rk;try{var O=new ni;O.T.push(1);O.B[1]=Pa("context",N);H.error&&H.meta&&H.id||(H=new Hd(i7(H)));if(H.msg){var F=H.msg.substring(0,512);O.T.push(2);O.B[2]=Pa("msg",F)}var M=H.meta||{};if(this.m5)try{this.m5(M)}catch(x){}if(t)try{t(M)}catch(x){}t=[M];O.T.push(3);O.B[3]=t;var f=yis();if(f.B){var d=f.B.url||"";O.T.push(4);O.B[4]=Pa("top",d)}var W={url:f.T.url||""};if(f.T.url){var z=g.jp(f.T.url);var E=Mn(z[1],null,z[3],z[4])}else E="";d=[W,{url:E}];O.T.push(5); +O.B[5]=d;uG3(this.T,h,O,c)}catch(x){try{uG3(this.T,h,{context:"ecmserr",rctx:N,msg:i7(x),url:f&&f.T.url},c)}catch(q){}}return this.Ma}; +g.k(Hd,jQ3);var sO,bY,Ee=new f5;sO=new function(){var N="https:";iJ&&iJ.location&&iJ.location.protocol==="http:"&&(N="http:");this.B=N;this.T=.01}; +bY=new ybv;iJ&&iJ.document&&(iJ.document.readyState=="complete"?tOL():Ee.T&&MN(iJ,"load",function(){tOL()}));var Y0h=Date.now(),GI=-1,yT=-1,Tjl,Rv=-1,gJ=!1;br.prototype.equals=function(N,H){return!!N&&(!(H===void 0?0:H)||this.volume==N.volume)&&this.L==N.L&&St(this.T,N.T)&&!0};tz.prototype.N4=function(){return this.C}; +tz.prototype.equals=function(N,H){return this.U.equals(N.U,H===void 0?!1:H)&&this.C==N.C&&St(this.L,N.L)&&St(this.Y,N.Y)&&this.T==N.T&&this.S==N.S&&this.B==N.B&&this.Z==N.Z};var DvS={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},VG={rS:"start",CR:"firstquartile",nw:"midpoint",kE:"thirdquartile",COMPLETE:"complete",ERROR:"error",Fw:"metric",PAUSE:"pause",Rd:"resume",E$:"skip",YE:"viewable_impression",Ai:"mute",fY:"unmute",u9:"fullscreen",Po:"exitfullscreen",mN:"bufferstart",SI:"bufferfinish",KR:"fully_viewable_audible_half_duration_impression",xf:"measurable_impression",wB:"abandon",gB:"engagedview",VM:"impression",JC:"creativeview",LOADED:"loaded", +cQg:"progress",CLOSE:"close",MVg:"collapse",BaT:"overlay_resize",L8_:"overlay_unmeasurable_impression",U_o:"overlay_unviewable_impression",W8E:"overlay_viewable_immediate_impression",hbS:"overlay_viewable_end_of_session_impression",k7:"custom_metric_viewable",LR:"audio_audible",hC:"audio_measurable",Uj:"audio_impression"},sRh="start firstquartile midpoint thirdquartile resume loaded".split(" "),B2R=["start","firstquartile","midpoint","thirdquartile"],GbS=["abandon"],Y0={UNKNOWN:-1,rS:0,CR:1,nw:2, +kE:3,COMPLETE:4,Fw:5,PAUSE:6,Rd:7,E$:8,YE:9,Ai:10,fY:11,u9:12,Po:13,KR:14,xf:15,wB:16,gB:17,VM:18,JC:19,LOADED:20,k7:21,mN:22,SI:23,Uj:27,hC:28,LR:29};var ums={Gup:"addEventListener",TLs:"getMaxSize",imE:"getScreenSize",BLp:"getState",Lfo:"getVersion",QHg:"removeEventListener",BAa:"isViewable"};SHf.prototype.update=function(N){N&&N.document&&(this.C=n0(!1,N,this.isMobileDevice),this.T=n0(!0,N,this.isMobileDevice),Hiv(this,N),fvS(this,N))};exw.prototype.cancel=function(){jl().clearTimeout(this.T);this.T=null}; +exw.prototype.schedule=function(){var N=this,H=jl(),c=BV().T.T;this.T=H.setTimeout(NV(c,eF(143,function(){N.B++;N.L.sample()})),$JS())};g.C=ZB.prototype;g.C.gm=function(){return!1}; +g.C.initialize=function(){return this.isInitialized=!0}; +g.C.YW=function(){return this.T.Ix}; +g.C.Vi=function(){return this.T.Bp}; +g.C.fail=function(N,H){if(!this.Bp||(H===void 0?0:H))this.Bp=!0,this.Ix=N,this.Z=0,this.T!=this||sX(this)}; +g.C.getName=function(){return this.T.Kq}; +g.C.tA=function(){return this.T.qM()}; +g.C.qM=function(){return{}}; +g.C.fB=function(){return this.T.Z}; +g.C.wU=function(){var N=yG();N.T=n0(!0,this.L,N.isMobileDevice)}; +g.C.Tb=function(){fvS(yG(),this.L)}; +g.C.R2=function(){return this.U.T}; +g.C.sample=function(){}; +g.C.isActive=function(){return this.T.Y}; +g.C.jy=function(N){var H=this.T;this.T=N.fB()>=this.Z?N:this;H!==this.T?(this.Y=this.T.Y,sX(this)):this.Y!==this.T.Y&&(this.Y=this.T.Y,sX(this))}; +g.C.d4=function(N){if(N.B===this.T){var H=!this.U.equals(N,this.TW);this.U=N;H&&GRl(this)}}; +g.C.JV=function(){return this.TW}; +g.C.dispose=function(){this.NT=!0}; +g.C.uo=function(){return this.NT};g.C=Bf.prototype;g.C.observe=function(){return!0}; +g.C.unobserve=function(){}; +g.C.ri=function(N){this.S=N}; +g.C.dispose=function(){if(!this.uo()){var N=this.B;g.JC(N.S,this);N.TW&&this.JV()&&N9l(N);this.unobserve();this.ox=!0}}; +g.C.uo=function(){return this.ox}; +g.C.tA=function(){return this.B.tA()}; +g.C.fB=function(){return this.B.fB()}; +g.C.YW=function(){return this.B.YW()}; +g.C.Vi=function(){return this.B.Vi()}; +g.C.jy=function(){}; +g.C.d4=function(){this.hA()}; +g.C.JV=function(){return this.NT};g.C=Ss.prototype;g.C.fB=function(){return this.T.fB()}; +g.C.YW=function(){return this.T.YW()}; +g.C.Vi=function(){return this.T.Vi()}; +g.C.create=function(N,H,c){var t=null;this.T&&(t=this.u5(N,H,c),kS(this.T,t));return t}; +g.C.iS=function(){return this.P9()}; +g.C.P9=function(){return!1}; +g.C.init=function(N){return this.T.initialize()?(kS(this.T,this),this.U=N,!0):!1}; +g.C.jy=function(N){N.fB()==0&&this.U(N.YW(),this)}; +g.C.d4=function(){}; +g.C.JV=function(){return!1}; +g.C.dispose=function(){this.S=!0}; +g.C.uo=function(){return this.S}; +g.C.tA=function(){return{}};af.prototype.add=function(N,H,c){++this.L;N=new oOw(N,H,c);this.T.push(new oOw(N.B,N.T,N.L+this.L/4096));this.B=!0;return this};iDD.prototype.toString=function(){var N="//pagead2.googlesyndication.com//pagead/gen_204",H=Ve(this.T);H.length>0&&(N+="?"+H);return N};g.L.prototype.wJ=!1;g.L.prototype.uo=function(){return this.wJ}; +g.L.prototype.dispose=function(){this.wJ||(this.wJ=!0,this.Os())}; +g.L.prototype[Symbol.dispose]=function(){this.dispose()}; +g.L.prototype.addOnDisposeCallback=function(N,H){this.wJ?H!==void 0?N.call(H):N():(this.xD||(this.xD=[]),H&&(N=N.bind(H)),this.xD.push(N))}; +g.L.prototype.Os=function(){if(this.xD)for(;this.xD.length;)this.xD.shift()()};var QoZ=[0,joS,quR,-1];M7.prototype.update=function(N,H,c){N&&(this.T+=H,this.B+=H,this.U+=H,this.L=Math.max(this.L,this.U));if(c===void 0?!N:c)this.U=0};var TZR=[1,.75,.5,.3,0];FR.prototype.update=function(N,H,c,t,h,O){O=O===void 0?!0:O;H=h?Math.min(N,H):H;for(h=0;h0&&H>=F;F=!(N>0&&N>=F)||c;this.T[h].update(O&&M,t,!O||F)}};mO.prototype.update=function(N,H,c,t){this.C=this.C!=-1?Math.min(this.C,H.V0):H.V0;this.Us=Math.max(this.Us,H.V0);this.ox=this.ox!=-1?Math.min(this.ox,H.Fn):H.Fn;this.Ix=Math.max(this.Ix,H.Fn);this.UF.update(H.Fn,c.Fn,H.T,N,t);this.gE+=N;H.V0===0&&(this.Kq+=N);this.B.update(H.V0,c.V0,H.T,N,t);c=t||c.DJ!=H.DJ?c.isVisible()&&H.isVisible():c.isVisible();H=!H.isVisible()||H.T;this.zW.update(c,N,H)}; +mO.prototype.Zq=function(){return this.zW.L>=this.Al};if(Uh&&Uh.URL){var pze=Uh.URL,uN3;a:{if(pze){var Jgv=RegExp(".*[&#?]google_debug(=[^&]*)?(&.*)?$");try{var Fo=Jgv.exec(decodeURIComponent(pze));if(Fo){uN3=Fo[1]&&Fo[1].length>1?Fo[1].substring(1):"true";break a}}catch(N){}}uN3=""}bY.Ma=!(uN3.length>0)};var n4s=new wu(0,0,0,0);var vd3=new wu(0,0,0,0);g.k(kg,g.L);g.C=kg.prototype; +g.C.Os=function(){if(this.pJ.T){if(this.L$.IF){var N=this.pJ.T;typeof N.removeEventListener==="function"&&N.removeEventListener("mouseover",this.L$.IF,j4());this.L$.IF=null}this.L$.Ev&&(N=this.pJ.T,typeof N.removeEventListener==="function"&&N.removeEventListener("mouseout",this.L$.Ev,j4()),this.L$.Ev=null)}this.g6&&this.g6.dispose();this.ZI&&this.ZI.dispose();delete this.wX;delete this.h1;delete this.eT;delete this.pJ.Jk;delete this.pJ.T;delete this.L$;delete this.g6;delete this.ZI;delete this.Ce; +g.L.prototype.Os.call(this)}; +g.C.pB=function(){return this.ZI?this.ZI.T:this.position}; +g.C.j8=function(N){BV().j8(N)}; +g.C.JV=function(){return!1}; +g.C.aC=function(){return new mO}; +g.C.vv=function(){return this.wX}; +g.C.Mg=function(N){return E93(this,N,1E4)}; +g.C.Df=function(N,H,c,t,h,O,F){this.sB||(this.dw&&(N=this.ue(N,c,h,F),t=t&&this.mE.V0>=(this.DJ()?.3:.5),this.Vg(O,N,t),this.nE=H,N.V0>0&&-1===this.U5&&(this.U5=H),this.o_==-1&&this.Zq()&&(this.o_=H),this.wY==-2&&(this.wY=ZY(this.pB())?N.V0:-1),this.mE=N),this.h1(this))}; +g.C.Vg=function(N,H,c){this.vv().update(N,H,this.mE,c)}; +g.C.g3=function(){return new bL}; +g.C.ue=function(N,H,c,t){c=this.g3();c.T=H;H=jl().B;H=YV(Uh)===0?-1:H.isVisible()?0:1;c.B=H;c.V0=this.TI(N);c.DJ=this.DJ();c.Fn=t;return c}; +g.C.TI=function(N){return this.opacity===0&&FP(this.Ce,"opac")===1?0:N}; +g.C.DJ=function(){return!1}; +g.C.Rj=function(){return this.rFq||this.N_g}; +g.C.U_=function(){UW()}; +g.C.uO=function(){UW()}; +g.C.KV=function(){return this.requestSource}; +g.C.Zj=function(){return 0}; +g.C.Zq=function(){return this.wX.Zq()}; +g.C.mq=function(){var N=this.dw;N=(this.hasCompleted||this.uo())&&!N;var H=BV().B!==2||this.DfR;return this.sB||H&&N?2:this.Zq()?4:3}; +g.C.V8=function(){return 0};g.Zn.prototype.next=function(){return g.$f}; +g.$f={done:!0,value:void 0};g.Zn.prototype.Zz=function(){return this};g.k(qze,bL);var Tt=K5h([void 0,1,2,3,4,8,16]),jb=K5h([void 0,4,8,16]),Suw={sv:"sv",v:"v",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",p0:wV("p0",jb),p1:wV("p1",jb),p2:wV("p2",jb),p3:wV("p3",jb),cp:"cp",tos:"tos",mtos:"mtos",amtos:"amtos",mtos1:u0("mtos1",[0,2,4],!1,jb),mtos2:u0("mtos2",[0,2,4],!1,jb),mtos3:u0("mtos3",[0,2,4],!1,jb),mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",vht:"vht",mut:"mut",a:"a",a0:wV("a0",jb),a1:wV("a1",jb),a2:wV("a2",jb),a3:wV("a3",jb),ft:"ft",dft:"dft",at:"at",dat:"dat",as:"as", +vpt:"vpt",gmm:"gmm",std:"std",efpf:"efpf",swf:"swf",nio:"nio",px:"px",nnut:"nnut",vmer:"vmer",vmmk:"vmmk",vmiec:"vmiec",nmt:"nmt",tcm:"tcm",bt:"bt",pst:"pst",vpaid:"vpaid",dur:"dur",vmtime:"vmtime",dtos:"dtos",dtoss:"dtoss",dvs:"dvs",dfvs:"dfvs",dvpt:"dvpt",fmf:"fmf",vds:"vds",is:"is",i0:"i0",i1:"i1",i2:"i2",i3:"i3",ic:"ic",cs:"cs",c:"c",c0:wV("c0",jb),c1:wV("c1",jb),c2:wV("c2",jb),c3:wV("c3",jb),mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:wV("qmtos",Tt),qnc:wV("qnc",Tt),qmv:wV("qmv",Tt),qnv:wV("qnv",Tt), +raf:"raf",rafc:"rafc",lte:"lte",ces:"ces",tth:"tth",femt:"femt",femvt:"femvt",emc:"emc",emuc:"emuc",emb:"emb",avms:"avms",nvat:"nvat",qi:"qi",psm:"psm",psv:"psv",psfv:"psfv",psa:"psa",pnk:"pnk",pnc:"pnc",pnmm:"pnmm",pns:"pns",ptlt:"ptlt",pngs:"pings",veid:"veid",ssb:"ssb",ss0:wV("ss0",jb),ss1:wV("ss1",jb),ss2:wV("ss2",jb),ss3:wV("ss3",jb),dc_rfl:"urlsigs",obd:"obd",omidp:"omidp",omidr:"omidr",omidv:"omidv",omida:"omida",omids:"omids",omidpv:"omidpv",omidam:"omidam",omidct:"omidct",omidia:"omidia", +omiddc:"omiddc",omidlat:"omidlat",omiddit:"omiddit",nopd:"nopd",co:"co",tm:"tm",tu:"tu"},P$l=Object.assign({},Suw,{avid:TQ("audio"),avas:"avas",vs:"vs"}),Uvy={atos:"atos",avt:u0("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:function(N,H){return function(c){return c[N]===void 0&&H!==void 0?H:c[N]}}("ss",0), +t:"t"};QG.prototype.getValue=function(){return this.B}; +QG.prototype.update=function(N,H){N>=32||(this.T&1<=.5;T9(H.volume)&&(this.U=this.U!=-1?Math.min(this.U,H.volume):H.volume,this.Y=Math.max(this.Y,H.volume));O&&(this.NT+=N,this.TW+=h?N:0);this.T.update(H.V0,c.V0,H.T,N,t,h);this.L.update(!0,N);this.S.update(h,N);this.Bp.update(c.fullscreen,N);this.WO.update(h&&!O,N);N=Math.floor(H.mediaTime/1E3);this.Cq.update(N,H.isVisible());this.w_.update(N,H.V0>=1);this.Xg.update(N, +pJ(H))}};$RS.prototype.B=function(N){this.L||(this.T(N)?(N=Bvs(this.TW,this.U,N),this.S|=N,N=N==0):N=!1,this.L=N)};g.k(fe,$RS);fe.prototype.T=function(){return!0}; +fe.prototype.Y=function(){return!1}; +fe.prototype.getId=function(){var N=this,H=yj(VG,function(c){return c==N.U}); +return Y0[H].toString()}; +fe.prototype.toString=function(){var N="";this.Y()&&(N+="c");this.L&&(N+="s");this.S>0&&(N+=":"+this.S);return this.getId()+N};g.k(yh,fe);yh.prototype.B=function(N,H){H=H===void 0?null:H;H!=null&&this.C.push(H);fe.prototype.B.call(this,N)};g.k(Od,weh);Od.prototype.B=function(){return null}; +Od.prototype.L=function(){return[]};g.k(dT,Bf);g.C=dT.prototype;g.C.GP=function(){if(this.element){var N=this.element,H=this.B.T.L;try{try{var c=Cbs(N.getBoundingClientRect())}catch(d){c=new wu(0,0,0,0)}var t=c.right-c.left,h=c.bottom-c.top,O=ZgZ(N,H),F=O.x,M=O.y;var f=new wu(Math.round(M),Math.round(F+t),Math.round(M+h),Math.round(F))}catch(d){f=n4s.clone()}this.L=f;this.T=bUh(this,this.L)}}; +g.C.m_=function(){this.Y=this.B.U.T}; +g.C.oP=function(N){var H=FP(this.Ce,"od")==1;return qVL(N,this.Y,this.element,H)}; +g.C.EQ=function(){this.timestamp=UW()}; +g.C.hA=function(){this.EQ();this.GP();if(this.element&&typeof this.element.videoWidth==="number"&&typeof this.element.videoHeight==="number"){var N=this.element;var H=new g.rv(N.videoWidth,N.videoHeight);N=this.T;var c=Gj(N),t=N.getHeight(),h=H.width;H=H.height;h<=0||H<=0||c<=0||t<=0||(h/=H,H=c/t,N=N.clone(),h>H?(c/=h,t=(t-c)/2,t>0&&(t=N.top+t,N.top=Math.round(t),N.bottom=Math.round(t+c))):(t*=h,c=Math.round((c-t)/2),c>0&&(c=N.left+c,N.left=Math.round(c),N.right=Math.round(c+t))));this.T=N}this.m_(); +N=this.T;c=this.Y;N=N.left<=c.right&&c.left<=N.right&&N.top<=c.bottom&&c.top<=N.bottom?new wu(Math.max(N.top,c.top),Math.min(N.right,c.right),Math.min(N.bottom,c.bottom),Math.max(N.left,c.left)):new wu(0,0,0,0);c=N.top>=N.bottom||N.left>=N.right?new wu(0,0,0,0):N;N=this.B.U;H=h=t=0;if((this.T.bottom-this.T.top)*(this.T.right-this.T.left)>0)if(this.oP(c))c=new wu(0,0,0,0);else{t=yG().U;H=new wu(0,t.height,t.width,0);var O;t=AB(c,(O=this.S)!=null?O:this.T);h=AB(c,yG().T);H=AB(c,H)}O=c.top>=c.bottom|| +c.left>=c.right?new wu(0,0,0,0):kF(c,-this.T.left,-this.T.top);L2()||(h=t=0);this.TW=new tz(N,this.element,this.T,O,t,h,this.timestamp,H)}; +g.C.getName=function(){return this.B.getName()};var Xze=new wu(0,0,0,0);g.k(B1,dT);g.C=B1.prototype;g.C.observe=function(){this.U();return!0}; +g.C.d4=function(){dT.prototype.hA.call(this)}; +g.C.EQ=function(){}; +g.C.GP=function(){}; +g.C.hA=function(){this.U();dT.prototype.hA.call(this)}; +g.C.jy=function(N){N=N.isActive();N!==this.Z&&(N?this.U():(yG().T=new wu(0,0,0,0),this.T=new wu(0,0,0,0),this.Y=new wu(0,0,0,0),this.timestamp=-1));this.Z=N};var ME={},B1y=(ME.firstquartile=0,ME.midpoint=1,ME.thirdquartile=2,ME.complete=3,ME);g.k(Ta,kg);g.C=Ta.prototype;g.C.JV=function(){return!0}; +g.C.PL=function(){return this.DG==2}; +g.C.Mg=function(N){return E93(this,N,Math.max(1E4,this.L/3))}; +g.C.Df=function(N,H,c,t,h,O,F){var M=this,f=this.C(this)||{};g.NY(f,h);this.L=f.duration||this.L;this.TW=f.isVpaid||this.TW;this.Kq=f.isYouTube||this.Kq;jl();this.UF=!1;h=R6w(this,H);U4w(this)===1&&(O=h);kg.prototype.Df.call(this,N,H,c,t,f,O,F);this.XV&&this.XV.L&&g.uT(this.Y,function(d){d.B(M)})}; +g.C.Vg=function(N,H,c){kg.prototype.Vg.call(this,N,H,c);Vi(this).update(N,H,this.mE,c);this.Al=pJ(this.mE)&&pJ(H);this.Ix==-1&&this.w_&&(this.Ix=this.vv().L.T);this.FO.L=0;N=this.Zq();H.isVisible()&&Jy(this.FO,"vs");N&&Jy(this.FO,"vw");T9(H.volume)&&Jy(this.FO,"am");pJ(H)?Jy(this.FO,"a"):Jy(this.FO,"mut");this.M6&&Jy(this.FO,"f");H.B!=-1&&(Jy(this.FO,"bm"),H.B==1&&(Jy(this.FO,"b"),pJ(H)&&Jy(this.FO,"umutb")));pJ(H)&&H.isVisible()&&Jy(this.FO,"avs");this.Al&&N&&Jy(this.FO,"avw");H.V0>0&&Jy(this.FO, +"pv");KR(this,this.vv().L.T,!0)&&Jy(this.FO,"gdr");RN(this.vv().B,1)>=2E3&&Jy(this.FO,"pmx");this.UF&&Jy(this.FO,"tvoff")}; +g.C.aC=function(){return new Swe}; +g.C.vv=function(){return this.wX}; +g.C.g3=function(){return new qze}; +g.C.ue=function(N,H,c,t){N=kg.prototype.ue.call(this,N,H,c,t===void 0?-1:t);N.fullscreen=this.M6;N.paused=this.PL();N.volume=c.volume;T9(N.volume)||(this.mG++,H=this.mE,T9(H.volume)&&(N.volume=H.volume));c=c.currentTime;N.mediaTime=c!==void 0&&c>=0?c:-1;return N}; +g.C.TI=function(N){return yG(),this.M6?1:kg.prototype.TI.call(this,N)}; +g.C.Zj=function(){return 1}; +g.C.getDuration=function(){return this.L}; +g.C.mq=function(){return this.sB?2:s$y(this)?5:this.Zq()?4:3}; +g.C.V8=function(){return this.WO?this.vv().S.L>=2E3?4:3:2}; +g.C.ri=function(N){this.ZI&&this.ZI.ri(N)};var VSe=g.vg();NZS.prototype.reset=function(){this.T=[];this.B=[]}; +var Qg=vQ(NZS);g.k(MV,Ss);g.C=MV.prototype;g.C.getName=function(){return(this.B?this.B:this.T).getName()}; +g.C.tA=function(){return(this.B?this.B:this.T).tA()}; +g.C.fB=function(){return(this.B?this.B:this.T).fB()}; +g.C.init=function(N){var H=!1;(0,g.uT)(this.L,function(c){c.initialize()&&(H=!0)}); +H&&(this.U=N,kS(this.T,this));return H}; +g.C.dispose=function(){(0,g.uT)(this.L,function(N){N.dispose()}); +Ss.prototype.dispose.call(this)}; +g.C.iS=function(){return hA(this.L,function(N){return N.gm()})}; +g.C.P9=function(){return hA(this.L,function(N){return N.gm()})}; +g.C.u5=function(N,H,c){return new dT(N,this.T,H,c)}; +g.C.d4=function(N){this.B=N.B};var pSD={threshold:[0,.3,.5,.75,1]};g.k(yi,dT);g.C=yi.prototype;g.C.observe=function(){var N=this;this.Us||(this.Us=UW());if(kSR(298,function(){return JTw(N)}))return!0; +this.B.fail("msf");return!1}; +g.C.unobserve=function(){if(this.U&&this.element)try{this.U.unobserve(this.element),this.Z?(this.Z.unobserve(this.element),this.Z=null):this.C&&(this.C.disconnect(),this.C=null)}catch(N){}}; +g.C.hA=function(){var N=upy(this);N.length>0&&tw(this,N);dT.prototype.hA.call(this)}; +g.C.GP=function(){}; +g.C.oP=function(){return!1}; +g.C.m_=function(){}; +g.C.tA=function(){var N={};return Object.assign(this.B.tA(),(N.niot_obs=this.Us,N.niot_cbk=this.Bp,N))}; +g.C.getName=function(){return"nio"};g.k(f$,Ss);f$.prototype.getName=function(){return"nio"}; +f$.prototype.P9=function(){return!yG().B&&this.T.T.L.IntersectionObserver!=null}; +f$.prototype.u5=function(N,H,c){return new yi(N,this.T,H,c)};g.k(OP,ZB);OP.prototype.R2=function(){return yG().T}; +OP.prototype.gm=function(){var N=PAZ();this.Z!==N&&(this.T!=this&&N>this.T.Z&&(this.T=this,sX(this)),this.Z=N);return N==2};Ns3.prototype.sample=function(){sN(this,p4(),!1)}; +Ns3.prototype.U=function(){var N=L2(),H=UW();N?(gJ||(GI=H,g.uT(Qg.T,function(c){var t=c.vv();t.vp=rJ(t,H,c.DG!=1)})),gJ=!0):(this.C=Out(this,H),gJ=!1,Tjl=H,g.uT(Qg.T,function(c){c.dw&&(c.vv().Z=H)})); +sN(this,p4(),!N)}; +var kG=vQ(Ns3);var GAD=null,IF="",oNf=!1;var enS=A1d().kS,ZE=A1d().pE;var XDf={xyx:"visible",NHx:"audible",bpi:"time",X_R:"timetype"},VXy={visible:function(N){return/^(100|[0-9]{1,2})$/.test(N)}, +audible:function(N){return N=="0"||N=="1"}, +timetype:function(N){return N=="mtos"||N=="tos"}, +time:function(N){return/^(100|[0-9]{1,2})%$/.test(N)||/^([0-9])+ms$/.test(N)}}; +KZv.prototype.setTime=function(N,H,c){H=="ms"?(this.L=N,this.U=-1):(this.L=-1,this.U=N);this.S=c===void 0?"tos":c;return this};g.k(c$,fe);c$.prototype.getId=function(){return this.C}; +c$.prototype.Y=function(){return!0}; +c$.prototype.T=function(N){var H=N.vv(),c=N.getDuration();return hA(this.Z,function(t){if(t.T!=void 0)var h=R0f(t,H);else b:{switch(t.S){case "mtos":h=t.B?H.S.L:H.L.T;break b;case "tos":h=t.B?H.S.T:H.L.T;break b}h=0}h==0?t=!1:(t=t.L!=-1?t.L:c!==void 0&&c>0?t.U*c:-1,t=t!=-1&&h>=t);return t})};g.k(SJ,m$D);SJ.prototype.T=function(N){var H=new ggd;H.T=us(N,Suw);H.B=us(N,Uvy);return H};g.k(dn,fe);dn.prototype.T=function(N){return s$y(N)};g.k(q$,weh);g.k(Ldw,fe);Ldw.prototype.T=function(N){return N.vv().Zq()};g.k($B,yh);$B.prototype.T=function(N){var H=g.O7(this.C,FP(BV().Ce,"ovms"));return!N.sB&&(N.DG!=0||H)};g.k(Cw,q$);Cw.prototype.B=function(){return new $B(this.T)}; +Cw.prototype.L=function(){return[new Ldw("viewable_impression",this.T),new dn(this.T)]};g.k(yn,B1);yn.prototype.U=function(){var N=g.NA("ima.admob.getViewability"),H=FP(this.Ce,"queryid");typeof N==="function"&&H&&N(H)}; +yn.prototype.getName=function(){return"gsv"};g.k(TR,Ss);TR.prototype.getName=function(){return"gsv"}; +TR.prototype.P9=function(){var N=yG();BV();return N.B&&!1}; +TR.prototype.u5=function(N,H,c){return new yn(this.T,H,c)};g.k(Yj,B1);Yj.prototype.U=function(){var N=this,H=g.NA("ima.bridge.getNativeViewability"),c=FP(this.Ce,"queryid");typeof H==="function"&&c&&H(c,function(t){g.NF(t)&&N.C++;var h=t.opt_nativeViewVisibleBounds||{},O=t.opt_nativeViewHidden;N.T=VVe(t.opt_nativeViewBounds||{});var F=N.B.U;F.T=O?Xze.clone():VVe(h);N.timestamp=t.opt_nativeTime||-1;yG().T=F.T;t=t.opt_nativeVolume;t!==void 0&&(F.volume=t)})}; +Yj.prototype.getName=function(){return"nis"};g.k(jT,Ss);jT.prototype.getName=function(){return"nis"}; +jT.prototype.P9=function(){var N=yG();BV();return N.B&&!1}; +jT.prototype.u5=function(N,H,c){return new Yj(this.T,H,c)};g.k($h,ZB);g.C=$h.prototype;g.C.gm=function(){return this.B.tI!=null}; +g.C.qM=function(){var N={};this.Cq&&(N.mraid=this.Cq);this.ox&&(N.mlc=1);N.mtop=this.B.BJq;this.C&&(N.mse=this.C);this.gE&&(N.msc=1);N.mcp=this.B.compatibility;return N}; +g.C.QY=function(N){var H=g.LQ.apply(1,arguments);try{return this.B.tI[N].apply(this.B.tI,H)}catch(c){ov(538,c,.01,function(t){t.method=N})}}; +g.C.initialize=function(){var N=this;if(this.isInitialized)return!this.Vi();this.isInitialized=!0;if(this.B.compatibility===2)return this.C="ng",this.fail("w"),!1;if(this.B.compatibility===1)return this.C="mm",this.fail("w"),!1;yG().Z=!0;this.L.document.readyState&&this.L.document.readyState=="complete"?yDs(this):ZK(this.L,"load",function(){jl().setTimeout(eF(292,function(){return yDs(N)}),100)},292); +return!0}; +g.C.wU=function(){var N=yG(),H=uOy(this,"getMaxSize");N.T=new wu(0,H.width,H.height,0)}; +g.C.Tb=function(){yG().U=uOy(this,"getScreenSize")}; +g.C.dispose=function(){J7f(this);ZB.prototype.dispose.call(this)};var LJZ=new function(N,H){this.key=N;this.defaultValue=H===void 0?!1:H;this.valueType="boolean"}("45378663");g.C=TO.prototype;g.C.wZ=function(N){YA(N,!1);L$y(N)}; +g.C.LD=function(){}; +g.C.VK=function(N,H,c,t){var h=this;N=new Ta(iJ,N,c?H:-1,7,this.Ig(),this.jG());N.RR=t;Vtf(N.Ce);oG(N.Ce,"queryid",N.RR);N.j8("");iLw(N,function(){return h.gQ.apply(h,g.HE(g.LQ.apply(0,arguments)))},function(){return h.qsa.apply(h,g.HE(g.LQ.apply(0,arguments)))}); +(t=vQ(EE).T)&&PTw(N,t);this.L&&(N.ri(this.L),this.L=null);N.pJ.Jk&&vQ(t2e);return N}; +g.C.jy=function(N){switch(N.fB()){case 0:if(N=vQ(EE).T)N=N.T,g.JC(N.S,this),N.TW&&this.JV()&&N9l(N);EW();break;case 2:z$()}}; +g.C.d4=function(){}; +g.C.JV=function(){return!1}; +g.C.qsa=function(N,H){N.sB=!0;switch(N.Zj()){case 1:rOe(N,H);break;case 2:this.UH(N)}}; +g.C.M1W=function(N){var H=N.C(N);H&&(H=H.volume,N.WO=T9(H)&&H>0);nLS(N,0);return V7(N,"start",L2())}; +g.C.Hn=function(N,H,c){sN(kG,[N],!L2());return this.zv(N,H,c)}; +g.C.zv=function(N,H,c){return V7(N,c,L2())}; +g.C.FRT=function(N){return B0(N,"firstquartile",1)}; +g.C.Qxi=function(N){N.w_=!0;return B0(N,"midpoint",2)}; +g.C.wOp=function(N){return B0(N,"thirdquartile",3)}; +g.C.afq=function(N){var H=B0(N,"complete",4);e4(N);return H}; +g.C.yll=function(N){N.DG=3;return V7(N,"error",L2())}; +g.C.Bj=function(N,H,c){H=L2();if(N.PL()&&!H){var t=N.vv(),h=UW();t.Z=h}sN(kG,[N],!H);N.PL()&&(N.DG=1);return V7(N,c,H)}; +g.C.Alp=function(N,H){H=this.Hn(N,H||{},"skip");e4(N);return H}; +g.C.n_S=function(N,H){YA(N,!0);return this.Hn(N,H||{},"fullscreen")}; +g.C.xTE=function(N,H){YA(N,!1);return this.Hn(N,H||{},"exitfullscreen")}; +g.C.Ch=function(N,H,c){H=N.vv();var t=UW();H.vp=rJ(H,t,N.DG!=1);sN(kG,[N],!L2());N.DG==1&&(N.DG=2);return V7(N,c,L2())}; +g.C.sxE=function(N){sN(kG,[N],!L2());return N.B()}; +g.C.Mx=function(N){sN(kG,[N],!L2());this.xR(N);e4(N);return N.B()}; +g.C.gQ=function(){}; +g.C.UH=function(){}; +g.C.xR=function(){}; +g.C.Bq=function(){}; +g.C.rN=function(){}; +g.C.jG=function(){this.T||(this.T=this.rN());return this.T==null?new Od:new Cw(this.T)}; +g.C.Ig=function(){return new SJ};g.k(pw,fe);pw.prototype.T=function(N){return N.V8()==4};g.k(GA,yh);GA.prototype.T=function(N){N=N.V8();return N==3||N==4};g.k(zY,q$);zY.prototype.B=function(){return new GA(this.T)}; +zY.prototype.L=function(){return[new pw(this.T)]};g.k(ya,m$D);ya.prototype.T=function(N){N&&(N.e===28&&(N=Object.assign({},N,{avas:3})),N.vs===4||N.vs===5)&&(N=Object.assign({},N,{vs:3}));var H=new ggd;H.T=us(N,P$l);H.B=us(N,Uvy);return H};z8y.prototype.B=function(){return g.NA(this.T)};g.k(Jw,TO);g.C=Jw.prototype;g.C.LD=function(N,H){var c=this,t=vQ(EE);if(t.T!=null)switch(t.T.getName()){case "nis":var h=zXe(this,N,H);break;case "gsv":h=hvt(this,N,H);break;case "exc":h=e8v(this,N)}h||(H.opt_overlayAdElement?h=void 0:H.opt_adElement&&(h=ZKL(this,N,H.opt_adElement,H.opt_osdId)));h&&h.Zj()==1&&(h.C==g.$$&&(h.C=function(O){return c.Bq(O)}),ElS(this,h,H)); +return h}; +g.C.Bq=function(N){N.B=0;N.NT=0;if(N.U=="h"||N.U=="n"){BV();N.Xg&&(BV(),XD(this)!="h"&&XD(this));var H=g.NA("ima.common.getVideoMetadata");if(typeof H==="function")try{var c=H(N.RR)}catch(h){N.B|=4}else N.B|=2}else if(N.U=="b")if(H=g.NA("ytads.bulleit.getVideoMetadata"),typeof H==="function")try{c=H(N.RR)}catch(h){N.B|=4}else N.B|=2;else if(N.U=="ml")if(H=g.NA("ima.common.getVideoMetadata"),typeof H==="function")try{c=H(N.RR)}catch(h){N.B|=4}else N.B|=2;else N.B|=1;N.B||(c===void 0?N.B|=8:c===null? +N.B|=16:g.NF(c)?N.B|=32:c.errorCode!=null&&(N.NT=c.errorCode,N.B|=64));c==null&&(c={});H=c;N.Z=0;for(var t in DvS)H[t]==null&&(N.Z|=DvS[t]);wlZ(H,"currentTime");wlZ(H,"duration");T9(c.volume)&&T9()&&(c.volume*=NaN);return c}; +g.C.rN=function(){BV();XD(this)!="h"&&XD(this);var N=Juw(this);return N!=null?new z8y(N):null}; +g.C.UH=function(N){!N.T&&N.sB&&MEv(this,N,"overlay_unmeasurable_impression")&&(N.T=!0)}; +g.C.xR=function(N){N.KT&&(N.Zq()?MEv(this,N,"overlay_viewable_end_of_session_impression"):MEv(this,N,"overlay_unviewable_impression"),N.KT=!1)}; +g.C.gQ=function(){}; +g.C.VK=function(N,H,c,t){if(BV().flags.G0(LJZ)){var h=FP(BV().Ce,"mm"),O={};(h=(O[wb.Bo]="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO",O[wb.VIDEO]="ACTIVE_VIEW_TRAFFIC_TYPE_VIDEO",O)[h])&&JAv(this,h);this.U==="ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"&&ov(1044,Error())}N=TO.prototype.VK.call(this,N,H,c,t);this.S&&(H=this.Y,N.S==null&&(N.S=new hYL),H.T[N.RR]=N.S,N.S.S=VSe);return N}; +g.C.wZ=function(N){N&&N.Zj()==1&&this.S&&delete this.Y.T[N.RR];return TO.prototype.wZ.call(this,N)}; +g.C.jG=function(){this.T||(this.T=this.rN());return this.T==null?new Od:this.U==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new zY(this.T):new Cw(this.T)}; +g.C.Ig=function(){return this.U==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new ya:new SJ}; +g.C.ri=function(N,H,c,t,h){H=new wu(c,H+t,c+h,H);(N=Tv(Qg,N))?N.ri(H):this.L=H}; +var ZYl=aO(193,dEy,void 0,Vlh);g.Hw("Goog_AdSense_Lidar_sendVastEvent",ZYl);var Yue=eF(194,function(N,H){H=H===void 0?{}:H;N=fLZ(vQ(Jw),N,H);return oLl(N)}); +g.Hw("Goog_AdSense_Lidar_getViewability",Yue);var Agl=aO(195,function(){return rCD()}); +g.Hw("Goog_AdSense_Lidar_getUrlSignalsArray",Agl);var aIL=eF(196,function(){return JSON.stringify(rCD())}); +g.Hw("Goog_AdSense_Lidar_getUrlSignalsList",aIL);var qXD=g.X3(["//ep2.adtrafficquality.google/sodar/",""]),Cfd=g.X3(["//tpc.googlesyndication.com/sodar/",""]);g.k(fZ,Error);g.k(ev,g.L);ev.prototype.qK=function(){return this.wpc.f()}; +ev.prototype.SM=function(N){this.wpc.c(N)}; +ev.prototype.P1=function(N){return this.wpc.m(gul(N))}; +ev.prototype.K5=function(N){return this.wpc.mws(gul(N))}; +g.k(bS,g.L);bS.prototype.snapshot=function(N){return this.BU.s(Object.assign({},N.N_&&{c:N.N_},N.AT&&{s:N.AT},N.T9!==void 0&&{p:N.T9}))}; +bS.prototype.QW=function(N){this.BU.e(N)}; +bS.prototype.hm=function(){return this.BU.l()};g.k(Tk,g.L);Tk.prototype.share=function(){if(this.uo())throw Error("E:AD");this.B++;return this}; +Tk.prototype.dispose=function(){--this.B||g.L.prototype.dispose.call(this)};dK3.prototype.pA=function(N,H){this.T.pA("/client_streamz/bg/frs",N,H)}; +kdh.prototype.pA=function(N,H,c,t,h,O){this.T.pA("/client_streamz/bg/wrl",N,H,c,t,h,O)}; +WXe.prototype.zU=function(N,H){this.T.vz("/client_streamz/bg/ec",N,H)}; +lpy.prototype.pA=function(N,H,c){this.T.pA("/client_streamz/bg/el",N,H,c)}; +U8L.prototype.zU=function(N,H){this.T.vz("/client_streamz/bg/cec",N,H)}; +a9t.prototype.zU=function(N,H){this.T.vz("/client_streamz/bg/po/csc",N,H)}; +tBt.prototype.zU=function(N,H){this.T.vz("/client_streamz/bg/po/ctav",N,H)}; +NtZ.prototype.zU=function(N,H){this.T.vz("/client_streamz/bg/po/cwsc",N,H)};g.k(xDL,XQ);g.k(fK,XQ);var dh=[1,2,3];var eVh=[0,dh,g4R,zVf,lI3];var v4w=[0,HC,[0,FJv,joS]];g.k($Y,XQ);var jF=[1,2,3];var so3=[0,jF,fIs,TSv,cC,v4w];g.k(MY,XQ);var BSd=[0,HC,eVh,so3];var ygv=[0,NE];g.k(Bx,XQ);var Gze=[0,NE,-1,C$v];var RVD=[0,NE,-1,dvf,C$v];g.k(sc,XQ);var rps=[1,2,3];var o4D=[0,rps,cC,Gze,cC,RVD,cC,ygv];g.k(FZ,XQ);FZ.prototype.E9=function(){var N=s8(this,3,Yn,3,!0);sY(N);return N[void 0]};FZ.prototype.L=Okh([0,NE,o4D,KJw,HC,BSd,E43,xvh]);g.k(BmR,XQ);g.C=za.prototype;g.C.isEnabled=function(){if(!g.di.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{maxAge:60});if(this.get("TESTCOOKIESENABLED")!=="1")return!1;this.remove("TESTCOOKIESENABLED");return!0}; +g.C.set=function(N,H,c){var t=!1;if(typeof c==="object"){var h=c.sameSite;t=c.secure||!1;var O=c.domain||void 0;var F=c.path||void 0;var M=c.maxAge}if(/[;=\s]/.test(N))throw Error('Invalid cookie name "'+N+'"');if(/[;\r\n]/.test(H))throw Error('Invalid cookie value "'+H+'"');M===void 0&&(M=-1);c=O?";domain="+O:"";F=F?";path="+F:"";t=t?";secure":"";M=M<0?"":M==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+M*1E3)).toUTCString();this.T.cookie=N+"="+H+c+F+M+t+(h!=null? +";samesite="+h:"")}; +g.C.get=function(N,H){for(var c=N+"=",t=(this.T.cookie||"").split(";"),h=0,O;h=0;H--)this.remove(N[H])}; +var ah=new za(typeof document=="undefined"?null:document);n6e.prototype.compress=function(N){var H,c,t,h;return g.Y(function(O){switch(O.T){case 1:return H=new CompressionStream("gzip"),c=(new Response(H.readable)).arrayBuffer(),t=H.writable.getWriter(),g.a(O,t.write((new TextEncoder).encode(N)),2);case 2:return g.a(O,t.close(),3);case 3:return h=Uint8Array,g.a(O,c,4);case 4:return O.return(new h(O.B))}})}; +n6e.prototype.isSupported=function(N){return N<1024?!1:typeof CompressionStream!=="undefined"};g.k(hN,XQ);gn.prototype.setInterval=function(N){this.intervalMs=N;this.timer&&this.enabled?(this.stop(),this.start()):this.timer&&this.stop()}; +gn.prototype.start=function(){var N=this;this.enabled=!0;this.timer||(this.timer=setTimeout(function(){N.tick()},this.intervalMs),this.B=this.T())}; +gn.prototype.stop=function(){this.enabled=!1;this.timer&&(clearTimeout(this.timer),this.timer=void 0)}; +gn.prototype.tick=function(){var N=this;if(this.enabled){var H=Math.max(this.T()-this.B,0);H0?c:void 0));c=WE(c,4,Wc(h>0?h:void 0));c=WE(c,5,Wc(O>0?O:void 0));h=c.hF;O=h[A8]|0;c=bN(c,O)?c:Nw(c,h,O)?Ha(c,h):new c.constructor(o0(h,O,!0));ko(F,zh,10,c)}F=this.T.clone();c=Date.now().toString();F=WE(F,4,pM(c));N=wp(F,k0,3,N.slice());t&&(F=new Qo,t=WE(F,13,Wc(t)),F=new hBD, +t=ko(F,Qo,2,t),F=new MkZ,t=ko(F,hBD,1,t),t=qf(t,2,9),ko(N,MkZ,18,t));H&&XK(N,14,H);return N};g.Ke.prototype.B=0;g.Ke.prototype.reset=function(){this.T=this.L=this.U;this.B=0}; +g.Ke.prototype.getValue=function(){return this.L};g.k(O1,XQ);var kzS=Fp(O1);g.k(Y8y,XQ);var fC;fC=new AuD;g.k(mi,g.L);g.C=mi.prototype;g.C.Os=function(){rn(this);this.B.stop();this.Cq.stop();g.L.prototype.Os.call(this)}; +g.C.dispatch=function(N){if(N instanceof k0)this.log(N);else try{var H=new k0,c=N.UR();var t=ES(H,8,c);this.log(t)}catch(h){S2(this,4,1)}}; +g.C.log=function(N){S2(this,2,1);if(this.gE){N=N.clone();var H=this.zW++;N=XK(N,21,H);this.componentId&&ES(N,26,this.componentId);H=N;var c=mq(H,1);var t=t===void 0?!1:t;var h=typeof c;t=c==null?c:h==="bigint"?String(La(64,c)):iV(c)?h==="string"?ZP(c):t?oz(c):Yb(c):void 0;t==null&&(t=Date.now(),t=Number.isFinite(t)?t.toString():"0",WE(H,1,pM(t)));t=mq(H,15);t!=null&&(typeof t==="bigint"?YS(t)?t=Number(t):(t=La(64,t),t=YS(t)?Number(t):String(t)):t=iV(t)?typeof t==="number"?Yb(t):ZP(t):void 0);t!=null|| +XK(H,15,(new Date).getTimezoneOffset()*60);this.experimentIds&&(t=this.experimentIds.clone(),ko(H,hN,16,t));S2(this,1,1);H=this.T.length-1E3+1;H>0&&(this.T.splice(0,H),this.U+=H,S2(this,3,H));this.T.push(N);this.DP||this.B.enabled||this.B.start()}}; +g.C.flush=function(N,H){var c=this;if(this.T.length===0)N&&N();else if(this.Ix&&this.Bp)this.L.B=3,Ir3(this);else{var t=Date.now();if(this.vp>t&&this.NT0&&(c.NT=Date.now(),c.vp=c.NT+E);E=TX(mg);var r;jB&&E&&((r=x.hF[E])==null?void 0:r[175237375])!=null&&n4(eTe,3);a:{var w=w===void 0?!1:w;if(TX(vef)&&TX(mg)&&void 0===vef){r=x.hF;E=r[mg];if(!E)break a;if(E=E.NG)try{E(r,175237375,oes);break a}catch(n){W2(n)}}w&&(w=x.hF,(r=TX(mg))&&r in w&&(w=w[r])&&delete w[175237375])}w=fC.T?fC.B(x,fC.T, +175237375,fC.L):fC.B(x,175237375,null,fC.L);if(w=w===null?void 0:w)w=yM(w,1,-1),w!==-1&&(c.S=new g.Ke(w<1?1:w,3E5,.1),c.B.setInterval(c.S.getValue()))}}N&&N();c.Y=0}; +M?M.then(function(E){S2(c,5,h);f.requestHeaders["Content-Encoding"]="gzip";f.requestHeaders["Content-Type"]="application/binary";f.body=E;f.WX=2;W()},function(){S2(c,6,h); +W()}):W()}}}}; +g.C.isRetryable=function(N){return 500<=N&&N<600||N===401||N===0};OOs.prototype.send=function(N,H,c){var t=this,h,O,F,M,f,d,W,z,E,x;return g.Y(function(q){switch(q.T){case 1:return O=(h=t.Dy?new AbortController:void 0)?setTimeout(function(){h.abort()},N.timeoutMillis):void 0,g.Xy(q,2,3),F=Object.assign({},{method:N.requestType, +headers:Object.assign({},N.requestHeaders)},N.body&&{body:N.body},N.withCredentials&&{credentials:"include"},{signal:N.timeoutMillis&&h?h.signal:null}),g.a(q,fetch(N.url,F),5);case 5:M=q.B;if(M.status!==200){(f=c)==null||f(M.status);q.rE(3);break}if((d=H)==null){q.rE(7);break}return g.a(q,M.text(),8);case 8:d(q.B);case 7:case 3:g.B$(q);clearTimeout(O);g.JV(q,0);break;case 2:W=g.Lq(q);switch((z=W)==null?void 0:z.name){case "AbortError":(E=c)==null||E(408);break;default:(x=c)==null||x(400)}q.rE(3)}})}; +OOs.prototype.B3=function(){return 4};g.k(bI,g.L);bI.prototype.GI=function(){this.U=!0;return this}; +bI.prototype.build=function(){this.network||(this.network=new OOs);var N=new mi({logSource:this.logSource,NR:this.NR?this.NR:XO3,sessionIndex:this.sessionIndex,iFa:this.Iu,Vx:this.L,DP:!1,GI:this.U,hp:this.hp,network:this.network});g.l(this,N);if(this.buildLabel){var H=this.buildLabel,c=Le(N.L);ES(c,7,H)}N.C=new n6e;this.componentId&&(N.componentId=this.componentId);this.Gz&&(N.Gz=this.Gz);this.pageId&&(N.pageId=this.pageId);this.T&&((c=this.T)?(N.experimentIds||(N.experimentIds=new hN),H=N.experimentIds, +c=c.UR(),ES(H,4,c)):N.experimentIds&&WE(N.experimentIds,4));this.B&&(N.Ix=N.Bp);GSv(N.L);this.network.h7&&this.network.h7(this.logSource);this.network.Qoi&&this.network.Qoi(N);return N};g.k(do3,g.L);do3.prototype.flush=function(N){N=N||[];if(N.length){for(var H=new BmR,c=[],t=0;t-1?(H=N[F],c||(H.Kx=!1)):(H=new epL(H,this.src,O,!!t,h),H.Kx=c,N.push(H));return H}; +g.C.remove=function(N,H,c,t){N=N.toString();if(!(N in this.listeners))return!1;var h=this.listeners[N];H=bP(h,H,c,t);return H>-1?(qo(h[H]),g.wd(h,H),h.length==0&&(delete this.listeners[N],this.T--),!0):!1}; +g.C.removeAll=function(N){N=N&&N.toString();var H=0,c;for(c in this.listeners)if(!N||c==N){for(var t=this.listeners[c],h=0;h-1?N[h]:null}; +g.C.hasListener=function(N,H){var c=N!==void 0,t=c?N.toString():"",h=H!==void 0;return g.h0(this.listeners,function(O){for(var F=0;F>>0);g.$_(g.d9,g.L);g.d9.prototype[QGL]=!0;g.C=g.d9.prototype;g.C.addEventListener=function(N,H,c,t){g.OY(this,N,H,c,t)}; +g.C.removeEventListener=function(N,H,c,t){PeZ(this,N,H,c,t)}; +g.C.dispatchEvent=function(N){var H=this.gp;if(H){var c=[];for(var t=1;H;H=H.gp)c.push(H),++t}H=this.bZ;t=N.type||N;if(typeof N==="string")N=new g.sk(N,H);else if(N instanceof g.sk)N.target=N.target||H;else{var h=N;N=new g.sk(t,H);g.NY(N,h)}h=!0;var O;if(c)for(O=c.length-1;!N.B&&O>=0;O--){var F=N.currentTarget=c[O];h=V9(F,t,!0,N)&&h}N.B||(F=N.currentTarget=H,h=V9(F,t,!0,N)&&h,N.B||(h=V9(F,t,!1,N)&&h));if(c)for(O=0;!N.B&&O0){this.B--;var N=this.T;this.T=N.next;N.next=null}else N=this.L();return N};var b1;s_.prototype.add=function(N,H){var c=dD3.get();c.set(N,H);this.B?this.B.next=c:this.T=c;this.B=c}; +s_.prototype.remove=function(){var N=null;this.T&&(N=this.T,this.T=this.T.next,this.T||(this.B=null),N.next=null);return N}; +var dD3=new rly(function(){return new Px},function(N){return N.reset()}); +Px.prototype.set=function(N,H){this.T=N;this.scope=H;this.next=null}; +Px.prototype.reset=function(){this.next=this.scope=this.T=null};var j8y,Tm=!1,MqZ=new s_;CMw.prototype.reset=function(){this.context=this.B=this.L=this.T=null;this.U=!1}; +var J0l=new rly(function(){return new CMw},function(N){N.reset()}); +g.EL.prototype.then=function(N,H,c){return ivd(this,IH(typeof N==="function"?N:null),IH(typeof H==="function"?H:null),c)}; +g.EL.prototype.$goog_Thenable=!0;g.C=g.EL.prototype;g.C.finally=function(N){var H=this;N=IH(N);return new g.EL(function(c,t){YjL(H,function(h){N();c(h)},function(h){N(); +t(h)})})}; +g.C.lw=function(N,H){return ivd(this,null,IH(N),H)}; +g.C.catch=g.EL.prototype.lw;g.C.cancel=function(N){if(this.T==0){var H=new xY(N);g.OT(function(){n1L(this,H)},this)}}; +g.C.qmS=function(N){this.T=0;sh(this,2,N)}; +g.C.aMa=function(N){this.T=0;sh(this,3,N)}; +g.C.Yr=function(){for(var N;N=SlZ(this);)v8L(this,N,this.T,this.C);this.Y=!1}; +var eCh=W2;g.$_(xY,w9);xY.prototype.name="cancel";g.$_(g.ND,g.d9);g.C=g.ND.prototype;g.C.enabled=!1;g.C.xO=null;g.C.setInterval=function(N){this.wy=N;this.xO&&this.enabled?(this.stop(),this.start()):this.xO&&this.stop()}; +g.C.CRl=function(){if(this.enabled){var N=g.vg()-this.Y2;N>0&&N0&&(this.getStatus(),this.Y=setTimeout(this.SU.bind(this), +this.Bp)),this.getStatus(),this.TW=!0,this.T.send(N),this.TW=!1}catch(F){this.getStatus(),e1l(this,F)}}; +g.C.SU=function(){typeof uML!="undefined"&&this.T&&(this.U="Timed out after "+this.Bp+"ms, aborting",this.B=8,this.getStatus(),this.dispatchEvent("timeout"),this.abort(8))}; +g.C.abort=function(N){this.T&&this.L&&(this.getStatus(),this.L=!1,this.S=!0,this.T.abort(),this.S=!1,this.B=N||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),FX(this))}; +g.C.Os=function(){this.T&&(this.L&&(this.L=!1,this.S=!0,this.T.abort(),this.S=!1),FX(this,!0));g.VD.w0.Os.call(this)}; +g.C.Qn=function(){this.uo()||(this.ox||this.TW||this.S?JUZ(this):this.C2f())}; +g.C.C2f=function(){JUZ(this)}; +g.C.isActive=function(){return!!this.T}; +g.C.isComplete=function(){return g.Oy(this)==4}; +g.C.getStatus=function(){try{return g.Oy(this)>2?this.T.status:-1}catch(N){return-1}}; +g.C.getResponseHeader=function(N){if(this.T&&this.isComplete())return N=this.T.getResponseHeader(N),N===null?void 0:N}; +g.C.getLastError=function(){return typeof this.U==="string"?this.U:String(this.U)};WT.prototype.send=function(N,H,c){H=H===void 0?function(){}:H; +c=c===void 0?function(){}:c; +v5f(N.url,function(t){t=t.target;bf(t)?H(g.$r(t)):c(t.getStatus())},N.requestType,N.body,N.requestHeaders,N.timeoutMillis,N.withCredentials)}; +WT.prototype.B3=function(){return 1};KK.prototype.done=function(){this.logger.AE(this.event,c4()-this.startTime)}; +g.k(kB,Tk);g.k(Ny,kB);g.C=Ny.prototype;g.C.Jb=function(){}; +g.C.AQ=function(){}; +g.C.AE=function(){}; +g.C.vZ=function(){}; +g.C.Oh=function(){}; +g.C.kU=function(N,H,c,t){return t}; +g.C.x5=function(){}; +g.C.d8=function(){}; +g.C.qI=function(){}; +g.k(cFL,kB);g.C=cFL.prototype;g.C.update=function(N){this.logger.dispose();this.logger=N}; +g.C.AQ=function(N){this.logger.AQ(N)}; +g.C.AE=function(N,H){this.logger.AE(N,H)}; +g.C.vZ=function(N){this.logger.vZ(N)}; +g.C.Oh=function(){this.logger.Oh()}; +g.C.kU=function(N,H,c,t){return this.logger.kU(N,H,c,t)}; +g.C.x5=function(N){this.logger.x5(N)}; +g.C.d8=function(N){this.logger.d8(N)}; +g.C.qI=function(N){this.logger.qI(N)}; +g.C.Jb=function(N){this.logger.Jb(N)}; +g.k(xde,g.L);g.k(IW,kB);g.C=IW.prototype;g.C.Jb=function(N){this.metrics.Ufp.pA(N,this.LF)}; +g.C.AQ=function(N){this.metrics.eventCount.zU(N,this.LF)}; +g.C.AE=function(N,H){this.metrics.Pk.pA(H,N,this.LF)}; +g.C.vZ=function(N){this.metrics.errorCount.zU(N,this.LF)}; +g.C.kU=function(N,H,c,t){function h(M){if(!O.uo()){var f=c4()-F;O.metrics.oca.pA(f,N,c,M,H,O.LF)}} +var O=this,F=c4();t.then(function(){return void h(0)},function(M){return void h(M instanceof SB?M.code:-1)}); +return t}; +g.C.x5=function(N){this.metrics.mzW.zU(N,this.LF)}; +g.C.d8=function(N){this.metrics.lk.zU(N,this.LF)}; +g.C.qI=function(N){this.metrics.SVf.zU(N,this.LF)}; +g.k(HK,IW);HK.prototype.Oh=function(){uSs(this.T)};g.k(sl,XQ);g.k(BK,XQ);g.k(q2,XQ);var ho3=Fp(q2),OvR=function(N){return Kz(function(H){return H instanceof N&&!bN(H)})}(q2); +q2.messageId="bfkj";g.k(os,XQ);g.k(CK,XQ);var FId=Fp(CK);g.k(gh,g.L);gh.prototype.snapshot=function(N){if(this.uo())throw Error("Already disposed");this.logger.AQ("n");var H=this.logger.share();return this.L.then(function(c){var t=c.As;return new Promise(function(h){var O=new KK(H,"n");t(function(F){O.done();H.Jb(F.length);H.Oh();H.dispose();h(F)},[N.N_, +N.AT,N.nz,N.T9])})})}; +gh.prototype.vj=function(N){var H=this;if(this.uo())throw Error("Already disposed");this.logger.AQ("n");var c=PB(this.logger,function(){return H.U([N.N_,N.AT,N.nz,N.T9])},"n"); +this.logger.Jb(c.length);this.logger.Oh();return c}; +gh.prototype.QW=function(N){this.L.then(function(H){var c;(c=H.eAp)==null||c(N)})}; +gh.prototype.hm=function(){return this.logger.share()};g.k(eX,XQ);g.k(yp,XQ);rW.prototype.dN=function(N){return Bbe(this,N,new Ny,0)};g.k(m3,g.L);m3.prototype.snapshot=function(N){var H=this;return g.Y(function(c){switch(c.T){case 1:if(H.uo())throw Error("Already disposed");if(H.B||H.C){c.rE(2);break}return g.a(c,H.S.promise,2);case 2:if(!H.B){c.rE(4);break}return g.a(c,H.B.snapshot(N),5);case 5:return c.return(c.B);case 4:throw H.C;}})}; +m3.prototype.QW=function(N){var H,c;(H=this.B)==null||(c=H.QW)==null||c.call(H,N)}; +m3.prototype.handleError=function(N){if(!this.uo()){this.C=N;this.S.resolve();var H,c;(c=(H=this.options).Uis)==null||c.call(H,N)}}; +m3.prototype.hm=function(){return this.logger.share()}; +var tXh={OCi:432E5,Lz:3E5,R_:10,VX:1E4,vk:3E4,zmE:3E4,MPs:6E4,Ne:1E3,Ja:6E4,pj:6E5,gh:.25,rh:2,maxAttempts:10};var Nt4,YS3=(Nt4=Math.imul)!=null?Nt4:function(N,H){return N*H|0},r7=[196, +200,224,18];QT.prototype.UR=function(){return String(this.T)+","+this.B.join()}; +QT.prototype.X1=function(N,H){var c=void 0;if(this.B[this.T]!==N){var t=this.B.indexOf(N);t!==-1?(this.B.splice(t,1),t0;)H[c++]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".charAt(N%62),N=Math.floor(N/62);return H.join("")}};g.k(zb,g.L);zb.prototype.K5=function(N,H){var c=this.P1(N);H==null||H(c);return PB(this.logger,function(){return g.Eq(c,2)},this.B)}; +g.k(MC,zb);MC.prototype.P1=function(N,H){var c=this;this.logger.AQ(this.T);++this.S>=this.Y&&this.L.resolve();var t=N();N=PB(this.logger,function(){return c.U(t)},"C"); +if(N===void 0)throw new fZ(17,"YNJ:Undefined");if(!(N instanceof Uint8Array))throw new fZ(18,"ODM:Invalid");H==null||H(N);return N}; +g.k(fF,zb);fF.prototype.P1=function(){return this.U}; +g.k(xv,zb);xv.prototype.P1=function(){var N=this;return PB(this.logger,function(){return m6(N.U)},"d")}; +xv.prototype.K5=function(){return this.U}; +g.k(Sq,zb);Sq.prototype.P1=function(){if(this.U)return this.U;this.U=HCy(this,function(N){return"_"+LoD(N)}); +return HCy(this,function(N){return N})}; +g.k(Ij,zb);Ij.prototype.P1=function(){var N=Math.floor(Date.now()/1E3),H=[Math.random()*255,Math.random()*255],c=H.concat([this.U&255,this.clientState],[N>>24&255,N>>16&255,N>>8&255,N&255]);N=new Uint8Array(2+c.length);N[0]=34;N[1]=c.length;N.set(c,2);c=N.subarray(2);for(var t=H=H.length;t150))try{this.cache=new i6e(N,this.logger)}catch(H){this.reportError(new fZ(22,"GBJ:init",H))}}; +g.C.reportError=function(N){this.logger.vZ(N.code);this.onError(N);return N}; +var jYd=function(N){return Kz(function(H){if(!Axh(H))return!1;for(var c=g.K(Object.entries(N)),t=c.next();!t.done;t=c.next()){var h=g.K(t.value);t=h.next().value;h=h.next().value;if(!(t in H)){if(h.uqq===!0)continue;return!1}if(!h(H[t]))return!1}return!0})}({BU:function(N){return Kz(function(H){return H instanceof N})}(m3)},"");var vQl=(new Date).getTime();g.k(JN,XQ);var Hsc=Fp(JN);m9w.prototype.getMetadata=function(){return this.metadata};nd.prototype.getMetadata=function(){return this.metadata}; +nd.prototype.getStatus=function(){return this.status};B9.prototype.C=function(N,H){H=H===void 0?{}:H;return new m9w(N,this,H)}; +B9.prototype.getName=function(){return this.name};var isZ=new B9("/google.internal.waa.v1.Waa/Create",eX,JN,function(N){return N.UR()},Hsc);g.k(AW,XQ);var d8S=new B9("/google.internal.waa.v1.Waa/GenerateIT",yp,AW,function(N){return N.UR()},Fp(AW));var U_w=new Set(["SAPISIDHASH","APISIDHASH"]);g.k(Xu,XQ);Xu.prototype.getValue=function(){var N=mq(this,2);if(Array.isArray(N)||N instanceof XQ)throw Error("Cannot access the Any.value field on Any protos encoded using the jspb format, call unpackJspb instead");return vD(this,2)};g.k(Nu,XQ);Nu.prototype.getMessage=function(){return lX(this,2)}; +var FaZ=Fp(Nu);O8.prototype.removeListener=function(N,H){N==="data"?F3(this.B,H):N==="metadata"?F3(this.U,H):N==="status"?F3(this.S,H):N==="end"?F3(this.L,H):N==="error"&&F3(this.T,H);return this}; +O8.prototype.cancel=function(){this.xhr.abort()}; +g.k(w$3,Error);g.$_(g.DM,xFw);g.DM.prototype.T=function(){var N=new Zo(this.U,this.L);this.B&&N.setCredentialsMode(this.B);return N}; +g.DM.prototype.setCredentialsMode=function(N){this.B=N}; +g.$_(Zo,g.d9);g.C=Zo.prototype;g.C.open=function(N,H){if(this.readyState!=0)throw this.abort(),Error("Error reopening a connection");this.Us=N;this.Bp=H;this.readyState=1;hR(this)}; +g.C.send=function(N){if(this.readyState!=1)throw this.abort(),Error("need to call open() first. ");if(this.Z.signal.aborted)throw this.abort(),Error("Request was aborted.");this.T=!0;var H={headers:this.TW,method:this.Us,credentials:this.S,cache:void 0,signal:this.Z.signal};N&&(H.body=N);(this.ox||g.di).fetch(new Request(this.Bp,H)).then(this.dTo.bind(this),this.Su.bind(this))}; +g.C.abort=function(){this.response=this.responseText="";this.TW=new Headers;this.status=0;this.Z.abort("Request was aborted.");this.L&&this.L.cancel("Request was aborted.").catch(function(){}); +this.readyState>=1&&this.T&&this.readyState!=4&&(this.T=!1,C0(this));this.readyState=0}; +g.C.dTo=function(N){if(this.T&&(this.U=N,this.B||(this.status=this.U.status,this.statusText=this.U.statusText,this.B=N.headers,this.readyState=2,hR(this)),this.T&&(this.readyState=3,hR(this),this.T)))if(this.responseType==="arraybuffer")N.arrayBuffer().then(this.Xpg.bind(this),this.Su.bind(this));else if(typeof g.di.ReadableStream!=="undefined"&&"body"in N){this.L=N.body.getReader();if(this.Y){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.'); +this.response=[]}else this.response=this.responseText="",this.C=new TextDecoder;pEl(this)}else N.text().then(this.jxR.bind(this),this.Su.bind(this))}; +g.C.tax=function(N){if(this.T){if(this.Y&&N.value)this.response.push(N.value);else if(!this.Y){var H=N.value?N.value:new Uint8Array(0);if(H=this.C.decode(H,{stream:!N.done}))this.response=this.responseText+=H}N.done?C0(this):hR(this);this.readyState==3&&pEl(this)}}; +g.C.jxR=function(N){this.T&&(this.response=this.responseText=N,C0(this))}; +g.C.Xpg=function(N){this.T&&(this.response=N,C0(this))}; +g.C.Su=function(){this.T&&C0(this)}; +g.C.setRequestHeader=function(N,H){this.TW.append(N,H)}; +g.C.getResponseHeader=function(N){return this.B?this.B.get(N.toLowerCase())||"":""}; +g.C.getAllResponseHeaders=function(){if(!this.B)return"";for(var N=[],H=this.B.entries(),c=H.next();!c.done;)c=c.value,N.push(c[0]+": "+c[1]),c=H.next();return N.join("\r\n")}; +g.C.setCredentialsMode=function(N){this.S=N}; +Object.defineProperty(Zo.prototype,"withCredentials",{get:function(){return this.S==="include"}, +set:function(N){this.setCredentialsMode(N?"include":"same-origin")}});g.O3.prototype.toString=function(){var N=[],H=this.S;H&&N.push(ks(H,cSd,!0),":");var c=this.T;if(c||H=="file")N.push("//"),(H=this.Z)&&N.push(ks(H,cSd,!0),"@"),N.push(g.mI(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.L,c!=null&&N.push(":",String(c));if(c=this.B)this.T&&c.charAt(0)!="/"&&N.push("/"),N.push(ks(c,c.charAt(0)=="/"?th4:hZR,!0));(c=this.U.toString())&&N.push("?",c);(c=this.Y)&&N.push("#",ks(c,OsG));return N.join("")}; +g.O3.prototype.resolve=function(N){var H=this.clone(),c=!!N.S;c?g.v3(H,N.S):c=!!N.Z;c?H.Z=N.Z:c=!!N.T;c?g.Jv(H,N.T):c=N.L!=null;var t=N.B;if(c)g.sD(H,N.L);else if(c=!!N.B){if(t.charAt(0)!="/")if(this.T&&!this.B)t="/"+t;else{var h=H.B.lastIndexOf("/");h!=-1&&(t=H.B.slice(0,h+1)+t)}h=t;if(h==".."||h==".")t="";else if(g.ri(h,"./")||g.ri(h,"/.")){t=eD(h,"/");h=h.split("/");for(var O=[],F=0;F1||O.length==1&&O[0]!="")&&O.pop(), +t&&F==h.length&&O.push("")):(O.push(M),t=!0)}t=O.join("/")}else t=h}c?H.B=t:c=N.U.toString()!=="";c?B3(H,N.U.clone()):c=!!N.Y;c&&(H.Y=N.Y);return H}; +g.O3.prototype.clone=function(){return new g.O3(this)}; +var cSd=/[#\/\?@]/g,hZR=/[#\?:]/g,th4=/[#\?]/g,H9l=/[#\?@]/g,OsG=/#/g;g.C=w7.prototype;g.C.add=function(N,H){Ec(this);this.L=null;N=IO(this,N);var c=this.T.get(N);c||this.T.set(N,c=[]);c.push(H);this.B=this.B+1;return this}; +g.C.remove=function(N){Ec(this);N=IO(this,N);return this.T.has(N)?(this.L=null,this.B=this.B-this.T.get(N).length,this.T.delete(N)):!1}; +g.C.clear=function(){this.T=this.L=null;this.B=0}; +g.C.isEmpty=function(){Ec(this);return this.B==0}; +g.C.forEach=function(N,H){Ec(this);this.T.forEach(function(c,t){c.forEach(function(h){N.call(H,h,t,this)},this)},this)}; +g.C.eH=function(){Ec(this);for(var N=Array.from(this.T.values()),H=Array.from(this.T.keys()),c=[],t=0;t0?String(N[0]):H}; +g.C.toString=function(){if(this.L)return this.L;if(!this.T)return"";for(var N=[],H=Array.from(this.T.keys()),c=0;c>>3;O.L!=1&&O.L!=2&&O.L!=15&&oW(O,F,M,"unexpected tag");O.T=1;O.B=0;O.U=0} +function c(f){O.S[O.Z++]=f;O.Z==O.B&&t()} +function t(){if(O.L<15){var f={};f[O.L]=O.S;O.C.push(f)}O.T=0} +function h(f){O.U++;O.U==5&&f&240&&oW(O,F,M,"message length too long");O.B|=(f&127)<<(O.U-1)*7;f&128||(O.T=2,O.Z=0,typeof Uint8Array!=="undefined"?O.S=new Uint8Array(O.B):O.S=Array(O.B),O.B==0&&t())} +for(var O=this,F=N instanceof Array?N:new Uint8Array(N),M=0;M0?N:null};hL.prototype.isInputValid=function(){return this.T===null}; +hL.prototype.Yl=function(){return this.T}; +hL.prototype.sE=function(){return!1}; +hL.prototype.parse=function(N){this.T!==null&&$xe(this,N,"stream already broken");var H=null;try{var c=this.L;c.L||V$R(c,N,"stream already broken");c.T+=N;var t=Math.floor(c.T.length/4);if(t==0)var h=null;else{try{var O=ROd(c.T.slice(0,t*4))}catch(F){V$R(c,c.T,F.message)}c.B+=t*4;c.T=c.T.slice(t*4);h=O}H=h===null?null:this.U.parse(h)}catch(F){$xe(this,N,F.message)}this.B+=N.length;return H};var $fG={INIT:0,FA:1,qd:2,DA:3,TT:4,wm:5,STRING:6,dj:7,Pq:8,Kd:9,t5:10,Gb:11,F9:12,Qg:13,sA:14,A4:15,YM:16,Cd:17,uS:18,iZ:19,Hi:20};g.C=y5s.prototype;g.C.isInputValid=function(){return this.S!=3}; +g.C.Yl=function(){return this.TW}; +g.C.done=function(){return this.S===2}; +g.C.sE=function(){return!1}; +g.C.parse=function(N){function H(){var q=F.pop();return q!=null?q:f.FA} +function c(q){O.B>1||(q||(q=z===-1?O.U+N.substring(W,E):N.substring(z,E)),O.Bp?O.Y.push(q):O.Y.push(JSON.parse(q)),z=E)} +function t(){for(;E0;)if(q=N[E++], +O.Z===4?O.Z=0:O.Z++,!q)break a;if(q==='"'&&!O.C){O.T=H();break}if(q==="\\"&&!O.C&&(O.C=!0,q=N[E++],!q))break;if(O.C)if(O.C=!1,q==="u"&&(O.Z=1),q=N[E++])continue;else break;M.lastIndex=E;q=M.exec(N);if(!q){E=N.length+1;break}E=q.index+1;q=N[q.index];if(!q)break}O.L+=E-r;continue;case f.Kd:if(!q)continue;q==="r"?O.T=f.t5:a0(O,N,E);continue;case f.t5:if(!q)continue;q==="u"?O.T=f.Gb:a0(O,N,E);continue;case f.Gb:if(!q)continue;q==="e"?O.T=H():a0(O,N,E);continue;case f.F9:if(!q)continue;q==="a"?O.T=f.Qg: +a0(O,N,E);continue;case f.Qg:if(!q)continue;q==="l"?O.T=f.sA:a0(O,N,E);continue;case f.sA:if(!q)continue;q==="s"?O.T=f.A4:a0(O,N,E);continue;case f.A4:if(!q)continue;q==="e"?O.T=H():a0(O,N,E);continue;case f.YM:if(!q)continue;q==="u"?O.T=f.Cd:a0(O,N,E);continue;case f.Cd:if(!q)continue;q==="l"?O.T=f.uS:a0(O,N,E);continue;case f.uS:if(!q)continue;q==="l"?O.T=H():a0(O,N,E);continue;case f.iZ:q==="."?O.T=f.Hi:a0(O,N,E);continue;case f.Hi:if("0123456789.eE+-".indexOf(q)!==-1)continue;else E--,O.L--,O.T= +H();continue;default:a0(O,N,E)}}} +for(var O=this,F=O.Us,M=O.ox,f=$fG,d=N.length,W=0,z=-1,E=0;E0?(x=O.Y,O.Y=[],x):null}return null};UR.prototype.isInputValid=function(){return this.S===null}; +UR.prototype.Yl=function(){return this.S}; +UR.prototype.sE=function(){return!1}; +UR.prototype.parse=function(N){function H(f){if(f){(O.Y||f.length>1)&&c("extra status: "+f);O.Y=!0;var d={};d[2]=f[0];O.U.push(d)}} +function c(f){O.B=6;O.S="The stream is broken @"+O.T+"/"+F+". Error: "+f+". With input:\n";throw Error(O.S);} +function t(){O.L=new y5s({R9q:!0,nW:!0})} +function h(f){if(f)for(var d=0;d0?(N=O.U,O.U=[],N):null};aq.prototype.Hx=function(){return this.T}; +aq.prototype.getStatus=function(){return this.S}; +aq.prototype.Bp=function(N){N=N.target;try{if(N==this.T)a:{var H=g.Oy(this.T),c=this.T.B,t=this.T.getStatus(),h=g.$r(this.T);N=[];if(g.XH(this.T)instanceof Array){var O=g.XH(this.T);O.length>0&&O[0]instanceof Uint8Array&&(this.TW=!0,N=O)}if(!(H<3||H==3&&!h&&N.length==0))if(t=t==200||t==206,H==4&&(c==8?JF(this,7):c==7?JF(this,8):t||JF(this,3)),this.B||(this.B=XAZ(this.T),this.B==null&&JF(this,5)),this.S>2)gA(this);else{if(N.length>this.L){var F=N.length;c=[];try{if(this.B.sE())for(var M=0;Mthis.L){M=h.slice(this.L);this.L=h.length;try{var d=this.B.parse(M);d!=null&&this.U&&this.U(d)}catch(W){JF(this,5);gA(this);break a}}H==4?(h.length!= +0||this.TW?JF(this,2):JF(this,4),gA(this)):JF(this,1)}}}catch(W){JF(this,6),gA(this)}};g.C=UDy.prototype;g.C.addListener=function(N,H){AY(this,N,H);return this}; +g.C.removeListener=function(N,H){var c=this.B[N];c&&g.JC(c,H);(N=this.T[N])&&g.JC(N,H);return this}; +g.C.once=function(N,H){var c=this.T[N];c||(c=[],this.T[N]=c);c.push(H);return this}; +g.C.nOi=function(N){var H=this.B.data;H&&RWt(N,H);(H=this.T.data)&&RWt(N,H);this.T.data=[]}; +g.C.Wxg=function(){switch(this.L.getStatus()){case 1:ux(this,"readable");break;case 5:case 6:case 4:case 7:case 3:ux(this,"error");break;case 8:ux(this,"close");break;case 2:ux(this,"end")}};gLL.prototype.serverStreaming=function(N,H,c,t){var h=this,O=N.substring(0,N.length-t.name.length);return cZD(function(F){var M=F.Ok,f=F.getMetadata(),d=jZR(h,!1);f=MAZ(h,f,d,O+M.getName());var W=XTy(d,M.B,!0);F=M.T(F.sW);d.send(f,"POST",F);return W},this.sM).call(this,t.C(H,c))};XXe.prototype.create=function(N,H,c){var t=this.T,h=this.B+"/$rpc/google.internal.waa.v1.Waa/Create";H=H||{};c=c===void 0?{}:c;return obw(t,h,N,H,isZ,c)};var oy,FQ3,V3R,VYw,MZd,C_d,ibh,rve,v6D,jlg,mah,asL,ews,EPl,pVZ,gVe,mQ,RCh,Mhd,gvv;oy=new GH(45724570);FQ3=new GH(45733514);V3R=new GH(45730569);VYw=new GH(45732791);MZd=new GH(45728572);g.TtG=new GH(45728933);C_d=new GH(45731083);ibh=new GH(45728553);rve=new GH(45731202);v6D=new GH(45725537);jlg=new GH(45727949);mah=new GH(45731457);asL=new GH(45728333);ews=new Cs(45728334);EPl=new GH(45728181);pVZ=new GH(45733155);gVe=new GH(45732811);mQ=new GH(45732481);RCh=new GH(45732672);Mhd=new GH(45732674); +gvv=new GH(45729215);var qt3=new Cs(45725542),xXl=new Cs(45725543),W9L=new Cs(45725539),EKl=new Cs(45725541),zWd=new Cs(45725540),dXZ=new Cs(45725538),fRy=new function(N,H,c,t){this.i8=N;this.f1=H;this.defaultValue=t;this.ag="int"}(3,45721421,"h5vcc_set_prefer_minimal_post_processing",GV("0"));var $Pt="://secure-...imrworldwide.com/ ://cdn.imrworldwide.com/ ://aksecure.imrworldwide.com/ ://[^.]*.moatads.com ://youtube[0-9]+.moatpixel.com ://pm.adsafeprotected.com/youtube ://pm.test-adsafeprotected.com/youtube ://e[0-9]+.yt.srs.doubleverify.com www.google.com/pagead/xsul www.youtube.com/pagead/slav".split(" "),TEy=/\bocr\b/;var z2Z=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g;g.k(phs,XQ);g.k(QDD,XQ);g.k(R1,XQ);R1.prototype.getName=function(){return lX(this,1)}; +R1.prototype.getOptions=function(){return GL(this,QDD,3)}; +R1.prototype.clearOptions=function(){return WE(this,3)};g.k(ET,XQ);g.C=ET.prototype;g.C.getName=function(){return lX(this,1)}; +g.C.getOptions=function(){return GL(this,phs,3)}; +g.C.clearOptions=function(){return WE(this,3)}; +g.C.RA=function(){return Fd(this,6)}; +g.C.a4=function(N){qf(this,6,N)};var R9s=function(N){return function(H){H=JSON.parse(H);if(!Array.isArray(H))throw Error("Expected jspb data to be an array, got "+cr(H)+": "+H);kI(H,34);return new N(H)}}(ET);var Gcl=Symbol();var txR=Symbol();Object.assign({},{attributes:{},handleError:function(N){throw N;}},{u5q:!0, +t4i:!0,GkT:u1t,e9q:u1t,V4T:Jx3,vtx:!1,D3f:!1,otq:!1,KDf:!0,z9g:puR,CU_:!1,sEp:!1,VSg:!1});var EU=null,FT=!1,PzD=1,OBZ=Symbol("SIGNAL"),d2={version:0,Grf:0,P0:!1,producers:void 0,sx:void 0,Pm:void 0,yP:void 0,MG:!1,Ls:!1,Ug:!1,kind:"unknown",zw:function(){return!1}, +bL:function(){}, +Z0:function(){}, +crg:function(){}};var WC=Symbol("UNSET"),zt=Symbol("COMPUTING"),EF=Symbol("ERRORED");Object.assign({},d2,{value:WC,P0:!0,error:null,Rv:c_,kind:"computed",zw:function(N){return N.value===WC||N.value===zt}, +bL:function(N){if(N.value===zt)throw Error("");var H=N.value;N.value=zt;var c=Grd(N),t=!1;try{var h=N.YY();iX(null);t=H!==WC&&H!==EF&&h!==EF&&N.Rv(H,h)}catch(O){h=EF,N.error=O}finally{iX(c),N&&wDf(N)}t?N.value=H:(N.value=h,N.version++)}});Object.assign({},d2,{Ug:!0,Ls:!0,P0:!0,kind:"effect"});var hdd=Object.assign({},d2,{Rv:c_,value:void 0,kind:"signal"});Object.assign({},d2,{value:WC,P0:!0,error:null,Rv:c_,kind:"linkedSignal",zw:function(N){return N.value===WC||N.value===zt}, +bL:function(N){if(N.value===zt)throw Error("");var H=N.value;N.value=zt;var c=Grd(N);try{var t=N.source();var h=N.YY(t,H===WC||H===EF?void 0:{source:N.WET,value:H});N.WET=t}catch(O){h=EF,N.error=O}finally{iX(c),N&&wDf(N)}H!==WC&&h!==EF&&N.Rv(H,h)?N.value=H:(N.value=h,N.version++)}});Object.assign({},d2,{Ug:!0,Ls:!1,Z0:function(N){N.schedule!==null&&N.schedule(N.R7a)}, +rrp:function(){}});g.k(MK,g.d9);MK.prototype.dispose=function(){window.removeEventListener("offline",this.L);window.removeEventListener("online",this.L);this.YN.k8(this.S);delete MK.instance}; +MK.prototype.kP=function(){return this.T}; +MK.prototype.Ec=function(){var N=this;this.S=this.YN.jP(function(){var H;return g.Y(function(c){if(c.T==1)return N.T?((H=window.navigator)==null?0:H.onLine)?c.rE(3):g.a(c,yP(N),3):g.a(c,yP(N),3);N.Ec();g.Z3(c)})},3E4)};g.k(aOd,XQ);var nKf=i4h(aOd,[0,hX,QoZ,dvf,hX,-2,dvf,joS]);Z$.prototype.set=function(N,H){H=H===void 0?!0:H;0<=N&&N<52&&Number.isInteger(N)&&this.data[N]!==H&&(this.data[N]=H,this.T=-1)}; +Z$.prototype.get=function(N){return!!this.data[N]};var PU;g.$_(g.WU,g.L);g.C=g.WU.prototype;g.C.start=function(){this.stop();this.U=!1;var N=hel(this),H=Dcd(this);N&&!H&&this.B.mozRequestAnimationFrame?(this.T=g.OY(this.B,"MozBeforePaint",this.L),this.B.mozRequestAnimationFrame(null),this.U=!0):this.T=N&&H?N.call(this.B,this.L):this.B.setTimeout(LDL(this.L),20)}; +g.C.stop=function(){if(this.isActive()){var N=hel(this),H=Dcd(this);N&&!H&&this.B.mozRequestAnimationFrame?fV(this.T):N&&H?H.call(this.B,this.T):this.B.clearTimeout(this.T)}this.T=null}; +g.C.isActive=function(){return this.T!=null}; +g.C.mA=function(){this.U&&this.T&&fV(this.T);this.T=null;this.Y.call(this.S,g.vg())}; +g.C.Os=function(){this.stop();g.WU.w0.Os.call(this)};g.$_(g.kT,g.L);g.C=g.kT.prototype;g.C.YJ=0;g.C.Os=function(){g.kT.w0.Os.call(this);this.stop();delete this.T;delete this.B}; +g.C.start=function(N){this.stop();this.YJ=g.CR(this.L,N!==void 0?N:this.wy)}; +g.C.stop=function(){this.isActive()&&g.di.clearTimeout(this.YJ);this.YJ=0}; +g.C.isActive=function(){return this.YJ!=0}; +g.C.UL=function(){this.YJ=0;this.T&&this.T.call(this.B)};g.k(g.UT,g.L);g.C=g.UT.prototype;g.C.Ki=function(N){this.L=arguments;this.xO||this.B?this.T=!0:lj(this)}; +g.C.stop=function(){this.xO&&(g.di.clearTimeout(this.xO),this.xO=null,this.T=!1,this.L=null)}; +g.C.pause=function(){this.B++}; +g.C.resume=function(){this.B--;this.B||!this.T||this.xO||(this.T=!1,lj(this))}; +g.C.Os=function(){g.L.prototype.Os.call(this);this.stop()};g.sm.prototype[Symbol.iterator]=function(){return this}; +g.sm.prototype.next=function(){var N=this.T.next();return{value:N.done?void 0:this.B.call(void 0,N.value),done:N.done}};g.$_(g.Wm,g.d9);g.C=g.Wm.prototype;g.C.isPlaying=function(){return this.T==1}; +g.C.isPaused=function(){return this.T==-1}; +g.C.Nb=function(){this.Ta("begin")}; +g.C.nB=function(){this.Ta("end")}; +g.C.onFinish=function(){this.Ta("finish")}; +g.C.onStop=function(){this.Ta("stop")}; +g.C.Ta=function(N){this.dispatchEvent(N)};var fdx=lH(function(){var N=g.Ch("DIV"),H=g.K6?"-webkit":Ue?"-moz":null,c="transition:opacity 1s linear;";H&&(c+=H+"-transition:opacity 1s linear;");H=LSd({style:c});if(N.nodeType===1&&/^(script|style)$/i.test(N.tagName))throw Error("");N.innerHTML=aE(H);return g.cb(N.firstChild,"transition")!=""});g.$_(Qc,g.Wm);g.C=Qc.prototype;g.C.play=function(){if(this.isPlaying())return!1;this.Nb();this.Ta("play");this.startTime=g.vg();this.T=1;if(fdx())return g.eU(this.B,this.Y),this.L=g.CR(this.Xd_,void 0,this),!0;this.G2(!1);return!1}; +g.C.Xd_=function(){g.WQ(this.B);k$3(this.B,this.C);g.eU(this.B,this.U);this.L=g.CR((0,g.tv)(this.G2,this,!1),this.S*1E3)}; +g.C.stop=function(){this.isPlaying()&&this.G2(!0)}; +g.C.G2=function(N){g.eU(this.B,"transition","");g.di.clearTimeout(this.L);g.eU(this.B,this.U);this.endTime=g.vg();this.T=0;if(N)this.onStop();else this.onFinish();this.nB()}; +g.C.Os=function(){this.stop();Qc.w0.Os.call(this)}; +g.C.pause=function(){};var t4Z={rgb:!0,rgba:!0,alpha:!0,rect:!0,image:!0,"linear-gradient":!0,"radial-gradient":!0,"repeating-linear-gradient":!0,"repeating-radial-gradient":!0,"cubic-bezier":!0,matrix:!0,perspective:!0,rotate:!0,rotate3d:!0,rotatex:!0,rotatey:!0,steps:!0,rotatez:!0,scale:!0,scale3d:!0,scalex:!0,scaley:!0,scalez:!0,skew:!0,skewx:!0,skewy:!0,translate:!0,translate3d:!0,translatex:!0,translatey:!0,translatez:!0,"var":!0};Pj("Element","attributes")||Pj("Node","attributes");Pj("Element","innerHTML")||Pj("HTMLElement","innerHTML");Pj("Node","nodeName");Pj("Node","nodeType");Pj("Node","parentNode");Pj("Node","childNodes");Pj("HTMLElement","style")||Pj("Element","style");Pj("HTMLStyleElement","sheet");var GYd=y7S("getPropertyValue"),RFZ=y7S("setProperty");Pj("Element","namespaceURI")||Pj("Node","namespaceURI");var yre={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0};var fPZ,CHe,MGD,j9l,dFR;fPZ=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]");CHe=RegExp("^[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]");g.dfd=RegExp("^[^\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]*[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"); +g.LW=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]");MGD=/^http:\/\/.*/;g.WDd=RegExp("^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)","i");j9l=/\s+/;dFR=/[\d\u06f0-\u06f9]/;QN.prototype.Zz=function(){return new C_(this.B())}; +QN.prototype[Symbol.iterator]=function(){return new oK(this.B())}; +QN.prototype.T=function(){return new oK(this.B())}; +g.k(C_,g.Zn);C_.prototype.next=function(){return this.B.next()}; +C_.prototype[Symbol.iterator]=function(){return new oK(this.B)}; +C_.prototype.T=function(){return new oK(this.B)}; +g.k(oK,QN);oK.prototype.next=function(){return this.L.next()};dq.prototype.clone=function(){return new dq(this.T,this.C,this.L,this.S,this.U,this.Y,this.B,this.Z)}; +dq.prototype.equals=function(N){return this.T==N.T&&this.C==N.C&&this.L==N.L&&this.S==N.S&&this.U==N.U&&this.Y==N.Y&&this.B==N.B&&this.Z==N.Z};Hv.prototype.clone=function(){return new Hv(this.start,this.end)};(function(){if(fuy){var N=/Windows NT ([0-9.]+)/;return(N=N.exec(g.tA()))?N[1]:"0"}return Ej?(N=/1[0|1][_.][0-9_.]+/,(N=N.exec(g.tA()))?N[0].replace(/_/g,"."):"10"):g.zD?(N=/Android\s+([^\);]+)(\)|;)/,(N=N.exec(g.tA()))?N[1]:""):P_S||UTv||XuR?(N=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(N=N.exec(g.tA()))?N[1].replace(/_/g,"."):""):""})();var cps=function(){if(g.dL)return fc(/Firefox\/([0-9.]+)/);if(g.mn||g.BY||g.pX)return gds;if(g.Pc){if(PS()||r_()){var N=fc(/CriOS\/([0-9.]+)/);if(N)return N}return fc(/Chrome\/([0-9.]+)/)}if(g.op&&!PS())return fc(/Version\/([0-9.]+)/);if(P7||U9){if(N=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.tA()))return N[1]+"."+N[2]}else if(g.$he)return(N=fc(/Android\s+([0-9.]+)/))?N:fc(/Version\/([0-9.]+)/);return""}();g.$_(g.L0,g.L);g.C=g.L0.prototype;g.C.subscribe=function(N,H,c){var t=this.B[N];t||(t=this.B[N]=[]);var h=this.Y;this.T[h]=N;this.T[h+1]=H;this.T[h+2]=c;this.Y=h+3;t.push(h);return h}; +g.C.unsubscribe=function(N,H,c){if(N=this.B[N]){var t=this.T;if(N=N.find(function(h){return t[h+1]==H&&t[h+2]==c}))return this.nC(N)}return!1}; +g.C.nC=function(N){var H=this.T[N];if(H){var c=this.B[H];this.U!=0?(this.L.push(N),this.T[N+1]=function(){}):(c&&g.JC(c,N),delete this.T[N],delete this.T[N+1],delete this.T[N+2])}return!!H}; +g.C.publish=function(N,H){var c=this.B[N];if(c){var t=Array(arguments.length-1),h=arguments.length,O;for(O=1;O0&&this.U==0)for(;c=this.L.pop();)this.nC(c)}}return O!=0}return!1}; +g.C.clear=function(N){if(N){var H=this.B[N];H&&(H.forEach(this.nC,this),delete this.B[N])}else this.T.length=0,this.B={}}; +g.C.Os=function(){g.L0.w0.Os.call(this);this.clear();this.L.length=0};g.yb.prototype.set=function(N,H){H===void 0?this.NE.remove(N):this.NE.set(N,g.s0(H))}; +g.yb.prototype.get=function(N){try{var H=this.NE.get(N)}catch(c){return}if(H!==null)try{return JSON.parse(H)}catch(c){throw"Storage: Invalid value was encountered";}}; +g.yb.prototype.remove=function(N){this.NE.remove(N)};g.$_(qp,g.yb);qp.prototype.set=function(N,H){qp.w0.set.call(this,N,mct(H))}; +qp.prototype.bQ=function(N){N=qp.w0.get.call(this,N);if(N===void 0||N instanceof Object)return N;throw"Storage: Invalid value was encountered";}; +qp.prototype.get=function(N){if(N=this.bQ(N)){if(N=N.data,N===void 0)throw"Storage: Invalid value was encountered";}else N=void 0;return N};g.$_(Kn,qp);Kn.prototype.set=function(N,H,c){if(H=mct(H)){if(c){if(c=c.length)return g.$f;var h=c.key(H++);if(N)return g.VO(h);h=c.getItem(h);if(typeof h!=="string")throw"Storage mechanism: Invalid value was encountered";return g.VO(h)}; +return t}; +g.C.clear=function(){zi(this);this.T.clear()}; +g.C.key=function(N){zi(this);return this.T.key(N)};g.$_(ze,s9);g.$_(syt,s9);g.$_(Ef,Mz);Ef.prototype.set=function(N,H){this.B.set(this.T+N,H)}; +Ef.prototype.get=function(N){return this.B.get(this.T+N)}; +Ef.prototype.remove=function(N){this.B.remove(this.T+N)}; +Ef.prototype.Zz=function(N){var H=this.B[Symbol.iterator](),c=this,t=new g.Zn;t.next=function(){var h=H.next();if(h.done)return h;for(h=h.value;h.slice(0,c.T.length)!=c.T;){h=H.next();if(h.done)return h;h=h.value}return g.VO(N?h.slice(c.T.length):c.B.get(h))}; +return t};lf.prototype.getValue=function(){return this.B}; +lf.prototype.clone=function(){return new lf(this.T,this.B)};g.C=dx.prototype;g.C.X1=function(N,H){var c=this.T;c.push(new lf(N,H));N=c.length-1;H=this.T;for(c=H[N];N>0;){var t=N-1>>1;if(H[t].T>c.T)H[N]=H[t],N=t;else break}H[N]=c}; +g.C.remove=function(){var N=this.T,H=N.length,c=N[0];if(!(H<=0)){if(H==1)N.length=0;else{N[0]=N.pop();N=0;H=this.T;for(var t=H.length,h=H[N];N>1;){var O=N*2+1,F=N*2+2;O=Fh.T)break;H[N]=H[O];N=O}H[N]=h}return c.getValue()}}; +g.C.BQ=function(){for(var N=this.T,H=[],c=N.length,t=0;t>>16&65535|0;for(var O;c!==0;){O=c>2E3?2E3:c;c-=O;do h=h+H[t++]|0,N=N+h|0;while(--O);h%=65521;N%=65521}return h|N<<16|0};for(var by={},xf,Cw7=[],qE=0;qE<256;qE++){xf=qE;for(var ldx=0;ldx<8;ldx++)xf=xf&1?3988292384^xf>>>1:xf>>>1;Cw7[qE]=xf}by=function(N,H,c,t){c=t+c;for(N^=-1;t>>8^Cw7[(N^H[t])&255];return N^-1};var XV={};XV={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};var RL=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],bT=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Xyh=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],PSy=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],xX=Array(576);he(xX);var q9=Array(60);he(q9);var IL=Array(512);he(IL);var Ga=Array(256);he(Ga);var oL=Array(29);he(oL);var N$=Array(30);he(N$);var nwt,PR3,Uue,Jod=!1;var Ek;Ek=[new w$(0,0,0,0,function(N,H){var c=65535;for(c>N.Ea-5&&(c=N.Ea-5);;){if(N.sF<=1){au(N);if(N.sF===0&&H===0)return 1;if(N.sF===0)break}N.cO+=N.sF;N.sF=0;var t=N.wq+c;if(N.cO===0||N.cO>=t)if(N.sF=N.cO-t,N.cO=t,vJ(N,!1),N.bG.Aj===0)return 1;if(N.cO-N.wq>=N.gy-262&&(vJ(N,!1),N.bG.Aj===0))return 1}N.X1=0;if(H===4)return vJ(N,!0),N.bG.Aj===0?3:4;N.cO>N.wq&&vJ(N,!1);return 1}), +new w$(4,4,8,4,Tl),new w$(4,5,16,8,Tl),new w$(4,6,32,32,Tl),new w$(4,4,16,16,Bm),new w$(8,16,32,32,Bm),new w$(8,16,128,128,Bm),new w$(8,32,128,256,Bm),new w$(32,128,258,1024,Bm),new w$(32,258,258,4096,Bm)];var uBS={};uBS=function(){this.input=null;this.OC=this.uc=this.lC=0;this.output=null;this.fv=this.Aj=this.t0=0;this.msg="";this.state=null;this.Yp=2;this.f6=0};var Lzf=Object.prototype.toString; +om.prototype.push=function(N,H){var c=this.bG,t=this.options.chunkSize;if(this.ended)return!1;var h=H===~~H?H:H===!0?4:0;typeof N==="string"?c.input=BN3(N):Lzf.call(N)==="[object ArrayBuffer]"?c.input=new Uint8Array(N):c.input=N;c.lC=0;c.uc=c.input.length;do{c.Aj===0&&(c.output=new xT.rC(t),c.t0=0,c.Aj=t);N=tPh(c,h);if(N!==1&&N!==0)return this.nB(N),this.ended=!0,!1;if(c.Aj===0||c.uc===0&&(h===4||h===2))if(this.options.to==="string"){var O=xT.sH(c.output,c.t0);H=O;O=O.length;if(O<65537&&(H.subarray&& +qvd||!H.subarray))H=String.fromCharCode.apply(null,xT.sH(H,O));else{for(var F="",M=0;M0||c.Aj===0)&&N!==1);if(h===4)return(c=this.bG)&&c.state?(t=c.state.status,t!==42&&t!==69&&t!==73&&t!==91&&t!==103&&t!==113&&t!==666?N=V0(c,-2):(c.state=null,N=t===113?V0(c,-3):0)):N=-2,this.nB(N),this.ended=!0,N===0;h===2&&(this.nB(0),c.Aj=0);return!0}; +om.prototype.nB=function(N){N===0&&(this.result=this.options.to==="string"?this.chunks.join(""):xT.Pc(this.chunks));this.chunks=[];this.err=N;this.msg=this.bG.msg};var uR="@@redux/INIT"+Ed(),ats="@@redux/REPLACE"+Ed();var eks=typeof Symbol==="function"&&Symbol.observable||"@@observable";var KDl=[0,rgh,-3,tX];g.k(vrD,XQ);var zOv=i4h(vrD,[0,hX,mvR,NE,rgh,NE,-1,tX,rgh,tX,-1,hX,tX,mvR,HC,KDl,NE,-1,tX]);var huv=241377957;var gyl=function(N,H){return function(){var c=new LWy(N,H,Qf);return function(){return c}}()}("youtube.api.innertube.AttestationError",'[null,[["ATTESTATION_ERROR_UNKNOWN",0],["ATTESTATION_ERROR_VM_NOT_INITIALIZED",1],["ATTESTATION_ERROR_VM_NO_RESPONSE",2],["ATTESTATION_ERROR_VM_TIMEOUT",3],["ATTESTATION_ERROR_VM_INTERNAL_ERROR",4],["ATTESTATION_ERROR_PREFETCH_CHALLENGE_INVALID",5],["ATTESTATION_ERROR_PREFETCH_CHALLENGE_NETWORK_ERROR",6],["ATTESTATION_ERROR_PREFETCH_CHALLENGE_OFFLINE",7],["ATTESTATION_ERROR_PREFETCH_CHALLENGE_INTERNAL_ERROR",8],["ATTESTATION_ERROR_API_NOT_READY",9],["ATTESTATION_ERROR_DEVICE_OFFLINE",10],["ATTESTATION_ERROR_KEY_PAIR_INIT_FAILED",12],["ATTESTATION_ERROR_SIGNING_DATA_MISSING",13],["ATTESTATION_ERROR_SIGNING_FAILED",14],["ATTESTATION_ERROR_CERT_CHAIN_RETRIEVAL_FAILED",15]],null,[[11,11]]]');var r$w=new g.IQ("adInfoDialogEndpoint");var Y2D=new g.IQ("adPingingEndpoint");var Ylv=new g.IQ("crossDeviceProgressCommand");var Rf=new g.IQ("actionCompanionAdRenderer");var $o=new g.IQ("adActionInterstitialRenderer");var rSc=new g.IQ("adDurationRemainingRenderer");var nW=new g.IQ("adHoverTextButtonRenderer");var WDl=new g.IQ("adInfoDialogRenderer");var mf=new g.IQ("adMessageRenderer");var BF=new g.IQ("adPreviewRenderer");var ua=new g.IQ("adsEngagementPanelRenderer");var JsR=new g.IQ("dismissablePanelTextPortraitImageRenderer");var If=new g.IQ("adsEngagementPanelSectionListViewModel");var mfY=new g.IQ("flyoutCtaRenderer");var p5=new g.IQ("imageCompanionAdRenderer");var U_=new g.IQ("instreamAdPlayerOverlayRenderer");var x6v=new g.IQ("instreamSurveyAdBackgroundImageRenderer");var so=new g.IQ("instreamSurveyAdPlayerOverlayRenderer");var PK=new g.IQ("instreamSurveyAdRenderer"),e1=new g.IQ("instreamSurveyAdSingleSelectQuestionRenderer"),aI=new g.IQ("instreamSurveyAdMultiSelectQuestionRenderer"),CC=new g.IQ("instreamSurveyAdAnswerRenderer"),wL7=new g.IQ("instreamSurveyAdAnswerNoneOfTheAboveRenderer");var QR=new g.IQ("instreamVideoAdRenderer");var DfY=new g.IQ("textOverlayAdContentRenderer"),Ql4=new g.IQ("enhancedTextOverlayAdContentRenderer"),pLd=new g.IQ("imageOverlayAdContentRenderer");var VQ=new g.IQ("playerOverlayLayoutRenderer");var AF=new g.IQ("videoInterstitialButtonedCenteredLayoutRenderer");var p2R=new g.IQ("aboveFeedAdLayoutRenderer");var JOv=new g.IQ("belowPlayerAdLayoutRenderer");var DKR=new g.IQ("inPlayerAdLayoutRenderer");var nIh=new g.IQ("inPlayerOrganicOverlayAdLayoutRenderer");var BP=new g.IQ("playerBytesAdLayoutRenderer");var of=new g.IQ("playerBytesSequenceItemAdLayoutRenderer");var y7=new g.IQ("playerUnderlayAdLayoutRenderer");var h8=new g.IQ("adIntroRenderer");var PG=new g.IQ("playerBytesSequentialLayoutRenderer");var P0s=new g.IQ("slidingTextPlayerOverlayRenderer");var Ul=new g.IQ("surveyTextInterstitialRenderer");var DH=new g.IQ("videoAdTrackingRenderer");var Myw=new g.IQ("videoInterstitialCenteredLayoutViewModel");var ued=new g.IQ("simpleAdBadgeRenderer");var Ts=new g.IQ("skipAdRenderer"),JSR=new g.IQ("skipButtonRenderer");var iZ=new g.IQ("adSlotRenderer");var RC=new g.IQ("squeezebackPlayerSidePanelRenderer");var ny4=new g.IQ("timedPieCountdownRenderer");var W8=new g.IQ("adAvatarViewModel");var zg=new g.IQ("adBadgeViewModel");var EQ=new g.IQ("adButtonViewModel");var SvZ=new g.IQ("adDetailsLineViewModel");var Pw5=new g.IQ("adDisclosureBannerViewModel");var UfZ=new g.IQ("adPodIndexViewModel");var XLY=new g.IQ("imageBackgroundViewModel");var Vh7=new g.IQ("adGridCardCollectionViewModel");var LDZ=new g.IQ("adGridCardTextViewModel");var ZsR=new g.IQ("adPreviewViewModel");var Yvg=new g.IQ("playerAdAvatarLockupCardButtonedViewModel");var AS5=new g.IQ("skipAdButtonViewModel");var adl=new g.IQ("skipAdViewModel");var eZg=new g.IQ("timedPieCountdownViewModel");var vy4=new g.IQ("visitAdvertiserLinkViewModel");var JD=new g.IQ("bannerImageLayoutViewModel");var n5=new g.IQ("topBannerImageTextIconButtonedLayoutViewModel");var SD=new g.IQ("adsEngagementPanelLayoutViewModel");var oC=new g.IQ("displayUnderlayTextGridCardsLayoutViewModel");g.wF=new g.IQ("browseEndpoint");var sld=new g.IQ("confirmDialogEndpoint");var DUS=new g.IQ("commandContext");var eJe=new g.IQ("rawColdConfigGroup");var a3v=new g.IQ("rawHotConfigGroup");g.LS=new g.IQ("commandExecutorCommand");g.k(Mcl,XQ);var iUs={OBi:0,cfx:1,VC_:32,XGa:61,xAl:67,HBs:103,dAg:86,eCa:42,vui:60,gux:62,bBo:73,ZBS:76,q9f:88,aq_:90,FhT:99,tCg:98,yfq:100,zCs:102,nuf:41,Q$_:69,s$_:70,AfR:71,qzg:2,a7q:27,ANDROID:3,wZx:54,THf:14,o8o:91,iJx:55,BHg:24,LTW:20,U0p:18,WTg:21,OJ_:104,m0i:30,rdE:29,JdW:28,rfo:101,kQs:34,SNo:36,hoW:38,IOS:5,Dj_:15,yZg:92,Zmg:40,bmg:25,XQo:17,j9x:19,djE:64,HmR:66,qaa:26,Ffx:22,nbo:33,Q9W:68,s9x:35,aeg:53,xjS:37,zDp:39,Fdp:7,naS:57,Qng:43,AVW:59,snx:93,IGs:74,MCW:75,wGf:85,T7W:65,B7W:80,Lhq:8,yVq:10, +hCo:58,UAg:63,iBR:72,E8W:23,TbT:11,igq:13,Qi_:12,xJW:16,GMq:56,j$o:31,XLR:77,Ujs:84,DAf:87,WfR:89,hDf:94,YzT:95};g.k($k,XQ);$k.prototype.nj=function(){return lX(this,3)}; +$k.prototype.iqq=function(){return lX(this,5)}; +$k.prototype.IE=function(N){return ES(this,5,N)};g.k(R_,XQ);g.k(mX3,XQ);g.k(PT,XQ);g.C=PT.prototype;g.C.getDeviceId=function(){return lX(this,6)}; +g.C.PA=function(N){var H=s8(this,9,em,3,!0);sY(H,N);return H[N]}; +g.C.getPlayerType=function(){return Fd(this,36)}; +g.C.setHomeGroupInfo=function(N){return ko(this,mX3,81,N)}; +g.C.clearLocationPlayabilityToken=function(){return WE(this,89)};g.k(TM,XQ);TM.prototype.getValue=function(){return lX(this,SQZ(this,SWe,2))}; +var SWe=[2,3,4,5,6];g.k(qm,XQ);qm.prototype.setTrackingParams=function(N){return WE(this,1,alw(N,!1))};g.k(zo,XQ);g.k(HH,XQ);HH.prototype.PA=function(N){var H=s8(this,5,r5,3,!0);sY(H,N);return H[N]};g.k(MZ,XQ);MZ.prototype.getToken=function(){return le(this,2)}; +MZ.prototype.setToken=function(N){return ES(this,2,N)};g.k(lT,XQ);lT.prototype.setSafetyMode=function(N){return qf(this,5,N)};g.k(ml,XQ);ml.prototype.Ll=function(N){return ko(this,PT,1,N)};var fE=new g.IQ("thumbnailLandscapePortraitRenderer");g.Bt5=new g.IQ("changeEngagementPanelVisibilityAction");var AIZ=new g.IQ("continuationCommand");g.ySc=new g.IQ("openPopupAction");var GMs=new g.IQ("signalAction");g.lz=new g.IQ("webCommandMetadata");var FdL=new g.IQ("metadataBadgeRenderer");var YsZ=new g.IQ("signalServiceEndpoint");var xR=new g.IQ("innertubeCommand");var YZd=new g.IQ("loggingDirectives");var vYR={VVg:"EMBEDDED_PLAYER_MODE_UNKNOWN",tVi:"EMBEDDED_PLAYER_MODE_DEFAULT",eRp:"EMBEDDED_PLAYER_MODE_PFP",G4R:"EMBEDDED_PLAYER_MODE_PFL"};var E6S=new g.IQ("channelThumbnailEndpoint");var y$R=new g.IQ("embeddedPlayerErrorMessageRenderer");var V4f=new g.IQ("embeddedPlayerOverlayVideoDetailsRenderer"),xet=new g.IQ("embeddedPlayerOverlayVideoDetailsCollapsedRenderer"),qQR=new g.IQ("embeddedPlayerOverlayVideoDetailsExpandedRenderer");var vLD=new g.IQ("embedsInfoPanelRenderer");var UY=new g.IQ("feedbackEndpoint");var G3d=new g.IQ("callToActionButtonViewModel");var RZc=new g.IQ("interactionLoggingCommandMetadata");var SvL={Kh_:"WEB_DISPLAY_MODE_UNKNOWN",PJi:"WEB_DISPLAY_MODE_BROWSER",CJl:"WEB_DISPLAY_MODE_MINIMAL_UI",uVE:"WEB_DISPLAY_MODE_STANDALONE",Y9R:"WEB_DISPLAY_MODE_FULLSCREEN"};g.k(vK,XQ);vK.prototype.getPlayerType=function(){return Fd(this,7)}; +vK.prototype.u2=function(){return lX(this,19)}; +vK.prototype.setVideoId=function(N){return ES(this,19,N)};g.k(JE,XQ);g.k(li,XQ);g.k(zM,XQ); +var oyc=[2,3,5,6,7,11,13,20,21,22,23,24,28,32,37,45,59,72,73,74,76,78,79,80,85,91,97,100,102,105,111,117,119,126,127,136,146,148,151,156,157,158,159,163,164,168,176,177,178,179,184,188,189,190,191,193,194,195,196,197,198,199,200,201,202,203,204,205,206,208,209,215,219,222,225,226,227,229,232,233,234,240,241,244,247,248,249,251,254,255,256,257,258,259,260,261,266,270,272,278,288,291,293,300,304,308,309,310,311,313,314,319,320,321,323,324,327,328,330,331,332,334,337,338,340,344,348,350,351,352,353, +354,355,356,357,358,361,363,364,368,369,370,373,374,375,378,380,381,383,388,389,399,402,403,410,411,412,413,414,415,416,417,418,423,424,425,426,427,429,430,431,439,441,444,448,458,469,471,473,474,480,481,482,484,485,486,491,495,496,506,507,509,511,512,513,514,515,516,517,518,519,520,522,523,524,525,526,527,528,529,530,531];var k3R=new g.IQ("loggingContext");g.k(fG,XQ);g.k(CH,XQ);CH.prototype.u2=function(){return le(this,SQZ(this,Ig,1))}; +CH.prototype.setVideoId=function(N){return T0(this,1,Ig,z8(N))}; +CH.prototype.getPlaylistId=function(){return le(this,SQZ(this,Ig,2))}; +var Ig=[1,2];g.k(nqZ,XQ);var Idd=new g.IQ("dismissPlayerOverlayCommand");var lG=new g.IQ("changeKeyedMarkersVisibilityCommand");var bsg=new g.IQ("changeMarkersVisibilityCommand");var TCt=new g.IQ("loadMarkersCommand");var NRl=new g.IQ("suggestedActionDataViewModel");var rDL=new g.IQ("timelyActionViewModel");var grl=new g.IQ("timelyActionsOverlayViewModel");var XhD=new g.IQ("productListItemRenderer");var HgZ=new g.IQ("shoppingOverlayRenderer");var Z2v=new g.IQ("musicEmbeddedPlayerOverlayVideoDetailsRenderer");var igg=new g.IQ("adFeedbackEndpoint");var cG4=new g.IQ("menuEndpoint");var $Fy=new g.IQ("phoneDialerEndpoint");var Oas=new g.IQ("sendSmsEndpoint");var HP3=new g.IQ("copyTextEndpoint");var t7Y=new g.IQ("shareEndpoint"),h4d=new g.IQ("shareEntityEndpoint"),Ogd=new g.IQ("shareEntityServiceEndpoint"),FYd=new g.IQ("webPlayerShareEntityServiceEndpoint");g.iF=new g.IQ("urlEndpoint");g.DS=new g.IQ("watchEndpoint");var $5R=new g.IQ("watchPlaylistEndpoint");g.TRg=new g.IQ("offlineOrchestrationActionCommand");var P7v=new g.IQ("compositeVideoOverlayRenderer");var jd5=new g.IQ("miniplayerRenderer");var Gtf=new g.IQ("paidContentOverlayRenderer");var bdR=new g.IQ("playerMutedAutoplayOverlayRenderer"),Nb3=new g.IQ("playerMutedAutoplayEndScreenRenderer");var H5w=new g.IQ("unserializedPlayerResponse"),IDe=new g.IQ("unserializedPlayerResponse");var M7g=new g.IQ("playlistEditEndpoint");var KC;g.mM=new g.IQ("buttonRenderer");KC=new g.IQ("toggleButtonRenderer");var pHt=new g.IQ("counterfactualRenderer");var fld=new g.IQ("resolveUrlCommandMetadata");var d54=new g.IQ("modifyChannelNotificationPreferenceEndpoint");var ZlS=new g.IQ("pingingEndpoint");var WYc=new g.IQ("unsubscribeEndpoint");g.Do=new g.IQ("subscribeButtonRenderer");var z44=new g.IQ("subscribeEndpoint");var jdw=new g.IQ("buttonViewModel");var uTS=new g.IQ("qrCodeRenderer");var foS={rIf:"LIVING_ROOM_APP_MODE_UNSPECIFIED",mFE:"LIVING_ROOM_APP_MODE_MAIN",Szi:"LIVING_ROOM_APP_MODE_KIDS",ENo:"LIVING_ROOM_APP_MODE_MUSIC",I7_:"LIVING_ROOM_APP_MODE_UNPLUGGED",oNT:"LIVING_ROOM_APP_MODE_GAMING"};var cjw=new g.IQ("autoplaySwitchButtonRenderer");var XM,oPR,O3Z,bNh;XM=new g.IQ("decoratedPlayerBarRenderer");oPR=new g.IQ("chapteredPlayerBarRenderer");O3Z=new g.IQ("multiMarkersPlayerBarRenderer");bNh=new g.IQ("chapterRenderer");g.w1D=new g.IQ("markerRenderer");var f4y=new g.IQ("decoratedPlayheadRenderer");var hSd=new g.IQ("desktopOverlayConfigRenderer");var npy=new g.IQ("engagementPanelSectionListRenderer");var tYS=new g.IQ("gatedActionsOverlayViewModel");var uQe=new g.IQ("heatMarkerRenderer");var p1f=new g.IQ("heatmapRenderer");var $os=new g.IQ("watchToWatchTransitionRenderer");var ety=new g.IQ("playlistPanelRenderer");var EdG=new g.IQ("productUpsellSuggestedActionViewModel");var x5R=new g.IQ("suggestedActionTimeRangeTrigger"),q4R=new g.IQ("suggestedActionsRenderer"),C5R=new g.IQ("suggestedActionRenderer");var nEv=new g.IQ("timedMarkerDecorationRenderer");var UAe=new g.IQ("cipher");var i5e=new g.IQ("playerVars");var bWL=new g.IQ("playerVars");var g2=g.di.window,llR,KY5,nr=(g2==null?void 0:(llR=g2.yt)==null?void 0:llR.config_)||(g2==null?void 0:(KY5=g2.ytcfg)==null?void 0:KY5.data_)||{};g.Hw("yt.config_",nr);var kc=[];var TUh=/^[\w.]*$/,UWe={q:!0,search_query:!0},PIl=String(Ud);var LT=new function(){var N=window.document;this.T=window;this.B=N}; +g.Hw("yt.ads_.signals_.getAdSignalsString",function(N){return JM(AR(N))});g.vg();var wSh="XMLHttpRequest"in g.di?function(){return new XMLHttpRequest}:null;var gdg="client_dev_domain client_dev_expflag client_dev_regex_map client_dev_root_url client_rollout_override expflag forcedCapability jsfeat jsmode mods".split(" ");g.HE(gdg);var gOl={Authorization:"AUTHORIZATION","X-Goog-EOM-Visitor-Id":"EOM_VISITOR_DATA","X-Goog-Visitor-Id":"SANDBOXED_VISITOR_ID","X-Youtube-Domain-Admin-State":"DOMAIN_ADMIN_STATE","X-Youtube-Chrome-Connected":"CHROME_CONNECTED_HEADER","X-YouTube-Client-Name":"INNERTUBE_CONTEXT_CLIENT_NAME","X-YouTube-Client-Version":"INNERTUBE_CONTEXT_CLIENT_VERSION","X-YouTube-Delegation-Context":"INNERTUBE_CONTEXT_SERIALIZED_DELEGATION_CONTEXT","X-YouTube-Device":"DEVICE","X-Youtube-Identity-Token":"ID_TOKEN","X-YouTube-Page-CL":"PAGE_CL", +"X-YouTube-Page-Label":"PAGE_BUILD_LABEL","X-Goog-AuthUser":"SESSION_INDEX","X-Goog-PageId":"DELEGATED_SESSION_ID"},ovs="app debugcss debugjs expflag force_ad_params force_ad_encrypted force_viral_ad_response_params forced_experiments innertube_snapshots innertube_goldens internalcountrycode internalipoverride absolute_experiments conditional_experiments sbb sr_bns_address".split(" ").concat(g.HE(gdg)),kZR=!1,C83=xl;g.k(X5,w9);NK.prototype.then=function(N,H,c){return this.T?this.T.then(N,H,c):this.L===1&&N?(N=N.call(c,this.B))&&typeof N.then==="function"?N:H2(N):this.L===2&&H?(N=H.call(c,this.B))&&typeof N.then==="function"?N:C6(N):this}; +NK.prototype.getValue=function(){return this.B}; +NK.prototype.$goog_Thenable=!0;var ln=!1;var bA=P7||U9;var zTR=/^([0-9\.]+):([0-9\.]+)$/;g.k(xg,w9);xg.prototype.name="BiscottiError";g.k(Dj,w9);Dj.prototype.name="BiscottiMissingError";var k_S={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},qb=null;var inv=g.X3(["data-"]),DnZ={};var rGd=0,gsD=g.K6?"webkit":Ue?"moz":g.mn?"ms":g.pX?"o":"",m5d=g.NA("ytDomDomGetNextId")||function(){return++rGd}; +g.Hw("ytDomDomGetNextId",m5d);var juD={stopImmediatePropagation:1,stopPropagation:1,preventMouseEvent:1,preventManipulation:1,preventDefault:1,layerX:1,layerY:1,screenX:1,screenY:1,scale:1,rotation:1,webkitMovementX:1,webkitMovementY:1};Pm.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())}; +Pm.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())}; +Pm.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var U8=g.di.ytEventsEventsListeners||{};g.Hw("ytEventsEventsListeners",U8);var fkv=g.di.ytEventsEventsCounter||{count:0};g.Hw("ytEventsEventsCounter",fkv);var mjs=lH(function(){var N=!1;try{var H=Object.defineProperty({},"passive",{get:function(){N=!0}}); +window.addEventListener("test",null,H)}catch(c){}return N}),dVD=lH(function(){var N=!1; +try{var H=Object.defineProperty({},"capture",{get:function(){N=!0}}); +window.addEventListener("test",null,H)}catch(c){}return N});var r2;r2=window;g.Lh=r2.ytcsi&&r2.ytcsi.now?r2.ytcsi.now:r2.performance&&r2.performance.timing&&r2.performance.now&&r2.performance.timing.navigationStart?function(){return r2.performance.timing.navigationStart+r2.performance.now()}:function(){return(new Date).getTime()};g.$_(cw,g.L);cw.prototype.TW=function(N){N.T===void 0&&gwh(N);var H=N.T;N.B===void 0&&gwh(N);this.T=new g.Sr(H,N.B)}; +cw.prototype.pB=function(){return this.T||new g.Sr}; +cw.prototype.Bp=function(){if(this.T){var N=(0,g.Lh)();if(this.U!=0){var H=this.Y,c=this.T,t=H.x-c.x;H=H.y-c.y;t=Math.sqrt(t*t+H*H)/(N-this.U);this.B[this.L]=Math.abs((t-this.S)/this.S)>.5?1:0;for(c=H=0;c<4;c++)H+=this.B[c]||0;H>=3&&this.C();this.S=t}this.U=N;this.Y=this.T;this.L=(this.L+1)%4}}; +cw.prototype.Os=function(){g.gb(this.Z);g.Kr(this.Us)};g.k(Qz,g.L);Qz.prototype.G=function(N,H,c,t,h){c=g.Lu((0,g.tv)(c,t||this.mG));c={target:N,name:H,callback:c};var O;h&&mjs()&&(O={passive:!0});N.addEventListener(H,c.callback,O);this.Y.push(c);return c}; +Qz.prototype.G3=function(N){for(var H=0;H=A.nm)||w.T.version>=R||w.T.objectStoreNames.contains(X)||p.push(X)}f=p;if(f.length===0){r.rE(5);break}d=Object.keys(c.options.xu); +W=M.objectStoreNames();if(c.Sc.options.version+1)throw E.close(),c.L=!1,RAD(c,x);return r.return(E);case 8:throw H(), +z instanceof Error&&!g.sf("ytidb_async_stack_killswitch")&&(z.stack=z.stack+"\n"+F.substring(F.indexOf("\n")+1)),bU(z,c.name,"",(q=c.options.version)!=null?q:-1);}})} +function H(){c.T===t&&(c.T=void 0)} +var c=this;if(!this.L)throw RAD(this);if(this.T)return this.T;var t,h={blocking:function(O){O.close()}, +closed:H,fMf:H,upgrade:this.options.upgrade};return this.T=t=N()};var $V=new K9("YtIdbMeta",{xu:{databases:{nm:1}},upgrade:function(N,H){H(1)&&g.M6(N,"databases",{keyPath:"actualName"})}});var uq,kwv=new function(){}(new function(){});new g.Ps;g.k(ON,K9);ON.prototype.B=function(N,H,c){c=c===void 0?{}:c;return(this.options.shared?oSe:lg3)(N,H,Object.assign({},c))}; +ON.prototype.delete=function(N){N=N===void 0?{}:N;return(this.options.shared?m4L:ixt)(this.name,N)};var P55={},L_f=g.t4("ytGcfConfig",{xu:(P55.coldConfigStore={nm:1},P55.hotConfigStore={nm:1},P55),shared:!1,upgrade:function(N,H){H(1)&&(g.Jr(g.M6(N,"hotConfigStore",{keyPath:"key",autoIncrement:!0}),"hotTimestampIndex","timestamp"),g.Jr(g.M6(N,"coldConfigStore",{keyPath:"key",autoIncrement:!0}),"coldTimestampIndex","timestamp"))}, +version:1});g.k(cv,g.L);cv.prototype.Os=function(){for(var N=g.K(this.B),H=N.next();!H.done;H=N.next()){var c=this.T;H=c.indexOf(H.value);H>=0&&c.splice(H,1)}this.B.length=0;g.L.prototype.Os.call(this)};Pq.prototype.IE=function(N){this.hotHashData=N;g.Hw("yt.gcf.config.hotHashData",this.hotHashData||null)};var U5Z=typeof TextEncoder!=="undefined"?new TextEncoder:null,EZR=U5Z?function(N){return U5Z.encode(N)}:function(N){N=g.MD(N); +for(var H=new Uint8Array(N.length),c=0;c=H?!1:!0}; +g.C.jx=function(){var N=this;if(!tD(this))throw Error("IndexedDB is not supported: retryQueuedRequests");this.je.wQ("QUEUED",this.yL).then(function(H){H&&!N.ZL(H,N.d9)?N.YN.jP(function(){return g.Y(function(c){if(c.T==1)return H.id===void 0?c.rE(2):g.a(c,N.je.Sq(H.id,N.yL),2);N.jx();g.Z3(c)})}):N.Np.kP()&&N.zF()})};var cA;var DdD={accountStateChangeSignedIn:23,accountStateChangeSignedOut:24,delayedEventMetricCaptured:11,latencyActionBaselined:6,latencyActionInfo:7,latencyActionTicked:5,offlineTransferStatusChanged:2,offlineImageDownload:335,playbackStartStateChanged:9,systemHealthCaptured:3,mangoOnboardingCompleted:10,mangoPushNotificationReceived:230,mangoUnforkDbMigrationError:121,mangoUnforkDbMigrationSummary:122,mangoUnforkDbMigrationPreunforkDbVersionNumber:133,mangoUnforkDbMigrationPhoneMetadata:134,mangoUnforkDbMigrationPhoneStorage:135, +mangoUnforkDbMigrationStep:142,mangoAsyncApiMigrationEvent:223,mangoDownloadVideoResult:224,mangoHomepageVideoCount:279,mangoHomeV3State:295,mangoImageClientCacheHitEvent:273,sdCardStatusChanged:98,framesDropped:12,thumbnailHovered:13,deviceRetentionInfoCaptured:14,thumbnailLoaded:15,backToAppEvent:318,streamingStatsCaptured:17,offlineVideoShared:19,appCrashed:20,youThere:21,offlineStateSnapshot:22,mdxSessionStarted:25,mdxSessionConnected:26,mdxSessionDisconnected:27,bedrockResourceConsumptionSnapshot:28, +nextGenWatchWatchSwiped:29,kidsAccountsSnapshot:30,zeroStepChannelCreated:31,tvhtml5SearchCompleted:32,offlineSharePairing:34,offlineShareUnlock:35,mdxRouteDistributionSnapshot:36,bedrockRepetitiveActionTimed:37,unpluggedDegradationInfo:229,uploadMp4HeaderMoved:38,uploadVideoTranscoded:39,uploadProcessorStarted:46,uploadProcessorEnded:47,uploadProcessorReady:94,uploadProcessorRequirementPending:95,uploadProcessorInterrupted:96,uploadFrontendEvent:241,assetPackDownloadStarted:41,assetPackDownloaded:42, +assetPackApplied:43,assetPackDeleted:44,appInstallAttributionEvent:459,playbackSessionStopped:45,adBlockerMessagingShown:48,distributionChannelCaptured:49,dataPlanCpidRequested:51,detailedNetworkTypeCaptured:52,sendStateUpdated:53,receiveStateUpdated:54,sendDebugStateUpdated:55,receiveDebugStateUpdated:56,kidsErrored:57,mdxMsnSessionStatsFinished:58,appSettingsCaptured:59,mdxWebSocketServerHttpError:60,mdxWebSocketServer:61,startupCrashesDetected:62,coldStartInfo:435,offlinePlaybackStarted:63,liveChatMessageSent:225, +liveChatUserPresent:434,liveChatBeingModerated:457,liveCreationCameraUpdated:64,liveCreationEncodingCaptured:65,liveCreationError:66,liveCreationHealthUpdated:67,liveCreationVideoEffectsCaptured:68,liveCreationStageOccured:75,liveCreationBroadcastScheduled:123,liveCreationArchiveReplacement:149,liveCreationCostreamingConnection:421,liveCreationPlayablesMetrics:533,liveCreationStreamWebrtcStats:288,liveCreationWebrtcError:526,mdxSessionRecoveryStarted:69,mdxSessionRecoveryCompleted:70,mdxSessionRecoveryStopped:71, +visualElementShown:72,visualElementHidden:73,visualElementGestured:78,visualElementStateChanged:208,screenCreated:156,playbackAssociated:202,visualElementAttached:215,playbackContextEvent:214,cloudCastingPlaybackStarted:74,webPlayerApiCalled:76,tvhtml5AccountDialogOpened:79,foregroundHeartbeat:80,foregroundHeartbeatScreenAssociated:111,kidsOfflineSnapshot:81,mdxEncryptionSessionStatsFinished:82,playerRequestCompleted:83,liteSchedulerStatistics:84,mdxSignIn:85,spacecastMetadataLookupRequested:86,spacecastBatchLookupRequested:87, +spacecastSummaryRequested:88,spacecastPlayback:89,spacecastDiscovery:90,tvhtml5LaunchUrlComponentChanged:91,mdxBackgroundPlaybackRequestCompleted:92,mdxBrokenAdditionalDataDeviceDetected:93,tvhtml5LocalStorage:97,tvhtml5DeviceStorageStatus:147,autoCaptionsAvailable:99,playbackScrubbingEvent:339,flexyState:100,interfaceOrientationCaptured:101,mainAppBrowseFragmentCache:102,offlineCacheVerificationFailure:103,offlinePlaybackExceptionDigest:217,vrCopresenceStats:104,vrCopresenceSyncStats:130,vrCopresenceCommsStats:137, +vrCopresencePartyStats:153,vrCopresenceEmojiStats:213,vrCopresenceEvent:141,vrCopresenceFlowTransitEvent:160,vrCowatchPartyEvent:492,vrCowatchUserStartOrJoinEvent:504,vrPlaybackEvent:345,kidsAgeGateTracking:105,offlineDelayAllowedTracking:106,mainAppAutoOfflineState:107,videoAsThumbnailDownload:108,videoAsThumbnailPlayback:109,liteShowMore:110,renderingError:118,kidsProfilePinGateTracking:119,abrTrajectory:124,scrollEvent:125,streamzIncremented:126,kidsProfileSwitcherTracking:127,kidsProfileCreationTracking:129, +buyFlowStarted:136,mbsConnectionInitiated:138,mbsPlaybackInitiated:139,mbsLoadChildren:140,liteProfileFetcher:144,mdxRemoteTransaction:146,reelPlaybackError:148,reachabilityDetectionEvent:150,mobilePlaybackEvent:151,courtsidePlayerStateChanged:152,musicPersistentCacheChecked:154,musicPersistentCacheCleared:155,playbackInterrupted:157,playbackInterruptionResolved:158,fixFopFlow:159,anrDetection:161,backstagePostCreationFlowEnded:162,clientError:163,gamingAccountLinkStatusChanged:164,liteHousewarming:165, +buyFlowEvent:167,kidsParentalGateTracking:168,kidsSignedOutSettingsStatus:437,kidsSignedOutPauseHistoryFixStatus:438,tvhtml5WatchdogViolation:444,ypcUpgradeFlow:169,yongleStudy:170,ypcUpdateFlowStarted:171,ypcUpdateFlowCancelled:172,ypcUpdateFlowSucceeded:173,ypcUpdateFlowFailed:174,liteGrowthkitPromo:175,paymentFlowStarted:341,transactionFlowShowPaymentDialog:405,transactionFlowStarted:176,transactionFlowSecondaryDeviceStarted:222,transactionFlowSecondaryDeviceSignedOutStarted:383,transactionFlowCancelled:177, +transactionFlowPaymentCallBackReceived:387,transactionFlowPaymentSubmitted:460,transactionFlowPaymentSucceeded:329,transactionFlowSucceeded:178,transactionFlowFailed:179,transactionFlowPlayBillingConnectionStartEvent:428,transactionFlowSecondaryDeviceSuccess:458,transactionFlowErrorEvent:411,liteVideoQualityChanged:180,watchBreakEnablementSettingEvent:181,watchBreakFrequencySettingEvent:182,videoEffectsCameraPerformanceMetrics:183,adNotify:184,startupTelemetry:185,playbackOfflineFallbackUsed:186, +outOfMemory:187,ypcPauseFlowStarted:188,ypcPauseFlowCancelled:189,ypcPauseFlowSucceeded:190,ypcPauseFlowFailed:191,uploadFileSelected:192,ypcResumeFlowStarted:193,ypcResumeFlowCancelled:194,ypcResumeFlowSucceeded:195,ypcResumeFlowFailed:196,adsClientStateChange:197,ypcCancelFlowStarted:198,ypcCancelFlowCancelled:199,ypcCancelFlowSucceeded:200,ypcCancelFlowFailed:201,ypcCancelFlowGoToPaymentProcessor:402,ypcDeactivateFlowStarted:320,ypcRedeemFlowStarted:203,ypcRedeemFlowCancelled:204,ypcRedeemFlowSucceeded:205, +ypcRedeemFlowFailed:206,ypcFamilyCreateFlowStarted:258,ypcFamilyCreateFlowCancelled:259,ypcFamilyCreateFlowSucceeded:260,ypcFamilyCreateFlowFailed:261,ypcFamilyManageFlowStarted:262,ypcFamilyManageFlowCancelled:263,ypcFamilyManageFlowSucceeded:264,ypcFamilyManageFlowFailed:265,restoreContextEvent:207,embedsAdEvent:327,autoplayTriggered:209,clientDataErrorEvent:210,experimentalVssValidation:211,tvhtml5TriggeredEvent:212,tvhtml5FrameworksFieldTrialResult:216,tvhtml5FrameworksFieldTrialStart:220,musicOfflinePreferences:218, +watchTimeSegment:219,appWidthLayoutError:221,accountRegistryChange:226,userMentionAutoCompleteBoxEvent:227,downloadRecommendationEnablementSettingEvent:228,musicPlaybackContentModeChangeEvent:231,offlineDbOpenCompleted:232,kidsFlowEvent:233,kidsFlowCorpusSelectedEvent:234,videoEffectsEvent:235,unpluggedOpsEogAnalyticsEvent:236,playbackAudioRouteEvent:237,interactionLoggingDebugModeError:238,offlineYtbRefreshed:239,kidsFlowError:240,musicAutoplayOnLaunchAttempted:242,deviceContextActivityEvent:243, +deviceContextEvent:244,templateResolutionException:245,musicSideloadedPlaylistServiceCalled:246,embedsStorageAccessNotChecked:247,embedsHasStorageAccessResult:248,embedsItpPlayedOnReload:249,embedsRequestStorageAccessResult:250,embedsShouldRequestStorageAccessResult:251,embedsRequestStorageAccessState:256,embedsRequestStorageAccessFailedState:257,embedsItpWatchLaterResult:266,searchSuggestDecodingPayloadFailure:252,siriShortcutActivated:253,tvhtml5KeyboardPerformance:254,latencyActionSpan:255,elementsLog:267, +ytbFileOpened:268,tfliteModelError:269,apiTest:270,yongleUsbSetup:271,touStrikeInterstitialEvent:272,liteStreamToSave:274,appBundleClientEvent:275,ytbFileCreationFailed:276,adNotifyFailure:278,ytbTransferFailed:280,blockingRequestFailed:281,liteAccountSelector:282,liteAccountUiCallbacks:283,dummyPayload:284,browseResponseValidationEvent:285,entitiesError:286,musicIosBackgroundFetch:287,mdxNotificationEvent:289,layersValidationError:290,musicPwaInstalled:291,liteAccountCleanup:292,html5PlayerHealthEvent:293, +watchRestoreAttempt:294,liteAccountSignIn:296,notaireEvent:298,kidsVoiceSearchEvent:299,adNotifyFilled:300,delayedEventDropped:301,analyticsSearchEvent:302,systemDarkThemeOptOutEvent:303,flowEvent:304,networkConnectivityBaselineEvent:305,ytbFileImported:306,downloadStreamUrlExpired:307,directSignInEvent:308,lyricImpressionEvent:309,accessibilityStateEvent:310,tokenRefreshEvent:311,genericAttestationExecution:312,tvhtml5VideoSeek:313,unpluggedAutoPause:314,scrubbingEvent:315,bedtimeReminderEvent:317, +tvhtml5UnexpectedRestart:319,tvhtml5StabilityTraceEvent:478,tvhtml5OperationHealth:467,tvhtml5WatchKeyEvent:321,voiceLanguageChanged:322,tvhtml5LiveChatStatus:323,parentToolsCorpusSelectedEvent:324,offerAdsEnrollmentInitiated:325,networkQualityIntervalEvent:326,deviceStartupMetrics:328,heartbeatActionPlayerTransitioned:330,tvhtml5Lifecycle:331,heartbeatActionPlayerHalted:332,adaptiveInlineMutedSettingEvent:333,mainAppLibraryLoadingState:334,thirdPartyLogMonitoringEvent:336,appShellAssetLoadReport:337, +tvhtml5AndroidAttestation:338,tvhtml5StartupSoundEvent:340,iosBackgroundRefreshTask:342,iosBackgroundProcessingTask:343,sliEventBatch:344,postImpressionEvent:346,musicSideloadedPlaylistExport:347,idbUnexpectedlyClosed:348,voiceSearchEvent:349,mdxSessionCastEvent:350,idbQuotaExceeded:351,idbTransactionEnded:352,idbTransactionAborted:353,tvhtml5KeyboardLogging:354,idbIsSupportedCompleted:355,creatorStudioMobileEvent:356,idbDataCorrupted:357,parentToolsAppChosenEvent:358,webViewBottomSheetResized:359, +activeStateControllerScrollPerformanceSummary:360,navigatorValidation:361,mdxSessionHeartbeat:362,clientHintsPolyfillDiagnostics:363,clientHintsPolyfillEvent:364,proofOfOriginTokenError:365,kidsAddedAccountSummary:366,musicWearableDevice:367,ypcRefundFlowEvent:368,tvhtml5PlaybackMeasurementEvent:369,tvhtml5WatermarkMeasurementEvent:370,clientExpGcfPropagationEvent:371,mainAppReferrerIntent:372,leaderLockEnded:373,leaderLockAcquired:374,googleHatsEvent:375,persistentLensLaunchEvent:376,parentToolsChildWelcomeChosenEvent:378, +browseThumbnailPreloadEvent:379,finalPayload:380,mdxDialAdditionalDataUpdateEvent:381,webOrchestrationTaskLifecycleRecord:382,startupSignalEvent:384,accountError:385,gmsDeviceCheckEvent:386,accountSelectorEvent:388,accountUiCallbacks:389,mdxDialAdditionalDataProbeEvent:390,downloadsSearchIcingApiStats:391,downloadsSearchIndexUpdatedEvent:397,downloadsSearchIndexSnapshot:398,dataPushClientEvent:392,kidsCategorySelectedEvent:393,mdxDeviceManagementSnapshotEvent:394,prefetchRequested:395,prefetchableCommandExecuted:396, +gelDebuggingEvent:399,webLinkTtsPlayEnd:400,clipViewInvalid:401,persistentStorageStateChecked:403,cacheWipeoutEvent:404,playerEvent:410,sfvEffectPipelineStartedEvent:412,sfvEffectPipelinePausedEvent:429,sfvEffectPipelineEndedEvent:413,sfvEffectChosenEvent:414,sfvEffectLoadedEvent:415,sfvEffectUserInteractionEvent:465,sfvEffectFirstFrameProcessedLatencyEvent:416,sfvEffectAggregatedFramesProcessedLatencyEvent:417,sfvEffectAggregatedFramesDroppedEvent:418,sfvEffectPipelineErrorEvent:430,sfvEffectGraphFrozenEvent:419, +sfvEffectGlThreadBlockedEvent:420,mdeQosEvent:510,mdeVideoChangedEvent:442,mdePlayerPerformanceMetrics:472,mdeExporterEvent:497,genericClientExperimentEvent:423,homePreloadTaskScheduled:424,homePreloadTaskExecuted:425,homePreloadCacheHit:426,polymerPropertyChangedInObserver:427,applicationStarted:431,networkCronetRttBatch:432,networkCronetRttSummary:433,repeatChapterLoopEvent:436,seekCancellationEvent:462,lockModeTimeoutEvent:483,externalVideoShareToYoutubeAttempt:501,parentCodeEvent:502,offlineTransferStarted:4, +musicOfflineMixtapePreferencesChanged:16,mangoDailyNewVideosNotificationAttempt:40,mangoDailyNewVideosNotificationError:77,dtwsPlaybackStarted:112,dtwsTileFetchStarted:113,dtwsTileFetchCompleted:114,dtwsTileFetchStatusChanged:145,dtwsKeyframeDecoderBufferSent:115,dtwsTileUnderflowedOnNonkeyframe:116,dtwsBackfillFetchStatusChanged:143,dtwsBackfillUnderflowed:117,dtwsAdaptiveLevelChanged:128,blockingVisitorIdTimeout:277,liteSocial:18,mobileJsInvocation:297,biscottiBasedDetection:439,coWatchStateChange:440, +embedsVideoDataDidChange:441,shortsFirst:443,cruiseControlEvent:445,qoeClientLoggingContext:446,atvRecommendationJobExecuted:447,tvhtml5UserFeedback:448,producerProjectCreated:449,producerProjectOpened:450,producerProjectDeleted:451,producerProjectElementAdded:453,producerProjectElementRemoved:454,producerAppStateChange:509,producerProjectDiskInsufficientExportFailure:516,producerMediaServicesResetDetails:522,tvhtml5ShowClockEvent:455,deviceCapabilityCheckMetrics:456,youtubeClearcutEvent:461,offlineBrowseFallbackEvent:463, +getCtvTokenEvent:464,startupDroppedFramesSummary:466,screenshotEvent:468,miniAppPlayEvent:469,elementsDebugCounters:470,fontLoadEvent:471,webKillswitchReceived:473,webKillswitchExecuted:474,cameraOpenEvent:475,manualSmoothnessMeasurement:476,tvhtml5AppQualityEvent:477,polymerPropertyAccessEvent:479,miniAppSdkUsage:480,cobaltTelemetryEvent:481,crossDevicePlayback:482,channelCreatedWithObakeImage:484,channelEditedWithObakeImage:485,offlineDeleteEvent:486,crossDeviceNotificationTransfer:487,androidIntentEvent:488, +unpluggedAmbientInterludesCounterfactualEvent:489,keyPlaysPlayback:490,shortsCreationFallbackEvent:493,vssData:491,castMatch:494,miniAppPerformanceMetrics:495,userFeedbackEvent:496,kidsGuestSessionMismatch:498,musicSideloadedPlaylistMigrationEvent:499,sleepTimerSessionFinishEvent:500,watchEpPromoConflict:503,innertubeResponseCacheMetrics:505,miniAppAdEvent:506,dataPlanUpsellEvent:507,producerProjectRenamed:508,producerMediaSelectionEvent:511,embedsAutoplayStatusChanged:512,remoteConnectEvent:513, +connectedSessionMisattributionEvent:514,producerProjectElementModified:515,adsSeenClientLogging:517,producerEvent:518,tvhtml5CleanStart:519,deviceAccountMetricsEvent:520,derpLogEvent:521,playablesPortalEvent:523,ipValidationStarted:524,ipValidationReceived:525,reelsSequenceMutationEvent:527,watchZoomStateChange:528,metadataEditorEvent:529,kidsPrismaDeeplinksEvent:530,creationOrchestrationEvent:531,coordinatedSamplingTriggered:532};var V7Y={},k2v=g.t4("ServiceWorkerLogsDatabase",{xu:(V7Y.SWHealthLog={nm:1},V7Y),shared:!0,upgrade:function(N,H){H(1)&&g.Jr(g.M6(N,"SWHealthLog",{keyPath:"id",autoIncrement:!0}),"swHealthNewRequest",["interface","timestamp"])}, +version:1});var b0w={},I0h=0;var yaR;OX.prototype.requestComplete=function(N,H){H&&(this.B=!0);N=this.removeParams(N);this.T.get(N)||this.T.set(N,H)}; +OX.prototype.isEndpointCFR=function(N){N=this.removeParams(N);return(N=this.T.get(N))?!1:N===!1&&this.B?!0:null}; +OX.prototype.removeParams=function(N){return N.split("?")[0]}; +OX.prototype.removeParams=OX.prototype.removeParams;OX.prototype.isEndpointCFR=OX.prototype.isEndpointCFR;OX.prototype.requestComplete=OX.prototype.requestComplete;OX.getInstance=up;g.k(dA,g.d9);g.C=dA.prototype;g.C.kP=function(){return this.T.kP()}; +g.C.h2=function(N){this.T.T=N}; +g.C.clS=function(){var N=window.navigator.onLine;return N===void 0?!0:N}; +g.C.OD=function(){this.B=!0}; +g.C.listen=function(N,H){return this.T.listen(N,H)}; +g.C.nM=function(N){N=yP(this.T,N);N.then(function(H){g.sf("use_cfr_monitor")&&up().requestComplete("generate_204",H)}); +return N}; +dA.prototype.sendNetworkCheckRequest=dA.prototype.nM;dA.prototype.listen=dA.prototype.listen;dA.prototype.enableErrorFlushing=dA.prototype.OD;dA.prototype.getWindowStatus=dA.prototype.clS;dA.prototype.networkStatusHint=dA.prototype.h2;dA.prototype.isNetworkAvailable=dA.prototype.kP;dA.getInstance=PxD;g.k(g.aC,g.d9);g.aC.prototype.kP=function(){var N=g.NA("yt.networkStatusManager.instance.isNetworkAvailable");return N?N.bind(this.B)():!0}; +g.aC.prototype.h2=function(N){var H=g.NA("yt.networkStatusManager.instance.networkStatusHint").bind(this.B);H&&H(N)}; +g.aC.prototype.nM=function(N){var H=this,c;return g.Y(function(t){c=g.NA("yt.networkStatusManager.instance.sendNetworkCheckRequest").bind(H.B);return g.sf("skip_network_check_if_cfr")&&up().isEndpointCFR("generate_204")?t.return(new Promise(function(h){var O;H.h2(((O=window.navigator)==null?void 0:O.onLine)||!0);h(H.kP())})):c?t.return(c(N)):t.return(!0)})};var AE;g.k(b4,YN);b4.prototype.writeThenSend=function(N,H){H||(H={});H=OGw(N,H);g.En()||(this.T=!1);YN.prototype.writeThenSend.call(this,N,H)}; +b4.prototype.sendThenWrite=function(N,H,c){H||(H={});H=OGw(N,H);g.En()||(this.T=!1);YN.prototype.sendThenWrite.call(this,N,H,c)}; +b4.prototype.sendAndWrite=function(N,H){H||(H={});H=OGw(N,H);g.En()||(this.T=!1);YN.prototype.sendAndWrite.call(this,N,H)}; +b4.prototype.awaitInitialization=function(){return this.L.promise};var GgZ=g.di.ytNetworklessLoggingInitializationOptions||{isNwlInitialized:!1};g.Hw("ytNetworklessLoggingInitializationOptions",GgZ);g.jo.prototype.isReady=function(){!this.config_&&GuL()&&(this.config_=g.pR());return!!this.config_};var LYd,l1,g9;LYd=g.di.ytPubsubPubsubInstance||new g.L0;l1=g.di.ytPubsubPubsubSubscribedKeys||{};g9=g.di.ytPubsubPubsubTopicToKeys||{};g.Kk=g.di.ytPubsubPubsubIsSynchronous||{};g.L0.prototype.subscribe=g.L0.prototype.subscribe;g.L0.prototype.unsubscribeByKey=g.L0.prototype.nC;g.L0.prototype.publish=g.L0.prototype.publish;g.L0.prototype.clear=g.L0.prototype.clear;g.Hw("ytPubsubPubsubInstance",LYd);g.Hw("ytPubsubPubsubTopicToKeys",g9);g.Hw("ytPubsubPubsubIsSynchronous",g.Kk); +g.Hw("ytPubsubPubsubSubscribedKeys",l1);var Ycd={};g.k(iH,g.L);iH.prototype.append=function(N){if(!this.B)throw Error("This does not support the append operation");N=N.N4();this.N4().appendChild(N)}; +g.k(jM,iH);jM.prototype.N4=function(){return this.T};g.k(MM,g.L);MM.prototype.onTouchStart=function(N){this.C=!0;this.B=N.touches.length;this.T.isActive()&&(this.T.stop(),this.S=!0);N=N.touches;this.Y=yPR(this,N)||N.length!=1;var H=N.item(0);this.Y||!H?this.TW=this.Z=Infinity:(this.Z=H.clientX,this.TW=H.clientY);for(H=this.L.length=0;H=0)}if(H||N&&Math.pow(N.clientX-this.Z,2)+Math.pow(N.clientY-this.TW,2)>25)this.U=!0}; +MM.prototype.onTouchEnd=function(N){var H=N.changedTouches;H&&this.C&&this.B==1&&!this.U&&!this.S&&!this.Y&&yPR(this,H)&&(this.Bp=N,this.T.start());this.B=N.touches.length;this.B===0&&(this.U=this.C=!1,this.L.length=0);this.S=!1};var RB=Date.now().toString();var j7R={};var Uj=Symbol("injectionDeps");Af.prototype.toString=function(){return"InjectionToken("+this.name+")"}; +YfS.prototype.resolve=function(N){return N instanceof Sp?XB(this,N.key,[],!0):XB(this,N,[])};var Xr;var QO=window;var fX=g.sf("web_enable_lifecycle_monitoring")&&DN()!==0,efS=g.sf("web_enable_lifecycle_monitoring");JnD.prototype.cancel=function(){for(var N=g.K(this.T),H=N.next();!H.done;H=N.next())H=H.value,H.jobId===void 0||H.E7||this.scheduler.k8(H.jobId),H.E7=!0;this.B.resolve()};g.C=O_.prototype;g.C.install=function(N){this.plugins.push(N);return this}; +g.C.uninstall=function(){var N=this;g.LQ.apply(0,arguments).forEach(function(H){H=N.plugins.indexOf(H);H>-1&&N.plugins.splice(H,1)})}; +g.C.transition=function(N,H){var c=this;fX&&QAh(this.state);var t=this.transitions.find(function(O){return Array.isArray(O.from)?O.from.find(function(F){return F===c.state&&O.to===N}):O.from===c.state&&O.to===N}); +if(t){this.B&&(RM3(this.B),this.B=void 0);vjv(this,N,H);this.state=N;fX&&a5(this.state);t=t.action.bind(this);var h=this.plugins.filter(function(O){return O[N]}).map(function(O){return O[N]}); +t(mPy(this,h),H)}else throw Error("no transition specified from "+this.state+" to "+N);}; +g.C.u1E=function(N){var H=g.LQ.apply(1,arguments);g.S6();for(var c=g.K(N),t=c.next(),h={};!t.done;h={E3:void 0},t=c.next())h.E3=t.value,Ibs(function(O){return function(){eL(O.E3.name);N1(function(){return O.E3.callback.apply(O.E3,g.HE(H))}); +df(O.E3.name)}}(h))}; +g.C.C$s=function(N){var H=g.LQ.apply(1,arguments),c,t,h,O;return g.Y(function(F){F.T==1&&(g.S6(),c=g.K(N),t=c.next(),h={});if(F.T!=3){if(t.done)return F.rE(0);h.SS=t.value;h.Sv=void 0;O=function(M){return function(){eL(M.SS.name);var f=N1(function(){return M.SS.callback.apply(M.SS,g.HE(H))}); +DZ(f)?M.Sv=g.sf("web_lifecycle_error_handling_killswitch")?f.then(function(){df(M.SS.name)}):f.then(function(){df(M.SS.name)},function(d){cGZ(d); +df(M.SS.name)}):df(M.SS.name)}}(h); +Ibs(O);return h.Sv?g.a(F,h.Sv,3):F.rE(3)}h={SS:void 0,Sv:void 0};t=c.next();return F.rE(2)})}; +g.C.cj=function(N){var H=g.LQ.apply(1,arguments),c=this,t=N.map(function(h){return{Zn:function(){eL(h.name);N1(function(){return h.callback.apply(h,g.HE(H))}); +df(h.name)}, +priority:oM(c,h)}}); +t.length&&(this.B=new JnD(t))}; +g.U7.Object.defineProperties(O_.prototype,{currentState:{configurable:!0,enumerable:!0,get:function(){return this.state}}});var Rq;g.k(oq,O_);oq.prototype.S=function(N,H){var c=this;this.T=g.ii(0,function(){c.currentState==="application_navigating"&&c.transition("none")},5E3); +N(H==null?void 0:H.event)}; +oq.prototype.Y=function(N,H){this.T&&(g.jO.k8(this.T),this.T=null);N(H==null?void 0:H.event)};var Yl=[];g.Hw("yt.logging.transport.getScrapedGelPayloads",function(){return Yl});p1.prototype.storePayload=function(N,H){N=ifl(N);this.store[N]?this.store[N].push(H):(this.B={},this.store[N]=[H]);this.T++;g.sf("more_accurate_gel_parser")&&(H=new CustomEvent("TRANSPORTING_NEW_EVENT"),window.dispatchEvent(H));return N}; +p1.prototype.smartExtractMatchingEntries=function(N){if(!N.keys.length)return[];for(var H=coL(this,N.keys.splice(0,1)[0]),c=[],t=0;t=0){t=!1;break a}}t=!0}t&&(H=d5(H))&&this.QK(H)}}; +g.C.Xc=function(N){return N}; +g.C.onTouchStart=function(N){this.ox.onTouchStart(N)}; +g.C.onTouchMove=function(N){this.ox.onTouchMove(N)}; +g.C.onTouchEnd=function(N){if(this.ox)this.ox.onTouchEnd(N)}; +g.C.QK=function(N){this.layoutId?this.yS.executeCommand(N,this.layoutId):(N=new g.ti("There is undefined layoutId when calling the runCommand method.",{componentType:this.componentType}),g.BZ(N))}; +g.C.createServerVe=function(N,H){this.api.createServerVe(N,this);this.api.setTrackingParams(N,H)}; +g.C.logVisibility=function(N,H){this.api.hasVe(N)&&this.api.logVisibility(N,H,this.interactionLoggingClientData)}; +g.C.Os=function(){this.clear(null);this.G3(this.UF);for(var N=g.K(this.NT),H=N.next();!H.done;H=N.next())this.G3(H.value);g.lL.prototype.Os.call(this)};g.k(Mj,sE); +Mj.prototype.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);this.T=H;if(H.text==null&&H.icon==null)g.aS(Error("ButtonRenderer did not have text or an icon set."));else{switch(H.style||null){case "STYLE_UNKNOWN":N="ytp-ad-button-link";break;default:N=null}N!=null&&g.bV(this.element,N);H.text!=null&&(N=g.Fu(H.text),g.YY(N)||(this.element.setAttribute("aria-label",N),this.L=new g.lL({W:"span",K:"ytp-ad-button-text",Wp:N}),g.l(this,this.L),this.L.Jl(this.element)));H.accessibilityData&&H.accessibilityData.accessibilityData&& +H.accessibilityData.accessibilityData.label&&!g.YY(H.accessibilityData.accessibilityData.label)&&this.element.setAttribute("aria-label",H.accessibilityData.accessibilityData.label);H.icon!=null&&(H=G_(H.icon,this.U),H!=null&&(this.B=new g.lL({W:"span",K:"ytp-ad-button-icon",X:[H]}),g.l(this,this.B)),this.S?PH(this.element,this.B.element,0):this.B.Jl(this.element))}}; +Mj.prototype.clear=function(){this.hide()}; +Mj.prototype.onClick=function(N){sE.prototype.onClick.call(this,N);N=g.K(qle(this));for(var H=N.next();!H.done;H=N.next())H=H.value,this.layoutId?this.yS.executeCommand(H,this.layoutId):g.BZ(Error("Missing layoutId for button."));this.api.onAdUxClicked(this.componentType,this.layoutId)};g.k(l9,g.L);l9.prototype.Os=function(){this.B&&g.Kr(this.B);this.T.clear();CD=null;g.L.prototype.Os.call(this)}; +l9.prototype.register=function(N,H){H&&this.T.set(N,H)}; +var CD=null;g.k(RY,sE); +RY.prototype.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);N=H.hoverText||null;H=H.button&&g.P(H.button,g.mM)||null;H==null?g.BZ(Error("AdHoverTextButtonRenderer.button was not set in response.")):(this.button=new Mj(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,void 0,void 0,void 0,void 0,this.L),g.l(this,this.button),this.button.init(Gx("button"),H,this.macros),N&&this.button.element.setAttribute("aria-label",g.Fu(N)),this.button.Jl(this.element),this.Z&&!g.fk(this.button.element, +"ytp-ad-clickable")&&g.bV(this.button.element,"ytp-ad-clickable"),this.L&&g.bV(this.button.element,"ytp-ad-hover-text-button--clean-player"),N&&(this.B=new g.lL({W:"div",K:"ytp-ad-hover-text-container"}),this.S&&(H=new g.lL({W:"div",K:"ytp-ad-hover-text-callout"}),H.Jl(this.B.element),g.l(this,H)),g.l(this,this.B),this.B.Jl(this.element),H=$v(N),PH(this.B.element,H,0)),this.show())}; +RY.prototype.hide=function(){this.button&&this.button.hide();this.B&&this.B.hide();sE.prototype.hide.call(this)}; +RY.prototype.show=function(){this.button&&this.button.show();sE.prototype.show.call(this)};g.k(tE,sE); +tE.prototype.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);c=(N=H.thumbnail)&&ew(N)||"";g.YY(c)?Math.random()<.01&&g.aS(Error("Found AdImage without valid image URL")):(this.T?g.eU(this.element,"backgroundImage","url("+c+")"):va(this.element,{src:c}),va(this.element,{alt:N&&N.accessibility&&N.accessibility.label||""}),H&&H.adRendererCommands&&H.adRendererCommands.clickCommand?this.element.classList.add("ytp-ad-clickable-element"):this.element.classList.remove("ytp-ad-clickable-element"),this.show())}; +tE.prototype.clear=function(){this.hide()};g.k(vS,sE);g.C=vS.prototype;g.C.hide=function(){sE.prototype.hide.call(this);this.L&&this.L.focus()}; +g.C.show=function(){this.L=document.activeElement;sE.prototype.show.call(this);this.U.focus()}; +g.C.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);this.B=H;H.dialogMessages||H.title!=null?H.confirmLabel==null?g.BZ(Error("ConfirmDialogRenderer.confirmLabel was not set.")):H.cancelLabel==null?g.BZ(Error("ConfirmDialogRenderer.cancelLabel was not set.")):DNd(this,H):g.BZ(Error("Neither ConfirmDialogRenderer.title nor ConfirmDialogRenderer.dialogMessages were set."))}; +g.C.clear=function(){g.bM(this.T);this.hide()}; +g.C.Cf=function(){this.hide()}; +g.C.eQ=function(){var N=this.B.cancelEndpoint;N&&(this.layoutId?this.yS.executeCommand(N,this.layoutId):g.BZ(Error("Missing layoutId for confirm dialog.")));this.hide()}; +g.C.Kf=function(){var N=this.B.confirmNavigationEndpoint||this.B.confirmEndpoint;N&&(this.layoutId?this.yS.executeCommand(N,this.layoutId):g.BZ(Error("Missing layoutId for confirm dialog.")));this.hide()};g.k(cF,sE);g.C=cF.prototype; +g.C.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);this.L=H;if(H.defaultText==null&&H.defaultIcon==null)g.BZ(Error("ToggleButtonRenderer must have either text or icon set."));else if(H.defaultIcon==null&&H.toggledIcon!=null)g.BZ(Error("ToggleButtonRenderer cannot have toggled icon set without a default icon."));else{if(H.style){switch(H.style.styleType){case "STYLE_UNKNOWN":case "STYLE_DEFAULT":N="ytp-ad-toggle-button-default-style";break;default:N=null}N!=null&&g.bV(this.U,N)}N={};H.defaultText? +(c=g.Fu(H.defaultText),g.YY(c)||(N.buttonText=c,this.api.D().experiments.M4("a11y_h5_associate_survey_question")||this.T.setAttribute("aria-label",c),this.api.D().experiments.M4("fix_h5_toggle_button_a11y")&&this.B.setAttribute("aria-label",c))):g.AM(this.Ix,!1);H.defaultTooltip&&(N.tooltipText=H.defaultTooltip,this.T.hasAttribute("aria-label")||this.B.setAttribute("aria-label",H.defaultTooltip));H.defaultIcon?(c=G_(H.defaultIcon),this.updateValue("untoggledIconTemplateSpec",c),H.toggledIcon?(this.Us= +!0,c=G_(H.toggledIcon),this.updateValue("toggledIconTemplateSpec",c)):(g.AM(this.Z,!0),g.AM(this.S,!1)),g.AM(this.T,!1)):g.AM(this.B,!1);g.NF(N)||this.update(N);H.isToggled&&(g.bV(this.U,"ytp-ad-toggle-button-toggled"),this.toggleButton(H.isToggled));aL(this);this.G(this.element,"change",this.h5);this.show()}}; +g.C.onClick=function(N){this.NT.length>0&&(this.toggleButton(!this.isToggled()),this.h5());sE.prototype.onClick.call(this,N)}; +g.C.h5=function(){g.QH(this.U,"ytp-ad-toggle-button-toggled",this.isToggled());for(var N=g.K(u5s(this,this.isToggled())),H=N.next();!H.done;H=N.next())H=H.value,this.layoutId?this.yS.executeCommand(H,this.layoutId):g.BZ(Error("Missing layoutId for toggle button."));if(this.isToggled())this.api.onAdUxClicked("toggle-button",this.layoutId);aL(this)}; +g.C.clear=function(){this.hide()}; +g.C.toggleButton=function(N){g.QH(this.U,"ytp-ad-toggle-button-toggled",N);this.T.checked=N;aL(this)}; +g.C.isToggled=function(){return this.T.checked};g.k(Ys,Qz);Ys.prototype.S=function(N){if(Array.isArray(N)){N=g.K(N);for(var H=N.next();!H.done;H=N.next())H=H.value,H instanceof uRt&&this.L(H)}};g.k(aX,sE);g.C=aX.prototype;g.C.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);H.reasons?H.confirmLabel==null?g.BZ(Error("AdFeedbackRenderer.confirmLabel was not set.")):(H.cancelLabel==null&&g.aS(Error("AdFeedbackRenderer.cancelLabel was not set.")),H.title==null&&g.aS(Error("AdFeedbackRenderer.title was not set.")),T73(this,H)):g.BZ(Error("AdFeedbackRenderer.reasons were not set."))}; +g.C.clear=function(){g0(this.S);g0(this.Z);this.U.length=0;this.hide()}; +g.C.hide=function(){this.T&&this.T.hide();this.B&&this.B.hide();sE.prototype.hide.call(this);this.L&&this.L.focus()}; +g.C.show=function(){this.T&&this.T.show();this.B&&this.B.show();this.L=document.activeElement;sE.prototype.show.call(this);this.S.focus()}; +g.C.ek=function(){this.api.onAdUxClicked("ad-feedback-dialog-close-button",this.layoutId);this.publish("a");this.hide()}; +g.C.JYW=function(){this.hide()}; +$O.prototype.N4=function(){return this.T.element}; +$O.prototype.getCommand=function(){return this.B}; +$O.prototype.isChecked=function(){return this.L.checked};g.k(pE,vS);pE.prototype.Cf=function(N){vS.prototype.Cf.call(this,N);this.api.onAdUxClicked("ad-mute-confirm-dialog-close-button")}; +pE.prototype.eQ=function(N){vS.prototype.eQ.call(this,N);this.api.onAdUxClicked("ad-mute-confirm-dialog-close-button")}; +pE.prototype.Kf=function(N){vS.prototype.Kf.call(this,N);this.api.onAdUxClicked("ad-mute-confirm-dialog-confirm-button");this.publish("b")};g.k(yd,sE);g.C=yd.prototype; +g.C.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);this.S=H;if(H.dialogMessage==null&&H.title==null)g.BZ(Error("Neither AdInfoDialogRenderer.dialogMessage nor AdInfoDialogRenderer.title was set."));else{H.confirmLabel==null&&g.aS(Error("AdInfoDialogRenderer.confirmLabel was not set."));if(N=H.closeOverlayRenderer&&g.P(H.closeOverlayRenderer,g.mM)||null)this.T=new Mj(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,["ytp-ad-info-dialog-close-button"],"ad-info-dialog-close-button"), +g.l(this,this.T),this.T.init(Gx("button"),N,this.macros),this.T.Jl(this.element);H.title&&(N=g.Fu(H.title),this.updateValue("title",N));if(H.adReasons)for(N=H.adReasons,c=0;c=this.gE?(this.Us.hide(),this.vp=!0,this.publish("i")):this.L&&this.L.isTemplated()&&(N=Math.max(0,Math.ceil((this.gE-N)/1E3)),N!=this.Xg&&(cas(this.L,{TIME_REMAINING:String(N)}),this.Xg=N)))}};g.k(FU,J0);g.C=FU.prototype; +g.C.init=function(N,H,c){J0.prototype.init.call(this,N,H,c);if(H.image&&H.image.thumbnail)if(H.headline)if(H.description)if((N=H.actionButton&&g.P(H.actionButton,g.mM))&&N.navigationEndpoint){var t=this.api.getVideoData(2);if(t!=null)if(H.image&&H.image.thumbnail){var h=H.image.thumbnail.thumbnails;h!=null&&h.length>0&&g.YY(g.vM(h[0].url))&&(h[0].url=t.profilePicture)}else g.aS(Error("FlyoutCtaRenderer does not have image.thumbnail."));this.L.init(Gx("ad-image"),H.image,c);this.S.init(Gx("ad-text"), +H.headline,c);this.U.init(Gx("ad-text"),H.description,c);this.B.init(Gx("button"),N,c);c=tKZ(this.B.element);UH(this.B.element,c+" This link opens in new tab");this.Us=N.navigationEndpoint;this.api.Ox()||this.show();this.api.addEventListener("playerUnderlayVisibilityChange",this.OL.bind(this));this.Ix=H.startMs||0;uG(this)}else g.BZ(Error("FlyoutCtaRenderer has no valid action button."));else g.BZ(Error("FlyoutCtaRenderer has no description AdText."));else g.BZ(Error("FlyoutCtaRenderer has no headline AdText.")); +else g.aS(Error("FlyoutCtaRenderer has no image."))}; +g.C.onClick=function(N){J0.prototype.onClick.call(this,N);this.api.pauseVideo();!g.m5(this.B.element,N.target)&&this.Us&&(this.layoutId?this.yS.executeCommand(this.Us,this.layoutId):g.BZ(Error("Missing layoutId for flyout cta.")))}; +g.C.Ny=function(){if(this.T){var N=this.T.getProgressState();(N&&N.current||this.gE)&&1E3*N.current>=this.Ix&&(Ah(this),g.nH(this.element,"ytp-flyout-cta-inactive"),this.B.element.removeAttribute("tabIndex"))}}; +g.C.rL=function(){this.clear()}; +g.C.clear=function(){this.hide();this.api.removeEventListener("playerUnderlayVisibilityChange",this.OL.bind(this))}; +g.C.show=function(){this.B&&this.B.show();J0.prototype.show.call(this)}; +g.C.hide=function(){this.B&&this.B.hide();J0.prototype.hide.call(this)}; +g.C.OL=function(N){N=="hidden"?this.show():this.hide()};g.k(hDd,sE);g.C=hDd.prototype; +g.C.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);this.T=H;if(this.T.rectangle)for(N=this.T.likeButton&&g.P(this.T.likeButton,KC),H=this.T.dislikeButton&&g.P(this.T.dislikeButton,KC),this.L.init(Gx("toggle-button"),N,c),this.B.init(Gx("toggle-button"),H,c),this.G(this.element,"change",this.lS),this.U.show(100),this.show(),c=g.K(this.T&&this.T.impressionCommands||[]),N=c.next();!N.done;N=c.next())N=N.value,this.layoutId?this.yS.executeCommand(N,this.layoutId):g.BZ(Error("Missing layoutId for instream user sentiment."))}; +g.C.clear=function(){this.hide()}; +g.C.hide=function(){this.L.hide();this.B.hide();sE.prototype.hide.call(this)}; +g.C.show=function(){this.L.show();this.B.show();sE.prototype.show.call(this)}; +g.C.lS=function(){byL(this.element,"ytp-ad-instream-user-sentiment-selected");this.T.postMessageAction&&this.api.QS("onYtShowToast",this.T.postMessageAction);this.U.hide()}; +g.C.onClick=function(N){this.NT.length>0&&this.lS();sE.prototype.onClick.call(this,N)};g.k(pd,g.L);g.C=pd.prototype;g.C.Os=function(){this.reset();g.L.prototype.Os.call(this)}; +g.C.reset=function(){g.bM(this.U);this.Y=!1;this.T&&this.T.stop();this.S.stop();this.L&&(this.L=!1,this.C.play())}; +g.C.start=function(){this.reset();this.U.G(this.B,"mouseover",this.oZ,this);this.U.G(this.B,"mouseout",this.RZ,this);this.Bp&&(this.U.G(this.B,"focusin",this.oZ,this),this.U.G(this.B,"focusout",this.RZ,this));this.T?this.T.start():(this.Y=this.L=!0,g.eU(this.B,{opacity:this.TW}))}; +g.C.oZ=function(){this.L&&(this.L=!1,this.C.play());this.S.stop();this.T&&this.T.stop()}; +g.C.RZ=function(){this.Y?this.S.start():this.T&&this.T.start()}; +g.C.TC=function(){this.L||(this.L=!0,this.Z.play(),this.Y=!0)};var e0l=[new xS("b.f_",0),new xS("j.s_",2),new xS("r.s_",4),new xS("e.h_",6),new xS("i.s_",8),new xS("s.t_",10),new xS("p.h_",12),new xS("s.i_",14),new xS("f.i_",16),new xS("a.b_",18),new xS("a.o_"),new xS("g.o_",22),new xS("p.i_",24),new xS("p.m_"),new xS("n.k_",20),new xS("i.f_"),new xS("a.s_"),new xS("m.c_"),new xS("n.h_",26),new xS("o.p_"),new xS("m.p_",28),new xS("o.a_"),new xS("d.p_"),new xS("e.i_")].reduce(function(N,H){N[H.B]=H;return N},{});g.k(qe,J0);g.C=qe.prototype; +g.C.init=function(N,H,c){J0.prototype.init.call(this,N,H,c);this.Us=H;(this.Ix=qbl(this))&&g.aS(Error("hasAdControlInClickCommands_ is true."));if(!H||g.NF(H))g.BZ(Error("SkipButtonRenderer was not specified or empty."));else if(!H.message||g.NF(H.message))g.BZ(Error("SkipButtonRenderer.message was not specified or empty."));else if(N=this.S?{iconType:"SKIP_NEXT_NEW"}:{iconType:"SKIP_NEXT"},H=this.api.D().N("delhi_modern_web_player_icons"),H=G_(N,!1,!1,H),H==null?g.BZ(Error("Icon for SkipButton was unable to be retrieved. Icon.IconType: "+N.iconType+ +".")):(this.api.D().N("disable_touch_events_on_skip_button")&&(H.V=Object.assign({},H.V,{"aria-hidden":"true",ArW:"false"})),this.L=new g.lL({W:"button",fq:[this.S?"ytp-ad-skip-button-modern":"ytp-ad-skip-button","ytp-button"],X:[{W:"span",K:this.S?"ytp-ad-skip-button-icon-modern":"ytp-ad-skip-button-icon",X:[H]}]}),g.l(this,this.L),this.L.Jl(this.U.element),this.B=new hE(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,"ytp-ad-skip-button-text"),this.S&&this.B.element.classList.add("ytp-ad-skip-button-text-centered"), +this.B.init(Gx("ad-text"),this.Us.message,c),g.l(this,this.B),PH(this.L.element,this.B.element,0)),!this.api.D().N("disable_touch_events_on_skip_button")){var t=t===void 0?null:t;c=this.api.D();!(this.NT.length>0)&&c.B&&(M_?0:"ontouchstart"in document.documentElement&&(nrl()||r4()))&&(this.G3(this.UF),t&&this.G3(t),this.NT=[this.G(this.element,"touchstart",this.onTouchStart,this),this.G(this.element,"touchmove",this.onTouchMove,this),this.G(this.element,"touchend",this.onTouchEnd,this)])}}; +g.C.clear=function(){this.gE.reset();this.hide()}; +g.C.hide=function(){this.U.hide();this.B&&this.B.hide();Ah(this);J0.prototype.hide.call(this)}; +g.C.onClick=function(N){if(this.L!=null){if(N){var H=N||window.event;H.returnValue=!1;H.preventDefault&&H.preventDefault()}var c;if(WRw(N,{contentCpn:((c=this.api.getVideoData(1))==null?void 0:c.clientPlaybackNonce)||""})===0)this.api.QS("onAbnormalityDetected");else if(J0.prototype.onClick.call(this,N),this.publish("j"),this.api.QS("onAdSkip"),this.vp||!this.Ix)this.api.onAdUxClicked(this.componentType,this.layoutId)}}; +g.C.Xc=function(N){if(!this.vp)return this.Ix&&KA("SkipButton click commands not pruned while ALC exist"),N;var H,c=(H=g.P(N,g.LS))==null?void 0:H.commands;if(!c)return N;N=[];for(H=0;H=this.S&&ISy(this,!0)};g.k(rb,Mj);rb.prototype.init=function(N,H,c){Mj.prototype.init.call(this,N,H,c);N=!1;H.text!=null&&(N=g.Fu(H.text),N=!g.YY(N));N?H.navigationEndpoint==null?g.aS(Error("No visit advertiser clickthrough provided in renderer,")):H.style!=="STYLE_UNKNOWN"?g.aS(Error("Button style was not a link-style type in renderer,")):this.show():g.aS(Error("No visit advertiser text was present in the renderer."))};g.k(EO,sE); +EO.prototype.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);N=H.text;g.YY(s2(N))?g.aS(Error("SimpleAdBadgeRenderer has invalid or empty text")):(N&&N.text&&(H=N.text,this.L&&!this.B&&(H=this.api.D(),H=N.text+" "+(H&&H.B?"\u2022":"\u00b7")),H={text:H,isTemplated:N.isTemplated},N.style&&(H.style=N.style),N.targetId&&(H.targetId=N.targetId),N=new hE(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),N.init(Gx("simple-ad-badge"),H,c),N.Jl(this.element),g.l(this,N)),this.show())}; +EO.prototype.clear=function(){this.hide()};g.k(WJ,Y_);g.k(e6,g.xo);g.C=e6.prototype;g.C.D1=function(){return this.durationMs}; +g.C.stop=function(){this.T&&this.handler.G3(this.T)}; +g.C.Dp=function(N){this.B={seekableStart:0,seekableEnd:this.durationMs/1E3,current:N.current};this.publish("h")}; +g.C.getProgressState=function(){return this.B}; +g.C.Ep=function(N){g.tC(N,2)&&this.publish("g")};g.k(o8,g.xo);g.C=o8.prototype;g.C.D1=function(){return this.durationMs}; +g.C.start=function(){this.T||(this.T=!0,this.timer.start())}; +g.C.stop=function(){this.T&&(this.T=!1,this.timer.stop())}; +g.C.Dp=function(){this.kc+=100;var N=!1;this.kc>this.durationMs&&(this.kc=this.durationMs,this.timer.stop(),N=!0);this.B={seekableStart:0,seekableEnd:this.durationMs/1E3,current:this.kc/1E3};this.publish("h");N&&this.publish("g")}; +g.C.getProgressState=function(){return this.B};g.k(V6,J0);g.C=V6.prototype;g.C.init=function(N,H,c){J0.prototype.init.call(this,N,H,c);var t;if(H==null?0:(t=H.templatedCountdown)==null?0:t.templatedAdText){N=H.templatedCountdown.templatedAdText;if(!N.isTemplated){g.aS(Error("AdDurationRemainingRenderer has no templated ad text."));return}this.B=new hE(this.api,this.layoutId,this.interactionLoggingClientData,this.yS);this.B.init(Gx("ad-text"),N,{});this.B.Jl(this.element);g.l(this,this.B)}this.show()}; +g.C.clear=function(){this.hide()}; +g.C.hide=function(){Ah(this);J0.prototype.hide.call(this)}; +g.C.rL=function(){this.hide()}; +g.C.Ny=function(){if(this.T!=null){var N=this.T.getProgressState();if(N!=null&&N.current!=null&&this.B){var H=this.T instanceof e6?this.videoAdDurationSeconds!==void 0?this.videoAdDurationSeconds:N.seekableEnd:this.videoAdDurationSeconds!==void 0?this.videoAdDurationSeconds:this.T instanceof o8?N.seekableEnd:this.api.getDuration(2,!1);N=N.current;var c,t,h=((c=this.api.getVideoData())==null?0:(t=c.vH)==null?0:t.call(c))?Math.max(H-N,0):H-N;cas(this.B,{FORMATTED_AD_DURATION_REMAINING:String(g.ba(h)), +TIME_REMAINING:String(Math.ceil(h))})}}}; +g.C.show=function(){uG(this);J0.prototype.show.call(this)};g.k(TK,hE);TK.prototype.onClick=function(N){hE.prototype.onClick.call(this,N);this.api.onAdUxClicked(this.componentType)};g.k(pD,sE);pD.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});if(N=H.content){g.ed(this.element,N);var c,t;H=((c=H.interaction)==null?void 0:(t=c.accessibility)==null?void 0:t.label)||N;this.element.setAttribute("aria-label",H)}else g.BZ(Error("AdSimpleAttributedString does not have text content"))}; +pD.prototype.clear=function(){this.hide()}; +pD.prototype.onClick=function(N){sE.prototype.onClick.call(this,N)};g.k(IJ,sE); +IJ.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});(N=H.label)&&N.content&&!g.YY(N.content)?(this.adBadgeText.init(Gx("ad-simple-attributed-string"),new PY(N)),(H=H.adPodIndex)&&H.content&&!g.YY(H.content)&&(this.T=new pD(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),this.T.Jl(this.element),g.l(this,this.T),this.T.element.classList.add("ytp-ad-badge__pod-index"),this.T.init(Gx("ad-simple-attributed-string"),new PY(H))),this.element.classList.add(this.B?"ytp-ad-badge--stark-clean-player": +"ytp-ad-badge--stark"),this.show()):g.BZ(Error("No label is returned in AdBadgeViewModel."))}; +IJ.prototype.show=function(){this.adBadgeText.show();var N;(N=this.T)==null||N.show();sE.prototype.show.call(this)}; +IJ.prototype.hide=function(){this.adBadgeText.hide();var N;(N=this.T)==null||N.hide();sE.prototype.hide.call(this)};g.k(gg,sE);gg.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});(N=H.adPodIndex)&&N.content&&!g.YY(N.content)&&(this.T=new pD(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),this.T.Jl(this.element),g.l(this,this.T),this.T.init(Gx("ad-simple-attributed-string"),new PY(N)),H.visibilityCondition==="AD_POD_INDEX_VISIBILITY_CONDITION_AUTOHIDE"&&this.element.classList.add("ytp-ad-pod-index--autohide"));this.element.classList.add("ytp-ad-pod-index--stark");this.show()}; +gg.prototype.show=function(){var N;(N=this.T)==null||N.show();sE.prototype.show.call(this)}; +gg.prototype.hide=function(){var N;(N=this.T)==null||N.hide();sE.prototype.hide.call(this)};g.k(RK,sE); +RK.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});if(H!=null&&H.text){var c;if(((c=H.text)==null?0:c.content)&&!g.YY(H.text.content)){this.T=new g.lL({W:"div",K:"ytp-ad-disclosure-banner__text",Wp:H.text.content});g.l(this,this.T);this.T.Jl(this.element);if(this.api.D().N("enable_ad_disclosure_banner_a11y_fix")){var t,h,O=(t=H.interaction)==null?void 0:(h=t.accessibility)==null?void 0:h.label;O||(O=H.text.content+" This link opens in new tab");UH(this.element,O)}else{var F;t=((O= +H.interaction)==null?void 0:(F=O.accessibility)==null?void 0:F.label)||H.text.content;this.element.setAttribute("aria-label",t)}var M;if((M=H.interaction)==null?0:M.onTap)this.B=new g.lL({W:"div",K:"ytp-ad-disclosure-banner__chevron",X:[g.pN()]}),g.l(this,this.B),this.B.Jl(this.element),this.api.D().N("enable_ad_disclosure_banner_a11y_fix")&&(Ox(this.element),this.element.setAttribute("tabindex","0"),this.listen("keydown",this.DM));this.show()}}else g.BZ(Error("No banner text found in AdDisclosureBanner."))}; +RK.prototype.DM=function(N){if(N.key==="Enter"||N.key===" ")N.preventDefault(),this.element.click()}; +RK.prototype.clear=function(){this.hide()};g.k(RW,g.lL);RW.prototype.Dp=function(){var N=this.B.getProgressState(),H=N.seekableEnd;this.api.getPresentingPlayerType()===2&&(H=this.L?this.L/1E3:N.seekableEnd);this.progressBar.style.width=gy(new LD(N.seekableStart,H),N.current,0)*100+"%"}; +RW.prototype.onStateChange=function(){g.G0(this.api.D())||(this.api.getPresentingPlayerType()===2?this.T===-1&&(this.show(),this.T=this.B.subscribe("h",this.Dp,this),this.Dp()):this.T!==-1&&(this.hide(),this.B.nC(this.T),this.T=-1))};g.k(eJ,sE); +eJ.prototype.init=function(N,H,c,t){sE.prototype.init.call(this,N,H,c);if(H.skipOrPreviewRenderer){if(N=g.P(H.skipOrPreviewRenderer,Ts))c=new ne(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.B,this.Z),c.Jl(this.Kq),c.init(Gx("skip-button"),N,this.macros),g.l(this,c);if(N=g.P(H.skipOrPreviewRenderer,Ts))var h=N.skipOffsetMilliseconds}H.brandInteractionRenderer&&(N=H.brandInteractionRenderer.brandInteractionRenderer,c=new hDd(this.api,this.layoutId,this.interactionLoggingClientData,this.yS), +c.Jl(this.Ix),c.init(Gx("instream-user-sentiment"),N,this.macros),g.l(this,c));if(N=g.P(H,mfY))if(N=g.P(N,mfY))c=new FU(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.B,!!H.showWithoutLinkedMediaLayout),g.l(this,c),c.Jl(this.S),c.init(Gx("flyout-cta"),N,this.macros);t=t&&t.videoAdDurationSeconds;H.adBadgeRenderer&&(c=H.adBadgeRenderer,N=g.P(c,zg),N!=null?(c=new IJ(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,!1),g.l(this,c),c.Jl(this.T),c.init(Gx("ad-badge"), +N,this.macros),this.L=c.element):(N=c.simpleAdBadgeRenderer,N==null&&(N={text:{text:"Ad",isTemplated:!1}}),c=new EO(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,!0),g.l(this,c),c.Jl(this.T),c.init(Gx("simple-ad-badge"),N,this.macros)));H.adPodIndex&&(N=g.P(H.adPodIndex,UfZ),N!=null&&(c=new gg(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,c),c.Jl(this.T),c.init(Gx("ad-pod-index"),N)));H.adDurationRemaining&&!H.showWithoutLinkedMediaLayout&&(N=H.adDurationRemaining.adDurationRemainingRenderer, +N==null&&(N={templatedCountdown:{templatedAdText:{text:"{FORMATTED_AD_DURATION_REMAINING}",isTemplated:!0}}}),t=new V6(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.B,t,!1),g.l(this,t),t.Jl(this.T),t.init(Gx("ad-duration-remaining"),N,this.macros));H.adInfoRenderer&&(t=g.P(H.adInfoRenderer,nW))&&(N=new Sg(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.element,void 0,!1),g.l(this,N),this.L!==null?this.T.insertBefore(N.element,this.L.nextSibling):N.Jl(this.T), +N.init(Gx("ad-info-hover-text-button"),t,this.macros));H.visitAdvertiserRenderer&&(N=g.P(H.visitAdvertiserRenderer,g.mM))&&(c=yTy(this)&&this.U?this.U:this.T)&&(t=new rb(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,t),t.Jl(c),t.init(Gx("visit-advertiser"),N,this.macros),Ox(t.element),N=tKZ(t.element),UH(t.element,N+" This link opens in new tab"));!(t=this.api.D())||g.l6(t)||g.PX(t)||t.controlsType!="3"&&!t.disableOrganicUi||(h=new RW(this.api,this.B,h,!1),h.Jl(this.gE), +g.l(this,h));H.adDisclosureBannerRenderer&&(H=g.P(H.adDisclosureBannerRenderer,Pw5))&&(h=new RK(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),h.Jl(this.Us),h.init(Gx("ad-disclosure-banner"),H),g.l(this,h));this.api.D().N("enable_updated_html5_player_focus_style")&&g.bV(this.element,"ytp-ad-player-overlay-updated-focus-style");this.show()}; +eJ.prototype.clear=function(){this.hide()};g.hc3.prototype.flush=function(N,H){N=N===void 0?[]:N;H=H===void 0?!1:H;if(g.sf("enable_client_streamz_web")){N=g.K(N);for(var c=N.next();!c.done;c=N.next())c=Hvd(c.value),this.T&&ko(c,sc,2,this.T),c={serializedIncrementBatch:g.Eq(c.L())},g.uF("streamzIncremented",c,{sendIsolatedPayload:H})}}; +g.k(m0Z,g.hc3);var dew=new Map;gW.prototype.set=function(N,H,c){c=c!==void 0?Date.now()+c:void 0;this.T.set(N,H,c)}; +gW.prototype.get=function(N){return this.T.get(N)}; +gW.prototype.remove=function(N){this.T.remove(N)};var ECw=null;var xV=null,stw=null,J53=null,ZCv=null;g.Hw("yt.www.ads.eventcache.getLastCompanionData",function(){return xV}); +g.Hw("yt.www.ads.eventcache.getLastPlaShelfData",function(){return null}); +g.Hw("yt.www.ads.eventcache.getLastUpdateEngagementPanelAction",function(){return stw}); +g.Hw("yt.www.ads.eventcache.getLastChangeEngagementPanelVisibilityAction",function(){return J53}); +g.Hw("yt.www.ads.eventcache.getLastScrollToEngagementPanelCommand",function(){return ZCv});var TGe=new Map([["dark","USER_INTERFACE_THEME_DARK"],["light","USER_INTERFACE_THEME_LIGHT"]]);kz.prototype.handleResponse=function(N,H){if(!H)throw Error("request needs to be passed into ConsistencyService");var c,t;H=((c=H.aH.context)==null?void 0:(t=c.request)==null?void 0:t.consistencyTokenJars)||[];var h;(N=(h=N.responseContext)==null?void 0:h.consistencyTokenJar)&&this.replace(H,N)}; +kz.prototype.replace=function(N,H){N=g.K(N);for(var c=N.next();!c.done;c=N.next())delete this.T[c.value.encryptedTokenJarContents];X9h(this,H)};var vdx=window.location.hostname.split(".").slice(-2).join("."),uz;b0.getInstance=function(){uz=g.NA("yt.clientLocationService.instance");uz||(uz=new b0,g.Hw("yt.clientLocationService.instance",uz));return uz}; +g.C=b0.prototype; +g.C.setLocationOnInnerTubeContext=function(N){N.client||(N.client={});if(this.T)N.client.locationInfo||(N.client.locationInfo={}),N.client.locationInfo.latitudeE7=Math.floor(this.T.coords.latitude*1E7),N.client.locationInfo.longitudeE7=Math.floor(this.T.coords.longitude*1E7),N.client.locationInfo.horizontalAccuracyMeters=Math.round(this.T.coords.accuracy),N.client.locationInfo.forceLocationPlayabilityTokenRefresh=!0;else if(this.L||this.locationPlayabilityToken)N.client.locationPlayabilityToken=this.L|| +this.locationPlayabilityToken}; +g.C.handleResponse=function(N){var H;N=(H=N.responseContext)==null?void 0:H.locationPlayabilityToken;N!==void 0&&(this.locationPlayabilityToken=N,this.T=void 0,g.YI("INNERTUBE_CLIENT_NAME")==="TVHTML5"?(this.localStorage=lZ(this))&&this.localStorage.set("yt-location-playability-token",N,15552E3):g.e2("YT_CL",JSON.stringify({loctok:N}),15552E3,vdx,!0))}; +g.C.clearLocationPlayabilityToken=function(N){N==="TVHTML5"?(this.localStorage=lZ(this))&&this.localStorage.remove("yt-location-playability-token"):g.t9e("YT_CL");this.L=void 0;this.B!==-1&&(clearTimeout(this.B),this.B=-1)}; +g.C.getCurrentPositionFromGeolocation=function(){var N=this;if(!(navigator&&navigator.geolocation&&navigator.geolocation.getCurrentPosition))return Promise.reject(Error("Geolocation unsupported"));var H=!1,c=1E4;g.YI("INNERTUBE_CLIENT_NAME")==="MWEB"&&(H=!0,c=15E3);return new Promise(function(t,h){navigator.geolocation.getCurrentPosition(function(O){N.T=O;t(O)},function(O){h(O)},{enableHighAccuracy:H, +maximumAge:0,timeout:c})})}; +g.C.createUnpluggedLocationInfo=function(N){var H={};N=N.coords;if(N==null?0:N.latitude)H.latitudeE7=Math.floor(N.latitude*1E7);if(N==null?0:N.longitude)H.longitudeE7=Math.floor(N.longitude*1E7);if(N==null?0:N.accuracy)H.locationRadiusMeters=Math.round(N.accuracy);return H}; +g.C.createLocationInfo=function(N){var H={};N=N.coords;if(N==null?0:N.latitude)H.latitudeE7=Math.floor(N.latitude*1E7);if(N==null?0:N.longitude)H.longitudeE7=Math.floor(N.longitude*1E7);return H};g.C=o7e.prototype;g.C.contains=function(N){return Object.prototype.hasOwnProperty.call(this.T,N)}; +g.C.get=function(N){if(this.contains(N))return this.T[N]}; +g.C.set=function(N,H){this.T[N]=H}; +g.C.eH=function(){return Object.keys(this.T)}; +g.C.remove=function(N){delete this.T[N]};Hb.prototype.getModuleId=function(N){return N.serviceId.getModuleId()}; +Hb.prototype.get=function(N){a:{var H=this.mappings.get(N.toString());switch(H.type){case "mapping":N=H.value;break a;case "factory":H=H.value();this.mappings.set(N.toString(),{type:"mapping",value:H});N=H;break a;default:N=Iv(H)}}return N}; +Hb.prototype.registerService=function(N,H){this.mappings.set(N.toString(),{type:"mapping",value:H});return N}; +new Hb;var JX={},MHL=(JX.WEB_UNPLUGGED="^unplugged/",JX.WEB_UNPLUGGED_ONBOARDING="^unplugged/",JX.WEB_UNPLUGGED_OPS="^unplugged/",JX.WEB_UNPLUGGED_PUBLIC="^unplugged/",JX.WEB_CREATOR="^creator/",JX.WEB_KIDS="^kids/",JX.WEB_EXPERIMENTS="^experiments/",JX.WEB_MUSIC="^music/",JX.WEB_REMIX="^music/",JX.WEB_MUSIC_EMBEDDED_PLAYER="^music/",JX.WEB_MUSIC_EMBEDDED_PLAYER="^main_app/|^sfv/",JX);x3.prototype.S=function(N,H,c){H=H===void 0?{}:H;c=c===void 0?AQ:c;var t={context:g.Yi(N.clickTrackingParams,!1,this.U)};var h=this.B(N);if(h){this.T(t,h,H);var O;H=g.kD(this.L());(h=(O=g.P(N.commandMetadata,g.lz))==null?void 0:O.apiUrl)&&(H=h);O=uIe(bE(H));N=Object.assign({},{command:N},void 0);t={input:O,nP:pQ(O),aH:t,config:N};t.config.jL?t.config.jL.identity=c:t.config.jL={identity:c};return t}c=new g.ti("Error: Failed to create Request from Command.",N);g.BZ(c)}; +g.U7.Object.defineProperties(x3.prototype,{U:{configurable:!0,enumerable:!0,get:function(){return!1}}}); +g.k(JL,x3);g.k(xi,JL);xi.prototype.S=function(){return{input:"/getDatasyncIdsEndpoint",nP:pQ("/getDatasyncIdsEndpoint","GET"),aH:{}}}; +xi.prototype.L=function(){return[]}; +xi.prototype.B=function(){}; +xi.prototype.T=function(){};var sdG={},kLl=(sdG.GET_DATASYNC_IDS=bD(xi),sdG);var nC={},BR5=(nC["analytics.explore"]="LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE",nC["artist.analytics"]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS",nC["artist.events"]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS",nC["artist.presskit"]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE",nC["asset.claimed_videos"]="LATENCY_ACTION_CREATOR_CMS_ASSET_CLAIMED_VIDEOS",nC["asset.composition"]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION",nC["asset.composition_ownership"]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_OWNERSHIP", +nC["asset.composition_policy"]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_POLICY",nC["asset.embeds"]="LATENCY_ACTION_CREATOR_CMS_ASSET_EMBEDS",nC["asset.history"]="LATENCY_ACTION_CREATOR_CMS_ASSET_HISTORY",nC["asset.issues"]="LATENCY_ACTION_CREATOR_CMS_ASSET_ISSUES",nC["asset.licenses"]="LATENCY_ACTION_CREATOR_CMS_ASSET_LICENSES",nC["asset.metadata"]="LATENCY_ACTION_CREATOR_CMS_ASSET_METADATA",nC["asset.ownership"]="LATENCY_ACTION_CREATOR_CMS_ASSET_OWNERSHIP",nC["asset.policy"]="LATENCY_ACTION_CREATOR_CMS_ASSET_POLICY", +nC["asset.references"]="LATENCY_ACTION_CREATOR_CMS_ASSET_REFERENCES",nC["asset.shares"]="LATENCY_ACTION_CREATOR_CMS_ASSET_SHARES",nC["asset.sound_recordings"]="LATENCY_ACTION_CREATOR_CMS_ASSET_SOUND_RECORDINGS",nC["asset_group.assets"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_ASSETS",nC["asset_group.campaigns"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CAMPAIGNS",nC["asset_group.claimed_videos"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CLAIMED_VIDEOS",nC["asset_group.metadata"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_METADATA", +nC["song.analytics"]="LATENCY_ACTION_CREATOR_SONG_ANALYTICS",nC.creator_channel_dashboard="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD",nC["channel.analytics"]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS",nC["channel.comments"]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS",nC["channel.content"]="LATENCY_ACTION_CREATOR_POST_LIST",nC["channel.content.promotions"]="LATENCY_ACTION_CREATOR_PROMOTION_LIST",nC["channel.copyright"]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT",nC["channel.editing"]="LATENCY_ACTION_CREATOR_CHANNEL_EDITING", +nC["channel.monetization"]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION",nC["channel.music"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC",nC["channel.music_storefront"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT",nC["channel.playlists"]="LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS",nC["channel.translations"]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS",nC["channel.videos"]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",nC["channel.live_streaming"]="LATENCY_ACTION_CREATOR_LIVE_STREAMING",nC["dialog.copyright_strikes"]= +"LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES",nC["dialog.video_copyright"]="LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT",nC["dialog.uploads"]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS",nC.owner="LATENCY_ACTION_CREATOR_CMS_DASHBOARD",nC["owner.allowlist"]="LATENCY_ACTION_CREATOR_CMS_ALLOWLIST",nC["owner.analytics"]="LATENCY_ACTION_CREATOR_CMS_ANALYTICS",nC["owner.art_tracks"]="LATENCY_ACTION_CREATOR_CMS_ART_TRACKS",nC["owner.assets"]="LATENCY_ACTION_CREATOR_CMS_ASSETS",nC["owner.asset_groups"]= +"LATENCY_ACTION_CREATOR_CMS_ASSET_GROUPS",nC["owner.bulk"]="LATENCY_ACTION_CREATOR_CMS_BULK_HISTORY",nC["owner.campaigns"]="LATENCY_ACTION_CREATOR_CMS_CAMPAIGNS",nC["owner.channel_invites"]="LATENCY_ACTION_CREATOR_CMS_CHANNEL_INVITES",nC["owner.channels"]="LATENCY_ACTION_CREATOR_CMS_CHANNELS",nC["owner.claimed_videos"]="LATENCY_ACTION_CREATOR_CMS_CLAIMED_VIDEOS",nC["owner.claims"]="LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING",nC["owner.claims.manual"]="LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING",nC["owner.delivery"]= +"LATENCY_ACTION_CREATOR_CMS_CONTENT_DELIVERY",nC["owner.delivery_templates"]="LATENCY_ACTION_CREATOR_CMS_DELIVERY_TEMPLATES",nC["owner.issues"]="LATENCY_ACTION_CREATOR_CMS_ISSUES",nC["owner.licenses"]="LATENCY_ACTION_CREATOR_CMS_LICENSES",nC["owner.pitch_music"]="LATENCY_ACTION_CREATOR_CMS_PITCH_MUSIC",nC["owner.policies"]="LATENCY_ACTION_CREATOR_CMS_POLICIES",nC["owner.releases"]="LATENCY_ACTION_CREATOR_CMS_RELEASES",nC["owner.reports"]="LATENCY_ACTION_CREATOR_CMS_REPORTS",nC["owner.videos"]="LATENCY_ACTION_CREATOR_CMS_VIDEOS", +nC["playlist.videos"]="LATENCY_ACTION_CREATOR_PLAYLIST_VIDEO_LIST",nC["post.comments"]="LATENCY_ACTION_CREATOR_POST_COMMENTS",nC["post.edit"]="LATENCY_ACTION_CREATOR_POST_EDIT",nC["promotion.edit"]="LATENCY_ACTION_CREATOR_PROMOTION_EDIT",nC["video.analytics"]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS",nC["video.claims"]="LATENCY_ACTION_CREATOR_VIDEO_CLAIMS",nC["video.comments"]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS",nC["video.copyright"]="LATENCY_ACTION_CREATOR_VIDEO_COPYRIGHT",nC["video.edit"]="LATENCY_ACTION_CREATOR_VIDEO_EDIT", +nC["video.editor"]="LATENCY_ACTION_CREATOR_VIDEO_EDITOR",nC["video.editor_async"]="LATENCY_ACTION_CREATOR_VIDEO_EDITOR_ASYNC",nC["video.live_settings"]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS",nC["video.live_streaming"]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING",nC["video.monetization"]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION",nC["video.policy"]="LATENCY_ACTION_CREATOR_VIDEO_POLICY",nC["video.rights_management"]="LATENCY_ACTION_CREATOR_VIDEO_RIGHTS_MANAGEMENT",nC["video.translations"]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS", +nC),Sb={},i7l=(Sb.auto_search="LATENCY_ACTION_AUTO_SEARCH",Sb.ad_to_ad="LATENCY_ACTION_AD_TO_AD",Sb.ad_to_video="LATENCY_ACTION_AD_TO_VIDEO",Sb.app_startup="LATENCY_ACTION_APP_STARTUP",Sb.browse="LATENCY_ACTION_BROWSE",Sb.cast_splash="LATENCY_ACTION_CAST_SPLASH",Sb.channel_activity="LATENCY_ACTION_KIDS_CHANNEL_ACTIVITY",Sb.channels="LATENCY_ACTION_CHANNELS",Sb.chips="LATENCY_ACTION_CHIPS",Sb.commerce_transaction="LATENCY_ACTION_COMMERCE_TRANSACTION",Sb.direct_playback="LATENCY_ACTION_DIRECT_PLAYBACK", +Sb.editor="LATENCY_ACTION_EDITOR",Sb.embed="LATENCY_ACTION_EMBED",Sb.embed_no_video="LATENCY_ACTION_EMBED_NO_VIDEO",Sb.entity_key_serialization_perf="LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF",Sb.entity_key_deserialization_perf="LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF",Sb.explore="LATENCY_ACTION_EXPLORE",Sb.favorites="LATENCY_ACTION_FAVORITES",Sb.home="LATENCY_ACTION_HOME",Sb.inboarding="LATENCY_ACTION_INBOARDING",Sb.landing="LATENCY_ACTION_LANDING",Sb.learning="LATENCY_ACTION_LEARNING", +Sb.learning_journey_browse="LATENCY_ACTION_LEARNING_JOURNEY_BROWSE",Sb.learning_journey_watch="LATENCY_ACTION_LEARNING_JOURNEY_WATCH",Sb.library="LATENCY_ACTION_LIBRARY",Sb.live="LATENCY_ACTION_LIVE",Sb.live_pagination="LATENCY_ACTION_LIVE_PAGINATION",Sb.management="LATENCY_ACTION_MANAGEMENT",Sb.mini_app="LATENCY_ACTION_MINI_APP_PLAY",Sb.notification_settings="LATENCY_ACTION_KIDS_NOTIFICATION_SETTINGS",Sb.onboarding="LATENCY_ACTION_ONBOARDING",Sb.parent_profile_settings="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS", +Sb.parent_tools_collection="LATENCY_ACTION_PARENT_TOOLS_COLLECTION",Sb.parent_tools_dashboard="LATENCY_ACTION_PARENT_TOOLS_DASHBOARD",Sb.player_att="LATENCY_ACTION_PLAYER_ATTESTATION",Sb.prebuffer="LATENCY_ACTION_PREBUFFER",Sb.prefetch="LATENCY_ACTION_PREFETCH",Sb.profile_settings="LATENCY_ACTION_KIDS_PROFILE_SETTINGS",Sb.profile_switcher="LATENCY_ACTION_LOGIN",Sb.projects="LATENCY_ACTION_PROJECTS",Sb.reel_watch="LATENCY_ACTION_REEL_WATCH",Sb.results="LATENCY_ACTION_RESULTS",Sb.red="LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE", +Sb.premium="LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE",Sb.privacy_policy="LATENCY_ACTION_KIDS_PRIVACY_POLICY",Sb.review="LATENCY_ACTION_REVIEW",Sb.search_overview_answer="LATENCY_ACTION_SEARCH_OVERVIEW_ANSWER",Sb.search_ui="LATENCY_ACTION_SEARCH_UI",Sb.search_suggest="LATENCY_ACTION_SUGGEST",Sb.search_zero_state="LATENCY_ACTION_SEARCH_ZERO_STATE",Sb.secret_code="LATENCY_ACTION_KIDS_SECRET_CODE",Sb.seek="LATENCY_ACTION_PLAYER_SEEK",Sb.settings="LATENCY_ACTION_SETTINGS",Sb.store="LATENCY_ACTION_STORE", +Sb.supervision_dashboard="LATENCY_ACTION_KIDS_SUPERVISION_DASHBOARD",Sb.tenx="LATENCY_ACTION_TENX",Sb.video_preview="LATENCY_ACTION_VIDEO_PREVIEW",Sb.video_to_ad="LATENCY_ACTION_VIDEO_TO_AD",Sb.watch="LATENCY_ACTION_WATCH",Sb.watch_it_again="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN",Sb["watch,watch7"]="LATENCY_ACTION_WATCH",Sb["watch,watch7_html5"]="LATENCY_ACTION_WATCH",Sb["watch,watch7ad"]="LATENCY_ACTION_WATCH",Sb["watch,watch7ad_html5"]="LATENCY_ACTION_WATCH",Sb.wn_comments="LATENCY_ACTION_LOAD_COMMENTS", +Sb.ww_rqs="LATENCY_ACTION_WHO_IS_WATCHING",Sb.voice_assistant="LATENCY_ACTION_VOICE_ASSISTANT",Sb.cast_load_by_entity_to_watch="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH",Sb.networkless_performance="LATENCY_ACTION_NETWORKLESS_PERFORMANCE",Sb.gel_compression="LATENCY_ACTION_GEL_COMPRESSION",Sb.gel_jspb_serialize="LATENCY_ACTION_GEL_JSPB_SERIALIZE",Sb.attestation_challenge_fetch="LATENCY_ACTION_ATTESTATION_CHALLENGE_FETCH",Sb);Object.assign(i7l,BR5);g.k(O8Z,dF);var sMy=new Bb("aft-recorded",O8Z);var yGd=g.di.ytLoggingGelSequenceIdObj_||{};g.Hw("ytLoggingGelSequenceIdObj_",yGd);var xc=g.di.ytLoggingLatencyUsageStats_||{};g.Hw("ytLoggingLatencyUsageStats_",xc);ek.prototype.tick=function(N,H,c,t){qc(this,"tick_"+N+"_"+H)||g.uF("latencyActionTicked",{tickName:N,clientActionNonce:H},{timestamp:c,cttAuthInfo:t})}; +ek.prototype.info=function(N,H,c){var t=Object.keys(N).join("");qc(this,"info_"+t+"_"+H)||(N=Object.assign({},N),N.clientActionNonce=H,g.uF("latencyActionInfo",N,{cttAuthInfo:c}))}; +ek.prototype.jspbInfo=function(N,H,c){for(var t="",h=0;h=h.length?(H.append(h),N-=h.length):N?(H.append(new Uint8Array(h.buffer,h.byteOffset,N)),c.append(new Uint8Array(h.buffer,h.byteOffset+N,h.length-N)),N=0):c.append(h);return{Iz:H,CA:c}}; +eB.prototype.isFocused=function(N){return N>=this.L&&N=64&&(this.Y.set(N.subarray(0,64-this.B),this.B),H=64-this.B,this.B=0,p6Z(this,this.Y,0));for(;H+64<=c;H+=64)p6Z(this,N,H);H=this.start&&(N=2&&c.ssdaiAdsConfig&&KA("Unexpected ad placement renderers length",N.slot,null,{length:t.length});var h;((h=c.adSlots)==null?0:h.some(function(O){var F,M;return((F=g.P(O,iZ))==null?void 0:(M=F.adSlotMetadata)==null?void 0:M.slotType)==="SLOT_TYPE_PLAYER_BYTES"}))||t.some(function(O){var F,M,f,d; +return!!((F=O.renderer)==null?0:(M=F.linearAdSequenceRenderer)==null?0:(f=M.linearAds)==null?0:f.length)||!((d=O.renderer)==null||!d.instreamVideoAdRenderer)})||p03(N)})}; +aY.prototype.vl=function(){reD(this.T)};im.prototype.nS=function(){var N=this;sIZ(this.B,function(){var H=lQ(N.slot.clientMetadata,"metadata_type_ad_break_request_data");return H.cueProcessedMs?N.T.get().fetch({z9:H.getAdBreakUrl,NK:new g.vn(H.Uh,H.Lg),cueProcessedMs:H.cueProcessedMs}):N.T.get().fetch({z9:H.getAdBreakUrl,NK:new g.vn(H.Uh,H.Lg)})})}; +im.prototype.vl=function(){reD(this.B)};pG.prototype.nS=function(){var N=this.slot.clientMetadata,H,c=(H=this.slot.fulfilledLayout)!=null?H:lQ(N,"metadata_type_fulfilled_layout");Ew3(this.callback,this.slot,c)}; +pG.prototype.vl=function(){qB(this.callback,this.slot,new S("Got CancelSlotFulfilling request for "+this.slot.slotType+" in DirectFulfillmentAdapter.",void 0,"ADS_CLIENT_ERROR_MESSAGE_INVALID_FULFILLMENT_CANCELLATION_REQUEST"),"ADS_CLIENT_ERROR_TYPE_FULFILL_SLOT_FAILED")};hU.prototype.build=function(N,H){return H.fulfilledLayout||Ky(H,{lG:["metadata_type_fulfilled_layout"]})?new pG(N,H):this.L(N,H)};g.k(yx,hU); +yx.prototype.L=function(N,H){if(Ky(H,{lG:["metadata_type_ad_break_request_data","metadata_type_cue_point"],slotType:"SLOT_TYPE_AD_BREAK_REQUEST"}))return new aY(N,H,this.T,this.B,this.Uy,this.Rx,this.Pp,this.k_,this.ID);if(Ky(H,{lG:["metadata_type_ad_break_request_data"],slotType:"SLOT_TYPE_AD_BREAK_REQUEST"}))return new im(N,H,this.T,this.B,this.Uy,this.Rx);throw new S("Unsupported slot with type: "+H.slotType+" and client metadata: "+$A(H.clientMetadata)+" in AdBreakRequestSlotFulfillmentAdapterFactory.");};g.k(GR,hU);GR.prototype.L=function(N,H){throw new S("Unsupported slot with type: "+H.slotType+" and client metadata: "+$A(H.clientMetadata)+" in DefaultFulfillmentAdapterFactory.");};g.C=Y3l.prototype;g.C.y4=function(){return this.slot}; +g.C.dE=function(){return this.layout}; +g.C.init=function(){}; +g.C.release=function(){}; +g.C.startRendering=function(N){if(N.layoutId!==this.layout.layoutId)this.callback.An(this.slot,N,new sz("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED");else{var H=lQ(N.clientMetadata,"metadata_type_ad_break_response_data");this.slot.slotType==="SLOT_TYPE_AD_BREAK_REQUEST"?(this.callback.AF(this.slot,N),pke(this.L, +this.slot,H)):KA("Unexpected slot type in AdBreakResponseLayoutRenderingAdapter - this should never happen",this.slot,N)}}; +g.C.BH=function(N,H){N.layoutId!==this.layout.layoutId?this.callback.An(this.slot,N,new sz("Tried to stop rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_EXIT_LAYOUT_FAILED"):(this.callback.Pr(this.slot,N,H),Cgs(this),e73(this))};g.k(eq,g.xo);g.C=eq.prototype;g.C.y4=function(){return this.B.slot}; +g.C.dE=function(){return this.B.layout}; +g.C.init=function(){this.L.get().addListener(this)}; +g.C.release=function(){this.L.get().removeListener(this);this.dispose()}; +g.C.nV=function(){}; +g.C.xm=function(){}; +g.C.yp=function(){}; +g.C.Oq=function(){}; +g.C.startRendering=function(N){var H=this;yN(this.B,N,function(){return void H.Sr()})}; +g.C.Sr=function(){this.L.get().Sr(this.T)}; +g.C.BH=function(N,H){var c=this;yN(this.B,N,function(){var t=c.L.get();JMy(t,c.T,3);c.T=[];c.callback.Pr(c.slot,N,H)})}; +g.C.Os=function(){this.L.uo()||this.L.get().removeListener(this);g.xo.prototype.Os.call(this)}; +g.U7.Object.defineProperties(eq.prototype,{slot:{configurable:!0,enumerable:!0,get:function(){return this.B.slot}}, +layout:{configurable:!0,enumerable:!0,get:function(){return this.B.layout}}});sd.prototype.F1=function(N,H){H=H===void 0?!1:H;var c=(this.L.get(N)||[]).concat();if(H=H&&y9s(N)){var t=this.L.get(H);t&&c.push.apply(c,g.HE(t))}Ba(this,N,c);this.T.add(N);H&&this.T.add(H)}; +sd.prototype.xG=function(N,H){H=H===void 0?!1:H;if(!this.T.has(N)){var c=H&&y9s(N);c&&(H=!this.T.has(c));this.F1(N,H)}};g.k(E83,Y_);g.k(h2D,eq);g.C=h2D.prototype;g.C.OI=function(N,H){J6("ads-engagement-panel-layout",N,this.Y.get().EV,this.Pp.get(),this.U,this.S,this.y4(),this.dE(),H)}; +g.C.startRendering=function(N){GE(this.Fg,this.y4(),this.dE(),g.P(this.dE().renderingContent,SD),this.callback,"metadata_type_ads_engagement_panel_layout_view_model",function(H,c,t,h,O){return new E83(H,c,t,h,O)},this.T); +eq.prototype.startRendering.call(this,N)}; +g.C.AF=function(N,H){this.S===H.layoutId&&(this.U===null?this.U=this.Pp.get().ER():KA("OnLayoutEntered should set engagePingCallback, but it was not null",this.slot,this.layout))}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.Os=function(){hI(this.Le(),this);eq.prototype.Os.call(this)};g.k(n$Z,Y_);g.k(Rw,eq);g.C=Rw.prototype;g.C.OI=function(N,H){J6("banner-image",N,this.Y.get().EV,this.Pp.get(),this.U,this.S,this.y4(),this.dE(),H)}; +g.C.startRendering=function(N){GE(this.Fg,this.y4(),this.dE(),g.P(this.dE().renderingContent,JD),this.callback,"metadata_type_banner_image_layout_view_model",function(H,c,t,h,O){return new n$Z(H,c,t,h,O)},this.T); +eq.prototype.startRendering.call(this,N)}; +g.C.AF=function(N,H){this.S===H.layoutId&&(this.U===null?this.U=this.Pp.get().ER():KA("OnLayoutEntered should set engagePingCallback, but it was not null",this.slot,this.layout))}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.Os=function(){hI(this.Le(),this);eq.prototype.Os.call(this)};g.k(D6w,Y_);g.k(kN,eq);g.C=kN.prototype;g.C.OI=function(N,H){J6("action-companion",N,this.Y.get().EV,this.Pp.get(),this.U,this.S,this.y4(),this.dE(),H)}; +g.C.startRendering=function(N){GE(this.Fg,this.y4(),this.dE(),g.P(this.dE().renderingContent,Rf),this.callback,"metadata_type_action_companion_ad_renderer",function(H,c,t,h,O){return new D6w(H,c,t,h,O)},this.T); +eq.prototype.startRendering.call(this,N)}; +g.C.AF=function(N,H){H.layoutId===this.layout.layoutId?this.Fg.xG("impression"):this.S===H.layoutId&&(this.U===null?this.U=this.Pp.get().ER():KA("OnLayoutEntered should set engagePingCallback, but it was not null",this.slot,this.layout))}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.Os=function(){hI(this.Le(),this);eq.prototype.Os.call(this)};g.k(yMD,Y_);g.k(Rzv,eq);g.C=Rzv.prototype;g.C.OI=function(N,H){J6("image-companion",N,this.Y.get().EV,this.Pp.get(),this.U,this.S,this.y4(),this.dE(),H)}; +g.C.startRendering=function(N){GE(this.Fg,this.y4(),this.dE(),g.P(this.dE().renderingContent,p5),this.callback,"metadata_type_image_companion_ad_renderer",function(H,c,t,h,O){return new yMD(H,c,t,h,O)},this.T); +eq.prototype.startRendering.call(this,N)}; +g.C.AF=function(N,H){H.layoutId===this.layout.layoutId?this.Fg.xG("impression"):this.S===H.layoutId&&(this.U===null?this.U=this.Pp.get().ER():KA("OnLayoutEntered should set engagePingCallback, but it was not null",this.slot,this.layout))}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.Os=function(){hI(this.Le(),this);eq.prototype.Os.call(this)};g.k(i03,Y_);g.k(IUv,eq);g.C=IUv.prototype;g.C.OI=function(N,H){J6("shopping-companion",N,this.Y.get().EV,this.Pp.get(),this.U,this.S,this.y4(),this.dE(),H)}; +g.C.startRendering=function(N){GE(this.Fg,this.y4(),this.dE(),void 0,this.callback,"metadata_type_shopping_companion_carousel_renderer",function(H,c,t,h,O){return new i03(H,c,t,h,O)},this.T); +eq.prototype.startRendering.call(this,N)}; +g.C.AF=function(N,H){H.layoutId===this.layout.layoutId?this.Fg.xG("impression"):this.S===H.layoutId&&(this.U===null?this.U=this.Pp.get().ER():KA("OnLayoutEntered should set engagePingCallback, but it was not null",this.slot,this.layout))}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.Os=function(){hI(this.Le(),this);eq.prototype.Os.call(this)};g.k(WSl,eq);g.C=WSl.prototype;g.C.startRendering=function(N){GE(this.Fg,this.y4(),this.dE(),void 0,this.callback,"metadata_type_action_companion_ad_renderer",function(H,c,t,h,O){return new D6w(H,c,t,h,O)},this.T); +eq.prototype.startRendering.call(this,N)}; +g.C.AF=function(){}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.Os=function(){hI(this.Le(),this);eq.prototype.Os.call(this)}; +g.C.OI=function(){};g.C=ojv.prototype;g.C.y4=function(){return this.slot}; +g.C.dE=function(){return this.layout}; +g.C.init=function(){this.k_.get().addListener(this);this.k_.get().CS.push(this);var N=lQ(this.layout.clientMetadata,"metadata_type_video_length_seconds"),H=lQ(this.layout.clientMetadata,"metadata_type_active_view_traffic_type");P8(this.layout.S1)&&$6(this.r_.get(),this.layout.layoutId,{T$:H,A7:N,listener:this})}; +g.C.release=function(){this.k_.get().removeListener(this);mid(this.k_.get(),this);P8(this.layout.S1)&&OS(this.r_.get(),this.layout.layoutId)}; +g.C.startRendering=function(N){this.callback.AF(this.slot,N)}; +g.C.BH=function(N,H){F2L(this.Rx.get())&&!this.T&&(this.Fg.xG("abandon"),this.T=!0);this.callback.Pr(this.slot,N,H)}; +g.C.aR=function(N){switch(N.id){case "part2viewed":this.Fg.xG("start");this.Fg.xG("impression");break;case "videoplaytime25":this.Fg.xG("first_quartile");break;case "videoplaytime50":this.Fg.xG("midpoint");break;case "videoplaytime75":this.Fg.xG("third_quartile");break;case "videoplaytime100":F2L(this.Rx.get())?this.T||(this.Fg.xG("complete"),this.T=!0):this.Fg.xG("complete");$S(this.Fg)&&p_(this.Fg,Infinity,!0);HID(this.Rx.get())&&mC(this.B,Infinity,!0);break;case "engagedview":$S(this.Fg)||this.Fg.xG("progress"); +break;case "conversionview":case "videoplaybackstart":case "videoplayback2s":case "videoplayback10s":break;default:KA("Cue Range ID unknown in DiscoveryLayoutRenderingAdapter",this.slot,this.layout)}}; +g.C.onVolumeChange=function(){}; +g.C.UV=function(){}; +g.C.pC=function(){}; +g.C.Fy=function(){}; +g.C.onFullscreenToggled=function(){}; +g.C.jj=function(){}; +g.C.vR=function(){}; +g.C.t1=function(N){HID(this.Rx.get())&&mC(this.B,N*1E3,!1);$S(this.Fg)&&p_(this.Fg,N*1E3,!1)}; +g.C.QQ=function(){}; +g.C.E_=function(){this.Fg.xG("active_view_measurable")}; +g.C.IV=function(){this.Fg.xG("active_view_viewable")}; +g.C.SR=function(){this.Fg.xG("active_view_fully_viewable_audible_half_duration")}; +g.C.oV=function(){this.Fg.xG("audio_measurable")}; +g.C.RV=function(){this.Fg.xG("audio_audible")};g.k(Y3,eq);g.C=Y3.prototype;g.C.init=function(){eq.prototype.init.call(this);var N=lQ(this.layout.clientMetadata,"metadata_type_instream_ad_player_overlay_renderer"),H={adsClientData:this.layout.z0};this.T.push(new WJ(N,this.layout.layoutId,lQ(this.layout.clientMetadata,"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds"),H,!0))}; +g.C.B_=function(){this.U||this.k_.get().resumeVideo(1)}; +g.C.startRendering=function(N){eq.prototype.startRendering.call(this,N);Nj(this.k_.get(),"ad-showing");this.callback.AF(this.slot,N);this.S.Mv=this}; +g.C.BH=function(N,H){eq.prototype.BH.call(this,N,H);Gg(this.k_.get(),"ad-showing");MW(this.S,this)}; +g.C.OI=function(N){switch(N){case "ad-info-icon-button":(this.U=this.k_.get().PL(1))||this.k_.get().pauseVideo();break;case "visit-advertiser":this.k_.get().pauseVideo()}}; +g.C.Os=function(){eq.prototype.Os.call(this)};g.k(zAy,Y_);g.k(BT,eq);g.C=BT.prototype;g.C.startRendering=function(N){GE(this.Fg,this.y4(),this.dE(),void 0,this.callback,"metadata_type_top_banner_image_text_icon_buttoned_layout_view_model",function(H,c,t,h,O){return new zAy(H,c,t,h,O)},this.T); +eq.prototype.startRendering.call(this,N)}; +g.C.AF=function(){}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.Os=function(){hI(this.Le(),this);eq.prototype.Os.call(this)}; +g.C.OI=function(){};g.k(qje,Y_);g.k(iR,eq);iR.prototype.init=function(){eq.prototype.init.call(this);this.T.push(new qje(g.P(this.layout.renderingContent,oC),this.layout.layoutId,{adsClientData:this.layout.z0}))}; +iR.prototype.OI=function(){oJ(this.U.get(),this.S)&&hJ(this.Pp.get(),3)}; +iR.prototype.startRendering=function(N){eq.prototype.startRendering.call(this,N);this.callback.AF(this.slot,N)}; +iR.prototype.Os=function(){eq.prototype.Os.call(this)};g.k(gm,Y_);g.k(ZM,eq);ZM.prototype.init=function(){eq.prototype.init.call(this);var N=g.P(this.layout.renderingContent,$o)||lQ(this.layout.clientMetadata,"metadata_type_ad_action_interstitial_renderer"),H=tN(this.Fg);this.T.push(new gm(N,H,this.layout.layoutId,{adsClientData:this.layout.z0},!0,!0))}; +ZM.prototype.startRendering=function(N){eq.prototype.startRendering.call(this,N);this.callback.AF(this.slot,N)}; +ZM.prototype.OI=function(N,H){if(H===this.layout.layoutId)switch(N){case "skip-button":var c;(N=(c=lQ(this.layout.clientMetadata,"metadata_type_ad_pod_skip_target_callback_ref"))==null?void 0:c.current)&&N.ML(this.y4(),this.layout)}}; +ZM.prototype.Os=function(){eq.prototype.Os.call(this)};hh.prototype.build=function(N,H,c,t){if(u5(t,{lG:["metadata_type_ad_break_response_data"],xH:["LAYOUT_TYPE_AD_BREAK_RESPONSE","LAYOUT_TYPE_THROTTLED_AD_BREAK_RESPONSE"]}))return new Y3l(N,c,t,this.B,this.L,this.T);throw new sz("Unsupported layout with type: "+t.layoutType+" and client metadata: "+$A(t.clientMetadata)+" in AdBreakRequestLayoutRenderingAdapterFactory.");};g.k(sFZ,Y_);g.k(ul,eq);g.C=ul.prototype;g.C.OI=function(N,H){J6("ads-engagement-panel",N,this.Y.get().EV,this.Pp.get(),this.U,this.S,this.y4(),this.dE(),H)}; +g.C.startRendering=function(N){GE(this.Fg,this.y4(),this.dE(),g.P(this.dE().renderingContent,ua),this.callback,"metadata_type_ads_engagement_panel_renderer",function(H,c,t,h,O){return new sFZ(H,c,t,h,O)},this.T); +eq.prototype.startRendering.call(this,N)}; +g.C.AF=function(N,H){H.layoutId===this.layout.layoutId?this.Fg.xG("impression"):this.S===H.layoutId&&(this.U===null?this.U=this.Pp.get().ER():KA("OnLayoutEntered should set engagePingCallback, but it was not null",this.slot,this.layout))}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.Os=function(){hI(this.Le(),this);eq.prototype.Os.call(this)};g.k(Bcd,eq);g.C=Bcd.prototype;g.C.OI=function(N,H){J6("top-banner-image-text-icon-buttoned",N,this.Y.get().EV,this.Pp.get(),this.U,this.S,this.y4(),this.dE(),H)}; +g.C.startRendering=function(N){GE(this.Fg,this.y4(),this.dE(),g.P(this.dE().renderingContent,n5),this.callback,"metadata_type_top_banner_image_text_icon_buttoned_layout_view_model",function(H,c,t,h,O){return new zAy(H,c,t,h,O)},this.T); +eq.prototype.startRendering.call(this,N)}; +g.C.AF=function(N,H){this.S===H.layoutId&&(this.U===null?this.U=this.Pp.get().ER():KA("OnLayoutEntered should set engagePingCallback, but it was not null",this.slot,this.layout))}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.Os=function(){hI(this.Le(),this);eq.prototype.Os.call(this)};ZyD.prototype.build=function(N,H,c,t){if(u5(t,VqZ())||g.P(t.renderingContent,ua)!==void 0)return new ul(N,c,t,this.oD,this.Pp,this.Le,this.r_,this.T);if(u5(t,Wct())||g.P(t.renderingContent,Rf)!==void 0)return new kN(N,c,t,this.oD,this.Pp,this.Le,this.r_,this.T);if(u5(t,T6d())||g.P(t.renderingContent,p5)!==void 0)return new Rzv(N,c,t,this.oD,this.Pp,this.Le,this.r_,this.T);if(u5(t,Zps()))return new IUv(N,c,t,this.oD,this.Pp,this.Le,this.r_,this.T);if(u5(t,jJL()))return new WSl(N,c,t,this.oD,this.Pp, +this.Le,this.r_,this.T);if(u5(t,FPL())||g.P(t.renderingContent,JD)!==void 0)return new Rw(N,c,t,this.oD,this.Pp,this.Le,this.r_,this.T);if(u5(t,uwZ())||g.P(t.renderingContent,n5)!==void 0)return new Bcd(N,c,t,this.oD,this.Pp,this.Le,this.r_,this.T);if(u5(t,y1e()))return new BT(N,c,t,this.oD,this.Pp,this.Le,this.r_,this.T);if(u5(t,U6l())||g.P(t.renderingContent,SD)!==void 0)return new h2D(N,c,t,this.oD,this.Pp,this.Le,this.r_,this.T);throw new sz("Unsupported layout with type: "+t.layoutType+" and client metadata: "+ +$A(t.clientMetadata)+" in DesktopAboveFeedLayoutRenderingAdapterFactory.");};ZTh.prototype.build=function(N,H,c,t){if(u5(t,{lG:["metadata_type_linked_player_bytes_layout_id"],xH:["LAYOUT_TYPE_DISPLAY_UNDERLAY_TEXT_GRID_CARDS"]}))return new iR(N,c,t,this.oD,this.Pp,this.T);throw new sz("Unsupported layout with type: "+t.layoutType+" and client metadata: "+$A(t.clientMetadata)+" in DesktopPlayerUnderlayLayoutRenderingAdapterFactory.");};g.C=xPy.prototype;g.C.y4=function(){return this.slot}; +g.C.dE=function(){return this.layout}; +g.C.init=function(){}; +g.C.release=function(){}; +g.C.startRendering=function(N){N.layoutId!==this.layout.layoutId?this.callback.An(this.slot,N,new sz("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED"):(this.callback.AF(this.slot,N),this.Fg.xG("impression"),lm(this.ZM,N,"normal"))}; +g.C.BH=function(N,H){N.layoutId!==this.layout.layoutId?this.callback.An(this.slot,N,new sz("Tried to stop rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_EXIT_LAYOUT_FAILED"):this.callback.Pr(this.slot,N,H)};g.C=f_w.prototype;g.C.y4=function(){return this.slot}; +g.C.dE=function(){return this.layout}; +g.C.init=function(){}; +g.C.release=function(){}; +g.C.startRendering=function(N){N.layoutId!==this.layout.layoutId?this.callback.An(this.slot,N,new sz("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED"):(this.callback.AF(this.slot,N),this.Fg.xG("impression"),lm(this.ZM,N,"normal"))}; +g.C.BH=function(N,H){N.layoutId!==this.layout.layoutId?this.callback.An(this.slot,N,new sz("Tried to stop rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_EXIT_LAYOUT_FAILED"):this.callback.Pr(this.slot,N,H)};On.prototype.build=function(N,H,c,t){if(!this.Rx.get().J.D().N("h5_optimize_forcasting_slot_layout_creation_with_trimmed_metadata")){if(u5(t,jge()))return new xPy(N,c,t,this.Pp,this.ZM)}else if(u5(t,{lG:[],xH:["LAYOUT_TYPE_FORECASTING"]}))return new f_w(N,c,t,this.Pp,this.ZM);throw new sz("Unsupported layout with type: "+t.layoutType+" and client metadata: "+$A(t.clientMetadata)+" in ForecastingLayoutRenderingAdapterFactory.");};g.k(QUL,Y_);g.k(LF,eq);g.C=LF.prototype;g.C.init=function(){eq.prototype.init.call(this);var N=g.P(this.layout.renderingContent,VQ)||lQ(this.layout.clientMetadata,"metadata_type_player_overlay_layout_renderer"),H={adsClientData:this.layout.z0};this.T.push(new QUL(N,lQ(this.layout.clientMetadata,"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds"),this.layout.layoutId,H))}; +g.C.B_=function(){this.U||this.k_.get().resumeVideo(2)}; +g.C.startRendering=function(N){eq.prototype.startRendering.call(this,N);this.callback.AF(this.slot,N);this.S.Mv=this}; +g.C.BH=function(N,H){eq.prototype.BH.call(this,N,H);MW(this.S,this)}; +g.C.OI=function(N,H){if(!dy(this.Rx.get(),"stop_handling_click_for_non_rendering_overlay_layout")||H===this.layout.layoutId){if(oJ(this.Y.get(),this.C))switch(N){case "visit-advertiser-link":hJ(this.Pp.get(),3)}switch(N){case "ad-mute-confirm-dialog-close-button":case "ad-feedback-undo-mute-button":case "ad-info-dialog-close-button":this.U||this.k_.get().resumeVideo(2);break;case "ad-info-icon-button":case "ad-player-overflow-button":(this.U=this.k_.get().PL(2))||this.k_.get().pauseVideo();break; +case "visit-advertiser-link":this.k_.get().pauseVideo();jad(this).va();break;case "skip-button":if(N=jad(this),this.layout.renderingContent&&!QZ(this.layout.clientMetadata,"metadata_type_dai")||!N||!N.Gs){var c;(N=(c=lQ(this.layout.clientMetadata,"metadata_type_ad_pod_skip_target_callback_ref"))==null?void 0:c.current)&&N.ML(this.y4(),this.layout)}else KA("Requesting to skip by LegacyPlayerBytes when components enabled"),N.Pu(this.y4(),this.layout)}}}; +g.C.Os=function(){eq.prototype.Os.call(this)};g.k(Xf,eq);g.C=Xf.prototype;g.C.init=function(){eq.prototype.init.call(this);var N=g.P(this.layout.renderingContent,U_)||lQ(this.layout.clientMetadata,"metadata_type_instream_ad_player_overlay_renderer"),H={adsClientData:this.layout.z0},c;(c=!!this.layout.renderingContent)||(c=t8e(this),c=!(c&&c.Gs));this.T.push(new WJ(N,this.layout.layoutId,lQ(this.layout.clientMetadata,"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds"),H,c))}; +g.C.B_=function(){this.U||this.k_.get().resumeVideo(2)}; +g.C.startRendering=function(N){eq.prototype.startRendering.call(this,N);this.callback.AF(this.slot,N);this.S.Mv=this}; +g.C.BH=function(N,H){eq.prototype.BH.call(this,N,H);MW(this.S,this)}; +g.C.OI=function(N,H){if(!this.Rx||!dy(this.Rx.get(),"stop_handling_click_for_non_rendering_overlay_layout")||H===this.layout.layoutId){if(oJ(this.Y.get(),this.C))switch(N){case "visit-advertiser":hJ(this.Pp.get(),3)}switch(N){case "ad-mute-confirm-dialog-close-button":case "ad-feedback-undo-mute-button":case "ad-info-dialog-close-button":this.U||this.k_.get().resumeVideo(2);break;case "ad-info-icon-button":case "ad-player-overflow-button":(this.U=this.k_.get().PL(2))||this.k_.get().pauseVideo();break; +case "visit-advertiser":this.k_.get().pauseVideo();t8e(this).va();break;case "skip-button":if(N=t8e(this),this.layout.renderingContent&&!QZ(this.layout.clientMetadata,"metadata_type_dai")||!N||!N.Gs){var c;(N=(c=lQ(this.layout.clientMetadata,"metadata_type_ad_pod_skip_target_callback_ref"))==null?void 0:c.current)&&N.ML(this.y4(),this.layout)}else KA("Requesting to skip by LegacyPlayerBytes"),N.Pu(this.y4(),this.layout)}}}; +g.C.Os=function(){eq.prototype.Os.call(this)};g.k(Zdt,Y_);g.k(ER,eq);g.C=ER.prototype;g.C.startRendering=function(N){var H=this;yN(this.B,N,function(){H.T.push(new Zdt(lQ(H.layout.clientMetadata,"metadata_type_valid_ad_message_renderer"),N.layoutId,N.z0));H.Sr();H.callback.AF(H.slot,N);g.y(F9(H.k_.get(),1),512)&&H.callback.An(H.y4(),H.dE(),new sz("player is stuck during adNotify",void 0,"ADS_CLIENT_ERROR_MESSAGE_PLAYER_STUCK_DURING_ADNOTIFY"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED")})}; +g.C.vR=function(){}; +g.C.jj=function(N){if(N.state.isError()){var H;this.callback.An(this.y4(),this.dE(),new sz("A player error happened during adNotify",{playerErrorCode:(H=N.state.vN)==null?void 0:H.errorCode},"ADS_CLIENT_ERROR_MESSAGE_PLAYER_ERROR_DURING_ADNOTIFY"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED")}}; +g.C.onFullscreenToggled=function(){}; +g.C.pC=function(){}; +g.C.Fy=function(){}; +g.C.UV=function(){}; +g.C.onVolumeChange=function(){}; +g.C.aR=function(){}; +g.C.QQ=function(){}; +g.C.OI=function(){};g.k(A8h,Y_);g.k(OA,eq);OA.prototype.init=function(){eq.prototype.init.call(this);var N=g.P(this.layout.renderingContent,AF),H=tN(this.Fg);this.T.push(new A8h(N,H,this.layout.layoutId,{adsClientData:this.layout.z0}))}; +OA.prototype.startRendering=function(N){eq.prototype.startRendering.call(this,N);this.callback.AF(this.slot,N)}; +OA.prototype.OI=function(N,H){if(H===this.layout.layoutId)switch(N){case "skip-button":var c;(N=(c=lQ(this.layout.clientMetadata,"metadata_type_ad_pod_skip_target_callback_ref"))==null?void 0:c.current)&&N.ML(this.y4(),this.layout)}}; +OA.prototype.Os=function(){eq.prototype.Os.call(this)};rth.prototype.build=function(N,H,c,t){if(N=aM(N,c,t,this.oD,this.k_,this.Pp,this.B,this.T,this.Rx))return N;throw new sz("Unsupported layout with type: "+t.layoutType+" and client metadata: "+$A(t.clientMetadata)+" in OtherWebInPlayerLayoutRenderingAdapterFactory.");};g.C=HU.prototype;g.C.y4=function(){return this.slot}; +g.C.dE=function(){return this.layout}; +g.C.init=function(){this.k_.get().addListener(this);this.k_.get().CS.push(this);if(this.layout.renderingContent){var N=this.ea.get();N=s7(N,1).g9/1E3}else N=lQ(this.layout.clientMetadata,"metadata_type_video_length_seconds");var H=g.P(this.layout.renderingContent,DH),c=H?cZ(H.pings):lQ(this.layout.clientMetadata,"metadata_type_active_view_traffic_type");H=H?Qk3(H.pings):lQ(this.layout.clientMetadata,"metadata_type_active_view_identifier");P8(this.layout.S1)&&$6(this.r_.get(),this.layout.layoutId, +{T$:c,A7:N,listener:this,zJ:H})}; +g.C.release=function(){this.k_.get().removeListener(this);mid(this.k_.get(),this);P8(this.layout.S1)&&OS(this.r_.get(),this.layout.layoutId)}; +g.C.startRendering=function(N){this.callback.AF(this.slot,N)}; +g.C.BH=function(N,H){Va(this,"abandon");this.callback.Pr(this.slot,N,H)}; +g.C.aR=function(N){switch(N.id){case "part2viewed":this.Fg.xG("start");this.Fg.xG("impression");break;case "videoplaytime25":this.Fg.xG("first_quartile");break;case "videoplaytime50":this.Fg.xG("midpoint");break;case "videoplaytime75":this.Fg.xG("third_quartile");break;case "videoplaytime100":Va(this,"complete");$S(this.Fg)&&p_(this.Fg,Infinity,!0);break;case "engagedview":$S(this.Fg)||this.Fg.xG("progress");break;case "conversionview":case "videoplaybackstart":case "videoplayback2s":case "videoplayback10s":break; +default:KA("Cue Range ID unknown in ShortsPlaybackTrackingLayoutRenderingAdapter",this.slot,this.layout)}}; +g.C.onVolumeChange=function(){}; +g.C.UV=function(){}; +g.C.pC=function(){}; +g.C.Fy=function(){}; +g.C.onFullscreenToggled=function(){}; +g.C.jj=function(N){this.T||(g.tC(N,4)&&!g.tC(N,2)?Bt(this.Fg,"pause"):hC(N,4)<0&&!(hC(N,2)<0)&&Bt(this.Fg,"resume"))}; +g.C.vR=function(){}; +g.C.t1=function(N){$S(this.Fg)&&p_(this.Fg,N*1E3,!1)}; +g.C.QQ=function(){Va(this,"swipe")}; +g.C.E_=function(){this.Fg.xG("active_view_measurable")}; +g.C.IV=function(){this.Fg.xG("active_view_viewable")}; +g.C.SR=function(){this.Fg.xG("active_view_fully_viewable_audible_half_duration")}; +g.C.oV=function(){this.Fg.xG("audio_measurable")}; +g.C.RV=function(){this.Fg.xG("audio_audible")};Yol.prototype.build=function(N,H,c,t){if(c.slotType==="SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM"&&g.P(t.renderingContent,DH)!==void 0)return new HU(N,c,t,this.k_,this.Pp,this.Rx,this.r_,this.ea);H=["metadata_type_ad_placement_config"];for(var h=g.K(vR()),O=h.next();!O.done;O=h.next())H.push(O.value);if(u5(t,{lG:H,xH:["LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER"]}))return c.slotType==="SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM"?new HU(N,c,t,this.k_,this.Pp,this.Rx,this.r_,this.ea):new ojv(N,c,t,this.k_,this.Pp, +this.V4,this.Rx,this.r_);throw new sz("Unsupported layout with type: "+t.layoutType+" and client metadata: "+$A(t.clientMetadata)+" in PlaybackTrackingLayoutRenderingAdapterFactory.");};var mj={contentCpn:"",Nr:new Map};iu3.prototype.EF=function(N,H){var c={};H=Object.assign({},H,(c.cc=this.MP.sG(),c));this.MP.J.Lq(N,H)};var TGc,LC; +TGc={AJl:"ALREADY_PINNED_ON_A_DEVICE",AUTHENTICATION_EXPIRED:"AUTHENTICATION_EXPIRED",cdo:"AUTHENTICATION_MALFORMED",fGR:"AUTHENTICATION_MISSING",Cwa:"BAD_REQUEST",D0E:"CAST_SESSION_DEVICE_MISMATCHED",ZJT:"CAST_SESSION_VIDEO_MISMATCHED",zoa:"CAST_TOKEN_EXPIRED",bJS:"CAST_TOKEN_FAILED",XZo:"CAST_TOKEN_MALFORMED",jia:"CGI_PARAMS_MALFORMED",d0W:"CGI_PARAMS_MISSING",E3q:"DEVICE_FALLBACK",bAx:"GENERIC_WITH_LINK_AND_CPN",Xzg:"ERROR_HDCP",jUa:"LICENSE",HAq:"VIDEO_UNAVAILABLE",n3_:"FORMAT_UNAVAILABLE",wQE:"GEO_FAILURE", +JZE:"HTML5_AUDIO_RENDERER_ERROR",knE:"GENERIC_WITHOUT_LINK",NLq:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",pQS:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK",cZR:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK_SHORT",feW:"HTML5_SPS_UMP_STATUS_REJECTED",vbl:"INVALID_DRM_MESSAGE",P7s:"PURCHASE_NOT_FOUND",Yls:"PURCHASE_REFUNDED",sHg:"RENTAL_EXPIRED",Ldo:"RETRYABLE_ERROR",SnS:"SERVER_ERROR",fxg:"SIGNATURE_EXPIRED",tnE:"STOPPED_BY_ANOTHER_PLAYBACK",GZo:"STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",eHg:"STREAMING_NOT_ALLOWED", +VnT:"STREAM_LICENSE_NOT_FOUND",dJa:"TOO_MANY_REQUESTS",Hpl:"TOO_MANY_REQUESTS_WITH_LINK",qnl:"TOO_MANY_STREAMS_PER_ENTITLEMENT",axS:"TOO_MANY_STREAMS_PER_USER",UNSUPPORTED_DEVICE:"UNSUPPORTED_DEVICE",mAR:"VIDEO_FORBIDDEN",Euq:"VIDEO_NOT_FOUND",eof:"BROWSER_OR_EXTENSION_ERROR"};LC={}; +g.Ht=(LC.ALREADY_PINNED_ON_A_DEVICE="This video has already been downloaded on the maximum number of devices allowed by the copyright holder. Before you can play the video here, it needs to be unpinned on another device.",LC.DEVICE_FALLBACK="Sorry, this video is not available on this device.",LC.GENERIC_WITH_LINK_AND_CPN="An error occurred. Please try again later. (Playback ID: $CPN) $BEGIN_LINKLearn More$END_LINK",LC.LICENSE="Sorry, there was an error licensing this video.",LC.VIDEO_UNAVAILABLE= +"Video unavailable",LC.FORMAT_UNAVAILABLE="This video isn't available at the selected quality. Please try again later.",LC.GEO_FAILURE="This video isn't available in your country.",LC.HTML5_AUDIO_RENDERER_ERROR="Audio renderer error. Please restart your computer.",LC.GENERIC_WITHOUT_LINK="An error occurred. Please try again later.",LC.HTML5_NO_AVAILABLE_FORMATS_FALLBACK="This video format is not supported.",LC.HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK="Your browser does not currently recognize any of the video formats available. $BEGIN_LINKClick here to visit our frequently asked questions about HTML5 video.$END_LINK", +LC.HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK_SHORT="Your browser can't play this video. $BEGIN_LINKLearn more$END_LINK",LC.HTML5_SPS_UMP_STATUS_REJECTED="Something went wrong. Refresh or try again later. $BEGIN_LINKLearn more$END_LINK",LC.INVALID_DRM_MESSAGE="The DRM system specific message is invalid.",LC.PURCHASE_NOT_FOUND="This video requires payment.",LC.PURCHASE_REFUNDED="This video's purchase has been refunded.",LC.RENTAL_EXPIRED="This video's rental has expired.",LC.CAST_SESSION_DEVICE_MISMATCHED= +"The device in the cast session doesn't match the requested one.",LC.CAST_SESSION_VIDEO_MISMATCHED="The video in the cast session doesn't match the requested one.",LC.CAST_TOKEN_FAILED="Cast session not available. Please refresh or try again later.",LC.CAST_TOKEN_EXPIRED="Cast session was expired. Please refresh.",LC.CAST_TOKEN_MALFORMED="Invalid cast session. Please refresh or try again later.",LC.SERVER_ERROR="There was an internal server error. Please try again later.",LC.STOPPED_BY_ANOTHER_PLAYBACK= +"Your account is playing this video in another location. Please reload this page to resume watching.",LC.STREAM_LICENSE_NOT_FOUND="Video playback interrupted. Please try again.",LC.STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED="Too many devices/IP addresses have been used over the 24 hour period.",LC.STREAMING_NOT_ALLOWED="Playback not allowed because this video is pinned on another device.",LC.RETRYABLE_ERROR="There was a temporary server error. Please try again later.",LC.TOO_MANY_REQUESTS="Please log in to watch this video.", +LC.TOO_MANY_REQUESTS_WITH_LINK="Please $BEGIN_LINKclick here$END_LINK to watch this video on YouTube.",LC.TOO_MANY_STREAMS_PER_USER="Playback stopped because too many videos belonging to the same account are playing.",LC.TOO_MANY_STREAMS_PER_ENTITLEMENT="Playback stopped because this video has been played on too many devices.",LC.UNSUPPORTED_DEVICE="Playback isn't supported on this device.",LC.VIDEO_FORBIDDEN="Access to this video is forbidden.",LC.VIDEO_NOT_FOUND="This video can not be found.",LC.BROWSER_OR_EXTENSION_ERROR= +"Something went wrong. Refresh or try again later. $BEGIN_LINKLearn more$END_LINK",LC);var j_7;var Mr5=g.tA(),f8d=Mr5.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!f8d||f8d.length<2)j_7=void 0;else{var dkg=Mr5.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);j_7=dkg&&dkg.length===6?Number(dkg[5].replace("_",".")):0}var wa=j_7,mU=wa>=0;g.k(g.Ww,Qz);g.Ww.prototype.G=function(N,H,c,t,h){return Qz.prototype.G.call(this,N,H,c,t,h)};var ZL={},Qh=(ZL.FAIRPLAY="fairplay",ZL.PLAYREADY="playready",ZL.WIDEVINE="widevine",ZL.CLEARKEY=null,ZL.FLASHACCESS=null,ZL.UNKNOWN=null,ZL.WIDEVINE_CLASSIC=null,ZL);wQ.prototype.isMultiChannelAudio=function(){return this.numChannels>2};var Yf={},o4=(Yf.WIDTH={name:"width",video:!0,valid:640,WQ:99999},Yf.HEIGHT={name:"height",video:!0,valid:360,WQ:99999},Yf.FRAMERATE={name:"framerate",video:!0,valid:30,WQ:9999},Yf.BITRATE={name:"bitrate",video:!0,valid:3E5,WQ:2E9},Yf.EOTF={name:"eotf",video:!0,valid:"bt709",WQ:"catavision"},Yf.CHANNELS={name:"channels",video:!1,valid:2,WQ:99},Yf.CRYPTOBLOCKFORMAT={name:"cryptoblockformat",video:!0,valid:"subsample",WQ:"invalidformat"},Yf.DECODETOTEXTURE={name:"decode-to-texture",video:!0,valid:"false", +WQ:"nope"},Yf.AV1_CODECS={name:"codecs",video:!0,valid:"av01.0.05M.08",WQ:"av99.0.05M.08"},Yf.EXPERIMENTAL={name:"experimental",video:!0,valid:"allowed",WQ:"invalid"},Yf.TUNNELMODE={name:"tunnelmode",video:!0,valid:"true",WQ:"false"},Yf);var W47=["h","H"],zHG=["9","("],Eo5=["9h","(h"],xkg=["8","*"],qCR=["a","A"],CQd=["o","O"],l8g=["m","M"],K4G=["mac3","MAC3"],goc=["meac3","MEAC3"],AX={},vvS=(AX.h=W47,AX.H=W47,AX["9"]=zHG,AX["("]=zHG,AX["9h"]=Eo5,AX["(h"]=Eo5,AX["8"]=xkg,AX["*"]=xkg,AX.a=qCR,AX.A=qCR,AX.o=CQd,AX.O=CQd,AX.m=l8g,AX.M=l8g,AX.mac3=K4G,AX.MAC3=K4G,AX.meac3=goc,AX.MEAC3=goc,AX),r8g=new Set("o O a ah A m M mac3 MAC3 meac3 MEAC3 so sa".split(" ")),f5w=new Set("m M mac3 MAC3 meac3 MEAC3".split(" "));var b={},gQ=(b["0"]="f",b["160"]="h",b["133"]="h",b["134"]="h",b["135"]="h",b["136"]="h",b["137"]="h",b["264"]="h",b["266"]="h",b["138"]="h",b["298"]="h",b["299"]="h",b["304"]="h",b["305"]="h",b["214"]="h",b["216"]="h",b["374"]="h",b["375"]="h",b["140"]="a",b["141"]="a",b["327"]="sa",b["258"]="m",b["380"]="mac3",b["328"]="meac3",b["161"]="H",b["142"]="H",b["143"]="H",b["144"]="H",b["222"]="H",b["223"]="H",b["145"]="H",b["224"]="H",b["225"]="H",b["146"]="H",b["226"]="H",b["227"]="H",b["147"]="H",b["384"]= +"H",b["376"]="H",b["385"]="H",b["377"]="H",b["149"]="A",b["261"]="M",b["381"]="MAC3",b["329"]="MEAC3",b["598"]="9",b["278"]="9",b["242"]="9",b["243"]="9",b["244"]="9",b["775"]="9",b["776"]="9",b["777"]="9",b["778"]="9",b["779"]="9",b["780"]="9",b["781"]="9",b["782"]="9",b["783"]="9",b["247"]="9",b["248"]="9",b["353"]="9",b["355"]="9",b["356"]="9",b["271"]="9",b["577"]="9",b["313"]="9",b["579"]="9",b["272"]="9",b["302"]="9",b["303"]="9",b["407"]="9",b["408"]="9",b["308"]="9",b["315"]="9",b["330"]= +"9h",b["331"]="9h",b["332"]="9h",b["333"]="9h",b["334"]="9h",b["335"]="9h",b["336"]="9h",b["337"]="9h",b["338"]="so",b["600"]="o",b["250"]="o",b["251"]="o",b["774"]="o",b["194"]="*",b["195"]="*",b["220"]="*",b["221"]="*",b["196"]="*",b["197"]="*",b["279"]="(",b["280"]="(",b["317"]="(",b["318"]="(",b["273"]="(",b["274"]="(",b["357"]="(",b["358"]="(",b["275"]="(",b["359"]="(",b["360"]="(",b["276"]="(",b["583"]="(",b["584"]="(",b["314"]="(",b["585"]="(",b["561"]="(",b["277"]="(",b["361"]="(h",b["362"]= +"(h",b["363"]="(h",b["364"]="(h",b["365"]="(h",b["366"]="(h",b["591"]="(h",b["592"]="(h",b["367"]="(h",b["586"]="(h",b["587"]="(h",b["368"]="(h",b["588"]="(h",b["562"]="(h",b["409"]="(",b["410"]="(",b["411"]="(",b["412"]="(",b["557"]="(",b["558"]="(",b["394"]="1",b["395"]="1",b["396"]="1",b["397"]="1",b["398"]="1",b["399"]="1",b["720"]="1",b["721"]="1",b["400"]="1",b["401"]="1",b["571"]="1",b["402"]="1",b["694"]="1h",b["695"]="1h",b["696"]="1h",b["697"]="1h",b["698"]="1h",b["699"]="1h",b["700"]="1h", +b["701"]="1h",b["702"]="1h",b["703"]="1h",b["386"]="3",b["387"]="w",b["406"]="6",b["787"]="1",b["788"]="1",b["548"]="1e",b["549"]="1e",b["550"]="1e",b["551"]="1e",b["809"]="1e",b["810"]="1e",b["552"]="1e",b["811"]="1e",b["812"]="1e",b["553"]="1e",b["813"]="1e",b["814"]="1e",b["554"]="1e",b["815"]="1e",b["816"]="1e",b["555"]="1e",b["817"]="1e",b["818"]="1e",b["572"]="1e",b["556"]="1e",b["645"]="(",b["646"]="(",b["647"]="(",b["648"]="(",b["649"]="(",b["650"]="(",b["651"]="(",b["652"]="(",b["653"]="(", +b["654"]="(",b["655"]="(",b["656"]="(",b["657"]="(",b["658"]="(",b["659"]="(",b["660"]="(",b["661"]="(",b["662"]="(",b["663"]="(",b["664"]="(",b["665"]="(",b["666"]="(",b["667"]="(",b["668"]="(",b["669"]="(",b["670"]="(",b["671"]="(",b["672"]="(",b["673"]="(",b["674"]="(h",b["675"]="(h",b["676"]="(h",b["677"]="(h",b["678"]="(h",b["679"]="(h",b["680"]="(h",b["681"]="(h",b["682"]="(h",b["683"]="(h",b["684"]="(h",b["685"]="(h",b["686"]="(h",b["687"]="(h",b["688"]="A",b["689"]="A",b["690"]="A",b["691"]= +"MEAC3",b["773"]="i",b["806"]="I",b["805"]="I",b["829"]="9",b["830"]="9",b["831"]="9",b["832"]="9",b["833"]="9",b["834"]="9",b["835"]="9",b["836"]="9",b["892"]="9",b["893"]="9",b["837"]="9",b["838"]="9",b["839"]="9",b["840"]="9",b["841"]="(",b["842"]="(",b["843"]="(",b["844"]="(",b["845"]="(",b["846"]="(",b["847"]="(",b["848"]="(",b["894"]="(",b["895"]="(",b["849"]="(",b["850"]="(",b["851"]="(",b["852"]="(",b["865"]="9",b["866"]="9",b["867"]="9",b["868"]="9",b["869"]="9",b["870"]="9",b["871"]="9", +b["872"]="9",b["896"]="9",b["897"]="9",b["873"]="9",b["874"]="9",b["875"]="9",b["876"]="9",b["877"]="(",b["878"]="(",b["879"]="(",b["880"]="(",b["881"]="(",b["882"]="(",b["883"]="(",b["884"]="(",b["898"]="(",b["899"]="(",b["885"]="(",b["886"]="(",b["887"]="(",b["888"]="(",b["900"]="2",b["901"]="2",b["902"]="2",b["903"]="2",b["904"]="2",b["905"]="2",b["906"]="2",b["907"]="2",b["908"]="2",b);var aR={},X3D=(aR.STEREO_LAYOUT_UNKNOWN=0,aR.STEREO_LAYOUT_LEFT_RIGHT=1,aR.STEREO_LAYOUT_TOP_BOTTOM=2,aR);var R_Z={aji:0,ebE:124,Gva:144,D_s:220,vSq:240,zbE:340,ZEf:360,bEf:480,jHl:588,X0q:608,d_i:720,HES:740,u_q:1080,K8s:1100,tHg:1440,VHo:2160,qlg:9999,0:"QUALITY_ORDINAL_UNKNOWN",124:"QUALITY_ORDINAL_144P_SAVER",144:"QUALITY_ORDINAL_144P",220:"QUALITY_ORDINAL_240P_SAVER",240:"QUALITY_ORDINAL_240P",340:"QUALITY_ORDINAL_360P_SAVER",360:"QUALITY_ORDINAL_360P",480:"QUALITY_ORDINAL_480P",588:"QUALITY_ORDINAL_608P_SAVER",608:"QUALITY_ORDINAL_608P",720:"QUALITY_ORDINAL_720P",740:"QUALITY_ORDINAL_720P_ENHANCED", +1080:"QUALITY_ORDINAL_1080P",1100:"QUALITY_ORDINAL_1080P_ENHANCED",1440:"QUALITY_ORDINAL_1440P",2160:"QUALITY_ORDINAL_2160P",9999:"QUALITY_ORDINAL_HIGHRES"};var eb,n9,vC,ZNh;eb={};g.fi=(eb.auto=0,eb.tiny=144,eb.light=144,eb.small=240,eb.medium=360,eb.large=480,eb.hd720=720,eb.hd1080=1080,eb.hd1440=1440,eb.hd2160=2160,eb.hd2880=2880,eb.highres=4320,eb);n9={0:"auto",144:"tiny",240:"small",360:"medium",480:"large",720:"hd720",1080:"hd1080",1440:"hd1440",2160:"hd2160",2880:"hd2880",4320:"highres"};vC={}; +ZNh=(vC.QUALITY_ORDINAL_UNKNOWN=0,vC.QUALITY_ORDINAL_144P_SAVER=124,vC.QUALITY_ORDINAL_144P=144,vC.QUALITY_ORDINAL_240P_SAVER=220,vC.QUALITY_ORDINAL_240P=240,vC.QUALITY_ORDINAL_360P_SAVER=340,vC.QUALITY_ORDINAL_360P=360,vC.QUALITY_ORDINAL_480P=480,vC.QUALITY_ORDINAL_608P_SAVER=588,vC.QUALITY_ORDINAL_608P=608,vC.QUALITY_ORDINAL_720P=720,vC.QUALITY_ORDINAL_720P_ENHANCED=740,vC.QUALITY_ORDINAL_1080P=1080,vC.QUALITY_ORDINAL_1080P_ENHANCED=1100,vC.QUALITY_ORDINAL_1440P=1440,vC.QUALITY_ORDINAL_2160P=2160, +vC.QUALITY_ORDINAL_HIGHRES=9999,vC);var pK="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");Uo.prototype.isHdr=function(){return this.T==="smpte2084"||this.T==="arib-std-b67"};p8.prototype.RW=function(){return this.containerType===2}; +p8.prototype.isEncrypted=function(){return!!this.YH}; +p8.prototype.ll=function(){return!!this.audio}; +p8.prototype.KG=function(){return!!this.video}; +var J$=!1;g.k(gk,g.xo);g.C=gk.prototype;g.C.appendBuffer=function(N,H,c){if(this.WH.w$()!==this.appendWindowStart+this.start||this.WH.eW()!==this.appendWindowEnd+this.start||this.WH.HO()!==this.timestampOffset+this.start)this.WH.supports(1),this.WH.eq(this.appendWindowStart+this.start,this.appendWindowEnd+this.start),this.WH.Xm(this.timestampOffset+this.start);this.WH.appendBuffer(N,H,c)}; +g.C.abort=function(){this.WH.abort()}; +g.C.remove=function(N,H){this.WH.remove(N+this.start,H+this.start)}; +g.C.removeAll=function(){this.remove(this.appendWindowStart,this.appendWindowEnd)}; +g.C.clear=function(){this.WH.clear()}; +g.C.eq=function(N,H){this.appendWindowStart=N;this.appendWindowEnd=H}; +g.C.zN=function(){return this.timestampOffset+this.start}; +g.C.w$=function(){return this.appendWindowStart}; +g.C.eW=function(){return this.appendWindowEnd}; +g.C.Xm=function(N){this.timestampOffset=N}; +g.C.HO=function(){return this.timestampOffset}; +g.C.l2=function(N){N=this.WH.l2(N===void 0?!1:N);return zQ(N,this.start,this.end)}; +g.C.lq=function(){return this.WH.lq()}; +g.C.hL=function(){return this.WH.hL()}; +g.C.Wz=function(){return this.WH.Wz()}; +g.C.Nx=function(){return this.WH.Nx()}; +g.C.n7=function(){this.WH.n7()}; +g.C.iK=function(N){return this.WH.iK(N)}; +g.C.JE=function(){return this.WH.JE()}; +g.C.jW=function(){return this.WH.jW()}; +g.C.t4=function(N,H,c){this.WH.t4(N,H,c)}; +g.C.G9=function(N,H,c){this.WH.G9(N,H,c)}; +g.C.H4=function(N,H){return this.WH.H4(N,H)}; +g.C.supports=function(N){return this.WH.supports(N)}; +g.C.HB=function(){return this.WH.HB()}; +g.C.isView=function(){return!0}; +g.C.Gj=function(){return this.WH.Gj()?this.isActive:!1}; +g.C.isLocked=function(){return this.Ti&&!this.isActive}; +g.C.Q4=function(N){N=this.WH.Q4(N);N.vw=this.start+"-"+this.end;return N}; +g.C.dZ=function(){return this.WH.dZ()}; +g.C.o8=function(){return this.WH.o8()}; +g.C.t8=function(){return this.WH.t8()}; +g.C.Os=function(){this.WH.mV(this.uF);g.xo.prototype.Os.call(this)};var wf=!1;g.k(Ml,g.xo);g.C=Ml.prototype;g.C.appendBuffer=function(N,H,c){this.ET=!1;c&&(this.U3=c);if(N.length){var t;((t=this.q4)==null?0:t.appendBuffer)?this.q4.appendBuffer(N):this.q4?this.q4.append(N):this.YP&&this.YP.webkitSourceAppend(this.id,N)}H&&(H.isEncrypted()&&(this.H5=this.U3),H.type===3&&(this.QL=H),this.L5.push(H.uX()),this.L5.length>4&&this.L5.shift());this.Ut&&(this.Ut.length>=2||N.length>1048576?delete this.Ut:this.Ut.push(N))}; +g.C.abort=function(){try{this.q4?this.q4.abort():this.YP&&this.YP.webkitSourceAbort(this.id)}catch(H){if(eD3){var N=new g.ti("Error while abort the source buffer: "+H.name+", "+H.message);g.BZ(N)}}this.U3=this.QL=null}; +g.C.remove=function(N,H,c){this.ET=!1;var t;if((t=this.q4)==null?0:t.remove)c&&c({b:Eo(this.l2()),s:N,e:H}),this.q4.remove(N,H)}; +g.C.removeAll=function(){this.remove(this.w$(),this.eW())}; +g.C.clear=function(){this.Wz()||(this.abort(),this.removeAll(),this.H5=this.U3=this.QL=null,this.appendWindowStart=this.timestampOffset=0,this.t_=TC([],[]),this.ET=!1,this.Ut=jg?[]:void 0,this.XX=!0)}; +g.C.w$=function(){if(wf&&this.KG)return this.appendWindowStart;var N;return((N=this.q4)==null?void 0:N.appendWindowStart)||0}; +g.C.eW=function(){var N;return((N=this.q4)==null?void 0:N.appendWindowEnd)||0}; +g.C.eq=function(N,H){this.q4&&(wf&&this.KG?(this.appendWindowStart=N,this.q4.appendWindowEnd=H):N>this.w$()?(this.q4.appendWindowEnd=H,this.q4.appendWindowStart=N):(this.q4.appendWindowStart=N,this.q4.appendWindowEnd=H))}; +g.C.zN=function(){return this.timestampOffset}; +g.C.Xm=function(N){wf?this.timestampOffset=N:this.supports(1)&&(this.q4.timestampOffset=N)}; +g.C.HO=function(){return wf?this.timestampOffset:this.supports(1)?this.q4.timestampOffset:0}; +g.C.l2=function(N){if(N===void 0?0:N)return this.ET||this.lq()||(this.t_=this.l2(!1),this.ET=!0),this.t_;try{return this.q4?this.q4.buffered:this.YP?this.YP.webkitSourceBuffered(this.id):TC([0],[Infinity])}catch(H){return TC([],[])}}; +g.C.lq=function(){var N;return((N=this.q4)==null?void 0:N.updating)||!1}; +g.C.Wz=function(){return this.XX}; +g.C.Nx=function(){return!this.XX&&this.lq()}; +g.C.n7=function(){this.XX=!1}; +g.C.iK=function(N){var H=N==null?void 0:N.T0;N=N==null?void 0:N.containerType;return!H&&!N||H===this.T0&&N===this.containerType}; +g.C.JE=function(){return this.U3}; +g.C.jW=function(){return this.H5}; +g.C.H4=function(N,H){return this.containerType!==N||this.T0!==H}; +g.C.t4=function(N,H,c){if(this.containerType!==N||c&&this.H4(N,c))this.supports(4),SF()&&this.q4.changeType(H),c&&(this.T0=c);this.containerType=N}; +g.C.G9=function(N,H,c){this.containerType&&this.H4(N,H)&&SF()&&this.q4.changeType(c);this.containerType=N;this.T0=H}; +g.C.HB=function(){return this.QL}; +g.C.isView=function(){return!1}; +g.C.supports=function(N){switch(N){case 1:var H;return((H=this.q4)==null?void 0:H.timestampOffset)!==void 0;case 0:var c;return!((c=this.q4)==null||!c.appendBuffer);case 2:var t;return!((t=this.q4)==null||!t.remove);case 3:var h,O;return!!(((h=this.q4)==null?0:h.addEventListener)&&((O=this.q4)==null?0:O.removeEventListener));case 4:return!(!this.q4||!this.q4.changeType);default:return!1}}; +g.C.Gj=function(){return!this.lq()}; +g.C.isLocked=function(){return!1}; +g.C.Q4=function(N){N.to=this.HO();N.up=this.lq();var H,c=((H=this.q4)==null?void 0:H.appendWindowStart)||0,t;H=((t=this.q4)==null?void 0:t.appendWindowEnd)||Infinity;N.aw=c.toFixed(3)+"-"+H.toFixed(3);return N}; +g.C.hL=function(){var N;return((N=this.q4)==null?void 0:N.writeHead)||0}; +g.C.dZ=function(){for(var N={},H=0;H=7&&(!H||((t=this.wE)==null?0:t.N("mweb_ios_allow_playback_workaround_when_ready")))&&T8e(this,function(){g.Zh(function(){Wwd(N,N.getCurrentTime(),0)},500)})}return H}; +g.C.Kb=function(N,H,c){var t;((t=this.wE)==null?0:t.vO())&&this.wE.Lq(N,H,c===void 0?!1:c)}; +g.C.LQ=function(N){this.wE=N}; +g.C.Ul=function(){return mW(this.Z6(),this.getCurrentTime())}; +g.C.seekTo=function(N){this.gJ()>0&&(mU&&wa<4&&(N=Math.max(.1,N)),this.setCurrentTime(N))}; +g.C.E4=function(N){if(this.gJ()===0||this.hasError())return!1;var H=this.getCurrentTime()>0;if(N>=0){var c=this.v0();if(c.length||!H)return t1(c,N)}return H}; +g.C.LJ=function(){if(!this.L&&this.Zf)if(this.Zf.Y)try{var N;this.Kb("rms",{l:"mer",sr:(N=this.wE)==null?void 0:N.YD(),rs:rd(this.Zf)});this.Zf.clear();this.wT(this.Zf);this.Zf=void 0}catch(H){N=new g.ti("Error while clearing Media Source in MediaElement: "+H.name+", "+H.message),g.BZ(N),this.stopVideo()}else this.stopVideo()}; +g.C.stopVideo=function(){var N=this;if(!this.L){var H;(H=this.Zf)==null||vi(H);if(LwL){if(!this.C){var c=new M9;c.then(void 0,function(){}); +this.C=c;Zme&&this.pause();g.Zh(function(){N.C===c&&(Yt(N),c.resolve())},200)}}else Yt(this)}}; +g.C.A9=function(){var N=this.Z6();return GK(N)&&this.getDuration()?jU(N,this.getCurrentTime()):0}; +g.C.AO=function(){var N=this.Z6();return GK(N)&&this.getDuration()?N.end(N.length-1):0}; +g.C.K1=function(){var N=this.getDuration();return N===Infinity?1:N?this.A9()/N:0}; +g.C.Q4=function(){try{var N=this.getSize();return{vct:this.getCurrentTime().toFixed(3),vd:this.getDuration().toFixed(3),vpl:Eo(this.NA(),",",3),vbu:Eo(this.Z6()),vbs:Eo(this.v0()),vpa:""+ +this.isPaused(),vsk:""+ +this.isSeeking(),ven:""+ +this.isEnded(),vpr:""+this.getPlaybackRate(),vrs:""+this.gJ(),vns:""+this.ey(),vec:""+this.Wd(),vemsg:this.Yl(),vvol:""+this.getVolume(),vdom:""+ +this.nL(),vsrc:""+ +!!this.FH(),vw:""+N.width,vh:""+N.height}}catch(H){return{}}}; +g.C.XP=function(){return this.Wd()===4}; +g.C.hasError=function(){return this.Wd()>0}; +g.C.FR=function(){switch(this.Wd()){case 2:return"progressive.net.retryexhausted";case 3:var N=this.Yl();return(N==null?0:N.includes("MEDIA_ERR_CAPABILITY_CHANGED"))||A6R&&(N==null?0:N.includes("audio_output_change"))?"capability.changed":"fmt.decode";case 4:return"fmt.unplayable";case 5:return"drm.unavailable";case 1E3:return"capability.changed";default:return null}}; +g.C.addEventListener=function(N,H){this.TW.listen(N,H,!1,this);this.x0(N)}; +g.C.removeEventListener=function(N,H){this.TW.G3(N,H,!1,this)}; +g.C.dispatchEvent=function(N){if(this.C&&N.type==="pause")return!1;if(YQR){var H,c=((H=N.T)==null?void 0:H.timeStamp)||Infinity;H=c>performance.now()?c-Date.now()+performance.now():c;c=this.L||this.Zf;if((c==null?0:c.Wz())||H<=((c==null?void 0:c.U)||0)){var t;this.Kb("rms",{l:"mede",sr:(t=this.wE)==null?void 0:t.YD(),et:N.type});return!1}if(this.Fr)return this.Kb("rms",{l:"medes",et:N.type}),c&&N.type==="seeking"&&(c.U=performance.now(),this.Fr=!1),!1}return this.TW.dispatchEvent(N)}; +g.C.Uo=function(){this.ox=!1}; +g.C.Tf=function(){this.ox=!0;this.Jr(!0)}; +g.C.YQ=function(){this.ox&&!this.GV()&&this.Jr(!0)}; +g.C.equals=function(N){return!!N&&N.N4()===this.N4()}; +g.C.Os=function(){this.NT&&this.removeEventListener("volumechange",this.YQ);LwL&&Yt(this);g.L.prototype.Os.call(this)}; +var LwL=!1,Zme=!1,YQR=!1,A6R=!1;g.C=g.Nb.prototype;g.C.isPaused=function(){return g.y(this,4)}; +g.C.isPlaying=function(){return g.y(this,8)&&!g.y(this,512)&&!g.y(this,64)&&!g.y(this,2)}; +g.C.isOrWillBePlaying=function(){return g.y(this,8)&&!g.y(this,2)&&!g.y(this,1024)}; +g.C.isCued=function(){return g.y(this,64)&&!g.y(this,8)&&!g.y(this,4)}; +g.C.isBuffering=function(){return g.y(this,1)&&!g.y(this,2)}; +g.C.isError=function(){return g.y(this,128)}; +g.C.isSuspended=function(){return g.y(this,512)}; +g.C.AA=function(){return g.y(this,64)&&g.y(this,4)}; +g.C.toString=function(){return"PSt."+this.state.toString(16)}; +var sF={},BC=(sF.BUFFERING="buffering-mode",sF.CUED="cued-mode",sF.ENDED="ended-mode",sF.PAUSED="paused-mode",sF.PLAYING="playing-mode",sF.SEEKING="seeking-mode",sF.UNSTARTED="unstarted-mode",sF);g.k(RZ,g.L);g.C=RZ.prototype;g.C.Oz=function(){return this.L}; +g.C.y4=function(){return this.slot}; +g.C.dE=function(){return this.layout}; +g.C.init=function(){var N=lQ(this.layout.clientMetadata,"metadata_type_video_length_seconds"),H=lQ(this.layout.clientMetadata,"metadata_type_active_view_traffic_type");P8(this.layout.S1)&&$6(this.r_.get(),this.layout.layoutId,{T$:H,A7:N,listener:this,gA:this.fG()});$5(this.Pp.get(),this);N=this.dR;H=this.layout.layoutId;var c={gA:this.fG()};N.T.set(H,c);this.NI()}; +g.C.Tt=function(){}; +g.C.release=function(){P8(this.layout.S1)&&OS(this.r_.get(),this.layout.layoutId);xN(this.Pp.get(),this);this.dR.T.delete(this.layout.layoutId);this.jR()}; +g.C.wb=function(){}; +g.C.oE=function(){}; +g.C.startRendering=function(N){Fb3(hD(this));if(jTD(this,N)){var H=this.T;G$(H.params.xA.Rx.get(),!0)&&kot(H,"p_sr",{});vsR(this);this.iy(N);this.fG()||this.kz(!1)}}; +g.C.AF=function(N,H){if(H.layoutId===this.layout.layoutId){this.ws="rendering";this.B=this.k_.get().isMuted()||this.k_.get().getVolume()===0;this.xG("impression");this.xG("start");if(this.k_.get().isMuted()){UV(this,"mute");var c;N=((c=x5(this))==null?void 0:c.muteCommands)||[];BD(this.V4.get(),N,this.layout.layoutId)}if(this.k_.get().isFullscreen()){this.F1("fullscreen");var t;c=((t=x5(this))==null?void 0:t.fullscreenCommands)||[];BD(this.V4.get(),c,this.layout.layoutId)}this.fG()||(t=this.YO.get(), +t.L&&!t.B&&(t.S=!1,t.B=!0,t.actionType!=="ad_to_video"&&(OZ("pbs",void 0,t.actionType),g.sf("finalize_all_timelines")&&Jd3(t.actionType))));this.JZ(1);this.yO(H);var h;H=((h=x5(this))==null?void 0:h.impressionCommands)||[];BD(this.V4.get(),H,this.layout.layoutId)}}; +g.C.Er=function(N,H,c){this.C={Am:3,QD:N==="load_timeout"?402:400,errorMessage:H.message};this.xG("error");var t;N=((t=x5(this))==null?void 0:t.errorCommands)||[];BD(this.V4.get(),N,this.layout.layoutId);this.fG()||this.qF.An(this.slot,this.layout,H,c)}; +g.C.pz=function(){if(this.ws==="rendering"){UV(this,"pause");var N,H=((N=x5(this))==null?void 0:N.pauseCommands)||[];BD(this.V4.get(),H,this.layout.layoutId);this.JZ(2)}}; +g.C.cV=function(){if(this.ws==="rendering"){UV(this,"resume");var N,H=((N=x5(this))==null?void 0:N.resumeCommands)||[];BD(this.V4.get(),H,this.layout.layoutId)}}; +g.C.ly=function(N,H){H=H===void 0?!1:H;if(this.ws==="rendering"){var c={currentTimeSec:N,flush:H};t6(this.T,"p_ip",c);p_(this.Fg,N*1E3,H);this.B||p_(this.Fg,N*1E3,H===void 0?!1:H);var t=this.uQ();if(t){t/=1E3;if(N>=t*.25||H)this.xG("first_quartile"),t6(this.T,"p_fq",c);if(N>=t*.5||H)this.xG("midpoint"),t6(this.T,"p_sq",c);if(N>=t*.75||H)this.xG("third_quartile"),t6(this.T,"p_tq",c);this.Rx.get().J.D().experiments.M4("enable_progress_command_flush_on_kabuki")?mC(this.U,N*1E3,H):mC(this.U,N*1E3,AYw(this)? +H:!1)}}}; +g.C.sG=function(){var N;return((N=s7(this.ea.get(),1))==null?void 0:N.clientPlaybackNonce)||""}; +g.C.mB=function(N,H){N.layoutId!==this.layout.layoutId?this.qF.An(this.slot,N,new sz("Tried to stop rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_EXIT_LAYOUT_FAILED"):H()}; +g.C.Pr=function(N,H,c){if(H.layoutId===this.layout.layoutId)switch(this.ws="not_rendering",this.layoutExitReason=void 0,this.fG()||(N=c!=="normal"||this.position+1===this.Y)&&this.kz(N),this.Nt(c),this.JZ(0),c){case "abandoned":if(Mk(this.Fg,"impression")){var t,h=((t=x5(this))==null?void 0:t.abandonCommands)||[];BD(this.V4.get(),h,this.layout.layoutId)}break;case "normal":t=((h=x5(this))==null?void 0:h.completeCommands)||[];BD(this.V4.get(),t,this.layout.layoutId);break;case "skipped":var O;t=((O= +x5(this))==null?void 0:O.skipCommands)||[];BD(this.V4.get(),t,this.layout.layoutId)}}; +g.C.KH=function(){return this.layout.layoutId}; +g.C.TN=function(){return this.C}; +g.C.E_=function(){if(this.ws==="rendering"){this.Fg.xG("active_view_measurable");var N,H=((N=x5(this))==null?void 0:N.activeViewMeasurableCommands)||[];BD(this.V4.get(),H,this.layout.layoutId)}}; +g.C.SR=function(){if(this.ws==="rendering"){this.Fg.xG("active_view_fully_viewable_audible_half_duration");var N,H=((N=x5(this))==null?void 0:N.activeViewFullyViewableAudibleHalfDurationCommands)||[];BD(this.V4.get(),H,this.layout.layoutId)}}; +g.C.IV=function(){if(this.ws==="rendering"){this.Fg.xG("active_view_viewable");var N,H=((N=x5(this))==null?void 0:N.activeViewViewableCommands)||[];BD(this.V4.get(),H,this.layout.layoutId)}}; +g.C.RV=function(){if(this.ws==="rendering"){this.Fg.xG("audio_audible");var N,H=((N=x5(this))==null?void 0:N.activeViewAudioAudibleCommands)||[];BD(this.V4.get(),H,this.layout.layoutId)}}; +g.C.oV=function(){if(this.ws==="rendering"){this.Fg.xG("audio_measurable");var N,H=((N=x5(this))==null?void 0:N.activeViewAudioMeasurableCommands)||[];BD(this.V4.get(),H,this.layout.layoutId)}}; +g.C.kz=function(N){this.YO.get().kz(lQ(this.layout.clientMetadata,"metadata_type_ad_placement_config").kind,N,this.position,this.Y,!1)}; +g.C.onFullscreenToggled=function(N){if(this.ws==="rendering")if(N){this.F1("fullscreen");var H,c=((H=x5(this))==null?void 0:H.fullscreenCommands)||[];BD(this.V4.get(),c,this.layout.layoutId)}else this.F1("end_fullscreen"),H=((c=x5(this))==null?void 0:c.endFullscreenCommands)||[],BD(this.V4.get(),H,this.layout.layoutId)}; +g.C.onVolumeChange=function(){if(this.ws==="rendering")if(this.k_.get().isMuted()){UV(this,"mute");var N,H=((N=x5(this))==null?void 0:N.muteCommands)||[];BD(this.V4.get(),H,this.layout.layoutId)}else UV(this,"unmute"),N=((H=x5(this))==null?void 0:H.unmuteCommands)||[],BD(this.V4.get(),N,this.layout.layoutId)}; +g.C.pC=function(){}; +g.C.Fy=function(){}; +g.C.UV=function(){}; +g.C.aR=function(){}; +g.C.QQ=function(){}; +g.C.F1=function(N){this.Fg.F1(N,!this.B)}; +g.C.xG=function(N){this.Fg.xG(N,!this.B)}; +g.C.fG=function(){var N=lQ(this.slot.clientMetadata,"metadata_type_eligible_for_ssap");return N===void 0?(KA("Expected SSAP eligibility for PlayerBytes sub layout",this.slot,this.layout),!1):this.Rx.get().fG(N)};g.k(oZ,RZ);g.C=oZ.prototype;g.C.NI=function(){}; +g.C.jR=function(){var N=this.Pp.get();N.t7===this&&(N.t7=null);this.timer.stop()}; +g.C.wb=function(){this.timer.stop();RZ.prototype.pz.call(this)}; +g.C.oE=function(){xRD(this);RZ.prototype.cV.call(this)}; +g.C.uQ=function(){return lQ(this.dE().clientMetadata,"METADATA_TYPE_MEDIA_BREAK_LAYOUT_DURATION_MILLISECONDS")}; +g.C.BH=function(N,H){var c=this;this.mB(N,function(){c.ws!=="rendering_stop_requested"&&(c.ws="rendering_stop_requested",c.layoutExitReason=H,Ip(c,H),c.timer.stop())})}; +g.C.Dp=function(){var N=Date.now(),H=N-this.FM;this.FM=N;this.kc+=H;this.kc>=this.uQ()?this.I2():(this.ly(this.kc/1E3),iq(this,this.kc))}; +g.C.Nt=function(){}; +g.C.vR=function(){}; +g.k(By,oZ);g.C=By.prototype;g.C.jj=function(N){if(this.ws!=="not_rendering"){N=e5(this,N);var H=this.k_.get().getPresentingPlayerType()===2;this.ws==="rendering_start_requested"?H&&iu(N)&&this.aK():H?g.tC(N,2)?KA("Receive player ended event during MediaBreak",this.y4(),this.dE()):Ff(this,N):this.Xe()}}; +g.C.iy=function(){oBt(this);fqv(this.k_.get());this.Pp.get().t7=this;j_("pbp")||j_("pbs")||OZ("pbp");j_("pbp","watch")||j_("pbs","watch")||OZ("pbp",void 0,"watch");this.aK()}; +g.C.yO=function(N){this.YO.get();var H=lQ(N.clientMetadata,"metadata_type_ad_placement_config").kind,c=this.position===0;N=lQ(N.clientMetadata,"metadata_type_linked_in_player_layout_type");N={adBreakType:SR(H),adType:$Qw(N)};var t=void 0;c?H!=="AD_PLACEMENT_KIND_START"&&(t="video_to_ad"):t="ad_to_ad";Ai("ad_mbs",void 0,t);g.YR(N,t);xRD(this)}; +g.C.Xe=function(){this.gw()}; +g.C.I2=function(){zhS(this);this.gw()}; +g.k(u6,oZ);g.C=u6.prototype;g.C.jj=function(N){this.ws!=="not_rendering"&&(N=e5(this,N),Ff(this,N))}; +g.C.iy=function(){KA("Not used in SSAP")}; +g.C.yO=function(){xRD(this)}; +g.C.Xe=function(){KA("Not used in SSAP")}; +g.C.I2=function(){zhS(this);this.qF.ij(this.y4(),this.dE(),"normal")}; +g.k(FM,u6);FM.prototype.BH=function(N,H){var c=this;this.mB(N,function(){$2S(c.L,H)&&(c.ws="rendering_stop_requested",c.layoutExitReason=H,Ip(c,H),c.timer.stop())})}; +FM.prototype.startRendering=function(N){Fb3(hD(this));jTD(this,N)&&(vsR(this),this.Pp.get().t7=this)};g.k(cm,RZ);g.C=cm.prototype;g.C.Xe=function(){this.gw()}; +g.C.jj=function(N){if(this.ws!=="not_rendering"){N=e5(this,N);var H=this.k_.get().getPresentingPlayerType()===2;this.ws==="rendering_start_requested"?H&&iu(N)&&this.aK():!H||g.tC(N,2)?this.gw():Ff(this,N)}}; +g.C.NI=function(){lQ(this.dE().clientMetadata,"metadata_type_player_bytes_callback_ref").current=this;this.shrunkenPlayerBytesConfig=lQ(this.dE().clientMetadata,"metadata_type_shrunken_player_bytes_config")}; +g.C.jR=function(){lQ(this.dE().clientMetadata,"metadata_type_player_bytes_callback_ref").current=null;if(this.Se){var N=this.context.xA,H=this.Se,c=this.dE().layoutId;if(G$(N.Rx.get(),!0)){var t={};N.EF("mccru",(t.cid=H,t.p_ac=c,t))}this.kO.get().removeCueRange(this.Se)}this.Se=void 0;var h;(h=this.iB)==null||h.dispose();this.PD&&this.PD.dispose()}; +g.C.iy=function(N){var H=kd(this.Rx.get()),c=HW(this.Rx.get());if(H&&c&&!this.fG()){c=lQ(N.clientMetadata,"metadata_type_preload_player_vars");var t=this.Rx.get();t=g.Mx(t.J.D().experiments,"html5_preload_wait_time_secs");c&&this.PD&&this.PD.start(t*1E3)}sly(this,N);oBt(this);H?(c=this.Nc.get(),N=lQ(N.clientMetadata,"metadata_type_player_vars"),c.J.loadVideoByPlayerVars(N,!1,2)):yK(this.Nc.get(),lQ(N.clientMetadata,"metadata_type_player_vars"));var h;(h=this.iB)==null||h.start();H||this.Nc.get().J.playVideo(2)}; +g.C.yO=function(){var N;(N=this.iB)==null||N.stop();this.Av();(this.adCpn=gxs(this))||KA("Media layout confirmed started, but ad CPN not set.");this.Mi.get().Xq("onAdStart",this.adCpn);this.dU=Date.now()}; +g.C.uQ=function(){var N;return(N=s7(this.ea.get(),2))==null?void 0:N.g9}; +g.C.va=function(){this.Fg.F1("clickthrough")}; +g.C.BH=function(N,H){var c=this;this.mB(N,function(){if(c.ws!=="rendering_stop_requested"){c.ws="rendering_stop_requested";c.layoutExitReason=H;Ip(c,H);var t;(t=c.iB)==null||t.stop();c.PD&&c.PD.stop();G5e(c)}})}; +g.C.onCueRangeEnter=function(N){if(N!==this.Se)KA("Received CueRangeEnter signal for unknown layout.",this.y4(),this.dE(),{cueRangeId:N});else{var H=this.context.xA,c=this.dE().layoutId;if(G$(H.Rx.get(),!0)){var t={};H.EF("mccre",(t.cid=N,t.p_ac=c,t))}this.kO.get().removeCueRange(this.Se);this.Se=void 0;dy(this.context.Rx.get(),"html5_ssap_flush_at_stop_rendering")&&this.fG()||(N=lQ(this.dE().clientMetadata,"metadata_type_video_length_seconds"),this.ly(N,!0),this.xG("complete"))}}; +g.C.Nt=function(N){N!=="abandoned"&&this.Mi.get().Xq("onAdComplete");this.Mi.get().Xq("onAdEnd",this.adCpn)}; +g.C.Av=function(){this.Se="adcompletioncuerange:"+this.dE().layoutId;this.kO.get().addCueRange(this.Se,0x7ffffffffffff,0x8000000000000,!1,this,2,2);var N=this.context.xA,H=this.Se,c=this.dE().layoutId;if(G$(N.Rx.get(),!0)){var t={};N.EF("mccr",(t.cid=H,t.p_ac=c,t))}}; +g.C.onCueRangeExit=function(){}; +g.C.vR=function(N){this.ws==="rendering"&&(this.shrunkenPlayerBytesConfig&&this.shrunkenPlayerBytesConfig.shouldRequestShrunkenPlayerBytes&&N>=(this.shrunkenPlayerBytesConfig.playerProgressOffsetSeconds||0)&&this.k_.get().gg(!0),this.ly(N))}; +g.C.ly=function(N,H){RZ.prototype.ly.call(this,N,H===void 0?!1:H);H=Date.now()-this.dU;var c=N*1E3,t={contentCpn:this.sG(),adCpn:gxs(this)};if(N-this.c7>=5){var h=H=2||(this.QR.BH(this.layout,H),N=dy(this.params.context.Rx.get(),"html5_ssap_pass_transition_reason")&&H==="abandoned",this.P3()&&!N&&(dy(this.params.context.Rx.get(),"html5_ssap_pass_transition_reason")&&(["normal","skipped","muted","user_input_submitted"].includes(H)||KA("Single stopRendering: unexpected exit reason",this.slot,this.layout,{exitReason:H})),this.ID.get().finishSegmentByCpn(this.layout.layoutId, +s7(this.ea.get(),1).clientPlaybackNonce,Cn(H,this.params.context.Rx))),this.k_.get().removeListener(this),this.wi()&&Ld(this.QR.Oz())&&this.uU.Pr(this.slot,this.layout,this.QR.Oz().T))}; +g.C.dK=function(N,H,c){bGl({cpn:N,MP:this.ea.get(),vG:!0});this.dE().layoutId!==N||dy(this.params.context.Rx.get(),"html5_ssap_pass_transition_reason")&&c===5||(this.QR.Oz().currentState<2&&(N=P0(c,this.params.context.Rx),N==="error"?this.uU.An(this.slot,this.layout,new sz("Player transition with error during SSAP single layout.",{playerErrorCode:"non_video_expired",transitionReason:c},"ADS_CLIENT_ERROR_MESSAGE_PLAYER_TRANSITION_WITH_ERROR"),"ADS_CLIENT_ERROR_TYPE_ERROR_DURING_RENDERING"):lm(this.N2, +this.layout,N)),dy(this.params.context.Rx.get(),"html5_ssap_exit_without_waiting_for_transition")||this.uU.Pr(this.slot,this.layout,this.QR.Oz().T))};g.k(P$,g.L);g.C=P$.prototype;g.C.y4=function(){return this.slot}; +g.C.dE=function(){return this.layout}; +g.C.eX=function(){}; +g.C.xl=function(){return this.yF[this.Bm]}; +g.C.Y8=function(){return this.Bm}; +g.C.wb=function(N,H){var c=this.xl();H.layoutId!==Nl(c,N,H)?KA("pauseLayout for a PlayerBytes layout that is not currently active",N,H):c.wb()}; +g.C.oE=function(N,H){var c=this.xl();H.layoutId!==Nl(c,N,H)?KA("resumeLayout for a PlayerBytes layout that is not currently active",N,H):c.oE()}; +g.C.Pu=function(N,H){var c=this.xl();qRt(this,N,H);brZ(c,N,H)&&this.gZ(c.y4(),c.dE(),"skipped")}; +g.C.ML=function(N,H){var c=this.xl();S3d(this);KAf(c,N,H)&&(N=zil(this,c,N,H),N!==void 0&&(this.fG()?KA("Should not happen. Should delete"):zLL(this,c.y4(),c.dE(),N)))}; +g.C.UW=function(N,H){var c=Object.assign({},A3(this),{layoutId:H.layoutId}),t=c.layoutId,h=c.vG;if(c.gA){var O={};r0(c.MP,"wrse",(O.ec=t,O.is=h,O.ctp=w0(t),O))}Twf(this.HL,N,H)}; +g.C.AF=function(N,H){var c;(c=this.xl())==null||c.AF(N,H)}; +g.C.Pr=function(N,H,c){H.layoutId===this.dE().layoutId&&(this.tE=!1,hI(this.Le(),this));var t;(t=this.xl())==null||t.Pr(N,H,c)}; +g.C.vR=function(N){var H;(H=this.xl())==null||H.vR(N)}; +g.C.Rz=function(N,H,c){this.Y8()===-1&&(this.callback.AF(this.slot,this.layout),this.Bm++);var t=this.xl();t?(t.Er(N,H,c),this.fG()&&this.callback.An(this.slot,this.layout,H,c)):KA("No active adapter found onLayoutError in PlayerBytesVodCompositeLayoutRenderingAdapter",void 0,void 0,{activeSubLayoutIndex:String(this.Y8()),layoutId:this.dE().layoutId})}; +g.C.onFullscreenToggled=function(N){var H;(H=this.xl())==null||H.onFullscreenToggled(N)}; +g.C.pC=function(N){var H;(H=this.xl())==null||H.pC(N)}; +g.C.UV=function(N){var H;(H=this.xl())==null||H.UV(N)}; +g.C.onVolumeChange=function(){var N;(N=this.xl())==null||N.onVolumeChange()}; +g.C.BK=function(N,H,c){Za(this.HL,N,H,c)}; +g.C.h4=function(N){N.startRendering(N.dE())}; +g.C.init=function(){var N=lQ(this.dE().clientMetadata,"metadata_type_player_bytes_layout_controls_callback_ref");N&&(N.current=this);if(this.yF.length<1)throw new S("Invalid sub layout rendering adapter length when scheduling composite layout.",{length:String(this.yF.length)});if(N=lQ(this.dE().clientMetadata,"metadata_type_ad_pod_skip_target_callback_ref"))N.current=this;N=g.K(this.yF);for(var H=N.next();!H.done;H=N.next())H=H.value,H.init(),oGv(this.HL,this.slot,H.dE()),W7h(this.HL,this.slot,H.dE()); +if(this.fG())for(this.ea.get().addListener(this),Z3S(F9h(this),this.ea.get()),N=F9h(this),N=g.K(N),H=N.next();!H.done;H=N.next())this.E6(H.value)}; +g.C.E6=function(N){var H=lQ(N.clientMetadata,"metadata_type_player_vars");H?(N.layoutType!=="LAYOUT_TYPE_MEDIA"&&KA("Non-video ad contains playerVars",this.slot,N),this.Nc.get().addPlayerResponseForAssociation({playerVars:H})):(N=$8w(N),this.Nc.get().addPlayerResponseForAssociation({Hg:N}))}; +g.C.release=function(){var N=lQ(this.dE().clientMetadata,"metadata_type_player_bytes_layout_controls_callback_ref");N&&(N.current=null);if(N=lQ(this.dE().clientMetadata,"metadata_type_ad_pod_skip_target_callback_ref"))N.current=null;N=g.K(this.yF);for(var H=N.next();!H.done;H=N.next())H=H.value,mB3(this.HL,this.slot,H.dE()),H.release();this.fG()&&(this.ea.get().removeListener(this),W5d())}; +g.C.mB=function(N){return N.layoutId!==this.dE().layoutId?(this.callback.An(this.y4(),N,new sz("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+this.dE().layoutId+("and LayoutType: "+this.dE().layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED"),!1):!0}; +g.C.UY=function(){this.k_.get().addListener(this);vT(this.Le(),this)}; +g.C.jj=function(N){if(N.state.isError()){var H,c;this.Rz((H=N.state.vN)==null?void 0:H.errorCode,new sz("There was a player error during this media layout.",{playerErrorCode:(c=N.state.vN)==null?void 0:c.errorCode},"ADS_CLIENT_ERROR_MESSAGE_PLAYER_ERROR"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED")}else(H=this.xl())&&H.jj(N)}; +g.C.fG=function(){var N=lQ(this.y4().clientMetadata,"metadata_type_eligible_for_ssap");return N===void 0?(KA("Expected SSAP eligibility in PlayerBytes slots",this.y4(),this.dE()),!1):this.Rx.get().fG(N)}; +g.C.Fy=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.aR=function(){}; +g.C.QQ=function(){}; +g.k(uE,P$);g.C=uE.prototype;g.C.W6=function(N,H,c){this.gZ(N,H,c)}; +g.C.hw=function(N,H){this.gZ(N,H,"error")}; +g.C.gZ=function(N,H,c){var t=this;WPl(this,N,H,c,function(){Vu(t,t.Y8()+1)})}; +g.C.startRendering=function(N){this.mB(N)&&(this.UY(),H3l(this.YO.get()),xEv(this.Rx.get())||fqv(this.k_.get()),this.Y8()===-1&&Vu(this,this.Y8()+1))}; +g.C.BH=function(N,H){var c=this;this.tE=!0;this.Y8()===this.yF.length?this.callback.Pr(this.slot,this.layout,H):(N=this.xl(),N.BH(N.dE(),H),this.FP=function(){c.callback.Pr(c.slot,c.layout,H)}); +this.k_.get().J.dW();yK(this.Nc.get(),{});N=F9(this.k_.get(),1);N.isPaused()&&!g.y(N,2)&&this.k_.get().playVideo();this.k_.get().removeListener(this);this.tE&&Z1R(this)}; +g.C.dK=function(){}; +g.C.jD=function(){}; +g.C.ij=function(){}; +g.k(UI,P$);g.C=UI.prototype;g.C.W6=function(N,H,c){N=Object.assign({},A3(this),{layoutId:H.layoutId,layoutExitReason:c});H=N.layoutId;c=N.layoutExitReason;var t={};r0(N.MP,"prse",(t.xc=H,t.ler=c,t.ctp=w0(H),t))}; +g.C.hw=function(){KA("onSubLayoutError in SSAP")}; +g.C.gZ=function(){KA("exitSubLayoutAndPlayNext in SSAP")}; +g.C.xl=function(){return this.PU}; +g.C.Y8=function(){var N=this;return this.yF.findIndex(function(H){var c;return H.dE().layoutId===((c=N.PU)==null?void 0:c.dE().layoutId)})}; +g.C.h4=function(N){bd(this.PU===void 0,"replacing another adapter");this.PU=N;N.startRendering(N.dE())}; +g.C.BK=function(N,H,c){Za(this.HL,N,H,c);var t;bd(H.layoutId===((t=this.PU)==null?void 0:t.dE().layoutId),"currentAdapter does not match exiting layout",{slot:N?"slot: "+N.slotType:"",subLayout:C5(H)})&&(this.PU=void 0)}; +g.C.release=function(){P$.prototype.release.call(this);bd(this.PU===void 0,"currentAdapter is still active during release");this.PU=void 0}; +g.C.P3=function(){return this.k_.get().getPresentingPlayerType()===2}; +g.C.BH=function(N,H){function c(){q6(this)&&(["normal","error","skipped","muted","user_input_submitted"].includes(H)||KA("Composite stopRendering: Unexpected layout exit reason",this.slot,N,{layoutExitReason:H}))} +function t(){if(this.PU){var O=this.PU;O.Oz().currentState<2&&O.BH(O.dE(),H);O=q6(this)&&H==="abandoned";this.P3()&&!O&&(c.call(this),this.ID.get().finishSegmentByCpn(this.PU.dE().layoutId,s7(this.ea.get(),1).clientPlaybackNonce,Cn(H,this.Rx)))}} +function h(){this.PU&&Y1(this,this.PU,H);if(this.P3()&&(!q6(this)||H!=="abandoned")){c.call(this);var O;var F=((O=this.ea.get().J.getVideoData())==null?void 0:O.clientPlaybackNonce)||"";O=s7(this.ea.get(),1).clientPlaybackNonce;this.ID.get().finishSegmentByCpn(F,O,Cn(H,this.Rx))}rfw(this,H)} +bd(N.layoutId===this.dE().layoutId,"StopRendering for wrong layout")&&$2S(this.lN.B,H)&&(this.wi()?h.call(this):t.call(this))}; +g.C.Pr=function(N,H,c){P$.prototype.Pr.call(this,N,H,c);H.layoutId===this.dE().layoutId&&this.k_.get().removeListener(this)}; +g.C.sG=function(){return s7(this.ea.get(),1).clientPlaybackNonce}; +g.C.dK=function(N,H,c){bGl(Object.assign({},A3(this),{cpn:N}));if(!q6(this)||c!==5)if(this.wi()){if(this.PU&&this.PU.dE().layoutId!==H){var t=this.PU.dE().layoutId;t!==N&&KA("onClipExited: mismatched exiting cpn",this.slot,void 0,{layoutId:t,exitingCpn:N,enteringCpn:H});N=P0(c,this.Rx);Y1(this,this.PU,N)}else this.PU&&KA("onClipExited: active layout is entering again");H===this.sG()&&VPh(this,c)}else{if(this.PU&&this.PU.dE().layoutId===N)K2h(this,this.PU,c);else{var h;KA("Exiting cpn does not match active cpn", +this.slot,(t=this.PU)==null?void 0:t.dE(),{exitingCpn:N,transitionReason:c,activeCpn:(h=this.PU)==null?void 0:h.dE().layoutId})}H===this.sG()&&(this.PU!==void 0&&(KA("active adapter is not properly exited",this.slot,this.layout,{activeLayout:C5(this.PU.dE())}),K2h(this,this.PU,c)),VPh(this,c),rfw(this,this.lN.B.T))}}; +g.C.wi=function(){return dy(this.Rx.get(),"html5_ssap_exit_without_waiting_for_transition")}; +g.C.startRendering=function(N){this.mB(N)&&(N=this.lN,bd(N.T===1,"tickStartRendering: state is not initial"),N.T=2,this.UY())}; +g.C.jD=function(N){Hu3(Object.assign({},A3(this),{cpn:N}));var H=this.yF.find(function(c){return c.dE().layoutId===N}); +H?(this.lN.T!==2&&(qsh(this.PH,this.slot.slotId),bd(this.lN.T===2,"Expect started"),this.callback.AF(this.slot,this.layout)),this.h4(H),Twf(this.HL,this.slot,H.dE())):VUD(this,N)}; +g.C.Pu=function(N,H){qRt(this,N,H);var c=this.xl();c?brZ(c,N,H)&&uEv(this,"skipped"):nz3(this,"onSkipRequested")}; +g.C.ML=function(N,H){var c;a:{if(c=this.xl()){if(S3d(this),KAf(c,N,H)&&(N=zil(this,c,N,H),N!==void 0)){c={Zy:c,pRq:this.yF[N]};break a}}else nz3(this,"SkipWithAdPodSkip");c=void 0}if(N=c)c=N.Zy,H=N.pRq,N=c.dE().layoutId,this.wi()?Y1(this,c,"skipped"):c.BH(c.dE(),"skipped"),c=H.dE().layoutId,this.ID.get().finishSegmentByCpn(N,c,Cn("skipped",this.Rx))}; +g.C.UW=function(){KA("Not used in html5_ssap_fix_layout_exit")}; +g.C.jj=function(N){var H;(H=this.xl())==null||H.jj(N)}; +g.C.Rz=function(){KA("Not used in html5_ssap_fix_layout_exit")}; +g.C.ij=function(N,H,c){var t;if(((t=this.xl())==null?void 0:t.dE().layoutId)!==H.layoutId)return void KA("requestToExitSubLayout: wrong layout");uEv(this,c)};g.k(x7s,g.L);g.C=x7s.prototype;g.C.y4=function(){return this.QR.y4()}; +g.C.dE=function(){return this.QR.dE()}; +g.C.init=function(){var N=lQ(this.dE().clientMetadata,"metadata_type_player_bytes_layout_controls_callback_ref");N&&(N.current=this);this.NI()}; +g.C.NI=function(){this.QR.init()}; +g.C.release=function(){var N=lQ(this.dE().clientMetadata,"metadata_type_player_bytes_layout_controls_callback_ref");N&&(N.current=null);this.jR()}; +g.C.jR=function(){this.QR.release()}; +g.C.wb=function(){this.QR.wb()}; +g.C.oE=function(){this.QR.oE()}; +g.C.Pu=function(N,H){KA("Unexpected onSkipRequested from PlayerBytesVodSingleLayoutRenderingAdapter. Skip should be handled by Triggers",this.y4(),this.dE(),{requestingSlot:N,requestingLayout:H})}; +g.C.startRendering=function(N){N.layoutId!==this.dE().layoutId?this.callback.An(this.y4(),N,new sz("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+this.dE().layoutId+("and LayoutType: "+this.dE().layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED"):(this.k_.get().addListener(this),vT(this.Le(),this),H3l(this.YO.get()),xEv(this.Rx.get())||fqv(this.k_.get()),this.QR.startRendering(N))}; +g.C.BH=function(N,H){this.tE=!0;this.QR.BH(N,H);this.k_.get().J.dW();yK(this.Nc.get(),{});N=F9(this.k_.get(),1);N.isPaused()&&!g.y(N,2)&&this.k_.get().playVideo();this.k_.get().removeListener(this);this.tE&&this.QR.Xe()}; +g.C.AF=function(N,H){this.QR.AF(N,H)}; +g.C.Pr=function(N,H,c){H.layoutId===this.dE().layoutId&&(this.tE=!1,hI(this.Le(),this));this.QR.Pr(N,H,c);H.layoutId===this.dE().layoutId&&MS(this.YO.get())}; +g.C.vR=function(N){this.QR.vR(N)}; +g.C.jj=function(N){if(N.state.isError()){var H,c;this.Rz((H=N.state.vN)==null?void 0:H.errorCode,new sz("There was a player error during this media layout.",{playerErrorCode:(c=N.state.vN)==null?void 0:c.errorCode},"ADS_CLIENT_ERROR_MESSAGE_PLAYER_ERROR"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED")}else this.QR.jj(N)}; +g.C.Rz=function(N,H,c){this.QR.Er(N,H,c)}; +g.C.onFullscreenToggled=function(N){this.QR.onFullscreenToggled(N)}; +g.C.pC=function(N){this.QR.pC(N)}; +g.C.UV=function(N){this.QR.UV(N)}; +g.C.onVolumeChange=function(){this.QR.onVolumeChange()}; +g.C.Fy=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.aR=function(){}; +g.C.QQ=function(){};g.C=Ux.prototype;g.C.y4=function(){return this.slot}; +g.C.dE=function(){return this.layout}; +g.C.init=function(){this.jg.get().addListener(this);this.k_.get().addListener(this);var N=lQ(this.layout.clientMetadata,"metadata_type_layout_enter_ms");var H=lQ(this.layout.clientMetadata,"metadata_type_layout_exit_ms");if(this.U){var c=this.jg.get().XW.slice(-1)[0];c!==void 0&&(N=c.startSecs*1E3,H=(c.startSecs+c.C6)*1E3)}this.Tt(N,H);var t;c=(t=this.ea.get().Ow)==null?void 0:t.clientPlaybackNonce;t=this.layout.z0.adClientDataEntry;a2(this.Pp.get(),{daiStateTrigger:{filledAdsDurationMs:H-N,contentCpn:c, +adClientData:t}});var h=this.jg.get();h=xgL(h.L,N,H);h!==null&&(a2(this.Pp.get(),{daiStateTrigger:{filledAdsDurationMs:h-N,contentCpn:c,cueDurationChange:"DAI_CUE_DURATION_CHANGE_SHORTER",adClientData:t}}),this.ID.get().Fa(h,H))}; +g.C.release=function(){this.jR();this.jg.get().removeListener(this);this.k_.get().removeListener(this)}; +g.C.startRendering=function(){this.iy();this.callback.AF(this.slot,this.layout)}; +g.C.BH=function(N,H){this.Fl(H);this.driftRecoveryMs!==null&&(ep(this,{driftRecoveryMs:this.driftRecoveryMs.toString(),breakDurationMs:Math.round(qgv(this)-lQ(this.layout.clientMetadata,"metadata_type_layout_enter_ms")).toString(),driftFromHeadMs:Math.round(this.k_.get().J.iq()*1E3).toString()}),this.driftRecoveryMs=null);this.callback.Pr(this.slot,this.layout,H)}; +g.C.Bb=function(){return!1}; +g.C.Gh=function(N){var H=lQ(this.layout.clientMetadata,"metadata_type_layout_enter_ms"),c=lQ(this.layout.clientMetadata,"metadata_type_layout_exit_ms");N*=1E3;if(H<=N&&N0&&$D(this.T(),H)}; +g.C.PN=function(N){this.S.delete(N.slotId);for(var H=[],c=g.K(this.tF.values()),t=c.next();!t.done;t=c.next()){t=t.value;var h=t.trigger;h instanceof Az&&h.triggeringSlotId===N.slotId&&H.push(t)}H.length>0&&$D(this.T(),H)}; +g.C.cN=function(N){for(var H=[],c=g.K(this.tF.values()),t=c.next();!t.done;t=c.next()){t=t.value;var h=t.trigger;h instanceof qG&&h.slotType===N.slotType&&h.T!==N.slotId&&H.push(t)}H.length>0&&$D(this.T(),H)}; +g.C.GU=function(N){this.L.add(N.slotId);for(var H=[],c=g.K(this.tF.values()),t=c.next();!t.done;t=c.next())t=t.value,t.trigger instanceof gX&&N.slotId===t.trigger.triggeringSlotId&&H.push(t);H.length>0&&$D(this.T(),H)}; +g.C.e7=function(N){this.L.delete(N.slotId);this.U.add(N.slotId);for(var H=[],c=g.K(this.tF.values()),t=c.next();!t.done;t=c.next())if(t=t.value,t.trigger instanceof rX)N.slotId===t.trigger.triggeringSlotId&&H.push(t);else if(t.trigger instanceof g$){var h=t.trigger;N.slotId===h.slotId&&this.B.has(h.triggeringLayoutId)&&H.push(t)}H.length>0&&$D(this.T(),H)}; +g.C.fC=function(N){for(var H=[],c=g.K(this.tF.values()),t=c.next();!t.done;t=c.next())t=t.value,t.trigger instanceof EJ&&N.slotId===t.trigger.triggeringSlotId&&H.push(t);H.length>0&&$D(this.T(),H)}; +g.C.gR=function(N){for(var H=[],c=g.K(this.tF.values()),t=c.next();!t.done;t=c.next())t=t.value,t.trigger instanceof IV&&N.slotId===t.trigger.triggeringSlotId&&H.push(t);H.length>0&&$D(this.T(),H)}; +g.C.BN=function(N,H){this.Y.add(H.layoutId)}; +g.C.Sj=function(N,H){this.Y.delete(H.layoutId)}; +g.C.AF=function(N,H){this.B.add(H.layoutId);for(var c=[],t=g.K(this.tF.values()),h=t.next();!h.done;h=t.next())if(h=h.value,h.trigger instanceof Os)H.layoutId===h.trigger.triggeringLayoutId&&c.push(h);else if(h.trigger instanceof YC){var O=h.trigger;N.slotType===O.slotType&&H.layoutType===O.layoutType&&H.layoutId!==O.T&&c.push(h)}else h.trigger instanceof g$&&(O=h.trigger,H.layoutId===O.triggeringLayoutId&&this.U.has(O.slotId)&&c.push(h));c.length>0&&$D(this.T(),c)}; +g.C.Pr=function(N,H,c){this.B.delete(H.layoutId);N=[];for(var t=g.K(this.tF.values()),h=t.next();!h.done;h=t.next())if(h=h.value,h.trigger instanceof uN&&H.layoutId===h.trigger.triggeringLayoutId&&N.push(h),h.trigger instanceof l8){var O=h.trigger;H.layoutId===O.triggeringLayoutId&&O.T.includes(c)&&N.push(h)}N.length>0&&$D(this.T(),N)}; +g.C.XO=function(){}; +g.C.yQ=function(){this.U.clear()}; +g.C.o9=function(){};g.k(m_,g.L);m_.prototype.ye=function(N,H,c,t){if(this.tF.has(H.triggerId))throw new S("Tried to register duplicate trigger for slot.");if(!(H instanceof wX))throw new S("Incorrect TriggerType: Tried to register trigger of type "+H.triggerType+" in CloseRequestedTriggerAdapter");this.tF.set(H.triggerId,new I8(N,H,c,t))}; +m_.prototype.Qe=function(N){this.tF.delete(N.triggerId)};g.k(kh,g.L);kh.prototype.ye=function(N,H,c,t){if(this.tF.has(H.triggerId))throw new S("Tried to register duplicate trigger for slot.");if(!(H instanceof LH||H instanceof mZ))throw new S("Incorrect TriggerType: Tried to register trigger of type "+H.triggerType+" in ContentPlaybackLifecycleTriggerAdapter");this.tF.set(H.triggerId,new I8(N,H,c,t))}; +kh.prototype.Qe=function(N){this.tF.delete(N.triggerId)}; +kh.prototype.yQ=function(N){for(var H=[],c=H.push,t=c.apply,h=[],O=g.K(this.tF.values()),F=O.next();!F.done;F=O.next())F=F.value,F.trigger instanceof LH&&F.trigger.oy===N&&h.push(F);t.call(c,H,g.HE(h));c=H.push;t=c.apply;h=[];O=g.K(this.tF.values());for(F=O.next();!F.done;F=O.next())F=F.value,F.trigger instanceof mZ&&F.trigger.T!==N&&h.push(F);t.call(c,H,g.HE(h));H.length&&$D(this.T(),H)}; +kh.prototype.o9=function(N){for(var H=[],c=H.push,t=c.apply,h=[],O=g.K(this.tF.values()),F=O.next();!F.done;F=O.next()){F=F.value;var M=F.trigger;M instanceof mZ&&M.T===N&&h.push(F)}t.call(c,H,g.HE(h));H.length&&$D(this.T(),H)};g.k(Ii,g.L);g.C=Ii.prototype;g.C.ye=function(N,H,c,t){if(this.tF.has(H.triggerId))throw new S("Tried to register duplicate trigger for slot.");var h="adtriggercuerange:"+H.triggerId;if(H instanceof fH)iIs(this,N,H,c,t,h,H.T.start,H.T.end,H.oy,H.visible);else if(H instanceof tf)iIs(this,N,H,c,t,h,0x7ffffffffffff,0x8000000000000,H.oy,H.visible);else throw new S("Incorrect TriggerType: Tried to register trigger of type "+H.triggerType+" in CueRangeTriggerAdapter");}; +g.C.Qe=function(N){var H=this.tF.get(N.triggerId);H&&this.kO.get().removeCueRange(H.cueRangeId);this.tF.delete(N.triggerId)}; +g.C.onCueRangeEnter=function(N){var H=DPd(this,N);if(H&&(H=this.tF.get(H)))if(g.y(F9(this.k_.get()),32))this.T.add(H.cueRangeId);else{var c=H==null?void 0:H.Sz.trigger;if(c instanceof fH||c instanceof tf){if(G$(this.context.Rx.get())){var t=H.Sz.slot,h=H.Sz.layout,O={};this.context.xA.EF("cre",(O.ca=H.Sz.category,O.tt=c.triggerType,O.st=t.slotType,O.lt=h==null?void 0:h.layoutType,O.cid=N,O))}$D(this.B(),[H.Sz])}}}; +g.C.onCueRangeExit=function(N){(N=DPd(this,N))&&(N=this.tF.get(N))&&this.T.delete(N.cueRangeId)}; +g.C.jj=function(N){if(hC(N,16)<0){N=g.K(this.T);for(var H=N.next();!H.done;H=N.next())this.onCueRangeEnter(H.value,!0);this.T.clear()}}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.AF=function(){}; +g.C.Pr=function(){}; +g.C.XO=function(){}; +g.C.vR=function(){}; +g.C.onFullscreenToggled=function(){}; +g.C.pC=function(){}; +g.C.Fy=function(){}; +g.C.UV=function(){}; +g.C.onVolumeChange=function(){}; +g.C.aR=function(){}; +g.C.QQ=function(){};g.k(b7,g.L);g.C=b7.prototype; +g.C.ye=function(N,H,c,t){if(this.B.has(H.triggerId)||this.L.has(H.triggerId))throw new S("Tried to re-register the trigger.");N=new I8(N,H,c,t);if(N.trigger instanceof jX)this.B.set(N.trigger.triggerId,N);else if(N.trigger instanceof GJ)this.L.set(N.trigger.triggerId,N);else throw new S("Incorrect TriggerType: Tried to register trigger of type "+N.trigger.triggerType+" in LiveStreamBreakTransitionTriggerAdapter");this.B.has(N.trigger.triggerId)&&N.slot.slotId===this.T&&$D(this.U(),[N])}; +g.C.Qe=function(N){this.B.delete(N.triggerId);this.L.delete(N.triggerId)}; +g.C.eX=function(N){N=N.slotId;if(this.T!==N){var H=[];this.T!=null&&H.push.apply(H,g.HE(z$D(this.L,this.T)));N!=null&&H.push.apply(H,g.HE(z$D(this.B,N)));this.T=N;H.length&&$D(this.U(),H)}}; +g.C.dK=function(){}; +g.C.jD=function(){};g.k(Hs,g.L);g.C=Hs.prototype;g.C.ye=function(N,H,c,t){if(this.tF.has(H.triggerId))throw new S("Tried to register duplicate trigger for slot.");if(!(H instanceof mR))throw new S("Incorrect TriggerType: Tried to register trigger of type "+H.triggerType+" in OnLayoutSelfRequestedTriggerAdapter");this.tF.set(H.triggerId,new I8(N,H,c,t))}; +g.C.Qe=function(N){this.tF.delete(N.triggerId)}; +g.C.AF=function(){}; +g.C.Pr=function(){}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){};g.k(jr,g.L);g.C=jr.prototype;g.C.XO=function(N,H){for(var c=[],t=g.K(this.tF.values()),h=t.next();!h.done;h=t.next()){h=h.value;var O=h.trigger;O.opportunityType===N&&(O.associatedSlotId&&O.associatedSlotId!==H||c.push(h))}c.length&&$D(this.T(),c)}; +g.C.ye=function(N,H,c,t){if(this.tF.has(H.triggerId))throw new S("Tried to register duplicate trigger for slot.");if(!(H instanceof myZ))throw new S("Incorrect TriggerType: Tried to register trigger of type "+H.triggerType+" in OpportunityEventTriggerAdapter");this.tF.set(H.triggerId,new I8(N,H,c,t))}; +g.C.Qe=function(N){this.tF.delete(N.triggerId)}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.AF=function(){}; +g.C.Pr=function(){};g.k(NC,g.L);g.C=NC.prototype;g.C.ye=function(N,H,c,t){N=new I8(N,H,c,t);if(H instanceof q4||H instanceof Xi||H instanceof oN||H instanceof Pmh||H instanceof iTw){if(this.tF.has(H.triggerId))throw new S("Tried to register duplicate trigger for slot.");this.tF.set(H.triggerId,N)}else throw new S("Incorrect TriggerType: Tried to register trigger of type "+H.triggerType+" in PrefetchTriggerAdapter");}; +g.C.Qe=function(N){this.tF.delete(N.triggerId)}; +g.C.d0=function(N){var H=N.slotFulfillmentTriggers.find(function(c){return c instanceof q4}); +H&&(VN(this,"TRIGGER_TYPE_NEW_SLOT_SCHEDULED_WITH_BREAK_DURATION",H.breakDurationMs,new Set([N.slotId]),!0),F6(this.Pp.get(),"ads_css","sid."+N.slotId+";bd."+H.breakDurationMs))}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.AF=function(){}; +g.C.Pr=function(){}; +g.C.XO=function(){}; +g.C.Bb=function(N){var H=this;if(!this.T)return F6(this.Pp.get(),"ads_nfi","a.pta"),!1;this.B&&this.B.stop();this.S&&g.lY(this.S);var c=zIf(this,N);if(!c){var t=y0e(this),h=this.C!==void 0&&Date.now()<=this.C+1E4;F6(this.Pp.get(),"ads_ncfs","cid."+N.identifier+";cd."+N.C6.toFixed(3)+";ccs."+h+";cfa."+this.U+";bdc."+t.length+";"+t.slice(0,6).map(function(O){return";bd."+O}).join("")); +return h?(Due(this.G6,this.T,N),!0):!1}(t=lQ(c.slot.clientMetadata,"metadata_type_triggering_cue_point"))?t.current=N:KA("Expected triggering cue point ref to be available",c.slot);(new g.kT(function(){var O=c.trigger,F=c.slot;VN(H,"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_MATCHED",O.breakDurationMs,new Set,!0);VN(H,"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_NOT_MATCHED",O.breakDurationMs,new Set,!1);for(var M=0,f=g.K(H.tF.values()),d=f.next();!d.done;d=f.next()){d=d.value;var W= +d.trigger;d.slot.slotId===F.slotId&&(H.tF.delete(W.triggerId),M++)}F6(H.Pp.get(),"ads_csf","sid."+F.slotId+";bd."+O.breakDurationMs+";dt."+M)},10)).start(); +return!0}; +g.C.Gh=function(){}; +g.C.yQ=function(N){var H=this;this.U=!1;this.C=Date.now();if(this.T&&this.T.contentCpn!==N)KA("Fetch instructions carried over from previous content video",void 0,void 0,{contentCpn:N,fetchInstructionsCpn:this.T.contentCpn}),A_(this);else{this.L=new g.kT(function(){if(H.U)delete H.L;else{var t=H.k_.get().getGetAdBreakContext(),h;if(Number(t==null?void 0:(h=t.livePlaybackPosition)==null?void 0:h.utcTimeMillis)>0)delete H.L,Gjd(H);else{var O;(O=H.L)==null||O.start()}}},200); +var c;(c=this.L)==null||c.start()}}; +g.C.o9=function(N){this.T&&this.T.contentCpn!==N&&KA("Expected content video of the current fetch instructions to end",void 0,void 0,{contentCpn:N,fetchInstructionsCpn:this.T.contentCpn},!0);A_(this)}; +g.C.DS=function(N){var H=this;if(this.T)KA("Unexpected multiple fetch instructions for the current content");else{this.T=N;N=O1S(N);this.B=new g.kT(function(){Gjd(H)},N?N:6E5); +this.B.start();this.S=new g.kT(function(){H.T&&(H.B&&(H.B.stop(),H.B.start()),Bny(H,"TRIGGER_TYPE_CUE_BREAK_IDENTIFIED"))},h0L(this.T)); +N=this.k_.get().getCurrentTimeSec(1,!1);for(var c=g.K(this.jg.get().XW),t=c.next();!t.done;t=c.next())t=t.value,F6(this.Pp.get(),"nocache","ct."+Date.now()+";cmt."+N+";d."+t.C6.toFixed(3)+";tw."+(t.startSecs-N)+";cid."+t.identifier+";")}}; +g.C.Os=function(){g.L.prototype.Os.call(this);A_(this)};g.k(w8,g.L);g.C=w8.prototype;g.C.ye=function(N,H,c,t){if(this.tF.has(H.triggerId))throw new S("Tried to register duplicate trigger for slot.");if(!(H instanceof Ev))throw new S("Incorrect TriggerType: Tried to register trigger of type "+H.triggerType+" in TimeRelativeToLayoutEnterTriggerAdapter");this.tF.set(H.triggerId,new I8(N,H,c,t));N=this.T.has(H.triggeringLayoutId)?this.T.get(H.triggeringLayoutId):new Set;N.add(H);this.T.set(H.triggeringLayoutId,N)}; +g.C.Qe=function(N){this.tF.delete(N.triggerId);if(!(N instanceof Ev))throw new S("Incorrect TriggerType: Tried to unregister trigger of type "+N.triggerType+" in TimeRelativeToLayoutEnterTriggerAdapter");var H=this.B.get(N.triggerId);H&&(H.dispose(),this.B.delete(N.triggerId));if(H=this.T.get(N.triggeringLayoutId))H.delete(N),H.size===0&&this.T.delete(N.triggeringLayoutId)}; +g.C.d0=function(){}; +g.C.PN=function(){}; +g.C.cN=function(){}; +g.C.GU=function(){}; +g.C.e7=function(){}; +g.C.fC=function(){}; +g.C.gR=function(){}; +g.C.BN=function(){}; +g.C.Sj=function(){}; +g.C.XO=function(){}; +g.C.AF=function(N,H){var c=this;if(this.T.has(H.layoutId)){N=this.T.get(H.layoutId);N=g.K(N);var t=N.next();for(H={};!t.done;H={YC:void 0},t=N.next())H.YC=t.value,t=new g.kT(function(h){return function(){var O=c.tF.get(h.YC.triggerId);$D(c.L(),[O])}}(H),H.YC.durationMs),t.start(),this.B.set(H.YC.triggerId,t)}}; +g.C.Pr=function(){};g.k(iS,g.L);iS.prototype.ye=function(N,H,c,t){if(this.tF.has(H.triggerId))throw new S("Tried to register duplicate trigger for slot.");if(!(H instanceof Hc))throw new S("Incorrect TriggerType: Tried to register trigger of type "+H.triggerType+" in VideoTransitionTriggerAdapter.");this.tF.set(H.triggerId,new I8(N,H,c,t))}; +iS.prototype.Qe=function(N){this.tF.delete(N.triggerId)};qV.prototype.w2=function(N){return N.kind==="AD_PLACEMENT_KIND_START"};g.k(sS,g.L);g.C=sS.prototype;g.C.logEvent=function(N){this.bJ(N)}; +g.C.SE=function(N,H,c){this.bJ(N,void 0,void 0,void 0,H,void 0,void 0,void 0,H.adSlotLoggingData,void 0,void 0,c)}; +g.C.A3=function(N,H,c,t){this.bJ(N,void 0,void 0,void 0,H,c?c:void 0,void 0,void 0,H.adSlotLoggingData,c?c.adLayoutLoggingData:void 0,void 0,t);H=nM().resolve(new Sp(Pq))==null?void 0:Iq();N=H==null?void 0:H.adsSeenHotConfig;H=H==null?void 0:H.adsHotConfig;(N==null?0:N.logOnAdsSeen)&&(H==null?0:H.webEnablePremiumAdsSeenLogging)&&fxe(this,c?c:void 0,t)}; +g.C.DW=function(N,H,c,t){dy(this.Rx.get(),"h5_enable_pacf_debug_logs")&&console.log("[PACF]: "+N,"trigger:",c,"slot:",H,"layout:",t);hF(this.T.get())&&this.bJ(N,void 0,void 0,void 0,H,t?t:void 0,void 0,c,H.adSlotLoggingData,t?t.adLayoutLoggingData:void 0)}; +g.C.Gi=function(N,H,c,t,h){this.bJ(N,H,c,t,void 0,void 0,void 0,void 0,void 0,void 0,void 0,h)}; +g.C.Dz=function(N,H,c,t){this.bJ("ADS_CLIENT_EVENT_TYPE_ERROR",void 0,void 0,void 0,c,t,void 0,void 0,c.adSlotLoggingData,t?t.adLayoutLoggingData:void 0,{errorType:N,errorMessage:H})}; +g.C.bJ=function(N,H,c,t,h,O,F,M,f,d,W,z){var E=this;z=z===void 0?0:z;dy(this.Rx.get(),"h5_enable_pacf_debug_logs")&&console.log("[PACF]: "+N,"slot:",h,"layout:",O,"ping:",F,"Opportunity:",{opportunityType:H,associatedSlotId:c,duo:t,q0W:M,adSlotLoggingData:f,adLayoutLoggingData:d});try{var x=function(){if(!E.Rx.get().J.D().N("html5_disable_client_tmp_logs")&&N!=="ADS_CLIENT_EVENT_TYPE_UNSPECIFIED"){N||KA("Empty PACF event type",h,O);var q=hF(E.T.get()),r={eventType:N,eventOrder:++E.eventCount},w={}; +h&&(w.slotData=jD(q,h));O&&(w.layoutData=NdD(q,O));F&&(w.pingData={pingDispatchStatus:"ADS_CLIENT_PING_DISPATCH_STATUS_SUCCESS",serializedAdPingMetadata:F.T.serializedAdPingMetadata,pingIndex:F.index});M&&(w.triggerData=TI(M.trigger,M.category));H&&(w.opportunityData=wmt(q,H,c,t));q={organicPlaybackContext:{contentCpn:s7(E.ea.get(),1).clientPlaybackNonce}};q.organicPlaybackContext.isLivePlayback=s7(E.ea.get(),1).K4;var n;q.organicPlaybackContext.isMdxPlayback=(n=s7(E.ea.get(),1))==null?void 0:n.isMdxPlayback; +var p;if((p=s7(E.ea.get(),1))==null?0:p.daiEnabled)q.organicPlaybackContext.isDaiContent=!0;var U;if(n=(U=s7(E.ea.get(),2))==null?void 0:U.clientPlaybackNonce)q.adVideoPlaybackContext={adVideoCpn:n};q&&(w.externalContext=q);r.adClientData=w;f&&(r.serializedSlotAdServingData=f.serializedSlotAdServingDataEntry);d&&(r.serializedAdServingData=d.serializedAdServingDataEntry);W&&(r.errorInfo=W);g.uF("adsClientStateChange",{adsClientEvent:r})}}; +z&&z>0?g.ii(g.S6(),function(){return x()},z):x()}catch(q){dy(this.Rx.get(),"html5_log_pacf_logging_errors")&&g.ii(g.S6(),function(){KA(q instanceof Error?q:String(q),h,O,{pacf_message:"exception during pacf logging"})})}};var wWd=new Set("ADS_CLIENT_EVENT_TYPE_LAYOUT_ENTERED ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_NORMALLY ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_SKIP ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_ABANDON ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_MUTE ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_USER_INPUT_SUBMITTED ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_ABORTED".split(" "));g.k(BE,sS);g.C=BE.prototype; +g.C.SE=function(N,H,c){sS.prototype.SE.call(this,N,H,c);G$(this.Rx.get())&&(c={},this.context.xA.EF("pacf",(c.et=N,c.st=H.slotType,c.si=H.slotId,c)))}; +g.C.A3=function(N,H,c,t){var h=wWd.has(N);sS.prototype.A3.call(this,N,H,c,t);G$(this.Rx.get(),h)&&(t={},this.context.xA.EF("pacf",(t.et=N,t.st=H.slotType,t.si=H.slotId,t.lt=c==null?void 0:c.layoutType,t.li=c==null?void 0:c.layoutId,t.p_ac=c==null?void 0:c.layoutId,t)))}; +g.C.Gi=function(N,H,c,t,h){sS.prototype.Gi.call(this,N,H,c,t,h);G$(this.Rx.get())&&(c={},this.context.xA.EF("pacf",(c.et=N,c.ot=H,c.ss=t==null?void 0:t.length,c)))}; +g.C.DW=function(N,H,c,t){sS.prototype.DW.call(this,N,H,c,t);if(G$(this.Rx.get())){var h={};this.context.xA.EF("pacf",(h.et=N,h.tt=c.trigger.triggerType,h.tc=c.category,h.st=H.slotType,h.si=H.slotId,h.lt=t==null?void 0:t.layoutType,h.li=t==null?void 0:t.layoutId,h.p_ac=t==null?void 0:t.layoutId,h))}}; +g.C.Dz=function(N,H,c,t){sS.prototype.Dz.call(this,N,H,c,t);if(G$(this.Rx.get(),!0)){var h={};this.context.xA.EF("perror",(h.ert=N,h.erm=H,h.st=c.slotType,h.si=c.slotId,h.lt=t==null?void 0:t.layoutType,h.li=t==null?void 0:t.layoutId,h.p_ac=t==null?void 0:t.layoutId,h))}}; +g.C.bJ=function(N,H,c,t,h,O,F,M,f,d,W){var z=this.Rx.get();g.Iy(z.J.D())?(z=this.Rx.get(),z=g.Mx(z.J.D().experiments,"H5_async_logging_delay_ms")):z=void 0;sS.prototype.bJ.call(this,N,H,c,t,h,O,F,M,f,d,W,z)};C$.prototype.clear=function(){this.T.clear()};R3.prototype.state=function(){return this.T==="fulfilled"?{state:"fulfilled",value:this.result}:this.T==="rejected"?{state:"rejected",reason:this.error}:{state:"pending"}}; +R3.prototype.U=function(N){DZ(N)||wH(N)?pq(QA(N),this.U.bind(this),this.reject.bind(this)):(this.T="fulfilled",this.result=N,yQd(this))}; +R3.prototype.reject=function(N){this.T="rejected";this.error=N;yQd(this)}; +var wH=Kz(function(N){return Axh(N)?N instanceof R3:!1});var P6=window.LDp||"en";kv.prototype.Ll=function(N){this.client=N}; +kv.prototype.T=function(){this.clear();this.csn=g.gi()}; +kv.prototype.clear=function(){this.L.clear();this.B.clear();this.U.clear();this.csn=null};A4.prototype.Ll=function(N){g.Lu(fy().Ll).bind(fy())(N)}; +A4.prototype.clear=function(){g.Lu(fy().clear).bind(fy())()};g.C=II.prototype;g.C.Ll=function(N){this.client=N}; +g.C.dn=function(N,H){var c=this;H=H===void 0?{}:H;g.Lu(function(){var t,h,O,F=((t=g.P(N==null?void 0:N.commandMetadata,g.lz))==null?void 0:t.rootVe)||((h=g.P(N==null?void 0:N.commandMetadata,RZc))==null?void 0:(O=h.screenVisualElement)==null?void 0:O.uiType);if(F){t=g.P(N==null?void 0:N.commandMetadata,fld);if(t==null?0:t.parentTrackingParams){var M=g.bg(t.parentTrackingParams);if(t.parentCsn)var f=t.parentCsn}else H.clickedVisualElement?M=H.clickedVisualElement:N.clickTrackingParams&&(M=g.bg(N.clickTrackingParams)); +a:{t=g.P(N,g.DS);h=g.P(N,$5R);if(t){if(h=Xbe(t,"VIDEO")){t={token:h,videoId:t.videoId};break a}}else if(h&&(t=Xbe(h,"PLAYLIST"))){t={token:t,playlistId:h.playlistId};break a}t=void 0}H=Object.assign({},{cttAuthInfo:t,parentCsn:f},H);if(g.sf("expectation_logging")){var d;H.loggingExpectations=((d=g.P(N==null?void 0:N.commandMetadata,RZc))==null?void 0:d.loggingExpectations)||void 0}R9(c,F,M,H)}else g.aS(new g.ti("Error: Trying to create a new screen without a rootVeType",N))})()}; +g.C.clickCommand=function(N,H,c){N=N.clickTrackingParams;c=c===void 0?0:c;N?(c=g.gi(c===void 0?0:c))?(Cf(this.client,c,g.bg(N),H),H=!0):H=!1:H=!1;return H}; +g.C.stateChanged=function(N,H,c){this.visualElementStateChanged(g.bg(N),H,c===void 0?0:c)}; +g.C.visualElementStateChanged=function(N,H,c){c=c===void 0?0:c;c===0&&this.B.has(c)?this.Z.push([N,H]):gNt(this,N,H,c)};Zz.prototype.fetch=function(N,H,c){var t=this,h=qOf(N,H,c);return new Promise(function(O,F){function M(){if(c==null?0:c.o$)try{var d=t.handleResponse(N,h.status,h.response,c);O(d)}catch(W){F(W)}else O(t.handleResponse(N,h.status,h.response,c))} +h.onerror=M;h.onload=M;var f;h.send((f=H.body)!=null?f:null)})}; +Zz.prototype.handleResponse=function(N,H,c,t){c=c.replace(")]}'","");try{var h=JSON.parse(c)}catch(O){g.aS(new g.ti("JSON parsing failed after XHR fetch",N,H,c));if((t==null?0:t.o$)&&c)throw new g.Zm(1,"JSON parsing failed after XHR fetch");h={}}H!==200&&(g.aS(new g.ti("XHR API fetch failed",N,H,c)),h=Object.assign({},h,{errorMetadata:{status:H}}));return h};v0.getInstance=function(){var N=g.NA("ytglobal.storage_");N||(N=new v0,g.Hw("ytglobal.storage_",N));return N}; +v0.prototype.estimate=function(){var N,H,c;return g.Y(function(t){N=navigator;return((H=N.storage)==null?0:H.estimate)?t.return(N.storage.estimate()):((c=N.webkitTemporaryStorage)==null?0:c.queryUsageAndQuota)?t.return(v7h()):t.return()})}; +g.Hw("ytglobal.storageClass_",v0);KN.prototype.vZ=function(N){this.handleError(N)}; +KN.prototype.logEvent=function(N,H){switch(N){case "IDB_DATA_CORRUPTED":g.sf("idb_data_corrupted_killswitch")||this.T("idbDataCorrupted",H);break;case "IDB_UNEXPECTEDLY_CLOSED":this.T("idbUnexpectedlyClosed",H);break;case "IS_SUPPORTED_COMPLETED":g.sf("idb_is_supported_completed_killswitch")||this.T("idbIsSupportedCompleted",H);break;case "QUOTA_EXCEEDED":N6v(this,H);break;case "TRANSACTION_ENDED":this.L&&Math.random()<=.1&&this.T("idbTransactionEnded",H);break;case "TRANSACTION_UNEXPECTEDLY_ABORTED":N= +Object.assign({},H,{hasWindowUnloaded:this.B}),this.T("idbTransactionAborted",N)}};var yU={},tEw=g.t4("yt-player-local-media",{xu:(yU.index={nm:2},yU.media={nm:2},yU.captions={nm:5},yU),shared:!1,upgrade:function(N,H){H(2)&&(g.M6(N,"index"),g.M6(N,"media"));H(5)&&g.M6(N,"captions");H(6)&&(oh(N,"metadata"),oh(N,"playerdata"))}, +version:5});var DkZ={cupcake:1.5,donut:1.6,eclair:2,froyo:2.2,gingerbread:2.3,honeycomb:3,"ice cream sandwich":4,jellybean:4.1,kitkat:4.4,lollipop:5.1,marshmallow:6,nougat:7.1},Gt;a:{var RR=g.tA();RR=RR.toLowerCase();if(g.ri(RR,"android")){var Q_l=RR.match(/android\s*(\d+(\.\d+)?)[^;|)]*[;)]/);if(Q_l){var pW4=parseFloat(Q_l[1]);if(pW4<100){Gt=pW4;break a}}var uGx=RR.match("("+Object.keys(DkZ).join("|")+")");Gt=uGx?DkZ[uGx[0]]:0}else Gt=void 0}var Mh=Gt,wg=Mh>=0;var tWv=lH(function(){var N,H;return(H=(N=window).matchMedia)==null?void 0:H.call(N,"(prefers-reduced-motion: reduce)").matches});var lK;g.jv=new Qn;lK=0;var km=FZd()?!0:typeof window.fetch==="function"&&window.ReadableStream&&window.AbortController&&!g.BY?!0:!1;var N_={pX:function(N,H){N[T[22]](0,H)}, +hf:function(N){N[T[32]]()}, +IJ:function(N,H){var c=N[0];N[0]=N[H%N[T[2]]];N[H%N[T[2]]]=c}};var uvZ={bFS:"adunit",myi:"detailpage",Cqg:"editpage",Kcg:"embedded",Obf:"leanback",kvi:"previewpage",p0W:"profilepage",gS:"unplugged",Ijl:"playlistoverview",Kd_:"sponsorshipsoffer",kZS:"shortspage",leR:"handlesclaiming",Yaa:"immersivelivepage",lzW:"creatormusic",C1p:"immersivelivepreviewpage",eex:"admintoolyurt",JVs:"shortsaudiopivot",BqE:"consumption",Pwo:"background_audio_playback"};var t3l=2592E3;var oR,J8d,Rc;oR={};g.Jk=(oR.STOP_EVENT_PROPAGATION="html5-stop-propagation",oR.IV_DRAWER_ENABLED="ytp-iv-drawer-enabled",oR.IV_DRAWER_OPEN="ytp-iv-drawer-open",oR.MAIN_VIDEO="html5-main-video",oR.VIDEO_CONTAINER="html5-video-container",oR.VIDEO_CONTAINER_TRANSITIONING="html5-video-container-transitioning",oR.HOUSE_BRAND="house-brand",oR);J8d={};Rc=(J8d.RIGHT_CONTROLS_LEFT="ytp-right-controls-left",J8d.RIGHT_CONTROLS_RIGHT="ytp-right-controls-right",J8d);var q8l={allowed:"AUTOPLAY_BROWSER_POLICY_ALLOWED","allowed-muted":"AUTOPLAY_BROWSER_POLICY_ALLOWED_MUTED",disallowed:"AUTOPLAY_BROWSER_POLICY_DISALLOWED"};var NfS={ANDROID:3,ANDROID_KIDS:18,ANDROID_MUSIC:21,ANDROID_UNPLUGGED:29,WEB:1,WEB_REMIX:67,WEB_UNPLUGGED:41,IOS:5,IOS_KIDS:19,IOS_MUSIC:26,IOS_UNPLUGGED:33},c1l={android:"ANDROID","android.k":"ANDROID_KIDS","android.m":"ANDROID_MUSIC","android.up":"ANDROID_UNPLUGGED",youtube:"WEB","youtube.m":"WEB_REMIX","youtube.up":"WEB_UNPLUGGED",ytios:"IOS","ytios.k":"IOS_KIDS","ytios.m":"IOS_MUSIC","ytios.up":"IOS_UNPLUGGED"},wOL={"mdx-pair":1,"mdx-dial":2,"mdx-cast":3,"mdx-voice":4,"mdx-inappdial":5};var axR={DISABLED:1,ENABLED:2,PAUSED:3,1:"DISABLED",2:"ENABLED",3:"PAUSED"};g.Ft[T[47]][T[1]]=function(N,H){this[T[6]][N]!==H&&(this[T[6]][N]=H,this[T[27]]=T[16])}; +g.Ft[T[47]][T[10]]=function(N){Ui(2,this);return this[T[6]][N]||null}; +g.Ft[T[47]][T[29]]=function(){this[T[27]]||(this[T[27]]=fN(48,this));return this[T[27]]}; +g.Ft[T[47]][T[21]]=function(){var N=new g.Ft(this[T[14]],this[T[24]]);N[T[7]]=this[T[7]];N[T[5]]=this[T[5]];N[T[17]]=this[T[17]];N[T[6]]=g.dP(this[T[6]]);N[T[27]]=this[T[27]];return N}; +var Q8w=[Zzf];g.Pi.prototype.getLanguageInfo=function(){return this.X3}; +g.Pi.prototype.getXtags=function(){if(!this.xtags){var N=this.id.split(";");N.length>1&&(this.xtags=N[1])}return this.xtags}; +g.Pi.prototype.toString=function(){return this.X3.name}; +g.Pi.prototype.getLanguageInfo=g.Pi.prototype.getLanguageInfo;jw.prototype.equals=function(N){return this.B===N.B&&this.T===N.T&&this.L===N.L&&this.reason===N.reason&&(!Mw||this.OF===N.OF)}; +jw.prototype.isLocked=function(){return this.L&&!!this.B&&this.B===this.T}; +jw.prototype.compose=function(N){if(N.L&&dd(N))return wv;if(N.L||dd(this))return N;if(this.L||dd(N))return this;var H=this.B&&N.B?Math.max(this.B,N.B):this.B||N.B,c=this.T&&N.T?Math.min(this.T,N.T):this.T||N.T;H=Math.min(H,c);var t=0;Mw&&(t=this.OF!==0&&N.OF!==0?Math.min(this.OF,N.OF):this.OF===0?N.OF:this.OF);return Mw&&H===this.B&&c===this.T&&t===this.OF||!Mw&&H===this.B&&c===this.T?this:Mw?new jw(H,c,!1,c===this.T&&t===this.OF?this.reason:N.reason,t):new jw(H,c,!1,c===this.T?this.reason:N.reason)}; +jw.prototype.U=function(N){return!N.video||Mw&&this.OF!==0&&this.OF=0}; +g.C.I$=function(){var N=this.segments[this.segments.length-1];return N?N.endTime:NaN}; +g.C.T7=function(){return this.segments[0].startTime}; +g.C.Vb=function(){return this.segments.length}; +g.C.Tn=function(){return 0}; +g.C.b$=function(N){return(N=this.Iv(N))?N.Y_:-1}; +g.C.Q8=function(N){return(N=this.BL(N))?N.sourceURL:""}; +g.C.getStartTime=function(N){return(N=this.BL(N))?N.startTime:0}; +g.C.ES=function(N){return this.getStartTime(N)+this.getDuration(N)}; +g.C.w8=h3(1);g.C.isLoaded=function(){return this.segments.length>0}; +g.C.BL=function(N){if(this.T&&this.T.Y_===N)return this.T;N=g.Kv(this.segments,new YB(N,0,0,0,""),function(H,c){return H.Y_-c.Y_}); +return this.T=N>=0?this.segments[N]:null}; +g.C.Iv=function(N){if(this.T&&this.T.startTime<=N&&N=0?this.segments[N]:this.segments[Math.max(0,-N-2)]}; +g.C.append=function(N){if(N.length)if(N=g.bX(N),this.segments.length){var H=this.segments.length?g.vU(this.segments).endTime:0,c=N[0].Y_-this.Ff();c>1&&ETR(this.segments);for(c=c>0?0:-c+1;cN.Y_&&this.index.lW()<=N.Y_+1}; +g.C.update=function(N,H,c){this.index.append(N);wFL(this.index,c);N=this.index;N.B=H;N.L="update"}; +g.C.g0=function(){return this.RL()?!0:H_.prototype.g0.call(this)}; +g.C.HM=function(N,H){var c=this.index.Q8(N),t=this.index.getStartTime(N),h=this.index.getDuration(N),O;H?h=O=0:O=this.info.OF>0?this.info.OF*h:1E3;return new vx([new J9(3,this,void 0,"liveCreateRequestInfoForSegment",N,t,h,0,O,!H)],c)}; +g.C.fV=function(){return this.RL()?0:this.initRange.length}; +g.C.tR=function(){return!1};xp.prototype.update=function(N){var H=void 0;this.B&&(H=this.B);var c=new xp,t=Array.from(N.getElementsByTagName("S"));if(t.length){var h=+PD(N,"timescale")||1,O=(+t[0].getAttribute("t")||0)/h,F=+PD(N,"startNumber")||0;c.U=O;var M=H?H.startSecs+H.C6:0,f=Date.parse(b9y(PD(N,"yt:segmentIngestTime")))/1E3;c.S=N.parentElement.tagName==="SegmentTemplate";c.S&&(c.C=PD(N,"media"));N=H?F-H.Y_:1;c.Y=N>0?0:-N+1;N=g.K(t);for(t=N.next();!t.done;t=N.next()){t=t.value;for(var d=+t.getAttribute("d")/h,W=(+t.getAttribute("yt:sid")|| +0)/h,z=+t.getAttribute("r")||0,E=0;E<=z;E++)if(H&&F<=H.Y_)F++;else{var x=new m6v(F,M,d,f+W,O);c.T.push(x);var q=t;var r=h,w=x.startSecs;x=q.getAttribute("yt:cuepointTimeOffset");var n=q.getAttribute("yt:cuepointDuration");if(x&&n){x=Number(x);w=-x/r+w;r=Number(n)/r;n=q.getAttribute("yt:cuepointContext")||null;var p=q.getAttribute("yt:cuepointIdentifier")||"";q=q.getAttribute("yt:cuepointEvent")||"";q=new Ni(w,r,n,p,SC7[q]||"unknown",x)}else q=null;q&&c.L.push(q);F++;M+=d;O+=d;f+=d+W}}c.T.length&& +(c.B=g.vU(c.T))}this.Y=c.Y;this.B=c.B||this.B;g.N9(this.T,c.T);g.N9(this.L,c.L);this.S=c.S;this.C=c.C;this.U===-1&&(this.U=c.getStreamTimeOffset())}; +xp.prototype.getStreamTimeOffset=function(){return this.U===-1?0:this.U};g.k(lE,g.zU);g.C=lE.prototype;g.C.g$=function(){return this.ul}; +g.C.rA=function(N,H){N=mu(this,N);return N>=0&&(H||!this.segments[N].pending)}; +g.C.lW=function(){return this.Q5?this.segments.length?this.Iv(this.T7()).Y_:-1:g.zU.prototype.lW.call(this)}; +g.C.T7=function(){if(this.K6)return 0;if(!this.Q5)return g.zU.prototype.T7.call(this);if(!this.segments.length)return 0;var N=Math.max(g.vU(this.segments).endTime-this.O9,0);return this.rk>0&&this.Iv(N).Y_0)return this.hZ/1E3;if(!this.segments.length)return g.zU.prototype.I$.call(this);var N=this.Ff();if(!this.Q5||N<=this.segments[this.segments.length-1].Y_)N=this.segments[this.segments.length-1];else{var H=this.segments[this.segments.length-1];N=new YB(N,Math.max(0,H.startTime-(H.Y_-N)*this.ul),this.ul,0,"sq/"+N,void 0,void 0,!0)}return this.K6?Math.min(this.O9,N.endTime):N.endTime}; +g.C.Vb=function(){return this.Q5?this.segments.length?this.Ff()-this.lW()+1:0:g.zU.prototype.Vb.call(this)}; +g.C.Ff=function(){var N=Math.min(this.Em,Math.max(g.zU.prototype.Ff.call(this),this.X_)),H=this.O9*1E3;H=this.hZ>0&&this.hZ0&&this.X_>0&&!H&&(H=this.Iv(this.O9))&&(N=Math.min(H.Y_-1,N));return N}; +g.C.NZ=function(){return this.segments.length?this.segments[this.segments.length-1]:null}; +g.C.VH=function(N){var H=mu(this,N.Y_);if(H>=0)this.segments[H]=N;else if(this.segments.splice(-(H+1),0,N),this.fU&&N.Y_%(300/this.ul)===0){var c=this.segments[0].Y_,t=Math.floor(this.fU/this.ul);N=N.Y_-t;H=-(H+1)-t;H>0&&N>c&&(this.segments=this.segments.slice(H))}}; +g.C.lm=function(){return this.X_}; +g.C.wK=function(N){return sJe?!this.B&&N>=0&&this.Ff()<=N:g.zU.prototype.wK.call(this,N)}; +g.C.Iv=function(N){if(!this.Q5)return g.zU.prototype.Iv.call(this,N);if(!this.segments.length)return null;var H=this.segments[this.segments.length-1];if(N=H.endTime)H=H.Y_+Math.floor((N-H.endTime)/this.ul+1);else{H=xt(this.segments,function(t){return N=t.endTime?1:0}); +if(H>=0)return this.segments[H];var c=-(H+1);H=this.segments[c-1];c=this.segments[c];H=Math.floor((N-H.endTime)/((c.startTime-H.endTime)/(c.Y_-H.Y_-1))+1)+H.Y_}return this.BL(H)}; +g.C.BL=function(N){if(!this.Q5)return g.zU.prototype.BL.call(this,N);if(!this.segments.length)return null;var H=mu(this,N);if(H>=0)return this.segments[H];var c=-(H+1);H=this.ul;if(c===0)var t=Math.max(0,this.segments[0].startTime-(this.segments[0].Y_-N)*H);else c===this.segments.length?(t=this.segments[this.segments.length-1],t=t.endTime+(N-t.Y_-1)*H):(t=this.segments[c-1],H=this.segments[c],H=(H.startTime-t.endTime)/(H.Y_-t.Y_-1),t=t.endTime+(N-t.Y_-1)*H);return new YB(N,t,H,0,"sq/"+N,void 0,void 0, +!0)}; +var sJe=!1;g.k(HI,Cp);g.C=HI.prototype;g.C.Ux=function(){return!0}; +g.C.g0=function(){return!0}; +g.C.j4=function(N){return this.zm()&&N.B&&!N.L||!N.mR.index.wK(N.Y_)}; +g.C.cJ=function(){}; +g.C.DQ=function(N,H){return typeof N!=="number"||isFinite(N)?Cp.prototype.DQ.call(this,N,H===void 0?!1:H):new vx([new J9(3,this,void 0,"mlLiveGetReqInfoStubForTime",-1,void 0,this.JJ,void 0,this.JJ*this.info.OF)],"")}; +g.C.HM=function(N,H){var c=c===void 0?!1:c;if(this.index.rA(N))return Cp.prototype.HM.call(this,N,H);var t=this.index.getStartTime(N),h=Math.round(this.JJ*this.info.OF),O=this.JJ;H&&(O=h=0);return new vx([new J9(c?6:3,this,void 0,"mlLiveCreateReqInfoForSeg",N,t,O,void 0,h,!H)],N>=0?"sq/"+N:"")};g.k(i0,H_);g.C=i0.prototype;g.C.Oa=function(){return!1}; +g.C.zm=function(){return!1}; +g.C.Ux=function(){return!1}; +g.C.cJ=function(){return new vx([new J9(1,this,void 0,"otfInit")],this.S)}; +g.C.V3=function(){return null}; +g.C.K3=function(N){this.j4(N);return KPv(this,Lv(N),!1)}; +g.C.DQ=function(N,H){H=H===void 0?!1:H;N=this.index.b$(N);H&&(N=Math.min(this.index.Ff(),N+1));return KPv(this,N,!0)}; +g.C.F8=function(N){N.info.type===1&&(this.T||(this.T=Qy(N.B)),N.T&&N.T.uri==="http://youtube.com/streaming/otf/durations/112015"&&LNl(this,N.T))}; +g.C.j4=function(N){return N.B===0?!0:this.index.Ff()>N.Y_&&this.index.lW()<=N.Y_+1}; +g.C.fV=function(){return 0}; +g.C.tR=function(){return!1};var pty=new Map,nFD=new Map,ull=new function(){var N=this;this.T=new Map;this.Br={lQg:function(){return N.T}}};g.C=g.fFf.prototype;g.C.rA=function(N){return N<=this.Ff()}; +g.C.Tn=function(N){return this.offsets[N]}; +g.C.getStartTime=function(N){return this.startTicks[N]/this.T}; +g.C.ES=function(N){return this.getStartTime(N)+this.getDuration(N)}; +g.C.w8=h3(0);g.C.kH=function(){return NaN}; +g.C.getDuration=function(N){N=this.z1(N);return N>=0?N/this.T:-1}; +g.C.z1=function(N){return N+1=0}; +g.C.I$=function(){return this.B?this.startTicks[this.count]/this.T:NaN}; +g.C.T7=function(){return 0}; +g.C.Vb=function(){return this.count}; +g.C.Q8=function(){return""}; +g.C.b$=function(N){N=g.Kv(this.startTicks.subarray(0,this.count),N*this.T);return N>=0?N:Math.max(0,-N-2)}; +g.C.isLoaded=function(){return this.Ff()>=0}; +g.C.F4=function(N,H){if(N>=this.Ff())return 0;var c=0;for(H=this.getStartTime(N)+H;Nthis.getStartTime(N);N++)c=Math.max(c,qTD(this,N)/this.getDuration(N));return c}; +g.C.resize=function(N){N+=2;var H=this.offsets;this.offsets=new Float64Array(N+1);var c=this.startTicks;this.startTicks=new Float64Array(N+1);for(N=0;N0&&N&&(c=c.range.end+1,N=Math.min(N,this.info.contentLength-c),N>0&&t.push(new J9(4,this,Xv(c,N),"tbdRange",void 0,void 0,void 0,void 0,void 0,void 0,void 0,H)));return new vx(t)}; +g.C.F8=function(N){if(N.info.type===1){if(this.T)return;this.T=Qy(N.B)}else if(N.info.type===2){if(this.S||this.index.Ff()>=0)return;if(g.vs(this.info)){var H=this.index,c=g.sn(N);N=N.info.range.start;var t=g.Yv(c,0,1936286840);c=ayL(t);H.T=c.timescale;var h=c.Bk;H.offsets[0]=c.ZU+N+t.size;H.startTicks[0]=h;H.B=!0;N=c.RO.length;for(t=0;t0&&N===O[0].HI)for(N=0;N=H+c)break}h.length||(N=new g.ti("b189619593",""+N,""+H,""+c),g.BZ(N));return new vx(h)}; +g.C.Sb=function(N){for(var H=this.La(N.info),c=N.info.range.start+N.info.T,t=[],h=0;h=this.index.Tn(c+1);)c++;return this.cC(c,H,N.B).L4}; +g.C.j4=function(N){N.Xy();return this.g0()?!0:N.range.end+1this.info.contentLength&&(H=new oa(H.start,this.info.contentLength-1)),new vx([new J9(4,N.mR,H,"getNextRequestInfoByLength",void 0,void 0,void 0,void 0,void 0,void 0,void 0,N.clipId)]);N.type===4&&(N=this.La(N),N=N[N.length-1]);var c=0,t=N.range.start+N.T+N.B;N.type===3&&(N.Xy(),c=N.Y_,t===N.range.end+1&&(c+=1));return this.cC(c,t,H)}; +g.C.K3=function(){return null}; +g.C.DQ=function(N,H){H=H===void 0?!1:H;N=this.index.b$(N);H&&(N=Math.min(this.index.Ff(),N+1));return this.cC(N,this.index.Tn(N),0,void 0)}; +g.C.Oa=function(){return!0}; +g.C.zm=function(){return!0}; +g.C.Ux=function(){return!1}; +g.C.fV=function(){return this.indexRange.length+this.initRange.length}; +g.C.tR=function(){return this.indexRange&&this.initRange&&this.initRange.end+1===this.indexRange.start?!0:!1};var IR={},Lcs=(IR.COLOR_PRIMARIES_BT709="bt709",IR.COLOR_PRIMARIES_BT2020="bt2020",IR.COLOR_PRIMARIES_UNKNOWN=null,IR.COLOR_PRIMARIES_UNSPECIFIED=null,IR),bz={},dQL=(bz.COLOR_TRANSFER_CHARACTERISTICS_BT709="bt709",bz.COLOR_TRANSFER_CHARACTERISTICS_BT2020_10="bt2020",bz.COLOR_TRANSFER_CHARACTERISTICS_SMPTEST2084="smpte2084",bz.COLOR_TRANSFER_CHARACTERISTICS_ARIB_STD_B67="arib-std-b67",bz.COLOR_TRANSFER_CHARACTERISTICS_UNKNOWN=null,bz.COLOR_TRANSFER_CHARACTERISTICS_UNSPECIFIED=null,bz);g.DF.prototype.getName=function(){return this.name}; +g.DF.prototype.getId=function(){return this.id}; +g.DF.prototype.getIsDefault=function(){return this.isDefault}; +g.DF.prototype.toString=function(){return this.name}; +g.DF.prototype.getName=g.DF.prototype.getName;g.DF.prototype.getId=g.DF.prototype.getId;g.DF.prototype.getIsDefault=g.DF.prototype.getIsDefault;var mSf=/action_display_post/;var hwv,rQ,mN;g.k(IY,g.xo);g.C=IY.prototype;g.C.isLoading=function(){return this.state===1}; +g.C.OG=function(){return this.state===3}; +g.C.uO_=function(N){var H=N.getElementsByTagName("Representation");if(N.getElementsByTagName("SegmentList").length>0||N.getElementsByTagName("SegmentTemplate").length>0){this.K4=this.B=!0;this.C||(this.C=new Io3);iSS(this.C,N);this.publish("refresh");for(N=0;N=0?W=Dv(E):z=z+"?range="+E}f.call(M,new YB(d.Y_,d.startSecs,d.C6,d.T,z,W,d.B))}t=h}c.update(t,this.isLive,this.vp)}QID(this.C);return!0}this.duration=IJh(PD(N,"mediaPresentationDuration"));a:{for(N= +0;N0))return this.L6()-N}}N=this.T;for(var H in N){var c=N[H].index;if(c.isLoaded()&&!rP(N[H].info.mimeType))return c.T7()}return 0}; +g.C.getStreamTimeOffset=function(){return this.Z}; +g.C.kH=function(N){for(var H in this.T){var c=this.T[H].index;if(c.isLoaded()){var t=c.b$(N),h=c.kH(t);if(h)return h+N-c.getStartTime(t)}}return NaN}; +var C9=null,PQR,ki=!((PQR=navigator.mediaCapabilities)==null||!PQR.decodingInfo),Dlh={commentary:1,alternate:2,dub:3,main:4};var Tq=new Set,sG=new Map;kE.prototype.clone=function(N){return new kE(this.flavor,N,this.B,this.experiments)}; +kE.prototype.Q4=function(){return{flavor:this.flavor,keySystem:this.keySystem}}; +kE.prototype.getInfo=function(){switch(this.keySystem){case "com.youtube.playready":return"PRY";case "com.microsoft.playready":return"PRM";case "com.widevine.alpha":return"WVA";case "com.youtube.widevine.l3":return"WVY";case "com.youtube.fairplay":return"FPY";case "com.youtube.fairplay.sbdl":return"FPC";case "com.apple.fps.1_0":return"FPA";default:return this.keySystem}}; +var UkR={},fgL=(UkR.playready=["com.youtube.playready","com.microsoft.playready"],UkR.widevine=["com.youtube.widevine.l3","com.widevine.alpha"],UkR),N3={},HbD=(N3.widevine="DRM_SYSTEM_WIDEVINE",N3.fairplay="DRM_SYSTEM_FAIRPLAY",N3.playready="DRM_SYSTEM_PLAYREADY",N3),Hl={},XWd=(Hl.widevine=1,Hl.fairplay=2,Hl.playready=3,Hl);var $X;g.k($T,g.L); +$T.prototype.initialize=function(N,H){for(var c=this,t=g.K(Object.keys(N)),h=t.next();!h.done;h=t.next()){h=g.K(N[h.value]);for(var O=h.next();!O.done;O=h.next())if(O=O.value,O.YH)for(var F=g.K(Object.keys(O.YH)),M=F.next();!M.done;M=F.next()){var f=M.value;M=f;f=fgL[f];!f&&this.N("html5_enable_vp9_fairplay")&&M==="fairplay"&&(f=["com.youtube.fairplay.sbdl"]);if(f){f=g.K(f);for(var d=f.next();!d.done;d=f.next())d=d.value,this.L[d]=this.L[d]||new kE(M,d,O.YH[M],this.Es.experiments),this.T[M]=this.T[M]|| +{},this.T[M][O.mimeType]=!0}}}S3()&&(this.L["com.youtube.fairplay"]=new kE("fairplay","com.youtube.fairplay","",this.Es.experiments),this.N("html5_enable_vp9_fairplay")||(this.T.fairplay=this.T.fairplay||{},this.T.fairplay['video/mp4; codecs="avc1.4d400b"']=!0,this.T.fairplay['audio/mp4; codecs="mp4a.40.5"']=!0));this.B=dHR(H,this.useCobaltWidevine,this.N("html5_enable_safari_fairplay")&&!0,this.N("html5_enable_vp9_fairplay")).filter(function(W){return!!c.L[W]})}; +$T.prototype.N=function(N){return this.Es.experiments.M4(N)};var VrY={"":"LIVE_STREAM_MODE_UNKNOWN",dvr:"LIVE_STREAM_MODE_DVR",lp:"LIVE_STREAM_MODE_LP",post:"LIVE_STREAM_MODE_POST",window:"LIVE_STREAM_MODE_WINDOW",live:"LIVE_STREAM_MODE_LIVE"};bW.prototype.N=function(N){return this.experiments.M4(N)};var ToS={RED:"red",M4R:"white"};rD.prototype.G0=function(N){if(N.i8!==3)throw Error("WpccFlagRetriever only supports WPCC flags");return C0w(this,N)}; +rD.prototype.M4=function(N){return this.flags.get(""+N)==="true"};H0.prototype.Zp=function(){return this.L}; +H0.prototype.Je=function(){return this.B}; +H0.prototype.M4=function(N){N=this.G0(N);JSON.stringify(N);return N==="true"}; +H0.prototype.G0=function(N){return this.flags[N]};var Pl3=Promise.resolve(),GLs=window.queueMicrotask?window.queueMicrotask.bind(window):UOS;D8y.prototype.canPlayType=function(N,H){N=N.canPlayType?N.canPlayType(H):!1;bA?N=N||L4Z[H]:Mh===2.2?N=N||ZAc[H]:VW()&&(N=N||YC4[H]);return!!N}; +D8y.prototype.isTypeSupported=function(N){return this.TW?window.cast.receiver.platform.canDisplayType(N):Er(N)}; +var ZAc={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},YC4={"application/x-mpegURL":"maybe"},L4Z={"application/x-mpegURL":"maybe"};g.k(W6,g.xo);W6.prototype.add=function(N,H){if(!this.items[N]&&(H.Dm||H.jf||H.JS)){var c=this.items,t=H;Object.isFrozen&&!Object.isFrozen(H)&&(t=Object.create(H),Object.freeze(t));c[N]=t;this.publish("vast_info_card_add",N)}}; +W6.prototype.remove=function(N){var H=this.get(N);delete this.items[N];return H}; +W6.prototype.get=function(N){return this.items[N]||null}; +W6.prototype.isEmpty=function(){return g.NF(this.items)};R5.prototype.encrypt=function(N){this.T.exports.AES128CTRCipher_encrypt(this.cipher,N.byteOffset,N.byteLength);return N}; +R5.prototype.uo=function(){return this.cipher===0}; +R5.prototype.dispose=function(){this.T.exports.AES128CTRCipher_release(this.cipher);this.cipher=0};Zj.prototype.pA=function(N,H){H=H===void 0?1:H;this.QV+=H;this.B+=N;N/=H;for(var c=0;c0)t+="."+Lk[h].toFixed(0)+"_"+c.T[h].toFixed(0);else break;c=t}c&&(N[H]=c)}this.T=new wKR;return N}; +g.C.toString=function(){return""};g.C=o6v.prototype;g.C.isActive=function(){return!1}; +g.C.W7=function(){}; +g.C.fl=function(){}; +g.C.rD=function(){}; +g.C.w1=function(N,H){H()}; +g.C.Ys=function(){return{}}; +g.C.toString=function(){return""};var A87=new o6v,a8d=!!+T7("html5_enable_profiler"),eHc=!!+T7("html5_onesie_enable_profiler"),i3=a8d||eHc?new HjS:A87,jEs=a8d?i3:A87,uZ=eHc?i3:A87;kth.prototype.emscripten_notify_memory_growth=function(){};g.C=FA.prototype;g.C.malloc=function(N){return this.exports.malloc(N)}; +g.C.free=function(N){this.exports.free(N)}; +g.C.realloc=function(N,H){return this.exports.realloc(N,H)}; +g.C.Uw=function(N){if(N.buffer!==this.exports.memory.buffer){var H=this.malloc(N.byteLength);H=new Uint8Array(this.exports.memory.buffer,H,N.byteLength);H.set(N);return H}}; +g.C.GK=function(N){if(N.buffer===this.exports.memory.buffer){var H=N.slice();this.free(N.byteOffset);return H}}; +var $4f=new function(){this.T=this.B="WebAssembly"in window},GNe="WebAssembly"in window&&("instantiateStreaming"in window.WebAssembly||"instantiate"in window.WebAssembly); +uZ.W7(FA,{Uw:function(N){return{profile:"copyj2w",QV:N===void 0?0:Math.ceil(N.byteLength/16)}}, +GK:function(N){return{profile:"copyw2j",QV:N===void 0?0:Math.ceil(N.byteLength/16)}}});o5.prototype.encrypt=function(N,H){try{return this.T.GK(xyl(this,N,H))}catch(c){g.aS(Error("ocwce: wasm encrypt failed: "+c))}}; +o5.prototype.uo=function(){return this.L}; +o5.prototype.dispose=function(){this.uo()||(g.ez(this.B),this.T.free(this.U.byteOffset),this.L=!0)};g.k(S93,g.L);g.k(PFe,g.L);var wc;qW.prototype.add=function(N){if(this.pos+20>this.data.length){var H=new Uint8Array(this.data.length*2);H.set(this.data);this.data=H}for(;N>31;)this.data[this.pos++]=wc[(N&31)+32],N>>=5;this.data[this.pos++]=wc[N|0]}; +qW.prototype.UR=function(){return g.MG(this.data.subarray(0,this.pos))}; +qW.prototype.reset=function(){this.pos=0};DV.prototype.dJ=function(N,H){var c=Math.pow(this.alpha,N);this.T=H*(1-c)+c*this.T;this.B+=N}; +DV.prototype.sI=function(){return this.T/(1-Math.pow(this.alpha,this.B))};Ea.prototype.dJ=function(N,H){for(var c=0;c<10;c++){var t=this.T[c],h=t+(c===0?N:0),O=1*Math.pow(2,c);if(h<=O)break;t=Math.min(1,(h-O*.5)/t);for(h=0;h<16;h++)O=this.values[c*16+h]*t,this.values[(c+1)*16+h]+=O,this.T[c+1]+=O,this.values[c*16+h]-=O,this.T[c]-=O}t=c=0;h=8192;H>8192&&(c=Math.ceil(Math.log(H/8192)/Math.log(2)),t=8192*Math.pow(2,c-1),h=t*2);c+2>16?this.values[15]+=N:(H=(H-t)/(h-t),this.values[c]+=N*(1-H),this.values[c+1]+=N*H);this.T[0]+=N}; +Ea.prototype.sI=function(){var N=N===void 0?this.B:N;var H=H===void 0?.02:H;var c=c===void 0?.98:c;for(var t=this.L,h=0;h<16;h++)t[h]=this.values[h];h=this.T[0];for(var O=1;O<11;O++){var F=this.T[O];if(F===0)break;for(var M=Math.min(1,(N-h)/F),f=0;f<16;f++)t[f]+=this.values[O*16+f]*M;h+=F*M;if(M<1)break}for(O=N=F=0;O<16;O++){M=F+t[O]/h;N+=Math.max(0,Math.min(M,c)-Math.max(F,H))*(O>0?8192*Math.pow(2,O-1):0);if(M>c)break;F=M}return N/(c-H)};nF.prototype.dJ=function(N,H){N=Math.min(this.T,Math.max(1,Math.round(N*this.resolution)));N+this.B>=this.T&&(this.L=!0);for(;N--;)this.values[this.B]=H,this.B=(this.B+1)%this.T;this.P0=!0}; +nF.prototype.percentile=function(N){var H=this;if(!this.L&&this.B===0)return 0;this.P0&&(g.Ua(this.S,function(c,t){return H.values[c]-H.values[t]}),this.P0=!1); +return this.values[this.S[Math.round(N*((this.L?this.T:this.B)-1))]]||0}; +nF.prototype.sI=function(){return this.Y?(this.percentile(this.U-this.Y)+this.percentile(this.U)+this.percentile(this.U+this.Y))/3:this.percentile(this.U)};g.k(kU,g.L);kU.prototype.zW=function(){var N;(N=this.Kq)==null||N.start();ir(this)&&this.policy.Z&&(this.VR?this.VR.a$():this.Xg())};Vu3.prototype.N=function(N){return this.experiments.M4(N)};g.k(dhL,g.L);var Few="blogger discover-ads ads-preview gac books docs duo flix google-live google-one play play-ads shopping chat hangouts-meet photos-edu picasaweb gmail jamboard".split(" "),Xlv={lGs:"caoe",RoR:"capsv",tEo:"cbrand",GQW:"cbr",VE_:"cbrver",qNp:"cchip",siE:"ccappver",Ada:"ccrv",FcW:"cfrmver",Kfi:"c",eDW:"cver",Gns:"ctheme",tYl:"cplayer",V9l:"cmodel",wS:"cnetwork",iEx:"cos",OS_VERSION:"cosver",Rbo:"cplatform",w_i:"crqyear"};g.k(G9,g.L);g.C=G9.prototype;g.C.N=function(N){return this.experiments.M4(N)}; +g.C.Zp=function(){return this.experiments.Zp()}; +g.C.Je=function(){return this.experiments.Je()}; +g.C.getWebPlayerContextConfig=function(){return this.webPlayerContextConfig}; +g.C.getVideoUrl=function(N,H,c,t,h,O,F){H={list:H};c&&(h?H.time_continue=c:H.t=c);c=F?"music.youtube.com":g.gx(this);h=c==="www.youtube.com";!O&&t&&h?O="https://youtu.be/"+N:g.G0(this)?(O="https://"+c+"/fire",H.v=N):(O&&h?(O=this.protocol+"://"+c+"/shorts/"+N,t&&(H.feature="share")):(O=this.protocol+"://"+c+"/watch",H.v=N),bA&&(N=lky())&&(H.ebc=N));return g.Of(O,H)}; +g.C.getVideoEmbedCode=function(N,H,c,t){H="https://"+g.gx(this)+"/embed/"+H;t&&(H=g.Of(H,{list:t}));t=c.width;c=c.height;H=Li(H);N=Li(N!=null?N:"YouTube video player");return'')}; +g.C.supportsGaplessAudio=function(){return g.Pc&&!bA&&jj()>=74||g.dL&&g.Oi(68)?!0:!1}; +g.C.supportsGaplessShorts=function(){return!this.N("html5_enable_short_gapless")||this.vp||g.op?!1:!0}; +g.C.getPlayerType=function(){return this.T.cplayer}; +g.C.vO=function(){return this.gk}; +var OyL=["www.youtube-nocookie.com","youtube.googleapis.com","www.youtubeeducation.com","youtubeeducation.com"],ENw=["EMBEDDED_PLAYER_LITE_MODE_UNKNOWN","EMBEDDED_PLAYER_LITE_MODE_NONE","EMBEDDED_PLAYER_LITE_MODE_FIXED_PLAYBACK_LIMIT","EMBEDDED_PLAYER_LITE_MODE_DYNAMIC_PLAYBACK_LIMIT"],AUy=[19];var cl={},zjd=(cl["140"]={numChannels:2},cl["141"]={numChannels:2},cl["251"]={audioSampleRate:48E3,numChannels:2},cl["774"]={audioSampleRate:48E3,numChannels:2},cl["380"]={numChannels:6},cl["328"]={numChannels:6},cl["773"]={},cl),tm={},WCd=(tm["1"]='video/mp4; codecs="av01.0.08M.08"',tm["1h"]='video/mp4; codecs="av01.0.12M.10.0.110.09.16.09.0"',tm["1e"]='video/mp4; codecs="av01.0.08M.08"',tm["9"]='video/webm; codecs="vp9"',tm["("]='video/webm; codecs="vp9"',tm["9h"]='video/webm; codecs="vp09.02.51.10.01.09.16.09.00"', +tm.h='video/mp4; codecs="avc1.64001e"',tm.H='video/mp4; codecs="avc1.64001e"',tm.o='audio/webm; codecs="opus"',tm.a='audio/mp4; codecs="mp4a.40.2"',tm.ah='audio/mp4; codecs="mp4a.40.2"',tm.mac3='audio/mp4; codecs="ac-3"; channels=6',tm.meac3='audio/mp4; codecs="ec-3"; channels=6',tm.i='audio/mp4; codecs="iamf.001.001.Opus"',tm),hm={},FXy=(hm["337"]={width:3840,height:2160,bitrate:3E7,fps:30},hm["336"]={width:2560,height:1440,bitrate:15E6,fps:30},hm["335"]={width:1920,height:1080,bitrate:75E5,fps:30}, +hm["702"]={width:7680,height:4320,bitrate:4E7,fps:60},hm["701"]={width:3840,height:2160,bitrate:2E7,fps:60},hm["700"]={width:2560,height:1440,bitrate:1E7,fps:60},hm["412"]={width:1920,height:1080,bitrate:85E5,fps:60,cryptoblockformat:"subsample"},hm["359"]={width:1920,height:1080,bitrate:8E6,fps:30,cryptoblockformat:"subsample"},hm["411"]={width:1920,height:1080,bitrate:3316E3,fps:60,cryptoblockformat:"subsample"},hm["410"]={width:1280,height:720,bitrate:4746E3,fps:60,cryptoblockformat:"subsample"}, +hm["409"]={width:1280,height:720,bitrate:1996E3,fps:60,cryptoblockformat:"subsample"},hm["360"]={width:1920,height:1080,bitrate:5331E3,fps:30,cryptoblockformat:"subsample"},hm["358"]={width:1280,height:720,bitrate:3508E3,fps:30,cryptoblockformat:"subsample"},hm["357"]={width:1280,height:720,bitrate:3206E3,fps:30,cryptoblockformat:"subsample"},hm["274"]={width:1280,height:720,bitrate:1446E3,fps:30,cryptoblockformat:"subsample"},hm["315"]={width:3840,height:2160,bitrate:2E7,fps:60},hm["308"]={width:2560, +height:1440,bitrate:1E7,fps:60},hm["303"]={width:1920,height:1080,bitrate:5E6,fps:60},hm["302"]={width:1280,height:720,bitrate:25E5,fps:60},hm["299"]={width:1920,height:1080,bitrate:75E5,fps:60},hm["298"]={width:1280,height:720,bitrate:35E5,fps:60},hm["571"]={width:7680,height:4320,bitrate:3E7,fps:60},hm["401"]={width:3840,height:2160,bitrate:15E6,fps:60},hm["400"]={width:2560,height:1440,bitrate:75E5,fps:60},hm["399"]={width:1920,height:1080,bitrate:2E6,fps:60},hm["398"]={width:1280,height:720,bitrate:1E6, +fps:60},hm["397"]={width:854,height:480,bitrate:4E5,fps:30},hm["396"]={width:640,height:360,bitrate:25E4,fps:30},hm["787"]={width:1080,height:608,bitrate:2E5,fps:30},hm["788"]={width:1080,height:608,bitrate:4E5,fps:30},hm["572"]={width:7680,height:4320,bitrate:3E7,fps:60},hm["555"]={width:3840,height:2160,bitrate:15E6,fps:60},hm["554"]={width:2560,height:1440,bitrate:75E5,fps:60},hm["553"]={width:1920,height:1080,bitrate:2E6,fps:60},hm["552"]={width:1280,height:720,bitrate:1E6,fps:60},hm["551"]={width:854, +height:480,bitrate:4E5,fps:30},hm["550"]={width:640,height:360,bitrate:25E4,fps:30},hm["313"]={width:3840,height:2160,bitrate:8E6,fps:30},hm["271"]={width:2560,height:1440,bitrate:4E6,fps:30},hm["248"]={width:1920,height:1080,bitrate:2E6,fps:30},hm["247"]={width:1280,height:720,bitrate:15E5,fps:30},hm["244"]={width:854,height:480,bitrate:52E4,fps:30},hm["243"]={width:640,height:360,bitrate:28E4,fps:30},hm["137"]={width:1920,height:1080,bitrate:4E6,fps:30},hm["136"]={width:1280,height:720,bitrate:3E6, +fps:30},hm["135"]={width:854,height:480,bitrate:1E6,fps:30},hm["385"]={width:1920,height:1080,bitrate:6503313,fps:60},hm["376"]={width:1280,height:720,bitrate:5706960,fps:60},hm["384"]={width:1280,height:720,bitrate:3660979,fps:60},hm["225"]={width:1280,height:720,bitrate:5805E3,fps:30},hm["224"]={width:1280,height:720,bitrate:453E4,fps:30},hm["145"]={width:1280,height:720,bitrate:2682052,fps:30},hm);g.C=RJ.prototype;g.C.getInfo=function(){return this.T}; +g.C.GT=function(){return null}; +g.C.X4=function(){var N=this.GT();return N?(N=g.lN(N.JF),Number(N.expire)):NaN}; +g.C.tT=function(){}; +g.C.getHeight=function(){return this.T.video.height};EtR.prototype.build=function(){Hfw(this);var N=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],H={};a:if(this.T)var c=this.T;else{c="";for(var t=g.K(this.L),h=t.next();!h.done;h=t.next())if(h=h.value,h.X3){if(h.X3.getIsDefault()){c=h.X3.getId();break a}c||(c=h.X3.getId())}}t=g.K(this.L);for(h=t.next();!h.done;h=t.next())if(h=h.value,this.Y||!h.X3||h.X3.getId()===c)H[h.itag]||(H[h.itag]=[]),H[h.itag].push(h);c=g.K(this.B);for(t=c.next();!t.done;t=c.next())if(t=t.value,h=H[t.T]){h=g.K(h);for(var O=h.next();!O.done;O= +h.next()){var F=N,M=F.push;O=O.value;var f="#EXT-X-MEDIA:TYPE=AUDIO,",d="YES",W="audio";if(O.X3){W=O.X3;var z=W.getId().split(".")[0];z&&(f+='LANGUAGE="'+z+'",');(this.T?this.T===W.getId():W.getIsDefault())||(d="NO");W=W.getName()}z="";t!==null&&(z=t.itag.toString());z=LXt(this,O.url,z);f=f+('NAME="'+W+'",DEFAULT='+(d+',AUTOSELECT=YES,GROUP-ID="'))+(ucl(O,t)+'",URI="'+(z+'"'));M.call(F,f)}}c=g.K(this.S);for(t=c.next();!t.done;t=c.next())t=t.value,h=vod,t=(F=t.X3)?'#EXT-X-MEDIA:URI="'+LXt(this,t.url)+ +'",TYPE=SUBTITLES,GROUP-ID="'+h+'",LANGUAGE="'+F.getId()+'",NAME="'+F.getName()+'",DEFAULT=NO,AUTOSELECT=YES':void 0,t&&N.push(t);c=this.S.length>0?vod:void 0;t=g.K(this.B);for(h=t.next();!h.done;h=t.next())h=h.value,M=H[h.T],F=void 0,((F=M)==null?void 0:F.length)>0&&(F=h,M=M[0],M="#EXT-X-STREAM-INF:BANDWIDTH="+(F.bitrate+M.bitrate)+',CODECS="'+(F.codecs+","+M.codecs+'",RESOLUTION=')+(F.width+"x"+F.height+',AUDIO="')+(ucl(M,F)+'",')+(c?'SUBTITLES="'+c+'",':"")+"CLOSED-CAPTIONS=NONE",F.fps>1&&(M+= +",FRAME-RATE="+F.fps),F.yq&&(M+=",VIDEO-RANGE="+F.yq),N.push(M),N.push(LXt(this,h.url,"")));return N.join("\n")}; +var vod="text";g.k(mH,RJ);mH.prototype.X4=function(){return this.expiration}; +mH.prototype.GT=function(){if(!this.JF||this.JF.uo()){var N=this.B.build();N="data:application/x-mpegurl;charset=utf-8,"+encodeURIComponent(N);this.JF=new At(N)}return this.JF};g.k(t_,RJ);t_.prototype.GT=function(){return new At(this.B.uG())}; +t_.prototype.tT=function(){this.B=ng(21,this.B)};g.k(SP,RJ);SP.prototype.GT=function(){return new At(this.B)};var OM={},Njs=(OM.PLAYABILITY_ERROR_CODE_VIDEO_BLOCK_BY_MRM="mrm.blocked",OM.PLAYABILITY_ERROR_CODE_PERMISSION_DENIED="auth",OM.PLAYABILITY_ERROR_CODE_EMBEDDER_IDENTITY_DENIED="embedder.identity.denied",OM.PLAYABILITY_ERROR_CODE_EMBEDDER_IDENTITY_MISSING_REFERRER="embedder.identity.missing.referrer",OM);g.C=g.GB.prototype;g.C.getId=function(){return this.id}; +g.C.getName=function(){return this.name}; +g.C.isServable=function(){return this.T}; +g.C.uG=function(){return this.url}; +g.C.getXtags=function(){return this.xtags}; +g.C.toString=function(){return this.languageCode+": "+g.eP(this)+" - "+this.vssId+" - "+(this.captionId||"")}; +g.C.equals=function(N){return N?this.toString()===N.toString():!1}; +g.C.DI=function(){return!(!this.languageCode||this.translationLanguage&&!this.translationLanguage.languageCode)};var B$w={"ad-trueview-indisplay-pv":6,"ad-trueview-insearch":7},ywD={"ad-trueview-indisplay-pv":2,"ad-trueview-insearch":2},Ghf=/^(\d*)_((\d*)_?(\d*))$/;var iCt={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"},nge={120:"default.jpg",320:"mqdefault.jpg",480:"hqdefault.jpg",560:"pop1.jpg",640:"sddefault.jpg",854:"pop2.jpg",1280:"hq720.jpg"};var FO={},G4D=(FO.ALWAYS=1,FO.BY_REQUEST=3,FO.UNKNOWN=void 0,FO),$u={},UtZ=($u.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_UNKNOWN="UNKNOWN",$u.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_NORMAL="NORMAL",$u.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_LOW="LOW",$u.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_ULTRA_LOW="ULTRALOW",$u);var IND; +IND=function(N){for(var H=Object.keys(N),c={},t=0;tt-H?-1:N}; +g.C.v$=function(){return this.B.Ff()}; +g.C.ZW=function(){return this.B.lW()}; +g.C.mP=function(N){this.B=N};g.k(pW,Qt);pW.prototype.B=function(N,H){return Qt.prototype.B.call(this,"$N|"+N,H)}; +pW.prototype.S=function(N,H,c){return new z1s(N,H,c,this.isLive)};g.k(g.xm,g.xo);g.C=g.xm.prototype; +g.C.setData=function(N){var H=this;N=N||{};var c=N.errordetail;c!=null&&(this.errorDetail=c);var t=N.errorcode;t!=null?this.errorCode=t:N.status==="fail"&&(this.errorCode="auth");var h=N.reason;h!=null&&(this.errorReason=h);var O=N.subreason;O!=null&&(this.iW=O);this.clientPlaybackNonce||(this.clientPlaybackNonce=N.cpn||(this.Es.vO()?"r"+g.Xj(15):g.Xj(16)));this.fb=Nx(this.Es.fb,N.livemonitor);Rte(this,N);var F=N.raw_player_response;if(F)this.kB=F;else{var M=N.player_response;M&&(F=JSON.parse(M))}F&& +(this.playerResponse=F);if(this.playerResponse){var f=this.playerResponse.annotations;f&&Rph(this,f);var d=this.playerResponse.attestation;d&&Gfh(this,d);var W=this.playerResponse.cotn;W&&(this.cotn=W);var z=this.playerResponse.heartbeatParams;z&&jew(this,z);var E=this.playerResponse.messages;E&&Fse(this,E);var x=this.playerResponse.overlay;x&&HWs(this,x);var q=this.playerResponse.playabilityStatus;if(q){AbD(this,q);var r=q.errorScreen;r&&NVd(this,r)}var w=this.playerResponse.playbackTracking;w&& +StZ(this,w,N);var n=this.playerResponse.playerCueRanges;n&&n.length>0&&(this.cueRanges=n);var p=this.playerResponse.playerCueRangeSet;p&&g.ESR(this,p);var U=lvv(this.playerResponse.adPlacements);w&&w.promotedPlaybackTracking&&U&&g.aS(new g.ti("Player Response with both promotedPlaybackTracking and videoAdTrackingRenderer"));if(U||i9w(this.playerResponse.adSlots))this.s2=!0;var X=this.playerResponse.playerAds;X&&ipt(this,X,N);var A=this.playerResponse.playerConfig;A&&YGy(this,A);var R=this.playerResponse.streamingData; +R&&xlZ(this,R,A||null);var v=this.playerResponse.trackingParams;v&&(this.Bp=v);var Nf=this.playerResponse.videoDetails;if(Nf){GdL(this,Nf,N);XvZ(this,Nf,A||null,N);var Fe=Nf.isPrivate;Fe!==void 0&&(this.isPrivate=Nx(this.isPrivate,Fe))}q&&RhZ(this,q,Nf||null);var tS=this.playerResponse.interstitialPods;tS&&cDv(this,tS);this.qy&&this.eventId&&(this.qy=hp(this.qy,{ei:this.eventId}));var jh=this.playerResponse.captions;jh&&jh.playerCaptionsTracklistRenderer&&Wpw(this,jh.playerCaptionsTracklistRenderer); +(this.clipConfig=this.playerResponse.clipConfig)&&this.clipConfig.startTimeMs!=null&&(this.l4=Number(this.clipConfig.startTimeMs)*.001);this.playerResponse&&this.playerResponse.playerConfig&&this.playerResponse.playerConfig.webPlayerConfig&&this.playerResponse.playerConfig.webPlayerConfig.webPlayerActionsPorting&&aEv(this,this.playerResponse.playerConfig.webPlayerConfig.webPlayerActionsPorting);var cL;this.compositeLiveIngestionOffsetToken=(cL=this.playerResponse.playbackTracking)==null?void 0:cL.compositeLiveIngestionOffsetToken; +var Ks;this.compositeLiveStatusToken=(Ks=this.playerResponse.playbackTracking)==null?void 0:Ks.compositeLiveStatusToken;this.N("html5_fill_default_mosaic_audio_track_id")&&Yd(this)&&(this.Es.w_=J93(this));var Rl,Tx,Fc=(Rl=this.playerResponse.playerConfig)==null?void 0:(Tx=Rl.granularVariableSpeedConfig)==null?void 0:Tx.minimumPlaybackRate,ol,Q,cW=(ol=this.playerResponse.playerConfig)==null?void 0:(Q=ol.granularVariableSpeedConfig)==null?void 0:Q.maximumPlaybackRate;Fc&&cW&&(this.GD=Fc/100,this.gz= +cW/100);this.N("html5_web_po_on_demand_init")&&this.playerResponse.onResponseReceivedActions&&this.playerResponse.onResponseReceivedActions.forEach(function($n){var Xq;((Xq=g.P($n,GMs))==null?void 0:Xq.signal)==="INIT_ATT_SERVICE"&&(H.F0=!0)})}qU(this,N); +I6L(this,N);N.queue_info&&(this.queueInfo=N.queue_info);var U4=N.hlsdvr;U4!=null&&(this.allowLiveDvr=Number(U4)===1?h4()?!0:U9&&wa<5?!1:!0:!1);this.adQueryId=N.ad_query_id||null;this.Lx||(this.Lx=N.encoded_ad_safety_reason||null);this.dC=Nx(this.dC,N.infringe||N.muted);this.Qu=N.authkey;this.yu=N.authuser;this.mutedAutoplay=Nx(this.mutedAutoplay,N&&N.playmuted);this.mutedAutoplayDurationMode=PP(this.mutedAutoplayDurationMode,N&&N.muted_autoplay_duration_mode);this.Vm=Nx(this.Vm,N&&N.mutedautoplay); +var Xc=N.length_seconds;Xc&&(this.lengthSeconds=typeof Xc==="string"?AA(Xc):Xc);this.isAd()||this.kD||!g.Hm(g.ZA(this.Es))?this.endSeconds=PP(this.endSeconds,this.kI||N.end||N.endSeconds):V2w(this,g.ZA(this.Es),this.lengthSeconds);this.Bp=OD(this.Bp,N.itct);this.oG=Nx(this.oG,N.is_live_destination);this.isLivePlayback=Nx(this.isLivePlayback,N.live_playback);this.enableServerStitchedDai=this.enableServerStitchedDai&&this.K4();N.isUpcoming&&(this.isUpcoming=Nx(this.isUpcoming,N.isUpcoming));this.K6= +Nx(this.K6,N.post_live_playback);this.j$&&(this.K6=!1);this.isMdxPlayback=Nx(this.isMdxPlayback,N.mdx);var b5=N.mdx_control_mode;b5&&(this.mdxControlMode=typeof b5==="number"?b5:AA(b5));this.isInlinePlaybackNoAd=Nx(this.isInlinePlaybackNoAd,N.is_inline_playback_no_ad);this.zW=PP(this.zW,N.reload_count);this.reloadReason=OD(this.reloadReason,N.reload_reason);this.uj=Nx(this.uj,N.show_content_thumbnail);this.cycToken=N.cyc||null;var Rd=Vg(N);Object.keys(Rd).length>0&&(this.xP=Rd);this.Us=OD(this.Us, +N.vvt);this.mdxEnvironment=OD(this.mdxEnvironment,N.mdx_environment);N.source_container_playlist_id&&(this.sourceContainerPlaylistId=N.source_container_playlist_id);N.serialized_mdx_metadata&&(this.serializedMdxMetadata=N.serialized_mdx_metadata);this.Ms=N.osig;this.eventId||(this.eventId=N.eventid);this.osid||(this.osid=N.osid);this.playlistId=OD(this.playlistId,N.list);N.index&&(this.playlistIndex=this.playlistIndex===void 0?PP(0,N.index):PP(this.playlistIndex,N.index));this.L3=N.pyv_view_beacon_url; +this.O2=N.pyv_quartile25_beacon_url;this.lI=N.pyv_quartile50_beacon_url;this.mS=N.pyv_quartile75_beacon_url;this.W9=N.pyv_quartile100_beacon_url;var T3=N.session_data;!this.EE&&T3&&(this.EE=Ud(T3,"&").feature);this.isFling=PP(this.isFling?1:0,N.is_fling)===1;this.vnd=PP(this.vnd,N.vnd);this.forceAdsUrl=OD(this.forceAdsUrl,N.force_ads_url);this.oR=OD(this.oR,N.ctrl);this.x8=OD(this.x8,N.ytr);this.fS=N.ytrcc;this.zi=N.ytrexp;this.Cn=N.ytrext;this.n4=OD(this.n4,N.adformat);this.qU=OD(this.qU,N.attrib); +this.slotPosition=PP(this.slotPosition,N.slot_pos);this.breakType=N.break_type;this.EZ=Nx(this.EZ,N.ssrt);this.videoId=xr(N)||this.videoId;this.Y=OD(this.Y,N.vss_credentials_token);this.eY=OD(this.eY,N.vss_credentials_token_type);this.cF=Nx(this.cF,N.audio_only);this.NT=Nx(this.NT,N.aac_high);this.qJ=Nx(this.qJ,N.prefer_low_quality_audio);this.p7=Nx(this.p7,N.uncap_inline_quality);this.N("html5_enable_qoe_cat_list")?N.qoe_cat&&(this.Jh=this.Jh.concat(N.qoe_cat.split(","))):this.vu=OD(this.vu,N.qoe_cat); +this.Ze=Nx(this.Ze,N.download_media);this.C=NcZ(this,N.prefer_gapless);mWR(this.playerResponse)&&this.AJ.push("ad");var JG=N.adaptive_fmts;JG&&(this.adaptiveFormats=JG,this.Lq("adpfmts",{},!0));var D=N.allow_embed;D&&(this.allowEmbed=Number(D)===1);var HL=N.backgroundable;HL&&(this.backgroundable=Number(HL)===1);var m4=N.autonav;m4&&(this.isAutonav=Number(m4)===1);var TL=N.autoplay;TL&&(this.LC=this.c_=Number(TL)===1);var bQ=N.iv_load_policy;bQ&&(this.annotationsLoadPolicy=ib(this.annotationsLoadPolicy, +bQ,fo));var fA=N.cc_lang_pref;fA&&(this.captionsLanguagePreference=OD(fA,this.captionsLanguagePreference));var bw=N.cc_load_policy;bw&&(this.hQ=ib(this.hQ,bw,fo));var i5;this.deviceCaptionsOn=(i5=N.device_captions_on)!=null?i5:void 0;var uQ;this.aT=(uQ=N.device_captions_lang_pref)!=null?uQ:"";var J;this.f7=(J=N.viewer_selected_caption_langs)!=null?J:[];var m=N.cached_load;m&&(this.Fo=Nx(this.Fo,m));if(N.dash==="0"||N.dash===0||N.dash===!1)this.ym=!0;var u=N.dashmpd;u&&(this.WG=g.Of(u,{cpn:this.clientPlaybackNonce})); +var V=N.delay;V&&(this.fE=AA(V));var G=this.kI||N.end;if(this.Xg?G!=null:G!=void 0)this.clipEnd=PP(this.clipEnd,G);var $y=N.fmt_list;$y&&(this.yU=$y);N.heartbeat_preroll&&this.AJ.push("heartbeat");s_d&&(this.Ol=-Math.floor(Math.random()*10),this.l7=-Math.floor(Math.random()*40));var I=N.is_listed;I&&(this.isListed=Nx(this.isListed,I));var B=N.is_private;B&&(this.isPrivate=Nx(this.isPrivate,B));var Z=N.is_dni;Z&&(this.Uc=Nx(this.Uc,Z));var Sh=N.dni_color;Sh&&(this.CE=OD(this.CE,Sh));var PL=N.pipable; +PL&&(this.pipable=Nx(this.pipable,PL));this.qC=(this.zT=this.pipable&&this.Es.vM)&&!this.Es.showMiniplayerButton;var gt=N.paid_content_overlay_duration_ms;gt&&(this.paidContentOverlayDurationMs=AA(gt));var JS=N.paid_content_overlay_text;JS&&(this.paidContentOverlayText=JS);var tG=N.url_encoded_fmt_stream_map;tG&&(this.Jg=tG);var uw=N.hls_formats;uw&&(this.hlsFormats=uw);var sC=N.hlsvp;sC&&(this.hlsvp=sC);var XG=N.live_start_walltime;XG&&(this.At=typeof XG==="number"?XG:AA(XG));var Id=N.live_manifest_duration; +Id&&(this.zn=typeof Id==="number"?Id:AA(Id));var ns=N.player_params;ns&&(this.playerParams=ns);var G8=N.partnerid;G8&&(this.partnerId=PP(this.partnerId,G8));var Uv=N.probe_url;Uv&&(this.probeUrl=XJ(g.Of(Uv,{cpn:this.clientPlaybackNonce})));var rR=N.pyv_billable_url;rR&&$ZZ(rR)&&(this.N5=rR);var AS=N.pyv_conv_url;AS&&$ZZ(AS)&&(this.U2=AS);vit(this,N);this.startSeconds>0?this.N("html5_log_start_seconds_inconsistency")&&this.startSeconds!==(this.l4||this.FB||N.start||N.startSeconds)&&this.Lq("lss",{css:this.startSeconds, +pcss:this.l4,iss:this.FB,ps:N.start||void 0,pss:N.startSeconds||void 0}):this.vp=this.startSeconds=PP(this.startSeconds,this.l4||this.FB||N.start||N.startSeconds);if(!(this.liveUtcStartSeconds&&this.liveUtcStartSeconds>0)){var DW=N.live_utc_start;DW!=null?this.liveUtcStartSeconds=Number(DW):pqs(this.startSeconds)&&(this.liveUtcStartSeconds=this.startSeconds)}if(!(this.liveUtcStartSeconds&&this.liveUtcStartSeconds>0)){var Dl=N.utc_start_millis;Dl&&(this.liveUtcStartSeconds=Number(Dl)*.001)}var Nk= +N.stream_time_start_millis;Nk&&(this.PM=Number(Nk)*.001);var t8=this.FB||N.start;(this.Xg?t8==null||Number(N.resume)===1:t8==void 0||N.resume=="1")||this.isLivePlayback||(this.clipStart=PP(this.clipStart,t8));var e7=N.url_encoded_third_party_media;e7&&(this.L2=ra(e7));var Vd=N.ypc_offer_button_formatted_text;if(Vd){var Kq=JSON.parse(Vd);this.xj=Kq!=null?Kq:null;this.QH=Vd}var Sl=N.ypc_offer_button_text;Sl&&(this.Q7=Sl);var x9=N.ypc_offer_description;x9&&(this.OE=x9);var qA=N.ypc_offer_headline;qA&& +(this.sK=qA);var NN=N.ypc_full_video_message;NN&&(this.hG=NN);var HP=N.ypc_offer_id;HP&&(this.Aq=HP);var F7=N.ypc_buy_url;F7&&(this.xC=F7);var gr=N.ypc_item_thumbnail;gr&&(this.FT=gr);var iM=N.ypc_item_title;iM&&(this.Ww=iM);var cP=N.ypc_item_url;cP&&(this.nQ=cP);var t$=N.ypc_vid;t$&&(this.Rt=t$);N.ypc_overlay_timeout&&(this.l5=Number(N.ypc_overlay_timeout));var Gr=N.ypc_trailer_player_vars;Gr&&(this.MO=OC(Gr));var Y9=N.ypc_original_itct;Y9&&(this.Qs=Y9);this.tU=OD(this.tU,N.ucid);this.qj=N.storyboard_spec|| +null;this.b1=N.live_storyboard_spec||null;this.Pt=N.iv_endscreen_url||null;this.v5=Nx(this.v5,N.iv3_module);this.IM=Nx(this.IM,N.ypc_module);this.YB=Nx(this.YB,N.ypc_clickwrap_module);this.IM&&this.AJ.push("ypc");this.YB&&this.AJ.push("ypcRentalActivation");this.i5={video_id:N.video_id,eventid:N.eventid,cbrand:N.cbrand,cbr:N.cbr,cbrver:N.cbrver,c:N.c,cver:N.cver,ctheme:N.ctheme,cplayer:N.cplayer,cmodel:N.cmodel,cnetwork:N.cnetwork,cos:N.cos,cosver:N.cosver,cplatform:N.cplatform,user_age:N.user_age, +user_display_image:N.user_display_image,user_display_name:N.user_display_name,user_gender:N.user_gender,csi_page_type:N.csi_page_type,csi_service_name:N.csi_service_name,enablecsi:N.enablecsi,enabled_engage_types:N.enabled_engage_types};bet(this,N);var AZ=N.cotn;AZ&&(this.cotn=AZ);o0S(this)?oY(this)&&(this.isLivePlayback&&this.WG&&(this.qc=!0),this.Ql&&(this.BR=!0)):anf(this)?this.qc=!0:DW3(this)?this.enableServerStitchedDai=this.enableServerStitchedDai&&WK(this):this.WG&&(this.Es.Bp==="yt"&&this.K4()&& +this.N("drm_manifestless_unplugged")&&this.N("html5_deprecate_manifestful_fallback")?this.Lq("deprecateMflFallback",{}):this.qc=!0);var Qe=N.adpings;Qe&&(this.Nj=Qe?OC(Qe):null);var h$=N.feature;h$&&(this.Ge=h$);var pi=N.referrer;pi&&(this.referrer=pi);this.clientScreenNonce=OD(this.clientScreenNonce,N.csn);this.nu=PP(this.nu,N.root_ve_type);this.jS=PP(this.jS,N.kids_age_up_mode);this.Xg||N.kids_app_info==void 0||(this.kidsAppInfo=N.kids_app_info);this.Xg&&N.kids_app_info!=null&&(this.kidsAppInfo= +N.kids_app_info);this.c$=Nx(this.c$,N.upg_content_filter_mode);this.unpluggedFilterModeType=PP(this.unpluggedFilterModeType,N.unplugged_filter_mode_type);var Oe=N.unplugged_location_info;Oe&&(this.mG=Oe);var FC=N.unplugged_partner_opt_out;FC&&(this.ya=OD("",FC));this.Qm=Nx(this.Qm,N.disable_watch_next);this.LP=OD(this.LP,N.internal_ip_override);this.FK=!!N.is_yto_interstitial;this.interstitials.length&&this.AJ.push("playableSequences");var $L=N.R9;$L&&(this.R9=$L);this.TW=OD(this.TW,N.csi_timer); +N.watchUrl&&(this.watchUrl=N.watchUrl);var uA=N.watch_endpoint;this.N("html5_attach_watch_endpoint_ustreamer_config")&&uA&&A$f(this,uA);if(uA==null?0:uA.ustreamerConfig)this.M_=TS(uA.ustreamerConfig);var Tf,RG,uu=uA==null?void 0:(Tf=uA.loggingContext)==null?void 0:(RG=Tf.qoeLoggingContext)==null?void 0:RG.serializedContextData;uu&&(this.Dn=uu);g.PX(this.Es)&&this.Es.dL&&(this.embedsRct=OD(this.embedsRct,N.rct),this.embedsRctn=OD(this.embedsRctn,N.rctn));N.embed_config&&(this.i7=N.embed_config);this.TE= +this.TE||!!N.pause_at_start;N.default_active_source_video_id&&(this.defaultActiveSourceVideoId=N.default_active_source_video_id);this.qA=this.qA||!!N.qA}; +g.C.D=function(){return this.Es}; +g.C.N=function(N){return this.Es.N(N)}; +g.C.T6=function(){return!this.isLivePlayback||this.allowLiveDvr}; +g.C.hasSupportedAudio51Tracks=function(){var N;return!((N=this.w_)==null||!N.UF)}; +g.C.getUserAudio51Preference=function(){var N=1;jQ(this.Es)&&this.N("html5_ytv_surround_toggle_default_off")?N=0:ht(this.Es)&&this.isLivePlayback&&this.f2()&&(N=0);var H;return(H=g.pB("yt-player-audio51"))!=null?H:N}; +g.C.Dr=function(){this.uo()||(this.T.B||this.T.unsubscribe("refresh",this.Dr,this),this.fN(-1))}; +g.C.fN=function(N){if(!this.isLivePlayback||!this.S||this.S.flavor!=="fairplay"){var H=V_y(this.T,this.SL);if(H.length>0){for(var c=g.K(H),t=c.next();!t.done;t=c.next())t=t.value,t.startSecs=Math.max(t.startSecs,this.T7()),this.N("html5_cuepoint_identifier_logging")&&t.event==="start"&&this.Lq("cuepoint",{pubCue:t.identifier,segNum:N});this.publish("cuepointupdated",H,N);this.SL+=H.length;if(WK(this)&&this.Es.vO())for(H=g.K(H),c=H.next();!c.done;c=H.next())c=c.value,this.Lq("cuepoint",{segNum:N,event:c.event, +startSecs:c.startSecs,id:c.identifier.slice(-16)}),c.event==="start"&&(c=c.startSecs,this.xa.start=this.kG,this.xa.end=c+3)}}}; +g.C.Z5=function(){this.uo()||(this.loading=!1,this.publish("dataloaded"))}; +g.C.f2=function(){return this.Gn!==void 0?this.Gn:this.Gn=!!this.YH||!!this.T&&Fa(this.T)}; +g.C.NQ=function(N){var H=this;if(this.uo())return C6();this.UF=this.Ix=this.L=null;xk(this,"html5_high_res_logging_always")&&(this.Es.gk=!0);return bOl(this,N).then(void 0,function(){return Znf(H,N)}).then(void 0,function(){return NnS(H)}).then(void 0,function(){return NIR(H)})}; +g.C.TR=function(N){this.L=N;EQZ(this,this.L.getAvailableAudioTracks());if(this.L){N=g.K(this.L.videoInfos);for(var H=N.next();!H.done;H=N.next()){H=H.value;var c=H.containerType;c!==0&&(this.vQ[c]=H.id)}}N=this.getAvailableAudioTracks();N=N.concat(this.G7);for(H=0;H0?this.L.getAvailableAudioTracks():this.LG||[]:[]}; +g.C.getAudioTrack=function(){var N=this;if(this.U&&!MF(this.U)){var H=g.Nn(this.getAvailableAudioTracks(),function(h){return h.id===N.U.id}),c; +if(!H&&((c=this.U.X3)==null?0:c.id)){var t=this.U.X3.id;H=g.Nn(this.getAvailableAudioTracks(),function(h){return h.X3.id===t}); +this.Lq("nat",{id:this.U.id,track:!!H})}return H||this.G7}if(this.LG){if(!this.QB)for(H=g.K(this.LG),c=H.next();!c.done;c=H.next())if(c=c.value,c.X3.getIsDefault()){this.QB=c;break}return this.QB||this.G7}return this.G7}; +g.C.getPlayerResponse=function(){return this.playerResponse}; +g.C.getWatchNextResponse=function(){return this.ox}; +g.C.getReelItemWatchResponse=function(){return this.reelItemWatchResponse}; +g.C.getHeartbeatResponse=function(){return this.EB}; +g.C.ZD=function(){return this.watchUrl?this.watchUrl:this.Es.getVideoUrl(this.videoId)}; +g.C.pk=function(){return!!this.T&&(T$3(this.T)||Ofs(this.T)||JQd(this.T))}; +g.C.getEmbeddedPlayerResponse=function(){return this.t9}; +g.C.Tu=function(){return(this.eventLabel||this.Es.ox)==="shortspage"}; +g.C.isAd=function(){return this.Dh||!!this.adFormat}; +g.C.isDaiEnabled=function(){return!!(this.playerResponse&&this.playerResponse.playerConfig&&this.playerResponse.playerConfig.daiConfig&&this.playerResponse.playerConfig.daiConfig.enableDai)}; +g.C.vH=function(){var N,H,c;return this.isDaiEnabled()&&this.enableServerStitchedDai&&!!((N=this.playerResponse)==null?0:(H=N.playerConfig)==null?0:(c=H.daiConfig)==null?0:c.ssaEnabledPlayback)}; +g.C.xL=function(){return this.Du}; +g.C.m$=function(){return this.IM||this.Oc}; +g.C.OY=function(){return xk(this,"html5_samsung_vp9_live")}; +g.C.Lq=function(N,H,c){this.publish("ctmp",N,H,c)}; +g.C.TH=function(N,H,c){this.publish("ctmpstr",N,H,c)}; +g.C.hasProgressBarBoundaries=function(){return!(!this.progressBarStartPosition||!this.progressBarEndPosition)}; +g.C.getGetAdBreakContext=function(N,H){N=N===void 0?NaN:N;H=H===void 0?NaN:H;var c={isSabr:AC(this)},t,h=(t=this.getHeartbeatResponse())==null?void 0:t.adBreakHeartbeatParams;h&&(c.adBreakHeartbeatParams=h);if(this.N("enable_ltc_param_fetch_from_innertube")&&this.isLivePlayback&&this.T&&!isNaN(N)&&!isNaN(H)){H=N-H;for(var O in this.T.T)if(t=this.T.T[O],t.info.KG()||t.info.ll())if(t=t.index,t.isLoaded()){O=t.b$(H);t=t.kH(O)+H-t.getStartTime(O);this.Lq("gabc",{t:N.toFixed(3),mt:H.toFixed(3),sg:O,igt:t.toFixed(3)}); +c.livePlaybackPosition={utcTimeMillis:""+(t*1E3).toFixed(0)};break}}return c}; +g.C.isEmbedsShortsMode=function(N,H){if(!g.PX(this.Es)||(this.Es.Ix||"EMBEDDED_PLAYER_MODE_DEFAULT")!=="EMBEDDED_PLAYER_MODE_DEFAULT"||H)return!1;if(this.N("embeds_enable_shorts")){var c,t;return!!((c=this.embeddedPlayerConfig)==null?0:(t=c.embeddedPlayerFlags)==null?0:t.isShortsExperienceEligible)}var h,O;return!!(((h=this.embeddedPlayerConfig)==null?0:(O=h.embeddedPlayerFlags)==null?0:O.isShortsExperienceEligible)&&N.width<=N.height)}; +g.C.AB=function(N,H){H?this.Ac||(this.Ac=N):this.Mr||(this.Mr=N)}; +g.C.Os=function(){g.xo.prototype.Os.call(this);this.Nj=null;delete this.Fd;delete this.accountLinkingConfig;delete this.T;this.L=this.EB=this.playerResponse=this.ox=null;this.Jg=this.adaptiveFormats="";delete this.botguardData;this.Cq=this.suggestions=this.u1=null;this.sabrContextUpdates.clear()}; +var s_d=!0;var i$D={phone:"SMALL_FORM_FACTOR",tablet:"LARGE_FORM_FACTOR"},tTv={desktop:"DESKTOP",phone:"MOBILE",tablet:"TABLET"},bVf={preroll:"BREAK_PREROLL",midroll:"BREAK_MIDROLL",postroll:"BREAK_POSTROLL"},Tss={0:"YT_KIDS_AGE_UP_MODE_UNKNOWN",1:"YT_KIDS_AGE_UP_MODE_OFF",2:"YT_KIDS_AGE_UP_MODE_TWEEN",3:"YT_KIDS_AGE_UP_MODE_PRESCHOOL"},Mff={0:"MDX_CONTROL_MODE_UNKNOWN",1:"MDX_CONTROL_MODE_REMOTE",2:"MDX_CONTROL_MODE_VOICE"},jDy={0:"UNPLUGGED_FILTER_MODE_TYPE_UNKNOWN",1:"UNPLUGGED_FILTER_MODE_TYPE_NONE",2:"UNPLUGGED_FILTER_MODE_TYPE_PG", +3:"UNPLUGGED_FILTER_MODE_TYPE_PG_THIRTEEN"},NNv={0:"EMBEDDED_PLAYER_MUTED_AUTOPLAY_DURATION_MODE_UNSPECIFIED",1:"EMBEDDED_PLAYER_MUTED_AUTOPLAY_DURATION_MODE_30_SECONDS",2:"EMBEDDED_PLAYER_MUTED_AUTOPLAY_DURATION_MODE_FULL"};g.k(vP,g.L);g.C=vP.prototype;g.C.handleExternalCall=function(N,H,c){var t=this.state.C[N],h=this.state.Z[N],O=t;if(h)if(c&&kC(c,$kx))O=h;else if(!t)throw Error('API call from an untrusted origin: "'+c+'"');this.logApiCall(N,c);if(O){c=!1;t=g.K(H);for(h=t.next();!h.done;h=t.next())if(String(h.value).includes("javascript:")){c=!0;break}c&&g.aS(Error('Dangerous call to "'+N+'" with ['+H+"]."));return O.apply(this,H)}throw Error('Unknown API method: "'+N+'".');}; +g.C.logApiCall=function(N,H,c){var t=this.app.D();t.ym&&!this.state.TW.has(N)&&(this.state.TW.add(N),g.uF("webPlayerApiCalled",{callerUrl:t.loaderUrl,methodName:N,origin:H||void 0,playerStyle:t.playerStyle||void 0,embeddedPlayerMode:t.Ix,errorCode:c}))}; +g.C.publish=function(N){var H=g.LQ.apply(1,arguments);this.state.L.publish.apply(this.state.L,[N].concat(g.HE(H)));if(N==="videodatachange"||N==="resize"||N==="cardstatechange")this.state.B.publish.apply(this.state.B,[N].concat(g.HE(H))),this.state.U.publish.apply(this.state.U,[N].concat(g.HE(H)))}; +g.C.QS=function(N){var H=g.LQ.apply(1,arguments);this.state.L.publish.apply(this.state.L,[N].concat(g.HE(H)));this.state.B.publish.apply(this.state.B,[N].concat(g.HE(H)))}; +g.C.Ic=function(N){var H=g.LQ.apply(1,arguments);this.state.L.publish.apply(this.state.L,[N].concat(g.HE(H)));this.state.B.publish.apply(this.state.B,[N].concat(g.HE(H)));this.state.U.publish.apply(this.state.U,[N].concat(g.HE(H)))}; +g.C.vU=function(N){var H=g.LQ.apply(1,arguments);this.state.L.publish.apply(this.state.L,[N].concat(g.HE(H)));this.state.B.publish.apply(this.state.B,[N].concat(g.HE(H)));this.state.U.publish.apply(this.state.U,[N].concat(g.HE(H)));this.state.S.publish.apply(this.state.S,[N].concat(g.HE(H)))}; +g.C.N=function(N){return this.app.D().N(N)}; +g.C.Os=function(){if(this.state.element){var N=this.state.element,H;for(H in this.state.T)this.state.T.hasOwnProperty(H)&&(N[H]=null);this.state.element=null}g.L.prototype.Os.call(this)};g.k(ty,g.L0);ty.prototype.publish=function(N){var H=g.LQ.apply(1,arguments);if(this.S.has(N))return this.S.get(N).push(H),!0;var c=!1;try{for(H=[H],this.S.set(N,H);H.length;)c=g.L0.prototype.publish.call.apply(g.L0.prototype.publish,[this,N].concat(g.HE(H.shift())))}finally{this.S.delete(N)}return c};g.k(hy,g.L);hy.prototype.Os=function(){this.S.dispose();this.U.dispose();this.B.dispose();this.L.dispose();this.TW=this.T=this.Z=this.C=this.Y=void 0};var GZw=new Set("endSeconds startSeconds mediaContentUrl suggestedQuality videoId rct rctn playmuted muted_autoplay_duration_mode".split(" "));g.k(se,vP);g.C=se.prototype;g.C.getApiInterface=function(){return Array.from(this.state.Y)}; +g.C.nY=function(N,H){this.state.S.subscribe(N,H)}; +g.C.mpS=function(N,H){this.state.S.unsubscribe(N,H)}; +g.C.getPlayerState=function(N){return xHZ(this.app,N)}; +g.C.Oqo=function(){return xHZ(this.app)}; +g.C.vPS=function(N,H,c){pGd(this)&&(kn(this.app,!0,1),Qb(this.app,N,H,c,1))}; +g.C.getCurrentTime=function(N,H,c){var t=this.getPlayerState(N);if(this.app.getAppState()===2&&t===5){var h;return((h=this.app.getVideoData())==null?void 0:h.startSeconds)||0}return this.N("web_player_max_seekable_on_ended")&&t===0?ge(this.app,N):N?this.app.getCurrentTime(N,H,c):this.app.getCurrentTime(N)}; +g.C.sD=function(){return this.app.getCurrentTime(1)}; +g.C.BEW=function(){var N=this.app.kH(1);return isNaN(N)?this.getCurrentTime(1):N}; +g.C.wpf=function(){return this.app.getDuration(1)}; +g.C.UK=function(N,H){N=g.Ae(Math.floor(N),0,100);isFinite(N)&&aW(this.app,{volume:N,muted:this.isMuted()},H)}; +g.C.A3S=function(N){this.UK(N,!1)}; +g.C.lB=function(N){aW(this.app,{muted:!0,volume:this.getVolume()},N)}; +g.C.Suo=function(){this.lB(!1)}; +g.C.KQ=function(N){aW(this.app,{muted:!1,volume:Math.max(5,this.getVolume())},N)}; +g.C.HOE=function(){uy(this.app)||this.KQ(!1)}; +g.C.getPlayerMode=function(){var N={};this.app.getVideoData().Uc&&(N.pfp={enableIma:this.app.Sg().allowImaMonetization,autoplay:N4(this.app.Sg()),mutedAutoplay:this.app.Sg().mutedAutoplay});return N}; +g.C.G_=function(){var N=this.app.getPresentingPlayerType();if(N===2&&!this.app.Re()){var H=pH(this.app.g_());if(!(I2L(H)||g.PX(this.app.D())&&g.y(this.app.x_().getPlayerState(),1024))||m3v(H))return}(H=this.app.z6().IA)?H.playVideo():this.app.playVideo(N)}; +g.C.b2l=function(){kn(this.app,!0,1);this.G_()}; +g.C.pauseVideo=function(N){var H=this.app.getPresentingPlayerType();if(H!==2||this.app.Re()||I2L(pH(this.app.g_()))){var c=this.app.z6().IA;c?c.pauseVideo():this.app.pauseVideo(H,N)}}; +g.C.mfR=function(){var N=this.app,H=!1;N.j.Dt&&(N.VS.publish("pageTransition"),H=!0);N.stopVideo(H)}; +g.C.clearVideo=function(){}; +g.C.getAvailablePlaybackRates=function(){var N=this.app.D();if(N.enableSpeedOptions){if(["https://admin.youtube.com","https://viacon.corp.google.com","https://yurt.corp.google.com"].includes(N.U?N.ancestorOrigins[0]:window.location.origin)||N.xt)return Zg4;var H=this.app.getVideoData();if(lDw(H)){var c=H.GD,t=H.gz;return al5.filter(function(h){return h>=c&&h<=t})}return N.supportsVarispeedExtendedFeatures?Y4d:N.N("web_remix_allow_up_to_3x_playback_rate")&&g.m8(N)?AGc:pC}return[1]}; +g.C.getPlaybackQuality=function(N){return(N=this.app.CG(N))?N.getPlaybackQuality():"unknown"}; +g.C.y3E=function(){}; +g.C.getAvailableQualityLevels=function(N){return(N=this.app.CG(N))?(N=g.jm(N.Uz(),function(H){return H.quality}),N.length&&(N[0]==="auto"&&N.shift(),N=N.concat(["auto"])),N):[]}; +g.C.xr=function(){return this.getAvailableQualityLevels(1)}; +g.C.mTx=function(){return this.S3()}; +g.C.E_a=function(){return 1}; +g.C.getVideoLoadedFraction=function(N){return this.app.getVideoLoadedFraction(N)}; +g.C.S3=function(){return this.getVideoLoadedFraction()}; +g.C.Jlx=function(){return 0}; +g.C.getSize=function(){var N=this.app.BO().getPlayerSize();return{width:N.width,height:N.height}}; +g.C.setSize=function(){this.app.BO().resize()}; +g.C.loadVideoById=function(N,H,c,t){if(!N)return!1;N=aV(N,H,c);return this.app.loadVideoByPlayerVars(N,t)}; +g.C.b4q=function(N,H,c){N=this.loadVideoById(N,H,c,1);kn(this.app,N,1)}; +g.C.cueVideoById=function(N,H,c,t){N=aV(N,H,c);this.app.cueVideoByPlayerVars(N,t)}; +g.C.du=function(N,H,c){this.cueVideoById(N,H,c,1)}; +g.C.loadVideoByUrl=function(N,H,c,t){N=wjZ(N,H,c);return this.app.loadVideoByPlayerVars(N,t)}; +g.C.d4g=function(N,H,c){N=this.loadVideoByUrl(N,H,c,1);kn(this.app,N,1)}; +g.C.cueVideoByUrl=function(N,H,c,t){N=wjZ(N,H,c);this.app.cueVideoByPlayerVars(N,t)}; +g.C.aq=function(N,H,c){this.cueVideoByUrl(N,H,c,1)}; +g.C.NEE=function(){var N=this.app.D();if(N.Us)return"";var H=this.app.Sg(),c=void 0;H.isLivePlayback||(c=Math.floor(this.app.getCurrentTime(1)));return N.getVideoUrl(H.videoId,this.getPlaylistId()||void 0,c)}; +g.C.Mas=function(){return this.app.getDebugText()}; +g.C.getVideoEmbedCode=function(){var N=this.app.D();if(N.Us)return"";var H=this.app.Sg();return N.getVideoEmbedCode(H.isPrivate?"":H.title,this.app.Sg().videoId,this.app.BO().getPlayerSize(),this.getPlaylistId()||void 0)}; +g.C.xE=function(N,H,c){return rg(this.app,N,H,c)}; +g.C.removeCueRange=function(N){return this.app.VZ(N)}; +g.C.loadPlaylist=function(N,H,c,t){this.app.loadPlaylist(N,H,c,t)}; +g.C.Z4o=function(N,H,c,t){this.loadPlaylist(N,H,c,t);kn(this.app,!0,1)}; +g.C.cuePlaylist=function(N,H,c,t){this.app.cuePlaylist(N,H,c,t)}; +g.C.nextVideo=function(N,H){this.app.nextVideo(N,H)}; +g.C.mcE=function(){this.nextVideo();kn(this.app,!0,1)}; +g.C.previousVideo=function(N){this.app.previousVideo(N)}; +g.C.sef=function(){this.previousVideo();kn(this.app,!0,1)}; +g.C.playVideoAt=function(N){this.app.playVideoAt(N)}; +g.C.zA_=function(N){this.playVideoAt(N);kn(this.app,!0,1)}; +g.C.setShuffle=function(N){var H=this.app.getPlaylist();H&&H.setShuffle(N)}; +g.C.setLoop=function(N){var H=this.app.getPlaylist();H&&(H.loop=N)}; +g.C.Ria=function(){var N=this.app.getPlaylist();if(!N)return null;for(var H=[],c=0;c=400)if(N=this.Sg(),this.J.D().N("client_respect_autoplay_switch_button_renderer"))N=!!N.autoplaySwitchButtonRenderer;else{var H,c,t,h;N=!!((H=N.getWatchNextResponse())==null?0:(c=H.contents)==null?0:(t=c.twoColumnWatchNextResults)==null?0:(h=t.autoplay)==null?0:h.autoplay)!==!1}N?this.T||(this.T=!0,this.a4(this.T),H=this.Sg(),this.EL(H.autonavState),this.J.logVisibility(this.element,this.T)): +(this.T=!1,this.a4(this.T))}; +g.C.EL=function(N){aBD(this)?this.isChecked=N!==1:((N=N!==1)||(N=g.GU(),N=g.sf("web_autonav_allow_off_by_default")&&!N.G0(141)&&g.YI("AUTONAV_OFF_BY_DEFAULT")?!1:!N.G0(140)),this.isChecked=N);unh(this)}; +g.C.onClick=function(){this.isChecked=!this.isChecked;this.J.DL(this.isChecked?2:1);unh(this);if(aBD(this)){var N=this.Sg().autoplaySwitchButtonRenderer;this.isChecked&&(N==null?0:N.onEnabledCommand)?this.J.QS("innertubeCommand",N.onEnabledCommand):!this.isChecked&&(N==null?0:N.onDisabledCommand)&&this.J.QS("innertubeCommand",N.onDisabledCommand)}this.J.logClick(this.element)}; +g.C.getValue=function(){return this.isChecked}; +g.C.Sg=function(){return this.J.getVideoData(1)};g.k(kQv,dK);g.k(P9,n6);P9.prototype.Df=function(N){N?this.T||(this.R4.Ou(this),this.T=!0):this.T&&(this.R4.cU(this),this.T=!1);this.T&&d1(this,hqe())}; +P9.prototype.U=function(){g.nH(this.element,"ytp-menuitem-highlight-transition-enabled")}; +P9.prototype.L=function(N){var H=hqe();N!==H&&(H=g.GU(),t7(190,N),t7(192,!0),H.save(),this.J.QS("cinematicSettingsToggleChange",N))}; +P9.prototype.Os=function(){this.T&&this.R4.cU(this);n6.prototype.Os.call(this)};g.k(Iz3,dK);Iz3.prototype.updateCinematicSettings=function(N){this.T=N;var H;(H=this.menuItem)==null||H.Df(N);this.api.publish("onCinematicSettingsVisibilityChange",N)};g.k(Nol,dK);g.k(UN,dK);UN.prototype.setCreatorEndscreenVisibility=function(N){var H;(H=S7(this.api.g_()))==null||H.a4(N)}; +UN.prototype.T=function(N){function H(t){t==="creatorendscreen"&&(t=S7(c.api.g_()))&&t.qRE(c.hideButton)} +var c=this;this.hideButton=N;this.events.G(this.api,"modulecreated",H);H("creatorendscreen")};g.k(k1S,dK);g.k(IB,n6);IB.prototype.S=function(N){this.U(N?1:0)}; +IB.prototype.dk=function(){if(this.enableNewAudioSettingsMenu||this.L){var N=this.J.getPresentingPlayerType();N===2||N===3?this.T&&(this.T=!1,this.R4.cU(this)):(N=this.getDrcState(),N!==1?(N===0?(d1(this,this.B()===1),this.setEnabled(!0)):(d1(this,!1),this.setEnabled(!1)),this.T||(this.R4.Ou(this),this.T=!0)):this.T&&(this.R4.cU(this),this.T=!1))}else{N=this.hasDrcAudioTrack();var H=this.B()===1&&N;d1(this,H);this.setEnabled(N)}}; +IB.prototype.Os=function(){this.R4.cU(this);n6.prototype.Os.call(this)}; +IB.prototype.Y=function(){this.J.logClick(this.element)};g.k(bx,dK);g.C=bx.prototype;g.C.getDrcUserPreference=function(){return this.T}; +g.C.setDrcUserPreference=function(N){this.api.Lq("drc_set",{pref:N});g.h9("yt-player-drc-pref",N,31536E3);N!==this.T&&(this.T=N,this.updateEnvironmentData(),this.Ty()&&this.api.Fm(),this.api.D$())}; +g.C.updateEnvironmentData=function(){this.api.D().Bd=this.T===1}; +g.C.Ty=function(){var N,H,c=(N=this.api.getVideoData())==null?void 0:(H=N.L)==null?void 0:H.T;if(!c)return!1;if(this.api.getAvailableAudioTracks().length>1&&this.api.N("mta_drc_mutual_exclusion_removal")){var t,h,O=(t=this.api.kW())==null?void 0:(h=t.X3)==null?void 0:h.id;return hA(c,function(F){var M;return F.audio.T&&((M=F.X3)==null?void 0:M.id)===O})}return hA(c,function(F){var M; +return((M=F.audio)==null?void 0:M.T)===!0})}; +g.C.getDrcState=function(){return this.api.Lb(3)};g.k(O2,dK);O2.prototype.onVideoDataChange=function(){var N=this,H=this.api.getVideoData();this.api.gr("embargo",1);var c=H==null?void 0:H.HQ.get("PLAYER_CUE_RANGE_SET_IDENTIFIER_EMBARGO");(c==null?0:c.length)?ouy(this,c.filter(function(t){return C6h(N,t)})):(H==null?0:H.cueRanges)&&ouy(this,H.cueRanges.filter(function(t){return C6h(N,t)}))}; +O2.prototype.B=function(N){return N.embargo!==void 0}; +O2.prototype.Os=function(){dK.prototype.Os.call(this);this.T={}};g.k(NAy,dK); +NAy.prototype.addEmbedsConversionTrackingParams=function(N){var H=this.api.D(),c=H.widgetReferrer,t=H.TE,h=this.T,O="",F=H.getWebPlayerContextConfig();F&&(O=F.embedsIframeOriginParam||"");c.length>0&&(N.embeds_widget_referrer=c);t.length>0&&(N.embeds_referring_euri=t);H.U&&O.length>0&&(N.embeds_referring_origin=O);F&&F.embedsFeature&&(N.feature=F.embedsFeature);h.length>0&&(H.N("embeds_web_enable_lite_experiment_control_arm_logging")?h.unshift(28572):g.Hm(g.ZA(H))&&h.unshift(159628),H=h.join(","), +H=g.Iu()?H:g.Mc(H,4),N.source_ve_path=H);this.T.length=0};g.k(vcD,dK);g.k(oAs,dK);g.k(Mf,g.L);Mf.prototype.Os=function(){g.L.prototype.Os.call(this);this.T=null;this.B&&this.B.disconnect()};g.k(b_l,dK);g.k(zK,dK);zK.prototype.dismissFeaturedProductOverlay=function(){this.api.publish("featuredproductdismissed")};g.k(oe,g.e);oe.prototype.show=function(){g.e.prototype.show.call(this);this.api.logVisibility(this.element,!0)}; +oe.prototype.stopTimer=function(){this.T&&(this.T.dispose(),this.T=null)}; +oe.prototype.onVideoDataChange=function(N){var H,c,t=(H=this.api.getVideoData())==null?void 0:(c=H.getPlayerResponse())==null?void 0:c.playabilityStatus;t&&(H=lHe(t),g.y(this.api.getPlayerStateObject(),128)||N==="dataloaderror"||!H?(this.B=0,this.stopTimer(),this.hide()):(N=(H.remainingTimeSecs||0)*1E3,N>0&&(this.show(),this.updateValue("label",KE(H.label)),DL3(this,N))))}; +oe.prototype.Os=function(){this.stopTimer();g.e.prototype.Os.call(this)};g.k(nOZ,dK);g.k(nf,g.e);nf.prototype.onClick=function(){this.VS.logClick(this.element);this.VS.QS("onFullerscreenEduClicked")}; +nf.prototype.Df=function(){this.VS.isFullscreen()?this.T?this.fade.hide():this.fade.show():this.hide();this.VS.logVisibility(this.element,this.VS.isFullscreen()&&!this.T)};g.k(hP,dK);hP.prototype.updateFullerscreenEduButtonSubtleModeState=function(N){var H;(H=this.T)!=null&&(g.QH(H.element,"ytp-fullerscreen-edu-button-subtle",N),N&&!H.B&&(H.VS.N("player_tooltip_data_title_killswitch")?H.element.setAttribute("title","Scroll for details"):H.element.setAttribute("data-tooltip-title","Scroll for details"),XW(H.VS,H.element,H),H.B=!0))}; +hP.prototype.updateFullerscreenEduButtonVisibility=function(N){var H;(H=this.T)!=null&&(H.T=N,H.Df())};g.k(kMZ,g.e);g.k(I4D,dK);g.k(ma,dK);ma.prototype.getSphericalProperties=function(){var N=g.RS(this.api.g_());return N?N.getSphericalProperties():{}}; +ma.prototype.setSphericalProperties=function(N){if(N){var H=g.RS(this.api.g_());H&&H.setSphericalProperties(N,!0)}};g.k(AI,dK);g.C=AI.prototype;g.C.createClientVe=function(N,H,c,t){this.api.createClientVe(N,H,c,t===void 0?!1:t)}; +g.C.createServerVe=function(N,H,c){this.api.createServerVe(N,H,c===void 0?!1:c)}; +g.C.setTrackingParams=function(N,H){this.api.setTrackingParams(N,H)}; +g.C.logClick=function(N,H){this.api.logClick(N,H)}; +g.C.logVisibility=function(N,H,c){this.api.logVisibility(N,H,c)}; +g.C.hasVe=function(N){return this.api.hasVe(N)}; +g.C.destroyVe=function(N){this.api.destroyVe(N)};var jH={},P3d=(jH[0]=function(N){return GKs(N,function(H){var c;return(c=H.X3)==null?void 0:c.id})},jH[2]=function(N){return Em(N,mK)},jH[3]=function(N){return Em(N,uL)},jH[4]=function(N){return Em(N,QCf)},jH[1]=function(N){return Em(N,Pr)},jH); +QJv.prototype.Lb=function(N){return this.L[N]}; +QJv.prototype.D$=function(){for(var N=this.B,H={},c=g.K(SMD),t=c.next();!t.done;t=c.next())if(t=t.value,this.T[t]){N=BG4[t].QT(N,this.videoData);for(var h=g.K(SMD),O=h.next();!O.done;O=h.next())O=O.value,H[O]!==void 0||hA(N,BG4[O].F7)||(H[O]=BG4[t].d$);H[t]===void 0&&(H[t]=0)}else H[t]=1;this.L=H}; +var SMD=[0,1,2,3,4],M3={},BG4=(M3[0]={d$:2,F7:C3t,QT:AAD},M3[2]={d$:4,F7:mK,QT:FjR},M3[3]={d$:5,F7:uL,QT:NpR},M3[1]={d$:3,F7:Pr,QT:u$t},M3[4]={d$:6,F7:QCf,QT:prh},M3);var jXl=!1;n3y.prototype.setPlaybackRate=function(N){this.playbackRate=Math.max(1,N)}; +n3y.prototype.getPlaybackRate=function(){return this.playbackRate};duw.prototype.I8=function(N){var H=g.dv(N.info.mR.info,this.GW.K4),c=N.info.Y_+this.U,t=N.info.startTime*1E3;if(this.policy.w_)try{t=this.policy.w_?g.TA(N)*1E3:N.info.startTime*1E3}catch(F){Math.random()>.99&&this.logger&&(t=Qy(N.B).slice(0,1E3),this.logger&&this.logger({parserErrorSliceInfo:N.info.uX(),encodedDataView:g.Eq(t,4)})),t=N.info.startTime*1E3}var h=N.info.clipId,O=this.policy.w_?g.c3e(N)*1E3:N.info.duration*1E3;this.policy.w_&&(t<0||O<0)&&(this.logger&&(this.logger({missingSegInfo:N.info.uX(), +startTimeMs:t,durationMs:O}),this.policy.Qa||(t<0&&(t=N.info.startTime*1E3),O<0&&(O=N.info.duration*1E3))),this.policy.Qa&&(t<0&&(t=N.info.startTime*1E3),O<0&&(O=N.info.duration*1E3)));return{formatId:H,Y_:c,startTimeMs:t,clipId:h,i_:O}}; +duw.prototype.Xm=function(N){this.timestampOffset=N};Gq.prototype.seek=function(N,H){N!==this.targetTime&&(this.seekCount=0);this.targetTime=N;var c=this.videoTrack.T,t=this.audioTrack.T,h=this.audioTrack.q4,O=r6v(this,this.videoTrack,N,this.videoTrack.q4,H);H=r6v(this,this.audioTrack,this.policy.kG?N:O,h,H);N=Math.max(N,O,H);this.U=!0;this.GW.isManifestless&&(h5R(this,this.videoTrack,c),h5R(this,this.audioTrack,t));return N}; +Gq.prototype.isSeeking=function(){return this.U}; +Gq.prototype.d1=function(N){this.B=N}; +var g6h=2/24;var BCd=0;g.C=Sj.prototype;g.C.Zb=function(){this.TW=this.now();yWZ(this.YG,this.TW);this.qT.Zb()}; +g.C.Af=function(N,H){var c=this.policy.B?(0,g.Lh)():0;re(this,N,H);N-this.Y<10&&this.B>0||this.Di(N,H);this.qT.Af(N,H);this.policy.B&&(N=(0,g.Lh)()-c,this.kG+=N,this.UF=Math.max(N,this.UF))}; +g.C.Di=function(N,H){var c=(N-this.Y)/1E3,t=H-this.L;this.YS||(Q6D(this.YG,c,t),this.xe(c,t));this.Y=N;this.L=H}; +g.C.VG=function(){this.NT&&IcS(this);this.qT.VG()}; +g.C.Qx=function(N){this.NT||(this.NT=this.S-this.Uu+N,this.S_=this.S,this.T3=this.C)}; +g.C.H1=function(N,H){N=N===void 0?this.C:N;H=H===void 0?this.S:H;this.B>0||(this.Z=N,this.B=H,this.Bp=this.isActive=!0)}; +g.C.q7=function(){return this.ul||2}; +g.C.qk=function(){}; +g.C.H_=function(){var N,H={rn:this.requestNumber,rt:(this.C-this.T).toFixed(),lb:this.S,stall:(1E3*this.U).toFixed(),ht:(this.TW-this.T).toFixed(),elt:(this.Z-this.T).toFixed(),elb:this.B,d:(N=this.Ix)==null?void 0:N.UR()};this.url&&MKR(H,this.url);this.policy.B&&(H.mph=this.UF.toFixed(),H.tph=this.kG.toFixed());H.ulb=this.Cq;H.ult=this.Us;return H}; +g.C.now=function(){return(0,g.Lh)()}; +g.C.deactivate=function(){this.isActive&&(this.isActive=!1)};g.k(P3,Sj);g.C=P3.prototype;g.C.H_=function(){var N=Sj.prototype.H_.call(this);N.pb=this.Sy;N.pt=(1E3*this.Dt).toFixed();N.se=this.n4;return N}; +g.C.KE=function(){var N=this.qT;this.Xg||(this.Xg=N.KE?N.KE():1);return this.Xg}; +g.C.Kk=function(){return this.SV?this.KE()!==1:!1}; +g.C.kF=function(N,H,c){if(!this.C4){this.C4=!0;if(!this.YS){re(this,N,H);this.Di(N,H);var t=this.KE();this.n4=c;if(!this.YS)if(t===2){t=N-this.Z0)||Qd(this,t,H),this.B>0&&Aq(this.YG,H,this.U));N=(N-this.T)/ +1E3||.01;this.policy.Z&&!(this.B>0)||q7(this.YG,N,this.L,YgR(this),this.MF)}this.deactivate()}}; +g.C.VY=function(N,H,c){c&&(this.Xg=2);N<0&&this.ul&&(N=this.ul);H?this.zW+=N:this.vp+=N}; +g.C.q7=function(){return this.vp||this.zW||Sj.prototype.q7.call(this)}; +g.C.Di=function(N,H){var c=(N-this.Y)/1E3,t=H-this.L,h=this.KE();this.isActive?h===1&&((t>0||this.policy.S)&&(c>.2||t<1024)?(this.U+=c,t>0&&c>.2&&Qd(this,this.EG?c:.05,t),this.WO=!0):t>0&&(Qd(this,c,t),this.WO=!0)):H&&H>=this.policy.T&&this.H1(N,H);Sj.prototype.Di.call(this,N,H)}; +g.C.I1=function(N){if(!this.YS){re(this,N,this.S);var H=(N-this.T)/1E3;this.KE()!==2&&this.B>0&&(this.U+=(N-this.Y)/1E3,Aq(this.YG,this.L,this.U));q7(this.YG,H,this.L,YgR(this),this.MF,!0);N=(N-this.Y)/1E3;Q6D(this.YG,N,0);this.xe(N,0)}}; +g.C.H1=function(N,H){N=N===void 0?this.C:N;H=H===void 0?this.S:H;if(!(this.B>0)&&(Sj.prototype.H1.call(this,N,H),this.KE()===1)){H=(this.TW-this.T)/1E3;var c=(N-this.TW)/1E3;this.SV&&mL(this,this.now());this.mG||this.YS||(this.ul&&(c=Math.max(0,c-this.ul)),N=this.YG,N.Z.dJ(1,H),N.Ix.dJ(1,c))}}; +g.C.UO=function(){this.SV&&mL(this,this.now());return this.Kq}; +g.C.bY=function(){var N;if(N=this.L>this.Nn)N=(N=this.L)?N>=this.policy.T:!1;return N}; +g.C.Ym=function(){return this.w_}; +g.C.hT=function(N){N=N===void 0?this.now():N;if(this.SV){mL(this,N);if(this.Xg?this.Kk():this.ox!==this.gE){var H=this.gE;if(N0?c+N:c+Math.max(N,H)}; +g.C.Z1=function(){return this.now()-this.Z}; +g.C.CV=function(){return(this.L-this.B)*1E3/this.Z1()||0}; +g.C.Ws=function(){return this.Z};vf.prototype.feed=function(N){WP(this.T,N);this.Ec()}; +vf.prototype.Ec=function(){if(this.U){if(!this.T.totalLength)return;var N=this.T.split(this.L-this.B),H=N.Iz;N=N.CA;if(!this.qT.Qx(this.U,H,this.B,this.L))return;this.B+=H.totalLength;this.T=N;this.B===this.L&&(this.U=this.L=this.B=void 0)}for(;;){var c=0;N=g.K(g_e(this.T,c));H=N.next().value;c=N.next().value;c=g.K(g_e(this.T,c));N=c.next().value;c=c.next().value;if(H<0||N<0)break;if(!(c+N<=this.T.totalLength)){if(!(this.qT.Qx&&c+1<=this.T.totalLength))break;c=this.T.split(c).CA;this.qT.Qx(H,c,0, +N)&&(this.U=H,this.B=c.totalLength,this.L=N,this.T=new eB([]));break}N=this.T.split(c).CA.split(N);c=N.CA;this.qT.Xk(H,N.Iz);this.T=c}}; +vf.prototype.dispose=function(){this.T=new eB};g.C=Lx.prototype;g.C.Wx=function(){return 0}; +g.C.lm=function(){return null}; +g.C.Hc=function(){return null}; +g.C.Tr=function(){return this.state>=1}; +g.C.isComplete=function(){return this.state>=3}; +g.C.OG=function(){return this.state===5}; +g.C.onStateChange=function(){}; +g.C.Xf=function(N){var H=this.state;this.state=N;this.onStateChange(H);this.callback&&this.callback(this,H)}; +g.C.Gt=function(N){N&&this.state=this.xhr.HEADERS_RECEIVED}; +g.C.getResponseHeader=function(N){try{return this.xhr.getResponseHeader(N)}catch(H){return""}}; +g.C.BC=function(){return+this.getResponseHeader("content-length")}; +g.C.wL=function(){return this.B}; +g.C.Dk=function(){return this.status>=200&&this.status<300&&!!this.B}; +g.C.uJ=function(){return this.T.totalLength>0}; +g.C.M8=function(){var N=this.T;this.T=new eB;return N}; +g.C.iA=function(){return this.T}; +g.C.abort=function(){this.uo=!0;this.xhr.abort()}; +g.C.hg=function(){return!0}; +g.C.fM=function(){return this.L}; +g.C.Yl=function(){return""};g.C=oHL.prototype; +g.C.run=function(){var N=this,H,c,t,h,O,F,M,f,d,W,z,E,x,q,r;return g.Y(function(w){if(w.T==1){N.status=200;H=N.T.get("docid");c=r1(N.T.get("fmtid")||"");t=N.T.get("lmt")||"0";h=+(N.T.get("csz")||0);if(!H||!c||!h)throw Error("Invalid local URL");N.T.get("ck")&&N.T.get("civ")&&(O=new F8h(N.T.get("ck"),N.T.get("civ")));F=N.range;M=Math.floor(F.start/h);f=Math.floor(F.end/h);d=M}if(w.T!=5)return d<=f?g.a(w,SFd(H,c,t,d,O),5):w.rE(0);W=w.B;if(W===void 0)throw Error("invariant: data is undefined");z=d*h; +E=(d+1)*h;x=Math.max(0,F.start-z);q=Math.min(F.end+1,E)-(x+z);r=new Uint8Array(W.buffer,x,q);N.B.append(r);N.loaded+=q;N.loaded=200&&this.status<300&&!!this.B}; +g.C.uJ=function(){return!!this.T.totalLength}; +g.C.M8=function(){var N=this.T;this.T=new eB;return N}; +g.C.iA=function(){return this.T}; +g.C.uo=function(){return this.aborted}; +g.C.abort=function(){this.L&&this.L.cancel().catch(function(){}); +this.U&&this.U.abort();this.aborted=!0}; +g.C.hg=function(){return!0}; +g.C.fM=function(){return this.S}; +g.C.Yl=function(){return this.errorMessage};g.C=Cuv.prototype;g.C.onDone=function(){if(!this.uo){this.status=this.xhr.status;try{this.response=this.xhr.response,this.B=this.response.byteLength}catch(N){}this.T=!0;this.qT.VG()}}; +g.C.zt=function(){this.xhr.readyState===2&&this.qT.Zb()}; +g.C.onProgress=function(N){this.uo||(this.status=this.xhr.status,this.T||(this.B=N.loaded),this.qT.Af((0,g.Lh)(),N.loaded))}; +g.C.He=function(){return this.xhr.readyState>=2}; +g.C.getResponseHeader=function(N){try{return this.xhr.getResponseHeader(N)}catch(H){return g.aS(Error("Could not read XHR header "+N)),""}}; +g.C.BC=function(){return+this.getResponseHeader("content-length")}; +g.C.wL=function(){return this.B}; +g.C.Dk=function(){return this.status>=200&&this.status<300&&this.T&&!!this.B}; +g.C.uJ=function(){return this.T&&!!this.response&&!!this.response.byteLength}; +g.C.M8=function(){var N=this.response;this.response=void 0;return new eB([new Uint8Array(N)])}; +g.C.iA=function(){return new eB([new Uint8Array(this.response)])}; +g.C.abort=function(){this.uo=!0;this.xhr.abort()}; +g.C.hg=function(){return!1}; +g.C.fM=function(){return!1}; +g.C.Yl=function(){return""};g.k(b9,g.L);b9.prototype.gq=function(){if(!this.XH.length)return[];var N=this.XH;this.XH=[];this.L=g.vU(N).info;return N}; +b9.prototype.UU=function(){return this.XH}; +b9.prototype.Os=function(){g.L.prototype.Os.call(this);this.T=null;this.XH.length=0;this.L4.length=0;this.L=null};g.k(CT,g.L);g.C=CT.prototype; +g.C.k6s=function(){if(!this.uo()){var N=(0,g.Lh)(),H=!1;if(this.policy.y5){var c=this.timing.B>0?this.timing.Z:this.timing.T;this.policy.fDs&&this.L&&(c=this.L);N=N-c-(this.policy.W9?this.policy.xt:this.timing.q7()*1E3);c=Mr(we(this),!1);N>=2E3*c?H=!0:N>=this.policy.vM*c&&(this.T=this.policy.jY)}else if(this.timing.B>0){if(this.Y){this.policy.bX&&(this.T=0);return}N=this.timing.Ym();this.timing.hT();this.timing.Ym()-N>=this.policy.il*.8?(this.T++,H=this.T>=5):this.T=0}else H=N-this.timing.UO(),this.policy.jY&& +H>0&&(this.T+=1),N=Mr(we(this),!1)*this.policy.Y7,H=H>N*1E3;this.T>0&&this.qT.Qp();H?this.Ry():this.B.start()}}; +g.C.Ry=function(){this.S=!0;this.qT.ZA();this.lastError="net.timeout";DE(this)}; +g.C.canRetry=function(N){var H=we(this);N=N?this.policy.Ss:this.policy.Gn;return H.timedOut0&&(H=YW(H.T,0),N.ubyte=H,c===1&&H===0&&(N.b248180278=!0))}this.zE&&(N.rc=this.policy.ya?this.zE:this.zE.toString());this.policy.AN&&this.lD&&(N.tr=this.lD);N.itag=this.info.L4[0].mR.info.itag;N.ml=""+ +this.info.L4[0].mR.g0();N.sq=""+this.info.L4[0].Y_;this.tj&&(N.ifi=""+ +te(2,this.info.JF.B));this.zE!==410&&this.zE!==500&&this.zE!==503||(N.fmt_unav="true");var t;(c=this.errorMessage||((t=this.xhr)==null? +void 0:t.Yl()))&&(N.msg=c);this.Cl&&(N.smb="1");this.info.isDecorated()&&(N.sdai="1");return N}; +g.C.ZT=function(){return zGL(this.timing)}; +g.C.Yl=function(){return this.xhr.Yl()||""}; +g.C.bY=function(){return this.isComplete()||this.timing.bY()}; +g.C.Af=function(){!this.uo()&&this.xhr&&(this.zE=this.xhr.status,this.policy.gC&&this.Ie&&this.Lm(!1),this.I9()?this.Gt(2):!this.zo&&this.bY()&&(this.Gt(),this.zo=!0))}; +g.C.Zb=function(){if(!this.uo()&&this.xhr){if(!this.sC&&this.xhr.He()&&this.xhr.getResponseHeader("X-Walltime-Ms")){var N=Number(this.xhr.getResponseHeader("X-Walltime-Ms"));this.sC=((0,g.Lh)()-N)/1E3}this.xhr.He()&&this.xhr.getResponseHeader("X-Restrict-Formats-Hint")&&this.policy.LL_&&!CCZ()&&g.h9("yt-player-headers-readable",!0,2592E3);N=Number(this.xhr.getResponseHeader("X-Head-Seqnum"));var H=Number(this.xhr.getResponseHeader("X-Head-Time-Millis")),c;(c=this.CP)==null||c.stop();this.X_=N||this.X_; +this.hZ=H||this.hZ}}; +g.C.VG=function(){var N=this.xhr;if(!this.uo()&&N){this.zE=N.status;N=this.wV(N);if(this.policy.AN){var H;(H=this.CP)==null||H.stop()}N===5?DE(this.Ke):this.Xf(N);this.Ke.B.stop()}}; +g.C.wV=function(N){wVL(this);if(ZG(this.Ke,this.xhr.status,this.kd?this.timing.Bp||this.u6:this.xhr.Dk(),!1,this.HJ))return 5;var H="";Py(this.Ke,this.xhr)&&(H=u83(this.Ke,this.xhr));if(H)return PM(we(this.Ke)),this.info.uw(this.tj,H),3;H=N.wL();if(this.KA){this.Lm(!0);wVL(this);if(ZG(this.Ke,this.xhr.status,this.timing.Bp||this.u6,!1,this.HJ))return 5;if(!this.Cz){if(this.u6)return PM(we(this.Ke)),3;this.Ke.lastError="net.closed";return 5}}else{if(ZG(this.Ke,this.xhr.status,this.xhr.Dk(),!1,this.HJ))return 5; +var c=this.info.L;if(c&&c!==H||N.fM())return this.Ke.lastError="net.closed",5;this.Lm(!0)}c=mMS(this)?N.getResponseHeader("X-Bandwidth-Est"):0;if(N=mMS(this)?N.getResponseHeader("X-Bandwidth-Est3"):0)this.EM=!0,this.policy.Py&&(c=N);Lgv(this.Ke,H,c?Number(c):0,this.info.L4[0].type===5);return 4}; +g.C.canRetry=function(){this.uo();var N=this.info.isDecorated();return this.Ke.canRetry(N)}; +g.C.onStateChange=function(){this.isComplete()&&(this.policy.PF?this.ZA():this.timing.deactivate())}; +g.C.Ry=function(){this.Ke.Ry()}; +g.C.Qp=function(){this.callback&&this.callback(this,this.state)}; +g.C.Jf=function(){return this.Ke.Jf()}; +g.C.dispose=function(){Lx.prototype.dispose.call(this);this.Ke.dispose();var N;(N=this.CP)==null||N.dispose();this.policy.PF||this.ZA()}; +g.C.ZA=function(){this.xhr&&this.xhr.abort();this.timing.deactivate()}; +g.C.gq=function(){if(!this.UU().length)return[];this.Lk=!0;return this.Ie.gq()}; +g.C.I9=function(){if(this.state<1)return!1;if(this.Ie&&this.Ie.XH.length)return!0;var N;return((N=this.xhr)==null?0:N.uJ())?!0:!1}; +g.C.UU=function(){this.Lm(!1);return this.Ie?this.Ie.UU():[]}; +g.C.Lm=function(N){try{if(N||this.xhr.He()&&this.xhr.uJ()&&!Py(this.Ke,this.xhr)&&!this.d5)this.Ie||(this.Ie=new b9(this.policy,this.info.L4)),this.xhr.uJ()&&(this.KA?this.KA.feed(this.xhr.M8()):ho(this.Ie,this.xhr.M8(),N&&!this.xhr.uJ()))}catch(H){this.KA?iVy(this,H):g.aS(H)}}; +g.C.Xk=function(N,H){switch(N){case 21:N=H.split(1).CA;nAw(this,N);break;case 22:this.Cz=!0;ho(this.Ie,new eB([]),!0);break;case 43:if(N=fB(new kl(H),1))this.info.uw(this.tj,N),this.u6=!0;break;case 45:H=YNL(new kl(H));N=H.q5;H=H.YL;N&&H&&(this.Cx=N/H);break;case 44:this.Wn=WVt(new kl(H));var c,t,h;!this.timing.Bp&&((c=this.Wn)==null?void 0:c.action)===4&&((t=this.Wn)==null?0:(h=t.Wj)==null?0:h.kd)&&(this.kd=this.Wn.Wj.kd);break;case 53:this.policy.AN&&(N=scR(new kl(H)).TZ)&&(this.CP||(this.TZ=N, +this.CP=new g.kT(this.TX,N,this)),this.CP.start());break;case 60:this.IL=g_(new kl(H));break;case 58:if(N=K$R(new kl(H)))this.u3=N,N.u3===3&&(this.HJ=!0)}}; +g.C.Qx=function(N,H,c,t){c||this.timing.Qx(t);if(N!==21)return!1;if(N=this.policy.gC)if(N*=this.info.L4[0].mR.info.OF,H.totalLength+c!==t&&H.totalLength0)return!1;if(!this.xhr.He())return!0;if(this.KA)var N=!this.info.L;else this.xhr.BC()?N=!1:(N=this.xhr.getResponseHeader("content-type"),N=N==="audio/mp4"||N==="video/mp4"||N==="video/webm");if(!N)return!1;if(isNaN(this.info.Io)){N=this.xhr.getResponseHeader("x-head-seqnum");var H=this.timing.policy.C?1:0;if(N&&Number(N)>this.info.L4[0].Y_+H)return!1}return!0}; +g.C.Vp=function(){return+this.xhr.getResponseHeader("X-Segment-Lmt")||0}; +g.C.lm=function(){this.xhr&&(this.X_=Number(this.xhr.getResponseHeader("X-Head-Seqnum")));return this.X_}; +g.C.Hc=function(){this.xhr&&(this.hZ=Number(this.xhr.getResponseHeader("X-Head-Time-Millis")));return this.hZ}; +g.C.Wd=function(){return this.Ke.Wd()}; +g.C.TX=function(){if(!this.uo()&&this.xhr){this.lD="heartbeat";var N=this.Ke;N.T+=2;this.Qp()}};g.k(id,Sj);g.C=id.prototype;g.C.Di=function(N,H){var c=(N-this.Y)/1E3,t=H-this.L;this.B>0?t>0&&(this.ox&&(c>.2||t<1024?(this.U+=c,c>.2&&bPD(this,.05,t)):bPD(this,c,t)),this.gE&&(this.Kq+=t,this.vp+=c)):H>this.policy.T&&this.H1(N,H);Sj.prototype.Di.call(this,N,H)}; +g.C.kF=function(N,H){re(this,N,H);this.Di(N,H);this.ox&&(H=this.L*this.snapshot.stall+this.L/this.snapshot.byterate,this.B>0&&Aq(this.YG,this.Kq,this.U),N=(N-this.T)/1E3||.01,this.policy.Z&&!(this.B>0)||q7(this.YG,N,this.L,H,!1))}; +g.C.I1=function(N){re(this,N,this.S);var H=(N-this.Y)/1E3;Q6D(this.YG,H,0);this.xe(H,0);!this.ox&&this.B>0||(H=this.L*this.snapshot.stall+this.L/this.snapshot.byterate,this.B>0&&(this.U+=(N-this.Y)/1E3,Aq(this.YG,this.Kq,this.U)),q7(this.YG,(N-this.T)/1E3||.01,this.L,H,!1,!0))}; +g.C.wz=function(N){N=N.Cc||2147483647;(N&2)!==2&&(this.gE=!1);(N&1)===1&&(this.ox=!0)}; +g.C.Ht=function(N){N=N.Cc||2147483647;(N&2)===2&&(this.gE=!1);(N&1)===1&&(this.ox=!1)}; +g.C.Ws=function(){return this.Z}; +g.C.Z1=function(){var N=this.gE?this.now()-this.Y:0;return Math.max(this.vp*1E3+N,1)}; +g.C.CV=function(){return this.Kq*1E3/this.Z1()}; +g.C.H1=function(N,H){N=N===void 0?this.C:N;H=H===void 0?this.S:H;this.B>0||(Sj.prototype.H1.call(this,N,H),H=this.YG,N=(N-this.TW)/1E3,H.Z.dJ(1,(this.TW-this.T)/1E3),H.Ix.dJ(1,N))}; +g.C.qk=function(N){this.zW=N}; +g.C.H_=function(){var N=Sj.prototype.H_.call(this);N.rbw=this.CV();N.rbe=+this.gE;N.gbe=+this.ox;N.ackt=(this.zW-this.T).toFixed();return N}; +g.C.hT=function(){}; +g.C.Ym=function(){return NaN}; +g.C.UO=function(){return this.T+this.snapshot.delay*1E3};jY.prototype.Xk=function(N,H){switch(N){case 20:N=new kl(H);N={jH:IZ(N,1),videoId:fB(N,2),itag:IZ(N,3),lmt:IZ(N,4),xtags:fB(N,5),lj:IZ(N,6),cL:pz(N,8),S$:IZ(N,9),PUl:IZ(N,10),startMs:IZ(N,11),durationMs:IZ(N,12),mD:IZ(N,14),timeRange:Hj(N,15,TlS),hd:IZ(N,16),rX:IZ(N,17),clipId:fB(N,1E3)};this.QO(N);break;case 21:this.FD(H,!1);break;case 22:this.hV(H);break;case 31:N=jL(H,xmy);this.qT.tH(N);break;case 52:N=jL(H,JDh);this.qT.w9(N);break;default:this.vE(N,H)}}; +jY.prototype.QO=function(){}; +jY.prototype.vE=function(){};var y84=new Set([53,49,50]);g.k($eh,jY);g.C=$eh.prototype;g.C.vE=function(N,H){Xo3(this.qT)&&!y84.has(N)?this.T.push({id:N,data:H}):JE3(this,N,H)}; +g.C.Ab=function(N){N=new kl(N);N={Jgs:lA(N,1,Zx),rga:lA(N,2,Zx)};this.qT.Ab(N)}; +g.C.Fz=function(N){var H=new kl(N);N=cM(H,1);var c=cM(H,2);H=cM(H,3);this.qT.Fz(N,c,H)}; +g.C.l3=function(N){N=YNL(new kl(N));this.qT.l3(N)}; +g.C.Qf=function(N){N=jL(N,U5L);this.qT.Qf(N)}; +g.C.jN=function(N){N=new kl(N);N={videoId:fB(N,1),formatId:Hj(N,2,Zx),endTimeMs:IZ(N,3),XMl:IZ(N,4),mimeType:fB(N,5),Mw:Hj(N,6,vFZ),indexRange:Hj(N,7,vFZ),QU:Hj(N,8,EEL)};this.qT.jN(N)}; +g.C.gW=function(N){N=new kl(N);N={type:IZ(N,1),scope:IZ(N,2),value:jc(N,3),sendByDefault:pz(N,4),writePolicy:IZ(N,5)};this.qT.gW(N)}; +g.C.xU=function(){this.qT.xU()}; +g.C.W_=function(N){N=Bld(new kl(N));this.qT.W_(N)}; +g.C.UX=function(N){N=scR(new kl(N));this.qT.UX(N)}; +g.C.n5=function(N){N=WVt(new kl(N));this.qT.n5(N)}; +g.C.OX=function(N){N={redirectUrl:fB(new kl(N),1)};this.qT.OX(N)}; +g.C.FD=function(N){var H=YW(N,0);if(N.totalLength!==1){N=N.split(1).CA;var c=this.B[H]||null;c&&Ko(this.qT.sy,H,c,N)}}; +g.C.hV=function(N){N=YW(N,0);var H=this.B[N]||null;H&&this.qT.hV(N,H)}; +g.C.QO=function(N){var H=N.jH,c=N.cL,t=N.lj,h=N.rX,O=N.hd,F=N.S$,M=N.startMs,f=N.durationMs,d=N.timeRange,W=N.mD,z=N.clipId,E=hM(N);N=r8g.has(gQ[""+N.itag]);this.B[H]=E;this.qT.VY(E,N,{jH:H,cL:!!c,lj:t!=null?t:-1,S$:F!=null?F:-1,startMs:M!=null?M:-1,durationMs:f!=null?f:-1,mD:W,rX:h,hd:O,clipId:z,timeRange:d})}; +g.C.wz=function(N){N={Cc:IZ(new kl(N),1)};this.qT.wz(N)}; +g.C.Ht=function(N){N={Cc:IZ(new kl(N),1)};this.qT.Ht(N)}; +g.C.v1=function(N){N=K$R(new kl(N));this.qT.v1(N)}; +g.C.s9=function(N){N={xi:Hj(new kl(N),1,Kzl)};this.qT.s9(N)}; +g.C.onSnackbarMessage=function(N){N=IZ(new kl(N),1);this.qT.onSnackbarMessage(N)}; +g.C.FV=function(N){N={QP:lA(new kl(N),1,Dgl)};this.qT.FV(N)}; +g.C.qV=function(N){N=new kl(N);N={reloadPlaybackParams:Hj(N,1,YkD),HV:pz(N,2)};this.qT.qV(N)}; +g.C.Hb=function(){for(var N=g.K(this.T),H=N.next();!H.done;H=N.next())H=H.value,JE3(this,H.id,H.data);this.T=[]};g.k(wo,g.L);g.C=wo.prototype;g.C.uN=function(){return Array.from(this.Hr.keys())}; +g.C.pg=function(N){N=this.Hr.get(N);var H=N.XH;N.x4+=H.totalLength;N.XH=new eB;return H}; +g.C.wR=function(N){return this.Hr.get(N).wR}; +g.C.eO=function(N){return this.Hr.get(N).eO}; +g.C.VY=function(N,H,c){this.Hr.get(N)||this.Hr.set(N,{XH:new eB,x4:0,bytesReceived:0,AD:0,qn:!1,wR:!1,eO:!1,ll:H,uT:[],L4:[],YU:[],TO:!1,Hv:new Map,kT:new Map,Bu:[]});H=this.Hr.get(N);this.GW?(N=aLD(this,N,c),DOf(this,c.jH,H,N)):(c.cL?H.AD=c.mD:H.YU.push(c),H.uT.push(c))}; +g.C.mw=function(N){var H;return((H=this.Hr.get(N))==null?void 0:H.L4)||[]}; +g.C.Gt=function(){for(var N=g.K(this.Hr.values()),H=N.next();!H.done;H=N.next())if(H=H.value,H.qn){if(H.onProgress)H.onProgress();H.qn=!1}}; +g.C.hV=function(N,H){H=this.Hr.get(H);DJ?H&&!H.wR&&(H.Hv.get(N)?H.Hv.get(N).ZJ=!0:H.Hv.set(N,{data:new eB,Yz:0,ZJ:!0}),H.eO=!0):H&&!H.eO&&(H.eO=!0)}; +g.C.gq=function(N){if(DJ){var H=this.Hr.get(N);if(H)for(var c=g.K(H.Hv),t=c.next();!t.done;t=c.next()){var h=g.K(t.value);t=h.next().value;h=h.next().value;var O=H.kT.get(t);if(cy(O[0])){if(!h.ZJ)continue;var F=h.data,M=0,f=[];O=g.K(O);for(var d=O.next();!d.done;d=O.next()){d=d.value;var W=d.B,z=D_(F,M,W);M+=W;f.push(new to(d,z))}H.Bu.push.apply(H.Bu,g.HE(f))}else if(h.data.totalLength>0||!O[0].range&&h.ZJ)F=void 0,M=O[0],f=h.Yz,O=h.data,M.range||(F=h.ZJ),F=new to($UZ(M,M.T+f,O.totalLength,F),O), +h.Yz+=F.info.B,H.Bu.push(F);H.Hv.get(t).data=new eB;h.ZJ&&H.Hv.delete(t)}N=this.Hr.get(N);if(!N)return[];H=N.Bu;N.Bu=[];c=g.K(H);for(t=c.next();!t.done;t=c.next())N.x4+=t.value.info.B;return H||[]}c=(H=this.Hr.get(N))==null?void 0:H.Ie;if(!c)return[];this.Lm(N,c);return c.gq()}; +g.C.I9=function(N){if(DJ)return p3(this,N);var H,c,t;return!!((c=(H=this.Hr.get(N))==null?void 0:H.Ie)==null?0:(t=c.UU())==null?0:t.length)||p3(this,N)}; +g.C.Lm=function(N,H){for(;p3(this,N);){var c=this.pg(N);var t=N;t=this.Hr.get(t).wR&&!N_e(this,t);ho(H,c,t&&iGR(this,N))}}; +g.C.Os=function(){g.L.prototype.Os.call(this);for(var N=g.K(this.Hr.keys()),H=N.next();!H.done;H=N.next())QM(this,H.value);var c;if((c=this.wk)==null?0:c.qj)for(N=g.K(this.Hr.values()),H=N.next();!H.done;H=N.next())H=H.value,H.Hv.clear(),H.kT.clear(),H.Bu.length=0,H.L4.length=0,H.uT.length=0,H.YU.length=0;this.Hr.clear()}; +var DJ=!1;var GLg=new Set([2]);g.k(z2,g.L);g.C=z2.prototype;g.C.Af=function(){!this.uo()&&this.xhr&&(this.Lm(!1),eI(this.qT,this))}; +g.C.Zb=function(){}; +g.C.VG=function(){if(!this.uo()&&this.xhr){var N=this.wV();N===5?DE(this.Ke):this.Xf(N);this.Ke.B.stop();var H;(H=this.Xi)==null||H.stop()}}; +g.C.wV=function(){var N="";Py(this.Ke,this.xhr)&&(N=u83(this.Ke,this.xhr));if(N)return this.info.JF.uw(this.tj,N),3;this.Lm(!0);if(ZG(this.Ke,this.xhr.status,this.xhr.Dk(),this.info.eC(),this.HJ))return 5;if(this.OM)return 3;Lgv(this.Ke,this.xhr.wL(),0,this.eC());this.policy.qc&&Tfl(this.qT);return 4}; +g.C.Lm=function(N){var H=this.xhr;!N&&Py(this.Ke,this.xhr)||!H.uJ()||(N=H.M8(),this.KA.feed(N))}; +g.C.Xk=function(N,H){this.xhr.hg()&&N===21&&f$t(this);this.g1.Xk(N,H)}; +g.C.Qx=function(N,H,c,t){c||(this.hj.Qx(t),this.policy.rz&&N===21&&f$t(this));if(N!==21)return!1;this.hj.Bp=!0;N=H.totalLength;c||(this.gN=YW(H,0),H=H.split(1).CA);var h=this.policy.eI,O=this.g1.B[this.gN],F=this.GW.L.get(O);if(h&&F&&(h*=F.info.OF,N+c!==t&&N0){this.policy.y5&&this.Ke.B.stop();N=this.hj.Z1();H=this.hj.CV();var c=Rqy(this,N);if(!(H>c.Ur||c.mZ>0&&this.info.S5()>c.mZ)){this.OH=(0,g.Lh)();var t;(t=this.Xi)==null||t.stop();this.policy.qc&&(t=this.qT,N={xB:Math.round(H*N/1E3),h6:N},t.policy.qc&&(t.Kq=N,t.In++));this.Ry()}}}}; +g.C.Ry=function(){this.Ke.Ry()}; +g.C.n5=function(N){this.qT.n5(N,this.DD())}; +g.C.OX=function(N){this.OM=!0;this.info.JF.uw(this.tj,N.redirectUrl)}; +g.C.wz=function(N){this.hj instanceof id&&this.hj.wz(N)}; +g.C.Ht=function(N){this.hj instanceof id&&this.hj.Ht(N)}; +g.C.jN=function(N){var H=N.formatId,c=hM({itag:H.itag,lmt:H.lmt,xtags:H.xtags}),t,h,O=new oa(((t=N.Mw)==null?void 0:t.first)||0,((h=N.Mw)==null?void 0:h.p_)||0),F,M;t=new oa(((F=N.indexRange)==null?void 0:F.first)||0,((M=N.indexRange)==null?void 0:M.p_)||0);this.GW.L.get(c)||(c=N.QU||{},c.mimeType=N.mimeType,c.itag=H.itag,c.lastModified=""+(H.lmt||0),c.xtags=H.xtags,N=this.GW,H=NQ(""),c=bl(c,null),XT(N,new cI(H,c,O,t)))}; +g.C.l3=function(N){this.qT.l3(N,this.DD())}; +g.C.onSnackbarMessage=function(N){if(this.policy.wP)this.qT.onSnackbarMessage(N)}; +g.C.FV=function(N){this.policy.Y&&this.qT.FV(N,this.DD())}; +g.C.tH=function(N){this.Ha=N;this.Ke.L=(0,g.Lh)();this.qT.tH(N)}; +g.C.Fz=function(N,H,c){this.qT.Fz(N,H,c)}; +g.C.gW=function(N){N.scope===2&&(this.f9=N);this.qT.gW(N)}; +g.C.xU=function(){this.yz=!0;this.qT.xU()}; +g.C.Ab=function(N){this.policy.M0&&this.qT.Ab(N)}; +g.C.Qf=function(N){this.qT.Qf(N,this.DD())}; +g.C.v1=function(N){N.u3===3&&(this.HJ=!0);this.qT.v1(N)}; +g.C.s9=function(N){this.qT.s9(N)}; +g.C.qV=function(N){this.qT.qV(N)}; +g.C.canRetry=function(){this.uo();return this.Ke.canRetry(!1)}; +g.C.dispose=function(){if(!this.uo()){g.L.prototype.dispose.call(this);this.Ke.dispose();var N;(N=this.Xi)==null||N.dispose();this.Xf(-1);this.ZA()}}; +g.C.Xf=function(N){this.state=N;eI(this.qT,this)}; +g.C.eC=function(){return this.info.eC()}; +g.C.V$=function(){return this.yz}; +g.C.GN=function(){return this.f9}; +g.C.VY=function(N,H,c){c.clipId&&(this.clipId=c.clipId);this.policy.B&&!H&&(this.cz=c.S$);if(this.info.isDecorated()){var t=this.info,h,O;var F=((h=t.data)==null?0:(O=h.nJ)==null?0:O.tq)?t.data.nJ.tq:-1;F>=0&&F>c.S$&&this.qT.loader.Lq("sdai",{skpsqmismatch:"1",stsq:F,rcvsq:c.S$,a:H})}this.sy.VY(N,H,c);this.policy.a9&&this.Ha&&this.hj instanceof P3&&(F=this.Ha.Zh,this.hj.VY(c.durationMs/1E3,H,F>0&&c.S$+1>=F));this.sy.Hr.get(N).TO=!0;this.policy.qz&&this.qT.AB(2,H)}; +g.C.hV=function(N,H){this.sy.hV(N,H)}; +g.C.w9=function(N){this.requestIdentifier=N}; +g.C.gq=function(N){return this.sy.gq(N)}; +g.C.mw=function(N){return this.sy.mw(N)}; +g.C.I9=function(N){return this.sy.I9(N)}; +g.C.uN=function(){return this.sy.uN()}; +g.C.KE=function(){return 1}; +g.C.DD=function(){return this.hj.requestNumber}; +g.C.ut=function(){return this.requestIdentifier}; +g.C.uG=function(){return this.tj.uG()}; +g.C.gf=function(){this.ZA()}; +g.C.ZA=function(){this.hj.deactivate();var N;(N=this.xhr)==null||N.abort()}; +g.C.isComplete=function(){return this.state>=3}; +g.C.IP=function(){return this.state===3}; +g.C.OG=function(){return this.state===5}; +g.C.Nw=function(){return this.state===4}; +g.C.bF=function(){return this.isComplete()}; +g.C.Tr=function(){return this.state>=1}; +g.C.Jf=function(){return this.policy.bX?this.Ke.Jf():0}; +g.C.Qp=function(){this.policy.bX&&eI(this.qT,this)}; +g.C.OO=function(){return lC(this.info)}; +g.C.Hb=function(){this.v3()&&!this.fk&&(this.fk=!0,this.g1.Hb())}; +g.C.v3=function(){var N,H;var c=(N=this.info.T)==null?void 0:(H=N.JQ)==null?void 0:H.ai;return!!c&&GLg.has(c)}; +g.C.KV=function(){return"SABR"}; +g.C.Wd=function(){return this.Ke.Wd()}; +g.C.Gv=function(){var N=xTt(this.Ke);Object.assign(N,V8D(this.info));N.req="sabr";N.rn=this.DD();var H;if((H=this.xhr)==null?0:H.status)N.rc=this.policy.ya?this.xhr.status:this.xhr.status.toString();var c;(H=(c=this.xhr)==null?void 0:c.Yl())&&(N.msg=H);this.OH&&(c=Rqy(this,this.OH-this.hj.Ws()),N.letm=c.Cgq,N.mrbps=c.Ur,N.mram=c.mZ);return N};sW3.prototype.tick=function(N,H){this.ticks[N]=H?window.performance.timing.navigationStart+H:(0,g.Lh)()};g.k(Rjh,g.xo);g.C=Rjh.prototype; +g.C.G8=function(N,H,c,t){if(this.policy.oG&&this.policy.B){var h=N.Rc||null;h?(OXy(this,N.Y_,Vn(this,N.startTime,N.Y_),{Rc:h,Y_:N.Y_,qv:!!H,KG:c},this.L),t&&this.L&&this.L.bO(N.Y_,N.startTime,this.B,(H==null?void 0:H.T)||[],(H==null?void 0:H.B)||[],(H==null?void 0:H.U)||[],c,(H==null?void 0:H.zY)||0,(H==null?void 0:H.L)||void 0)):this.B===1&&GD(this,5,"noad")}else{var O=!1;this.policy.B&&(O=c?this.NT===N.Y_:this.ox===N.Y_);if(this.L&&t&&!O){t=[];O=[];var F=[],M=void 0,f=0;H&&(t=H.T,O=H.B,F=H.U,M= +H.L,f=H.zY,this.Lq("sdai",{sq:N.Y_,ssvicpns:t.join("."),ssvid:O.join(".")}));this.policy.B&&(c?this.NT=N.Y_:this.ox=N.Y_);this.L.bO(N.Y_,N.startTime,this.B,t,O,F,c,f,M)}this.policy.B?c&&(this.B===1&&GD(this,5,"noad"),N.Y_!==((h=this.T)==null?void 0:h.Y_)&&(vuZ(this,N,H,c),isNaN(N.startTime)||nBl(this,N.Y_,Vn(this,N.startTime,N.Y_),!!H,this.L))):c&&vuZ(this,N,H)}}; +g.C.A1=function(N,H,c){var t=this.videoTrack.mR.index.Ff()<=H;this.T={Rc:N,Y_:H,qv:c};t&&Hx(this,N,H)}; +g.C.ge=function(){this.L&&this.L.ge()}; +g.C.Lq=function(N,H,c){(N!=="sdai"||this.policy.kB||(c===void 0?0:c))&&this.loader.Lq(N,H)}; +g.C.gL=function(N,H){var c=this.videoTrack.mR.index.b$(N);if(c>=0){var t;var h=((t=H.z3.D4(c,2))==null?void 0:t.RI)||"";if(this.policy.B||h)return H.Ya(N,c),ud(this.loader,N,N,c),this.Lq("sdai",{cmskpad:1,t:N.toFixed(3),sq:c}),!0}this.Lq("sdai",{cmskpad:0,t:N.toFixed(3),sq:c});return!1};g.C=j1S.prototype;g.C.N3=function(N,H,c){var t=N||this.U;this.Lq("clsdai",{setadcfg:N||"misscid",cid:t,acpn:c,acfglen:(H==null?void 0:H.length)||0});this.T.has(t)||(this.Lq("clsdai",{setadcfg:"noentry",cid:t}),this.T.set(t,{event:"unknown",startTimeSecs:0,C6:0,h$:[],qQ:Date.now(),SD:-1,XE:6}));(N=this.T.get(t))?H?(N.XE=6,N.h$.push(c),N.Tj=H):N.XE=2:this.Lq("clsdai",{setadcfg:"notfound",cid:t})}; +g.C.Fq=function(N){var H=N||this.U;this.Lq("clsdai",{rmvadcfg:N||"misscid",lastcid:this.U});(N=this.T.get(H))?(N.Tj="",N.XE=4):this.Lq("clsdai",{rmadcfg:"notfound",cid:H})}; +g.C.FV=function(N,H,c){this.S=H;var t;if(!((((t=N.QP)==null?void 0:t.length)||0)<=0)&&(N=N.QP[0],N.Rc)){var h;t=-(((h=N.Rc)==null?void 0:h.uL)||0);N.timeRange&&(t+=(N.timeRange.startTicks||0)/(N.timeRange.timescale||1));var O,F,M,f,d;h=new Ni(t,((O=N.Rc)==null?void 0:O.GSs)||0,((F=N.Rc)==null?void 0:F.yX)||"",((M=N.Rc)==null?void 0:M.identifier)||"",PVv((f=N.Rc)==null?void 0:f.event),(((d=N.Rc)==null?void 0:d.uL)||0)*1E3);O=N.S$||0;this.T.has(h.identifier)?(F=this.T.get(h.identifier),O>F.SD&&(F.startTimeSecs= +h.startSecs,F.C6=h.C6,F.event==="predictStart"&&F.XE===5&&h.event!=="predictStart"&&(F.qQ=Date.now()),F.event=h.event)):(F={event:h.event,startTimeSecs:h.startSecs,C6:h.C6,h$:[],SD:O,XE:0},this.T.set(h.identifier,F),this.L&&this.Lq("clsdai",{newcid:1,cid:h.identifier,evt:h.event,sn:O,rn:H,st:N4e(F.XE)}));c&&F.XE===0&&(c.Lp(h)?F.XE=5:(F.XE=2,F.Tj=""),F.qQ=Date.now(),F.SD=O,this.L&&this.Lq("clsdai",{onqpnt:1,cid:h.identifier,evt:h.event,sn:O,rn:H,st:N4e(F.XE)}));O>F.SD&&(c==null||c.Lp(h),F.SD=O);this.U= +h.identifier;this.L&&this.B.add(h.identifier)}}; +g.C.Ya=function(N,H,c){var t=N;this.L&&(t+=c);var h,O="";t=Nxw(this,t);t.length>0&&(O=t[0])&&(h=this.T.get(O));if(!h||h.J7){var F;this.Lq("clsdai",{skipadfail:1,cid:O,sn:H,mt:N.toFixed(3),of:c.toFixed(3),skipsq:((F=h)==null?void 0:F.J7)||-1});return!1}this.Lq("clsdai",{skipadsuc:1,cid:O,sn:H,mt:N.toFixed(3),of:c.toFixed(3)});h.J7=H;this.B.clear();this.B.add(O);return!0}; +g.C.xo=function(){this.Lq("clsdai",{rstskipad:1});for(var N=g.K(this.T.values()),H=N.next();!H.done;H=N.next())H.value.J7=NaN};g.k(p6,g.L);p6.prototype.xN=function(N,H,c){c=c===void 0?{}:c;this.policy.CF=Cd(N,c,this.U,H===void 0?!1:H)};Jn.prototype.uB=function(N){var H=this;if(this.policy.Qu){var c=new Set(N);c.size===this.Ix.size&&[].concat(g.HE(c)).every(function(t){return H.Ix.has(t)})||(this.loader.Lq("lwnmow",{itagDenylist:[].concat(g.HE(N)).join(",")}),this.loader.qY(!!c.size),this.TW=-1,this.Ix=c,Wj(this,this.T),this.Kq=!0)}}; +Jn.prototype.xN=function(N,H,c){c=c===void 0?{}:c;var t=this.policy.CF;this.S.xN(N,H===void 0?!1:H,c);if(t!==this.policy.CF){Wj(this,this.T);xB(this);var h,O;t>this.policy.CF&&((h=this.L)==null?0:nK(h.info))&&((O=this.nextVideo)==null||!nK(O.info))&&(this.Bp=!0)}};var ZIL={bj:-1,tL:!1,ai:0};g.k(Ywf,g.L);Ywf.prototype.Os=function(){this.B=ZIL;S_L(this);g.L.prototype.Os.call(this)};Wz3.prototype.Xm=function(N){this.timestampOffset=N;this.flush()}; +Wz3.prototype.flush=function(){if(this.T.pos>0){var N={a:this.track.ll(),u:this.T.UR(),pd:Math.round(this.U),ad:Math.round(this.L)},H=this.B;if(H){var c=H.mR.info;N.itag=c.itag;c.T&&(N.xtags=c.T);N.sq=H.Y_;N.st=H.startTime;N.sd=H.duration;this.track.policy.Nq&&(N.si=H.uX());H.L&&(N.esl=H.T+H.B);H.Xy()&&(N.eos=1)}isNaN(this.timestampOffset)||(N.to=this.timestampOffset);var t;if(H=(t=this.track.q4)==null?void 0:t.Q4({})){for(var h in H)this.Y[h]!==H[h]&&(N["sb_"+h]=H[h]);this.Y=H}this.track.Lq("sbu", +N);this.T.reset();this.buffered=[];this.S=this.L=this.U=0;this.timestampOffset=this.B=void 0}};T5.prototype.dispose=function(){this.Us=!0}; +T5.prototype.uo=function(){return this.Us}; +g.k(aF,Error);Db.prototype.skip=function(N){this.offset+=N}; +Db.prototype.Tn=function(){return this.offset};g.C=fpS.prototype;g.C.Lt=function(){return this.B}; +g.C.on=function(){return this.B.length?this.B[this.B.length-1]:null}; +g.C.yB=function(){this.B=[];CN(this);qr(this)}; +g.C.pg=function(N){this.Kq=this.B.shift().info;N.info.equals(this.Kq)}; +g.C.mw=function(){return g.jm(this.B,function(N){return N.info})}; +g.C.ll=function(){return!!this.mR.info.audio}; +g.C.isDrm=function(){return!!this.mR.info.YH}; +g.C.getDuration=function(){return this.mR.index.I$()};g.k(uo,Lx);g.C=uo.prototype;g.C.onStateChange=function(){this.uo()&&(p9(this.sy,this.formatId),this.T.dispose())}; +g.C.Gv=function(){var N=xKd(this.sy,this.formatId),H;var c=((H=this.sy.Hr.get(this.formatId))==null?void 0:H.bytesReceived)||0;var t;H=((t=this.sy.Hr.get(this.formatId))==null?void 0:t.x4)||0;return{expected:N,received:c,bytesShifted:H,sliceLength:N_e(this.sy,this.formatId),isAnyMediaEndReceived:this.sy.eO(this.formatId)}}; +g.C.ZT=function(){return 0}; +g.C.bY=function(){return!0}; +g.C.gq=function(){return this.sy.gq(this.formatId)}; +g.C.UU=function(){return[]}; +g.C.I9=function(){return this.sy.I9(this.formatId)}; +g.C.Wd=function(){return this.lastError}; +g.C.Jf=function(){return 0};g.k(jP,g.L);g.C=jP.prototype;g.C.ll=function(){return!!this.mR.info.audio}; +g.C.on=function(){return this.L.on()}; +g.C.pg=function(N){this.L.pg(N);var H;(H=this.C)!=null&&(H.S.add(N.info.Y_),H.T=AXw(H,H.Eu,H.mf,N,H.T),H.L=N,H.Y=(0,g.Lh)());this.OF=Math.max(this.OF,N.info.mR.info.OF||0)}; +g.C.getDuration=function(){return this.mR.index.I$()}; +g.C.yB=function(){Gh(this);this.L.yB()}; +g.C.pV=function(){return this.L}; +g.C.tf=function(N){return this.q4?t1(this.q4.l2(),N):!0}; +g.C.isRequestPending=function(N){return this.B.length?N===this.B[this.B.length-1].info.L4[0].Y_:!1}; +g.C.Xm=function(N){var H;(H=this.C)==null||H.Xm(N);var c;(c=this.Z)==null||c.Xm(N)}; +g.C.Lq=function(N,H){this.loader.Lq(N,H)}; +g.C.Bz=function(){return this.loader.Bz()}; +g.C.dispose=function(){var N;(N=this.Z)==null||N.flush();g.L.prototype.dispose.call(this)};g.k(IU,g.L);IU.prototype.L=function(){this.B++>15||(this.T=!this.T,new a2y(this.loader,this.policy,this.YG,this.JF,this.T),this.delay.start())}; +g.C=a2y.prototype;g.C.Zb=function(){}; +g.C.Af=function(){}; +g.C.VG=function(){if(!this.done)if(this.done=!0,this.xhr.status===200&&this.xhr.wL()===this.size)this.loader.Lq("rqs",this.getInfo());else{var N="net.connect";this.xhr.status>200?N="net.badstatus":this.xhr.He()&&(N="net.closed");this.onError(N)}}; +g.C.onError=function(N){var H=this;this.loader.handleError(N,this.getInfo());U$("https://www.gstatic.com/ytlr/img/sign_in_avatar_default.png?rn="+this.timing.requestNumber,"gp",function(c){H.loader.Lq("pathprobe",c)},function(c){H.loader.handleError(c.errorCode,c.details)})}; +g.C.getInfo=function(){var N=this.timing.H_();N.shost=Sc(22,this.location.HR);N.pb=this.size;return N};g.k(VH,g.L); +VH.prototype.C=function(N,H){if(N.Y){this.GW.isLive?(N=this.GW.rk&&this.GW.U?N.mR.HM(this.GW.rk,!1):N.mR.DQ(Infinity),N.Io=this.Io):N=N.mR.HM(0,!1);if(this.Bp){var c=this.Bp;N.Io===0&&(N.S=c.Z)}else N.S=this.TW;return N}c=N.T;if(!c.mR.g0())return c.mR.Oa()?(N=jK(this.S,N.mR.info.OF,H.mR.info.OF,0),N=c.mR.V3(c,N)):N=c.mR.K3(c),N;var t=c.S-this.loader.getCurrentTime(),h=!c.range||c.B===0&&c.T===0?0:c.range.length-(c.T+c.B),O=c.mR;this.Ck(N,t)&&h===0&&(this.GW.isManifestless?O=N.mR:(O=c.startTime+h1, +c.B&&(O+=c.duration),VV(N,O),c=N.T,O=c.mR));O.Oa()?(h=this.L,H=jK(this.S,O.info.OF,H.mR.info.OF,t,h.U.length>0&&h.Z===0&&this.loader.F_),t=Fk(N),N=c.mR.V3(c,H),(H=N.L)&&N.L4.length>1&&(t||N.JF.L||N.L4[0].mR!==c.mR?N=c.mR.V3(c,N.L4[0].B):(t=N.L4[N.L4.length-1],O=t.B/H,!t.L&&O<.4&&(N=c.mR.V3(c,H-t.B))))):(c.Y_<0&&(H=gd(c),H.pr=""+N.B.length,this.loader.isSeeking()&&(H.sk="1"),H.snss=c.Y,this.loader.Lq("nosq",H)),N=O.K3(c));if(this.policy.Cq)for(c=g.K(N.L4),H=c.next();!H.done;H=c.next())H.value.type= +6;return N}; +VH.prototype.Ck=function(N,H){if(!Fk(N)||!N.mR.g0())return!1;var c;(c=this.L.Kq)||(c=Fk(N)&&N.mR.g0()&&N.T.mR.info.OF=H)return t.return();(c=N.T.get(0))&&cKZ(N,c);g.Z3(t)})}; +var Chd={NaW:0,RHl:1,x_x:2,oaq:3,SGf:4,0:"PRIMARY",1:"SECONDARY",2:"RANDOM",3:"SENSITIVE_CONTENT",4:"C_YOUTUBE"};CF.prototype.decrypt=function(N){var H=this,c,t,h,O,F,M;return g.Y(function(f){switch(f.T){case 1:if(H.T.length&&!H.T[0].isEncrypted)return f.return();H.B=!0;H.SY.tN("omd_s");c=new Uint8Array(16);Nq()?t=new g.x8(N):h=new g.Gl(N);case 2:if(!H.T.length||!H.T[0].isEncrypted){f.rE(4);break}O=H.T.shift();if(!t){F=h.decrypt(fD(O.buffer),c);f.rE(5);break}return g.a(f,t.decrypt(fD(O.buffer),c),6);case 6:F=f.B;case 5:M=F;for(var d=0;d=4)){var H=uB(this),c=this.xhr;H.rc=c.status;N&&(H.ab=!0);if(c.Yl()){var t="onesie.net";H.msg=c.Yl()}else c.status>=400?t="onesie.net.badstatus":c.Dk()?this.Zu||(t="onesie.response.noplayerresponse"):t=c.status===204?"onesie.net.nocontent":"onesie.net.connect";t?this.fail(new g.QP(t,H)):(this.tN("or_fs"),this.hj.kF((0,g.Lh)(),c.wL(),0),this.Xf(4),this.Ua&&this.Lq("rqs",H));this.Ua&&this.Lq("ombre","ok."+ +!t);this.qL=!1;cK(this); +e3(this.SY);if(!this.qh){this.i4.stop();var h;(h=this.jX)==null||h.stop()}var O;if(N=(O=this.yb)==null?void 0:Q5t(O))for(O=0;O1E3){var N;(N=this.hj)==null||N.I1((0,g.Lh)());N=uB(this);if(this.j.vO()&&this.xhr instanceof CRS){var H=this.xhr;N.xrs=H.xhr.readyState;N.xpb=H.T.totalLength;N.xdc=H.U}this.fail(new g.QP("net.timeout",N))}}else(0,g.Lh)()-this.hj.T>1E4&&((H=this.hj)==null||H.I1((0,g.Lh)()),this.A8());this.isComplete()||this.Hl.start()}}; +g.C.A8=function(){this.qL=!1;if(!cK(this)){var N=uB(this);N.timeout="1";this.fail(new g.QP("onesie.request",N))}}; +g.C.fail=function(N){var H=this;N=g8(N);this.BD?this.wE.rr(N):(this.Kp.reject(N),this.BD=!0);e3(this.SY);this.qh||this.i4.stop();this.tN("or_fe");var c,t;(c=this.yb)==null||(t=Q5t(c))==null||t.forEach(function(h){H.Lq("pathprobe",h)}); +this.Xf(5);this.dispose()}; +g.C.isComplete=function(){return this.state>=3}; +g.C.Nw=function(){return this.state===4}; +g.C.bF=function(N){var H,c;return this.isComplete()||!!((H=this.oe)==null?0:(c=H.get(N))==null?0:c.T)}; +g.C.IP=function(){return!1}; +g.C.OG=function(){return this.state===5}; +g.C.notifySubscribers=function(N){for(var H=0;H102400&&!this.O4&&(this.tN("or100k"),this.O4=!0);if(N.uJ()){var H=N.M8(),c=H.totalLength;this.Ua&&this.Lq("ombrss","len."+c);this.KA.feed(H)}if(this.oe)for(var t=g.K(this.oe.keys()),h=t.next();!h.done;h=t.next()){var O=h.value;N=void 0;(N=this.oe.get(O))==null||N.Gt();this.notifySubscribers(O)}}catch(F){this.fail(F)}}; +g.C.DD=function(){return this.hj.requestNumber}; +g.C.ut=function(N){return this.QA.get(N)}; +g.C.v3=function(){return!1}; +g.C.KV=function(){return"ONESIE"};g.k(Sk,g.L);g.C=Sk.prototype;g.C.RE=function(N,H){this.TW=void 0;Tfl(this);XYe(this,N,H)}; +g.C.P5=function(N){if(this.T.length===0)return!1;var H=this.T[0];return H instanceof wY?N===this.loader.getCurrentTime()*1E3:!(H instanceof z2&&GPZ(H.info))&&Math.abs(H.OO()-N)<50}; +g.C.W_=function(N,H){this.L=N;this.policy.B&&!N.playbackCookie&&this.loader.Lq("sbrnocookie",{rn:H!=null?H:-1});this.TW=(0,g.Lh)()+(N.backoffTimeMs||0)}; +g.C.n5=function(N,H){if(N.action===void 0){var c=this.wE.G$();c!==void 0&&this.loader.ke(c)}else if(N.action!==0||!this.zW)if(N.action===0&&this.policy.QH&&(N.action=2),N.NL==="sabr.malformed_config"&&this.w_++<3)this.loader.handleError("sabr.malformed_config",{action:N.action,rn:H,retry:this.w_},0);else switch(N.NL==="sabr.malformed_config"&&(N.action=2),c={},c.reason=N.NL,c.action=N.action,c.rn=H,N.action){case 1:this.policy.B&&this.C&&this.C.Uf(void 0,void 0,c);break;case 0:this.zW=!0;this.videoData.vH()&& +this.policy.B&&this.C&&this.C.Uf(void 0,void 0,c,!1);this.loader.Ks(c);break;case 2:hQw(N.NL)!=="sabr.config"&&delete c.reason;this.loader.handleError(hQw(N.NL),c,1);break;case 3:this.policy.Dt&&((N=this.GW.TW)!=null&&(N.Z=!0),this.loader.handleError("sabr.hostfallback",c))}}; +g.C.gW=function(N){N&&(this.loader.Lq("sabrctxt",{onsbrctxt:N.type,scp:N.scope,dflt:N.sendByDefault}),N.type&&N.sendByDefault&&this.videoData.gE.add(N.type),N.scope!==2&&(N.type&&this.videoData.sabrContextUpdates.set(N.type,N),this.wE.gW(N)))}; +g.C.xU=function(){}; +g.C.l3=function(N,H){if(this.loader.Dq)this.loader.Lq("sdai",{ignSabrSeek:1,smt:N==null?void 0:N.q5,rn:H});else if(N.q5!==void 0&&N.YL){H=N.q5/N.YL;this.audioTrack.Y=!1;this.videoTrack.Y=!1;if(this.policy.Us||this.policy.nO||this.policy.w4)this.loader.tY.T=!1;if(this.wE.getCurrentTime()!==H){var c={j_:"sabr_seek",hk:!0,wI:!0};N.seekSource&&(c.seekSource=N.seekSource);y8(this.loader,H+.1,c)}}}; +g.C.onSnackbarMessage=function(N){this.wE.publish("onSnackbarMessage",N)}; +g.C.FV=function(N,H){this.policy.Y&&!Fvw(this.videoData)&&this.loader.FV(N,H)}; +g.C.tH=function(N){N.Zh&&N.HA&&NO(this.GW,N.Zh,N.HA);this.policy.zT&&(N.RN&&N.oN&&(this.GW.sU=N.RN/N.oN),N.s4&&N.Ao&&(this.GW.Ot=N.s4/N.Ao));hd(this.videoData)&&!this.videoData.j$&&N.HA&&this.loader.SH(N.HA,1E3);N.ju!=null&&this.wE.zz(N.ju);N.aO&&(N=((0,g.Lh)()-N.aO)/1E3,this.loader.pS.dJ(1,N))}; +g.C.v1=function(N){this.loader.v1(N)}; +g.C.lO=function(N){return this.videoData.gE.has(N)}; +g.C.Fz=function(N,H,c){this.policy.L&&this.loader.Lq("sabrctxtplc",{start:N?N.join("_"):"",stop:H?H.join("_"):"",discard:c?c.join("_"):""});if(N){N=g.K(N);for(var t=N.next();!t.done;t=N.next())this.videoData.gE.add(t.value)}if(H)for(H=g.K(H),N=H.next();!N.done;N=H.next())N=N.value,this.videoData.gE.has(N)&&this.videoData.gE.delete(N);if(c)for(c=g.K(c),H=c.next();!H.done;H=c.next())if(H=H.value,this.videoData.sabrContextUpdates.has(H)&&this.videoData.sabrContextUpdates.delete(H),this.policy.Bp&&this.T.length)for(N= +g.K(this.T),t=N.next();!t.done;t=N.next())if(t=t.value,!(t instanceof wY)){var h=void 0;((h=t.f9)==null?void 0:h.type)===H&&(t.f9=void 0)}}; +g.C.Ab=function(){}; +g.C.fT=function(N){this.Y=N}; +g.C.Vh=function(N){this.S=N}; +g.C.Qf=function(N,H){Kd(this.policy,N,4,H)}; +g.C.s9=function(N){if(N==null?0:N.xi)if(N=N.xi.tO){N=g.K(N);for(var H=N.next();!H.done;H=N.next())if(H=H.value,H.formatId){var c=this.GW.L.get(hM(H.formatId));c&&c.info&&(c.info.debugInfo=H.debugInfo)}}}; +g.C.qV=function(N){this.Xg=!0;this.wE.publish("reloadplayer",N)}; +g.C.u2=function(){return this.wE.u2()||""}; +g.C.S5=function(){var N=jVd(this);return Math.min(N.J$,N.HP)}; +g.C.EF=function(N,H){this.loader.Lq(N,H)}; +g.C.rQ=function(N){NHl(this.loader,LVe(this.WO,N))}; +g.C.AB=function(N,H){this.videoData.AB(N,H)}; +g.C.Os=function(){g.L.prototype.Os.call(this);this.L=void 0;XYe(this,!0,"i");this.T=[]};RV.prototype.Us=function(N){B_(N.state)&&s8t(this.L)}; +RV.prototype.clear=function(){$T3(this.L);this.S.clear();this.B.clear();this.TW=this.Z=NaN;this.Y=!1}; +RV.prototype.s3=function(){this.isSeeking=!0;this.T===1&&$T3(this.L);this.T===0&&this.UI.gr("transitiondetector");this.Y=!1;this.Z=NaN;this.C=this.mL};ia.prototype.Ec=function(N,H){if(this.U)return De3(this,H);if(H=L3(N)){var c=H.T;c&&c.L&&c.T&&(N=N.B.length?N.B[0]:null)&&N.state>=2&&!N.OG()&&N.info.Io===0&&(this.U=N,this.C=c,this.B=H.info,this.Y=this.startTimeSecs=Date.now()/1E3,this.S=this.B.startTime)}return NaN}; +ia.prototype.clear=function(){this.B=this.C=this.U=null;this.T=this.S=this.Y=this.startTimeSecs=NaN;this.L=!1};g.k(ML3,g.L);ML3.prototype.Os=function(){APy(this);g.L.prototype.Os.call(this)};var O4l=/[?&]cpn=/;g.k(CE,g.L);CE.prototype.flush=function(){var N={};this.B&&(N.pe=this.B);this.T.length>0&&(N.pt=this.T.join("."));this.T=[];return N}; +CE.prototype.stop=function(){var N=this,H,c,t;return g.Y(function(h){if(h.T==1)return g.Xy(h,2),g.a(h,(H=N.U)==null?void 0:H.stop(),4);if(h.T!=2)return(c=h.B)&&N.logTrace(c),g.VI(h,0);t=g.Lq(h);N.B=zSy(t.message);g.Z3(h)})}; +CE.prototype.logTrace=function(N){this.encoder.reset();this.encoder.add(1);this.encoder.add(N.resources.length);for(var H=g.K(N.resources),c=H.next();!c.done;c=H.next()){c=c.value.replace("https://www.youtube.com/s/","");this.encoder.add(c.length);for(var t=0;t=0?N:g.cd(this.provider),this.ox?RHG.has(this.y0)&&(this.T.size||(this.y0==="PL"?N>=this.B+30:N<=this.Bp+30||N>=this.B+1200&&N<=this.Bp+86400))&&(g.Xz(this,N,"vps",[this.y0]),this.B=N):["PL","B","S"].indexOf(this.y0)>-1&&(this.T.size||N>=this.B+30)&&(g.Xz(this,N,"vps",[this.y0]),this.B=N),this.T.size)){this.sequenceNumber===7E3&&g.aS(Error("Sent over 7000 pings"));if(!(this.sequenceNumber>=7E3)){lc(this,N);var H=this.provider.wE.LV(); +H=g.K(H);for(var c=H.next();!c.done;c=H.next())c=c.value,this.Lq(c.key,c.value);H=N;c=this.provider.wE.CL();var t=c.droppedVideoFrames||0,h=c.totalVideoFrames||0,O=t-this.Fk,F=h&&!this.nU;t>c.totalVideoFrames||O>5E3?bjt(this,"html5.badframedropcount","df."+t+";tf."+c.totalVideoFrames):(O>0||F)&&g.Xz(this,H,"df",[O]);this.Fk=t;this.nU=h;this.Z>0&&(g.Xz(this,N,"glf",[this.Z]),this.Z=0);i3.isActive()&&(N=i3.Ys(),Object.keys(N).length>0&&this.Lq("profile",N));this.C4&&v4(this,"lwnmow");this.provider.j.vO()&& +this.provider.N("html5_record_now")&&this.Lq("now",{wt:(0,g.Lh)()});N={};this.provider.videoData.B&&(N.fmt=this.provider.videoData.B.itag,(H=this.provider.videoData.U)&&H.itag!==N.fmt&&(N.afmt=H.itag));N.cpn=this.provider.videoData.clientPlaybackNonce;this.adCpn&&(N.adcpn=this.adCpn);this.by&&(N.addocid=this.by);this.provider.videoData.cotn&&(N.cotn=this.provider.videoData.cotn);N.el=or(this.provider.videoData);N.content_v=SRs(this.provider.videoData);N.ns=this.provider.j.Bp;N.fexp=fhL(this.provider.j.experiments).toString(); +N.cl=(823563380).toString();(H=this.provider.videoData.adFormat||this.adFormat)&&(N.adformat=H);(H=f9(this.provider.videoData))&&(N.live=H);this.provider.videoData.f2()&&(N.drm=1,this.provider.videoData.S&&(N.drm_system=XWd[this.provider.videoData.S.flavor]||0),this.provider.videoData.drmProduct&&(N.drm_product=this.provider.videoData.drmProduct));X8()&&this.provider.videoData.Y&&(N.ctt=this.provider.videoData.Y,N.cttype=this.provider.videoData.eY,this.provider.videoData.mdxEnvironment&&(N.mdx_environment= +this.provider.videoData.mdxEnvironment));this.provider.videoData.isDaiEnabled()?(N.dai=this.provider.videoData.enableServerStitchedDai?"ss":"cs",this.provider.videoData.UJ&&(N.dai_fallback="1")):this.provider.videoData.vr?N.dai="cs":this.provider.videoData.CD&&(N.dai="disabled");N.seq=this.sequenceNumber++;if(this.provider.videoData.Rh){if(H=this.provider.videoData.Rh,N&&H)for(H.ns==="3pp"&&(N.ns="3pp"),this.Jj.has(H.ns)&&v4(this,"hbps"),H.shbpslc&&(this.serializedHouseBrandPlayerServiceLoggingContext= +H.shbpslc),this.provider.j.experiments.M4("html5_use_server_qoe_el_value")&&this.Al.delete("el"),c=g.K(Object.keys(H)),t=c.next();!t.done;t=c.next())t=t.value,this.Al.has(t)||(N[t]=H[t])}else N.event="streamingstats",N.docid=this.provider.videoData.videoId,N.ei=this.provider.videoData.eventId;this.isEmbargoed&&(N.embargoed="1");Object.assign(N,this.provider.j.T);if(H=N.seq)H={cpn:this.provider.videoData.clientPlaybackNonce,sequenceNumber:+H,serializedWatchEndpointLoggingContext:this.provider.videoData.Dn}, +this.serializedHouseBrandPlayerServiceLoggingContext&&(H.serializedHouseBrandPlayerServiceLoggingContext=m6(this.serializedHouseBrandPlayerServiceLoggingContext)||void 0),this.provider.videoData.playerResponseCpn&&(H.playerResponseCpn=this.provider.videoData.playerResponseCpn),A6.length&&(H.decoderInfo=A6),this.remoteControlMode&&(H.remoteControlMode=this.remoteControlMode),this.remoteConnectedDevices.length&&(H.remoteConnectedDevices=this.remoteConnectedDevices),H=g.ue(H,Otf),H=g.Eq(H,4),this.T.set("qclc", +[H]);N=g.Of("//"+this.provider.j.AV+"/api/stats/qoe",N);c=H="";t=g.K(this.T.entries());for(h=t.next();!h.done;h=t.next())O=g.K(h.value),h=O.next().value,O=O.next().value,F=void 0,(F=O)!=null&&F.join&&(h="&"+h+"="+O.join(","),h.length>100?c+=h:H+=h);wHl(this,N+H,c.replace(/ /g,"%20"))}this.T.clear()}}; +g.C.qY=function(N){this.C4=N}; +g.C.pT=function(){if(this.provider.videoData.S){var N=this.provider.videoData.S;v4(this,"eme-"+(N.keySystemAccess?"final":Ub(N)?"ms":hf(N)?"ytfp":CZe(N)?"safarifp":"nonfinal"))}}; +g.C.IU=h3(53);g.C.TQ=function(N){this.isEmbargoed=N}; +g.C.HN=h3(30);g.C.qp=h3(36);g.C.onPlaybackRateChange=function(N){var H=g.cd(this.provider);N&&N!==this.mz&&(g.Xz(this,H,"rate",[N]),this.mz=N);this.ox||this.reportStats(H)}; +g.C.hJ=h3(24);g.C.getPlayerState=function(N){if(g.y(N,128))return"ER";if(g.y(N,2048))return"B";if(g.y(N,512))return"SU";if(g.y(N,16)||g.y(N,32))return"S";if(N.isOrWillBePlaying()&&g.y(N,64))return"B";var H=oo5[fT(N)];g.Iy(this.provider.j)&&H==="B"&&this.provider.wE.getVisibilityState()===3&&(H="SU");H==="B"&&g.y(N,4)&&(H="PB");return H}; +g.C.bC=function(N,H){var c=g.cd(this.provider);g.Xz(this,c,"vfi",[N==="A"?"":""+(H!=null?H:0),N])}; +g.C.Os=function(){g.L.prototype.Os.call(this);g.gb(this.Us);g.gb(this.Uu)}; +g.C.Yo=function(N){this.isOffline=N;g.Xz(this,g.cd(this.provider),"is_offline",[this.isOffline?"1":"0"])}; +g.C.Lq=function(N,H,c){var t=this.AN.indexOf(N)!==-1;t||this.AN.push(N);if(!c||!t){H=typeof H!=="string"?Gu(H):H;H=n7D(H);if(!c&&!/^t[.]/.test(H)){var h=g.cd(this.provider)*1E3;H="t."+h.toFixed()+";"+H}ei(this,"ctmp",N+":"+H);k1(this);return h}}; +g.C.aG=function(N,H,c){this.S={KLp:Number(this.Lq("glrem",{nst:N.toFixed(),rem:H.toFixed(),ca:+c})),No:N,oPS:H,isAd:c}}; +g.C.WM=function(N,H,c){g.Xz(this,g.cd(this.provider),"ad_playback",[N,H,c])}; +g.C.qE=function(N,H){var c=g.cd(this.provider)*1E3;ei(this,"daism","t."+c.toFixed(0)+";smw."+(N*1E3).toFixed(0)+";smo."+(H*1E3).toFixed(0))}; +g.C.resume=function(){var N=this;isNaN(this.Us)?sXv(this):this.Us=g.Re(function(){N.reportStats()},1E4)}; +var Ct={},oo5=(Ct[5]="N",Ct[-1]="N",Ct[3]="B",Ct[0]="EN",Ct[2]="PA",Ct[1]="PL",Ct[-1E3]="ER",Ct[1E3]="N",Ct),RHG=new Set(["PL","B","S"]),A6=[];g.k(g.gL,g.L);g.C=g.gL.prototype; +g.C.initialize=function(N,H,c){N=N||0;this.policy.T||(H=fd3(this.T),b83(this.wE,new uW(H.video,H.reason)),this.wE.kh(new uW(H.audio,H.reason)));this.policy.T&&JI(this);this.GW.isManifestless&&BE3(this.Y);this.Z&&OWs(this.Z,this.videoTrack.mR);H=isNaN(this.getCurrentTime())?0:this.getCurrentTime();var t=!this.GW.isManifestless;this.policy.aT&&(t=t||this.GW.K6);if(!this.policy.gE||this.policy.Uu)this.currentTime=t?N:H;this.policy.Us&&this.seek(this.getCurrentTime(),{}).lw(function(){}); +if(this.policy.T){var h;((h=this.Bp)==null?0:kT3(h,this.u2()||""))&&dfy(this)&&Z0(this,this.videoTrack)&&Z0(this,this.audioTrack)&&(u9h(this.B,this.Bp),this.policy.S&&yqd(this))}else this.Us&&(dPw(this,this.videoTrack),dPw(this,this.audioTrack),Jmw(this.Us),delete this.Us);c?(GEy(this,!1),g.lY(this.N6)):(N=this.getCurrentTime()===0,JP(this.Y,this.videoTrack,this.videoTrack.mR,N),JP(this.Y,this.audioTrack,this.audioTrack.mR,N),this.policy.T&&B3w(this.B,{ai:1}),this.policy.Us||this.seek(this.getCurrentTime(), +{}).lw(function(){}),this.timing.tick("gv")); +(this.GW.rk||this.GW.Em||this.GW.ZG||this.GW.MJ||this.GW.Cp)&&this.wE.Cu(this.GW)}; +g.C.resume=function(){if(this.isSuspended||this.F_){this.iM=this.F_=this.isSuspended=!1;try{this.Ec()}catch(N){g.BZ(N)}}}; +g.C.vJ=function(){return!this.policy.Jj}; +g.C.LH=function(N,H){N=N===void 0?!1:N;H=H===void 0?!1:H;FOs(this);this.wE.YD()&&(this.C=NaN);N?(this.policy.Kq&&this.Lq("loader",{setsmb:1}),this.policy.Cq=!0,this.yB()):(GEy(this,!1),H||this.yB())}; +g.C.setAudioTrack=function(N,H,c){c=c===void 0?!1:c;if(!this.uo()){var t=!isNaN(H);c&&t&&(this.audioTrack.Bp=Date.now(),this.policy.LG&&(this.WO=!0));c=this.wE.YD()&&!this.wE.getVideoData().Z;if(this.policy.T){var h=this.U.oY(N.id,t);this.wE.kh(h)}else h=this.T,h.B=h.GW.T[N.id],h.C=h.B,h=new PZ(h.C,h.L,t?"t":"m"),this.wE.kh(new uW(h.audio,h.reason));t?(this.C4=Date.now(),t=this.audioTrack.mR.index.b$(H),this.Lq("setAudio",{id:N.id,cmt:H,sq:t}),t>=0&&(N=this.policy.TP?t+1:t,this.policy.T&&this.RE(!0, +"mosaic"),d3R(this.audioTrack,N,NaN,NaN),!this.policy.G7&&this.GW.isLive&&wP(this.GW,N,!1))):c||this.wE.Z7()}}; +g.C.setPlaybackRate=function(N){N!==this.TW.getPlaybackRate()&&this.TW.setPlaybackRate(N)}; +g.C.N1=function(N){var H=this.B.Y;this.B.fT(N);this.Lq("scfidc",{curr:hM(H),"new":hM(N)});N&&hM(N)!==hM(H)&&(this.RE(!0,"caption change"),this.Ec())}; +g.C.Jq=function(N){this.B.Vh(N)}; +g.C.CZ=function(N){N.T.info.ll()?this.wE.kh(N):b83(this.wE,N)}; +g.C.rQ=function(N){Ql(N.L4[N.L4.length-1])&&NHl(this,LVe(this.T,N.L4[0].mR))}; +g.C.S9=function(){return this.wE.S9()}; +g.C.xn=function(){return this.wE.xn()}; +g.C.v1=function(N){this.wE.D().vO()&&this.Lq("sps",{status:N.u3||""});if(N.u3===1)this.BF=0;else if(N.u3===2||N.u3===3){var H=!1;if(N.u3===3){var c;this.qc=(c=N.RPl)!=null?c:Infinity;this.BF+=1;(H=kg3(this))&&this.wW(!0)}this.wE.S8(!0,H)}}; +g.C.vA=function(){return this.wE.vA()}; +g.C.Z$=function(){return this.wE.Z$()}; +g.C.If=function(N){this.wE.If(N)}; +g.C.qIs=function(){var N,H=(N=this.wE.wr())==null?void 0:N.getCurrentTime();H?this.wE.Lq("rms",{cta:H}):g.lY(this.bX)}; +g.C.Ec=function(){DRL(this);if(this.Zf&&rk(this.Zf)&&!this.Zf.lq()&&(!this.policy.gE||isFinite(this.getCurrentTime()))){var N=na(this.videoTrack);N=this.policy.jAR&&N&&N.Xy();this.GW.isManifestless&&this.GW.U&&cX(this.GW)?(this.C=cX(this.GW),this.Zf.cQ(this.C)):Lg(this.GW)&&!N?isNaN(this.C)?(this.C=this.getCurrentTime()+3600,this.Zf.cQ(this.C)):this.C<=this.getCurrentTime()+1800&&(this.C=Math.max(this.C+1800,this.getCurrentTime()+3600),this.Zf.cQ(this.C)):this.Zf.isView||(N=Math.max(this.audioTrack.getDuration(), +this.videoTrack.getDuration()),(!isFinite(this.C)||this.C!==N)&&N>0&&(this.Zf.cQ(N),this.C=N))}if(!this.uo())if(Zbe(this.GW)&&this.GW.OG()){var H=this.GW;this.handleError("manifest.net.retryexhausted",H.w_?{rc:H.zE}:{rc:H.zE.toString()},1)}else if(this.policy.T)a:{try{if(zC(this)&&this.JI){var c=this.B,t=this.JI,h=t.T;if(h){var O=c.wE.G$(),F=!0;O||(O=c.loader.getCurrentTime(),F=!1);H=O;var M=F?c.wE.o7(H):H;if(c.loader.tf(M))var f=!1;else{var d={t:H.toFixed(3),isUtc:F};c:{var W=c.wE.u2();if(W){for(var z= +g.K([c.audioTrack,c.videoTrack]),E=z.next();!E.done;E=z.next()){var x=UJ(E.value.mR,c.GW.K4);O=void 0;var q=((O=h)==null?void 0:O.mw(x,W))||[];if(q.length===0||!ykt(new vx(q),M)){var r=!1;break c}}r=!0}else r=!1}if(r)c.loader.Lq("prebuffer",Object.assign(d,{inrange:1})),f=!0;else{if(GPZ(h.info)){var w;if(w=F){var n,p;w=(((n=h.info.T)==null?void 0:(p=n.JQ)==null?void 0:p.NJ)||0)===H*1E3}var U=w}else U=!F&&lC(h.info)===H*1E3;U?(c.loader.Lq("prebuffer",Object.assign(d,{match:1})),f=!0):f=!1}}if(f){c.wE.tN("ismp_c"); +c.T.push(h);var X;(X=c.NT)==null||X8y(X,h.info.JF);h.Hb();S_L(t,!1)}}}gEv(this.B);this.GW.isManifestless&&this.policy.S&&oV(this.tY);var A;((A=this.Zf)==null?0:yD(A))&&this.yv();B3w(this.B);if(zC(this)&&this.JI){var R=this.B,v=this.JI,Nf=v.B.bj;if(Nf!==void 0&&Nf>=0){R.wE.tN("ismp_a");var Fe=v.B;var tS=Fe.bj;if(tS===void 0)var jh=!1;else{var cL=Fe.tL?R.wE.o7(tS):tS,Ks;if(Ks=!R.loader.tf(cL)&&Ait(R,R.Al)){var Rl=R.wE.getCurrentTime()*1E3,Tx=MYZ(R,Rl),Fc=Tx.nN;Ks=Tx.y6>=7E3&&Fc>=7E3}jh=Ks}if(jh){var ol= +j5f(R,Fe);R.policy.xa>0&&R.Al.rg++;ol&&(v.T!==ol&&(J8R(v),v.T=ol,v.B=ZIL),R.wE.tN("ismp_rc"))}}}}catch(Q){g.aS(Q);H=Q;if(H.message.includes("changeType")){this.Lq("ctype",{exp:H.name,msg:H.message,s:H.stack});break a}this.handleError("fmt.unplayable",{exp:H.name,msg:H.message,s:H.stack,trg:"sabrslicerqt"},1)}Nul(this);g.lY(this.Al)}else if(!this.GW.B||!nRs(this.videoTrack)&&!nRs(this.audioTrack)||(this.videoTrack.U||this.audioTrack.U)&&this.policy.mG?c=!1:(this.yB(),this.wE.seekTo(Infinity,{j_:"checkLoaderTracksSync", +SH:!0}),c=!0),!c){DRL(this);this.GW.isManifestless&&(E2h(this.videoTrack),E2h(this.audioTrack),oV(this.tY),(c=L3(this.videoTrack))&&c.T&&(c=c.T.L&&!this.policy.cZ,this.Lq(c===this.policy.Z.pF?"strm":"strmbug",{strm:c,sfmp4:this.policy.Z.pF,dfs:this.policy.cZ},!0)));if(this.Zf)this.yv();else if(this.policy.U){c=!1;if(this.policy.Hw)for(t=g.K([this.videoTrack,this.audioTrack]),h=t.next();!h.done;h=t.next()){f=h.value;for(h=L3(f);h&&f.on()!==na(f);h=L3(f))f.pg(h);c=c||!!h}else(H=L3(this.videoTrack))&& +this.videoTrack.pg(H),(F=L3(this.audioTrack))&&this.audioTrack.pg(F);P5(this.videoTrack)&&P5(this.audioTrack)||(H||F||c)&&Vp(this)}qL(this);JP(this.Y,this.videoTrack,this.videoTrack.mR,!1);JP(this.Y,this.audioTrack,this.audioTrack.mR,!1);if(!this.policy.yu&&(H=this.videoTrack,t=this.audioTrack,(!this.Zf||rk(this.Zf)&&!this.policy.Qm)&&!this.tY.isSeeking()&&(this.policy.T||Fk(H)&&H.mR.g0()&&this.T.Bp)))a:{if(F=this.getCurrentTime(),c=this.TW,t=jK(c,H.mR.info.OF,t.mR.info.OF,0),h=lw(c.YG)+t/bR(c.YG), +F+=Math.max(h,h+c.policy.qm-t/H.mR.info.OF),H.B.length){if(H.B[0].info.L4[0].startTime<=F)break a;Gh(H)}c=H.L;for(t=c.B.length-1;t>=0;t--)c.B[t].info.startTime>F&&c.B.pop();nHw(H);H.T&&F5&&d.TW.shift();H=H.Y_;var W;if((W=this.wE.getVideoData())==null?0:W.enableServerStitchedDai)W=HTL(this.audioTrack,H),c=HTL(this.videoTrack,H),W!==0&&c!==0&&W!==c&&this.handleError("ssdai.avsync",{sq:H,a:W,v:c}, +0)}}; +g.C.A1=function(N,H,c,t){N.info.video&&this.L.A1(H,c,t)}; +g.C.uB=function(N){this.T.uB(N)}; +g.C.PC=h3(12);g.C.Iq=function(){if(g.y(this.wE.getPlayerState(),8)){var N,H,c=(H=(N=this.wE.wr())==null?void 0:N.getCurrentTime())!=null?H:this.wE.getCurrentTime(),t;(t=this.Xg)==null||fVZ(t,c)}var h;(h=this.Dt)==null||g.lY(h)}; +g.C.MV=function(){return this.videoTrack.Y||this.audioTrack.Y}; +g.C.seek=function(N,H){if(this.uo())return Kw();if(this.MV())return Kw("seeking to head");if(this.policy.Us&&!isFinite(N))return F5S(this.tY),g.GY(Infinity);DRL(this);Fow(this,N,!1,H.seekSource);JI(this);this.policy.T||qL(this,N);this.Zf&&this.Zf.T&&this.Zf.B&&!this.wE.getVideoData().bI&&(this.Zf.T.isLocked()||this.Zf.B.isLocked())&&this.wE.Z7({reattachOnLockedBuffer:1,vsb:""+this.Zf.B.isLocked(),asb:""+this.Zf.T.isLocked()});var c=this.getCurrentTime(),t=this.tY.seek(N,H);if(!this.policy.gE||this.policy.Uu)this.currentTime= +t;Dn(this.L,N,c,this.policy.j2&&!H.hk);Vp(this);return g.GY(t)}; +g.C.P5=function(N){return this.policy.T&&this.B.P5(N)}; +g.C.lO=function(N){return this.B.lO(N)}; +g.C.RE=function(N,H){this.B.RE(N,H)}; +g.C.getCurrentTime=function(){if(this.policy.gE){var N=this.HO()||0;return this.wE.getCurrentTime(!0)-N}return this.currentTime}; +g.C.RB=function(){return this.audioTrack.mR.info}; +g.C.tQ=function(){return this.videoTrack.mR.info}; +g.C.cA=function(){return this.audioTrack.mR.info.T0}; +g.C.fH=function(){return this.videoTrack.mR.info.T0}; +g.C.Os=function(){try{this.LH(),Gh(this.audioTrack),Gh(this.videoTrack),qI(this.audioTrack),qI(this.videoTrack),this.audioTrack.dispose(),this.videoTrack.dispose(),g.L.prototype.Os.call(this)}catch(N){g.BZ(N)}}; +g.C.handleError=function(N,H,c){c=c===void 0?0:c;var t=uO(c);N==="fmt.unplayable"&&this.GW.isLive&&(this.policy.QG=!1,Y5(this.GW));H=new g.QP(N,H,c);g.ye(this);Gu(H.details);this.wE.handleError(H);N!=="html5.invalidstate"&&H.errorCode!=="fmt.unplayable"&&N!=="fmt.unparseable"&&t&&this.dispose()}; +g.C.Q4=function(){var N=na(this.audioTrack),H=na(this.videoTrack);N={lct:this.getCurrentTime().toFixed(3),lsk:this.tY.isSeeking(),lmf:this.T.T.isLocked(),lbw:rt(this.schedule).toFixed(3),lhd:lw(this.schedule).toFixed(3),lst:((this.schedule.C.sI()||0)*1E9).toFixed(3),laa:N?N.uX():"",lva:H?H.uX():"",lar:this.audioTrack.T?this.audioTrack.T.uX():"",lvr:this.videoTrack.T?this.videoTrack.T.uX():"",laq:""+kw(this.audioTrack),lvq:""+kw(this.videoTrack)};this.Zf&&!this.Zf.wR()&&this.Zf.T&&this.Zf.B&&(N.lab= +Eo(this.Zf.T.l2()),N.lvb=Eo(this.Zf.B.l2()));this.ox&&(N.lapt=((0,g.Lh)()-this.ox).toFixed(0),N.lapr=Cvw(this));this.Kq&&(N.lapmabht=((0,g.Lh)()-this.Kq).toFixed(0),N.lapmabh=QE(this,this.audioTrack).toFixed(0));this.zW&&(N.lapmvbht=((0,g.Lh)()-this.zW).toFixed(0),N.lapmvbh=QE(this,this.videoTrack).toFixed(0));this.vp&&(N.lapsdai=((0,g.Lh)()-this.vp).toFixed(0));return N}; +g.C.yB=function(){try{this.policy.T&&this.B.RE(!1,"pending"),this.audioTrack.yB(),this.videoTrack.yB()}catch(N){g.BZ(N)}this.policy.U=""}; +g.C.tf=function(N){return this.videoTrack&&this.audioTrack?this.videoTrack.tf(N)&&this.audioTrack.tf(N):!0}; +g.C.US=function(){return Jf(this.TW)}; +g.C.Lq=function(N,H,c){this.wE.Lq(N,H,c===void 0?!1:c)}; +g.C.u2=function(){return this.wE.u2()}; +g.C.SH=function(N,H){N/=H;isNaN(this.timestampOffset)&&AJ(this,N-Math.min(N,this.policy.Gx));return(N-this.timestampOffset)*H}; +g.C.HO=function(){return this.timestampOffset}; +g.C.isSeeking=function(){return this.tY.isSeeking()}; +g.C.ge=function(){this.L.ge()}; +g.C.xN=function(N,H,c){H=H===void 0?!1:H;c=c===void 0?{}:c;this.policy.T?this.U.xN(N,H,c):this.T.xN(N,H,c)}; +g.C.gL=function(N,H){if(this.policy.B&&(this.Dq||this.isSeeking()))return this.Lq("sdai",{ignoreSkip:"1",isSkip:this.Dq,isSeek:this.isSeeking(),t:N.toFixed(3)}),!1;var c=this.policy.B&&(this.policy.Y||this.policy.KC),t=this.videoTrack.mR.index.b$(N),h=!1;if(c){var O;if(h=!((O=this.NT)==null||!O.Ya(N,t,this.timestampOffset)))if(ud(this,N,N,t),this.S){var F;(F=this.S)==null||F.Ya(N,t)}}else this.S&&(h=!!this.L.gL(N,this.S));if(!h)return this.handleError("ad.skipfailed",{dec:!!this.S,t:N.toFixed(3), +sq:t}),!1;this.policy.B&&(this.Lq("sdai",{skipAdStd:"1"}),this.Dq=!0);if(this.policy.n4){var M;(M=this.Xg)==null||M.clear()}AJ(this,this.timestampOffset-H);Vp(this);this.policy.B&&(Y5(this.GW),qI(this.audioTrack),qI(this.videoTrack),this.yB());return!0}; +g.C.getManifest=function(){return this.GW}; +g.C.isOffline=function(){return!!this.wE.getVideoData().cotn}; +g.C.u4=function(N,H){this.wE.u4(N,H)}; +g.C.lU=function(N,H){if(this.policy.T)Fow(this,N,!0,H),this.B.RE(!0,"utc"),this.Ec();else if(H=this.wE.getVideoData().fO){var c=this.Y;c.u$=N;c.fO=H;yu(this)}}; +g.C.ke=function(N){this.videoTrack.Y=!1;this.audioTrack.Y=!1;this.tY.T=!1;this.wE.ke(N)}; +g.C.d1=function(N){this.tY.d1(N-this.HO())}; +g.C.k0=function(){this.wE.k0()}; +g.C.wW=function(N){N!==this.policy.BR&&((this.policy.BR=N)||this.Ec())}; +g.C.Z7=function(N){this.wE.Z7(N)}; +g.C.qY=function(N){this.wE.qY(N)}; +g.C.N3=function(N,H,c){var t;(t=this.NT)==null||t.N3(N,H,c);this.policy.Y&&(this.B.TW=void 0,this.Ec())}; +g.C.Fq=function(N){var H;(H=this.NT)==null||H.Fq(N)}; +g.C.FV=function(N,H){if(this.policy.Y){var c,t=(c=N.QP)==null?void 0:c[0],h,O,F;this.Lq("clidai",{onqlst:1,len:((h=N.QP)==null?void 0:h.length)||0,rn:H,evt:PVv(t==null?void 0:(O=t.Rc)==null?void 0:O.event),cid:(t==null?void 0:(F=t.Rc)==null?void 0:F.identifier)||"null",sq:(t==null?void 0:t.S$)||-1,trk:(t==null?void 0:t.trackType)||"null"});var M;(M=this.NT)==null||M.FV(N,H,this.S||void 0)}}; +g.C.prefetchKeyPlay=function(N,H){var c=this;zC(this)&&(this.JI||(this.JI=new Ywf(function(t){c.wE.tN(t)}),g.l(this,this.JI)),YVD(this.JI,{bj:N, +tL:H,ai:2}),this.Ec())};g.C=g.Gp.prototype;g.C.gD=function(N,H,c,t,h,O){return this.z3.gD(N,H,c,t,h,O)}; +g.C.Uq=function(N,H,c,t,h,O){return this.z3.Uq(N,H,c,t,h,O)}; +g.C.vx=function(N){return this.z3.vx(N)}; +g.C.W3=function(N){this.z3.W3(N)}; +g.C.Uf=function(N,H,c,t){return this.z3.Uf(N,H,c,t)}; +g.C.ge=function(){this.z3.ge()}; +g.C.Ya=function(N,H){this.z3.Ya(N,H)}; +g.C.xo=function(){this.z3.xo()}; +g.C.LL=h3(56);g.C.uw=function(N,H,c){this.z3.uw(N,H,c)}; +g.C.E0=h3(59);g.C.bO=function(N,H,c,t,h,O,F,M,f){this.z3.bO(N,H,c,t,h,O,F,M,f)}; +g.C.qG=function(N){this.z3.qG(N)}; +g.C.Lp=function(N){return this.z3.Lp(N)}; +g.C.X8=function(N){return this.z3.X8(N)}; +g.C.VU=function(N){return this.z3.VU(N)};g.k(zr,g.xo);g.k(AU,zr);AU.prototype.Y=function(N,H){if(N&&H){var c=Number(mk(N,"cpi"))*1+1;isNaN(c)||c<=0||cthis.L&&(this.L=c,g.NF(this.T)||(this.T={},this.U.stop(),this.B.stop())),this.T[H]=N,g.lY(this.B))}}; +AU.prototype.S=function(){for(var N=g.K(Object.keys(this.T)),H=N.next();!H.done;H=N.next()){var c=H.value;H=this.publish;for(var t=this.L,h=g.jp(this.T[c]),O=[],F=g.K(h[6].split("&")),M=F.next();!M.done;M=F.next())M=M.value,M.indexOf("cpi=")===0?O.push("cpi="+t.toString()):M.indexOf("ek=")===0?O.push("ek="+g.mI(c)):O.push(M);h[6]="?"+O.join("&");c="skd://"+h.slice(2).join("");h=c.length*2;t=new Uint8Array(h+4);t[0]=h%256;t[1]=(h-t[0])/256;for(h=0;h0)for(var c=g.K(this.T),t=c.next();!t.done;t=c.next())if(H===t.value.info.cryptoPeriodIndex){H=!0;break a}H=!1}if(!H){H=(0,g.Lh)();a:{c=N.cryptoPeriodIndex;if(!isNaN(c)){t=g.K(this.L.values());for(var h=t.next();!h.done;h=t.next())if(Math.abs(h.value.cryptoPeriodIndex-c)<=1){c=!0;break a}}c=!1}c?(c=N.T,c=Math.max(0,Math.random()*((isNaN(c)?120:c)-30))*1E3):c=0;this.publish("log_qoe",{wvagt:"delay."+c,cpi:N.cryptoPeriodIndex,reqlen:this.T.length}); +c<=0?mDe(this,N):(this.T.push({time:H+c,info:N}),g.lY(this.B,c))}}; +Cl.prototype.Os=function(){this.T=[];zr.prototype.Os.call(this)};var l3={},Cnf=(l3.DRM_TRACK_TYPE_AUDIO="AUDIO",l3.DRM_TRACK_TYPE_SD="SD",l3.DRM_TRACK_TYPE_HD="HD",l3.DRM_TRACK_TYPE_UHD1="UHD1",l3);g.k(CDt,g.L);g.k(Urv,g.xo);g.C=Urv.prototype;g.C.Un=function(N){var H=this;if(!(this.uo()||N.size<=0)){var c={};N.forEach(function(t,h){var O=c0(H.B)?h:t;h=new Uint8Array(c0(H.B)?t:h);c0(H.B)&&vBy(h);t=g.Eq(h,4);vBy(h);h=g.Eq(h,4);H.T[t]?H.T[t].status=O:H.T[h]?H.T[h].status=O:H.T[t]={type:"",status:O};$Xd(H,H.T[t].type,c)}); +Rgh(this,",");WH(this,{onkeystatuschange:1});this.status="kc";this.publish("keystatuseschange",this)}}; +g.C.error=function(N,H,c,t){this.uo()||(this.publish("licenseerror",N,H,c,t),N==="drm.provision"&&(N=(Date.now()-this.Y)/1E3,this.Y=NaN,this.publish("ctmp","provf",{et:N.toFixed(3)})));uO(H)&&this.dispose()}; +g.C.shouldRetry=function(N,H){return!N&&this.requestNumber===H.requestNumber}; +g.C.Os=function(){this.T={};g.xo.prototype.Os.call(this)}; +g.C.Q4=function(){var N={ctype:this.Z.contentType||"",length:this.Z.initData.length,requestedKeyIds:this.ox,cryptoPeriodIndex:this.cryptoPeriodIndex};this.L&&(N.keyStatuses=this.T);return N}; +g.C.getInfo=function(){var N=this.U.join();if(iG(this)){var H=new Set,c;for(c in this.T)this.T[c].status!=="usable"&&H.add(this.T[c].type);N+="/UKS."+Array.from(H)}return N+="/"+this.cryptoPeriodIndex}; +g.C.uG=function(){return this.url};g.k(Ol,g.L);g.C=Ol.prototype;g.C.kf=function(N){if(this.S){var H=N.messageType||"license-request";this.S(new Uint8Array(N.message),H)}}; +g.C.Un=function(){this.C&&this.C(this.T.keyStatuses)}; +g.C.onClosed=function(){this.uo()||g.$b("xboxone")&&this.L&&this.L("closedShouldNotRetry")}; +g.C.aN=function(N){this.S&&this.S(N.message,"license-request")}; +g.C.qo=function(N){if(this.L){if(this.B){var H=this.B.error.code;N=this.B.error.systemCode}else H=N.errorCode,N=N.systemCode;this.L("t.prefixedKeyError;c."+H+";sc."+N,H,N)}}; +g.C.H2=function(){this.Y&&this.Y()}; +g.C.update=function(N){var H=this;if(this.T)return this.T.update(N).then(null,ZO(function(c){hpD(H,"t.update",c)})); +this.B?this.B.update(N):this.element.addKey?this.element.addKey(this.Z.keySystem,N,this.initData,this.sessionId):this.element.webkitAddKey&&this.element.webkitAddKey(this.Z.keySystem,N,this.initData,this.sessionId);return H2()}; +g.C.Os=function(){this.T&&(this.TW?this.T.close().catch(g.aS):this.T.close());this.element=null;g.L.prototype.Os.call(this)};g.k(zq,g.L);g.C=zq.prototype;g.C.setServerCertificate=function(){return this.B.setServerCertificate?this.T.flavor==="widevine"&&this.T.Qq?this.B.setServerCertificate(this.T.Qq):tW(this.T)&&this.T.Ql?this.B.setServerCertificate(this.T.Ql):null:null}; +g.C.createSession=function(N,H){var c=N.initData;if(this.T.keySystemAccess){H&&H("createsession");var t=this.B.createSession();hf(this.T)?c=IOv(c,this.T.Ql):tW(this.T)&&(c=wxL(c)||new Uint8Array(0));H&&H("genreq");N=t.generateRequest(N.contentType,c);var h=new Ol(null,null,null,t,null,this.C);N.then(function(){H&&H("genreqsuccess")},ZO(function(F){hpD(h,"t.generateRequest",F)})); +return h}if(Ub(this.T))return Dzd(this,c);if(CZe(this.T))return lRl(this,c);if((t=this.element)==null?0:t.generateKeyRequest)this.element.generateKeyRequest(this.T.keySystem,c);else{var O;(O=this.element)==null||O.webkitGenerateKeyRequest(this.T.keySystem,c)}return this.U=new Ol(this.element,this.T,c,null,null,this.C)}; +g.C.cW=function(N){var H=I9y(this,N);H&&H.aN(N)}; +g.C.pw=function(N){var H=I9y(this,N);H&&H.qo(N)}; +g.C.Nm=function(N){var H=I9y(this,N);H&&H.H2(N)}; +g.C.getMetrics=function(){var N=null;if(this.B&&this.B.getMetrics)try{N=this.B.getMetrics()}catch(H){}return N}; +g.C.Os=function(){this.L=this.B=null;var N;(N=this.U)==null||N.dispose();N=g.K(Object.values(this.Y));for(var H=N.next();!H.done;H=N.next())H.value.dispose();this.Y={};g.L.prototype.Os.call(this);delete this.element};g.C=q0.prototype;g.C.get=function(N){N=this.findIndex(N);return N!==-1?this.values[N]:null}; +g.C.remove=function(N){N=this.findIndex(N);N!==-1&&(this.keys.splice(N,1),this.values.splice(N,1))}; +g.C.removeAll=function(){this.keys=[];this.values=[]}; +g.C.set=function(N,H){var c=this.findIndex(N);c!==-1?this.values[c]=H:(this.keys.push(N),this.values.push(H))}; +g.C.findIndex=function(N){return g.iC(this.keys,function(H){return g.bo(N,H)})};g.k(CO,g.xo);g.C=CO.prototype;g.C.Brg=function(N){this.Yc({onecpt:1});N.initData&&Nyd(this,new Uint8Array(N.initData),N.initDataType)}; +g.C.tgg=function(N){this.Yc({onndky:1});Nyd(this,N.initData,N.contentType)}; +g.C.Gr=function(N){this.Yc({onneedkeyinfo:1});this.j.N("html5_eme_loader_sync")&&(this.C.get(N.initData)||this.C.set(N.initData,N));baD(this,N)}; +g.C.qS=function(N){this.L.push(N);T1(this)}; +g.C.createSession=function(N){var H=nyv(this)?trl(N):g.Eq(N.initData);this.B.get(H);this.NT=!0;N=new Urv(this.videoData,this.j,N,this.drmSessionId);this.B.set(H,N);N.subscribe("ctmp",this.CI,this);N.subscribe("keystatuseschange",this.Un,this);N.subscribe("licenseerror",this.KZ,this);N.subscribe("newlicense",this.XJ,this);N.subscribe("newsession",this.jk,this);N.subscribe("sessionready",this.B6,this);N.subscribe("fairplay_next_need_key_info",this.Zr,this);this.j.N("html5_enable_vp9_fairplay")&&N.subscribe("qualitychange", +this.Zl,this);N.subscribe("sabrlicenseconstraint",this.F7T,this);CLf(N,this.U)}; +g.C.XJ=function(N){this.uo()||(this.Yc({onnelcswhb:1}),N&&!this.heartbeatParams&&(this.heartbeatParams=N,this.publish("heartbeatparams",N)))}; +g.C.jk=function(){this.uo()||(this.Yc({newlcssn:1}),this.L.shift(),this.NT=!1,T1(this))}; +g.C.B6=function(){if(Ub(this.T)&&(this.Yc({onsnrdy:1}),this.gE--,this.gE===0)){var N=this.Bp,H,c;(H=N.element)==null||(c=H.msSetMediaKeys)==null||c.call(H,N.L)}}; +g.C.Un=function(N){if(!this.uo()){this.Cq||(this.Cq=!0,this.j.vO()&&rJ3(this));this.Yc({onksch:1});var H=this.Zl;if(!iG(N)&&g.BY&&N.B.keySystem==="com.microsoft.playready"&&navigator.requestMediaKeySystemAccess)var c="large";else{c=[];var t=!0;if(iG(N))for(var h=g.K(Object.keys(N.T)),O=h.next();!O.done;O=h.next())O=O.value,N.T[O].status==="usable"&&c.push(N.T[O].type),N.T[O].status!=="unknown"&&(t=!1);if(!iG(N)||t)c=N.U;c=$Hs(c)}H.call(this,c);if(!iG(N))for(H={},c=g.K(N.U),t=c.next();!t.done;t=c.next())$Xd(N, +t.value,H);this.videoData.authorizedFormats=N.authorizedFormats;this.publish("keystatuseschange",N)}}; +g.C.CI=function(N,H){this.uo()||this.publish("ctmp",N,H)}; +g.C.Zr=function(N,H){this.uo()||this.publish("fairplay_next_need_key_info",N,H)}; +g.C.KZ=function(N,H,c,t){this.uo()||(this.videoData.N("html5_log_drm_metrics_on_error")&&rJ3(this),this.publish("licenseerror",N,H,c,t))}; +g.C.p$=function(){return this.Z}; +g.C.Zl=function(N){var H=g.PI("auto",N,!1,"l");if(this.videoData.oI){if(this.Z.equals(H))return}else if(Ypv(this.Z,N))return;this.Z=H;this.publish("qualitychange");this.Yc({updtlq:N})}; +g.C.F7T=function(N){this.videoData.sabrLicenseConstraint=N}; +g.C.Os=function(){var N,H;this.T.keySystemAccess&&this.element&&!((N=this.mediaElement)==null?0:(H=N.wE)==null?0:H.YD())&&(this.ox?this.element.setMediaKeys(null).catch(g.aS):this.element.setMediaKeys(null));this.element=null;this.L=[];N=g.K(this.B.values());for(H=N.next();!H.done;H=N.next())H=H.value,H.unsubscribe("ctmp",this.CI,this),H.unsubscribe("keystatuseschange",this.Un,this),H.unsubscribe("licenseerror",this.KZ,this),H.unsubscribe("newlicense",this.XJ,this),H.unsubscribe("newsession",this.jk, +this),H.unsubscribe("sessionready",this.B6,this),H.unsubscribe("fairplay_next_need_key_info",this.Zr,this),this.j.N("html5_enable_vp9_fairplay")&&H.unsubscribe("qualitychange",this.Zl,this),H.dispose();this.B.clear();this.Y.removeAll();this.C.removeAll();this.heartbeatParams=null;g.xo.prototype.Os.call(this)}; +g.C.Q4=function(){for(var N={systemInfo:this.T.Q4(),sessions:[]},H=g.K(this.B.values()),c=H.next();!c.done;c=H.next())N.sessions.push(c.value.Q4());return N}; +g.C.getInfo=function(){return this.B.size<=0?"no session":""+this.B.values().next().value.getInfo()+(this.S?"/KR":"")}; +g.C.Yc=function(N,H){H=H===void 0?!1:H;this.uo()||(Gu(N),(this.j.vO()||H)&&this.publish("ctmp","drmlog",N))};var i3L=!1,jpS=!1;g.k(rO,g.L);g.C=rO.prototype;g.C.lM=function(){return!!this.O3}; +g.C.qZ=function(){return this.B}; +g.C.handleError=function(N){var H=this;AkZ(this,N);var c;if(c=!((N.errorCode==="html5.invalidstate"||N.errorCode==="fmt.unplayable"||N.errorCode==="fmt.unparseable")&&Is(this,N.errorCode,N.details)))if(c=!xuf(this,N))this.videoData.errorDetail==="7"&&g.Iy(this.Es)?(OO(this,"innertube_player_reload_required"),c=!0):c=!1,c=!c;if(c)if(this.Es.Bp!=="yt"&&emD(this,N)&&this.videoData.Bv&&(0,g.Lh)()/1E3>this.videoData.Bv&&this.Es.Bp==="hm"&&(c=Object.assign({e:N.errorCode},N.details),c.stalesigexp="1",c.expire= +this.videoData.Bv,c.init=this.videoData.j2/1E3,c.now=(0,g.Lh)()/1E3,c.systelapsed=((0,g.Lh)()-this.videoData.j2)/1E3,N=new g.QP(N.errorCode,c,2),this.wE.TU(N.errorCode,2,"SIGNATURE_EXPIRED",Gu(N.details))),uO(N.severity)){var t;c=(t=this.wE.loader)==null?void 0:t.T.T;if(this.Es.N("html5_use_network_error_code_enums"))if(och(N)&&c&&c.isLocked())var h="FORMAT_UNAVAILABLE";else if(this.Es.Y||N.errorCode!=="auth"||N.details.rc!==429)N.errorCode==="ump.spsrejectfailure"&&(h="HTML5_SPS_UMP_STATUS_REJECTED"); +else{h="TOO_MANY_REQUESTS";var O="6"}else och(N)&&c&&c.isLocked()?h="FORMAT_UNAVAILABLE":this.Es.Y||N.errorCode!=="auth"||N.details.rc!=="429"?N.errorCode==="ump.spsrejectfailure"&&(h="HTML5_SPS_UMP_STATUS_REJECTED"):(h="TOO_MANY_REQUESTS",O="6");this.wE.TU(N.errorCode,N.severity,h,Gu(N.details),O)}else this.wE.publish("nonfatalerror",N),t=/^pp/.test(this.videoData.clientPlaybackNonce),this.rr(N.errorCode,N.details),t&&N.errorCode==="manifest.net.connect"&&(N="https://www.youtube.com/generate_204?cpn="+ +this.videoData.clientPlaybackNonce+"&t="+(0,g.Lh)(),U$(N,"manifest",function(F){H.Y=!0;H.Lq("pathprobe",F)},function(F){H.rr(F.errorCode,F.details)}))}; +g.C.Lq=function(N,H){this.wE.d_.Lq(N,H)}; +g.C.rr=function(N,H){H=Gu(H);this.wE.d_.rr(N,H)};Jp.prototype.Bx=function(N){var H=jsL(this);if(!N)return{fX:wv,Ap:wv,Vk:wv,xx:wv,Oe:wv,ZE:wv,yk:H};var c=wv;if(dd(H)||this.N("html5_perf_cap_override_sticky"))c=rFs(this,N);return{fX:c,Ap:l2R(this,N),Vk:g3h(this,N),xx:fw(this,N.videoData),Oe:uU(this,N.videoData,N),ZE:EG(this,N),yk:H}}; +Jp.prototype.KL=function(N){if(g.Iy(this.j)&&k_(this.j.S,o4.HEIGHT))var H=N.T.videoInfos[0].video.qualityOrdinal;else{var c=this.vB(!!N.T.T);ix(N.videoData)||qy(N.videoData);N=N.T.videoInfos;if(N.length){var t=.85,h=N[0].video;h.projectionType!=="MESH"&&h.projectionType!=="EQUIRECTANGULAR"&&h.projectionType!=="EQUIRECTANGULAR_THREED_TOP_BOTTOM"||wg||(t=.45);h=g.Mx(this.j.experiments,"html5_viewport_undersend_maximum");for(var O=0;O=0,stateAtSend:H,joinLatencySecs:O,jsErrorCount:this.jsErrorCount,playTimeSecs:this.playTimeSecs,rebufferTimeSecs:this.rebufferTimeSecs,seekCount:this.seekCount,networkErrorCount:this.networkErrorCount,nonNetworkErrorCount:this.nonNetworkErrorCount,playerCanaryType:t,playerCanaryStage:h,isAd:this.provider.videoData.isAd(),liveMode:c,hasDrm:!!g.JA(this.provider.videoData),isGapless:this.provider.videoData.C,isServerStitchedDai:this.provider.videoData.enableServerStitchedDai, +encounteredSabrFallback:this.encounteredSabrFallback,isSabr:AC(this.provider.videoData)};N||g.uF("html5PlayerHealthEvent",H);this.L=!0;this.dispose()}}; +cV.prototype.Os=function(){this.L||this.send();window.removeEventListener("error",this.D5);window.removeEventListener("unhandledrejection",this.D5);g.L.prototype.Os.call(this)}; +var kLd=/\bnet\b/;Txs.prototype.update=function(){if(this.C){var N=this.NP()||0,H=g.cd(this.provider);N>=this.provider.wE.getDuration()-.1&&(this.previouslyEnded=!0);if(N!==this.T||nQv(this,N,H)){var c;if(!(c=NH-this.nE+2||nQv(this,N,H))){c=this.provider.wE.getVolume();var t=c!==this.TW,h=this.provider.wE.isMuted()?1:0;h!==this.Z?(this.Z=h,c=!0):(!t||this.U>=0||(this.TW=c,this.U=H),c=H-this.U,this.U>=0&&c>2?(this.U=-1,c=!0):c=!1)}c&&(BU(this),this.L=N);this.nE=H;this.T=N}}}; +Txs.prototype.NP=function(){var N=this.provider.wE.NP();return Qp(this.provider.videoData)?N+this.provider.wE.HO():N};D9.prototype.send=function(N){var H=this;if(!this.w_){var c=mI3(this),t=g.Of(this.uri,c);this.j.N("vss_through_gel_double")&&ns3(t);this.NT&&!this.j.N("html5_simplify_pings")?ycy(this,t):rdt(this,N).then(function(h){H.j.N("html5_switch_vss_to_post")&&(h=h||{},h.method="POST");H.NT&&(h=h||{},h.method="POST",h.postParams={atr:H.attestationResponse});vr(t,h,{token:H.Us,J4:H.mG,mdxEnvironment:H.mdxEnvironment},H.j,N,H.Ix,H.isFinal&&H.il||H.Cq||H.L&&H.Bd)}); +this.w_=!0}}; +D9.prototype.B=function(N){N===void 0&&(N=NaN);return Number(N.toFixed(3)).toString()}; +var Kt={},sxt=(Kt.LIVING_ROOM_APP_MODE_UNSPECIFIED=0,Kt.LIVING_ROOM_APP_MODE_MAIN=1,Kt.LIVING_ROOM_APP_MODE_KIDS=2,Kt.LIVING_ROOM_APP_MODE_MUSIC=3,Kt.LIVING_ROOM_APP_MODE_UNPLUGGED=4,Kt.LIVING_ROOM_APP_MODE_GAMING=5,Kt),gB={},vay=(gB.EMBEDDED_PLAYER_MODE_UNKNOWN=0,gB.EMBEDDED_PLAYER_MODE_DEFAULT=1,gB.EMBEDDED_PLAYER_MODE_PFP=2,gB.EMBEDDED_PLAYER_MODE_PFL=3,gB);g.k(HV,g.L);g.C=HV.prototype; +g.C.On=function(){if(!this.L){this.provider.videoData.nu===16623&&g.aS(Error("Playback for EmbedPage"));var N=pp(this,"playback");this.C=qAs(this);$Ll(this.T);N.C=hQ(this);this.B>0&&(N.T-=this.B);N.send();if(this.provider.videoData.nZ){N=this.provider.j;var H=this.provider.videoData,c={html5:"1",video_id:H.videoId,cpn:H.clientPlaybackNonce,ei:H.eventId,ptk:H.nZ,oid:H.Nk,ptchn:H.kR,pltype:H.c6,content_v:SRs(H)};H.RC&&Object.assign(c,{m:H.RC});N=g.Of(N.qf+"ptracking",c);eM(this,N)}this.provider.videoData.fE|| +(oJh(this),rmZ(this));this.L=!0;N=this.T;N.T=N.NP();N.nE=g.cd(N.provider);!(N.L===0&&N.T<5)&&N.T-N.L>2&&(N.L=N.T);N.C=!0}}; +g.C.onProgress=function(){this.T.update();OKs(this)&&(oJh(this),rmZ(this))}; +g.C.Os=function(){g.L.prototype.Os.call(this);D3(this);BYf(this.T)}; +g.C.Q4=function(){return mI3(pp(this,"playback"))}; +g.C.ER=function(N){var H=pp(this,"engage");H.ox=N;return wNy(H,vXR(this.provider))};O_t.prototype.isEmpty=function(){return this.endTime===this.startTime};MA.prototype.N=function(N){return this.j.N(N)}; +MA.prototype.getCurrentTime=function(){return this.wE.getCurrentTime()}; +MA.prototype.NP=function(){return this.wE.NP()}; +var Y6y={other:1,none:2,wifi:3,cellular:7,ethernet:30};g.k(g.tn,g.L);g.C=g.tn.prototype;g.C.On=function(){this.T&&this.T.On();this.B&&this.B.On()}; +g.C.onProgress=function(){if(this.provider.videoData.enableServerStitchedDai&&this.mL){var N;(N=this.L.get(this.mL))==null||N.onProgress()}else if(this.T)this.T.onProgress()}; +g.C.TQ=function(N){this.qoe&&this.qoe.TQ(N)}; +g.C.HN=h3(29);g.C.qp=h3(35);g.C.qE=function(N,H){this.qoe&&this.qoe.qE(N,H)}; +g.C.lY=function(){if(this.provider.videoData.enableServerStitchedDai&&this.mL){var N;(N=this.L.get(this.mL))!=null&&BU(N.T)}else this.T&&BU(this.T.T)}; +g.C.rr=function(N,H){this.qoe&&bjt(this.qoe,N,H);if(this.B)this.B.onError(N)}; +g.C.bC=function(N,H){switch(N){case "M":var c;(c=this.qoe)==null||c.bC(N,H);break;case "A":var t;(t=this.qoe)==null||t.bC(N)}}; +g.C.onPlaybackRateChange=function(N){if(this.qoe)this.qoe.onPlaybackRateChange(N);this.T&&BU(this.T.T)}; +g.C.IU=h3(52);g.C.Lq=function(N,H,c){this.qoe&&this.qoe.Lq(N,H,c)}; +g.C.aG=function(N,H,c){this.qoe&&this.qoe.aG(N,H,c)}; +g.C.zz=function(N){var H;(H=this.qoe)==null||H.zz(N)}; +g.C.Cu=function(N){var H;(H=this.qoe)==null||H.Cu(N)}; +g.C.yY=function(N,H,c,t){var h;(h=this.qoe)==null||h.yY(N,H,c,t)}; +g.C.qY=function(N){this.qoe&&this.qoe.qY(N)}; +g.C.WM=function(N,H,c){this.qoe&&this.qoe.WM(N,H,c)}; +g.C.hJ=h3(23);g.C.SK=function(){if(this.qoe)return this.qoe.SK()}; +g.C.Q4=function(){if(this.provider.videoData.enableServerStitchedDai&&this.mL){var N,H;return(H=(N=this.L.get(this.mL))==null?void 0:N.Q4())!=null?H:{}}return this.T?this.T.Q4():{}}; +g.C.eh=function(){var N;return(N=this.qoe)==null?void 0:N.eh()}; +g.C.Mu=function(N,H){var c;(c=this.qoe)==null||c.Mu(N,H)}; +g.C.ER=function(N){return this.T?this.T.ER(N):function(){}}; +g.C.getVideoData=function(){return this.provider.videoData}; +g.C.resume=function(){this.qoe&&this.qoe.resume()};g.k(g.nu,g.L);g.C=g.nu.prototype;g.C.Q0=function(N,H){this.sync();H&&this.T.array.length>=2E3&&this.mH("captions",1E4);H=this.T;if(N.length>1&&N.length>H.array.length)H.array=H.array.concat(N),H.array.sort(H.T);else{N=g.K(N);for(var c=N.next();!c.done;c=N.next())c=c.value,!H.array.length||H.T(c,H.array[H.array.length-1])>0?H.array.push(c):g.rK(H.array,c,H.T)}this.L=NaN;this.sync()}; +g.C.UN=function(N){N.length>1E4&&g.aS(new g.ti("Over 10k cueRanges removal occurs with a sample: ",N[0]));if(!this.uo()){var H=new Set(N);this.B=this.B.filter(function(c){return!H.has(c)}); +k0R(this.T,H);this.sync()}}; +g.C.VZ=function(N,H){if(!this.uo()){var c=this.Z$().find(function(t){return t.id===H&&t.namespace===N}); +c&&this.UN([c])}}; +g.C.mH=function(N,H){var c=(isNaN(this.L)?Tp3(this):this.L)-H;H=this.Z$().filter(function(t){return t.namespace===N&&t.endthis.T,O=g.y(c,8)&&g.y(c,16),F=this.wE.RA().isBackground()||c.isSuspended();Lm(this,this.Xg,O&&!F,h,"qoe.slowseek",function(){},"timeout"); +var M=isFinite(this.T);M=O&&M&&H.E4(this.T);var f=!t||Math.abs(t-this.T)>10,d=this.j.N("html5_exclude_initial_sabr_live_dvr_seek_in_watchdog"),W=t===0&&this.B&&[11,10].includes(this.B);Lm(this,this.w_,M&&f&&!F&&(!d||!W),h,"qoe.slowseek",function(){H.seekTo(N.T)},"set_cmt"); +f=M&&t1(H.Z6(),this.T);var z=this.wE.loader;M=!z||z.vJ();var E=function(){H.seekTo(N.T+.001)}; +Lm(this,this.Cq,f&&M&&!F,h,"qoe.slowseek",E,"jiggle_cmt");M=function(){return N.wE.WR()}; +Lm(this,this.Kq,f&&!F,h,"qoe.slowseek",M,"new_elem");var x=B_(c);W=c.isBuffering();var q=H.Z6(),r=O$(q,t),w=r>=0&&q.end(r)>t+5;f=x&&W&&w;d=this.wE.getVideoData();Lm(this,this.gE,t<.002&&this.T<.002&&O&&g.Iy(this.j)&&g.Yq(d)&&!F,h,"qoe.slowseek",M,"slow_seek_shorts");Lm(this,this.TW,d.Tu()&&O&&!F&&!d.Z,h,"qoe.slowseek",M,"slow_seek_gapless_shorts");Lm(this,this.Bp,f&&!F,x&&!W,"qoe.longrebuffer",E,"jiggle_cmt");Lm(this,this.Us,f&&!F,x&&!W,"qoe.longrebuffer",M,"new_elem_nnr");if(z){var n=z.getCurrentTime(); +O=H.NA();O=E5h(O,n);O=!z.isSeeking()&&t===O;Lm(this,this.C4,x&&W&&O&&!F,x&&!W&&!O,"qoe.longrebuffer",function(){H.seekTo(n)},"seek_to_loader")}O={}; +E=O$(q,Math.max(t-3.5,0));var p=E>=0&&t>q.end(E)-1.1,U=E>=0&&E+1=0&&p&&U<11;O.close2edge=p;O.gapsize=U;O.buflen=q.length;this.B&&(O.seekSour=this.B);Lm(this,this.ox,x&&W&&!F,x&&!W,"qoe.longrebuffer",function(){},"timeout",O); +O=c.isSuspended();O=this.wE.NF()&&!O;Lm(this,this.C,O,!O,"qoe.start15s",function(){N.wE.ao("ad")},"ads_preroll_timeout"); +O=this.j.experiments.M4("html5_use_playback_rate_in_skip_slow_ad")?this.wE.getPlaybackRate()*1E3:1E3;r=t-this.U5;Lm(this,this.zW,z,x&&!W,"qoe.longrebuffer",function(){N.wE.Z7()},"reset_media_source"); +Lm(this,this.vp,z,x&&!W,"qoe.longrebuffer",M,"reset_media_element");this.U===0&&(this.Y=t);z=W&&this.T===0&&t>1&&t===this.Y;Lm(this,this.Ix,g.Yq(d)&&z,x&&!W,"qoe.slowseek",function(){H.seekTo(0)},"reseek_after_time_jump"); +F=c.isOrWillBePlaying()&&!F;w=this.wE.VQ()-t<6&&!w&&this.wE.GM();Lm(this,this.Z,d.Tu()&&F&&W&&w,x&&!W,"qoe.longrebuffer",function(){N.wE.WR(!1,!0)},"handoff_end_long_buffer_reload"); +F=this.B===104||this.wE.q$;c=Vz(d)&&d.isAd()&&!d.Z&&F&&(W||g.y(c,8)&&g.y(c,16));Lm(this,this.Al,c,h,"qoe.start15s",M,"gapless_ad_slow_start");c=Vz(d)&&!d.Z&&F&&f;Lm(this,this.UF,c,h,"qoe.longrebuffer",M,"gapless_slow_start");this.U=t;this.S.start()}}; +DC.prototype.rr=function(N,H,c){H=this.Q4(H);H.wn=c;H.wdup=this.L[N]?"1":"0";this.wE.rr(new g.QP(N,H));this.L[N]=!0}; +DC.prototype.Q4=function(N){N=Object.assign(this.wE.Q4(!0),N.Q4());this.T&&(N.stt=this.T.toFixed(3));this.wE.getVideoData().isLivePlayback&&(N.ct=this.wE.getCurrentTime().toFixed(3),N.to=this.wE.HO().toFixed(3));delete N.uga;delete N.euri;delete N.referrer;delete N.fexp;delete N.vm;return N}; +bn.prototype.reset=function(){this.T=this.B=this.L=this.startTimestamp=0;this.U=!1}; +bn.prototype.test=function(N){if(!this.S||this.B)return!1;if(!N)return this.reset(),!1;N=(0,g.Lh)();if(!this.startTimestamp)this.startTimestamp=N,this.L=0;else if(this.L>=this.S)return this.B=N,!0;this.L+=1;return!1}; +bn.prototype.Q4=function(){var N={},H=(0,g.Lh)();this.startTimestamp&&(N.wsd=(H-this.startTimestamp).toFixed());this.B&&(N.wtd=(H-this.B).toFixed());this.T&&(N.wssd=(H-this.T).toFixed());return N};g.k(uc,g.L);g.C=uc.prototype;g.C.setMediaElement=function(N){(this.mediaElement=N)?(this.mediaElement&&(this.S||this.L||!this.mediaElement.yK()||this.seekTo(.01,{j_:"seektimeline_setupMediaElement"})),yk(this)):dY(this)}; +g.C.getCurrentTime=function(N){N=N===void 0?!1:N;if(J3(this.wE)){if(this.N("html5_use_centralized_player_time")&&!N&&!isNaN(this.Y))return this.Y;if(!isNaN(this.B))return this.B}else{if(this.N("html5_use_centralized_player_time")&&!N&&!isNaN(this.Y)&&isFinite(this.Y))return this.Y;if(!isNaN(this.B)&&isFinite(this.B))return this.B}return this.mediaElement&&qEw(this)?this.mediaElement.getCurrentTime()+this.timestampOffset:this.L||0}; +g.C.G$=function(){return this.w_}; +g.C.NP=function(){return this.getCurrentTime()-this.HO()}; +g.C.e$=function(){return this.T?this.T.e$():Infinity}; +g.C.isAtLiveHead=function(N){if(!this.T)return!1;N===void 0&&(N=this.getCurrentTime());return zf(this.T,N)}; +g.C.xS=function(){return!!this.T&&this.T.xS()}; +g.C.seekTo=function(N,H){var c=H===void 0?{}:H;H=c.jm===void 0?!1:c.jm;var t=c.uV===void 0?0:c.uV;var h=c.K$===void 0?!1:c.K$;var O=c.Na===void 0?0:c.Na;var F=c.j_===void 0?"":c.j_;var M=c.seekSource===void 0?void 0:c.seekSource;var f=c.SH===void 0?!1:c.SH;var d=c.hk===void 0?!1:c.hk;c=c.wI===void 0?!1:c.wI;f&&(N+=this.HO());AC(this.videoData)&&M===29&&(this.w_=void 0);f=N=this.L6())||!g.z7(this.videoData),r||(w={st:w,mst:this.L6()},this.T&&this.N("html5_high_res_seek_logging")&&(w.ht=this.T.e$(),w.adft=bC(this.T)),this.wE.Lq("seeknotallowed",w)),w=r));if(!w)return this.U&&(this.U=null,H5(this)),g.GY(this.getCurrentTime());w=.005;d&&this.N("html5_sabr_seek_no_shift_tolerance")&&(w=0);if(Math.abs(N-this.B)<=w&&this.Ix)return this.S;F&&(w=N,this.j.vO()||this.N("html5_log_seek_reasons"))&& +(F={reason:F,tgt:w},this.N("html5_sabr_csdai_seek_log")&&(F.source=M),this.wE.Lq("seekreason",F));M&&(this.Bp.B=M);this.Ix&&dY(this);this.S||(this.S=new M9);N&&!isFinite(N)&&rY(this,!1);(F=c||f)||(F=N,F=!(this.videoData.isLivePlayback&&this.videoData.L&&!this.videoData.L.T&&!(this.mediaElement&&this.mediaElement.gJ()>0&&this.mediaElement.Ts()>0)||WK(this.videoData)&&this.T7()===this.L6(!1)?0:isFinite(F)||!WK(this.videoData)));F||(N=sT(this,N,h));N&&!isFinite(N)&&rY(this,!1);this.N("html5_use_centralized_player_time")? +this.Y=N:this.B=this.L=N;this.vp=O;this.C=0;this.T&&(h=this.T,O=N,Hqe(h,O,!1),DSf(h,O));h=this.wE;O=N;F={jm:H,seekSource:M};h.e_.L=O;c=h.oX;c.mediaTime=O;c.T=!0;F.jm&&h.Vq(F);F=O>h.videoData.endSeconds&&O>h.videoData.limitedPlaybackDurationInSeconds;h.lJ&&F&&isFinite(O)&&Yk(h);OH.start&&Yk(this.wE);return this.S}; +g.C.L6=function(N){if(!this.videoData.isLivePlayback)return this.wE.videoData.L6();var H;return gz(this.videoData)&&((H=this.mediaElement)==null?0:H.isPaused())&&this.videoData.T?(N=this.getCurrentTime(),Cmf(this.kH(N)*1E3)+N):this.N("html5_sabr_parse_live_metadata_playback_boundaries")&&AC(this.videoData)&&this.videoData.T?N?this.videoData.T.ox||0:this.videoData.T.Ot||0:WK(this.videoData)&&this.videoData.j$&&this.videoData.T?this.videoData.T.L6()+this.timestampOffset:this.videoData.L&&this.videoData.L.T? +!N&&this.T?this.T.e$():this.wE.videoData.L6()+this.timestampOffset:this.mediaElement?S3()?Cmf(this.mediaElement.uI().getTime()):this.mediaElement.Ts()+this.timestampOffset||this.timestampOffset:this.timestampOffset}; +g.C.T7=function(){if(this.N("html5_sabr_parse_live_metadata_playback_boundaries")&&AC(this.videoData)){var N;return((N=this.videoData.T)==null?void 0:N.sU)||0}N=this.videoData?this.videoData.T7()+this.timestampOffset:this.timestampOffset;if(gz(this.videoData)&&this.videoData.T){var H,c=Number((H=this.videoData.progressBarStartPosition)==null?void 0:H.utcTimeMillis)/1E3;if(!isNaN(c)&&(H=this.o7(c),!isNaN(H)))return Math.max(N,H)}return N}; +g.C.xp=function(){this.S||this.seekTo(this.L,{j_:"seektimeline_forceResumeTime_singleMediaSourceTransition",seekSource:15})}; +g.C.MV=function(){return this.Ix&&!isFinite(this.B)}; +g.C.Os=function(){S$(this,null);this.Bp.dispose();g.L.prototype.Os.call(this)}; +g.C.Q4=function(){var N={};this.loader&&Object.assign(N,this.loader.Q4());this.mediaElement&&Object.assign(N,this.mediaElement.Q4());return N}; +g.C.EX=function(N){this.timestampOffset=N}; +g.C.getStreamTimeOffset=function(){return WK(this.videoData)?0:this.videoData.T?this.videoData.T.getStreamTimeOffset():0}; +g.C.HO=function(){return this.timestampOffset}; +g.C.kH=function(N){return this.videoData&&this.videoData.T?this.videoData.T.kH(N-this.timestampOffset):NaN}; +g.C.K1=function(){if(!this.mediaElement)return 0;if(hd(this.videoData)){var N=this.mediaElement.AO()+this.timestampOffset-this.T7(),H=this.L6()-this.T7();return Math.max(0,Math.min(1,N/H))}return this.mediaElement.K1()}; +g.C.kh=function(N){this.Z&&(this.Z.T=N)}; +g.C.lU=function(N,H,c){this.wE.Lq("requestUtcSeek",{time:N});AC(this.videoData)&&(this.w_=N);var t;(t=this.loader)==null||t.lU(N,c);H&&(this.NT=H)}; +g.C.ke=function(N){AC(this.videoData)&&(this.w_=void 0);this.NT?(this.wE.Lq("utcSeekingFallback",{source:"streamTime",timeSeconds:this.NT}),this.wE.seekTo(this.NT,{j_:"utcSeekingFallback_streamTime"}),this.NT=0):(N=this.o7(N),isNaN(N)||(this.wE.Lq("utcSeekingFallback",{source:"estimate",timeSeconds:N}),this.wE.seekTo(N,{j_:"utcSeekingFallback_estimate"})))}; +g.C.k0=function(){this.NT=0}; +g.C.o7=function(N){var H=this.getCurrentTime();if(isNaN(H))return NaN;var c=this.kH(H);return isNaN(c)?NaN:N-(c-H)}; +g.C.N=function(N){return this.j&&this.j.N(N)};g.k(mP,g.L);mP.prototype.start=function(){this.B.start()}; +mP.prototype.stop=function(){this.B.stop()}; +mP.prototype.clear=function(){for(var N=g.K(this.T.values()),H=N.next();!H.done;H=N.next())H.value.clear()}; +mP.prototype.sample=function(){for(var N=g.K(this.L),H=N.next();!H.done;H=N.next()){var c=g.K(H.value);H=c.next().value;c=c.next().value;this.T.has(H)||this.T.set(H,new N2D(I8d.has(H)));this.T.get(H).update(c())}this.B.start()}; +var I8d=new Set(["networkactivity"]);N2D.prototype.update=function(N){this.B?(this.buffer.add(N-this.T||0),this.T=N):this.buffer.add(N)}; +N2D.prototype.clear=function(){this.buffer.clear();this.T=0};Cu.prototype.Tr=function(){return this.started}; +Cu.prototype.start=function(){this.started=!0}; +Cu.prototype.reset=function(){this.finished=this.started=!1};var WLt=!1;g.k(g.Xm,g.xo);g.C=g.Xm.prototype;g.C.Os=function(){g.gb(this.LM);tmZ(this.pG);this.visibility.unsubscribe("visibilitystatechange",this.pG);mdv(this.d_);g.ez(this.d_);x0(this);g.jO.k8(this.eR);this.kA();this.S7=null;g.ez(this.videoData);g.ez(this.T4);g.ez(this.Ns);g.ez(this.gP);g.an(this.JNo);this.lJ=null;g.xo.prototype.Os.call(this)}; +g.C.WM=function(N,H,c,t,h){if(this.j.N("html5_log_ad_playback_docid")){var O=this.d_;if(O.qoe){O=O.qoe;var F=this.j.Bp||"yt";g.Xz(O,g.cd(O.provider),"ad_playback",[N,H,c,h,F])}}else this.d_.WM(N,H,c);this.N("html5_log_media_perf_info")&&this.Lq("adloudness",{ld:t.toFixed(3),cpn:N})}; +g.C.cA=function(){var N;return(N=this.loader)==null?void 0:N.cA()}; +g.C.fH=function(){var N;return(N=this.loader)==null?void 0:N.fH()}; +g.C.tQ=function(){var N;return(N=this.loader)==null?void 0:N.tQ()}; +g.C.RB=function(){var N;return(N=this.loader)==null?void 0:N.RB()}; +g.C.f2=function(){return this.videoData.f2()}; +g.C.YD=function(){return this.N("html5_not_reset_media_source")&&this.videoData.isLivePlayback}; +g.C.Y1=function(){this.videoData.C&&(this.videoData.M0=this.videoData.M0||this.VR.x_().cA(),this.videoData.wH=this.videoData.wH||this.VR.x_().fH());if(BeD(this.videoData)||!bH(this.videoData)){var N=this.videoData.errorDetail;this.TU(this.videoData.errorCode||"auth",2,unescape(this.videoData.errorReason),N,N,this.videoData.iW||void 0)}this.N("html5_generate_content_po_token")&&this.oM();this.N("html5_enable_d6de4")&&this.d6()}; +g.C.getVideoData=function(){return this.videoData}; +g.C.D=function(){return this.j}; +g.C.Bx=function(){return this.OV.Bx(this.S7)}; +g.C.RA=function(){return this.visibility}; +g.C.z$=function(){return this.mediaElement&&this.mediaElement.X5()?this.mediaElement.N4():null}; +g.C.wr=function(){return this.mediaElement}; +g.C.Tm=function(){if(this.videoData.errorCode)return!1;this.D().Y&&this.D().houseBrandUserStatus&&this.Lq("hbut",{status:this.D().houseBrandUserStatus},!0);if(this.videoData.DI())return!0;this.TU("api.invalidparam",2,void 0,"invalidVideodata.1");return!1}; +g.C.gb=function(N){(N=N===void 0?!1:N)||KXL(this.d_);this.ME=N;!this.Tm()||this.iU.Tr()?mm(this)&&this.iU.Tr()&&!this.iU.finished&&!this.ME&&this.qs():(this.iU.start(),N=this.d_,g.cd(N.provider),N.qoe&&sXv(N.qoe),this.qs())}; +g.C.qs=function(){if(this.videoData.isLoaded()){var N=this.T4;g.Mx(N.Es.experiments,"html5_player_min_build_cl")>0&&g.Mx(N.Es.experiments,"html5_player_min_build_cl")>823563380&&OO(N,"oldplayer");p8v(this)}else this.videoData.qc||this.videoData.BR?this.ME&&mm(this)||(this.videoData.qc?naR(this.videoData):(N=this.d_,N.qoe&&(N=N.qoe,v4(N,"protected"),N.provider.videoData.S?N.pT():N.provider.videoData.subscribe("dataloaded",N.pT,N)),BBs(this.videoData))):!this.videoData.loading&&this.Rq&&lGv(this)}; +g.C.BP=function(N){this.z3=N;this.loader&&(ssl(this.loader,new g.Gp(N)),this.Lq("sdai",{sdsstm:1}))}; +g.C.N3=function(N,H,c){var t;(t=this.loader)==null||t.N3(N,H,c)}; +g.C.Fq=function(N){var H;(H=this.loader)==null||H.Fq(N)}; +g.C.R7=h3(8);g.C.isFullscreen=function(){return this.visibility.isFullscreen()}; +g.C.isBackground=function(){return this.visibility.isBackground()}; +g.C.Fm=function(){var N=this;P1(this).then(function(){return lP(N)}); +this.playerState.isOrWillBePlaying()&&this.playVideo()}; +g.C.GF=function(){this.mediaElement&&this.mediaElement.activate();this.gb();this.Tm()&&!g.y(this.playerState,128)&&(this.BM.Tr()||(this.BM.start(),this.videoData.TE?this.RD(po(this.playerState,4)):this.RD(po(po(this.playerState,8),1))),VEy(this))}; +g.C.XC=function(){return this.iU.finished}; +g.C.sendAbandonmentPing=function(){g.y(this.getPlayerState(),128)||(this.publish("internalAbandon"),this.F$(!0),mdv(this.d_),g.ez(this.d_),g.jO.k8(this.eR))}; +g.C.sJ=function(N,H,c){N=N===void 0?!0:N;(H===void 0||H)&&this.mediaElement&&this.mediaElement.pause();N&&c&&this.loader&&WK(this.videoData)&&this.loader.yY(c);this.RD(N?new g.Nb(14):new g.Nb)}; +g.C.e4=function(){this.d_.lY()}; +g.C.TU=function(N,H,c,t,h,O){var F,M;g.cc(TGc,c)?F=c:c?M=c:F="GENERIC_WITHOUT_LINK";t=(t||"")+(";a6s."+rC());if(N==="auth"||N==="drm.auth"||N==="heartbeat.stop")c&&(t+=";r."+c.replaceAll(" ","_")),O&&(t+="sr."+O.replaceAll(" ","_"));H={errorCode:N,errorDetail:h,errorMessage:M||g.Ht[F]||"",Z9:F,iW:O||"",pM:t,JP:H,cpn:this.videoData.clientPlaybackNonce};this.videoData.errorCode=N;a9(this,"dataloaderror");this.RD(U3(this.playerState,128,H));g.jO.k8(this.eR);x0(this);this.LJ()}; +g.C.ao=function(N){this.Tk=this.Tk.filter(function(H){return N!==H}); +this.BM.Tr()&&VEy(this)}; +g.C.hU=function(){var N;(N=!!this.Tk.length)||(N=this.UI.T.array[0],N=!!N&&N.start<=-0x8000000000000);return N}; +g.C.xS=function(){return this.e_.xS()}; +g.C.isPlaying=function(){return this.playerState.isPlaying()}; +g.C.AA=function(){return this.playerState.AA()&&this.videoData.TE}; +g.C.getPlayerState=function(){return this.playerState}; +g.C.N1=function(N){var H;(H=this.loader)==null||H.N1(N)}; +g.C.Jq=function(N){var H;(H=this.loader)==null||H.Jq(N)}; +g.C.getPlayerType=function(){return this.playerType}; +g.C.getPreferredQuality=function(){if(this.S7){var N=this.S7;N=N.videoData.a9.compose(N.videoData.H9);N=Su(N)}else N="auto";return N}; +g.C.Vw=h3(16);g.C.isGapless=function(){return!!this.mediaElement&&this.mediaElement.isView()}; +g.C.setMediaElement=function(N){if(this.mediaElement&&N.N4()===this.mediaElement.N4()&&(N.isView()||this.mediaElement.isView())){if(N.isView()||!this.mediaElement.isView())this.wc(),this.mediaElement=N,this.mediaElement.LQ(this),gcs(this),this.e_.setMediaElement(this.mediaElement)}else{this.mediaElement&&this.kA();if(!this.playerState.isError()){var H=Xt(this.playerState,512);g.y(H,8)&&!g.y(H,2)&&(H=po(H,1));N.isView()&&(H=Xt(H,64));this.RD(H)}this.mediaElement=N;this.mediaElement.LQ(this);!g.Iy(this.j)&& +this.mediaElement.setLoop(this.loop);this.mediaElement.setPlaybackRate(this.playbackRate);gcs(this);this.e_.setMediaElement(this.mediaElement);this.N("html5_prewarm_media_source")&&!this.T4.lM()&&this.mediaElement.mC()}}; +g.C.kA=function(N,H,c){N=N===void 0?!1:N;H=H===void 0?!1:H;c=c===void 0?!1:c;if(this.mediaElement){var t=this.getCurrentTime();t>0&&(this.e_.L=t);this.e_.setMediaElement(null);!N&&this.YD()?w03(this):this.md(c);this.loader&&(Vp(this.loader),wL(this,H));this.QE.stop();if(this.mediaElement&&(!this.BM.Tr()&&!this.NF()||this.playerState.isError()||g.y(this.playerState,2)||this.RD(po(this.playerState,512)),this.mediaElement)){this.wc();if(N||!this.mediaElement.isView())this.f4.Yt("mesv_s"),this.mediaElement.stopVideo(), +qM(this);this.mediaElement.LQ(null);this.mediaElement=null}}}; +g.C.playVideo=function(N,H){N=N===void 0?!1:N;H=H===void 0?!1:H;var c=this,t,h,O,F,M,f;return g.Y(function(d){if(d.T==1){var W=window.google_image_requests;W&&W.length>10&&(window.google_image_requests=W.slice(-10));if(g.y(c.playerState,128))return d.return();if(c.T4.qZ())return c.publish("signatureexpired"),d.return();c.mediaElement&&KXL(c.d_);c.GF();(g.y(c.playerState,64)||N)&&c.RD(po(c.playerState,8));return c.BM.finished&&c.mediaElement?c.S7||!c.Lu?d.rE(2):g.a(d,c.Lu,3):d.return()}if(d.T!=2&& +g.y(c.playerState,128))return d.return();if(!c.videoData.L)return c.videoData.isLivePlayback&&!g.bm(c.j.S,!0)?(t="html5.unsupportedlive",h=2):(t=c.videoData.f2()?"fmt.unplayable":"fmt.noneavailable",h=1),g.aS(Error("selectableFormats")),c.TU(t,h,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK","trg.selectableFormats"),d.return();if(c.Mp()&&c.videoData.L.T)return d.return(P1(c));if(J3(c))W=c.e_,BJ(W.videoData)&&!W.isAtLiveHead(W.getCurrentTime())&&W.xS()&&W.wE.seekTo(Infinity,{j_:"seektimeline_peggedToLive", +seekSource:34});else if(BJ(c.videoData)&&(O=c.getCurrentTime()F;if(!M||!F){h&&M&&(O=Math.max(O,h));var f;h=zv(H,(f=t.T)==null?void 0:f.videoInfos);f=H.wE.getPlaybackRate();f>1&&h&&(f=jFZ(H.j.S,t.T.videoInfos,f),N.T!==0&&f=480;if(H.N("html5_perf_cap_override_sticky")){d=H.L;H=H.N("html5_perserve_av1_perf_cap");H=H===void 0?!1:H;if(H===void 0?0:H){W=Fh();N=g.K(Object.keys(W));for(O=N.next();!O.done;O=N.next())O=O.value,O.indexOf("1")!==0&&delete W[O];g.h9("yt-player-performance-cap",W,2592E3)}else g.FB("yt-player-performance-cap");sZw(H);if(H){H=g.K(sG.keys());for(W=H.next();!W.done;W=H.next())W=W.value,W.startsWith("1")|| +sG.delete(W);H=g.K(Tq.values());for(W=H.next();!W.done;W=H.next())W=W.value,W.startsWith("1")||Tq.delete(W);H=g.K(d.keys());for(W=H.next();!W.done;W=H.next())W=W.value,W.startsWith("1")||d.delete(W)}else sG.clear(),Tq.clear(),d.clear()}}}}this.loader&&(H=this.loader,c=c||"",H.policy.T?e$(H.U.T,c):e$(H.T.S,c));this.v_()}; +g.C.getUserPlaybackQualityPreference=function(){return this.videoData.L&&!this.videoData.L.T?Su(this.videoData.a9):n9[SW()]}; +g.C.hasSupportedAudio51Tracks=function(){return this.videoData.hasSupportedAudio51Tracks()}; +g.C.setUserAudio51Preference=function(N,H){this.getUserAudio51Preference()!==N&&(this.Lq("toggle51",{pref:N}),g.h9("yt-player-audio51",N,H?31536E3:2592E3),this.Fm())}; +g.C.getUserAudio51Preference=function(){return this.videoData.getUserAudio51Preference()}; +g.C.setProximaLatencyPreference=function(N){var H=this.getProximaLatencyPreference();this.Lq("proxima",{pref:N});g.h9("yt-player-proxima-pref",N,31536E3);H!==N&&(N=this.e_,N.Al=!0,N.wE.seekTo(Infinity,{j_:"seektimeline_proximaSeekToHead",seekSource:34}))}; +g.C.getProximaLatencyPreference=function(){var N;return(N=rf())!=null?N:0}; +g.C.isProximaLatencyEligible=function(){return this.videoData.isProximaLatencyEligible}; +g.C.oM=function(){this.videoData.videoId?this.VR.oM(this.videoData):this.Lq("povid",{})}; +g.C.d6=function(){this.videoData.videoId?this.VR.d6(this.videoData):this.Lq("piavid",{})}; +g.C.v_=function(){if(!this.uo()&&!g.y(this.playerState,128)&&this.videoData.L){if(this.videoData.L.T)Ku(this);else{var N=rL(this),H=this.videoData;a:{var c=this.videoData.UF;if(N.T){for(var t=g.K(c),h=t.next();!h.done;h=t.next()){h=h.value;var O=h.getInfo(),F=g.fi[O.video.quality];if((!N.L||O.video.quality!=="auto")&&F<=N.T){c=h;break a}}c=c[c.length-1]}else c=c[0]}H.Ix=c;kiv(this,N.reason,Vi3(this,this.videoData.Ix))}if(this.N("html5_check_unstarted")?this.playerState.isOrWillBePlaying():this.isPlaying())this.e_.TW= +!1,this.playVideo()}}; +g.C.RM=function(N,H){if(this.uo()||g.y(this.playerState,128))return!1;var c,t=!((c=this.videoData.L)==null||!c.T);c=t&&H?this.getCurrentTime()-this.HO():NaN;if(N.X3&&N.X3.id){var h=this.d_;if(h.qoe){h=h.qoe;var O=[N.X3.id,isNaN(c)?"m":"t"];g.Xz(h,g.cd(h.provider),"afi",O)}}if(t)return H&&(t=Qk(this.e_),this.Lq("aswh",{id:N.id,xtags:N.xtags,bh:t.toFixed(3)})),this.loader.setAudioTrack(N,c,H),!0;if(k4y(this)){a:{H=this.mediaElement.audioTracks();for(t=0;tO.Zf.getDuration()&&g8h(O,F)):g8h(O,d);var W=O.loader,z=O.Zf;M=M===void 0?!1:M;f=f===void 0?!1:f;W.policy.Cq&&(W.policy.Kq&&W.Lq("loader",{setsmb:0}),W.yB(),W.policy.Cq=!1);FOs(W,f);if(!yD(z)){var E=L3(W.videoTrack),x=L3(W.audioTrack),q=(E?E.info.mR:W.videoTrack.mR).info,r=(x?x.info.mR:W.audioTrack.mR).info,w=W.policy.u1, +n=q.mimeType+(w===void 0?"":w),p=r.mimeType,U=q.T0,X=r.T0,A;z.Bp=(A=z.Zf)==null?void 0:A.addSourceBuffer(p);var R;z.Us=n.split(";")[0]==="fakesb"?void 0:(R=z.Zf)==null?void 0:R.addSourceBuffer(n);z.YP&&(z.YP.webkitSourceAddId("0",p),z.YP.webkitSourceAddId("1",n));var v=new Ml(z.Bp,z.YP,"0",ZH(p),X,!1),Nf=new Ml(z.Us,z.YP,"1",ZH(n),U,!0);oFL(z,v,Nf)}E=M;x=f;E=E===void 0?!1:E;x=x===void 0?!1:x;wC(W.videoTrack,z.B||null,x);wC(W.audioTrack,z.T||null,x);W.Zf=z;W.Zf.S=!0;E||W.resume();z.T.Cm(W.w_,W);z.B.Cm(W.w_, +W);try{W.Ec()}catch(Fe){g.BZ(Fe)}O.publish("mediasourceattached")}}catch(Fe){g.aS(Fe),O.handleError(new g.QP("fmt.unplayable",{msi:"1",ename:Fe&&typeof Fe==="object"&&"name"in Fe?String(Fe.name):void 0,trg:"setmediasrc"},1))}} +var O=this;H=H===void 0?!1:H;c=c===void 0?!1:c;YKR(this,t===void 0?!1:t);this.Zf=N;this.YD()&&rd(this.Zf)==="open"?h(this.Zf):bFR(this.Zf,h)}; +g.C.Gr=function(N){this.HD.set(N.initData,N);this.M2&&(this.M2.Gr(N),this.N("html5_eme_loader_sync")||this.HD.remove(N.initData))}; +g.C.If=function(N){this.videoData.y5=g.PI("auto",N,!1,"u");Ku(this)}; +g.C.kh=function(N){var H=N.reason,c=N.T.info,t=N.token,h=N.videoId,O=this.d_,F=this.videoData;if(c!==F.U){var M=!F.U;F.U=c;H!=="m"&&H!=="t"&&(H=M?"i":"a");var f=H==="m"||H==="t";this.j.experiments.M4("html5_refactor_sabr_audio_format_selection_logging")?this.IK=new oxe(F,c,H,"",t,h):(H=new oxe(F,c,H,"",t),O.qoe&&(O=O.qoe,c=g.cd(O.provider),jGL(O,c,H)));this.publish("internalaudioformatchange",F,!M&&f)}this.e_.kh(N.T.index)}; +g.C.f0=function(N){this.publish("localmediachange",N)}; +g.C.xN=function(N){N=N===void 0?{}:N;var H;(H=this.loader)==null||H.xN(this.j,lx(this.videoData),N)}; +g.C.qZ=function(){return this.T4.qZ()}; +g.C.uA=function(N){this.rr(new g.QP("staleconfig",{reason:N}))}; +g.C.handleError=function(N){this.T4.handleError(N)}; +g.C.lM=function(){return this.T4.lM()}; +g.C.ke=function(N){this.e_.ke(N)}; +g.C.WR=function(N,H){N=N===void 0?!1:N;H=H===void 0?!1:H;var c=this,t,h,O;return g.Y(function(F){if(F.T==1){c.loader&&c.loader.ge();c.loader&&c.loader.uo()&&x0(c);if(c.N("html5_enable_vp9_fairplay")&&c.f2()&&(t=c.videoData.T)!=null)for(var M in t.T)t.T.hasOwnProperty(M)&&(t.T[M].T=null,t.T[M].L=!1);c.RD(po(c.playerState,2048));c.publish("newelementrequired");return N?g.a(F,P1(c),2):F.rE(2)}c.videoData.K4()&&((h=c.loader)==null?0:h.Ix)&&!J3(c)&&((O=c.isAtLiveHead())&&BJ(c.videoData)?c.seekTo(Infinity, +{j_:"videoPlayer_getNewElement"}):c.videoData.K6&&c.loader&&(M=c.loader,M.GW.K4&&(M.GW.K6||M.GW.U||M.GW.isPremiere?(M.seek(0,{j_:"loader_resetSqless"}),M.videoTrack.Y=!0,M.audioTrack.Y=!0,M.videoTrack.U=!0,M.audioTrack.U=!0):Lg(M.GW)&&yu(M))));H&&c.seekTo(0,{seekSource:105});g.y(c.playerState,8)&&c.playVideo();g.Z3(F)})}; +g.C.f$=function(N){this.Lq("hgte",{ne:+N});this.videoData.C=!1;N&&this.WR();this.loader&&Wnv(this.loader)}; +g.C.oz=function(N){this.Lq("newelem",{r:N});this.WR()}; +g.C.pauseVideo=function(N){N=N===void 0?!1:N;if((g.y(this.playerState,64)||g.y(this.playerState,2))&&!N)if(g.y(this.playerState,8))this.RD(AP(this.playerState,4,8));else if(this.AA())lP(this);else return;g.y(this.playerState,128)||(N?this.RD(po(this.playerState,256)):this.RD(AP(this.playerState,4,8)));this.mediaElement&&this.mediaElement.pause();g.z7(this.videoData)&&this.loader&&wL(this,!1)}; +g.C.stopVideo=function(){this.pauseVideo();this.loader&&(wL(this,!1),this.loader.yB())}; +g.C.LJ=function(N,H){N=N===void 0?!1:N;H=H===void 0?!1:H;if(this.YD()&&H){var c;(c=this.mediaElement)==null||c.LJ()}else{var t;(t=this.mediaElement)==null||t.stopVideo()}qM(this);x0(this);g.y(this.playerState,128)||(N?this.RD(Xt(Xt(po(this.playerState,4),8),16)):this.RD(U3(this.playerState)));this.videoData.videoId&&this.j.gE.remove(this.videoData.videoId)}; +g.C.seekTo=function(N,H){H=H===void 0?{}:H;g.y(this.playerState,2)&&lP(this);H.bPR&&this.RD(po(this.playerState,2048));if((H.seekSource===58||H.seekSource===60)&&this.N("html5_update_vss_during_gapless_seeking")){var c=this.d_;c.T&&(c=c.T,H.seekSource===58?c.T.update():c.L&&(D3(c),Na(c).send(),c.U=NaN))}this.e_.seekTo(N,H);this.UI.sync()}; +g.C.Vq=function(N){this.f4.U.B=(0,g.Lh)();g.y(this.playerState,32)||(this.RD(po(this.playerState,32,N==null?void 0:N.seekSource)),g.y(this.playerState,8)&&this.pauseVideo(!0),this.publish("beginseeking"));this.Dp()}; +g.C.Jy=function(N){N=N==null?void 0:N.seekSource;g.y(this.playerState,32)?(this.RD(AP(this.playerState,16,32,N)),this.publish("endseeking")):g.y(this.playerState,2)||this.RD(po(this.playerState,16,N));N=this.f4.U;var H=this.videoData,c=this.playerState.isPaused();if(H.clientPlaybackNonce&&!isNaN(N.T)){if(Math.random()<.01){c=c?"pbp":"pbs";var t={startTime:N.T};H.Y&&(t.cttAuthInfo={token:H.Y,videoId:H.videoId});Zy("seek",t);g.YR({clientPlaybackNonce:H.clientPlaybackNonce},"seek");isNaN(N.B)||Ai("pl_ss", +N.B,"seek");Ai(c,(0,g.Lh)(),"seek")}N.reset()}}; +g.C.s3=function(N){this.Jy(N)}; +g.C.Rf=function(){this.publish("SEEK_COMPLETE")}; +g.C.gW=function(N){var H=this.VR,c=this.videoData.clientPlaybackNonce,t=this.playerType;if(N.scope===4){var h=N.type;if(h){var O=H.o4(),F=O.getVideoData().clientPlaybackNonce;t===1&&(F=c);if(t=sgv(H,F)){if(c=t.getVideoData())N.writePolicy===2&&c.sabrContextUpdates.has(h)||(N.sendByDefault&&c.gE.add(h),c.sabrContextUpdates.set(h,N)),H.N("html5_enable_t1_enf_on_sabr")&&(N=h===5,h=mWR(c.playerResponse),N?(N=h?1:0,v9(N,"m.p_",{}),qz("MBSTAT",N)):N=1,N===0&&H.VS.QS("onAbnormalityDetected"))}else O.Lq("scuset", +{ncpf:"1",ccpn:F,crcpn:c})}else g.aS(Error("b/380308491: contextUpdateType is undefined"))}}; +g.C.OS=function(){if(this.playerType===2)return this.VR.OS("")}; +g.C.getCurrentTime=function(N){return this.e_.getCurrentTime(N===void 0?!1:N)}; +g.C.G$=function(){return this.e_.G$()}; +g.C.NP=function(){return this.e_.NP()}; +g.C.oB=function(){return this.NP()}; +g.C.e$=function(){return this.e_.e$()}; +g.C.getPlaylistSequenceForTime=function(N){return this.videoData.getPlaylistSequenceForTime(N-this.HO())}; +g.C.A9=function(){var N=NaN;this.mediaElement&&(N=this.mediaElement.A9());return N>=0?N:this.getCurrentTime()}; +g.C.kH=function(){var N;return((N=this.videoData.T)==null?0:N.kH)?this.videoData.T.kH(this.getCurrentTime()-this.HO()):this.mediaElement&&(N=this.mediaElement.uI())&&(N=N.getTime(),!isNaN(N))?N/1E3+this.getCurrentTime():NaN}; +g.C.getDuration=function(){return this.videoData.lengthSeconds?this.videoData.lengthSeconds+this.HO():this.L6()?this.L6():0}; +g.C.fL=function(){var N=new udL;if(this.loader){var H=this.YG,c=this.j.vO();c=c===void 0?!1:c;N.Gk=H.ox;N.O0=H.vp;N.bandwidthEstimate=bR(H);if(c){c=(H.Z.sI()*1E3).toFixed();var t=(H.Ix.sI()*1E3).toFixed(),h=lw(H).toFixed(2),O=((H.C.sI()||0)*1E9).toFixed(2),F=H.L.sI().toFixed(0),M=H.Cq.sI().toFixed(0),f=H.TW.percentile(.5).toFixed(2),d=H.TW.percentile(.92).toFixed(2),W=H.TW.percentile(.96).toFixed(2),z=H.TW.percentile(.98).toFixed(2);H.T?H.T.reset():H.T=new qW;H.T.add(H.NT);H.T.add(H.interruptions.length); +for(var E=0,x=H.interruptions.length-1;x>=0;x--){var q=H.interruptions[x];H.T.add(q-E);E=q}E=0;for(x=H.U.length-1;x>=0;x--){q=H.U[x];var r=q.stamp/36E5;H.T.add(r-E);E=r;H.T.add(q.net/1E3);H.T.add(q.max)}H=H.T.UR();N.T={ttr:c,ttm:t,d:h,st:O,bw:F,abw:M,v50:f,v92:d,v96:W,v98:z,"int":H}}H=this.loader;H.Zf&&H.Zf.S&&!H.Zf.wR()&&(N.yV=wz(H.videoTrack),N.B=wz(H.audioTrack),H.policy.L&&(c=kw(H.videoTrack),t=kw(H.audioTrack),h=Eo(H.Zf.B.l2(),"_",5),O=Eo(H.Zf.T.l2(),"_",5),Object.assign(N.T,{lvq:c,laq:t,lvb:h, +lab:O})));N.bandwidthEstimate=Jf(H.TW);var w;(w=H.audioTrack.Z)==null||w.flush();var n;(n=H.videoTrack.Z)==null||n.flush()}else this.mediaElement&&(N.yV=this.mediaElement.Ul());N.Gk=this.Gk;N.O0=this.O0;N.L=this.isAtLiveHead()&&this.isPlaying()?pu(this):NaN;w=this.e_;w=w.T?bC(w.T):0;N.U=w;return N}; +g.C.u4=function(N,H){this.O0+=N;this.Gk+=H}; +g.C.K1=function(){return this.mediaElement?g.z7(this.videoData)?1:hd(this.videoData)?this.isAtLiveHead()||this.xS()?1:this.e_.K1():this.mediaElement.K1():0}; +g.C.Z4=function(){var N=this.WS,H=X9(N,"bandwidth"),c=X9(N,"bufferhealth"),t=X9(N,"livelatency"),h=X9(N,"networkactivity"),O=U0(N,"bandwidth"),F=U0(N,"bufferhealth"),M=U0(N,"livelatency");N=U0(N,"networkactivity");var f=this.CL(),d=f.droppedVideoFrames;f=f.totalVideoFrames;var W=this.getCurrentTime();if(this.M2){var z="IT/"+(this.M2.T.getInfo()+"/"+Su(this.p$()));z+="/"+this.M2.getInfo()}else z="";var E=this.isGapless(),x=this.SP(),q=this.SK(),r=g.Fb(this),w=this.getPlayerState(),n=this.getPlaylistSequenceForTime(this.getCurrentTime()); +a:{var p=0;var U="";if(this.z3){if(this.z3.Fj){U="D,";break a}p=this.z3.WJ;U=this.z3.aW.substring(0,4)}p>0?(p="AD"+p+", ",U&&(p+=U+", "),U=p):U=""}return{OQ:O,aM:F,currentTime:W,XK:z,droppedVideoFrames:d,isGapless:E,SP:x,St:q,C_:H,K_:c,eZ:t,Vy:h,zc:M,rf:N,EW:r,playerState:w,KX:n,O5:U,totalVideoFrames:f}}; +g.C.Q4=function(N){var H={};if(N===void 0?0:N){Object.assign(H,this.d_.Q4());this.mediaElement&&(Object.assign(H,this.mediaElement.Q4()),N=this.CL(),H.dvf=N.droppedVideoFrames,H.tvf=N.totalVideoFrames);this.loader&&Object.assign(H,this.loader.Q4());this.M2&&(H.drm=JSON.stringify(this.M2.Q4()));H.state=this.playerState.state.toString(16);g.y(this.playerState,128)&&(H.debug_error=JSON.stringify(this.playerState.vN));this.hU()&&(H.prerolls=this.Tk.join(","));this.videoData.H0&&(H.ismb=this.videoData.H0); +this.videoData.latencyClass!=="UNKNOWN"&&(H.latency_class=this.videoData.latencyClass);this.videoData.isLowLatencyLiveStream&&(H.lowlatency="1");if(this.videoData.defaultActiveSourceVideoId||this.videoData.compositeLiveStatusToken||this.videoData.compositeLiveIngestionOffsetToken)H.is_mosaic=1;this.videoData.cotn&&(H.is_offline=1,H.cotn=this.videoData.cotn);this.videoData.playerResponseCpn&&(H.playerResponseCpn=this.videoData.playerResponseCpn);this.VR.isOrchestrationLeader()&&(H.leader=1);this.videoData.isLivePlayback&& +(this.videoData.T&&Qv(this.videoData.T)&&(H.segduration=Qv(this.videoData.T)),N=this.e_,H.lat=N.Z?QWZ(N.Z.U):0,H.liveutcstart=this.videoData.liveUtcStartSeconds);H.relative_loudness=this.videoData.XQ.toFixed(3);if(N=g.Fb(this))H.optimal_format=N.video.qualityLabel;H.user_qual=SW();H.release_version=T[34]}H.debug_videoId=this.videoData.videoId;return H}; +g.C.addCueRange=function(N){this.iN([N])}; +g.C.removeCueRange=function(N){this.UI.UN([N])}; +g.C.gX=function(){var N=this.UI;if(N.wE.D().N("html5_sort_cueranges_on_update")&&!(N.Z$().length<=0||N.uo())){var H=N.T;H.array.sort(H.T)}N.sync()}; +g.C.mH=function(N,H){return this.UI.mH(N,H)}; +g.C.iN=function(N,H){this.UI.Q0(N,H)}; +g.C.Hu=function(N){this.UI.UN(N)}; +g.C.Z$=function(){return this.UI.Z$()||[]}; +g.C.XR=function(){return this.Y5}; +g.C.Mp=function(){return this.visibility.Mp()}; +g.C.fm=function(){this.mediaElement&&this.mediaElement.fm()}; +g.C.N0R=function(){a9(this)}; +g.C.togglePictureInPicture=function(){this.mediaElement&&this.mediaElement.togglePictureInPicture()}; +g.C.wc=function(){g.bM(this.sZ)}; +g.C.f6g=function(){this.Dp();this.publish("onLoadProgress",this.K1())}; +g.C.Rl=function(N){var H=N.target.FH();if(this.mediaElement&&this.mediaElement.FH()&&this.mediaElement.FH()===H){LKh(this,N.type);switch(N.type){case "error":var c=this.mediaElement.FR()||"",t=this.mediaElement.Yl();if(c==="capability.changed"){this.N("html5_restart_on_capability_change")?(this.Lq("capchg",{msg:t}),this.WR(!0)):P1(this);return}if(this.mediaElement.hasError()&&Is(this.T4,c,{msg:t,trg:"elementevt"}))return;if(this.isBackground()&&this.mediaElement.XP()){this.LJ();kJ(this,"unplayable"); +return}break;case "durationchange":c=this.mediaElement.getDuration();isFinite(c)&&(!this.Zf||c>0)&&c!==1&&this.cQ(c);break;case "ratechange":this.loader&&this.loader.setPlaybackRate(this.mediaElement.getPlaybackRate());c=this.UI;c.started=!0;c.sync();this.d_.onPlaybackRateChange(this.getPlaybackRate());break;case "loadedmetadata":this.Zp().T.G0(jlg)&&gO(this,!1);ozZ(this);this.publish("onLoadedMetadata");JLv(this);c=this.kH();this.videoData.aj&&(this.videoData.aj=c);break;case "loadstart":JLv(this); +break;case "progress":case "suspend":this.nI.Ki();break;case "seeked":(c=this.loader)!=null&&c.policy.B&&c.Dq&&(c.Lq("sdai",{skipAdSked:"1"}),c.Dq=!1);break;case "playing":this.Zp().T.G0(jlg)&&gO(this,!1);this.f4.Yt("plev");this.C9&&!J3(this)&&(this.C9=!1,this.isAtLiveHead()||this.seekTo(Infinity,{j_:"videoplayer_onPlaying"}));break;case "timeupdate":this.Zp().T.G0(jlg)&&gO(this,!1);c=this.mediaElement&&!this.mediaElement.getCurrentTime();t=this.mediaElement&&this.mediaElement.gJ()===0;if(c&&(!this.SX|| +t))return;this.SX=this.SX||!!this.mediaElement.getCurrentTime();GT(this);this.Dp();if(!this.mediaElement||this.mediaElement.FH()!==H)return;this.publish("onVideoProgress",this.getCurrentTime());break;case "waiting":if(this.mediaElement.NA().length>0&&this.mediaElement.Z6().length===0&&this.mediaElement.getCurrentTime()>0&&this.mediaElement.getCurrentTime()<5&&this.loader)return;this.N("html5_ignore_unexpected_waiting_cfl")&&(this.mediaElement.isPaused()||this.mediaElement.gJ()>2||!this.mediaElement.isSeeking()&& +t1(this.mediaElement.Z6(),this.mediaElement.getCurrentTime()))&&(c=this.mediaElement.Q4(),c.bh=this.mediaElement.Ul().toFixed(3),this.Lq("uwe",c));break;case "resize":ozZ(this);this.videoData.B&&this.videoData.B.video.quality==="auto"&&this.publish("internalvideoformatchange",this.videoData,!1);break;case "pause":if(this.LN&&g.y(this.playerState,8)&&!g.y(this.playerState,1024)&&this.getCurrentTime()===0&&g.op){kJ(this,"safari_autoplay_disabled");return}}if(this.mediaElement&&this.mediaElement.FH()=== +H){KHD(this.e_,N);this.publish("videoelementevent",N);H=this.playerState;t=this.oX;var h=this.mediaElement;c=this.videoData.clientPlaybackNonce;if(!g.y(H,128)){var O=H.state;h=h?h:N.target;var F=h.getCurrentTime();if(!g.y(H,64)||N.type!=="ended"&&N.type!=="pause"){var M=h.getDuration();M=h.isEnded()||F>1&&Math.abs(F-M)<1.1;var f=N.type==="pause"&&h.isEnded();F=N.type==="ended"||N.type==="waiting"||N.type==="timeupdate"&&!g.y(H,4)&&!Rp(t,F);if(f||M&&F)h.ey()>0&&h.FH()&&(O=14);else switch(N.type){case "error":h.FR()&& +(O|=128);break;case "pause":g.y(H,256)?(O^=256)||(O=64):g.y(H,32)||g.y(H,2)||g.y(H,4)||(O=4,g.y(H,1)&&g.y(H,8)&&(O|=1));break;case "playing":F=O;O=(O|8)&-1093;F&4?(O|=1,DG(t,h,!0)):Rp(t,h.getCurrentTime())&&(O&=-2);g.y(H,1)&&DG(t,h)&&(O|=1);break;case "seeking":O|=16;g.y(H,8)&&(O|=1);O&=-3;break;case "seeked":O&=-17;DG(t,h,!0);break;case "waiting":g.y(H,2)||(O|=1);DG(t,h);break;case "timeupdate":F=g.y(H,16),M=g.y(H,4),(g.y(H,8)||F)&&!M&&Rp(t,h.getCurrentTime())&&(O=8),DG(t,h)&&(O|=1)}}t=O;O=null; +t&128&&(O=N.target,h=O.FR(),F=1,h?(h==="capability.changed"&&(F=2),M="GENERIC_WITHOUT_LINK",f=O.Q4(),f.mediaElem="1",f.trg="melem",/AUDIO_RENDERER/.test(O.Yl())&&(M="HTML5_AUDIO_RENDERER_ERROR"),O={errorCode:h,errorMessage:g.Ht[M]||"",Z9:M,pM:Gu(f),JP:F,cpn:H.vN?H.vN.cpn:""}):O=null,O&&(O.cpn=c));H=U3(H,t,O)}!g.y(this.playerState,1)&&g.y(H,1)&&uxl(this,"evt"+N.type);this.RD(H)}}}; +g.C.gOx=function(N){N=N.T.availability==="available";N!==this.Y5&&(this.Y5=N,this.publish("airplayavailabilitychange"))}; +g.C.PXs=function(){var N=(0,g.Lh)(),H=this.mediaElement.Mp();this.Lq("airplay",{ia:H});!H&&!isNaN(this.zs)&&N-this.zs<2E3||(this.zs=N,H!==this.Mp()&&(N=this.visibility,N.T!==H&&(N.T=H,N.pG()),this.Lq("airplay",{rbld:H}),this.Fm()),this.publish("airplayactivechange"))}; +g.C.bN=function(N){if(this.loader){var H=this.loader,c=H.L,t=H.getCurrentTime(),h=Date.now()-c.TW;c.TW=NaN;c.Lq("sdai",{adfetchdone:N,d:h});N&&!isNaN(c.C)&&c.B!==3&&ud(c.loader,t,c.C,c.Y);c.policy.B?c.S=NaN:c.U=NaN;GD(c,4,c.B===3?"adfps":"adf");Vp(H)}}; +g.C.Dv=function(){g.gb(this.LM);this.QE.stop();this.videoData.Z=!0;this.j.aE=!0;this.j.mG=0;var N=this.T4;if(N.videoData.B){var H=N.Es.S,c=N.videoData.B.T0;H.U.has(c)&&(H.U.delete(c),H.B=!0)}N.T.stop();this.IX();g.y(this.playerState,8)&&this.RD(Xt(this.playerState,65));this.ME=!1;this.d_.On();g.lY(this.Ns);this.publish("playbackstarted");(N=g.NA("yt.scheduler.instance.clearPriorityThreshold"))?N():Fw(0)}; +g.C.IX=function(){var N=this.VR.Sg(),H={},c={};!j_("pbs",this.f4.timerName)&&X6.measure&&X6.getEntriesByName&&(X6.getEntriesByName("mark_nr")[0]?hit("mark_nr"):hit());N.videoId&&(H.videoId=N.videoId);N.clientPlaybackNonce&&!this.N("web_player_early_cpn")&&(H.clientPlaybackNonce=N.clientPlaybackNonce);this.mediaElement&&this.mediaElement.isPaused()&&(c.isPausedOnLoad=!0);c.itag=N.B?Number(N.B.itag):-1;N.Uu&&(c.preloadType=String(this.B5?2:1));H.liveStreamMode=VrY[f9(N)];H.playerInfo=c;this.f4.infoGel(H); +if(this.loader){N=this.loader.timing;window&&window.performance&&window.performance.getEntriesByName&&(N.L&&(H=window.performance.getEntriesByName(N.L),H.length&&(H=H[0],N.tick("vri",H.fetchStart),N.tick("vdns",H.domainLookupEnd),N.tick("vreq",H.requestStart),N.tick("vrc",H.responseEnd))),N.B&&(H=window.performance.getEntriesByName(N.B),H.length&&(H=H[0],N.tick("ari",H.fetchStart),N.tick("adns",H.domainLookupEnd),N.tick("areq",H.requestStart),N.tick("arc",H.responseEnd))));N=N.ticks;for(var t in N)N.hasOwnProperty(t)&& +this.f4.tick(t,N[t])}}; +g.C.Dp=function(N){var H=this;N=N===void 0?!1:N;if(this.mediaElement&&this.videoData){pfl(this.e_,this.isPlaying());var c=this.getCurrentTime();if(this.loader&&(g.y(this.playerState,4)&&g.z7(this.videoData)||g.y(this.playerState,32)&&AC(this.videoData)||dbD(this.loader,c),this.N("html5_log_centralized_player_time")&&Math.abs(this.getCurrentTime()-v2l(this.loader))>10)){var t;this.Lq("sabrSeekRefactorCmt",{cmt:this.getCurrentTime(),loaderCmt:(t=this.loader)==null?void 0:v2l(t)},!0)}c>5&&(this.e_.L= +c);(t=g.FK())?g.jO.k8(this.eR):g.wi(this.eR);var h=this.mediaElement.isPaused();if((this.playerState.isBuffering()||!h||gz(this.videoData))&&!g.y(this.playerState,128)){var O=function(){if(H.mediaElement&&!g.y(H.playerState,128)){H.j.vO()&&LKh(H,"pfx");var F=H.getCurrentTime();H.N("html5_buffer_underrun_transition_fix")&&(F-=H.HO());var M=H.mediaElement.Ul(),f=g.y(H.playerState,8),d=Rp(H.oX,F),W=rjR(H.oX,F,(0,g.Lh)(),M);f&&d?H.RD(Xt(H.playerState,1)):f&&W?(f=H.getDuration(),d=BJ(H.videoData),f&&Math.abs(f- +F)<1.1?(H.Lq("setended",{ct:F,bh:M,dur:f,live:d}),H.mediaElement.Mj()?H.seekTo(0,{j_:"videoplayer_loop",seekSource:37}):H.sJ()):(H.playerState.isBuffering()||uxl(H,"progress_fix"),H.RD(po(H.playerState,1)))):(f&&!d&&!W&&F>0&&(f=(Date.now()-H.O3)/1E3,d=H.getDuration(),F>d-1&&H.Lq("misspg",{t:F.toFixed(2),d:d.toFixed(2),r:f.toFixed(2),bh:M.toFixed(2)})),H.playerState.isPaused()&&H.playerState.isBuffering()&&H.mediaElement.Ul()>5&&H.RD(Xt(H.playerState,1)));H.Dp()}}; +this.mediaElement.NA().length===0?this.eR=t?g.jO.jP(O,100):g.Zh(O,100):this.eR=t?g.jO.jP(O,500):g.Zh(O,500)}this.videoData.kG=c;!N&&this.isPlaying()&&UPL(this);q3L(this.OV,this.S7,this.wr(),this.isBackground())&&Ku(this);this.publish("progresssync",N);h&&gz(this.videoData)&&this.publish("onVideoProgress",this.getCurrentTime())}}; +g.C.Ysi=function(){this.TU("ad.rebuftimeout",2,"RETRYABLE_ERROR","vps."+this.playerState.state.toString(16))}; +g.C.SK=function(){return this.d_.SK()}; +g.C.US=function(){return this.loader?this.loader.US():bR(this.YG,!0)}; +g.C.RD=function(N){if(!g.ZU(this.playerState,N)){var H=new g.I$(N,this.playerState);this.playerState=N;nPh(this);var c=!this.hB.length;this.hB.push(H);var t=this.mediaElement&&this.mediaElement.isSeeking();g.tC(H,1)&&this.loader&&Ngv(this.loader);t=H.oldState.state===8&&!t;if(g.tC(H,1)&&t&&g.y(this.playerState,8)&&!g.y(this.playerState,64)&&this.loader){t=this.loader;t.F_=!0;if(t.policy.S_&&t.Zf){var h,O,F,M;t.Lq("lr_rb",{c:t.getCurrentTime(),s:t.isSeeking(),ab:Eo(t.Zf.T.l2()),ala:(h=na(t.audioTrack))== +null?void 0:h.uX(),alr:(O=t.audioTrack.T)==null?void 0:O.uX(),vb:Eo(t.Zf.B.l2()),vla:(F=na(t.videoTrack))==null?void 0:F.uX(),vlr:(M=t.videoTrack.T)==null?void 0:M.uX()})}t.BF!==0&&t.Lq("sps_rebuffer",{c:t.getCurrentTime()});this.mediaElement&&this.mediaElement.Ul()>=5&&(h=this.OV,O=this.S7,!O.videoData.B||h.N("html5_disable_performance_downgrade")?h=!1:(Date.now()-h.C>6E4&&(h.B=0),h.B++,h.C=Date.now(),h.B!==4?h=!1:(xSh(h,O.videoData.B),h=!0)),h&&Ku(this))}(h=g.Mx(this.j.experiments,"html5_ad_timeout_ms"))&& +this.videoData.isAd()&&g.y(N,1)&&(g.y(N,8)||g.y(N,16))?this.h_.start(h):this.h_.stop();(hC(H,8)<0||g.tC(H,1024))&&this.QE.stop();!g.tC(H,8)||this.videoData.Z||g.y(H.state,1024)||this.QE.start();g.y(H.state,8)&&hC(H,16)<0&&!g.y(H.state,32)&&!g.y(H.state,2)&&this.playVideo();g.y(H.state,2)&&hd(this.videoData)&&(this.cQ(this.getCurrentTime()),this.Dp(!0));g.tC(H,2)&&(this.F$(!0),this.j.vO()&&this.N("html5_sabr_parse_live_metadata_playback_boundaries")&&AC(this.videoData)&&this.videoData.T&&(N={minst:""+ +this.videoData.T.sU,cminst:""+(this.videoData.T.T7()+this.HO()),maxst:""+this.videoData.T.Ot,hts:""+this.videoData.T.ox,cmaxst:""+(this.videoData.T.L6()+this.HO())},this.Lq("sabrSeekableBoundaries",N)));g.tC(H,128)&&this.LJ();this.videoData.T&&this.videoData.isLivePlayback&&!this.zB&&(hC(H,8)<0?(N=this.videoData.T,N.S&&N.S.stop()):g.tC(H,8)&&this.videoData.T.resume());N=this.e_;g.lY(N.Bp.S);if(N.mediaElement)if(H.oldState.state===8&&B_(H.state)&&H.state.isBuffering()){var f=N.mediaElement.getCurrentTime(); +h=N.mediaElement.Z6();O=N.N("manifestless_post_live_ufph")||N.N("manifestless_post_live")?O$(h,Math.max(f-3.5,0)):O$(h,f-3.5);O>=0&&f>h.end(O)-1.1&&O+10?(d4(N.wE,N.getCurrentTime()+N.videoData.limitedPlaybackDurationInSeconds), +N.Xg=!0):N.videoData.isLivePlayback&&N.videoData.endSeconds>0&&(d4(N.wE,N.getCurrentTime()+N.videoData.endSeconds),N.Xg=!0));f=this.d_;if(g.tC(H,1024)||g.tC(H,512)||g.tC(H,4))f.B&&(N=f.B,N.B>=0||(N.T=-1,N.delay.stop())),f.qoe&&(N=f.qoe,N.C||(N.L=-1));if(f.provider.videoData.enableServerStitchedDai&&f.mL){var d;(d=f.L.get(f.mL))==null||o5v(d,H)}else f.T&&o5v(f.T,H);f.qoe&&(d=f.qoe,N=H.state,h=g.cd(d.provider),O=d.getPlayerState(N),F=N.seekSource||void 0,O!==d.y0&&(d.ox||h=10&&d.playTimeSecs<=180&&(d.T.set("qoealert",["1"]),d.mG=!0)),O!=="B"||d.y0!=="PL"&&d.y0!=="PB"||(d.isBuffering=!0),d.B=h),d.y0==="PL"&&(O==="B"||O==="S")||d.provider.j.vO()?lc(d,h):(d.kG||O!=="PL"||(d.kG=!0,kr(d,h,d.provider.wE.fL())),el(d,h)),O==="PL"&&g.lY(d.qc),M=[O],O==="S"&&F&&M.push("ss."+F),g.Xz(d,h,"vps",M),d.y0=O,d.Bp=h,d.B=h,d.U=!0),O=N.vN,g.y(N,128)&&O&&(O.pM=O.pM||"",RUS(d,h,O.errorCode, +O.JP,O.pM)),(g.y(N,2)||g.y(N,128))&&d.reportStats(h),N.isPlaying()&&!d.C&&(d.L>=0&&d.T.set("user_intent",[d.L.toString()]),d.C=!0),k1(d));f.B&&(d=f.B,fAs(d),d.playerState=H.state,d.B>=0&&g.tC(H,16)&&d.seekCount++,H.state.isError()&&d.send());if(c&&!this.uo())try{for(var W=g.K(this.hB),z=W.next();!z.done;z=W.next()){var E=z.value,x=this.UI;if(x.started&&(x.sync(),g.y(E.oldState,16))){H=x;var q=XKy(H.T,Math.max(H.L-2E3,0));!isNaN(q)&&q<0x7ffffffffffff&&H.U.start()}this.publish("statechange",E)}}finally{this.hB.length= +0}}}; +g.C.Wb=function(){this.f4.tick("qoes")}; +g.C.xp=function(){this.e_.xp()}; +g.C.KZ=function(N,H,c,t){a:{var h=this.T4;t=t===void 0?"LICENSE":t;c=c.substring(0,256);var O=uO(H);N==="drm.keyerror"&&this.M2&&this.M2.B.keys.length>1&&h.U<96&&(N="drm.sessionlimitexhausted",O=!1);var F=h.Es.experiments.M4("html5_retry_on_drm_unavailable"),M=h.Es.experiments.M4("html5_retry_on_drm_key_error"),f=/^(closedShouldNotRetry|t\.prefixedKeyError)(.*)/;if(F&&N==="drm.unavailable"||M&&N==="drm.keyerror"&&!c.match(f))h.rr("qoe.restart",{retryOnDrmError:1,e:N,detail:c}),h.wE.WR(!0);else{if(O)if(h.videoData.B&& +h.videoData.B.video.isHdr())OjS(h,N);else{if(h.wE.TU(N,H,t,c),Kqt(h,{detail:c}))break a}else h.rr(N,{detail:c});N==="drm.sessionlimitexhausted"&&(h.Lq("retrydrm",{sessionLimitExhausted:1}),h.U++,LvZ(h.wE))}}}; +g.C.rjS=function(){var N=this,H=g.Mx(this.j.experiments,"html5_license_constraint_delay"),c=bs();H&&c?(H=new g.kT(function(){N.v_();a9(N)},H),g.l(this,H),H.start()):(this.v_(),a9(this))}; +g.C.HE=function(N){this.publish("heartbeatparams",N)}; +g.C.Un=function(N){this.Lq("keystatuses",skv(N));var H="auto",c=!1;this.videoData.B&&(H=this.videoData.B.video.quality,c=this.videoData.B.video.isHdr());a:{switch(H){case "highres":case "hd2880":H="UHD2";break;case "hd2160":case "hd1440":H="UHD1";break;case "hd1080":case "hd720":H="HD";break;case "large":case "medium":case "small":case "light":case "tiny":H="SD";break;default:H="";break a}c&&(H+="HDR")}H=iG(N)?fm(N,H):N.U.includes(H);if(this.N("html5_enable_vp9_fairplay")){if(c)if(N.C){var t;if((t= +this.M2)==null?0:tW(t.T))if((c=this.M2)==null)c=0;else{for(var h=t=void 0,O=g.K(c.B.values()),F=O.next();!F.done;F=O.next())F=F.value,t||(t=DXy(F,"SD")),h||(h=DXy(F,"AUDIO"));c.Yc({sd:t,audio:h});c=t==="output-restricted"||h==="output-restricted"}else c=!H;if(c){this.Lq("drm",{dshdr:1});OjS(this.T4);return}}else{this.videoData.xt||(this.videoData.xt=!0,this.Lq("drm",{dphdr:1}),this.WR(!0));return}var M;if((M=this.M2)==null?0:tW(M.T))return}else if(M=N.C&&H,c&&!M){OjS(this.T4);return}H||fm(N,"AUDIO")&& +fm(N,"SD")||(N=skv(N),this.kL?(this.publish("drmoutputrestricted"),this.N("html5_report_fatal_drm_restricted_error_killswitch")||this.TU("drm.keyerror",2,void 0,"info."+N)):(this.kL=!0,this.rr(new g.QP("qoe.restart",Object.assign({},{retrydrm:1},N))),Ku(this),LvZ(this)))}; +g.C.Jj_=function(){if(!this.videoData.Z&&this.mediaElement&&!this.isBackground()){var N="0";this.mediaElement.gJ()>0&&this.mediaElement.Ul()>=5&&this.videoData.L&&this.videoData.L.T&&(this.RD(po(this.playerState,1)),uxl(this,"load_soft_timeout"),this.publish("playbackstalledatstart"),N="1");nPh(this);var H=this.videoData.L;N={restartmsg:N,mfmt:!ea(this.videoData),mdrm:!(!(H&&H.videoInfos&&H.videoInfos.length&&H.videoInfos[0].YH)||this.M2),mfmtinfo:!this.videoData.B,prerolls:this.hU()?this.Tk.join(","): +"0"};if(this.M2){H=this.M2;if(H.B.size<=0){var c="ns;";H.TW||(c+="nr;");H=c+="ql."+H.L.length}else H=skv(H.B.values().next().value),H=Gu(H);N.drmp=H}var t;Object.assign(N,((t=this.loader)==null?void 0:t.Q4())||{});var h;Object.assign(N,((h=this.mediaElement)==null?void 0:h.Q4())||{});this.d_.rr("qoe.start15s",Gu(N));this.publish("loadsofttimeout")}}; +g.C.cQ=function(N){this.videoData.lengthSeconds!==N&&(this.videoData.lengthSeconds=N,a9(this))}; +g.C.F$=function(N,H){var c=this;N=N===void 0?!1:N;if(!this.EY)if(j_("att_s","player_att")||OZ("att_s",void 0,"player_att"),this.N("use_rta_for_player"))(function(){var h,O,F,M,f;return g.Y(function(d){switch(d.T){case 1:if(!(h=N)){d.rE(2);break}return g.a(d,g.Adh(),3);case 3:h=!d.B;case 2:if(h)return d.return();g.Xy(d,4);O=DId(c.d_);if(!O)throw Error();F={};return g.a(d,g.DGD((F.cpn=c.videoData.clientPlaybackNonce,F.encryptedVideoId=c.videoData.videoId||"",F),3E4),6);case 6:M=d.B;if(c.EY)throw Error(); +if(!M.challenge)throw f=M.error?"; error: "+M.error:"",g.aS(Error("Not sending atr ping; missing challenge string"+f)),Error();c.EY=!0;var W=[M.challenge];if(M.error){var z=gyl();z=OzS(z).get(M.error)||0;W.push("r1c="+z)}else M.webResponse&&W.push("r1a="+M.webResponse);var E;((E=M.adblockReporting)==null?void 0:E.reportingStatus)!==void 0&&W.push("r6a="+M.adblockReporting.reportingStatus);var x;((x=M.adblockReporting)==null?void 0:x.broadSpectrumDetectionResult)!==void 0&&W.push("r6b="+M.adblockReporting.broadSpectrumDetectionResult); +O(W.join("&"));OZ("att_f",void 0,"player_att");g.VI(d,0);break;case 4:g.Lq(d),OZ("att_e",void 0,"player_att"),g.Z3(d)}})})().then(function(){H==null||H()}); +else{var t=new g.t1h(this.videoData);if("c1a"in t.yl&&!g.jv.isInitialized()){OZ("att_wb",void 0,"player_att");this.kZ===2&&Math.random()<.01&&g.aS(Error("Botguard not available after 2 attempts"));if(N)return;if(this.kZ<5){g.lY(this.gP);this.kZ++;return}}(t=g.ots(t))?(OZ("att_f",void 0,"player_att"),Jc3(this.d_,t),this.EY=!0):OZ("att_e",void 0,"player_att")}}; +g.C.VQ=function(N){N=N===void 0?!1:N;return BJ(this.videoData)&&(this.isAtLiveHead()&&!this.playerState.isPaused()||this.xS()||g.z7(this.videoData))?this.getCurrentTime():this.L6(N)}; +g.C.r7=function(){return this.T7()}; +g.C.L6=function(N){return this.e_.L6(N===void 0?!1:N)}; +g.C.T7=function(){return this.e_.T7()}; +g.C.HO=function(){return this.e_?this.e_.HO():0}; +g.C.getStreamTimeOffset=function(){return this.e_?this.e_.getStreamTimeOffset():0}; +g.C.Dj=function(){return this.getStreamTimeOffset()===0?this.HO():this.getStreamTimeOffset()}; +g.C.setPlaybackRate=function(N){var H;this.playbackRate!==N&&zv(this.OV,(H=this.videoData.L)==null?void 0:H.videoInfos)&&(this.playbackRate=N,Ku(this));this.playbackRate=N;this.mediaElement&&this.mediaElement.setPlaybackRate(N)}; +g.C.getPlaybackRate=function(){return this.playbackRate}; +g.C.getPlaybackQuality=function(){var N="unknown";if(this.videoData.B&&(N=this.videoData.B.video.quality,N==="auto"&&this.mediaElement)){var H=this.z$();H&&H.videoHeight>0&&(N=uX(H.videoWidth,H.videoHeight))}return N}; +g.C.isHdr=function(){return!!(this.videoData.B&&this.videoData.B.video&&this.videoData.B.video.isHdr())}; +g.C.sendVideoStatsEngageEvent=function(N,H){var c=this.d_;c.T?(c=pp(c.T,"engage"),c.ox=N,c.send(H)):H&&H()}; +g.C.ER=function(N){return this.d_.ER(N)}; +g.C.isAtLiveHead=function(N,H){H=H===void 0?!1:H;return BJ(this.videoData)&&(this.Kt||H)?this.e_.isAtLiveHead(N):!1}; +g.C.iq=function(){var N=this.L6(),H=this.getCurrentTime(),c;(c=!BJ(this.videoData))||(c=this.e_,c=!(c.T&&c.T.L));return c||this.xS()||isNaN(N)||isNaN(H)?0:Math.max(0,N-H)}; +g.C.vP=function(N){(this.Kt=N)||this.QE.stop();if(this.videoData.T)if(N)this.videoData.T.resume();else{var H=this.videoData.T;H.S&&H.S.stop()}this.loader&&(H=this.videoData.N("html5_disable_preload_for_ssdai_with_preroll")&&this.NF()&&this.videoData.isLivePlayback,N&&!H?this.loader.resume():wL(this,!0));g.y(this.playerState,2)||N?g.y(this.playerState,512)&&N&&this.RD(Xt(this.playerState,512)):this.RD(po(this.playerState,512));H=this.d_;H.qoe&&(H=H.qoe,g.Xz(H,g.cd(H.provider),"stream",[N?"A":"I"]))}; +g.C.Ph=function(N){this.d_.rr("player.exception",Gu({n:N.name,m:N.message}))}; +g.C.hJ=h3(22);g.C.IU=h3(51);g.C.TQ=function(N){this.d_.TQ(N)}; +g.C.zz=function(N){this.d_.zz(N)}; +g.C.qY=function(N){this.d_.qY(N)}; +g.C.HN=h3(28);g.C.qp=h3(34);g.C.Cu=function(N){this.d_.Cu(N)}; +g.C.yY=function(N,H,c,t){this.d_.yY(N,H,c,t)}; +g.C.FY=function(){this.Lq("hidden",{},!0)}; +g.C.CL=function(){return this.mediaElement?this.mediaElement.getVideoPlaybackQuality():{}}; +g.C.vJ=function(){return this.loader?this.loader.vJ():!0}; +g.C.setLoop=function(N){this.loop=N;this.mediaElement&&!g.Iy(this.j)&&this.mediaElement.setLoop(N)}; +g.C.Mj=function(){return this.mediaElement&&!g.Iy(this.j)?this.mediaElement.Mj():this.loop}; +g.C.EX=function(N){this.Lq("timestamp",{o:N.toString()});this.e_.EX(N)}; +g.C.tN=function(N){this.f4.tick(N)}; +g.C.WN=function(N){return this.f4.WN(N)}; +g.C.Yt=function(N){this.f4.Yt(N)}; +g.C.Lq=function(N,H,c){this.d_.Lq(N,H,c===void 0?!1:c)}; +g.C.TH=function(N,H,c){this.d_.Lq(N,H,c===void 0?!1:c)}; +g.C.rr=function(N){this.d_.rr(N.errorCode,Gu(N.details));N=N.errorCode;if(this.videoData.isLivePlayback&&(N==="qoe.longrebuffer"||N==="qoe.slowseek")||N==="qoe.restart"){N=this.loader?yp3(this.loader.videoTrack):{};var H,c;this.Lq("lasoe",Object.assign(this.loader?yp3(this.loader.audioTrack):{},(H=this.Zf)==null?void 0:(c=H.T)==null?void 0:c.dZ()));var t,h;this.Lq("lvsoe",Object.assign(N,(t=this.Zf)==null?void 0:(h=t.B)==null?void 0:h.dZ()))}if(this.N("html5_log_centralized_player_time")){var O;this.Lq("sabrSeekRefactorCmt", +{cmt:this.getCurrentTime(),loaderCmt:(O=this.loader)==null?void 0:v2l(O)})}}; +g.C.aG=function(N,H,c){this.d_.aG(N,H,c)}; +g.C.Ku=function(N,H,c,t,h,O,F,M){var f;if((f=this.videoData.T)!=null&&f.isLive){var d=H.playerType===2?H:N,W=N.videoData.videoId,z=H.videoData.videoId;if(W&&z){f=this.d_;if(f.qoe){var E=f.qoe,x=N.cpn,q=H.cpn,r=d.videoData.n4,w=E.provider.videoData.clientPlaybackNonce,n=E.provider.videoData.videoId,p=q!==w&&z!==n;w=x!==w&&W!==n;E.reportStats();E.adCpn&&E.adCpn!==x||(E.adCpn=w?x:"",E.by=w?W:"",E.adFormat=w?r:void 0,yYd(E,O?4:h?2:0,q,z,t),E.reportStats(),E.adCpn=p?q:"",E.by=p?z:"",E.adFormat=p?r:void 0, +yYd(E,O?5:h?3:1,x,W,c),E.reportStats())}c=N.cpn;if(f.L.has(c)){if(h=f.L.get(c),Na(h,!0).send(),D3(h),c!==f.provider.videoData.clientPlaybackNonce){HX(h);var U;(U=f.T)==null||tQ(U);f.L.delete(c)}}else f.mL=f.provider.videoData.clientPlaybackNonce,f.mL&&f.T&&(f.L.set(f.mL,f.T),Na(f.T).send(),D3(f.T));U=H.cpn;d=d.videoData;t-=this.Dj();if(f.L.has(U)){t=f.L.get(U);var X=t.L&&isNaN(t.S)?hQ(t):NaN;t=h7(t,!1);isNaN(X)||(t.C=X);t.send()}else t=B93(f,f.provider,d,t),f.L.set(U,t),o5v(t,new g.I$(po(new g.Nb, +8),new g.Nb)),t.On(),(X=f.T)==null||D3(X);f.mL=U;if(this.N("html5_unify_csi_server_stitched_transition_logging")){if(f=this.f4,X=H.cpn,t=this.videoData.clientPlaybackNonce,H=H.videoData,N=(N.cpn===t?"video":"ad")+"_to_"+(X===t?"video":"ad"),N!=="video_to_ad"){t=N==="ad_to_video"?void 0:H;d=t==null?void 0:t.Hg;U={};if(H==null?0:H.Y)U.cttAuthInfo={token:H.Y,videoId:H.videoId};F&&(U.startTime=F);Zy(N,U);var A,R,v;F={targetVideoId:(A=H==null?void 0:H.videoId)!=null?A:"empty_video",targetCpn:X,adVideoId:(R= +t==null?void 0:t.videoId)!=null?R:"empty_video",adClientPlaybackNonce:(v=d==null?void 0:d.cpn)!=null?v:t==null?void 0:t.clientPlaybackNonce};d&&(F.adBreakType=d.adBreakType,F.adType=d.adType);g.YR(F,N);MB(f,M,N)}}else A=this.f4,v=this.videoData.clientPlaybackNonce,R=H.videoData,v=(N.cpn===v?"video":"ad")+"_to_"+(H.cpn===v?"video":"ad"),N={},R.Y&&(N.cttAuthInfo={token:R.Y,videoId:R.videoId}),F&&(N.startTime=F),Zy(v,N),g.YR({targetVideoId:R.videoId,targetCpn:H.cpn,isSsdai:!0},v),F||MB(A,M,v)}}else g.Bp(this.logger, +360717806,"SSTEvent for nonSS")}; +g.C.LV=function(){var N=this.VR,H=N.GH;N.GH=[];return H}; +g.C.Ks=function(N){this.videoData.Qo=!0;this.rr(new g.QP("sabr.fallback",N));this.WR(!0)}; +g.C.BB=function(N,H){this.videoData.UJ=!0;if(H===void 0||H)this.rr(new g.QP("qoe.restart",N)),this.WR(!0)}; +g.C.Yq=function(N){this.Lq("sdai",{aftimeout:N});this.rr(new g.QP("ad.fetchtimeout",{timeout:N}))}; +g.C.CM=function(N,H){this.Lq("timelineerror",N);N=new g.QP("dai.timelineerror",N);H?this.TU("dai.timelineerror",1,"RETRYABLE_ERROR",Gu(N.details)):this.rr(N)}; +g.C.Bz=function(){return g.cd(this.d_.provider)}; +g.C.getPlayerSize=function(){return this.Ka.getPlayerSize()}; +g.C.lR=function(){return this.Ka.lR()}; +g.C.Um=function(){return this.f4}; +g.C.cG=function(){return this.VR.cG()}; +g.C.getVolume=function(){return this.VR.getVolume()}; +g.C.yw=function(){return this.VR.yw()}; +g.C.isMuted=function(){return this.VR.isMuted()}; +g.C.pH=function(){return this.VR.pH()}; +g.C.MU=function(){this.zB=!0}; +g.C.N=function(N){return this.j.N(N)}; +g.C.Zp=function(){return this.j.Zp()}; +g.C.P4=function(N,H,c,t,h){this.Lq("xvt",{m:N,g:H?1:0,tt:c?1:0,np:t?1:0,c:h})}; +g.C.X$=function(){var N;(N=this.loader)==null||N.resume()}; +g.C.NF=function(){return g.O7(this.Tk,"ad")}; +g.C.gL=function(){var N=this.getCurrentTime(),H=N-this.HO();var c=this.mediaElement?yY(this.mediaElement.Z6()):0;c=Math.floor(Math.max(c-H,0))+100;var t;return((t=this.loader)==null?0:t.gL(H,c))?(this.Lq("sdai",{skipad:1,ct:H.toFixed(3),adj:c.toFixed(3)}),AC(this.videoData)&&this.loader.seek(H+c,{seekSource:89,j_:"videoplayer_skipServerStitchedAd"}),mge(this.e_,N),!0):!1}; +g.C.vO=function(){return this.j.vO()}; +g.C.S9=function(){if(this.N("html5_generate_content_po_token"))return this.videoData.qO||"";this.VR.vS();return this.j.L2||""}; +g.C.xn=function(){if(this.videoData.videoId)return this.videoData.AV}; +g.C.u2=function(){return this.videoData.videoId}; +g.C.vA=function(){return this.VR.C0}; +g.C.WD=function(){return this.ME}; +g.C.GM=function(){return this.VR.GM()}; +g.C.lU=function(N,H,c){this.RD(po(this.playerState,16,c));this.e_.lU(N,H,c)}; +g.C.prefetchKeyPlay=function(N,H){var c;(c=this.loader)==null||c.prefetchKeyPlay(N,H)}; +g.C.o7=function(N){return this.e_.o7(N)}; +g.C.k0=function(){this.e_.k0()}; +g.C.S8=function(N,H){var c=this.N("html5_generate_content_po_token")?this.videoData:void 0;this.VR.S8(N,H,c)}; +g.C.Mu=function(N,H){this.d_.Mu(N,H)}; +g.C.eh=function(){return this.d_.eh()}; +g.C.SP=function(){return this.VR.SP()}; +g.C.Y9=function(){return this.VR.Y9(this)}; +g.C.z8=function(){this.q$=!0}; +g.C.wW=function(N){var H;(H=this.loader)==null||H.wW(N)}; +g.C.gV=function(){return this.videoData.Uu&&this.B5};g.k(pvf,dK);g.k(fJ,n6);fJ.prototype.T=function(N){N&&d1(this,this.J.getLoopVideo());this.J.logVisibility(this.element,N)}; +fJ.prototype.logClick=function(){this.J.logClick(this.element)}; +fJ.prototype.onLoopChange=function(N){d1(this,N)}; +fJ.prototype.B=function(N){this.J.setLoopVideo(N)};g.k(HoD,dK);g.k(TG,dK);g.C=TG.prototype;g.C.seekToChapterWithAnimation=function(N){var H=this;if(g.Vl(this.api)&&!(N<0)){var c=this.api.getVideoData(),t=c.bX;if(t&&N=0)return;H=~H;g.gK(this.items,H,0,N);PH(this.menuItems.element,N.element,H)}N.subscribe("size-change",this.Mn,this);this.menuItems.publish("size-change")}; +g.C.Co=function(){Nr(this)||this.items[0].focus();return!0}; +g.C.u0=function(){this.items[this.items.length-1].focus();return!0}; +g.C.cU=function(N){N.unsubscribe("size-change",this.Mn,this);this.uo()||(g.JC(this.items,N),this.menuItems.element.removeChild(N.element),this.menuItems.publish("size-change"))}; +g.C.Mn=function(){this.menuItems.publish("size-change")}; +g.C.focus=function(){for(var N=0,H=0;H1&&g.CJ(this)}; +g.C.q1=function(){kXL(this);this.I4&&(Hnt(this),g.sb(this.element,this.size))}; +g.C.lc=function(){var N=this.T.pop();WF(this,N,this.T[this.T.length-1],!0)}; +g.C.DM=function(N){if(!N.defaultPrevented)switch(N.keyCode){case 27:this.e1();N.preventDefault();break;case 37:this.T.length>1&&this.lc();N.preventDefault();break;case 39:N.preventDefault()}}; +g.C.focus=function(){this.T.length&&this.T[this.T.length-1].focus()}; +g.C.Os=function(){g.Gv.prototype.Os.call(this);this.L&&this.L.dispose();this.U&&this.U.dispose()};g.k(B8,g.gC);B8.prototype.open=function(N,H){this.initialize(N.items)&&this.aD(H,!!H)}; +B8.prototype.initialize=function(N){g.k7(this.hn);if(N===void 0||N.length===0)return!1;var H=N.length;N=g.K(N);for(var c=N.next();!c.done;c=N.next())this.Ou(c.value,H--);return!0}; +B8.prototype.Ou=function(N,H){N.menuNavigationItemRenderer?xOS(this,N.menuNavigationItemRenderer,H):N.menuServiceItemRenderer&&Eus(this,N.menuServiceItemRenderer,H)};g.k(Gw,Qr);g.C=Gw.prototype;g.C.zK=function(N){N.target!==this.dismissButton.element&&N.target!==this.overflowButton.element&&(this.iC(),this.onClickCommand&&this.J.QS("innertubeCommand",this.onClickCommand))}; +g.C.KP=function(){this.enabled=!1;this.Z.hide()}; +g.C.TG=function(){return!!this.T&&this.enabled}; +g.C.onVideoDataChange=function(N,H){this.IY(H);if(this.T){this.N$();a:if(!this.isCounterfactual){var c,t,h;this.banner.update({title:(c=this.T)==null?void 0:c.title,subtitle:(t=this.T)==null?void 0:t.subtitle,metadata:(h=this.T)==null?void 0:h.metadataText});var O;this.onClickCommand=g.P((O=this.T)==null?void 0:O.onTap,xR);var F;if(N=g.P((F=this.T)==null?void 0:F.onOverflow,xR))this.Y=g.P(N,cG4);var M;if((M=this.T)==null?0:M.thumbnailImage){var f,d;F=((f=this.T)==null?void 0:(d=f.thumbnailImage)== +null?void 0:d.sources)||[];if(F.length===0)break a;this.thumbnailImage.update({url:F[0].url})}else{var W;if((W=this.T)==null?0:W.thumbnailIconName){var z;this.thumbnailIcon.update({icon:(z=this.T)==null?void 0:z.thumbnailIconName})}}var E;this.shouldShowOverflowButton=!((E=this.T)==null||!E.shouldShowOverflowButton);var x;this.shouldHideDismissButton=!((x=this.T)==null||!x.shouldHideDismissButton)}var q;this.banner.element.setAttribute("aria-label",((q=this.T)==null?void 0:q.a11yLabel)||"");var r; +this.zW=(r=this.T)==null?void 0:r.dismissButtonA11yLabel;this.dismissButton.hide();this.overflowButton.hide();this.isInitialized=!0;Oq(this)}}; +g.C.L9o=function(){this.isVisible=!0;Oq(this)}; +g.C.h1o=function(){this.isVisible=!1;Oq(this)}; +g.C.Mb=function(){Qr.prototype.Mb.call(this);this.B&&this.J.logVisibility(this.banner.element,this.isVisible)}; +g.C.iC=function(){Qr.prototype.iC.call(this,!1);this.B&&this.J.logClick(this.banner.element)}; +g.C.gM=function(N){this.S||(this.S=new B8(this.J),g.l(this,this.S));var H,c;if((H=this.Y)==null?0:(c=H.menu)==null?0:c.menuRenderer)this.S.open(this.Y.menu.menuRenderer,N.target),N.preventDefault()}; +g.C.IY=function(){}; +g.C.N$=function(){}; +g.C.Os=function(){this.J.gr("suggested_action_view_model");Qr.prototype.Os.call(this)};g.k(Ok,Gw); +Ok.prototype.IY=function(N){var H,c,t;this.productUpsellSuggestedActionViewModel=g.P((H=N.getWatchNextResponse())==null?void 0:(c=H.playerOverlays)==null?void 0:(t=c.playerOverlayRenderer)==null?void 0:t.suggestedActionViewModel,EdG);var h;if((h=this.productUpsellSuggestedActionViewModel)==null?0:h.content){var O;this.T=g.P((O=this.productUpsellSuggestedActionViewModel)==null?void 0:O.content,NRl)}var F,M;if(this.B=!!((F=this.productUpsellSuggestedActionViewModel)==null?0:(M=F.loggingDirectives)==null? +0:M.trackingParams)){var f,d;this.J.setTrackingParams(this.banner.element,((f=this.productUpsellSuggestedActionViewModel)==null?void 0:(d=f.loggingDirectives)==null?void 0:d.trackingParams)||null)}var W;this.isCounterfactual=!((W=this.productUpsellSuggestedActionViewModel)==null||!W.isCounterfactualServing)}; +Ok.prototype.N$=function(){var N=[],H,c=g.K(((H=this.productUpsellSuggestedActionViewModel)==null?void 0:H.ranges)||[]);for(H=c.next();!H.done;H=c.next()){var t=H.value;t&&(H=Number(t.startTimeMilliseconds),t=Number(t.endTimeMilliseconds),isNaN(H)||isNaN(t)||N.push(new g.vn(H,t,{id:"product_upsell",namespace:"suggested_action_view_model"})))}this.J.Q0(N)};g.k(Yrt,dK);g.k(g4,dK);g4.prototype.onVideoDataChange=function(N,H){var c=this;if(!Yd(H)&&(N==="newdata"&&nq(this),this.T&&N==="dataloaded")){this.T=!1;var t;i8(pq(uJ(this.api.D(),(t=this.api.getVideoData())==null?void 0:g.JO(t)),function(h){jOS(c,h)}),function(){c.T=!0})}}; +g4.prototype.h9=function(){var N=this;if(g.Iy(this.api.D())){var H,c=g.py(this.api.D(),(H=this.api.getVideoData())==null?void 0:g.JO(H));return pq(QA(c),function(t){var h=np();wx(h,t);return N.api.h9(h)})}return QA(this.api.h9())};g.k(g.aQ,g.TW);g.C=g.aQ.prototype;g.C.open=function(){g.Q7(this.R4,this.yR)}; +g.C.Mf=function(N){xtZ(this);var H=this.options[N];H&&(H.element.setAttribute("aria-checked","true"),this.setContent(this.mT(N)),this.S=N)}; +g.C.Ad=function(N){g.k7(this.yR);for(var H={},c=!1,t=0;t=0?this.T.playbackRate:1}catch(N){return 1}}; +g.C.setPlaybackRate=function(N){this.getPlaybackRate()!==N&&(this.T.playbackRate=N);return N}; +g.C.Mj=function(){return this.T.loop}; +g.C.setLoop=function(N){this.T.loop=N}; +g.C.canPlayType=function(N,H){return this.T.canPlayType(N,H)}; +g.C.isPaused=function(){return this.T.paused}; +g.C.isSeeking=function(){return this.T.seeking}; +g.C.isEnded=function(){return this.T.ended}; +g.C.GV=function(){return this.T.muted}; +g.C.Jr=function(N){xF();this.T.muted=N}; +g.C.NA=function(){return this.T.played||TC([],[])}; +g.C.Z6=function(){try{var N=this.T.buffered}catch(H){}return N||TC([],[])}; +g.C.v0=function(){return this.T.seekable||TC([],[])}; +g.C.uI=function(){var N=this.T;return N.getStartDate?N.getStartDate():null}; +g.C.getCurrentTime=function(){return this.T.currentTime}; +g.C.setCurrentTime=function(N){this.T.currentTime=N}; +g.C.getDuration=function(){return this.T.duration}; +g.C.load=function(){var N=this.T.playbackRate;try{this.T.load()}catch(H){}this.T.playbackRate=N}; +g.C.pause=function(){this.T.pause()}; +g.C.play=function(){var N=this.T.play();if(!N||!N.then)return null;N.then(void 0,function(){}); +return N}; +g.C.gJ=function(){return this.T.readyState}; +g.C.ey=function(){return this.T.networkState}; +g.C.Wd=function(){return this.T.error?this.T.error.code:null}; +g.C.Yl=function(){return this.T.error?this.T.error.message:""}; +g.C.getVideoPlaybackQuality=function(){if(window.HTMLVideoElement&&this.T instanceof window.HTMLVideoElement&&this.T.getVideoPlaybackQuality)return this.T.getVideoPlaybackQuality();if(this.T){var N=this.T,H=N.webkitDroppedFrameCount;if(N=N.webkitDecodedFrameCount)return{droppedVideoFrames:H||0,totalVideoFrames:N}}return{}}; +g.C.Mp=function(){return!!this.T.webkitCurrentPlaybackTargetIsWireless}; +g.C.fm=function(){return!!this.T.webkitShowPlaybackTargetPicker()}; +g.C.togglePictureInPicture=function(){var N=this.T,H=window.document;window.document.pictureInPictureEnabled?this.T!==H.pictureInPictureElement?N.requestPictureInPicture():H.exitPictureInPicture():o6()&&N.webkitSetPresentationMode(N.webkitPresentationMode==="picture-in-picture"?"inline":"picture-in-picture")}; +g.C.pB=function(){return SSe(this.T)}; +g.C.getSize=function(){return g.WQ(this.T)}; +g.C.setSize=function(N){g.sb(this.T,N)}; +g.C.getVolume=function(){return this.T.volume}; +g.C.setVolume=function(N){xF();this.T.volume=N}; +g.C.x0=function(N){this.B[N]||(this.T.addEventListener(N,this.listener),this.B[N]=this.listener)}; +g.C.setAttribute=function(N,H){this.T.setAttribute(N,H)}; +g.C.removeAttribute=function(N){this.T.removeAttribute(N)}; +g.C.hasAttribute=function(N){return this.T.hasAttribute(N)}; +g.C.Xo=h3(62);g.C.L7=h3(65);g.C.UC=h3(68);g.C.We=h3(71);g.C.ov=function(){return ip(this.T)}; +g.C.TM=function(N){g.bV(this.T,N)}; +g.C.zV=function(N){return g.cb(this.T,N)}; +g.C.nL=function(){return g.m5(document.body,this.T)}; +g.C.audioTracks=function(){var N=this.T;if("audioTracks"in N)return N.audioTracks}; +g.C.Os=function(){for(var N=g.K(Object.keys(this.B)),H=N.next();!H.done;H=N.next())H=H.value,this.T.removeEventListener(H,this.B[H]);Jt.prototype.Os.call(this)}; +g.C.UZ=function(N){this.T.disableRemotePlayback=N};g.k(DP,g.e);g.k(Q_,g.e);Q_.prototype.show=function(){g.e.prototype.show.call(this);this.Df()}; +Q_.prototype.hide=function(){g.e.prototype.hide.call(this);this.delay.stop();this.U.stop()}; +Q_.prototype.Df=function(){var N=(0,g.Lh)(),H=Pyl(this.VS);iB(this.T,H.bandwidth_samples);iB(this.Y,H.network_activity_samples);iB(this.L,H.live_latency_samples);iB(this.B,H.buffer_health_samples);var c={};H=g.K(Object.entries(H));for(var t=H.next();!t.done;t=H.next()){var h=g.K(t.value);t=h.next().value;h=h.next().value;this.C[t]!==h&&(c[t]=" "+String(h));this.C[t]=h}this.update(c);N=(0,g.Lh)()-N>25?5E3:500;this.delay.start(N)}; +Q_.prototype.Z=function(){this.S?(this.position+=1,this.position>15&&(this.S=!1)):(--this.position,this.position<=0&&(this.S=!0));this.element.style.left=this.position+"%";this.element.style.top=this.position+"%";this.U.start(2E4)};g.k(GQ3,dK);g.k(Pb,g.L);Pb.prototype.T=function(){var N=(0,g.Lh)()-this.startTime;N=Nthis.U[N])&&(this.T=N,this.Tz())}; +g.C.onCueRangeExit=function(N){var H=HmD(this,N);H&&this.T===N&&this.api.QS("innertubeCommand",H);me(this);this.T=void 0}; +g.C.s3=function(N){this.L=N}; +g.C.Rf=function(){this.Tz();this.L=void 0}; +g.C.Tz=function(){if(this.T!==void 0){var N=(N=xw(this,this.T))&&N.onCueRangeEnter?d5(N.onCueRangeEnter):void 0;var H=xw(this,this.T);a:if(H&&H.additionalTrigger){var c=g.K(H.additionalTrigger);for(var t=c.next();!t.done;t=c.next())if(t=t.value,t.type){var h=void 0,O=void 0;if((h=this.NT[t.type])==null?0:h((O=t.args)!=null?O:{})){c=!0;break a}}c=!1}else c=!0;N&&c&&(this.api.QS("innertubeCommand",N),imt(this,H),this.U[this.T]!==void 0&&this.U[this.T]++,this.TW=!0)}}; +g.C.Os=function(){this.timelyActions=this.L=this.T=this.videoId=void 0;this.U={};this.UN();me(this);dK.prototype.Os.call(this)};g.k(Rih,dK);g.k(BG,n6);BG.prototype.U=function(N){this.L(N?2:1)}; +BG.prototype.dk=function(){var N=this.J.getPresentingPlayerType();N===2||N===3?this.T&&(this.T=!1,this.R4.cU(this)):(N=this.getVoiceBoostState(),N!==1?(N===0?(d1(this,this.B()===2),this.setEnabled(!0)):(d1(this,!1),this.setEnabled(!1)),this.T||(this.R4.Ou(this),this.T=!0)):this.T&&(this.R4.cU(this),this.T=!1))}; +BG.prototype.Os=function(){this.R4.cU(this);n6.prototype.Os.call(this)};g.k(js,dK);js.prototype.getVoiceBoostUserPreference=function(){return this.T}; +js.prototype.setVoiceBoostUserPreference=function(N){this.api.Lq("vb_set",{pref:N});g.h9("yt-player-voice-boost",N);N!==this.T&&(this.T=N,this.updateEnvironmentData(),this.getVoiceBoostState()!==1&&this.api.Fm(),this.api.D$())}; +js.prototype.getVoiceBoostState=function(){return this.api.Lb(1)}; +js.prototype.updateEnvironmentData=function(){this.api.D().MA=this.T};g.k(c1,dK);c1.prototype.Os=function(){this.Z&&(g.gb(this.Z),this.Z=void 0);dK.prototype.Os.call(this)}; +c1.prototype.vS=function(){(this.B?!this.T:this.L)&&N2(this)}; +c1.prototype.rJ=function(N,H,c){var t=this;if(LCv(N)){var h=c||"";if(this.T)H=bt(this,h),FFf(N,H);else{var O=new g.Ps;H.push(O.promise);this.S.promise.then(function(){var F=bt(t,h);FFf(N,F);O.resolve()})}}}; +c1.prototype.oM=function(N){var H=this;if(this.B||this.L)N.qO=bt(this,N.videoId),this.T||(this.U=new M9,this.S.promise.then(function(){H.f4.WN("pot_if");N.qO=bt(H,N.videoId)}))};g.k(g.h6,g.e);g.h6.prototype.select=function(){this.api.V5(this.suggestion.videoId,this.suggestion.sessionData,this.suggestion.playlistId,void 0,void 0,this.suggestion.lQ||void 0)&&this.api.logClick(this.element)}; +g.h6.prototype.onClick=function(N){if(g.PX(this.api.D())&&this.api.N("web_player_log_click_before_generating_ve_conversion_params")){this.api.logClick(this.element);var H=this.suggestion.ZD(),c={};g.d7(this.api,c);H=g.Of(H,c);g.Yc(H,this.api,N)}else g.KQ(N,this.api,this.B,this.suggestion.sessionData||void 0)&&this.select()}; +g.h6.prototype.onKeyPress=function(N){switch(N.keyCode){case 13:case 32:N.defaultPrevented||(this.select(),N.preventDefault())}}; +g.h6.prototype.onVideoDataChange=function(){var N=this.api.getVideoData(),H=this.api.D();this.B=N.Uc?!1:H.U};g.k(K0,g.e);K0.prototype.Os=function(){this.hide();g.bM(this.L);g.an(this.stills);this.stills.length=0;this.T&&(this.T.remove(),this.T=void 0);g.e.prototype.Os.call(this)}; +K0.prototype.Y=function(N){this.C&&this.C(N)}; +K0.prototype.onVideoDataChange=function(){if(!this.S){this.videoData=this.player.getVideoData(1);var N,H,c,t,h;var O=(((N=this.videoData)==null?0:(H=N.suggestions)==null?0:H.length)?(c=this.videoData)==null?void 0:c.suggestions:((t=this.videoData)==null?0:g.ZJ(t))?[(h=this.videoData)==null?void 0:g.ZJ(h)]:[]).slice(0,18);if((N=this.U)&&this.B)if(g.oH(N),O.length)for(this.stills.length>O.length&&g.an(this.stills.splice(O.length)),this.stills.length=O.length,H=0;H=0;N--)this.features[N].dispose();this.features.length=0;g.L.prototype.Os.call(this)};MDR.prototype.reset=function(){this.T=this.B=NaN};g.C=T_.prototype;g.C.reset=function(){db(this.timerName)}; +g.C.tick=function(N,H){Ai(N,H,this.timerName)}; +g.C.WN=function(N){return Es(N,void 0,this.timerName)}; +g.C.Yt=function(N){g.DO(N,void 0,this.timerName)}; +g.C.infoGel=function(N){g.YR(N,this.timerName)};g.k(Kgw,g.xo);g.C=Kgw.prototype;g.C.hasNext=function(N){return this.loop||!!N||this.index+1=0}; +g.C.setShuffle=function(N){this.shuffle=N;N=this.order&&this.order[this.index]!=null?this.order[this.index]:this.index;this.order=[];for(var H=0;H=H.top&&N.right<=H.right&&N.bottom<=H.bottom&&N.left>=H.left))return}Oo(this,2,!1)}; +g.C.U_=function(N){var H=new g.Sr(N.pageX,N.pageY);mB(H,this.U)||(this.U=H,(N=N.target)&&this.ev(N)&&(Oo(this,4,!0),this.T.G3(this.L),this.L=this.T.G(this.target,"mouseover",this.uO),this.C=this.T.G(this.target,"mouseout",this.uO)))}; +g.C.uO=function(N){N=N.relatedTarget;N&&this.ev(N)||(this.U=new g.Sr(NaN,NaN),bJR(this))}; +g.C.Pgo=function(){Oo(this,1,!0)}; +g.C.zq=function(N){N=N.target;N instanceof Element&&!(N.tabIndex>0)||Oo(this,1,!0)}; +g.C.NS=function(){this.Y=!0;this.T.G3(this.S);this.S=this.T.G(document,"mouseup",this.ud)}; +g.C.ud=function(){this.Y=!1;Oo(this,8,!1);this.T.G3(this.S);this.S=this.T.G(this.target,"mousedown",this.NS)}; +g.C.cq=function(N){if(N=(N=N.changedTouches)&&N[0])this.NT=N.identifier,this.T.G3(this.Z),this.Z=this.T.G(this.target,"touchend",this.Kw,void 0,!0),Oo(this,1024,!0)}; +g.C.Kw=function(N){if(N=N.changedTouches)for(var H=0;H1280||h>720)if(H=t.Ds("maxresdefault.jpg"))break;if(O>640||h>480)if(H=t.Ds("maxresdefault.jpg"))break;if(O>320||h>180)if(H=t.Ds("sddefault.jpg")||t.Ds("hqdefault.jpg")||t.Ds("mqdefault.jpg"))break;if(H=t.Ds("default.jpg"))break}g.ru(N)&&(N=new Image,N.addEventListener("load", +function(){ymf()}),N.src=H?H:"",this.api.Um().tick("ftr")); +this.U.style.backgroundImage=H?"url("+H+")":""};g.k(g.dj,g.e);g.dj.prototype.resize=function(){}; +g.dj.prototype.B=function(N){var H=this;this.L=!1;UXL(this);var c=N.Z9,t=this.api.D();c!=="GENERIC_WITHOUT_LINK"||t.Y?c==="TOO_MANY_REQUESTS"?(t=this.api.getVideoData(),this.setContent(i4(this,"TOO_MANY_REQUESTS_WITH_LINK",t.ZD(),void 0,void 0,void 0,!1))):c!=="HTML5_NO_AVAILABLE_FORMATS_FALLBACK"||t.Y?this.api.D().N("html5_enable_bandaid_error_screen")&&c==="HTML5_SPS_UMP_STATUS_REJECTED"&&!t.Y?(t=t.hostLanguage,N="//support.google.com/youtube?p=videoError",t&&(N=g.Of(N,{hl:t})),this.setContent(i4(this, +"HTML5_SPS_UMP_STATUS_REJECTED",N))):this.api.D().N("enable_adb_handling_in_sabr")&&c==="BROWSER_OR_EXTENSION_ERROR"&&!t.Y?(t=t.hostLanguage,N="//support.google.com/youtube/answer/3037019#zippy=%2Cupdate-your-browser-and-check-your-extensions",t&&(N=g.Of(N,{hl:t})),this.setContent(i4(this,"BROWSER_OR_EXTENSION_ERROR",N))):this.setContent(g.Co(N.errorMessage)):this.setContent(i4(this,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK_SHORT","//www.youtube.com/supported_browsers")):(N=t.hostLanguage,c= +"//support.google.com/youtube/?p=player_error1",N&&(c=g.Of(c,{hl:N})),this.setContent(i4(this,"GENERIC_WITH_LINK_AND_CPN",c,!0)),t.Dt&&!t.U&&Baf(this,function(O){if(g.KQ(O,H.api,!V8(H.api.D()))){O={as3:!1,html5:!0,player:!0,cpn:H.api.getVideoData().clientPlaybackNonce};var F=H.api;F.Ic("onFeedbackArticleRequest",{articleId:3037019,helpContext:"player_error",productData:O});F.isFullscreen()&&F.toggleFullscreen()}})); +if(this.L){var h=this.Sa("ytp-error-link");h&&(this.api.createClientVe(h,this,216104),this.api.logVisibility(h,!0),Baf(this,function(){H.api.logClick(h)}))}}; +var uHZ=/([^<>]+)<\/a>/;g.k(cIR,g.e);cIR.prototype.PR=function(N,H,c){c=c===void 0?!1:c;switch(H){case 1:Rh(this,N,this.L,c);break;case 2:Rh(this,N,this.U,c);break;case 3:Rh(this,N,this.T,c);break;case 4:Rh(this,N,this.B,c)}};g.k(Je,g.e);g.C=Je.prototype;g.C.onClick=function(N){this.innertubeCommand?(this.J.QS("innertubeCommand",this.innertubeCommand),N.preventDefault()):g.KQ(N,this.J,!0);this.J.logClick(this.element)}; +g.C.onVideoDataChange=function(N,H){sph(this,H);this.y0&&dRR(this,this.y0)}; +g.C.GA=function(N){var H=this.J.getVideoData();this.videoId!==H.videoId&&sph(this,H);this.T&&dRR(this,N.state);this.y0=N.state}; +g.C.aD=function(){this.fade.show();this.J.publish("paidcontentoverlayvisibilitychange",!0);this.J.logVisibility(this.element,!0)}; +g.C.e1=function(){this.fade.hide();this.J.publish("paidcontentoverlayvisibilitychange",!1);this.J.logVisibility(this.element,!1)};g.k(zw,g.e);zw.prototype.hide=function(){this.T.stop();this.message.style.display="none";g.e.prototype.hide.call(this)}; +zw.prototype.onStateChange=function(N){this.Xf(N.state)}; +zw.prototype.Xf=function(N){if(g.y(N,128)||this.api.WD())var H=!1;else{var c;H=this.api.N("web_watch_enable_multiview_manager")&&((c=this.api.getVideoData())==null?0:Yd(c))?!1:g.y(N,16)||g.y(N,1)?!0:!1}H?this.T.start():this.hide()}; +zw.prototype.B=function(){this.message.style.display="block"};g.k(Th,g.Gv);Th.prototype.onMutedAutoplayChange=function(N){this.B&&(N?(P1w(this),this.aD()):(this.T&&this.logClick(),this.e1()))}; +Th.prototype.Wv=function(N){this.api.isMutedByMutedAutoplay()&&g.tC(N,2)&&this.e1()}; +Th.prototype.onClick=function(){this.api.unMute();this.logClick()}; +Th.prototype.logClick=function(){this.clicked||(this.clicked=!0,this.api.logClick(this.element))};g.k(g.ju,g.Ww);g.C=g.ju.prototype;g.C.init=function(){var N=this.api,H=N.getPlayerStateObject();this.pD=N.getPlayerSize();this.RD(H);this.Dx();this.Mc();this.api.publish("basechromeinitialized",this);this.Zg()&&this.api.publish("standardControlsInitialized")}; +g.C.onVideoDataChange=function(N,H){var c=this.Wt!==H.videoId;if(c||N==="newdata")N=this.api,N.isFullscreen()||(this.pD=N.getPlayerSize());c&&(this.Wt=H.videoId,c=this.HU,c.Ix=3E3,Oo(c,512,!0),this.Dx());this.api.N("web_render_jump_buttons")&&H.showSeekingControls&&(this.eF=572)}; +g.C.z1q=function(){this.onVideoDataChange("newdata",this.api.getVideoData())}; +g.C.Ca=function(){var N=this.api.Jd()&&this.api.m8(),H=this.api.Vt();return this.Og||N||this.hv||H}; +g.C.Iy=function(){var N=!this.Ca();g.QH(this.api.getRootNode(),"ytp-menu-shown",!N)}; +g.C.ev=function(N){try{if(!g.m5(this.api.getRootNode(),N))return!1}catch(H){return!1}for(;N&&!Eg(N);)N=N===this.api.getRootNode()?null:N.parentElement||null;return!!N}; +g.C.vD=function(N){var H=this.api.getRootNode();g.QH(H,"ytp-autohide",N);g.QH(H,"ytp-autohide-active",!0);this.ib.start(N?250:100);N&&(this.gT=!1,g.nH(H,"ytp-touch-mode"));this.l8=!N;this.api.s7(!N);this.api.N("web_player_enable_fullscreen_grid_components")&&this.api.publish("autohideupdate",N)}; +g.C.YF=function(){var N=this.api.getRootNode();g.QH(N,"ytp-autohide-active",!1)}; +g.C.a6s=function(){this.gI=!0}; +g.C.qyS=function(N){if(this.api.D().N("player_doubletap_to_seek")||this.api.D().C)this.gI=!1,this.PS&&this.G3(this.PS),this.Zv===0&&dH(this,N)?(this.W5(),this.Lr.start(),this.PS=this.G(this.api.BO(),"touchmove",this.a6s,void 0,!0)):this.Lr.stop();kmR(this)&&dH(this,N)&&!this.api.D().C&&dg(this);var H=this.Kv.td();if(!g.PX(this.api.D())&&yl&&f6(this,N))H&&N.preventDefault();else if(this.gT=!0,g.bV(this.api.getRootNode(),"ytp-touch-mode"),this.HU.GZ(),this.api.D().N("player_doubletap_to_seek")||this.api.D().C)if(H= +this.api.getPlayerStateObject(),!(!this.api.T6()||g.y(H,2)&&g.fp(this.api)||g.y(H,64))){H=Date.now()-this.gt;this.Zv+=1;if(H<=350){this.zO=!0;H=this.api.getPlayerSize().width/3;var c=this.api.getRootNode().getBoundingClientRect(),t=N.targetTouches[0].clientX-c.left;c=N.targetTouches[0].clientY-c.top;var h=(this.Zv-1)*10;t>0&&tH*2&&t=650,t=N.width<528;this.HU.resize();if(this.api.N("web_player_use_screen_width_for_big_mode")){var h,O=N.width>=((h=g.Mx(this.api.D().experiments,"web_player_big_mode_screen_width_cutoff"))!=null?h:2E3);g.QH(H,"ytp-big-mode",O)}g.QH(H,"ytp-fullscreen",this.api.isFullscreen());g.QH(H,"ytp-large-width-mode",c);this.api.N("delhi_modern_web_player")?g.QH(H,"ytp-xsmall-width-mode",t):g.QH(H,"ytp-small-mode",this.i$()); +g.QH(H,"ytp-tiny-mode",this.Do());g.QH(H,"ytp-big-mode",this.J3());this.ej&&this.ej.resize(N)}; +g.C.Wv=function(N){this.RD(N.state);this.Dx()}; +g.C.Et=h3(3);g.C.J8=function(){var N=!!this.Wt&&!this.api.IW()&&!this.ph,H=this.api.getPresentingPlayerType()===2,c=this.api.D();if(H)return c=pH(this.api.g_()),N&&(c&&c.player?N=(N=c.player.getVideoData(2))?N.isListed&&!g.El(c.player.D()):!1:(KA("showInfoBarDuringAd: this is null"),N=!1)),N;H=c.N("web_player_imax_theater_mode")&&this.api.VB()&&!this.api.isInline();return N&&(c.ya||H||this.api.isFullscreen()||c.M0)}; +g.C.Dx=function(){var N=this.J8();this.kN!==N&&(this.kN=N,g.QH(this.api.getRootNode(),"ytp-hide-info-bar",!N))}; +g.C.RD=function(N){var H=N.isCued()||this.api.hU()&&this.api.getPresentingPlayerType()!==3;H!==this.isCued&&(this.isCued=H,this.Yj&&this.G3(this.Yj),this.Yj=this.G(this.api.BO(),"touchstart",this.qyS,void 0,H));var c=this.HU,t=N.isPlaying()&&!g.y(N,32)||this.api.Ae();Oo(c,128,!t);c=this.HU;t=this.api.getPresentingPlayerType()===3;Oo(c,256,t);c=this.api.getRootNode();g.y(N,2)?t=[BC.ENDED]:(t=[],g.y(N,8)?t.push(BC.PLAYING):g.y(N,4)&&t.push(BC.PAUSED),g.y(N,1)&&!g.y(N,32)&&t.push(BC.BUFFERING),g.y(N, +32)&&t.push(BC.SEEKING),g.y(N,64)&&t.push(BC.UNSTARTED));g.bo(this.U6,t)||(g.pU(c,this.U6),this.U6=t,g.iW(c,t));t=this.api.D();var h=g.y(N,2);a:{var O=this.api.D();var F=O.controlsType;switch(F){case "2":case "0":O=!1;break a}O=F==="3"&&!g.y(N,2)||this.isCued||(this.api.getPresentingPlayerType()!==2?0:m3v(pH(this.api.g_())))||this.api.Vt()||g.PX(O)&&this.api.getPresentingPlayerType()===2?!1:!0}g.QH(c,"ytp-hide-controls",!O);g.QH(c,"ytp-native-controls",t.controlsType==="3"&&!H&&!h&&!this.hv);g.y(N, +128)&&!g.PX(t)?(this.ej||(this.ej=new g.dj(this.api),g.l(this,this.ej),g.aG(this.api,this.ej.element,4)),this.ej.B(N.vN),this.ej.show()):this.ej&&(this.ej.dispose(),this.ej=null)}; +g.C.R$=function(){return this.api.Jd()&&this.api.m8()?(this.api.o6(!1,!1),!0):this.api.IW()?(g.JU(this.api,!0),!0):!1}; +g.C.onMutedAutoplayChange=function(N){this.hv=N;this.Iy()}; +g.C.J3=function(){return!1}; +g.C.i$=function(){return!this.J3()&&(this.api.getPlayerSize().width=0&&H.left>=0&&H.bottom>H.top&&H.right>H.left?H:null;H=this.size;N=N.clone();H=H.clone();t&&(F=H,h=5,(h&65)==65&&(N.x=t.right)&&(h&=-2),(h&132)==132&&(N.y=t.bottom)&&(h&=-5),N.xt.right&&(F.width=Math.min(t.right-N.x,O+F.width-t.left),F.width=Math.max(F.width,0))),N.x+F.width>t.right&&h&1&&(N.x=Math.max(t.right-F.width,t.left)),N.yt.bottom&&(F.height=Math.min(t.bottom-N.y,O+F.height-t.top),F.height=Math.max(F.height,0))),N.y+F.height>t.bottom&&h&4&&(N.y=Math.max(t.bottom-F.height,t.top)));t=new g.HS(0,0,0,0);t.left=N.x;t.top=N.y;t.width= +H.width;t.height=H.height;g.LO(this.element,new g.Sr(t.left,t.top));g.bM(this.B);this.B.G(ee(this),"contextmenu",this.Mgi);this.B.G(this.J,"fullscreentoggled",this.onFullscreenToggled);this.B.G(this.J,"pageTransition",this.Zw)}; +g.C.Mgi=function(N){if(!N.defaultPrevented){var H=fI(N);g.m5(this.element,H)||this.e1();this.J.D().disableNativeContextMenu&&N.preventDefault()}}; +g.C.onFullscreenToggled=function(){this.e1();e4v(this)}; +g.C.Zw=function(){this.e1()};g.k(UQ,g.e);UQ.prototype.onClick=function(){var N=this,H,c,t,h;return g.Y(function(O){if(O.T==1)return H=N.api.D(),c=N.api.getVideoData(),t=N.api.getPlaylistId(),h=H.getVideoUrl(c.videoId,t,void 0,!0),g.a(O,R4f(N,h),2);O.B&&whh(N);N.api.logClick(N.element);g.Z3(O)})}; +UQ.prototype.Df=function(){this.updateValue("icon",{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M21.9,8.3H11.3c-0.9,0-1.7,.8-1.7,1.7v12.3h1.7V10h10.6V8.3z M24.6,11.8h-9.7c-1,0-1.8,.8-1.8,1.8v12.3 c0,1,.8,1.8,1.8,1.8h9.7c1,0,1.8-0.8,1.8-1.8V13.5C26.3,12.6,25.5,11.8,24.6,11.8z M24.6,25.9h-9.7V13.5h9.7V25.9z"}}]});this.updateValue("title-attr","Copy link");this.updateValue("tooltip-title","Copy link");this.visible=Gkf(this);g.QH(this.element, +"ytp-copylink-button-visible",this.visible);this.a4(this.visible);this.tooltip.oo();this.api.logVisibility(this.element,this.visible&&this.TW)}; +UQ.prototype.lX=function(N){g.e.prototype.lX.call(this,N);this.api.logVisibility(this.element,this.visible&&N)}; +UQ.prototype.Os=function(){g.e.prototype.Os.call(this);g.nH(this.element,"ytp-copylink-button-visible")};g.k(J6t,g.e);g.C=J6t.prototype;g.C.show=function(){g.e.prototype.show.call(this);g.lY(this.B)}; +g.C.hide=function(){this.U.stop();this.L=0;this.Sa("ytp-seek-icon").style.display="none";this.updateValue("seekIcon","");g.nH(this.element,"ytp-chapter-seek");g.nH(this.element,"ytp-time-seeking");g.e.prototype.hide.call(this)}; +g.C.TF=function(N,H,c,t){this.L=N===this.Y?this.L+t:t;this.Y=N;var h=N===-1?this.Z:this.C;h&&this.J.logClick(h);this.S?this.B.stop():g.Ms(this.B);this.U.start();this.element.setAttribute("data-side",N===-1?"back":"forward");var O=3*this.J.BO().getPlayerSize().height;h=this.J.BO().getPlayerSize();h=h.width/3-3*h.height;this.T.style.width=O+"px";this.T.style.height=O+"px";N===1?(this.T.style.left="",this.T.style.right=h+"px"):N===-1&&(this.T.style.right="",this.T.style.left=h+"px");var F=O*2.5;O=F/ +2;var M=this.Sa("ytp-doubletap-ripple");M.style.width=F+"px";M.style.height=F+"px";N===1?(N=this.J.BO().getPlayerSize().width-H+Math.abs(h),M.style.left="",M.style.right=N-O+"px"):N===-1&&(N=Math.abs(h)+H,M.style.right="",M.style.left=N-O+"px");M.style.top="calc((33% + "+Math.round(c)+"px) - "+O+"px)";if(c=this.Sa("ytp-doubletap-ripple"))c.classList.remove("ytp-doubletap-ripple"),c.classList.add("ytp-doubletap-ripple");cxZ(this,this.S?this.L:t)}; +g.C.En=function(N,H,c){if(c=c===void 0?null:c){var t=N===-1?this.Z.visualElement:this.C.visualElement;c={seekData:c};var h=g.gi();h&&Rg(h,t,"INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS",c)}this.L=N===this.Y?this.L+H:H;this.Y=N;t=this.J.BO().getPlayerSize();this.S?this.B.stop():g.Ms(this.B);this.U.start();this.element.setAttribute("data-side",N===-1?"back":"forward");g.bV(this.element,"ytp-time-seeking");this.T.style.width="110px";this.T.style.height="110px";c=t.width*.1-15;N===1?this.Bp?(this.T.style.right= +c+"px",this.T.style.left=""):(this.T.style.right="",this.T.style.left=t.width*.8-30+"px"):N===-1&&(this.Bp?(this.T.style.right="",this.T.style.left=c+"px"):(this.T.style.right="",this.T.style.left=t.width*.1-15+"px"));this.T.style.top=t.height*.5+15+"px";cxZ(this,this.S?this.L:H)}; +g.C.ze=function(N,H,c){c=c===void 0?null:c;g.Ms(this.B);this.U.start();switch(N){case -1:N="back";break;case 1:N="forward";break;default:N=""}this.element.setAttribute("data-side",N);this.T.style.width="0";this.T.style.height="0";g.bV(this.element,"ytp-chapter-seek");this.updateValue("seekText",H);this.updateValue("seekTime","");H=this.Sa("ytp-seek-icon");if(c){a:if(c){switch(c){case "PREMIUM_STANDALONE":c=vNs();break a;case "PREMIUM_STANDALONE_CAIRO":c=dyf();break a}c=void 0}else c=null;this.updateValue("seekIcon", +c);H.style.display="inline-block"}else H.style.display="none"};g.k(Kwv,Qr);g.C=Kwv.prototype;g.C.zA=function(N){this.gE||(this.gE=new B8(this.J),g.l(this,this.gE));var H,c;if((H=this.kG)==null?0:(c=H.menu)==null?0:c.menuRenderer)this.gE.open(this.kG.menu.menuRenderer,N.target),N.preventDefault()}; +g.C.TG=function(){return!!this.T}; +g.C.l6=function(){return!!this.T}; +g.C.zK=function(N){N.target===this.overflowButton.element?N.preventDefault():(this.T3&&this.J.QS("innertubeCommand",this.T3),this.iC(!1))}; +g.C.KP=function(){this.iC(!0);var N,H;if((N=this.T)==null?0:(H=N.bannerData)==null?0:H.dismissedStatusKey){if(this.w_.includes(this.T.bannerData.dismissedStatusKey))return;this.w_.push(this.T.bannerData.dismissedStatusKey)}this.v4();this.J.N("web_enable_shopping_timely_shelf_client")&&(N={},g.T2(N,Idd,{overlayId:"player_overlay_timely_shelf"}),this.J.QS("innertubeCommand",N))}; +g.C.IZ=function(){this.v4();GN(this)}; +g.C.HC_=function(N){var H=this,c;if(N.id!==((c=this.T)==null?void 0:c.identifier)){this.v4();c=g.K(this.NT);for(var t=c.next();!t.done;t=c.next()){var h=t.value,O=void 0,F=void 0;if((t=(O=h)==null?void 0:(F=O.bannerData)==null?void 0:F.itemData)&&h.identifier===N.id){F=O=void 0;var M=((O=h)==null?void 0:(F=O.bannerData)==null?void 0:F.dismissedStatusKey)||"";if(this.w_.includes(M))return;this.T=h;this.banner.element.setAttribute("aria-label",t.accessibilityLabel||"");t.trackingParams&&(this.U=!0, +this.J.setTrackingParams(this.badge.element,t.trackingParams));this.show();this.Z.show();hZ(this);this.Ix.a4(!t.stayInApp);qMZ(this);v2(this);eO(this);this.T3=g.P(t.onTapCommand,xR);if(h=g.P(t.menuOnTap,xR))this.kG=g.P(h,cG4);h=void 0;this.banner.update({thumbnail:(h=(t.thumbnailSources||[])[0])==null?void 0:h.url,title:t.productTitle,price:t.priceReplacementText?t.priceReplacementText:t.price,salesOriginalPrice:pWZ(this),priceDropReferencePrice:NBe(this),promotionText:Xk3(this),priceA11yText:Qhv(this), +affiliateDisclaimer:t.affiliateDisclaimer,vendor:wq(this)});M=F=O=h=void 0;((h=t)==null?0:(O=h.hiddenProductOptions)==null?0:O.showDropCountdown)&&((F=t)==null?0:(M=F.hiddenProductOptions)==null?0:M.dropTimestampMs)&&(this.Dt=new g.kT(function(){clR(H)},1E3),this.Ix.hide(),this.countdownTimer.show(),clR(this)); +this.J.N("web_player_enable_featured_product_banner_exclusives_on_desktop")&&oKf(this)&&(this.n4=new g.kT(function(){LmZ(H)},1E3),LmZ(this))}}this.J.getRootNode()&&g.bV(this.J.getRootNode(),"ytp-featured-product-shown")}}; +g.C.v4=function(){this.T&&(this.T=void 0,this.Ri(),this.J.getRootNode()&&g.nH(this.J.getRootNode(),"ytp-featured-product-shown"))}; +g.C.onVideoDataChange=function(N,H){var c=this;N==="dataloaded"&&GN(this);var t,h,O;N=g.P((t=H.getWatchNextResponse())==null?void 0:(h=t.playerOverlays)==null?void 0:(O=h.playerOverlayRenderer)==null?void 0:O.productsInVideoOverlayRenderer,HgZ);this.overflowButton.show();this.dismissButton.hide();var F=N==null?void 0:N.featuredProductsEntityKey;this.trendingOfferEntityKey=N==null?void 0:N.trendingOfferEntityKey;this.NT.length||(NwR(this,F),eO(this));var M;(M=this.mz)==null||M.call(this);this.mz=g.gq.subscribe(function(){NwR(c, +F);eO(c)})}; +g.C.Os=function(){GN(this);qMZ(this);v2(this);Qr.prototype.Os.call(this)};g.k(Xl,g.e);Xl.prototype.onClick=function(){this.J.logClick(this.element,this.L);if(this.J.N("embeds_enable_info_panel_dismissal")&&this.T&&this.feedbackToken){var N=this.J.h9();if(N==null?0:aHh(this.T,N.SW))KF(N,this.T,{feedbackTokens:[this.feedbackToken]}),this.J.publish("infopaneldetaildismissed")}};g.k(fO,g.Gv);g.C=fO.prototype;g.C.show=function(){g.Gv.prototype.show.call(this);this.J.publish("infopaneldetailvisibilitychange",!0);this.J.logVisibility(this.element,!0);$Dd(this,!0)}; +g.C.hide=function(){g.Gv.prototype.hide.call(this);this.J.publish("infopaneldetailvisibilitychange",!1);this.J.logVisibility(this.element,!1);$Dd(this,!1)}; +g.C.getId=function(){return this.L}; +g.C.AU=function(){return this.itemData.length}; +g.C.onVideoDataChange=function(N,H){if(H){var c,t,h,O;this.update({title:((c=H.gk)==null?void 0:(t=c.title)==null?void 0:t.content)||"",body:((h=H.gk)==null?void 0:(O=h.bodyText)==null?void 0:O.content)||""});var F;N=((F=H.gk)==null?void 0:F.trackingParams)||null;this.J.setTrackingParams(this.element,N);F=g.K(this.itemData);for(N=F.next();!N.done;N=F.next())N.value.dispose();this.itemData=[];var M;if((M=H.gk)==null?0:M.ctaButtons)for(H=g.K(H.gk.ctaButtons),M=H.next();!M.done;M=H.next())if(M=g.P(M.value, +G3d))M=new Xl(this.J,M,this.T),M.DI&&(this.itemData.push(M),M.Jl(this.items))}}; +g.C.Os=function(){this.hide();g.Gv.prototype.Os.call(this)};g.k(WBR,g.e);g.C=WBR.prototype;g.C.onVideoDataChange=function(N,H){dcs(this,H);this.y0&&q03(this,this.y0)}; +g.C.jU=function(N){var H=this.J.getVideoData();this.videoId!==H.videoId&&dcs(this,H);q03(this,N.state);this.y0=N.state}; +g.C.v2=function(N){(this.L=N)?this.hide():this.T&&!this.isDismissed&&this.show()}; +g.C.Xw=function(){this.B||this.aD();this.showControls=!0}; +g.C.bd=function(){this.B||this.e1();this.showControls=!1}; +g.C.aD=function(){if(!this.isDismissed){var N,H=(N=this.J)==null?void 0:N.getPlayerSize();N=H.width<380;var c;H=H.height<(((c=this.J)==null?0:c.isEmbedsShortsMode())?400:280);var t,h;(((t=this.J)==null?0:t.getPlayerStateObject().isCued())||((h=this.J)==null?0:g.y(h.getPlayerStateObject(),1024)))&&N&&H||!this.T||this.L||(this.fade.show(),this.J.publish("infopanelpreviewvisibilitychange",!0),this.J.logVisibility(this.element,!0))}}; +g.C.e1=function(){this.T&&!this.L&&(this.fade.hide(),this.J.publish("infopanelpreviewvisibilitychange",!1),this.J.logVisibility(this.element,!1))}; +g.C.nPa=function(){this.B=!1;this.showControls||this.e1()};var iqg={"default":0,monoSerif:1,propSerif:2,monoSans:3,propSans:4,casual:5,cursive:6,smallCaps:7};Object.keys(iqg).reduce(function(N,H){N[iqg[H]]=H;return N},{}); +var cO4={none:0,raised:1,depressed:2,uniform:3,dropShadow:4};Object.keys(cO4).reduce(function(N,H){N[cO4[H]]=H;return N},{}); +var tOZ={normal:0,bold:1,italic:2,bold_italic:3};Object.keys(tOZ).reduce(function(N,H){N[tOZ[H]]=H;return N},{});var hJg,Oq5;hJg=[{option:"#fff",text:"White"},{option:"#ff0",text:"Yellow"},{option:"#0f0",text:"Green"},{option:"#0ff",text:"Cyan"},{option:"#00f",text:"Blue"},{option:"#f0f",text:"Magenta"},{option:"#f00",text:"Red"},{option:"#080808",text:"Black"}];Oq5=[{option:0,text:Vb(0)},{option:.25,text:Vb(.25)},{option:.5,text:Vb(.5)},{option:.75,text:Vb(.75)},{option:1,text:Vb(1)}]; +g.qD=[{option:"fontFamily",text:"Font family",options:[{option:1,text:"Monospaced Serif"},{option:2,text:"Proportional Serif"},{option:3,text:"Monospaced Sans-Serif"},{option:4,text:"Proportional Sans-Serif"},{option:5,text:"Casual"},{option:6,text:"Cursive"},{option:7,text:"Small Capitals"}]},{option:"color",text:"Font color",options:hJg},{option:"fontSizeIncrement",text:"Font size",options:[{option:-2,text:Vb(.5)},{option:-1,text:Vb(.75)},{option:0,text:Vb(1)},{option:1,text:Vb(1.5)},{option:2, +text:Vb(2)},{option:3,text:Vb(3)},{option:4,text:Vb(4)}]},{option:"background",text:"Background color",options:hJg},{option:"backgroundOpacity",text:"Background opacity",options:Oq5},{option:"windowColor",text:"Window color",options:hJg},{option:"windowOpacity",text:"Window opacity",options:Oq5},{option:"charEdgeStyle",text:"Character edge style",options:[{option:0,text:"None"},{option:4,text:"Drop Shadow"},{option:1,text:"Raised"},{option:2,text:"Depressed"},{option:3,text:"Outline"}]},{option:"textOpacity", +text:"Font opacity",options:[{option:.25,text:Vb(.25)},{option:.5,text:Vb(.5)},{option:.75,text:Vb(.75)},{option:1,text:Vb(1)}]}];var F6c=[27,9,33,34,13,32,187,61,43,189,173,95,79,87,67,80,78,75,70,65,68,87,83,107,221,109,219];g.k(CX,g.Ww);g.C=CX.prototype; +g.C.Ps=function(N){N.repeat||(this.L.XB=!1);var H=!1,c=N.keyCode,t=fI(N),h=!N.altKey&&!N.ctrlKey&&!N.metaKey&&(!this.api.isMutedByEmbedsMutedAutoplay()||F6c.includes(c)),O=!1,F=!1,M=this.api.D();N.defaultPrevented?(h=!1,F=!0):M.Jj&&!this.api.isMutedByEmbedsMutedAutoplay()&&(h=!1);if(c===9)H=!0;else{if(t)switch(c){case 32:case 13:if(t.tagName==="BUTTON"||t.tagName==="A"||t.tagName==="INPUT")H=!0,h=!1;else if(h){var f=t.getAttribute("role");!f||f!=="option"&&f!=="button"&&f.indexOf("menuitem")!==0|| +(H=!0,t.click(),O=!0)}break;case 37:case 39:case 36:case 35:H=t.getAttribute("role")==="slider";break;case 38:case 40:f=t.getAttribute("role"),t=c===38?t.previousSibling:t.nextSibling,f==="slider"?H=!0:h&&(f==="option"?(t&&t.getAttribute("role")==="option"&&t.focus(),O=H=!0):f&&f.indexOf("menuitem")===0&&(t&&t.hasAttribute("role")&&t.getAttribute("role").indexOf("menuitem")===0&&t.focus(),O=H=!0))}if(h&&!O)switch(c){case 38:O=Math.min(this.api.getVolume()+5,100);Q9(this.eg,O,!1);this.api.setVolume(O); +F=O=!0;break;case 40:O=Math.max(this.api.getVolume()-5,0);Q9(this.eg,O,!0);this.api.setVolume(O);F=O=!0;break;case 36:this.api.T6()&&(this.api.startSeekCsiAction(),this.api.seekTo(0,void 0,void 0,void 0,79),F=O=!0);break;case 35:this.api.T6()&&(this.api.startSeekCsiAction(),this.api.seekTo(Infinity,void 0,void 0,void 0,80),F=O=!0)}}H&&Ra(this,!0);(H||F)&&this.HU.GZ();(O||h&&this.handleGlobalKeyDown(c,N.shiftKey,N.ctrlKey,N.altKey,N.metaKey,N.key,N.code,N.repeat))&&N.preventDefault();M.Z&&(N={keyCode:N.keyCode, +altKey:N.altKey,ctrlKey:N.ctrlKey,metaKey:N.metaKey,shiftKey:N.shiftKey,handled:N.defaultPrevented,fullscreen:this.api.isFullscreen()},this.api.vU("onKeyPress",N))}; +g.C.Yk=function(N){var H=N.keyCode;!this.L.bf&&this.handleGlobalKeyUp(H,N.shiftKey,N.ctrlKey,N.altKey,N.metaKey,N.key,N.code)&&N.preventDefault()}; +g.C.handleGlobalKeyUp=function(N,H,c,t,h,O,F){this.api.publish("keyboardserviceglobalkeyup",{keyCode:N,shiftKey:H,ctrlKey:c,altKey:t,metaKey:h,key:O,code:F});H=!1;if(this.L.XB)return H;(O=g.RS(this.api.g_()))&&(O=O.fg)&&O.I4&&(O.Ng(N),H=!0);switch(N){case 9:Ra(this,!0);H=!0;break;case 32:if(this.api.N("web_speedmaster_spacebar_control")&&!this.api.D().Jj){var M,f;N=(M=this.progressBar)==null?void 0:(f=M.B)==null?void 0:f.isEnabled;H=this.Kg(N)}break;case 39:(this.api.N("web_player_chapter_seeking_keyboard_shortcut_killswitch")|| +!(h||c&&t))&&(Ej?t:c)&&this.api.T6()&&this.api.N("web_enable_keyboard_shortcut_for_timely_actions")&&(this.api.startSeekCsiAction(),M=(M=this.api.getVideoData())?M.bX:[],f=IhD(M,this.api.getCurrentTime()*1E3),f!==-1&&this.T!=null&&(this.T.ze(1,M[f].title),this.api.seekTo(M[f].startTime/1E3,void 0,void 0,void 0,52),H=!0))}return H}; +g.C.handleGlobalKeyDown=function(N,H,c,t,h,O,F,M){M||(this.L.XB=!1);var f=!1,d=this.api.D();if(d.Jj&&!this.api.isMutedByEmbedsMutedAutoplay())return f;var W=g.RS(this.api.g_());if(W&&(W=W.fg)&&W.I4)switch(N){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:f=W.JD(N)}d.Y||f||(f=O||String.fromCharCode(N).toLowerCase(),this.B+=f,"awesome".indexOf(this.B)===0||this.api.N("web_player_rtr_ctrls")&&"bday".indexOf(this.B)===0?(f=!0,4===this.B.length&&this.B==="bday"&&this.api.N("web_player_rtr_ctrls")&& +(BzS(this.S),this.HU.GZ()),7===this.B.length&&this.B==="awesome"&&byL(this.api.getRootNode(),"ytp-color-party")):(this.B=f,f="awesome".indexOf(this.B)===0||"bday".indexOf(this.B)===0));if(!f&&(!this.api.isMutedByEmbedsMutedAutoplay()||F6c.includes(N))){var z=this.api.getVideoData(),E,x;W=(E=this.progressBar)==null?void 0:(x=E.B)==null?void 0:x.isEnabled;E=z?z.bX:[];x=Ej?t:c;switch(N){case 80:H&&!d.Kq&&(Dc(this.eg,Iww(),"Previous"),this.api.previousVideo(),f=!0);break;case 78:H&&!d.Kq&&(Dc(this.eg, +yH(),"Next"),this.api.nextVideo(),f=!0);break;case 74:this.api.T6()&&(this.api.startSeekCsiAction(),this.T?this.api.N("enable_key_press_seek_logging")?(f=YF(this,-10*this.api.getPlaybackRate(),"SEEK_SOURCE_SEEK_BACKWARD_10S"),this.T.En(-1,10,f)):this.T.En(-1,10):Dc(this.eg,{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z M 16.9,22 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 -0.2,0 -0.4,.1 -0.6,.1 -0.2,0 -0.4,0 -0.6,-0.1 -0.2,-0.1 -0.3,-0.2 -0.5,-0.3 -0.2,-0.1 -0.2,-0.3 -0.3,-0.6 -0.1,-0.3 -0.1,-0.5 -0.1,-0.8 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.9,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}), +this.api.seekBy(-10*this.api.getPlaybackRate(),void 0,void 0,73),f=!0);break;case 76:this.api.T6()&&(this.api.startSeekCsiAction(),this.T?this.api.N("enable_key_press_seek_logging")?(f=YF(this,10*this.api.getPlaybackRate(),"SEEK_SOURCE_SEEK_FORWARD_10S"),this.T.En(1,10,f)):this.T.En(1,10):Dc(this.eg,{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.8,3 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 C 20,21.9 19.8,22 19.6,22 19.4,22 19.2,22 19,21.9 18.8,21.8 18.7,21.7 18.5,21.6 18.3,21.5 18.3,21.3 18.2,21 18.1,20.7 18.1,20.5 18.1,20.2 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.8,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}), +this.api.seekBy(10*this.api.getPlaybackRate(),void 0,void 0,74),f=!0);break;case 37:if(this.api.T6())if(this.api.startSeekCsiAction(),x){if(this.api.N("web_player_chapter_seeking_keyboard_shortcut_killswitch")||!(h||c&&t))x=QxZ(E,this.api.getCurrentTime()*1E3),x!==-1&&this.T!=null&&(this.T.ze(-1,E[x].title),this.api.seekTo(E[x].startTime/1E3,void 0,void 0,void 0,53),f=!0)}else this.T?this.api.N("enable_key_press_seek_logging")?(f=YF(this,-5*this.api.getPlaybackRate(),"SEEK_SOURCE_SEEK_BACKWARD_5S"), +this.T.En(-1,5,f)):this.T.En(-1,5):Dc(this.eg,{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z m -1.3,8.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.4,.3 C 18.5,22 18.2,22 18,22 17.8,22 17.6,22 17.5,21.9 17.4,21.8 17.2,21.8 17,21.7 16.8,21.6 16.8,21.5 16.7,21.3 16.6,21.1 16.6,21 16.6,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.5,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.7 z"}}]}), +this.api.seekBy(-5*this.api.getPlaybackRate(),void 0,void 0,71),f=!0;break;case 39:this.api.T6()&&(this.api.startSeekCsiAction(),x?this.api.N("web_enable_keyboard_shortcut_for_timely_actions")||!this.api.N("web_player_chapter_seeking_keyboard_shortcut_killswitch")&&(h||c&&t)||(x=IhD(E,this.api.getCurrentTime()*1E3),x!==-1&&this.T!=null&&(this.T.ze(1,E[x].title),this.api.seekTo(E[x].startTime/1E3,void 0,void 0,void 0,52),f=!0)):(this.T!=null?this.api.N("enable_key_press_seek_logging")?(f=YF(this,5* +this.api.getPlaybackRate(),"SEEK_SOURCE_SEEK_FORWARD_5S"),this.T.En(1,5,f)):this.T.En(1,5):Dc(this.eg,{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.7,.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.5,.3 C 18.3,22 18.1,22 17.9,22 17.7,22 17.5,22 17.4,21.9 17.3,21.8 17.1,21.8 16.9,21.7 16.7,21.6 16.7,21.5 16.6,21.3 16.5,21.1 16.5,21 16.5,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.4,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.6 z"}}]}), +this.api.seekBy(5*this.api.getPlaybackRate(),void 0,void 0,72),f=!0));break;case 77:this.api.isMuted()?(this.api.unMute(),Q9(this.eg,this.api.getVolume(),!1)):(this.api.mute(),Q9(this.eg,0,!0));f=!0;break;case 32:f=this.api.N("web_speedmaster_spacebar_control")?!this.api.D().Kq:this.Kg(W);break;case 75:f=this.Kg(W);break;case 190:H?d.enableSpeedOptions&&ZS3(this)&&(f=this.api.getPlaybackRate(),this.api.setPlaybackRate(f+.25,!0),kOf(this.eg,!1),f=!0):this.api.T6()&&(this.step(1),f=!0);break;case 188:H? +d.enableSpeedOptions&&ZS3(this)&&(f=this.api.getPlaybackRate(),this.api.setPlaybackRate(f-.25,!0),kOf(this.eg,!0),f=!0):this.api.T6()&&(this.step(-1),f=!0);break;case 70:qmR(this.api)&&(this.api.toggleFullscreen().catch(function(){}),f=!0); +break;case 27:W?(this.progressBar.II(),f=!0):this.C()&&(f=!0)}if(d.controlsType!=="3")switch(N){case 67:g.x$(this.api.g_())&&(d=this.api.getOption("captions","track"),this.api.toggleSubtitles(),hgD(this.eg,!d||d&&!d.displayName),f=!0);break;case 79:C4(this,"textOpacity");break;case 87:C4(this,"windowOpacity");break;case 187:case 61:C4(this,"fontSizeIncrement",!1,!0);break;case 189:case 173:C4(this,"fontSizeIncrement",!0,!0)}var q;H||c||t||(N>=48&&N<=57?q=N-48:N>=96&&N<=105&&(q=N-96));q!=null&&this.api.T6()&& +!this.api.N("web_player_disable_keyboard_seek_percent")&&(this.api.startSeekCsiAction(),d=this.api.getProgressState(),this.api.seekTo(q/10*(d.seekableEnd-d.seekableStart)+d.seekableStart,void 0,void 0,void 0,81),f=!0);f&&this.HU.GZ()}this.L.cS=!1;this.api.publish("keyboardserviceglobalkeydown",{keyCode:N,shiftKey:H,ctrlKey:c,altKey:t,metaKey:h,key:O,code:F,repeat:M},this.L);this.L.cS&&(f=!0,this.HU.GZ());return f}; +g.C.step=function(N){this.api.T6();if(this.api.getPlayerStateObject().isPaused()){var H=this.api.getVideoData().B;H&&(H=H.video)&&this.api.seekBy(N/(H.fps||30),void 0,void 0,N>0?77:78)}}; +g.C.Kg=function(N){if(!this.api.D().Kq){var H;var c,t=(H=this.api.getVideoData())==null?void 0:(c=H.getPlayerResponse())==null?void 0:c.playabilityStatus;if(t){var h;H=((h=g.P(t.miniplayer,jd5))==null?void 0:h.playbackMode)==="PLAYBACK_MODE_PAUSED_ONLY"}else H=!1;H&&this.api.QS("onExpandMiniplayer");N?this.progressBar.HK():(N=!this.api.getPlayerStateObject().isOrWillBePlaying(),this.eg.I3(N),N?this.api.playVideo():this.api.pauseVideo());return!0}return!1}; +g.C.Os=function(){g.Ms(this.U);g.Ww.prototype.Os.call(this)};g.k(Q8,g.e);Q8.prototype.Df=function(){var N=this.J.D(),H=N.L||this.J.N("web_player_hide_overflow_button_if_empty_menu")&&this.J9.isEmpty();N=g.PX(N)&&g.eg(this.J)&&g.y(this.J.getPlayerStateObject(),128);var c=this.J.getPlayerSize();this.visible=this.J.i$()&&!N&&c.width>=240&&!this.J.getVideoData().Uc&&!H&&!this.J.isEmbedsShortsMode();g.QH(this.element,"ytp-overflow-button-visible",this.visible);this.a4(this.visible);this.visible&&this.J.oo();this.J.logVisibility(this.element,this.visible&&this.TW)}; +Q8.prototype.lX=function(N){g.e.prototype.lX.call(this,N);this.J.logVisibility(this.element,this.visible&&N)}; +Q8.prototype.Os=function(){g.e.prototype.Os.call(this);g.nH(this.element,"ytp-overflow-button-visible")};g.k(j1,g.Gv);g.C=j1.prototype;g.C.dM=function(N){N=fI(N);g.m5(this.element,N)&&(g.m5(this.T,N)||g.m5(this.closeButton,N)||l4(this))}; +g.C.e1=function(){g.Gv.prototype.e1.call(this);this.J.aU(this.element)}; +g.C.show=function(){this.I4&&this.J.publish("OVERFLOW_PANEL_OPENED");g.Gv.prototype.show.call(this);this.element.setAttribute("aria-modal","true");Igd(this,!0)}; +g.C.hide=function(){g.Gv.prototype.hide.call(this);this.element.removeAttribute("aria-modal");Igd(this,!1)}; +g.C.onFullscreenToggled=function(N){!N&&this.td()&&l4(this)}; +g.C.isEmpty=function(){return this.actionButtons.length===0}; +g.C.focus=function(){for(var N=g.K(this.actionButtons),H=N.next();!H.done;H=N.next())if(H=H.value,H.I4){H.focus();break}};g.k(mt,g.e);mt.prototype.onClick=function(N){g.KQ(N,this.api)&&this.api.playVideoAt(this.index)};g.k(jk,g.Gv);g.C=jk.prototype;g.C.show=function(){g.Gv.prototype.show.call(this);this.T.G(this.api,"videodatachange",this.T2);this.T.G(this.api,"onPlaylistUpdate",this.T2);this.T2()}; +g.C.hide=function(){g.Gv.prototype.hide.call(this);g.bM(this.T);this.updatePlaylist(null)}; +g.C.T2=function(){this.updatePlaylist(this.api.getPlaylist());this.api.D().L&&(this.Sa("ytp-playlist-menu-title-name").removeAttribute("href"),this.B&&(this.G3(this.B),this.B=null))}; +g.C.zp=function(){var N=this.playlist,H=N.author,c=H?"by $AUTHOR \u2022 $CURRENT_POSITION/$PLAYLIST_LENGTH":"$CURRENT_POSITION/$PLAYLIST_LENGTH",t={CURRENT_POSITION:String(N.index+1),PLAYLIST_LENGTH:String(N.length)};H&&(t.AUTHOR=H);this.update({title:N.title,subtitle:g.Df(c,t),playlisturl:this.api.getVideoUrl(!0)});H=N.B;if(H===this.L)this.selected.element.setAttribute("aria-checked","false"),this.selected=this.playlistData[N.index];else{c=g.K(this.playlistData);for(t=c.next();!t.done;t=c.next())t.value.dispose(); +c=N.length;this.playlistData=[];for(t=0;t=this.B&&!N.L&&!H.isAd()&&!this.api.isEmbedsShortsMode()}else N=!1;this.visible=N;this.a4(this.visible);g.QH(this.element,"ytp-search-button-visible",this.visible);g.QH(this.element,"ytp-show-search-title",!this.api.i$());this.api.logVisibility(this.element,this.visible&&this.TW)}; +ct.prototype.lX=function(N){g.e.prototype.lX.call(this,N);this.api.logVisibility(this.element,this.visible&&N)};g.k(Yw,g.e); +Yw.prototype.trigger=function(N,H,c,t){this.show();if(this.B&&N!==this.B){var h=1;this.L&&(h=vwZ(this));qHd(this,h,!1);uVt(this)}this.B=N;this.U=this.B===-1?this.C:this.Z;N="";H?(this.B===-1&&this.J.getCurrentTime()<=H?this.S=H:this.S+=H,N=(this.B===-1?"\u2212":"+")+" "+this.S):this.S=0;this.updateValue(this.B===-1?"durationBack":"durationForward",N);if(this.T==="hidden"||this.T==="fading-out")H=0,this.T==="fading-out"&&(H=vwZ(this),WmD(this)),zUe(this,H),this.T!=="fading-out"&&l$h(this,this.U.querySelector(".ytp-seek-overlay-arrow-persistent")), +this.T="fading-in";else if(this.T==="fading-in"||this.T==="lingering")H=this.U.querySelector(".ytp-seek-overlay-duration"),N=g.Mx(this.J.D().experiments,"web_player_seek_overlay_duration_bump_scale")||.9,H.animate([{offset:0,easing:"cubic-bezier(0.20, 0.00, 0.60, 1.00)",transform:"scale(1)"},{offset:.64,easing:"cubic-bezier(0.20, 0.00, 0.60, 1.00)",transform:"scale("+N+")"},{offset:1,transform:"scale(1)"}],{duration:184}),WmD(this),this.T==="lingering"&&(this.Y.stop(),this.Y.start());c&&Wgy(this, +c,t)}; +Yw.prototype.TF=function(N,H,c,t){this.trigger(N,t)}; +Yw.prototype.En=function(N,H,c){this.trigger(N,H);c&&(N=N===-1?this.Z.visualElement:this.C.visualElement,c={seekData:c},(H=g.gi())&&Rg(H,N,"INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS",c))}; +Yw.prototype.ze=function(N,H,c){this.trigger(N,void 0,H,c)};g.k($E,g.e);$E.prototype.onClick=function(){var N=this,H=this.api.D(),c=this.api.getVideoData(this.api.getPresentingPlayerType()),t=this.api.getPlaylistId();H=this.api.N("enable_share_button_url_fix")?this.api.getVideoUrl(!0,!0,!0):H.getVideoUrl(c.videoId,t,void 0,!0);if(navigator.share)try{var h=navigator.share({title:c.title,url:H});h instanceof Promise&&h.catch(function(O){c7t(N,O)})}catch(O){O instanceof Error&&c7t(this,O)}else this.T.R$(),l4(this.B,this.element,!1); +this.api.logClick(this.element)}; +$E.prototype.Df=function(){var N=this.api.D(),H=this.api.isEmbedsShortsMode();g.QH(this.element,"ytp-show-share-title",g.PX(N)&&!H);this.T.J3()&&H?(N=(this.api.BO().getPlayerSize().width-this.api.getVideoContentRect().width)/2,g.eU(this.element,"right",N+"px")):H&&g.eU(this.element,"right","0px");this.updateValue("icon",{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"m 20.20,14.19 0,-4.45 7.79,7.79 -7.79,7.79 0,-4.56 C 16.27,20.69 12.10,21.81 9.34,24.76 8.80,25.13 7.60,27.29 8.12,25.65 9.08,21.32 11.80,17.18 15.98,15.38 c 1.33,-0.60 2.76,-0.98 4.21,-1.19 z"}}]}); +this.visible=qkt(this);g.QH(this.element,"ytp-share-button-visible",this.visible);this.a4(this.visible);this.tooltip.oo();this.api.logVisibility(this.element,qkt(this)&&this.TW)}; +$E.prototype.lX=function(N){g.e.prototype.lX.call(this,N);this.api.logVisibility(this.element,this.visible&&N)}; +$E.prototype.Os=function(){g.e.prototype.Os.call(this);g.nH(this.element,"ytp-share-button-visible")};g.k(Pqe,g.Gv);g.C=Pqe.prototype;g.C.Xt=function(N){N=fI(N);g.m5(this.U,N)||g.m5(this.closeButton,N)||l4(this)}; +g.C.e1=function(){g.Gv.prototype.e1.call(this);this.tooltip.aU(this.element);this.api.logVisibility(this.T,!1);for(var N=g.K(this.B),H=N.next();!H.done;H=N.next())H=H.value,this.api.hasVe(H.element)&&this.api.logVisibility(H.element,!1)}; +g.C.show=function(){var N=this.I4;g.Gv.prototype.show.call(this);this.Df();N||this.api.QS("onSharePanelOpened")}; +g.C.yFp=function(){this.I4&&this.Df()}; +g.C.Df=function(){var N=this;g.bV(this.element,"ytp-share-panel-loading");g.nH(this.element,"ytp-share-panel-fail");var H=this.api.getVideoData(),c=this.api.getPlaylistId()&&this.L.checked;H.getSharePanelCommand&&KF(this.api.h9(),H.getSharePanelCommand,{includeListId:c}).then(function(t){N.uo()||(g.nH(N.element,"ytp-share-panel-loading"),gay(N,t))}); +H=this.api.getVideoUrl(!0,!0,!1,!1);this.updateValue("link",H);this.updateValue("linkText",H);this.updateValue("shareLinkWithUrl",g.Df("Share link $URL",{URL:H}));p2(this.T);this.api.logVisibility(this.T,!0)}; +g.C.onFullscreenToggled=function(N){!N&&this.td()&&l4(this)}; +g.C.focus=function(){this.T.focus()}; +g.C.Os=function(){g.Gv.prototype.Os.call(this);i1S(this)};g.k(kFv,Qr);g.C=kFv.prototype;g.C.Os=function(){hk(this);Qr.prototype.Os.call(this)}; +g.C.zK=function(N){N.target!==this.dismissButton.element&&(this.iC(!1),this.J.QS("innertubeCommand",this.onClickCommand))}; +g.C.KP=function(){this.Xg=!0;this.iC(!0);this.Ri()}; +g.C.Ell=function(N){this.Y=N;this.Ri()}; +g.C.onVideoDataChange=function(N,H){if(N=!!H.videoId&&this.videoId!==H.videoId)this.videoId=H.videoId,this.Xg=!1,this.ox=!0,this.C=this.Us=!1,hk(this),oas(this,!1),this.B=this.T=!1,zc(this),yXZ(this);if(N||!H.videoId)this.Bp=this.U=!1;var c,t;if(H==null?0:(c=H.getPlayerResponse())==null?0:(t=c.videoDetails)==null?0:t.isLiveContent)this.pG(!1);else{var h,O,F;H=g.P((h=H.getWatchNextResponse())==null?void 0:(O=h.playerOverlays)==null?void 0:(F=O.playerOverlayRenderer)==null?void 0:F.productsInVideoOverlayRenderer, +HgZ);this.Y=this.enabled=!1;if(H){if(h=H==null?void 0:H.featuredProductsEntityKey){O=g.gq.getState().entities;var M;if((M=rq(O,"featuredProductsEntity",h))==null?0:M.productsData){this.pG(!1);return}}if(!H.text||!H.onClickCommand||!H.timing){this.pG(!1);return}this.enabled=!0;if(!this.U){var f;M=(f=H.badgeInteractionLogging)==null?void 0:f.trackingParams;(this.U=!!M)&&this.J.setTrackingParams(this.badge.element,M||null)}if(!this.Bp){var d;if(this.Bp=!((d=H.dismissButton)==null||!d.trackingParams)){var W; +this.J.setTrackingParams(this.dismissButton.element,((W=H.dismissButton)==null?void 0:W.trackingParams)||null)}}H.isContentForward&&(f=H.productsData,oas(this,!0),yXZ(this),f=Vyh(this,f),d=[],f.length>0&&d.push(f[0]),f.length>1&&(W=new g.e({W:"div",K:"ytp-suggested-action-more-products-icon"}),g.l(this,W),d.push(W),d.push.apply(d,g.HE(f.slice(1)))),this.S=new g.e({W:"div",X:d,K:"ytp-suggested-action-content-forward-container"}),g.l(this,this.S),this.Cq.element.append(this.S.element));this.text=g.Fu(H.text); +var z;if(f=(z=H.dismissButton)==null?void 0:z.a11yLabel)this.zW=g.Fu(f);this.onClickCommand=H.onClickCommand;this.timing=H.timing;this.Q0()}sit(this);hZ(this);this.Ri()}}; +g.C.TG=function(){return!this.Y&&this.enabled&&!this.Xg&&!this.J.i$()&&!this.C4&&(this.C||this.ox)}; +g.C.fZ=function(N){Qr.prototype.fZ.call(this,N);if(this.T||this.B)this.timing&&n_(this.timing.preview)&&(this.T=!1,zc(this),this.B=!1,zc(this),this.J.gr("shopping_overlay_preview_collapsed"),this.J.gr("shopping_overlay_preview_expanded"),N=r6(this.timing.preview.startSec,this.timing.preview.endSec,"shopping_overlay_expanded"),n_(this.timing.expanded)&&this.timing.preview.endSec===this.timing.expanded.startSec&&(this.J.gr("shopping_overlay_expanded"),N.end=this.timing.expanded.endSec*1E3),this.J.Q0([N])), +this.Us=!0,hZ(this);zc(this)}; +g.C.pG=function(N){(this.C=N)?(pm(this),hZ(this,!1)):(hk(this),this.Kq.start());this.Ri()}; +g.C.Q0=function(N){var H=this.timing;N=(N===void 0?0:N)+this.J.getCurrentTime();var c=[],t=H.visible,h=H.preview;H=H.expanded;n_(t)&&(Wed(t,N),c.push(r6(t.startSec,t.endSec,"shopping_overlay_visible")));n_(h)&&(Wed(h,N),t=h.startSec+1,c.push(r6(h.startSec,t,"shopping_overlay_preview_collapsed")),c.push(r6(t,h.endSec,"shopping_overlay_preview_expanded")));n_(H)&&(Wed(H,N),c.push(r6(H.startSec,H.endSec,"shopping_overlay_expanded")));this.J.Q0(c)}; +g.C.Ri=function(){Qr.prototype.Ri.call(this);this.J.getRootNode()&&g.QH(this.J.getRootNode(),"ytp-shopping-pill-shown",this.TG())};g.k(nB,g.e); +nB.prototype.Df=function(){var N=this.api.D();this.a4(g.PX(N)&&this.api.isEmbedsShortsMode());this.subscribeButton&&this.api.logVisibility(this.subscribeButton.element,this.I4);var H=this.api.getVideoData(),c=!1;this.api.getPresentingPlayerType()===2?c=!!H.videoId&&!!H.isListed&&!!H.author&&!!H.Kq&&!!H.profilePicture:g.PX(N)&&(c=!!H.videoId&&!!H.Kq&&!!H.profilePicture&&!H.Uc&&!N.L&&!(N.C&&this.api.getPlayerSize().width<200));var t=H.profilePicture;N=g.PX(N)?H.expandedTitle:H.author;t=t===void 0?"": +t;N=N===void 0?"":N;c?(this.B!==t&&(this.T.style.backgroundImage="url("+t+")",this.B=t),this.updateValue("channelLogoLabel",g.Df("Photo image of $CHANNEL_NAME",{CHANNEL_NAME:N})),g.bV(this.api.getRootNode(),"ytp-title-enable-channel-logo")):g.nH(this.api.getRootNode(),"ytp-title-enable-channel-logo");this.api.logVisibility(this.T,c&&this.TW);this.api.logVisibility(this.channelName,c&&this.TW);this.subscribeButton&&(this.subscribeButton.channelId=H.tU);this.updateValue("expandedTitle",H.expandedTitle)};g.k(zE,g.Gv);zE.prototype.show=function(){g.Gv.prototype.show.call(this);this.T.start()}; +zE.prototype.hide=function(){g.Gv.prototype.hide.call(this);this.T.stop()}; +zE.prototype.KJ=function(N,H){N==="dataloaded"&&((this.Gm=H.Gm,this.QC=H.QC,isNaN(this.Gm)||isNaN(this.QC))?this.B&&(this.J.gr("intro"),this.J.removeEventListener(g.dm("intro"),this.C),this.J.removeEventListener(g.WX("intro"),this.U),this.J.removeEventListener("onShowControls",this.L),this.hide(),this.B=!1):(this.J.addEventListener(g.dm("intro"),this.C),this.J.addEventListener(g.WX("intro"),this.U),this.J.addEventListener("onShowControls",this.L),N=new g.vn(this.Gm,this.QC,{priority:9,namespace:"intro"}), +this.J.Q0([N]),this.B=!0))};g.k(ly,g.e);ly.prototype.onClick=function(){this.J.fm()}; +ly.prototype.Df=function(){var N=!0;g.PX(this.J.D())&&(N=N&&this.J.BO().getPlayerSize().width>=480);this.a4(N);N=this.updateValue;var H=this.J.N("delhi_modern_web_player_icons"),c=H?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M23 17V5C23.00 4.50 22.81 4.02 22.48 3.65C22.15 3.29 21.69 3.06 21.20 3.01L21 3H3L2.79 3.01C2.30 3.06 1.84 3.29 1.51 3.65C1.18 4.02 .99 4.50 1 5V17C0.99 17.49 1.18 17.97 1.51 18.34C1.84 18.70 2.30 18.93 2.79 18.99L3 19H5.93L7.65 17H3V5H21V17H16.35L18.06 19H21L21.20 18.99C21.69 18.93 22.15 18.70 22.48 18.34C22.81 17.97 23.00 17.49 23 17ZM17.29 21.17L12 15L6.70 21.17C6.64 21.24 6.60 21.33 6.59 21.43C6.57 21.52 6.59 21.62 6.63 21.70C6.67 21.79 6.73 21.86 6.81 21.92C6.89 21.97 6.99 22 7.08 22H16.91C17.00 22 17.10 21.97 17.18 21.92C17.26 21.86 17.32 21.79 17.36 21.70C17.40 21.62 17.42 21.52 17.40 21.43C17.39 21.33 17.35 21.24 17.29 21.17Z", +fill:"white"}}]}:{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,V:{d:"M11,13 L25,13 L25,21 L11,21 L11,13 Z M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z",fill:"#fff"}}]};H=H?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M23 17V5C23.00 4.50 22.81 4.02 22.48 3.65C22.15 3.29 21.69 3.06 21.20 3.01L21 3H3L2.79 3.01C2.30 3.06 1.84 3.29 1.51 3.65C1.18 4.02 .99 4.50 1 5V17C0.99 17.49 1.18 17.97 1.51 18.34C1.84 18.70 2.30 18.93 2.79 18.99L3 19H5.93L7.65 17H3V5H21V17H16.35L18.06 19H21L21.20 18.99C21.69 18.93 22.15 18.70 22.48 18.34C22.81 17.97 23.00 17.49 23 17ZM17.29 21.17L12 15L6.70 21.17C6.64 21.24 6.60 21.33 6.59 21.43C6.57 21.52 6.59 21.62 6.63 21.70C6.67 21.79 6.73 21.86 6.81 21.92C6.89 21.97 6.99 22 7.08 22H16.91C17.00 22 17.10 21.97 17.18 21.92C17.26 21.86 17.32 21.79 17.36 21.70C17.40 21.62 17.42 21.52 17.40 21.43C17.39 21.33 17.35 21.24 17.29 21.17Z", +fill:"white"}}]}:{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z"}}]};N.call(this,"icon",this.J.Mp()?c:H)};g.k(xIL,g.e);xIL.prototype.Os=function(){this.T=null;g.e.prototype.Os.call(this)};g.k(yV,g.e);yV.prototype.onClick=function(){this.J.QS("innertubeCommand",this.B)}; +yV.prototype.Z=function(){if(this.J.N("delhi_modern_web_player")){var N=this.J.getPlayerSize();N.width&&(this.element.style.maxWidth=N.width*.25+"px")}}; +yV.prototype.Us=function(N){N!==this.Y&&(this.update({chapterTitle:N,ariaLabel:N}),this.Y=N);N?this.show():this.hide()}; +yV.prototype.Bp=function(){this.T.disabled=this.B==null;g.QH(this.T,"ytp-chapter-container-disabled",this.T.disabled);this.Dp()};g.k(GQ,yV);GQ.prototype.onClickCommand=function(N){g.P(N,lG)&&this.Dp()}; +GQ.prototype.updateVideoData=function(N,H){var c,t,h;N=g.P((c=H.getWatchNextResponse())==null?void 0:(t=c.playerOverlays)==null?void 0:(h=t.playerOverlayRenderer)==null?void 0:h.decoratedPlayerBarRenderer,XM);c=g.P(N==null?void 0:N.playerBarActionButton,g.mM);if(this.J.N("web_player_updated_entrypoint")){this.C=KE(c==null?void 0:c.text);var O;t=(O=c==null?void 0:c.tooltip)!=null?O:"View chapter";this.S.setAttribute("title",t)}this.B=c==null?void 0:c.command;yV.prototype.Bp.call(this)}; +GQ.prototype.Dp=function(){var N=this.C,H=this.U.T,c,t=((c=this.J.getLoopRange())==null?void 0:c.type)==="clips";if(H.length>1&&!t){N=this.J.getProgressState().current*1E3;c=ce(H,N);N=H[c].title||"Chapters";if(c!==this.currentIndex||this.L)this.J.QS("innertubeCommand",H[c].onActiveCommand),this.currentIndex=c;this.L=!1}else this.L=!0;yV.prototype.Us.call(this,N)};g.k(oc,g.lL);oc.prototype.B=function(){var N;(N=this.element.parentElement)==null||N.classList.contains("ytp-right-controls-left");(this.T=!this.T)?this.publish("small-mode-expand-right-bottom-controls"):this.publish("small-mode-collapse-right-bottom-controls")}; +oc.prototype.isExpanded=function(){return this.T};g.k(Xd,g.e);Xd.prototype.L=function(N){g.y(N.state,32)?$w(this,this.api.Om()):this.I4&&(g.y(N.state,16)||g.y(N.state,1))||this.fade.hide()}; +Xd.prototype.onProgress=function(){var N=this.api.getPlayerStateObject();(g.y(N,32)||g.y(N,16))&&Nd(this)}; +Xd.prototype.U=function(){this.frameIndex=NaN;Nd(this)}; +Xd.prototype.hide=function(){this.T&&$w(this,null);g.e.prototype.hide.call(this)};g.k(Lz,g.e);g.C=Lz.prototype;g.C.onClick=function(){var N=this;if(this.J.D().UF||this.J.D().C){this.J.logClick(this.element);try{this.J.toggleFullscreen().catch(function(H){N.eK(H)})}catch(H){this.eK(H)}}else l4(this.message,this.element,!0)}; +g.C.eK=function(N){String(N).includes("fullscreen error")?g.aS(N):g.BZ(N);this.dY()}; +g.C.dY=function(){this.disable();this.message.aD(this.element,!0)}; +g.C.J2=function(){vj()===this.J.getRootNode()?this.L.start():(this.L.stop(),this.message&&this.message.hide())}; +g.C.Ju=function(){if(window.screen&&window.outerWidth&&window.outerHeight){var N=window.screen.width*.9,H=window.screen.height*.9,c=Math.max(window.outerWidth,window.innerWidth),t=Math.max(window.outerHeight,window.innerHeight);if(c>t!==N>H){var h=c;c=t;t=h}N>c&&H>t&&this.dY()}}; +g.C.disable=function(){var N=this;if(!this.message){var H=(eE(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],document.body)!=null?"Full screen is unavailable. $BEGIN_LINKLearn More$END_LINK":"Your browser doesn't support full screen. $BEGIN_LINKLearn More$END_LINK").split(/\$(BEGIN|END)_LINK/);this.message=new g.Gv(this.J,{W:"div",fq:["ytp-popup","ytp-generic-popup"],V:{role:"alert",tabindex:"0"},X:[H[0],{W:"a",V:{href:"https://support.google.com/youtube/answer/6276924", +target:this.J.D().TW},Wp:H[2]},H[4]]},100,!0);this.message.hide();g.l(this,this.message);this.message.subscribe("show",function(c){N.B.qr(N.message,c)}); +g.aG(this.J,this.message.element,4);this.element.setAttribute("aria-disabled","true");this.element.setAttribute("aria-haspopup","true");(0,this.T)();this.T=null}}; +g.C.Df=function(){var N=qmR(this.J),H=this.J.D().C&&this.J.getPlayerSize().width<250;this.a4(N&&!H);this.J.logVisibility(this.element,this.I4)}; +g.C.fA=function(N){if(N){var H=g.EC(this.J,"Exit full screen","f");this.update({"data-title-no-tooltip":"Exit full screen"});document.activeElement===this.element&&this.J.getRootNode().focus();document.pictureInPictureElement&&document.exitPictureInPicture().catch(function(c){g.aS(c)})}else H=g.EC(this.J,"Full screen","f"),this.update({"data-title-no-tooltip":"Full screen"}); +N=lqs(this,N);H=this.message?null:H;this.J.D().N("player_tooltip_data_title_killswitch")?this.update({title:H,icon:N}):this.update({"tooltip-title":H,"aria-label":H,icon:N});this.B.HH().oo()}; +g.C.Os=function(){this.message||((0,this.T)(),this.T=null);g.e.prototype.Os.call(this)}; +g.C.lX=function(N){g.e.prototype.lX.call(this,N)};g.k(Zv,g.e);Zv.prototype.onClick=function(){this.J.logClick(this.element);this.J.seekBy(this.T,!0);var N=this.T>0?1:-1,H=Math.abs(this.T),c=this.J.Gu().r4;c&&c.En(N,H);this.B.isActive()?this.L=!0:(N=["ytp-jump-spin"],this.T<0&&N.push("backwards"),this.element.classList.add.apply(this.element.classList,g.HE(N)),g.lY(this.B))};g.k(G1,yV);G1.prototype.onClickCommand=function(N){g.P(N,bsg)&&this.Dp()}; +G1.prototype.updateVideoData=function(){var N,H;this.B=(N=OT3(this))==null?void 0:(H=N.onTap)==null?void 0:H.innertubeCommand;yV.prototype.Bp.call(this)}; +G1.prototype.Dp=function(){var N="",H=this.U.C,c,t=(c=OT3(this))==null?void 0:c.headerTitle;c=t?g.Fu(t):"";var h;t=((h=this.J.getLoopRange())==null?void 0:h.type)==="clips";H.length>1&&!t&&(N=this.J.getProgressState().current*1E3,h=M93(H,N),N=h!=null?H[h].title:c,h!=null&&h!==this.currentIndex&&(this.J.QS("innertubeCommand",H[h].onActiveCommand),this.currentIndex=h));yV.prototype.Us.call(this,N)};g.k(C3,g.e);C3.prototype.onClick=function(){this.J.QS("onCollapseMiniplayer");this.J.logClick(this.element)}; +C3.prototype.Df=function(){this.visible=!this.J.isFullscreen();this.a4(this.visible);this.J.logVisibility(this.element,this.visible&&this.TW)}; +C3.prototype.lX=function(N){g.e.prototype.lX.call(this,N);this.J.logVisibility(this.element,this.visible&&N)};g.k(xH,g.e);xH.prototype.init=function(){this.update({minvalue:this.L,maxvalue:this.S,stepvalue:this.C,slidervalue:this.T,ariaValueNow:this.T,ariaMinValue:this.L,ariaMaxValue:this.S});XMS(this,this.T)}; +xH.prototype.U=function(){td(this,Number(this.B.value));this.B.focus()}; +xH.prototype.Y=function(N){if(!N.defaultPrevented){switch(N.code){case "ArrowDown":N=-this.C;break;case "ArrowUp":N=this.C;break;default:return}td(this,Math.min(this.S,Math.max(Number((this.T+N).toFixed(2)),this.L)))}};g.k(nJ,xH);nJ.prototype.onVolumeChange=function(N){if(this.Z)this.Z=!1;else{var H=N.volume;H===0||N.muted?td(this,0):td(this,H)}}; +nJ.prototype.U=function(){xH.prototype.U.call(this);this.Bp(this.T)}; +nJ.prototype.Us=function(N){var H=-N.deltaY;H=N.deltaMode===WheelEvent.DOM_DELTA_LINE||N.deltaMode===WheelEvent.DOM_DELTA_PAGE?g.Ae(this.T+H,0,100):g.Ae(this.T+g.Ae(H/10,-10,10),0,100);H===0?td(this,0):td(this,H);this.Bp(H);N.preventDefault();N.stopPropagation()}; +nJ.prototype.ox=function(N,H){this.Z=!0;N===0||H?this.J.mute():(this.J.isMuted()&&this.J.unMute(),this.J.setVolume(N))};g.k($rZ,g.e);g.k(yS,g.e);g.C=yS.prototype;g.C.MX=function(){if(!this.J.eE()){this.updateValue("dataTooltipOffsetY",-120);var N;(N=this.T)!=null&&Vc(N,!0);var H;(H=this.T)!=null&&H.T.stop()}}; +g.C.qg=function(){var N;(N=this.T)!=null&&N.T.start()}; +g.C.wx=function(N){this.visible=N.width>=300||this.gE;this.a4(this.visible);this.J.logVisibility(this.element,this.visible&&this.TW)}; +g.C.T_=function(){this.J.D().Cq?this.J.isMuted()?this.J.unMute():this.J.mute():l4(this.message,this.element,!0);this.J.logClick(this.element)}; +g.C.pds=function(N){if(this.J.D().Cq&&this.T)if(N.target===this.L){var H;if(!this.J.eE()||((H=this.T)==null?0:H.isVisible))this.T_();else{var c;(c=this.T)!=null&&Vc(c,!0)}}else{var t;(t=this.T)!=null&&Vc(t,!0)}else this.T_()}; +g.C.onVolumeChange=function(N){this.setVolume(N.volume,N.muted)}; +g.C.setVolume=function(N,H){var c=this,t=H?0:N/100;N=t===0?1:N>50?1:0;if(this.Z!==N){var h=this.C;isNaN(h)?jMe(this,N):bEd(this.Cq,function(F){jMe(c,h+(c.Z-h)*F)},250); +this.Z=N}t=t===0?1:0;if(this.Y!==t){var O=this.ox;isNaN(O)?VzD(this,t):bEd(this.NT,function(F){VzD(c,O+(c.Y-O)*F)},250); +this.Y=t}YHf(this,H)}; +g.C.lX=function(N){g.e.prototype.lX.call(this,N);this.J.logVisibility(this.element,this.visible&&N)}; +var $7f=["M",19,",",11.29," C",21.89,",",12.15," ",24,",",14.83," ",24,",",18," C",24,",",21.17," ",21.89,",",23.85," ",19,",",24.71," L",19,",",24.77," C",21.89,",",23.85," ",24,",",21.17," ",24,",",18," C",24,",",14.83," ",21.89,",",12.15," ",19,",",11.29," L",19,",",11.29," Z"],T_l=["M",19,",",11.29," C",21.89,",",12.15," ",24,",",14.83," ",24,",",18," C",24,",",21.17," ",21.89,",",23.85," ",19,",",24.71," L",19,",",26.77," C",23.01,",",25.86," ",26,",",22.28," ",26,",",18," C",26,",",13.72," ", +23.01,",",10.14," ",19,",",9.23," L",19,",",11.29," Z"];g.k(g.BN,g.e);g.C=g.BN.prototype;g.C.onStateChange=function(N){this.Xf(N.state)}; +g.C.Xf=function(N){var H=g.z7(this.J.getVideoData()),c=!1;N.isOrWillBePlaying()?N=H?4:2:g.y(N,2)?(N=3,c=H):N=1;this.element.disabled=c;if(this.T!==N){H=null;switch(N){case 2:H=g.EC(this.J,"Pause","k");this.update({"data-title-no-tooltip":"Pause"});break;case 3:H="Replay";this.update({"data-title-no-tooltip":"Replay"});break;case 1:H=g.EC(this.J,"Play","k");this.update({"data-title-no-tooltip":"Play"});break;case 4:H="Stop live playback",this.update({"data-title-no-tooltip":"Stop live playback"})}N=== +3?this.J.D().N("player_tooltip_data_title_killswitch")?this.update({title:H,icon:M0d(this,N)}):this.update({"tooltip-title":H,icon:M0d(this,N)}):(this.J.N("player_tooltip_data_title_killswitch")?this.update({title:H}):this.update({"tooltip-title":H}),(H=M0d(this,N))&&this.T&&this.T!==3?N$v(this.transition,this.element,H):this.updateValue("icon",H));this.tooltip.oo();this.T=N}}; +g.C.onVideoDataChange=function(){g.QH(this.element,"ytp-play-button-playlist",g.eg(this.J))}; +g.C.Kg=function(N){this.J.logClick(this.element);if(this.J.getPlayerStateObject().isOrWillBePlaying())this.J.pauseVideo();else{if(this.J.isMinimized()&&this.J.getPlayerStateObject().isCued()){var H={},c;if((c=this.J.getVideoData())==null?0:c.Y)H.cttAuthInfo={token:this.J.getVideoData().Y,videoId:this.J.getVideoData().videoId};Zy("direct_playback",H);this.J.Um().timerName="direct_playback"}this.J.playVideo()}this.J.isMinimized()&&(N==null?void 0:N.type)==="click"&&this.element.blur()}; +g.C.lX=function(N){g.e.prototype.lX.call(this,N)};g.k(g.Y$,g.e);g.C=g.Y$.prototype;g.C.onVideoDataChange=function(){Fg3(this);this.U&&(this.G3(this.U),this.U=null);this.videoData=this.J.getVideoData(1);if(this.playlist=this.J.getPlaylist())this.playlist.subscribe("shuffle",this.onVideoDataChange,this),this.U=this.G(this.J,"progresssync",this.jI);this.L=fNy(this);Zc(this);this.iE(this.J.BO().getPlayerSize())}; +g.C.iE=function(N){N=N===void 0?this.J.BO().getPlayerSize():N;var H,c=((H=this.J.getLoopRange())==null?void 0:H.type)==="clips";H=g.eg(this.J)||this.T&&g.rz(this.J)&&!this.J.N("web_hide_next_button")||Eqe(this);var t=!this.T&&N.width<400;N=this.J.N("delhi_modern_web_player_horizontal_volume_controls")&&N.width<640;c=H&&!c&&!t&&!N;this.a4(c);this.J.logVisibility(this.element,c)}; +g.C.onClick=function(N){this.J.logClick(this.element);var H=!0;this.Y?H=g.KQ(N,this.J):N.preventDefault();H&&(this.T&&this.J.getPresentingPlayerType()===5?this.J.publish("ytoprerollinternstitialnext"):this.T?($9(this.J.Um()),this.J.publish("playlistnextbuttonclicked",this.element),this.J.nextVideo(!0)):this.L?this.J.seekTo(0):($9(this.J.Um()),this.J.publish("playlistprevbuttonclicked",this.element),this.J.previousVideo(!0)))}; +g.C.jI=function(){var N=fNy(this);N!==this.L&&(this.L=N,Zc(this))}; +g.C.Os=function(){this.B&&(this.B(),this.B=null);Fg3(this);g.e.prototype.Os.call(this)};g.k(ZN,g.e);g.C=ZN.prototype;g.C.Ho=function(N){this.Ly(N.pageX);this.Bi(N.pageX+N.deltaX);U1(this)}; +g.C.Ly=function(N){this.Bp=N-this.gE}; +g.C.Bi=function(N){N-=this.gE;!isNaN(this.Bp)&&this.thumbnails.length>0&&(this.Z=N-this.Bp,this.thumbnails.length>0&&this.Z!==0&&(this.L=this.C+this.Z,N=iRL(this,this.L),this.L<=this.T/2&&this.L>=l6l(this)?(this.api.seekTo(N,!1,void 0,void 0,25),g.eU(this.ox,"transform","translateX("+(this.L-this.T/2)+"px)"),dLS(this,N)):this.L=this.C))}; +g.C.dB=function(){this.Us&&(this.Us.Ay=!0);var N=(0,g.Lh)()-this.vp<300;if(Math.abs(this.Z)<5&&!N){this.vp=(0,g.Lh)();N=this.Bp+this.Z;var H=this.T/2-N;this.Ly(N);this.Bi(N+H);U1(this);this.api.logClick(this.S)}U1(this)}; +g.C.qq=function(){R8(this,this.api.getCurrentTime())}; +g.C.play=function(N){this.api.seekTo(iRL(this,this.L),void 0,void 0,void 0,26);this.api.playVideo();N&&this.api.logClick(this.playButton)}; +g.C.onExit=function(N){this.api.seekTo(this.Kq,void 0,void 0,void 0,63);this.api.playVideo();N&&this.api.logClick(this.dismissButton)}; +g.C.Mc=function(N,H){this.gE=N;this.T=H;R8(this,this.api.getCurrentTime())}; +g.C.enable=function(){this.isEnabled||(this.isEnabled=!0,this.Kq=this.api.getCurrentTime(),dLS(this,this.Kq),g.QH(this.api.getRootNode(),"ytp-fine-scrubbing-enable",this.isEnabled),this.Cq=this.G(this.element,"wheel",this.Ho),this.logVisibility(this.isEnabled))}; +g.C.disable=function(){this.isEnabled=!1;this.hide();g.QH(this.api.getRootNode(),"ytp-fine-scrubbing-enable",this.isEnabled);this.Cq&&this.G3(this.Cq);this.logVisibility(this.isEnabled)}; +g.C.reset=function(){this.disable();this.U=[];this.Ix=!1}; +g.C.logVisibility=function(N){this.api.logVisibility(this.element,N);this.api.logVisibility(this.S,N);this.api.logVisibility(this.dismissButton,N);this.api.logVisibility(this.playButton,N)}; +g.C.Os=function(){for(;this.B.length;){var N=void 0;(N=this.B.pop())==null||N.dispose()}g.e.prototype.Os.call(this)}; +g.k(FHv,g.e);g.k(eAL,g.e);g.k(DrL,g.e);g.k(A5,g.e);A5.prototype.N4=function(N){return N==="PLAY_PROGRESS"?this.C:N==="LOAD_PROGRESS"?this.Y:N==="LIVE_BUFFER"?this.S:this.L};ZBR.prototype.update=function(N,H,c,t){c=c===void 0?0:c;this.width=H;this.U=c;this.T=H-c-(t===void 0?0:t);this.position=g.Ae(N,c,c+this.T);this.L=this.position-c;this.B=this.L/this.T};g.k(mol,g.e);g.k(g.Yp,g.lL);g.C=g.Yp.prototype; +g.C.Z3=function(){var N=!1,H=this.api.getVideoData();if(!H)return N;this.api.gr("timedMarkerCueRange");L9(this);for(var c=g.K(H.Cq),t=c.next();!t.done;t=c.next()){t=t.value;var h=void 0,O=(h=this.Xg[t])==null?void 0:h.markerType,F=void 0;h=(F=this.Xg[t])==null?void 0:F.markers;if(!h)break;if(O==="MARKER_TYPE_TIMESTAMPS"){N=g.K(h);for(O=N.next();!O.done;O=N.next()){F=O.value;O=new mol;var M=void 0;O.title=((M=F.title)==null?void 0:M.simpleText)||"";O.timeRangeStartMillis=Number(F.startMillis);O.T= +Number(F.durationMillis);var f=M=void 0;O.onActiveCommand=(f=(M=F.onActive)==null?void 0:M.innertubeCommand)!=null?f:void 0;$_Z(this,O)}Doy(this,this.C);N=this.C;O=this.BR;F=[];M=null;for(f=0;fd&&(M.end=d);d=QVe(d,d+z);F.push(d);M=d;O[d.id]=N[f].onActiveCommand}}this.api.Q0(F);a:{N=g.K(h);for(h=N.next();!h.done;h=N.next())if(h.value.sourceType==="SOURCE_TYPE_SMART_SKIP"){N= +!1;break a}N=!0}N&&(this.nO=this.Xg[t]);N=!0}else if(O==="MARKER_TYPE_HEATMAP"){t=this.Xg[t];W=d=O=f=M=F=void 0;if(t&&t.markers){h=(O=(W=t.markersMetadata)==null?void 0:(d=W.heatmapMetadata)==null?void 0:d.minHeightDp)!=null?O:0;O=(F=(f=t.markersMetadata)==null?void 0:(M=f.heatmapMetadata)==null?void 0:M.maxHeightDp)!=null?F:60;F=this.T.length;M=null;for(f=0;f=W&&q<=z&&d.push(x)}O>0&&(this.Us.style.height=O+"px");W=this.U[f];z=d;x=h;var r=O,w=f===0;w=w===void 0?!1:w;lWs(W,r);E=z;q=W.B;w=w===void 0?!1:w;var n=1E3/E.length,p=[];p.push({x:0,y:100});for(var U=0;U0&&(M=d[d.length-1])}g.$8(this)}O=void 0;h=[];if(t=(O=t.markersDecoration)==null?void 0:O.timedMarkerDecorations)for(t=g.K(t),O=t.next();!O.done;O=t.next())O=O.value,f=M=F=void 0,h.push({visibleTimeRangeStartMillis:(F=O.visibleTimeRangeStartMillis)!= +null?F:-1,visibleTimeRangeEndMillis:(M=O.visibleTimeRangeEndMillis)!=null?M:-1,decorationTimeMillis:(f=O.decorationTimeMillis)!=null?f:NaN,label:O.label?g.Fu(O.label):""});t=h;this.heatMarkersDecorations=t}}H.ZZ=this.C;g.QH(this.element,"ytp-timed-markers-enabled",N);return N}; +g.C.Mc=function(){g.$8(this);Be(this);Doy(this,this.C);if(this.B){var N=g.VC(this.element).x||0;this.B.Mc(N,this.Y)}}; +g.C.zEW=function(){var N=this.api.getVideoData();N&&dZd(this,N)}; +g.C.onClickCommand=function(N){if(N=g.P(N,lG)){var H=N.key;N.isVisible&&H&&SVd(this,H)}}; +g.C.SIp=function(N){this.api.QS("innertubeCommand",this.BR[N.id])}; +g.C.Dp=function(){Be(this);var N=this.api.getCurrentTime();(Nthis.clipEnd)&&this.Gp()}; +g.C.DM=function(N){if(!N.defaultPrevented){var H=!1;switch(N.keyCode){case 36:this.api.seekTo(0,void 0,void 0,void 0,79);H=!0;break;case 35:this.api.seekTo(Infinity,void 0,void 0,void 0,80);H=!0;break;case 34:this.api.seekBy(-60,void 0,void 0,76);H=!0;break;case 33:this.api.seekBy(60,void 0,void 0,75);H=!0;break;case 38:this.api.N("enable_key_press_seek_logging")&&og(this,this.api.getCurrentTime(),this.api.getCurrentTime()+5,"SEEK_SOURCE_SEEK_FORWARD_5S","INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS"); +this.api.seekBy(5,void 0,void 0,72);H=!0;break;case 40:this.api.N("enable_key_press_seek_logging")&&og(this,this.api.getCurrentTime(),this.api.getCurrentTime()-5,"SEEK_SOURCE_SEEK_BACKWARD_5S","INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS"),this.api.seekBy(-5,void 0,void 0,71),H=!0}H&&N.preventDefault()}}; +g.C.KJ=function(N,H){this.updateVideoData(H,N==="newdata")}; +g.C.ZqR=function(){this.KJ("newdata",this.api.getVideoData())}; +g.C.updateVideoData=function(N,H){H=H===void 0?!1:H;var c=!!N&&N.DI();c&&(gz(N)||IE(this)?this.YA=!1:this.YA=N.allowLiveDvr,g.QH(this.api.getRootNode(),"ytp-enable-live-buffer",!(N==null||!gz(N))),dZd(this,N));tR3(this,this.api.T6());if(H){if(c){H=N.clipEnd;this.clipStart=N.clipStart;this.clipEnd=H;Ll(this);for(sZ(this,this.Bp,this.kG);this.U.length>0;)this.U.pop().dispose();this.heatMarkersDecorations=[];this.Dt={};var t;(t=this.B)==null||t.reset();ej(this);g.QH(this.api.getRootNode(),"ytp-fine-scrubbing-exp", +FE(this))}else this.Gp();this.oA()}if(N){var h;t=((h=this.PO)==null?void 0:h.type)==="clips";if(h=!N.isLivePlayback){h=this.api.getVideoData();H=g.FCf(h);c=kPt(h);var O;h=H!=null||c!=null&&c.length>0||((O=h.XS)==null?void 0:O.length)>0}if(h&&!t){O=this.api.getVideoData();t=g.FCf(O);h=!1;if(t==null?0:t.markersMap){h=this.api.getVideoData();var F;h.aE=((F=t.visibleOnLoad)==null?void 0:F.key)||h.aE;F=g.K(t.markersMap);for(t=F.next();!t.done;t=F.next())t=t.value,t.key&&t.value&&(this.Dt[t.key]=t.value, +t.value.onChapterRepeat&&(h.TP=t.value.onChapterRepeat));h.aE!=null&&SVd(this,h.aE);h=!0}var M;if(((M=O.XS)==null?void 0:M.length)>0){M=g.gq.getState().entities;F=g.K(O.XS);for(t=F.next();!t.done;t=F.next()){t=t.value;c=void 0;H=(c=rq(M,"macroMarkersListEntity",t))==null?void 0:c.markersList;var f=c=void 0;if(((c=H)==null?void 0:c.markerType)==="MARKER_TYPE_TIMESTAMPS"||((f=H)==null?void 0:f.markerType)==="MARKER_TYPE_HEATMAP")this.Xg[t]=H}h=this.Z3()||h}!h&&(M=kPt(O))&&(NTs(this,M),O.bX=this.T,jLR(this)); +hAf(this,null);N.rz&&this.U.length===0&&(N=N.rz,M=N.key,N.isVisible&&M&&SVd(this,M))}else Y$l(this),L9(this)}Be(this)}; +g.C.zix=function(N){this.Z&&!g.y(N.state,32)&&this.api.getPresentingPlayerType()!==3&&this.Z.cancel();var H;((H=this.B)==null?0:H.isEnabled)&&g.y(N.state,8)&&this.api.pauseVideo();N=this.api.getPresentingPlayerType()===2||!this.api.T6()||this.api.getPlayerState()===-1&&this.api.getCurrentTime()===0;g.QH(this.KC,"ytp-hide-scrubber-button",N)}; +g.C.Tg=function(N){var H=!!this.PO!==!!N,c=this.PO;this.PO=N;hAf(this,c);(N==null?void 0:N.type)!=="clips"&&N||(N?(this.updateValue("clipstarticon",Lnf()),this.updateValue("clipendicon",Lnf()),this.updateValue("clipstarttitle",null),this.updateValue("clipendtitle",null)):(this.updateValue("clipstarticon",V9S()),this.updateValue("clipendicon",gDw()),this.updateValue("clipstarttitle","Watch full video"),this.updateValue("clipendtitle","Watch full video")),H&&(this.updateVideoData(this.api.getVideoData(), +!0),g.$8(this)),Ll(this));sZ(this,this.Bp,this.kG)}; +g.C.rns=function(){this.api.publish("progressBarHoverStart")}; +g.C.kUl=function(N,H,c){var t=g.VC(this.element),h=gl(this).T,O=c?c.getAttribute("data-tooltip"):void 0,F=c?c.getAttribute("data-position"):void 0,M=c?c.getAttribute("data-offset-y"):void 0;M=M?Number(M):0;F&&(N=gy(this.L,Number(c.getAttribute("data-position")),0)*h+g.VC(this.progressBar).x);this.mG.x=N-t.x;this.mG.y=H-t.y;N=gl(this);c=v8(this,N);H=0;var f;if((f=this.api.getVideoData())==null?0:gz(f))(f=this.api.getProgressState().seekableEnd)&&c>f&&(c=f,N.position=gy(this.L,f)*gl(this).T),H=this.L.B; +IE(this)&&(H=this.L.B);f=O||g.ba(this.YA?c-this.L.T:c-H);H=N.position+this.qz;c-=this.api.HO();var d;if((d=this.B)==null||!d.isEnabled)if(this.api.Om()){if(this.T.length>1){d=Lw(this,this.mG.x,!0);if(!this.PO)for(t=0;t1)for(t=0;t0)for(d=this.mG.x,t=g.K(this.C),h=t.next();!h.done;h=t.next())h=h.value,F=Zb(this,h.timeRangeStartMillis/ +(this.L.T*1E3),gl(this)),g.QH(h.element,"ytp-timed-marker-hover",F<=d&&F+6>=d);t=this.tooltip.scale;d=this.api.N("delhi_modern_web_player")?67:45;M=(isNaN(M)?0:M)-d*t;this.api.N("web_key_moments_markers")?this.nO?(d=M93(this.C,c*1E3),d=d!=null?this.C[d].title:""):(d=ce(this.T,c*1E3),d=this.T[d].title):(d=ce(this.T,c*1E3),d=this.T[d].title);d||(M+=16*t);this.tooltip.scale===.6&&(g.gu(this.api.D())?(M=this.api.BO().getPlayerSize().height-225,t=this.api.N("delhi_modern_web_player")?70:110,M=d?M+t:M+ +t+16):M=d?110:126);t=ce(this.T,c*1E3);this.Cq=UcS(this,c,t)?t:UcS(this,c,t+1)?t+1:-1;g.QH(this.api.getRootNode(),"ytp-progress-bar-snap",this.Cq!==-1&&this.T.length>1);t=!1;h=g.K(this.heatMarkersDecorations);for(F=h.next();!F.done;F=h.next()){F=F.value;var W=c*1E3;W>=F.visibleTimeRangeStartMillis&&W<=F.visibleTimeRangeEndMillis&&(d=F.label,f=g.ba(F.decorationTimeMillis/1E3),this.api.N("web_heat_marker_use_current_time")&&(f=g.ba(v8(this,N))),t=!0)}this.il!==t&&(this.il=t,this.api.logVisibility(this.gk, +this.il));g.QH(this.api.getRootNode(),"ytp-progress-bar-decoration",t);t=160*this.tooltip.scale*2;h=d.length*(this.S?8.55:5.7);h=h<=t?h:t;F=h<160*this.tooltip.scale;t=3;!F&&h/2>N.position&&(t=1);!F&&h/2>this.Y-N.position&&(t=2);this.api.D().C&&(M-=10);this.U.length&&this.U[0].DI&&(M-=14*(this.S?2:1),this.vp||(this.vp=!0,this.api.logVisibility(this.Us,this.vp)));var z;if(FE(this)&&(((z=this.B)==null?0:z.isEnabled)||this.Al>0)){var E;M-=((E=this.B)==null?0:E.isEnabled)?(this.S?135:90)-this.ox:this.Al}z= +void 0;FE(this)&&!this.api.N("web_player_hide_fine_scrubbing_edu")&&(z="Pull up for precise seeking",this.Kq||(this.Kq=!0,this.api.logVisibility(this.LG,this.Kq)));this.tooltip.EK(H,c,f,!!O,M,d,t,z)}else this.tooltip.EK(H,c,f,!!O,M);g.bV(this.api.getRootNode(),"ytp-progress-bar-hover");uAs(this)}; +g.C.JnR=function(){this.oA();g.nH(this.api.getRootNode(),"ytp-progress-bar-hover");this.vp&&(this.vp=!1,this.api.logVisibility(this.Us,this.vp));this.Kq&&(this.Kq=!1,this.api.logVisibility(this.LG,this.Kq));this.api.N("enable_smart_skip_player_controls_shown_on_web_increased_triggering_sensitivity")&&this.api.publish("progressBarHoverEnd")}; +g.C.I6p=function(N,H){var c=g.VC(this.element);this.qc=N-c.x;FE(this)&&this.B&&(this.B.Ix?R8(this.B,this.api.getCurrentTime()):ief(this.B),this.B.show(),g.QH(this.api.getRootNode(),"ytp-fine-scrubbing-enable",this.B.isEnabled));this.kD&&(this.kD.dispose(),this.kD=null);this.M0=H;this.L2=this.api.getCurrentTime();this.T.length>1&&this.Cq!==-1?this.api.seekTo(this.T[this.Cq].startTime/1E3,!1,void 0,void 0,7):this.api.seekTo(v8(this,gl(this)),!1,void 0,void 0,7);g.bV(this.element,"ytp-drag");(this.KO= +this.api.getPlayerStateObject().isOrWillBePlaying())&&this.api.pauseVideo()}; +g.C.NkR=function(){if(FE(this)&&this.B){var N=(this.S?135:90)-this.ox;this.Al>=N*.5?(this.B.enable(),R8(this.B,this.api.getCurrentTime()),Pid(this,N)):ej(this)}if(g.y(this.api.getPlayerStateObject(),32)||this.api.getPresentingPlayerType()===3){var H;if((H=this.B)==null?0:H.isEnabled)this.api.pauseVideo();else{this.api.startSeekCsiAction();if(this.T.length>1&&this.Cq!==-1)this.api.N("html5_enable_progress_bar_slide_seek_logging")&&og(this,this.L2,this.T[this.Cq].startTime/1E3,"SEEK_SOURCE_SLIDE_ON_SCRUBBER_BAR_CHAPTER", +"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK"),this.api.seekTo(this.T[this.Cq].startTime/1E3,void 0,void 0,void 0,7);else{N=v8(this,gl(this));this.api.N("html5_enable_progress_bar_slide_seek_logging")&&og(this,this.L2,N,"SEEK_SOURCE_SLIDE_ON_SCRUBBER_BAR","INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK");this.api.seekTo(N,void 0,void 0,void 0,7);H=g.K(this.heatMarkersDecorations);for(var c=H.next();!c.done;c=H.next())c=c.value,N*1E3>=c.visibleTimeRangeStartMillis&&N*1E3<=c.visibleTimeRangeEndMillis&& +this.api.logClick(this.gk)}g.nH(this.element,"ytp-drag");this.Ix&&(this.NT.src=this.Ix);this.KO&&!g.y(this.api.getPlayerStateObject(),2)&&this.api.playVideo()}}}; +g.C.pUS=function(N,H){var c=this,t=gl(this),h=v8(this,t);this.api.BO().bW||(t.position>this.qc+2?this.mz&&(this.NT.src=this.mz):t.position1);this.a4(N&&this.J.BO().getPlayerSize().width>=400);this.J.logVisibility(this.element,this.I4);var H=1;N&&this.isActive()&&(H=2);if(this.T!==H){this.T=H;N=this.J.N("delhi_modern_web_player_icons");switch(H){case 1:this.updateValue("icon",N?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M21 3H3C2.46 3 1.96 3.21 1.58 3.58C1.21 3.96 1 4.46 1 5V8C1.68 8.00 2.34 8.05 3 8.15V5H21V19H13.84C13.94 19.65 13.99 20.31 14 21H21C21.53 21 22.03 20.78 22.41 20.41C22.78 20.03 23 19.53 23 19V5C23 4.46 22.78 3.96 22.41 3.58C22.03 3.21 21.53 3 21 3ZM1 10V12C2.18 12 3.35 12.23 4.44 12.68C5.53 13.13 6.52 13.80 7.36 14.63C8.19 15.47 8.86 16.46 9.31 17.55C9.76 18.64 10 19.81 10 21H12C12 18.08 10.84 15.28 8.77 13.22C6.71 11.15 3.91 10 1 10ZM1 14V16C1.65 16 2.30 16.12 2.91 16.38C3.52 16.63 4.07 17.00 4.53 17.46C4.99 17.92 5.36 18.48 5.61 19.08C5.87 19.69 6 20.34 6 21H8C8 19.14 7.26 17.36 5.94 16.05C4.63 14.73 2.85 14 1 14ZM1 18V21H4C3.99 20.20 3.68 19.44 3.12 18.87C2.55 18.31 1.79 18.00 1 18Z", +fill:"white"}}]}:{W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},X:[{W:"path",JN:!0,V:{d:"M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z",fill:"#fff"}}]});break;case 2:this.updateValue("icon", +N?{W:"svg",V:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},X:[{W:"path",V:{d:"M21.20 3.01C21.69 3.06 22.15 3.29 22.48 3.65C22.81 4.02 23.00 4.50 23 5V19L22.99 19.20C22.94 19.66 22.73 20.08 22.41 20.41C22.08 20.73 21.66 20.94 21.20 20.98L21 21H14C13.99 20.31 13.94 19.65 13.84 19H21V5H3V8.15C2.34 8.05 1.68 8.00 1 8V5C0.99 4.50 1.18 4.02 1.51 3.65C1.84 3.29 2.30 3.06 2.79 3.01L3 3H21L21.20 3.01ZM19 17V7H5V8.62C6.95 9.26 8.73 10.35 10.19 11.80C11.64 13.26 12.73 15.04 13.37 17H19ZM1 10V12C2.18 12 3.35 12.23 4.44 12.68C5.53 13.13 6.52 13.80 7.36 14.63C8.19 15.47 8.86 16.46 9.31 17.55C9.76 18.64 10 19.81 10 21H12C12 18.08 10.84 15.28 8.77 13.22C6.71 11.15 3.91 10 1 10ZM1 14V16C1.65 16 2.30 16.12 2.91 16.38C3.52 16.63 4.07 17.00 4.53 17.46C4.99 17.92 5.36 18.48 5.61 19.08C5.87 19.69 6 20.34 6 21H8C8 19.14 7.26 17.36 5.94 16.05C4.63 14.73 2.85 14 1 14ZM1 18V21H4C3.99 20.20 3.68 19.44 3.12 18.87C2.55 18.31 1.79 18.00 1 18Z", +fill:"white"}}]}:g.YAd())}g.QH(this.element,"ytp-remote-button-active",this.isActive())}}; +O6.prototype.B=function(){if(this.J.getOption("remote","quickCast"))this.J.setOption("remote","quickCast",!0);else{var N=this.R4,H=this.element;if(N.td())N.e1();else{N.initialize();a:{var c=g.K(N.hn.items);for(var t=c.next();!t.done;t=c.next())if(t=t.value,t.priority===1){c=t;break a}c=null}c&&(c.open(),N.aD(H));N.aD(H)}}this.J.logClick(this.element)};g.k(Ic,g.e);Ic.prototype.T=function(N){var H=this.J.D(),c=400;H.Y?c=300:H.C&&(c=200);N=this.B&&N.width>=c;this.a4(N);this.J.logVisibility(this.element,N)}; +Ic.prototype.L=function(){if(this.R4.I4)this.R4.e1();else{var N=g.x$(this.J.g_());N&&!N.loaded&&(N.LO("tracklist",{includeAsr:!0}).length||N.load());this.J.logClick(this.element);this.R4.aD(this.element)}}; +Ic.prototype.updateBadge=function(){var N=this.J.isHdr(),H=this.J.getPresentingPlayerType(),c=H!==2&&H!==3,t=g.oS(this.J),h=c&&!!g.RS(this.J.g_());H=h&&t.displayMode===1;t=h&&t.displayMode===2;c=(h=H||t)||!c?null:this.J.getPlaybackQuality();g.QH(this.element,"ytp-hdr-quality-badge",N);g.QH(this.element,"ytp-hd-quality-badge",!N&&(c==="hd1080"||c==="hd1440"));g.QH(this.element,"ytp-4k-quality-badge",!N&&c==="hd2160");g.QH(this.element,"ytp-5k-quality-badge",!N&&c==="hd2880");g.QH(this.element,"ytp-8k-quality-badge", +!N&&c==="highres");g.QH(this.element,"ytp-3d-badge-grey",!N&&h&&H);g.QH(this.element,"ytp-3d-badge",!N&&h&&t)};g.k(vX,g.aQ);g.C=vX.prototype;g.C.Df=function(){var N=this.J.getAvailableAudioTracks();if(N.length>1){this.Ad(g.jm(N,this.Ud));this.tracks=g.fn(N,this.Ud,this);this.countLabel.setContent(N.length?" ("+N.length+")":"");this.publish("size-change");N=this.Ud(this.J.getAudioTrack());this.Mf(N);if(this.J.N("html5_enable_new_audio_settings_menu")){var H;(H=this.T)!=null&&H.setContent(N.toString())}this.enable(!0)}else{if(this.J.N("html5_enable_new_audio_settings_menu")){var c;(c=this.T)!=null&&c.setContent("")}this.enable(!1)}}; +g.C.l$=function(N){g.aQ.prototype.l$.call(this,N);this.J.setAudioTrack(this.tracks[N]);this.R4.lc()}; +g.C.Ud=function(N){return N.toString()}; +g.C.q3=function(N){this.J.N("html5_enable_new_audio_settings_menu")?this.T&&(N?this.T.Ou(this):this.T.cU(this)):g.aQ.prototype.q3.call(this,N)}; +g.C.onClick=function(){this.J.logClick(this.element)};g.k(tq,g.TW);g.C=tq.prototype;g.C.D$=function(){this.J.D$()}; +g.C.open=function(){this.yR.AU()>0&&g.Q7(this.R4,this.yR)}; +g.C.dk=function(){this.yR.AU()>0&&this.J.getPresentingPlayerType()!==2&&this.J.getPresentingPlayerType()!==3?this.element.removeAttribute("aria-disabled"):this.element.setAttribute("aria-disabled","true")}; +g.C.DM=function(N){N.defaultPrevented||(this.open(),N.preventDefault())}; +g.C.Ou=function(N){this.yR.Ou(N)}; +g.C.cU=function(N){this.yR.cU(N)};g.k(PV,n6); +PV.prototype.dk=function(){var N=this.J.getPresentingPlayerType();if(N!==2&&N!==3&&g.rz(this.J))this.T||(this.R4.Ou(this),this.T=!0,this.B.push(this.G(this.J,"videodatachange",this.dk)),this.B.push(this.G(this.J,"videoplayerreset",this.dk)),this.B.push(this.G(this.J,"onPlaylistUpdate",this.dk)),this.B.push(this.G(this.J,"autonavchange",this.L)),N=this.J.getVideoData(),this.L(N.autonavState),this.J.logVisibility(this.element,this.T));else if(this.T){this.R4.cU(this);this.T=!1;N=g.K(this.B);for(var H= +N.next();!H.done;H=N.next())this.G3(H.value)}}; +PV.prototype.L=function(N){d1(this,N!==1)}; +PV.prototype.onSelect=function(N){this.J.DL(N?2:1);this.T&&(this.J.logVisibility(this.element,this.T),this.J.logClick(this.element))}; +PV.prototype.Os=function(){this.T&&this.R4.cU(this);n6.prototype.Os.call(this)};g.k(owR,g.TW);owR.prototype.onClick=function(N){N.preventDefault();var H,c;(H=g.Vl(this.J))==null||(c=H.GS())==null||c.e1();var t,h;(t=g.Vl(this.J))==null||(h=t.DT())==null||h.aD(N.target)};g.k(C2d,g.aQ);g.C=C2d.prototype; +g.C.dk=function(){var N=this.J.getPresentingPlayerType();if(N!==2&&N!==3){this.Us=this.J.Uz();var H=this.J.getAvailableQualityLevels();if(this.T){this.B={};N=g.je(this.J,"getAvailableQualityData",[]);N=g.K(N);for(var c=N.next();!c.done;c=N.next())c=c.value,this.B[c.qualityLabel]=c;N=Object.keys(this.B);H[H.length-1]==="auto"&&N.push("auto");this.ox=new Set(H)}else if(this.L){c=g.je(this.J,"getAvailableQualityData",[]);N=[];c=g.K(c);for(var t=c.next();!t.done;t=c.next())t=t.value,this.Y[t.quality]= +t,t.quality&&N.push(t.quality);H[H.length-1]==="auto"&&N.push("auto")}else N=H;g.kqZ(this.J)&&this.J.PJ()&&N.unshift("missing-qualities");H=this.J.app.x_();c=H.getVideoData();if(!c.B||!c.B.video||c.B.video.qualityOrdinal<1080||c.OT)H=!1;else{t=/^qsa/.test(c.clientPlaybackNonce);var h="r";c.B.id.indexOf(";")>=0&&(t=/^[a-p]/.test(c.clientPlaybackNonce),h="x");t?(H.Lq("iqss",{trigger:h},!0),H=!0):H=!1}H&&N.unshift("inline-survey");this.Ad(N);H=this.J.getVideoData().cotn?!0:!1;c=this.Z.kP();c=!g.gu(this.J.D())|| +!(H===void 0?0:H)||!(c===void 0||c);H=this.yR;c=c===void 0?!1:c;H.e3&&g.QH(H.Sa("ytp-panel-footer"),"ytp-panel-hide-footer",c===void 0?!1:c);if(N.length){this.iP();this.enable(!0);return}}this.enable(!1)}; +g.C.iP=function(){if(this.T){var N=this.J.getPreferredQuality();this.ox.has(N)&&(this.U=this.J.getPlaybackQuality(),this.C=this.J.getPlaybackQualityLabel(),N==="auto"?(this.Mf(N),this.setContent(this.mT(N))):this.Mf(this.C))}else N=this.J.getPreferredQuality(),this.options[N]&&(this.U=this.J.getPlaybackQuality(),this.Mf(N),N==="auto"&&this.setContent(this.mT(N)))}; +g.C.l$=function(N){if(N!=="missing-qualities"){g.aQ.prototype.l$.call(this,N);var H=this.T?this.B[N]:this.Y[N];var c=H==null?void 0:H.quality,t=H==null?void 0:H.formatId,h=H==null?void 0:H.paygatedQualityDetails;H=h==null?void 0:h.endpoint;if(h){var O;h=(O=this.options[N])==null?void 0:O.element;this.J.logClick(h)}if(this.T){var F,M;if((F=g.P(H,g.ySc))==null?0:(M=F.popup)==null?0:M.notificationActionRenderer)this.J.QS("innertubeCommand",H);else if(H){this.J.QS("innertubeCommand",H);return}t?this.J.setPlaybackQuality(c, +t):this.J.setPlaybackQuality(c)}else{if(this.L){var f,d;if((f=g.P(H,g.ySc))==null?0:(d=f.popup)==null?0:d.notificationActionRenderer)this.J.QS("innertubeCommand",H);else if(H){this.J.QS("innertubeCommand",H);return}}this.J.setPlaybackQuality(N)}this.R4.e1();this.dk()}}; +g.C.open=function(){for(var N=g.K(Object.values(this.options)),H=N.next();!H.done;H=N.next()){H=H.value;var c=void 0;this.J.hasVe((c=H)==null?void 0:c.element)&&(c=void 0,this.J.logVisibility((c=H)==null?void 0:c.element,!0))}g.aQ.prototype.open.call(this);this.J.logClick(this.element)}; +g.C.y3=function(N,H,c){var t=this;if(N==="missing-qualities")return new g.TW({W:"a",fq:["ytp-menuitem"],V:{href:"https://support.google.com/youtube/?p=missing_quality",target:this.J.D().TW,tabindex:"0",role:"menuitemradio"},X:[{W:"div",fq:["ytp-menuitem-label"],Wp:"{{label}}"}]},H,this.mT(N));if(N!=="inline-survey"){var h,O=(h=this.T?this.B[N]:this.Y[N])==null?void 0:h.paygatedQualityDetails;h=O==null?void 0:O.veType;O=O==null?void 0:O.trackingParams;H=g.aQ.prototype.y3.call(this,N,H,c);O?(this.J.createServerVe(H.element, +this,!0),this.J.setTrackingParams(H.element,O)):h&&this.J.createClientVe(H.element,this,h,!0);return H}N=[{W:"span",Wp:"Looks good?"}];c=g.K([!0,!1]);O=c.next();for(h={};!O.done;h={R5:void 0},O=c.next())h.R5=O.value,O=new g.e({W:"span",K:"ytp-menuitem-inline-survey-response",X:[h.R5?ztw():ELe()],V:{tabindex:"0",role:"button"}}),O.listen("click",function(F){return function(){var M=t.J.app.x_();M.Lq("iqsr",{tu:F.R5});M.getVideoData().OT=!0;t.R4.e1();t.dk()}}(h)),N.push(O); +return new g.TW({W:"div",K:"ytp-menuitem",V:{"aria-disabled":"true"},X:[{W:"div",fq:["ytp-menuitem-label"],X:N}]},H)}; +g.C.mT=function(N,H){H=H===void 0?!1:H;if(N==="missing-qualities")return{W:"div",Wp:"Missing options?"};if(N==="inline-survey")return"";var c=this.L||this.T?[C8(this,N,H,!1)]:[IYS(this,N)];var t=this.J.getPreferredQuality();H||t!=="auto"||N!=="auto"||(c.push(" "),this.T?c.push(C8(this,this.C,H,!0,["ytp-menu-label-secondary"])):this.L?c.push(C8(this,this.U,H,!0,["ytp-menu-label-secondary"])):c.push(IYS(this,this.U,["ytp-menu-label-secondary"])));return{W:"div",X:c}};g.k(KB,xH);KB.prototype.U=function(){xH.prototype.U.call(this);this.Z&&Lhs(this)}; +KB.prototype.NT=function(){this.Bp()}; +KB.prototype.ox=function(){this.J.setPlaybackRate(this.T,!0)}; +KB.prototype.Y=function(N){xH.prototype.Y.call(this,N);this.Bp();Lhs(this);N.preventDefault()};g.k(K5,g.e);g.C=K5.prototype;g.C.init=function(){this.s_(this.T);this.updateValue("minvalue",this.B);this.updateValue("maxvalue",this.L)}; +g.C.Ft=function(N){if(!N.defaultPrevented){switch(N.keyCode){case 37:case 40:var H=-this.C;break;case 39:case 38:H=this.C;break;default:return}this.s_(this.T+H);N.preventDefault()}}; +g.C.yM=function(N){var H=this.T;H+=(N.deltaX||-N.deltaY)<0?-this.Z:this.Z;this.s_(H);N.preventDefault()}; +g.C.x7=function(N){N=(N-g.VC(this.U).x)/this.Bp*this.range+this.B;this.s_(N)}; +g.C.s_=function(N,H){H=H===void 0?"":H;N=g.Ae(N,this.B,this.L);H===""&&(H=N.toString());this.updateValue("valuenow",N);this.updateValue("valuetext",H);this.Us.style.left=(N-this.B)/this.range*(this.Bp-this.Ix)+"px";this.T=N}; +g.C.focus=function(){this.Cq.focus()};g.k(gF,K5);gF.prototype.ox=function(){this.J.setPlaybackRate(this.T,!0)}; +gF.prototype.s_=function(N){K5.prototype.s_.call(this,N,ex(this,N).toString());this.S&&(RM(this),this.NT())}; +gF.prototype.updateValues=function(){var N=this.J.getPlaybackRate();ex(this,this.T)!==N&&(this.s_(N),RM(this))};g.k(rF,g.lL);rF.prototype.focus=function(){this.T.focus()};g.k(tJ,tT);g.k(VRR,g.aQ);g.C=VRR.prototype;g.C.onVideoDataChange=function(N,H){N==="dataloaded"&&lDw(H)&&(N=this.J.getAvailablePlaybackRates(),g.bo(this.U,N)||(this.U=N,this.L.dispose(),this.L=new KB(this.J)),this.Df())}; +g.C.mT=function(N){return N==="1"?"Normal":N.toLocaleString()}; +g.C.Df=function(){var N,H=(N=this.J.getVideoData())==null?void 0:N.vH();N=this.J.getPresentingPlayerType(H);this.enable(N!==2&&N!==3);llt(this)}; +g.C.Ad=function(N){g.aQ.prototype.Ad.call(this,N);this.L&&this.L.B.focus()}; +g.C.q3=function(N){g.aQ.prototype.q3.call(this,N);N?(this.Us=this.G(this.J,"onPlaybackRateChange",this.onPlaybackRateChange),llt(this),VKt(this,this.J.getPlaybackRate()),this.J.N("enable_web_premium_varispeed_upsell")&&(this.J.logVisibility(this.element,!0),this.B&&this.J.logVisibility(this.Z.element,!0))):(this.G3(this.Us),this.Us=null)}; +g.C.onPlaybackRateChange=function(N){var H=this.J.getPlaybackRate();!this.Y&&this.U.includes(H)||C5t(this,H);VKt(this,N)}; +g.C.y3=function(N,H,c){return N===this.T&&T$(this.J)?g.aQ.prototype.y3.call(this,N,H,c,{W:"div",K:"ytp-speed-slider-menu-footer",X:[this.L]}):N===this.B&&UZl(this.J,this.ox)?eWv(this,N,H,c):g.aQ.prototype.y3.call(this,N,H,c)}; +g.C.l$=function(N){g.aQ.prototype.l$.call(this,N);N===this.B?(this.J.logClick(this.Z.element),this.J.QS("innertubeCommand",this.ox)):N===this.T?this.J.setPlaybackRate(this.C,!0):this.J.setPlaybackRate(Number(N),!0);(!T$(this.J)||N!==this.T&&N!==this.B)&&this.R4.lc()}; +g.C.Z_=function(N){var H=N===this.T;this.Y=!1;H&&IS(this.J)&&!T$(this.J)?(N=new tJ(this.J),g.Q7(this.R4,N)):g.aQ.prototype.Z_.call(this,N)};g.k($m,g.aQ);g.C=$m.prototype;g.C.Mf=function(N){g.aQ.prototype.Mf.call(this,N)}; +g.C.BT=function(N){return N.option.toString()}; +g.C.getOption=function(N){return this.settings[N]}; +g.C.mT=function(N){return this.getOption(N).text||""}; +g.C.l$=function(N){g.aQ.prototype.l$.call(this,N);this.publish("settingChange",this.setting,this.settings[N].option)};g.k(M0,g.Fm);M0.prototype.pO=function(N){for(var H=g.K(Object.keys(N)),c=H.next();!c.done;c=H.next()){var t=c.value;if(c=this.g2[t]){var h=N[t].toString();t=!!N[t+"Override"];c.options[h]&&(c.Mf(h),c.B.element.setAttribute("aria-checked",String(!t)),c.T.element.setAttribute("aria-checked",String(t)))}}}; +M0.prototype.Xn=function(N,H){this.publish("settingChange",N,H)};g.k(DA,g.aQ);DA.prototype.T=function(N){return N.languageCode}; +DA.prototype.mT=function(N){return this.languages[N].languageName||""}; +DA.prototype.l$=function(N){this.publish("select",N);this.J.logClick(this.element);g.CJ(this.R4)};g.k(urR,g.aQ);g.C=urR.prototype;g.C.RT=function(N){return g.NF(N)?"__off__":N.displayName}; +g.C.mT=function(N){return N==="__off__"?"Off":N==="__translate__"?"Auto-translate":N==="__contribute__"?"Add subtitles/CC":N==="__correction__"?"Suggest caption corrections":(N==="__off__"?{}:this.tracks[N]).displayName}; +g.C.l$=function(N){if(N==="__translate__")this.T.open();else if(N==="__contribute__"){this.J.pauseVideo();this.J.isFullscreen()&&this.J.toggleFullscreen();var H=g.pr(this.J.D(),this.J.getVideoData());g.tU(H)}else if(N==="__correction__"){this.J.pauseVideo();this.J.isFullscreen()&&this.J.toggleFullscreen();var c=pof(this);Uk(this,c);g.aQ.prototype.l$.call(this,this.RT(c));var t,h;c=(H=this.J.getVideoData().getPlayerResponse())==null?void 0:(t=H.captions)==null?void 0:(h=t.playerCaptionsTracklistRenderer)== +null?void 0:h.openTranscriptCommand;this.J.QS("innertubeCommand",c);this.R4.lc();this.B&&this.J.logClick(this.B)}else{if(N==="__correction__"){this.J.pauseVideo();this.J.isFullscreen()&&this.J.toggleFullscreen();H=pof(this);Uk(this,H);g.aQ.prototype.l$.call(this,this.RT(H));var O,F;H=(c=this.J.getVideoData().getPlayerResponse())==null?void 0:(O=c.captions)==null?void 0:(F=O.playerCaptionsTracklistRenderer)==null?void 0:F.openTranscriptCommand;this.J.QS("innertubeCommand",H)}else this.J.logClick(this.element), +Uk(this,N==="__off__"?{}:this.tracks[N]),g.aQ.prototype.l$.call(this,N);this.R4.lc()}}; +g.C.Df=function(){var N=this.J.getOptions();N=N&&N.indexOf("captions")!==-1;var H=this.J.getVideoData(),c=H&&H.VP,t,h=!((t=this.J.getVideoData())==null||!g.Da(t));t={};if(N||c){var O;if(N){var F=this.J.getOption("captions","track");t=this.J.getOption("captions","tracklist",{includeAsr:!0});var M=h?[]:this.J.getOption("captions","translationLanguages");this.tracks=g.fn(t,this.RT,this);h=g.jm(t,this.RT);var f,d;pof(this)&&((O=H.getPlayerResponse())==null?0:(f=O.captions)==null?0:(d=f.playerCaptionsTracklistRenderer)== +null?0:d.openTranscriptCommand)&&h.push("__correction__");if(M.length&&!g.NF(F)){if((O=F.translationLanguage)&&O.languageName){var W=O.languageName;O=M.findIndex(function(z){return z.languageName===W}); +jWD(M,O)}A3R(this.T,M);h.push("__translate__")}O=this.RT(F)}else this.tracks={},h=[],O="__off__";h.unshift("__off__");this.tracks.__off__={};c&&h.unshift("__contribute__");this.tracks[O]||(this.tracks[O]=F,h.push(O));this.Ad(h);this.Mf(O);F&&F.translationLanguage?this.T.Mf(this.T.T(F.translationLanguage)):xtZ(this.T);N&&this.L.pO(this.J.getSubtitlesUserSettings());this.countLabel.setContent(t&&t.length?" ("+t.length+")":"");this.publish("size-change");this.J.logVisibility(this.element,!0);this.enable(!0)}else this.enable(!1)}; +g.C.nR=function(N){var H=this.J.getOption("captions","track");H=g.dP(H);H.translationLanguage=this.T.languages[N];Uk(this,H)}; +g.C.Xn=function(N,H){if(N==="reset")this.J.resetSubtitlesUserSettings();else{var c={};c[N]=H;this.J.updateSubtitlesUserSettings(c)}Qbv(this,!0);this.U.start();this.L.pO(this.J.getSubtitlesUserSettings())}; +g.C.wdf=function(N){N||g.Ms(this.U)}; +g.C.Os=function(){g.Ms(this.U);g.aQ.prototype.Os.call(this)}; +g.C.open=function(){g.aQ.prototype.open.call(this);this.options.__correction__&&!this.B&&(this.B=this.options.__correction__.element,this.J.createClientVe(this.B,this,167341),this.J.logVisibility(this.B,!0))};g.k(cJL,g.gC);g.C=cJL.prototype; +g.C.initialize=function(){if(!this.isInitialized){var N=this.J.D();this.isInitialized=!0;try{this.AR=new C2d(this.J,this)}catch(c){g.aS(Error("QualityMenuItem creation failed"))}g.l(this,this.AR);var H=new urR(this.J,this);g.l(this,H);N.enableSpeedOptions&&(H=new VRR(this.J,this),g.l(this,H));(g.PX(N)||N.Y)&&(N.B||N.vp)&&(H=new owR(this.J,this),g.l(this,H));N.AN&&!N.N("web_player_move_autonav_toggle")&&(H=new PV(this.J,this),g.l(this,H));N.N("html5_enable_new_audio_settings_menu")?(this.rG=new tq(this.J, +this),g.l(this,this.rG)):(N=new vX(this.J,this),g.l(this,N));this.J.publish("settingsMenuInitialized");BM(this.settingsButton,this.hn.AU())}}; +g.C.Ou=function(N){this.initialize();this.hn.Ou(N);BM(this.settingsButton,this.hn.AU())}; +g.C.cU=function(N){this.uo()||(this.I4&&this.hn.AU()<=1&&this.hide(),this.hn.cU(N),BM(this.settingsButton,this.hn.AU()))}; +g.C.aD=function(N){this.initialize();this.hn.AU()>0&&g.gC.prototype.aD.call(this,N)}; +g.C.e1=function(){this.xw?this.xw=!1:g.gC.prototype.e1.call(this)}; +g.C.show=function(){g.gC.prototype.show.call(this);g.bV(this.J.getRootNode(),"ytp-settings-shown")}; +g.C.hide=function(){g.gC.prototype.hide.call(this);g.nH(this.J.getRootNode(),"ytp-settings-shown")}; +g.C.pG=function(N){this.J.logVisibility(this.element,N);this.J.publish("settingsMenuVisibilityChanged",N)}; +g.C.D$=function(){this.J.D$()};g.k(CG3,g.e);g.C=CG3.prototype;g.C.onClick=function(){if(ff(this)&&(this.J.toggleSubtitles(),this.J.logClick(this.element),!this.isEnabled())){var N=!1,H=g.GU().G0(65);g.gu(this.J.D())&&H!=null&&(N=!H);N&&this.J.D().N("web_player_nitrate_promo_tooltip")&&this.J.publish("showpromotooltip",this.element)}}; +g.C.EDS=function(N){var H,c;(H=g.Vl(this.J))==null||(c=H.GS())==null||c.aD(N)}; +g.C.isEnabled=function(){var N=this.J.getOption("captions","track");return!(!N||!N.displayName)}; +g.C.Df=function(){var N=ff(this),H=300;this.J.D().C&&(H=480);this.J.N("delhi_modern_web_player_icons")&&this.updateValue("icon",Cah(this));if(this.J.D().Y){this.updateValue("title",g.EC(this.J,"Subtitles/closed captions","c"));this.update({"tooltip-title":g.EC(this.J,"Subtitles/closed captions","c")});this.update({"data-title-no-tooltip":"Subtitles/closed captions"});var c=N}else{if(N)(c=this.Sa("ytp-subtitles-button-icon"))==null||c.setAttribute("fill-opacity","1"),this.J.D().N("player_tooltip_data_title_killswitch")? +this.updateValue("title",g.EC(this.J,"Subtitles/closed captions","c")):this.update({"tooltip-title":g.EC(this.J,"Subtitles/closed captions","c")}),this.update({"data-title-no-tooltip":"Subtitles/closed captions"});else{if(this.J.N("delhi_modern_web_player_icons")){var t;(t=this.Sa("ytp-subtitles-button-icon"))==null||t.getElementsByTagName("svg")[0].setAttribute("fill-opacity","0.3")}else{var h;(h=this.Sa("ytp-subtitles-button-icon"))==null||h.setAttribute("fill-opacity","0.3")}this.updateValue("title", +"Subtitles/closed captions unavailable");this.update({"tooltip-title":"Subtitles/closed captions unavailable"});this.update({"data-title-no-tooltip":"Subtitles/closed captions unavailable"})}c=!0}this.tooltip.oo();c=c&&this.J.BO().getPlayerSize().width>=H;this.a4(c);this.J.logVisibility(this.element,c);N?this.updateValue("pressed",this.isEnabled()):this.updateValue("pressed",!1)}; +g.C.lX=function(N){g.e.prototype.lX.call(this,N)};g.k(g.s6,g.e);g.C=g.s6.prototype;g.C.canShowCountdown=function(){return!bq(this)&&!HG(this)}; +g.C.Dp=function(){var N=this.api.BO().getPlayerSize().width,H=this.Bp;this.api.D().C&&(H=400);H=N>=H&&(!HG(this)||!g.y(this.api.getPlayerStateObject(),64));this.a4(H);g.QH(this.element,"ytp-time-display-allow-autohide",H&&N<400);N=this.api.getProgressState();if(H){var c=this.api.getPresentingPlayerType();H=this.api.getCurrentTime(c,!1);this.B&&(H-=N.airingStart);bq(this)&&(H-=this.PO.startTimeMs/1E3);this.canShowCountdown()&&this.L&&(H-=this.api.getDuration(c,!1));var t=g.ba(H);this.U!==t&&(this.updateValue("currenttime", +t),this.U=t);c=bq(this)?(this.PO.endTimeMs-this.PO.startTimeMs)/1E3:this.api.getDuration(c,!1);t=g.ba(c);this.S!==t&&(this.updateValue("duration",t),this.S=t,H&&(H=g.Df("$PLAY_PROGRESS of $DURATION",{PLAY_PROGRESS:g.ba(H,!0),DURATION:g.ba(c,!0)}),this.updateValue("timeDisplayAriaLabel",H)))}zoh(this,N.isAtLiveHead);hED(this,this.api.getLoopRange())}; +g.C.onLoopRangeChange=function(N){var H=this.PO!==N;this.PO=N;H&&(this.Dp(),u4(this))}; +g.C.cYT=function(){this.api.setLoopRange(null)}; +g.C.FzE=function(){this.L=!this.L;this.Dp()}; +g.C.onVideoDataChange=function(N,H,c){this.updateVideoData((this.api.D().N("enable_topsoil_wta_for_halftime")||this.api.D().N("enable_topsoil_wta_for_halftime_live_infra"))&&c===2?this.api.getVideoData(1):H);this.Dp();u4(this)}; +g.C.updateVideoData=function(N){this.sP=N.isLivePlayback&&!N.fb;this.B=gz(N);this.isPremiere=N.isPremiere;var H,c,t;this.liveIndicatorText=(N=(H=N.getWatchNextResponse())==null?void 0:(c=H.playerOverlays)==null?void 0:(t=c.playerOverlayRenderer)==null?void 0:t.liveIndicatorText)?KE(N):null;g.QH(this.element,"ytp-live",HG(this));this.api.N("delhi_modern_web_player")&&this.Sa("ytp-time-wrapper").classList.toggle("ytp-time-wrapper-delhi",this.canShowCountdown())}; +g.C.onClick=function(N){N.target===this.liveBadge.element&&(this.api.seekTo(Infinity,void 0,void 0,void 0,33),this.api.playVideo())}; +g.C.Os=function(){this.T&&this.T();g.e.prototype.Os.call(this)};g.k(AL,g.e);g.C=AL.prototype;g.C.J2=function(){ApR(this)}; +g.C.ewq=function(N){Sdt(this,N);this.Z&&ApR(this)}; +g.C.AC=function(N){if(!N.defaultPrevented){var H=N.keyCode,c=null;H===37?c=this.volume-5:H===39?c=this.volume+5:H===36?c=0:H===35&&(c=100);c!==null&&(c=g.Ae(c,0,100),c===0?this.api.mute():(this.api.isMuted()&&this.api.unMute(),this.api.setVolume(c)),N.preventDefault())}}; +g.C.QM=function(N){var H=N.deltaX||-N.deltaY;N.deltaMode?this.api.setVolume(this.volume+(H<0?-10:10)):this.api.setVolume(this.volume+g.Ae(H/10,-10,10));N.preventDefault();var c,t;((c=this.api.D())==null?0:(t=c.getWebPlayerContextConfig())==null?0:t.enableFullscreenComponentsFeature)&&N.stopPropagation()}; +g.C.LxT=function(){Zr(this,this.T,!0,this.B,this.api.eE());this.Bp=this.volume;this.api.isMuted()&&this.api.unMute()}; +g.C.sj=function(N){var H=this.L?78:52,c=this.L?18:12;N-=g.VC(this.C).x;c=g.Ae((N-c/2)/(H-c),0,1);this.Z&&(c=g.Ae(N/H,0,1));H=c;H=this.api.N("web_player_non_linear_volume_controls")?H<=.25?H/.25*.1:.1+(H-.25)/.75*.9:H;this.api.setVolume(H*100)}; +g.C.B0S=function(){Zr(this,this.T,!1,this.B,this.api.eE());this.volume===0&&(this.api.mute(),this.api.setVolume(this.Bp))}; +g.C.onVolumeChange=function(N){YO(this,N.volume,N.muted)}; +g.C.Pg=function(){Zr(this,this.T,this.isDragging,this.B,this.api.eE())}; +g.C.Os=function(){g.e.prototype.Os.call(this);g.nH(this.Y,"ytp-volume-slider-active")};g.k(bG,g.e); +bG.prototype.onVideoDataChange=function(){var N=this.api.D();this.Mc();this.visible=!!this.api.getVideoData().videoId&&!this.api.getVideoData(1).Uc;this.a4(this.visible);this.api.logVisibility(this.element,this.visible&&this.TW);if(this.visible){var H=this.api.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",H)}N.L&&(this.T&&(this.G3(this.T),this.T=null),this.element.removeAttribute("href"),this.element.removeAttribute("title"),this.element.removeAttribute("aria-label"),g.bV(this.element,"no-link")); +H=this.api.D();N=this.api.getVideoData();var c="";H.L||(H=g.gx(H),H.indexOf("www.")===0&&(H=H.substring(4)),c=g.DT(N)?"Watch on YouTube Music":H==="youtube.com"?"Watch on YouTube":g.Df("Watch on $WEBSITE",{WEBSITE:H}));this.api.N("player_tooltip_data_title_killswitch")?this.updateValue("title",c):this.updateValue("tooltip-title",c)}; +bG.prototype.onClick=function(N){this.api.N("web_player_log_click_before_generating_ve_conversion_params")&&this.api.logClick(this.element);var H=this.api.D(),c=this.api.getVideoUrl(!g.Mb(N),!1,!0,!0);if(g.PX(H)){var t={};g.PX(H)&&g.je(this.api,"addEmbedsConversionTrackingParams",[t]);c=g.Of(c,t)}g.Yc(c,this.api,N);this.api.N("web_player_log_click_before_generating_ve_conversion_params")||this.api.logClick(this.element)}; +bG.prototype.Mc=function(){var N={W:"svg",V:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},X:[{W:"path",JN:!0,K:"ytp-svg-fill",V:{d:"M 45.09 10 L 45.09 25.82 L 47.16 25.82 L 47.41 24.76 L 47.47 24.76 C 47.66 25.14 47.94 25.44 48.33 25.66 C 48.72 25.88 49.16 25.99 49.63 25.99 C 50.48 25.99 51.1 25.60 51.5 24.82 C 51.9 24.04 52.09 22.82 52.09 21.16 L 52.09 19.40 C 52.12 18.13 52.05 17.15 51.90 16.44 C 51.75 15.74 51.50 15.23 51.16 14.91 C 50.82 14.59 50.34 14.44 49.75 14.44 C 49.29 14.44 48.87 14.57 48.47 14.83 C 48.27 14.96 48.09 15.11 47.93 15.29 C 47.78 15.46 47.64 15.65 47.53 15.86 L 47.51 15.86 L 47.51 10 L 45.09 10 z M 8.10 10.56 L 10.96 20.86 L 10.96 25.82 L 13.42 25.82 L 13.42 20.86 L 16.32 10.56 L 13.83 10.56 L 12.78 15.25 C 12.49 16.62 12.31 17.59 12.23 18.17 L 12.16 18.17 C 12.04 17.35 11.84 16.38 11.59 15.23 L 10.59 10.56 L 8.10 10.56 z M 30.10 10.56 L 30.10 12.58 L 32.59 12.58 L 32.59 25.82 L 35.06 25.82 L 35.06 12.58 L 37.55 12.58 L 37.55 10.56 L 30.10 10.56 z M 19.21 14.46 C 18.37 14.46 17.69 14.63 17.17 14.96 C 16.65 15.29 16.27 15.82 16.03 16.55 C 15.79 17.28 15.67 18.23 15.67 19.43 L 15.67 21.06 C 15.67 22.24 15.79 23.19 16 23.91 C 16.21 24.62 16.57 25.15 17.07 25.49 C 17.58 25.83 18.27 26 19.15 26 C 20.02 26 20.69 25.83 21.19 25.5 C 21.69 25.17 22.06 24.63 22.28 23.91 C 22.51 23.19 22.63 22.25 22.63 21.06 L 22.63 19.43 C 22.63 18.23 22.50 17.28 22.27 16.56 C 22.04 15.84 21.68 15.31 21.18 14.97 C 20.68 14.63 20.03 14.46 19.21 14.46 z M 56.64 14.47 C 55.39 14.47 54.51 14.84 53.99 15.61 C 53.48 16.38 53.22 17.60 53.22 19.27 L 53.22 21.23 C 53.22 22.85 53.47 24.05 53.97 24.83 C 54.34 25.40 54.92 25.77 55.71 25.91 C 55.97 25.96 56.26 25.99 56.57 25.99 C 57.60 25.99 58.40 25.74 58.96 25.23 C 59.53 24.72 59.81 23.94 59.81 22.91 C 59.81 22.74 59.79 22.61 59.78 22.51 L 57.63 22.39 C 57.62 23.06 57.54 23.54 57.40 23.83 C 57.26 24.12 57.01 24.27 56.63 24.27 C 56.35 24.27 56.13 24.18 56.00 24.02 C 55.87 23.86 55.79 23.61 55.75 23.25 C 55.71 22.89 55.68 22.36 55.68 21.64 L 55.68 21.08 L 59.86 21.08 L 59.86 19.16 C 59.86 17.99 59.77 17.08 59.58 16.41 C 59.39 15.75 59.07 15.25 58.61 14.93 C 58.15 14.62 57.50 14.47 56.64 14.47 z M 23.92 14.67 L 23.92 23.00 C 23.92 24.03 24.11 24.79 24.46 25.27 C 24.82 25.76 25.35 26.00 26.09 26.00 C 27.16 26.00 27.97 25.49 28.5 24.46 L 28.55 24.46 L 28.76 25.82 L 30.73 25.82 L 30.73 14.67 L 28.23 14.67 L 28.23 23.52 C 28.13 23.73 27.97 23.90 27.77 24.03 C 27.57 24.16 27.37 24.24 27.15 24.24 C 26.89 24.24 26.70 24.12 26.59 23.91 C 26.48 23.70 26.43 23.35 26.43 22.85 L 26.43 14.67 L 23.92 14.67 z M 36.80 14.67 L 36.80 23.00 C 36.80 24.03 36.98 24.79 37.33 25.27 C 37.60 25.64 37.97 25.87 38.45 25.96 C 38.61 25.99 38.78 26.00 38.97 26.00 C 40.04 26.00 40.83 25.49 41.36 24.46 L 41.41 24.46 L 41.64 25.82 L 43.59 25.82 L 43.59 14.67 L 41.09 14.67 L 41.09 23.52 C 40.99 23.73 40.85 23.90 40.65 24.03 C 40.45 24.16 40.23 24.24 40.01 24.24 C 39.75 24.24 39.58 24.12 39.47 23.91 C 39.36 23.70 39.31 23.35 39.31 22.85 L 39.31 14.67 L 36.80 14.67 z M 56.61 16.15 C 56.88 16.15 57.08 16.23 57.21 16.38 C 57.33 16.53 57.42 16.79 57.47 17.16 C 57.52 17.53 57.53 18.06 57.53 18.78 L 57.53 19.58 L 55.69 19.58 L 55.69 18.78 C 55.69 18.05 55.71 17.52 55.75 17.16 C 55.79 16.81 55.87 16.55 56.00 16.39 C 56.13 16.23 56.32 16.15 56.61 16.15 z M 19.15 16.19 C 19.50 16.19 19.75 16.38 19.89 16.75 C 20.03 17.12 20.09 17.7 20.09 18.5 L 20.09 21.97 C 20.09 22.79 20.03 23.39 19.89 23.75 C 19.75 24.11 19.51 24.29 19.15 24.30 C 18.80 24.30 18.54 24.11 18.41 23.75 C 18.28 23.39 18.22 22.79 18.22 21.97 L 18.22 18.5 C 18.22 17.7 18.28 17.12 18.42 16.75 C 18.56 16.38 18.81 16.19 19.15 16.19 z M 48.63 16.22 C 48.88 16.22 49.08 16.31 49.22 16.51 C 49.36 16.71 49.45 17.05 49.50 17.52 C 49.55 17.99 49.58 18.68 49.58 19.55 L 49.58 21 L 49.59 21 C 49.59 21.81 49.57 22.45 49.5 22.91 C 49.43 23.37 49.32 23.70 49.16 23.89 C 49.00 24.08 48.78 24.17 48.51 24.17 C 48.30 24.17 48.11 24.12 47.94 24.02 C 47.76 23.92 47.62 23.78 47.51 23.58 L 47.51 17.25 C 47.59 16.95 47.75 16.70 47.96 16.50 C 48.17 16.31 48.39 16.22 48.63 16.22 z "}}]}, +H=28666,c=this.api.getVideoData();this.api.isEmbedsShortsMode()?N={W:"svg",V:{fill:"none",height:"100%",viewBox:"-10 -8 67 36",width:"100%"},X:[{W:"path",V:{d:"m.73 13.78 2.57-.05c-.05 2.31.36 3.04 1.34 3.04.95 0 1.34-.61 1.34-1.88 0-1.88-.97-2.83-2.37-4.04C1.47 8.99.55 7.96.55 5.23c0-2.60 1.15-4.14 4.17-4.14 2.91 0 4.12 1.70 3.71 5.20l-2.57.15c.05-2.39-.20-3.22-1.26-3.22-.97 0-1.31.64-1.31 1.82 0 1.77.74 2.31 2.34 3.84 1.98 1.88 3.09 2.98 3.09 5.54 0 3.24-1.26 4.48-4.20 4.48-3.06.02-4.30-1.62-3.78-5.12ZM9.67.74h2.83V4.58c0 1.15-.05 1.95-.15 2.93h.05c.54-1.15 1.44-1.75 2.60-1.75 1.75 0 2.5 1.23 2.5 3.35v9.53h-2.83V9.32c0-1.03-.25-1.54-.90-1.54-.48 0-.92.28-1.23.79V18.65H9.70V.74h-.02ZM18.67 13.27v-1.82c0-4.07 1.18-5.64 3.99-5.64 2.80 0 3.86 1.62 3.86 5.64v1.82c0 3.96-1.00 5.59-3.94 5.59-2.98 0-3.91-1.67-3.91-5.59Zm5 1.03v-3.94c0-1.72-.25-2.60-1.08-2.60-.79 0-1.05.87-1.05 2.60v3.94c0 1.80.25 2.62 1.05 2.62.82 0 1.08-.82 1.08-2.62ZM27.66 6.03h2.19l.25 2.73h.10c.28-2.01 1.21-3.01 2.39-3.01.15 0 .30.02.51.05l-.15 3.27c-1.18-.25-2.13-.05-2.57.72V18.63h-2.73V6.03ZM34.80 15.67V8.27h-1.03V6.05h1.15l.36-3.73h2.11V6.05h1.93v2.21h-1.80v6.98c0 1.18.15 1.44.61 1.44.41 0 .77-.05 1.10-.18l.36 1.80c-.85.41-1.93.54-2.60.54-1.82-.02-2.21-.97-2.21-3.19ZM40.26 14.81l2.39-.05c-.12 1.39.36 2.19 1.21 2.19.72 0 1.13-.46 1.13-1.10 0-.87-.79-1.46-2.16-2.5-1.62-1.23-2.60-2.16-2.60-4.20 0-2.24 1.18-3.32 3.63-3.32 2.60 0 3.63 1.28 3.42 4.35l-2.39.10c-.02-1.90-.28-2.44-1.08-2.44-.77 0-1.10.38-1.10 1.08 0 .97.56 1.44 1.49 2.11 2.21 1.64 3.24 2.47 3.24 4.53 0 2.26-1.28 3.40-3.73 3.40-2.78-.02-3.81-1.54-3.45-4.14Z", +fill:"#fff"}}]}:g.DT(c)&&(N={W:"svg",V:{fill:"none",height:"25",viewBox:"0 0 140 25",width:"140"},X:[{W:"path",V:{d:"M33.96 20.91V15.45L37.43 4.11H34.84L33.52 9.26C33.22 10.44 32.95 11.67 32.75 12.81H32.59C32.48 11.81 32.16 10.50 31.84 9.24L30.56 4.11H27.97L31.39 15.45V20.91H33.96Z",fill:"white"}},{W:"path",V:{d:"M40.92 8.31C37.89 8.31 36.85 10.06 36.85 13.83V15.62C36.85 19.00 37.50 21.12 40.86 21.12C44.17 21.12 44.88 19.10 44.88 15.62V13.83C44.88 10.46 44.20 8.31 40.92 8.31ZM42.21 16.73C42.21 18.37 41.92 19.40 40.87 19.40C39.84 19.40 39.55 18.36 39.55 16.73V12.69C39.55 11.29 39.75 10.04 40.87 10.04C42.05 10.04 42.21 11.36 42.21 12.69V16.73Z", +fill:"white"}},{W:"path",V:{d:"M49.09 21.10C50.55 21.10 51.46 20.49 52.21 19.39H52.32L52.43 20.91H54.42V8.55H51.78V18.48C51.50 18.97 50.85 19.33 50.24 19.33C49.47 19.33 49.23 18.72 49.23 17.70V8.55H46.60V17.82C46.60 19.83 47.18 21.10 49.09 21.10Z",fill:"white"}},{W:"path",V:{d:"M59.64 20.91V6.16H62.68V4.11H53.99V6.16H57.03V20.91H59.64Z",fill:"white"}},{W:"path",V:{d:"M64.69 21.10C66.15 21.10 67.06 20.49 67.81 19.39H67.92L68.03 20.91H70.02V8.55H67.38V18.48C67.10 18.97 66.45 19.33 65.84 19.33C65.07 19.33 64.83 18.72 64.83 17.70V8.55H62.20V17.82C62.20 19.83 62.78 21.10 64.69 21.10Z", +fill:"white"}},{W:"path",V:{d:"M77.49 8.28C76.21 8.28 75.29 8.84 74.68 9.75H74.55C74.63 8.55 74.69 7.53 74.69 6.72V3.45H72.14L72.13 14.19L72.14 20.91H74.36L74.55 19.71H74.62C75.21 20.52 76.12 21.03 77.33 21.03C79.34 21.03 80.20 19.30 80.20 15.62V13.71C80.20 10.27 79.81 8.28 77.49 8.28ZM77.58 15.62C77.58 17.92 77.24 19.29 76.17 19.29C75.67 19.29 74.98 19.05 74.67 18.60V11.25C74.94 10.55 75.54 10.04 76.21 10.04C77.29 10.04 77.58 11.35 77.58 13.74V15.62Z",fill:"white"}},{W:"path",V:{d:"M89.47 13.51C89.47 10.53 89.17 8.32 85.74 8.32C82.51 8.32 81.79 10.47 81.79 13.63V15.80C81.79 18.88 82.45 21.12 85.66 21.12C88.20 21.12 89.51 19.85 89.36 17.39L87.11 17.27C87.08 18.79 86.73 19.41 85.72 19.41C84.45 19.41 84.39 18.20 84.39 16.40V15.56H89.47V13.51ZM85.68 9.98C86.90 9.98 86.99 11.13 86.99 13.08V14.09H84.39V13.08C84.39 11.15 84.47 9.98 85.68 9.98Z", +fill:"white"}},{W:"path",V:{d:"M93.18 20.86H95.50V13.57C95.50 11.53 95.46 9.36 95.30 6.46H95.56L95.99 8.24L98.73 20.86H101.09L103.78 8.24L104.25 6.46H104.49C104.37 9.03 104.30 11.35 104.30 13.57V20.86H106.63V4.06H102.67L101.25 10.27C100.65 12.85 100.22 16.05 99.97 17.68H99.78C99.60 16.02 99.15 12.83 98.56 10.29L97.10 4.06H93.18V20.86Z",fill:"white"}},{W:"path",V:{d:"M111.27 21.05C112.73 21.05 113.64 20.44 114.39 19.34H114.50L114.61 20.86H116.60V8.50H113.96V18.43C113.68 18.92 113.03 19.28 112.42 19.28C111.65 19.28 111.41 18.67 111.41 17.65V8.50H108.78V17.77C108.78 19.78 109.36 21.05 111.27 21.05Z", +fill:"white"}},{W:"path",V:{d:"M121.82 21.12C124.24 21.12 125.59 20.05 125.59 17.86C125.59 15.87 124.59 15.06 122.21 13.44C121.12 12.72 120.53 12.27 120.53 11.21C120.53 10.42 121.02 10.00 121.91 10.00C122.88 10.00 123.21 10.64 123.25 12.46L125.41 12.34C125.59 9.49 124.57 8.27 121.95 8.27C119.47 8.27 118.28 9.34 118.28 11.46C118.28 13.42 119.21 14.31 120.96 15.53C122.51 16.60 123.36 17.27 123.36 18.16C123.36 18.89 122.85 19.42 121.96 19.42C120.94 19.42 120.36 18.54 120.46 17.21L118.27 17.25C117.93 19.81 119.13 21.12 121.82 21.12Z", +fill:"white"}},{W:"path",V:{d:"M128.45 6.93C129.35 6.93 129.77 6.63 129.77 5.39C129.77 4.23 129.32 3.87 128.45 3.87C127.57 3.87 127.14 4.19 127.14 5.39C127.14 6.63 127.55 6.93 128.45 6.93ZM127.23 20.86H129.76V8.50H127.23V20.86Z",fill:"white"}},{W:"path",V:{d:"M135.41 21.06C136.67 21.06 137.38 20.91 137.95 20.37C138.80 19.63 139.15 18.48 139.09 16.54L136.78 16.42C136.78 18.54 136.44 19.34 135.45 19.34C134.36 19.34 134.18 18.15 134.18 15.99V13.43C134.18 11.07 134.41 9.95 135.47 9.95C136.35 9.95 136.70 10.69 136.70 13.05L138.99 12.89C139.15 11.20 138.98 9.82 138.18 9.05C137.58 8.49 136.69 8.27 135.51 8.27C132.48 8.27 131.54 10.19 131.54 13.84V15.53C131.54 19.18 132.25 21.06 135.41 21.06Z", +fill:"white"}}]},H=216163);g.DT(c)?g.bV(this.element,"ytp-youtube-music-button"):g.nH(this.element,"ytp-youtube-music-button");N.V=Object.assign({},N.V,{"aria-hidden":"true"});this.updateValue("logoSvg",N);this.api.hasVe(this.element)&&this.api.destroyVe(this.element);this.api.createClientVe(this.element,this,H,!0)}; +bG.prototype.lX=function(N){g.e.prototype.lX.call(this,N);this.api.logVisibility(this.element,this.visible&&N)};g.k(lmh,g.Ww);g.C=lmh.prototype;g.C.onProgress=function(){if(this.J.N("web_player_max_seekable_on_ended")||!g.y(this.J.getPlayerStateObject(),2))h5(this.HU),this.progressBar.Dp(),this.Cg.Dp()}; +g.C.vD=function(){this.Dl();if(h5(this.HU))this.progressBar.oA();else this.onProgress()}; +g.C.MB=function(){this.onProgress();this.Z.start()}; +g.C.Dl=function(){var N;if(N=!this.J.D().B){N=this.progressBar;var H=2*g.fs()*N.Y,c=N.L;N=(c.T-c.B)*1E3/N.api.getPlaybackRate()/H<300}N=N&&this.J.getPlayerStateObject().isPlaying()&&!!window.requestAnimationFrame;H=!N;h5(this.HU)&&(N=H=!1);H?this.Us||(this.Us=this.G(this.J,"progresssync",this.onProgress)):this.Us&&(this.G3(this.Us),this.Us=null);N?this.Z.isActive()||this.Z.start():this.Z.stop()}; +g.C.Mc=function(){var N=this.J.J3(),H=this.J.BO().getPlayerSize(),c=this.J.BO().bW,t=f2(this),h=Bhe(this),O=Math.max(H.width-t*2,100);if(this.Al!==H.width||this.w_!==N||this.J.N("web_player_rtr_ctrls")&&this.Rs!==c)this.Al=H.width,this.w_=N,this.Rs=c,this.T.element.style.width=h+"px",this.T.element.style.left=t+"px",g.c03(this.progressBar,t,h,N),this.J.HH().LK=h;c=this.L;O=Math.min(570*(N?1.5:1),O);N=Math.min(413*(N?1.5:1),Math.round((H.height-ksf(this))*.82));c.maxWidth=O;c.maxHeight=N;c.q1();this.Dl(); +this.WO&&CBD(this.zW,H.height)}; +g.C.onVideoDataChange=function(){var N=this.J.getVideoData();this.gE.style.background=N.Uc?N.CE:"";this.Bp&&Z_l(this.Bp,N.showSeekingControls);this.TW&&Z_l(this.TW,N.showSeekingControls)}; +g.C.N4=function(){return this.T.element};g.k(pc,Qr);g.C=pc.prototype;g.C.zK=function(N){N.target!==this.dismissButton.element&&(this.onClickCommand&&this.J.QS("innertubeCommand",this.onClickCommand),this.KP())}; +g.C.KP=function(){this.enabled=!1;this.Z.hide()}; +g.C.onVideoDataChange=function(N,H){N==="dataloaded"&&iqs(this);N=[];var c,t,h,O;if(H=(O=g.P((c=H.getWatchNextResponse())==null?void 0:(t=c.playerOverlays)==null?void 0:(h=t.playerOverlayRenderer)==null?void 0:h.suggestedActionsRenderer,q4R))==null?void 0:O.suggestedActions)for(c=g.K(H),t=c.next();!t.done;t=c.next())(t=g.P(t.value,C5R))&&g.P(t.trigger,x5R)&&N.push(t);if(N.length!==0){c=[];N=g.K(N);for(t=N.next();!t.done;t=N.next())if(t=t.value,h=g.P(t.trigger,x5R)){O=(O=t.title)?g.Fu(O):"View Chapters"; +H=h.timeRangeStartMillis;var F=h.timeRangeEndMillis;h=h.onlyTriggersOnPlayerPause;t.tapCommand&&(H!=null&&F!=null&&c.push(new g.vn(H,F,{priority:9,namespace:"suggested_action_button_visible",id:O})),H!=null&&F!=null||h)&&(this.suggestedActions[O]=t)}this.J.Q0(c)}}; +g.C.TG=function(){return this.enabled}; +g.C.pG=function(){this.enabled?this.Kq.start():pm(this);this.Ri()}; +g.C.onStateChange=function(N){for(var H=g.K(Object.keys(this.suggestedActions)),c=H.next();!c.done;c=H.next()){c=c.value;var t=void 0;if((t=g.P(this.suggestedActions[c].trigger,x5R))==null?0:t.onlyTriggersOnPlayerPause){N.state.isPaused()?(Xdy(this,c),this.enabled=!0,this.pG()):N.oldState.isPaused()&&(this.enabled=!1,this.pG());break}}}; +g.C.Os=function(){iqs(this);Qr.prototype.Os.call(this)};var Qw={},VK=(Qw.CHANNEL_NAME="ytp-title-channel-name",Qw.FULLERSCREEN_LINK="ytp-title-fullerscreen-link",Qw.LINK="ytp-title-link",Qw.SESSIONLINK="yt-uix-sessionlink",Qw.SUBTEXT="ytp-title-subtext",Qw.TEXT="ytp-title-text",Qw.TITLE="ytp-title",Qw);g.k(Ly,g.e);Ly.prototype.onClick=function(N){this.api.logClick(this.element);var H=this.api.D(),c=this.api.getVideoUrl(!g.Mb(N),!1,!0);g.PX(H)&&(H={},g.je(this.api,"addEmbedsConversionTrackingParams",[H]),c=g.Of(c,H));g.Yc(c,this.api,N)}; +Ly.prototype.Df=function(){var N=this.api.getVideoData(),H=this.api.D();this.updateValue("title",N.title);var c={W:"a",K:VK.CHANNEL_NAME,V:{href:"{{channelLink}}",target:"_blank"},Wp:"{{channelName}}"};this.api.D().L?c={W:"span",K:VK.CHANNEL_NAME,Wp:"{{channelName}}",V:{tabIndex:"{{channelSubtextFocusable}}"}}:N.vM&&(c={W:"span",K:VK.SUBTEXT,Wp:N.vM});this.updateValue("subtextElement",c);Wav(this);this.api.getPresentingPlayerType()===2&&(c=this.api.getVideoData(),c.videoId&&c.isListed&&c.author&& +c.Kq&&c.profilePicture?(this.updateValue("channelLink",c.Kq),this.updateValue("channelName",c.author),this.updateValue("channelTitleFocusable","0")):Wav(this));c=H.externalFullscreen||!this.api.isFullscreen()&&H.M0;g.QH(this.link,VK.FULLERSCREEN_LINK,c);H.Us||!N.videoId||c||N.Uc||H.L?this.T&&(this.updateValue("url",null),this.G3(this.T),this.T=null):(this.updateValue("url",this.api.getVideoUrl(!0)),this.T||(this.T=this.G(this.link,"click",this.onClick)));H.L&&(this.element.classList.add("ytp-no-link"), +this.updateValue("channelName",g.PX(H)?N.expandedTitle:N.author),this.updateValue("channelTitleFocusable","0"),this.updateValue("channelSubtextFocusable","0"))};g.k(g.Tg,g.e);g.C=g.Tg.prototype;g.C.setEnabled=function(N){if(this.type!=null)if(N)switch(this.type){case 3:case 2:un(this);this.fade.show();break;default:this.fade.show()}else this.fade.hide();this.Y=N}; +g.C.EK=function(N,H,c,t,h,O,F,M){if(!this.NT||this.env.C){this.type===3&&this.oA();this.type!==1&&(g.HB(this.element,"ytp-tooltip ytp-bottom"),this.type=1,this.Y&&this.fade.show(),this.B&&this.B.dispose(),(this.B=this.api.Om())&&this.B.subscribe("l",this.zX,this));if(M){var f=g.WQ(this.bg).height||141;this.Ix.style.bottom=f+2+"px"}else this.Ix.style.display="none";this.env.N("delhi_modern_web_player")?(this.update({pillTimeStamp:c,pillTitle:O!=null?O:"",eduText:M!=null?M:""}),g.bV(this.element,"ytp-tooltip-progress-bar-style")): +(this.update({text:c,title:O!=null?O:"",eduText:M!=null?M:""}),g.QH(this.bottomText,"ytp-tooltip-text-no-title",this.type===1&&!O));this.api.isInline()&&g.bV(this.bottomText,"ytp-modern-tooltip-text");g.QH(this.element,"ytp-text-detail",!!t);c=-1;this.B&&(c=GW(this.B,243*this.scale),this.env.N("web_l3_storyboard")&&this.B.levels.length===4&&(c=this.B.levels.length-1),c=jy3(this.B,c,H));yEy(this,c);if(F)switch(H=g.WQ(this.element).width,F){case 1:this.title.style.right="0";this.title.style.textAlign= +"left";break;case 2:this.title.style.right=H+"px";this.title.style.textAlign="right";break;case 3:this.title.style.right=H/2+"px",this.title.style.textAlign="center"}o_e(this,!!t,N,h)}}; +g.C.Oi=function(){this.type===1&&this.oA()}; +g.C.r6=function(N,H){if(this.type)if(this.type===3)this.oA();else return;R8l(this,N,3,H)}; +g.C.oo=function(){this.T&&!this.C&&(this.env.N("player_tooltip_data_title_killswitch")?this.T.hasAttribute("title")&&(this.L=this.T.getAttribute("title")||"",this.T.removeAttribute("title"),this.Y&&un(this)):this.T.hasAttribute("data-tooltip-title")&&(this.L=this.T.getAttribute("data-tooltip-title")||"",this.T.removeAttribute("data-tooltip-title"),this.Y&&un(this)))}; +g.C.zX=function(N,H){N<=this.U&&this.U<=H&&(N=this.U,this.U=NaN,yEy(this,N))}; +g.C.D4l=function(){Kr3(this.B,this.U,243*this.scale)}; +g.C.oA=function(){switch(this.type){case 2:var N=this.T;N.removeEventListener("mouseout",this.Z);N.addEventListener("mouseover",this.S);N.removeEventListener("blur",this.Z);N.addEventListener("focus",this.S);GXh(this);break;case 3:GXh(this);break;case 1:this.B&&(this.B.unsubscribe("l",this.zX,this),this.B=null),this.api.removeEventListener("videoready",this.Bp),this.Us.stop()}this.type=null;this.Y&&this.fade.hide()}; +g.C.aU=function(){if(this.T)for(var N=0;N=0;H--)if(this.uK[H]===N){this.uK.splice(H,1);break}Oo(this.HU,64,this.uK.length>0)}; +g.C.Ca=function(){this.api.Jd()&&this.api.m8();return!!this.tK||O6w(this)||g.ju.prototype.Ca.call(this)}; +g.C.Iy=function(){var N=!this.Ca(),H=N&&this.api.Jd()&&!g.y(this.api.getPlayerStateObject(),2)&&!this.api.getVideoData().Uc&&!this.api.D().L&&!this.api.isEmbedsShortsMode(),c=this.KB&&g.eg(this.api)&&g.y(this.api.getPlayerStateObject(),128);N||c?(this.cP.show(),this.fQ.show()):(this.cP.hide(),this.fQ.hide(),this.api.aU(this.cR.element));H?this.n2.aD():this.n2.e1();this.Hd&&ofD(this.Hd,this.Clf||!N);this.api.N("web_player_hide_overflow_button_if_empty_menu")&&FVh(this);g.ju.prototype.Iy.call(this)}; +g.C.t2=function(N,H,c,t,h){N.style.left="";N.style.top="";N.style.bottom="";var O=g.WQ(N),F=t||this.Hd&&g.m5(this.Hd.N4(),H),M=t=null;c!=null&&F||(t=g.WQ(H),M=g.PW(H,this.api.getRootNode()),c==null&&(c=M.x+t.width/2));c-=O.width/2;F?(H=this.Hd,t=f2(H),M=Bhe(H),F=this.api.BO().getPlayerSize().height,c=g.Ae(c,t,t+M-O.width),O=F-ksf(H)-O.height):g.m5(this.cR.element,H)?(H=this.api.BO().getPlayerSize().width,c=g.Ae(c,12,H-O.width-12),O=this.J3()?this.xZ:this.y$,this.api.D().playerStyle==="gvn"&&(O+=20), +this.KB&&(O-=this.J3()?26:18)):(H=this.api.BO().getPlayerSize(),c=g.Ae(c,12,H.width-O.width-12),O=M.y>(H.height-t.height)/2?M.y-O.height-12:M.y+t.height+12);N.style.top=O+(h||0)+"px";N.style.left=c+"px"}; +g.C.vD=function(N){N&&(this.api.aU(this.cR.element),this.Hd&&this.api.aU(this.Hd.N4()));this.uv&&(g.QH(this.contextMenu.element,"ytp-autohide",N),g.QH(this.contextMenu.element,"ytp-autohide-active",!0));g.ju.prototype.vD.call(this,N)}; +g.C.YF=function(){g.ju.prototype.YF.call(this);this.uv&&(g.QH(this.contextMenu.element,"ytp-autohide-active",!1),this.uv&&(this.contextMenu.hide(),this.J9&&this.J9.hide()))}; +g.C.UG=function(N,H){var c=this.api.BO().getPlayerSize();c=new g.HS(0,0,c.width,c.height);if(N||!h5(this.HU)&&!this.Ca()){if(this.api.D().ya||H)N=this.J3()?this.xZ:this.y$,c.top+=N,c.height-=N;this.Hd&&(c.height-=ksf(this.Hd))}return c}; +g.C.J2=function(N){var H=this.api.getRootNode();N?H.parentElement?(H.setAttribute("aria-label","YouTube Video Player in Fullscreen"),this.api.D().externalFullscreen||(H.parentElement.insertBefore(this.MW.element,H),H.parentElement.insertBefore(this.AK.element,H.nextSibling))):g.BZ(Error("Player not in DOM.")):(H.setAttribute("aria-label","YouTube Video Player"),this.MW.detach(),this.AK.detach());this.Mc();this.Dx()}; +g.C.J3=function(){if(this.api.N("web_player_use_screen_width_for_big_mode")){var N;return this.api.BO().getPlayerSize().width>=((N=g.Mx(this.api.D().experiments,"web_player_big_mode_screen_width_cutoff"))!=null?N:2E3)}N=this.api.D();return this.api.isFullscreen()&&!N.C||!1}; +g.C.showControls=function(N){this.Og=!N;this.Iy()}; +g.C.Mc=function(){var N=this.J3();this.tooltip.scale=N?1.5:1;this.contextMenu&&g.QH(this.contextMenu.element,"ytp-big-mode",N);this.Iy();this.api.N("web_player_hide_overflow_button_if_empty_menu")||FVh(this);this.Dx();var H=this.api.isEmbedsShortsMode();H&&N?(N=(this.api.BO().getPlayerSize().width-this.api.getVideoContentRect().width)/2,g.eU(this.cR.element,"padding-left",N+"px"),g.eU(this.cR.element,"padding-right",N+"px")):H&&(g.eU(this.cR.element,"padding-left",""),g.eU(this.cR.element,"padding-right", +""));g.ju.prototype.Mc.call(this)}; +g.C.J8=function(){if(O6w(this)&&!g.eg(this.api))return!1;var N=this.api.getVideoData();return!g.PX(this.api.D())||this.api.getPresentingPlayerType()===2||!this.t9||((N=this.t9||N.t9)?(N=N.embedPreview)?(N=N.thumbnailPreviewRenderer,N=N.videoDetails&&g.P(N.videoDetails,V4f)||null):N=null:N=null,N&&N.collapsedRenderer&&N.expandedRenderer)?g.ju.prototype.J8.call(this):!1}; +g.C.Dx=function(){g.ju.prototype.Dx.call(this);this.api.logVisibility(this.title.element,!!this.kN);this.K0&&this.K0.lX(!!this.kN);this.channelAvatar.lX(!!this.kN);this.overflowButton&&this.overflowButton.lX(this.i$()&&!!this.kN);this.shareButton&&this.shareButton.lX(!this.i$()&&!!this.kN);this.Tv&&this.Tv.lX(!this.i$()&&!!this.kN);this.searchButton&&this.searchButton.lX(!this.i$()&&!!this.kN);this.copyLinkButton&&this.copyLinkButton.lX(!this.i$()&&!!this.kN);if(!this.kN){this.api.aU(this.cR.element); +for(var N=0;N=0?this.T.playbackRate:1}catch(N){return 1}}; +g.C.setPlaybackRate=function(N){this.getPlaybackRate()!==N&&(this.T.playbackRate=N);return N}; +g.C.Mj=function(){return this.T.loop}; +g.C.setLoop=function(N){this.T.loop=N}; +g.C.canPlayType=function(N,H){return this.T.canPlayType(N,H)}; +g.C.isPaused=function(){return this.T.paused}; +g.C.isSeeking=function(){return this.T.seeking}; +g.C.isEnded=function(){return this.T.ended}; +g.C.GV=function(){return this.T.muted}; +g.C.Jr=function(N){xF();this.T.muted=N}; +g.C.NA=function(){var N=this.T.played||TC([],[]);return this.view?mHd(this,N):N}; +g.C.Z6=function(){try{var N=this.T.buffered}catch(H){}N=N||TC([],[]);return this.view?mHd(this,N):N}; +g.C.v0=function(){var N=this.T.seekable||TC([],[]);return this.view?mHd(this,N):N}; +g.C.uI=function(){var N=this.T;return N.getStartDate?N.getStartDate():null}; +g.C.getCurrentTime=function(){if(this.view){var N=this.T.currentTime;N=this.view?N-this.view.start:N}else N=this.T.currentTime;return N}; +g.C.setCurrentTime=function(N){this.T.currentTime=this.view?this.view?N+this.view.start:N:N}; +g.C.getDuration=function(){return this.view?isFinite(this.view.end)&&!this.view.Ib?this.view.end-this.view.start:this.T.duration-this.view.start:this.T.duration}; +g.C.load=function(){var N=this.T.playbackRate;try{this.T.load()}catch(H){}this.T.playbackRate=N}; +g.C.pause=function(){this.T.pause()}; +g.C.play=function(){if(this.view&&this.yK())try{this.T.currentTime=this.view.start}catch(H){}var N=this.T.play();if(!N||!N.then)return null;N.then(void 0,function(){}); +return N}; +g.C.gJ=function(){return this.T.readyState}; +g.C.ey=function(){return this.T.networkState}; +g.C.Wd=function(){return this.T.error?this.T.error.code:null}; +g.C.Yl=function(){return this.T.error?this.T.error.message:""}; +g.C.getVideoPlaybackQuality=function(){if(window.HTMLVideoElement&&this.T instanceof window.HTMLVideoElement&&this.T.getVideoPlaybackQuality)return this.T.getVideoPlaybackQuality();if(this.T){var N=this.T,H=N.webkitDroppedFrameCount;if(N=N.webkitDecodedFrameCount)return{droppedVideoFrames:H||0,totalVideoFrames:N}}return{}}; +g.C.Q4=function(){try{var N=this.getSize(),H={vct:this.getCurrentTime().toFixed(3),vd:this.getDuration().toFixed(3),vpl:Eo(this.NA(),",",3),vbu:Eo(this.Z6()),vbs:Eo(this.v0()),vpa:""+ +this.isPaused(),vsk:""+ +this.isSeeking(),ven:""+ +this.isEnded(),vpr:""+this.getPlaybackRate(),vrs:""+this.gJ(),vns:""+this.ey(),vec:""+this.Wd(),vemsg:this.Yl(),vvol:""+this.getVolume(),vdom:""+ +this.nL(),vsrc:""+ +!!this.FH(),vw:""+N.width,vh:""+N.height};this.view&&(H.view=this.view.start+"-"+this.view.end);return H}catch(c){return{}}}; +g.C.Mp=function(){return!!this.T.webkitCurrentPlaybackTargetIsWireless}; +g.C.fm=function(){return!!this.T.webkitShowPlaybackTargetPicker()}; +g.C.togglePictureInPicture=function(){var N=this.T,H=window.document;window.document.pictureInPictureEnabled?this.T!==H.pictureInPictureElement?N.requestPictureInPicture():H.exitPictureInPicture():o6()&&N.webkitSetPresentationMode(N.webkitPresentationMode==="picture-in-picture"?"inline":"picture-in-picture")}; +g.C.pB=function(){return SSe(this.T)}; +g.C.getSize=function(){return g.WQ(this.T)}; +g.C.setSize=function(N){g.sb(this.T,N)}; +g.C.getVolume=function(){return this.T.volume}; +g.C.setVolume=function(N){xF();this.T.volume=N}; +g.C.addEventListener=function(N,H){this.Us.listen(N,H,!1,this);this.x0(N)}; +g.C.removeEventListener=function(N,H){this.Us.G3(N,H,!1,this)}; +g.C.dispatchEvent=function(N){if(this.Y&&N.type==="pause")return!1;if($Kd){var H,c=((H=N.T)==null?void 0:H.timeStamp)||Infinity;H=c>performance.now()?c-Date.now()+performance.now():c;c=this.B||this.U;if((c==null?0:c.Wz())||H<=((c==null?void 0:c.U)||0)){var t;this.Kb("rms",{l:"mede",sr:(t=this.wE)==null?void 0:t.YD(),et:N.type});return!1}if(this.Fr)return this.Kb("rms",{l:"medes",et:N.type}),c&&N.type==="seeking"&&(c.U=performance.now(),this.Fr=!1),!1}return this.Us.dispatchEvent(N)}; +g.C.x0=function(N){this.Z[N]||(this.T.addEventListener(N,this.listener),this.Z[N]=this.listener)}; +g.C.setAttribute=function(N,H){this.T.setAttribute(N,H)}; +g.C.removeAttribute=function(N){this.T.removeAttribute(N)}; +g.C.hasAttribute=function(N){return this.T.hasAttribute(N)}; +g.C.Xo=h3(61);g.C.L7=h3(64);g.C.UC=h3(67);g.C.We=h3(70);g.C.ov=function(){return ip(this.T)}; +g.C.TM=function(N){g.bV(this.T,N)}; +g.C.zV=function(N){return g.cb(this.T,N)}; +g.C.nL=function(){return g.m5(document.body,this.T)}; +g.C.audioTracks=function(){var N=this.T;if("audioTracks"in N)return N.audioTracks}; +g.C.Uo=function(){this.Ix=!1}; +g.C.Tf=function(){this.Ix=!0;this.Jr(!0)}; +g.C.Jw=function(){this.Ix&&!this.GV()&&this.Jr(!0)}; +g.C.equals=function(N){return!!N&&N.N4()===this.N4()}; +g.C.Os=function(){for(var N=g.K(Object.keys(this.Z)),H=N.next();!H.done;H=N.next())H=H.value,this.T.removeEventListener(H,this.Z[H]);this.Cq&&this.removeEventListener("volumechange",this.Jw);Tid&&sj(this);Jt.prototype.Os.call(this)}; +g.C.XP=function(){return this.Wd()===4}; +g.C.hasError=function(){return this.Wd()>0}; +g.C.FR=function(){switch(this.Wd()){case 2:return"progressive.net.retryexhausted";case 3:var N=this.Yl();return(N==null?0:N.includes("MEDIA_ERR_CAPABILITY_CHANGED"))?"capability.changed":"fmt.decode";case 4:return"fmt.unplayable";case 5:return"drm.unavailable";case 1E3:return"capability.changed";default:return null}}; +g.C.UZ=function(N){this.T.disableRemotePlayback=N}; +g.C.Ts=function(){var N=this.v0();return N.length<1?NaN:N.end(N.length-1)}; +g.C.C3=function(){return this.S}; +g.C.activate=function(N){var H="";N&&(qnS(this,N),H=N.JF);if(!this.FH()||H)H&&this.FH()!==H&&(this.A2(H),delete this.B,this.Y&&(this.Y.reject(),delete this.Y),!window.MediaSource&&window.ManagedMediaSource&&this.UZ(!(N==null||!N.T))),N&&N.T||this.load(),this.Cq||(this.addEventListener("volumechange",this.Jw),this.Cq=!0)}; +g.C.mC=function(){var N=this;!this.B&&JR()&&(this.Y?this.Y.then(function(){return void N.mC()}):this.FH()||(this.B=this.CJ()))}; +g.C.bu=function(){this.B&&(this.B.dispose(),this.B=void 0)}; +g.C.CJ=function(N,H){if(this.B)if($Kd&&yD(this.B)&&!this.B.iK(N,H)){var c;this.Kb("rms",{l:"megms",sr:(c=this.wE)==null?void 0:c.YD()});this.bu();this.stopVideo()}else return this.U=this.B,this.B=void 0,this.U;N=QTe(this);this.activate(N.L);this.U=N;this.Fr=!1;return N}; +g.C.wT=function(N){this.B=N}; +g.C.playVideo=function(){var N=this;this.isEnded()&&this.seekTo(0);!this.FH()&&this.S&&(g.BZ(Error("playVideo without src")),this.A2(this.S.JF),this.S.T||this.load());var H=this.play(),c;if((c=this.wE)==null||!OZR(c)){var t;mU&&(wa||0)>=7&&(!H||((t=this.wE)==null?0:t.N("mweb_ios_allow_playback_workaround_when_ready")))&&T8e(this,function(){g.Zh(function(){LOh(N,N.getCurrentTime(),0)},500)})}return H}; +g.C.Kb=function(N,H,c){var t;((t=this.wE)==null?0:t.vO())&&this.wE.Lq(N,H,c===void 0?!1:c)}; +g.C.LQ=function(N){this.wE=N}; +g.C.Ul=function(){return mW(this.Z6(),this.getCurrentTime())}; +g.C.seekTo=function(N){this.gJ()>0&&(mU&&wa<4&&(N=Math.max(.1,N)),this.setCurrentTime(N))}; +g.C.E4=function(N){if(this.gJ()===0||this.hasError())return!1;var H=this.getCurrentTime()>0;if(N>=0){var c=this.v0();if(c.length||!H)return t1(c,N)}return H}; +g.C.LJ=function(){if(!this.B&&this.U)if(this.U.Y)try{var N;this.Kb("rms",{l:"mer",sr:(N=this.wE)==null?void 0:N.YD(),rs:rd(this.U)});this.U.clear();this.wT(this.U);this.U=void 0}catch(H){N=new g.ti("Error while clearing Media Source in MediaElement: "+H.name+", "+H.message),g.BZ(N),this.stopVideo()}else this.stopVideo()}; +g.C.stopVideo=function(){var N=this;if(!this.B){var H;(H=this.U)==null||vi(H);if(Tid){if(!this.Y){var c=new M9;c.then(void 0,function(){}); +this.Y=c;j05&&this.pause();g.Zh(function(){N.Y===c&&(sj(N),c.resolve())},200)}}else sj(this)}}; +g.C.A9=function(){var N=this.Z6();return GK(N)&&this.getDuration()?jU(N,this.getCurrentTime()):0}; +g.C.AO=function(){var N=this.Z6();return GK(N)&&this.getDuration()?N.end(N.length-1):0}; +g.C.K1=function(){var N=this.getDuration();return N===Infinity?1:N?this.A9()/N:0}; +var Tid=!1,j05=!1,$Kd=!1;var Gk=[],a_R=!1;g.k(Wg,g.L);Wg.prototype.C=function(){this.T!=null&&this.app.getVideoData()!==this.T&&Di(this.T)&&ZPR(this.app,this.T,void 0,void 0,this.L)}; +Wg.prototype.Y=function(){if(this.T!=null&&this.app.getVideoData()!==this.T&&this.B!=null&&this.U!=null&&this.S!=null&&Di(this.T)){var N=rcy(this.B,this.U,this.S);N==null?ZPR(this.app,this.T,void 0,void 0,this.L):(this.B.Lq("sgap",N),this.B.getVideoData().C&&this.B.f$(!1),this.app.D().N("html5_remove_loop_range_on_gapless_fallback")&&(iy(this.app,"gaplessshortslooprange"),this.app.setLoopRange(null)))}}; +Wg.prototype.Z=function(N){var H=this.app.x_();if(H){var c=this.app.getCurrentTime();Math.abs(c-N.end/1E3)>5&&H.Lq("glrs",{cmt:c});H.seekTo(0,{seekSource:58});H.Lq("glrre",{cmt:c})}}; +Wg.prototype.Os=function(){this.T=null;g.L.prototype.Os.call(this)};g.k(g.wJ,Jt);g.C=g.wJ.prototype;g.C.isView=function(){return!0}; +g.C.yK=function(){var N=this.mediaElement.getCurrentTime();if(N1;t1(N.l2(),t-.01)&&!h&&(xb(this,4),c.isActive=!1,c.Ti=c.Ti||c.isActive,(this.S===1?this.T:this.B).Lq("sbh",{}),H.isActive=!0,H.Ti=H.Ti||H.isActive,this.S!==0&&(this.T.getVideoData().bI=!0));N=this.U.B;if(this.U.T.isActive&&N.isActive&&(xb(this,5),this.S!==0)){N=this.B.tQ();c=this.T.tQ(); +this.T.Lq("sbs",{citag:c==null?void 0:c.itag,nitag:N==null?void 0:N.itag});this.B.Lq("gitags",{pitag:c==null?void 0:c.itag,citag:N==null?void 0:N.itag});var O;(O=this.B)==null||O.mj()}}}; +g.C.bx=function(){this.GM()&&this.h3("player-reload-after-handoff")}; +g.C.h3=function(N,H){H=H===void 0?{}:H;if(!this.uo()&&this.status.status!==6){var c=this.status.status>=4&&N!=="player-reload-after-handoff";this.status={status:Infinity,error:N};if(this.T&&this.B){var t=this.B.getVideoData().clientPlaybackNonce;this.T.rr(new g.QP("dai.transitionfailure",Object.assign(H,{cpn:t,transitionTimeMs:this.Km,msg:N})));this.T.f$(c)}this.Kp.reject(N);this.dispose()}}; +g.C.GM=function(){return this.status.status>=4&&this.status.status<6}; +g.C.Os=function(){vkv(this);this.T.unsubscribe("newelementrequired",this.bx,this);if(this.L){var N=this.L.B;this.L.T.WH.unsubscribe("updateend",this.P$,this);N.WH.unsubscribe("updateend",this.P$,this)}g.L.prototype.Os.call(this)}; +g.C.U1=function(N){g.tC(N,128)&&this.h3("player-error-event")};g.k(du,g.L);du.prototype.clearQueue=function(N,H){N=N===void 0?!1:N;H=H===void 0?!1:H;this.U&&this.U.reject("Queue cleared");this.app.D().N("html5_gapless_fallback_on_qoe_restart_v2")||H&&this.B&&this.B.f$(!1);Rs(this,N)}; +du.prototype.SP=function(){return!this.T}; +du.prototype.GM=function(){var N;return((N=this.L)==null?void 0:N.GM())||!1}; +du.prototype.Os=function(){Rs(this);g.L.prototype.Os.call(this)};g.k(qk,g.xo);g.C=qk.prototype;g.C.getVisibilityState=function(N,H,c,t,h,O,F,M){return N?4:h&&jpS?7:i3L&&!(E2()||document.hasFocus&&document.hasFocus())||E2()?3:H?2:c?1:t?5:h&&!jpS?7:O?8:F?9:M?10:0}; +g.C.fA=function(N){this.fullscreen!==N&&(this.fullscreen=N,this.pG())}; +g.C.setMinimized=function(N){this.B!==N&&(this.B=N,this.pG())}; +g.C.setInline=function(N){this.inline!==N&&(this.inline=N,this.pG())}; +g.C.Ak=function(N){this.pictureInPicture!==N&&(this.pictureInPicture=N,this.pG())}; +g.C.setSqueezeback=function(N){this.L!==N&&(this.L=N,this.pG())}; +g.C.Pn=function(N){this.U!==N&&(this.U=N,this.pG())}; +g.C.Mp=function(){return this.T}; +g.C.yw=function(){return this.fullscreen!==0}; +g.C.isFullscreen=function(){return this.fullscreen!==0&&this.fullscreen!==4}; +g.C.OP=function(){return this.fullscreen}; +g.C.isMinimized=function(){return this.B}; +g.C.isInline=function(){return this.inline}; +g.C.isBackground=function(){return E2()}; +g.C.eP=function(){return this.pictureInPicture}; +g.C.LU=function(){return!1}; +g.C.oL=function(){return this.L}; +g.C.VB=function(){return this.U}; +g.C.pG=function(){this.publish("visibilitychange");var N=this.getVisibilityState(this.Mp(),this.isFullscreen(),this.isMinimized(),this.isInline(),this.eP(),this.LU(),this.oL(),this.VB());N!==this.Y&&this.publish("visibilitystatechange");this.Y=N}; +g.C.Os=function(){tmZ(this.S);g.xo.prototype.Os.call(this)};g.k(g.qC,g.L);g.C=g.qC.prototype;g.C.Os=function(){this.videoData=this.playerState=null;g.L.prototype.Os.call(this)}; +g.C.addCueRange=function(){}; +g.C.iN=function(){}; +g.C.IX=function(){}; +g.C.Tm=function(){return!1}; +g.C.zC=function(){return!1}; +g.C.lY=function(){}; +g.C.BB=function(){}; +g.C.mH=function(){return[]}; +g.C.D$=function(){}; +g.C.Jy=function(){}; +g.C.Lb=function(){return 1}; +g.C.getAudioTrack=function(){return this.getVideoData().G7}; +g.C.kW=function(){return null}; +g.C.getAvailableAudioTracks=function(){return[]}; +g.C.Uz=function(){return[]}; +g.C.SC=function(){return[]}; +g.C.Qd=function(){return""}; +g.C.Z$=function(){return[]}; +g.C.cA=function(){}; +g.C.NP=function(){return 0}; +g.C.getCurrentTime=function(){return 0}; +g.C.fH=function(){}; +g.C.tQ=function(){}; +g.C.Q4=function(){return{}}; +g.C.getDuration=function(){return 0}; +g.C.e$=function(){return 0}; +g.C.kH=function(){return 0}; +g.C.XR=function(){return!1}; +g.C.iq=function(){return 0}; +g.C.A9=function(){return 0}; +g.C.R7=h3(7);g.C.Bz=function(){return 0}; +g.C.Mj=function(){return!1}; +g.C.VQ=function(){return 0}; +g.C.wr=function(){return null}; +g.C.CJ=function(){return null}; +g.C.T7=function(){return 0}; +g.C.r7=function(){return 0}; +g.C.WR=function(){return g.Y(function(N){g.Z3(N)})}; +g.C.Vw=h3(15);g.C.getPlaybackQuality=function(){return"auto"}; +g.C.getPlaybackRate=function(){return 1}; +g.C.getPlayerState=function(){this.playerState||(this.playerState=new g.Nb);return this.playerState}; +g.C.getPlayerType=function(){return 0}; +g.C.getPlaylistSequenceForTime=function(){return null}; +g.C.ER=function(){return function(){}}; +g.C.S9=function(){return""}; +g.C.getPreferredQuality=function(){return"unknown"}; +g.C.eh=function(){}; +g.C.getProximaLatencyPreference=function(){return 0}; +g.C.MI=function(){return wv}; +g.C.Om=function(){return null}; +g.C.getStoryboardFormat=function(){return null}; +g.C.getStreamTimeOffset=function(){return 0}; +g.C.Dj=function(){return 0}; +g.C.HO=function(){return 0}; +g.C.Z4=function(){return{OQ:[],aM:[],currentTime:0,XK:"",droppedVideoFrames:0,isGapless:!1,SP:!0,St:0,C_:0,K_:0,eZ:0,Vy:0,zc:[],rf:[],EW:null,playerState:this.getPlayerState(),KX:null,O5:"",totalVideoFrames:0}}; +g.C.getUserAudio51Preference=function(){return 0}; +g.C.getUserPlaybackQualityPreference=function(){return""}; +g.C.getVideoData=function(){this.videoData||(this.videoData=new g.xm(this.j),g.l(this,this.videoData));return this.videoData}; +g.C.d3=function(){return null}; +g.C.z$=function(){return null}; +g.C.u2=function(){}; +g.C.getVideoLoadedFraction=function(){return 0}; +g.C.bN=function(){}; +g.C.handleError=function(){}; +g.C.f$=function(){}; +g.C.oz=function(){}; +g.C.b7=h3(40);g.C.hU=function(){return!1}; +g.C.hasSupportedAudio51Tracks=function(){return!1}; +g.C.isAd=function(){return!1}; +g.C.NF=function(){return!1}; +g.C.Mp=function(){return!1}; +g.C.isAtLiveHead=function(){return!1}; +g.C.vJ=function(){return!0}; +g.C.isGapless=function(){return!1}; +g.C.isHdr=function(){return!1}; +g.C.AA=function(){return!1}; +g.C.XC=function(){return!1}; +g.C.WD=function(){return!1}; +g.C.isProximaLatencyEligible=function(){return!1}; +g.C.SP=function(){return!0}; +g.C.lO=function(){return!1}; +g.C.qZ=function(){return!1}; +g.C.FY=function(){}; +g.C.wW=function(){}; +g.C.mj=function(){}; +g.C.a$=function(){}; +g.C.Dv=function(){}; +g.C.gX=function(){}; +g.C.Ph=function(){}; +g.C.IU=h3(50);g.C.hJ=h3(21);g.C.z8=function(){}; +g.C.pauseVideo=function(){}; +g.C.prefetchKeyPlay=function(){}; +g.C.playVideo=function(){return g.Y(function(N){return N.return()})}; +g.C.WM=function(){}; +g.C.HN=h3(27);g.C.qp=h3(33);g.C.P4=function(){}; +g.C.Lq=function(){}; +g.C.TQ=function(){}; +g.C.qE=function(){}; +g.C.aG=function(){}; +g.C.rr=function(){}; +g.C.Yq=function(){}; +g.C.CM=function(){}; +g.C.Ku=function(){}; +g.C.al=function(){}; +g.C.uA=function(){}; +g.C.LJ=function(){}; +g.C.removeCueRange=function(){}; +g.C.Hu=function(){}; +g.C.gr=function(){return[]}; +g.C.md=function(){}; +g.C.kA=function(){}; +g.C.wc=function(){}; +g.C.Fq=function(){}; +g.C.M$=function(){}; +g.C.X$=function(){}; +g.C.lU=function(){}; +g.C.seekTo=function(){}; +g.C.sendAbandonmentPing=function(){}; +g.C.sendVideoStatsEngageEvent=function(){}; +g.C.sJ=function(){}; +g.C.setLoop=function(){}; +g.C.MU=function(){}; +g.C.setMediaElement=function(){}; +g.C.Sm=function(){}; +g.C.setPlaybackRate=function(){}; +g.C.TU=function(){}; +g.C.Mu=function(){}; +g.C.ao=function(){}; +g.C.setProximaLatencyPreference=function(){}; +g.C.Jq=function(){}; +g.C.N1=function(){}; +g.C.N3=function(){}; +g.C.Y1=function(){}; +g.C.BP=function(){}; +g.C.setUserAudio51Preference=function(){}; +g.C.R3=function(){}; +g.C.YD=function(){return!1}; +g.C.fm=function(){}; +g.C.gL=function(){return!1}; +g.C.gb=function(){}; +g.C.GF=function(){}; +g.C.Vq=function(){}; +g.C.stopVideo=function(){}; +g.C.subscribe=function(){return NaN}; +g.C.Cm=function(){}; +g.C.togglePictureInPicture=function(){}; +g.C.lH=function(){return 0}; +g.C.Z2=function(){}; +g.C.unsubscribe=function(){return!1}; +g.C.mV=function(){}; +g.C.RM=function(){return!1}; +g.C.v_=function(){}; +g.C.vP=function(){}; +g.C.Fm=function(){};g.k(UX,g.L);g.C=UX.prototype;g.C.get=function(N){Sd(this);var H=this.data.find(function(c){return c.key===N}); +return H?H.value:null}; +g.C.Gf=function(){Sd(this);return this.data.map(function(N){return N.value})}; +g.C.set=function(N,H,c){this.remove(N,!0);Sd(this);N={key:N,value:H,expire:Infinity};c&&isFinite(c)&&(c*=1E3,N.expire=(0,g.Lh)()+c);for(this.data.push(N);this.data.length>this.L;)(c=this.data.shift())&&$t(this,c,!0);PR(this)}; +g.C.remove=function(N,H){H=H===void 0?!1:H;var c=this.data.find(function(t){return t.key===N}); +c&&($t(this,c,H),g.N8(this.data,function(t){return t.key===N}),PR(this))}; +g.C.removeAll=function(N){if(N=N===void 0?!1:N)for(var H=g.K(this.data),c=H.next();!c.done;c=H.next())$t(this,c.value,N);this.data=[];PR(this)}; +g.C.Os=function(){var N=this;g.L.prototype.Os.call(this);this.data.forEach(function(H){$t(N,H,!0)}); +this.data=[]}; +g.k(V1h,g.L);g.C=V1h.prototype;g.C.get=function(N){var H=this.map.get(N);return H?H.Ef<=(0,g.Lh)()?(this.remove(N,!0),null):H.value:null}; +g.C.Gf=function(){for(var N=[],H=(0,g.Lh)(),c=[],t=g.K(this.map.entries()),h=t.next();!h.done;h=t.next()){var O=g.K(h.value);h=O.next().value;O=O.next().value;O.Ef<=H?c.push(h):N.push(O.value)}if(c.length>0){H=g.K(c);for(c=H.next();!c.done;c=H.next())wZ(this,c.value,!0);Dm(this)}return N}; +g.C.set=function(N,H,c){this.map.has(N)&&wZ(this,N,!0);var t=(0,g.Lh)(),h=Infinity;c!==void 0&&c!==null&&isFinite(c)&&(h=t+c*1E3);this.map.set(N,{value:H,Ef:h});isFinite(h)&&(this.T.enqueue(h,N),PZe(this.T)===h&&Dm(this));if(!Number.isNaN(this.U))for(N=this.map.keys();this.map.size>this.U;){H=N.next();if(H.done)break;wZ(this,H.value,!0)}}; +g.C.remove=function(N,H){wZ(this,N,H===void 0?!1:H)&&Dm(this)}; +g.C.removeAll=function(N){if((N===void 0?0:N)&&this.B){N=g.K(this.map.values());for(var H=N.next();!H.done;H=N.next())this.B(H.value.value)}this.map.clear();this.T.clear();this.L.stop()}; +g.C.Os=function(){g.L.prototype.Os.call(this);this.removeAll(!0)};g.k(g.CZ,g.L);g.C=g.CZ.prototype;g.C.Os=function(){for(var N=g.K(Object.values(this.U)),H=N.next();!H.done;H=N.next())H.value.dispose();LyS(this);this.T.dispose();g.L.prototype.Os.call(this)}; +g.C.CG=function(N){return N?N===1?this.Z:this.L.getVideoData().enableServerStitchedDai&&N===2?this.L.getVideoData().Oo?this.U[2]||this.L:this.L:this.U[N]||null:this.L}; +g.C.Vd=function(N){var H=N.cpn;N=N.playerType;if(H)a:{N=g.K(Object.values(this.U));for(var c=N.next();!c.done;c=N.next())if(c=c.value,c.Qd()===H){H=c;break a}H=this.S[H]||null}else H=N?this.CG(N):this.L;return H}; +g.C.o4=function(){return this.Z}; +g.C.QZ=function(N){this.Z=N}; +g.C.x_=function(){return this.L}; +g.C.kt=function(N){this.L=N;jq(this)}; +g.C.WY=h3(46);g.C.D2=h3(48);g.k(rah,g.a1);g.C=rah.prototype;g.C.Bc=function(){}; +g.C.Qd=function(){return this.videoData.clientPlaybackNonce}; +g.C.getVideoData=function(){if(g.a1.prototype.getVideoData.call(this).N("html5_huli_ssdai_use_playback_state")){var N=SsL(this.z3,g.a1.prototype.getCurrentTime.call(this))||g.a1.prototype.getVideoData.call(this);this.videoData.clientPlaybackNonce!==N.clientPlaybackNonce&&UsD(this.U,"cpn",{cpn:this.videoData.clientPlaybackNonce,ref:N.clientPlaybackNonce});return this.videoData}return SsL(this.z3,g.a1.prototype.getCurrentTime.call(this))||g.a1.prototype.getVideoData.call(this)}; +g.C.getCurrentTime=function(N){var H=g.a1.prototype.getCurrentTime.call(this);if(g.a1.prototype.getVideoData.call(this).N("html5_huli_ssdai_use_playback_state")){this.T===0?N||(H-=this.startTimeSecs,g.a1.prototype.getVideoData.call(this).N("html5_ssdai_log_missed_ad_impressions")&&this.B&&this.L&&H>1&&this.Lq("sdai-admiss",{cpn:this.Qd(),ct:H.toFixed(3),pfs:this.L}),this.B=!1):N&&(H=this.T);var c=N?this.z3.zr||g.a1.prototype.getCurrentTime.call(this):dUt(this.z3,g.a1.prototype.getCurrentTime.call(this)); +H!==c&&UsD(this.U,"time"+(N!=null?N:!1),{time:H,ref:c,ct:N!=null?N:!1})}else H=N?this.z3.zr||H:dUt(this.z3,H);return H}; +g.C.getDuration=function(){if(g.a1.prototype.getVideoData.call(this).N("html5_huli_ssdai_use_playback_state")){var N=ugZ(this.z3,g.a1.prototype.getCurrentTime.call(this));this.duration!==N&&UsD(this.U,"duration",{dur:this.duration,ref:N});return this.duration}return ugZ(this.z3,g.a1.prototype.getCurrentTime.call(this))}; +g.C.cQ=function(N){this.duration=N};g.lF.prototype.D4=function(N,H){if(H===1)return this.T.get(N);if(H===2)return this.L.get(N);if(H===3)return this.B.get(N)}; +g.lF.prototype.E0=h3(58);g.lF.prototype.bO=function(N,H,c,t){c={RI:t,zY:c};H?this.L.set(N,c):this.T.set(N,c)}; +g.lF.prototype.clearAll=function(){this.T.clear();this.L.clear();this.B.clear()}; +t0.prototype.clear=function(){this.B=[];this.L.clear();this.U.clear();this.T.clear()}; +t0.prototype.Vd=function(N){var H=N.cpn;N=N.vr;if(H&&(H=this.L.get(H))||N&&(H=(this.S?this.L:this.U).get(N)))return H}; +g.k(g.gD,g.L);g.C=g.gD.prototype;g.C.onCueRangeEnter=function(N){var H=N.getId();this.EF({oncueEnter:1,cpn:H,start:N.start,end:N.end,ct:(this.playback.getCurrentTime()||0).toFixed(3),cmt:(this.playback.NP()||0).toFixed(3)});var c=this.T.Vd({cpn:H});this.EF({enterAdCueRange:1});var t=this.aW||this.hI().cpn,h;t=(h=this.T.Vd({cpn:t}))!=null?h:this.hI();c&&(h=this.playback.getCurrentTime(),c.startTimeSecs=N.start/1E3,c={cB:t,IC:c,rZ:h},Dhw(this,H,N.start/1E3,h),tM(this,c));this.zW=!1}; +g.C.On=function(N,H,c){if(N&&H)if((this.app.z6().S[N]||null)===null){var t;this.EF({nocpn:N,active:(t=this.app.z6().B)==null?void 0:t.Qd()})}else{this.zW=c!=null?c:!1;var h;c=((h=this.app.z6().B)==null?void 0:h.Qd())||this.playback.Qd();var O;h=(O=this.T.Vd({cpn:c}))!=null?O:this.hI();var F;O=(F=this.T.Vd({cpn:N}))!=null?F:this.hI();O.startTimeSecs=H;O.playerType===2&&(O.w7=O.w7!=null?Math.min(O.w7,H):H);F=this.playback.getCurrentTime();Dhw(this,c,H,F);tM(this,{cB:h,IC:O,rZ:F});if(this.playback.getVideoData().vH()&& +N===this.playback.Qd())if(H=this.Dt.get(c)){var M;N=g.K((M=this.gE.get(H))!=null?M:[]);for(M=N.next();!M.done;M=N.next()){M=M.value;F=this.app.z6();if(c=F.S[M])F.B===c&&(F.B=null),F.Y===c&&(F.Y=null),delete F.S[M];this.NT.delete(M);this.Dt.delete(M)}this.gE.delete(H)}else this.EF({no_abid:N})}}; +g.C.jh=function(N,H){if(N===this.playback.Qd())tu(this.app.z6(),this.playback,!1);else{var c=this.NT.get(N);c?(N=!this.zW,c.T=0,c.startTimeSecs=H,c.L=N===void 0?!0:N,c.B=!0,tu(this.app.z6(),c,!0)):this.EF({nop_s:N})}}; +g.C.onCueRangeExit=function(N){for(var H=this.playback.getCurrentTime()*1E3,c=N.getId(),t=g.K(this.B.values()),h=t.next();!h.done;h=t.next())if(h=h.value,h.getId()!==c&&H>=h.start&&H<=h.end)return;if(c=this.T.Vd({cpn:c}))H=this.playback.getCurrentTime(),t=this.hI(),t.startTimeSecs=N.end/1E3,c={cB:c,IC:t,rZ:H},Dhw(this,this.playback.Qd(),N.end/1E3,H),tM(this,c)}; +g.C.hI=function(){return{cpn:this.playback.Qd(),durationMs:0,gs:0,playerType:1,m9:0,videoData:this.playback.getVideoData(),errorCount:0,EN:""}}; +g.C.seekTo=function(N,H,c,t){N=N===void 0?0:N;H=H===void 0?{}:H;c=c===void 0?!1:c;t=t===void 0?null:t;PN(this,this.aW);if(this.playback.getVideoData().vH()&&N<=this.zr)this.playback.pauseVideo(),this.zr=0,Poe(this,N);else if(this.zW=this.Bp=!0,c)PWd(this,N,H);else{c=this.app.x_();var h=c===this.Cq?this.WO:null;Nc(this,!1);this.C4=N;this.kG=H;t!=null&&this.mG.start(t);c&&(this.WO=h||c.getPlayerState(),c.Vq(H),this.Cq=c)}}; +g.C.Os=function(){Nc(this,!1);OIR(this);Lrd(this);g.L.prototype.Os.call(this)}; +g.C.qG=function(N){this.n4=N;this.EF({swebm:N})}; +g.C.uw=function(N,H,c){if(c&&H){var t=this.S.get(N);if(t){t.locations||(t.locations=new Map);var h=Number(H.split(";")[0]);c=new g.Ft(c);this.EF({hdlredir:1,itag:H,seg:N,hostport:Sc(18,c)});t.locations.set(h,c)}}}; +g.C.Uq=function(N,H,c,t,h,O){var F=t===3,M=Obd(this,N,H,t,c,O);if(!M){sQ(this,H,F);var f=g.h8Z(this,H)?"undec":"ncp";this.EF({gvprp:f,mt:N,seg:H,tt:t,itag:c,ce:O});return null}F||this.S.set(H,M);O=M.EN;var d;t=((d=this.D4(H-1,t,h))==null?void 0:d.RI)||"";t===""&&this.EF({eds:1});d=c8D(this,M.ssdaiAdsConfig);h=this.playback.getVideoData();var W;F=((W=h.B)==null?void 0:W.containerType)||0;W=h.vQ[F];M=M.j9&&H>=M.j9?M.j9:void 0;W={Zi:O?OE(this,O):[],adsConfig:d,RI:t,tq:M,X9:AA(W.split(";")[0]),jw:W.split(";")[1]|| +""};M={nJ:W};this.w_&&(N={gvprpro:"v",sq:H,mt:N.toFixed(3),itag:c,acpns:((f=W.Zi)==null?void 0:f.join("_"))||"none",abid:O},this.EF(N));return M}; +g.C.vx=function(N){a:{if(!this.Fj){var H=mLy(this,N);if(!(this.playback.getVideoData().vH()&&(H==null?0:H.Jo)))break a}H=void 0}var c=H;if(!c)return this.EF({gvprp:"ncp",mt:N}),null;H=c.EN;var t=c8D(this,c.ssdaiAdsConfig);c=c.j9&&c.BS&&N>=c.BS?c.j9:void 0;var h=this.playback.getVideoData(),O,F=((O=h.B)==null?void 0:O.containerType)||0;O=h.vQ[F];O={Zi:H?OE(this,H):[],adsConfig:t,tq:c,X9:AA(O.split(";")[0]),jw:O.split(";")[1]||""};var M;N={gvprpro:"v",mt:N.toFixed(3),acpns:((M=O.Zi)==null?void 0:M.join("_"))|| +"none",abid:H};this.EF(N);return O}; +g.C.gD=function(N,H,c,t,h,O){var F=Number(c.split(";")[0]),M=t===3;N=Obd(this,N,H,t,c,O);this.EF({gdu:1,seg:H,itag:F,pb:""+!!N});if(!N)return sQ(this,H,M),null;N.locations||(N.locations=new Map);if(!N.locations.has(F)){var f,d;O=(f=N.videoData.getPlayerResponse())==null?void 0:(d=f.streamingData)==null?void 0:d.adaptiveFormats;if(!O)return this.EF({gdu:"noadpfmts",seg:H,itag:F}),sQ(this,H,M),null;f=O.find(function(E){return E.itag===F}); +if(!f||!f.url){var W=N.videoData.videoId;N=[];var z=g.K(O);for(t=z.next();!t.done;t=z.next())N.push(t.value.itag);this.EF({gdu:"nofmt",seg:H,vid:W,itag:F,fullitag:c,itags:N.join(",")});sQ(this,H,M);return null}N.locations.set(F,new g.Ft(f.url,!0))}O=N.locations.get(F);if(!O)return this.EF({gdu:"nourl",seg:H,itag:F}),sQ(this,H,M),null;O=new r$(O);this.n4&&(O.get("dvc")?this.EF({dvc:O.get("dvc")||""}):O.set("dvc","webm"));(t=(z=this.D4(H-1,t,h))==null?void 0:z.RI)&&O.set("daistate",t);N.j9&&H>=N.j9&& +O.set("skipsq",""+N.j9);(z=this.playback.getVideoData().clientPlaybackNonce)&&O.set("cpn",z);z=[];N.EN&&(z=OE(this,N.EN),z.length>0&&O.set("acpns",z.join(",")));M||this.S.set(H,N);M=null;M=O.get("aids");t=O.uG();(t==null?void 0:t.length)>2048&&this.EF({urltoolong:1,sq:H,itag:F,len:t.length});this.w_&&(t&&(O=N.cpn,h=N.EN,KRl(this,O,h),h&&!this.qc.has(h)&&(O=uJt(this,O,h),f=eBs(this,h),this.EF({iofa:O}),this.EF({noawnzd:f-O}),this.EF({acpns:z.join("."),aids:(W=M)==null?void 0:W.replace(/,/g,".")}), +this.qc.add(h))),this.EF({gdu:"v",seg:H,itag:c,ast:N.gs.toFixed(3),alen:N.durationMs.toFixed(3),acpn:N.cpn,avid:N.videoData.videoId}));return t}; +g.C.Ya=function(N,H,c){c=c===void 0?!1:c;var t=UhR(this,N,H);if(t){this.Jj&&(this.Ix=t);var h=void 0,O=t.EN;if(O){this.EF({skipadonsq:H,sts:c,abid:O,acpn:t.cpn,avid:t.videoData.videoId});c=this.T.T.get(O);if(!c)return;c=g.K(c);for(O=c.next();!O.done;O=c.next())O=O.value,O.j9=H,O.BS=N,O.gs>t.gs&&(h=O)}PN(this,this.aW);this.L=t.cpn;nfw(this);this.api.N("html5_ssdai_enable_media_end_cue_range")&&this.playback.Z2(this.L);N=this.playback.getCurrentTime();W3L(this,t,h,N,N,!1,!0);zpS(this)}}; +g.C.xo=function(){for(var N=g.K(this.T.B),H=N.next();!H.done;H=N.next())H=H.value,H.j9=NaN,H.BS=NaN;nfw(this);this.EF({rsac:"resetSkipAd",sac:this.L});this.UF.delete(this.L);this.L="";this.Jj&&(this.Ix=void 0)}; +g.C.D4=function(N,H,c){return this.Us.D4(N,H,c)}; +g.C.E0=h3(57); +g.C.bO=function(N,H,c,t,h,O,F,M,f){t.length>0&&this.EF({onssinfo:1,sq:N,start:H.toFixed(3),cpns:t.join(","),ds:h.join(","),isVideo:F?1:0});if(this.Jj&&this.Ix&&this.Ix.j9&&t.length>0){c=g.K(t);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d===this.Ix.cpn){this.LG!==d&&(this.EF({skiperror:1,sq:N,acpn:this.Ix.cpn,skipsq:this.Ix.j9||0}),this.LG=d);break}}f&&this.Us.bO(N,F,M,f);if(F){if(t.length&&h.length)for(this.UF.has(t[0])&&this.EF({skipfail:1,sq:N,acpn:t[0]}),N=H+this.Dj(),F=0;F0&&(this.WJ=0,this.aW="",this.j.N("html5_huli_ssdai_use_playback_state")&&this.jh(this.playback.Qd(),0),this.api.publish("serverstitchedvideochange"));this.playback.BB(c,t);return!0}; +g.C.ge=function(){this.EF({rstdaist:1});this.Us.clearAll()}; +g.C.eS=function(N){var H;if(N!==((H=this.Y)==null?void 0:H.identifier))this.EF({ignorenoad:N});else{this.Oc.add(N);this.EF({noadrcv:N});var c;((c=this.Y)==null?void 0:c.identifier)===N&&hu(this)}}; +g.C.Lp=function(N){if(this.Fj)return this.EF({dai_disabled:N.event}),!1;if(this.playback.getVideoData().vH()&&(N.event==="continue"||N.event==="stop"))return!1;var H=pH(this.api.g_());if(H=H?H.Lp(N):!1)this.U={kp:N.identifier,wG:N.startSecs};else if(this.U&&this.U.kp===N.identifier&&N.startSecs>this.U.wG+1){this.EF({cueStChg:N.identifier,oldSt:this.U.wG.toFixed(3),newSt:N.startSecs.toFixed(3),abid:this.U.MQ});if(this.U.MQ){var c=N.startSecs-this.U.wG,t=this.T.T.get(this.U.MQ);if(t){t=g.K(t);for(var h= +t.next();!h.done;h=t.next())h=h.value,h.gs>=0&&(h.gs+=c*1E3,this.j.N("html5_ssdai_update_timeline_on_start_time_change")&&(h.m9+=c*1E3),this.EF({newApEt:h.gs,newApPrt:h.m9,acpn:h.cpn}))}}this.U.wG=N.startSecs}H?this.vp.add(N.identifier):this.vp.has(N.identifier)&&this.vp.delete(N.identifier);return H}; +g.C.X8=function(N){var H="";N?N.event==="unknown"?H="unknown":this.vp.has(N.identifier)?this.U&&this.U.kp===N.identifier?this.U.kp===N.identifier?H=this.j.N("html5_ssdai_under_decoration_shortad")&&hA(this.Kq,function(c){return c.identifier===N.identifier})?"shortad":"pending":hA(this.Kq,function(c){return c.identifier===N.identifier})||(H="noAdsAdded"):H="wrongAdBreakInfo":H="unscheduled":H="noCuepoint"; +return H}; +g.C.VU=function(N){return this.Fj?!1:!!mLy(this,N)}; +g.C.iV=function(N){var H=this;if(this.j.N("html5_lifa_ignore_multiple_skips")&&this.ox)return this.EF({ufs_ad:this.L,ufs_cur:this.aW,ufs_cont:this.hI().cpn}),!1;PN(this,this.aW);this.playback.pauseVideo();var c=this.playback.getCurrentTime(),t=this.T.Vd({cpn:this.aW});if(!t)return this.EF({skipFail:c}),!1;this.L=this.aW;this.Bp=!1;this.api.N("html5_ssdai_enable_media_end_cue_range")&&this.playback.Z2(this.L);this.m1(t.EN);wqw(this,t,this.hI(),N);Poe(this,c,{seekSource:89,j_:"lifa_skip"});this.ox|| +(this.ox=this.events.G(this.api,"progresssync",function(){MB(H.api.Um(),(0,g.Lh)(),"ad_to_video");H.ox&&(H.events.G3(H.ox),H.ox=null)})); +return!0}; +g.C.m1=function(N){if(this.playback.getVideoData().vH()){var H=this.T.T.get(N);if(H){H=g.K(H);for(var c=H.next();!c.done;c=H.next()){c=c.value;var t=this.B.get(c.cpn);this.B.delete(c.cpn);t&&this.playback.removeCueRange(t);Ams(this.T,c)}this.S.clear();H=this.T;var h;c=(h=H.T.get(N))!=null?h:[];h=g.K(c);for(c=h.next();!c.done;c=h.next())Ams(H,c.value);H.T.delete(N);(N=this.Uu.get(N))&&this.G7&&this.playback.Fq(N)}}}; +g.C.EF=function(N,H){((H===void 0?0:H)||this.w_)&&this.playback.Lq("sdai",N)}; +var x_l=0;g.k($U,g.L);g.C=$U.prototype;g.C.onCueRangeEnter=function(N){if(this.T===this.app.x_()){var H=this.S.get(N);H?mGL(this,H.target,H.Km,N):this.rr("dai.transitionfailure",{e:"unexpectedCueRangeTriggered",cr:N.toString()})}else if(H=this.B.find(function(h){return h.Nv.VF===N})){var c=H.Nv,t=c.target; +c=c.Km;t?mGL(this,t,c,N):KVR(this,H.m9,c,N)}}; +g.C.onQueuedVideoLoaded=function(){var N=this.C;AD(this);if(N){if(!Q3(this,N)){var H=this.app.x_();this.rr("dai.transitionfailure",{e:"unexpectedPresentingPlayer",pcpn:H==null?void 0:H.getVideoData().clientPlaybackNonce,ccpn:""+N.playerVars.cpn})}this.app.x_().addCueRange(N.Nv.VF)}}; +g.C.seekTo=function(N,H,c,t){N=N===void 0?0:N;H=H===void 0?{}:H;t=t===void 0?null:t;if(c===void 0?0:c)Oiw(this,N,H);else{c=this.app.x_()||null;var h=c===this.U?this.Y:null;Zt(this,!1);this.Bp=N;this.TW=H;t!=null&&this.Z.start(t);c&&(this.Y=h||c.getPlayerState(),c.Vq(),this.U=c)}}; +g.C.Wv=function(N){g.tC(N,128)&&rYt(this)}; +g.C.isManifestless=function(){return WK(this.T.getVideoData())}; +g.C.Os=function(){Zt(this,!1);$N(this);g.L.prototype.Os.call(this)}; +g.C.rr=function(N,H){this.T.rr(new g.QP(N,H))}; +var VJf=0;var Inl="MWEB TVHTML5 TVHTML5_AUDIO TVHTML5_CAST TVHTML5_KIDS TVHTML5_FOR_KIDS TVHTML5_SIMPLY TVHTML5_SIMPLY_EMBEDDED_PLAYER TVHTML5_UNPLUGGED TVHTML5_VR TV_UNPLUGGED_CAST WEB WEB_CREATOR WEB_EMBEDDED_PLAYER WEB_EXPERIMENTS WEB_GAMING WEB_HEROES WEB_KIDS WEB_LIVE_APPS WEB_LIVE_STREAMING WEB_MUSIC WEB_MUSIC_ANALYTICS WEB_MUSIC_INTEGRATIONS WEB_REMIX WEB_UNPLUGGED WEB_UNPLUGGED_ONBOARDING WEB_UNPLUGGED_OPS WEB_UNPLUGGED_PUBLIC".split(" ");g.k(fU,g.L);fU.prototype.zf=function(N){if(N)return this.B.get(N)}; +fU.prototype.Os=function(){this.T.removeAll();this.B.removeAll();g.L.prototype.Os.call(this)};g.MO5=lH(function(){var N=window.AudioContext||window.webkitAudioContext;try{return new N}catch(H){return H.name}});g.k(Fj,g.e);g.C=Fj.prototype;g.C.TM=function(){g.iW(this.element,g.LQ.apply(0,arguments))}; +g.C.kA=function(){this.Wr&&(this.Wr.removeEventListener("focus",this.XD),g.wr(this.Wr),this.Wr=null)}; +g.C.Cs=function(){this.uo();var N=this.app.D();N.Fb||this.TM("tag-pool-enabled");N.Y&&this.TM(g.Jk.HOUSE_BRAND);N.playerStyle==="gvn"&&(this.TM("ytp-gvn"),this.element.style.backgroundColor="transparent");N.Dt&&(this.hx=g.r9("yt-dom-content-change",this.resize,this));this.G(window,"orientationchange",this.resize,this);this.G(window,"resize",this.resize,this)}; +g.C.s7=function(N){g.l6(this.app.D());this.JL=!N;iD(this)}; +g.C.resize=function(){if(this.Wr){var N=this.lR();if(!N.isEmpty()){this.app.VS.isFullscreen()&&VW()&&this.xM.start();var H=!g.iE(N,this.xg.getSize()),c=Opf(this);H&&(this.xg.width=N.width,this.xg.height=N.height);N=this.app.D();(c||H||this.EH||N.Dt)&&this.app.VS.publish("resize",this.getPlayerSize())}}}; +g.C.KJ=function(N,H){this.updateVideoData(H)}; +g.C.updateVideoData=function(N){if(this.Wr){var H=this.app.D();bA&&(this.Wr.setAttribute("x-webkit-airplay","allow"),N.title?this.Wr.setAttribute("title",N.title):this.Wr.removeAttribute("title"));this.Wr.setAttribute("controlslist","nodownload");H.DY&&N.videoId&&(this.Wr.poster=N.Ds("default.jpg"))}H=g.QV(N,"yt:bgcolor");this.BJ.style.backgroundColor=H?H:"";this.RF=EeS(g.QV(N,"yt:stretch"));this.oF=EeS(g.QV(N,"yt:crop"),!0);g.QH(this.element,"ytp-dni",N.Uc);this.resize()}; +g.C.setGlobalCrop=function(N){this.q9=EeS(N,!0);this.resize()}; +g.C.setCenterCrop=function(N){this.cg=N;this.resize()}; +g.C.fA=function(){}; +g.C.getPlayerSize=function(){var N=this.app.D(),H=this.app.VS.isFullscreen(),c=N.externalFullscreen&&g.PX(N);if(H&&VW()&&!c)return new g.rv(window.outerWidth,window.outerHeight);c=!isNaN(this.sT.width)&&!isNaN(this.sT.height);var t=this.app.D().N("kevlar_player_enable_squeezeback_fullscreen_sizing")||this.app.D().N("web_watch_enable_fs_squeezeback_panels");if(H&&!c&&t)return new g.rv(this.element.clientWidth,this.element.clientHeight);if(H||N.w4){if(window.matchMedia){N="(width: "+window.innerWidth+ +"px) and (height: "+window.innerHeight+"px)";this.p5&&this.p5.media===N||(this.p5=window.matchMedia(N));var h=this.p5&&this.p5.matches}if(h)return new g.rv(window.innerWidth,window.innerHeight)}else if(c)return this.sT.clone();return new g.rv(this.element.clientWidth,this.element.clientHeight)}; +g.C.lR=function(){var N=this.app.D().N("enable_desktop_player_underlay"),H=this.getPlayerSize(),c=g.Mx(this.app.D().experiments,"player_underlay_min_player_width");return N&&this.z_&&H.width>c?(N=g.Mx(this.app.D().experiments,"player_underlay_video_width_fraction"),new g.rv(Math.min(H.height*this.getVideoAspectRatio(),H.width*N),Math.min(H.height,H.width*N/this.getVideoAspectRatio()))):H}; +g.C.getVideoAspectRatio=function(){return isNaN(this.RF)?K1h(this):this.RF}; +g.C.getVideoContentRect=function(N){var H=this.lR();N=EjL(this,H,this.getVideoAspectRatio(),N);return new g.HS((H.width-N.width)/2,(H.height-N.height)/2,N.width,N.height)}; +g.C.gg=function(N){this.z_=N;this.resize()}; +g.C.Ox=function(){return this.Wa}; +g.C.onMutedAutoplayChange=function(){iD(this)}; +g.C.setInternalSize=function(N){g.iE(this.sT,N)||(this.sT=N,this.resize())}; +g.C.Os=function(){this.hx&&g.G7(this.hx);this.kA();g.e.prototype.Os.call(this)};g.C=G3l.prototype;g.C.click=function(N,H){this.elements.has(N);this.T.has(N);var c=g.gi();c&&N.visualElement&&g.Lo(c,N.visualElement,H)}; +g.C.createClientVe=function(N,H,c,t){var h=this;t=t===void 0?!1:t;this.elements.has(N);this.elements.add(N);c=B8f(c);N.visualElement=c;var O=g.gi(),F=g.kV();O&&F&&(g.sf("combine_ve_grafts")?Dz(qu(),c,F):g.Lu(g.Iw)(void 0,O,F,c));H.addOnDisposeCallback(function(){h.elements.has(N)&&h.destroyVe(N)}); +t&&this.B.add(N)}; +g.C.createServerVe=function(N,H,c){var t=this;c=c===void 0?!1:c;this.elements.has(N);this.elements.add(N);H.addOnDisposeCallback(function(){t.destroyVe(N)}); +c&&this.B.add(N)}; +g.C.destroyVe=function(N){this.elements.has(N);this.elements.delete(N);this.L.delete(N);this.T.delete(N);this.B.delete(N)}; +g.C.dn=function(N,H){this.clientPlaybackNonce!==H&&(this.clientPlaybackNonce=H,R9(qu(),N),cm3(this))}; +g.C.setTrackingParams=function(N,H){this.elements.has(N);H&&(N.visualElement=g.bg(H))}; +g.C.a4=function(N,H,c){this.elements.has(N);H?this.T.add(N):this.T.delete(N);var t=g.gi(),h=N.visualElement;this.B.has(N)?t&&h&&(H?g.jI(t,[h]):g.Nh(t,[h])):H&&!this.L.has(N)&&(t&&h&&g.Qj(t,h,void 0,c),this.L.add(N))}; +g.C.hasVe=function(N){return this.elements.has(N)};g.k(g.KU,g.L);g.KU.create=function(N,H,c,t){try{var h=typeof N==="string"?N:"player"+g.ye(N),O=pt[h];if(O){try{O.dispose()}catch(M){g.BZ(M)}pt[h]=null}var F=new g.KU(N,H,c,t);F.addOnDisposeCallback(function(){pt[h]=null;F.Kz&&F.Kz()}); +return pt[h]=F}catch(M){throw g.BZ(M),(M&&M instanceof Error?M:Error(String(M))).stack;}}; +g.C=g.KU.prototype;g.C.RA=function(){return this.visibility}; +g.C.QZ=function(N){var H=this.o4();if(N!==H){N.getVideoData().autonavState=H.getVideoData().autonavState;H.mV(this.J_,this);var c=H.getPlaybackRate();H.dispose();this.hN.QZ(N);N.setPlaybackRate(c);N.Cm(this.J_,this);CU(this)}}; +g.C.h9=function(){this.Jv||(this.Jv=g.tI(np(),fDv()));return this.Jv}; +g.C.kA=function(N){if(this.mediaElement){this.FW&&(this.events.G3(this.FW),this.FW=null);g.bM(this.pP);this.x_().kA(!0,!1,N);this.template.kA();try{this.N("html5_use_async_stopVideo")?this.mediaElement.dispose():this.mediaElement.M1()}catch(H){g.aS(H)}this.mediaElement=null}}; +g.C.kt=function(N,H,c){if(N!==this.x_()){var t=null;if(c===void 0||!c){c=this.x_();t=c.getPlayerState();mz(this.F2,3);hj(this,"cuerangesremoved",c.Z$());this.fF&&!N.isGapless()&&c.isGapless()&&this.mediaElement&&this.mediaElement.stopVideo();c=N.YD()&&c.YD();this.f4.Yt("iv_s");c=c===void 0?!0:c;var h;if(h=this.X2){h=this.X2;var O=this.mediaElement;h=!!O&&O===h.mediaElement}h&&(this.kA(),md(this));h=this.x_();h.kA(!c);h.mV(this.v6,this);h.getPlayerType()!==1&&h.dispose();c=this.hN;c.L=c.T;jq(c)}N.getPlayerType()=== +1&&this.QZ(N);c=N.getPlayerType();h=this.hN.U[c]||null;N!==this.o4()&&N!==h&&(h==null||h.dispose(),this.hN.U[c]=N);this.hN.kt(N);this.mediaElement&&N.setMediaElement(this.mediaElement);N.Cm(this.v6,this);N.qZ()?Jwf(this,"setPresenting",!1):(this.KJ("newdata",N,N.getVideoData()),t&&!g.ZU(t,N.getPlayerState())&&this.xK(new g.I$(N.getPlayerState(),t)),H=H&&N.getPlayerType()===1,N.XC()&&!H&&this.KJ("dataloaded",N,N.getVideoData()),(H=(H=N.getVideoData().B)&&H.video)&&this.VS.vU("onPlaybackQualityChange", +H.quality),hj(this,"cuerangesadded",N.Z$()),H=N.getPlayerState(),g.y(H,2)?kaS(this):g.y(H,8)?N.playVideo():N.AA()&&N.pauseVideo(),H=this.o4(),N.getPlayerType()===2&&(N.getVideoData().v9=H.getVideoData().clientPlaybackNonce),N.getPlayerType()!==2||this.Re()||(N=N.getVideoData(),H.WM(N.clientPlaybackNonce,N.n4||"",N.breakType||0,N.XQ,N.videoId||"")))}}; +g.C.dW=function(){this.o4()!==this.x_()&&this.kt(this.o4())}; +g.C.z6=function(){return this.hN}; +g.C.Vd=function(N){return this.hN.Vd(N)}; +g.C.CG=function(N){return this.hN.CG(N)}; +g.C.o4=function(){return this.hN.o4()}; +g.C.x_=function(){return this.hN.x_()}; +g.C.KS=h3(44);g.C.Kzx=function(){w_(this)||this.fp(5)}; +g.C.wUi=function(){if(!w_(this)){X6Z(this);var N=this.x_(),H=N.getPlayerState();N.AA()?this.pauseVideo():H.isOrWillBePlaying()&&this.playVideo()}}; +g.C.canPlayType=function(N){return xx(N)}; +g.C.D=function(){return this.j}; +g.C.getVideoData=function(){return this.x_().getVideoData()}; +g.C.PC=h3(11);g.C.Sg=function(){return this.o4().getVideoData()}; +g.C.getVideoLoadedFraction=function(N){return(N=g.C2(this,{playerType:N}))?N.getVideoLoadedFraction():this.hN.T.getVideoLoadedFraction()}; +g.C.BO=function(){return this.template}; +g.C.g_=function(){return this.F2}; +g.C.Um=function(){return this.f4}; +g.C.I6=function(N,H,c){(H=g.C2(this,{playerType:H===void 0?1:H}))&&H.sJ(N,void 0,c)}; +g.C.cG=function(){var N=this.F2.cG();this.VS.publish("videoStatsPingCreated",N);return N}; +g.C.getVolume=function(){return Math.round(this.VS.getVolume())}; +g.C.isMuted=function(){return this.VS.isMuted()}; +g.C.pH=function(){if(this.o4()===this.x_()&&this.PO)return this.PO.postId}; +g.C.WLE=function(){var N=this;this.N("use_rta_for_player")||(g.Iy(this.j)?g.py(this.j,g.JO(this.getVideoData())).then(function(H){wx(np(),H);DDL(N.getVideoData(),N.j,N.h9())}):DDL(this.getVideoData(),this.j,this.h9()))}; +g.C.oM=function(N){this.VS.publish("poTokenVideoBindingChange",N)}; +g.C.d6=function(N){this.VS.publish("d6de4videobindingchange",N)}; +g.C.vS=function(){this.Gw&&this.Gw.vS()}; +g.C.XZ=function(N){this.Gw=N}; +g.C.I0=function(N){if(N===1){this.f4.tick("vr");var H=this.x_();H.IX();z7h(this.f4,H.getVideoData(),GVf(this));I6(this.F2)}H=this.j;if(hS(H)&&H.Z||g.G0(H)){var c;(((c=this.x_().getVideoData())==null?0:c.enableServerStitchedDai)||!this.Re())&&this.VS.vU("onAdStateChange",N)}}; +g.C.setLoopVideo=function(N){var H=this.x_();H===this.o4()&&H.Mj()!==N&&(H.setLoop(N),this.VS.QS("onLoopChange",N))}; +g.C.getLoopVideo=function(){return this.x_().Mj()}; +g.C.setLoopRange=function(N){var H=!1;!!this.PO!==!!N?H=!0:this.PO&&N&&(H=this.PO.startTimeMs!==N.startTimeMs||this.PO.endTimeMs!==N.endTimeMs||this.PO.postId!==N.postId||this.PO.type!==N.type);if(H){H=this.x_();Vz(H.getVideoData())&&H.Lq("slr",{et:(N==null?void 0:N.endTimeMs)||-1});H=this.o4();H.gr("applooprange");if(N){var c=new g.vn(N.startTimeMs,N.endTimeMs,{id:"looprange",namespace:"applooprange"});H.addCueRange(c)}else{this.Sg().clipConfig=void 0;var t;((c=this.PO)==null?void 0:c.type)!=="repeatChapter"|| +isNaN(Number((t=this.PO)==null?void 0:t.loopCount))||(c={loopCount:String(this.PO.loopCount),cpn:this.getVideoData().clientPlaybackNonce},g.uF("repeatChapterLoopEvent",c))}this.PO=N;this.VS.QS("onLoopRangeChange",N||void 0);this.o4()===this.x_()&&(this.yZ(),H.lY())}}; +g.C.getLoopRange=function(){return this.PO}; +g.C.yZ=function(){var N="",H=this.o4();this.PO?H!==this.x_()?N="pnea":rrL(this,H.getCurrentTime())&&(this.PO.loopCount=0,N="ilr"):N="nlr";var c=this.x_();if(Vz(c.getVideoData()))if(this.N("html5_gapless_log_loop_range_info")){var t,h;c.Lq("slrre",{rej:N,ct:H.getCurrentTime(),lst:(t=this.PO)==null?void 0:t.startTimeMs,let:(h=this.PO)==null?void 0:h.endTimeMs})}else c.Lq("slrre",{});N||KSd(this)}; +g.C.setPlaybackRate=function(N,H){if(!isNaN(N)){N=tFw(this,N);var c=this.o4();c.getPlaybackRate()!==N&&(c.setPlaybackRate(N),H&&!this.j.U&&g.h9("yt-player-playback-rate",N),this.VS.vU("onPlaybackRateChange",N))}}; +g.C.getCurrentTime=function(N,H){H=H===void 0?!0:H;var c=this.hN.IA;if(c)return c.getCurrentTime();var t=N===2&&this.getVideoData().enableServerStitchedDai;c=null;t?c=this.x_():c=g.C2(this,{playerType:N});return c?t&&this.n6?(N=this.hN.Y)?N.getCurrentTime(H):c.getCurrentTime():H?(H=WN(this,c),K2(this,H.getCurrentTime(),H)):c.getCurrentTime():this.hN.T.getCurrentTime()}; +g.C.A9=function(){var N=g.C2(this,{playerType:void 0});if(!N)return this.hN.T.A9();N=WN(this,N);return K2(this,N.A9(),N)}; +g.C.getDuration=function(N,H){H=H===void 0?!0:H;var c=this.hN.IA;if(c)return c.getDuration();c=this.getVideoData();var t=N===2&&c.enableServerStitchedDai,h=null;t?h=this.x_():h=g.C2(this,{playerType:N});if(!h)return this.hN.T.getDuration();if(c.hasProgressBarBoundaries()&&!t){var O,F=Number((O=c.progressBarStartPosition)==null?void 0:O.utcTimeMillis),M;O=Number((M=c.progressBarEndPosition)==null?void 0:M.utcTimeMillis);if(!isNaN(F)&&!isNaN(O))return(O-F)/1E3}if(Vz(c)&&!c.isLivePlayback)return ge(this, +N);if(H)return N=lM(this,h),K2(this,N.getDuration(),N);if(t&&this.n6){if(this.N("html5_huli_ssdai_use_playback_state"))return N=this.hN,N=N.B===N.Y?N.B:null,(N==null?void 0:N.getDuration())||0;var f;return((f=this.hN.Y)==null?void 0:f.getDuration())||0}return h.getDuration()}; +g.C.kH=function(N){var H=g.C2(this,{playerType:N});return H?this.Re(H)?(H=lM(this,H),H.kH()-H.getCurrentTime()+this.getCurrentTime(N)):H.kH():this.hN.T.kH()}; +g.C.finishSegmentByCpn=function(){return[]}; +g.C.Cs=function(){this.template.Cs();var N=this.VS;N.state.element=this.template.element;var H=N.state.element,c;for(c in N.state.T)N.state.T.hasOwnProperty(c)&&(H[c]=N.state.T[c]);(N=K3h(this.template.element))&&this.events.G(this.template,N,this.onFullscreenChange)}; +g.C.getDebugText=function(N){var H=this.o4().Q4(N),c=this.x_();if(c!==this.o4()){c=c.Q4(N);for(var t=g.K(Object.keys(c)),h=t.next();!h.done;h=t.next())h=h.value,H["ad"+h]=c[h];if(N){c=H;t={};if(h=z_(document,"movie_player"))t.bounds=h.getBoundingClientRect(),t["class"]=h.className;h={};var O=g.as("video-ads");O?(Na3(O,h),h.html=O.outerHTML):h.missing=1;O={};var F=g.as("videoAdUiSkipContainer"),M=g.as("ytp-ad-skip-button-container"),f=g.as("ytp-skip-ad-button"),d=F||M||f;d?(Na3(d,O),O.ima=F?1:0,O.bulleit= +M?1:0,O.component=f?1:0):O.missing=1;t=JSON.stringify({player:t,videoAds:h,skipButton:O});c.ad_skipBtnDbgInfo=t}}N&&this.mediaElement&&(H["0sz"]=""+(+aU(this.mediaElement.getSize())===0),H.op=this.mediaElement.zV("opacity"),c=this.mediaElement.pB().y+this.mediaElement.getSize().height,H.yof=""+(+c<=0),H.dis=this.mediaElement.zV("display"));N&&((N=(0,g.eu)())&&(H.gpu=N),(N=this.j.playerStyle)&&(H.ps=N),this.j.vp&&(H.webview=1),(N=this.webPlayerContextConfig.jsUrl)&&(H.js=N));H.debug_playbackQuality= +this.VS.getPlaybackQuality(1);H.debug_date=(new Date).toString();H.origin=window.origin;H.timestamp=Date.now();delete H.uga;delete H.q;return JSON.stringify(H,null,2)}; +g.C.getFeedbackProductData=function(){var N={player_debug_info:this.getDebugText(!0),player_experiment_ids:this.D().experiments.experimentIds.join(", "),player_release:T[34]},H=this.getPlayerStateObject().vN;H&&(N.player_error_code=H.errorCode,N.player_error_details=JSON.stringify(H.errorDetail));return N}; +g.C.getPresentingPlayerType=function(N){if(this.appState===1)return 1;if(w_(this))return 3;var H,c,t;return(N&&this.j.Zp().T.G0(EPl)?(t=(H=this.hN.B)==null?void 0:H.isAd())!=null&&t:(c=this.n6)==null?0:x33(c,this.getCurrentTime()))?2:this.x_().getPlayerType()}; +g.C.Vt=function(){return!1}; +g.C.getPlayerStateObject=function(N){var H=this.hN.IA;return H?H.getPlayerState():g.C2(this,{playerType:N}).getPlayerState()}; +g.C.getAppState=function(){return this.appState}; +g.C.ols=function(N){switch(N.type){case "loadedmetadata":this.bA.start();N=g.K(this.hq);for(var H=N.next();!H.done;H=N.next())H=H.value,BLL(this,H.id,H.Wlq,H.hex,void 0,!1);this.hq=[];break;case "loadstart":this.f4.Yt("gv");break;case "progress":case "timeupdate":yY(N.target.Z6())>=2&&this.f4.Yt("l2s");break;case "playing":g.zN&&this.bA.start();if(g.Iy(this.j))N=!1;else{H=g.RS(this.g_());N=this.mediaElement.zV("display")==="none"||aU(this.mediaElement.getSize())===0;var c=cS(this.template),t=this.x_().getVideoData(), +h=g.m8(this.j);t=ix(t);H=!c||H||h||t||this.j.Al;N=N&&!H}N&&(N=this.x_(),N.FY(),this.getVideoData().zW||(this.getVideoData().zW=1,this.yn(),N.playVideo()))}}; +g.C.QcW=function(N){this.VS.Ic("onLoadProgress",N)}; +g.C.l6x=function(){this.VS.publish("playbackstalledatstart")}; +g.C.L7l=function(N,H){this.VS.publish("sabrCaptionsDataLoaded",N,H)}; +g.C.x2s=function(N){this.x_().N1(N)}; +g.C.ynE=function(N){this.x_().Jq(N)}; +g.C.m2T=function(N){N=WN(this,this.x_());N=K2(this,N.getCurrentTime(),N);this.VS.vU("onVideoProgress",N);this.j.W0&&Fz(this,this.visibility.eP())&&this.pauseVideo()}; +g.C.H6q=function(){this.VS.vU("onAutoplayBlocked");var N=this.x_().getVideoData();N&&(N.XA=!0);g.PX(this.j)&&(N={autoplayBrowserPolicy:nz(),autoplayIntended:Sa(this.getVideoData()),autoplayStatus:"AUTOPLAY_STATUS_BLOCKED",cpn:this.getVideoData().clientPlaybackNonce,intentionalPlayback:this.intentionalPlayback},g.uF("embedsAutoplayStatusChanged",N))}; +g.C.iGS=function(){this.VS.publish("progresssync")}; +g.C.M7q=function(){this.VS.Ic("onPlaybackPauseAtStart")}; +g.C.G3x=function(N){if(this.getPresentingPlayerType()===1){g.tC(N,1)&&!g.y(N.state,64)&&this.Sg().isLivePlayback&&this.o4().isAtLiveHead()&&this.VS.getPlaybackRate()>1&&this.setPlaybackRate(1,!0);if(g.tC(N,2)){if(this.PO&&this.PO.endTimeMs>=(this.getDuration()-1)*1E3){KSd(this);return}kaS(this)}if(g.y(N.state,128)){var H=N.state;this.cancelPlayback(5);H=H.vN;JSON.stringify({errorData:H,debugInfo:this.getDebugText(!0)});this.VS.vU("onError",cbL(H.errorCode));this.VS.Ic("onDetailedError",{errorCode:H.errorCode, +errorDetail:H.errorDetail,message:H.errorMessage,messageKey:H.Z9,cpn:H.cpn});(0,g.Lh)()-this.j.il>6048E5&&this.VS.Ic("onReloadRequired")}H={};if(N.state.isPlaying()&&!N.state.isBuffering()&&!j_("pbresume","ad_to_video")&&j_("_start","ad_to_video")){var c=this.getVideoData();H.clientPlaybackNonce=c.clientPlaybackNonce;c.videoId&&(H.videoId=c.videoId);g.YR(H,"ad_to_video");Ai("pbresume",void 0,"ad_to_video");I6(this.F2)}this.VS.publish("applicationplayerstatechange",N)}}; +g.C.xK=function(N){this.hN.IA||this.VS.publish("presentingplayerstatechange",N)}; +g.C.Wv=function(N){Mt(this,fT(N.state));g.y(N.state,1024)&&this.VS.isMutedByMutedAutoplay()&&(aW(this,{muted:!1,volume:this.bR.volume},!1),NL(this,!1))}; +g.C.onPlayerRequestSent=function(N){this.VS.QS("onPlayerRequestSent",N)}; +g.C.PE=function(N,H){N==="newdata"&&CU(this);this.VS.publish("applicationvideodatachange",N,H)}; +g.C.dia=function(N,H){X6Z(this);this.VS.Ic("onPlaybackAudioChange",this.VS.getAudioTrack().X3.name);this.VS.publish("internalaudioformatchange",this.VS.getAudioTrack().X3.id,H)}; +g.C.SyE=function(N){var H=this.x_().getVideoData();N===H&&this.VS.vU("onPlaybackQualityChange",N.B.video.quality)}; +g.C.zj=function(){var N=this.hN.U[2]||null;N&&(N=N.getVideoData(),this.x_().Lq("ssdai",{cleanaply:1,acpn:N==null?void 0:N.clientPlaybackNonce,avid:N.videoId,isDai:this.Sg().enableServerStitchedDai?1:0}),delete this.hN.U[2])}; +g.C.REl=function(N,H){this.KJ(N,this.x_(),H)}; +g.C.KJ=function(N,H,c){this.j.vO()&&H.Lq("vdc",{type:N,vid:c.videoId||"",cpn:c.clientPlaybackNonce||""});H===this.o4()&&(this.j.QB=c.oauthToken);H===this.o4()&&(this.getVideoData().enableServerStitchedDai&&!this.n6?(this.o4().Lq("sdai",{initSstm:1}),this.n6=new g.gD(this.VS,this.j,this.o4(),this)):!this.getVideoData().enableServerStitchedDai&&this.n6&&(this.n6.dispose(),this.n6=null));if(N==="newdata")mz(this.F2,2),this.VS.publish("videoplayerreset",H);else{if(!this.mediaElement)return;if(N==="dataloaded")if(this.o4()=== +this.x_()){if(M5f(c.Es,c.i5),!this.o4().getPlayerState().isError()){var t=w_(this);this.Sg().isLoaded();t&&this.fp(6);Rfl(this);kk(this.F2)||uX3(this)}}else Rfl(this);if(H.getPlayerType()===1&&(this.j.Cq&&s6y(this),this.getVideoData().isLivePlayback&&!this.j.Cn&&this.h3("html5.unsupportedlive",2,"DEVICE_FALLBACK"),c.isLoaded()&&((mxR(c)||this.getVideoData().Nj)&&this.VS.publish("legacyadtrackingpingchange",this.getVideoData()),c.hasProgressBarBoundaries()))){var h;t=Number((h=this.getVideoData().progressBarEndPosition)== +null?void 0:h.utcTimeMillis)/1E3;!isNaN(t)&&(h=this.kH())&&(h-=this.getCurrentTime(),t=(t-h)*1E3,h=this.JB.progressEndBoundary,(h==null?void 0:h.start)!==t&&(h&&this.Hu([h]),t=new g.vn(t,0x7ffffffffffff,{id:"progressEndBoundary",namespace:"appprogressboundary"}),this.o4().addCueRange(t),this.JB.progressEndBoundary=t))}this.VS.publish("videodatachange",N,c,H.getPlayerType())}this.VS.vU("onVideoDataChange",{type:N,playertype:H.getPlayerType()});this.yZ();(N=c.nu)?this.CB.dn(N,c.clientPlaybackNonce): +cm3(this.CB)}; +g.C.Q$=function(){UE(this,null);this.VS.Ic("onPlaylistUpdate")}; +g.C.cn_=function(N){delete this.JB[N.getId()];this.o4().removeCueRange(N);a:{N=this.getVideoData();var H,c,t,h,O,F,M,f,d,W,z=((H=N.ox)==null?void 0:(c=H.contents)==null?void 0:(t=c.singleColumnWatchNextResults)==null?void 0:(h=t.autoplay)==null?void 0:(O=h.autoplay)==null?void 0:O.sets)||((F=N.ox)==null?void 0:(M=F.contents)==null?void 0:(f=M.twoColumnWatchNextResults)==null?void 0:(d=f.autoplay)==null?void 0:(W=d.autoplay)==null?void 0:W.sets);if(z)for(H=g.K(z),c=H.next();!c.done;c=H.next())if(c= +c.value,h=t=void 0,c=c.autoplayVideo||((t=c.autoplayVideoRenderer)==null?void 0:(h=t.autoplayEndpointRenderer)==null?void 0:h.endpoint),t=g.P(c,g.DS),O=h=void 0,c!=null&&((h=t)==null?void 0:h.videoId)===N.videoId&&((O=t)==null?0:O.continuePlayback)){N=c;break a}N=null}(H=g.P(N,g.DS))&&this.VS.QS("onPlayVideo",{sessionData:{autonav:"1",itct:N==null?void 0:N.clickTrackingParams},videoId:H.videoId,watchEndpoint:H})}; +g.C.fp=function(N){N!==this.appState&&(N===2&&this.getPresentingPlayerType()===1&&(Mt(this,-1),Mt(this,5)),this.appState=N,this.VS.publish("appstatechange",N))}; +g.C.h3=function(N,H,c,t,h){this.o4().TU(N,H,c,t,h)}; +g.C.P_=h3(13);g.C.isAtLiveHead=function(N,H){H=H===void 0?!1:H;var c=g.C2(this,{playerType:N});if(!c)return this.hN.T.isAtLiveHead();N=lM(this,c);c=WN(this,c);return N!==c?N.isAtLiveHead(K2(this,c.getCurrentTime(),c),!0):N.isAtLiveHead(void 0,H)}; +g.C.iq=function(){var N=g.C2(this,{playerType:void 0});return N?lM(this,N).iq():this.hN.T.iq()}; +g.C.seekTo=function(N,H,c,t,h,O){H=H!==!1;if(t=g.C2(this,{playerType:t}))if(this.appState===2&&lB(this),this.Re(t))Qu(this)?this.n6.seekTo(N,{seekSource:h},H,c):this.z3.seekTo(N,{seekSource:h},H,c);else{this.N("html5_sabr_csdai_seek_log")||(O="");var F;t.seekTo(N,{jm:!H,uV:c,j_:"application"+((F=O)!=null?F:""),seekSource:h})}}; +g.C.seekBy=function(N,H,c,t){this.seekTo(this.getCurrentTime()+N,H,c,t,void 0,"_by")}; +g.C.U2T=function(){this.VS.vU("SEEK_COMPLETE")}; +g.C.b6p=function(){this.VS.QS("onAbnormalityDetected")}; +g.C.OGo=function(N){this.VS.QS("onSnackbarMessage",N)}; +g.C.hER=function(N){var H=this.x_(),c=H.getVideoData();if(this.appState===1||this.appState===2)c.startSeconds=N;this.appState===2?g.y(H.getPlayerState(),512)||lB(this):this.VS.vU("SEEK_TO",N)}; +g.C.XHs=function(){this.VS.publish("airplayactivechange")}; +g.C.jcl=function(){this.VS.publish("airplayavailabilitychange")}; +g.C.showAirplayPicker=function(){this.x_().fm()}; +g.C.qca=function(){this.VS.publish("beginseeking")}; +g.C.yjS=function(){this.VS.publish("endseeking")}; +g.C.getStoryboardFormat=function(N){return(N=g.C2(this,{playerType:N}))?lM(this,N).getStoryboardFormat():this.hN.T.getStoryboardFormat()}; +g.C.Om=function(N){return(N=g.C2(this,{playerType:N}))?lM(this,N).getVideoData().Om():this.hN.T.Om()}; +g.C.Re=function(N){N=(N||this.x_()).getVideoData();if(Qu(this))N=N===this.n6.playback.getVideoData();else a:{var H=this.z3;if(N===H.T.getVideoData()&&H.B.length)N=!0;else{H=g.K(H.B);for(var c=H.next();!c.done;c=H.next())if(N.vr===c.value.vr){N=!0;break a}N=!1}}return N}; +g.C.LS=function(N,H,c,t,h,O,F,M){var f=Qu(this);this.x_().Lq("appattl",{sstm:this.n6?1:0,ssenable:this.getVideoData().enableServerStitchedDai,susstm:f});f?(c=Cr3(this.n6,N,H,c,t,h,O,F,M),N=(c==null?void 0:c.vr)||"",(this.N("html5_ssdai_new_decoration_logic")||this.o4().getVideoData().cY)&&this.o4().N3(M||"",H,(c==null?void 0:c.clientPlaybackNonce)||"")):N=Lbv(this.z3,N,c,t,h,O);return N}; +g.C.HC=function(N,H,c,t,h,O,F,M){if(Qu(this)){var f;(f=this.n6)==null||Cr3(f,N,H,c,t,h,O,F,M)}}; +g.C.eS=function(N){(this.N("html5_ssdai_new_decoration_logic")||this.o4().getVideoData().cY)&&this.o4().N3(N,"","");var H;(H=this.n6)==null||H.eS(N)}; +g.C.Fa=function(N,H){N=N===void 0?-1:N;H=H===void 0?Infinity:H;Qu(this)||$N(this.z3,N,H)}; +g.C.HY=function(N,H,c){if(Qu(this)){var t=this.n6,h=t.T.Vd({vr:N});h?(c===void 0&&(c=h.m9),fKf(t,h,H,c)):t.vZ("Invalid_timelinePlaybackId_"+N+"_specified")}else{t=this.z3;h=null;for(var O=g.K(t.B),F=O.next();!F.done;F=O.next())if(F=F.value,F.vr===N){h=F;break}h?(c===void 0&&(c=h.m9),Kce(t,h,H,c)):pA(t,"InvalidTimelinePlaybackId timelinePlaybackId="+N)}}; +g.C.enqueueVideoByPlayerVars=function(N,H,c,t){c=c===void 0?Infinity:c;t=t===void 0?"":t;this.Re();N=new g.xm(this.j,N);t&&(N.vr=t);ZPR(this,N,H,c)}; +g.C.queueNextVideo=function(N,H,c,t,h){c=c===void 0?NaN:c;N=this.preloadVideoByPlayerVars(N,H===void 0?1:H,c,t===void 0?"":t,h===void 0?"":h);H=this.x_();N&&(this.N("html5_check_queue_on_data_loaded")?this.D().supportsGaplessShorts()&&H.getVideoData().C&&(c=this.dT,t=this.fF.S,c.U!==N&&(c.B=H,c.U=N,c.L=1,c.T=N.getVideoData(),c.S=t,c.T.isLoaded()?c.Y():c.T.subscribe("dataloaded",c.Y,c))):(c=rcy(H,N,this.fF.S),c!=null?(H.Lq("sgap",c),H.getVideoData().C&&H.f$(!1)):(N=N.getVideoData(),H=this.dT,H.T!== +N&&(H.T=N,H.L=1,N.isLoaded()?H.C():H.T.subscribe("dataloaded",H.C,H)))))}; +g.C.mp=function(N,H,c,t){var h=this;c=c===void 0?0:c;t=t===void 0?0:t;lM(this,this.x_()).MU();u_s(this.fF,N,H,c,t).then(function(){h.VS.Ic("onQueuedVideoLoaded")},function(){})}; +g.C.SP=function(){return this.fF.SP()}; +g.C.Y9=function(N){var H=this.fF.T;return H?H.zC(N):!1}; +g.C.clearQueue=function(N,H){this.fF.clearQueue(N===void 0?!1:N,H===void 0?!1:H)}; +g.C.loadVideoByPlayerVars=function(N,H,c,t,h,O){H=H===void 0?1:H;var F=this.o4();if(H===2&&this.Sg().enableServerStitchedDai&&F&&!F.NF())return F.Lq("lvonss",{vid:(N==null?void 0:N.videoId)||"",ptype:H}),!1;var M=!1;F=new g.xm(this.j,N);F.nO=O;g.ru(this.j)&&!F.LC&&$9(this.f4);var f;O=this.f4;var d=(f=F.TW)!=null?f:"";O.timerName=d;this.f4.WN("pl_i");this.N("web_player_early_cpn")&&F.clientPlaybackNonce&&this.f4.infoGel({clientPlaybackNonce:F.clientPlaybackNonce});hOs(F).supportsVp9Encoding===!1&& +this.x_().Lq("noVp9enc",{});if(this.D().supportsGaplessShorts()){f=f0Z(this.fF,F,H);if(f==null){Mt(this,-1);var W;((W=this.fF.T)==null?0:W.getVideoData().isAd())||Lc(this);N=this.fF;N.app.D().N("html5_gapless_new_slr")?iy(N.app,"gaplessshortslooprange"):N.app.setLoopRange(null);N.app.getVideoData().F5=!0;var z;(z=N.T)==null||z.X$();var E;(E=N.T)==null||E.al();c={j_:"gapless_to_next_video",seekSource:60,wI:N.S.T};t=dlL(N);if(N.S.T){var x;h=((x=N.L)==null?void 0:fW(x))||{};x=h.FG;h=h.o1;h!=null&&x!= +null&&(t=h-x+.001)}var q;(q=N.app.x_())==null||q.seekTo(t,c);if(!N.app.getPlayerStateObject(H).isPlaying()){var r;(r=N.app.x_())==null||r.playVideo(!0)}var w;(w=N.app.x_())==null||w.wc();N.C();return!0}q=this.N("html5_shorts_gapless_preload_fallback");r=this.fF.T;q&&r&&!r.uo()&&(w=r.getVideoData(),this.hN.C.set(Vr(H,w),r,3600));this.fF.clearQueue(q);this.x_().Lq("sgap",{f:f})}if(h){for(;F.R9.length&&F.R9[0].isExpired();)F.R9.shift();q=F.R9.length-1;M=q>0&&h.B(F.R9[q])&&h.B(F.R9[q-1]);F.R9.push(h)}c|| +(N&&Pkl(N)?(V8(this.j)&&!this.tJ&&(N.fetch=0),UE(this,N)):this.playlist&&UE(this,null),N&&(this.tJ=Nx(!1,N.external_list)));this.VS.publish("loadvideo");q=this.IG(F,H,t);M&&this.h3("player.fatalexception",1,"GENERIC_WITH_LINK_AND_CPN",("loadvideo.1;emsg."+F.R9.join()).replace(/[;:,]/g,"_"));return q}; +g.C.preloadVideoByPlayerVars=function(N,H,c,t,h){H=H===void 0?1:H;c=c===void 0?NaN:c;h=h===void 0?"":h;t=H;var O=h,F=xr(N);if(t=this.hN.C.get(t+"_"+F+"_"+O+"_"+ +(N.autonav==="1"||N.autonav===!0)+ +(N.autoplay==="1"||N.autoplay===!0||N.autoplay===1))||null)return t;N=new g.xm(this.j,N);h&&(N.vr=h);h=Vr(H,N);t=this.x_();O=Vr(t.getPlayerType(),t.getVideoData());h===O?(t.gb(!0),N.dispose(),c=null):(N.Uu=!0,t=Lf(this,H,N,!0),(H!==1||!jQ(this.j)||this.j.N("html5_allow_multiview_tile_preload")&&N.qA)&& +t.gb(!0),this.hN.C.set(h,t,c||3600),c=t);return c}; +g.C.setMinimized=function(N){this.visibility.setMinimized(N);(N=Sks(this.F2))&&(this.isMinimized()?N.load():N.unload());this.VS.publish("minimized")}; +g.C.setInline=function(N){this.visibility.setInline(N)}; +g.C.setInlinePreview=function(N){this.visibility.setInline(N)}; +g.C.Ak=function(N){t7D(this,N)||this.visibility.Ak(N)}; +g.C.setSqueezeback=function(N){this.visibility.setSqueezeback(N)}; +g.C.Ih=function(){var N,H=(N=this.mediaElement)==null?void 0:N.N4();H&&(this.j.jS&&i8(yA(function(){return document.exitFullscreen()}),function(){}),i8(yA(function(){return ip(H)}),function(){}))}; +g.C.nlf=function(){this.mediaElement.N4();this.mediaElement.N4().webkitPresentationMode==="picture-in-picture"?this.Ak(!0):this.Ak(!1)}; +g.C.togglePictureInPicture=function(){this.x_().togglePictureInPicture()}; +g.C.IG=function(N,H,c){var t=this;H=H===void 0?1:H;j_("_start",this.f4.timerName)||g.Lu(tj)(void 0,this.f4.timerName);var h=!1,O=Zs(this,H,N,!1);O?(h=!0,N.dispose()):(O=Lf(this,H,N,!0,c),(this.N("html5_onesie")||this.N("html5_load_before_stop"))&&O.Tm()&&O.gb(),this.bA.stop(),H===1&&H!==this.getPresentingPlayerType()&&this.cancelPlayback(4),this.cancelPlayback(4,H),this.kt(O));O===this.o4()&&(this.j.QB=N.oauthToken);if(!O.Tm())return!1;if(O===this.o4()){this.fp(1);if(this.j.N("html5_allow_multiview_tile_preload")&& +h&&O.getVideoData().qA)return O.Lq("app_lv",{pdl:O.XC()}),O.XC()?sKS(this,O):O.subscribe("internalvideodatachange",function(F){F==="dataloaded"&&sKS(t,O)},this),!0; +N=lB(this);h&&this.N("html5_player_preload_ad_fix")&&O.getPlayerType()===1&&O.XC()&&this.KJ("dataloaded",O,O.getVideoData());return N}O.GF();return!0}; +g.C.cueVideoByPlayerVars=function(N,H){var c=this;H=H===void 0?1:H;var t=this.o4();if(this.Sg().enableServerStitchedDai&&t&&!t.NF()&&N&&Object.keys(N).length>0)t.Lq("qvonss",{vid:(N==null?void 0:N.videoId)||"",ptype:H});else if(N&&Pkl(N))if(this.jO=!0,UE(this,N),(N=g.rT(this.playlist))&&N.DI())FQ(this,N,H);else this.playlist.onReady(function(){Av(c)}); +else{H||(H=this.getPresentingPlayerType());H===1&&this.Q$();t=new g.xm(this.j,N);var h=g.PX(this.j)&&!this.j.Us&&H===1&&!t.isAd()&&!t.n4;this.VS.publish("cuevideo",H);h?(this.x_().getVideoData().loading=!0,bhd(t,N?N:{}).then(function(O){FQ(c,O,H)}),t.dispose()):FQ(this,t,H)}}; +g.C.V5=function(N,H,c,t,h,O,F){if(!N&&!c)throw Error("Playback source is invalid");if(Hg(this.j)||g.El(this.j))return H=H||{},H.lact=M$(),H.vis=this.VS.getVisibilityState(),this.VS.QS("onPlayVideo",{videoId:N,watchEndpoint:O,sessionData:H,listId:c}),!1;wZl(this.f4);this.f4.reset();N={video_id:N};t&&(N.autoplay="1");t&&(N.autonav="1");O&&(N.player_params=O.playerParams);F&&(N.oauth_token=F);c?(N.list=c,this.loadPlaylist(N)):this.loadVideoByPlayerVars(N,1);return!0}; +g.C.cuePlaylist=function(N,H,c,t){this.jO=!0;Nvd(this,N,H,c,t)}; +g.C.loadPlaylist=function(N,H,c,t){this.jO=!1;Nvd(this,N,H,c,t)}; +g.C.im=function(){return this.VS.isMutedByMutedAutoplay()?!1:this.hN.IA?!0:!(!this.playlist||!this.playlist.hasNext())}; +g.C.C1=h3(5); +g.C.nextVideo=function(N,H){var c=g.ZJ(this.o4().getVideoData());g.rz(this.VS)&&c?this.V5(c.videoId,H?c.yT:c.sessionData,c.playlistId,H,void 0,c.Bg||void 0):this.tJ?this.VS.Ic("onPlaylistNext"):this.getPresentingPlayerType()===3?ms(this.F2).nextVideo():!this.playlist||V8(this.j)&&!this.VS.isFullscreen()||(this.playlist.hasNext(N)&&rQh(this.playlist,AHD(this.playlist)),this.playlist.loaded?(N=H&&this.j.N("html5_player_autonav_logging"),H&&this.VS.publish("playlistautonextvideo"),this.IG(g.rT(this.playlist,void 0, +H,N),1)):this.jO=!1)}; +g.C.previousVideo=function(N){this.tJ?this.VS.Ic("onPlaylistPrevious"):this.getPresentingPlayerType()===3?ms(this.F2).oa():!this.playlist||V8(this.j)&&!this.VS.isFullscreen()||(this.playlist.hasPrevious(N)&&rQh(this.playlist,Gxs(this.playlist)),this.playlist.loaded?this.IG(g.rT(this.playlist),1):this.jO=!1)}; +g.C.playVideoAt=function(N){this.tJ?this.VS.Ic("onPlaylistIndex",N):this.playlist&&(this.playlist.loaded?this.IG(g.rT(this.playlist,N),1):this.jO=!1,rQh(this.playlist,N))}; +g.C.getPlaylist=function(){return this.playlist}; +g.C.r$=h3(19);g.C.VZ=function(N){this.hq=g.WL(this.hq,function(O){return O.id!==N}); +for(var H=this.o4(),c=H.Z$(),t=0;t0&&(f=Math.floor(d/1E3))}f=H?H.C6:f;var W={AD_BLOCK:this.T++,AD_BREAK_LENGTH:f,AUTONAV_STATE:Lr(this.player.D()),CA_TYPE:"image",CPN:M.clientPlaybackNonce,DRIFT_FROM_HEAD_MS:this.player.iq()*1E3,LACT:M$(),LIVE_INDEX:H?this.L++:1,LIVE_TARGETING_CONTEXT:H&&H.context?H.context:"",MIDROLL_POS:O? +Math.round(O.start/1E3):0,MIDROLL_POS_MS:O?Math.round(O.start):0,VIS:this.player.getVisibilityState(),P_H:this.player.BO().lR().height,P_W:this.player.BO().lR().width,YT_REMOTE:h?h.join(","):""},z=E8(LT);Object.keys(z).forEach(function(x){z[x]!=null&&(W[x.toUpperCase()]=z[x].toString())}); +c!==""&&(W.BISCOTTI_ID=c);c={};Md(N)&&(c.sts="20385",(H=this.player.D().forcedExperiments)&&(c.forced_experiments=H));var E=hp(g.P4(N,W),c);return E.split("?").length!==2?Kw(Error("Invalid AdBreakInfo URL")):g.py(this.player.D(),M==null?void 0:M.oauthToken).then(function(x){if(x&&X8()){var q=np();wx(q,x)}x=t.player.h9(q);q=lry(t,E,W,M.isMdxPlayback,F);return g.Ir(x,q,"/youtubei/v1/player/ad_break").then(function(r){return r})})}; +MO.prototype.reset=function(){this.L=this.T=1};g.k(jx,MO); +jx.prototype.B=function(N,H,c){H=H===void 0?{}:H;var t=H.hE;var h=H.VF;var O=H.cueProcessedMs;c=c===void 0?"":c;H=this.T;this.T++;var F=this.player.D().N("h5_disable_macro_substitution_in_get_ad_break")?N:eEf(this,N,{hE:t,VF:h,cueProcessedMs:O},c,H);if(F.split("?").length!==2)return Math.random()<.1&&g.aS(Error("Invalid AdBreakInfo URL")),Kw(Error("Invalid AdBreakInfo URL"));var M=this.player.getVideoData(1).isMdxPlayback,f=c;c=M_v.exec(F);c=c!=null&&c.length>=2?c[1]:"";N=frl.test(F);var d=dBe.exec(F); +d=d!=null&&d.length>=2?d[1]:"";var W=W_l.exec(F);W=W!=null&&W.length>=2&&!Number.isNaN(Number(W[1]))?Number(W[1]):1;var z=z6v.exec(F);z=z!=null&&z.length>=2?z[1]:"0";var E=nI(this.player.D().qf),x=g.Yi(this.player.getVideoData(1).Bp,!0);O5s(this,x,F,f===""?"":f,this.player.D(),this.player.getVideoData(1));f={splay:!1,lactMilliseconds:String(M$()),playerHeightPixels:Math.trunc(this.player.BO().lR().height),playerWidthPixels:Math.trunc(this.player.BO().lR().width),vis:Math.trunc(this.player.getVisibilityState()), +signatureTimestamp:20385,autonavState:Lr(this.player.D())};if(M){M={};var q=this.player.D().Mz;EOe(M,q?q.join(","):"")&&(f.mdxContext=M)}if(M=xBe.includes(E)?void 0:g.W7("PREF")){q=M.split(RegExp("[:&]"));for(var r=0,w=q.length;r1&&n[1].toUpperCase()==="TRUE"){x.user.lockedSafetyMode=!0;break}}f.autoCaptionsDefaultOn=q2l(M)}F=CKh.exec(F);(F=F!=null&&F.length>=2?F[1]:"")&&d&&(x.user.credentialTransferTokens= +[{token:F,scope:"VIDEO"}]);F={contentPlaybackContext:f};f=this.player.getVideoData(1).getGetAdBreakContext();M=this.player.getVideoData(1).clientPlaybackNonce;q=O!==void 0?Math.round(O).toString():void 0;r=(t==null?0:t.context)?t.context:void 0;w=0;O&&h&&!t&&(h=h.end-h.start,h>0&&(w=Math.floor(h/1E3)));t=(t=Math.trunc((t?t.C6:w)*1E3))?String(t):void 0;h=this.player.iq()*1E3;h=Number.isNaN(h)?0:Math.trunc(h);H={adBlock:H,params:c,breakIndex:W,breakPositionMs:z,clientPlaybackNonce:M,topLevelDomain:E, +isProxyAdTagRequest:N,context:x,overridePlaybackContext:F,cueProcessedMs:q,videoId:d?d:void 0,liveTargetingParams:r,breakLengthMs:t,driftFromHeadMs:h?String(h):void 0,currentMediaTimeMs:String(Math.round(this.player.getCurrentTime(1)*1E3)),getAdBreakContext:f?f:void 0};return I5y(this,H)};var dKx={AQl:"replaceUrlMacros",MHp:"onAboutThisAdPopupClosed",azx:"executeCommand"};Br.prototype.E9=function(){return"adPingingEndpoint"}; +Br.prototype.Xr=function(N,H,c){JqL(this.Pp.get(),N,H,c)};qs.prototype.E9=function(){return"changeEngagementPanelVisibilityAction"}; +qs.prototype.Xr=function(N){this.J.QS("changeEngagementPanelVisibility",{changeEngagementPanelVisibilityAction:N})};o9.prototype.E9=function(){return"loggingUrls"}; +o9.prototype.Xr=function(N,H,c){N=g.K(N);for(var t=N.next();!t.done;t=N.next())t=t.value,JqL(this.Pp.get(),t.baseUrl,H,c,t.attributionSrcMode)};g.k(mYv,g.L);g.k(A1,g.L);g.C=A1.prototype;g.C.addListener=function(N){this.listeners.push(N)}; +g.C.removeListener=function(N){this.listeners=this.listeners.filter(function(H){return H!==N})}; +g.C.yQ=function(N,H,c,t,h,O,F,M){if(N==="")KA("Received empty content video CPN in DefaultContentPlaybackLifecycleApi");else if(N!==this.T||c){this.T=N;this.k_.get().yQ(N,H,c,t,h,O,F,M);this.ea.get().yQ(N,H,c,t,h,O,F,M);var f;(f=this.jg)==null||f.get().yQ(N,H,c,t,h,O,F,M);this.B.yQ(N,H,c,t,h,O,F,M);f=g.K(this.listeners);for(var d=f.next();!d.done;d=f.next())d.value.yQ(N,H,c,t,h,O,F,M)}else KA("Duplicate content video loaded signal")}; +g.C.EHg=function(){this.T&&this.o9(this.T)}; +g.C.o9=function(N){this.T=void 0;for(var H=g.K(this.listeners),c=H.next();!c.done;c=H.next())c.value.o9(N)};K$.prototype.kz=function(N,H,c,t,h){mwt(this);this.S=!H&&c===0;var O=this.J.getVideoData(1),F=this.J.getVideoData(2);O&&(this.contentCpn=O.clientPlaybackNonce,this.videoId=O.videoId,this.T=O.Y);F&&(this.adCpn=F.clientPlaybackNonce,this.adVideoId=F.videoId,this.adFormat=F.adFormat);this.U=N;t<=0?(mwt(this),this.S=!H&&c===0):(this.actionType=this.S?H?"unknown_type":"video_to_ad":H?"ad_to_video":"ad_to_ad",this.videoStreamType=h?"VIDEO_STREAM_TYPE_LIVE":"VIDEO_STREAM_TYPE_VOD",this.actionType!=="unknown_type"&& +(this.L=!0,j_("_start",this.actionType)&&YqR(this)))}; +K$.prototype.reset=function(){return new K$(this.J)};g.k(gN,g.L);gN.prototype.addCueRange=function(N,H,c,t,h,O,F,M,f){O=O===void 0?3:O;F=F===void 0?1:F;this.T.has(N)?KA("Tried to register duplicate cue range",void 0,void 0,{CueRangeID:N}):(N=new RN3(N,H,c,t,O,M,f),this.T.set(N.id,{VF:N,listener:h,AI:F}),this.J.Q0([N],F))}; +gN.prototype.removeCueRange=function(N){var H=this.T.get(N);H?(this.J.UN([H.VF],H.AI),this.T.delete(H.VF.id)):KA("Requested to remove unknown cue range",void 0,void 0,{CueRangeID:N})}; +gN.prototype.onCueRangeEnter=function(N){if(this.T.has(N.id))this.T.get(N.id).listener.onCueRangeEnter(N.id)}; +gN.prototype.onCueRangeExit=function(N){if(this.T.has(N.id))this.T.get(N.id).listener.onCueRangeExit(N.id)}; +g.k(RN3,g.vn);rN.prototype.addPlayerResponseForAssociation=function(N){this.J.addPlayerResponseForAssociation(N)};mT.prototype.I0=function(N){this.J.I0(N)}; +mT.prototype.Xq=function(N){var H=g.LQ.apply(1,arguments);N==="onAdStart"||N==="onAdEnd"?this.J.vU.apply(this.J,[N].concat(g.HE(H))):this.J.QS.apply(this.J,[N].concat(g.HE(H)))};wN.prototype.fG=function(N){return N&&Wv(this)};var H0S=null;g.k(QQ,g.xo);QQ.prototype.IB=function(N){return this.T.hasOwnProperty(N)?this.T[N].IB():{}}; +g.Hw("ytads.bulleit.getVideoMetadata",function(N){return hi().IB(N)}); +g.Hw("ytads.bulleit.triggerExternalActivityEvent",function(N,H,c){var t=hi();c=cve(c);c!==null&&t.publish(c,{queryId:N,viewabilityString:H})});g.C=L$.prototype;g.C.F1=function(N,H){if(!this.T.has(N))return{};if(H==="seek"){H=!1;H=H===void 0?!1:H;var c=vQ(Jw).LD(N,{});c?e4(c):H&&(N=vQ(Jw).VK(null,UW(),!1,N),N.DG=3,l7t([N]));return{}}H=KlS(H);if(H===null)return{};var t=this.J.z$();if(!t)return{};var h=this.J.getPresentingPlayerType(!0);if((c=this.J.getVideoData(h))==null||!c.isAd())return{};c={opt_adElement:t,opt_fullscreen:this.k_.get().isFullscreen()};return dEy(H,N,c)}; +g.C.ri=function(N,H,c,t,h){this.T.has(N)&&(t<=0||h<=0||vQ(Jw).ri(N,H,c,t,h))}; +g.C.E_=function(N){var H;(H=this.T.get(N.queryId))==null||H.E_()}; +g.C.SR=function(N){var H;(H=this.T.get(N.queryId))==null||H.SR()}; +g.C.IV=function(N){var H;(H=this.T.get(N.queryId))==null||H.IV()}; +g.C.RV=function(N){var H;(H=this.T.get(N.queryId))==null||H.RV()}; +g.C.oV=function(N){var H;(H=this.T.get(N.queryId))==null||H.oV()};Jll.prototype.send=function(N,H,c,t){try{uUf(this,N,H,c,t===void 0?!1:t)}catch(h){}};g.k(buR,Jll);BDR.prototype.send=function(N,H,c,t){var h=!1;try{if(t==="ATTRIBUTION_SRC_MODE_LABEL_CHROME"||t==="ATTRIBUTION_SRC_MODE_XHR_OPTION")h=!0,N=Ox3(N);t=h;var O=g.jp(N);if(O[1]==="https")var F=N;else O[1]="https",F=Mn("https",O[2],O[3],O[4],O[5],O[6],O[7]);var M=jPl(F);O=[];var f=Aes(F)&&this.Rx.get().J.D().experiments.M4("add_auth_headers_to_remarketing_google_dot_com_ping");if(Md(F)||f)O.push({headerType:"USER_AUTH"}),O.push({headerType:"PLUS_PAGE_ID"}),O.push({headerType:"VISITOR_ID"}),O.push({headerType:"EOM_VISITOR_ID"}), +O.push({headerType:"AUTH_USER"}),O.push({headerType:"DATASYNC_ID"});this.T.send({baseUrl:F,scrubReferrer:M,headers:O},H,c,t)}catch(d){}};Zk.prototype.ER=function(){return this.J.ER(1)};g.k(u7,g.L);g.C=u7.prototype;g.C.sG=function(){return this.J.getVideoData(1).clientPlaybackNonce}; +g.C.addListener=function(N){this.listeners.push(N)}; +g.C.removeListener=function(N){this.listeners=this.listeners.filter(function(H){return H!==N})}; +g.C.yQ=function(){this.ob.clear();this.nk=null;this.tV.get().clear()}; +g.C.o9=function(){}; +g.C.kEl=function(N,H,c,t,h){H.videoId==="nPpU29QrbiU"&&this.J.Lq("ads_ssm_vdc_s",{pt:c,dvt:N});Wt(this.Rx.get())&&N!=="dataloaded"||Zw3(this,H,c);if(Wv(this.Rx.get())&&N==="newdata"&&h!==void 0){N=this.sG();var O=H.clientPlaybackNonce,F={};r0(this,"rte",(F.ec=O,F.xc=t==null?void 0:t.clientPlaybackNonce,F.tr=h,F.pt=c,F.ia=O!==N,F.ctp=w0(O),F));H=H.clientPlaybackNonce;t=t==null?void 0:t.clientPlaybackNonce;h=zfS(h);if(h!==1)if(t!==void 0)for(c=g.K(this.listeners),N=c.next();!N.done;N=c.next())N.value.dK(t, +H,h);else KA("Expected exiting CPN for all non initial transitions",void 0,void 0,{enteringCpn:H,transitionReason:String(h)});h=g.K(this.listeners);for(t=h.next();!t.done;t=h.next())t.value.jD(H)}}; +g.C.AnS=function(N,H){N!==void 0&&(this.nk=N,H===void 0?KA("Expected ad video start time on SS video changed"):this.ob.set(N,H));var c=this.J.getPresentingPlayerType(!0),t=this.J.getVideoData(c),h;N===void 0?h=null:h=this.tV.get().T.get(N)||null;this.J.getVideoData(1).Lq("ads_ssvc",{pt:c,cpn:t==null?void 0:t.clientPlaybackNonce,crtt:this.J.getCurrentTime(1,!1),atlh:this.J.isAtLiveHead(),adstt:H,pid:N,slid:h==null?void 0:h.layoutId});t?Zw3(this,t,c):KA("Expected video data on server stitched video changed", +void 0,void 0,{cpn:this.J.getVideoData(1).clientPlaybackNonce,timelinePlaybackId:N})}; +g.C.NQ=function(N,H){var c=N.author,t=N.clientPlaybackNonce,h=N.isListed,O=N.vr,F=N.title,M=N.oR,f=N.x8,d=N.isMdxPlayback,W=N.eY,z=N.mdxEnvironment,E=N.isAutonav,x=N.c_,q=N.LC,r=N.Fo,w=N.videoId||"",n=N.profilePicture||"",p=N.tU||"",U=N.Tu()||!1,X=N.vH()||!1;N=N.fS||void 0;O=this.tV.get().T.get(O)||{layoutId:null,slotId:null};var A=this.J.getVideoData(1),R=A.K4();A=A.getPlayerResponse();H=1E3*this.J.getDuration(H);var v=1E3*this.J.getDuration(1),Nf,Fe,tS=(A==null?void 0:(Nf=A.playerConfig)==null? +void 0:(Fe=Nf.daiConfig)==null?void 0:Fe.enableDai)||!1,jh,cL;Nf=(A==null?void 0:(jh=A.playerConfig)==null?void 0:(cL=jh.daiConfig)==null?void 0:cL.enablePreroll)||!1;return Object.assign({},O,{videoId:w,author:c,clientPlaybackNonce:t,g9:H,uR:v,daiEnabled:tS,Q6:Nf,isListed:h,K4:R,profilePicture:n,title:F,tU:p,oR:M,x8:f,fS:N,isMdxPlayback:d,eY:W,mdxEnvironment:z,isAutonav:E,c_:x,LC:q,Fo:r,Tu:U,vH:X})}; +g.C.Os=function(){this.listeners.length=0;this.Ow=null;g.L.prototype.Os.call(this)};g.k(Pd,g.L);g.C=Pd.prototype;g.C.yQ=function(){var N=this;Wv(this.Rx.get())||(this.T=W9(function(){N.J.uo()||N.J.ao("ad",1)}))}; +g.C.o9=function(){}; +g.C.addListener=function(N){this.listeners.push(N)}; +g.C.removeListener=function(N){this.listeners=this.listeners.filter(function(H){return H!==N})}; +g.C.t1=function(){}; +g.C.playVideo=function(){this.J.playVideo()}; +g.C.pauseVideo=function(){this.J.pauseVideo()}; +g.C.resumeVideo=function(N){this.PL(N)&&this.J.playVideo()}; +g.C.PL=function(N){return this.J.getPlayerState(N)===2}; +g.C.getCurrentTimeSec=function(N,H,c){var t=this.ea.get().nk;if(N===2&&!H&&t!==null)return f_(this,t);dy(this.Rx.get(),"html5_ssap_use_cpn_to_get_time")||(c=void 0);return c!==void 0?this.J.getCurrentTime(N,H,c):this.J.getCurrentTime(N,H)}; +g.C.getVolume=function(){return this.J.getVolume()}; +g.C.isMuted=function(){return this.J.isMuted()}; +g.C.getPresentingPlayerType=function(){return this.J.getPresentingPlayerType(!0)}; +g.C.getPlayerState=function(N){return this.J.getPlayerState(N)}; +g.C.getGetAdBreakContext=function(){return this.J.getGetAdBreakContext()}; +g.C.isFullscreen=function(){return this.J.isFullscreen()}; +g.C.isAtLiveHead=function(){return this.J.isAtLiveHead()}; +g.C.gg=function(N){this.J.gg(N)}; +g.C.glg=function(){var N=this.J.getPresentingPlayerType(!0),H=this.getCurrentTimeSec(N,!1);if(N===2){N=g.K(this.listeners);for(var c=N.next();!c.done;c=N.next())c.value.vR(H)}else if(N===1)for(N=g.K(this.CS),c=N.next();!c.done;c=N.next())c.value.t1(H)}; +g.C.Tks=function(N){for(var H=g.K(this.listeners),c=H.next();!c.done;c=H.next())c.value.jj(N,this.getPresentingPlayerType())}; +g.C.onFullscreenToggled=function(N){for(var H=g.K(this.listeners),c=H.next();!c.done;c=H.next())c.value.onFullscreenToggled(N)}; +g.C.onVolumeChange=function(){for(var N=g.K(this.listeners),H=N.next();!H.done;H=N.next())H.value.onVolumeChange()}; +g.C.pC=function(){for(var N=this.J.isMinimized(),H=g.K(this.listeners),c=H.next();!c.done;c=H.next())c.value.pC(N)}; +g.C.Fy=function(N){for(var H=g.K(this.listeners),c=H.next();!c.done;c=H.next())c.value.Fy(N)}; +g.C.Mc=function(){for(var N=this.J.BO().lR(),H=g.K(this.listeners),c=H.next();!c.done;c=H.next())c.value.UV(N)}; +g.C.aR=function(N){for(var H=g.K(this.listeners),c=H.next();!c.done;c=H.next())c.value.aR(N)}; +g.C.QQ=function(){for(var N=g.K(this.listeners),H=N.next();!H.done;H=N.next())H.value.QQ()};g.k(Bds,g.L);g.k(Q6,g.L);Q6.prototype.Os=function(){this.uW.uo()||this.uW.get().removeListener(this);g.L.prototype.Os.call(this)};Dk.prototype.fetch=function(N){var H=N.NK;return this.T.fetch(N.z9,{hE:N.hE===void 0?void 0:N.hE,VF:H,cueProcessedMs:N.cueProcessedMs===void 0?0:N.cueProcessedMs}).then(function(c){return f2R(c,H)})};g.k(ph,g.L);g.C=ph.prototype;g.C.addListener=function(N){this.listeners.push(N)}; +g.C.removeListener=function(N){this.listeners=this.listeners.filter(function(H){return H!==N})}; +g.C.Sr=function(N){JMy(this,N,1)}; +g.C.onAdUxClicked=function(N,H){LE(this,function(c){c.OI(N,H)})}; +g.C.gY=function(N){LE(this,function(H){H.xm(N)})}; +g.C.cE=function(N){LE(this,function(H){H.yp(N)})}; +g.C.fpl=function(N){LE(this,function(H){H.Oq(N)})};Ju.prototype.reduce=function(N){switch(N.event){case "unknown":return}var H=N.identifier;var c=this.T[H];c?H=c:(c={GO:null,Gc:-Infinity},H=this.T[H]=c);c=N.startSecs+N.T/1E3;if(!(c=this.T.startSecs&&c.startSecs<=this.T.startSecs+this.T.C6)){var t=void 0;if($s(this.Rx.get())&&c.identifier!==((t=this.T)==null?void 0:t.identifier)){var h=t=void 0,O=void 0,F=void 0;F6(this.Pp.get(),"ocud","ccpi."+c.identifier+";ccpe."+c.event+";ccps."+c.startSecs+";\n ccpd."+c.C6+";pcpi."+((t=this.T)==null?void 0:t.identifier)+ +";pcpe."+((h=this.T)==null?void 0:h.event)+";\n pcps."+((O=this.T)==null?void 0:O.startSecs)+";pcpd."+((F=this.T)==null?void 0:F.C6)+";")}t=void 0;c.identifier!==((t=this.T)==null?void 0:t.identifier)&&KA("Latest Endemic Live Web cue point overlaps with previous cue point")}else this.T=c,dOR(this,c)}}; +g.C.Os=function(){this.B!=null&&(this.B.unsubscribe("cuepointupdated",this.eN,this),this.B=null);this.listeners.length=0;this.XW.length=0;g.L.prototype.Os.call(this)};g.C=ST.prototype;g.C.LS=function(N,H,c,t,h,O,F,M){return this.J.LS(N,H,c,t,h,O,F,M)}; +g.C.Fa=function(N,H){this.J.Fa(N,H)}; +g.C.HY=function(N,H,c){this.J.HY(N,H,c)}; +g.C.eS=function(N){this.J.eS(N)}; +g.C.HC=function(N,H,c,t,h,O,F,M){this.J.HC(N,H,c,t,h,O,F,M)}; +g.C.gL=function(N){return this.J.gL(N)}; +g.C.finishSegmentByCpn=function(N,H,c){c=x0l(c);this.J.finishSegmentByCpn(N,H,c)};g.k(UP,g.L);g.k(aWt,g.L);g.k(e$w,g.L);g.k(v_d,g.L);g.k(s4s,g.L);g.k(KEe,g.L);g.k(fz,g.L);fz.prototype.L=function(){return this.B};g.k(zp,Ys); +zp.prototype.L=function(N){var H=N.content;if(H.componentType==="shopping-companion")switch(N.actionType){case 1:case 2:N=this.T.getVideoData(1);this.T.QS("updateKevlarOrC3Companion",{contentVideoId:N&&N.videoId,shoppingCompanionCarouselRenderer:H.renderer,layoutId:H.layoutId,macros:H.macros,onLayoutVisibleCallback:H.T,interactionLoggingClientData:H.interactionLoggingClientData});break;case 3:this.T.QS("updateKevlarOrC3Companion",{})}else if(H.componentType==="action-companion")switch(N.actionType){case 1:case 2:N=this.T.getVideoData(1); +this.T.QS("updateKevlarOrC3Companion",{contentVideoId:N&&N.videoId,actionCompanionAdRenderer:H.renderer,layoutId:H.layoutId,macros:H.macros,onLayoutVisibleCallback:H.T,interactionLoggingClientData:H.interactionLoggingClientData});break;case 3:H.renderer&&(H=this.T.getVideoData(1),this.T.QS("updateKevlarOrC3Companion",{contentVideoId:H&&H.videoId})),this.T.QS("updateKevlarOrC3Companion",{})}else if(H.componentType==="image-companion")switch(N.actionType){case 1:case 2:N=this.T.getVideoData(1);this.T.QS("updateKevlarOrC3Companion", +{contentVideoId:N&&N.videoId,imageCompanionAdRenderer:H.renderer,layoutId:H.layoutId,macros:H.macros,onLayoutVisibleCallback:H.T,interactionLoggingClientData:H.interactionLoggingClientData});break;case 3:H=this.T.getVideoData(1),this.T.QS("updateKevlarOrC3Companion",{contentVideoId:H&&H.videoId}),this.T.QS("updateKevlarOrC3Companion",{})}else if(H.componentType==="top-banner-image-text-icon-buttoned")switch(N.actionType){case 1:case 2:N=this.T.getVideoData(1);this.T.QS("updateKevlarOrC3Companion", +{contentVideoId:N&&N.videoId,topBannerImageTextIconButtonedLayoutViewModel:H.renderer,layoutId:H.layoutId,macros:H.macros,onLayoutVisibleCallback:H.T,interactionLoggingClientData:H.interactionLoggingClientData});break;case 3:H.renderer&&(H=this.T.getVideoData(1),this.T.QS("updateKevlarOrC3Companion",{contentVideoId:H&&H.videoId})),this.T.QS("updateKevlarOrC3Companion",{})}else if(H.componentType==="banner-image")switch(N.actionType){case 1:case 2:N=this.T.getVideoData(1);this.T.QS("updateKevlarOrC3Companion", +{contentVideoId:N&&N.videoId,bannerImageLayoutViewModel:H.renderer,layoutId:H.layoutId,macros:H.macros,onLayoutVisibleCallback:H.T,interactionLoggingClientData:H.interactionLoggingClientData});break;case 3:H=this.T.getVideoData(1),this.T.QS("updateKevlarOrC3Companion",{contentVideoId:H&&H.videoId}),this.T.QS("updateKevlarOrC3Companion",{})}else if(H.componentType==="ads-engagement-panel")switch(H=H.renderer,N.actionType){case 1:case 2:this.T.QS("updateEngagementPanelAction",H.addAction);this.T.QS("changeEngagementPanelVisibility", +H.expandAction);break;case 3:this.T.QS("changeEngagementPanelVisibility",H.hideAction),this.T.QS("updateEngagementPanelAction",H.removeAction)}else if(H.componentType==="ads-engagement-panel-layout"){var c=H.renderer;switch(N.actionType){case 1:case 2:this.T.QS("updateEngagementPanelAction",{action:d5(c.addAction),layoutId:H.layoutId,onLayoutVisibleCallback:H.T,interactionLoggingClientData:H.interactionLoggingClientData});this.T.QS("changeEngagementPanelVisibility",d5(c.expandAction));break;case 3:this.T.QS("changeEngagementPanelVisibility", +d5(c.hideAction)),this.T.QS("updateEngagementPanelAction",{action:d5(c.removeAction)})}}};g.k(jxD,J0);g.C=jxD.prototype;g.C.init=function(N,H,c){J0.prototype.init.call(this,N,H,c);g.eU(this.L,"stroke-dasharray","0 "+this.B);this.L.classList.add("ytp-ad-timed-pie-countdown-inner-light");this.S.classList.add("ytp-ad-timed-pie-countdown-outer-light");this.U.classList.add("ytp-ad-timed-pie-countdown-container-upper-right");this.show()}; +g.C.clear=function(){this.hide()}; +g.C.hide=function(){Ah(this);J0.prototype.hide.call(this)}; +g.C.show=function(){uG(this);J0.prototype.show.call(this)}; +g.C.rL=function(){this.hide()}; +g.C.Ny=function(){if(this.T){var N=this.T.getProgressState();N!=null&&N.current!=null&&g.eU(this.L,"stroke-dasharray",N.current/N.seekableEnd*this.B+" "+this.B)}};g.k(xWf,sE);g.C=xWf.prototype; +g.C.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);if(H.image&&H.image.thumbnail)if(H.headline)if(H.description)if(H.backgroundImage&&H.backgroundImage.thumbnail)if(H.actionButton&&g.P(H.actionButton,g.mM))if(N=H.durationMilliseconds||0,typeof N!=="number"||N<=0)g.BZ(Error("durationMilliseconds was specified incorrectly in AdActionInterstitialRenderer with a value of: "+N));else if(H.navigationEndpoint){var t=this.api.getVideoData(2);if(t!=null){var h=H.image.thumbnail.thumbnails;h!=null&& +h.length>0&&g.YY(g.vM(h[0].url))&&(h[0].url=t.profilePicture,g.YY(g.vM(t.profilePicture))&&kl3("VideoPlayer",239976093,"Expected non-empty profile picture."));h=H.backgroundImage.thumbnail.thumbnails;h!=null&&h.length>0&&g.YY(g.vM(h[0].url))&&(h[0].url=t.Ds());h=H.headline;h!=null&&g.YY(g.vM(h.text))&&(h.text=t.author)}this.Z.init(Gx("ad-image"),H.image,c);this.S.init(Gx("ad-text"),H.headline,c);this.L.init(Gx("ad-text"),H.description,c);this.vp.init(Gx("ad-image"),H.backgroundImage,c);t=["ytp-ad-action-interstitial-action-button", +"ytp-ad-action-interstitial-action-button-rounded"];this.slot.classList.add("ytp-ad-action-interstitial-slot-dark-background");this.S.element.classList.add("ytp-ad-action-interstitial-headline-light");this.L.element.classList.add("ytp-ad-action-interstitial-description-light");this.api.D().N("enable_default_mono_cta_migration_web_client")?t.push("ytp-ad-action-interstitial-action-button-mono-dark"):t.push("ytp-ad-action-interstitial-action-button-dark");this.api.D().B&&(t.push("ytp-ad-action-interstitial-action-button-mobile-companion-size"), +this.api.D().N("enable_default_mono_cta_migration_web_client")?t.push("ytp-ad-action-interstitial-action-button-mono-dark"):t.push("ytp-ad-action-interstitial-action-button-dark"));this.api.D().N("enable_unified_action_endcap_on_web")&&!this.api.D().B&&(this.api.D().N("enable_default_mono_cta_migration_web_client")?t.push("ytp-ad-action-interstitial-action-button-unified-mono"):t.push("ytp-ad-action-interstitial-action-button-unified"),this.Xg.classList.add("ytp-ad-action-interstitial-action-button-container-unified"), +this.Z.element.classList.add("ytp-ad-action-interstitial-image-unified"),this.Al.classList.add("ytp-ad-action-interstitial-background-container-unified"),this.D6.classList.add("ytp-ad-action-interstitial-card-unified"),this.Us.classList.add("ytp-ad-action-interstitial-description-container-unified"),this.L.element.classList.add("ytp-ad-action-interstitial-description-unified"),this.Ix.classList.add("ytp-ad-action-interstitial-headline-container-unified"),this.S.element.classList.add("ytp-ad-action-interstitial-headline-unified"), +this.gE.classList.add("ytp-ad-action-interstitial-image-container-unified"),this.Kq.classList.add("ytp-ad-action-interstitial-instream-info-unified"),this.slot.classList.add("ytp-ad-action-interstitial-slot-unified"));this.actionButton=new Mj(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,t);g.l(this,this.actionButton);this.actionButton.Jl(this.Xg);this.actionButton.init(Gx("button"),g.P(H.actionButton,g.mM),c);Ox(this.actionButton.element);t=tKZ(this.actionButton.element);UH(this.actionButton.element, +t+" This link opens in new tab");this.navigationEndpoint=H.navigationEndpoint;this.U.G(this.gE,"click",this.zI,this);this.U.G(this.Us,"click",this.zI,this);this.api.D().B||this.U.G(this.Ix,"click",this.zI,this);this.T=this.Qh?new e6(this.api,N):new o8(N);g.l(this,this.T);if(H.skipButton){(N=g.P(H.skipButton,JSR))&&this.T&&(this.skipButton=new qe(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.T,this.WP),g.l(this,this.skipButton),this.skipButton.Jl(this.element),this.skipButton.init(Gx("skip-button"), +N,c));if(c=H.adBadgeRenderer)if(c=g.P(c,ued))N=new EO(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,!0,!0),N.Jl(this.Kq),N.init(Gx("simple-ad-badge"),c,this.macros),g.l(this,N);if(c=H.adInfoRenderer)if(c=g.P(c,nW))N=new Sg(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.element,void 0,!0),N.Jl(this.Kq),N.init(Gx("ad-info-hover-text-button"),c,this.macros),g.l(this,N)}else H.nonskippableOverlayRenderer&&(N=g.P(H.nonskippableOverlayRenderer,BF))&&this.T&&(this.B= +new eK(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.T,!1),g.l(this,this.B),this.B.Jl(this.element),this.B.init(Gx("ad-preview"),N,c));H.countdownRenderer&&(H=H.countdownRenderer,g.P(H,ny4)&&this.T&&(c=new jxD(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.T),g.l(this,c),c.Jl(this.element),c.init(Gx("timed-pie-countdown"),g.P(H,ny4),this.macros)));this.show();this.element.focus()}else g.BZ(Error("AdActionInterstitialRenderer has no navigation endpoint.")); +else g.BZ(Error("AdActionInterstitialRenderer has no button."));else g.BZ(Error("AdActionInterstitialRenderer has no background AdImage."));else g.BZ(Error("AdActionInterstitialRenderer has no description AdText."));else g.BZ(Error("AdActionInterstitialRenderer has no headline AdText."));else g.BZ(Error("AdActionInterstitialRenderer has no image."))}; +g.C.clear=function(){g.bM(this.U);this.hide()}; +g.C.show=function(){H7R(!0);this.actionButton&&this.actionButton.show();this.skipButton&&this.skipButton.show();this.B&&this.B.show();sE.prototype.show.call(this)}; +g.C.hide=function(){H7R(!1);this.actionButton&&this.actionButton.hide();this.skipButton&&this.skipButton.hide();this.B&&this.B.hide();sE.prototype.hide.call(this)}; +g.C.zI=function(){this.navigationEndpoint&&(this.layoutId?this.yS.executeCommand(this.navigationEndpoint,this.layoutId):g.BZ(Error("Missing layoutId for ad action interstitial.")))};var Bv={iconType:"CLOSE"},Ns=new g.rv(320,63);g.k(YBf,sE);g.C=YBf.prototype; +g.C.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);this.U=H;this.Z=g.bX(this.U.onClickCommands||[]);this.Kq=this.U.onErrorCommand||null;if(N=this.U.contentSupportedRenderer)N=this.U.contentSupportedRenderer,H=this.U.adInfoRenderer||null,g.P(N,DfY)?(this.S=g.as("ytp-ad-overlay-ad-info-button-container",this.L.element),Pt(this,H),N=P9h(this,g.P(N,DfY))):g.P(N,Ql4)?(this.S=g.as("ytp-ad-overlay-ad-info-button-container",this.B.element),Pt(this,H),N=$3w(this,g.P(N,Ql4))):g.P(N,pLd)?(this.S=g.as("ytp-ad-overlay-ad-info-button-container", +this.T.element),Pt(this,H),N=UqS(this,g.P(N,pLd))):(g.BZ(Error("InvideoOverlayAdRenderer content could not be initialized.")),N=!1);N&&(this.show(),bny(this,!0))}; +g.C.clear=function(){bny(this,!1);this.gE.reset();this.Us=0;this.L.hide();this.logVisibility(this.L.element,!1);this.B.hide();this.logVisibility(this.B.element,!1);this.T.hide();this.logVisibility(this.T.element,!1);this.hide();this.dispose()}; +g.C.RAR=function(){this.Xg&&(this.layoutId?this.yS.executeCommand(this.Xg,this.layoutId):g.BZ(Error("Missing layoutId for invideo_overlay_ad.")));this.api.pauseVideo()}; +g.C.Wi=function(){a:{if(this.U&&this.U.closeButton&&this.U.closeButton.buttonRenderer){var N=this.U.closeButton.buttonRenderer;if(N.serviceEndpoint){N=[N.serviceEndpoint];break a}}N=[]}N=g.K(N);for(var H=N.next();!H.done;H=N.next())H=H.value,this.layoutId?this.yS.executeCommand(H,this.layoutId):g.BZ(Error("Missing layoutId for invideo_overlay_ad."));this.api.onAdUxClicked("in_video_overlay_close_button",this.layoutId)}; +g.C.pra=function(){this.vp||this.api.getPlayerState(1)!==2||this.api.playVideo()}; +g.C.wp=function(){this.vp||this.api.getPlayerState(1)!==2||this.api.playVideo();this.api.wp("invideo-overlay")}; +g.C.cNW=function(N){N.target===this.S&&g.as("ytp-ad-button",this.Al.element).click()};g.k(f1D,J0);g.C=f1D.prototype;g.C.init=function(N,H,c){J0.prototype.init.call(this,N,H,c);N=H.durationMs;this.L=N==null||N===0?0:N+this.T.getProgressState().current*1E3;if(H.text)var t=H.text.templatedAdText;else H.staticMessage&&(t=H.staticMessage);this.messageText.init(Gx("ad-text"),t,c);this.messageText.Jl(this.B.element);this.U.show(100);this.show()}; +g.C.clear=function(){this.hide()}; +g.C.hide=function(){NkD(this,!1);J0.prototype.hide.call(this);this.B.hide();this.messageText.hide();Ah(this)}; +g.C.show=function(){NkD(this,!0);J0.prototype.show.call(this);uG(this);this.B.show();this.messageText.show()}; +g.C.rL=function(){this.hide()}; +g.C.Ny=function(){if(this.T!=null){var N=this.T.getProgressState();N!=null&&N.current!=null&&(N=1E3*N.current,!this.Us&&N>=this.L?(this.U.hide(),this.Us=!0):this.messageText&&this.messageText.isTemplated()&&(N=Math.max(0,Math.ceil((this.L-N)/1E3)),N!==this.S&&(cas(this.messageText,{TIME_REMAINING:String(N)}),this.S=N)))}};g.k(ExS,sE);g.C=ExS.prototype; +g.C.init=function(N,H,c){sE.prototype.init.call(this,N,H,{});H.image&&H.image.thumbnail?H.headline?H.description?H.actionButton&&g.P(H.actionButton,g.mM)?(this.L.init(Gx("ad-image"),H.image,c),this.B.init(Gx("ad-text"),H.headline,c),this.U.init(Gx("ad-text"),H.description,c),this.actionButton=new Mj(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,["ytp-ad-underlay-action-button"]),H.backgroundColor&&g.eU(this.element,"background-color",g.v7(H.backgroundColor)),g.l(this,this.actionButton), +this.actionButton.Jl(this.S),this.actionButton.init(Gx("button"),g.P(H.actionButton,g.mM),c),N=g.Mx(this.api.D().experiments,"player_underlay_video_width_fraction"),this.api.D().N("place_shrunken_video_on_left_of_player")?(H=this.T,g.nH(H,"ytp-ad-underlay-left-container"),g.bV(H,"ytp-ad-underlay-right-container"),g.eU(this.T,"margin-left",Math.round((N+.02)*100)+"%")):(H=this.T,g.nH(H,"ytp-ad-underlay-right-container"),g.bV(H,"ytp-ad-underlay-left-container")),g.eU(this.T,"width",Math.round((1-N- +.04)*100)+"%"),this.api.Ox()&&this.show(),this.api.addEventListener("playerUnderlayVisibilityChange",this.O1.bind(this)),this.api.addEventListener("resize",this.hX.bind(this))):g.BZ(Error("InstreamAdPlayerUnderlayRenderer has no button.")):g.BZ(Error("InstreamAdPlayerUnderlayRenderer has no description AdText.")):g.BZ(Error("InstreamAdPlayerUnderlayRenderer has no headline AdText.")):g.BZ(Error("InstreamAdPlayerUnderlayRenderer has no image."))}; +g.C.show=function(){lht(!0);this.actionButton&&this.actionButton.show();sE.prototype.show.call(this)}; +g.C.hide=function(){lht(!1);this.actionButton&&this.actionButton.hide();sE.prototype.hide.call(this)}; +g.C.clear=function(){this.api.removeEventListener("playerUnderlayVisibilityChange",this.O1.bind(this));this.api.removeEventListener("resize",this.hX.bind(this));this.hide()}; +g.C.onClick=function(N){sE.prototype.onClick.call(this,N);this.actionButton&&g.m5(this.actionButton.element,N.target)&&this.api.pauseVideo()}; +g.C.O1=function(N){N==="transitioning"?(this.T.classList.remove("ytp-ad-underlay-clickable"),this.show()):N==="visible"?this.T.classList.add("ytp-ad-underlay-clickable"):N==="hidden"&&(this.hide(),this.T.classList.remove("ytp-ad-underlay-clickable"))}; +g.C.hX=function(N){N.width>1200?(this.actionButton.element.classList.add("ytp-ad-underlay-action-button-large"),this.actionButton.element.classList.remove("ytp-ad-underlay-action-button-medium")):N.width>875?(this.actionButton.element.classList.add("ytp-ad-underlay-action-button-medium"),this.actionButton.element.classList.remove("ytp-ad-underlay-action-button-large")):(this.actionButton.element.classList.remove("ytp-ad-underlay-action-button-large"),this.actionButton.element.classList.remove("ytp-ad-underlay-action-button-medium")); +g.eU(this.B.element,"font-size",N.width/40+"px")};g.k(Dt,sE); +Dt.prototype.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);H.toggledLoggingParams&&(this.toggledLoggingParams=H.toggledLoggingParams);H.answer&&g.P(H.answer,g.mM)?(N=new Mj(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,["ytp-ad-survey-answer-button"],"survey-single-select-answer-button"),N.Jl(this.answer),N.init(Gx("ytp-ad-survey-answer-button"),g.P(H.answer,g.mM),c),N.show()):H.answer&&g.P(H.answer,KC)&&(this.T=new cF(this.api,this.layoutId,this.interactionLoggingClientData,this.yS, +["ytp-ad-survey-answer-toggle-button"]),this.T.Jl(this.answer),g.l(this,this.T),this.T.init(Gx("survey-answer-button"),g.P(H.answer,KC),c));this.show()}; +Dt.prototype.QK=function(N){this.layoutId?zH(this.yS,N,this.layoutId,this.macros):(N=new g.ti("There is undefined layoutId when calling the runCommand method.",{componentType:this.componentType}),g.BZ(N))}; +Dt.prototype.onClick=function(N){sE.prototype.onClick.call(this,N);if(this.api.D().N("supports_multi_step_on_desktop")&&this.index!==null)this.onSelected(this.index)}; +Dt.prototype.clear=function(){this.hide()};g.k(FKl,sE);FKl.prototype.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);H.answer&&g.P(H.answer,KC)&&(this.button=new cF(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,["ytp-ad-survey-answer-toggle-button","ytp-ad-survey-none-of-the-above-button"]),this.button.Jl(this.T),this.button.init(Gx("survey-none-of-the-above-button"),g.P(H.answer,KC),c));this.show()};g.k(fR,Mj);fR.prototype.init=function(N,H,c){Mj.prototype.init.call(this,N,H,c);N=!1;H.text&&(H=g.Fu(H.text),N=!g.YY(H));N||g.aS(Error("No submit text was present in the renderer."))}; +fR.prototype.onClick=function(N){this.publish("l");Mj.prototype.onClick.call(this,N)};g.k(xJ,sE); +xJ.prototype.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);if(N=H.skipOrPreviewRenderer)g.P(N,Ts)?(N=g.P(N,Ts),c=new ne(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.U,!0),c.Jl(this.skipOrPreview),c.init(Gx("skip-button"),N,this.macros),g.l(this,c),this.T=c):g.P(N,BF)&&(N=g.P(N,BF),c=new eK(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.U,!1),c.Jl(this.skipOrPreview),c.init(Gx("ad-preview"),N,this.macros),c.Us.show(100),c.show(),g.l(this,c), +this.T=c);this.T==null&&(N=Error("ISAPOR.skipOrPreviewRenderer was not initialized properly.ISAPOR: "+JSON.stringify(H)),g.BZ(N));H.submitButton&&(N=H.submitButton,g.P(N,g.mM)&&(N=g.P(N,g.mM),c=new fR(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),c.Jl(this.submitButton),c.init(Gx("survey-submit"),N,this.macros),g.l(this,c),this.B=c));if(N=H.adBadgeRenderer)N=g.P(N,ued),c=new EO(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,!0,!0,!0),c.Jl(this.L),c.init(Gx("simple-ad-badge"), +N,this.macros),this.adBadge=c.element,g.l(this,c);if(N=H.adDurationRemaining)N=g.P(N,rSc),c=new V6(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.U,void 0,!0),c.Jl(this.L),c.init(Gx("ad-duration-remaining"),N,this.macros),g.l(this,c);(H=H.adInfoRenderer)&&g.P(H,nW)&&(N=new Sg(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.element,void 0,!0),g.l(this,N),this.adBadge!==void 0?this.L.insertBefore(N.element,this.adBadge.nextSibling):N.Jl(this.L),N.init(Gx("ad-info-hover-text-button"), +g.P(H,nW),this.macros));this.show()}; +xJ.prototype.clear=function(){this.hide()};g.k(IN,sE);IN.prototype.init=function(N,H,c){sE.prototype.init.call(this,N,H,c);CXe(this)}; +IN.prototype.show=function(){this.L=Date.now();sE.prototype.show.call(this)}; +IN.prototype.yA=function(){};g.k(t5,IN);g.C=t5.prototype;g.C.init=function(N,H,c){var t=this;IN.prototype.init.call(this,N,H,c);H.questionText&&ckR(this,H.questionText);H.answers&&H.answers.forEach(function(h,O){g.P(h,CC)&&HOt(t,g.P(h,CC),c,O)}); +this.S=new Set(this.B.map(function(h){return h.T.T})); +(N=H.noneOfTheAbove)&&(N=g.P(N,wL7))&&WFD(this,N,c);H.surveyAdQuestionCommon&&qrv(this,H.surveyAdQuestionCommon);H.submitEndpoints&&(this.submitEndpoints=H.submitEndpoints);this.G(this.element,"change",this.onChange);this.show()}; +g.C.yA=function(){e_(this,!1);this.U.B.subscribe("l",this.O2q,this)}; +g.C.onChange=function(N){N.target===this.noneOfTheAbove.button.T?RDR(this):this.S.has(N.target)&&(this.noneOfTheAbove.button.toggleButton(!1),e_(this,!0))}; +g.C.O2q=function(){var N=[],H=this.B.reduce(function(h,O,F){var M=O.toggledLoggingParams;O.T&&O.T.isToggled()&&M&&(h.push(M),N.push(F));return h},[]).join("&"),c=this.submitEndpoints.map(function(h){if(!h.loggingUrls)return h; +h=g.DY(h);h.loggingUrls=h.loggingUrls.map(function(O){O.baseUrl&&(O.baseUrl=Oc(O.baseUrl,H));return O}); +return h}); +if(c){c=g.K(c);for(var t=c.next();!t.done;t=c.next())t=t.value,this.layoutId?zH(this.yS,t,this.layoutId,this.macros):g.BZ(Error("Missing layoutId for multi_select_question."))}this.api.D().N("supports_multi_step_on_desktop")&&this.Us(N)}; +g.C.clear=function(){this.api.D().N("enable_hide_on_clear_in_survey_question_bulleit")?this.hide():this.dispose()};g.k(SA,IN);SA.prototype.init=function(N,H,c){var t=this;IN.prototype.init.call(this,N,H,c);H.questionText&&ckR(this,H.questionText);H.answers&&H.answers.forEach(function(h,O){g.P(h,CC)&&HOt(t,g.P(h,CC),c,O)}); +H.surveyAdQuestionCommon?qrv(this,H.surveyAdQuestionCommon):gM(Error("SurveyAdQuestionCommon was not sent.SingleSelectQuestionRenderer: "+JSON.stringify(H)));this.show()}; +SA.prototype.clear=function(){this.api.D().N("enable_hide_on_clear_in_survey_question_bulleit")?this.hide():this.dispose()};g.k(WD,sE);WD.prototype.init=function(N,H,c){var t=this;sE.prototype.init.call(this,N,H,c);if(this.api.D().N("supports_multi_step_on_desktop")){var h;this.conditioningRules=(h=H.conditioningRules)!=null?h:[];var O;this.B=(O=H.questions)!=null?O:[];var F;((F=H.questions)==null?0:F.length)&&sPy(this,0)}else(H.questions||[]).forEach(function(M){g.P(M,e1)?eMt(t,g.P(M,e1),c):g.P(M,aI)&&q9d(t,g.P(M,aI),c)}); +this.show()}; +WD.prototype.clear=function(){this.api.D().N("enable_hide_on_clear_in_survey_question_bulleit")?this.hide():(this.hide(),this.dispose())}; +WD.prototype.U=function(N){var H=this;if(this.api.D().N("supports_multi_step_on_desktop")){var c;if((c=this.conditioningRules)==null?0:c.length){var t;if(N.length===0)this.api.onAdUxClicked("ad-action-submit-survey",this.layoutId);else if(this.conditioningRules.find(function(h){return h.questionIndex===H.T})==null)g.BZ(Error("Expected conditioning rule(s) for survey question.")),this.api.onAdUxClicked("ad-action-submit-survey",this.layoutId); +else if(this.conditioningRules.forEach(function(h){if(h.questionIndex===H.T)switch(h.condition){case "CONDITION_ALL_OF":var O;if((O=h.answerIndices)==null?0:O.every(function(M){return N.includes(M)}))t=h.nextQuestionIndex; +break;case "CONDITION_ANY_OF":var F;if((F=h.answerIndices)==null?0:F.some(function(M){return N.includes(M)}))t=h.nextQuestionIndex; +break;default:g.BZ(Error("Expected specified condition in survey conditioning rules."))}}),t!=null)sPy(this,t); +else this.api.onAdUxClicked("ad-action-submit-survey",this.layoutId)}else this.questions.length>1&&g.BZ(Error("No conditioning rules, yet survey is multi step. Expected questions.length to be 1.")),this.api.onAdUxClicked("ad-action-submit-survey",this.layoutId)}};g.k(yJ,sE); +yJ.prototype.init=function(N,H,c){var t=this;sE.prototype.init.call(this,N,H,c);N=H.timeoutSeconds||0;if(typeof N!=="number"||N<0)g.BZ(Error("timeoutSeconds was specified incorrectly in SurveyTextInterstitialRenderer with a value of: "+N));else if(H.timeoutCommands)if(H.text)if(H.ctaButton&&g.P(H.ctaButton,g.mM))if(H.brandImage)if(H.backgroundImage&&g.P(H.backgroundImage,fE)&&g.P(H.backgroundImage,fE).landscape){this.layoutId||g.BZ(Error("Missing layoutId for survey interstitial."));Vms(this.interstitial,g.P(H.backgroundImage, +fE).landscape);Vms(this.logoImage,H.brandImage);g.ed(this.text,g.Fu(H.text));var h=["ytp-ad-survey-interstitial-action-button"];h.push("ytp-ad-survey-interstitial-action-button-rounded");this.actionButton=new Mj(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,h);g.l(this,this.actionButton);this.actionButton.Jl(this.B);this.actionButton.init(Gx("button"),g.P(H.ctaButton,g.mM),c);this.actionButton.show();this.T=new e6(this.api,N*1E3);this.T.subscribe("g",function(){t.transition.hide()}); +g.l(this,this.T);this.G(this.element,"click",function(O){var F=O.target===t.interstitial;O=t.actionButton.element.contains(O.target);if(F||O)if(t.transition.hide(),F)t.api.onAdUxClicked(t.componentType,t.layoutId)}); +this.transition.show(100)}else g.BZ(Error("SurveyTextInterstitialRenderer has no landscape background image."));else g.BZ(Error("SurveyTextInterstitialRenderer has no brandImage."));else g.BZ(Error("SurveyTextInterstitialRenderer has no button."));else g.BZ(Error("SurveyTextInterstitialRenderer has no text."));else g.BZ(Error("timeoutSeconds was specified yet no timeoutCommands where specified"))}; +yJ.prototype.clear=function(){this.hide()}; +yJ.prototype.show=function(){Qef(!0);sE.prototype.show.call(this)}; +yJ.prototype.hide=function(){Qef(!1);sE.prototype.hide.call(this)};g.k(G5,J0);g.C=G5.prototype; +g.C.init=function(N,H){J0.prototype.init.call(this,N,H,{});if(H.durationMilliseconds){if(H.durationMilliseconds<0){g.BZ(Error("DurationMilliseconds was specified incorrectly in AdPreview with a value of: "+H.durationMilliseconds));return}this.B=H.durationMilliseconds}else this.B=this.T.D1();var c;if((c=H.previewText)==null||!c.text||g.YY(H.previewText.text))g.BZ(Error("No text is returned for AdPreview."));else{this.S=H.previewText;H.previewText.isTemplated||g.ed(this.L,H.previewText.text);var t; +if(((t=this.api.getVideoData(1))==null?0:t.uj)&&H.previewImage){var h,O;(N=((O=jby(((h=H.previewImage)==null?void 0:h.sources)||[],52,!1))==null?void 0:O.url)||"")&&N.length?(this.previewImage=new g.lL({W:"img",K:"ytp-preview-ad__image",V:{src:"{{imageUrl}}"}}),this.previewImage.updateValue("imageUrl",N),g.l(this,this.previewImage),this.previewImage.Jl(this.element)):g.BZ(Error("Failed to get imageUrl in AdPreview."))}else this.L.classList.add("ytp-preview-ad__text--padding--wide")}}; +g.C.clear=function(){this.hide()}; +g.C.hide=function(){Ah(this);J0.prototype.hide.call(this)}; +g.C.show=function(){uG(this);J0.prototype.show.call(this)}; +g.C.rL=function(){this.hide()}; +g.C.Ny=function(){if(this.T){var N=this.T.getProgressState();if(N!=null&&N.current)if(N=1E3*N.current,N>=this.B)this.transition.hide();else{var H;if((H=this.S)==null?0:H.isTemplated)if(H=Math.max(0,Math.ceil((this.B-N)/1E3)),H!==this.U){var c,t;(N=(c=this.S)==null?void 0:(t=c.text)==null?void 0:t.replace("{TIME_REMAINING}",String(H)))&&g.ed(this.L,N);this.U=H}}}};g.k(Pv,sE); +Pv.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});var c,t;if((N=((t=jby(((c=H.image)==null?void 0:c.sources)||[],AEf(H),!0))==null?void 0:t.url)||"")&&N.length){c=this.Sa("ytp-ad-avatar");c.src=N;var h,O;if(t=(h=H.interaction)==null?void 0:(O=h.accessibility)==null?void 0:O.label)c.alt=t;switch(H.size){case "AD_AVATAR_SIZE_XXS":this.element.classList.add("ytp-ad-avatar--size-xxs");break;case "AD_AVATAR_SIZE_XS":this.element.classList.add("ytp-ad-avatar--size-xs");break;case "AD_AVATAR_SIZE_S":this.element.classList.add("ytp-ad-avatar--size-s"); +break;case "AD_AVATAR_SIZE_M":this.element.classList.add("ytp-ad-avatar--size-m");break;case "AD_AVATAR_SIZE_L":this.element.classList.add("ytp-ad-avatar--size-l");break;case "AD_AVATAR_SIZE_XL":this.element.classList.add("ytp-ad-avatar--size-xl");break;case "AD_AVATAR_SIZE_RESPONSIVE":this.element.classList.add("ytp-ad-avatar--size-responsive");break;default:this.element.classList.add("ytp-ad-avatar--size-m")}switch(H.style){case "AD_AVATAR_STYLE_ROUNDED_CORNER":this.element.classList.add("ytp-ad-avatar--rounded-corner"); +break;default:this.element.classList.add("ytp-ad-avatar--circular")}}else g.BZ(Error("Failed to get imageUrl in AdAvatar."))}; +Pv.prototype.clear=function(){this.hide()}; +Pv.prototype.onClick=function(N){sE.prototype.onClick.call(this,N)};g.k(zO,sE); +zO.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});var c;N=(c=H.label)==null?void 0:c.content;if((c=N!=null&&!g.YY(N))||H.iconImage){c&&(this.buttonText=new g.lL({W:"span",K:"ytp-ad-button-vm__text",Wp:N}),g.l(this,this.buttonText),this.buttonText.Jl(this.element));var t,h,O=((t=H.interaction)==null?0:(h=t.accessibility)==null?0:h.label)||c?N:"";O&&UH(this.element,O+" This link opens in new tab");Ox(this.element);if(H.iconImage){t=void 0;if(H.iconImage){a:{h=H.iconImage;if(h.sources)for(h= +g.K(h.sources),N=h.next();!N.done;N=h.next())if(N=N.value,O=void 0,(O=N.clientResource)==null?0:O.imageName){h=N;break a}h=void 0}if(h){var F;t={iconType:(F=h.clientResource)==null?void 0:F.imageName}}}F=G_(t,!1,this.B);F!=null&&(this.buttonIcon=new g.lL({W:"span",K:"ytp-ad-button-vm__icon",X:[F]}),g.l(this,this.buttonIcon),H.iconLeading?(PH(this.element,this.buttonIcon.element,0),this.buttonIcon.element.classList.add("ytp-ad-button-vm__icon--leading")):c?(this.buttonIcon.Jl(this.element),this.buttonIcon.element.classList.add("ytp-ad-button-vm__icon--trailing")): +(this.buttonIcon.Jl(this.element),this.element.classList.add("ytp-ad-button-vm--icon-only")))}switch(H.style){case "AD_BUTTON_STYLE_TRANSPARENT":this.element.classList.add("ytp-ad-button-vm--style-transparent");break;case "AD_BUTTON_STYLE_FILLED_WHITE":this.element.classList.add("ytp-ad-button-vm--style-filled-white");break;case "AD_BUTTON_STYLE_MONO_FILLED":this.element.classList.add("ytp-ad-button-vm--style-mono-filled");break;case "AD_BUTTON_STYLE_FILLED":this.api.N("delhi_modern_web_player")? +this.element.classList.add("ytp-ad-button-vm--style-filled-white"):this.element.classList.add(this.T?"ytp-ad-button-vm--style-filled-dark":"ytp-ad-button-vm--style-filled");break;default:this.element.classList.add("ytp-ad-button-vm--style-filled")}switch(H.size){case "AD_BUTTON_SIZE_COMPACT":this.element.classList.add("ytp-ad-button-vm--size-compact");break;case "AD_BUTTON_SIZE_LARGE":this.element.classList.add("ytp-ad-button-vm--size-large");break;default:this.element.classList.add("ytp-ad-button-vm--size-default")}}else g.aS(Error("AdButton does not have label or an icon."))}; +zO.prototype.clear=function(){this.hide()}; +zO.prototype.onClick=function(N){sE.prototype.onClick.call(this,N)};g.k(UA,J0);g.C=UA.prototype; +g.C.init=function(N,H){J0.prototype.init.call(this,N,H,{});if(N=g.P(H.avatar,W8)){var c=H.headline;if(c){var t=H.description;if(t){var h=g.P(H.button,EQ);h?(this.adAvatar.init(Gx("ad-avatar"),N),this.headline.init(Gx("ad-simple-attributed-string"),new PY(c)),this.description.init(Gx("ad-simple-attributed-string"),new PY(t)),c.content&&c.content.length>20&&this.description.element.classList.add("ytp-ad-avatar-lockup-card__description--hidden--in--small--player"),this.adButton.init(Gx("ad-button"),h), +this.startMilliseconds=H.startMs||0,this.api.Ox()||this.show(),this.api.addEventListener("playerUnderlayVisibilityChange",this.lP.bind(this)),uG(this)):g.BZ(Error("No AdButtonViewModel is returned in PlayerAdAvatarLockupCardButtonedViewModel."))}else g.BZ(Error("No description is returned in PlayerAdAvatarLockupCardButtonedViewModel."))}else g.BZ(Error("No headline is returned in PlayerAdAvatarLockupCardButtonedViewModel."))}else g.BZ(Error("No AdAvatarViewModel is returned in PlayerAdAvatarLockupCardButtonedViewModel."))}; +g.C.Ny=function(){if(this.T){var N=this.T.getProgressState();N&&N.current&&1E3*N.current>=this.startMilliseconds&&(Ah(this),this.element.classList.remove("ytp-ad-avatar-lockup-card--inactive"))}}; +g.C.rL=function(){this.clear()}; +g.C.onClick=function(N){this.api.pauseVideo();J0.prototype.onClick.call(this,N)}; +g.C.clear=function(){this.hide();this.api.removeEventListener("playerUnderlayVisibilityChange",this.lP.bind(this))}; +g.C.show=function(){this.adAvatar.show();this.headline.show();this.description.show();this.adButton.show();J0.prototype.show.call(this)}; +g.C.hide=function(){this.adAvatar.hide();this.headline.hide();this.description.hide();this.adButton.hide();J0.prototype.hide.call(this)}; +g.C.lP=function(N){N==="hidden"?this.show():this.hide()};g.k(vp,sE);g.C=vp.prototype; +g.C.init=function(N,H){sE.prototype.init.call(this,N,H,{});if(!H.label||g.YY(H.label))g.BZ(Error("No label is returned for SkipAdButton."));else if(g.ed(this.U,H.label),N=G_({iconType:"SKIP_NEXT_NEW"},!1,!1,this.api.N("delhi_modern_web_player_icons")),N==null)g.BZ(Error("Unable to retrieve icon for SkipAdButton"));else if(this.L=new g.lL({W:"span",K:"ytp-skip-ad-button__icon",X:[N]}),g.l(this,this.L),this.L.Jl(this.element),this.api.D().experiments.M4("enable_skip_to_next_messaging")&&(H=g.vM(H.targetId)))this.B= +!0,this.element.setAttribute("data-tooltip-target-id",H),this.element.setAttribute("data-tooltip-target-fixed","")}; +g.C.onClick=function(N){N&&N.preventDefault();var H,c;WRw(N,{contentCpn:(c=(H=this.api.getVideoData(1))==null?void 0:H.clientPlaybackNonce)!=null?c:""})===0?this.api.QS("onAbnormalityDetected"):(sE.prototype.onClick.call(this,N),this.api.QS("onAdSkip"),this.api.onAdUxClicked(this.componentType,this.layoutId))}; +g.C.clear=function(){this.T.reset();this.hide()}; +g.C.hide=function(){sE.prototype.hide.call(this)}; +g.C.show=function(){this.T.start();sE.prototype.show.call(this);this.B&&this.api.D().experiments.M4("enable_skip_to_next_messaging")&&this.api.publish("showpromotooltip",this.element)};g.k(t0D,J0);g.C=t0D.prototype; +g.C.init=function(N,H){J0.prototype.init.call(this,N,H,{});N=g.P(H.preskipState,ZsR);var c;if((c=this.api.getVideoData())==null?0:c.isDaiEnabled()){if(!N){g.BZ(Error("No AdPreviewViewModel is returned in SkipAdViewModel."));return}this.B=new G5(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.T);g.l(this,this.B);this.B.Jl(this.element);var t;(t=this.B)==null||t.init(Gx("preview-ad"),N);(c=this.B)!=null&&(c.transition.show(100),c.show())}(c=g.P(H.skippableState,AS5))?(H.skipOffsetMilliseconds!= +null?this.skipOffsetMilliseconds=H.skipOffsetMilliseconds:(g.aS(Error("No skipOffsetMilliseconds is returned in SkipAdViewModel.")),this.skipOffsetMilliseconds=5E3),this.L.init(Gx("skip-button"),c),this.show()):g.BZ(Error("No SkipAdButtonViewModel is returned in SkipAdViewModel."))}; +g.C.show=function(){uG(this);J0.prototype.show.call(this)}; +g.C.hide=function(){!this.isSkippable&&this.B?this.B.hide():this.L&&this.L.hide();Ah(this);J0.prototype.hide.call(this)}; +g.C.clear=function(){var N;(N=this.B)==null||N.clear();this.L&&this.L.clear();Ah(this);J0.prototype.hide.call(this)}; +g.C.rL=function(){this.hide()}; +g.C.Ny=function(){if(1E3*this.T.getProgressState().current>=this.skipOffsetMilliseconds&&!this.isSkippable){this.isSkippable=!0;var N;(N=this.B)!=null&&N.transition.hide();(N=this.L)!=null&&(N.transition.show(),N.show())}};g.k(H$,sE); +H$.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});if(H.label){var c;((c=H.label)==null?0:c.content)&&!g.YY(H.label.content)&&(this.linkText=new g.lL({W:"span",K:"ytp-visit-advertiser-link__text",Wp:H.label.content}),g.l(this,this.linkText),this.linkText.Jl(this.element));var t,h;if((t=H.interaction)==null?0:(h=t.accessibility)==null?0:h.label)UH(this.element,H.interaction.accessibility.label+" This link opens in new tab");else{var O;((O=H.label)==null?0:O.content)&&!g.YY(H.label.content)&&UH(this.element, +H.label.content+" This link opens in new tab")}Ox(this.element);this.element.setAttribute("tabindex","0");this.show()}else g.BZ(Error("No label found in VisitAdvertiserLink."))}; +H$.prototype.onClick=function(N){sE.prototype.onClick.call(this,N);this.api.onAdUxClicked(this.componentType,this.layoutId)}; +H$.prototype.clear=function(){this.hide()};g.k(vv,sE); +vv.prototype.init=function(N,H,c,t){sE.prototype.init.call(this,N,H,{});if(H.skipOrPreview){c=H.skipOrPreview;N=g.P(c,adl);c=g.P(c,ZsR);if(N)this.Ya=new t0D(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.B),g.l(this,this.Ya),this.Ya.Jl(this.Z),this.Ya.init(Gx("skip-ad"),N);else{var h;c&&((h=this.api.getVideoData())==null?0:h.isDaiEnabled())&&(this.U=new G5(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.B,1),g.l(this,this.U),this.U.Jl(this.Z),this.U.init(Gx("ad-preview"), +c),h=this.U,h.transition.show(100),h.show())}if(h=g.P(H.skipOrPreview,adl))var O=h.skipOffsetMilliseconds}H.playerAdCard&&(h=g.P(H.playerAdCard,Yvg))&&(this.playerAdCard=new UA(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.B),g.l(this,this.playerAdCard),this.playerAdCard.Jl(this.Ix),this.playerAdCard.init(Gx("ad-avatar-lockup-card"),h));H.adBadgeRenderer&&((h=g.P(H.adBadgeRenderer,zg))?(this.L=new IJ(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,!0),g.l(this, +this.L),this.L.Jl(this.T),this.L.init(Gx("ad-badge"),h)):g.BZ(Error("AdBadgeViewModel is not found in player overlay layout.")));H.adPodIndex&&(h=g.P(H.adPodIndex,UfZ))&&(this.adPodIndex=new gg(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,this.adPodIndex),this.adPodIndex.Jl(this.T),this.adPodIndex.init(Gx("ad-pod-index"),h));H.adInfoRenderer&&((h=g.P(H.adInfoRenderer,nW))?(this.adInfoButton=new Sg(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.element, +void 0,!0),g.l(this,this.adInfoButton),this.L!==void 0?this.T.insertBefore(this.adInfoButton.element,this.L.element.nextSibling):this.adInfoButton.Jl(this.T),this.adInfoButton.init(Gx("ad-info-hover-text-button"),h,this.macros)):g.aS(Error("AdInfoRenderer is not found in player overlay layout.")));var F;h=(F=this.api.getVideoData())==null?void 0:F.isDaiEnabled();H.adDurationRemaining&&h&&(F=g.P(H.adDurationRemaining,rSc))&&(this.adDurationRemaining=new V6(this.api,this.layoutId,this.interactionLoggingClientData, +this.yS,this.B,t.videoAdDurationSeconds,!0),g.l(this,this.adDurationRemaining),this.adPodIndex!==void 0?this.T.insertBefore(this.adDurationRemaining.element,this.adPodIndex.element.nextSibling):this.adDurationRemaining.Jl(this.T),this.adDurationRemaining.init(Gx("ad-duration-remaining"),F,this.macros),this.adDurationRemaining.element.classList.add("ytp-ad-duration-remaining-autohide"));H.visitAdvertiserLink&&(t=g.P(H.visitAdvertiserLink,vy4))&&(this.visitAdvertiserLink=new H$(this.api,this.layoutId, +this.interactionLoggingClientData,this.yS),g.l(this,this.visitAdvertiserLink),this.visitAdvertiserLink.Jl(this.T),this.visitAdvertiserLink.init(Gx("visit-advertiser-link"),t));H.adDisclosureBanner&&(H=g.P(H.adDisclosureBanner,Pw5))&&(this.adDisclosureBanner=new RK(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,this.adDisclosureBanner),this.adDisclosureBanner.Jl(this.Us),this.adDisclosureBanner.init(Gx("ad-disclosure-banner"),H));this.S=new RW(this.api,this.B,O,!0);g.l(this, +this.S);g.aG(this.api,this.S.element,4);this.show()}; +vv.prototype.clear=function(){this.hide()};g.k(u9,sE);g.C=u9.prototype; +g.C.init=function(N,H){sE.prototype.init.call(this,N,H,{});if(H!=null&&H.title)if(N=H.title)if(this.headline.init(Gx("ad-simple-attributed-string"),new PY(N)),N=g.P(H.moreInfoButton,EQ)){if(this.moreInfoButton.init(Gx("ad-button"),N),H.descriptions)H.descriptions.length>0&&(N=H.descriptions[0])&&(this.T=new pD(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,this.T),this.T.Jl(this.element.getElementsByClassName("ytp-ad-grid-card-text__metadata__description__line")[0]),this.T.init(Gx("ad-simple-attributed-string"), +new PY(N))),H.descriptions.length>1&&(H=H.descriptions[1])&&(this.B=new pD(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,this.B),this.B.Jl(this.element.getElementsByClassName("ytp-ad-grid-card-text__metadata__description__line")[1]),this.B.init(Gx("ad-simple-attributed-string"),new PY(H)))}else g.BZ(Error("No AdButtonViewModel is returned in AdGridCardText."));else g.BZ(Error("No headline found in AdGridCardText."));else g.BZ(Error("No headline found in AdGridCardText."))}; +g.C.onClick=function(N){sE.prototype.onClick.call(this,N);this.api.pauseVideo();this.api.onAdUxClicked(this.componentType,this.layoutId)}; +g.C.clear=function(){this.hide();this.headline.clear();this.moreInfoButton.clear();var N;(N=this.T)==null||N.clear();var H;(H=this.B)==null||H.clear()}; +g.C.hide=function(){this.headline.hide();this.moreInfoButton.hide();var N;(N=this.T)==null||N.hide();var H;(H=this.B)==null||H.hide();sE.prototype.hide.call(this)}; +g.C.show=function(){sE.prototype.show.call(this);this.headline.show();this.moreInfoButton.show();var N;(N=this.T)==null||N.show();var H;(H=this.B)==null||H.show()};g.k(Wq,sE);Wq.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});if(H!=null&&H.gridCards)if(H.style!=="AD_GRID_CARD_COLLECTION_STYLE_FIXED_ONE_COLUMN")g.BZ(Error("Only single column style is currently supported in AdGridCardCollection."));else for(N=g.K(H.gridCards),H=N.next();!H.done;H=N.next()){if(H=g.P(H.value,LDZ)){var c=new u9(this.api,this.layoutId,this.interactionLoggingClientData,this.yS);g.l(this,c);c.Jl(this.element);c.init(Gx("ad-grid-card-text"),H);this.T.push(c)}}else g.BZ(Error("No grid cards found in AdGridCardCollection."))}; +Wq.prototype.show=function(){for(var N=g.K(this.T),H=N.next();!H.done;H=N.next())H.value.show();sE.prototype.show.call(this)}; +Wq.prototype.clear=function(){this.hide();for(var N=g.K(this.T),H=N.next();!H.done;H=N.next())H.value.clear()}; +Wq.prototype.hide=function(){for(var N=g.K(this.T),H=N.next();!H.done;H=N.next())H.value.hide();sE.prototype.hide.call(this)};g.k(dp,J0);g.C=dp.prototype;g.C.init=function(N,H,c,t,h){h=h===void 0?0:h;J0.prototype.init.call(this,N,H,c,t);this.playerProgressOffsetMs=h;uG(this);this.api.addEventListener("playerUnderlayVisibilityChange",this.Ct.bind(this));this.api.addEventListener("resize",this.Rm.bind(this));this.api.Ox()?(this.B=!0,this.api.gg(!0),this.show()):this.hide()}; +g.C.Ny=function(){if(this.T){var N=this.T.getProgressState();N&&N.current&&!this.B&&1E3*N.current>=this.playerProgressOffsetMs&&(this.B=!0,this.api.gg(!0),this.show())}}; +g.C.rL=function(){this.B&&this.api.gg(!1);this.hide()}; +g.C.clear=function(){this.api.gg(!1);this.api.removeEventListener("playerUnderlayVisibilityChange",this.Ct.bind(this));this.api.removeEventListener("resize",this.Rm.bind(this));Ah(this);this.hide()}; +g.C.hide=function(){nYl(!1);J0.prototype.hide.call(this)}; +g.C.show=function(){nYl(!0);J0.prototype.show.call(this)};g.k(Ez,dp);g.C=Ez.prototype; +g.C.init=function(N,H,c,t){if(H!=null&&H.adGridCardCollection)if(H!=null&&H.adButton){var h=Number(H.playerProgressOffsetMs||"0");isNaN(h)?dp.prototype.init.call(this,N,H,c,t):dp.prototype.init.call(this,N,H,c,t,h);N=H.headline;c=g.P(H.adAvatar,W8);N&&c?(this.headline=new pD(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,this.headline),this.headline.Jl(this.Sa("ytp-display-underlay-text-grid-cards__content_container__header__headline")),this.headline.init(Gx("ad-simple-attributed-string"),new PY(N)), +this.adAvatar=new Pv(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,this.adAvatar),this.adAvatar.Jl(this.Sa("ytp-display-underlay-text-grid-cards__content_container__header__ad_avatar")),this.adAvatar.init(Gx("ad-avatar"),c)):this.U.classList.remove("ytp-display-underlay-text-grid-cards__content_container__header");N=g.P(H.adGridCardCollection,Vh7);this.adGridCardCollection.init(Gx("ad-grid-card-collection"),N);H=g.P(H.adButton,EQ);this.adButton.init(Gx("ad-button"),H); +this.hide()}else g.BZ(Error("No button found in DisplayUnderlayTextGridCardsLayout."));else g.BZ(Error("No grid cards found in DisplayUnderlayTextGridCardsLayout."))}; +g.C.onClick=function(N){(this.adButton&&g.m5(this.adButton.element,N.target)||this.adAvatar&&g.m5(this.adAvatar.element,N.target))&&this.api.pauseVideo();dp.prototype.onClick.call(this,N);this.api.onAdUxClicked(this.componentType,this.layoutId)}; +g.C.Rm=function(){}; +g.C.clear=function(){this.hide();var N;(N=this.headline)==null||N.clear();var H;(H=this.adAvatar)==null||H.clear();this.adGridCardCollection.clear();this.adButton.clear();dp.prototype.clear.call(this)}; +g.C.show=function(){var N;(N=this.headline)==null||N.show();var H;(H=this.adAvatar)==null||H.show();this.adGridCardCollection.show();this.adButton.show();dp.prototype.show.call(this)}; +g.C.hide=function(){var N;(N=this.headline)==null||N.hide();var H;(H=this.adAvatar)==null||H.hide();this.adGridCardCollection.hide();this.adButton.hide();dp.prototype.hide.call(this)}; +g.C.Ct=function(N){N==="transitioning"?(this.L.classList.remove("ytp-ad-underlay-clickable"),this.show()):N==="visible"?this.L.classList.add("ytp-ad-underlay-clickable"):N==="hidden"&&(this.hide(),this.L.classList.remove("ytp-ad-underlay-clickable"))};g.k(eY,sE); +eY.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});if(H.attributes===void 0)g.BZ(Error("No attributes found in AdDetailsLineViewModel."));else if(H.style===void 0)g.BZ(Error("No style found in AdDetailsLineViewModel."));else{N=g.K(H.attributes);for(var c=N.next();!c.done;c=N.next())if(c=c.value,c.text!==void 0){c=c.text;var t=H.style,h=new pD(this.api,this.layoutId,this.interactionLoggingClientData,this.yS);g.l(this,h);h.Jl(this.element);a:switch(t){case "AD_DETAILS_LINE_STYLE_RESPONSIVE":t="ytp-ad-details-line__text--style-responsive"; +break a;default:t="ytp-ad-details-line__text--style-standard"}h.element.classList.add(t);h.init(Gx("ad-simple-attributed-string"),new PY(c));this.T.push(h)}this.show()}}; +eY.prototype.show=function(){this.T.forEach(function(N){N.show()}); +sE.prototype.show.call(this)}; +eY.prototype.clear=function(){this.hide()}; +eY.prototype.hide=function(){this.T.forEach(function(N){N.hide()}); +sE.prototype.hide.call(this)};g.k(tt,sE);tt.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});var c,t;(N=((t=jby(((c=H.image)==null?void 0:c.sources)||[]))==null?void 0:t.url)||"")&&N.length?(c=this.Sa("ytp-image-background-image"),g.eU(c,"backgroundImage","url("+N+")"),H.blurLevel!==void 0&&g.eU(c,"filter","blur("+H.blurLevel+"px)"),H.gradient!==void 0&&(H=new g.e({W:"div",fq:["ytp-image-background--gradient-vertical"]}),g.l(this,H),H.Jl(this.element)),this.show()):g.BZ(Error("Failed to get imageUrl in ImageBackground."))}; +tt.prototype.clear=function(){this.hide()};g.k(nN,J0);g.C=nN.prototype;g.C.init=function(N,H){J0.prototype.init.call(this,N,H,{});g.eU(this.L,"stroke-dasharray","0 "+this.B);this.show()}; +g.C.clear=function(){this.hide()}; +g.C.hide=function(){Ah(this);J0.prototype.hide.call(this)}; +g.C.show=function(){uG(this);J0.prototype.show.call(this)}; +g.C.rL=function(){this.hide()}; +g.C.Ny=function(){if(this.T){var N=this.T.getProgressState();N!=null&&N.current!=null&&g.eU(this.L,"stroke-dasharray",N.current/N.seekableEnd*this.B+" "+this.B)}};g.k(hz,sE); +hz.prototype.init=function(N,H){sE.prototype.init.call(this,N,H,{});if(wks(H)){this.adAvatar=new Pv(this.api,this.layoutId,this.interactionLoggingClientData,this.yS);g.l(this,this.adAvatar);this.adAvatar.Jl(this.Sa("ytp-video-interstitial-buttoned-centered-layout__content__lockup__ad-avatar-container"));this.adAvatar.init(Gx("ad-avatar"),g.P(H.adAvatar,W8));this.headline=new pD(this.api,this.layoutId,this.interactionLoggingClientData,this.yS);g.l(this,this.headline);this.headline.Jl(this.Sa("ytp-video-interstitial-buttoned-centered-layout__content__lockup__headline-container"));this.headline.element.classList.add("ytp-video-interstitial-buttoned-centered-layout__content__lockup__headline"); +this.headline.init(Gx("ad-simple-attributed-string"),new PY(H.headline));if(N=g.P(H.adDetailsLine,SvZ))this.detailsLine=new eY(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,this.detailsLine),this.detailsLine.Jl(this.Sa("ytp-video-interstitial-buttoned-centered-layout__content__lockup__details-line-container")),this.detailsLine.init(Gx("ad-details-line"),N);this.adButton=new zO(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,!0);g.l(this,this.adButton); +this.adButton.Jl(this.Sa("ytp-video-interstitial-buttoned-centered-layout__content__lockup__ad-button-container"));this.adButton.init(Gx("ad-button"),g.P(H.adButton,EQ));this.adBadge=new IJ(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,!0);g.l(this,this.adBadge);this.adBadge.Jl(this.U);this.adBadge.init(Gx("ad-badge"),g.P(H.adBadge,zg));this.adInfoButton=new Sg(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.element,void 0,!0);g.l(this,this.adInfoButton);this.adInfoButton.Jl(this.U); +this.adInfoButton.init(Gx("ad-info-hover-text-button"),g.P(H.adInfoRenderer,nW),this.macros);if(N=g.P(H.skipAdButton,AS5))this.skipAdButton=new vp(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,this.skipAdButton),this.skipAdButton.Jl(this.element),this.skipAdButton.init(Gx("skip-button"),N);this.B=new o8(H.durationMilliseconds);g.l(this,this.B);if(N=g.P(H.countdownViewModel,eZg))this.T=new nN(this.api,this.layoutId,this.interactionLoggingClientData,this.yS,this.B),g.l(this, +this.T),this.T.Jl(this.Sa("ytp-video-interstitial-buttoned-centered-layout__timed-pie-countdown-container")),this.T.init(Gx("timed-pie-countdown"),N);if(H=g.P(H.imageBackground,XLY))this.imageBackground=new tt(this.api,this.layoutId,this.interactionLoggingClientData,this.yS),g.l(this,this.imageBackground),this.imageBackground.Jl(this.element),this.imageBackground.element.classList.add("ytp-video-interstitial-buttoned-centered-layout__background-image-container"),this.imageBackground.init(Gx("image-background"), +H);this.show();this.element.focus()}}; +hz.prototype.clear=function(){g.bM(this.L);this.hide()}; +hz.prototype.show=function(){AfD(!0);this.adAvatar&&this.adAvatar.show();this.headline&&this.headline.show();this.adButton&&this.adButton.show();this.skipAdButton&&this.skipAdButton.show();sE.prototype.show.call(this)}; +hz.prototype.hide=function(){AfD(!1);this.adAvatar&&this.adAvatar.hide();this.headline&&this.headline.hide();this.adButton&&this.adButton.hide();this.detailsLine&&this.detailsLine.hide();this.adBadge&&this.adBadge.hide();this.adInfoButton&&this.adInfoButton.hide();this.skipAdButton&&this.skipAdButton.hide();this.T&&this.T.hide();this.imageBackground&&this.imageBackground.hide();sE.prototype.hide.call(this)};g.k(hw,g.xo);g.C=hw.prototype;g.C.D1=function(){return 1E3*this.api.getDuration(this.AI,!1)}; +g.C.stop=function(){this.T&&this.handler.G3(this.T)}; +g.C.Dp=function(){var N=this.api.getProgressState(this.AI);this.B={seekableStart:N.seekableStart,seekableEnd:N.seekableEnd,current:this.api.getCurrentTime(this.AI,!1)};this.publish("h")}; +g.C.getProgressState=function(){return this.B}; +g.C.T5=function(N){g.tC(N,2)&&this.publish("g")};var W6g="ad-attribution-bar ad-channel-thumbnail advertiser-name ad-preview ad-title skip-button visit-advertiser".split(" ").concat("shopping-companion action-companion image-companion ads-engagement-panel ads-engagement-panel-layout banner-image top-banner-image-text-icon-buttoned".split(" "));g.k(We,Ys); +We.prototype.L=function(N){var H=N.id,c=N.content,t=c.componentType;if(!W6g.includes(t))switch(N.actionType){case 1:N=this.api;var h=this.yS,O=c.layoutId,F=c.interactionLoggingClientData,M=c instanceof gm?c.Qh:!1,f=c instanceof gm||c instanceof WJ?c.WP:!1;F=F===void 0?{}:F;M=M===void 0?!1:M;f=f===void 0?!1:f;switch(t){case "invideo-overlay":N=new YBf(N,O,F,h);break;case "player-overlay":N=new eJ(N,O,F,h,new hw(N),f);break;case "player-overlay-layout":N=new vv(N,O,F,h,new hw(N));break;case "survey":N= +new WD(N,O,F,h);break;case "ad-action-interstitial":N=new xWf(N,O,F,h,M,f);break;case "video-interstitial-buttoned-centered":N=new hz(N,O,F,h);break;case "survey-interstitial":N=new yJ(N,O,F,h);break;case "ad-message":N=new f1D(N,O,F,h,new hw(N,1));break;case "player-underlay":N=new ExS(N,O,F,h);break;case "display-underlay-text-grid-cards":N=new Ez(N,O,F,h,new hw(N));break;default:N=null}if(!N){g.aS(Error("No UI component returned from ComponentFactory for type: "+t));break}g.Ln(this.components, +H)?g.aS(Error("Ad UI component already registered: "+H)):this.components[H]=N;N.bind(c);c instanceof qje?this.B?this.B.append(N.p9):g.aS(Error("Underlay view was not created but UnderlayRenderer was created")):this.U.append(N.p9);break;case 2:H=fwR(this,N);if(H==null)break;H.bind(c);break;case 3:c=fwR(this,N),c!=null&&(g.ez(c),g.Ln(this.components,H)?(c=this.components,H in c&&delete c[H]):g.aS(Error("Ad UI component does not exist: "+H)))}}; +We.prototype.Os=function(){g.an(Object.values(this.components));this.components={};Ys.prototype.Os.call(this)};g.k(EZ,g.wK);g.C=EZ.prototype;g.C.create=function(){try{cdw(this),this.load(),this.created=!0,cdw(this)}catch(N){KA(N instanceof Error?N:String(N))}}; +g.C.load=function(){try{xrs(this)}finally{Wv(V1(this.T).FE)&&this.player.ao("ad",1)}}; +g.C.destroy=function(){var N=this.player.getVideoData(1);this.T.T.rW.o9(N&&N.clientPlaybackNonce||"");this.unload();this.created=!1}; +g.C.unload=function(){g.wK.prototype.unload.call(this);try{this.player.getRootNode().classList.remove("ad-created")}catch(H){KA(H instanceof Error?H:String(H))}if(this.B!=null){var N=this.B;this.B=null;N.dispose()}this.L.reset()}; +g.C.cM=function(){return!1}; +g.C.getAdState=function(){return-1}; +g.C.getOptions=function(){return Object.values(dKx)}; +g.C.LO=function(N,H){H=H===void 0?{}:H;switch(N){case "replaceUrlMacros":return N=H,N.url?(H=Ceh(this.player),Object.assign(H,N.Og_),N=g.P4(N.url,H)):N=null,N;case "onAboutThisAdPopupClosed":this.B_(H);break;case "executeCommand":N=H;N.command&&N.layoutId&&this.executeCommand(N);break;default:return null}}; +g.C.Lp=function(N){var H;return!((H=this.T.T.jg)==null||!H.get().Lp(N))}; +g.C.B_=function(N){N.isMuted&&IMy(V1(this.T).RU,V1(this.T).Ga,N.layoutId);this.Mv&&this.Mv.B_()}; +g.C.executeCommand=function(N){V1(this.T).yS.executeCommand(N.command,N.layoutId)};g.Hw("yt.player.Application.create",g.KU.create);g.Hw("yt.player.Application.createAlternate",g.KU.create);yKl(g5(),f34);var zJx=g.NA("ytcsi.tick");zJx&&zJx("pe");g.xZ("ad",EZ);g.k(g.zI,g.L);g.zI.prototype.start=function(N,H,c){this.config={from:N,to:H,duration:c,startTime:(0,g.Lh)()};this.next()}; +g.zI.prototype.stop=function(){this.delay.stop();this.config=void 0}; +g.zI.prototype.next=function(){if(this.config){var N=this.config,H=N.from,c=N.to,t=N.duration;N=N.startTime;var h=(0,g.Lh)()-N;N=this.T;t=$OL(N,h/t);if(t==0)N=N.C;else if(t==1)N=N.Z;else{h=UG(N.C,N.S,t);var O=UG(N.S,N.Y,t);N=UG(N.Y,N.Z,t);h=UG(h,O,t);O=UG(O,N,t);N=UG(h,O,t)}N=g.Ae(N,0,1);this.callback(H+(c-H)*N);N<1&&this.delay.start()}};g.k(g.ur,g.e);g.C=g.ur.prototype;g.C.hasSuggestions=function(){return this.suggestionData.length>0}; +g.C.ih=function(){this.B&&this.scrollTo(this.scrollPosition-this.containerWidth)}; +g.C.show=function(){g.e.prototype.show.call(this);EiL(this)}; +g.C.B8=function(){this.B&&this.scrollTo(this.scrollPosition+this.containerWidth)}; +g.C.J2=function(){this.Mc(this.api.BO().getPlayerSize())}; +g.C.Mc=function(N){var H=this.api.isEmbedsShortsMode()?.5625:16/9,c=this.api.J3();N=N.width-(c?112:58);c=Math.ceil(N/(c?320:192));var t=(N-c*8)/c;H=Math.floor(t/H);for(var h=g.K(this.T),O=h.next();!O.done;O=h.next())O=O.value.Sa("ytp-suggestion-image"),O.style.width=t+"px",O.style.height=H+"px";this.suggestions.element.style.height=H+"px";this.U=t;this.C=H;this.containerWidth=N;this.columns=c;this.scrollPosition=0;this.suggestions.element.scrollLeft=-0;g.um(this)}; +g.C.onVideoDataChange=function(){var N=this.api.D(),H=this.api.getVideoData();this.S=H.Uc?!1:N.U;this.suggestionData=H.suggestions?g.WL(H.suggestions,function(c){return c&&!c.playlistId}):[]; +l_L(this);H.Uc?this.title.update({title:g.Df("More videos from $DNI_RELATED_CHANNEL",{DNI_RELATED_CHANNEL:H.author})}):this.title.update({title:this.api.isEmbedsShortsMode()?"More shorts":"More videos"})}; +g.C.scrollTo=function(N){N=g.Ae(N,this.containerWidth-this.suggestionData.length*(this.U+8),0);this.Y.start(this.scrollPosition,N,1E3);this.scrollPosition=N;g.um(this);EiL(this)};})(_yt_player); diff --git a/packages/main/src/services/window/index.ts b/packages/main/src/services/window/index.ts index 432cfb413a..c3f1365fc6 100644 --- a/packages/main/src/services/window/index.ts +++ b/packages/main/src/services/window/index.ts @@ -12,11 +12,7 @@ import Store from '../store'; import { IpcEvents } from '@nuclear/core'; const urlMapper: Record = { - [Env.DEV]: url.format({ - pathname: 'localhost:8080', - protocol: 'http:', - slashes: true - }), + [Env.DEV]: 'http://localhost:8080', [Env.PROD]: url.format({ pathname: path.join(__dirname, 'index.html'), protocol: 'file:',