function Lc(a,b){this.Init(a,b)}m("AdfXmlLogWriter",Lc);r.v(Lc,Ic);Lc.prototype.Init=function(a,b){u.s(b,qa);Lc.h.Init.call(this);this.sn=b;this.wf=a};r.a("AdfXmlLogWriter.prototype.Init",{Init:Lc.prototype.Init});Lc.prototype.flush=function(){this.ug()};r.a("AdfXmlLogWriter.prototype.flush",{flush:Lc.prototype.flush});Jc.prototype.Lp=function(){};r.a("AdfClientFileLogWriter.prototype.closeRecord",{Lp:Jc.prototype.Lp});Lc.prototype.$_=function(){return Lc.i8a+Lc.mza+"\n"+Lc.v4a+Lc.RXa};
r.a("AdfXmlLogWriter.prototype.GenerateHeaderXml",{$_:Lc.prototype.$_});Lc.prototype.EJ=function(){return this.wf};r.a("AdfXmlLogWriter.prototype.GetWindow",{EJ:Lc.prototype.EJ});
Lc.prototype.a0=function(a,b,d,e,f){var g="";if(f.length){g="\x3crecord\x3e\n\t\x3cheader\x3e\n\t\t\x3cdate\x3e"+a.toUTCString()+"\x3c/date\x3e\n\t\t\x3cecId\x3e"+b+"\x3c/ecId\x3e\n\t\t\x3cpage\x3e"+d+"\x3c/page\x3e\n\t\t\x3cserverHost\x3e"+this.wf.location.host+"\x3c/serverHost\x3e\n\t\t\x3cpath\x3e"+e+"\x3c/path\x3e\n\t\x3c/header\x3e\n";for(a=0;a<f.length;a++)f[a]=this.Dq(f[a]);g+=f.join("\n");g+="\n\x3c/record\x3e\n"}return g};r.a("AdfXmlLogWriter.prototype.GenerateRecordXml",{a0:Lc.prototype.a0});
Lc.prototype.Zs=function(a){a=a.split(";");var b="",d=a.length;if(2>d)return b;a[0]&&(b+="\t\t\t\x3cdescription\x3e\x3c![CDATA["+a[0]+"]]\x3e\x3c/description\x3e\n");a[1]&&(b+="\t\t\t\x3ctimestamp\x3e"+a[1]+"\x3c/timestamp\x3e\n");a[2]&&(b+="\t\t\t\x3ctiming\x3e"+a[2]+"\x3c/timing\x3e\n");for(i=3;i<d;++i)b+="\t\t\t"+a[i]+"\n";return b};r.a("AdfXmlLogWriter.prototype.FormatMessage",{Zs:Lc.prototype.Zs});
Lc.prototype.Dq=function(a){this.Z_(a[Mc.lt]);var b="\t\x3centry\x3e\n\t\t\x3ctime\x3e"+this.Uv(a[Mc.dn])+"\x3c/time\x3e\n",d=this.yD(a[Mc.Qv]);d&&(b+="\t\t\x3cerror\x3e"+d+"\x3c/error\x3e\n");return b+="\t\t\x3cmessage\x3e\n"+this.Zs(a[Mc.rw])+"\t\t\x3c/message\x3e\n\t\x3c/entry\x3e"};r.a("AdfXmlLogWriter.prototype.FormatLogRecord",{Dq:Lc.prototype.Dq});Lc.prototype.Uv=function(a){a||(a=new Date);return a.getUTCHours()+":"+a.getUTCMinutes()+":"+a.getUTCSeconds()+"."+a.getUTCMilliseconds()};
r.a("AdfXmlLogWriter.prototype.FormatWhen",{Uv:Lc.prototype.Uv});Lc.prototype.Nq=function(a){this.sn.ah(new Mc(v.WARNING,a))};r.a("AdfXmlLogWriter.prototype.LogToBackupLogWriter",{Nq:Lc.prototype.Nq});Lc.i8a='\x3c?xml version \x3d"1.0" encoding\x3d"ISO-8859-1"?\x3e\n';Lc.v4a='\x3cAdfRcProfiler version\x3d"4.0"/\x3e\n';Lc.RXa="\x3cbrowser\x3e"+navigator.appName+" "+navigator.appVersion+"\x3c/browser\x3e\n";Lc.mza="\x3clog\x3e";m("AdfXmlLogWriter.START_TAG",Lc.mza);Lc.T_="\x3c/log\x3e";
m("AdfXmlLogWriter.END_TAG",Lc.T_);