(function(){var m;function aa(a){var b=0;return function(){return b=f}}); ka("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=la(this,b,"startsWith");b+="";for(var e=d.length,f=b.length,h=Math.max(0,Math.min(c|0,d.length)),g=0;g=f}}); function ma(){ma=function(){}; ja.Symbol||(ja.Symbol=na)} function oa(a,b){this.f=a;ia(this,"description",{configurable:!0,writable:!0,value:b})} oa.prototype.toString=function(){return this.f}; var na=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new oa("jscomp_symbol_"+(c||"")+"_"+b++,c)} var b=0;return a}(); function pa(){ma();var a=ja.Symbol.iterator;a||(a=ja.Symbol.iterator=ja.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&ia(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ra(aa(this))}}); pa=function(){}} function ra(a){pa();a={next:a};a[ja.Symbol.iterator]=function(){return this}; return a} function sa(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),Fa=0;function Ga(a,b,c){return a.call.apply(a.bind,arguments)} function Ha(a,b,c){if(!a)throw Error();if(2c?null:x(a)?a.charAt(c):a[c]} function Qa(a,b){var c=La(a,b);0<=c&&Array.prototype.splice.call(a,c,1)} function Ra(a){var b=a.length;if(0")&&(a=a.replace(qb,">"));-1!=a.indexOf('"')&&(a=a.replace(rb,"""));-1!=a.indexOf("'")&&(a=a.replace(sb,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(tb,"�"))}return a} var ob=/&/g,pb=//g,rb=/"/g,sb=/'/g,tb=/\x00/g,ub=/[\x00&<>"']/;function H(){this.f="";this.g=vb} H.prototype.J=!0;H.prototype.I=function(){return this.f.toString()}; H.prototype.ea=!0;H.prototype.ba=function(){return 1}; function wb(a){if(a instanceof H&&a.constructor===H&&a.g===vb)return a.f;za(a);return"type_error:SafeUrl"} var xb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;function yb(a){if(a instanceof H)return a;a="object"==typeof a&&a.J?a.I():String(a);xb.test(a)||(a="about:invalid#zClosurez");return zb(a)} var vb={};function zb(a){var b=new H;b.f=a;return b} zb("about:blank");var Ab;a:{var Bb=v.navigator;if(Bb){var Cb=Bb.userAgent;if(Cb){Ab=Cb;break a}}Ab=""};function Db(){this.f="";this.h=Eb;this.g=null} Db.prototype.ea=!0;Db.prototype.ba=function(){return this.g}; Db.prototype.J=!0;Db.prototype.I=function(){return this.f.toString()}; function Fb(a){if(a instanceof Db&&a.constructor===Db&&a.h===Eb)return a.f;za(a);return"type_error:SafeHtml"} var Eb={};function Gb(a,b){var c=new Db;c.f=a;c.g=b;return c} Gb("",0);var Ib=Gb("",0);Gb("
",0);function Jb(a,b){var c=b instanceof H?b:yb(b);a.href=wb(c)} function Kb(a){var b=lb(hb instanceof eb&&hb.constructor===eb&&hb.g===gb?hb.f:"type_error:Const");a.src=kb(b).toString()} function Lb(a,b){a.src=kb(b);if(null===wa)b:{var c=v.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 Mb(a){return a=nb(a,void 0)} function Nb(a){for(var b=0,c=0;c>>0;return b} ;var Ob=-1!=Ab.indexOf("Trident")||-1!=Ab.indexOf("MSIE"),Pb;var Qb;if(v.document&&Ob){var Rb=v.document;Qb=Rb?Rb.documentMode:void 0}else Qb=void 0;Pb=Qb;var Sb=null,Tb=null;function Ub(a){this.f=a||{cookie:""}} m=Ub.prototype;m.isEnabled=function(){return navigator.cookieEnabled}; m.set=function(a,b,c,d,e,f){if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');w(c)||(c=-1);e=e?";domain="+e:"";d=d?";path="+d:"";f=f?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(B()+1E3*c)).toUTCString();this.f.cookie=a+"="+b+e+d+c+f}; m.get=function(a,b){for(var c=a+"=",d=(this.f.cookie||"").split(";"),e=0,f;e");f=f.join("")}f=e.createElement(f);h&&(x(h)?f.className=h:Aa(h)?f.className=h.join(" "):bc(f,h));2d&&(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 nc=/#|$/;function oc(a,b){var c=a.search(nc);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 pc(a){var b=qc;if(b)for(var c in b)Object.prototype.hasOwnProperty.call(b,c)&&a.call(void 0,b[c],c,b)} function rc(){var a=[];pc(function(b){a.push(b)}); return a} var qc={Za:"allow-forms",ab:"allow-modals",bb:"allow-orientation-lock",cb:"allow-pointer-lock",eb:"allow-popups",fb:"allow-popups-to-escape-sandbox",gb:"allow-presentation",hb:"allow-same-origin",ib:"allow-scripts",jb:"allow-top-navigation",kb:"allow-top-navigation-by-user-activation"},sc=Ta(function(){return rc()}); function tc(){var a=document.createElement("IFRAME").sandbox,b=a&&a.supports;if(!b)return{};var c={};G(sc(),function(d){b.call(a,d)&&(c[d]=!0)}); return c} ;function vc(a){"number"==typeof a&&(a=Math.round(a)+"px");return a} ;var wc=(new Date).getTime();function xc(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));a=a.substring(0,a.indexOf("://"));if("http"!==a&&"https"!==a&&"chrome-extension"!==a&&"file"!==a&&"android-app"!==a&&"chrome-search"!==a&&"app"!==a)throw Error("Invalid URI scheme in origin: "+a);c="";var d=b.indexOf(":");if(-1!=d){var e= b.substring(d+1);b=b.substring(0,d);if("http"===a&&"80"!==e||"https"===a&&"443"!==e)c=":"+e}return a+"://"+b+c} ;function yc(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=l=0} function b(r){for(var u=h,p=0;64>p;p+=4)u[p/4]=r[p]<<24|r[p+1]<<16|r[p+2]<<8|r[p+3];for(p=16;80>p;p++)r=u[p-3]^u[p-8]^u[p-14]^u[p-16],u[p]=(r<<1|r>>>31)&4294967295;r=e[0];var C=e[1],K=e[2],qa=e[3],uc=e[4];for(p=0;80>p;p++){if(40>p)if(20>p){var Ka=qa^C&(K^qa);var Hb=1518500249}else Ka=C^K^qa,Hb=1859775393;else 60>p?(Ka=C&K|qa&(C|K),Hb=2400959708):(Ka=C^K^qa,Hb=3395469782);Ka=((r<<5|r>>>27)&4294967295)+Ka+uc+Hb+u[p]&4294967295;uc=qa;qa=K;K=(C<<30|C>>>2)&4294967295;C=r;r=Ka}e[0]=e[0]+r&4294967295;e[1]= e[1]+C&4294967295;e[2]=e[2]+K&4294967295;e[3]=e[3]+qa&4294967295;e[4]=e[4]+uc&4294967295} function c(r,u){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var p=[],C=0,K=r.length;Cl?c(g,56-l):c(g,64-(l-56));for(var p=63;56<=p;p--)f[p]=u&255,u>>>=8;b(f);for(p=u=0;5>p;p++)for(var C=24;0<=C;C-=8)r[u++]=e[p]>>C&255;return r} for(var e=[],f=[],h=[],g=[128],k=1;64>k;++k)g[k]=0;var l,n;a();return{reset:a,update:c,digest:d,ta:function(){for(var r=d(),u="",p=0;pa.g&&(a.g++,b.next=a.f,a.f=b)} ;function Ec(a){v.setTimeout(function(){throw a;},0)} var Fc; function Gc(){var a=v.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&-1==Ab.indexOf("Presto")&&(a=function(){var e=document.createElement("IFRAME");e.style.display="none";Kb(e);document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.write(Fb(Ib));e.close();var h="callImmediate"+Math.random(),g="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=A(function(k){if(("*"==g||k.origin==g)&& k.data==h)this.port1.onmessage()},this); f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(h,g)}}}); if("undefined"!==typeof a&&-1==Ab.indexOf("Trident")&&-1==Ab.indexOf("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(w(c.next)){c=c.next;var e=c.ia;c.ia=null;e()}}; return function(e){d.next={ia:e};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(e){var f=document.createElement("SCRIPT"); f.onreadystatechange=function(){f.onreadystatechange=null;f.parentNode.removeChild(f);f=null;e();e=null}; document.documentElement.appendChild(f)}:function(e){v.setTimeout(e,0)}} ;function Hc(){this.g=this.f=null} var Jc=new Cc(function(){return new Ic},function(a){a.reset()}); Hc.prototype.add=function(a,b){var c=Jc.get();c.set(a,b);this.g?this.g.next=c:this.f=c;this.g=c}; Hc.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 Ic(){this.next=this.scope=this.f=null} Ic.prototype.set=function(a,b){this.f=a;this.scope=b;this.next=null}; Ic.prototype.reset=function(){this.next=this.scope=this.f=null};function Kc(a,b){Lc||Mc();Nc||(Lc(),Nc=!0);Oc.add(a,b)} var Lc;function Mc(){if(v.Promise&&v.Promise.resolve){var a=v.Promise.resolve(void 0);Lc=function(){a.then(Pc)}}else Lc=function(){var b=Pc; !Ca(v.setImmediate)||v.Window&&v.Window.prototype&&-1==Ab.indexOf("Edge")&&v.Window.prototype.setImmediate==v.setImmediate?(Fc||(Fc=Gc()),Fc(b)):v.setImmediate(b)}} var Nc=!1,Oc=new Hc;function Pc(){for(var a;a=Oc.remove();){try{a.f.call(a.scope)}catch(b){Ec(b)}Dc(Jc,a)}Nc=!1} ;function Qc(){this.g=-1} ;function Rc(){this.g=64;this.f=[];this.l=[];this.w=[];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 h=a.f[2],g=a.f[3],k=a.f[4];for(e=0;80>e;e++){if(40>e)if(20>e){f=g^c&(h^g);var l=1518500249}else f=c^h^g,l=1859775393;else 60>e?(f=c&h|g&(c|h),l=2400959708):(f=c^h^g,l= 3395469782);f=(b<<5|b>>>27)+f+k+l+d[e]&4294967295;k=g;g=h;h=(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]+h&4294967295;a.f[3]=a.f[3]+g&4294967295;a.f[4]=a.f[4]+k&4294967295} Rc.prototype.update=function(a,b){if(null!=a){w(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;Sc(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 L(){this.g=this.g;this.w=this.w} L.prototype.g=!1;L.prototype.dispose=function(){this.g||(this.g=!0,this.m())}; function Tc(a,b){a.g?w(void 0)?b.call(void 0):b():(a.w||(a.w=[]),a.w.push(w(void 0)?A(b,void 0):b))} L.prototype.m=function(){if(this.w)for(;this.w.length;)this.w.shift()()}; function Uc(a){a&&"function"==typeof a.dispose&&a.dispose()} function Vc(a){for(var b=0,c=arguments.length;b=a.length)throw Zc;if(b in a)return a[b++];b++}}; return c}throw Error("Not implemented");} function bd(a,b){if(Ba(a))try{G(a,b,void 0)}catch(c){if(c!==Zc)throw c;}else{a=ad(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==Zc)throw c;}}} function cd(a){if(Ba(a))return Ra(a);a=ad(a);var b=[];bd(a,function(c){b.push(c)}); return b} ;function dd(a,b){this.h={};this.f=[];this.i=this.g=0;var c=arguments.length;if(12*this.g&&fd(this),!0):!1}; function fd(a){if(a.g!=a.f.length){for(var b=0,c=0;b=d.f.length)throw Zc;var f=d.f[b++];return a?f:d.h[f]}; return e};function hd(a){var b=[];id(new jd,a,b);return b.join("")} function jd(){} function id(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Aa(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;fB())Ld.prototype.remove.call(this,a);else return b}};function Md(){} ;function Nd(){} D(Nd,Md);Nd.prototype.clear=function(){var a=cd(this.H(!0)),b=this;G(a,function(c){b.remove(c)})};function Od(a){this.f=a} D(Od,Nd);m=Od.prototype;m.isAvailable=function(){if(!this.f)return!1;try{return this.f.setItem("__sak","1"),this.f.removeItem("__sak"),!0}catch(a){return!1}}; m.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";}}; m.get=function(a){a=this.f.getItem(a);if(!x(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; m.remove=function(a){this.f.removeItem(a)}; m.H=function(a){var b=0,c=this.f,d=new $c;d.next=function(){if(b>=c.length)throw Zc;var e=c.key(b++);if(a)return e;e=c.getItem(e);if(!x(e))throw"Storage mechanism: Invalid value was encountered";return e}; return d}; m.clear=function(){this.f.clear()}; m.key=function(a){return this.f.key(a)};function Pd(){var a=null;try{a=window.localStorage||null}catch(b){}this.f=a} D(Pd,Od);function Qd(a,b){this.g=a;this.f=null;if(Ob&&!(9<=Number(Pb))){Rd||(Rd=new dd);this.f=Rd.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)),Rd.set(a,this.f));try{this.f.load(this.g)}catch(c){this.f=null}}} D(Qd,Nd);var Sd={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},Rd=null;function Td(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return Sd[b]})} m=Qd.prototype;m.isAvailable=function(){return!!this.f}; m.set=function(a,b){this.f.setAttribute(Td(a),b);Ud(this)}; m.get=function(a){a=this.f.getAttribute(Td(a));if(!x(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; m.remove=function(a){this.f.removeAttribute(Td(a));Ud(this)}; m.H=function(a){var b=0,c=this.f.XMLDocument.documentElement.attributes,d=new $c;d.next=function(){if(b>=c.length)throw Zc;var e=c[b++];if(a)return decodeURIComponent(e.nodeName.replace(/\./g,"%")).substr(1);e=e.nodeValue;if(!x(e))throw"Storage mechanism: Invalid value was encountered";return e}; return d}; m.clear=function(){for(var a=this.f.XMLDocument.documentElement,b=a.attributes.length;0a&&0===a%1&&this.g[a]!=b&&(this.g[a]=b,this.f=-1)}; Wd.prototype.get=function(a){return!!this.g[a]}; function Xd(a){-1==a.f&&(a.f=Oa(a.g,function(b,c,d){return c?b+Math.pow(2,d):b},0)); return a.f} ;/* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. */ function Yd(a,b){if(1h.status)?h.json().then(k,function(){k(null)}):k(null)}}); b.ka&&0g.status,r=500<=g.status&&600>g.status;if(k||n||r)l=De(c,g,b.pb);if(k)a:if(g&&204==g.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||{};n=b.context||v;k?b.onSuccess&&b.onSuccess.call(n,g,l):b.onError&&b.onError.call(n,g,l);b.ga&&b.ga.call(n,g,l)}},b.method,d,b.headers,b.responseType, b.withCredentials); b.N&&0"',style:"display:none"}),(9==a.nodeType?a:a.ownerDocument||a.document).body.appendChild(a))):e?Ce(a,b,"POST",e,d):Q("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d?Ce(a,b,"GET","",d):((d=Zd.EXPERIMENT_FLAGS)&&d.web_use_beacon_api_for_ad_click_server_pings&&-1!=I(J(5,a)).indexOf("/aclk")&&"1"===oc(a,"ae")&&"1"===oc(a,"act")?Le(a)?(b&&b(),d=!0):d=!1:d=!1,d||Me(a,b)))} function Le(a,b){try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,void 0===b?"":b))return!0}catch(c){}return!1} function Me(a,b){var c=new Image,d=""+Je++;Ie[d]=c;c.onload=c.onerror=function(){b&&Ie[d]&&b();delete Ie[d]}; c.src=a} ;var Ne={},Oe=0; function Pe(a,b,c,d,e,f){f=f||{};f.name=c||Q("INNERTUBE_CONTEXT_CLIENT_NAME",1);f.version=d||Q("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0);b=void 0===b?"ERROR":b;e=void 0===e?!1:e;b=void 0===b?"ERROR":b;e=window&&window.yterr||(void 0===e?!1:e)||!1;if(!(!a||!e||5<=Oe||(S("console_log_js_exceptions")&&(e=a,c=[],c.push("Name: "+e.name),c.push("Message: "+e.message),e.hasOwnProperty("params")&&c.push("Error Params: "+JSON.stringify(e.params)),c.push("File name: "+e.fileName),c.push("Stacktrace: "+e.stack), window.console.log(c.join("\n"),e)),e=a.stacktrace,c=a.columnNumber,a.hasOwnProperty("params")&&(d=String(JSON.stringify(a.params)),f.params=d.substr(0,500)),a=Wb(a),e=e||a.stack,d=a.lineNumber.toString(),isNaN(d)||isNaN(c)||(d=d+":"+c),window.yterr&&Ca(window.yterr)&&window.yterr(a),Ne[a.message]||0<=e.indexOf("/YouTubeCenter.js")||0<=e.indexOf("/mytube.js")))){b={Ya:{a:"logerror",t:"jserror",type:a.name,msg:a.message.substr(0,250),line:d,level:b,"client.name":f.name},F:{url:Q("PAGE_NAME",window.location.href), file:a.fileName},method:"POST"};f.version&&(b["client.version"]=f.version);e&&(b.F.stack=e);for(var h in f)b.F["client."+h]=f[h];if(h=Q("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(var g in h)b.F[g]=h[g];Be(Q("ECATCHER_REPORT_HOST","")+"/error_204",b);Ne[a.message]=!0;Oe++}} ;var Qe=window.yt&&window.yt.msgs_||window.ytcfg&&window.ytcfg.msgs||{};y("yt.msgs_",Qe,void 0);function Re(a){Yd(Qe,arguments)} ;function Se(a){a&&(a.dataset?a.dataset[Te("loaded")]="true":a.setAttribute("data-loaded","true"))} function Ue(a,b){return a?a.dataset?a.dataset[Te(b)]:a.getAttribute("data-"+b):null} var Ve={};function Te(a){return Ve[a]||(Ve[a]=String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()}))} ;var We=z("ytPubsubPubsubInstance")||new N;N.prototype.subscribe=N.prototype.subscribe;N.prototype.unsubscribeByKey=N.prototype.M;N.prototype.publish=N.prototype.L;N.prototype.clear=N.prototype.clear;y("ytPubsubPubsubInstance",We,void 0);var Xe=z("ytPubsubPubsubSubscribedKeys")||{};y("ytPubsubPubsubSubscribedKeys",Xe,void 0);var Ye=z("ytPubsubPubsubTopicToKeys")||{};y("ytPubsubPubsubTopicToKeys",Ye,void 0);var Ze=z("ytPubsubPubsubIsSynchronous")||{};y("ytPubsubPubsubIsSynchronous",Ze,void 0); function $e(a,b){var c=af();if(c){var d=c.subscribe(a,function(){var e=arguments;var f=function(){Xe[d]&&b.apply(window,e)}; try{Ze[a]?f():T(f,0)}catch(h){R(h)}},void 0); Xe[d]=!0;Ye[a]||(Ye[a]=[]);Ye[a].push(d);return d}return 0} function bf(a){var b=af();b&&("number"==typeof a?a=[a]:x(a)&&(a=[parseInt(a,10)]),G(a,function(c){b.unsubscribeByKey(c);delete Xe[c]}))} function cf(a,b){var c=af();c&&c.publish.apply(c,arguments)} function df(a){var b=af();if(b)if(b.clear(a),a)ef(a);else for(var c in Ye)ef(c)} function af(){return z("ytPubsubPubsubInstance")} function ef(a){Ye[a]&&(a=Ye[a],G(a,function(b){Xe[b]&&delete Xe[b]}),a.length=0)} ;var ff=/\.vflset|-vfl[a-zA-Z0-9_+=-]+/,gf=/-[a-zA-Z]{2,3}_[a-zA-Z]{2,3}(?=(\/|$))/;function hf(a,b,c){c=void 0===c?null:c;if(window.spf){c="";if(a){var d=a.indexOf("jsbin/"),e=a.lastIndexOf(".js"),f=d+6;-1f&&(c=a.substring(f,e),c=c.replace(ff,""),c=c.replace(gf,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else jf(a,b,c)} function jf(a,b,c){c=void 0===c?null:c;var d=kf(a),e=document.getElementById(d),f=e&&Ue(e,"loaded"),h=e&&!f;f?b&&b():(b&&(f=$e(d,b),b=""+(b[Ea]||(b[Ea]=++Fa)),lf[b]=f),h||(e=mf(a,d,function(){Ue(e,"loaded")||(Se(e),cf(d),T(Ia(df,d),0))},c)))} function mf(a,b,c,d){d=void 0===d?null:d;var e=document.createElement("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);Lb(e,hc(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e} function nf(a){a=kf(a);var b=document.getElementById(a);b&&(df(a),b.parentNode.removeChild(b))} function of(a,b){if(a&&b){var c=""+(b[Ea]||(b[Ea]=++Fa));(c=lf[c])&&bf(c)}} function kf(a){var b=document.createElement("a");Jb(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+Nb(a)} var lf={};function pf(){} function qf(a,b){return rf(a,1,b)} ;function sf(){} t(sf,pf);function rf(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):T(a,c||0)} function tf(a){if(!isNaN(a)){var b=z("yt.scheduler.instance.cancelJob");b?b(a):U(a)}} sf.prototype.start=function(){var a=z("yt.scheduler.instance.start");a&&a()}; sf.prototype.pause=function(){var a=z("yt.scheduler.instance.pause");a&&a()}; ya(sf);sf.getInstance();var uf=[],vf=!1;function wf(){if("1"!=Va(ae(),"args","privembed")){var a=function(){vf=!0;"google_ad_status"in window?P("DCLKSTAT",1):P("DCLKSTAT",2)}; hf("//static.doubleclick.net/instream/ad_status.js",a);uf.push(qf(function(){vf||"google_ad_status"in window||(of("//static.doubleclick.net/instream/ad_status.js",a),vf=!0,P("DCLKSTAT",3))},5E3))}} function xf(){return parseInt(Q("DCLKSTAT",0),10)} ;function yf(){this.g=!1;this.f=null} yf.prototype.initialize=function(a,b,c,d,e){var f=this;b?(this.g=!0,hf(b,function(){f.g=!1;if(window.botguard)zf(f,c,d);else{nf(b);var h=Error("Unable to load Botguard");h.params="from "+b;fe(h)}},e)):a&&(eval(a),window.botguard?zf(this,c,d):fe(Error("Unable to load Botguard from JS")))}; function zf(a,b,c){try{a.f=new window.botguard.bg(b)}catch(d){fe(d)}c&&c(b)} yf.prototype.dispose=function(){this.f=null};var Af=new yf,Bf=!1,Cf=0,Df="";function Ef(a){S("botguard_periodic_refresh")?Cf=O():S("botguard_always_refresh")&&(Df=a)} function Ff(a){if(a){if(Af.g)return!1;if(S("botguard_periodic_refresh"))return 72E5a;a++)this.h.push(0);this.i=0;this.D=V(window,"mousemove",A(this.G,this));a=A(this.B,this);Ca(a)&&(a=ee(a));this.K=window.setInterval(a,25)} D(Qf,L);Qf.prototype.G=function(a){w(a.f)||Lf(a);var b=a.f;w(a.g)||Lf(a);this.f=new Zb(b,a.g)}; Qf.prototype.B=function(){if(this.f){var a=O();if(0!=this.j){var b=this.o,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.A();this.l=d}this.j=a;this.o=this.f;this.i=(this.i+1)%4}}; Qf.prototype.m=function(){window.clearInterval(this.K);Pf(this.D)};var Rf={}; function Sf(a){var b=void 0===a?{}:a;a=void 0===b.za?!0:b.za;b=void 0===b.Na?!1:b.Na;if(null==z("_lact",window)){var c=parseInt(Q("LACT"),10);c=isFinite(c)?B()-Math.max(c,0):-1;y("_lact",c,window);y("_fact",c,window);-1==c&&Tf();V(document,"keydown",Tf);V(document,"keyup",Tf);V(document,"mousedown",Tf);V(document,"mouseup",Tf);a&&(b?V(window,"touchmove",function(){Uf("touchmove",200)},{passive:!0}):(V(window,"resize",function(){Uf("resize",200)}),V(window,"scroll",function(){Uf("scroll",200)}))); new Qf(function(){Uf("mouse",100)}); V(document,"touchstart",Tf,{passive:!0});V(document,"touchend",Tf,{passive:!0})}} function Uf(a,b){Rf[a]||(Rf[a]=!0,qf(function(){Tf();Rf[a]=!1},b))} function Tf(){null==z("_lact",window)&&Sf();var a=B();y("_lact",a,window);-1==z("_fact",window)&&y("_fact",a,window);(a=z("ytglobal.ytUtilActivityCallback_"))&&a()} function Vf(){var a=z("_lact",window);return null==a?-1:Math.max(B()-a,0)} ;var Wf=Math.pow(2,16)-1,Xf=null,Yf=0,Zf={log_event:"events",log_interaction:"interactions"},$f=Object.create(null);$f.log_event="GENERIC_EVENT_LOGGING";$f.log_interaction="INTERACTION_LOGGING";var ag=new Set(["log_event"]),bg={},cg=0,dg=0,W=z("ytLoggingTransportLogPayloadsQueue_")||{};y("ytLoggingTransportLogPayloadsQueue_",W,void 0);var eg=z("ytLoggingTransportTokensToCttTargetIds_")||{};y("ytLoggingTransportTokensToCttTargetIds_",eg,void 0);var fg=z("ytLoggingTransportDispatchedStats_")||{}; y("ytLoggingTransportDispatchedStats_",fg,void 0);y("ytytLoggingTransportCapturedTime_",z("ytLoggingTransportCapturedTime_")||{},void 0);function gg(){U(cg);U(dg);dg=0;if(!Ya(W)){for(var a in W){var b=bg[a];b&&(hg(a,b),delete W[a])}Ya(W)||ig()}} function ig(){S("web_gel_timeout_cap")&&!dg&&(dg=T(gg,3E4));U(cg);cg=T(gg,Q("LOGGING_BATCH_TIMEOUT",oe("web_gel_debounce_ms",1E4)))} function jg(a,b){b=void 0===b?"":b;W[a]=W[a]||{};W[a][b]=W[a][b]||[];return W[a][b]} function hg(a,b){var c=Zf[a],d=fg[a]||{};fg[a]=d;var e=Math.round(O());for(l in W[a]){var f=bb,h=b.f;h={client:{hl:h.Ga,gl:h.Fa,clientName:h.Da,clientVersion:h.Ea,configInfo:h.Ca}};var g=window.devicePixelRatio;g&&1!=g&&(h.client.screenDensityFloat=String(g));Q("DELEGATED_SESSION_ID")&&!S("pageid_as_header_web")&&(h.user={onBehalfOfUser:Q("DELEGATED_SESSION_ID")});f=f({context:h});f[c]=jg(a,l);d.dispatchedEventCount=d.dispatchedEventCount||0;d.dispatchedEventCount+=f[c].length;if(h=eg[l])a:{var k= l;if(h.videoId)g="VIDEO";else if(h.playlistId)g="PLAYLIST";else break a;f.credentialTransferTokenTargetId=h;f.context=f.context||{};f.context.user=f.context.user||{};f.context.user.credentialTransferTokens=[{token:k,scope:g}]}delete eg[l];f.requestTimeMs=e;if(h=$d("EVENT_ID"))g=(Q("BATCH_CLIENT_COUNTER",void 0)||0)+1,g>Wf&&(g=1),P("BATCH_CLIENT_COUNTER",g),h={serializedEventId:h,clientCounter:g},f.serializedClientEventId=h,Xf&&Yf&&S("log_gel_rtt_web")&&(f.previousBatchInfo={serializedClientEventId:Xf, roundtripMs:Yf}),Xf=h,Yf=0;kg(b,a,f,{retry:ag.has(a),onSuccess:A(lg,this,O())})}if(d.previousDispatchMs){c=e-d.previousDispatchMs;var l=d.diffCount||0;d.averageTimeBetweenDispatchesMs=l?(d.averageTimeBetweenDispatchesMs*l+c)/(l+1):c;d.diffCount=l+1}d.previousDispatchMs=e} function lg(a){Yf=Math.round(O()-a)} ;var mg=z("ytLoggingGelSequenceIdObj_")||{};y("ytLoggingGelSequenceIdObj_",mg,void 0); function ng(a,b,c,d){d=void 0===d?{}:d;var e={};e.eventTimeMs=Math.round(d.timestamp||O());e[a]=b;e.context={lastActivityMs:String(d.timestamp?-1:Vf())};S("log_sequence_info_on_gel_web")&&d.O&&(a=e.context,b=d.O,mg[b]=b in mg?mg[b]+1:0,a.sequence={index:mg[b],groupKey:b},d.qb&&delete mg[d.O]);(d=d.aa)?(a={},d.videoId?a.videoId=d.videoId:d.playlistId&&(a.playlistId=d.playlistId),eg[d.token]=a,d=jg("log_event",d.token)):d=jg("log_event");d.push(e);c&&(bg.log_event=new c);d.length>=(oe("web_logging_max_batch")|| 100)?gg():ig()} ;function og(a){this.f=a} function pg(a){var b={};void 0!==a.f.trackingParams?b.trackingParams=a.f.trackingParams:(b.veType=a.f.veType,null!=a.f.veCounter&&(b.veCounter=a.f.veCounter),null!=a.f.elementIndex&&(b.elementIndex=a.f.elementIndex));void 0!==a.f.dataElement&&(b.dataElement=pg(a.f.dataElement));void 0!==a.f.youtubeData&&(b.youtubeData=a.f.youtubeData);return b} og.prototype.toString=function(){return JSON.stringify(pg(this))}; var qg=1;function rg(a,b,c){var d=sg;b={csn:a,parentVe:pg(b),childVes:Na(c,function(f){return pg(f)})}; c=q(c);for(var e=c.next();!e.done;e=c.next())e=pg(e.value),(Ya(e)||!e.trackingParams&&!e.veType)&&Pe(Error("Child VE logged with no data"),"WARNING");c={aa:void 0,O:a};"UNDEFINED_CSN"==a?tg("visualElementAttached",b,c):ng("visualElementAttached",b,d,c)} function tg(a,b,c){a={tb:a,payload:b,options:c};(b=Q("INTERACTIONS_LOGGER_QUEUE",void 0))?b.push(a):P("INTERACTIONS_LOGGER_QUEUE",[a])} ;function ug(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.mb||Q("AUTHORIZATION"))||(a?b="Bearer "+z("gapi.auth.getToken")().lb:b=Bc([]));b&&(d.Authorization=b,d["X-Goog-AuthUser"]=Q("SESSION_INDEX",0),S("pageid_as_header_web")&&(d["X-Goog-PageId"]=Q("DELEGATED_SESSION_ID")));return d} function vg(a){a=Object.assign({},a);delete a.Authorization;var b=Bc();if(b){var c=new Rc;c.update(Q("INNERTUBE_API_KEY",void 0));c.update(b);b=c.digest();Ba(b);if(!Sb)for(Sb={},Tb={},c=0;65>c;c++)Sb[c]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(c),Tb[c]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(c);c=Tb;for(var d=[],e=0;e>2;f=(f&3)<<4|g>>4;g=(g&15)<< 2|l>>6;l&=63;k||(l=64,h||(g=64));d.push(c[n],c[f],c[g],c[l])}a.hash=d.join("")}return a} ;function wg(a,b,c,d){Vb.set(""+a,b,c,"/",void 0===d?"youtube.com":d,!1)} ;function xg(){var a=new Pd;(a=a.isAvailable()?new Vd(a,"yt.innertube"):null)||(a=new Qd("yt.innertube"),a=a.isAvailable()?a:null);this.f=a?new Ld(a):null;this.g=document.domain||window.location.hostname} xg.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.f)try{this.f.set(a,b,B()+1E3*c);return}catch(f){}var e="";if(d)try{e=escape(hd(b))}catch(f){return}else e=escape(b);wg(a,e,c,this.g)}; xg.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=Vb.get(""+a,void 0))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c}; xg.prototype.remove=function(a){this.f&&this.f.remove(a);var b=this.g;Vb.remove(""+a,"/",void 0===b?"youtube.com":b)};var yg=new xg;function zg(a,b,c,d){if(d)return null;d=yg.get("nextId",!0)||1;var e=yg.get("requests",!0)||{};e[d]={method:a,request:b,authState:vg(c),requestTime:Math.round(O())};yg.set("nextId",d+1,86400,!0);yg.set("requests",e,86400,!0);return d} function Ag(a){var b=yg.get("requests",!0)||{};delete b[a];yg.set("requests",b,86400,!0)} function Bg(a){var b=yg.get("requests",!0);if(b){for(var c in b){var d=b[c];if(!(6E4>Math.round(O())-d.requestTime)){var e=d.authState,f=vg(ug(!1));$a(e,f)&&(e=d.request,"requestTimeMs"in e&&(e.requestTimeMs=Math.round(O())),kg(a,d.method,e,{}));delete b[c]}}yg.set("requests",b,86400,!0)}} ;function sg(a){var b=this;this.f=a||{Aa:$d("INNERTUBE_API_KEY"),Ba:$d("INNERTUBE_API_VERSION"),Ca:Q("INNERTUBE_CONTEXT_CLIENT_CONFIG_INFO"),Da:Q("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),Ea:$d("INNERTUBE_CONTEXT_CLIENT_VERSION"),Ga:$d("INNERTUBE_CONTEXT_HL"),Fa:$d("INNERTUBE_CONTEXT_GL"),Ha:$d("INNERTUBE_HOST_OVERRIDE")||"",Ia:!!Q("INNERTUBE_USE_THIRD_PARTY_AUTH",!1)};rf(function(){Bg(b)},0,5E3)} function kg(a,b,c,d){!Q("VISITOR_DATA")&&.01>Math.random()&&R(Error("Missing VISITOR_DATA when sending innertube request."),"WARNING");var e={headers:{"Content-Type":"application/json"},method:"POST",F:c,la:"JSON",N:function(){d.N()}, ka:d.N,onSuccess:function(u,p){if(d.onSuccess)d.onSuccess(p)}, ja:function(u){if(d.onSuccess)d.onSuccess(u)}, onError:function(u,p){if(d.onError)d.onError(p)}, sb:function(u){if(d.onError)d.onError(u)}, timeout:d.timeout,withCredentials:!0},f="",h=a.f.Ha;h&&(f=h);h=a.f.Ia||!1;var g=ug(h,f,d);Object.assign(e.headers,g);e.headers.Authorization&&!f&&(e.headers["x-origin"]=window.location.origin);var k=ie(""+f+("/youtubei/"+a.f.Ba+"/"+b),{alt:"json",key:a.f.Aa}),l;if(d.retry&&S("retry_web_logging_batches")&&"www.youtube-nocookie.com"!=f&&(l=zg(b,c,g,h))){var n=e.onSuccess,r=e.ja;e.onSuccess=function(u,p){Ag(l);n(u,p)}; c.ja=function(u,p){Ag(l);r(u,p)}}try{S("use_fetch_for_op_xhr")?ye(k,e):He(k,e)}catch(u){if("InvalidAccessError"==u)l&&(Ag(l),l=0),R(Error("An extension is blocking network request."),"WARNING"); else throw u;}l&&rf(function(){Bg(a)},0,5E3)} ;var Cg=B().toString(); function Dg(){a:{if(window.crypto&&window.crypto.getRandomValues)try{var a=Array(16),b=new Uint8Array(16);window.crypto.getRandomValues(b);for(var c=0;ca;a++){b=B();for(c=0;cf?d:d.substr(0,f))if(e&&(b.itct||b.ved)&& (b.csn=b.csn||Jg()),k){var k=parseInt(k,10);isFinite(k)&&0>>0);function hh(a){var b="player";b=x(b)?ac(b):b;var c=gh+"_"+(b[Ea]||(b[Ea]=++Fa)),d=fh[c];if(d)return d.loadNewVideoConfig(a),d.api;d=new Tg(b,c);fh[c]=d;cf("player-added",d.api);Tc(d,Ia(ih,d));T(function(){d.loadNewVideoConfig(a)},0); return d.api} function ih(a){delete fh[a.getId()]} ;function jh(a,b,c){c=void 0===c?{}:c;var d=sg;Q("ytLoggingEventsDefaultDisabled",!1)&&sg==sg&&(d=null);ng(a,b,d,c)} ;var kh=z("ytLoggingLatencyUsageStats_")||{};y("ytLoggingLatencyUsageStats_",kh,void 0);var lh=0;function mh(a){kh[a]=kh[a]||{count:0};var b=kh[a];b.count++;b.time=O();lh||(lh=rf(nh,0,5E3));if(51E5*Math.random()){b=0==a.indexOf("info")?"WARNING":"ERROR";var c=Error("CSI data exceeded logging limit with key");c.params=a;Pe(c,b)}return!0}return!1} function nh(){var a=O(),b;for(b in kh)6E4