function Pj(){this.Init()}m("AdfDhtmlTooltipManager",Pj);r.v(Pj);Pj.prototype.Init=function(){Pj.h.Init.call(this)};r.a("AdfDhtmlTooltipManager.prototype.Init",{Init:Pj.prototype.Init});Pj.qLa=function(a){var b=Pj.Wk;if(b.voa){var d=q.b.Xb(a);a=d.x;d=d.y;b=b.voa;(a<b.left||a>b.right||d<b.top||d>b.bottom)&&b.mrb()}};
Pj.prototype.kva=function(a){u.u(a);if(a!=this.o4){this.o4=a;var b=q.b,d=b.R();b.ba(d,"mousemove",Pj.qLa);var e=b.jc(a),d=e.y,e=e.x;null!=this.fna&&(d-=this.$jb,e-=this.fna);var f=Qj(this),g=a.cloneNode(!0);b.x$(g,!1,"_afrtt");f.Js(g);f.show(d,e);if(null==this.fna){var h=b.getComputedStyle(f.Ha()),g=this.fna=q.Ma(h.borderLeftWidth)+q.Ma(h.paddingLeft),h=this.$jb=q.Ma(h.borderTopWidth)+q.Ma(h.paddingTop);f.setPosition(d-h,e-g)}a=b.rd(a);a.mrb=this.ahb;this.voa=a}};
r.a("AdfDhtmlTooltipManager.prototype.showRollOverLabel",{kva:Pj.prototype.kva});Pj.prototype.V9=function(){var a=Qj(this);a&&(a.Tb(),a.Jd(),this.b7=null);this.voa=this.o4=null;var a=q.b,b=a.R();a.xa(b,"mousemove",Pj.qLa)};r.a("AdfDhtmlTooltipManager.prototype.hideRollOverLabel",{V9:Pj.prototype.V9});
function Qj(a){var b=a.b7,d=q.oa();if(b){var e=d.R(),f=b.Ha();C.Nc(e,f)||(b.Tb(),b.Jd(),a.b7=b=null)}b||(b=new Ke,e=a.D(a.klb),f=b.Ha(),f.onmousedown=e,f.onmouseup=e,f.onclick=e,f.ondblclick=e,f.oncontextmenu=e,d.be(f),a.b7=b);return b}Pj.prototype.ahb=function(){Pj.$().V9()};
Pj.prototype.klb=function(a){a||(a=window.event);if(this.o4){var b=q.b,d,e=a;d=q.oa();var f=d.ca(e),g=f.id,h=e=this.o4;if(e){for(var l=this.b7.Ha();f!=l&&(null==g||""==g);){f=f.parentNode;if(null==f)break;g=f.id}null!=g&&""!=g&&(g=g.replace(/::_afrtt/,""),h=d.getElementById(g))}h||(h=e);if(d=h){e=b.Fu(a);if(g="click"==a.type&&"A"==b.Na(d)&&d.href&&""!=d.href)h=d.href,"#"==h.charAt(h.length-1)&&-1!=h.indexOf(b.Y().location.pathname)&&(g=!1);g||b.Ea(a);b.dispatchEvent(d,e)}return!0}};
Pj.$=function(){null==this.Wk&&(this.Wk=new Pj);return this.Wk};m("AdfDhtmlTooltipManager.getInstance",Pj.$);