function uf(a){this.Init(a)}m("AdfDhtmlNoteWindowPopupSelector",uf);r.v(uf,tf);uf.ga=function(){this.QEa="AFNoteWindow";this.$4a="AFNoteWindowRight";this.vZa="AFNoteWindowCone";this.yZa="AFNoteWindowConeTR";this.xZa="AFNoteWindowConeBR";this.wZa="AFNoteWindowConeBL";this.sAa="AFNoteWindowConeBorder";this.uZa="AFNoteWindowConeBorderRight";this.vS="AFNoteWindowContent"};m("AdfDhtmlNoteWindowPopupSelector.InitClass",uf.ga);uf.prototype.Init=function(a){uf.h.Init.call(this);this.t$a=a;this.sI(this.ui())};
r.a("AdfDhtmlNoteWindowPopupSelector.prototype.Init",{Init:uf.prototype.Init});uf.prototype.qq=function(a){var b=this.Ha();b.setAttribute("role","tooltip");var d=null,d=null;a&&((d=a.alignElement)?d.setAttribute("aria-describedby",b.id):(d=a[AdfRichPopup.cg])&&(a=q.b.getElementById(d))&&a.setAttribute("aria-describedby",b.id))};r.a("AdfDhtmlNoteWindowPopupSelector.prototype.setAccessibleAttrs",{qq:uf.prototype.qq});
uf.prototype.fy=function(){var a=A.c.H(),b=I.j(A.c.fj,Zi.F1),b=q.b.getElementById(b),d=A.c.Y().zj&&q.b instanceof Ee?"AFTooltipLiveTextMobile":"AFTooltipLiveText",a=a.Z(d);q.b.bc(b,a)};r.a("AdfDhtmlNoteWindowPopupSelector.prototype.announceOpeningViaLiveRegion",{fy:uf.prototype.fy});uf.prototype.Wy=function(){var a=this.Op();a?a.removeAttribute("aria-describedby"):(a=this.ZO())&&(a=q.b.getElementById(a))&&a.removeAttribute("aria-describedby");a=I.j(A.c.fj,Zi.F1);a=q.b.getElementById(a);q.b.bc(a,"")};
r.a("AdfDhtmlNoteWindowPopupSelector.prototype.removeAccessibleAttrs",{Wy:uf.prototype.Wy});uf.prototype.show=function(a){var b=null;a&&(b=a[AdfRichPopup.cg]);b&&null==q.b.getElementById(b)&&(v.l.warning("Attempting to show noteWindow but lauch element is not present."),b=a[AdfRichPopup.cg]=null);b&&(a.alignElement||(a[AdfRichPopup.Jf]=b,a.alignElement=q.b.getElementById(b)),b=A.c.m(b))&&(b.addEventListener(D.Ad,this.HMa,this),b.addEventListener(D.Bc,this.GMa,this));uf.h.show.call(this,a)};
r.a("AdfDhtmlNoteWindowPopupSelector.prototype.show",{show:uf.prototype.show});uf.prototype.Tb=function(){var a=A.c,b=this.ZO();b&&(a=a.m(b))&&(a.removeEventListener(D.Ad,this.HMa,this),a.removeEventListener(D.Bc,this.GMa,this));uf.h.Tb.call(this)};r.a("AdfDhtmlNoteWindowPopupSelector.prototype.hide",{Tb:uf.prototype.Tb});
uf.sO=function(a){var b=null;0==a.indexOf("\x3chtml\x3e")&&a.lastIndexOf("\x3c/html\x3e")==a.length-7?b=C.p8(A.c.Hc,a.substring(6,a.length-7)):(b=A.c.Hc.createElement("div"),q.b.bc(b,a));return b};m("AdfDhtmlNoteWindowPopupSelector.createTextDom",uf.sO);
uf.prototype.Kg=function(){var a=q.b,b=A.c,d=b.R(),e=d.createElement("div"),f=this.N_(1,3);f.zo="presentation";e.appendChild(f);var f=f.rows[0].cells,g=f[0],h=f[2];g.onclick=h.onclick=this.D(this.hkb);a.ba(g,"focusin",q.Td);a.ba(g,"focus",q.Td);a.ba(h,"focusin",q.Td);a.ba(h,"focus",q.Td);"autodismissMouseOut"==this.t$a&&(g.onmouseover=h.onmouseover=this.D(this.rkb),g.onmouseout=h.onmouseout=this.D(this.qkb));a=f[1];this.WJ()&&(a=d.createElement("div"),f[1].appendChild(a),b=b.H().Z("af_popup.TIP_DISMISS"),
a.innerHTML='\x3ca href\x3d"javascript:;" style\x3d"position:absolute;top:-990px;" onclick\x3d"AdfPage.PAGE.getAutoDismissalManager().dismiss()"\x3e'+b+"\x3c/a\x3e",b=d.createElement("div"),f[1].appendChild(b),a=b);f[2].className="";f[2].innerHTML="\x26#160;";f[1].className=uf.QEa;f[0].className=uf.sAa;this.pU=d.createElement("div");this.bn(a);return e};r.a("AdfDhtmlNoteWindowPopupSelector.prototype.CreateDomElement",{Kg:uf.prototype.Kg});uf.prototype.si=function(){return".AFNoteWindow-tr-open-animation-duration"};
r.a("AdfDhtmlNoteWindowPopupSelector.prototype.GetAnimationDurationSkinProperty",{si:uf.prototype.si});uf.prototype.sk=function(){return".AFNoteWindow-tr-animate"};r.a("AdfDhtmlNoteWindowPopupSelector.prototype.GetAnimateSkinProperty",{sk:uf.prototype.sk});
uf.prototype.setPosition=function(a,b){var d=this.iR();if(0<=d&&(d=A.c.Bm().IY(d))){var e=d.FI.jy,f=d.TH.jy,d=this.ui().parentNode.parentNode.parentNode,d="TABLE"==d.tagName?d.rows[0].cells:d.parentNode.rows[0].cells,g=d[1],f=f==dj.qt,e=e==dj.Ss,h=0,l=2;A.c.Ka().La()?(h=d[2],l=d[0]):(h=d[0],l=d[2]);f?(h.className="",h.innerHTML="\x26#160;",g.className=uf.$4a,l.className=uf.uZa,l.style.verticalAlign=e?"bottom":"top",this.pU.className=e?uf.xZa:uf.yZa,l.innerHTML="",l.appendChild(this.pU)):(l.className=
"",l.innerHTML="\x26#160;",g.className=uf.QEa,h.className=uf.sAa,h.style.verticalAlign=e?"bottom":"top",this.pU.className=e?uf.wZa:uf.vZa,h.innerHTML="",h.appendChild(this.pU))}uf.h.setPosition.call(this,a,b)};r.a("AdfDhtmlNoteWindowPopupSelector.prototype.setPosition",{setPosition:uf.prototype.setPosition});k=uf.prototype;
k.hkb=function(a){var b=q.b;a=a||b.Y().event;var d=b.Xb(a);A.c.el().uh(this.Ha().parentNode);var e=A.c.Hc;if(d=e.elementFromPoint?e.elementFromPoint(d.x,d.y):b.Mp(d.x,d.y))e=b.Eu(a),b.dispatchEvent(d,e),null!=d.focus&&J.va(d),b.Ea(a)};k.rkb=function(){this.FNa||(this.FNa=this.D(this.pkb));var a=A.c.Y();this.dN&&a.clearTimeout(this.dN);this.dN=a.setTimeout(this.FNa,500)};k.pkb=function(){delete this.dN;A.c.el().uh(this.Ha().parentNode)};
k.qkb=function(){var a=A.c.Y();this.dN&&(a.clearTimeout(this.dN),delete this.dN)};k.Gi=function(){var a=this.d0();this.ZR(!0);this.Sv();this.ZR(a)};r.a("AdfDhtmlNoteWindowPopupSelector.prototype.activate",{Gi:uf.prototype.Gi});uf.prototype.QD=function(a){var b=this.ZO();if(b){var d=q.b;if(b=A.c.m(b))b.focus(),d.Ea(a)}};r.a("AdfDhtmlNoteWindowPopupSelector.prototype.HandleKeyNavigation",{QD:uf.prototype.QD});
uf.prototype.GMa=function(a){a.Aa()||a.na()!=w.W_||(q.b.preventDefault(a.U()),this.Gi&&(this.Gi(),a.cancel(),a.wc()))};uf.prototype.HMa=function(a){if(!a.Aa()){var b=a.U(),d=a.na();b.ctrlKey&&b.altKey&&d==w.xK&&this.Gi&&(this.Gi(),a.cancel(),a.wc())}};uf.prototype.Hp=function(){uf.h.Hp.call(this);var a=this.cca();if(a&&this.getWidth()>=a){var b=this.gl();if(b=C.Ou(b,!1,uf.mjb)){b=b.style;b.overflow="hidden";var d=this.pU;q.b.S()==q.ia&&d&&(b.width=a-d.offsetWidth+"px")}}};
r.a("AdfDhtmlNoteWindowPopupSelector.prototype.autoSize",{Hp:uf.prototype.Hp});uf.mjb=function(a){return"DIV"==a.tagName&&C.sa(a,uf.vS)?!0:!1};uf.Qdb=function(a){return"DIV"==a.tagName&&(a=q.b.getComputedStyle(a))&&"hidden"!=a.visibility&&"none"!=a.display?!0:!1};uf.prototype.xk=function(){var a=this.gl();return C.Ou(a,!1,uf.Qdb)};r.a("AdfDhtmlNoteWindowPopupSelector.prototype.GetFocusContent",{xk:uf.prototype.xk});