text: // clang-format off
  (function(){var h,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}},l=this||self,ca=function(){},da=function(a){a.Ba=void 0;a.R=function(){return a.Ba?a.Ba:a.Ba=new a}},ea=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";
  if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},fa=function(a){return"array"==ea(a)},ha=function(a){var b=ea(a);return"array"==b||"object"==
  b&&"number"==typeof a.length},ia=function(a){return"function"==ea(a)},m=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},ja="closure_uid_"+(1E9*Math.random()>>>0),ka=0,la=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}},n=function(a,b){function c(){}c.prototype=b.prototype;a.i=b.prototype;a.prototype=new c;a.prototype.constructor=a};var ma,na={eb:"activedescendant",jb:"atomic",kb:"autocomplete",mb:"busy",pb:"checked",qb:"colindex",vb:"controls",xb:"describedby",Ab:"disabled",Cb:"dropeffect",Db:"expanded",Eb:"flowto",Gb:"grabbed",Kb:"haspopup",Mb:"hidden",Ob:"invalid",Pb:"label",Qb:"labelledby",Rb:"level",Wb:"live",kc:"multiline",lc:"multiselectable",pc:"orientation",qc:"owns",rc:"posinset",tc:"pressed",xc:"readonly",zc:"relevant",Ac:"required",Ec:"rowindex",Hc:"selected",Jc:"setsize",Lc:"sort",Zc:"valuemax",$c:"valuemin",ad:"valuenow",
  bd:"valuetext"};var oa=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},pa=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},qa=function(a,b,c){if(null!==a&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=c},sa=function(a){var b={},c;for(c in a)b[a[c]]=c;return b},ta="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),ua=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<ta.length;f++)c=
  ta[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var va={fb:"alert",gb:"alertdialog",hb:"application",ib:"article",lb:"banner",nb:"button",ob:"checkbox",rb:"columnheader",sb:"combobox",tb:"complementary",ub:"contentinfo",wb:"definition",yb:"dialog",zb:"directory",Bb:"document",Fb:"form",Hb:"grid",Ib:"gridcell",Jb:"group",Lb:"heading",Nb:"img",Sb:"link",Tb:"list",Ub:"listbox",Vb:"listitem",Xb:"log",Yb:"main",Zb:"marquee",$b:"math",ac:"menu",bc:"menubar",cc:"menuitem",dc:"menuitemcheckbox",ec:"menuitemradio",mc:"navigation",nc:"note",oc:"option",
  sc:"presentation",uc:"progressbar",vc:"radio",wc:"radiogroup",yc:"region",Bc:"row",Cc:"rowgroup",Dc:"rowheader",Fc:"scrollbar",Gc:"search",Ic:"separator",Kc:"slider",Mc:"spinbutton",Nc:"status",Oc:"tab",Pc:"tablist",Qc:"tabpanel",Rc:"textbox",Sc:"textinfo",Tc:"timer",Uc:"toolbar",Vc:"tooltip",Wc:"tree",Xc:"treegrid",Yc:"treeitem"};var wa=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,wa);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};n(wa,Error);wa.prototype.name="CustomError";var xa;var ya=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");wa.call(this,c+a[d])};n(ya,wa);ya.prototype.name="AssertionError";
  var za=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw new ya(""+e,f||[]);},p=function(a,b,c){a||za("",null,b,Array.prototype.slice.call(arguments,2));return a},Aa=function(a,b,c){m(a)&&1==a.nodeType||za("Expected Element but got %s: %s.",[ea(a),a],b,Array.prototype.slice.call(arguments,2))},Ca=function(a,b,c,d){a instanceof b||za("Expected instanceof %s but got %s.",[Ba(b),Ba(a)],c,Array.prototype.slice.call(arguments,3))},Ba=function(a){return a instanceof
  Function?a.displayName||a.name||"unknown type name":a instanceof Object?a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a):null===a?"null":typeof a};var Da=Array.prototype.indexOf?function(a,b){p(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},r=Array.prototype.forEach?function(a,b,c){p(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Ea=Array.prototype.filter?
  function(a,b){p(null!=a.length);return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,f="string"===typeof a?a.split(""):a,g=0;g<c;g++)if(g in f){var k=f[g];b.call(void 0,k,g,a)&&(d[e++]=k)}return d},Fa=Array.prototype.every?function(a,b){p(null!=a.length);return Array.prototype.every.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0},Ga=function(a,b){return 0<=
  Da(a,b)},Ha=function(a,b){b=Da(a,b);var c;if(c=0<=b)p(null!=a.length),Array.prototype.splice.call(a,b,1);return c},Ia=function(a){return Array.prototype.concat.apply([],arguments)},Ja=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},La=function(a,b,c,d){p(null!=a.length);Array.prototype.splice.apply(a,Ka(arguments,1))},Ka=function(a,b,c){p(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};var Ma=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Na=/&/g,Oa=/</g,Pa=/>/g,Qa=/"/g,Ra=/'/g,Sa=/\x00/g,Ta=/[\x00&<>"']/,t=function(a,b){return-1!=a.indexOf(b)},Ua=function(a,b){return a<b?-1:a>b?1:0};var u;a:{var Va=l.navigator;if(Va){var Wa=Va.userAgent;if(Wa){u=Wa;break a}}u=""};var Xa=function(a){Ta.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(Na,"&amp;")),-1!=a.indexOf("<")&&(a=a.replace(Oa,"&lt;")),-1!=a.indexOf(">")&&(a=a.replace(Pa,"&gt;")),-1!=a.indexOf('"')&&(a=a.replace(Qa,"&quot;")),-1!=a.indexOf("'")&&(a=a.replace(Ra,"&#39;")),-1!=a.indexOf("\x00")&&(a=a.replace(Sa,"&#0;")));return a};var Ya=function(a){Ya[" "](a);return a};Ya[" "]=ca;var $a=function(a,b){var c=Za;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var ab=t(u,"Opera"),v=t(u,"Trident")||t(u,"MSIE"),bb=t(u,"Edge"),x=t(u,"Gecko")&&!(t(u.toLowerCase(),"webkit")&&!t(u,"Edge"))&&!(t(u,"Trident")||t(u,"MSIE"))&&!t(u,"Edge"),y=t(u.toLowerCase(),"webkit")&&!t(u,"Edge"),z=t(u,"Macintosh"),cb=function(){var a=l.document;return a?a.documentMode:void 0},db;
  a:{var eb="",fb=function(){var a=u;if(x)return/rv:([^\);]+)(\)|;)/.exec(a);if(bb)return/Edge\/([\d\.]+)/.exec(a);if(v)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(y)return/WebKit\/(\S+)/.exec(a);if(ab)return/(?:Version)[ \/]?(\S+)/.exec(a)}();fb&&(eb=fb?fb[1]:"");if(v){var gb=cb();if(null!=gb&&gb>parseFloat(eb)){db=String(gb);break a}}db=eb}
  var hb=db,Za={},A=function(a){return $a(a,function(){for(var b=0,c=Ma(String(hb)).split("."),d=Ma(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var g=c[f]||"",k=d[f]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];k=/(\d*)(\D*)(.*)/.exec(k)||["","","",""];if(0==g[0].length&&0==k[0].length)break;b=Ua(0==g[1].length?0:parseInt(g[1],10),0==k[1].length?0:parseInt(k[1],10))||Ua(0==g[2].length,0==k[2].length)||Ua(g[2],k[2]);g=g[3];k=k[3]}while(0==b)}return 0<=b})},ib;
  ib=l.document&&v?cb():void 0;var jb=!v||9<=Number(ib);var lb=function(a,b){oa(b,function(c,d){c&&"object"==typeof c&&c.dd&&(c=c.cd());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:kb.hasOwnProperty(d)?a.setAttribute(kb[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},kb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",
  width:"width"},mb=function(a,b,c){function d(k){k&&b.appendChild("string"===typeof k?a.createTextNode(k):k)}for(var e=2;e<c.length;e++){var f=c[e];if(!ha(f)||m(f)&&0<f.nodeType)d(f);else{a:{if(f&&"number"==typeof f.length){if(m(f)){var g="function"==typeof f.item||"string"==typeof f.item;break a}if(ia(f)){g="function"==typeof f.item;break a}}g=!1}r(g?Ja(f):f,d)}}},nb=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},ob=function(a){a&&
  a.parentNode&&a.parentNode.removeChild(a)},pb=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a},qb=function(a){p(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},rb=function(a,b){b?a.tabIndex=0:(a.tabIndex=-1,a.removeAttribute("tabIndex"))},sb=function(a){return v&&!A("9")?(a=a.getAttributeNode("tabindex"),
  null!=a&&a.specified):a.hasAttribute("tabindex")},tb=function(a){a=a.tabIndex;return"number"===typeof a&&0<=a&&32768>a},ub=function(a){this.a=a||l.document||document};ub.prototype.f=function(a){return"string"===typeof a?this.a.getElementById(a):a};
  ub.prototype.b=function(a,b,c){var d=this.a,e=arguments,f=String(e[0]),g=e[1];if(!jb&&g&&(g.name||g.type)){f=["<",f];g.name&&f.push(' name="',Xa(g.name),'"');if(g.type){f.push(' type="',Xa(g.type),'"');var k={};ua(k,g);delete k.type;g=k}f.push(">");f=f.join("")}f=nb(d,f);g&&("string"===typeof g?f.className=g:fa(g)?f.className=g.join(" "):lb(f,g));2<e.length&&mb(d,f,e);return f};var vb=function(a,b){b?(p(pa(va,b),"No such ARIA role "+b),a.setAttribute("role",b)):a.removeAttribute("role")},xb=function(a,b,c){fa(c)&&(c=c.join(" "));var d=wb(b);""===c||void 0==c?(ma||(ma={atomic:!1,autocomplete:"none",dropeffect:"none",haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientation:"vertical",readonly:!1,relevant:"additions text",required:!1,sort:"none",busy:!1,disabled:!1,hidden:!1,invalid:"false"}),c=ma,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,
  c)},wb=function(a){p(a,"ARIA attribute cannot be empty.");p(pa(na,a),"No such ARIA attribute "+a);return"aria-"+a};var yb=Object.freeze||function(a){return a};var C=function(){this.U=this.U;this.J=this.J};C.prototype.U=!1;C.prototype.N=function(){this.U||(this.U=!0,this.u())};var zb=function(a,b){a.U?b():(a.J||(a.J=[]),a.J.push(b))};C.prototype.u=function(){if(this.J)for(;this.J.length;)this.J.shift()()};var Ab=function(a){a&&"function"==typeof a.N&&a.N()};var D=function(a){if(a.classList)return a.classList;a=a.className;return"string"===typeof a&&a.match(/\S+/g)||[]},Bb=function(a,b){return a.classList?a.classList.contains(b):Ga(D(a),b)},Cb=function(a,b){a.classList?a.classList.add(b):Bb(a,b)||(a.className+=0<a.className.length?" "+b:b)},Db=function(a,b){if(a.classList)r(b,function(e){Cb(a,e)});else{var c={};r(D(a),function(e){c[e]=!0});r(b,function(e){c[e]=!0});a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}},Eb=function(a,
  b){a.classList?a.classList.remove(b):Bb(a,b)&&(a.className=Ea(D(a),function(c){return c!=b}).join(" "))},Fb=function(a,b){a.classList?r(b,function(c){Eb(a,c)}):a.className=Ea(D(a),function(c){return!Ga(b,c)}).join(" ")};var Gb=!v||9<=Number(ib),Hb=!v||9<=Number(ib),Ib=v&&!A("9"),Jb=function(){if(!l.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{l.addEventListener("test",ca,b),l.removeEventListener("test",ca,b)}catch(c){}return a}();var E=function(a,b){this.type=a;this.a=this.target=b;this.h=!1;this.Ka=!0};E.prototype.j=function(){this.h=!0};E.prototype.g=function(){this.Ka=!1};var F={L:"mousedown",M:"mouseup",aa:"mousecancel",hc:"mousemove",jc:"mouseover",ic:"mouseout",fc:"mouseenter",gc:"mouseleave"};var G=function(a,b){E.call(this,a?a.type:"");this.relatedTarget=this.a=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.c=0;this.A=this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.pointerId=0;this.pointerType="";this.b=null;if(a){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.a=b;if(b=a.relatedTarget){if(x){a:{try{Ya(b.nodeName);var e=!0;break a}catch(f){}e=
  !1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.c=a.keyCode||0;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=
  a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.A=z?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Kb[a.pointerType]||"";this.b=a;a.defaultPrevented&&this.g()}};n(G,E);var Lb=yb([1,4,2]),Kb=yb({2:"touch",3:"pen",4:"mouse"}),Mb=function(a){return Gb?0==a.b.button:"click"==a.type?!0:!!(a.b.button&Lb[0])};G.prototype.j=function(){G.i.j.call(this);this.b.stopPropagation?this.b.stopPropagation():this.b.cancelBubble=!0};
  G.prototype.g=function(){G.i.g.call(this);var a=this.b;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Ib)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Nb="closure_listenable_"+(1E6*Math.random()|0),Ob=function(a){return!(!a||!a[Nb])},Pb=0;var Qb=function(a,b,c,d,e){this.listener=a;this.a=null;this.src=b;this.type=c;this.capture=!!d;this.ma=e;this.key=++Pb;this.X=this.ha=!1},Rb=function(a){a.X=!0;a.listener=null;a.a=null;a.src=null;a.ma=null};var Sb=function(a){this.src=a;this.a={};this.b=0};Sb.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.a[f];a||(a=this.a[f]=[],this.b++);var g=Tb(a,b,d,e);-1<g?(b=a[g],c||(b.ha=!1)):(b=new Qb(b,this.src,f,!!d,e),b.ha=c,a.push(b));return b};
  var Ub=function(a,b){var c=b.type;c in a.a&&Ha(a.a[c],b)&&(Rb(b),0==a.a[c].length&&(delete a.a[c],a.b--))},Vb=function(a,b,c,d,e){a=a.a[b.toString()];b=-1;a&&(b=Tb(a,c,d,e));return-1<b?a[b]:null},Tb=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.X&&f.listener==b&&f.capture==!!c&&f.ma==d)return e}return-1};var Wb="closure_lm_"+(1E6*Math.random()|0),Xb={},Yb=0,$b=function(a,b,c,d,e){if(d&&d.once)return Zb(a,b,c,d,e);if(fa(b)){for(var f=0;f<b.length;f++)$b(a,b[f],c,d,e);return null}c=ac(c);return Ob(a)?bc(a,b,c,m(d)?!!d.capture:!!d,e):cc(a,b,c,!1,d,e)},cc=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=m(e)?!!e.capture:!!e,k=dc(a);k||(a[Wb]=k=new Sb(a));c=k.add(b,c,d,g,f);if(c.a)return c;d=ec();c.a=d;d.src=a;d.listener=c;if(a.addEventListener)Jb||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),
  d,e);else if(a.attachEvent)a.attachEvent(fc(b.toString()),d);else if(a.addListener&&a.removeListener)p("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Yb++;return c},ec=function(){var a=gc,b=Hb?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},Zb=function(a,b,c,d,e){if(fa(b)){for(var f=0;f<b.length;f++)Zb(a,b[f],c,d,e);return null}c=ac(c);return Ob(a)?
  a.h.add(String(b),c,!0,m(d)?!!d.capture:!!d,e):cc(a,b,c,!0,d,e)},hc=function(a,b,c,d,e){if(fa(b))for(var f=0;f<b.length;f++)hc(a,b[f],c,d,e);else d=m(d)?!!d.capture:!!d,c=ac(c),Ob(a)?(a=a.h,b=String(b).toString(),b in a.a&&(f=a.a[b],c=Tb(f,c,d,e),-1<c&&(Rb(f[c]),p(null!=f.length),Array.prototype.splice.call(f,c,1),0==f.length&&(delete a.a[b],a.b--)))):a&&(a=dc(a))&&(c=Vb(a,b,c,d,e))&&ic(c)},ic=function(a){if("number"!==typeof a&&a&&!a.X){var b=a.src;if(Ob(b))Ub(b.h,a);else{var c=a.type,d=a.a;b.removeEventListener?
  b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(fc(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Yb--;(c=dc(b))?(Ub(c,a),0==c.b&&(c.src=null,b[Wb]=null)):Rb(a)}}},fc=function(a){return a in Xb?Xb[a]:Xb[a]="on"+a},kc=function(a,b,c,d){var e=!0;if(a=dc(a))if(b=a.a[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.X&&(f=jc(f,d),e=e&&!1!==f)}return e},jc=function(a,b){var c=a.listener,d=a.ma||a.src;a.ha&&ic(a);return c.call(d,b)},gc=function(a,
  b){if(a.X)return!0;if(!Hb){if(!b)a:{b=["window","event"];for(var c=l,d=0;d<b.length;d++)if(c=c[b[d]],null==c){b=null;break a}b=c}d=b;b=new G(d,this);c=!0;if(!(0>d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.a;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;!b.h&&0<=e;e--){b.a=d[e];var f=kc(d[e],a,!0,b);c=c&&f}for(e=0;!b.h&&e<d.length;e++)b.a=d[e],f=kc(d[e],a,!1,b),c=c&&f}return c}return jc(a,
  new G(b,this))},dc=function(a){a=a[Wb];return a instanceof Sb?a:null},lc="__closure_events_fn_"+(1E9*Math.random()>>>0),ac=function(a){p(a,"Listener can not be null.");if(ia(a))return a;p(a.handleEvent,"An object listener must have handleEvent method.");a[lc]||(a[lc]=function(b){return a.handleEvent(b)});return a[lc]};var mc=function(a){C.call(this);this.b=a;this.a={}};n(mc,C);
  var nc=[],H=function(a,b,c,d){fa(c)||(c&&(nc[0]=c.toString()),c=nc);for(var e=0;e<c.length;e++){var f=$b(b,c[e],d||a.handleEvent,!1,a.b||a);if(!f)break;a.a[f.key]=f}return a},oc=function(a,b,c,d,e,f){if(fa(c))for(var g=0;g<c.length;g++)oc(a,b,c[g],d,e,f);else d=d||a.handleEvent,e=m(e)?!!e.capture:!!e,f=f||a.b||a,d=ac(d),e=!!e,c=Ob(b)?Vb(b.h,String(c),d,e,f):b?(b=dc(b))?Vb(b,c,d,e,f):null:null,c&&(ic(c),delete a.a[c.key]);return a},pc=function(a){oa(a.a,function(b,c){this.a.hasOwnProperty(c)&&ic(b)},
  a);a.a={}};mc.prototype.u=function(){mc.i.u.call(this);pc(this)};mc.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var I=function(){C.call(this);this.h=new Sb(this);this.Ma=this;this.pa=null};n(I,C);I.prototype[Nb]=!0;I.prototype.ra=function(a){this.pa=a};I.prototype.removeEventListener=function(a,b,c,d){hc(this,a,b,c,d)};
  var sc=function(a,b){qc(a);var c=a.pa;if(c){var d=[];for(var e=1;c;c=c.pa)d.push(c),p(1E3>++e,"infinite loop")}a=a.Ma;c=b.type||b;"string"===typeof b?b=new E(b,a):b instanceof E?b.target=b.target||a:(e=b,b=new E(c,a),ua(b,e));e=!0;if(d)for(var f=d.length-1;!b.h&&0<=f;f--){var g=b.a=d[f];e=rc(g,c,!0,b)&&e}b.h||(g=b.a=a,e=rc(g,c,!0,b)&&e,b.h||(e=rc(g,c,!1,b)&&e));if(d)for(f=0;!b.h&&f<d.length;f++)g=b.a=d[f],e=rc(g,c,!1,b)&&e;return e};
  I.prototype.u=function(){I.i.u.call(this);if(this.h){var a=this.h,b=0,c;for(c in a.a){for(var d=a.a[c],e=0;e<d.length;e++)++b,Rb(d[e]);delete a.a[c];a.b--}}this.pa=null};var bc=function(a,b,c,d,e){qc(a);return a.h.add(String(b),c,!1,d,e)},rc=function(a,b,c,d){b=a.h.a[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.X&&g.capture==c){var k=g.listener,q=g.ma||g.src;g.ha&&Ub(a.h,g);e=!1!==k.call(q,d)&&e}}return e&&0!=d.Ka},qc=function(a){p(a.h,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var vc=function(a,b,c,d,e,f){if(y&&!A("525"))return!0;if(z&&e)return tc(a);if(e&&!d)return!1;if(!x){"number"===typeof b&&(b=uc(b));var g=17==b||18==b||z&&91==b;if((!c||z)&&g||z&&16==b&&(d||f))return!1}if((y||bb)&&d&&c)switch(a){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}if(v&&d&&b==a)return!1;switch(a){case 13:return x?f||e?!1:!(c&&d):!0;case 27:return!(y||bb||x)}return x&&(d||e||f)?!1:tc(a)},tc=function(a){if(48<=a&&57>=a||
  96<=a&&106>=a||65<=a&&90>=a||(y||bb)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:case 163:return!0;case 173:return x;default:return!1}},uc=function(a){if(x)a=wc(a);else if(z&&y)switch(a){case 93:a=91}return a},wc=function(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};var J=function(a,b){I.call(this);a&&xc(this,a,b)};n(J,I);h=J.prototype;h.S=null;h.na=null;h.Ca=null;h.oa=null;h.w=-1;h.F=-1;h.ua=!1;
  var yc={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},zc={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Ac=!y||A("525"),Bc=z&&x;
  J.prototype.a=function(a){if(y||bb)if(17==this.w&&!a.ctrlKey||18==this.w&&!a.altKey||z&&91==this.w&&!a.metaKey)this.F=this.w=-1;-1==this.w&&(a.ctrlKey&&17!=a.c?this.w=17:a.altKey&&18!=a.c?this.w=18:a.metaKey&&91!=a.c&&(this.w=91));Ac&&!vc(a.c,this.w,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?this.handleEvent(a):(this.F=uc(a.c),Bc&&(this.ua=a.altKey))};J.prototype.b=function(a){this.F=this.w=-1;this.ua=a.altKey};
  J.prototype.handleEvent=function(a){var b=a.b,c=b.altKey;if(v&&"keypress"==a.type){var d=this.F;var e=13!=d&&27!=d?b.keyCode:0}else(y||bb)&&"keypress"==a.type?(d=this.F,e=0<=b.charCode&&63232>b.charCode&&tc(d)?b.charCode:0):ab&&!y?(d=this.F,e=tc(d)?b.keyCode:0):("keypress"==a.type?(Bc&&(c=this.ua),b.keyCode==b.charCode?32>b.keyCode?(d=b.keyCode,e=0):(d=this.F,e=b.charCode):(d=b.keyCode||this.F,e=b.charCode||0)):(d=b.keyCode||this.F,e=b.charCode||0),z&&63==e&&224==d&&(d=191));var f=d=uc(d);d?63232<=
  d&&d in yc?f=yc[d]:25==d&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in zc&&(f=zc[b.keyIdentifier]);x&&Ac&&"keypress"==a.type&&!vc(f,this.w,a.shiftKey,a.ctrlKey,c,a.metaKey)||(a=f==this.w,this.w=f,b=new Cc(f,e,a,b),b.altKey=c,sc(this,b))};J.prototype.f=function(){return this.S};
  var xc=function(a,b,c){a.oa&&Dc(a);a.S=b;a.na=$b(a.S,"keypress",a,c);a.Ca=$b(a.S,"keydown",a.a,c,a);a.oa=$b(a.S,"keyup",a.b,c,a)},Dc=function(a){a.na&&(ic(a.na),ic(a.Ca),ic(a.oa),a.na=null,a.Ca=null,a.oa=null);a.S=null;a.w=-1;a.F=-1};J.prototype.u=function(){J.i.u.call(this);Dc(this)};var Cc=function(a,b,c,d){G.call(this,d);this.type="key";this.c=a;this.repeat=c};n(Cc,G);var Ec=x?"MozUserSelect":y||bb?"WebkitUserSelect":null,Fc=function(a,b){b=b?null:a.getElementsByTagName("*");if(Ec){var c="none";a.style&&(a.style[Ec]=c);if(b){a=0;for(var d;d=b[a];a++)d.style&&(d.style[Ec]=c)}}else if(v||ab)if(c="on",a.setAttribute("unselectable",c),b)for(a=0;d=b[a];a++)d.setAttribute("unselectable",c)};var Gc=function(){};da(Gc);Gc.prototype.a=0;var K=function(a){I.call(this);this.j=a||xa||(xa=new ub);this.qa=Hc;this.Y=null;this.m=!1;this.a=null;this.A=void 0;this.g=this.c=this.b=null;this.Ga=!1};n(K,I);K.prototype.Oa=Gc.R();
  var Hc=null,Ic=function(a,b){switch(a){case 1:return b?"disable":"enable";case 2:return b?"highlight":"unhighlight";case 4:return b?"activate":"deactivate";case 8:return b?"select":"unselect";case 16:return b?"check":"uncheck";case 32:return b?"focus":"blur";case 64:return b?"open":"close"}throw Error("Invalid component state");},Jc=function(a){return a.Y||(a.Y=":"+(a.Oa.a++).toString(36))},Kc=function(a,b){if(a.b&&a.b.g){var c=a.b.g,d=a.Y;d in c&&delete c[d];qa(a.b.g,b,a)}a.Y=b};K.prototype.f=function(){return this.a};
  var Lc=function(a){a=a.a;p(a,"Can not call getElementStrict before rendering/decorating.");return a},Mc=function(a){a.A||(a.A=new mc(a));return p(a.A)};K.prototype.ra=function(a){if(this.b&&this.b!=a)throw Error("Method not supported");K.i.ra.call(this,a)};K.prototype.ia=function(){this.a=nb(this.j.a,"DIV")};
  var Nc=function(a,b){if(a.m)throw Error("Component already rendered");if(b&&a.xa(b)){a.Ga=!0;var c=qb(b);a.j&&a.j.a==c||(a.j=b?new ub(qb(b)):xa||(xa=new ub));a.va(b);a.D()}else throw Error("Invalid element to decorate");};h=K.prototype;h.xa=function(){return!0};h.va=function(a){this.a=a};h.D=function(){this.m=!0;Oc(this,function(a){!a.m&&a.f()&&a.D()})};h.P=function(){Oc(this,function(a){a.m&&a.P()});this.A&&pc(this.A);this.m=!1};
  h.u=function(){this.m&&this.P();this.A&&(this.A.N(),delete this.A);Oc(this,function(a){a.N()});!this.Ga&&this.a&&ob(this.a);this.b=this.a=this.g=this.c=null;K.i.u.call(this)};h.sa=function(a,b){this.ta(a,Pc(this),b)};
  h.ta=function(a,b,c){p(!!a,"Provided element must not be null.");if(a.m&&(c||!this.m))throw Error("Component already rendered");if(0>b||b>Pc(this))throw Error("Child component index out of bounds");this.g&&this.c||(this.g={},this.c=[]);if(a.b==this){var d=Jc(a);this.g[d]=a;Ha(this.c,a)}else qa(this.g,Jc(a),a);if(a==this)throw Error("Unable to set parent component");if(d=this&&a.b&&a.Y){var e=a.b;d=a.Y;e.g&&d?(e=e.g,d=(null!==e&&d in e?e[d]:void 0)||null):d=null}if(d&&a.b!=this)throw Error("Unable to set parent component");
  a.b=this;K.i.ra.call(a,this);La(this.c,b,0,a);if(a.m&&this.m&&a.b==this)c=this.ja(),b=c.childNodes[b]||null,b!=a.f()&&c.insertBefore(a.f(),b);else if(c){this.a||this.ia();c=L(this,b+1);b=this.ja();c=c?c.a:null;if(a.m)throw Error("Component already rendered");a.a||a.ia();b?b.insertBefore(a.a,c||null):a.j.a.body.appendChild(a.a);a.b&&!a.b.m||a.D()}else this.m&&!a.m&&a.a&&a.a.parentNode&&1==a.a.parentNode.nodeType&&a.D()};h.ja=function(){return this.a};
  var Qc=function(a){if(null==a.qa){var b=a.m?a.a:a.j.a.body;a:{var c=qb(b);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(b,null))){c=c.direction||c.getPropertyValue("direction")||"";break a}c=""}a.qa="rtl"==(c||(b.currentStyle?b.currentStyle.direction:null)||b.style&&b.style.direction)}return a.qa},Pc=function(a){return a.c?a.c.length:0},L=function(a,b){return a.c?a.c[b]||null:null},Oc=function(a,b,c){a.c&&r(a.c,b,c)},Rc=function(a,b){return a.c&&b?Da(a.c,b):-1};var Tc=function(a,b){if(!a)throw Error("Invalid class name "+a);if(!ia(b))throw Error("Invalid decorator function "+b);Sc[a]=b},Uc={},Sc={};var Vc=function(a){this.h=a};da(Vc);var Wc=function(a,b){a&&(a.tabIndex=b?0:-1)},Yc=function(a,b,c){c.id&&Kc(b,c.id);var d=a.b(),e=!1,f=D(c);f&&r(f,function(g){g==d?e=!0:g&&this.g(b,g,d)},a);e||Cb(c,d);Xc(b,c);return c};Vc.prototype.g=function(a,b,c){b==c+"-disabled"?a.Z(!1):b==c+"-horizontal"?Zc(a,"horizontal"):b==c+"-vertical"&&Zc(a,"vertical")};
  var Xc=function(a,b){if(b)for(var c=b.firstChild,d;c&&c.parentNode==b;){d=c.nextSibling;if(1==c.nodeType){a:{var e=c;p(e);e=D(e);for(var f=0,g=e.length;f<g;f++){var k=e[f];if(k=k in Sc?Sc[k]():null){e=k;break a}}e=null}e&&(e.a=c,a.isEnabled()||e.Z(!1),a.sa(e),Nc(e,c))}else c.nodeValue&&""!=Ma(c.nodeValue)||b.removeChild(c);c=d}},$c=function(a,b){b=b.f();p(b,"The container DOM element cannot be null.");Fc(b,x);v&&(b.hideFocus=!0);(a=a.h)&&vb(b,a)};Vc.prototype.b=function(){return"goog-container"};
  Vc.prototype.c=function(a){var b=this.b(),c=[b,"horizontal"==a.H?b+"-horizontal":b+"-vertical"];a.isEnabled()||c.push(b+"-disabled");return c};var M=function(){},ad;da(M);var bd={button:"pressed",checkbox:"checked",menuitem:"selected",menuitemcheckbox:"checked",menuitemradio:"checked",radio:"checked",tab:"selected",treeitem:"selected"};M.prototype.h=function(){};M.prototype.c=function(a){return a.j.b("DIV",cd(this,a).join(" "),a.ba)};var ed=function(a,b,c){if(a=a.f?a.f():a){var d=[b];v&&!A("7")&&(d=dd(D(a),b),d.push(b));(c?Db:Fb)(a,d)}};
  M.prototype.g=function(a,b){b.id&&Kc(a,b.id);b&&b.firstChild?fd(a,b.firstChild.nextSibling?Ja(b.childNodes):b.firstChild):a.ba=null;var c=0,d=this.a(),e=this.a(),f=!1,g=!1,k=!1,q=Ja(D(b));r(q,function(B){f||B!=d?g||B!=e?c|=gd(this,B):g=!0:(f=!0,e==d&&(g=!0));1==gd(this,B)&&(Aa(b),sb(b)&&tb(b)&&rb(b,!1))},this);a.o=c;f||(q.push(d),e==d&&(g=!0));g||q.push(e);(a=a.wa)&&q.push.apply(q,a);if(v&&!A("7")){var w=dd(q);0<w.length&&(q.push.apply(q,w),k=!0)}if(!f||!g||a||k)b.className=q.join(" ");return b};
  var hd=function(a,b){if(a=a.h()){p(b,"The element passed as a first parameter cannot be null.");var c=b.getAttribute("role")||null;a!=c&&vb(b,a)}},id=function(a,b){var c;if(a.v&32&&(c=a.f())){if(!b&&a.o&32){try{c.blur()}catch(d){}a.o&32&&a.Fa(null)}(sb(c)&&tb(c))!=b&&rb(c,b)}},jd=function(a,b,c){ad||(ad={1:"disabled",8:"selected",16:"checked",64:"expanded"});p(a,"The element passed as a first parameter cannot be null.");b=ad[b];var d=a.getAttribute("role")||null;d&&(d=bd[d]||b,b="checked"==b||"selected"==
  b?d:b);b&&xb(a,b,c)};M.prototype.a=function(){return"goog-control"};
  var cd=function(a,b){var c=a.a(),d=[c],e=a.a();e!=c&&d.push(e);c=b.o;for(e=[];c;){var f=c&-c;e.push(kd(a,f));c&=~f}d.push.apply(d,e);(a=b.wa)&&d.push.apply(d,a);v&&!A("7")&&d.push.apply(d,dd(d));return d},dd=function(a,b){var c=[];b&&(a=Ia(a,[b]));r([],function(d){!Fa(d,la(Ga,a))||b&&!Ga(d,b)||c.push(d.join("_"))});return c},kd=function(a,b){a.b||ld(a);return a.b[b]},gd=function(a,b){a.j||(a.b||ld(a),a.j=sa(a.b));a=parseInt(a.j[b],10);return isNaN(a)?0:a},ld=function(a){var b=a.a(),c=!t(b.replace(/\xa0|\s/g,
  " ")," ");p(c,"ControlRenderer has an invalid css class: '"+b+"'");a.b={1:b+"-disabled",2:b+"-hover",4:b+"-active",8:b+"-selected",16:b+"-checked",32:b+"-focused",64:b+"-open"}};var N=function(a,b,c){K.call(this,c);if(!b){b=this.constructor;for(var d;b;){d=b[ja]||(b[ja]=++ka);if(d=Uc[d])break;b=b.i?b.i.constructor:null}b=d?ia(d.R)?d.R():new d:null}this.B=b;this.ba=void 0!==a?a:null};n(N,K);h=N.prototype;h.ba=null;h.o=0;h.v=39;h.K=0;h.Ia=!0;h.wa=null;h.ya=!0;h.ia=function(){var a=this.B.c(this);this.a=a;hd(this.B,a);Fc(a,!v&&!ab);this.isVisible()||(a.style.display="none",a&&xb(a,"hidden",!0))};h.ja=function(){return this.f()};h.xa=function(){return!0};
  h.va=function(a){this.a=a=this.B.g(this,a);hd(this.B,a);Fc(a,!v&&!ab);this.Ia="none"!=a.style.display};
  h.D=function(){N.i.D.call(this);var a=Lc(this);p(this);p(a);this.isVisible()||xb(a,"hidden",!this.isVisible());this.isEnabled()||jd(a,1,!this.isEnabled());this.v&8&&jd(a,8,!!(this.o&8));this.v&16&&jd(a,16,!!(this.o&16));this.v&64&&jd(a,64,!!(this.o&64));a=this.B;Qc(this)&&ed(this.f(),a.a()+"-rtl",!0);this.isEnabled()&&id(this,this.isVisible());if(this.v&-2&&(this.ya&&md(this,!0),this.v&32&&(a=this.f()))){var b=this.W||(this.W=new J);xc(b,a);H(H(H(Mc(this),b,"key",this.fa),a,"focus",this.Na),a,"blur",
  this.Fa)}};var md=function(a,b){var c=Mc(a),d=a.f();b?(H(H(H(H(c,d,F.L,a.ka),d,[F.M,F.aa],a.la),d,"mouseover",a.Aa),d,"mouseout",a.za),a.ea!=ca&&H(c,d,"contextmenu",a.ea),v&&(A(9)||H(c,d,"dblclick",a.Ja),a.ga||(a.ga=new nd(a),zb(a,la(Ab,a.ga))))):(oc(oc(oc(oc(c,d,F.L,a.ka),d,[F.M,F.aa],a.la),d,"mouseover",a.Aa),d,"mouseout",a.za),a.ea!=ca&&oc(c,d,"contextmenu",a.ea),v&&(A(9)||oc(c,d,"dblclick",a.Ja),Ab(a.ga),a.ga=null))};
  N.prototype.P=function(){N.i.P.call(this);this.W&&Dc(this.W);this.isVisible()&&this.isEnabled()&&id(this,!1)};N.prototype.u=function(){N.i.u.call(this);this.W&&(this.W.N(),delete this.W);delete this.B;this.ga=this.wa=this.ba=null};var fd=function(a,b){a.ba=b};N.prototype.isVisible=function(){return this.Ia};N.prototype.isEnabled=function(){return!(this.o&1)};
  N.prototype.Z=function(a){var b=this.b;b&&"function"==typeof b.isEnabled&&!b.isEnabled()||!O(this,1,!a)||(a||(od(this,!1),P(this,!1)),this.isVisible()&&id(this,a),Q(this,1,!a,!0))};
  var P=function(a,b){O(a,2,b)&&Q(a,2,b)},od=function(a,b){O(a,4,b)&&Q(a,4,b)},pd=function(a,b){O(a,8,b)&&Q(a,8,b)},qd=function(a,b){O(a,64,b)&&Q(a,64,b)},Q=function(a,b,c,d){if(!d&&1==b)a.Z(!c);else if(a.v&b&&c!=!!(a.o&b)){var e=a.B;if(d=a.f())(e=kd(e,b))&&ed(a,e,c),jd(d,b,c);a.o=c?a.o|b:a.o&~b}},rd=function(a,b,c){if(a.m&&a.o&b&&!c)throw Error("Component already rendered");!c&&a.o&b&&Q(a,b,!1);a.v=c?a.v|b:a.v&~b},R=function(a,b){return!!(255&b)&&!!(a.v&b)},O=function(a,b,c){return!!(a.v&b)&&!!(a.o&
  b)!=c&&(!(a.K&b)||sc(a,Ic(b,c)))&&!a.U};h=N.prototype;h.Aa=function(a){(!a.relatedTarget||!pb(this.f(),a.relatedTarget))&&sc(this,"enter")&&this.isEnabled()&&R(this,2)&&P(this,!0)};h.za=function(a){a.relatedTarget&&pb(this.f(),a.relatedTarget)||!sc(this,"leave")||(R(this,4)&&od(this,!1),R(this,2)&&P(this,!1))};h.ea=ca;
  h.ka=function(a){if(this.isEnabled()&&(R(this,2)&&P(this,!0),Mb(a)&&!(y&&z&&a.ctrlKey))){R(this,4)&&od(this,!0);var b;if(b=this.B){var c;b=this.v&32&&(c=this.f())?sb(c)&&tb(c):!1}b&&this.f().focus()}!Mb(a)||y&&z&&a.ctrlKey||a.g()};h.la=function(a){this.isEnabled()&&(R(this,2)&&P(this,!0),this.o&4&&sd(this,a)&&R(this,4)&&od(this,!1))};h.Ja=function(a){this.isEnabled()&&sd(this,a)};
  var sd=function(a,b){if(R(a,16)){var c=!(a.o&16);O(a,16,c)&&Q(a,16,c)}R(a,8)&&pd(a,!0);R(a,64)&&qd(a,!(a.o&64));c=new E("action",a);b&&(c.altKey=b.altKey,c.ctrlKey=b.ctrlKey,c.metaKey=b.metaKey,c.shiftKey=b.shiftKey,c.A=b.A);return sc(a,c)};N.prototype.Na=function(){R(this,32)&&O(this,32,!0)&&Q(this,32,!0)};N.prototype.Fa=function(){R(this,4)&&od(this,!1);R(this,32)&&O(this,32,!1)&&Q(this,32,!1)};
  N.prototype.fa=function(a){return this.isVisible()&&this.isEnabled()&&13==a.c&&sd(this,a)?(a.g(),a.j(),!0):!1};if(!ia(N))throw Error("Invalid component class "+N);if(!ia(M))throw Error("Invalid renderer class "+M);var td=N[ja]||(N[ja]=++ka);Uc[td]=M;Tc("goog-control",function(){return new N(null)});var nd=function(a){C.call(this);this.b=a;this.a=!1;this.c=new mc(this);zb(this,la(Ab,this.c));a=Lc(this.b);H(H(H(this.c,a,F.L,this.h),a,F.M,this.j),a,"click",this.g)};n(nd,C);var ud=!v||9<=Number(ib);
  nd.prototype.h=function(){this.a=!1};nd.prototype.j=function(){this.a=!0};var vd=function(a,b){if(!ud)return a.button=0,a.type=b,a;var c=document.createEvent("MouseEvents");c.initMouseEvent(b,a.bubbles,a.cancelable,a.view||null,a.detail,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,0,a.relatedTarget||null);return c};
  nd.prototype.g=function(a){if(this.a)this.a=!1;else{var b=a.b,c=b.button,d=b.type,e=vd(b,"mousedown");this.b.ka(new G(e,a.a));e=vd(b,"mouseup");this.b.la(new G(e,a.a));ud||(b.button=c,b.type=d)}};nd.prototype.u=function(){this.b=null;nd.i.u.call(this)};var S=function(a,b,c){K.call(this,c);this.da=b||Vc.R();this.H=a||"vertical"};n(S,K);h=S.prototype;h.Da=null;h.ca=null;h.da=null;h.H=null;h.T=!0;h.O=!0;h.l=-1;h.s=null;h.V=!1;h.I=null;var wd=function(a){return a.Da||a.f()};h=S.prototype;h.ia=function(){this.a=this.j.b("DIV",this.da.c(this).join(" "))};h.ja=function(){return this.f()};h.xa=function(a){return"DIV"==a.tagName};h.va=function(a){this.a=Yc(this.da,this,a);"none"==a.style.display&&(this.T=!1)};
  h.D=function(){S.i.D.call(this);Oc(this,function(b){b.m&&xd(this,b)},this);var a=this.f();$c(this.da,this);yd(this,this.T);H(H(H(H(H(H(H(H(Mc(this),this,"enter",this.Wa),this,"highlight",this.Xa),this,"unhighlight",this.cb),this,"open",this.Ya),this,"close",this.Ua),a,F.L,this.Sa),qb(a),[F.M,F.aa],this.Va),a,[F.L,F.M,F.aa,"mouseover","mouseout","contextmenu"],this.Ta);zd(this)};var zd=function(a){var b=Mc(a),c=wd(a);H(H(H(b,c,"focus",a.Ha),c,"blur",a.Qa),a.ca||(a.ca=new J(wd(a))),"key",a.Ra)};h=S.prototype;
  h.P=function(){Ad(this,-1);this.s&&qd(this.s,!1);this.V=!1;S.i.P.call(this)};h.u=function(){S.i.u.call(this);this.ca&&(this.ca.N(),this.ca=null);this.da=this.s=this.I=this.Da=null};h.Wa=function(){return!0};
  h.Xa=function(a){var b=Rc(this,a.target);if(-1<b&&b!=this.l){var c=L(this,this.l);c&&P(c,!1);this.l=b;c=L(this,this.l);this.V&&od(c,!0);this.s&&c!=this.s&&(c.v&64?qd(c,!0):qd(this.s,!1))}b=this.f();p(b,"The DOM element for the container cannot be null.");null!=a.target.f()&&xb(b,"activedescendant",a.target.f().id)};h.cb=function(a){a.target==L(this,this.l)&&(this.l=-1);a=this.f();p(a,"The DOM element for the container cannot be null.");a.removeAttribute(wb("activedescendant"))};
  h.Ya=function(a){(a=a.target)&&a!=this.s&&a.b==this&&(this.s&&qd(this.s,!1),this.s=a)};h.Ua=function(a){a.target==this.s&&(this.s=null);var b=this.f(),c=a.target.f();b&&a.target.o&2&&c&&(a="",c&&(a=c.id,p(a,"The active element should have an id.")),xb(b,"activedescendant",a))};h.Sa=function(a){this.O&&(this.V=!0);var b=wd(this);b&&sb(b)&&tb(b)?b.focus():a.g()};h.Va=function(){this.V=!1};
  h.Ta=function(a){a:{var b=a.target;if(this.I)for(var c=this.f();b&&b!==c;){var d=b.id;if(d in this.I){b=this.I[d];break a}b=b.parentNode}b=null}if(b)switch(a.type){case F.L:b.ka(a);break;case F.M:case F.aa:b.la(a);break;case "mouseover":b.Aa(a);break;case "mouseout":b.za(a);break;case "contextmenu":b.ea(a)}};h.Ha=function(){};h.Qa=function(){Ad(this,-1);this.V=!1;this.s&&qd(this.s,!1)};
  h.Ra=function(a){return this.isEnabled()&&this.isVisible()&&(0!=Pc(this)||this.Da)&&Bd(this,a)?(a.g(),a.j(),!0):!1};
  var Bd=function(a,b){var c=L(a,a.l);if(c&&"function"==typeof c.fa&&c.fa(b)||a.s&&a.s!=c&&"function"==typeof a.s.fa&&a.s.fa(b))return!0;if(b.shiftKey||b.ctrlKey||b.metaKey||b.altKey)return!1;switch(b.c){case 27:wd(a).blur();break;case 36:Cd(a);break;case 35:Dd(a);break;case 38:if("vertical"==a.H)Ed(a);else return!1;break;case 37:if("horizontal"==a.H)Qc(a)?Fd(a):Ed(a);else return!1;break;case 40:if("vertical"==a.H)Fd(a);else return!1;break;case 39:if("horizontal"==a.H)Qc(a)?Ed(a):Fd(a);else return!1;
  break;default:return!1}return!0},xd=function(a,b){var c=b.f();c=c.id||(c.id=Jc(b));a.I||(a.I={});a.I[c]=b};S.prototype.sa=function(a,b){Ca(a,N,"The child of a container must be a control");S.i.sa.call(this,a,b)};S.prototype.ta=function(a,b,c){Ca(a,N);a.K|=2;a.K|=64;rd(a,32,!1);a.m&&0!=a.ya&&md(a,!1);a.ya=!1;var d=a.b==this?Rc(this,a):-1;S.i.ta.call(this,a,b,c);a.m&&this.m&&xd(this,a);a=d;-1==a&&(a=Pc(this));a==this.l?this.l=Math.min(Pc(this)-1,b):a>this.l&&b<=this.l?this.l++:a<this.l&&b>this.l&&this.l--};
  var Zc=function(a,b){if(a.f())throw Error("Component already rendered");a.H=b};S.prototype.isVisible=function(){return this.T};var yd=function(a,b){a.T=b;var c=a.f();c&&(c.style.display=b?"":"none",Wc(wd(a),a.O&&a.T))};S.prototype.isEnabled=function(){return this.O};S.prototype.Z=function(a){this.O!=a&&sc(this,a?"enable":"disable")&&(a?(this.O=!0,Oc(this,function(b){b.La?delete b.La:b.Z(!0)})):(Oc(this,function(b){b.isEnabled()?b.Z(!1):b.La=!0}),this.V=this.O=!1),Wc(wd(this),a&&this.T))};
  var Ad=function(a,b){(b=L(a,b))?P(b,!0):-1<a.l&&P(L(a,a.l),!1)},Cd=function(a){Gd(a,function(b,c){return(b+1)%c},Pc(a)-1)},Dd=function(a){Gd(a,function(b,c){b--;return 0>b?c-1:b},0)},Fd=function(a){Gd(a,function(b,c){return(b+1)%c},a.l)},Ed=function(a){Gd(a,function(b,c){b--;return 0>b?c-1:b},a.l)},Gd=function(a,b,c){c=0>c?Rc(a,a.s):c;var d=Pc(a);c=b.call(a,c,d);for(var e=0;e<=d;){var f=L(a,c),g;if(g=f)g=f.isVisible()&&f.isEnabled()&&!!(f.v&2);if(g){a.Ea(c);break}e++;c=b.call(a,c,d)}};
  S.prototype.Ea=function(a){Ad(this,a)};var T=function(){};n(T,M);da(T);T.prototype.a=function(){return"goog-tab"};T.prototype.h=function(){return"tab"};T.prototype.c=function(a){var b=T.i.c.call(this,a);(a=a.Pa)&&b&&(b.title=a||"");return b};T.prototype.g=function(a,b){b=T.i.g.call(this,a,b);var c=b.title||"";c&&(a.Pa=c);a.o&8&&(c=a.b)&&ia(c.G)&&(Q(a,8,!1),c.G(a));return b};var Hd=function(a,b,c){N.call(this,a,b||T.R(),c);rd(this,8,!0);this.K|=9};n(Hd,N);Tc("goog-tab",function(){return new Hd(null)});var U=function(){this.h="tablist"};n(U,Vc);da(U);U.prototype.b=function(){return"goog-tab-bar"};U.prototype.g=function(a,b,c){this.j||(this.a||Id(this),this.j=sa(this.a));var d=this.j[b];d?(Zc(a,Jd(d)),a.B=d):U.i.g.call(this,a,b,c)};U.prototype.c=function(a){var b=U.i.c.call(this,a);this.a||Id(this);b.push(this.a[a.B]);return b};var Id=function(a){var b=a.b();a.a={top:b+"-top",bottom:b+"-bottom",start:b+"-start",end:b+"-end"}};var V=function(a,b,c){a=a||"top";Zc(this,Jd(a));this.B=a;S.call(this,this.H,b||U.R(),c);Kd(this)};n(V,S);h=V.prototype;h.C=null;h.D=function(){V.i.D.call(this);Kd(this)};h.u=function(){V.i.u.call(this);this.C=null};h.Ea=function(a){V.i.Ea.call(this,a);this.G(L(this,a))};h.G=function(a){a?pd(a,!0):this.C&&pd(this.C,!1)};
  var Ld=function(a,b){if(b&&b==a.C){for(var c=Rc(a,b),d=c-1;b=L(a,d);d--){var e=b;if(e.isVisible()&&e.isEnabled()){a.G(b);return}}for(c+=1;b=L(a,c);c++)if(d=b,d.isVisible()&&d.isEnabled()){a.G(b);return}a.G(null)}};h=V.prototype;h.ab=function(a){this.C&&this.C!=a.target&&pd(this.C,!1);this.C=a.target};h.bb=function(a){a.target==this.C&&(this.C=null)};h.Za=function(a){Ld(this,a.target)};h.$a=function(a){Ld(this,a.target)};h.Ha=function(){L(this,this.l)||Ad(this,Rc(this,this.C||L(this,0)))};
  var Kd=function(a){H(H(H(H(Mc(a),a,"select",a.ab),a,"unselect",a.bb),a,"disable",a.Za),a,"hide",a.$a)},Jd=function(a){return"start"==a||"end"==a?"vertical":"horizontal"};Tc("goog-tab-bar",function(){return new V});function Md(a){var b={top:"bottom",bottom:"top",start:"right",end:"left"}[a.location],c=a.elementId,d=document.createElement("style");d.textContent="\n    fieldset {\n      padding: 10px;\n      border: 1px solid #369;\n    }\n\n    #"+c+" .goog-tab-content {\n      min-height: 3em;\n      margin: 0;\n      border: "+a.border+" solid "+a.borderColor+";\n      border-top: 0;\n      height: "+a.contentHeight+";\n      padding: 4px 8px;\n      margin-right: 4px;\n      background: var(--colab-primary-surface-color);\n      overflow: auto;\n    }\n\n    #"+
  c+" .goog-tab-bar-"+a.location+" .goog-tab-selected {\n      background-color: var(--colab-primary-surface-color);\n      border: 1px solid "+a.borderColor+";\n      border-"+b+": 0px;\n    }\n\n    #"+c+" .goog-tab-bar-"+a.location+" {\n      padding-"+a.location+": 5px !important;\n      border-"+b+": 1px solid "+a.borderColor+" !important;\n      background: var(--colab-primary-surface-color);\n    }\n\n    #"+c+" .goog-tab-bar {\n       margin: 0;\n       border: 0;\n       padding: 0;\n       list-style: none;\n       cursor: default;\n       outline: none;\n       background: var(--colab-primary-surface-color);\n       margin-right: 4px;\n      }\n\n     #"+
  c+" .goog-tab {\n       position: relative;\n       padding: 4px 8px;\n       color: var(--colab-primary-text-color);\n       text-decoration: initial;\n       cursor: default;\n      }\n\n      #"+c+" .goog-tab-hover {\n        background-color: var(--colab-highlighted-surface-color);\n      }\n      ";return d}
  var Nd=function(a){var b=a.elementId,c=a.tabNames,d=a.selectedIndex;"contentBorder"in a||(a.contentBorder="0px");"contentHeight"in a||(a.contentHeight="initial");"borderColor"in a||(a.borderColor="var(--colab-border-color)");a.location||(a.location="top");var e=document.querySelector("#"+b),f=document.createElement("div");f.classList.add("goog-tab-bar");var g=a.location;f.classList.add("goog-tab-bar-"+g);for(var k=[],q=ba(c),w=q.next();!w.done;w=q.next()){w=w.value;var B=document.createElement("div");
  B.classList.add("goog-tab");B.textContent=w;f.appendChild(B);k.push(B)}"bottom"!=g&&e.appendChild(f);q=null;if("top"==g||"bottom"==g)q=document.createElement("div"),q.classList.add("goog-tab-bar-clear");"top"==g&&e.appendChild(q);B=document.createElement("div");B.classList.add("goog-tab-content");var ra=[];c=ba(c);for(w=c.next();!w.done;w=c.next())w=document.createElement("div"),w.id=e.id+"_content_"+ra.length,w.style.display="none",B.appendChild(w),ra.push(w);e.appendChild(B);"bottom"==g&&(e.appendChild(q),
  e.appendChild(f));var X=new V(g);Nc(X,f);var Y=-1;bc(X,"select",function(Z){Z=k.indexOf(Z.target.f());Z!=Y&&(0<=Y&&Y<ra.length&&(ra[Y].style.display="none",Y=-1),0<=Z&&Z<ra.length&&(Y=Z,ra[Y].style.display="inline",window.dispatchEvent(new Event("resize")),google.colab.output.resizeIframeToContent()),X.G(L(X,Y)))});X.G(L(X,d));window[b]={setSelectedTabIndex:function(Z){X.G(L(X,Z))}};document.head.appendChild(Md(a))},Od=["colab_lib","createTabBar"],W=l;
  Od[0]in W||"undefined"==typeof W.execScript||W.execScript("var "+Od[0]);for(var Pd;Od.length&&(Pd=Od.shift());)Od.length||void 0===Nd?W[Pd]&&W[Pd]!==Object.prototype[Pd]?W=W[Pd]:W=W[Pd]={}:W[Pd]=Nd;}).call(this);
  // clang-format on
  