function If(){this.Init()}m("AdfXMLRequest",If);r.v(If);If.xza=0;m("AdfXMLRequest.UNINITIALIZED",If.xza);If.LOADING=1;m("AdfXMLRequest.LOADING",If.LOADING);If.LOADED=2;m("AdfXMLRequest.LOADED",If.LOADED);If.QWa=3;m("AdfXMLRequest.INTERACTIVE",If.QWa);If.LQ=4;m("AdfXMLRequest.COMPLETED",If.LQ);If.Xda=ad.sm("send","postback");If.Xda.setDescription("A measurement of how long is spend processing an XMLHttpRequest");If.Zmb=function(){void 0==If.W3&&(If.W3=If.Xda.start())};
If.gnb=function(){void 0!=If.W3&&(If.Xda.stop(If.W3),If.W3=void 0)};If.prototype.Init=function(){If.h.Init.call(this);this.p$=!1;this.Jp=null;this.ei=If.xza;this.headers={};this.Nm=q.b.eC();if(!this.Nm){var a=A.c.H().Z("af_document.XMLHTTP_UNSUPPORTED");alert(a)}};r.a("AdfXMLRequest.prototype.Init",{Init:If.prototype.Init});If.prototype.toString=function(){return If.h.toString.call(this)+" completionState:"+this.KO()};r.a("AdfXMLRequest.prototype.toString",{toString:If.prototype.toString});
If.prototype.tI=function(a){this.p$=a};r.a("AdfXMLRequest.prototype.setSynchronous",{tI:If.prototype.tI});If.prototype.kQ=function(a){this.Jp=a};r.a("AdfXMLRequest.prototype.setCallback",{kQ:If.prototype.kQ});If.prototype.addEventListener=function(a,b){this.Nm.upload&&this.Nm.upload.addEventListener(a,b,!1)};r.a("AdfXMLRequest.prototype.addEventListener",{addEventListener:If.prototype.addEventListener});If.prototype.KO=function(){return this.ei};r.a("AdfXMLRequest.prototype.getCompletionState",{KO:If.prototype.KO});
If.prototype.se=function(){return this.Nm.status};r.a("AdfXMLRequest.prototype.getStatus",{se:If.prototype.se});If.prototype.qo=function(){return this.Nm.responseXML};r.a("AdfXMLRequest.prototype.getResponseXML",{qo:If.prototype.qo});If.prototype.po=function(){return this.Nm.responseText};r.a("AdfXMLRequest.prototype.getResponseText",{po:If.prototype.po});
If.prototype.send=function(a,b,d){var e=this.Nm;if(!this.p$&&this.Jp){var f=function(){arguments.callee.xwb.Itb()};f.obj=this;e.onreadystatechange=f}If.Zmb();e.open(null!==b&&void 0!==b?"POST":"GET",a,!this.p$);for(var g in this.headers)e.setRequestHeader(g,this.headers[g]);d||e.setRequestHeader("Adf-Rich-Message","true");e.send(b);this.p$&&this.__onReadyStateChange()};r.a("AdfXMLRequest.prototype.send",{send:If.prototype.send});If.prototype.abort=function(){var a=this.Nm;a&&a.abort()};
r.a("AdfXMLRequest.prototype.abort",{abort:If.prototype.abort});If.prototype.getResponseHeader=function(a){return this.Nm.getResponseHeader(a)};r.a("AdfXMLRequest.prototype.getResponseHeader",{getResponseHeader:If.prototype.getResponseHeader});If.prototype.getAllResponseHeaders=function(){return this.Nm.getAllResponseHeaders()};r.a("AdfXMLRequest.prototype.getAllResponseHeaders",{getAllResponseHeaders:If.prototype.getAllResponseHeaders});
If.prototype.setRequestHeader=function(a,b){this.headers[a]=b};r.a("AdfXMLRequest.prototype.setRequestHeader",{setRequestHeader:If.prototype.setRequestHeader});If.prototype.__onReadyStateChange=function(){this.ei=this.Nm.readyState;this.ei==If.LQ&&(If.gnb(),A.c.Gm()&&this.Nm.responseXML&&Jf.Xua());this.Jp&&this.Jp(this)};If.prototype.Kp=function(){this.Jp=null;delete this.headers;delete this.Nm};r.a("AdfXMLRequest.prototype.cleanup",{Kp:If.prototype.Kp});