function IA(a){this.Init(a)}v("AdfUserInactivityTimeoutHelper",IA);v("AdfUserInactivityTimeoutHelper",IA);z.l(IA);IA.prototype.Pha=function(a){B.zc(a);var b=a.e();this.y9.push(b);a=a.getTimeout();if(this.Jj==n)this.Jj=a;else if(-1==a||-1!=this.Jj&&a>this.Jj)this.Jj=a};z.a("AdfUserInactivityTimeoutHelper.prototype.registerPollComponent",{Pha:IA.prototype.Pha});
IA.prototype.kja=function(a){B.zc(a);a=a.e();ya.Of(this.y9,a);a=this.iua;var b=this.y9,d=F.c;this.Jj=n;for(var e=0;e<b.length;e++){var f=d.j(b[e]);if(f){f=f.getTimeout();if(-1==f){this.Jj=f;break}this.Jj==n?this.Jj=f:f>this.Jj&&(this.Jj=f)}}this.Jj!=n&&(a=this.Jj);this.Ut=a};z.a("AdfUserInactivityTimeoutHelper.prototype.unregisterPollComponent",{kja:IA.prototype.kja});IA.prototype.TC=r("oaa");z.a("AdfUserInactivityTimeoutHelper.prototype.hasTimedOut",{TC:IA.prototype.TC});
IA.prototype.jDa=function(){return-1!=this.Ut};z.a("AdfUserInactivityTimeoutHelper.prototype.isTimeoutEnabled",{jDa:IA.prototype.jDa});IA.prototype.Zga=function(a){B.Ql(a);this.iua=a;var b=this.Ut;this.Ut=this.Jj?this.Jj:a;this.Ut!=b&&JA(this)};z.a("AdfUserInactivityTimeoutHelper.prototype.initializeTimeout",{Zga:IA.prototype.Zga});IA.da=ca();v("AdfUserInactivityTimeoutHelper.InitClass",IA.da);IA.prototype.Init=function(){IA.f.Init.call(this);this.y9=[];this.iua=n;this.Ut=-1;this.Jj=n;this.oaa=p};
z.a("AdfUserInactivityTimeoutHelper.prototype.Init",{Init:IA.prototype.Init});IA.prototype.cVa=function(){this.oaa=l;var a=F.c;a.KA!=n&&a.oa(this,this.QRa,n,500);a=F.c;if(a.zi()&&(a.bd().stop(),a=a.lu))a.Do(),a.x8();a=F.c;this.ri!=n&&(a.ac(this.ri),this.ri=n)};
IA.prototype.QRa=function(){for(var a=F.c.KA,b=[],d=w.b,e=0;e<a.length;e++){var f=d.getElementById(a[e]);if(f){H.n(f,"p_AFNoUpdate");var g,h=f;B.p(h);var m=w.b;g=F.c.w().createElement("div");g.className="p_AFNoUpdateBadge";var q=g.style,s=H.wCa(h);q.top=s.y+"px";q.left=s.x+"px";q.width=h.offsetWidth+"px";q.height=h.offsetHeight+"px";q.position="absolute";q.visibility="visible";h=m.getComputedStyle(h);q.zIndex="auto"==h.zIndex?1:h.zIndex+1;b.push(g);f.parentNode.insertBefore(g,f)}}this.t1a=b};
IA.prototype.u8=function(a){if(!(-1==this.Ut||"mouseover"==a.type||"mouseout"==a.type||"blur"==a.type||"focus"==a.type))if(a=F.c.lu,!(a&&a.Iga()==ar.jw.R3)){a=F.c.KA;var b=this.t1a;if(b&&b.length){for(var d=0;d<b.length;d++){var e=b.pop();e.parentNode.removeChild(e)}b=w.b;for(d=0;d<a.length;d++)(e=b.getElementById(a.pop()))&&H.F(e,"p_AFNoUpdate")}JA(this)}};z.a("AdfUserInactivityTimeoutHelper.prototype.__resetTimeoutHandler",{u8:IA.prototype.u8});
function JA(a){var b=F.c;if(b.zi()){var d=b.lu;d&&d.Do()}a.ri!=n&&b.ac(a.ri);a.ri=n;a.Ut&&-1!=a.Ut&&(a.ri=b.oa(a,a.cVa,n,a.Ut));a.oaa=p};