function Jf(){this.Init()}m("AdfUserActivityInfo",Jf);m("AdfUserActivityInfo",Jf);Jf.$m="pr0";m("AdfUserActivityInfo.PREVIOUS",Jf.$m);Jf.Oo="prm";m("AdfUserActivityInfo.PRIMARY",Jf.Oo);Jf.Vz="sec";m("AdfUserActivityInfo.SECONDARY",Jf.Vz);Jf.q4a="pr";r.v(Jf);Jf.$=function(a){u.J(a);var b=Jf.XV;b||(b={},Jf.XV=b);var d=null;a&&(d=b[a],d||(d=new Jf,b[a]=d));return d};Jf.getInstance=Jf.$;m("AdfUserActivityInfo.getInstance",Jf.$);
Jf.R$=function(){var a=Jf.Oo,b=Jf.$m,d=Jf.b5(a);d?(Jf.O4(String(d),b),d=Jf.$(b),d.CH()||d.rv(nD()),Jf.R6(a)):(a=Jf.$(b),a.CH()||a.rv(nD()));if(a=Jf.b5(b))Jf.O4(String(a),Jf.xka(1)),Jf.R6(b);b=Jf.Vz;if(a=Jf.b5(b))Jf.O4(String(a),b),Jf.R6(b)};Jf.restoreFromSessionStorage=Jf.R$;m("AdfUserActivityInfo.restoreFromSessionStorage",Jf.R$);Jf.Xy=function(a){u.Ya(a);Jf.R6(a)};Jf.removeFromSessionStorageByType=Jf.Xy;m("AdfUserActivityInfo.removeFromSessionStorageByType",Jf.Xy);
Jf.T$=function(){if(null!=Jf.XV){Jf.R$();var a=Jf.$(Jf.$m),b=nD();a.fz(b);Jf.dz(Jf.$m);Jf.$(Jf.Oo).rv(b);Jf.dz(Jf.Oo);Jf.q8()}};Jf.saveToSessionStorage=Jf.T$;m("AdfUserActivityInfo.saveToSessionStorage",Jf.T$);Jf.dz=function(a){var b=Jf.$(a);b&&(userActInfoValue=Jf.deb(b),Jf.umb(a))};Jf.saveToSessionStorageByType=Jf.dz;m("AdfUserActivityInfo.saveToSessionStorageByType",Jf.dz);Jf.prototype.Init=function(){Jf.h.Init.call(this);this.rrt=this.ppr=this.eif=this.cet=this.cst=this.cid=null};
r.a("AdfUserActivityInfo.prototype.Init",{Init:Jf.prototype.Init});Jf.s9=function(){var a=q.b,b=a.Hu(),d=b.createElement("TEMP");a.S()==q.ia?b.documentElement=d:b.appendChild(d);b=gb.getDefault().Ry(d,Jf.XV,null);Jf.Xy(Jf.Oo);Jf.Xy(Jf.$m);Jf.Xy(Jf.Vz);for(var d=1,e=Jf.xka(d);Jf.b5(e);)Jf.Xy(e),e=Jf.xka(d++);Jf.dz(Jf.Oo);Jf.q8();return a.Uu(b)};Jf.getMarshaledObject=Jf.s9;m("AdfUserActivityInfo.getMarshaledObject",Jf.s9);Jf.Zrb=function(a){var b=null;a||(a=Jf.Oo);b=Jf.$(a);b.Dwb=nD()};
m("AdfUserActivityInfo.setRequestSentTime",Jf.Zrb);Jf.Xua=function(a){var b=null;a||(a=Jf.$m);b=Jf.$(a);b.S$=b.S$||nD()};m("AdfUserActivityInfo.setResponseReceivedTime",Jf.Xua);Jf.prototype.LO=function(){return this.cid};Jf.prototype.getContextId=Jf.prototype.LO;r.a("AdfUserActivityInfo.prototype.getContextId",{LO:Jf.prototype.LO});Jf.prototype.WY=function(){return this.pid};Jf.prototype.getParentContextId=Jf.prototype.WY;r.a("AdfUserActivityInfo.prototype.getParentContextId",{WY:Jf.prototype.WY});
Jf.prototype.CH=function(){return this.cst};Jf.prototype.getClientStartTime=Jf.prototype.CH;r.a("AdfUserActivityInfo.prototype.getClientStartTime",{CH:Jf.prototype.CH});Jf.prototype.W8=function(){return this.cet};Jf.prototype.getClientEndTime=Jf.prototype.W8;r.a("AdfUserActivityInfo.prototype.getClientEndTime",{W8:Jf.prototype.W8});Jf.prototype.D9=function(){return this.S$};r.a("AdfUserActivityInfo.prototype.getResponseTime",{D9:Jf.prototype.D9});Jf.prototype.Kra=function(){return this.eif};
Jf.prototype.getEventInfo=Jf.prototype.Kra;r.a("AdfUserActivityInfo.prototype.getEventInfo",{Kra:Jf.prototype.Kra});Jf.prototype.rsa=function(){return this.ppr};Jf.prototype.getPprTargets=Jf.prototype.rsa;r.a("AdfUserActivityInfo.prototype.getPprTargets",{rsa:Jf.prototype.rsa});Jf.prototype.TZ=function(a){this.cid=a};Jf.prototype.setContextId=Jf.prototype.TZ;r.a("AdfUserActivityInfo.prototype.setContextId",{TZ:Jf.prototype.TZ});Jf.prototype.oaa=function(a){this.pid=a};
Jf.prototype.setParentContextId=Jf.prototype.oaa;r.a("AdfUserActivityInfo.prototype.setParentContextId",{oaa:Jf.prototype.oaa});Jf.prototype.rv=function(a){this.cst=a};Jf.prototype.setClientStartTime=Jf.prototype.rv;r.a("AdfUserActivityInfo.prototype.setClientStartTime",{rv:Jf.prototype.rv});Jf.prototype.fz=function(a){this.cet=a};Jf.prototype.setClientEndTime=Jf.prototype.fz;r.a("AdfUserActivityInfo.prototype.setClientEndTime",{fz:Jf.prototype.fz});
Jf.prototype.kaa=function(a,b,d,e){this.eif||(this.eif={});a&&(this.eif.ety=a);b&&(this.eif.cld=b);d&&(this.eif.cty=d);e&&(this.eif.cdn=e);d=A.c.m(b);if(null!=d){for(b=a=null;null!=d;){if("oracle.adf.RichRegion"==d.getComponentType()){a=d.K("viewId");b=d.K("viewName");break}d=d.getParent()}a&&(this.eif.rvd=a,b&&(this.eif.rvn=b))}};Jf.prototype.setEventInfo=Jf.prototype.kaa;r.a("AdfUserActivityInfo.prototype.setEventInfo",{kaa:Jf.prototype.kaa});Jf.prototype.paa=function(a){a&&(this.ppr=a)};
Jf.prototype.setPprTargets=Jf.prototype.paa;r.a("AdfUserActivityInfo.prototype.setPprTargets",{paa:Jf.prototype.paa});Jf.prototype.Yua=function(a){this.S$=a};r.a("AdfUserActivityInfo.prototype.setResponseTime",{Yua:Jf.prototype.Yua});Jf.prototype.Kp=function(){this.ppr=this.pid=this.eif=this.cet=this.cst=this.cid=null};Jf.prototype.cleanup=Jf.prototype.Kp;r.a("AdfUserActivityInfo.prototype.cleanup",{Kp:Jf.prototype.Kp});
Jf.q8=function(){var a=Jf.XV;if(a){for(var b in a){var d=a[b];d.Kp&&d.Kp()}Jf.XV=null}};Jf.cleanInstanceMap=Jf.q8;m("AdfUserActivityInfo.cleanInstanceMap",Jf.q8);Jf.O4=function(a,b){var d=Jf.$(b);a=a.replace(/'/g,'"');var e=JSON.parse(a);if(null!=e){if(null==d.CH()){var f=e.cst;null!=f&&d.rv(f)}null==d.LO()&&(f=e.cid,null!=f&&d.TZ(f));null==d.WY()&&(f=e.pid,null!=f&&"undefined"!=f&&d.oaa(f));d.fz(e.cet);null==d.D9()&&(e=e.S$)&&"null"!==e&&d.Yua(e)}};Jf._getAsObject=Jf.O4;
Jf.deb=function(a){return"{'cid':'"+a.LO()+"','pid':'"+a.WY()+"','cst':'"+a.CH()+"','cet':'"+a.W8()+"','rrt':'"+a.D9()+"'}"};function nD(){return(new Date).getTime().toString()}Jf.xka=function(a){return a&&(u.Da(a),0<a)?Jf.q4a+a.toString():Jf.$m};Jf.b5=function(a){var b=q.b,d=null;try{d=b.Wu(a)}catch(e){v.l.fine("User activity information may be inaccurate as a failure occurred when attempting to retrieve property from sessionStorage - "+a)}return d};
Jf.R6=function(a){var b=q.b;try{b.Zy(a)}catch(d){v.l.fine("User activity information may be inaccurate as a failure occurred when attempting to remove property from sessionStorage - "+a)}};Jf.umb=function(a){var b=userActInfoValue,d=q.b;try{d.Os(a,b)}catch(e){v.l.fine("User activity information may be inaccurate as a failure occurred when attempting to save property-value to sessionStorage "+a+", "+b)}};