vart=n.responseText,r=null;try{t=JSON.parse(t)}catch(i){r=o.InvalidResponse(t)}e(r,t)}},n.open("POST",this.host,!0),n.setRequestHeader("Content-type","application/json");try{n.send(JSON.stringify(t))}catch(i){e(o.InvalidConnection(this.host))}},e.exports=i},{"./errors":14,xmlhttprequest:4}],21:[function(t,e,n){varr=t("../utils/utils"),o=function(t){this._iban=t};o.prototype.isValid=function(){returnr.isIBAN(this._iban)},o.prototype.isDirect=function(){return34===this._iban.length},o.prototype.isIndirect=function(){return20===this._iban.length},o.prototype.checksum=function(){returnthis._iban.substr(2,2)},o.prototype.institution=function(){returnthis.isIndirect()?this._iban.substr(7,4):""},o.prototype.client=function(){returnthis.isIndirect()?this._iban.substr(11):""},o.prototype.address=function(){returnthis.isDirect()?this._iban.substr(4):""},e.exports=o},{"../utils/utils":7}],22:[function(t,e,n){"use strict";varr=t("../utils/utils"),o=t("./errors"),i='{"jsonrpc": "2.0", "error": {"code": -32603, "message": "IPC Request timed out for method \'__method__\'"}, "id": "__id__"}',a=function(e,n){vari=this;this.responseCallbacks={},this.path=e,n=n||t("net"),this.connection=n.connect({path:this.path}),this.connection.on("error",function(t){console.error("IPC Connection Error",t),i._timeout()}),this.connection.on("end",function(){i._timeout()}),this.connection.on("data",function(t){t=t.toString();vare=t.replace(/\}\{/g,"}|--|{").replace(/\}\]\[\{/g,"}]|--|[{").replace(/\}\[\{/g,"}|--|[{").replace(/\}\]\{/g,"}]|--|{").split("|--|");e.forEach(function(t){i.lastChunk&&(t=i.lastChunk+t);vare=t,n=null;try{e=JSON.parse(e)}catch(a){returni.lastChunk=t,clearTimeout(i.lastChunkTimeout),void(i.lastChunkTimeout=setTimeout(function(){throwi.timeout(),o.InvalidResponse(e)},15e3))}clearTimeout(i.lastChunkTimeout),i.lastChunk=null,r.isArray(e)?e.forEach(function(t){i.responseCallbacks[t.id]&&(n=t.id)}):n=e.id,i.responseCallbacks[n]&&(i.responseCallbacks[n](null,e),deletei.responseCallbacks[n])})})};a.prototype._getResponse=function(t,e){varn=t.id||t[0].id,r=t.method||t[0].method;this.responseCallbacks[n]=e,this.responseCallbacks[n].method=r},a.prototype._timeout=function(){for(vartinthis.responseCallbacks)this.responseCallbacks.hasOwnProperty(t)&&(this.responseCallbacks[t](i.replace("__id__",t).replace("__method__",this.responseCallbacks[t].method)),deletethis.responseCallbacks[t])},a.prototype.isConnected=function(){vart=this;returnsetTimeout(function(){t.connection.writable||t.connection.connect({path:t.path})},0),!!this.connection.writable},a.prototype.send=function(t){if(this.connection.writeSync){this.connection.writable||this.connection.connect({path:this.path});vare=this.connection.writeSync(JSON.stringify(t));try{e=JSON.parse(e)}catch(n){throwo.InvalidResponse(e)}returne}thrownewError('You tried to send "'+t.method+'" synchronously. Synchronous requests are not supported by the IPC provider.')},a.prototype.sendAsync=function(t,e){this.connection.writable||this.connection.connect({path:this.path}),this.connection.write(JSON.stringify(t)),this._getResponse(t,e)},e.exports=a},{"../utils/utils":7,"./errors":14,net:33}],23:[function(t,e,n){varr=function(){returnarguments.callee._singletonInstance?arguments.callee._singletonInstance:(arguments.callee._singletonInstance=this,void(this.messageId=1))};r.getInstance=function(){vart=newr;returnt},r.prototype.toPayload=function(t,e){returnt||console.error("jsonrpc method should be specified!"),{jsonrpc:"2.0",method:t,params:e||[],id:this.messageId++}},r.prototype.isValidResponse=function(t){return!!t&&!t.error&&"2.0"===t.jsonrpc&&"number"==typeoft.id&&void0!==t.result},r.prototype.toBatchPayload=function(t){vare=this;returnt.map(function(t){returne.toPayload(t.method,t.params)})},e.exports=r},{}],24:[function(t,e,n){varr=t("./requestmanager"),o=t("../utils/utils"),i=t("./errors"),a=function(t){this.name=t.name,this.call=t.call,this.params=t.params||0,this.inputFormatter=t.inputFormatter,this.outputFormatter=t.outputFormatter};a.prototype.getCall=function(