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