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