/* Copyright 2008-10 Google Inc. All Rights Reserved. */ (function(){function f(a){throw a;}
var h=void 0,l=!0,m=null,q=!1,s,t=this,aa=function(){},ba=function(a){a.ea=function(){return a.Eb?a.Eb:a.Eb=new a}},ca=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},da=function(a){return"array"==ca(a)},ea=function(a){var b=ca(a);return"array"==b||"object"==b&&"number"==typeof a.length},u=function(a){return"string"==typeof a},v=function(a){return"function"==ca(a)},fa=function(a){var b=typeof a;return"object"==b&&a!=m||"function"==b},w=function(a){return a[ga]||
(a[ga]=++ha)},ga="closure_uid_"+(1E9*Math.random()>>>0),ha=0,ia=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)}},ja=function(a,b){var c=a.split("."),d=t;!(c[0]in d)&&d.execScript&&d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)!c.length&&b!==h?d[e]=b:d=d[e]?d[e]:d[e]={}},x=function(a,b){function c(){}c.prototype=b.prototype;a.f=b.prototype;a.prototype=new c;a.prototype.constructor=
a};var ka=function(a){Error.captureStackTrace?Error.captureStackTrace(this,ka):this.stack=Error().stack||"";a&&(this.message=String(a))};x(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;-1!=a.indexOf("&")&&(a=a.replace(oa,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(pa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(qa,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(ra,"&quot;"));return a},oa=/&/g,pa=/</g,qa=/>/g,ra=/\"/g,na=/[&<>\"]/;var ta=function(a,b){b.unshift(a);ka.call(this,la.apply(m,b));b.shift()};x(ta,ka);ta.prototype.name="AssertionError";var ua=function(a,b,c){var d="Assertion failed";if(b)var d=d+(": "+b),e=c;else a&&(d+=": "+a,e=m);f(new ta(""+d,e||[]))},y=function(a,b,c){a||ua("",b,Array.prototype.slice.call(arguments,2))},va=function(a,b,c,d){a instanceof b||ua("instanceof check failed.",c,Array.prototype.slice.call(arguments,3))};var z=Array.prototype,wa=z.indexOf?function(a,b,c){y(a.length!=m);return z.indexOf.call(a,b,c)}:function(a,b,c){c=c==m?0:0>c?Math.max(0,a.length+c):c;if(u(a))return!u(b)||1!=b.length?-1:a.indexOf(b,c);for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},xa=z.forEach?function(a,b,c){y(a.length!=m);z.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=u(a)?a.split(""):a,g=0;g<d;g++)g in e&&b.call(c,e[g],g,a)},ya=z.filter?function(a,b,c){y(a.length!=m);return z.filter.call(a,b,c)}:function(a,
b,c){for(var d=a.length,e=[],g=0,k=u(a)?a.split(""):a,n=0;n<d;n++)if(n in k){var p=k[n];b.call(c,p,n,a)&&(e[g++]=p)}return e},za=z.every?function(a,b,c){y(a.length!=m);return z.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=u(a)?a.split(""):a,g=0;g<d;g++)if(g in e&&!b.call(c,e[g],g,a))return q;return l},Aa=function(a,b){return 0<=wa(a,b)},Ca=function(a,b){var c=wa(a,b),d;(d=0<=c)&&Ba(a,c);return d},Ba=function(a,b){y(a.length!=m);return 1==z.splice.call(a,b,1).length},Da=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[]},Fa=function(a,b,c,d){y(a.length!=m);z.splice.apply(a,Ea(arguments,1))},Ea=function(a,b,c){y(a.length!=m);return 2>=arguments.length?z.slice.call(a,b):z.slice.call(a,b,c)};var Ga=function(a,b){for(var c in a)b.call(h,a[c],c,a)},Ha=function(a,b){for(var c in a)if(a[c]==b)return l;return q},Ia=function(a,b,c){b in a&&f(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".split(" "),La=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 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 t.navigator?t.navigator.userAgent:m};Pa=Oa=Na=Ma=q;var Ra;if(Ra=Qa()){var Sa=t.navigator;Ma=0==Ra.indexOf("Opera");Na=!Ma&&-1!=Ra.indexOf("MSIE");Oa=!Ma&&-1!=Ra.indexOf("WebKit");Pa=!Ma&&!Oa&&"Gecko"==Sa.product}var Ta=Ma,B=Na,C=Pa,D=Oa,Ua=t.navigator,E=-1!=(Ua&&Ua.platform||"").indexOf("Mac"),Va=function(){var a=t.document;return a?a.documentMode:h},Wa;
t:{var Xa="",Ya;if(Ta&&t.opera)var Za=t.opera.version,Xa="function"==typeof Za?Za():Za;else if(C?Ya=/rv\:([^\);]+)(\)|;)/:B?Ya=/MSIE\s+([^\);]+)(\)|;)/:D&&(Ya=/WebKit\/(\S+)/),Ya)var $a=Ya.exec(Qa()),Xa=$a?$a[1]:"";if(B){var ab=Va();if(ab>parseFloat(Xa)){Wa=String(ab);break t}}Wa=Xa}
var bb=Wa,cb={},F=function(a){var b;if(!(b=cb[a])){b=0;for(var c=ma(String(bb)).split("."),d=ma(String(a)).split("."),e=Math.max(c.length,d.length),g=0;0==b&&g<e;g++){var k=c[g]||"",n=d[g]||"",p=RegExp("(\\d*)(\\D*)","g"),M=RegExp("(\\d*)(\\D*)","g");do{var r=p.exec(k)||["","",""],A=M.exec(n)||["","",""];if(0==r[0].length&&0==A[0].length)break;b=((0==r[1].length?0:parseInt(r[1],10))<(0==A[1].length?0:parseInt(A[1],10))?-1:(0==r[1].length?0:parseInt(r[1],10))>(0==A[1].length?0:parseInt(A[1],10))?1:
0)||((0==r[2].length)<(0==A[2].length)?-1:(0==r[2].length)>(0==A[2].length)?1:0)||(r[2]<A[2]?-1:r[2]>A[2]?1:0)}while(0==b)}b=cb[a]=0<=b}return b},db=t.document,eb=!db||!B?h:Va()||("CSS1Compat"==db.compatMode?parseInt(bb,10):5);var fb,gb=!B||B&&9<=eb;!C&&!B||B&&B&&9<=eb||C&&F("1.9.1");var hb=B&&!F("9");var ib=function(a){a=a.className;return u(a)&&a.match(/\S+/g)||[]},G=function(a,b){for(var c=ib(a),d=Ea(arguments,1),e=c.length+d.length,g=c,k=0;k<d.length;k++)Aa(g,d[k])||g.push(d[k]);a.className=c.join(" ");return c.length==e},kb=function(a,b){var c=ib(a),d=Ea(arguments,1),e=jb(c,d);a.className=e.join(" ");return e.length==c.length-d.length},jb=function(a,b){return ya(a,function(a){return!Aa(b,a)})};var nb=function(a){return a?new lb(mb(a)):fb||(fb=new lb)},ob=function(a){return u(a)?document.getElementById(a):a},pb=function(a,b,c){var d=document;c=c||d;a=a&&"*"!=a?a.toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(a||b))return c.querySelectorAll(a+(b?"."+b:""));if(b&&c.getElementsByClassName){c=c.getElementsByClassName(b);if(a){for(var d={},e=0,g=0,k;k=c[g];g++)a==k.nodeName&&(d[e++]=k);d.length=e;return d}return c}c=c.getElementsByTagName(a||"*");if(b){d={};for(g=e=0;k=c[g];g++)a=
k.className,"function"==typeof a.split&&Aa(a.split(/\s+/),b)&&(d[e++]=k);d.length=e;return d}return c},rb=function(a,b){Ga(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:d in qb?a.setAttribute(qb[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})},qb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:"role",rowspan:"rowSpan",
type:"type",usemap:"useMap",valign:"vAlign",width:"width"},tb=function(a,b,c){return sb(document,arguments)},sb=function(a,b){var c=b[0],d=b[1];if(!gb&&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 e={};La(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(u(d)?c.className=d:da(d)?G.apply(m,[c].concat(d)):rb(c,d));2<b.length&&ub(a,c,b);return c},ub=function(a,b,c){function d(c){c&&b.appendChild(u(c)?a.createTextNode(c):
c)}for(var e=2;e<c.length;e++){var g=c[e];if(ea(g)&&!(fa(g)&&0<g.nodeType)){var k;t:{if(g&&"number"==typeof g.length){if(fa(g)){k="function"==typeof g.item||"string"==typeof g.item;break t}if(v(g)){k="function"==typeof g.item;break t}}k=q}xa(k?Da(g):g,d)}else d(g)}},vb=function(a,b){if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a},mb=function(a){return 9==
a.nodeType?a:a.ownerDocument||a.document},wb=function(a,b){if("textContent"in a)a.textContent=b;else if(a.firstChild&&3==a.firstChild.nodeType){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(String(b)))}},xb={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},yb={IMG:" ",BR:"\n"},zb=function(a){var b=a.getAttributeNode("tabindex");return b&&b.specified?(a=a.tabIndex,"number"==typeof a&&0<=a&&
32768>a):q},Ab=function(a,b,c){if(!(a.nodeName in xb))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in yb)b.push(yb[a.nodeName]);else for(a=a.firstChild;a;)Ab(a,b,c),a=a.nextSibling},lb=function(a){this.D=a||t.document||document};s=lb.prototype;s.ib=nb;s.a=function(a){return u(a)?this.D.getElementById(a):a};s.q=function(a,b,c){return sb(this.D,arguments)};s.createElement=function(a){return this.D.createElement(a)};
s.createTextNode=function(a){return this.D.createTextNode(String(a))};s.appendChild=function(a,b){a.appendChild(b)};s.contains=vb;var Bb=function(a){Bb[" "](a);return a};Bb[" "]=aa;var Cb=!B||B&&9<=eb,Db=!B||B&&9<=eb,Eb=B&&!F("9");!D||F("528");C&&F("1.9b")||B&&F("8")||Ta&&F("9.5")||D&&F("528");C&&!F("8")||B&&F("9");var Fb=function(){};Fb.prototype.Sb=q;var H=function(a,b){this.type=a;this.currentTarget=this.target=b};s=H.prototype;s.U=q;s.defaultPrevented=q;s.xb=l;s.stopPropagation=function(){this.U=l};s.preventDefault=function(){this.defaultPrevented=l;this.xb=q};var I=function(a,b){a&&Gb(this,a,b)};x(I,H);var Hb=[1,4,2];s=I.prototype;s.target=m;s.relatedTarget=m;s.offsetX=0;s.offsetY=0;s.clientX=0;s.clientY=0;s.screenX=0;s.screenY=0;s.button=0;s.keyCode=0;s.charCode=0;s.ctrlKey=q;s.altKey=q;s.shiftKey=q;s.metaKey=q;s.$a=q;s.T=m;
var Gb=function(a,b,c){var d=a.type=b.type;H.call(a,d);a.target=b.target||b.srcElement;a.currentTarget=c;if(c=b.relatedTarget){if(C){var e;t:{try{Bb(c.nodeName);e=l;break t}catch(g){}e=q}e||(c=m)}}else"mouseover"==d?c=b.fromElement:"mouseout"==d&&(c=b.toElement);a.relatedTarget=c;a.offsetX=D||b.offsetX!==h?b.offsetX:b.layerX;a.offsetY=D||b.offsetY!==h?b.offsetY:b.layerY;a.clientX=b.clientX!==h?b.clientX:b.pageX;a.clientY=b.clientY!==h?b.clientY:b.pageY;a.screenX=b.screenX||0;a.screenY=b.screenY||
0;a.button=b.button;a.keyCode=b.keyCode||0;a.charCode=b.charCode||("keypress"==d?b.keyCode:0);a.ctrlKey=b.ctrlKey;a.altKey=b.altKey;a.shiftKey=b.shiftKey;a.metaKey=b.metaKey;a.$a=E?b.metaKey:b.ctrlKey;a.state=b.state;a.T=b;b.defaultPrevented&&a.preventDefault();delete a.U},Ib=function(a){return Cb?0==a.T.button:"click"==a.type?l:!!(a.T.button&Hb[0])};I.prototype.stopPropagation=function(){I.f.stopPropagation.call(this);this.T.stopPropagation?this.T.stopPropagation():this.T.cancelBubble=l};
I.prototype.preventDefault=function(){I.f.preventDefault.call(this);var a=this.T;if(a.preventDefault)a.preventDefault();else if(a.returnValue=q,Eb)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Jb="closure_listenable_"+(1E6*Math.random()|0),Kb=0;var Lb=function(a,b,c,d,e,g){this.H=a;this.zb=b;this.src=c;this.type=d;this.capture=!!e;this.Z=g;this.key=++Kb;this.G=this.ja=q};var Mb={},J={},Nb={},Ob={},K=function(a,b,c,d,e){if(da(b)){for(var g=0;g<b.length;g++)K(a,b[g],c,d,e);return m}c=Pb(c);if(a&&a[Jb])a=a.d(b,c,d,e);else t:{b||f(Error("Invalid event type"));d=!!d;var k=J;b in k||(k[b]={L:0,M:0});k=k[b];d in k||(k[d]={L:0,M:0},k.L++);var k=k[d],g=w(a),n;k.M++;if(k[g]){n=k[g];for(var p=0;p<n.length;p++)if(k=n[p],k.H==c&&k.Z==e){if(k.G)break;n[p].ja=q;a=n[p];break t}}else n=k[g]=[],k.L++;p=Qb();k=new Lb(c,p,a,b,d,e);k.ja=q;p.src=a;p.H=k;n.push(k);Nb[g]||(Nb[g]=[]);Nb[g].push(k);
a.addEventListener?a.addEventListener(b,p,d):a.attachEvent(b in Ob?Ob[b]:Ob[b]="on"+b,p);a=Mb[k.key]=k}return a},Qb=function(){var a=Rb,b=Db?function(c){return a.call(b.src,b.H,c)}:function(c){c=a.call(b.src,b.H,c);if(!c)return c};return b},Sb=function(a,b,c,d,e){if(da(b))for(var g=0;g<b.length;g++)Sb(a,b[g],c,d,e);else if(c=Pb(c),a&&a[Jb])a.u(b,c,d,e);else if(d=!!d,a=Tb(a,b,d))for(g=0;g<a.length;g++)if(a[g].H==c&&a[g].capture==d&&a[g].Z==e){Ub(a[g]);break}},Ub=function(a){if("number"==typeof a||
!a||a.G)return q;var b=a.src;if(b&&b[Jb])return Vb(b,a);var c=a.type,d=a.zb,e=a.capture;b.removeEventListener?b.removeEventListener(c,d,e):b.detachEvent&&b.detachEvent(c in Ob?Ob[c]:Ob[c]="on"+c,d);b=w(b);Nb[b]&&(d=Nb[b],Ca(d,a),0==d.length&&delete Nb[b]);a.G=l;a.H=m;a.zb=m;a.src=m;a.Z=m;if(d=J[c][e][b])d.wb=l,Wb(c,e,b,d);delete Mb[a.key];return l},Wb=function(a,b,c,d){if(!d.Ka&&d.wb){for(var e=0,g=0;e<d.length;e++)d[e].G||(e!=g&&(d[g]=d[e]),g++);d.length=g;d.wb=q;0==g&&(delete J[a][b][c],J[a][b].L--,
0==J[a][b].L&&(delete J[a][b],J[a].L--),0==J[a].L&&delete J[a])}},Tb=function(a,b,c){var d=J;return b in d&&(d=d[b],c in d&&(d=d[c],a=w(a),d[a]))?d[a]:m},Yb=function(a,b,c,d,e){var g=1;b=w(b);if(a[b]){var k=--a.M,n=a[b];n.Ka?n.Ka++:n.Ka=1;try{for(var p=n.length,M=0;M<p;M++){var r=n[M];r&&!r.G&&(g&=Xb(r,e)!==q)}}finally{a.M=Math.max(k,a.M),n.Ka--,Wb(c,d,b,n)}}return Boolean(g)},Xb=function(a,b){var c=a.H,d=a.Z||a.src;a.ja&&Ub(a);return c.call(d,b)},Rb=function(a,b){if(a.G)return l;var c=a.type,d=J;
if(!(c in d))return l;var d=d[c],e,g;if(!Db){var k;if(!(k=b))t:{k=["window","event"];for(var n=t;e=k.shift();)if(n[e]!=m)n=n[e];else{k=m;break t}k=n}e=k;k=l in d;n=q in d;if(k){if(0>e.keyCode||e.returnValue!=h)return l;t:{var p=q;if(0==e.keyCode)try{e.keyCode=-1;break t}catch(M){p=l}if(p||e.returnValue==h)e.returnValue=l}}p=new I;Gb(p,e,this);e=l;try{if(k){for(var r=[],A=p.currentTarget;A;A=A.parentNode)r.push(A);g=d[l];g.M=g.L;for(var R=r.length-1;!p.U&&0<=R&&g.M;R--)p.currentTarget=r[R],e&=Yb(g,
r[R],c,l,p);if(n){g=d[q];g.M=g.L;for(R=0;!p.U&&R<r.length&&g.M;R++)p.currentTarget=r[R],e&=Yb(g,r[R],c,q,p)}}else e=Xb(a,p)}finally{r&&(r.length=0)}return e}c=new I(b,this);return e=Xb(a,c)},Zb="__closure_events_fn_"+(1E9*Math.random()>>>0),Pb=function(a){y(a,"Listener can not be null.");if(v(a))return a;y(a.handleEvent,"An object listener must have handleEvent method.");return a[Zb]||(a[Zb]=function(b){return a.handleEvent(b)})};var $b=function(a){this.tb=a;this.Ha={}};x($b,Fb);var ac=[];$b.prototype.d=function(a,b,c,d,e){da(b)||(ac[0]=b,b=ac);for(var g=0;g<b.length;g++){var k=K(a,b[g],c||this,d||q,e||this.tb||this);if(!k)break;this.Ha[k.key]=k}return this};
$b.prototype.u=function(a,b,c,d,e){if(da(b))for(var g=0;g<b.length;g++)this.u(a,b[g],c,d,e);else{t:if(e=e||this.tb||this,d=!!d,c=Pb(c||this),a&&a[Jb])a=a.J[b],b=-1,a&&(b=bc(a,c,d,e)),e=-1<b?a[b]:m;else{if(a=Tb(a,b,d))for(b=0;b<a.length;b++)if(!a[b].G&&a[b].H==c&&a[b].capture==d&&a[b].Z==e){e=a[b];break t}e=m}e&&(Ub(e),delete this.Ha[e.key])}return this};var cc=function(a){Ga(a.Ha,Ub);a.Ha={}};$b.prototype.handleEvent=function(){f(Error("EventHandler.handleEvent not implemented"))};var L=function(){this.J={};this.bc=this};x(L,Fb);L.prototype[Jb]=l;s=L.prototype;s.kb=m;s.Xa=function(a){this.kb=a};s.addEventListener=function(a,b,c,d){K(this,a,b,c,d)};s.removeEventListener=function(a,b,c,d){Sb(this,a,b,c,d)};
s.dispatchEvent=function(a){dc(this);var b,c=this.kb;if(c){b=[];for(var d=1;c;c=c.kb)b.push(c),y(1E3>++d,"infinite loop")}c=this.bc;d=a.type||a;if(u(a))a=new H(a,c);else if(a instanceof H)a.target=a.target||c;else{var e=a;a=new H(d,c);La(a,e)}var e=l,g;if(b)for(var k=b.length-1;!a.U&&0<=k;k--)g=a.currentTarget=b[k],e=ec(g,d,l,a)&&e;a.U||(g=a.currentTarget=c,e=ec(g,d,l,a)&&e,a.U||(e=ec(g,d,q,a)&&e));if(b)for(k=0;!a.U&&k<b.length;k++)g=a.currentTarget=b[k],e=ec(g,d,q,a)&&e;return e};
var dc=function(a){y(a.J,"Event target is not initialized. Did you call superclass (goog.events.EventTarget) constructor?")};L.prototype.d=function(a,b,c,d){dc(this);var e=this.J[a]||(this.J[a]=[]),g=bc(e,b,c,d);-1<g?(a=e[g],a.ja=q):(a=new Lb(b,m,this,a,!!c,d),a.ja=q,e.push(a));return a};L.prototype.u=function(a,b,c,d){if(!(a in this.J))return q;a=this.J[a];b=bc(a,b,c,d);return-1<b?(c=a[b],delete Mb[c.key],c.G=l,Ba(a,b)):q};
var Vb=function(a,b){var c=b.type;if(!(c in a.J))return q;if(c=Ca(a.J[c],b))delete Mb[b.key],b.G=l;return c},ec=function(a,b,c,d){if(!(b in a.J))return l;var e=l;b=Da(a.J[b]);for(var g=0;g<b.length;++g){var k=b[g];if(k&&!k.G&&k.capture==c){var n=k.H,p=k.Z||k.src;k.ja&&Vb(a,k);e=n.call(p,d)!==q&&e}}return e&&d.xb!=q},bc=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(g.H==b&&g.capture==!!c&&g.Z==d)return e}return-1};var fc=function(a,b){a.style.display=b?"":"none"},gc=C?"MozUserSelect":D?"WebkitUserSelect":m,hc=function(a,b,c){c=!c?a.getElementsByTagName("*"):m;if(gc){if(b=b?"none":"",a.style[gc]=b,c){a=0;for(var d;d=c[a];a++)d.style[gc]=b}}else if(B||Ta)if(b=b?"on":"",a.setAttribute("unselectable",b),c)for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)};var ic=function(){};ba(ic);ic.prototype.ec=0;ic.ea();var N=function(a){L.call(this);this.n=a||nb();this.va=jc};x(N,L);N.prototype.dc=ic.ea();var jc=m,kc=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"}f(Error("Invalid component state"))};s=N.prototype;s.S=m;s.e=q;s.c=m;s.va=m;s.o=m;s.r=m;s.i=m;
var lc=function(a){return a.S||(a.S=":"+(a.dc.ec++).toString(36))},mc=function(a,b){if(a.o&&a.o.i){var c=a.o.i,d=a.S;d in c&&delete c[d];Ia(a.o.i,b,a)}a.S=b};N.prototype.a=function(){return this.c};var nc=function(a){return a.hb||(a.hb=new $b(a))},oc=function(a,b){a==b&&f(Error("Unable to set parent component"));b&&(a.o&&a.S&&a.o.i&&a.S&&(a.S in a.o.i&&a.o.i[a.S])&&a.o!=b)&&f(Error("Unable to set parent component"));a.o=b;N.f.Xa.call(a,b)};s=N.prototype;s.getParent=function(){return this.o};
s.Xa=function(a){this.o&&this.o!=a&&f(Error("Method not supported"));N.f.Xa.call(this,a)};s.ib=function(){return this.n};s.q=function(){this.c=this.n.createElement("div")};s.O=function(a){this.e&&f(Error("Component already rendered"));if(a&&this.da(a)){var b=mb(a);if(!this.n||this.n.D!=b)this.n=nb(a);this.Wa(a);this.F()}else f(Error("Invalid element to decorate"))};s.da=function(){return l};s.Wa=function(a){this.c=a};s.F=function(){this.e=l;pc(this,function(a){!a.e&&a.a()&&a.F()})};
s.ga=function(){pc(this,function(a){a.e&&a.ga()});this.hb&&cc(this.hb);this.e=q};s.Da=function(a,b){this.Sa(a,qc(this),b)};
s.Sa=function(a,b,c){a.e&&(c||!this.e)&&f(Error("Component already rendered"));(0>b||b>qc(this))&&f(Error("Child component index out of bounds"));if(!this.i||!this.r)this.i={},this.r=[];if(a.getParent()==this){var d=lc(a);this.i[d]=a;Ca(this.r,a)}else Ia(this.i,lc(a),a);oc(a,this);Fa(this.r,b,0,a);a.e&&this.e&&a.getParent()==this?(c=this.B(),c.insertBefore(a.a(),c.childNodes[b]||m)):c?(this.c||this.q(),c=O(this,b+1),b=this.B(),c=c?c.c:m,a.e&&f(Error("Component already rendered")),a.c||a.q(),b?b.insertBefore(a.c,
c||m):a.n.D.body.appendChild(a.c),(!a.o||a.o.e)&&a.F()):this.e&&(!a.e&&a.c&&a.c.parentNode&&1==a.c.parentNode.nodeType)&&a.F()};s.B=function(){return this.c};
var rc=function(a){if(a.va==m){var b;t:{b=a.e?a.c:a.n.D.body;var c=mb(b);if(c.defaultView&&c.defaultView.getComputedStyle&&(b=c.defaultView.getComputedStyle(b,m))){b=b.direction||b.getPropertyValue("direction")||"";break t}b=""}a.va="rtl"==(b||((a.e?a.c:a.n.D.body).currentStyle?(a.e?a.c:a.n.D.body).currentStyle.direction:m)||(a.e?a.c:a.n.D.body).style&&(a.e?a.c:a.n.D.body).style.direction)}return a.va};N.prototype.ta=function(a){this.e&&f(Error("Component already rendered"));this.va=a};
var qc=function(a){return a.r?a.r.length:0},O=function(a,b){return a.r?a.r[b]||m:m},pc=function(a,b,c){a.r&&xa(a.r,b,c)},sc=function(a,b){return a.r&&b?wa(a.r,b):-1};N.prototype.removeChild=function(a,b){if(a){var c=u(a)?a:lc(a);a=this.i&&c?(c in this.i?this.i[c]:h)||m:m;if(c&&a){var d=this.i;c in d&&delete d[c];Ca(this.r,a);b&&(a.ga(),a.c&&(c=a.c)&&c.parentNode&&c.parentNode.removeChild(c));oc(a,m)}}a||f(Error("Child is not in parent component"));return a};var tc,uc={kc:"activedescendant",pc:"atomic",qc:"autocomplete",sc:"busy",vc:"checked",Ac:"controls",Cc:"describedby",Fc:"disabled",Hc:"dropeffect",Ic:"expanded",Jc:"flowto",Lc:"grabbed",Pc:"haspopup",Rc:"hidden",Tc:"invalid",Uc:"label",Vc:"labelledby",Wc:"level",ad:"live",ld:"multiline",md:"multiselectable",qd:"orientation",rd:"owns",sd:"posinset",ud:"pressed",yd:"readonly",Ad:"relevant",Bd:"required",Hd:"selected",Jd:"setsize",Ld:"sort",Yd:"valuemax",Zd:"valuemin",$d:"valuenow",ae:"valuetext"};var vc={lc:"alert",mc:"alertdialog",nc:"application",oc:"article",rc:"banner",tc:"button",uc:"checkbox",wc:"columnheader",xc:"combobox",yc:"complementary",zc:"contentinfo",Bc:"definition",Dc:"dialog",Ec:"directory",Gc:"document",Kc:"form",Mc:"grid",Nc:"gridcell",Oc:"group",Qc:"heading",Sc:"img",Xc:"link",Yc:"list",Zc:"listbox",$c:"listitem",bd:"log",cd:"main",dd:"marquee",ed:"math",fd:"menu",gd:"menubar",hd:"menuitem",jd:"menuitemcheckbox",kd:"menuitemradio",nd:"navigation",od:"note",pd:"option",
td:"presentation",vd:"progressbar",wd:"radio",xd:"radiogroup",zd:"region",Cd:"row",Dd:"rowgroup",Ed:"rowheader",Fd:"scrollbar",Gd:"search",Id:"separator",Kd:"slider",Md:"spinbutton",Nd:"status",Od:"tab",Pd:"tablist",Qd:"tabpanel",Rd:"textbox",Sd:"timer",Td:"toolbar",Ud:"tooltip",Vd:"tree",Wd:"treegrid",Xd:"treeitem"};var wc=function(a,b){b?(y(Ha(vc,b),"No such ARIA role "+b),a.setAttribute("role",b)):a.removeAttribute("role")},yc=function(a,b,c){ea(c)&&(c=c.join(" "));var d=xc(b);""===c||c==h?(tc||(tc={atomic:q,autocomplete:"none",dropeffect:"none",haspopup:q,live:"off",multiline:q,multiselectable:q,orientation:"vertical",readonly:q,relevant:"additions text",required:q,sort:"none",busy:q,disabled:q,hidden:q,invalid:"false"}),c=tc,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)},xc=function(a){y(a,
"ARIA attribute cannot be empty.");y(Ha(uc,a),"No such ARIA attribute "+a);return"aria-"+a};var Ac=function(a,b,c,d,e){if(!B&&(!D||!F("525")))return l;if(E&&e)return zc(a);if(e&&!d||!c&&(17==b||18==b||E&&91==b))return q;if(D&&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 q}if(B&&d&&b==a)return q;switch(a){case 13:return!(B&&B&&9<=eb);case 27:return!D}return zc(a)},zc=function(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||D&&0==a)return l;switch(a){case 32:case 63: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:return l;
default:return q}},Bc=function(a){switch(a){case 61:return 187;case 59:return 186;case 224:return 91;case 0:return 224;default:return a}};var P=function(a,b){L.call(this);a&&Cc(this,a,b)};x(P,L);s=P.prototype;s.c=m;s.Ea=m;s.Va=m;s.Fa=m;s.s=-1;s.R=-1;s.gb=q;
var Dc={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},Ec={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},Fc=B||D&&F("525"),Gc=E&&C;
P.prototype.Qb=function(a){if(D&&(17==this.s&&!a.ctrlKey||18==this.s&&!a.altKey||E&&91==this.s&&!a.metaKey))this.R=this.s=-1;-1==this.s&&(a.ctrlKey&&17!=a.keyCode?this.s=17:a.altKey&&18!=a.keyCode?this.s=18:a.metaKey&&91!=a.keyCode&&(this.s=91));Fc&&!Ac(a.keyCode,this.s,a.shiftKey,a.ctrlKey,a.altKey)?this.handleEvent(a):(this.R=C?Bc(a.keyCode):a.keyCode,Gc&&(this.gb=a.altKey))};P.prototype.Rb=function(a){this.R=this.s=-1;this.gb=a.altKey};
P.prototype.handleEvent=function(a){var b=a.T,c,d,e=b.altKey;B&&"keypress"==a.type?(c=this.R,d=13!=c&&27!=c?b.keyCode:0):D&&"keypress"==a.type?(c=this.R,d=0<=b.charCode&&63232>b.charCode&&zc(c)?b.charCode:0):Ta?(c=this.R,d=zc(c)?b.keyCode:0):(c=b.keyCode||this.R,d=b.charCode||0,Gc&&(e=this.gb),E&&(63==d&&224==c)&&(c=191));var g=c,k=b.keyIdentifier;c?63232<=c&&c in Dc?g=Dc[c]:25==c&&a.shiftKey&&(g=9):k&&k in Ec&&(g=Ec[k]);a=g==this.s;this.s=g;b=new Hc(g,d,a,b);b.altKey=e;this.dispatchEvent(b)};
P.prototype.a=function(){return this.c};var Cc=function(a,b,c){a.Fa&&a.detach();a.c=b;a.Ea=K(a.c,"keypress",a,c);a.Va=K(a.c,"keydown",a.Qb,c,a);a.Fa=K(a.c,"keyup",a.Rb,c,a)};P.prototype.detach=function(){this.Ea&&(Ub(this.Ea),Ub(this.Va),Ub(this.Fa),this.Fa=this.Va=this.Ea=m);this.c=m;this.R=this.s=-1};var Hc=function(a,b,c,d){d&&Gb(this,d,h);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};x(Hc,I);var Jc=function(a,b){a||f(Error("Invalid class name "+a));v(b)||f(Error("Invalid decorator function "+b));Ic[a]=b},Kc={},Ic={};var Q=function(){};ba(Q);Q.prototype.$=function(){};var Lc=function(a,b){a&&(a.tabIndex=b?0:-1)};s=Q.prototype;s.q=function(a){return a.ib().q("div",this.wa(a).join(" "))};s.B=function(a){return a};s.da=function(a){return"DIV"==a.tagName};s.O=function(a,b){b.id&&mc(a,b.id);var c=this.w(),d=q,e=ib(b);e&&xa(e,function(b){b==c?d=l:b&&this.Za(a,b,c)},this);d||G(b,c);Mc(a,this.B(b));return b};s.Za=function(a,b,c){b==c+"-disabled"?a.sa(q):b==c+"-horizontal"?Nc(a,"horizontal"):b==c+"-vertical"&&Nc(a,"vertical")};
var Mc=function(a,b){if(b)for(var c=b.firstChild,d;c&&c.parentNode==b;){d=c.nextSibling;if(1==c.nodeType){var e;t:{e=h;for(var g=ib(c),k=0,n=g.length;k<n;k++)if(e=g[k]in Ic?Ic[g[k]]():m)break t;e=m}e&&(e.c=c,a.isEnabled()||e.sa(q),a.Da(e),e.O(c))}else(!c.nodeValue||""==ma(c.nodeValue))&&b.removeChild(c);c=d}};Q.prototype.La=function(a){a=a.a();y(a,"The container DOM element cannot be null.");hc(a,l,C);B&&(a.hideFocus=l);var b=this.$();b&&wc(a,b)};Q.prototype.k=function(a){return a.a()};
Q.prototype.w=function(){return"goog-container"};Q.prototype.wa=function(a){var b=this.w(),c=[b,"horizontal"==a.P?b+"-horizontal":b+"-vertical"];a.isEnabled()||c.push(b+"-disabled");return c};var S=function(){},Oc;ba(S);s=S.prototype;s.$=function(){};s.q=function(a){var b=a.ib().q("div",this.wa(a).join(" "),a.Ca);Pc(a,b);return b};s.B=function(a){return a};s.ua=function(a,b,c){if(a=a.a?a.a():a)if(B&&!F("7")){var d=Qc(ib(a),b);d.push(b);ia(c?G:kb,a).apply(m,d)}else c?G(a,b):kb(a,b)};s.da=function(){return l};
s.O=function(a,b){b.id&&mc(a,b.id);var c=this.B(b);c&&c.firstChild?Rc(a,c.firstChild.nextSibling?Da(c.childNodes):c.firstChild):a.Ca=m;var d=0,e=this.w(),g=this.w(),k=q,n=q,c=q,p=ib(b);xa(p,function(a){if(!k&&a==e)k=l,g==e&&(n=l);else if(!n&&a==g)n=l;else{var b=d;this.rb||(this.Ga||Sc(this),this.rb=Ja(this.Ga));a=parseInt(this.rb[a],10);d=b|(isNaN(a)?0:a)}},this);a.g=d;k||(p.push(e),g==e&&(n=l));n||p.push(g);var M=a.I;M&&p.push.apply(p,M);if(B&&!F("7")){var r=Qc(p);0<r.length&&(p.push.apply(p,r),
c=l)}if(!k||!n||M||c)b.className=p.join(" ");Pc(a,b);return b};s.La=function(a){rc(a)&&this.ta(a.a(),l);a.isEnabled()&&this.qa(a,a.t())};var Tc=function(a,b,c){if(a=c||a.$())y(b,"The element passed as a first parameter cannot be null."),wc(b,a)},Pc=function(a,b){y(a);y(b);a.t()||yc(b,"hidden",!a.t());a.isEnabled()||Uc(b,1,!a.isEnabled());a.m&8&&Uc(b,8,!!(a.g&8));a.m&16&&Uc(b,16,!!(a.g&16));a.m&64&&Uc(b,64,!!(a.g&64))};s=S.prototype;s.Aa=function(a,b){hc(a,!b,!B&&!Ta)};
s.ta=function(a,b){this.ua(a,this.w()+"-rtl",b)};s.W=function(a){var b;return a.m&32&&(b=a.k())?zb(b):q};s.qa=function(a,b){var c;if(a.m&32&&(c=a.k())){if(!b&&a.g&32){try{c.blur()}catch(d){}a.g&32&&a.oa(m)}zb(c)!=b&&(b?c.tabIndex=0:(c.tabIndex=-1,c.removeAttribute("tabIndex")))}};s.ma=function(a,b){fc(a,b);a&&yc(a,"hidden",!b)};s.v=function(a,b,c){var d=a.a();if(d){var e=Vc(this,b);e&&this.ua(a,e,c);Uc(d,b,c)}};
var Uc=function(a,b,c){Oc||(Oc={1:"disabled",8:"selected",16:"checked",64:"expanded"});if(b=Oc[b])y(a,"The element passed as a first parameter cannot be null."),yc(a,b,c)};S.prototype.k=function(a){return a.a()};S.prototype.w=function(){return"goog-control"};S.prototype.wa=function(a){var b=this.w(),c=[b],d=this.w();d!=b&&c.push(d);b=a.g;for(d=[];b;){var e=b&-b;d.push(Vc(this,e));b&=~e}c.push.apply(c,d);(a=a.I)&&c.push.apply(c,a);B&&!F("7")&&c.push.apply(c,Qc(c));return c};
var Qc=function(a,b){var c=[];b&&(a=a.concat([b]));xa([],function(d){za(d,ia(Aa,a))&&(!b||Aa(d,b))&&c.push(d.join("_"))});return c},Vc=function(a,b){a.Ga||Sc(a);return a.Ga[b]},Sc=function(a){var b=a.w();a.Ga={1:b+"-disabled",2:b+"-hover",4:b+"-active",8:b+"-selected",16:b+"-checked",32:b+"-focused",64:b+"-open"}};var T=function(a,b,c){N.call(this,c);if(!b){b=this.constructor;for(var d;b;){d=w(b);if(d=Kc[d])break;b=b.f?b.f.constructor:m}b=d?v(d.ea)?d.ea():new d:m}this.b=b;this.Ca=a};x(T,N);s=T.prototype;s.Ca=m;s.g=0;s.m=39;s.cc=255;s.aa=0;s.p=l;s.I=m;s.fa=l;s.ya=q;s.ob=m;s.mb=function(){return this.fa};s.Ma=function(a){this.e&&a!=this.fa&&Wc(this,a);this.fa=a};s.k=function(){return this.b.k(this)};s.za=function(){return this.ka||(this.ka=new P)};s.Ab=function(){return this.b};
s.ua=function(a,b){b?a&&(this.I?Aa(this.I,a)||this.I.push(a):this.I=[a],this.b.ua(this,a,l)):a&&this.I&&(Ca(this.I,a),0==this.I.length&&(this.I=m),this.b.ua(this,a,q))};s.q=function(){var a=this.b.q(this);this.c=a;Tc(this.b,a,this.ob);this.ya||this.b.Aa(a,q);this.t()||this.b.ma(a,q)};s.B=function(){return this.b.B(this.a())};s.da=function(a){return this.b.da(a)};s.Wa=function(a){this.c=a=this.b.O(this,a);Tc(this.b,a,this.ob);this.ya||this.b.Aa(a,q);this.p="none"!=a.style.display};
s.F=function(){T.f.F.call(this);this.b.La(this);if(this.m&-2&&(this.mb()&&Wc(this,l),this.m&32)){var a=this.k();if(a){var b=this.za();Cc(b,a);nc(this).d(b,"key",this.N).d(a,"focus",this.pa).d(a,"blur",this.oa)}}};
var Wc=function(a,b){var c=nc(a),d=a.a();b?(c.d(d,"mouseover",a.Pa).d(d,"mousedown",a.na).d(d,"mouseup",a.Qa).d(d,"mouseout",a.Oa),a.ra!=aa&&c.d(d,"contextmenu",a.ra),B&&c.d(d,"dblclick",a.qb)):(c.u(d,"mouseover",a.Pa).u(d,"mousedown",a.na).u(d,"mouseup",a.Qa).u(d,"mouseout",a.Oa),a.ra!=aa&&c.u(d,"contextmenu",a.ra),B&&c.u(d,"dblclick",a.qb))};T.prototype.ga=function(){T.f.ga.call(this);this.ka&&this.ka.detach();this.t()&&this.isEnabled()&&this.b.qa(this,q)};var Rc=function(a,b){a.Ca=b};s=T.prototype;
s.ta=function(a){T.f.ta.call(this,a);var b=this.a();b&&this.b.ta(b,a)};s.Aa=function(a){this.ya=a;var b=this.a();b&&this.b.Aa(b,a)};s.t=function(){return this.p};s.ma=function(a,b){if(b||this.p!=a&&this.dispatchEvent(a?"show":"hide")){var c=this.a();c&&this.b.ma(c,a);this.isEnabled()&&this.b.qa(this,a);this.p=a;return l}return q};s.isEnabled=function(){return!(this.g&1)};
s.sa=function(a){var b=this.getParent();if((!b||"function"!=typeof b.isEnabled||b.isEnabled())&&U(this,1,!a))a||(this.setActive(q),this.C(q)),this.t()&&this.b.qa(this,a),this.v(1,!a)};s.C=function(a){U(this,2,a)&&this.v(2,a)};s.setActive=function(a){U(this,4,a)&&this.v(4,a)};var Xc=function(a,b){U(a,8,b)&&a.v(8,b)},Yc=function(a,b){U(a,64,b)&&a.v(64,b)};T.prototype.v=function(a,b){this.m&a&&b!=!!(this.g&a)&&(this.b.v(this,a,b),this.g=b?this.g|a:this.g&~a)};
var Zc=function(a,b,c){a.e&&(a.g&b&&!c)&&f(Error("Component already rendered"));!c&&a.g&b&&a.v(b,q);a.m=c?a.m|b:a.m&~b},V=function(a,b){return!!(a.cc&b)&&!!(a.m&b)},U=function(a,b,c){return!!(a.m&b)&&!!(a.g&b)!=c&&(!(a.aa&b)||a.dispatchEvent(kc(b,c)))&&!a.Sb};s=T.prototype;s.Pa=function(a){(!a.relatedTarget||!vb(this.a(),a.relatedTarget))&&(this.dispatchEvent("enter")&&this.isEnabled()&&V(this,2))&&this.C(l)};
s.Oa=function(a){if((!a.relatedTarget||!vb(this.a(),a.relatedTarget))&&this.dispatchEvent("leave"))V(this,4)&&this.setActive(q),V(this,2)&&this.C(q)};s.ra=aa;s.na=function(a){if(this.isEnabled()&&(V(this,2)&&this.C(l),Ib(a)&&(!D||!E||!a.ctrlKey)))V(this,4)&&this.setActive(l),this.b.W(this)&&this.k().focus();!this.ya&&(Ib(a)&&(!D||!E||!a.ctrlKey))&&a.preventDefault()};s.Qa=function(a){this.isEnabled()&&(V(this,2)&&this.C(l),this.g&4&&($c(this,a)&&V(this,4))&&this.setActive(q))};
s.qb=function(a){this.isEnabled()&&$c(this,a)};var $c=function(a,b){if(V(a,16)){var c=!(a.g&16);U(a,16,c)&&a.v(16,c)}V(a,8)&&Xc(a,l);V(a,64)&&Yc(a,!(a.g&64));c=new H("action",a);b&&(c.altKey=b.altKey,c.ctrlKey=b.ctrlKey,c.metaKey=b.metaKey,c.shiftKey=b.shiftKey,c.$a=b.$a);return a.dispatchEvent(c)};T.prototype.pa=function(){V(this,32)&&U(this,32,l)&&this.v(32,l)};T.prototype.oa=function(){V(this,4)&&this.setActive(q);V(this,32)&&U(this,32,q)&&this.v(32,q)};
T.prototype.N=function(a){return this.t()&&this.isEnabled()&&this.jb(a)?(a.preventDefault(),a.stopPropagation(),l):q};T.prototype.jb=function(a){return 13==a.keyCode&&$c(this,a)};v(T)||f(Error("Invalid component class "+T));v(S)||f(Error("Invalid renderer class "+S));var ad=w(T);Kc[ad]=S;Jc("goog-control",function(){return new T(m)});var W=function(a,b,c){N.call(this,c);this.b=b||Q.ea();this.P=a||"vertical"};x(W,N);s=W.prototype;s.sb=m;s.ka=m;s.b=m;s.P=m;s.p=l;s.ba=l;s.Ya=l;s.j=-1;s.h=m;s.ha=q;s.Pb=q;s.Ob=l;s.Q=m;s.k=function(){return this.sb||this.b.k(this)};s.za=function(){return this.ka||(this.ka=new P(this.k()))};s.Ab=function(){return this.b};s.q=function(){this.c=this.b.q(this)};s.B=function(){return this.b.B(this.a())};s.da=function(a){return this.b.da(a)};
s.Wa=function(a){this.c=this.b.O(this,a);"none"==a.style.display&&(this.p=q)};s.F=function(){W.f.F.call(this);pc(this,function(a){a.e&&bd(this,a)},this);var a=this.a();this.b.La(this);this.ma(this.p,l);nc(this).d(this,"enter",this.Ib).d(this,"highlight",this.Jb).d(this,"unhighlight",this.Lb).d(this,"open",this.Kb).d(this,"close",this.Gb).d(a,"mousedown",this.na).d(mb(a),"mouseup",this.Hb).d(a,["mousedown","mouseup","mouseover","mouseout","contextmenu"],this.Fb);this.W()&&cd(this,l)};
var cd=function(a,b){var c=nc(a),d=a.k();b?c.d(d,"focus",a.pa).d(d,"blur",a.oa).d(a.za(),"key",a.N):c.u(d,"focus",a.pa).u(d,"blur",a.oa).u(a.za(),"key",a.N)};s=W.prototype;s.ga=function(){dd(this,-1);this.h&&Yc(this.h,q);this.ha=q;W.f.ga.call(this)};s.Ib=function(){return l};
s.Jb=function(a){var b=sc(this,a.target);if(-1<b&&b!=this.j){var c=O(this,this.j);c&&c.C(q);this.j=b;c=O(this,this.j);this.ha&&c.setActive(l);this.Ob&&(this.h&&c!=this.h)&&(c.m&64?Yc(c,l):Yc(this.h,q))}b=this.a();y(b,"The DOM element for the container cannot be null.");a.target.a()!=m&&yc(b,"activedescendant",a.target.a().id)};s.Lb=function(a){a.target==O(this,this.j)&&(this.j=-1);a=this.a();y(a,"The DOM element for the container cannot be null.");a.removeAttribute(xc("activedescendant"))};
s.Kb=function(a){if((a=a.target)&&a!=this.h&&a.getParent()==this)this.h&&Yc(this.h,q),this.h=a};s.Gb=function(a){a.target==this.h&&(this.h=m)};s.na=function(a){this.ba&&(this.ha=l);var b=this.k();b&&zb(b)?b.focus():a.preventDefault()};s.Hb=function(){this.ha=q};
s.Fb=function(a){var b;t:{b=a.target;if(this.Q)for(var c=this.a();b&&b!==c;){var d=b.id;if(d in this.Q){b=this.Q[d];break t}b=b.parentNode}b=m}if(b)switch(a.type){case "mousedown":b.na(a);break;case "mouseup":b.Qa(a);break;case "mouseover":b.Pa(a);break;case "mouseout":b.Oa(a);break;case "contextmenu":b.ra(a)}};s.pa=function(){};s.oa=function(){dd(this,-1);this.ha=q;this.h&&Yc(this.h,q)};
s.N=function(a){return this.isEnabled()&&this.t()&&(0!=qc(this)||this.sb)&&this.jb(a)?(a.preventDefault(),a.stopPropagation(),l):q};
s.jb=function(a){var b=O(this,this.j);if(b&&"function"==typeof b.N&&b.N(a)||this.h&&this.h!=b&&"function"==typeof this.h.N&&this.h.N(a))return l;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return q;switch(a.keyCode){case 27:if(this.W())this.k().blur();else return q;break;case 36:ed(this);break;case 35:fd(this);break;case 38:if("vertical"==this.P)gd(this);else return q;break;case 37:if("horizontal"==this.P)rc(this)?hd(this):gd(this);else return q;break;case 40:if("vertical"==this.P)hd(this);else return q;
break;case 39:if("horizontal"==this.P)rc(this)?gd(this):hd(this);else return q;break;default:return q}return l};var bd=function(a,b){var c=b.a(),c=c.id||(c.id=lc(b));a.Q||(a.Q={});a.Q[c]=b};W.prototype.Da=function(a,b){va(a,T,"The child of a container must be a control");W.f.Da.call(this,a,b)};W.prototype.Sa=function(a,b,c){a.aa|=2;a.aa|=64;(this.W()||!this.Pb)&&Zc(a,32,q);a.Ma(q);W.f.Sa.call(this,a,b,c);a.e&&this.e&&bd(this,a);b<=this.j&&this.j++};
W.prototype.removeChild=function(a,b){if(a=u(a)?this.i&&a?(a in this.i?this.i[a]:h)||m:m:a){var c=sc(this,a);-1!=c&&(c==this.j?a.C(q):c<this.j&&this.j--);var d=a.a();d&&(d.id&&this.Q)&&(c=this.Q,d=d.id,d in c&&delete c[d])}a=W.f.removeChild.call(this,a,b);a.Ma(l);return a};var Nc=function(a,b){a.a()&&f(Error("Component already rendered"));a.P=b};s=W.prototype;s.t=function(){return this.p};
s.ma=function(a,b){if(b||this.p!=a&&this.dispatchEvent(a?"show":"hide")){this.p=a;var c=this.a();c&&(fc(c,a),this.W()&&Lc(this.k(),this.ba&&this.p),b||this.dispatchEvent(this.p?"aftershow":"afterhide"));return l}return q};s.isEnabled=function(){return this.ba};s.sa=function(a){if(this.ba!=a&&this.dispatchEvent(a?"enable":"disable"))a?(this.ba=l,pc(this,function(a){a.ub?delete a.ub:a.sa(l)})):(pc(this,function(a){a.isEnabled()?a.sa(q):a.ub=l}),this.ha=this.ba=q),this.W()&&Lc(this.k(),a&&this.p)};
s.W=function(){return this.Ya};s.qa=function(a){a!=this.Ya&&this.e&&cd(this,a);this.Ya=a;this.ba&&this.p&&Lc(this.k(),a)};var dd=function(a,b){var c=O(a,b);c?c.C(l):-1<a.j&&O(a,a.j).C(q)};W.prototype.C=function(a){dd(this,sc(this,a))};
var ed=function(a){id(a,function(a,c){return(a+1)%c},qc(a)-1)},fd=function(a){id(a,function(a,c){a--;return 0>a?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 0>a?c-1:a},a.j)},id=function(a,b,c){c=0>c?sc(a,a.h):c;var d=qc(a);c=b.call(a,c,d);for(var e=0;e<=d;){var g=O(a,c);if(g&&g.t()&&g.isEnabled()&&g.m&2){a.Ta(c);break}e++;c=b.call(a,c,d)}};W.prototype.Ta=function(a){dd(this,a)};var jd=function(){};x(jd,S);ba(jd);s=jd.prototype;s.w=function(){return"goog-tab"};s.$=function(){return"tab"};s.q=function(a){var b=jd.f.q.call(this,a);(a=a.Ra())&&this.Ua(b,a);return b};s.O=function(a,b){b=jd.f.O.call(this,a,b);var c=this.Ra(b);c&&(a.pb=c);if(a.g&8&&(c=a.getParent())&&v(c.ca))a.v(8,q),c.ca(a);return b};s.Ra=function(a){return a.title||""};s.Ua=function(a,b){a&&(a.title=b||"")};var kd=function(a,b,c){T.call(this,a,b||jd.ea(),c);Zc(this,8,l);this.aa|=9};x(kd,T);kd.prototype.Ra=function(){return this.pb};kd.prototype.Ua=function(a){this.Ab().Ua(this.a(),a);this.pb=a};Jc("goog-tab",function(){return new kd(m)});var X=function(){};x(X,Q);ba(X);X.prototype.w=function(){return"goog-tab-bar"};X.prototype.$=function(){return"tablist"};X.prototype.Za=function(a,b,c){this.Bb||(this.Ia||ld(this),this.Bb=Ja(this.Ia));var d=this.Bb[b];d?(Nc(a,md(d)),a.vb=d):X.f.Za.call(this,a,b,c)};X.prototype.wa=function(a){var b=X.f.wa.call(this,a);this.Ia||ld(this);b.push(this.Ia[a.vb]);return b};var ld=function(a){var b=a.w();a.Ia={top:b+"-top",bottom:b+"-bottom",start:b+"-start",end:b+"-end"}};var Y=function(a,b,c){a=a||"top";Nc(this,md(a));this.vb=a;W.call(this,this.P,b||X.ea(),c);nd(this)};x(Y,W);s=Y.prototype;s.Zb=l;s.K=m;s.F=function(){Y.f.F.call(this);nd(this)};s.removeChild=function(a,b){od(this,a);return Y.f.removeChild.call(this,a,b)};s.Ta=function(a){Y.f.Ta.call(this,a);this.Zb&&this.ca(O(this,a))};s.ca=function(a){a?Xc(a,l):this.K&&Xc(this.K,q)};
var od=function(a,b){if(b&&b==a.K){for(var c=sc(a,b),d=c-1;b=O(a,d);d--)if(b.t()&&b.isEnabled()){a.ca(b);return}for(c+=1;b=O(a,c);c++)if(b.t()&&b.isEnabled()){a.ca(b);return}a.ca(m)}};s=Y.prototype;s.Xb=function(a){this.K&&this.K!=a.target&&Xc(this.K,q);this.K=a.target};s.Yb=function(a){a.target==this.K&&(this.K=m)};s.Vb=function(a){od(this,a.target)};s.Wb=function(a){od(this,a.target)};s.pa=function(){O(this,this.j)||this.C(this.K||O(this,0))};
var nd=function(a){nc(a).d(a,"select",a.Xb).d(a,"unselect",a.Yb).d(a,"disable",a.Vb).d(a,"hide",a.Wb)},md=function(a){return"start"==a||"end"==a?"vertical":"horizontal"};Jc("goog-tab-bar",function(){return new Y});var Z=function(a,b,c,d,e){function g(a){a&&(a.tabIndex=0,wc(a,k.$()),G(a,"goog-zippy-header"),pd(k,a),a&&k.Mb.d(a,"keydown",k.Nb))}L.call(this);this.n=e||nb();this.X=this.n.a(a)||m;this.Ba=this.n.a(d||m);this.ia=(this.Na=v(b)?b:m)||!b?m:this.n.a(b);this.l=c==l;this.Mb=new $b(this);this.nb=new $b(this);var k=this;g(this.X);g(this.Ba);this.Y(this.l)};x(Z,L);s=Z.prototype;s.fa=l;s.$=function(){return"tab"};s.B=function(){return this.ia};s.toggle=function(){this.Y(!this.l)};
s.Y=function(a){this.ia?fc(this.ia,a):a&&this.Na&&(this.ia=this.Na());this.ia&&G(this.ia,"goog-zippy-content");if(this.Ba)fc(this.X,!a),fc(this.Ba,a);else if(this.X){var b=this.X;a?G(b,"goog-zippy-expanded"):kb(b,"goog-zippy-expanded");b=this.X;!a?G(b,"goog-zippy-collapsed"):kb(b,"goog-zippy-collapsed");yc(this.X,"expanded",a)}this.l=a;this.dispatchEvent(new qd("toggle",this))};s.mb=function(){return this.fa};s.Ma=function(a){this.fa!=a&&((this.fa=a)?(pd(this,this.X),pd(this,this.Ba)):cc(this.nb))};
var pd=function(a,b){b&&a.nb.d(b,"click",a.$b)};Z.prototype.Nb=function(a){if(13==a.keyCode||32==a.keyCode)this.toggle(),this.dispatchEvent(new H("action",this)),a.preventDefault(),a.stopPropagation()};Z.prototype.$b=function(){this.toggle();this.dispatchEvent(new H("action",this))};var qd=function(a,b){H.call(this,a,b)};x(qd,H);var sd=function(a,b){this.lb=[];for(var c=ob(a),c=pb("span","ae-zippy",c),d=0,e;e=c[d];d++){var g;if(e.parentNode.parentNode.parentNode.nextElementSibling!=h)g=e.parentNode.parentNode.parentNode.nextElementSibling;else for(g=e.parentNode.parentNode.parentNode.nextSibling;g&&1!=g.nodeType;)g=g.nextSibling;e=new Z(e,g,q);this.lb.push(e)}this.fc=new rd(this.lb,ob(b))};sd.prototype.ic=function(){return this.fc};sd.prototype.jc=function(){return this.lb};
var rd=function(a,b){this.xa=a;if(this.xa.length)for(var c=0,d;d=this.xa[c];c++)K(d,"toggle",this.Ub,q,this);this.Ja=0;this.l=q;c="ae-toggle ae-plus ae-action";this.xa.length||(c+=" ae-disabled");this.V=tb("span",{className:c},"Expand All");K(this.V,"click",this.Tb,q,this);b&&b.appendChild(this.V)};rd.prototype.Tb=function(){this.xa.length&&this.Y(!this.l)};
rd.prototype.Ub=function(a){a=a.currentTarget;this.Ja=a.l?this.Ja+1:this.Ja-1;a.l!=this.l&&(a.l?(this.l=l,td(this,l)):0==this.Ja&&(this.l=q,td(this,q)))};rd.prototype.Y=function(a){this.l=a;a=0;for(var b;b=this.xa[a];a++)b.l!=this.l&&b.Y(this.l);td(this)};
var td=function(a,b){(b!==h?b:a.l)?(kb(a.V,"ae-plus"),G(a.V,"ae-minus"),wb(a.V,"Collapse All")):(kb(a.V,"ae-minus"),G(a.V,"ae-plus"),wb(a.V,"Expand All"))},ud=function(a){this.ac=a;this.Db={};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.O(b);K(d,"select",this.Cb,q,this);K(d,"unselect",this.Cb,q,this);b=0;for(var e;e=
this.ac[b];b++)if(e=ob("ae-stats-details-"+e)){var g=pb("h2",m,e)[0],k;k=g;var n=h;hb&&"innerText"in k?n=k.innerText.replace(/(\r\n|\r|\n)/g,"\n"):(n=[],Ab(k,n,l),n=n.join(""));n=n.replace(/ \xAD /g," ").replace(/\xAD/g,"");n=n.replace(/\u200B/g,"");hb||(n=n.replace(/ +/g," "));" "!=n&&(n=n.replace(/^\s*/,""));k=n;g&&g.parentNode&&g.parentNode.removeChild(g);g=new kd(k);this.Db[w(g)]=e;d.Da(g,l);a.appendChild(e);0==b?d.ca(g):fc(e,q)}ob("bd").appendChild(c)};
ud.prototype.Cb=function(a){var b=this.Db[w(a.target)];fc(b,"select"==a.type)};ja("ae.Stats.Details.Tabs",ud);ja("goog.ui.Zippy",Z);Z.prototype.setExpanded=Z.prototype.Y;ja("ae.Stats.MakeZippys",sd);sd.prototype.getExpandCollapse=sd.prototype.ic;sd.prototype.getZippys=sd.prototype.jc;rd.prototype.setExpanded=rd.prototype.Y;var $=function(){this.ab=[];this.fb=[]},vd=[[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]],wd=function(a){if(0>=a)return[2,0.5,1];for(var b=1;1>a;)a*=10,b/=10;for(;10<=a;)a/=10,b*=10;for(var c=0;c<vd.length;c++)if(a<=vd[c][2])return[vd[c][0],vd[c][1]*b,vd[c][2]*b];return[5,2*b,10*b]};$.prototype.eb="stats/static/pix.gif";$.prototype.A="ae-stats-gantt-";$.prototype.cb=0;$.prototype.write=function(a){this.fb.push(a)};
var xd=function(a,b,c,d){a.write('<tr class="'+a.A+'axisrow"><td width="20%"></td><td>');a.write('<div class="'+a.A+'axis">');for(var e=0;e<=b;e++)a.write('<img class="'+a.A+'tick" src="'+a.eb+'" alt="" '),a.write('style="left:'+e*c*d+'%"\n>'),a.write('<span class="'+a.A+'scale" style="left:'+e*c*d+'%">'),a.write("&nbsp;"+e*c+"</span>");a.write("</div></td></tr>\n")};
$.prototype.hc=function(){this.fb=[];var a=wd(this.cb),b=a[0],c=a[1],a=100/a[2];this.write('<table class="'+this.A+'table">\n');xd(this,b,c,a);for(var d=0;d<this.ab.length;d++){var e=this.ab[d];this.write('<tr class="'+this.A+'datarow"><td width="20%">');0<e.label.length&&(0<e.la.length&&this.write('<a class="'+this.A+'link" href="'+e.la+'">'),this.write(e.label),0<e.la.length&&this.write("</a>"));this.write("</td>\n<td>");this.write('<div class="'+this.A+'container">');0<e.la.length&&this.write('<a class="'+
this.A+'link" href="'+e.la+'"\n>');this.write('<img class="'+this.A+'bar" src="'+this.eb+'" alt="" ');this.write('style="left:'+e.start*a+"%;width:"+e.duration*a+'%;min-width:1px"\n>');0<e.bb&&(this.write('<img class="'+this.A+'extra" src="'+this.eb+'" alt="" '),this.write('style="left:'+e.start*a+"%;width:"+e.bb*a+'%"\n>'));0<e.yb.length&&(this.write('<span class="'+this.A+'inline" style="left:'+(e.start+Math.max(e.duration,e.bb))*a+'%">&nbsp;'),this.write(e.yb),this.write("</span>"));0<e.la.length&&
this.write("</a>");this.write("</div></td></tr>\n")}xd(this,b,c,a);this.write("</table>\n");return this.fb.join("")};$.prototype.gc=function(a,b,c,d,e,g){this.cb=Math.max(this.cb,Math.max(b+c,b+d));this.ab.push({label:a,start:b,duration:c,bb:d,yb:e,la:g})};ja("Gantt",$);$.prototype.add_bar=$.prototype.gc;$.prototype.draw=$.prototype.hc;})();
