(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var m;function aa(a){var b=0;return function(){return b=f}}); na("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=oa(this,b,"startsWith");b+="";for(var e=d.length,f=b.length,h=Math.max(0,Math.min(c|0,d.length)),g=0;g=f}}); function pa(){pa=function(){}; ma.Symbol||(ma.Symbol=qa)} function ra(a,b){this.f=a;ka(this,"description",{configurable:!0,writable:!0,value:b})} ra.prototype.toString=function(){return this.f}; var qa=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new ra("jscomp_symbol_"+(c||"")+"_"+b++,c)} var b=0;return a}(); function sa(){pa();var a=ma.Symbol.iterator;a||(a=ma.Symbol.iterator=ma.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&ka(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ta(aa(this))}}); sa=function(){}} function ta(a){sa();a={next:a};a[ma.Symbol.iterator]=function(){return this}; return a} function ua(a,b){return Object.prototype.hasOwnProperty.call(a,b)} var va="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c>>0),Ga=0;function Ha(a,b,c){return a.call.apply(a.bind,arguments)} function Ia(a,b,c){if(!a)throw Error();if(2c?null:"string"===typeof a?a.charAt(c):a[c]} function Ta(a,b){return 0<=Na(a,b)} function Ua(a){return Array.prototype.concat.apply([],arguments)} function Va(a){var b=a.length;if(0=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)} function $a(a){for(var b=[],c=0;cb?1:0} ;var eb;a:{var fb=n.navigator;if(fb){var gb=fb.userAgent;if(gb){eb=gb;break a}}eb=""}function A(a){return-1!=eb.indexOf(a)} ;function hb(a,b,c){for(var d in a)b.call(c,a[d],d,a)} function ib(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b} function jb(a){var b=kb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c} function lb(a){for(var b in a)return!1;return!0} function mb(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(var d in b)if(!(d in a))return!1;return!0} function nb(a){var b=Aa(a);if("object"==b||"array"==b){if(Ca(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=nb(a[c]);return b}return a} var ob="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function pb(a,b){for(var c,d,e=1;e");var Jb=Ib("");Ib("
");var Kb=ab(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=Hb(Jb);return!b.parentElement}); function Lb(a,b){if(Kb())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=Hb(b)} function Mb(a){var b=new yb(zb,xb instanceof ub&&xb.constructor===ub&&xb.g===wb?xb.f:"type_error:Const");a.src=(b instanceof yb&&b.constructor===yb&&b.g===Ab?b.f:"type_error:TrustedResourceUrl").toString()} ;function Nb(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})} function Ob(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})} ;function Pb(){return A("iPhone")&&!A("iPod")&&!A("iPad")} function Qb(){return Pb()||A("iPad")||A("iPod")} ;function Rb(a){Rb[" "](a);return a} Rb[" "]=ya;function Sb(a,b){var c=Tb;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)} ;var Ub=A("Opera"),B=A("Trident")||A("MSIE"),Vb=A("Edge"),Wb=Vb||B,Xb=A("Gecko")&&!(-1!=eb.toLowerCase().indexOf("webkit")&&!A("Edge"))&&!(A("Trident")||A("MSIE"))&&!A("Edge"),Yb=-1!=eb.toLowerCase().indexOf("webkit")&&!A("Edge"),Zb=A("Macintosh"),$b=A("Windows"),ac=A("Android"),bc=Pb(),cc=A("iPad"),dc=A("iPod"),ec=Qb();function fc(){var a=n.document;return a?a.documentMode:void 0} var gc;a:{var hc="",ic=function(){var a=eb;if(Xb)return/rv:([^\);]+)(\)|;)/.exec(a);if(Vb)return/Edge\/([\d\.]+)/.exec(a);if(B)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Yb)return/WebKit\/(\S+)/.exec(a);if(Ub)return/(?:Version)[ \/]?(\S+)/.exec(a)}(); ic&&(hc=ic?ic[1]:"");if(B){var kc=fc();if(null!=kc&&kc>parseFloat(hc)){gc=String(kc);break a}}gc=hc}var lc=gc,Tb={};function mc(a){return Sb(a,function(){return 0<=cb(lc,a)})} var nc;nc=n.document&&B?fc():void 0;var oc=qb(),pc=Pb()||A("iPod"),qc=A("iPad"),rc=tb(),sc=sb(),tc=rb()&&!Qb();var uc={},vc=null;var C=window;function wc(a){this.f=a||{cookie:""}} m=wc.prototype;m.isEnabled=function(){return navigator.cookieEnabled}; m.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.Vb;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var g=c.sa}if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');void 0===g&&(g=-1);c=f?";domain="+f:"";h=h?";path="+h:"";d=d?";secure":"";g=0>g?"":0==g?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Ka()+1E3*g)).toUTCString();this.f.cookie=a+"="+b+c+h+g+d+(null!=e?";samesite="+e: "")}; m.get=function(a,b){for(var c=a+"=",d=(this.f.cookie||"").split(";"),e=0,f;ea} function bd(a){if(zc&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];cd(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");zc||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a} function cd(a,b,c){if(!(a.nodeName in Wc))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in Xc)b.push(Xc[a.nodeName]);else for(a=a.firstChild;a;)cd(a,b,c),a=a.nextSibling} function dd(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return ed(a,function(f){return(!e||f.nodeName==e)&&(!c||"string"===typeof f.className&&Ta(f.className.split(/\s+/),c))},!0,d)} function H(a,b){return dd(a,null,b,void 0)} function ed(a,b,c,d){a&&!c&&(a=a.parentNode);for(c=0;a&&(null==d||c<=d);){if(b(a))return a;a=a.parentNode;c++}return null} function Dc(a){this.f=a||n.document||document} Dc.prototype.getElementsByTagName=function(a,b){return(b||this.f).getElementsByTagName(String(a))}; Dc.prototype.createElement=function(a){return Oc(this.f,a)}; Dc.prototype.appendChild=function(a,b){a.appendChild(b)}; Dc.prototype.isElement=Rc;var fd=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/\\#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function gd(a){return a.match(fd)} function hd(a){return a?decodeURI(a):a} function id(a,b){if(!b)return a;var c=a.indexOf("#");0>c&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);c=[a.substr(0,d),e,a.substr(c)];d=c[1];c[1]=b?d?d+"&"+b:b:d;return c[0]+(c[1]?"?"+c[1]:"")+c[2]} function jd(a,b,c){if(Array.isArray(b))for(var d=0;da.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null} function Cd(a){for(var b=new td(0,Infinity,Infinity,0),c=Cc(a),d=c.f.body,e=c.f.documentElement,f=Mc(c.f);a=Bd(a);)if(!(B&&0==a.clientWidth||Yb&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=zd(a,"overflow")){var h=Dd(a),g=new D(a.clientLeft,a.clientTop);h.x+=g.x;h.y+=g.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,f);c= Jc(Nc(c.f)||window);b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null} function Dd(a){var b=Ec(a),c=new D(0,0);var d=b?Ec(b):document;d=!B||9<=Number(nc)||Kc(Cc(d).f)?d.documentElement:d.body;if(a==d)return c;a=Ad(a);b=Lc(Cc(b).f);c.x=a.left+b.x;c.y=a.top+b.y;return c} function Ed(a){a=Ad(a);return new D(a.left,a.top)} function Fd(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a} function Gd(a){var b=Hd;if("none"!=zd(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a} function Hd(a){var b=a.offsetWidth,c=a.offsetHeight,d=Yb&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Ad(a),new Bc(a.right-a.left,a.bottom-a.top)):new Bc(b,c)} function Id(a){var b=Dd(a);a=Gd(a);return new ud(b.x,b.y,a.width,a.height)} function Jd(a){return"rtl"==zd(a,"direction")} function Kd(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;var e=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return+e} function Ld(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?Kd(a,c):0} var Md={thin:2,medium:4,thick:6};function Nd(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in Md?Md[c]:Kd(a,c)} ;var Od=(new Date).getTime();function Pd(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));a=a.substring(0,a.indexOf("://"));if("http"!==a&&"https"!==a&&"chrome-extension"!==a&&"file"!==a&&"android-app"!==a&&"chrome-search"!==a&&"app"!==a)throw Error("Invalid URI scheme in origin: "+a);c="";var d=b.indexOf(":");if(-1!=d){var e= b.substring(d+1);b=b.substring(0,d);if("http"===a&&"80"!==e||"https"===a&&"443"!==e)c=":"+e}return a+"://"+b+c} ;/* gapi.loader.OBJECT_CREATE_TEST_OVERRIDE &&*/ var Qd=window,Rd=document,Sd=Qd.location;function Td(){} var Ud=/\[native code\]/;function I(a,b,c){return a[b]=a[b]||c} function Vd(a){a=a.sort();for(var b=[],c=void 0,d=0;dr;r+=4)t[r/4]=q[r]<<24|q[r+1]<<16|q[r+2]<<8|q[r+3];for(r=16;80>r;r++)q=t[r-3]^t[r-8]^t[r-14]^t[r-16],t[r]=(q<<1|q>>>31)&4294967295;q=e[0];var u=e[1],Q=e[2],F=e[3],Wa=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var ea=F^u&(Q^F);var xa=1518500249}else ea=u^Q^F,xa=1859775393;else 60>r?(ea=u&Q|F&(u|Q),xa=2400959708):(ea=u^Q^F,xa=3395469782);ea=((q<<5|q>>>27)&4294967295)+ea+Wa+xa+t[r]&4294967295;Wa=F;F=Q;Q=(u<<30|u>>>2)&4294967295;u=q;q=ea}e[0]=e[0]+q&4294967295;e[1]=e[1]+ u&4294967295;e[2]=e[2]+Q&4294967295;e[3]=e[3]+F&4294967295;e[4]=e[4]+Wa&4294967295} function c(q,t){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var r=[],u=0,Q=q.length;ul?c(g,56-l):c(g,64-(l-56));for(var r=63;56<=r;r--)f[r]=t&255,t>>>=8;b(f);for(r=t=0;5>r;r++)for(var u=24;0<=u;u-=8)q[t++]=e[r]>>u&255;return q} for(var e=[],f=[],h=[],g=[128],k=1;64>k;++k)g[k]=0;var l,p;a();return{reset:a,update:c,digest:d,Ua:function(){for(var q=d(),t="",r=0;rf}f&&c.push(e)}return c} function Ce(){var a=J.nonce;return void 0!==a?a&&a===String(a)&&a.match(Ae)?a:J.nonce=null:Rd.querySelector?(a=Rd.querySelector("script[nonce]"))?(a=a.nonce||a.getAttribute("nonce")||"",a&&a===String(a)&&a.match(Ae)?J.nonce=a:J.nonce=null):null:null} function De(a){if("loading"!=Rd.readyState)Ee(a);else{var b=Ce(),c="";null!==b&&(c=' nonce="'+b+'"');a="<"+ze+' src="'+encodeURI(a)+'"'+c+">";Rd.write(a)}} function Ee(a){var b=Rd.createElement(ze);b.setAttribute("src",a);a=Ce();null!==a&&b.setAttribute("nonce",a);b.async="true";(a=Rd.getElementsByTagName(ze)[0])?a.parentNode.insertBefore(b,a):(Rd.head||Rd.body||Rd.documentElement).appendChild(b)} function Fe(a,b){var c=b&&b._c;if(c)for(var d=0;da&&0===a%1&&this.g[a]!=b&&(this.g[a]=b,this.f=-1)}; Ke.prototype.get=function(a){return!!this.g[a]}; function Le(a){-1==a.f&&(a.f=Qa(a.g,function(b,c,d){return c?b+Math.pow(2,d):b},0)); return a.f} ;function Me(a,b){this.i=a;this.l=b;this.g=0;this.f=null} Me.prototype.get=function(){if(0a.g&&(a.g++,b.next=a.f,a.f=b)} ;function Oe(a){n.setTimeout(function(){throw a;},0)} var Pe; function Qe(){var a=n.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!A("Presto")&&(a=function(){var e=Oc(document,"IFRAME");e.style.display="none";Mb(e);document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.write(Hb(Jb));e.close();var h="callImmediate"+Math.random(),g="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=w(function(k){if(("*"==g||k.origin==g)&&k.data==h)this.port1.onmessage()},this); f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(h,g)}}}); if("undefined"!==typeof a&&!A("Trident")&&!A("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.ia;c.ia=null;e()}}; return function(e){d.next={ia:e};d=d.next;b.port2.postMessage(0)}}return function(e){n.setTimeout(e,0)}} ;function Re(){this.g=this.f=null} var Te=new Me(function(){return new Se},function(a){a.reset()}); Re.prototype.add=function(a,b){var c=Te.get();c.set(a,b);this.g?this.g.next=c:this.f=c;this.g=c}; Re.prototype.remove=function(){var a=null;this.f&&(a=this.f,this.f=this.f.next,this.f||(this.g=null),a.next=null);return a}; function Se(){this.next=this.scope=this.f=null} Se.prototype.set=function(a,b){this.f=a;this.scope=b;this.next=null}; Se.prototype.reset=function(){this.next=this.scope=this.f=null};function Ue(a,b){Ve||We();Xe||(Ve(),Xe=!0);Ye.add(a,b)} var Ve;function We(){if(n.Promise&&n.Promise.resolve){var a=n.Promise.resolve(void 0);Ve=function(){a.then(Ze)}}else Ve=function(){var b=Ze; !Ca(n.setImmediate)||n.Window&&n.Window.prototype&&!A("Edge")&&n.Window.prototype.setImmediate==n.setImmediate?(Pe||(Pe=Qe()),Pe(b)):n.setImmediate(b)}} var Xe=!1,Ye=new Re;function Ze(){for(var a;a=Ye.remove();){try{a.f.call(a.scope)}catch(b){Oe(b)}Ne(Te,a)}Xe=!1} ;function $e(){this.g=-1} ;function af(){this.g=64;this.f=[];this.v=[];this.B=[];this.l=[];this.l[0]=128;for(var a=1;ae;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var f=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(f<<1|f>>>31)&4294967295}b=a.f[0];c=a.f[1];var h=a.f[2],g=a.f[3],k=a.f[4];for(e=0;80>e;e++){if(40>e)if(20>e){f=g^c&(h^g);var l=1518500249}else f=c^h^g,l=1859775393;else 60>e?(f=c&h|g&(c|h),l=2400959708): (f=c^h^g,l=3395469782);f=(b<<5|b>>>27)+f+k+l+d[e]&4294967295;k=g;g=h;h=(c<<30|c>>>2)&4294967295;c=b;b=f}a.f[0]=a.f[0]+b&4294967295;a.f[1]=a.f[1]+c&4294967295;a.f[2]=a.f[2]+h&4294967295;a.f[3]=a.f[3]+g&4294967295;a.f[4]=a.f[4]+k&4294967295} af.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.g,d=0,e=this.v,f=this.i;dthis.i?this.update(this.l,56-this.i):this.update(this.l,this.g-(this.i-56));for(var c=this.g-1;56<=c;c--)this.v[c]=b&255,b/=256;bf(this,this.v);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.f[c]>>d&255,++b;return a};function cf(){this.i=this.i;this.l=this.l} cf.prototype.i=!1;cf.prototype.X=function(){return this.i}; cf.prototype.dispose=function(){this.i||(this.i=!0,this.ba())}; cf.prototype.ba=function(){if(this.l)for(;this.l.length;)this.l.shift()()}; function df(a){a&&"function"==typeof a.dispose&&a.dispose()} ;function ef(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""} function ff(a){return a.classList?a.classList:ef(a).match(/\S+/g)||[]} function gf(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)} function K(a,b){return a.classList?a.classList.contains(b):Ta(ff(a),b)} function L(a,b){if(a.classList)a.classList.add(b);else if(!K(a,b)){var c=ef(a);gf(a,c+(0=a.length)throw pf;if(b in a)return a[b++];b++}}; return c}throw Error("Not implemented");} function sf(a,b){if(Ba(a))try{z(a,b,void 0)}catch(c){if(c!==pf)throw c;}else{a=rf(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==pf)throw c;}}} function tf(a){if(Ba(a))return Va(a);a=rf(a);var b=[];sf(a,function(c){b.push(c)}); return b} ;function uf(a,b){this.i={};this.f=[];this.M=this.g=0;var c=arguments.length;if(12*this.g&&wf(this),!0):!1}; function wf(a){if(a.g!=a.f.length){for(var b=0,c=0;b=d.f.length)throw pf;var f=d.f[b++];return a?f:d.i[f]}; return e};function yf(a){var b=[];zf(new Af,a,b);return b.join("")} function Af(){} function zf(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f=e.right)&&(f&=-2);132==(f&132)&&(d.y=e.bottom)&&(f&=-5);d.xe.right&&(g.width=Math.min(e.right-d.x, l+g.width-e.left),g.width=Math.max(g.width,0),k|=4)}d.x+g.width>e.right&&f&1&&(d.x=Math.max(e.right-g.width,e.left),k|=1);f&2&&(k|=(d.xe.right?32:0));d.ye.bottom&&(g.height=Math.min(e.bottom-d.y,l+g.height-e.top),g.height=Math.max(g.height,0),k|=8));d.y+g.height>e.bottom&&f&4&&(d.y=Math.max(e.bottom-g.height,e.top),k|=2);f&8&&(k|=(d.ye.bottom?128:0));e=k}else e= 256;k=e}f=new ud(0,0,0,0);f.left=a.x;f.top=a.y;f.width=h.width;f.height=h.height;e=k;if(e&496)return e;a=new D(f.left,f.top);a instanceof D?(h=a.x,a=a.y):(h=a,a=void 0);b.style.left=Fd(h,!1);b.style.top=Fd(a,!1);h=new Bc(f.width,f.height);c==h||c&&h&&c.width==h.width&&c.height==h.height||(c=h,a=Kc(Cc(Ec(b)).f),!B||mc("10")||a&&mc("8")?(b=b.style,Xb?b.MozBoxSizing="border-box":Yb?b.WebkitBoxSizing="border-box":b.boxSizing="border-box",b.width=Math.max(c.width,0)+"px",b.height=Math.max(c.height,0)+ "px"):(h=b.style,a?(B?(a=Ld(b,"paddingLeft"),f=Ld(b,"paddingRight"),d=Ld(b,"paddingTop"),g=Ld(b,"paddingBottom"),a=new td(d,f,g,a)):(a=yd(b,"paddingLeft"),f=yd(b,"paddingRight"),d=yd(b,"paddingTop"),g=yd(b,"paddingBottom"),a=new td(parseFloat(d),parseFloat(f),parseFloat(g),parseFloat(a))),!B||9<=Number(nc)?(f=yd(b,"borderLeftWidth"),d=yd(b,"borderRightWidth"),g=yd(b,"borderTopWidth"),b=yd(b,"borderBottomWidth"),b=new td(parseFloat(g),parseFloat(d),parseFloat(b),parseFloat(f))):(f=Nd(b,"borderLeft"), d=Nd(b,"borderRight"),g=Nd(b,"borderTop"),b=Nd(b,"borderBottom"),b=new td(g,d,b,f)),h.pixelWidth=c.width-b.left-a.left-a.right-b.right,h.pixelHeight=c.height-b.top-a.top-a.bottom-b.bottom):(h.pixelWidth=c.width,h.pixelHeight=c.height)));return e} function If(a,b){return(b&8&&Jd(a)?b^4:b)&-9} ;function Kf(a){this.f=0;this.B=void 0;this.l=this.g=this.i=null;this.o=this.v=!1;if(a!=ya)try{var b=this;a.call(void 0,function(c){Lf(b,2,c)},function(c){Lf(b,3,c)})}catch(c){Lf(this,3,c)}} function Mf(){this.next=this.context=this.onRejected=this.g=this.f=null;this.i=!1} Mf.prototype.reset=function(){this.context=this.onRejected=this.g=this.f=null;this.i=!1}; var Nf=new Me(function(){return new Mf},function(a){a.reset()}); function Of(a,b,c){var d=Nf.get();d.g=a;d.onRejected=b;d.context=c;return d} Kf.prototype.then=function(a,b,c){return Pf(this,Ca(a)?a:null,Ca(b)?b:null,c)}; Kf.prototype.$goog_Thenable=!0;Kf.prototype.cancel=function(a){if(0==this.f){var b=new Qf(a);Ue(function(){Rf(this,b)},this)}}; function Rf(a,b){if(0==a.f)if(a.i){var c=a.i;if(c.g){for(var d=0,e=null,f=null,h=c.g;h&&(h.i||(d++,h.f==a&&(e=h),!(e&&1Ka())hg.prototype.remove.call(this,a);else return b}};function ig(){} ;function jg(){} y(jg,ig);jg.prototype.clear=function(){var a=tf(this.L(!0)),b=this;z(a,function(c){b.remove(c)})};function kg(a){this.f=a} y(kg,jg);m=kg.prototype;m.isAvailable=function(){if(!this.f)return!1;try{return this.f.setItem("__sak","1"),this.f.removeItem("__sak"),!0}catch(a){return!1}}; m.set=function(a,b){try{this.f.setItem(a,b)}catch(c){if(0==this.f.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}}; m.get=function(a){a=this.f.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; m.remove=function(a){this.f.removeItem(a)}; m.L=function(a){var b=0,c=this.f,d=new qf;d.next=function(){if(b>=c.length)throw pf;var e=c.key(b++);if(a)return e;e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e}; return d}; m.clear=function(){this.f.clear()}; m.key=function(a){return this.f.key(a)};function lg(){var a=null;try{a=window.localStorage||null}catch(b){}this.f=a} y(lg,kg);function mg(a,b){this.g=a;this.f=null;if(B&&!(9<=Number(nc))){ng||(ng=new uf);this.f=ng.get(a);this.f||(b?this.f=document.getElementById(b):(this.f=document.createElement("userdata"),this.f.addBehavior("#default#userData"),document.body.appendChild(this.f)),ng.set(a,this.f));try{this.f.load(this.g)}catch(c){this.f=null}}} y(mg,jg);var og={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},ng=null;function pg(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return og[b]})} m=mg.prototype;m.isAvailable=function(){return!!this.f}; m.set=function(a,b){this.f.setAttribute(pg(a),b);qg(this)}; m.get=function(a){a=this.f.getAttribute(pg(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; m.remove=function(a){this.f.removeAttribute(pg(a));qg(this)}; m.L=function(a){var b=0,c=this.f.XMLDocument.documentElement.attributes,d=new qf;d.next=function(){if(b>=c.length)throw pf;var e=c[b++];if(a)return decodeURIComponent(e.nodeName.replace(/\./g,"%")).substr(1);e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e}; return d}; m.clear=function(){for(var a=this.f.XMLDocument.documentElement,b=a.attributes.length;0=cg(e)&&(e.dispose(),delete ph[b])}delete a.B[c]} m.P=function(a,b,c){var d=this.j(a,b);if(d&&(d=v(d))){var e=Za(arguments,2);Ya(e,0,0,a);d.apply(null,e)}}; m.j=function(a,b){return Lg(a,b)}; function wh(a,b){Jg(a,"tooltip-text",b)} ;var xh=window.yt&&window.yt.uix&&window.yt.uix.widgets_||{};x("yt.uix.widgets_",xh);function yh(a){var b=[];hb(a,function(c,d){var e=encodeURIComponent(String(d)),f;"array"==Aa(c)?f=c:f=[c];z(f,function(h){""==h?b.push(e):b.push(e+"="+encodeURIComponent(String(h)))})}); return b.join("&")} function zh(a){"?"==a.charAt(0)&&(a=a.substr(1));a=a.split("&");for(var b={},c=0,d=a.length;cKa()-this.f)){var b=parseInt(this.j(a,"tooltip-hide-timer"),10);b&&(Mg(a,"tooltip-hide-timer"),Ag(b));b=w(function(){gi(this,a);Mg(a,"tooltip-show-timer")},this); var c=parseInt(this.j(a,"tooltip-show-delay"),10)||0;b=P(b,c);Jg(a,"tooltip-show-timer",b.toString());a.title&&(wh(a,hi(this,a)),a.title="");b=Ea(a).toString();this.g[b]=a}}; m.N=function(a){var b=parseInt(this.j(a,"tooltip-show-timer"),10);b&&(Ag(b),Mg(a,"tooltip-show-timer"));b=w(function(){if(a){var c=E(ii(this,a));c&&(ji(c),Pc(c),Mg(a,"content-id"));c=E(ii(this,a,"arialabel"));Pc(c)}Mg(a,"tooltip-hide-timer")},this); b=P(b,50);Jg(a,"tooltip-hide-timer",b.toString());if(b=this.j(a,"tooltip-text"))a.title=b;b=Ea(a).toString();delete this.g[b]}; m.ma=function(a,b){this.f=0;this.Y(a,b)}; m.ha=function(a){this.f=0;this.N(a)}; m.Ia=function(a,b,c){c.changedTouches&&(this.f=0,(a=rh(b,X(this),c.changedTouches[0].target))&&this.Y(a,b))}; m.Z=function(a,b,c){c.changedTouches&&(this.f=Ka(),(a=rh(b,X(this),c.changedTouches[0].target))&&this.N(a))}; function ki(a,b,c){wh(b,c);a=a.j(b,"content-id");(a=E(a))&&Tc(a,c)} function hi(a,b){return a.j(b,"tooltip-text")||b.title} function gi(a,b){if(b){var c=hi(a,b);if(c){var d=E(ii(a,b));if(!d){d=document.createElement("div");d.id=ii(a,b);gf(d,X(a,"tip"));var e=document.createElement("div");gf(e,X(a,"tip-body"));var f=document.createElement("div");gf(f,X(a,"tip-arrow"));var h=document.createElement("div");h.setAttribute("aria-hidden","true");gf(h,X(a,"tip-content"));var g=li(a,b),k=ii(a,b,"content");h.id=k;Jg(b,"content-id",k);e.appendChild(h);g&&d.appendChild(g);d.appendChild(e);d.appendChild(f);var l=bd(b);k=ii(a,b,"arialabel"); f=document.createElement("div");L(f,X(a,"arialabel"));f.id=k;l=b.hasAttribute("aria-label")?b.getAttribute("aria-label"):"rtl"==document.body.getAttribute("dir")?c+" "+l:l+" "+c;Tc(f,l);b.setAttribute("aria-labelledby",k);k=ai()||document.body;k.appendChild(f);k.appendChild(d);ki(a,b,c);(c=parseInt(a.j(b,"tooltip-max-width"),10))&&e.offsetWidth>c&&(e.style.width=c+"px",L(h,X(a,"normal-wrap")));h=K(b,X(a,"reverse"));mi(a,b,d,e,g,h)||mi(a,b,d,e,g,!h);var p=X(a,"tip-visible");P(function(){L(d,p)},0)}}}} function mi(a,b,c,d,e,f){kf(c,X(a,"tip-reverse"),f);var h=0;f&&(h=1);var g=Gd(b);f=new D((g.width-10)/2,f?g.height:0);var k=Dd(b);Jf(new D(k.x+f.x,k.y+f.y),c,h);f=Jc(window);if(1==c.nodeType)var l=Ed(c);else c=c.changedTouches?c.changedTouches[0]:c,l=new D(c.clientX,c.clientY);c=Gd(d);var p=Math.floor(c.width/2);h=!!(f.heightvi&&(g=1),tg("BATCH_CLIENT_COUNTER",g),h={serializedEventId:h,clientCounter:g},f.serializedClientEventId=h,wi&&xi&&pi("log_gel_rtt_web")&&(f.previousBatchInfo={serializedClientEventId:wi,roundtripMs:xi}), wi=h,xi=0;Oi(b,a,f,{retry:Ai.has(a),onSuccess:w(Pi,this,ti())})}if(d.previousDispatchMs){c=e-d.previousDispatchMs;var q=d.diffCount||0;d.averageTimeBetweenDispatchesMs=q?(d.averageTimeBetweenDispatchesMs*q+c)/(q+1):c;d.diffCount=q+1}d.previousDispatchMs=e} function Pi(a){xi=Math.round(ti()-a)} ;var Qi=v("ytLoggingGelSequenceIdObj_")||{};x("ytLoggingGelSequenceIdObj_",Qi);function Ri(a){var b=Si;a=void 0===a?v("yt.ads.biscotti.lastId_")||"":a;b=Object.assign(Ti(b),Ui(b));b.ca_type="image";a&&(b.bid=a);return b} function Ti(a){var b={};b.dt=Od;b.flash="0";a:{try{var c=a.f.top.location.href}catch(f){a=2;break a}a=c?c===a.g.location.href?0:1:2}b=(b.frm=a,b);b.u_tz=-(new Date).getTimezoneOffset();var d=void 0===d?C:d;try{var e=d.history.length}catch(f){e=0}b.u_his=e;b.u_java=!!C.navigator&&"unknown"!==typeof C.navigator.javaEnabled&&!!C.navigator.javaEnabled&&C.navigator.javaEnabled();C.screen&&(b.u_h=C.screen.height,b.u_w=C.screen.width,b.u_ah=C.screen.availHeight,b.u_aw=C.screen.availWidth,b.u_cd=C.screen.colorDepth); C.navigator&&C.navigator.plugins&&(b.u_nplug=C.navigator.plugins.length);C.navigator&&C.navigator.mimeTypes&&(b.u_nmime=C.navigator.mimeTypes.length);return b} function Ui(a){var b=a.f;try{var c=b.screenX;var d=b.screenY}catch(l){}try{var e=b.outerWidth;var f=b.outerHeight}catch(l){}try{var h=b.innerWidth;var g=b.innerHeight}catch(l){}b=[b.screenLeft,b.screenTop,c,d,b.screen?b.screen.availWidth:void 0,b.screen?b.screen.availTop:void 0,e,f,h,g];c=a.f.top;try{var k=Jc(c||window).round()}catch(l){k=new Bc(-12245933,-12245933)}c=k;k={};d=new Ke;n.SVGElement&&n.document.createElementNS&&d.set(0);e=sd();e["allow-top-navigation-by-user-activation"]&&d.set(1);e["allow-popups-to-escape-sandbox"]&& d.set(2);n.crypto&&n.crypto.subtle&&d.set(3);n.TextDecoder&&n.TextEncoder&&d.set(4);d=Le(d);k.bc=d;k.bih=c.height;k.biw=c.width;k.brdim=b.join();a=a.g;return k.vis={visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[a.visibilityState||a.webkitVisibilityState||a.mozVisibilityState||""]||0,k.wgl=!!C.WebGLRenderingContext,k} var Si=new function(){var a=window.document;this.f=window;this.g=a}; x("yt.ads_.signals_.getAdSignalsString",function(a){return yh(Ri(a))});Ka();var Vi=void 0!==XMLHttpRequest?function(){return new XMLHttpRequest}:void 0!==ActiveXObject?function(){return new ActiveXObject("Microsoft.XMLHTTP")}:null; function Wi(){if(!Vi)return null;var a=Vi();return"open"in a?a:null} ;var Xi={Authorization:"AUTHORIZATION","X-Goog-Visitor-Id":"SANDBOXED_VISITOR_ID","X-YouTube-Client-Name":"INNERTUBE_CONTEXT_CLIENT_NAME","X-YouTube-Client-Version":"INNERTUBE_CONTEXT_CLIENT_VERSION","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"},Yi="app debugcss debugjs expflag force_ad_params force_viral_ad_response_params forced_experiments innertube_snapshots innertube_goldens internalcountrycode internalipoverride absolute_experiments conditional_experiments sbb sr_bns_address".split(" "), Zi=!1; function $i(a,b){b=void 0===b?{}:b;if(!c)var c=window.location.href;var d=gd(a)[1]||null,e=hd(gd(a)[3]||null);d&&e?(d=c,c=gd(a),d=gd(d),c=c[3]==d[3]&&c[1]==d[1]&&c[4]==d[4]):c=e?hd(gd(c)[3]||null)==e&&(Number(gd(c)[4]||null)||null)==(Number(gd(a)[4]||null)||null):!0;d=pi("web_ajax_ignore_global_headers_if_set");for(var f in Xi)e=O(Xi[f]),!e||!c&&!aj(a,f)||d&&void 0!==b[f]||(b[f]=e);if(c||aj(a,"X-YouTube-Utc-Offset"))b["X-YouTube-Utc-Offset"]=String(-(new Date).getTimezoneOffset());(c||aj(a,"X-YouTube-Time-Zone"))&& (f="undefined"!=typeof Intl?(new Intl.DateTimeFormat).resolvedOptions().timeZone:null)&&(b["X-YouTube-Time-Zone"]=f);if(c||aj(a,"X-YouTube-Ad-Signals"))b["X-YouTube-Ad-Signals"]=yh(Ri(void 0));return b} function bj(a){var b=window.location.search,c=hd(gd(a)[3]||null),d=hd(gd(a)[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=zh(b),f={};z(Yi,function(h){e[h]&&(f[h]=e[h])}); return Bh(a,f||{},!1)} function aj(a,b){var c=O("CORS_HEADER_WHITELIST")||{},d=hd(gd(a)[3]||null);return d?(c=c[d])?Ta(c,b):!1:!0} function cj(a,b){if(window.fetch&&"XML"!=b.format){var c={method:b.method||"GET",credentials:"same-origin"};b.headers&&(c.headers=b.headers);a=dj(a,b);var d=ej(a,b);d&&(c.body=d);b.withCredentials&&(c.credentials="include");var e=!1,f;fetch(a,c).then(function(h){if(!e){e=!0;f&&Ag(f);var g=h.ok,k=function(l){l=l||{};var p=b.context||n;g?b.onSuccess&&b.onSuccess.call(p,l,h):b.onError&&b.onError.call(p,l,h);b.U&&b.U.call(p,l,h)}; "JSON"==(b.format||"JSON")&&(g||400<=h.status&&500>h.status)?h.json().then(k,function(){k(null)}):k(null)}}); b.tb&&0g.status,q=500<=g.status&&600>g.status;if(k||p||q)l=hj(c,g,b.Pb);if(k)a:if(g&&204==g.status)k=!0;else{switch(c){case "XML":k=0==parseInt(l&&l.return_code,10);break a;case "RAW":k=!0;break a}k=!!l}l=l||{};p=b.context||n; k?b.onSuccess&&b.onSuccess.call(p,g,l):b.onError&&b.onError.call(p,g,l);b.U&&b.U.call(p,g,l)}},b.method,d,b.headers,b.responseType,b.withCredentials); b.Ca&&0f;f++){var h=d.concat(e[f].split(""));uc[f]=h;for(var g=0;g>2;l=(l&3)<<4|p>>4;p=(p&15)<<2|k>>6;k&=63;h||(k=64,f||(p=64));d.push(c[g],c[l],c[p]||"",c[k]||"")}a.hash=d.join("")}return a} ;function oj(){var a=new lg;(a=a.isAvailable()?new rg(a,"yt.innertube"):null)||(a=new mg("yt.innertube"),a=a.isAvailable()?a:null);this.f=a?new hg(a):null;this.g=document.domain||window.location.hostname} oj.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.f)try{this.f.set(a,b,Ka()+1E3*c);return}catch(f){}var e="";if(d)try{e=escape(yf(b))}catch(f){return}else e=escape(b);b=this.g;xc.set(""+a,e,{sa:c,path:"/",domain:void 0===b?"youtube.com":b,secure:!1})}; oj.prototype.get=function(a,b){var c=void 0,d=!this.f;if(!d)try{c=this.f.get(a)}catch(e){d=!0}if(d&&(c=xc.get(""+a,void 0))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c}; oj.prototype.remove=function(a){this.f&&this.f.remove(a);var b=this.g;xc.remove(""+a,"/",void 0===b?"youtube.com":b)};var pj=new oj;function qj(a,b,c,d){if(d)return null;d=pj.get("nextId",!0)||1;var e=pj.get("requests",!0)||{};e[d]={method:a,request:b,authState:nj(c),requestTime:Math.round(ti())};pj.set("nextId",d+1,86400,!0);pj.set("requests",e,86400,!0);return d} function rj(a){var b=pj.get("requests",!0)||{};delete b[a];pj.set("requests",b,86400,!0)} function sj(a){var b=pj.get("requests",!0);if(b){for(var c in b){var d=b[c];if(!(6E4>Math.round(ti())-d.requestTime)){var e=d.authState,f=nj(mj(!1));mb(e,f)&&(e=d.request,"requestTimeMs"in e&&(e.requestTimeMs=Math.round(ti())),Oi(a,d.method,e,{}));delete b[c]}}pj.set("requests",b,86400,!0)}} ;function tj(a){var b=this;this.f=null;a?this.f=a:pi("delay_gel_until_config_ready")?lj()&&(this.f=Ni()):this.f=Ni();Sg(function(){sj(b)},0,5E3)} tj.prototype.isReady=function(){!this.f&&lj()&&(this.f=Ni());return!!this.f}; function Oi(a,b,c,d){!O("VISITOR_DATA")&&"visitor_id"!==b&&.01>Math.random()&&zg(Error("Missing VISITOR_DATA when sending innertube request."));var e={headers:{"Content-Type":"application/json"},method:"POST",H:c,Da:"JSON",Ca:function(){}, tb:d.Ca,onSuccess:function(t,r){if(d.onSuccess)d.onSuccess(r)}, za:function(t){if(d.onSuccess)d.onSuccess(t)}, onError:function(t,r){if(d.onError)d.onError(r)}, Ub:function(t){if(d.onError)d.onError(t)}, timeout:d.timeout,withCredentials:!0},f="",h=a.f.ib;h&&(f=h);h=a.f.jb||!1;var g=mj(h,f,d);Object.assign(e.headers,g);e.headers.Authorization&&!f&&(e.headers["x-origin"]=window.location.origin);var k=Ah(""+f+("/youtubei/"+a.f.innertubeApiVersion+"/"+b),{alt:"json",key:a.f.innertubeApiKey}),l;if(d.retry&&pi("retry_web_logging_batches")&&"www.youtube-nocookie.com"!=f&&(l=qj(b,c,g,h))){var p=e.onSuccess,q=e.za;e.onSuccess=function(t,r){rj(l);p(t,r)}; c.za=function(t,r){rj(l);q(t,r)}}try{pi("use_fetch_for_op_xhr")?cj(k,e):(e.method="POST",e.H||(e.H={}),fj(k,e))}catch(t){if("InvalidAccessError"==t)l&&(rj(l),l=0),zg(Error("An extension is blocking network request.")); else throw t;}l&&Sg(function(){sj(a)},0,5E3)} ;var uj=Ka().toString();var vj; if(!(vj=v("ytLoggingTimeDocumentNonce_"))){var wj;a:{if(window.crypto&&window.crypto.getRandomValues)try{var xj=Array(16),yj=new Uint8Array(16);window.crypto.getRandomValues(yj);for(var zj=0;zjBj;Bj++){for(var Cj=Ka(),Dj=0;Dj=h?Ji():10<=e-Ei&&(Li(),Ei=e)}},0)},"requestAnimationFrame"in window?window.requestAnimationFrame(b):b())});function Pj(){th.call(this,"button");this.f=null;this.i=[];this.g={}} y(Pj,th);za(Pj);m=Pj.prototype;m.register=function(){Y(this,"click",this.Ka);Y(this,"keydown",this.qa);Y(this,"keypress",this.ra);uh(this,"page-scroll",this.ab)}; m.unregister=function(){Z(this,"click",this.Ka);Z(this,"keydown",this.qa);Z(this,"keypress",this.ra);Qj(this);this.g={};Pj.A.unregister.call(this)}; m.Ka=function(a){a&&!a.disabled&&(this.toggle(a),this.click(a))}; m.qa=function(a,b,c){if(!(c.altKey||c.ctrlKey||c.shiftKey||c.metaKey)&&(b=Rj(this,a))){var d=function(h){var g="";h.tagName&&(g=h.tagName.toLowerCase());return"ul"==g||"table"==g},e; d(b)?e=b:e=Uc(b,d);if(e){e=e.tagName.toLowerCase();if("ul"==e)var f=this.ob;else"table"==e&&(f=this.nb);f&&Sj(this,a,b,c,w(f,this))}}}; m.ab=function(){var a=this.g,b=0;for(d in a)b++;if(0!=b)for(var c in a){b=a[c];var d=H(b.activeButtonNode||b.parentNode,X(this));if(void 0==d||void 0==b)break;Tj(this,d,b,!0)}}; function Sj(a,b,c,d,e){var f=ci(c),h=9==d.keyCode;if(h||32==d.keyCode||13==d.keyCode)if(d=Uj(a,c)){if(void 0!==d.firstElementChild)b=d.firstElementChild;else for(b=d.firstChild;b&&1!=b.nodeType;)b=b.nextSibling;if("a"==b.tagName.toLowerCase()){var g=void 0===g?{}:g;var k=void 0===k?"":k;var l=void 0===l?window:l;l=l.location;g=nd(b.href,g)+k;g instanceof Bb||g instanceof Bb||(g="object"==typeof g&&g.T?g.S():String(g),Eb.test(g)||(g="about:invalid#zClosurez"),g=new Bb(Cb,g));l.href=g instanceof Bb&& g.constructor===Bb&&g.g===Db?g.f:"type_error:SafeUrl"}else oh(b)}else h&&Vj(a,b);else f?27==d.keyCode?(Uj(a,c),Vj(a,b)):e(b,c,d):(g=K(b,X(a,"reverse"))?38:40,d.keyCode==g&&(oh(b),d.preventDefault()))} m.ra=function(a,b,c){c.altKey||c.ctrlKey||c.shiftKey||c.metaKey||(a=Rj(this,a),ci(a)&&c.preventDefault())}; function Uj(a,b){var c=X(a,"menu-item-highlight"),d=G(c,b);d&&M(d,c);return d} function Wj(a,b,c){L(c,X(a,"menu-item-highlight"));var d=c.getAttribute("id");d||(d=X(a,"item-id-"+Ea(c)),c.setAttribute("id",d));b.setAttribute("aria-activedescendant",d)} m.nb=function(a,b,c){var d=Uj(this,b),e=dh("table",b);b=Gc(document,"td",null,e);d=Xj(d,b,Gc(document,"td",null,dh("tr",e)).length,c);-1!=d&&(Wj(this,a,b[d]),c.preventDefault())}; m.ob=function(a,b,c){if(40==c.keyCode||38==c.keyCode){var d=Uj(this,b);b=Oa(Gc(document,"li",null,b),ci);Wj(this,a,b[Xj(d,b,1,c)]);c.preventDefault()}}; function Xj(a,b,c,d){var e=b.length;a=Na(b,a);if(-1==a)if(38==d.keyCode)a=e-c;else{if(37==d.keyCode||38==d.keyCode||40==d.keyCode)a=0}else 39==d.keyCode?(a%c==c-1&&(a-=c),a+=1):37==d.keyCode?(0==a%c&&(a+=c),--a):38==d.keyCode?(a=e-c&&(a-=e),a+=c);return a} function Yj(a,b){var c=b.iframeMask;c||(c=Oc(document,"IFRAME"),c.src='javascript:""',gf(c,X(a,"menu-mask")),ei(c),b.iframeMask=c);return c} function Tj(a,b,c,d){var e=H(b,X(a,"group")),f=!!a.j(b,"button-menu-ignore-group");e=e&&!f?e:b;f=9;var h=8,g=Id(b);if(K(b,X(a,"reverse"))){f=8;h=9;g=g.top+"px";try{c.style.maxHeight=g}catch(p){}}K(b,"flip")&&(K(b,X(a,"reverse"))?(f=12,h=13):(f=13,h=12));var k;a.j(b,"button-has-sibling-menu")?k=Bd(e):a.j(b,"button-menu-root-container")&&(k=Zj(a,b));B&&!mc("8")&&(k=null);if(k){var l=Id(k);l=new td(-l.top,l.left,l.top,-l.left)}k=new D(0,1);K(b,X(a,"center-menu"))&&(k.x-=Math.round((Gd(c).width-Gd(b).width)/ 2));d&&(k.y+=Lc(document).y);if(a=Yj(a,b))b=Gd(c),a.style.width=b.width+"px",a.style.height=b.height+"px",Hf(e,f,a,h,k,l,197),d&&vd(a,"position","fixed");Hf(e,f,c,h,k,l,197)} function Zj(a,b){if(a.j(b,"button-menu-root-container")){var c=a.j(b,"button-menu-root-container");return H(b,c)}return document.body} m.Ma=function(a){if(a){var b=Rj(this,a);if(b){a.setAttribute("aria-pressed","true");a.setAttribute("aria-expanded","true");b.originalParentNode=b.parentNode;b.activeButtonNode=a;b.parentNode.removeChild(b);var c;this.j(a,"button-has-sibling-menu")?c=a.parentNode:c=Zj(this,a);c.appendChild(b);b.style.minWidth=a.offsetWidth-2+"px";var d=Yj(this,a);d&&c.appendChild(d);(c=!!this.j(a,"button-menu-fixed"))&&(this.g[ah(a).toString()]=b);Tj(this,a,b,c);Ig("yt-uix-button-menu-before-show",a,b);di(b);d&&di(d); this.P(a,"button-menu-action",!0);L(a,X(this,"active"));b=w(this.La,this,a,!1);d=w(this.La,this,a,!0);c=w(this.yb,this,a,void 0);this.f&&Rj(this,this.f)==Rj(this,a)||Qj(this);R("yt-uix-button-menu-show",a);W(this.i);this.i=[V(document,"click",d),V(document,"contextmenu",b),V(window,"resize",c)];this.f=a}}}; function Vj(a,b){if(b){var c=Rj(a,b);if(c){a.f=null;b.setAttribute("aria-pressed","false");b.setAttribute("aria-expanded","false");b.removeAttribute("aria-activedescendant");ei(c);a.P(b,"button-menu-action",!1);var d=Yj(a,b),e=ah(c).toString();delete a.g[e];P(function(){d&&d.parentNode&&(ei(d),d.parentNode.removeChild(d));c.originalParentNode&&(c.parentNode.removeChild(c),c.originalParentNode.appendChild(c),c.originalParentNode=null,c.activeButtonNode=null)},1)}e=H(b,X(a,"group")); var f=[X(a,"active")];e&&f.push(X(a,"group-active"));jf(b,f);R("yt-uix-button-menu-hide",b);W(a.i);a.i.length=0}} m.yb=function(a,b){var c=Rj(this,a);if(c){b&&(b instanceof Fb?Lb(c,b):Tc(c,b));var d=!!this.j(a,"button-menu-fixed");Tj(this,a,c,d)}}; m.La=function(a,b,c){c=mh(c);var d=H(c,X(this));if(d){d=Rj(this,d);var e=Rj(this,a);if(d==e)return}d=H(c,X(this,"menu"));e=d==Rj(this,a);var f=K(c,X(this,"menu-item")),h=K(c,X(this,"menu-close"));if(!d||e&&(f||h))Vj(this,a),d&&b&&this.j(a,"button-menu-indicate-selected")&&((a=G(X(this,"content"),a))&&Tc(a,bd(c)),ak(this,d,c))}; function ak(a,b,c){var d=X(a,"menu-item-selected");z(Fc(d,b),function(e){M(e,d)}); L(c.parentNode,d)} function Rj(a,b){if(!b.widgetMenu){var c=a.j(b,"button-menu-id");c=c&&E(c);var d=X(a,"menu");c?hf(c,[d,X(a,"menu-external")]):c=G(d,b);b.widgetMenu=c}return b.widgetMenu} m.isToggled=function(a){return K(a,X(this,"toggled"))}; m.toggle=function(a){if(this.j(a,"button-toggle")){var b=H(a,X(this,"group")),c=X(this,"toggled"),d=K(a,c);if(b&&this.j(b,"button-toggle-group")){var e=this.j(b,"button-toggle-group");z(Fc(X(this),b),function(f){f!=a||"optional"==e&&d?(M(f,c),f.removeAttribute("aria-pressed")):(L(a,c),f.setAttribute("aria-pressed","true"))})}else d?a.removeAttribute("aria-pressed"):a.setAttribute("aria-pressed","true"),mf(a,c)}}; m.click=function(a){if(Rj(this,a)){var b=Rj(this,a);if(b){var c=H(b.activeButtonNode||b.parentNode,X(this));c&&c!=a?(Vj(this,c),P(w(this.Ma,this,a),1)):ci(b)?Vj(this,a):this.Ma(a)}a.focus()}this.P(a,"button-action")}; function Qj(a){a.f&&Vj(a,a.f)} ;function bk(a){th.call(this,a);this.i=null} y(bk,th);m=bk.prototype;m.D=function(a){var b=th.prototype.D.call(this,a);return b?b:a}; m.register=function(){uh(this,"yt-uix-kbd-nav-move-out-done",this.hide)}; m.dispose=function(){ck(this);bk.A.dispose.call(this)}; m.j=function(a,b){var c=bk.A.j.call(this,a,b);return c?c:(c=bk.A.j.call(this,a,"card-config"))&&(c=v(c))&&c[b]?c[b]:null}; m.show=function(a){var b=this.D(a);if(b){L(b,X(this,"active"));var c=dk(this,a,b);if(c){c.cardTargetNode=a;c.cardRootNode=b;ek(this,a,c);var d=X(this,"card-visible"),e=this.j(a,"card-delegate-show")&&this.j(b,"card-action");this.P(b,"card-action",a);this.i=a;ei(c);P(w(function(){e||(di(c),R("yt-uix-card-show",b,a,c));fk(c);L(c,d);R("yt-uix-kbd-nav-move-in-to",c)},this),10)}}}; function dk(a,b,c){var d=c||b,e=X(a,"card");c=gk(a,d);var f=E(X(a,"card")+ah(d));if(f)return a=G(X(a,"card-body"),f),Sc(a,c)||(Pc(c),a.appendChild(c)),f;f=document.createElement("div");f.id=X(a,"card")+ah(d);gf(f,e);(d=a.j(d,"card-class"))&&hf(f,d.split(/\s+/));d=document.createElement("div");d.className=X(a,"card-border");b=a.j(b,"orientation")||"horizontal";e=document.createElement("div");e.className="yt-uix-card-border-arrow yt-uix-card-border-arrow-"+b;var h=document.createElement("div");h.className= X(a,"card-body");a=document.createElement("div");a.className="yt-uix-card-body-arrow yt-uix-card-body-arrow-"+b;Pc(c);h.appendChild(c);d.appendChild(a);d.appendChild(h);f.appendChild(e);f.appendChild(d);document.body.appendChild(f);return f} function ek(a,b,c){var d=a.j(b,"orientation")||"horizontal",e=G(X(a,"anchor"),b)||b,f=a.j(b,"position"),h=!!a.j(b,"force-position"),g=a.j(b,"position-fixed");d="horizontal"==d;var k="bottomright"==f||"bottomleft"==f,l="topright"==f||"bottomright"==f;if(l&&k){var p=13;var q=8}else l&&!k?(p=12,q=9):!l&&k?(p=9,q=12):(p=8,q=13);var t=Jd(document.body);f=Jd(b);t!=f&&(p^=4);if(d){f=b.offsetHeight/2-12;var r=new D(-12,b.offsetHeight+6)}else f=b.offsetWidth/2-6,r=new D(b.offsetWidth+6,-12);var u=Gd(c);f= Math.min(f,(d?u.height:u.width)-24-6);6>f&&(f=6,d?r.y+=12-b.offsetHeight/2:r.x+=12-b.offsetWidth/2);u=null;h||(u=10);b=X(a,"card-flip");a=X(a,"card-reverse");kf(c,b,l);kf(c,a,k);u=Hf(e,p,c,q,r,null,u);!h&&u&&(u&48&&(l=!l,p^=4,q^=4),u&192&&(k=!k,p^=1,q^=1),kf(c,b,l),kf(c,a,k),Hf(e,p,c,q,r));g&&(e=parseInt(c.style.top,10),h=Lc(document).y,vd(c,"position","fixed"),vd(c,"top",e-h+"px"));t&&(c.style.right="",e=Id(c),e.left=e.left||parseInt(c.style.left,10),h=Jc(window),c.style.left="",c.style.right=h.width- e.left-e.width+"px");e=G("yt-uix-card-body-arrow",c);h=G("yt-uix-card-border-arrow",c);d=d?k?"top":"bottom":!t&&l||t&&!l?"left":"right";e.setAttribute("style","");h.setAttribute("style","");e.style[d]=f+"px";h.style[d]=f+"px";k=G("yt-uix-card-arrow",c);l=G("yt-uix-card-arrow-background",c);k&&l&&(c="right"==d?Gd(c).width-f-13:f+11,f=c/Math.sqrt(2),k.style.left=c+"px",k.style.marginLeft="1px",l.style.marginLeft=-f+"px",l.style.marginTop=f+"px")} m.hide=function(a){if(a=this.D(a)){var b=E(X(this,"card")+ah(a));b&&(M(a,X(this,"active")),M(b,X(this,"card-visible")),ei(b),this.i=null,b.cardTargetNode=null,b.cardRootNode=null,b.cardMask&&(Pc(b.cardMask),b.cardMask=null))}}; function ck(a){a.i&&a.hide(a.i)} m.xb=function(a,b){var c=this.D(a);if(c){if(b){var d=gk(this,c);if(!d)return;b instanceof Fb?Lb(d,b):Tc(d,b)}K(c,X(this,"active"))&&(c=dk(this,a,c),ek(this,a,c),di(c),fk(c))}}; m.isActive=function(a){return(a=this.D(a))?K(a,X(this,"active")):!1}; function gk(a,b){var c=b.cardContentNode;if(!c){var d=X(a,"content"),e=X(a,"card-content");(c=(c=a.j(b,"card-id"))?E(c):G(d,b))||(c=document.createElement("div"));var f=c;M(f,d);L(f,e);b.cardContentNode=c}return c} function fk(a){var b=a.cardMask;b||(b=Oc(document,"IFRAME"),b.src='javascript:""',hf(b,["yt-uix-card-iframe-mask"]),a.cardMask=b);b.style.position=a.style.position;b.style.top=a.style.top;b.style.left=a.offsetLeft+"px";b.style.height=a.clientHeight+"px";b.style.width=a.clientWidth+"px";document.body.appendChild(b)} ;function hk(){th.call(this,"kbd-nav")} var ik;y(hk,th);za(hk);m=hk.prototype;m.register=function(){Y(this,"keydown",this.oa);uh(this,"yt-uix-kbd-nav-move-in",this.xa);uh(this,"yt-uix-kbd-nav-move-in-to",this.pb);uh(this,"yt-uix-kbd-move-next",this.ya);uh(this,"yt-uix-kbd-nav-move-to",this.W)}; m.unregister=function(){Z(this,"keydown",this.oa);W(ik)}; m.oa=function(a,b,c){var d=c.keyCode;if(a=H(a,X(this)))switch(d){case 13:case 32:this.xa(a);break;case 27:c.preventDefault();c.stopImmediatePropagation();a:{for(c=of(a,"kbdNavMoveOut");!c;){c=H(a.parentElement,X(this));if(!c)break a;c=of(c,"kbdNavMoveOut")}c=E(c);this.W(c);R("yt-uix-kbd-nav-move-out-done",c)}break;case 40:case 38:if((b=c.target)&&K(a,X(this,"list")))switch(d){case 40:this.ya(b,a);break;case 38:d=document.activeElement==a,a=jk(a),b=a.indexOf(b),0>b&&!d||(b=d?a.length-1:(a.length+b- 1)%a.length,a[b].focus(),kk(this,a[b]))}c.preventDefault()}}; m.xa=function(a){var b=of(a,"kbdNavMoveIn");b=E(b);lk(this,a,b);this.W(b)}; m.pb=function(a){var b=document;try{var c=b&&b.activeElement;var d=c&&c.nodeName?c:null}catch(e){d=null}lk(this,d,a);this.W(a)}; m.W=function(a){if(a)if(Zc(a))a.focus();else{var b=Uc(a,function(c){return Rc(c)?Zc(c):!1}); b?b.focus():(a.setAttribute("tabindex","-1"),a.focus())}}; function lk(a,b,c){if(b&&c)if(L(c,X(a)),a=b.id,a||(a="kbd-nav-"+Math.floor(1E6*Math.random()+1),b.id=a),b=a,nf&&c.dataset)c.dataset.kbdNavMoveOut=b;else{if(/-[a-z]/.test("kbdNavMoveOut"))throw Error("");c.setAttribute("data-"+"kbdNavMoveOut".replace(/([A-Z])/g,"-$1").toLowerCase(),b)}} m.ya=function(a,b){var c=document.activeElement==b,d=jk(b),e=d.indexOf(a);0>e&&!c||(c=c?0:(e+1)%d.length,d[c].focus(),kk(this,d[c]))}; function kk(a,b){if(b){var c=dd(b,"LI");c&&(L(c,X(a,"highlight")),ik=V(b,"blur",w(function(d){M(d,X(this,"highlight"));W(ik)},a,c)))}} function jk(a){if("UL"!=a.tagName.toUpperCase())return[];a=Oa(Qc(a),function(b){return"LI"==b.tagName.toUpperCase()}); return Oa(Pa(a,function(b){return ci(b)?Uc(b,function(c){return Rc(c)?Zc(c):!1}):!1}),function(b){return!!b})} ;function mk(){th.call(this,"menu");this.g=this.f=null;this.i={};this.v={};this.l=null} y(mk,th);za(mk);function nk(a){var b=mk.w();if(K(a,X(b)))return a;var c=b.D(a);return c?c:H(a,X(b,"content"))==b.f?b.g:null} m=mk.prototype;m.register=function(){Y(this,"click",this.na);Y(this,"mouseenter",this.Ya);uh(this,"page-scroll",this.bb);uh(this,"yt-uix-kbd-nav-move-out-done",function(a){a=this.D(a);ok(this,a)}); this.l=new N}; m.unregister=function(){Z(this,"click",this.na);this.g=this.f=null;W($a(ib(this.i)));this.i={};hb(this.v,function(a){Pc(a)},this); this.v={};df(this.l);this.l=null;mk.A.unregister.call(this)}; m.na=function(a,b,c){a&&(b=pk(this,a),!b.disabled&&ch(c.target,b)&&qk(this,a))}; m.Ya=function(a,b,c){a&&K(a,X(this,"hover"))&&ch(c.target,pk(this,a))&&qk(this,a,!0)}; m.bb=function(){this.f&&this.g&&rk(this,this.g,this.f)}; function rk(a,b,c){var d=sk(a,b);if(d){var e=Gd(c);if(e instanceof Bc){var f=e.height;e=e.width}else throw Error("missing height argument");d.style.width=Fd(e,!0);d.style.height=Fd(f,!0)}c==a.f&&(e=9,f=8,K(b,X(a,"reversed"))&&(e^=1,f^=1),K(b,X(a,"flipped"))&&(e^=4,f^=4),a=new D(0,1),d&&Hf(b,e,d,f,a,null,197),Hf(b,e,c,f,a,null,197))} function qk(a,b,c){tk(a,b)&&!c?ok(a,b):(uk(a,b),!a.f||ch(b,a.f)?a.Na(b):$f(a.l,w(a.Na,a,b)))} m.Na=function(a){if(a){var b=vk(this,a);if(b){Ig("yt-uix-menu-before-show",a,b);this.f?ch(a,this.f)||ok(this,this.g):(this.g=a,this.f=b,K(a,X(this,"sibling-content"))||(Pc(b),document.body.appendChild(b)),b.style.minWidth=pk(this,a).offsetWidth-2+"px");var c=sk(this,a);c&&b.parentNode&&b.parentNode.insertBefore(c,b.nextSibling);M(b,X(this,"content-hidden"));rk(this,a,b);hf(pk(this,a),[X(this,"trigger-selected"),"yt-uix-button-toggled"]);R("yt-uix-menu-show",a);wk(b);xk(this,a);R("yt-uix-kbd-nav-move-in-to", b);var d=w(this.zb,this,a),e=w(this.lb,this,a);c=Ea(a).toString();this.i[c]=[V(b,"click",e),V(document,"click",d)];K(a,X(this,"indicate-selected"))&&(d=w(this.mb,this,a),this.i[c].push(V(b,"click",d)));K(a,X(this,"hover"))&&(a=w(this.Za,this,a),this.i[c].push(V(document,"mousemove",a)))}}}; m.Za=function(a,b){var c=mh(b);c&&(ch(c,pk(this,a))||yk(this,c)||zk(this,a))}; m.zb=function(a,b){var c=mh(b);if(c){if(yk(this,c)){var d=H(c,X(this,"content")),e=dd(c,"LI");e&&d&&Sc(d,e)&&Ig("yt-uix-menu-item-clicked",c);c=H(c,X(this,"close-on-select"));if(!c)return;d=nk(c)}ok(this,d||a)}}; function uk(a,b){if(b){var c=H(b,X(a,"content"));c&&z(Fc(X(a),c),function(d){!ch(d,b)&&tk(this,d)&&zk(this,d)},a)}} function ok(a,b){if(b){var c=[];c.push(b);var d=vk(a,b);d&&(d=Fc(X(a),d),d=Va(d),c=c.concat(d),z(c,function(e){tk(this,e)&&zk(this,e)},a))}} function zk(a,b){if(b){var c=vk(a,b);jf(pk(a,b),[X(a,"trigger-selected"),"yt-uix-button-toggled"]);L(c,X(a,"content-hidden"));var d=vk(a,b);d&&Hc(d,{"aria-expanded":"false"});(d=sk(a,b))&&d.parentNode&&Pc(d);c&&c==a.f&&(a.g.appendChild(c),a.f=null,a.g=null,a.l&&a.l.J("ROOT_MENU_REMOVED"));R("yt-uix-menu-hide",b);c=Ea(b).toString();W(a.i[c]);delete a.i[c]}} m.lb=function(a,b){var c=mh(b);c&&Ak(this,a,c)}; m.mb=function(a,b){var c=mh(b);if(c){var d=pk(this,a);if(d&&(c=dd(c,"LI")))if(c=bd(c).trim(),d.hasChildNodes()){var e=Pj.w();(d=G(X(e,"content"),d))&&Tc(d,c)}else Tc(d,c)}}; function xk(a,b){var c=vk(a,b);if(c){z(c.children,function(e){"LI"==e.tagName&&Hc(e,{role:"menuitem"})}); Hc(c,{"aria-expanded":"true"});var d=c.id;d||(d="aria-menu-id-"+Ea(c),c.id=d);(c=pk(a,b))&&Hc(c,{"aria-controls":d})}} function Ak(a,b,c){var d=vk(a,b);d&&K(b,X(a,"checked"))&&(a=dd(c,"LI"))&&(a=G("yt-ui-menu-item-checked-hid",a))&&(z(Fc("yt-ui-menu-item-checked",d),function(e){lf(e,"yt-ui-menu-item-checked","yt-ui-menu-item-checked-hid")}),lf(a,"yt-ui-menu-item-checked-hid","yt-ui-menu-item-checked"))} function tk(a,b){var c=vk(a,b);return c?!K(c,X(a,"content-hidden")):!1} function wk(a){z(Gc(document,"UL",null,a),function(b){b.tabIndex=0;var c=hk.w();hf(b,[X(c),X(c,"list")])})} function vk(a,b){var c=Lg(b,"menu-content-id");return c&&(c=E(c))?(hf(c,[X(a,"content"),X(a,"content-external")]),c):b==a.g?a.f:G(X(a,"content"),b)} function sk(a,b){var c=Ea(b).toString(),d=a.v[c];if(!d){d=Oc(document,"IFRAME");d.src='javascript:""';var e=[X(a,"mask")];z(ff(b),function(f){e.push(f+"-mask")}); hf(d,e);a.v[c]=d}return d||null} function pk(a,b){return G(X(a,"trigger"),b)} function yk(a,b){return ch(b,a.f)||ch(b,a.g)} ;function Bk(){bk.call(this,"clickcard");this.f={};this.g={}} y(Bk,bk);za(Bk);m=Bk.prototype;m.register=function(){Bk.A.register.call(this);Y(this,"click",this.ka,"target");Y(this,"click",this.ja,"close")}; m.unregister=function(){Bk.A.unregister.call(this);Z(this,"click",this.ka,"target");Z(this,"click",this.ja,"close");for(var a in this.f)W(this.f[a]);this.f={};for(a in this.g)W(this.g[a]);this.g={}}; m.ka=function(a,b,c){c.preventDefault();b=dd(c.target,"button");if(!b||!b.disabled){if(b=this.j(a,"card-target"))a=document,a="string"===typeof b?a.getElementById(b):b;b=this.D(a);this.j(b,"disabled")||(K(b,X(this,"active"))?(this.hide(a),M(b,X(this,"active"))):(this.show(a),L(b,X(this,"active"))))}}; m.show=function(a){Bk.A.show.call(this,a);var b=this.D(a),c=Ea(a).toString();if(!Lg(b,"click-outside-persists")){if(this.f[c])return;b=V(document,"click",w(this.la,this,a));var d=V(window,"blur",w(this.la,this,a));this.f[c]=[b,d]}a=V(window,"resize",w(this.xb,this,a,void 0));this.g[c]=a}; m.hide=function(a){Bk.A.hide.call(this,a);a=Ea(a).toString();var b=this.f[a];b&&(W(b),this.f[a]=null);if(b=this.g[a])W(b),delete this.g[a]}; m.la=function(a,b){var c="yt-uix"+(this.o?"-"+this.o:"")+"-card",d=null;b.target&&(d=H(b.target,c)||H(nk(b.target),c));(d=d||H(document.activeElement,c)||(document.activeElement?H(nk(document.activeElement),c):null))||this.hide(a)}; m.ja=function(a){(a=H(a,X(this,"card")))&&(a=a.cardTargetNode)&&this.hide(a)};function Ck(){bk.call(this,"hovercard")} y(Ck,bk);za(Ck);m=Ck.prototype;m.register=function(){Y(this,"mouseenter",this.ta,"target");Y(this,"mouseleave",this.va,"target");Y(this,"mouseenter",this.ua,"card");Y(this,"mouseleave",this.wa,"card")}; m.unregister=function(){Z(this,"mouseenter",this.ta,"target");Z(this,"mouseleave",this.va,"target");Z(this,"mouseenter",this.ua,"card");Z(this,"mouseleave",this.wa,"card")}; m.ta=function(a){if(Dk!=a){Dk&&(this.hide(Dk),Dk=null);var b=w(this.show,this,a),c=parseInt(this.j(a,"delay-show"),10);b=P(b,-1a?b>e?b:e:b