@genome-spy/app 0.53.1 → 0.54.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.
@@ -1,6 +1,6 @@
1
1
  import { L as d } from "./__vite-browser-external-C--ziKoh.js";
2
- import { R as b } from "./remoteFile-BkTxwFub.js";
3
- import { b as i } from "./index-B5cesONJ.js";
2
+ import { R as b } from "./remoteFile-DuIsnepi.js";
3
+ import { b as i } from "./index-B6haPltu.js";
4
4
  function a(o) {
5
5
  const r = new FileReader();
6
6
  return new Promise((n, e) => {
@@ -1,6 +1,6 @@
1
- import { b as ce } from "./index-B5cesONJ.js";
1
+ import { b as ce } from "./index-B6haPltu.js";
2
2
  import { _ as Vt } from "./__vite-browser-external-C--ziKoh.js";
3
- import { a as Gt } from "./_commonjsHelpers-BIiJCwQW.js";
3
+ import { a as Gt } from "./_commonjsHelpers-DSebQMb9.js";
4
4
  var He = { exports: {} }, z = typeof Reflect == "object" ? Reflect : null, Je = z && typeof z.apply == "function" ? z.apply : function(e, r, a) {
5
5
  return Function.prototype.apply.call(e, r, a);
6
6
  }, ue;
@@ -55,8 +55,7 @@ q.prototype.getMaxListeners = function() {
55
55
  return gt(this);
56
56
  };
57
57
  q.prototype.emit = function(e) {
58
- for (var r = [], a = 1; a < arguments.length; a++)
59
- r.push(arguments[a]);
58
+ for (var r = [], a = 1; a < arguments.length; a++) r.push(arguments[a]);
60
59
  var o = e === "error", s = this._events;
61
60
  if (s !== void 0)
62
61
  o = o && s.error === void 0;
@@ -250,8 +249,7 @@ function Lt() {
250
249
  const Tt = /* @__PURE__ */ Gt(Vt);
251
250
  var Re, et;
252
251
  function Zt() {
253
- if (et)
254
- return Re;
252
+ if (et) return Re;
255
253
  et = 1;
256
254
  function t(m, S) {
257
255
  var b = Object.keys(m);
@@ -295,13 +293,11 @@ function Zt() {
295
293
  return typeof S == "symbol" ? S : String(S);
296
294
  }
297
295
  function u(m, S) {
298
- if (typeof m != "object" || m === null)
299
- return m;
296
+ if (typeof m != "object" || m === null) return m;
300
297
  var b = m[Symbol.toPrimitive];
301
298
  if (b !== void 0) {
302
299
  var w = b.call(m, S || "default");
303
- if (typeof w != "object")
304
- return w;
300
+ if (typeof w != "object") return w;
305
301
  throw new TypeError("@@toPrimitive must return a primitive value.");
306
302
  }
307
303
  return (S === "string" ? String : Number)(m);
@@ -348,17 +344,14 @@ function Zt() {
348
344
  }, {
349
345
  key: "join",
350
346
  value: function(b) {
351
- if (this.length === 0)
352
- return "";
353
- for (var w = this.head, T = "" + w.data; w = w.next; )
354
- T += b + w.data;
347
+ if (this.length === 0) return "";
348
+ for (var w = this.head, T = "" + w.data; w = w.next; ) T += b + w.data;
355
349
  return T;
356
350
  }
357
351
  }, {
358
352
  key: "concat",
359
353
  value: function(b) {
360
- if (this.length === 0)
361
- return h.alloc(0);
354
+ if (this.length === 0) return h.alloc(0);
362
355
  for (var w = h.allocUnsafe(b >>> 0), T = this.head, L = 0; T; )
363
356
  M(T.data, w, L), L += T.data.length, T = T.next;
364
357
  return w;
@@ -421,8 +414,7 @@ function Zt() {
421
414
  }
422
415
  var Le, tt;
423
416
  function Ct() {
424
- if (tt)
425
- return Le;
417
+ if (tt) return Le;
426
418
  tt = 1;
427
419
  function t(f, u) {
428
420
  var l = this, h = this._readableState && this._readableState.destroyed, g = this._writableState && this._writableState.destroyed;
@@ -454,8 +446,7 @@ function Ct() {
454
446
  }
455
447
  var Te = {}, rt;
456
448
  function Q() {
457
- if (rt)
458
- return Te;
449
+ if (rt) return Te;
459
450
  rt = 1;
460
451
  function t(u, l) {
461
452
  u.prototype = Object.create(l.prototype), u.prototype.constructor = u, u.__proto__ = l;
@@ -516,8 +507,7 @@ function Q() {
516
507
  }
517
508
  var Ce, nt;
518
509
  function At() {
519
- if (nt)
520
- return Ce;
510
+ if (nt) return Ce;
521
511
  nt = 1;
522
512
  var t = Q().codes.ERR_INVALID_OPT_VALUE;
523
513
  function e(a, o, s) {
@@ -540,8 +530,7 @@ function At() {
540
530
  }
541
531
  var Ae, it;
542
532
  function er() {
543
- if (it)
544
- return Ae;
533
+ if (it) return Ae;
545
534
  it = 1, Ae = t;
546
535
  function t(r, a) {
547
536
  if (e("noDeprecation"))
@@ -559,8 +548,7 @@ function er() {
559
548
  }
560
549
  function e(r) {
561
550
  try {
562
- if (!globalThis.localStorage)
563
- return !1;
551
+ if (!globalThis.localStorage) return !1;
564
552
  } catch {
565
553
  return !1;
566
554
  }
@@ -571,8 +559,7 @@ function er() {
571
559
  }
572
560
  var Me, at;
573
561
  function Mt() {
574
- if (at)
575
- return Me;
562
+ if (at) return Me;
576
563
  at = 1, Me = N;
577
564
  function t(c) {
578
565
  var d = this;
@@ -628,8 +615,7 @@ function Mt() {
628
615
  function N(c) {
629
616
  e = e || X();
630
617
  var d = this instanceof e;
631
- if (!d && !I.call(N, this))
632
- return new N(c);
618
+ if (!d && !I.call(N, this)) return new N(c);
633
619
  this._writableState = new O(c, this, d), this.writable = !0, c && (typeof c.write == "function" && (this._write = c.write), typeof c.writev == "function" && (this._writev = c.writev), typeof c.destroy == "function" && (this._destroy = c.destroy), typeof c.final == "function" && (this._final = c.final)), a.call(this);
634
620
  }
635
621
  N.prototype.pipe = function() {
@@ -652,8 +638,7 @@ function Mt() {
652
638
  var c = this._writableState;
653
639
  c.corked && (c.corked--, !c.writing && !c.corked && !c.bufferProcessing && c.bufferedRequest && V(this, c));
654
640
  }, N.prototype.setDefaultEncoding = function(d) {
655
- if (typeof d == "string" && (d = d.toLowerCase()), !(["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf((d + "").toLowerCase()) > -1))
656
- throw new L(d);
641
+ if (typeof d == "string" && (d = d.toLowerCase()), !(["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf((d + "").toLowerCase()) > -1)) throw new L(d);
657
642
  return this._writableState.defaultEncoding = d, this;
658
643
  }, Object.defineProperty(N.prototype, "writableBuffer", {
659
644
  // making it explicit this property is not enumerable
@@ -708,10 +693,8 @@ function Mt() {
708
693
  }
709
694
  function _e(c, d) {
710
695
  var v = c._writableState, C = v.sync, P = v.writecb;
711
- if (typeof P != "function")
712
- throw new m();
713
- if (ie(v), d)
714
- ve(c, v, C, d, P);
696
+ if (typeof P != "function") throw new m();
697
+ if (ie(v), d) ve(c, v, C, d, P);
715
698
  else {
716
699
  var n = se(v) || c.destroyed;
717
700
  !n && !v.corked && !v.bufferProcessing && v.bufferedRequest && V(c, v), C ? process.nextTick(U, c, v, n, P) : U(c, v, n, P);
@@ -803,13 +786,11 @@ function Mt() {
803
786
  }
804
787
  var Oe, st;
805
788
  function X() {
806
- if (st)
807
- return Oe;
789
+ if (st) return Oe;
808
790
  st = 1;
809
791
  var t = Object.keys || function(h) {
810
792
  var g = [];
811
- for (var y in h)
812
- g.push(y);
793
+ for (var y in h) g.push(y);
813
794
  return g;
814
795
  };
815
796
  Oe = f;
@@ -820,8 +801,7 @@ function X() {
820
801
  f.prototype[s] || (f.prototype[s] = r.prototype[s]);
821
802
  }
822
803
  function f(h) {
823
- if (!(this instanceof f))
824
- return new f(h);
804
+ if (!(this instanceof f)) return new f(h);
825
805
  e.call(this, h), r.call(this, h), this.allowHalfOpen = !0, h && (h.readable === !1 && (this.readable = !1), h.writable === !1 && (this.writable = !1), h.allowHalfOpen === !1 && (this.allowHalfOpen = !1, this.once("end", u)));
826
806
  }
827
807
  Object.defineProperty(f.prototype, "writableHighWaterMark", {
@@ -918,8 +898,7 @@ var tr = We.exports, Ve = tr.Buffer, ot = Ve.isEncoding || function(t) {
918
898
  }
919
899
  };
920
900
  function rr(t) {
921
- if (!t)
922
- return "utf8";
901
+ if (!t) return "utf8";
923
902
  for (var e; ; )
924
903
  switch (t) {
925
904
  case "utf8":
@@ -938,15 +917,13 @@ function rr(t) {
938
917
  case "hex":
939
918
  return t;
940
919
  default:
941
- if (e)
942
- return;
920
+ if (e) return;
943
921
  t = ("" + t).toLowerCase(), e = !0;
944
922
  }
945
923
  }
946
924
  function nr(t) {
947
925
  var e = rr(t);
948
- if (typeof e != "string" && (Ve.isEncoding === ot || !ot(t)))
949
- throw new Error("Unknown encoding: " + t);
926
+ if (typeof e != "string" && (Ve.isEncoding === ot || !ot(t))) throw new Error("Unknown encoding: " + t);
950
927
  return e || t;
951
928
  }
952
929
  var ir = Be.StringDecoder = ne;
@@ -970,12 +947,10 @@ function ne(t) {
970
947
  this.lastNeed = 0, this.lastTotal = 0, this.lastChar = Ve.allocUnsafe(e);
971
948
  }
972
949
  ne.prototype.write = function(t) {
973
- if (t.length === 0)
974
- return "";
950
+ if (t.length === 0) return "";
975
951
  var e, r;
976
952
  if (this.lastNeed) {
977
- if (e = this.fillLast(t), e === void 0)
978
- return "";
953
+ if (e = this.fillLast(t), e === void 0) return "";
979
954
  r = this.lastNeed, this.lastNeed = 0;
980
955
  } else
981
956
  r = 0;
@@ -993,8 +968,7 @@ function De(t) {
993
968
  }
994
969
  function ar(t, e, r) {
995
970
  var a = e.length - 1;
996
- if (a < r)
997
- return 0;
971
+ if (a < r) return 0;
998
972
  var o = De(e[a]);
999
973
  return o >= 0 ? (o > 0 && (t.lastNeed = o - 1), o) : --a < r || o === -2 ? 0 : (o = De(e[a]), o >= 0 ? (o > 0 && (t.lastNeed = o - 2), o) : --a < r || o === -2 ? 0 : (o = De(e[a]), o >= 0 ? (o > 0 && (o === 2 ? o = 0 : t.lastNeed = o - 3), o) : 0));
1000
974
  }
@@ -1010,16 +984,14 @@ function sr(t, e, r) {
1010
984
  }
1011
985
  function or(t) {
1012
986
  var e = this.lastTotal - this.lastNeed, r = sr(this, t);
1013
- if (r !== void 0)
1014
- return r;
987
+ if (r !== void 0) return r;
1015
988
  if (this.lastNeed <= t.length)
1016
989
  return t.copy(this.lastChar, e, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
1017
990
  t.copy(this.lastChar, e, 0, t.length), this.lastNeed -= t.length;
1018
991
  }
1019
992
  function fr(t, e) {
1020
993
  var r = ar(this, t, e);
1021
- if (!this.lastNeed)
1022
- return t.toString("utf8", e);
994
+ if (!this.lastNeed) return t.toString("utf8", e);
1023
995
  this.lastTotal = r;
1024
996
  var a = t.length - (r - this.lastNeed);
1025
997
  return t.copy(this.lastChar, 0, a), t.toString("utf8", e, a);
@@ -1064,8 +1036,7 @@ function vr(t) {
1064
1036
  }
1065
1037
  var xe, ft;
1066
1038
  function Ge() {
1067
- if (ft)
1068
- return xe;
1039
+ if (ft) return xe;
1069
1040
  ft = 1;
1070
1041
  var t = Q().codes.ERR_STREAM_PREMATURE_CLOSE;
1071
1042
  function e(s) {
@@ -1085,8 +1056,7 @@ function Ge() {
1085
1056
  return s.setHeader && typeof s.abort == "function";
1086
1057
  }
1087
1058
  function o(s, f, u) {
1088
- if (typeof f == "function")
1089
- return o(s, null, f);
1059
+ if (typeof f == "function") return o(s, null, f);
1090
1060
  f || (f = {}), u = e(u || r);
1091
1061
  var l = f.readable || f.readable !== !1 && s.readable, h = f.writable || f.writable !== !1 && s.writable, g = function() {
1092
1062
  s.writable || _();
@@ -1113,8 +1083,7 @@ function Ge() {
1113
1083
  }
1114
1084
  var Pe, ut;
1115
1085
  function _r() {
1116
- if (ut)
1117
- return Pe;
1086
+ if (ut) return Pe;
1118
1087
  ut = 1;
1119
1088
  var t;
1120
1089
  function e(L, R, A) {
@@ -1125,13 +1094,11 @@ function _r() {
1125
1094
  return typeof R == "symbol" ? R : String(R);
1126
1095
  }
1127
1096
  function a(L, R) {
1128
- if (typeof L != "object" || L === null)
1129
- return L;
1097
+ if (typeof L != "object" || L === null) return L;
1130
1098
  var A = L[Symbol.toPrimitive];
1131
1099
  if (A !== void 0) {
1132
1100
  var O = A.call(L, R || "default");
1133
- if (typeof O != "object")
1134
- return O;
1101
+ if (typeof O != "object") return O;
1135
1102
  throw new TypeError("@@toPrimitive must return a primitive value.");
1136
1103
  }
1137
1104
  return (R === "string" ? String : Number)(L);
@@ -1248,8 +1215,7 @@ function br() {
1248
1215
  }
1249
1216
  var qe, dt;
1250
1217
  function Ot() {
1251
- if (dt)
1252
- return qe;
1218
+ if (dt) return qe;
1253
1219
  dt = 1, qe = D;
1254
1220
  var t;
1255
1221
  D.ReadableState = N, $e.EventEmitter;
@@ -1270,16 +1236,14 @@ function Ot() {
1270
1236
  J(D, r);
1271
1237
  var A = g.errorOrDestroy, O = ["error", "close", "destroy", "pause", "resume"];
1272
1238
  function I(n, i, p) {
1273
- if (typeof n.prependListener == "function")
1274
- return n.prependListener(i, p);
1239
+ if (typeof n.prependListener == "function") return n.prependListener(i, p);
1275
1240
  !n._events || !n._events[i] ? n.on(i, p) : Array.isArray(n._events[i]) ? n._events[i].unshift(p) : n._events[i] = [p, n._events[i]];
1276
1241
  }
1277
1242
  function N(n, i, p) {
1278
1243
  t = t || X(), n = n || {}, typeof p != "boolean" && (p = i instanceof t), this.objectMode = !!n.objectMode, p && (this.objectMode = this.objectMode || !!n.readableObjectMode), this.highWaterMark = _(this, n, "readableHighWaterMark", p), this.buffer = new h(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = n.emitClose !== !1, this.autoDestroy = !!n.autoDestroy, this.destroyed = !1, this.defaultEncoding = n.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, n.encoding && (T || (T = Be.StringDecoder), this.decoder = new T(n.encoding), this.encoding = n.encoding);
1279
1244
  }
1280
1245
  function D(n) {
1281
- if (t = t || X(), !(this instanceof D))
1282
- return new D(n);
1246
+ if (t = t || X(), !(this instanceof D)) return new D(n);
1283
1247
  var i = this instanceof t;
1284
1248
  this._readableState = new N(n, this, i), this.readable = !0, n && (typeof n.read == "function" && (this._read = n.read), typeof n.destroy == "function" && (this._destroy = n.destroy)), r.call(this);
1285
1249
  }
@@ -1321,8 +1285,7 @@ function Ot() {
1321
1285
  return !1;
1322
1286
  x.reading = !1, x.decoder && !p ? (i = x.decoder.write(i), x.objectMode || i.length !== 0 ? Z(n, x, i, !1) : V(n, x)) : Z(n, x, i, !1);
1323
1287
  }
1324
- else
1325
- E || (x.reading = !1, V(n, x));
1288
+ else E || (x.reading = !1, V(n, x));
1326
1289
  }
1327
1290
  return !x.ended && (x.length < x.highWaterMark || x.length === 0);
1328
1291
  }
@@ -1453,17 +1416,15 @@ function Ot() {
1453
1416
  var i = this._readableState, p = {
1454
1417
  hasUnpiped: !1
1455
1418
  };
1456
- if (i.pipesCount === 0)
1457
- return this;
1419
+ if (i.pipesCount === 0) return this;
1458
1420
  if (i.pipesCount === 1)
1459
1421
  return n && n !== i.pipes ? this : (n || (n = i.pipes), i.pipes = null, i.pipesCount = 0, i.flowing = !1, n && n.emit("unpipe", this, p), this);
1460
1422
  if (!n) {
1461
1423
  var E = i.pipes, j = i.pipesCount;
1462
1424
  i.pipes = null, i.pipesCount = 0, i.flowing = !1;
1463
- for (var x = 0; x < j; x++)
1464
- E[x].emit("unpipe", this, {
1465
- hasUnpiped: !1
1466
- });
1425
+ for (var x = 0; x < j; x++) E[x].emit("unpipe", this, {
1426
+ hasUnpiped: !1
1427
+ });
1467
1428
  return this;
1468
1429
  }
1469
1430
  var k = P(i.pipes, n);
@@ -1500,8 +1461,7 @@ function Ot() {
1500
1461
  };
1501
1462
  function c(n) {
1502
1463
  var i = n._readableState;
1503
- for (l("flow", i.flowing); i.flowing && n.read() !== null; )
1504
- ;
1464
+ for (l("flow", i.flowing); i.flowing && n.read() !== null; ) ;
1505
1465
  }
1506
1466
  D.prototype.wrap = function(n) {
1507
1467
  var i = this, p = this._readableState, E = !1;
@@ -1567,8 +1527,7 @@ function Ot() {
1567
1527
  }
1568
1528
  });
1569
1529
  function d(n, i) {
1570
- if (i.length === 0)
1571
- return null;
1530
+ if (i.length === 0) return null;
1572
1531
  var p;
1573
1532
  return i.objectMode ? p = i.buffer.shift() : !n || n >= i.length ? (i.decoder ? p = i.buffer.join("") : i.buffer.length === 1 ? p = i.buffer.first() : p = i.buffer.concat(i.length), i.buffer.clear()) : p = i.buffer.consume(n, i.decoder), p;
1574
1533
  }
@@ -1587,16 +1546,14 @@ function Ot() {
1587
1546
  });
1588
1547
  function P(n, i) {
1589
1548
  for (var p = 0, E = n.length; p < E; p++)
1590
- if (n[p] === i)
1591
- return p;
1549
+ if (n[p] === i) return p;
1592
1550
  return -1;
1593
1551
  }
1594
1552
  return qe;
1595
1553
  }
1596
1554
  var ke, ct;
1597
1555
  function Dt() {
1598
- if (ct)
1599
- return ke;
1556
+ if (ct) return ke;
1600
1557
  ct = 1, ke = u;
1601
1558
  var t = Q().codes, e = t.ERR_METHOD_NOT_IMPLEMENTED, r = t.ERR_MULTIPLE_CALLBACK, a = t.ERR_TRANSFORM_ALREADY_TRANSFORMING, o = t.ERR_TRANSFORM_WITH_LENGTH_0, s = X();
1602
1559
  J(u, s);
@@ -1611,8 +1568,7 @@ function Dt() {
1611
1568
  m.reading = !1, (m.needReadable || m.length < m.highWaterMark) && this._read(m.highWaterMark);
1612
1569
  }
1613
1570
  function u(g) {
1614
- if (!(this instanceof u))
1615
- return new u(g);
1571
+ if (!(this instanceof u)) return new u(g);
1616
1572
  s.call(this, g), this._transformState = {
1617
1573
  afterTransform: f.bind(this),
1618
1574
  needTransform: !1,
@@ -1647,26 +1603,21 @@ function Dt() {
1647
1603
  });
1648
1604
  };
1649
1605
  function h(g, y, _) {
1650
- if (y)
1651
- return g.emit("error", y);
1652
- if (_ != null && g.push(_), g._writableState.length)
1653
- throw new o();
1654
- if (g._transformState.transforming)
1655
- throw new a();
1606
+ if (y) return g.emit("error", y);
1607
+ if (_ != null && g.push(_), g._writableState.length) throw new o();
1608
+ if (g._transformState.transforming) throw new a();
1656
1609
  return g.push(null);
1657
1610
  }
1658
1611
  return ke;
1659
1612
  }
1660
1613
  var je, ht;
1661
1614
  function gr() {
1662
- if (ht)
1663
- return je;
1615
+ if (ht) return je;
1664
1616
  ht = 1, je = e;
1665
1617
  var t = Dt();
1666
1618
  J(e, t);
1667
1619
  function e(r) {
1668
- if (!(this instanceof e))
1669
- return new e(r);
1620
+ if (!(this instanceof e)) return new e(r);
1670
1621
  t.call(this, r);
1671
1622
  }
1672
1623
  return e.prototype._transform = function(r, a, o) {
@@ -1675,8 +1626,7 @@ function gr() {
1675
1626
  }
1676
1627
  var Ie, pt;
1677
1628
  function yr() {
1678
- if (pt)
1679
- return Ie;
1629
+ if (pt) return Ie;
1680
1630
  pt = 1;
1681
1631
  var t;
1682
1632
  function e(_) {
@@ -1687,8 +1637,7 @@ function yr() {
1687
1637
  }
1688
1638
  var r = Q().codes, a = r.ERR_MISSING_ARGS, o = r.ERR_STREAM_DESTROYED;
1689
1639
  function s(_) {
1690
- if (_)
1691
- throw _;
1640
+ if (_) throw _;
1692
1641
  }
1693
1642
  function f(_) {
1694
1643
  return _.setHeader && typeof _.abort == "function";
@@ -1702,17 +1651,14 @@ function yr() {
1702
1651
  readable: M,
1703
1652
  writable: m
1704
1653
  }, function(T) {
1705
- if (T)
1706
- return S(T);
1654
+ if (T) return S(T);
1707
1655
  b = !0, S();
1708
1656
  });
1709
1657
  var w = !1;
1710
1658
  return function(T) {
1711
1659
  if (!b && !w) {
1712
- if (w = !0, f(_))
1713
- return _.abort();
1714
- if (typeof _.destroy == "function")
1715
- return _.destroy();
1660
+ if (w = !0, f(_)) return _.abort();
1661
+ if (typeof _.destroy == "function") return _.destroy();
1716
1662
  S(T || new o("pipe"));
1717
1663
  }
1718
1664
  };
@@ -1965,13 +1911,12 @@ class Wt {
1965
1911
  s && (s.directive === "FASTA" ? (this._emitAllUnderConstructionFeatures(), this.eof = !0, this.fastaParser = new _t(this.sequenceCallback)) : this._emitItem(s));
1966
1912
  } else
1967
1913
  o = o.replace(/\s*/, ""), this._emitItem({ comment: o });
1968
- } else if (!/^\s*$/.test(e))
1969
- if (/^\s*>/.test(e))
1970
- this._emitAllUnderConstructionFeatures(), this.eof = !0, this.fastaParser = new _t(this.sequenceCallback), this.fastaParser.addLine(e);
1971
- else {
1972
- const a = e.replace(/\r?\n?$/g, "");
1973
- throw new Error(`GFF3 parse error. Cannot parse '${a}'.`);
1974
- }
1914
+ } else if (!/^\s*$/.test(e)) if (/^\s*>/.test(e))
1915
+ this._emitAllUnderConstructionFeatures(), this.eof = !0, this.fastaParser = new _t(this.sequenceCallback), this.fastaParser.addLine(e);
1916
+ else {
1917
+ const a = e.replace(/\r?\n?$/g, "");
1918
+ throw new Error(`GFF3 parse error. Cannot parse '${a}'.`);
1919
+ }
1975
1920
  }
1976
1921
  finish() {
1977
1922
  this._emitAllUnderConstructionFeatures(), this.fastaParser && this.fastaParser.finish(), this.endCallback();
@@ -1,4 +1,4 @@
1
- import { g as vt } from "./_commonjsHelpers-BIiJCwQW.js";
1
+ import { g as vt } from "./_commonjsHelpers-DSebQMb9.js";
2
2
  function xt(s, h) {
3
3
  function t() {
4
4
  this.constructor = s;
@@ -484,8 +484,7 @@ class Ut {
484
484
  if (m) {
485
485
  const I = Number(f);
486
486
  f = Number.isNaN(I) ? f : I;
487
- } else
488
- S && (f = f.split(","), f[f.length - 1] === "" && f.pop(), v && (f = f.map(Number)));
487
+ } else S && (f = f.split(","), f[f.length - 1] === "" && f.pop(), v && (f = f.map(Number)));
489
488
  p[O] = f;
490
489
  }
491
490
  }
@@ -1,7 +1,7 @@
1
- import { _ as Y, L as J } from "./index-uO0O4Uv-.js";
2
- import { b as K } from "./index-B5cesONJ.js";
1
+ import { _ as Y, L as J } from "./index-BhtH2nrr.js";
2
+ import { b as K } from "./index-B6haPltu.js";
3
3
  import { L as P } from "./__vite-browser-external-C--ziKoh.js";
4
- import { u as F, L as G, a as Q } from "./long-D4tVjLLz.js";
4
+ import { u as F, L as G, a as Q } from "./long-BXK3UEks.js";
5
5
  function H(a) {
6
6
  if (a.greaterThan(Number.MAX_SAFE_INTEGER) || a.lessThan(Number.MIN_SAFE_INTEGER))
7
7
  throw new Error("integer overflow");