(function(g){var window=this;/* SPDX-License-Identifier: Apache-2.0 */ /* 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.io/license */ /* Copyright 2017 Google LLC SPDX-License-Identifier: BSD-3-Clause */ 'use strict';var Srb=function(a){a.mutedAutoplay=!1;a.endSeconds=NaN;a.limitedPlaybackDurationInSeconds=NaN;g.JS(a)},Trb=function(){return{I:"svg", X:{height:"100%",version:"1.1",viewBox:"0 0 110 26",width:"100%"},V:[{I:"path",Ec:!0,S:"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"}}]}}, Urb=function(){return{I:"svg", X:{fill:"none",height:"51",viewBox:"0 0 143 51",width:"143"},V:[{I:"path",X:{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"}},{I:"path",X:{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"}},{I:"path",X:{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"}},{I:"path",X:{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"}},{I:"path",X:{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"}},{I:"path",X:{"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"}}]}},Vrb=function(){},c5=function(a,b){for(;a.length>b;)a.pop()},Wrb=function(a){a=Array(a); c5(a,0);return a},Xrb=function(a,b,c){if(null==c)a.removeAttribute(b); else{var d=0===b.lastIndexOf("xml:",0)?"http://www.w3.org/XML/1998/namespace":0===b.lastIndexOf("xlink:",0)?"http://www.w3.org/1999/xlink":null;d?a.setAttributeNS(d,b,c):a.setAttribute(b,c)}},Zrb=function(a,b,c){a=a.style; if("string"===typeof c)a.cssText=c;else{a.cssText="";for(var d in c)if(Yrb.call(c,d)){b=a;var e=d,f=c[d];0<=e.indexOf("-")?b.setProperty(e,f):b[e]=f}}},$rb=function(a,b,c){var d=typeof c; "object"===d||"function"===d?a[b]=c:Xrb(a,b,c)},asb=function(){var a=new Vrb; a.__default=$rb;a.style=Zrb;return a},bsb=function(a,b,c,d){(d[b]||d.__default)(a,b,c)},csb=function(a){this.created=[]; this.j=[];this.node=a},dsb=function(a,b){this.j=null; this.B=a;this.key=b;this.text=void 0},esb=function(a,b,c){b=new dsb(b,c); return a.__incrementalDOMData=b},d5=function(a,b){if(a.__incrementalDOMData)return a.__incrementalDOMData; var c=1===a.nodeType?a.localName:a.nodeName,d=1===a.nodeType?a.getAttribute("key"):null;b=esb(a,c,1===a.nodeType?d||b:null);if(1===a.nodeType&&(a=a.attributes,c=a.length)){d=b.j||(b.j=Wrb(2*c));for(var e=0,f=0;e "),b=a.message+"\n\nComponent stack: "+b,a.stack&&(a.stack=a.stack.replace(a.message,b)),a.message=b,a[osb]=!0)},t5=function(a){this.props=a; this.C=!1},v5=function(a,b){var c=u5; u5=a;try{return b()}finally{u5=c}},psb=function(a,b){return Object.is(a,b)},w5=function(a){var b=qsb; qsb=a;return b},rsb=function(a){a.Yl=!0; if(void 0!==a.bk){var b=x5;x5=!0;try{for(var c=g.u(a.bk),d=c.next();!d.done;d=c.next()){var e=d.value;e.Yl||rsb(e)}}finally{x5=b}}var f;null==(f=a.IW)||f.call(a,a)},ssb=function(a){a&&(a.CQ=0); return w5(a)},vsb=function(a,b){w5(b); if(a&&void 0!==a.vk&&void 0!==a.Nr&&void 0!==a.rB){if(tsb(a))for(b=a.CQ;ba.CQ;)a.vk.pop(),a.rB.pop(),a.Nr.pop()}},wsb=function(a){y5(a); for(var b=0;bp-l)for(q=a[h];lc.bA;c={bA:c.bA},c.bA++){var d=new g.W({I:"a",S:"ytp-suggestion-link",X:{href:"{{link}}",target:a.Y,"aria-label":"{{aria_label}}"},V:[{I:"div",S:"ytp-suggestion-image",V:[{I:"div",X:{"data-is-live":"{{is_live}}"},S:"ytp-suggestion-duration",xa:"{{duration}}"}]},{I:"div",S:"ytp-suggestion-title",X:{title:"{{hover_title}}"},xa:"{{title}}"},{I:"div",S:"ytp-suggestion-author",xa:"{{views_or_author}}"}]});g.N(this,d);d.Ja(this.suggestions.element); var e=d.Ga("ytp-suggestion-link");g.Fs(e,"transitionDelay",c.bA/20+"s");this.G.T(e,"click",function(f){return function(h){var l=f.bA,m=b.suggestionData[l],n=m.sessionData;g.DR(b.api.U())&&b.api.L("web_player_log_click_before_generating_ve_conversion_params")?(b.api.logClick(b.j[l].element),l=m.Ok(),m={},g.jXa(b.api,m,"emb_rel_err"),l=g.Sn(l,m),g.oU(l,b.api,h)):g.nU(h,b.api,b.Y,n||void 0)&&b.api.Mo(m.videoId,n,m.playlistId)}}(c)); this.j.push(d)}g.N(this,this.next);this.next.Ja(this.element);this.next.listen("click",this.Q3,this);this.G.T(this.api,"videodatachange",this.onVideoDataChange);this.resize(this.api.ob().getPlayerSize());this.onVideoDataChange();this.show()},aub=function(a,b){if(a.api.U().L("web_player_log_click_before_generating_ve_conversion_params"))for(var c=Math.floor(-a.C/(a.D+a.B)),d=Math.min(c+a.columns,a.suggestionData.length)-1;c<=d;c++)a.api.logVisibility(a.j[c].element,b)},bub=function(a){a.next.element.style.bottom= a.K+"px"; a.previous.element.style.bottom=a.K+"px";var b=a.C,c=a.containerWidth-a.suggestionData.length*(a.D+a.B);g.Dv(a.element,"ytp-scroll-min",0<=b);g.Dv(a.element,"ytp-scroll-max",b<=c)},cub=function(a){for(var b=0;b=b&&a.j?g6(a):a.j&&a.j.start()}},g6=function(a){a.j&&(a.j.dispose(),a.j=null,a.B=!1)},rub=function(a){g.uV.call(this,a); this.J=a;this.j=new g.dK(this);this.B=null;this.N=!1;this.countdownTimer=null;this.Y=!1;qub(this);g.N(this,this.j);this.load()},tub=function(a){var b=g.Mib(a.J); b!==a.Y&&(a.Y=b,a.G&&(a.G.dispose(),a.G=null),a.C&&(a.C.dispose(),a.C=null),a.D&&(a.D.dispose(),a.D=null),a.B&&(a.B.stop(),a.B.dispose(),a.B=null),b&&(b=g.KT(a.J),a.J.Wc()&&(a.D=new g.W({I:"div",S:"ytp-pause-overlay-backdrop",X:{tabIndex:"-1"}}),g.N(a,a.D),g.WT(a.J,a.D.element,4),a.B=new g.MF(a.D,1E3,!1,100),g.N(a,a.B),a.D.hide()),a.G=new g.W({I:"div",S:"ytp-pause-overlay-container",X:{tabIndex:"-1"}}),g.N(a,a.G),a.J.L("embeds_web_enable_keto_pause_overlay")?Etb(a.G.element,J5(Ztb,{J:a.J,Qe:b})): (a.C=new e6(a.J,b),g.N(a,a.C),a.C.Ja(a.G.element)),g.WT(a.J,a.G.element,4),sub(a,a.J.getPlayerStateObject())))},sub=function(a,b){a.B&&(!g.SF(b,4)&&!g.SF(b,2)||g.SF(b,1024)?a.B.hide():a.B.show())},qub=function(a){var b=a.J; a=!!b.Wc();g.Dv(b.getRootNode(),"ytp-shorts-mode",a);if(b=b.getVideoData())b.GV=a},h6=function(a,b){var c=a.J.U(); a={adSource:"EMBEDS_AD_SOURCE_YOUTUBE",breakType:0===a.J.getCurrentTime()?"EMBEDS_AD_BREAK_TYPE_PRE_ROLL":0===a.J.getPlayerState()?"EMBEDS_AD_BREAK_TYPE_POST_ROLL":"EMBEDS_AD_BREAK_TYPE_MID_ROLL",embedUrl:g.xfa(a.J.U().loaderUrl),eventType:b,youtubeHost:g.Mn(a.J.U().Fa)||""};a.embeddedPlayerMode=c.Ea;g.qC("embedsAdEvent",a)};var Yrb=Object.prototype.hasOwnProperty;Vrb.prototype=Object.create(null);var Itb=asb();var n5=null;var isb="undefined"!==typeof Node&&Node.prototype.getRootNode||function(){for(var a=this,b=a;a;)b=a,a=a.parentNode;return b};var g5=null,i5=null,e5=null,k5=null,l5=[],j5=fsb,m5=[],Gtb=function(a){return jsb(function(b,c,d){e5=i5=b;i5=null;c(d);h5(null);i5=e5;e5=e5.parentNode;return b},a)}(),Ftb=function(a){return jsb(function(b,c,d){var e={nextSibling:b}; i5=e;c(d);e5&&h5(b.nextSibling);return e===i5?null:i5},a)}();var o5=[],Jtb=0;var $5=new Vrb;var r5={attributes:asb(),Sz:function(a,b){throw b;}, m7:!0,jea:g.Zib,hea:g.$ib};var p5=[],osb=Symbol("comp_stack_added");var G5=Symbol("IS_VNODE");t5.prototype.CD=function(){}; t5.prototype.b7=function(){}; t5.prototype.sI=function(){}; t5.prototype.c7=function(){};var F5={unb:function(){}, Ipb:function(){}, ynb:function(){}, iW:function(){}, vnb:function(){}, b7:function(){}, CD:function(){}, sI:function(){}, c7:function(){}};var u5=null;var qsb=null,x5=!1,zsb=Symbol("SIGNAL"),z5={version:0,TY:0,Yl:!1,vk:void 0,rB:void 0,Nr:void 0,CQ:0,bk:void 0,Rw:void 0,VN:!1,HW:!1,W_:function(){return!1}, X_:function(){}, IW:function(){}, Knb:function(){}};var uub=Symbol("UNSET"),vub=Symbol("COMPUTING"),wub=Symbol("ERRORED");Object.assign({},z5,{value:uub,Yl:!0,error:null,fX:psb,W_:function(a){return a.value===uub||a.value===vub}, X_:function(a){if(a.value===vub)throw Error("Detected cycle in computations.");var b=a.value;a.value=vub;var c=ssb(a);try{var d=a.Inb()}catch(e){d=wub,a.error=e}finally{vsb(a,c)}b!==uub&&b!==wub&&d!==wub&&a.fX(b,d)?a.value=b:(a.value=d,a.version++)}});Object.assign({},z5,{fX:psb,value:void 0});var xsb=Object.assign({},z5,{HW:!0,VN:!1,IW:function(a){null!==a.schedule&&a.schedule(a.xB)}, oY:!1,gz:ysb});var Gsb=Bsb(!1);var Csb={};var ltb=Bsb(!0);var D5=null;g.y(E5,t5);E5.prototype.Ix=function(a){var b=this,c=D5;D5=this;this.D=0;try{return s5(function(){return A5(ltb,function(){return v5(b.wI,function(){return b.B(a)})})})}finally{D5=c}};var Lsb=[];(function(){var a=n5;n5=function(b){null==a||a(b);Msb(b)}})(); var I5=Nsb;var S5;var Htb=Symbol("ATTR_TAG_VALUE");var T5=Symbol("reactiveData");var Rsb=new Set,R5=new Set;var gtb=new Set("allowfullscreen async autofocus autoplay checked controls default defer disabled formnovalidate hidden ismap itemscope jsshadow jsslot loop multiple muted novalidate open playsinline readonly required reversed scoped seamless selected spellcheck sortable typemustmatch".split(" "));var ctb={align:1,alt:1,"aria-activedescendant":10,"aria-atomic":1,"aria-autocomplete":1,"aria-busy":1,"aria-checked":1,"aria-controls":10,"aria-current":1,"aria-disabled":1,"aria-dropeffect":1,"aria-expanded":1,"aria-haspopup":1,"aria-hidden":1,"aria-invalid":1,"aria-label":1,"aria-labelledby":10,"aria-level":1,"aria-live":1,"aria-multiline":1,"aria-multiselectable":1,"aria-orientation":1,"aria-owns":10,"aria-posinset":1,"aria-pressed":1,"aria-readonly":1,"aria-relevant":1,"aria-required":1,"aria-selected":1, "aria-setsize":1,"aria-sort":1,"aria-valuemax":1,"aria-valuemin":1,"aria-valuenow":1,"aria-valuetext":1,async:8,autocapitalize:1,autocomplete:1,autocorrect:1,autofocus:1,autoplay:1,bgcolor:1,border:1,cellpadding:1,cellspacing:1,checked:1,cite:3,"class":1,color:1,cols:1,colspan:1,contenteditable:1,controls:1,datetime:1,dir:8,disabled:1,download:1,draggable:1,enctype:1,face:1,"for":10,formenctype:1,frameborder:1,height:1,hidden:1,href:4,hreflang:1,id:10,ismap:1,itemid:1,itemprop:1,itemref:1,itemscope:1, itemtype:1,label:1,lang:1,list:10,loading:8,loop:1,max:1,maxlength:1,media:1,min:1,minlength:1,multiple:1,muted:1,name:10,nonce:1,open:1,placeholder:1,poster:3,preload:1,rel:1,required:1,reversed:1,role:1,rows:1,rowspan:1,selected:1,shape:1,size:1,sizes:1,slot:1,span:1,spellcheck:1,src:4,srcset:12,start:1,step:1,style:5,summary:1,tabindex:1,target:8,title:1,translate:1,type:1,valign:1,value:1,width:1,wrap:1},btb={a:{href:[{qd:3}]},area:{href:[{qd:3}]},audio:{src:[{qd:3}]},button:{formaction:[{qd:3}], formmethod:[{qd:1}]},form:{action:[{qd:3}],method:[{qd:1}]},iframe:{srcdoc:[{qd:2}]},img:{src:[{qd:3}],srcset:[{qd:11}]},input:{accept:[{qd:1}],formaction:[{qd:3}],formmethod:[{qd:1}],pattern:[{qd:1}],readonly:[{qd:1}],src:[{qd:3}]},link:{href:[{qd:3,oi:"rel",Fi:"alternate"},{qd:3,oi:"rel",Fi:"author"},{qd:3,oi:"rel",Fi:"bookmark"},{qd:3,oi:"rel",Fi:"canonical"},{qd:3,oi:"rel",Fi:"cite"},{qd:3,oi:"rel",Fi:"help"},{qd:3,oi:"rel",Fi:"icon"},{qd:3,oi:"rel",Fi:"license"},{qd:3,oi:"rel",Fi:"next"},{qd:3, oi:"rel",Fi:"prefetch"},{qd:3,oi:"rel",Fi:"dns-prefetch"},{qd:3,oi:"rel",Fi:"prerender"},{qd:3,oi:"rel",Fi:"preconnect"},{qd:3,oi:"rel",Fi:"preload"},{qd:3,oi:"rel",Fi:"prev"},{qd:3,oi:"rel",Fi:"search"},{qd:3,oi:"rel",Fi:"subresource"}]},script:{defer:[{qd:1}]},source:{src:[{qd:3}],srcset:[{qd:11}]},textarea:{readonly:[{qd:1}]},video:{src:[{qd:3}]}};var xub=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,i6={},etb=(i6[1]={Sq:null,Qt:null,xs:null},i6[2]={Sq:function(){return g.ee.toString()}, Qt:function(a){return a instanceof g.me}, xs:function(a){return g.ne(a)}},i6[3]={Sq:function(a,b,c){return xub.test(c)?c:g.ee.toString()}, Qt:function(a){return a instanceof g.Zd}, xs:function(a){return g.$d(a)}},i6[4]={Sq:function(){return g.ee.toString()}, Qt:function(a){return a instanceof g.Ud}, xs:function(a){return g.Vd(a)}},i6[5]={Sq:null, Qt:function(a){return a instanceof g.ke}, xs:function(a){return a.toString()}},i6[7]={Sq:null, Qt:null,xs:null},i6[8]={Sq:null,Qt:null,xs:null},i6[10]={Sq:null,Qt:null,xs:null},i6);var yub=asb(),itb=yub.__default,jtb=yub.style,htb=["focusin","focusout"];var qtb=mtb;S5=rtb;(function(a){var b={},c;for(c in a)b={P_:void 0,EZ:void 0},b.P_=F5[c],b.EZ=a[c],F5[c]=function(d){return function(){var e=g.Ia.apply(0,arguments);d.P_.apply(null,g.qa(e));d.EZ.apply(null,g.qa(e))}}(b)})({iW:function(a){v5(a.wI,function(){var b; (null==(b=a.Ty)?0:b.length)&&Atb(a.Ty)})}, CD:function(a){v5(a.wI,function(){var b;(null==(b=a.Ty)?0:b.length)&&Atb(a.Ty)})}, sI:function(a){var b;(null==(b=a.Xz)?0:b.length)&&a.Xz.forEach(ztb)}});S5=rtb;var zub={},Aub=(zub.__default=function(){return V5},zub.style=function(){return V5},zub),j6; for(j6 in Aub)r5.attributes[j6]=Aub[j6](r5.attributes[j6]);var Stb=[],Ttb=!1;g.y($tb,g.W);g.k=$tb.prototype;g.k.hide=function(){this.N=!0;g.W.prototype.hide.call(this);aub(this,!1)}; g.k.show=function(){this.N=!1;g.W.prototype.show.call(this);aub(this,!0)}; g.k.isHidden=function(){return this.N}; g.k.Q3=function(){this.scrollTo(this.C-this.containerWidth)}; g.k.R3=function(){this.scrollTo(this.C+this.containerWidth)}; g.k.resize=function(a,b){var c=this.api.U(),d=16/9,e=650<=a.width,f=480>a.width||290>a.height,h=Math.min(this.suggestionData.length,this.j.length);if(150>=Math.min(a.width,a.height)||0===h||!c.xd)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);m=a/l-this.B;var q=Math.floor(m/d);b&&q+100>b&&50m||g.TT(this.api)?this.hide():this.show();for(b=0;bm?"none":""}h=e+n+p+4;this.K=h+c+(q-f)/2;this.suggestions.element.style.height=q+h+"px";this.D=m;this.containerWidth=a;this.columns=l;this.C=0;this.suggestions.element.scrollLeft= -0;bub(this)}}; g.k.onVideoDataChange=function(){var a=this.api.getVideoData(),b=this.api.U();this.Y=a.Hf?!1:b.D;a.suggestions?this.suggestionData=g.Nt(a.suggestions,function(c){return c&&!c.playlistId}):this.suggestionData.length=0; cub(this);a.Hf?this.title.update({title:g.rJ("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.ye(a,this.containerWidth-this.suggestionData.length*(this.D+this.B),0);this.qa.start(this.C,a,1E3);this.C=a;bub(this);aub(this,!0)};g.y(a6,g.RV);a6.prototype.show=function(){g.RV.prototype.show.call(this);eub(this,this.api.ob().getPlayerSize())}; a6.prototype.resize=function(a){g.RV.prototype.resize.call(this,a);this.j&&(eub(this,a),g.Dv(this.element,"related-on-error-overlay-visible",!this.j.isHidden()))}; a6.prototype.B=function(a){g.RV.prototype.B.call(this,a);var b=this.api.getVideoData();if(b.UC||b.playerErrorMessageRenderer)(a=b.UC)?hub(this,a):b.playerErrorMessageRenderer&&hub(this,b.playerErrorMessageRenderer);else{var c;a.qn&&(b.Jy?fub(b.Jy)?c=g.mF(b.Jy):c=g.SV(g.lF(b.Jy)):c=g.SV(a.qn),this.Jd(c,"subreason"))}};g.y(iub,g.W);g.k=iub.prototype;g.k.onVideoDataChange=function(){var a=this.api.getVideoData(),b=Trb(),c=96714;g.yT(a)&&(b=Urb(),c=216165);this.updateValue("logoSvg",b);this.api.hasVe(this.element)&&this.api.destroyVe(this.element);this.api.createClientVe(this.element,this,c)}; g.k.hk=function(){this.api.getPlayerStateObject().isCued()||(this.hide(),this.api.logVisibility(this.element,!1))}; g.k.ZT=function(){var a=this.api.getVideoData(),b=this.api.U(),c=this.api.getVideoData().Hf,d=b.Rd,e=!b.xd,f=this.Qe.Kg();b=b.C;d||f||c||e||b||this.api.Wc()||!a.videoId?(this.hide(),this.api.logVisibility(this.element,!1)):(a=jub(this),this.updateValue("url",a),this.show())}; g.k.onClick=function(a){this.api.L("web_player_log_click_before_generating_ve_conversion_params")&&this.api.logClick(this.element);var b=jub(this);g.oU(b,this.api,a);this.api.L("web_player_log_click_before_generating_ve_conversion_params")||this.api.logClick(this.element)}; g.k.show=function(){this.api.getPlayerStateObject().isCued()&&(g.W.prototype.show.call(this),this.api.hasVe(this.element)&&this.api.logVisibility(this.element,!0))};g.y(b6,g.W);b6.prototype.hk=function(){var a=this.api.getPlayerStateObject();!this.api.Wh()||g.SF(a,2)&&g.QT(this.api)||g.SF(a,64)?(this.api.logVisibility(this.j,!1),this.api.logVisibility(this.forwardButton,!1),this.hide()):(this.show(),this.api.logVisibility(this.j,!0),this.api.logVisibility(this.forwardButton,!0))}; b6.prototype.B=function(){this.api.seekBy(-10*this.api.getPlaybackRate(),void 0,void 0,83);this.api.logClick(this.j)}; b6.prototype.C=function(){this.api.seekBy(10*this.api.getPlaybackRate(),void 0,void 0,82);this.api.logClick(this.forwardButton)};g.y(c6,g.W);c6.prototype.C=function(){var a=this.api.getPlayerStateObject();this.api.getVideoData().mutedAutoplay&&(g.SF(a,2)&&!this.Fb?(this.show(),this.j||(this.j=new g.PV(this.api),g.N(this,this.j),this.j.Ja(this.D,0),this.j.show()),a=this.api.getVideoData(),this.updateValue("text",a.CT),g.Dv(this.element,"ytp-muted-autoplay-show-end-panel",!0),this.api.logVisibility(this.element,this.Fb),this.api.zc("onMutedAutoplayEnds")):this.hide())}; c6.prototype.onClick=function(){if(!this.B){this.j&&(this.j.va(),this.j=null);g.Dv(this.api.getRootNode(),"ytp-muted-autoplay",!1);var a=this.api.getVideoData(),b=this.api.getCurrentTime();Srb(a);this.api.loadVideoById(a.videoId,b);this.api.DA();this.api.logClick(this.element);this.hide();this.B=!0}}; c6.prototype.onMutedAutoplayStarts=function(){this.B=!1;this.j&&(this.j.va(),this.j=null)};g.y(d6,g.W);g.k=d6.prototype;g.k.onStateChange=function(a){this.Dc(a.state)}; g.k.Dc=function(a){this.state!==a&&(this.state=a);kub(this)}; g.k.onVideoDataChange=function(){var a=this.api.U();a.C&&g.zv(this.element,"ytp-no-hover");var b=this.api.getVideoData();b.videoId&&!a.C?(a=this.api.getVideoUrl(!0,!1,!1,!0),this.updateValue("url",a),this.j||(this.j=this.listen("click",this.onClick))):this.j&&(this.updateValue("url",null),this.Nc(this.j),this.j=null);a=Trb();var c=76758;g.yT(b)&&(a=Urb(),c=216164);this.updateValue("logoSvg",a);this.api.hasVe(this.element)&&this.api.destroyVe(this.element);this.api.createClientVe(this.element,this, c);kub(this)}; g.k.onClick=function(a){this.api.L("web_player_log_click_before_generating_ve_conversion_params")&&this.api.logClick(this.element);var b=this.api.getVideoUrl(!g.cG(a),!1,!0,!0);if(this.api.L("web_player_log_click_before_generating_ve_conversion_params")){var c={};g.ET(this.api,"addEmbedsConversionTrackingParams",[c]);b=g.Sn(b,g.YO(c,"emb_yt_watermark"))}g.oU(b,this.api,a);this.api.L("web_player_log_click_before_generating_ve_conversion_params")||this.api.logClick(this.element)}; g.k.dc=function(a){if((a=480>a.width)&&!this.B||!a&&this.B){var b=new g.W(Trb()),c=this.Ga("ytp-watermark");g.Dv(c,"ytp-watermark-small",a);g.Df(c);b.Ja(c);this.B=a}};g.y(nub,g.W);g.k=nub.prototype;g.k.qM=function(){var a=this.api.getPlayerStateObject();!this.api.getVideoData().mutedAutoplay||g.SF(a,2)?this.hide():this.Fb||(g.W.prototype.show.call(this),this.api.logVisibility(this.element,this.Fb))}; g.k.X8=function(){this.j&&this.j.hide()}; g.k.onAutoplayBlocked=function(){this.hide();Srb(this.api.getVideoData())}; g.k.onClick=function(){if(!this.B){g.Dv(this.api.getRootNode(),"ytp-muted-autoplay",!1);var a=this.api.getVideoData(),b=this.api.getCurrentTime();Srb(a);this.api.loadVideoById(a.videoId,b);this.api.DA();this.api.logClick(this.element);this.api.zc("onMutedAutoplayEnds");this.B=!0}}; g.k.onMutedAutoplayEnds=function(){this.watermark&&(this.watermark.va(),this.watermark=null)};g.y(e6,g.W);e6.prototype.hide=function(){g.Bv(this.api.getRootNode(),"ytp-expand-pause-overlay");g.W.prototype.hide.call(this)}; e6.prototype.G=function(){this.B=!0;g.Bv(this.api.getRootNode(),"ytp-expand-pause-overlay");this.api.Wc()&&this.api.logVisibility(this.element,!1);this.expandButton.focus()}; e6.prototype.K=function(){this.B=!1;g.zv(this.api.getRootNode(),"ytp-expand-pause-overlay");this.api.Wc()&&this.api.logVisibility(this.element,!0);this.focus()}; e6.prototype.Ta=function(){var a=this.api.getPlayerStateObject();g.SF(a,1)||g.SF(a,16)||g.SF(a,32)||(!g.SF(a,4)||g.SF(a,2)||g.SF(a,1024)?(this.B||this.api.logVisibility(this.element,!1),this.D.hide()):0b.limitedPlaybackDurationInSeconds||g.TT(this.J)||(b=Math.max(1E3*(b.startSeconds+b.limitedPlaybackDurationInSeconds-5),0), b=new g.kJ(b,b+5E3,{id:"countdown timer",namespace:"embeds"}),this.J.jf([b]))),this.J.U().bb&&(qub(this),tub(this)));this.J.U().C&&this.C&&this.C.detach()}; g.k.onAdStart=function(){h6(this,"EMBEDS_AD_EVENT_TYPE_AD_STARTED")}; g.k.onAdComplete=function(){h6(this,"EMBEDS_AD_EVENT_TYPE_AD_COMPLETED")}; g.k.onAdSkip=function(){h6(this,"EMBEDS_AD_EVENT_TYPE_AD_SKIPPED")}; g.k.onAdStateChange=function(a){2===a&&h6(this,"EMBEDS_AD_EVENT_TYPE_AD_PAUSED")};g.tV("embed",rub);})(_yt_player);