/* Copyright 2007 Google Inc. */ (function() { function g(a){throw a;}var i=true,j=null,l=false,aa=encodeURIComponent,ba=window,ca=Object,m=Error,n=undefined,da=parseFloat,ea=String,fa=document,ga=decodeURIComponent,p=Math,ha=Array;function ia(a,b){return a.width=b}function ja(a,b){return a.currentTarget=b}function ka(a,b){return a.left=b}function ma(a,b){return a.keyCode=b}function na(a,b){return a.visibility=b}function oa(a,b){return a.toString=b}function pa(a,b){return a.length=b}function qa(a,b){return a.className=b} function ra(a,b){return a.target=b}function sa(a,b){return a.anchor=b}function ta(a,b){return a.contains=b}function ua(a,b){return a.height=b} var va="appendChild",r="push",wa="getBoundingClientRect",xa="relatedTarget",s="width",ya="round",u="replace",za="nodeType",Aa="getElementById",Ba="offsetWidth",w="indexOf",Ca="dispatchEvent",Da="capture",x="left",Ea="screenX",Fa="screenY",Ga="getBoxObjectFor",Ha="remove",Ia="keyCode",Ja="firstChild",Ka="forEach",La="clientLeft",Ma="clientTop",Na="handleEvent",y="type",Oa="defaultView",Pa="clientX",Qa="clientY",Ra="documentElement",Sa="scrollTop",Ta="toString",z="length",Ua="propertyIsEnumerable", A="prototype",Va="clientWidth",Wa="document",Xa="split",Ya="hasOwnProperty",B="style",C="body",D="target",F="call",G="anchor",Za="clientHeight",$a="scrollLeft",ab="compatMode",H="bottom",bb="contains",db="apply",eb="parentNode",I="height",fb="offsetHeight",J="right",K,L=this,gb=function(a,b,c){a=a[Xa](".");c=c||L;!(a[0]in c)&&c.execScript&&c.execScript("var "+a[0]);for(var d;a[z]&&(d=a.shift());)if(!a[z]&&b!==n)c[d]=b;else c=c[d]?c[d]:(c[d]={})},hb=function(a,b){a=a[Xa](".");b=b||L;for(var c;c=a.shift();)if(b[c])b= b[c];else return j;return b},ib=function(){},jb=function(a){var b=typeof a;if(b=="object")if(a){if(a instanceof ha||!(a instanceof ca)&&ca[A][Ta][F](a)=="[object Array]"||typeof a[z]=="number"&&typeof a.splice!="undefined"&&typeof a[Ua]!="undefined"&&!a[Ua]("splice"))return"array";if(!(a instanceof ca)&&(ca[A][Ta][F](a)=="[object Function]"||typeof a[F]!="undefined"&&typeof a[Ua]!="undefined"&&!a[Ua]("call")))return"function"}else return"null";else if(b=="function"&&typeof a[F]=="undefined")return"object"; return b},M=function(a){return jb(a)=="array"},kb=function(a){var b=jb(a);return b=="array"||b=="object"&&typeof a[z]=="number"},N=function(a){return typeof a=="string"},lb=function(a){return jb(a)=="function"},mb=function(a){a=jb(a);return a=="object"||a=="array"||a=="function"},pb=function(a){if(a[Ya]&&a[Ya](nb))return a[nb];a[nb]||(a[nb]=++ob);return a[nb]},nb="closure_hashCode_"+p.floor(p.random()*2147483648)[Ta](36),ob=0,qb=function(a){var b=jb(a);if(b=="object"||b=="array"){if(a.clone)return a.clone[F](a); b=b=="array"?[]:{};for(var c in a)b[c]=qb(a[c]);return b}return a},rb=function(a,b){var c=b||L;if(arguments[z]>2){var d=ha[A].slice[F](arguments,2);return function(){var f=ha[A].slice[F](arguments);ha[A].unshift[db](f,d);return a[db](c,f)}}else return function(){return a[db](c,arguments)}},sb=Date.now||function(){return+new Date},O=function(a,b){function c(){}c.prototype=b[A];a.superClass_=b[A];a.prototype=new c};var tb=ha[A],ub=tb[w]?function(a,b,c){return tb[w][F](a,b,c)}:function(a,b,c){c=c==j?0:c<0?p.max(0,a[z]+c):c;if(N(a)){if(!N(b)||b[z]!=1)return-1;return a[w](b,c)}for(c=c;c=0)tb.splice[F](a,b,1)[z]==1;return c},xb=function(){return tb.concat[db](tb,arguments)},yb=function(a){if(M(a))return xb(a); else{for(var b=[],c=0,d=a[z];c")!=-1)a=a[u](Lb,">");if(a[w]('"')!=-1)a=a[u](Mb,""");return a}},Jb=/&/g,Kb=//g,Mb=/\"/g,Nb=/[&<>\"]/,Qb=function(a,b){var c=0;a=ea(a)[u](/^[\s\xa0]+|[\s\xa0]+$/g,"")[Xa](".");b=ea(b)[u](/^[\s\xa0]+|[\s\xa0]+$/g, "")[Xa](".");for(var d=p.max(a[z],b[z]),f=0;c==0&&fb)return 1;return 0};sb();var Rb,Sb,Tb,Ub,Vb,Wb,Xb=function(){return L.navigator?L.navigator.userAgent:j},Yb=function(){return L.navigator};Vb=Ub=Tb=Sb=Rb=l;var Zb;if(Zb=Xb()){var $b=Yb();Rb=Zb[w]("Opera")==0;Sb=!Rb&&Zb[w]("MSIE")!=-1;Ub=(Tb=!Rb&&Zb[w]("WebKit")!=-1)&&Zb[w]("Mobile")!=-1;Vb=!Rb&&!Tb&&$b.product=="Gecko"}var ac=Rb,R=Sb,bc=Vb,S=Tb,cc=Ub,dc=Yb();Wb=(dc&&dc.platform||"")[w]("Mac")!=-1;var ec=!!Yb()&&(Yb().appVersion||"")[w]("X11")!=-1,fc="",gc; if(ac&&L.opera){var hc=L.opera.version;fc=typeof hc=="function"?hc():hc}else{if(bc)gc=/rv\:([^\);]+)(\)|;)/;else if(R)gc=/MSIE\s+([^\);]+)(\)|;)/;else if(S)gc=/WebKit\/(\S+)/;if(gc){var ic=gc.exec(Xb());fc=ic?ic[1]:""}}var jc=fc,kc={},lc=function(a){return kc[a]||(kc[a]=Qb(jc,a)>=0)};var mc;var oc=function(a){return a?new nc(T(a)):mc||(mc=new nc)},qc=function(a,b){Bb(b,function(c,d){if(d=="style")a[B].cssText=c;else if(d=="class")qa(a,c);else if(d=="for")a.htmlFor=c;else if(d in pc)a.setAttribute(pc[d],c);else a[d]=c})},pc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",type:"type"},sc=function(a,b){var c=b[0],d=b[1];if(R&&d&&(d.name||d[y])){c=["<",c];d.name&& c[r](' name="',Ob(d.name),'"');if(d[y]){c[r](' type="',Ob(d[y]),'"');d=qb(d);delete d[y]}c[r](">");c=c.join("")}var f=a.createElement(c);if(d)if(N(d))qa(f,d);else qc(f,d);if(b[z]>2){d=function(h){if(h)f[va](N(h)?a.createTextNode(h):h)};for(c=2;c0)?vb(rc(e)?yb(e):e,d):d(e)}}return f},tc=function(a){return a&&a[eb]?a[eb].removeChild(a):j},uc=function(a,b){if(a[bb]&&b[za]==1)return a==b||a[bb](b);if(typeof a.compareDocumentPosition!="undefined")return a==b|| Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b[eb];return b==a},T=function(a){return a[za]==9?a:a.ownerDocument||a[Wa]},rc=function(a){if(a&&typeof a[z]=="number")if(mb(a))return typeof a.item=="function"||typeof a.item=="string";else if(lb(a))return typeof a.item=="function";return l},nc=function(a){this.document_=a||L[Wa]||fa};nc[A].getDomHelper=oc;var vc=function(a){return a.document_};nc[A].getElement=function(a){return N(a)?this.document_[Aa](a):a}; nc[A].createDom=function(){return sc(this.document_,arguments)};nc[A].createElement=function(a){return this.document_.createElement(a)};nc[A].createTextNode=function(a){return this.document_.createTextNode(a)};var wc=function(a){return a.document_[ab]=="CSS1Compat"},xc=function(a){a=!S&&a.document_[ab]=="CSS1Compat"?a.document_[Ra]:a.document_[C];return new P(a[$a],a[Sa])};nc[A].appendChild=function(a,b){a[va](b)};ta(nc[A],uc);var yc=function(){};yc[A].disposed_=l;yc[A].dispose=function(){if(!this.disposed_){this.disposed_=i;this.disposeInternal()}};yc[A].disposeInternal=function(){};var zc=function(a,b){this.type=a;ra(this,b);ja(this,this[D])};O(zc,yc);K=zc[A];K.disposeInternal=function(){delete this[y];delete this[D];delete this.currentTarget};K.propagationStopped_=l;K.returnValue_=i;K.stopPropagation=function(){this.propagationStopped_=i};K.preventDefault=function(){this.returnValue_=l};var Ac=function(a,b){a&&this.init(a,b)};O(Ac,zc);K=Ac[A];ra(K,j);K.relatedTarget=j;K.offsetX=0;K.offsetY=0;K.clientX=0;K.clientY=0;K.screenX=0;K.screenY=0;K.button=0;ma(K,0);K.charCode=0;K.ctrlKey=l;K.altKey=l;K.shiftKey=l;K.metaKey=l;K.platformModifierKey=l;K.event_=j; K.init=function(a,b){var c=this.type=a[y];ra(this,a[D]||a.srcElement);ja(this,b);if(b=a[xa]){if(bc)try{b=b.nodeName&&b}catch(d){b=j}}else if(c=="mouseover")b=a.fromElement;else if(c=="mouseout")b=a.toElement;this.relatedTarget=b;this.offsetX=a.offsetX!==n?a.offsetX:a.layerX;this.offsetY=a.offsetY!==n?a.offsetY:a.layerY;this.clientX=a[Pa]!==n?a[Pa]:a.pageX;this.clientY=a[Qa]!==n?a[Qa]:a.pageY;this.screenX=a[Ea]||0;this.screenY=a[Fa]||0;this.button=a.button;ma(this,a[Ia]||0);this.charCode=a.charCode|| (c=="keypress"?a[Ia]:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.platformModifierKey=Wb?a.metaKey:a.ctrlKey;this.event_=a;delete this.returnValue_;delete this.propagationStopped_};K.stopPropagation=function(){this.propagationStopped_=i;if(this.event_.stopPropagation)this.event_.stopPropagation();else this.event_.cancelBubble=i};var Bc=R&&!lc("8"); Ac[A].preventDefault=function(){this.returnValue_=l;var a=this.event_;if(a.preventDefault)a.preventDefault();else{a.returnValue=l;if(Bc)try{if(a.ctrlKey||a[Ia]>=112&&a[Ia]<=123)ma(a,-1)}catch(b){}}};Ac[A].disposeInternal=function(){Ac.superClass_.disposeInternal[F](this);this.event_=j;ra(this,j);ja(this,j);this.relatedTarget=j};var U=function(a,b){this.maxCount_=b;this.freeQueue_=[];if(a>this.maxCount_)g(m("[goog.structs.SimplePool] Initial cannot be greater than max"));for(b=0;b=0),h;Oc=function(E){h=E};if(e){Jc=function(){return Cc(k)};Kc=function(E){Ec(k,E)};Lc=function(){return Cc(q)};Mc=function(E){Ec(q,E)};Nc=function(){return Cc(o)};Qc=function(){Ec(o,c())};Rc=function(){return Cc(t)};Sc=function(E){Ec(t,E)};Tc=function(){return Cc(v)};Uc=function(E){Ec(v, E)};var k=new U(0,600);k.createObjectFn_=a;var q=new U(0,600);q.createObjectFn_=b;var o=new U(0,600);o.createObjectFn_=c;var t=new U(0,600);t.createObjectFn_=d;var v=new U(0,600);v.createObjectFn_=f}else{Jc=a;Kc=ib;Lc=b;Mc=ib;Nc=c;Qc=ib;Rc=d;Sc=ib;Tc=f;Uc=ib}})();var Vc={},V={},Wc={},Xc={},W=function(a,b,c,d,f){if(b)if(M(b)){for(var e=0;e=0;o--){var t=q[o];if((e||b==t[y])&&(h||c==t[Da])){$c(t.key);d++}}});else{a=pb(a);if(Wc[a]){a=Wc[a];for(f=a[z]-1;f>=0;f--){var k=a[f];if((e||b==k[y])&&(h||c==k[Da])){$c(k.key);d++}}}}return d},Yc=function(a){if(a in Xc)return Xc[a];return Xc[a]="on"+a},dd=function(a,b,c,d,f){var e=1;b=pb(b);if(a[b]){a.remaining_--; a=a[b];if(a.locked_)a.locked_++;else a.locked_=1;try{for(var h=a[z],k=0;k=0&&e.remaining_;v--){ja(k,o[v]);f&=dd(e,o[v],c,i,k)}if(h){e= d[l];e.remaining_=e.count_;for(v=0;!k.propagationStopped_&&v=this[x]&&a[J]<=this[J]&&a.top>=this.top&&a[H]<=this[H]:a.x>=this[x]&&a.x<=this[J]&&a.y>=this.top&&a.y<=this[H]}); X[A].expand=function(a,b,c,d){if(mb(a)){this.top-=a.top;this.right+=a[J];this.bottom+=a[H];this.left-=a[x]}else{this.top-=a;this.right+=b;this.bottom+=c;this.left-=d}return this};var ed=function(a,b){if(b.x>=a[x]&&b.x<=a[J]){if(b.y>=a.top&&b.y<=a[H])return 0;return b.y=a.top&&b.y<=a[H])return b.x=a[x]+a[s]&&this.top<=a.top&&this.top+this[I]>=a.top+a[I]:a.x>=this[x]&&a.x<=this[x]+this[s]&&a.y>=this.top&&a.y<=this.top+this[I]});var hd=function(a,b){var c=T(a);if(c[Oa]&&c[Oa].getComputedStyle)if(a=c[Oa].getComputedStyle(a,""))return a[b];return j},id=function(a,b){return hd(a,b)||(a.currentStyle?a.currentStyle[b]:j)||a[B][b]},jd=function(a){a=a?a[za]==9?a:T(a):fa;if(R&&!wc(oc(a)))return a[C];return a[Ra]},kd=function(a){var b=a[wa]();if(R){a=a.ownerDocument;b.left-=a[Ra][La]+a[C][La];b.top-=a[Ra][Ma]+a[C][Ma]}return b},ld=function(a){if(R)return a.offsetParent;var b=T(a),c=id(a,"position"),d=c=="fixed"||c=="absolute";for(a= a[eb];a&&a!=b;a=a[eb]){c=id(a,"position");d=d&&c=="static"&&a!=b[Ra]&&a!=b[C];if(!d&&(a.scrollWidth>a[Va]||a.scrollHeight>a[Za]||c=="fixed"||c=="absolute"))return a}return j},od=function(a){var b=new X(0,Infinity,Infinity,0),c=oc(a),d=c.document_[C],f=!S&&c.document_[ab]=="CSS1Compat"?c.document_[Ra]:c.document_[C],e;for(a=a;a=ld(a);)if((!R||a[Va]!=0)&&(!S||a[Za]!=0||a!=d)&&(a.scrollWidth!=a[Va]||a.scrollHeight!=a[Za])&&id(a,"overflow")!="visible"){var h=md(a),k;k=a;if(bc&&!lc("1.9")){var q=da(hd(k, "borderLeftWidth"));if(nd(k)){var o=k[Ba]-k[Va]-q-da(hd(k,"borderRightWidth"));q+=o}k=new P(q,da(hd(k,"borderTopWidth")))}else k=new P(k[La],k[Ma]);h.x+=k.x;h.y+=k.y;b.top=p.max(b.top,h.y);b.right=p.min(b[J],h.x+a[Va]);b.bottom=p.min(b[H],h.y+a[Za]);ka(b,p.max(b[x],h.x));e=e||a!=f}d=f[$a];f=f[Sa];if(S){b.left+=d;b.top+=f}else{ka(b,p.max(b[x],d));b.top=p.max(b.top,f)}if(!e||S){b.right+=d;b.bottom+=f}c=c.document_.parentWindow||c.document_[Oa]||ba;e=c[Wa];if(S&&!lc("500")&&!cc){if(typeof c.innerHeight== "undefined")c=ba;e=c.innerHeight;a=c[Wa][Ra].scrollHeight;if(c==c.top)if(a=0&&b[x]>=0&&b[H]>b.top&&b[J]>b[x]?b:j},md=function(a){var b,c=T(a),d=id(a,"position"),f=bc&&c[Ga]&&!a[wa]&&d=="absolute"&&(b=c[Ga](a))&&(b[Ea]<0||b[Fa]<0),e=new P(0,0),h=jd(c);if(a==h)return e;if(a[wa]){b=kd(a);a=xc(oc(c));e.x=b[x]+a.x;e.y=b.top+ a.y}else if(c[Ga]&&!f){b=c[Ga](a);a=c[Ga](h);e.x=b[Ea]-a[Ea];e.y=b[Fa]-a[Fa]}else{b=a;do{e.x+=b.offsetLeft;e.y+=b.offsetTop;if(b!=a){e.x+=b[La]||0;e.y+=b[Ma]||0}if(S&&id(b,"position")=="fixed"){e.x+=c[C][$a];e.y+=c[C][Sa];break}b=b.offsetParent}while(b&&b!=a);if(ac||S&&d=="absolute")e.y-=c[C].offsetTop;for(b=a;(b=ld(b))&&b!=c[C]&&b!=h;){e.x-=b[$a];if(!ac||b.tagName!="TR")e.y-=b[Sa]}}return e},pd=function(a){var b=new P;if(a[za]==1)if(a[wa]){var c=kd(a);b.x=c[x];b.y=c.top}else{c=xc(oc(a));a=md(a); b.x=a.x-c.x;b.y=a.y-c.y}else{b.x=a[Pa];b.y=a[Qa]}return b},qd=function(a,b,c){if(b instanceof Q){c=b[I];b=b[s]}else{if(c==n)g(m("missing height argument"));c=c}ia(a[B],typeof b=="number"?p[ya](b)+"px":b);ua(a[B],typeof c=="number"?p[ya](c)+"px":c)},rd=function(a){var b=ac&&!lc("10");if(id(a,"display")!="none")return b?new Q(a[Ba]||a[Va],a[fb]||a[Za]):new Q(a[Ba],a[fb]);var c=a[B],d=c.display,f=c.visibility,e=c.position;na(c,"hidden");c.position="absolute";c.display="inline";if(b){b=a[Ba]||a[Va];a= a[fb]||a[Za]}else{b=a[Ba];a=a[fb]}c.display=d;c.position=e;na(c,f);return new Q(b,a)},sd=function(a){var b=md(a);a=rd(a);return new fd(b.x,b.y,a[s],a[I])},td=function(a,b){a[B].display=b?"":"none"},nd=function(a){return"rtl"==id(a,"direction")};var vd=function(a,b,c,d,f,e,h,k){var q,o=c.offsetParent;if(o){var t=o.tagName=="HTML"||o.tagName=="BODY";if(!t||id(o,"position")!="static"){q=md(o);t||(q=Ab(q,new P(o[$a],o[Sa])))}}o=sd(a);(t=od(a))&&o.intersection(new fd(t[x],t.top,t[J]-t[x],t[H]-t.top));t=oc(a);var v=oc(c);if(t.document_!=v.document_){var E=t.document_[C];v=v.document_.parentWindow||v.document_[Oa];var Db=new P(0,0),cb=T(E)?T(E).parentWindow||T(E)[Oa]:ba,Pc=E;do{var Pd=cb==v?md(Pc):pd(Pc);Db.x+=Pd.x;Db.y+=Pd.y}while(cb&&cb!=v&& (Pc=cb.frameElement)&&(cb=cb.parent));v=Db;v=Ab(v,md(E));if(R&&!wc(t))v=Ab(v,xc(t));o.left+=v.x;o.top+=v.y}a=(b&4&&nd(a)?b^2:b)&-5;b=new P(a&2?o[x]+o[s]:o[x],a&1?o.top+o[I]:o.top);if(q)b=Ab(b,q);if(f){b.x+=(a&2?-1:1)*f.x;b.y+=(a&1?-1:1)*f.y}var la;if(h)if((la=od(c))&&q){la.top=p.max(0,la.top-q.y);la.right-=q.x;la.bottom-=q.y;ka(la,p.max(0,la[x]-q.x))}return ud(b,c,d,e,la,h,k)},ud=function(a,b,c,d,f,e,h){a=a.clone();var k=0,q=(c&4&&nd(b)?c^2:c)&-5;c=rd(b);h=h?h.clone():c;if(d||q!=0){if(q&2)a.x-=h[s]+ (d?d[J]:0);else if(d)a.x+=d[x];if(q&1)a.y-=h[I]+(d?d[H]:0);else if(d)a.y+=d.top}if(e){k=f?wd(a,h,f,e):256;if(k&496)return k}f=a;d=bc&&(Wb||ec)&&lc("1.9");if(f instanceof P){a=f.x;f=f.y}else{a=f;f=void 0}ka(b[B],typeof a=="number"?(d?p[ya](a):a)+"px":a);b[B].top=typeof f=="number"?(d?p[ya](f):f)+"px":f;(c==h?i:!c||!h?l:c[s]==h[s]&&c[I]==h[I])||qd(b,h);return k},wd=function(a,b,c,d){var f=0;if(a.xc[J]&&d&16){b.width-=a.x+b[s]-c[J];f|=4}if(a.x+b[s]>c[J]&& d&1){a.x=p.max(c[J]-b[s],c[x]);f|=1}if(d&2)f|=(a.xc[J]?32:0);if(a.y=c.top&&a.y+b[I]>c[H]&&d&32){b.height-=a.y+b[I]-c[H];f|=8}if(a.y+b[I]>c[H]&&d&4){a.y=p.max(c[H]-b[I],c.top);f|=2}if(d&8)f|=(a.yc[H]?128:0);return f};var xd=function(){};xd[A].reposition=function(){};var yd=function(a,b){this.element=a;this.corner=b};O(yd,xd);yd[A].reposition=function(a,b,c){vd(this.element,this.corner,a,b,n,c)};var zd=function(a,b){this.coordinate=a instanceof P?a:new P(a,b)};O(zd,xd);zd[A].reposition=function(a,b,c,d){vd(jd(a),0,a,b,this.coordinate,c,j,d)};var Ad="StopIteration"in L?L.StopIteration:m("StopIteration"),Bd=function(){};Bd[A].next=function(){g(Ad)};Bd[A].__iterator__=function(){return this};var Cd=function(a){if(typeof a.getValues=="function")return a.getValues();if(N(a))return a[Xa]("");if(kb(a)){for(var b=[],c=a[z],d=0;d1){if(b%2)g(m("Uneven number of arguments"));for(var c=0;c2*this.count_&&Fd(this);return i}return l};var Fd=function(a){if(a.count_!=a.keys_[z]){for(var b=0,c=0;b=c[z])g(Ad);var k=c[b++];return a?k:d[k]}};return h};var Gd=function(a,b){return ca[A][Ya][F](a,b)};var Hd=function(a){this.map_=new Ed;a&&this.addAll(a)},Id=function(a){var b=typeof a;return b=="object"&&a||b=="function"?"o"+pb(a):b.substr(0,1)+a};K=Hd[A];K.add=function(a){this.map_.set(Id(a),a)};K.addAll=function(a){a=Cd(a);for(var b=a[z],c=0;c=0&&e.remaining_;h--){ja(a,c[h]);b&=dd(e,c[h],a[y],i,a)&&a.returnValue_!=l}}if(l in f){e=f[l];e.remaining_=e.count_;if(d)for(h=0;!a.propagationStopped_&&h2147483647?-1:Kd.setTimeout(a,b||0)};var Md=function(a){this.handler_=a};O(Md,yc);var Nd=new U(0,100);Md[A].listen=function(a,b,c,d,f){if(M(b))for(var e=0;e=0||Yd[r](this);a=this.getElement();qa(a,this.className);ae(this);W(a,"mouseover",this.handleTooltipMouseOver,l,this);W(a,"mouseout",this.handleTooltipMouseOut,l,this);be(this);return i}; Z[A].onHide_=function(){wb(Yd,this);for(var a=this.getElement(),b,c=0;b=Yd[c];c++)b[G]&&uc(a,b[G])&&Sd(b,l);this.parentTooltip_&&ce(this.parentTooltip_);Zc(a,"mouseover",this.handleTooltipMouseOver,l,this);Zc(a,"mouseout",this.handleTooltipMouseOut,l,this);sa(this,n);if($d(this)==0)this.seenInteraction_=l;Y[A].onHide_[F](this)};Z[A].maybeShow=function(a,b){if(this[G]==a)if(this.seenInteraction_||!this.requireInteraction_){Sd(this,l);this.isVisible_||de(this,a,b)}else sa(this,n);this.showTimer=n}; var de=function(a,b,c){if(c)c=c;else{c=a.cursorPosition.clone();c=new ee(c)}sa(a,b);a.position_=c||n;a.isVisible_&&a.reposition();Sd(a,i)};Z[A].maybeHide=function(a){this.hideTimer=n;if(a==this[G])if((this.activeEl_==j||this.activeEl_!=this.getElement()&&!this.elements_[bb](this.activeEl_))&&!(this.childTooltip_&&this.childTooltip_.activeEl_))Sd(this,l)}; Z[A].handleMouseOver=function(a){this.activeEl_=a=fe(this,a[D]);ae(this);if(a!=this[G]){sa(this,a);if(!this.showTimer)this.showTimer=Ld(rb(this.maybeShow,this,a,void 0),this.showDelayMs_);ge(this)}};var fe=function(a,b){try{for(;b&&!a.elements_[bb](b);)b=b[eb];return b}catch(c){return j}};Z[A].handleMouseMove=function(a){var b=xc(this.dom_);this.cursorPosition.x=a[Pa]+b.x;this.cursorPosition.y=a[Qa]+b.y;this.seenInteraction_=i}; Z[A].handleFocus=function(a){this.activeEl_=a=fe(this,a[D]);this.seenInteraction_=i;if(this[G]!=a){sa(this,a);var b=new he(this.activeEl_);ae(this);if(!this.showTimer)this.showTimer=Ld(rb(this.maybeShow,this,a,b),this.showDelayMs_);ge(this)}};var ge=function(a){if(a[G])for(var b,c=0;b=Yd[c];c++)if(uc(b.getElement(),a[G])){b.childTooltip_=a;a.parentTooltip_=b}}; Z[A].handleMouseOutAndBlur=function(a){var b=fe(this,a[D]),c=fe(this,a[xa]);if(b!=c){if(b==this.activeEl_)this.activeEl_=j;be(this);this.seenInteraction_=l;if(this.isVisible_&&(!a[xa]||!uc(this.getElement(),a[xa])))ce(this);else sa(this,n)}};Z[A].handleTooltipMouseOver=function(){var a=this.getElement();if(this.activeEl_!=a){ae(this);this.activeEl_=a}};Z[A].handleTooltipMouseOut=function(a){var b=this.getElement();if(this.activeEl_==b&&(!a[xa]||!uc(b,a[xa]))){this.activeEl_=j;ce(this)}}; var be=function(a){if(a.showTimer){Kd.clearTimeout(a.showTimer);a.showTimer=n}},ce=function(a){if($d(a)==2)a.hideTimer=Ld(rb(a.maybeHide,a,a[G]),a.getHideDelayMs())},ae=function(a){if(a.hideTimer){Kd.clearTimeout(a.hideTimer);a.hideTimer=n}};Z[A].disposeInternal=function(){Sd(this,l);be(this);this.detach();this.getElement()&&tc(this.getElement());this.activeEl_=j;delete this.dom_;Z.superClass_.disposeInternal[F](this)};var ee=function(a,b){zd[F](this,a,b)};O(ee,zd); ee[A].reposition=function(a,b,c){b=jd(a);b=od(b);c=c?new X(c.top+10,c[J],c[H],c[x]+10):new X(10,0,0,10);ud(this.coordinate,a,4,c,b,9)&496&&ud(this.coordinate,a,4,c,b,5)};var he=function(a){yd[F](this,a,3)};O(he,yd);he[A].reposition=function(a,b,c){var d=new P(10,0);vd(this.element,this.corner,a,b,d,c,9)&496&&vd(this.element,2,a,1,d,c,5)};var $=function(a,b,c){Z[F](this,a,b,c)};O($,Z);$[A].cursorTracking_=l;$[A].cursorTrackingHideDelayMs_=100;$[A].tracking_=l;var ie=function(a,b){a.hotSpotPadding_=b||j};$[A].onShow_=function(){$.superClass_.onShow_[F](this);this.boundingBox_=gd(sd(this.getElement()));if(this[G])this.anchorBox_=gd(sd(this[G]));this.tracking_=this.cursorTracking_;W(vc(this.getDomHelper()),"mousemove",this.handleMouseMove,l,this)}; $[A].onHide_=function(){Zc(vc(this.getDomHelper()),"mousemove",this.handleMouseMove,l,this);this.anchorBox_=this.boundingBox_=this.paddingBox_=j;this.tracking_=l;$.superClass_.onHide_[F](this)};$[A].isCoordinateInTooltip=function(a){if(this.paddingBox_)return this.paddingBox_[bb](a);return $.superClass_.isCoordinateInTooltip[F](this,a)};var je=function(a,b){if(a.anchorBox_&&a.anchorBox_[bb](b)||a.isCoordinateInTooltip(b))return i;return!!a.childTooltip_&&a.childTooltip_.isCoordinateInTooltip(b)}; $[A].maybeHide=function(a){this.hideTimer=n;if(a==this[G])if(!je(this,this.cursorPosition)&&!this.activeEl_&&!(this.childTooltip_&&this.childTooltip_.activeEl_))bc&&this.cursorPosition.x==0&&this.cursorPosition.y==0||Sd(this,l)}; $[A].handleMouseMove=function(a){var b=i;if(this.boundingBox_){var c=xc(this.getDomHelper());c=new P(a[Pa]+c.x,a[Qa]+c.y);if(je(this,c))b=l;else if(this.tracking_){b=ed(this.boundingBox_,this.cursorPosition);b=ed(this.boundingBox_,c)>=b}}if(b){ce(this);this.activeEl_=j;if(this.childTooltip_)this.childTooltip_.activeEl_=j}else $d(this)==3&&ae(this);$.superClass_.handleMouseMove[F](this,a)}; $[A].handleTooltipMouseOver=function(){if(this.activeEl_!=this.getElement()){this.tracking_=l;this.activeEl_=this.getElement();if(!this.paddingBox_&&this.hotSpotPadding_)this.paddingBox_=this.boundingBox_.clone().expand(this.hotSpotPadding_)}};$[A].getHideDelayMs=function(){return this.tracking_?this.cursorTrackingHideDelayMs_:this.hideDelayMs_};var ke=/^(?:([^:\/?#]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;var le=function(a,b){var c;if(a instanceof le){this.setIgnoreCase(b==j?a.ignoreCase_:b);me(this,a.scheme_);ne(this,a.userInfo_);oe(this,a.domain_);pe(this,a.port_);qe(this,a.path_);re(this,a.queryData_.clone());se(this,a.fragment_)}else if(a&&(c=ea(a).match(ke))){this.setIgnoreCase(!!b);me(this,c[1]||"",i);ne(this,c[2]||"",i);oe(this,c[3]||"",i);pe(this,c[4]);qe(this,c[5]||"",i);re(this,c[6]||"",i);se(this,c[7]||"",i)}else{this.setIgnoreCase(!!b);this.queryData_=new te(j,this,this.ignoreCase_)}}; K=le[A];K.scheme_="";K.userInfo_="";K.domain_="";K.port_=j;K.path_="";K.fragment_="";K.isReadOnly_=l;K.ignoreCase_=l; oa(K,function(){if(this.cachedToString_)return this.cachedToString_;var a=[];this.scheme_&&a[r](ue(this.scheme_,ve),":");if(this.domain_){a[r]("//");this.userInfo_&&a[r](ue(this.userInfo_,ve),"@");var b;b=this.domain_;b=N(b)?aa(b):j;a[r](b);this.port_!=j&&a[r](":",ea(this.port_))}this.path_&&a[r](ue(this.path_,we));(b=ea(this.queryData_))&&a[r]("?",b);this.fragment_&&a[r]("#",ue(this.fragment_,xe));return this.cachedToString_=a.join("")}); K.clone=function(){var a=this.scheme_,b=this.userInfo_,c=this.domain_,d=this.port_,f=this.path_,e=this.queryData_.clone(),h=this.fragment_,k=new le(j,this.ignoreCase_);a&&me(k,a);b&&ne(k,b);c&&oe(k,c);d&&pe(k,d);f&&qe(k,f);e&&re(k,e);h&&se(k,h);return k}; var me=function(a,b,c){ye(a);delete a.cachedToString_;a.scheme_=c?b?ga(b):"":b;if(a.scheme_)a.scheme_=a.scheme_[u](/:$/,"");return a},ne=function(a,b,c){ye(a);delete a.cachedToString_;a.userInfo_=c?b?ga(b):"":b;return a},oe=function(a,b,c){ye(a);delete a.cachedToString_;a.domain_=c?b?ga(b):"":b;return a},pe=function(a,b){ye(a);delete a.cachedToString_;if(b){b=Number(b);if(isNaN(b)||b<0)g(m("Bad port number "+b));a.port_=b}else a.port_=j;return a},qe=function(a,b,c){ye(a);delete a.cachedToString_; a.path_=c?b?ga(b):"":b;return a},re=function(a,b,c){ye(a);delete a.cachedToString_;if(b instanceof te){a.queryData_=b;a.queryData_.uri_=a;a.queryData_.setIgnoreCase(a.ignoreCase_)}else{c||(b=ue(b,ze));a.queryData_=new te(b,a,a.ignoreCase_)}return a},Ae=function(a,b,c){ye(a);delete a.cachedToString_;a.queryData_.set(b,c);return a},se=function(a,b,c){ye(a);delete a.cachedToString_;a.fragment_=c?b?ga(b):"":b;return a},ye=function(a){if(a.isReadOnly_)g(m("Tried to modify a read-only Uri"))}; le[A].setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)}; var Be=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/,ue=function(a,b){var c=j;if(N(a)){c=a;Be.test(c)||(c=encodeURI(a));if(c.search(b)>=0)c=c[u](b,Ce)}return c},Ce=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15)[Ta](16)+(a&15)[Ta](16)},ve=/[#\/\?@]/g,we=/[\#\?]/g,ze=/[\#\?@]/g,xe=/#/g,te=function(a,b,c){this.encodedQuery_=a||j;this.uri_=b||j;this.ignoreCase_=!!c},Ee=function(a){if(!a.keyMap_){a.keyMap_=new Ed;if(a.encodedQuery_)for(var b=a.encodedQuery_[Xa]("&"),c=0;c= 0){f=b[c].substring(0,d);e=b[c].substring(d+1)}else f=b[c];f=ga(f[u](/\+/g," "));f=De(a,f);a.add(f,e?ga(e[u](/\+/g," ")):"")}}};K=te[A];K.keyMap_=j;K.count_=j;K.add=function(a,b){Ee(this);Fe(this);a=De(this,a);if(this.containsKey(a)){var c=this.keyMap_.get(a);M(c)?c[r](b):this.keyMap_.set(a,[c,b])}else this.keyMap_.set(a,b);this.count_++;return this}; K.remove=function(a){Ee(this);a=De(this,a);if(this.keyMap_.containsKey(a)){Fe(this);var b=this.keyMap_.get(a);if(M(b))this.count_-=b[z];else this.count_--;return this.keyMap_[Ha](a)}return l};K.clear=function(){Fe(this);this.keyMap_&&this.keyMap_.clear();this.count_=0};K.containsKey=function(a){Ee(this);a=De(this,a);return this.keyMap_.containsKey(a)}; K.getKeys=function(){Ee(this);for(var a=this.keyMap_.getValues(),b=this.keyMap_.getKeys(),c=[],d=0;d0&&a[r]("&");a[r](e,"=",Ib(f[h]));b++}else{b>0&&a[r]("&");a[r](e,"=",Ib(f));b++}}return this.encodedQuery_=a.join("")});var Fe=function(a){delete a.decodedQuery_;delete a.encodedQuery_;a.uri_&&delete a.uri_.cachedToString_}; te[A].clone=function(){var a=new te;if(this.decodedQuery_)a.decodedQuery_=this.decodedQuery_;if(this.encodedQuery_)a.encodedQuery_=this.encodedQuery_;if(this.keyMap_)a.keyMap_=this.keyMap_.clone();return a};var De=function(a,b){b=ea(b);if(a.ignoreCase_)b=b.toLowerCase();return b};te[A].setIgnoreCase=function(a){if(a&&!this.ignoreCase_){Ee(this);Fe(this);Dd(this.keyMap_,function(b,c){var d=c.toLowerCase();if(c!=d){this[Ha](c);this.add(d,b)}},this)}this.ignoreCase_=a};var Ge,He=function(a,b,c){var d="";if(Ge)d=Ge.serverBase;else if(ba.manifest)d=ba.manifest.serverBase;var f=d+"/widgets/Hovercard";if(c.client)f=d+"/ui/Hovercard";d=new le(f);Ae(d,"uid",b);for(var e in c)Ae(d,e,c[e]);b=108+(c.embedHeight?c.embedHeight-16:0);if(!a.f_preload){c=fa.createElement("iframe");ia(c,"320px");ua(c,b+"px");c.frameBorder="none";c.scrolling="no";c[B].border="none";a.getElement()[va](c);c.src=d[Ta]();a.getElement()[B].zIndex="50000"}a.f_preload=i}; gb("addHovercard",function(a,b,c){var d=new $(a);ie(d,new X(5,5,5,5));d.cursorTracking_=i;Vd(d,new X(10,0,0,10));d.hideDelayMs_=250;d.onDocumentBlur_=function(){};W(a,"mouseover",rb(He,j,d,b,c));return d},void 0);gb("_HovercardLauncherComponentInit",function(a){Ge=a},void 0);ba._HovercardLauncherManifestInit&&ba._HovercardLauncherManifestInit(); })()