(function(g){var window=this;'use strict';var $bb=function(){return{G:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 110 26",width:"100%"},W:[{G:"path",Xb:!0,K:"ytp-svg-fill",X:{d:"M 16.68,.99 C 13.55,1.03 7.02,1.16 4.99,1.68 c -1.49,.4 -2.59,1.6 -2.99,3 -0.69,2.7 -0.68,8.31 -0.68,8.31 0,0 -0.01,5.61 .68,8.31 .39,1.5 1.59,2.6 2.99,3 2.69,.7 13.40,.68 13.40,.68 0,0 10.70,.01 13.40,-0.68 1.5,-0.4 2.59,-1.6 2.99,-3 .69,-2.7 .68,-8.31 .68,-8.31 0,0 .11,-5.61 -0.68,-8.31 -0.4,-1.5 -1.59,-2.6 -2.99,-3 C 29.11,.98 18.40,.99 18.40,.99 c 0,0 -0.67,-0.01 -1.71,0 z m 72.21,.90 0,21.28 2.78,0 .31,-1.37 .09,0 c .3,.5 .71,.88 1.21,1.18 .5,.3 1.08,.40 1.68,.40 1.1,0 1.99,-0.49 2.49,-1.59 .5,-1.1 .81,-2.70 .81,-4.90 l 0,-2.40 c 0,-1.6 -0.11,-2.90 -0.31,-3.90 -0.2,-0.89 -0.5,-1.59 -1,-2.09 -0.5,-0.4 -1.10,-0.59 -1.90,-0.59 -0.59,0 -1.18,.19 -1.68,.49 -0.49,.3 -1.01,.80 -1.21,1.40 l 0,-7.90 -3.28,0 z m -49.99,.78 3.90,13.90 .18,6.71 3.31,0 0,-6.71 3.87,-13.90 -3.37,0 -1.40,6.31 c -0.4,1.89 -0.71,3.19 -0.81,3.99 l -0.09,0 c -0.2,-1.1 -0.51,-2.4 -0.81,-3.99 l -1.37,-6.31 -3.40,0 z m 29.59,0 0,2.71 3.40,0 0,17.90 3.28,0 0,-17.90 3.40,0 c 0,0 .00,-2.71 -0.09,-2.71 l -9.99,0 z m -53.49,5.12 8.90,5.18 -8.90,5.09 0,-10.28 z m 89.40,.09 c -1.7,0 -2.89,.59 -3.59,1.59 -0.69,.99 -0.99,2.60 -0.99,4.90 l 0,2.59 c 0,2.2 .30,3.90 .99,4.90 .7,1.1 1.8,1.59 3.5,1.59 1.4,0 2.38,-0.3 3.18,-1 .7,-0.7 1.09,-1.69 1.09,-3.09 l 0,-0.5 -2.90,-0.21 c 0,1 -0.08,1.6 -0.28,2 -0.1,.4 -0.5,.62 -1,.62 -0.3,0 -0.61,-0.11 -0.81,-0.31 -0.2,-0.3 -0.30,-0.59 -0.40,-1.09 -0.1,-0.5 -0.09,-1.21 -0.09,-2.21 l 0,-0.78 5.71,-0.09 0,-2.62 c 0,-1.6 -0.10,-2.78 -0.40,-3.68 -0.2,-0.89 -0.71,-1.59 -1.31,-1.99 -0.7,-0.4 -1.48,-0.59 -2.68,-0.59 z m -50.49,.09 c -1.09,0 -2.01,.18 -2.71,.68 -0.7,.4 -1.2,1.12 -1.49,2.12 -0.3,1 -0.5,2.27 -0.5,3.87 l 0,2.21 c 0,1.5 .10,2.78 .40,3.78 .2,.9 .70,1.62 1.40,2.12 .69,.5 1.71,.68 2.81,.78 1.19,0 2.08,-0.28 2.78,-0.68 .69,-0.4 1.09,-1.09 1.49,-2.09 .39,-1 .49,-2.30 .49,-3.90 l 0,-2.21 c 0,-1.6 -0.2,-2.87 -0.49,-3.87 -0.3,-0.89 -0.8,-1.62 -1.49,-2.12 -0.7,-0.5 -1.58,-0.68 -2.68,-0.68 z m 12.18,.09 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.18,-0.70 -0.18,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .18,2.39 .68,3.09 .49,.7 1.21,1 2.21,1 1.4,0 2.48,-0.69 3.18,-2.09 l .09,0 .31,1.78 2.59,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 17.31,0 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.21,-0.70 -0.21,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .21,2.39 .71,3.09 .5,.7 1.18,1 2.18,1 1.39,0 2.51,-0.69 3.21,-2.09 l .09,0 .28,1.78 2.62,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 20.90,2.09 c .4,0 .58,.11 .78,.31 .2,.3 .30,.59 .40,1.09 .1,.5 .09,1.21 .09,2.21 l 0,1.09 -2.5,0 0,-1.09 c 0,-1 -0.00,-1.71 .09,-2.21 0,-0.4 .11,-0.8 .31,-1 .2,-0.3 .51,-0.40 .81,-0.40 z m -50.49,.12 c .5,0 .8,.18 1,.68 .19,.5 .28,1.30 .28,2.40 l 0,4.68 c 0,1.1 -0.08,1.90 -0.28,2.40 -0.2,.5 -0.5,.68 -1,.68 -0.5,0 -0.79,-0.18 -0.99,-0.68 -0.2,-0.5 -0.31,-1.30 -0.31,-2.40 l 0,-4.68 c 0,-1.1 .11,-1.90 .31,-2.40 .2,-0.5 .49,-0.68 .99,-0.68 z m 39.68,.09 c .3,0 .61,.10 .81,.40 .2,.3 .27,.67 .37,1.37 .1,.6 .12,1.51 .12,2.71 l .09,1.90 c 0,1.1 .00,1.99 -0.09,2.59 -0.1,.6 -0.19,1.08 -0.49,1.28 -0.2,.3 -0.50,.40 -0.90,.40 -0.3,0 -0.51,-0.08 -0.81,-0.18 -0.2,-0.1 -0.39,-0.29 -0.59,-0.59 l 0,-8.5 c .1,-0.4 .29,-0.7 .59,-1 .3,-0.3 .60,-0.40 .90,-0.40 z"}}]}}, acb=function(a){g.T.call(this,{G:"div", K:"ytp-related-on-error-overlay"});var b=this;this.api=a;this.D=this.j=0;this.C=new g.HF(this);this.B=[];this.suggestionData=[];this.containerWidth=0;this.title=new g.T({G:"h2",K:"ytp-related-title",qa:"{{title}}"});this.previous=new g.T({G:"button",Ga:["ytp-button","ytp-previous"],X:{"aria-label":"Show previous suggested videos"},W:[g.gN()]});this.T=new g.v2(function(f){b.suggestions.element.scrollLeft=-f}); this.tileWidth=this.u=0;this.I=!0;this.next=new g.T({G:"button",Ga:["ytp-button","ytp-next"],X:{"aria-label":"Show more suggested videos"},W:[g.hN()]});g.E(this,this.C);a=a.V();this.J=a.u;g.E(this,this.title);this.title.Ca(this.element);this.suggestions=new g.T({G:"div",K:"ytp-suggestions"});g.E(this,this.suggestions);this.suggestions.Ca(this.element);g.E(this,this.previous);this.previous.Ca(this.element);this.previous.Pa("click",this.YX,this);g.E(this,this.T);for(var c={Uv:0};16>c.Uv;c={Uv:c.Uv}, c.Uv++){var d=new g.T({G:"a",K:"ytp-suggestion-link",X:{href:"{{link}}",target:a.T,"aria-label":"{{aria_label}}"},W:[{G:"div",K:"ytp-suggestion-image",W:[{G:"div",X:{"data-is-live":"{{is_live}}"},K:"ytp-suggestion-duration",qa:"{{duration}}"}]},{G:"div",K:"ytp-suggestion-title",X:{title:"{{hover_title}}"},qa:"{{title}}"},{G:"div",K:"ytp-suggestion-author",qa:"{{views_or_author}}"}]});g.E(this,d);d.Ca(this.suggestions.element);var e=d.Ea("ytp-suggestion-link");g.ul(e,"transitionDelay",c.Uv/20+"s"); this.C.N(e,"click",function(f){return function(h){var l=b.suggestionData[f.Uv],m=l.sessionData;g.rR(h,b.api,b.J,m||void 0)&&b.api.jn(l.videoId,m,l.playlistId)}}(c)); this.B.push(d)}g.E(this,this.next);this.next.Ca(this.element);this.next.Pa("click",this.XX,this);this.C.N(this.api,"videodatachange",this.onVideoDataChange);this.resize(this.api.fb().getPlayerSize());this.onVideoDataChange();this.show()},bcb=function(a){a.next.element.style.bottom=a.D+"px"; a.previous.element.style.bottom=a.D+"px";var b=a.u,c=a.containerWidth-a.suggestionData.length*(a.tileWidth+a.j);g.fo(a.element,"ytp-scroll-min",0<=b);g.fo(a.element,"ytp-scroll-max",b<=c)},ccb=function(a){for(var b=0;b=b&&a.j?v5(a):a.j&&a.j.start()}},v5=function(a){a.j&&(a.j.dispose(),a.j=null,a.u=!1)},mcb=function(a){g.RQ.call(this,a); this.F=a;this.j=new g.HF(this);this.u=null;this.J=!1;this.countdownTimer=null;this.Z=!1;lcb(this);g.E(this,this.j);this.load()},ocb=function(a){var b=g.A4a(a.F); b!==a.Z&&(a.Z=b,a.I&&(a.I.dispose(),a.I=null),a.C&&(a.C.dispose(),a.C=null),a.D&&(a.D.dispose(),a.D=null),a.u&&(a.u.stop(),a.u.dispose(),a.u=null),b&&(b=g.WP(a.F),b.Pe()&&(a.D=new g.T({G:"div",K:"ytp-pause-overlay-backdrop",X:{tabIndex:"-1"}}),g.E(a,a.D),g.iQ(a.F,a.D.element,4),a.u=new g.PN(a.D,1E3,!1,100),g.E(a,a.u),a.D.hide()),a.C=new t5(a.F,b),g.E(a,a.C),a.I=new g.T({G:"div",K:"ytp-pause-overlay-container",X:{tabIndex:"-1"},W:[a.C]}),g.E(a,a.I),g.iQ(a.F,a.I.element,4),ncb(a,a.F.Fb())))},ncb=function(a, b){a.u&&(!g.S(b,4)&&!g.S(b,2)||g.S(b,1024)?a.u.hide():a.u.show())},lcb=function(a){var b=a.F; if(b.S("embeds_enable_shorts_branded_ui")){var c;a=!(null==(c=g.WP(b))||!c.qk());g.fo(b.getRootNode(),"ytp-shorts-mode",a);if(c=b.getVideoData())c.iX=a}},w5=function(a,b){a={adSource:"EMBEDS_AD_SOURCE_YOUTUBE", breakType:0===a.F.getCurrentTime()?"EMBEDS_AD_BREAK_TYPE_PRE_ROLL":0===a.F.getPlayerState()?"EMBEDS_AD_BREAK_TYPE_POST_ROLL":"EMBEDS_AD_BREAK_TYPE_MID_ROLL",embedUrl:g.Mea(a.F.V().loaderUrl),eventType:b,youtubeHost:g.Rh(a.F.V().Ba)||""};g.hx("embedsAdEvent",a)}; g.w(acb,g.T);g.k=acb.prototype;g.k.hide=function(){this.I=!0;g.T.prototype.hide.call(this)}; g.k.show=function(){this.I=!1;g.T.prototype.show.call(this)}; g.k.isHidden=function(){return this.I}; g.k.XX=function(){this.scrollTo(this.u-this.containerWidth)}; g.k.YX=function(){this.scrollTo(this.u+this.containerWidth)}; g.k.resize=function(a,b){var c=this.api.V(),d=16/9,e=650<=a.width,f=480>a.width||290>a.height,h=Math.min(this.suggestionData.length,this.B.length);if(150>=Math.min(a.width,a.height)||0===h||!c.zd)this.hide();else{var l;if(e){var m=l=28;this.j=16}else this.j=m=l=8;if(f){var n=6;e=14;var p=12;f=24;c=12}else n=8,e=18,p=16,f=36,c=16;a=a.width-(48+l+m);l=Math.ceil(a/150);l=Math.min(3,l);l=a/l-this.j;m=Math.floor(l/d);b&&m+100>b&&50l||g.fQ(this.api)?this.hide():this.show();for(b=0;bl?"none":""}h=e+n+p+4;this.D=h+c+(m-f)/2;this.suggestions.element.style.height=m+h+"px";this.tileWidth=l;this.containerWidth=a;this.u=0;this.suggestions.element.scrollLeft=-0;bcb(this)}}; g.k.onVideoDataChange=function(){var a=this.api.getVideoData(),b=this.api.V();this.J=a.D?!1:b.u;a.suggestions?this.suggestionData=g.pm(a.suggestions,function(c){return c&&!c.playlistId}):this.suggestionData.length=0; ccb(this);a.D?this.title.update({title:g.BL("More videos from $DNI_RELATED_CHANNEL",{DNI_RELATED_CHANNEL:a.author})}):this.title.update({title:"More videos on YouTube"})}; g.k.scrollTo=function(a){a=g.ce(a,this.containerWidth-this.suggestionData.length*(this.tileWidth+this.j),0);this.T.start(this.u,a,1E3);this.u=a;bcb(this)};g.w(o5,g.wR);o5.prototype.show=function(){g.wR.prototype.show.call(this);ecb(this,this.api.fb().getPlayerSize())}; o5.prototype.resize=function(a){g.wR.prototype.resize.call(this,a);this.j&&(ecb(this,a),g.fo(this.element,"related-on-error-overlay-visible",!this.j.isHidden()))}; o5.prototype.u=function(a){g.wR.prototype.u.call(this,a);var b=this.api.getVideoData();if(b.BH||b.playerErrorMessageRenderer)(a=b.BH)?gcb(this,a):b.playerErrorMessageRenderer&&gcb(this,b.playerErrorMessageRenderer);else{var c;a.mm&&(b.lw?fcb(b.lw)?c=g.UB(b.lw):c=g.xR(g.TB(b.lw)):c=g.xR(a.mm),this.oe(c,"subreason"))}};g.w(p5,g.T);p5.prototype.zi=function(){this.api.Fb().isCued()||(this.hide(),this.api.Sa(this.element,!1))}; p5.prototype.j=function(){var a=this.api.getVideoData(),b=this.api.V(),c=this.api.getVideoData().D,d=b.Hd,e=!b.zd,f=this.u,h=f.qk()&&b.S("embeds_enable_shorts_branded_ui");f=f.Yg();var l=g.MH(b);b=b.j;d||f||c||e||l||b||h||!a.videoId?(this.hide(),this.api.Sa(this.element,!1)):(a=hcb(this),this.updateValue("url",a),this.show())}; p5.prototype.onClick=function(a){var b=hcb(this);g.sR(b,this.api,a);this.api.sb(this.element)}; p5.prototype.show=function(){this.api.Fb().isCued()&&(g.T.prototype.show.call(this),this.api.pk(this.element)&&this.api.Sa(this.element,!0))};g.w(q5,g.T);q5.prototype.zi=function(){var a=this.api.Fb();!this.api.oh()||g.S(a,2)&&g.cQ(this.api)||g.S(a,64)?(this.api.Sa(this.j,!1),this.api.Sa(this.forwardButton,!1),this.hide()):(this.show(),this.api.Sa(this.j,!0),this.api.Sa(this.forwardButton,!0))}; q5.prototype.u=function(){this.api.seekBy(-10*this.api.getPlaybackRate());this.api.sb(this.j)}; q5.prototype.B=function(){this.api.seekBy(10*this.api.getPlaybackRate());this.api.sb(this.forwardButton)};g.w(r5,g.T);r5.prototype.u=function(){var a=this.api.Fb(),b=this.api.getVideoData();this.api.V().S("embeds_enable_muted_autoplay")&&b.mutedAutoplay&&(g.S(a,2)&&!this.ub?(this.show(),this.j.show(),a=this.api.getVideoData(),this.updateValue("text",a.bR),g.fo(this.element,"ytp-muted-autoplay-show-end-panel",!0),this.api.Sa(this.element,this.ub),this.api.Oa("onMutedAutoplayEnds")):this.hide())}; r5.prototype.onClick=function(){var a=this.api.getVideoData(),b=this.api.getCurrentTime();a.mutedAutoplay=!1;a.endSeconds=NaN;g.yJ(a);this.api.loadVideoById(a.videoId,b);this.api.sb(this.element);this.hide()};g.w(s5,g.T);s5.prototype.j=function(){var a=this.api.Fb(),b=this.api.getVideoData();this.api.V().S("embeds_enable_muted_autoplay")&&b.mutedAutoplay&&!g.S(a,2)?this.ub||(g.T.prototype.show.call(this),this.B.start(),this.api.Sa(this.element,this.ub)):this.hide()}; s5.prototype.u=function(){g.fo(this.element,"ytp-muted-autoplay-hide-watermark",!0)}; s5.prototype.onClick=function(){var a=this.api.getVideoData(),b=this.api.getCurrentTime();a.mutedAutoplay=!1;a.endSeconds=NaN;g.yJ(a);this.api.loadVideoById(a.videoId,b);this.api.sb(this.element)};g.w(t5,g.T);t5.prototype.hide=function(){g.co(this.api.getRootNode(),"ytp-expand-pause-overlay");g.T.prototype.hide.call(this)}; t5.prototype.I=function(){this.B=!0;g.co(this.api.getRootNode(),"ytp-expand-pause-overlay");this.j.Pe()&&this.api.Sa(this.element,!1);this.expandButton.focus()}; t5.prototype.J=function(){this.B=!1;g.ao(this.api.getRootNode(),"ytp-expand-pause-overlay");this.j.Pe()&&this.api.Sa(this.element,!0);this.focus()}; t5.prototype.La=function(a){a=this.api.V().S("embeds_web_enable_pause_overlay_wn_update")?this.api.Fb():a.state;g.S(a,1)||g.S(a,16)||g.S(a,32)||(!g.S(a,4)||g.S(a,2)||g.S(a,1024)?(this.B||this.j.Pe()&&this.api.Sa(this.element,!1),this.D.hide()):0a.width)&&!this.u||!a&&this.u){var b=new g.T($bb()),c=this.Ea("ytp-watermark");g.fo(c,"ytp-watermark-small",a);g.Qe(c);b.Ca(c);this.u=a}};g.w(u5,g.T);u5.prototype.show=function(){g.T.prototype.show.call(this);this.api.Sa(this.element,!0)}; u5.prototype.click=function(){this.api.sb(this.element)}; u5.prototype.ra=function(){v5(this);g.T.prototype.ra.call(this)};g.w(mcb,g.RQ);g.k=mcb.prototype;g.k.Ik=function(){return!1}; g.k.create=function(){var a=this.F.V(),b=g.WP(this.F),c,d=null==(c=this.F.getVideoData())?void 0:c.clientPlaybackNonce;d&&g.vC("cpn",d);ocb(this);a.S("embeds_enable_muted_autoplay")&&(this.B=new s5(this.F),g.E(this,this.B),g.iQ(this.F,this.B.element,4),this.oa=new r5(this.F),g.E(this,this.oa),g.iQ(this.F,this.oa.element,4));if(a.Hd||this.B)this.watermark=new icb(this.F),g.E(this,this.watermark),g.iQ(this.F,this.watermark.element,8);this.T=new p5(this.F,b);g.E(this,this.T);g.iQ(this.F,this.T.element, 8);a.isMobile&&(this.ea=new q5(this.F),g.E(this,this.ea),g.iQ(this.F,this.ea.element,4));this.j.N(this.F,"appresize",this.Cb);this.j.N(this.F,"presentingplayerstatechange",this.zi);this.j.N(this.F,"videodatachange",this.onVideoDataChange);this.j.N(this.F,"onMutedAutoplayStarts",this.onMutedAutoplayStarts);this.j.N(this.F,"onAdStart",this.onAdStart);this.j.N(this.F,"onAdComplete",this.onAdComplete);this.j.N(this.F,"onAdSkip",this.onAdSkip);this.j.N(this.F,"onAdStateChange",this.onAdStateChange);if((this.J= g.Fw(g.UH(a)))||a.S("embeds_web_enable_lite_experiment_control_arm_logging"))this.countdownTimer=new u5(this.F),g.E(this,this.countdownTimer),g.iQ(this.F,this.countdownTimer.element,4),this.countdownTimer.hide();this.J&&(this.j.N(this.F,g.LB("embeds"),this.onCueRangeEnter),this.j.N(this.F,g.MB("embeds"),this.onCueRangeExit));this.lc(this.F.Fb());this.player.og("embed")}; g.k.onCueRangeEnter=function(a){"countdown timer"===a.getId()&&this.countdownTimer&&(this.countdownTimer.show(),kcb(this.countdownTimer))}; g.k.onCueRangeExit=function(a){"countdown timer"===a.getId()&&this.countdownTimer&&(v5(this.countdownTimer),this.countdownTimer.hide())}; g.k.Cb=function(){var a=this.F.fb().getPlayerSize();this.Xf&&this.Xf.resize(a)}; g.k.zi=function(a){this.lc(a.state)}; g.k.lc=function(a){g.S(a,128)?(this.Xf||(this.Xf=new o5(this.F),g.E(this,this.Xf),g.iQ(this.F,this.Xf.element,4)),this.Xf.u(a.getData()),this.Xf.show(),g.ao(this.F.getRootNode(),"ytp-embed-error")):this.Xf&&(this.Xf.dispose(),this.Xf=null,g.co(this.F.getRootNode(),"ytp-embed-error"));if(this.countdownTimer&&this.countdownTimer.j)if(g.S(a,64))this.countdownTimer.hide(),v5(this.countdownTimer);else if(g.ZL(a)){var b=this.countdownTimer;b.u||(b.u=!0,b.D=(0,g.Q)())}else a.Zc()&&this.countdownTimer.u&& (b=this.countdownTimer,b.u&&(b.C+=(0,g.Q)()-b.D,b.u=!1,jcb(b)));ncb(this,a)}; g.k.onMutedAutoplayStarts=function(){this.F.getVideoData().mutedAutoplay&&this.B&&this.watermark&&this.watermark.Ca(this.B.bottomButtons,0)}; g.k.onVideoDataChange=function(a,b){var c=this.DB!==b.videoId;a=!c&&"dataloaded"===a;var d,e={isShortsModeEnabled:null==(d=g.WP(this.F))?void 0:d.qk()};g.hx("embedsVideoDataDidChange",{clientPlaybackNonce:b.clientPlaybackNonce,isReload:a,runtimeEnabledFeatures:e});c&&(this.DB=b.videoId,this.countdownTimer&&(this.countdownTimer.show(),this.countdownTimer.click(),this.countdownTimer.hide()),this.xO(b),lcb(this),ocb(this));this.watermark&&this.B&&!b.mutedAutoplay&&g.Ue(this.B.element,this.watermark.element)&& g.iQ(this.F,this.watermark.element,8);this.F.V().j&&this.C&&this.C.detach()}; g.k.xO=function(a){this.J&&(this.F.Sf("embeds"),a.isAd()||5>a.endSeconds||g.fQ(this.F)||(a=Math.max(1E3*(a.endSeconds-5),0),a=new g.JB(a,a+5E3,{id:"countdown timer",namespace:"embeds"}),this.F.Ke([a])))}; g.k.onAdStart=function(){w5(this,"EMBEDS_AD_EVENT_TYPE_AD_STARTED")}; g.k.onAdComplete=function(){w5(this,"EMBEDS_AD_EVENT_TYPE_AD_COMPLETED")}; g.k.onAdSkip=function(){w5(this,"EMBEDS_AD_EVENT_TYPE_AD_SKIPPED")}; g.k.onAdStateChange=function(a){2===a&&w5(this,"EMBEDS_AD_EVENT_TYPE_AD_PAUSED")};g.QQ("embed",mcb);})(_yt_player);