(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ 'use strict';var m;function aa(a){var b=0;return function(){return b>>0)+"_",e=0;return b}); t("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c=e}}); t("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f=f}}); t("Object.setPrototypeOf",function(a){return a||na}); var Ca="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;cc&&(c=Math.max(c+e,0));c>>0),Ka=0;function La(a,b,c){return a.call.apply(a.bind,arguments)} function Ma(a,b,c){if(!a)throw Error();if(2b?null:"string"===typeof a?a.charAt(b):a[b]} function $a(a,b){b=Va(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c} function ab(a){var b=a.length;if(0")&&(a=a.replace(zb,">"));-1!=a.indexOf('"')&&(a=a.replace(Ab,"""));-1!=a.indexOf("'")&&(a=a.replace(Bb,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Cb,"�"))}return a} var xb=/&/g,yb=//g,Ab=/"/g,Bb=/'/g,Cb=/\x00/g,Db=/[\x00&<>"']/;function Eb(a,b){this.h=b===Fb?a:""} m=Eb.prototype;m.W=!0;m.V=function(){return this.h.toString()}; m.wa=!0;m.ra=function(){return 1}; m.toString=function(){return this.h.toString()}; function Gb(a){if(a instanceof Eb&&a.constructor===Eb)return a.h;Fa(a);return"type_error:SafeUrl"} var Hb=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,Ib=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,Jb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Fb={},Kb=new Eb("about:invalid#zClosurez",Fb);var Lb;a:{var Mb=y.navigator;if(Mb){var Nb=Mb.userAgent;if(Nb){Lb=Nb;break a}}Lb=""}function F(a){return-1!=Lb.indexOf(a)} ;function Ob(a,b,c){this.h=c===Pb?a:"";this.i=b} m=Ob.prototype;m.wa=!0;m.ra=function(){return this.i}; m.W=!0;m.V=function(){return this.h.toString()}; m.toString=function(){return this.h.toString()}; var Pb={};function Qb(a,b){var c=ob();a=c?c.createHTML(a):a;return new Ob(a,b,Pb)} ;function Rb(a,b){b instanceof Eb||b instanceof Eb||(b="object"==typeof b&&b.W?b.V():String(b),Jb.test(b)||(b="about:invalid#zClosurez"),b=new Eb(b,Fb));a.href=Gb(b)} function Sb(a,b){a.rel="stylesheet";a.href=tb(b).toString();(b=Tb('style[nonce],link[rel="stylesheet"][nonce]',a.ownerDocument&&a.ownerDocument.defaultView))&&a.setAttribute("nonce",b)} function Ub(){return Tb("script[nonce]",void 0)} var Vb=/^[\w+/_-]+[=]{0,2}$/;function Tb(a,b){b=(b||y).document;return b.querySelector?(a=b.querySelector(a))&&(a=a.nonce||a.getAttribute("nonce"))&&Vb.test(a)?a:"":""} ;function Wb(a){return a=wb(a,void 0)} function Xb(a){for(var b=0,c=0;c>>0;return b} ;var Yb=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function Zb(a){return a?decodeURI(a):a} function $b(a){return Zb(a.match(Yb)[3]||null)} function ac(a,b,c){if(Array.isArray(b))for(var d=0;dc&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.substr(0,d),e,a.substr(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;b=a[0]+(a[1]?"?"+a[1]:"")+a[2]}else b=a;return b} var dc=/#|$/;function G(a,b){var c=void 0;return new (c||(c=Promise))(function(d,e){function f(k){try{h(b.next(k))}catch(l){e(l)}} function g(k){try{h(b["throw"](k))}catch(l){e(l)}} function h(k){k.done?d(k.value):(new c(function(l){l(k.value)})).then(f,g)} h((b=b.apply(a,void 0)).next())})} ;function ec(){return F("iPhone")&&!F("iPod")&&!F("iPad")} ;function fc(a){fc[" "](a);return a} fc[" "]=Ea;var gc=F("Opera"),hc=F("Trident")||F("MSIE"),ic=F("Edge"),jc=F("Gecko")&&!(-1!=Lb.toLowerCase().indexOf("webkit")&&!F("Edge"))&&!(F("Trident")||F("MSIE"))&&!F("Edge"),kc=-1!=Lb.toLowerCase().indexOf("webkit")&&!F("Edge"),lc=F("Android");function mc(){var a=y.document;return a?a.documentMode:void 0} var nc;a:{var oc="",pc=function(){var a=Lb;if(jc)return/rv:([^\);]+)(\)|;)/.exec(a);if(ic)return/Edge\/([\d\.]+)/.exec(a);if(hc)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(kc)return/WebKit\/(\S+)/.exec(a);if(gc)return/(?:Version)[ \/]?(\S+)/.exec(a)}(); pc&&(oc=pc?pc[1]:"");if(hc){var qc=mc();if(null!=qc&&qc>parseFloat(oc)){nc=String(qc);break a}}nc=oc}var rc=nc,sc;if(y.document&&hc){var tc=mc();sc=tc?tc:parseInt(rc,10)||void 0}else sc=void 0;var uc=sc;var vc=ec()||F("iPod"),wc=F("iPad"),xc=F("Safari")&&!((F("Chrome")||F("CriOS"))&&!F("Edge")||F("Coast")||F("Opera")||F("Edge")||F("Edg/")||F("OPR")||F("Firefox")||F("FxiOS")||F("Silk")||F("Android"))&&!(ec()||F("iPad")||F("iPod"));var yc={},zc=null; function Ac(a){var b=3;Ga(a);void 0===b&&(b=0);if(!zc){zc={};for(var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),d=["+/=","+/","-_=","-_.","-_"],e=0;5>e;e++){var f=c.concat(d[e].split(""));yc[e]=f;for(var g=0;g>2];k=b[(k&3)<<4|l>>4];l=b[(l&15)<<2|h>>6];h=b[h&63];c[e++]=""+g+k+l+h}g=0;h=d;switch(a.length- f){case 2:g=a[f+1],h=b[(g&15)<<2]||d;case 1:a=a[f],c[e]=""+b[a>>2]+b[(a&3)<<4|g>>4]+h+d}return c.join("")} ;var Bc={jl:{value:!0,configurable:!0}};var Cc=Object,Dc=Cc.freeze,Ec=[];Array.isArray(Ec)&&!Object.isFrozen(Ec)&&Object.defineProperties(Ec,Bc);Dc.call(Cc,Ec);var H=window;var Fc={};function Gc(){} function Hc(a,b){if(b!==Fc)throw Error("Bad secret");this.h=a} v(Hc,Gc);Hc.prototype.toString=function(){return this.h}; var Ic=new Hc("about:invalid#zTSz",Fc);function Jc(a){if(a instanceof Gc)if(a instanceof Hc)a=a.h;else throw Error("wrong type");else a=Gb(a);return a} ;function Kc(a,b){a.src=tb(b);var c;b=(a.ownerDocument&&a.ownerDocument.defaultView||window).document;(c=(b=null===(c=b.querySelector)||void 0===c?void 0:c.call(b,"script[nonce]"))?b.nonce||b.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",c)} ;var Lc=!hc||9<=Number(uc);function Mc(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0} m=Mc.prototype;m.clone=function(){return new Mc(this.x,this.y)}; m.equals=function(a){return a instanceof Mc&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)}; m.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this}; m.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this}; m.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};function Nc(a,b){this.width=a;this.height=b} m=Nc.prototype;m.clone=function(){return new Nc(this.width,this.height)}; m.aspectRatio=function(){return this.width/this.height}; m.isEmpty=function(){return!(this.width*this.height)}; m.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; m.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; m.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Oc(a){var b=document;return"string"===typeof a?b.getElementById(a):a} function Pc(a,b){cb(b,function(c,d){c&&"object"==typeof c&&c.W&&(c=c.V());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Qc.hasOwnProperty(d)?a.setAttribute(Qc[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})} var Qc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"}; function Rc(a,b,c){var d=arguments,e=document,f=String(d[0]),g=d[1];if(!Lc&&g&&(g.name||g.type)){f=["<",f];g.name&&f.push(' name="',Wb(g.name),'"');if(g.type){f.push(' type="',Wb(g.type),'"');var h={};mb(h,g);delete h.type;g=h}f.push(">");f=f.join("")}f=Sc(e,f);g&&("string"===typeof g?f.className=g:Array.isArray(g)?f.className=g.join(" "):Pc(f,g));2q;q+=4)r[q/4]=p[q]<<24|p[q+1]<<16|p[q+2]<<8|p[q+3];for(q=16;80>q;q++)p=r[q-3]^r[q-8]^r[q-14]^r[q-16],r[q]=(p<<1|p>>>31)&4294967295;p=e[0];var A=e[1],I=e[2],J=e[3],X=e[4];for(q=0;80>q;q++){if(40>q)if(20>q){var Y=J^A&(I^J);var K=1518500249}else Y=A^I^J,K=1859775393;else 60>q?(Y=A&I|J&(A|I),K=2400959708):(Y=A^I^J,K=3395469782);Y=((p<<5|p>>>27)&4294967295)+Y+X+K+r[q]&4294967295;X=J;J=I;I=(A<<30|A>>>2)&4294967295;A=p;p=Y}e[0]=e[0]+p&4294967295;e[1]=e[1]+A&4294967295;e[2]= e[2]+I&4294967295;e[3]=e[3]+J&4294967295;e[4]=e[4]+X&4294967295} function c(p,r){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var q=[],A=0,I=p.length;Al?c(h,56-l):c(h,64-(l-56));for(var q=63;56<=q;q--)f[q]=r&255,r>>>=8;b(f);for(q=r=0;5>q;q++)for(var A=24;0<=A;A-=8)p[r++]=e[q]>>A&255;return p} for(var e=[],f=[],g=[],h=[128],k=1;64>k;++k)h[k]=0;var l,n;a();return{reset:a,update:c,digest:d,Qa:function(){for(var p=d(),r="",q=0;qh?"":0==h?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*h)).toUTCString())+(d?";secure":"")+(null!=e?";samesite="+e:"")}; m.get=function(a,b){for(var c=a+"=",d=(this.h.cookie||"").split(";"),e=0,f;ea&&0===a%1&&this.data_[a]!=b&&(this.data_[a]=b,this.h=-1)}; sd.prototype.get=function(a){return!!this.data_[a]}; function td(a){-1==a.h&&(a.h=Ya(a.data_,function(b,c,d){return c?b+Math.pow(2,d):b},0)); return a.h} ;function ud(a,b){this.j=a;this.l=b;this.i=0;this.h=null} ud.prototype.get=function(){if(0a.i&&(a.i++,b.next=a.h,a.h=b)} ;var wd; function xd(){var a=y.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!F("Presto")&&(a=function(){var e=Sc(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),h="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=Na(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&&!F("Trident")&&!F("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Ea;c.Ea=null;e()}}; return function(e){d.next={Ea:e};d=d.next;b.port2.postMessage(0)}}return function(e){y.setTimeout(e,0)}} ;function yd(a){y.setTimeout(function(){throw a;},0)} ;function zd(){this.i=this.h=null} zd.prototype.add=function(a,b){var c=Ad.get();c.set(a,b);this.i?this.i.next=c:this.h=c;this.i=c}; zd.prototype.remove=function(){var a=null;this.h&&(a=this.h,this.h=this.h.next,this.h||(this.i=null),a.next=null);return a}; var Ad=new ud(function(){return new Bd},function(a){return a.reset()}); function Bd(){this.next=this.scope=this.h=null} Bd.prototype.set=function(a,b){this.h=a;this.scope=b;this.next=null}; Bd.prototype.reset=function(){this.next=this.scope=this.h=null};function Cd(a,b){Dd||Ed();Fd||(Dd(),Fd=!0);Gd.add(a,b)} var Dd;function Ed(){if(y.Promise&&y.Promise.resolve){var a=y.Promise.resolve(void 0);Dd=function(){a.then(Hd)}}else Dd=function(){var b=Hd; "function"!==typeof y.setImmediate||y.Window&&y.Window.prototype&&!F("Edge")&&y.Window.prototype.setImmediate==y.setImmediate?(wd||(wd=xd()),wd(b)):y.setImmediate(b)}} var Fd=!1,Gd=new zd;function Hd(){for(var a;a=Gd.remove();){try{a.h.call(a.scope)}catch(b){yd(b)}vd(Ad,a)}Fd=!1} ;function Id(a,b){this.h=a[y.Symbol.iterator]();this.i=b;this.j=0} Id.prototype[Symbol.iterator]=function(){return this}; Id.prototype.next=function(){var a=this.h.next();return{value:a.done?void 0:this.i.call(void 0,a.value,this.j++),done:a.done}}; function Jd(a,b){return new Id(a,b)} ;function Kd(){this.blockSize=-1} ;function Ld(){this.blockSize=-1;this.blockSize=64;this.h=[];this.o=[];this.m=[];this.j=[];this.j[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.h[0];c=a.h[1];var g=a.h[2],h=a.h[3],k=a.h[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.h[0]=a.h[0]+b&4294967295;a.h[1]=a.h[1]+c&4294967295;a.h[2]=a.h[2]+g&4294967295;a.h[3]=a.h[3]+h&4294967295;a.h[4]=a.h[4]+k&4294967295} Ld.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=0,e=this.o,f=this.i;dthis.i?this.update(this.j,56-this.i):this.update(this.j,this.blockSize-(this.i-56));for(var c=this.blockSize-1;56<=c;c--)this.o[c]=b&255,b/=256;Md(this,this.o);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.h[c]>>d&255,++b;return a};function Nd(a){var b=B("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(g){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||y.$googDebugFname||b}catch(g){e="Not available",c=!0}b=Od(a);if(!(!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name)){c=a.message;if(null== c){if(a.constructor&&a.constructor instanceof Function){if(a.constructor.name)c=a.constructor.name;else if(c=a.constructor,Pd[c])c=Pd[c];else{c=String(c);if(!Pd[c]){var f=/function\s+([^\(]+)/m.exec(c);Pd[c]=f?f[1]:"[Anonymous]"}c=Pd[c]}c='Unknown Error of type "'+c+'"'}else c="Unknown Error of unknown type";"function"===typeof a.toString&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())}return{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"}}a.stack= b;return{message:a.message,name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:a.stack}} function Od(a,b){b||(b={});b[Qd(a)]=!0;var c=a.stack||"";(a=a.Pa)&&!b[Qd(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\n"),c+=Od(a,b));return c} function Qd(a){var b="";"function"===typeof a.toString&&(b=""+a);return b+a.stack} var Pd={};function Rd(a){a&&"function"==typeof a.dispose&&a.dispose()} ;function Sd(a){for(var b=0,c=arguments.length;b2*this.size&&ge(this),!0):!1}; function ge(a){if(a.size!=a.h.length){for(var b=0,c=0;b=d.h.length)throw Yd;var f=d.h[b++];return a?f:d.i[f]}; e.next=e.h.bind(e);return e}; function he(a,b){return Object.prototype.hasOwnProperty.call(a,b)} ;var je=function(){if(!y.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}}); try{y.addEventListener("test",Ea,b),y.removeEventListener("test",Ea,b)}catch(c){}return a}();function ke(a,b){this.type=a;this.h=this.target=b;this.defaultPrevented=this.j=!1} ke.prototype.stopPropagation=function(){this.j=!0}; ke.prototype.preventDefault=function(){this.defaultPrevented=!0};function le(a,b){ke.call(this,a?a.type:"");this.relatedTarget=this.h=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.i=null;a&&this.init(a,b)} C(le,ke);var me={2:"touch",3:"pen",4:"mouse"}; le.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.h=b;if(b=a.relatedTarget){if(jc){a:{try{fc(b.nodeName);var e=!0;break a}catch(f){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY|| 0):(this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:me[a.pointerType]||"";this.state=a.state; this.i=a;a.defaultPrevented&&le.O.preventDefault.call(this)}; le.prototype.stopPropagation=function(){le.O.stopPropagation.call(this);this.i.stopPropagation?this.i.stopPropagation():this.i.cancelBubble=!0}; le.prototype.preventDefault=function(){le.O.preventDefault.call(this);var a=this.i;a.preventDefault?a.preventDefault():a.returnValue=!1};var ne="closure_listenable_"+(1E6*Math.random()|0);var oe=0;function pe(a,b,c,d,e){this.listener=a;this.h=null;this.src=b;this.type=c;this.capture=!!d;this.ka=e;this.key=++oe;this.ea=this.ha=!1} function qe(a){a.ea=!0;a.listener=null;a.h=null;a.src=null;a.ka=null} ;function re(a){this.src=a;this.listeners={};this.h=0} re.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.h++);var g=se(a,b,d,e);-1>>0);function ze(a){if("function"===typeof a)return a;a[He]||(a[He]=function(b){return a.handleEvent(b)}); return a[He]} ;function Ie(){L.call(this);this.i=new re(this);this.M=this;this.u=null} C(Ie,L);Ie.prototype[ne]=!0;Ie.prototype.addEventListener=function(a,b,c,d){xe(this,a,b,c,d)}; Ie.prototype.removeEventListener=function(a,b,c,d){Fe(this,a,b,c,d)}; function Je(a,b){var c=a.u;if(c){var d=[];for(var e=1;c;c=c.u)d.push(c),++e}a=a.M;c=b.type||b;"string"===typeof b?b=new ke(b,a):b instanceof ke?b.target=b.target||a:(e=b,b=new ke(c,a),mb(b,e));e=!0;if(d)for(var f=d.length-1;!b.j&&0<=f;f--){var g=b.h=d[f];e=Ke(g,c,!0,b)&&e}b.j||(g=b.h=a,e=Ke(g,c,!0,b)&&e,b.j||(e=Ke(g,c,!1,b)&&e));if(d)for(f=0;!b.j&&fDate.now())rf.prototype.remove.call(this,a);else return b}};function sf(){} ;function tf(){} C(tf,sf);tf.prototype[Symbol.iterator]=function(){return $d(this.L(!0)).i()}; tf.prototype.clear=function(){var a=Array.from(this);a=u(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};function uf(a){this.h=a} C(uf,tf);m=uf.prototype;m.isAvailable=function(){if(!this.h)return!1;try{return this.h.setItem("__sak","1"),this.h.removeItem("__sak"),!0}catch(a){return!1}}; m.set=function(a,b){try{this.h.setItem(a,b)}catch(c){if(0==this.h.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}}; m.get=function(a){a=this.h.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; m.remove=function(a){this.h.removeItem(a)}; m.L=function(a){var b=0,c=this.h,d=new Zd;d.h=function(){if(b>=c.length)throw Yd;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}; d.next=d.h.bind(d);return d}; m.clear=function(){this.h.clear()}; m.key=function(a){return this.h.key(a)};function vf(){var a=null;try{a=window.localStorage||null}catch(b){}this.h=a} C(vf,uf);function wf(a,b){this.i=a;this.h=null;if(hc&&!(9<=Number(uc))){xf||(xf=new ee);this.h=xf.get(a);this.h||(b?this.h=document.getElementById(b):(this.h=document.createElement("userdata"),this.h.addBehavior("#default#userData"),document.body.appendChild(this.h)),xf.set(a,this.h));try{this.h.load(this.i)}catch(c){this.h=null}}} C(wf,tf);var yf={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},xf=null;function zf(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return yf[b]})} m=wf.prototype;m.isAvailable=function(){return!!this.h}; m.set=function(a,b){this.h.setAttribute(zf(a),b);Af(this)}; m.get=function(a){a=this.h.getAttribute(zf(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; m.remove=function(a){this.h.removeAttribute(zf(a));Af(this)}; m.L=function(a){var b=0,c=this.h.XMLDocument.documentElement.attributes,d=new Zd;d.h=function(){if(b>=c.length)throw Yd;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}; d.next=d.h.bind(d);return d}; m.clear=function(){for(var a=this.h.XMLDocument.documentElement,b=a.attributes.length;0a;a++)this.j.push(0);this.l=0;this.J=Yf(window,"mousemove",Na(this.K,this));a=Na(this.G,this);"function"===typeof a&&(a=Jf(a));this.M=window.setInterval(a,25)} C(cg,L);cg.prototype.K=function(a){void 0===a.h&&Uf(a);var b=a.h;void 0===a.i&&Uf(a);this.i=new Mc(b,a.i)}; cg.prototype.G=function(){if(this.i){var a=$f();if(0!=this.m){var b=this.A,c=this.i,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.m);this.j[this.l]=.5c;c++)b+=this.j[c]||0;3<=b&&this.C();this.u=d}this.m=a;this.A=this.i;this.l=(this.l+1)%4}}; cg.prototype.D=function(){window.clearInterval(this.M);Zf(this.J)};function dg(){} function eg(a,b){return fg(a,0,b)} function gg(a,b){return fg(a,1,b)} ;function hg(){dg.apply(this,arguments)} v(hg,dg);function fg(a,b,c){void 0!==c&&Number.isNaN(Number(c))&&(c=void 0);var d=B("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),NaN):ag(a,c||0)} function ig(a){if(void 0===a||!Number.isNaN(Number(a))){var b=B("yt.scheduler.instance.cancelJob");b?b(a):bg(a)}} hg.prototype.start=function(){var a=B("yt.scheduler.instance.start");a&&a()}; hg.prototype.pause=function(){var a=B("yt.scheduler.instance.pause");a&&a()};hg.h||(hg.h=new hg);var jg={}; function kg(a){var b=void 0===a?{}:a;a=void 0===b.kb?!1:b.kb;b=void 0===b.Ta?!0:b.Ta;if(null==B("_lact",window)){var c=parseInt(E("LACT"),10);c=isFinite(c)?Date.now()-Math.max(c,0):-1;z("_lact",c,window);z("_fact",c,window);-1==c&&lg();Yf(document,"keydown",lg);Yf(document,"keyup",lg);Yf(document,"mousedown",lg);Yf(document,"mouseup",lg);a?Yf(window,"touchmove",function(){mg("touchmove",200)},{passive:!0}):(Yf(window,"resize",function(){mg("resize",200)}),b&&Yf(window,"scroll",function(){mg("scroll",200)})); new cg(function(){mg("mouse",100)}); Yf(document,"touchstart",lg,{passive:!0});Yf(document,"touchend",lg,{passive:!0})}} function mg(a,b){jg[a]||(jg[a]=!0,gg(function(){lg();jg[a]=!1},b))} function lg(){null==B("_lact",window)&&kg();var a=Date.now();z("_lact",a,window);-1==B("_fact",window)&&z("_fact",a,window);(a=B("ytglobal.ytUtilActivityCallback_"))&&a()} function ng(){var a=B("_lact",window);return null==a?-1:Math.max(Date.now()-a,0)} ;function og(){var a=pg;B("yt.ads.biscotti.getId_")||z("yt.ads.biscotti.getId_",a,void 0)} function qg(a){z("yt.ads.biscotti.lastId_",a,void 0)} ;var rg=/^[\w.]*$/,sg={q:!0,search_query:!0};function tg(a,b){b=a.split(b);for(var c={},d=0,e=b.length;dk.status,r=500<=k.status&&600>k.status;if(l||p||r)n=Pg(a,c,k,b.convertToSafeHtml);if(l)a:if(k&&204==k.status)l=!0;else{switch(c){case "XML":l=0==parseInt(n&&n.return_code,10);break a;case "RAW":l=!0;break a}l=!!n}n=n||{};p=b.context||y;l?b.onSuccess&&b.onSuccess.call(p,k,n):b.onError&&b.onError.call(p,k,n);b.onFinish&&b.onFinish.call(p,k,n)}},b.method, d,b.headers,b.responseType,b.withCredentials); if(b.onTimeout&&0"',style:"display:none"}),(9==a.nodeType?a:a.ownerDocument||a.document).body.appendChild(a))}}else if(e)Og(a,b,"POST",e,d);else if(E("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d)Og(a,b,"GET","",d);else{b:{try{var g=new Sa({url:a});if(g.j&&g.i||g.l){var h=Zb(a.match(Yb)[5]||null),k;if(!(k=!h||!h.endsWith("/aclk"))){var l=a.search(dc);d:{for(c=0;0<=(c=a.indexOf("ri", c))&&cr)var q=null;else{var A=a.indexOf("&",r);if(0>A||A>l)A=l;r+=3;q=decodeURIComponent(a.substr(r,A-r).replace(/\+/g," "))}k="1"!==q}f=!k;break b}}catch(I){}f=!1}f?Yg(a)?(b&&b(),f=!0):f=!1:f=!1;f||Zg(a,b)}} function $g(a,b,c){c=void 0===c?"":c;Yg(a,c)?b&&b():Xg(a,b,void 0,void 0,c)} function Yg(a,b){try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,void 0===b?"":b))return!0}catch(c){}return!1} function Zg(a,b){var c=new Image,d=""+Wg++;Vg[d]=c;c.onload=c.onerror=function(){b&&Vg[d]&&b();delete Vg[d]}; c.src=a} ;var ah=y.ytPubsubPubsubInstance||new M,bh=y.ytPubsubPubsubSubscribedKeys||{},ch=y.ytPubsubPubsubTopicToKeys||{},dh=y.ytPubsubPubsubIsSynchronous||{};function eh(a,b){var c=fh();if(c&&b){var d=c.subscribe(a,function(){var e=arguments;var f=function(){bh[d]&&b.apply&&"function"==typeof b.apply&&b.apply(window,e)}; try{dh[a]?f():ag(f,0)}catch(g){Kf(g)}},void 0); bh[d]=!0;ch[a]||(ch[a]=[]);ch[a].push(d);return d}return 0} function gh(a){var b=fh();b&&("number"===typeof a?a=[a]:"string"===typeof a&&(a=[parseInt(a,10)]),D(a,function(c){b.unsubscribeByKey(c);delete bh[c]}))} function hh(a,b){var c=fh();c&&c.publish.apply(c,arguments)} function ih(a){var b=fh();if(b)if(b.clear(a),a)jh(a);else for(var c in ch)jh(c)} function fh(){return y.ytPubsubPubsubInstance} function jh(a){ch[a]&&(a=ch[a],D(a,function(b){bh[b]&&delete bh[b]}),a.length=0)} M.prototype.subscribe=M.prototype.subscribe;M.prototype.unsubscribeByKey=M.prototype.da;M.prototype.publish=M.prototype.U;M.prototype.clear=M.prototype.clear;z("ytPubsubPubsubInstance",ah,void 0);z("ytPubsubPubsubTopicToKeys",ch,void 0);z("ytPubsubPubsubIsSynchronous",dh,void 0);z("ytPubsubPubsubSubscribedKeys",bh,void 0);var kh=window,P=kh.ytcsi&&kh.ytcsi.now?kh.ytcsi.now:kh.performance&&kh.performance.timing&&kh.performance.now&&kh.performance.timing.navigationStart?function(){return kh.performance.timing.navigationStart+kh.performance.now()}:function(){return(new Date).getTime()};var lh=Pf("initial_gel_batch_timeout",2E3),mh=Math.pow(2,16)-1,nh=null,oh=0,ph=void 0,qh=0,rh=0,sh=0,th=!0,uh=y.ytLoggingTransportGELQueue_||new Map;z("ytLoggingTransportGELQueue_",uh,void 0);var vh=y.ytLoggingTransportTokensToCttTargetIds_||{};z("ytLoggingTransportTokensToCttTargetIds_",vh,void 0); function wh(a,b){if("log_event"===a.endpoint){var c="";a.ja?c="visitorOnlyApprovedKey":a.F&&(vh[a.F.token]=xh(a.F),c=a.F.token);var d=uh.get(c)||[];uh.set(c,d);d.push(a.payload);b&&(ph=new b);a=Pf("tvhtml5_logging_max_batch")||Pf("web_logging_max_batch")||100;b=P();d.length>=a?yh({writeThenSend:!0}):10<=b-sh&&(zh(),sh=b)}} function Ah(a,b){if("log_event"===a.endpoint){var c="";a.ja?c="visitorOnlyApprovedKey":a.F&&(vh[a.F.token]=xh(a.F),c=a.F.token);var d=new Map;d.set(c,[a.payload]);b&&(ph=new b);return new Se(function(e){ph&&ph.isReady()?Bh(d,e,{bypassNetworkless:!0}):e()})}} function yh(a){a=void 0===a?{}:a;new Se(function(b){bg(qh);bg(rh);rh=0;ph&&ph.isReady()?(Bh(uh,b,a),uh.clear()):(zh(),b())})} function zh(){O("web_gel_timeout_cap")&&!rh&&(rh=ag(function(){yh({writeThenSend:!0})},6E4)); bg(qh);var a=E("LOGGING_BATCH_TIMEOUT",Pf("web_gel_debounce_ms",1E4));O("shorten_initial_gel_batch_timeout")&&th&&(a=lh);qh=ag(function(){yh({writeThenSend:!0})},a)} function Bh(a,b,c){var d=ph;c=void 0===c?{}:c;var e=Math.round(P()),f=a.size;a=u(a);for(var g=a.next();!g.done;g=a.next()){var h=u(g.value);g=h.next().value;var k=h.next().value;h=kb({context:Ch(d.config_||Dh())});h.events=k;(k=vh[g])&&Eh(h,g,k);delete vh[g];g="visitorOnlyApprovedKey"===g;Fh(h,e,g);O("send_beacon_before_gel")&&window.navigator&&window.navigator.sendBeacon&&!c.writeThenSend&&$g("/generate_204");Gh(d,"log_event",h,{retry:!0,onSuccess:function(){f--;f||b();oh=Math.round(P()-e)}, onError:function(){f--;f||b()}, Ka:c,ja:g});th=!1}} function Fh(a,b,c){a.requestTimeMs=String(b);O("unsplit_gel_payloads_in_logs")&&(a.unsplitGelPayloadsInLogs=!0);!c&&(b=E("EVENT_ID",void 0))&&((c=E("BATCH_CLIENT_COUNTER",void 0)||0)||(c=Math.floor(Math.random()*mh/2)),c++,c>mh&&(c=1),N("BATCH_CLIENT_COUNTER",c),b={serializedEventId:b,clientCounter:String(c)},a.serializedClientEventId=b,nh&&oh&&O("log_gel_rtt_web")&&(a.previousBatchInfo={serializedClientEventId:nh,roundtripMs:String(oh)}),nh=b,oh=0)} function Eh(a,b,c){if(c.videoId)var d="VIDEO";else if(c.playlistId)d="PLAYLIST";else return;a.credentialTransferTokenTargetId=c;a.context=a.context||{};a.context.user=a.context.user||{};a.context.user.credentialTransferTokens=[{token:b,scope:d}]} function xh(a){var b={};a.videoId?b.videoId=a.videoId:a.playlistId&&(b.playlistId=a.playlistId);return b} ;var Hh=y.ytLoggingGelSequenceIdObj_||{};z("ytLoggingGelSequenceIdObj_",Hh,void 0);function Ih(a,b,c,d){d=void 0===d?{}:d;var e={},f=Math.round(d.timestamp||P());e.eventTimeMs=fMath.round(P())-d.requestTime)){var e=d.authState,f=Vh(Uh(!1));ib(e,f)&&(e=d.request,"requestTimeMs"in e&&(e.requestTimeMs=Math.round(P())),Gh(a,d.method,e,{}));delete b[c]}}Yh().set("requests",b,86400,!0)}} ;function bi(a,b){this.version=a;this.args=b} ;function ci(a,b){this.topic=a;this.h=b} ci.prototype.toString=function(){return this.topic};var di=B("ytPubsub2Pubsub2Instance")||new M;M.prototype.subscribe=M.prototype.subscribe;M.prototype.unsubscribeByKey=M.prototype.da;M.prototype.publish=M.prototype.U;M.prototype.clear=M.prototype.clear;z("ytPubsub2Pubsub2Instance",di,void 0);var ei=B("ytPubsub2Pubsub2SubscribedKeys")||{};z("ytPubsub2Pubsub2SubscribedKeys",ei,void 0);var fi=B("ytPubsub2Pubsub2TopicToKeys")||{};z("ytPubsub2Pubsub2TopicToKeys",fi,void 0);var gi=B("ytPubsub2Pubsub2IsAsync")||{};z("ytPubsub2Pubsub2IsAsync",gi,void 0); z("ytPubsub2Pubsub2SkipSubKey",null,void 0);function hi(a,b){var c=ii();c&&c.publish.call(c,a.toString(),a,b)} function ji(a){var b=ki,c=ii();if(!c)return 0;var d=c.subscribe(b.toString(),function(e,f){var g=B("ytPubsub2Pubsub2SkipSubKey");g&&g==d||(g=function(){if(ei[d])try{if(f&&b instanceof ci&&b!=e)try{var h=b.h,k=f;if(!k.args||!k.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");try{if(!h.T){var l=new h;h.T=l.version}var n=h.T}catch(p){}if(!n||k.version!=n)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{f=Reflect.construct(h, ab(k.args))}catch(p){throw p.message="yt.pubsub2.Data.deserialize(): "+p.message,p;}}catch(p){throw p.message="yt.pubsub2.pubsub2 cross-binary conversion error for "+b.toString()+": "+p.message,p;}a.call(window,f)}catch(p){Kf(p)}},gi[b.toString()]?B("yt.scheduler.instance")?gg(g):ag(g,0):g())}); ei[d]=!0;fi[b.toString()]||(fi[b.toString()]=[]);fi[b.toString()].push(d);return d} function li(){var a=mi,b=ji(function(c){a.apply(void 0,arguments);ni(b)}); return b} function ni(a){var b=ii();b&&("number"===typeof a&&(a=[a]),D(a,function(c){b.unsubscribeByKey(c);delete ei[c]}))} function ii(){return B("ytPubsub2Pubsub2Instance")} ;function oi(){} ;var pi=function(){var a;return function(){a||(a=new Wh("ytidb"));return a}}(); function qi(){var a;return null===(a=pi())||void 0===a?void 0:a.get("LAST_RESULT_ENTRY_KEY",!0)} function ri(a){this.h=void 0===a?!1:a;(a=qi())||(a={hasSucceededOnce:this.h});this.i=a;var b,c;null!==(b=pi())&&void 0!==b&&b.h&&(b={hasSucceededOnce:this.i.hasSucceededOnce||this.h},null===(c=pi())||void 0===c?void 0:c.set("LAST_RESULT_ENTRY_KEY",b,2592E3,!0))} ri.prototype.isSupported=function(){return this.h};var si=[],ti=!1;function ui(a){ti||(si.push({type:"ERROR",payload:a}),10=k)bj(g,p,J,l,X,b.join(),h),n=X;K.B(2);break;case 3:return K.return(Promise.reject(n))}})})} function bj(a,b,c,d,e,f,g){b=c-b;e?(e instanceof Q&&("QUOTA_EXCEEDED"===e.type||"QUOTA_MAYBE_EXCEEDED"===e.type)&&vi("QUOTA_EXCEEDED",{dbName:zi(a.h.name),objectStoreNames:f,transactionCount:a.transactionCount,transactionMode:g.mode}),e instanceof Q&&"UNKNOWN_ABORT"===e.type&&(c-=a.j,0>c&&c>=Math.pow(2,31)&&(c=0),vi("TRANSACTION_UNEXPECTEDLY_ABORTED",{objectStoreNames:f,transactionDuration:b,transactionCount:a.transactionCount,dbDuration:c}),a.i=!0),cj(a,!1,d,f,b,g.tag),ui(e)):cj(a,!0,d,f,b,g.tag)} function cj(a,b,c,d,e,f){vi("TRANSACTION_ENDED",{objectStoreNames:d,connectionHasUnknownAbortedTransaction:a.i,duration:e,isSuccessful:b,tryCount:c,tag:void 0===f?"IDB_TRANSACTION_TAG_UNKNOWN":f})} m.getName=function(){return this.h.name}; function Yi(a){this.h=a} m=Yi.prototype;m.add=function(a,b){return Si(this.h.add(a,b))}; m.autoIncrement=function(){return this.h.autoIncrement}; m.clear=function(){return Si(this.h.clear()).then(function(){})}; m.count=function(a){return Si(this.h.count(a))}; function dj(a,b){return ej(a,{query:b},function(c){return c.delete().then(function(){return c.continue()})}).then(function(){})} m.delete=function(a){return a instanceof IDBKeyRange?dj(this,a):Si(this.h.delete(a))}; m.get=function(a){return Si(this.h.get(a))}; m.index=function(a){return new fj(this.h.index(a))}; m.getName=function(){return this.h.name}; m.keyPath=function(){return this.h.keyPath}; function ej(a,b,c){a=a.h.openCursor(b.query,b.direction);return gj(a).then(function(d){return Ti(d,c)})} function $i(a){var b=this;this.h=a;this.j=new Map;this.i=!1;this.done=new Promise(function(c,d){b.h.addEventListener("complete",function(){c()}); b.h.addEventListener("error",function(e){e.currentTarget===e.target&&d(b.h.error)}); b.h.addEventListener("abort",function(){var e=b.h.error;if(e)d(e);else if(!b.i){e=Q;for(var f=b.h.objectStoreNames,g=[],h=0;h=J},I); I.done.catch(function(J){e(J)})}catch(J){e(J)}}); g.addEventListener("success",function(){var q=g.result;k&&q.addEventListener("versionchange",function(){k(f())}); q.addEventListener("close",function(){vi("IDB_UNEXPECTEDLY_CLOSED",{dbName:zi(a),dbVersion:q.version});l&&l()}); d(f())}); g.addEventListener("error",function(){e(g.error)}); h&&g.addEventListener("blocked",function(){h()})})} function kj(a,b,c){c=void 0===c?{}:c;return jj(a,b,c)} function lj(a,b){b=void 0===b?{}:b;return G(this,function d(){var e,f,g;return x(d,function(h){e=self.indexedDB.deleteDatabase(a);f=b;(g=f.blocked)&&e.addEventListener("blocked",function(){g()}); return w(h,Ri(e),0)})})} ;function mj(a,b){this.name=a;this.options=b;this.j=!1} mj.prototype.i=function(a,b,c){c=void 0===c?{}:c;return kj(a,b,c)}; mj.prototype.delete=function(a){a=void 0===a?{}:a;return lj(this.name,a)}; mj.prototype.open=function(){var a=this;if(!this.h){var b,c=function(){a.h===b&&(a.h=void 0)},d={blocking:function(f){f.close()}, closed:c,wb:c,upgrade:this.options.upgrade},e=function(){return G(a,function g(){var h=this,k,l,n;return x(g,function(p){switch(p.h){case 1:return ra(p,2),w(p,h.i(h.name,h.options.version,d),4);case 4:k=p.i;a:{var r=h.options;for(var q=u(Object.keys(r.la)),A=q.next();!A.done;A=q.next()){A=A.value;var I=r.la[A];if("boolean"===typeof I){if(!k.h.objectStoreNames.contains(A)){r=A;break a}}else{var J=void 0===I.mb?Number.MAX_VALUE:I.mb;if(k.h.version>=I.bl&&!(k.h.version>=J)&&!k.h.objectStoreNames.contains(A)){r= A;break a}}}r=void 0}l=r;if(void 0===l){p.B(5);break}if(h.j){p.B(6);break}h.j=!0;return w(p,h.delete(),7);case 7:return ui(new Q("DB_DELETED_BY_MISSING_OBJECT_STORE",{dbName:h.name,gb:l})),p.return(e());case 6:throw new Gi(l);case 5:return p.return(k);case 2:n=sa(p);if(n instanceof DOMException?"VersionError"===n.name:"DOMError"in self&&n instanceof DOMError?"VersionError"===n.name:n instanceof Object&&"message"in n&&"An attempt was made to open a database using a lower version than the existing version."=== n.message)return p.return(h.i(h.name,void 0,Object.assign(Object.assign({},d),{upgrade:void 0})));c();throw n;}})})}; this.h=b=e()}return this.h};var nj=new mj("YtIdbMeta",{la:{databases:!0},upgrade:function(a,b){b(1)&&Xi(a,"databases",{keyPath:"actualName"})}}); function oj(a){return G(this,function c(){var d;return x(c,function(e){if(1==e.h)return w(e,nj.open(),2);d=e.i;return e.return(Vi(d,["databases"],{I:!0,mode:"readwrite"},function(f){var g=Wi(f,"databases");return g.get(a.actualName).then(function(h){if(h?a.actualName!==h.actualName||a.publicName!==h.publicName||a.userIdentifier!==h.userIdentifier:1)return Si(g.h.put(a,void 0)).then(function(){})})}))})})} function pj(a){return G(this,function c(){var d;return x(c,function(e){if(1==e.h)return w(e,nj.open(),2);d=e.i;return e.return(d.delete("databases",a))})})} function qj(a){return G(this,function c(){var d,e;return x(c,function(f){return 1==f.h?(d=[],w(f,nj.open(),2)):3!=f.h?(e=f.i,w(f,Vi(e,["databases"],{I:!0,mode:"readonly"},function(g){d.length=0;return ej(Wi(g,"databases"),{},function(h){a(h.getValue())&&d.push(h.getValue());return h.continue()})}),3)):f.return(d)})})} function rj(){return qj(function(a){return"LogsDatabaseV2"===a.publicName&&void 0!==a.userIdentifier})} ;var sj; function tj(){return G(this,function b(){var c,d,e;return x(b,function(f){switch(f.h){case 1:c=qi();if(null===c||void 0===c?0:c.hasSucceededOnce)return f.return(new ri(!0));var g;if(g=Tg)g=/WebKit\/([0-9]+)/.exec(Lb),g=!!(g&&600<=parseInt(g[1],10));g&&(g=/WebKit\/([0-9]+)/.exec(Lb),g=!(g&&602<=parseInt(g[1],10)));if(g||ic)return f.return(new ri(!1));try{if(d=self,!(d.indexedDB&&d.IDBIndex&&d.IDBKeyRange&&d.IDBObjectStore))return f.return(new ri(!1))}catch(h){return f.return(new ri(!1))}if(!("IDBTransaction"in self&& "objectStoreNames"in IDBTransaction.prototype))return f.return(new ri(!1));ra(f,2);e={actualName:"yt-idb-test-do-not-use",publicName:"yt-idb-test-do-not-use",userIdentifier:void 0};return w(f,oj(e),4);case 4:return w(f,pj("yt-idb-test-do-not-use"),5);case 5:return f.return(new ri(!0));case 2:return sa(f),f.return(new ri(!1))}})})} function uj(){if(void 0!==sj)return sj;ti=!0;return sj=tj().then(function(a){ti=!1;return a.isSupported()})} ;function vj(a){try{xi();var b=!0}catch(c){b=!1}if(!b)throw a=new Q("AUTH_INVALID"),ui(a),a;b=xi();return{actualName:a+":"+b,publicName:a,userIdentifier:b}} function wj(a,b,c,d){return G(this,function f(){var g,h;return x(f,function(k){switch(k.h){case 1:return w(k,xj({caller:"openDbImpl",publicName:a,version:b}),2);case 2:return yi(a),g=c?{actualName:a,publicName:a,userIdentifier:void 0}:vj(a),ra(k,3),w(k,oj(g),5);case 5:return w(k,kj(g.actualName,b,d),6);case 6:return k.return(k.i);case 3:return h=sa(k),ra(k,7),w(k,pj(g.actualName),9);case 9:k.h=8;k.m=0;break;case 7:sa(k);case 8:throw h;}})})} function xj(a){return G(this,function c(){var d;return x(c,function(e){if(1==e.h)return w(e,uj(),2);if(!e.i)throw d=new Q("IDB_NOT_SUPPORTED",{context:a}),ui(d),d;e.h=0})})} function yj(a,b,c){c=void 0===c?{}:c;return wj(a,b,!1,c)} function zj(a,b,c){c=void 0===c?{}:c;return wj(a,b,!0,c)} function Aj(a,b){b=void 0===b?{}:b;return G(this,function d(){var e;return x(d,function(f){if(1==f.h)return w(f,uj(),2);if(3!=f.h){if(!f.i)return f.return();yi(a);e=vj(a);return w(f,lj(e.actualName,b),3)}return w(f,pj(e.actualName),0)})})} function Bj(a,b){var c=this;a=a.map(function(d){return G(c,function f(){return x(f,function(g){return 1==g.h?w(g,lj(d.actualName,b),2):w(g,pj(d.actualName),0)})})}); return Promise.all(a).then(function(){})} function Cj(){var a=void 0===a?{}:a;return G(this,function c(){var d;return x(c,function(e){if(1==e.h)return w(e,uj(),2);if(3!=e.h){if(!e.i)return e.return();yi("LogsDatabaseV2");return w(e,rj(),3)}d=e.i;return w(e,Bj(d,a),0)})})} function Dj(a,b){b=void 0===b?{}:b;return G(this,function d(){return x(d,function(e){if(1==e.h)return w(e,uj(),2);if(3!=e.h){if(!e.i)return e.return();yi(a);return w(e,lj(a,b),3)}return w(e,pj(a),0)})})} ;function Ej(a,b){mj.call(this,a,b);this.options=b;yi(a)} v(Ej,mj);function Fj(a,b){var c;return function(){c||(c=new Ej(a,b));return c}} Ej.prototype.i=function(a,b,c){c=void 0===c?{}:c;return(this.options.Aa?zj:yj)(a,b,Object.assign({},c))}; Ej.prototype.delete=function(a){a=void 0===a?{}:a;return(this.options.Aa?Dj:Aj)(this.name,a)}; function Gj(a,b){return Fj(a,b)} ;var Hj;function Ij(){if(Hj)return Hj();var a={};Hj=Gj("LogsDatabaseV2",{la:(a.LogsRequestsStore=!0,a.sapisid=!0,a.SWHealthLog=!0,a),Aa:!1,upgrade:function(b,c){c(2)&&(Xi(b,"LogsRequestsStore",{keyPath:"id",autoIncrement:!0}).h.createIndex("newRequest",["status","authHash","interface","timestamp"],{unique:!1}),Xi(b,"sapisid"));c(3)&&Xi(b,"SWHealthLog",{keyPath:"id",autoIncrement:!0}).h.createIndex("swHealthNewRequest",["interface","timestamp"],{unique:!1})}, version:4});return Hj()} ;function Jj(){return Ij().open()} function Kj(a){return G(this,function c(){var d,e,f,g,h;return x(c,function(k){switch(k.h){case 1:return d={startTime:P(),transactionType:"YT_IDB_TRANSACTION_TYPE_WRITE"},w(k,Jj(),2);case 2:e=k.i;if(5<=e.h.version){f=Object.assign(Object.assign({},a),{options:JSON.parse(JSON.stringify(a.options)),interface:E("INNERTUBE_CONTEXT_CLIENT_NAME",0)});k.B(3);break}return w(k,Lj(),4);case 4:g=k.i,f=Object.assign(Object.assign({},a),{authHash:g,options:JSON.parse(JSON.stringify(a.options)),interface:E("INNERTUBE_CONTEXT_CLIENT_NAME", 0)});case 3:return w(k,Zi(e,"LogsRequestsStore",f),5);case 5:return h=k.i,d.xb=P(),Mj(d),k.return(h)}})})} function Nj(a){return G(this,function c(){var d,e,f,g,h,k,l,n,p;return x(c,function(r){switch(r.h){case 1:return d={startTime:P(),transactionType:"YT_IDB_TRANSACTION_TYPE_READ"},w(r,Jj(),2);case 2:e=r.i;f=E("INNERTUBE_CONTEXT_CLIENT_NAME",0);if(5<=e.h.version){g=[a,f,0];h=[a,f,P()];r.B(3);break}return w(r,Lj(),4);case 4:k=r.i,g=[a,k,f,0],h=[a,k,f,P()];case 3:return l=IDBKeyRange.bound(g,h),n=void 0,p=5<=e.h.version?"newRequestV2":"newRequest",w(r,Vi(e,["LogsRequestsStore"],{mode:"readwrite",I:!0}, function(q){return hj(Wi(q,"LogsRequestsStore").index(p),{query:l,direction:"prev"},function(A){A.getValue()&&(n=A.getValue(),"NEW"===a&&(n.status="QUEUED",A.update(n)))})}),5); case 5:return d.xb=P(),Mj(d),r.return(n)}})})} function Oj(a){return G(this,function c(){var d;return x(c,function(e){if(1==e.h)return w(e,Jj(),2);d=e.i;return e.return(Vi(d,["LogsRequestsStore"],{mode:"readwrite",I:!0},function(f){var g=Wi(f,"LogsRequestsStore");return g.get(a).then(function(h){if(h)return h.status="QUEUED",Si(g.h.put(h,void 0)).then(function(){return h})})}))})})} function Pj(a){return G(this,function c(){var d;return x(c,function(e){if(1==e.h)return w(e,Jj(),2);d=e.i;return e.return(Vi(d,["LogsRequestsStore"],{mode:"readwrite",I:!0},function(f){var g=Wi(f,"LogsRequestsStore");return g.get(a).then(function(h){return h?(h.status="NEW",h.sendCount+=1,Si(g.h.put(h,void 0)).then(function(){return h})):R.resolve(void 0)})}))})})} function Qj(a){return G(this,function c(){var d;return x(c,function(e){if(1==e.h)return w(e,Jj(),2);d=e.i;return e.return(d.delete("LogsRequestsStore",a))})})} function Rj(){return G(this,function b(){var c;return x(b,function(d){if(1==d.h)return w(d,Jj(),2);c=d.i;return d.return(c.clear("LogsRequestsStore"))})})} function Sj(){return G(this,function b(){var c,d;return x(b,function(e){if(1==e.h)return w(e,Jj(),2);c=e.i;d=P()-2592E6;return w(e,Vi(c,["LogsRequestsStore"],{mode:"readwrite",I:!0},function(f){return ej(Wi(f,"LogsRequestsStore"),{},function(g){if(g.getValue().timestamp<=d)return g.delete().then(function(){return g.continue()})})}),0)})})} function Tj(){return G(this,function b(){return x(b,function(c){return w(c,Cj(),0)})})} function Lj(){return G(this,function b(){var c;return x(b,function(d){if(1==d.h){oi.h||(oi.h=new oi);var e={};var f=rd([]);f&&(e.Authorization=f,f=void 0,void 0===f&&(f=Number(E("SESSION_INDEX",0)),f=isNaN(f)?0:f),e["X-Goog-AuthUser"]=f,"INNERTUBE_HOST_OVERRIDE"in Gf||(e["X-Origin"]=window.location.origin),O("pageid_as_header_web")&&"DELEGATED_SESSION_ID"in Gf&&(e["X-Goog-PageId"]=E("DELEGATED_SESSION_ID")));e instanceof Se||(f=new Se(Ea),Te(f,2,e),e=f);return w(d,e,2)}c=d.i;e=d.return;f=Vh(c);var g= new Ld;g.update(JSON.stringify(f,Object.keys(f).sort()));f=g.digest();g="";for(var h=0;ha.sendCount?w(k,Pj(a.id),8):w(k,Qj(a.id), 4);case 8:gg(function(){Bk().N()&&Ck()},5E3); case 4:c(e,f),k.h=0}})})}; var d=a.options.onSuccess?a.options.onSuccess:function(){}; a.options.onSuccess=function(e,f){return G(b,function h(){return x(h,function(k){if(1==k.h)return void 0===(null===a||void 0===a?void 0:a.id)?k.B(2):w(k,Qj(a.id),2);d(e,f);k.h=0})})}; return a} function Lk(a,b){a=a.timestamp;return P()-a>=b?!1:!0} function Ak(){var a=this;Nj("QUEUED").then(function(b){b&&!Lk(b,12E4)?gg(function(){return G(a,function d(){return x(d,function(e){if(1==e.h)return void 0===b.id?e.B(2):w(e,Pj(b.id),2);Ak();e.h=0})})}):Bk().N()&&Ck()})} function zk(){Rj().catch(function(a){Kf(a)})} function Ek(){return G(this,function b(){return x(b,function(c){return c.return(Zj().catch(function(d){Kf(d)}))})})} function Bk(){wk||(wk=new qk({eb:!0,Sa:!0}));return wk} function Hk(a,b){if(O("networkless_with_beacon")){var c=["method","postBody"];if(Object.keys(b).length>c.length)var d=!0;else{d=0;c=u(c);for(var e=c.next();!e.done;e=c.next())b.hasOwnProperty(e.value)&&d++;d=Object.keys(b).length!==d}d?Lg(a,b):O("networkless_with_ping_send")&&1===Object.keys(b).length&&b.allowPingSend?Xg(a):$g(a,void 0,b.postBody)}else O("networkless_with_ping_send")&&1===Object.keys(b).length&&b.allowPingSend?Xg(a):Lg(a,b)} function Gk(){return B("ytNetworklessLoggingInitializationOptions")?xk.isNwlInitialized:sk} function Jk(){return B("ytNetworklessLoggingInitializationOptions")?xk.isIdbSupported:tk} ;function Nk(a){var b=this;this.config_=null;a?this.config_=a:Th()&&(this.config_=Dh());eg(function(){ai(b)},5E3)} Nk.prototype.isReady=function(){!this.config_&&Th()&&(this.config_=Dh());return!!this.config_}; function Gh(a,b,c,d){function e(r){r=void 0===r?!1:r;var q;if(d.retry&&"www.youtube-nocookie.com"!=h&&(r||(q=Zh(b,c,l,k)),q)){var A=g.onSuccess,I=g.onFetchSuccess;g.onSuccess=function(J,X){$h(q);A(J,X)}; c.onFetchSuccess=function(J,X){$h(q);I(J,X)}}try{r&&d.retry&&!d.Ka.bypassNetworkless?(g.method="POST",!d.Ka.writeThenSend&&O("nwl_send_fast_on_unload")?Kk(p,g):Fk(p,g)):(g.method="POST",g.postParams||(g.postParams={}),Lg(p,g))}catch(J){if("InvalidAccessError"==J.name)q&&($h(q),q=0),Lf(Error("An extension is blocking network request.")); else throw J;}q&&eg(function(){ai(a)},5E3)} !E("VISITOR_DATA")&&"visitor_id"!==b&&.01>Math.random()&&Lf(new wi("Missing VISITOR_DATA when sending innertube request.",b,c,d));if(!a.isReady()){var f=new wi("innertube xhrclient not ready",b,c,d);Kf(f);throw f;}var g={headers:{"Content-Type":"application/json"},method:"POST",postParams:c,postBodyFormat:"JSON",onTimeout:function(){d.onTimeout()}, onFetchTimeout:d.onTimeout,onSuccess:function(r,q){if(d.onSuccess)d.onSuccess(q)}, onFetchSuccess:function(r){if(d.onSuccess)d.onSuccess(r)}, onError:function(r,q){if(d.onError)d.onError(q)}, onFetchError:function(r){if(d.onError)d.onError(r)}, timeout:d.timeout,withCredentials:!0},h="";(f=a.config_.ab)&&(h=f);var k=a.config_.cb||!1,l=Uh(k,h,d);Object.assign(g.headers,l);g.headers.Authorization&&!h&&(g.headers["x-origin"]=window.location.origin);f="/youtubei/"+a.config_.innertubeApiVersion+"/"+b;var n={alt:"json"};a.config_.bb&&g.headers.Authorization||(n.key=a.config_.innertubeApiKey);var p=zg(""+h+f,n||{},!0);Gk()?uj().then(function(r){e(r)}):e(!1)} ;function Ok(a,b,c){c=void 0===c?{}:c;var d=Nk;E("ytLoggingEventsDefaultDisabled",!1)&&Nk==Nk&&(d=null);Ih(a,b,d,c)} ;var Pk=[{za:function(a){return"Cannot read property '"+a.key+"'"}, ma:{Error:[{regexp:/(Permission denied) to access property "([^']+)"/,groups:["reason","key"]}],TypeError:[{regexp:/Cannot read property '([^']+)' of (null|undefined)/,groups:["key","value"]},{regexp:/\u65e0\u6cd5\u83b7\u53d6\u672a\u5b9a\u4e49\u6216 (null|undefined) \u5f15\u7528\u7684\u5c5e\u6027\u201c([^\u201d]+)\u201d/,groups:["value","key"]},{regexp:/\uc815\uc758\ub418\uc9c0 \uc54a\uc74c \ub610\ub294 (null|undefined) \ucc38\uc870\uc778 '([^']+)' \uc18d\uc131\uc744 \uac00\uc838\uc62c \uc218 \uc5c6\uc2b5\ub2c8\ub2e4./, groups:["value","key"]},{regexp:/No se puede obtener la propiedad '([^']+)' de referencia nula o sin definir/,groups:["key"]},{regexp:/Unable to get property '([^']+)' of (undefined or null) reference/,groups:["key","value"]},{regexp:/(null) is not an object \(evaluating '(?:([^.]+)\.)?([^']+)'\)/,groups:["value","base","key"]}]}},{za:function(a){return"Cannot call '"+a.key+"'"}, ma:{TypeError:[{regexp:/(?:([^ ]+)?\.)?([^ ]+) is not a function/,groups:["base","key"]},{regexp:/([^ ]+) called on (null or undefined)/,groups:["key","value"]},{regexp:/Object (.*) has no method '([^ ]+)'/,groups:["base","key"]},{regexp:/Object doesn't support property or method '([^ ]+)'/,groups:["key"]},{regexp:/\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f '([^']+)' \u30d7\u30ed\u30d1\u30c6\u30a3\u307e\u305f\u306f\u30e1\u30bd\u30c3\u30c9\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093/, groups:["key"]},{regexp:/\uac1c\uccb4\uac00 '([^']+)' \uc18d\uc131\uc774\ub098 \uba54\uc11c\ub4dc\ub97c \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4./,groups:["key"]}]}},{za:function(a){return a.key+" is not defined"}, ma:{ReferenceError:[{regexp:/(.*) is not defined/,groups:["key"]},{regexp:/Can't find variable: (.*)/,groups:["key"]}]}}];var Rk={R:[],P:[{Da:Qk,weight:500}]};function Qk(a){a=a.stack;return a.includes("chrome://")||a.includes("chrome-extension://")||a.includes("moz-extension://")} ;function Sk(){this.P=[];this.R=[]} var Tk;function Uk(){if(!Tk){var a=Tk=new Sk;a.R.length=0;a.P.length=0;Rk.R&&a.R.push.apply(a.R,Rk.R);Rk.P&&a.P.push.apply(a.P,Rk.P)}return Tk} ;var Vk=new M;function Wk(a){function b(){return a.charCodeAt(d++)} var c=a.length,d=0;do{var e=Xk(b);if(Infinity===e)break;var f=e>>3;switch(e&7){case 0:e=Xk(b);if(2===f)return e;break;case 1:if(2===f)return;d+=8;break;case 2:e=Xk(b);if(2===f)return a.substr(d,e);d+=e;break;case 5:if(2===f)return;d+=4;break;default:return}}while(db)return c;b=a();c|=(b&127)<<7;if(128>b)return c;b=a();c|=(b&127)<<14;if(128>b)return c;b=a();return 128>b?c|(b&127)<<21:Infinity} ;function Yk(a,b,c,d){if(a)if(Array.isArray(a)){var e=d;for(d=0;da;a++){b=Date.now();for(c=0;c>=8);b[c++]=e}return Ac(b)} function Wl(a,b,c){Rl.push({payloadName:a,payload:b,options:c});Ul||(Ul=li())} function mi(a){if(Rl){for(var b=u(Rl),c=b.next();!c.done;c=b.next())c=c.value,c.payload&&(c.payload.csn=a.csn,Ih(c.payloadName,c.payload,null,c.options));Rl.length=0}Ul=0} ;function Xl(){this.i=new Set;this.h=new Set;this.j=new Map} Xl.prototype.clear=function(){this.i.clear();this.h.clear();this.j.clear()};function Yl(a,b){for(var c=[],d=1;d1E5*Math.random()&&(c=new wi("CSI data exceeded logging limit with key",b.split("_")),0<=b.indexOf("plev")||gl(c)),!0):!1} ;var V={},Am=(V.auto_search="LATENCY_ACTION_AUTO_SEARCH",V.ad_to_ad="LATENCY_ACTION_AD_TO_AD",V.ad_to_video="LATENCY_ACTION_AD_TO_VIDEO",V.app_startup="LATENCY_ACTION_APP_STARTUP",V["artist.analytics"]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS",V["artist.events"]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS",V["artist.presskit"]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE",V.browse="LATENCY_ACTION_BROWSE",V.channels="LATENCY_ACTION_CHANNELS",V.creator_channel_dashboard="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD", V["channel.analytics"]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS",V["channel.comments"]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS",V["channel.content"]="LATENCY_ACTION_CREATOR_POST_LIST",V["channel.copyright"]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT",V["channel.editing"]="LATENCY_ACTION_CREATOR_CHANNEL_EDITING",V["channel.monetization"]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION",V["channel.music"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC",V["channel.translations"]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS", V["channel.videos"]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",V["channel.live_streaming"]="LATENCY_ACTION_CREATOR_LIVE_STREAMING",V.chips="LATENCY_ACTION_CHIPS",V["dialog.copyright_strikes"]="LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES",V["dialog.uploads"]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS",V.direct_playback="LATENCY_ACTION_DIRECT_PLAYBACK",V.embed="LATENCY_ACTION_EMBED",V.entity_key_serialization_perf="LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF",V.entity_key_deserialization_perf="LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF", V.home="LATENCY_ACTION_HOME",V.library="LATENCY_ACTION_LIBRARY",V.live="LATENCY_ACTION_LIVE",V.live_pagination="LATENCY_ACTION_LIVE_PAGINATION",V.onboarding="LATENCY_ACTION_KIDS_ONBOARDING",V.parent_profile_settings="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS",V.parent_tools_collection="LATENCY_ACTION_PARENT_TOOLS_COLLECTION",V.parent_tools_dashboard="LATENCY_ACTION_PARENT_TOOLS_DASHBOARD",V.player_att="LATENCY_ACTION_PLAYER_ATTESTATION",V["post.comments"]="LATENCY_ACTION_CREATOR_POST_COMMENTS", V["post.edit"]="LATENCY_ACTION_CREATOR_POST_EDIT",V.prebuffer="LATENCY_ACTION_PREBUFFER",V.prefetch="LATENCY_ACTION_PREFETCH",V.profile_settings="LATENCY_ACTION_KIDS_PROFILE_SETTINGS",V.profile_switcher="LATENCY_ACTION_LOGIN",V.reel_watch="LATENCY_ACTION_REEL_WATCH",V.results="LATENCY_ACTION_RESULTS",V.search_ui="LATENCY_ACTION_SEARCH_UI",V.search_suggest="LATENCY_ACTION_SUGGEST",V.search_zero_state="LATENCY_ACTION_SEARCH_ZERO_STATE",V.secret_code="LATENCY_ACTION_KIDS_SECRET_CODE",V.seek="LATENCY_ACTION_PLAYER_SEEK", V.settings="LATENCY_ACTION_SETTINGS",V.tenx="LATENCY_ACTION_TENX",V.video_to_ad="LATENCY_ACTION_VIDEO_TO_AD",V.watch="LATENCY_ACTION_WATCH",V.watch_it_again="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN",V["watch,watch7"]="LATENCY_ACTION_WATCH",V["watch,watch7_html5"]="LATENCY_ACTION_WATCH",V["watch,watch7ad"]="LATENCY_ACTION_WATCH",V["watch,watch7ad_html5"]="LATENCY_ACTION_WATCH",V.wn_comments="LATENCY_ACTION_LOAD_COMMENTS",V.ww_rqs="LATENCY_ACTION_WHO_IS_WATCHING",V["video.analytics"]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS", V["video.comments"]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS",V["video.edit"]="LATENCY_ACTION_CREATOR_VIDEO_EDIT",V["video.translations"]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS",V["video.video_editor"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR",V["video.video_editor_async"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC",V["video.monetization"]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION",V.voice_assistant="LATENCY_ACTION_VOICE_ASSISTANT",V.cast_load_by_entity_to_watch="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH", V.networkless_performance="LATENCY_ACTION_NETWORKLESS_PERFORMANCE",V),W={},Bm=(W.ad_allowed="adTypesAllowed",W.yt_abt="adBreakType",W.ad_cpn="adClientPlaybackNonce",W.ad_docid="adVideoId",W.yt_ad_an="adNetworks",W.ad_at="adType",W.aida="appInstallDataAgeMs",W.browse_id="browseId",W.p="httpProtocol",W.t="transportProtocol",W.cpn="clientPlaybackNonce",W.ccs="creatorInfo.creatorCanaryState",W.csn="clientScreenNonce",W.docid="videoId",W.GetHome_rid="requestIds",W.GetSearch_rid="requestIds",W.GetPlayer_rid= "requestIds",W.GetWatchNext_rid="requestIds",W.GetBrowse_rid="requestIds",W.GetLibrary_rid="requestIds",W.is_continuation="isContinuation",W.is_nav="isNavigation",W.b_p="kabukiInfo.browseParams",W.is_prefetch="kabukiInfo.isPrefetch",W.is_secondary_nav="kabukiInfo.isSecondaryNav",W.prev_browse_id="kabukiInfo.prevBrowseId",W.query_source="kabukiInfo.querySource",W.voz_type="kabukiInfo.vozType",W.yt_lt="loadType",W.mver="creatorInfo.measurementVersion",W.yt_ad="isMonetized",W.nr="webInfo.navigationReason", W.nrsu="navigationRequestedSameUrl",W.ncnp="webInfo.nonPreloadedNodeCount",W.pnt="performanceNavigationTiming",W.prt="playbackRequiresTap",W.plt="playerInfo.playbackType",W.pis="playerInfo.playerInitializedState",W.paused="playerInfo.isPausedOnLoad",W.yt_pt="playerType",W.fmt="playerInfo.itag",W.yt_pl="watchInfo.isPlaylist",W.yt_pre="playerInfo.preloadType",W.yt_ad_pr="prerollAllowed",W.pa="previousAction",W.yt_red="isRedSubscriber",W.rce="mwebInfo.responseContentEncoding",W.scrh="screenHeight",W.scrw= "screenWidth",W.st="serverTimeMs",W.ssdm="shellStartupDurationMs",W.br_trs="tvInfo.bedrockTriggerState",W.kebqat="kabukiInfo.earlyBrowseRequestInfo.abandonmentType",W.kebqa="kabukiInfo.earlyBrowseRequestInfo.adopted",W.label="tvInfo.label",W.is_mdx="tvInfo.isMdx",W.preloaded="tvInfo.isPreloaded",W.upg_player_vis="playerInfo.visibilityState",W.query="unpluggedInfo.query",W.upg_chip_ids_string="unpluggedInfo.upgChipIdsString",W.yt_vst="videoStreamType",W.vph="viewportHeight",W.vpw="viewportWidth",W.yt_vis= "isVisible",W.rcl="mwebInfo.responseContentLength",W.GetSettings_rid="requestIds",W.GetTrending_rid="requestIds",W.GetMusicSearchSuggestions_rid="requestIds",W.REQUEST_ID="requestIds",W),Cm="isContinuation isNavigation kabukiInfo.earlyBrowseRequestInfo.adopted kabukiInfo.isPrefetch kabukiInfo.isSecondaryNav isMonetized navigationRequestedSameUrl performanceNavigationTiming playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber tvInfo.isMdx tvInfo.isPreloaded isVisible watchInfo.isPlaylist playbackRequiresTap".split(" "), Dm={},Em=(Dm.ccs="CANARY_STATE_",Dm.mver="MEASUREMENT_VERSION_",Dm.pis="PLAYER_INITIALIZED_STATE_",Dm.yt_pt="LATENCY_PLAYER_",Dm.pa="LATENCY_ACTION_",Dm.yt_vst="VIDEO_STREAM_TYPE_",Dm),Fm="all_vc ap aq 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 Gm(a){return!!E("FORCE_CSI_ON_GEL",!1)||O("csi_on_gel")||O("enable_csi_on_gel")||!!pm(a).useGel} function Hm(a,b,c){var d=Im(c);d.gelTicks&&(d.gelTicks["tick_"+a]=!0);c||b||P();return Gm(c)?(vm(c||"").tick[a]=b||P(),d=rm(c),"_start"===a?(a=ym(),zm(a,"baseline_"+d)||Ok("latencyActionBaselined",{clientActionNonce:d},{timestamp:b})):ym().tick(a,d,b),sm(c),!0):!1} function Jm(a,b,c){c=Im(c);if(c.gelInfos)c.gelInfos["info_"+a]=!0;else{var d={};c.gelInfos=(d["info_"+a]=!0,d)}if(a.match("_rid")){var e=a.split("_rid")[0];a="REQUEST_ID"}if(a in Bm){c=Bm[a];0<=Va(Cm,c)&&(b=!!b);a in Em&&"string"===typeof b&&(b=Em[a]+b.toUpperCase());a=b;b=c.split(".");for(var f=d={},g=0;gc.duration?d:c},{duration:0}))&&0f&&(c=a.substring(f,e),c=c.replace(cn,""),c=c.replace(dn,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else fn(a,b,c)} function fn(a,b,c){c=void 0===c?null:c;var d=gn(a),e=document.getElementById(d),f=e&&an(e,"loaded"),g=e&&!f;f?b&&b():(b&&(f=eh(d,b),b=""+Ia(b),hn[b]=f),g||(e=jn(a,d,function(){an(e,"loaded")||(Zm(e),hh(d),ag(Oa(ih,d),0))},c)))} function jn(a,b,c,d){d=void 0===d?null:d;var e=Sc(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);Kc(e,cd(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e} function kn(a){a=gn(a);var b=document.getElementById(a);b&&(ih(a),b.parentNode.removeChild(b))} function ln(a,b){a&&b&&(a=""+Ia(b),(a=hn[a])&&gh(a))} function gn(a){var b=document.createElement("a");Rb(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+Xb(a)} var hn={};var mn=[],nn=!1;function on(){if((!O("condition_ad_status_fetch_on_consent_cookie_html5_clients")||rl())&&"1"!=hb()){var a=function(){nn=!0;"google_ad_status"in window?N("DCLKSTAT",1):N("DCLKSTAT",2)}; try{en("//static.doubleclick.net/instream/ad_status.js",a)}catch(b){}mn.push(gg(function(){if(!(nn||"google_ad_status"in window)){try{ln("//static.doubleclick.net/instream/ad_status.js",a)}catch(b){}nn=!0;N("DCLKSTAT",3)}},5E3))}} function pn(){var a=Number(E("DCLKSTAT",0));return isNaN(a)?0:a} ;function qn(){this.i=!1;this.h=null} qn.prototype.initialize=function(a,b,c,d){d=void 0===d?!1:d;var e,f;if(a.program){var g=null!==(e=a.interpreterScript)&&void 0!==e?e:null,h=null!==(f=a.interpreterUrl)&&void 0!==f?f:null;if(a.interpreterSafeScript){g=a.interpreterSafeScript.privateDoNotAccessOrElseSafeScriptWrappedValue||"";var k=ob();g=k?k.createScript(g):g;g=(new qb(g)).toString()}a.interpreterSafeUrl&&(h=ub(a.interpreterSafeUrl.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue||"").toString());rn(this,g,h,a.program,b,c,d)}else gl(Error("Cannot initialize botguard without program"))}; function rn(a,b,c,d,e,f,g){g=void 0===g?!1:g;c?(a.i=!0,en(c,function(){a.i=!1;var h=0<=c.indexOf("/th/");(h?window.trayride:window.botguard)?sn(a,d,!!g,h,e):(kn(c),gl(new wi("Unable to load Botguard","from "+c)))},f)):b&&(f=Sc(document,"SCRIPT"),f.textContent=b,f.nonce=Ub(),document.head.appendChild(f),document.head.removeChild(f),((b=b.includes("trayride"))?window.trayride:window.botguard)?sn(a,d,!!g,b,e):gl(Error("Unable to load Botguard from JS")))} function sn(a,b,c,d,e){var f,g;if(d=d?null===(f=window.trayride)||void 0===f?void 0:f.ad:null===(g=window.botguard)||void 0===g?void 0:g.bg)if(c)try{tn(a,new d(b,e?function(){return e(b)}:Ea))}catch(h){h instanceof Error&&gl(h)}else{try{tn(a,new d(b))}catch(h){h instanceof Error&&gl(h)}e&&e(b)}else gl(Error("Failed to finish initializing VM"))} qn.prototype.invoke=function(a){a=void 0===a?{}:a;return this.h?this.h.hasOwnProperty("hot")?this.h.hot(void 0,void 0,a):this.h.invoke(void 0,void 0,a):null}; qn.prototype.dispose=function(){this.h=null}; function tn(a,b){a.h=b} ;var un=new qn;function vn(){return!!un.h} function wn(a){a=void 0===a?{}:a;return un.invoke(a)} ;var xn=window,yn=/[A-Za-z]+\/[0-9.]+/g;function zn(a,b){if(a.replace(yn,"")!==b.replace(yn,""))return!1;a=a.match(yn);b=b.match(yn);if(a.length!==b.length)return!1;for(var c=0;c>>0);function uo(a,b,c){var d="player";c=void 0===c?!0:c;d="string"===typeof d?Oc(d):d;var e=to+"_"+Ia(d),f=so[e];if(f&&c)return vo(a,b)?f.api.loadVideoByPlayerVars(a.args||null):f.loadNewVideoConfig(a),f.api;f=new Zn(d,e,a,b);so[e]=f;hh("player-added",f.api);Td(f,function(){delete so[f.getId()]}); return f.api} function vo(a,b){return b&&b.serializedExperimentFlags?b.serializedExperimentFlags.includes("web_player_remove_playerproxy=true"):a&&a.args&&a.args.fflags?a.args.fflags.includes("web_player_remove_playerproxy=true"):!1} ;var wo=null,xo=null,yo=null;function zo(){var a=wo.getVideoData(1);a=a.title?a.title+" - YouTube":"YouTube";document.title!==a&&(document.title=a)} ;function Ao(a,b,c){a="ST-"+Xb(a).toString(36);b=b?bc(b):"";c=c||5;O("drop_st_cookie_before_cb")&&!rl()||Kh(a,b,c)} ;function Bo(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=E("EVENT_ID");d&&(b.ei||(b.ei=d));if(b){d=a;var e=void 0===e?!0:e;var f=E("VALID_SESSION_TEMPDATA_DOMAINS",[]),g=$b(window.location.href);g&&f.push(g);g=$b(d);if(0<=Va(f,g)||!g&&0==d.lastIndexOf("/",0))if(O("autoescape_tempdata_url")&&(f=document.createElement("a"),Rb(f,d),d=f.href),d){g=d.match(Yb);d=g[5];f=g[6];g=g[7];var h="";d&&(h+=d);f&&(h+="?"+f);g&&(h+="#"+g);d=h;f=d.indexOf("#");if(d=0>f?d:d.substr(0,f))if(e&&!b.csn&&(b.itct||b.ved)&& (b=Object.assign({csn:Ml()},b)),k){var k=parseInt(k,10);isFinite(k)&&0=om()&&0