(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var n;function aa(a){var b=0;return function(){return b=f}}); u("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=sa(this,b,"startsWith");b+="";for(var e=d.length,f=b.length,g=Math.max(0,Math.min(c|0,d.length)),h=0;h=f}}); function w(a,b){return Object.prototype.hasOwnProperty.call(a,b)} var ta="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c>>0),Ga=0;function Ha(a,b,c){return a.call.apply(a.bind,arguments)} function Ja(a,b,c){if(!a)throw Error();if(2c?null:"string"===typeof a?a.charAt(c):a[c]} function Sa(a,b){var c=Na(a,b);0<=c&&Array.prototype.splice.call(a,c,1)} function Ta(a){var b=a.length;if(0")&&(a=a.replace(tb,">"));-1!=a.indexOf('"')&&(a=a.replace(ub,"""));-1!=a.indexOf("'")&&(a=a.replace(vb,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(wb,"�"))}return a} var rb=/&/g,sb=//g,ub=/"/g,vb=/'/g,wb=/\x00/g,xb=/[\x00&<>"']/;function G(a,b){this.f=a===yb&&b||"";this.g=zb} G.prototype.J=!0;G.prototype.I=function(){return this.f.toString()}; G.prototype.ha=!0;G.prototype.ea=function(){return 1}; function Ab(a){if(a instanceof G&&a.constructor===G&&a.g===zb)return a.f;za(a);return"type_error:SafeUrl"} var Bb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;function Cb(a){if(a instanceof G)return a;a="object"==typeof a&&a.J?a.I():String(a);Bb.test(a)||(a="about:invalid#zClosurez");return new G(yb,a)} var zb={},yb={};var Db;a:{var Eb=x.navigator;if(Eb){var Fb=Eb.userAgent;if(Fb){Db=Fb;break a}}Db=""}function H(a){return-1!=Db.indexOf(a)} ;function Gb(){this.f="";this.h=Hb;this.g=null} Gb.prototype.ha=!0;Gb.prototype.ea=function(){return this.g}; Gb.prototype.J=!0;Gb.prototype.I=function(){return this.f.toString()}; function Ib(a){if(a instanceof Gb&&a.constructor===Gb&&a.h===Hb)return a.f;za(a);return"type_error:SafeHtml"} var Hb={};function Jb(a,b){var c=new Gb;c.f=a;c.g=b;return c} Jb("",0);var Lb=Jb("",0);Jb("
",0);function Mb(a,b){var c=b instanceof G?b:Cb(b);a.href=Ab(c)} function Nb(a,b){a.src=ob(b);if(null===wa)b:{var c=x.document;if((c=c.querySelector&&c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&va.test(c)){wa=c;break b}wa=""}c=wa;c&&a.setAttribute("nonce",c)} ;function Ob(a){return a=qb(a,void 0)} function Pb(a){for(var b=0,c=0;c>>0;return b} ;var Qb=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function I(a){return a?decodeURI(a):a} function J(a,b){return b.match(Qb)[a]||null} function Rb(a,b,c){if(Array.isArray(b))for(var d=0;dd&&(d=a.length);var e=a.indexOf("?");if(0>e||e>d){e=d;var f=""}else f=a.substring(e+1,d);d=[a.substr(0,e),f,a.substr(d)];e=d[1];d[1]=c?e?e+"&"+c:c:e;c=d[0]+(d[1]?"?"+d[1]:"")+d[2]}else c=a;return c} var Ub=/#|$/;function Vb(a,b){var c=a.search(Ub);a:{var d=0;for(var e=b.length;0<=(d=a.indexOf(b,d))&&dd)return null;e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.substr(d,e-d).replace(/\+/g," "))} ;function Wb(a){this.f=Ma(a.url,a.ub)} ;var Xb=H("Opera"),Yb=H("Trident")||H("MSIE"),Zb=H("Edge"),$b=H("Gecko")&&!(-1!=Db.toLowerCase().indexOf("webkit")&&!H("Edge"))&&!(H("Trident")||H("MSIE"))&&!H("Edge"),ac=-1!=Db.toLowerCase().indexOf("webkit")&&!H("Edge");function bc(){var a=x.document;return a?a.documentMode:void 0} var cc;a:{var dc="",ec=function(){var a=Db;if($b)return/rv:([^\);]+)(\)|;)/.exec(a);if(Zb)return/Edge\/([\d\.]+)/.exec(a);if(Yb)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(ac)return/WebKit\/(\S+)/.exec(a);if(Xb)return/(?:Version)[ \/]?(\S+)/.exec(a)}(); ec&&(dc=ec?ec[1]:"");if(Yb){var fc=bc();if(null!=fc&&fc>parseFloat(dc)){cc=String(fc);break a}}cc=dc}var gc=cc,hc;if(x.document&&Yb){var ic=bc();hc=ic?ic:parseInt(gc,10)||void 0}else hc=void 0;var jc=hc;var kc={},lc=null;var L=window;function mc(a){var b=z("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if("string"===typeof a)return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(f){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||x.$googDebugFname||b}catch(f){e="Not available",c=!0}return!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:(b=a.message,null==b&&(a.constructor&& a.constructor instanceof Function?(a.constructor.name?b=a.constructor.name:(b=a.constructor,nc[b]?b=nc[b]:(b=String(b),nc[b]||(c=/function\s+([^\(]+)/m.exec(b),nc[b]=c?c[1]:"[Anonymous]"),b=nc[b])),b='Unknown Error of type "'+b+'"'):b="Unknown Error of unknown type"),{message:b,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:a.stack||"Not available"})} var nc={};function oc(a){this.f=a||{cookie:""}} n=oc.prototype;n.isEnabled=function(){return navigator.cookieEnabled}; n.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.wb;d=c.secure||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.ma}if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');void 0===h&&(h=-1);c=f?";domain="+f:"";g=g?";path="+g:"";d=d?";secure":"";h=0>h?"":0==h?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(C()+1E3*h)).toUTCString();this.f.cookie=a+"="+b+c+g+h+d+(null!=e?";samesite="+e: "")}; n.get=function(a,b){for(var c=a+"=",d=(this.f.cookie||"").split(";"),e=0,f;e");f=f.join("")}f=xc(e,f);g&&("string"===typeof g?f.className=g:Array.isArray(g)?f.className=g.join(" "):uc(f,g));2r;r+=4)v[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;80>r;r++)p=v[r-3]^v[r-8]^v[r-14]^v[r-16],v[r]=(p<<1|p>>>31)&4294967295;p=e[0];var B=e[1],K=e[2],na=e[3],Oc=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var Ia=na^B&(K^na);var Kb=1518500249}else Ia=B^K^na,Kb=1859775393;else 60>r?(Ia=B&K|na&(B|K),Kb=2400959708):(Ia=B^K^na,Kb=3395469782);Ia=((p<<5|p>>>27)&4294967295)+Ia+Oc+Kb+v[r]&4294967295;Oc=na;na=K;K=(B<<30|B>>>2)&4294967295;B=p;p=Ia}e[0]=e[0]+p&4294967295;e[1]= e[1]+B&4294967295;e[2]=e[2]+K&4294967295;e[3]=e[3]+na&4294967295;e[4]=e[4]+Oc&4294967295} function c(p,v){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var r=[],B=0,K=p.length;Bl?c(h,56-l):c(h,64-(l-56));for(var r=63;56<=r;r--)f[r]=v&255,v>>>=8;b(f);for(r=v=0;5>r;r++)for(var B=24;0<=B;B-=8)p[v++]=e[r]>>B&255;return p} for(var e=[],f=[],g=[],h=[128],k=1;64>k;++k)h[k]=0;var l,m;a();return{reset:a,update:c,digest:d,ya:function(){for(var p=d(),v="",r=0;ra&&0===a%1&&this.g[a]!=b&&(this.g[a]=b,this.f=-1)}; Qc.prototype.get=function(a){return!!this.g[a]}; function Rc(a){-1==a.f&&(a.f=Qa(a.g,function(b,c,d){return c?b+Math.pow(2,d):b},0)); return a.f} ;function Sc(a,b){this.h=a;this.i=b;this.g=0;this.f=null} Sc.prototype.get=function(){if(0a.g&&(a.g++,b.next=a.f,a.f=b)} ;function Uc(a){x.setTimeout(function(){throw a;},0)} var Vc; function Wc(){var a=x.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!H("Presto")&&(a=function(){var e=xc(document,"IFRAME");e.style.display="none";e.src=ob(new lb(mb,jb())).toString();document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.write(Ib(Lb));e.close();var g="callImmediate"+Math.random(),h="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=A(function(k){if(("*"==h|| k.origin==h)&&k.data==g)this.port1.onmessage()},this); f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,h)}}}); if("undefined"!==typeof a&&!H("Trident")&&!H("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.la;c.la=null;e()}}; return function(e){d.next={la:e};d=d.next;b.port2.postMessage(0)}}return function(e){x.setTimeout(e,0)}} ;function Xc(){this.g=this.f=null} var Zc=new Sc(function(){return new Yc},function(a){a.reset()}); Xc.prototype.add=function(a,b){var c=Zc.get();c.set(a,b);this.g?this.g.next=c:this.f=c;this.g=c}; Xc.prototype.remove=function(){var a=null;this.f&&(a=this.f,this.f=this.f.next,this.f||(this.g=null),a.next=null);return a}; function Yc(){this.next=this.scope=this.f=null} Yc.prototype.set=function(a,b){this.f=a;this.scope=b;this.next=null}; Yc.prototype.reset=function(){this.next=this.scope=this.f=null};function $c(a,b){ad||bd();cd||(ad(),cd=!0);dd.add(a,b)} var ad;function bd(){if(x.Promise&&x.Promise.resolve){var a=x.Promise.resolve(void 0);ad=function(){a.then(ed)}}else ad=function(){var b=ed; !Ca(x.setImmediate)||x.Window&&x.Window.prototype&&!H("Edge")&&x.Window.prototype.setImmediate==x.setImmediate?(Vc||(Vc=Wc()),Vc(b)):x.setImmediate(b)}} var cd=!1,dd=new Xc;function ed(){for(var a;a=dd.remove();){try{a.f.call(a.scope)}catch(b){Uc(b)}Tc(Zc,a)}cd=!1} ;function fd(){this.g=-1} ;function gd(){this.g=64;this.f=[];this.l=[];this.m=[];this.i=[];this.i[0]=128;for(var a=1;ae;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var f=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(f<<1|f>>>31)&4294967295}b=a.f[0];c=a.f[1];var g=a.f[2],h=a.f[3],k=a.f[4];for(e=0;80>e;e++){if(40>e)if(20>e){f=h^c&(g^h);var l=1518500249}else f=c^g^h,l=1859775393;else 60>e?(f=c&g|h&(c|g),l=2400959708): (f=c^g^h,l=3395469782);f=(b<<5|b>>>27)+f+k+l+d[e]&4294967295;k=h;h=g;g=(c<<30|c>>>2)&4294967295;c=b;b=f}a.f[0]=a.f[0]+b&4294967295;a.f[1]=a.f[1]+c&4294967295;a.f[2]=a.f[2]+g&4294967295;a.f[3]=a.f[3]+h&4294967295;a.f[4]=a.f[4]+k&4294967295} gd.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.g,d=0,e=this.l,f=this.h;dthis.h?this.update(this.i,56-this.h):this.update(this.i,this.g-(this.h-56));for(var c=this.g-1;56<=c;c--)this.l[c]=b&255,b/=256;hd(this,this.l);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.f[c]>>d&255,++b;return a};function M(){this.g=this.g;this.B=this.B} M.prototype.g=!1;M.prototype.dispose=function(){this.g||(this.g=!0,this.o())}; function id(a,b){a.g?b():(a.B||(a.B=[]),a.B.push(b))} M.prototype.o=function(){if(this.B)for(;this.B.length;)this.B.shift()()}; function jd(a){a&&"function"==typeof a.dispose&&a.dispose()} function kd(a){for(var b=0,c=arguments.length;b=a.length)throw pd;if(b in a)return a[b++];b++}}; return c}throw Error("Not implemented");} function sd(a,b){if(Ba(a))try{F(a,b,void 0)}catch(c){if(c!==pd)throw c;}else{a=rd(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==pd)throw c;}}} function td(a){if(Ba(a))return Ta(a);a=rd(a);var b=[];sd(a,function(c){b.push(c)}); return b} ;function ud(a,b){this.h={};this.f=[];this.H=this.g=0;var c=arguments.length;if(12*this.g&&wd(this),!0):!1}; function wd(a){if(a.g!=a.f.length){for(var b=0,c=0;b=d.f.length)throw pd;var f=d.f[b++];return a?f:d.h[f]}; return e};function yd(a){var b=[];zd(new Ad,a,b);return b.join("")} function Ad(){} function zd(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;fC())be.prototype.remove.call(this,a);else return b}};function ce(){} ;function de(){} D(de,ce);de.prototype.clear=function(){var a=td(this.G(!0)),b=this;F(a,function(c){b.remove(c)})};function ee(a){this.f=a} D(ee,de);n=ee.prototype;n.isAvailable=function(){if(!this.f)return!1;try{return this.f.setItem("__sak","1"),this.f.removeItem("__sak"),!0}catch(a){return!1}}; n.set=function(a,b){try{this.f.setItem(a,b)}catch(c){if(0==this.f.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}}; n.get=function(a){a=this.f.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; n.remove=function(a){this.f.removeItem(a)}; n.G=function(a){var b=0,c=this.f,d=new qd;d.next=function(){if(b>=c.length)throw pd;var e=c.key(b++);if(a)return e;e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e}; return d}; n.clear=function(){this.f.clear()}; n.key=function(a){return this.f.key(a)};function fe(){var a=null;try{a=window.localStorage||null}catch(b){}this.f=a} D(fe,ee);function ge(a,b){this.g=a;this.f=null;if(Yb&&!(9<=Number(jc))){he||(he=new ud);this.f=he.get(a);this.f||(b?this.f=document.getElementById(b):(this.f=document.createElement("userdata"),this.f.addBehavior("#default#userData"),document.body.appendChild(this.f)),he.set(a,this.f));try{this.f.load(this.g)}catch(c){this.f=null}}} D(ge,de);var ie={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},he=null;function je(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return ie[b]})} n=ge.prototype;n.isAvailable=function(){return!!this.f}; n.set=function(a,b){this.f.setAttribute(je(a),b);ke(this)}; n.get=function(a){a=this.f.getAttribute(je(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; n.remove=function(a){this.f.removeAttribute(je(a));ke(this)}; n.G=function(a){var b=0,c=this.f.XMLDocument.documentElement.attributes,d=new qd;d.next=function(){if(b>=c.length)throw pd;var e=c[b++];if(a)return decodeURIComponent(e.nodeName.replace(/\./g,"%")).substr(1);e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e}; return d}; n.clear=function(){for(var a=this.f.XMLDocument.documentElement,b=a.attributes.length;0g.status)?g.json().then(k,function(){k(null)}):k(null)}}); b.qa&&0h.status,p=500<=h.status&&600>h.status;if(k||m||p)l=Ye(c,h,b.qb);if(k)a:if(h&&204==h.status)k=!0;else{switch(c){case "XML":k=0==parseInt(l&&l.return_code,10);break a;case "RAW":k=!0;break a}k=!!l}l=l||{};m=b.context||x;k?b.onSuccess&&b.onSuccess.call(m,h,l):b.onError&&b.onError.call(m,h,l);b.ja&&b.ja.call(m,h,l)}},b.method,d,b.headers,b.responseType, b.withCredentials); b.O&&0"',style:"display:none"}),(9==a.nodeType?a:a.ownerDocument||a.document).body.appendChild(a))):e?Xe(a,b,"POST",e,d):Q("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d?Xe(a,b,"GET","",d):ef(a,b)||ff(a,b))} function ef(a,b){if(!qe("web_use_beacon_api_for_ad_click_server_pings"))return!1;if(qe("use_sonic_library_for_v4_support"))try{var c=I(J(5,a));if(!c||!c.endsWith("/aclk")||!(new Wb({url:a})).f)return!1}catch(d){return ve(Error("ClickUrl library throws error, url = "+a)),!1}else if(c=I(J(5,a)),!c||-1==c.indexOf("/aclk")||"1"!==Vb(a,"ae")||"1"!==Vb(a,"act"))return!1;return gf(a)?(b&&b(),!0):!1} function gf(a,b){try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,void 0===b?"":b))return!0}catch(c){}return!1} function ff(a,b){var c=new Image,d=""+cf++;bf[d]=c;c.onload=c.onerror=function(){b&&bf[d]&&b();delete bf[d]}; c.src=a} ;var hf=z("ytPubsubPubsubInstance")||new O;O.prototype.subscribe=O.prototype.subscribe;O.prototype.unsubscribeByKey=O.prototype.N;O.prototype.publish=O.prototype.M;O.prototype.clear=O.prototype.clear;y("ytPubsubPubsubInstance",hf,void 0);var jf=z("ytPubsubPubsubSubscribedKeys")||{};y("ytPubsubPubsubSubscribedKeys",jf,void 0);var kf=z("ytPubsubPubsubTopicToKeys")||{};y("ytPubsubPubsubTopicToKeys",kf,void 0);var lf=z("ytPubsubPubsubIsSynchronous")||{};y("ytPubsubPubsubIsSynchronous",lf,void 0); function mf(a,b){var c=nf();if(c){var d=c.subscribe(a,function(){var e=arguments;var f=function(){jf[d]&&b.apply(window,e)}; try{lf[a]?f():S(f,0)}catch(g){ue(g)}},void 0); jf[d]=!0;kf[a]||(kf[a]=[]);kf[a].push(d);return d}return 0} function of(a){var b=nf();b&&("number"===typeof a?a=[a]:"string"===typeof a&&(a=[parseInt(a,10)]),F(a,function(c){b.unsubscribeByKey(c);delete jf[c]}))} function pf(a,b){var c=nf();c&&c.publish.apply(c,arguments)} function qf(a){var b=nf();if(b)if(b.clear(a),a)rf(a);else for(var c in kf)rf(c)} function nf(){return z("ytPubsubPubsubInstance")} function rf(a){kf[a]&&(a=kf[a],F(a,function(b){jf[b]&&delete jf[b]}),a.length=0)} ;var sf=window,U=sf.ytcsi&&sf.ytcsi.now?sf.ytcsi.now:sf.performance&&sf.performance.timing&&sf.performance.now&&sf.performance.timing.navigationStart?function(){return sf.performance.timing.navigationStart+sf.performance.now()}:function(){return(new Date).getTime()};var tf=Je("initial_gel_batch_timeout",1E3),uf=Math.pow(2,16)-1,vf=null,wf=0,xf={log_event:"events",log_interaction:"interactions"},yf=Object.create(null);yf.log_event="GENERIC_EVENT_LOGGING";yf.log_interaction="INTERACTION_LOGGING";var zf=new Set(["log_event"]),Af={},Bf=0,Cf=0,Df=0,Ef=!0,V=z("ytLoggingTransportLogPayloadsQueue_")||{};y("ytLoggingTransportLogPayloadsQueue_",V,void 0);var Ff=z("ytLoggingTransportTokensToCttTargetIds_")||{};y("ytLoggingTransportTokensToCttTargetIds_",Ff,void 0); var Gf=z("ytLoggingTransportDispatchedStats_")||{};y("ytLoggingTransportDispatchedStats_",Gf,void 0);var Hf=z("ytLoggingTransportCapturedTime_")||{};y("ytytLoggingTransportCapturedTime_",Hf,void 0); function If(){T(Bf);T(Cf);Cf=0;if(!$a(V)){for(var a in V){var b=Af[a];if(b&&b.isReady()){var c=void 0,d=a,e=b,f=xf[d],g=Gf[d]||{};Gf[d]=g;b=Math.round(U());for(c in V[d]){var h=db,k=e.f||Jf();k={client:{hl:k.Ia,gl:k.Ha,clientName:k.Ga,clientVersion:k.innertubeContextClientVersion,configInfo:k.Fa}};var l=window.devicePixelRatio;l&&1!=l&&(k.client.screenDensityFloat=String(l));l=Q("EXPERIMENTS_TOKEN","");""!==l&&(k.client.experimentsToken=l);var m=l=void 0,p=[],v=Q("EXPERIMENTS_FORCED_FLAGS",{});for(m in v)p.push({key:m, value:String(v[m])});m=Q("EXPERIMENT_FLAGS",{});for(l in m)l.startsWith("force_")&&void 0===v[l]&&p.push({key:l,value:String(m[l])});l=p;0uf&&(p=1),P("BATCH_CLIENT_COUNTER", p),l={serializedEventId:l,clientCounter:p},k.serializedClientEventId=l,vf&&wf&&R("log_gel_rtt_web")&&(k.previousBatchInfo={serializedClientEventId:vf,roundtripMs:wf}),vf=l,wf=0;Mf(e,d,h,{retry:zf.has(d),onSuccess:Ka(Nf,U())})}c=g;d=b;c.previousDispatchMs&&(b=d-c.previousDispatchMs,e=c.diffCount||0,c.averageTimeBetweenDispatchesMs=e?((c.averageTimeBetweenDispatchesMs||0)*e+b)/(e+1):b,c.diffCount=e+1);c.previousDispatchMs=d;delete V[a];Ef=!1}}$a(V)||Of()}} function Pf(){var a=[];for(e in V){var b=Gf[e]||{};Gf[e]=b;for(var c in V[e]){var d=Lf(e,c);b.storedEventsCount=b.storedEventsCount||0;b.storedEventsCount+=d.length}}var e=Math.round(U());for(var f in Gf)b=Gf[f],b.eventType=f in yf?yf[f]:"UNKNOWN_TYPE",c=Hf[f],b.metricIntervalMs=c?e-c:e-NaN,a.push(b),Hf[f]=e,delete Gf[f];return a} function Of(){R("web_gel_timeout_cap")&&!Cf&&(Cf=S(If,6E4));T(Bf);var a=Q("LOGGING_BATCH_TIMEOUT",Je("web_gel_debounce_ms",1E4));R("shorten_initial_gel_batch_timeout")&&Ef&&(a=tf);Bf=S(If,a)} function Lf(a,b){b=void 0===b?"":b;V[a]=V[a]||{};V[a][b]=V[a][b]||[];return V[a][b]} function Nf(a){wf=Math.round(U()-a)} ;var Qf=0;y("ytDomDomGetNextId",z("ytDomDomGetNextId")||function(){return++Qf},void 0);var Rf={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}; function Sf(a){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.clientY=this.clientX=0;this.changedTouches=this.touches=null;try{if(a=a||window.event){this.event=a;for(var b in a)b in Rf||(this[b]=a[b]);var c=a.target||a.srcElement;c&&3==c.nodeType&&(c=c.parentNode);this.target=c;var d=a.relatedTarget;if(d)try{d=d.nodeName?d:null}catch(e){d=null}else"mouseover"== this.type?d=a.fromElement:"mouseout"==this.type&&(d=a.toElement);this.relatedTarget=d;this.clientX=void 0!=a.clientX?a.clientX:a.pageX;this.clientY=void 0!=a.clientY?a.clientY:a.pageY;this.keyCode=a.keyCode?a.keyCode:a.which;this.charCode=a.charCode||("keypress"==this.type?this.keyCode:0);this.altKey=a.altKey;this.ctrlKey=a.ctrlKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.f=a.pageX;this.g=a.pageY}}catch(e){}} function Tf(a){if(document.body&&document.documentElement){var b=document.body.scrollTop+document.documentElement.scrollTop;a.f=a.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);a.g=a.clientY+b}} Sf.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())}; Sf.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())}; Sf.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var Za=z("ytEventsEventsListeners")||{};y("ytEventsEventsListeners",Za,void 0);var Uf=z("ytEventsEventsCounter")||{count:0};y("ytEventsEventsCounter",Uf,void 0); function Vf(a,b,c,d){d=void 0===d?{}:d;a.addEventListener&&("mouseenter"!=b||"onmouseenter"in document?"mouseleave"!=b||"onmouseenter"in document?"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"):b="mouseout":b="mouseover");return Ya(function(e){var f="boolean"===typeof e[4]&&e[4]==!!d,g=Da(e[4])&&Da(d)&&bb(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||g)})} var Wf=Va(function(){var a=!1;try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}}); window.addEventListener("test",null,b)}catch(c){}return a}); function W(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Vf(a,b,c,d);if(e)return e;e=++Uf.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var g=f?function(h){h=new Sf(h);if(!Ac(h.relatedTarget,function(k){return k==a}))return h.currentTarget=a,h.type=b,c.call(a,h)}:function(h){h=new Sf(h); h.currentTarget=a;return c.call(a,h)}; g=te(g);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),Wf()||"boolean"===typeof d?a.addEventListener(b,g,d):a.addEventListener(b,g,!!d.capture)):a.attachEvent("on"+b,g);Za[e]=[a,b,c,g,d];return e} function Xf(a){a&&("string"==typeof a&&(a=[a]),F(a,function(b){if(b in Za){var c=Za[b],d=c[0],e=c[1],f=c[3];c=c[4];d.removeEventListener?Wf()||"boolean"===typeof c?d.removeEventListener(e,f,c):d.removeEventListener(e,f,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete Za[b]}}))} ;var Yf=window.ytcsi&&window.ytcsi.now?window.ytcsi.now:window.performance&&window.performance.timing&&window.performance.now&&window.performance.timing.navigationStart?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};function Zf(a){this.w=a;this.f=null;this.j=0;this.m=null;this.l=0;this.h=[];for(a=0;4>a;a++)this.h.push(0);this.i=0;this.D=W(window,"mousemove",A(this.F,this));a=A(this.A,this);Ca(a)&&(a=te(a));this.K=window.setInterval(a,25)} D(Zf,M);Zf.prototype.F=function(a){void 0===a.f&&Tf(a);var b=a.f;void 0===a.g&&Tf(a);this.f=new rc(b,a.g)}; Zf.prototype.A=function(){if(this.f){var a=Yf();if(0!=this.j){var b=this.m,c=this.f,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.j);this.h[this.i]=.5c;c++)b+=this.h[c]||0;3<=b&&this.w();this.l=d}this.j=a;this.m=this.f;this.i=(this.i+1)%4}}; Zf.prototype.o=function(){window.clearInterval(this.K);Xf(this.D)};function $f(){} function ag(a,b){return bg(a,1,b)} ;function cg(){} t(cg,$f);function bg(a,b,c){isNaN(c)&&(c=void 0);var d=z("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),NaN):S(a,c||0)} cg.prototype.start=function(){var a=z("yt.scheduler.instance.start");a&&a()}; cg.prototype.pause=function(){var a=z("yt.scheduler.instance.pause");a&&a()}; ya(cg);cg.getInstance();var dg={}; function eg(a){var b=void 0===a?{}:a;a=void 0===b.Ea?!0:b.Ea;b=void 0===b.Pa?!1:b.Pa;if(null==z("_lact",window)){var c=parseInt(Q("LACT"),10);c=isFinite(c)?C()-Math.max(c,0):-1;y("_lact",c,window);y("_fact",c,window);-1==c&&fg();W(document,"keydown",fg);W(document,"keyup",fg);W(document,"mousedown",fg);W(document,"mouseup",fg);a&&(b?W(window,"touchmove",function(){gg("touchmove",200)},{passive:!0}):(W(window,"resize",function(){gg("resize",200)}),W(window,"scroll",function(){gg("scroll",200)}))); new Zf(function(){gg("mouse",100)}); W(document,"touchstart",fg,{passive:!0});W(document,"touchend",fg,{passive:!0})}} function gg(a,b){dg[a]||(dg[a]=!0,ag(function(){fg();dg[a]=!1},b))} function fg(){null==z("_lact",window)&&eg();var a=C();y("_lact",a,window);-1==z("_fact",window)&&y("_fact",a,window);(a=z("ytglobal.ytUtilActivityCallback_"))&&a()} function hg(){var a=z("_lact",window);return null==a?-1:Math.max(C()-a,0)} ;var ig=z("ytLoggingGelSequenceIdObj_")||{};y("ytLoggingGelSequenceIdObj_",ig,void 0); function jg(a,b,c,d){d=void 0===d?{}:d;var e={};e.eventTimeMs=Math.round(d.timestamp||U());e[a]=b;e.context={lastActivityMs:String(d.timestamp?-1:hg())};R("log_sequence_info_on_gel_web")&&d.P&&(a=e.context,b=d.P,ig[b]=b in ig?ig[b]+1:0,a.sequence={index:ig[b],groupKey:b},d.rb&&delete ig[d.P]);(d=d.da)?(a={},d.videoId?a.videoId=d.videoId:d.playlistId&&(a.playlistId=d.playlistId),Ff[d.token]=a,d=Lf("log_event",d.token)):d=Lf("log_event");d.push(e);c&&(Af.log_event=new c);c=Je("web_logging_max_batch")|| 100;e=U();d.length>=c?If():10<=e-Df&&(Of(),Df=e)} ;function Kf(){for(var a={},b=q(Object.entries(Be(Q("DEVICE","")))),c=b.next();!c.done;c=b.next()){var d=q(c.value);c=d.next().value;d=d.next().value;"cbrand"===c?a.deviceMake=d:"cmodel"===c?a.deviceModel=d:"cbr"===c?a.browserName=d:"cbrver"===c?a.browserVersion=d:"cos"===c?a.osName=d:"cosver"===c?a.osVersion=d:"cplatform"===c&&(a.platform=d)}return a} ;function kg(){return"INNERTUBE_API_KEY"in ne&&"INNERTUBE_API_VERSION"in ne} function Jf(){return{innertubeApiKey:Q("INNERTUBE_API_KEY",void 0),innertubeApiVersion:Q("INNERTUBE_API_VERSION",void 0),Fa:Q("INNERTUBE_CONTEXT_CLIENT_CONFIG_INFO"),Ga:Q("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),innertubeContextClientVersion:Q("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0),Ia:Q("INNERTUBE_CONTEXT_HL",void 0),Ha:Q("INNERTUBE_CONTEXT_GL",void 0),Ja:Q("INNERTUBE_HOST_OVERRIDE",void 0)||"",Ka:!!Q("INNERTUBE_USE_THIRD_PARTY_AUTH",!1)}} function lg(a,b,c){c=void 0===c?{}:c;var d={"X-Goog-Visitor-Id":c.visitorData||Q("VISITOR_DATA","")};if(b&&b.includes("www.youtube-nocookie.com"))return d;(b=c.ob||Q("AUTHORIZATION"))||(a?b="Bearer "+z("gapi.auth.getToken")().nb:b=Pc([]));b&&(d.Authorization=b,d["X-Goog-AuthUser"]=Q("SESSION_INDEX",0),R("pageid_as_header_web")&&(d["X-Goog-PageId"]=Q("DELEGATED_SESSION_ID")));return d} function mg(a){a=Object.assign({},a);delete a.Authorization;var b=Pc();if(b){var c=new gd;c.update(Q("INNERTUBE_API_KEY",void 0));c.update(b);b=c.digest();c=3;Ba(b);void 0===c&&(c=0);if(!lc){lc={};for(var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),e=["+/=","+/","-_=","-_.","-_"],f=0;5>f;f++){var g=d.concat(e[f].split(""));kc[f]=g;for(var h=0;h>2;l=(l&3)<<4|m>>4;m=(m&15)<<2|k>>6;k&=63;g||(k=64,f||(m=64));d.push(c[h],c[l],c[m]||"",c[k]||"")}a.hash=d.join("")}return a} ;function ng(a,b,c,d){pc.set(""+a,b,{ma:c,path:"/",domain:void 0===d?"youtube.com":d,secure:!1})} ;function og(){var a=new fe;(a=a.isAvailable()?new le(a,"yt.innertube"):null)||(a=new ge("yt.innertube"),a=a.isAvailable()?a:null);this.f=a?new be(a):null;this.g=document.domain||window.location.hostname} og.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.f)try{this.f.set(a,b,C()+1E3*c);return}catch(f){}var e="";if(d)try{e=escape(yd(b))}catch(f){return}else e=escape(b);ng(a,e,c,this.g)}; og.prototype.get=function(a,b){var c=void 0,d=!this.f;if(!d)try{c=this.f.get(a)}catch(e){d=!0}if(d&&(c=pc.get(""+a,void 0))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c}; og.prototype.remove=function(a){this.f&&this.f.remove(a);var b=this.g;pc.remove(""+a,"/",void 0===b?"youtube.com":b)};var pg=new og;function qg(a,b,c,d){if(d)return null;d=pg.get("nextId",!0)||1;var e=pg.get("requests",!0)||{};e[d]={method:a,request:b,authState:mg(c),requestTime:Math.round(U())};pg.set("nextId",d+1,86400,!0);pg.set("requests",e,86400,!0);return d} function rg(a){var b=pg.get("requests",!0)||{};delete b[a];pg.set("requests",b,86400,!0)} function sg(a){var b=pg.get("requests",!0);if(b){for(var c in b){var d=b[c];if(!(6E4>Math.round(U())-d.requestTime)){var e=d.authState,f=mg(lg(!1));bb(e,f)&&(e=d.request,"requestTimeMs"in e&&(e.requestTimeMs=Math.round(U())),Mf(a,d.method,e,{}));delete b[c]}}pg.set("requests",b,86400,!0)}} ;function tg(a){var b=this;this.f=null;a?this.f=a:kg()&&(this.f=Jf());bg(function(){sg(b)},0,5E3)} tg.prototype.isReady=function(){!this.f&&kg()&&(this.f=Jf());return!!this.f}; function Mf(a,b,c,d){!Q("VISITOR_DATA")&&"visitor_id"!==b&&.01>Math.random()&&ve(Error("Missing VISITOR_DATA when sending innertube request."));var e={headers:{"Content-Type":"application/json"},method:"POST",C:c,ra:"JSON",O:function(){d.O()}, qa:d.O,onSuccess:function(v,r){if(d.onSuccess)d.onSuccess(r)}, oa:function(v){if(d.onSuccess)d.onSuccess(v)}, onError:function(v,r){if(d.onError)d.onError(r)}, vb:function(v){if(d.onError)d.onError(v)}, timeout:d.timeout,withCredentials:!0},f="",g=a.f.Ja;g&&(f=g);g=a.f.Ka||!1;var h=lg(g,f,d);Object.assign(e.headers,h);e.headers.Authorization&&!f&&(e.headers["x-origin"]=window.location.origin);var k=Ce(""+f+("/youtubei/"+a.f.innertubeApiVersion+"/"+b),{alt:"json",key:a.f.innertubeApiKey}),l;if(d.retry&&R("retry_web_logging_batches")&&"www.youtube-nocookie.com"!=f&&(l=qg(b,c,h,g))){var m=e.onSuccess,p=e.oa;e.onSuccess=function(v,r){rg(l);m(v,r)}; c.oa=function(v,r){rg(l);p(v,r)}}try{R("use_fetch_for_op_xhr")?Te(k,e):(e.method="POST",e.C||(e.C={}),We(k,e))}catch(v){if("InvalidAccessError"==v)l&&(rg(l),l=0),ve(Error("An extension is blocking network request.")); else throw v;}l&&bg(function(){sg(a)},0,5E3)} ;function ug(a,b,c){c=void 0===c?{}:c;var d=tg;Q("ytLoggingEventsDefaultDisabled",!1)&&tg==tg&&(d=null);jg(a,b,d,c)} function vg(){R("log_web_meta")&&Pf().forEach(function(a){ug("delayedEventMetricCaptured",a)})} ;function wg(a,b){for(var c=[],d=1;df&&(c=a.substring(f,e),c=c.replace(Jg,""),c=c.replace(Kg,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else Mg(a,b,c)} function Mg(a,b,c){c=void 0===c?null:c;var d=Ng(a),e=document.getElementById(d),f=e&&Hg(e,"loaded"),g=e&&!f;f?b&&b():(b&&(f=mf(d,b),b=""+Ea(b),Og[b]=f),g||(e=Pg(a,d,function(){Hg(e,"loaded")||(Fg(e),pf(d),S(Ka(qf,d),0))},c)))} function Pg(a,b,c,d){d=void 0===d?null:d;var e=xc(document,"SCRIPT");e.id=b;e.onload=function(){c&&setTimeout(c,0)}; e.onreadystatechange=function(){switch(e.readyState){case "loaded":case "complete":e.onload()}}; d&&e.setAttribute("nonce",d);Nb(e,Bc(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e} function Qg(a){a=Ng(a);var b=document.getElementById(a);b&&(qf(a),b.parentNode.removeChild(b))} function Rg(a,b){if(a&&b){var c=""+Ea(b);(c=Og[c])&&of(c)}} function Ng(a){var b=document.createElement("a");Mb(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+Pb(a)} var Og={};var Sg=[],Tg=!1;function Ug(){if("1"!=Xa(pe(),"args","privembed")){var a=function(){Tg=!0;"google_ad_status"in window?P("DCLKSTAT",1):P("DCLKSTAT",2)}; Lg("//static.doubleclick.net/instream/ad_status.js",a);Sg.push(ag(function(){Tg||"google_ad_status"in window||(Rg("//static.doubleclick.net/instream/ad_status.js",a),Tg=!0,P("DCLKSTAT",3))},5E3))}} function Vg(){return parseInt(Q("DCLKSTAT",0),10)} ;function Wg(){this.g=!1;this.f=null} Wg.prototype.initialize=function(a,b,c,d,e,f){var g=this;f=void 0===f?!1:f;b?(this.g=!0,Lg(b,function(){g.g=!1;window.botguard?Xg(g,c,d,f):(Qg(b),Ag(new wg("Unable to load Botguard","from "+b)))},e)):a&&(eval(a),window.botguard?Xg(this,c,d,f):Ag(Error("Unable to load Botguard from JS")))}; function Xg(a,b,c,d){if(d)try{a.f=new window.botguard.bg(b,c?function(){return c(b)}:xa)}catch(e){Ag(e)}else{try{a.f=new window.botguard.bg(b)}catch(e){Ag(e)}c&&c(b)}} Wg.prototype.dispose=function(){this.f=null};var Yg=new Wg,Zg=!1,$g=0,ah="";function bh(a){R("botguard_periodic_refresh")?$g=U():R("botguard_always_refresh")&&(ah=a)} function ch(a){if(a){if(Yg.g)return!1;if(R("botguard_periodic_refresh"))return 72E5a;a++){b=C();for(c=0;cf?d:d.substr(0,f))if(e&&!b.csn&&(b.itct|| b.ved)&&(b=Object.assign({csn:qh()},b)),k){var k=parseInt(k,10);isFinite(k)&&0>>0);function ki(a){delete ii[a.getId()]} ;function li(a,b){vh.call(this,1,arguments)} t(li,vh);function mi(a,b){vh.call(this,1,arguments)} t(mi,vh);var ni=new wh("aft-recorded",li),oi=new wh("timing-sent",mi);var pi=window;function qi(){this.timing={};this.clearResourceTimings=function(){}; this.webkitClearResourceTimings=function(){}; this.mozClearResourceTimings=function(){}; this.msClearResourceTimings=function(){}; this.oClearResourceTimings=function(){}} var X=pi.performance||pi.mozPerformance||pi.msPerformance||pi.webkitPerformance||new qi;var ri=!1;function si(a){var b=ti(a);if(b.aft)return b.aft;a=Q((a||"")+"TIMING_AFT_KEYS",["ol"]);for(var c=a.length,d=0;d1E5*Math.random()&&(c=new wg("CSI data exceeded logging limit with key",b),0===b.indexOf("info")?Ag(c):zg(c)),!0):!1} ;var Y={},Ji=(Y.ad_allowed="adTypesAllowed",Y.yt_abt="adBreakType",Y.ad_cpn="adClientPlaybackNonce",Y.ad_docid="adVideoId",Y.yt_ad_an="adNetworks",Y.ad_at="adType",Y.browse_id="browseId",Y.p="httpProtocol",Y.t="transportProtocol",Y.cpn="clientPlaybackNonce",Y.cseg="creatorInfo.creatorSegment",Y.csn="clientScreenNonce",Y.docid="videoId",Y.GetHome_rid="getHomeRequestId",Y.GetSearch_rid="getSearchRequestId",Y.GetPlayer_rid="getPlayerRequestId",Y.GetWatchNext_rid="getWatchNextRequestId",Y.GetBrowse_rid= "getBrowseRequestId",Y.GetLibrary_rid="getLibraryRequestId",Y.is_continuation="isContinuation",Y.is_nav="isNavigation",Y.b_p="kabukiInfo.browseParams",Y.is_prefetch="kabukiInfo.isPrefetch",Y.is_secondary_nav="kabukiInfo.isSecondaryNav",Y.prev_browse_id="kabukiInfo.prevBrowseId",Y.query_source="kabukiInfo.querySource",Y.voz_type="kabukiInfo.vozType",Y.yt_lt="loadType",Y.mver="creatorInfo.measurementVersion",Y.yt_ad="isMonetized",Y.nr="webInfo.navigationReason",Y.nrsu="navigationRequestedSameUrl",Y.ncnp= "webInfo.nonPreloadedNodeCount",Y.pnt="performanceNavigationTiming",Y.prt="playbackRequiresTap",Y.plt="playerInfo.playbackType",Y.pis="playerInfo.playerInitializedState",Y.paused="playerInfo.isPausedOnLoad",Y.yt_pt="playerType",Y.fmt="playerInfo.itag",Y.yt_pl="watchInfo.isPlaylist",Y.yt_pre="playerInfo.preloadType",Y.yt_ad_pr="prerollAllowed",Y.pa="previousAction",Y.yt_red="isRedSubscriber",Y.rce="mwebInfo.responseContentEncoding",Y.scrh="screenHeight",Y.scrw="screenWidth",Y.st="serverTimeMs",Y.aq= "tvInfo.appQuality",Y.br_trs="tvInfo.bedrockTriggerState",Y.kebqat="kabukiInfo.earlyBrowseRequestInfo.abandonmentType",Y.kebqa="kabukiInfo.earlyBrowseRequestInfo.adopted",Y.label="tvInfo.label",Y.is_mdx="tvInfo.isMdx",Y.preloaded="tvInfo.isPreloaded",Y.upg_player_vis="playerInfo.visibilityState",Y.query="unpluggedInfo.query",Y.upg_chip_ids_string="unpluggedInfo.upgChipIdsString",Y.yt_vst="videoStreamType",Y.vph="viewportHeight",Y.vpw="viewportWidth",Y.yt_vis="isVisible",Y.rcl="mwebInfo.responseContentLength", Y.GetSettings_rid="mwebInfo.getSettingsRequestId",Y.GetTrending_rid="mwebInfo.getTrendingRequestId",Y.GetMusicSearchSuggestions_rid="musicInfo.getMusicSearchSuggestionsRequestId",Y),Ki="isContinuation isNavigation kabukiInfo.earlyBrowseRequestInfo.adopted kabukiInfo.isPrefetch kabukiInfo.isSecondaryNav isMonetized performanceNavigationTiming playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber tvInfo.isMdx tvInfo.isPreloaded isVisible watchInfo.isPlaylist playbackRequiresTap".split(" "),Li={}, Mi=(Li.mver="MEASUREMENT_VERSION_",Li.pis="PLAYER_INITIALIZED_STATE_",Li.yt_pt="LATENCY_PLAYER_",Li.pa="LATENCY_ACTION_",Li.yt_vst="VIDEO_STREAM_TYPE_",Li),Ni="all_vc ap c cver cbrand cmodel cplatform ctheme ei l_an l_mm plid srt yt_fss yt_li vpst vpni2 vpil2 icrc icrt pa GetAccountOverview_rid GetHistory_rid cmt d_vpct d_vpnfi d_vpni nsru pc pfa pfeh pftr pnc prerender psc rc start tcrt tcrc ssr vpr vps yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis ytu_pvis yt_ref yt_sts tds".split(" "); function Oi(a){return!!Q("FORCE_CSI_ON_GEL",!1)||R("csi_on_gel")||!!ui(a).useGel} function Pi(a){a=ui(a);if(!("gel"in a))a.gel={gelTicks:{},gelInfos:{}};else if(a.gel){var b=a.gel;b.gelInfos||(b.gelInfos={});b.gelTicks||(b.gelTicks={})}return a.gel} ;function Qi(a,b,c){if(null!==b)if(vi(c)[a]=b,Oi(c)){var d=Pi(c);if(d.gelInfos)d.gelInfos["info_"+a]=!0;else{var e={};d.gelInfos=(e["info_"+a]=!0,e)}if(a in Ji){d=Ji[a];0<=Na(Ki,d)&&(b=!!b);a in Mi&&"string"===typeof b&&(b=Mi[a]+b.toUpperCase());a=d.split(".");e=d={};for(var f=0;f