function KC(a){this.Init(a)}m("AdfUserInactivityTimeoutHelper",KC);m("AdfUserInactivityTimeoutHelper",KC);r.v(KC);KC.prototype.dua=function(a){u.Uc(a);var b=a.g();this.Zia.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",{dua:KC.prototype.dua});
KC.prototype.Lva=function(a){u.Uc(a);a=a.g();E.Ig(this.Zia,a);a=this.PIa;var b=this.Zia,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.px=a};r.a("AdfUserInactivityTimeoutHelper.prototype.unregisterPollComponent",{Lva:KC.prototype.Lva});KC.prototype.RH=function(){return this.fla};r.a("AdfUserInactivityTimeoutHelper.prototype.hasTimedOut",{RH:KC.prototype.RH});
KC.prototype.TTa=function(){return-1!=this.px};r.a("AdfUserInactivityTimeoutHelper.prototype.isTimeoutEnabled",{TTa:KC.prototype.TTa});KC.prototype.dta=function(a){u.co(a);this.PIa=a;var b=this.px;this.px=this.Sk?this.Sk:a;this.px!=b&&LC(this)};r.a("AdfUserInactivityTimeoutHelper.prototype.initializeTimeout",{dta:KC.prototype.dta});KC.ga=function(){};m("AdfUserInactivityTimeoutHelper.InitClass",KC.ga);
KC.prototype.Init=function(){KC.h.Init.call(this);this.Zia=[];this.PIa=null;this.px=-1;this.Sk=null;this.fla=!1};r.a("AdfUserInactivityTimeoutHelper.prototype.Init",{Init:KC.prototype.Init});KC.prototype.Tdb=function(){this.fla=!0;var a=A.c;null!=a.oF&&a.ta(this,this.f$a,null,500);a=A.c;a.xj()&&(a.Ud().stop(),a=a.Ux)&&(a.iL(),a.Rha());a=A.c;null!=this.kj&&(a.ic(this.kj),this.kj=null)};
KC.prototype.f$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.QSa(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};
KC.prototype.Kha=function(a){if(-1!=this.px&&"mouseover"!=a.type&&"mouseout"!=a.type&&"blur"!=a.type&&"focus"!=a.type&&(a=A.c.Ux,!a||a.Isa()!=Qs.bA.tca)){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")}LC(this)}};r.a("AdfUserInactivityTimeoutHelper.prototype.__resetTimeoutHandler",{Kha:KC.prototype.Kha});
function LC(a){var b=A.c;if(b.xj()){var d=b.Ux;d&&d.iL()}null!=a.kj&&b.ic(a.kj);a.kj=null;a.px&&-1!=a.px&&(a.kj=b.ta(a,a.Tdb,null,a.px));a.fla=!1};