function Jc(a,b){this.Init(a,b)}m("AdfClientFileLogWriter",Jc);r.v(Jc,Lc);Jc.prototype.Init=function(a,b){u.s(b,qa);Jc.h.Init.call(this,a,b);this.j7=null;var d=q.b;this.Hc=d.R();d.ba(this.EJ(),"load",Jc.xbb)};r.a("AdfClientFileLogWriter.prototype.Init",{Init:Jc.prototype.Init});
Jc.xbb=function(){var a=A.c.nra(),b=q.b.R(),d=b.createElement("applet");d.setAttribute("name","AdfClientFileWriter");d.setAttribute("archive",a+"/afr/archives/AdfSignedClientFileWriterApplet.jar");d.setAttribute("code","oracle.adfinternal.view.resource.rich.AdfClientFileWriterApplet.class");d.setAttribute("height","1");d.setAttribute("width","1");b.getElementsByTagName("body")[0].appendChild(d)};
Jc.prototype.kra=function(){var a,b=this.Hc.applets.length;if(0<b){var d=this.Hc.getElementsByTagName("applet");for(i=0;i<b;i++)if("AdfClientFileWriter"==d[i].name){a=d[i];break}}return a};r.a("AdfClientFileLogWriter.prototype.getApplet",{kra:Jc.prototype.kra});Jc.prototype.close=function(){this.Lp();this.a4=!0};r.a("AdfClientFileLogWriter.prototype.close",{close:Jc.prototype.close});
Jc.prototype.Lp=function(){var a=this.kra();if(a){this.ug();var b=this.HH();if(b.length){var b=this.a0(new Date,M.y1,this.Hc.title,this.EJ().location.pathname,b),b=b+(Lc.T_+"\n"),d=q.b.S(),e=null,e=null!=M.yXa?M.yXa:(new Date).getTime(),d=d+"_"+e+".xml",f;try{"false"==a.Kvb(d)&&(b=this.$_()+b),f=a.log(d,b,Lc.T_)}catch(g){f="Error: "+g}"ok"!=f&&this.Nq(f)}}else this.Nq("The AdfClientFileWriter applet is undefined or unavailable.");this.kD()};r.a("AdfClientFileLogWriter.prototype.closeRecord",{Lp:Jc.prototype.Lp});
Jc.prototype.$ua=function(a){this.j7=null!=a?a:(new Date).getTime()};r.a("AdfClientFileLogWriter.prototype.setSessionId",{$ua:Jc.prototype.$ua});