@genome-spy/app 0.58.3 → 0.60.0
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/{index-DwLfOHEk.js → index-5ajWdKly.js} +1 -1
- package/dist/{index-vgGDWUPz.js → index-B03-Om4z.js} +1 -1
- package/dist/index-Bg7C4Xat.js +2750 -0
- package/dist/{index-CalimFw3.js → index-C3QR8Lv6.js} +79 -79
- package/dist/{index-DKe9Bhvi.js → index-g8iXgW0W.js} +1 -1
- package/dist/index.es.js +9756 -8985
- package/dist/index.js +575 -370
- package/dist/{long-BviWyoZx.js → long-B-FASCSo.js} +45 -45
- package/package.json +3 -3
- package/dist/index-DS2hvLgl.js +0 -3425
@@ -122,7 +122,7 @@ function Be() {
|
|
122
122
|
}
|
123
123
|
if (M < 0)
|
124
124
|
return this;
|
125
|
-
M === 0 ? A.shift() :
|
125
|
+
M === 0 ? A.shift() : x(A, M), A.length === 1 && (L[f] = A[0]), L.removeListener !== void 0 && this.emit("removeListener", f, B || v);
|
126
126
|
}
|
127
127
|
return this;
|
128
128
|
}, n.prototype.off = n.prototype.removeListener, n.prototype.removeAllListeners = function(f) {
|
@@ -177,7 +177,7 @@ function Be() {
|
|
177
177
|
v[A] = o[A];
|
178
178
|
return v;
|
179
179
|
}
|
180
|
-
function
|
180
|
+
function x(o, f) {
|
181
181
|
for (; f + 1 < o.length; f++)
|
182
182
|
o[f] = o[f + 1];
|
183
183
|
o.pop();
|
@@ -242,20 +242,20 @@ var me, Ke;
|
|
242
242
|
function Nt() {
|
243
243
|
if (Ke) return me;
|
244
244
|
Ke = 1;
|
245
|
-
function u(C,
|
245
|
+
function u(C, x) {
|
246
246
|
var R = Object.keys(C);
|
247
247
|
if (Object.getOwnPropertySymbols) {
|
248
248
|
var i = Object.getOwnPropertySymbols(C);
|
249
|
-
|
249
|
+
x && (i = i.filter(function(_) {
|
250
250
|
return Object.getOwnPropertyDescriptor(C, _).enumerable;
|
251
251
|
})), R.push.apply(R, i);
|
252
252
|
}
|
253
253
|
return R;
|
254
254
|
}
|
255
255
|
function r(C) {
|
256
|
-
for (var
|
257
|
-
var R = arguments[
|
258
|
-
|
256
|
+
for (var x = 1; x < arguments.length; x++) {
|
257
|
+
var R = arguments[x] != null ? arguments[x] : {};
|
258
|
+
x % 2 ? u(Object(R), !0).forEach(function(i) {
|
259
259
|
a(C, i, R[i]);
|
260
260
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(C, Object.getOwnPropertyDescriptors(R)) : u(Object(R)).forEach(function(i) {
|
261
261
|
Object.defineProperty(C, i, Object.getOwnPropertyDescriptor(R, i));
|
@@ -263,39 +263,39 @@ function Nt() {
|
|
263
263
|
}
|
264
264
|
return C;
|
265
265
|
}
|
266
|
-
function a(C,
|
267
|
-
return
|
266
|
+
function a(C, x, R) {
|
267
|
+
return x = p(x), x in C ? Object.defineProperty(C, x, { value: R, enumerable: !0, configurable: !0, writable: !0 }) : C[x] = R, C;
|
268
268
|
}
|
269
|
-
function s(C,
|
270
|
-
if (!(C instanceof
|
269
|
+
function s(C, x) {
|
270
|
+
if (!(C instanceof x))
|
271
271
|
throw new TypeError("Cannot call a class as a function");
|
272
272
|
}
|
273
|
-
function b(C,
|
274
|
-
for (var R = 0; R <
|
275
|
-
var i =
|
273
|
+
function b(C, x) {
|
274
|
+
for (var R = 0; R < x.length; R++) {
|
275
|
+
var i = x[R];
|
276
276
|
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(C, p(i.key), i);
|
277
277
|
}
|
278
278
|
}
|
279
|
-
function n(C,
|
280
|
-
return
|
279
|
+
function n(C, x, R) {
|
280
|
+
return x && b(C.prototype, x), Object.defineProperty(C, "prototype", { writable: !1 }), C;
|
281
281
|
}
|
282
282
|
function p(C) {
|
283
|
-
var
|
284
|
-
return typeof
|
283
|
+
var x = c(C, "string");
|
284
|
+
return typeof x == "symbol" ? x : String(x);
|
285
285
|
}
|
286
|
-
function c(C,
|
286
|
+
function c(C, x) {
|
287
287
|
if (typeof C != "object" || C === null) return C;
|
288
288
|
var R = C[Symbol.toPrimitive];
|
289
289
|
if (R !== void 0) {
|
290
|
-
var i = R.call(C,
|
290
|
+
var i = R.call(C, x);
|
291
291
|
if (typeof i != "object") return i;
|
292
292
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
293
293
|
}
|
294
|
-
return
|
294
|
+
return String(C);
|
295
295
|
}
|
296
296
|
var l = ce(), g = l.Buffer, T = ht, E = T.inspect, w = E && E.custom || "inspect";
|
297
|
-
function D(C,
|
298
|
-
g.prototype.copy.call(C,
|
297
|
+
function D(C, x, R) {
|
298
|
+
g.prototype.copy.call(C, x, R);
|
299
299
|
}
|
300
300
|
return me = /* @__PURE__ */ function() {
|
301
301
|
function C() {
|
@@ -450,8 +450,8 @@ function J() {
|
|
450
450
|
}
|
451
451
|
var E = /* @__PURE__ */ function(w) {
|
452
452
|
u(D, w);
|
453
|
-
function D(C,
|
454
|
-
return w.call(this, T(C,
|
453
|
+
function D(C, x, R) {
|
454
|
+
return w.call(this, T(C, x, R)) || this;
|
455
455
|
}
|
456
456
|
return D;
|
457
457
|
}(g);
|
@@ -570,7 +570,7 @@ function _t() {
|
|
570
570
|
function c(h) {
|
571
571
|
return b.isBuffer(h) || h instanceof n;
|
572
572
|
}
|
573
|
-
var l = pt(), g = vt(), T = g.getHighWaterMark, E = J().codes, w = E.ERR_INVALID_ARG_TYPE, D = E.ERR_METHOD_NOT_IMPLEMENTED, C = E.ERR_MULTIPLE_CALLBACK,
|
573
|
+
var l = pt(), g = vt(), T = g.getHighWaterMark, E = J().codes, w = E.ERR_INVALID_ARG_TYPE, D = E.ERR_METHOD_NOT_IMPLEMENTED, C = E.ERR_MULTIPLE_CALLBACK, x = E.ERR_STREAM_CANNOT_PIPE, R = E.ERR_STREAM_DESTROYED, i = E.ERR_STREAM_NULL_VALUES, _ = E.ERR_STREAM_WRITE_AFTER_END, m = E.ERR_UNKNOWN_ENCODING, o = l.errorOrDestroy;
|
574
574
|
X()(L, s);
|
575
575
|
function f() {
|
576
576
|
}
|
@@ -610,7 +610,7 @@ function _t() {
|
|
610
610
|
this._writableState = new v(h, this, d), this.writable = !0, h && (typeof h.write == "function" && (this._write = h.write), typeof h.writev == "function" && (this._writev = h.writev), typeof h.destroy == "function" && (this._destroy = h.destroy), typeof h.final == "function" && (this._final = h.final)), s.call(this);
|
611
611
|
}
|
612
612
|
L.prototype.pipe = function() {
|
613
|
-
o(this, new
|
613
|
+
o(this, new x());
|
614
614
|
};
|
615
615
|
function M(h, d) {
|
616
616
|
var S = new _();
|
@@ -659,8 +659,8 @@ function _t() {
|
|
659
659
|
}
|
660
660
|
var y = d.objectMode ? 1 : P.length;
|
661
661
|
d.length += y;
|
662
|
-
var
|
663
|
-
if (
|
662
|
+
var O = d.length < d.highWaterMark;
|
663
|
+
if (O || (d.needDrain = !0), d.writing || d.corked) {
|
664
664
|
var I = d.lastBufferedRequest;
|
665
665
|
d.lastBufferedRequest = {
|
666
666
|
chunk: P,
|
@@ -671,7 +671,7 @@ function _t() {
|
|
671
671
|
}, I ? I.next = d.lastBufferedRequest : d.bufferedRequest = d.lastBufferedRequest, d.bufferedRequestCount += 1;
|
672
672
|
} else
|
673
673
|
W(h, d, !1, y, P, k, e);
|
674
|
-
return
|
674
|
+
return O;
|
675
675
|
}
|
676
676
|
function W(h, d, S, P, k, e, t) {
|
677
677
|
d.writelen = P, d.writecb = t, d.writing = !0, d.sync = !0, d.destroyed ? d.onwrite(new R("write")) : S ? h._writev(k, d.onwrite) : h._write(k, e, d.onwrite), d.sync = !1;
|
@@ -708,8 +708,8 @@ function _t() {
|
|
708
708
|
k.allBuffers = y, W(h, d, !0, d.length, k, "", e.finish), d.pendingcb++, d.lastBufferedRequest = null, e.next ? (d.corkedRequestsFree = e.next, e.next = null) : d.corkedRequestsFree = new u(d), d.bufferedRequestCount = 0;
|
709
709
|
} else {
|
710
710
|
for (; S; ) {
|
711
|
-
var
|
712
|
-
if (W(h, d, !1, j,
|
711
|
+
var O = S.chunk, I = S.encoding, q = S.callback, j = d.objectMode ? 1 : O.length;
|
712
|
+
if (W(h, d, !1, j, O, I, q), S = S.next, d.bufferedRequestCount--, d.writing)
|
713
713
|
break;
|
714
714
|
}
|
715
715
|
S === null && (d.lastBufferedRequest = null);
|
@@ -939,7 +939,7 @@ function je() {
|
|
939
939
|
this.text = D, this.end = C, _ = 3;
|
940
940
|
break;
|
941
941
|
default:
|
942
|
-
this.write =
|
942
|
+
this.write = x, this.end = R;
|
943
943
|
return;
|
944
944
|
}
|
945
945
|
this.lastNeed = 0, this.lastTotal = 0, this.lastChar = u.allocUnsafe(_);
|
@@ -1023,7 +1023,7 @@ function je() {
|
|
1023
1023
|
var _ = i && i.length ? this.write(i) : "";
|
1024
1024
|
return this.lastNeed ? _ + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : _;
|
1025
1025
|
}
|
1026
|
-
function
|
1026
|
+
function x(i) {
|
1027
1027
|
return i.toString(this.encoding);
|
1028
1028
|
}
|
1029
1029
|
function R(i) {
|
@@ -1061,7 +1061,7 @@ function Fe() {
|
|
1061
1061
|
g = !1, E = !0, l || c.call(n);
|
1062
1062
|
}, D = n._readableState && n._readableState.endEmitted, C = function() {
|
1063
1063
|
l = !1, D = !0, g || c.call(n);
|
1064
|
-
},
|
1064
|
+
}, x = function(m) {
|
1065
1065
|
c.call(n, m);
|
1066
1066
|
}, R = function() {
|
1067
1067
|
var m;
|
@@ -1072,8 +1072,8 @@ function Fe() {
|
|
1072
1072
|
}, i = function() {
|
1073
1073
|
n.req.on("finish", w);
|
1074
1074
|
};
|
1075
|
-
return s(n) ? (n.on("complete", w), n.on("abort", R), n.req ? i() : n.on("request", i)) : g && !n._writableState && (n.on("end", T), n.on("close", T)), n.on("end", C), n.on("finish", w), p.error !== !1 && n.on("error",
|
1076
|
-
n.removeListener("complete", w), n.removeListener("abort", R), n.removeListener("request", i), n.req && n.req.removeListener("finish", w), n.removeListener("end", T), n.removeListener("close", T), n.removeListener("finish", w), n.removeListener("end", C), n.removeListener("error",
|
1075
|
+
return s(n) ? (n.on("complete", w), n.on("abort", R), n.req ? i() : n.on("request", i)) : g && !n._writableState && (n.on("end", T), n.on("close", T)), n.on("end", C), n.on("finish", w), p.error !== !1 && n.on("error", x), n.on("close", R), function() {
|
1076
|
+
n.removeListener("complete", w), n.removeListener("abort", R), n.removeListener("request", i), n.req && n.req.removeListener("finish", w), n.removeListener("end", T), n.removeListener("close", T), n.removeListener("finish", w), n.removeListener("end", C), n.removeListener("error", x), n.removeListener("close", R);
|
1077
1077
|
};
|
1078
1078
|
}
|
1079
1079
|
return Me = b, Me;
|
@@ -1094,7 +1094,7 @@ function jt() {
|
|
1094
1094
|
if (typeof m != "object" || m === null) return m;
|
1095
1095
|
var f = m[Symbol.toPrimitive];
|
1096
1096
|
if (f !== void 0) {
|
1097
|
-
var v = f.call(m, o
|
1097
|
+
var v = f.call(m, o);
|
1098
1098
|
if (typeof v != "object") return v;
|
1099
1099
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
1100
1100
|
}
|
@@ -1117,7 +1117,7 @@ function jt() {
|
|
1117
1117
|
function C(m) {
|
1118
1118
|
process.nextTick(D, m);
|
1119
1119
|
}
|
1120
|
-
function
|
1120
|
+
function x(m, o) {
|
1121
1121
|
return function(f, v) {
|
1122
1122
|
m.then(function() {
|
1123
1123
|
if (o[l]) {
|
@@ -1147,7 +1147,7 @@ function jt() {
|
|
1147
1147
|
});
|
1148
1148
|
var v = this[g], A;
|
1149
1149
|
if (v)
|
1150
|
-
A = new Promise(
|
1150
|
+
A = new Promise(x(v, this));
|
1151
1151
|
else {
|
1152
1152
|
var L = this[E].read();
|
1153
1153
|
if (L !== null)
|
@@ -1229,7 +1229,7 @@ function bt() {
|
|
1229
1229
|
var c = ht, l;
|
1230
1230
|
c && c.debuglog ? l = c.debuglog("stream") : l = function() {
|
1231
1231
|
};
|
1232
|
-
var g = Nt(), T = pt(), E = vt(), w = E.getHighWaterMark, D = J().codes, C = D.ERR_INVALID_ARG_TYPE,
|
1232
|
+
var g = Nt(), T = pt(), E = vt(), w = E.getHighWaterMark, D = J().codes, C = D.ERR_INVALID_ARG_TYPE, x = D.ERR_STREAM_PUSH_AFTER_EOF, R = D.ERR_METHOD_NOT_IMPLEMENTED, i = D.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, _, m, o;
|
1233
1233
|
X()(M, a);
|
1234
1234
|
var f = T.errorOrDestroy, v = ["error", "close", "destroy", "pause", "resume"];
|
1235
1235
|
function A(e, t, y) {
|
@@ -1258,12 +1258,12 @@ function bt() {
|
|
1258
1258
|
}), M.prototype.destroy = T.destroy, M.prototype._undestroy = T.undestroy, M.prototype._destroy = function(e, t) {
|
1259
1259
|
t(e);
|
1260
1260
|
}, M.prototype.push = function(e, t) {
|
1261
|
-
var y = this._readableState,
|
1262
|
-
return y.objectMode ?
|
1261
|
+
var y = this._readableState, O;
|
1262
|
+
return y.objectMode ? O = !0 : typeof e == "string" && (t = t || y.defaultEncoding, t !== y.encoding && (e = s.from(e, t), t = ""), O = !0), N(this, e, t, !1, O);
|
1263
1263
|
}, M.prototype.unshift = function(e) {
|
1264
1264
|
return N(this, e, null, !0, !1);
|
1265
1265
|
};
|
1266
|
-
function N(e, t, y,
|
1266
|
+
function N(e, t, y, O, I) {
|
1267
1267
|
l("readableAddChunk", t);
|
1268
1268
|
var q = e._readableState;
|
1269
1269
|
if (t === null)
|
@@ -1273,21 +1273,21 @@ function bt() {
|
|
1273
1273
|
if (I || (j = F(q, t)), j)
|
1274
1274
|
f(e, j);
|
1275
1275
|
else if (q.objectMode || t && t.length > 0)
|
1276
|
-
if (typeof t != "string" && !q.objectMode && Object.getPrototypeOf(t) !== s.prototype && (t = n(t)),
|
1276
|
+
if (typeof t != "string" && !q.objectMode && Object.getPrototypeOf(t) !== s.prototype && (t = n(t)), O)
|
1277
1277
|
q.endEmitted ? f(e, new i()) : B(e, q, t, !0);
|
1278
1278
|
else if (q.ended)
|
1279
|
-
f(e, new
|
1279
|
+
f(e, new x());
|
1280
1280
|
else {
|
1281
1281
|
if (q.destroyed)
|
1282
1282
|
return !1;
|
1283
1283
|
q.reading = !1, q.decoder && !y ? (t = q.decoder.write(t), q.objectMode || t.length !== 0 ? B(e, q, t, !1) : V(e, q)) : B(e, q, t, !1);
|
1284
1284
|
}
|
1285
|
-
else
|
1285
|
+
else O || (q.reading = !1, V(e, q));
|
1286
1286
|
}
|
1287
1287
|
return !q.ended && (q.length < q.highWaterMark || q.length === 0);
|
1288
1288
|
}
|
1289
|
-
function B(e, t, y,
|
1290
|
-
t.flowing && t.length === 0 && !t.sync ? (t.awaitDrain = 0, e.emit("data", y)) : (t.length += t.objectMode ? 1 : y.length,
|
1289
|
+
function B(e, t, y, O) {
|
1290
|
+
t.flowing && t.length === 0 && !t.sync ? (t.awaitDrain = 0, e.emit("data", y)) : (t.length += t.objectMode ? 1 : y.length, O ? t.buffer.unshift(y) : t.buffer.push(y), t.needReadable && H(e)), V(e, t);
|
1291
1291
|
}
|
1292
1292
|
function F(e, t) {
|
1293
1293
|
var y;
|
@@ -1299,9 +1299,9 @@ function bt() {
|
|
1299
1299
|
_ || (_ = je().StringDecoder);
|
1300
1300
|
var t = new _(e);
|
1301
1301
|
this._readableState.decoder = t, this._readableState.encoding = this._readableState.decoder.encoding;
|
1302
|
-
for (var y = this._readableState.buffer.head,
|
1303
|
-
|
1304
|
-
return this._readableState.buffer.clear(),
|
1302
|
+
for (var y = this._readableState.buffer.head, O = ""; y !== null; )
|
1303
|
+
O += t.write(y.data), y = y.next;
|
1304
|
+
return this._readableState.buffer.clear(), O !== "" && this._readableState.buffer.push(O), this._readableState.length = O.length, this;
|
1305
1305
|
};
|
1306
1306
|
var W = 1073741824;
|
1307
1307
|
function Q(e) {
|
@@ -1317,8 +1317,8 @@ function bt() {
|
|
1317
1317
|
return l("read: emitReadable", t.length, t.ended), t.length === 0 && t.ended ? S(this) : H(this), null;
|
1318
1318
|
if (e = re(e, t), e === 0 && t.ended)
|
1319
1319
|
return t.length === 0 && S(this), null;
|
1320
|
-
var
|
1321
|
-
l("need readable",
|
1320
|
+
var O = t.needReadable;
|
1321
|
+
l("need readable", O), (t.length === 0 || t.length - e < t.highWaterMark) && (O = !0, l("length less than watermark", O)), t.ended || t.reading ? (O = !1, l("reading or ended", O)) : O && (l("do read"), t.reading = !0, t.sync = !0, t.length === 0 && (t.needReadable = !0), this._read(t.highWaterMark), t.sync = !1, t.reading || (e = re(y, t)));
|
1322
1322
|
var I;
|
1323
1323
|
return e > 0 ? I = d(e, t) : I = null, I === null ? (t.needReadable = t.length <= t.highWaterMark, e = 0) : (t.length -= e, t.awaitDrain = 0), t.length === 0 && (t.ended || (t.needReadable = !0), y !== e && t.ended && S(this)), I !== null && this.emit("data", I), I;
|
1324
1324
|
};
|
@@ -1353,21 +1353,21 @@ function bt() {
|
|
1353
1353
|
M.prototype._read = function(e) {
|
1354
1354
|
f(this, new R("_read()"));
|
1355
1355
|
}, M.prototype.pipe = function(e, t) {
|
1356
|
-
var y = this,
|
1357
|
-
switch (
|
1356
|
+
var y = this, O = this._readableState;
|
1357
|
+
switch (O.pipesCount) {
|
1358
1358
|
case 0:
|
1359
|
-
|
1359
|
+
O.pipes = e;
|
1360
1360
|
break;
|
1361
1361
|
case 1:
|
1362
|
-
|
1362
|
+
O.pipes = [O.pipes, e];
|
1363
1363
|
break;
|
1364
1364
|
default:
|
1365
|
-
|
1365
|
+
O.pipes.push(e);
|
1366
1366
|
break;
|
1367
1367
|
}
|
1368
|
-
|
1368
|
+
O.pipesCount += 1, l("pipe count=%d opts=%j", O.pipesCount, t);
|
1369
1369
|
var I = (!t || t.end !== !1) && e !== process.stdout && e !== process.stderr, q = I ? G : Z;
|
1370
|
-
|
1370
|
+
O.endEmitted ? process.nextTick(q) : y.once("end", q), e.on("unpipe", j);
|
1371
1371
|
function j(K, Y) {
|
1372
1372
|
l("onunpipe"), K === y && Y && Y.hasUnpiped === !1 && (Y.hasUnpiped = !0, xt());
|
1373
1373
|
}
|
@@ -1378,13 +1378,13 @@ function bt() {
|
|
1378
1378
|
e.on("drain", se);
|
1379
1379
|
var Ue = !1;
|
1380
1380
|
function xt() {
|
1381
|
-
l("cleanup"), e.removeListener("close", ge), e.removeListener("finish", ye), e.removeListener("drain", se), e.removeListener("error", be), e.removeListener("unpipe", j), y.removeListener("end", G), y.removeListener("end", Z), y.removeListener("data", He), Ue = !0,
|
1381
|
+
l("cleanup"), e.removeListener("close", ge), e.removeListener("finish", ye), e.removeListener("drain", se), e.removeListener("error", be), e.removeListener("unpipe", j), y.removeListener("end", G), y.removeListener("end", Z), y.removeListener("data", He), Ue = !0, O.awaitDrain && (!e._writableState || e._writableState.needDrain) && se();
|
1382
1382
|
}
|
1383
1383
|
y.on("data", He);
|
1384
1384
|
function He(K) {
|
1385
1385
|
l("ondata");
|
1386
1386
|
var Y = e.write(K);
|
1387
|
-
l("dest.write", Y), Y === !1 && ((
|
1387
|
+
l("dest.write", Y), Y === !1 && ((O.pipesCount === 1 && O.pipes === e || O.pipesCount > 1 && k(O.pipes, e) !== -1) && !Ue && (l("false write response, pause", O.awaitDrain), O.awaitDrain++), y.pause());
|
1388
1388
|
}
|
1389
1389
|
function be(K) {
|
1390
1390
|
l("onerror", K), Z(), e.removeListener("error", be), r(e, "error") === 0 && f(e, K);
|
@@ -1401,7 +1401,7 @@ function bt() {
|
|
1401
1401
|
function Z() {
|
1402
1402
|
l("unpipe"), y.unpipe(e);
|
1403
1403
|
}
|
1404
|
-
return e.emit("pipe", y),
|
1404
|
+
return e.emit("pipe", y), O.flowing || (l("pipe resume"), y.resume()), e;
|
1405
1405
|
};
|
1406
1406
|
function pe(e) {
|
1407
1407
|
return function() {
|
@@ -1417,9 +1417,9 @@ function bt() {
|
|
1417
1417
|
if (t.pipesCount === 1)
|
1418
1418
|
return e && e !== t.pipes ? this : (e || (e = t.pipes), t.pipes = null, t.pipesCount = 0, t.flowing = !1, e && e.emit("unpipe", this, y), this);
|
1419
1419
|
if (!e) {
|
1420
|
-
var
|
1420
|
+
var O = t.pipes, I = t.pipesCount;
|
1421
1421
|
t.pipes = null, t.pipesCount = 0, t.flowing = !1;
|
1422
|
-
for (var q = 0; q < I; q++)
|
1422
|
+
for (var q = 0; q < I; q++) O[q].emit("unpipe", this, {
|
1423
1423
|
hasUnpiped: !1
|
1424
1424
|
});
|
1425
1425
|
return this;
|
@@ -1427,8 +1427,8 @@ function bt() {
|
|
1427
1427
|
var j = k(t.pipes, e);
|
1428
1428
|
return j === -1 ? this : (t.pipes.splice(j, 1), t.pipesCount -= 1, t.pipesCount === 1 && (t.pipes = t.pipes[0]), e.emit("unpipe", this, y), this);
|
1429
1429
|
}, M.prototype.on = function(e, t) {
|
1430
|
-
var y = a.prototype.on.call(this, e, t),
|
1431
|
-
return e === "data" ? (
|
1430
|
+
var y = a.prototype.on.call(this, e, t), O = this._readableState;
|
1431
|
+
return e === "data" ? (O.readableListening = this.listenerCount("readable") > 0, O.flowing !== !1 && this.resume()) : e === "readable" && !O.endEmitted && !O.readableListening && (O.readableListening = O.needReadable = !0, O.flowing = !1, O.emittedReadable = !1, l("on readable", O.length, O.reading), O.length ? H(this) : O.reading || process.nextTick($, this)), y;
|
1432
1432
|
}, M.prototype.addListener = M.prototype.on, M.prototype.removeListener = function(e, t) {
|
1433
1433
|
var y = a.prototype.removeListener.call(this, e, t);
|
1434
1434
|
return e === "readable" && process.nextTick(ae, this), y;
|
@@ -1461,7 +1461,7 @@ function bt() {
|
|
1461
1461
|
for (l("flow", t.flowing); t.flowing && e.read() !== null; ) ;
|
1462
1462
|
}
|
1463
1463
|
M.prototype.wrap = function(e) {
|
1464
|
-
var t = this, y = this._readableState,
|
1464
|
+
var t = this, y = this._readableState, O = !1;
|
1465
1465
|
e.on("end", function() {
|
1466
1466
|
if (l("wrapped end"), y.decoder && !y.ended) {
|
1467
1467
|
var j = y.decoder.end();
|
@@ -1471,7 +1471,7 @@ function bt() {
|
|
1471
1471
|
}), e.on("data", function(j) {
|
1472
1472
|
if (l("wrapped data"), y.decoder && (j = y.decoder.write(j)), !(y.objectMode && j == null) && !(!y.objectMode && (!j || !j.length))) {
|
1473
1473
|
var G = t.push(j);
|
1474
|
-
G || (
|
1474
|
+
G || (O = !0, e.pause());
|
1475
1475
|
}
|
1476
1476
|
});
|
1477
1477
|
for (var I in e)
|
@@ -1483,7 +1483,7 @@ function bt() {
|
|
1483
1483
|
for (var q = 0; q < v.length; q++)
|
1484
1484
|
e.on(v[q], this.emit.bind(this, v[q]));
|
1485
1485
|
return this._read = function(j) {
|
1486
|
-
l("wrapped _read", j),
|
1486
|
+
l("wrapped _read", j), O && (O = !1, e.resume());
|
1487
1487
|
}, this;
|
1488
1488
|
}, typeof Symbol == "function" && (M.prototype[Symbol.asyncIterator] = function() {
|
1489
1489
|
return m === void 0 && (m = jt()), m(this);
|
@@ -1542,7 +1542,7 @@ function bt() {
|
|
1542
1542
|
return o === void 0 && (o = It()), o(M, e, t);
|
1543
1543
|
});
|
1544
1544
|
function k(e, t) {
|
1545
|
-
for (var y = 0,
|
1545
|
+
for (var y = 0, O = e.length; y < O; y++)
|
1546
1546
|
if (e[y] === t) return y;
|
1547
1547
|
return -1;
|
1548
1548
|
}
|
@@ -1639,8 +1639,8 @@ function Ft() {
|
|
1639
1639
|
function p(w) {
|
1640
1640
|
return w.setHeader && typeof w.abort == "function";
|
1641
1641
|
}
|
1642
|
-
function c(w, D, C,
|
1643
|
-
|
1642
|
+
function c(w, D, C, x) {
|
1643
|
+
x = r(x);
|
1644
1644
|
var R = !1;
|
1645
1645
|
w.on("close", function() {
|
1646
1646
|
R = !0;
|
@@ -1648,15 +1648,15 @@ function Ft() {
|
|
1648
1648
|
readable: D,
|
1649
1649
|
writable: C
|
1650
1650
|
}, function(_) {
|
1651
|
-
if (_) return
|
1652
|
-
R = !0,
|
1651
|
+
if (_) return x(_);
|
1652
|
+
R = !0, x();
|
1653
1653
|
});
|
1654
1654
|
var i = !1;
|
1655
1655
|
return function(_) {
|
1656
1656
|
if (!R && !i) {
|
1657
1657
|
if (i = !0, p(w)) return w.abort();
|
1658
1658
|
if (typeof w.destroy == "function") return w.destroy();
|
1659
|
-
|
1659
|
+
x(_ || new b("pipe"));
|
1660
1660
|
}
|
1661
1661
|
};
|
1662
1662
|
}
|
@@ -1672,13 +1672,13 @@ function Ft() {
|
|
1672
1672
|
function E() {
|
1673
1673
|
for (var w = arguments.length, D = new Array(w), C = 0; C < w; C++)
|
1674
1674
|
D[C] = arguments[C];
|
1675
|
-
var
|
1675
|
+
var x = T(D);
|
1676
1676
|
if (Array.isArray(D[0]) && (D = D[0]), D.length < 2)
|
1677
1677
|
throw new s("streams");
|
1678
1678
|
var R, i = D.map(function(_, m) {
|
1679
1679
|
var o = m < D.length - 1, f = m > 0;
|
1680
1680
|
return c(_, o, f, function(v) {
|
1681
|
-
R || (R = v), v && i.forEach(l), !o && (i.forEach(l),
|
1681
|
+
R || (R = v), v && i.forEach(l), !o && (i.forEach(l), x(R));
|
1682
1682
|
});
|
1683
1683
|
});
|
1684
1684
|
return D.reduce(g);
|
@@ -2,7 +2,7 @@ import { A as J, L as K } from "./index-CCJIjehY.js";
|
|
2
2
|
import { b as Q } from "./index-BftNdA0O.js";
|
3
3
|
import { L as R } from "./__vite-browser-external-C--ziKoh.js";
|
4
4
|
import { R as F } from "./remoteFile-BuaqFGWk.js";
|
5
|
-
import { u as $, L as H, a as Z } from "./long-
|
5
|
+
import { u as $, L as H, a as Z } from "./long-B-FASCSo.js";
|
6
6
|
function j(o) {
|
7
7
|
if (o.greaterThan(Number.MAX_SAFE_INTEGER) || o.lessThan(Number.MIN_SAFE_INTEGER))
|
8
8
|
throw new Error("integer overflow");
|