varr=n(739),i=n(385),o=n(48);functions(){try{vare=newUint8Array(1);returne.__proto__={__proto__:Uint8Array.prototype,foo:function(){return42}},42===e.foo()&&"function"==typeofe.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}functiona(){returnl.TYPED_ARRAY_SUPPORT?2147483647:1073741823}functionu(e,t){if(a()<t)thrownewRangeError("Invalid typed array length");returnl.TYPED_ARRAY_SUPPORT?(e=newUint8Array(t),e.__proto__=l.prototype):(null===e&&(e=newl(t)),e.length=t),e}functionl(e,t,n){if(!(l.TYPED_ARRAY_SUPPORT||thisinstanceofl))returnnewl(e,t,n);if("number"==typeofe){if("string"==typeoft)thrownewError("If encoding is specified then the first argument must be a string");returnp(this,e)}returnc(this,e,t,n)}functionc(e,t,n,r){if("number"==typeoft)thrownewTypeError('"value" argument must not be a number');return"undefined"!=typeofArrayBuffer&&tinstanceofArrayBuffer?g(e,t,n,r):"string"==typeoft?d(e,t,n):y(e,t)}functionf(e){if("number"!=typeofe)thrownewTypeError('"size" argument must be a number');if(e<0)thrownewRangeError('"size" argument must not be negative')}functionh(e,t,n,r){returnf(t),t<=0?u(e,t):void0!==n?"string"==typeofr?u(e,t).fill(n,r):u(e,t).fill(n):u(e,t)}functionp(e,t){if(f(t),e=u(e,t<0?0:0|b(t)),!l.TYPED_ARRAY_SUPPORT)for(varn=0;n<t;++n)e[n]=0;returne}functiond(e,t,n){if("string"==typeofn&&""!==n||(n="utf8"),!l.isEncoding(n))thrownewTypeError('"encoding" must be a valid string encoding');varr=0|w(t,n);e=u(e,r);vari=e.write(t,n);returni!==r&&(e=e.slice(0,i)),e}functionm(e,t){varn=t.length<0?0:0|b(t.length);e=u(e,n);for(varr=0;r<n;r+=1)e[r]=255&t[r];returne}functiong(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)thrownewRangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))thrownewRangeError("'length' is out of bounds");returnt=void0===n&&void0===r?newUint8Array(t):void0===r?newUint8Array(t,n):newUint8Array(t,n,r),l.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=l.prototype):e=m(e,t),e}functiony(e,t){if(l.isBuffer(t)){varn=0|b(t.length);returne=u(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!=typeofArrayBuffer&&t.bufferinstanceofArrayBuffer||"length"int)return"number"!=typeoft.length||te(t.length)?u(e,0):m(e,t);if("Buffer"===t.type&&o(t.data))returnm(e,t.data)}thrownewTypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}functionb(e){if(e>=a())thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return0|e}functionv(e){return+e!=e&&(e=0),l.alloc(+e)}functionw(e,t){if(l.isBuffer(e))returne.length;if("undefined"!=typeofArrayBuffer&&"function"==typeofArrayBuffer.isView&&(ArrayBuffer.isView(e)||einstanceofArrayBuffer))returne.byteLength;"string"!=typeofe&&(e=""+e);varn=e.length;if(0===n)return0;for(varr=!1;;)switch(t){case"ascii":case"latin1":case"binary":returnn;case"utf8":case"utf-8":casevoid0:returnJ(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*n;case"hex":returnn>>>1;case"base64":returnQ(e).length;default:if(r)returnJ(e).length;t=(""+t).toLowerCase(),r=!0}}function_(e,t,n){varr=!1;if((void0===t||t<0)&&(t=0),t>this.length)return"";if((void0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":returnL(this,t,n);case"utf8":case"utf-8":returnP(this,t,n);case"ascii":returnN(this,t,n);case"latin1":case"binary":returnM(this,t,n);case"base64":returnO(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":returnF(this,t,n);default:if(r)thrownewTypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}functionk(e,t,n){varr=e[t];e[t]=e[n],e[n]=r}functionS(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeofn?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}elseif(n<0){if(!i)return-1;n=0}if("string"==typeoft&&(t=l.from(t,r)),l.isBuffer(t))return0===t.length?-1:E(e,t,n,r,
varr=function(e,t){returnfunction(){varn=Array.prototype.slice.call(arguments),r=n.length-1,i=n&&n.length>0?n[r]:null,o="function"==typeofi?i:null;returno?e.apply(t,n):newPromise(function(r,i){n.push(function(e,t){if(e)returni(e);r(t)}),e.apply(t,n)})}};e.exports=function(e,t){t=t||{};varn=Object.prototype.toString.call(e);if("[object Object]"===n||"[object Array]"===n){vari=t.replace?e:{};for(varoine)e.hasOwnProperty(o)&&(i[o]=r(e[o]));returni}returnr(e,t.context||e)}},function(e,t,n){varr=n(0),i=r.Buffer;functiono(e,t){for(varnine)t[n]=e[n]}functions(e,t,n){returni(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=s),o(i,s),s.from=function(e,t,n){if("number"==typeofe)thrownewTypeError("Argument must not be a number");returni(e,t,n)},s.alloc=function(e,t,n){if("number"!=typeofe)thrownewTypeError("Argument must be a number");varr=i(e);returnvoid0!==t?"string"==typeofn?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if("number"!=typeofe)thrownewTypeError("Argument must be a number");returni(e)},s.allocUnsafeSlow=function(e){if("number"!=typeofe)thrownewTypeError("Argument must be a number");returnr.SlowBuffer(e)}},function(e,t,n){(function(r){functioni(){return!("undefined"==typeofwindow||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeofnavigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeofdocument&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeofwindow&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeofnavigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeofnavigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}functiono(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;constn="color: "+this.color;t.splice(1,0,n,"color: inherit");letr=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)}functions(...e){return"object"==typeofconsole&&console.log&&console.log(...e)}functiona(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}}functionu(){lete;try{e=t.storage.getItem("debug")}catch(e){}return!e&&void0!==r&&"env"inr&&(e=r.env.DEBUG),e}functionl(){try{returnlocalStorage}catch(e){}}t.log=s,t.formatArgs=o,t.save=a,t.load=u,t.useColors=i,t.storage=l(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(738)(t);const{formatters:c}=e.exports;c.j=function(e){try{returnJSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n(2))},function(e,t,n){"use strict";varr="object"==typeofReflect?Reflect:null,i=r&&"function"==typeofr.apply?r.apply:functione(t,n,r){returnFunction.prototype.apply.call(t,n,r)},o;functions(e){console&&console.warn&&console.warn(e)}o=r&&"function"==typeofr.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?functione(t){returnObject.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:functione(t){ret
varr=n(33),i=n(34),o=n(35);functions(){try{vare=newUint8Array(1);returne.__proto__={__proto__:Uint8Array.prototype,foo:function(){return42}},42===e.foo()&&"function"==typeofe.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}functiona(){returnl.TYPED_ARRAY_SUPPORT?2147483647:1073741823}functionu(e,t){if(a()<t)thrownewRangeError("Invalid typed array length");returnl.TYPED_ARRAY_SUPPORT?(e=newUint8Array(t),e.__proto__=l.prototype):(null===e&&(e=newl(t)),e.length=t),e}functionl(e,t,n){if(!(l.TYPED_ARRAY_SUPPORT||thisinstanceofl))returnnewl(e,t,n);if("number"==typeofe){if("string"==typeoft)thrownewError("If encoding is specified then the first argument must be a string");returnp(this,e)}returnc(this,e,t,n)}functionc(e,t,n,r){if("number"==typeoft)thrownewTypeError('"value" argument must not be a number');return"undefined"!=typeofArrayBuffer&&tinstanceofArrayBuffer?g(e,t,n,r):"string"==typeoft?d(e,t,n):y(e,t)}functionf(e){if("number"!=typeofe)thrownewTypeError('"size" argument must be a number');if(e<0)thrownewRangeError('"size" argument must not be negative')}functionh(e,t,n,r){returnf(t),t<=0?u(e,t):void0!==n?"string"==typeofr?u(e,t).fill(n,r):u(e,t).fill(n):u(e,t)}functionp(e,t){if(f(t),e=u(e,t<0?0:0|b(t)),!l.TYPED_ARRAY_SUPPORT)for(varn=0;n<t;++n)e[n]=0;returne}functiond(e,t,n){if("string"==typeofn&&""!==n||(n="utf8"),!l.isEncoding(n))thrownewTypeError('"encoding" must be a valid string encoding');varr=0|w(t,n);e=u(e,r);vari=e.write(t,n);returni!==r&&(e=e.slice(0,i)),e}functionm(e,t){varn=t.length<0?0:0|b(t.length);e=u(e,n);for(varr=0;r<n;r+=1)e[r]=255&t[r];returne}functiong(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)thrownewRangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))thrownewRangeError("'length' is out of bounds");returnt=void0===n&&void0===r?newUint8Array(t):void0===r?newUint8Array(t,n):newUint8Array(t,n,r),l.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=l.prototype):e=m(e,t),e}functiony(e,t){if(l.isBuffer(t)){varn=0|b(t.length);returne=u(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!=typeofArrayBuffer&&t.bufferinstanceofArrayBuffer||"length"int)return"number"!=typeoft.length||te(t.length)?u(e,0):m(e,t);if("Buffer"===t.type&&o(t.data))returnm(e,t.data)}thrownewTypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}functionb(e){if(e>=a())thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return0|e}functionv(e){return+e!=e&&(e=0),l.alloc(+e)}functionw(e,t){if(l.isBuffer(e))returne.length;if("undefined"!=typeofArrayBuffer&&"function"==typeofArrayBuffer.isView&&(ArrayBuffer.isView(e)||einstanceofArrayBuffer))returne.byteLength;"string"!=typeofe&&(e=""+e);varn=e.length;if(0===n)return0;for(varr=!1;;)switch(t){case"ascii":case"latin1":case"binary":returnn;case"utf8":case"utf-8":casevoid0:returnJ(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*n;case"hex":returnn>>>1;case"base64":returnQ(e).length;default:if(r)returnJ(e).length;t=(""+t).toLowerCase(),r=!0}}function_(e,t,n){varr=!1;if((void0===t||t<0)&&(t=0),t>this.length)return"";if((void0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":returnL(this,t,n);case"utf8":case"utf-8":returnP(this,t,n);case"ascii":returnN(this,t,n);case"latin1":case"binary":returnM(this,t,n);case"base64":returnO(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":returnF(this,t,n);default:if(r)thrownewTypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}functionk(e,t,n){varr=e[t];e[t]=e[n],e[n]=r}functionS(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeofn?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}elseif(n<0){if(!i)return-1;n=0}if("string"==typeoft&&(t=l.from(t,r)),l.isBuffer(t))return0===t.length?-1:E(e,t,n,r,i)
*/var r=n(704);function i(e){return r.get(e)}t.getPublicSuffix=i},function(e,t,n){"use strict";var r=n(212),i={};i.rules=n(1828).map(function(e){return{rule:e,suffix:e.replace(/^(\*\.|\!)/,""),punySuffix:-1,wildcard:"*"===e.charAt(0),exception:"!"===e.charAt(0)}}),i.endsWith=function(e,t){return-1!==e.indexOf(t,e.length-t.length)},i.findRule=function(e){vart=r.toASCII(e);returni.rules.reduce(function(e,n){return-1===n.punySuffix&&(n.punySuffix=r.toASCII(n.suffix)),i.endsWith(t,"."+n.punySuffix)||t===n.punySuffix?n:e},null)},t.errorCodes={DOMAIN_TOO_SHORT:"Domain name too short.",DOMAIN_TOO_LONG:"Domain name too long. It should be no more than 255 chars.",LABEL_STARTS_WITH_DASH:"Domain name label can not start with a dash.",LABEL_ENDS_WITH_DASH:"Domain name label can not end with a dash.",LABEL_TOO_LONG:"Domain name label should be at most 63 chars long.",LABEL_TOO_SHORT:"Domain name label should be at least 1 character long.",LABEL_INVALID_CHARS:"Domain name label can only contain alphanumeric characters or dashes."},i.validate=function(e){vart=r.toASCII(e);if(t.length<1)return"DOMAIN_TOO_SHORT";if(t.length>255)return"DOMAIN_TOO_LONG";for(varn=t.split("."),i,o=0;o<n.length;++o){if(i=n[o],!i.length)return"LABEL_TOO_SHORT";if(i.length>63)return"LABEL_TOO_LONG";if("-"===i.charAt(0))return"LABEL_STARTS_WITH_DASH";if("-"===i.charAt(i.length-1))return"LABEL_ENDS_WITH_DASH";if(!/^[a-z0-9\-]+$/.test(i))return"LABEL_INVALID_CHARS"}},t.parse=function(e){if("string"!=typeofe)thrownewTypeError("Domain name must be a string.");varn=e.slice(0).toLowerCase();"."===n.charAt(n.length-1)&&(n=n.slice(0,n.length-1));varo=i.validate(n);if(o)return{input:e,error:{message:t.errorCodes[o],code:o}};vars={input:e,tld:null,sld:null,domain:null,subdomain:null,listed:!1},a=n.split(".");if("local"===a[a.length-1])returns;varu=function(){return/xn--/.test(n)?(s.domain&&(s.domain=r.toASCII(s.domain)),s.subdomain&&(s.subdomain=r.toASCII(s.subdomain)),s):s},l=i.findRule(n);if(!l)returna.length<2?s:(s.tld=a.pop(),s.sld=a.pop(),s.domain=[s.sld,s.tld].join("."),a.length&&(s.subdomain=a.pop()),u());s.listed=!0;varc=l.suffix.split("."),f=a.slice(0,a.length-c.length);returnl.exception&&f.push(c.shift()),s.tld=c.join("."),f.length?(l.wildcard&&(c.unshift(f.pop()),s.tld=c.join(".")),f.length?(s.sld=f.pop(),s.domain=[s.sld,s.tld].join("."),f.length&&(s.subdomain=f.join(".")),u()):u()):u()},t.get=function(e){returne&&t.parse(e).domain||null},t.isValid=function(e){varn=t.parse(e);returnBoolean(n.domain&&n.listed)}},function(e,t,n){"use strict";
varr,i,o;r="prr",i=this,o=function(){vare="function"==typeofObject.defineProperty?function(e,t,n){returnObject.defineProperty(e,t,n),e}:function(e,t,n){returne[t]=n.value,e},t=function(e,t){varn="object"==typeoft,r=!n&&"string"==typeoft,i=function(e){returnn?!!t[e]:!!r&&t.indexOf(e[0])>-1};return{enumerable:i("enumerable"),configurable:i("configurable"),writable:i("writable"),value:e}},n=function(n,r,i,o){vars;if(o=t(i,o),"object"==typeofr){for(sinr)Object.hasOwnProperty.call(r,s)&&(o.value=r[s],e(n,s,o));returnn}returne(n,r,o)};returnn},e.exports?e.exports=o():i.prr=o()},function(e,t,n){"use strict";varr=n(298).AbstractLevelDOWN,i=n(298).AbstractChainedBatch,o=n(298).AbstractIterator,s=n(1),a=n(62),u=n(836),l=n(838).EncodingError;functionc(e,t){if(!(thisinstanceofc))returnnewc(e,t);r.call(this,""),t=t||{},void0===t.keyEncoding&&(t.keyEncoding="utf8"),void0===t.valueEncoding&&(t.valueEncoding="utf8"),this.db=e,this.codec=newu(t)}functionf(e,t){o.call(this,e),this.codec=e.codec,this.keys=t.keys,this.values=t.values,this.opts=this.codec.encodeLtgt(t),this.it=e.db.iterator(this.opts)}functionh(e,t){i.call(this,e),this.codec=e.codec,this.batch=e.db.batch()}e.exports=c.default=c,s(c,r),c.prototype._serializeKey=c.prototype._serializeValue=function(e){returne},c.prototype._open=function(e,t){this.db.open(e,t)},c.prototype._close=function(e){this.db.close(e)},c.prototype._put=function(e,t,n,r){e=this.codec.encodeKey(e,n),t=this.codec.encodeValue(t,n),this.db.put(e,t,n,r)},c.prototype._get=function(e,t,n){varr=this;e=this.codec.encodeKey(e,t),t.asBuffer=this.codec.valueAsBuffer(t),this.db.get(e,t,function(e,i){if(e)returnn(e);try{i=r.codec.decodeValue(i,t)}catch(e){returnn(newl(e))}n(null,i)})},c.prototype._del=function(e,t,n){e=this.codec.encodeKey(e,t),this.db.del(e,t,n)},c.prototype._chainedBatch=function(){returnnewh(this)},c.prototype._batch=function(e,t,n){e=this.codec.encodeBatch(e,t),this.db.batch(e,t,n)},c.prototype._iterator=function(e){returne.keyAsBuffer=this.codec.keyAsBuffer(e),e.valueAsBuffer=this.codec.valueAsBuffer(e),newf(this,e)},c.prototype._setupIteratorOptions=function(e){returne=a(e),e.reverse=!!e.reverse,e.keys=!1!==e.keys,e.values=!1!==e.values,e.limit="limit"ine?e.limit:-1,e.keyAsBuffer=!1!==e.keyAsBuffer,e.valueAsBuffer=!1!==e.valueAsBuffer,e},c.prototype.approximateSize=function(e,t,n,r){returnthis.db.approximateSize(e,t,n,r)},s(f,o),f.prototype._next=function(e){vart=this;this.it.next(function(n,r,i){if(n)returne(n);try{r=t.keys&&void0!==r?t.codec.decodeKey(r,t.opts):void0,i=t.values&&void0!==i?t.codec.decodeValue(i,t.opts):void0}catch(n){returne(newl(n))}e(null,r,i)})},f.prototype._end=function(e){this.it.end(e)},s(h,i),h.prototype._put=function(e,t){e=this.codec.encodeKey(e),t=this.codec.encodeValue(t),this.batch.put(e,t)},h.prototype._del=function(e){e=this.codec.encodeKey(e),this.batch.del(e)},h.prototype._clear=function(){this.batch.clear()},h.prototype._write=function(e,t){this.batch.write(e,t)}},function(e,t,n){(function(t,r){vari=n(62),o=n(430),s=n(431),a=Object.prototype.hasOwnProperty,u="start end gt gte lt lte".split(" ");functionl(e){if(!arguments.length||void0===e)thrownewError("constructor requires at least a location argument");if("string"!=typeofe)thrownewError("constructor requires a location string argument");this.location=e,this.status="new"}functionc(e){vart={};for(varnine)a.call(e,n)&&(f(n)&&h(e[n])||(t[n]=e[n]));returnt}functionf(e){return-1!==u.indexOf(e)}functionh(e){return""===e||null==e||p(e)}functionp(e){returnr.isBuffer(e)&&0===e.length}l.prototype.open=function(e,t){varn=this,r=this.status;if("function"==typeofe&&(t=e),"function"!=typeoft)thrownewError("open() requires a callback argument");"object"!=typeofe&&(e={}),e.createIfMissing=!1!==e.createIfMissing,e.errorIfExists=!!e.errorIfExists,this.status="opening",this._open(e,function(e){if(e)returnn.status=r,t(e);n.status="open",t()})},l.prototype._open=function(e,n){t.nextTick(n)},l.prototype.close=function(e){vart=this,n=this.status;if("function"!=
varr,i;r=this,i=function(){"use strict";vare=function(e,n){returnt(e.slice(),n)};functiont(e,t){"function"!=typeoft&&(t=function(e,t){returnString(e).localeCompare(t)});varr=e.length;if(r<=1)returne;for(vari=newArray(r),o=1;o<r;o*=2){n(e,t,o,i);vars=e;e=i,i=s}returne}e.inplace=function(e,r){vari=t(e,r);returni!==e&&n(i,null,e.length,e),e};varn=function(e,t,n,r){vari=e.length,o=0,s=2*n,a,u,l,c,f;for(a=0;a<i;a+=s)for(u=a+n,l=u+n,u>i&&(u=i),l>i&&(l=i),c=a,f=u;;)if(c<u&&f<l)t(e[c],e[f])<=0?r[o++]=e[c++]:r[o++]=e[f++];elseif(c<u)r[o++]=e[c++];else{if(!(f<l))break;r[o++]=e[f++]}};returne},e.exports=i()},function(e,t,n){varr=n(877),i=n(879);e.exports=r,e.exports.parse=r,e.exports.stringify=i},function(e,t,n){varr=n(878),i=536870911,o=["int32","int64","uint32","uint64","sint32","sint64","bool","fixed64","sfixed64","double","fixed32","sfixed32","float"],s=function(e){for(vart={};e.length;)switch(e[0]){case"[":case",":e.shift();varn=e.shift();if("("===n&&(n=e.shift(),e.shift()),"="!==e[0])thrownewError("Unexpected token in field options: "+e[0]);if(e.shift(),"]"===e[0])thrownewError("Unexpected ] in field option");t[n]=e.shift();break;case"]":returne.shift(),t;default:thrownewError("Unexpected token in field options: "+e[0])}thrownewError("No closing tag for field options")},a=function(e){for(vart={name:null,type:null,tag:-1,map:null,oneof:null,required:!1,repeated:!1,options:{}};e.length;)switch(e[0]){case"=":e.shift(),t.tag=Number(e.shift());break;case"map":if(t.type="map",t.map={from:null,to:null},e.shift(),"<"!==e[0])thrownewError("Unexpected token in map type: "+e[0]);if(e.shift(),t.map.from=e.shift(),","!==e[0])thrownewError("Unexpected token in map type: "+e[0]);if(e.shift(),t.map.to=e.shift(),">"!==e[0])thrownewError("Unexpected token in map type: "+e[0]);e.shift(),t.name=e.shift();break;case"repeated":case"required":case"optional":varn=e.shift();t.required="required"===n,t.repeated="repeated"===n,t.type=e.shift(),t.name=e.shift();break;case"[":t.options=s(e);break;case";":if(null===t.name)thrownewError("Missing field name");if(null===t.type)thrownewError("Missing type in message field: "+t.name);if(-1===t.tag)thrownewError("Missing tag number in message field: "+t.name);returne.shift(),t;default:thrownewError("Unexpected token in message field: "+e[0])}thrownewError("No ; found for message field")},u=function(e){for(vart={enums:[],messages:[],fields:[],extends:[],extensions:null};e.length;)switch(e[0]){case"map":case"repeated":case"optional":case"required":t.fields.push(a(e));break;case"enum":t.enums.push(m(e));break;case"message":t.messages.push(f(e));break;case"extensions":t.extensions=c(e);break;case"oneof":e.shift();varn=e.shift();if("{"!==e[0])thrownewError("Unexpected token in oneof: "+e[0]);for(e.shift();"}"!==e[0];){e.unshift("optional");varr=a(e);r.oneof=n,t.fields.push(r)}e.shift();break;case"extend":t.extends.push(l(e));break;case";":e.shift();break;case"reserved":case"option":for(e.shift();";"!==e[0];)e.shift();break;default:e.unshift("optional"),t.fields.push(a(e))}returnt},l=function(e){vart={name:e[1],message:f(e)};returnt},c=function(e){e.shift();vart=Number(e.shift());if(isNaN(t))thrownewError("Invalid from in extensions definition");if("to"!==e.shift())thrownewError("Expected keyword 'to' in extensions definition");varn=e.shift();if("max"===n&&(n=536870911),n=Number(n),isNaN(n))thrownewError("Invalid to in extensions definition");if(";"!==e.shift())thrownewError("Missing ; in extensions definition");return{from:t,to:n}},f=function(e){e.shift();vart=1,n=[],r={name:e.shift(),enums:[],extends:[],messages:[],fields:[]};if("{"!==e[0])thrownewError("Expected { but found "+e[0]);for(e.shift();e.length;){if("{"===e[0]?t++:"}"===e[0]&&t--,!t)returne.shift(),n=u(n),r.enums=n.enums,r.messages=n.messages,r.fields=n.fields,r.extends=n.extends,r.extensions=n.extensions,r;n.push(e.shift())}if(t)thrownewError("No closing tag for message")},h=function(e){e.shift();vart=e.shift();if(";"!==e[0])thrownewError("Expected ; but found "+e[0]);returne
varr=function(){e.exports=b;vart=86400,n=3200,r=146097*n/400,i=t*r,o=1e3*i,s=1e11*t,a=16777216,u=4294967296,l=1e6,c=1e9,f="000000000",h=Math.trunc||N,p=b.prototype;b.fromDate=C,b.fromInt64BE=R(0,1,2,3,0,4),b.fromInt64LE=R(3,2,1,0,4,0),b.fromString=x,b.fromTimeT=A,p.year=0,p.time=0,p.nano=0,p.addNano=S,p.getNano=E,p.getTimeT=T,p.getYear=v,p.toDate=_,p.toJSON=j,p.toString=O,p.writeInt64BE=P(0,1,2,3,0,4),p.writeInt64LE=P(3,2,1,0,4,0);vard="%Y-%m-%dT%H:%M:%S.%NZ",m=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],g=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],y={"%":"%",F:"%Y-%m-%d",n:"\n",R:"%H:%M",T:"%H:%M:%S",t:"\t",X:"%T",Z:"GMT",z:"+0000"};returnb;functionb(e,t,n){varr=this;if(!(rinstanceofb))returnnewb(e,t,n);r.time=+e||0,r.nano=+t||0,r.year=+n||0,w(r)}functionv(){vare=this.toDate().getUTCFullYear();returne+this.year}functionw(e){vart=e.year,r=e.time,i=e.nano,a,u;if(i<0||l<=i){varc=Math.floor(i/l);i-=c*l,r+=c,a=1}varf=t%n;if(r<-s||s<r||f){u=h(r/o),u&&(t+=u*n,r-=u*o);varp=k(r);p.setUTCFullYear(f+p.getUTCFullYear()),t-=f,r=+p,u=h(t/n);vard=r+u*o;u&&-s<=d&&d<=s&&(t-=u*n,r=d),a=1}returna&&(e.year=t,e.time=r,e.nano=i),e}function_(){vare=w(this);returnk(e.time)}functionk(e){vart=newDate(0);returnt.setTime(e),t}functionS(e){returnthis.nano+=+e||0,this}functionE(){vare=w(this);return(e.time%1e3*l++e.nano+c)%c}functionx(e){vart,n=newb;e+="";varr=e.replace(/^\s*[+\-]?\d+/,function(e){vart=+e,r=1970+(t-1970)%400;returnn.year=t-r,r}).replace(/(?:Z|([+\-]\d{2}):?(\d{2}))$/,function(e,n,r){returnn<0&&(r*=-1),t=6e4*(60*+n++r),""}).replace(/\.\d+$/,function(e){returnn.nano=+(e+f).substr(1,9),""}).split(/\D+/);if(r.length>1?r[1]--:r[1]=0,n.time=t=Date.UTC.apply(Date,r)-(t||0),isNaN(t))thrownewTypeError("Invalid Date");returnw(n)}functionC(e){returnnewb(+e)}functionA(e){returnI(e,0)}functionI(e,t){t|=0,t*=u,e=+e||0;varr=h(t/i)+h(e/i),o=t%i+e%i,s=h(o/i);returns&&(r+=s,o-=s*i),newb(1e3*o,0,r*n)}functionT(){vare=w(this),i=Math.floor(e.time/1e3),o=e.year;returno&&(i+=o*r*t/n),i}functionj(){returnthis.toString().replace(/0{1,6}Z$/,"Z")}functionO(e){vart=this,n=t.toDate(),r={H:l,L:h,M:c,N:p,S:f,Y:o,a:b,b:v,d:a,e:u,m:s};returni(e||d);functioni(e){returne.replace(/%./g,function(e){vart=e[1],n=y[t],o=r[t];returnn?i(n):o?o():e})}functiono(){vare=t.getYear();returne>999999?"+"+e:e>9999?"+"+F(e,6):e>=0?F(e,4):e>=-999999?"-"+F(-e,6):e}functions(){returnL(n.getUTCMonth()+1)}functiona(){returnL(n.getUTCDate())}functionu(){returnM(n.getUTCDate())}functionl(){returnL(n.getUTCHours())}functionc(){returnL(n.getUTCMinutes())}functionf(){returnL(n.getUTCSeconds())}functionh(){returnF(n.getUTCMilliseconds(),3)}functionp(){returnF(t.getNano(),9)}functionb(){returng[n.getUTCDay()]}functionv(){returnm[n.getUTCMonth()]}}functionP(e,i,o,s,a,l){returnc;functionc(e,i){varo=w(this);e||(e=newArray(8)),B(e,i|=0);vars=Math.floor(o.time/1e3),c=o.year*(r*t/n),p=h(c/u)+h(s/u),d=c%u+s%u,m=Math.floor(d/u);returnm&&(p+=m,d-=m*u),f(e,i+a,p),f(e,i+l,d),e}functionf(t,n,r){t[n+e]=r>>24&255,t[n+i]=r>>16&255,t[n+o]=r>>8&255,t[n+s]=255&r}}functionR(e,t,n,r,i,o){returns;functions(e,t){B(e,t|=0);varn=u(e,t+i),r=u(e,t+o);returnI(r,n)}functionu(i,o){returni[o+e]*a+(i[o+t]<<16|i[o+n]<<8|i[o+r])}}functionB(e,t){varn=e&&e.length;if(null==n)thrownewTypeError("Invalid Buffer");if(n<t+8)thrownewRangeError("Out of range")}functionN(e){vart=e-e%1;return0===t&&(e<0||0===e&&1/e!=1/0)?-0:t}functionM(e){return(e>9?"":" ")+(0|e)}functionL(e){return(e>9?"":"0")+(0|e)}functionF(e,t){return(f+(0|e)).substr(-t)}}()},function(e,t,n){"use strict";constr=n(70),i='\nmessageIpnsEntry{\nenumValidityType{\n\t\tEOL=0;// setting an EOL says "this record is valid until..."\n\t}\n\n required bytes value = 1;\n\trequired bytes signature = 2;\n\n\toptional ValidityType validityType = 3;\n\toptional bytes validity = 4;\n\n\toptional uint64 sequence = 5;\n\n\toptional uint64 ttl = 6;\n\n\t// in order for nodes to properly validate a record upon receipt, they need the p
functionn(e){returneinstanceoft||einstanceofDate||einstanceofRegExp}functionr(e){if(einstanceoft){varn=t.alloc?t.alloc(e.length):newt(e.length);returne.copy(n),n}if(einstanceofDate)returnnewDate(e.getTime());if(einstanceofRegExp)returnnewRegExp(e);thrownewError("Unexpected situation")}functioni(e){vart=[];returne.forEach(function(e,o){"object"==typeofe&&null!==e?Array.isArray(e)?t[o]=i(e):n(e)?t[o]=r(e):t[o]=s({},e):t[o]=e}),t}functiono(e,t){return"__proto__"===t?void0:e[t]}vars=e.exports=function(){if(arguments.length<1||"object"!=typeofarguments[0])return!1;if(arguments.length<2)returnarguments[0];vare=arguments[0],t=Array.prototype.slice.call(arguments,1),a,u,l;returnt.forEach(function(t){"object"!=typeoft||null===t||Array.isArray(t)||Object.keys(t).forEach(function(l){returnu=o(e,l),a=o(t,l),a===e?void0:"object"!=typeofa||null===a?void(e[l]=a):Array.isArray(a)?void(e[l]=i(a)):n(a)?void(e[l]=r(a)):"object"!=typeofu||null===u||Array.isArray(u)?void(e[l]=s({},a)):void(e[l]=s(u,a))})}),e}}).call(this,n(0).Buffer)},function(e,t){e.exports=function(e){vart=!1,n=0;returnfunction(){if(n=!0,!t){for(t=!0;n;)n=!1,e();t=!1}}}},function(e,t,n){"use strict";constr=n(11),i=n(37),o=n(50),s=n(261),a=i.DAGLink,u=i.DAGNode;e.exports=functione(t,n,i){returnfunction(e,l){if(1===e.length&&e[0].single&&i.reduceSingleLeafToSelf){constn=e[0];returnl(null,{size:n.size,leafSize:n.leafSize,multihash:n.multihash,path:t.path,name:n.name})}constc=newo("file"),f=e.map(e=>(c.addBlockSize(e.leafSize),newa(e.name,e.size,e.multihash)));r([e=>u.create(c.marshal(),f,e),(e,t)=>s(e,n,i,t)],(e,n)=>{if(e)returnl(e);l(null,{size:n.node.size,leafSize:c.fileSize(),multihash:n.cid.buffer,path:t.path,name:""})})}}},function(e,t,n){"use strict";constr=n(12),i=n(88),o=n(36),s=n(73),a=n(256),u=n(338);e.exports=function(e,t){constn=a(),l=n.source,c=s();returnr(l,u(1/0),i(e),o((e,t)=>{e?c.end(e):1===t.length?(c.push(t[0]),c.end()):t.length>1?c.end(newError("expected a maximum of 1 roots and got "+t.length)):c.end()})),{sink:n.sink,source:c}}},function(e,t,n){"use strict";constr=n(1222),i={maxChildrenPerNode:174};e.exports=function(e,t){constn=Object.assign({},i,t);returnr(e,n)}},function(e,t,n){"use strict";constr=n(12),i=n(43),o=n(88),s=n(36),a=n(73),u=n(256),l=n(338);e.exports=functione(t,n){constc=u(),f=c.source,h=a();functionp(e,a){letu=e;functionc(e,t){e?a(e):t.length>1?p(t,a):a(null,t)}Array.isArray(u)&&(u=i(u)),r(u,l(n.maxChildrenPerNode),o(t),s(c))}returnp(f,(e,t)=>{e?h.end(e):1===t.length?(h.push(t[0]),h.end()):t.length>1?h.end(newError("expected a maximum of 1 roots and got "+t.length)):h.end()}),{sink:c.sink,source:h}}},function(e,t,n){"use strict";constr=n(1224),i={maxChildrenPerNode:174,layerRepeat:4};e.exports=function(e,t){constn=Object.assign({},i,t);returnr(e,n)}},function(e,t,n){"use strict";constr=n(12),i=n(88),o=n(36),s=n(73),a=n(338),u=n(256),l=n(187),c=n(260),f=n(549);e.exports=functione(t,n){consth=u(),p=s(),d=f(()=>{});letm=0;returnr(h.source,d,g(0,-1),a(1/0),i(t),o((e,t)=>{e?p.end(e):1===t.length?(p.push(t[0]),p.end()):t.length>1?p.end(newError("expected a maximum of 1 roots and got "+t.length)):p.end()})),{sink:h.sink,source:p};functiong(e,u){letf=0,h=0,p,y=!1;constb=s();return{source:b,sink:c(v,null,1,_)};functionv(n,u){letc=!1;constf=n[0];h&&!p&&(p=s(),r(p,g(e+1,h-1),l(function(e){this.queue(e)},function(e){e?this.emit("error",e):(c||(c=!0,m++,d.pause()),this.queue(null))}),a(1/0),i(t),o((e,t)=>{m--,e?b.end(e):(t.forEach(e=>{b.push(e)}),w())}))),p?p.push(f):(b.push(f),w()),u()}functionw(){p=null,f++,(0===h&&f===n.maxChildrenPerNode||h>0&&f===n.layerRepeat)&&(f=0,h++),(!y&&u>=0&&h>u||y&&!m)&&(y=!0,b.end()),m||d.resume()}function_(e){e?b.end(e):p?y||(y=!0,p.end()):b.end()}}}},function(e,t,n){"use strict";(function(t){constr=n(145),i=n(295),o=n(11),s=n(226),a=n(260),u=n(73),l=n(1226),c=n(1227),f=n(339),h=n(1235);e.exports=d;constp={wrap:!1,shardSplitThreshold:1e3,onlyHash:!1};functiond(e,n){constd=Object.assign({},p,n),m=s(b,1);letg=w(),y=l({path:"",root:!