@nocobase/app 1.3.42-beta → 1.3.43-beta
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/dist/client/501.e8db2401.async.js +1 -0
- package/dist/client/9210.ece4c1b8.async.js +66 -0
- package/dist/client/index.html +1 -1
- package/dist/client/index.html.tpl +1 -1
- package/dist/client/npm._at_ant-design.8385a159.async.js +111 -0
- package/dist/client/npm._at_formily.3ea3d9f9.async.js +101 -0
- package/dist/client/npm.antd.a2686812.async.js +475 -0
- package/dist/client/npm.buffer.fe16e7ac.async.js +1 -0
- package/dist/client/npm.mermaid.4531221b.async.js +1530 -0
- package/dist/client/{npm.postcss.368fceaf.async.js → npm.postcss.8cedfdbe.async.js} +2 -2
- package/dist/client/{npm.quill.e91b3c12.async.js → npm.quill.6ed38877.async.js} +1 -1
- package/dist/client/p__index.7a52cf56.async.js +1509 -0
- package/dist/client/{umi.489d34ed.js → umi.14065059.js} +2 -2
- package/package.json +6 -6
- package/dist/client/501.8710a04b.async.js +0 -1
- package/dist/client/6718.1e7fe05d.async.js +0 -66
- package/dist/client/npm._at_ant-design.4fe52a2f.async.js +0 -110
- package/dist/client/npm._at_emotion.0c6b11eb.async.js +0 -2
- package/dist/client/npm._at_formily.f9d0b213.async.js +0 -101
- package/dist/client/npm.antd-style.47ebbe31.async.js +0 -1
- package/dist/client/npm.antd.91188318.async.js +0 -476
- package/dist/client/npm.buffer.9cce4593.async.js +0 -1
- package/dist/client/npm.html-tokenize.360bb6e8.async.js +0 -1
- package/dist/client/npm.mermaid.7057e144.async.js +0 -1530
- package/dist/client/npm.readable-stream.41117b5f.async.js +0 -1
- package/dist/client/p__index.c0c3b9a2.async.js +0 -1509
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[9227],{48764:function(yr,B,k){var I=k(79742),m=k(80645),L=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;B.Buffer=u,B.SlowBuffer=O,B.INSPECT_MAX_BYTES=50;var F=2147483647;B.kMaxLength=F,u.TYPED_ARRAY_SUPPORT=V(),!u.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function V(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(i){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}});function x(t){if(t>F)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,u.prototype),r}function u(t,r,i){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return g(t)}return D(t,r,i)}u.poolSize=8192;function D(t,r,i){if(typeof t=="string")return Z(t,r);if(ArrayBuffer.isView(t))return $(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(s(t,ArrayBuffer)||t&&s(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(s(t,SharedArrayBuffer)||t&&s(t.buffer,SharedArrayBuffer)))return S(t,r,i);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return u.from(n,r,i);var e=q(t);if(e)return e;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return u.from(t[Symbol.toPrimitive]("string"),r,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}u.from=function(t,r,i){return D(t,r,i)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array);function b(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function K(t,r,i){return b(t),t<=0?x(t):r!==void 0?typeof i=="string"?x(t).fill(r,i):x(t).fill(r):x(t)}u.alloc=function(t,r,i){return K(t,r,i)};function g(t){return b(t),x(t<0?0:v(t)|0)}u.allocUnsafe=function(t){return g(t)},u.allocUnsafeSlow=function(t){return g(t)};function Z(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var i=M(t,r)|0,n=x(i),e=n.write(t,r);return e!==i&&(n=n.slice(0,e)),n}function T(t){for(var r=t.length<0?0:v(t.length)|0,i=x(r),n=0;n<r;n+=1)i[n]=t[n]&255;return i}function $(t){if(s(t,Uint8Array)){var r=new Uint8Array(t);return S(r.buffer,r.byteOffset,r.byteLength)}return T(t)}function S(t,r,i){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(i||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&i===void 0?n=new Uint8Array(t):i===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,i),Object.setPrototypeOf(n,u.prototype),n}function q(t){if(u.isBuffer(t)){var r=v(t.length)|0,i=x(r);return i.length===0||t.copy(i,0,0,r),i}if(t.length!==void 0)return typeof t.length!="number"||C(t.length)?x(0):T(t);if(t.type==="Buffer"&&Array.isArray(t.data))return T(t.data)}function v(t){if(t>=F)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+F.toString(16)+" bytes");return t|0}function O(t){return+t!=t&&(t=0),u.alloc(+t)}u.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==u.prototype},u.compare=function(r,i){if(s(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),s(i,Uint8Array)&&(i=u.from(i,i.offset,i.byteLength)),!u.isBuffer(r)||!u.isBuffer(i))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===i)return 0;for(var n=r.length,e=i.length,o=0,h=Math.min(n,e);o<h;++o)if(r[o]!==i[o]){n=r[o],e=i[o];break}return n<e?-1:e<n?1:0},u.isEncoding=function(r){switch(String(r).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}},u.concat=function(r,i){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return u.alloc(0);var n;if(i===void 0)for(i=0,n=0;n<r.length;++n)i+=r[n].length;var e=u.allocUnsafe(i),o=0;for(n=0;n<r.length;++n){var h=r[n];if(s(h,Uint8Array))o+h.length>e.length?u.from(h).copy(e,o):Uint8Array.prototype.set.call(e,h,o);else if(u.isBuffer(h))h.copy(e,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=h.length}return e};function M(t,r){if(u.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||s(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var i=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&i===0)return 0;for(var e=!1;;)switch(r){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return R(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i*2;case"hex":return i>>>1;case"base64":return z(t).length;default:if(e)return n?-1:R(t).length;r=(""+r).toLowerCase(),e=!0}}u.byteLength=M;function Q(t,r,i){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((i===void 0||i>this.length)&&(i=this.length),i<=0)||(i>>>=0,r>>>=0,i<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return hr(this,r,i);case"utf8":case"utf-8":return d(this,r,i);case"ascii":return ur(this,r,i);case"latin1":case"binary":return or(this,r,i);case"base64":return nr(this,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fr(this,r,i);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}u.prototype._isBuffer=!0;function E(t,r,i){var n=t[r];t[r]=t[i],t[i]=n}u.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<r;i+=2)E(this,i,i+1);return this},u.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<r;i+=4)E(this,i,i+3),E(this,i+1,i+2);return this},u.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<r;i+=8)E(this,i,i+7),E(this,i+1,i+6),E(this,i+2,i+5),E(this,i+3,i+4);return this},u.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?d(this,0,r):Q.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(r){if(!u.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:u.compare(this,r)===0},u.prototype.inspect=function(){var r="",i=B.INSPECT_MAX_BYTES;return r=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(r+=" ... "),"<Buffer "+r+">"},L&&(u.prototype[L]=u.prototype.inspect),u.prototype.compare=function(r,i,n,e,o){if(s(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(i===void 0&&(i=0),n===void 0&&(n=r?r.length:0),e===void 0&&(e=0),o===void 0&&(o=this.length),i<0||n>r.length||e<0||o>this.length)throw new RangeError("out of range index");if(e>=o&&i>=n)return 0;if(e>=o)return-1;if(i>=n)return 1;if(i>>>=0,n>>>=0,e>>>=0,o>>>=0,this===r)return 0;for(var h=o-e,f=n-i,p=Math.min(h,f),a=this.slice(e,o),w=r.slice(i,n),c=0;c<p;++c)if(a[c]!==w[c]){h=a[c],f=w[c];break}return h<f?-1:f<h?1:0};function _(t,r,i,n,e){if(t.length===0)return-1;if(typeof i=="string"?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,C(i)&&(i=e?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(e)return-1;i=t.length-1}else if(i<0)if(e)i=0;else return-1;if(typeof r=="string"&&(r=u.from(r,n)),u.isBuffer(r))return r.length===0?-1:N(t,r,i,n,e);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?e?Uint8Array.prototype.indexOf.call(t,r,i):Uint8Array.prototype.lastIndexOf.call(t,r,i):N(t,[r],i,n,e);throw new TypeError("val must be string, number or Buffer")}function N(t,r,i,n,e){var o=1,h=t.length,f=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,h/=2,f/=2,i/=2}function p(H,J){return o===1?H[J]:H.readUInt16BE(J*o)}var a;if(e){var w=-1;for(a=i;a<h;a++)if(p(t,a)===p(r,w===-1?0:a-w)){if(w===-1&&(w=a),a-w+1===f)return w*o}else w!==-1&&(a-=a-w),w=-1}else for(i+f>h&&(i=h-f),a=i;a>=0;a--){for(var c=!0,A=0;A<f;A++)if(p(t,a+A)!==p(r,A)){c=!1;break}if(c)return a}return-1}u.prototype.includes=function(r,i,n){return this.indexOf(r,i,n)!==-1},u.prototype.indexOf=function(r,i,n){return _(this,r,i,n,!0)},u.prototype.lastIndexOf=function(r,i,n){return _(this,r,i,n,!1)};function P(t,r,i,n){i=Number(i)||0;var e=t.length-i;n?(n=Number(n),n>e&&(n=e)):n=e;var o=r.length;n>o/2&&(n=o/2);for(var h=0;h<n;++h){var f=parseInt(r.substr(h*2,2),16);if(C(f))return h;t[i+h]=f}return h}function j(t,r,i,n){return U(R(r,t.length-i),t,i,n)}function rr(t,r,i,n){return U(cr(r),t,i,n)}function ir(t,r,i,n){return U(z(r),t,i,n)}function tr(t,r,i,n){return U(lr(r,t.length-i),t,i,n)}u.prototype.write=function(r,i,n,e){if(i===void 0)e="utf8",n=this.length,i=0;else if(n===void 0&&typeof i=="string")e=i,n=this.length,i=0;else if(isFinite(i))i=i>>>0,isFinite(n)?(n=n>>>0,e===void 0&&(e="utf8")):(e=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-i;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||i<0)||i>this.length)throw new RangeError("Attempt to write outside buffer bounds");e||(e="utf8");for(var h=!1;;)switch(e){case"hex":return P(this,r,i,n);case"utf8":case"utf-8":return j(this,r,i,n);case"ascii":case"latin1":case"binary":return rr(this,r,i,n);case"base64":return ir(this,r,i,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tr(this,r,i,n);default:if(h)throw new TypeError("Unknown encoding: "+e);e=(""+e).toLowerCase(),h=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function nr(t,r,i){return r===0&&i===t.length?I.fromByteArray(t):I.fromByteArray(t.slice(r,i))}function d(t,r,i){i=Math.min(t.length,i);for(var n=[],e=r;e<i;){var o=t[e],h=null,f=o>239?4:o>223?3:o>191?2:1;if(e+f<=i){var p,a,w,c;switch(f){case 1:o<128&&(h=o);break;case 2:p=t[e+1],(p&192)===128&&(c=(o&31)<<6|p&63,c>127&&(h=c));break;case 3:p=t[e+1],a=t[e+2],(p&192)===128&&(a&192)===128&&(c=(o&15)<<12|(p&63)<<6|a&63,c>2047&&(c<55296||c>57343)&&(h=c));break;case 4:p=t[e+1],a=t[e+2],w=t[e+3],(p&192)===128&&(a&192)===128&&(w&192)===128&&(c=(o&15)<<18|(p&63)<<12|(a&63)<<6|w&63,c>65535&&c<1114112&&(h=c))}}h===null?(h=65533,f=1):h>65535&&(h-=65536,n.push(h>>>10&1023|55296),h=56320|h&1023),n.push(h),e+=f}return er(n)}var W=4096;function er(t){var r=t.length;if(r<=W)return String.fromCharCode.apply(String,t);for(var i="",n=0;n<r;)i+=String.fromCharCode.apply(String,t.slice(n,n+=W));return i}function ur(t,r,i){var n="";i=Math.min(t.length,i);for(var e=r;e<i;++e)n+=String.fromCharCode(t[e]&127);return n}function or(t,r,i){var n="";i=Math.min(t.length,i);for(var e=r;e<i;++e)n+=String.fromCharCode(t[e]);return n}function hr(t,r,i){var n=t.length;(!r||r<0)&&(r=0),(!i||i<0||i>n)&&(i=n);for(var e="",o=r;o<i;++o)e+=wr[t[o]];return e}function fr(t,r,i){for(var n=t.slice(r,i),e="",o=0;o<n.length-1;o+=2)e+=String.fromCharCode(n[o]+n[o+1]*256);return e}u.prototype.slice=function(r,i){var n=this.length;r=~~r,i=i===void 0?n:~~i,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),i<0?(i+=n,i<0&&(i=0)):i>n&&(i=n),i<r&&(i=r);var e=this.subarray(r,i);return Object.setPrototypeOf(e,u.prototype),e};function l(t,r,i){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>i)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(r,i,n){r=r>>>0,i=i>>>0,n||l(r,i,this.length);for(var e=this[r],o=1,h=0;++h<i&&(o*=256);)e+=this[r+h]*o;return e},u.prototype.readUintBE=u.prototype.readUIntBE=function(r,i,n){r=r>>>0,i=i>>>0,n||l(r,i,this.length);for(var e=this[r+--i],o=1;i>0&&(o*=256);)e+=this[r+--i]*o;return e},u.prototype.readUint8=u.prototype.readUInt8=function(r,i){return r=r>>>0,i||l(r,1,this.length),this[r]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(r,i){return r=r>>>0,i||l(r,2,this.length),this[r]|this[r+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(r,i){return r=r>>>0,i||l(r,2,this.length),this[r]<<8|this[r+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(r,i){return r=r>>>0,i||l(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(r,i){return r=r>>>0,i||l(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])},u.prototype.readIntLE=function(r,i,n){r=r>>>0,i=i>>>0,n||l(r,i,this.length);for(var e=this[r],o=1,h=0;++h<i&&(o*=256);)e+=this[r+h]*o;return o*=128,e>=o&&(e-=Math.pow(2,8*i)),e},u.prototype.readIntBE=function(r,i,n){r=r>>>0,i=i>>>0,n||l(r,i,this.length);for(var e=i,o=1,h=this[r+--e];e>0&&(o*=256);)h+=this[r+--e]*o;return o*=128,h>=o&&(h-=Math.pow(2,8*i)),h},u.prototype.readInt8=function(r,i){return r=r>>>0,i||l(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]},u.prototype.readInt16LE=function(r,i){r=r>>>0,i||l(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n},u.prototype.readInt16BE=function(r,i){r=r>>>0,i||l(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n},u.prototype.readInt32LE=function(r,i){return r=r>>>0,i||l(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},u.prototype.readInt32BE=function(r,i){return r=r>>>0,i||l(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},u.prototype.readFloatLE=function(r,i){return r=r>>>0,i||l(r,4,this.length),m.read(this,r,!0,23,4)},u.prototype.readFloatBE=function(r,i){return r=r>>>0,i||l(r,4,this.length),m.read(this,r,!1,23,4)},u.prototype.readDoubleLE=function(r,i){return r=r>>>0,i||l(r,8,this.length),m.read(this,r,!0,52,8)},u.prototype.readDoubleBE=function(r,i){return r=r>>>0,i||l(r,8,this.length),m.read(this,r,!1,52,8)};function y(t,r,i,n,e,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>e||r<o)throw new RangeError('"value" argument is out of bounds');if(i+n>t.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(r,i,n,e){if(r=+r,i=i>>>0,n=n>>>0,!e){var o=Math.pow(2,8*n)-1;y(this,r,i,n,o,0)}var h=1,f=0;for(this[i]=r&255;++f<n&&(h*=256);)this[i+f]=r/h&255;return i+n},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(r,i,n,e){if(r=+r,i=i>>>0,n=n>>>0,!e){var o=Math.pow(2,8*n)-1;y(this,r,i,n,o,0)}var h=n-1,f=1;for(this[i+h]=r&255;--h>=0&&(f*=256);)this[i+h]=r/f&255;return i+n},u.prototype.writeUint8=u.prototype.writeUInt8=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,1,255,0),this[i]=r&255,i+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,2,65535,0),this[i]=r&255,this[i+1]=r>>>8,i+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,2,65535,0),this[i]=r>>>8,this[i+1]=r&255,i+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,4,4294967295,0),this[i+3]=r>>>24,this[i+2]=r>>>16,this[i+1]=r>>>8,this[i]=r&255,i+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,4,4294967295,0),this[i]=r>>>24,this[i+1]=r>>>16,this[i+2]=r>>>8,this[i+3]=r&255,i+4},u.prototype.writeIntLE=function(r,i,n,e){if(r=+r,i=i>>>0,!e){var o=Math.pow(2,8*n-1);y(this,r,i,n,o-1,-o)}var h=0,f=1,p=0;for(this[i]=r&255;++h<n&&(f*=256);)r<0&&p===0&&this[i+h-1]!==0&&(p=1),this[i+h]=(r/f>>0)-p&255;return i+n},u.prototype.writeIntBE=function(r,i,n,e){if(r=+r,i=i>>>0,!e){var o=Math.pow(2,8*n-1);y(this,r,i,n,o-1,-o)}var h=n-1,f=1,p=0;for(this[i+h]=r&255;--h>=0&&(f*=256);)r<0&&p===0&&this[i+h+1]!==0&&(p=1),this[i+h]=(r/f>>0)-p&255;return i+n},u.prototype.writeInt8=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,1,127,-128),r<0&&(r=255+r+1),this[i]=r&255,i+1},u.prototype.writeInt16LE=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,2,32767,-32768),this[i]=r&255,this[i+1]=r>>>8,i+2},u.prototype.writeInt16BE=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,2,32767,-32768),this[i]=r>>>8,this[i+1]=r&255,i+2},u.prototype.writeInt32LE=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,4,2147483647,-2147483648),this[i]=r&255,this[i+1]=r>>>8,this[i+2]=r>>>16,this[i+3]=r>>>24,i+4},u.prototype.writeInt32BE=function(r,i,n){return r=+r,i=i>>>0,n||y(this,r,i,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[i]=r>>>24,this[i+1]=r>>>16,this[i+2]=r>>>8,this[i+3]=r&255,i+4};function Y(t,r,i,n,e,o){if(i+n>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function X(t,r,i,n,e){return r=+r,i=i>>>0,e||Y(t,r,i,4,34028234663852886e22,-34028234663852886e22),m.write(t,r,i,n,23,4),i+4}u.prototype.writeFloatLE=function(r,i,n){return X(this,r,i,!0,n)},u.prototype.writeFloatBE=function(r,i,n){return X(this,r,i,!1,n)};function G(t,r,i,n,e){return r=+r,i=i>>>0,e||Y(t,r,i,8,17976931348623157e292,-17976931348623157e292),m.write(t,r,i,n,52,8),i+8}u.prototype.writeDoubleLE=function(r,i,n){return G(this,r,i,!0,n)},u.prototype.writeDoubleBE=function(r,i,n){return G(this,r,i,!1,n)},u.prototype.copy=function(r,i,n,e){if(!u.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!e&&e!==0&&(e=this.length),i>=r.length&&(i=r.length),i||(i=0),e>0&&e<n&&(e=n),e===n||r.length===0||this.length===0)return 0;if(i<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("sourceEnd out of bounds");e>this.length&&(e=this.length),r.length-i<e-n&&(e=r.length-i+n);var o=e-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(i,n,e):Uint8Array.prototype.set.call(r,this.subarray(n,e),i),o},u.prototype.fill=function(r,i,n,e){if(typeof r=="string"){if(typeof i=="string"?(e=i,i=0,n=this.length):typeof n=="string"&&(e=n,n=this.length),e!==void 0&&typeof e!="string")throw new TypeError("encoding must be a string");if(typeof e=="string"&&!u.isEncoding(e))throw new TypeError("Unknown encoding: "+e);if(r.length===1){var o=r.charCodeAt(0);(e==="utf8"&&o<128||e==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(i<0||this.length<i||this.length<n)throw new RangeError("Out of range index");if(n<=i)return this;i=i>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var h;if(typeof r=="number")for(h=i;h<n;++h)this[h]=r;else{var f=u.isBuffer(r)?r:u.from(r,e),p=f.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(h=0;h<n-i;++h)this[h+i]=f[h%p]}return this};var pr=/[^+/0-9A-Za-z-_]/g;function ar(t){if(t=t.split("=")[0],t=t.trim().replace(pr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function R(t,r){r=r||1/0;for(var i,n=t.length,e=null,o=[],h=0;h<n;++h){if(i=t.charCodeAt(h),i>55295&&i<57344){if(!e){if(i>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(h+1===n){(r-=3)>-1&&o.push(239,191,189);continue}e=i;continue}if(i<56320){(r-=3)>-1&&o.push(239,191,189),e=i;continue}i=(e-55296<<10|i-56320)+65536}else e&&(r-=3)>-1&&o.push(239,191,189);if(e=null,i<128){if((r-=1)<0)break;o.push(i)}else if(i<2048){if((r-=2)<0)break;o.push(i>>6|192,i&63|128)}else if(i<65536){if((r-=3)<0)break;o.push(i>>12|224,i>>6&63|128,i&63|128)}else if(i<1114112){if((r-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,i&63|128)}else throw new Error("Invalid code point")}return o}function cr(t){for(var r=[],i=0;i<t.length;++i)r.push(t.charCodeAt(i)&255);return r}function lr(t,r){for(var i,n,e,o=[],h=0;h<t.length&&!((r-=2)<0);++h)i=t.charCodeAt(h),n=i>>8,e=i%256,o.push(e),o.push(n);return o}function z(t){return I.toByteArray(ar(t))}function U(t,r,i,n){for(var e=0;e<n&&!(e+i>=r.length||e>=t.length);++e)r[e+i]=t[e];return e}function s(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function C(t){return t!==t}var wr=function(){for(var t="0123456789abcdef",r=new Array(256),i=0;i<16;++i)for(var n=i*16,e=0;e<16;++e)r[n+e]=t[i]+t[e];return r}()}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[2791],{31346:function(W,D,h){var d=h(48764).Buffer,E=h(15558),R=h(99564).Transform,x=h(35717);x(l,R),W.exports=l;var b={lt:"<".charCodeAt(0),gt:">".charCodeAt(0),slash:"/".charCodeAt(0),dquote:'"'.charCodeAt(0),squote:"'".charCodeAt(0),equal:"=".charCodeAt(0)},m={endScript:E("<\/script"),endStyle:E("</style"),endTitle:E("</title"),comment:E("<!--"),endComment:E("-->"),cdata:E("<![CDATA["),endCdata:E("]]>")},o={TagNameState:1,AttributeNameState:2,BeforeAttributeValueState:3,AttributeValueState:4};function l(){if(!(this instanceof l))return new l;R.call(this),this._readableState.objectMode=!0,this.state="text",this.tagState=null,this.quoteState=null,this.raw=null,this.buffers=[],this._last=[]}l.prototype._transform=function(s,A,T){var g=0,M=0;for(this._prev&&(s=d.concat([this._prev,s]),g=this._prev.length-1,M=this._offset,this._prev=null,this._offset=0);g<s.length;g++){var y=s[g];if(this._last.push(y),this._last.length>9&&this._last.shift(),this.raw){var N=this._testRaw(s,M,g);N&&(this.push(["text",N[0]]),this.raw===m.endComment||this.raw===m.endCdata?(this.state="text",this.buffers=[],this.push(["close",N[1]])):(this.state="open",this.buffers=[N[1]]),this.raw=null,M=g+1)}else{if(this.state==="text"&&y===b.lt&&g===s.length-1)return this._prev=s,this._offset=M,T();if(this.state==="text"&&y===b.lt&&!S(s[g+1]))g>0&&g-M>0&&this.buffers.push(s.slice(M,g)),M=g,this.state="open",this.tagState=o.TagNameState,this._pushState("text");else if(this.tagState===o.TagNameState&&S(y))this.tagState=o.AttributeNameState;else if(this.tagState===o.AttributeNameState&&y===b.equal)this.tagState=o.BeforeAttributeValueState;else if(!(this.tagState===o.BeforeAttributeValueState&&S(y)))if(this.tagState===o.BeforeAttributeValueState&&y!==b.gt)this.tagState=o.AttributeValueState,y===b.dquote?this.quoteState="double":y===b.squote?this.quoteState="single":this.quoteState=null;else if(this.tagState===o.AttributeValueState&&!this.quoteState&&S(y))this.tagState=o.AttributeNameState;else if(this.tagState===o.AttributeValueState&&this.quoteState==="double"&&y===b.dquote)this.quoteState=null,this.tagState=o.AttributeNameState;else if(this.tagState===o.AttributeValueState&&this.quoteState==="single"&&y===b.squote)this.quoteState=null,this.tagState=o.AttributeNameState;else if(this.state==="open"&&y===b.gt&&!this.quoteState)if(this.buffers.push(s.slice(M,g+1)),M=g+1,this.state="text",this.tagState=null,this._getChar(1)===b.slash)this._pushState("close");else{var V=this._getTag();V==="script"&&(this.raw=m.endScript),V==="style"&&(this.raw=m.endStyle),V==="title"&&(this.raw=m.endTitle),this._pushState("open")}else this.state==="open"&&n(this._last,m.comment)?(this.buffers.push(s.slice(M,g+1)),M=g+1,this.state="text",this.raw=m.endComment,this._pushState("open")):this.state==="open"&&n(this._last,m.cdata)&&(this.buffers.push(s.slice(M,g+1)),M=g+1,this.state="text",this.raw=m.endCdata,this._pushState("open"))}}M<s.length&&this.buffers.push(s.slice(M)),T()},l.prototype._flush=function(s){this.state==="text"&&this._pushState("text"),this.push(null),s()},l.prototype._pushState=function(s){if(this.buffers.length!==0){var A=d.concat(this.buffers);this.buffers=[],this.push([s,A])}},l.prototype._getChar=function(s){for(var A=0,T=0;T<this.buffers.length;T++){var g=this.buffers[T];if(A+g.length>s)return g[s-A];A+=g}},l.prototype._getTag=function(){for(var s=0,A="",T=0;T<this.buffers.length;T++){for(var g=this.buffers[T],M=0;M<g.length;M++)if(!(s===0&&M===0)){var y=String.fromCharCode(g[M]);if(/[^\w-!\[\]]/.test(y))return A.toLowerCase();A+=y}s+=g.length}},l.prototype._testRaw=function(y,A,T){var g=this.raw,M=this._last;if(n(M,g)){this.buffers.push(y.slice(A,T+1));var y=d.concat(this.buffers),N=y.length-g.length;return[y.slice(0,N),y.slice(N)]}};function n(s,A){if(s.length<A.length)return!1;for(var T=s.length-1,g=A.length-1;T>=0&&g>=0;T--,g--)if(p(s[T])!==p(A[g]))return!1;return!0}function p(s){return s>=65&&s<=90?s+32:s}function S(s){return s===32||s===9||s===10||s===12||s===13}},15558:function(W,D,h){var d=h(48764).Buffer,E=Object.prototype.toString,R=typeof d.alloc=="function"&&typeof d.allocUnsafe=="function"&&typeof d.from=="function";function x(l){return E.call(l).slice(8,-1)==="ArrayBuffer"}function b(l,n,p){n>>>=0;var S=l.byteLength-n;if(S<0)throw new RangeError("'offset' is out of bounds");if(p===void 0)p=S;else if(p>>>=0,p>S)throw new RangeError("'length' is out of bounds");return R?d.from(l.slice(n,n+p)):new d(new Uint8Array(l.slice(n,n+p)))}function m(l,n){if((typeof n!="string"||n==="")&&(n="utf8"),!d.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');return R?d.from(l,n):new d(l,n)}function o(l,n,p){if(typeof l=="number")throw new TypeError('"value" argument must not be a number');return x(l)?b(l,n,p):typeof l=="string"?m(l,n):R?d.from(l):new d(l)}W.exports=o},10400:function(W){W.exports=Array.isArray||function(D){return Object.prototype.toString.call(D)=="[object Array]"}},36770:function(W,D,h){var d=h(34155);W.exports=m;var E=Object.keys||function(n){var p=[];for(var S in n)p.push(S);return p},R=h(16497);R.inherits=h(35717);var x=h(55231),b=h(61288);R.inherits(m,x),l(E(b.prototype),function(n){m.prototype[n]||(m.prototype[n]=b.prototype[n])});function m(n){if(!(this instanceof m))return new m(n);x.call(this,n),b.call(this,n),n&&n.readable===!1&&(this.readable=!1),n&&n.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,n&&n.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",o)}function o(){this.allowHalfOpen||this._writableState.ended||d.nextTick(this.end.bind(this))}function l(n,p){for(var S=0,s=n.length;S<s;S++)p(n[S],S)}},84470:function(W,D,h){W.exports=R;var d=h(27475),E=h(16497);E.inherits=h(35717),E.inherits(R,d);function R(x){if(!(this instanceof R))return new R(x);d.call(this,x)}R.prototype._transform=function(x,b,m){m(null,x)}},55231:function(W,D,h){var d=h(34155);W.exports=n;var E=h(10400),R=h(48764).Buffer;n.ReadableState=l;var x=h(17187).EventEmitter;x.listenerCount||(x.listenerCount=function(e,t){return e.listeners(t).length});var b=h(91583),m=h(16497);m.inherits=h(35717);var o;m.inherits(n,b);function l(e,t){e=e||{};var r=e.highWaterMark;this.highWaterMark=r||r===0?r:16*1024,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=!1,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.calledRead=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!e.objectMode,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(o||(o=h(6941).s),this.decoder=new o(e.encoding),this.encoding=e.encoding)}function n(e){if(!(this instanceof n))return new n(e);this._readableState=new l(e,this),this.readable=!0,b.call(this)}n.prototype.push=function(e,t){var r=this._readableState;return typeof e=="string"&&!r.objectMode&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=new R(e,t),t="")),p(this,r,e,t,!1)},n.prototype.unshift=function(e){var t=this._readableState;return p(this,t,e,"",!0)};function p(e,t,r,u,w){var j=g(t,r);if(j)e.emit("error",j);else if(r==null)t.reading=!1,t.ended||M(e,t);else if(t.objectMode||r&&r.length>0)if(t.ended&&!w){var v=new Error("stream.push() after EOF");e.emit("error",v)}else if(t.endEmitted&&w){var v=new Error("stream.unshift() after end event");e.emit("error",v)}else t.decoder&&!w&&!u&&(r=t.decoder.write(r)),t.length+=t.objectMode?1:r.length,w?t.buffer.unshift(r):(t.reading=!1,t.buffer.push(r)),t.needReadable&&y(e),V(e,t);else w||(t.reading=!1);return S(t)}function S(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}n.prototype.setEncoding=function(e){o||(o=h(6941).s),this._readableState.decoder=new o(e),this._readableState.encoding=e};var s=8388608;function A(e){if(e>=s)e=s;else{e--;for(var t=1;t<32;t<<=1)e|=e>>t;e++}return e}function T(e,t){return t.length===0&&t.ended?0:t.objectMode?e===0?0:1:e===null||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:e<=0?0:(e>t.highWaterMark&&(t.highWaterMark=A(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}n.prototype.read=function(e){var t=this._readableState;t.calledRead=!0;var r=e,u;if((typeof e!="number"||e>0)&&(t.emittedReadable=!1),e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return y(this),null;if(e=T(e,t),e===0&&t.ended)return u=null,t.length>0&&t.decoder&&(u=c(e,t),t.length-=u.length),t.length===0&&C(this),u;var w=t.needReadable;return t.length-e<=t.highWaterMark&&(w=!0),(t.ended||t.reading)&&(w=!1),w&&(t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),w&&!t.reading&&(e=T(r,t)),e>0?u=c(e,t):u=null,u===null&&(t.needReadable=!0,e=0),t.length-=e,t.length===0&&!t.ended&&(t.needReadable=!0),t.ended&&!t.endEmitted&&t.length===0&&C(this),u};function g(e,t){var r=null;return!R.isBuffer(t)&&typeof t!="string"&&t!==null&&t!==void 0&&!e.objectMode&&(r=new TypeError("Invalid non-string/buffer chunk")),r}function M(e,t){if(t.decoder&&!t.ended){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.length>0?y(e):C(e)}function y(e){var t=e._readableState;t.needReadable=!1,!t.emittedReadable&&(t.emittedReadable=!0,t.sync?d.nextTick(function(){N(e)}):N(e))}function N(e){e.emit("readable")}function V(e,t){t.readingMore||(t.readingMore=!0,d.nextTick(function(){z(e,t)}))}function z(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}n.prototype._read=function(e){this.emit("error",new Error("not implemented"))},n.prototype.pipe=function(e,t){var r=this,u=this._readableState;switch(u.pipesCount){case 0:u.pipes=e;break;case 1:u.pipes=[u.pipes,e];break;default:u.pipes.push(e);break}u.pipesCount+=1;var w=(!t||t.end!==!1)&&e!==d.stdout&&e!==d.stderr,j=w?B:I;u.endEmitted?d.nextTick(j):r.once("end",j),e.on("unpipe",v);function v(G){G===r&&I()}function B(){e.end()}var P=F(r);e.on("drain",P);function I(){e.removeListener("close",O),e.removeListener("finish",K),e.removeListener("drain",P),e.removeListener("error",H),e.removeListener("unpipe",v),r.removeListener("end",B),r.removeListener("end",I),(!e._writableState||e._writableState.needDrain)&&P()}function H(G){X(),e.removeListener("error",H),x.listenerCount(e,"error")===0&&e.emit("error",G)}!e._events||!e._events.error?e.on("error",H):E(e._events.error)?e._events.error.unshift(H):e._events.error=[H,e._events.error];function O(){e.removeListener("finish",K),X()}e.once("close",O);function K(){e.removeListener("close",O),X()}e.once("finish",K);function X(){r.unpipe(e)}return e.emit("pipe",r),u.flowing||(this.on("readable",i),u.flowing=!0,d.nextTick(function(){f(r)})),e};function F(e){return function(){var t=this,r=e._readableState;r.awaitDrain--,r.awaitDrain===0&&f(e)}}function f(e){var t=e._readableState,r;t.awaitDrain=0;function u(w,j,v){var B=w.write(r);B===!1&&t.awaitDrain++}for(;t.pipesCount&&(r=e.read())!==null;)if(t.pipesCount===1?u(t.pipes,0,null):L(t.pipes,u),e.emit("data",r),t.awaitDrain>0)return;if(t.pipesCount===0){t.flowing=!1,x.listenerCount(e,"data")>0&&a(e);return}t.ranOut=!0}function i(){this._readableState.ranOut&&(this._readableState.ranOut=!1,f(this))}n.prototype.unpipe=function(e){var t=this._readableState;if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,this.removeListener("readable",i),t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var r=t.pipes,u=t.pipesCount;t.pipes=null,t.pipesCount=0,this.removeListener("readable",i),t.flowing=!1;for(var w=0;w<u;w++)r[w].emit("unpipe",this);return this}var w=U(t.pipes,e);return w===-1?this:(t.pipes.splice(w,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},n.prototype.on=function(e,t){var r=b.prototype.on.call(this,e,t);if(e==="data"&&!this._readableState.flowing&&a(this),e==="readable"&&this.readable){var u=this._readableState;u.readableListening||(u.readableListening=!0,u.emittedReadable=!1,u.needReadable=!0,u.reading?u.length&&y(this,u):this.read(0))}return r},n.prototype.addListener=n.prototype.on,n.prototype.resume=function(){a(this),this.read(0),this.emit("resume")},n.prototype.pause=function(){a(this,!0),this.emit("pause")};function a(e,t){var r=e._readableState;if(r.flowing)throw new Error("Cannot switch to old mode now.");var u=t||!1,w=!1;e.readable=!0,e.pipe=b.prototype.pipe,e.on=e.addListener=b.prototype.on,e.on("readable",function(){w=!0;for(var j;!u&&(j=e.read())!==null;)e.emit("data",j);j===null&&(w=!1,e._readableState.needReadable=!0)}),e.pause=function(){u=!0,this.emit("pause")},e.resume=function(){u=!1,w?d.nextTick(function(){e.emit("readable")}):this.read(0),this.emit("resume")},e.emit("readable")}n.prototype.wrap=function(e){var t=this._readableState,r=!1,u=this;e.on("end",function(){if(t.decoder&&!t.ended){var v=t.decoder.end();v&&v.length&&u.push(v)}u.push(null)}),e.on("data",function(v){if(t.decoder&&(v=t.decoder.write(v)),!(t.objectMode&&v==null)&&!(!t.objectMode&&(!v||!v.length))){var B=u.push(v);B||(r=!0,e.pause())}});for(var w in e)typeof e[w]=="function"&&typeof this[w]=="undefined"&&(this[w]=function(v){return function(){return e[v].apply(e,arguments)}}(w));var j=["error","close","destroy","pause","resume"];return L(j,function(v){e.on(v,u.emit.bind(u,v))}),u._read=function(v){r&&(r=!1,e.resume())},u},n._fromList=c;function c(e,t){var r=t.buffer,u=t.length,w=!!t.decoder,j=!!t.objectMode,v;if(r.length===0)return null;if(u===0)v=null;else if(j)v=r.shift();else if(!e||e>=u)w?v=r.join(""):v=R.concat(r,u),r.length=0;else if(e<r[0].length){var B=r[0];v=B.slice(0,e),r[0]=B.slice(e)}else if(e===r[0].length)v=r.shift();else{w?v="":v=new R(e);for(var P=0,I=0,H=r.length;I<H&&P<e;I++){var B=r[0],O=Math.min(e-P,B.length);w?v+=B.slice(0,O):B.copy(v,P,0,O),O<B.length?r[0]=B.slice(O):r.shift(),P+=O}}return v}function C(e){var t=e._readableState;if(t.length>0)throw new Error("endReadable called on non-empty stream");!t.endEmitted&&t.calledRead&&(t.ended=!0,d.nextTick(function(){!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"))}))}function L(e,t){for(var r=0,u=e.length;r<u;r++)t(e[r],r)}function U(e,t){for(var r=0,u=e.length;r<u;r++)if(e[r]===t)return r;return-1}},27475:function(W,D,h){W.exports=b;var d=h(36770),E=h(16497);E.inherits=h(35717),E.inherits(b,d);function R(o,l){this.afterTransform=function(n,p){return x(l,n,p)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function x(o,l,n){var p=o._transformState;p.transforming=!1;var S=p.writecb;if(!S)return o.emit("error",new Error("no writecb in Transform class"));p.writechunk=null,p.writecb=null,n!=null&&o.push(n),S&&S(l);var s=o._readableState;s.reading=!1,(s.needReadable||s.length<s.highWaterMark)&&o._read(s.highWaterMark)}function b(o){if(!(this instanceof b))return new b(o);d.call(this,o);var l=this._transformState=new R(o,this),n=this;this._readableState.needReadable=!0,this._readableState.sync=!1,this.once("finish",function(){typeof this._flush=="function"?this._flush(function(p){m(n,p)}):m(n)})}b.prototype.push=function(o,l){return this._transformState.needTransform=!1,d.prototype.push.call(this,o,l)},b.prototype._transform=function(o,l,n){throw new Error("not implemented")},b.prototype._write=function(o,l,n){var p=this._transformState;if(p.writecb=n,p.writechunk=o,p.writeencoding=l,!p.transforming){var S=this._readableState;(p.needTransform||S.needReadable||S.length<S.highWaterMark)&&this._read(S.highWaterMark)}},b.prototype._read=function(o){var l=this._transformState;l.writechunk!==null&&l.writecb&&!l.transforming?(l.transforming=!0,this._transform(l.writechunk,l.writeencoding,l.afterTransform)):l.needTransform=!0};function m(o,l){if(l)return o.emit("error",l);var n=o._writableState,p=o._readableState,S=o._transformState;if(n.length)throw new Error("calling transform done when ws.length != 0");if(S.transforming)throw new Error("calling transform done when still transforming");return o.push(null)}},61288:function(W,D,h){var d=h(34155);W.exports=o;var E=h(48764).Buffer;o.WritableState=m;var R=h(16497);R.inherits=h(35717);var x=h(91583);R.inherits(o,x);function b(f,i,a){this.chunk=f,this.encoding=i,this.callback=a}function m(f,i){f=f||{};var a=f.highWaterMark;this.highWaterMark=a||a===0?a:16*1024,this.objectMode=!!f.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var c=f.decodeStrings===!1;this.decodeStrings=!c,this.defaultEncoding=f.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(C){g(i,C)},this.writecb=null,this.writelen=0,this.buffer=[],this.errorEmitted=!1}function o(f){var i=h(36770);if(!(this instanceof o)&&!(this instanceof i))return new o(f);this._writableState=new m(f,this),this.writable=!0,x.call(this)}o.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))};function l(f,i,a){var c=new Error("write after end");f.emit("error",c),d.nextTick(function(){a(c)})}function n(f,i,a,c){var C=!0;if(!E.isBuffer(a)&&typeof a!="string"&&a!==null&&a!==void 0&&!i.objectMode){var L=new TypeError("Invalid non-string/buffer chunk");f.emit("error",L),d.nextTick(function(){c(L)}),C=!1}return C}o.prototype.write=function(f,i,a){var c=this._writableState,C=!1;return typeof i=="function"&&(a=i,i=null),E.isBuffer(f)?i="buffer":i||(i=c.defaultEncoding),typeof a!="function"&&(a=function(){}),c.ended?l(this,c,a):n(this,c,f,a)&&(C=S(this,c,f,i,a)),C};function p(f,i,a){return!f.objectMode&&f.decodeStrings!==!1&&typeof i=="string"&&(i=new E(i,a)),i}function S(f,i,a,c,C){a=p(i,a,c),E.isBuffer(a)&&(c="buffer");var L=i.objectMode?1:a.length;i.length+=L;var U=i.length<i.highWaterMark;return U||(i.needDrain=!0),i.writing?i.buffer.push(new b(a,c,C)):s(f,i,L,a,c,C),U}function s(f,i,a,c,C,L){i.writelen=a,i.writecb=L,i.writing=!0,i.sync=!0,f._write(c,C,i.onwrite),i.sync=!1}function A(f,i,a,c,C){a?d.nextTick(function(){C(c)}):C(c),f._writableState.errorEmitted=!0,f.emit("error",c)}function T(f){f.writing=!1,f.writecb=null,f.length-=f.writelen,f.writelen=0}function g(f,i){var a=f._writableState,c=a.sync,C=a.writecb;if(T(a),i)A(f,a,c,i,C);else{var L=V(f,a);!L&&!a.bufferProcessing&&a.buffer.length&&N(f,a),c?d.nextTick(function(){M(f,a,L,C)}):M(f,a,L,C)}}function M(f,i,a,c){a||y(f,i),c(),a&&z(f,i)}function y(f,i){i.length===0&&i.needDrain&&(i.needDrain=!1,f.emit("drain"))}function N(f,i){i.bufferProcessing=!0;for(var a=0;a<i.buffer.length;a++){var c=i.buffer[a],C=c.chunk,L=c.encoding,U=c.callback,e=i.objectMode?1:C.length;if(s(f,i,e,C,L,U),i.writing){a++;break}}i.bufferProcessing=!1,a<i.buffer.length?i.buffer=i.buffer.slice(a):i.buffer.length=0}o.prototype._write=function(f,i,a){a(new Error("not implemented"))},o.prototype.end=function(f,i,a){var c=this._writableState;typeof f=="function"?(a=f,f=null,i=null):typeof i=="function"&&(a=i,i=null),typeof f!="undefined"&&f!==null&&this.write(f,i),!c.ending&&!c.finished&&F(this,c,a)};function V(f,i){return i.ending&&i.length===0&&!i.finished&&!i.writing}function z(f,i){var a=V(f,i);return a&&(i.finished=!0,f.emit("finish")),a}function F(f,i,a){i.ending=!0,z(f,i),a&&(i.finished?d.nextTick(a):f.once("finish",a)),i.ended=!0}},99564:function(W,D,h){var d=h(34155),E=h(91583);D=W.exports=h(55231),D.Stream=E,D.Readable=D,D.Writable=h(61288),D.Duplex=h(36770),D.Transform=h(27475),D.PassThrough=h(84470),!d.browser&&{NODE_ENV:"production",PUBLIC_PATH:"auto"}.READABLE_STREAM==="disable"&&(W.exports=h(91583))}}]);
|