var _____WB$wombat$assign$function_____=function(name){return (globalThis._wb_wombat && globalThis._wb_wombat.local_init && globalThis._wb_wombat.local_init(name))||globalThis[name];};if(!globalThis.__WB_pmw){globalThis.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opener = _____WB$wombat$assign$function_____("opener");
(function(g){var window=this;'use strict';var gYa=function(a,b){var c=(b-a.j)/(a.u-a.j);if(0>=c)return 0;if(1<=c)return 1;for(var d=0,e=1,f=0,h=0;8>h;h++){f=g.vo(a,c);var l=(g.vo(a,c+1E-6)-f)/1E-6;if(1E-6>Math.abs(f-b))return c;if(1E-6>Math.abs(l))break;else f<b?d=c:e=c,c-=(f-b)/l}for(h=0;1E-6<Math.abs(f-b)&&8>h;h++)f<b?(d=c,c=(c+e)/2):(e=c,c=(c+d)/2),f=g.vo(a,c);return c},p2=function(){return{F:"svg",
T:{height:"100%",version:"1.1",viewBox:"0 0 110 26",width:"100%"},R:[{F:"path",Jb:!0,L:"ytp-svg-fill",T:{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"}}]}},
q2=function(a){g.I.call(this);
this.callback=a;this.u=new g.uo(0,0,.4,0,.2,1,1,1);this.delay=new g.Dn(this.next,window,this);this.startTime=this.duration=this.j=this.from=NaN;g.J(this,this.delay)},s2=function(a){g.W.call(this,{F:"div",
L:"ytp-related-on-error-overlay"});var b=this;this.api=a;this.D=this.B=0;this.C=new g.kz(this);this.u=[];this.suggestionData=[];this.containerWidth=0;this.title=new g.W({F:"h2",L:"ytp-related-title",Z:"{{title}}"});this.previous=new g.W({F:"button",Ba:["ytp-button","ytp-previous"],T:{"aria-label":"Show previous suggested videos"},R:[g.BG()]});this.N=new q2(function(f){r2(b);b.suggestions.element.scrollLeft=-f});
this.tileWidth=this.j=0;this.I=!0;this.next=new g.W({F:"button",Ba:["ytp-button","ytp-next"],T:{"aria-label":"Show more suggested videos"},R:[g.CG()]});g.J(this,this.C);a=a.S();this.J=a.j;g.J(this,this.title);this.title.xa(this.element);this.suggestions=new g.W({F:"div",L:"ytp-suggestions"});g.J(this,this.suggestions);this.suggestions.xa(this.element);g.J(this,this.previous);this.previous.xa(this.element);this.previous.Ma("click",this.AU,this);g.J(this,this.N);for(var c={nt:0};16>c.nt;c={nt:c.nt},
c.nt++){var d=new g.W({F:"a",L:"ytp-suggestion-link",T:{href:"{{link}}",target:a.J,"aria-label":"{{aria_label}}"},R:[{F:"div",L:"ytp-suggestion-image",R:[{F:"div",T:{"data-is-live":"{{is_live}}"},L:"ytp-suggestion-duration",Z:"{{duration}}"}]},{F:"div",L:"ytp-suggestion-title",T:{title:"{{hover_title}}"},Z:"{{title}}"},{F:"div",L:"ytp-suggestion-author",Z:"{{views_or_author}}"}]});g.J(this,d);d.xa(this.suggestions.element);var e=d.ya("ytp-suggestion-link");g.al(e,"transitionDelay",c.nt/20+"s");this.C.P(e,
"click",function(f){return function(h){var l=b.suggestionData[f.nt],m=l.sessionData;g.uJ(h,b.api,b.J,m||void 0)&&b.api.vl(l.videoId,m,l.playlistId)}}(c));
this.u.push(d)}g.J(this,this.next);this.next.xa(this.element);this.next.Ma("click",this.zU,this);this.C.P(this.api,"videodatachange",this.onVideoDataChange);this.resize(this.api.Ya().getPlayerSize());this.onVideoDataChange();this.show()},r2=function(a){return a.suggestionData.length*(a.tileWidth+a.B)},t2=function(a){a.next.element.style.bottom=a.D+"px";
a.previous.element.style.bottom=a.D+"px";var b=a.j,c=a.containerWidth-r2(a);g.O(a.element,"ytp-scroll-min",0<=b);g.O(a.element,"ytp-scroll-max",b<=c)},hYa=function(a){for(var b=0;b<a.suggestionData.length;b++){var c=a.suggestionData[b],d=a.u[b],e=c.shortViewCount?c.shortViewCount:c.author,f=c.mm(),h=a.api.S();
if(g.YA(h)){var l={};h.oa&&g.nI(l,h.loaderUrl);f=g.Mh(f,g.mI(l,"emb_rel_err"))}d.element.style.display="";h=d.ya("ytp-suggestion-title");g.so.test(c.title)?h.dir="rtl":g.xTa.test(c.title)&&(h.dir="ltr");h=d.ya("ytp-suggestion-author");g.so.test(e)?h.dir="rtl":g.xTa.test(e)&&(h.dir="ltr");d.update({views_or_author:e,duration:c.isLivePlayback?"Live":c.lengthSeconds?g.vH(c.lengthSeconds):"",link:f,hover_title:c.title,title:c.title,aria_label:c.ariaLabel||null,is_live:c.isLivePlayback});d=d.ya("ytp-suggestion-image");
c=c.zf();d.style.backgroundImage=c?"url("+c+")":""}for(;b<a.u.length;b++)a.u[b].element.style.display="none";t2(a)},u2=function(a){g.zJ.call(this,a);
var b=this;this.j=null;var c=a.S(),d={F:"svg",T:{fill:"#fff",height:"100%",viewBox:"0 0 24 24",width:"100%"},R:[{F:"path",T:{d:"M0 0h24v24H0V0z",fill:"none"}},{F:"path",T:{d:"M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z"}}]};g.iB(c)&&(d={F:"svg",T:{fill:"none",height:"100%",
viewBox:"0 0 25 25",width:"100%"},R:[{F:"g",T:{"clip-path":"url(#clip0)",fill:"#fff"},R:[{F:"path",T:{d:"M12.57.98C6.21.98 1.05 6.14 1.05 12.5c0 6.36 5.16 11.52 11.52 11.52 6.36 0 11.52-5.16 11.52-11.52C24.09 6.14 18.93.98 12.57.98zm0 18.34c-3.77 0-6.82-3.05-6.82-6.82 0-3.77 3.05-6.82 6.82-6.82 3.77 0 6.82 3.05 6.82 6.82 0 3.77-3.05 6.82-6.82 6.82z"}},{F:"path",T:{d:"M12.57 6.52c-3.29 0-5.98 2.68-5.98 5.98 0 3.3 2.68 5.98 5.98 5.98 3.3 0 5.98-2.68 5.98-5.98 0-3.3-2.69-5.98-5.98-5.98zm-2.25 9.38V9.1l5.88 3.4-5.88 3.4z"}}]},
{F:"defs",R:[{F:"clipPath",T:{id:"clip0"},R:[{F:"path",T:{d:"M0 0h24v24H0z",fill:"#fff",transform:"translate(.57 .5)"}}]}]}]});var e={target:c.J},f=["ytp-small-redirect"];if(c.C)f.push("no-link");else{var h=g.bC(c);c.oa&&(h=iYa(h,c.loaderUrl));e.href=h;e["aria-label"]="Visit YouTube to search for more videos"}c=new g.W({F:"a",Ba:f,T:e,R:[d]});c.xa(this.element);g.J(this,c);a.S().C||(this.j=new s2(a),this.j.xa(this.element),g.J(this,this.j));this.P(a,"videodatachange",function(){b.show()});
this.resize(this.api.Ya().getPlayerSize())},jYa=function(a,b){a.ya("ytp-error-content").style.paddingTop="0px";
var c=a.ya("ytp-error-content"),d=c.clientHeight;a.j.resize(b,b.height-d);c.style.paddingTop=(b.height-a.j.element.clientHeight)/2-d/2+"px"},kYa=function(a,b){var c;
b.reason&&(v2(b.reason)?c=g.Iv(b.reason):c=g.AJ(g.Hv(b.reason)),a.Jd(c,"content"));var d;b.subreason&&(v2(b.subreason)?d=g.Iv(b.subreason):d=g.AJ(g.Hv(b.subreason)),a.Jd(d,"subreason"));if(b.proceedButton&&b.proceedButton.buttonRenderer&&(c=a.ya("ytp-error-content-wrap-subreason"),d=b.proceedButton.buttonRenderer,b=g.zg("A"),d.text&&d.text.simpleText)){var e=d.text.simpleText;b.textContent=e;a:{for(var f=g.og("A",c),h=0;h<f.length;h++)if(f[h].textContent===e){e=!0;break a}e=!1}if(!e){var l,m;e=null==
d?void 0:null==(l=d.navigationEndpoint)?void 0:null==(m=l.urlEndpoint)?void 0:m.url;var n,p;l=null==d?void 0:null==(n=d.navigationEndpoint)?void 0:null==(p=n.urlEndpoint)?void 0:p.target;e&&(a=a.api.S(),a.oa&&(e=iYa(e,a.loaderUrl)),b.setAttribute("href",e));l&&b.setAttribute("target",l);a=g.zg("DIV");a.appendChild(b);c.appendChild(a)}}},v2=function(a){if(a.runs)for(var b=0;b<a.runs.length;b++)if(a.runs[b].navigationEndpoint)return!0;
return!1},iYa=function(a,b){var c={};
g.nI(c,b);return g.Mh(a,c)},w2=function(a,b){g.W.call(this,{F:"a",
Ba:["ytp-impression-link"],T:{target:"{{target}}",href:"{{url}}","aria-label":"Watch on YouTube"},R:[{F:"div",L:"ytp-impression-link-content",T:{"aria-hidden":"true"},R:[{F:"div",L:"ytp-impression-link-text",Z:"Watch on"},{F:"div",L:"ytp-impression-link-logo",R:[p2()]}]}]});this.api=a;this.u=b;this.Ha("target",a.S().J);this.api.Bb(this.element,this,96714);this.P(this.api,"presentingplayerstatechange",this.hh);this.P(this.api,"videoplayerreset",this.j);this.P(this.element,"click",this.onClick);this.j()},
lYa=function(a){var b={};
a.api.S().oa&&g.nI(b,a.api.S().loaderUrl);return g.Mh(a.api.getVideoUrl(),g.mI(b,"emb_imp_woyt"))},x2=function(a){g.W.call(this,{F:"div",
Ba:["ytp-mobile-a11y-hidden-seek-button"],R:[{F:"button",Ba:["ytp-mobile-a11y-hidden-seek-button-rewind","ytp-button"],T:{"aria-label":"Rewind 10 seconds","aria-hidden":"false"}},{F:"button",Ba:["ytp-mobile-a11y-hidden-seek-button-forward","ytp-button"],T:{"aria-label":"Fast forward 10 seconds","aria-hidden":"false"}}]});this.api=a;this.j=this.ya("ytp-mobile-a11y-hidden-seek-button-rewind");this.forwardButton=this.ya("ytp-mobile-a11y-hidden-seek-button-forward");this.api.Bb(this.j,this,141902);this.api.Bb(this.forwardButton,
this,141903);this.P(this.api,"presentingplayerstatechange",this.hh);this.P(this.j,"click",this.u);this.P(this.forwardButton,"click",this.B);this.hh()},y2=function(a){g.W.call(this,{F:"div",
L:"ytp-muted-autoplay-endscreen-overlay",R:[{F:"div",L:"ytp-muted-autoplay-end-panel",R:[{F:"div",L:"ytp-muted-autoplay-end-text",Z:"{{text}}"}]}]});this.api=a;this.B=this.ya("ytp-muted-autoplay-end-panel");this.j=new g.sJ(this.api);g.J(this,this.j);this.j.xa(this.B,0);this.api.Bb(this.element,this,52428);this.P(this.api,"presentingplayerstatechange",this.u);this.Ma("click",this.onClick);this.hide()},z2=function(a){g.W.call(this,{F:"div",
L:"ytp-muted-autoplay-overlay",R:[{F:"div",L:"ytp-muted-autoplay-bottom-buttons",R:[{F:"button",Ba:["ytp-muted-autoplay-equalizer","ytp-button"],R:[{F:"div",Ba:["ytp-muted-autoplay-equalizer-icon"],R:[{F:"svg",T:{height:"100%",version:"1.1",viewBox:"-4 -4 24 24",width:"100%"},R:[{F:"g",T:{fill:"#fff"},R:[{F:"rect",L:"ytp-equalizer-bar-left",T:{height:"9",width:"4",x:"1",y:"7"}},{F:"rect",L:"ytp-equalizer-bar-middle",T:{height:"14",width:"4",x:"6",y:"2"}},{F:"rect",L:"ytp-equalizer-bar-right",T:{height:"12",
width:"4",x:"11",y:"4"}}]}]}]}]}]}]});this.api=a;this.bottomButtons=this.ya("ytp-muted-autoplay-bottom-buttons");this.ya("ytp-muted-autoplay-equalizer");this.B=new g.K(this.u,4E3,this);a.Bb(this.element,this,39306);this.P(a,"presentingplayerstatechange",this.j);this.P(a,"onMutedAutoplayStarts",this.j);this.Ma("click",this.onClick);this.hide()},A2=function(a,b){g.W.call(this,{F:"div",
L:"ytp-pause-overlay",T:{tabIndex:"-1"}});var c=this;this.api=a;this.I=b;this.j=new g.kz(this);this.C=new g.hH(this,1E3,!1,100);this.B=[];this.suggestionData=[];this.containerWidth=0;this.D=!1;this.W=0;this.title=new g.W({F:"h2",L:"ytp-related-title",Z:"{{title}}"});this.previous=new g.W({F:"button",Ba:["ytp-button","ytp-previous"],T:{"aria-label":"Show previous suggested videos"},R:[g.BG()]});this.N=new q2(function(f){c.suggestions.element.scrollLeft=-f});
this.V=this.tileWidth=this.u=0;this.next=new g.W({F:"button",Ba:["ytp-button","ytp-next"],T:{"aria-label":"Show more suggested videos"},R:[g.CG()]});this.expandButton=new g.W({F:"button",Ba:["ytp-button","ytp-expand"],Z:"More videos"});g.J(this,this.j);g.J(this,this.C);b=a.S();"0"===b.controlsType&&g.N(a.getRootNode(),"ytp-pause-overlay-controls-hidden");this.J=b.j;g.J(this,this.title);this.title.xa(this.element);this.suggestions=new g.W({F:"div",L:"ytp-suggestions"});g.J(this,this.suggestions);this.suggestions.xa(this.element);
g.J(this,this.previous);this.previous.xa(this.element);this.previous.Ma("click",this.CU,this);g.J(this,this.N);for(a={ot:0};16>a.ot;a={ot:a.ot},a.ot++){var d=new g.W({F:"a",L:"ytp-suggestion-link",T:{href:"{{link}}",target:b.J,"aria-label":"{{aria_label}}"},R:[{F:"div",L:"ytp-suggestion-image"},{F:"div",L:"ytp-suggestion-overlay",T:{style:"{{blink_rendering_hack}}","aria-hidden":"{{aria_hidden}}"},R:[{F:"div",L:"ytp-suggestion-title",Z:"{{title}}"},{F:"div",L:"ytp-suggestion-author",Z:"{{author_and_views}}"},
{F:"div",T:{"data-is-live":"{{is_live}}"},L:"ytp-suggestion-duration",Z:"{{duration}}"}]}]});g.J(this,d);d.xa(this.suggestions.element);var e=d.ya("ytp-suggestion-link");g.al(e,"transitionDelay",a.ot/20+"s");this.j.P(e,"click",function(f){return function(h){var l=f.ot;if(1E3>(0,g.R)()-c.W)g.ot(h),document.activeElement.blur();else{l=c.suggestionData[l];var m=l.sessionData;g.uJ(h,c.api,c.J,m||void 0)&&c.api.vl(l.videoId,m,l.playlistId)}}}(a));
this.B.push(d)}g.J(this,this.next);this.next.xa(this.element);this.next.Ma("click",this.BU,this);b=new g.W({F:"button",Ba:["ytp-button","ytp-collapse"],T:{"aria-label":"Hide more videos"},R:[g.fBa()]});g.J(this,b);b.xa(this.element);b.Ma("click",this.vY,this);g.J(this,this.expandButton);this.expandButton.xa(this.element);this.expandButton.Ma("click",this.wY,this);this.j.P(this.api,"appresize",this.wb);this.j.P(this.api,"fullscreentoggled",this.Wn);this.j.P(this.api,"presentingplayerstatechange",this.Wc);
this.j.P(this.api,"videodatachange",this.onVideoDataChange);this.wb(this.api.Ya().getPlayerSize());this.onVideoDataChange()},B2=function(a){var b=a.I.Jf()?32:16;
b=a.V/2+b;a.next.element.style.bottom=b+"px";a.previous.element.style.bottom=b+"px";b=a.u;var c=a.containerWidth-a.suggestionData.length*(a.tileWidth+8);g.O(a.element,"ytp-scroll-min",0<=b);g.O(a.element,"ytp-scroll-max",b<=c)},mYa=function(a){for(var b=0;b<a.suggestionData.length;b++){var c=a.suggestionData[b],d=a.B[b],e=c.shortViewCount?c.author+" \u2022 "+c.shortViewCount:c.author;
d.element.style.display="";g.wTa.test(c.title)&&(d.ya("ytp-suggestion-title").dir="rtl");g.wTa.test(e)&&(d.ya("ytp-suggestion-author").dir="rtl");var f=c.isLivePlayback?"Live":c.lengthSeconds?g.vH(c.lengthSeconds):"";var h=c.mm();if(g.YA(a.api.S())){var l={};a.api.S().oa&&g.nI(l,a.api.S().loaderUrl);h=g.Mh(h,g.mI(l,"emb_rel_pause"))}d.update({author_and_views:e,duration:f,link:h,title:c.title,aria_label:c.ariaLabel||null,is_live:c.isLivePlayback,aria_hidden:!(!c.ariaLabel||a.api.S().K("embeds_rv_aria_hidden_killswitch")),
blink_rendering_hack:g.oz||g.WA?"will-change: opacity":void 0});d=d.ya("ytp-suggestion-image");c=c.zf();d.style.backgroundImage=c?"url("+c+")":""}for(;b<a.B.length;b++)a.B[b].element.style.display="none";B2(a)},C2=function(a){var b=a.S();
g.W.call(this,{F:"a",Ba:["ytp-watermark","yt-uix-sessionlink"],T:{target:b.J,href:"{{url}}","aria-label":g.gF("Watch on $WEBSITE",{WEBSITE:g.tB(b)}),"data-sessionlink":"feature=player-watermark"},R:[p2()]});this.api=a;this.j=null;this.u=!1;this.state=a.xb();a.Bb(this.element,this,76758);this.P(a,"videodatachange",this.mK);this.P(a,"videodatachange",this.onVideoDataChange);this.P(a,"presentingplayerstatechange",this.onStateChange);this.P(a,"appresize",this.wb);b=this.state;this.state!==b&&(this.state=
b);this.mK();this.onVideoDataChange();this.wb(a.Ya().getPlayerSize())},D2=function(a){g.WI.call(this,a);
this.G=a;this.j=new g.kz(this);g.J(this,this.j);this.load()},E2=function(a,b){a={adSource:"EMBEDS_AD_SOURCE_YOUTUBE",
breakType:0===a.G.getCurrentTime()?"EMBEDS_AD_BREAK_TYPE_PRE_ROLL":0===a.G.getPlayerState()?"EMBEDS_AD_BREAK_TYPE_POST_ROLL":"EMBEDS_AD_BREAK_TYPE_MID_ROLL",embedUrl:g.Tda(a.G.S().loaderUrl),eventType:b,youtubeHost:g.Gh(a.G.S().Y)||""};g.vr("embedsAdEvent",a)};
g.w(q2,g.I);q2.prototype.start=function(a,b,c){this.from=a;this.j=b;this.duration=c;this.startTime=(0,g.R)();this.next()};
q2.prototype.next=function(){var a=(0,g.R)()-this.startTime;var b=this.u;a=gYa(b,a/this.duration);if(0==a)b=b.J;else if(1==a)b=b.N;else{var c=g.Zf(b.J,b.D,a),d=g.Zf(b.D,b.I,a);b=g.Zf(b.I,b.N,a);c=g.Zf(c,d,a);d=g.Zf(d,b,a);b=g.Zf(c,d,a)}b=g.Xf(b,0,1);this.callback((this.j-this.from)*b+this.from);1>b&&this.delay.start()};g.w(s2,g.W);g.k=s2.prototype;g.k.hide=function(){this.I=!0;g.W.prototype.hide.call(this)};
g.k.show=function(){this.I=!1;g.W.prototype.show.call(this)};
g.k.isHidden=function(){return this.I};
g.k.zU=function(){this.scrollTo(this.j-this.containerWidth)};
g.k.AU=function(){this.scrollTo(this.j+this.containerWidth)};
g.k.resize=function(a,b){var c=this.api.S(),d=16/9,e=650<=a.width,f=480>a.width||290>a.height,h=Math.min(this.suggestionData.length,this.u.length);if(150>=Math.min(a.width,a.height)||0===h||!c.Jc)this.hide();else{var l;if(e){var m=l=28;this.B=16}else this.B=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.B;m=Math.floor(l/d);b&&m+100>b&&50<l&&(m=Math.max(b,50/d),l=Math.ceil(a/(d*(m-100)+this.B)),l=a/l-this.B,
m=Math.floor(l/d));50>l||g.FI(this.api)?this.hide():this.show();for(b=0;b<h;b++){d=this.u[b];var q=d.ya("ytp-suggestion-image");q.style.width=l+"px";q.style.height=m+"px";d.ya("ytp-suggestion-title").style.width=l+"px";d.ya("ytp-suggestion-author").style.width=l+"px";d=d.ya("ytp-suggestion-duration");d.style.display=d&&100>l?"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.j=0;r2(this);this.suggestions.element.scrollLeft=
-0;t2(this)}};
g.k.onVideoDataChange=function(){var a=this.api.getVideoData(),b=this.api.S();this.J=a.D?!1:b.j;a.suggestions?this.suggestionData=g.cm(a.suggestions,function(c){return c&&!c.playlistId}):this.suggestionData.length=0;
hYa(this);a.D?this.title.update({title:g.gF("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.Xf(a,this.containerWidth-r2(this),0);this.N.start(this.j,a,1E3);this.j=a;t2(this)};g.w(u2,g.zJ);u2.prototype.show=function(){g.zJ.prototype.show.call(this);jYa(this,this.api.Ya().getPlayerSize())};
u2.prototype.resize=function(a){g.zJ.prototype.resize.call(this,a);this.j&&(jYa(this,a),g.O(this.element,"related-on-error-overlay-visible",!this.j.isHidden()))};
u2.prototype.u=function(a){g.zJ.prototype.u.call(this,a);var b=this.api.getVideoData();if(b.qG||b.playerErrorMessageRenderer)(a=b.qG)?kYa(this,a):b.playerErrorMessageRenderer&&kYa(this,b.playerErrorMessageRenderer);else{var c;a.Ck&&(b.Qr?v2(b.Qr)?c=g.Iv(b.Qr):c=g.AJ(g.Hv(b.Qr)):c=g.AJ(a.Ck),this.Jd(c,"subreason"))}};g.w(w2,g.W);w2.prototype.hh=function(){this.api.xb().isCued()||(this.hide(),this.api.Wa(this.element,!1))};
w2.prototype.j=function(){var a=this.api.getVideoData(),b=this.api.S(),c=this.api.getVideoData().D,d=b.Nc,e=!b.Jc,f=this.u.gg(),h=g.iB(b);b=b.C;d||f||c||e||h||b||!a.videoId?(this.hide(),this.api.Wa(this.element,!1)):(a=lYa(this),this.Ha("url",a),this.show())};
w2.prototype.onClick=function(a){var b=lYa(this);g.vJ(b,this.api,a);this.api.sb(this.element)};
w2.prototype.show=function(){this.api.xb().isCued()&&(g.W.prototype.show.call(this),this.api.In(this.element)&&this.api.Wa(this.element,!0))};g.w(x2,g.W);x2.prototype.hh=function(){var a=this.api.xb();!this.api.Qf()||g.V(a,2)&&g.CI(this.api)||g.V(a,64)?(this.api.Wa(this.j,!1),this.api.Wa(this.forwardButton,!1),this.hide()):(this.show(),this.api.Wa(this.j,!0),this.api.Wa(this.forwardButton,!0))};
x2.prototype.u=function(){this.api.seekBy(-10*this.api.getPlaybackRate());this.api.sb(this.j)};
x2.prototype.B=function(){this.api.seekBy(10*this.api.getPlaybackRate());this.api.sb(this.forwardButton)};g.w(y2,g.W);y2.prototype.u=function(){var a=this.api.xb(),b=this.api.getVideoData();this.api.S().K("embeds_enable_muted_autoplay")&&b.mutedAutoplay&&(g.V(a,2)&&!this.ob?(this.show(),this.j.show(),a=this.api.getVideoData(),this.Ha("text",a.QL),g.O(this.element,"ytp-muted-autoplay-show-end-panel",!0),this.api.Wa(this.element,this.ob),this.api.La("onMutedAutoplayEnds")):this.hide())};
y2.prototype.onClick=function(){var a=this.api.getVideoData(),b=this.api.getCurrentTime();a.mutedAutoplay=!1;a.endSeconds=NaN;g.pD(a);this.api.loadVideoById(a.videoId,b);this.api.sb(this.element);this.hide()};g.w(z2,g.W);z2.prototype.j=function(){var a=this.api.xb(),b=this.api.getVideoData();this.api.S().K("embeds_enable_muted_autoplay")&&b.mutedAutoplay&&!g.V(a,2)?this.ob||(g.W.prototype.show.call(this),this.B.start(),this.api.Wa(this.element,this.ob)):this.hide()};
z2.prototype.u=function(){g.O(this.element,"ytp-muted-autoplay-hide-watermark",!0)};
z2.prototype.onClick=function(){var a=this.api.getVideoData(),b=this.api.getCurrentTime();a.mutedAutoplay=!1;a.endSeconds=NaN;g.pD(a);this.api.loadVideoById(a.videoId,b);this.api.sb(this.element)};g.w(A2,g.W);g.k=A2.prototype;g.k.hide=function(){g.go(this.api.getRootNode(),"ytp-expand-pause-overlay");g.W.prototype.hide.call(this)};
g.k.vY=function(){this.D=!0;g.go(this.api.getRootNode(),"ytp-expand-pause-overlay");this.expandButton.focus()};
g.k.wY=function(){this.D=!1;g.N(this.api.getRootNode(),"ytp-expand-pause-overlay");this.focus()};
g.k.BU=function(){this.scrollTo(this.u-this.containerWidth)};
g.k.CU=function(){this.scrollTo(this.u+this.containerWidth)};
g.k.Wn=function(){this.wb(this.api.Ya().getPlayerSize())};
g.k.Wc=function(a){if(!(g.V(a.state,1)||g.V(a.state,16)||g.V(a.state,32))){var b=!this.api.S().K("embeds_disable_pauseoverlay_on_autoplay_blocked_killswitch")&&g.V(a.state,1024);!g.V(a.state,4)||g.V(a.state,2)||b?this.C.hide():this.suggestionData.length&&(this.D||(g.N(this.api.getRootNode(),"ytp-expand-pause-overlay"),B2(this)),this.C.show(),this.W=(0,g.R)())}};
g.k.wb=function(a){var b=16/9,c=this.I.Jf();a=a.width-(c?112:58);c=Math.ceil(a/(c?320:192));c=(a-8*c)/c;b=Math.floor(c/b);for(var d=0;d<this.B.length;d++){var e=this.B[d].ya("ytp-suggestion-image");e.style.width=c+"px";e.style.height=b+"px"}this.suggestions.element.style.height=b+"px";this.tileWidth=c;this.V=b;this.containerWidth=a;this.u=0;this.suggestions.element.scrollLeft=-0;B2(this)};
g.k.onVideoDataChange=function(){var a=this.api.S(),b=this.api.getVideoData();this.J=b.D?!1:a.j;b.suggestions?this.suggestionData=g.cm(b.suggestions,function(c){return c&&!c.playlistId}):this.suggestionData.length=0;
mYa(this);b.D?this.title.update({title:g.gF("More videos from $DNI_RELATED_CHANNEL",{DNI_RELATED_CHANNEL:b.author})}):this.title.update({title:"More videos"})};
g.k.scrollTo=function(a){a=g.Xf(a,this.containerWidth-this.suggestionData.length*(this.tileWidth+8),0);this.N.start(this.u,a,1E3);this.u=a;B2(this)};g.w(C2,g.W);g.k=C2.prototype;g.k.mK=function(){var a=this.api.getVideoData(),b=this.api.getVideoData(1).D,c=this.api.S();a=(a.mutedAutoplay||c.Nc&&!g.V(this.state,2))&&!(b&&c.pfpChazalUi);g.wG(this,a);this.api.Wa(this.element,a)};
g.k.onStateChange=function(a){a=a.state;this.state!==a&&(this.state=a);this.mK()};
g.k.onVideoDataChange=function(){if(this.api.getVideoData().videoId){var a=this.api.getVideoUrl(!0,!1,!1,!0);this.Ha("url",a);this.j||(this.j=this.Ma("click",this.onClick))}else this.j&&(this.Ha("url",null),this.vc(this.j),this.j=null)};
g.k.onClick=function(a){var b=this.api.getVideoUrl(!g.wH(a),!1,!0,!0);g.vJ(b,this.api,a);this.api.sb(this.element)};
g.k.wb=function(a){if((a=480>a.width)&&!this.u||!a&&this.u){var b=new g.W(p2()),c=this.ya("ytp-watermark");g.O(c,"ytp-watermark-small",a);g.Bg(c);b.xa(c);this.u=a}};g.w(D2,g.WI);g.k=D2.prototype;g.k.hj=function(){return!1};
g.k.create=function(){var a=this.G.S(),b=g.yI(this.G),c,d=null==(c=this.G.getVideoData())?void 0:c.clientPlaybackNonce;d&&g.pw("cpn",d);a.Jc&&!a.C&&(this.I=new A2(this.G,b),g.J(this,this.I),g.II(this.G,this.I.element,4));a.K("embeds_enable_muted_autoplay")&&(this.u=new z2(this.G),g.J(this,this.u),g.II(this.G,this.u.element,4),this.D=new y2(this.G),g.J(this,this.D),g.II(this.G,this.D.element,4));if(a.Nc||this.u)this.watermark=new C2(this.G),g.J(this,this.watermark),g.II(this.G,this.watermark.element,
8);this.B=new w2(this.G,b);g.J(this,this.B);g.II(this.G,this.B.element,8);a.isMobile&&(this.C=new x2(this.G),g.J(this,this.C),g.II(this.G,this.C.element,4));this.j.P(this.G,"appresize",this.wb);this.j.P(this.G,"presentingplayerstatechange",this.hh);this.j.P(this.G,"videodatachange",this.t1);this.j.P(this.G,"onMutedAutoplayStarts",this.onMutedAutoplayStarts);this.j.P(this.G,"onAdStart",this.onAdStart);this.j.P(this.G,"onAdComplete",this.onAdComplete);this.j.P(this.G,"onAdSkip",this.onAdSkip);this.j.P(this.G,
"onAdStateChange",this.onAdStateChange);this.Rb(this.G.xb());this.player.lf("embed")};
g.k.wb=function(){var a=this.G.Ya().getPlayerSize();this.qf&&this.qf.resize(a)};
g.k.hh=function(a){this.Rb(a.state)};
g.k.Rb=function(a){g.V(a,128)?(this.qf||(this.qf=new u2(this.G),g.J(this,this.qf),g.II(this.G,this.qf.element,4)),this.qf.u(a.getData()),this.qf.show(),g.N(this.G.getRootNode(),"ytp-embed-error")):this.qf&&(this.qf.dispose(),this.qf=null,g.go(this.G.getRootNode(),"ytp-embed-error"))};
g.k.onMutedAutoplayStarts=function(){this.G.getVideoData().mutedAutoplay&&this.u&&this.watermark&&this.watermark.xa(this.u.bottomButtons,0)};
g.k.t1=function(){var a=this.G.getVideoData();this.watermark&&this.u&&!a.mutedAutoplay&&g.Fg(this.u.element,this.watermark.element)&&g.II(this.G,this.watermark.element,8)};
g.k.onAdStart=function(){E2(this,"EMBEDS_AD_EVENT_TYPE_AD_STARTED")};
g.k.onAdComplete=function(){E2(this,"EMBEDS_AD_EVENT_TYPE_AD_COMPLETED")};
g.k.onAdSkip=function(){E2(this,"EMBEDS_AD_EVENT_TYPE_AD_SKIPPED")};
g.k.onAdStateChange=function(a){2===a&&E2(this,"EMBEDS_AD_EVENT_TYPE_AD_PAUSED")};g.VI("embed",D2);})(_yt_player);

}

/*
     FILE ARCHIVED ON 02:37:05 Jun 03, 2022 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 22:29:32 Jul 22, 2026.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  capture_cache.get: 0.475
  load_resource: 286.856 (2)
  PetaboxLoader3.resolve: 128.623 (2)
  PetaboxLoader3.datanode: 56.357 (2)
*/