!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,r,i){functiono(a,s){if(!r[a]){if(!t[a]){varu="function"==typeofrequire&&require;if(!s&&u)returnu(a,!0);if(n)returnn(a,!0);varl=newError("Cannot find module '"+a+"'");throwl.code="MODULE_NOT_FOUND",l}varc=r[a]={exports:{}};t[a][0].call(c.exports,(function(e){returno(t[a][1][e]||e)}),c,c.exports,e,t,r,i)}returnr[a].exports}for(varn="function"==typeofrequire&&require,a=0;a<i.length;a++)o(i[a]);returno}({1:[function(e,t,r){(function(i){(function(){!function(e){"object"==typeofr&&void0!==t?t.exports=e():("undefined"!=typeofwindow?window:void0!==i?i:"undefined"!=typeofself?self:this).doip=e()}((function(){returnfunctiont(r,i,o){functionn(s,u){if(!i[s]){if(!r[s]){varl="function"==typeofe&&e;if(!u&&l)returnl(s,!0);if(a)returna(s,!0);varc=newError("Cannot find module '"+s+"'");throwc.code="MODULE_NOT_FOUND",c}vard=i[s]={exports:{}};r[s][0].call(d.exports,(function(e){returnn(r[s][1][e]||e)}),d,d.exports,t,r,i,o)}returni[s].exports}for(vara="function"==typeofe&&e,s=0;s<o.length;s++)n(o[s]);returnn}({1:[function(e,t,r){"use strict";consti=e("./core");classoextendsError{constructor(e,...t){letr;super(...t),Error.captureStackTrace&&Error.captureStackTrace(this,o),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:()=>(r||(r=this.arrayBuffer()),r)}),this.headers={};for(const[t,r]ofe.headers.entries())this.headers[t.toLowerCase()]=r}}t.exports=i(((e,t,r,i,n)=>async(a,s,u={})=>{a=n+(a||"");letl=newURL(a);if(i||(i={}),l.username&&(i.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(s)if(sinstanceofArrayBuffer||ArrayBuffer.isView(s)||"string"==typeofs);else{if("object"!=typeofs)thrownewError("Unknown body type.");s=JSON.stringify(s),i["Content-Type"]="application/json"}u=newHeaders({...i||{},...u});constc=awaitfetch(l,{method:t,headers:u,body:s});if(c.statusCode=c.status,!e.has(c.status))thrownewo(c);return"json"===r?c.json():"buffer"===r?c.arrayBuffer():"string"===r?c.text():c}))},{"./core":2}],2:[function(e,t,r){"use strict";consti=newSet(["json","buffer","string"]);t.exports=e=>(...t)=>{constr=newSet;leto,n,a,s="";returnt.forEach((e=>{if("string"==typeofe)if(e.toUpperCase()===e){if(o)thrownewError(`Can't set method to ${e}, already set to ${o}.`);o=e}elseif(e.startsWith("http:")||e.startsWith("https:"))s=e;else{if(!i.has(e))thrownewError("Unknown encoding, "+e);n=e}elseif("number"==typeofe)r.add(e);else{if("object"!=typeofe)thrownewError("Unknown type: "+typeofe);if(Array.isArray(e)||einstanceofSet)e.forEach((e=>r.add(e)));else{if(a)thrownewError("Cannot set headers twice.");a=e}}})),o||(o="GET"),0===r.size&&r.add(200),e(r,o,n,a,s)}},{}],3:[function(e,t,r){(function(e){(function(){"use strict";Object.defineProperty(r,"__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},i="undefined"!=typeofwindow&&void0!==window.document,o="object"===("undefined"==typeofself?"undefined":t(self))&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,n=void0!==e&&null!=e.versions&&null!=e.versions.node;r.isBrowser=i,r.isWebWorker=o,r.isNode=n,r.isJsDom=function(){return"undefined"!=typeofwindow&&"nodejs"===window.name||navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")}}).call(this)}).call(this,e("_process"))},{_process:9}],4:[functio