function IC(a){this.Init(a)}m("AdfUserInactivityTimeoutHelper",IC);m("AdfUserInactivityTimeoutHelper",IC);r.v(IC);IC.prototype.$ta=function(a){u.Tc(a);var b=a.g();this.Wia.push(b);a=a.getTimeout();if(null==this.Sk)this.Sk=a;else if(-1==a||-1!=this.Sk&&a>this.Sk)this.Sk=a};r.a("AdfUserInactivityTimeoutHelper.prototype.registerPollComponent",{$ta:IC.prototype.$ta});
IC.prototype.Hva=function(a){u.Tc(a);a=a.g();E.Ig(this.Wia,a);a=this.KIa;var b=this.Wia,d=A.c;this.Sk=null;for(var e=0;e<b.length;e++){var f=d.m(b[e]);if(f){f=f.getTimeout();if(-1==f){this.Sk=f;break}null==this.Sk?this.Sk=f:f>this.Sk&&(this.Sk=f)}}null!=this.Sk&&(a=this.Sk);this.ox=a};r.a("AdfUserInactivityTimeoutHelper.prototype.unregisterPollComponent",{Hva:IC.prototype.Hva});IC.prototype.RH=function(){return this.cla};r.a("AdfUserInactivityTimeoutHelper.prototype.hasTimedOut",{RH:IC.prototype.RH});
IC.prototype.PTa=function(){return-1!=this.ox};r.a("AdfUserInactivityTimeoutHelper.prototype.isTimeoutEnabled",{PTa:IC.prototype.PTa});IC.prototype.ata=function(a){u.co(a);this.KIa=a;var b=this.ox;this.ox=this.Sk?this.Sk:a;this.ox!=b&&JC(this)};r.a("AdfUserInactivityTimeoutHelper.prototype.initializeTimeout",{ata:IC.prototype.ata});IC.ga=function(){};m("AdfUserInactivityTimeoutHelper.InitClass",IC.ga);
IC.prototype.Init=function(){IC.h.Init.call(this);this.Wia=[];this.KIa=null;this.ox=-1;this.Sk=null;this.cla=!1};r.a("AdfUserInactivityTimeoutHelper.prototype.Init",{Init:IC.prototype.Init});IC.prototype.Sdb=function(){this.cla=!0;var a=A.c;null!=a.oF&&a.ta(this,this.c$a,null,500);a=A.c;a.wj()&&(a.Ud().stop(),a=a.Tx)&&(a.iL(),a.Pha());a=A.c;null!=this.jj&&(a.ic(this.jj),this.jj=null)};
IC.prototype.c$a=function(){for(var a=A.c.oF,b=[],d=q.b,e=0;e<a.length;e++){var f=d.getElementById(a[e]);if(f){C.w(f,"p_AFNoUpdate");var g,h=f;u.u(h);var l=q.b;g=A.c.R().createElement("div");g.className="p_AFNoUpdateBadge";var n=g.style,t=C.LSa(h);n.top=t.y+"px";n.left=t.x+"px";n.width=h.offsetWidth+"px";n.height=h.offsetHeight+"px";n.position="absolute";n.visibility="visible";h=l.getComputedStyle(h);n.zIndex="auto"==h.zIndex?1:h.zIndex+1;b.push(g);f.parentNode.insertBefore(g,f)}}this.Anb=b};
IC.prototype.Iha=function(a){if(-1!=this.ox&&"mouseover"!=a.type&&"mouseout"!=a.type&&"blur"!=a.type&&"focus"!=a.type&&(a=A.c.Tx,!a||a.Fsa()!=Os.bA.rca)){a=A.c.oF;var b=this.Anb;if(b&&b.length){for(var d=0;d<b.length;d++){var e=b.pop();e.parentNode.removeChild(e)}b=q.b;for(d=0;d<a.length;d++)(e=b.getElementById(a.pop()))&&C.O(e,"p_AFNoUpdate")}JC(this)}};r.a("AdfUserInactivityTimeoutHelper.prototype.__resetTimeoutHandler",{Iha:IC.prototype.Iha});
function JC(a){var b=A.c;if(b.wj()){var d=b.Tx;d&&d.iL()}null!=a.jj&&b.ic(a.jj);a.jj=null;a.ox&&-1!=a.ox&&(a.jj=b.ta(a,a.Sdb,null,a.ox));a.cla=!1};