function nh(){this.Init()}v("AdfDhtmlTooltipManager",nh);z.l(nh);nh.prototype.Init=function(){nh.f.Init.call(this)};z.a("AdfDhtmlTooltipManager.prototype.Init",{Init:nh.prototype.Init});nh.$va=function(a){var b=nh.Nj;if(b.ida){var d=w.b.Qb(a);a=d.x;d=d.y;b=b.ida;(a<b.left||a>b.right||d<b.top||d>b.bottom)&&b.y4a()}};
nh.prototype.Qia=function(a){B.p(a);if(a!=this.JW){this.JW=a;var b=w.b,d=b.w();b.S(d,"mousemove",nh.$va);var e=b.Ub(a),d=e.y,e=e.x;this.$ba!=n&&(d-=this.IZa,e-=this.$ba);var f=oh(this),g=a.cloneNode(l);b.$0(g,p,"_afrtt");f.Zp(g);f.show(d,e);if(this.$ba==n){var h=b.getComputedStyle(f.La()),g=this.$ba=w.ua(h.borderLeftWidth)+w.ua(h.paddingLeft),h=this.IZa=w.ua(h.borderTopWidth)+w.ua(h.paddingTop);f.setPosition(d-h,e-g)}a=b.Uc(a);a.y4a=this.qXa;this.ida=a}};
z.a("AdfDhtmlTooltipManager.prototype.showRollOverLabel",{Qia:nh.prototype.Qia});nh.prototype.C0=function(){var a=oh(this);a&&(a.rb(),a.ud(),this.lZ=n);this.ida=this.JW=n;var a=w.b,b=a.w();a.sa(b,"mousemove",nh.$va)};z.a("AdfDhtmlTooltipManager.prototype.hideRollOverLabel",{C0:nh.prototype.C0});
function oh(a){var b=a.lZ,d=w.fa();if(b){var e=d.w(),f=b.La();H.oc(e,f)||(b.rb(),b.ud(),a.lZ=b=n)}b||(b=new he,e=a.o(a.K_a),f=b.La(),f.onmousedown=e,f.onmouseup=e,f.onclick=e,f.ondblclick=e,f.oncontextmenu=e,d.vd(f),a.lZ=b);return b}nh.prototype.qXa=function(){nh.O().C0()};
nh.prototype.K_a=function(a){a||(a=window.event);if(this.JW){var b=w.b,d,e=a;d=w.fa();var f=d.T(e),g=f.id,h=e=this.JW;if(e){for(var m=this.lZ.La();f!=m&&(g==n||""==g);){f=f.parentNode;if(f==n)break;g=f.id}g!=n&&""!=g&&(g=g.replace(/::_afrtt/,""),h=d.getElementById(g))}h||(h=e);if(d=h){e=b.Pr(a);if(g="click"==a.type&&"A"==b.Ga(d)&&d.href&&""!=d.href)h=d.href,"#"==h.charAt(h.length-1)&&-1!=h.indexOf(b.R().location.pathname)&&(g=p);g||b.va(a);b.dispatchEvent(d,e)}return l}};
nh.O=function(){this.Nj==n&&(this.Nj=new nh);return this.Nj};v("AdfDhtmlTooltipManager.getInstance",nh.O);