w-json-stream 1.0.13 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci-test.yml +24 -0
- package/.jsdoc +1 -1
- package/LICENSE +1 -1
- package/README.md +2 -3
- package/SECURITY.md +5 -0
- package/dist/into-stream.umd.js +2 -2
- package/dist/into-stream.umd.js.map +1 -1
- package/dist/json-stream-stringify.umd.js +2 -2
- package/dist/json-stream-stringify.umd.js.map +1 -1
- package/dist/through.umd.js +2 -2
- package/dist/through.umd.js.map +1 -1
- package/dist/w-json-stream.umd.js +2 -2
- package/dist/w-json-stream.umd.js.map +1 -1
- package/dist/w-json-stream.wk.umd.js +1 -1
- package/docs/WJsonStream.mjs.html +1 -1
- package/docs/examples/ex-large-webworker.html +2 -2
- package/docs/examples/ex-large.html +2 -2
- package/docs/examples/ex-small-stream.html +2 -2
- package/docs/examples/ex-small.html +2 -2
- package/docs/examples/ex-stream-createParseStream.html +2 -2
- package/docs/examples/ex-stream-createParseStreamWithFilter.html +3 -3
- package/docs/examples/ex-stream-createStringifyStream.html +2 -2
- package/docs/global.html +1 -1
- package/docs/index.html +1 -1
- package/package.json +4 -10
- package/src/from2.mjs +113 -0
- package/src/intoStream.mjs +2 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* json-stream-stringify v1.0.
|
|
2
|
+
* json-stream-stringify v1.0.16
|
|
3
3
|
* (c) 2018-2021 yuda-lyu(semisphere)
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self)["json-stream-stringify"]=t()}(this,(function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(){}function r(){r.init.call(this)}function n(e){return void 0===e._maxListeners?r.defaultMaxListeners:e._maxListeners}function i(e,t,r){if(t)e.call(r);else for(var n=e.length,i=l(e,n),o=0;o<n;++o)i[o].call(r)}function o(e,t,r,n){if(t)e.call(r,n);else for(var i=e.length,o=l(e,i),a=0;a<i;++a)o[a].call(r,n)}function a(e,t,r,n,i){if(t)e.call(r,n,i);else for(var o=e.length,a=l(e,o),s=0;s<o;++s)a[s].call(r,n,i)}function s(e,t,r,n,i,o){if(t)e.call(r,n,i,o);else for(var a=e.length,s=l(e,a),u=0;u<a;++u)s[u].call(r,n,i,o)}function u(e,t,r,n){if(t)e.apply(r,n);else for(var i=e.length,o=l(e,i),a=0;a<i;++a)o[a].apply(r,n)}function f(e,r,i,o){var a,s,u,f;if("function"!=typeof i)throw new TypeError('"listener" argument must be a function');if((s=e._events)?(s.newListener&&(e.emit("newListener",r,i.listener?i.listener:i),s=e._events),u=s[r]):(s=e._events=new t,e._eventsCount=0),u){if("function"==typeof u?u=s[r]=o?[i,u]:[u,i]:o?u.unshift(i):u.push(i),!u.warned&&(a=n(e))&&a>0&&u.length>a){u.warned=!0;var h=new Error("Possible EventEmitter memory leak detected. "+u.length+" "+r+" listeners added. Use emitter.setMaxListeners() to increase limit");h.name="MaxListenersExceededWarning",h.emitter=e,h.type=r,h.count=u.length,f=h,"function"==typeof console.warn?console.warn(f):console.log(f)}}else u=s[r]=i,++e._eventsCount;return e}function h(e,t,r){var n=!1;function i(){e.removeListener(t,i),n||(n=!0,r.apply(e,arguments))}return i.listener=r,i}function c(e){var t=this._events;if(t){var r=t[e];if("function"==typeof r)return 1;if(r)return r.length}return 0}function l(e,t){for(var r=new Array(t);t--;)r[t]=e[t];return r}t.prototype=Object.create(null),r.EventEmitter=r,r.usingDomains=!1,r.prototype.domain=void 0,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.init=function(){this.domain=null,r.usingDomains&&undefined.active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new t,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},r.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},r.prototype.getMaxListeners=function(){return n(this)},r.prototype.emit=function(e){var t,r,n,f,h,c,l,d="error"===e;if(c=this._events)d=d&&null==c.error;else if(!d)return!1;if(l=this.domain,d){if(t=arguments[1],!l){if(t instanceof Error)throw t;var p=new Error('Uncaught, unspecified "error" event. ('+t+")");throw p.context=t,p}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=l,t.domainThrown=!1,l.emit("error",t),!1}if(!(r=c[e]))return!1;var g="function"==typeof r;switch(n=arguments.length){case 1:i(r,g,this);break;case 2:o(r,g,this,arguments[1]);break;case 3:a(r,g,this,arguments[1],arguments[2]);break;case 4:s(r,g,this,arguments[1],arguments[2],arguments[3]);break;default:for(f=new Array(n-1),h=1;h<n;h++)f[h-1]=arguments[h];u(r,g,this,f)}return!0},r.prototype.addListener=function(e,t){return f(this,e,t,!1)},r.prototype.on=r.prototype.addListener,r.prototype.prependListener=function(e,t){return f(this,e,t,!0)},r.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,h(this,e,t)),this},r.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,h(this,e,t)),this},r.prototype.removeListener=function(e,r){var n,i,o,a,s;if("function"!=typeof r)throw new TypeError('"listener" argument must be a function');if(!(i=this._events))return this;if(!(n=i[e]))return this;if(n===r||n.listener&&n.listener===r)0==--this._eventsCount?this._events=new t:(delete i[e],i.removeListener&&this.emit("removeListener",e,n.listener||r));else if("function"!=typeof n){for(o=-1,a=n.length;a-- >0;)if(n[a]===r||n[a].listener&&n[a].listener===r){s=n[a].listener,o=a;break}if(o<0)return this;if(1===n.length){if(n[0]=void 0,0==--this._eventsCount)return this._events=new t,this;delete i[e]}else!function(e,t){for(var r=t,n=r+1,i=e.length;n<i;r+=1,n+=1)e[r]=e[n];e.pop()}(n,o);i.removeListener&&this.emit("removeListener",e,s||r)}return this},r.prototype.removeAllListeners=function(e){var r,n;if(!(n=this._events))return this;if(!n.removeListener)return 0===arguments.length?(this._events=new t,this._eventsCount=0):n[e]&&(0==--this._eventsCount?this._events=new t:delete n[e]),this;if(0===arguments.length){for(var i,o=Object.keys(n),a=0;a<o.length;++a)"removeListener"!==(i=o[a])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=new t,this._eventsCount=0,this}if("function"==typeof(r=n[e]))this.removeListener(e,r);else if(r)do{this.removeListener(e,r[r.length-1])}while(r[0]);return this},r.prototype.listeners=function(e){var t,r=this._events;return r&&(t=r[e])?"function"==typeof t?[t.listener||t]:function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(t):[]},r.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):c.call(e,t)},r.prototype.listenerCount=c,r.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};var d="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},p=[],g=[],y="undefined"!=typeof Uint8Array?Uint8Array:Array,v=!1;function b(){v=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,r=e.length;t<r;++t)p[t]=e[t],g[e.charCodeAt(t)]=t;g["-".charCodeAt(0)]=62,g["_".charCodeAt(0)]=63}function w(e,t,r){for(var n,i,o=[],a=t;a<r;a+=3)n=(e[a]<<16)+(e[a+1]<<8)+e[a+2],o.push(p[(i=n)>>18&63]+p[i>>12&63]+p[i>>6&63]+p[63&i]);return o.join("")}function m(e){var t;v||b();for(var r=e.length,n=r%3,i="",o=[],a=16383,s=0,u=r-n;s<u;s+=a)o.push(w(e,s,s+a>u?u:s+a));return 1===n?(t=e[r-1],i+=p[t>>2],i+=p[t<<4&63],i+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],i+=p[t>>10],i+=p[t>>4&63],i+=p[t<<2&63],i+="="),o.push(i),o.join("")}function _(e,t,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,f=u>>1,h=-7,c=r?i-1:0,l=r?-1:1,d=e[t+c];for(c+=l,o=d&(1<<-h)-1,d>>=-h,h+=s;h>0;o=256*o+e[t+c],c+=l,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=256*a+e[t+c],c+=l,h-=8);if(0===o)o=1-f;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=f}return(d?-1:1)*a*Math.pow(2,o-n)}function R(e,t,r,n,i,o){var a,s,u,f=8*o-i-1,h=(1<<f)-1,c=h>>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=h):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+c>=1?l/u:l*Math.pow(2,1-c))*u>=2&&(a++,u/=2),a+c>=h?(s=0,a=h):a+c>=1?(s=(t*u-1)*Math.pow(2,i),a+=c):(s=t*Math.pow(2,c-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,f+=i;f>0;e[r+d]=255&a,d+=p,a/=256,f-=8);e[r+d-p]|=128*g}var E={}.toString,S=Array.isArray||function(e){return"[object Array]"==E.call(e)};function k(){return L.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function A(e,t){if(k()<t)throw new RangeError("Invalid typed array length");return L.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=L.prototype:(null===e&&(e=new L(t)),e.length=t),e}function L(e,t,r){if(!(L.TYPED_ARRAY_SUPPORT||this instanceof L))return new L(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return P(this,e)}return T(this,e,t,r)}function T(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);L.TYPED_ARRAY_SUPPORT?(e=t).__proto__=L.prototype:e=M(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!L.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|x(t,r),i=(e=A(e,n)).write(t,r);i!==n&&(e=e.slice(0,i));return e}(e,t,r):function(e,t){if(C(t)){var r=0|j(t.length);return 0===(e=A(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||function(e){return e!=e}(t.length)?A(e,0):M(e,t);if("Buffer"===t.type&&S(t.data))return M(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function O(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function P(e,t){if(O(t),e=A(e,t<0?0:0|j(t)),!L.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function M(e,t){var r=t.length<0?0:0|j(t.length);e=A(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function j(e){if(e>=k())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k().toString(16)+" bytes");return 0|e}function C(e){return!(null==e||!e._isBuffer)}function x(e,t){if(C(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return se(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return ue(e).length;default:if(n)return se(e).length;t=(""+t).toLowerCase(),n=!0}}function B(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return G(this,t,r);case"utf8":case"utf-8":return H(this,t,r);case"ascii":return V(this,t,r);case"latin1":case"binary":return Z(this,t,r);case"base64":return $(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return K(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function U(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function I(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=L.from(t,n)),C(t))return 0===t.length?-1:D(e,t,r,n,i);if("number"==typeof t)return t&=255,L.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):D(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function D(e,t,r,n,i){var o,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function f(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var h=-1;for(o=r;o<s;o++)if(f(e,o)===f(t,-1===h?0:o-h)){if(-1===h&&(h=o),o-h+1===u)return h*a}else-1!==h&&(o-=o-h),h=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){for(var c=!0,l=0;l<u;l++)if(f(e,o+l)!==f(t,l)){c=!1;break}if(c)return o}return-1}function Y(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function F(e,t,r,n){return fe(se(t,e.length-r),e,r,n)}function z(e,t,r,n){return fe(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function N(e,t,r,n){return z(e,t,r,n)}function q(e,t,r,n){return fe(ue(t),e,r,n)}function W(e,t,r,n){return fe(function(e,t){for(var r,n,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function $(e,t,r){return 0===t&&r===e.length?m(e):m(e.slice(t,r))}function H(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,u,f=e[i],h=null,c=f>239?4:f>223?3:f>191?2:1;if(i+c<=r)switch(c){case 1:f<128&&(h=f);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&f)<<6|63&o)>127&&(h=u);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(u=(15&f)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(h=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&f)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(h=u)}null===h?(h=65533,c=1):h>65535&&(h-=65536,n.push(h>>>10&1023|55296),h=56320|1023&h),n.push(h),i+=c}return function(e){var t=e.length;if(t<=J)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=J));return r}(n)}L.TYPED_ARRAY_SUPPORT=void 0===d.TYPED_ARRAY_SUPPORT||d.TYPED_ARRAY_SUPPORT,L.poolSize=8192,L._augment=function(e){return e.__proto__=L.prototype,e},L.from=function(e,t,r){return T(null,e,t,r)},L.TYPED_ARRAY_SUPPORT&&(L.prototype.__proto__=Uint8Array.prototype,L.__proto__=Uint8Array),L.alloc=function(e,t,r){return function(e,t,r,n){return O(t),t<=0?A(e,t):void 0!==r?"string"==typeof n?A(e,t).fill(r,n):A(e,t).fill(r):A(e,t)}(null,e,t,r)},L.allocUnsafe=function(e){return P(null,e)},L.allocUnsafeSlow=function(e){return P(null,e)},L.isBuffer=function(e){return null!=e&&(!!e._isBuffer||he(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&he(e.slice(0,0))}(e))},L.compare=function(e,t){if(!C(e)||!C(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},L.isEncoding=function(e){switch(String(e).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}},L.concat=function(e,t){if(!S(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return L.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=L.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(!C(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},L.byteLength=x,L.prototype._isBuffer=!0,L.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)U(this,t,t+1);return this},L.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)U(this,t,t+3),U(this,t+1,t+2);return this},L.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)U(this,t,t+7),U(this,t+1,t+6),U(this,t+2,t+5),U(this,t+3,t+4);return this},L.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?H(this,0,e):B.apply(this,arguments)},L.prototype.equals=function(e){if(!C(e))throw new TypeError("Argument must be a Buffer");return this===e||0===L.compare(this,e)},L.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},L.prototype.compare=function(e,t,r,n,i){if(!C(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(o,a),u=this.slice(n,i),f=e.slice(t,r),h=0;h<s;++h)if(u[h]!==f[h]){o=u[h],a=f[h];break}return o<a?-1:a<o?1:0},L.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},L.prototype.indexOf=function(e,t,r){return I(this,e,t,r,!0)},L.prototype.lastIndexOf=function(e,t,r){return I(this,e,t,r,!1)},L.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return Y(this,e,t,r);case"utf8":case"utf-8":return F(this,e,t,r);case"ascii":return z(this,e,t,r);case"latin1":case"binary":return N(this,e,t,r);case"base64":return q(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return W(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},L.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var J=4096;function V(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function Z(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function G(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=ae(e[o]);return i}function K(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function Q(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function X(e,t,r,n,i,o){if(!C(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function ee(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function te(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function re(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ne(e,t,r,n,i){return i||re(e,0,r,4),R(e,t,r,n,23,4),r+4}function ie(e,t,r,n,i){return i||re(e,0,r,8),R(e,t,r,n,52,8),r+8}L.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),L.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=L.prototype;else{var i=t-e;r=new L(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+e]}return r},L.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||Q(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},L.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||Q(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},L.prototype.readUInt8=function(e,t){return t||Q(e,1,this.length),this[e]},L.prototype.readUInt16LE=function(e,t){return t||Q(e,2,this.length),this[e]|this[e+1]<<8},L.prototype.readUInt16BE=function(e,t){return t||Q(e,2,this.length),this[e]<<8|this[e+1]},L.prototype.readUInt32LE=function(e,t){return t||Q(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},L.prototype.readUInt32BE=function(e,t){return t||Q(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},L.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||Q(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},L.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||Q(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},L.prototype.readInt8=function(e,t){return t||Q(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},L.prototype.readInt16LE=function(e,t){t||Q(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},L.prototype.readInt16BE=function(e,t){t||Q(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},L.prototype.readInt32LE=function(e,t){return t||Q(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},L.prototype.readInt32BE=function(e,t){return t||Q(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},L.prototype.readFloatLE=function(e,t){return t||Q(e,4,this.length),_(this,e,!0,23,4)},L.prototype.readFloatBE=function(e,t){return t||Q(e,4,this.length),_(this,e,!1,23,4)},L.prototype.readDoubleLE=function(e,t){return t||Q(e,8,this.length),_(this,e,!0,52,8)},L.prototype.readDoubleBE=function(e,t){return t||Q(e,8,this.length),_(this,e,!1,52,8)},L.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||X(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},L.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||X(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},L.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,1,255,0),L.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},L.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,2,65535,0),L.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):ee(this,e,t,!0),t+2},L.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,2,65535,0),L.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):ee(this,e,t,!1),t+2},L.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,4,4294967295,0),L.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):te(this,e,t,!0),t+4},L.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,4,4294967295,0),L.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):te(this,e,t,!1),t+4},L.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);X(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},L.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);X(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},L.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,1,127,-128),L.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},L.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,2,32767,-32768),L.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):ee(this,e,t,!0),t+2},L.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,2,32767,-32768),L.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):ee(this,e,t,!1),t+2},L.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,4,2147483647,-2147483648),L.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):te(this,e,t,!0),t+4},L.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),L.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):te(this,e,t,!1),t+4},L.prototype.writeFloatLE=function(e,t,r){return ne(this,e,t,!0,r)},L.prototype.writeFloatBE=function(e,t,r){return ne(this,e,t,!1,r)},L.prototype.writeDoubleLE=function(e,t,r){return ie(this,e,t,!0,r)},L.prototype.writeDoubleBE=function(e,t,r){return ie(this,e,t,!1,r)},L.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!L.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},L.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!L.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=C(e)?e:se(new L(e,n).toString()),s=a.length;for(o=0;o<r-t;++o)this[o+t]=a[o%s]}return this};var oe=/[^+\/0-9A-Za-z-_]/g;function ae(e){return e<16?"0"+e.toString(16):e.toString(16)}function se(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function ue(e){return function(e){var t,r,n,i,o,a;v||b();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[s-2]?2:"="===e[s-1]?1:0,a=new y(3*s/4-o),n=o>0?s-4:s;var u=0;for(t=0,r=0;t<n;t+=4,r+=3)i=g[e.charCodeAt(t)]<<18|g[e.charCodeAt(t+1)]<<12|g[e.charCodeAt(t+2)]<<6|g[e.charCodeAt(t+3)],a[u++]=i>>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===o?(i=g[e.charCodeAt(t)]<<2|g[e.charCodeAt(t+1)]>>4,a[u++]=255&i):1===o&&(i=g[e.charCodeAt(t)]<<10|g[e.charCodeAt(t+1)]<<4|g[e.charCodeAt(t+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(oe,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function fe(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function he(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function ce(){throw new Error("setTimeout has not been defined")}function le(){throw new Error("clearTimeout has not been defined")}var de=ce,pe=le;function ge(e){if(de===setTimeout)return setTimeout(e,0);if((de===ce||!de)&&setTimeout)return de=setTimeout,setTimeout(e,0);try{return de(e,0)}catch(t){try{return de.call(null,e,0)}catch(t){return de.call(this,e,0)}}}"function"==typeof d.setTimeout&&(de=setTimeout),"function"==typeof d.clearTimeout&&(pe=clearTimeout);var ye,ve=[],be=!1,we=-1;function me(){be&&ye&&(be=!1,ye.length?ve=ye.concat(ve):we=-1,ve.length&&_e())}function _e(){if(!be){var e=ge(me);be=!0;for(var t=ve.length;t;){for(ye=ve,ve=[];++we<t;)ye&&ye[we].run();we=-1,t=ve.length}ye=null,be=!1,function(e){if(pe===clearTimeout)return clearTimeout(e);if((pe===le||!pe)&&clearTimeout)return pe=clearTimeout,clearTimeout(e);try{pe(e)}catch(t){try{return pe.call(null,e)}catch(t){return pe.call(this,e)}}}(e)}}function Re(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];ve.push(new Ee(e,t)),1!==ve.length||be||ge(_e)}function Ee(e,t){this.fun=e,this.array=t}Ee.prototype.run=function(){this.fun.apply(null,this.array)};function Se(){}var ke=Se,Ae=Se,Le=Se,Te=Se,Oe=Se,Pe=Se,Me=Se;var je=d.performance||{},Ce=je.now||je.mozNow||je.msNow||je.oNow||je.webkitNow||function(){return(new Date).getTime()};var xe=new Date;var Be={nextTick:Re,title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:ke,addListener:Ae,once:Le,off:Te,removeListener:Oe,removeAllListeners:Pe,emit:Me,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*Ce.call(je),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-xe)/1e3}},Ue="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e},Ie=/%[sdj%]/g;function De(e){if(!Ge(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(Ne(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,o=String(e).replace(Ie,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),a=n[r];r<i;a=n[++r])Ze(a)||!Xe(a)?o+=" "+a:o+=" "+Ne(a);return o}function Ye(e,t){if(Ke(d.process))return function(){return Ye(e,t).apply(this,arguments)};var r=!1;return function(){return r||(console.error(t),r=!0),e.apply(this,arguments)}}var Fe,ze={};function Ne(e,t){var r={seen:[],stylize:We};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),Ve(t)?r.showHidden=t:t&&it(r,t),Ke(r.showHidden)&&(r.showHidden=!1),Ke(r.depth)&&(r.depth=2),Ke(r.colors)&&(r.colors=!1),Ke(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=qe),$e(r,e,r.depth)}function qe(e,t){var r=Ne.styles[t];return r?"["+Ne.colors[r][0]+"m"+e+"["+Ne.colors[r][1]+"m":e}function We(e,t){return e}function $e(e,t,r){if(e.customInspect&&t&&rt(t.inspect)&&t.inspect!==Ne&&(!t.constructor||t.constructor.prototype!==t)){var n=t.inspect(r,e);return Ge(n)||(n=$e(e,n,r)),n}var i=function(e,t){if(Ke(t))return e.stylize("undefined","undefined");if(Ge(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(n=t,"number"==typeof n)return e.stylize(""+t,"number");var n;if(Ve(t))return e.stylize(""+t,"boolean");if(Ze(t))return e.stylize("null","null")}(e,t);if(i)return i;var o=Object.keys(t),a=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),tt(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return He(t);if(0===o.length){if(rt(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(Qe(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(et(t))return e.stylize(Date.prototype.toString.call(t),"date");if(tt(t))return He(t)}var u,f,h="",c=!1,l=["{","}"];(u=t,Array.isArray(u)&&(c=!0,l=["[","]"]),rt(t))&&(h=" [Function"+(t.name?": "+t.name:"")+"]");return Qe(t)&&(h=" "+RegExp.prototype.toString.call(t)),et(t)&&(h=" "+Date.prototype.toUTCString.call(t)),tt(t)&&(h=" "+He(t)),0!==o.length||c&&0!=t.length?r<0?Qe(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),f=c?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a<s;++a)ot(t,String(a))?o.push(Je(e,t,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(Je(e,t,r,n,i,!0))})),o}(e,t,r,a,o):o.map((function(n){return Je(e,t,r,a,n,c)})),e.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(f,h,l)):l[0]+h+l[1]}function He(e){return"["+Error.prototype.toString.call(e)+"]"}function Je(e,t,r,n,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),ot(n,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=Ze(r)?$e(e,u.value,null):$e(e,u.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),Ke(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function Ve(e){return"boolean"==typeof e}function Ze(e){return null===e}function Ge(e){return"string"==typeof e}function Ke(e){return void 0===e}function Qe(e){return Xe(e)&&"[object RegExp]"===nt(e)}function Xe(t){return"object"===e(t)&&null!==t}function et(e){return Xe(e)&&"[object Date]"===nt(e)}function tt(e){return Xe(e)&&("[object Error]"===nt(e)||e instanceof Error)}function rt(e){return"function"==typeof e}function nt(e){return Object.prototype.toString.call(e)}function it(e,t){if(!t||!Xe(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}function ot(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function at(){this.head=null,this.tail=null,this.length=0}Ne.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]},Ne.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},at.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},at.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},at.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},at.prototype.clear=function(){this.head=this.tail=null,this.length=0},at.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},at.prototype.concat=function(e){if(0===this.length)return L.alloc(0);if(1===this.length)return this.head.data;for(var t=L.allocUnsafe(e>>>0),r=this.head,n=0;r;)r.data.copy(t,n),n+=r.data.length,r=r.next;return t};var st=L.isEncoding||function(e){switch(e&&e.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 ut(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!st(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=ht;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=ct;break;default:return void(this.write=ft)}this.charBuffer=new L(6),this.charReceived=0,this.charLength=0}function ft(e){return e.toString(this.encoding)}function ht(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function ct(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}ut.prototype.write=function(e){for(var t="";this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";if(e=e.slice(r,e.length),!((i=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1))>=55296&&i<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var n=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,n),n-=this.charReceived);var i;n=(t+=e.toString(this.encoding,0,n)).length-1;if((i=t.charCodeAt(n))>=55296&&i<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,n)}return t},ut.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var r=e[e.length-t];if(1==t&&r>>5==6){this.charLength=2;break}if(t<=2&&r>>4==14){this.charLength=3;break}if(t<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=t},ut.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var r=this.charReceived,n=this.charBuffer,i=this.encoding;t+=n.slice(0,r).toString(i)}return t},pt.ReadableState=dt;var lt=function(e){if(Ke(Fe)&&(Fe=""),e=e.toUpperCase(),!ze[e])if(new RegExp("\\b"+e+"\\b","i").test(Fe)){ze[e]=function(){var t=De.apply(null,arguments);console.error("%s %d: %s",e,0,t)}}else ze[e]=function(){};return ze[e]}("stream");function dt(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof Nt&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var r=e.highWaterMark,n=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:n,this.highWaterMark=~~this.highWaterMark,this.buffer=new at,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.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new ut(e.encoding),this.encoding=e.encoding)}function pt(e){if(!(this instanceof pt))return new pt(e);this._readableState=new dt(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),r.call(this)}function gt(e,t,r,n,i){var o=function(e,t){var r=null;L.isBuffer(t)||"string"==typeof t||null==t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));return r}(t,r);if(o)e.emit("error",o);else if(null===r)t.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,bt(e)}(e,t);else if(t.objectMode||r&&r.length>0)if(t.ended&&!i){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&i){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var u;!t.decoder||i||n||(r=t.decoder.write(r),u=!t.objectMode&&0===r.length),i||(t.reading=!1),u||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&bt(e))),function(e,t){t.readingMore||(t.readingMore=!0,Re(mt,e,t))}(e,t)}else i||(t.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(t)}Ue(pt,r),pt.prototype.push=function(e,t){var r=this._readableState;return r.objectMode||"string"!=typeof e||(t=t||r.defaultEncoding)!==r.encoding&&(e=L.from(e,t),t=""),gt(this,r,e,t,!1)},pt.prototype.unshift=function(e){return gt(this,this._readableState,e,"",!0)},pt.prototype.isPaused=function(){return!1===this._readableState.flowing},pt.prototype.setEncoding=function(e){return this._readableState.decoder=new ut(e),this._readableState.encoding=e,this};var yt=8388608;function vt(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=yt?e=yt:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function bt(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(lt("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?Re(wt,e):wt(e))}function wt(e){lt("emit readable"),e.emit("readable"),Et(e)}function mt(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(lt("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function _t(e){lt("readable nexttick read 0"),e.read(0)}function Rt(e,t){t.reading||(lt("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),Et(e),t.flowing&&!t.reading&&e.read(0)}function Et(e){var t=e._readableState;for(lt("flow",t.flowing);t.flowing&&null!==e.read(););}function St(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;e-=i.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=L.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,a),0===(e-=a)){a===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function kt(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,Re(At,t,e))}function At(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function Lt(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function Tt(){}function Ot(e,t,r){this.chunk=e,this.encoding=t,this.callback=r,this.next=null}function Pt(e,t){Object.defineProperty(this,"buffer",{get:Ye((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")}),e=e||{},this.objectMode=!!e.objectMode,t instanceof Nt&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var r=e.highWaterMark,n=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:n,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var i=!1===e.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?Re(i,n):i(n);e._writableState.errorEmitted=!0,e.emit("error",n)}(e,r,n,t,i);else{var o=Bt(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||xt(e,r),n?Re(Ct,e,r,o,i):Ct(e,r,o,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new Dt(this)}function Mt(e){if(!(this instanceof Mt||this instanceof Nt))return new Mt(e);this._writableState=new Pt(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev)),r.call(this)}function jt(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function Ct(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),It(e,t)}function xt(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var a=0;r;)i[a]=r,r=r.next,a+=1;jt(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new Dt(t)}else{for(;r;){var s=r.chunk,u=r.encoding,f=r.callback;if(jt(e,t,!1,t.objectMode?1:s.length,s,u,f),r=r.next,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=r,t.bufferProcessing=!1}function Bt(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function Ut(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function It(e,t){var r=Bt(t);return r&&(0===t.pendingcb?(Ut(e,t),t.finished=!0,e.emit("finish")):Ut(e,t)),r}function Dt(e){var t=this;this.next=null,this.entry=null,this.finish=function(r){var n=t.entry;for(t.entry=null;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}pt.prototype.read=function(e){lt("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return lt("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?kt(this):bt(this),null;if(0===(e=vt(e,t))&&t.ended)return 0===t.length&&kt(this),null;var n,i=t.needReadable;return lt("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&<("length less than watermark",i=!0),t.ended||t.reading?lt("reading or ended",i=!1):i&&(lt("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=vt(r,t))),null===(n=e>0?St(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&kt(this)),null!==n&&this.emit("data",n),n},pt.prototype._read=function(e){this.emit("error",new Error("not implemented"))},pt.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,lt("pipe count=%d opts=%j",n.pipesCount,t);var i=!t||!1!==t.end?a:f;function o(e){lt("onunpipe"),e===r&&f()}function a(){lt("onend"),e.end()}n.endEmitted?Re(i):r.once("end",i),e.on("unpipe",o);var s=function(e){return function(){var t=e._readableState;lt("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&e.listeners("data").length&&(t.flowing=!0,Et(e))}}(r);e.on("drain",s);var u=!1;function f(){lt("cleanup"),e.removeListener("close",d),e.removeListener("finish",p),e.removeListener("drain",s),e.removeListener("error",l),e.removeListener("unpipe",o),r.removeListener("end",a),r.removeListener("end",f),r.removeListener("data",c),u=!0,!n.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var h=!1;function c(t){lt("ondata"),h=!1,!1!==e.write(t)||h||((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==Lt(n.pipes,e))&&!u&&(lt("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,h=!0),r.pause())}function l(t){var r;lt("onerror",t),g(),e.removeListener("error",l),0===(r="error",e.listeners(r).length)&&e.emit("error",t)}function d(){e.removeListener("finish",p),g()}function p(){lt("onfinish"),e.removeListener("close",d),g()}function g(){lt("unpipe"),r.unpipe(e)}return r.on("data",c),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",l),e.once("close",d),e.once("finish",p),e.emit("pipe",r),n.flowing||(lt("pipe resume"),r.resume()),e},pt.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var r=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<n;i++)r[i].emit("unpipe",this);return this}var o=Lt(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this)),this},pt.prototype.on=function(e,t){var n=r.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var i=this._readableState;i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&bt(this):Re(_t,this))}return n},pt.prototype.addListener=pt.prototype.on,pt.prototype.resume=function(){var e=this._readableState;return e.flowing||(lt("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,Re(Rt,e,t))}(this,e)),this},pt.prototype.pause=function(){return lt("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(lt("pause"),this._readableState.flowing=!1,this.emit("pause")),this},pt.prototype.wrap=function(e){var t=this._readableState,r=!1,n=this;for(var i in e.on("end",(function(){if(lt("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&n.push(e)}n.push(null)})),e.on("data",(function(i){(lt("wrapped data"),t.decoder&&(i=t.decoder.write(i)),t.objectMode&&null==i)||(t.objectMode||i&&i.length)&&(n.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));return function(e,t){for(var r=0,n=e.length;r<n;r++)t(e[r],r)}(["error","close","destroy","pause","resume"],(function(t){e.on(t,n.emit.bind(n,t))})),n._read=function(t){lt("wrapped _read",t),r&&(r=!1,e.resume())},n},pt._fromList=St,Mt.WritableState=Pt,Ue(Mt,r),Pt.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},Mt.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},Mt.prototype.write=function(e,t,r){var n=this._writableState,i=!1;return"function"==typeof t&&(r=t,t=null),L.isBuffer(e)?t="buffer":t||(t=n.defaultEncoding),"function"!=typeof r&&(r=Tt),n.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),Re(t,r)}(this,r):function(e,t,r,n){var i=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):L.isBuffer(r)||"string"==typeof r||void 0===r||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),Re(n,o),i=!1),i}(this,n,e,r)&&(n.pendingcb++,i=function(e,t,r,n,i){r=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=L.from(t,r));return t}(t,r,n),L.isBuffer(r)&&(n="buffer");var o=t.objectMode?1:r.length;t.length+=o;var a=t.length<t.highWaterMark;a||(t.needDrain=!0);if(t.writing||t.corked){var s=t.lastBufferedRequest;t.lastBufferedRequest=new Ot(r,n,i),s?s.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else jt(e,t,!1,o,r,n,i);return a}(this,n,e,t,r)),i},Mt.prototype.cork=function(){this._writableState.corked++},Mt.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||xt(this,e))},Mt.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Mt.prototype._write=function(e,t,r){r(new Error("not implemented"))},Mt.prototype._writev=null,Mt.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,It(e,t),r&&(t.finished?Re(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Ue(Nt,pt);for(var Yt=Object.keys(Mt.prototype),Ft=0;Ft<Yt.length;Ft++){var zt=Yt[Ft];Nt.prototype[zt]||(Nt.prototype[zt]=Mt.prototype[zt])}function Nt(e){if(!(this instanceof Nt))return new Nt(e);pt.call(this,e),Mt.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",qt)}function qt(){this.allowHalfOpen||this._writableState.ended||Re(Wt,this)}function Wt(e){e.end()}function $t(e){this.afterTransform=function(t,r){return function(e,t,r){var n=e._transformState;n.transforming=!1;var i=n.writecb;if(!i)return e.emit("error",new Error("no writecb in Transform class"));n.writechunk=null,n.writecb=null,null!=r&&e.push(r);i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}(e,t,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function Ht(e){if(!(this instanceof Ht))return new Ht(e);Nt.call(this,e),this._transformState=new $t(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",(function(){"function"==typeof this._flush?this._flush((function(e){Jt(t,e)})):Jt(t)}))}function Jt(e,t){if(t)return e.emit("error",t);var r=e._writableState,n=e._transformState;if(r.length)throw new Error("Calling transform done when ws.length != 0");if(n.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}function Vt(e){if(!(this instanceof Vt))return new Vt(e);Ht.call(this,e)}function Zt(){r.call(this)}Ue(Ht,Nt),Ht.prototype.push=function(e,t){return this._transformState.needTransform=!1,Nt.prototype.push.call(this,e,t)},Ht.prototype._transform=function(e,t,r){throw new Error("Not implemented")},Ht.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},Ht.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},Ue(Vt,Ht),Vt.prototype._transform=function(e,t,r){r(null,e)},Ue(Zt,r),Zt.Readable=pt,Zt.Writable=Mt,Zt.Duplex=Nt,Zt.Transform=Ht,Zt.PassThrough=Vt,Zt.Stream=Zt,Zt.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",u));var a=!1;function s(){a||(a=!0,e.end())}function u(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function f(e){if(h(),0===r.listenerCount(this,"error"))throw e}function h(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",u),n.removeListener("error",f),e.removeListener("error",f),n.removeListener("end",h),n.removeListener("close",h),e.removeListener("close",h)}return n.on("error",f),e.on("error",f),n.on("end",h),n.on("close",h),e.on("close",h),e.emit("pipe",n),e};var Gt,Kt=1,Qt={},Xt=!1,er=d.document;function tr(e){if(Xt)setTimeout(tr,0,e);else{var t=Qt[e];if(t){Xt=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(void 0,r)}}(t)}finally{!function(e){delete Qt[e]}(e),Xt=!1}}}}var rr,nr,ir,or,ar=Object.getPrototypeOf&&Object.getPrototypeOf(d);ar=ar&&ar.setTimeout?ar:d,"[object process]"==={}.toString.call(d.process)?Gt=function(e){Be.nextTick((function(){tr(e)}))}:!function(){if(d.postMessage&&!d.importScripts){var e=!0,t=d.onmessage;return d.onmessage=function(){e=!1},d.postMessage("","*"),d.onmessage=t,e}}()?d.MessageChannel?((nr=new MessageChannel).port1.onmessage=function(e){tr(e.data)},Gt=function(e){nr.port2.postMessage(e)}):er&&"onreadystatechange"in er.createElement("script")?(rr=er.documentElement,Gt=function(e){var t=er.createElement("script");t.onreadystatechange=function(){tr(e),t.onreadystatechange=null,rr.removeChild(t),t=null},rr.appendChild(t)}):Gt=function(e){setTimeout(tr,0,e)}:(ir="setImmediate$"+Math.random()+"$",or=function(e){e.source===d&&"string"==typeof e.data&&0===e.data.indexOf(ir)&&tr(+e.data.slice(ir.length))},d.addEventListener?d.addEventListener("message",or,!1):d.attachEvent("onmessage",or),Gt=function(e){d.postMessage(ir+e,"*")});var sr=function(e,t){return(sr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};var ur,fr=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,hr={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function cr(t){return t?"function"==typeof t.then?ur.Promise:function(e){return"function"==typeof e.read&&"function"==typeof e.pause&&"function"==typeof e.resume&&"function"==typeof e.pipe&&"function"==typeof e.once&&"function"==typeof e.removeListener}(t)?t._readableState.objectMode?ur.ReadableObject:ur.ReadableString:Array.isArray(t)?ur.Array:"object"===e(t)||t instanceof Object?ur.Object:ur.Primitive:ur.Primitive}!function(e){e[e.Array=0]="Array",e[e.Object=1]="Object",e[e.ReadableString=2]="ReadableString",e[e.ReadableObject=3]="ReadableObject",e[e.Primitive=4]="Primitive",e[e.Promise=5]="Promise"}(ur||(ur={}));var lr=[];lr[ur.Array]="[",lr[ur.Object]="{",lr[ur.ReadableString]='"',lr[ur.ReadableObject]="[";var dr=[];dr[ur.Array]="]",dr[ur.Object]="}",dr[ur.ReadableString]='"',dr[ur.ReadableObject]="]";for(var pr=[],gr=0,yr=Object.entries(ur);gr<yr.length;gr++){var vr=yr[gr],br=vr[0],wr=vr[1];"number"==typeof wr&&(pr[wr]="process"+br)}function mr(e){return e.replace(fr,(function(e){var t=hr[e];return"string"==typeof t?t:"\\u"+e.charCodeAt(0).toString(16).padStart(4,"0")}))}function _r(e){return'"'+mr(e)+'"'}function Rr(e,t){var r=e.read(t);return null===r?new Promise((function(t,r){var n=function(){return t(null)};e.once("end",n),e.once("error",r),e.once("readable",(function(){e.removeListener("end",n),e.removeListener("error",r),t(e.read())}))})):Promise.resolve(r)}function Er(e){return e.then((function(e){return cr(e)===ur.Promise?Er(e):e}))}return function(t){function r(r,n,i,o){void 0===o&&(o=!1);var a=t.call(this)||this;a.cycle=o,a.stack=[],a.depth=0,a.pushCalled=!1,a.end=!1,a.isReading=!1,a.readMore=!1;var s=e(i);return"string"!==s&&"number"!==s||(a.gap=Number.isFinite(i)?" ".repeat(i):i),Object.assign(a,{visited:o?new WeakMap:new WeakSet,replacerFunction:n instanceof Function&&n,replacerArray:Array.isArray(n)&&n}),n instanceof Function&&(a.replacerFunction=n),Array.isArray(n)&&(a.replacerArray=n),a.addToStack(r),a}return function(e,t){function r(){this.constructor=e}sr(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(r,t),r.prototype.cycler=function(e,t){var r=this.visited.get(t);if(r)return{$ref:r};var n=this.path();return void 0!==e&&n.push(e),n=n.map((function(e){return"["+(Number.isInteger(e)?e:_r(e))+"]"})),this.visited.set(t,n.length?"$"+n.join(""):"$"),t},r.prototype.addToStack=function(t,r,n,i){var o,a,s=this,u=t;this.replacerFunction&&(u=this.replacerFunction(r||n,u,this)),u&&u.toJSON instanceof Function&&(u=u.toJSON()),(u instanceof Function||"symbol"===e(t))&&(u=void 0),void 0!==r&&this.replacerArray&&(this.replacerArray.includes(r)||(u=void 0));var f=cr(u);if((i&&i.type===ur.Array||void 0!==u)&&f!==ur.Promise&&(i&&!i.first&&this._push(","),i&&(i.first=!1)),void 0!==u&&f!==ur.Promise&&r&&(this.gap?this._push("\n"+this.gap.repeat(this.depth)+'"'+mr(r)+'": '):this._push('"'+mr(r)+'":')),f!==ur.Primitive)if(this.cycle)f=cr(u=this.cycler(r||n,u));else{if(this.visited.has(u))throw Object.assign(new Error("Converting circular structure to JSON"),{realValue:u,key:r||n});this.visited.add(u)}!r&&n>-1&&this.depth&&this.gap&&this._push("\n"+this.gap.repeat(this.depth));var h=lr[f];h&&this._push(h);var c={key:r,index:n,type:f,parent:i,value:u,first:!0};return f===ur.Object?(this.depth+=1,c.unread=Object.keys(u),c.isEmpty=!c.unread.length):f===ur.Array?(this.depth+=1,c.unread=u.length,c.arrayLength=c.unread,c.isEmpty=!c.unread):f!==ur.ReadableString&&f!==ur.ReadableObject||(this.depth+=1,u.readableEnded||(null===(o=u._readableState)||void 0===o?void 0:o.endEmitted)?this.emit("error",new Error("Readable Stream has ended before it was serialized. All stream data have been lost"),u,r||n):(u.readableFlowing||(null===(a=u._readableState)||void 0===a?void 0:a.flowing))&&(u.pause(),this.emit("error",new Error("Readable Stream is in flowing mode, data may have been lost. Trying to pause stream."),u,r||n)),c.readCount=0,u.once("end",(function(){c.end=!0,s.__read()})),u.once("error",(function(e){s.error=!0,s.emit("error",e)}))),this.stack.unshift(c),c},r.prototype.removeFromStack=function(e){var t=e.type,r=t===ur.Object||t===ur.Array||t===ur.ReadableString||t===ur.ReadableObject;t!==ur.Primitive&&(this.cycle||this.visited.delete(e.value),r&&(this.depth-=1));var n=dr[t];r&&!e.isEmpty&&this.gap&&this._push("\n"+this.gap.repeat(this.depth)),n&&this._push(n);var i=this.stack.indexOf(e);this.stack.splice(i,1)},r.prototype._push=function(e){this.pushCalled=!0,this.push(e)},r.prototype.processReadableObject=function(e,t){var r=this;if(!e.end)return Rr(e.value,t).then((function(t){null!==t&&(e.first||r._push(","),e.first=!1,r.addToStack(t,void 0,e.readCount),e.readCount+=1)}));this.removeFromStack(e)},r.prototype.processObject=function(e){if(e.unread.length){var t=e.unread.shift(),r=e.value[t];this.addToStack(r,t,void 0,e)}else this.removeFromStack(e)},r.prototype.processArray=function(e){var t=e.unread;if(t){var r=e.arrayLength-t,n=e.value[r];e.unread-=1,this.addToStack(n,void 0,r,e)}else this.removeFromStack(e)},r.prototype.processPrimitive=function(t){if(void 0!==t.value){var r,n=e(t.value);switch(n){case"string":r=_r(t.value);break;case"number":r=Number.isFinite(t.value)?String(t.value):"null";break;case"boolean":r=String(t.value);break;case"object":t.value||(r="null");break;default:throw Object.assign(new Error('Unknown type "'+n+'". Please file an issue!'),{value:t.value})}this._push(r)}else!this.stack[1]||this.stack[1].type!==ur.Array&&this.stack[1].type!==ur.ReadableObject?t.addSeparatorAfterEnd=!1:this._push("null");this.removeFromStack(t)},r.prototype.processReadableString=function(e,t){var r=this;if(!e.end)return Rr(e.value,t).then((function(e){e&&r._push(mr(e.toString()))}));this.removeFromStack(e)},r.prototype.processPromise=function(e){var t=this;return Er(e.value).then((function(r){t.removeFromStack(e),t.addToStack(r,e.key,e.index,e.parent)}))},r.prototype.processStackTopItem=function(e){var t,r=this,n=this.stack[0];if(!n||this.error)return Promise.resolve();try{t=this[pr[n.type]](n,e)}catch(e){return Promise.reject(e)}return Promise.resolve(t).then((function(){0===r.stack.length&&(r.end=!0,r._push(null))}))},r.prototype.__read=function(e){var t=this;if(!this.isReading&&!this.error)return this.isReading=!0,this.readMore=!1,this.processStackTopItem(e).then((function(){!t.end&&!t.error&&(t.readMore||!t.pushCalled)?function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var n={callback:e,args:t};Qt[Kt]=n,Gt(Kt),Kt++}((function(){t.isReading=!1,t.__read()})):t.isReading=!1})).catch((function(e){t.error=!0,t.emit("error",e)}));this.readMore=!0},r.prototype._read=function(e){this.pushCalled=!1,this.__read(e)},r.prototype.path=function(){return this.stack.map((function(e){var t=e.key,r=e.index;return t||r})).filter((function(e){return e||e>-1})).reverse()},r}(pt)}));
|
|
6
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self)["json-stream-stringify"]=t()}(this,(function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(){}function r(){r.init.call(this)}function n(e){return void 0===e._maxListeners?r.defaultMaxListeners:e._maxListeners}function i(e,t,r){if(t)e.call(r);else for(var n=e.length,i=l(e,n),o=0;o<n;++o)i[o].call(r)}function o(e,t,r,n){if(t)e.call(r,n);else for(var i=e.length,o=l(e,i),a=0;a<i;++a)o[a].call(r,n)}function a(e,t,r,n,i){if(t)e.call(r,n,i);else for(var o=e.length,a=l(e,o),s=0;s<o;++s)a[s].call(r,n,i)}function s(e,t,r,n,i,o){if(t)e.call(r,n,i,o);else for(var a=e.length,s=l(e,a),u=0;u<a;++u)s[u].call(r,n,i,o)}function u(e,t,r,n){if(t)e.apply(r,n);else for(var i=e.length,o=l(e,i),a=0;a<i;++a)o[a].apply(r,n)}function f(e,r,i,o){var a,s,u,f;if("function"!=typeof i)throw new TypeError('"listener" argument must be a function');if((s=e._events)?(s.newListener&&(e.emit("newListener",r,i.listener?i.listener:i),s=e._events),u=s[r]):(s=e._events=new t,e._eventsCount=0),u){if("function"==typeof u?u=s[r]=o?[i,u]:[u,i]:o?u.unshift(i):u.push(i),!u.warned&&(a=n(e))&&a>0&&u.length>a){u.warned=!0;var h=new Error("Possible EventEmitter memory leak detected. "+u.length+" "+r+" listeners added. Use emitter.setMaxListeners() to increase limit");h.name="MaxListenersExceededWarning",h.emitter=e,h.type=r,h.count=u.length,f=h,"function"==typeof console.warn?console.warn(f):console.log(f)}}else u=s[r]=i,++e._eventsCount;return e}function h(e,t,r){var n=!1;function i(){e.removeListener(t,i),n||(n=!0,r.apply(e,arguments))}return i.listener=r,i}function c(e){var t=this._events;if(t){var r=t[e];if("function"==typeof r)return 1;if(r)return r.length}return 0}function l(e,t){for(var r=new Array(t);t--;)r[t]=e[t];return r}t.prototype=Object.create(null),r.EventEmitter=r,r.usingDomains=!1,r.prototype.domain=void 0,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.init=function(){this.domain=null,r.usingDomains&&undefined.active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new t,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},r.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},r.prototype.getMaxListeners=function(){return n(this)},r.prototype.emit=function(e){var t,r,n,f,h,c,l,d="error"===e;if(c=this._events)d=d&&null==c.error;else if(!d)return!1;if(l=this.domain,d){if(t=arguments[1],!l){if(t instanceof Error)throw t;var p=new Error('Uncaught, unspecified "error" event. ('+t+")");throw p.context=t,p}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=l,t.domainThrown=!1,l.emit("error",t),!1}if(!(r=c[e]))return!1;var g="function"==typeof r;switch(n=arguments.length){case 1:i(r,g,this);break;case 2:o(r,g,this,arguments[1]);break;case 3:a(r,g,this,arguments[1],arguments[2]);break;case 4:s(r,g,this,arguments[1],arguments[2],arguments[3]);break;default:for(f=new Array(n-1),h=1;h<n;h++)f[h-1]=arguments[h];u(r,g,this,f)}return!0},r.prototype.addListener=function(e,t){return f(this,e,t,!1)},r.prototype.on=r.prototype.addListener,r.prototype.prependListener=function(e,t){return f(this,e,t,!0)},r.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,h(this,e,t)),this},r.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,h(this,e,t)),this},r.prototype.removeListener=function(e,r){var n,i,o,a,s;if("function"!=typeof r)throw new TypeError('"listener" argument must be a function');if(!(i=this._events))return this;if(!(n=i[e]))return this;if(n===r||n.listener&&n.listener===r)0==--this._eventsCount?this._events=new t:(delete i[e],i.removeListener&&this.emit("removeListener",e,n.listener||r));else if("function"!=typeof n){for(o=-1,a=n.length;a-- >0;)if(n[a]===r||n[a].listener&&n[a].listener===r){s=n[a].listener,o=a;break}if(o<0)return this;if(1===n.length){if(n[0]=void 0,0==--this._eventsCount)return this._events=new t,this;delete i[e]}else!function(e,t){for(var r=t,n=r+1,i=e.length;n<i;r+=1,n+=1)e[r]=e[n];e.pop()}(n,o);i.removeListener&&this.emit("removeListener",e,s||r)}return this},r.prototype.removeAllListeners=function(e){var r,n;if(!(n=this._events))return this;if(!n.removeListener)return 0===arguments.length?(this._events=new t,this._eventsCount=0):n[e]&&(0==--this._eventsCount?this._events=new t:delete n[e]),this;if(0===arguments.length){for(var i,o=Object.keys(n),a=0;a<o.length;++a)"removeListener"!==(i=o[a])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=new t,this._eventsCount=0,this}if("function"==typeof(r=n[e]))this.removeListener(e,r);else if(r)do{this.removeListener(e,r[r.length-1])}while(r[0]);return this},r.prototype.listeners=function(e){var t,r=this._events;return r&&(t=r[e])?"function"==typeof t?[t.listener||t]:function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(t):[]},r.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):c.call(e,t)},r.prototype.listenerCount=c,r.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};var d="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},p=[],g=[],y="undefined"!=typeof Uint8Array?Uint8Array:Array,v=!1;function b(){v=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,r=e.length;t<r;++t)p[t]=e[t],g[e.charCodeAt(t)]=t;g["-".charCodeAt(0)]=62,g["_".charCodeAt(0)]=63}function w(e,t,r){for(var n,i,o=[],a=t;a<r;a+=3)n=(e[a]<<16)+(e[a+1]<<8)+e[a+2],o.push(p[(i=n)>>18&63]+p[i>>12&63]+p[i>>6&63]+p[63&i]);return o.join("")}function m(e){var t;v||b();for(var r=e.length,n=r%3,i="",o=[],a=16383,s=0,u=r-n;s<u;s+=a)o.push(w(e,s,s+a>u?u:s+a));return 1===n?(t=e[r-1],i+=p[t>>2],i+=p[t<<4&63],i+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],i+=p[t>>10],i+=p[t>>4&63],i+=p[t<<2&63],i+="="),o.push(i),o.join("")}function _(e,t,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,f=u>>1,h=-7,c=r?i-1:0,l=r?-1:1,d=e[t+c];for(c+=l,o=d&(1<<-h)-1,d>>=-h,h+=s;h>0;o=256*o+e[t+c],c+=l,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=256*a+e[t+c],c+=l,h-=8);if(0===o)o=1-f;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=f}return(d?-1:1)*a*Math.pow(2,o-n)}function E(e,t,r,n,i,o){var a,s,u,f=8*o-i-1,h=(1<<f)-1,c=h>>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=h):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+c>=1?l/u:l*Math.pow(2,1-c))*u>=2&&(a++,u/=2),a+c>=h?(s=0,a=h):a+c>=1?(s=(t*u-1)*Math.pow(2,i),a+=c):(s=t*Math.pow(2,c-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,f+=i;f>0;e[r+d]=255&a,d+=p,a/=256,f-=8);e[r+d-p]|=128*g}var R={}.toString,S=Array.isArray||function(e){return"[object Array]"==R.call(e)};function k(){return L.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function A(e,t){if(k()<t)throw new RangeError("Invalid typed array length");return L.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=L.prototype:(null===e&&(e=new L(t)),e.length=t),e}function L(e,t,r){if(!(L.TYPED_ARRAY_SUPPORT||this instanceof L))return new L(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return P(this,e)}return T(this,e,t,r)}function T(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);L.TYPED_ARRAY_SUPPORT?(e=t).__proto__=L.prototype:e=M(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!L.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|x(t,r),i=(e=A(e,n)).write(t,r);i!==n&&(e=e.slice(0,i));return e}(e,t,r):function(e,t){if(C(t)){var r=0|j(t.length);return 0===(e=A(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||function(e){return e!=e}(t.length)?A(e,0):M(e,t);if("Buffer"===t.type&&S(t.data))return M(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function O(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function P(e,t){if(O(t),e=A(e,t<0?0:0|j(t)),!L.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function M(e,t){var r=t.length<0?0:0|j(t.length);e=A(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function j(e){if(e>=k())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k().toString(16)+" bytes");return 0|e}function C(e){return!(null==e||!e._isBuffer)}function x(e,t){if(C(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return se(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return ue(e).length;default:if(n)return se(e).length;t=(""+t).toLowerCase(),n=!0}}function B(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Z(this,t,r);case"utf8":case"utf-8":return H(this,t,r);case"ascii":return G(this,t,r);case"latin1":case"binary":return V(this,t,r);case"base64":return $(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return K(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function U(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function D(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=L.from(t,n)),C(t))return 0===t.length?-1:I(e,t,r,n,i);if("number"==typeof t)return t&=255,L.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):I(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function I(e,t,r,n,i){var o,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function f(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var h=-1;for(o=r;o<s;o++)if(f(e,o)===f(t,-1===h?0:o-h)){if(-1===h&&(h=o),o-h+1===u)return h*a}else-1!==h&&(o-=o-h),h=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){for(var c=!0,l=0;l<u;l++)if(f(e,o+l)!==f(t,l)){c=!1;break}if(c)return o}return-1}function Y(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function F(e,t,r,n){return fe(se(t,e.length-r),e,r,n)}function z(e,t,r,n){return fe(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function N(e,t,r,n){return z(e,t,r,n)}function q(e,t,r,n){return fe(ue(t),e,r,n)}function W(e,t,r,n){return fe(function(e,t){for(var r,n,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function $(e,t,r){return 0===t&&r===e.length?m(e):m(e.slice(t,r))}function H(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,u,f=e[i],h=null,c=f>239?4:f>223?3:f>191?2:1;if(i+c<=r)switch(c){case 1:f<128&&(h=f);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&f)<<6|63&o)>127&&(h=u);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(u=(15&f)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(h=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&f)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(h=u)}null===h?(h=65533,c=1):h>65535&&(h-=65536,n.push(h>>>10&1023|55296),h=56320|1023&h),n.push(h),i+=c}return function(e){var t=e.length;if(t<=J)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=J));return r}(n)}L.TYPED_ARRAY_SUPPORT=void 0===d.TYPED_ARRAY_SUPPORT||d.TYPED_ARRAY_SUPPORT,L.poolSize=8192,L._augment=function(e){return e.__proto__=L.prototype,e},L.from=function(e,t,r){return T(null,e,t,r)},L.TYPED_ARRAY_SUPPORT&&(L.prototype.__proto__=Uint8Array.prototype,L.__proto__=Uint8Array),L.alloc=function(e,t,r){return function(e,t,r,n){return O(t),t<=0?A(e,t):void 0!==r?"string"==typeof n?A(e,t).fill(r,n):A(e,t).fill(r):A(e,t)}(null,e,t,r)},L.allocUnsafe=function(e){return P(null,e)},L.allocUnsafeSlow=function(e){return P(null,e)},L.isBuffer=function(e){return null!=e&&(!!e._isBuffer||he(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&he(e.slice(0,0))}(e))},L.compare=function(e,t){if(!C(e)||!C(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},L.isEncoding=function(e){switch(String(e).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}},L.concat=function(e,t){if(!S(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return L.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=L.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(!C(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},L.byteLength=x,L.prototype._isBuffer=!0,L.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)U(this,t,t+1);return this},L.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)U(this,t,t+3),U(this,t+1,t+2);return this},L.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)U(this,t,t+7),U(this,t+1,t+6),U(this,t+2,t+5),U(this,t+3,t+4);return this},L.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?H(this,0,e):B.apply(this,arguments)},L.prototype.equals=function(e){if(!C(e))throw new TypeError("Argument must be a Buffer");return this===e||0===L.compare(this,e)},L.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},L.prototype.compare=function(e,t,r,n,i){if(!C(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(o,a),u=this.slice(n,i),f=e.slice(t,r),h=0;h<s;++h)if(u[h]!==f[h]){o=u[h],a=f[h];break}return o<a?-1:a<o?1:0},L.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},L.prototype.indexOf=function(e,t,r){return D(this,e,t,r,!0)},L.prototype.lastIndexOf=function(e,t,r){return D(this,e,t,r,!1)},L.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return Y(this,e,t,r);case"utf8":case"utf-8":return F(this,e,t,r);case"ascii":return z(this,e,t,r);case"latin1":case"binary":return N(this,e,t,r);case"base64":return q(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return W(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},L.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var J=4096;function G(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function V(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function Z(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=ae(e[o]);return i}function K(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function Q(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function X(e,t,r,n,i,o){if(!C(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function ee(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function te(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function re(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ne(e,t,r,n,i){return i||re(e,0,r,4),E(e,t,r,n,23,4),r+4}function ie(e,t,r,n,i){return i||re(e,0,r,8),E(e,t,r,n,52,8),r+8}L.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),L.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=L.prototype;else{var i=t-e;r=new L(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+e]}return r},L.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||Q(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},L.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||Q(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},L.prototype.readUInt8=function(e,t){return t||Q(e,1,this.length),this[e]},L.prototype.readUInt16LE=function(e,t){return t||Q(e,2,this.length),this[e]|this[e+1]<<8},L.prototype.readUInt16BE=function(e,t){return t||Q(e,2,this.length),this[e]<<8|this[e+1]},L.prototype.readUInt32LE=function(e,t){return t||Q(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},L.prototype.readUInt32BE=function(e,t){return t||Q(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},L.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||Q(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},L.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||Q(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},L.prototype.readInt8=function(e,t){return t||Q(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},L.prototype.readInt16LE=function(e,t){t||Q(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},L.prototype.readInt16BE=function(e,t){t||Q(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},L.prototype.readInt32LE=function(e,t){return t||Q(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},L.prototype.readInt32BE=function(e,t){return t||Q(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},L.prototype.readFloatLE=function(e,t){return t||Q(e,4,this.length),_(this,e,!0,23,4)},L.prototype.readFloatBE=function(e,t){return t||Q(e,4,this.length),_(this,e,!1,23,4)},L.prototype.readDoubleLE=function(e,t){return t||Q(e,8,this.length),_(this,e,!0,52,8)},L.prototype.readDoubleBE=function(e,t){return t||Q(e,8,this.length),_(this,e,!1,52,8)},L.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||X(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},L.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||X(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},L.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,1,255,0),L.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},L.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,2,65535,0),L.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):ee(this,e,t,!0),t+2},L.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,2,65535,0),L.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):ee(this,e,t,!1),t+2},L.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,4,4294967295,0),L.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):te(this,e,t,!0),t+4},L.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,4,4294967295,0),L.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):te(this,e,t,!1),t+4},L.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);X(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},L.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);X(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},L.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,1,127,-128),L.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},L.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,2,32767,-32768),L.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):ee(this,e,t,!0),t+2},L.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,2,32767,-32768),L.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):ee(this,e,t,!1),t+2},L.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,4,2147483647,-2147483648),L.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):te(this,e,t,!0),t+4},L.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||X(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),L.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):te(this,e,t,!1),t+4},L.prototype.writeFloatLE=function(e,t,r){return ne(this,e,t,!0,r)},L.prototype.writeFloatBE=function(e,t,r){return ne(this,e,t,!1,r)},L.prototype.writeDoubleLE=function(e,t,r){return ie(this,e,t,!0,r)},L.prototype.writeDoubleBE=function(e,t,r){return ie(this,e,t,!1,r)},L.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!L.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},L.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!L.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=C(e)?e:se(new L(e,n).toString()),s=a.length;for(o=0;o<r-t;++o)this[o+t]=a[o%s]}return this};var oe=/[^+\/0-9A-Za-z-_]/g;function ae(e){return e<16?"0"+e.toString(16):e.toString(16)}function se(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function ue(e){return function(e){var t,r,n,i,o,a;v||b();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[s-2]?2:"="===e[s-1]?1:0,a=new y(3*s/4-o),n=o>0?s-4:s;var u=0;for(t=0,r=0;t<n;t+=4,r+=3)i=g[e.charCodeAt(t)]<<18|g[e.charCodeAt(t+1)]<<12|g[e.charCodeAt(t+2)]<<6|g[e.charCodeAt(t+3)],a[u++]=i>>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===o?(i=g[e.charCodeAt(t)]<<2|g[e.charCodeAt(t+1)]>>4,a[u++]=255&i):1===o&&(i=g[e.charCodeAt(t)]<<10|g[e.charCodeAt(t+1)]<<4|g[e.charCodeAt(t+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(oe,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function fe(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function he(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function ce(){throw new Error("setTimeout has not been defined")}function le(){throw new Error("clearTimeout has not been defined")}var de=ce,pe=le;function ge(e){if(de===setTimeout)return setTimeout(e,0);if((de===ce||!de)&&setTimeout)return de=setTimeout,setTimeout(e,0);try{return de(e,0)}catch(t){try{return de.call(null,e,0)}catch(t){return de.call(this,e,0)}}}"function"==typeof d.setTimeout&&(de=setTimeout),"function"==typeof d.clearTimeout&&(pe=clearTimeout);var ye,ve=[],be=!1,we=-1;function me(){be&&ye&&(be=!1,ye.length?ve=ye.concat(ve):we=-1,ve.length&&_e())}function _e(){if(!be){var e=ge(me);be=!0;for(var t=ve.length;t;){for(ye=ve,ve=[];++we<t;)ye&&ye[we].run();we=-1,t=ve.length}ye=null,be=!1,function(e){if(pe===clearTimeout)return clearTimeout(e);if((pe===le||!pe)&&clearTimeout)return pe=clearTimeout,clearTimeout(e);try{pe(e)}catch(t){try{return pe.call(null,e)}catch(t){return pe.call(this,e)}}}(e)}}function Ee(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];ve.push(new Re(e,t)),1!==ve.length||be||ge(_e)}function Re(e,t){this.fun=e,this.array=t}Re.prototype.run=function(){this.fun.apply(null,this.array)};function Se(){}var ke=Se,Ae=Se,Le=Se,Te=Se,Oe=Se,Pe=Se,Me=Se;var je=d.performance||{},Ce=je.now||je.mozNow||je.msNow||je.oNow||je.webkitNow||function(){return(new Date).getTime()};var xe=new Date;var Be={nextTick:Ee,title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:ke,addListener:Ae,once:Le,off:Te,removeListener:Oe,removeAllListeners:Pe,emit:Me,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*Ce.call(je),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-xe)/1e3}},Ue="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e},De=/%[sdj%]/g;function Ie(e){if(!Ze(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(Ne(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,o=String(e).replace(De,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),a=n[r];r<i;a=n[++r])Ve(a)||!Xe(a)?o+=" "+a:o+=" "+Ne(a);return o}function Ye(e,t){if(Ke(d.process))return function(){return Ye(e,t).apply(this,arguments)};if(!0===Be.noDeprecation)return e;var r=!1;return function(){if(!r){if(Be.throwDeprecation)throw new Error(t);Be.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}}var Fe,ze={};function Ne(e,t){var r={seen:[],stylize:We};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),Ge(t)?r.showHidden=t:t&&it(r,t),Ke(r.showHidden)&&(r.showHidden=!1),Ke(r.depth)&&(r.depth=2),Ke(r.colors)&&(r.colors=!1),Ke(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=qe),$e(r,e,r.depth)}function qe(e,t){var r=Ne.styles[t];return r?"["+Ne.colors[r][0]+"m"+e+"["+Ne.colors[r][1]+"m":e}function We(e,t){return e}function $e(e,t,r){if(e.customInspect&&t&&rt(t.inspect)&&t.inspect!==Ne&&(!t.constructor||t.constructor.prototype!==t)){var n=t.inspect(r,e);return Ze(n)||(n=$e(e,n,r)),n}var i=function(e,t){if(Ke(t))return e.stylize("undefined","undefined");if(Ze(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(n=t,"number"==typeof n)return e.stylize(""+t,"number");var n;if(Ge(t))return e.stylize(""+t,"boolean");if(Ve(t))return e.stylize("null","null")}(e,t);if(i)return i;var o=Object.keys(t),a=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),tt(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return He(t);if(0===o.length){if(rt(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(Qe(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(et(t))return e.stylize(Date.prototype.toString.call(t),"date");if(tt(t))return He(t)}var u,f,h="",c=!1,l=["{","}"];(u=t,Array.isArray(u)&&(c=!0,l=["[","]"]),rt(t))&&(h=" [Function"+(t.name?": "+t.name:"")+"]");return Qe(t)&&(h=" "+RegExp.prototype.toString.call(t)),et(t)&&(h=" "+Date.prototype.toUTCString.call(t)),tt(t)&&(h=" "+He(t)),0!==o.length||c&&0!=t.length?r<0?Qe(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),f=c?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a<s;++a)ot(t,String(a))?o.push(Je(e,t,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(Je(e,t,r,n,i,!0))})),o}(e,t,r,a,o):o.map((function(n){return Je(e,t,r,a,n,c)})),e.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(f,h,l)):l[0]+h+l[1]}function He(e){return"["+Error.prototype.toString.call(e)+"]"}function Je(e,t,r,n,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),ot(n,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=Ve(r)?$e(e,u.value,null):$e(e,u.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),Ke(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function Ge(e){return"boolean"==typeof e}function Ve(e){return null===e}function Ze(e){return"string"==typeof e}function Ke(e){return void 0===e}function Qe(e){return Xe(e)&&"[object RegExp]"===nt(e)}function Xe(t){return"object"===e(t)&&null!==t}function et(e){return Xe(e)&&"[object Date]"===nt(e)}function tt(e){return Xe(e)&&("[object Error]"===nt(e)||e instanceof Error)}function rt(e){return"function"==typeof e}function nt(e){return Object.prototype.toString.call(e)}function it(e,t){if(!t||!Xe(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}function ot(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function at(){this.head=null,this.tail=null,this.length=0}Ne.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]},Ne.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},at.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},at.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},at.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},at.prototype.clear=function(){this.head=this.tail=null,this.length=0},at.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},at.prototype.concat=function(e){if(0===this.length)return L.alloc(0);if(1===this.length)return this.head.data;for(var t=L.allocUnsafe(e>>>0),r=this.head,n=0;r;)r.data.copy(t,n),n+=r.data.length,r=r.next;return t};var st=L.isEncoding||function(e){switch(e&&e.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 ut(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!st(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=ht;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=ct;break;default:return void(this.write=ft)}this.charBuffer=new L(6),this.charReceived=0,this.charLength=0}function ft(e){return e.toString(this.encoding)}function ht(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function ct(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}ut.prototype.write=function(e){for(var t="";this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";if(e=e.slice(r,e.length),!((i=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1))>=55296&&i<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var n=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,n),n-=this.charReceived);var i;n=(t+=e.toString(this.encoding,0,n)).length-1;if((i=t.charCodeAt(n))>=55296&&i<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,n)}return t},ut.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var r=e[e.length-t];if(1==t&&r>>5==6){this.charLength=2;break}if(t<=2&&r>>4==14){this.charLength=3;break}if(t<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=t},ut.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var r=this.charReceived,n=this.charBuffer,i=this.encoding;t+=n.slice(0,r).toString(i)}return t},pt.ReadableState=dt;var lt=function(e){if(Ke(Fe)&&(Fe=Be.env.NODE_DEBUG||""),e=e.toUpperCase(),!ze[e])if(new RegExp("\\b"+e+"\\b","i").test(Fe)){ze[e]=function(){var t=Ie.apply(null,arguments);console.error("%s %d: %s",e,0,t)}}else ze[e]=function(){};return ze[e]}("stream");function dt(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof Nt&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var r=e.highWaterMark,n=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:n,this.highWaterMark=~~this.highWaterMark,this.buffer=new at,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.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new ut(e.encoding),this.encoding=e.encoding)}function pt(e){if(!(this instanceof pt))return new pt(e);this._readableState=new dt(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),r.call(this)}function gt(e,t,r,n,i){var o=function(e,t){var r=null;L.isBuffer(t)||"string"==typeof t||null==t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));return r}(t,r);if(o)e.emit("error",o);else if(null===r)t.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,bt(e)}(e,t);else if(t.objectMode||r&&r.length>0)if(t.ended&&!i){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&i){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var u;!t.decoder||i||n||(r=t.decoder.write(r),u=!t.objectMode&&0===r.length),i||(t.reading=!1),u||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&bt(e))),function(e,t){t.readingMore||(t.readingMore=!0,Ee(mt,e,t))}(e,t)}else i||(t.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(t)}Ue(pt,r),pt.prototype.push=function(e,t){var r=this._readableState;return r.objectMode||"string"!=typeof e||(t=t||r.defaultEncoding)!==r.encoding&&(e=L.from(e,t),t=""),gt(this,r,e,t,!1)},pt.prototype.unshift=function(e){return gt(this,this._readableState,e,"",!0)},pt.prototype.isPaused=function(){return!1===this._readableState.flowing},pt.prototype.setEncoding=function(e){return this._readableState.decoder=new ut(e),this._readableState.encoding=e,this};var yt=8388608;function vt(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=yt?e=yt:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function bt(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(lt("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?Ee(wt,e):wt(e))}function wt(e){lt("emit readable"),e.emit("readable"),Rt(e)}function mt(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(lt("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function _t(e){lt("readable nexttick read 0"),e.read(0)}function Et(e,t){t.reading||(lt("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),Rt(e),t.flowing&&!t.reading&&e.read(0)}function Rt(e){var t=e._readableState;for(lt("flow",t.flowing);t.flowing&&null!==e.read(););}function St(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;e-=i.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=L.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,a),0===(e-=a)){a===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function kt(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,Ee(At,t,e))}function At(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function Lt(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function Tt(){}function Ot(e,t,r){this.chunk=e,this.encoding=t,this.callback=r,this.next=null}function Pt(e,t){Object.defineProperty(this,"buffer",{get:Ye((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")}),e=e||{},this.objectMode=!!e.objectMode,t instanceof Nt&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var r=e.highWaterMark,n=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:n,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var i=!1===e.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?Ee(i,n):i(n);e._writableState.errorEmitted=!0,e.emit("error",n)}(e,r,n,t,i);else{var o=Bt(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||xt(e,r),n?Ee(Ct,e,r,o,i):Ct(e,r,o,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new It(this)}function Mt(e){if(!(this instanceof Mt||this instanceof Nt))return new Mt(e);this._writableState=new Pt(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev)),r.call(this)}function jt(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function Ct(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),Dt(e,t)}function xt(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var a=0;r;)i[a]=r,r=r.next,a+=1;jt(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new It(t)}else{for(;r;){var s=r.chunk,u=r.encoding,f=r.callback;if(jt(e,t,!1,t.objectMode?1:s.length,s,u,f),r=r.next,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=r,t.bufferProcessing=!1}function Bt(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function Ut(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function Dt(e,t){var r=Bt(t);return r&&(0===t.pendingcb?(Ut(e,t),t.finished=!0,e.emit("finish")):Ut(e,t)),r}function It(e){var t=this;this.next=null,this.entry=null,this.finish=function(r){var n=t.entry;for(t.entry=null;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}pt.prototype.read=function(e){lt("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return lt("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?kt(this):bt(this),null;if(0===(e=vt(e,t))&&t.ended)return 0===t.length&&kt(this),null;var n,i=t.needReadable;return lt("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&<("length less than watermark",i=!0),t.ended||t.reading?lt("reading or ended",i=!1):i&&(lt("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=vt(r,t))),null===(n=e>0?St(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&kt(this)),null!==n&&this.emit("data",n),n},pt.prototype._read=function(e){this.emit("error",new Error("not implemented"))},pt.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,lt("pipe count=%d opts=%j",n.pipesCount,t);var i=!t||!1!==t.end?a:f;function o(e){lt("onunpipe"),e===r&&f()}function a(){lt("onend"),e.end()}n.endEmitted?Ee(i):r.once("end",i),e.on("unpipe",o);var s=function(e){return function(){var t=e._readableState;lt("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&e.listeners("data").length&&(t.flowing=!0,Rt(e))}}(r);e.on("drain",s);var u=!1;function f(){lt("cleanup"),e.removeListener("close",d),e.removeListener("finish",p),e.removeListener("drain",s),e.removeListener("error",l),e.removeListener("unpipe",o),r.removeListener("end",a),r.removeListener("end",f),r.removeListener("data",c),u=!0,!n.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var h=!1;function c(t){lt("ondata"),h=!1,!1!==e.write(t)||h||((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==Lt(n.pipes,e))&&!u&&(lt("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,h=!0),r.pause())}function l(t){var r;lt("onerror",t),g(),e.removeListener("error",l),0===(r="error",e.listeners(r).length)&&e.emit("error",t)}function d(){e.removeListener("finish",p),g()}function p(){lt("onfinish"),e.removeListener("close",d),g()}function g(){lt("unpipe"),r.unpipe(e)}return r.on("data",c),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",l),e.once("close",d),e.once("finish",p),e.emit("pipe",r),n.flowing||(lt("pipe resume"),r.resume()),e},pt.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var r=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<n;i++)r[i].emit("unpipe",this);return this}var o=Lt(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this)),this},pt.prototype.on=function(e,t){var n=r.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var i=this._readableState;i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&bt(this):Ee(_t,this))}return n},pt.prototype.addListener=pt.prototype.on,pt.prototype.resume=function(){var e=this._readableState;return e.flowing||(lt("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,Ee(Et,e,t))}(this,e)),this},pt.prototype.pause=function(){return lt("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(lt("pause"),this._readableState.flowing=!1,this.emit("pause")),this},pt.prototype.wrap=function(e){var t=this._readableState,r=!1,n=this;for(var i in e.on("end",(function(){if(lt("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&n.push(e)}n.push(null)})),e.on("data",(function(i){(lt("wrapped data"),t.decoder&&(i=t.decoder.write(i)),t.objectMode&&null==i)||(t.objectMode||i&&i.length)&&(n.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));return function(e,t){for(var r=0,n=e.length;r<n;r++)t(e[r],r)}(["error","close","destroy","pause","resume"],(function(t){e.on(t,n.emit.bind(n,t))})),n._read=function(t){lt("wrapped _read",t),r&&(r=!1,e.resume())},n},pt._fromList=St,Mt.WritableState=Pt,Ue(Mt,r),Pt.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},Mt.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},Mt.prototype.write=function(e,t,r){var n=this._writableState,i=!1;return"function"==typeof t&&(r=t,t=null),L.isBuffer(e)?t="buffer":t||(t=n.defaultEncoding),"function"!=typeof r&&(r=Tt),n.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),Ee(t,r)}(this,r):function(e,t,r,n){var i=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):L.isBuffer(r)||"string"==typeof r||void 0===r||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),Ee(n,o),i=!1),i}(this,n,e,r)&&(n.pendingcb++,i=function(e,t,r,n,i){r=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=L.from(t,r));return t}(t,r,n),L.isBuffer(r)&&(n="buffer");var o=t.objectMode?1:r.length;t.length+=o;var a=t.length<t.highWaterMark;a||(t.needDrain=!0);if(t.writing||t.corked){var s=t.lastBufferedRequest;t.lastBufferedRequest=new Ot(r,n,i),s?s.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else jt(e,t,!1,o,r,n,i);return a}(this,n,e,t,r)),i},Mt.prototype.cork=function(){this._writableState.corked++},Mt.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||xt(this,e))},Mt.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Mt.prototype._write=function(e,t,r){r(new Error("not implemented"))},Mt.prototype._writev=null,Mt.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,Dt(e,t),r&&(t.finished?Ee(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Ue(Nt,pt);for(var Yt=Object.keys(Mt.prototype),Ft=0;Ft<Yt.length;Ft++){var zt=Yt[Ft];Nt.prototype[zt]||(Nt.prototype[zt]=Mt.prototype[zt])}function Nt(e){if(!(this instanceof Nt))return new Nt(e);pt.call(this,e),Mt.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",qt)}function qt(){this.allowHalfOpen||this._writableState.ended||Ee(Wt,this)}function Wt(e){e.end()}function $t(e){this.afterTransform=function(t,r){return function(e,t,r){var n=e._transformState;n.transforming=!1;var i=n.writecb;if(!i)return e.emit("error",new Error("no writecb in Transform class"));n.writechunk=null,n.writecb=null,null!=r&&e.push(r);i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}(e,t,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function Ht(e){if(!(this instanceof Ht))return new Ht(e);Nt.call(this,e),this._transformState=new $t(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",(function(){"function"==typeof this._flush?this._flush((function(e){Jt(t,e)})):Jt(t)}))}function Jt(e,t){if(t)return e.emit("error",t);var r=e._writableState,n=e._transformState;if(r.length)throw new Error("Calling transform done when ws.length != 0");if(n.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}function Gt(e){if(!(this instanceof Gt))return new Gt(e);Ht.call(this,e)}function Vt(){r.call(this)}Ue(Ht,Nt),Ht.prototype.push=function(e,t){return this._transformState.needTransform=!1,Nt.prototype.push.call(this,e,t)},Ht.prototype._transform=function(e,t,r){throw new Error("Not implemented")},Ht.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},Ht.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},Ue(Gt,Ht),Gt.prototype._transform=function(e,t,r){r(null,e)},Ue(Vt,r),Vt.Readable=pt,Vt.Writable=Mt,Vt.Duplex=Nt,Vt.Transform=Ht,Vt.PassThrough=Gt,Vt.Stream=Vt,Vt.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",u));var a=!1;function s(){a||(a=!0,e.end())}function u(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function f(e){if(h(),0===r.listenerCount(this,"error"))throw e}function h(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",u),n.removeListener("error",f),e.removeListener("error",f),n.removeListener("end",h),n.removeListener("close",h),e.removeListener("close",h)}return n.on("error",f),e.on("error",f),n.on("end",h),n.on("close",h),e.on("close",h),e.emit("pipe",n),e};var Zt,Kt=1,Qt={},Xt=!1,er=d.document;function tr(e){if(Xt)setTimeout(tr,0,e);else{var t=Qt[e];if(t){Xt=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(void 0,r)}}(t)}finally{!function(e){delete Qt[e]}(e),Xt=!1}}}}var rr,nr,ir,or,ar=Object.getPrototypeOf&&Object.getPrototypeOf(d);ar=ar&&ar.setTimeout?ar:d,"[object process]"==={}.toString.call(d.process)?Zt=function(e){Be.nextTick((function(){tr(e)}))}:!function(){if(d.postMessage&&!d.importScripts){var e=!0,t=d.onmessage;return d.onmessage=function(){e=!1},d.postMessage("","*"),d.onmessage=t,e}}()?d.MessageChannel?((nr=new MessageChannel).port1.onmessage=function(e){tr(e.data)},Zt=function(e){nr.port2.postMessage(e)}):er&&"onreadystatechange"in er.createElement("script")?(rr=er.documentElement,Zt=function(e){var t=er.createElement("script");t.onreadystatechange=function(){tr(e),t.onreadystatechange=null,rr.removeChild(t),t=null},rr.appendChild(t)}):Zt=function(e){setTimeout(tr,0,e)}:(ir="setImmediate$"+Math.random()+"$",or=function(e){e.source===d&&"string"==typeof e.data&&0===e.data.indexOf(ir)&&tr(+e.data.slice(ir.length))},d.addEventListener?d.addEventListener("message",or,!1):d.attachEvent("onmessage",or),Zt=function(e){d.postMessage(ir+e,"*")});var sr=function(e,t){return sr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},sr(e,t)};var ur,fr=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,hr={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function cr(t){return t?"function"==typeof t.then?ur.Promise:function(e){return"function"==typeof e.read&&"function"==typeof e.pause&&"function"==typeof e.resume&&"function"==typeof e.pipe&&"function"==typeof e.once&&"function"==typeof e.removeListener}(t)?t._readableState.objectMode?ur.ReadableObject:ur.ReadableString:Array.isArray(t)?ur.Array:"object"===e(t)||t instanceof Object?ur.Object:ur.Primitive:ur.Primitive}!function(e){e[e.Array=0]="Array",e[e.Object=1]="Object",e[e.ReadableString=2]="ReadableString",e[e.ReadableObject=3]="ReadableObject",e[e.Primitive=4]="Primitive",e[e.Promise=5]="Promise"}(ur||(ur={}));var lr=[];lr[ur.Array]="[",lr[ur.Object]="{",lr[ur.ReadableString]='"',lr[ur.ReadableObject]="[";var dr=[];dr[ur.Array]="]",dr[ur.Object]="}",dr[ur.ReadableString]='"',dr[ur.ReadableObject]="]";for(var pr=[],gr=0,yr=Object.entries(ur);gr<yr.length;gr++){var vr=yr[gr],br=vr[0],wr=vr[1];"number"==typeof wr&&(pr[wr]="process"+br)}function mr(e){return e.replace(fr,(function(e){var t=hr[e];return"string"==typeof t?t:"\\u"+e.charCodeAt(0).toString(16).padStart(4,"0")}))}function _r(e){return'"'+mr(e)+'"'}function Er(e,t){var r=e.read(t);return null===r?new Promise((function(t,r){var n=function(){return t(null)};e.once("end",n),e.once("error",r),e.once("readable",(function(){e.removeListener("end",n),e.removeListener("error",r),t(e.read())}))})):Promise.resolve(r)}function Rr(e){return e.then((function(e){return cr(e)===ur.Promise?Rr(e):e}))}var Sr=function(t){function r(r,n,i,o){void 0===o&&(o=!1);var a=t.call(this)||this;a.cycle=o,a.stack=[],a.depth=0,a.pushCalled=!1,a.end=!1,a.isReading=!1,a.readMore=!1;var s=e(i);return"string"!==s&&"number"!==s||(a.gap=Number.isFinite(i)?" ".repeat(i):i),Object.assign(a,{visited:o?new WeakMap:new WeakSet,replacerFunction:n instanceof Function&&n,replacerArray:Array.isArray(n)&&n}),n instanceof Function&&(a.replacerFunction=n),Array.isArray(n)&&(a.replacerArray=n),a.addToStack(r),a}return function(e,t){function r(){this.constructor=e}sr(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(r,t),r.prototype.cycler=function(e,t){var r=this.visited.get(t);if(r)return{$ref:r};var n=this.path();return void 0!==e&&n.push(e),n=n.map((function(e){return"["+(Number.isInteger(e)?e:_r(e))+"]"})),this.visited.set(t,n.length?"$"+n.join(""):"$"),t},r.prototype.addToStack=function(t,r,n,i){var o,a,s=this,u=t;this.replacerFunction&&(u=this.replacerFunction(r||n,u,this)),u&&u.toJSON instanceof Function&&(u=u.toJSON()),(u instanceof Function||"symbol"===e(t))&&(u=void 0),void 0!==r&&this.replacerArray&&(this.replacerArray.includes(r)||(u=void 0));var f=cr(u);if((i&&i.type===ur.Array||void 0!==u)&&f!==ur.Promise&&(i&&!i.first&&this._push(","),i&&(i.first=!1)),void 0!==u&&f!==ur.Promise&&r&&(this.gap?this._push("\n"+this.gap.repeat(this.depth)+'"'+mr(r)+'": '):this._push('"'+mr(r)+'":')),f!==ur.Primitive)if(this.cycle)f=cr(u=this.cycler(r||n,u));else{if(this.visited.has(u))throw Object.assign(new Error("Converting circular structure to JSON"),{realValue:u,key:r||n});this.visited.add(u)}!r&&n>-1&&this.depth&&this.gap&&this._push("\n"+this.gap.repeat(this.depth));var h=lr[f];h&&this._push(h);var c={key:r,index:n,type:f,parent:i,value:u,first:!0};return f===ur.Object?(this.depth+=1,c.unread=Object.keys(u),c.isEmpty=!c.unread.length):f===ur.Array?(this.depth+=1,c.unread=u.length,c.arrayLength=c.unread,c.isEmpty=!c.unread):f!==ur.ReadableString&&f!==ur.ReadableObject||(this.depth+=1,u.readableEnded||(null===(o=u._readableState)||void 0===o?void 0:o.endEmitted)?this.emit("error",new Error("Readable Stream has ended before it was serialized. All stream data have been lost"),u,r||n):(u.readableFlowing||(null===(a=u._readableState)||void 0===a?void 0:a.flowing))&&(u.pause(),this.emit("error",new Error("Readable Stream is in flowing mode, data may have been lost. Trying to pause stream."),u,r||n)),c.readCount=0,u.once("end",(function(){c.end=!0,s.__read()})),u.once("error",(function(e){s.error=!0,s.emit("error",e)}))),this.stack.unshift(c),c},r.prototype.removeFromStack=function(e){var t=e.type,r=t===ur.Object||t===ur.Array||t===ur.ReadableString||t===ur.ReadableObject;t!==ur.Primitive&&(this.cycle||this.visited.delete(e.value),r&&(this.depth-=1));var n=dr[t];r&&!e.isEmpty&&this.gap&&this._push("\n"+this.gap.repeat(this.depth)),n&&this._push(n);var i=this.stack.indexOf(e);this.stack.splice(i,1)},r.prototype._push=function(e){this.pushCalled=!0,this.push(e)},r.prototype.processReadableObject=function(e,t){var r=this;if(!e.end)return Er(e.value,t).then((function(t){null!==t&&(e.first||r._push(","),e.first=!1,r.addToStack(t,void 0,e.readCount),e.readCount+=1)}));this.removeFromStack(e)},r.prototype.processObject=function(e){if(e.unread.length){var t=e.unread.shift(),r=e.value[t];this.addToStack(r,t,void 0,e)}else this.removeFromStack(e)},r.prototype.processArray=function(e){var t=e.unread;if(t){var r=e.arrayLength-t,n=e.value[r];e.unread-=1,this.addToStack(n,void 0,r,e)}else this.removeFromStack(e)},r.prototype.processPrimitive=function(t){if(void 0!==t.value){var r,n=e(t.value);switch(n){case"string":r=_r(t.value);break;case"number":r=Number.isFinite(t.value)?String(t.value):"null";break;case"boolean":r=String(t.value);break;case"object":t.value||(r="null");break;default:throw Object.assign(new Error('Unknown type "'+n+'". Please file an issue!'),{value:t.value})}this._push(r)}else!this.stack[1]||this.stack[1].type!==ur.Array&&this.stack[1].type!==ur.ReadableObject?t.addSeparatorAfterEnd=!1:this._push("null");this.removeFromStack(t)},r.prototype.processReadableString=function(e,t){var r=this;if(!e.end)return Er(e.value,t).then((function(e){e&&r._push(mr(e.toString()))}));this.removeFromStack(e)},r.prototype.processPromise=function(e){var t=this;return Rr(e.value).then((function(r){t.removeFromStack(e),t.addToStack(r,e.key,e.index,e.parent)}))},r.prototype.processStackTopItem=function(e){var t,r=this,n=this.stack[0];if(!n||this.error)return Promise.resolve();try{t=this[pr[n.type]](n,e)}catch(e){return Promise.reject(e)}return Promise.resolve(t).then((function(){0===r.stack.length&&(r.end=!0,r._push(null))}))},r.prototype.__read=function(e){var t=this;if(!this.isReading&&!this.error)return this.isReading=!0,this.readMore=!1,this.processStackTopItem(e).then((function(){!t.end&&!t.error&&(t.readMore||!t.pushCalled)?function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var n={callback:e,args:t};Qt[Kt]=n,Zt(Kt),Kt++}((function(){t.isReading=!1,t.__read()})):t.isReading=!1})).catch((function(e){t.error=!0,t.emit("error",e)}));this.readMore=!0},r.prototype._read=function(e){this.pushCalled=!1,this.__read(e)},r.prototype.path=function(){return this.stack.map((function(e){var t=e.key,r=e.index;return t||r})).filter((function(e){return e||e>-1})).reverse()},r}(pt);return Sr}));
|
|
7
7
|
//# sourceMappingURL=json-stream-stringify.umd.js.map
|