b,d){b&&!a&&(a={});for(varcinb)b.hasOwnProperty(c)&&(d||m(a[c]))&&(a[c]=b[c]);returna}functionJ(a){functionb(){q.push(l);vara=newfunction(){};a.constructor.prototype=l;l=newa.constructor;v.namespaces=l;k=!0}functiond(a){returna.replace(/&((\w+)|#(x?)([0-9a-fA-F]+));/g,function(a,b,c,d,e,f,g){if(c){if(a={lt:"<",gt:">",amp:"&",apos:"'",quot:'"'}[c])returna;throw"Illegal named entity: "+c;}returnString.fromCharCode(parseInt(e,d?16:10))})}vare=/<(((([\w\-\.]+):)?([\w\-\.]+))([^>]+)?|\/((([\w\-\.]+):)?([\w\-\.]+))|\?(\w+)([^\?]+)?\?|(!--([^\-]|-[^\-])*--))>|([^<>]+)/ig,
n=""===n?"":l[n];if(m(n))throw'Unrecognized namespace with prefix "'+h+'"';x.namespaceURI=n;v.attributes.push(x)}elsek||b(),l[x[3]?x[4]:""]=y}u.lastIndex=0}h=f[4]||"";v.prefix=h;n=l[h];if(m(n))throw'Unrecognized namespace with prefix "'+h+'"';v.namespaceURI=n}elseif(g=f[10])if(f=f[9]||"",w.nodeName===g&&w.prefix===f)p=w.parentNode,l===w.namespaces&&(l=q.pop());elsethrow"Unclosed tag "+f+":"+g;else(t=f[11])?v={offset:f.index,parentNode:w,target:t,data:f[12],nodeType:7}:f[13]?v={offset:f.index,parentNode:w,
y.ActiveXObject?D=function(){returnnewy.ActiveXObject("MSXML2.XMLHTTP.3.0")}:"function"===typeofrequire?D=function(){vara;(a=function(){this.readyState=0;this.status=-1;this.statusText="Not sent";this.responseText=null}).prototype={changeStatus:function(a,b){this.statusText=this.status=a;this.readyState=b;A(this.onreadystatechange)&&this.onreadystatechange.call(this,this)},open:function(a,b,e,f,g){if(!0!==e)throw"Synchronous mode not supported in this environment.";a=require("url").parse(b);a.host.length>
b.Exception.ERROR_PARSING_RESPONSE_CDE,"Response is not an XML document."));varf=n(e,"http://schemas.xmlsoap.org/soap/envelope/","SOAP-ENV","Fault");if(f.length)f=f[0],f=this._parseSoapFault(f),a.exception=newb.Exception(b.Exception.TYPE_ERROR,f.faultcode,f.faultstring,null,"_requestSuccess",a,null,f.detail,f.faultactor);else{switch(c){caseb.METHOD_DISCOVER:a.rowset=d=newb.Rowset(e,a.requestType,this);break;caseb.METHOD_EXECUTE:varg=f=null;switch(a.properties[b.PROP_FORMAT]){caseb.PROP_FORMAT_TABULAR:d=
1===e?1===d?c=function(){varc=n(this._row,"urn:schemas-microsoft-com:xml-analysis:rowset",null,a);if(c.length)returnb(p(c[0]));m(console.error)||console.error('Field "'+a+"\" is supposed to be present in the rowset but isn't. Are you running on SAP / HANA?");returnnull}:0===d&&(c=function(){varc=n(this._row,"urn:schemas-microsoft-com:xml-analysis:rowset",null,a);returnc.length?b(p(c[0])):null}):1===d?c=function(){varc=n(this._row,"urn:schemas-microsoft-com:xml-analysis:rowset",null,a);returnL(c,
"xsd","element"),c=a.length,f=0;f<c;f++)d=a[f],e=r(d,"type"),d=r(d,"name"),g[d]={type:e,converter:B[e],name:M(d)};elsem(console.error)||console.error("MemberType in schema does not define any child elements. Are you running on Jedox/Palo?")},_initAxis:function(a,b){this.name=r(b,"name");this._initMembers();this._initHierarchies(a);this._tuples=n(b,"urn:schemas-microsoft-com:xml-analysis:mddataset","","Tuple");this.numTuples=this._tuples.length;this.reset()},close:function(){this.numTuples=-1;this._members=
"_"+b.Exception.UNEXPECTED_ERROR_READING_MEMBER_MSG;b.Exception.INVALID_AXIS_CDE=-13;b.Exception.INVALID_AXIS_MSG="The requested axis does not exist.";b.Exception.INVALID_AXIS_HLP="http://code.google.com/p/xmla4js/wiki/ExceptionCodes#"+b.Exception.INVALID_AXIS_CDE+"_"+b.Exception.INVALID_AXIS_MSG;b.Exception.ILLEGAL_ARGUMENT_CDE=-14;b.Exception.ILLEGAL_ARGUMENT_MSG="Illegal arguments";b.Exception.ILLEGAL_ARGUMENT_HLP="http://code.google.com/p/xmla4js/wiki/ExceptionCodes#"+b.Exception.ILLEGAL_ARGUMENT_CDE+
"_"+b.Exception.ILLEGAL_ARGUMENT_MSG;b.Exception.ERROR_INSTANTIATING_XMLHTTPREQUEST_CDE=-15;b.Exception.ERROR_INSTANTIATING_XMLHTTPREQUEST_MSG="Error creating XML Http Request";b.Exception.ERROR_INSTANTIATING_XMLHTTPREQUEST_HLP="http://code.google.com/p/xmla4js/wiki/ExceptionCodes#"+b.Exception.ERROR_INSTANTIATING_XMLHTTPREQUEST_CDE+"_"+b.Exception.ERROR_INSTANTIATING_XMLHTTPREQUEST_MSG;b.Exception._newError=function(a,c,d){returnnewb.Exception(b.Exception.TYPE_ERROR,b.Exception[a+"_CDE"],b.Exception[a+