/* Copyright 2008-10 Google Inc. All Rights Reserved. */ (function(){function e(a){throw a;}
var i=void 0,m=null,n,o=this,aa=function(a,b){var c=a.split("."),d=o;!(c[0]in d)&&d.execScript&&d.execScript("var "+c[0]);for(var f;c.length&&(f=c.shift());)!c.length&&b!==i?d[f]=b:d=d[f]?d[f]:d[f]={}},ba=function(){},ca=function(a){a.Q=function(){return a.ac||(a.ac=new a)}},da=function(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array)return"array";else if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if(c=="[object Window]")return"object";if(c=="[object Array]"||
typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(c=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if(b=="function"&&typeof a.call=="undefined")return"object";return b},ea=function(a){return da(a)=="array"},fa=function(a){var b=da(a);return b=="array"||b=="object"&&typeof a.length==
"number"},p=function(a){return typeof a=="string"},q=function(a){return da(a)=="function"},ga=function(a){a=da(a);return a=="object"||a=="array"||a=="function"},s=function(a){return a[ha]||(a[ha]=++ia)},ha="closure_uid_"+Math.floor(Math.random()*2147483648).toString(36),ia=0,ja=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=Array.prototype.slice.call(arguments);b.unshift.apply(b,c);return a.apply(this,b)}},t=function(a,b){function c(){}c.prototype=b.prototype;
a.c=b.prototype;a.prototype=new c;a.prototype.constructor=a};var ka=function(a){this.stack=Error().stack||"";if(a)this.message=String(a)};t(ka,Error);ka.prototype.name="CustomError";var la=function(a,b){for(var c=1;c<arguments.length;c++)var d=String(arguments[c]).replace(/\$/g,"$$$$"),a=a.replace(/\%s/,d);return a},ma=function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},sa=function(a){if(!na.test(a))return a;a.indexOf("&")!=-1&&(a=a.replace(oa,"&amp;"));a.indexOf("<")!=-1&&(a=a.replace(pa,"&lt;"));a.indexOf(">")!=-1&&(a=a.replace(qa,"&gt;"));a.indexOf('"')!=-1&&(a=a.replace(ra,"&quot;"));return a},oa=/&/g,pa=/</g,qa=/>/g,ra=/\"/g,na=/[&<>\"]/,ua=function(a,b){for(var c=
0,d=ma(String(a)).split("."),f=ma(String(b)).split("."),g=Math.max(d.length,f.length),h=0;c==0&&h<g;h++){var j=d[h]||"",k=f[h]||"",l=RegExp("(\\d*)(\\D*)","g"),M=RegExp("(\\d*)(\\D*)","g");do{var r=l.exec(j)||["","",""],I=M.exec(k)||["","",""];if(r[0].length==0&&I[0].length==0)break;c=ta(r[1].length==0?0:parseInt(r[1],10),I[1].length==0?0:parseInt(I[1],10))||ta(r[2].length==0,I[2].length==0)||ta(r[2],I[2])}while(c==0)}return c},ta=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};var va=function(a,b){b.unshift(a);ka.call(this,la.apply(m,b));b.shift();this.mc=a};t(va,ka);va.prototype.name="AssertionError";var wa=function(a,b,c){if(!a){var d=Array.prototype.slice.call(arguments,2),f="Assertion failed";if(b){f+=": "+b;var g=d}e(new va(""+f,g||[]))}};var u=Array.prototype,xa=u.indexOf?function(a,b,c){wa(a.length!=m);return u.indexOf.call(a,b,c)}:function(a,b,c){c=c==m?0:c<0?Math.max(0,a.length+c):c;if(p(a))return!p(b)||b.length!=1?-1:a.indexOf(b,c);for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},ya=u.forEach?function(a,b,c){wa(a.length!=m);u.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=p(a)?a.split(""):a,g=0;g<d;g++)g in f&&b.call(c,f[g],g,a)},za=u.every?function(a,b,c){wa(a.length!=m);return u.every.call(a,b,c)}:function(a,
b,c){for(var d=a.length,f=p(a)?a.split(""):a,g=0;g<d;g++)if(g in f&&!b.call(c,f[g],g,a))return!1;return!0},Aa=function(a,b){return xa(a,b)>=0},Ba=function(a,b){var c=xa(a,b);c>=0&&(wa(a.length!=m),u.splice.call(a,c,1))},Ca=function(a){return u.concat.apply(u,arguments)},Da=function(a){if(ea(a))return Ca(a);else{for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b}},Fa=function(a,b,c,d){wa(a.length!=m);u.splice.apply(a,Ea(arguments,1))},Ea=function(a,b,c){wa(a.length!=m);return arguments.length<=
2?u.slice.call(a,b):u.slice.call(a,b,c)};var Ga=function(a,b){for(var c in a)b.call(i,a[c],c,a)},Ha=function(a,b){b in a&&delete a[b]},Ia=function(a,b,c){b in a&&e(Error('The object already contains the key "'+b+'"'));a[b]=c},Ja=function(a){var b={},c;for(c in a)b[a[c]]=c;return b},Ka=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],La=function(a,b){for(var c,d,f=1;f<arguments.length;f++){d=arguments[f];for(c in d)a[c]=d[c];for(var g=0;g<Ka.length;g++)c=Ka[g],Object.prototype.hasOwnProperty.call(d,
c)&&(a[c]=d[c])}};var Ma,Na,Oa,Pa,Qa=function(){return o.navigator?o.navigator.userAgent:m};Pa=Oa=Na=Ma=!1;var Ra;if(Ra=Qa()){var Sa=o.navigator;Ma=Ra.indexOf("Opera")==0;Na=!Ma&&Ra.indexOf("MSIE")!=-1;Oa=!Ma&&Ra.indexOf("WebKit")!=-1;Pa=!Ma&&!Oa&&Sa.product=="Gecko"}var Ta=Ma,v=Na,w=Pa,x=Oa,Ua=o.navigator,Va=(Ua&&Ua.platform||"").indexOf("Mac")!=-1,Wa;
a:{var Xa="",Ya;if(Ta&&o.opera)var Za=o.opera.version,Xa=typeof Za=="function"?Za():Za;else if(w?Ya=/rv\:([^\);]+)(\)|;)/:v?Ya=/MSIE\s+([^\);]+)(\)|;)/:x&&(Ya=/WebKit\/(\S+)/),Ya)var $a=Ya.exec(Qa()),Xa=$a?$a[1]:"";if(v){var ab,bb=o.document;ab=bb?bb.documentMode:i;if(ab>parseFloat(Xa)){Wa=String(ab);break a}}Wa=Xa}var cb=Wa,db={},y=function(a){return db[a]||(db[a]=ua(cb,a)>=0)},eb={},fb=function(){return eb[9]||(eb[9]=v&&document.documentMode&&document.documentMode>=9)};var gb,hb=!v||fb();!w&&!v||v&&fb()||w&&y("1.9.1");var ib=v&&!y("9");var jb=function(a){return(a=a.className)&&typeof a.split=="function"?a.split(/\s+/):[]},z=function(a,b){var c=jb(a),d=Ea(arguments,1),f;f=c;for(var g=0,h=0;h<d.length;h++)Aa(f,d[h])||(f.push(d[h]),g++);f=g==d.length;a.className=c.join(" ");return f},kb=function(a,b){var c=jb(a),d=Ea(arguments,1),f;f=c;for(var g=0,h=0;h<f.length;h++)Aa(d,f[h])&&(Fa(f,h--,1),g++);f=g==d.length;a.className=c.join(" ");return f};var nb=function(a){return a?new lb(mb(a)):gb||(gb=new lb)},ob=function(a){return p(a)?document.getElementById(a):a},pb=function(a,b,c){c=c||document;a=a&&a!="*"?a.toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(!x||document.compatMode=="CSS1Compat"||y("528"))&&(a||b))return c.querySelectorAll(a+(b?"."+b:""));if(b&&c.getElementsByClassName)if(c=c.getElementsByClassName(b),a){for(var d={},f=0,g=0,h;h=c[g];g++)a==h.nodeName&&(d[f++]=h);d.length=f;return d}else return c;c=c.getElementsByTagName(a||
"*");if(b){d={};for(g=f=0;h=c[g];g++)a=h.className,typeof a.split=="function"&&Aa(a.split(/\s+/),b)&&(d[f++]=h);d.length=f;return d}else return c},rb=function(a,b){Ga(b,function(b,d){d=="style"?a.style.cssText=b:d=="class"?a.className=b:d=="for"?a.htmlFor=b:d in qb?a.setAttribute(qb[d],b):a[d]=b})},qb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",maxlength:"maxLength",
type:"type"},tb=function(a,b,c){return sb(document,arguments)},sb=function(a,b){var c=b[0],d=b[1];if(!hb&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',sa(d.name),'"');if(d.type){c.push(' type="',sa(d.type),'"');var f={};La(f,d);d=f;delete d.type}c.push(">");c=c.join("")}c=a.createElement(c);if(d)p(d)?c.className=d:ea(d)?z.apply(m,[c].concat(d)):rb(c,d);b.length>2&&ub(a,c,b);return c},ub=function(a,b,c){function d(c){c&&b.appendChild(p(c)?a.createTextNode(c):c)}for(var f=2;f<c.length;f++){var g=
c[f];if(fa(g)&&!(ga(g)&&g.nodeType>0)){var h;a:{if(g&&typeof g.length=="number")if(ga(g)){h=typeof g.item=="function"||typeof g.item=="string";break a}else if(q(g)){h=typeof g.item=="function";break a}h=!1}ya(h?Da(g):g,d)}else d(g)}},vb=function(a){a&&a.parentNode&&a.parentNode.removeChild(a)},wb=function(a){for(;a&&a.nodeType!=1;)a=a.nextSibling;return a},xb=function(a,b){if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||Boolean(a.compareDocumentPosition(b)&
16);for(;b&&a!=b;)b=b.parentNode;return b==a},mb=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},yb=function(a,b){if("textContent"in a)a.textContent=b;else if(a.firstChild&&a.firstChild.nodeType==3){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else{for(var c;c=a.firstChild;)a.removeChild(c);a.appendChild(mb(a).createTextNode(b))}},zb={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Ab={IMG:" ",BR:"\n"},Bb=function(a){var b=a.getAttributeNode("tabindex");
return b&&b.specified?(a=a.tabIndex,typeof a=="number"&&a>=0&&a<32768):!1},Cb=function(a,b,c){if(!(a.nodeName in zb))if(a.nodeType==3)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in Ab)b.push(Ab[a.nodeName]);else for(a=a.firstChild;a;)Cb(a,b,c),a=a.nextSibling},lb=function(a){this.I=a||o.document||document};n=lb.prototype;n.Ma=nb;n.a=function(a){return p(a)?this.I.getElementById(a):a};n.l=function(a,b,c){return sb(this.I,arguments)};
n.createElement=function(a){return this.I.createElement(a)};n.createTextNode=function(a){return this.I.createTextNode(a)};n.appendChild=function(a,b){a.appendChild(b)};n.contains=xb;var Db=new Function("a","return a");var Eb,Fb=!v||fb(),Gb=v&&!y("8");var A=function(){};A.prototype.bb=!1;A.prototype.A=function(){if(!this.bb)this.bb=!0,this.f()};A.prototype.f=function(){this.hc&&Hb.apply(m,this.hc)};var Hb=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];fa(d)?Hb.apply(m,d):d&&typeof d.A=="function"&&d.A()}};var B=function(a,b){this.type=a;this.currentTarget=this.target=b};t(B,A);n=B.prototype;n.f=function(){delete this.type;delete this.target;delete this.currentTarget};n.da=!1;n.xa=!0;n.stopPropagation=function(){this.da=!0};n.preventDefault=function(){this.xa=!1};var C=function(a,b){a&&this.wa(a,b)};t(C,B);var Ib=[1,4,2];n=C.prototype;n.target=m;n.relatedTarget=m;n.offsetX=0;n.offsetY=0;n.clientX=0;n.clientY=0;n.screenX=0;n.screenY=0;n.button=0;n.keyCode=0;n.charCode=0;n.ctrlKey=!1;n.altKey=!1;n.shiftKey=!1;n.metaKey=!1;n.Xb=!1;n.L=m;
n.wa=function(a,b){var c=this.type=a.type;B.call(this,c);this.target=a.target||a.srcElement;this.currentTarget=b;var d=a.relatedTarget;if(d){if(w){var f;a:{try{Db(d.nodeName);f=!0;break a}catch(g){}f=!1}f||(d=m)}}else if(c=="mouseover")d=a.fromElement;else if(c=="mouseout")d=a.toElement;this.relatedTarget=d;this.offsetX=a.offsetX!==i?a.offsetX:a.layerX;this.offsetY=a.offsetY!==i?a.offsetY:a.layerY;this.clientX=a.clientX!==i?a.clientX:a.pageX;this.clientY=a.clientY!==i?a.clientY:a.pageY;this.screenX=
a.screenX||0;this.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.Xb=Va?a.metaKey:a.ctrlKey;this.state=a.state;this.L=a;delete this.xa;delete this.da};var Jb=function(a){return Fb?a.L.button==0:a.type=="click"?!0:!!(a.L.button&Ib[0])};
C.prototype.stopPropagation=function(){C.c.stopPropagation.call(this);this.L.stopPropagation?this.L.stopPropagation():this.L.cancelBubble=!0};C.prototype.preventDefault=function(){C.c.preventDefault.call(this);var a=this.L;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Gb)try{if(a.ctrlKey||a.keyCode>=112&&a.keyCode<=123)a.keyCode=-1}catch(b){}};C.prototype.f=function(){C.c.f.call(this);this.relatedTarget=this.currentTarget=this.target=this.L=m};var D=function(a,b){this.Db=b;this.ca=[];a>this.Db&&e(Error("[goog.structs.SimplePool] Initial cannot be greater than max"));for(var c=0;c<a;c++)this.ca.push(this.M?this.M():{})};t(D,A);D.prototype.M=m;D.prototype.Eb=m;D.prototype.getObject=function(){return this.ca.length?this.ca.pop():this.M?this.M():{}};var Lb=function(a,b){a.ca.length<a.Db?a.ca.push(b):Kb(a,b)},Kb=function(a,b){if(a.Eb)a.Eb(b);else if(ga(b))if(q(b.A))b.A();else for(var c in b)delete b[c]};
D.prototype.f=function(){D.c.f.call(this);for(var a=this.ca;a.length;)Kb(this,a.pop());delete this.ca};var Mb,Nb=(Mb="ScriptEngine"in o&&o.ScriptEngine()=="JScript")?o.ScriptEngineMajorVersion()+"."+o.ScriptEngineMinorVersion()+"."+o.ScriptEngineBuildVersion():"0";var Ob=function(){},Pb=0;n=Ob.prototype;n.key=0;n.ba=!1;n.Cb=!1;n.wa=function(a,b,c,d,f,g){q(a)?this.Ab=!0:a&&a.handleEvent&&q(a.handleEvent)?this.Ab=!1:e(Error("Invalid listener argument"));this.ha=a;this.sb=b;this.src=c;this.type=d;this.capture=!!f;this.Ga=g;this.Cb=!1;this.key=++Pb;this.ba=!1};n.handleEvent=function(a){return this.Ab?this.ha.call(this.Ga||this.src,a):this.ha.handleEvent.call(this.ha,a)};var Qb,Rb,Sb,Tb,Ub,Vb,Wb,Xb,Yb,Zb,$b;
(function(){function a(){return{J:0,G:0}}function b(){return[]}function c(){var a=function(b){return h.call(a.src,a.key,b)};return a}function d(){return new Ob}function f(){return new C}var g=Mb&&!(ua(Nb,"5.7")>=0),h;Vb=function(a){h=a};if(g){Qb=function(){return j.getObject()};Rb=function(a){Lb(j,a)};Sb=function(){return k.getObject()};Tb=function(a){Lb(k,a)};Ub=function(){return l.getObject()};Wb=function(){Lb(l,c())};Xb=function(){return M.getObject()};Yb=function(a){Lb(M,a)};Zb=function(){return r.getObject()};
$b=function(a){Lb(r,a)};var j=new D(0,600);j.M=a;var k=new D(0,600);k.M=b;var l=new D(0,600);l.M=c;var M=new D(0,600);M.M=d;var r=new D(0,600);r.M=f}else Qb=a,Rb=ba,Sb=b,Tb=ba,Ub=c,Wb=ba,Xb=d,Yb=ba,Zb=f,$b=ba})();var ac={},E={},F={},bc={},G=function(a,b,c,d,f){if(b)if(ea(b)){for(var g=0;g<b.length;g++)G(a,b[g],c,d,f);return m}else{var d=!!d,h=E;b in h||(h[b]=Qb());h=h[b];d in h||(h[d]=Qb(),h.J++);var h=h[d],j=s(a),k;h.G++;if(h[j]){k=h[j];for(g=0;g<k.length;g++)if(h=k[g],h.ha==c&&h.Ga==f){if(h.ba)break;return k[g].key}}else k=h[j]=Sb(),h.J++;g=Ub();g.src=a;h=Xb();h.wa(c,g,a,b,d,f);c=h.key;g.key=c;k.push(h);ac[c]=h;F[j]||(F[j]=Sb());F[j].push(h);a.addEventListener?(a==o||!a.rb)&&a.addEventListener(b,g,d):a.attachEvent(b in
bc?bc[b]:bc[b]="on"+b,g);return c}else e(Error("Invalid event type"))},cc=function(a,b,c,d,f){if(ea(b))for(var g=0;g<b.length;g++)cc(a,b[g],c,d,f);else if(d=!!d,a=dc(a,b,d))for(g=0;g<a.length;g++)if(a[g].ha==c&&a[g].capture==d&&a[g].Ga==f){H(a[g].key);break}},H=function(a){if(ac[a]){var b=ac[a];if(!b.ba){var c=b.src,d=b.type,f=b.sb,g=b.capture;c.removeEventListener?(c==o||!c.rb)&&c.removeEventListener(d,f,g):c.detachEvent&&c.detachEvent(d in bc?bc[d]:bc[d]="on"+d,f);c=s(c);f=E[d][g][c];if(F[c]){var h=
F[c];Ba(h,b);h.length==0&&delete F[c]}b.ba=!0;f.yb=!0;ec(d,g,c,f);delete ac[a]}}},ec=function(a,b,c,d){if(!d.Na&&d.yb){for(var f=0,g=0;f<d.length;f++)if(d[f].ba){var h=d[f].sb;h.src=m;Wb(h);Yb(d[f])}else f!=g&&(d[g]=d[f]),g++;d.length=g;d.yb=!1;g==0&&(Tb(d),delete E[a][b][c],E[a][b].J--,E[a][b].J==0&&(Rb(E[a][b]),delete E[a][b],E[a].J--),E[a].J==0&&(Rb(E[a]),delete E[a]))}},fc=function(a){var b,c=0,d=b==m;b=!!b;if(a==m)Ga(F,function(a){for(var f=a.length-1;f>=0;f--){var g=a[f];if(d||b==g.capture)H(g.key),
c++}});else if(a=s(a),F[a])for(var a=F[a],f=a.length-1;f>=0;f--){var g=a[f];if(d||b==g.capture)H(g.key),c++}},dc=function(a,b,c){var d=E;return b in d&&(d=d[b],c in d&&(d=d[c],a=s(a),d[a]))?d[a]:m},hc=function(a,b,c,d,f){var g=1,b=s(b);if(a[b]){a.G--;a=a[b];a.Na?a.Na++:a.Na=1;try{for(var h=a.length,j=0;j<h;j++){var k=a[j];k&&!k.ba&&(g&=gc(k,f)!==!1)}}finally{a.Na--,ec(c,d,b,a)}}return Boolean(g)},gc=function(a,b){var c=a.handleEvent(b);a.Cb&&H(a.key);return c};
Vb(function(a,b){if(!ac[a])return!0;var c=ac[a],d=c.type,f=E;if(!(d in f))return!0;var f=f[d],g,h;Eb===i&&(Eb=v&&!o.addEventListener);if(Eb){var j;if(!(j=b))a:{j="window.event".split(".");for(var k=o;g=j.shift();)if(k[g]!=m)k=k[g];else{j=m;break a}j=k}g=j;j=!0 in f;k=!1 in f;if(j){if(g.keyCode<0||g.returnValue!=i)return!0;a:{var l=!1;if(g.keyCode==0)try{g.keyCode=-1;break a}catch(M){l=!0}if(l||g.returnValue==i)g.returnValue=!0}}l=Zb();l.wa(g,this);g=!0;try{if(j){for(var r=Sb(),I=l.currentTarget;I;I=
I.parentNode)r.push(I);h=f[!0];h.G=h.J;for(var P=r.length-1;!l.da&&P>=0&&h.G;P--)l.currentTarget=r[P],g&=hc(h,r[P],d,!0,l);if(k){h=f[!1];h.G=h.J;for(P=0;!l.da&&P<r.length&&h.G;P++)l.currentTarget=r[P],g&=hc(h,r[P],d,!1,l)}}else g=gc(c,l)}finally{if(r)r.length=0,Tb(r);l.A();$b(l)}return g}d=new C(b,this);try{g=gc(c,d)}finally{d.A()}return g});var ic=function(a){this.vb=a};t(ic,A);
var jc=new D(0,100),kc=[],J=function(a,b,c,d){ea(c)||(kc[0]=c,c=kc);for(var f=0;f<c.length;f++){var g=a,h=G(b,c[f],d||a,!1,a.vb||a);g.w?g.w[h]=!0:g.U?(g.w=jc.getObject(),g.w[g.U]=!0,g.U=m,g.w[h]=!0):g.U=h}return a},K=function(a,b,c,d,f,g){if(a.U||a.w)if(ea(c))for(var h=0;h<c.length;h++)K(a,b,c[h],d,f,g);else{a:{d=d||a;g=g||a.vb||a;f=!!f;if(b=dc(b,c,f))for(c=0;c<b.length;c++)if(!b[c].ba&&b[c].ha==d&&b[c].capture==f&&b[c].Ga==g){b=b[c];break a}b=m}if(b)if(b=b.key,H(b),a.w)Ha(a.w,b);else if(a.U==b)a.U=
m}return a},lc=function(a){if(a.w){for(var b in a.w)H(b),delete a.w[b];Lb(jc,a.w);a.w=m}else a.U&&H(a.U)};ic.prototype.f=function(){ic.c.f.call(this);lc(this)};ic.prototype.handleEvent=function(){e(Error("EventHandler.handleEvent not implemented"))};var mc=function(){};t(mc,A);n=mc.prototype;n.rb=!0;n.Ha=m;n.cb=function(a){this.Ha=a};n.addEventListener=function(a,b,c,d){G(this,a,b,c,d)};n.removeEventListener=function(a,b,c,d){cc(this,a,b,c,d)};
n.dispatchEvent=function(a){var b=a.type||a,c=E;if(b in c){if(p(a))a=new B(a,this);else if(a instanceof B)a.target=a.target||this;else{var d=a,a=new B(b,this);La(a,d)}var d=1,f,c=c[b],b=!0 in c,g;if(b){f=[];for(g=this;g;g=g.Ha)f.push(g);g=c[!0];g.G=g.J;for(var h=f.length-1;!a.da&&h>=0&&g.G;h--)a.currentTarget=f[h],d&=hc(g,f[h],a.type,!0,a)&&a.xa!=!1}if(!1 in c)if(g=c[!1],g.G=g.J,b)for(h=0;!a.da&&h<f.length&&g.G;h++)a.currentTarget=f[h],d&=hc(g,f[h],a.type,!1,a)&&a.xa!=!1;else for(f=this;!a.da&&f&&
g.G;f=f.Ha)a.currentTarget=f,d&=hc(g,f,a.type,!1,a)&&a.xa!=!1;a=Boolean(d)}else a=!0;return a};n.f=function(){mc.c.f.call(this);fc(this);this.Ha=m};var L=function(a,b){a.style.display=b?"":"none"},nc=w?"MozUserSelect":x?"WebkitUserSelect":m,oc=function(a,b,c){c=!c?a.getElementsByTagName("*"):m;if(nc){if(b=b?"none":"",a.style[nc]=b,c)for(var a=0,d;d=c[a];a++)d.style[nc]=b}else if(v||Ta)if(b=b?"on":"",a.setAttribute("unselectable",b),c)for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)};var pc=function(){};ca(pc);pc.prototype.$b=0;pc.Q();var N=function(a){this.q=a||nb();this.ua=qc};t(N,mc);N.prototype.Zb=pc.Q();var qc=m,rc=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"}e(Error("Invalid component state"))};n=N.prototype;n.ia=m;n.e=!1;n.d=m;n.ua=m;n.Mb=m;n.o=m;n.p=m;n.t=m;n.mb=!1;
var sc=function(a){return a.ia||(a.ia=":"+(a.Zb.$b++).toString(36))},tc=function(a,b){a.o&&a.o.t&&(Ha(a.o.t,a.ia),Ia(a.o.t,b,a));a.ia=b};N.prototype.a=function(){return this.d};var uc=function(a){return a.fa||(a.fa=new ic(a))},wc=function(a,b){a==b&&e(Error("Unable to set parent component"));b&&a.o&&a.ia&&vc(a.o,a.ia)&&a.o!=b&&e(Error("Unable to set parent component"));a.o=b;N.c.cb.call(a,b)};n=N.prototype;n.getParent=function(){return this.o};
n.cb=function(a){this.o&&this.o!=a&&e(Error("Method not supported"));N.c.cb.call(this,a)};n.Ma=function(){return this.q};n.l=function(){this.d=this.q.createElement("div")};n.K=function(a){if(this.e)e(Error("Component already rendered"));else if(a&&this.aa(a)){this.mb=!0;if(!this.q||this.q.I!=mb(a))this.q=nb(a);this.Va(a);this.r()}else e(Error("Invalid element to decorate"))};n.aa=function(){return!0};n.Va=function(a){this.d=a};n.r=function(){this.e=!0;xc(this,function(a){!a.e&&a.a()&&a.r()})};
n.X=function(){xc(this,function(a){a.e&&a.X()});this.fa&&lc(this.fa);this.e=!1};n.f=function(){N.c.f.call(this);this.e&&this.X();this.fa&&(this.fa.A(),delete this.fa);xc(this,function(a){a.A()});!this.mb&&this.d&&vb(this.d);this.o=this.Mb=this.d=this.t=this.p=m};n.Fa=function(a,b){this.Sa(a,yc(this),b)};
n.Sa=function(a,b,c){a.e&&(c||!this.e)&&e(Error("Component already rendered"));(b<0||b>yc(this))&&e(Error("Child component index out of bounds"));if(!this.t||!this.p)this.t={},this.p=[];a.getParent()==this?(this.t[sc(a)]=a,Ba(this.p,a)):Ia(this.t,sc(a),a);wc(a,this);Fa(this.p,b,0,a);a.e&&this.e&&a.getParent()==this?(c=this.C(),c.insertBefore(a.a(),c.childNodes[b]||m)):c?(this.d||this.l(),c=O(this,b+1),b=this.C(),c=c?c.d:m,a.e&&e(Error("Component already rendered")),a.d||a.l(),b?b.insertBefore(a.d,
c||m):a.q.I.body.appendChild(a.d),(!a.o||a.o.e)&&a.r()):this.e&&!a.e&&a.d&&a.r()};n.C=function(){return this.d};var zc=function(a){if(a.ua==m){var b;a:{b=a.e?a.d:a.q.I.body;var c=mb(b);if(c.defaultView&&c.defaultView.getComputedStyle&&(b=c.defaultView.getComputedStyle(b,m))){b=b.direction||b.getPropertyValue("direction");break a}b=""}a.ua="rtl"==(b||((a.e?a.d:a.q.I.body).currentStyle?(a.e?a.d:a.q.I.body).currentStyle.direction:m)||(a.e?a.d:a.q.I.body).style.direction)}return a.ua};
N.prototype.ra=function(a){this.e&&e(Error("Component already rendered"));this.ua=a};var yc=function(a){return a.p?a.p.length:0},vc=function(a,b){return a.t&&b?(b in a.t?a.t[b]:i)||m:m},O=function(a,b){return a.p?a.p[b]||m:m},xc=function(a,b,c){a.p&&ya(a.p,b,c)},Ac=function(a,b){return a.p&&b?xa(a.p,b):-1};N.prototype.removeChild=function(a,b){if(a){var c=p(a)?a:sc(a),a=vc(this,c);c&&a&&(Ha(this.t,c),Ba(this.p,a),b&&(a.X(),a.d&&vb(a.d)),wc(a,m))}a||e(Error("Child is not in parent component"));return a};var Bc=function(a,b){a.setAttribute("role",b);a.nc=b};var Dc=function(a,b,c,d,f){if(!v&&(!x||!y("525")))return!0;if(Va&&f)return Cc(a);if(f&&!d)return!1;if(!c&&(b==17||b==18))return!1;if(v&&d&&b==a)return!1;switch(a){case 13:return!(v&&fb());case 27:return!x}return Cc(a)},Cc=function(a){if(a>=48&&a<=57)return!0;if(a>=96&&a<=106)return!0;if(a>=65&&a<=90)return!0;if(x&&a==0)return!0;switch(a){case 32:case 63:case 107:case 109:case 110:case 111:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;default:return!1}};var Q=function(a,b){a&&Ec(this,a,b)};t(Q,mc);n=Q.prototype;n.d=m;n.Ka=m;n.Xa=m;n.La=m;n.T=-1;n.S=-1;
var Fc={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},Gc={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},Hc={61:187,59:186},Ic=v||x&&y("525");
Q.prototype.Rb=function(a){if(x&&(this.T==17&&!a.ctrlKey||this.T==18&&!a.altKey))this.S=this.T=-1;Ic&&!Dc(a.keyCode,this.T,a.shiftKey,a.ctrlKey,a.altKey)?this.handleEvent(a):this.S=w&&a.keyCode in Hc?Hc[a.keyCode]:a.keyCode};Q.prototype.Sb=function(){this.S=this.T=-1};
Q.prototype.handleEvent=function(a){var b=a.L,c,d;v&&a.type=="keypress"?(c=this.S,d=c!=13&&c!=27?b.keyCode:0):x&&a.type=="keypress"?(c=this.S,d=b.charCode>=0&&b.charCode<63232&&Cc(c)?b.charCode:0):Ta?(c=this.S,d=Cc(c)?b.keyCode:0):(c=b.keyCode||this.S,d=b.charCode||0,Va&&d==63&&!c&&(c=191));var f=c,g=b.keyIdentifier;c?c>=63232&&c in Fc?f=Fc[c]:c==25&&a.shiftKey&&(f=9):g&&g in Gc&&(f=Gc[g]);a=f==this.T;this.T=f;b=new Jc(f,d,a,b);try{this.dispatchEvent(b)}finally{b.A()}};Q.prototype.a=function(){return this.d};
var Ec=function(a,b,c){a.La&&a.detach();a.d=b;a.Ka=G(a.d,"keypress",a,c);a.Xa=G(a.d,"keydown",a.Rb,c,a);a.La=G(a.d,"keyup",a.Sb,c,a)};Q.prototype.detach=function(){if(this.Ka)H(this.Ka),H(this.Xa),H(this.La),this.La=this.Xa=this.Ka=m;this.d=m;this.S=this.T=-1};Q.prototype.f=function(){Q.c.f.call(this);this.detach()};var Jc=function(a,b,c,d){d&&this.wa(d,i);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};t(Jc,C);var Lc=function(a,b){a||e(Error("Invalid class name "+a));q(b)||e(Error("Invalid decorator function "+b));Kc[a]=b},Mc={},Kc={};var R=function(){},Nc;ca(R);n=R.prototype;n.ga=function(){};n.l=function(a){return a.Ma().l("div",this.va(a).join(" "),a.za)};n.C=function(a){return a};n.ta=function(a,b,c){if(a=a.a?a.a():a)if(v&&!y("7")){var d=Oc(jb(a),b);d.push(b);ja(c?z:kb,a).apply(m,d)}else c?z(a,b):kb(a,b)};n.aa=function(){return!0};
n.K=function(a,b){b.id&&tc(a,b.id);var c=this.C(b);a.za=c&&c.firstChild?c.firstChild.nextSibling?Da(c.childNodes):c.firstChild:m;var d=0,f=this.m(),g=this.m(),h=!1,j=!1,c=!1,k=jb(b);ya(k,function(a){if(!h&&a==f)h=!0,g==f&&(j=!0);else if(!j&&a==g)j=!0;else{var b=d;if(!this.pb)this.Ja||Pc(this),this.pb=Ja(this.Ja);a=parseInt(this.pb[a],10);d=b|(isNaN(a)?0:a)}},this);a.i=d;h||(k.push(f),g==f&&(j=!0));j||k.push(g);var l=a.D;l&&k.push.apply(k,l);if(v&&!y("7")){var M=Oc(k);M.length>0&&(k.push.apply(k,M),
c=!0)}if(!h||!j||l||c)b.className=k.join(" ");return b};n.Oa=function(a){zc(a)&&this.ra(a.a(),!0);a.isEnabled()&&this.na(a,a.H())};n.Ba=function(a,b){oc(a,!b,!v&&!Ta)};n.ra=function(a,b){this.ta(a,this.m()+"-rtl",b)};n.W=function(a){var b;return a.s&32&&(b=a.k())?Bb(b):!1};n.na=function(a,b){var c;if(a.s&32&&(c=a.k())){if(!b&&a.i&32){try{c.blur()}catch(d){}a.i&32&&a.oa(m)}if(Bb(c)!=b)b?c.tabIndex=0:c.removeAttribute("tabIndex")}};n.ka=function(a,b){L(a,b)};
n.v=function(a,b,c){var d=a.a();if(d){var f=Qc(this,b);f&&this.ta(a,f,c);Nc||(Nc={1:"disabled",4:"pressed",8:"selected",16:"checked",64:"expanded"});(a=Nc[b])&&d.setAttribute("aria-"+a,c)}};n.k=function(a){return a.a()};n.m=function(){return"goog-control"};n.va=function(a){var b=this.m(),c=[b],d=this.m();d!=b&&c.push(d);b=a.i;for(d=[];b;){var f=b&-b;d.push(Qc(this,f));b&=~f}c.push.apply(c,d);(a=a.D)&&c.push.apply(c,a);v&&!y("7")&&c.push.apply(c,Oc(c));return c};
var Oc=function(a,b){var c=[];b&&(a=a.concat([b]));ya([],function(d){za(d,ja(Aa,a))&&(!b||Aa(d,b))&&c.push(d.join("_"))});return c},Qc=function(a,b){a.Ja||Pc(a);return a.Ja[b]},Pc=function(a){var b=a.m();a.Ja={1:b+"-disabled",2:b+"-hover",4:b+"-active",8:b+"-selected",16:b+"-checked",32:b+"-focused",64:b+"-open"}};var S=function(a,b,c){N.call(this,c);if(!b){for(var b=this.constructor,d;b;){d=s(b);if(d=Mc[d])break;b=b.c?b.c.constructor:m}b=d?q(d.Q)?d.Q():new d:m}this.b=b;this.za=a};t(S,N);n=S.prototype;n.za=m;n.i=0;n.s=39;n.Yb=255;n.Da=0;n.n=!0;n.D=m;n.la=!0;n.Aa=!1;n.k=function(){return this.b.k(this)};n.Ca=function(){return this.u||(this.u=new Q)};n.xb=function(){return this.b};
n.ta=function(a,b){if(b){if(a)this.D?Aa(this.D,a)||this.D.push(a):this.D=[a],this.b.ta(this,a,!0)}else if(a&&this.D){Ba(this.D,a);if(this.D.length==0)this.D=m;this.b.ta(this,a,!1)}};n.l=function(){var a=this.b.l(this);this.d=a;var b=this.b.ga();b&&Bc(a,b);this.Aa||this.b.Ba(a,!1);this.H()||this.b.ka(a,!1)};n.C=function(){return this.b.C(this.a())};n.aa=function(a){return this.b.aa(a)};
n.Va=function(a){this.d=a=this.b.K(this,a);var b=this.b.ga();b&&Bc(a,b);this.Aa||this.b.Ba(a,!1);this.n=a.style.display!="none"};n.r=function(){S.c.r.call(this);this.b.Oa(this);if(this.s&-2&&(this.la&&Rc(this,!0),this.s&32)){var a=this.k();if(a){var b=this.Ca();Ec(b,a);J(J(J(uc(this),b,"key",this.O),a,"focus",this.qa),a,"blur",this.oa)}}};
var Rc=function(a,b){var c=uc(a),d=a.a();b?(J(J(J(J(c,d,"mouseover",a.$a),d,"mousedown",a.ma),d,"mouseup",a.ab),d,"mouseout",a.Za),v&&J(c,d,"dblclick",a.tb)):(K(K(K(K(c,d,"mouseover",a.$a),d,"mousedown",a.ma),d,"mouseup",a.ab),d,"mouseout",a.Za),v&&K(c,d,"dblclick",a.tb))};n=S.prototype;n.X=function(){S.c.X.call(this);this.u&&this.u.detach();this.H()&&this.isEnabled()&&this.b.na(this,!1)};n.f=function(){S.c.f.call(this);this.u&&(this.u.A(),delete this.u);delete this.b;this.D=this.za=m};
n.ra=function(a){S.c.ra.call(this,a);var b=this.a();b&&this.b.ra(b,a)};n.Ba=function(a){this.Aa=a;var b=this.a();b&&this.b.Ba(b,a)};n.H=function(){return this.n};n.ka=function(a,b){if(b||this.n!=a&&this.dispatchEvent(a?"show":"hide")){var c=this.a();c&&this.b.ka(c,a);this.isEnabled()&&this.b.na(this,a);this.n=a;return!0}return!1};n.isEnabled=function(){return!(this.i&1)};
n.sa=function(a){var b=this.getParent();if((!b||typeof b.isEnabled!="function"||b.isEnabled())&&T(this,1,!a))a||(this.setActive(!1),this.B(!1)),this.H()&&this.b.na(this,a),this.v(1,!a)};n.B=function(a){T(this,2,a)&&this.v(2,a)};n.setActive=function(a){T(this,4,a)&&this.v(4,a)};var Sc=function(a,b){T(a,8,b)&&a.v(8,b)},Tc=function(a,b){T(a,64,b)&&a.v(64,b)};S.prototype.v=function(a,b){if(this.s&a&&b!=!!(this.i&a))this.b.v(this,a,b),this.i=b?this.i|a:this.i&~a};
var Uc=function(a,b,c){a.e&&a.i&b&&!c&&e(Error("Component already rendered"));!c&&a.i&b&&a.v(b,!1);a.s=c?a.s|b:a.s&~b},U=function(a,b){return!!(a.Yb&b)&&!!(a.s&b)},T=function(a,b,c){return!!(a.s&b)&&!!(a.i&b)!=c&&(!(a.Da&b)||a.dispatchEvent(rc(b,c)))&&!a.bb};n=S.prototype;n.$a=function(a){(!a.relatedTarget||!xb(this.a(),a.relatedTarget))&&this.dispatchEvent("enter")&&this.isEnabled()&&U(this,2)&&this.B(!0)};
n.Za=function(a){if((!a.relatedTarget||!xb(this.a(),a.relatedTarget))&&this.dispatchEvent("leave"))U(this,4)&&this.setActive(!1),U(this,2)&&this.B(!1)};n.ma=function(a){if(this.isEnabled()&&(U(this,2)&&this.B(!0),Jb(a)&&(!x||!Va||!a.ctrlKey)))U(this,4)&&this.setActive(!0),this.b.W(this)&&this.k().focus();!this.Aa&&Jb(a)&&(!x||!Va||!a.ctrlKey)&&a.preventDefault()};n.ab=function(a){this.isEnabled()&&(U(this,2)&&this.B(!0),this.i&4&&Vc(this,a)&&U(this,4)&&this.setActive(!1))};
n.tb=function(a){this.isEnabled()&&Vc(this,a)};var Vc=function(a,b){if(U(a,16)){var c=!(a.i&16);T(a,16,c)&&a.v(16,c)}U(a,8)&&Sc(a,!0);U(a,64)&&Tc(a,!(a.i&64));c=new B("action",a);if(b)for(var d=["altKey","ctrlKey","metaKey","shiftKey","platformModifierKey"],f,g=0;f=d[g];g++)c[f]=b[f];return a.dispatchEvent(c)};S.prototype.qa=function(){U(this,32)&&T(this,32,!0)&&this.v(32,!0)};S.prototype.oa=function(){U(this,4)&&this.setActive(!1);U(this,32)&&T(this,32,!1)&&this.v(32,!1)};
S.prototype.O=function(a){return this.H()&&this.isEnabled()&&this.kb(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};S.prototype.kb=function(a){return a.keyCode==13&&Vc(this,a)};q(S)||e(Error("Invalid component class "+S));q(R)||e(Error("Invalid renderer class "+R));var Wc=s(S);Mc[Wc]=R;Lc("goog-control",function(){return new S(m)});var Xc=function(){};t(Xc,R);ca(Xc);Xc.prototype.l=function(a){return a.Ma().l("div",this.m())};Xc.prototype.K=function(a,b){if(b.tagName=="HR"){var c=b,b=this.l(a);c.parentNode&&c.parentNode.insertBefore(b,c);vb(c)}else z(b,this.m());return b};Xc.prototype.m=function(){return"goog-menuseparator"};var Yc=function(a,b){S.call(this,m,a||Xc.Q(),b);Uc(this,1,!1);Uc(this,2,!1);Uc(this,4,!1);Uc(this,32,!1);this.i=1};t(Yc,S);Yc.prototype.r=function(){Yc.c.r.call(this);Bc(this.a(),"separator")};Lc("goog-menuseparator",function(){return new Yc});var V=function(){};ca(V);V.prototype.ga=function(){};var Zc=function(a,b){if(a)a.tabIndex=b?0:-1};n=V.prototype;n.l=function(a){return a.Ma().l("div",this.va(a).join(" "))};n.C=function(a){return a};n.aa=function(a){return a.tagName=="DIV"};n.K=function(a,b){b.id&&tc(a,b.id);var c=this.m(),d=!1,f=jb(b);f&&ya(f,function(b){b==c?d=!0:b&&this.Wa(a,b,c)},this);d||z(b,c);$c(a,this.C(b));return b};
n.Wa=function(a,b,c){b==c+"-disabled"?a.sa(!1):b==c+"-horizontal"?ad(a,"horizontal"):b==c+"-vertical"&&ad(a,"vertical")};var $c=function(a,b){if(b)for(var c=b.firstChild,d;c&&c.parentNode==b;){d=c.nextSibling;if(c.nodeType==1){var f;a:{f=i;for(var g=jb(c),h=0,j=g.length;h<j;h++)if(f=g[h]in Kc?Kc[g[h]]():m)break a;f=m}if(f)f.d=c,a.isEnabled()||f.sa(!1),a.Fa(f),f.K(c)}else(!c.nodeValue||ma(c.nodeValue)=="")&&b.removeChild(c);c=d}};
V.prototype.Oa=function(a){a=a.a();oc(a,!0,w);if(v)a.hideFocus=!0;var b=this.ga();b&&Bc(a,b)};V.prototype.k=function(a){return a.a()};V.prototype.m=function(){return"goog-container"};V.prototype.va=function(a){var b=this.m(),c=[b,a.P=="horizontal"?b+"-horizontal":b+"-vertical"];a.isEnabled()||c.push(b+"-disabled");return c};var W=function(a,b,c){N.call(this,c);this.b=b||V.Q();this.P=a||"vertical"};t(W,N);n=W.prototype;n.Pa=m;n.u=m;n.b=m;n.P=m;n.n=!0;n.$=!0;n.Ya=!0;n.j=-1;n.g=m;n.ea=!1;n.Qb=!1;n.Pb=!0;n.N=m;n.k=function(){return this.Pa||this.b.k(this)};n.Ca=function(){return this.u||(this.u=new Q(this.k()))};n.xb=function(){return this.b};n.l=function(){this.d=this.b.l(this)};n.C=function(){return this.b.C(this.a())};n.aa=function(a){return this.b.aa(a)};
n.Va=function(a){this.d=this.b.K(this,a);if(a.style.display=="none")this.n=!1};n.r=function(){W.c.r.call(this);xc(this,function(a){a.e&&bd(this,a)},this);var a=this.a();this.b.Oa(this);this.ka(this.n,!0);J(J(J(J(J(J(J(J(uc(this),this,"enter",this.Ib),this,"highlight",this.Jb),this,"unhighlight",this.Lb),this,"open",this.Kb),this,"close",this.Gb),a,"mousedown",this.ma),mb(a),"mouseup",this.Hb),a,["mousedown","mouseup","mouseover","mouseout"],this.Fb);this.W()&&cd(this,!0)};
var cd=function(a,b){var c=uc(a),d=a.k();b?J(J(J(c,d,"focus",a.qa),d,"blur",a.oa),a.Ca(),"key",a.O):K(K(K(c,d,"focus",a.qa),d,"blur",a.oa),a.Ca(),"key",a.O)};n=W.prototype;n.X=function(){dd(this,-1);this.g&&Tc(this.g,!1);this.ea=!1;W.c.X.call(this)};n.f=function(){W.c.f.call(this);if(this.u)this.u.A(),this.u=m;this.b=this.g=this.N=this.Pa=m};n.Ib=function(){return!0};
n.Jb=function(a){var b=Ac(this,a.target);if(b>-1&&b!=this.j){var c=O(this,this.j);c&&c.B(!1);this.j=b;c=O(this,this.j);this.ea&&c.setActive(!0);this.Pb&&this.g&&c!=this.g&&(c.s&64?Tc(c,!0):Tc(this.g,!1))}this.a().setAttribute("aria-activedescendant",a.target.a().id)};n.Lb=function(a){if(a.target==O(this,this.j))this.j=-1;this.a().setAttribute("aria-activedescendant","")};n.Kb=function(a){if((a=a.target)&&a!=this.g&&a.getParent()==this)this.g&&Tc(this.g,!1),this.g=a};
n.Gb=function(a){if(a.target==this.g)this.g=m};n.ma=function(a){if(this.$)this.ea=!0;var b=this.k();b&&Bb(b)?b.focus():a.preventDefault()};n.Hb=function(){this.ea=!1};n.Fb=function(a){var b;a:{b=a.target;if(this.N)for(var c=this.a();b&&b!==c;){var d=b.id;if(d in this.N){b=this.N[d];break a}b=b.parentNode}b=m}if(b)switch(a.type){case "mousedown":b.ma(a);break;case "mouseup":b.ab(a);break;case "mouseover":b.$a(a);break;case "mouseout":b.Za(a)}};n.qa=function(){};
n.oa=function(){dd(this,-1);this.ea=!1;this.g&&Tc(this.g,!1)};n.O=function(a){return this.isEnabled()&&this.H()&&(yc(this)!=0||this.Pa)&&this.kb(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};
n.kb=function(a){var b=O(this,this.j);if(b&&typeof b.O=="function"&&b.O(a))return!0;if(this.g&&this.g!=b&&typeof this.g.O=="function"&&this.g.O(a))return!0;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return!1;switch(a.keyCode){case 27:if(this.W())this.k().blur();else return!1;break;case 36:ed(this);break;case 35:fd(this);break;case 38:if(this.P=="vertical")gd(this);else return!1;break;case 37:if(this.P=="horizontal")zc(this)?hd(this):gd(this);else return!1;break;case 40:if(this.P=="vertical")hd(this);
else return!1;break;case 39:if(this.P=="horizontal")zc(this)?gd(this):hd(this);else return!1;break;default:return!1}return!0};var bd=function(a,b){var c=b.a(),c=c.id||(c.id=sc(b));if(!a.N)a.N={};a.N[c]=b};W.prototype.Fa=function(a,b){W.c.Fa.call(this,a,b)};W.prototype.Sa=function(a,b,c){a.Da|=2;a.Da|=64;(this.W()||!this.Qb)&&Uc(a,32,!1);a.e&&!1!=a.la&&Rc(a,!1);a.la=!1;W.c.Sa.call(this,a,b,c);c&&this.e&&bd(this,a);b<=this.j&&this.j++};
W.prototype.removeChild=function(a,b){if(a=p(a)?vc(this,a):a){var c=Ac(this,a);c!=-1&&(c==this.j?a.B(!1):c<this.j&&this.j--);(c=a.a())&&c.id&&Ha(this.N,c.id)}c=a=W.c.removeChild.call(this,a,b);c.e&&!0!=c.la&&Rc(c,!0);c.la=!0;return a};var ad=function(a,b){a.a()&&e(Error("Component already rendered"));a.P=b};n=W.prototype;n.H=function(){return this.n};
n.ka=function(a,b){if(b||this.n!=a&&this.dispatchEvent(a?"show":"hide")){this.n=a;var c=this.a();c&&(L(c,a),this.W()&&Zc(this.k(),this.$&&this.n),b||this.dispatchEvent(this.n?"aftershow":"afterhide"));return!0}return!1};n.isEnabled=function(){return this.$};n.sa=function(a){if(this.$!=a&&this.dispatchEvent(a?"enable":"disable"))a?(this.$=!0,xc(this,function(a){a.qb?delete a.qb:a.sa(!0)})):(xc(this,function(a){a.isEnabled()?a.sa(!1):a.qb=!0}),this.ea=this.$=!1),this.W()&&Zc(this.k(),a&&this.n)};
n.W=function(){return this.Ya};n.na=function(a){a!=this.Ya&&this.e&&cd(this,a);this.Ya=a;this.$&&this.n&&Zc(this.k(),a)};var dd=function(a,b){var c=O(a,b);c?c.B(!0):a.j>-1&&O(a,a.j).B(!1)};W.prototype.B=function(a){dd(this,Ac(this,a))};
var ed=function(a){id(a,function(a,c){return(a+1)%c},yc(a)-1)},fd=function(a){id(a,function(a,c){a--;return a<0?c-1:a},0)},hd=function(a){id(a,function(a,c){return(a+1)%c},a.j)},gd=function(a){id(a,function(a,c){a--;return a<0?c-1:a},a.j)},id=function(a,b,c){for(var c=c<0?Ac(a,a.g):c,d=yc(a),c=b.call(a,c,d),f=0;f<=d;){var g=O(a,c);if(g&&g.H()&&g.isEnabled()&&g.s&2){a.Ua(c);break}f++;c=b.call(a,c,d)}};W.prototype.Ua=function(a){dd(this,a)};var jd=function(){};t(jd,R);ca(jd);n=jd.prototype;n.m=function(){return"goog-tab"};n.ga=function(){return"tab"};n.l=function(a){var b=jd.c.l.call(this,a);(a=a.Qa())&&this.Ta(b,a);return b};n.K=function(a,b){var b=jd.c.K.call(this,a,b),c=this.Qa(b);if(c)a.nb=c;if(a.i&8&&(c=a.getParent())&&q(c.Z))a.v(8,!1),c.Z(a);return b};n.Qa=function(a){return a.title||""};n.Ta=function(a,b){if(a)a.title=b||""};var kd=function(a,b,c){S.call(this,a,b||jd.Q(),c);Uc(this,8,!0);this.Da|=9};t(kd,S);kd.prototype.Qa=function(){return this.nb};kd.prototype.Ta=function(a){this.xb().Ta(this.a(),a);this.nb=a};Lc("goog-tab",function(){return new kd(m)});var X=function(){};t(X,V);ca(X);X.prototype.m=function(){return"goog-tab-bar"};X.prototype.ga=function(){return"tablist"};X.prototype.Wa=function(a,b,c){if(!this.wb)this.Ia||ld(this),this.wb=Ja(this.Ia);var d=this.wb[b];d?(ad(a,md(d)),a.ob=d):X.c.Wa.call(this,a,b,c)};X.prototype.va=function(a){var b=X.c.va.call(this,a);this.Ia||ld(this);b.push(this.Ia[a.ob]);return b};var ld=function(a){var b=a.m();a.Ia={top:b+"-top",bottom:b+"-bottom",start:b+"-start",end:b+"-end"}};var Y=function(a,b,c){a=a||"top";ad(this,md(a));this.ob=a;W.call(this,this.P,b||X.Q(),c);nd(this)};t(Y,W);n=Y.prototype;n.Tb=!0;n.F=m;n.r=function(){Y.c.r.call(this);nd(this)};n.f=function(){Y.c.f.call(this);this.F=m};n.removeChild=function(a,b){od(this,a);return Y.c.removeChild.call(this,a,b)};n.Ua=function(a){Y.c.Ua.call(this,a);this.Tb&&this.Z(O(this,a))};n.Z=function(a){a?Sc(a,!0):this.F&&Sc(this.F,!1)};
var od=function(a,b){if(b&&b==a.F){for(var c=Ac(a,b),d=c-1;b=O(a,d);d--)if(b.H()&&b.isEnabled()){a.Z(b);return}for(c+=1;b=O(a,c);c++)if(b.H()&&b.isEnabled()){a.Z(b);return}a.Z(m)}};n=Y.prototype;n.dc=function(a){this.F&&this.F!=a.target&&Sc(this.F,!1);this.F=a.target};n.ec=function(a){if(a.target==this.F)this.F=m};n.bc=function(a){od(this,a.target)};n.cc=function(a){od(this,a.target)};n.qa=function(){O(this,this.j)||this.B(this.F||O(this,0))};
var nd=function(a){J(J(J(J(uc(a),a,"select",a.dc),a,"unselect",a.ec),a,"disable",a.bc),a,"hide",a.cc)},md=function(a){return a=="start"||a=="end"?"vertical":"horizontal"};Lc("goog-tab-bar",function(){return new Y});var Z=function(a,b,c,d,f){function g(a){if(a)a.tabIndex=0,G(a,"click",h.Nb,!1,h),G(a,"keydown",h.Ob,!1,h)}this.q=f||nb();this.Y=this.q.a(a)||m;this.pa=this.q.a(d||m);this.Ea=(this.Ra=q(b)?b:m)||!b?m:this.q.a(b);this.h=c==!0;var h=this;g(this.Y);g(this.pa);this.R(this.h)};t(Z,mc);n=Z.prototype;n.f=function(){this.Y&&fc(this.Y);this.pa&&fc(this.pa);Z.c.f.call(this)};n.C=function(){return this.Ea};
n.R=function(a){if(this.Ea)L(this.Ea,a);else if(a&&this.Ra)this.Ea=this.Ra();if(this.pa)L(this.Y,!a),L(this.pa,a);else if(this.Y){var b=this.Y;a?z(b,"goog-zippy-expanded"):kb(b,"goog-zippy-expanded");b=this.Y;!a?z(b,"goog-zippy-collapsed"):kb(b,"goog-zippy-collapsed")}this.h=a;this.dispatchEvent(new pd("toggle",this,this.h))};n.Ob=function(a){if(a.keyCode==13||a.keyCode==32)this.R(!this.h),a.preventDefault(),a.stopPropagation()};n.Nb=function(){this.R(!this.h)};
var pd=function(a,b,c){B.call(this,a,b);this.lc=c};t(pd,B);var rd=function(a,b){this.lb=[];for(var c=ob(a),c=pb("span","ae-zippy",c),d=0,f;f=c[d];d++)this.lb.push(new Z(f,f.parentNode.parentNode.parentNode.nextElementSibling!=i?f.parentNode.parentNode.parentNode.nextElementSibling:wb(f.parentNode.parentNode.parentNode.nextSibling),!1));this.fc=new qd(this.lb,ob(b))};rd.prototype.jc=function(){return this.fc};rd.prototype.kc=function(){return this.lb};
var qd=function(a,b){this.ya=a;if(this.ya.length)for(var c=0,d;d=this.ya[c];c++)G(d,"toggle",this.Vb,!1,this);this.jb=0;this.h=!1;c="ae-toggle ae-plus ae-action";this.ya.length||(c+=" ae-disabled");this.V=tb("span",{className:c},"Expand All");G(this.V,"click",this.Ub,!1,this);b&&b.appendChild(this.V)};qd.prototype.Ub=function(){this.ya.length&&this.R(!this.h)};
qd.prototype.Vb=function(a){a=a.currentTarget;a.h?this.jb+=1:this.jb-=1;if(a.h!=this.h)if(a.h)this.h=!0,sd(this,!0);else if(this.jb==0)this.h=!1,sd(this,!1)};qd.prototype.R=function(a){this.h=a;for(var a=0,b;b=this.ya[a];a++)b.h!=this.h&&b.R(this.h);sd(this)};
var sd=function(a,b){(b!==i?b:a.h)?(kb(a.V,"ae-plus"),z(a.V,"ae-minus"),yb(a.V,"Collapse All")):(kb(a.V,"ae-minus"),z(a.V,"ae-plus"),yb(a.V,"Expand All"))},td=function(a){this.Wb=a;this.Bb={};var b,c=tb("div",{},b=tb("div",{id:"ae-stats-details-tabs",className:"goog-tab-bar goog-tab-bar-top"}),tb("div",{className:"goog-tab-bar-clear"}),a=tb("div",{id:"ae-stats-details-tabs-content",className:"goog-tab-content"})),d=new Y;d.K(b);G(d,"select",this.zb,!1,this);G(d,"unselect",this.zb,!1,this);b=0;for(var f;f=
this.Wb[b];b++)if(f=ob("ae-stats-details-"+f)){var g=pb("h2",m,f)[0],h;h=g;var j=i;ib&&"innerText"in h?j=h.innerText.replace(/(\r\n|\r|\n)/g,"\n"):(j=[],Cb(h,j,!0),j=j.join(""));j=j.replace(/ \xAD /g," ").replace(/\xAD/g,"");j=j.replace(/\u200B/g,"");ib||(j=j.replace(/ +/g," "));j!=" "&&(j=j.replace(/^\s*/,""));h=j;vb(g);g=new kd(h);this.Bb[s(g)]=f;d.Fa(g,!0);a.appendChild(f);b==0?d.Z(g):L(f,!1)}ob("bd").appendChild(c)};td.prototype.zb=function(a){var b=this.Bb[s(a.target)];L(b,a.type=="select")};
aa("ae.Stats.Details.Tabs",td);aa("goog.ui.Zippy",Z);Z.prototype.setExpanded=Z.prototype.R;aa("ae.Stats.MakeZippys",rd);rd.prototype.getExpandCollapse=rd.prototype.jc;rd.prototype.getZippys=rd.prototype.kc;qd.prototype.setExpanded=qd.prototype.R;var $=function(){this.eb=[];this.ib=[]},ud=[[5,0.2,1],[6,0.2,1.2],[5,0.25,1.25],[6,0.25,1.5],[4,0.5,2],[5,0.5,2.5],[6,0.5,3],[4,1,4],[5,1,5],[6,1,6],[4,2,8],[5,2,10]],vd=function(a){if(a<=0)return[2,0.5,1];for(var b=1;a<1;)a*=10,b/=10;for(;a>=10;)a/=10,b*=10;for(var c=0;c<ud.length;c++)if(a<=ud[c][2])return[ud[c][0],ud[c][1]*b,ud[c][2]*b];return[5,2*b,10*b]};$.prototype.hb="stats/static/pix.gif";$.prototype.z="ae-stats-gantt-";$.prototype.gb=0;$.prototype.write=function(a){this.ib.push(a)};
var wd=function(a,b,c,d){a.write('<tr class="'+a.z+'axisrow"><td width="20%"></td><td>');a.write('<div class="'+a.z+'axis">');for(var f=0;f<=b;f++)a.write('<img class="'+a.z+'tick" src="'+a.hb+'" alt="" '),a.write('style="left:'+f*c*d+'%"\n>'),a.write('<span class="'+a.z+'scale" style="left:'+f*c*d+'%">'),a.write("&nbsp;"+f*c+"</span>");a.write("</div></td></tr>\n")};
$.prototype.ic=function(){this.ib=[];var a=vd(this.gb),b=a[0],c=a[1],a=100/a[2];this.write('<table class="'+this.z+'table">\n');wd(this,b,c,a);for(var d=0;d<this.eb.length;d++){var f=this.eb[d];this.write('<tr class="'+this.z+'datarow"><td width="20%">');f.label.length>0&&(f.ja.length>0&&this.write('<a class="'+this.z+'link" href="'+f.ja+'">'),this.write(f.label),f.ja.length>0&&this.write("</a>"));this.write("</td>\n<td>");this.write('<div class="'+this.z+'container">');f.ja.length>0&&this.write('<a class="'+
this.z+'link" href="'+f.ja+'"\n>');this.write('<img class="'+this.z+'bar" src="'+this.hb+'" alt="" ');this.write('style="left:'+f.start*a+"%;width:"+f.duration*a+'%;min-width:1px"\n>');f.fb>0&&(this.write('<img class="'+this.z+'extra" src="'+this.hb+'" alt="" '),this.write('style="left:'+f.start*a+"%;width:"+f.fb*a+'%"\n>'));f.ub.length>0&&(this.write('<span class="'+this.z+'inline" style="left:'+(f.start+Math.max(f.duration,f.fb))*a+'%">&nbsp;'),this.write(f.ub),this.write("</span>"));f.ja.length>
0&&this.write("</a>");this.write("</div></td></tr>\n")}wd(this,b,c,a);this.write("</table>\n");return this.ib.join("")};$.prototype.gc=function(a,b,c,d,f,g){this.gb=Math.max(this.gb,Math.max(b+c,b+d));this.eb.push({label:a,start:b,duration:c,fb:d,ub:f,ja:g})};aa("Gantt",$);$.prototype.add_bar=$.prototype.gc;$.prototype.draw=$.prototype.ic;})();
