@genome-spy/app 0.53.0 → 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.
- package/LICENSE +21 -0
- package/dist/{_commonjsHelpers-BIiJCwQW.js → _commonjsHelpers-DSebQMb9.js} +2 -4
- package/dist/{index-B5cesONJ.js → index-B6haPltu.js} +33 -65
- package/dist/{index-uO0O4Uv-.js → index-BhtH2nrr.js} +3 -5
- package/dist/{index-_tI-fMQF.js → index-BpoXW6_f.js} +5 -6
- package/dist/{index-BywMLhhd.js → index-COovE1Oo.js} +75 -105
- package/dist/{index-BJLu48Hz.js → index-CjesiOz_.js} +2 -2
- package/dist/{index-oqw_s02W.js → index-HGQZ77IK.js} +2 -2
- package/dist/{index-DAJ8JQLE.js → index-WACuLhO6.js} +64 -119
- package/dist/{index-e0oKgZbZ.js → index-_ftu0t0z.js} +2 -3
- package/dist/{index-CSayoXbw.js → index-nCZhu2o-.js} +3 -3
- package/dist/index.es.js +7150 -7294
- package/dist/index.js +300 -300
- package/dist/{long-D4tVjLLz.js → long-BXK3UEks.js} +9 -16
- package/dist/{remoteFile-BkTxwFub.js → remoteFile-DuIsnepi.js} +1 -1
- package/package.json +4 -3
package/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2018-2023 Kari Lavikka
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -3,16 +3,14 @@ function f(e) {
|
|
3
3
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
4
4
|
}
|
5
5
|
function s(e) {
|
6
|
-
if (e.__esModule)
|
7
|
-
return e;
|
6
|
+
if (e.__esModule) return e;
|
8
7
|
var r = e.default;
|
9
8
|
if (typeof r == "function") {
|
10
9
|
var t = function o() {
|
11
10
|
return this instanceof o ? Reflect.construct(r, arguments, this.constructor) : r.apply(this, arguments);
|
12
11
|
};
|
13
12
|
t.prototype = r.prototype;
|
14
|
-
} else
|
15
|
-
t = {};
|
13
|
+
} else t = {};
|
16
14
|
return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(o) {
|
17
15
|
var n = Object.getOwnPropertyDescriptor(e, o);
|
18
16
|
Object.defineProperty(t, o, n.get ? n : {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g as _r } from "./_commonjsHelpers-
|
1
|
+
import { g as _r } from "./_commonjsHelpers-DSebQMb9.js";
|
2
2
|
function Sr(c, f) {
|
3
3
|
for (var s = 0; s < f.length; s++) {
|
4
4
|
const w = f[s];
|
@@ -160,8 +160,7 @@ X.write = function(c, f, s, w, y, l) {
|
|
160
160
|
if (n != null && n !== i)
|
161
161
|
return o.from(n, r, t);
|
162
162
|
const e = fr(i);
|
163
|
-
if (e)
|
164
|
-
return e;
|
163
|
+
if (e) return e;
|
165
164
|
if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof i[Symbol.toPrimitive] == "function")
|
166
165
|
return o.from(i[Symbol.toPrimitive]("string"), r, t);
|
167
166
|
throw new TypeError(
|
@@ -245,8 +244,7 @@ X.write = function(c, f, s, w, y, l) {
|
|
245
244
|
throw new TypeError(
|
246
245
|
'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
|
247
246
|
);
|
248
|
-
if (r === t)
|
249
|
-
return 0;
|
247
|
+
if (r === t) return 0;
|
250
248
|
let n = r.length, e = t.length;
|
251
249
|
for (let u = 0, h = Math.min(n, e); u < h; ++u)
|
252
250
|
if (r[u] !== t[u]) {
|
@@ -308,8 +306,7 @@ X.write = function(c, f, s, w, y, l) {
|
|
308
306
|
'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof i
|
309
307
|
);
|
310
308
|
const t = i.length, n = arguments.length > 2 && arguments[2] === !0;
|
311
|
-
if (!n && t === 0)
|
312
|
-
return 0;
|
309
|
+
if (!n && t === 0) return 0;
|
313
310
|
let e = !1;
|
314
311
|
for (; ; )
|
315
312
|
switch (r) {
|
@@ -360,8 +357,7 @@ X.write = function(c, f, s, w, y, l) {
|
|
360
357
|
case "utf-16le":
|
361
358
|
return mr(this, r, t);
|
362
359
|
default:
|
363
|
-
if (n)
|
364
|
-
throw new TypeError("Unknown encoding: " + i);
|
360
|
+
if (n) throw new TypeError("Unknown encoding: " + i);
|
365
361
|
i = (i + "").toLowerCase(), n = !0;
|
366
362
|
}
|
367
363
|
}
|
@@ -395,8 +391,7 @@ X.write = function(c, f, s, w, y, l) {
|
|
395
391
|
const r = this.length;
|
396
392
|
return r === 0 ? "" : arguments.length === 0 ? Z(this, 0, r) : pr.apply(this, arguments);
|
397
393
|
}, o.prototype.toLocaleString = o.prototype.toString, o.prototype.equals = function(r) {
|
398
|
-
if (!o.isBuffer(r))
|
399
|
-
throw new TypeError("Argument must be a Buffer");
|
394
|
+
if (!o.isBuffer(r)) throw new TypeError("Argument must be a Buffer");
|
400
395
|
return this === r ? !0 : o.compare(this, r) === 0;
|
401
396
|
}, o.prototype.inspect = function() {
|
402
397
|
let r = "";
|
@@ -415,8 +410,7 @@ X.write = function(c, f, s, w, y, l) {
|
|
415
410
|
return -1;
|
416
411
|
if (t >= n)
|
417
412
|
return 1;
|
418
|
-
if (t >>>= 0, n >>>= 0, e >>>= 0, u >>>= 0, this === r)
|
419
|
-
return 0;
|
413
|
+
if (t >>>= 0, n >>>= 0, e >>>= 0, u >>>= 0, this === r) return 0;
|
420
414
|
let h = u - e, a = n - t;
|
421
415
|
const d = Math.min(h, a), E = this.slice(e, u), g = r.slice(t, n);
|
422
416
|
for (let x = 0; x < d; ++x)
|
@@ -427,17 +421,13 @@ X.write = function(c, f, s, w, y, l) {
|
|
427
421
|
return h < a ? -1 : a < h ? 1 : 0;
|
428
422
|
};
|
429
423
|
function J(i, r, t, n, e) {
|
430
|
-
if (i.length === 0)
|
431
|
-
return -1;
|
424
|
+
if (i.length === 0) return -1;
|
432
425
|
if (typeof t == "string" ? (n = t, t = 0) : t > 2147483647 ? t = 2147483647 : t < -2147483648 && (t = -2147483648), t = +t, q(t) && (t = e ? 0 : i.length - 1), t < 0 && (t = i.length + t), t >= i.length) {
|
433
|
-
if (e)
|
434
|
-
return -1;
|
426
|
+
if (e) return -1;
|
435
427
|
t = i.length - 1;
|
436
428
|
} else if (t < 0)
|
437
|
-
if (e)
|
438
|
-
|
439
|
-
else
|
440
|
-
return -1;
|
429
|
+
if (e) t = 0;
|
430
|
+
else return -1;
|
441
431
|
if (typeof r == "string" && (r = o.from(r, n)), o.isBuffer(r))
|
442
432
|
return r.length === 0 ? -1 : K(i, r, t, n, e);
|
443
433
|
if (typeof r == "number")
|
@@ -459,8 +449,7 @@ X.write = function(c, f, s, w, y, l) {
|
|
459
449
|
let g = -1;
|
460
450
|
for (E = t; E < h; E++)
|
461
451
|
if (d(i, E) === d(r, g === -1 ? 0 : E - g)) {
|
462
|
-
if (g === -1 && (g = E), E - g + 1 === a)
|
463
|
-
return g * u;
|
452
|
+
if (g === -1 && (g = E), E - g + 1 === a) return g * u;
|
464
453
|
} else
|
465
454
|
g !== -1 && (E -= E - g), g = -1;
|
466
455
|
} else
|
@@ -471,8 +460,7 @@ X.write = function(c, f, s, w, y, l) {
|
|
471
460
|
g = !1;
|
472
461
|
break;
|
473
462
|
}
|
474
|
-
if (g)
|
475
|
-
return E;
|
463
|
+
if (g) return E;
|
476
464
|
}
|
477
465
|
return -1;
|
478
466
|
}
|
@@ -492,8 +480,7 @@ X.write = function(c, f, s, w, y, l) {
|
|
492
480
|
let h;
|
493
481
|
for (h = 0; h < n; ++h) {
|
494
482
|
const a = parseInt(r.substr(h * 2, 2), 16);
|
495
|
-
if (q(a))
|
496
|
-
return h;
|
483
|
+
if (q(a)) return h;
|
497
484
|
i[t + h] = a;
|
498
485
|
}
|
499
486
|
return h;
|
@@ -545,8 +532,7 @@ X.write = function(c, f, s, w, y, l) {
|
|
545
532
|
case "utf-16le":
|
546
533
|
return wr(this, r, t, n);
|
547
534
|
default:
|
548
|
-
if (h)
|
549
|
-
throw new TypeError("Unknown encoding: " + e);
|
535
|
+
if (h) throw new TypeError("Unknown encoding: " + e);
|
550
536
|
e = ("" + e).toLowerCase(), h = !0;
|
551
537
|
}
|
552
538
|
}, o.prototype.toJSON = function() {
|
@@ -634,10 +620,8 @@ X.write = function(c, f, s, w, y, l) {
|
|
634
620
|
return Object.setPrototypeOf(e, o.prototype), e;
|
635
621
|
};
|
636
622
|
function m(i, r, t) {
|
637
|
-
if (i % 1 !== 0 || i < 0)
|
638
|
-
|
639
|
-
if (i + r > t)
|
640
|
-
throw new RangeError("Trying to access beyond buffer length");
|
623
|
+
if (i % 1 !== 0 || i < 0) throw new RangeError("offset is not uint");
|
624
|
+
if (i + r > t) throw new RangeError("Trying to access beyond buffer length");
|
641
625
|
}
|
642
626
|
o.prototype.readUintLE = o.prototype.readUIntLE = function(r, t, n) {
|
643
627
|
r = r >>> 0, t = t >>> 0, n || m(r, t, this.length);
|
@@ -722,12 +706,9 @@ X.write = function(c, f, s, w, y, l) {
|
|
722
706
|
return r = r >>> 0, t || m(r, 8, this.length), s.read(this, r, !1, 52, 8);
|
723
707
|
};
|
724
708
|
function U(i, r, t, n, e, u) {
|
725
|
-
if (!o.isBuffer(i))
|
726
|
-
|
727
|
-
if (
|
728
|
-
throw new RangeError('"value" argument is out of bounds');
|
729
|
-
if (t + n > i.length)
|
730
|
-
throw new RangeError("Index out of range");
|
709
|
+
if (!o.isBuffer(i)) throw new TypeError('"buffer" argument must be a Buffer instance');
|
710
|
+
if (r > e || r < u) throw new RangeError('"value" argument is out of bounds');
|
711
|
+
if (t + n > i.length) throw new RangeError("Index out of range");
|
731
712
|
}
|
732
713
|
o.prototype.writeUintLE = o.prototype.writeUIntLE = function(r, t, n, e) {
|
733
714
|
if (r = +r, t = t >>> 0, n = n >>> 0, !e) {
|
@@ -810,10 +791,8 @@ X.write = function(c, f, s, w, y, l) {
|
|
810
791
|
return rr(this, r, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
811
792
|
});
|
812
793
|
function tr(i, r, t, n, e, u) {
|
813
|
-
if (t + n > i.length)
|
814
|
-
|
815
|
-
if (t < 0)
|
816
|
-
throw new RangeError("Index out of range");
|
794
|
+
if (t + n > i.length) throw new RangeError("Index out of range");
|
795
|
+
if (t < 0) throw new RangeError("Index out of range");
|
817
796
|
}
|
818
797
|
function ir(i, r, t, n, e) {
|
819
798
|
return r = +r, t = t >>> 0, e || tr(i, r, t, 4), s.write(i, r, t, n, 23, 4), t + 4;
|
@@ -831,16 +810,12 @@ X.write = function(c, f, s, w, y, l) {
|
|
831
810
|
}, o.prototype.writeDoubleBE = function(r, t, n) {
|
832
811
|
return nr(this, r, t, !1, n);
|
833
812
|
}, o.prototype.copy = function(r, t, n, e) {
|
834
|
-
if (!o.isBuffer(r))
|
835
|
-
|
836
|
-
if (n || (n = 0), !e && e !== 0 && (e = this.length), t >= r.length && (t = r.length), t || (t = 0), e > 0 && e < n && (e = n), e === n || r.length === 0 || this.length === 0)
|
837
|
-
return 0;
|
813
|
+
if (!o.isBuffer(r)) throw new TypeError("argument should be a Buffer");
|
814
|
+
if (n || (n = 0), !e && e !== 0 && (e = this.length), t >= r.length && (t = r.length), t || (t = 0), e > 0 && e < n && (e = n), e === n || r.length === 0 || this.length === 0) return 0;
|
838
815
|
if (t < 0)
|
839
816
|
throw new RangeError("targetStart out of bounds");
|
840
|
-
if (n < 0 || n >= this.length)
|
841
|
-
|
842
|
-
if (e < 0)
|
843
|
-
throw new RangeError("sourceEnd out of bounds");
|
817
|
+
if (n < 0 || n >= this.length) throw new RangeError("Index out of range");
|
818
|
+
if (e < 0) throw new RangeError("sourceEnd out of bounds");
|
844
819
|
e > this.length && (e = this.length), r.length - t < e - n && (e = r.length - t + n);
|
845
820
|
const u = e - n;
|
846
821
|
return this === r && typeof Uint8Array.prototype.copyWithin == "function" ? this.copyWithin(t, n, e) : Uint8Array.prototype.set.call(
|
@@ -858,8 +833,7 @@ X.write = function(c, f, s, w, y, l) {
|
|
858
833
|
const h = r.charCodeAt(0);
|
859
834
|
(e === "utf8" && h < 128 || e === "latin1") && (r = h);
|
860
835
|
}
|
861
|
-
} else
|
862
|
-
typeof r == "number" ? r = r & 255 : typeof r == "boolean" && (r = Number(r));
|
836
|
+
} else typeof r == "number" ? r = r & 255 : typeof r == "boolean" && (r = Number(r));
|
863
837
|
if (t < 0 || this.length < t || this.length < n)
|
864
838
|
throw new RangeError("Out of range index");
|
865
839
|
if (n <= t)
|
@@ -955,8 +929,7 @@ X.write = function(c, f, s, w, y, l) {
|
|
955
929
|
}
|
956
930
|
const Fr = /[^+/0-9A-Za-z-_]/g;
|
957
931
|
function Ar(i) {
|
958
|
-
if (i = i.split("=")[0], i = i.trim().replace(Fr, ""), i.length < 2)
|
959
|
-
return "";
|
932
|
+
if (i = i.split("=")[0], i = i.trim().replace(Fr, ""), i.length < 2) return "";
|
960
933
|
for (; i.length % 4 !== 0; )
|
961
934
|
i = i + "=";
|
962
935
|
return i;
|
@@ -985,30 +958,25 @@ X.write = function(c, f, s, w, y, l) {
|
|
985
958
|
continue;
|
986
959
|
}
|
987
960
|
t = (e - 55296 << 10 | t - 56320) + 65536;
|
988
|
-
} else
|
989
|
-
e && (r -= 3) > -1 && u.push(239, 191, 189);
|
961
|
+
} else e && (r -= 3) > -1 && u.push(239, 191, 189);
|
990
962
|
if (e = null, t < 128) {
|
991
|
-
if ((r -= 1) < 0)
|
992
|
-
break;
|
963
|
+
if ((r -= 1) < 0) break;
|
993
964
|
u.push(t);
|
994
965
|
} else if (t < 2048) {
|
995
|
-
if ((r -= 2) < 0)
|
996
|
-
break;
|
966
|
+
if ((r -= 2) < 0) break;
|
997
967
|
u.push(
|
998
968
|
t >> 6 | 192,
|
999
969
|
t & 63 | 128
|
1000
970
|
);
|
1001
971
|
} else if (t < 65536) {
|
1002
|
-
if ((r -= 3) < 0)
|
1003
|
-
break;
|
972
|
+
if ((r -= 3) < 0) break;
|
1004
973
|
u.push(
|
1005
974
|
t >> 12 | 224,
|
1006
975
|
t >> 6 & 63 | 128,
|
1007
976
|
t & 63 | 128
|
1008
977
|
);
|
1009
978
|
} else if (t < 1114112) {
|
1010
|
-
if ((r -= 4) < 0)
|
1011
|
-
break;
|
979
|
+
if ((r -= 4) < 0) break;
|
1012
980
|
u.push(
|
1013
981
|
t >> 18 | 240,
|
1014
982
|
t >> 12 & 63 | 128,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { c as v, g as x } from "./_commonjsHelpers-
|
1
|
+
import { c as v, g as x } from "./_commonjsHelpers-DSebQMb9.js";
|
2
2
|
var T = {}, m = {}, h = {}, g = {};
|
3
3
|
Object.defineProperty(g, "__esModule", { value: !0 });
|
4
4
|
function A(r, e) {
|
@@ -40,10 +40,8 @@ function w(r, e) {
|
|
40
40
|
}, w(r, e);
|
41
41
|
}
|
42
42
|
function $() {
|
43
|
-
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
44
|
-
|
45
|
-
if (typeof Proxy == "function")
|
46
|
-
return !0;
|
43
|
+
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
|
44
|
+
if (typeof Proxy == "function") return !0;
|
47
45
|
try {
|
48
46
|
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
49
47
|
})), !0;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { L as V, u as k, a as Q } from "./long-
|
2
|
-
import { b as I } from "./index-
|
1
|
+
import { L as V, u as k, a as Q } from "./long-BXK3UEks.js";
|
2
|
+
import { b as I } from "./index-B6haPltu.js";
|
3
3
|
import { L as A } from "./__vite-browser-external-C--ziKoh.js";
|
4
|
-
import { R } from "./remoteFile-
|
5
|
-
import { _ as Y, L as W } from "./index-
|
4
|
+
import { R } from "./remoteFile-DuIsnepi.js";
|
5
|
+
import { _ as Y, L as W } from "./index-BhtH2nrr.js";
|
6
6
|
class D {
|
7
7
|
constructor(e, t) {
|
8
8
|
this.blockPosition = e, this.dataPosition = t;
|
@@ -1155,8 +1155,7 @@ class pe {
|
|
1155
1155
|
if (f.get("start") >= r) {
|
1156
1156
|
c = !0;
|
1157
1157
|
break;
|
1158
|
-
} else
|
1159
|
-
f.get("end") >= n && u.push(f);
|
1158
|
+
} else f.get("end") >= n && u.push(f);
|
1160
1159
|
if (h.push(u), yield u, c)
|
1161
1160
|
break;
|
1162
1161
|
}
|