(function(g){var window=this;'use strict';var UA=function(K){var W=K.V();g.y.call(this,{T:"a",Hp:["ytp-watermark","yt-uix-sessionlink"],B:{target:W.jV,href:"{{url}}","aria-label":g.BB("Watch on $WEBSITE",{WEBSITE:g.$b(W)}),"data-sessionlink":"feature=player-watermark"},bX:"{{logoSvg}}"});this.api=K;this.j=null;this.X=!1;this.state=K.getPlayerStateObject();this.S(K,"videodatachange",this.onVideoDataChange);this.S(K,"presentingplayerstatechange",this.onStateChange);this.S(K,"appresize",this.IW);this.onVideoDataChange();this.Bl(this.state); this.IW(K.xx().getPlayerSize())},hU=function(K){g.To.call(this,K); var W=this;this.j=null;var U=K.V(),h={target:U.jV},m=["ytp-small-redirect"];if(U.N)m.push("no-link");else{var S=g.pw(U);h.href=S;h["aria-label"]="Visit YouTube to search for more videos"}var f=new g.y({T:"a",Hp:m,B:h,K:[{T:"svg",B:{fill:"#fff",height:"100%",viewBox:"0 0 24 24",width:"100%"},K:[{T:"path",B:{d:"M0 0h24v24H0V0z",fill:"none"}},{T:"path",B:{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"}}]}]}); f.U5(this.element);K.createClientVe(f.element,this,178053);this.S(f.element,"click",function(G){zR4(W,G,f.element)}); g.k(this,f);U.N||U.disableOrganicUi||(this.j=new NrN(K),this.j.U5(this.element),g.k(this,this.j));this.S(K,"videodatachange",function(){W.show()}); this.resize(this.api.xx().getPlayerSize())},jX=function(K){g.y.call(this,{T:"div", Hp:["ytp-player-content","ytp-iv-player-content"],K:[{T:"div",Z:"ytp-countdown-timer",K:[{T:"svg",B:{height:"100%",version:"1.1",viewBox:"0 0 72 72",width:"100%"},K:[{T:"circle",Z:"ytp-svg-countdown-timer-ring",B:{cx:"-36",cy:"36","fill-opacity":"0",r:"33.5",stroke:"#FFFFFF","stroke-dasharray":"211","stroke-dashoffset":"-211","stroke-width":"4",transform:"rotate(-90)"}},{T:"circle",Z:"ytp-svg-countdown-timer-background",B:{cx:"-36",cy:"36","fill-opacity":"0",r:"33.5",stroke:"#FFFFFF","stroke-opacity":"0.3", "stroke-width":"4",transform:"rotate(-90)"}}]},{T:"span",Z:"ytp-countdown-timer-time",bX:"{{duration}}"}]}]});this.api=K;this.G=this.yH("ytp-svg-countdown-timer-ring");this.j=null;this.W=this.N=0;this.X=!1;this.U=0;this.api.createClientVe(this.element,this,159628)},yy3=function(K){g.y.call(this,{T:"div", Z:"ytp-muted-autoplay-overlay",K:[{T:"div",Z:"ytp-muted-autoplay-bottom-buttons",K:[{T:"button",Hp:["ytp-muted-autoplay-equalizer","ytp-button"],B:{"aria-label":"Muted Playback Indicator"},K:[{T:"div",Hp:["ytp-muted-autoplay-equalizer-icon"],K:[{T:"svg",B:{height:"100%",version:"1.1",viewBox:"-4 -4 24 24",width:"100%"},K:[{T:"g",B:{fill:"#fff"},K:[{T:"rect",Z:"ytp-equalizer-bar-left",B:{height:"9",width:"4",x:"1",y:"7"}},{T:"rect",Z:"ytp-equalizer-bar-middle",B:{height:"14",width:"4",x:"6",y:"2"}}, {T:"rect",Z:"ytp-equalizer-bar-right",B:{height:"12",width:"4",x:"11",y:"4"}}]}]}]}]}]}]});var W=this;this.api=K;this.bottomButtons=this.yH("ytp-muted-autoplay-bottom-buttons");this.N=new g.QC(this.oxx,4E3,this);this.X=!1;K.createClientVe(this.element,this,39306);this.S(K,"presentingplayerstatechange",this.a$);this.S(K,"onMutedAutoplayStarts",function(){Ayh(W);W.a$();RRt(W);W.X=!1}); this.S(K,"onAutoplayBlocked",this.onAutoplayBlocked);this.listen("click",this.onClick);this.S(K,"onMutedAutoplayEnds",this.onMutedAutoplayEnds);this.hide();K.isMutedByEmbedsMutedAutoplay()&&(Ayh(this),this.a$(),RRt(this));g.k(this,this.N)},MAO=function(K){K.mutedAutoplay=!1; K.endSeconds=NaN;K.limitedPlaybackDurationInSeconds=NaN;g.NZ(K)},PeO=function(K,W){g.y.call(this,{T:"a", Hp:["ytp-impression-link"],B:{target:"{{target}}",href:"{{url}}","aria-label":"Watch on YouTube"},K:[{T:"div",Z:"ytp-impression-link-content",B:{"aria-hidden":"true"},K:[{T:"div",Z:"ytp-impression-link-text",bX:"Watch on"},{T:"div",Z:"ytp-impression-link-logo",bX:"{{logoSvg}}"}]}]});this.api=K;this.j=W;this.updateValue("target",K.V().jV);this.S(K,"videodatachange",this.onVideoDataChange);this.S(this.api,"presentingplayerstatechange",this.dg);this.S(this.api,"videoplayerreset",this.bU);this.S(this.element, "click",this.onClick);this.onVideoDataChange();this.bU()},oHh=function(K){for(var W=0;W=0);g.JM(K.element,"ytp-scroll-max",W<=U)},Ayh=function(K){K.watermark||(K.watermark=new UA(K.api),g.k(K,K.watermark),K.watermark.U5(K.bottomButtons,0),g.JM(K.watermark.element,"ytp-muted-autoplay-watermark",!0),K.j=new g.Wr(K.watermark,0,!0,100),g.k(K,K.j))},tU=function(K){g.y.call(this,{T:"div", Hp:["ytp-mobile-a11y-hidden-seek-button"],K:[{T:"button",Hp:["ytp-mobile-a11y-hidden-seek-button-rewind","ytp-button"],B:{"aria-label":"Rewind 10 seconds","aria-hidden":"false"}},{T:"button",Hp:["ytp-mobile-a11y-hidden-seek-button-forward","ytp-button"],B:{"aria-label":"Fast forward 10 seconds","aria-hidden":"false"}}]});this.api=K;this.j=this.yH("ytp-mobile-a11y-hidden-seek-button-rewind");this.forwardButton=this.yH("ytp-mobile-a11y-hidden-seek-button-forward");this.api.createClientVe(this.j,this, 141902);this.api.createClientVe(this.forwardButton,this,141903);this.S(this.api,"presentingplayerstatechange",this.dg);this.S(this.j,"click",this.X);this.S(this.forwardButton,"click",this.N);this.dg()},Wyb=function(){return{T:"svg", B:{fill:"none",height:"100%",viewBox:"0 0 143 51",width:"100%"},K:[{T:"path",B:{d:"M58.37 41.39H62.79V27.23C62.79 23.03 62.69 18.69 62.43 13.59H62.93L63.69 16.89L68.67 41.39H73.17L78.07 16.89L78.89 13.59H79.37C79.15 18.45 79.03 22.89 79.03 27.23V41.39H83.45V8.79H75.95L73.41 20.81C72.35 25.85 71.51 32.01 71.01 35.19H70.73C70.33 31.95 69.49 25.81 68.41 20.85L65.81 8.79H58.37V41.39Z",fill:"white"}},{T:"path",B:{d:"M91.45 41.73C93.91 41.73 95.83 40.59 97.17 38.13H97.35L97.69 41.39H101.43V17.73H96.47V36.61C95.91 37.67 94.81 38.29 93.73 38.29C92.33 38.29 91.89 37.17 91.89 35.13V17.73H86.93V35.43C86.93 39.49 88.19 41.73 91.45 41.73Z", fill:"white"}},{T:"path",B:{d:"M110.79 41.89C115.15 41.89 117.75 39.83 117.75 35.65C117.75 31.79 115.93 30.39 111.85 27.47C109.67 25.91 108.39 25.09 108.39 22.95C108.39 21.47 109.27 20.61 110.89 20.61C112.69 20.61 113.33 21.81 113.33 25.29L117.45 25.07C117.77 19.57 115.71 17.23 110.97 17.23C106.57 17.23 104.17 19.27 104.17 23.45C104.17 27.25 105.97 28.83 108.93 31.03C111.89 33.23 113.55 34.53 113.55 36.23C113.55 37.75 112.51 38.61 111.01 38.61C109.13 38.61 108.11 36.97 108.29 34.41L104.21 34.49C103.51 39.25 105.89 41.89 110.79 41.89Z", fill:"white"}},{T:"path",B:{d:"M122.5 14.59C124.22 14.59 125.04 13.99 125.04 11.59C125.04 9.33 124.16 8.65 122.5 8.65C120.84 8.65 119.94 9.27 119.94 11.59C119.94 13.99 120.82 14.59 122.5 14.59ZM120.2 41.39H125V17.73H120.2V41.39Z",fill:"white"}},{T:"path",B:{d:"M134.95 41.79C137.31 41.79 138.63 41.49 139.71 40.47C141.31 39.01 141.97 36.63 141.85 33.11L137.41 32.87C137.41 36.87 136.81 38.45 135.03 38.45C133.13 38.45 132.77 36.45 132.77 31.97V27.21C132.77 22.41 133.23 20.51 135.07 20.51C136.67 20.51 137.29 22.01 137.29 26.47L141.65 26.15C141.97 22.93 141.59 20.29 140.09 18.83C139.01 17.77 137.37 17.29 135.15 17.29C129.65 17.29 127.75 20.73 127.75 28.03V31.17C127.75 38.47 129.23 41.79 134.95 41.79Z", fill:"white"}},{T:"path",B:{"clip-rule":"evenodd",d:"M24.99 49C29.74 49.00 34.38 47.59 38.32 44.95C42.27 42.32 45.35 38.57 47.17 34.18C48.98 29.80 49.46 24.97 48.53 20.32C47.61 15.66 45.32 11.38 41.97 8.03C38.61 4.67 34.33 2.38 29.68 1.46C25.02 .53 20.20 1.01 15.81 2.82C11.43 4.64 7.68 7.71 5.04 11.66C2.40 15.61 1 20.25 1 25C0.99 28.15 1.61 31.27 2.82 34.18C4.03 37.09 5.79 39.74 8.02 41.97C10.25 44.19 12.89 45.96 15.81 47.17C18.72 48.37 21.84 49 24.99 49ZM24.99 12.36C27.49 12.36 29.94 13.10 32.02 14.48C34.10 15.87 35.72 17.84 36.68 20.15C37.64 22.46 37.89 25.01 37.41 27.46C36.92 29.91 35.72 32.17 33.95 33.94C32.18 35.70 29.93 36.91 27.48 37.40C25.02 37.89 22.48 37.64 20.17 36.68C17.86 35.72 15.88 34.10 14.50 32.02C13.11 29.94 12.37 27.50 12.37 25C12.37 21.65 13.70 18.44 16.07 16.07C18.43 13.70 21.64 12.37 24.99 12.36ZM24.99 10.43C22.11 10.43 19.29 11.28 16.89 12.88C14.50 14.48 12.63 16.76 11.53 19.42C10.42 22.09 10.13 25.02 10.70 27.85C11.26 30.67 12.65 33.27 14.69 35.31C16.73 37.35 19.32 38.73 22.15 39.30C24.98 39.86 27.91 39.57 30.57 38.46C33.23 37.36 35.51 35.49 37.11 33.09C38.71 30.70 39.57 27.88 39.56 25C39.56 23.08 39.19 21.19 38.46 19.42C37.72 17.65 36.65 16.04 35.30 14.69C33.94 13.34 32.34 12.27 30.57 11.53C28.80 10.80 26.90 10.43 24.99 10.43ZM32.63 24.99L20.36 32.09V17.91L32.63 24.99Z", fill:"white","fill-rule":"evenodd"}}]}},RRt=function(K){K.Xo&&K.j&&(K.j.show(),K.N.start())},lob=function(K){if(K.runs)for(var W=0;W=650,S=K.width<480||K.height<290,f=Math.min(this.suggestionData.length,this.j.length);if(Math.min(K.width,K.height)<=150||f===0||!U.Ny)this.hide();else{var G;if(m){var I=G=28;this.X=16}else this.X=I=G=8;if(S){var d=6;m=14;var J=12;S=24;U=12}else d=8,m=18,J=16,S=36,U=16;K=K.width-(48+G+I);G=Math.ceil(K/150);G=Math.min(3,G);I=K/G-this.X;var e=Math.floor(I/h);W&&e+100>W&&I>50&&(e=Math.max(W,50/h),G=Math.ceil(K/(h*(e-100)+this.X)),I=K/G-this.X, e=Math.floor(I/h));I<50||g.Gj(this.api)?this.hide():this.show();for(W=0;W