t2-model-skinner/docs/_next/static/chunks/imageProcessing.worker-e73713bf981eb595.worker.js
2024-04-28 20:01:35 -07:00

16 lines
320 KiB
JavaScript
Raw Blame History

!function(){var t={187:function(t){"use strict";var r,i="object"==typeof Reflect?Reflect:null,p=i&&"function"==typeof i.apply?i.apply:function(t,r,i){return Function.prototype.apply.call(t,r,i)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var y=Number.isNaN||function(t){return t!=t};function EventEmitter(){EventEmitter.init.call(this)}t.exports=EventEmitter,t.exports.once=function(t,r){return new Promise(function(i,p){function errorListener(i){t.removeListener(r,resolver),p(i)}function resolver(){"function"==typeof t.removeListener&&t.removeListener("error",errorListener),i([].slice.call(arguments))}eventTargetAgnosticAddListener(t,r,resolver,{once:!0}),"error"!==r&&"function"==typeof t.on&&eventTargetAgnosticAddListener(t,"error",errorListener,{once:!0})})},EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._eventsCount=0,EventEmitter.prototype._maxListeners=void 0;var b=10;function checkListener(t){if("function"!=typeof t)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function _getMaxListeners(t){return void 0===t._maxListeners?EventEmitter.defaultMaxListeners:t._maxListeners}function _addListener(t,r,i,p){if(checkListener(i),void 0===(b=t._events)?(b=t._events=Object.create(null),t._eventsCount=0):(void 0!==b.newListener&&(t.emit("newListener",r,i.listener?i.listener:i),b=t._events),_=b[r]),void 0===_)_=b[r]=i,++t._eventsCount;else if("function"==typeof _?_=b[r]=p?[i,_]:[_,i]:p?_.unshift(i):_.push(i),(y=_getMaxListeners(t))>0&&_.length>y&&!_.warned){_.warned=!0;var y,b,_,m=Error("Possible EventEmitter memory leak detected. "+_.length+" "+String(r)+" listeners added. Use emitter.setMaxListeners() to increase limit");m.name="MaxListenersExceededWarning",m.emitter=t,m.type=r,m.count=_.length,console&&console.warn&&console.warn(m)}return t}function onceWrapper(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(t,r,i){var p={fired:!1,wrapFn:void 0,target:t,type:r,listener:i},y=onceWrapper.bind(p);return y.listener=i,p.wrapFn=y,y}function _listeners(t,r,i){var p=t._events;if(void 0===p)return[];var y=p[r];return void 0===y?[]:"function"==typeof y?i?[y.listener||y]:[y]:i?function(t){for(var r=Array(t.length),i=0;i<r.length;++i)r[i]=t[i].listener||t[i];return r}(y):arrayClone(y,y.length)}function listenerCount(t){var r=this._events;if(void 0!==r){var i=r[t];if("function"==typeof i)return 1;if(void 0!==i)return i.length}return 0}function arrayClone(t,r){for(var i=Array(r),p=0;p<r;++p)i[p]=t[p];return i}function eventTargetAgnosticAddListener(t,r,i,p){if("function"==typeof t.on)p.once?t.once(r,i):t.on(r,i);else if("function"==typeof t.addEventListener)t.addEventListener(r,function wrapListener(y){p.once&&t.removeEventListener(r,wrapListener),i(y)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:!0,get:function(){return b},set:function(t){if("number"!=typeof t||t<0||y(t))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");b=t}}),EventEmitter.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},EventEmitter.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||y(t))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},EventEmitter.prototype.getMaxListeners=function(){return _getMaxListeners(this)},EventEmitter.prototype.emit=function(t){for(var r=[],i=1;i<arguments.length;i++)r.push(arguments[i]);var y="error"===t,b=this._events;if(void 0!==b)y=y&&void 0===b.error;else if(!y)return!1;if(y){if(r.length>0&&(_=r[0]),_ instanceof Error)throw _;var _,m=Error("Unhandled error."+(_?" ("+_.message+")":""));throw m.context=_,m}var w=b[t];if(void 0===w)return!1;if("function"==typeof w)p(w,this,r);else for(var S=w.length,A=arrayClone(w,S),i=0;i<S;++i)p(A[i],this,r);return!0},EventEmitter.prototype.addListener=function(t,r){return _addListener(this,t,r,!1)},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.prependListener=function(t,r){return _addListener(this,t,r,!0)},EventEmitter.prototype.once=function(t,r){return checkListener(r),this.on(t,_onceWrap(this,t,r)),this},EventEmitter.prototype.prependOnceListener=function(t,r){return checkListener(r),this.prependListener(t,_onceWrap(this,t,r)),this},EventEmitter.prototype.removeListener=function(t,r){var i,p,y,b,_;if(checkListener(r),void 0===(p=this._events)||void 0===(i=p[t]))return this;if(i===r||i.listener===r)0==--this._eventsCount?this._events=Object.create(null):(delete p[t],p.removeListener&&this.emit("removeListener",t,i.listener||r));else if("function"!=typeof i){for(y=-1,b=i.length-1;b>=0;b--)if(i[b]===r||i[b].listener===r){_=i[b].listener,y=b;break}if(y<0)return this;0===y?i.shift():function(t,r){for(;r+1<t.length;r++)t[r]=t[r+1];t.pop()}(i,y),1===i.length&&(p[t]=i[0]),void 0!==p.removeListener&&this.emit("removeListener",t,_||r)}return this},EventEmitter.prototype.off=EventEmitter.prototype.removeListener,EventEmitter.prototype.removeAllListeners=function(t){var r,i,p;if(void 0===(i=this._events))return this;if(void 0===i.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==i[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete i[t]),this;if(0==arguments.length){var y,b=Object.keys(i);for(p=0;p<b.length;++p)"removeListener"!==(y=b[p])&&this.removeAllListeners(y);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(r=i[t]))this.removeListener(t,r);else if(void 0!==r)for(p=r.length-1;p>=0;p--)this.removeListener(t,r[p]);return this},EventEmitter.prototype.listeners=function(t){return _listeners(this,t,!0)},EventEmitter.prototype.rawListeners=function(t){return _listeners(this,t,!1)},EventEmitter.listenerCount=function(t,r){return"function"==typeof t.listenerCount?t.listenerCount(r):listenerCount.call(t,r)},EventEmitter.prototype.listenerCount=listenerCount,EventEmitter.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},105:function(t,r,i){"use strict";var p=i(876).Buffer;let{PassThrough:y}=i(681);t.exports=t=>{t={...t};let{array:r}=t,{encoding:i}=t,b="buffer"===i,_=!1;r?_=!(i||b):i=i||"utf8",b&&(i=null);let m=new y({objectMode:_});i&&m.setEncoding(i);let w=0,S=[];return m.on("data",t=>{S.push(t),_?w=S.length:w+=t.length}),m.getBufferedValue=()=>r?S:b?p.concat(S,w):S.join(""),m.getBufferedLength=()=>w,m}},31:function(t,r,i){"use strict";let{constants:p}=i(876),y=i(681),{promisify:b}=i(720),_=i(105),m=b(y.pipeline);let MaxBufferError=class MaxBufferError extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}};async function getStream(t,r){if(!t)throw Error("Expected a stream");r={maxBuffer:1/0,...r};let{maxBuffer:i}=r,y=_(r);return await new Promise((r,b)=>{let rejectPromise=t=>{t&&y.getBufferedLength()<=p.MAX_LENGTH&&(t.bufferedData=y.getBufferedValue()),b(t)};(async()=>{try{await m(t,y),r()}catch(t){rejectPromise(t)}})(),y.on("data",()=>{y.getBufferedLength()>i&&rejectPromise(new MaxBufferError)})}),y.getBufferedValue()}t.exports=getStream,t.exports.buffer=(t,r)=>getStream(t,{...r,encoding:"buffer"}),t.exports.array=(t,r)=>getStream(t,{...r,array:!0}),t.exports.MaxBufferError=MaxBufferError},454:function(t,r,i){"use strict";var p,y;t.exports=(null==(p=i.g.process)?void 0:p.env)&&"object"==typeof(null==(y=i.g.process)?void 0:y.env)?i.g.process:i(663)},876:function(t){!function(){var r={675:function(t,r){"use strict";r.byteLength=function(t){var r=getLens(t),i=r[0],p=r[1];return(i+p)*3/4-p},r.toByteArray=function(t){var r,i,b=getLens(t),_=b[0],m=b[1],w=new y((_+m)*3/4-m),S=0,A=m>0?_-4:_;for(i=0;i<A;i+=4)r=p[t.charCodeAt(i)]<<18|p[t.charCodeAt(i+1)]<<12|p[t.charCodeAt(i+2)]<<6|p[t.charCodeAt(i+3)],w[S++]=r>>16&255,w[S++]=r>>8&255,w[S++]=255&r;return 2===m&&(r=p[t.charCodeAt(i)]<<2|p[t.charCodeAt(i+1)]>>4,w[S++]=255&r),1===m&&(r=p[t.charCodeAt(i)]<<10|p[t.charCodeAt(i+1)]<<4|p[t.charCodeAt(i+2)]>>2,w[S++]=r>>8&255,w[S++]=255&r),w},r.fromByteArray=function(t){for(var r,p=t.length,y=p%3,b=[],_=0,m=p-y;_<m;_+=16383)b.push(function(t,r,p){for(var y,b=[],_=r;_<p;_+=3)b.push(i[(y=(t[_]<<16&16711680)+(t[_+1]<<8&65280)+(255&t[_+2]))>>18&63]+i[y>>12&63]+i[y>>6&63]+i[63&y]);return b.join("")}(t,_,_+16383>m?m:_+16383));return 1===y?b.push(i[(r=t[p-1])>>2]+i[r<<4&63]+"=="):2===y&&b.push(i[(r=(t[p-2]<<8)+t[p-1])>>10]+i[r>>4&63]+i[r<<2&63]+"="),b.join("")};for(var i=[],p=[],y="undefined"!=typeof Uint8Array?Uint8Array:Array,b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_=0,m=b.length;_<m;++_)i[_]=b[_],p[b.charCodeAt(_)]=_;function getLens(t){var r=t.length;if(r%4>0)throw Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");-1===i&&(i=r);var p=i===r?0:4-i%4;return[i,p]}p["-".charCodeAt(0)]=62,p["_".charCodeAt(0)]=63},72:function(t,r,i){"use strict";/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/var p=i(675),y=i(783),b="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function createBuffer(t){if(t>2147483647)throw RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,Buffer.prototype),r}function Buffer(t,r,i){if("number"==typeof t){if("string"==typeof r)throw TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(t)}return from(t,r,i)}function from(t,r,i){if("string"==typeof t)return function(t,r){if(("string"!=typeof r||""===r)&&(r="utf8"),!Buffer.isEncoding(r))throw TypeError("Unknown encoding: "+r);var i=0|byteLength(t,r),p=createBuffer(i),y=p.write(t,r);return y!==i&&(p=p.slice(0,y)),p}(t,r);if(ArrayBuffer.isView(t))return fromArrayLike(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(isInstance(t,ArrayBuffer)||t&&isInstance(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(isInstance(t,SharedArrayBuffer)||t&&isInstance(t.buffer,SharedArrayBuffer)))return function(t,r,i){var p;if(r<0||t.byteLength<r)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(i||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(p=void 0===r&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,r):new Uint8Array(t,r,i),Buffer.prototype),p}(t,r,i);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var p=t.valueOf&&t.valueOf();if(null!=p&&p!==t)return Buffer.from(p,r,i);var y=function(t){if(Buffer.isBuffer(t)){var r,i=0|checked(t.length),p=createBuffer(i);return 0===p.length||t.copy(p,0,0,i),p}return void 0!==t.length?"number"!=typeof t.length||(r=t.length)!=r?createBuffer(0):fromArrayLike(t):"Buffer"===t.type&&Array.isArray(t.data)?fromArrayLike(t.data):void 0}(t);if(y)return y;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return Buffer.from(t[Symbol.toPrimitive]("string"),r,i);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function assertSize(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function allocUnsafe(t){return assertSize(t),createBuffer(t<0?0:0|checked(t))}function fromArrayLike(t){for(var r=t.length<0?0:0|checked(t.length),i=createBuffer(r),p=0;p<r;p+=1)i[p]=255&t[p];return i}function checked(t){if(t>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function byteLength(t,r){if(Buffer.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||isInstance(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var i=t.length,p=arguments.length>2&&!0===arguments[2];if(!p&&0===i)return 0;for(var y=!1;;)switch(r){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return utf8ToBytes(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return base64ToBytes(t).length;default:if(y)return p?-1:utf8ToBytes(t).length;r=(""+r).toLowerCase(),y=!0}}function slowToString(t,r,i){var y,b,_=!1;if((void 0===r||r<0)&&(r=0),r>this.length||((void 0===i||i>this.length)&&(i=this.length),i<=0||(i>>>=0)<=(r>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,r,i){var p=t.length;(!r||r<0)&&(r=0),(!i||i<0||i>p)&&(i=p);for(var y="",b=r;b<i;++b)y+=m[t[b]];return y}(this,r,i);case"utf8":case"utf-8":return utf8Slice(this,r,i);case"ascii":return function(t,r,i){var p="";i=Math.min(t.length,i);for(var y=r;y<i;++y)p+=String.fromCharCode(127&t[y]);return p}(this,r,i);case"latin1":case"binary":return function(t,r,i){var p="";i=Math.min(t.length,i);for(var y=r;y<i;++y)p+=String.fromCharCode(t[y]);return p}(this,r,i);case"base64":return y=r,b=i,0===y&&b===this.length?p.fromByteArray(this):p.fromByteArray(this.slice(y,b));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,r,i){for(var p=t.slice(r,i),y="",b=0;b<p.length;b+=2)y+=String.fromCharCode(p[b]+256*p[b+1]);return y}(this,r,i);default:if(_)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),_=!0}}function swap(t,r,i){var p=t[r];t[r]=t[i],t[i]=p}function bidirectionalIndexOf(t,r,i,p,y){var b;if(0===t.length)return -1;if("string"==typeof i?(p=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),(b=i=+i)!=b&&(i=y?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(y)return -1;i=t.length-1}else if(i<0){if(!y)return -1;i=0}if("string"==typeof r&&(r=Buffer.from(r,p)),Buffer.isBuffer(r))return 0===r.length?-1:arrayIndexOf(t,r,i,p,y);if("number"==typeof r)return(r&=255,"function"==typeof Uint8Array.prototype.indexOf)?y?Uint8Array.prototype.indexOf.call(t,r,i):Uint8Array.prototype.lastIndexOf.call(t,r,i):arrayIndexOf(t,[r],i,p,y);throw TypeError("val must be string, number or Buffer")}function arrayIndexOf(t,r,i,p,y){var b,_=1,m=t.length,w=r.length;if(void 0!==p&&("ucs2"===(p=String(p).toLowerCase())||"ucs-2"===p||"utf16le"===p||"utf-16le"===p)){if(t.length<2||r.length<2)return -1;_=2,m/=2,w/=2,i/=2}function read(t,r){return 1===_?t[r]:t.readUInt16BE(r*_)}if(y){var S=-1;for(b=i;b<m;b++)if(read(t,b)===read(r,-1===S?0:b-S)){if(-1===S&&(S=b),b-S+1===w)return S*_}else -1!==S&&(b-=b-S),S=-1}else for(i+w>m&&(i=m-w),b=i;b>=0;b--){for(var A=!0,k=0;k<w;k++)if(read(t,b+k)!==read(r,k)){A=!1;break}if(A)return b}return -1}function utf8Slice(t,r,i){i=Math.min(t.length,i);for(var p=[],y=r;y<i;){var b,_,m,w,S=t[y],A=null,k=S>239?4:S>223?3:S>191?2:1;if(y+k<=i)switch(k){case 1:S<128&&(A=S);break;case 2:(192&(b=t[y+1]))==128&&(w=(31&S)<<6|63&b)>127&&(A=w);break;case 3:b=t[y+1],_=t[y+2],(192&b)==128&&(192&_)==128&&(w=(15&S)<<12|(63&b)<<6|63&_)>2047&&(w<55296||w>57343)&&(A=w);break;case 4:b=t[y+1],_=t[y+2],m=t[y+3],(192&b)==128&&(192&_)==128&&(192&m)==128&&(w=(15&S)<<18|(63&b)<<12|(63&_)<<6|63&m)>65535&&w<1114112&&(A=w)}null===A?(A=65533,k=1):A>65535&&(A-=65536,p.push(A>>>10&1023|55296),A=56320|1023&A),p.push(A),y+=k}return function(t){var r=t.length;if(r<=4096)return String.fromCharCode.apply(String,t);for(var i="",p=0;p<r;)i+=String.fromCharCode.apply(String,t.slice(p,p+=4096));return i}(p)}function checkOffset(t,r,i){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+r>i)throw RangeError("Trying to access beyond buffer length")}function checkInt(t,r,i,p,y,b){if(!Buffer.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(r>y||r<b)throw RangeError('"value" argument is out of bounds');if(i+p>t.length)throw RangeError("Index out of range")}function checkIEEE754(t,r,i,p,y,b){if(i+p>t.length||i<0)throw RangeError("Index out of range")}function writeFloat(t,r,i,p,b){return r=+r,i>>>=0,b||checkIEEE754(t,r,i,4,34028234663852886e22,-34028234663852886e22),y.write(t,r,i,p,23,4),i+4}function writeDouble(t,r,i,p,b){return r=+r,i>>>=0,b||checkIEEE754(t,r,i,8,17976931348623157e292,-17976931348623157e292),y.write(t,r,i,p,52,8),i+8}r.Buffer=Buffer,r.SlowBuffer=function(t){return+t!=t&&(t=0),Buffer.alloc(+t)},r.INSPECT_MAX_BYTES=50,r.kMaxLength=2147483647,Buffer.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),42===t.foo()}catch(t){return!1}}(),Buffer.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(Buffer.prototype,"parent",{enumerable:!0,get:function(){if(Buffer.isBuffer(this))return this.buffer}}),Object.defineProperty(Buffer.prototype,"offset",{enumerable:!0,get:function(){if(Buffer.isBuffer(this))return this.byteOffset}}),Buffer.poolSize=8192,Buffer.from=function(t,r,i){return from(t,r,i)},Object.setPrototypeOf(Buffer.prototype,Uint8Array.prototype),Object.setPrototypeOf(Buffer,Uint8Array),Buffer.alloc=function(t,r,i){return(assertSize(t),t<=0)?createBuffer(t):void 0!==r?"string"==typeof i?createBuffer(t).fill(r,i):createBuffer(t).fill(r):createBuffer(t)},Buffer.allocUnsafe=function(t){return allocUnsafe(t)},Buffer.allocUnsafeSlow=function(t){return allocUnsafe(t)},Buffer.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==Buffer.prototype},Buffer.compare=function(t,r){if(isInstance(t,Uint8Array)&&(t=Buffer.from(t,t.offset,t.byteLength)),isInstance(r,Uint8Array)&&(r=Buffer.from(r,r.offset,r.byteLength)),!Buffer.isBuffer(t)||!Buffer.isBuffer(r))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var i=t.length,p=r.length,y=0,b=Math.min(i,p);y<b;++y)if(t[y]!==r[y]){i=t[y],p=r[y];break}return i<p?-1:p<i?1:0},Buffer.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}},Buffer.concat=function(t,r){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return Buffer.alloc(0);if(void 0===r)for(i=0,r=0;i<t.length;++i)r+=t[i].length;var i,p=Buffer.allocUnsafe(r),y=0;for(i=0;i<t.length;++i){var b=t[i];if(isInstance(b,Uint8Array)&&(b=Buffer.from(b)),!Buffer.isBuffer(b))throw TypeError('"list" argument must be an Array of Buffers');b.copy(p,y),y+=b.length}return p},Buffer.byteLength=byteLength,Buffer.prototype._isBuffer=!0,Buffer.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)swap(this,r,r+1);return this},Buffer.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)swap(this,r,r+3),swap(this,r+1,r+2);return this},Buffer.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)swap(this,r,r+7),swap(this,r+1,r+6),swap(this,r+2,r+5),swap(this,r+3,r+4);return this},Buffer.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?utf8Slice(this,0,t):slowToString.apply(this,arguments)},Buffer.prototype.toLocaleString=Buffer.prototype.toString,Buffer.prototype.equals=function(t){if(!Buffer.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===Buffer.compare(this,t)},Buffer.prototype.inspect=function(){var t="",i=r.INSPECT_MAX_BYTES;return t=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(t+=" ... "),"<Buffer "+t+">"},b&&(Buffer.prototype[b]=Buffer.prototype.inspect),Buffer.prototype.compare=function(t,r,i,p,y){if(isInstance(t,Uint8Array)&&(t=Buffer.from(t,t.offset,t.byteLength)),!Buffer.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===r&&(r=0),void 0===i&&(i=t?t.length:0),void 0===p&&(p=0),void 0===y&&(y=this.length),r<0||i>t.length||p<0||y>this.length)throw RangeError("out of range index");if(p>=y&&r>=i)return 0;if(p>=y)return -1;if(r>=i)return 1;if(r>>>=0,i>>>=0,p>>>=0,y>>>=0,this===t)return 0;for(var b=y-p,_=i-r,m=Math.min(b,_),w=this.slice(p,y),S=t.slice(r,i),A=0;A<m;++A)if(w[A]!==S[A]){b=w[A],_=S[A];break}return b<_?-1:_<b?1:0},Buffer.prototype.includes=function(t,r,i){return -1!==this.indexOf(t,r,i)},Buffer.prototype.indexOf=function(t,r,i){return bidirectionalIndexOf(this,t,r,i,!0)},Buffer.prototype.lastIndexOf=function(t,r,i){return bidirectionalIndexOf(this,t,r,i,!1)},Buffer.prototype.write=function(t,r,i,p){if(void 0===r)p="utf8",i=this.length,r=0;else if(void 0===i&&"string"==typeof r)p=r,i=this.length,r=0;else if(isFinite(r))r>>>=0,isFinite(i)?(i>>>=0,void 0===p&&(p="utf8")):(p=i,i=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var y,b,_,m,w,S,A,k,T,R,O,x,P=this.length-r;if((void 0===i||i>P)&&(i=P),t.length>0&&(i<0||r<0)||r>this.length)throw RangeError("Attempt to write outside buffer bounds");p||(p="utf8");for(var L=!1;;)switch(p){case"hex":return function(t,r,i,p){i=Number(i)||0;var y=t.length-i;p?(p=Number(p))>y&&(p=y):p=y;var b=r.length;p>b/2&&(p=b/2);for(var _=0;_<p;++_){var m=parseInt(r.substr(2*_,2),16);if(m!=m)break;t[i+_]=m}return _}(this,t,r,i);case"utf8":case"utf-8":return w=r,S=i,blitBuffer(utf8ToBytes(t,this.length-w),this,w,S);case"ascii":return A=r,k=i,blitBuffer(asciiToBytes(t),this,A,k);case"latin1":case"binary":return y=this,b=t,_=r,m=i,blitBuffer(asciiToBytes(b),y,_,m);case"base64":return T=r,R=i,blitBuffer(base64ToBytes(t),this,T,R);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O=r,x=i,blitBuffer(function(t,r){for(var i,p,y=[],b=0;b<t.length&&!((r-=2)<0);++b)p=(i=t.charCodeAt(b))>>8,y.push(i%256),y.push(p);return y}(t,this.length-O),this,O,x);default:if(L)throw TypeError("Unknown encoding: "+p);p=(""+p).toLowerCase(),L=!0}},Buffer.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},Buffer.prototype.slice=function(t,r){var i=this.length;t=~~t,r=void 0===r?i:~~r,t<0?(t+=i)<0&&(t=0):t>i&&(t=i),r<0?(r+=i)<0&&(r=0):r>i&&(r=i),r<t&&(r=t);var p=this.subarray(t,r);return Object.setPrototypeOf(p,Buffer.prototype),p},Buffer.prototype.readUIntLE=function(t,r,i){t>>>=0,r>>>=0,i||checkOffset(t,r,this.length);for(var p=this[t],y=1,b=0;++b<r&&(y*=256);)p+=this[t+b]*y;return p},Buffer.prototype.readUIntBE=function(t,r,i){t>>>=0,r>>>=0,i||checkOffset(t,r,this.length);for(var p=this[t+--r],y=1;r>0&&(y*=256);)p+=this[t+--r]*y;return p},Buffer.prototype.readUInt8=function(t,r){return t>>>=0,r||checkOffset(t,1,this.length),this[t]},Buffer.prototype.readUInt16LE=function(t,r){return t>>>=0,r||checkOffset(t,2,this.length),this[t]|this[t+1]<<8},Buffer.prototype.readUInt16BE=function(t,r){return t>>>=0,r||checkOffset(t,2,this.length),this[t]<<8|this[t+1]},Buffer.prototype.readUInt32LE=function(t,r){return t>>>=0,r||checkOffset(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Buffer.prototype.readUInt32BE=function(t,r){return t>>>=0,r||checkOffset(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},Buffer.prototype.readIntLE=function(t,r,i){t>>>=0,r>>>=0,i||checkOffset(t,r,this.length);for(var p=this[t],y=1,b=0;++b<r&&(y*=256);)p+=this[t+b]*y;return p>=(y*=128)&&(p-=Math.pow(2,8*r)),p},Buffer.prototype.readIntBE=function(t,r,i){t>>>=0,r>>>=0,i||checkOffset(t,r,this.length);for(var p=r,y=1,b=this[t+--p];p>0&&(y*=256);)b+=this[t+--p]*y;return b>=(y*=128)&&(b-=Math.pow(2,8*r)),b},Buffer.prototype.readInt8=function(t,r){return(t>>>=0,r||checkOffset(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},Buffer.prototype.readInt16LE=function(t,r){t>>>=0,r||checkOffset(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},Buffer.prototype.readInt16BE=function(t,r){t>>>=0,r||checkOffset(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},Buffer.prototype.readInt32LE=function(t,r){return t>>>=0,r||checkOffset(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},Buffer.prototype.readInt32BE=function(t,r){return t>>>=0,r||checkOffset(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},Buffer.prototype.readFloatLE=function(t,r){return t>>>=0,r||checkOffset(t,4,this.length),y.read(this,t,!0,23,4)},Buffer.prototype.readFloatBE=function(t,r){return t>>>=0,r||checkOffset(t,4,this.length),y.read(this,t,!1,23,4)},Buffer.prototype.readDoubleLE=function(t,r){return t>>>=0,r||checkOffset(t,8,this.length),y.read(this,t,!0,52,8)},Buffer.prototype.readDoubleBE=function(t,r){return t>>>=0,r||checkOffset(t,8,this.length),y.read(this,t,!1,52,8)},Buffer.prototype.writeUIntLE=function(t,r,i,p){if(t=+t,r>>>=0,i>>>=0,!p){var y=Math.pow(2,8*i)-1;checkInt(this,t,r,i,y,0)}var b=1,_=0;for(this[r]=255&t;++_<i&&(b*=256);)this[r+_]=t/b&255;return r+i},Buffer.prototype.writeUIntBE=function(t,r,i,p){if(t=+t,r>>>=0,i>>>=0,!p){var y=Math.pow(2,8*i)-1;checkInt(this,t,r,i,y,0)}var b=i-1,_=1;for(this[r+b]=255&t;--b>=0&&(_*=256);)this[r+b]=t/_&255;return r+i},Buffer.prototype.writeUInt8=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,1,255,0),this[r]=255&t,r+1},Buffer.prototype.writeUInt16LE=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,2,65535,0),this[r]=255&t,this[r+1]=t>>>8,r+2},Buffer.prototype.writeUInt16BE=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=255&t,r+2},Buffer.prototype.writeUInt32LE=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t,r+4},Buffer.prototype.writeUInt32BE=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},Buffer.prototype.writeIntLE=function(t,r,i,p){if(t=+t,r>>>=0,!p){var y=Math.pow(2,8*i-1);checkInt(this,t,r,i,y-1,-y)}var b=0,_=1,m=0;for(this[r]=255&t;++b<i&&(_*=256);)t<0&&0===m&&0!==this[r+b-1]&&(m=1),this[r+b]=(t/_>>0)-m&255;return r+i},Buffer.prototype.writeIntBE=function(t,r,i,p){if(t=+t,r>>>=0,!p){var y=Math.pow(2,8*i-1);checkInt(this,t,r,i,y-1,-y)}var b=i-1,_=1,m=0;for(this[r+b]=255&t;--b>=0&&(_*=256);)t<0&&0===m&&0!==this[r+b+1]&&(m=1),this[r+b]=(t/_>>0)-m&255;return r+i},Buffer.prototype.writeInt8=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=255&t,r+1},Buffer.prototype.writeInt16LE=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,2,32767,-32768),this[r]=255&t,this[r+1]=t>>>8,r+2},Buffer.prototype.writeInt16BE=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=255&t,r+2},Buffer.prototype.writeInt32LE=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,4,2147483647,-2147483648),this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4},Buffer.prototype.writeInt32BE=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},Buffer.prototype.writeFloatLE=function(t,r,i){return writeFloat(this,t,r,!0,i)},Buffer.prototype.writeFloatBE=function(t,r,i){return writeFloat(this,t,r,!1,i)},Buffer.prototype.writeDoubleLE=function(t,r,i){return writeDouble(this,t,r,!0,i)},Buffer.prototype.writeDoubleBE=function(t,r,i){return writeDouble(this,t,r,!1,i)},Buffer.prototype.copy=function(t,r,i,p){if(!Buffer.isBuffer(t))throw TypeError("argument should be a Buffer");if(i||(i=0),p||0===p||(p=this.length),r>=t.length&&(r=t.length),r||(r=0),p>0&&p<i&&(p=i),p===i||0===t.length||0===this.length)return 0;if(r<0)throw RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw RangeError("Index out of range");if(p<0)throw RangeError("sourceEnd out of bounds");p>this.length&&(p=this.length),t.length-r<p-i&&(p=t.length-r+i);var y=p-i;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(r,i,p);else if(this===t&&i<r&&r<p)for(var b=y-1;b>=0;--b)t[b+r]=this[b+i];else Uint8Array.prototype.set.call(t,this.subarray(i,p),r);return y},Buffer.prototype.fill=function(t,r,i,p){if("string"==typeof t){if("string"==typeof r?(p=r,r=0,i=this.length):"string"==typeof i&&(p=i,i=this.length),void 0!==p&&"string"!=typeof p)throw TypeError("encoding must be a string");if("string"==typeof p&&!Buffer.isEncoding(p))throw TypeError("Unknown encoding: "+p);if(1===t.length){var y,b=t.charCodeAt(0);("utf8"===p&&b<128||"latin1"===p)&&(t=b)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(r<0||this.length<r||this.length<i)throw RangeError("Out of range index");if(i<=r)return this;if(r>>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"==typeof t)for(y=r;y<i;++y)this[y]=t;else{var _=Buffer.isBuffer(t)?t:Buffer.from(t,p),m=_.length;if(0===m)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(y=0;y<i-r;++y)this[y+r]=_[y%m]}return this};var _=/[^+/0-9A-Za-z-_]/g;function utf8ToBytes(t,r){r=r||1/0;for(var i,p=t.length,y=null,b=[],_=0;_<p;++_){if((i=t.charCodeAt(_))>55295&&i<57344){if(!y){if(i>56319||_+1===p){(r-=3)>-1&&b.push(239,191,189);continue}y=i;continue}if(i<56320){(r-=3)>-1&&b.push(239,191,189),y=i;continue}i=(y-55296<<10|i-56320)+65536}else y&&(r-=3)>-1&&b.push(239,191,189);if(y=null,i<128){if((r-=1)<0)break;b.push(i)}else if(i<2048){if((r-=2)<0)break;b.push(i>>6|192,63&i|128)}else if(i<65536){if((r-=3)<0)break;b.push(i>>12|224,i>>6&63|128,63&i|128)}else if(i<1114112){if((r-=4)<0)break;b.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else throw Error("Invalid code point")}return b}function asciiToBytes(t){for(var r=[],i=0;i<t.length;++i)r.push(255&t.charCodeAt(i));return r}function base64ToBytes(t){return p.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(_,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function blitBuffer(t,r,i,p){for(var y=0;y<p&&!(y+i>=r.length)&&!(y>=t.length);++y)r[y+i]=t[y];return y}function isInstance(t,r){return t instanceof r||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===r.name}var m=function(){for(var t="0123456789abcdef",r=Array(256),i=0;i<16;++i)for(var p=16*i,y=0;y<16;++y)r[p+y]=t[i]+t[y];return r}()},783:function(t,r){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */r.read=function(t,r,i,p,y){var b,_,m=8*y-p-1,w=(1<<m)-1,S=w>>1,A=-7,k=i?y-1:0,T=i?-1:1,R=t[r+k];for(k+=T,b=R&(1<<-A)-1,R>>=-A,A+=m;A>0;b=256*b+t[r+k],k+=T,A-=8);for(_=b&(1<<-A)-1,b>>=-A,A+=p;A>0;_=256*_+t[r+k],k+=T,A-=8);if(0===b)b=1-S;else{if(b===w)return _?NaN:(R?-1:1)*(1/0);_+=Math.pow(2,p),b-=S}return(R?-1:1)*_*Math.pow(2,b-p)},r.write=function(t,r,i,p,y,b){var _,m,w,S=8*b-y-1,A=(1<<S)-1,k=A>>1,T=23===y?5960464477539062e-23:0,R=p?0:b-1,O=p?1:-1,x=r<0||0===r&&1/r<0?1:0;for(isNaN(r=Math.abs(r))||r===1/0?(m=isNaN(r)?1:0,_=A):(_=Math.floor(Math.log(r)/Math.LN2),r*(w=Math.pow(2,-_))<1&&(_--,w*=2),_+k>=1?r+=T/w:r+=T*Math.pow(2,1-k),r*w>=2&&(_++,w/=2),_+k>=A?(m=0,_=A):_+k>=1?(m=(r*w-1)*Math.pow(2,y),_+=k):(m=r*Math.pow(2,k-1)*Math.pow(2,y),_=0));y>=8;t[i+R]=255&m,R+=O,m/=256,y-=8);for(_=_<<y|m,S+=y;S>0;t[i+R]=255&_,R+=O,_/=256,S-=8);t[i+R-O]|=128*x}}},i={};function __nccwpck_require__(t){var p=i[t];if(void 0!==p)return p.exports;var y=i[t]={exports:{}},b=!0;try{r[t](y,y.exports,__nccwpck_require__),b=!1}finally{b&&delete i[t]}return y.exports}__nccwpck_require__.ab="//";var p=__nccwpck_require__(72);t.exports=p}()},663:function(t){!function(){var r={229:function(t){var r,i,p,y=t.exports={};function defaultSetTimout(){throw Error("setTimeout has not been defined")}function defaultClearTimeout(){throw Error("clearTimeout has not been defined")}function runTimeout(t){if(r===setTimeout)return setTimeout(t,0);if((r===defaultSetTimout||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(i){try{return r.call(null,t,0)}catch(i){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(t){r=defaultSetTimout}try{i="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(t){i=defaultClearTimeout}}();var b=[],_=!1,m=-1;function cleanUpNextTick(){_&&p&&(_=!1,p.length?b=p.concat(b):m=-1,b.length&&drainQueue())}function drainQueue(){if(!_){var t=runTimeout(cleanUpNextTick);_=!0;for(var r=b.length;r;){for(p=b,b=[];++m<r;)p&&p[m].run();m=-1,r=b.length}p=null,_=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===defaultClearTimeout||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(r){try{return i.call(null,t)}catch(r){return i.call(this,t)}}}(t)}}function Item(t,r){this.fun=t,this.array=r}function noop(){}y.nextTick=function(t){var r=Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)r[i-1]=arguments[i];b.push(new Item(t,r)),1!==b.length||_||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},y.title="browser",y.browser=!0,y.env={},y.argv=[],y.version="",y.versions={},y.on=noop,y.addListener=noop,y.once=noop,y.off=noop,y.removeListener=noop,y.removeAllListeners=noop,y.emit=noop,y.prependListener=noop,y.prependOnceListener=noop,y.listeners=function(t){return[]},y.binding=function(t){throw Error("process.binding is not supported")},y.cwd=function(){return"/"},y.chdir=function(t){throw Error("process.chdir is not supported")},y.umask=function(){return 0}}},i={};function __nccwpck_require__(t){var p=i[t];if(void 0!==p)return p.exports;var y=i[t]={exports:{}},b=!0;try{r[t](y,y.exports,__nccwpck_require__),b=!1}finally{b&&delete i[t]}return y.exports}__nccwpck_require__.ab="//";var p=__nccwpck_require__(229);t.exports=p}()},681:function(t,r,i){var p=i(454);!function(){var r={782:function(t){"function"==typeof Object.create?t.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,r){if(r){t.super_=r;var TempCtor=function(){};TempCtor.prototype=r.prototype,t.prototype=new TempCtor,t.prototype.constructor=t}}},646:function(t){"use strict";let r={};function createErrorType(t,i,p){p||(p=Error);let NodeError=class NodeError extends p{constructor(t,r,p){super("string"==typeof i?i:i(t,r,p))}};NodeError.prototype.name=p.name,NodeError.prototype.code=t,r[t]=NodeError}function oneOf(t,r){if(!Array.isArray(t))return`of ${r} ${String(t)}`;{let i=t.length;return(t=t.map(t=>String(t)),i>2)?`one of ${r} ${t.slice(0,i-1).join(", ")}, or `+t[i-1]:2===i?`one of ${r} ${t[0]} or ${t[1]}`:`of ${r} ${t[0]}`}}createErrorType("ERR_INVALID_OPT_VALUE",function(t,r){return'The value "'+r+'" is invalid for option "'+t+'"'},TypeError),createErrorType("ERR_INVALID_ARG_TYPE",function(t,r,i){var p,y,b,_,m;let w,S;if("string"==typeof r&&(p="not ",r.substr(!y||y<0?0:+y,p.length)===p)?(w="must not be",r=r.replace(/^not /,"")):w="must be",b=" argument",(void 0===_||_>t.length)&&(_=t.length),t.substring(_-b.length,_)===b)S=`The ${t} ${w} ${oneOf(r,"type")}`;else{let i=("number"!=typeof m&&(m=0),m+1>t.length||-1===t.indexOf(".",m))?"argument":"property";S=`The "${t}" ${i} ${w} ${oneOf(r,"type")}`}return S+`. Received type ${typeof i}`},TypeError),createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"}),createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close"),createErrorType("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end"),createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),createErrorType("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.q=r},403:function(t,r,i){"use strict";var y=Object.keys||function(t){var r=[];for(var i in t)r.push(i);return r};t.exports=Duplex;var b=i(709),_=i(337);i(782)(Duplex,b);for(var m=y(_.prototype),w=0;w<m.length;w++){var S=m[w];Duplex.prototype[S]||(Duplex.prototype[S]=_.prototype[S])}function Duplex(t){if(!(this instanceof Duplex))return new Duplex(t);b.call(this,t),_.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",onend)))}function onend(){this._writableState.ended||p.nextTick(onEndNT,this)}function onEndNT(t){t.end()}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(Duplex.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Duplex.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(Duplex.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})},889:function(t,r,i){"use strict";t.exports=PassThrough;var p=i(170);function PassThrough(t){if(!(this instanceof PassThrough))return new PassThrough(t);p.call(this,t)}i(782)(PassThrough,p),PassThrough.prototype._transform=function(t,r,i){i(null,t)}},709:function(t,r,y){"use strict";t.exports=Readable,Readable.ReadableState=ReadableState,y(361).EventEmitter;var b,_,m,w,S,a=function(t,r){return t.listeners(r).length},A=y(678),k=y(300).Buffer,T=i.g.Uint8Array||function(){},R=y(837);_=R&&R.debuglog?R.debuglog("stream"):function(){};var O=y(379),x=y(25),P=y(776).getHighWaterMark,L=y(646).q,M=L.ERR_INVALID_ARG_TYPE,C=L.ERR_STREAM_PUSH_AFTER_EOF,N=L.ERR_METHOD_NOT_IMPLEMENTED,D=L.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;y(782)(Readable,A);var U=x.errorOrDestroy,F=["error","close","destroy","pause","resume"];function ReadableState(t,r,i){b=b||y(403),t=t||{},"boolean"!=typeof i&&(i=r instanceof b),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=P(this,t,"readableHighWaterMark",i),this.buffer=new O,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(m||(m=y(704).s),this.decoder=new m(t.encoding),this.encoding=t.encoding)}function Readable(t){if(b=b||y(403),!(this instanceof Readable))return new Readable(t);var r=this instanceof b;this._readableState=new ReadableState(t,this,r),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),A.call(this)}function readableAddChunk(t,r,i,p,y){_("readableAddChunk",r);var b,m,w,S,A,R=t._readableState;if(null===r)R.reading=!1,function(t,r){if(_("onEofChunk"),!r.ended){if(r.decoder){var i=r.decoder.end();i&&i.length&&(r.buffer.push(i),r.length+=r.objectMode?1:i.length)}r.ended=!0,r.sync?emitReadable(t):(r.needReadable=!1,r.emittedReadable||(r.emittedReadable=!0,emitReadable_(t)))}}(t,R);else{if(y||(b=R,m=r,k.isBuffer(m)||m instanceof T||"string"==typeof m||void 0===m||b.objectMode||(w=new M("chunk",["string","Buffer","Uint8Array"],m)),A=w),A)U(t,A);else if(R.objectMode||r&&r.length>0){if("string"==typeof r||R.objectMode||Object.getPrototypeOf(r)===k.prototype||(S=r,r=k.from(S)),p)R.endEmitted?U(t,new D):addChunk(t,R,r,!0);else if(R.ended)U(t,new C);else{if(R.destroyed)return!1;R.reading=!1,R.decoder&&!i?(r=R.decoder.write(r),R.objectMode||0!==r.length?addChunk(t,R,r,!1):maybeReadMore(t,R)):addChunk(t,R,r,!1)}}else p||(R.reading=!1,maybeReadMore(t,R))}return!R.ended&&(R.length<R.highWaterMark||0===R.length)}function addChunk(t,r,i,p){r.flowing&&0===r.length&&!r.sync?(r.awaitDrain=0,t.emit("data",i)):(r.length+=r.objectMode?1:i.length,p?r.buffer.unshift(i):r.buffer.push(i),r.needReadable&&emitReadable(t)),maybeReadMore(t,r)}function howMuchToRead(t,r){if(t<=0||0===r.length&&r.ended)return 0;if(r.objectMode)return 1;if(t!=t)return r.flowing&&r.length?r.buffer.head.data.length:r.length;if(t>r.highWaterMark){var i;r.highWaterMark=((i=t)>=1073741824?i=1073741824:(i--,i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i++),i)}return t<=r.length?t:r.ended?r.length:(r.needReadable=!0,0)}function emitReadable(t){var r=t._readableState;_("emitReadable",r.needReadable,r.emittedReadable),r.needReadable=!1,r.emittedReadable||(_("emitReadable",r.flowing),r.emittedReadable=!0,p.nextTick(emitReadable_,t))}function emitReadable_(t){var r=t._readableState;_("emitReadable_",r.destroyed,r.length,r.ended),!r.destroyed&&(r.length||r.ended)&&(t.emit("readable"),r.emittedReadable=!1),r.needReadable=!r.flowing&&!r.ended&&r.length<=r.highWaterMark,flow(t)}function maybeReadMore(t,r){r.readingMore||(r.readingMore=!0,p.nextTick(maybeReadMore_,t,r))}function maybeReadMore_(t,r){for(;!r.reading&&!r.ended&&(r.length<r.highWaterMark||r.flowing&&0===r.length);){var i=r.length;if(_("maybeReadMore read 0"),t.read(0),i===r.length)break}r.readingMore=!1}function updateReadableListening(t){var r=t._readableState;r.readableListening=t.listenerCount("readable")>0,r.resumeScheduled&&!r.paused?r.flowing=!0:t.listenerCount("data")>0&&t.resume()}function nReadingNextTick(t){_("readable nexttick read 0"),t.read(0)}function resume_(t,r){_("resume",r.reading),r.reading||t.read(0),r.resumeScheduled=!1,t.emit("resume"),flow(t),r.flowing&&!r.reading&&t.read(0)}function flow(t){var r=t._readableState;for(_("flow",r.flowing);r.flowing&&null!==t.read(););}function fromList(t,r){var i;return 0===r.length?null:(r.objectMode?i=r.buffer.shift():!t||t>=r.length?(i=r.decoder?r.buffer.join(""):1===r.buffer.length?r.buffer.first():r.buffer.concat(r.length),r.buffer.clear()):i=r.buffer.consume(t,r.decoder),i)}function endReadable(t){var r=t._readableState;_("endReadable",r.endEmitted),r.endEmitted||(r.ended=!0,p.nextTick(endReadableNT,r,t))}function endReadableNT(t,r){if(_("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,r.readable=!1,r.emit("end"),t.autoDestroy)){var i=r._writableState;(!i||i.autoDestroy&&i.finished)&&r.destroy()}}function indexOf(t,r){for(var i=0,p=t.length;i<p;i++)if(t[i]===r)return i;return -1}Object.defineProperty(Readable.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),Readable.prototype.destroy=x.destroy,Readable.prototype._undestroy=x.undestroy,Readable.prototype._destroy=function(t,r){r(t)},Readable.prototype.push=function(t,r){var i,p=this._readableState;return p.objectMode?i=!0:"string"==typeof t&&((r=r||p.defaultEncoding)!==p.encoding&&(t=k.from(t,r),r=""),i=!0),readableAddChunk(this,t,r,!1,i)},Readable.prototype.unshift=function(t){return readableAddChunk(this,t,null,!0,!1)},Readable.prototype.isPaused=function(){return!1===this._readableState.flowing},Readable.prototype.setEncoding=function(t){m||(m=y(704).s);var r=new m(t);this._readableState.decoder=r,this._readableState.encoding=this._readableState.decoder.encoding;for(var i=this._readableState.buffer.head,p="";null!==i;)p+=r.write(i.data),i=i.next;return this._readableState.buffer.clear(),""!==p&&this._readableState.buffer.push(p),this._readableState.length=p.length,this},Readable.prototype.read=function(t){_("read",t),t=parseInt(t,10);var r,i=this._readableState,p=t;if(0!==t&&(i.emittedReadable=!1),0===t&&i.needReadable&&((0!==i.highWaterMark?i.length>=i.highWaterMark:i.length>0)||i.ended))return _("read: emitReadable",i.length,i.ended),0===i.length&&i.ended?endReadable(this):emitReadable(this),null;if(0===(t=howMuchToRead(t,i))&&i.ended)return 0===i.length&&endReadable(this),null;var y=i.needReadable;return _("need readable",y),(0===i.length||i.length-t<i.highWaterMark)&&_("length less than watermark",y=!0),i.ended||i.reading?_("reading or ended",y=!1):y&&(_("do read"),i.reading=!0,i.sync=!0,0===i.length&&(i.needReadable=!0),this._read(i.highWaterMark),i.sync=!1,i.reading||(t=howMuchToRead(p,i))),null===(r=t>0?fromList(t,i):null)?(i.needReadable=i.length<=i.highWaterMark,t=0):(i.length-=t,i.awaitDrain=0),0===i.length&&(i.ended||(i.needReadable=!0),p!==t&&i.ended&&endReadable(this)),null!==r&&this.emit("data",r),r},Readable.prototype._read=function(t){U(this,new N("_read()"))},Readable.prototype.pipe=function(t,r){var i=this,y=this._readableState;switch(y.pipesCount){case 0:y.pipes=t;break;case 1:y.pipes=[y.pipes,t];break;default:y.pipes.push(t)}y.pipesCount+=1,_("pipe count=%d opts=%j",y.pipesCount,r);var b=r&&!1===r.end||t===p.stdout||t===p.stderr?unpipe:onend;function onend(){_("onend"),t.end()}y.endEmitted?p.nextTick(b):i.once("end",b),t.on("unpipe",function onunpipe(r,p){_("onunpipe"),r===i&&p&&!1===p.hasUnpiped&&(p.hasUnpiped=!0,_("cleanup"),t.removeListener("close",onclose),t.removeListener("finish",onfinish),t.removeListener("drain",s),t.removeListener("error",onerror),t.removeListener("unpipe",onunpipe),i.removeListener("end",onend),i.removeListener("end",unpipe),i.removeListener("data",ondata),m=!0,y.awaitDrain&&(!t._writableState||t._writableState.needDrain)&&s())});var s=function(){var t=i._readableState;_("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(i,"data")&&(t.flowing=!0,flow(i))};t.on("drain",s);var m=!1;function ondata(r){_("ondata");var p=t.write(r);_("dest.write",p),!1===p&&((1===y.pipesCount&&y.pipes===t||y.pipesCount>1&&-1!==indexOf(y.pipes,t))&&!m&&(_("false write response, pause",y.awaitDrain),y.awaitDrain++),i.pause())}function onerror(r){_("onerror",r),unpipe(),t.removeListener("error",onerror),0===a(t,"error")&&U(t,r)}function onclose(){t.removeListener("finish",onfinish),unpipe()}function onfinish(){_("onfinish"),t.removeListener("close",onclose),unpipe()}function unpipe(){_("unpipe"),i.unpipe(t)}return i.on("data",ondata),function(t,r,i){if("function"==typeof t.prependListener)return t.prependListener(r,i);t._events&&t._events[r]?Array.isArray(t._events[r])?t._events[r].unshift(i):t._events[r]=[i,t._events[r]]:t.on(r,i)}(t,"error",onerror),t.once("close",onclose),t.once("finish",onfinish),t.emit("pipe",i),y.flowing||(_("pipe resume"),i.resume()),t},Readable.prototype.unpipe=function(t){var r=this._readableState,i={hasUnpiped:!1};if(0===r.pipesCount)return this;if(1===r.pipesCount)return t&&t!==r.pipes||(t||(t=r.pipes),r.pipes=null,r.pipesCount=0,r.flowing=!1,t&&t.emit("unpipe",this,i)),this;if(!t){var p=r.pipes,y=r.pipesCount;r.pipes=null,r.pipesCount=0,r.flowing=!1;for(var b=0;b<y;b++)p[b].emit("unpipe",this,{hasUnpiped:!1});return this}var _=indexOf(r.pipes,t);return -1===_||(r.pipes.splice(_,1),r.pipesCount-=1,1===r.pipesCount&&(r.pipes=r.pipes[0]),t.emit("unpipe",this,i)),this},Readable.prototype.on=function(t,r){var i=A.prototype.on.call(this,t,r),y=this._readableState;return"data"===t?(y.readableListening=this.listenerCount("readable")>0,!1!==y.flowing&&this.resume()):"readable"!==t||y.endEmitted||y.readableListening||(y.readableListening=y.needReadable=!0,y.flowing=!1,y.emittedReadable=!1,_("on readable",y.length,y.reading),y.length?emitReadable(this):y.reading||p.nextTick(nReadingNextTick,this)),i},Readable.prototype.addListener=Readable.prototype.on,Readable.prototype.removeListener=function(t,r){var i=A.prototype.removeListener.call(this,t,r);return"readable"===t&&p.nextTick(updateReadableListening,this),i},Readable.prototype.removeAllListeners=function(t){var r=A.prototype.removeAllListeners.apply(this,arguments);return("readable"===t||void 0===t)&&p.nextTick(updateReadableListening,this),r},Readable.prototype.resume=function(){var t=this._readableState;return t.flowing||(_("resume"),t.flowing=!t.readableListening,t.resumeScheduled||(t.resumeScheduled=!0,p.nextTick(resume_,this,t))),t.paused=!1,this},Readable.prototype.pause=function(){return _("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(_("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},Readable.prototype.wrap=function(t){var r=this,i=this._readableState,p=!1;for(var y in t.on("end",function(){if(_("wrapped end"),i.decoder&&!i.ended){var t=i.decoder.end();t&&t.length&&r.push(t)}r.push(null)}),t.on("data",function(y){_("wrapped data"),i.decoder&&(y=i.decoder.write(y)),(!i.objectMode||null!=y)&&(i.objectMode||y&&y.length)&&(r.push(y)||(p=!0,t.pause()))}),t)void 0===this[y]&&"function"==typeof t[y]&&(this[y]=function(r){return function(){return t[r].apply(t,arguments)}}(y));for(var b=0;b<F.length;b++)t.on(F[b],this.emit.bind(this,F[b]));return this._read=function(r){_("wrapped _read",r),p&&(p=!1,t.resume())},this},"function"==typeof Symbol&&(Readable.prototype[Symbol.asyncIterator]=function(){return void 0===w&&(w=y(871)),w(this)}),Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Readable.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Readable.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),Readable._fromList=fromList,Object.defineProperty(Readable.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(Readable.from=function(t,r){return void 0===S&&(S=y(727)),S(Readable,t,r)})},170:function(t,r,i){"use strict";t.exports=Transform;var p=i(646).q,y=p.ERR_METHOD_NOT_IMPLEMENTED,b=p.ERR_MULTIPLE_CALLBACK,_=p.ERR_TRANSFORM_ALREADY_TRANSFORMING,m=p.ERR_TRANSFORM_WITH_LENGTH_0,w=i(403);function afterTransform(t,r){var i=this._transformState;i.transforming=!1;var p=i.writecb;if(null===p)return this.emit("error",new b);i.writechunk=null,i.writecb=null,null!=r&&this.push(r),p(t);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}function Transform(t){if(!(this instanceof Transform))return new Transform(t);w.call(this,t),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",prefinish)}function prefinish(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?done(this,null,null):this._flush(function(r,i){done(t,r,i)})}function done(t,r,i){if(r)return t.emit("error",r);if(null!=i&&t.push(i),t._writableState.length)throw new m;if(t._transformState.transforming)throw new _;return t.push(null)}i(782)(Transform,w),Transform.prototype.push=function(t,r){return this._transformState.needTransform=!1,w.prototype.push.call(this,t,r)},Transform.prototype._transform=function(t,r,i){i(new y("_transform()"))},Transform.prototype._write=function(t,r,i){var p=this._transformState;if(p.writecb=i,p.writechunk=t,p.writeencoding=r,!p.transforming){var y=this._readableState;(p.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},Transform.prototype._read=function(t){var r=this._transformState;null===r.writechunk||r.transforming?r.needTransform=!0:(r.transforming=!0,this._transform(r.writechunk,r.writeencoding,r.afterTransform))},Transform.prototype._destroy=function(t,r){w.prototype._destroy.call(this,t,function(t){r(t)})}},337:function(t,r,y){"use strict";function CorkedRequest(t){var r=this;this.next=null,this.entry=null,this.finish=function(){(function(t,r,i){var p=t.entry;for(t.entry=null;p;){var y=p.callback;r.pendingcb--,y(void 0),p=p.next}r.corkedRequestsFree.next=t})(r,t)}}t.exports=Writable,Writable.WritableState=WritableState;var b,_,m={deprecate:y(769)},w=y(678),S=y(300).Buffer,A=i.g.Uint8Array||function(){},k=y(25),T=y(776).getHighWaterMark,R=y(646).q,O=R.ERR_INVALID_ARG_TYPE,x=R.ERR_METHOD_NOT_IMPLEMENTED,P=R.ERR_MULTIPLE_CALLBACK,L=R.ERR_STREAM_CANNOT_PIPE,M=R.ERR_STREAM_DESTROYED,C=R.ERR_STREAM_NULL_VALUES,N=R.ERR_STREAM_WRITE_AFTER_END,D=R.ERR_UNKNOWN_ENCODING,U=k.errorOrDestroy;function nop(){}function WritableState(t,r,i){b=b||y(403),t=t||{},"boolean"!=typeof i&&(i=r instanceof b),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=T(this,t,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var _=!1===t.decodeStrings;this.decodeStrings=!_,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){(function(t,r){var i=t._writableState,y=i.sync,b=i.writecb;if("function"!=typeof b)throw new P;if(i.writing=!1,i.writecb=null,i.length-=i.writelen,i.writelen=0,r)--i.pendingcb,y?(p.nextTick(b,r),p.nextTick(finishMaybe,t,i),t._writableState.errorEmitted=!0,U(t,r)):(b(r),t._writableState.errorEmitted=!0,U(t,r),finishMaybe(t,i));else{var _=needFinish(i)||t.destroyed;_||i.corked||i.bufferProcessing||!i.bufferedRequest||clearBuffer(t,i),y?p.nextTick(afterWrite,t,i,_,b):afterWrite(t,i,_,b)}})(r,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this)}function Writable(t){var r=this instanceof(b=b||y(403));if(!r&&!_.call(Writable,this))return new Writable(t);this._writableState=new WritableState(t,this,r),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),w.call(this)}function doWrite(t,r,i,p,y,b,_){r.writelen=p,r.writecb=_,r.writing=!0,r.sync=!0,r.destroyed?r.onwrite(new M("write")):i?t._writev(y,r.onwrite):t._write(y,b,r.onwrite),r.sync=!1}function afterWrite(t,r,i,p){i||0===r.length&&r.needDrain&&(r.needDrain=!1,t.emit("drain")),r.pendingcb--,p(),finishMaybe(t,r)}function clearBuffer(t,r){r.bufferProcessing=!0;var i=r.bufferedRequest;if(t._writev&&i&&i.next){var p=Array(r.bufferedRequestCount),y=r.corkedRequestsFree;y.entry=i;for(var b=0,_=!0;i;)p[b]=i,i.isBuf||(_=!1),i=i.next,b+=1;p.allBuffers=_,doWrite(t,r,!0,r.length,p,"",y.finish),r.pendingcb++,r.lastBufferedRequest=null,y.next?(r.corkedRequestsFree=y.next,y.next=null):r.corkedRequestsFree=new CorkedRequest(r),r.bufferedRequestCount=0}else{for(;i;){var m=i.chunk,w=i.encoding,S=i.callback,A=r.objectMode?1:m.length;if(doWrite(t,r,!1,A,m,w,S),i=i.next,r.bufferedRequestCount--,r.writing)break}null===i&&(r.lastBufferedRequest=null)}r.bufferedRequest=i,r.bufferProcessing=!1}function needFinish(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function callFinal(t,r){t._final(function(i){r.pendingcb--,i&&U(t,i),r.prefinished=!0,t.emit("prefinish"),finishMaybe(t,r)})}function finishMaybe(t,r){var i=needFinish(r);if(i&&(r.prefinished||r.finalCalled||("function"!=typeof t._final||r.destroyed?(r.prefinished=!0,t.emit("prefinish")):(r.pendingcb++,r.finalCalled=!0,p.nextTick(callFinal,t,r))),0===r.pendingcb&&(r.finished=!0,t.emit("finish"),r.autoDestroy))){var y=t._readableState;(!y||y.autoDestroy&&y.endEmitted)&&t.destroy()}return i}y(782)(Writable,w),WritableState.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r},function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:m.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(_=Function.prototype[Symbol.hasInstance],Object.defineProperty(Writable,Symbol.hasInstance,{value:function(t){return!!_.call(this,t)||this===Writable&&t&&t._writableState instanceof WritableState}})):_=function(t){return t instanceof this},Writable.prototype.pipe=function(){U(this,new L)},Writable.prototype.write=function(t,r,i){var y,b,_,m,w,k,T,R=this._writableState,x=!1,P=!R.objectMode&&(y=t,S.isBuffer(y)||y instanceof A);return P&&!S.isBuffer(t)&&(b=t,t=S.from(b)),("function"==typeof r&&(i=r,r=null),P?r="buffer":r||(r=R.defaultEncoding),"function"!=typeof i&&(i=nop),R.ending)?(_=i,U(this,m=new N),p.nextTick(_,m)):(P||(w=t,k=i,null===w?T=new C:"string"==typeof w||R.objectMode||(T=new O("chunk",["string","Buffer"],w)),!T||(U(this,T),p.nextTick(k,T),0)))&&(R.pendingcb++,x=function(t,r,i,p,y,b){if(!i){var _,m,w=(_=p,m=y,r.objectMode||!1===r.decodeStrings||"string"!=typeof _||(_=S.from(_,m)),_);p!==w&&(i=!0,y="buffer",p=w)}var A=r.objectMode?1:p.length;r.length+=A;var k=r.length<r.highWaterMark;if(k||(r.needDrain=!0),r.writing||r.corked){var T=r.lastBufferedRequest;r.lastBufferedRequest={chunk:p,encoding:y,isBuf:i,callback:b,next:null},T?T.next=r.lastBufferedRequest:r.bufferedRequest=r.lastBufferedRequest,r.bufferedRequestCount+=1}else doWrite(t,r,!1,A,p,y,b);return k}(this,R,P,t,r,i)),x},Writable.prototype.cork=function(){this._writableState.corked++},Writable.prototype.uncork=function(){var t=this._writableState;!t.corked||(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||clearBuffer(this,t))},Writable.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new D(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(Writable.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Writable.prototype._write=function(t,r,i){i(new x("_write()"))},Writable.prototype._writev=null,Writable.prototype.end=function(t,r,i){var y,b=this._writableState;return"function"==typeof t?(i=t,t=null,r=null):"function"==typeof r&&(i=r,r=null),null!=t&&this.write(t,r),b.corked&&(b.corked=1,this.uncork()),b.ending||(y=i,b.ending=!0,finishMaybe(this,b),y&&(b.finished?p.nextTick(y):this.once("finish",y)),b.ended=!0,this.writable=!1),this},Object.defineProperty(Writable.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(Writable.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),Writable.prototype.destroy=k.destroy,Writable.prototype._undestroy=k.undestroy,Writable.prototype._destroy=function(t,r){r(t)}},871:function(t,r,i){"use strict";function _defineProperty(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var y,b=i(698),_=Symbol("lastResolve"),m=Symbol("lastReject"),w=Symbol("error"),S=Symbol("ended"),A=Symbol("lastPromise"),k=Symbol("handlePromise"),T=Symbol("stream");function createIterResult(t,r){return{value:t,done:r}}function readAndResolve(t){var r=t[_];if(null!==r){var i=t[T].read();null!==i&&(t[A]=null,t[_]=null,t[m]=null,r(createIterResult(i,!1)))}}function onReadable(t){p.nextTick(readAndResolve,t)}var R=Object.getPrototypeOf(function(){}),O=Object.setPrototypeOf((_defineProperty(y={get stream(){return this[T]},next:function(){var t,r,i=this,y=this[w];if(null!==y)return Promise.reject(y);if(this[S])return Promise.resolve(createIterResult(void 0,!0));if(this[T].destroyed)return new Promise(function(t,r){p.nextTick(function(){i[w]?r(i[w]):t(createIterResult(void 0,!0))})});var b=this[A];if(b)r=new Promise((t=this,function(r,i){b.then(function(){if(t[S]){r(createIterResult(void 0,!0));return}t[k](r,i)},i)}));else{var _=this[T].read();if(null!==_)return Promise.resolve(createIterResult(_,!1));r=new Promise(this[k])}return this[A]=r,r}},Symbol.asyncIterator,function(){return this}),_defineProperty(y,"return",function(){var t=this;return new Promise(function(r,i){t[T].destroy(null,function(t){if(t){i(t);return}r(createIterResult(void 0,!0))})})}),y),R);t.exports=function(t){var r,i=Object.create(O,(_defineProperty(r={},T,{value:t,writable:!0}),_defineProperty(r,_,{value:null,writable:!0}),_defineProperty(r,m,{value:null,writable:!0}),_defineProperty(r,w,{value:null,writable:!0}),_defineProperty(r,S,{value:t._readableState.endEmitted,writable:!0}),_defineProperty(r,k,{value:function(t,r){var p=i[T].read();p?(i[A]=null,i[_]=null,i[m]=null,t(createIterResult(p,!1))):(i[_]=t,i[m]=r)},writable:!0}),r));return i[A]=null,b(t,function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var r=i[m];null!==r&&(i[A]=null,i[_]=null,i[m]=null,r(t)),i[w]=t;return}var p=i[_];null!==p&&(i[A]=null,i[_]=null,i[m]=null,p(createIterResult(void 0,!0))),i[S]=!0}),t.on("readable",onReadable.bind(null,i)),i}},379:function(t,r,i){"use strict";function ownKeys(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(t);r&&(p=p.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,p)}return i}function _defineProperties(t,r){for(var i=0;i<r.length;i++){var p=r[i];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(t,p.key,p)}}var p=i(300).Buffer,y=i(837).inspect,b=y&&y.custom||"inspect";t.exports=function(){var t,r;function BufferList(){!function(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")}(this,BufferList),this.head=null,this.tail=null,this.length=0}return t=[{key:"push",value:function(t){var r={data:t,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length}},{key:"unshift",value:function(t){var r={data:t,next:this.head};0===this.length&&(this.tail=r),this.head=r,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var r=this.head,i=""+r.data;r=r.next;)i+=t+r.data;return i}},{key:"concat",value:function(t){if(0===this.length)return p.alloc(0);for(var r,i,y=p.allocUnsafe(t>>>0),b=this.head,_=0;b;)r=b.data,i=_,p.prototype.copy.call(r,y,i),_+=b.data.length,b=b.next;return y}},{key:"consume",value:function(t,r){var i;return t<this.head.data.length?(i=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):i=t===this.head.data.length?this.shift():r?this._getString(t):this._getBuffer(t),i}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var r=this.head,i=1,p=r.data;for(t-=p.length;r=r.next;){var y=r.data,b=t>y.length?y.length:t;if(b===y.length?p+=y:p+=y.slice(0,t),0==(t-=b)){b===y.length?(++i,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=y.slice(b));break}++i}return this.length-=i,p}},{key:"_getBuffer",value:function(t){var r=p.allocUnsafe(t),i=this.head,y=1;for(i.data.copy(r),t-=i.data.length;i=i.next;){var b=i.data,_=t>b.length?b.length:t;if(b.copy(r,r.length-t,0,_),0==(t-=_)){_===b.length?(++y,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=b.slice(_));break}++y}return this.length-=y,r}},{key:b,value:function(t,r){return y(this,function(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(i),!0).forEach(function(r){var p;p=i[r],r in t?Object.defineProperty(t,r,{value:p,enumerable:!0,configurable:!0,writable:!0}):t[r]=p}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))})}return t}({},r,{depth:0,customInspect:!1}))}}],_defineProperties(BufferList.prototype,t),r&&_defineProperties(BufferList,r),BufferList}()},25:function(t){"use strict";function emitErrorAndCloseNT(t,r){emitErrorNT(t,r),emitCloseNT(t)}function emitCloseNT(t){(!t._writableState||t._writableState.emitClose)&&(!t._readableState||t._readableState.emitClose)&&t.emit("close")}function emitErrorNT(t,r){t.emit("error",r)}t.exports={destroy:function(t,r){var i=this,y=this._readableState&&this._readableState.destroyed,b=this._writableState&&this._writableState.destroyed;return y||b?r?r(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,p.nextTick(emitErrorNT,this,t)):p.nextTick(emitErrorNT,this,t)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!r&&t?i._writableState?i._writableState.errorEmitted?p.nextTick(emitCloseNT,i):(i._writableState.errorEmitted=!0,p.nextTick(emitErrorAndCloseNT,i,t)):p.nextTick(emitErrorAndCloseNT,i,t):r?(p.nextTick(emitCloseNT,i),r(t)):p.nextTick(emitCloseNT,i)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,r){var i=t._readableState,p=t._writableState;i&&i.autoDestroy||p&&p.autoDestroy?t.destroy(r):t.emit("error",r)}}},698:function(t,r,i){"use strict";var p=i(646).q.ERR_STREAM_PREMATURE_CLOSE;function noop(){}t.exports=function eos(t,r,i){if("function"==typeof r)return eos(t,null,r);r||(r={}),y=i||noop,b=!1,i=function(){if(!b){b=!0;for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];y.apply(this,r)}};var y,b,_=r.readable||!1!==r.readable&&t.readable,m=r.writable||!1!==r.writable&&t.writable,o=function(){t.writable||f()},w=t._writableState&&t._writableState.finished,f=function(){m=!1,w=!0,_||i.call(t)},S=t._readableState&&t._readableState.endEmitted,u=function(){_=!1,S=!0,m||i.call(t)},d=function(r){i.call(t,r)},c=function(){var r;return _&&!S?(t._readableState&&t._readableState.ended||(r=new p),i.call(t,r)):m&&!w?(t._writableState&&t._writableState.ended||(r=new p),i.call(t,r)):void 0},h=function(){t.req.on("finish",f)};return t.setHeader&&"function"==typeof t.abort?(t.on("complete",f),t.on("abort",c),t.req?h():t.on("request",h)):m&&!t._writableState&&(t.on("end",o),t.on("close",o)),t.on("end",u),t.on("finish",f),!1!==r.error&&t.on("error",d),t.on("close",c),function(){t.removeListener("complete",f),t.removeListener("abort",c),t.removeListener("request",h),t.req&&t.req.removeListener("finish",f),t.removeListener("end",o),t.removeListener("close",o),t.removeListener("finish",f),t.removeListener("end",u),t.removeListener("error",d),t.removeListener("close",c)}}},727:function(t,r,i){"use strict";function asyncGeneratorStep(t,r,i,p,y,b,_){try{var m=t[b](_),w=m.value}catch(t){i(t);return}m.done?r(w):Promise.resolve(w).then(p,y)}function ownKeys(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(t);r&&(p=p.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,p)}return i}var p=i(646).q.ERR_INVALID_ARG_TYPE;t.exports=function(t,r,i){if(r&&"function"==typeof r.next)y=r;else if(r&&r[Symbol.asyncIterator])y=r[Symbol.asyncIterator]();else if(r&&r[Symbol.iterator])y=r[Symbol.iterator]();else throw new p("iterable",["Iterable"],r);var y,b=new t(function(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(i),!0).forEach(function(r){var p;p=i[r],r in t?Object.defineProperty(t,r,{value:p,enumerable:!0,configurable:!0,writable:!0}):t[r]=p}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))})}return t}({objectMode:!0},i)),_=!1;function next(){return _next2.apply(this,arguments)}function _next2(){var t;return t=function*(){try{var t=yield y.next(),r=t.value;t.done?b.push(null):b.push((yield r))?next():_=!1}catch(t){b.destroy(t)}},(_next2=function(){var r=this,i=arguments;return new Promise(function(p,y){var b=t.apply(r,i);function _next(t){asyncGeneratorStep(b,p,y,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(b,p,y,_next,_throw,"throw",t)}_next(void 0)})}).apply(this,arguments)}return b._read=function(){_||(_=!0,next())},b}},442:function(t,r,i){"use strict";var p,y=i(646).q,b=y.ERR_MISSING_ARGS,_=y.ERR_STREAM_DESTROYED;function noop(t){if(t)throw t}function call(t){t()}function pipe(t,r){return t.pipe(r)}t.exports=function(){for(var t,r,y=arguments.length,m=Array(y),w=0;w<y;w++)m[w]=arguments[w];var S=(t=m).length&&"function"==typeof t[t.length-1]?t.pop():noop;if(Array.isArray(m[0])&&(m=m[0]),m.length<2)throw new b("streams");var A=m.map(function(t,y){var b,w,k,T,R,O=y<m.length-1;return w=b=function(t){r||(r=t),t&&A.forEach(call),O||(A.forEach(call),S(r))},k=!1,b=function(){k||(k=!0,w.apply(void 0,arguments))},T=!1,t.on("close",function(){T=!0}),void 0===p&&(p=i(698)),p(t,{readable:O,writable:y>0},function(t){if(t)return b(t);T=!0,b()}),R=!1,function(r){if(!T&&!R){if(R=!0,t.setHeader&&"function"==typeof t.abort)return t.abort();if("function"==typeof t.destroy)return t.destroy();b(r||new _("pipe"))}}});return m.reduce(pipe)}},776:function(t,r,i){"use strict";var p=i(646).q.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,r,i,y){var b=null!=r.highWaterMark?r.highWaterMark:y?r[i]:null;if(null!=b){if(!(isFinite(b)&&Math.floor(b)===b)||b<0){var _=y?i:"highWaterMark";throw new p(_,b)}return Math.floor(b)}return t.objectMode?16:16384}}},678:function(t,r,i){t.exports=i(781)},55:function(t,r,i){var p=i(300),y=p.Buffer;function copyProps(t,r){for(var i in t)r[i]=t[i]}function SafeBuffer(t,r,i){return y(t,r,i)}y.from&&y.alloc&&y.allocUnsafe&&y.allocUnsafeSlow?t.exports=p:(copyProps(p,r),r.Buffer=SafeBuffer),SafeBuffer.prototype=Object.create(y.prototype),copyProps(y,SafeBuffer),SafeBuffer.from=function(t,r,i){if("number"==typeof t)throw TypeError("Argument must not be a number");return y(t,r,i)},SafeBuffer.alloc=function(t,r,i){if("number"!=typeof t)throw TypeError("Argument must be a number");var p=y(t);return void 0!==r?"string"==typeof i?p.fill(r,i):p.fill(r):p.fill(0),p},SafeBuffer.allocUnsafe=function(t){if("number"!=typeof t)throw TypeError("Argument must be a number");return y(t)},SafeBuffer.allocUnsafeSlow=function(t){if("number"!=typeof t)throw TypeError("Argument must be a number");return p.SlowBuffer(t)}},173:function(t,r,i){t.exports=Stream;var p=i(361).EventEmitter;function Stream(){p.call(this)}i(782)(Stream,p),Stream.Readable=i(709),Stream.Writable=i(337),Stream.Duplex=i(403),Stream.Transform=i(170),Stream.PassThrough=i(889),Stream.finished=i(698),Stream.pipeline=i(442),Stream.Stream=Stream,Stream.prototype.pipe=function(t,r){var i=this;function ondata(r){t.writable&&!1===t.write(r)&&i.pause&&i.pause()}function ondrain(){i.readable&&i.resume&&i.resume()}i.on("data",ondata),t.on("drain",ondrain),t._isStdio||r&&!1===r.end||(i.on("end",onend),i.on("close",onclose));var y=!1;function onend(){y||(y=!0,t.end())}function onclose(){y||(y=!0,"function"==typeof t.destroy&&t.destroy())}function onerror(t){if(cleanup(),0===p.listenerCount(this,"error"))throw t}function cleanup(){i.removeListener("data",ondata),t.removeListener("drain",ondrain),i.removeListener("end",onend),i.removeListener("close",onclose),i.removeListener("error",onerror),t.removeListener("error",onerror),i.removeListener("end",cleanup),i.removeListener("close",cleanup),t.removeListener("close",cleanup)}return i.on("error",onerror),t.on("error",onerror),i.on("end",cleanup),i.on("close",cleanup),t.on("close",cleanup),t.emit("pipe",i),t}},704:function(t,r,i){"use strict";var p=i(55).Buffer,y=p.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function StringDecoder(t){var r;switch(this.encoding=function(t){var r=function(t){var r;if(!t)return"utf8";for(;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(r)return;t=(""+t).toLowerCase(),r=!0}}(t);if("string"!=typeof r&&(p.isEncoding===y||!y(t)))throw Error("Unknown encoding: "+t);return r||t}(t),this.encoding){case"utf16le":this.text=utf16Text,this.end=utf16End,r=4;break;case"utf8":this.fillLast=utf8FillLast,r=4;break;case"base64":this.text=base64Text,this.end=base64End,r=3;break;default:this.write=simpleWrite,this.end=simpleEnd;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=p.allocUnsafe(r)}function utf8CheckByte(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function utf8FillLast(t){var r=this.lastTotal-this.lastNeed,i=function(t,r,i){if((192&r[0])!=128)return t.lastNeed=0,"<22>";if(t.lastNeed>1&&r.length>1){if((192&r[1])!=128)return t.lastNeed=1,"<22>";if(t.lastNeed>2&&r.length>2&&(192&r[2])!=128)return t.lastNeed=2,"<22>"}}(this,t,0);return void 0!==i?i:this.lastNeed<=t.length?(t.copy(this.lastChar,r,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(t.copy(this.lastChar,r,0,t.length),this.lastNeed-=t.length)}function utf16Text(t,r){if((t.length-r)%2==0){var i=t.toString("utf16le",r);if(i){var p=i.charCodeAt(i.length-1);if(p>=55296&&p<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],i.slice(0,-1)}return i}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",r,t.length-1)}function utf16End(t){var r=t&&t.length?this.write(t):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,i)}return r}function base64Text(t,r){var i=(t.length-r)%3;return 0===i?t.toString("base64",r):(this.lastNeed=3-i,this.lastTotal=3,1===i?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",r,t.length-i))}function base64End(t){var r=t&&t.length?this.write(t):"";return this.lastNeed?r+this.lastChar.toString("base64",0,3-this.lastNeed):r}function simpleWrite(t){return t.toString(this.encoding)}function simpleEnd(t){return t&&t.length?this.write(t):""}r.s=StringDecoder,StringDecoder.prototype.write=function(t){var r,i;if(0===t.length)return"";if(this.lastNeed){if(void 0===(r=this.fillLast(t)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<t.length?r?r+this.text(t,i):this.text(t,i):r||""},StringDecoder.prototype.end=function(t){var r=t&&t.length?this.write(t):"";return this.lastNeed?r+"<22>":r},StringDecoder.prototype.text=function(t,r){var i=function(t,r,i){var p=r.length-1;if(p<i)return 0;var y=utf8CheckByte(r[p]);return y>=0?(y>0&&(t.lastNeed=y-1),y):--p<i||-2===y?0:(y=utf8CheckByte(r[p]))>=0?(y>0&&(t.lastNeed=y-2),y):--p<i||-2===y?0:(y=utf8CheckByte(r[p]))>=0?(y>0&&(2===y?y=0:t.lastNeed=y-3),y):0}(this,t,r);if(!this.lastNeed)return t.toString("utf8",r);this.lastTotal=i;var p=t.length-(i-this.lastNeed);return t.copy(this.lastChar,0,p),t.toString("utf8",r,p)},StringDecoder.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},769:function(t){t.exports=function(t,r){if(config("noDeprecation"))return t;var i=!1;return function(){if(!i){if(config("throwDeprecation"))throw Error(r);config("traceDeprecation")?console.trace(r):console.warn(r),i=!0}return t.apply(this,arguments)}};function config(t){try{if(!i.g.localStorage)return!1}catch(t){return!1}var r=i.g.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}},300:function(t){"use strict";t.exports=i(876)},361:function(t){"use strict";t.exports=i(187)},781:function(t){"use strict";t.exports=i(187).EventEmitter},837:function(t){"use strict";t.exports=i(720)}},y={};function __nccwpck_require__(t){var i=y[t];if(void 0!==i)return i.exports;var p=y[t]={exports:{}},b=!0;try{r[t](p,p.exports,__nccwpck_require__),b=!1}finally{b&&delete y[t]}return p.exports}__nccwpck_require__.ab="//";var b=__nccwpck_require__(173);t.exports=b}()},720:function(t,r,i){var p=i(876).Buffer,y=i(454);!function(){var r={992:function(t){t.exports=function(t,i,p){if(t.filter)return t.filter(i,p);if(null==t||"function"!=typeof i)throw TypeError();for(var y=[],b=0;b<t.length;b++)if(r.call(t,b)){var _=t[b];i.call(p,_,b,t)&&y.push(_)}return y};var r=Object.prototype.hasOwnProperty},256:function(t,r,i){"use strict";var p=i(925),y=i(139),b=y(p("String.prototype.indexOf"));t.exports=function(t,r){var i=p(t,!!r);return"function"==typeof i&&b(t,".prototype.")>-1?y(i):i}},139:function(t,r,i){"use strict";var p=i(174),y=i(925),b=y("%Function.prototype.apply%"),_=y("%Function.prototype.call%"),m=y("%Reflect.apply%",!0)||p.call(_,b),w=y("%Object.getOwnPropertyDescriptor%",!0),S=y("%Object.defineProperty%",!0),A=y("%Math.max%");if(S)try{S({},"a",{value:1})}catch(t){S=null}t.exports=function(t){var r=m(p,_,arguments);return w&&S&&w(r,"length").configurable&&S(r,"length",{value:1+A(0,t.length-(arguments.length-1))}),r};var s=function(){return m(p,b,arguments)};S?S(t.exports,"apply",{value:s}):t.exports.apply=s},144:function(t){var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString;t.exports=function(t,p,y){if("[object Function]"!==i.call(p))throw TypeError("iterator must be a function");var b=t.length;if(b===+b)for(var _=0;_<b;_++)p.call(y,t[_],_,t);else for(var m in t)r.call(t,m)&&p.call(y,t[m],m,t)}},426:function(t){"use strict";var r=Array.prototype.slice,i=Object.prototype.toString;t.exports=function(t){var p,y=this;if("function"!=typeof y||"[object Function]"!==i.call(y))throw TypeError("Function.prototype.bind called on incompatible "+y);for(var b=r.call(arguments,1),_=Math.max(0,y.length-b.length),m=[],w=0;w<_;w++)m.push("$"+w);if(p=Function("binder","return function ("+m.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(!(this instanceof p))return y.apply(t,b.concat(r.call(arguments)));var i=y.apply(this,b.concat(r.call(arguments)));return Object(i)===i?i:this}),y.prototype){var s=function(){};s.prototype=y.prototype,p.prototype=new s,s.prototype=null}return p}},174:function(t,r,i){"use strict";var p=i(426);t.exports=Function.prototype.bind||p},500:function(t,r,i){"use strict";var p,y=SyntaxError,b=Function,_=TypeError,getEvalledConstructor=function(t){try{return b('"use strict"; return ('+t+").constructor;")()}catch(t){}},m=Object.getOwnPropertyDescriptor;if(m)try{m({},"")}catch(t){m=null}var throwTypeError=function(){throw new _},w=m?function(){try{return arguments.callee,throwTypeError}catch(t){try{return m(arguments,"callee").get}catch(t){return throwTypeError}}}():throwTypeError,S=i(115)(),A=Object.getPrototypeOf||function(t){return t.__proto__},k={},T="undefined"==typeof Uint8Array?p:A(Uint8Array),R={"%AggregateError%":"undefined"==typeof AggregateError?p:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?p:ArrayBuffer,"%ArrayIteratorPrototype%":S?A([][Symbol.iterator]()):p,"%AsyncFromSyncIteratorPrototype%":p,"%AsyncFunction%":k,"%AsyncGenerator%":k,"%AsyncGeneratorFunction%":k,"%AsyncIteratorPrototype%":k,"%Atomics%":"undefined"==typeof Atomics?p:Atomics,"%BigInt%":"undefined"==typeof BigInt?p:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?p:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?p:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?p:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?p:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":k,"%Int8Array%":"undefined"==typeof Int8Array?p:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?p:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?p:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":S?A(A([][Symbol.iterator]())):p,"%JSON%":"object"==typeof JSON?JSON:p,"%Map%":"undefined"==typeof Map?p:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&S?A((new Map)[Symbol.iterator]()):p,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?p:Promise,"%Proxy%":"undefined"==typeof Proxy?p:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?p:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?p:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&S?A((new Set)[Symbol.iterator]()):p,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?p:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":S?A(""[Symbol.iterator]()):p,"%Symbol%":S?Symbol:p,"%SyntaxError%":y,"%ThrowTypeError%":w,"%TypedArray%":T,"%TypeError%":_,"%Uint8Array%":"undefined"==typeof Uint8Array?p:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?p:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?p:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?p:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?p:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?p:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?p:WeakSet},d=function doEval(t){var r;if("%AsyncFunction%"===t)r=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===t)r=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===t){var i=doEval("%AsyncGeneratorFunction%");i&&(r=i.prototype)}else if("%AsyncIteratorPrototype%"===t){var p=doEval("%AsyncGenerator%");p&&(r=A(p.prototype))}return R[t]=r,r},O={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},x=i(174),P=i(101),L=x.call(Function.call,Array.prototype.concat),M=x.call(Function.apply,Array.prototype.splice),C=x.call(Function.call,String.prototype.replace),N=x.call(Function.call,String.prototype.slice),D=x.call(Function.call,RegExp.prototype.exec),U=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,F=/\\(\\)?/g,j=function(t){var r=N(t,0,1),i=N(t,-1);if("%"===r&&"%"!==i)throw new y("invalid intrinsic syntax, expected closing `%`");if("%"===i&&"%"!==r)throw new y("invalid intrinsic syntax, expected opening `%`");var p=[];return C(t,U,function(t,r,i,y){p[p.length]=i?C(y,F,"$1"):r||t}),p},E=function(t,r){var i,p=t;if(P(O,p)&&(p="%"+(i=O[p])[0]+"%"),P(R,p)){var b=R[p];if(b===k&&(b=d(p)),void 0===b&&!r)throw new _("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:p,value:b}}throw new y("intrinsic "+t+" does not exist!")};t.exports=function(t,r){if("string"!=typeof t||0===t.length)throw new _("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof r)throw new _('"allowMissing" argument must be a boolean');if(null===D(/^%?[^%]*%?$/g,t))throw new y("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=j(t),p=i.length>0?i[0]:"",b=E("%"+p+"%",r),w=b.name,S=b.value,A=!1,k=b.alias;k&&(p=k[0],M(i,L([0,1],k)));for(var T=1,O=!0;T<i.length;T+=1){var x=i[T],C=N(x,0,1),U=N(x,-1);if(('"'===C||"'"===C||"`"===C||'"'===U||"'"===U||"`"===U)&&C!==U)throw new y("property names with quotes must have matching quotes");if("constructor"!==x&&O||(A=!0),p+="."+x,P(R,w="%"+p+"%"))S=R[w];else if(null!=S){if(!(x in S)){if(!r)throw new _("base intrinsic for "+t+" exists, but the property is not available.");return}if(m&&T+1>=i.length){var F=m(S,x);S=(O=!!F)&&"get"in F&&!("originalValue"in F.get)?F.get:S[x]}else O=P(S,x),S=S[x];O&&!A&&(R[w]=S)}}return S}},925:function(t,r,i){"use strict";var p,y=SyntaxError,b=Function,_=TypeError,getEvalledConstructor=function(t){try{return b('"use strict"; return ('+t+").constructor;")()}catch(t){}},m=Object.getOwnPropertyDescriptor;if(m)try{m({},"")}catch(t){m=null}var throwTypeError=function(){throw new _},w=m?function(){try{return arguments.callee,throwTypeError}catch(t){try{return m(arguments,"callee").get}catch(t){return throwTypeError}}}():throwTypeError,S=i(115)(),A=i(504)(),k=Object.getPrototypeOf||(A?function(t){return t.__proto__}:null),T={},R="undefined"!=typeof Uint8Array&&k?k(Uint8Array):p,O={"%AggregateError%":"undefined"==typeof AggregateError?p:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?p:ArrayBuffer,"%ArrayIteratorPrototype%":S&&k?k([][Symbol.iterator]()):p,"%AsyncFromSyncIteratorPrototype%":p,"%AsyncFunction%":T,"%AsyncGenerator%":T,"%AsyncGeneratorFunction%":T,"%AsyncIteratorPrototype%":T,"%Atomics%":"undefined"==typeof Atomics?p:Atomics,"%BigInt%":"undefined"==typeof BigInt?p:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?p:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?p:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?p:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?p:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?p:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?p:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":T,"%Int8Array%":"undefined"==typeof Int8Array?p:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?p:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?p:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":S&&k?k(k([][Symbol.iterator]())):p,"%JSON%":"object"==typeof JSON?JSON:p,"%Map%":"undefined"==typeof Map?p:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&S&&k?k((new Map)[Symbol.iterator]()):p,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?p:Promise,"%Proxy%":"undefined"==typeof Proxy?p:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?p:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?p:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&S&&k?k((new Set)[Symbol.iterator]()):p,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?p:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":S&&k?k(""[Symbol.iterator]()):p,"%Symbol%":S?Symbol:p,"%SyntaxError%":y,"%ThrowTypeError%":w,"%TypedArray%":R,"%TypeError%":_,"%Uint8Array%":"undefined"==typeof Uint8Array?p:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?p:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?p:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?p:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?p:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?p:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?p:WeakSet};if(k)try{null.error}catch(t){var x=k(k(t));O["%Error.prototype%"]=x}var v=function doEval(t){var r;if("%AsyncFunction%"===t)r=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===t)r=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===t){var i=doEval("%AsyncGeneratorFunction%");i&&(r=i.prototype)}else if("%AsyncIteratorPrototype%"===t){var p=doEval("%AsyncGenerator%");p&&k&&(r=k(p.prototype))}return O[t]=r,r},P={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},L=i(174),M=i(101),C=L.call(Function.call,Array.prototype.concat),N=L.call(Function.apply,Array.prototype.splice),D=L.call(Function.call,String.prototype.replace),U=L.call(Function.call,String.prototype.slice),F=L.call(Function.call,RegExp.prototype.exec),z=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,W=/\\(\\)?/g,I=function(t){var r=U(t,0,1),i=U(t,-1);if("%"===r&&"%"!==i)throw new y("invalid intrinsic syntax, expected closing `%`");if("%"===i&&"%"!==r)throw new y("invalid intrinsic syntax, expected opening `%`");var p=[];return D(t,z,function(t,r,i,y){p[p.length]=i?D(y,W,"$1"):r||t}),p},B=function(t,r){var i,p=t;if(M(P,p)&&(p="%"+(i=P[p])[0]+"%"),M(O,p)){var b=O[p];if(b===T&&(b=v(p)),void 0===b&&!r)throw new _("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:p,value:b}}throw new y("intrinsic "+t+" does not exist!")};t.exports=function(t,r){if("string"!=typeof t||0===t.length)throw new _("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof r)throw new _('"allowMissing" argument must be a boolean');if(null===F(/^%?[^%]*%?$/,t))throw new y("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=I(t),p=i.length>0?i[0]:"",b=B("%"+p+"%",r),w=b.name,S=b.value,A=!1,k=b.alias;k&&(p=k[0],N(i,C([0,1],k)));for(var T=1,R=!0;T<i.length;T+=1){var x=i[T],P=U(x,0,1),L=U(x,-1);if(('"'===P||"'"===P||"`"===P||'"'===L||"'"===L||"`"===L)&&P!==L)throw new y("property names with quotes must have matching quotes");if("constructor"!==x&&R||(A=!0),p+="."+x,M(O,w="%"+p+"%"))S=O[w];else if(null!=S){if(!(x in S)){if(!r)throw new _("base intrinsic for "+t+" exists, but the property is not available.");return}if(m&&T+1>=i.length){var D=m(S,x);S=(R=!!D)&&"get"in D&&!("originalValue"in D.get)?D.get:S[x]}else R=M(S,x),S=S[x];R&&!A&&(O[w]=S)}}return S}},504:function(t){"use strict";var r={foo:{}},i=Object;t.exports=function(){return({__proto__:r}).foo===r.foo&&!(({__proto__:null})instanceof i)}},942:function(t,r,i){"use strict";var p="undefined"!=typeof Symbol&&Symbol,y=i(773);t.exports=function(){return"function"==typeof p&&"function"==typeof Symbol&&"symbol"==typeof p("foo")&&"symbol"==typeof Symbol("bar")&&y()}},773:function(t){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},r=Symbol("test"),i=Object(r);if("string"==typeof r||"[object Symbol]"!==Object.prototype.toString.call(r)||"[object Symbol]"!==Object.prototype.toString.call(i))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var p=Object.getOwnPropertySymbols(t);if(1!==p.length||p[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var y=Object.getOwnPropertyDescriptor(t,r);if(42!==y.value||!0!==y.enumerable)return!1}return!0}},115:function(t,r,i){"use strict";var p="undefined"!=typeof Symbol&&Symbol,y=i(832);t.exports=function(){return"function"==typeof p&&"function"==typeof Symbol&&"symbol"==typeof p("foo")&&"symbol"==typeof Symbol("bar")&&y()}},832:function(t){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},r=Symbol("test"),i=Object(r);if("string"==typeof r||"[object Symbol]"!==Object.prototype.toString.call(r)||"[object Symbol]"!==Object.prototype.toString.call(i))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var p=Object.getOwnPropertySymbols(t);if(1!==p.length||p[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var y=Object.getOwnPropertyDescriptor(t,r);if(42!==y.value||!0!==y.enumerable)return!1}return!0}},101:function(t,r,i){"use strict";var p=i(174);t.exports=p.call(Function.call,Object.prototype.hasOwnProperty)},782:function(t){"function"==typeof Object.create?t.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,r){if(r){t.super_=r;var TempCtor=function(){};TempCtor.prototype=r.prototype,t.prototype=new TempCtor,t.prototype.constructor=t}}},157:function(t){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,i=Object.prototype.toString,o=function(t){return(!r||!t||"object"!=typeof t||!(Symbol.toStringTag in t))&&"[object Arguments]"===i.call(t)},n=function(t){return!!o(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==i.call(t)&&"[object Function]"===i.call(t.callee)},p=function(){return o(arguments)}();o.isLegacyArguments=n,t.exports=p?o:n},391:function(t){"use strict";var r=Object.prototype.toString,i=Function.prototype.toString,p=/^\s*(?:function)?\*/,y="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,b=Object.getPrototypeOf,_=function(){if(!y)return!1;try{return Function("return function*() {}")()}catch(t){}}(),m=_?b(_):{};t.exports=function(t){return"function"==typeof t&&(!!p.test(i.call(t))||(y?b(t)===m:"[object GeneratorFunction]"===r.call(t)))}},994:function(t,r,p){"use strict";var y=p(144),b=p(349),_=p(256),m=_("Object.prototype.toString"),w=p(942)()&&"symbol"==typeof Symbol.toStringTag,S=b(),A=_("Array.prototype.indexOf",!0)||function(t,r){for(var i=0;i<t.length;i+=1)if(t[i]===r)return i;return -1},k=_("String.prototype.slice"),T={},R=p(24),O=Object.getPrototypeOf;w&&R&&O&&y(S,function(t){var r=new i.g[t];if(!(Symbol.toStringTag in r))throw EvalError("this engine has support for Symbol.toStringTag, but "+t+" does not have the property! Please report this.");var p=O(r),y=R(p,Symbol.toStringTag);y||(y=R(O(p),Symbol.toStringTag)),T[t]=y.get});var g=function(t){var r=!1;return y(T,function(i,p){if(!r)try{r=i.call(t)===p}catch(t){}}),r};t.exports=function(t){return!!t&&"object"==typeof t&&(w?!!R&&g(t):A(S,k(m(t),8,-1))>-1)}},369:function(t){t.exports=function(t){return t instanceof p}},584:function(t,r,i){"use strict";var p=i(157),y=i(391),b=i(490),_=i(994);function uncurryThis(t){return t.call.bind(t)}var m="undefined"!=typeof BigInt,w="undefined"!=typeof Symbol,S=uncurryThis(Object.prototype.toString),A=uncurryThis(Number.prototype.valueOf),k=uncurryThis(String.prototype.valueOf),T=uncurryThis(Boolean.prototype.valueOf);if(m)var R=uncurryThis(BigInt.prototype.valueOf);if(w)var O=uncurryThis(Symbol.prototype.valueOf);function checkBoxedPrimitive(t,r){if("object"!=typeof t)return!1;try{return r(t),!0}catch(t){return!1}}function isMapToString(t){return"[object Map]"===S(t)}function isSetToString(t){return"[object Set]"===S(t)}function isWeakMapToString(t){return"[object WeakMap]"===S(t)}function isWeakSetToString(t){return"[object WeakSet]"===S(t)}function isArrayBufferToString(t){return"[object ArrayBuffer]"===S(t)}function isArrayBuffer(t){return"undefined"!=typeof ArrayBuffer&&(isArrayBufferToString.working?isArrayBufferToString(t):t instanceof ArrayBuffer)}function isDataViewToString(t){return"[object DataView]"===S(t)}function isDataView(t){return"undefined"!=typeof DataView&&(isDataViewToString.working?isDataViewToString(t):t instanceof DataView)}r.isArgumentsObject=p,r.isGeneratorFunction=y,r.isTypedArray=_,r.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},r.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):_(t)||isDataView(t)},r.isUint8Array=function(t){return"Uint8Array"===b(t)},r.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===b(t)},r.isUint16Array=function(t){return"Uint16Array"===b(t)},r.isUint32Array=function(t){return"Uint32Array"===b(t)},r.isInt8Array=function(t){return"Int8Array"===b(t)},r.isInt16Array=function(t){return"Int16Array"===b(t)},r.isInt32Array=function(t){return"Int32Array"===b(t)},r.isFloat32Array=function(t){return"Float32Array"===b(t)},r.isFloat64Array=function(t){return"Float64Array"===b(t)},r.isBigInt64Array=function(t){return"BigInt64Array"===b(t)},r.isBigUint64Array=function(t){return"BigUint64Array"===b(t)},isMapToString.working="undefined"!=typeof Map&&isMapToString(new Map),r.isMap=function(t){return"undefined"!=typeof Map&&(isMapToString.working?isMapToString(t):t instanceof Map)},isSetToString.working="undefined"!=typeof Set&&isSetToString(new Set),r.isSet=function(t){return"undefined"!=typeof Set&&(isSetToString.working?isSetToString(t):t instanceof Set)},isWeakMapToString.working="undefined"!=typeof WeakMap&&isWeakMapToString(new WeakMap),r.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(isWeakMapToString.working?isWeakMapToString(t):t instanceof WeakMap)},isWeakSetToString.working="undefined"!=typeof WeakSet&&isWeakSetToString(new WeakSet),r.isWeakSet=function(t){return isWeakSetToString(t)},isArrayBufferToString.working="undefined"!=typeof ArrayBuffer&&isArrayBufferToString(new ArrayBuffer),r.isArrayBuffer=isArrayBuffer,isDataViewToString.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&isDataViewToString(new DataView(new ArrayBuffer(1),0,1)),r.isDataView=isDataView;var x="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function isSharedArrayBufferToString(t){return"[object SharedArrayBuffer]"===S(t)}function isSharedArrayBuffer(t){return void 0!==x&&(void 0===isSharedArrayBufferToString.working&&(isSharedArrayBufferToString.working=isSharedArrayBufferToString(new x)),isSharedArrayBufferToString.working?isSharedArrayBufferToString(t):t instanceof x)}function isNumberObject(t){return checkBoxedPrimitive(t,A)}function isStringObject(t){return checkBoxedPrimitive(t,k)}function isBooleanObject(t){return checkBoxedPrimitive(t,T)}function isBigIntObject(t){return m&&checkBoxedPrimitive(t,R)}function isSymbolObject(t){return w&&checkBoxedPrimitive(t,O)}r.isSharedArrayBuffer=isSharedArrayBuffer,r.isAsyncFunction=function(t){return"[object AsyncFunction]"===S(t)},r.isMapIterator=function(t){return"[object Map Iterator]"===S(t)},r.isSetIterator=function(t){return"[object Set Iterator]"===S(t)},r.isGeneratorObject=function(t){return"[object Generator]"===S(t)},r.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===S(t)},r.isNumberObject=isNumberObject,r.isStringObject=isStringObject,r.isBooleanObject=isBooleanObject,r.isBigIntObject=isBigIntObject,r.isSymbolObject=isSymbolObject,r.isBoxedPrimitive=function(t){return isNumberObject(t)||isStringObject(t)||isBooleanObject(t)||isBigIntObject(t)||isSymbolObject(t)},r.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(isArrayBuffer(t)||isSharedArrayBuffer(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(r,t,{enumerable:!1,value:function(){throw Error(t+" is not supported in userland")}})})},177:function(t,r,i){var p=Object.getOwnPropertyDescriptors||function(t){for(var r=Object.keys(t),i={},p=0;p<r.length;p++)i[r[p]]=Object.getOwnPropertyDescriptor(t,r[p]);return i},b=/%[sdj%]/g;r.format=function(t){if(!isString(t)){for(var r=[],i=0;i<arguments.length;i++)r.push(inspect(arguments[i]));return r.join(" ")}for(var i=1,p=arguments,y=p.length,_=String(t).replace(b,function(t){if("%%"===t)return"%";if(i>=y)return t;switch(t){case"%s":return String(p[i++]);case"%d":return Number(p[i++]);case"%j":try{return JSON.stringify(p[i++])}catch(t){return"[Circular]"}default:return t}}),m=p[i];i<y;m=p[++i])isNull(m)||!isObject(m)?_+=" "+m:_+=" "+inspect(m);return _},r.deprecate=function(t,i){if(void 0!==y&&!0===y.noDeprecation)return t;if(void 0===y)return function(){return r.deprecate(t,i).apply(this,arguments)};var p=!1;return function(){if(!p){if(y.throwDeprecation)throw Error(i);y.traceDeprecation?console.trace(i):console.error(i),p=!0}return t.apply(this,arguments)}};var _={},m=/^$/;if(y.env.NODE_DEBUG){var w=y.env.NODE_DEBUG;m=RegExp("^"+(w=w.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase())+"$","i")}function inspect(t,i){var p={seen:[],stylize:stylizeNoColor};return arguments.length>=3&&(p.depth=arguments[2]),arguments.length>=4&&(p.colors=arguments[3]),isBoolean(i)?p.showHidden=i:i&&r._extend(p,i),isUndefined(p.showHidden)&&(p.showHidden=!1),isUndefined(p.depth)&&(p.depth=2),isUndefined(p.colors)&&(p.colors=!1),isUndefined(p.customInspect)&&(p.customInspect=!0),p.colors&&(p.stylize=stylizeWithColor),formatValue(p,t,p.depth)}function stylizeWithColor(t,r){var i=inspect.styles[r];return i?"\x1b["+inspect.colors[i][0]+"m"+t+"\x1b["+inspect.colors[i][1]+"m":t}function stylizeNoColor(t,r){return t}function formatValue(t,i,p){if(t.customInspect&&i&&isFunction(i.inspect)&&i.inspect!==r.inspect&&!(i.constructor&&i.constructor.prototype===i)){var y,b,_,m,w,S=i.inspect(p,t);return isString(S)||(S=formatValue(t,S,p)),S}var A=function(t,r){if(isUndefined(r))return t.stylize("undefined","undefined");if(isString(r)){var i="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(i,"string")}return isNumber(r)?t.stylize(""+r,"number"):isBoolean(r)?t.stylize(""+r,"boolean"):isNull(r)?t.stylize("null","null"):void 0}(t,i);if(A)return A;var k=Object.keys(i),T=(m={},k.forEach(function(t,r){m[t]=!0}),m);if(t.showHidden&&(k=Object.getOwnPropertyNames(i)),isError(i)&&(k.indexOf("message")>=0||k.indexOf("description")>=0))return formatError(i);if(0===k.length){if(isFunction(i)){var R=i.name?": "+i.name:"";return t.stylize("[Function"+R+"]","special")}if(isRegExp(i))return t.stylize(RegExp.prototype.toString.call(i),"regexp");if(isDate(i))return t.stylize(Date.prototype.toString.call(i),"date");if(isError(i))return formatError(i)}var O="",x=!1,P=["{","}"];return(isArray(i)&&(x=!0,P=["[","]"]),isFunction(i)&&(O=" [Function"+(i.name?": "+i.name:"")+"]"),isRegExp(i)&&(O=" "+RegExp.prototype.toString.call(i)),isDate(i)&&(O=" "+Date.prototype.toUTCString.call(i)),isError(i)&&(O=" "+formatError(i)),0!==k.length||x&&0!=i.length)?p<0?isRegExp(i)?t.stylize(RegExp.prototype.toString.call(i),"regexp"):t.stylize("[Object]","special"):(t.seen.push(i),w=x?function(t,r,i,p,y){for(var b=[],_=0,m=r.length;_<m;++_)hasOwnProperty(r,String(_))?b.push(formatProperty(t,r,i,p,String(_),!0)):b.push("");return y.forEach(function(y){y.match(/^\d+$/)||b.push(formatProperty(t,r,i,p,y,!0))}),b}(t,i,p,T,k):k.map(function(r){return formatProperty(t,i,p,T,r,x)}),t.seen.pop(),y=O,b=P,_=0,w.reduce(function(t,r){return _++,r.indexOf("\n")>=0&&_++,t+r.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?b[0]+(""===y?"":y+"\n ")+" "+w.join(",\n ")+" "+b[1]:b[0]+y+" "+w.join(", ")+" "+b[1]):P[0]+O+P[1]}function formatError(t){return"["+Error.prototype.toString.call(t)+"]"}function formatProperty(t,r,i,p,y,b){var _,m,w;if((w=Object.getOwnPropertyDescriptor(r,y)||{value:r[y]}).get?m=w.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):w.set&&(m=t.stylize("[Setter]","special")),hasOwnProperty(p,y)||(_="["+y+"]"),!m&&(0>t.seen.indexOf(w.value)?(m=isNull(i)?formatValue(t,w.value,null):formatValue(t,w.value,i-1)).indexOf("\n")>-1&&(m=b?m.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+m.split("\n").map(function(t){return" "+t}).join("\n")):m=t.stylize("[Circular]","special")),isUndefined(_)){if(b&&y.match(/^\d+$/))return m;(_=JSON.stringify(""+y)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(_=_.substr(1,_.length-2),_=t.stylize(_,"name")):(_=_.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),_=t.stylize(_,"string"))}return _+": "+m}function isArray(t){return Array.isArray(t)}function isBoolean(t){return"boolean"==typeof t}function isNull(t){return null===t}function isNumber(t){return"number"==typeof t}function isString(t){return"string"==typeof t}function isUndefined(t){return void 0===t}function isRegExp(t){return isObject(t)&&"[object RegExp]"===objectToString(t)}function isObject(t){return"object"==typeof t&&null!==t}function isDate(t){return isObject(t)&&"[object Date]"===objectToString(t)}function isError(t){return isObject(t)&&("[object Error]"===objectToString(t)||t instanceof Error)}function isFunction(t){return"function"==typeof t}function objectToString(t){return Object.prototype.toString.call(t)}function pad(t){return t<10?"0"+t.toString(10):t.toString(10)}r.debuglog=function(t){if(!_[t=t.toUpperCase()]){if(m.test(t)){var i=y.pid;_[t]=function(){var p=r.format.apply(r,arguments);console.error("%s %d: %s",t,i,p)}}else _[t]=function(){}}return _[t]},r.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.types=i(584),r.isArray=isArray,r.isBoolean=isBoolean,r.isNull=isNull,r.isNullOrUndefined=function(t){return null==t},r.isNumber=isNumber,r.isString=isString,r.isSymbol=function(t){return"symbol"==typeof t},r.isUndefined=isUndefined,r.isRegExp=isRegExp,r.types.isRegExp=isRegExp,r.isObject=isObject,r.isDate=isDate,r.types.isDate=isDate,r.isError=isError,r.types.isNativeError=isError,r.isFunction=isFunction,r.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},r.isBuffer=i(369);var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function hasOwnProperty(t,r){return Object.prototype.hasOwnProperty.call(t,r)}r.log=function(){var t,i;console.log("%s - %s",(i=[pad((t=new Date).getHours()),pad(t.getMinutes()),pad(t.getSeconds())].join(":"),[t.getDate(),S[t.getMonth()],i].join(" ")),r.format.apply(r,arguments))},r.inherits=i(782),r._extend=function(t,r){if(!r||!isObject(r))return t;for(var i=Object.keys(r),p=i.length;p--;)t[i[p]]=r[i[p]];return t};var A="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function callbackifyOnRejected(t,r){if(!t){var i=Error("Promise was rejected with a falsy value");i.reason=t,t=i}return r(t)}r.promisify=function(t){if("function"!=typeof t)throw TypeError('The "original" argument must be of type Function');if(A&&t[A]){var e=t[A];if("function"!=typeof e)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,A,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var r,i,p=new Promise(function(t,p){r=t,i=p}),y=[],b=0;b<arguments.length;b++)y.push(arguments[b]);y.push(function(t,p){t?i(t):r(p)});try{t.apply(this,y)}catch(t){i(t)}return p}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),A&&Object.defineProperty(e,A,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,p(t))},r.promisify.custom=A,r.callbackify=function(t){if("function"!=typeof t)throw TypeError('The "original" argument must be of type Function');function callbackified(){for(var r=[],i=0;i<arguments.length;i++)r.push(arguments[i]);var p=r.pop();if("function"!=typeof p)throw TypeError("The last argument must be of type Function");var b=this,cb=function(){return p.apply(b,arguments)};t.apply(this,r).then(function(t){y.nextTick(cb.bind(null,null,t))},function(t){y.nextTick(callbackifyOnRejected.bind(null,t,cb))})}return Object.setPrototypeOf(callbackified,Object.getPrototypeOf(t)),Object.defineProperties(callbackified,p(t)),callbackified}},490:function(t,r,p){"use strict";var y=p(144),b=p(349),_=p(256),m=_("Object.prototype.toString"),w=p(942)()&&"symbol"==typeof Symbol.toStringTag,S=b(),A=_("String.prototype.slice"),k={},T=p(24),R=Object.getPrototypeOf;w&&T&&R&&y(S,function(t){if("function"==typeof i.g[t]){var r=new i.g[t];if(!(Symbol.toStringTag in r))throw EvalError("this engine has support for Symbol.toStringTag, but "+t+" does not have the property! Please report this.");var p=R(r),y=T(p,Symbol.toStringTag);y||(y=T(R(p),Symbol.toStringTag)),k[t]=y.get}});var d=function(t){var r=!1;return y(k,function(i,p){if(!r)try{var y=i.call(t);y===p&&(r=y)}catch(t){}}),r},O=p(994);t.exports=function(t){return!!O(t)&&(w?d(t):A(m(t),8,-1))}},349:function(t,r,p){"use strict";var y=p(992);t.exports=function(){return y(["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],function(t){return"function"==typeof i.g[t]})}},24:function(t,r,i){"use strict";var p=i(500)("%Object.getOwnPropertyDescriptor%",!0);if(p)try{p([],"length")}catch(t){p=null}t.exports=p}},b={};function __nccwpck_require__(t){var i=b[t];if(void 0!==i)return i.exports;var p=b[t]={exports:{}},y=!0;try{r[t](p,p.exports,__nccwpck_require__),y=!1}finally{y&&delete b[t]}return p.exports}__nccwpck_require__.ab="//";var _=__nccwpck_require__(177);t.exports=_}()},113:function(t,r,i){t.exports=(function e(t,r,i){function s(y,b){if(!r[y]){if(!t[y]){if(p)return p(y,!0);var _=Error("Cannot find module '"+y+"'");throw _.code="MODULE_NOT_FOUND",_}var m=r[y]={exports:{}};t[y][0].call(m.exports,function(r){return s(t[y][1][r]||r)},m,m.exports,e,t,r,i)}return r[y].exports}for(var p=void 0,y=0;y<i.length;y++)s(i[y]);return s})({1:[function(t,r,i){(function(r){(function(){"use strict";let p=t("./interlace"),y=[function(){},function(t,r,i,p){if(p===r.length)throw Error("Ran out of data");let y=r[p];t[i]=y,t[i+1]=y,t[i+2]=y,t[i+3]=255},function(t,r,i,p){if(p+1>=r.length)throw Error("Ran out of data");let y=r[p];t[i]=y,t[i+1]=y,t[i+2]=y,t[i+3]=r[p+1]},function(t,r,i,p){if(p+2>=r.length)throw Error("Ran out of data");t[i]=r[p],t[i+1]=r[p+1],t[i+2]=r[p+2],t[i+3]=255},function(t,r,i,p){if(p+3>=r.length)throw Error("Ran out of data");t[i]=r[p],t[i+1]=r[p+1],t[i+2]=r[p+2],t[i+3]=r[p+3]}],b=[function(){},function(t,r,i,p){let y=r[0];t[i]=y,t[i+1]=y,t[i+2]=y,t[i+3]=p},function(t,r,i){let p=r[0];t[i]=p,t[i+1]=p,t[i+2]=p,t[i+3]=r[1]},function(t,r,i,p){t[i]=r[0],t[i+1]=r[1],t[i+2]=r[2],t[i+3]=p},function(t,r,i){t[i]=r[0],t[i+1]=r[1],t[i+2]=r[2],t[i+3]=r[3]}];i.dataToBitMap=function(t,i){let _,m,w,S,A=i.width,k=i.height,T=i.depth,R=i.bpp,O=i.interlace;if(8!==T){let r,i;r=[],i=0,_={get:function(p){for(;r.length<p;)!function(){let p,y,b,_,m,w,S,A;if(i===t.length)throw Error("Ran out of data");let k=t[i];switch(i++,T){default:throw Error("unrecognised depth");case 16:S=t[i],i++,r.push((k<<8)+S);break;case 4:S=15&k,A=k>>4,r.push(A,S);break;case 2:m=3&k,w=k>>2&3,S=k>>4&3,A=k>>6&3,r.push(A,S,w,m);break;case 1:p=1&k,y=k>>1&1,b=k>>2&1,_=k>>3&1,m=k>>4&1,w=k>>5&1,S=k>>6&1,A=k>>7&1,r.push(A,S,w,m,_,b,y,p)}}();let y=r.slice(0,p);return r=r.slice(p),y},resetAfterLine:function(){r.length=0},end:function(){if(i!==t.length)throw Error("extra data found")}}}m=T<=8?r.alloc(A*k*4):new Uint16Array(A*k*4);let x=Math.pow(2,T)-1,P=0;if(O)w=p.getImagePasses(A,k),S=p.getInterlaceIterator(A,k);else{let t=0;S=function(){let r=t;return t+=4,r},w=[{width:A,height:k}]}for(let r=0;r<w.length;r++)8===T?P=function(t,r,i,p,b,_){let m=t.width,w=t.height,S=t.index;for(let t=0;t<w;t++)for(let w=0;w<m;w++){let m=i(w,t,S);y[p](r,b,m,_),_+=p}return _}(w[r],m,S,R,t,P):function(t,r,i,p,y,_){let m=t.width,w=t.height,S=t.index;for(let t=0;t<w;t++){for(let w=0;w<m;w++){let m=y.get(p),A=i(w,t,S);b[p](r,m,A,_)}y.resetAfterLine()}}(w[r],m,S,R,_,x);if(8===T){if(P!==t.length)throw Error("extra data found")}else _.end();return m}}).call(this)}).call(this,t("buffer").Buffer)},{"./interlace":11,buffer:33}],2:[function(t,r,i){(function(i){(function(){"use strict";let p=t("./constants");r.exports=function(t,r,y,b){let _=-1!==[p.COLORTYPE_COLOR_ALPHA,p.COLORTYPE_ALPHA].indexOf(b.colorType);if(b.colorType===b.inputColorType){let r;let i=(r=new ArrayBuffer(2),new DataView(r).setInt16(0,256,!0),256!==new Int16Array(r)[0]);if(8===b.bitDepth||16===b.bitDepth&&i)return t}let m=16!==b.bitDepth?t:new Uint16Array(t.buffer),w=255,S=p.COLORTYPE_TO_BPP_MAP[b.inputColorType];4!==S||b.inputHasAlpha||(S=3);let A=p.COLORTYPE_TO_BPP_MAP[b.colorType];16===b.bitDepth&&(w=65535,A*=2);let k=i.alloc(r*y*A),T=0,R=0,O=b.bgColor||{};void 0===O.red&&(O.red=w),void 0===O.green&&(O.green=w),void 0===O.blue&&(O.blue=w);for(let t=0;t<y;t++)for(let t=0;t<r;t++){let t=function(){let t,r,i;let y=w;switch(b.inputColorType){case p.COLORTYPE_COLOR_ALPHA:y=m[T+3],t=m[T],r=m[T+1],i=m[T+2];break;case p.COLORTYPE_COLOR:t=m[T],r=m[T+1],i=m[T+2];break;case p.COLORTYPE_ALPHA:y=m[T+1],r=t=m[T],i=t;break;case p.COLORTYPE_GRAYSCALE:r=t=m[T],i=t;break;default:throw Error("input color type:"+b.inputColorType+" is not supported at present")}return b.inputHasAlpha&&!_&&(y/=w,t=Math.min(Math.max(Math.round((1-y)*O.red+y*t),0),w),r=Math.min(Math.max(Math.round((1-y)*O.green+y*r),0),w),i=Math.min(Math.max(Math.round((1-y)*O.blue+y*i),0),w)),{red:t,green:r,blue:i,alpha:y}}(m,T);switch(b.colorType){case p.COLORTYPE_COLOR_ALPHA:case p.COLORTYPE_COLOR:8===b.bitDepth?(k[R]=t.red,k[R+1]=t.green,k[R+2]=t.blue,_&&(k[R+3]=t.alpha)):(k.writeUInt16BE(t.red,R),k.writeUInt16BE(t.green,R+2),k.writeUInt16BE(t.blue,R+4),_&&k.writeUInt16BE(t.alpha,R+6));break;case p.COLORTYPE_ALPHA:case p.COLORTYPE_GRAYSCALE:{let r=(t.red+t.green+t.blue)/3;8===b.bitDepth?(k[R]=r,_&&(k[R+1]=t.alpha)):(k.writeUInt16BE(r,R),_&&k.writeUInt16BE(t.alpha,R+2));break}default:throw Error("unrecognised color Type "+b.colorType)}T+=S,R+=A}return k}}).call(this)}).call(this,t("buffer").Buffer)},{"./constants":4,buffer:33}],3:[function(t,r,i){(function(i,p){(function(){"use strict";let y=t("util"),b=t("stream"),_=r.exports=function(){b.call(this),this._buffers=[],this._buffered=0,this._reads=[],this._paused=!1,this._encoding="utf8",this.writable=!0};y.inherits(_,b),_.prototype.read=function(t,r){this._reads.push({length:Math.abs(t),allowLess:t<0,func:r}),i.nextTick((function(){this._process(),this._paused&&this._reads&&this._reads.length>0&&(this._paused=!1,this.emit("drain"))}).bind(this))},_.prototype.write=function(t,r){let i;return this.writable?(i=p.isBuffer(t)?t:p.from(t,r||this._encoding),this._buffers.push(i),this._buffered+=i.length,this._process(),this._reads&&0===this._reads.length&&(this._paused=!0),this.writable&&!this._paused):(this.emit("error",Error("Stream not writable")),!1)},_.prototype.end=function(t,r){t&&this.write(t,r),this.writable=!1,this._buffers&&(0===this._buffers.length?this._end():(this._buffers.push(null),this._process()))},_.prototype.destroySoon=_.prototype.end,_.prototype._end=function(){this._reads.length>0&&this.emit("error",Error("Unexpected end of input")),this.destroy()},_.prototype.destroy=function(){this._buffers&&(this.writable=!1,this._reads=null,this._buffers=null,this.emit("close"))},_.prototype._processReadAllowingLess=function(t){this._reads.shift();let r=this._buffers[0];r.length>t.length?(this._buffered-=t.length,this._buffers[0]=r.slice(t.length),t.func.call(this,r.slice(0,t.length))):(this._buffered-=r.length,this._buffers.shift(),t.func.call(this,r))},_.prototype._processRead=function(t){this._reads.shift();let r=0,i=0,y=p.alloc(t.length);for(;r<t.length;){let p=this._buffers[i++],b=Math.min(p.length,t.length-r);p.copy(y,r,0,b),r+=b,b!==p.length&&(this._buffers[--i]=p.slice(b))}i>0&&this._buffers.splice(0,i),this._buffered-=t.length,t.func.call(this,y)},_.prototype._process=function(){try{for(;this._buffered>0&&this._reads&&this._reads.length>0;){let t=this._reads[0];if(t.allowLess)this._processReadAllowingLess(t);else if(this._buffered>=t.length)this._processRead(t);else break}this._buffers&&!this.writable&&this._end()}catch(t){this.emit("error",t)}}}).call(this)}).call(this,t("_process"),t("buffer").Buffer)},{_process:60,buffer:33,stream:61,util:81}],4:[function(t,r,i){"use strict";r.exports={PNG_SIGNATURE:[137,80,78,71,13,10,26,10],TYPE_IHDR:1229472850,TYPE_IEND:1229278788,TYPE_IDAT:1229209940,TYPE_PLTE:1347179589,TYPE_tRNS:1951551059,TYPE_gAMA:1732332865,COLORTYPE_GRAYSCALE:0,COLORTYPE_PALETTE:1,COLORTYPE_COLOR:2,COLORTYPE_ALPHA:4,COLORTYPE_PALETTE_COLOR:3,COLORTYPE_COLOR_ALPHA:6,COLORTYPE_TO_BPP_MAP:{0:1,2:3,3:1,4:2,6:4},GAMMA_DIVISION:1e5}},{}],5:[function(t,r,i){"use strict";let p=[];!function(){for(let t=0;t<256;t++){let r=t;for(let t=0;t<8;t++)1&r?r=3988292384^r>>>1:r>>>=1;p[t]=r}}();let y=r.exports=function(){this._crc=-1};y.prototype.write=function(t){for(let r=0;r<t.length;r++)this._crc=p[(this._crc^t[r])&255]^this._crc>>>8;return!0},y.prototype.crc32=function(){return -1^this._crc},y.crc32=function(t){let r=-1;for(let i=0;i<t.length;i++)r=p[(r^t[i])&255]^r>>>8;return -1^r}},{}],6:[function(t,r,i){(function(i){(function(){"use strict";let p=t("./paeth-predictor"),y={0:function(t,r,i,p,y){for(let b=0;b<i;b++)p[y+b]=t[r+b]},1:function(t,r,i,p,y,b){for(let _=0;_<i;_++){let i=_>=b?t[r+_-b]:0,m=t[r+_]-i;p[y+_]=m}},2:function(t,r,i,p,y){for(let b=0;b<i;b++){let _=r>0?t[r+b-i]:0,m=t[r+b]-_;p[y+b]=m}},3:function(t,r,i,p,y,b){for(let _=0;_<i;_++){let m=_>=b?t[r+_-b]:0,w=r>0?t[r+_-i]:0,S=t[r+_]-(m+w>>1);p[y+_]=S}},4:function(t,r,i,y,b,_){for(let m=0;m<i;m++){let w=m>=_?t[r+m-_]:0,S=r>0?t[r+m-i]:0,A=r>0&&m>=_?t[r+m-(i+_)]:0,k=t[r+m]-p(w,S,A);y[b+m]=k}}},b={0:function(t,r,i){let p=0,y=r+i;for(let i=r;i<y;i++)p+=Math.abs(t[i]);return p},1:function(t,r,i,p){let y=0;for(let b=0;b<i;b++){let i=b>=p?t[r+b-p]:0;y+=Math.abs(t[r+b]-i)}return y},2:function(t,r,i){let p=0,y=r+i;for(let b=r;b<y;b++){let y=r>0?t[b-i]:0;p+=Math.abs(t[b]-y)}return p},3:function(t,r,i,p){let y=0;for(let b=0;b<i;b++){let _=b>=p?t[r+b-p]:0,m=r>0?t[r+b-i]:0;y+=Math.abs(t[r+b]-(_+m>>1))}return y},4:function(t,r,i,y){let b=0;for(let _=0;_<i;_++){let m=_>=y?t[r+_-y]:0,w=r>0?t[r+_-i]:0,S=r>0&&_>=y?t[r+_-(i+y)]:0;b+=Math.abs(t[r+_]-p(m,w,S))}return b}};r.exports=function(t,r,p,_,m){let w;if("filterType"in _&&-1!==_.filterType){if("number"==typeof _.filterType)w=[_.filterType];else throw Error("unrecognised filter types")}else w=[0,1,2,3,4];16===_.bitDepth&&(m*=2);let S=r*m,A=0,k=0,T=i.alloc((S+1)*p),R=w[0];for(let r=0;r<p;r++){if(w.length>1){let r=1/0;for(let i=0;i<w.length;i++){let p=b[w[i]](t,k,S,m);p<r&&(R=w[i],r=p)}}T[A]=R,A++,y[R](t,k,S,T,A,m),A+=S,k+=S}return T}}).call(this)}).call(this,t("buffer").Buffer)},{"./paeth-predictor":15,buffer:33}],7:[function(t,r,i){(function(i){(function(){"use strict";let p=t("util"),y=t("./chunkstream"),b=t("./filter-parse"),_=r.exports=function(t){y.call(this);let r=[],p=this;this._filter=new b(t,{read:this.read.bind(this),write:function(t){r.push(t)},complete:function(){p.emit("complete",i.concat(r))}}),this._filter.start()};p.inherits(_,y)}).call(this)}).call(this,t("buffer").Buffer)},{"./chunkstream":3,"./filter-parse":9,buffer:33,util:81}],8:[function(t,r,i){(function(r){(function(){"use strict";let p=t("./sync-reader"),y=t("./filter-parse");i.process=function(t,i){let b=[],_=new p(t);return new y(i,{read:_.read.bind(_),write:function(t){b.push(t)},complete:function(){}}).start(),_.process(),r.concat(b)}}).call(this)}).call(this,t("buffer").Buffer)},{"./filter-parse":9,"./sync-reader":22,buffer:33}],9:[function(t,r,i){(function(i){(function(){"use strict";let p=t("./interlace"),y=t("./paeth-predictor");function getByteWidth(t,r,i){let p=t*r;return 8!==i&&(p=Math.ceil(p/(8/i))),p}let b=r.exports=function(t,r){let i=t.width,y=t.height,b=t.interlace,_=t.bpp,m=t.depth;if(this.read=r.read,this.write=r.write,this.complete=r.complete,this._imageIndex=0,this._images=[],b){let t=p.getImagePasses(i,y);for(let r=0;r<t.length;r++)this._images.push({byteWidth:getByteWidth(t[r].width,_,m),height:t[r].height,lineIndex:0})}else this._images.push({byteWidth:getByteWidth(i,_,m),height:y,lineIndex:0});8===m?this._xComparison=_:16===m?this._xComparison=2*_:this._xComparison=1};b.prototype.start=function(){this.read(this._images[this._imageIndex].byteWidth+1,this._reverseFilterLine.bind(this))},b.prototype._unFilterType1=function(t,r,i){let p=this._xComparison,y=p-1;for(let b=0;b<i;b++){let i=t[1+b],_=b>y?r[b-p]:0;r[b]=i+_}},b.prototype._unFilterType2=function(t,r,i){let p=this._lastLine;for(let y=0;y<i;y++){let i=t[1+y],b=p?p[y]:0;r[y]=i+b}},b.prototype._unFilterType3=function(t,r,i){let p=this._xComparison,y=p-1,b=this._lastLine;for(let _=0;_<i;_++){let i=t[1+_],m=b?b[_]:0,w=Math.floor(((_>y?r[_-p]:0)+m)/2);r[_]=i+w}},b.prototype._unFilterType4=function(t,r,i){let p=this._xComparison,b=p-1,_=this._lastLine;for(let m=0;m<i;m++){let i=t[1+m],w=_?_[m]:0,S=y(m>b?r[m-p]:0,w,m>b&&_?_[m-p]:0);r[m]=i+S}},b.prototype._reverseFilterLine=function(t){let r,p=t[0],y=this._images[this._imageIndex],b=y.byteWidth;if(0===p)r=t.slice(1,b+1);else switch(r=i.alloc(b),p){case 1:this._unFilterType1(t,r,b);break;case 2:this._unFilterType2(t,r,b);break;case 3:this._unFilterType3(t,r,b);break;case 4:this._unFilterType4(t,r,b);break;default:throw Error("Unrecognised filter type - "+p)}this.write(r),y.lineIndex++,y.lineIndex>=y.height?(this._lastLine=null,this._imageIndex++,y=this._images[this._imageIndex]):this._lastLine=r,y?this.read(y.byteWidth+1,this._reverseFilterLine.bind(this)):(this._lastLine=null,this.complete())}}).call(this)}).call(this,t("buffer").Buffer)},{"./interlace":11,"./paeth-predictor":15,buffer:33}],10:[function(t,r,i){(function(t){(function(){"use strict";r.exports=function(r,i,p=!1){let y=i.depth,b=i.width,_=i.height,m=i.colorType,w=i.transColor,S=i.palette,A=r;return 3===m?function(t,r,i,p,y){let b=0;for(let _=0;_<p;_++)for(let p=0;p<i;p++){let i=y[t[b]];if(!i)throw Error("index "+t[b]+" not in palette");for(let t=0;t<4;t++)r[b+t]=i[t];b+=4}}(r,A,b,_,S):(w&&function(t,r,i,p,y){let b=0;for(let _=0;_<p;_++)for(let p=0;p<i;p++){let i=!1;if(1===y.length?y[0]===t[b]&&(i=!0):y[0]===t[b]&&y[1]===t[b+1]&&y[2]===t[b+2]&&(i=!0),i)for(let t=0;t<4;t++)r[b+t]=0;b+=4}}(r,A,b,_,w),8===y||p||(16===y&&(A=t.alloc(b*_*4)),function(t,r,i,p,y){let b=Math.pow(2,y)-1,_=0;for(let y=0;y<p;y++)for(let p=0;p<i;p++){for(let i=0;i<4;i++)r[_+i]=Math.floor(255*t[_+i]/b+.5);_+=4}}(r,A,b,_,y))),A}}).call(this)}).call(this,t("buffer").Buffer)},{buffer:33}],11:[function(t,r,i){"use strict";let p=[{x:[0],y:[0]},{x:[4],y:[0]},{x:[0,4],y:[4]},{x:[2,6],y:[0,4]},{x:[0,2,4,6],y:[2,6]},{x:[1,3,5,7],y:[0,2,4,6]},{x:[0,1,2,3,4,5,6,7],y:[1,3,5,7]}];i.getImagePasses=function(t,r){let i=[],y=t%8,b=r%8,_=(t-y)/8,m=(r-b)/8;for(let t=0;t<p.length;t++){let r=p[t],w=_*r.x.length,S=m*r.y.length;for(let t=0;t<r.x.length;t++)if(r.x[t]<y)w++;else break;for(let t=0;t<r.y.length;t++)if(r.y[t]<b)S++;else break;w>0&&S>0&&i.push({width:w,height:S,index:t})}return i},i.getInterlaceIterator=function(t){return function(r,i,y){let b=r%p[y].x.length,_=(r-b)/p[y].x.length*8+p[y].x[b],m=i%p[y].y.length;return 4*_+((i-m)/p[y].y.length*8+p[y].y[m])*t*4}}},{}],12:[function(t,r,i){(function(i){(function(){"use strict";let p=t("util"),y=t("stream"),b=t("./constants"),_=t("./packer"),m=r.exports=function(t){y.call(this);let r=t||{};this._packer=new _(r),this._deflate=this._packer.createDeflate(),this.readable=!0};p.inherits(m,y),m.prototype.pack=function(t,r,p,y){this.emit("data",i.from(b.PNG_SIGNATURE)),this.emit("data",this._packer.packIHDR(r,p)),y&&this.emit("data",this._packer.packGAMA(y));let _=this._packer.filterData(t,r,p);this._deflate.on("error",this.emit.bind(this,"error")),this._deflate.on("data",(function(t){this.emit("data",this._packer.packIDAT(t))}).bind(this)),this._deflate.on("end",(function(){this.emit("data",this._packer.packIEND()),this.emit("end")}).bind(this)),this._deflate.end(_)}}).call(this)}).call(this,t("buffer").Buffer)},{"./constants":4,"./packer":14,buffer:33,stream:61,util:81}],13:[function(t,r,i){(function(i){(function(){"use strict";let p=!0,y=t("zlib");y.deflateSync||(p=!1);let b=t("./constants"),_=t("./packer");r.exports=function(t,r){if(!p)throw Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let m=new _(r||{}),w=[];w.push(i.from(b.PNG_SIGNATURE)),w.push(m.packIHDR(t.width,t.height)),t.gamma&&w.push(m.packGAMA(t.gamma));let S=m.filterData(t.data,t.width,t.height),A=y.deflateSync(S,m.getDeflateOptions());if(S=null,!A||!A.length)throw Error("bad png - invalid compressed data response");return w.push(m.packIDAT(A)),w.push(m.packIEND()),i.concat(w)}}).call(this)}).call(this,t("buffer").Buffer)},{"./constants":4,"./packer":14,buffer:33,zlib:32}],14:[function(t,r,i){(function(i){(function(){"use strict";let p=t("./constants"),y=t("./crc"),b=t("./bitpacker"),_=t("./filter-pack"),m=t("zlib"),w=r.exports=function(t){if(this._options=t,t.deflateChunkSize=t.deflateChunkSize||32768,t.deflateLevel=null!=t.deflateLevel?t.deflateLevel:9,t.deflateStrategy=null!=t.deflateStrategy?t.deflateStrategy:3,t.inputHasAlpha=null==t.inputHasAlpha||t.inputHasAlpha,t.deflateFactory=t.deflateFactory||m.createDeflate,t.bitDepth=t.bitDepth||8,t.colorType="number"==typeof t.colorType?t.colorType:p.COLORTYPE_COLOR_ALPHA,t.inputColorType="number"==typeof t.inputColorType?t.inputColorType:p.COLORTYPE_COLOR_ALPHA,-1===[p.COLORTYPE_GRAYSCALE,p.COLORTYPE_COLOR,p.COLORTYPE_COLOR_ALPHA,p.COLORTYPE_ALPHA].indexOf(t.colorType))throw Error("option color type:"+t.colorType+" is not supported at present");if(-1===[p.COLORTYPE_GRAYSCALE,p.COLORTYPE_COLOR,p.COLORTYPE_COLOR_ALPHA,p.COLORTYPE_ALPHA].indexOf(t.inputColorType))throw Error("option input color type:"+t.inputColorType+" is not supported at present");if(8!==t.bitDepth&&16!==t.bitDepth)throw Error("option bit depth:"+t.bitDepth+" is not supported at present")};w.prototype.getDeflateOptions=function(){return{chunkSize:this._options.deflateChunkSize,level:this._options.deflateLevel,strategy:this._options.deflateStrategy}},w.prototype.createDeflate=function(){return this._options.deflateFactory(this.getDeflateOptions())},w.prototype.filterData=function(t,r,i){let y=b(t,r,i,this._options),m=p.COLORTYPE_TO_BPP_MAP[this._options.colorType];return _(y,r,i,this._options,m)},w.prototype._packChunk=function(t,r){let p=r?r.length:0,b=i.alloc(p+12);return b.writeUInt32BE(p,0),b.writeUInt32BE(t,4),r&&r.copy(b,8),b.writeInt32BE(y.crc32(b.slice(4,b.length-4)),b.length-4),b},w.prototype.packGAMA=function(t){let r=i.alloc(4);return r.writeUInt32BE(Math.floor(t*p.GAMMA_DIVISION),0),this._packChunk(p.TYPE_gAMA,r)},w.prototype.packIHDR=function(t,r){let y=i.alloc(13);return y.writeUInt32BE(t,0),y.writeUInt32BE(r,4),y[8]=this._options.bitDepth,y[9]=this._options.colorType,y[10]=0,y[11]=0,y[12]=0,this._packChunk(p.TYPE_IHDR,y)},w.prototype.packIDAT=function(t){return this._packChunk(p.TYPE_IDAT,t)},w.prototype.packIEND=function(){return this._packChunk(p.TYPE_IEND,null)}}).call(this)}).call(this,t("buffer").Buffer)},{"./bitpacker":2,"./constants":4,"./crc":5,"./filter-pack":6,buffer:33,zlib:32}],15:[function(t,r,i){"use strict";r.exports=function(t,r,i){let p=t+r-i,y=Math.abs(p-t),b=Math.abs(p-r),_=Math.abs(p-i);return y<=b&&y<=_?t:b<=_?r:i}},{}],16:[function(t,r,i){"use strict";let p=t("util"),y=t("zlib"),b=t("./chunkstream"),_=t("./filter-parse-async"),m=t("./parser"),w=t("./bitmapper"),S=t("./format-normaliser"),A=r.exports=function(t){b.call(this),this._parser=new m(t,{read:this.read.bind(this),error:this._handleError.bind(this),metadata:this._handleMetaData.bind(this),gamma:this.emit.bind(this,"gamma"),palette:this._handlePalette.bind(this),transColor:this._handleTransColor.bind(this),finished:this._finished.bind(this),inflateData:this._inflateData.bind(this),simpleTransparency:this._simpleTransparency.bind(this),headersFinished:this._headersFinished.bind(this)}),this._options=t,this.writable=!0,this._parser.start()};p.inherits(A,b),A.prototype._handleError=function(t){this.emit("error",t),this.writable=!1,this.destroy(),this._inflate&&this._inflate.destroy&&this._inflate.destroy(),this._filter&&(this._filter.destroy(),this._filter.on("error",function(){})),this.errord=!0},A.prototype._inflateData=function(t){if(!this._inflate){if(this._bitmapInfo.interlace)this._inflate=y.createInflate(),this._inflate.on("error",this.emit.bind(this,"error")),this._filter.on("complete",this._complete.bind(this)),this._inflate.pipe(this._filter);else{let t=((this._bitmapInfo.width*this._bitmapInfo.bpp*this._bitmapInfo.depth+7>>3)+1)*this._bitmapInfo.height,r=Math.max(t,y.Z_MIN_CHUNK);this._inflate=y.createInflate({chunkSize:r});let i=t,p=this.emit.bind(this,"error");this._inflate.on("error",function(t){i&&p(t)}),this._filter.on("complete",this._complete.bind(this));let b=this._filter.write.bind(this._filter);this._inflate.on("data",function(t){i&&(t.length>i&&(t=t.slice(0,i)),i-=t.length,b(t))}),this._inflate.on("end",this._filter.end.bind(this._filter))}}this._inflate.write(t)},A.prototype._handleMetaData=function(t){this._metaData=t,this._bitmapInfo=Object.create(t),this._filter=new _(this._bitmapInfo)},A.prototype._handleTransColor=function(t){this._bitmapInfo.transColor=t},A.prototype._handlePalette=function(t){this._bitmapInfo.palette=t},A.prototype._simpleTransparency=function(){this._metaData.alpha=!0},A.prototype._headersFinished=function(){this.emit("metadata",this._metaData)},A.prototype._finished=function(){this.errord||(this._inflate?this._inflate.end():this.emit("error","No Inflate block"))},A.prototype._complete=function(t){let r;if(!this.errord){try{let i=w.dataToBitMap(t,this._bitmapInfo);r=S(i,this._bitmapInfo,this._options.skipRescale),i=null}catch(t){this._handleError(t);return}this.emit("parsed",r)}}},{"./bitmapper":1,"./chunkstream":3,"./filter-parse-async":7,"./format-normaliser":10,"./parser":18,util:81,zlib:32}],17:[function(t,r,i){(function(i){(function(){"use strict";let p=!0,y=t("zlib"),b=t("./sync-inflate");y.deflateSync||(p=!1);let _=t("./sync-reader"),m=t("./filter-parse-sync"),w=t("./parser"),S=t("./bitmapper"),A=t("./format-normaliser");r.exports=function(t,r){let k,T,R,O;if(!p)throw Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let x=[],P=new _(t);if(new w(r,{read:P.read.bind(P),error:function(t){k=t},metadata:function(t){T=t},gamma:function(t){R=t},palette:function(t){T.palette=t},transColor:function(t){T.transColor=t},inflateData:function(t){x.push(t)},simpleTransparency:function(){T.alpha=!0}}).start(),P.process(),k)throw k;let L=i.concat(x);if(x.length=0,T.interlace)O=y.inflateSync(L);else{let t=((T.width*T.bpp*T.depth+7>>3)+1)*T.height;O=b(L,{chunkSize:t,maxLength:t})}if(L=null,!O||!O.length)throw Error("bad png - invalid inflate data response");let M=m.process(O,T);L=null;let C=S.dataToBitMap(M,T);M=null;let N=A(C,T,r.skipRescale);return T.data=N,T.gamma=R||0,T}}).call(this)}).call(this,t("buffer").Buffer)},{"./bitmapper":1,"./filter-parse-sync":8,"./format-normaliser":10,"./parser":18,"./sync-inflate":21,"./sync-reader":22,buffer:33,zlib:32}],18:[function(t,r,i){(function(i){(function(){"use strict";let p=t("./constants"),y=t("./crc"),b=r.exports=function(t,r){this._options=t,t.checkCRC=!1!==t.checkCRC,this._hasIHDR=!1,this._hasIEND=!1,this._emittedHeadersFinished=!1,this._palette=[],this._colorType=0,this._chunks={},this._chunks[p.TYPE_IHDR]=this._handleIHDR.bind(this),this._chunks[p.TYPE_IEND]=this._handleIEND.bind(this),this._chunks[p.TYPE_IDAT]=this._handleIDAT.bind(this),this._chunks[p.TYPE_PLTE]=this._handlePLTE.bind(this),this._chunks[p.TYPE_tRNS]=this._handleTRNS.bind(this),this._chunks[p.TYPE_gAMA]=this._handleGAMA.bind(this),this.read=r.read,this.error=r.error,this.metadata=r.metadata,this.gamma=r.gamma,this.transColor=r.transColor,this.palette=r.palette,this.parsed=r.parsed,this.inflateData=r.inflateData,this.finished=r.finished,this.simpleTransparency=r.simpleTransparency,this.headersFinished=r.headersFinished||function(){}};b.prototype.start=function(){this.read(p.PNG_SIGNATURE.length,this._parseSignature.bind(this))},b.prototype._parseSignature=function(t){let r=p.PNG_SIGNATURE;for(let i=0;i<r.length;i++)if(t[i]!==r[i]){this.error(Error("Invalid file signature"));return}this.read(8,this._parseChunkBegin.bind(this))},b.prototype._parseChunkBegin=function(t){let r=t.readUInt32BE(0),b=t.readUInt32BE(4),_="";for(let r=4;r<8;r++)_+=String.fromCharCode(t[r]);let m=!!(32&t[4]);if(!this._hasIHDR&&b!==p.TYPE_IHDR){this.error(Error("Expected IHDR on beggining"));return}if(this._crc=new y,this._crc.write(i.from(_)),this._chunks[b])return this._chunks[b](r);if(!m){this.error(Error("Unsupported critical chunk type "+_));return}this.read(r+4,this._skipChunk.bind(this))},b.prototype._skipChunk=function(){this.read(8,this._parseChunkBegin.bind(this))},b.prototype._handleChunkEnd=function(){this.read(4,this._parseChunkEnd.bind(this))},b.prototype._parseChunkEnd=function(t){let r=t.readInt32BE(0),i=this._crc.crc32();if(this._options.checkCRC&&i!==r){this.error(Error("Crc error - "+r+" - "+i));return}this._hasIEND||this.read(8,this._parseChunkBegin.bind(this))},b.prototype._handleIHDR=function(t){this.read(t,this._parseIHDR.bind(this))},b.prototype._parseIHDR=function(t){this._crc.write(t);let r=t.readUInt32BE(0),i=t.readUInt32BE(4),y=t[8],b=t[9],_=t[10],m=t[11],w=t[12];if(8!==y&&4!==y&&2!==y&&1!==y&&16!==y){this.error(Error("Unsupported bit depth "+y));return}if(!(b in p.COLORTYPE_TO_BPP_MAP)){this.error(Error("Unsupported color type"));return}if(0!==_){this.error(Error("Unsupported compression method"));return}if(0!==m){this.error(Error("Unsupported filter method"));return}if(0!==w&&1!==w){this.error(Error("Unsupported interlace method"));return}this._colorType=b;let S=p.COLORTYPE_TO_BPP_MAP[this._colorType];this._hasIHDR=!0,this.metadata({width:r,height:i,depth:y,interlace:!!w,palette:!!(b&p.COLORTYPE_PALETTE),color:!!(b&p.COLORTYPE_COLOR),alpha:!!(b&p.COLORTYPE_ALPHA),bpp:S,colorType:b}),this._handleChunkEnd()},b.prototype._handlePLTE=function(t){this.read(t,this._parsePLTE.bind(this))},b.prototype._parsePLTE=function(t){this._crc.write(t);let r=Math.floor(t.length/3);for(let i=0;i<r;i++)this._palette.push([t[3*i],t[3*i+1],t[3*i+2],255]);this.palette(this._palette),this._handleChunkEnd()},b.prototype._handleTRNS=function(t){this.simpleTransparency(),this.read(t,this._parseTRNS.bind(this))},b.prototype._parseTRNS=function(t){if(this._crc.write(t),this._colorType===p.COLORTYPE_PALETTE_COLOR){if(0===this._palette.length){this.error(Error("Transparency chunk must be after palette"));return}if(t.length>this._palette.length){this.error(Error("More transparent colors than palette size"));return}for(let r=0;r<t.length;r++)this._palette[r][3]=t[r];this.palette(this._palette)}this._colorType===p.COLORTYPE_GRAYSCALE&&this.transColor([t.readUInt16BE(0)]),this._colorType===p.COLORTYPE_COLOR&&this.transColor([t.readUInt16BE(0),t.readUInt16BE(2),t.readUInt16BE(4)]),this._handleChunkEnd()},b.prototype._handleGAMA=function(t){this.read(t,this._parseGAMA.bind(this))},b.prototype._parseGAMA=function(t){this._crc.write(t),this.gamma(t.readUInt32BE(0)/p.GAMMA_DIVISION),this._handleChunkEnd()},b.prototype._handleIDAT=function(t){this._emittedHeadersFinished||(this._emittedHeadersFinished=!0,this.headersFinished()),this.read(-t,this._parseIDAT.bind(this,t))},b.prototype._parseIDAT=function(t,r){if(this._crc.write(r),this._colorType===p.COLORTYPE_PALETTE_COLOR&&0===this._palette.length)throw Error("Expected palette not found");this.inflateData(r);let i=t-r.length;i>0?this._handleIDAT(i):this._handleChunkEnd()},b.prototype._handleIEND=function(t){this.read(t,this._parseIEND.bind(this))},b.prototype._parseIEND=function(t){this._crc.write(t),this._hasIEND=!0,this._handleChunkEnd(),this.finished&&this.finished()}}).call(this)}).call(this,t("buffer").Buffer)},{"./constants":4,"./crc":5,buffer:33}],19:[function(t,r,i){"use strict";let p=t("./parser-sync"),y=t("./packer-sync");i.read=function(t,r){return p(t,r||{})},i.write=function(t,r){return y(t,r)}},{"./packer-sync":13,"./parser-sync":17}],20:[function(t,r,i){(function(r,p){(function(){"use strict";let y=t("util"),b=t("stream"),_=t("./parser-async"),m=t("./packer-async"),w=t("./png-sync"),S=i.PNG=function(t){b.call(this),t=t||{},this.width=0|t.width,this.height=0|t.height,this.data=this.width>0&&this.height>0?p.alloc(4*this.width*this.height):null,t.fill&&this.data&&this.data.fill(0),this.gamma=0,this.readable=this.writable=!0,this._parser=new _(t),this._parser.on("error",this.emit.bind(this,"error")),this._parser.on("close",this._handleClose.bind(this)),this._parser.on("metadata",this._metadata.bind(this)),this._parser.on("gamma",this._gamma.bind(this)),this._parser.on("parsed",(function(t){this.data=t,this.emit("parsed",t)}).bind(this)),this._packer=new m(t),this._packer.on("data",this.emit.bind(this,"data")),this._packer.on("end",this.emit.bind(this,"end")),this._parser.on("close",this._handleClose.bind(this)),this._packer.on("error",this.emit.bind(this,"error"))};y.inherits(S,b),S.sync=w,S.prototype.pack=function(){return this.data&&this.data.length?r.nextTick((function(){this._packer.pack(this.data,this.width,this.height,this.gamma)}).bind(this)):this.emit("error","No data provided"),this},S.prototype.parse=function(t,r){if(r){let t,i;t=(function(t){this.removeListener("error",i),this.data=t,r(null,this)}).bind(this),i=(function(i){this.removeListener("parsed",t),r(i,null)}).bind(this),this.once("parsed",t),this.once("error",i)}return this.end(t),this},S.prototype.write=function(t){return this._parser.write(t),!0},S.prototype.end=function(t){this._parser.end(t)},S.prototype._metadata=function(t){this.width=t.width,this.height=t.height,this.emit("metadata",t)},S.prototype._gamma=function(t){this.gamma=t},S.prototype._handleClose=function(){this._parser.writable||this._packer.readable||this.emit("close")},S.bitblt=function(t,r,i,p,y,b,_,m){if(p|=0,y|=0,b|=0,_|=0,m|=0,(i|=0)>t.width||p>t.height||i+y>t.width||p+b>t.height)throw Error("bitblt reading outside image");if(_>r.width||m>r.height||_+y>r.width||m+b>r.height)throw Error("bitblt writing outside image");for(let w=0;w<b;w++)t.data.copy(r.data,(m+w)*r.width+_<<2,(p+w)*t.width+i<<2,(p+w)*t.width+i+y<<2)},S.prototype.bitblt=function(t,r,i,p,y,b,_){return S.bitblt(this,t,r,i,p,y,b,_),this},S.adjustGamma=function(t){if(t.gamma){for(let r=0;r<t.height;r++)for(let i=0;i<t.width;i++){let p=t.width*r+i<<2;for(let r=0;r<3;r++){let i=t.data[p+r]/255;i=Math.pow(i,1/2.2/t.gamma),t.data[p+r]=Math.round(255*i)}}t.gamma=0}},S.prototype.adjustGamma=function(){S.adjustGamma(this)}}).call(this)}).call(this,t("_process"),t("buffer").Buffer)},{"./packer-async":12,"./parser-async":16,"./png-sync":19,_process:60,buffer:33,stream:61,util:81}],21:[function(t,r,i){(function(p,y){(function(){"use strict";let b=t("assert").ok,_=t("zlib"),m=t("util"),w=t("buffer").kMaxLength;function Inflate(t){if(!(this instanceof Inflate))return new Inflate(t);t&&t.chunkSize<_.Z_MIN_CHUNK&&(t.chunkSize=_.Z_MIN_CHUNK),_.Inflate.call(this,t),this._offset=void 0===this._offset?this._outOffset:this._offset,this._buffer=this._buffer||this._outBuffer,t&&null!=t.maxLength&&(this._maxLength=t.maxLength)}function _close(t,r){r&&p.nextTick(r),t._handle&&(t._handle.close(),t._handle=null)}function inflateSync(t,r){return function(t,r){if("string"==typeof r&&(r=y.from(r)),!(r instanceof y))throw TypeError("Not a string or buffer");let i=t._finishFlushFlag;return null==i&&(i=_.Z_FINISH),t._processChunk(r,i)}(new Inflate(r),t)}Inflate.prototype._processChunk=function(t,r,i){let p,m;if("function"==typeof i)return _.Inflate._processChunk.call(this,t,r,i);let S=this,A=t&&t.length,k=this._chunkSize-this._offset,T=this._maxLength,R=0,O=[],x=0;this.on("error",function(t){p=t}),b(this._handle,"zlib binding closed");do m=(m=this._handle.writeSync(r,t,R,A,this._buffer,this._offset,k))||this._writeState;while(!this._hadError&&function(t,r){if(S._hadError)return;let i=k-r;if(b(i>=0,"have should not go down"),i>0){let t=S._buffer.slice(S._offset,S._offset+i);if(S._offset+=i,t.length>T&&(t=t.slice(0,T)),O.push(t),x+=t.length,0==(T-=t.length))return!1}return(0===r||S._offset>=S._chunkSize)&&(k=S._chunkSize,S._offset=0,S._buffer=y.allocUnsafe(S._chunkSize)),0===r&&(R+=A-t,A=t,!0)}(m[0],m[1]));if(this._hadError)throw p;if(x>=w)throw _close(this),RangeError("Cannot create final Buffer. It would be larger than 0x"+w.toString(16)+" bytes");let P=y.concat(O,x);return _close(this),P},m.inherits(Inflate,_.Inflate),r.exports=i=inflateSync,i.Inflate=Inflate,i.createInflate=function(t){return new Inflate(t)},i.inflateSync=inflateSync}).call(this)}).call(this,t("_process"),t("buffer").Buffer)},{_process:60,assert:23,buffer:33,util:81,zlib:32}],22:[function(t,r,i){"use strict";let p=r.exports=function(t){this._buffer=t,this._reads=[]};p.prototype.read=function(t,r){this._reads.push({length:Math.abs(t),allowLess:t<0,func:r})},p.prototype.process=function(){for(;this._reads.length>0&&this._buffer.length;){let t=this._reads[0];if(this._buffer.length&&(this._buffer.length>=t.length||t.allowLess)){this._reads.shift();let r=this._buffer;this._buffer=r.slice(t.length),t.func.call(this,r.slice(0,t.length))}else break}if(this._reads.length>0)throw Error("There are some read requests waitng on finished stream");if(this._buffer.length>0)throw Error("unrecognised content at end of stream")}},{}],23:[function(t,r,p){(function(i){(function(){"use strict";/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/function compare(t,r){if(t===r)return 0;for(var i=t.length,p=r.length,y=0,b=Math.min(i,p);y<b;++y)if(t[y]!==r[y]){i=t[y],p=r[y];break}return i<p?-1:p<i?1:0}function isBuffer(t){return i.Buffer&&"function"==typeof i.Buffer.isBuffer?i.Buffer.isBuffer(t):!!(null!=t&&t._isBuffer)}var p=t("util/"),y=Object.prototype.hasOwnProperty,b=Array.prototype.slice,_="foo"===(function(){}).name;function pToString(t){return Object.prototype.toString.call(t)}function isView(t){return!isBuffer(t)&&"function"==typeof i.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):!!t&&!!(t instanceof DataView||t.buffer&&t.buffer instanceof ArrayBuffer))}var m=r.exports=ok,w=/\s*function\s+([^\(\s]*)\s*/;function getName(t){if(p.isFunction(t)){if(_)return t.name;var r=t.toString().match(w);return r&&r[1]}}function truncate(t,r){return"string"==typeof t?t.length<r?t:t.slice(0,r):t}function inspect(t){if(_||!p.isFunction(t))return p.inspect(t);var r=getName(t);return"[Function"+(r?": "+r:"")+"]"}function fail(t,r,i,p,y){throw new m.AssertionError({message:i,actual:t,expected:r,operator:p,stackStartFunction:y})}function ok(t,r){t||fail(t,!0,r,"==",m.ok)}function _deepEqual(t,r,i,y){if(t===r)return!0;if(isBuffer(t)&&isBuffer(r))return 0===compare(t,r);if(p.isDate(t)&&p.isDate(r))return t.getTime()===r.getTime();if(p.isRegExp(t)&&p.isRegExp(r))return t.source===r.source&&t.global===r.global&&t.multiline===r.multiline&&t.lastIndex===r.lastIndex&&t.ignoreCase===r.ignoreCase;if((null===t||"object"!=typeof t)&&(null===r||"object"!=typeof r))return i?t===r:t==r;if(isView(t)&&isView(r)&&pToString(t)===pToString(r)&&!(t instanceof Float32Array||t instanceof Float64Array))return 0===compare(new Uint8Array(t.buffer),new Uint8Array(r.buffer));if(isBuffer(t)!==isBuffer(r))return!1;var _=(y=y||{actual:[],expected:[]}).actual.indexOf(t);return -1!==_&&_===y.expected.indexOf(r)||(y.actual.push(t),y.expected.push(r),function(t,r,i,y){if(null==t||null==r)return!1;if(p.isPrimitive(t)||p.isPrimitive(r))return t===r;if(i&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(r))return!1;var _,m,w=isArguments(t),A=isArguments(r);if(w&&!A||!w&&A)return!1;if(w)return _deepEqual(t=b.call(t),r=b.call(r),i);var k=S(t),T=S(r);if(k.length!==T.length)return!1;for(k.sort(),T.sort(),m=k.length-1;m>=0;m--)if(k[m]!==T[m])return!1;for(m=k.length-1;m>=0;m--)if(!_deepEqual(t[_=k[m]],r[_],i,y))return!1;return!0}(t,r,i,y))}function isArguments(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function expectedException(t,r){if(!t||!r)return!1;if("[object RegExp]"==Object.prototype.toString.call(r))return r.test(t);try{if(t instanceof r)return!0}catch(t){}return!Error.isPrototypeOf(r)&&!0===r.call({},t)}function _throws(t,r,i,y){if("function"!=typeof r)throw TypeError('"block" argument must be a function');"string"==typeof i&&(y=i,i=null),b=function(t){var r;try{t()}catch(t){r=t}return r}(r),y=(i&&i.name?" ("+i.name+").":".")+(y?" "+y:"."),t&&!b&&fail(b,i,"Missing expected exception"+y);var b,_="string"==typeof y,m=!t&&p.isError(b),w=!t&&b&&!i;if((m&&_&&expectedException(b,i)||w)&&fail(b,i,"Got unwanted exception"+y),t&&b&&i&&!expectedException(b,i)||!t&&b)throw b}m.AssertionError=function(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=truncate(inspect(this.actual),128)+" "+this.operator+" "+truncate(inspect(this.expected),128),this.generatedMessage=!0);var r=t.stackStartFunction||fail;if(Error.captureStackTrace)Error.captureStackTrace(this,r);else{var i=Error();if(i.stack){var p=i.stack,y=getName(r),b=p.indexOf("\n"+y);if(b>=0){var _=p.indexOf("\n",b+1);p=p.substring(_+1)}this.stack=p}}},p.inherits(m.AssertionError,Error),m.fail=fail,m.ok=ok,m.equal=function(t,r,i){t!=r&&fail(t,r,i,"==",m.equal)},m.notEqual=function(t,r,i){t==r&&fail(t,r,i,"!=",m.notEqual)},m.deepEqual=function(t,r,i){_deepEqual(t,r,!1)||fail(t,r,i,"deepEqual",m.deepEqual)},m.deepStrictEqual=function(t,r,i){_deepEqual(t,r,!0)||fail(t,r,i,"deepStrictEqual",m.deepStrictEqual)},m.notDeepEqual=function(t,r,i){_deepEqual(t,r,!1)&&fail(t,r,i,"notDeepEqual",m.notDeepEqual)},m.notDeepStrictEqual=function notDeepStrictEqual(t,r,i){_deepEqual(t,r,!0)&&fail(t,r,i,"notDeepStrictEqual",notDeepStrictEqual)},m.strictEqual=function(t,r,i){t!==r&&fail(t,r,i,"===",m.strictEqual)},m.notStrictEqual=function(t,r,i){t===r&&fail(t,r,i,"!==",m.notStrictEqual)},m.throws=function(t,r,i){_throws(!0,t,r,i)},m.doesNotThrow=function(t,r,i){_throws(!1,t,r,i)},m.ifError=function(t){if(t)throw t};var S=Object.keys||function(t){var r=[];for(var i in t)y.call(t,i)&&r.push(i);return r}}).call(this)}).call(this,void 0!==i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"util/":26}],24:[function(t,r,i){"function"==typeof Object.create?r.exports=function(t,r){t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:r.exports=function(t,r){t.super_=r;var TempCtor=function(){};TempCtor.prototype=r.prototype,t.prototype=new TempCtor,t.prototype.constructor=t}},{}],25:[function(t,r,i){r.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},{}],26:[function(t,r,p){(function(r,i){(function(){var y,b=/%[sdj%]/g;p.format=function(t){if(!isString(t)){for(var r=[],i=0;i<arguments.length;i++)r.push(inspect(arguments[i]));return r.join(" ")}for(var i=1,p=arguments,y=p.length,_=String(t).replace(b,function(t){if("%%"===t)return"%";if(i>=y)return t;switch(t){case"%s":return String(p[i++]);case"%d":return Number(p[i++]);case"%j":try{return JSON.stringify(p[i++])}catch(t){return"[Circular]"}default:return t}}),m=p[i];i<y;m=p[++i])isNull(m)||!isObject(m)?_+=" "+m:_+=" "+inspect(m);return _},p.deprecate=function(t,y){if(isUndefined(i.process))return function(){return p.deprecate(t,y).apply(this,arguments)};if(!0===r.noDeprecation)return t;var b=!1;return function(){if(!b){if(r.throwDeprecation)throw Error(y);r.traceDeprecation?console.trace(y):console.error(y),b=!0}return t.apply(this,arguments)}};var _={};function inspect(t,r){var i={seen:[],stylize:stylizeNoColor};return arguments.length>=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),isBoolean(r)?i.showHidden=r:r&&p._extend(i,r),isUndefined(i.showHidden)&&(i.showHidden=!1),isUndefined(i.depth)&&(i.depth=2),isUndefined(i.colors)&&(i.colors=!1),isUndefined(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=stylizeWithColor),formatValue(i,t,i.depth)}function stylizeWithColor(t,r){var i=inspect.styles[r];return i?"\x1b["+inspect.colors[i][0]+"m"+t+"\x1b["+inspect.colors[i][1]+"m":t}function stylizeNoColor(t,r){return t}function formatValue(t,r,i){if(t.customInspect&&r&&isFunction(r.inspect)&&r.inspect!==p.inspect&&!(r.constructor&&r.constructor.prototype===r)){var y,b,_,m,w,S=r.inspect(i,t);return isString(S)||(S=formatValue(t,S,i)),S}var A=function(t,r){if(isUndefined(r))return t.stylize("undefined","undefined");if(isString(r)){var i="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(i,"string")}return isNumber(r)?t.stylize(""+r,"number"):isBoolean(r)?t.stylize(""+r,"boolean"):isNull(r)?t.stylize("null","null"):void 0}(t,r);if(A)return A;var k=Object.keys(r),T=(m={},k.forEach(function(t,r){m[t]=!0}),m);if(t.showHidden&&(k=Object.getOwnPropertyNames(r)),isError(r)&&(k.indexOf("message")>=0||k.indexOf("description")>=0))return formatError(r);if(0===k.length){if(isFunction(r)){var R=r.name?": "+r.name:"";return t.stylize("[Function"+R+"]","special")}if(isRegExp(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(isDate(r))return t.stylize(Date.prototype.toString.call(r),"date");if(isError(r))return formatError(r)}var O="",x=!1,P=["{","}"];return(isArray(r)&&(x=!0,P=["[","]"]),isFunction(r)&&(O=" [Function"+(r.name?": "+r.name:"")+"]"),isRegExp(r)&&(O=" "+RegExp.prototype.toString.call(r)),isDate(r)&&(O=" "+Date.prototype.toUTCString.call(r)),isError(r)&&(O=" "+formatError(r)),0!==k.length||x&&0!=r.length)?i<0?isRegExp(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),w=x?function(t,r,i,p,y){for(var b=[],_=0,m=r.length;_<m;++_)hasOwnProperty(r,String(_))?b.push(formatProperty(t,r,i,p,String(_),!0)):b.push("");return y.forEach(function(y){y.match(/^\d+$/)||b.push(formatProperty(t,r,i,p,y,!0))}),b}(t,r,i,T,k):k.map(function(p){return formatProperty(t,r,i,T,p,x)}),t.seen.pop(),y=O,b=P,_=0,w.reduce(function(t,r){return _++,r.indexOf("\n")>=0&&_++,t+r.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?b[0]+(""===y?"":y+"\n ")+" "+w.join(",\n ")+" "+b[1]:b[0]+y+" "+w.join(", ")+" "+b[1]):P[0]+O+P[1]}function formatError(t){return"["+Error.prototype.toString.call(t)+"]"}function formatProperty(t,r,i,p,y,b){var _,m,w;if((w=Object.getOwnPropertyDescriptor(r,y)||{value:r[y]}).get?m=w.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):w.set&&(m=t.stylize("[Setter]","special")),hasOwnProperty(p,y)||(_="["+y+"]"),!m&&(0>t.seen.indexOf(w.value)?(m=isNull(i)?formatValue(t,w.value,null):formatValue(t,w.value,i-1)).indexOf("\n")>-1&&(m=b?m.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+m.split("\n").map(function(t){return" "+t}).join("\n")):m=t.stylize("[Circular]","special")),isUndefined(_)){if(b&&y.match(/^\d+$/))return m;(_=JSON.stringify(""+y)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(_=_.substr(1,_.length-2),_=t.stylize(_,"name")):(_=_.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),_=t.stylize(_,"string"))}return _+": "+m}function isArray(t){return Array.isArray(t)}function isBoolean(t){return"boolean"==typeof t}function isNull(t){return null===t}function isNumber(t){return"number"==typeof t}function isString(t){return"string"==typeof t}function isUndefined(t){return void 0===t}function isRegExp(t){return isObject(t)&&"[object RegExp]"===objectToString(t)}function isObject(t){return"object"==typeof t&&null!==t}function isDate(t){return isObject(t)&&"[object Date]"===objectToString(t)}function isError(t){return isObject(t)&&("[object Error]"===objectToString(t)||t instanceof Error)}function isFunction(t){return"function"==typeof t}function objectToString(t){return Object.prototype.toString.call(t)}function pad(t){return t<10?"0"+t.toString(10):t.toString(10)}p.debuglog=function(t){if(isUndefined(y)&&(y=r.env.NODE_DEBUG||""),!_[t=t.toUpperCase()]){if(RegExp("\\b"+t+"\\b","i").test(y)){var i=r.pid;_[t]=function(){var r=p.format.apply(p,arguments);console.error("%s %d: %s",t,i,r)}}else _[t]=function(){}}return _[t]},p.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},p.isArray=isArray,p.isBoolean=isBoolean,p.isNull=isNull,p.isNullOrUndefined=function(t){return null==t},p.isNumber=isNumber,p.isString=isString,p.isSymbol=function(t){return"symbol"==typeof t},p.isUndefined=isUndefined,p.isRegExp=isRegExp,p.isObject=isObject,p.isDate=isDate,p.isError=isError,p.isFunction=isFunction,p.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},p.isBuffer=t("./support/isBuffer");var m=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function hasOwnProperty(t,r){return Object.prototype.hasOwnProperty.call(t,r)}p.log=function(){var t,r;console.log("%s - %s",(r=[pad((t=new Date).getHours()),pad(t.getMinutes()),pad(t.getSeconds())].join(":"),[t.getDate(),m[t.getMonth()],r].join(" ")),p.format.apply(p,arguments))},p.inherits=t("inherits"),p._extend=function(t,r){if(!r||!isObject(r))return t;for(var i=Object.keys(r),p=i.length;p--;)t[i[p]]=r[i[p]];return t}}).call(this)}).call(this,t("_process"),void 0!==i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":25,_process:60,inherits:24}],27:[function(t,r,p){(function(i){(function(){"use strict";var p=t("array-filter");r.exports=function(){return p(["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],function(t){return"function"==typeof i[t]})}}).call(this)}).call(this,void 0!==i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"array-filter":28}],28:[function(t,r,i){r.exports=function(t,r,i){if(t.filter)return t.filter(r,i);if(null==t||"function"!=typeof r)throw TypeError();for(var y=[],b=0;b<t.length;b++)if(p.call(t,b)){var _=t[b];r.call(i,_,b,t)&&y.push(_)}return y};var p=Object.prototype.hasOwnProperty},{}],29:[function(t,r,i){"use strict";i.byteLength=function(t){var r=getLens(t),i=r[0],p=r[1];return(i+p)*3/4-p},i.toByteArray=function(t){var r,i,p=getLens(t),_=p[0],m=p[1],w=new b((_+m)*3/4-m),S=0,A=m>0?_-4:_;for(i=0;i<A;i+=4)r=y[t.charCodeAt(i)]<<18|y[t.charCodeAt(i+1)]<<12|y[t.charCodeAt(i+2)]<<6|y[t.charCodeAt(i+3)],w[S++]=r>>16&255,w[S++]=r>>8&255,w[S++]=255&r;return 2===m&&(r=y[t.charCodeAt(i)]<<2|y[t.charCodeAt(i+1)]>>4,w[S++]=255&r),1===m&&(r=y[t.charCodeAt(i)]<<10|y[t.charCodeAt(i+1)]<<4|y[t.charCodeAt(i+2)]>>2,w[S++]=r>>8&255,w[S++]=255&r),w},i.fromByteArray=function(t){for(var r,i=t.length,y=i%3,b=[],_=0,m=i-y;_<m;_+=16383)b.push(function(t,r,i){for(var y,b=[],_=r;_<i;_+=3)b.push(p[(y=(t[_]<<16&16711680)+(t[_+1]<<8&65280)+(255&t[_+2]))>>18&63]+p[y>>12&63]+p[y>>6&63]+p[63&y]);return b.join("")}(t,_,_+16383>m?m:_+16383));return 1===y?b.push(p[(r=t[i-1])>>2]+p[r<<4&63]+"=="):2===y&&b.push(p[(r=(t[i-2]<<8)+t[i-1])>>10]+p[r>>4&63]+p[r<<2&63]+"="),b.join("")};for(var p=[],y=[],b="undefined"!=typeof Uint8Array?Uint8Array:Array,_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m=0,w=_.length;m<w;++m)p[m]=_[m],y[_.charCodeAt(m)]=m;function getLens(t){var r=t.length;if(r%4>0)throw Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");-1===i&&(i=r);var p=i===r?0:4-i%4;return[i,p]}y["-".charCodeAt(0)]=62,y["_".charCodeAt(0)]=63},{}],30:[function(t,r,i){},{}],31:[function(t,r,i){(function(r,p){(function(){"use strict";var y=t("assert"),b=t("pako/lib/zlib/zstream"),_=t("pako/lib/zlib/deflate.js"),m=t("pako/lib/zlib/inflate.js"),w=t("pako/lib/zlib/constants");for(var S in w)i[S]=w[S];function Zlib(t){if("number"!=typeof t||t<i.DEFLATE||t>i.UNZIP)throw TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=t,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}i.NONE=0,i.DEFLATE=1,i.INFLATE=2,i.GZIP=3,i.GUNZIP=4,i.DEFLATERAW=5,i.INFLATERAW=6,i.UNZIP=7,Zlib.prototype.close=function(){if(this.write_in_progress){this.pending_close=!0;return}this.pending_close=!1,y(this.init_done,"close before init"),y(this.mode<=i.UNZIP),this.mode===i.DEFLATE||this.mode===i.GZIP||this.mode===i.DEFLATERAW?_.deflateEnd(this.strm):(this.mode===i.INFLATE||this.mode===i.GUNZIP||this.mode===i.INFLATERAW||this.mode===i.UNZIP)&&m.inflateEnd(this.strm),this.mode=i.NONE,this.dictionary=null},Zlib.prototype.write=function(t,r,i,p,y,b,_){return this._write(!0,t,r,i,p,y,b,_)},Zlib.prototype.writeSync=function(t,r,i,p,y,b,_){return this._write(!1,t,r,i,p,y,b,_)},Zlib.prototype._write=function(t,b,_,m,w,S,A,k){if(y.equal(arguments.length,8),y(this.init_done,"write before init"),y(this.mode!==i.NONE,"already finalized"),y.equal(!1,this.write_in_progress,"write already in progress"),y.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,y.equal(!1,void 0===b,"must provide flush value"),this.write_in_progress=!0,b!==i.Z_NO_FLUSH&&b!==i.Z_PARTIAL_FLUSH&&b!==i.Z_SYNC_FLUSH&&b!==i.Z_FULL_FLUSH&&b!==i.Z_FINISH&&b!==i.Z_BLOCK)throw Error("Invalid flush value");if(null==_&&(_=p.alloc(0),w=0,m=0),this.strm.avail_in=w,this.strm.input=_,this.strm.next_in=m,this.strm.avail_out=k,this.strm.output=S,this.strm.next_out=A,this.flush=b,!t)return(this._process(),this._checkError())?this._afterSync():void 0;var T=this;return r.nextTick(function(){T._process(),T._after()}),this},Zlib.prototype._afterSync=function(){var t=this.strm.avail_out,r=this.strm.avail_in;return this.write_in_progress=!1,[r,t]},Zlib.prototype._process=function(){var t=null;switch(this.mode){case i.DEFLATE:case i.GZIP:case i.DEFLATERAW:this.err=_.deflate(this.strm,this.flush);break;case i.UNZIP:switch(this.strm.avail_in>0&&(t=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(null===t)break;if(31===this.strm.input[t]){if(this.gzip_id_bytes_read=1,t++,1===this.strm.avail_in)break}else{this.mode=i.INFLATE;break}case 1:if(null===t)break;139===this.strm.input[t]?(this.gzip_id_bytes_read=2,this.mode=i.GUNZIP):this.mode=i.INFLATE;break;default:throw Error("invalid number of gzip magic number bytes read")}case i.INFLATE:case i.GUNZIP:case i.INFLATERAW:for(this.err=m.inflate(this.strm,this.flush),this.err===i.Z_NEED_DICT&&this.dictionary&&(this.err=m.inflateSetDictionary(this.strm,this.dictionary),this.err===i.Z_OK?this.err=m.inflate(this.strm,this.flush):this.err===i.Z_DATA_ERROR&&(this.err=i.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===i.GUNZIP&&this.err===i.Z_STREAM_END&&0!==this.strm.next_in[0];)this.reset(),this.err=m.inflate(this.strm,this.flush);break;default:throw Error("Unknown mode "+this.mode)}},Zlib.prototype._checkError=function(){switch(this.err){case i.Z_OK:case i.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===i.Z_FINISH)return this._error("unexpected end of file"),!1;break;case i.Z_STREAM_END:break;case i.Z_NEED_DICT:return null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},Zlib.prototype._after=function(){if(this._checkError()){var t=this.strm.avail_out,r=this.strm.avail_in;this.write_in_progress=!1,this.callback(r,t),this.pending_close&&this.close()}},Zlib.prototype._error=function(t){this.strm.msg&&(t=this.strm.msg),this.onerror(t,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},Zlib.prototype.init=function(t,r,p,b,_){y(4==arguments.length||5==arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),y(t>=8&&t<=15,"invalid windowBits"),y(r>=-1&&r<=9,"invalid compression level"),y(p>=1&&p<=9,"invalid memlevel"),y(b===i.Z_FILTERED||b===i.Z_HUFFMAN_ONLY||b===i.Z_RLE||b===i.Z_FIXED||b===i.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(r,t,p,b,_),this._setDictionary()},Zlib.prototype.params=function(){throw Error("deflateParams Not supported")},Zlib.prototype.reset=function(){this._reset(),this._setDictionary()},Zlib.prototype._init=function(t,r,p,y,w){switch(this.level=t,this.windowBits=r,this.memLevel=p,this.strategy=y,this.flush=i.Z_NO_FLUSH,this.err=i.Z_OK,(this.mode===i.GZIP||this.mode===i.GUNZIP)&&(this.windowBits+=16),this.mode===i.UNZIP&&(this.windowBits+=32),(this.mode===i.DEFLATERAW||this.mode===i.INFLATERAW)&&(this.windowBits=-1*this.windowBits),this.strm=new b,this.mode){case i.DEFLATE:case i.GZIP:case i.DEFLATERAW:this.err=_.deflateInit2(this.strm,this.level,i.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case i.INFLATE:case i.GUNZIP:case i.INFLATERAW:case i.UNZIP:this.err=m.inflateInit2(this.strm,this.windowBits);break;default:throw Error("Unknown mode "+this.mode)}this.err!==i.Z_OK&&this._error("Init error"),this.dictionary=w,this.write_in_progress=!1,this.init_done=!0},Zlib.prototype._setDictionary=function(){if(null!=this.dictionary){switch(this.err=i.Z_OK,this.mode){case i.DEFLATE:case i.DEFLATERAW:this.err=_.deflateSetDictionary(this.strm,this.dictionary)}this.err!==i.Z_OK&&this._error("Failed to set dictionary")}},Zlib.prototype._reset=function(){switch(this.err=i.Z_OK,this.mode){case i.DEFLATE:case i.DEFLATERAW:case i.GZIP:this.err=_.deflateReset(this.strm);break;case i.INFLATE:case i.INFLATERAW:case i.GUNZIP:this.err=m.inflateReset(this.strm)}this.err!==i.Z_OK&&this._error("Failed to reset stream")},i.Zlib=Zlib}).call(this)}).call(this,t("_process"),t("buffer").Buffer)},{_process:60,assert:23,buffer:33,"pako/lib/zlib/constants":51,"pako/lib/zlib/deflate.js":53,"pako/lib/zlib/inflate.js":55,"pako/lib/zlib/zstream":59}],32:[function(t,r,i){(function(r){(function(){"use strict";var p=t("buffer").Buffer,y=t("stream").Transform,b=t("./binding"),_=t("util"),m=t("assert").ok,w=t("buffer").kMaxLength,S="Cannot create final Buffer. It would be larger than 0x"+w.toString(16)+" bytes";b.Z_MIN_WINDOWBITS=8,b.Z_MAX_WINDOWBITS=15,b.Z_DEFAULT_WINDOWBITS=15,b.Z_MIN_CHUNK=64,b.Z_MAX_CHUNK=1/0,b.Z_DEFAULT_CHUNK=16384,b.Z_MIN_MEMLEVEL=1,b.Z_MAX_MEMLEVEL=9,b.Z_DEFAULT_MEMLEVEL=8,b.Z_MIN_LEVEL=-1,b.Z_MAX_LEVEL=9,b.Z_DEFAULT_LEVEL=b.Z_DEFAULT_COMPRESSION;for(var A=Object.keys(b),k=0;k<A.length;k++){var T=A[k];T.match(/^Z/)&&Object.defineProperty(i,T,{enumerable:!0,value:b[T],writable:!1})}for(var R={Z_OK:b.Z_OK,Z_STREAM_END:b.Z_STREAM_END,Z_NEED_DICT:b.Z_NEED_DICT,Z_ERRNO:b.Z_ERRNO,Z_STREAM_ERROR:b.Z_STREAM_ERROR,Z_DATA_ERROR:b.Z_DATA_ERROR,Z_MEM_ERROR:b.Z_MEM_ERROR,Z_BUF_ERROR:b.Z_BUF_ERROR,Z_VERSION_ERROR:b.Z_VERSION_ERROR},O=Object.keys(R),x=0;x<O.length;x++){var P=O[x];R[R[P]]=P}function zlibBuffer(t,r,i){var y=[],b=0;function flow(){for(var r;null!==(r=t.read());)y.push(r),b+=r.length;t.once("readable",flow)}function onEnd(){var r,_=null;b>=w?_=RangeError(S):r=p.concat(y,b),y=[],t.close(),i(_,r)}t.on("error",function(r){t.removeListener("end",onEnd),t.removeListener("readable",flow),i(r)}),t.on("end",onEnd),t.end(r),flow()}function zlibBufferSync(t,r){if("string"==typeof r&&(r=p.from(r)),!p.isBuffer(r))throw TypeError("Not a string or buffer");var i=t._finishFlushFlag;return t._processChunk(r,i)}function Deflate(t){if(!(this instanceof Deflate))return new Deflate(t);Zlib.call(this,t,b.DEFLATE)}function Inflate(t){if(!(this instanceof Inflate))return new Inflate(t);Zlib.call(this,t,b.INFLATE)}function Gzip(t){if(!(this instanceof Gzip))return new Gzip(t);Zlib.call(this,t,b.GZIP)}function Gunzip(t){if(!(this instanceof Gunzip))return new Gunzip(t);Zlib.call(this,t,b.GUNZIP)}function DeflateRaw(t){if(!(this instanceof DeflateRaw))return new DeflateRaw(t);Zlib.call(this,t,b.DEFLATERAW)}function InflateRaw(t){if(!(this instanceof InflateRaw))return new InflateRaw(t);Zlib.call(this,t,b.INFLATERAW)}function Unzip(t){if(!(this instanceof Unzip))return new Unzip(t);Zlib.call(this,t,b.UNZIP)}function isValidFlushFlag(t){return t===b.Z_NO_FLUSH||t===b.Z_PARTIAL_FLUSH||t===b.Z_SYNC_FLUSH||t===b.Z_FULL_FLUSH||t===b.Z_FINISH||t===b.Z_BLOCK}function Zlib(t,r){var _=this;if(this._opts=t=t||{},this._chunkSize=t.chunkSize||i.Z_DEFAULT_CHUNK,y.call(this,t),t.flush&&!isValidFlushFlag(t.flush))throw Error("Invalid flush flag: "+t.flush);if(t.finishFlush&&!isValidFlushFlag(t.finishFlush))throw Error("Invalid flush flag: "+t.finishFlush);if(this._flushFlag=t.flush||b.Z_NO_FLUSH,this._finishFlushFlag=void 0!==t.finishFlush?t.finishFlush:b.Z_FINISH,t.chunkSize&&(t.chunkSize<i.Z_MIN_CHUNK||t.chunkSize>i.Z_MAX_CHUNK))throw Error("Invalid chunk size: "+t.chunkSize);if(t.windowBits&&(t.windowBits<i.Z_MIN_WINDOWBITS||t.windowBits>i.Z_MAX_WINDOWBITS))throw Error("Invalid windowBits: "+t.windowBits);if(t.level&&(t.level<i.Z_MIN_LEVEL||t.level>i.Z_MAX_LEVEL))throw Error("Invalid compression level: "+t.level);if(t.memLevel&&(t.memLevel<i.Z_MIN_MEMLEVEL||t.memLevel>i.Z_MAX_MEMLEVEL))throw Error("Invalid memLevel: "+t.memLevel);if(t.strategy&&t.strategy!=i.Z_FILTERED&&t.strategy!=i.Z_HUFFMAN_ONLY&&t.strategy!=i.Z_RLE&&t.strategy!=i.Z_FIXED&&t.strategy!=i.Z_DEFAULT_STRATEGY)throw Error("Invalid strategy: "+t.strategy);if(t.dictionary&&!p.isBuffer(t.dictionary))throw Error("Invalid dictionary: it should be a Buffer instance");this._handle=new b.Zlib(r);var m=this;this._hadError=!1,this._handle.onerror=function(t,r){_close(m),m._hadError=!0;var p=Error(t);p.errno=r,p.code=i.codes[r],m.emit("error",p)};var w=i.Z_DEFAULT_COMPRESSION;"number"==typeof t.level&&(w=t.level);var S=i.Z_DEFAULT_STRATEGY;"number"==typeof t.strategy&&(S=t.strategy),this._handle.init(t.windowBits||i.Z_DEFAULT_WINDOWBITS,w,t.memLevel||i.Z_DEFAULT_MEMLEVEL,S,t.dictionary),this._buffer=p.allocUnsafe(this._chunkSize),this._offset=0,this._level=w,this._strategy=S,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!_._handle},configurable:!0,enumerable:!0})}function _close(t,i){i&&r.nextTick(i),t._handle&&(t._handle.close(),t._handle=null)}function emitCloseNT(t){t.emit("close")}Object.defineProperty(i,"codes",{enumerable:!0,value:Object.freeze(R),writable:!1}),i.Deflate=Deflate,i.Inflate=Inflate,i.Gzip=Gzip,i.Gunzip=Gunzip,i.DeflateRaw=DeflateRaw,i.InflateRaw=InflateRaw,i.Unzip=Unzip,i.createDeflate=function(t){return new Deflate(t)},i.createInflate=function(t){return new Inflate(t)},i.createDeflateRaw=function(t){return new DeflateRaw(t)},i.createInflateRaw=function(t){return new InflateRaw(t)},i.createGzip=function(t){return new Gzip(t)},i.createGunzip=function(t){return new Gunzip(t)},i.createUnzip=function(t){return new Unzip(t)},i.deflate=function(t,r,i){return"function"==typeof r&&(i=r,r={}),zlibBuffer(new Deflate(r),t,i)},i.deflateSync=function(t,r){return zlibBufferSync(new Deflate(r),t)},i.gzip=function(t,r,i){return"function"==typeof r&&(i=r,r={}),zlibBuffer(new Gzip(r),t,i)},i.gzipSync=function(t,r){return zlibBufferSync(new Gzip(r),t)},i.deflateRaw=function(t,r,i){return"function"==typeof r&&(i=r,r={}),zlibBuffer(new DeflateRaw(r),t,i)},i.deflateRawSync=function(t,r){return zlibBufferSync(new DeflateRaw(r),t)},i.unzip=function(t,r,i){return"function"==typeof r&&(i=r,r={}),zlibBuffer(new Unzip(r),t,i)},i.unzipSync=function(t,r){return zlibBufferSync(new Unzip(r),t)},i.inflate=function(t,r,i){return"function"==typeof r&&(i=r,r={}),zlibBuffer(new Inflate(r),t,i)},i.inflateSync=function(t,r){return zlibBufferSync(new Inflate(r),t)},i.gunzip=function(t,r,i){return"function"==typeof r&&(i=r,r={}),zlibBuffer(new Gunzip(r),t,i)},i.gunzipSync=function(t,r){return zlibBufferSync(new Gunzip(r),t)},i.inflateRaw=function(t,r,i){return"function"==typeof r&&(i=r,r={}),zlibBuffer(new InflateRaw(r),t,i)},i.inflateRawSync=function(t,r){return zlibBufferSync(new InflateRaw(r),t)},_.inherits(Zlib,y),Zlib.prototype.params=function(t,p,y){if(t<i.Z_MIN_LEVEL||t>i.Z_MAX_LEVEL)throw RangeError("Invalid compression level: "+t);if(p!=i.Z_FILTERED&&p!=i.Z_HUFFMAN_ONLY&&p!=i.Z_RLE&&p!=i.Z_FIXED&&p!=i.Z_DEFAULT_STRATEGY)throw TypeError("Invalid strategy: "+p);if(this._level!==t||this._strategy!==p){var _=this;this.flush(b.Z_SYNC_FLUSH,function(){m(_._handle,"zlib binding closed"),_._handle.params(t,p),!_._hadError&&(_._level=t,_._strategy=p,y&&y())})}else r.nextTick(y)},Zlib.prototype.reset=function(){return m(this._handle,"zlib binding closed"),this._handle.reset()},Zlib.prototype._flush=function(t){this._transform(p.alloc(0),"",t)},Zlib.prototype.flush=function(t,i){var y=this,_=this._writableState;"function"!=typeof t&&(void 0!==t||i)||(i=t,t=b.Z_FULL_FLUSH),_.ended?i&&r.nextTick(i):_.ending?i&&this.once("end",i):_.needDrain?i&&this.once("drain",function(){return y.flush(t,i)}):(this._flushFlag=t,this.write(p.alloc(0),"",i))},Zlib.prototype.close=function(t){_close(this,t),r.nextTick(emitCloseNT,this)},Zlib.prototype._transform=function(t,r,i){var y,_=this._writableState,m=(_.ending||_.ended)&&(!t||_.length===t.length);return null===t||p.isBuffer(t)?this._handle?void(m?y=this._finishFlushFlag:(y=this._flushFlag,t.length>=_.length&&(this._flushFlag=this._opts.flush||b.Z_NO_FLUSH)),this._processChunk(t,y,i)):i(Error("zlib binding closed")):i(Error("invalid input"))},Zlib.prototype._processChunk=function(t,r,i){var y=t&&t.length,b=this._chunkSize-this._offset,_=0,A=this,k="function"==typeof i;if(!k){var T,R=[],O=0;this.on("error",function(t){T=t}),m(this._handle,"zlib binding closed");do var x=this._handle.writeSync(r,t,_,y,this._buffer,this._offset,b);while(!this._hadError&&callback(x[0],x[1]));if(this._hadError)throw T;if(O>=w)throw _close(this),RangeError(S);var P=p.concat(R,O);return _close(this),P}m(this._handle,"zlib binding closed");var L=this._handle.write(r,t,_,y,this._buffer,this._offset,b);function callback(w,S){if(this&&(this.buffer=null,this.callback=null),!A._hadError){var T=b-S;if(m(T>=0,"have should not go down"),T>0){var x=A._buffer.slice(A._offset,A._offset+T);A._offset+=T,k?A.push(x):(R.push(x),O+=x.length)}if((0===S||A._offset>=A._chunkSize)&&(b=A._chunkSize,A._offset=0,A._buffer=p.allocUnsafe(A._chunkSize)),0===S){if(_+=y-w,y=w,!k)return!0;var P=A._handle.write(r,t,_,y,A._buffer,A._offset,A._chunkSize);return P.callback=callback,void(P.buffer=t)}if(!k)return!1;i()}}L.buffer=t,L.callback=callback},_.inherits(Deflate,Zlib),_.inherits(Inflate,Zlib),_.inherits(Gzip,Zlib),_.inherits(Gunzip,Zlib),_.inherits(DeflateRaw,Zlib),_.inherits(InflateRaw,Zlib),_.inherits(Unzip,Zlib)}).call(this)}).call(this,t("_process"))},{"./binding":31,_process:60,assert:23,buffer:33,stream:61,util:81}],33:[function(t,r,i){(function(r){(function(){/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/"use strict";var r=t("base64-js"),p=t("ieee754");function createBuffer(t){if(t>2147483647)throw RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return r.__proto__=Buffer.prototype,r}function Buffer(t,r,i){if("number"==typeof t){if("string"==typeof r)throw TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(t)}return from(t,r,i)}function from(t,r,i){if("string"==typeof t)return function(t,r){if(("string"!=typeof r||""===r)&&(r="utf8"),!Buffer.isEncoding(r))throw TypeError("Unknown encoding: "+r);var i=0|byteLength(t,r),p=createBuffer(i),y=p.write(t,r);return y!==i&&(p=p.slice(0,y)),p}(t,r);if(ArrayBuffer.isView(t))return fromArrayLike(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(isInstance(t,ArrayBuffer)||t&&isInstance(t.buffer,ArrayBuffer))return function(t,r,i){var p;if(r<0||t.byteLength<r)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(i||0))throw RangeError('"length" is outside of buffer bounds');return(p=void 0===r&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,r):new Uint8Array(t,r,i)).__proto__=Buffer.prototype,p}(t,r,i);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var p=t.valueOf&&t.valueOf();if(null!=p&&p!==t)return Buffer.from(p,r,i);var y=function(t){if(Buffer.isBuffer(t)){var r,i=0|checked(t.length),p=createBuffer(i);return 0===p.length||t.copy(p,0,0,i),p}return void 0!==t.length?"number"!=typeof t.length||(r=t.length)!=r?createBuffer(0):fromArrayLike(t):"Buffer"===t.type&&Array.isArray(t.data)?fromArrayLike(t.data):void 0}(t);if(y)return y;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return Buffer.from(t[Symbol.toPrimitive]("string"),r,i);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function assertSize(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function allocUnsafe(t){return assertSize(t),createBuffer(t<0?0:0|checked(t))}function fromArrayLike(t){for(var r=t.length<0?0:0|checked(t.length),i=createBuffer(r),p=0;p<r;p+=1)i[p]=255&t[p];return i}function checked(t){if(t>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function byteLength(t,r){if(Buffer.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||isInstance(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var i=t.length,p=arguments.length>2&&!0===arguments[2];if(!p&&0===i)return 0;for(var y=!1;;)switch(r){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return utf8ToBytes(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return base64ToBytes(t).length;default:if(y)return p?-1:utf8ToBytes(t).length;r=(""+r).toLowerCase(),y=!0}}function slowToString(t,i,p){var y,b,_=!1;if((void 0===i||i<0)&&(i=0),i>this.length||((void 0===p||p>this.length)&&(p=this.length),p<=0||(p>>>=0)<=(i>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,r,i){var p,y=t.length;(!r||r<0)&&(r=0),(!i||i<0||i>y)&&(i=y);for(var b="",_=r;_<i;++_)b+=(p=t[_])<16?"0"+p.toString(16):p.toString(16);return b}(this,i,p);case"utf8":case"utf-8":return utf8Slice(this,i,p);case"ascii":return function(t,r,i){var p="";i=Math.min(t.length,i);for(var y=r;y<i;++y)p+=String.fromCharCode(127&t[y]);return p}(this,i,p);case"latin1":case"binary":return function(t,r,i){var p="";i=Math.min(t.length,i);for(var y=r;y<i;++y)p+=String.fromCharCode(t[y]);return p}(this,i,p);case"base64":return y=i,b=p,0===y&&b===this.length?r.fromByteArray(this):r.fromByteArray(this.slice(y,b));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,r,i){for(var p=t.slice(r,i),y="",b=0;b<p.length;b+=2)y+=String.fromCharCode(p[b]+256*p[b+1]);return y}(this,i,p);default:if(_)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),_=!0}}function swap(t,r,i){var p=t[r];t[r]=t[i],t[i]=p}function bidirectionalIndexOf(t,r,i,p,y){var b;if(0===t.length)return -1;if("string"==typeof i?(p=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),(b=i=+i)!=b&&(i=y?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(y)return -1;i=t.length-1}else if(i<0){if(!y)return -1;i=0}if("string"==typeof r&&(r=Buffer.from(r,p)),Buffer.isBuffer(r))return 0===r.length?-1:arrayIndexOf(t,r,i,p,y);if("number"==typeof r)return(r&=255,"function"==typeof Uint8Array.prototype.indexOf)?y?Uint8Array.prototype.indexOf.call(t,r,i):Uint8Array.prototype.lastIndexOf.call(t,r,i):arrayIndexOf(t,[r],i,p,y);throw TypeError("val must be string, number or Buffer")}function arrayIndexOf(t,r,i,p,y){var b,_=1,m=t.length,w=r.length;if(void 0!==p&&("ucs2"===(p=String(p).toLowerCase())||"ucs-2"===p||"utf16le"===p||"utf-16le"===p)){if(t.length<2||r.length<2)return -1;_=2,m/=2,w/=2,i/=2}function read(t,r){return 1===_?t[r]:t.readUInt16BE(r*_)}if(y){var S=-1;for(b=i;b<m;b++)if(read(t,b)===read(r,-1===S?0:b-S)){if(-1===S&&(S=b),b-S+1===w)return S*_}else -1!==S&&(b-=b-S),S=-1}else for(i+w>m&&(i=m-w),b=i;b>=0;b--){for(var A=!0,k=0;k<w;k++)if(read(t,b+k)!==read(r,k)){A=!1;break}if(A)return b}return -1}function utf8Slice(t,r,i){i=Math.min(t.length,i);for(var p=[],y=r;y<i;){var b,_,m,w,S=t[y],A=null,k=S>239?4:S>223?3:S>191?2:1;if(y+k<=i)switch(k){case 1:S<128&&(A=S);break;case 2:(192&(b=t[y+1]))==128&&(w=(31&S)<<6|63&b)>127&&(A=w);break;case 3:b=t[y+1],_=t[y+2],(192&b)==128&&(192&_)==128&&(w=(15&S)<<12|(63&b)<<6|63&_)>2047&&(w<55296||w>57343)&&(A=w);break;case 4:b=t[y+1],_=t[y+2],m=t[y+3],(192&b)==128&&(192&_)==128&&(192&m)==128&&(w=(15&S)<<18|(63&b)<<12|(63&_)<<6|63&m)>65535&&w<1114112&&(A=w)}null===A?(A=65533,k=1):A>65535&&(A-=65536,p.push(A>>>10&1023|55296),A=56320|1023&A),p.push(A),y+=k}return function(t){var r=t.length;if(r<=4096)return String.fromCharCode.apply(String,t);for(var i="",p=0;p<r;)i+=String.fromCharCode.apply(String,t.slice(p,p+=4096));return i}(p)}function checkOffset(t,r,i){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+r>i)throw RangeError("Trying to access beyond buffer length")}function checkInt(t,r,i,p,y,b){if(!Buffer.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(r>y||r<b)throw RangeError('"value" argument is out of bounds');if(i+p>t.length)throw RangeError("Index out of range")}function checkIEEE754(t,r,i,p,y,b){if(i+p>t.length||i<0)throw RangeError("Index out of range")}function writeFloat(t,r,i,y,b){return r=+r,i>>>=0,b||checkIEEE754(t,r,i,4,34028234663852886e22,-34028234663852886e22),p.write(t,r,i,y,23,4),i+4}function writeDouble(t,r,i,y,b){return r=+r,i>>>=0,b||checkIEEE754(t,r,i,8,17976931348623157e292,-17976931348623157e292),p.write(t,r,i,y,52,8),i+8}i.Buffer=Buffer,i.SlowBuffer=function(t){return+t!=t&&(t=0),Buffer.alloc(+t)},i.INSPECT_MAX_BYTES=50,i.kMaxLength=2147483647,Buffer.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}}(),Buffer.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(Buffer.prototype,"parent",{enumerable:!0,get:function(){if(Buffer.isBuffer(this))return this.buffer}}),Object.defineProperty(Buffer.prototype,"offset",{enumerable:!0,get:function(){if(Buffer.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&Buffer[Symbol.species]===Buffer&&Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),Buffer.poolSize=8192,Buffer.from=function(t,r,i){return from(t,r,i)},Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array,Buffer.alloc=function(t,r,i){return(assertSize(t),t<=0)?createBuffer(t):void 0!==r?"string"==typeof i?createBuffer(t).fill(r,i):createBuffer(t).fill(r):createBuffer(t)},Buffer.allocUnsafe=function(t){return allocUnsafe(t)},Buffer.allocUnsafeSlow=function(t){return allocUnsafe(t)},Buffer.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==Buffer.prototype},Buffer.compare=function(t,r){if(isInstance(t,Uint8Array)&&(t=Buffer.from(t,t.offset,t.byteLength)),isInstance(r,Uint8Array)&&(r=Buffer.from(r,r.offset,r.byteLength)),!Buffer.isBuffer(t)||!Buffer.isBuffer(r))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var i=t.length,p=r.length,y=0,b=Math.min(i,p);y<b;++y)if(t[y]!==r[y]){i=t[y],p=r[y];break}return i<p?-1:p<i?1:0},Buffer.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}},Buffer.concat=function(t,r){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return Buffer.alloc(0);if(void 0===r)for(i=0,r=0;i<t.length;++i)r+=t[i].length;var i,p=Buffer.allocUnsafe(r),y=0;for(i=0;i<t.length;++i){var b=t[i];if(isInstance(b,Uint8Array)&&(b=Buffer.from(b)),!Buffer.isBuffer(b))throw TypeError('"list" argument must be an Array of Buffers');b.copy(p,y),y+=b.length}return p},Buffer.byteLength=byteLength,Buffer.prototype._isBuffer=!0,Buffer.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)swap(this,r,r+1);return this},Buffer.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)swap(this,r,r+3),swap(this,r+1,r+2);return this},Buffer.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)swap(this,r,r+7),swap(this,r+1,r+6),swap(this,r+2,r+5),swap(this,r+3,r+4);return this},Buffer.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?utf8Slice(this,0,t):slowToString.apply(this,arguments)},Buffer.prototype.toLocaleString=Buffer.prototype.toString,Buffer.prototype.equals=function(t){if(!Buffer.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===Buffer.compare(this,t)},Buffer.prototype.inspect=function(){var t="",r=i.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},Buffer.prototype.compare=function(t,r,i,p,y){if(isInstance(t,Uint8Array)&&(t=Buffer.from(t,t.offset,t.byteLength)),!Buffer.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===r&&(r=0),void 0===i&&(i=t?t.length:0),void 0===p&&(p=0),void 0===y&&(y=this.length),r<0||i>t.length||p<0||y>this.length)throw RangeError("out of range index");if(p>=y&&r>=i)return 0;if(p>=y)return -1;if(r>=i)return 1;if(r>>>=0,i>>>=0,p>>>=0,y>>>=0,this===t)return 0;for(var b=y-p,_=i-r,m=Math.min(b,_),w=this.slice(p,y),S=t.slice(r,i),A=0;A<m;++A)if(w[A]!==S[A]){b=w[A],_=S[A];break}return b<_?-1:_<b?1:0},Buffer.prototype.includes=function(t,r,i){return -1!==this.indexOf(t,r,i)},Buffer.prototype.indexOf=function(t,r,i){return bidirectionalIndexOf(this,t,r,i,!0)},Buffer.prototype.lastIndexOf=function(t,r,i){return bidirectionalIndexOf(this,t,r,i,!1)},Buffer.prototype.write=function(t,r,i,p){if(void 0===r)p="utf8",i=this.length,r=0;else if(void 0===i&&"string"==typeof r)p=r,i=this.length,r=0;else if(isFinite(r))r>>>=0,isFinite(i)?(i>>>=0,void 0===p&&(p="utf8")):(p=i,i=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var y,b,_,m,w,S,A,k,T,R,O,x,P=this.length-r;if((void 0===i||i>P)&&(i=P),t.length>0&&(i<0||r<0)||r>this.length)throw RangeError("Attempt to write outside buffer bounds");p||(p="utf8");for(var L=!1;;)switch(p){case"hex":return function(t,r,i,p){i=Number(i)||0;var y=t.length-i;p?(p=Number(p))>y&&(p=y):p=y;var b=r.length;p>b/2&&(p=b/2);for(var _=0;_<p;++_){var m=parseInt(r.substr(2*_,2),16);if(m!=m)break;t[i+_]=m}return _}(this,t,r,i);case"utf8":case"utf-8":return w=r,S=i,blitBuffer(utf8ToBytes(t,this.length-w),this,w,S);case"ascii":return A=r,k=i,blitBuffer(asciiToBytes(t),this,A,k);case"latin1":case"binary":return y=this,b=t,_=r,m=i,blitBuffer(asciiToBytes(b),y,_,m);case"base64":return T=r,R=i,blitBuffer(base64ToBytes(t),this,T,R);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O=r,x=i,blitBuffer(function(t,r){for(var i,p,y=[],b=0;b<t.length&&!((r-=2)<0);++b)p=(i=t.charCodeAt(b))>>8,y.push(i%256),y.push(p);return y}(t,this.length-O),this,O,x);default:if(L)throw TypeError("Unknown encoding: "+p);p=(""+p).toLowerCase(),L=!0}},Buffer.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},Buffer.prototype.slice=function(t,r){var i=this.length;t=~~t,r=void 0===r?i:~~r,t<0?(t+=i)<0&&(t=0):t>i&&(t=i),r<0?(r+=i)<0&&(r=0):r>i&&(r=i),r<t&&(r=t);var p=this.subarray(t,r);return p.__proto__=Buffer.prototype,p},Buffer.prototype.readUIntLE=function(t,r,i){t>>>=0,r>>>=0,i||checkOffset(t,r,this.length);for(var p=this[t],y=1,b=0;++b<r&&(y*=256);)p+=this[t+b]*y;return p},Buffer.prototype.readUIntBE=function(t,r,i){t>>>=0,r>>>=0,i||checkOffset(t,r,this.length);for(var p=this[t+--r],y=1;r>0&&(y*=256);)p+=this[t+--r]*y;return p},Buffer.prototype.readUInt8=function(t,r){return t>>>=0,r||checkOffset(t,1,this.length),this[t]},Buffer.prototype.readUInt16LE=function(t,r){return t>>>=0,r||checkOffset(t,2,this.length),this[t]|this[t+1]<<8},Buffer.prototype.readUInt16BE=function(t,r){return t>>>=0,r||checkOffset(t,2,this.length),this[t]<<8|this[t+1]},Buffer.prototype.readUInt32LE=function(t,r){return t>>>=0,r||checkOffset(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Buffer.prototype.readUInt32BE=function(t,r){return t>>>=0,r||checkOffset(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},Buffer.prototype.readIntLE=function(t,r,i){t>>>=0,r>>>=0,i||checkOffset(t,r,this.length);for(var p=this[t],y=1,b=0;++b<r&&(y*=256);)p+=this[t+b]*y;return p>=(y*=128)&&(p-=Math.pow(2,8*r)),p},Buffer.prototype.readIntBE=function(t,r,i){t>>>=0,r>>>=0,i||checkOffset(t,r,this.length);for(var p=r,y=1,b=this[t+--p];p>0&&(y*=256);)b+=this[t+--p]*y;return b>=(y*=128)&&(b-=Math.pow(2,8*r)),b},Buffer.prototype.readInt8=function(t,r){return(t>>>=0,r||checkOffset(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},Buffer.prototype.readInt16LE=function(t,r){t>>>=0,r||checkOffset(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},Buffer.prototype.readInt16BE=function(t,r){t>>>=0,r||checkOffset(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},Buffer.prototype.readInt32LE=function(t,r){return t>>>=0,r||checkOffset(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},Buffer.prototype.readInt32BE=function(t,r){return t>>>=0,r||checkOffset(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},Buffer.prototype.readFloatLE=function(t,r){return t>>>=0,r||checkOffset(t,4,this.length),p.read(this,t,!0,23,4)},Buffer.prototype.readFloatBE=function(t,r){return t>>>=0,r||checkOffset(t,4,this.length),p.read(this,t,!1,23,4)},Buffer.prototype.readDoubleLE=function(t,r){return t>>>=0,r||checkOffset(t,8,this.length),p.read(this,t,!0,52,8)},Buffer.prototype.readDoubleBE=function(t,r){return t>>>=0,r||checkOffset(t,8,this.length),p.read(this,t,!1,52,8)},Buffer.prototype.writeUIntLE=function(t,r,i,p){if(t=+t,r>>>=0,i>>>=0,!p){var y=Math.pow(2,8*i)-1;checkInt(this,t,r,i,y,0)}var b=1,_=0;for(this[r]=255&t;++_<i&&(b*=256);)this[r+_]=t/b&255;return r+i},Buffer.prototype.writeUIntBE=function(t,r,i,p){if(t=+t,r>>>=0,i>>>=0,!p){var y=Math.pow(2,8*i)-1;checkInt(this,t,r,i,y,0)}var b=i-1,_=1;for(this[r+b]=255&t;--b>=0&&(_*=256);)this[r+b]=t/_&255;return r+i},Buffer.prototype.writeUInt8=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,1,255,0),this[r]=255&t,r+1},Buffer.prototype.writeUInt16LE=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,2,65535,0),this[r]=255&t,this[r+1]=t>>>8,r+2},Buffer.prototype.writeUInt16BE=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=255&t,r+2},Buffer.prototype.writeUInt32LE=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t,r+4},Buffer.prototype.writeUInt32BE=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},Buffer.prototype.writeIntLE=function(t,r,i,p){if(t=+t,r>>>=0,!p){var y=Math.pow(2,8*i-1);checkInt(this,t,r,i,y-1,-y)}var b=0,_=1,m=0;for(this[r]=255&t;++b<i&&(_*=256);)t<0&&0===m&&0!==this[r+b-1]&&(m=1),this[r+b]=(t/_>>0)-m&255;return r+i},Buffer.prototype.writeIntBE=function(t,r,i,p){if(t=+t,r>>>=0,!p){var y=Math.pow(2,8*i-1);checkInt(this,t,r,i,y-1,-y)}var b=i-1,_=1,m=0;for(this[r+b]=255&t;--b>=0&&(_*=256);)t<0&&0===m&&0!==this[r+b+1]&&(m=1),this[r+b]=(t/_>>0)-m&255;return r+i},Buffer.prototype.writeInt8=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=255&t,r+1},Buffer.prototype.writeInt16LE=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,2,32767,-32768),this[r]=255&t,this[r+1]=t>>>8,r+2},Buffer.prototype.writeInt16BE=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=255&t,r+2},Buffer.prototype.writeInt32LE=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,4,2147483647,-2147483648),this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4},Buffer.prototype.writeInt32BE=function(t,r,i){return t=+t,r>>>=0,i||checkInt(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},Buffer.prototype.writeFloatLE=function(t,r,i){return writeFloat(this,t,r,!0,i)},Buffer.prototype.writeFloatBE=function(t,r,i){return writeFloat(this,t,r,!1,i)},Buffer.prototype.writeDoubleLE=function(t,r,i){return writeDouble(this,t,r,!0,i)},Buffer.prototype.writeDoubleBE=function(t,r,i){return writeDouble(this,t,r,!1,i)},Buffer.prototype.copy=function(t,r,i,p){if(!Buffer.isBuffer(t))throw TypeError("argument should be a Buffer");if(i||(i=0),p||0===p||(p=this.length),r>=t.length&&(r=t.length),r||(r=0),p>0&&p<i&&(p=i),p===i||0===t.length||0===this.length)return 0;if(r<0)throw RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw RangeError("Index out of range");if(p<0)throw RangeError("sourceEnd out of bounds");p>this.length&&(p=this.length),t.length-r<p-i&&(p=t.length-r+i);var y=p-i;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(r,i,p);else if(this===t&&i<r&&r<p)for(var b=y-1;b>=0;--b)t[b+r]=this[b+i];else Uint8Array.prototype.set.call(t,this.subarray(i,p),r);return y},Buffer.prototype.fill=function(t,r,i,p){if("string"==typeof t){if("string"==typeof r?(p=r,r=0,i=this.length):"string"==typeof i&&(p=i,i=this.length),void 0!==p&&"string"!=typeof p)throw TypeError("encoding must be a string");if("string"==typeof p&&!Buffer.isEncoding(p))throw TypeError("Unknown encoding: "+p);if(1===t.length){var y,b=t.charCodeAt(0);("utf8"===p&&b<128||"latin1"===p)&&(t=b)}}else"number"==typeof t&&(t&=255);if(r<0||this.length<r||this.length<i)throw RangeError("Out of range index");if(i<=r)return this;if(r>>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"==typeof t)for(y=r;y<i;++y)this[y]=t;else{var _=Buffer.isBuffer(t)?t:Buffer.from(t,p),m=_.length;if(0===m)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(y=0;y<i-r;++y)this[y+r]=_[y%m]}return this};var y=/[^+/0-9A-Za-z-_]/g;function utf8ToBytes(t,r){r=r||1/0;for(var i,p=t.length,y=null,b=[],_=0;_<p;++_){if((i=t.charCodeAt(_))>55295&&i<57344){if(!y){if(i>56319||_+1===p){(r-=3)>-1&&b.push(239,191,189);continue}y=i;continue}if(i<56320){(r-=3)>-1&&b.push(239,191,189),y=i;continue}i=(y-55296<<10|i-56320)+65536}else y&&(r-=3)>-1&&b.push(239,191,189);if(y=null,i<128){if((r-=1)<0)break;b.push(i)}else if(i<2048){if((r-=2)<0)break;b.push(i>>6|192,63&i|128)}else if(i<65536){if((r-=3)<0)break;b.push(i>>12|224,i>>6&63|128,63&i|128)}else if(i<1114112){if((r-=4)<0)break;b.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else throw Error("Invalid code point")}return b}function asciiToBytes(t){for(var r=[],i=0;i<t.length;++i)r.push(255&t.charCodeAt(i));return r}function base64ToBytes(t){return r.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(y,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function blitBuffer(t,r,i,p){for(var y=0;y<p&&!(y+i>=r.length)&&!(y>=t.length);++y)r[y+i]=t[y];return y}function isInstance(t,r){return t instanceof r||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===r.name}}).call(this)}).call(this,t("buffer").Buffer)},{"base64-js":29,buffer:33,ieee754:44}],34:[function(t,r,i){"use strict";var p,y,b,_,m=TypeError,w=Object.getOwnPropertyDescriptor;if(w)try{w({},"")}catch(t){w=null}var throwTypeError=function(){throw new m},S=w?function(){try{return arguments.callee,throwTypeError}catch(t){try{return w(arguments,"callee").get}catch(t){return throwTypeError}}}():throwTypeError,A=t("has-symbols")(),k=Object.getPrototypeOf||function(t){return t.__proto__},T=y?k(y):p,R=b?b.constructor:p,O=_?k(_):p,x=_?_():p,P="undefined"==typeof Uint8Array?p:k(Uint8Array),L={"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?p:ArrayBuffer,"%ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?p:ArrayBuffer.prototype,"%ArrayIteratorPrototype%":A?k([][Symbol.iterator]()):p,"%ArrayPrototype%":Array.prototype,"%ArrayProto_entries%":Array.prototype.entries,"%ArrayProto_forEach%":Array.prototype.forEach,"%ArrayProto_keys%":Array.prototype.keys,"%ArrayProto_values%":Array.prototype.values,"%AsyncFromSyncIteratorPrototype%":p,"%AsyncFunction%":R,"%AsyncFunctionPrototype%":R?R.prototype:p,"%AsyncGenerator%":_?k(x):p,"%AsyncGeneratorFunction%":O,"%AsyncGeneratorPrototype%":O?O.prototype:p,"%AsyncIteratorPrototype%":x&&A&&Symbol.asyncIterator?x[Symbol.asyncIterator]():p,"%Atomics%":"undefined"==typeof Atomics?p:Atomics,"%Boolean%":Boolean,"%BooleanPrototype%":Boolean.prototype,"%DataView%":"undefined"==typeof DataView?p:DataView,"%DataViewPrototype%":"undefined"==typeof DataView?p:DataView.prototype,"%Date%":Date,"%DatePrototype%":Date.prototype,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%ErrorPrototype%":Error.prototype,"%eval%":eval,"%EvalError%":EvalError,"%EvalErrorPrototype%":EvalError.prototype,"%Float32Array%":"undefined"==typeof Float32Array?p:Float32Array,"%Float32ArrayPrototype%":"undefined"==typeof Float32Array?p:Float32Array.prototype,"%Float64Array%":"undefined"==typeof Float64Array?p:Float64Array,"%Float64ArrayPrototype%":"undefined"==typeof Float64Array?p:Float64Array.prototype,"%Function%":Function,"%FunctionPrototype%":Function.prototype,"%Generator%":y?k(y()):p,"%GeneratorFunction%":T,"%GeneratorPrototype%":T?T.prototype:p,"%Int8Array%":"undefined"==typeof Int8Array?p:Int8Array,"%Int8ArrayPrototype%":"undefined"==typeof Int8Array?p:Int8Array.prototype,"%Int16Array%":"undefined"==typeof Int16Array?p:Int16Array,"%Int16ArrayPrototype%":"undefined"==typeof Int16Array?p:Int8Array.prototype,"%Int32Array%":"undefined"==typeof Int32Array?p:Int32Array,"%Int32ArrayPrototype%":"undefined"==typeof Int32Array?p:Int32Array.prototype,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":A?k(k([][Symbol.iterator]())):p,"%JSON%":"object"==typeof JSON?JSON:p,"%JSONParse%":"object"==typeof JSON?JSON.parse:p,"%Map%":"undefined"==typeof Map?p:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&A?k(new Map()[Symbol.iterator]()):p,"%MapPrototype%":"undefined"==typeof Map?p:Map.prototype,"%Math%":Math,"%Number%":Number,"%NumberPrototype%":Number.prototype,"%Object%":Object,"%ObjectPrototype%":Object.prototype,"%ObjProto_toString%":Object.prototype.toString,"%ObjProto_valueOf%":Object.prototype.valueOf,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?p:Promise,"%PromisePrototype%":"undefined"==typeof Promise?p:Promise.prototype,"%PromiseProto_then%":"undefined"==typeof Promise?p:Promise.prototype.then,"%Promise_all%":"undefined"==typeof Promise?p:Promise.all,"%Promise_reject%":"undefined"==typeof Promise?p:Promise.reject,"%Promise_resolve%":"undefined"==typeof Promise?p:Promise.resolve,"%Proxy%":"undefined"==typeof Proxy?p:Proxy,"%RangeError%":RangeError,"%RangeErrorPrototype%":RangeError.prototype,"%ReferenceError%":ReferenceError,"%ReferenceErrorPrototype%":ReferenceError.prototype,"%Reflect%":"undefined"==typeof Reflect?p:Reflect,"%RegExp%":RegExp,"%RegExpPrototype%":RegExp.prototype,"%Set%":"undefined"==typeof Set?p:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&A?k(new Set()[Symbol.iterator]()):p,"%SetPrototype%":"undefined"==typeof Set?p:Set.prototype,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?p:SharedArrayBuffer,"%SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?p:SharedArrayBuffer.prototype,"%String%":String,"%StringIteratorPrototype%":A?k(""[Symbol.iterator]()):p,"%StringPrototype%":String.prototype,"%Symbol%":A?Symbol:p,"%SymbolPrototype%":A?Symbol.prototype:p,"%SyntaxError%":SyntaxError,"%SyntaxErrorPrototype%":SyntaxError.prototype,"%ThrowTypeError%":S,"%TypedArray%":P,"%TypedArrayPrototype%":P?P.prototype:p,"%TypeError%":m,"%TypeErrorPrototype%":m.prototype,"%Uint8Array%":"undefined"==typeof Uint8Array?p:Uint8Array,"%Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?p:Uint8Array.prototype,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?p:Uint8ClampedArray,"%Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?p:Uint8ClampedArray.prototype,"%Uint16Array%":"undefined"==typeof Uint16Array?p:Uint16Array,"%Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?p:Uint16Array.prototype,"%Uint32Array%":"undefined"==typeof Uint32Array?p:Uint32Array,"%Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?p:Uint32Array.prototype,"%URIError%":URIError,"%URIErrorPrototype%":URIError.prototype,"%WeakMap%":"undefined"==typeof WeakMap?p:WeakMap,"%WeakMapPrototype%":"undefined"==typeof WeakMap?p:WeakMap.prototype,"%WeakSet%":"undefined"==typeof WeakSet?p:WeakSet,"%WeakSetPrototype%":"undefined"==typeof WeakSet?p:WeakSet.prototype},M=t("function-bind").call(Function.call,String.prototype.replace),C=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,stringToPath=function(t){var r=[];return M(t,C,function(t,i,p,y){r[r.length]=p?M(y,N,"$1"):i||t}),r},getBaseIntrinsic=function(t,r){if(!(t in L))throw SyntaxError("intrinsic "+t+" does not exist!");if(void 0===L[t]&&!r)throw new m("intrinsic "+t+" exists, but is not available. Please file an issue!");return L[t]};r.exports=function(t,r){if("string"!=typeof t||0===t.length)throw TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof r)throw TypeError('"allowMissing" argument must be a boolean');for(var i=stringToPath(t),p=getBaseIntrinsic("%"+(i.length>0?i[0]:"")+"%",r),y=1;y<i.length;y+=1)if(null!=p){if(w&&y+1>=i.length){var b=w(p,i[y]);if(!r&&!(i[y]in p))throw new m("base intrinsic for "+t+" exists, but the property is not available.");p=b?b.get||b.value:p[i[y]]}else p=p[i[y]]}return p}},{"function-bind":41,"has-symbols":42}],35:[function(t,r,i){"use strict";var p=t("function-bind"),y=t("../GetIntrinsic")("%Function%"),b=y.apply,_=y.call;r.exports=function(){return p.apply(_,arguments)},r.exports.apply=function(){return p.apply(b,arguments)}},{"../GetIntrinsic":34,"function-bind":41}],36:[function(t,r,i){"use strict";var p=t("../GetIntrinsic"),y=t("./callBind"),b=y(p("String.prototype.indexOf"));r.exports=function(t,r){var i=p(t,!!r);return"function"==typeof i&&b(t,".prototype.")?y(i):i}},{"../GetIntrinsic":34,"./callBind":35}],37:[function(t,r,i){"use strict";var p=t("../GetIntrinsic")("%Object.getOwnPropertyDescriptor%");if(p)try{p([],"length")}catch(t){p=null}r.exports=p},{"../GetIntrinsic":34}],38:[function(t,r,i){"use strict";var p,y="object"==typeof Reflect?Reflect:null,b=y&&"function"==typeof y.apply?y.apply:function(t,r,i){return Function.prototype.apply.call(t,r,i)};p=y&&"function"==typeof y.ownKeys?y.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var _=Number.isNaN||function(t){return t!=t};function EventEmitter(){EventEmitter.init.call(this)}r.exports=EventEmitter,r.exports.once=function(t,r){return new Promise(function(i,p){var y;function eventListener(){void 0!==y&&t.removeListener("error",y),i([].slice.call(arguments))}"error"!==r&&(y=function(i){t.removeListener(r,eventListener),p(i)},t.once("error",y)),t.once(r,eventListener)})},EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._eventsCount=0,EventEmitter.prototype._maxListeners=void 0;var m=10;function checkListener(t){if("function"!=typeof t)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function _getMaxListeners(t){return void 0===t._maxListeners?EventEmitter.defaultMaxListeners:t._maxListeners}function _addListener(t,r,i,p){if(checkListener(i),void 0===(b=t._events)?(b=t._events=Object.create(null),t._eventsCount=0):(void 0!==b.newListener&&(t.emit("newListener",r,i.listener?i.listener:i),b=t._events),_=b[r]),void 0===_)_=b[r]=i,++t._eventsCount;else if("function"==typeof _?_=b[r]=p?[i,_]:[_,i]:p?_.unshift(i):_.push(i),(y=_getMaxListeners(t))>0&&_.length>y&&!_.warned){_.warned=!0;var y,b,_,m=Error("Possible EventEmitter memory leak detected. "+_.length+" "+String(r)+" listeners added. Use emitter.setMaxListeners() to increase limit");m.name="MaxListenersExceededWarning",m.emitter=t,m.type=r,m.count=_.length,console&&console.warn&&console.warn(m)}return t}function onceWrapper(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(t,r,i){var p={fired:!1,wrapFn:void 0,target:t,type:r,listener:i},y=onceWrapper.bind(p);return y.listener=i,p.wrapFn=y,y}function _listeners(t,r,i){var p=t._events;if(void 0===p)return[];var y=p[r];return void 0===y?[]:"function"==typeof y?i?[y.listener||y]:[y]:i?function(t){for(var r=Array(t.length),i=0;i<r.length;++i)r[i]=t[i].listener||t[i];return r}(y):arrayClone(y,y.length)}function listenerCount(t){var r=this._events;if(void 0!==r){var i=r[t];if("function"==typeof i)return 1;if(void 0!==i)return i.length}return 0}function arrayClone(t,r){for(var i=Array(r),p=0;p<r;++p)i[p]=t[p];return i}Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:!0,get:function(){return m},set:function(t){if("number"!=typeof t||t<0||_(t))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");m=t}}),EventEmitter.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},EventEmitter.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||_(t))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},EventEmitter.prototype.getMaxListeners=function(){return _getMaxListeners(this)},EventEmitter.prototype.emit=function(t){for(var r=[],i=1;i<arguments.length;i++)r.push(arguments[i]);var p="error"===t,y=this._events;if(void 0!==y)p=p&&void 0===y.error;else if(!p)return!1;if(p){if(r.length>0&&(_=r[0]),_ instanceof Error)throw _;var _,m=Error("Unhandled error."+(_?" ("+_.message+")":""));throw m.context=_,m}var w=y[t];if(void 0===w)return!1;if("function"==typeof w)b(w,this,r);else for(var S=w.length,A=arrayClone(w,S),i=0;i<S;++i)b(A[i],this,r);return!0},EventEmitter.prototype.addListener=function(t,r){return _addListener(this,t,r,!1)},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.prependListener=function(t,r){return _addListener(this,t,r,!0)},EventEmitter.prototype.once=function(t,r){return checkListener(r),this.on(t,_onceWrap(this,t,r)),this},EventEmitter.prototype.prependOnceListener=function(t,r){return checkListener(r),this.prependListener(t,_onceWrap(this,t,r)),this},EventEmitter.prototype.removeListener=function(t,r){var i,p,y,b,_;if(checkListener(r),void 0===(p=this._events)||void 0===(i=p[t]))return this;if(i===r||i.listener===r)0==--this._eventsCount?this._events=Object.create(null):(delete p[t],p.removeListener&&this.emit("removeListener",t,i.listener||r));else if("function"!=typeof i){for(y=-1,b=i.length-1;b>=0;b--)if(i[b]===r||i[b].listener===r){_=i[b].listener,y=b;break}if(y<0)return this;0===y?i.shift():function(t,r){for(;r+1<t.length;r++)t[r]=t[r+1];t.pop()}(i,y),1===i.length&&(p[t]=i[0]),void 0!==p.removeListener&&this.emit("removeListener",t,_||r)}return this},EventEmitter.prototype.off=EventEmitter.prototype.removeListener,EventEmitter.prototype.removeAllListeners=function(t){var r,i,p;if(void 0===(i=this._events))return this;if(void 0===i.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==i[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete i[t]),this;if(0==arguments.length){var y,b=Object.keys(i);for(p=0;p<b.length;++p)"removeListener"!==(y=b[p])&&this.removeAllListeners(y);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(r=i[t]))this.removeListener(t,r);else if(void 0!==r)for(p=r.length-1;p>=0;p--)this.removeListener(t,r[p]);return this},EventEmitter.prototype.listeners=function(t){return _listeners(this,t,!0)},EventEmitter.prototype.rawListeners=function(t){return _listeners(this,t,!1)},EventEmitter.listenerCount=function(t,r){return"function"==typeof t.listenerCount?t.listenerCount(r):listenerCount.call(t,r)},EventEmitter.prototype.listenerCount=listenerCount,EventEmitter.prototype.eventNames=function(){return this._eventsCount>0?p(this._events):[]}},{}],39:[function(t,r,i){var p=Object.prototype.hasOwnProperty,y=Object.prototype.toString;r.exports=function(t,r,i){if("[object Function]"!==y.call(r))throw TypeError("iterator must be a function");var b=t.length;if(b===+b)for(var _=0;_<b;_++)r.call(i,t[_],_,t);else for(var m in t)p.call(t,m)&&r.call(i,t[m],m,t)}},{}],40:[function(t,r,i){"use strict";var p=Array.prototype.slice,y=Object.prototype.toString;r.exports=function(t){var r,i=this;if("function"!=typeof i||"[object Function]"!==y.call(i))throw TypeError("Function.prototype.bind called on incompatible "+i);for(var b=p.call(arguments,1),_=Math.max(0,i.length-b.length),m=[],w=0;w<_;w++)m.push("$"+w);if(r=Function("binder","return function ("+m.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(!(this instanceof r))return i.apply(t,b.concat(p.call(arguments)));var y=i.apply(this,b.concat(p.call(arguments)));return Object(y)===y?y:this}),i.prototype){var Empty=function(){};Empty.prototype=i.prototype,r.prototype=new Empty,Empty.prototype=null}return r}},{}],41:[function(t,r,i){"use strict";var p=t("./implementation");r.exports=Function.prototype.bind||p},{"./implementation":40}],42:[function(t,r,p){(function(i){(function(){"use strict";var p=i.Symbol,y=t("./shams");r.exports=function(){return"function"==typeof p&&"function"==typeof Symbol&&"symbol"==typeof p("foo")&&"symbol"==typeof Symbol("bar")&&y()}}).call(this)}).call(this,void 0!==i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./shams":43}],43:[function(t,r,i){"use strict";r.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},r=Symbol("test"),i=Object(r);if("string"==typeof r||"[object Symbol]"!==Object.prototype.toString.call(r)||"[object Symbol]"!==Object.prototype.toString.call(i))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var p=Object.getOwnPropertySymbols(t);if(1!==p.length||p[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var y=Object.getOwnPropertyDescriptor(t,r);if(42!==y.value||!0!==y.enumerable)return!1}return!0}},{}],44:[function(t,r,i){i.read=function(t,r,i,p,y){var b,_,m=8*y-p-1,w=(1<<m)-1,S=w>>1,A=-7,k=i?y-1:0,T=i?-1:1,R=t[r+k];for(k+=T,b=R&(1<<-A)-1,R>>=-A,A+=m;A>0;b=256*b+t[r+k],k+=T,A-=8);for(_=b&(1<<-A)-1,b>>=-A,A+=p;A>0;_=256*_+t[r+k],k+=T,A-=8);if(0===b)b=1-S;else{if(b===w)return _?NaN:(R?-1:1)*(1/0);_+=Math.pow(2,p),b-=S}return(R?-1:1)*_*Math.pow(2,b-p)},i.write=function(t,r,i,p,y,b){var _,m,w,S=8*b-y-1,A=(1<<S)-1,k=A>>1,T=23===y?5960464477539062e-23:0,R=p?0:b-1,O=p?1:-1,x=r<0||0===r&&1/r<0?1:0;for(isNaN(r=Math.abs(r))||r===1/0?(m=isNaN(r)?1:0,_=A):(_=Math.floor(Math.log(r)/Math.LN2),r*(w=Math.pow(2,-_))<1&&(_--,w*=2),_+k>=1?r+=T/w:r+=T*Math.pow(2,1-k),r*w>=2&&(_++,w/=2),_+k>=A?(m=0,_=A):_+k>=1?(m=(r*w-1)*Math.pow(2,y),_+=k):(m=r*Math.pow(2,k-1)*Math.pow(2,y),_=0));y>=8;t[i+R]=255&m,R+=O,m/=256,y-=8);for(_=_<<y|m,S+=y;S>0;t[i+R]=255&_,R+=O,_/=256,S-=8);t[i+R-O]|=128*x}},{}],45:[function(t,r,i){"function"==typeof Object.create?r.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:r.exports=function(t,r){if(r){t.super_=r;var TempCtor=function(){};TempCtor.prototype=r.prototype,t.prototype=new TempCtor,t.prototype.constructor=t}}},{}],46:[function(t,r,i){"use strict";var p="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,y=Object.prototype.toString,isStandardArguments=function(t){return(!p||!t||"object"!=typeof t||!(Symbol.toStringTag in t))&&"[object Arguments]"===y.call(t)},isLegacyArguments=function(t){return!!isStandardArguments(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==y.call(t)&&"[object Function]"===y.call(t.callee)},b=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments,r.exports=b?isStandardArguments:isLegacyArguments},{}],47:[function(t,r,i){"use strict";var p=Object.prototype.toString,y=Function.prototype.toString,b=/^\s*(?:function)?\*/,_="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,m=Object.getPrototypeOf,w=function(){if(!_)return!1;try{return Function("return function*() {}")()}catch(t){}}(),S=w?m(w):{};r.exports=function(t){return"function"==typeof t&&(!!b.test(y.call(t))||(_?m(t)===S:"[object GeneratorFunction]"===p.call(t)))}},{}],48:[function(t,r,p){(function(i){(function(){"use strict";var p=t("foreach"),y=t("available-typed-arrays"),b=t("es-abstract/helpers/callBound"),_=b("Object.prototype.toString"),m=t("has-symbols")()&&"symbol"==typeof Symbol.toStringTag,w=y(),S=b("Array.prototype.indexOf",!0)||function(t,r){for(var i=0;i<t.length;i+=1)if(t[i]===r)return i;return -1},A=b("String.prototype.slice"),k={},T=t("es-abstract/helpers/getOwnPropertyDescriptor"),R=Object.getPrototypeOf;m&&T&&R&&p(w,function(t){var r=new i[t];if(!(Symbol.toStringTag in r))throw EvalError("this engine has support for Symbol.toStringTag, but "+t+" does not have the property! Please report this.");var p=R(r),y=T(p,Symbol.toStringTag);y||(y=T(R(p),Symbol.toStringTag)),k[t]=y.get});var tryTypedArrays=function(t){var r=!1;return p(k,function(i,p){if(!r)try{r=i.call(t)===p}catch(t){}}),r};r.exports=function(t){return!!t&&"object"==typeof t&&(m?!!T&&tryTypedArrays(t):S(w,A(_(t),8,-1))>-1)}}).call(this)}).call(this,void 0!==i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"available-typed-arrays":27,"es-abstract/helpers/callBound":36,"es-abstract/helpers/getOwnPropertyDescriptor":37,foreach:39,"has-symbols":42}],49:[function(t,r,i){"use strict";var p="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;i.assign=function(t){for(var r=Array.prototype.slice.call(arguments,1);r.length;){var i=r.shift();if(i){if("object"!=typeof i)throw TypeError(i+"must be non-object");for(var p in i)Object.prototype.hasOwnProperty.call(i,p)&&(t[p]=i[p])}}return t},i.shrinkBuf=function(t,r){return t.length===r?t:t.subarray?t.subarray(0,r):(t.length=r,t)};var y={arraySet:function(t,r,i,p,y){if(r.subarray&&t.subarray){t.set(r.subarray(i,i+p),y);return}for(var b=0;b<p;b++)t[y+b]=r[i+b]},flattenChunks:function(t){var r,i,p,y,b,_;for(r=0,p=0,i=t.length;r<i;r++)p+=t[r].length;for(r=0,_=new Uint8Array(p),y=0,i=t.length;r<i;r++)b=t[r],_.set(b,y),y+=b.length;return _}},b={arraySet:function(t,r,i,p,y){for(var b=0;b<p;b++)t[y+b]=r[i+b]},flattenChunks:function(t){return[].concat.apply([],t)}};i.setTyped=function(t){t?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,y)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,b))},i.setTyped(p)},{}],50:[function(t,r,i){"use strict";r.exports=function(t,r,i,p){for(var y=65535&t|0,b=t>>>16&65535|0,_=0;0!==i;){_=i>2e3?2e3:i,i-=_;do b=b+(y=y+r[p++]|0)|0;while(--_);y%=65521,b%=65521}return y|b<<16|0}},{}],51:[function(t,r,i){"use strict";r.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],52:[function(t,r,i){"use strict";var p=function(){for(var t,r=[],i=0;i<256;i++){t=i;for(var p=0;p<8;p++)t=1&t?3988292384^t>>>1:t>>>1;r[i]=t}return r}();r.exports=function(t,r,i,y){var b=y+i;t^=-1;for(var _=y;_<b;_++)t=t>>>8^p[(t^r[_])&255];return -1^t}},{}],53:[function(t,r,i){"use strict";var p,y=t("../utils/common"),b=t("./trees"),_=t("./adler32"),m=t("./crc32"),w=t("./messages");function err(t,r){return t.msg=w[r],r}function rank(t){return(t<<1)-(t>4?9:0)}function zero(t){for(var r=t.length;--r>=0;)t[r]=0}function flush_pending(t){var r=t.state,i=r.pending;i>t.avail_out&&(i=t.avail_out),0!==i&&(y.arraySet(t.output,r.pending_buf,r.pending_out,i,t.next_out),t.next_out+=i,r.pending_out+=i,t.total_out+=i,t.avail_out-=i,r.pending-=i,0===r.pending&&(r.pending_out=0))}function flush_block_only(t,r){b._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,r),t.block_start=t.strstart,flush_pending(t.strm)}function put_byte(t,r){t.pending_buf[t.pending++]=r}function putShortMSB(t,r){t.pending_buf[t.pending++]=r>>>8&255,t.pending_buf[t.pending++]=255&r}function longest_match(t,r){var i,p,y=t.max_chain_length,b=t.strstart,_=t.prev_length,m=t.nice_match,w=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,S=t.window,A=t.w_mask,k=t.prev,T=t.strstart+258,R=S[b+_-1],O=S[b+_];t.prev_length>=t.good_match&&(y>>=2),m>t.lookahead&&(m=t.lookahead);do{if(S[(i=r)+_]!==O||S[i+_-1]!==R||S[i]!==S[b]||S[++i]!==S[b+1])continue;b+=2,i++;do;while(S[++b]===S[++i]&&S[++b]===S[++i]&&S[++b]===S[++i]&&S[++b]===S[++i]&&S[++b]===S[++i]&&S[++b]===S[++i]&&S[++b]===S[++i]&&S[++b]===S[++i]&&b<T);if(p=258-(T-b),b=T-258,p>_){if(t.match_start=r,_=p,p>=m)break;R=S[b+_-1],O=S[b+_]}}while((r=k[r&A])>w&&0!=--y);return _<=t.lookahead?_:t.lookahead}function fill_window(t){var r,i,p,b,w,S=t.w_size;do{if(b=t.window_size-t.lookahead-t.strstart,t.strstart>=S+(S-262)){y.arraySet(t.window,t.window,S,S,0),t.match_start-=S,t.strstart-=S,t.block_start-=S,r=i=t.hash_size;do p=t.head[--r],t.head[r]=p>=S?p-S:0;while(--i);r=i=S;do p=t.prev[--r],t.prev[r]=p>=S?p-S:0;while(--i);b+=S}if(0===t.strm.avail_in)break;if(i=function(t,r,i,p){var b=t.avail_in;return(b>p&&(b=p),0===b)?0:(t.avail_in-=b,y.arraySet(r,t.input,t.next_in,b,i),1===t.state.wrap?t.adler=_(t.adler,r,b,i):2===t.state.wrap&&(t.adler=m(t.adler,r,b,i)),t.next_in+=b,t.total_in+=b,b)}(t.strm,t.window,t.strstart+t.lookahead,b),t.lookahead+=i,t.lookahead+t.insert>=3)for(w=t.strstart-t.insert,t.ins_h=t.window[w],t.ins_h=(t.ins_h<<t.hash_shift^t.window[w+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[w+3-1])&t.hash_mask,t.prev[w&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=w,w++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)}function deflate_fast(t,r){for(var i,p;;){if(t.lookahead<262){if(fill_window(t),t.lookahead<262&&0===r)return 1;if(0===t.lookahead)break}if(i=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==i&&t.strstart-i<=t.w_size-262&&(t.match_length=longest_match(t,i)),t.match_length>=3){if(p=b._tr_tally(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart;while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask}else p=b._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(p&&(flush_block_only(t,!1),0===t.strm.avail_out))return 1}return(t.insert=t.strstart<2?t.strstart:2,4===r)?(flush_block_only(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(flush_block_only(t,!1),0===t.strm.avail_out)?1:2}function deflate_slow(t,r){for(var i,p,y;;){if(t.lookahead<262){if(fill_window(t),t.lookahead<262&&0===r)return 1;if(0===t.lookahead)break}if(i=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==i&&t.prev_length<t.max_lazy_match&&t.strstart-i<=t.w_size-262&&(t.match_length=longest_match(t,i),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){y=t.strstart+t.lookahead-3,p=b._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do++t.strstart<=y&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart);while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,p&&(flush_block_only(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((p=b._tr_tally(t,0,t.window[t.strstart-1]))&&flush_block_only(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return(t.match_available&&(p=b._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===r)?(flush_block_only(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(flush_block_only(t,!1),0===t.strm.avail_out)?1:2}function Config(t,r,i,p,y){this.good_length=t,this.max_lazy=r,this.nice_length=i,this.max_chain=p,this.func=y}function DeflateState(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new y.Buf16(1146),this.dyn_dtree=new y.Buf16(122),this.bl_tree=new y.Buf16(78),zero(this.dyn_ltree),zero(this.dyn_dtree),zero(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new y.Buf16(16),this.heap=new y.Buf16(573),zero(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new y.Buf16(573),zero(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function deflateResetKeep(t){var r;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(r=t.state).pending=0,r.pending_out=0,r.wrap<0&&(r.wrap=-r.wrap),r.status=r.wrap?42:113,t.adler=2===r.wrap?0:1,r.last_flush=0,b._tr_init(r),0):err(t,-2)}function deflateReset(t){var r,i=deflateResetKeep(t);return 0===i&&((r=t.state).window_size=2*r.w_size,zero(r.head),r.max_lazy_match=p[r.level].max_lazy,r.good_match=p[r.level].good_length,r.nice_match=p[r.level].nice_length,r.max_chain_length=p[r.level].max_chain,r.strstart=0,r.block_start=0,r.lookahead=0,r.insert=0,r.match_length=r.prev_length=2,r.match_available=0,r.ins_h=0),i}function deflateInit2(t,r,i,p,b,_){if(!t)return -2;var m=1;if(-1===r&&(r=6),p<0?(m=0,p=-p):p>15&&(m=2,p-=16),b<1||b>9||8!==i||p<8||p>15||r<0||r>9||_<0||_>4)return err(t,-2);8===p&&(p=9);var w=new DeflateState;return t.state=w,w.strm=t,w.wrap=m,w.gzhead=null,w.w_bits=p,w.w_size=1<<w.w_bits,w.w_mask=w.w_size-1,w.hash_bits=b+7,w.hash_size=1<<w.hash_bits,w.hash_mask=w.hash_size-1,w.hash_shift=~~((w.hash_bits+3-1)/3),w.window=new y.Buf8(2*w.w_size),w.head=new y.Buf16(w.hash_size),w.prev=new y.Buf16(w.w_size),w.lit_bufsize=1<<b+6,w.pending_buf_size=4*w.lit_bufsize,w.pending_buf=new y.Buf8(w.pending_buf_size),w.d_buf=1*w.lit_bufsize,w.l_buf=3*w.lit_bufsize,w.level=r,w.strategy=_,w.method=i,deflateReset(t)}p=[new Config(0,0,0,0,function(t,r){var i=65535;for(65535>t.pending_buf_size-5&&(i=t.pending_buf_size-5);;){if(t.lookahead<=1){if(fill_window(t),0===t.lookahead&&0===r)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var p=t.block_start+i;if((0===t.strstart||t.strstart>=p)&&(t.lookahead=t.strstart-p,t.strstart=p,flush_block_only(t,!1),0===t.strm.avail_out)||t.strstart-t.block_start>=t.w_size-262&&(flush_block_only(t,!1),0===t.strm.avail_out))return 1}return(t.insert=0,4===r)?(flush_block_only(t,!0),0===t.strm.avail_out)?3:4:(t.strstart>t.block_start&&(flush_block_only(t,!1),t.strm.avail_out),1)}),new Config(4,4,8,4,deflate_fast),new Config(4,5,16,8,deflate_fast),new Config(4,6,32,32,deflate_fast),new Config(4,4,16,16,deflate_slow),new Config(8,16,32,32,deflate_slow),new Config(8,16,128,128,deflate_slow),new Config(8,32,128,256,deflate_slow),new Config(32,128,258,1024,deflate_slow),new Config(32,258,258,4096,deflate_slow)],i.deflateInit=function(t,r){return deflateInit2(t,r,8,15,8,0)},i.deflateInit2=deflateInit2,i.deflateReset=deflateReset,i.deflateResetKeep=deflateResetKeep,i.deflateSetHeader=function(t,r){return t&&t.state&&2===t.state.wrap?(t.state.gzhead=r,0):-2},i.deflate=function(t,r){if(!t||!t.state||r>5||r<0)return t?err(t,-2):-2;if(y=t.state,!t.output||!t.input&&0!==t.avail_in||666===y.status&&4!==r)return err(t,0===t.avail_out?-5:-2);if(y.strm=t,i=y.last_flush,y.last_flush=r,42===y.status){if(2===y.wrap)t.adler=0,put_byte(y,31),put_byte(y,139),put_byte(y,8),y.gzhead?(put_byte(y,(y.gzhead.text?1:0)+(y.gzhead.hcrc?2:0)+(y.gzhead.extra?4:0)+(y.gzhead.name?8:0)+(y.gzhead.comment?16:0)),put_byte(y,255&y.gzhead.time),put_byte(y,y.gzhead.time>>8&255),put_byte(y,y.gzhead.time>>16&255),put_byte(y,y.gzhead.time>>24&255),put_byte(y,9===y.level?2:y.strategy>=2||y.level<2?4:0),put_byte(y,255&y.gzhead.os),y.gzhead.extra&&y.gzhead.extra.length&&(put_byte(y,255&y.gzhead.extra.length),put_byte(y,y.gzhead.extra.length>>8&255)),y.gzhead.hcrc&&(t.adler=m(t.adler,y.pending_buf,y.pending,0)),y.gzindex=0,y.status=69):(put_byte(y,0),put_byte(y,0),put_byte(y,0),put_byte(y,0),put_byte(y,0),put_byte(y,9===y.level?2:y.strategy>=2||y.level<2?4:0),put_byte(y,3),y.status=113);else{var i,y,_,w,S=8+(y.w_bits-8<<4)<<8;S|=(y.strategy>=2||y.level<2?0:y.level<6?1:6===y.level?2:3)<<6,0!==y.strstart&&(S|=32),S+=31-S%31,y.status=113,putShortMSB(y,S),0!==y.strstart&&(putShortMSB(y,t.adler>>>16),putShortMSB(y,65535&t.adler)),t.adler=1}}if(69===y.status){if(y.gzhead.extra){for(_=y.pending;y.gzindex<(65535&y.gzhead.extra.length)&&(y.pending!==y.pending_buf_size||(y.gzhead.hcrc&&y.pending>_&&(t.adler=m(t.adler,y.pending_buf,y.pending-_,_)),flush_pending(t),_=y.pending,y.pending!==y.pending_buf_size));)put_byte(y,255&y.gzhead.extra[y.gzindex]),y.gzindex++;y.gzhead.hcrc&&y.pending>_&&(t.adler=m(t.adler,y.pending_buf,y.pending-_,_)),y.gzindex===y.gzhead.extra.length&&(y.gzindex=0,y.status=73)}else y.status=73}if(73===y.status){if(y.gzhead.name){_=y.pending;do{if(y.pending===y.pending_buf_size&&(y.gzhead.hcrc&&y.pending>_&&(t.adler=m(t.adler,y.pending_buf,y.pending-_,_)),flush_pending(t),_=y.pending,y.pending===y.pending_buf_size)){w=1;break}w=y.gzindex<y.gzhead.name.length?255&y.gzhead.name.charCodeAt(y.gzindex++):0,put_byte(y,w)}while(0!==w);y.gzhead.hcrc&&y.pending>_&&(t.adler=m(t.adler,y.pending_buf,y.pending-_,_)),0===w&&(y.gzindex=0,y.status=91)}else y.status=91}if(91===y.status){if(y.gzhead.comment){_=y.pending;do{if(y.pending===y.pending_buf_size&&(y.gzhead.hcrc&&y.pending>_&&(t.adler=m(t.adler,y.pending_buf,y.pending-_,_)),flush_pending(t),_=y.pending,y.pending===y.pending_buf_size)){w=1;break}w=y.gzindex<y.gzhead.comment.length?255&y.gzhead.comment.charCodeAt(y.gzindex++):0,put_byte(y,w)}while(0!==w);y.gzhead.hcrc&&y.pending>_&&(t.adler=m(t.adler,y.pending_buf,y.pending-_,_)),0===w&&(y.status=103)}else y.status=103}if(103===y.status&&(y.gzhead.hcrc?(y.pending+2>y.pending_buf_size&&flush_pending(t),y.pending+2<=y.pending_buf_size&&(put_byte(y,255&t.adler),put_byte(y,t.adler>>8&255),t.adler=0,y.status=113)):y.status=113),0!==y.pending){if(flush_pending(t),0===t.avail_out)return y.last_flush=-1,0}else if(0===t.avail_in&&rank(r)<=rank(i)&&4!==r)return err(t,-5);if(666===y.status&&0!==t.avail_in)return err(t,-5);if(0!==t.avail_in||0!==y.lookahead||0!==r&&666!==y.status){var A=2===y.strategy?function(t,r){for(var i;;){if(0===t.lookahead&&(fill_window(t),0===t.lookahead)){if(0===r)return 1;break}if(t.match_length=0,i=b._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,i&&(flush_block_only(t,!1),0===t.strm.avail_out))return 1}return(t.insert=0,4===r)?(flush_block_only(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(flush_block_only(t,!1),0===t.strm.avail_out)?1:2}(y,r):3===y.strategy?function(t,r){for(var i,p,y,_,m=t.window;;){if(t.lookahead<=258){if(fill_window(t),t.lookahead<=258&&0===r)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(p=m[y=t.strstart-1])===m[++y]&&p===m[++y]&&p===m[++y]){_=t.strstart+258;do;while(p===m[++y]&&p===m[++y]&&p===m[++y]&&p===m[++y]&&p===m[++y]&&p===m[++y]&&p===m[++y]&&p===m[++y]&&y<_);t.match_length=258-(_-y),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(i=b._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(i=b._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),i&&(flush_block_only(t,!1),0===t.strm.avail_out))return 1}return(t.insert=0,4===r)?(flush_block_only(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(flush_block_only(t,!1),0===t.strm.avail_out)?1:2}(y,r):p[y.level].func(y,r);if((3===A||4===A)&&(y.status=666),1===A||3===A)return 0===t.avail_out&&(y.last_flush=-1),0;if(2===A&&(1===r?b._tr_align(y):5!==r&&(b._tr_stored_block(y,0,0,!1),3===r&&(zero(y.head),0===y.lookahead&&(y.strstart=0,y.block_start=0,y.insert=0))),flush_pending(t),0===t.avail_out))return y.last_flush=-1,0}return 4!==r?0:y.wrap<=0?1:(2===y.wrap?(put_byte(y,255&t.adler),put_byte(y,t.adler>>8&255),put_byte(y,t.adler>>16&255),put_byte(y,t.adler>>24&255),put_byte(y,255&t.total_in),put_byte(y,t.total_in>>8&255),put_byte(y,t.total_in>>16&255),put_byte(y,t.total_in>>24&255)):(putShortMSB(y,t.adler>>>16),putShortMSB(y,65535&t.adler)),flush_pending(t),y.wrap>0&&(y.wrap=-y.wrap),0!==y.pending?0:1)},i.deflateEnd=function(t){var r;return t&&t.state?42!==(r=t.state.status)&&69!==r&&73!==r&&91!==r&&103!==r&&113!==r&&666!==r?err(t,-2):(t.state=null,113===r?err(t,-3):0):-2},i.deflateSetDictionary=function(t,r){var i,p,b,m,w,S,A,k,T=r.length;if(!t||!t.state||2===(m=(i=t.state).wrap)||1===m&&42!==i.status||i.lookahead)return -2;for(1===m&&(t.adler=_(t.adler,r,T,0)),i.wrap=0,T>=i.w_size&&(0===m&&(zero(i.head),i.strstart=0,i.block_start=0,i.insert=0),k=new y.Buf8(i.w_size),y.arraySet(k,r,T-i.w_size,i.w_size,0),r=k,T=i.w_size),w=t.avail_in,S=t.next_in,A=t.input,t.avail_in=T,t.next_in=0,t.input=r,fill_window(i);i.lookahead>=3;){p=i.strstart,b=i.lookahead-2;do i.ins_h=(i.ins_h<<i.hash_shift^i.window[p+3-1])&i.hash_mask,i.prev[p&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=p,p++;while(--b);i.strstart=p,i.lookahead=2,fill_window(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,t.next_in=S,t.input=A,t.avail_in=w,i.wrap=m,0},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":49,"./adler32":50,"./crc32":52,"./messages":57,"./trees":58}],54:[function(t,r,i){"use strict";r.exports=function(t,r){var i,p,y,b,_,m,w,S,A,k,T,R,O,x,P,L,M,C,N,D,U,F,z,W,Z;i=t.state,p=t.next_in,W=t.input,y=p+(t.avail_in-5),b=t.next_out,Z=t.output,_=b-(r-t.avail_out),m=b+(t.avail_out-257),w=i.dmax,S=i.wsize,A=i.whave,k=i.wnext,T=i.window,R=i.hold,O=i.bits,x=i.lencode,P=i.distcode,L=(1<<i.lenbits)-1,M=(1<<i.distbits)-1;e:do for(O<15&&(R+=W[p++]<<O,O+=8,R+=W[p++]<<O,O+=8),C=x[R&L];;){if(R>>>=N=C>>>24,O-=N,0==(N=C>>>16&255))Z[b++]=65535&C;else if(16&N)for(D=65535&C,(N&=15)&&(O<N&&(R+=W[p++]<<O,O+=8),D+=R&(1<<N)-1,R>>>=N,O-=N),O<15&&(R+=W[p++]<<O,O+=8,R+=W[p++]<<O,O+=8),C=P[R&M];;){if(R>>>=N=C>>>24,O-=N,16&(N=C>>>16&255)){if(U=65535&C,O<(N&=15)&&(R+=W[p++]<<O,(O+=8)<N&&(R+=W[p++]<<O,O+=8)),(U+=R&(1<<N)-1)>w){t.msg="invalid distance too far back",i.mode=30;break e}if(R>>>=N,O-=N,U>(N=b-_)){if((N=U-N)>A&&i.sane){t.msg="invalid distance too far back",i.mode=30;break e}if(F=0,z=T,0===k){if(F+=S-N,N<D){D-=N;do Z[b++]=T[F++];while(--N);F=b-U,z=Z}}else if(k<N){if(F+=S+k-N,(N-=k)<D){D-=N;do Z[b++]=T[F++];while(--N);if(F=0,k<D){D-=N=k;do Z[b++]=T[F++];while(--N);F=b-U,z=Z}}}else if(F+=k-N,N<D){D-=N;do Z[b++]=T[F++];while(--N);F=b-U,z=Z}for(;D>2;)Z[b++]=z[F++],Z[b++]=z[F++],Z[b++]=z[F++],D-=3;D&&(Z[b++]=z[F++],D>1&&(Z[b++]=z[F++]))}else{F=b-U;do Z[b++]=Z[F++],Z[b++]=Z[F++],Z[b++]=Z[F++],D-=3;while(D>2);D&&(Z[b++]=Z[F++],D>1&&(Z[b++]=Z[F++]))}}else if((64&N)==0){C=P[(65535&C)+(R&(1<<N)-1)];continue}else{t.msg="invalid distance code",i.mode=30;break e}break}else if((64&N)==0){C=x[(65535&C)+(R&(1<<N)-1)];continue}else if(32&N){i.mode=12;break e}else{t.msg="invalid literal/length code",i.mode=30;break e}break}while(p<y&&b<m);p-=D=O>>3,O-=D<<3,R&=(1<<O)-1,t.next_in=p,t.next_out=b,t.avail_in=p<y?5+(y-p):5-(p-y),t.avail_out=b<m?257+(m-b):257-(b-m),i.hold=R,i.bits=O}},{}],55:[function(t,r,i){"use strict";var p,y,b=t("../utils/common"),_=t("./adler32"),m=t("./crc32"),w=t("./inffast"),S=t("./inftrees");function zswap32(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function InflateState(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new b.Buf16(320),this.work=new b.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function inflateResetKeep(t){var r;return t&&t.state?(r=t.state,t.total_in=t.total_out=r.total=0,t.msg="",r.wrap&&(t.adler=1&r.wrap),r.mode=1,r.last=0,r.havedict=0,r.dmax=32768,r.head=null,r.hold=0,r.bits=0,r.lencode=r.lendyn=new b.Buf32(852),r.distcode=r.distdyn=new b.Buf32(592),r.sane=1,r.back=-1,0):-2}function inflateReset(t){var r;return t&&t.state?((r=t.state).wsize=0,r.whave=0,r.wnext=0,inflateResetKeep(t)):-2}function inflateReset2(t,r){var i,p;return t&&t.state?(p=t.state,r<0?(i=0,r=-r):(i=(r>>4)+1,r<48&&(r&=15)),r&&(r<8||r>15))?-2:(null!==p.window&&p.wbits!==r&&(p.window=null),p.wrap=i,p.wbits=r,inflateReset(t)):-2}function inflateInit2(t,r){var i,p;return t?(p=new InflateState,t.state=p,p.window=null,0!==(i=inflateReset2(t,r))&&(t.state=null),i):-2}var A=!0;function updatewindow(t,r,i,p){var y,_=t.state;return null===_.window&&(_.wsize=1<<_.wbits,_.wnext=0,_.whave=0,_.window=new b.Buf8(_.wsize)),p>=_.wsize?(b.arraySet(_.window,r,i-_.wsize,_.wsize,0),_.wnext=0,_.whave=_.wsize):((y=_.wsize-_.wnext)>p&&(y=p),b.arraySet(_.window,r,i-p,y,_.wnext),(p-=y)?(b.arraySet(_.window,r,i-p,p,0),_.wnext=p,_.whave=_.wsize):(_.wnext+=y,_.wnext===_.wsize&&(_.wnext=0),_.whave<_.wsize&&(_.whave+=y))),0}i.inflateReset=inflateReset,i.inflateReset2=inflateReset2,i.inflateResetKeep=inflateResetKeep,i.inflateInit=function(t){return inflateInit2(t,15)},i.inflateInit2=inflateInit2,i.inflate=function(t,r){var i,k,T,R,O,x,P,L,M,C,N,D,U,F,z,W,Z,G,q,H,V,Y,K,$,J=0,X=new b.Buf8(4),Q=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return -2;12===(i=t.state).mode&&(i.mode=13),O=t.next_out,T=t.output,P=t.avail_out,R=t.next_in,k=t.input,x=t.avail_in,L=i.hold,M=i.bits,C=x,N=P,Y=0;t:for(;;)switch(i.mode){case 1:if(0===i.wrap){i.mode=13;break}for(;M<16;){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}if(2&i.wrap&&35615===L){i.check=0,X[0]=255&L,X[1]=L>>>8&255,i.check=m(i.check,X,2,0),L=0,M=0,i.mode=2;break}if(i.flags=0,i.head&&(i.head.done=!1),!(1&i.wrap)||(((255&L)<<8)+(L>>8))%31){t.msg="incorrect header check",i.mode=30;break}if((15&L)!=8){t.msg="unknown compression method",i.mode=30;break}if(L>>>=4,M-=4,V=(15&L)+8,0===i.wbits)i.wbits=V;else if(V>i.wbits){t.msg="invalid window size",i.mode=30;break}i.dmax=1<<V,t.adler=i.check=1,i.mode=512&L?10:12,L=0,M=0;break;case 2:for(;M<16;){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}if(i.flags=L,(255&i.flags)!=8){t.msg="unknown compression method",i.mode=30;break}if(57344&i.flags){t.msg="unknown header flags set",i.mode=30;break}i.head&&(i.head.text=L>>8&1),512&i.flags&&(X[0]=255&L,X[1]=L>>>8&255,i.check=m(i.check,X,2,0)),L=0,M=0,i.mode=3;case 3:for(;M<32;){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}i.head&&(i.head.time=L),512&i.flags&&(X[0]=255&L,X[1]=L>>>8&255,X[2]=L>>>16&255,X[3]=L>>>24&255,i.check=m(i.check,X,4,0)),L=0,M=0,i.mode=4;case 4:for(;M<16;){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}i.head&&(i.head.xflags=255&L,i.head.os=L>>8),512&i.flags&&(X[0]=255&L,X[1]=L>>>8&255,i.check=m(i.check,X,2,0)),L=0,M=0,i.mode=5;case 5:if(1024&i.flags){for(;M<16;){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}i.length=L,i.head&&(i.head.extra_len=L),512&i.flags&&(X[0]=255&L,X[1]=L>>>8&255,i.check=m(i.check,X,2,0)),L=0,M=0}else i.head&&(i.head.extra=null);i.mode=6;case 6:if(1024&i.flags&&((D=i.length)>x&&(D=x),D&&(i.head&&(V=i.head.extra_len-i.length,i.head.extra||(i.head.extra=Array(i.head.extra_len)),b.arraySet(i.head.extra,k,R,D,V)),512&i.flags&&(i.check=m(i.check,k,D,R)),x-=D,R+=D,i.length-=D),i.length))break t;i.length=0,i.mode=7;case 7:if(2048&i.flags){if(0===x)break t;D=0;do V=k[R+D++],i.head&&V&&i.length<65536&&(i.head.name+=String.fromCharCode(V));while(V&&D<x);if(512&i.flags&&(i.check=m(i.check,k,D,R)),x-=D,R+=D,V)break t}else i.head&&(i.head.name=null);i.length=0,i.mode=8;case 8:if(4096&i.flags){if(0===x)break t;D=0;do V=k[R+D++],i.head&&V&&i.length<65536&&(i.head.comment+=String.fromCharCode(V));while(V&&D<x);if(512&i.flags&&(i.check=m(i.check,k,D,R)),x-=D,R+=D,V)break t}else i.head&&(i.head.comment=null);i.mode=9;case 9:if(512&i.flags){for(;M<16;){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}if(L!==(65535&i.check)){t.msg="header crc mismatch",i.mode=30;break}L=0,M=0}i.head&&(i.head.hcrc=i.flags>>9&1,i.head.done=!0),t.adler=i.check=0,i.mode=12;break;case 10:for(;M<32;){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}t.adler=i.check=zswap32(L),L=0,M=0,i.mode=11;case 11:if(0===i.havedict)return t.next_out=O,t.avail_out=P,t.next_in=R,t.avail_in=x,i.hold=L,i.bits=M,2;t.adler=i.check=1,i.mode=12;case 12:if(5===r||6===r)break t;case 13:if(i.last){L>>>=7&M,M-=7&M,i.mode=27;break}for(;M<3;){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}switch(i.last=1&L,M-=1,3&(L>>>=1)){case 0:i.mode=14;break;case 1:if(function(t){if(A){var r;for(p=new b.Buf32(512),y=new b.Buf32(32),r=0;r<144;)t.lens[r++]=8;for(;r<256;)t.lens[r++]=9;for(;r<280;)t.lens[r++]=7;for(;r<288;)t.lens[r++]=8;for(S(1,t.lens,0,288,p,0,t.work,{bits:9}),r=0;r<32;)t.lens[r++]=5;S(2,t.lens,0,32,y,0,t.work,{bits:5}),A=!1}t.lencode=p,t.lenbits=9,t.distcode=y,t.distbits=5}(i),i.mode=20,6===r){L>>>=2,M-=2;break t}break;case 2:i.mode=17;break;case 3:t.msg="invalid block type",i.mode=30}L>>>=2,M-=2;break;case 14:for(L>>>=7&M,M-=7&M;M<32;){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}if((65535&L)!=(L>>>16^65535)){t.msg="invalid stored block lengths",i.mode=30;break}if(i.length=65535&L,L=0,M=0,i.mode=15,6===r)break t;case 15:i.mode=16;case 16:if(D=i.length){if(D>x&&(D=x),D>P&&(D=P),0===D)break t;b.arraySet(T,k,R,D,O),x-=D,R+=D,P-=D,O+=D,i.length-=D;break}i.mode=12;break;case 17:for(;M<14;){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}if(i.nlen=(31&L)+257,L>>>=5,M-=5,i.ndist=(31&L)+1,L>>>=5,M-=5,i.ncode=(15&L)+4,L>>>=4,M-=4,i.nlen>286||i.ndist>30){t.msg="too many length or distance symbols",i.mode=30;break}i.have=0,i.mode=18;case 18:for(;i.have<i.ncode;){for(;M<3;){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}i.lens[Q[i.have++]]=7&L,L>>>=3,M-=3}for(;i.have<19;)i.lens[Q[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,K={bits:i.lenbits},Y=S(0,i.lens,0,19,i.lencode,0,i.work,K),i.lenbits=K.bits,Y){t.msg="invalid code lengths set",i.mode=30;break}i.have=0,i.mode=19;case 19:for(;i.have<i.nlen+i.ndist;){for(;z=(J=i.lencode[L&(1<<i.lenbits)-1])>>>24,W=J>>>16&255,Z=65535&J,!(z<=M);){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}if(Z<16)L>>>=z,M-=z,i.lens[i.have++]=Z;else{if(16===Z){for($=z+2;M<$;){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}if(L>>>=z,M-=z,0===i.have){t.msg="invalid bit length repeat",i.mode=30;break}V=i.lens[i.have-1],D=3+(3&L),L>>>=2,M-=2}else if(17===Z){for($=z+3;M<$;){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}L>>>=z,M-=z,V=0,D=3+(7&L),L>>>=3,M-=3}else{for($=z+7;M<$;){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}L>>>=z,M-=z,V=0,D=11+(127&L),L>>>=7,M-=7}if(i.have+D>i.nlen+i.ndist){t.msg="invalid bit length repeat",i.mode=30;break}for(;D--;)i.lens[i.have++]=V}}if(30===i.mode)break;if(0===i.lens[256]){t.msg="invalid code -- missing end-of-block",i.mode=30;break}if(i.lenbits=9,K={bits:i.lenbits},Y=S(1,i.lens,0,i.nlen,i.lencode,0,i.work,K),i.lenbits=K.bits,Y){t.msg="invalid literal/lengths set",i.mode=30;break}if(i.distbits=6,i.distcode=i.distdyn,K={bits:i.distbits},Y=S(2,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,K),i.distbits=K.bits,Y){t.msg="invalid distances set",i.mode=30;break}if(i.mode=20,6===r)break t;case 20:i.mode=21;case 21:if(x>=6&&P>=258){t.next_out=O,t.avail_out=P,t.next_in=R,t.avail_in=x,i.hold=L,i.bits=M,w(t,N),O=t.next_out,T=t.output,P=t.avail_out,R=t.next_in,k=t.input,x=t.avail_in,L=i.hold,M=i.bits,12===i.mode&&(i.back=-1);break}for(i.back=0;z=(J=i.lencode[L&(1<<i.lenbits)-1])>>>24,W=J>>>16&255,Z=65535&J,!(z<=M);){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}if(W&&(240&W)==0){for(G=z,q=W,H=Z;z=(J=i.lencode[H+((L&(1<<G+q)-1)>>G)])>>>24,W=J>>>16&255,Z=65535&J,!(G+z<=M);){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}L>>>=G,M-=G,i.back+=G}if(L>>>=z,M-=z,i.back+=z,i.length=Z,0===W){i.mode=26;break}if(32&W){i.back=-1,i.mode=12;break}if(64&W){t.msg="invalid literal/length code",i.mode=30;break}i.extra=15&W,i.mode=22;case 22:if(i.extra){for($=i.extra;M<$;){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}i.length+=L&(1<<i.extra)-1,L>>>=i.extra,M-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=23;case 23:for(;z=(J=i.distcode[L&(1<<i.distbits)-1])>>>24,W=J>>>16&255,Z=65535&J,!(z<=M);){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}if((240&W)==0){for(G=z,q=W,H=Z;z=(J=i.distcode[H+((L&(1<<G+q)-1)>>G)])>>>24,W=J>>>16&255,Z=65535&J,!(G+z<=M);){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}L>>>=G,M-=G,i.back+=G}if(L>>>=z,M-=z,i.back+=z,64&W){t.msg="invalid distance code",i.mode=30;break}i.offset=Z,i.extra=15&W,i.mode=24;case 24:if(i.extra){for($=i.extra;M<$;){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}i.offset+=L&(1<<i.extra)-1,L>>>=i.extra,M-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){t.msg="invalid distance too far back",i.mode=30;break}i.mode=25;case 25:if(0===P)break t;if(D=N-P,i.offset>D){if((D=i.offset-D)>i.whave&&i.sane){t.msg="invalid distance too far back",i.mode=30;break}D>i.wnext?(D-=i.wnext,U=i.wsize-D):U=i.wnext-D,D>i.length&&(D=i.length),F=i.window}else F=T,U=O-i.offset,D=i.length;D>P&&(D=P),P-=D,i.length-=D;do T[O++]=F[U++];while(--D);0===i.length&&(i.mode=21);break;case 26:if(0===P)break t;T[O++]=i.length,P--,i.mode=21;break;case 27:if(i.wrap){for(;M<32;){if(0===x)break t;x--,L|=k[R++]<<M,M+=8}if(N-=P,t.total_out+=N,i.total+=N,N&&(t.adler=i.check=i.flags?m(i.check,T,N,O-N):_(i.check,T,N,O-N)),N=P,(i.flags?L:zswap32(L))!==i.check){t.msg="incorrect data check",i.mode=30;break}L=0,M=0}i.mode=28;case 28:if(i.wrap&&i.flags){for(;M<32;){if(0===x)break t;x--,L+=k[R++]<<M,M+=8}if(L!==(4294967295&i.total)){t.msg="incorrect length check",i.mode=30;break}L=0,M=0}i.mode=29;case 29:Y=1;break t;case 30:Y=-3;break t;case 31:return -4;default:return -2}return(t.next_out=O,t.avail_out=P,t.next_in=R,t.avail_in=x,i.hold=L,i.bits=M,(i.wsize||N!==t.avail_out&&i.mode<30&&(i.mode<27||4!==r))&&updatewindow(t,t.output,t.next_out,N-t.avail_out))?(i.mode=31,-4):(C-=t.avail_in,N-=t.avail_out,t.total_in+=C,t.total_out+=N,i.total+=N,i.wrap&&N&&(t.adler=i.check=i.flags?m(i.check,T,N,t.next_out-N):_(i.check,T,N,t.next_out-N)),t.data_type=i.bits+(i.last?64:0)+(12===i.mode?128:0)+(20===i.mode||15===i.mode?256:0),(0===C&&0===N||4===r)&&0===Y&&(Y=-5),Y)},i.inflateEnd=function(t){if(!t||!t.state)return -2;var r=t.state;return r.window&&(r.window=null),t.state=null,0},i.inflateGetHeader=function(t,r){var i;return t&&t.state&&(2&(i=t.state).wrap)!=0?(i.head=r,r.done=!1,0):-2},i.inflateSetDictionary=function(t,r){var i,p=r.length;return t&&t.state&&(0===(i=t.state).wrap||11===i.mode)?11===i.mode&&_(1,r,p,0)!==i.check?-3:updatewindow(t,r,p,p)?(i.mode=31,-4):(i.havedict=1,0):-2},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":49,"./adler32":50,"./crc32":52,"./inffast":54,"./inftrees":56}],56:[function(t,r,i){"use strict";var p=t("../utils/common"),y=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],b=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],_=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],m=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];r.exports=function(t,r,i,w,S,A,k,T){var R,O,x,P,L,M,C,N,D,U=T.bits,F=0,z=0,W=0,Z=0,G=0,q=0,H=0,V=0,Y=0,K=0,$=null,J=0,X=new p.Buf16(16),Q=new p.Buf16(16),ee=null,et=0;for(F=0;F<=15;F++)X[F]=0;for(z=0;z<w;z++)X[r[i+z]]++;for(Z=15,G=U;Z>=1&&0===X[Z];Z--);if(G>Z&&(G=Z),0===Z)return S[A++]=20971520,S[A++]=20971520,T.bits=1,0;for(W=1;W<Z&&0===X[W];W++);for(G<W&&(G=W),V=1,F=1;F<=15;F++)if(V<<=1,(V-=X[F])<0)return -1;if(V>0&&(0===t||1!==Z))return -1;for(F=1,Q[1]=0;F<15;F++)Q[F+1]=Q[F]+X[F];for(z=0;z<w;z++)0!==r[i+z]&&(k[Q[r[i+z]]++]=z);if(0===t?($=ee=k,M=19):1===t?($=y,J-=257,ee=b,et-=257,M=256):($=_,ee=m,M=-1),K=0,z=0,F=W,L=A,q=G,H=0,x=-1,P=(Y=1<<G)-1,1===t&&Y>852||2===t&&Y>592)return 1;for(;;){C=F-H,k[z]<M?(N=0,D=k[z]):k[z]>M?(N=ee[et+k[z]],D=$[J+k[z]]):(N=96,D=0),R=1<<F-H,W=O=1<<q;do S[L+(K>>H)+(O-=R)]=C<<24|N<<16|D|0;while(0!==O);for(R=1<<F-1;K&R;)R>>=1;if(0!==R?(K&=R-1,K+=R):K=0,z++,0==--X[F]){if(F===Z)break;F=r[i+k[z]]}if(F>G&&(K&P)!==x){for(0===H&&(H=G),L+=W,V=1<<(q=F-H);q+H<Z&&!((V-=X[q+H])<=0);)q++,V<<=1;if(Y+=1<<q,1===t&&Y>852||2===t&&Y>592)return 1;S[x=K&P]=G<<24|q<<16|L-A|0}}return 0!==K&&(S[L+K]=F-H<<24|4194304),T.bits=G,0}},{"../utils/common":49}],57:[function(t,r,i){"use strict";r.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],58:[function(t,r,i){"use strict";var p,y,b,_=t("../utils/common");function zero(t){for(var r=t.length;--r>=0;)t[r]=0}var m=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],w=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],S=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],A=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],k=Array(576);zero(k);var T=Array(60);zero(T);var R=Array(512);zero(R);var O=Array(256);zero(O);var x=Array(29);zero(x);var P=Array(30);function StaticTreeDesc(t,r,i,p,y){this.static_tree=t,this.extra_bits=r,this.extra_base=i,this.elems=p,this.max_length=y,this.has_stree=t&&t.length}function TreeDesc(t,r){this.dyn_tree=t,this.max_code=0,this.stat_desc=r}function d_code(t){return t<256?R[t]:R[256+(t>>>7)]}function put_short(t,r){t.pending_buf[t.pending++]=255&r,t.pending_buf[t.pending++]=r>>>8&255}function send_bits(t,r,i){t.bi_valid>16-i?(t.bi_buf|=r<<t.bi_valid&65535,put_short(t,t.bi_buf),t.bi_buf=r>>16-t.bi_valid,t.bi_valid+=i-16):(t.bi_buf|=r<<t.bi_valid&65535,t.bi_valid+=i)}function send_code(t,r,i){send_bits(t,i[2*r],i[2*r+1])}function bi_reverse(t,r){var i=0;do i|=1&t,t>>>=1,i<<=1;while(--r>0);return i>>>1}function gen_codes(t,r,i){var p,y,b=Array(16),_=0;for(p=1;p<=15;p++)b[p]=_=_+i[p-1]<<1;for(y=0;y<=r;y++){var m=t[2*y+1];0!==m&&(t[2*y]=bi_reverse(b[m]++,m))}}function init_block(t){var r;for(r=0;r<286;r++)t.dyn_ltree[2*r]=0;for(r=0;r<30;r++)t.dyn_dtree[2*r]=0;for(r=0;r<19;r++)t.bl_tree[2*r]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function bi_windup(t){t.bi_valid>8?put_short(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function smaller(t,r,i,p){var y=2*r,b=2*i;return t[y]<t[b]||t[y]===t[b]&&p[r]<=p[i]}function pqdownheap(t,r,i){for(var p=t.heap[i],y=i<<1;y<=t.heap_len&&(y<t.heap_len&&smaller(r,t.heap[y+1],t.heap[y],t.depth)&&y++,!smaller(r,p,t.heap[y],t.depth));)t.heap[i]=t.heap[y],i=y,y<<=1;t.heap[i]=p}function compress_block(t,r,i){var p,y,b,_,S=0;if(0!==t.last_lit)do p=t.pending_buf[t.d_buf+2*S]<<8|t.pending_buf[t.d_buf+2*S+1],y=t.pending_buf[t.l_buf+S],S++,0===p?send_code(t,y,r):(send_code(t,(b=O[y])+256+1,r),0!==(_=m[b])&&send_bits(t,y-=x[b],_),send_code(t,b=d_code(--p),i),0!==(_=w[b])&&send_bits(t,p-=P[b],_));while(S<t.last_lit);send_code(t,256,r)}function build_tree(t,r){var i,p,y,b=r.dyn_tree,_=r.stat_desc.static_tree,m=r.stat_desc.has_stree,w=r.stat_desc.elems,S=-1;for(i=0,t.heap_len=0,t.heap_max=573;i<w;i++)0!==b[2*i]?(t.heap[++t.heap_len]=S=i,t.depth[i]=0):b[2*i+1]=0;for(;t.heap_len<2;)b[2*(y=t.heap[++t.heap_len]=S<2?++S:0)]=1,t.depth[y]=0,t.opt_len--,m&&(t.static_len-=_[2*y+1]);for(r.max_code=S,i=t.heap_len>>1;i>=1;i--)pqdownheap(t,b,i);y=w;do i=t.heap[1],t.heap[1]=t.heap[t.heap_len--],pqdownheap(t,b,1),p=t.heap[1],t.heap[--t.heap_max]=i,t.heap[--t.heap_max]=p,b[2*y]=b[2*i]+b[2*p],t.depth[y]=(t.depth[i]>=t.depth[p]?t.depth[i]:t.depth[p])+1,b[2*i+1]=b[2*p+1]=y,t.heap[1]=y++,pqdownheap(t,b,1);while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,r){var i,p,y,b,_,m,w=r.dyn_tree,S=r.max_code,A=r.stat_desc.static_tree,k=r.stat_desc.has_stree,T=r.stat_desc.extra_bits,R=r.stat_desc.extra_base,O=r.stat_desc.max_length,x=0;for(b=0;b<=15;b++)t.bl_count[b]=0;for(w[2*t.heap[t.heap_max]+1]=0,i=t.heap_max+1;i<573;i++)(b=w[2*w[2*(p=t.heap[i])+1]+1]+1)>O&&(b=O,x++),w[2*p+1]=b,!(p>S)&&(t.bl_count[b]++,_=0,p>=R&&(_=T[p-R]),m=w[2*p],t.opt_len+=m*(b+_),k&&(t.static_len+=m*(A[2*p+1]+_)));if(0!==x){do{for(b=O-1;0===t.bl_count[b];)b--;t.bl_count[b]--,t.bl_count[b+1]+=2,t.bl_count[O]--,x-=2}while(x>0);for(b=O;0!==b;b--)for(p=t.bl_count[b];0!==p;)!((y=t.heap[--i])>S)&&(w[2*y+1]!==b&&(t.opt_len+=(b-w[2*y+1])*w[2*y],w[2*y+1]=b),p--)}}(t,r),gen_codes(b,S,t.bl_count)}function scan_tree(t,r,i){var p,y,b=-1,_=r[1],m=0,w=7,S=4;for(0===_&&(w=138,S=3),r[(i+1)*2+1]=65535,p=0;p<=i;p++)y=_,_=r[(p+1)*2+1],++m<w&&y===_||(m<S?t.bl_tree[2*y]+=m:0!==y?(y!==b&&t.bl_tree[2*y]++,t.bl_tree[32]++):m<=10?t.bl_tree[34]++:t.bl_tree[36]++,m=0,b=y,0===_?(w=138,S=3):y===_?(w=6,S=3):(w=7,S=4))}function send_tree(t,r,i){var p,y,b=-1,_=r[1],m=0,w=7,S=4;for(0===_&&(w=138,S=3),p=0;p<=i;p++)if(y=_,_=r[(p+1)*2+1],!(++m<w)||y!==_){if(m<S)do send_code(t,y,t.bl_tree);while(0!=--m);else 0!==y?(y!==b&&(send_code(t,y,t.bl_tree),m--),send_code(t,16,t.bl_tree),send_bits(t,m-3,2)):m<=10?(send_code(t,17,t.bl_tree),send_bits(t,m-3,3)):(send_code(t,18,t.bl_tree),send_bits(t,m-11,7));m=0,b=y,0===_?(w=138,S=3):y===_?(w=6,S=3):(w=7,S=4)}}zero(P);var L=!1;function _tr_stored_block(t,r,i,p){send_bits(t,0+(p?1:0),3),bi_windup(t),put_short(t,i),put_short(t,~i),_.arraySet(t.pending_buf,t.window,r,i,t.pending),t.pending+=i}i._tr_init=function(t){L||(function(){var t,r,i,_,A,L=Array(16);for(_=0,i=0;_<28;_++)for(t=0,x[_]=i;t<1<<m[_];t++)O[i++]=_;for(O[i-1]=_,A=0,_=0;_<16;_++)for(t=0,P[_]=A;t<1<<w[_];t++)R[A++]=_;for(A>>=7;_<30;_++)for(t=0,P[_]=A<<7;t<1<<w[_]-7;t++)R[256+A++]=_;for(r=0;r<=15;r++)L[r]=0;for(t=0;t<=143;)k[2*t+1]=8,t++,L[8]++;for(;t<=255;)k[2*t+1]=9,t++,L[9]++;for(;t<=279;)k[2*t+1]=7,t++,L[7]++;for(;t<=287;)k[2*t+1]=8,t++,L[8]++;for(gen_codes(k,287,L),t=0;t<30;t++)T[2*t+1]=5,T[2*t]=bi_reverse(t,5);p=new StaticTreeDesc(k,m,257,286,15),y=new StaticTreeDesc(T,w,0,30,15),b=new StaticTreeDesc([],S,0,19,7)}(),L=!0),t.l_desc=new TreeDesc(t.dyn_ltree,p),t.d_desc=new TreeDesc(t.dyn_dtree,y),t.bl_desc=new TreeDesc(t.bl_tree,b),t.bi_buf=0,t.bi_valid=0,init_block(t)},i._tr_stored_block=_tr_stored_block,i._tr_flush_block=function(t,r,i,p){var y,b,_=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var r,i=4093624447;for(r=0;r<=31;r++,i>>>=1)if(1&i&&0!==t.dyn_ltree[2*r])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(r=32;r<256;r++)if(0!==t.dyn_ltree[2*r])return 1;return 0}(t)),build_tree(t,t.l_desc),build_tree(t,t.d_desc),_=function(t){var r;for(scan_tree(t,t.dyn_ltree,t.l_desc.max_code),scan_tree(t,t.dyn_dtree,t.d_desc.max_code),build_tree(t,t.bl_desc),r=18;r>=3&&0===t.bl_tree[2*A[r]+1];r--);return t.opt_len+=3*(r+1)+5+5+4,r}(t),y=t.opt_len+3+7>>>3,(b=t.static_len+3+7>>>3)<=y&&(y=b)):y=b=i+5,i+4<=y&&-1!==r?_tr_stored_block(t,r,i,p):4===t.strategy||b===y?(send_bits(t,2+(p?1:0),3),compress_block(t,k,T)):(send_bits(t,4+(p?1:0),3),function(t,r,i,p){var y;for(send_bits(t,r-257,5),send_bits(t,i-1,5),send_bits(t,p-4,4),y=0;y<p;y++)send_bits(t,t.bl_tree[2*A[y]+1],3);send_tree(t,t.dyn_ltree,r-1),send_tree(t,t.dyn_dtree,i-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),compress_block(t,t.dyn_ltree,t.dyn_dtree)),init_block(t),p&&bi_windup(t)},i._tr_tally=function(t,r,i){return t.pending_buf[t.d_buf+2*t.last_lit]=r>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&r,t.pending_buf[t.l_buf+t.last_lit]=255&i,t.last_lit++,0===r?t.dyn_ltree[2*i]++:(t.matches++,r--,t.dyn_ltree[(O[i]+256+1)*2]++,t.dyn_dtree[2*d_code(r)]++),t.last_lit===t.lit_bufsize-1},i._tr_align=function(t){send_bits(t,2,3),send_code(t,256,k),16===t.bi_valid?(put_short(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{"../utils/common":49}],59:[function(t,r,i){"use strict";r.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],60:[function(t,r,i){var p,y,b,_=r.exports={};function defaultSetTimout(){throw Error("setTimeout has not been defined")}function defaultClearTimeout(){throw Error("clearTimeout has not been defined")}function runTimeout(t){if(p===setTimeout)return setTimeout(t,0);if((p===defaultSetTimout||!p)&&setTimeout)return p=setTimeout,setTimeout(t,0);try{return p(t,0)}catch(r){try{return p.call(null,t,0)}catch(r){return p.call(this,t,0)}}}!function(){try{p="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(t){p=defaultSetTimout}try{y="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(t){y=defaultClearTimeout}}();var m=[],w=!1,S=-1;function cleanUpNextTick(){w&&b&&(w=!1,b.length?m=b.concat(m):S=-1,m.length&&drainQueue())}function drainQueue(){if(!w){var t=runTimeout(cleanUpNextTick);w=!0;for(var r=m.length;r;){for(b=m,m=[];++S<r;)b&&b[S].run();S=-1,r=m.length}b=null,w=!1,function(t){if(y===clearTimeout)return clearTimeout(t);if((y===defaultClearTimeout||!y)&&clearTimeout)return y=clearTimeout,clearTimeout(t);try{y(t)}catch(r){try{return y.call(null,t)}catch(r){return y.call(this,t)}}}(t)}}function Item(t,r){this.fun=t,this.array=r}function noop(){}_.nextTick=function(t){var r=Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)r[i-1]=arguments[i];m.push(new Item(t,r)),1!==m.length||w||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},_.title="browser",_.browser=!0,_.env={},_.argv=[],_.version="",_.versions={},_.on=noop,_.addListener=noop,_.once=noop,_.off=noop,_.removeListener=noop,_.removeAllListeners=noop,_.emit=noop,_.prependListener=noop,_.prependOnceListener=noop,_.listeners=function(t){return[]},_.binding=function(t){throw Error("process.binding is not supported")},_.cwd=function(){return"/"},_.chdir=function(t){throw Error("process.chdir is not supported")},_.umask=function(){return 0}},{}],61:[function(t,r,i){r.exports=Stream;var p=t("events").EventEmitter;function Stream(){p.call(this)}t("inherits")(Stream,p),Stream.Readable=t("readable-stream/lib/_stream_readable.js"),Stream.Writable=t("readable-stream/lib/_stream_writable.js"),Stream.Duplex=t("readable-stream/lib/_stream_duplex.js"),Stream.Transform=t("readable-stream/lib/_stream_transform.js"),Stream.PassThrough=t("readable-stream/lib/_stream_passthrough.js"),Stream.finished=t("readable-stream/lib/internal/streams/end-of-stream.js"),Stream.pipeline=t("readable-stream/lib/internal/streams/pipeline.js"),Stream.Stream=Stream,Stream.prototype.pipe=function(t,r){var i=this;function ondata(r){t.writable&&!1===t.write(r)&&i.pause&&i.pause()}function ondrain(){i.readable&&i.resume&&i.resume()}i.on("data",ondata),t.on("drain",ondrain),t._isStdio||r&&!1===r.end||(i.on("end",onend),i.on("close",onclose));var y=!1;function onend(){y||(y=!0,t.end())}function onclose(){y||(y=!0,"function"==typeof t.destroy&&t.destroy())}function onerror(t){if(cleanup(),0===p.listenerCount(this,"error"))throw t}function cleanup(){i.removeListener("data",ondata),t.removeListener("drain",ondrain),i.removeListener("end",onend),i.removeListener("close",onclose),i.removeListener("error",onerror),t.removeListener("error",onerror),i.removeListener("end",cleanup),i.removeListener("close",cleanup),t.removeListener("close",cleanup)}return i.on("error",onerror),t.on("error",onerror),i.on("end",cleanup),i.on("close",cleanup),t.on("close",cleanup),t.emit("pipe",i),t}},{events:38,inherits:45,"readable-stream/lib/_stream_duplex.js":63,"readable-stream/lib/_stream_passthrough.js":64,"readable-stream/lib/_stream_readable.js":65,"readable-stream/lib/_stream_transform.js":66,"readable-stream/lib/_stream_writable.js":67,"readable-stream/lib/internal/streams/end-of-stream.js":71,"readable-stream/lib/internal/streams/pipeline.js":73}],62:[function(t,r,i){"use strict";var p={};function createErrorType(t,r,i){i||(i=Error);var y=function(t){function NodeError(i,p,y){return t.call(this,"string"==typeof r?r:r(i,p,y))||this}return NodeError.prototype=Object.create(t.prototype),NodeError.prototype.constructor=NodeError,NodeError.__proto__=t,NodeError}(i);y.prototype.name=i.name,y.prototype.code=t,p[t]=y}function oneOf(t,r){if(!Array.isArray(t))return"of ".concat(r," ").concat(String(t));var i=t.length;return(t=t.map(function(t){return String(t)}),i>2)?"one of ".concat(r," ").concat(t.slice(0,i-1).join(", "),", or ")+t[i-1]:2===i?"one of ".concat(r," ").concat(t[0]," or ").concat(t[1]):"of ".concat(r," ").concat(t[0])}createErrorType("ERR_INVALID_OPT_VALUE",function(t,r){return'The value "'+r+'" is invalid for option "'+t+'"'},TypeError),createErrorType("ERR_INVALID_ARG_TYPE",function(t,r,i){if("string"==typeof r&&(p="not ",r.substr(!y||y<0?0:+y,p.length)===p)?(w="must not be",r=r.replace(/^not /,"")):w="must be",b=" argument",(void 0===_||_>t.length)&&(_=t.length),t.substring(_-b.length,_)===b)S="The ".concat(t," ").concat(w," ").concat(oneOf(r,"type"));else{var p,y,b,_,m,w,S,A=("number"!=typeof m&&(m=0),m+1>t.length||-1===t.indexOf(".",m))?"argument":"property";S='The "'.concat(t,'" ').concat(A," ").concat(w," ").concat(oneOf(r,"type"))}return S+". Received type ".concat(typeof i)},TypeError),createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"}),createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close"),createErrorType("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end"),createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),createErrorType("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),r.exports.codes=p},{}],63:[function(t,r,i){(function(i){(function(){"use strict";var p=Object.keys||function(t){var r=[];for(var i in t)r.push(i);return r};r.exports=Duplex;var y=t("./_stream_readable"),b=t("./_stream_writable");t("inherits")(Duplex,y);for(var _=p(b.prototype),m=0;m<_.length;m++){var w=_[m];Duplex.prototype[w]||(Duplex.prototype[w]=b.prototype[w])}function Duplex(t){if(!(this instanceof Duplex))return new Duplex(t);y.call(this,t),b.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",onend)))}function onend(){this._writableState.ended||i.nextTick(onEndNT,this)}function onEndNT(t){t.end()}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(Duplex.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Duplex.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(Duplex.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})}).call(this)}).call(this,t("_process"))},{"./_stream_readable":65,"./_stream_writable":67,_process:60,inherits:45}],64:[function(t,r,i){"use strict";r.exports=PassThrough;var p=t("./_stream_transform");function PassThrough(t){if(!(this instanceof PassThrough))return new PassThrough(t);p.call(this,t)}t("inherits")(PassThrough,p),PassThrough.prototype._transform=function(t,r,i){i(null,t)}},{"./_stream_transform":66,inherits:45}],65:[function(t,r,p){(function(i,p){(function(){"use strict";r.exports=Readable,Readable.ReadableState=ReadableState,t("events").EventEmitter;var y,b,_,m,w,EElistenerCount=function(t,r){return t.listeners(r).length},S=t("./internal/streams/stream"),A=t("buffer").Buffer,k=p.Uint8Array||function(){},T=t("util");b=T&&T.debuglog?T.debuglog("stream"):function(){};var R=t("./internal/streams/buffer_list"),O=t("./internal/streams/destroy"),x=t("./internal/streams/state").getHighWaterMark,P=t("../errors").codes,L=P.ERR_INVALID_ARG_TYPE,M=P.ERR_STREAM_PUSH_AFTER_EOF,C=P.ERR_METHOD_NOT_IMPLEMENTED,N=P.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;t("inherits")(Readable,S);var D=O.errorOrDestroy,U=["error","close","destroy","pause","resume"];function ReadableState(r,i,p){y=y||t("./_stream_duplex"),r=r||{},"boolean"!=typeof p&&(p=i instanceof y),this.objectMode=!!r.objectMode,p&&(this.objectMode=this.objectMode||!!r.readableObjectMode),this.highWaterMark=x(this,r,"readableHighWaterMark",p),this.buffer=new R,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==r.emitClose,this.autoDestroy=!!r.autoDestroy,this.destroyed=!1,this.defaultEncoding=r.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,r.encoding&&(_||(_=t("string_decoder/").StringDecoder),this.decoder=new _(r.encoding),this.encoding=r.encoding)}function Readable(r){if(y=y||t("./_stream_duplex"),!(this instanceof Readable))return new Readable(r);var i=this instanceof y;this._readableState=new ReadableState(r,this,i),this.readable=!0,r&&("function"==typeof r.read&&(this._read=r.read),"function"==typeof r.destroy&&(this._destroy=r.destroy)),S.call(this)}function readableAddChunk(t,r,i,p,y){b("readableAddChunk",r);var _,m,w,S,T,R=t._readableState;if(null===r)R.reading=!1,function(t,r){if(b("onEofChunk"),!r.ended){if(r.decoder){var i=r.decoder.end();i&&i.length&&(r.buffer.push(i),r.length+=r.objectMode?1:i.length)}r.ended=!0,r.sync?emitReadable(t):(r.needReadable=!1,r.emittedReadable||(r.emittedReadable=!0,emitReadable_(t)))}}(t,R);else{if(y||(_=R,m=r,A.isBuffer(m)||m instanceof k||"string"==typeof m||void 0===m||_.objectMode||(w=new L("chunk",["string","Buffer","Uint8Array"],m)),T=w),T)D(t,T);else if(R.objectMode||r&&r.length>0){if("string"==typeof r||R.objectMode||Object.getPrototypeOf(r)===A.prototype||(S=r,r=A.from(S)),p)R.endEmitted?D(t,new N):addChunk(t,R,r,!0);else if(R.ended)D(t,new M);else{if(R.destroyed)return!1;R.reading=!1,R.decoder&&!i?(r=R.decoder.write(r),R.objectMode||0!==r.length?addChunk(t,R,r,!1):maybeReadMore(t,R)):addChunk(t,R,r,!1)}}else p||(R.reading=!1,maybeReadMore(t,R))}return!R.ended&&(R.length<R.highWaterMark||0===R.length)}function addChunk(t,r,i,p){r.flowing&&0===r.length&&!r.sync?(r.awaitDrain=0,t.emit("data",i)):(r.length+=r.objectMode?1:i.length,p?r.buffer.unshift(i):r.buffer.push(i),r.needReadable&&emitReadable(t)),maybeReadMore(t,r)}function howMuchToRead(t,r){if(t<=0||0===r.length&&r.ended)return 0;if(r.objectMode)return 1;if(t!=t)return r.flowing&&r.length?r.buffer.head.data.length:r.length;if(t>r.highWaterMark){var i;r.highWaterMark=((i=t)>=1073741824?i=1073741824:(i--,i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i++),i)}return t<=r.length?t:r.ended?r.length:(r.needReadable=!0,0)}function emitReadable(t){var r=t._readableState;b("emitReadable",r.needReadable,r.emittedReadable),r.needReadable=!1,r.emittedReadable||(b("emitReadable",r.flowing),r.emittedReadable=!0,i.nextTick(emitReadable_,t))}function emitReadable_(t){var r=t._readableState;b("emitReadable_",r.destroyed,r.length,r.ended),!r.destroyed&&(r.length||r.ended)&&(t.emit("readable"),r.emittedReadable=!1),r.needReadable=!r.flowing&&!r.ended&&r.length<=r.highWaterMark,flow(t)}function maybeReadMore(t,r){r.readingMore||(r.readingMore=!0,i.nextTick(maybeReadMore_,t,r))}function maybeReadMore_(t,r){for(;!r.reading&&!r.ended&&(r.length<r.highWaterMark||r.flowing&&0===r.length);){var i=r.length;if(b("maybeReadMore read 0"),t.read(0),i===r.length)break}r.readingMore=!1}function updateReadableListening(t){var r=t._readableState;r.readableListening=t.listenerCount("readable")>0,r.resumeScheduled&&!r.paused?r.flowing=!0:t.listenerCount("data")>0&&t.resume()}function nReadingNextTick(t){b("readable nexttick read 0"),t.read(0)}function resume_(t,r){b("resume",r.reading),r.reading||t.read(0),r.resumeScheduled=!1,t.emit("resume"),flow(t),r.flowing&&!r.reading&&t.read(0)}function flow(t){var r=t._readableState;for(b("flow",r.flowing);r.flowing&&null!==t.read(););}function fromList(t,r){var i;return 0===r.length?null:(r.objectMode?i=r.buffer.shift():!t||t>=r.length?(i=r.decoder?r.buffer.join(""):1===r.buffer.length?r.buffer.first():r.buffer.concat(r.length),r.buffer.clear()):i=r.buffer.consume(t,r.decoder),i)}function endReadable(t){var r=t._readableState;b("endReadable",r.endEmitted),r.endEmitted||(r.ended=!0,i.nextTick(endReadableNT,r,t))}function endReadableNT(t,r){if(b("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,r.readable=!1,r.emit("end"),t.autoDestroy)){var i=r._writableState;(!i||i.autoDestroy&&i.finished)&&r.destroy()}}function indexOf(t,r){for(var i=0,p=t.length;i<p;i++)if(t[i]===r)return i;return -1}Object.defineProperty(Readable.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),Readable.prototype.destroy=O.destroy,Readable.prototype._undestroy=O.undestroy,Readable.prototype._destroy=function(t,r){r(t)},Readable.prototype.push=function(t,r){var i,p=this._readableState;return p.objectMode?i=!0:"string"==typeof t&&((r=r||p.defaultEncoding)!==p.encoding&&(t=A.from(t,r),r=""),i=!0),readableAddChunk(this,t,r,!1,i)},Readable.prototype.unshift=function(t){return readableAddChunk(this,t,null,!0,!1)},Readable.prototype.isPaused=function(){return!1===this._readableState.flowing},Readable.prototype.setEncoding=function(r){_||(_=t("string_decoder/").StringDecoder);var i=new _(r);this._readableState.decoder=i,this._readableState.encoding=this._readableState.decoder.encoding;for(var p=this._readableState.buffer.head,y="";null!==p;)y+=i.write(p.data),p=p.next;return this._readableState.buffer.clear(),""!==y&&this._readableState.buffer.push(y),this._readableState.length=y.length,this},Readable.prototype.read=function(t){b("read",t),t=parseInt(t,10);var r,i=this._readableState,p=t;if(0!==t&&(i.emittedReadable=!1),0===t&&i.needReadable&&((0!==i.highWaterMark?i.length>=i.highWaterMark:i.length>0)||i.ended))return b("read: emitReadable",i.length,i.ended),0===i.length&&i.ended?endReadable(this):emitReadable(this),null;if(0===(t=howMuchToRead(t,i))&&i.ended)return 0===i.length&&endReadable(this),null;var y=i.needReadable;return b("need readable",y),(0===i.length||i.length-t<i.highWaterMark)&&b("length less than watermark",y=!0),i.ended||i.reading?b("reading or ended",y=!1):y&&(b("do read"),i.reading=!0,i.sync=!0,0===i.length&&(i.needReadable=!0),this._read(i.highWaterMark),i.sync=!1,i.reading||(t=howMuchToRead(p,i))),null===(r=t>0?fromList(t,i):null)?(i.needReadable=i.length<=i.highWaterMark,t=0):(i.length-=t,i.awaitDrain=0),0===i.length&&(i.ended||(i.needReadable=!0),p!==t&&i.ended&&endReadable(this)),null!==r&&this.emit("data",r),r},Readable.prototype._read=function(t){D(this,new C("_read()"))},Readable.prototype.pipe=function(t,r){var p=this,y=this._readableState;switch(y.pipesCount){case 0:y.pipes=t;break;case 1:y.pipes=[y.pipes,t];break;default:y.pipes.push(t)}y.pipesCount+=1,b("pipe count=%d opts=%j",y.pipesCount,r);var _=r&&!1===r.end||t===i.stdout||t===i.stderr?unpipe:onend;function onend(){b("onend"),t.end()}y.endEmitted?i.nextTick(_):p.once("end",_),t.on("unpipe",function onunpipe(r,i){b("onunpipe"),r===p&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,b("cleanup"),t.removeListener("close",onclose),t.removeListener("finish",onfinish),t.removeListener("drain",ondrain),t.removeListener("error",onerror),t.removeListener("unpipe",onunpipe),p.removeListener("end",onend),p.removeListener("end",unpipe),p.removeListener("data",ondata),m=!0,y.awaitDrain&&(!t._writableState||t._writableState.needDrain)&&ondrain())});var ondrain=function(){var t=p._readableState;b("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&EElistenerCount(p,"data")&&(t.flowing=!0,flow(p))};t.on("drain",ondrain);var m=!1;function ondata(r){b("ondata");var i=t.write(r);b("dest.write",i),!1===i&&((1===y.pipesCount&&y.pipes===t||y.pipesCount>1&&-1!==indexOf(y.pipes,t))&&!m&&(b("false write response, pause",y.awaitDrain),y.awaitDrain++),p.pause())}function onerror(r){b("onerror",r),unpipe(),t.removeListener("error",onerror),0===EElistenerCount(t,"error")&&D(t,r)}function onclose(){t.removeListener("finish",onfinish),unpipe()}function onfinish(){b("onfinish"),t.removeListener("close",onclose),unpipe()}function unpipe(){b("unpipe"),p.unpipe(t)}return p.on("data",ondata),function(t,r,i){if("function"==typeof t.prependListener)return t.prependListener(r,i);t._events&&t._events[r]?Array.isArray(t._events[r])?t._events[r].unshift(i):t._events[r]=[i,t._events[r]]:t.on(r,i)}(t,"error",onerror),t.once("close",onclose),t.once("finish",onfinish),t.emit("pipe",p),y.flowing||(b("pipe resume"),p.resume()),t},Readable.prototype.unpipe=function(t){var r=this._readableState,i={hasUnpiped:!1};if(0===r.pipesCount)return this;if(1===r.pipesCount)return t&&t!==r.pipes||(t||(t=r.pipes),r.pipes=null,r.pipesCount=0,r.flowing=!1,t&&t.emit("unpipe",this,i)),this;if(!t){var p=r.pipes,y=r.pipesCount;r.pipes=null,r.pipesCount=0,r.flowing=!1;for(var b=0;b<y;b++)p[b].emit("unpipe",this,{hasUnpiped:!1});return this}var _=indexOf(r.pipes,t);return -1===_||(r.pipes.splice(_,1),r.pipesCount-=1,1===r.pipesCount&&(r.pipes=r.pipes[0]),t.emit("unpipe",this,i)),this},Readable.prototype.on=function(t,r){var p=S.prototype.on.call(this,t,r),y=this._readableState;return"data"===t?(y.readableListening=this.listenerCount("readable")>0,!1!==y.flowing&&this.resume()):"readable"!==t||y.endEmitted||y.readableListening||(y.readableListening=y.needReadable=!0,y.flowing=!1,y.emittedReadable=!1,b("on readable",y.length,y.reading),y.length?emitReadable(this):y.reading||i.nextTick(nReadingNextTick,this)),p},Readable.prototype.addListener=Readable.prototype.on,Readable.prototype.removeListener=function(t,r){var p=S.prototype.removeListener.call(this,t,r);return"readable"===t&&i.nextTick(updateReadableListening,this),p},Readable.prototype.removeAllListeners=function(t){var r=S.prototype.removeAllListeners.apply(this,arguments);return("readable"===t||void 0===t)&&i.nextTick(updateReadableListening,this),r},Readable.prototype.resume=function(){var t=this._readableState;return t.flowing||(b("resume"),t.flowing=!t.readableListening,t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(resume_,this,t))),t.paused=!1,this},Readable.prototype.pause=function(){return b("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(b("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},Readable.prototype.wrap=function(t){var r=this,i=this._readableState,p=!1;for(var y in t.on("end",function(){if(b("wrapped end"),i.decoder&&!i.ended){var t=i.decoder.end();t&&t.length&&r.push(t)}r.push(null)}),t.on("data",function(y){b("wrapped data"),i.decoder&&(y=i.decoder.write(y)),(!i.objectMode||null!=y)&&(i.objectMode||y&&y.length)&&(r.push(y)||(p=!0,t.pause()))}),t)void 0===this[y]&&"function"==typeof t[y]&&(this[y]=function(r){return function(){return t[r].apply(t,arguments)}}(y));for(var _=0;_<U.length;_++)t.on(U[_],this.emit.bind(this,U[_]));return this._read=function(r){b("wrapped _read",r),p&&(p=!1,t.resume())},this},"function"==typeof Symbol&&(Readable.prototype[Symbol.asyncIterator]=function(){return void 0===m&&(m=t("./internal/streams/async_iterator")),m(this)}),Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Readable.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Readable.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),Readable._fromList=fromList,Object.defineProperty(Readable.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(Readable.from=function(r,i){return void 0===w&&(w=t("./internal/streams/from")),w(Readable,r,i)})}).call(this)}).call(this,t("_process"),void 0!==i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":62,"./_stream_duplex":63,"./internal/streams/async_iterator":68,"./internal/streams/buffer_list":69,"./internal/streams/destroy":70,"./internal/streams/from":72,"./internal/streams/state":74,"./internal/streams/stream":75,_process:60,buffer:33,events:38,inherits:45,"string_decoder/":76,util:30}],66:[function(t,r,i){"use strict";r.exports=Transform;var p=t("../errors").codes,y=p.ERR_METHOD_NOT_IMPLEMENTED,b=p.ERR_MULTIPLE_CALLBACK,_=p.ERR_TRANSFORM_ALREADY_TRANSFORMING,m=p.ERR_TRANSFORM_WITH_LENGTH_0,w=t("./_stream_duplex");function afterTransform(t,r){var i=this._transformState;i.transforming=!1;var p=i.writecb;if(null===p)return this.emit("error",new b);i.writechunk=null,i.writecb=null,null!=r&&this.push(r),p(t);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}function Transform(t){if(!(this instanceof Transform))return new Transform(t);w.call(this,t),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",prefinish)}function prefinish(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?done(this,null,null):this._flush(function(r,i){done(t,r,i)})}function done(t,r,i){if(r)return t.emit("error",r);if(null!=i&&t.push(i),t._writableState.length)throw new m;if(t._transformState.transforming)throw new _;return t.push(null)}t("inherits")(Transform,w),Transform.prototype.push=function(t,r){return this._transformState.needTransform=!1,w.prototype.push.call(this,t,r)},Transform.prototype._transform=function(t,r,i){i(new y("_transform()"))},Transform.prototype._write=function(t,r,i){var p=this._transformState;if(p.writecb=i,p.writechunk=t,p.writeencoding=r,!p.transforming){var y=this._readableState;(p.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},Transform.prototype._read=function(t){var r=this._transformState;null===r.writechunk||r.transforming?r.needTransform=!0:(r.transforming=!0,this._transform(r.writechunk,r.writeencoding,r.afterTransform))},Transform.prototype._destroy=function(t,r){w.prototype._destroy.call(this,t,function(t){r(t)})}},{"../errors":62,"./_stream_duplex":63,inherits:45}],67:[function(t,r,p){(function(i,p){(function(){"use strict";function CorkedRequest(t){var r=this;this.next=null,this.entry=null,this.finish=function(){(function(t,r,i){var p=t.entry;for(t.entry=null;p;){var y=p.callback;r.pendingcb--,y(void 0),p=p.next}r.corkedRequestsFree.next=t})(r,t)}}r.exports=Writable,Writable.WritableState=WritableState;var y,b,_={deprecate:t("util-deprecate")},m=t("./internal/streams/stream"),w=t("buffer").Buffer,S=p.Uint8Array||function(){},A=t("./internal/streams/destroy"),k=t("./internal/streams/state").getHighWaterMark,T=t("../errors").codes,R=T.ERR_INVALID_ARG_TYPE,O=T.ERR_METHOD_NOT_IMPLEMENTED,x=T.ERR_MULTIPLE_CALLBACK,P=T.ERR_STREAM_CANNOT_PIPE,L=T.ERR_STREAM_DESTROYED,M=T.ERR_STREAM_NULL_VALUES,C=T.ERR_STREAM_WRITE_AFTER_END,N=T.ERR_UNKNOWN_ENCODING,D=A.errorOrDestroy;function nop(){}function WritableState(r,p,b){y=y||t("./_stream_duplex"),r=r||{},"boolean"!=typeof b&&(b=p instanceof y),this.objectMode=!!r.objectMode,b&&(this.objectMode=this.objectMode||!!r.writableObjectMode),this.highWaterMark=k(this,r,"writableHighWaterMark",b),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var _=!1===r.decodeStrings;this.decodeStrings=!_,this.defaultEncoding=r.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){(function(t,r){var p=t._writableState,y=p.sync,b=p.writecb;if("function"!=typeof b)throw new x;if(p.writing=!1,p.writecb=null,p.length-=p.writelen,p.writelen=0,r)--p.pendingcb,y?(i.nextTick(b,r),i.nextTick(finishMaybe,t,p),t._writableState.errorEmitted=!0,D(t,r)):(b(r),t._writableState.errorEmitted=!0,D(t,r),finishMaybe(t,p));else{var _=needFinish(p)||t.destroyed;_||p.corked||p.bufferProcessing||!p.bufferedRequest||clearBuffer(t,p),y?i.nextTick(afterWrite,t,p,_,b):afterWrite(t,p,_,b)}})(p,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==r.emitClose,this.autoDestroy=!!r.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this)}function Writable(r){var i=this instanceof(y=y||t("./_stream_duplex"));if(!i&&!b.call(Writable,this))return new Writable(r);this._writableState=new WritableState(r,this,i),this.writable=!0,r&&("function"==typeof r.write&&(this._write=r.write),"function"==typeof r.writev&&(this._writev=r.writev),"function"==typeof r.destroy&&(this._destroy=r.destroy),"function"==typeof r.final&&(this._final=r.final)),m.call(this)}function doWrite(t,r,i,p,y,b,_){r.writelen=p,r.writecb=_,r.writing=!0,r.sync=!0,r.destroyed?r.onwrite(new L("write")):i?t._writev(y,r.onwrite):t._write(y,b,r.onwrite),r.sync=!1}function afterWrite(t,r,i,p){i||0===r.length&&r.needDrain&&(r.needDrain=!1,t.emit("drain")),r.pendingcb--,p(),finishMaybe(t,r)}function clearBuffer(t,r){r.bufferProcessing=!0;var i=r.bufferedRequest;if(t._writev&&i&&i.next){var p=Array(r.bufferedRequestCount),y=r.corkedRequestsFree;y.entry=i;for(var b=0,_=!0;i;)p[b]=i,i.isBuf||(_=!1),i=i.next,b+=1;p.allBuffers=_,doWrite(t,r,!0,r.length,p,"",y.finish),r.pendingcb++,r.lastBufferedRequest=null,y.next?(r.corkedRequestsFree=y.next,y.next=null):r.corkedRequestsFree=new CorkedRequest(r),r.bufferedRequestCount=0}else{for(;i;){var m=i.chunk,w=i.encoding,S=i.callback,A=r.objectMode?1:m.length;if(doWrite(t,r,!1,A,m,w,S),i=i.next,r.bufferedRequestCount--,r.writing)break}null===i&&(r.lastBufferedRequest=null)}r.bufferedRequest=i,r.bufferProcessing=!1}function needFinish(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function callFinal(t,r){t._final(function(i){r.pendingcb--,i&&D(t,i),r.prefinished=!0,t.emit("prefinish"),finishMaybe(t,r)})}function finishMaybe(t,r){var p=needFinish(r);if(p&&(r.prefinished||r.finalCalled||("function"!=typeof t._final||r.destroyed?(r.prefinished=!0,t.emit("prefinish")):(r.pendingcb++,r.finalCalled=!0,i.nextTick(callFinal,t,r))),0===r.pendingcb&&(r.finished=!0,t.emit("finish"),r.autoDestroy))){var y=t._readableState;(!y||y.autoDestroy&&y.endEmitted)&&t.destroy()}return p}t("inherits")(Writable,m),WritableState.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r},function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:_.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(b=Function.prototype[Symbol.hasInstance],Object.defineProperty(Writable,Symbol.hasInstance,{value:function(t){return!!b.call(this,t)||this===Writable&&t&&t._writableState instanceof WritableState}})):b=function(t){return t instanceof this},Writable.prototype.pipe=function(){D(this,new P)},Writable.prototype.write=function(t,r,p){var y,b,_,m,A,k,T,O=this._writableState,x=!1,P=!O.objectMode&&(y=t,w.isBuffer(y)||y instanceof S);return P&&!w.isBuffer(t)&&(b=t,t=w.from(b)),("function"==typeof r&&(p=r,r=null),P?r="buffer":r||(r=O.defaultEncoding),"function"!=typeof p&&(p=nop),O.ending)?(_=p,D(this,m=new C),i.nextTick(_,m)):(P||(A=t,k=p,null===A?T=new M:"string"==typeof A||O.objectMode||(T=new R("chunk",["string","Buffer"],A)),!T||(D(this,T),i.nextTick(k,T),0)))&&(O.pendingcb++,x=function(t,r,i,p,y,b){if(!i){var _,m,S=(_=p,m=y,r.objectMode||!1===r.decodeStrings||"string"!=typeof _||(_=w.from(_,m)),_);p!==S&&(i=!0,y="buffer",p=S)}var A=r.objectMode?1:p.length;r.length+=A;var k=r.length<r.highWaterMark;if(k||(r.needDrain=!0),r.writing||r.corked){var T=r.lastBufferedRequest;r.lastBufferedRequest={chunk:p,encoding:y,isBuf:i,callback:b,next:null},T?T.next=r.lastBufferedRequest:r.bufferedRequest=r.lastBufferedRequest,r.bufferedRequestCount+=1}else doWrite(t,r,!1,A,p,y,b);return k}(this,O,P,t,r,p)),x},Writable.prototype.cork=function(){this._writableState.corked++},Writable.prototype.uncork=function(){var t=this._writableState;!t.corked||(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||clearBuffer(this,t))},Writable.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new N(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(Writable.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Writable.prototype._write=function(t,r,i){i(new O("_write()"))},Writable.prototype._writev=null,Writable.prototype.end=function(t,r,p){var y,b=this._writableState;return"function"==typeof t?(p=t,t=null,r=null):"function"==typeof r&&(p=r,r=null),null!=t&&this.write(t,r),b.corked&&(b.corked=1,this.uncork()),b.ending||(y=p,b.ending=!0,finishMaybe(this,b),y&&(b.finished?i.nextTick(y):this.once("finish",y)),b.ended=!0,this.writable=!1),this},Object.defineProperty(Writable.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(Writable.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),Writable.prototype.destroy=A.destroy,Writable.prototype._undestroy=A.undestroy,Writable.prototype._destroy=function(t,r){r(t)}}).call(this)}).call(this,t("_process"),void 0!==i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":62,"./_stream_duplex":63,"./internal/streams/destroy":70,"./internal/streams/state":74,"./internal/streams/stream":75,_process:60,buffer:33,inherits:45,"util-deprecate":78}],68:[function(t,r,i){(function(i){(function(){"use strict";function _defineProperty(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var p,y=t("./end-of-stream"),b=Symbol("lastResolve"),_=Symbol("lastReject"),m=Symbol("error"),w=Symbol("ended"),S=Symbol("lastPromise"),A=Symbol("handlePromise"),k=Symbol("stream");function createIterResult(t,r){return{value:t,done:r}}function readAndResolve(t){var r=t[b];if(null!==r){var i=t[k].read();null!==i&&(t[S]=null,t[b]=null,t[_]=null,r(createIterResult(i,!1)))}}function onReadable(t){i.nextTick(readAndResolve,t)}var T=Object.getPrototypeOf(function(){}),R=Object.setPrototypeOf((_defineProperty(p={get stream(){return this[k]},next:function(){var t,r,p=this,y=this[m];if(null!==y)return Promise.reject(y);if(this[w])return Promise.resolve(createIterResult(void 0,!0));if(this[k].destroyed)return new Promise(function(t,r){i.nextTick(function(){p[m]?r(p[m]):t(createIterResult(void 0,!0))})});var b=this[S];if(b)r=new Promise((t=this,function(r,i){b.then(function(){if(t[w]){r(createIterResult(void 0,!0));return}t[A](r,i)},i)}));else{var _=this[k].read();if(null!==_)return Promise.resolve(createIterResult(_,!1));r=new Promise(this[A])}return this[S]=r,r}},Symbol.asyncIterator,function(){return this}),_defineProperty(p,"return",function(){var t=this;return new Promise(function(r,i){t[k].destroy(null,function(t){if(t){i(t);return}r(createIterResult(void 0,!0))})})}),p),T);r.exports=function(t){var r,i=Object.create(R,(_defineProperty(r={},k,{value:t,writable:!0}),_defineProperty(r,b,{value:null,writable:!0}),_defineProperty(r,_,{value:null,writable:!0}),_defineProperty(r,m,{value:null,writable:!0}),_defineProperty(r,w,{value:t._readableState.endEmitted,writable:!0}),_defineProperty(r,A,{value:function(t,r){var p=i[k].read();p?(i[S]=null,i[b]=null,i[_]=null,t(createIterResult(p,!1))):(i[b]=t,i[_]=r)},writable:!0}),r));return i[S]=null,y(t,function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var r=i[_];null!==r&&(i[S]=null,i[b]=null,i[_]=null,r(t)),i[m]=t;return}var p=i[b];null!==p&&(i[S]=null,i[b]=null,i[_]=null,p(createIterResult(void 0,!0))),i[w]=!0}),t.on("readable",onReadable.bind(null,i)),i}}).call(this)}).call(this,t("_process"))},{"./end-of-stream":71,_process:60}],69:[function(t,r,i){"use strict";function ownKeys(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(t);r&&(p=p.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,p)}return i}function _defineProperties(t,r){for(var i=0;i<r.length;i++){var p=r[i];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(t,p.key,p)}}var p=t("buffer").Buffer,y=t("util").inspect,b=y&&y.custom||"inspect";r.exports=function(){var t,r;function BufferList(){(function(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")})(this,BufferList),this.head=null,this.tail=null,this.length=0}return t=[{key:"push",value:function(t){var r={data:t,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length}},{key:"unshift",value:function(t){var r={data:t,next:this.head};0===this.length&&(this.tail=r),this.head=r,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var r=this.head,i=""+r.data;r=r.next;)i+=t+r.data;return i}},{key:"concat",value:function(t){if(0===this.length)return p.alloc(0);for(var r,i,y=p.allocUnsafe(t>>>0),b=this.head,_=0;b;)r=b.data,i=_,p.prototype.copy.call(r,y,i),_+=b.data.length,b=b.next;return y}},{key:"consume",value:function(t,r){var i;return t<this.head.data.length?(i=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):i=t===this.head.data.length?this.shift():r?this._getString(t):this._getBuffer(t),i}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var r=this.head,i=1,p=r.data;for(t-=p.length;r=r.next;){var y=r.data,b=t>y.length?y.length:t;if(b===y.length?p+=y:p+=y.slice(0,t),0==(t-=b)){b===y.length?(++i,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=y.slice(b));break}++i}return this.length-=i,p}},{key:"_getBuffer",value:function(t){var r=p.allocUnsafe(t),i=this.head,y=1;for(i.data.copy(r),t-=i.data.length;i=i.next;){var b=i.data,_=t>b.length?b.length:t;if(b.copy(r,r.length-t,0,_),0==(t-=_)){_===b.length?(++y,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=b.slice(_));break}++y}return this.length-=y,r}},{key:b,value:function(t,r){return y(this,function(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(i),!0).forEach(function(r){var p;p=i[r],r in t?Object.defineProperty(t,r,{value:p,enumerable:!0,configurable:!0,writable:!0}):t[r]=p}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))})}return t}({},r,{depth:0,customInspect:!1}))}}],_defineProperties(BufferList.prototype,t),r&&_defineProperties(BufferList,r),BufferList}()},{buffer:33,util:30}],70:[function(t,r,i){(function(t){(function(){"use strict";function emitErrorAndCloseNT(t,r){emitErrorNT(t,r),emitCloseNT(t)}function emitCloseNT(t){(!t._writableState||t._writableState.emitClose)&&(!t._readableState||t._readableState.emitClose)&&t.emit("close")}function emitErrorNT(t,r){t.emit("error",r)}r.exports={destroy:function(r,i){var p=this,y=this._readableState&&this._readableState.destroyed,b=this._writableState&&this._writableState.destroyed;return y||b?i?i(r):r&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,t.nextTick(emitErrorNT,this,r)):t.nextTick(emitErrorNT,this,r)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,function(r){!i&&r?p._writableState?p._writableState.errorEmitted?t.nextTick(emitCloseNT,p):(p._writableState.errorEmitted=!0,t.nextTick(emitErrorAndCloseNT,p,r)):t.nextTick(emitErrorAndCloseNT,p,r):i?(t.nextTick(emitCloseNT,p),i(r)):t.nextTick(emitCloseNT,p)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,r){var i=t._readableState,p=t._writableState;i&&i.autoDestroy||p&&p.autoDestroy?t.destroy(r):t.emit("error",r)}}}).call(this)}).call(this,t("_process"))},{_process:60}],71:[function(t,r,i){"use strict";var p=t("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function noop(){}r.exports=function eos(t,r,i){if("function"==typeof r)return eos(t,null,r);r||(r={}),y=i||noop,b=!1,i=function(){if(!b){b=!0;for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];y.apply(this,r)}};var y,b,_=r.readable||!1!==r.readable&&t.readable,m=r.writable||!1!==r.writable&&t.writable,onlegacyfinish=function(){t.writable||onfinish()},w=t._writableState&&t._writableState.finished,onfinish=function(){m=!1,w=!0,_||i.call(t)},S=t._readableState&&t._readableState.endEmitted,onend=function(){_=!1,S=!0,m||i.call(t)},onerror=function(r){i.call(t,r)},onclose=function(){var r;return _&&!S?(t._readableState&&t._readableState.ended||(r=new p),i.call(t,r)):m&&!w?(t._writableState&&t._writableState.ended||(r=new p),i.call(t,r)):void 0},onrequest=function(){t.req.on("finish",onfinish)};return t.setHeader&&"function"==typeof t.abort?(t.on("complete",onfinish),t.on("abort",onclose),t.req?onrequest():t.on("request",onrequest)):m&&!t._writableState&&(t.on("end",onlegacyfinish),t.on("close",onlegacyfinish)),t.on("end",onend),t.on("finish",onfinish),!1!==r.error&&t.on("error",onerror),t.on("close",onclose),function(){t.removeListener("complete",onfinish),t.removeListener("abort",onclose),t.removeListener("request",onrequest),t.req&&t.req.removeListener("finish",onfinish),t.removeListener("end",onlegacyfinish),t.removeListener("close",onlegacyfinish),t.removeListener("finish",onfinish),t.removeListener("end",onend),t.removeListener("error",onerror),t.removeListener("close",onclose)}}},{"../../../errors":62}],72:[function(t,r,i){r.exports=function(){throw Error("Readable.from is not available in the browser")}},{}],73:[function(t,r,i){"use strict";var p,y=t("../../../errors").codes,b=y.ERR_MISSING_ARGS,_=y.ERR_STREAM_DESTROYED;function noop(t){if(t)throw t}function call(t){t()}function pipe(t,r){return t.pipe(r)}r.exports=function(){for(var r,i,y=arguments.length,m=Array(y),w=0;w<y;w++)m[w]=arguments[w];var S=(r=m).length&&"function"==typeof r[r.length-1]?r.pop():noop;if(Array.isArray(m[0])&&(m=m[0]),m.length<2)throw new b("streams");var A=m.map(function(r,y){var b,w,k,T,R,O=y<m.length-1;return w=b=function(t){i||(i=t),t&&A.forEach(call),O||(A.forEach(call),S(i))},k=!1,b=function(){k||(k=!0,w.apply(void 0,arguments))},T=!1,r.on("close",function(){T=!0}),void 0===p&&(p=t("./end-of-stream")),p(r,{readable:O,writable:y>0},function(t){if(t)return b(t);T=!0,b()}),R=!1,function(t){if(!T&&!R){if(R=!0,r.setHeader&&"function"==typeof r.abort)return r.abort();if("function"==typeof r.destroy)return r.destroy();b(t||new _("pipe"))}}});return m.reduce(pipe)}},{"../../../errors":62,"./end-of-stream":71}],74:[function(t,r,i){"use strict";var p=t("../../../errors").codes.ERR_INVALID_OPT_VALUE;r.exports={getHighWaterMark:function(t,r,i,y){var b=null!=r.highWaterMark?r.highWaterMark:y?r[i]:null;if(null!=b){if(!(isFinite(b)&&Math.floor(b)===b)||b<0){var _=y?i:"highWaterMark";throw new p(_,b)}return Math.floor(b)}return t.objectMode?16:16384}}},{"../../../errors":62}],75:[function(t,r,i){r.exports=t("events").EventEmitter},{events:38}],76:[function(t,r,i){"use strict";var p=t("safe-buffer").Buffer,y=p.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function StringDecoder(t){var r;switch(this.encoding=function(t){var r=function(t){var r;if(!t)return"utf8";for(;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(r)return;t=(""+t).toLowerCase(),r=!0}}(t);if("string"!=typeof r&&(p.isEncoding===y||!y(t)))throw Error("Unknown encoding: "+t);return r||t}(t),this.encoding){case"utf16le":this.text=utf16Text,this.end=utf16End,r=4;break;case"utf8":this.fillLast=utf8FillLast,r=4;break;case"base64":this.text=base64Text,this.end=base64End,r=3;break;default:this.write=simpleWrite,this.end=simpleEnd;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=p.allocUnsafe(r)}function utf8CheckByte(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function utf8FillLast(t){var r=this.lastTotal-this.lastNeed,i=function(t,r,i){if((192&r[0])!=128)return t.lastNeed=0,"<22>";if(t.lastNeed>1&&r.length>1){if((192&r[1])!=128)return t.lastNeed=1,"<22>";if(t.lastNeed>2&&r.length>2&&(192&r[2])!=128)return t.lastNeed=2,"<22>"}}(this,t,0);return void 0!==i?i:this.lastNeed<=t.length?(t.copy(this.lastChar,r,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(t.copy(this.lastChar,r,0,t.length),this.lastNeed-=t.length)}function utf16Text(t,r){if((t.length-r)%2==0){var i=t.toString("utf16le",r);if(i){var p=i.charCodeAt(i.length-1);if(p>=55296&&p<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],i.slice(0,-1)}return i}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",r,t.length-1)}function utf16End(t){var r=t&&t.length?this.write(t):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,i)}return r}function base64Text(t,r){var i=(t.length-r)%3;return 0===i?t.toString("base64",r):(this.lastNeed=3-i,this.lastTotal=3,1===i?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",r,t.length-i))}function base64End(t){var r=t&&t.length?this.write(t):"";return this.lastNeed?r+this.lastChar.toString("base64",0,3-this.lastNeed):r}function simpleWrite(t){return t.toString(this.encoding)}function simpleEnd(t){return t&&t.length?this.write(t):""}i.StringDecoder=StringDecoder,StringDecoder.prototype.write=function(t){var r,i;if(0===t.length)return"";if(this.lastNeed){if(void 0===(r=this.fillLast(t)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<t.length?r?r+this.text(t,i):this.text(t,i):r||""},StringDecoder.prototype.end=function(t){var r=t&&t.length?this.write(t):"";return this.lastNeed?r+"<22>":r},StringDecoder.prototype.text=function(t,r){var i=function(t,r,i){var p=r.length-1;if(p<i)return 0;var y=utf8CheckByte(r[p]);return y>=0?(y>0&&(t.lastNeed=y-1),y):--p<i||-2===y?0:(y=utf8CheckByte(r[p]))>=0?(y>0&&(t.lastNeed=y-2),y):--p<i||-2===y?0:(y=utf8CheckByte(r[p]))>=0?(y>0&&(2===y?y=0:t.lastNeed=y-3),y):0}(this,t,r);if(!this.lastNeed)return t.toString("utf8",r);this.lastTotal=i;var p=t.length-(i-this.lastNeed);return t.copy(this.lastChar,0,p),t.toString("utf8",r,p)},StringDecoder.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},{"safe-buffer":77}],77:[function(t,r,i){/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var p=t("buffer"),y=p.Buffer;function copyProps(t,r){for(var i in t)r[i]=t[i]}function SafeBuffer(t,r,i){return y(t,r,i)}y.from&&y.alloc&&y.allocUnsafe&&y.allocUnsafeSlow?r.exports=p:(copyProps(p,i),i.Buffer=SafeBuffer),SafeBuffer.prototype=Object.create(y.prototype),copyProps(y,SafeBuffer),SafeBuffer.from=function(t,r,i){if("number"==typeof t)throw TypeError("Argument must not be a number");return y(t,r,i)},SafeBuffer.alloc=function(t,r,i){if("number"!=typeof t)throw TypeError("Argument must be a number");var p=y(t);return void 0!==r?"string"==typeof i?p.fill(r,i):p.fill(r):p.fill(0),p},SafeBuffer.allocUnsafe=function(t){if("number"!=typeof t)throw TypeError("Argument must be a number");return y(t)},SafeBuffer.allocUnsafeSlow=function(t){if("number"!=typeof t)throw TypeError("Argument must be a number");return p.SlowBuffer(t)}},{buffer:33}],78:[function(t,r,p){(function(t){(function(){r.exports=function(t,r){if(config("noDeprecation"))return t;var i=!1;return function(){if(!i){if(config("throwDeprecation"))throw Error(r);config("traceDeprecation")?console.trace(r):console.warn(r),i=!0}return t.apply(this,arguments)}};function config(r){try{if(!t.localStorage)return!1}catch(t){return!1}var i=t.localStorage[r];return null!=i&&"true"===String(i).toLowerCase()}}).call(this)}).call(this,void 0!==i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],79:[function(t,r,i){arguments[4][25][0].apply(i,arguments)},{dup:25}],80:[function(t,r,i){"use strict";var p=t("is-arguments"),y=t("is-generator-function"),b=t("which-typed-array"),_=t("is-typed-array");function uncurryThis(t){return t.call.bind(t)}var m="undefined"!=typeof BigInt,w="undefined"!=typeof Symbol,S=uncurryThis(Object.prototype.toString),A=uncurryThis(Number.prototype.valueOf),k=uncurryThis(String.prototype.valueOf),T=uncurryThis(Boolean.prototype.valueOf);if(m)var R=uncurryThis(BigInt.prototype.valueOf);if(w)var O=uncurryThis(Symbol.prototype.valueOf);function checkBoxedPrimitive(t,r){if("object"!=typeof t)return!1;try{return r(t),!0}catch(t){return!1}}function isMapToString(t){return"[object Map]"===S(t)}function isSetToString(t){return"[object Set]"===S(t)}function isWeakMapToString(t){return"[object WeakMap]"===S(t)}function isWeakSetToString(t){return"[object WeakSet]"===S(t)}function isArrayBufferToString(t){return"[object ArrayBuffer]"===S(t)}function isArrayBuffer(t){return"undefined"!=typeof ArrayBuffer&&(isArrayBufferToString.working?isArrayBufferToString(t):t instanceof ArrayBuffer)}function isDataViewToString(t){return"[object DataView]"===S(t)}function isDataView(t){return"undefined"!=typeof DataView&&(isDataViewToString.working?isDataViewToString(t):t instanceof DataView)}function isSharedArrayBufferToString(t){return"[object SharedArrayBuffer]"===S(t)}function isSharedArrayBuffer(t){return"undefined"!=typeof SharedArrayBuffer&&(isSharedArrayBufferToString.working?isSharedArrayBufferToString(t):t instanceof SharedArrayBuffer)}function isNumberObject(t){return checkBoxedPrimitive(t,A)}function isStringObject(t){return checkBoxedPrimitive(t,k)}function isBooleanObject(t){return checkBoxedPrimitive(t,T)}function isBigIntObject(t){return m&&checkBoxedPrimitive(t,R)}function isSymbolObject(t){return w&&checkBoxedPrimitive(t,O)}i.isArgumentsObject=p,i.isGeneratorFunction=y,i.isTypedArray=_,i.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},i.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):_(t)||isDataView(t)},i.isUint8Array=function(t){return"Uint8Array"===b(t)},i.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===b(t)},i.isUint16Array=function(t){return"Uint16Array"===b(t)},i.isUint32Array=function(t){return"Uint32Array"===b(t)},i.isInt8Array=function(t){return"Int8Array"===b(t)},i.isInt16Array=function(t){return"Int16Array"===b(t)},i.isInt32Array=function(t){return"Int32Array"===b(t)},i.isFloat32Array=function(t){return"Float32Array"===b(t)},i.isFloat64Array=function(t){return"Float64Array"===b(t)},i.isBigInt64Array=function(t){return"BigInt64Array"===b(t)},i.isBigUint64Array=function(t){return"BigUint64Array"===b(t)},isMapToString.working="undefined"!=typeof Map&&isMapToString(new Map),i.isMap=function(t){return"undefined"!=typeof Map&&(isMapToString.working?isMapToString(t):t instanceof Map)},isSetToString.working="undefined"!=typeof Set&&isSetToString(new Set),i.isSet=function(t){return"undefined"!=typeof Set&&(isSetToString.working?isSetToString(t):t instanceof Set)},isWeakMapToString.working="undefined"!=typeof WeakMap&&isWeakMapToString(new WeakMap),i.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(isWeakMapToString.working?isWeakMapToString(t):t instanceof WeakMap)},isWeakSetToString.working="undefined"!=typeof WeakSet&&isWeakSetToString(new WeakSet),i.isWeakSet=function(t){return isWeakSetToString(t)},isArrayBufferToString.working="undefined"!=typeof ArrayBuffer&&isArrayBufferToString(new ArrayBuffer),i.isArrayBuffer=isArrayBuffer,isDataViewToString.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&isDataViewToString(new DataView(new ArrayBuffer(1),0,1)),i.isDataView=isDataView,isSharedArrayBufferToString.working="undefined"!=typeof SharedArrayBuffer&&isSharedArrayBufferToString(new SharedArrayBuffer),i.isSharedArrayBuffer=isSharedArrayBuffer,i.isAsyncFunction=function(t){return"[object AsyncFunction]"===S(t)},i.isMapIterator=function(t){return"[object Map Iterator]"===S(t)},i.isSetIterator=function(t){return"[object Set Iterator]"===S(t)},i.isGeneratorObject=function(t){return"[object Generator]"===S(t)},i.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===S(t)},i.isNumberObject=isNumberObject,i.isStringObject=isStringObject,i.isBooleanObject=isBooleanObject,i.isBigIntObject=isBigIntObject,i.isSymbolObject=isSymbolObject,i.isBoxedPrimitive=function(t){return isNumberObject(t)||isStringObject(t)||isBooleanObject(t)||isBigIntObject(t)||isSymbolObject(t)},i.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(isArrayBuffer(t)||isSharedArrayBuffer(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(i,t,{enumerable:!1,value:function(){throw Error(t+" is not supported in userland")}})})},{"is-arguments":46,"is-generator-function":47,"is-typed-array":48,"which-typed-array":82}],81:[function(t,r,i){(function(r){(function(){var p=Object.getOwnPropertyDescriptors||function(t){for(var r=Object.keys(t),i={},p=0;p<r.length;p++)i[r[p]]=Object.getOwnPropertyDescriptor(t,r[p]);return i},y=/%[sdj%]/g;i.format=function(t){if(!isString(t)){for(var r=[],i=0;i<arguments.length;i++)r.push(inspect(arguments[i]));return r.join(" ")}for(var i=1,p=arguments,b=p.length,_=String(t).replace(y,function(t){if("%%"===t)return"%";if(i>=b)return t;switch(t){case"%s":return String(p[i++]);case"%d":return Number(p[i++]);case"%j":try{return JSON.stringify(p[i++])}catch(t){return"[Circular]"}default:return t}}),m=p[i];i<b;m=p[++i])isNull(m)||!isObject(m)?_+=" "+m:_+=" "+inspect(m);return _},i.deprecate=function(t,p){if(void 0!==r&&!0===r.noDeprecation)return t;if(void 0===r)return function(){return i.deprecate(t,p).apply(this,arguments)};var y=!1;return function(){if(!y){if(r.throwDeprecation)throw Error(p);r.traceDeprecation?console.trace(p):console.error(p),y=!0}return t.apply(this,arguments)}};var b={},_=/^$/;if(r.env.NODE_DEBUG){var m=r.env.NODE_DEBUG;_=RegExp("^"+(m=m.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase())+"$","i")}function inspect(t,r){var p={seen:[],stylize:stylizeNoColor};return arguments.length>=3&&(p.depth=arguments[2]),arguments.length>=4&&(p.colors=arguments[3]),isBoolean(r)?p.showHidden=r:r&&i._extend(p,r),isUndefined(p.showHidden)&&(p.showHidden=!1),isUndefined(p.depth)&&(p.depth=2),isUndefined(p.colors)&&(p.colors=!1),isUndefined(p.customInspect)&&(p.customInspect=!0),p.colors&&(p.stylize=stylizeWithColor),formatValue(p,t,p.depth)}function stylizeWithColor(t,r){var i=inspect.styles[r];return i?"\x1b["+inspect.colors[i][0]+"m"+t+"\x1b["+inspect.colors[i][1]+"m":t}function stylizeNoColor(t,r){return t}function formatValue(t,r,p){if(t.customInspect&&r&&isFunction(r.inspect)&&r.inspect!==i.inspect&&!(r.constructor&&r.constructor.prototype===r)){var y,b,_,m,w,S=r.inspect(p,t);return isString(S)||(S=formatValue(t,S,p)),S}var A=function(t,r){if(isUndefined(r))return t.stylize("undefined","undefined");if(isString(r)){var i="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(i,"string")}return isNumber(r)?t.stylize(""+r,"number"):isBoolean(r)?t.stylize(""+r,"boolean"):isNull(r)?t.stylize("null","null"):void 0}(t,r);if(A)return A;var k=Object.keys(r),T=(m={},k.forEach(function(t,r){m[t]=!0}),m);if(t.showHidden&&(k=Object.getOwnPropertyNames(r)),isError(r)&&(k.indexOf("message")>=0||k.indexOf("description")>=0))return formatError(r);if(0===k.length){if(isFunction(r)){var R=r.name?": "+r.name:"";return t.stylize("[Function"+R+"]","special")}if(isRegExp(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(isDate(r))return t.stylize(Date.prototype.toString.call(r),"date");if(isError(r))return formatError(r)}var O="",x=!1,P=["{","}"];return(isArray(r)&&(x=!0,P=["[","]"]),isFunction(r)&&(O=" [Function"+(r.name?": "+r.name:"")+"]"),isRegExp(r)&&(O=" "+RegExp.prototype.toString.call(r)),isDate(r)&&(O=" "+Date.prototype.toUTCString.call(r)),isError(r)&&(O=" "+formatError(r)),0!==k.length||x&&0!=r.length)?p<0?isRegExp(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),w=x?function(t,r,i,p,y){for(var b=[],_=0,m=r.length;_<m;++_)hasOwnProperty(r,String(_))?b.push(formatProperty(t,r,i,p,String(_),!0)):b.push("");return y.forEach(function(y){y.match(/^\d+$/)||b.push(formatProperty(t,r,i,p,y,!0))}),b}(t,r,p,T,k):k.map(function(i){return formatProperty(t,r,p,T,i,x)}),t.seen.pop(),y=O,b=P,_=0,w.reduce(function(t,r){return _++,r.indexOf("\n")>=0&&_++,t+r.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?b[0]+(""===y?"":y+"\n ")+" "+w.join(",\n ")+" "+b[1]:b[0]+y+" "+w.join(", ")+" "+b[1]):P[0]+O+P[1]}function formatError(t){return"["+Error.prototype.toString.call(t)+"]"}function formatProperty(t,r,i,p,y,b){var _,m,w;if((w=Object.getOwnPropertyDescriptor(r,y)||{value:r[y]}).get?m=w.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):w.set&&(m=t.stylize("[Setter]","special")),hasOwnProperty(p,y)||(_="["+y+"]"),!m&&(0>t.seen.indexOf(w.value)?(m=isNull(i)?formatValue(t,w.value,null):formatValue(t,w.value,i-1)).indexOf("\n")>-1&&(m=b?m.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+m.split("\n").map(function(t){return" "+t}).join("\n")):m=t.stylize("[Circular]","special")),isUndefined(_)){if(b&&y.match(/^\d+$/))return m;(_=JSON.stringify(""+y)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(_=_.substr(1,_.length-2),_=t.stylize(_,"name")):(_=_.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),_=t.stylize(_,"string"))}return _+": "+m}function isArray(t){return Array.isArray(t)}function isBoolean(t){return"boolean"==typeof t}function isNull(t){return null===t}function isNumber(t){return"number"==typeof t}function isString(t){return"string"==typeof t}function isUndefined(t){return void 0===t}function isRegExp(t){return isObject(t)&&"[object RegExp]"===objectToString(t)}function isObject(t){return"object"==typeof t&&null!==t}function isDate(t){return isObject(t)&&"[object Date]"===objectToString(t)}function isError(t){return isObject(t)&&("[object Error]"===objectToString(t)||t instanceof Error)}function isFunction(t){return"function"==typeof t}function objectToString(t){return Object.prototype.toString.call(t)}function pad(t){return t<10?"0"+t.toString(10):t.toString(10)}i.debuglog=function(t){if(!b[t=t.toUpperCase()]){if(_.test(t)){var p=r.pid;b[t]=function(){var r=i.format.apply(i,arguments);console.error("%s %d: %s",t,p,r)}}else b[t]=function(){}}return b[t]},i.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},i.types=t("./support/types"),i.isArray=isArray,i.isBoolean=isBoolean,i.isNull=isNull,i.isNullOrUndefined=function(t){return null==t},i.isNumber=isNumber,i.isString=isString,i.isSymbol=function(t){return"symbol"==typeof t},i.isUndefined=isUndefined,i.isRegExp=isRegExp,i.types.isRegExp=isRegExp,i.isObject=isObject,i.isDate=isDate,i.types.isDate=isDate,i.isError=isError,i.types.isNativeError=isError,i.isFunction=isFunction,i.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},i.isBuffer=t("./support/isBuffer");var w=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function hasOwnProperty(t,r){return Object.prototype.hasOwnProperty.call(t,r)}i.log=function(){var t,r;console.log("%s - %s",(r=[pad((t=new Date).getHours()),pad(t.getMinutes()),pad(t.getSeconds())].join(":"),[t.getDate(),w[t.getMonth()],r].join(" ")),i.format.apply(i,arguments))},i.inherits=t("inherits"),i._extend=function(t,r){if(!r||!isObject(r))return t;for(var i=Object.keys(r),p=i.length;p--;)t[i[p]]=r[i[p]];return t};var S="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function callbackifyOnRejected(t,r){if(!t){var i=Error("Promise was rejected with a falsy value");i.reason=t,t=i}return r(t)}i.promisify=function(t){if("function"!=typeof t)throw TypeError('The "original" argument must be of type Function');if(S&&t[S]){var fn=t[S];if("function"!=typeof fn)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(fn,S,{value:fn,enumerable:!1,writable:!1,configurable:!0}),fn}function fn(){for(var r,i,p=new Promise(function(t,p){r=t,i=p}),y=[],b=0;b<arguments.length;b++)y.push(arguments[b]);y.push(function(t,p){t?i(t):r(p)});try{t.apply(this,y)}catch(t){i(t)}return p}return Object.setPrototypeOf(fn,Object.getPrototypeOf(t)),S&&Object.defineProperty(fn,S,{value:fn,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(fn,p(t))},i.promisify.custom=S,i.callbackify=function(t){if("function"!=typeof t)throw TypeError('The "original" argument must be of type Function');function callbackified(){for(var i=[],p=0;p<arguments.length;p++)i.push(arguments[p]);var y=i.pop();if("function"!=typeof y)throw TypeError("The last argument must be of type Function");var b=this,cb=function(){return y.apply(b,arguments)};t.apply(this,i).then(function(t){r.nextTick(cb.bind(null,null,t))},function(t){r.nextTick(callbackifyOnRejected.bind(null,t,cb))})}return Object.setPrototypeOf(callbackified,Object.getPrototypeOf(t)),Object.defineProperties(callbackified,p(t)),callbackified}}).call(this)}).call(this,t("_process"))},{"./support/isBuffer":79,"./support/types":80,_process:60,inherits:45}],82:[function(t,r,p){(function(i){(function(){"use strict";var p=t("foreach"),y=t("available-typed-arrays"),b=t("es-abstract/helpers/callBound"),_=b("Object.prototype.toString"),m=t("has-symbols")()&&"symbol"==typeof Symbol.toStringTag,w=y(),S=b("String.prototype.slice"),A={},k=t("es-abstract/helpers/getOwnPropertyDescriptor"),T=Object.getPrototypeOf;m&&k&&T&&p(w,function(t){if("function"==typeof i[t]){var r=new i[t];if(!(Symbol.toStringTag in r))throw EvalError("this engine has support for Symbol.toStringTag, but "+t+" does not have the property! Please report this.");var p=T(r),y=k(p,Symbol.toStringTag);y||(y=k(T(p),Symbol.toStringTag)),A[t]=y.get}});var tryTypedArrays=function(t){var r=!1;return p(A,function(i,p){if(!r)try{var y=i.call(t);y===p&&(r=y)}catch(t){}}),r},R=t("is-typed-array");r.exports=function(t){return!!R(t)&&(m?tryTypedArrays(t):S(_(t),8,-1))}}).call(this)}).call(this,void 0!==i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"available-typed-arrays":27,"es-abstract/helpers/callBound":36,"es-abstract/helpers/getOwnPropertyDescriptor":37,foreach:39,"has-symbols":42,"is-typed-array":48}]},{},[20])(20)}},r={};function __webpack_require__(i){var p=r[i];if(void 0!==p)return p.exports;var y=r[i]={exports:{}},b=!0;try{t[i](y,y.exports,__webpack_require__),b=!1}finally{b&&delete r[i]}return y.exports}__webpack_require__.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return __webpack_require__.d(r,{a:r}),r},__webpack_require__.d=function(t,r){for(var i in r)__webpack_require__.o(r,i)&&!__webpack_require__.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:r[i]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}}(),__webpack_require__.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){"use strict";let t=Symbol("Comlink.proxy"),r=Symbol("Comlink.endpoint"),i=Symbol("Comlink.releaseProxy"),p=Symbol("Comlink.thrown"),isObject=t=>"object"==typeof t&&null!==t||"function"==typeof t,y=new Map([["proxy",{canHandle:r=>isObject(r)&&r[t],serialize(t){let{port1:r,port2:i}=new MessageChannel;return expose(t,r),[i,[i]]},deserialize:t=>(t.start(),function createProxy(t,p=[],y=function(){}){let b=!1,_=new Proxy(y,{get(r,y){if(throwIfProxyReleased(b),y===i)return()=>requestResponseMessage(t,{type:"RELEASE",path:p.map(t=>t.toString())}).then(()=>{closeEndPoint(t),b=!0});if("then"===y){if(0===p.length)return{then:()=>_};let r=requestResponseMessage(t,{type:"GET",path:p.map(t=>t.toString())}).then(fromWireValue);return r.then.bind(r)}return createProxy(t,[...p,y])},set(r,i,y){throwIfProxyReleased(b);let[_,m]=toWireValue(y);return requestResponseMessage(t,{type:"SET",path:[...p,i].map(t=>t.toString()),value:_},m).then(fromWireValue)},apply(i,y,_){throwIfProxyReleased(b);let m=p[p.length-1];if(m===r)return requestResponseMessage(t,{type:"ENDPOINT"}).then(fromWireValue);if("bind"===m)return createProxy(t,p.slice(0,-1));let[w,S]=processArguments(_);return requestResponseMessage(t,{type:"APPLY",path:p.map(t=>t.toString()),argumentList:w},S).then(fromWireValue)},construct(r,i){throwIfProxyReleased(b);let[y,_]=processArguments(i);return requestResponseMessage(t,{type:"CONSTRUCT",path:p.map(t=>t.toString()),argumentList:y},_).then(fromWireValue)}});return _}(t,[],void 0))}],["throw",{canHandle:t=>isObject(t)&&p in t,serialize:({value:t})=>[t instanceof Error?{isError:!0,value:{message:t.message,name:t.name,stack:t.stack}}:{isError:!1,value:t},[]],deserialize(t){if(t.isError)throw Object.assign(Error(t.value.message),t.value);throw t.value}}]]);function expose(r,i=self){i.addEventListener("message",function callback(y){let _;if(!y||!y.data)return;let{id:m,type:w,path:S}=Object.assign({path:[]},y.data),A=(y.data.argumentList||[]).map(fromWireValue);try{var k;let i=S.slice(0,-1).reduce((t,r)=>t[r],r),p=S.reduce((t,r)=>t[r],r);switch(w){case"GET":_=p;break;case"SET":i[S.slice(-1)[0]]=fromWireValue(y.data.value),_=!0;break;case"APPLY":_=p.apply(i,A);break;case"CONSTRUCT":{let r=new p(...A);_=Object.assign(r,{[t]:!0})}break;case"ENDPOINT":{let{port1:t,port2:i}=new MessageChannel;expose(r,i),k=[t],b.set(t,k),_=t}break;case"RELEASE":_=void 0;break;default:return}}catch(t){_={value:t,[p]:0}}Promise.resolve(_).catch(t=>({value:t,[p]:0})).then(t=>{let[r,p]=toWireValue(t);i.postMessage(Object.assign(Object.assign({},r),{id:m}),p),"RELEASE"===w&&(i.removeEventListener("message",callback),closeEndPoint(i))})}),i.start&&i.start()}function closeEndPoint(t){"MessagePort"===t.constructor.name&&t.close()}function throwIfProxyReleased(t){if(t)throw Error("Proxy has been released and is not useable")}function processArguments(t){var r;let i=t.map(toWireValue);return[i.map(t=>t[0]),(r=i.map(t=>t[1]),Array.prototype.concat.apply([],r))]}let b=new WeakMap;function toWireValue(t){for(let[r,i]of y)if(i.canHandle(t)){let[p,y]=i.serialize(t);return[{type:"HANDLER",name:r,value:p},y]}return[{type:"RAW",value:t},b.get(t)||[]]}function fromWireValue(t){switch(t.type){case"HANDLER":return y.get(t.name).deserialize(t.value);case"RAW":return t.value}}function requestResponseMessage(t,r,i){return new Promise(p=>{let y=[,,,,].fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-");t.addEventListener("message",function l(r){r.data&&r.data.id&&r.data.id===y&&(t.removeEventListener("message",l),p(r.data))}),t.start&&t.start(),t.postMessage(Object.assign({id:y},r),i)})}var _=__webpack_require__(113),m=__webpack_require__(31),w=__webpack_require__.n(m);async function rgbaToArrayBuffer(t,r){let{width:i,height:p}=r,y=new _.PNG({width:i,height:p,inputHasAlpha:!0});y.data=t,y.pack();let b=await w().buffer(y);return b}async function imageUrlToArrayBuffer(t){let r=await fetch(t);if(r.ok){let t=await r.arrayBuffer();return t}throw Error("Failed to load image URL: ".concat(t))}async function arrayBufferToRgba(t){let r=await new Promise((r,i)=>new _.PNG().parse(t,(t,p)=>{t?i(t):r(p)}));return{rgba:r.data,width:r.width,height:r.height}}async function setGrayscaleFromAlpha(t){let r=t.length;for(let i=0;i<r;i+=4){let r=t[i+3];t[i]=r,t[i+1]=r,t[i+2]=r,t[i+3]=255}}async function setAlphaFromGrayscale(t,r){let i=t.length;for(let p=0;p<i;p+=4)t[p+3]=Math.max(1,r[p])}async function setAlphaToMax(t){let r=t.length;for(let i=0;i<r;i+=4)t[i+3]=255}async function imageUrlToRgba(t){let r=await imageUrlToArrayBuffer(t),{rgba:i,width:p,height:y}=await arrayBufferToRgba(r);return{rgba:i,width:p,height:y}}async function rgbaToImageUrl(t,r){let{width:i,height:p}=r,y=await rgbaToArrayBuffer(t,{width:i,height:p}),b=function(t){let r=function(t){let r,i,p,y,b="",_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m=new Uint8Array(t),w=m.byteLength,S=w%3,A=w-S;for(let t=0;t<A;t+=3)b+=_[r=(16515072&(y=m[t]<<16|m[t+1]<<8|m[t+2]))>>18]+_[(258048&y)>>12]+_[(4032&y)>>6]+_[63&y];return 1==S?b+=_[r=(252&(y=m[A]))>>2]+_[(3&y)<<4]+"==":2==S&&(b+=_[r=(64512&(y=m[A]<<8|m[A+1]))>>10]+_[(1008&y)>>4]+_[(15&y)<<2]+"="),b}(t);return"data:image/png;base64,".concat(r)}(y);return b}expose({combineColorAndAlphaImageUrls:async function(t){let{colorImageUrl:r,metallicImageUrl:i}=t,[{rgba:p,width:y,height:b},{rgba:_}]=await Promise.all([imageUrlToRgba(r),imageUrlToRgba(i)]);setAlphaFromGrayscale(p,_);let m=await rgbaToImageUrl(p,{width:y,height:b});return m},removeAlphaFromArrayBuffer:async function(t){let{rgba:r,width:i,height:p}=await arrayBufferToRgba(t);setAlphaToMax(r);let y=await rgbaToImageUrl(r,{width:i,height:p});return y},convertArrayBufferAlphaToGrayscale:async function(t){let{rgba:r,width:i,height:p}=await arrayBufferToRgba(t);setGrayscaleFromAlpha(r);let y=await rgbaToImageUrl(r,{width:i,height:p});return y},convertGrayscaleImageUrlToMetallicRoughness:async function(t){let{rgba:r,width:i,height:p}=await imageUrlToRgba(t);!function(t){let r=t.length;for(let i=0;i<r;i+=4){let r=t[i];t[i]=0,t[i+1]=r>0?255-Math.min(2*r+64,255):255,t[i+2]=r?Math.min(1*r+64,255):0}}(r);let y=await rgbaToImageUrl(r,{width:i,height:p});return y}})}()}();