diffusion
Version:
Diffusion JavaScript client
2 lines • 441 kB
JavaScript
/*! For license information please see diffusion-core.js.LICENSE.txt */
var diffusion;(()=>{var t={7526:(t,e)=>{"use strict";e.byteLength=function(t){var e=a(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,i=a(t),s=i[0],u=i[1],c=new o(function(t,e,r){return 3*(e+r)/4-r}(0,s,u)),l=0,p=u>0?s-4:s;for(r=0;r<p;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],c[l++]=e>>16&255,c[l++]=e>>8&255,c[l++]=255&e;return 2===u&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[l++]=255&e),1===u&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e),c},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,i=[],s=16383,a=0,c=n-o;a<c;a+=s)i.push(u(t,a,a+s>c?c:a+s));return 1===o?(e=t[n-1],i.push(r[e>>2]+r[e<<4&63]+"==")):2===o&&(e=(t[n-2]<<8)+t[n-1],i.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)r[s]=i[s],n[i.charCodeAt(s)]=s;function a(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function u(t,e,n){for(var o,i,s=[],a=e;a<n;a+=3)o=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]),s.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return s.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},8287:(t,e,r)=>{"use strict";var n=r(7526),o=r(251);e.hp=a,e.IS=50;var i=2147483647;function s(t){if(t>i)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return e.__proto__=a.prototype,e}function a(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return l(t)}return u(t,e,r)}function u(t,e,r){if("string"==typeof t)return function(t,e){if("string"==typeof e&&""!==e||(e="utf8"),!a.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=0|h(t,e),n=s(r),o=n.write(t,e);return o!==r&&(n=n.slice(0,o)),n}(t,e);if(ArrayBuffer.isView(t))return p(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(F(t,ArrayBuffer)||t&&F(t.buffer,ArrayBuffer))return function(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return(n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r)).__proto__=a.prototype,n}(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return a.from(n,e,r);var o=function(t){if(a.isBuffer(t)){var e=0|f(t.length),r=s(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||V(t.length)?s(0):p(t):"Buffer"===t.type&&Array.isArray(t.data)?p(t.data):void 0}(t);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return a.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function c(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function l(t){return c(t),s(t<0?0:0|f(t))}function p(t){for(var e=t.length<0?0:0|f(t.length),r=s(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}function f(t){if(t>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|t}function h(t,e){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||F(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return B(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return k(t).length;default:if(o)return n?-1:B(t).length;e=(""+e).toLowerCase(),o=!0}}function d(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return N(this,e,r);case"utf8":case"utf-8":return T(this,e,r);case"ascii":return R(this,e,r);case"latin1":case"binary":return C(this,e,r);case"base64":return I(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function y(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function v(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),V(r=+r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=a.from(e,n)),a.isBuffer(e))return 0===e.length?-1:m(t,e,r,n,o);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):m(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function m(t,e,r,n,o){var i,s=1,a=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;s=2,a/=2,u/=2,r/=2}function c(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(o){var l=-1;for(i=r;i<a;i++)if(c(t,i)===c(e,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===u)return l*s}else-1!==l&&(i-=i-l),l=-1}else for(r+u>a&&(r=a-u),i=r;i>=0;i--){for(var p=!0,f=0;f<u;f++)if(c(t,i+f)!==c(e,f)){p=!1;break}if(p)return i}return-1}function g(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.length;n>i/2&&(n=i/2);for(var s=0;s<n;++s){var a=parseInt(e.substr(2*s,2),16);if(V(a))return s;t[r+s]=a}return s}function E(t,e,r,n){return j(B(e,t.length-r),t,r,n)}function S(t,e,r,n){return j(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function w(t,e,r,n){return S(t,e,r,n)}function _(t,e,r,n){return j(k(e),t,r,n)}function b(t,e,r,n){return j(function(t,e){for(var r,n,o,i=[],s=0;s<t.length&&!((e-=2)<0);++s)n=(r=t.charCodeAt(s))>>8,o=r%256,i.push(o),i.push(n);return i}(e,t.length-r),t,r,n)}function I(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function T(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,s,a,u,c=t[o],l=null,p=c>239?4:c>223?3:c>191?2:1;if(o+p<=r)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(i=t[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=t[o+1],s=t[o+2],128==(192&i)&&128==(192&s)&&(u=(15&c)<<12|(63&i)<<6|63&s)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=t[o+1],s=t[o+2],a=t[o+3],128==(192&i)&&128==(192&s)&&128==(192&a)&&(u=(15&c)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(l=u)}null===l?(l=65533,p=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=p}return function(t){var e=t.length;if(e<=O)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=O));return r}(n)}a.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),a.poolSize=8192,a.from=function(t,e,r){return u(t,e,r)},a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,a.alloc=function(t,e,r){return function(t,e,r){return c(t),t<=0?s(t):void 0!==e?"string"==typeof r?s(t).fill(e,r):s(t).fill(e):s(t)}(t,e,r)},a.allocUnsafe=function(t){return l(t)},a.allocUnsafeSlow=function(t){return l(t)},a.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==a.prototype},a.compare=function(t,e){if(F(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),F(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(t)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},a.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=a.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(F(i,Uint8Array)&&(i=a.from(i)),!a.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},a.byteLength=h,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)y(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},a.prototype.toString=function(){var t=this.length;return 0===t?"":0===arguments.length?T(this,0,t):d.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(t){if(!a.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t="",r=e.IS;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},a.prototype.compare=function(t,e,r,n,o){if(F(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(n>>>=0),s=(r>>>=0)-(e>>>=0),u=Math.min(i,s),c=this.slice(n,o),l=t.slice(e,r),p=0;p<u;++p)if(c[p]!==l[p]){i=c[p],s=l[p];break}return i<s?-1:s<i?1:0},a.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},a.prototype.indexOf=function(t,e,r){return v(this,t,e,r,!0)},a.prototype.lastIndexOf=function(t,e,r){return v(this,t,e,r,!1)},a.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return g(this,t,e,r);case"utf8":case"utf-8":return E(this,t,e,r);case"ascii":return S(this,t,e,r);case"latin1":case"binary":return w(this,t,e,r);case"base64":return _(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return b(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;function R(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function C(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function N(t,e,r){var n,o=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>o)&&(r=o);for(var i="",s=e;s<r;++s)i+=(n=t[s])<16?"0"+n.toString(16):n.toString(16);return i}function A(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function P(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function x(t,e,r,n,o,i){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function M(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function D(t,e,r,n,i){return e=+e,r>>>=0,i||M(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function L(t,e,r,n,i){return e=+e,r>>>=0,i||M(t,0,r,8),o.write(t,e,r,n,52,8),r+8}a.prototype.slice=function(t,e){var r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return n.__proto__=a.prototype,n},a.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||P(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},a.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||P(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},a.prototype.readUInt8=function(t,e){return t>>>=0,e||P(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return t>>>=0,e||P(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return t>>>=0,e||P(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return t>>>=0,e||P(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUInt32BE=function(t,e){return t>>>=0,e||P(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||P(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},a.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||P(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},a.prototype.readInt8=function(t,e){return t>>>=0,e||P(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},a.prototype.readInt16LE=function(t,e){t>>>=0,e||P(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(t,e){t>>>=0,e||P(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(t,e){return t>>>=0,e||P(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return t>>>=0,e||P(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return t>>>=0,e||P(t,4,this.length),o.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return t>>>=0,e||P(t,4,this.length),o.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return t>>>=0,e||P(t,8,this.length),o.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return t>>>=0,e||P(t,8,this.length),o.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||x(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},a.prototype.writeUIntBE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||x(this,t,e,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},a.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,1,255,0),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},a.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var o=Math.pow(2,8*r-1);x(this,t,e,r,o-1,-o)}var i=0,s=1,a=0;for(this[e]=255&t;++i<r&&(s*=256);)t<0&&0===a&&0!==this[e+i-1]&&(a=1),this[e+i]=(t/s|0)-a&255;return e+r},a.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var o=Math.pow(2,8*r-1);x(this,t,e,r,o-1,-o)}var i=r-1,s=1,a=0;for(this[e+i]=255&t;--i>=0&&(s*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/s|0)-a&255;return e+r},a.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},a.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||x(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeFloatLE=function(t,e,r){return D(this,t,e,!0,r)},a.prototype.writeFloatBE=function(t,e,r){return D(this,t,e,!1,r)},a.prototype.writeDoubleLE=function(t,e,r){return L(this,t,e,!0,r)},a.prototype.writeDoubleBE=function(t,e,r){return L(this,t,e,!1,r)},a.prototype.copy=function(t,e,r,n){if(!a.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o=n-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,n);else if(this===t&&r<e&&e<n)for(var i=o-1;i>=0;--i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return o},a.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){var o=t.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(t=o)}}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var s=a.isBuffer(t)?t:a.from(t,n),u=s.length;if(0===u)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=s[i%u]}return this};var U=/[^+/0-9A-Za-z-_]/g;function B(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],s=0;s<n;++s){if((r=t.charCodeAt(s))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(s+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function k(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(U,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function j(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function F(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function V(t){return t!=t}},1353:(t,e,r)=>{r(5195),r(4895),r(2630),r(115),r(1408),r(3604),r(2982),r(17),r(8636),r(2157),r(1128),r(5755),r(8476),r(7746),r(9693),r(8665),r(475),r(4582),r(9581),r(533),r(9958),r(557),r(4913),r(3555),r(5231),r(5941),r(8763),r(5843),r(9432),r(5086),r(9979);var n=r(9720);t.exports=n.Array},6982:(t,e,r)=>{r(8665),r(7918),r(5086),r(9979);var n=r(9720);t.exports=n.Map},1685:(t,e,r)=>{r(4009),r(6943),r(577),r(4038),r(5365),r(6316),r(2006),r(8844),r(6161),r(1902),r(4867),r(769);var n=r(9720);t.exports=n.Number},9765:(t,e,r)=>{r(345);var n=r(9720);t.exports=n.Object.values},7357:(t,e,r)=>{r(624),r(8665),r(5086),r(9193),r(5880),r(5773),r(3396),r(9979);var n=r(9720);t.exports=n.Promise},7476:(t,e,r)=>{r(8665),r(5086),r(5708),r(9979);var n=r(9720);t.exports=n.Set},1382:(t,e,r)=>{var n=r(7054);r(7918),r(8429),r(3383),r(5188),r(6176),r(4401),r(5303),r(8567),r(9318),r(1845),r(7294),t.exports=n},8165:(t,e,r)=>{var n=r(8077);r(2885),r(1036),r(9404),r(6196),r(9982),r(7399),r(6970),r(1048),r(9114),r(2236),r(2809),r(1650),r(6884),r(8710),r(3617),r(3019),r(8657),r(3380),r(6554),r(5256),t.exports=n},7460:(t,e,r)=>{var n=r(4604);t.exports=n,r(9036),r(6767)},8594:(t,e,r)=>{var n=r(4810);t.exports=n},6378:(t,e,r)=>{var n=r(3858);r(5149),r(1037),r(4175),r(1084),t.exports=n},1275:(t,e,r)=>{var n=r(2499);r(7163),r(9878),r(8198),r(5537),r(708),r(8900),r(2657),r(1452),r(6546),r(1749),r(6754),r(6299),r(3643),r(3053),r(1029),r(9155),r(3070),r(3696),t.exports=n},9085:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},7473:(t,e,r)=>{var n=r(5335);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},298:(t,e,r)=>{var n=r(1602),o=r(3105),i=r(3610),s=n("unscopables"),a=Array.prototype;null==a[s]&&i.f(a,s,{configurable:!0,value:o(null)}),t.exports=function(t){a[s][t]=!0}},5190:t=>{t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},3938:(t,e,r)=>{var n=r(5335);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},9688:(t,e,r)=>{"use strict";var n=r(2612),o=r(6539),i=r(3747),s=Math.min;t.exports=[].copyWithin||function(t,e){var r=n(this),a=i(r.length),u=o(t,a),c=o(e,a),l=arguments.length>2?arguments[2]:void 0,p=s((void 0===l?a:o(l,a))-c,a-u),f=1;for(c<u&&u<c+p&&(f=-1,c+=p-1,u+=p-1);p-- >0;)c in r?r[u]=r[c]:delete r[u],u+=f,c+=f;return r}},7806:(t,e,r)=>{"use strict";var n=r(2612),o=r(6539),i=r(3747);t.exports=function(t){for(var e=n(this),r=i(e.length),s=arguments.length,a=o(s>1?arguments[1]:void 0,r),u=s>2?arguments[2]:void 0,c=void 0===u?r:o(u,r);c>a;)e[a++]=t;return e}},516:(t,e,r)=>{"use strict";var n=r(1344).forEach,o=r(2349)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},447:t=>{t.exports=function(t,e){for(var r=0,n=e.length,o=new t(n);n>r;)o[r]=e[r++];return o}},1027:(t,e,r)=>{"use strict";var n=r(6885),o=r(2612),i=r(1332),s=r(9034),a=r(3747),u=r(2057),c=r(1898);t.exports=function(t){var e,r,l,p,f,h,d=o(t),y="function"==typeof this?this:Array,v=arguments.length,m=v>1?arguments[1]:void 0,g=void 0!==m,E=c(d),S=0;if(g&&(m=n(m,v>2?arguments[2]:void 0,2)),null==E||y==Array&&s(E))for(r=new y(e=a(d.length));e>S;S++)h=g?m(d[S],S):d[S],u(r,S,h);else for(f=(p=E.call(d)).next,r=new y;!(l=f.call(p)).done;S++)h=g?i(p,m,[l.value,S],!0):l.value,u(r,S,h);return r.length=S,r}},4124:(t,e,r)=>{var n=r(6885),o=r(8664),i=r(2612),s=r(3747),a=r(6032),u=r(3105),c=r(447),l=[].push;t.exports=function(t,e,r,p){for(var f,h,d,y=i(t),v=o(y),m=n(e,r,3),g=u(null),E=s(v.length),S=0;E>S;S++)d=v[S],(h=a(m(d,S,y)))in g?l.call(g[h],d):g[h]=[d];if(p&&(f=p(y))!==Array)for(h in g)g[h]=c(f,g[h]);return g}},8186:(t,e,r)=>{var n=r(5476),o=r(3747),i=r(6539),s=function(t){return function(e,r,s){var a,u=n(e),c=o(u.length),l=i(s,c);if(t&&r!=r){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},5582:(t,e,r)=>{var n=r(6885),o=r(8664),i=r(2612),s=r(3747),a=function(t){var e=1==t;return function(r,a,u){for(var c,l=i(r),p=o(l),f=n(a,u,3),h=s(p.length);h-- >0;)if(f(c=p[h],h,l))switch(t){case 0:return c;case 1:return h}return e?-1:void 0}};t.exports={findLast:a(0),findLastIndex:a(1)}},1344:(t,e,r)=>{var n=r(6885),o=r(8664),i=r(2612),s=r(3747),a=r(2998),u=[].push,c=function(t){var e=1==t,r=2==t,c=3==t,l=4==t,p=6==t,f=7==t,h=5==t||p;return function(d,y,v,m){for(var g,E,S=i(d),w=o(S),_=n(y,v,3),b=s(w.length),I=0,T=m||a,O=e?T(d,b):r||f?T(d,0):void 0;b>I;I++)if((h||I in w)&&(E=_(g=w[I],I,S),t))if(e)O[I]=E;else if(E)switch(t){case 3:return!0;case 5:return g;case 6:return I;case 2:u.call(O,g)}else switch(t){case 4:return!1;case 7:u.call(O,g)}return p?-1:c||l?l:O}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},3470:(t,e,r)=>{"use strict";var n=r(5476),o=r(7317),i=r(3747),s=r(2349),a=Math.min,u=[].lastIndexOf,c=!!u&&1/[1].lastIndexOf(1,-0)<0,l=s("lastIndexOf"),p=c||!l;t.exports=p?function(t){if(c)return u.apply(this,arguments)||0;var e=n(this),r=i(e.length),s=r-1;for(arguments.length>1&&(s=a(s,o(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in e&&e[s]===t)return s||0;return-1}:u},5634:(t,e,r)=>{var n=r(2074),o=r(1602),i=r(6845),s=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2349:(t,e,r)=>{"use strict";var n=r(2074);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},2237:(t,e,r)=>{var n=r(9085),o=r(2612),i=r(8664),s=r(3747),a=function(t){return function(e,r,a,u){n(r);var c=o(e),l=i(c),p=s(c.length),f=t?p-1:0,h=t?-1:1;if(a<2)for(;;){if(f in l){u=l[f],f+=h;break}if(f+=h,t?f<0:p<=f)throw TypeError("Reduce of empty array with no initial value")}for(;t?f>=0:p>f;f+=h)f in l&&(u=r(u,l[f],f,c));return u}};t.exports={left:a(!1),right:a(!0)}},8039:t=>{var e=Math.floor,r=function(t,i){var s=t.length,a=e(s/2);return s<8?n(t,i):o(r(t.slice(0,a),i),r(t.slice(a),i),i)},n=function(t,e){for(var r,n,o=t.length,i=1;i<o;){for(n=i,r=t[i];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},o=function(t,e,r){for(var n=t.length,o=e.length,i=0,s=0,a=[];i<n||s<o;)i<n&&s<o?a.push(r(t[i],e[s])<=0?t[i++]:e[s++]):a.push(i<n?t[i++]:e[s++]);return a};t.exports=r},3892:(t,e,r)=>{var n=r(5335),o=r(8679),i=r(1602)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)?n(e)&&null===(e=e[i])&&(e=void 0):e=void 0),void 0===e?Array:e}},2998:(t,e,r)=>{var n=r(3892);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},5512:(t,e,r)=>{"use strict";var n=r(3747),o=r(2612),i=r(6492),s=r(2998),a=[].push;t.exports=function(t){var e,r,u,c,l=o(this),p=n(l.length),f=s(l,0),h=new(i("Map"));if("function"==typeof t)e=t;else{if(null!=t)throw new TypeError("Incorrect resolver!");e=function(t){return t}}for(r=0;r<p;r++)c=e(u=l[r]),h.has(c)||h.set(c,u);return h.forEach((function(t){a.call(f,t)})),f}},1332:(t,e,r)=>{var n=r(3938),o=r(9868);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){throw o(t),e}}},7499:(t,e,r)=>{var n=r(1602)("iterator"),o=!1;try{var i=0,s={next:function(){return{done:!!i++}},return:function(){o=!0}};s[n]=function(){return this},Array.from(s,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},8569:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},3062:(t,e,r)=>{var n=r(3129),o=r(8569),i=r(1602)("toStringTag"),s="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:s?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},7115:(t,e,r)=>{"use strict";var n=r(3938),o=r(9085);t.exports=function(){for(var t=n(this),e=o(t.add),r=0,i=arguments.length;r<i;r++)e.call(t,arguments[r]);return t}},7593:(t,e,r)=>{"use strict";var n=r(3938),o=r(9085);t.exports=function(){for(var t,e=n(this),r=o(e.delete),i=!0,s=0,a=arguments.length;s<a;s++)t=r.call(e,arguments[s]),i=i&&t;return!!i}},8848:(t,e,r)=>{"use strict";var n=r(9085),o=r(6885),i=r(2929);t.exports=function(t){var e,r,s,a,u=arguments.length,c=u>1?arguments[1]:void 0;return n(this),(e=void 0!==c)&&n(c),null==t?new this:(r=[],e?(s=0,a=o(c,u>2?arguments[2]:void 0,2),i(t,(function(t){r.push(a(t,s++))}))):i(t,r.push,{that:r}),new this(r))}},6261:t=>{"use strict";t.exports=function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}},5959:(t,e,r)=>{"use strict";var n=r(3610).f,o=r(3105),i=r(3075),s=r(6885),a=r(5190),u=r(2929),c=r(5723),l=r(3524),p=r(5077),f=r(2014).fastKey,h=r(9206),d=h.set,y=h.getterFor;t.exports={getConstructor:function(t,e,r,c){var l=t((function(t,n){a(t,l,e),d(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),p||(t.size=0),null!=n&&u(n,t[c],{that:t,AS_ENTRIES:r})})),h=y(e),v=function(t,e,r){var n,o,i=h(t),s=m(t,e);return s?s.value=r:(i.last=s={index:o=f(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=s),n&&(n.next=s),p?i.size++:t.size++,"F"!==o&&(i.index[o]=s)),t},m=function(t,e){var r,n=h(t),o=f(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return i(l.prototype,{clear:function(){for(var t=h(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,p?t.size=0:this.size=0},delete:function(t){var e=this,r=h(e),n=m(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first==n&&(r.first=o),r.last==n&&(r.last=i),p?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=h(this),n=s(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!m(this,t)}}),i(l.prototype,r?{get:function(t){var e=m(this,t);return e&&e.value},set:function(t,e){return v(this,0===t?0:t,e)}}:{add:function(t){return v(this,t=0===t?0:t,t)}}),p&&n(l.prototype,"size",{get:function(){return h(this).size}}),l},setStrong:function(t,e,r){var n=e+" Iterator",o=y(e),i=y(n);c(t,e,(function(t,e){d(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),l(e)}}},2327:(t,e,r)=>{"use strict";var n=r(1605),o=r(200),i=r(4977),s=r(7485),a=r(2014),u=r(2929),c=r(5190),l=r(5335),p=r(2074),f=r(7499),h=r(5282),d=r(3054);t.exports=function(t,e,r){var y=-1!==t.indexOf("Map"),v=-1!==t.indexOf("Weak"),m=y?"set":"add",g=o[t],E=g&&g.prototype,S=g,w={},_=function(t){var e=E[t];s(E,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(v&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!l(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(v&&!l(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(i(t,"function"!=typeof g||!(v||E.forEach&&!p((function(){(new g).entries().next()})))))S=r.getConstructor(e,t,y,m),a.enable();else if(i(t,!0)){var b=new S,I=b[m](v?{}:-0,1)!=b,T=p((function(){b.has(1)})),O=f((function(t){new g(t)})),R=!v&&p((function(){for(var t=new g,e=5;e--;)t[m](e,e);return!t.has(-0)}));O||((S=e((function(e,r){c(e,S,t);var n=d(new g,e,S);return null!=r&&u(r,n[m],{that:n,AS_ENTRIES:y}),n}))).prototype=E,E.constructor=S),(T||R)&&(_("delete"),_("has"),y&&_("get")),(R||I)&&_(m),v&&E.clear&&delete E.clear}return w[t]=S,n({global:!0,forced:S!=g},w),h(S,t),v||r.setStrong(S,t,y),S}},4361:(t,e,r)=>{var n=r(1883),o=r(5816),i=r(7632),s=r(3610);t.exports=function(t,e){for(var r=o(e),a=s.f,u=i.f,c=0;c<r.length;c++){var l=r[c];n(t,l)||a(t,l,u(e,l))}}},7168:(t,e,r)=>{var n=r(2074);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},2147:(t,e,r)=>{"use strict";var n=r(9306).IteratorPrototype,o=r(3105),i=r(6843),s=r(5282),a=r(2228),u=function(){return this};t.exports=function(t,e,r){var c=e+" Iterator";return t.prototype=o(n,{next:i(1,r)}),s(t,c,!1,!0),a[c]=u,t}},7712:(t,e,r)=>{var n=r(5077),o=r(3610),i=r(6843);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},6843:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},2057:(t,e,r)=>{"use strict";var n=r(6032),o=r(3610),i=r(6843);t.exports=function(t,e,r){var s=n(e);s in t?o.f(t,s,i(0,r)):t[s]=r}},5723:(t,e,r)=>{"use strict";var n=r(1605),o=r(2147),i=r(7970),s=r(9686),a=r(5282),u=r(7712),c=r(7485),l=r(1602),p=r(6926),f=r(2228),h=r(9306),d=h.IteratorPrototype,y=h.BUGGY_SAFARI_ITERATORS,v=l("iterator"),m="keys",g="values",E="entries",S=function(){return this};t.exports=function(t,e,r,l,h,w,_){o(r,e,l);var b,I,T,O=function(t){if(t===h&&P)return P;if(!y&&t in N)return N[t];switch(t){case m:case g:case E:return function(){return new r(this,t)}}return function(){return new r(this)}},R=e+" Iterator",C=!1,N=t.prototype,A=N[v]||N["@@iterator"]||h&&N[h],P=!y&&A||O(h),x="Array"==e&&N.entries||A;if(x&&(b=i(x.call(new t)),d!==Object.prototype&&b.next&&(p||i(b)===d||(s?s(b,d):"function"!=typeof b[v]&&u(b,v,S)),a(b,R,!0,!0),p&&(f[R]=S))),h==g&&A&&A.name!==g&&(C=!0,P=function(){return A.call(this)}),p&&!_||N[v]===P||u(N,v,P),f[e]=P,h)if(I={values:O(g),keys:w?P:O(m),entries:O(E)},_)for(T in I)(y||C||!(T in N))&&c(N,T,I[T]);else n({target:e,proto:!0,forced:y||C},I);return I}},5077:(t,e,r)=>{var n=r(2074);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},3262:(t,e,r)=>{var n=r(200),o=r(5335),i=n.document,s=o(i)&&o(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},5549:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},3727:(t,e,r)=>{var n=r(7061).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},8523:t=>{t.exports="object"==typeof window},7413:(t,e,r)=>{var n=r(7061);t.exports=/MSIE|Trident/.test(n)},2671:(t,e,r)=>{var n=r(7061),o=r(200);t.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==o.Pebble},2050:(t,e,r)=>{var n=r(7061);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},5223:(t,e,r)=>{var n=r(8569),o=r(200);t.exports="process"==n(o.process)},4318:(t,e,r)=>{var n=r(7061);t.exports=/web0s(?!.*chrome)/i.test(n)},7061:(t,e,r)=>{var n=r(6492);t.exports=n("navigator","userAgent")||""},6845:(t,e,r)=>{var n,o,i=r(200),s=r(7061),a=i.process,u=i.Deno,c=a&&a.versions||u&&u.version,l=c&&c.v8;l?o=(n=l.split("."))[0]<4?1:n[0]+n[1]:s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},2346:(t,e,r)=>{var n=r(7061).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},290:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1605:(t,e,r)=>{var n=r(200),o=r(7632).f,i=r(7712),s=r(7485),a=r(5975),u=r(4361),c=r(4977);t.exports=function(t,e){var r,l,p,f,h,d=t.target,y=t.global,v=t.stat;if(r=y?n:v?n[d]||a(d,{}):(n[d]||{}).prototype)for(l in e){if(f=e[l],p=t.noTargetGet?(h=o(r,l))&&h.value:r[l],!c(y?l:d+(v?".":"#")+l,t.forced)&&void 0!==p){if(typeof f==typeof p)continue;u(f,p)}(t.sham||p&&p.sham)&&i(f,"sham",!0),s(r,l,f,t)}}},2074:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},9608:(t,e,r)=>{"use strict";var n=r(8679),o=r(3747),i=r(6885),s=function(t,e,r,a,u,c,l,p){for(var f,h=u,d=0,y=!!l&&i(l,p,3);d<a;){if(d in r){if(f=y?y(r[d],d,e):r[d],c>0&&n(f))h=s(t,e,f,o(f.length),h,c-1)-1;else{if(h>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[h]=f}h++}d++}return h};t.exports=s},5159:(t,e,r)=>{var n=r(2074);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},6885:(t,e,r)=>{var n=r(9085);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},6492:(t,e,r)=>{var n=r(200);t.exports=function(t,e){return arguments.length<2?"function"==typeof(r=n[t])?r:void 0:n[t]&&n[t][e];var r}},1898:(t,e,r)=>{var n=r(3062),o=r(2228),i=r(1602)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},9526:(t,e,r)=>{var n=r(3938),o=r(1898);t.exports=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return n(e.call(t))}},9219:t=>{t.exports=function(t){return Map.prototype.entries.call(t)}},253:t=>{t.exports=function(t){return Set.prototype.values.call(t)}},200:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},1883:(t,e,r)=>{var n=r(2612),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(n(t),e)}},7708:t=>{t.exports={}},9778:(t,e,r)=>{var n=r(200);t.exports=function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}},8890:(t,e,r)=>{var n=r(6492);t.exports=n("document","documentElement")},7694:(t,e,r)=>{var n=r(5077),o=r(2074),i=r(3262);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8664:(t,e,r)=>{var n=r(2074),o=r(8569),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},3054:(t,e,r)=>{var n=r(5335),o=r(9686);t.exports=function(t,e,r){var i,s;return o&&"function"==typeof(i=e.constructor)&&i!==r&&n(s=i.prototype)&&s!==r.prototype&&o(t,s),t}},9965:(t,e,r)=>{var n=r(9310),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},2014:(t,e,r)=>{var n=r(1605),o=r(7708),i=r(5335),s=r(1883),a=r(3610).f,u=r(4789),c=r(6509),l=r(665),p=r(5159),f=!1,h=l("meta"),d=0,y=Object.isExtensible||function(){return!0},v=function(t){a(t,h,{value:{objectID:"O"+d++,weakData:{}}})},m=t.exports={enable:function(){m.enable=function(){},f=!0;var t=u.f,e=[].splice,r={};r[h]=1,t(r).length&&(u.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===h){e.call(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,h)){if(!y(t))return"F";if(!e)return"E";v(t)}return t[h].objectID},getWeakData:function(t,e){if(!s(t,h)){if(!y(t))return!0;if(!e)return!1;v(t)}return t[h].weakData},onFreeze:function(t){return p&&f&&y(t)&&!s(t,h)&&v(t),t}};o[h]=!0},9206:(t,e,r)=>{var n,o,i,s=r(2886),a=r(200),u=r(5335),c=r(7712),l=r(1883),p=r(9310),f=r(5904),h=r(7708),d="Object already initialized",y=a.WeakMap;if(s||p.state){var v=p.state||(p.state=new y),m=v.get,g=v.has,E=v.set;n=function(t,e){if(g.call(v,t))throw new TypeError(d);return e.facade=t,E.call(v,t,e),e},o=function(t){return m.call(v,t)||{}},i=function(t){return g.call(v,t)}}else{var S=f("state");h[S]=!0,n=function(t,e){if(l(t,S))throw new TypeError(d);return e.facade=t,c(t,S,e),e},o=function(t){return l(t,S)?t[S]:{}},i=function(t){return l(t,S)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},9034:(t,e,r)=>{var n=r(1602),o=r(2228),i=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||s[i]===t)}},8679:(t,e,r)=>{var n=r(8569);t.exports=Array.isArray||function(t){return"Array"==n(t)}},4977:(t,e,r)=>{var n=r(2074),o=/#|\.prototype\./,i=function(t,e){var r=a[s(t)];return r==c||r!=u&&("function"==typeof e?n(e):!!e)},s=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},a=i.data={},u=i.NATIVE="N",c=i.POLYFILL="P";t.exports=i},9136:(t,e,r)=>{var n=r(5335),o=Math.floor;t.exports=function(t){return!n(t)&&isFinite(t)&&o(t)===t}},5335:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},6926:t=>{t.exports=!1},2328:(t,e,r)=>{var n=r(6492),o=r(5225);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return"function"==typeof e&&Object(t)instanceof e}},2929:(t,e,r)=>{var n=r(3938),o=r(9034),i=r(3747),s=r(6885),a=r(1898),u=r(9868),c=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,r){var l,p,f,h,d,y,v,m=r&&r.that,g=!(!r||!r.AS_ENTRIES),E=!(!r||!r.IS_ITERATOR),S=!(!r||!r.INTERRUPTED),w=s(e,m,1+g+S),_=function(t){return l&&u(l),new c(!0,t)},b=function(t){return g?(n(t),S?w(t[0],t[1],_):w(t[0],t[1])):S?w(t,_):w(t)};if(E)l=t;else{if("function"!=typeof(p=a(t)))throw TypeError("Target is not iterable");if(o(p)){for(f=0,h=i(t.length);h>f;f++)if((d=b(t[f]))&&d instanceof c)return d;return new c(!1)}l=p.call(t)}for(y=l.next;!(v=y.call(l)).done;){try{d=b(v.value)}catch(t){throw u(l),t}if("object"==typeof d&&d&&d instanceof c)return d}return new c(!1)}},9868:(t,e,r)=>{var n=r(3938);t.exports=function(t){var e=t.return;if(void 0!==e)return n(e.call(t)).value}},9306:(t,e,r)=>{"use strict";var n,o,i,s=r(2074),a=r(7970),u=r(7712),c=r(1883),l=r(1602),p=r(6926),f=l("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(n=o):h=!0);var d=null==n||s((function(){var t={};return n[f].call(t)!==t}));d&&(n={}),p&&!d||c(n,f)||u(n,f,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},2228:t=>{t.exports={}},1617:(t,e,r)=>{"use strict";var n=r(3938);t.exports=function(t,e){var r=n(this),o=r.has(t)&&"update"in e?e.update(r.get(t),t,r):e.insert(t,r);return r.set(t,o),o}},5877:(t,e,r)=>{"use strict";var n=r(3938);t.exports=function(t,e){var r,o=n(this),i=arguments.length>2?arguments[2]:void 0;if("function"!=typeof e&&"function"!=typeof i)throw TypeError("At least one callback required");return o.has(t)?(r=o.get(t),"function"==typeof e&&(r=e(r),o.set(t,r))):"function"==typeof i&&(r=i(),o.set(t,r)),r}},7462:(t,e,r)=>{var n,o,i,s,a,u,c,l,p=r(200),f=r(7632).f,h=r(4922).set,d=r(2050),y=r(2671),v=r(4318),m=r(5223),g=p.MutationObserver||p.WebKitMutationObserver,E=p.document,S=p.process,w=p.Promise,_=f(p,"queueMicrotask"),b=_&&_.value;b||(n=function(){var t,e;for(m&&(t=S.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?s():i=void 0,t}}i=void 0,t&&t.enter()},d||m||v||!g||!E?!y&&w&&w.resolve?((c=w.resolve(void 0)).constructor=w,l=c.then,s=function(){l.call(c,n)}):s=m?function(){S.nextTick(n)}:function(){h.call(p,n)}:(a=!0,u=E.createTextNode(""),new g(n).observe(u,{characterData:!0}),s=function(){u.data=a=!a})),t.exports=b||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,s()),i=e}},3737:(t,e,r)=>{var n=r(200);t.exports=n.Promise},1849:(t,e,r)=>{var n=r(6845),o=r(2074);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},2886:(t,e,r)=>{var n=r(200),o=r(9965),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},9836:(t,e,r)=>{"use strict";var n=r(9085),o=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new o(t)}},1071:(t,e,r)=>{var n=r(200).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&n(t)}},5963:(t,e,r)=>{var n=r(200),o=r(5362),i=r(9163).trim,s=r(5073),a=n.parseFloat,u=1/a(s+"-0")!=-1/0;t.exports=u?function(t){var e=i(o(t)),r=a(e);return 0===r&&"-"==e.charAt(0)?-0:r}:a},7292:(t,e,r)=>{var n=r(200),o=r(5362),i=r(9163).trim,s=r(5073),a=n.parseInt,u=/^[+-]?0[Xx]/,c=8!==a(s+"08")||22!==a(s+"0x16");t.exports=c?function(t,e){var r=i(o(t));return a(r,e>>>0||(u.test(r)?16:10))}:a},3703:(t,e,r)=>{"use strict";var n=r(9206),o=r(2147),i=r(5335),s=r(5318),a=r(5077),u="Incorrect Number.range arguments",c="NumericRangeIterator",l=n.set,p=n.getterFor(c),f=o((function(t,e,r,n,o,s){if(typeof t!=n||e!==1/0&&e!==-1/0&&typeof e!=n)throw new TypeError(u);if(t===1/0||t===-1/0)throw new RangeError(u);var p,f=e>t,h=!1;if(void 0===r)p=void 0;else if(i(r))p=r.step,h=!!r.inclusive;else{if(typeof r!=n)throw new TypeError(u);p=r}if(null==p&&(p=f?s:-s),typeof p!=n)throw new TypeError(u);if(p===1/0||p===-1/0||p===o&&t!==e)throw new RangeError(u);l(this,{type:c,start:t,end:e,step:p,inclusiveEnd:h,hitsEnd:t!=t||e!=e||p!=p||e>t!=p>o,currentCount:o,zero:o}),a||(this.start=t,this.end=e,this.step=p,this.inclusive=h)}),c,(function(){var t=p(this);if(t.hitsEnd)return{value:void 0,done:!0};var e=t.start,r=t.end,n=e+t.step*t.currentCount++;n===r&&(t.hitsEnd=!0);var o=t.inclusiveEnd;return(r>e?o?n>r:n>=r:o?r>n:r>=n)?{value:void 0,done:t.hitsEnd=!0}:{value:n,done:!1}})),h=function(t){return{get:t,set:function(){},configurable:!0,enumerable:!1}};a&&s(f.prototype,{start:h((function(){return p(this).start})),end:h((function(){return p(this).end})),inclusive:h((function(){return p(this).inclusiveEnd})),step:h((function(){return p(this).step}))}),t.exports=f},3105:(t,e,r)=>{var n,o=r(3938),i=r(5318),s=r(290),a=r(7708),u=r(8890),c=r(3262),l=r(5904),p="prototype",f="script",h=l("IE_PROTO"),d=function(){},y=function(t){return"<"+f+">"+t+"</"+f+">"},v=function(t){t.write(y("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;m="undefined"!=typeof document?document.domain&&n?v(n):(e=c("iframe"),r="java"+f+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(y("document.F=Object")),t.close(),t.F):v(n);for(var o=s.length;o--;)delete m[p][s[o]];return m()};a[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d[p]=o(t),r=new d,d[p]=null,r[h]=t):r=m(),void 0===e?r:i(r,e)}},5318:(t,e,r)=>{var n=r(5077),o=r(3610),i=r(3938),s=r(1641);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=s(e),a=n.length,u=0;a>u;)o.f(t,r=n[u++],e[r]);return t}},3610:(t,e,r)=>{var n=r(5077),o=r(7694),i=r(3938),s=r(6032),a=Object.defineProperty;e.f=n?a:function(t,e,r){if(i(t),e=s(e),i(r),o)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},7632:(t,e,r)=>{var n=r(5077),o=r(9304),i=r(6843),s=r(5476),a=r(6032),u=r(1883),c=r(7694),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=s(t),e=a(e),c)try{return l(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},6509:(t,e,r)=>{var n=r(5476),o=r(4789).f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return s.slice()}}(t):o(n(t))}},4789:(t,e,r)=>{var n=r(6347),o=r(290).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},8916:(t,e)=>{e.f=Object.getOwnPropertySymbols},7970:(t,e,r)=>{var n=r(1883),o=r(2612),i=r(5904),s=r(7168),a=i("IE_PROTO"),u=Object.prototype;t.exports=s?Object.getPrototypeOf:function(t){return t=o(t),n(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},6347:(t,e,r)=>{var n=r(1883),o=r(5476),i=r(8186).indexOf,s=r(7708);t.exports=function(t,e){var r,a=o(t),u=0,c=[];for(r in a)!n(