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