!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){functiona(n,s){if(!r[n]){if(!t[n]){varu="function"==typeofrequire&&require;if(!s&&u)returnu(n,!0);if(o)returno(n,!0);varl=newError("Cannot find module '"+n+"'");throwl.code="MODULE_NOT_FOUND",l}varc=r[n]={exports:{}};t[n][0].call(c.exports,(function(e){returna(t[n][1][e]||e)}),c,c.exports,e,t,r,i)}returnr[n].exports}for(varo="function"==typeofrequire&&require,n=0;n<i.length;n++)a(i[n]);returna}({1:[function(e,t,r){"use strict";consti=e("./core");classaextendsError{constructor(e,...t){letr;super(...t),Error.captureStackTrace&&Error.captureStackTrace(this,a),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,o)=>async(n,s,u={})=>{n=o+(n||"");letl=newURL(n);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))thrownewa(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;leta,o,n,s="";returnt.forEach((e=>{if("string"==typeofe)if(e.toUpperCase()===e){if(a){thrownewError(`Can't set method to ${e}, already set to ${a}.`)}a=e}elseif(e.startsWith("http:")||e.startsWith("https:"))s=e;else{if(!i.has(e))thrownewError("Unknown encoding, "+e);o=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(n)thrownewError("Cannot set headers twice.");n=e}}})),a||(a="GET"),0===r.size&&r.add(200),e(r,a,o,n,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,a="object"===("undefined"==typeofself?"undefined":t(self))&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,o=void0!==e&&null!=e.versions&&null!=e.versions.node;r.isBrowser=i,r.isWebWorker=a,r.isNode=o,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:[function(e,t,r){},{}],5:[function(e,t,r){"use strict";vari="%[a-f0-9]{2}",a=newRegExp(i,"gi"),o=newRegExp("("+i+")+","gi");functionn(e,t){try{returndecodeURIComponent(e.join(""))}catch(e){}if(1===e.length)returne;t=t||1;varr=e.slice(0,t),i=e.slice(t);returnArray.prototype.concat.call([],n(r),n(i))}functions(e){try{returndecodeURIComponent(e)}catch(i){for(vart=e.match(a),r=1;r<t.length;r++)t=(e=n(t,r).join("")).match(a);returne}}t.exports=function(e){if("string"!=typeofe)thrownewTypeError("Expected `encodedURI` to be of type `string`, got `"+typeofe+"`");try{returne=e.replace(/\+/g," "),decodeURIComponent