function Ic(a,b){this.Init(a,b)}m("AdfXmlLogWriter",Ic);r.v(Ic,Gc);Ic.prototype.Init=function(a,b){u.s(b,qa);Ic.h.Init.call(this);this.sn=b;this.wf=a};r.a("AdfXmlLogWriter.prototype.Init",{Init:Ic.prototype.Init});Ic.prototype.flush=function(){this.ug()};r.a("AdfXmlLogWriter.prototype.flush",{flush:Ic.prototype.flush});Hc.prototype.Kp=function(){};r.a("AdfClientFileLogWriter.prototype.closeRecord",{Kp:Hc.prototype.Kp});Ic.prototype.$_=function(){return Ic.f8a+Ic.iza+"\n"+Ic.s4a+Ic.NXa};
r.a("AdfXmlLogWriter.prototype.GenerateHeaderXml",{$_:Ic.prototype.$_});Ic.prototype.EJ=function(){return this.wf};r.a("AdfXmlLogWriter.prototype.GetWindow",{EJ:Ic.prototype.EJ});
Ic.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.Cq(f[a]);g+=f.join("\n");g+="\n\x3c/record\x3e\n"}return g};r.a("AdfXmlLogWriter.prototype.GenerateRecordXml",{a0:Ic.prototype.a0});
Ic.prototype.Ys=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",{Ys:Ic.prototype.Ys});
Ic.prototype.Cq=function(a){this.Z_(a[Jc.kt]);var b="\t\x3centry\x3e\n\t\t\x3ctime\x3e"+this.Tv(a[Jc.dn])+"\x3c/time\x3e\n",d=this.yD(a[Jc.Pv]);d&&(b+="\t\t\x3cerror\x3e"+d+"\x3c/error\x3e\n");return b+="\t\t\x3cmessage\x3e\n"+this.Ys(a[Jc.qw])+"\t\t\x3c/message\x3e\n\t\x3c/entry\x3e"};r.a("AdfXmlLogWriter.prototype.FormatLogRecord",{Cq:Ic.prototype.Cq});Ic.prototype.Tv=function(a){a||(a=new Date);return a.getUTCHours()+":"+a.getUTCMinutes()+":"+a.getUTCSeconds()+"."+a.getUTCMilliseconds()};
r.a("AdfXmlLogWriter.prototype.FormatWhen",{Tv:Ic.prototype.Tv});Ic.prototype.Mq=function(a){this.sn.$g(new Jc(v.WARNING,a))};r.a("AdfXmlLogWriter.prototype.LogToBackupLogWriter",{Mq:Ic.prototype.Mq});Ic.f8a='\x3c?xml version \x3d"1.0" encoding\x3d"ISO-8859-1"?\x3e\n';Ic.s4a='\x3cAdfRcProfiler version\x3d"4.0"/\x3e\n';Ic.NXa="\x3cbrowser\x3e"+navigator.appName+" "+navigator.appVersion+"\x3c/browser\x3e\n";Ic.iza="\x3clog\x3e";m("AdfXmlLogWriter.START_TAG",Ic.iza);Ic.T_="\x3c/log\x3e";
m("AdfXmlLogWriter.END_TAG",Ic.T_);