/* 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){var b=Array.prototype.slice.call(arguments,1);return function(){var c=Array.prototype.slice.call(arguments);c.unshift.apply(c,b);return a.apply(this,c)}},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){for(var b=1;b<arguments.length;b++)var c=String(arguments[b]).replace(/\$/g,"$$$$"),a=a.replace(/\%s/,c);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"),N=RegExp("(\\d*)(\\D*)","g");do{var r=l.exec(j)||["","",""],J=N.exec(k)||["","",""];if(r[0].length==0&&J[0].length==0)break;c=ta(r[1].length==0?0:parseInt(r[1],10),J[1].length==0?0:parseInt(J[1],10))||ta(r[2].length==0,J[2].length==0)||ta(r[2],J[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.lc=a};t(va,ka);va.prototype.name="AssertionError";var wa=function(a,b){if(!a){var c=Array.prototype.slice.call(arguments,2),d="Assertion failed";if(b){d+=": "+b;var f=c}e(new va(""+d,f||[]))}};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)){if(!p(b)||b.length!=1)return-1;return 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(){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){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){for(var b,c,d=1;d<arguments.length;d++){c=arguments[d];for(b in c)a[b]=c[b];for(var f=0;f<Ka.length;f++)b=Ka[f],Object.prototype.hasOwnProperty.call(c,
b)&&(a[b]=c[b])}};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)};var eb,fb=!v||y("9");!w&&!v||v&&y("9")||w&&y("1.9.1");var gb=v&&!y("9");var hb=function(a){return(a=a.className)&&typeof a.split=="function"?a.split(/\s+/):[]},z=function(a){var b=hb(a),c=Ea(arguments,1),d;d=b;for(var f=0,g=0;g<c.length;g++)Aa(d,c[g])||(d.push(c[g]),f++);d=f==c.length;a.className=b.join(" ");return d},ib=function(a){var b=hb(a),c=Ea(arguments,1),d;d=b;for(var f=0,g=0;g<d.length;g++)Aa(c,d[g])&&(Fa(d,g--,1),f++);d=f==c.length;a.className=b.join(" ");return d};var lb=function(a){return a?new jb(kb(a)):eb||(eb=new jb)},mb=function(a){return p(a)?document.getElementById(a):a},nb=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},pb=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 ob?a.setAttribute(ob[d],b):a[d]=b})},ob={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",maxlength:"maxLength",
type:"type"},rb=function(){return qb(document,arguments)},qb=function(a,b){var c=b[0],d=b[1];if(!fb&&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)):pb(c,d);b.length>2&&sb(a,c,b);return c},sb=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)}},tb=function(a){a&&a.parentNode&&a.parentNode.removeChild(a)},ub=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},kb=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},vb=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(kb(a).createTextNode(b))}},wb={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},xb={IMG:" ",BR:"\n"},yb=function(a){var b=a.getAttributeNode("tabindex");if(b&&b.specified)return a=a.tabIndex,typeof a==
"number"&&a>=0;return!1},zb=function(a,b,c){if(!(a.nodeName in wb))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 xb)b.push(xb[a.nodeName]);else for(a=a.firstChild;a;)zb(a,b,c),a=a.nextSibling},jb=function(a){this.H=a||o.document||document};n=jb.prototype;n.Ma=lb;n.a=function(a){return p(a)?this.H.getElementById(a):a};n.l=function(){return qb(this.H,arguments)};n.createElement=function(a){return this.H.createElement(a)};
n.createTextNode=function(a){return this.H.createTextNode(a)};n.appendChild=function(a,b){a.appendChild(b)};n.contains=ub;var Ab=new Function("a","return a");var Bb,Cb=!v||y("9"),Db=v&&!y("8");var A=function(){};A.prototype.ab=!1;A.prototype.J=function(){if(!this.ab)this.ab=!0,this.f()};A.prototype.f=function(){};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.ca=!1;n.xa=!0;n.stopPropagation=function(){this.ca=!0};n.preventDefault=function(){this.xa=!1};var C=function(a,b){a&&this.wa(a,b)};t(C,B);var Eb=[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{Ab(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.ca};var Fb=function(a){return Cb?a.L.button==0:a.type=="click"?!0:!!(a.L.button&Eb[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,Db)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.ba=[];a>this.Db&&e(Error("[goog.structs.SimplePool] Initial cannot be greater than max"));for(var c=0;c<a;c++)this.ba.push(this.M?this.M():{})};t(D,A);D.prototype.M=m;D.prototype.Eb=m;D.prototype.getObject=function(){if(this.ba.length)return this.ba.pop();return this.M?this.M():{}};var Hb=function(a,b){a.ba.length<a.Db?a.ba.push(b):Gb(a,b)},Gb=function(a,b){if(a.Eb)a.Eb(b);else if(ga(b))if(q(b.J))b.J();else for(var c in b)delete b[c]};
D.prototype.f=function(){D.c.f.call(this);for(var a=this.ba;a.length;)Gb(this,a.pop());delete this.ba};var Ib,Jb=(Ib="ScriptEngine"in o&&o.ScriptEngine()=="JScript")?o.ScriptEngineMajorVersion()+"."+o.ScriptEngineMinorVersion()+"."+o.ScriptEngineBuildVersion():"0";var Kb=function(){},Lb=0;n=Kb.prototype;n.key=0;n.ha=!1;n.Cb=!1;n.wa=function(a,b,c,d,f,g){q(a)?this.Bb=!0:a&&a.handleEvent&&q(a.handleEvent)?this.Bb=!1:e(Error("Invalid listener argument"));this.ga=a;this.sb=b;this.src=c;this.type=d;this.capture=!!f;this.Ha=g;this.Cb=!1;this.key=++Lb;this.ha=!1};n.handleEvent=function(a){if(this.Bb)return this.ga.call(this.Ha||this.src,a);return this.ga.handleEvent.call(this.ga,a)};var Mb,Nb,Ob,Pb,Qb,Rb,Sb,Tb,Ub,Vb,Wb;
(function(){function a(){return{I:0,F:0}}function b(){return[]}function c(){var a=function(b){return h.call(a.src,a.key,b)};return a}function d(){return new Kb}function f(){return new C}var g=Ib&&!(ua(Jb,"5.7")>=0),h;Rb=function(a){h=a};if(g){Mb=function(){return j.getObject()};Nb=function(a){Hb(j,a)};Ob=function(){return k.getObject()};Pb=function(a){Hb(k,a)};Qb=function(){return l.getObject()};Sb=function(){Hb(l,c())};Tb=function(){return N.getObject()};Ub=function(a){Hb(N,a)};Vb=function(){return r.getObject()};
Wb=function(a){Hb(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 N=new D(0,600);N.M=d;var r=new D(0,600);r.M=f}else Mb=a,Nb=ba,Ob=b,Pb=ba,Qb=c,Sb=ba,Tb=d,Ub=ba,Vb=f,Wb=ba})();var Xb={},E={},F={},Yb={},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]=Mb());h=h[b];d in h||(h[d]=Mb(),h.I++);var h=h[d],j=s(a),k;h.F++;if(h[j]){k=h[j];for(g=0;g<k.length;g++)if(h=k[g],h.ga==c&&h.Ha==f){if(h.ha)break;return k[g].key}}else k=h[j]=Ob(),h.I++;g=Qb();g.src=a;h=Tb();h.wa(c,g,a,b,d,f);c=h.key;g.key=c;k.push(h);Xb[c]=h;F[j]||(F[j]=Ob());F[j].push(h);a.addEventListener?(a==o||!a.rb)&&a.addEventListener(b,g,d):a.attachEvent(Zb(b),
g);return c}else e(Error("Invalid event type"))},$b=function(a,b,c,d,f){if(ea(b))for(var g=0;g<b.length;g++)$b(a,b[g],c,d,f);else if(d=!!d,a=ac(a,b,d))for(g=0;g<a.length;g++)if(a[g].ga==c&&a[g].capture==d&&a[g].Ha==f){H(a[g].key);break}},H=function(a){if(Xb[a]){var b=Xb[a];if(!b.ha){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(Zb(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.ha=
!0;f.yb=!0;bc(d,g,c,f);delete Xb[a]}}},bc=function(a,b,c,d){if(!d.Na&&d.yb){for(var f=0,g=0;f<d.length;f++)if(d[f].ha){var h=d[f].sb;h.src=m;Sb(h);Ub(d[f])}else f!=g&&(d[g]=d[f]),g++;d.length=g;d.yb=!1;g==0&&(Pb(d),delete E[a][b][c],E[a][b].I--,E[a][b].I==0&&(Nb(E[a][b]),delete E[a][b],E[a].I--),E[a].I==0&&(Nb(E[a]),delete E[a]))}},cc=function(a){var b,c=0,d=b==m;b=!!b;if(a==m)Ga(F,function(a){for(var g=a.length-1;g>=0;g--){var f=a[g];if(d||b==f.capture)H(f.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++}},ac=function(a,b,c){var d=E;if(b in d&&(d=d[b],c in d&&(d=d[c],a=s(a),d[a])))return d[a];return m},Zb=function(a){if(a in Yb)return Yb[a];return Yb[a]="on"+a},ec=function(a,b,c,d,f){var g=1,b=s(b);if(a[b]){a.F--;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.ha&&(g&=dc(k,f)!==!1)}}finally{a.Na--,bc(c,d,b,a)}}return Boolean(g)},dc=function(a,b){var c=a.handleEvent(b);a.Cb&&H(a.key);return c};
Rb(function(a,b){if(!Xb[a])return!0;var c=Xb[a],d=c.type,f=E;if(!(d in f))return!0;var f=f[d],g,h;Bb===i&&(Bb=v&&!o.addEventListener);if(Bb){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(N){l=!0}if(l||g.returnValue==i)g.returnValue=!0}}l=Vb();l.wa(g,this);g=!0;try{if(j){for(var r=Ob(),J=l.currentTarget;J;J=
J.parentNode)r.push(J);h=f[!0];h.F=h.I;for(var P=r.length-1;!l.ca&&P>=0&&h.F;P--)l.currentTarget=r[P],g&=ec(h,r[P],d,!0,l);if(k){h=f[!1];h.F=h.I;for(P=0;!l.ca&&P<r.length&&h.F;P++)l.currentTarget=r[P],g&=ec(h,r[P],d,!1,l)}}else g=dc(c,l)}finally{if(r)r.length=0,Pb(r);l.J();Wb(l)}return g}d=new C(b,this);try{g=dc(c,d)}finally{d.J()}return g});var fc=function(a){this.xb=a};t(fc,A);
var gc=new D(0,100),hc=[],I=function(a,b,c,d){ea(c)||(hc[0]=c,c=hc);for(var f=0;f<c.length;f++){var g=a,h=G(b,c[f],d||a,!1,a.xb||a);g.w?g.w[h]=!0:g.V?(g.w=gc.getObject(),g.w[g.V]=!0,g.V=m,g.w[h]=!0):g.V=h}return a},K=function(a,b,c,d,f,g){if(a.V||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.xb||a;f=!!f;if(b=ac(b,c,f))for(c=0;c<b.length;c++)if(b[c].ga==d&&b[c].capture==f&&b[c].Ha==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.V==b)a.V=m}return a},
ic=function(a){if(a.w){for(var b in a.w)H(b),delete a.w[b];Hb(gc,a.w);a.w=m}else a.V&&H(a.V)};fc.prototype.f=function(){fc.c.f.call(this);ic(this)};fc.prototype.handleEvent=function(){e(Error("EventHandler.handleEvent not implemented"))};var jc=function(){};t(jc,A);n=jc.prototype;n.rb=!0;n.Ga=m;n.bb=function(a){this.Ga=a};n.addEventListener=function(a,b,c,d){G(this,a,b,c,d)};n.removeEventListener=function(a,b,c,d){$b(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.Ga)f.push(g);g=c[!0];g.F=g.I;for(var h=f.length-1;!a.ca&&h>=0&&g.F;h--)a.currentTarget=f[h],d&=ec(g,f[h],a.type,!0,a)&&a.xa!=!1}if(!1 in c)if(g=c[!1],g.F=g.I,b)for(h=0;!a.ca&&h<f.length&&g.F;h++)a.currentTarget=f[h],d&=ec(g,f[h],a.type,!1,a)&&a.xa!=!1;else for(f=this;!a.ca&&f&&
g.F;f=f.Ga)a.currentTarget=f,d&=ec(g,f,a.type,!1,a)&&a.xa!=!1;a=Boolean(d)}else a=!0;return a};n.f=function(){jc.c.f.call(this);cc(this);this.Ga=m};var L=function(a,b){a.style.display=b?"":"none"},kc=w?"MozUserSelect":x?"WebkitUserSelect":m,lc=function(a,b,c){c=!c?a.getElementsByTagName("*"):m;if(kc){if(b=b?"none":"",a.style[kc]=b,c)for(var a=0,d;d=c[a];a++)d.style[kc]=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 mc=function(){};ca(mc);mc.prototype.$b=0;mc.Q();var M=function(a){this.q=a||lb();this.ua=nc};t(M,jc);M.prototype.Zb=mc.Q();var nc=m,oc=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=M.prototype;n.ia=m;n.e=!1;n.d=m;n.ua=m;n.Mb=m;n.o=m;n.p=m;n.A=m;n.lb=!1;
var pc=function(a){return a.ia||(a.ia=":"+(a.Zb.$b++).toString(36))},qc=function(a,b){a.o&&a.o.A&&(Ha(a.o.A,a.ia),Ia(a.o.A,b,a));a.ia=b};M.prototype.a=function(){return this.d};var rc=function(a){return a.ea||(a.ea=new fc(a))},tc=function(a,b){a==b&&e(Error("Unable to set parent component"));b&&a.o&&a.ia&&sc(a.o,a.ia)&&a.o!=b&&e(Error("Unable to set parent component"));a.o=b;M.c.bb.call(a,b)};n=M.prototype;n.getParent=function(){return this.o};
n.bb=function(a){this.o&&this.o!=a&&e(Error("Method not supported"));M.c.bb.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.lb=!0;if(!this.q||this.q.H!=kb(a))this.q=lb(a);this.Ua(a);this.r()}else e(Error("Invalid element to decorate"))};n.aa=function(){return!0};n.Ua=function(a){this.d=a};n.r=function(){this.e=!0;uc(this,function(a){!a.e&&a.a()&&a.r()})};
n.X=function(){uc(this,function(a){a.e&&a.X()});this.ea&&ic(this.ea);this.e=!1};n.f=function(){M.c.f.call(this);this.e&&this.X();this.ea&&(this.ea.J(),delete this.ea);uc(this,function(a){a.J()});!this.lb&&this.d&&tb(this.d);this.o=this.Mb=this.d=this.A=this.p=m};n.Fa=function(a,b){this.Ra(a,vc(this),b)};
n.Ra=function(a,b,c){a.e&&(c||!this.e)&&e(Error("Component already rendered"));(b<0||b>vc(this))&&e(Error("Child component index out of bounds"));if(!this.A||!this.p)this.A={},this.p=[];a.getParent()==this?(this.A[pc(a)]=a,Ba(this.p,a)):Ia(this.A,pc(a),a);tc(a,this);Fa(this.p,b,0,a);a.e&&this.e&&a.getParent()==this?(c=this.B(),c.insertBefore(a.a(),c.childNodes[b]||m)):c?(this.d||this.l(),c=O(this,b+1),b=this.B(),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.H.body.appendChild(a.d),(!a.o||a.o.e)&&a.r()):this.e&&!a.e&&a.d&&a.r()};n.B=function(){return this.d};var wc=function(a){if(a.ua==m){var b;a:{b=a.e?a.d:a.q.H.body;var c=kb(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.H.body).currentStyle?(a.e?a.d:a.q.H.body).currentStyle.direction:m)||(a.e?a.d:a.q.H.body).style.direction)}return a.ua};
M.prototype.ra=function(a){this.e&&e(Error("Component already rendered"));this.ua=a};var vc=function(a){return a.p?a.p.length:0},sc=function(a,b){var c;a.A&&b?(c=a.A,c=b in c?c[b]:i,c=c||m):c=m;return c},O=function(a,b){return a.p?a.p[b]||m:m},uc=function(a,b,c){a.p&&ya(a.p,b,c)},xc=function(a,b){return a.p&&b?xa(a.p,b):-1};
M.prototype.removeChild=function(a,b){if(a){var c=p(a)?a:pc(a),a=sc(this,c);c&&a&&(Ha(this.A,c),Ba(this.p,a),b&&(a.X(),a.d&&tb(a.d)),tc(a,m))}a||e(Error("Child is not in parent component"));return a};var yc=function(a,b){a.setAttribute("role",b);a.mc=b};var Ac=function(a,b,c,d,f){if(!v&&(!x||!y("525")))return!0;if(Va&&f)return zc(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&&y("9"));case 27:return!x}return zc(a)},zc=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&&Bc(this,a,b)};t(Q,jc);n=Q.prototype;n.d=m;n.Ka=m;n.Wa=m;n.La=m;n.T=-1;n.S=-1;
var Cc={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},Dc={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},Ec={61:187,59:186},Fc=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;Fc&&!Ac(a.keyCode,this.T,a.shiftKey,a.ctrlKey,a.altKey)?this.handleEvent(a):this.S=w&&a.keyCode in Ec?Ec[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&&zc(c)?b.charCode:0):Ta?(c=this.S,d=zc(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 Cc?f=Cc[c]:c==25&&a.shiftKey&&(f=9):g&&g in Dc&&(f=Dc[g]);a=f==this.T;this.T=f;b=new Gc(f,d,a,b);try{this.dispatchEvent(b)}finally{b.J()}};Q.prototype.a=function(){return this.d};
var Bc=function(a,b,c){a.La&&a.detach();a.d=b;a.Ka=G(a.d,"keypress",a,c);a.Wa=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.Wa),H(this.La),this.La=this.Wa=this.Ka=m;this.d=m;this.S=this.T=-1};Q.prototype.f=function(){Q.c.f.call(this);this.detach()};var Gc=function(a,b,c,d){d&&this.wa(d,i);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};t(Gc,C);var Ic=function(a,b){a||e(Error("Invalid class name "+a));q(b)||e(Error("Invalid decorator function "+b));Hc[a]=b},Jc={},Hc={};var R=function(){},Kc;ca(R);n=R.prototype;n.fa=function(){};n.l=function(a){return a.Ma().l("div",this.va(a).join(" "),a.za)};n.B=function(a){return a};n.ta=function(a,b,c){if(a=a.a?a.a():a)if(v&&!y("7")){var d=Lc(hb(a),b);d.push(b);ja(c?z:ib,a).apply(m,d)}else c?z(a,b):ib(a,b)};n.aa=function(){return!0};
n.K=function(a,b){b.id&&qc(a,b.id);var c=this.B(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=hb(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.ob)this.Ja||Mc(this),this.ob=Ja(this.Ja);a=parseInt(this.ob[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.C;l&&k.push.apply(k,l);if(v&&!y("7")){var N=Lc(k);N.length>0&&(k.push.apply(k,N),
c=!0)}if(!h||!j||l||c)b.className=k.join(" ");return b};n.Oa=function(a){wc(a)&&this.ra(a.a(),!0);a.isEnabled()&&this.na(a,a.G())};n.Ba=function(a,b){lc(a,!b,!v&&!Ta)};n.ra=function(a,b){this.ta(a,this.m()+"-rtl",b)};n.W=function(a){var b;if(a.s&32&&(b=a.k()))return yb(b);return!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(yb(c)!=b)b?c.tabIndex=0:c.removeAttribute("tabIndex")}};n.ka=function(a,b){L(a,b)};
n.u=function(a,b,c){var d=a.a();if(d){var f=Nc(this,b);f&&this.ta(a,f,c);Kc||(Kc={1:"disabled",4:"pressed",8:"selected",16:"checked",64:"expanded"});(a=Kc[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(Nc(this,f));b&=~f}c.push.apply(c,d);(a=a.C)&&c.push.apply(c,a);v&&!y("7")&&c.push.apply(c,Lc(c));return c};
var Lc=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},Nc=function(a,b){a.Ja||Mc(a);return a.Ja[b]},Mc=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){M.call(this,c);if(!b){for(var b=this.constructor,d;b;){d=s(b);if(d=Jc[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,M);n=S.prototype;n.za=m;n.i=0;n.s=39;n.Yb=255;n.Da=0;n.n=!0;n.C=m;n.la=!0;n.Aa=!1;n.k=function(){return this.b.k(this)};n.Ca=function(){return this.t||(this.t=new Q)};n.wb=function(){return this.b};
n.ta=function(a,b){if(b){if(a)this.C?Aa(this.C,a)||this.C.push(a):this.C=[a],this.b.ta(this,a,!0)}else if(a&&this.C){Ba(this.C,a);if(this.C.length==0)this.C=m;this.b.ta(this,a,!1)}};n.l=function(){var a=this.b.l(this);this.d=a;var b=this.b.fa();b&&yc(a,b);this.Aa||this.b.Ba(a,!1);this.G()||this.b.ka(a,!1)};n.B=function(){return this.b.B(this.a())};n.aa=function(a){return this.b.aa(a)};
n.Ua=function(a){this.d=a=this.b.K(this,a);var b=this.b.fa();b&&yc(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&&Oc(this,!0),this.s&32)){var a=this.k();if(a){var b=this.Ca();Bc(b,a);I(I(I(rc(this),b,"key",this.O),a,"focus",this.qa),a,"blur",this.oa)}}};
var Oc=function(a,b){var c=rc(a),d=a.a();b?(I(I(I(I(c,d,"mouseover",a.Za),d,"mousedown",a.ma),d,"mouseup",a.$a),d,"mouseout",a.Ya),v&&I(c,d,"dblclick",a.tb)):(K(K(K(K(c,d,"mouseover",a.Za),d,"mousedown",a.ma),d,"mouseup",a.$a),d,"mouseout",a.Ya),v&&K(c,d,"dblclick",a.tb))};n=S.prototype;n.X=function(){S.c.X.call(this);this.t&&this.t.detach();this.G()&&this.isEnabled()&&this.b.na(this,!1)};n.f=function(){S.c.f.call(this);this.t&&(this.t.J(),delete this.t);delete this.b;this.C=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.G=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.z(!1)),this.G()&&this.b.na(this,a),this.u(1,!a)};n.z=function(a){T(this,2,a)&&this.u(2,a)};n.setActive=function(a){T(this,4,a)&&this.u(4,a)};var Pc=function(a,b){T(a,8,b)&&a.u(8,b)},Qc=function(a,b){T(a,64,b)&&a.u(64,b)};S.prototype.u=function(a,b){if(this.s&a&&b!=!!(this.i&a))this.b.u(this,a,b),this.i=b?this.i|a:this.i&~a};
var Rc=function(a,b,c){a.e&&a.i&b&&!c&&e(Error("Component already rendered"));!c&&a.i&b&&a.u(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(oc(b,c)))&&!a.ab};n=S.prototype;n.Za=function(a){(!a.relatedTarget||!ub(this.a(),a.relatedTarget))&&this.dispatchEvent("enter")&&this.isEnabled()&&U(this,2)&&this.z(!0)};
n.Ya=function(a){if((!a.relatedTarget||!ub(this.a(),a.relatedTarget))&&this.dispatchEvent("leave"))U(this,4)&&this.setActive(!1),U(this,2)&&this.z(!1)};n.ma=function(a){if(this.isEnabled()&&(U(this,2)&&this.z(!0),Fb(a)&&(!x||!Va||!a.ctrlKey)))U(this,4)&&this.setActive(!0),this.b.W(this)&&this.k().focus();!this.Aa&&Fb(a)&&(!x||!Va||!a.ctrlKey)&&a.preventDefault()};n.$a=function(a){this.isEnabled()&&(U(this,2)&&this.z(!0),this.i&4&&Sc(this,a)&&U(this,4)&&this.setActive(!1))};
n.tb=function(a){this.isEnabled()&&Sc(this,a)};var Sc=function(a,b){if(U(a,16)){var c=!(a.i&16);T(a,16,c)&&a.u(16,c)}U(a,8)&&Pc(a,!0);U(a,64)&&Qc(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.u(32,!0)};S.prototype.oa=function(){U(this,4)&&this.setActive(!1);U(this,32)&&T(this,32,!1)&&this.u(32,!1)};
S.prototype.O=function(a){if(this.G()&&this.isEnabled()&&this.jb(a))return a.preventDefault(),a.stopPropagation(),!0;return!1};S.prototype.jb=function(a){return a.keyCode==13&&Sc(this,a)};q(S)||e(Error("Invalid component class "+S));q(R)||e(Error("Invalid renderer class "+R));var Tc=s(S);Jc[Tc]=R;Ic("goog-control",function(){return new S(m)});var Uc=function(){};t(Uc,R);ca(Uc);Uc.prototype.l=function(a){return a.Ma().l("div",this.m())};Uc.prototype.K=function(a,b){if(b.tagName=="HR"){var c=b,b=this.l(a);c.parentNode&&c.parentNode.insertBefore(b,c);tb(c)}else z(b,this.m());return b};Uc.prototype.m=function(){return"goog-menuseparator"};var Vc=function(a,b){S.call(this,m,a||Uc.Q(),b);Rc(this,1,!1);Rc(this,2,!1);Rc(this,4,!1);Rc(this,32,!1);this.i=1};t(Vc,S);Vc.prototype.r=function(){Vc.c.r.call(this);yc(this.a(),"separator")};Ic("goog-menuseparator",function(){return new Vc});var V=function(){};ca(V);V.prototype.fa=function(){};var Wc=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.B=function(a){return a};n.aa=function(a){return a.tagName=="DIV"};n.K=function(a,b){b.id&&qc(a,b.id);var c=this.m(),d=!1,f=hb(b);f&&ya(f,function(b){b==c?d=!0:b&&this.Va(a,b,c)},this);d||z(b,c);Xc(a,this.B(b));return b};
n.Va=function(a,b,c){b==c+"-disabled"?a.sa(!1):b==c+"-horizontal"?Yc(a,"horizontal"):b==c+"-vertical"&&Yc(a,"vertical")};var Xc=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=hb(c),h=0,j=g.length;h<j;h++)if(f=g[h]in Hc?Hc[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();lc(a,!0,w);if(v)a.hideFocus=!0;var b=this.fa();b&&yc(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){M.call(this,c);this.b=b||V.Q();this.P=a||"vertical"};t(W,M);n=W.prototype;n.pb=m;n.t=m;n.b=m;n.P=m;n.n=!0;n.$=!0;n.Xa=!0;n.j=-1;n.g=m;n.da=!1;n.Qb=!1;n.Pb=!0;n.N=m;n.k=function(){return this.pb||this.b.k(this)};n.Ca=function(){return this.t||(this.t=new Q(this.k()))};n.wb=function(){return this.b};n.l=function(){this.d=this.b.l(this)};n.B=function(){return this.b.B(this.a())};n.aa=function(a){return this.b.aa(a)};
n.Ua=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);uc(this,function(a){a.e&&Zc(this,a)},this);var a=this.a();this.b.Oa(this);this.ka(this.n,!0);I(I(I(I(I(I(I(I(rc(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),kb(a),"mouseup",this.Hb),a,["mousedown","mouseup","mouseover","mouseout"],this.Fb);this.W()&&$c(this,!0)};
var $c=function(a,b){var c=rc(a),d=a.k();b?I(I(I(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(){ad(this,-1);this.g&&Qc(this.g,!1);this.da=!1;W.c.X.call(this)};n.f=function(){W.c.f.call(this);if(this.t)this.t.J(),this.t=m;this.b=this.g=this.N=m};n.Ib=function(){return!0};
n.Jb=function(a){var b=xc(this,a.target);if(b>-1&&b!=this.j){var c=O(this,this.j);c&&c.z(!1);this.j=b;c=O(this,this.j);this.da&&c.setActive(!0);this.Pb&&this.g&&c!=this.g&&(c.s&64?Qc(c,!0):Qc(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&&Qc(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.da=!0;var b=this.k();b&&yb(b)?b.focus():a.preventDefault()};n.Hb=function(){this.da=!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.$a(a);break;case "mouseover":b.Za(a);break;case "mouseout":b.Ya(a)}};n.qa=function(){};
n.oa=function(){ad(this,-1);this.da=!1;this.g&&Qc(this.g,!1)};n.O=function(a){if(this.isEnabled()&&this.G()&&(vc(this)!=0||this.pb)&&this.jb(a))return a.preventDefault(),a.stopPropagation(),!0;return!1};
n.jb=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:bd(this);break;case 35:cd(this);break;case 38:if(this.P=="vertical")dd(this);else return!1;break;case 37:if(this.P=="horizontal")wc(this)?ed(this):dd(this);else return!1;break;case 40:if(this.P=="vertical")ed(this);
else return!1;break;case 39:if(this.P=="horizontal")wc(this)?dd(this):ed(this);else return!1;break;default:return!1}return!0};var Zc=function(a,b){var c=b.a(),c=c.id||(c.id=pc(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.Ra=function(a,b,c){a.Da|=2;a.Da|=64;(this.W()||!this.Qb)&&Rc(a,32,!1);a.e&&!1!=a.la&&Oc(a,!1);a.la=!1;W.c.Ra.call(this,a,b,c);c&&this.e&&Zc(this,a);b<=this.j&&this.j++};
W.prototype.removeChild=function(a,b){if(a=p(a)?sc(this,a):a){var c=xc(this,a);c!=-1&&(c==this.j?a.z(!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&&Oc(c,!0);c.la=!0;return a};var Yc=function(a,b){a.a()&&e(Error("Component already rendered"));a.P=b};n=W.prototype;n.G=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()&&Wc(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,uc(this,function(a){a.qb?delete a.qb:a.sa(!0)})):(uc(this,function(a){a.isEnabled()?a.sa(!1):a.qb=!0}),this.da=this.$=!1),this.W()&&Wc(this.k(),a&&this.n)};
n.W=function(){return this.Xa};n.na=function(a){a!=this.Xa&&this.e&&$c(this,a);this.Xa=a;this.$&&this.n&&Wc(this.k(),a)};var ad=function(a,b){var c=O(a,b);c?c.z(!0):a.j>-1&&O(a,a.j).z(!1)};W.prototype.z=function(a){ad(this,xc(this,a))};
var bd=function(a){fd(a,function(a,c){return(a+1)%c},vc(a)-1)},cd=function(a){fd(a,function(a,c){a--;return a<0?c-1:a},0)},ed=function(a){fd(a,function(a,c){return(a+1)%c},a.j)},dd=function(a){fd(a,function(a,c){a--;return a<0?c-1:a},a.j)},fd=function(a,b,c){for(var c=c<0?xc(a,a.g):c,d=vc(a),c=b.call(a,c,d),f=0;f<=d;){var g=O(a,c);if(g&&g.G()&&g.isEnabled()&&g.s&2){a.Ta(c);break}f++;c=b.call(a,c,d)}};W.prototype.Ta=function(a){ad(this,a)};var gd=function(){};t(gd,R);ca(gd);n=gd.prototype;n.m=function(){return"goog-tab"};n.fa=function(){return"tab"};n.l=function(a){var b=gd.c.l.call(this,a);(a=a.Pa())&&this.Sa(b,a);return b};n.K=function(a,b){var b=gd.c.K.call(this,a,b),c=this.Pa(b);if(c)a.mb=c;if(a.i&8&&(c=a.getParent())&&q(c.Z))a.u(8,!1),c.Z(a);return b};n.Pa=function(a){return a.title||""};n.Sa=function(a,b){if(a)a.title=b||""};var hd=function(a,b,c){S.call(this,a,b||gd.Q(),c);Rc(this,8,!0);this.Da|=9};t(hd,S);hd.prototype.Pa=function(){return this.mb};hd.prototype.Sa=function(a){this.wb().Sa(this.a(),a);this.mb=a};Ic("goog-tab",function(){return new hd(m)});var X=function(){};t(X,V);ca(X);X.prototype.m=function(){return"goog-tab-bar"};X.prototype.fa=function(){return"tablist"};X.prototype.Va=function(a,b,c){if(!this.vb)this.Ia||id(this),this.vb=Ja(this.Ia);var d=this.vb[b];d?(Yc(a,jd(d)),a.nb=d):X.c.Va.call(this,a,b,c)};X.prototype.va=function(a){var b=X.c.va.call(this,a);this.Ia||id(this);b.push(this.Ia[a.nb]);return b};var id=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";Yc(this,jd(a));this.nb=a;W.call(this,this.P,b||X.Q(),c);kd(this)};t(Y,W);n=Y.prototype;n.Tb=!0;n.D=m;n.r=function(){Y.c.r.call(this);kd(this)};n.f=function(){Y.c.f.call(this);this.D=m};n.removeChild=function(a,b){ld(this,a);return Y.c.removeChild.call(this,a,b)};n.Ta=function(a){Y.c.Ta.call(this,a);this.Tb&&this.Z(O(this,a))};n.Z=function(a){a?Pc(a,!0):this.D&&Pc(this.D,!1)};
var ld=function(a,b){if(b&&b==a.D){for(var c=xc(a,b),d=c-1;b=O(a,d);d--)if(b.G()&&b.isEnabled()){a.Z(b);return}for(c+=1;b=O(a,c);c++)if(b.G()&&b.isEnabled()){a.Z(b);return}a.Z(m)}};n=Y.prototype;n.dc=function(a){this.D&&this.D!=a.target&&Pc(this.D,!1);this.D=a.target};n.ec=function(a){if(a.target==this.D)this.D=m};n.bc=function(a){ld(this,a.target)};n.cc=function(a){ld(this,a.target)};n.qa=function(){O(this,this.j)||this.z(this.D||O(this,0))};
var kd=function(a){I(I(I(I(rc(a),a,"select",a.dc),a,"unselect",a.ec),a,"disable",a.bc),a,"hide",a.cc)},jd=function(a){return a=="start"||a=="end"?"vertical":"horizontal"};Ic("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||lb();this.Y=this.q.a(a)||m;this.pa=this.q.a(d||m);this.Ea=(this.Qa=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,jc);n=Z.prototype;n.f=function(){this.Y&&cc(this.Y);this.pa&&cc(this.pa);Z.c.f.call(this)};n.B=function(){return this.Ea};
n.R=function(a){if(this.Ea)L(this.Ea,a);else if(a&&this.Qa)this.Ea=this.Qa();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"):ib(b,"goog-zippy-expanded");b=this.Y;!a?z(b,"goog-zippy-collapsed"):ib(b,"goog-zippy-collapsed")}this.h=a;this.dispatchEvent(new md("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 md=function(a,b,c){B.call(this,a,b);this.kc=c};t(md,B);var od=function(a,b){this.kb=[];for(var c=mb(a),c=nb("span","ae-zippy",c),d=0,f;f=c[d];d++){var g;g=f.parentNode.parentNode.parentNode;if(g.nextElementSibling!=i)g=g.nextElementSibling;else for(g=g.nextSibling;g&&g.nodeType!=1;)g=g.nextSibling;this.kb.push(new Z(f,g,!1))}this.fc=new nd(this.kb,mb(b))};od.prototype.ic=function(){return this.fc};od.prototype.jc=function(){return this.kb};
var nd=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.ib=0;this.h=!1;c="ae-toggle ae-plus ae-action";this.ya.length||(c+=" ae-disabled");this.U=rb("span",{className:c},"Expand All");G(this.U,"click",this.Ub,!1,this);b&&b.appendChild(this.U)};nd.prototype.Ub=function(){this.ya.length&&this.R(!this.h)};
nd.prototype.Vb=function(a){a=a.currentTarget;a.h?this.ib+=1:this.ib-=1;if(a.h!=this.h)if(a.h)this.h=!0,pd(this,!0);else if(this.ib==0)this.h=!1,pd(this,!1)};nd.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);pd(this)};
var pd=function(a,b){(b!==i?b:a.h)?(ib(a.U,"ae-plus"),z(a.U,"ae-minus"),vb(a.U,"Collapse All")):(ib(a.U,"ae-minus"),z(a.U,"ae-plus"),vb(a.U,"Expand All"))},qd=function(a){this.Wb=a;this.Ab={};var b,c=rb("div",{},b=rb("div",{id:"ae-stats-details-tabs",className:"goog-tab-bar goog-tab-bar-top"}),rb("div",{className:"goog-tab-bar-clear"}),a=rb("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=mb("ae-stats-details-"+f)){var g=nb("h2",m,f)[0],h;h=g;var j=i;gb&&"innerText"in h?j=h.innerText.replace(/(\r\n|\r|\n)/g,"\n"):(j=[],zb(h,j,!0),j=j.join(""));j=j.replace(/ \xAD /g," ").replace(/\xAD/g,"");j=j.replace(/\u200B/g,"");v||(j=j.replace(/ +/g," "));j!=" "&&(j=j.replace(/^\s*/,""));h=j;tb(g);g=new hd(h);this.Ab[s(g)]=f;d.Fa(g,!0);a.appendChild(f);b==0?d.Z(g):L(f,!1)}mb("bd").appendChild(c)};qd.prototype.zb=function(a){var b=this.Ab[s(a.target)];L(b,a.type=="select")};
aa("ae.Stats.Details.Tabs",qd);aa("goog.ui.Zippy",Z);Z.prototype.setExpanded=Z.prototype.R;aa("ae.Stats.MakeZippys",od);od.prototype.getExpandCollapse=od.prototype.ic;od.prototype.getZippys=od.prototype.jc;nd.prototype.setExpanded=nd.prototype.R;var $=function(){this.cb=[];this.hb=[]},rd=[[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]],sd=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<rd.length;c++)if(a<=rd[c][2])return[rd[c][0],rd[c][1]*b,rd[c][2]*b];return[5,2*b,10*b]};$.prototype.gb="stats/static/pix.gif";$.prototype.v="ae-stats-gantt-";$.prototype.fb=0;$.prototype.write=function(a){this.hb.push(a)};
var td=function(a,b,c,d){a.write('<tr class="'+a.v+'axisrow"><td width="20%"></td><td>');a.write('<div class="'+a.v+'axis">');for(var f=0;f<=b;f++)a.write('<img class="'+a.v+'tick" src="'+a.gb+'" alt="" '),a.write('style="left:'+f*c*d+'%"\n>'),a.write('<span class="'+a.v+'scale" style="left:'+f*c*d+'%">'),a.write("&nbsp;"+f*c+"</span>");a.write("</div></td></tr>\n")};
$.prototype.hc=function(){this.hb=[];var a=sd(this.fb),b=a[0],c=a[1],a=100/a[2];this.write('<table class="'+this.v+'table">\n');td(this,b,c,a);for(var d=0;d<this.cb.length;d++){var f=this.cb[d];this.write('<tr class="'+this.v+'datarow"><td width="20%">');f.label.length>0&&(f.ja.length>0&&this.write('<a class="'+this.v+'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.v+'container">');f.ja.length>0&&this.write('<a class="'+
this.v+'link" href="'+f.ja+'"\n>');this.write('<img class="'+this.v+'bar" src="'+this.gb+'" alt="" ');this.write('style="left:'+f.start*a+"%;width:"+f.duration*a+'%;min-width:1px"\n>');f.eb>0&&(this.write('<img class="'+this.v+'extra" src="'+this.gb+'" alt="" '),this.write('style="left:'+f.start*a+"%;width:"+f.eb*a+'%"\n>'));f.ub.length>0&&(this.write('<span class="'+this.v+'inline" style="left:'+(f.start+Math.max(f.duration,f.eb))*a+'%">&nbsp;'),this.write(f.ub),this.write("</span>"));f.ja.length>
0&&this.write("</a>");this.write("</div></td></tr>\n")}td(this,b,c,a);this.write("</table>\n");return this.hb.join("")};$.prototype.gc=function(a,b,c,d,f,g){this.fb=Math.max(this.fb,Math.max(b+c,b+d));this.cb.push({label:a,start:b,duration:c,eb:d,ub:f,ja:g})};aa("Gantt",$);$.prototype.add_bar=$.prototype.gc;$.prototype.draw=$.prototype.hc;})();
