(function(){'use strict';var m;function aa(a){var b=0;return function(){return b>>0)+"_",e=0;return b}); u("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}}); u("Object.setPrototypeOf",function(a){return a||wa}); u("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}}); u("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}}); function Ka(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&cc&&(c=Math.max(c+e,0));cb?-c:c}}); u("Array.prototype.entries",function(a){return a?a:function(){return Ka(this,function(b,c){return[b,c]})}}); u("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(h){return h}; var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var g=0;!(f=b.next()).done;)e.push(c.call(d,f.value,g++))}else for(f=b.length,g=0;g>>0),Sa=0;function Ta(a,b,c){return a.call.apply(a.bind,arguments)} function Ua(a,b,c){if(!a)throw Error();if(2b?null:"string"===typeof a?a.charAt(b):a[b]} function jb(a,b){b=db(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c} function kb(a,b){for(var c=1;c>>0;return b} ;var Zb=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function $b(a){return a?decodeURI(a):a} function ac(a,b){return b.match(Zb)[a]||null} function bc(a){return $b(ac(3,a))} function cc(a){var b=a.match(Zb);a=b[5];var c=b[6];b=b[7];var d="";a&&(d+=a);c&&(d+="?"+c);b&&(d+="#"+b);return d} function dc(a){var b=a.indexOf("#");return 0>b?a:a.slice(0,b)} function ec(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.slice(0,d),e,a.slice(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} function ic(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&bparseFloat(Kc)){Jc=String(Oc);break a}}Jc=Kc}var Pc=Jc,Qc;if(C.document&&Dc){var Rc=Ic();Qc=Rc?Rc:parseInt(Pc,10)||void 0}else Qc=void 0;var Sc=Qc;function Tc(a,b){tc.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)} Ya(Tc,tc);var Uc={2:"touch",3:"pen",4:"mouse"}; Tc.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(Fc){a:{try{Bc(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:Uc[a.pointerType]||"";this.state=a.state; this.i=a;a.defaultPrevented&&Tc.Ba.preventDefault.call(this)}; Tc.prototype.stopPropagation=function(){Tc.Ba.stopPropagation.call(this);this.i.stopPropagation?this.i.stopPropagation():this.i.cancelBubble=!0}; Tc.prototype.preventDefault=function(){Tc.Ba.preventDefault.call(this);var a=this.i;a.preventDefault?a.preventDefault():a.returnValue=!1};var Vc="closure_listenable_"+(1E6*Math.random()|0);var Wc=0;function Xc(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.ac=e;this.key=++Wc;this.Lb=this.Vb=!1} function Yc(a){a.Lb=!0;a.listener=null;a.proxy=null;a.src=null;a.ac=null} ;function Zc(a){this.src=a;this.listeners={};this.h=0} Zc.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=$c(a,b,d,e);-1>>0);function gd(a){if("function"===typeof a)return a;a[od]||(a[od]=function(b){return a.handleEvent(b)}); return a[od]} ;function pd(){J.call(this);this.h=new Zc(this);this.Za=this;this.fa=null} Ya(pd,J);pd.prototype[Vc]=!0;m=pd.prototype;m.addEventListener=function(a,b,c,d){ed(this,a,b,c,d)}; m.removeEventListener=function(a,b,c,d){md(this,a,b,c,d)}; function qd(a,b){var c=a.fa;if(c){var d=[];for(var e=1;c;c=c.fa)d.push(c),++e}a=a.Za;c=b.type||b;"string"===typeof b?b=new tc(b,a):b instanceof tc?b.target=b.target||a:(e=b,b=new tc(c,a),wb(b,e));e=!0;if(d)for(var f=d.length-1;!b.j&&0<=f;f--){var g=b.h=d[f];e=rd(g,c,!0,b)&&e}b.j||(g=b.h=a,e=rd(g,c,!0,b)&&e,b.j||(e=rd(g,c,!1,b)&&e));if(d)for(f=0;!b.j&&fa.i&&(a.i++,b.next=a.h,a.h=b)} ;function ud(a,b){return a+Math.random()*(b-a)} ;function vd(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0} m=vd.prototype;m.clone=function(){return new vd(this.x,this.y)}; m.equals=function(a){return a instanceof vd&&(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}; m.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};function wd(a,b){this.width=a;this.height=b} m=wd.prototype;m.clone=function(){return new wd(this.width,this.height)}; m.aspectRatio=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}; m.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};function xd(a){var b=document;return"string"===typeof a?b.getElementById(a):a} function yd(a){var b=document;a=String(a);"application/xhtml+xml"===b.contentType&&(a=a.toLowerCase());return b.createElement(a)} function zd(a,b){for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null} ;var Ad;function Bd(){var a=C.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!F("Presto")&&(a=function(){var e=yd("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=Va(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&&!Sb()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.bd;c.bd=null;e()}}; return function(e){d.next={bd:e};d=d.next;b.port2.postMessage(0)}}return function(e){C.setTimeout(e,0)}} ;function Cd(a){C.setTimeout(function(){throw a;},0)} ;function Dd(){this.i=this.h=null} Dd.prototype.add=function(a,b){var c=Ed.get();c.set(a,b);this.i?this.i.next=c:this.h=c;this.i=c}; Dd.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 Ed=new sd(function(){return new Fd},function(a){return a.reset()}); function Fd(){this.next=this.scope=this.h=null} Fd.prototype.set=function(a,b){this.h=a;this.scope=b;this.next=null}; Fd.prototype.reset=function(){this.next=this.scope=this.h=null};var Gd,Hd=!1,Id=new Dd;function Jd(a,b){Gd||Kd();Hd||(Gd(),Hd=!0);Id.add(a,b)} function Kd(){if(C.Promise&&C.Promise.resolve){var a=C.Promise.resolve(void 0);Gd=function(){a.then(Ld)}}else Gd=function(){var b=Ld; "function"!==typeof C.setImmediate||C.Window&&C.Window.prototype&&(Qb()||!F("Edge"))&&C.Window.prototype.setImmediate==C.setImmediate?(Ad||(Ad=Bd()),Ad(b)):C.setImmediate(b)}} function Ld(){for(var a;a=Id.remove();){try{a.h.call(a.scope)}catch(b){Cd(b)}td(Ed,a)}Hd=!1} ;function Md(a){this.h=0;this.A=void 0;this.l=this.i=this.j=null;this.v=this.m=!1;if(a!=bb)try{var b=this;a.call(void 0,function(c){Nd(b,2,c)},function(c){Nd(b,3,c)})}catch(c){Nd(this,3,c)}} function Od(){this.next=this.context=this.h=this.i=this.child=null;this.j=!1} Od.prototype.reset=function(){this.context=this.h=this.i=this.child=null;this.j=!1}; var Pd=new sd(function(){return new Od},function(a){a.reset()}); function Qd(a,b,c){var d=Pd.get();d.i=a;d.h=b;d.context=c;return d} function Rd(a){return new Md(function(b,c){c(a)})} Md.prototype.then=function(a,b,c){return Sd(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)}; Md.prototype.$goog_Thenable=!0;m=Md.prototype;m.oc=function(a,b){return Sd(this,null,a,b)}; m.catch=Md.prototype.oc;m.cancel=function(a){if(0==this.h){var b=new Td(a);Jd(function(){Ud(this,b)},this)}}; function Ud(a,b){if(0==a.h)if(a.j){var c=a.j;if(c.i){for(var d=0,e=null,f=null,g=c.i;g&&(g.j||(d++,g.child==a&&(e=g),!(e&&1=a.l&&a.Pa()} m.Pa=function(){var a=this.i.values();a=[].concat(la(a)).filter(function(b){return b.h.size}); a.length&&this.D.flush(a,this.m);he(a);this.j=0;this.h.enabled&&this.h.stop()}; m.Rb=function(a){var b=B.apply(1,arguments);this.i.has(a)||this.i.set(a,new oc(a,b))}; m.sc=function(a){var b=B.apply(1,arguments);this.i.has(a)||this.i.set(a,new pc(a,b))}; function ie(a,b){return a.A.has(b)?void 0:a.i.get(b)} m.Pb=function(a){this.Od.apply(this,[a,1].concat(la(B.apply(1,arguments))))}; m.Od=function(a,b){var c=B.apply(2,arguments),d=ie(this,a);d&&d instanceof oc&&(d.l(b,c),ge(this))}; m.record=function(a,b){var c=B.apply(2,arguments),d=ie(this,a);d&&d instanceof pc&&(d.record(b,c),ge(this))}; function he(a){for(var b=0;b>>13;d-=e;d-=c;d^=c<<8;e-=c;e-=d;e^=d>>>13;c-=d;c-=e;c^=e>>>12;d-=e;d-=c;d^=c<<16;e-=c;e-=d;e^=d>>>5;c-=d;c-=e;c^=e>>>3;d-=e;d-=c;d^=c<<10;e-=c;e-=d;e^=d>>>15} a=se(a);for(var c=2654435769,d=2654435769,e=314159265,f=a.length,g=f,h=0;12<=g;g-=12,h+=12)c+=te(a,h),d+=te(a,h+4),e+=te(a,h+8),b();e+=f;switch(g){case 11:e+=a[h+10]<<24;case 10:e+=a[h+9]<<16;case 9:e+=a[h+8]<<8;case 8:d+=a[h+7]<<24;case 7:d+=a[h+6]<<16;case 6:d+=a[h+5]<<8;case 5:d+=a[h+4];case 4:c+=a[h+3]<<24;case 3:c+=a[h+2]<<16;case 2:c+=a[h+1]<<8;case 1:c+=a[h+0]}b();return qe.toString(e)} function se(a){for(var b=[],c=0;c>2];g=b[(g&3)<<4|h>>4];h=b[(h&15)<<2|k>>6];k=b[k&63];c[f++]=""+l+g+h+k}l=0;k=d;switch(a.length-e){case 2:l=a[e+1],k=b[(l&15)<<2]||d;case 1:a=a[e],c[f]=""+b[a>>2]+b[(a&3)<<4|l>>4]+k+d}return c.join("")} function Be(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):-1!="=.".indexOf(a[b-1])&&(c=-1!="=.".indexOf(a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;Ce(a,function(f){d[e++]=f}); return e!==c?d.subarray(0,e):d} function Ce(a,b){function c(k){for(;d>4);64!=g&&(b(f<<4&240|g>>2),64!=h&&b(g<<6&192|h))}} function Ae(){if(!ye){ye={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));xe[c]=d;for(var e=0;e>14&1023;return 0===a?536870912:a} ;var cf={},df={};function ef(a){return!(!a||"object"!==typeof a||a.h!==df)} function ff(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object} var gf,hf=!Lb;function jf(a,b){if(null==a){if(!b)throw Error();}else if("string"===typeof a)a=a?new Ne(a,Ke):Le||(Le=new Ne(null,Ke));else if(a.constructor!==Ne)if(Je(a))a=a.length?new Ne(new Uint8Array(a),Ke):Le||(Le=new Ne(null,Ke));else throw Error();return a} function kf(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=Ve(a);if(d&1)return!0;if(!(b&&(Array.isArray(b)?b.includes(c):b.has(c))))return!1;We(a,d|1);return!0} var lf,mf=[];We(mf,55);lf=Object.freeze(mf);function nf(a){if(a&2)throw Error();} Object.freeze(new function(){}); Object.freeze(new function(){});var of=0,pf=0;function qf(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);b&&(c=v(rf(c,a)),b=c.next().value,a=c.next().value,c=b);of=c>>>0;pf=a>>>0} function sf(a,b){b>>>=0;a>>>=0;if(2097151>=b)var c=""+(4294967296*b+a);else Oe()?c=""+(BigInt(b)<>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+6777216*c+6710656*b,c+=8147497*b,b*=2,1E7<=a&&(c+=Math.floor(a/1E7),a%=1E7),1E7<=c&&(b+=Math.floor(c/1E7),c%=1E7),c=b+tf(c)+tf(a));return c} function tf(a){a=String(a);return"0000000".slice(a.length)+a} function uf(){var a=of,b=pf;b&2147483648?Oe()?a=""+(BigInt(b|0)<>>0)):(b=v(rf(a,b)),a=b.next().value,b=b.next().value,a="-"+sf(a,b)):a=sf(a,b);return a} function rf(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]} ;function vf(a){a=Error(a);a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity="warning";return a} ;function wf(a){return a.displayName||a.name||"unknown type name"} function xf(a){if(null!=a&&"boolean"!==typeof a)throw Error("Expected boolean but got "+Na(a)+": "+a);return a} var yf=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function zf(a){var b=typeof a;return"number"===b?Number.isFinite(a):"string"!==b?!1:yf.test(a)} function Af(a){if(null!=a){if("number"!==typeof a)throw vf("int32");if(!Number.isFinite(a))throw vf("int32");a|=0}return a} function Bf(a){if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}if("number"===typeof a)return Number.isFinite(a)?a|0:void 0} function Cf(a){if(null!=a){var b=!!b;if(!zf(a))throw vf("int64");a="string"===typeof a?Df(a):b?Ef(a):Ff(a)}return a} function Gf(a){return"-"===a[0]?20>a.length?!0:20===a.length&&-922337a.length?!0:19===a.length&&922337>Number(a.substring(0,6))} function Ff(a){zf(a);a=Math.trunc(a);if(!Number.isSafeInteger(a)){qf(a);var b=of,c=pf;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,0==b&&(c=c+1>>>0);b=4294967296*c+(b>>>0);a=a?-b:b}return a} function Ef(a){zf(a);a=Math.trunc(a);if(Number.isSafeInteger(a))a=String(a);else{var b=String(a);Gf(b)?a=b:(qf(a),a=uf())}return a} function Df(a){zf(a);var b=Math.trunc(Number(a));if(Number.isSafeInteger(b))return String(b);b=a.indexOf(".");-1!==b&&(a=a.substring(0,b));a.indexOf(".");if(!Gf(a)){if(16>a.length)qf(Number(a));else if(Oe())a=BigInt(a),of=Number(a&BigInt(4294967295))>>>0,pf=Number(a>>BigInt(32)&BigInt(4294967295));else{b=+("-"===a[0]);pf=of=0;for(var c=a.length,d=0+b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),pf*=1E6,of=1E6*of+d,4294967296<=of&&(pf+=Math.trunc(of/4294967296),pf>>>=0,of>>>=0);b&&(b=v(rf(of,pf)), a=b.next().value,b=b.next().value,of=a,pf=b)}a=uf()}return a} function Hf(a){if("string"!==typeof a)throw Error();return a} function If(a){if(null!=a&&"string"!==typeof a)throw Error();return a} function Jf(a,b){if(!(a instanceof b))throw Error("Expected instanceof "+wf(b)+" but got "+(a&&wf(a.constructor)));} function Kf(a,b,c){if(null!=a&&"object"===typeof a&&a.Jc===cf)return a;if(Array.isArray(a)){var d=Ve(a),e=d;0===e&&(e|=c&32);e|=c&2;e!==d&&We(a,e);return new b(a)}} ;var Lf;function Mf(a,b){Ve(b);Lf=b;a=new a(b);Lf=void 0;return a} function Nf(a,b,c){null==a&&(a=Lf);Lf=void 0;if(null==a){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error();d=Ve(a);if(d&64)return a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error();a:{c=a;var e=c.length;if(e){var f=e-1;if(ff(c[f])){d|=256;b=f-(+!!(d&512)-1);if(1024<=b)throw Error();d=d&-16760833|(b&1023)<<14;break a}}if(b){b=Math.max(b,e-(+!!(d&512)-1));if(1024=bf(b)){if(b&256)return a[a.length-1][c]}else{var e=a.length;if(d&&b&256&&(d=a[e-1][c],null!=d))return d;b=c+(+!!(b&512)-1);if(b=f||e){var g=b;if(b&256)e=a[a.length-1];else{if(null==d)return g;e=a[f+(+!!(b&512)-1)]={};g|=256}e[c]=d;c=f){Object.assign(b[b.length-1]={},h);break}g=!0}f=b;c=!c;h=Ye(a.F);a=bf(h);h=+!!(h&512)-1;for(var k,l,n=0;nr;r+=4)t[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;80>r;r++)p=t[r-3]^t[r-8]^t[r-14]^t[r-16],t[r]=(p<<1|p>>>31)&4294967295;p=e[0];var w=e[1],y=e[2],z=e[3],G=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var K=z^w&(y^z);var I=1518500249}else K=w^y^z,I=1859775393;else 60>r?(K=w&y|z&(w|y),I=2400959708):(K=w^y^z,I=3395469782);K=((p<<5|p>>>27)&4294967295)+K+G+I+t[r]&4294967295;G=z;z=y;y=(w<<30|w>>>2)&4294967295;w=p;p=K}e[0]=e[0]+p&4294967295;e[1]=e[1]+w&4294967295;e[2]= e[2]+y&4294967295;e[3]=e[3]+z&4294967295;e[4]=e[4]+G&4294967295} function c(p,t){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var r=[],w=0,y=p.length;wl?c(h,56-l):c(h,64-(l-56));for(var r=63;56<=r;r--)f[r]=t&255,t>>>=8;b(f);for(r=t=0;5>r;r++)for(var w=24;0<=w;w-=8)p[t++]=e[r]>>w&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,Xd:function(){for(var p=d(),t="",r=0;rh?"":0==h?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*h)).toUTCString();this.h.cookie=a+"="+b+c+g+h+d+(null!=e?";samesite="+ e:"")}; m.get=function(a,b){for(var c=a+"=",d=(this.h.cookie||"").split(";"),e=0,f;eb?1:b);a.h.setInterval(a.l.getValue())} m.log=function(a){if(this.T){a=a.clone();var b=this.va++;a=Zf(a,21,Cf(b));this.componentId&&og(a,26,this.componentId);if(!lg(a)){var c=Date.now();b=a;c=Number.isFinite(c)?c.toString():"0";Zf(b,1,Cf(c))}null==kg(a,15)&&Zf(a,15,Cf(60*(new Date).getTimezoneOffset()));this.experimentIds&&(b=a,c=this.experimentIds.clone(),ig(b,Ng,16,c));b=this.j.length-this.bufferSize+1;0d&&this.Za||401===a||0===a}; function jh(a){return.01>a.Fa()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true"} function ih(a,b){this.eb=b=void 0===b?!1:b;this.uach=this.locale=null;this.h=new ch;Number.isInteger(a)&&this.h.Mb(a);b||(this.locale=document.documentElement.getAttribute("lang"));kh(this,new $g)} ih.prototype.Mb=function(a){this.h.Mb(a);return this}; function kh(a,b){ig(a.h,$g,1,b);mg(b)||pg(b,1,1);if(!a.eb){b=qh(a);var c=Xf(b,5);(null==c||"string"===typeof c)&&c||og(b,5,a.locale)}a.uach&&(b=qh(a),hg(b,Ug,9)||ig(b,Ug,9,a.uach))} function nh(a,b){ag(rh(a))&&(a=sh(a),pg(a,1,b))} function ph(a,b){ag(rh(a))&&(a=sh(a),Zf(a,2,xf(b)))} function rh(a){return hg(a.h,$g,1)} function th(a,b){var c=void 0===c?Wg:c;var d=a.eb?void 0:window;d?b(d,c).then(function(e){a.uach=e;e=qh(a);ig(e,Ug,9,a.uach);return!0}).catch(function(){return!1}):Promise.resolve(!1)} function qh(a){a=rh(a);var b=hg(a,cg,11);b||(b=new cg,ig(a,cg,11,b));return b} function sh(a){a=qh(a);var b=hg(a,Sg,10);b||(b=new Sg,Zf(b,2,xf(!1)),ig(a,Sg,10,b));return b} function oh(a,b,c,d,e){var f=0,g=0;c=void 0===c?0:c;f=void 0===f?0:f;g=void 0===g?0:g;d=void 0===d?0:d;if(ag(rh(a))){var h=sh(a);Zf(h,3,Af(d))}ag(rh(a))&&(d=sh(a),Zf(d,4,Af(f)));ag(rh(a))&&(f=sh(a),Zf(f,5,Af(g)));a=a.h.clone();g=Date.now().toString();a=Zf(a,4,Cf(g));b=jg(a,bh,3,b);e&&(a=new Pg,e=Zf(a,13,Af(e)),a=new Qg,e=ig(a,Pg,2,e),a=new ah,e=ig(a,Qg,1,e),e=pg(e,2,9),ig(b,ah,18,e));c&&Zf(b,14,Cf(c));return b} ;function uh(){} uh.prototype.serialize=function(a){var b=[];vh(this,a,b);return b.join("")}; function vh(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f=e&&a.A.record(b,c,a.i)} m.od=function(a,b,c){b?Yh(this,a,1):c?Yh(this,a,2):Yh(this,a,3)}; m.Pa=function(){this.h.Pa()}; function Vh(){var a,b,c;return null!=(c=null==(a=globalThis.performance)?void 0:null==(b=a.now)?void 0:b.call(a))?c:Date.now()} ;function Zh(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})} ;function $h(a){function b(p,t,r){Promise.resolve().then(function(){l.done();k.resolve({Rd:p,Ze:t,eg:r})})} function c(p,t,r){d.na.od(p,t,r)} var d=this;this.h=!1;var e=a.program;var f=a.ke;if(!1!==a.Ie){var g,h;this.na=null!=(h=a.na)?h:new Xh(f,null!=(g=a.dg)?g:"_")}else this.na=new Wh;var k=new Zh;this.i=k.promise;var l=new Uh(this.na,0,!1);C[f]?C[f].a||(this.na.ec(2,""),this.na.Pa()):(this.na.ec(1,""),this.na.Pa());try{var n=C[f].a;l.start();this.j=v(n(e,b,!0,a.og,c)).next().value;this.Ye=k.promise.then(function(){})}catch(p){throw this.na.ec(4,p.message),this.na.Pa(),p; }} $h.prototype.snapshot=function(a){var b=this;if(this.h)throw Error("Already disposed");this.na.Gc();return this.i.then(function(c){var d=c.Rd;return new Promise(function(e){var f=new Uh(b.na,1);d(function(g){f.done();e(g)},[a.dd, a.af,a.kf])})})}; $h.prototype.Ed=function(a){if(this.h)throw Error("Already disposed");this.na.Gc();var b=new Uh(this.na,1);a=this.j([a.dd,a.af,a.kf]);b.done();return a}; $h.prototype.dispose=function(){this.na.Pa();this.h=!0;this.i.then(function(a){(a=a.Ze)&&a()})}; $h.prototype.aa=function(){return this.h};var ai=window;Bb("csi.gstatic.com");Bb("googleads.g.doubleclick.net");Bb("partner.googleadservices.com");Bb("pubads.g.doubleclick.net");Bb("securepubads.g.doubleclick.net");Bb("tpc.googlesyndication.com");var bi=ia([""]),ci=ka(["\x00"],["\\0"]),di=ka(["\n"],["\\n"]),ei=ka(["\x00"],["\\u0000"]);function fi(a){return-1===a.toString().indexOf("`")} fi(function(a){return a(bi)})||fi(function(a){return a(ci)})||fi(function(a){return a(di)})||fi(function(a){return a(ei)});function gi(a){this.te=a} function hi(a){return new gi(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})} var ii=[hi("data"),hi("http"),hi("https"),hi("mailto"),hi("ftp"),new gi(function(a){return/^[^:]*([/?#]|$)/.test(a)})],ji="function"===typeof URL; function ki(a){if(a instanceof Gb)a instanceof Gb&&a.constructor===Gb?a=a.h:(Na(a),a="type_error:SafeUrl");else{b:if(ji){try{var b=new URL(a)}catch(c){b="https:";break b}b=b.protocol}else c:{b=document.createElement("a");try{b.href=a}catch(c){b=void 0;break c}b=b.protocol;b=":"===b||""===b?"https:":b}a="javascript:"!==b?a:void 0}return a} ;function li(a,b){b=ki(b);void 0!==b&&(a.href=b)} ;function mi(){} function ni(a){this.h=a} x(ni,mi);ni.prototype.toString=function(){return this.h};function oi(a){var b="true".toString(),c=[new ni(pi[0].toLowerCase(),Wb)];if(0===c.length)throw Error("");if(c.map(function(d){if(d instanceof ni)d=d.h;else throw Error("");return d}).every(function(d){return 0!=="data-loaded".indexOf(d)}))throw Error('Attribute "data-loaded" does not match any of the allowed prefixes.'); a.setAttribute("data-loaded",b)} ;function qi(){throw Error("unknown trace type");} ;var ri="alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");function si(a,b){if(b instanceof Cb)a.href=Db(b).toString();else{if(-1===ri.indexOf("stylesheet"))throw Error('TrustedResourceUrl href attribute required with rel="stylesheet"');b=ki(b);if(void 0===b)return;a.href=b}a.rel="stylesheet"} ;function ti(a){var b,c;return(a=null==(c=(b=a.document).querySelector)?void 0:c.call(b,"script[nonce]"))?a.nonce||a.getAttribute("nonce")||"":""} ;function ui(a){var b=ti(a.ownerDocument&&a.ownerDocument.defaultView||window);b&&a.setAttribute("nonce",b)} function vi(a,b){if(b instanceof Xb)b=b.vd;else throw Error("");a.textContent=b;ui(a)} function wi(a,b){a.src=Db(b);ui(a)} ;function xi(a){var b=yi;if(b)for(var c in b)Object.prototype.hasOwnProperty.call(b,c)&&a(b[c],c,b)} function zi(){var a=[];xi(function(b){a.push(b)}); return a} var yi={lf:"allow-forms",mf:"allow-modals",nf:"allow-orientation-lock",pf:"allow-pointer-lock",qf:"allow-popups",rf:"allow-popups-to-escape-sandbox",sf:"allow-presentation",tf:"allow-same-origin",uf:"allow-scripts",vf:"allow-top-navigation",wf:"allow-top-navigation-by-user-activation"},Ai=cb(function(){return zi()}); function Bi(){var a=Ci(),b={};eb(Ai(),function(c){a.sandbox&&a.sandbox.supports&&a.sandbox.supports(c)&&(b[c]=!0)}); return b} function Ci(){var a=void 0===a?document:a;return a.createElement("iframe")} ;function Di(a){"number"==typeof a&&(a=Math.round(a)+"px");return a} ;var Ei=(new Date).getTime();function Fi(a){pd.call(this);var b=this;this.A=this.j=0;this.Da=null!=a?a:{qa:function(e,f){return setTimeout(e,f)}, ra:function(e){clearTimeout(e)}}; var c,d;this.i=null!=(d=null==(c=window.navigator)?void 0:c.onLine)?d:!0;this.l=function(){return A(function(e){return e.yield(Gi(b),0)})}; window.addEventListener("offline",this.l);window.addEventListener("online",this.l);this.A||Hi(this)} x(Fi,pd);function Ii(){var a=Ji;Fi.h||(Fi.h=new Fi(a));return Fi.h} Fi.prototype.dispose=function(){window.removeEventListener("offline",this.l);window.removeEventListener("online",this.l);this.Da.ra(this.A);delete Fi.h}; Fi.prototype.xa=function(){return this.i}; function Hi(a){a.A=a.Da.qa(function(){var b;return A(function(c){if(1==c.h)return a.i?(null==(b=window.navigator)?0:b.onLine)?c.B(3):c.yield(Gi(a),3):c.yield(Gi(a),3);Hi(a);c.h=0})},3E4)} function Gi(a,b){return a.m?a.m:a.m=new Promise(function(c){var d,e,f,g;return A(function(h){switch(h.h){case 1:return d=window.AbortController?new window.AbortController:void 0,f=null==(e=d)?void 0:e.signal,g=!1,Aa(h,2,3),d&&(a.j=a.Da.qa(function(){d.abort()},b||2E4)),h.yield(fetch("/generate_204",{method:"HEAD", signal:f}),5);case 5:g=!0;case 3:h.K=[h.j];h.l=0;h.m=0;a.m=void 0;a.j&&(a.Da.ra(a.j),a.j=0);g!==a.i&&(a.i=g,a.i?qd(a,"networkstatus-online"):qd(a,"networkstatus-offline"));c(g);Ca(h);break;case 2:Ba(h),g=!1,h.B(3)}})})} ;function Ki(){this.data=[];this.h=-1} Ki.prototype.set=function(a,b){b=void 0===b?!0:b;0<=a&&52>a&&Number.isInteger(a)&&this.data[a]!==b&&(this.data[a]=b,this.h=-1)}; Ki.prototype.get=function(a){return!!this.data[a]}; function Li(a){-1===a.h&&(a.h=a.data.reduce(function(b,c,d){return b+(c?Math.pow(2,d):0)},0)); return a.h} ;function Mi(a,b){this.h=a[C.Symbol.iterator]();this.i=b} Mi.prototype[Symbol.iterator]=function(){return this}; Mi.prototype.next=function(){var a=this.h.next();return{value:a.done?void 0:this.i.call(void 0,a.value),done:a.done}}; function Ni(a,b){return new Mi(a,b)} ;function Oi(){this.blockSize=-1} ;function Pi(){this.blockSize=-1;this.blockSize=64;this.h=[];this.v=[];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} Pi.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=0,e=this.v,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.v[c]=b&255,b/=256;Qi(this,this.v);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 Ri(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""} function Si(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)} function Ti(a,b){a.classList?b=a.classList.contains(b):(a=a.classList?a.classList:Ri(a).match(/\S+/g)||[],b=0<=db(a,b));return b} function Ui(){var a=document.body;a.classList?a.classList.remove("inverted-hdpi"):Ti(a,"inverted-hdpi")&&Si(a,Array.prototype.filter.call(a.classList?a.classList:Ri(a).match(/\S+/g)||[],function(b){return"inverted-hdpi"!=b}).join(" "))} ;function Vi(){} Vi.prototype.next=function(){return Wi}; var Wi={done:!0,value:void 0};function Xi(a){return{value:a,done:!1}} Vi.prototype.Ga=function(){return this};function Yi(a){if(a instanceof Zi||a instanceof $i||a instanceof aj)return a;if("function"==typeof a.next)return new Zi(function(){return a}); if("function"==typeof a[Symbol.iterator])return new Zi(function(){return a[Symbol.iterator]()}); if("function"==typeof a.Ga)return new Zi(function(){return a.Ga()}); throw Error("Not an iterator or iterable.");} function Zi(a){this.i=a} Zi.prototype.Ga=function(){return new $i(this.i())}; Zi.prototype[Symbol.iterator]=function(){return new aj(this.i())}; Zi.prototype.h=function(){return new aj(this.i())}; function $i(a){this.i=a} x($i,Vi);$i.prototype.next=function(){return this.i.next()}; $i.prototype[Symbol.iterator]=function(){return new aj(this.i)}; $i.prototype.h=function(){return new aj(this.i)}; function aj(a){Zi.call(this,function(){return a}); this.j=a} x(aj,Zi);aj.prototype.next=function(){return this.j.next()};function bj(a,b){this.i={};this.h=[];this.Wa=this.size=0;var c=arguments.length;if(12*this.size&&cj(this),!0):!1}; function cj(a){if(a.size!=a.h.length){for(var b=0,c=0;b=d.h.length)return Wi;var f=d.h[b++];return Xi(a?f:d.i[f])}; return e}; function dj(a,b){return Object.prototype.hasOwnProperty.call(a,b)} ;function M(a){J.call(this);this.m=1;this.j=[];this.l=0;this.h=[];this.i={};this.A=!!a} Ya(M,J);m=M.prototype;m.subscribe=function(a,b,c){var d=this.i[a];d||(d=this.i[a]=[]);var e=this.m;this.h[e]=a;this.h[e+1]=b;this.h[e+2]=c;this.m=e+3;d.push(e);return e}; m.unsubscribe=function(a,b,c){if(a=this.i[a]){var d=this.h;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.zb(a)}return!1}; m.zb=function(a){var b=this.h[a];if(b){var c=this.i[b];0!=this.l?(this.j.push(a),this.h[a+1]=function(){}):(c&&jb(c,a),delete this.h[a],delete this.h[a+1],delete this.h[a+2])}return!!b}; m.Ya=function(a,b){var c=this.i[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;eXa())kj.prototype.remove.call(this,a);else return b}};function lj(){} ;function mj(){} Ya(mj,lj);mj.prototype[Symbol.iterator]=function(){return Yi(this.Ga(!0)).h()}; mj.prototype.clear=function(){var a=Array.from(this);a=v(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};function nj(a){this.h=a;this.i=null} Ya(nj,mj);m=nj.prototype;m.isAvailable=function(){var a=this.h;if(a)try{a.setItem("__sak","1");a.removeItem("__sak");var b=!0}catch(c){b=c instanceof DOMException&&("QuotaExceededError"===c.name||22===c.code||1014===c.code||"NS_ERROR_DOM_QUOTA_REACHED"===c.name)&&a&&0!==a.length}else b=!1;return this.i=b}; m.set=function(a,b){oj(this);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){oj(this);a=this.h.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; m.remove=function(a){oj(this);this.h.removeItem(a)}; m.Ga=function(a){oj(this);var b=0,c=this.h,d=new Vi;d.next=function(){if(b>=c.length)return Wi;var e=c.key(b++);if(a)return Xi(e);e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return Xi(e)}; return d}; m.clear=function(){oj(this);this.h.clear()}; m.key=function(a){oj(this);return this.h.key(a)}; function oj(a){if(null==a.h)throw Error("Storage mechanism: Storage unavailable");var b;(null!=(b=a.i)?b:a.isAvailable())||Cd(Error("Storage mechanism: Storage unavailable"))} ;function pj(){var a=null;try{a=C.localStorage||null}catch(b){}nj.call(this,a)} Ya(pj,nj);function qj(a,b){this.i=a;this.h=null;var c;if(c=Dc)c=!(9<=Number(Sc));if(c){rj||(rj=new bj);this.h=rj.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)),rj.set(a,this.h));try{this.h.load(this.i)}catch(d){this.h=null}}} Ya(qj,mj);var sj={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},rj=null;function tj(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return sj[b]})} m=qj.prototype;m.isAvailable=function(){return!!this.h}; m.set=function(a,b){this.h.setAttribute(tj(a),b);uj(this)}; m.get=function(a){a=this.h.getAttribute(tj(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; m.remove=function(a){this.h.removeAttribute(tj(a));uj(this)}; m.Ga=function(a){var b=0,c=this.h.XMLDocument.documentElement.attributes,d=new Vi;d.next=function(){if(b>=c.length)return Wi;var e=c[b++];if(a)return Xi(decodeURIComponent(e.nodeName.replace(/\./g,"%")).slice(1));e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return Xi(e)}; return d}; m.clear=function(){for(var a=this.h.XMLDocument.documentElement,b=a.attributes.length;0f?1:2048>f?2:65536>f?3:4}var h=new N.lb(e);for(b=c=0;cf?h[c++]=f:(2048>f?h[c++]=192|f>>>6:(65536>f?h[c++]=224|f>>>12:(h[c++]=240|f>>>18,h[c++]=128|f>>>12&63),h[c++]=128|f>>> 6&63),h[c++]=128|f&63);return h} ;var Bj={};Bj=function(a,b,c,d){var e=a&65535|0;a=a>>>16&65535|0;for(var f;0!==c;){f=2E3Fj;Fj++){Dj=Fj;for(var Gj=0;8>Gj;Gj++)Dj=Dj&1?3988292384^Dj>>>1:Dj>>>1;Ej[Fj]=Dj}Cj=function(a,b,c,d){c=d+c;for(a^=-1;d>>8^Ej[(a^b[d])&255];return a^-1};var Hj={};Hj={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};function Ij(a){for(var b=a.length;0<=--b;)a[b]=0} var Jj=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Kj=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Lj=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Mj=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Nj=Array(576);Ij(Nj);var Oj=Array(60);Ij(Oj);var Pj=Array(512);Ij(Pj);var Qj=Array(256);Ij(Qj);var Rj=Array(29);Ij(Rj);var Sj=Array(30);Ij(Sj);function Tj(a,b,c,d,e){this.Fd=a;this.de=b;this.ce=c;this.Yd=d;this.ze=e;this.ld=a&&a.length} var Uj,Vj,Wj;function Xj(a,b){this.gd=a;this.vb=0;this.Va=b} function Yj(a,b){a.X[a.pending++]=b&255;a.X[a.pending++]=b>>>8&255} function Zj(a,b,c){a.ga>16-c?(a.ma|=b<>16-a.ga,a.ga+=c-16):(a.ma|=b<>>=1,c<<=1;while(0<--b);return c>>>1} function ck(a,b,c){var d=Array(16),e=0,f;for(f=1;15>=f;f++)d[f]=e=e+c[f-1]<<1;for(c=0;c<=b;c++)e=a[2*c+1],0!==e&&(a[2*c]=bk(d[e]++,e))} function dk(a){var b;for(b=0;286>b;b++)a.sa[2*b]=0;for(b=0;30>b;b++)a.bb[2*b]=0;for(b=0;19>b;b++)a.ia[2*b]=0;a.sa[512]=1;a.Oa=a.yb=0;a.za=a.matches=0} function ek(a){8e?Pj[e]:Pj[256+(e>>>7)];ak(a,g,c);h=Kj[g];0!==h&&(e-=Sj[g],Zj(a,e,h))}}while(da.Ma;){var k=a.Y[++a.Ma]=2>h?++h:0;c[2*k]=1;a.depth[k]=0;a.Oa--;e&&(a.yb-=d[2*k+1])}b.vb=h;for(g=a.Ma>>1;1<=g;g--)hk(a,c,g);k=f;do g=a.Y[1],a.Y[1]=a.Y[a.Ma--],hk(a,c,1),d=a.Y[1],a.Y[--a.qb]=g,a.Y[--a.qb]=d,c[2*k]=c[2*g]+c[2*d],a.depth[k]=(a.depth[g]>=a.depth[d]?a.depth[g]:a.depth[d])+1,c[2*g+1]=c[2*d+1]=k,a.Y[1]=k++,hk(a,c,1);while(2<=a.Ma);a.Y[--a.qb]= a.Y[1];g=b.gd;k=b.vb;d=b.Va.Fd;e=b.Va.ld;f=b.Va.de;var l=b.Va.ce,n=b.Va.ze,p,t=0;for(p=0;15>=p;p++)a.Ja[p]=0;g[2*a.Y[a.qb]+1]=0;for(b=a.qb+1;573>b;b++){var r=a.Y[b];p=g[2*g[2*r+1]+1]+1;p>n&&(p=n,t++);g[2*r+1]=p;if(!(r>k)){a.Ja[p]++;var w=0;r>=l&&(w=f[r-l]);var y=g[2*r];a.Oa+=y*(p+w);e&&(a.yb+=y*(d[2*r+1]+w))}}if(0!==t){do{for(p=n-1;0===a.Ja[p];)p--;a.Ja[p]--;a.Ja[p+1]+=2;a.Ja[n]--;t-=2}while(0k||(g[2*d+1]!==p&&(a.Oa+=(p-g[2*d+1])*g[2*d],g[2* d+1]=p),r--)}ck(c,h,a.Ja)} function kk(a,b,c){var d,e=-1,f=b[1],g=0,h=7,k=4;0===f&&(h=138,k=3);b[2*(c+1)+1]=65535;for(d=0;d<=c;d++){var l=f;f=b[2*(d+1)+1];++g=g?a.ia[34]++:a.ia[36]++,g=0,e=l,0===f?(h=138,k=3):l===f?(h=6,k=3):(h=7,k=4))}} function lk(a,b,c){var d,e=-1,f=b[1],g=0,h=7,k=4;0===f&&(h=138,k=3);for(d=0;d<=c;d++){var l=f;f=b[2*(d+1)+1];if(!(++g=g?(ak(a,17,a.ia),Zj(a,g-3,3)):(ak(a,18,a.ia),Zj(a,g-11,7));g=0;e=l;0===f?(h=138,k=3):l===f?(h=6,k=3):(h=7,k=4)}}} function mk(a){var b=4093624447,c;for(c=0;31>=c;c++,b>>>=1)if(b&1&&0!==a.sa[2*c])return 0;if(0!==a.sa[18]||0!==a.sa[20]||0!==a.sa[26])return 1;for(c=32;256>c;c++)if(0!==a.sa[2*c])return 1;return 0} var nk=!1;function ok(a,b,c){a.X[a.Cb+2*a.za]=b>>>8&255;a.X[a.Cb+2*a.za+1]=b&255;a.X[a.Fc+a.za]=c&255;a.za++;0===b?a.sa[2*c]++:(a.matches++,b--,a.sa[2*(Qj[c]+256+1)]++,a.bb[2*(256>b?Pj[b]:Pj[256+(b>>>7)])]++);return a.za===a.Hb-1} ;function pk(a,b){a.msg=Hj[b];return b} function qk(a){for(var b=a.length;0<=--b;)a[b]=0} function rk(a){var b=a.state,c=b.pending;c>a.P&&(c=a.P);0!==c&&(N.mb(a.output,b.X,b.Jb,c,a.wb),a.wb+=c,b.Jb+=c,a.Tc+=c,a.P-=c,b.pending-=c,0===b.pending&&(b.Jb=0))} function sk(a,b){var c=0<=a.wa?a.wa:-1,d=a.o-a.wa,e=0;if(0>>3;var g=a.yb+3+7>>>3;g<=f&&(f=g)}else f=g=d+5;if(d+4<=f&&-1!==c)Zj(a,b?1:0,3),fk(a,c,d);else if(4===a.strategy||g===f)Zj(a,2+(b?1:0),3),ik(a,Nj,Oj);else{Zj(a,4+(b?1:0),3);c=a.dc.vb+1;d=a.Yb.vb+1;e+=1;Zj(a,c-257,5);Zj(a,d-1,5);Zj(a,e-4,4);for(f=0;f>>8&255;a.X[a.pending++]=b&255} function uk(a,b){var c=a.qd,d=a.o,e=a.ya,f=a.rd,g=a.o>a.ka-262?a.o-(a.ka-262):0,h=a.window,k=a.Xa,l=a.Ha,n=a.o+258,p=h[d+e-1],t=h[d+e];a.ya>=a.kd&&(c>>=2);f>a.u&&(f=a.u);do{var r=b;if(h[r+e]===t&&h[r+e-1]===p&&h[r]===h[d]&&h[++r]===h[d+1]){d+=2;for(r++;h[++d]===h[++r]&&h[++d]===h[++r]&&h[++d]===h[++r]&&h[++d]===h[++r]&&h[++d]===h[++r]&&h[++d]===h[++r]&&h[++d]===h[++r]&&h[++d]===h[++r]&&de){a.ub=b;e=r;if(r>=f)break;p=h[d+e-1];t=h[d+e]}}}while((b=l[b&k])>g&&0!==--c);return e<= a.u?e:a.u} function vk(a){var b=a.ka,c;do{var d=a.Ld-a.u-a.o;if(a.o>=b+(b-262)){N.mb(a.window,a.window,b,b,0);a.ub-=b;a.o-=b;a.wa-=b;var e=c=a.cc;do{var f=a.head[--e];a.head[e]=f>=b?f-b:0}while(--c);e=c=b;do f=a.Ha[--e],a.Ha[e]=f>=b?f-b:0;while(--c);d+=b}if(0===a.I.la)break;e=a.I;c=a.window;f=a.o+a.u;var g=e.la;g>d&&(g=d);0===g?c=0:(e.la-=g,N.mb(c,e.input,e.hb,g,f),1===e.state.wrap?e.H=Bj(e.H,c,g,f):2===e.state.wrap&&(e.H=Cj(e.H,c,g,f)),e.hb+=g,e.kb+=g,c=g);a.u+=c;if(3<=a.u+a.ta)for(d=a.o-a.ta,a.M=a.window[d], a.M=(a.M<a.u+a.ta););}while(262>a.u&&0!==a.I.la)} function wk(a,b){for(var c;;){if(262>a.u){vk(a);if(262>a.u&&0===b)return 1;if(0===a.u)break}c=0;3<=a.u&&(a.M=(a.M<a.o?a.o:2;return 4===b?(sk(a,!0),0===a.I.P?3:4):a.za&&(sk(a,!1),0===a.I.P)?1:2} function xk(a,b){for(var c,d;;){if(262>a.u){vk(a);if(262>a.u&&0===b)return 1;if(0===a.u)break}c=0;3<=a.u&&(a.M=(a.M<=a.R&&(1===a.strategy||3===a.R&&4096a.o?a.o:2;return 4===b?(sk(a,!0),0===a.I.P?3:4):a.za&&(sk(a,!1),0===a.I.P)?1:2} function yk(a,b){for(var c,d,e,f=a.window;;){if(258>=a.u){vk(a);if(258>=a.u&&0===b)return 1;if(0===a.u)break}a.R=0;if(3<=a.u&&0a.u&&(a.R=a.u)}3<=a.R?(c=ok(a,1,a.R-3),a.u-=a.R,a.o+=a.R,a.R=0):(c=ok(a,0,a.window[a.o]),a.u--,a.o++);if(c&&(sk(a,!1),0===a.I.P))return 1}a.ta=0;return 4===b?(sk(a,!0),0===a.I.P?3:4): a.za&&(sk(a,!1),0===a.I.P)?1:2} function zk(a,b){for(var c;;){if(0===a.u&&(vk(a),0===a.u)){if(0===b)return 1;break}a.R=0;c=ok(a,0,a.window[a.o]);a.u--;a.o++;if(c&&(sk(a,!1),0===a.I.P))return 1}a.ta=0;return 4===b?(sk(a,!0),0===a.I.P?3:4):a.za&&(sk(a,!1),0===a.I.P)?1:2} function Ak(a,b,c,d,e){this.le=a;this.ye=b;this.Be=c;this.xe=d;this.ge=e} var Bk;Bk=[new Ak(0,0,0,0,function(a,b){var c=65535;for(c>a.Aa-5&&(c=a.Aa-5);;){if(1>=a.u){vk(a);if(0===a.u&&0===b)return 1;if(0===a.u)break}a.o+=a.u;a.u=0;var d=a.wa+c;if(0===a.o||a.o>=d)if(a.u=a.o-d,a.o=d,sk(a,!1),0===a.I.P)return 1;if(a.o-a.wa>=a.ka-262&&(sk(a,!1),0===a.I.P))return 1}a.ta=0;if(4===b)return sk(a,!0),0===a.I.P?3:4;a.o>a.wa&&sk(a,!1);return 1}), new Ak(4,4,8,4,wk),new Ak(4,5,16,8,wk),new Ak(4,6,32,32,wk),new Ak(4,4,16,16,xk),new Ak(8,16,32,32,xk),new Ak(8,16,128,128,xk),new Ak(8,32,128,256,xk),new Ak(32,128,258,1024,xk),new Ak(32,258,258,4096,xk)]; function Ck(){this.I=null;this.status=0;this.X=null;this.wrap=this.pending=this.Jb=this.Aa=0;this.G=null;this.Ca=0;this.method=8;this.sb=-1;this.Xa=this.Vc=this.ka=0;this.window=null;this.Ld=0;this.head=this.Ha=null;this.rd=this.kd=this.strategy=this.level=this.Hc=this.qd=this.ya=this.u=this.ub=this.o=this.fb=this.ud=this.R=this.wa=this.La=this.Ka=this.Cc=this.cc=this.M=0;this.sa=new N.Ia(1146);this.bb=new N.Ia(122);this.ia=new N.Ia(78);qk(this.sa);qk(this.bb);qk(this.ia);this.Yc=this.Yb=this.dc= null;this.Ja=new N.Ia(16);this.Y=new N.Ia(573);qk(this.Y);this.qb=this.Ma=0;this.depth=new N.Ia(573);qk(this.depth);this.ga=this.ma=this.ta=this.matches=this.yb=this.Oa=this.Cb=this.za=this.Hb=this.Fc=0} function Dk(a,b){if(!a||!a.state||5b)return a?pk(a,-2):-2;var c=a.state;if(!a.output||!a.input&&0!==a.la||666===c.status&&4!==b)return pk(a,0===a.P?-5:-2);c.I=a;var d=c.sb;c.sb=b;if(42===c.status)if(2===c.wrap)a.H=0,O(c,31),O(c,139),O(c,8),c.G?(O(c,(c.G.text?1:0)+(c.G.Ra?2:0)+(c.G.extra?4:0)+(c.G.name?8:0)+(c.G.comment?16:0)),O(c,c.G.time&255),O(c,c.G.time>>8&255),O(c,c.G.time>>16&255),O(c,c.G.time>>24&255),O(c,9===c.level?2:2<=c.strategy||2>c.level?4:0),O(c,c.G.os&255),c.G.extra&&c.G.extra.length&& (O(c,c.G.extra.length&255),O(c,c.G.extra.length>>8&255)),c.G.Ra&&(a.H=Cj(a.H,c.X,c.pending,0)),c.Ca=0,c.status=69):(O(c,0),O(c,0),O(c,0),O(c,0),O(c,0),O(c,9===c.level?2:2<=c.strategy||2>c.level?4:0),O(c,3),c.status=113);else{var e=8+(c.Vc-8<<4)<<8;e|=(2<=c.strategy||2>c.level?0:6>c.level?1:6===c.level?2:3)<<6;0!==c.o&&(e|=32);c.status=113;tk(c,e+(31-e%31));0!==c.o&&(tk(c,a.H>>>16),tk(c,a.H&65535));a.H=1}if(69===c.status)if(c.G.extra){for(e=c.pending;c.Ca<(c.G.extra.length&65535)&&(c.pending!==c.Aa|| (c.G.Ra&&c.pending>e&&(a.H=Cj(a.H,c.X,c.pending-e,e)),rk(a),e=c.pending,c.pending!==c.Aa));)O(c,c.G.extra[c.Ca]&255),c.Ca++;c.G.Ra&&c.pending>e&&(a.H=Cj(a.H,c.X,c.pending-e,e));c.Ca===c.G.extra.length&&(c.Ca=0,c.status=73)}else c.status=73;if(73===c.status)if(c.G.name){e=c.pending;do{if(c.pending===c.Aa&&(c.G.Ra&&c.pending>e&&(a.H=Cj(a.H,c.X,c.pending-e,e)),rk(a),e=c.pending,c.pending===c.Aa)){var f=1;break}f=c.Ca e&&(a.H=Cj(a.H,c.X,c.pending-e,e));0===f&&(c.Ca=0,c.status=91)}else c.status=91;if(91===c.status)if(c.G.comment){e=c.pending;do{if(c.pending===c.Aa&&(c.G.Ra&&c.pending>e&&(a.H=Cj(a.H,c.X,c.pending-e,e)),rk(a),e=c.pending,c.pending===c.Aa)){f=1;break}f=c.Cae&&(a.H=Cj(a.H,c.X,c.pending-e,e));0===f&&(c.status=103)}else c.status=103;103===c.status&&(c.G.Ra?(c.pending+2>c.Aa&&rk(a),c.pending+2<=c.Aa&&(O(c,a.H& 255),O(c,a.H>>8&255),a.H=0,c.status=113)):c.status=113);if(0!==c.pending){if(rk(a),0===a.P)return c.sb=-1,0}else if(0===a.la&&(b<<1)-(4>=8,c.ga-=8)):5!==b&&(Zj(c,0,3),fk(c,0,0),3===b&&(qk(c.head),0===c.u&&(c.o=0,c.wa=0,c.ta=0))),rk(a),0===a.P))return c.sb=-1,0}if(4!==b)return 0;if(0>=c.wrap)return 1;2===c.wrap?(O(c,a.H&255),O(c,a.H>>8&255),O(c,a.H>>16&255),O(c,a.H>>24&255),O(c,a.kb&255),O(c,a.kb>>8&255),O(c,a.kb>>16&255),O(c,a.kb>>24&255)):(tk(c,a.H>>>16),tk(c,a.H&65535));rk(a);0a.windowBits&&(a.windowBits+=16);this.err=0;this.msg="";this.ended=!1;this.chunks=[];this.I=new Ek;this.I.P=0;var b=this.I;var c=a.level,d=a.method,e=a.windowBits,f=a.memLevel,g=a.strategy;if(b){var h=1;-1===c&&(c=6);0>e?(h=0,e=-e):15f||9< f||8!==d||8>e||15c||9g||4c.wrap&&(c.wrap=-c.wrap);c.status=c.wrap?42:113;b.H=2===c.wrap? 0:1;c.sb=0;if(!nk){d=Array(16);for(f=g=0;28>f;f++)for(Rj[f]=g,e=0;e<1<f;f++)for(Sj[f]=g,e=0;e<1<>=7;30>f;f++)for(Sj[f]=g<<7,e=0;e<1<=e;e++)d[e]=0;for(e=0;143>=e;)Nj[2*e+1]=8,e++,d[8]++;for(;255>=e;)Nj[2*e+1]=9,e++,d[9]++;for(;279>=e;)Nj[2*e+1]=7,e++,d[7]++;for(;287>=e;)Nj[2*e+1]=8,e++,d[8]++;ck(Nj,287,d);for(e=0;30>e;e++)Oj[2*e+1]=5,Oj[2*e]=bk(e,5);Uj=new Tj(Nj,Jj,257,286,15);Vj=new Tj(Oj, Kj,0,30,15);Wj=new Tj([],Lj,0,19,7);nk=!0}c.dc=new Xj(c.sa,Uj);c.Yb=new Xj(c.bb,Vj);c.Yc=new Xj(c.ia,Wj);c.ma=0;c.ga=0;dk(c);c=0}else c=pk(b,-2);0===c&&(b=b.state,b.Ld=2*b.ka,qk(b.head),b.Hc=Bk[b.level].ye,b.kd=Bk[b.level].le,b.rd=Bk[b.level].Be,b.qd=Bk[b.level].xe,b.o=0,b.wa=0,b.u=0,b.ta=0,b.R=b.ya=2,b.fb=0,b.M=0);b=c}}else b=-2;if(0!==b)throw Error(Hj[b]);a.header&&(b=this.I)&&b.state&&2===b.state.wrap&&(b.state.G=a.header);if(a.dictionary){var l;"string"===typeof a.dictionary?l=Aj(a.dictionary): "[object ArrayBuffer]"===Fk.call(a.dictionary)?l=new Uint8Array(a.dictionary):l=a.dictionary;a=this.I;f=l;g=f.length;if(a&&a.state)if(l=a.state,b=l.wrap,2===b||1===b&&42!==l.status||l.u)b=-2;else{1===b&&(a.H=Bj(a.H,f,g,0));l.wrap=0;g>=l.ka&&(0===b&&(qk(l.head),l.o=0,l.wa=0,l.ta=0),c=new N.lb(l.ka),N.mb(c,f,g-l.ka,l.ka,0),f=c,g=l.ka);c=a.la;d=a.hb;e=a.input;a.la=g;a.hb=0;a.input=f;for(vk(l);3<=l.u;){f=l.o;g=l.u-2;do l.M=(l.M<f&&(b.subarray&&zj||!b.subarray))b= String.fromCharCode.apply(null,N.Sc(b,f));else{for(var g="",h=0;hk.status,t=500<=k.status&&600>k.status;if(l||p||t)n=Ql(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||C;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); d=b.timeout||0;if(b.onTimeout&&0>3;switch(e&7){case 0:e=cm(b);if(2===f)return e;break;case 1:if(2===f)return;d+=8;break;case 2:e=cm(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 dm(a,b,c,d){if(a)if(Array.isArray(a)){var e=d;for(d=0;d=a.l;b--)if(0d?a.l:d;if(!(Xa()>=b)){do{a:{c=a;f=d;for(e=3;e>=f;e--)for(var g=c.i[e];g.length;){var h=g.shift(),k=c.j[h];delete c.j[h];if(k){c=k;break a}}c=null}c&&Mm(a,c)}while(c&&Xa()a)b.ra(-a);else{var c=Um[a];c?(b.ra(c),delete Um[a]):window.clearTimeout(a)}} function dn(){en()} function en(){window.clearTimeout(Wm);Ym().start()} function fn(){Ym().pause();window.clearTimeout(Wm);Wm=window.setTimeout(dn,Vm)} function gn(){window.clearTimeout(Xm);Xm=window.setTimeout(function(){hn(0)},Vm)} function hn(a){gn();var b=Ym();b.l=a;b.start()} function jn(a){gn();var b=Ym();b.l>a&&(b.l=a,b.start())} function kn(){window.clearTimeout(Xm);var a=Ym();a.l=0;a.start()} function ln(){E("yt.scheduler.initialized")||(D("yt.scheduler.instance.dispose",Zm),D("yt.scheduler.instance.addJob",an),D("yt.scheduler.instance.addImmediateJob",bn),D("yt.scheduler.instance.cancelJob",cn),D("yt.scheduler.instance.cancelAllJobs",$m),D("yt.scheduler.instance.start",en),D("yt.scheduler.instance.pause",fn),D("yt.scheduler.instance.setPriorityThreshold",hn),D("yt.scheduler.instance.enablePriorityThreshold",jn),D("yt.scheduler.instance.clearPriorityThreshold",kn),D("yt.scheduler.initialized", !0))} ;function mn(){Gm.apply(this,arguments)} x(mn,Gm);function nn(){mn.h||(mn.h=new mn);return mn.h} mn.prototype.ab=function(a,b,c){void 0!==c&&Number.isNaN(Number(c))&&(c=void 0);var d=E("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),NaN):Fl(a,c||0)}; mn.prototype.ra=function(a){if(void 0===a||!Number.isNaN(Number(a))){var b=E("yt.scheduler.instance.cancelJob");b?b(a):window.clearTimeout(a)}}; mn.prototype.start=function(){var a=E("yt.scheduler.instance.start");a&&a()}; mn.prototype.pause=function(){var a=E("yt.scheduler.instance.pause");a&&a()}; var Ji=nn();R("web_scheduler_auto_init")&&ln();function on(a){var b=new pj;(b=b.isAvailable()?a?new vj(b,a):b:null)||(a=new qj(a||"UserDataSharedStore"),b=a.isAvailable()?a:null);this.h=(a=b)?new kj(a):null;this.i=document.domain||window.location.hostname} on.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.h)try{this.h.set(a,b,Date.now()+1E3*c);return}catch(f){}var e="";if(d)try{e=escape((new uh).serialize(b))}catch(f){return}else e=escape(b);mm(a,e,c,this.i)}; on.prototype.get=function(a,b){var c=void 0,d=!this.h;if(!d)try{c=this.h.get(a)}catch(e){d=!0}if(d&&(c=nm(a))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c}; on.prototype.remove=function(a){this.h&&this.h.remove(a);om(a,"/",this.i)};var pn=function(){var a;return function(){a||(a=new on("ytidb"));return a}}(); function qn(){var a;return null==(a=pn())?void 0:a.get("LAST_RESULT_ENTRY_KEY",!0)} ;var rn=[],sn,tn=!1;function un(){var a={};for(sn=new vn(void 0===a.handleError?wn:a.handleError,void 0===a.logEvent?xn:a.logEvent);0=f)jo(a,k,r,g,w,b.join(),e),h=w;z.B(2);break;case 4:return z.return(Promise.reject(h))}})} function jo(a,b,c,d,e,f,g){b=c-b;e?(e instanceof Kn&&("QUOTA_EXCEEDED"===e.type||"QUOTA_MAYBE_EXCEEDED"===e.type)&&zn("QUOTA_EXCEEDED",{dbName:Bn(a.h.name),objectStoreNames:f,transactionCount:a.transactionCount,transactionMode:g.mode}),e instanceof Kn&&"UNKNOWN_ABORT"===e.type&&(c-=a.j,0>c&&c>=Math.pow(2,31)&&(c=0),zn("TRANSACTION_UNEXPECTEDLY_ABORTED",{objectStoreNames:f,transactionDuration:b,transactionCount:a.transactionCount,dbDuration:c}),a.i=!0),ko(a,!1,d,f,b,g.tag),yn(e)):ko(a,!0,d,f,b,g.tag)} function ko(a,b,c,d,e,f){zn("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 fo(a){this.h=a} m=fo.prototype;m.add=function(a,b){return Zn(this.h.add(a,b))}; m.autoIncrement=function(){return this.h.autoIncrement}; m.clear=function(){return Zn(this.h.clear()).then(function(){})}; function lo(a,b,c){a.h.createIndex(b,c,{unique:!1})} m.count=function(a){return Zn(this.h.count(a))}; function mo(a,b){return no(a,{query:b},function(c){return c.delete().then(function(){return c.continue()})}).then(function(){})} m.delete=function(a){return a instanceof IDBKeyRange?mo(this,a):Zn(this.h.delete(a))}; m.get=function(a){return Zn(this.h.get(a))}; m.index=function(a){try{return new oo(this.h.index(a))}catch(b){if(b instanceof Error&&"NotFoundError"===b.name)throw new Mn(a,this.h.name);throw b;}}; m.getName=function(){return this.h.name}; m.keyPath=function(){return this.h.keyPath}; function no(a,b,c){a=a.h.openCursor(b.query,b.direction);return po(a).then(function(d){return $n(d,c)})} function ho(a){var b=this;this.h=a;this.i=new Map;this.aborted=!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.aborted){e=Kn;for(var f=b.h.objectStoreNames,g=[],h=0;h=z},y); y.done.catch(function(z){e(z)})}catch(z){e(z)}}); g.addEventListener("success",function(){var r=g.result;k&&r.addEventListener("versionchange",function(){k(f())}); r.addEventListener("close",function(){zn("IDB_UNEXPECTEDLY_CLOSED",{dbName:Bn(a),dbVersion:r.version});l&&l()}); d(f())}); g.addEventListener("error",function(){e(g.error)}); h&&g.addEventListener("blocked",function(){h()})})} function to(a,b,c){c=void 0===c?{}:c;return so(a,b,c)} function uo(a,b){b=void 0===b?{}:b;var c,d,e,f;return A(function(g){if(1==g.h)return Aa(g,2),c=self.indexedDB.deleteDatabase(a),d=b,(e=d.Sd)&&c.addEventListener("blocked",function(){e()}),g.yield(Yn(c),4); if(2!=g.h)g.h=0,g.l=0;else throw f=Ba(g),On(f,a,"",-1);})} ;function vo(a,b){this.name=a;this.options=b;this.j=!0;this.v=this.l=0} vo.prototype.i=function(a,b,c){c=void 0===c?{}:c;return to(a,b,c)}; vo.prototype.delete=function(a){a=void 0===a?{}:a;return uo(this.name,a)}; function wo(a,b){return new Kn("INCOMPATIBLE_DB_VERSION",{dbName:a.name,oldVersion:a.options.version,newVersion:b})} function xo(a,b){if(!b)throw Pn("openWithToken",Bn(a.name));return a.open()} vo.prototype.open=function(){function a(){var f,g,h,k,l,n,p,t,r,w;return A(function(y){switch(y.h){case 1:return g=null!=(f=Error().stack)?f:"",Aa(y,2),y.yield(c.i(c.name,c.options.version,e),4);case 4:for(var z=h=y.i,G=c.options,K=[],I=v(Object.keys(G.xb)),S=I.next();!S.done;S=I.next()){S=S.value;var H=G.xb[S],fa=void 0===H.Je?Number.MAX_VALUE:H.Je;!(z.h.version>=H.Bb)||z.h.version>=fa||z.h.objectStoreNames.contains(S)||K.push(S)}k=K;if(0===k.length){y.B(5);break}l=Object.keys(c.options.xb);n=h.objectStoreNames(); if(c.vc.options.version+1)throw t.close(),c.j=!1,wo(c,r);return y.return(t);case 8:throw b(),p instanceof Error&&!R("ytidb_async_stack_killswitch")&& (p.stack=p.stack+"\n"+g.substring(g.indexOf("\n")+1)),On(p,c.name,"",null!=(w=c.options.version)?w:-1);}})} function b(){c.h===d&&(c.h=void 0)} var c=this;if(!this.j)throw wo(this);if(this.h)return this.h;var d,e={blocking:function(f){f.close()}, closed:b,cf:b,upgrade:this.options.upgrade};return this.h=d=a()};var yo=new vo("YtIdbMeta",{xb:{databases:{Bb:1}},upgrade:function(a,b){b(1)&&eo(a,"databases",{keyPath:"actualName"})}}); function zo(a,b){var c;return A(function(d){if(1==d.h)return d.yield(xo(yo,b),2);c=d.i;return d.return(co(c,["databases"],{ja:!0,mode:"readwrite"},function(e){var f=e.objectStore("databases");return f.get(a.actualName).then(function(g){if(g?a.actualName!==g.actualName||a.publicName!==g.publicName||a.userIdentifier!==g.userIdentifier:1)return Zn(f.h.put(a,void 0)).then(function(){})})}))})} function Ao(a,b){var c;return A(function(d){if(1==d.h)return a?d.yield(xo(yo,b),2):d.return();c=d.i;return d.return(c.delete("databases",a))})} function Bo(a,b){var c,d;return A(function(e){return 1==e.h?(c=[],e.yield(xo(yo,b),2)):3!=e.h?(d=e.i,e.yield(co(d,["databases"],{ja:!0,mode:"readonly"},function(f){c.length=0;return no(f.objectStore("databases"),{},function(g){a(g.getValue())&&c.push(g.getValue());return g.continue()})}),3)):e.return(c)})} function Co(a){return Bo(function(b){return"LogsDatabaseV2"===b.publicName&&void 0!==b.userIdentifier},a)} function Do(a,b,c){return Bo(function(d){return c?void 0!==d.userIdentifier&&!a.includes(d.userIdentifier)&&c.includes(d.publicName):void 0!==d.userIdentifier&&!a.includes(d.userIdentifier)},b)} function Eo(a){var b,c;return A(function(d){if(1==d.h)return b=Fm("YtIdbMeta hasAnyMeta other"),d.yield(Bo(function(e){return void 0!==e.userIdentifier&&e.userIdentifier!==b},a),2); c=d.i;return d.return(0e?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296==(e&64512)&&d+1>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}a=new Uint8Array(b.length);for(c=0;cJp||g=Op&&(Mp++,R("abandon_compression_after_N_slow_zips")?Np===T("compression_disable_point")&&Mp>Pp&&(Lp=!1):Lp=!1);Yp(b);d.headers||(d.headers={});d.headers["Content-Encoding"]="gzip";d.postBody=a;d.postParams=void 0;e(c,d)} function Zp(a){var b=void 0===b?!1:b;var c=void 0===c?!1:c;var d=V(),e={startTime:d,ticks:{},infos:{}},f=b?E("yt.logging.gzipForFetch",!1):!0;if(Lp&&f){if(!a.body)return a;try{var g=c?a.body:"string"===typeof a.body?a.body:JSON.stringify(a.body);f=g;if(!c&&"string"===typeof g){var h=Xp(g);if(null!=h&&(h>Jp||h=Op)if(Mp++,R("abandon_compression_after_N_slow_zips")||R("abandon_compression_after_N_slow_zips_lr")){b=Mp/Np;var l=Pp/T("compression_disable_point");0=l&&(Lp=!1)}else Lp=!1;Yp(e)}}a.headers=Object.assign({},{"Content-Encoding":"gzip"},a.headers||{});a.body=f;return a}catch(n){return nl(n),a}}else return a} function Xp(a){try{return(new Blob(a.split(""))).size}catch(b){return nl(b),null}} function Yp(a){R("gel_compression_csi_killswitch")||!R("log_gel_compression_latency")&&!R("log_gel_compression_latency_lr")||Ep("gel_compression",a,{sampleRate:.1})} ;function $p(a){a=Object.assign({},a);delete a.Authorization;var b=Mg();if(b){var c=new Pi;c.update(P("INNERTUBE_API_KEY"));c.update(b);a.hash=ze(c.digest(),3)}return a} ;var aq;function bq(){aq||(aq=new on("yt.innertube"));return aq} function cq(a,b,c,d){if(d)return null;d=bq().get("nextId",!0)||1;var e=bq().get("requests",!0)||{};e[d]={method:a,request:b,authState:$p(c),requestTime:Math.round(V())};bq().set("nextId",d+1,86400,!0);bq().set("requests",e,86400,!0);return d} function dq(a){var b=bq().get("requests",!0)||{};delete b[a];bq().set("requests",b,86400,!0)} function eq(a){var b=bq().get("requests",!0);if(b){for(var c in b){var d=b[c];if(!(6E4>Math.round(V())-d.requestTime)){var e=d.authState,f=$p(op(!1));rb(e,f)&&(e=d.request,"requestTimeMs"in e&&(e.requestTimeMs=Math.round(V())),fq(a,d.method,e,{}));delete b[c]}}bq().set("requests",b,86400,!0)}} ;function gq(a){this.Ub=this.h=!1;this.potentialEsfErrorCounter=this.i=0;this.handleError=function(){}; this.pb=function(){}; this.now=Date.now;this.Eb=!1;var b;this.Gd=null!=(b=a.Gd)?b:100;var c;this.Ad=null!=(c=a.Ad)?c:1;var d;this.yd=null!=(d=a.yd)?d:2592E6;var e;this.wd=null!=(e=a.wd)?e:12E4;var f;this.zd=null!=(f=a.zd)?f:5E3;var g;this.V=null!=(g=a.V)?g:void 0;this.Zb=!!a.Zb;var h;this.Xb=null!=(h=a.Xb)?h:.1;var k;this.jc=null!=(k=a.jc)?k:10;a.handleError&&(this.handleError=a.handleError);a.pb&&(this.pb=a.pb);a.Eb&&(this.Eb=a.Eb);a.Ub&&(this.Ub=a.Ub);this.W=a.W;this.Da=a.Da;this.da=a.da;this.ba=a.ba;this.sendFn=a.sendFn; this.Oc=a.Oc;this.Lc=a.Lc;hq(this)&&(!this.W||this.W("networkless_logging"))&&iq(this)} function iq(a){hq(a)&&!a.Eb&&(a.h=!0,a.Zb&&Math.random()<=a.Xb&&a.da.Ud(a.V),jq(a),a.ba.xa()&&a.Ob(),a.ba.listen(a.Oc,a.Ob.bind(a)),a.ba.listen(a.Lc,a.Zc.bind(a)))} m=gq.prototype;m.writeThenSend=function(a,b){var c=this;b=void 0===b?{}:b;if(hq(this)&&this.h){var d={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.da.set(d,this.V).then(function(e){d.id=e;c.ba.xa()&&kq(c,d)}).catch(function(e){kq(c,d); lq(c,e)})}else this.sendFn(a,b)}; m.sendThenWrite=function(a,b,c){var d=this;b=void 0===b?{}:b;if(hq(this)&&this.h){var e={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.W&&this.W("nwl_skip_retry")&&(e.skipRetry=c);if(this.ba.xa()||this.W&&this.W("nwl_aggressive_send_then_write")&&!e.skipRetry){if(!e.skipRetry){var f=b.onError?b.onError:function(){}; b.onError=function(g,h){return A(function(k){if(1==k.h)return k.yield(d.da.set(e,d.V).catch(function(l){lq(d,l)}),2); f(g,h);k.h=0})}}this.sendFn(a,b,e.skipRetry)}else this.da.set(e,this.V).catch(function(g){d.sendFn(a,b,e.skipRetry); lq(d,g)})}else this.sendFn(a,b,this.W&&this.W("nwl_skip_retry")&&c)}; m.sendAndWrite=function(a,b){var c=this;b=void 0===b?{}:b;if(hq(this)&&this.h){var d={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0},e=!1,f=b.onSuccess?b.onSuccess:function(){}; d.options.onSuccess=function(g,h){void 0!==d.id?c.da.nb(d.id,c.V):e=!0;c.ba.gb&&c.W&&c.W("vss_network_hint")&&c.ba.gb(!0);f(g,h)}; this.sendFn(d.url,d.options,void 0,!0);this.da.set(d,this.V).then(function(g){d.id=g;e&&c.da.nb(d.id,c.V)}).catch(function(g){lq(c,g)})}else this.sendFn(a,b,void 0,!0)}; m.Ob=function(){var a=this;if(!hq(this))throw Error("IndexedDB is not supported: throttleSend");this.i||(this.i=this.Da.qa(function(){var b;return A(function(c){if(1==c.h)return c.yield(a.da.jd("NEW",a.V),2);if(3!=c.h)return b=c.i,b?c.yield(kq(a,b),3):(a.Zc(),c.return());a.i&&(a.i=0,a.Ob());c.h=0})},this.Gd))}; m.Zc=function(){this.Da.ra(this.i);this.i=0}; function kq(a,b){var c;return A(function(d){switch(d.h){case 1:if(!hq(a))throw Error("IndexedDB is not supported: immediateSend");if(void 0===b.id){d.B(2);break}return d.yield(a.da.we(b.id,a.V),3);case 3:(c=d.i)||a.pb(Error("The request cannot be found in the database."));case 2:if(mq(a,b,a.yd)){d.B(4);break}a.pb(Error("Networkless Logging: Stored logs request expired age limit"));if(void 0===b.id){d.B(5);break}return d.yield(a.da.nb(b.id,a.V),5);case 5:return d.return();case 4:b.skipRetry||(b=nq(a, b));if(!b){d.B(0);break}if(!b.skipRetry||void 0===b.id){d.B(8);break}return d.yield(a.da.nb(b.id,a.V),8);case 8:a.sendFn(b.url,b.options,!!b.skipRetry),d.h=0}})} function nq(a,b){if(!hq(a))throw Error("IndexedDB is not supported: updateRequestHandlers");var c=b.options.onError?b.options.onError:function(){}; b.options.onError=function(e,f){var g,h,k,l;return A(function(n){switch(n.h){case 1:g=oq(f);(h=pq(f))&&a.W&&a.W("web_enable_error_204")&&a.handleError(Error("Request failed due to compression"),b.url,f);if(!(a.W&&a.W("nwl_consider_error_code")&&g||a.W&&!a.W("nwl_consider_error_code")&&a.potentialEsfErrorCounter<=a.jc)){n.B(2);break}if(!a.ba.mc){n.B(3);break}return n.yield(a.ba.mc(),3);case 3:if(a.ba.xa()){n.B(2);break}c(e,f);if(!a.W||!a.W("nwl_consider_error_code")||void 0===(null==(k=b)?void 0:k.id)){n.B(6); break}return n.yield(a.da.Qc(b.id,a.V,!1),6);case 6:return n.return();case 2:if(a.W&&a.W("nwl_consider_error_code")&&!g&&a.potentialEsfErrorCounter>a.jc)return n.return();a.potentialEsfErrorCounter++;if(void 0===(null==(l=b)?void 0:l.id)){n.B(8);break}return b.sendCount=c?!1:!0} function jq(a){if(!hq(a))throw Error("IndexedDB is not supported: retryQueuedRequests");a.da.jd("QUEUED",a.V).then(function(b){b&&!mq(a,b,a.wd)?a.Da.qa(function(){return A(function(c){if(1==c.h)return void 0===b.id?c.B(2):c.yield(a.da.Qc(b.id,a.V),2);jq(a);c.h=0})}):a.ba.xa()&&a.Ob()})} function lq(a,b){a.Md&&!a.ba.xa()?a.Md(b):a.handleError(b)} function hq(a){return!!a.V||a.Ub} function oq(a){var b;return(a=null==a?void 0:null==(b=a.error)?void 0:b.code)&&400<=a&&599>=a?!1:!0} function pq(a){var b;a=null==a?void 0:null==(b=a.error)?void 0:b.code;return!(400!==a&&415!==a)} ;var qq; function rq(){if(qq)return qq();var a={};qq=Yo("LogsDatabaseV2",{xb:(a.LogsRequestsStore={Bb:2},a),nc:!1,upgrade:function(b,c,d){c(2)&&eo(b,"LogsRequestsStore",{keyPath:"id",autoIncrement:!0});c(3);c(5)&&(d=d.objectStore("LogsRequestsStore"),d.h.indexNames.contains("newRequest")&&d.h.deleteIndex("newRequest"),lo(d,"newRequestV2",["status","interface","timestamp"]));c(7)&&b.h.objectStoreNames.contains("sapisid")&&b.h.deleteObjectStore("sapisid");c(9)&&b.h.objectStoreNames.contains("SWHealthLog")&&b.h.deleteObjectStore("SWHealthLog")}, version:9});return qq()} ;function sq(a){return xo(rq(),a)} function tq(a,b){var c,d,e,f;return A(function(g){if(1==g.h)return c={startTime:V(),infos:{transactionType:"YT_IDB_TRANSACTION_TYPE_WRITE"},ticks:{}},g.yield(sq(b),2);if(3!=g.h)return d=g.i,e=Object.assign({},a,{options:JSON.parse(JSON.stringify(a.options)),interface:P("INNERTUBE_CONTEXT_CLIENT_NAME",0)}),g.yield(go(d,"LogsRequestsStore",e),3);f=g.i;c.ticks.tc=V();uq(c);return g.return(f)})} function vq(a,b){var c,d,e,f,g,h,k;return A(function(l){if(1==l.h)return c={startTime:V(),infos:{transactionType:"YT_IDB_TRANSACTION_TYPE_READ"},ticks:{}},l.yield(sq(b),2);if(3!=l.h)return d=l.i,e=P("INNERTUBE_CONTEXT_CLIENT_NAME",0),f=[a,e,0],g=[a,e,V()],h=IDBKeyRange.bound(f,g),k=void 0,l.yield(co(d,["LogsRequestsStore"],{mode:"readwrite",ja:!0},function(n){return qo(n.objectStore("LogsRequestsStore").index("newRequestV2"),{query:h,direction:"prev"},function(p){p.getValue()&&(k=p.getValue(),"NEW"=== a&&(k.status="QUEUED",p.update(k)))})}),3); c.ticks.tc=V();uq(c);return l.return(k)})} function wq(a,b){var c;return A(function(d){if(1==d.h)return d.yield(sq(b),2);c=d.i;return d.return(co(c,["LogsRequestsStore"],{mode:"readwrite",ja:!0},function(e){var f=e.objectStore("LogsRequestsStore");return f.get(a).then(function(g){if(g)return g.status="QUEUED",Zn(f.h.put(g,void 0)).then(function(){return g})})}))})} function xq(a,b,c,d){c=void 0===c?!0:c;var e;return A(function(f){if(1==f.h)return f.yield(sq(b),2);e=f.i;return f.return(co(e,["LogsRequestsStore"],{mode:"readwrite",ja:!0},function(g){var h=g.objectStore("LogsRequestsStore");return h.get(a).then(function(k){return k?(k.status="NEW",c&&(k.sendCount+=1),void 0!==d&&(k.options.compress=d),Zn(h.h.put(k,void 0)).then(function(){return k})):Tn.resolve(void 0)})}))})} function yq(a,b){var c;return A(function(d){if(1==d.h)return d.yield(sq(b),2);c=d.i;return d.return(c.delete("LogsRequestsStore",a))})} function zq(a){var b,c;return A(function(d){if(1==d.h)return d.yield(sq(a),2);b=d.i;c=V()-2592E6;return d.yield(co(b,["LogsRequestsStore"],{mode:"readwrite",ja:!0},function(e){return no(e.objectStore("LogsRequestsStore"),{},function(f){if(f.getValue().timestamp<=c)return f.delete().then(function(){return f.continue()})})}),0)})} function Aq(){A(function(a){return a.yield(Uo(),0)})} function uq(a){R("nwl_csi_killswitch")||Ep("networkless_performance",a,{sampleRate:1})} ;var Bq={accountStateChangeSignedIn:23,accountStateChangeSignedOut:24,delayedEventMetricCaptured:11,latencyActionBaselined:6,latencyActionInfo:7,latencyActionTicked:5,offlineTransferStatusChanged:2,offlineImageDownload:335,playbackStartStateChanged:9,systemHealthCaptured:3,mangoOnboardingCompleted:10,mangoPushNotificationReceived:230,mangoUnforkDbMigrationError:121,mangoUnforkDbMigrationSummary:122,mangoUnforkDbMigrationPreunforkDbVersionNumber:133,mangoUnforkDbMigrationPhoneMetadata:134,mangoUnforkDbMigrationPhoneStorage:135, mangoUnforkDbMigrationStep:142,mangoAsyncApiMigrationEvent:223,mangoDownloadVideoResult:224,mangoHomepageVideoCount:279,mangoHomeV3State:295,mangoImageClientCacheHitEvent:273,sdCardStatusChanged:98,framesDropped:12,thumbnailHovered:13,deviceRetentionInfoCaptured:14,thumbnailLoaded:15,backToAppEvent:318,streamingStatsCaptured:17,offlineVideoShared:19,appCrashed:20,youThere:21,offlineStateSnapshot:22,mdxSessionStarted:25,mdxSessionConnected:26,mdxSessionDisconnected:27,bedrockResourceConsumptionSnapshot:28, nextGenWatchWatchSwiped:29,kidsAccountsSnapshot:30,zeroStepChannelCreated:31,tvhtml5SearchCompleted:32,offlineSharePairing:34,offlineShareUnlock:35,mdxRouteDistributionSnapshot:36,bedrockRepetitiveActionTimed:37,unpluggedDegradationInfo:229,uploadMp4HeaderMoved:38,uploadVideoTranscoded:39,uploadProcessorStarted:46,uploadProcessorEnded:47,uploadProcessorReady:94,uploadProcessorRequirementPending:95,uploadProcessorInterrupted:96,uploadFrontendEvent:241,assetPackDownloadStarted:41,assetPackDownloaded:42, assetPackApplied:43,assetPackDeleted:44,appInstallAttributionEvent:459,playbackSessionStopped:45,adBlockerMessagingShown:48,distributionChannelCaptured:49,dataPlanCpidRequested:51,detailedNetworkTypeCaptured:52,sendStateUpdated:53,receiveStateUpdated:54,sendDebugStateUpdated:55,receiveDebugStateUpdated:56,kidsErrored:57,mdxMsnSessionStatsFinished:58,appSettingsCaptured:59,mdxWebSocketServerHttpError:60,mdxWebSocketServer:61,startupCrashesDetected:62,coldStartInfo:435,offlinePlaybackStarted:63,liveChatMessageSent:225, liveChatUserPresent:434,liveChatBeingModerated:457,liveCreationCameraUpdated:64,liveCreationEncodingCaptured:65,liveCreationError:66,liveCreationHealthUpdated:67,liveCreationVideoEffectsCaptured:68,liveCreationStageOccured:75,liveCreationBroadcastScheduled:123,liveCreationArchiveReplacement:149,liveCreationCostreamingConnection:421,liveCreationStreamWebrtcStats:288,mdxSessionRecoveryStarted:69,mdxSessionRecoveryCompleted:70,mdxSessionRecoveryStopped:71,visualElementShown:72,visualElementHidden:73, visualElementGestured:78,visualElementStateChanged:208,screenCreated:156,playbackAssociated:202,visualElementAttached:215,playbackContextEvent:214,cloudCastingPlaybackStarted:74,webPlayerApiCalled:76,tvhtml5AccountDialogOpened:79,foregroundHeartbeat:80,foregroundHeartbeatScreenAssociated:111,kidsOfflineSnapshot:81,mdxEncryptionSessionStatsFinished:82,playerRequestCompleted:83,liteSchedulerStatistics:84,mdxSignIn:85,spacecastMetadataLookupRequested:86,spacecastBatchLookupRequested:87,spacecastSummaryRequested:88, spacecastPlayback:89,spacecastDiscovery:90,tvhtml5LaunchUrlComponentChanged:91,mdxBackgroundPlaybackRequestCompleted:92,mdxBrokenAdditionalDataDeviceDetected:93,tvhtml5LocalStorage:97,tvhtml5DeviceStorageStatus:147,autoCaptionsAvailable:99,playbackScrubbingEvent:339,flexyState:100,interfaceOrientationCaptured:101,mainAppBrowseFragmentCache:102,offlineCacheVerificationFailure:103,offlinePlaybackExceptionDigest:217,vrCopresenceStats:104,vrCopresenceSyncStats:130,vrCopresenceCommsStats:137,vrCopresencePartyStats:153, vrCopresenceEmojiStats:213,vrCopresenceEvent:141,vrCopresenceFlowTransitEvent:160,vrCowatchPartyEvent:492,vrPlaybackEvent:345,kidsAgeGateTracking:105,offlineDelayAllowedTracking:106,mainAppAutoOfflineState:107,videoAsThumbnailDownload:108,videoAsThumbnailPlayback:109,liteShowMore:110,renderingError:118,kidsProfilePinGateTracking:119,abrTrajectory:124,scrollEvent:125,streamzIncremented:126,kidsProfileSwitcherTracking:127,kidsProfileCreationTracking:129,buyFlowStarted:136,mbsConnectionInitiated:138, mbsPlaybackInitiated:139,mbsLoadChildren:140,liteProfileFetcher:144,mdxRemoteTransaction:146,reelPlaybackError:148,reachabilityDetectionEvent:150,mobilePlaybackEvent:151,courtsidePlayerStateChanged:152,musicPersistentCacheChecked:154,musicPersistentCacheCleared:155,playbackInterrupted:157,playbackInterruptionResolved:158,fixFopFlow:159,anrDetection:161,backstagePostCreationFlowEnded:162,clientError:163,gamingAccountLinkStatusChanged:164,liteHousewarming:165,buyFlowEvent:167,kidsParentalGateTracking:168, kidsSignedOutSettingsStatus:437,kidsSignedOutPauseHistoryFixStatus:438,tvhtml5WatchdogViolation:444,ypcUpgradeFlow:169,yongleStudy:170,ypcUpdateFlowStarted:171,ypcUpdateFlowCancelled:172,ypcUpdateFlowSucceeded:173,ypcUpdateFlowFailed:174,liteGrowthkitPromo:175,paymentFlowStarted:341,transactionFlowShowPaymentDialog:405,transactionFlowStarted:176,transactionFlowSecondaryDeviceStarted:222,transactionFlowSecondaryDeviceSignedOutStarted:383,transactionFlowCancelled:177,transactionFlowPaymentCallBackReceived:387, transactionFlowPaymentSubmitted:460,transactionFlowPaymentSucceeded:329,transactionFlowSucceeded:178,transactionFlowFailed:179,transactionFlowPlayBillingConnectionStartEvent:428,transactionFlowSecondaryDeviceSuccess:458,transactionFlowErrorEvent:411,liteVideoQualityChanged:180,watchBreakEnablementSettingEvent:181,watchBreakFrequencySettingEvent:182,videoEffectsCameraPerformanceMetrics:183,adNotify:184,startupTelemetry:185,playbackOfflineFallbackUsed:186,outOfMemory:187,ypcPauseFlowStarted:188,ypcPauseFlowCancelled:189, ypcPauseFlowSucceeded:190,ypcPauseFlowFailed:191,uploadFileSelected:192,ypcResumeFlowStarted:193,ypcResumeFlowCancelled:194,ypcResumeFlowSucceeded:195,ypcResumeFlowFailed:196,adsClientStateChange:197,ypcCancelFlowStarted:198,ypcCancelFlowCancelled:199,ypcCancelFlowSucceeded:200,ypcCancelFlowFailed:201,ypcCancelFlowGoToPaymentProcessor:402,ypcDeactivateFlowStarted:320,ypcRedeemFlowStarted:203,ypcRedeemFlowCancelled:204,ypcRedeemFlowSucceeded:205,ypcRedeemFlowFailed:206,ypcFamilyCreateFlowStarted:258, ypcFamilyCreateFlowCancelled:259,ypcFamilyCreateFlowSucceeded:260,ypcFamilyCreateFlowFailed:261,ypcFamilyManageFlowStarted:262,ypcFamilyManageFlowCancelled:263,ypcFamilyManageFlowSucceeded:264,ypcFamilyManageFlowFailed:265,restoreContextEvent:207,embedsAdEvent:327,autoplayTriggered:209,clientDataErrorEvent:210,experimentalVssValidation:211,tvhtml5TriggeredEvent:212,tvhtml5FrameworksFieldTrialResult:216,tvhtml5FrameworksFieldTrialStart:220,musicOfflinePreferences:218,watchTimeSegment:219,appWidthLayoutError:221, accountRegistryChange:226,userMentionAutoCompleteBoxEvent:227,downloadRecommendationEnablementSettingEvent:228,musicPlaybackContentModeChangeEvent:231,offlineDbOpenCompleted:232,kidsFlowEvent:233,kidsFlowCorpusSelectedEvent:234,videoEffectsEvent:235,unpluggedOpsEogAnalyticsEvent:236,playbackAudioRouteEvent:237,interactionLoggingDebugModeError:238,offlineYtbRefreshed:239,kidsFlowError:240,musicAutoplayOnLaunchAttempted:242,deviceContextActivityEvent:243,deviceContextEvent:244,templateResolutionException:245, musicSideloadedPlaylistServiceCalled:246,embedsStorageAccessNotChecked:247,embedsHasStorageAccessResult:248,embedsItpPlayedOnReload:249,embedsRequestStorageAccessResult:250,embedsShouldRequestStorageAccessResult:251,embedsRequestStorageAccessState:256,embedsRequestStorageAccessFailedState:257,embedsItpWatchLaterResult:266,searchSuggestDecodingPayloadFailure:252,siriShortcutActivated:253,tvhtml5KeyboardPerformance:254,latencyActionSpan:255,elementsLog:267,ytbFileOpened:268,tfliteModelError:269,apiTest:270, yongleUsbSetup:271,touStrikeInterstitialEvent:272,liteStreamToSave:274,appBundleClientEvent:275,ytbFileCreationFailed:276,adNotifyFailure:278,ytbTransferFailed:280,blockingRequestFailed:281,liteAccountSelector:282,liteAccountUiCallbacks:283,dummyPayload:284,browseResponseValidationEvent:285,entitiesError:286,musicIosBackgroundFetch:287,mdxNotificationEvent:289,layersValidationError:290,musicPwaInstalled:291,liteAccountCleanup:292,html5PlayerHealthEvent:293,watchRestoreAttempt:294,liteAccountSignIn:296, notaireEvent:298,kidsVoiceSearchEvent:299,adNotifyFilled:300,delayedEventDropped:301,analyticsSearchEvent:302,systemDarkThemeOptOutEvent:303,flowEvent:304,networkConnectivityBaselineEvent:305,ytbFileImported:306,downloadStreamUrlExpired:307,directSignInEvent:308,lyricImpressionEvent:309,accessibilityStateEvent:310,tokenRefreshEvent:311,genericAttestationExecution:312,tvhtml5VideoSeek:313,unpluggedAutoPause:314,scrubbingEvent:315,bedtimeReminderEvent:317,tvhtml5UnexpectedRestart:319,tvhtml5StabilityTraceEvent:478, tvhtml5OperationHealth:467,tvhtml5WatchKeyEvent:321,voiceLanguageChanged:322,tvhtml5LiveChatStatus:323,parentToolsCorpusSelectedEvent:324,offerAdsEnrollmentInitiated:325,networkQualityIntervalEvent:326,deviceStartupMetrics:328,heartbeatActionPlayerTransitioned:330,tvhtml5Lifecycle:331,heartbeatActionPlayerHalted:332,adaptiveInlineMutedSettingEvent:333,mainAppLibraryLoadingState:334,thirdPartyLogMonitoringEvent:336,appShellAssetLoadReport:337,tvhtml5AndroidAttestation:338,tvhtml5StartupSoundEvent:340, iosBackgroundRefreshTask:342,iosBackgroundProcessingTask:343,sliEventBatch:344,postImpressionEvent:346,musicSideloadedPlaylistExport:347,idbUnexpectedlyClosed:348,voiceSearchEvent:349,mdxSessionCastEvent:350,idbQuotaExceeded:351,idbTransactionEnded:352,idbTransactionAborted:353,tvhtml5KeyboardLogging:354,idbIsSupportedCompleted:355,creatorStudioMobileEvent:356,idbDataCorrupted:357,parentToolsAppChosenEvent:358,webViewBottomSheetResized:359,activeStateControllerScrollPerformanceSummary:360,navigatorValidation:361, mdxSessionHeartbeat:362,clientHintsPolyfillDiagnostics:363,clientHintsPolyfillEvent:364,proofOfOriginTokenError:365,kidsAddedAccountSummary:366,musicWearableDevice:367,ypcRefundFlowEvent:368,tvhtml5PlaybackMeasurementEvent:369,tvhtml5WatermarkMeasurementEvent:370,clientExpGcfPropagationEvent:371,mainAppReferrerIntent:372,leaderLockEnded:373,leaderLockAcquired:374,googleHatsEvent:375,persistentLensLaunchEvent:376,parentToolsChildWelcomeChosenEvent:378,browseThumbnailPreloadEvent:379,finalPayload:380, mdxDialAdditionalDataUpdateEvent:381,webOrchestrationTaskLifecycleRecord:382,startupSignalEvent:384,accountError:385,gmsDeviceCheckEvent:386,accountSelectorEvent:388,accountUiCallbacks:389,mdxDialAdditionalDataProbeEvent:390,downloadsSearchIcingApiStats:391,downloadsSearchIndexUpdatedEvent:397,downloadsSearchIndexSnapshot:398,dataPushClientEvent:392,kidsCategorySelectedEvent:393,mdxDeviceManagementSnapshotEvent:394,prefetchRequested:395,prefetchableCommandExecuted:396,gelDebuggingEvent:399,webLinkTtsPlayEnd:400, clipViewInvalid:401,persistentStorageStateChecked:403,cacheWipeoutEvent:404,playerEvent:410,sfvEffectPipelineStartedEvent:412,sfvEffectPipelinePausedEvent:429,sfvEffectPipelineEndedEvent:413,sfvEffectChosenEvent:414,sfvEffectLoadedEvent:415,sfvEffectUserInteractionEvent:465,sfvEffectFirstFrameProcessedLatencyEvent:416,sfvEffectAggregatedFramesProcessedLatencyEvent:417,sfvEffectAggregatedFramesDroppedEvent:418,sfvEffectPipelineErrorEvent:430,sfvEffectGraphFrozenEvent:419,sfvEffectGlThreadBlockedEvent:420, mdeVideoChangedEvent:442,mdePlayerPerformanceMetrics:472,genericClientExperimentEvent:423,homePreloadTaskScheduled:424,homePreloadTaskExecuted:425,homePreloadCacheHit:426,polymerPropertyChangedInObserver:427,applicationStarted:431,networkCronetRttBatch:432,networkCronetRttSummary:433,repeatChapterLoopEvent:436,seekCancellationEvent:462,lockModeTimeoutEvent:483,offlineTransferStarted:4,musicOfflineMixtapePreferencesChanged:16,mangoDailyNewVideosNotificationAttempt:40,mangoDailyNewVideosNotificationError:77, dtwsPlaybackStarted:112,dtwsTileFetchStarted:113,dtwsTileFetchCompleted:114,dtwsTileFetchStatusChanged:145,dtwsKeyframeDecoderBufferSent:115,dtwsTileUnderflowedOnNonkeyframe:116,dtwsBackfillFetchStatusChanged:143,dtwsBackfillUnderflowed:117,dtwsAdaptiveLevelChanged:128,blockingVisitorIdTimeout:277,liteSocial:18,mobileJsInvocation:297,biscottiBasedDetection:439,coWatchStateChange:440,embedsVideoDataDidChange:441,shortsFirst:443,cruiseControlEvent:445,qoeClientLoggingContext:446,atvRecommendationJobExecuted:447, tvhtml5UserFeedback:448,producerProjectCreated:449,producerProjectOpened:450,producerProjectDeleted:451,producerProjectElementAdded:453,producerProjectElementRemoved:454,tvhtml5ShowClockEvent:455,deviceCapabilityCheckMetrics:456,youtubeClearcutEvent:461,offlineBrowseFallbackEvent:463,getCtvTokenEvent:464,startupDroppedFramesSummary:466,screenshotEvent:468,miniAppPlayEvent:469,elementsDebugCounters:470,fontLoadEvent:471,webKillswitchReceived:473,webKillswitchExecuted:474,cameraOpenEvent:475,manualSmoothnessMeasurement:476, tvhtml5AppQualityEvent:477,polymerPropertyAccessEvent:479,miniAppSdkUsage:480,cobaltTelemetryEvent:481,crossDevicePlayback:482,channelCreatedWithObakeImage:484,channelEditedWithObakeImage:485,offlineDeleteEvent:486,crossDeviceNotificationTransfer:487,androidIntentEvent:488,unpluggedAmbientInterludesCounterfactualEvent:489,keyPlaysPlayback:490,shortsCreationFallbackEvent:493,vssData:491,castMatch:494,miniAppPerformanceMetrics:495,userFeedbackEvent:496};var Cq={},Dq=Yo("ServiceWorkerLogsDatabase",{xb:(Cq.SWHealthLog={Bb:1},Cq),nc:!0,upgrade:function(a,b){b(1)&&lo(eo(a,"SWHealthLog",{keyPath:"id",autoIncrement:!0}),"swHealthNewRequest",["interface","timestamp"])}, version:1});function Eq(a){return xo(Dq(),a)} function Fq(a){var b,c;A(function(d){if(1==d.h)return d.yield(Eq(a),2);b=d.i;c=V()-2592E6;return d.yield(co(b,["SWHealthLog"],{mode:"readwrite",ja:!0},function(e){return no(e.objectStore("SWHealthLog"),{},function(f){if(f.getValue().timestamp<=c)return f.delete().then(function(){return f.continue()})})}),0)})} function Gq(a){var b;return A(function(c){if(1==c.h)return c.yield(Eq(a),2);b=c.i;return c.yield(b.clear("SWHealthLog"),0)})} ;var Hq={},Iq=0;function Jq(a){var b=new Image,c=""+Iq++;Hq[c]=b;b.onload=b.onerror=function(){delete Hq[c]}; b.src=a} ;function Kq(){this.h=new Map;this.i=!1} function Lq(){if(!Kq.h){var a=E("yt.networkRequestMonitor.instance")||new Kq;D("yt.networkRequestMonitor.instance",a);Kq.h=a}return Kq.h} Kq.prototype.requestComplete=function(a,b){b&&(this.i=!0);a=this.removeParams(a);this.h.get(a)||this.h.set(a,b)}; Kq.prototype.isEndpointCFR=function(a){a=this.removeParams(a);return(a=this.h.get(a))?!1:!1===a&&this.i?!0:null}; Kq.prototype.removeParams=function(a){return a.split("?")[0]}; Kq.prototype.removeParams=Kq.prototype.removeParams;Kq.prototype.isEndpointCFR=Kq.prototype.isEndpointCFR;Kq.prototype.requestComplete=Kq.prototype.requestComplete;Kq.getInstance=Lq;var Mq;function Nq(){Mq||(Mq=new on("yt.offline"));return Mq} function Oq(a){if(R("offline_error_handling")){var b=Nq().get("errors",!0)||{};b[a.message]={name:a.name,stack:a.stack};a.level&&(b[a.message].level=a.level);Nq().set("errors",b,2592E3,!0)}} ;function Pq(){pd.call(this);var a=this;this.j=!1;this.i=Ii();this.i.listen("networkstatus-online",function(){if(a.j&&R("offline_error_handling")){var b=Nq().get("errors",!0);if(b){for(var c in b)if(b[c]){var d=new U(c,"sent via offline_errors");d.name=b[c].name;d.stack=b[c].stack;d.level=b[c].level;ml(d)}Nq().set("errors",{},2592E3,!0)}}})} x(Pq,pd);function Qq(){if(!Pq.h){var a=E("yt.networkStatusManager.instance")||new Pq;D("yt.networkStatusManager.instance",a);Pq.h=a}return Pq.h} m=Pq.prototype;m.xa=function(){return this.i.xa()}; m.gb=function(a){this.i.i=a}; m.je=function(){var a=window.navigator.onLine;return void 0===a?!0:a}; m.Zd=function(){this.j=!0}; m.listen=function(a,b){return this.i.listen(a,b)}; m.mc=function(a){a=Gi(this.i,a);a.then(function(b){R("use_cfr_monitor")&&Lq().requestComplete("generate_204",b)}); return a}; Pq.prototype.sendNetworkCheckRequest=Pq.prototype.mc;Pq.prototype.listen=Pq.prototype.listen;Pq.prototype.enableErrorFlushing=Pq.prototype.Zd;Pq.prototype.getWindowStatus=Pq.prototype.je;Pq.prototype.networkStatusHint=Pq.prototype.gb;Pq.prototype.isNetworkAvailable=Pq.prototype.xa;Pq.getInstance=Qq;function Rq(a){a=void 0===a?{}:a;pd.call(this);var b=this;this.i=this.m=0;this.j=Qq();var c=E("yt.networkStatusManager.instance.listen").bind(this.j);c&&(a.rateLimit?(this.rateLimit=a.rateLimit,c("networkstatus-online",function(){Sq(b,"publicytnetworkstatus-online")}),c("networkstatus-offline",function(){Sq(b,"publicytnetworkstatus-offline")})):(c("networkstatus-online",function(){qd(b,"publicytnetworkstatus-online")}),c("networkstatus-offline",function(){qd(b,"publicytnetworkstatus-offline")})))} x(Rq,pd);Rq.prototype.xa=function(){var a=E("yt.networkStatusManager.instance.isNetworkAvailable");return a?a.bind(this.j)():!0}; Rq.prototype.gb=function(a){var b=E("yt.networkStatusManager.instance.networkStatusHint").bind(this.j);b&&b(a)}; Rq.prototype.mc=function(a){var b=this,c;return A(function(d){c=E("yt.networkStatusManager.instance.sendNetworkCheckRequest").bind(b.j);return R("skip_network_check_if_cfr")&&Lq().isEndpointCFR("generate_204")?d.return(new Promise(function(e){var f;b.gb((null==(f=window.navigator)?void 0:f.onLine)||!0);e(b.xa())})):c?d.return(c(a)):d.return(!0)})}; function Sq(a,b){a.rateLimit?a.i?(Ji.ra(a.m),a.m=Ji.qa(function(){a.l!==b&&(qd(a,b),a.l=b,a.i=V())},a.rateLimit-(V()-a.i))):(qd(a,b),a.l=b,a.i=V()):qd(a,b)} ;var Tq;function Uq(){var a=gq.call;Tq||(Tq=new Rq({ag:!0,Uf:!0}));a.call(gq,this,{da:{Ud:zq,nb:yq,jd:vq,we:wq,Qc:xq,set:tq},ba:Tq,handleError:function(b,c,d){var e,f=null==d?void 0:null==(e=d.error)?void 0:e.code;if(400===f||415===f){var g;nl(new U(b.message,c,null==d?void 0:null==(g=d.error)?void 0:g.code),void 0,void 0,void 0,!0)}else ml(b)}, pb:nl,sendFn:Vq,now:V,Md:Oq,Da:nn(),Oc:"publicytnetworkstatus-online",Lc:"publicytnetworkstatus-offline",Zb:!0,Xb:.1,jc:T("potential_esf_error_limit",10),W:R,Eb:!(Em()&&Wq())});this.j=new Zh;R("networkless_immediately_drop_all_requests")&&Aq();Vo("LogsDatabaseV2")} x(Uq,gq);function Xq(){var a=E("yt.networklessRequestController.instance");a||(a=new Uq,D("yt.networklessRequestController.instance",a),R("networkless_logging")&&Ko().then(function(b){a.V=b;iq(a);a.j.resolve();a.Zb&&Math.random()<=a.Xb&&a.V&&Fq(a.V);R("networkless_immediately_drop_sw_health_store")&&Yq(a)})); return a} Uq.prototype.writeThenSend=function(a,b){b||(b={});b=Zq(a,b);Em()||(this.h=!1);gq.prototype.writeThenSend.call(this,a,b)}; Uq.prototype.sendThenWrite=function(a,b,c){b||(b={});b=Zq(a,b);Em()||(this.h=!1);gq.prototype.sendThenWrite.call(this,a,b,c)}; Uq.prototype.sendAndWrite=function(a,b){b||(b={});b=Zq(a,b);Em()||(this.h=!1);gq.prototype.sendAndWrite.call(this,a,b)}; Uq.prototype.awaitInitialization=function(){return this.j.promise}; function Yq(a){var b;A(function(c){if(!a.V)throw b=Pn("clearSWHealthLogsDb"),b;return c.return(Gq(a.V).catch(function(d){a.handleError(d)}))})} function Vq(a,b,c,d){d=void 0===d?!1:d;b=R("web_fp_via_jspb")?Object.assign({},b):b;R("use_cfr_monitor")&&$q(a,b);if(R("use_request_time_ms_header"))b.headers&&xl(a)&&(b.headers["X-Goog-Request-Time"]=JSON.stringify(Math.round(V())));else{var e;if(null==(e=b.postParams)?0:e.requestTimeMs)b.postParams.requestTimeMs=Math.round(V())}if(c&&0===Object.keys(b).length){var f=void 0===f?"":f;var g=void 0===g?!1:g;var h=void 0===h?!1:h;if(a)if(f)Pl(a,void 0,"POST",f);else if(P("USE_NET_AJAX_FOR_PING_TRANSPORT", !1)||h)Pl(a,void 0,"GET","",void 0,void 0,g,h);else{b:{try{var k=new ab({url:a});if(k.j&&k.i||k.l){var l=$b(ac(5,a)),n;if(!(n=!l||!l.endsWith("/aclk"))){var p=a.search(jc),t=ic(a,0,"ri",p);if(0>t)var r=null;else{var w=a.indexOf("&",t);if(0>w||w>p)w=p;r=decodeURIComponent(a.slice(t+3,-1!==w?w:0).replace(/\+/g," "))}n="1"!==r}var y=!n;break b}}catch(G){}y=!1}if(y){b:{try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,"")){var z=!0;break b}}catch(G){}z=!1}c=z?!0:!1}else c= !1;c||Jq(a)}}else b.compress?b.postBody?("string"!==typeof b.postBody&&(b.postBody=JSON.stringify(b.postBody)),Wp(a,b.postBody,b,Ml,d)):Wp(a,JSON.stringify(b.postParams),b,Ul,d):Ml(a,b)} function Zq(a,b){R("use_event_time_ms_header")&&xl(a)&&(b.headers||(b.headers={}),b.headers["X-Goog-Event-Time"]=JSON.stringify(Math.round(V())));return b} function $q(a,b){var c=b.onError?b.onError:function(){}; b.onError=function(e,f){Lq().requestComplete(a,!1);c(e,f)}; var d=b.onSuccess?b.onSuccess:function(){}; b.onSuccess=function(e,f){Lq().requestComplete(a,!0);d(e,f)}} function Wq(){return"www.youtube-nocookie.com"!==bc(document.location.toString())} ;var ar=!1,br=C.ytNetworklessLoggingInitializationOptions||{isNwlInitialized:ar};D("ytNetworklessLoggingInitializationOptions",br);function cr(){var a;A(function(b){if(1==b.h)return b.yield(Ko(),2);a=b.i;if(!a||!Em()&&!R("nwl_init_require_datasync_id_killswitch")||!Wq())return b.B(0);ar=!0;br.isNwlInitialized=ar;return b.yield(Xq().awaitInitialization(),0)})} ;function dr(a){var b=this;this.config_=null;a?this.config_=a:lp()&&(this.config_=mp());Hm(function(){eq(b)},5E3)} dr.prototype.isReady=function(){!this.config_&&lp()&&(this.config_=mp());return!!this.config_}; function fq(a,b,c,d){function e(w){w=void 0===w?!1:w;var y;if(d.retry&&"www.youtube-nocookie.com"!=h&&(w||R("skip_ls_gel_retry")||"application/json"!==g.headers["Content-Type"]||(y=cq(b,c,l,k)),y)){var z=g.onSuccess,G=g.onFetchSuccess;g.onSuccess=function(S,H){dq(y);z(S,H)}; c.onFetchSuccess=function(S,H){dq(y);G(S,H)}}try{if(w&&d.retry&&!d.networklessOptions.bypassNetworkless)g.method="POST",d.networklessOptions.writeThenSend?Xq().writeThenSend(r,g):Xq().sendAndWrite(r,g); else if(d.compress){var K=!d.networklessOptions.writeThenSend;if(g.postBody){var I=g.postBody;"string"!==typeof I&&(I=JSON.stringify(g.postBody));Wp(r,I,g,Ml,K)}else Wp(r,JSON.stringify(g.postParams),g,Ul,K)}else R("web_all_payloads_via_jspb")?Ml(r,g):Ul(r,g)}catch(S){if("InvalidAccessError"==S.name)y&&(dq(y),y=0),nl(Error("An extension is blocking network request."));else throw S;}y&&Hm(function(){eq(a)},5E3)} !P("VISITOR_DATA")&&"visitor_id"!==b&&.01>Math.random()&&nl(new U("Missing VISITOR_DATA when sending innertube request.",b,c,d));if(!a.isReady()){var f=new U("innertube xhrclient not ready",b,c,d);ml(f);throw f;}var g={headers:d.headers||{},method:"POST",postParams:c,postBody:d.postBody,postBodyFormat:d.postBodyFormat||"JSON",onTimeout:function(){d.onTimeout()}, onFetchTimeout:d.onTimeout,onSuccess:function(w,y){if(d.onSuccess)d.onSuccess(y)}, onFetchSuccess:function(w){if(d.onSuccess)d.onSuccess(w)}, onError:function(w,y){if(d.onError)d.onError(y)}, onFetchError:function(w){if(d.onError)d.onError(w)}, timeout:d.timeout,withCredentials:!0,compress:d.compress};g.headers["Content-Type"]||(g.headers["Content-Type"]="application/json");var h="";(f=a.config_.qe)&&(h=f);var k=a.config_.se||!1,l=op(k,h,d);Object.assign(g.headers,l);(f=g.headers.Authorization)&&!h&&k&&(g.headers["x-origin"]=window.location.origin);var n="/youtubei/"+a.config_.innertubeApiVersion+"/"+b,p={alt:"json"},t=a.config_.re&&f;t=t&&f.startsWith("Bearer");t||(p.key=a.config_.innertubeApiKey);var r=wl(""+h+n,p||{},!0);(E("ytNetworklessLoggingInitializationOptions")? br.isNwlInitialized:ar)?Io().then(function(w){e(w)}):e(!1)} ;var er=0,fr=Gc?"webkit":Fc?"moz":Dc?"ms":Cc?"o":"";D("ytDomDomGetNextId",E("ytDomDomGetNextId")||function(){return++er});var gr={stopImmediatePropagation:1,stopPropagation:1,preventMouseEvent:1,preventManipulation:1,preventDefault:1,layerX:1,layerY:1,screenX:1,screenY:1,scale:1,rotation:1,webkitMovementX:1,webkitMovementY:1}; function hr(a){this.type="";this.state=this.source=this.data=this.currentTarget=this.relatedTarget=this.target=null;this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.ctrlKey=this.altKey=!1;this.rotation=this.clientY=this.clientX=0;this.scale=1;this.changedTouches=this.touches=null;try{if(a=a||window.event){this.event=a;for(var b in a)b in gr||(this[b]=a[b]);this.scale=a.scale;this.rotation=a.rotation;var c=a.target||a.srcElement;c&&3==c.nodeType&&(c=c.parentNode);this.target=c;var d=a.relatedTarget; if(d)try{d=d.nodeName?d:null}catch(e){d=null}else"mouseover"==this.type?d=a.fromElement:"mouseout"==this.type&&(d=a.toElement);this.relatedTarget=d;this.clientX=void 0!=a.clientX?a.clientX:a.pageX;this.clientY=void 0!=a.clientY?a.clientY:a.pageY;this.keyCode=a.keyCode?a.keyCode:a.which;this.charCode=a.charCode||("keypress"==this.type?this.keyCode:0);this.altKey=a.altKey;this.ctrlKey=a.ctrlKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.h=a.pageX;this.i=a.pageY}}catch(e){}} function ir(a){if(document.body&&document.documentElement){var b=document.body.scrollTop+document.documentElement.scrollTop;a.h=a.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);a.i=a.clientY+b}} hr.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())}; hr.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())}; hr.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var nb=C.ytEventsEventsListeners||{};D("ytEventsEventsListeners",nb);var jr=C.ytEventsEventsCounter||{count:0};D("ytEventsEventsCounter",jr); function kr(a,b,c,d){d=void 0===d?{}:d;a.addEventListener&&("mouseenter"!=b||"onmouseenter"in document?"mouseleave"!=b||"onmouseenter"in document?"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"):b="mouseout":b="mouseover");return mb(function(e){var f="boolean"===typeof e[4]&&e[4]==!!d,g=Pa(e[4])&&Pa(d)&&rb(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||g)})} var lr=cb(function(){var a=!1;try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}}); window.addEventListener("test",null,b)}catch(c){}return a}); function mr(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=kr(a,b,c,d);if(e)return e;e=++jr.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var g=f?function(h){h=new hr(h);if(!zd(h.relatedTarget,function(k){return k==a}))return h.currentTarget=a,h.type=b,c.call(a,h)}:function(h){h=new hr(h); h.currentTarget=a;return c.call(a,h)}; g=ll(g);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),lr()||"boolean"===typeof d?a.addEventListener(b,g,d):a.addEventListener(b,g,!!d.capture)):a.attachEvent("on"+b,g);nb[e]=[a,b,c,g,d];return e} function nr(a){a&&("string"==typeof a&&(a=[a]),eb(a,function(b){if(b in nb){var c=nb[b],d=c[0],e=c[1],f=c[3];c=c[4];d.removeEventListener?lr()||"boolean"===typeof c?d.removeEventListener(e,f,c):d.removeEventListener(e,f,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete nb[b]}}))} ;function or(a){this.D=a;this.h=null;this.l=0;this.A=null;this.m=0;this.i=[];for(a=0;4>a;a++)this.i.push(0);this.j=0;this.T=mr(window,"mousemove",Va(this.U,this));a=Va(this.K,this);"function"===typeof a&&(a=ll(a));this.Z=window.setInterval(a,25)} Ya(or,J);or.prototype.U=function(a){void 0===a.h&&ir(a);var b=a.h;void 0===a.i&&ir(a);this.h=new vd(b,a.i)}; or.prototype.K=function(){if(this.h){var a=V();if(0!=this.l){var b=this.A,c=this.h,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.l);this.i[this.j]=.5c;c++)b+=this.i[c]||0;3<=b&&this.D();this.m=d}this.l=a;this.A=this.h;this.j=(this.j+1)%4}}; or.prototype.S=function(){window.clearInterval(this.Z);nr(this.T)};var pr={}; function qr(a){var b=void 0===a?{}:a;a=void 0===b.Fe?!1:b.Fe;b=void 0===b.ae?!0:b.ae;if(null==E("_lact",window)){var c=parseInt(P("LACT"),10);c=isFinite(c)?Date.now()-Math.max(c,0):-1;D("_lact",c,window);D("_fact",c,window);-1==c&&rr();mr(document,"keydown",rr);mr(document,"keyup",rr);mr(document,"mousedown",rr);mr(document,"mouseup",rr);a?mr(window,"touchmove",function(){sr("touchmove",200)},{passive:!0}):(mr(window,"resize",function(){sr("resize",200)}),b&&mr(window,"scroll",function(){sr("scroll",200)})); new or(function(){sr("mouse",100)}); mr(document,"touchstart",rr,{passive:!0});mr(document,"touchend",rr,{passive:!0})}} function sr(a,b){pr[a]||(pr[a]=!0,Ji.qa(function(){rr();pr[a]=!1},b))} function rr(){null==E("_lact",window)&&qr();var a=Date.now();D("_lact",a,window);-1==E("_fact",window)&&D("_fact",a,window);(a=E("ytglobal.ytUtilActivityCallback_"))&&a()} function tr(){var a=E("_lact",window);return null==a?-1:Math.max(Date.now()-a,0)} ;var ur=C.ytPubsubPubsubInstance||new M,vr=C.ytPubsubPubsubSubscribedKeys||{},wr=C.ytPubsubPubsubTopicToKeys||{},xr=C.ytPubsubPubsubIsSynchronous||{};function yr(a,b){var c=zr();if(c&&b){var d=c.subscribe(a,function(){var e=arguments;var f=function(){vr[d]&&b.apply&&"function"==typeof b.apply&&b.apply(window,e)}; try{xr[a]?f():Fl(f,0)}catch(g){ml(g)}},void 0); vr[d]=!0;wr[a]||(wr[a]=[]);wr[a].push(d);return d}return 0} function Ar(a){var b=zr();b&&("number"===typeof a?a=[a]:"string"===typeof a&&(a=[parseInt(a,10)]),eb(a,function(c){b.unsubscribeByKey(c);delete vr[c]}))} function Br(a,b){var c=zr();c&&c.publish.apply(c,arguments)} function Cr(a){var b=zr();if(b)if(b.clear(a),a)Dr(a);else for(var c in wr)Dr(c)} function zr(){return C.ytPubsubPubsubInstance} function Dr(a){wr[a]&&(a=wr[a],eb(a,function(b){vr[b]&&delete vr[b]}),a.length=0)} M.prototype.subscribe=M.prototype.subscribe;M.prototype.unsubscribeByKey=M.prototype.zb;M.prototype.publish=M.prototype.Ya;M.prototype.clear=M.prototype.clear;D("ytPubsubPubsubInstance",ur);D("ytPubsubPubsubTopicToKeys",wr);D("ytPubsubPubsubIsSynchronous",xr);D("ytPubsubPubsubSubscribedKeys",vr);var Er=Symbol("injectionDeps");function Fr(a){this.name=a} Fr.prototype.toString=function(){return"InjectionToken("+this.name+")"}; function Gr(a){this.key=a} function Hr(){this.i=new Map;this.j=new Map;this.h=new Map} function Ir(a,b){a.i.set(b.lc,b);var c=a.j.get(b.lc);c&&c.ig(a.resolve(b.lc))} Hr.prototype.resolve=function(a){return a instanceof Gr?Jr(this,a.key,[],!0):Jr(this,a,[])}; function Jr(a,b,c,d){d=void 0===d?!1:d;if(-1=d.length&&gs(b)===d[0])return d;for(var e=[],f=0;f=a?vs||(vs=Js(function(){e();vs=void 0},0)):10<=g-k&&(Ks(f,c.tier),h.l=g)} function Fs(a,b){if("log_event"===a.endpoint){Bs();var c=Cs(a),d=new Map;d.set(c,[a.payload]);var e=Ds(a.payload)||"";b&&(ps=new b);return new Md(function(f,g){ps&&ps.isReady()?Ls(d,ps,f,g,{bypassNetworkless:!0},!0,"gelDebuggingEvent"===e):f()})}} function Cs(a){var b="";if(a.dangerousLogToVisitorSession)b="visitorOnlyApprovedKey";else if(a.cttAuthInfo){b=a.cttAuthInfo;var c={};b.videoId?c.videoId=b.videoId:b.playlistId&&(c.playlistId=b.playlistId);xs[a.cttAuthInfo.token]=c;b=a.cttAuthInfo.token}return b} function Hs(a,b,c,d){a=void 0===a?{}:a;c=void 0===c?!1:c;new Md(function(e,f){var g=Is(c,d),h=g.j;g.j=!1;Ms(g.i);Ms(g.h);g.h=0;ps&&ps.isReady()?void 0===d&&R("enable_web_tiered_gel")?Ns(e,f,a,b,c,300,h):Ns(e,f,a,b,c,d,h):(Ks(c,d),e())})} function Ns(a,b,c,d,e,f,g){var h=ps;c=void 0===c?{}:c;e=void 0===e?!1:e;f=void 0===f?200:f;g=void 0===g?!1:g;var k=new Map,l={isJspb:e,cttAuthInfo:d,tier:f};e={isJspb:e,cttAuthInfo:d};if(void 0!==d)f=R("enable_web_tiered_gel")?zs().smartExtractMatchingEntries({keys:[l,e],sizeLimit:1E3}):zs().extractMatchingEntries(e),k.set(d,f);else for(d=v(Object.keys(ys)),l=d.next();!l.done;l=d.next())l=l.value,e=R("enable_web_tiered_gel")?zs().smartExtractMatchingEntries({keys:[{isJspb:!1,cttAuthInfo:l,tier:f}, {isJspb:!1,cttAuthInfo:l}],sizeLimit:1E3}):zs().extractMatchingEntries({isJspb:!1,cttAuthInfo:l}),0=ns&&c():c()},e); d.i=e} function Ls(a,b,c,d,e,f,g){e=void 0===e?{}:e;var h=Math.round(V()),k=a.size,l=(void 0===g?0:g)&&R("vss_through_gel_video_stats")?"video_stats":"log_event";a=v(a);var n=a.next();for(g={};!n.done;g={Kc:void 0,batchRequest:void 0,dangerousLogToVisitorSession:void 0,Nc:void 0,Mc:void 0},n=a.next()){var p=v(n.value);n=p.next().value;p=p.next().value;g.batchRequest=ub({context:np(b.config_||mp())});if(!Oa(p)&&!R("throw_err_when_logevent_malformed_killswitch")){d();break}g.batchRequest.events=p;(p=xs[n])&& Os(g.batchRequest,n,p);delete xs[n];g.dangerousLogToVisitorSession="visitorOnlyApprovedKey"===n;Ps(g.batchRequest,h,g.dangerousLogToVisitorSession);R("always_send_and_write")&&(e.writeThenSend=!1);g.Nc=function(t){R("start_client_gcf")&&Ji.qa(function(){return A(function(r){return r.yield(Qs(t),0)})}); k--;k||c()}; g.Kc=0;g.Mc=function(t){return function(){t.Kc++;if(e.bypassNetworkless&&1===t.Kc)try{fq(b,l,t.batchRequest,Rs({writeThenSend:!0},t.dangerousLogToVisitorSession,t.Nc,t.Mc,f)),ws=!1}catch(r){ml(r),d()}k--;k||c()}}(g); try{fq(b,l,g.batchRequest,Rs(e,g.dangerousLogToVisitorSession,g.Nc,g.Mc,f)),ws=!1}catch(t){ml(t),d()}}} function Rs(a,b,c,d,e){a={retry:!0,onSuccess:c,onError:d,networklessOptions:a,dangerousLogToVisitorSession:b,Rf:!!e,headers:{},postBodyFormat:"",postBody:"",compress:R("compress_gel")||R("compress_gel_lr")};Ss()&&(a.headers["X-Goog-Request-Time"]=JSON.stringify(Math.round(V())));return a} function Ps(a,b,c){Ss()||(a.requestTimeMs=String(b));R("unsplit_gel_payloads_in_logs")&&(a.unsplitGelPayloadsInLogs=!0);!c&&(b=P("EVENT_ID"))&&((c=P("BATCH_CLIENT_COUNTER")||0)||(c=Math.floor(Math.random()*ms/2)),c++,c>ms&&(c=1),hl("BATCH_CLIENT_COUNTER",c),a.serializedClientEventId={serializedEventId:b,clientCounter:String(c)})} function Os(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 Bs(){var a;(a=E("yt.logging.transport.enableScrapingForTest"))||(a=Al("il_payload_scraping"),a="enable_il_payload_scraping"!==(void 0!==a?String(a):""));a||(ds=[],D("yt.logging.transport.enableScrapingForTest",!0),D("yt.logging.transport.scrapedPayloadsForTesting",ds),D("yt.logging.transport.payloadToScrape","visualElementShown visualElementHidden visualElementAttached screenCreated visualElementGestured visualElementStateChanged".split(" ")),D("yt.logging.transport.getScrapedPayloadFromClientEventsFunction"), D("yt.logging.transport.scrapeClientEvent",!0))} function Ss(){return R("use_request_time_ms_header")||R("lr_use_request_time_ms_header")} function Js(a,b){return!1===R("embeds_transport_use_scheduler")?Fl(a,b):R("logging_avoid_blocking_during_navigation")||R("lr_logging_avoid_blocking_during_navigation")?Hm(function(){if("none"===cs().currentState)a();else{var c={};cs().install((c.none={callback:a},c))}},b):Hm(a,b)} function Ms(a){R("transport_use_scheduler")?Ji.ra(a):window.clearTimeout(a)} function Qs(a){var b,c,d,e,f,g,h,k,l,n;return A(function(p){return 1==p.h?(d=null==(b=a)?void 0:null==(c=b.responseContext)?void 0:c.globalConfigGroup,e=js(d,Nk),g=null==(f=d)?void 0:f.hotHashData,h=js(d,Mk),l=null==(k=d)?void 0:k.coldHashData,(n=Mr().resolve(new Gr(gp)))?g?e?p.yield(ip(n,g,e),2):p.yield(ip(n,g),2):p.B(2):p.return()):l?h?p.yield(jp(n,l,h),0):p.yield(jp(n,l),0):p.B(0)})} function Is(a,b){b=void 0===b?200:b;return a?300===b?us:ss:300===b?ts:rs} function Ds(a){a=Object.keys(a);a=v(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,Bq[b])return b} function Es(a){switch(a){case "DELAYED_EVENT_TIER_UNSPECIFIED":return 0;case "DELAYED_EVENT_TIER_DEFAULT":return 100;case "DELAYED_EVENT_TIER_DISPATCH_TO_EMPTY":return 200;case "DELAYED_EVENT_TIER_FAST":return 300;case "DELAYED_EVENT_TIER_IMMEDIATE":return 400;default:return 200}} ;var Ts=C.ytLoggingGelSequenceIdObj_||{};D("ytLoggingGelSequenceIdObj_",Ts); function Us(a,b,c,d){d=void 0===d?{}:d;var e={},f=Math.round(d.timestamp||V());e.eventTimeMs=fb;b++){for(var c=Date.now(),d=0;d1E5*Math.random()&&(c=new U("CSI data exceeded logging limit with key",b.split("_")),0<=b.indexOf("plev")||bt(c)),!0):!1} ;var av=window;function bv(){this.timing={};this.clearResourceTimings=function(){}; this.webkitClearResourceTimings=function(){}; this.mozClearResourceTimings=function(){}; this.msClearResourceTimings=function(){}; this.oClearResourceTimings=function(){}} function cv(){var a;if(R("csi_use_performance_navigation_timing")||R("csi_use_performance_navigation_timing_tvhtml5")){var b,c,d,e=null==Y?void 0:null==(a=Y.getEntriesByType)?void 0:null==(b=a.call(Y,"navigation"))?void 0:null==(c=b[0])?void 0:null==(d=c.toJSON)?void 0:d.call(c);e?(e.requestStart=dv(e.requestStart),e.responseEnd=dv(e.responseEnd),e.redirectStart=dv(e.redirectStart),e.redirectEnd=dv(e.redirectEnd),e.domainLookupEnd=dv(e.domainLookupEnd),e.connectStart=dv(e.connectStart),e.connectEnd= dv(e.connectEnd),e.responseStart=dv(e.responseStart),e.secureConnectionStart=dv(e.secureConnectionStart),e.domainLookupStart=dv(e.domainLookupStart),e.isPerformanceNavigationTiming=!0,a=e):a=Y.timing}else a=Y.timing;return a} function dv(a){return Math.round(ev()+a)} function ev(){return(R("csi_use_time_origin")||R("csi_use_time_origin_tvhtml5"))&&Y.timeOrigin?Math.floor(Y.timeOrigin):Y.timing.navigationStart} var Y=av.performance||av.mozPerformance||av.msPerformance||av.webkitPerformance||new bv;var fv=!1,gv=!1,hv={'script[name="scheduler/scheduler"]':"sj",'script[name="player/base"]':"pj",'link[rel="preload"][name="player/embed"]':"pej",'link[rel="stylesheet"][name="www-player"]':"pc",'link[rel="stylesheet"][name="player/www-player"]':"pc",'script[name="desktop_polymer/desktop_polymer"]':"dpj",'link[rel="import"][name="desktop_polymer"]':"dph",'script[name="mobile-c3"]':"mcj",'link[rel="stylesheet"][name="mobile-c3"]':"mcc",'script[name="player-plasma-ias-phone/base"]':"mcppj",'script[name="player-plasma-ias-tablet/base"]':"mcptj", 'link[rel="stylesheet"][name="mobile-polymer-player-ias"]':"mcpc",'link[rel="stylesheet"][name="mobile-polymer-player-svg-ias"]':"mcpsc",'script[name="mobile_blazer_core_mod"]':"mbcj",'link[rel="stylesheet"][name="mobile_blazer_css"]':"mbc",'script[name="mobile_blazer_logged_in_users_mod"]':"mbliuj",'script[name="mobile_blazer_logged_out_users_mod"]':"mblouj",'script[name="mobile_blazer_noncore_mod"]':"mbnj","#player_css":"mbpc",'script[name="mobile_blazer_desktopplayer_mod"]':"mbpj",'link[rel="stylesheet"][name="mobile_blazer_tablet_css"]':"mbtc", 'script[name="mobile_blazer_watch_mod"]':"mbwj"};Va(Y.clearResourceTimings||Y.webkitClearResourceTimings||Y.mozClearResourceTimings||Y.msClearResourceTimings||Y.oClearResourceTimings||bb,Y);function iv(a,b){if(!R("web_csi_action_sampling_enabled")||!Lu(b).actionDisabled){var c=Tu(b||"");Gu(c.info,a);a.loadType&&(c=a.loadType,Nu(b).loadType=c);Gu(Qu(b),a);c=Ru(b);b=Lu(b).cttAuthInfo;Zu().info(a,c,b)}} function jv(){var a,b,c,d;return(null!=(d=null==Mr().resolve(new Gr(gp))?void 0:null==(a=hp())?void 0:null==(b=a.loggingHotConfig)?void 0:null==(c=b.csiConfig)?void 0:c.debugTicks)?d:[]).map(function(e){return Object.values(e)[0]})} function Z(a,b,c){if(!R("web_csi_action_sampling_enabled")||!Lu(c).actionDisabled){var d=Ru(c),e;if(e=R("web_csi_debug_sample_enabled")&&d){(null==Mr().resolve(new Gr(gp))?0:hp())&&!gv&&(gv=!0,Z("gcfl",V(),c));var f,g,h;e=(null==Mr().resolve(new Gr(gp))?void 0:null==(f=hp())?void 0:null==(g=f.loggingHotConfig)?void 0:null==(h=g.csiConfig)?void 0:h.debugSampleWeight)||0;if(f=0!==e)b:{f=jv();if(0c.duration?d:c},{duration:0}))&&0=ev()&&0f&&(c=a.substring(f,e),c=c.replace(lw,""),c=c.replace(mw,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else ow(a,b,c)} function ow(a,b,c){c=void 0===c?null:c;var d=pw(a),e=document.getElementById(d),f=e&&jw(e),g=e&&!f;f?b&&b():(b&&(f=yr(d,b),b=""+Qa(b),qw[b]=f),g||(e=rw(a,d,function(){if(!jw(e)){hw(e);Br(d);var h=Wa(Cr,d);Fl(h,0)}},c)))} function rw(a,b,c,d){d=void 0===d?null:d;var e=yd("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);wi(e,Kk(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e} function sw(a){a=pw(a);var b=document.getElementById(a);b&&(Cr(a),b.parentNode.removeChild(b))} function tw(a,b){a&&b&&(a=""+Qa(b),(a=qw[a])&&Ar(a))} function pw(a){var b=document.createElement("a");li(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+Yb(a)} var qw={};var uw=[],vw=!1;function ww(){if(!R("disable_biscotti_fetch_for_ad_blocker_detection")&&!R("disable_biscotti_fetch_entirely_for_all_web_clients")&&It()){var a=P("PLAYER_VARS",{});if("1"!=qb(a)&&!Jt(a)){var b=function(){vw=!0;"google_ad_status"in window?hl("DCLKSTAT",1):hl("DCLKSTAT",2)}; try{nw("//static.doubleclick.net/instream/ad_status.js",b)}catch(c){}uw.push(Ji.qa(function(){if(!(vw||"google_ad_status"in window)){try{tw("//static.doubleclick.net/instream/ad_status.js",b)}catch(c){}vw=!0;hl("DCLKSTAT",3)}},5E3))}}} function xw(){var a=Number(P("DCLKSTAT",0));return isNaN(a)?0:a} ;function yw(a){Vr.call(this,void 0===a?"document_active":a);var b=this;this.l=10;this.h=new Map;this.transitions=[{from:"document_active",to:"document_disposed_preventable",action:this.D},{from:"document_active",to:"document_disposed",action:this.v},{from:"document_disposed_preventable",to:"document_disposed",action:this.v},{from:"document_disposed_preventable",to:"flush_logs",action:this.m},{from:"document_disposed_preventable",to:"document_active",action:this.i},{from:"document_disposed",to:"flush_logs", action:this.m},{from:"document_disposed",to:"document_active",action:this.i},{from:"document_disposed",to:"document_disposed",action:function(){}}, {from:"flush_logs",to:"document_active",action:this.i}];window.addEventListener("pagehide",function(c){b.transition("document_disposed",{event:c})}); window.addEventListener("beforeunload",function(c){b.transition("document_disposed_preventable",{event:c})})} x(yw,Vr);yw.prototype.D=function(a,b){if(!this.h.get("document_disposed_preventable")){a(null==b?void 0:b.event);var c,d;if((null==b?0:null==(c=b.event)?0:c.defaultPrevented)||(null==b?0:null==(d=b.event)?0:d.returnValue)){b.event.returnValue||(b.event.returnValue=!0);b.event.defaultPrevented||b.event.preventDefault();this.h=new Map;this.transition("document_active");return}}this.h.set("document_disposed_preventable",!0);this.h.get("document_disposed")?this.transition("flush_logs"):this.transition("document_disposed")}; yw.prototype.v=function(a,b){this.h.get("document_disposed")?this.transition("document_active"):(a(null==b?void 0:b.event),this.h.set("document_disposed",!0),this.transition("flush_logs"))}; yw.prototype.m=function(a,b){a(null==b?void 0:b.event);this.transition("document_active")}; yw.prototype.i=function(){this.h=new Map};function zw(a){Vr.call(this,void 0===a?"document_visibility_unknown":a);var b=this;this.transitions=[{from:"document_visibility_unknown",to:"document_visible",action:this.i},{from:"document_visibility_unknown",to:"document_hidden",action:this.h},{from:"document_visibility_unknown",to:"document_foregrounded",action:this.m},{from:"document_visibility_unknown",to:"document_backgrounded",action:this.v},{from:"document_visible",to:"document_hidden",action:this.h},{from:"document_visible",to:"document_foregrounded", action:this.m},{from:"document_visible",to:"document_visible",action:this.i},{from:"document_foregrounded",to:"document_visible",action:this.i},{from:"document_foregrounded",to:"document_hidden",action:this.h},{from:"document_foregrounded",to:"document_foregrounded",action:this.m},{from:"document_hidden",to:"document_visible",action:this.i},{from:"document_hidden",to:"document_backgrounded",action:this.v},{from:"document_hidden",to:"document_hidden",action:this.h},{from:"document_backgrounded",to:"document_hidden", action:this.h},{from:"document_backgrounded",to:"document_backgrounded",action:this.v},{from:"document_backgrounded",to:"document_visible",action:this.i}];document.addEventListener("visibilitychange",function(c){"visible"===document.visibilityState?b.transition("document_visible",{event:c}):b.transition("document_hidden",{event:c})}); R("visibility_lifecycles_dynamic_backgrounding")&&(window.addEventListener("blur",function(c){b.transition("document_backgrounded",{event:c})}),window.addEventListener("focus",function(c){b.transition("document_foregrounded",{event:c})}))} x(zw,Vr);zw.prototype.i=function(a,b){a(null==b?void 0:b.event);R("visibility_lifecycles_dynamic_backgrounding")&&this.transition("document_foregrounded")}; zw.prototype.h=function(a,b){a(null==b?void 0:b.event);R("visibility_lifecycles_dynamic_backgrounding")&&this.transition("document_backgrounded")}; zw.prototype.v=function(a,b){a(null==b?void 0:b.event)}; zw.prototype.m=function(a,b){a(null==b?void 0:b.event)};function Aw(){this.l=new yw;this.v=new zw} Aw.prototype.install=function(){var a=B.apply(0,arguments),b=this;a.forEach(function(c){b.l.install(c)}); a.forEach(function(c){b.v.install(c)})};function Bw(){this.l=[];this.i=new Map;this.h=new Map;this.j=new Set} Bw.prototype.clickCommand=function(a,b,c){var d=a.clickTrackingParams;c=void 0===c?0:c;if(d)if(c=ut(void 0===c?0:c)){a=this.client;d=new nt({trackingParams:d});var e=void 0;if(R("no_client_ve_attach_unless_shown")){var f=xu(d,c);tu.set(f,!0);yu(d,c)}e=e||"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK";f=wu({cttAuthInfo:wt(c)||void 0},c);d={csn:c,ve:d.getAsJson(),gestureType:e};b&&(d.clientData=b);"UNDEFINED_CSN"===c?zu("visualElementGestured",f,d):a?Us("visualElementGestured",d,a,f):xn("visualElementGestured", d,f);b=!0}else b=!1;else b=!1;return b}; Bw.prototype.stateChanged=function(a,b,c){this.visualElementStateChanged(new nt({trackingParams:a}),b,void 0===c?0:c)}; Bw.prototype.visualElementStateChanged=function(a,b,c){c=void 0===c?0:c;if(0===c&&this.j.has(c))this.l.push([a,b]);else{var d=c;d=void 0===d?0:d;c=ut(d);a||(a=(a=rt(void 0===d?0:d))?new nt({veType:a,youtubeData:void 0,jspbYoutubeData:void 0}):null);var e=a;c&&e&&(a=this.client,d=wu({cttAuthInfo:wt(c)||void 0},c),b={csn:c,ve:e.getAsJson(),clientData:b},"UNDEFINED_CSN"===c?zu("visualElementStateChanged",d,b):a?Us("visualElementStateChanged",b,a,d):xn("visualElementStateChanged",b,d))}}; function Cw(a,b){if(void 0===b)for(var c=tt(),d=0;d>>0);function Hx(a,b){var c="player",d=!1;d=void 0===d?!0:d;c="string"===typeof c?xd(c):c;var e=Gx+"_"+Qa(c),f=Fx[e];if(f&&d)return Ix(a,b)?f.api.loadVideoByPlayerVars(a.args||null):f.loadNewVideoConfig(a),f.api;f=new nx(c,e,a,b,void 0);Fx[e]=f;f.addOnDisposeCallback(function(){delete Fx[f.getId()]}); return f.api} function Ix(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 Jx=null,Kx=null,Lx=null; function Mx(){wv();var a=tm(),b=xm(119),c=1