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