!function(e){if("object"==typeofexports&&"undefined"!=typeofmodule)module.exports=e();elseif("function"==typeofdefine&&define.amd)define([],e);else{("undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:this).doip=e()}}((function(){returnfunctione(t,o,r){functioni(a,d){if(!o[a]){if(!t[a]){varn="function"==typeofrequire&&require;if(!d&&n)returnn(a,!0);if(s)returns(a,!0);varl=newError("Cannot find module '"+a+"'");throwl.code="MODULE_NOT_FOUND",l}varu=o[a]={exports:{}};t[a][0].call(u.exports,(function(e){returni(t[a][1][e]||e)}),u,u.exports,e,t,o,r)}returno[a].exports}for(vars="function"==typeofrequire&&require,a=0;a<r.length;a++)i(r[a]);returni}({"/home/yarmo/dev/doip/doipjs/node_modules/bent/src/browser.js":[function(e,t,o){"use strict";constr=e("./core");classiextendsError{constructor(e,...t){leto;super(...t),Error.captureStackTrace&&Error.captureStackTrace(this,i),this.name="StatusError",this.message=e.statusMessage,this.statusCode=e.status,this.res=e,this.json=e.json.bind(e),this.text=e.text.bind(e),this.arrayBuffer=e.arrayBuffer.bind(e);Object.defineProperty(this,"responseBody",{get:()=>(o||(o=this.arrayBuffer()),o)}),this.headers={};for(const[t,o]ofe.headers.entries())this.headers[t.toLowerCase()]=o}}t.exports=r(((e,t,o,r,s)=>async(a,d,n={})=>{a=s+(a||"");letl=newURL(a);if(r||(r={}),l.username&&(r.Authorization="Basic "+btoa(l.username+":"+l.password),l=newURL(l.protocol+"//"+l.host+l.pathname+l.search)),"https:"!==l.protocol&&"http:"!==l.protocol)thrownewError("Unknown protocol, "+l.protocol);if(d)if(dinstanceofArrayBuffer||ArrayBuffer.isView(d)||"string"==typeofd);else{if("object"!=typeofd)thrownewError("Unknown body type.");d=JSON.stringify(d),r["Content-Type"]="application/json"}n=newHeaders({...r||{},...n});constu=awaitfetch(l,{method:t,headers:n,body:d});if(u.statusCode=u.status,!e.has(u.status))thrownewi(u);return"json"===o?u.json():"buffer"===o?u.arrayBuffer():"string"===o?u.text():u}))},{"./core":"/home/yarmo/dev/doip/doipjs/node_modules/bent/src/core.js"}],"/home/yarmo/dev/doip/doipjs/node_modules/bent/src/core.js":[function(e,t,o){"use strict";constr=newSet(["json","buffer","string"]);t.exports=e=>(...t)=>{consto=newSet;leti,s,a,d="";returnt.forEach((e=>{if("string"==typeofe)if(e.toUpperCase()===e){if(i){thrownewError(`Can't set method to ${e}, already set to ${i}.`)}i=e}elseif(e.startsWith("http:")||e.startsWith("https:"))d=e;else{if(!r.has(e))thrownewError("Unknown encoding, "+e);s=e}elseif("number"==typeofe)o.add(e);else{if("object"!=typeofe)thrownewError("Unknown type: "+typeofe);if(Array.isArray(e)||einstanceofSet)e.forEach((e=>o.add(e)));else{if(a)thrownewError("Cannot set headers twice.");a=e}}})),i||(i="GET"),0===o.size&&o.add(200),e(o,i,s,a,d)}},{}],"/home/yarmo/dev/doip/doipjs/node_modules/browser-or-node/lib/index.js":[function(e,t,o){(function(e){(function(){"use strict";Object.defineProperty(o,"__esModule",{value:!0});vart="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe},r="undefined"!=typeofwindow&&void0!==window.document,i="object"===("undefined"==typeofself?"undefined":t(self))&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,s=void0!==e&&null!=e.versions&&null!=e.versions.node;o.isBrowser=r,o.isWebWorker=i,o.isNode=s,o.isJsDom=function(){return"undefined"!=typeofwindow&&"nodejs"===window.name||navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")}}).call(this)}).call(this,e("_process"))},{_process:"/home/yarmo/dev/doip/doipjs/node_modules/process/browser.js"}],"/home/yarmo/dev/doip/doipjs/node_modules/browserify/lib/_empty.js":[function(e,t,o){},{}],"/home/yarmo/dev/doip/doipjs/node_modules/decode-uri-component/index.js":[function(e,t,o){"use strict";varr="%[a-f0-9]{2}",i=newRegExp(r,"gi"),s=newRegExp("("+r+")+","gi");functiona(e,t){try{returndecodeURIComponent(e.join(""))}