(function(){'use strict';var n;function aa(a){var b=0;return function(){return b>>0)+"_",e=0;return b}); v("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;c0&&c>0;)if(d[--c]!=b[--e])return!1;return e<=0}}); function Ga(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c=f}}); v("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}}); v("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;f2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}} function E(a,b,c){E=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Ma:Na;return E.apply(null,arguments)} function F(){return Date.now()} function G(a,b){a=a.split(".");var c=C;a[0]in c||typeof c.execScript=="undefined"||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||b===void 0?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b} function H(a,b){function c(){} c.prototype=b.prototype;a.Ea=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Gh=function(d,e,f){for(var g=Array(arguments.length-2),h=2;hb?1:0} ;/* SPDX-License-Identifier: Apache-2.0 */ function Ta(a){return{valueOf:a}.valueOf()} ;var Va;function Wa(){if(Va===void 0){var a=null,b=C.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:Oa,createScript:Oa,createScriptURL:Oa})}catch(c){C.console&&C.console.error(c.message)}Va=a}else Va=a}return Va} ;function Xa(a){this.g=a} Xa.prototype.toString=function(){return this.g+""}; function Ya(a){if(a instanceof Xa&&a.constructor===Xa)return a.g;Ia(a);return"type_error:TrustedResourceUrl"} var Za={};function $a(a){var b=Wa();a=b?b.createScriptURL(a):a;return new Xa(a,Za)} ;function ab(a){this.g=a} ab.prototype.toString=function(){return this.g}; var bb=new ab("about:invalid#zClosurez");function cb(a){this.ig=a} function db(a){return new cb(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})} var eb=[db("data"),db("http"),db("https"),db("mailto"),db("ftp"),new cb(function(a){return/^[^:]*([/?#]|$)/.test(a)})]; function hb(a){for(var b=Da.apply(1,arguments),c=[a[0]],d=0;d=0)&&Array.prototype.splice.call(a,b,1);return c} function rb(a,b){for(var c=1;cc){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 Ob(a,b,c,d){for(var e=c.length;(b=a.indexOf(c,b))>=0&&b0:!1} function bc(){return ac()?!1:I("Opera")} function cc(){return ac()?!1:I("Trident")||I("MSIE")} function dc(){return ac()?$b("Microsoft Edge"):I("Edg/")} function ec(){return I("Safari")&&!(fc()||(ac()?0:I("Coast"))||bc()||(ac()?0:I("Edge"))||dc()||(ac()?$b("Opera"):I("OPR"))||I("Firefox")||I("FxiOS")||I("Silk")||I("Android"))} function fc(){return ac()?$b("Chromium"):(I("Chrome")||I("CriOS"))&&!(ac()?0:I("Edge"))||I("Silk")} function gc(a){var b={};a.forEach(function(c){b[c[0]]=c[1]}); return function(c){return b[c.find(function(d){return d in b})]||""}} function hc(){var a=Xb();if(cc()){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])a=b[1];else{b="";var c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),c[1]=="7.0")if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else b=c[1];a=b}return a}c=RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g");b=[];for(var d;d=c.exec(a);)b.push([d[1],d[2],d[3]||void 0]);a=gc(b);return bc()?a(["Version","Opera"]): (ac()?0:I("Edge"))?a(["Edge"]):dc()?a(["Edg"]):I("Silk")?a(["Silk"]):fc()?a(["Chrome","CriOS","HeadlessChrome"]):(a=b[2])&&a[1]||""} ;function ic(){return Ub&&Yb&&Yb.platform?Yb.platform==="Android":I("Android")} function jc(){return I("iPhone")&&!I("iPod")&&!I("iPad")} ;var kc=cc(),lc=I("Edge"),mc=ic();function nc(a,b){Sb.call(this,a?a.type:"");this.relatedTarget=this.g=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.l=null;a&&this.init(a,b)} H(nc,Sb); nc.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.g=b;b=a.relatedTarget;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!== void 0?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.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=a.pointerType;this.state=a.state;this.l=a;a.defaultPrevented&&nc.Ea.preventDefault.call(this)}; nc.prototype.stopPropagation=function(){nc.Ea.stopPropagation.call(this);this.l.stopPropagation?this.l.stopPropagation():this.l.cancelBubble=!0}; nc.prototype.preventDefault=function(){nc.Ea.preventDefault.call(this);var a=this.l;a.preventDefault?a.preventDefault():a.returnValue=!1};var oc="closure_listenable_"+(Math.random()*1E6|0);var pc=0;function qc(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.kc=e;this.key=++pc;this.Rb=this.Yb=!1} function rc(a){a.Rb=!0;a.listener=null;a.proxy=null;a.src=null;a.kc=null} ;function sc(a){this.src=a;this.listeners={};this.g=0} sc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.g++);var g=tc(a,b,d,e);g>-1?(b=a[g],c||(b.Yb=!1)):(b=new qc(b,this.src,f,!!d,e),b.Yb=c,a.push(b));return b}; sc.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=tc(e,b,c,d);return b>-1?(rc(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.listeners[a],this.g--),!0):!1}; function uc(a,b){var c=b.type;c in a.listeners&&qb(a.listeners[c],b)&&(rc(b),a.listeners[c].length==0&&(delete a.listeners[c],a.g--))} function tc(a,b,c,d){for(var e=0;e-1?b[a]:null)&&Hc(c))} function Hc(a){if(typeof a!=="number"&&a&&!a.Rb){var b=a.src;if(b&&b[oc])uc(b.g,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Ec(c),d):b.addListener&&b.removeListener&&b.removeListener(d);xc--;(c=Cc(b))?(uc(c,a),c.g==0&&(c.src=null,b[vc]=null)):rc(a)}}} function Ec(a){return a in wc?wc[a]:wc[a]="on"+a} function Fc(a,b){if(a.Rb)a=!0;else{b=new nc(b,this);var c=a.listener,d=a.kc||a.src;a.Yb&&Hc(a);a=c.call(d,b)}return a} function Cc(a){a=a[vc];return a instanceof sc?a:null} var Ic="__closure_events_fn_"+(Math.random()*1E9>>>0);function Ac(a){if(typeof a==="function")return a;a[Ic]||(a[Ic]=function(b){return a.handleEvent(b)}); return a[Ic]} ;function Jc(){Rb.call(this);this.g=new sc(this);this.B=this;this.u=null} H(Jc,Rb);Jc.prototype[oc]=!0;Jc.prototype.addEventListener=function(a,b,c,d){yc(this,a,b,c,d)}; Jc.prototype.removeEventListener=function(a,b,c,d){Gc(this,a,b,c,d)}; function Kc(a,b){var c=a.u;if(c){var d=[];for(var e=1;c;c=c.u)d.push(c),++e}a=a.B;c=b.type||b;typeof b==="string"?b=new Sb(b,a):b instanceof Sb?b.target=b.target||a:(e=b,b=new Sb(c,a),vb(b,e));e=!0;if(d)for(var f=d.length-1;!b.i&&f>=0;f--){var g=b.g=d[f];e=Lc(g,c,!0,b)&&e}b.i||(g=b.g=a,e=Lc(g,c,!0,b)&&e,b.i||(e=Lc(g,c,!1,b)&&e));if(d)for(f=0;!b.i&&f0){this.l--;var a=this.g;this.g=a.next;a.next=null}else a=this.i();return a}; function Nc(a,b){a.m(b);a.l<100&&(a.l++,b.next=a.g,a.g=b)} ;function Oc(){} ;function Pc(){var a=Qc;return document.createRange().createContextualFragment(zb(Ab(a[0])))} ;function Rc(a,b){var c=b.createRange();c.selectNode(b.body);a=Ab(a);return c.createContextualFragment(zb(a))} ;function Sc(a){a=a.nodeName;return typeof a==="string"?a:"FORM"} function Tc(a){a=a.nodeType;return a===1||typeof a!=="number"} ;var Uc="ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR NOBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" "), Vc=[["A",new Map([["href",{ja:2}]])],["AREA",new Map([["href",{ja:2}]])],["LINK",new Map([["href",{ja:5,conditions:new Map([["rel",new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])],["SOURCE",new Map([["src",{ja:5}],["srcset",{ja:6}]])],["IMG",new Map([["src",{ja:5}],["srcset",{ja:6}]])],["VIDEO",new Map([["src",{ja:5}]])],["AUDIO",new Map([["src",{ja:5}]])]],Wc="title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked color cols colspan controls datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open placeholder preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "), Xc=[["dir",{ja:3,conditions:Ta(function(){return new Map([["dir",new Set(["auto","ltr","rtl"])]])})}], ["async",{ja:3,conditions:Ta(function(){return new Map([["async",new Set(["async"])]])})}], ["cite",{ja:2}],["loading",{ja:3,conditions:Ta(function(){return new Map([["loading",new Set(["eager","lazy"])]])})}], ["poster",{ja:2}],["target",{ja:3,conditions:Ta(function(){return new Map([["target",new Set(["_self","_blank"])]])})}]],Yc=new function(){var a=new Set(Wc),b=new Map(Xc),c=new Map(Vc); this.l=new Set(Uc);this.g=c;this.i=a;this.m=b};function Zc(){this.g=Yc} function $c(a,b){var c=document.implementation.createHTMLDocument("");a=ad(a,b,c);c=c.body;c.appendChild(a);c=(new XMLSerializer).serializeToString(c);c=c.slice(c.indexOf(">")+1,c.lastIndexOf("1)));g=g.next)e||(f=g);e&&(c.g==0&&d==1?Dd(c,b):(f?(d=f,d.next==c.m&&(c.m=d),d.next=d.next.next):Ed(c),Fd(c,e,3,b)))}a.i=null}else xd(a,3,b)} function Gd(a,b){a.l||a.g!=2&&a.g!=3||Hd(a);a.m?a.m.next=b:a.l=b;a.m=b} function Bd(a,b,c,d){var e=Ad(null,null,null);e.g=new wd(function(f,g){e.i=b?function(h){try{var l=b.call(d,h);f(l)}catch(k){g(k)}}:f; e.l=c?function(h){try{var l=c.call(d,h);l===void 0&&h instanceof Cd?g(h):f(l)}catch(k){g(k)}}:g}); e.g.i=a;Gd(a,e);return e.g} wd.prototype.B=function(a){this.g=0;xd(this,2,a)}; wd.prototype.D=function(a){this.g=0;xd(this,3,a)}; function xd(a,b,c){if(a.g==0){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.g=1;a:{var d=c,e=a.B,f=a.D;if(d instanceof wd){Gd(d,Ad(e||Oc,f||null,a));var g=!0}else{if(d)try{var h=!!d.$goog_Thenable}catch(k){h=!1}else h=!1;if(h)d.then(e,f,a),g=!0;else{if(La(d))try{var l=d.then;if(typeof l==="function"){Id(d,l,e,f,a);g=!0;break a}}catch(k){f.call(a,k);g=!0;break a}g=!1}}}g||(a.u=c,a.g=b,a.i=null,Hd(a),b!=3||c instanceof Cd||Jd(a,c))}} function Id(a,b,c,d,e){function f(l){h||(h=!0,d.call(e,l))} function g(l){h||(h=!0,c.call(e,l))} var h=!1;try{b.call(a,g,f)}catch(l){f(l)}} function Hd(a){a.s||(a.s=!0,td(a.A,a))} function Ed(a){var b=null;a.l&&(b=a.l,a.l=b.next,b.next=null);a.l||(a.m=null);return b} wd.prototype.A=function(){for(var a;a=Ed(this);)Fd(this,a,this.g,this.u);this.s=!1}; function Fd(a,b,c,d){if(c==3&&b.l&&!b.m)for(;a&&a.o;a=a.i)a.o=!1;if(b.g)b.g.i=null,Kd(b,c,d);else try{b.m?b.i.call(b.context):Kd(b,c,d)}catch(e){Ld.call(null,e)}Nc(zd,b)} function Kd(a,b,c){b==2?a.i.call(a.context,c):a.l&&a.l.call(a.context,c)} function Jd(a,b){a.o=!0;td(function(){a.o&&Ld.call(null,b)})} var Ld=md;function Cd(a){Pa.call(this,a)} H(Cd,Pa);Cd.prototype.name="cancel";function Md(a,b){Jc.call(this);this.i=a||1;this.l=b||C;this.o=E(this.Rg,this);this.s=F()} H(Md,Jc);n=Md.prototype;n.enabled=!1;n.Ka=null;n.Rg=function(){if(this.enabled){var a=F()-this.s;a>0&&a>2];l=b[(l&3)<<4|k>>4];k=b[(k&15)<<2|h>>6];h=b[h&63];c[e++]=""+g+l+k+h}g=0;h=d;switch(a.length- f){case 2:g=a[f+1],h=b[(g&15)<<2]||d;case 1:a=a[f],c[e]=""+b[a>>2]+b[(a&3)<<4|g>>4]+h+d}return c.join("")} ;var Ud=typeof Uint8Array!=="undefined",Vd=!kc&&typeof btoa==="function";var Wd;function Xd(){var a=Error();Eb(a,"incident");md(a)} function Yd(a){a=Error(a);Eb(a,"warning");return a} ;function Zd(){return typeof BigInt==="function"} ;var $d=typeof Symbol==="function"&&typeof Symbol()==="symbol";function ae(a){return typeof Symbol==="function"&&typeof Symbol()==="symbol"?Symbol():a} var be=ae(),ce=ae("2ex"),de=ae("1oa");Math.max.apply(Math,x(Object.values({sh:1,qh:2,ph:4,vh:8,uh:16,th:32,kh:64,xh:128,oh:256,nh:512,rh:1024,lh:2048,wh:4096,mh:8192})));var ee=$d?function(a,b){a[be]|=b}:function(a,b){a.g!==void 0?a.g|=b:Object.defineProperties(a,{g:{value:b, configurable:!0,writable:!0,enumerable:!1}})},fe=$d?function(a,b){a[be]&=~b}:function(a,b){a.g!==void 0&&(a.g&=~b)},ge=$d?function(a){return a[be]|0}:function(a){return a.g|0},he=$d?function(a){return a[be]}:function(a){return a.g},ie=$d?function(a,b){a[be]=b}:function(a,b){a.g!==void 0?a.g=b:Object.defineProperties(a,{g:{value:b, configurable:!0,writable:!0,enumerable:!1}})}; function je(a,b){ie(b,(a|0)&-14591)} function ke(a,b){ie(b,(a|34)&-14557)} ;var le={},me={};function ne(a){return!(!a||typeof a!=="object"||a.g!==me)} function oe(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&a.constructor===Object} function pe(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=ge(a);if(d&1)return!0;if(!(b&&(Array.isArray(b)?b.includes(c):b.has(c))))return!1;ie(a,d|1);return!0} var qe,re=[];ie(re,55);qe=Object.freeze(re);function se(a){if(a&2)throw Error();} ;var te=0,ue=0;function ve(a){var b=a>>>0;te=b;ue=(a-b)/4294967296>>>0} function we(a){if(a<0){ve(0-a);var b=w(xe(te,ue));a=b.next().value;b=b.next().value;te=a>>>0;ue=b>>>0}else ve(a)} function ye(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else Zd()?c=""+(BigInt(b)<>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+c*6777216+b*6710656,c+=b*8147497,b*=2,a>=1E7&&(c+=a/1E7>>>0,a%=1E7),c>=1E7&&(b+=c/1E7>>>0,c%=1E7),c=b+ze(c)+ze(a));return c} function ze(a){a=String(a);return"0000000".slice(a.length)+a} function Ae(){var a=te,b=ue;b&2147483648?Zd()?a=""+(BigInt(b|0)<>>0)):(b=w(xe(a,b)),a=b.next().value,b=b.next().value,a="-"+ye(a,b)):a=ye(a,b);return a} function xe(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]} ;function Be(a){return a.displayName||a.name||"unknown type name"} var Ce=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function De(a){var b=typeof a;return b==="number"?Number.isFinite(a):b!=="string"?!1:Ce.test(a)} function Ee(a){if(a!=null){var b=!!b;if(!De(a))throw Yd("int64");if(typeof a==="string")if(De(a),b=Math.trunc(Number(a)),Number.isSafeInteger(b))a=String(b);else{if(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),!Fe(a)){if(a.length<16)we(Number(a));else if(Zd())a=BigInt(a),te=Number(a&BigInt(4294967295))>>>0,ue=Number(a>>BigInt(32)&BigInt(4294967295));else{b=+(a[0]==="-");ue=te=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)),ue*=1E6,te=te*1E6+d,te>=4294967296&&(ue+=Math.trunc(te/ 4294967296),ue>>>=0,te>>>=0);b&&(b=w(xe(te,ue)),a=b.next().value,b=b.next().value,te=a,ue=b)}a=Ae()}}else if(b)De(a),a=Math.trunc(a),Number.isSafeInteger(a)?a=String(a):(b=String(a),Fe(b)?a=b:(we(a),a=Ae()));else if(De(a),a=Math.trunc(a),!Number.isSafeInteger(a)){we(a);b=te;c=ue;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,b==0&&(c=c+1>>>0);b=c*4294967296+(b>>>0);a=a?-b:b}}return a} function Fe(a){return a[0]==="-"?a.length<20?!0:a.length===20&&Number(a.substring(0,7))>-922337:a.length<19?!0:a.length===19&&Number(a.substring(0,6))<922337} function Ge(a){if(a!=null&&typeof a!=="string")throw Error();return a} function He(a,b){if(!(a instanceof b))throw Error("Expected instanceof "+Be(b)+" but got "+(a&&Be(a.constructor)));return a} function Ie(a,b,c){if(a!=null&&typeof a==="object"&&a.bd===le)return a;if(Array.isArray(a)){var d=ge(a),e=d;e===0&&(e|=c&32);e|=c&2;e!==d&&ie(a,e);return new b(a)}} ;function Je(a){var b=Ke(a);if(b)return b;(b=Math.random()>.01)||(Le===void 0&&(Le=typeof Proxy!=="function"?!1:!0),b=!Le||!Proxy);if(b)return a;b=new Proxy(a,{set:function(c,d,e){Me();c[d]=e;return!0}}); Ne(a,b);return b} function Me(){Xd()} var Oe=void 0,Pe=void 0;function Ke(a){var b;return(b=Oe)==null?void 0:b.get(a)} function Ne(a,b){(Oe||(Oe=new WeakMap)).set(a,b);(Pe||(Pe=new WeakMap)).set(b,a)} var Le=void 0;var Qe; function Re(a,b,c){a==null&&(a=Qe);Qe=void 0;if(a==null){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error("narr");d=ge(a);if(d&2048)throw Error("farr");if(d&64)return a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error("mid");a:{c=a;var e=c.length;if(e){var f=e-1;if(oe(c[f])){d|=256;b=f-(+!!(d&512)-1);if(b>=1024)throw Error("pvtlmt");d=d&-16760833|(b&1023)<<14;break a}}if(b){b=Math.max(b,e-(+!!(d&512)-1));if(b>1024)throw Error("spvt");d=d&-16760833|(b&1023)<< 14}}}ie(a,d);return a} ;function Se(a,b){return Te(b)} function Te(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "boolean":return a?1:0;case "object":if(a)if(Array.isArray(a)){if(pe(a,void 0,0))return}else if(Ud&&a!=null&&a instanceof Uint8Array){if(Vd){for(var b="",c=0,d=a.length-10240;c=a.length||b>=c))return a[b]} function cf(a,b,c,d){if(c===-1)return null;var e=b>>14&1023||536870912;if(c>=e){if(b&256)return a[a.length-1][c]}else{var f=a.length;if(d&&b&256&&(d=a[f-1][c],d!=null)){if(df(a,b,e,c)&&ce!=null){var g;a=(g=Wd)!=null?g:Wd={};g=a[ce]||0;g>=4||(a[ce]=g+1,Xd())}return d}return df(a,b,e,c)}} function ef(a,b,c){var d=a.U,e=he(d);se(e);ff(d,e,b,c);return a} function ff(a,b,c,d,e){oe(d);var f=b>>14&1023||536870912;if(c>=f||e&&!Wb){var g=b;if(b&256)e=a[a.length-1];else{if(d==null)return g;e=a[f+(+!!(b&512)-1)]={};g|=256}e[c]=d;c0;a--){r=a-1;m=h[r];r-=e;if(!(m==null||pe(m,d, r)||ne(m)&&m.size===0))break;var q=!0}if(h!==b||l||q){if(!c)h=Array.prototype.slice.call(h,0,a);else if(q||l||k)h.length=a;k&&h.push(k)}q=h}else q=b;return q} ;var wf=window;function xf(){return Ub&&Yb?Yb.mobile:!(Ub&&Yb?!Yb.mobile&&(I("iPad")||I("Android")||I("Silk")):I("iPad")||I("Android")&&!I("Mobile")||I("Silk"))&&(I("iPod")||I("iPhone")||I("Android")||I("IEMobile"))} ;function yf(a){var b=zf;if(b)for(var c in b)Object.prototype.hasOwnProperty.call(b,c)&&a(b[c],c,b)} function Af(){var a=[];yf(function(b){a.push(b)}); return a} var zf={Yg:"allow-forms",Zg:"allow-modals",ah:"allow-orientation-lock",bh:"allow-pointer-lock",dh:"allow-popups",eh:"allow-popups-to-escape-sandbox",fh:"allow-presentation",gh:"allow-same-origin",hh:"allow-scripts",ih:"allow-top-navigation",jh:"allow-top-navigation-by-user-activation"},Bf=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){return Af()}); function Cf(){var a=Df(),b={};ob(Bf(),function(c){a.sandbox&&a.sandbox.supports&&a.sandbox.supports(c)&&(b[c]=!0)}); return b} function Df(){var a=a===void 0?document:a;return a.createElement("iframe")} ;function Ef(){var a=document.body||document.documentElement;a:{var b=a.nodeType==9?a:a.ownerDocument||a.document;if(b.defaultView&&b.defaultView.getComputedStyle&&(b=b.defaultView.getComputedStyle(a,null))){b=b.direction||b.getPropertyValue("direction")||"";break a}b=""}return b||(a.currentStyle?a.currentStyle.direction:null)||a.style&&a.style.direction} ;var Ff=(new Date).getTime();function Gf(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a.indexOf("blob:")===0&&(a=a.substring(5));a=a.split("#")[0].split("?")[0];a=a.toLowerCase();a.indexOf("//")==0&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");c!=-1&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("URI is missing protocol: "+a);if(c!=="http"&&c!=="https"&&c!=="chrome-extension"&& c!=="moz-extension"&&c!=="file"&&c!=="android-app"&&c!=="chrome-search"&&c!=="chrome-untrusted"&&c!=="chrome"&&c!=="app"&&c!=="devtools")throw Error("Invalid URI scheme in origin: "+c);a="";var d=b.indexOf(":");if(d!=-1){var e=b.substring(d+1);b=b.substring(0,d);if(c==="http"&&e!=="80"||c==="https"&&e!=="443")a=":"+e}return c+"://"+b+a} ;function Hf(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;m=k=0} function b(p){for(var r=g,q=0;q<64;q+=4)r[q/4]=p[q]<<24|p[q+1]<<16|p[q+2]<<8|p[q+3];for(q=16;q<80;q++)p=r[q-3]^r[q-8]^r[q-14]^r[q-16],r[q]=(p<<1|p>>>31)&4294967295;p=e[0];var t=e[1],u=e[2],A=e[3],K=e[4];for(q=0;q<80;q++){if(q<40)if(q<20){var O=A^t&(u^A);var X=1518500249}else O=t^u^A,X=1859775393;else q<60?(O=t&u|A&(t|u),X=2400959708):(O=t^u^A,X=3395469782);O=((p<<5|p>>>27)&4294967295)+O+K+X+r[q]&4294967295;K=A;A=u;u=(t<<30|t>>>2)&4294967295;t=p;p=O}e[0]=e[0]+p&4294967295;e[1]=e[1]+t&4294967295;e[2]= e[2]+u&4294967295;e[3]=e[3]+A&4294967295;e[4]=e[4]+K&4294967295} function c(p,r){if(typeof p==="string"){p=unescape(encodeURIComponent(p));for(var q=[],t=0,u=p.length;t=56;q--)f[q]=r&255,r>>>=8;b(f);for(q=r=0;q<5;q++)for(var t=24;t>=0;t-=8)p[r++]=e[q]>>t&255;return p} for(var e=[],f=[],g=[],h=[128],l=1;l<64;++l)h[l]=0;var k,m;a();return{reset:a,update:c,digest:d,Ye:function(){for(var p=d(),r="",q=0;q=0;a--)this.remove(b[a])}; var Nf=new Mf(typeof document=="undefined"?null:document);function Of(a){return!!Lf.FPA_SAMESITE_PHASE2_MOD||!(a===void 0||!a)} function Pf(a){a=a===void 0?!1:a;var b=C.__SAPISID||C.__APISID||C.__3PSAPISID||C.__OVERRIDE_SID;Of(a)&&(b=b||C.__1PSAPISID);if(b)return!0;if(typeof document!=="undefined"){var c=new Mf(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID");Of(a)&&(b=b||c.get("__Secure-1PAPISID"))}return!!b} function Qf(a,b,c,d){(a=C[a])||typeof document==="undefined"||(a=(new Mf(document)).get(b));return a?If(a,c,d):null} function Rf(a){var b=b===void 0?!1:b;var c=Gf(String(C.location.href)),d=[];if(Pf(b)){c=c.indexOf("https:")==0||c.indexOf("chrome-extension:")==0||c.indexOf("chrome-untrusted://new-tab-page")==0||c.indexOf("moz-extension:")==0;var e=c?C.__SAPISID:C.__APISID;e||typeof document==="undefined"||(e=new Mf(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?If(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&Of(b)&&((b=Qf("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&& d.push(b),(a=Qf("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",a))&&d.push(a))}return d.length==0?null:d.join(" ")} ;function Sf(a){Jc.call(this);var b=this;this.A=this.i=0;this.Da=a!=null?a:{Ga:function(e,f){return setTimeout(e,f)}, xa:function(e){clearTimeout(e)}}; var c,d;this.l=(d=(c=window.navigator)==null?void 0:c.onLine)!=null?d:!0;this.o=function(){return B(function(e){return z(e,Tf(b),0)})}; window.addEventListener("offline",this.o);window.addEventListener("online",this.o);this.A||Uf(this)} y(Sf,Jc);function Vf(){var a=Wf;Sf.g||(Sf.g=new Sf(a));return Sf.g} Sf.prototype.dispose=function(){window.removeEventListener("offline",this.o);window.removeEventListener("online",this.o);this.Da.xa(this.A);delete Sf.g}; Sf.prototype.ya=function(){return this.l}; function Uf(a){a.A=a.Da.Ga(function(){var b;return B(function(c){if(c.g==1)return a.l?((b=window.navigator)==null?0:b.onLine)?c.M(3):z(c,Tf(a),3):z(c,Tf(a),3);Uf(a);c.g=0})},3E4)} function Tf(a,b){return a.s?a.s:a.s=new Promise(function(c){var d,e,f,g;return B(function(h){switch(h.g){case 1:return d=window.AbortController?new window.AbortController:void 0,f=(e=d)==null?void 0:e.signal,g=!1,ua(h,2,3),d&&(a.i=a.Da.Ga(function(){d.abort()},b||2E4)),z(h,fetch("/generate_204",{method:"HEAD", signal:f}),5);case 5:g=!0;case 3:h.B=[h.i];h.o=0;h.s=0;a.s=void 0;a.i&&(a.Da.xa(a.i),a.i=0);g!==a.l&&(a.l=g,a.l?Kc(a,"networkstatus-online"):Kc(a,"networkstatus-offline"));c(g);wa(h);break;case 2:va(h),g=!1,h.M(3)}})})} ;var Xf=/^[6-9]$/,Yf=/<\/?(?:b|em)>/gi;function Zf(a){this.g=a} var $f=new Zf({});function ag(a){a=bg(a);return Ab(a)} function cg(a){a=bg(a);return $a(a)} function bg(a){return a===null?"null":a===void 0?"undefined":a} ;function dg(a,b,c,d,e,f){this.A=a instanceof yb?a:ag(a);this.g=b;this.l=c;this.s=d;this.i=e;this.m=f||$f;this.o=!1;switch(this.s){case 0:case 32:case 38:case 400:case 407:case 35:case 33:case 41:case 34:case 44:case 45:case 40:case 46:case 56:case 30:case 94:case 92:case 93:case 411:case 410:case 71:this.o=!0}} dg.prototype.getHtml=function(){return zb(this.A).toString()}; dg.prototype.u=function(){return this.l}; dg.prototype.getType=function(){return this.s};var eg=/^\s/,fg=/\s+/,gg=/\s+/g,hg=/^\s+|\s+$/g,ig=/^\s+$/,jg=/<[^>]*>/g,kg=/ /g,lg=/ /g,mg=[/&/g,/&/g,//g,/>/g,/"/g,/"/g,/'/g,/'/g,/{/g,/{/g],ng=document.getElementsByTagName("head")[0],og=0,pg=1;function qg(a){var b={};if(a)for(var c=0;c=0&&a){c=a.split("&");a=0;for(var d;a-1||fg.test(a))?(a=a.replace(gg," "),a.replace(b?hg:eg,"")):a} function zg(a,b,c){c&&(a=a.toLowerCase(),b=b.toLowerCase());return b.length<=a.length&&a.substring(0,b.length)==b} function Ag(){} function Bg(a){var b=Cg;if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c=0} var lh=ah,mh=I("Gecko")&&!(Xb().toLowerCase().indexOf("webkit")!=-1&&!I("Edge"))&&!(I("Trident")||I("MSIE"))&&!I("Edge");mh&&hc();var nh=bc(),oh=Xb().toLowerCase().indexOf("webkit")!=-1&&!I("Edge");ec();var ph=fc(),qh=xf()&&ec(),rh=ic(),sh=Ub&&Yb&&Yb.platform?Yb.platform==="macOS":I("Macintosh"),th=xf();var uh;wb("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));function vh(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")} function wh(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;c===""||c==void 0?(uh||(c={},uh=(c.atomic=!1,c.autocomplete="none",c.dropeffect="none",c.haspopup=!1,c.live="off",c.multiline=!1,c.multiselectable=!1,c.orientation="vertical",c.readonly=!1,c.relevant="additions text",c.required=!1,c.sort="none",c.busy=!1,c.disabled=!1,c.hidden=!1,c.invalid="false",c)),c=uh,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)} function xh(a){var b=a.getAttribute("aria-activedescendant");return(a.nodeType==9?a:a.ownerDocument||a.document).getElementById(b==null||b==void 0?"":String(b))} function yh(a,b){var c="";b&&(c=b.id);wh(a,"activedescendant",c)} ;var zh=document.documentElement.style.opacity!=void 0,Ah={rtl:"right",ltr:"left"};function Bh(a,b){try{if(a.setSelectionRange)a.setSelectionRange(b,b);else if(a.createTextRange){var c=a.createTextRange();c.collapse(!0);c.moveStart("character",b);c.select()}}catch(d){}} function Ch(a){for(var b=0,c=0;a;){b+=a.offsetTop;c+=a.offsetLeft;try{a=a.offsetParent}catch(d){a=null}}return{Ac:b,Sa:c}} function Dh(a){try{return Eh(a).activeElement==a}catch(b){}return!1} function M(a,b){a=document.createElement(a);b&&(a.className=b);return a} function N(a){return M("div",a)} function Fh(a,b){a.innerHTML!=b&&Bb(a,ag(b))} function Gh(a,b){a.dir!=b&&(a.dir=b,a.style.textAlign=Ah[b])} function Hh(a){a&&(a.preventDefault&&a.preventDefault(),a.returnValue=!1);return!1} function Ih(a){if(a=a||window.event)a.stopPropagation&&a.stopPropagation(),a.cancelBubble=a.cancel=!0;return Hh(a)} function Jh(a){var b=M("a");mb(b,"#ifl");b.className="sbsb_i sbqs_b";a.appendChild(b);return b} function Kh(a){var b=a||window;a=b.document;var c=b.innerWidth;b=b.innerHeight;if(!c){var d=a.documentElement;d&&(c=d.clientWidth,b=d.clientHeight);c||(c=a.body.clientWidth,b=a.body.clientHeight)}return{Ie:c,Xd:b}} function Eh(a){return a?a.ownerDocument||a.document:window.document} function Lh(a){return a?(a=Eh(a),a.defaultView||a.parentWindow):window} function Mh(){return zh?"opacity":"filter"} function Nh(a){return zh?a+"":"alpha(opacity="+Math.floor(a*100)+")"} ;function Oh(){this.o=507;Ph(this)} y(Oh,Yg);Oh.prototype.g=function(){return this.i}; function Qh(a,b,c,d){Ph(a,c,d);Bb(a.l,$c(dd,b))} function Ph(a,b,c){a.i=N("sbfl_a");a.l=N("sbfl_b");a.l.onclick=function(){c&&c.openReportForm&&c.openReportForm(b)}; a.i.appendChild(a.l)} ;var Rh=[30,35,33,41],Sh=[39,10,21];function Th(a,b){Zg.call(this,507);this.m=a;this.g=b} y(Th,Zg);Th.prototype.N=function(a){this.i=a.get(128)}; Th.prototype.sa=function(a,b){b.addRule(".sbfl_a","font-size:12px;font-style:italic;color:#777;margin:-5px -18px -5px 0");b.addRule(".sbsb_c[dir=ltr] .sbfl_a","text-align:right");b.addRule(".sbsb_c[dir=rtl] .sbfl_a","text-align:left");b.addRule(".sbfl_a:hover","color:#333;cursor:pointer");b.addRule(".sbfl_b","background:rgba(255,255,255,.9)")}; Th.prototype.Gb=function(){return new Oh}; function Uh(a){return a.map(function(b){return{label:b.g}})} Th.prototype.zb=function(a,b){a=pb(this.i.m,function(c){a:if(Rh.indexOf(c.getType())>=0)c=!1;else{c=c.i||[];for(var d=w(Sh),e=d.next();!e.done;e=d.next())if(c.indexOf(e.value)>=0){c=!1;break a}c=!0}return c},this); a.length>0?(Qh(b,this.m,Uh(a),this.g),b.g().style.display=""):b.g().style.display="none"};var Qc=ha(['']),Vh=ha(["#ps"]); function Wh(a,b,c,d,e,f,g){this.o=35;this.X=b;this.W=c;this.H=d;this.D=e;this.J=f;this.Y=g;this.B=!0;this.A=!1;this.i=N("sbpqs_d");this.u=N();this.O=M("span","sbpqs_a");this.J&&(this.l=M("a"),mb(this.l,hb(Vh)),this.l.className="sbsb_i",this.I=N("fr sbpqs_b"),this.u.appendChild(this.I),this.I.appendChild(this.l),this.m=N("sbpqs_c"),Bb(this.m,$c(dd,this.Y)),vh(this.m,"alert"));this.u.appendChild(this.O);this.i.appendChild(this.u);this.m&&this.i.appendChild(this.m)} y(Wh,Yg);Wh.prototype.g=function(){return this.i}; Wh.prototype.s=function(){return this.B}; function Xh(a,b,c,d,e){a.A=!1;a.B=!0;a.ca=c;a.F=d;a.u.style.display="";Bb(a.O,$c(dd,b));a.J&&(a.m.style.display="none",b=Pc(),a.l.textContent="",a.l.appendChild(b),a.l.onclick=function(f){Yh(a,f)},a.l.title=e)} function Yh(a,b){a.A=!0;Zh(a.X,a.ca,function(){a.A&&($h(a.W),a.i.onmouseover=a.i.onmouseout=a.i.onclick=null,a.u.style.display="none",a.m.style.display="",a.D.i==a.F&&ai(a.H),a.D.g==a.F&&(bi(a.D),ci(a.H)),a.B=!1)}); Ih(b)} ;function di(){Zg.call(this,35)} y(di,Zg);n=di.prototype;n.sa=function(a,b){b.addRule(".sbpqs_a","color:#52188c");b.addRule(".sbdd_a[dir=ltr] .sbpqs_a","padding-right:8px");b.addRule(".sbdd_a[dir=rtl] .sbpqs_a","padding-left:8px");b.addRule(".sbpqs_c","color:#666;line-height:22px")}; n.N=function(a){this.g=a.get(123);this.i=a.get(118);this.m=a.get(189);this.u=a.get(127);this.B=a.get(128)}; n.ga=function(a){this.P(a)}; n.P=function(a){this.A=a.qd;this.s=a.ld;this.o=a.kd}; n.Gb=function(){return new Wh(this.u,this.m,this.g,this.i,this.B,this.A,this.o)}; n.zb=function(a,b){Xh(b,a.getHtml(),a.g,a.l,this.s)}; n.yb=function(a,b,c){ei(c,b.g,1)};function fi(a,b,c,d,e,f,g,h){this.o=35;this.X=b;this.W=c;this.H=d;this.D=e;this.J=g;this.Y=h;this.B=!0;this.A=!1;this.l=N("sbpqs_d");this.m=N();this.O=M("span","sbpqs_a");this.J&&(this.u=M("a"),mb(this.u,"#ps"),this.u.className="sbsb_i",this.I=N("fr sbpqs_b"),this.m.appendChild(this.I),this.I.appendChild(this.u),this.i=N("sbpqs_c"),Bb(this.i,$c(dd,this.Y)),vh(this.i,"alert"));this.m.appendChild(this.O);this.l.appendChild(this.m);this.i&&this.l.appendChild(this.i)} y(fi,Yg);fi.prototype.g=function(){return this.l}; fi.prototype.s=function(){return this.B}; fi.prototype.ea=function(a){this.A=!0;Zh(this.X,this.ca,E(this.na,this));return Ih(a)}; fi.prototype.na=function(){this.A&&($h(this.W),this.l.onmouseover=this.l.onmouseout=this.l.onclick=null,this.m.style.display="none",this.i.style.display="",this.D.i==this.F&&ai(this.H),this.D.g==this.F&&(bi(this.D),ci(this.H)),this.B=!1)};function gi(){Zg.call(this,35)} y(gi,Zg);n=gi.prototype;n.sa=function(a,b){b.addRule(".sbpqs_a","color:#52188c");b.addRule(".sbdd_a[dir=ltr] .sbpqs_a","padding-right:8px");b.addRule(".sbdd_a[dir=rtl] .sbpqs_a","padding-left:8px");b.addRule(".sbdd_a[dir=ltr] .sbpqs_b","padding-right:3px");b.addRule(".sbdd_a[dir=rtl] .sbpqs_b","padding-left:3px");b.addRule(".sbpqs_c","color:#666;line-height:22px")}; n.N=function(a){this.g=a.get(123);this.i=a.get(118);this.m=a.get(189);this.u=a.get(127);this.B=a.get(128)}; n.ga=function(a){this.P(a)}; n.P=function(a){this.A=a.qd;this.s=a.ld;this.o=a.kd}; n.Gb=function(a){return new fi(this.u,this.m,this.g,this.i,this.B,a,this.A,this.o)}; n.zb=function(a,b){var c=a.getHtml(),d=a.g;a=a.l;var e=this.s;b.A=!1;b.B=!0;b.ca=d;b.F=a;b.m.style.display="";Bb(b.O,$c(dd,c));b.J&&(b.i.style.display="none",Bb(b.u,$c(dd,e)),b.u.onclick=E(b.ea,b))}; n.yb=function(a,b,c){ei(c,b.g,1)};function hi(){this.l=134;this.i={}} y(hi,L);n=hi.prototype;n.N=function(a){this.m=a.i.getId()}; n.ga=function(){"google"in window||(window.google={});"sbox"in window.google||(window.google.sbox={});window.google.sbox["d"+this.m]=E(this.Ne,this)}; n.P=function(a){this.A=cg("//"+(a.md||"clients1."+a.dc)+"/complete/deleteitems");this.s=a.ud;this.o=a.authuser;this.u=a.clientName}; n.Fa=function(){ii(this)}; function ii(a){a.g&&(ji.removeChild(a.g),a.g=null)} n.Ne=function(a){ii(this);a=a[0];var b=this.i[a];b&&(delete this.i[a],b())}; var ji=ng;function ki(){this.l=189} y(ki,L);ki.prototype.N=function(a){this.g=a.get(134);this.i=a.get(123);this.s=a.get(118);this.A=a.get(553)}; ki.prototype.ga=function(a){this.o=a.nf}; ki.prototype.P=function(a){this.m=a.ud;this.u=!(!this.g||!this.m);this.o&&(a=this.s.g?3E3:0,window.setTimeout(E(this.B,this),a),this.o=!1)}; function Zh(a,b,c){a=a.g;a.i[b]=c;c=new Map;"1"===ug(window.location.search).ssl_dbg&&c.set("ssl_dbg","1");c.set("delq",b);c.set("client",a.u);c.set("callback","google.sbox.d"+a.m);b=a.A;c.set("tok",a.s);a.o&&c.set("authuser",a.o);a.g=M("script");b=gd(b,c);Db(a.g,b);ji.appendChild(a.g)} ki.prototype.B=function(){var a=li(this.A,"",void 0,void 0,!0);mi(this.i,a);ni(this.i)};function oi(){this.l=156} y(oi,L);oi.prototype.N=function(a){this.m=a.get(189)}; oi.prototype.i=function(a){var b=this.m,c={};b.u&&(c.tok=b.m);"1"===ug(window.location.search).ssl_dbg&&(c.ssl_dbg="1");for(var d in c)Ig(a,d,c[d]);return 1}; oi.prototype.g=function(){return 12};function pi(a){this.l=156;this.o=a;this.m=null} H(pi,L);pi.prototype.i=function(a){var b=1,c=a.D;a=vg(a.g);var d=c=="focus"||c=="input";c=this.o.SEARCHBOX_INPUT_AUTOFOCUS&&c=="mousedown"&&this.m&&!this.m.isVisible();a||!d&&!c||(b=2);return b}; pi.prototype.g=function(){return 2}; pi.prototype.N=function(a){this.m=a.get(128)};function qi(){this.l=157} y(qi,L);function ri(){this.l=156} y(ri,L);ri.prototype.i=function(a){var b=ug(Fb(window.location.href));b.v&&Ig(a,"video_id",b.v,!0);return 1}; ri.prototype.g=function(){return 24};function si(a,b,c){this.l=598;this.I=b;this.A=c;this.s="";this.i=a;this.u=!1} y(si,L);si.prototype.N=function(a){this.F=a.get(553);this.g=a.get(128);this.D=a.get(118);this.B=a.get(150)}; si.prototype.ga=function(a){this.m=a.jd;this.H=a.kf}; function ti(a,b){a.s=b;a.F.pd(a.s)} function ui(a){if(!a.I||a.g.isVisible())return!1;var b=a.D.g;if(!b||b.length==0)return!1;if(b!=a.m)return a.A=="always"&&a.g&&a.g.m&&a.g.m.length>0&&vi(a.g),!1;if(a.i&&a.i.getRefinementsTuple){var c=a.i.getRefinementsTuple();if(c){var d=c[0];d=="ClearBySearchbox"?a.o=[]:d=="FromSearchResponse"&&a.u&&(a.o=c[1],a.u=!1)}}if(!a.o||a.o.length<=0)return a.g&&a.g.m&&a.g.m.length>0?(vi(a.g),!1):a.A=="always"||a.A=="fallback";c=[];for(var e=d=0;e=a.H);++e){var f=a.o[e];f&&f.length> 0&&c.push(new dg(a.B.bold(b,f),f,d++,0,[71],null))}c.length>0&&wi(a.g,c,!1);return!1} ;function xi(){this.l=156} y(xi,L);xi.prototype.N=function(a){this.m=a.get(598)}; xi.prototype.i=function(a){var b=this.m,c;a:{if(b.i&&b.i.getPreviousQuery&&(c=b.i.getPreviousQuery()))break a;c=null}var d;d=(d=ug(Fb(window.location.href)))?(d=d.search_query||d.q)&&d==b.m:!1;c&&c!=b.m?(b.u=!0,b.m=c,ti(b,c)):d||b.s==""?d&&b.s==""&&ti(b,b.m):ti(b,"");return a.D!="mousedown"&&a.D!="focus"||!ui(this.m)?1:2}; xi.prototype.g=function(){return 46};function yi(){this.l=149;this.i=ng;this.g={}} y(yi,L);n=yi.prototype;n.N=function(a){this.D=a.get(127);this.u=a.i.getId()}; n.ga=function(){"google"in window||(window.google={});"sbox"in window.google||(window.google.sbox={})}; n.P=function(a){this.config_=a;a.connectionType==this.ob()&&(a=this.D.i,this.s=a.protocol,this.o=a.host,this.B=a.wc,this.A=a.Be,this.F="https:"==document.location.protocol,zi(this,E(this.Oe,this)),(new Image).src=this.s+this.o+"/generate_204")}; n.Fa=function(){zi(this,null);Ai(this)}; n.ze=function(a,b,c,d){c=a.getId();var e=a.g;this.config_.Id||Ai(this);b=this.s+this.o+this.B+"?"+(this.A?this.A+"&":"")+(b?b+"&":"");a=[];sg("q",e,a,!0);this.config_.He||sg("callback","google.sbox.p"+this.u,a);if(this.F){e="";for(var f=4+Math.floor(Math.random()*32),g,h=0;h.5?65:97)+Math.floor(Math.random()*26),e+=String.fromCharCode(g);sg("gs_gbg",e,a)}e=M("script");this.config_.jg&&e.setAttribute("nonce",this.config_.jg); Db(e,cg(b+a.join("&")));e.charset="utf-8";this.g[c]=e;this.m=d;this.i.appendChild(e);return!0}; n.ob=function(){return 0}; n.Oc=function(){return 0}; n.Kc=function(a){var b=this.g[a];b&&(this.i.removeChild(b),delete this.g[a])}; function Ai(a){for(var b in a.g)a.i.removeChild(a.g[b]);a.g={};a.m=null} n.Oe=function(a){this.m&&this.m(a)}; function zi(a,b){b||(b=Ag);var c=window.google;a.config_.He?c.ac.h=b:c.sbox["p"+a.u]=b} ;function Bi(){this.l=115;this.o={}} y(Bi,L);n=Bi.prototype;n.N=function(a){this.m=a.get(116);if(a=Qg(a,154))for(var b,c=0;b=a[c++];)this.o[Ci]=b}; n.P=function(){this.g=!1}; n.Fa=function(){Di(this)}; n.isVisible=function(){return this.g}; n.getHeight=function(){return this.g?this.m.getHeight():0}; function Di(a){if(a.g){var b=a.m;b.B=0;Ei(b.o.m,!1);Fi(b.O,!1);Fi(b.i,!1);Gi(b,b.W);Hi(b.F,9);a.g=!1}} var Ii={Yd:"left",fg:!0,nb:null,marginWidth:0};function Ji(){this.l=118} y(Ji,L);n=Ji.prototype;n.N=function(a){this.m=a.get(119);this.A=a.get(130);this.X=a.get(145);this.s=a.get(117);this.I=a.get(123);this.B=a.get(374);this.F=a.get(121);this.Y=a.get(553);this.i=a.get(128);this.J=a.get(139);this.ca=a.get(173);this.ea=Qg(a,160)}; n.ga=function(a){this.config_=a;this.g=this.o=this.m.g.value||""}; n.P=function(a){this.config_=a;this.D=this.O=!1;Ki(this)}; function Li(a){var b={};Hi(a.s,11,b);!b.cancel&&a.config_.Qf&&jd(function(){var c=a.i;ni(c.D);Mi(c)})} function Ni(a,b){if(a.config_.zc==0||a.config_.zc==2||a.config_.zc==3&&!a.o&&!b)return!1;a:{if(Oi(a.i)&&(a.i.i!=null?b=Pi(a.i):(b=a.i,b=Oi(b)?b.m[0]:null),b.o))break a;b=null}var c;if(c=b){if(c=b=b.g)c=a.o,c=!(c||b?c&&b&&c.toLowerCase()==b.toLowerCase():1);c?(a.o=a.g,zg(b,a.g,!0)&&(b=a.g+b.substr(a.g.length)),Qi(a,b,rg(b.length),"",!0),Ri(a,b,!0),c=!0):c=!1}return c?(a.B.add(8),!0):!1} function Qi(a,b,c,d,e){a.config_.bf&&!a.i.isVisible()&&d=="mousedown"&&Si(a.i,c,d);var f=!1,g=!1;if(b!=a.g||d=="onremovechip")zg(d,"key")?a.B.add(1):d=="paste"&&a.B.add(2),f=!0,Ti(a,b),Hi(a.s,1,{Ub:d,nb:a.u}),g=F(),a.H||(a.H=g),a.W=g,vg(b)&&(e=!0),g=!0;b=li(a.Y,b,c,d);switch(b.H){case 3:b.o=!0;case 2:e=!0;break;case 4:e=!1}e?(f&&(f=a.i,f.s&&!f.A&&(f.A=window.setTimeout(E(f.clear,f),f.config_.Rf))),a.O&&Ig(b,"gs_is",1),mi(a.I,b)):g&&(a.i.clear(),ni(a.I));Hi(a.s,2,{Ub:d})} function ci(a){a=a.m;if(!a.u)try{a.g.focus(),a.u=!0,Ui(a)}catch(b){}} function Vi(a,b){Ti(a,b);Wi(a.m);Hi(a.s,4,{nb:a.u,input:b})} function ai(a){a.g!=a.o&&Ti(a,a.o);Hi(a.s,5,{input:a.o,Ng:a.i.m,nb:a.u});Wi(a.m)} n.getHeight=function(){return this.m.getHeight()}; function Xi(a){if(a.ca){if(a.config_.Rc)return!0;for(var b=0,c;c=a.ea[b++];)if(c.isEnabled())return!0}return!1} n.clear=function(){this.g&&(Ti(this,""),this.m.clear(),Hi(this.s,1),Hi(this.s,16),this.i.clear())}; function Yi(a,b){var c=a.m.s.Mb();a.u==b?Oi(a.i)&&c==a.g.length&&(a.i.i!=null?a.config_.ic&&!a.config_.Ma&&ei(a.F,Pi(a.i).g,6):a.config_.fe&&Ni(a,!0)):a.A&&c==0&&a.A.g()} function Zi(a){var b=a.m.s.Mb();return a.config_.Ma&&Oi(a.i)&&a.i.i!=null&&b===a.g.length} function Ri(a,b,c){a.g=b||"";Ki(a);Wi(a.m);c||Hi(a.s,4,{nb:a.u,input:a.g})} function Ki(a){var b=$i(a.X,a.g);if(b!=a.u){var c=a.m;c.o&&(c.o.dir=b);c.g.dir=b;c.B&&(c.B.dir=b);if(c.Ab){c=c.g;var d=0,e=c.style;c.nodeName!="INPUT"&&(d+=1);e.left=e.right="";e[b=="rtl"?"right":"left"]=d+"px"}a.u=b}} function Ti(a,b){a.g=a.o=b||"";Ki(a)} ;function aj(){this.l=128} y(aj,L);n=aj.prototype;n.N=function(a){this.o=a.get(129);this.O=a.get(145);this.I=a.get(115);this.D=a.get(123);this.u=a.get(118);this.ca=a.get(147);this.W=Qg(a,153);this.Y=a.get(553);this.H=a.get(184);this.ea=a.get(157)}; n.ga=function(){this.W.sort(Dg)}; n.P=function(a){this.config_=a;this.i=this.g=null;this.s=this.F=!1;this.X=!0;this.B="";this.J=0}; n.Fa=function(){this.A&&(window.clearTimeout(this.A),this.A=null);this.m=null;Mi(this)}; function wi(a,b,c){var d=a.H&&a.H.i(b);a.clear();a.m=b;var e=Oi(a)?b[0].g:a.u.o;a:{var f=e;if(a.O.g){for(var g=!1,h=!1,l=0,k;l1&&c[0].getType()==5&&c.splice(1,0,3)}if(b.o){b.F=a.B;dj(b);e=!1;for(f=0;g=c[f++];)if(g==1)g=b,g.B?g.B.style.display="":(h=M("li"),l=h.style,l.position="relative",l.textAlign="center",l.whiteSpace="nowrap",h.dir= g.H,g.i=N(),g.i.className="sbsb_g",g.config_.Vd&&(g.i.style.paddingBottom="1px"),ij(g,g.config_.Gg,g.i,13),g.config_.Mf?ij(g,g.config_.Ld,g.i,8):g.config_.Of&&ij(g,g.config_.Hg,g.i,14),h.appendChild(g.i),h.onmousedown=E(g.hd,g),h.className=g.config_.yc,g.B=h),g.g.appendChild(g.B);else if(g==2)if(g=b,g.A)g.A.style.display="";else{h=N("sbsb_j "+g.config_.yc);l=M("a");l.id="sbsb_f";mb(l,"http://www.google.com/support/websearch/bin/answer.py?hl="+g.config_.Vc+"&answer=106230");var m=g.config_.kg;k={zg:!0}; k=k===void 0?{}:k;m instanceof yb?k=m:(m=String(m).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),k.fi&&(m=m.replace(/(^|[\r\n\t ]) /g,"$1 ")),k.zg&&(m=m.replace(/(\r\n|\n|\r)/g,"
")),k.gi&&(m=m.replace(/(\t+)/g,'$1')),k=Ab(m));Bb(l,k);h.appendChild(l);h.onmousedown=E(g.hd,g);g.A=h;g.o.appendChild(g.A)}else g==3?(g=b,h=g.ca.pop(),h||(h=M("li"),wh(h,"hidden",!0),h.l=!0,l=M("div","sbsb_e"),h.appendChild(l)), g.g.appendChild(h)):ej(b,g)&&(e=!0);c=e}else c=!1;a.J=0}d&&(a.i=a.H.l(),jj(a,a.H.g()));c?vi(a):a.clear()} function jj(a,b){if(a.g!=b){var c=a.g;a.g=b;kj(a,c)}} n.xe=function(){if(Oi(this))if(this.s){var a=this.g;this.g==this.m.length-1?this.i=this.g=null:this.g==null?this.g=0:++this.g;this.i=this.g;lj(this,a,E(this.xe,this))}else vi(this)}; n.ye=function(){if(Oi(this))if(this.s){var a=this.g;this.m&&this.g!=0?this.g==null?this.g=this.m.length-1:--this.g:this.i=this.g=null;this.i=this.g;lj(this,a,E(this.ye,this))}else vi(this)}; n.isVisible=function(){return this.s}; n.isEnabled=function(){return this.X}; function Pi(a){return a.i!=null?a.m[a.i]:null} function Oi(a){return!(!a.m||!a.m.length)} function vi(a){if(!a.s){a:{var b=a.I,c=Ci;if(c in b.o){if(b.i){if(c==Ci)break a;Di(b);b.i.i.s=!1}b.i=b.o[c];c=b.m;b=b.i;b!=c.u&&(c.u=b,b=b.g.o,c.I?b!=c.I&&c.s.replaceChild(b,c.I):c.s.appendChild(b),c.I=b)}}c=a.I;if(!c.g){b=c.m;var d=Eg(Ii);if(c.i){var e=c.i.i;d.nb=e.B;d.marginWidth=e.J;var f=e.config_.Og;f||(f=e.B=="rtl"?"right":"left");d.Yd=f}Gi(b,d.nb||b.W);e=d.marginWidth;b.X!=e&&(f=b.H.style,e?(f.width=e+"px",f.height="1px"):f.height="",b.X=e);b.ea=d.fg;b.ca=d.Yd;Ei(b.o.m,!0);Fi(b.O,!0);Fi(b.i, !0);Hi(b.F,14);b.zd();c.g=!0}a.s=!0}} function Mi(a){a.s&&(a.A&&(window.clearTimeout(a.A),a.A=null),Di(a.I),a.s=!1)} n.clear=function(){Mi(this);this.m=null;this.F=!1;this.g!=null&&mj(this.o,this.g);this.i=this.g=null;this.o.clear()}; function bi(a){a.g!=null&&mj(a.o,a.g);a.i=a.g=null} function Si(a,b,c){if(Oi(a))vi(a);else{var d=a.u.o;d&&(b=li(a.Y,d,b||a.u.m.s,c),mi(a.D,b))}} function hj(a,b,c){for(var d=0,e=0,f;e=10||b.u.Oc()>=3)&&(f="o"));d[2]=f;f="";if(b=a.o.m){for(var g=e=0,h;h=b[g++];){h=Fg(h.getType(),h.i||[]);if(h!=l){e>1&&(f+="l"+e);f+=(l?"j":"")+h;e=0;var l=h}++e}e>1&&(f+="l"+e)}d[3]=f;l="";f=a.o.m;b=a.i.s;if(f)for(e=0;g=f[e++];){var k=Fg(g.getType(), g.i||[]);k in b&&delete b[k]}if(b)for(k in b)l+=(l?"j":"")+k;d[35]=l;k=a.i.i;d[33]=k>-1?String(k):"";d[4]=Math.max(a.m.H-a.s,0);d[5]=Math.max(a.m.W-a.s,0);d[6]=a.D;d[7]=F()-a.s;d[18]=Math.max(a.m.na-a.s,0);d[8]=a.g.Bb;l=a.g;l=(k=l.i)?l.g.m:0;d[25]=k?"1"+(a.config_.ef?"a":"")+(a.config_.Gd?"c":""):"";d[10]=l;k=a.g;d[11]=k.i?k.g.o:0;d[12]=a.g.na;f=a.g;k=f.ca;l=f.Y;f=f.ea;d[9]=k;d[22]=l;d[17]=f;d[13]=a.g.Ab;d[14]=a.g.H;d[15]=a.g.J;k=a.g;l=[];for(b=e=0;b<=Cj;++b)f=k.I[b],f==0?e++:(e=e==1?"0j":e>1?b+"-": "",l.push(e+f),e=0);d[16]=l.join("j");d[36]=a.g.O;k=0;for(var m in a.i.g)k++;d[30]=k;d[31]=a.i.u;d[32]=a.i.o;d[19]=Bj(a.config_.sd);m=a.i;l=a.B.g;k=!1;l&&(k=l.i.g.e||"");l=0;k?(l|=1,m.m>1&&(l|=2)):m.m>0&&(l|=2);m=l;d[20]=m==0?"":m+"";for(m=0;k=a.F[m++];)l=k.l,Dj[l]&&(d[l]=d[l]==void 0?Bj(k.g()):"");d=d.join(".").replace(Ej,"");if(a.H&&a.u){m=c+d;b:{k=a.u;l=[];if(k)for(e=b=f=0;e127||!Fj[g-32]){k=[];break b}f<<=6;f|=Fj[g-32]-1;b+=6;b>=8&&(l.push(f>>b-8&255), b-=8)}k=l}f=k;k={};k.chain=Array(4);k.buffer=Array(4);k.Xg=Array(4);k.padding=Array(64);k.padding[0]=128;for(l=1;l<64;++l)k.padding[l]=0;Gj(k);l=Array(64);f.length>64&&(Gj(k),Hj(k,f),f=Ij(k));for(b=0;b= 6;)k+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(b>>f-6&63),f-=6;f&&(k+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(b<<8>>f+8-6&63))}m=k}else m="";c={oq:c,gs_l:d+"."+m};a.config_.gg&&(c.q=a.m.g);return c} zj.prototype.reset=function(){this.s=F();++this.D;var a=this.m;a.H=0;a.W=0;a.na=0;this.A.reset();a=this.g;if(a.i){var b=a.g;b.m=0;b.o=0}a.Bb=0;a.s=0;a.na=0;a.ca=0;a.Y=0;a.ea=0;a.Ab=0;a.H=0;a.J=0;a.O=0;a.I=[];for(b=0;b<=Cj;++b)a.I[b]=0;for(a=0;b=this.F[a++];)b.reset();this.i.reset()}; function Bj(a){return a?a.replace(Lj,"-"):""} var Ej=/\.+$/,Lj=/\./g,Dj=qg([23]);function Mj(){this.l=121} y(Mj,L);Mj.prototype.sa=function(a){this.m=a.Pd()}; Mj.prototype.N=function(a){this.g=a.get(347);this.s=a.get(130);this.F=a.get(117);this.A=a.get(123);this.o=a.get(118);this.H=a.get(120);this.I=a.get(128);this.B=a.get(139);this.u=a.s;this.D=Qg(a,294)}; Mj.prototype.P=function(a){this.config_=a}; function ei(a,b,c){if(a.D){for(var d=!1,e=0,f;f=a.D[e++];)f.g(b,c)==2&&(d=!0);if(d)return}if(vg(b)||a.config_.jb||a.s&&a.s.jb()){if(Xf.test(c)){if(a.m&&!a.i){d=a.m;b:{if(e=d.getElementsByTagName("input"))for(var g=0;f=e[g++];)if(f.name=="btnI"&&f.type.toLowerCase()!="submit"){e=f;break b}e=null}e?d=null:(e=M("input"),e.type="hidden",e.name="btnI",e.value="1",d.appendChild(e),d=e);a.i=d}}else a.i&&(a.m.removeChild(a.i),a.i=null);a.g&&a.config_.Lc&&Nj(a.g,c);a.u.xd(c);Oj(a);Hi(a.F,12,{query:b})}} Mj.prototype.redirect=function(a){this.g&&this.config_.Lc&&Nj(this.g);this.u.redirect(a);Oj(this)}; function Oj(a){ni(a.A);a.A.o=null;a.H.reset();a.I.clear();if(a.o.o!=a.o.g){var b=a.o;b.o=b.g}a.B&&a.B.clear()} ;function Pj(){this.l=553} y(Pj,L);Pj.prototype.N=function(a){this.g=Qg(a,156);a.get(126)}; Pj.prototype.ga=function(){this.g.sort(Qj)}; Pj.prototype.P=function(a){this.config_=a;this.i=a.jd}; Pj.prototype.pd=function(a){this.i=a}; function li(a,b,c,d,e){b=new Gg(b,c||rg(b.length),d||"");c=1;if(a.g){d=0;for(var f;f=a.g[d++];)f=f.i(b),f>c&&(c=f)}b.H=c;a.config_.Ic!=null&&Ig(b,"ds",a.config_.Ic,!0);a.config_.Ae!=null&&Ig(b,"swl",a.config_.Ae,!0);Ig(b,"pq",a.i,!0);e&&!b.m&&(b.I=!0);b.m||(b.s=F(),"cp"in b.A||(a=b.J.Mb(),Ig(b,"cp",a,!0)),Ig(b,"gs_id",b.u),b.i=tg(b.A)+":"+b.B,b.m=!0);return b} function Qj(a,b){return a.g()-b.g()} ;function Rj(){this.l=123;this.A=!1;this.F=-1} y(Rj,L);n=Rj.prototype;n.N=function(a){this.g=a.get(133);this.W=a.get(130);this.Dc=a.get(118);this.Ec=a.get(120);this.X=a.get(494);this.Te=a.get(124);this.Cb=a.get(125);this.Db=a.get(230);this.Fc=a.get(127)}; n.P=function(a){this.u=this.Fc.g;this.config_=a;this.A=!0;this.m={};this.D=0;this.Pe=a.pf;this.Qe=a.Uf;this.Xa=-1;this.i=this.config_.enableCaching&&!!this.g}; n.Fa=function(){this.A=!1;Sj(this);this.m=this.o=null;ni(this)}; function mi(a,b){if(!(!a.A||a.Qe||a.W&&a.W.l())){var c=!0,d=Hg(b);d>a.F&&(a.F=d);++a.Bb;a.X.g[b.getId()]=!0;vg(a.Dc.g)||vg(b.g)||(d=a.X,d.i=Math.max(d.i,0));d=F();for(var e in a.m)d-a.m[e].s>2500&&Tj(a,e);a.i&&(e=a.g.get(b))&&((c=a.Pe||b.I)&&a.config_.Vf&&(b.o=!0),a.Cb.process(e),e.o&&++a.na,a.o=null);c&&(a.o=b,a.B||a.ne())}} function ni(a){a.Xa=a.F} function $h(a){if(a.i){a=a.g;for(var b in a.i)for(var c=a.i[b].g,d,e=0;d=c[e++];)if(d.getType()==35){delete a.i[b];break}for(b=0;b2)){var a=this.o;this.o=null;if(a){var b=[],c=a.F;if(c)for(var d in c)sg(d,c[d],b);b=this.u.ze(a,b.join("&"),Uj(this,a),E(this.yd,this));a.o||(++this.ca,b?(this.m[a.getId()]=a,++this.s):++this.Y);a=100;b=(this.s-2)/2;for(c=1;c++<=b;)a*=2;aVj?Cj:Wj[Math.floor(d/100)]]):this.O=d));c&&(b=c.i.g.q||"")&&(this.Ec.u=b)}}}; var Wj=[0,1,2,3,4,5,5,6,6,6,7,7,7,7,7,8,8,8,8,8],Cj=Wj[Wj.length-1]+1,Vj=Wj.length*100-1;function Xj(){this.l=124;this.g={}} y(Xj,L);Xj.prototype.N=function(a){this.i=a.get(150);if(a=Qg(a,158))for(var b,c=0;b=a[c++];)this.g[b.Qh()]=b}; Xj.prototype.P=function(a){this.m=a.Qc};function Yj(){this.l=125} y(Yj,L);Yj.prototype.N=function(a){this.o=a.get(117);this.u=a.get(118);this.s=a.get(494);this.g=Qg(a,122);this.i=a.get(126);this.m=a.get(128);this.g.sort(Zj)}; Yj.prototype.process=function(a){var b=a,c=this.u.g.toLowerCase(),d=this.i.g;c=yg(c);var e=b.l;b=e?e.l:yg(b.l.g.toLowerCase());var f=(d=d?d.l:null)?d.l:"";e=(c.indexOf(b)==0?c.indexOf(f)==0?d&&d.getId()==e.getId()?0:b.length>=f.length?1:-1:1:-1)==1;c=e!=-1;if(e){if(this.g)for(e=0;b=this.g[e++];)a=b.l(a);d=this.i.g=a;a=d.l.g;e=d.g;this.m.isEnabled()&&(b=d.getType()==0,wi(this.m,e,b));b=this.s;var g=d.l;f=g.getId();if(f in b.g){var h=d.g.length;h>0&&(vg(g.g)||(b.i=h),g=g.s,g=F()-g,b.o+=g,++b.u);d.i.g.e&& ++b.m;delete b.g[f]}d=d.g;for(g=0;f=d[g++];)h=f.getType(),b.s[Fg(h,f.i||[])]=!0;Hi(this.o,3,{input:a,Ng:e})}return c}; function Zj(a,b){return a.g()-b.g()} ;function ak(){this.l=126} y(ak,L);ak.prototype.N=function(a){this.i=a.get(123)}; ak.prototype.P=function(){this.g=null};var bk=["expflags","plugin"];function ck(){this.l=127;this.m={}} y(ck,L);ck.prototype.N=function(a){a=Qg(a,149);for(var b,c=0;b=a[c++];)this.m[b.ob()]=b}; ck.prototype.P=function(a){var b="https:"==document.location.protocol,c=[];sg("client",a.clientName,c);sg("hl",a.Vc,c);sg("gl",a.De,c);sg("sugexp",a.sd,c);sg("gs_rn",64,c);sg("gs_ri",a.requestIdentifier,c);var d=ug(a.url||C.location.href);bk.filter(function(e){return d.hasOwnProperty(e)}).forEach(function(e){return c.push(e+"="+d[e])}); a.authuser&&sg("authuser",a.authuser,c);this.i={protocol:"http"+(b?"s":"")+"://",host:a.md||"clients1."+a.dc,wc:a.wc||"/complete/search",Be:c.length?c.join("&"):""};this.g&&this.g.ob()==a.connectionType||(this.g=this.m[a.connectionType])};function dk(){this.l=191} y(dk,L);function Kj(a){for(var b=[],c=0,d=0;d>6|192:(b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}return b} function Gj(a){a.chain[0]=1732584193;a.chain[1]=4023233417;a.chain[2]=2562383102;a.chain[3]=271733878;a.Wb=a.total=0} function Jj(a,b){for(var c=a.Xg,d=0;d<64;d+=4)c[d/4]=b[d]|b[d+1]<<8|b[d+2]<<16|b[d+3]<<24;var e=a.chain[0];b=a.chain[1];d=a.chain[2];for(var f=a.chain[3],g,h,l,k=0;k<64;++k)k<16?(g=f^b&(d^f),h=k):k<32?(g=d^f&(b^d),h=5*k+1&15):k<48?(g=b^d^f,h=3*k+5&15):(g=d^(b|~f),h=7*k&15),l=f,f=d,d=b,e=e+g+ek[k]+c[h]&4294967295,g=fk[k],b=b+((e<>>32-g)&4294967295)&4294967295,e=l;a.chain[0]=a.chain[0]+e&4294967295;a.chain[1]=a.chain[1]+b&4294967295;a.chain[2]=a.chain[2]+d&4294967295;a.chain[3]=a.chain[3]+f&4294967295} function Hj(a,b,c){c||(c=b.length);a.total+=c;for(var d=0;d>>=8;Jj(a,a.buffer);for(e=d=0;e<4;++e)for(c=0;c<32;c+=8)b[d++]=a.chain[e]>>c&255;return b} var Fj=[0,0,0,0,0,0,0,0,0,0,0,0,0,63,0,0,53,54,55,56,57,58,59,60,61,62,0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,0,0,0,0,64,0,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,0,0,0,0,0],fk=[7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21],ek=[3614090360,3905402710,606105819,3250441966,4118548399,1200080426, 2821735955,4249261313,1770035416,2336552879,4294925233,2304563134,1804603682,4254626195,2792965006,1236535329,4129170786,3225465664,643717713,3921069994,3593408605,38016083,3634488961,3889429448,568446438,3275163606,4107603335,1163531501,2850285829,4243563512,1735328473,2368359562,4294588738,2272392833,1839030562,4259657740,2763975236,1272893353,4139469664,3200236656,681279174,3936430074,3572445317,76029189,3654602809,3873151461,530742520,3299628645,4096336452,1126891415,2878612391,4237533241,1700485571, 2399980690,4293915773,2240044497,1873313359,4264355552,2734768916,1309151649,4149444226,3174756917,718787259,3951481745];function gk(){this.l=150} H(gk,L); gk.prototype.bold=function(a,b){b=wg(b.replace(Yf,""));a=wg(yg(a,!0));if(zg(b,a))return a+""+b.substr(a.length)+"";for(var c="",d=[],e=b.length-1,f=0,g=-1,h;h=b.charAt(f);++f)h==" "||h=="\t"?c.length&&(d.push({t:c,Sb:g,e:f+1}),c="",g=-1):(c+=h,g==-1?g=f:f==e&&d.push({t:c,Sb:g,e:f+1}));a=a.split(/\s+/);f={};for(c=0;e=a[c++];)f[e]=1;g=-1;a=[];h=d.length-1;for(c=0;e=d[c];++c)f[e.t]?(e=g==-1,c==h?a.push({Sb:e?c:g,e:c}):e&&(g=c)):g>-1&&(a.push({Sb:g,e:c-1}),g=-1);if(!a.length)return""+b+""; c="";for(f=e=0;g=a[f];++f)(h=d[g.Sb].Sb)&&(c+=""+b.substring(e,h-1)+" "),e=d[g.e].e,c+=b.substring(h,e);e"+b.substring(e)+" ");return c};function hk(){this.l=146} H(hk,L);function ik(a){JSON.parse('"\\u30'+a.split(",").join("\\u30")+'"')} ik("02,0C,0D,01,FB,F2,A1,A3,A5,A7,A9,E3,E5,E7,C3,FC,A2,A4,A6,A8,AA,AB,AD,AF,B1,B3,B5,B7,B9,BB,BD,BF,C1,C4,C6,C8,CA,CB,CC,CD,CE,CF,D2,D5,D8,DB,DE,DF,E0,E1,E2,E4,E6,E8,E9,EA,EB,EC,ED,EF,F3,9B,9C");ik("F4__,AC,AE,B0,B2,B4,B6,B8,BA,BC,BE,C0,C2,C5,C7,C9_____,D0,D3,D6,D9,DC");ik("D1,D4,D7,DA,DD");ik("F4____,AC_,AE_,B0_,B2_,B4_,B6_,B8_,BA_,BC_,BE_,C0_,C2__,C5_,C7_,C9______,D0__,D3__,D6__,D9__,DC");ik("D1__,D4__,D7__,DA__,DD");ik("A6,AB,AD,AF,B1,B3,B5,B7,B9,BB,BD,BF,C1,C4,C6,C8,CF,D2,D5,D8,DB");ik("CF,D2,D5,D8,DB");function jk(){this.l=116;this.ea=!0;this.isDarkTheme=!!document.body.dataset.dt} y(jk,L);n=jk.prototype; n.sa=function(a,b){var c=this.isDarkTheme?"#202124":"#fff",d=this.isDarkTheme?"#3c4043":"#ccc",e=this.isDarkTheme?"#5f6368":"#d9d9d9";this.W=a.jc();b.addRule(".sbdd_a",(th?"margin-top:-1px;":"")+"z-index:989");b.addRule(".sbdd_a[dir=ltr] .fl, .sbdd_a[dir=rtl] .fr","float:left");b.addRule(".sbdd_a[dir=ltr] .fr, .sbdd_a[dir=rtl] .fl","float:right");th?b.addRule(".sbdd_b","background:"+c+";border:1px solid "+(d+";border-top-color:")+(e+";")+b.prefix("border-radius:0 0 3px 3px;")+"cursor:default"):b.addRule(".sbdd_b", "background:"+c+";border:1px solid "+(d+";border-top-color:")+(e+";")+b.prefix("box-shadow:0 2px 4px rgba(0,0,0,0.2);")+"cursor:default");b.addRule(".sbdd_c","border:0;display:block;position:absolute;top:0;z-index:988")}; n.N=function(a){this.J=a.get(130);a.get(115);this.o=a.get(118);this.F=a.get(117);this.Y=a.i.getId()}; n.ga=function(a){this.config_=a}; n.lb=function(a){this.g=N();this.g.className="gstl_"+this.Y+" sbdd_a";Fi(this.g,!1);this.O=this.g;this.H=N("fl");this.g.appendChild(this.H);this.A=N();this.g.appendChild(this.A);this.s=N("sbdd_b");this.A.appendChild(this.s);this.na=N();this.A.appendChild(this.na);this.config_.Ud&&(this.i=M("iframe","gstl_"+this.Y+" sbdd_c"),Fi(this.i,!1),(this.config_.Ha||document.body).appendChild(this.i));if(this.m=this.config_.cf)typeof this.m==="number"&&(this.m+=this.config_.fc[2],this.m-=kk(this)),lk(this,this.g, this.m);mk(this);(a.Ha||document.body).appendChild(this.g);a=this.F;var b=E(this.zd,this);rj(a,a.g,8,b)}; n.P=function(a){this.config_=a;this.g.style.position=a.Kb}; n.getHeight=function(){this.B||(this.B=this.s?Math.max(this.s.offsetHeight,0):0);return this.B}; n.zd=function(){this.B=0;mk(this);if(this.i){var a=this.config_.Bd[0],b=this.i.style;this.config_.Kb!="relative"&&(b.top=this.g.style.top,b.left=this.g.offsetLeft+this.H.offsetWidth+"px");b=this.i;a=this.getHeight()+a;b.style.height=Math.max(a,0)+"px";lk(this,this.i,this.s.offsetWidth)}this.u&&dj(this.u.g)}; function mk(a){var b,c;if(c=a.u)c=a.u.g,c=c.config_.Lf||c.H==c.F?c.Xa:null;var d=(b=c)?b.offsetWidth:nk(a.o.m);var e=a.m;c=kk(a);e?typeof e==="string"&&(e=null):a.X||!a.ea?a.A.style.display="inline-block":(a.A.style.display="",e=d+a.config_.fc[2]-c,lk(a,a.g,e));if(a.config_.Kb!="relative"){var f="rtl"==Ef()!=(a.D=="rtl"),g=a.config_.Ha;var h={Sa:0,Ac:0};if(f||!g||g==document.body||a.config_.Nd)h=Ch(a.o.m.F),b&&(h.Sa=Ch(b).Sa);b=h;h=e;e=a.config_.fc;g=e[1];e=e[0];e=b.Ac+a.o.getHeight()+e;if(a.ca== "right"){h="rtl"==Ef()!=(a.D=="rtl");var l=a.config_.Ha;g=-g;if(h||!l||l==document.body)g+=(Lh(a.g)||window).document.documentElement.clientWidth-d-b.Sa;d=g;h=e;b=void 0}else b=b.Sa+g,a.ca=="center"&&h&&(b+=(d-h)/2),h=e,d=void 0;e={Sa:0,Ac:0};a.config_.Kb=="absolute"&&a.config_.Ha&&a.config_.Ha!=document.body&&(f||a.config_.Nd)&&(e=Ch(a.config_.Ha));g=a.g.style;g.top=h-e.Ac+"px";g.left=g.right="";b!=void 0?g.left=b+c-e.Sa+"px":(b=0,a.config_.Ha&&f&&(b=document.body.clientWidth-(e.Sa+a.config_.Ha.offsetWidth)), g.right=d+c-b+"px")}} function lk(a,b,c){typeof c==="number"?c>0&&(a.config_.Wg?b.style.width=c+"px":b.style.minWidth=c+"px"):b.style.width=c} function Fi(a,b){a&&(a.style.display=b?"":"none")} function Gi(a,b){if(a.D!=b){a.D=b;var c=a.config_.Ha;c&&c!=document.body&&(c.style.textAlign=b=="rtl"?"right":"left");Gh(a.g,b)}} function kk(a){return a.J&&a.J.i()&&(a=a.o.m.B.offsetWidth,typeof a==="number")?a:0} ;function ok(){this.l=119;this.W=!1;this.s=rg(0);this.ca=-1;this.ea=!1;this.isDarkTheme=!!document.body.dataset.dt} y(ok,L);n=ok.prototype; n.sa=function(a,b){var c=this.isDarkTheme?"#202124":"#fff";this.D=a;this.g=a.Pc();vh(this.g,"combobox");wh(this.g,"haspopup",!1);wh(this.g,"autocomplete","list");this.Dc=a.jc();a.Gc()||(b.addRule(".sbib_a","background:"+c+";"+b.prefix("box-sizing:border-box;")),a=sh&&oh||$g?6:5,b.addRule(".sbib_b",b.prefix("box-sizing:border-box;")+"height:100%;overflow:hidden;padding:"+a+"px 9px 0"),b.addRule(".sbib_c[dir=ltr]","float:right"),b.addRule(".sbib_c[dir=rtl]","float:left"),b.addRule(".sbib_d",b.prefix("box-sizing:border-box;")+ "height:100%;unicode-bidi:embed;white-space:nowrap"),b.addRule(".sbib_d[dir=ltr]","float:left"),b.addRule(".sbib_d[dir=rtl]","float:right"),lh&&b.addRule(".sbib_a input::-ms-clear","display: none"),b.addRule(".sbib_a,.sbib_c","vertical-align:top"))}; n.N=function(a){this.i=a.get(118);this.m=a.get(117);this.X=a.get(128);this.I=a.get(173);this.Ab=!!a.get(136);this.Ec=a.i.getId()}; n.ga=function(a){this.config_=a;this.J=a.Nb;this.O=a.cg;this.Fc=a.Hd;this.u=Dh(this.g);this.Cc();var b=this;$g&&rj(this.m,this.g,"beforedeactivate",function(c){b.ea&&(b.ea=!1,c.nc=!0)},10); a=(jc()||I("iPad")||I("iPod"))&&ph;mh&&pk(this);(qh||a)&&qk(this);this.F=this.g}; n.lb=function(a){var b=!!a.hf[130];if(this.Ab||Xi(this.i)||b||a.qf)(this.A=this.D.get("gs_id"))?(b&&(this.B=this.D.get("sb_chc")),this.o=this.D.get("sb_ifc")):(this.A=N("gstl_"+this.Ec+" sbib_a"),a=this.A.style,this.O&&(a.width=this.O+"px"),this.J&&(a.height=this.J+"px"),a=this.g.style,a.border="none",a.padding=nh||$g?"0 1px":"0",a.margin="0",a.height="auto",a.width="100%",this.g.className=this.config_.Uc,b&&(this.B=N("sbib_d"),this.B.id=this.D.getId("sb_chc"),this.A.appendChild(this.B)),Xi(this.i)&& this.I&&(this.I.g.className+=" sbib_c",b=this.I,a=this.Dc,b.s!=a&&(b.g.dir=b.s=a),this.A.appendChild(this.I.g)),this.o=N("sbib_b"),this.o.id=this.D.getId("sb_ifc"),this.A.appendChild(this.o),rk(this,this.A,this.o)),this.config_.od&&this.g&&this.o&&(this.g.removeAttribute("role"),vh(this.o,"combobox"),this.g.removeAttribute("aria-haspopup"),wh(this.o,"haspopup",!0)),this.config_.Ma&&this.g&&(b=this.D.getId("sbsg"),wh(this.g,"controls",b),this.config_.od&&this.o?(wh(this.o,"haspopup","grid"),wh(this.o, "owns",b)):wh(this.g,"haspopup","grid")),this.config_.Kg||this.config_.Ze||sk(this,this.A),this.F=this.A;this.Fc&&(b=E(this.le,this),rj(this.m,this.g,"blur",b,10),b=E(this.te,this),rj(this.m,this.g,"focus",b,10),this.Db=!0);b=this.m;a=E(this.Hf,this);rj(b,b.g,8,a);tk(this)}; n.P=function(a){this.config_=a;this.g.setAttribute("autocomplete","off");this.g.setAttribute("spellcheck",!1);this.g.style.outline=a.he?"":"none";this.Bb=this.g.value;this.Db&&this.te();uk(this)}; n.Fa=function(){this.Db&&this.le();vk(this)}; function rk(a,b,c){vk(a);c||(c=b);a.g.parentNode.replaceChild(b,a.g);c.appendChild(a.g);a.u&&a.config_.Bg&&($g||mh?jd(function(){a.g.focus();Bh(a.g,a.s.Mb())}):a.g.focus()); uk(a)} n.getHeight=function(){var a=this.F?this.F.offsetHeight:0;this.J>a&&(a=this.J);return a}; function nk(a){return a.O?a.O:a.F?a.F.offsetWidth:0} n.select=function(){this.g.select();this.Cc()}; function Wi(a){rh&&(a.g.value="");a.g.value=a.i.g;rh&&(a.g.value=a.g.value);Ui(a)} function wk(a){a.u&&(a.g.blur(),a.u=!1)} n.clear=function(){this.g.value=""}; function Ui(a){if(a.u){var b=a.g.value.length;a.s=rg(b);Bh(a.g,b)}} function sk(a,b){rj(a.m,b,"mouseup",function(){a.g.focus()})} function tk(a){function b(e){rj(a.m,a.g,e,E(a.re,a),10,c)} rj(a.m,a.g,"keydown",E(a.Ff,a));(nh||a.config_.We)&&rj(a.m,a.g,"keypress",E(a.Gf,a));rj(a.m,a.g,"select",E(a.Cc,a),10);var c=!1;b("mousedown");b("keyup");b("keypress");c=!0;b("mouseup");b("keydown");b("focus");b("blur");b("cut");b("paste");b("input");var d=E(a.Cf,a);rj(a.m,a.g,"compositionstart",d);rj(a.m,a.g,"compositionend",d)} n.Cf=function(a){a=a.type;a=="compositionstart"?(a=this.i,a.D!=1&&(a.D=!0)):a=="compositionend"&&(a=this.i,a.D!=0&&(a.D=!1))}; n.Ff=function(a){var b=a.keyCode;this.ca=b;var c=(oh||mh)&&(b==38||b==40)&&Oi(this.X),d=b==13,e=b==27;this.Y=!1;b!=9||a.shiftKey||(this.Y=Ni(this.i));if(d){(b=Pi(this.X))&&b.getType();var f=this;jd(function(){var g=f.X,h=a.shiftKey?4:3;g.i!=null&&Pi(g).getType();g=g.u;ei(g.F,g.g,h)})}if(c||d||e||this.Y)a.nc=!0}; n.Gf=function(a){var b=a.keyCode,c=b==9&&this.Y;if(b==13||b==27||c)a.nc=!0}; n.re=function(a){if(!this.Cb){var b=a.Ub;if(!(b.indexOf("key")||a.ctrlKey||a.altKey||a.shiftKey||a.metaKey))a:if(a=a.keyCode,b!="keypress"){var c=a==38||a==40;if(b=="keydown"){var d=this.i;var e=a==229;(d.O=e)&&d.B.add(4);if(c)break a}else if(d=a!=this.ca,this.ca=-1,!c||d)break a;switch(a){case 27:a=this.i;a.config_.Fg?ei(a.F,a.g,5):(a.i.isVisible()?(c=a.i,ni(c.D),Mi(c)):wk(a.m),ai(a));break;case 37:a=this.i;Yi(a,"rtl");if(Zi(a)&&(c=a.i,c.i!==null&&(a=c.o,(c=xk(a,c.i))&&!(c.length<=1))))for(d=xh(a.u), e=1;e=0);return b} function nj(a,b){if(a.classList)a.classList.add(b);else if(!Ak(a,b)){var c=yk(a);zk(a,c+(c.length>0?" "+b:b))}} function Bk(a,b){a.classList?a.classList.remove(b):Ak(a,b)&&zk(a,Array.prototype.filter.call(a.classList?a.classList:yk(a).match(/\S+/g)||[],function(c){return c!=b}).join(" "))} ;function Ck(){this.l=129;this.J={};this.W=[];this.Y=[];this.ca=[];this.m=[];this.ea=0;this.isDarkTheme=!!document.body.dataset.dt} y(Ck,L);n=Ck.prototype; n.sa=function(a,b){var c=this.isDarkTheme?"#202124":"#fff";this.O=a;this.u=a.Pc();this.H=a.jc();th||b.addRule(".sbsb_a","background:"+c);b.addRule(".sbsb_b","list-style-type:none;margin:0;padding:0");th||b.addRule(".sbsb_c","line-height:22px;overflow:hidden;padding:0 10px");b.addRule(".sbsb_d","background:#eee");b.addRule(".sbsb_e","height:1px;background-color:#e5e5e5");b.addRule("#sbsb_f","font-size:11px;color:#36c;text-decoration:none");b.addRule("#sbsb_f:hover","font-size:11px;color:#36c;text-decoration:underline");b.addRule(".sbsb_g", "text-align:center;padding:8px 0 7px;position:relative");b.addRule(".sbsb_h","font-size:15px;height:28px;margin:0.2em"+(oh?";-webkit-appearance:button":""));b.addRule(".sbsb_i","font-size:13px;color:#36c;text-decoration:none;line-height:100%");b.addRule(".sbsb_i:hover","text-decoration:underline");b.addRule(".sbsb_j","padding-top:1px 0 2px 0;font-size:11px");b.addRule(".sbdd_a[dir=ltr] .sbsb_j","padding-right:4px;text-align:right");b.addRule(".sbdd_a[dir=rtl] .sbsb_j","padding-left:4px;text-align:left"); th&&(b.addRule(".sbsb_c[dir=ltr] .sbsb_k","padding:10px 3px 11px 8px"),b.addRule(".sbsb_c[dir=rtl] .sbsb_k","padding:10px 8px 11px 3px"))}; n.N=function(a){this.D=a.get(128);this.s=a.get(118);this.I=a.get(121);a=Qg(a,152);var b={};if(a)for(var c,d=0;c=a[d++];)b[c.D]=c;this.na=b}; n.ga=function(a){this.config_=a}; n.lb=function(a){this.o=N();a.Ma?(this.g=N("sbsb_b"),vh(this.g,"grid"),this.g.id=this.O.getId("sbsg")):(this.g=M("ul","sbsb_b"),vh(this.g,"listbox"));this.o.appendChild(this.g)}; n.P=function(a){this.config_=a;var b=a.qe;b&&(this.Xa=this.O.Od(b));this.o.className=a.Pg||"sbsb_a";this.X=a.Mg||"sbsb_d"}; function xk(a,b){if(a.config_.Ma&&(a=a.m[b]))return a.g().parentNode.querySelectorAll("[role=gridcell]")} function mj(a,b){(b=a.m[b])&&Bk(b.g().parentNode,a.X)} n.clear=function(){for(var a,b,c;c=this.W.pop();)a=c.getType(),(b=this.J[a])||(b=this.J[a]=[]),b.push(c),a=c.g(),a.parentNode.removeChild(a);for(;a=this.g.firstChild;)a=this.g.removeChild(a),a.l?this.ca.push(a):a!=this.B&&a!=this.A&&this.Y.push(a);this.B&&(this.B.style.display="none");this.A&&(this.A.style.display="none");this.m=[]}; function ej(a,b){var c=b.getType(),d=a.na[c];if(!d)return!1;(c=(c=a.J[c])&&c.pop())||(c=Dk(a,d));d.zb(b,c);a.W.push(c);var e=c.g();if(a.config_.Ma)for(var f=e.querySelectorAll('[role="gridcell"]'),g=0;g0&&(c.style.width=a+"px")}} ;function Fk(){this.l=147} H(Fk,L);Fk.prototype.sa=function(a){this.u=a.Pd()||document.body}; Fk.prototype.ga=function(a){this.config_=a}; Fk.prototype.getHeight=function(){this.g||fj(this);gj(this);this.i||(Fh(this.g,"|"),this.i=this.g.offsetHeight);return this.i}; function fj(a){var b=N(a.config_.Uc),c=b.style;c.background="transparent";c.color="#000";c.padding=0;c.position="absolute";c.whiteSpace="pre";a.g=b;a.g.style.visibility="hidden";a.u.appendChild(a.g)} function gj(a){var b=F();if(!a.o||a.o+3E3g.length)return;g=g.substr(0,f);if(!c)c=g;else if(c!=g)return}this.i[c]=a;++f}}}}}; n.get=function(a){if(this.g){var b=this.i[a.l];if(b){for(var c=a.B,d=a.l,e=b.i,f=this.o||!e.g.k,g=[],h,l,k=b.g,m,p=0;m=k[p++];)l=m.g,h=f?this.m.bold(c,l):wg(l),g.push(new dg(h,l,m.l,m.getType(),m.i||[],m.m));delete this.i[d];return new Jg(a,g,e,!0,b.m,!1)}}return null}; n.reset=function(){this.i={}};function Kk(){this.l=133;this.i={};this.g=[];this.o=this.m=0} y(Kk,L);Kk.prototype.N=function(a){this.g=Qg(a,151);this.g.sort(Lk)}; Kk.prototype.P=function(){this.o=this.m=0}; Kk.prototype.get=function(a){var b=this.i[a.i];if(b)++this.m;else if(this.g)for(var c=0;c=0?"&":"?",c=Aj(this.g.o);var d=this.g;c||(c=Aj(d.o));d=tg(c);return a+b+d}; n.ge=function(a){if(this.o||this.m){if(this.s>22){var b=(this.s-22)/2;a.addRule(".sbsb_c","padding:"+b+"px 24px "+b+"px 10px")}else a.addRule(".sbsb_c","padding:4px 24px 4px 10px");this.J?a.addRule(".sbsb_a","padding: 16px 0 0"):a.addRule(".sbsb_a","padding: 16px 0");a.addRule(".sbdd_b","border-top: 0");a.addRule(".sbib_a","background:transparent");a.addRule(".sbib_b","padding: 0")}b='background: no-repeat url("data:image/svg+xml;base64, '+window.btoa('')+ '");';a.addRule(".sbpqs_a","display: flex; align-items:center; white-space: pre;");a.addRule(".sbpqs_a:before",b);b='background: no-repeat url("data:image/svg+xml;base64,'+window.btoa('\n\n')+ '");';a.addRule(".sbqs_c","display: flex; align-items:center; white-space: pre;");a.addRule(".sbqs_c:before",b);b='background: no-repeat url("data:image/svg+xml;base64, '+window.btoa('')+ '");';a.addRule("html[dark] .sbpqs_a:before",b);b='background: no-repeat url("data:image/svg+xml;base64, '+window.btoa('\n\n')+ '");';a.addRule("html[dark] .sbqs_c:before",b);a.addRule(".sbpqs_a:before",'height: 20px; width: 20px; content: " ";');a.addRule(".sbqs_c:before",'height: 20px; width: 20px; content: " ";');a.addRule(".sbpqs_c","display: flex; align-items:center; margin-left: 34px;");a.addRule(".sbsb_c[dir=rtl] .sbpqs_c","margin-right: 34px;");a.addRule(".sbsb_c","line-height: 32px;");a.addRule(".sbpqs_c","line-height: 32px;");a.addRule(".sbsb_a","padding: 16px 0 8px");a.addRule(".sbfl_a","margin:-5px -18px -9px 0"); a.addRule("."+this.i,"font-size:1.6rem;color:#222");a.addRule(".sbdd_c","z-index:2010");a.addRule(".sbdd_a","z-index:2021");a.addRule(".sbib_a","background:transparent; width: 100%; flex: 1;");a.addRule("ytd-masthead[dark] .gsst_e","filter: invert(100%)");a.addRule(".sbpqs_a","color: #030303");a.addRule(".sbqs_c b","font-weight:500");a.addRule(".sbpqs_a b","font-weight: 500");a.addRule("html[dark] .sbqs_c b","font-weight: 600");a.addRule("html[dark] .sbpqs_a b","font-weight: 600");a.addRule(".sbsb_c[dir=ltr]", "padding: 0px 24px 0px 16px;");a.addRule(".sbsb_c[dir=rtl]","padding: 0px 16px 0px 24px;");a.addRule(".sbdd_b","border-radius: 12px;");a.addRule(".sbsb_a","border-radius: 12px;");a.addRule(".sbsb_c[dir=ltr] .sbpqs_a:before","margin-right: 14px;");a.addRule(".sbsb_c[dir=ltr] .sbqs_c:before","margin-right: 14px;");a.addRule(".sbsb_c[dir=rtl] .sbpqs_a:before","margin-left: 14px;");a.addRule(".sbsb_c[dir=rtl] .sbqs_c:before","margin-left: 14px;");a.addRule(".sbfl_a","margin:-5px -10px -9px 0");this.H&& (a.addRule(".sbsb_c","padding:0px 12px 0px 16px"),a.addRule(".sbpqs_b","display: flex; align-items: center; height: 32px;"));this.F&&(a.addRule(".sbpqs_b","display: none"),a.addRule(".sbsb_d .sbpqs_b","display: flex; align-items: center; height: 32px;"));a.addRule("html[dark] .sbsb_a","background: var(--yt-spec-raised-background);");a.addRule("html[dark] .sbdd_b","border: none; background: none; box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.15);");a.addRule("html[dark] .sbsb_i","color: var(--yt-spec-call-to-action)"); a.addRule("html[dark] .sbsb_d","background: var(--yt-spec-additive-background);");a.addRule(".sbfl_b","background: none; color: var(--yt-spec-text-secondary);");a.addRule("html[dark] .sbfl_a:hover","color: var(--yt-spec-text-primary);");a.addRule("html[dark] .sbpqs_a","color: var(--yt-spec-text-primary);");a.addRule("html[dark] .sbqs_c","color: var(--yt-spec-text-primary);");a.addRule("html[dark] .sbse","color: var(--yt-spec-text-primary);")}; n.install=function(a,b,c,d,e,f,g){this.l=a;this.I=f;g&&(this.u=g);f=el().sf();f.clientName="youtube";f.requestIdentifier="youtube";f.Ic="yt";f.Vc=d.REQUEST_LANGUAGE;f.De=d.REQUEST_DOMAIN;f.Jf=!1;f.zc=0;f.fe=!1;f.ic=!1;f.he=!1;f.Qc=!0;f.Uc=this.D;f.yc=this.i;f.Nc=this.B;f.Mc=this.A;f.Xh=!0;f.lc=d.HAS_ON_SCREEN_KEYBOARD;f.pc=d.REQUEST_LANGUAGE;f.je="//www.gstatic.com/inputtools/images";f.ke="youtube";f.Lc=!0;f.Kb="fixed";this.o=d.IS_POLYMER;this.m=d.IS_FUSION;this.J=d.SEARCHBOX_REPORTING;this.s=d.SEARCHBOX_TAP_TARGET_EXPERIMENT; this.H=d.ENABLE_DELETE_ICON;this.F=d.ENABLE_DELETE_ICON_HOVER;f.md="suggestqueries-clients6.youtube.com";d.PQ&&(f.jd=d.PQ);f.ud=d.PSUGGEST_TOKEN;f.authuser=d.SESSION_INDEX;f.kd=e.SUGGESTION_DISMISSED_LABEL;f.ld=e.SUGGESTION_DISMISS_LABEL;f.qd=!d.HIDE_REMOVE_LINK;f.si=qg([0,33,35]);this.o?(f.Lb="search-container",f.Nb=24):this.m?(f.Lb="masthead-search",f.Nb=24):(f.Lb="masthead-search-terms",f.Nb=30);bc()||(f.Ud=!0);f.qe=f.Lb;e=this.l.offsetHeight;f.fc=[e+(56-e)/2-40+4,0,0];e=[0];cc()&&hc()=="8.0"&& (e[0]=-1);f.Bd=e;(e=d.REQUEST_LANGUAGE)?(e=e.toLowerCase(),e=e=="zh-tw"||e=="zh-cn"||e=="ja"||e=="ko"):e=!1;e&&(f.Hd=!0);if(e=d.SUGG_EXP_ID)f.sd=e;d.SEND_VISITOR_DATA&&(f.connectionType=1);d.SEND_VISITOR_DATA&&"VISITOR_DATA"in d&&(f.visitorData=d.VISITOR_DATA);if(this.g){a=this.g;b=f;c=Lh(a.i);d=a.B;c.removeEventListener?c.removeEventListener("resize",d,!1):c.detachEvent("onresize",d);Pg(a.g);b=hl(b);a.A=b.jb;a=a.g;Pg(a);for(c=0;d=a.g[c++];)d.P(b);a.l=!0}else d=new dl(d),this.g=new gl(b,a,this,d), this.g.install(f),c&&(kl(this.g,c),c.onclick=null)};function ml(){this.data=[];this.g=-1} ml.prototype.set=function(a,b){b=b===void 0?!0:b;0<=a&&a<52&&Number.isInteger(a)&&this.data[a]!==b&&(this.data[a]=b,this.g=-1)}; ml.prototype.get=function(a){return!!this.data[a]}; function nl(a){a.g===-1&&(a.g=a.data.reduce(function(b,c,d){return b+(c?Math.pow(2,d):0)},0)); return a.g} ;function ol(){this.blockSize=-1} ;function pl(){this.blockSize=-1;this.blockSize=64;this.g=[];this.o=[];this.s=[];this.i=[];this.i[0]=128;for(var a=1;a>>31)&4294967295}b=a.g[0];c=a.g[1];var g=a.g[2],h=a.g[3],l=a.g[4];for(e=0;e<80;e++){if(e<40)if(e<20){f=h^c&(g^h);var k=1518500249}else f=c^g^h,k=1859775393;else e<60?(f=c&g|h&(c|g),k=2400959708): (f=c^g^h,k=3395469782);f=(b<<5|b>>>27)+f+l+k+d[e]&4294967295;l=h;h=g;g=(c<<30|c>>>2)&4294967295;c=b;b=f}a.g[0]=a.g[0]+b&4294967295;a.g[1]=a.g[1]+c&4294967295;a.g[2]=a.g[2]+g&4294967295;a.g[3]=a.g[3]+h&4294967295;a.g[4]=a.g[4]+l&4294967295} pl.prototype.update=function(a,b){if(a!=null){b===void 0&&(b=a.length);for(var c=b-this.blockSize,d=0,e=this.o,f=this.l;d=56;c--)this.o[c]=b&255,b/=256;ql(this,this.o);for(c=b=0;c<5;c++)for(var d=24;d>=0;d-=8)a[b]=this.g[c]>>d&255,++b;return a};function rl(){} rl.prototype.next=function(){return sl}; var sl={done:!0,value:void 0};rl.prototype.ib=function(){return this};function tl(a){if(a instanceof ul||a instanceof vl||a instanceof wl)return a;if(typeof a.next=="function")return new ul(function(){return a}); if(typeof a[Symbol.iterator]=="function")return new ul(function(){return a[Symbol.iterator]()}); if(typeof a.ib=="function")return new ul(function(){return a.ib()}); throw Error("Not an iterator or iterable.");} function ul(a){this.g=a} ul.prototype.ib=function(){return new vl(this.g())}; ul.prototype[Symbol.iterator]=function(){return new wl(this.g())}; ul.prototype.l=function(){return new wl(this.g())}; function vl(a){this.g=a} y(vl,rl);vl.prototype.next=function(){return this.g.next()}; vl.prototype[Symbol.iterator]=function(){return new wl(this.g)}; vl.prototype.l=function(){return new wl(this.g)}; function wl(a){ul.call(this,function(){return a}); this.i=a} y(wl,ul);wl.prototype.next=function(){return this.i.next()};function xl(a){var b=[];yl(new zl,a,b);return b.join("")} function zl(){} function yl(a,b,c){if(b==null)c.push("null");else{if(typeof b=="object"){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f0&&this.o==0)for(;c=this.i.pop();)this.Bc(c)}}return e!=0}return!1}; function El(a,b,c){td(function(){a.apply(b,c)})} n.clear=function(a){if(a){var b=this.l[a];b&&(b.forEach(this.Bc,this),delete this.l[a])}else this.g.length=0,this.l={}}; n.Ba=function(){P.Ea.Ba.call(this);this.clear();this.i.length=0};function Fl(a){this.g=a} Fl.prototype.set=function(a,b){b===void 0?this.g.remove(a):this.g.set(a,xl(b))}; Fl.prototype.get=function(a){try{var b=this.g.get(a)}catch(c){return}if(b!==null)try{return JSON.parse(b)}catch(c){throw"Storage: Invalid value was encountered";}}; Fl.prototype.remove=function(a){this.g.remove(a)};function Gl(a){this.g=a} H(Gl,Fl);function Hl(a){this.data=a} function Il(a){return a===void 0||a instanceof Hl?a:new Hl(a)} Gl.prototype.set=function(a,b){Gl.Ea.set.call(this,a,Il(b))}; Gl.prototype.l=function(a){a=Gl.Ea.get.call(this,a);if(a===void 0||a instanceof Object)return a;throw"Storage: Invalid value was encountered";}; Gl.prototype.get=function(a){if(a=this.l(a)){if(a=a.data,a===void 0)throw"Storage: Invalid value was encountered";}else a=void 0;return a};function Jl(a){this.g=a} H(Jl,Gl);Jl.prototype.set=function(a,b,c){if(b=Il(b)){if(c){if(cF())Jl.prototype.remove.call(this,a);else return b}};function Kl(){} ;function Ll(){} H(Ll,Kl);Ll.prototype[Symbol.iterator]=function(){return tl(this.ib(!0)).l()}; Ll.prototype.clear=function(){var a=Array.from(this);a=w(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};function Ml(a){this.g=a;this.l=null} H(Ml,Ll);n=Ml.prototype;n.set=function(a,b){Nl(this);try{this.g.setItem(a,b)}catch(c){if(this.g.length==0)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}}; n.get=function(a){Nl(this);a=this.g.getItem(a);if(typeof a!=="string"&&a!==null)throw"Storage mechanism: Invalid value was encountered";return a}; n.remove=function(a){Nl(this);this.g.removeItem(a)}; n.ib=function(a){Nl(this);var b=0,c=this.g,d=new rl;d.next=function(){if(b>=c.length)return sl;var e=c.key(b++);if(a)return{value:e,done:!1};e=c.getItem(e);if(typeof e!=="string")throw"Storage mechanism: Invalid value was encountered";return{value:e,done:!1}}; return d}; n.clear=function(){Nl(this);this.g.clear()}; n.key=function(a){Nl(this);return this.g.key(a)}; function Nl(a){if(a.g==null)throw Error("Storage mechanism: Storage unavailable");var b;((b=a.l)!=null?b:a.l=Ol(a.g))||md(Error("Storage mechanism: Storage unavailable"))} function Ol(a){if(!a)return!1;try{return a.setItem("__sak","1"),a.removeItem("__sak"),!0}catch(b){return b instanceof DOMException&&(b.name==="QuotaExceededError"||b.code===22||b.code===1014||b.name==="NS_ERROR_DOM_QUOTA_REACHED")&&a&&a.length!==0}} ;function Pl(){var a=null;try{a=C.localStorage||null}catch(b){}Ml.call(this,a)} H(Pl,Ml);function Ql(a,b){this.l=a;this.g=b+"::"} H(Ql,Ll);Ql.prototype.set=function(a,b){this.l.set(this.g+a,b)}; Ql.prototype.get=function(a){return this.l.get(this.g+a)}; Ql.prototype.remove=function(a){this.l.remove(this.g+a)}; Ql.prototype.ib=function(a){var b=this.l[Symbol.iterator](),c=this,d=new rl;d.next=function(){var e=b.next();if(e.done)return e;for(e=e.value;e.slice(0,c.g.length)!=c.g;){e=b.next();if(e.done)return e;e=e.value}return{value:a?e.slice(c.g.length):c.l.get(e),done:!1}}; return d};/* (The MIT License) Copyright (C) 2014 by Vitaly Puzrin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ----------------------------------------------------------------------------- Ported from zlib, which is under the following license https://github.com/madler/zlib/blob/master/zlib.h zlib.h -- interface of the 'zlib' general purpose compression library version 1.2.8, April 28th, 2013 Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. Jean-loup Gailly Mark Adler jloup@gzip.org madler@alumni.caltech.edu The data format used by the zlib library is described by RFCs (Request for Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format). */ var Q={},Rl=typeof Uint8Array!=="undefined"&&typeof Uint16Array!=="undefined"&&typeof Int32Array!=="undefined";Q.assign=function(a){for(var b=Array.prototype.slice.call(arguments,1);b.length;){var c=b.shift();if(c){if(typeof c!=="object")throw new TypeError(c+"must be non-object");for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}}return a}; Q.rd=function(a,b){if(a.length===b)return a;if(a.subarray)return a.subarray(0,b);a.length=b;return a}; var Sl={kb:function(a,b,c,d,e){if(b.subarray&&a.subarray)a.set(b.subarray(c,c+d),e);else for(var f=0;f>>6:(f<65536?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 Wl={};Wl=function(a,b,c,d){var e=a&65535|0;a=a>>>16&65535|0;for(var f;c!==0;){f=c>2E3?2E3:c;c-=f;do e=e+b[d++]|0,a=a+e|0;while(--f);e%=65521;a%=65521}return e|a<<16|0};for(var Xl={},Yl,Zl=[],$l=0;$l<256;$l++){Yl=$l;for(var am=0;am<8;am++)Yl=Yl&1?3988292384^Yl>>>1:Yl>>>1;Zl[$l]=Yl}Xl=function(a,b,c,d){c=d+c;for(a^=-1;d>>8^Zl[(a^b[d])&255];return a^-1};var bm={};bm={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 cm(a){for(var b=a.length;--b>=0;)a[b]=0} var dm=[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],em=[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],fm=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],gm=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],hm=Array(576);cm(hm);var im=Array(60);cm(im);var jm=Array(512);cm(jm);var km=Array(256);cm(km);var lm=Array(29);cm(lm);var mm=Array(30);cm(mm);function nm(a,b,c,d,e){this.Ce=a;this.mf=b;this.lf=c;this.df=d;this.qg=e;this.Wd=a&&a.length} var om,pm,qm;function rm(a,b){this.Fd=a;this.ub=0;this.Ta=b} function sm(a,b){a.ba[a.pending++]=b&255;a.ba[a.pending++]=b>>>8&255} function tm(a,b,c){a.ha>16-c?(a.pa|=b<>16-a.ha,a.ha+=c-16):(a.pa|=b<>>=1,c<<=1;while(--b>0);return c>>>1} function wm(a,b,c){var d=Array(16),e=0,f;for(f=1;f<=15;f++)d[f]=e=e+c[f-1]<<1;for(c=0;c<=b;c++)e=a[c*2+1],e!==0&&(a[c*2]=vm(d[e]++,e))} function xm(a){var b;for(b=0;b<286;b++)a.ta[b*2]=0;for(b=0;b<30;b++)a.ab[b*2]=0;for(b=0;b<19;b++)a.ka[b*2]=0;a.ta[512]=1;a.Qa=a.xb=0;a.za=a.matches=0} function ym(a){a.ha>8?sm(a,a.pa):a.ha>0&&(a.ba[a.pending++]=a.pa);a.pa=0;a.ha=0} function zm(a,b,c){ym(a);sm(a,c);sm(a,~c);Q.kb(a.ba,a.window,b,c,a.pending);a.pending+=c} function Am(a,b,c,d){var e=b*2,f=c*2;return a[e]>>7)];um(a,g,c);h=em[g];h!==0&&(e-=mm[g],tm(a,e,h))}}while(d>1;g>=1;g--)Bm(a,c,g);l=f;do g=a.da[1],a.da[1]=a.da[a.Pa--],Bm(a,c,1),d=a.da[1],a.da[--a.qb]=g,a.da[--a.qb]=d,c[l*2]=c[g*2]+c[d*2],a.depth[l]=(a.depth[g]>=a.depth[d]?a.depth[g]:a.depth[d])+1,c[g*2+1]=c[d*2+1]=l,a.da[1]=l++,Bm(a,c,1);while(a.Pa>= 2);a.da[--a.qb]=a.da[1];g=b.Fd;l=b.ub;d=b.Ta.Ce;e=b.Ta.Wd;f=b.Ta.mf;var k=b.Ta.lf,m=b.Ta.qg,p,r=0;for(p=0;p<=15;p++)a.La[p]=0;g[a.da[a.qb]*2+1]=0;for(b=a.qb+1;b<573;b++){var q=a.da[b];p=g[g[q*2+1]*2+1]+1;p>m&&(p=m,r++);g[q*2+1]=p;if(!(q>l)){a.La[p]++;var t=0;q>=k&&(t=f[q-k]);var u=g[q*2];a.Qa+=u*(p+t);e&&(a.xb+=u*(d[q*2+1]+t))}}if(r!==0){do{for(p=m-1;a.La[p]===0;)p--;a.La[p]--;a.La[p+1]+=2;a.La[m]--;r-=2}while(r>0);for(p=m;p!==0;p--)for(q=a.La[p];q!==0;)d=a.da[--b],d>l||(g[d*2+1]!==p&&(a.Qa+=(p-g[d* 2+1])*g[d*2],g[d*2+1]=p),q--)}wm(c,h,a.La)} function Em(a,b,c){var d,e=-1,f=b[1],g=0,h=7,l=4;f===0&&(h=138,l=3);b[(c+1)*2+1]=65535;for(d=0;d<=c;d++){var k=f;f=b[(d+1)*2+1];++g>>=1)if(b&1&&a.ta[c*2]!==0)return 0;if(a.ta[18]!==0||a.ta[20]!==0||a.ta[26]!==0)return 1;for(c=32;c<256;c++)if(a.ta[c*2]!==0)return 1;return 0} var Hm=!1;function Im(a,b,c){a.ba[a.Hb+a.za*2]=b>>>8&255;a.ba[a.Hb+a.za*2+1]=b&255;a.ba[a.Xc+a.za]=c&255;a.za++;b===0?a.ta[c*2]++:(a.matches++,b--,a.ta[(km[c]+256+1)*2]++,a.ab[(b<256?jm[b]:jm[256+(b>>>7)])*2]++);return a.za===a.Pb-1} ;function Jm(a,b){a.msg=bm[b];return b} function Km(a){for(var b=a.length;--b>=0;)a[b]=0} function Lm(a){var b=a.state,c=b.pending;c>a.T&&(c=a.T);c!==0&&(Q.kb(a.output,b.ba,b.Qb,c,a.vb),a.vb+=c,b.Qb+=c,a.td+=c,a.T-=c,b.pending-=c,b.pending===0&&(b.Qb=0))} function Mm(a,b){var c=a.va>=0?a.va:-1,d=a.C-a.va,e=0;if(a.level>0){a.R.Jc===2&&(a.R.Jc=Gm(a));Dm(a,a.oc);Dm(a,a.ec);Em(a,a.ta,a.oc.ub);Em(a,a.ab,a.ec.ub);Dm(a,a.Cd);for(e=18;e>=3&&a.ka[gm[e]*2+1]===0;e--);a.Qa+=3*(e+1)+14;var f=a.Qa+3+7>>>3;var g=a.xb+3+7>>>3;g<=f&&(f=g)}else f=g=d+5;if(d+4<=f&&c!==-1)tm(a,b?1:0,3),zm(a,c,d);else if(a.strategy===4||g===f)tm(a,2+(b?1:0),3),Cm(a,hm,im);else{tm(a,4+(b?1:0),3);c=a.oc.ub+1;d=a.ec.ub+1;e+=1;tm(a,c-257,5);tm(a,d-1,5);tm(a,e-4,4);for(f=0;f>>8&255;a.ba[a.pending++]=b&255} function Om(a,b){var c=a.ee,d=a.C,e=a.wa,f=a.ie,g=a.C>a.ma-262?a.C-(a.ma-262):0,h=a.window,l=a.Va,k=a.Ia,m=a.C+258,p=h[d+e-1],r=h[d+e];a.wa>=a.Td&&(c>>=2);f>a.G&&(f=a.G);do{var q=b;if(h[q+e]===r&&h[q+e-1]===p&&h[q]===h[d]&&h[++q]===h[d+1]){d+=2;for(q++;h[++d]===h[++q]&&h[++d]===h[++q]&&h[++d]===h[++q]&&h[++d]===h[++q]&&h[++d]===h[++q]&&h[++d]===h[++q]&&h[++d]===h[++q]&&h[++d]===h[++q]&&de){a.tb=b;e=q;if(q>=f)break;p=h[d+e-1];r=h[d+e]}}}while((b=k[b&l])>g&&--c!==0);return e<= a.G?e:a.G} function Pm(a){var b=a.ma,c;do{var d=a.Je-a.G-a.C;if(a.C>=b+(b-262)){Q.kb(a.window,a.window,b,b,0);a.tb-=b;a.C-=b;a.va-=b;var e=c=a.mc;do{var f=a.head[--e];a.head[e]=f>=b?f-b:0}while(--c);e=c=b;do f=a.Ia[--e],a.Ia[e]=f>=b?f-b:0;while(--c);d+=b}if(a.R.oa===0)break;e=a.R;c=a.window;f=a.C+a.G;var g=e.oa;g>d&&(g=d);g===0?c=0:(e.oa-=g,Q.kb(c,e.input,e.fb,g,f),e.state.wrap===1?e.L=Wl(e.L,c,g,f):e.state.wrap===2&&(e.L=Xl(e.L,c,g,f)),e.fb+=g,e.gb+=g,c=g);a.G+=c;if(a.G+a.la>=3)for(d=a.C-a.la,a.S=a.window[d], a.S=(a.S<=3&&(a.S=(a.S<=3)if(c=Im(a,a.C-a.tb,a.V-3),a.G-=a.V,a.V<=a.ad&&a.G>=3){a.V--;do a.C++,a.S=(a.S<=3&&(a.S=(a.S<4096)&&(a.V=2));if(a.wa>=3&&a.V<=a.wa){d=a.C+a.G-3;c=Im(a,a.C-1-a.me,a.wa-3);a.G-=a.wa-1;a.wa-=2;do++a.C<=d&&(a.S=(a.S<=3&&a.C>0&&(d=a.C-1,c=f[d],c===f[++d]&&c===f[++d]&&c===f[++d])){for(e=a.C+258;c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&da.G&&(a.V=a.G)}a.V>=3?(c=Im(a,1,a.V-3),a.G-=a.V,a.C+=a.V,a.V=0):(c=Im(a,0,a.window[a.C]),a.G--,a.C++);if(c&&(Mm(a,!1),a.R.T===0))return 1}a.la=0;return b===4?(Mm(a,!0),a.R.T===0?3:4): a.za&&(Mm(a,!1),a.R.T===0)?1:2} function Tm(a,b){for(var c;;){if(a.G===0&&(Pm(a),a.G===0)){if(b===0)return 1;break}a.V=0;c=Im(a,0,a.window[a.C]);a.G--;a.C++;if(c&&(Mm(a,!1),a.R.T===0))return 1}a.la=0;return b===4?(Mm(a,!0),a.R.T===0?3:4):a.za&&(Mm(a,!1),a.R.T===0)?1:2} function Um(a,b,c,d,e){this.wf=a;this.pg=b;this.sg=c;this.og=d;this.rf=e} var Vm;Vm=[new Um(0,0,0,0,function(a,b){var c=65535;for(c>a.Aa-5&&(c=a.Aa-5);;){if(a.G<=1){Pm(a);if(a.G===0&&b===0)return 1;if(a.G===0)break}a.C+=a.G;a.G=0;var d=a.va+c;if(a.C===0||a.C>=d)if(a.G=a.C-d,a.C=d,Mm(a,!1),a.R.T===0)return 1;if(a.C-a.va>=a.ma-262&&(Mm(a,!1),a.R.T===0))return 1}a.la=0;if(b===4)return Mm(a,!0),a.R.T===0?3:4;a.C>a.va&&Mm(a,!1);return 1}), new Um(4,4,8,4,Qm),new Um(4,5,16,8,Qm),new Um(4,6,32,32,Qm),new Um(4,4,16,16,Rm),new Um(8,16,32,32,Rm),new Um(8,16,128,128,Rm),new Um(8,32,128,256,Rm),new Um(32,128,258,1024,Rm),new Um(32,258,258,4096,Rm)]; function Wm(){this.R=null;this.status=0;this.ba=null;this.wrap=this.pending=this.Qb=this.Aa=0;this.K=null;this.Ca=0;this.method=8;this.rb=-1;this.Va=this.vd=this.ma=0;this.window=null;this.Je=0;this.head=this.Ia=null;this.ie=this.Td=this.strategy=this.level=this.ad=this.ee=this.wa=this.G=this.tb=this.C=this.cb=this.me=this.V=this.va=this.Oa=this.Na=this.Sc=this.mc=this.S=0;this.ta=new Q.Ja(1146);this.ab=new Q.Ja(122);this.ka=new Q.Ja(78);Km(this.ta);Km(this.ab);Km(this.ka);this.Cd=this.ec=this.oc= null;this.La=new Q.Ja(16);this.da=new Q.Ja(573);Km(this.da);this.qb=this.Pa=0;this.depth=new Q.Ja(573);Km(this.depth);this.ha=this.pa=this.la=this.matches=this.xb=this.Qa=this.Hb=this.za=this.Pb=this.Xc=0} function Xm(a,b){if(!a||!a.state||b>5||b<0)return a?Jm(a,-2):-2;var c=a.state;if(!a.output||!a.input&&a.oa!==0||c.status===666&&b!==4)return Jm(a,a.T===0?-5:-2);c.R=a;var d=c.rb;c.rb=b;if(c.status===42)if(c.wrap===2)a.L=0,R(c,31),R(c,139),R(c,8),c.K?(R(c,(c.K.text?1:0)+(c.K.Ra?2:0)+(c.K.extra?4:0)+(c.K.name?8:0)+(c.K.comment?16:0)),R(c,c.K.time&255),R(c,c.K.time>>8&255),R(c,c.K.time>>16&255),R(c,c.K.time>>24&255),R(c,c.level===9?2:c.strategy>=2||c.level<2?4:0),R(c,c.K.di&255),c.K.extra&&c.K.extra.length&& (R(c,c.K.extra.length&255),R(c,c.K.extra.length>>8&255)),c.K.Ra&&(a.L=Xl(a.L,c.ba,c.pending,0)),c.Ca=0,c.status=69):(R(c,0),R(c,0),R(c,0),R(c,0),R(c,0),R(c,c.level===9?2:c.strategy>=2||c.level<2?4:0),R(c,3),c.status=113);else{var e=8+(c.vd-8<<4)<<8;e|=(c.strategy>=2||c.level<2?0:c.level<6?1:c.level===6?2:3)<<6;c.C!==0&&(e|=32);c.status=113;Nm(c,e+(31-e%31));c.C!==0&&(Nm(c,a.L>>>16),Nm(c,a.L&65535));a.L=1}if(c.status===69)if(c.K.extra){for(e=c.pending;c.Ca<(c.K.extra.length&65535)&&(c.pending!==c.Aa|| (c.K.Ra&&c.pending>e&&(a.L=Xl(a.L,c.ba,c.pending-e,e)),Lm(a),e=c.pending,c.pending!==c.Aa));)R(c,c.K.extra[c.Ca]&255),c.Ca++;c.K.Ra&&c.pending>e&&(a.L=Xl(a.L,c.ba,c.pending-e,e));c.Ca===c.K.extra.length&&(c.Ca=0,c.status=73)}else c.status=73;if(c.status===73)if(c.K.name){e=c.pending;do{if(c.pending===c.Aa&&(c.K.Ra&&c.pending>e&&(a.L=Xl(a.L,c.ba,c.pending-e,e)),Lm(a),e=c.pending,c.pending===c.Aa)){var f=1;break}f=c.Ca e&&(a.L=Xl(a.L,c.ba,c.pending-e,e));f===0&&(c.Ca=0,c.status=91)}else c.status=91;if(c.status===91)if(c.K.comment){e=c.pending;do{if(c.pending===c.Aa&&(c.K.Ra&&c.pending>e&&(a.L=Xl(a.L,c.ba,c.pending-e,e)),Lm(a),e=c.pending,c.pending===c.Aa)){f=1;break}f=c.Cae&&(a.L=Xl(a.L,c.ba,c.pending-e,e));f===0&&(c.status=103)}else c.status=103;c.status===103&&(c.K.Ra?(c.pending+2>c.Aa&&Lm(a),c.pending+2<=c.Aa&&(R(c, a.L&255),R(c,a.L>>8&255),a.L=0,c.status=113)):c.status=113);if(c.pending!==0){if(Lm(a),a.T===0)return c.rb=-1,0}else if(a.oa===0&&(b<<1)-(b>4?9:0)<=(d<<1)-(d>4?9:0)&&b!==4)return Jm(a,-5);if(c.status===666&&a.oa!==0)return Jm(a,-5);if(a.oa!==0||c.G!==0||b!==0&&c.status!==666){d=c.strategy===2?Tm(c,b):c.strategy===3?Sm(c,b):Vm[c.level].rf(c,b);if(d===3||d===4)c.status=666;if(d===1||d===3)return a.T===0&&(c.rb=-1),0;if(d===2&&(b===1?(tm(c,2,3),um(c,256,hm),c.ha===16?(sm(c,c.pa),c.pa=0,c.ha=0):c.ha>= 8&&(c.ba[c.pending++]=c.pa&255,c.pa>>=8,c.ha-=8)):b!==5&&(tm(c,0,3),zm(c,0,0),b===3&&(Km(c.head),c.G===0&&(c.C=0,c.va=0,c.la=0))),Lm(a),a.T===0))return c.rb=-1,0}if(b!==4)return 0;if(c.wrap<=0)return 1;c.wrap===2?(R(c,a.L&255),R(c,a.L>>8&255),R(c,a.L>>16&255),R(c,a.L>>24&255),R(c,a.gb&255),R(c,a.gb>>8&255),R(c,a.gb>>16&255),R(c,a.gb>>24&255)):(Nm(c,a.L>>>16),Nm(c,a.L&65535));Lm(a);c.wrap>0&&(c.wrap=-c.wrap);return c.pending!==0?0:1} ;var Ym={};Ym=function(){this.input=null;this.gb=this.oa=this.fb=0;this.output=null;this.td=this.T=this.vb=0;this.msg="";this.state=null;this.Jc=2;this.L=0};var Zm=Object.prototype.toString; function $m(a){if(!(this instanceof $m))return new $m(a);a=this.options=Q.assign({level:-1,method:8,chunkSize:16384,Wa:15,rg:8,strategy:0,Ua:""},a||{});a.raw&&a.Wa>0?a.Wa=-a.Wa:a.xf&&a.Wa>0&&a.Wa<16&&(a.Wa+=16);this.err=0;this.msg="";this.ended=!1;this.chunks=[];this.R=new Ym;this.R.T=0;var b=this.R;var c=a.level,d=a.method,e=a.Wa,f=a.rg,g=a.strategy;if(b){var h=1;c===-1&&(c=6);e<0?(h=0,e=-e):e>15&&(h=2,e-=16);if(f<1||f>9||d!==8||e<8||e>15||c<0||c>9||g<0||g>4)b=Jm(b,-2);else{e===8&&(e=9);var l=new Wm; b.state=l;l.R=b;l.wrap=h;l.K=null;l.vd=e;l.ma=1<>=7;f<30;f++)for(mm[f]=g<<7,e=0;e<1<=k.ma&&(b===0&&(Km(k.head),k.C=0,k.va=0,k.la=0),c=new Q.hb(k.ma),Q.kb(c,f,g-k.ma,k.ma,0),f=c,g=k.ma);c=a.oa;d=a.fb;e=a.input;a.oa=g;a.fb=0;a.input=f;for(Pm(k);k.G>=3;){f=k.C;g=k.G-2;do k.S=(k.S<0||c.T===0)&&a!==1);if(e===4)return(c=this.R)&&c.state?(d=c.state.status,d!==42&&d!==69&&d!==73&&d!==91&&d!==103&&d!==113&&d!==666?a=Jm(c,-2):(c.state=null,a=d===113?Jm(c,-3):0)):a=-2,an(this,a),this.ended=!0,a===0;e===2&&(an(this,0),c.T=0);return!0}; function an(a,b){b===0&&(a.result=a.options.Ua==="string"?a.chunks.join(""):Q.Md(a.chunks));a.chunks=[];a.err=b;a.msg=a.R.msg} ;function bn(a){this.name=a} ;var cn=new bn("rawColdConfigGroup");var dn=new bn("rawHotConfigGroup");function en(a){this.U=Re(a)} y(en,uf);en.prototype.g=function(a){J(this,5,a)};function fn(a){this.U=Re(a)} y(fn,uf);function gn(a){this.U=Re(a)} y(gn,uf);function hn(a){this.U=Re(a)} y(hn,uf);hn.prototype.ob=function(){return pf(this,61)}; hn.prototype.getPlayerType=function(){return pf(this,36)}; hn.prototype.setHomeGroupInfo=function(a){return lf(this,gn,81,a)};function jn(a){this.U=Re(a)} y(jn,uf);var kn=[2,3,4,5,6];function ln(a){this.U=Re(a)} y(ln,uf);function mn(a){this.U=Re(a)} y(mn,uf);function nn(a){this.U=Re(a)} y(nn,uf);function on(a){this.U=Re(a)} y(on,uf);on.prototype.setSafetyMode=function(a){return sf(this,5,a)};function pn(a){this.U=Re(a)} y(pn,uf);var qn={Ch:"WEB_DISPLAY_MODE_UNKNOWN",yh:"WEB_DISPLAY_MODE_BROWSER",Ah:"WEB_DISPLAY_MODE_MINIMAL_UI",Bh:"WEB_DISPLAY_MODE_STANDALONE",zh:"WEB_DISPLAY_MODE_FULLSCREEN"};function rn(a){this.U=Re(a,497)} y(rn,uf);function sn(a){this.U=Re(a)} y(sn,uf);function tn(a){this.U=Re(a)} y(tn,uf);tn.prototype.getPlaylistId=function(){return qf(this,2)}; var rf=[1,2];function un(a){this.U=Re(a)} y(un,uf);var vn=C.window,wn,xn,yn=(vn==null?void 0:(wn=vn.yt)==null?void 0:wn.config_)||(vn==null?void 0:(xn=vn.ytcfg)==null?void 0:xn.data_)||{};G("yt.config_",yn);function zn(){var a=arguments;a.length>1?yn[a[0]]=a[1]:a.length===1&&Object.assign(yn,a[0])} function S(a,b){return a in yn?yn[a]:b} ;var An={};function Bn(){return An.clicktracking||(An.clicktracking="clicktracking".replace(/\-([a-z])/g,function(a,b){return b.toUpperCase()}))} ;function T(a){a=Cn(a);return typeof a==="string"&&a==="false"?!1:!!a} function V(a,b){a=Cn(a);return a===void 0&&b!==void 0?b:Number(a||0)} function Cn(a){return S("EXPERIMENT_FLAGS",{})[a]} function Dn(){for(var a=[],b=S("EXPERIMENTS_FORCED_FLAGS",{}),c=w(Object.keys(b)),d=c.next();!d.done;d=c.next())d=d.value,a.push({key:d,value:String(b[d])});c=S("EXPERIMENT_FLAGS",{});d=w(Object.keys(c));for(var e=d.next();!e.done;e=d.next())e=e.value,e.startsWith("force_")&&b[e]===void 0&&a.push({key:e,value:String(c[e])});return a} ;function En(a,b,c,d){Nf.set(""+a,b,{Zc:c,path:"/",domain:d===void 0?"youtube.com":d,secure:!1})} ;var Fn=[];function Gn(a){Fn.forEach(function(b){return b(a)})} function Hn(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){In(b)}}:a} function In(a){var b=D("yt.logging.errors.log");b?b(a,"ERROR",void 0,void 0,void 0,void 0,void 0):(b=S("ERRORS",[]),b.push([a,"ERROR",void 0,void 0,void 0,void 0,void 0]),zn("ERRORS",b));Gn(a)} function Jn(a,b,c,d,e){var f=D("yt.logging.errors.log");f?f(a,"WARNING",b,c,d,void 0,e):(f=S("ERRORS",[]),f.push([a,"WARNING",b,c,d,void 0,e]),zn("ERRORS",f))} ;var Kn=/^[\w.]*$/,Ln={q:!0,search_query:!0};function Mn(a,b){b=a.split(b);for(var c={},d=0,e=b.length;d1?"#"+d[1]:"";var e=a.split("?",2);a=e[0];e=Qn(e[1]||"");for(var f in b)!c&&e!==null&&f in e||(e[f]=b[f]);return Nb(a,e)+d} function Sn(a){if(!b)var b=window.location.href;var c=a.match(Gb)[1]||null,d=Ib(a);c&&d?(a=a.match(Gb),b=b.match(Gb),a=a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]):a=d?Ib(b)===d&&(Number(b.match(Gb)[4]||null)||null)===(Number(a.match(Gb)[4]||null)||null):!0;return a} function Nn(a){return a&&a.match(Kn)?a:Fb(a)} ;var Tn=Od||Pd;function Un(a){var b=Xb();return b?b.toLowerCase().indexOf(a)>=0:!1} ;var Vn=Date.now().toString();function Wn(a){var b=Xn;a=a===void 0?D("yt.ads.biscotti.lastId_")||"":a;var c=Object,d=c.assign,e={};e.dt=Ff;e.flash="0";a:{try{var f=b.g.top.location.href}catch(fb){f=2;break a}f=f?f===b.l.location.href?0:1:2}e=(e.frm=f,e);try{e.u_tz=-(new Date).getTimezoneOffset();var g=g===void 0?wf:g;try{var h=g.history.length}catch(fb){h=0}e.u_his=h;var l;e.u_h=(l=wf.screen)==null?void 0:l.height;var k;e.u_w=(k=wf.screen)==null?void 0:k.width;var m;e.u_ah=(m=wf.screen)==null?void 0:m.availHeight;var p;e.u_aw= (p=wf.screen)==null?void 0:p.availWidth;var r;e.u_cd=(r=wf.screen)==null?void 0:r.colorDepth}catch(fb){}h=b.g;try{var q=h.screenX;var t=h.screenY}catch(fb){}try{var u=h.outerWidth;var A=h.outerHeight}catch(fb){}try{var K=h.innerWidth;var O=h.innerHeight}catch(fb){}try{var X=h.screenLeft;var U=h.screenTop}catch(fb){}try{K=h.innerWidth,O=h.innerHeight}catch(fb){}try{var da=h.screen.availWidth;var Ua=h.screen.availTop}catch(fb){}q=[X,U,q,t,da,Ua,u,A,K,O];t=b.g.top;try{var gb=(t||window).document,sa= gb.compatMode=="CSS1Compat"?gb.documentElement:gb.body;var Ea=(new hd(sa.clientWidth,sa.clientHeight)).round()}catch(fb){Ea=new hd(-12245933,-12245933)}gb=Ea;Ea={};var Ka=Ka===void 0?C:Ka;sa=new ml;"SVGElement"in Ka&&"createElementNS"in Ka.document&&sa.set(0);t=Cf();t["allow-top-navigation-by-user-activation"]&&sa.set(1);t["allow-popups-to-escape-sandbox"]&&sa.set(2);Ka.crypto&&Ka.crypto.subtle&&sa.set(3);"TextDecoder"in Ka&&"TextEncoder"in Ka&&sa.set(4);Ka=nl(sa);Ea.bc=Ka;Ea.bih=gb.height;Ea.biw= gb.width;Ea.brdim=q.join();b=b.l;b=(Ea.vis=b.prerendering?3:{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[b.visibilityState||b.webkitVisibilityState||b.mozVisibilityState||""]||0,Ea.wgl=!!wf.WebGLRenderingContext,Ea);c=d.call(c,e,b);c.ca_type="image";a&&(c.bid=a);return c} var Xn=new function(){var a=window.document;this.g=window;this.l=a}; G("yt.ads_.signals_.getAdSignalsString",function(a){return Pn(Wn(a))});F();var Yn="XMLHttpRequest"in C?function(){return new XMLHttpRequest}:null; function Zn(){if(!Yn)return null;var a=Yn();return"open"in a?a:null} ;function $n(a,b){typeof a==="function"&&(a=Hn(a));return window.setTimeout(a,b)} ;var ao="client_dev_domain client_dev_expflag client_dev_regex_map client_dev_root_url client_rollout_override expflag forcedCapability jsfeat jsmode mods".split(" ");x(ao);var bo={Authorization:"AUTHORIZATION","X-Goog-EOM-Visitor-Id":"EOM_VISITOR_DATA","X-Goog-Visitor-Id":"SANDBOXED_VISITOR_ID","X-Youtube-Domain-Admin-State":"DOMAIN_ADMIN_STATE","X-Youtube-Chrome-Connected":"CHROME_CONNECTED_HEADER","X-YouTube-Client-Name":"INNERTUBE_CONTEXT_CLIENT_NAME","X-YouTube-Client-Version":"INNERTUBE_CONTEXT_CLIENT_VERSION","X-YouTube-Delegation-Context":"INNERTUBE_CONTEXT_SERIALIZED_DELEGATION_CONTEXT","X-YouTube-Device":"DEVICE","X-Youtube-Identity-Token":"ID_TOKEN","X-YouTube-Page-CL":"PAGE_CL", "X-YouTube-Page-Label":"PAGE_BUILD_LABEL","X-YouTube-Variants-Checksum":"VARIANTS_CHECKSUM","X-Goog-AuthUser":"SESSION_INDEX","X-Goog-PageId":"DELEGATED_SESSION_ID"},co="app debugcss debugjs expflag force_ad_params force_ad_encrypted force_viral_ad_response_params forced_experiments innertube_snapshots innertube_goldens internalcountrycode internalipoverride absolute_experiments conditional_experiments sbb sr_bns_address".split(" ").concat(x(ao)),eo=!1; function fo(a,b,c,d,e,f,g,h){function l(){(k&&"readyState"in k?k.readyState:0)===4&&b&&Hn(b)(k)} c=c===void 0?"GET":c;d=d===void 0?"":d;h=h===void 0?!1:h;var k=Zn();if(!k)return null;"onloadend"in k?k.addEventListener("loadend",l,!1):k.onreadystatechange=l;T("debug_forward_web_query_parameters")&&(a=go(a));k.open(c,a,!0);f&&(k.responseType=f);g&&(k.withCredentials=!0);c=c==="POST"&&(window.FormData===void 0||!(d instanceof FormData));if(e=ho(a,e))for(var m in e)k.setRequestHeader(m,e[m]),"content-type"===m.toLowerCase()&&(c=!1);c&&k.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); if(h&&"setAttributionReporting"in XMLHttpRequest.prototype){a={eventSourceEligible:!0,triggerEligible:!1};try{k.setAttributionReporting(a)}catch(p){Jn(p)}}k.send(d);return k} function ho(a,b){b=b===void 0?{}:b;var c=Sn(a),d=S("INNERTUBE_CLIENT_NAME"),e=T("web_ajax_ignore_global_headers_if_set"),f;for(f in bo){var g=S(bo[f]),h=f==="X-Goog-AuthUser"||f==="X-Goog-PageId";f!=="X-Goog-Visitor-Id"||g||(g=S("VISITOR_DATA"));var l;if(!(l=!g)){if(!(l=c||(Ib(a)?!1:!0))){l=a;var k;if(k=T("add_auth_headers_to_remarketing_google_dot_com_ping")&&f==="Authorization"&&(d==="TVHTML5"||d==="TVHTML5_UNPLUGGED"||d==="TVHTML5_SIMPLY"))k=Ib(l),k=k!==null?k.split(".").reverse():null,k=k===null? !1:k[1]==="google"?!0:k[2]==="google"?k[0]==="au"&&k[1]==="com"?!0:k[0]==="uk"&&k[1]==="co"?!0:!1:!1;k&&(l=Hb(l.match(Gb)[5]||null)||"",l=l.split("/"),l="/"+(l.length>1?l[1]:""),k=l==="/pagead");l=k?!0:!1}l=!l}l||e&&b[f]!==void 0||d==="TVHTML5_UNPLUGGED"&&h||(b[f]=g)}"X-Goog-EOM-Visitor-Id"in b&&"X-Goog-Visitor-Id"in b&&delete b["X-Goog-Visitor-Id"];if(c||!Ib(a))b["X-YouTube-Utc-Offset"]=String(-(new Date).getTimezoneOffset());if(c||!Ib(a)){try{var m=(new Intl.DateTimeFormat).resolvedOptions().timeZone}catch(p){}m&& (b["X-YouTube-Time-Zone"]=m)}document.location.hostname.endsWith("youtubeeducation.com")||!c&&Ib(a)||(b["X-YouTube-Ad-Signals"]=Pn(Wn()));return b} function io(a,b){b.method="POST";b.postParams||(b.postParams={});return jo(a,b)} function jo(a,b){var c=b.format||"JSON";a=ko(a,b);var d=lo(a,b),e=!1,f=mo(a,function(l){if(!e){e=!0;h&&window.clearTimeout(h);a:switch(l&&"status"in l?l.status:-1){case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 304:var k=!0;break a;default:k=!1}var m=null,p=400<=l.status&&l.status<500,r=500<=l.status&&l.status<600;if(k||p||r)m=no(a,c,l,b.convertToSafeHtml);k&&(k=oo(c,l,m));m=m||{};p=b.context||C;k?b.onSuccess&&b.onSuccess.call(p,l,m):b.onError&&b.onError.call(p,l,m);b.onFinish&& b.onFinish.call(p,l,m)}},b.method,d,b.headers,b.responseType,b.withCredentials); d=b.timeout||0;if(b.onTimeout&&d>0){var g=b.onTimeout;var h=$n(function(){e||(e=!0,f.abort(),window.clearTimeout(h),g.call(b.context||C,f))},d)}return f} function ko(a,b){b.includeDomain&&(a=document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:"")+a);var c=S("XSRF_FIELD_NAME");if(b=b.urlParams)b[c]&&delete b[c],a=Rn(a,b||{},!0);return a} function lo(a,b){var c=S("XSRF_FIELD_NAME"),d=S("XSRF_TOKEN"),e=b.postBody||"",f=b.postParams,g=S("XSRF_FIELD_NAME"),h;b.headers&&(h=b.headers["Content-Type"]);b.excludeXsrf||Ib(a)&&!b.withCredentials&&Ib(a)!==document.location.hostname||b.method!=="POST"||h&&h!=="application/x-www-form-urlencoded"||b.postParams&&b.postParams[g]||(f||(f={}),f[c]=d);(T("ajax_parse_query_data_only_when_filled")&&f&&Object.keys(f).length>0||f)&&typeof e==="string"&&(e=Qn(e),vb(e,f),e=b.postBodyFormat&&b.postBodyFormat=== "JSON"?JSON.stringify(e):Mb(e));if(!(a=e)&&(a=f)){a:{for(var l in f){f=!1;break a}f=!0}a=!f}!eo&&a&&b.method!=="POST"&&(eo=!0,In(Error("AJAX request with postData should use POST")));return e} function no(a,b,c,d){var e=null;switch(b){case "JSON":try{var f=c.responseText}catch(g){throw d=Error("Error reading responseText"),d.params=a,Jn(d),g;}a=c.getResponseHeader("Content-Type")||"";f&&a.indexOf("json")>=0&&(f.substring(0,5)===")]}'\n"&&(f=f.substring(5)),e=JSON.parse(f));break;case "XML":if(a=(a=c.responseXML)?po(a):null)e={},ob(a.getElementsByTagName("*"),function(g){e[g.tagName]=qo(g)})}d&&ro(e); return e} function ro(a){if(La(a))for(var b in a){var c;(c=b==="html_content")||(c=b.length-5,c=c>=0&&b.indexOf("_html",c)==c);if(c){c=b;var d=Ab(a[b]);a[c]=d}else ro(a[b])}} function oo(a,b,c){if(b&&b.status===204)return!0;switch(a){case "JSON":return!!c;case "XML":return Number(c&&c.return_code)===0;case "RAW":return!0;default:return!!c}} function po(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&a.length>0?a[0]:null:null} function qo(a){var b="";ob(a.childNodes,function(c){b+=c.nodeValue}); return b} function go(a){var b=window.location.search,c=Ib(a);T("debug_handle_relative_url_for_query_forward_killswitch")||!c&&Sn(a)&&(c=document.location.hostname);var d=Hb(a.match(Gb)[5]||null);d=(c=c&&(c.endsWith("youtube.com")||c.endsWith("youtube-nocookie.com")))&&d&&d.startsWith("/api/");if(!c||d)return a;var e=Qn(b),f={};ob(co,function(g){e[g]&&(f[g]=e[g])}); return Rn(a,f||{},!1)} var mo=fo;function so(){if(!C.matchMedia)return"WEB_DISPLAY_MODE_UNKNOWN";try{return C.matchMedia("(display-mode: standalone)").matches?"WEB_DISPLAY_MODE_STANDALONE":C.matchMedia("(display-mode: minimal-ui)").matches?"WEB_DISPLAY_MODE_MINIMAL_UI":C.matchMedia("(display-mode: fullscreen)").matches?"WEB_DISPLAY_MODE_FULLSCREEN":C.matchMedia("(display-mode: browser)").matches?"WEB_DISPLAY_MODE_BROWSER":"WEB_DISPLAY_MODE_UNKNOWN"}catch(a){return"WEB_DISPLAY_MODE_UNKNOWN"}} ;function to(){} ;function uo(a){switch(a){case "DESKTOP":return 1;case "UNKNOWN_PLATFORM":return 0;case "TV":return 2;case "GAME_CONSOLE":return 3;case "MOBILE":return 4;case "TABLET":return 5}} ;G("ytglobal.prefsUserPrefsPrefs_",D("ytglobal.prefsUserPrefsPrefs_")||{});var vo={bluetooth:"CONN_DISCO",cellular:"CONN_CELLULAR_UNKNOWN",ethernet:"CONN_WIFI",none:"CONN_NONE",wifi:"CONN_WIFI",wimax:"CONN_CELLULAR_4G",other:"CONN_UNKNOWN",unknown:"CONN_UNKNOWN","slow-2g":"CONN_CELLULAR_2G","2g":"CONN_CELLULAR_2G","3g":"CONN_CELLULAR_3G","4g":"CONN_CELLULAR_4G"},wo={CONN_DEFAULT:0,CONN_UNKNOWN:1,CONN_NONE:2,CONN_WIFI:3,CONN_CELLULAR_2G:4,CONN_CELLULAR_3G:5,CONN_CELLULAR_4G:6,CONN_CELLULAR_UNKNOWN:7,CONN_DISCO:8,CONN_CELLULAR_5G:9,CONN_WIFI_METERED:10,CONN_CELLULAR_5G_SA:11, CONN_CELLULAR_5G_NSA:12,CONN_WIRED:30,CONN_INVALID:31},xo={EFFECTIVE_CONNECTION_TYPE_UNKNOWN:0,EFFECTIVE_CONNECTION_TYPE_OFFLINE:1,EFFECTIVE_CONNECTION_TYPE_SLOW_2G:2,EFFECTIVE_CONNECTION_TYPE_2G:3,EFFECTIVE_CONNECTION_TYPE_3G:4,EFFECTIVE_CONNECTION_TYPE_4G:5},yo={"slow-2g":"EFFECTIVE_CONNECTION_TYPE_SLOW_2G","2g":"EFFECTIVE_CONNECTION_TYPE_2G","3g":"EFFECTIVE_CONNECTION_TYPE_3G","4g":"EFFECTIVE_CONNECTION_TYPE_4G"};function zo(){var a=C.navigator;return a?a.connection:void 0} ;function Ao(a){var b=Da.apply(1,arguments);var c=Error.call(this,a);this.message=c.message;"stack"in c&&(this.stack=c.stack);this.args=[].concat(x(b))} y(Ao,Error);function Bo(){try{return Co(),!0}catch(a){return!1}} function Co(){if(S("DATASYNC_ID")!==void 0)return S("DATASYNC_ID");throw new Ao("Datasync ID not set","unknown");} ;function Do(){} function Eo(a,b){return Wf.Ya(a,0,b)} Do.prototype.Ga=function(a,b){return this.Ya(a,1,b)}; Do.prototype.Eb=function(a){var b=D("yt.scheduler.instance.addImmediateJob");b?b(a):a()};var Fo=V("web_emulated_idle_callback_delay",300),Go=1E3/60-3,Ho=[8,5,4,3,2,1,0]; function Io(a){a=a===void 0?{}:a;Rb.call(this);this.l=[];this.i={};this.I=this.g=0;this.H=this.s=!1;this.B=[];this.D=this.J=!1;for(var b=w(Ho),c=b.next();!c.done;c=b.next())this.l[c.value]=[];this.o=0;this.na=a.timeout||1;this.A=Go;this.u=0;this.O=this.vg.bind(this);this.ea=this.Sg.bind(this);this.X=this.Re.bind(this);this.Y=this.Tf.bind(this);this.ca=this.Ag.bind(this);this.W=!!window.requestIdleCallback&&!!window.cancelIdleCallback&&!T("disable_scheduler_requestIdleCallback");(this.F=a.useRaf!== !1&&!!window.requestAnimationFrame)&&document.addEventListener("visibilitychange",this.O)} y(Io,Rb);n=Io.prototype;n.Eb=function(a){var b=F();Jo(a);a=F()-b;this.s||(this.A-=a)}; n.Ya=function(a,b,c){++this.I;if(b===10)return this.Eb(a),this.I;var d=this.I;this.i[d]=a;this.s&&!c?this.B.push({id:d,priority:b}):(this.l[b].push(d),this.H||this.s||(this.g!==0&&Ko(this)!==this.u&&Lo(this),this.start()));return d}; n.xa=function(a){delete this.i[a]}; function Mo(a){a.B.length=0;for(var b=5;b>=0;b--)a.l[b].length=0;a.l[8].length=0;a.i={};Lo(a)} function Ko(a){if(a.l[8].length){if(a.D)return 4;if(!document.hidden&&a.F)return 3}for(var b=5;b>=a.o;b--)if(a.l[b].length>0)return b>0?!document.hidden&&a.F?3:2:1;return 0} function No(a){var b=D("yt.logging.errors.log");b&&b(a)} function Jo(a){try{a()}catch(b){No(b)}} function Oo(a){for(var b=w(Ho),c=b.next();!c.done;c=b.next())if(a.l[c.value].length)return!0;return!1} n.Tf=function(a){var b=void 0;a&&(b=a.timeRemaining());this.J=!0;Po(this,b);this.J=!1}; n.Sg=function(){Po(this)}; n.Re=function(){Qo(this)}; n.Ag=function(a){this.D=!0;var b=Ko(this);b===4&&b!==this.u&&(Lo(this),this.start());Po(this,void 0,a);this.D=!1}; n.vg=function(){document.hidden||Qo(this);this.g&&(Lo(this),this.start())}; function Qo(a){Lo(a);a.s=!0;for(var b=F(),c=a.l[8];c.length;){var d=c.shift(),e=a.i[d];delete a.i[d];e&&Jo(e)}Ro(a);a.s=!1;Oo(a)&&a.start();b=F()-b;a.A-=b} function Ro(a){for(var b=0,c=a.B.length;bd?a.o:d;if(!(F()>=b)){do{a:{c=a;e=d;for(f=3;f>=e;f--)for(var g=c.l[f];g.length;){var h=g.shift(),l=c.i[h];delete c.i[h];if(l){c=l;break a}}c=null}c&&Jo(c)}while(c&&F()a&&(b.o=a,b.start())} function hp(){window.clearTimeout(Vo);var a=Wo();a.o=0;a.start()} ;function ip(){Do.apply(this,arguments)} y(ip,Do);function jp(){ip.g||(ip.g=new ip);return ip.g} ip.prototype.Ya=function(a,b,c){c!==void 0&&Number.isNaN(Number(c))&&(c=void 0);var d=D("yt.scheduler.instance.addJob");return d?d(a,b,c):c===void 0?(a(),NaN):$n(a,c||0)}; ip.prototype.xa=function(a){if(a===void 0||!Number.isNaN(Number(a))){var b=D("yt.scheduler.instance.cancelJob");b?b(a):window.clearTimeout(a)}}; ip.prototype.start=function(){var a=D("yt.scheduler.instance.start");a&&a()}; var Wf=jp(); T("web_scheduler_auto_init")&&!D("yt.scheduler.initialized")&&(G("yt.scheduler.instance.dispose",Xo),G("yt.scheduler.instance.addJob",Zo),G("yt.scheduler.instance.addImmediateJob",$o),G("yt.scheduler.instance.cancelJob",ap),G("yt.scheduler.instance.cancelAllJobs",Yo),G("yt.scheduler.instance.start",cp),G("yt.scheduler.instance.pause",dp),G("yt.scheduler.instance.setPriorityThreshold",fp),G("yt.scheduler.instance.enablePriorityThreshold",gp),G("yt.scheduler.instance.clearPriorityThreshold",hp),G("yt.scheduler.initialized", !0));function kp(a){var b=new Pl;this.g=(a=(b.l=Ol(b.g))?a?new Ql(b,a):b:null)?new Jl(a):null;this.l=document.domain||window.location.hostname} kp.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.g)try{this.g.set(a,b,Date.now()+c*1E3);return}catch(f){}var e="";if(d)try{e=escape(xl(b))}catch(f){return}else e=escape(b);En(a,e,c,this.l)}; kp.prototype.get=function(a,b){var c=void 0,d=!this.g;if(!d)try{c=this.g.get(a)}catch(e){d=!0}if(d&&(c=Nf.get(""+a,void 0))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c}; kp.prototype.remove=function(a){this.g&&this.g.remove(a);var b=this.l;Nf.remove(""+a,"/",b===void 0?"youtube.com":b)};var lp=function(){var a;return function(){a||(a=new kp("ytidb"));return a}}(); function mp(){var a;return(a=lp())==null?void 0:a.get("LAST_RESULT_ENTRY_KEY",!0)} ;var np=[],op=!1;function pp(a){op||(np.push({type:"ERROR",payload:a}),np.length>10&&np.shift())} function qp(a,b){op||(np.push({type:"EVENT",eventType:a,payload:b}),np.length>10&&np.shift())} ;function rp(a){if(a.indexOf(":")>=0)throw Error("Database name cannot contain ':'");} function sp(a){return a.substr(0,a.indexOf(":"))||a} ;var tp={},up=(tp.AUTH_INVALID="No user identifier specified.",tp.EXPLICIT_ABORT="Transaction was explicitly aborted.",tp.IDB_NOT_SUPPORTED="IndexedDB is not supported.",tp.MISSING_INDEX="Index not created.",tp.MISSING_OBJECT_STORES="Object stores not created.",tp.DB_DELETED_BY_MISSING_OBJECT_STORES="Database is deleted because expected object stores were not created.",tp.DB_REOPENED_BY_MISSING_OBJECT_STORES="Database is reopened because expected object stores were not created.",tp.UNKNOWN_ABORT="Transaction was aborted for unknown reasons.", tp.QUOTA_EXCEEDED="The current transaction exceeded its quota limitations.",tp.QUOTA_MAYBE_EXCEEDED="The current transaction may have failed because of exceeding quota limitations.",tp.EXECUTE_TRANSACTION_ON_CLOSED_DB="Can't start a transaction on a closed database",tp.INCOMPATIBLE_DB_VERSION="The binary is incompatible with the database version",tp),vp={},wp=(vp.AUTH_INVALID="ERROR",vp.EXECUTE_TRANSACTION_ON_CLOSED_DB="WARNING",vp.EXPLICIT_ABORT="IGNORED",vp.IDB_NOT_SUPPORTED="ERROR",vp.MISSING_INDEX= "WARNING",vp.MISSING_OBJECT_STORES="ERROR",vp.DB_DELETED_BY_MISSING_OBJECT_STORES="WARNING",vp.DB_REOPENED_BY_MISSING_OBJECT_STORES="WARNING",vp.QUOTA_EXCEEDED="WARNING",vp.QUOTA_MAYBE_EXCEEDED="WARNING",vp.UNKNOWN_ABORT="WARNING",vp.INCOMPATIBLE_DB_VERSION="WARNING",vp),xp={},yp=(xp.AUTH_INVALID=!1,xp.EXECUTE_TRANSACTION_ON_CLOSED_DB=!1,xp.EXPLICIT_ABORT=!1,xp.IDB_NOT_SUPPORTED=!1,xp.MISSING_INDEX=!1,xp.MISSING_OBJECT_STORES=!1,xp.DB_DELETED_BY_MISSING_OBJECT_STORES=!1,xp.DB_REOPENED_BY_MISSING_OBJECT_STORES= !1,xp.QUOTA_EXCEEDED=!1,xp.QUOTA_MAYBE_EXCEEDED=!0,xp.UNKNOWN_ABORT=!0,xp.INCOMPATIBLE_DB_VERSION=!1,xp);function W(a,b,c,d,e){b=b===void 0?{}:b;c=c===void 0?up[a]:c;d=d===void 0?wp[a]:d;e=e===void 0?yp[a]:e;Ao.call(this,c,Object.assign({},{name:"YtIdbKnownError",isSw:self.document===void 0,isIframe:self!==self.top,type:a},b));this.type=a;this.message=c;this.level=d;this.g=e;Object.setPrototypeOf(this,W.prototype)} y(W,Ao);function zp(a,b){W.call(this,"MISSING_OBJECT_STORES",{expectedObjectStores:b,foundObjectStores:a},up.MISSING_OBJECT_STORES);Object.setPrototypeOf(this,zp.prototype)} y(zp,W);function Ap(a,b){var c=Error.call(this);this.message=c.message;"stack"in c&&(this.stack=c.stack);this.index=a;this.objectStore=b;Object.setPrototypeOf(this,Ap.prototype)} y(Ap,Error);var Bp=["The database connection is closing","Can't start a transaction on a closed database","A mutation operation was attempted on a database that did not allow mutations"]; function Cp(a,b,c,d){b=sp(b);var e=a instanceof Error?a:Error("Unexpected error: "+a);if(e instanceof W)return e;a={objectStoreNames:c,dbName:b,dbVersion:d};if(e.name==="QuotaExceededError")return new W("QUOTA_EXCEEDED",a);if(Qd&&e.name==="UnknownError")return new W("QUOTA_MAYBE_EXCEEDED",a);if(e instanceof Ap)return new W("MISSING_INDEX",Object.assign({},a,{objectStore:e.objectStore,index:e.index}));if(e.name==="InvalidStateError"&&Bp.some(function(f){return e.message.includes(f)}))return new W("EXECUTE_TRANSACTION_ON_CLOSED_DB", a); if(e.name==="AbortError")return new W("UNKNOWN_ABORT",a,e.message);e.args=[Object.assign({},a,{name:"IdbError",ci:e.name})];e.level="WARNING";return e} function Dp(a,b,c){var d=mp();return new W("IDB_NOT_SUPPORTED",{context:{caller:a,publicName:b,version:c,hasSucceededOnce:d==null?void 0:d.hasSucceededOnce}})} ;function Ep(a){if(!a)throw Error();throw a;} function Fp(a){return a} function Gp(a){this.g=a} function Hp(a){function b(e){if(d.state.status==="PENDING"){d.state={status:"REJECTED",reason:e};e=w(d.l);for(var f=e.next();!f.done;f=e.next())f=f.value,f()}} function c(e){if(d.state.status==="PENDING"){d.state={status:"FULFILLED",value:e};e=w(d.g);for(var f=e.next();!f.done;f=e.next())f=f.value,f()}} var d=this;this.state={status:"PENDING"};this.g=[];this.l=[];a=a.g;try{a(c,b)}catch(e){b(e)}} Hp.resolve=function(a){return new Hp(new Gp(function(b,c){a instanceof Hp?a.then(b,c):b(a)}))}; Hp.reject=function(a){return new Hp(new Gp(function(b,c){c(a)}))}; Hp.prototype.then=function(a,b){var c=this,d=a!=null?a:Fp,e=b!=null?b:Ep;return new Hp(new Gp(function(f,g){c.state.status==="PENDING"?(c.g.push(function(){Ip(c,c,d,f,g)}),c.l.push(function(){Jp(c,c,e,f,g)})):c.state.status==="FULFILLED"?Ip(c,c,d,f,g):c.state.status==="REJECTED"&&Jp(c,c,e,f,g)}))}; function Kp(a,b){a.then(void 0,b)} function Ip(a,b,c,d,e){try{if(a.state.status!=="FULFILLED")throw Error("calling handleResolve before the promise is fulfilled.");var f=c(a.state.value);f instanceof Hp?Lp(a,b,f,d,e):d(f)}catch(g){e(g)}} function Jp(a,b,c,d,e){try{if(a.state.status!=="REJECTED")throw Error("calling handleReject before the promise is rejected.");var f=c(a.state.reason);f instanceof Hp?Lp(a,b,f,d,e):d(f)}catch(g){e(g)}} function Lp(a,b,c,d,e){b===c?e(new TypeError("Circular promise chain detected.")):c.then(function(f){f instanceof Hp?Lp(a,b,f,d,e):d(f)},function(f){e(f)})} ;function Mp(a,b,c){function d(){c(a.error);f()} function e(){b(a.result);f()} function f(){try{a.removeEventListener("success",e),a.removeEventListener("error",d)}catch(g){}} a.addEventListener("success",e);a.addEventListener("error",d)} function Np(a){return new Promise(function(b,c){Mp(a,b,c)})} function Op(a){return new Hp(new Gp(function(b,c){Mp(a,b,c)}))} ;function Pp(a,b){return new Hp(new Gp(function(c,d){function e(){var f=a?b(a):null;f?f.then(function(g){a=g;e()},d):c()} e()}))} ;var Qp=window,Y=Qp.ytcsi&&Qp.ytcsi.now?Qp.ytcsi.now:Qp.performance&&Qp.performance.timing&&Qp.performance.now&&Qp.performance.timing.navigationStart?function(){return Qp.performance.timing.navigationStart+Qp.performance.now()}:function(){return(new Date).getTime()};function Rp(a,b){this.g=a;this.options=b;this.transactionCount=0;this.i=Math.round(Y());this.l=!1} n=Rp.prototype;n.add=function(a,b,c){return Sp(this,[a],{mode:"readwrite",qa:!0},function(d){return d.objectStore(a).add(b,c)})}; n.clear=function(a){return Sp(this,[a],{mode:"readwrite",qa:!0},function(b){return b.objectStore(a).clear()})}; n.close=function(){this.g.close();var a;((a=this.options)==null?0:a.closed)&&this.options.closed()}; function Tp(a,b,c){a=a.g.createObjectStore(b,c);return new Up(a)} n.delete=function(a,b){return Sp(this,[a],{mode:"readwrite",qa:!0},function(c){return c.objectStore(a).delete(b)})}; n.get=function(a,b){return Sp(this,[a],{mode:"readonly",qa:!0},function(c){return c.objectStore(a).get(b)})}; function Vp(a,b,c){return Sp(a,[b],{mode:"readwrite",qa:!0},function(d){d=d.objectStore(b);return Op(d.g.put(c,void 0))})} n.objectStoreNames=function(){return Array.from(this.g.objectStoreNames)}; function Sp(a,b,c,d){var e,f,g,h,l,k,m,p,r,q,t,u;return B(function(A){switch(A.g){case 1:var K={mode:"readonly",qa:!1,tag:"IDB_TRANSACTION_TAG_UNKNOWN"};typeof c==="string"?K.mode=c:Object.assign(K,c);e=K;a.transactionCount++;f=e.qa?3:1;g=0;case 2:if(h){A.M(4);break}g++;l=Math.round(Y());ua(A,5);k=a.g.transaction(b,e.mode);K=new Wp(k);K=Xp(K,d);return z(A,K,7);case 7:return m=A.l,p=Math.round(Y()),Yp(a,l,p,g,void 0,b.join(),e),A.return(m);case 5:r=va(A);q=Math.round(Y());t=Cp(r,a.g.name,b.join(), a.g.version);if((u=t instanceof W&&!t.g)||g>=f)Yp(a,l,q,g,t,b.join(),e),h=t;A.M(2);break;case 4:return A.return(Promise.reject(h))}})} function Yp(a,b,c,d,e,f,g){b=c-b;e?(e instanceof W&&(e.type==="QUOTA_EXCEEDED"||e.type==="QUOTA_MAYBE_EXCEEDED")&&qp("QUOTA_EXCEEDED",{dbName:sp(a.g.name),objectStoreNames:f,transactionCount:a.transactionCount,transactionMode:g.mode}),e instanceof W&&e.type==="UNKNOWN_ABORT"&&(c-=a.i,c<0&&c>=Math.pow(2,31)&&(c=0),qp("TRANSACTION_UNEXPECTEDLY_ABORTED",{objectStoreNames:f,transactionDuration:b,transactionCount:a.transactionCount,dbDuration:c}),a.l=!0),Zp(a,!1,d,f,b,g.tag),pp(e)):Zp(a,!0,d,f,b,g.tag)} function Zp(a,b,c,d,e,f){qp("TRANSACTION_ENDED",{objectStoreNames:d,connectionHasUnknownAbortedTransaction:a.l,duration:e,isSuccessful:b,tryCount:c,tag:f===void 0?"IDB_TRANSACTION_TAG_UNKNOWN":f})} n.getName=function(){return this.g.name}; function Up(a){this.g=a} n=Up.prototype;n.add=function(a,b){return Op(this.g.add(a,b))}; n.autoIncrement=function(){return this.g.autoIncrement}; n.clear=function(){return Op(this.g.clear()).then(function(){})}; function $p(a,b,c){a.g.createIndex(b,c,{unique:!1})} function aq(a,b){return bq(a,{query:b},function(c){return c.delete().then(function(){return cq(c)})}).then(function(){})} n.delete=function(a){return a instanceof IDBKeyRange?aq(this,a):Op(this.g.delete(a))}; n.get=function(a){return Op(this.g.get(a))}; n.index=function(a){try{return new dq(this.g.index(a))}catch(b){if(b instanceof Error&&b.name==="NotFoundError")throw new Ap(a,this.g.name);throw b;}}; n.getName=function(){return this.g.name}; n.keyPath=function(){return this.g.keyPath}; function bq(a,b,c){a=a.g.openCursor(b.query,b.direction);return eq(a).then(function(d){return Pp(d,c)})} function Wp(a){var b=this;this.g=a;this.i=new Map;this.l=!1;this.done=new Promise(function(c,d){b.g.addEventListener("complete",function(){c()}); b.g.addEventListener("error",function(e){e.currentTarget===e.target&&d(b.g.error)}); b.g.addEventListener("abort",function(){var e=b.g.error;if(e)d(e);else if(!b.l){e=W;for(var f=b.g.objectStoreNames,g=[],h=0;h=A},u); u.done.catch(function(A){e(A)})}catch(A){e(A)}}); g.addEventListener("success",function(){var q=g.result;l&&q.addEventListener("versionchange",function(){l(f())}); q.addEventListener("close",function(){qp("IDB_UNEXPECTEDLY_CLOSED",{dbName:sp(a),dbVersion:q.version});k&&k()}); d(f())}); g.addEventListener("error",function(){e(g.error)}); h&&g.addEventListener("blocked",function(){h()})})} function iq(a,b,c){c=c===void 0?{}:c;return hq(a,b,c)} function jq(a,b){b=b===void 0?{}:b;var c,d,e,f;return B(function(g){if(g.g==1)return ua(g,2),c=self.indexedDB.deleteDatabase(a),d=b,(e=d.Ue)&&c.addEventListener("blocked",function(){e()}),z(g,Np(c),4); if(g.g!=2)g.g=0,g.o=0;else throw f=va(g),Cp(f,a,"",-1);})} ;function kq(a,b){this.name=a;this.options=b;this.i=!0;this.o=this.m=0} kq.prototype.l=function(a,b,c){c=c===void 0?{}:c;return iq(a,b,c)}; kq.prototype.delete=function(a){a=a===void 0?{}:a;return jq(this.name,a)}; function lq(a,b){return new W("INCOMPATIBLE_DB_VERSION",{dbName:a.name,oldVersion:a.options.version,newVersion:b})} function mq(a,b){if(!b)throw Dp("openWithToken",sp(a.name));return nq(a)} function nq(a){function b(){var f,g,h,l,k,m,p,r,q,t;return B(function(u){switch(u.g){case 1:return g=(f=Error().stack)!=null?f:"",ua(u,2),z(u,a.l(a.name,a.options.version,d),4);case 4:for(var A=h=u.l,K=a.options,O=[],X=w(Object.keys(K.wb)),U=X.next();!U.done;U=X.next()){U=U.value;var da=K.wb[U],Ua=da.Cg===void 0?Number.MAX_VALUE:da.Cg;!(A.g.version>=da.Fb)||A.g.version>=Ua||A.g.objectStoreNames.contains(U)||O.push(U)}l=O;if(l.length===0){u.M(5);break}k=Object.keys(a.options.wb);m=h.objectStoreNames(); if(a.oa.options.version+1)throw r.close(),a.i=!1,lq(a,q);return u.return(r);case 8:throw c(),p instanceof Error&&!T("ytidb_async_stack_killswitch")&& (p.stack=p.stack+"\n"+g.substring(g.indexOf("\n")+1)),Cp(p,a.name,"",(t=a.options.version)!=null?t:-1);}})} function c(){a.g===e&&(a.g=void 0)} if(!a.i)throw lq(a);if(a.g)return a.g;var d={Ve:function(f){f.close()}, closed:c,Qg:c,upgrade:a.options.upgrade};var e=b();a.g=e;return a.g} ;var oq=new kq("YtIdbMeta",{wb:{databases:{Fb:1}},upgrade:function(a,b){b(1)&&Tp(a,"databases",{keyPath:"actualName"})}}); function pq(a,b){var c;return B(function(d){if(d.g==1)return z(d,mq(oq,b),2);c=d.l;return d.return(Sp(c,["databases"],{qa:!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 Op(f.g.put(a,void 0)).then(function(){})})}))})} function qq(a,b){var c;return B(function(d){if(d.g==1)return a?z(d,mq(oq,b),2):d.return();c=d.l;return d.return(c.delete("databases",a))})} function rq(a,b){var c,d;return B(function(e){return e.g==1?(c=[],z(e,mq(oq,b),2)):e.g!=3?(d=e.l,z(e,Sp(d,["databases"],{qa:!0,mode:"readonly"},function(f){c.length=0;return bq(f.objectStore("databases"),{},function(g){a(g.cursor.value)&&c.push(g.cursor.value);return cq(g)})}),3)):e.return(c)})} function sq(a){return rq(function(b){return b.publicName==="LogsDatabaseV2"&&b.userIdentifier!==void 0},a)} ;var tq,uq=new function(){}(new function(){}); function vq(){var a,b,c,d;return B(function(e){switch(e.g){case 1:a=mp();if((b=a)==null?0:b.hasSucceededOnce)return e.return(!0);var f;if(f=Tn)f=/WebKit\/([0-9]+)/.exec(Xb()),f=!!(f&&parseInt(f[1],10)>=600);f&&(f=/WebKit\/([0-9]+)/.exec(Xb()),f=!(f&&parseInt(f[1],10)>=602));if(f||lc)return e.return(!1);try{if(c=self,!(c.indexedDB&&c.IDBIndex&&c.IDBKeyRange&&c.IDBObjectStore))return e.return(!1)}catch(g){return e.return(!1)}if(!("IDBTransaction"in self&&"objectStoreNames"in IDBTransaction.prototype))return e.return(!1); ua(e,2);d={actualName:"yt-idb-test-do-not-use",publicName:"yt-idb-test-do-not-use",userIdentifier:void 0};return z(e,pq(d,uq),4);case 4:return z(e,qq("yt-idb-test-do-not-use",uq),5);case 5:return e.return(!0);case 2:return va(e),e.return(!1)}})} function wq(){if(tq!==void 0)return tq;op=!0;return tq=vq().then(function(a){op=!1;var b;if((b=lp())!=null&&b.g){var c;b={hasSucceededOnce:((c=mp())==null?void 0:c.hasSucceededOnce)||a};var d;(d=lp())==null||d.set("LAST_RESULT_ENTRY_KEY",b,2592E3,!0)}return a})} function xq(){return D("ytglobal.idbToken_")||void 0} function yq(){var a=xq();return a?Promise.resolve(a):wq().then(function(b){(b=b?uq:void 0)&&G("ytglobal.idbToken_",b);return b})} ;new Dl;function zq(a){if(!Bo())throw a=new W("AUTH_INVALID",{dbName:a}),pp(a),a;var b=Co();return{actualName:a+":"+b,publicName:a,userIdentifier:b}} function Aq(a,b,c,d){var e,f,g,h,l,k;return B(function(m){switch(m.g){case 1:return f=(e=Error().stack)!=null?e:"",z(m,yq(),2);case 2:g=m.l;if(!g)throw h=Dp("openDbImpl",a,b),T("ytidb_async_stack_killswitch")||(h.stack=h.stack+"\n"+f.substring(f.indexOf("\n")+1)),pp(h),h;rp(a);l=c?{actualName:a,publicName:a,userIdentifier:void 0}:zq(a);ua(m,3);return z(m,pq(l,g),5);case 5:return z(m,iq(l.actualName,b,d),6);case 6:return m.return(m.l);case 3:return k=va(m),ua(m,7),z(m,qq(l.actualName,g),9);case 9:m.g= 8;m.o=0;break;case 7:va(m);case 8:throw k;}})} function Bq(a,b,c){c=c===void 0?{}:c;return Aq(a,b,!1,c)} function Cq(a,b,c){c=c===void 0?{}:c;return Aq(a,b,!0,c)} function Dq(a,b){b=b===void 0?{}:b;var c,d;return B(function(e){if(e.g==1)return z(e,yq(),2);if(e.g!=3){c=e.l;if(!c)return e.return();rp(a);d=zq(a);return z(e,jq(d.actualName,b),3)}return z(e,qq(d.actualName,c),0)})} function Eq(a,b,c){a=a.map(function(d){return B(function(e){return e.g==1?z(e,jq(d.actualName,b),2):z(e,qq(d.actualName,c),0)})}); return Promise.all(a).then(function(){})} function Fq(){var a=a===void 0?{}:a;var b,c;return B(function(d){if(d.g==1)return z(d,yq(),2);if(d.g!=3){b=d.l;if(!b)return d.return();rp("LogsDatabaseV2");return z(d,sq(b),3)}c=d.l;return z(d,Eq(c,a,b),0)})} function Gq(a,b){b=b===void 0?{}:b;var c;return B(function(d){if(d.g==1)return z(d,yq(),2);if(d.g!=3){c=d.l;if(!c)return d.return();rp(a);return z(d,jq(a,b),3)}return z(d,qq(a,c),0)})} ;function Hq(a,b){kq.call(this,a,b);this.options=b;rp(a)} y(Hq,kq);function Iq(a,b){var c;return function(){c||(c=new Hq(a,b));return c}} Hq.prototype.l=function(a,b,c){c=c===void 0?{}:c;return(this.options.shared?Cq:Bq)(a,b,Object.assign({},c))}; Hq.prototype.delete=function(a){a=a===void 0?{}:a;return(this.options.shared?Gq:Dq)(this.name,a)}; function Jq(a,b){return Iq(a,b)} ;var Kq={},Lq=Jq("ytGcfConfig",{wb:(Kq.coldConfigStore={Fb:1},Kq.hotConfigStore={Fb:1},Kq),shared:!1,upgrade:function(a,b){b(1)&&($p(Tp(a,"hotConfigStore",{keyPath:"key",autoIncrement:!0}),"hotTimestampIndex","timestamp"),$p(Tp(a,"coldConfigStore",{keyPath:"key",autoIncrement:!0}),"coldTimestampIndex","timestamp"))}, version:1});function Mq(a){return mq(Lq(),a)} function Nq(a,b,c){var d,e,f;return B(function(g){switch(g.g){case 1:return d={config:a,hashData:b,timestamp:Y()},z(g,Mq(c),2);case 2:return e=g.l,z(g,e.clear("hotConfigStore"),3);case 3:return z(g,Vp(e,"hotConfigStore",d),4);case 4:return f=g.l,g.return(f)}})} function Oq(a,b,c,d){var e,f,g;return B(function(h){switch(h.g){case 1:return e={config:a,hashData:b,configData:c,timestamp:Y()},z(h,Mq(d),2);case 2:return f=h.l,z(h,f.clear("coldConfigStore"),3);case 3:return z(h,Vp(f,"coldConfigStore",e),4);case 4:return g=h.l,h.return(g)}})} function Pq(a){var b,c;return B(function(d){return d.g==1?z(d,Mq(a),2):d.g!=3?(b=d.l,c=void 0,z(d,Sp(b,["coldConfigStore"],{mode:"readwrite",qa:!0},function(e){return fq(e.objectStore("coldConfigStore").index("coldTimestampIndex"),{direction:"prev"},function(f){c=f.cursor.value})}),3)):d.return(c)})} function Qq(a){var b,c;return B(function(d){return d.g==1?z(d,Mq(a),2):d.g!=3?(b=d.l,c=void 0,z(d,Sp(b,["hotConfigStore"],{mode:"readwrite",qa:!0},function(e){return fq(e.objectStore("hotConfigStore").index("hotTimestampIndex"),{direction:"prev"},function(f){c=f.cursor.value})}),3)):d.return(c)})} ;function Rq(){Rb.call(this);this.l=[];this.g=[];var a=D("yt.gcf.config.hotUpdateCallbacks");a?(this.l=[].concat(x(a)),this.g=a):(this.g=[],G("yt.gcf.config.hotUpdateCallbacks",this.g))} y(Rq,Rb);Rq.prototype.Ba=function(){for(var a=w(this.l),b=a.next();!b.done;b=a.next()){var c=this.g;b=c.indexOf(b.value);b>=0&&c.splice(b,1)}this.l.length=0;Rb.prototype.Ba.call(this)};function Sq(){this.l=0;this.i=new Rq} function Tq(a,b,c){var d,e,f;return B(function(g){switch(g.g){case 1:if(!T("start_client_gcf")){g.M(0);break}c&&(a.m=c,G("yt.gcf.config.hotConfigGroup",a.m||null));a.g(b);d=xq();if(!d){g.M(3);break}if(c){g.M(4);break}return z(g,Qq(d),5);case 5:e=g.l,c=(f=e)==null?void 0:f.config;case 4:return z(g,Nq(c,b,d),3);case 3:if(c)for(var h=c,l=w(a.i.g),k=l.next();!k.done;k=l.next())k=k.value,k(h);g.g=0}})} function Uq(a,b,c){var d,e,f,g;return B(function(h){if(h.g==1){if(!T("start_client_gcf"))return h.M(0);a.coldHashData=b;G("yt.gcf.config.coldHashData",a.coldHashData||null);return(d=xq())?c?h.M(4):z(h,Pq(d),5):h.M(0)}h.g!=4&&(e=h.l,c=(f=e)==null?void 0:f.config);if(!c)return h.M(0);g=c.configData;return z(h,Oq(c,b,g,d),0)})} Sq.prototype.g=function(a){this.hotHashData=a;G("yt.gcf.config.hotHashData",this.hotHashData||null)};function Vq(){return"INNERTUBE_API_KEY"in yn&&"INNERTUBE_API_VERSION"in yn} function Wq(){return{Wf:S("INNERTUBE_API_KEY"),Xf:S("INNERTUBE_API_VERSION"),Tc:S("INNERTUBE_CONTEXT_CLIENT_CONFIG_INFO"),Zd:S("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),Yf:S("INNERTUBE_CONTEXT_CLIENT_NAME",1),ae:S("INNERTUBE_CONTEXT_CLIENT_VERSION"),ce:S("INNERTUBE_CONTEXT_HL"),be:S("INNERTUBE_CONTEXT_GL"),Zf:S("INNERTUBE_HOST_OVERRIDE")||"",bg:!!S("INNERTUBE_USE_THIRD_PARTY_AUTH",!1),ag:!!S("INNERTUBE_OMIT_API_KEY_WHEN_AUTH_HEADER_IS_PRESENT",!1),appInstallData:S("SERIALIZED_CLIENT_CONFIG_DATA")}} function Xq(a){var b={client:{hl:a.ce,gl:a.be,clientName:a.Zd,clientVersion:a.ae,configInfo:a.Tc}};navigator.userAgent&&(b.client.userAgent=String(navigator.userAgent));var c=C.devicePixelRatio;c&&c!=1&&(b.client.screenDensityFloat=String(c));c=S("EXPERIMENTS_TOKEN","");c!==""&&(b.client.experimentsToken=c);c=Dn();c.length>0&&(b.request={internalExperimentFlags:c});Yq(a,void 0,b);Zq(void 0,b);$q(void 0,b);ar(a,void 0,b);br(void 0,b);T("start_client_gcf")&&cr(void 0,b);S("DELEGATED_SESSION_ID")&&!T("pageid_as_header_web")&& (b.user={onBehalfOfUser:S("DELEGATED_SESSION_ID")});!T("fill_delegate_context_in_gel_killswitch")&&(a=S("INNERTUBE_CONTEXT_SERIALIZED_DELEGATION_CONTEXT"))&&(b.user=Object.assign({},b.user,{serializedDelegationContext:a}));a=Object;c=a.assign;for(var d=b.client,e={},f=w(Object.entries(Qn(S("DEVICE","")))),g=f.next();!g.done;g=f.next()){var h=w(g.value);g=h.next().value;h=h.next().value;g==="cbrand"?e.deviceMake=h:g==="cmodel"?e.deviceModel=h:g==="cbr"?e.browserName=h:g==="cbrver"?e.browserVersion= h:g==="cos"?e.osName=h:g==="cosver"?e.osVersion=h:g==="cplatform"&&(e.platform=h)}b.client=c.call(a,d,e);return b} function Yq(a,b,c){a=a.Zd;if(a==="WEB"||a==="MWEB"||a===1||a===2)if(b){c=kf(b,fn,96)||new fn;var d=so();d=Object.keys(qn).indexOf(d);d=d===-1?null:d;d!==null&&sf(c,3,d);lf(b,fn,96,c)}else c&&(c.client.mainAppWebInfo=(d=c.client.mainAppWebInfo)!=null?d:{},c.client.mainAppWebInfo.webDisplayMode=so())} function Zq(a,b){var c=D("yt.embedded_player.embed_url");c&&(a?(b=kf(a,mn,7)||new mn,J(b,4,c),lf(a,mn,7,b)):b&&(b.thirdParty={embedUrl:c}))} function $q(a,b){var c;if(T("web_log_memory_total_kbytes")&&((c=C.navigator)==null?0:c.deviceMemory)){var d;c=(d=C.navigator)==null?void 0:d.deviceMemory;a?ef(a,95,Ee(c*1E6)):b&&(b.client.memoryTotalKbytes=""+c*1E6)}} function ar(a,b,c){if(a.appInstallData)if(b){var d;c=(d=kf(b,en,62))!=null?d:new en;J(c,6,a.appInstallData);lf(b,en,62,c)}else c&&(c.client.configInfo=c.client.configInfo||{},c.client.configInfo.appInstallData=a.appInstallData)} function br(a,b){a:{var c=zo();if(c){var d=vo[c.type||"unknown"]||"CONN_UNKNOWN";c=vo[c.effectiveType||"unknown"]||"CONN_UNKNOWN";d==="CONN_CELLULAR_UNKNOWN"&&c!=="CONN_UNKNOWN"&&(d=c);if(d!=="CONN_UNKNOWN")break a;if(c!=="CONN_UNKNOWN"){d=c;break a}}d=void 0}d&&(a?sf(a,61,wo[d]):b&&(b.client.connectionType=d));T("web_log_effective_connection_type")&&(d=zo(),d=d!=null&&d.effectiveType?yo.hasOwnProperty(d.effectiveType)?yo[d.effectiveType]:"EFFECTIVE_CONNECTION_TYPE_UNKNOWN":void 0,d&&(a?sf(a,94,xo[d]): b&&(b.client.effectiveConnectionType=d)))} function dr(a,b,c){c=c===void 0?{}:c;var d={};S("EOM_VISITOR_DATA")?d={"X-Goog-EOM-Visitor-Id":S("EOM_VISITOR_DATA")}:d={"X-Goog-Visitor-Id":c.visitorData||S("VISITOR_DATA","")};if(b&&b.includes("www.youtube-nocookie.com"))return d;b=c.Fh||S("AUTHORIZATION");if(!b)if(a)b="Bearer "+D("gapi.auth.getToken")().Eh;else{to.g||(to.g=new to);a={};c=[];var e=T("enable_first_party_auth_v2")||void 0;"USER_SESSION_ID"in yn&&e&&c.push({key:"u",value:S("USER_SESSION_ID")});if(c=Rf(c))a.Authorization=c,c=void 0, c===void 0&&(c=Number(S("SESSION_INDEX",0)),c=isNaN(c)?0:c),T("voice_search_auth_header_removal")||(a["X-Goog-AuthUser"]=c.toString()),"INNERTUBE_HOST_OVERRIDE"in yn||(a["X-Origin"]=window.location.origin),"DELEGATED_SESSION_ID"in yn&&(a["X-Goog-PageId"]=S("DELEGATED_SESSION_ID"));T("pageid_as_header_web")||delete a["X-Goog-PageId"];d=Object.assign({},d,a)}b&&(d.Authorization=b);return d} function cr(a,b){if(!Sq.g){var c=new Sq;Sq.g=c}c=Sq.g;var d=Y()-c.l;if(c.l!==0&&d>6|192:((e&64512)==55296&&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;cmr||g=rr&&(pr++,T("abandon_compression_after_N_slow_zips")?qr===V("compression_disable_point")&&pr>sr&&(or=!1):or=!1);T("gel_compression_csi_killswitch")||!T("log_gel_compression_latency")&&!T("log_gel_compression_latency_lr")||hr("gel_compression",b,{sampleRate:.1});d.headers||(d.headers={});d.headers["Content-Encoding"]="gzip";d.postBody=a;d.postParams=void 0;e(c,d)} ;function Ar(a){a=Object.assign({},a);delete a.Authorization;var b=Rf();if(b){var c=new pl;c.update(S("INNERTUBE_API_KEY"));c.update(b);a.hash=Td(c.digest(),3)}return a} ;var Br;function Cr(){Br||(Br=new kp("yt.innertube"));return Br} function Dr(a,b,c,d){if(d)return null;d=Cr().get("nextId",!0)||1;var e=Cr().get("requests",!0)||{};e[d]={method:a,request:b,authState:Ar(c),requestTime:Math.round(Y())};Cr().set("nextId",d+1,86400,!0);Cr().set("requests",e,86400,!0);return d} function Er(a){var b=Cr().get("requests",!0)||{};delete b[a];Cr().set("requests",b,86400,!0)} function Fr(a){var b=Cr().get("requests",!0);if(b){for(var c in b){var d=b[c];if(!(Math.round(Y())-d.requestTime<6E4)){var e=d.authState;var f=Ar(dr(!1));a:{var g=void 0,h=void 0;for(h in e)if(!(h in f)||e[h]!==f[h]){e=!1;break a}for(g in f)if(!(g in e)){e=!1;break a}e=!0}e&&(e=d.request,"requestTimeMs"in e&&(e.requestTimeMs=Math.round(Y())),Gr(a,d.method,e,{}));delete b[c]}}Cr().set("requests",b,86400,!0)}} ;function Hr(a){this.Xb=this.g=!1;this.potentialEsfErrorCounter=this.l=0;this.handleError=function(){}; this.pb=function(){}; this.now=Date.now;this.Jb=!1;var b;this.Fe=(b=a.Fe)!=null?b:100;var c;this.we=(c=a.we)!=null?c:1;var d;this.se=(d=a.se)!=null?d:2592E6;var e;this.pe=(e=a.pe)!=null?e:12E4;var f;this.ue=(f=a.ue)!=null?f:5E3;var g;this.Z=(g=a.Z)!=null?g:void 0;this.hc=!!a.hc;var h;this.cc=(h=a.cc)!=null?h:.1;var l;this.sc=(l=a.sc)!=null?l:10;a.handleError&&(this.handleError=a.handleError);a.pb&&(this.pb=a.pb);a.Jb&&(this.Jb=a.Jb);a.Xb&&(this.Xb=a.Xb);this.aa=a.aa;this.Da=a.Da;this.fa=a.fa;this.ia=a.ia;this.sendFn=a.sendFn; this.gd=a.gd;this.dd=a.dd;Ir(this)&&(!this.aa||this.aa("networkless_logging"))&&Jr(this)} function Jr(a){Ir(a)&&!a.Jb&&(a.g=!0,a.hc&&Math.random()<=a.cc&&a.fa.Xe(a.Z),Kr(a),a.ia.ya()&&a.Tb(),a.ia.ra(a.gd,a.Tb.bind(a)),a.ia.ra(a.dd,a.Dd.bind(a)))} n=Hr.prototype;n.writeThenSend=function(a,b){var c=this;b=b===void 0?{}:b;if(Ir(this)&&this.g){var d={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.fa.set(d,this.Z).then(function(e){d.id=e;c.ia.ya()&&Lr(c,d)}).catch(function(e){Lr(c,d); Mr(c,e)})}else this.sendFn(a,b)}; n.sendThenWrite=function(a,b,c){var d=this;b=b===void 0?{}:b;if(Ir(this)&&this.g){var e={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.aa&&this.aa("nwl_skip_retry")&&(e.skipRetry=c);if(this.ia.ya()||this.aa&&this.aa("nwl_aggressive_send_then_write")&&!e.skipRetry){if(!e.skipRetry){var f=b.onError?b.onError:function(){}; b.onError=function(g,h){return B(function(l){if(l.g==1)return z(l,d.fa.set(e,d.Z).catch(function(k){Mr(d,k)}),2); f(g,h);l.g=0})}}this.sendFn(a,b,e.skipRetry)}else this.fa.set(e,this.Z).catch(function(g){d.sendFn(a,b,e.skipRetry); Mr(d,g)})}else this.sendFn(a,b,this.aa&&this.aa("nwl_skip_retry")&&c)}; n.sendAndWrite=function(a,b){var c=this;b=b===void 0?{}:b;if(Ir(this)&&this.g){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){d.id!==void 0?c.fa.mb(d.id,c.Z):e=!0;c.ia.eb&&c.aa&&c.aa("vss_network_hint")&&c.ia.eb(!0);f(g,h)}; this.sendFn(d.url,d.options,void 0,!0);this.fa.set(d,this.Z).then(function(g){d.id=g;e&&c.fa.mb(d.id,c.Z)}).catch(function(g){Mr(c,g)})}else this.sendFn(a,b,void 0,!0)}; n.Tb=function(){var a=this;if(!Ir(this))throw Error("IndexedDB is not supported: throttleSend");this.l||(this.l=this.Da.Ga(function(){var b;return B(function(c){if(c.g==1)return z(c,a.fa.Qd("NEW",a.Z),2);if(c.g!=3)return b=c.l,b?z(c,Lr(a,b),3):(a.Dd(),c.return());a.l&&(a.l=0,a.Tb());c.g=0})},this.Fe))}; n.Dd=function(){this.Da.xa(this.l);this.l=0}; function Lr(a,b){var c;return B(function(d){switch(d.g){case 1:if(!Ir(a))throw Error("IndexedDB is not supported: immediateSend");if(b.id===void 0){d.M(2);break}return z(d,a.fa.ng(b.id,a.Z),3);case 3:(c=d.l)||a.pb(Error("The request cannot be found in the database."));case 2:if(Nr(a,b,a.se)){d.M(4);break}a.pb(Error("Networkless Logging: Stored logs request expired age limit"));if(b.id===void 0){d.M(5);break}return z(d,a.fa.mb(b.id,a.Z),5);case 5:return d.return();case 4:b.skipRetry||(b=Or(a,b));if(!b){d.M(0); break}if(!b.skipRetry||b.id===void 0){d.M(8);break}return z(d,a.fa.mb(b.id,a.Z),8);case 8:a.sendFn(b.url,b.options,!!b.skipRetry),d.g=0}})} function Or(a,b){if(!Ir(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,l,k;return B(function(m){switch(m.g){case 1:g=Pr(f);(h=Qr(f))&&a.aa&&a.aa("web_enable_error_204")&&a.handleError(Error("Request failed due to compression"),b.url,f);if(!(a.aa&&a.aa("nwl_consider_error_code")&&g||a.aa&&!a.aa("nwl_consider_error_code")&&a.potentialEsfErrorCounter<=a.sc)){m.M(2);break}if(!a.ia.xc){m.M(3);break}return z(m,a.ia.xc(),3);case 3:if(a.ia.ya()){m.M(2);break}c(e,f);if(!a.aa||!a.aa("nwl_consider_error_code")||((l=b)==null?void 0:l.id)=== void 0){m.M(6);break}return z(m,a.fa.nd(b.id,a.Z,!1),6);case 6:return m.return();case 2:if(a.aa&&a.aa("nwl_consider_error_code")&&!g&&a.potentialEsfErrorCounter>a.sc)return m.return();a.potentialEsfErrorCounter++;if(((k=b)==null?void 0:k.id)===void 0){m.M(8);break}return b.sendCount=c?!1:!0} function Kr(a){if(!Ir(a))throw Error("IndexedDB is not supported: retryQueuedRequests");a.fa.Qd("QUEUED",a.Z).then(function(b){b&&!Nr(a,b,a.pe)?a.Da.Ga(function(){return B(function(c){if(c.g==1)return b.id===void 0?c.M(2):z(c,a.fa.nd(b.id,a.Z),2);Kr(a);c.g=0})}):a.ia.ya()&&a.Tb()})} function Mr(a,b){a.Ke&&!a.ia.ya()?a.Ke(b):a.handleError(b)} function Ir(a){return!!a.Z||a.Xb} function Pr(a){var b;return(a=a==null?void 0:(b=a.error)==null?void 0:b.code)&&a>=400&&a<=599?!1:!0} function Qr(a){var b;a=a==null?void 0:(b=a.error)==null?void 0:b.code;return!(a!==400&&a!==415)} ;var Rr; function Sr(){if(Rr)return Rr();var a={};Rr=Jq("LogsDatabaseV2",{wb:(a.LogsRequestsStore={Fb:2},a),shared:!1,upgrade:function(b,c,d){c(2)&&Tp(b,"LogsRequestsStore",{keyPath:"id",autoIncrement:!0});c(3);c(5)&&(d=d.objectStore("LogsRequestsStore"),d.g.indexNames.contains("newRequest")&&d.g.deleteIndex("newRequest"),$p(d,"newRequestV2",["status","interface","timestamp"]));c(7)&&b.g.objectStoreNames.contains("sapisid")&&b.g.deleteObjectStore("sapisid");c(9)&&b.g.objectStoreNames.contains("SWHealthLog")&&b.g.deleteObjectStore("SWHealthLog")}, version:9});return Rr()} ;function Tr(a){return mq(Sr(),a)} function Ur(a,b){var c,d,e,f;return B(function(g){if(g.g==1)return c={startTime:Y(),infos:{transactionType:"YT_IDB_TRANSACTION_TYPE_WRITE"},ticks:{}},z(g,Tr(b),2);if(g.g!=3)return d=g.l,e=Object.assign({},a,{options:JSON.parse(JSON.stringify(a.options)),interface:S("INNERTUBE_CONTEXT_CLIENT_NAME",0)}),z(g,Vp(d,"LogsRequestsStore",e),3);f=g.l;c.ticks.tc=Y();Vr(c);return g.return(f)})} function Wr(a,b){var c,d,e,f,g,h,l,k;return B(function(m){if(m.g==1)return c={startTime:Y(),infos:{transactionType:"YT_IDB_TRANSACTION_TYPE_READ"},ticks:{}},z(m,Tr(b),2);if(m.g!=3)return d=m.l,e=S("INNERTUBE_CONTEXT_CLIENT_NAME",0),f=[a,e,0],g=[a,e,Y()],h=IDBKeyRange.bound(f,g),l="prev",T("use_fifo_for_networkless")&&(l="next"),k=void 0,z(m,Sp(d,["LogsRequestsStore"],{mode:"readwrite",qa:!0},function(p){return fq(p.objectStore("LogsRequestsStore").index("newRequestV2"),{query:h,direction:l},function(r){r.cursor.value&& (k=r.cursor.value,a==="NEW"&&(k.status="QUEUED",r.update(k)))})}),3); c.ticks.tc=Y();Vr(c);return m.return(k)})} function Xr(a,b){var c;return B(function(d){if(d.g==1)return z(d,Tr(b),2);c=d.l;return d.return(Sp(c,["LogsRequestsStore"],{mode:"readwrite",qa:!0},function(e){var f=e.objectStore("LogsRequestsStore");return f.get(a).then(function(g){if(g)return g.status="QUEUED",Op(f.g.put(g,void 0)).then(function(){return g})})}))})} function Yr(a,b,c,d){c=c===void 0?!0:c;var e;return B(function(f){if(f.g==1)return z(f,Tr(b),2);e=f.l;return f.return(Sp(e,["LogsRequestsStore"],{mode:"readwrite",qa:!0},function(g){var h=g.objectStore("LogsRequestsStore");return h.get(a).then(function(l){return l?(l.status="NEW",c&&(l.sendCount+=1),d!==void 0&&(l.options.compress=d),Op(h.g.put(l,void 0)).then(function(){return l})):Hp.resolve(void 0)})}))})} function Zr(a,b){var c;return B(function(d){if(d.g==1)return z(d,Tr(b),2);c=d.l;return d.return(c.delete("LogsRequestsStore",a))})} function $r(a){var b,c;return B(function(d){if(d.g==1)return z(d,Tr(a),2);b=d.l;c=Y()-2592E6;return z(d,Sp(b,["LogsRequestsStore"],{mode:"readwrite",qa:!0},function(e){return bq(e.objectStore("LogsRequestsStore"),{},function(f){if(f.cursor.value.timestamp<=c)return f.delete().then(function(){return cq(f)})})}),0)})} function as(){B(function(a){return z(a,Fq(),0)})} function Vr(a){T("nwl_csi_killswitch")||hr("networkless_performance",a,{sampleRate:1})} ;var bs={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,vrCowatchUserStartOrJoinEvent:504,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,mdeExporterEvent:497,genericClientExperimentEvent:423,homePreloadTaskScheduled:424,homePreloadTaskExecuted:425,homePreloadCacheHit:426,polymerPropertyChangedInObserver:427,applicationStarted:431,networkCronetRttBatch:432,networkCronetRttSummary:433,repeatChapterLoopEvent:436,seekCancellationEvent:462,lockModeTimeoutEvent:483,externalVideoShareToYoutubeAttempt:501,parentCodeEvent:502,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,kidsGuestSessionMismatch:498,musicSideloadedPlaylistMigrationEvent:499,sleepTimerSessionFinishEvent:500,watchEpPromoConflict:503};var cs={},ds=Jq("ServiceWorkerLogsDatabase",{wb:(cs.SWHealthLog={Fb:1},cs),shared:!0,upgrade:function(a,b){b(1)&&$p(Tp(a,"SWHealthLog",{keyPath:"id",autoIncrement:!0}),"swHealthNewRequest",["interface","timestamp"])}, version:1});function es(a){return mq(ds(),a)} function fs(a){var b,c;B(function(d){if(d.g==1)return z(d,es(a),2);b=d.l;c=Y()-2592E6;return z(d,Sp(b,["SWHealthLog"],{mode:"readwrite",qa:!0},function(e){return bq(e.objectStore("SWHealthLog"),{},function(f){if(f.cursor.value.timestamp<=c)return f.delete().then(function(){return cq(f)})})}),0)})} function gs(a){var b;return B(function(c){if(c.g==1)return z(c,es(a),2);b=c.l;return z(c,b.clear("SWHealthLog"),0)})} ;var hs={},is=0;function js(a){var b=new Image,c=""+is++;hs[c]=b;b.onload=b.onerror=function(){delete hs[c]}; b.src=a} ;var ks;function ls(){ks||(ks=new kp("yt.offline"));return ks} function ms(a){if(T("offline_error_handling")){var b=ls().get("errors",!0)||{};b[a.message]={name:a.name,stack:a.stack};a.level&&(b[a.message].level=a.level);ls().set("errors",b,2592E3,!0)}} ;function ns(){this.g=new Map;this.l=!1} function os(){if(!ns.g){var a=D("yt.networkRequestMonitor.instance")||new ns;G("yt.networkRequestMonitor.instance",a);ns.g=a}return ns.g} ns.prototype.requestComplete=function(a,b){b&&(this.l=!0);a=this.removeParams(a);this.g.get(a)||this.g.set(a,b)}; ns.prototype.isEndpointCFR=function(a){a=this.removeParams(a);return(a=this.g.get(a))?!1:a===!1&&this.l?!0:null}; ns.prototype.removeParams=function(a){return a.split("?")[0]}; ns.prototype.removeParams=ns.prototype.removeParams;ns.prototype.isEndpointCFR=ns.prototype.isEndpointCFR;ns.prototype.requestComplete=ns.prototype.requestComplete;ns.getInstance=os;function Z(){Jc.call(this);var a=this;this.i=!1;this.l=Vf();this.l.ra("networkstatus-online",function(){if(a.i&&T("offline_error_handling")){var b=ls().get("errors",!0);if(b){for(var c in b)if(b[c]){var d=new Ao(c,"sent via offline_errors");d.name=b[c].name;d.stack=b[c].stack;d.level=b[c].level;In(d)}ls().set("errors",{},2592E3,!0)}}})} y(Z,Jc);function ps(){if(!Z.g){var a=D("yt.networkStatusManager.instance")||new Z;G("yt.networkStatusManager.instance",a);Z.g=a}return Z.g} n=Z.prototype;n.ya=function(){return this.l.ya()}; n.eb=function(a){this.l.l=a}; n.vf=function(){var a=window.navigator.onLine;return a===void 0?!0:a}; n.gf=function(){this.i=!0}; n.ra=function(a,b){return this.l.ra(a,b)}; n.xc=function(a){a=Tf(this.l,a);a.then(function(b){T("use_cfr_monitor")&&os().requestComplete("generate_204",b)}); return a}; Z.prototype.sendNetworkCheckRequest=Z.prototype.xc;Z.prototype.listen=Z.prototype.ra;Z.prototype.enableErrorFlushing=Z.prototype.gf;Z.prototype.getWindowStatus=Z.prototype.vf;Z.prototype.networkStatusHint=Z.prototype.eb;Z.prototype.isNetworkAvailable=Z.prototype.ya;Z.getInstance=ps;function qs(a){a=a===void 0?{}:a;Jc.call(this);var b=this;this.l=this.s=0;this.i=ps();var c=D("yt.networkStatusManager.instance.listen").bind(this.i);c&&(a.vc?(this.vc=a.vc,c("networkstatus-online",function(){rs(b,"publicytnetworkstatus-online")}),c("networkstatus-offline",function(){rs(b,"publicytnetworkstatus-offline")})):(c("networkstatus-online",function(){Kc(b,"publicytnetworkstatus-online")}),c("networkstatus-offline",function(){Kc(b,"publicytnetworkstatus-offline")})))} y(qs,Jc);qs.prototype.ya=function(){var a=D("yt.networkStatusManager.instance.isNetworkAvailable");return a?a.bind(this.i)():!0}; qs.prototype.eb=function(a){var b=D("yt.networkStatusManager.instance.networkStatusHint").bind(this.i);b&&b(a)}; qs.prototype.xc=function(a){var b=this,c;return B(function(d){c=D("yt.networkStatusManager.instance.sendNetworkCheckRequest").bind(b.i);return T("skip_network_check_if_cfr")&&os().isEndpointCFR("generate_204")?d.return(new Promise(function(e){var f;b.eb(((f=window.navigator)==null?void 0:f.onLine)||!0);e(b.ya())})):c?d.return(c(a)):d.return(!0)})}; function rs(a,b){a.vc?a.l?(Wf.xa(a.s),a.s=Wf.Ga(function(){a.o!==b&&(Kc(a,b),a.o=b,a.l=Y())},a.vc-(Y()-a.l))):(Kc(a,b),a.o=b,a.l=Y()):Kc(a,b)} ;var ss;function ts(){var a=Hr.call;ss||(ss=new qs({ai:!0,Nh:!0}));a.call(Hr,this,{fa:{Xe:$r,mb:Zr,Qd:Wr,ng:Xr,nd:Yr,set:Ur},ia:ss,handleError:function(b,c,d){var e,f=d==null?void 0:(e=d.error)==null?void 0:e.code;if(f===400||f===415){var g;Jn(new Ao(b.message,c,d==null?void 0:(g=d.error)==null?void 0:g.code),void 0,void 0,void 0,!0)}else In(b)}, pb:Jn,sendFn:us,now:Y,Ke:ms,Da:jp(),gd:"publicytnetworkstatus-online",dd:"publicytnetworkstatus-offline",hc:!0,cc:.1,sc:V("potential_esf_error_limit",10),aa:T,Jb:!(Bo()&&Ib(document.location.toString())!=="www.youtube-nocookie.com")});this.i=new Dl;T("networkless_immediately_drop_all_requests")&&as();Gq("LogsDatabaseV2")} y(ts,Hr);function vs(){var a=D("yt.networklessRequestController.instance");a||(a=new ts,G("yt.networklessRequestController.instance",a),T("networkless_logging")&&yq().then(function(b){a.Z=b;Jr(a);a.i.resolve();a.hc&&Math.random()<=a.cc&&a.Z&&fs(a.Z);T("networkless_immediately_drop_sw_health_store")&&ws(a)})); return a} ts.prototype.writeThenSend=function(a,b){b||(b={});b=xs(a,b);Bo()||(this.g=!1);Hr.prototype.writeThenSend.call(this,a,b)}; ts.prototype.sendThenWrite=function(a,b,c){b||(b={});b=xs(a,b);Bo()||(this.g=!1);Hr.prototype.sendThenWrite.call(this,a,b,c)}; ts.prototype.sendAndWrite=function(a,b){b||(b={});b=xs(a,b);Bo()||(this.g=!1);Hr.prototype.sendAndWrite.call(this,a,b)}; ts.prototype.awaitInitialization=function(){return this.i.promise}; function ws(a){var b;B(function(c){if(!a.Z)throw b=Dp("clearSWHealthLogsDb"),b;return c.return(gs(a.Z).catch(function(d){a.handleError(d)}))})} function us(a,b,c,d){d=d===void 0?!1:d;b=T("web_fp_via_jspb")?Object.assign({},b):b;T("use_cfr_monitor")&&ys(a,b);if(T("use_request_time_ms_header"))b.headers&&Sn(a)&&(b.headers["X-Goog-Request-Time"]=JSON.stringify(Math.round(Y())));else{var e;if((e=b.postParams)==null?0:e.requestTimeMs)b.postParams.requestTimeMs=Math.round(Y())}if(c&&Object.keys(b).length===0){var f=f===void 0?"":f;var g=g===void 0?!1:g;var h=h===void 0?!1:h;if(a)if(f)fo(a,void 0,"POST",f,void 0);else if(S("USE_NET_AJAX_FOR_PING_TRANSPORT", !1)||h)fo(a,void 0,"GET","",void 0,void 0,g,h);else{b:{try{var l=new Qa({url:a});if(l.i&&l.l||l.m){var k=Hb(a.match(Gb)[5]||null),m;if(!(m=!k||!k.endsWith("/aclk"))){var p=a.search(Pb),r=Ob(a,0,"ri",p);if(r<0)var q=null;else{var t=a.indexOf("&",r);if(t<0||t>p)t=p;q=Fb(a.slice(r+3,t!==-1?t:0))}m=q!=="1"}var u=!m;break b}}catch(K){}u=!1}if(u){b:{try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,"")){var A=!0;break b}}catch(K){}A=!1}c=A?!0:!1}else c=!1;c||js(a)}}else b.compress? b.postBody?(typeof b.postBody!=="string"&&(b.postBody=JSON.stringify(b.postBody)),zr(a,b.postBody,b,jo,d)):zr(a,JSON.stringify(b.postParams),b,io,d):jo(a,b)} function xs(a,b){T("use_event_time_ms_header")&&Sn(a)&&(b.headers||(b.headers={}),b.headers["X-Goog-Event-Time"]=JSON.stringify(Math.round(Y())));return b} function ys(a,b){var c=b.onError?b.onError:function(){}; b.onError=function(e,f){os().requestComplete(a,!1);c(e,f)}; var d=b.onSuccess?b.onSuccess:function(){}; b.onSuccess=function(e,f){os().requestComplete(a,!0);d(e,f)}} ;var zs=C.ytNetworklessLoggingInitializationOptions||{isNwlInitialized:!1};G("ytNetworklessLoggingInitializationOptions",zs);function As(a){var b=this;this.config_=null;a?this.config_=a:Vq()&&(this.config_=Wq());Eo(function(){Fr(b)},5E3)} As.prototype.isReady=function(){!this.config_&&Vq()&&(this.config_=Wq());return!!this.config_}; function Gr(a,b,c,d){function e(t){t=t===void 0?!1:t;var u;if(d.retry&&h!="www.youtube-nocookie.com"&&(t||T("skip_ls_gel_retry")||g.headers["Content-Type"]!=="application/json"||(u=Dr(b,c,k,l)),u)){var A=g.onSuccess,K=g.onFetchSuccess;g.onSuccess=function(U,da){Er(u);A(U,da)}; c.onFetchSuccess=function(U,da){Er(u);K(U,da)}}try{if(t&&d.retry&&!d.networklessOptions.bypassNetworkless)g.method="POST",d.networklessOptions.writeThenSend?vs().writeThenSend(q,g):vs().sendAndWrite(q,g); else if(d.compress){var O=!d.networklessOptions.writeThenSend;if(g.postBody){var X=g.postBody;typeof X!=="string"&&(X=JSON.stringify(g.postBody));zr(q,X,g,jo,O)}else zr(q,JSON.stringify(g.postParams),g,io,O)}else T("web_all_payloads_via_jspb")?jo(q,g):io(q,g)}catch(U){if(U.name==="InvalidAccessError")u&&(Er(u),u=0),Jn(Error("An extension is blocking network request."));else throw U;}u&&Eo(function(){Fr(a)},5E3)} !S("VISITOR_DATA")&&b!=="visitor_id"&&Math.random()<.01&&Jn(new Ao("Missing VISITOR_DATA when sending innertube request.",b,c,d));if(!a.isReady()){var f=new Ao("innertube xhrclient not ready",b,c,d);In(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(t,u){if(d.onSuccess)d.onSuccess(u)}, onFetchSuccess:function(t){if(d.onSuccess)d.onSuccess(t)}, onError:function(t,u){if(d.onError)d.onError(u)}, onFetchError:function(t){if(d.onError)d.onError(t)}, timeout:d.timeout,withCredentials:!0,compress:d.compress};g.headers["Content-Type"]||(g.headers["Content-Type"]="application/json");var h="";(f=a.config_.Zf)&&(h=f);var l=a.config_.bg||!1,k=dr(l,h,d);Object.assign(g.headers,k);(f=g.headers.Authorization)&&!h&&l&&(g.headers["x-origin"]=window.location.origin);var m="/youtubei/"+a.config_.Xf+"/"+b,p={alt:"json"},r=a.config_.ag&&f;r=r&&f.startsWith("Bearer");r||(p.key=a.config_.Wf);var q=Rn(""+h+m,p||{},!0);D("ytNetworklessLoggingInitializationOptions")&& zs.isNwlInitialized?wq().then(function(t){e(t)}):e(!1)} ;var Bs=0;G("ytDomDomGetNextId",D("ytDomDomGetNextId")||function(){return++Bs});G("ytEventsEventsListeners",C.ytEventsEventsListeners||{});G("ytEventsEventsCounter",C.ytEventsEventsCounter||{count:0});var Cs=C.ytPubsubPubsubInstance||new P,Ds=C.ytPubsubPubsubSubscribedKeys||{},Es=C.ytPubsubPubsubTopicToKeys||{},Fs=C.ytPubsubPubsubIsSynchronous||{};P.prototype.subscribe=P.prototype.subscribe;P.prototype.unsubscribeByKey=P.prototype.Bc;P.prototype.publish=P.prototype.oe;P.prototype.clear=P.prototype.clear;G("ytPubsubPubsubInstance",Cs);G("ytPubsubPubsubTopicToKeys",Es);G("ytPubsubPubsubIsSynchronous",Fs);G("ytPubsubPubsubSubscribedKeys",Ds);var Gs=Symbol("injectionDeps");function Hs(){this.key=Sq} function Is(){this.l=new Map;this.g=new Map} Is.prototype.resolve=function(a){return a instanceof Hs?Js(this,a.key,[],!0):Js(this,a,[])}; function Js(a,b,c,d){d=d===void 0?!1:d;if(c.indexOf(b)>-1)throw Error("Deps cycle for: "+b);if(a.g.has(b))return a.g.get(b);if(!a.l.has(b)){if(d)return;throw Error("No provider for: "+b);}d=a.l.get(b);c.push(b);if(d.Vg!==void 0)var e=d.Vg;else if(d.Ug)e=d[Gs]?Ks(a,d[Gs],c):[],e=d.Ug.apply(d,x(e));else if(d.Tg){e=d.Tg;var f=e[Gs]?Ks(a,e[Gs],c):[];e=new (Function.prototype.bind.apply(e,[null].concat(x(f))))}else throw Error("Could not resolve providers for: "+b);c.pop();d.oi||a.g.set(b,e);return e} function Ks(a,b,c){return b?b.map(function(d){return d instanceof Hs?Js(a,d.key,c,!0):Js(a,d,c)}):[]} ;var Ls;function Ms(){Ls||(Ls=new Is);return Ls} ;var Ns=window;function Os(){var a,b;return"h5vcc"in Ns&&((a=Ns.h5vcc.traceEvent)==null?0:a.traceBegin)&&((b=Ns.h5vcc.traceEvent)==null?0:b.traceEnd)?1:"performance"in Ns&&Ns.performance.mark&&Ns.performance.measure?2:0} function Ps(a){switch(Os()){case 1:Ns.h5vcc.traceEvent.traceBegin("YTLR",a);break;case 2:Ns.performance.mark(a+"-start");break;case 0:break;default:Cb()}} function Qs(a){switch(Os()){case 1:Ns.h5vcc.traceEvent.traceEnd("YTLR",a);break;case 2:var b=a+"-start",c=a+"-end";Ns.performance.mark(c);Ns.performance.measure(a,b,c);break;case 0:break;default:Cb()}} ;var Rs=T("web_enable_lifecycle_monitoring")&&Os()!==0,Ss=T("web_enable_lifecycle_monitoring");function Ts(a){var b=this;var c=c===void 0?0:c;var d=d===void 0?jp():d;this.m=c;this.l=d;this.i=new Dl;this.g=a;for(a={bb:0};a.bb=1E3?e():d>=a?tt||(tt=Lt(function(){e();tt=void 0},0)):g-l>=10&&(Mt(f,c.tier),h.m=g)} function Ht(a,b){if(a.endpoint==="log_event"){Dt(a);var c=Et(a),d=new Map;d.set(c,[a.payload]);var e=Ft(a.payload)||"";b&&(nt=new b);return new wd(function(f,g){nt&&nt.isReady()?Nt(d,nt,f,g,{bypassNetworkless:!0},!0,e==="gelDebuggingEvent"):f()})}} function Et(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);xt[a.cttAuthInfo.token]=c;b=a.cttAuthInfo.token}return b} function Jt(a,b,c){var d={writeThenSend:!0};d=d===void 0?{}:d;b=b===void 0?!1:b;new wd(function(e,f){var g=Kt(b,c),h=g.i;g.i=!1;Ot(g.l);Ot(g.g);g.g=0;nt&&nt.isReady()?c===void 0&&T("enable_web_tiered_gel")?Pt(e,f,d,a,b,300,h):Pt(e,f,d,a,b,c,h):(Mt(b,c),e())})} function Pt(a,b,c,d,e,f,g){var h=nt;c=c===void 0?{}:c;e=e===void 0?!1:e;f=f===void 0?200:f;g=g===void 0?!1:g;var l=new Map,k=new Map,m={isJspb:e,cttAuthInfo:d,tier:f},p={isJspb:e,cttAuthInfo:d};if(d!==void 0)e?(b=T("enable_web_tiered_gel")?Bt().smartExtractMatchingEntries({keys:[m,p],sizeLimit:1E3}):Bt().extractMatchingEntries(p),l.set(d,b),Qt(l,h,a,c,g)):(l=T("enable_web_tiered_gel")?Bt().smartExtractMatchingEntries({keys:[m,p],sizeLimit:1E3}):Bt().extractMatchingEntries(p),k.set(d,l),Nt(k,h,a,b, c,!1,g));else if(e){b=w(Object.keys(At));for(k=b.next();!k.done;k=b.next())k=k.value,f=T("enable_web_tiered_gel")?Bt().smartExtractMatchingEntries({keys:[m,p],sizeLimit:1E3}):Bt().extractMatchingEntries({isJspb:!0,cttAuthInfo:k}),f.length>0&&l.set(k,f),(T("web_fp_via_jspb_and_json")&&c.writeThenSend||!T("web_fp_via_jspb_and_json"))&&delete At[k];Qt(l,h,a,c,g)}else{l=w(Object.keys(At));for(m=l.next();!m.done;m=l.next())m=m.value,p=T("enable_web_tiered_gel")?Bt().smartExtractMatchingEntries({keys:[{isJspb:!1, cttAuthInfo:m,tier:f},{isJspb:!1,cttAuthInfo:m}],sizeLimit:1E3}):Bt().extractMatchingEntries({isJspb:!1,cttAuthInfo:m}),p.length>0&&k.set(m,p),(T("web_fp_via_jspb_and_json")&&c.writeThenSend||!T("web_fp_via_jspb_and_json"))&&delete At[m];Nt(k,h,a,b,c,!1,g)}} function Mt(a,b){function c(){Jt(void 0,a,b)} a=a===void 0?!1:a;b=b===void 0?200:b;var d=Kt(a,b),e=d===st||d===rt?5E3:kt;T("web_gel_timeout_cap")&&!d.g&&(e=Lt(function(){c()},e),d.g=e); Ot(d.l);e=S("LOGGING_BATCH_TIMEOUT",V("web_gel_debounce_ms",1E4));T("shorten_initial_gel_batch_timeout")&&ut&&(e=jt);e=Lt(function(){V("gel_min_batch_size")>0?Bt().getSequenceCount({cttAuthInfo:void 0,isJspb:a,tier:b})>=mt&&c():c()},e); d.l=e} function Nt(a,b,c,d,e,f,g){e=e===void 0?{}:e;var h=Math.round(Y()),l=a.size,k=Rt(g);a=w(a);var m=a.next();for(g={};!m.done;g={cd:void 0,batchRequest:void 0,dangerousLogToVisitorSession:void 0,fd:void 0,ed:void 0},m=a.next()){var p=w(m.value);m=p.next().value;p=p.next().value;g.batchRequest=tb({context:Xq(b.config_||Wq())});if(!Ja(p)&&!T("throw_err_when_logevent_malformed_killswitch")){d();break}g.batchRequest.events=p;(p=xt[m])&&St(g.batchRequest,m,p);delete xt[m];g.dangerousLogToVisitorSession=m=== "visitorOnlyApprovedKey";Tt(g.batchRequest,h,g.dangerousLogToVisitorSession);Ut(e);g.fd=function(r){T("start_client_gcf")&&Wf.Ga(function(){return B(function(q){return z(q,Vt(r),0)})}); l--;l||c()}; g.cd=0;g.ed=function(r){return function(){r.cd++;if(e.bypassNetworkless&&r.cd===1)try{Gr(b,k,r.batchRequest,Wt({writeThenSend:!0},r.dangerousLogToVisitorSession,r.fd,r.ed,f)),ut=!1}catch(q){In(q),d()}l--;l||c()}}(g); try{Gr(b,k,g.batchRequest,Wt(e,g.dangerousLogToVisitorSession,g.fd,g.ed,f)),ut=!1}catch(r){In(r),d()}}} function Qt(a,b,c,d,e){d=d===void 0?{}:d;var f=Math.round(Y()),g={value:a.size},h=new Map([].concat(x(a))),l=w(h);for(h=l.next();!h.done;h=l.next()){var k=w(h.value).next().value,m=a.get(k);h=new un;var p=b.config_||Wq(),r=new pn,q=new hn;J(q,1,p.ce);J(q,2,p.be);sf(q,16,p.Yf);J(q,17,p.ae);if(p.Tc){var t=p.Tc,u=new en;t.coldConfigData&&J(u,1,t.coldConfigData);t.appInstallData&&J(u,6,t.appInstallData);t.coldHashData&&J(u,3,t.coldHashData);t.hotHashData&&u.g(t.hotHashData);lf(q,en,62,u)}if((t=C.devicePixelRatio)&& t!=1){if(t!=null&&typeof t!=="number")throw Error("Value of float/double field must be a number, found "+typeof t+": "+t);ef(q,65,t)}t=S("EXPERIMENTS_TOKEN","");t!==""&&J(q,54,t);t=Dn();if(t.length>0){u=new ln;for(var A=0;Alt&&(a=1);zn("BATCH_CLIENT_COUNTER",a);return a} function St(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 Dt(a){if(!D("yt.logging.transport.enableScrapingForTest")){var b=Cn("il_payload_scraping");if((b!==void 0?String(b):"")==="enable_il_payload_scraping")et=[],G("yt.logging.transport.enableScrapingForTest",!0),G("yt.logging.transport.scrapedPayloadsForTesting",et),G("yt.logging.transport.payloadToScrape","visualElementShown visualElementHidden visualElementAttached screenCreated visualElementGestured visualElementStateChanged".split(" ")),G("yt.logging.transport.getScrapedPayloadFromClientEventsFunction"), G("yt.logging.transport.scrapeClientEvent",!0);else return}b=D("yt.logging.transport.scrapedPayloadsForTesting");var c=D("yt.logging.transport.payloadToScrape"),d=D("yt.logging.transport.scrapeClientEvent");if(c&&c.length>=1)for(var e=0;e=0||!e&&a.lastIndexOf("/",0)==0)if(d=document.createElement("a"),mb(d,a),a=d.href)if(a=Jb(a),a=Kb(a))if(c&&!b.csn&&(b.itct||b.ved)&&(b=Object.assign({csn:tu()},b)),f){var f=parseInt(f,10);isFinite(f)&&f>0&&xu(a,b,f)}else xu(a,b)} function xu(a,b,c){a=yu(a);b=b?Mb(b):"";c=c||5;(Pf()||(Od||Pd)&&Un("applewebkit")&&!Un("version")&&(!Un("safari")||Un("gsa/"))||mc&&Un("version/")||!S("EOM_VISITOR_DATA"))&&En(a,b,c)} function yu(a){var b=a;a=w(vu);for(var c=a.next();!c.done;c=a.next()){for(var d=c.value,e=b.search(Pb),f=0,g=[];(c=Ob(b,f,d,e))>=0;)g.push(b.substring(f,c)),f=Math.min(b.indexOf("&",c)+1||e,e);g.push(b.slice(f));b=g.join("").replace(Qb,"$1")}for(c=a=0;c>>0;return"ST-"+a.toString(36)} ;new P;function zu(){var a=!1;try{a=!!window.sessionStorage.getItem("session_logininfo")}catch(b){a=!0}return(S("INNERTUBE_CLIENT_NAME")==="WEB"||S("INNERTUBE_CLIENT_NAME")==="WEB_CREATOR")&&a} ;function Au(a,b){b=b?{feature:b}:{};var c=S("EVENT_ID");c&&(b.ei=c,c=((c=document.getElementById("masthead-search"))?c.dataset?c.dataset[Bn()]:c.getAttribute("data-clicktracking"):null)||"",b.ved=c,wu(a,b));b=D("yt.window.navigate");try{b(a)}catch(h){var d=d===void 0?{}:d;var e=e===void 0?"":e;var f=f===void 0?window:f;a=Nb(a,d);S("LOGGED_IN",!0)&&zu()&&(d=S("VALID_SESSION_TEMPDATA_DOMAINS",[]),(b=Ib(window.location.href))&&d.push(b),b=Ib(a),nb(d,b)>=0||!b&&a.lastIndexOf("/",0)==0?(d=Jb(a),(d=Kb(d))? (d=yu(d),d=(d=Nf.get(""+d,void 0)||null)?Qn(d):{}):d=null):d=null,d==null&&(d={}),b=d,c=void 0,zu()?(c||(c=S("LOGIN_INFO")),c?(b.session_logininfo=c,b=!0):b=!1):b=!1,b&&wu(a,d));e=a+e;var g=g===void 0?eb:g;a:if(g=g===void 0?eb:g,e instanceof ab)g=e;else{for(a=0;a