@genome-spy/app 0.53.0 → 0.53.1
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/index.es.js +653 -652
- package/dist/index.js +93 -93
- package/package.json +4 -3
package/dist/index.es.js
CHANGED
@@ -1237,30 +1237,30 @@ function By(e) {
|
|
1237
1237
|
c: null,
|
1238
1238
|
d: bg,
|
1239
1239
|
e: bg,
|
1240
|
-
f:
|
1241
|
-
g:
|
1242
|
-
G:
|
1240
|
+
f: tE,
|
1241
|
+
g: fE,
|
1242
|
+
G: dE,
|
1243
1243
|
H: JC,
|
1244
1244
|
I: $C,
|
1245
|
-
j:
|
1245
|
+
j: eE,
|
1246
1246
|
L: Ry,
|
1247
|
-
m:
|
1248
|
-
M:
|
1247
|
+
m: nE,
|
1248
|
+
M: rE,
|
1249
1249
|
p: He,
|
1250
1250
|
q: lt,
|
1251
1251
|
Q: vg,
|
1252
1252
|
s: Ag,
|
1253
|
-
S:
|
1254
|
-
u:
|
1255
|
-
U:
|
1256
|
-
V:
|
1257
|
-
w:
|
1258
|
-
W:
|
1253
|
+
S: iE,
|
1254
|
+
u: oE,
|
1255
|
+
U: sE,
|
1256
|
+
V: aE,
|
1257
|
+
w: cE,
|
1258
|
+
W: lE,
|
1259
1259
|
x: null,
|
1260
1260
|
X: null,
|
1261
|
-
y:
|
1262
|
-
Y:
|
1263
|
-
Z:
|
1261
|
+
y: uE,
|
1262
|
+
Y: hE,
|
1263
|
+
Z: pE,
|
1264
1264
|
"%": xg
|
1265
1265
|
}, w = {
|
1266
1266
|
a: H,
|
@@ -1594,58 +1594,58 @@ function JC(e, t) {
|
|
1594
1594
|
function $C(e, t) {
|
1595
1595
|
return te(e.getUTCHours() % 12 || 12, t, 2);
|
1596
1596
|
}
|
1597
|
-
function
|
1597
|
+
function eE(e, t) {
|
1598
1598
|
return te(1 + mi.count(fn(e), e), t, 3);
|
1599
1599
|
}
|
1600
1600
|
function Ry(e, t) {
|
1601
1601
|
return te(e.getUTCMilliseconds(), t, 3);
|
1602
1602
|
}
|
1603
|
-
function
|
1603
|
+
function tE(e, t) {
|
1604
1604
|
return Ry(e, t) + "000";
|
1605
1605
|
}
|
1606
|
-
function
|
1606
|
+
function nE(e, t) {
|
1607
1607
|
return te(e.getUTCMonth() + 1, t, 2);
|
1608
1608
|
}
|
1609
|
-
function
|
1609
|
+
function rE(e, t) {
|
1610
1610
|
return te(e.getUTCMinutes(), t, 2);
|
1611
1611
|
}
|
1612
|
-
function
|
1612
|
+
function iE(e, t) {
|
1613
1613
|
return te(e.getUTCSeconds(), t, 2);
|
1614
1614
|
}
|
1615
|
-
function
|
1615
|
+
function oE(e) {
|
1616
1616
|
var t = e.getUTCDay();
|
1617
1617
|
return t === 0 ? 7 : t;
|
1618
1618
|
}
|
1619
|
-
function
|
1619
|
+
function sE(e, t) {
|
1620
1620
|
return te(pc.count(fn(e) - 1, e), t, 2);
|
1621
1621
|
}
|
1622
1622
|
function Oy(e) {
|
1623
1623
|
var t = e.getUTCDay();
|
1624
1624
|
return t >= 4 || t === 0 ? Uo(e) : Uo.ceil(e);
|
1625
1625
|
}
|
1626
|
-
function
|
1626
|
+
function aE(e, t) {
|
1627
1627
|
return e = Oy(e), te(Uo.count(fn(e), e) + (fn(e).getUTCDay() === 4), t, 2);
|
1628
1628
|
}
|
1629
|
-
function
|
1629
|
+
function cE(e) {
|
1630
1630
|
return e.getUTCDay();
|
1631
1631
|
}
|
1632
|
-
function
|
1632
|
+
function lE(e, t) {
|
1633
1633
|
return te(Ol.count(fn(e) - 1, e), t, 2);
|
1634
1634
|
}
|
1635
|
-
function
|
1635
|
+
function uE(e, t) {
|
1636
1636
|
return te(e.getUTCFullYear() % 100, t, 2);
|
1637
1637
|
}
|
1638
|
-
function
|
1638
|
+
function fE(e, t) {
|
1639
1639
|
return e = Oy(e), te(e.getUTCFullYear() % 100, t, 2);
|
1640
1640
|
}
|
1641
|
-
function
|
1641
|
+
function hE(e, t) {
|
1642
1642
|
return te(e.getUTCFullYear() % 1e4, t, 4);
|
1643
1643
|
}
|
1644
|
-
function
|
1644
|
+
function dE(e, t) {
|
1645
1645
|
var n = e.getUTCDay();
|
1646
1646
|
return e = n >= 4 || n === 0 ? Uo(e) : Uo.ceil(e), te(e.getUTCFullYear() % 1e4, t, 4);
|
1647
1647
|
}
|
1648
|
-
function
|
1648
|
+
function pE() {
|
1649
1649
|
return "+0000";
|
1650
1650
|
}
|
1651
1651
|
function xg() {
|
@@ -1658,7 +1658,7 @@ function Ag(e) {
|
|
1658
1658
|
return Math.floor(+e / 1e3);
|
1659
1659
|
}
|
1660
1660
|
var _i, $p, Ly, e0, zy;
|
1661
|
-
|
1661
|
+
mE({
|
1662
1662
|
dateTime: "%x, %X",
|
1663
1663
|
date: "%-m/%-d/%Y",
|
1664
1664
|
time: "%-I:%M:%S %p",
|
@@ -1668,7 +1668,7 @@ m5({
|
|
1668
1668
|
months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
|
1669
1669
|
shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
|
1670
1670
|
});
|
1671
|
-
function
|
1671
|
+
function mE(e) {
|
1672
1672
|
return _i = By(e), $p = _i.format, Ly = _i.parse, e0 = _i.utcFormat, zy = _i.utcParse, _i;
|
1673
1673
|
}
|
1674
1674
|
function Wc(e) {
|
@@ -1690,8 +1690,8 @@ function Ny(e) {
|
|
1690
1690
|
};
|
1691
1691
|
}
|
1692
1692
|
let Xh;
|
1693
|
-
|
1694
|
-
function
|
1693
|
+
gE();
|
1694
|
+
function gE() {
|
1695
1695
|
return Xh = Ny({
|
1696
1696
|
format: $p,
|
1697
1697
|
parse: Ly,
|
@@ -1699,74 +1699,74 @@ function g5() {
|
|
1699
1699
|
utcParse: zy
|
1700
1700
|
});
|
1701
1701
|
}
|
1702
|
-
function
|
1702
|
+
function yE(e) {
|
1703
1703
|
return Ny(By(e));
|
1704
1704
|
}
|
1705
|
-
function
|
1706
|
-
return arguments.length ? Xh =
|
1705
|
+
function bE(e) {
|
1706
|
+
return arguments.length ? Xh = yE(e) : Xh;
|
1707
1707
|
}
|
1708
|
-
const
|
1709
|
-
function
|
1708
|
+
const xE = /^(data:|([A-Za-z]+:)?\/\/)/, vE = /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp|file|data):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i, AE = /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g, Sg = "file://";
|
1709
|
+
function wE(e, t) {
|
1710
1710
|
return (n) => ({
|
1711
1711
|
options: n || {},
|
1712
|
-
sanitize:
|
1713
|
-
load:
|
1712
|
+
sanitize: CE,
|
1713
|
+
load: SE,
|
1714
1714
|
fileAccess: !!t,
|
1715
|
-
file:
|
1716
|
-
http:
|
1715
|
+
file: EE(),
|
1716
|
+
http: TE(e)
|
1717
1717
|
});
|
1718
1718
|
}
|
1719
|
-
async function
|
1719
|
+
async function SE(e, t) {
|
1720
1720
|
const n = await this.sanitize(e, t), r = n.href;
|
1721
1721
|
return n.localFile ? this.file(r) : this.http(r, t);
|
1722
1722
|
}
|
1723
|
-
async function
|
1723
|
+
async function CE(e, t) {
|
1724
1724
|
t = Qp({}, this.options, t);
|
1725
1725
|
const n = this.fileAccess, r = {
|
1726
1726
|
href: null
|
1727
1727
|
};
|
1728
1728
|
let i, o, s;
|
1729
|
-
const a =
|
1729
|
+
const a = vE.test(e.replace(AE, ""));
|
1730
1730
|
(e == null || typeof e != "string" || !a) && Ae("Sanitize failure, invalid URI: " + $u(e));
|
1731
|
-
const c =
|
1731
|
+
const c = xE.test(e);
|
1732
1732
|
return (s = t.baseURL) && !c && (!e.startsWith("/") && !s.endsWith("/") && (e = "/" + e), e = s + e), o = (i = e.startsWith(Sg)) || t.mode === "file" || t.mode !== "http" && !c && n, i ? e = e.slice(Sg.length) : e.startsWith("//") && (t.defaultProtocol === "file" ? (e = e.slice(2), o = !0) : e = (t.defaultProtocol || "http") + ":" + e), Object.defineProperty(r, "localFile", {
|
1733
1733
|
value: !!o
|
1734
1734
|
}), r.href = e, t.target && (r.target = t.target + ""), t.rel && (r.rel = t.rel + ""), t.context === "image" && t.crossOrigin && (r.crossOrigin = t.crossOrigin + ""), r;
|
1735
1735
|
}
|
1736
|
-
function
|
1737
|
-
return
|
1736
|
+
function EE(e) {
|
1737
|
+
return kE;
|
1738
1738
|
}
|
1739
|
-
async function
|
1739
|
+
async function kE() {
|
1740
1740
|
Ae("No file system access.");
|
1741
1741
|
}
|
1742
|
-
function
|
1742
|
+
function TE(e) {
|
1743
1743
|
return e ? async function(t, n) {
|
1744
1744
|
const r = Qp({}, this.options.http, n), i = n && n.response, o = await e(t, r);
|
1745
1745
|
return o.ok ? At(o[i]) ? o[i]() : o.text() : Ae(o.status + "" + o.statusText);
|
1746
|
-
} :
|
1746
|
+
} : DE;
|
1747
1747
|
}
|
1748
|
-
async function
|
1748
|
+
async function DE() {
|
1749
1749
|
Ae("No HTTP fetch method available.");
|
1750
1750
|
}
|
1751
|
-
const
|
1751
|
+
const IE = (e) => e != null && e === e, ME = (e) => e === "true" || e === "false" || e === !0 || e === !1, BE = (e) => !Number.isNaN(Date.parse(e)), Uy = (e) => !Number.isNaN(+e) && !(e instanceof Date), FE = (e) => Uy(e) && Number.isInteger(+e), Cg = {
|
1752
1752
|
boolean: sS,
|
1753
1753
|
integer: Rs,
|
1754
1754
|
number: Rs,
|
1755
1755
|
date: cS,
|
1756
1756
|
string: lS,
|
1757
1757
|
unknown: Zu
|
1758
|
-
}, Yc = [
|
1758
|
+
}, Yc = [ME, FE, Uy, BE], PE = ["boolean", "integer", "number", "date"];
|
1759
1759
|
function Hy(e, t) {
|
1760
1760
|
if (!e || !e.length)
|
1761
1761
|
return "unknown";
|
1762
1762
|
const n = e.length, r = Yc.length, i = Yc.map((o, s) => s + 1);
|
1763
1763
|
for (let o = 0, s = 0, a, c; o < n; ++o)
|
1764
1764
|
for (c = t ? e[o][t] : e[o], a = 0; a < r; ++a)
|
1765
|
-
if (i[a] &&
|
1765
|
+
if (i[a] && IE(c) && !Yc[a](c) && (i[a] = 0, ++s, s === Yc.length))
|
1766
1766
|
return "string";
|
1767
|
-
return
|
1767
|
+
return PE[i.reduce((o, s) => o === 0 ? s : o, 0) - 1];
|
1768
1768
|
}
|
1769
|
-
function
|
1769
|
+
function RE(e, t) {
|
1770
1770
|
return t.reduce((n, r) => (n[r] = Hy(e, r), n), {});
|
1771
1771
|
}
|
1772
1772
|
function Eg(e) {
|
@@ -1783,24 +1783,24 @@ function t0(e, t) {
|
|
1783
1783
|
` + e), Sy(t.delimiter).parse(e + "");
|
1784
1784
|
}
|
1785
1785
|
t0.responseType = "text";
|
1786
|
-
function
|
1786
|
+
function OE(e) {
|
1787
1787
|
return typeof Buffer == "function" && At(Buffer.isBuffer) ? Buffer.isBuffer(e) : !1;
|
1788
1788
|
}
|
1789
1789
|
function n0(e, t) {
|
1790
1790
|
const n = t && t.property ? Ku(t.property) : Zu;
|
1791
|
-
return rt(e) && !
|
1791
|
+
return rt(e) && !OE(e) ? LE(n(e), t) : n(JSON.parse(e));
|
1792
1792
|
}
|
1793
1793
|
n0.responseType = "json";
|
1794
|
-
function
|
1794
|
+
function LE(e, t) {
|
1795
1795
|
return !nt(e) && iS(e) && (e = [...e]), t && t.copy ? JSON.parse(JSON.stringify(e)) : e;
|
1796
1796
|
}
|
1797
|
-
const
|
1797
|
+
const zE = {
|
1798
1798
|
interior: (e, t) => e !== t,
|
1799
1799
|
exterior: (e, t) => e === t
|
1800
1800
|
};
|
1801
1801
|
function Gy(e, t) {
|
1802
1802
|
let n, r, i, o;
|
1803
|
-
return e = n0(e, t), t && t.feature ? (n = bS, i = t.feature) : t && t.mesh ? (n = vS, i = t.mesh, o =
|
1803
|
+
return e = n0(e, t), t && t.feature ? (n = bS, i = t.feature) : t && t.mesh ? (n = vS, i = t.mesh, o = zE[t.filter]) : Ae("Missing TopoJSON feature or mesh parameter."), r = (r = e.objects[i]) ? n(e, r, o) : Ae("Invalid TopoJSON object: " + i), r && r.features || [r];
|
1804
1804
|
}
|
1805
1805
|
Gy.responseType = "json";
|
1806
1806
|
const ah = {
|
@@ -1816,15 +1816,15 @@ function r0(e, t) {
|
|
1816
1816
|
function Vy(e, t, n, r) {
|
1817
1817
|
t = t || {};
|
1818
1818
|
const i = r0(t.type || "json");
|
1819
|
-
return i || Ae("Unknown data format type: " + t.type), e = i(e, t), t.parse &&
|
1819
|
+
return i || Ae("Unknown data format type: " + t.type), e = i(e, t), t.parse && NE(e, t.parse, n, r), qi(e, "columns") && delete e.columns, e;
|
1820
1820
|
}
|
1821
|
-
function
|
1821
|
+
function NE(e, t, n, r) {
|
1822
1822
|
if (!e.length)
|
1823
1823
|
return;
|
1824
|
-
const i =
|
1824
|
+
const i = bE();
|
1825
1825
|
n = n || i.timeParse, r = r || i.utcParse;
|
1826
1826
|
let o = e.columns || Object.keys(e[0]), s, a, c, l, f, u;
|
1827
|
-
t === "auto" && (t =
|
1827
|
+
t === "auto" && (t = RE(e, o)), o = Object.keys(t);
|
1828
1828
|
const h = o.map((d) => {
|
1829
1829
|
const p = t[d];
|
1830
1830
|
let m, y;
|
@@ -1838,7 +1838,7 @@ function N5(e, t, n, r) {
|
|
1838
1838
|
for (s = e[c], l = 0; l < u; ++l)
|
1839
1839
|
a = o[l], s[a] = h[l](s[a]);
|
1840
1840
|
}
|
1841
|
-
const
|
1841
|
+
const UE = wE(
|
1842
1842
|
typeof fetch < "u" && fetch,
|
1843
1843
|
// use built-in fetch API
|
1844
1844
|
null
|
@@ -1850,7 +1850,7 @@ const U5 = w5(
|
|
1850
1850
|
* SPDX-License-Identifier: BSD-3-Clause
|
1851
1851
|
*/
|
1852
1852
|
const ml = globalThis, i0 = ml.ShadowRoot && (ml.ShadyCSS === void 0 || ml.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, _y = Symbol(), kg = /* @__PURE__ */ new WeakMap();
|
1853
|
-
let
|
1853
|
+
let HE = class {
|
1854
1854
|
constructor(t, n, r) {
|
1855
1855
|
if (this._$cssResult$ = !0, r !== _y)
|
1856
1856
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
@@ -1869,7 +1869,7 @@ let H5 = class {
|
|
1869
1869
|
return this.cssText;
|
1870
1870
|
}
|
1871
1871
|
};
|
1872
|
-
const
|
1872
|
+
const GE = (e) => new HE(typeof e == "string" ? e : e + "", void 0, _y), VE = (e, t) => {
|
1873
1873
|
if (i0)
|
1874
1874
|
e.adoptedStyleSheets = t.map((n) => n instanceof CSSStyleSheet ? n : n.styleSheet);
|
1875
1875
|
else
|
@@ -1881,17 +1881,17 @@ const G5 = (e) => new H5(typeof e == "string" ? e : e + "", void 0, _y), V5 = (e
|
|
1881
1881
|
let n = "";
|
1882
1882
|
for (const r of t.cssRules)
|
1883
1883
|
n += r.cssText;
|
1884
|
-
return
|
1884
|
+
return GE(n);
|
1885
1885
|
})(e) : e;
|
1886
1886
|
/**
|
1887
1887
|
* @license
|
1888
1888
|
* Copyright 2017 Google LLC
|
1889
1889
|
* SPDX-License-Identifier: BSD-3-Clause
|
1890
1890
|
*/
|
1891
|
-
const { is:
|
1891
|
+
const { is: _E, defineProperty: jE, getOwnPropertyDescriptor: WE, getOwnPropertyNames: YE, getOwnPropertySymbols: QE, getPrototypeOf: qE } = Object, cr = globalThis, Dg = cr.trustedTypes, XE = Dg ? Dg.emptyScript : "", ch = cr.reactiveElementPolyfillSupport, ws = (e, t) => e, Kh = { toAttribute(e, t) {
|
1892
1892
|
switch (t) {
|
1893
1893
|
case Boolean:
|
1894
|
-
e = e ?
|
1894
|
+
e = e ? XE : null;
|
1895
1895
|
break;
|
1896
1896
|
case Object:
|
1897
1897
|
case Array:
|
@@ -1916,7 +1916,7 @@ const { is: _5, defineProperty: j5, getOwnPropertyDescriptor: W5, getOwnProperty
|
|
1916
1916
|
}
|
1917
1917
|
}
|
1918
1918
|
return n;
|
1919
|
-
} }, jy = (e, t) => !
|
1919
|
+
} }, jy = (e, t) => !_E(e, t), Ig = { attribute: !0, type: String, converter: Kh, reflect: !1, hasChanged: jy };
|
1920
1920
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), cr.litPropertyMetadata ?? (cr.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
1921
1921
|
class Yi extends HTMLElement {
|
1922
1922
|
static addInitializer(t) {
|
@@ -1928,11 +1928,11 @@ class Yi extends HTMLElement {
|
|
1928
1928
|
static createProperty(t, n = Ig) {
|
1929
1929
|
if (n.state && (n.attribute = !1), this._$Ei(), this.elementProperties.set(t, n), !n.noAccessor) {
|
1930
1930
|
const r = Symbol(), i = this.getPropertyDescriptor(t, r, n);
|
1931
|
-
i !== void 0 &&
|
1931
|
+
i !== void 0 && jE(this.prototype, t, i);
|
1932
1932
|
}
|
1933
1933
|
}
|
1934
1934
|
static getPropertyDescriptor(t, n, r) {
|
1935
|
-
const { get: i, set: o } =
|
1935
|
+
const { get: i, set: o } = WE(this.prototype, t) ?? { get() {
|
1936
1936
|
return this[n];
|
1937
1937
|
}, set(s) {
|
1938
1938
|
this[n] = s;
|
@@ -1950,14 +1950,14 @@ class Yi extends HTMLElement {
|
|
1950
1950
|
static _$Ei() {
|
1951
1951
|
if (this.hasOwnProperty(ws("elementProperties")))
|
1952
1952
|
return;
|
1953
|
-
const t =
|
1953
|
+
const t = qE(this);
|
1954
1954
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
1955
1955
|
}
|
1956
1956
|
static finalize() {
|
1957
1957
|
if (this.hasOwnProperty(ws("finalized")))
|
1958
1958
|
return;
|
1959
1959
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ws("properties"))) {
|
1960
|
-
const n = this.properties, r = [...
|
1960
|
+
const n = this.properties, r = [...YE(n), ...QE(n)];
|
1961
1961
|
for (const i of r)
|
1962
1962
|
this.createProperty(i, n[i]);
|
1963
1963
|
}
|
@@ -2012,7 +2012,7 @@ class Yi extends HTMLElement {
|
|
2012
2012
|
}
|
2013
2013
|
createRenderRoot() {
|
2014
2014
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
2015
|
-
return
|
2015
|
+
return VE(t, this.constructor.elementStyles), t;
|
2016
2016
|
}
|
2017
2017
|
connectedCallback() {
|
2018
2018
|
var t;
|
@@ -2135,9 +2135,9 @@ Yi.elementStyles = [], Yi.shadowRootOptions = { mode: "open" }, Yi[ws("elementPr
|
|
2135
2135
|
* Copyright 2017 Google LLC
|
2136
2136
|
* SPDX-License-Identifier: BSD-3-Clause
|
2137
2137
|
*/
|
2138
|
-
const Ss = globalThis, Ll = Ss.trustedTypes, Mg = Ll ? Ll.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, o0 = "$lit$", In = `lit$${Math.random().toFixed(9).slice(2)}$`, s0 = "?" + In,
|
2138
|
+
const Ss = globalThis, Ll = Ss.trustedTypes, Mg = Ll ? Ll.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, o0 = "$lit$", In = `lit$${Math.random().toFixed(9).slice(2)}$`, s0 = "?" + In, KE = `<${s0}>`, Ci = document, Qs = () => Ci.createComment(""), qs = (e) => e === null || typeof e != "object" && typeof e != "function", Wy = Array.isArray, Yy = (e) => Wy(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", lh = `[
|
2139
2139
|
\f\r]`, cs = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Bg = /-->/g, Fg = />/g, zr = RegExp(`>|${lh}(?:([^\\s"'>=/]+)(${lh}*=${lh}*(?:[^
|
2140
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Pg = /'/g, Rg = /"/g, Qy = /^(?:script|style|textarea|title)$/i,
|
2140
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Pg = /'/g, Rg = /"/g, Qy = /^(?:script|style|textarea|title)$/i, ZE = (e) => (t, ...n) => ({ _$litType$: e, strings: t, values: n }), T = ZE(1), _e = Symbol.for("lit-noChange"), q = Symbol.for("lit-nothing"), Og = /* @__PURE__ */ new WeakMap(), Kr = Ci.createTreeWalker(Ci, 129);
|
2141
2141
|
function qy(e, t) {
|
2142
2142
|
if (!Array.isArray(e) || !e.hasOwnProperty("raw"))
|
2143
2143
|
throw Error("invalid template strings array");
|
@@ -2152,7 +2152,7 @@ const Xy = (e, t) => {
|
|
2152
2152
|
for (; h < c.length && (s.lastIndex = h, f = s.exec(c), f !== null); )
|
2153
2153
|
h = s.lastIndex, s === cs ? f[1] === "!--" ? s = Bg : f[1] !== void 0 ? s = Fg : f[2] !== void 0 ? (Qy.test(f[2]) && (i = RegExp("</" + f[2], "g")), s = zr) : f[3] !== void 0 && (s = zr) : s === zr ? f[0] === ">" ? (s = i ?? cs, u = -1) : f[1] === void 0 ? u = -2 : (u = s.lastIndex - f[2].length, l = f[1], s = f[3] === void 0 ? zr : f[3] === '"' ? Rg : Pg) : s === Rg || s === Pg ? s = zr : s === Bg || s === Fg ? s = cs : (s = zr, i = void 0);
|
2154
2154
|
const d = s === zr && e[a + 1].startsWith("/>") ? " " : "";
|
2155
|
-
o += s === cs ? c +
|
2155
|
+
o += s === cs ? c + KE : u >= 0 ? (r.push(l), c.slice(0, u) + o0 + c.slice(u) + In + d) : c + In + (u === -2 ? a : d);
|
2156
2156
|
}
|
2157
2157
|
return [qy(e, o + (e[n] || "<?>") + (t === 2 ? "</svg>" : "")), r];
|
2158
2158
|
};
|
@@ -2369,7 +2369,7 @@ class tb {
|
|
2369
2369
|
Ei(this, t);
|
2370
2370
|
}
|
2371
2371
|
}
|
2372
|
-
const
|
2372
|
+
const JE = { P: o0, A: In, C: s0, M: 1, L: Xy, R: Ky, D: Yy, V: Ei, I: af, H: mc, N: $y, U: eb, B: Jy, F: tb }, uh = Ss.litHtmlPolyfillSupport;
|
2373
2373
|
uh == null || uh(Xs, af), (Ss.litHtmlVersions ?? (Ss.litHtmlVersions = [])).push("3.1.3");
|
2374
2374
|
const ze = (e, t, n) => {
|
2375
2375
|
const r = (n == null ? void 0 : n.renderBefore) ?? t;
|
@@ -2442,7 +2442,7 @@ let Ko = class {
|
|
2442
2442
|
* Copyright 2018 Google LLC
|
2443
2443
|
* SPDX-License-Identifier: BSD-3-Clause
|
2444
2444
|
*/
|
2445
|
-
const nb = "important", $
|
2445
|
+
const nb = "important", $E = " !" + nb, Ks = Ni(class extends Ko {
|
2446
2446
|
constructor(e) {
|
2447
2447
|
var t;
|
2448
2448
|
if (super(e), e.type !== en.ATTRIBUTE || e.name !== "style" || ((t = e.strings) == null ? void 0 : t.length) > 2)
|
@@ -2464,13 +2464,13 @@ const nb = "important", $5 = " !" + nb, Ks = Ni(class extends Ko {
|
|
2464
2464
|
const i = t[r];
|
2465
2465
|
if (i != null) {
|
2466
2466
|
this.ft.add(r);
|
2467
|
-
const o = typeof i == "string" && i.endsWith($
|
2467
|
+
const o = typeof i == "string" && i.endsWith($E);
|
2468
2468
|
r.includes("-") || o ? n.setProperty(r, o ? i.slice(0, -11) : i, o ? nb : "") : n[r] = i;
|
2469
2469
|
}
|
2470
2470
|
}
|
2471
2471
|
return _e;
|
2472
2472
|
}
|
2473
|
-
}),
|
2473
|
+
}), e5 = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cstyle%3e.spinner_ajPY{transform-origin:center;animation:spinner_AtaB%20.75s%20infinite%20linear}@keyframes%20spinner_AtaB{100%25{transform:rotate(360deg)}}%3c/style%3e%3cpath%20d='M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z'%20opacity='.25'/%3e%3cpath%20d='M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z'%20class='spinner_ajPY'/%3e%3c/svg%3e", t5 = `
|
2474
2474
|
.genome-spy {
|
2475
2475
|
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
2476
2476
|
position: relative;
|
@@ -2681,7 +2681,7 @@ function Pt(e) {
|
|
2681
2681
|
return e[e.length - 1];
|
2682
2682
|
}
|
2683
2683
|
const gi = "gs-suppress-tooltip";
|
2684
|
-
class
|
2684
|
+
class n5 {
|
2685
2685
|
/**
|
2686
2686
|
* @param {HTMLElement} container
|
2687
2687
|
*/
|
@@ -2715,7 +2715,7 @@ class nE {
|
|
2715
2715
|
handleMouseMove(t) {
|
2716
2716
|
this.mouseCoords = rb(this.container, t);
|
2717
2717
|
const n = performance.now();
|
2718
|
-
!this.visible && !this._isPenalty() && n - this._previousMove > 500 && (this._penaltyUntil = n + 70), this._lastCoords &&
|
2718
|
+
!this.visible && !this._isPenalty() && n - this._previousMove > 500 && (this._penaltyUntil = n + 70), this._lastCoords && r5(this.mouseCoords, this._lastCoords) > 20 && (this._penaltyUntil = n + 400), this._lastCoords = this.mouseCoords, this.visible && this.updatePlacement(), this._previousMove = n;
|
2719
2719
|
}
|
2720
2720
|
updatePlacement() {
|
2721
2721
|
const [n, r] = this.mouseCoords;
|
@@ -2756,7 +2756,7 @@ class nE {
|
|
2756
2756
|
return this._penaltyUntil && this._penaltyUntil > performance.now();
|
2757
2757
|
}
|
2758
2758
|
}
|
2759
|
-
function
|
2759
|
+
function r5(e, t) {
|
2760
2760
|
let n = 0;
|
2761
2761
|
for (let r = 0; r < e.length; r++)
|
2762
2762
|
n += (e[r] - t[r]) ** 2;
|
@@ -2765,10 +2765,10 @@ function rE(e, t) {
|
|
2765
2765
|
/* @license twgl.js 4.24.0 Copyright (c) 2015, Gregg Tavares All Rights Reserved.
|
2766
2766
|
Available via the MIT license.
|
2767
2767
|
see: http://github.com/greggman/twgl.js for details */
|
2768
|
-
const a0 = 5120, Zs = 5121, c0 = 5122, l0 = 5123, u0 = 5124, f0 = 5125, h0 = 5126,
|
2768
|
+
const a0 = 5120, Zs = 5121, c0 = 5122, l0 = 5123, u0 = 5124, f0 = 5125, h0 = 5126, i5 = 32819, o5 = 32820, s5 = 33635, a5 = 5131, c5 = 33640, l5 = 35899, u5 = 35902, f5 = 36269, h5 = 34042, ib = {};
|
2769
2769
|
{
|
2770
2770
|
const e = ib;
|
2771
|
-
e[a0] = Int8Array, e[Zs] = Uint8Array, e[c0] = Int16Array, e[l0] = Uint16Array, e[u0] = Int32Array, e[f0] = Uint32Array, e[h0] = Float32Array, e[
|
2771
|
+
e[a0] = Int8Array, e[Zs] = Uint8Array, e[c0] = Int16Array, e[l0] = Uint16Array, e[u0] = Int32Array, e[f0] = Uint32Array, e[h0] = Float32Array, e[i5] = Uint16Array, e[o5] = Uint16Array, e[s5] = Uint16Array, e[a5] = Uint16Array, e[c5] = Uint32Array, e[l5] = Uint32Array, e[u5] = Uint32Array, e[f5] = Uint32Array, e[h5] = Uint32Array;
|
2772
2772
|
}
|
2773
2773
|
function d0(e) {
|
2774
2774
|
if (e instanceof Int8Array)
|
@@ -2787,7 +2787,7 @@ function d0(e) {
|
|
2787
2787
|
return h0;
|
2788
2788
|
throw new Error("unsupported typed array type");
|
2789
2789
|
}
|
2790
|
-
function
|
2790
|
+
function d5(e) {
|
2791
2791
|
if (e === Int8Array)
|
2792
2792
|
return a0;
|
2793
2793
|
if (e === Uint8Array || e === Uint8ClampedArray)
|
@@ -2804,7 +2804,7 @@ function dE(e) {
|
|
2804
2804
|
return h0;
|
2805
2805
|
throw new Error("unsupported typed array type");
|
2806
2806
|
}
|
2807
|
-
function
|
2807
|
+
function p5(e) {
|
2808
2808
|
const t = ib[e];
|
2809
2809
|
if (!t)
|
2810
2810
|
throw new Error("unknown gl type");
|
@@ -2815,13 +2815,13 @@ const Nl = typeof SharedArrayBuffer < "u" ? function(t) {
|
|
2815
2815
|
} : function(t) {
|
2816
2816
|
return t && t.buffer && t.buffer instanceof ArrayBuffer;
|
2817
2817
|
};
|
2818
|
-
function
|
2818
|
+
function m5(...e) {
|
2819
2819
|
console.error(...e);
|
2820
2820
|
}
|
2821
2821
|
function ob(...e) {
|
2822
2822
|
console.warn(...e);
|
2823
2823
|
}
|
2824
|
-
function
|
2824
|
+
function g5(e, t) {
|
2825
2825
|
return typeof WebGLBuffer < "u" && t instanceof WebGLBuffer;
|
2826
2826
|
}
|
2827
2827
|
function sb(e, t) {
|
@@ -2830,17 +2830,17 @@ function sb(e, t) {
|
|
2830
2830
|
function cf(e, t) {
|
2831
2831
|
return typeof WebGLTexture < "u" && t instanceof WebGLTexture;
|
2832
2832
|
}
|
2833
|
-
function
|
2833
|
+
function y5(e, t) {
|
2834
2834
|
return typeof WebGLSampler < "u" && t instanceof WebGLSampler;
|
2835
2835
|
}
|
2836
|
-
const ab = 35044, sn = 34962,
|
2836
|
+
const ab = 35044, sn = 34962, b5 = 34963, x5 = 34660, v5 = 5120, A5 = 5121, w5 = 5122, S5 = 5123, C5 = 5124, E5 = 5125, k5 = 5126, cb = {
|
2837
2837
|
attribPrefix: ""
|
2838
2838
|
};
|
2839
2839
|
function lb(e, t, n, r, i) {
|
2840
2840
|
e.bindBuffer(t, n), e.bufferData(t, r, i || ab);
|
2841
2841
|
}
|
2842
2842
|
function ub(e, t, n, r) {
|
2843
|
-
if (
|
2843
|
+
if (g5(e, t))
|
2844
2844
|
return t;
|
2845
2845
|
n = n || sn;
|
2846
2846
|
const i = e.createBuffer();
|
@@ -2849,24 +2849,24 @@ function ub(e, t, n, r) {
|
|
2849
2849
|
function fb(e) {
|
2850
2850
|
return e === "indices";
|
2851
2851
|
}
|
2852
|
-
function
|
2852
|
+
function T5(e) {
|
2853
2853
|
return e instanceof Int8Array || e instanceof Uint8Array;
|
2854
2854
|
}
|
2855
|
-
function
|
2855
|
+
function D5(e) {
|
2856
2856
|
return e === Int8Array || e === Uint8Array;
|
2857
2857
|
}
|
2858
|
-
function
|
2858
|
+
function I5(e) {
|
2859
2859
|
return e.length ? e : e.data;
|
2860
2860
|
}
|
2861
|
-
const
|
2861
|
+
const M5 = /coord|texture/i, B5 = /color|colour/i;
|
2862
2862
|
function hb(e, t) {
|
2863
2863
|
let n;
|
2864
|
-
if (
|
2864
|
+
if (M5.test(e) ? n = 2 : B5.test(e) ? n = 4 : n = 3, t % n > 0)
|
2865
2865
|
throw new Error(`Can not guess numComponents for attribute '${e}'. Tried ${n} but ${t} values is not evenly divisible by ${n}. You should specify it.`);
|
2866
2866
|
return n;
|
2867
2867
|
}
|
2868
|
-
function
|
2869
|
-
return e.numComponents || e.size || hb(t,
|
2868
|
+
function F5(e, t) {
|
2869
|
+
return e.numComponents || e.size || hb(t, I5(e).length);
|
2870
2870
|
}
|
2871
2871
|
function p0(e, t) {
|
2872
2872
|
if (Nl(e))
|
@@ -2879,7 +2879,7 @@ function p0(e, t) {
|
|
2879
2879
|
let n = e.type;
|
2880
2880
|
return n || (fb(t) ? n = Uint16Array : n = Float32Array), new n(e.data);
|
2881
2881
|
}
|
2882
|
-
function
|
2882
|
+
function P5(e, t) {
|
2883
2883
|
const n = {};
|
2884
2884
|
return Object.keys(t).forEach(function(r) {
|
2885
2885
|
if (!fb(r)) {
|
@@ -2896,10 +2896,10 @@ function PE(e, t) {
|
|
2896
2896
|
s = i.buffer, l = i.numComponents || i.size, a = i.type, c = i.normalize;
|
2897
2897
|
else if (typeof i == "number" || typeof i.data == "number") {
|
2898
2898
|
const f = i.data || i, u = i.type || Float32Array, h = f * u.BYTES_PER_ELEMENT;
|
2899
|
-
a =
|
2899
|
+
a = d5(u), c = i.normalize !== void 0 ? i.normalize : D5(u), l = i.numComponents || i.size || hb(r, f), s = e.createBuffer(), e.bindBuffer(sn, s), e.bufferData(sn, h, i.drawType || ab);
|
2900
2900
|
} else {
|
2901
2901
|
const f = p0(i, r);
|
2902
|
-
s = ub(e, f, void 0, i.drawType), a = d0(f), c = i.normalize !== void 0 ? i.normalize :
|
2902
|
+
s = ub(e, f, void 0, i.drawType), a = d0(f), c = i.normalize !== void 0 ? i.normalize : T5(f), l = F5(i, r);
|
2903
2903
|
}
|
2904
2904
|
n[o] = {
|
2905
2905
|
buffer: s,
|
@@ -2915,14 +2915,14 @@ function PE(e, t) {
|
|
2915
2915
|
}
|
2916
2916
|
}), e.bindBuffer(sn, null), n;
|
2917
2917
|
}
|
2918
|
-
function
|
2918
|
+
function R5(e, t, n, r) {
|
2919
2919
|
n = p0(n), r !== void 0 ? (e.bindBuffer(sn, t.buffer), e.bufferSubData(sn, r, n)) : lb(e, sn, t.buffer, n, t.drawType);
|
2920
2920
|
}
|
2921
|
-
function
|
2922
|
-
return t ===
|
2921
|
+
function O5(e, t) {
|
2922
|
+
return t === v5 || t === A5 ? 1 : t === w5 || t === S5 ? 2 : t === C5 || t === E5 || t === k5 ? 4 : 0;
|
2923
2923
|
}
|
2924
2924
|
const hh = ["position", "positions", "a_position"];
|
2925
|
-
function
|
2925
|
+
function L5(e, t) {
|
2926
2926
|
let n, r;
|
2927
2927
|
for (r = 0; r < hh.length && (n = hh[r], !(n in t || (n = cb.attribPrefix + n, n in t))); ++r)
|
2928
2928
|
;
|
@@ -2931,22 +2931,22 @@ function LE(e, t) {
|
|
2931
2931
|
if (!i.buffer)
|
2932
2932
|
return 1;
|
2933
2933
|
e.bindBuffer(sn, i.buffer);
|
2934
|
-
const o = e.getBufferParameter(sn,
|
2934
|
+
const o = e.getBufferParameter(sn, x5);
|
2935
2935
|
e.bindBuffer(sn, null);
|
2936
|
-
const s =
|
2936
|
+
const s = O5(e, i.type), a = o / s, c = i.numComponents || i.size, l = a / c;
|
2937
2937
|
if (l % 1 !== 0)
|
2938
2938
|
throw new Error(`numComponents ${c} not correct for length ${length}`);
|
2939
2939
|
return l;
|
2940
2940
|
}
|
2941
|
-
function
|
2942
|
-
const r =
|
2941
|
+
function z5(e, t, n) {
|
2942
|
+
const r = P5(e, t), i = Object.assign({}, n || {});
|
2943
2943
|
i.attribs = Object.assign({}, n ? n.attribs : {}, r);
|
2944
2944
|
const o = t.indices;
|
2945
2945
|
if (o) {
|
2946
2946
|
const s = p0(o, "indices");
|
2947
|
-
i.indices = ub(e, s,
|
2947
|
+
i.indices = ub(e, s, b5), i.numElements = s.length, i.elementType = d0(s);
|
2948
2948
|
} else
|
2949
|
-
i.numElements || (i.numElements =
|
2949
|
+
i.numElements || (i.numElements = L5(e, i.attribs));
|
2950
2950
|
return i;
|
2951
2951
|
}
|
2952
2952
|
function Zo(e) {
|
@@ -2977,16 +2977,16 @@ const Zh = /* @__PURE__ */ function() {
|
|
2977
2977
|
return function() {
|
2978
2978
|
return e = e || (typeof document < "u" && document.createElement ? document.createElement("canvas").getContext("2d") : null), e;
|
2979
2979
|
};
|
2980
|
-
}(), Jh = 6406, Tt = 6407, he = 6408, $h = 6409, ed = 6410, Qi = 6402, td = 34041, Ul = 33071,
|
2980
|
+
}(), Jh = 6406, Tt = 6407, he = 6408, $h = 6409, ed = 6410, Qi = 6402, td = 34041, Ul = 33071, N5 = 9728, U5 = 9729, qn = 3553, Nn = 34067, fr = 32879, hr = 35866, lf = 34069, H5 = 34070, G5 = 34071, V5 = 34072, _5 = 34073, j5 = 34074, nd = 10241, rd = 10240, Hl = 10242, Gl = 10243, Lg = 32882, W5 = 33082, Y5 = 33083, Q5 = 33084, q5 = 33085, m0 = 3317, pb = 3314, mb = 32878, gb = 3316, yb = 3315, bb = 32877, X5 = 37443, K5 = 37441, Z5 = 37440, J5 = 33321, $5 = 36756, ek = 33325, tk = 33326, nk = 33330, rk = 33329, ik = 33338, ok = 33337, sk = 33340, ak = 33339, ck = 33323, lk = 36757, uk = 33327, fk = 33328, hk = 33336, dk = 33335, pk = 33332, mk = 33331, gk = 33334, yk = 33333, bk = 32849, xk = 35905, vk = 36194, Ak = 36758, wk = 35898, Sk = 35901, Ck = 34843, Ek = 34837, kk = 36221, Tk = 36239, Dk = 36215, Ik = 36233, Mk = 36209, Bk = 36227, Fk = 32856, Pk = 35907, Rk = 36759, Ok = 32855, Lk = 32854, zk = 32857, Nk = 34842, Uk = 34836, Hk = 36220, Gk = 36238, Vk = 36975, _k = 36214, jk = 36232, Wk = 36226, Yk = 36208, Qk = 33189, qk = 33190, Xk = 36012, Kk = 36013, Zk = 35056, Kn = 5120, ve = 5121, Qc = 5122, ji = 5123, qc = 5124, Nr = 5125, qe = 5126, zg = 32819, Ng = 32820, Ug = 33635, Nt = 5131, ls = 36193, dh = 33640, Jk = 35899, $k = 35902, e6 = 36269, t6 = 34042, ds = 33319, Vr = 33320, ps = 6403, _r = 36244, jr = 36248, Jn = 36249, n6 = {};
|
2981
2981
|
{
|
2982
|
-
const e =
|
2982
|
+
const e = n6;
|
2983
2983
|
e[Jh] = { numColorComponents: 1 }, e[$h] = { numColorComponents: 1 }, e[ed] = { numColorComponents: 2 }, e[Tt] = { numColorComponents: 3 }, e[he] = { numColorComponents: 4 }, e[ps] = { numColorComponents: 1 }, e[_r] = { numColorComponents: 1 }, e[ds] = { numColorComponents: 2 }, e[Vr] = { numColorComponents: 2 }, e[Tt] = { numColorComponents: 3 }, e[jr] = { numColorComponents: 3 }, e[he] = { numColorComponents: 4 }, e[Jn] = { numColorComponents: 4 }, e[Qi] = { numColorComponents: 1 }, e[td] = { numColorComponents: 2 };
|
2984
2984
|
}
|
2985
2985
|
let ph;
|
2986
2986
|
function uf(e) {
|
2987
2987
|
if (!ph) {
|
2988
2988
|
const t = {};
|
2989
|
-
t[Jh] = { textureFormat: Jh, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [1, 2, 2, 4], type: [ve, Nt, ls, qe] }, t[$h] = { textureFormat: $h, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [1, 2, 2, 4], type: [ve, Nt, ls, qe] }, t[ed] = { textureFormat: ed, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [2, 4, 4, 8], type: [ve, Nt, ls, qe] }, t[Tt] = { textureFormat: Tt, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [3, 6, 6, 12, 2], type: [ve, Nt, ls, qe, Ug] }, t[he] = { textureFormat: he, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [4, 8, 8, 16, 2, 2], type: [ve, Nt, ls, qe, zg, Ng] }, t[Qi] = { textureFormat: Qi, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [2, 4], type: [Nr, ji] }, t[
|
2989
|
+
t[Jh] = { textureFormat: Jh, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [1, 2, 2, 4], type: [ve, Nt, ls, qe] }, t[$h] = { textureFormat: $h, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [1, 2, 2, 4], type: [ve, Nt, ls, qe] }, t[ed] = { textureFormat: ed, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [2, 4, 4, 8], type: [ve, Nt, ls, qe] }, t[Tt] = { textureFormat: Tt, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [3, 6, 6, 12, 2], type: [ve, Nt, ls, qe, Ug] }, t[he] = { textureFormat: he, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [4, 8, 8, 16, 2, 2], type: [ve, Nt, ls, qe, zg, Ng] }, t[Qi] = { textureFormat: Qi, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [2, 4], type: [Nr, ji] }, t[J5] = { textureFormat: ps, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [1], type: [ve] }, t[$5] = { textureFormat: ps, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [1], type: [Kn] }, t[ek] = { textureFormat: ps, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [4, 2], type: [qe, Nt] }, t[tk] = { textureFormat: ps, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [4], type: [qe] }, t[nk] = { textureFormat: _r, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [1], type: [ve] }, t[rk] = { textureFormat: _r, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [1], type: [Kn] }, t[pk] = { textureFormat: _r, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [2], type: [ji] }, t[mk] = { textureFormat: _r, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [2], type: [Qc] }, t[gk] = { textureFormat: _r, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [Nr] }, t[yk] = { textureFormat: _r, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [qc] }, t[ck] = { textureFormat: ds, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [2], type: [ve] }, t[lk] = { textureFormat: ds, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [2], type: [Kn] }, t[uk] = { textureFormat: ds, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [8, 4], type: [qe, Nt] }, t[fk] = { textureFormat: ds, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [8], type: [qe] }, t[hk] = { textureFormat: Vr, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [2], type: [ve] }, t[dk] = { textureFormat: Vr, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [2], type: [Kn] }, t[ik] = { textureFormat: Vr, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [ji] }, t[ok] = { textureFormat: Vr, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [Qc] }, t[sk] = { textureFormat: Vr, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [8], type: [Nr] }, t[ak] = { textureFormat: Vr, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [8], type: [qc] }, t[bk] = { textureFormat: Tt, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [3], type: [ve] }, t[xk] = { textureFormat: Tt, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [3], type: [ve] }, t[vk] = { textureFormat: Tt, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [3, 2], type: [ve, Ug] }, t[Ak] = { textureFormat: Tt, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [3], type: [Kn] }, t[wk] = { textureFormat: Tt, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [12, 6, 4], type: [qe, Nt, Jk] }, t[Sk] = { textureFormat: Tt, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [12, 6, 4], type: [qe, Nt, $k] }, t[Ck] = { textureFormat: Tt, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [12, 6], type: [qe, Nt] }, t[Ek] = { textureFormat: Tt, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [12], type: [qe] }, t[kk] = { textureFormat: jr, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [3], type: [ve] }, t[Tk] = { textureFormat: jr, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [3], type: [Kn] }, t[Dk] = { textureFormat: jr, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [6], type: [ji] }, t[Ik] = { textureFormat: jr, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [6], type: [Qc] }, t[Mk] = { textureFormat: jr, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [12], type: [Nr] }, t[Bk] = { textureFormat: jr, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [12], type: [qc] }, t[Fk] = { textureFormat: he, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [4], type: [ve] }, t[Pk] = { textureFormat: he, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [4], type: [ve] }, t[Rk] = { textureFormat: he, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [4], type: [Kn] }, t[Ok] = { textureFormat: he, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [4, 2, 4], type: [ve, Ng, dh] }, t[Lk] = { textureFormat: he, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [4, 2], type: [ve, zg] }, t[zk] = { textureFormat: he, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [4], type: [dh] }, t[Nk] = { textureFormat: he, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [16, 8], type: [qe, Nt] }, t[Uk] = { textureFormat: he, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [16], type: [qe] }, t[Hk] = { textureFormat: Jn, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [ve] }, t[Gk] = { textureFormat: Jn, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [Kn] }, t[Vk] = { textureFormat: Jn, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [dh] }, t[_k] = { textureFormat: Jn, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [8], type: [ji] }, t[jk] = { textureFormat: Jn, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [8], type: [Qc] }, t[Wk] = { textureFormat: Jn, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [16], type: [qc] }, t[Yk] = { textureFormat: Jn, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [16], type: [Nr] }, t[Qk] = { textureFormat: Qi, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [2, 4], type: [ji, Nr] }, t[qk] = { textureFormat: Qi, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [Nr] }, t[Xk] = { textureFormat: Qi, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [qe] }, t[Zk] = { textureFormat: td, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [t6] }, t[Kk] = { textureFormat: td, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [e6] }, Object.keys(t).forEach(function(n) {
|
2990
2990
|
const r = t[n];
|
2991
2991
|
r.bytesPerElementMap = {}, r.bytesPerElement.forEach(function(i, o) {
|
2992
2992
|
const s = r.type[o];
|
@@ -2996,7 +2996,7 @@ function uf(e) {
|
|
2996
2996
|
}
|
2997
2997
|
return ph[e];
|
2998
2998
|
}
|
2999
|
-
function
|
2999
|
+
function r6(e, t) {
|
3000
3000
|
const n = uf(e);
|
3001
3001
|
if (!n)
|
3002
3002
|
throw "unknown internal format";
|
@@ -3017,7 +3017,7 @@ function Jo(e) {
|
|
3017
3017
|
function Hg(e) {
|
3018
3018
|
return (e & e - 1) === 0;
|
3019
3019
|
}
|
3020
|
-
function
|
3020
|
+
function i6(e, t, n, r) {
|
3021
3021
|
if (!Zo(e))
|
3022
3022
|
return Hg(t) && Hg(n);
|
3023
3023
|
const i = uf(r);
|
@@ -3025,7 +3025,7 @@ function ik(e, t, n, r) {
|
|
3025
3025
|
throw "unknown internal format";
|
3026
3026
|
return i.colorRenderable && i.textureFilterable;
|
3027
3027
|
}
|
3028
|
-
function
|
3028
|
+
function o6(e) {
|
3029
3029
|
const t = uf(e);
|
3030
3030
|
if (!t)
|
3031
3031
|
throw "unknown internal format";
|
@@ -3051,28 +3051,28 @@ function Xc(e, t, n, r, i) {
|
|
3051
3051
|
};
|
3052
3052
|
}
|
3053
3053
|
function Go(e, t) {
|
3054
|
-
t.colorspaceConversion !== void 0 && e.pixelStorei(
|
3054
|
+
t.colorspaceConversion !== void 0 && e.pixelStorei(X5, t.colorspaceConversion), t.premultiplyAlpha !== void 0 && e.pixelStorei(K5, t.premultiplyAlpha), t.flipY !== void 0 && e.pixelStorei(Z5, t.flipY);
|
3055
3055
|
}
|
3056
3056
|
function vb(e) {
|
3057
3057
|
e.pixelStorei(m0, 4), Zo(e) && (e.pixelStorei(pb, 0), e.pixelStorei(mb, 0), e.pixelStorei(gb, 0), e.pixelStorei(yb, 0), e.pixelStorei(bb, 0));
|
3058
3058
|
}
|
3059
|
-
function
|
3060
|
-
r.minMag && (n.call(e, t, nd, r.minMag), n.call(e, t, rd, r.minMag)), r.min && n.call(e, t, nd, r.min), r.mag && n.call(e, t, rd, r.mag), r.wrap && (n.call(e, t, Hl, r.wrap), n.call(e, t, Gl, r.wrap), (t === fr ||
|
3059
|
+
function s6(e, t, n, r) {
|
3060
|
+
r.minMag && (n.call(e, t, nd, r.minMag), n.call(e, t, rd, r.minMag)), r.min && n.call(e, t, nd, r.min), r.mag && n.call(e, t, rd, r.mag), r.wrap && (n.call(e, t, Hl, r.wrap), n.call(e, t, Gl, r.wrap), (t === fr || y5(e, t)) && n.call(e, t, Lg, r.wrap)), r.wrapR && n.call(e, t, Lg, r.wrapR), r.wrapS && n.call(e, t, Hl, r.wrapS), r.wrapT && n.call(e, t, Gl, r.wrapT), r.minLod && n.call(e, t, W5, r.minLod), r.maxLod && n.call(e, t, Y5, r.maxLod), r.baseLevel && n.call(e, t, Q5, r.baseLevel), r.maxLevel && n.call(e, t, q5, r.maxLevel);
|
3061
3061
|
}
|
3062
3062
|
function Ab(e, t, n) {
|
3063
3063
|
const r = n.target || qn;
|
3064
|
-
e.bindTexture(r, t),
|
3064
|
+
e.bindTexture(r, t), s6(e, r, e.texParameteri, n);
|
3065
3065
|
}
|
3066
|
-
function
|
3066
|
+
function a6(e) {
|
3067
3067
|
return e = e || Er.textureColor, Ho(e) ? e : new Uint8Array([e[0] * 255, e[1] * 255, e[2] * 255, e[3] * 255]);
|
3068
3068
|
}
|
3069
3069
|
function id(e, t, n, r, i, o) {
|
3070
3070
|
n = n || Er.textureOptions, o = o || he;
|
3071
3071
|
const s = n.target || qn;
|
3072
|
-
if (r = r || n.width, i = i || n.height, e.bindTexture(s, t),
|
3072
|
+
if (r = r || n.width, i = i || n.height, e.bindTexture(s, t), i6(e, r, i, o))
|
3073
3073
|
e.generateMipmap(s);
|
3074
3074
|
else {
|
3075
|
-
const a =
|
3075
|
+
const a = o6(o) ? U5 : N5;
|
3076
3076
|
e.texParameteri(s, nd, a), e.texParameteri(s, rd, a), e.texParameteri(s, Hl, Ul), e.texParameteri(s, Gl, Ul);
|
3077
3077
|
}
|
3078
3078
|
}
|
@@ -3082,11 +3082,11 @@ function Js(e) {
|
|
3082
3082
|
function od(e, t) {
|
3083
3083
|
return t = t || {}, t.cubeFaceOrder || [
|
3084
3084
|
lf,
|
3085
|
-
|
3086
|
-
|
3087
|
-
|
3088
|
-
|
3089
|
-
|
3085
|
+
H5,
|
3086
|
+
G5,
|
3087
|
+
V5,
|
3088
|
+
_5,
|
3089
|
+
j5
|
3090
3090
|
];
|
3091
3091
|
}
|
3092
3092
|
function sd(e, t) {
|
@@ -3145,7 +3145,7 @@ function wb(e, t, n, r) {
|
|
3145
3145
|
}
|
3146
3146
|
function gc() {
|
3147
3147
|
}
|
3148
|
-
function
|
3148
|
+
function c6(e) {
|
3149
3149
|
if (typeof document < "u") {
|
3150
3150
|
const t = document.createElement("a");
|
3151
3151
|
return t.href = e, t.hostname === location.hostname && t.port === location.port && t.protocol === location.protocol;
|
@@ -3154,19 +3154,19 @@ function ck(e) {
|
|
3154
3154
|
return new URL(e, location.href).origin === t;
|
3155
3155
|
}
|
3156
3156
|
}
|
3157
|
-
function
|
3158
|
-
return t === void 0 && !
|
3157
|
+
function l6(e, t) {
|
3158
|
+
return t === void 0 && !c6(e) ? "anonymous" : t;
|
3159
3159
|
}
|
3160
|
-
function
|
3160
|
+
function u6(e, t, n) {
|
3161
3161
|
n = n || gc;
|
3162
3162
|
let r;
|
3163
|
-
if (t = t !== void 0 ? t : Er.crossOrigin, t =
|
3163
|
+
if (t = t !== void 0 ? t : Er.crossOrigin, t = l6(e, t), typeof Image < "u") {
|
3164
3164
|
r = new Image(), t !== void 0 && (r.crossOrigin = t);
|
3165
3165
|
const i = function() {
|
3166
3166
|
r.removeEventListener("error", o), r.removeEventListener("load", s), r = null;
|
3167
3167
|
}, o = function() {
|
3168
3168
|
const c = "couldn't load image: " + e;
|
3169
|
-
|
3169
|
+
m5(c), n(c, r), i();
|
3170
3170
|
}, s = function() {
|
3171
3171
|
n(null, r), i();
|
3172
3172
|
};
|
@@ -3199,26 +3199,26 @@ function Sb(e) {
|
|
3199
3199
|
function g0(e, t, n) {
|
3200
3200
|
return Sb(e) ? (setTimeout(function() {
|
3201
3201
|
n(null, e);
|
3202
|
-
}), e) :
|
3202
|
+
}), e) : u6(e, t, n);
|
3203
3203
|
}
|
3204
3204
|
function y0(e, t, n) {
|
3205
3205
|
n = n || Er.textureOptions;
|
3206
3206
|
const r = n.target || qn;
|
3207
3207
|
if (e.bindTexture(r, t), n.color === !1)
|
3208
3208
|
return;
|
3209
|
-
const i =
|
3209
|
+
const i = a6(n.color);
|
3210
3210
|
if (r === Nn)
|
3211
3211
|
for (let o = 0; o < 6; ++o)
|
3212
3212
|
e.texImage2D(lf + o, 0, he, 1, 1, 0, he, ve, i);
|
3213
3213
|
else
|
3214
3214
|
r === fr || r === hr ? e.texImage3D(r, 0, he, 1, 1, 1, 0, he, ve, i) : e.texImage2D(r, 0, he, 1, 1, 0, he, ve, i);
|
3215
3215
|
}
|
3216
|
-
function
|
3216
|
+
function f6(e, t, n, r) {
|
3217
3217
|
return r = r || gc, n = n || Er.textureOptions, y0(e, t, n), n = Object.assign({}, n), g0(n.src, n.crossOrigin, function(o, s) {
|
3218
3218
|
o ? r(o, t, s) : (wb(e, t, s, n), r(null, t, s));
|
3219
3219
|
});
|
3220
3220
|
}
|
3221
|
-
function
|
3221
|
+
function h6(e, t, n, r) {
|
3222
3222
|
r = r || gc;
|
3223
3223
|
const i = n.src;
|
3224
3224
|
if (i.length !== 6)
|
@@ -3241,7 +3241,7 @@ function hk(e, t, n, r) {
|
|
3241
3241
|
return g0(y, n.crossOrigin, m(d[g]));
|
3242
3242
|
});
|
3243
3243
|
}
|
3244
|
-
function
|
3244
|
+
function d6(e, t, n, r) {
|
3245
3245
|
r = r || gc;
|
3246
3246
|
const i = n.src, o = n.internalFormat || n.format || he, s = Jo(o), a = n.format || s.format, c = n.type || ve, l = n.target || hr;
|
3247
3247
|
if (l !== fr && l !== hr)
|
@@ -3285,10 +3285,10 @@ function Cb(e, t, n, r) {
|
|
3285
3285
|
if (Ho(n))
|
3286
3286
|
n instanceof Uint8ClampedArray && (n = new Uint8Array(n.buffer));
|
3287
3287
|
else {
|
3288
|
-
const y =
|
3288
|
+
const y = p5(h);
|
3289
3289
|
n = new y(n);
|
3290
3290
|
}
|
3291
|
-
const d =
|
3291
|
+
const d = r6(l, h), p = n.byteLength / d;
|
3292
3292
|
if (p % 1)
|
3293
3293
|
throw "length wrong size for format: " + Zh(e, u);
|
3294
3294
|
let m;
|
@@ -3317,7 +3317,7 @@ function Cb(e, t, n, r) {
|
|
3317
3317
|
type: h
|
3318
3318
|
};
|
3319
3319
|
}
|
3320
|
-
function
|
3320
|
+
function p6(e, t, n) {
|
3321
3321
|
const r = n.target || qn;
|
3322
3322
|
e.bindTexture(r, t);
|
3323
3323
|
const i = n.level || 0, o = n.internalFormat || n.format || he, s = Jo(o), a = n.format || s.format, c = n.type || s.type;
|
@@ -3336,17 +3336,17 @@ function $s(e, t, n) {
|
|
3336
3336
|
let c = t.src;
|
3337
3337
|
if (c)
|
3338
3338
|
if (typeof c == "function" && (c = c(e, t)), typeof c == "string")
|
3339
|
-
|
3339
|
+
f6(e, r, t, n);
|
3340
3340
|
else if (Ho(c) || Array.isArray(c) && (typeof c[0] == "number" || Array.isArray(c[0]) || Ho(c[0]))) {
|
3341
3341
|
const l = Cb(e, r, c, t);
|
3342
3342
|
o = l.width, s = l.height;
|
3343
3343
|
} else
|
3344
|
-
Array.isArray(c) && (typeof c[0] == "string" || Sb(c[0])) ? i === Nn ?
|
3344
|
+
Array.isArray(c) && (typeof c[0] == "string" || Sb(c[0])) ? i === Nn ? h6(e, r, t, n) : d6(e, r, t, n) : (wb(e, r, c, t), o = c.width, s = c.height);
|
3345
3345
|
else
|
3346
|
-
|
3346
|
+
p6(e, r, t);
|
3347
3347
|
return Js(t) && id(e, r, t, o, s, a), Ab(e, r, t), r;
|
3348
3348
|
}
|
3349
|
-
function
|
3349
|
+
function m6(e, t, n, r, i, o) {
|
3350
3350
|
r = r || n.width, i = i || n.height, o = o || n.depth;
|
3351
3351
|
const s = n.target || qn;
|
3352
3352
|
e.bindTexture(s, t);
|
@@ -3359,31 +3359,31 @@ function mk(e, t, n, r, i, o) {
|
|
3359
3359
|
else
|
3360
3360
|
s === fr || s === hr ? e.texImage3D(s, a, c, r, i, o, 0, f, u, null) : e.texImage2D(s, a, c, r, i, 0, f, u, null);
|
3361
3361
|
}
|
3362
|
-
const
|
3362
|
+
const g6 = ob, Vl = 33984, y6 = 35048, ff = 34962, b6 = 34963, b0 = 35345, Eb = 35718, x6 = 35721, v6 = 35971, A6 = 35382, w6 = 35396, S6 = 35398, C6 = 35392, E6 = 35395, hf = 5126, kb = 35664, Tb = 35665, Db = 35666, x0 = 5124, Ib = 35667, Mb = 35668, Bb = 35669, Fb = 35670, Pb = 35671, Rb = 35672, Ob = 35673, Lb = 35674, zb = 35675, Nb = 35676, k6 = 35678, T6 = 35680, D6 = 35679, I6 = 35682, M6 = 35685, B6 = 35686, F6 = 35687, P6 = 35688, R6 = 35689, O6 = 35690, L6 = 36289, z6 = 36292, N6 = 36293, v0 = 5125, Ub = 36294, Hb = 36295, Gb = 36296, U6 = 36298, H6 = 36299, G6 = 36300, V6 = 36303, _6 = 36306, j6 = 36307, W6 = 36308, Y6 = 36311, df = 3553, pf = 34067, A0 = 32879, mf = 35866, K = {};
|
3363
3363
|
function Vb(e, t) {
|
3364
3364
|
return K[t].bindPoint;
|
3365
3365
|
}
|
3366
|
-
function
|
3366
|
+
function Q6(e, t) {
|
3367
3367
|
return function(n) {
|
3368
3368
|
e.uniform1f(t, n);
|
3369
3369
|
};
|
3370
3370
|
}
|
3371
|
-
function
|
3371
|
+
function q6(e, t) {
|
3372
3372
|
return function(n) {
|
3373
3373
|
e.uniform1fv(t, n);
|
3374
3374
|
};
|
3375
3375
|
}
|
3376
|
-
function
|
3376
|
+
function X6(e, t) {
|
3377
3377
|
return function(n) {
|
3378
3378
|
e.uniform2fv(t, n);
|
3379
3379
|
};
|
3380
3380
|
}
|
3381
|
-
function
|
3381
|
+
function K6(e, t) {
|
3382
3382
|
return function(n) {
|
3383
3383
|
e.uniform3fv(t, n);
|
3384
3384
|
};
|
3385
3385
|
}
|
3386
|
-
function
|
3386
|
+
function Z6(e, t) {
|
3387
3387
|
return function(n) {
|
3388
3388
|
e.uniform4fv(t, n);
|
3389
3389
|
};
|
@@ -3413,12 +3413,12 @@ function Qb(e, t) {
|
|
3413
3413
|
e.uniform4iv(t, n);
|
3414
3414
|
};
|
3415
3415
|
}
|
3416
|
-
function
|
3416
|
+
function J6(e, t) {
|
3417
3417
|
return function(n) {
|
3418
3418
|
e.uniform1ui(t, n);
|
3419
3419
|
};
|
3420
3420
|
}
|
3421
|
-
function $
|
3421
|
+
function $6(e, t) {
|
3422
3422
|
return function(n) {
|
3423
3423
|
e.uniform1uiv(t, n);
|
3424
3424
|
};
|
@@ -3508,15 +3508,15 @@ function ct(e, t, n, r, i) {
|
|
3508
3508
|
});
|
3509
3509
|
};
|
3510
3510
|
}
|
3511
|
-
K[hf] = { Type: Float32Array, size: 4, setter:
|
3512
|
-
K[kb] = { Type: Float32Array, size: 8, setter:
|
3513
|
-
K[Tb] = { Type: Float32Array, size: 12, setter:
|
3514
|
-
K[Db] = { Type: Float32Array, size: 16, setter:
|
3511
|
+
K[hf] = { Type: Float32Array, size: 4, setter: Q6, arraySetter: q6 };
|
3512
|
+
K[kb] = { Type: Float32Array, size: 8, setter: X6, cols: 2 };
|
3513
|
+
K[Tb] = { Type: Float32Array, size: 12, setter: K6, cols: 3 };
|
3514
|
+
K[Db] = { Type: Float32Array, size: 16, setter: Z6, cols: 4 };
|
3515
3515
|
K[x0] = { Type: Int32Array, size: 4, setter: _b, arraySetter: jb };
|
3516
3516
|
K[Ib] = { Type: Int32Array, size: 8, setter: Wb, cols: 2 };
|
3517
3517
|
K[Mb] = { Type: Int32Array, size: 12, setter: Yb, cols: 3 };
|
3518
3518
|
K[Bb] = { Type: Int32Array, size: 16, setter: Qb, cols: 4 };
|
3519
|
-
K[v0] = { Type: Uint32Array, size: 4, setter:
|
3519
|
+
K[v0] = { Type: Uint32Array, size: 4, setter: J6, arraySetter: $6 };
|
3520
3520
|
K[Ub] = { Type: Uint32Array, size: 8, setter: e8, cols: 2 };
|
3521
3521
|
K[Hb] = { Type: Uint32Array, size: 12, setter: t8, cols: 3 };
|
3522
3522
|
K[Gb] = { Type: Uint32Array, size: 16, setter: n8, cols: 4 };
|
@@ -3527,27 +3527,27 @@ K[Ob] = { Type: Uint32Array, size: 16, setter: Qb, cols: 4 };
|
|
3527
3527
|
K[Lb] = { Type: Float32Array, size: 32, setter: r8, rows: 2, cols: 2 };
|
3528
3528
|
K[zb] = { Type: Float32Array, size: 48, setter: i8, rows: 3, cols: 3 };
|
3529
3529
|
K[Nb] = { Type: Float32Array, size: 64, setter: o8, rows: 4, cols: 4 };
|
3530
|
-
K[
|
3531
|
-
K[
|
3532
|
-
K[
|
3533
|
-
K[
|
3534
|
-
K[
|
3535
|
-
K[
|
3536
|
-
K[
|
3537
|
-
K[
|
3538
|
-
K[
|
3539
|
-
K[
|
3540
|
-
K[
|
3541
|
-
K[
|
3542
|
-
K[
|
3543
|
-
K[
|
3544
|
-
K[
|
3545
|
-
K[
|
3546
|
-
K[
|
3547
|
-
K[
|
3548
|
-
K[
|
3549
|
-
K[
|
3550
|
-
K[
|
3530
|
+
K[M6] = { Type: Float32Array, size: 32, setter: s8, rows: 2, cols: 3 };
|
3531
|
+
K[B6] = { Type: Float32Array, size: 32, setter: c8, rows: 2, cols: 4 };
|
3532
|
+
K[F6] = { Type: Float32Array, size: 48, setter: a8, rows: 3, cols: 2 };
|
3533
|
+
K[P6] = { Type: Float32Array, size: 48, setter: u8, rows: 3, cols: 4 };
|
3534
|
+
K[R6] = { Type: Float32Array, size: 64, setter: l8, rows: 4, cols: 2 };
|
3535
|
+
K[O6] = { Type: Float32Array, size: 64, setter: f8, rows: 4, cols: 3 };
|
3536
|
+
K[k6] = { Type: null, size: 0, setter: at, arraySetter: ct, bindPoint: df };
|
3537
|
+
K[T6] = { Type: null, size: 0, setter: at, arraySetter: ct, bindPoint: pf };
|
3538
|
+
K[D6] = { Type: null, size: 0, setter: at, arraySetter: ct, bindPoint: A0 };
|
3539
|
+
K[I6] = { Type: null, size: 0, setter: at, arraySetter: ct, bindPoint: df };
|
3540
|
+
K[L6] = { Type: null, size: 0, setter: at, arraySetter: ct, bindPoint: mf };
|
3541
|
+
K[z6] = { Type: null, size: 0, setter: at, arraySetter: ct, bindPoint: mf };
|
3542
|
+
K[N6] = { Type: null, size: 0, setter: at, arraySetter: ct, bindPoint: pf };
|
3543
|
+
K[U6] = { Type: null, size: 0, setter: at, arraySetter: ct, bindPoint: df };
|
3544
|
+
K[H6] = { Type: null, size: 0, setter: at, arraySetter: ct, bindPoint: A0 };
|
3545
|
+
K[G6] = { Type: null, size: 0, setter: at, arraySetter: ct, bindPoint: pf };
|
3546
|
+
K[V6] = { Type: null, size: 0, setter: at, arraySetter: ct, bindPoint: mf };
|
3547
|
+
K[_6] = { Type: null, size: 0, setter: at, arraySetter: ct, bindPoint: df };
|
3548
|
+
K[j6] = { Type: null, size: 0, setter: at, arraySetter: ct, bindPoint: A0 };
|
3549
|
+
K[W6] = { Type: null, size: 0, setter: at, arraySetter: ct, bindPoint: pf };
|
3550
|
+
K[Y6] = { Type: null, size: 0, setter: at, arraySetter: ct, bindPoint: mf };
|
3551
3551
|
function gf(e, t) {
|
3552
3552
|
return function(n) {
|
3553
3553
|
if (n.value)
|
@@ -3703,7 +3703,7 @@ function p8(e, t) {
|
|
3703
3703
|
return i;
|
3704
3704
|
}
|
3705
3705
|
function m8(e, t) {
|
3706
|
-
const n = {}, r = e.getProgramParameter(t,
|
3706
|
+
const n = {}, r = e.getProgramParameter(t, v6);
|
3707
3707
|
for (let i = 0; i < r; ++i) {
|
3708
3708
|
const o = e.getTransformFeedbackVarying(t, i);
|
3709
3709
|
n[o.name] = {
|
@@ -3733,14 +3733,14 @@ function g8(e, t) {
|
|
3733
3733
|
r[u][l] = f;
|
3734
3734
|
});
|
3735
3735
|
});
|
3736
|
-
const o = {}, s = e.getProgramParameter(t,
|
3736
|
+
const o = {}, s = e.getProgramParameter(t, A6);
|
3737
3737
|
for (let a = 0; a < s; ++a) {
|
3738
3738
|
const c = e.getActiveUniformBlockName(t, a), l = {
|
3739
3739
|
index: e.getUniformBlockIndex(t, c),
|
3740
|
-
usedByVertexShader: e.getActiveUniformBlockParameter(t, a,
|
3741
|
-
usedByFragmentShader: e.getActiveUniformBlockParameter(t, a,
|
3742
|
-
size: e.getActiveUniformBlockParameter(t, a,
|
3743
|
-
uniformIndices: e.getActiveUniformBlockParameter(t, a,
|
3740
|
+
usedByVertexShader: e.getActiveUniformBlockParameter(t, a, w6),
|
3741
|
+
usedByFragmentShader: e.getActiveUniformBlockParameter(t, a, S6),
|
3742
|
+
size: e.getActiveUniformBlockParameter(t, a, C6),
|
3743
|
+
uniformIndices: e.getActiveUniformBlockParameter(t, a, E6)
|
3744
3744
|
};
|
3745
3745
|
l.used = l.usedByVertexShader || l.usedByFragmentShader, o[c] = l;
|
3746
3746
|
}
|
@@ -3770,7 +3770,7 @@ function b8(e, t, n, r) {
|
|
3770
3770
|
function x8(e, t, n, r) {
|
3771
3771
|
const i = n.blockSpecs, o = n.uniformData, s = i[r];
|
3772
3772
|
if (!s)
|
3773
|
-
return
|
3773
|
+
return g6("no uniform block object named:", r), {
|
3774
3774
|
name: r,
|
3775
3775
|
uniforms: {}
|
3776
3776
|
};
|
@@ -3811,7 +3811,7 @@ function Kb(e, t, n) {
|
|
3811
3811
|
return !1;
|
3812
3812
|
}
|
3813
3813
|
function _g(e, t, n) {
|
3814
|
-
Kb(e, t, n) && e.bufferData(b0, n.array,
|
3814
|
+
Kb(e, t, n) && e.bufferData(b0, n.array, y6);
|
3815
3815
|
}
|
3816
3816
|
function ea(e, t) {
|
3817
3817
|
const n = e.setters;
|
@@ -3845,7 +3845,7 @@ function eo(e, ...t) {
|
|
3845
3845
|
}
|
3846
3846
|
}
|
3847
3847
|
function v8(e, t) {
|
3848
|
-
const n = {}, r = e.getProgramParameter(t,
|
3848
|
+
const n = {}, r = e.getProgramParameter(t, x6);
|
3849
3849
|
for (let i = 0; i < r; ++i) {
|
3850
3850
|
const o = e.getActiveAttrib(t, i);
|
3851
3851
|
if (qb(o))
|
@@ -3862,7 +3862,7 @@ function A8(e, t) {
|
|
3862
3862
|
}
|
3863
3863
|
}
|
3864
3864
|
function ki(e, t, n) {
|
3865
|
-
n.vertexArrayObject ? e.bindVertexArray(n.vertexArrayObject) : (A8(t.attribSetters || t, n.attribs), n.indices && e.bindBuffer(
|
3865
|
+
n.vertexArrayObject ? e.bindVertexArray(n.vertexArrayObject) : (A8(t.attribSetters || t, n.attribs), n.indices && e.bindBuffer(b6, n.indices));
|
3866
3866
|
}
|
3867
3867
|
function w8(e, t) {
|
3868
3868
|
const n = p8(e, t), r = v8(e, t), i = {
|
@@ -3956,7 +3956,7 @@ function G8(e, t, n, r, i) {
|
|
3956
3956
|
if (l !== void 0 || sb(e, a))
|
3957
3957
|
e.bindRenderbuffer(Zr, a), l > 1 ? e.renderbufferStorageMultisample(Zr, l, c, r, i) : e.renderbufferStorage(Zr, c, r, i);
|
3958
3958
|
else if (cf(e, a))
|
3959
|
-
|
3959
|
+
m6(e, a, o, r, i);
|
3960
3960
|
else
|
3961
3961
|
throw new Error("unknown attachment type");
|
3962
3962
|
});
|
@@ -5522,13 +5522,13 @@ function H0(e, t, n) {
|
|
5522
5522
|
return e ? r > 0 ? r : 1 : 0;
|
5523
5523
|
}
|
5524
5524
|
const $9 = "identity", _o = "linear", pr = "log", vc = "pow", Ac = "sqrt", kf = "symlog", _x = "time", jx = "utc", ln = "sequential", es = "diverging", vd = "quantile", Wx = "quantize", Yx = "threshold", G0 = "ordinal", Ad = "point", Qx = "band", V0 = "bin-ordinal", Ie = "continuous", wc = "discrete", Sc = "discretizing", Lt = "interpolating", qx = "temporal";
|
5525
|
-
function
|
5525
|
+
function eT(e) {
|
5526
5526
|
return function(t) {
|
5527
5527
|
let n = t[0], r = t[1], i;
|
5528
5528
|
return r < n && (i = n, n = r, r = i), [e.invert(n), e.invert(r)];
|
5529
5529
|
};
|
5530
5530
|
}
|
5531
|
-
function
|
5531
|
+
function tT(e) {
|
5532
5532
|
return function(t) {
|
5533
5533
|
const n = e.range();
|
5534
5534
|
let r = t[0], i = t[1], o = -1, s, a, c, l;
|
@@ -5589,42 +5589,42 @@ function Xx(e) {
|
|
5589
5589
|
return Xx(t());
|
5590
5590
|
}, e;
|
5591
5591
|
}
|
5592
|
-
function
|
5592
|
+
function nT() {
|
5593
5593
|
return Xx(_0().paddingInner(1));
|
5594
5594
|
}
|
5595
|
-
var
|
5596
|
-
function
|
5597
|
-
return
|
5595
|
+
var rT = Array.prototype.map;
|
5596
|
+
function iT(e) {
|
5597
|
+
return rT.call(e, Rs);
|
5598
5598
|
}
|
5599
|
-
const
|
5599
|
+
const oT = Array.prototype.slice;
|
5600
5600
|
function Kx() {
|
5601
5601
|
let e = [], t = [];
|
5602
5602
|
function n(r) {
|
5603
5603
|
return r == null || r !== r ? void 0 : t[(On(e, r) - 1) % t.length];
|
5604
5604
|
}
|
5605
5605
|
return n.domain = function(r) {
|
5606
|
-
return arguments.length ? (e =
|
5606
|
+
return arguments.length ? (e = iT(r), n) : e.slice();
|
5607
5607
|
}, n.range = function(r) {
|
5608
|
-
return arguments.length ? (t =
|
5608
|
+
return arguments.length ? (t = oT.call(r), n) : t.slice();
|
5609
5609
|
}, n.tickFormat = function(r, i) {
|
5610
5610
|
return Bx(e[0], qt(e), r ?? 10, i);
|
5611
5611
|
}, n.copy = function() {
|
5612
5612
|
return Kx().domain(n.domain()).range(n.range());
|
5613
5613
|
}, n;
|
5614
5614
|
}
|
5615
|
-
const Ql = /* @__PURE__ */ new Map(),
|
5616
|
-
function
|
5617
|
-
return e[
|
5615
|
+
const Ql = /* @__PURE__ */ new Map(), sT = Symbol("vega_scale");
|
5616
|
+
function aT(e) {
|
5617
|
+
return e[sT] = !0, e;
|
5618
5618
|
}
|
5619
|
-
function
|
5619
|
+
function cT(e, t, n) {
|
5620
5620
|
const r = function() {
|
5621
5621
|
const o = t();
|
5622
|
-
return o.invertRange || (o.invertRange = o.invert ?
|
5622
|
+
return o.invertRange || (o.invertRange = o.invert ? eT(o) : o.invertExtent ? tT(o) : void 0), o.type = e, aT(o);
|
5623
5623
|
};
|
5624
5624
|
return r.metadata = Bl(Qh(n)), r;
|
5625
5625
|
}
|
5626
5626
|
function ie(e, t, n) {
|
5627
|
-
return arguments.length > 1 ? (Ql.set(e,
|
5627
|
+
return arguments.length > 1 ? (Ql.set(e, cT(e, t, n)), this) : lT(e) ? Ql.get(e) : void 0;
|
5628
5628
|
}
|
5629
5629
|
ie($9, Fx);
|
5630
5630
|
ie(_o, Yl, Ie);
|
@@ -5651,8 +5651,8 @@ ie(Yx, zx, Sc);
|
|
5651
5651
|
ie(V0, Kx, [wc, Sc]);
|
5652
5652
|
ie(G0, E0, wc);
|
5653
5653
|
ie(Qx, _0, wc);
|
5654
|
-
ie(Ad,
|
5655
|
-
function
|
5654
|
+
ie(Ad, nT, wc);
|
5655
|
+
function lT(e) {
|
5656
5656
|
return Ql.has(e);
|
5657
5657
|
}
|
5658
5658
|
function Cc(e, t) {
|
@@ -5674,7 +5674,7 @@ function Zx(e) {
|
|
5674
5674
|
function Tf(e) {
|
5675
5675
|
return Cc(e, Lt);
|
5676
5676
|
}
|
5677
|
-
function
|
5677
|
+
function uT(e, t) {
|
5678
5678
|
const n = t[0], r = qt(t) - n;
|
5679
5679
|
return function(i) {
|
5680
5680
|
return e(n + i * r);
|
@@ -5683,20 +5683,20 @@ function u7(e, t) {
|
|
5683
5683
|
function Df(e, t, n) {
|
5684
5684
|
return M0(Jx(t || "rgb", n), e);
|
5685
5685
|
}
|
5686
|
-
function
|
5686
|
+
function fT(e, t) {
|
5687
5687
|
const n = new Array(t), r = t + 1;
|
5688
5688
|
for (let i = 0; i < t; )
|
5689
5689
|
n[i] = e(++i / r);
|
5690
5690
|
return n;
|
5691
5691
|
}
|
5692
5692
|
function Jx(e, t) {
|
5693
|
-
const n = R9[
|
5693
|
+
const n = R9[hT(e)];
|
5694
5694
|
return t != null && n && n.gamma ? n.gamma(t) : n;
|
5695
5695
|
}
|
5696
|
-
function
|
5696
|
+
function hT(e) {
|
5697
5697
|
return "interpolate" + e.toLowerCase().split("-").map((t) => t[0].toUpperCase() + t.slice(1)).join("");
|
5698
5698
|
}
|
5699
|
-
const
|
5699
|
+
const dT = {
|
5700
5700
|
blues: "cfe1f2bed8eca8cee58fc1de74b2d75ba3cf4592c63181bd206fb2125ca40a4a90",
|
5701
5701
|
greens: "d3eecdc0e6baabdda594d3917bc77d60ba6c46ab5e329a512089430e7735036429",
|
5702
5702
|
greys: "e2e2e2d4d4d4c4c4c4b1b1b19d9d9d8888887575756262624d4d4d3535351e1e1e",
|
@@ -5750,7 +5750,7 @@ const d7 = {
|
|
5750
5750
|
darkGreen: "3a3a3a215748006f4d048942489e4276b340a6c63dd2d836ffeb2cffffaa",
|
5751
5751
|
darkMulti: "3737371f5287197d8c29a86995ce3fffe800ffffff",
|
5752
5752
|
darkRed: "3434347036339e3c38cc4037e75d1eec8620eeab29f0ce32ffeb2c"
|
5753
|
-
},
|
5753
|
+
}, pT = {
|
5754
5754
|
category10: "1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf",
|
5755
5755
|
category20: "1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5",
|
5756
5756
|
category20b: "393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6",
|
@@ -5777,8 +5777,8 @@ function ev(e, t) {
|
|
5777
5777
|
j0(n, t(e[n]));
|
5778
5778
|
}
|
5779
5779
|
const h1 = {};
|
5780
|
-
ev(
|
5781
|
-
ev(
|
5780
|
+
ev(pT, $x);
|
5781
|
+
ev(dT, (e) => Df($x(e)));
|
5782
5782
|
function j0(e, t) {
|
5783
5783
|
return e = e && e.toLowerCase(), arguments.length > 1 ? (h1[e] = t, this) : h1[e];
|
5784
5784
|
}
|
@@ -5792,7 +5792,7 @@ function se(e, t = e) {
|
|
5792
5792
|
} else
|
5793
5793
|
return Ku(e);
|
5794
5794
|
}
|
5795
|
-
const
|
5795
|
+
const mT = "RawCode", gT = "Literal", yT = "Property", bT = "Identifier", xT = "ArrayExpression", vT = "BinaryExpression", AT = "CallExpression", wT = "ConditionalExpression", ST = "LogicalExpression", CT = "MemberExpression", ET = "ObjectExpression", kT = "UnaryExpression";
|
5796
5796
|
function Kt(e) {
|
5797
5797
|
this.type = e;
|
5798
5798
|
}
|
@@ -5800,37 +5800,37 @@ Kt.prototype.visit = function(e) {
|
|
5800
5800
|
let t, n, r;
|
5801
5801
|
if (e(this))
|
5802
5802
|
return 1;
|
5803
|
-
for (t =
|
5803
|
+
for (t = TT(this), n = 0, r = t.length; n < r; ++n)
|
5804
5804
|
if (t[n].visit(e))
|
5805
5805
|
return 1;
|
5806
5806
|
};
|
5807
|
-
function
|
5807
|
+
function TT(e) {
|
5808
5808
|
switch (e.type) {
|
5809
|
-
case
|
5809
|
+
case xT:
|
5810
5810
|
return e.elements;
|
5811
|
-
case
|
5812
|
-
case
|
5811
|
+
case vT:
|
5812
|
+
case ST:
|
5813
5813
|
return [e.left, e.right];
|
5814
|
-
case
|
5814
|
+
case AT:
|
5815
5815
|
return [e.callee].concat(e.arguments);
|
5816
|
-
case
|
5816
|
+
case wT:
|
5817
5817
|
return [e.test, e.consequent, e.alternate];
|
5818
|
-
case
|
5818
|
+
case CT:
|
5819
5819
|
return [e.object, e.property];
|
5820
|
-
case
|
5820
|
+
case ET:
|
5821
5821
|
return e.properties;
|
5822
|
-
case
|
5822
|
+
case yT:
|
5823
5823
|
return [e.key, e.value];
|
5824
|
-
case
|
5824
|
+
case kT:
|
5825
5825
|
return [e.argument];
|
5826
|
-
case
|
5827
|
-
case
|
5828
|
-
case
|
5826
|
+
case bT:
|
5827
|
+
case gT:
|
5828
|
+
case mT:
|
5829
5829
|
default:
|
5830
5830
|
return [];
|
5831
5831
|
}
|
5832
5832
|
}
|
5833
|
-
var pn, G, M, $e, oe, If = 1, Ec = 2, Di = 3, Fr = 4, Mf = 5, Hi = 6, dt = 7, kc = 8,
|
5833
|
+
var pn, G, M, $e, oe, If = 1, Ec = 2, Di = 3, Fr = 4, Mf = 5, Hi = 6, dt = 7, kc = 8, DT = 9;
|
5834
5834
|
pn = {};
|
5835
5835
|
pn[If] = "Boolean";
|
5836
5836
|
pn[Ec] = "<end>";
|
@@ -5840,8 +5840,8 @@ pn[Mf] = "Null";
|
|
5840
5840
|
pn[Hi] = "Numeric";
|
5841
5841
|
pn[dt] = "Punctuator";
|
5842
5842
|
pn[kc] = "String";
|
5843
|
-
pn[
|
5844
|
-
var I7 = "ArrayExpression", M7 = "BinaryExpression", B7 = "CallExpression", F7 = "ConditionalExpression", tv = "Identifier", P7 = "Literal", R7 = "LogicalExpression", O7 = "MemberExpression", L7 = "ObjectExpression", z7 = "Property", N7 = "UnaryExpression", Oe = "Unexpected token %0", U7 = "Unexpected number", H7 = "Unexpected string", G7 = "Unexpected identifier", V7 = "Unexpected reserved word", _7 = "Unexpected end of input", wd = "Invalid regular expression", Ah = "Invalid regular expression: missing /", nv = "Octal literals are not allowed in strict mode.", j7 = "Duplicate data property in object literal not allowed in strict mode", je = "ILLEGAL", ra = "Disabled.", W7 = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"), Y7 = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B2\\u08E4-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD0\\u0BD7\\u0BE6-\\u0BEF\\u0C00-\\u0C03\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C58\\u0C59\\u0C60-\\u0C63\\u0C66-\\u0C6F\\u0C81-\\u0C83\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBC-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CDE\\u0CE0-\\u0CE3\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D01-\\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D57\\u0D60-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19D9\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFC-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u2E2F\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA69D\\uA69F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C4\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2D\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]");
|
5843
|
+
pn[DT] = "RegularExpression";
|
5844
|
+
var IT = "ArrayExpression", MT = "BinaryExpression", BT = "CallExpression", FT = "ConditionalExpression", tv = "Identifier", PT = "Literal", RT = "LogicalExpression", OT = "MemberExpression", LT = "ObjectExpression", zT = "Property", NT = "UnaryExpression", Oe = "Unexpected token %0", UT = "Unexpected number", HT = "Unexpected string", GT = "Unexpected identifier", VT = "Unexpected reserved word", _T = "Unexpected end of input", wd = "Invalid regular expression", Ah = "Invalid regular expression: missing /", nv = "Octal literals are not allowed in strict mode.", jT = "Duplicate data property in object literal not allowed in strict mode", je = "ILLEGAL", ra = "Disabled.", WT = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"), YT = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B2\\u08E4-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD0\\u0BD7\\u0BE6-\\u0BEF\\u0C00-\\u0C03\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C58\\u0C59\\u0C60-\\u0C63\\u0C66-\\u0C6F\\u0C81-\\u0C83\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBC-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CDE\\u0CE0-\\u0CE3\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D01-\\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D57\\u0D60-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19D9\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFC-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u2E2F\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA69D\\uA69F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C4\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2D\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]");
|
5845
5845
|
function Bf(e, t) {
|
5846
5846
|
if (!e)
|
5847
5847
|
throw new Error("ASSERT: " + t);
|
@@ -5855,7 +5855,7 @@ function W0(e) {
|
|
5855
5855
|
function Cs(e) {
|
5856
5856
|
return "01234567".indexOf(e) >= 0;
|
5857
5857
|
}
|
5858
|
-
function
|
5858
|
+
function QT(e) {
|
5859
5859
|
return e === 32 || e === 9 || e === 11 || e === 12 || e === 160 || e >= 5760 && [5760, 6158, 8192, 8193, 8194, 8195, 8196, 8197, 8198, 8199, 8200, 8201, 8202, 8239, 8287, 12288, 65279].indexOf(e) >= 0;
|
5860
5860
|
}
|
5861
5861
|
function ia(e) {
|
@@ -5866,7 +5866,7 @@ function Tc(e) {
|
|
5866
5866
|
e >= 65 && e <= 90 || // A..Z
|
5867
5867
|
e >= 97 && e <= 122 || // a..z
|
5868
5868
|
e === 92 || // \ (backslash)
|
5869
|
-
e >= 128 &&
|
5869
|
+
e >= 128 && WT.test(String.fromCharCode(e));
|
5870
5870
|
}
|
5871
5871
|
function ql(e) {
|
5872
5872
|
return e === 36 || e === 95 || // $ (dollar) and _ (underscore)
|
@@ -5874,9 +5874,9 @@ function ql(e) {
|
|
5874
5874
|
e >= 97 && e <= 122 || // a..z
|
5875
5875
|
e >= 48 && e <= 57 || // 0..9
|
5876
5876
|
e === 92 || // \ (backslash)
|
5877
|
-
e >= 128 &&
|
5877
|
+
e >= 128 && YT.test(String.fromCharCode(e));
|
5878
5878
|
}
|
5879
|
-
const
|
5879
|
+
const qT = {
|
5880
5880
|
if: 1,
|
5881
5881
|
in: 1,
|
5882
5882
|
do: 1,
|
@@ -5923,7 +5923,7 @@ const q7 = {
|
|
5923
5923
|
function rv() {
|
5924
5924
|
for (; M < $e; ) {
|
5925
5925
|
const e = G.charCodeAt(M);
|
5926
|
-
if (
|
5926
|
+
if (QT(e) || ia(e))
|
5927
5927
|
++M;
|
5928
5928
|
else
|
5929
5929
|
break;
|
@@ -5935,7 +5935,7 @@ function Sd(e) {
|
|
5935
5935
|
M < $e && W0(G[M]) ? (r = G[M++], i = i * 16 + "0123456789abcdef".indexOf(r.toLowerCase())) : ee({}, Oe, je);
|
5936
5936
|
return String.fromCharCode(i);
|
5937
5937
|
}
|
5938
|
-
function
|
5938
|
+
function XT() {
|
5939
5939
|
var e, t, n, r;
|
5940
5940
|
for (e = G[M], t = 0, e === "}" && ee({}, Oe, je); M < $e && (e = G[M++], !!W0(e)); )
|
5941
5941
|
t = t * 16 + "0123456789abcdef".indexOf(e.toLowerCase());
|
@@ -5947,7 +5947,7 @@ function iv() {
|
|
5947
5947
|
++M, t += String.fromCharCode(e), e === 92 && (t = t.substr(0, t.length - 1), G.charCodeAt(M) !== 117 && ee({}, Oe, je), ++M, e = Sd("u"), (!e || e === "\\" || !ql(e.charCodeAt(0))) && ee({}, Oe, je), t += e);
|
5948
5948
|
return t;
|
5949
5949
|
}
|
5950
|
-
function
|
5950
|
+
function KT() {
|
5951
5951
|
var e, t;
|
5952
5952
|
for (e = M++; M < $e; ) {
|
5953
5953
|
if (t = G.charCodeAt(M), t === 92)
|
@@ -5959,9 +5959,9 @@ function K7() {
|
|
5959
5959
|
}
|
5960
5960
|
return G.slice(e, M);
|
5961
5961
|
}
|
5962
|
-
function
|
5962
|
+
function ZT() {
|
5963
5963
|
var e, t, n;
|
5964
|
-
return e = M, t = G.charCodeAt(M) === 92 ? iv() :
|
5964
|
+
return e = M, t = G.charCodeAt(M) === 92 ? iv() : KT(), t.length === 1 ? n = Di : qT.hasOwnProperty(t) ? n = Fr : t === "null" ? n = Mf : t === "true" || t === "false" ? n = If : n = Di, {
|
5965
5965
|
type: n,
|
5966
5966
|
value: t,
|
5967
5967
|
start: e,
|
@@ -6048,7 +6048,7 @@ function wh() {
|
|
6048
6048
|
};
|
6049
6049
|
ee({}, Oe, je);
|
6050
6050
|
}
|
6051
|
-
function
|
6051
|
+
function JT(e) {
|
6052
6052
|
let t = "";
|
6053
6053
|
for (; M < $e && W0(G[M]); )
|
6054
6054
|
t += G[M++];
|
@@ -6059,7 +6059,7 @@ function J7(e) {
|
|
6059
6059
|
end: M
|
6060
6060
|
};
|
6061
6061
|
}
|
6062
|
-
function $
|
6062
|
+
function $T(e) {
|
6063
6063
|
let t = "0" + G[M++];
|
6064
6064
|
for (; M < $e && Cs(G[M]); )
|
6065
6065
|
t += G[M++];
|
@@ -6076,9 +6076,9 @@ function d1() {
|
|
6076
6076
|
if (n = G[M], Bf(An(n.charCodeAt(0)) || n === ".", "Numeric literal must start with a decimal digit or a decimal point"), t = M, e = "", n !== ".") {
|
6077
6077
|
if (e = G[M++], n = G[M], e === "0") {
|
6078
6078
|
if (n === "x" || n === "X")
|
6079
|
-
return ++M,
|
6079
|
+
return ++M, JT(t);
|
6080
6080
|
if (Cs(n))
|
6081
|
-
return $
|
6081
|
+
return $T(t);
|
6082
6082
|
n && An(n.charCodeAt(0)) && ee({}, Oe, je);
|
6083
6083
|
}
|
6084
6084
|
for (; An(G.charCodeAt(M)); )
|
@@ -6103,7 +6103,7 @@ function d1() {
|
|
6103
6103
|
end: M
|
6104
6104
|
};
|
6105
6105
|
}
|
6106
|
-
function
|
6106
|
+
function e7() {
|
6107
6107
|
var e = "", t, n, r, i, o = !1;
|
6108
6108
|
for (t = G[M], Bf(t === "'" || t === '"', "String literal must starts with a quote"), n = M, ++M; M < $e; )
|
6109
6109
|
if (r = G[M++], r === t) {
|
@@ -6114,7 +6114,7 @@ function eT() {
|
|
6114
6114
|
switch (r) {
|
6115
6115
|
case "u":
|
6116
6116
|
case "x":
|
6117
|
-
G[M] === "{" ? (++M, e +=
|
6117
|
+
G[M] === "{" ? (++M, e += XT()) : e += Sd(r);
|
6118
6118
|
break;
|
6119
6119
|
case "n":
|
6120
6120
|
e += `
|
@@ -6155,7 +6155,7 @@ function eT() {
|
|
6155
6155
|
end: M
|
6156
6156
|
};
|
6157
6157
|
}
|
6158
|
-
function
|
6158
|
+
function t7(e, t) {
|
6159
6159
|
let n = e;
|
6160
6160
|
t.indexOf("u") >= 0 && (n = n.replace(/\\u\{([0-9a-fA-F]+)\}/g, (r, i) => {
|
6161
6161
|
if (parseInt(i, 16) <= 1114111)
|
@@ -6173,7 +6173,7 @@ function tT(e, t) {
|
|
6173
6173
|
return null;
|
6174
6174
|
}
|
6175
6175
|
}
|
6176
|
-
function
|
6176
|
+
function n7() {
|
6177
6177
|
var e, t, n, r, i;
|
6178
6178
|
for (e = G[M], Bf(e === "/", "Regular expression literal must start with a slash"), t = G[M++], n = !1, r = !1; M < $e; )
|
6179
6179
|
if (e = G[M++], t += e, e === "\\")
|
@@ -6192,7 +6192,7 @@ function nT() {
|
|
6192
6192
|
literal: t
|
6193
6193
|
};
|
6194
6194
|
}
|
6195
|
-
function
|
6195
|
+
function r7() {
|
6196
6196
|
var e, t, n;
|
6197
6197
|
for (t = "", n = ""; M < $e && (e = G[M], !!ql(e.charCodeAt(0))); )
|
6198
6198
|
++M, e === "\\" && M < $e ? ee({}, Oe, je) : (n += e, t += e);
|
@@ -6201,9 +6201,9 @@ function rT() {
|
|
6201
6201
|
literal: t
|
6202
6202
|
};
|
6203
6203
|
}
|
6204
|
-
function
|
6204
|
+
function i7() {
|
6205
6205
|
var e, t, n, r;
|
6206
|
-
return oe = null, rv(), e = M, t =
|
6206
|
+
return oe = null, rv(), e = M, t = n7(), n = r7(), r = t7(t.value, n.value), {
|
6207
6207
|
literal: t.literal + n.literal,
|
6208
6208
|
value: r,
|
6209
6209
|
regex: {
|
@@ -6214,7 +6214,7 @@ function iT() {
|
|
6214
6214
|
end: M
|
6215
6215
|
};
|
6216
6216
|
}
|
6217
|
-
function
|
6217
|
+
function o7(e) {
|
6218
6218
|
return e.type === Di || e.type === Fr || e.type === If || e.type === Mf;
|
6219
6219
|
}
|
6220
6220
|
function ov() {
|
@@ -6225,7 +6225,7 @@ function ov() {
|
|
6225
6225
|
end: M
|
6226
6226
|
};
|
6227
6227
|
const e = G.charCodeAt(M);
|
6228
|
-
return Tc(e) ?
|
6228
|
+
return Tc(e) ? ZT() : e === 40 || e === 41 || e === 59 ? wh() : e === 39 || e === 34 ? e7() : e === 46 ? An(G.charCodeAt(M + 1)) ? d1() : wh() : An(e) ? d1() : wh();
|
6229
6229
|
}
|
6230
6230
|
function pt() {
|
6231
6231
|
const e = oe;
|
@@ -6235,20 +6235,20 @@ function sv() {
|
|
6235
6235
|
const e = M;
|
6236
6236
|
oe = ov(), M = e;
|
6237
6237
|
}
|
6238
|
-
function
|
6239
|
-
const t = new Kt(
|
6238
|
+
function s7(e) {
|
6239
|
+
const t = new Kt(IT);
|
6240
6240
|
return t.elements = e, t;
|
6241
6241
|
}
|
6242
6242
|
function p1(e, t, n) {
|
6243
|
-
const r = new Kt(e === "||" || e === "&&" ?
|
6243
|
+
const r = new Kt(e === "||" || e === "&&" ? RT : MT);
|
6244
6244
|
return r.operator = e, r.left = t, r.right = n, r;
|
6245
6245
|
}
|
6246
|
-
function
|
6247
|
-
const n = new Kt(
|
6246
|
+
function a7(e, t) {
|
6247
|
+
const n = new Kt(BT);
|
6248
6248
|
return n.callee = e, n.arguments = t, n;
|
6249
6249
|
}
|
6250
|
-
function
|
6251
|
-
const r = new Kt(
|
6250
|
+
function c7(e, t, n) {
|
6251
|
+
const r = new Kt(FT);
|
6252
6252
|
return r.test = e, r.consequent = t, r.alternate = n, r;
|
6253
6253
|
}
|
6254
6254
|
function Y0(e) {
|
@@ -6256,23 +6256,23 @@ function Y0(e) {
|
|
6256
6256
|
return t.name = e, t;
|
6257
6257
|
}
|
6258
6258
|
function ms(e) {
|
6259
|
-
const t = new Kt(
|
6259
|
+
const t = new Kt(PT);
|
6260
6260
|
return t.value = e.value, t.raw = G.slice(e.start, e.end), e.regex && (t.raw === "//" && (t.raw = "/(?:)/"), t.regex = e.regex), t;
|
6261
6261
|
}
|
6262
6262
|
function m1(e, t, n) {
|
6263
|
-
const r = new Kt(
|
6263
|
+
const r = new Kt(OT);
|
6264
6264
|
return r.computed = e === "[", r.object = t, r.property = n, r.computed || (n.member = !0), r;
|
6265
6265
|
}
|
6266
|
-
function
|
6267
|
-
const t = new Kt(
|
6266
|
+
function l7(e) {
|
6267
|
+
const t = new Kt(LT);
|
6268
6268
|
return t.properties = e, t;
|
6269
6269
|
}
|
6270
6270
|
function g1(e, t, n) {
|
6271
|
-
const r = new Kt(
|
6271
|
+
const r = new Kt(zT);
|
6272
6272
|
return r.key = t, r.value = n, r.kind = e, r;
|
6273
6273
|
}
|
6274
|
-
function
|
6275
|
-
const n = new Kt(
|
6274
|
+
function u7(e, t) {
|
6275
|
+
const n = new Kt(NT);
|
6276
6276
|
return n.operator = e, n.argument = t, n.prefix = !0, n;
|
6277
6277
|
}
|
6278
6278
|
function ee(e, t) {
|
@@ -6280,7 +6280,7 @@ function ee(e, t) {
|
|
6280
6280
|
throw n = new Error(i), n.index = M, n.description = i, n;
|
6281
6281
|
}
|
6282
6282
|
function Ff(e) {
|
6283
|
-
e.type === Ec && ee(e,
|
6283
|
+
e.type === Ec && ee(e, _T), e.type === Hi && ee(e, UT), e.type === kc && ee(e, HT), e.type === Di && ee(e, GT), e.type === Fr && ee(e, VT), ee(e, Oe, e.value);
|
6284
6284
|
}
|
6285
6285
|
function et(e) {
|
6286
6286
|
const t = pt();
|
@@ -6292,18 +6292,18 @@ function me(e) {
|
|
6292
6292
|
function Sh(e) {
|
6293
6293
|
return oe.type === Fr && oe.value === e;
|
6294
6294
|
}
|
6295
|
-
function
|
6295
|
+
function f7() {
|
6296
6296
|
const e = [];
|
6297
6297
|
for (M = oe.start, et("["); !me("]"); )
|
6298
6298
|
me(",") ? (pt(), e.push(null)) : (e.push(Ii()), me("]") || et(","));
|
6299
|
-
return pt(),
|
6299
|
+
return pt(), s7(e);
|
6300
6300
|
}
|
6301
6301
|
function y1() {
|
6302
6302
|
M = oe.start;
|
6303
6303
|
const e = pt();
|
6304
6304
|
return e.type === kc || e.type === Hi ? (e.octal && ee(e, nv), ms(e)) : Y0(e.value);
|
6305
6305
|
}
|
6306
|
-
function
|
6306
|
+
function h7() {
|
6307
6307
|
var e, t, n, r;
|
6308
6308
|
if (M = oe.start, e = oe, e.type === Di)
|
6309
6309
|
return n = y1(), et(":"), r = Ii(), g1("init", n, r);
|
@@ -6312,74 +6312,74 @@ function hT() {
|
|
6312
6312
|
else
|
6313
6313
|
return t = y1(), et(":"), r = Ii(), g1("init", t, r);
|
6314
6314
|
}
|
6315
|
-
function
|
6315
|
+
function d7() {
|
6316
6316
|
var e = [], t, n, r, i = {}, o = String;
|
6317
6317
|
for (M = oe.start, et("{"); !me("}"); )
|
6318
|
-
t =
|
6319
|
-
return et("}"),
|
6318
|
+
t = h7(), t.key.type === tv ? n = t.key.name : n = o(t.key.value), r = "$" + n, Object.prototype.hasOwnProperty.call(i, r) ? ee({}, jT) : i[r] = !0, e.push(t), me("}") || et(",");
|
6319
|
+
return et("}"), l7(e);
|
6320
6320
|
}
|
6321
|
-
function
|
6321
|
+
function p7() {
|
6322
6322
|
et("(");
|
6323
6323
|
const e = Q0();
|
6324
6324
|
return et(")"), e;
|
6325
6325
|
}
|
6326
|
-
const
|
6326
|
+
const m7 = {
|
6327
6327
|
if: 1
|
6328
6328
|
};
|
6329
|
-
function
|
6329
|
+
function g7() {
|
6330
6330
|
var e, t, n;
|
6331
6331
|
if (me("("))
|
6332
|
-
return
|
6332
|
+
return p7();
|
6333
6333
|
if (me("["))
|
6334
|
-
return
|
6334
|
+
return f7();
|
6335
6335
|
if (me("{"))
|
6336
|
-
return
|
6337
|
-
if (e = oe.type, M = oe.start, e === Di ||
|
6336
|
+
return d7();
|
6337
|
+
if (e = oe.type, M = oe.start, e === Di || m7[oe.value])
|
6338
6338
|
n = Y0(pt().value);
|
6339
6339
|
else if (e === kc || e === Hi)
|
6340
6340
|
oe.octal && ee(oe, nv), n = ms(pt());
|
6341
6341
|
else {
|
6342
6342
|
if (e === Fr)
|
6343
6343
|
throw new Error(ra);
|
6344
|
-
e === If ? (t = pt(), t.value = t.value === "true", n = ms(t)) : e === Mf ? (t = pt(), t.value = null, n = ms(t)) : me("/") || me("/=") ? (n = ms(
|
6344
|
+
e === If ? (t = pt(), t.value = t.value === "true", n = ms(t)) : e === Mf ? (t = pt(), t.value = null, n = ms(t)) : me("/") || me("/=") ? (n = ms(i7()), sv()) : Ff(pt());
|
6345
6345
|
}
|
6346
6346
|
return n;
|
6347
6347
|
}
|
6348
|
-
function
|
6348
|
+
function y7() {
|
6349
6349
|
const e = [];
|
6350
6350
|
if (et("("), !me(")"))
|
6351
6351
|
for (; M < $e && (e.push(Ii()), !me(")")); )
|
6352
6352
|
et(",");
|
6353
6353
|
return et(")"), e;
|
6354
6354
|
}
|
6355
|
-
function
|
6355
|
+
function b7() {
|
6356
6356
|
M = oe.start;
|
6357
6357
|
const e = pt();
|
6358
|
-
return
|
6358
|
+
return o7(e) || Ff(e), Y0(e.value);
|
6359
6359
|
}
|
6360
|
-
function
|
6361
|
-
return et("."),
|
6360
|
+
function x7() {
|
6361
|
+
return et("."), b7();
|
6362
6362
|
}
|
6363
|
-
function
|
6363
|
+
function v7() {
|
6364
6364
|
et("[");
|
6365
6365
|
const e = Q0();
|
6366
6366
|
return et("]"), e;
|
6367
6367
|
}
|
6368
|
-
function
|
6368
|
+
function A7() {
|
6369
6369
|
var e, t, n;
|
6370
|
-
for (e =
|
6370
|
+
for (e = g7(); ; )
|
6371
6371
|
if (me("."))
|
6372
|
-
n =
|
6372
|
+
n = x7(), e = m1(".", e, n);
|
6373
6373
|
else if (me("("))
|
6374
|
-
t =
|
6374
|
+
t = y7(), e = a7(e, t);
|
6375
6375
|
else if (me("["))
|
6376
|
-
n =
|
6376
|
+
n = v7(), e = m1("[", e, n);
|
6377
6377
|
else
|
6378
6378
|
break;
|
6379
6379
|
return e;
|
6380
6380
|
}
|
6381
6381
|
function b1() {
|
6382
|
-
const e =
|
6382
|
+
const e = A7();
|
6383
6383
|
if (oe.type === dt && (me("++") || me("--")))
|
6384
6384
|
throw new Error(ra);
|
6385
6385
|
return e;
|
@@ -6392,7 +6392,7 @@ function gl() {
|
|
6392
6392
|
if (me("++") || me("--"))
|
6393
6393
|
throw new Error(ra);
|
6394
6394
|
if (me("+") || me("-") || me("~") || me("!"))
|
6395
|
-
e = pt(), t = gl(), t =
|
6395
|
+
e = pt(), t = gl(), t = u7(e.value, t);
|
6396
6396
|
else {
|
6397
6397
|
if (Sh("delete") || Sh("void") || Sh("typeof"))
|
6398
6398
|
throw new Error(ra);
|
@@ -6452,7 +6452,7 @@ function x1(e) {
|
|
6452
6452
|
}
|
6453
6453
|
return t;
|
6454
6454
|
}
|
6455
|
-
function
|
6455
|
+
function w7() {
|
6456
6456
|
var e, t, n, r, i, o, s, a, c, l;
|
6457
6457
|
if (e = oe, c = gl(), r = oe, i = x1(r), i === 0)
|
6458
6458
|
return c;
|
@@ -6467,7 +6467,7 @@ function wT() {
|
|
6467
6467
|
}
|
6468
6468
|
function Ii() {
|
6469
6469
|
var e, t, n;
|
6470
|
-
return e =
|
6470
|
+
return e = w7(), me("?") && (pt(), t = Ii(), et(":"), n = Ii(), e = c7(e, t, n)), e;
|
6471
6471
|
}
|
6472
6472
|
function Q0() {
|
6473
6473
|
const e = Ii();
|
@@ -6475,14 +6475,14 @@ function Q0() {
|
|
6475
6475
|
throw new Error(ra);
|
6476
6476
|
return e;
|
6477
6477
|
}
|
6478
|
-
function
|
6478
|
+
function S7(e) {
|
6479
6479
|
G = e, M = 0, $e = G.length, oe = null, sv();
|
6480
6480
|
const t = Q0();
|
6481
6481
|
if (oe.type !== Ec)
|
6482
6482
|
throw new Error("Unexpect token after expression.");
|
6483
6483
|
return t;
|
6484
6484
|
}
|
6485
|
-
var
|
6485
|
+
var C7 = {
|
6486
6486
|
NaN: "NaN",
|
6487
6487
|
E: "Math.E",
|
6488
6488
|
LN2: "Math.LN2",
|
@@ -6575,13 +6575,13 @@ function av(e) {
|
|
6575
6575
|
}
|
6576
6576
|
};
|
6577
6577
|
}
|
6578
|
-
function
|
6578
|
+
function E7(e) {
|
6579
6579
|
const t = e && e.length - 1;
|
6580
6580
|
return t && (e[0] === '"' && e[t] === '"' || e[0] === "'" && e[t] === "'") ? e.slice(1, -1) : e;
|
6581
6581
|
}
|
6582
|
-
function
|
6582
|
+
function k7(e) {
|
6583
6583
|
e = e || {};
|
6584
|
-
const t = e.allowed ? Bl(e.allowed) : {}, n = e.forbidden ? Bl(e.forbidden) : {}, r = e.constants ||
|
6584
|
+
const t = e.allowed ? Bl(e.allowed) : {}, n = e.forbidden ? Bl(e.forbidden) : {}, r = e.constants || C7, i = (e.functions || av)(u), o = e.globalvar, s = e.fieldvar, a = At(o) ? o : (p) => `${o}["${p}"]`;
|
6585
6585
|
let c = {}, l = {}, f = 0;
|
6586
6586
|
function u(p) {
|
6587
6587
|
if (re(p))
|
@@ -6599,7 +6599,7 @@ function kT(e) {
|
|
6599
6599
|
const m = !p.computed, y = u(p.object);
|
6600
6600
|
m && (f += 1);
|
6601
6601
|
const g = u(p.property);
|
6602
|
-
return y === s && (l[
|
6602
|
+
return y === s && (l[E7(g)] = 1), m && (f -= 1), y + (m ? "." + g : "[" + g + "]");
|
6603
6603
|
},
|
6604
6604
|
CallExpression: (p) => {
|
6605
6605
|
p.callee.type !== "Identifier" && Ae("Illegal callee type: " + p.callee.type);
|
@@ -6634,7 +6634,7 @@ function q0(e, t, n) {
|
|
6634
6634
|
function Hn(e, t = 0, n = 1) {
|
6635
6635
|
return Math.max(t, Math.min(n, e));
|
6636
6636
|
}
|
6637
|
-
function
|
6637
|
+
function T7(e, t, n) {
|
6638
6638
|
return Hn((n - e) / (t - e), 0, 1);
|
6639
6639
|
}
|
6640
6640
|
const mn = 1, Pr = 2, X0 = 4;
|
@@ -6833,7 +6833,7 @@ ni = new WeakSet(), gs = function() {
|
|
6833
6833
|
function cv(e) {
|
6834
6834
|
return e.type == "file";
|
6835
6835
|
}
|
6836
|
-
function
|
6836
|
+
function D7(e) {
|
6837
6837
|
return e.type == "facet";
|
6838
6838
|
}
|
6839
6839
|
const mr = "_uniqueId", v1 = 1e4, A1 = [null];
|
@@ -6881,12 +6881,12 @@ function lv(e) {
|
|
6881
6881
|
uniqueId: e == null ? void 0 : e[mr]
|
6882
6882
|
};
|
6883
6883
|
}
|
6884
|
-
function
|
6884
|
+
function I7(e, t, n = !0) {
|
6885
6885
|
if (!e || !t)
|
6886
6886
|
return !1;
|
6887
6887
|
if (fv(e))
|
6888
6888
|
return e.uniqueId == null ? n : e.uniqueId === t[mr];
|
6889
|
-
if (
|
6889
|
+
if (M7(e))
|
6890
6890
|
return e.uniqueIds.size == 0 ? n : e.uniqueIds.has(t[mr]);
|
6891
6891
|
throw new Error("Not a selection: " + JSON.stringify(e));
|
6892
6892
|
}
|
@@ -6896,7 +6896,7 @@ function uv(e) {
|
|
6896
6896
|
function fv(e) {
|
6897
6897
|
return e.type === "single";
|
6898
6898
|
}
|
6899
|
-
function
|
6899
|
+
function M7(e) {
|
6900
6900
|
return e.type === "multi";
|
6901
6901
|
}
|
6902
6902
|
const hv = {
|
@@ -6914,26 +6914,26 @@ const hv = {
|
|
6914
6914
|
return e != null && e === e;
|
6915
6915
|
},
|
6916
6916
|
lerp: Ay,
|
6917
|
-
linearstep:
|
6917
|
+
linearstep: T7,
|
6918
6918
|
smoothstep: q0,
|
6919
|
-
selectionTest:
|
6919
|
+
selectionTest: I7
|
6920
6920
|
};
|
6921
|
-
function
|
6921
|
+
function B7(e) {
|
6922
6922
|
const t = av(e);
|
6923
6923
|
for (const n in hv)
|
6924
6924
|
t[n] = `this.${n}`;
|
6925
6925
|
return t;
|
6926
6926
|
}
|
6927
|
-
const
|
6927
|
+
const F7 = k7({
|
6928
6928
|
forbidden: [],
|
6929
6929
|
allowed: ["datum", "undefined"],
|
6930
6930
|
globalvar: "globalObject",
|
6931
6931
|
fieldvar: "datum",
|
6932
|
-
functions:
|
6932
|
+
functions: B7
|
6933
6933
|
});
|
6934
|
-
function
|
6934
|
+
function P7(e, t = {}) {
|
6935
6935
|
try {
|
6936
|
-
const n =
|
6936
|
+
const n = S7(e), r = F7(n), i = Function(
|
6937
6937
|
"datum",
|
6938
6938
|
"globalObject",
|
6939
6939
|
`"use strict";
|
@@ -6954,7 +6954,7 @@ function PT(e, t = {}) {
|
|
6954
6954
|
}
|
6955
6955
|
}
|
6956
6956
|
var er, ri, ao, co, wa;
|
6957
|
-
class
|
6957
|
+
class R7 {
|
6958
6958
|
/**
|
6959
6959
|
* @param {() => ParamMediator} [parentFinder]
|
6960
6960
|
* An optional function that returns the parent mediator.
|
@@ -7096,7 +7096,7 @@ class RT {
|
|
7096
7096
|
return S(this, ao).get(t);
|
7097
7097
|
const n = {}, r = (
|
7098
7098
|
/** @type {any} */
|
7099
|
-
|
7099
|
+
P7(t, n)
|
7100
7100
|
), i = /* @__PURE__ */ new Map();
|
7101
7101
|
for (const s of r.globals) {
|
7102
7102
|
const a = this.findMediatorForParam(s);
|
@@ -7140,7 +7140,7 @@ class RT {
|
|
7140
7140
|
*/
|
7141
7141
|
hasPointSelections() {
|
7142
7142
|
for (const t of S(this, co).values())
|
7143
|
-
if (
|
7143
|
+
if (O7(t)) {
|
7144
7144
|
const n = t.select;
|
7145
7145
|
if (re(n)) {
|
7146
7146
|
if (n == "point")
|
@@ -7170,7 +7170,7 @@ function xt(e) {
|
|
7170
7170
|
function K0(e) {
|
7171
7171
|
return ("expr" in e || "bind" in e) && !("select" in e);
|
7172
7172
|
}
|
7173
|
-
function
|
7173
|
+
function O7(e) {
|
7174
7174
|
return !("expr" in e || "bind" in e) && "select" in e;
|
7175
7175
|
}
|
7176
7176
|
function Pf(e, t, n) {
|
@@ -7202,7 +7202,7 @@ function Rf(e) {
|
|
7202
7202
|
);
|
7203
7203
|
return e;
|
7204
7204
|
}
|
7205
|
-
function
|
7205
|
+
function L7(e) {
|
7206
7206
|
return Object.assign(() => e, {
|
7207
7207
|
addListener: () => {
|
7208
7208
|
},
|
@@ -7224,7 +7224,7 @@ function w1(e, t, n) {
|
|
7224
7224
|
);
|
7225
7225
|
return s.fields ?? (s.fields = []), s.constant = s.fields.length === 0, s.channelDef = t, s.channel = e, s.scaleChannel = ((wt(t) && t.resolutionChannel) ?? (jo(e) && e)) || void 0, "param" in t ? (s.predicate = n.createExpression(
|
7226
7226
|
uv(t)
|
7227
|
-
), s.predicate.param = t.param, s.predicate.empty = t.empty ?? !0) : (s.predicate =
|
7227
|
+
), s.predicate.param = t.param, s.predicate.empty = t.empty ?? !0) : (s.predicate = L7(!0), s.predicate.empty = !1), s.asNumberAccessor = () => (
|
7228
7228
|
/** @type {import("../types/encoder.js").Accessor<number>} */
|
7229
7229
|
s
|
7230
7230
|
), s;
|
@@ -7264,9 +7264,9 @@ function w1(e, t, n) {
|
|
7264
7264
|
);
|
7265
7265
|
}
|
7266
7266
|
}
|
7267
|
-
function
|
7267
|
+
function z7(e, t, n) {
|
7268
7268
|
const r = [];
|
7269
|
-
if (
|
7269
|
+
if (G7(t) || V7(t)) {
|
7270
7270
|
const i = Array.isArray(t.condition) ? t.condition : [t.condition];
|
7271
7271
|
for (const o of i)
|
7272
7272
|
r.push(
|
@@ -7281,14 +7281,14 @@ function zT(e, t, n) {
|
|
7281
7281
|
);
|
7282
7282
|
return r;
|
7283
7283
|
}
|
7284
|
-
function
|
7284
|
+
function N7(e, t) {
|
7285
7285
|
const n = {}, r = (i) => {
|
7286
7286
|
var o;
|
7287
7287
|
return (o = e.getScaleResolution(i)) == null ? void 0 : o.scale;
|
7288
7288
|
};
|
7289
7289
|
for (const [i, o] of Object.entries(t))
|
7290
|
-
o && (n[i] =
|
7291
|
-
|
7290
|
+
o && (n[i] = U7(
|
7291
|
+
z7(
|
7292
7292
|
i,
|
7293
7293
|
o,
|
7294
7294
|
e.paramMediator
|
@@ -7297,7 +7297,7 @@ function NT(e, t) {
|
|
7297
7297
|
));
|
7298
7298
|
return n;
|
7299
7299
|
}
|
7300
|
-
function
|
7300
|
+
function U7(e, t) {
|
7301
7301
|
if (e.length === 1)
|
7302
7302
|
return S1(e[0], t);
|
7303
7303
|
const n = e.map((o) => o.predicate), r = e.map((o) => S1(o, t));
|
@@ -7352,7 +7352,7 @@ function Dc(e) {
|
|
7352
7352
|
function wt(e) {
|
7353
7353
|
return gn(e) || Dc(e) || Ic(e) || dv(e);
|
7354
7354
|
}
|
7355
|
-
function
|
7355
|
+
function H7(e, t) {
|
7356
7356
|
const n = e.mark.encoding[t];
|
7357
7357
|
if (wt(n))
|
7358
7358
|
return n;
|
@@ -7364,21 +7364,21 @@ function dv(e) {
|
|
7364
7364
|
function Ic(e) {
|
7365
7365
|
return e && "expr" in e;
|
7366
7366
|
}
|
7367
|
-
function
|
7367
|
+
function G7(e) {
|
7368
7368
|
return (gn(e) || Dc(e)) && "condition" in e;
|
7369
7369
|
}
|
7370
|
-
function
|
7370
|
+
function V7(e) {
|
7371
7371
|
return Rt(e) && "condition" in e;
|
7372
7372
|
}
|
7373
|
-
const ts = ["x", "y"],
|
7373
|
+
const ts = ["x", "y"], _7 = ["x2", "y2"], j7 = [
|
7374
7374
|
...ts,
|
7375
|
-
...
|
7375
|
+
..._7
|
7376
7376
|
];
|
7377
7377
|
function pv(e) {
|
7378
7378
|
return ts.includes(e);
|
7379
7379
|
}
|
7380
7380
|
function oa(e) {
|
7381
|
-
return
|
7381
|
+
return j7.includes(e);
|
7382
7382
|
}
|
7383
7383
|
const mv = {
|
7384
7384
|
x: "x2",
|
@@ -7389,7 +7389,7 @@ const mv = {
|
|
7389
7389
|
function yv(e) {
|
7390
7390
|
return e in gv;
|
7391
7391
|
}
|
7392
|
-
function
|
7392
|
+
function W7(e) {
|
7393
7393
|
const t = mv[e];
|
7394
7394
|
if (t)
|
7395
7395
|
return t;
|
@@ -7424,7 +7424,7 @@ function jo(e) {
|
|
7424
7424
|
"dy"
|
7425
7425
|
].includes(e);
|
7426
7426
|
}
|
7427
|
-
function
|
7427
|
+
function Y7(e) {
|
7428
7428
|
switch (e) {
|
7429
7429
|
case "shape":
|
7430
7430
|
return [
|
@@ -7447,7 +7447,7 @@ function bv(e) {
|
|
7447
7447
|
if (!Of(e))
|
7448
7448
|
throw new Error("Not a discrete channel: " + e);
|
7449
7449
|
const t = new Map(
|
7450
|
-
|
7450
|
+
Y7(e).map((n, r) => [n, r])
|
7451
7451
|
);
|
7452
7452
|
return (n) => {
|
7453
7453
|
const r = t.get(n);
|
@@ -7461,8 +7461,8 @@ function Z0() {
|
|
7461
7461
|
return e.invert = (t) => t, e.copy = Z0, e.invertRange = () => {
|
7462
7462
|
}, e.type = "null", e;
|
7463
7463
|
}
|
7464
|
-
const Mc = "attr_",
|
7465
|
-
function
|
7464
|
+
const Mc = "attr_", Q7 = "uDomain_", q7 = "range_", X7 = "accessor_", xv = "scale_", K7 = "getScaled_", Ed = "uRangeTexture_", kd = "uParam_", C1 = 3402823466e29;
|
7465
|
+
function Z7(e) {
|
7466
7466
|
const t = e.match(/^(?:(\w+)-)?(\w+)$/);
|
7467
7467
|
if (!t)
|
7468
7468
|
throw new Error("Not a scale type: " + e);
|
@@ -7472,9 +7472,9 @@ function ZT(e) {
|
|
7472
7472
|
};
|
7473
7473
|
}
|
7474
7474
|
function Bc(e, t) {
|
7475
|
-
return `${
|
7475
|
+
return `${X7}${e}_${t}`;
|
7476
7476
|
}
|
7477
|
-
function
|
7477
|
+
function J7(e, t, n) {
|
7478
7478
|
let r;
|
7479
7479
|
if (Of(e))
|
7480
7480
|
r = $r(bv(e)(n));
|
@@ -7510,7 +7510,7 @@ ${r.type} ${i}() {
|
|
7510
7510
|
accessorFunctionName: i
|
7511
7511
|
};
|
7512
7512
|
}
|
7513
|
-
function $
|
7513
|
+
function $7(e, t) {
|
7514
7514
|
let n = "float", r = (c) => c;
|
7515
7515
|
gr(e) && (n = "vec3", r = (c) => Sv(c));
|
7516
7516
|
const i = `u${lD(e)}_${t}`, o = ` // Dynamic value
|
@@ -7566,11 +7566,11 @@ ${r} ${s}() {
|
|
7566
7566
|
}
|
7567
7567
|
function tD(e, t, n) {
|
7568
7568
|
t ?? (t = Z0());
|
7569
|
-
const r = Mi(e), i =
|
7569
|
+
const r = Mi(e), i = Q7 + r, o = q7 + r, { hp: s, attributeType: a } = Fc(t, e), c = t.domain ? t.domain().length : void 0;
|
7570
7570
|
let l;
|
7571
7571
|
const f = [];
|
7572
7572
|
f.push(""), f.push("/".repeat(70)), f.push(`// Channel: ${e}`), f.push("");
|
7573
|
-
const { transform: u } =
|
7573
|
+
const { transform: u } = Z7(t.type), h = (C, ...D) => (
|
7574
7574
|
// eslint-disable-next-line no-useless-call
|
7575
7575
|
iD.apply(null, [C, "value", ...D])
|
7576
7576
|
);
|
@@ -7727,7 +7727,7 @@ function nD(e, t) {
|
|
7727
7727
|
s.scaleChannel ? `return ${xv}${e}(${a}());` : `return ${a}();`
|
7728
7728
|
);
|
7729
7729
|
}
|
7730
|
-
return `${n} ${
|
7730
|
+
return `${n} ${K7}${e}() {
|
7731
7731
|
${uD(r, i)}
|
7732
7732
|
}
|
7733
7733
|
|
@@ -9432,7 +9432,7 @@ class Oc {
|
|
9432
9432
|
* the ranges of the visual channels.
|
9433
9433
|
*/
|
9434
9434
|
initializeEncoders() {
|
9435
|
-
this.encoders =
|
9435
|
+
this.encoders = N7(this.unitView, this.encoding);
|
9436
9436
|
}
|
9437
9437
|
/**
|
9438
9438
|
* Initialize shaders etc.
|
@@ -9501,7 +9501,7 @@ class Oc {
|
|
9501
9501
|
const R = x.channelDef;
|
9502
9502
|
if (Rt(R))
|
9503
9503
|
if (st(R.value)) {
|
9504
|
-
const { uniformName: H, uniformGlsl: F, accessorGlsl: L, adjuster: W } = $
|
9504
|
+
const { uniformName: H, uniformGlsl: F, accessorGlsl: L, adjuster: W } = $7(
|
9505
9505
|
w,
|
9506
9506
|
C
|
9507
9507
|
);
|
@@ -9514,7 +9514,7 @@ class Oc {
|
|
9514
9514
|
});
|
9515
9515
|
} else
|
9516
9516
|
c.push(
|
9517
|
-
|
9517
|
+
J7(
|
9518
9518
|
w,
|
9519
9519
|
C,
|
9520
9520
|
R.value
|
@@ -9740,14 +9740,14 @@ precision highp int;`, g = (w) => w.replace(
|
|
9740
9740
|
for (const [n, r] of Object.entries(
|
9741
9741
|
t.arrays
|
9742
9742
|
))
|
9743
|
-
r.data &&
|
9743
|
+
r.data && R5(
|
9744
9744
|
this.gl,
|
9745
9745
|
this.bufferInfo.attribs[n],
|
9746
9746
|
r.data,
|
9747
9747
|
0
|
9748
9748
|
);
|
9749
9749
|
else {
|
9750
|
-
this.deleteGraphicsData(), this.bufferInfo =
|
9750
|
+
this.deleteGraphicsData(), this.bufferInfo = z5(
|
9751
9751
|
this.gl,
|
9752
9752
|
t.arrays,
|
9753
9753
|
{ numElements: t.vertexCount }
|
@@ -10014,7 +10014,7 @@ class PD extends Ln {
|
|
10014
10014
|
}
|
10015
10015
|
}
|
10016
10016
|
function Md(e, t) {
|
10017
|
-
const n =
|
10017
|
+
const n = W7(t);
|
10018
10018
|
let r = e[t] && { ...e[t] }, i = e[n] && {
|
10019
10019
|
...e[n]
|
10020
10020
|
};
|
@@ -12339,10 +12339,10 @@ function EI(e, t, n) {
|
|
12339
12339
|
}
|
12340
12340
|
function kI(e, t, n) {
|
12341
12341
|
var r = t.schemeExtent, i, o;
|
12342
|
-
return nt(t.scheme) ? o = Df(t.scheme, t.interpolate, t.interpolateGamma) : (i = t.scheme.toLowerCase(), o = j0(i), o || Ae(`Unrecognized scheme name: ${t.scheme}`)), n = e === Yx ? n + 1 : e === V0 ? n - 1 : e === vd || e === Wx ? +t.schemeCount || pI : n, Tf(e) ? P1(o, r, t.reverse) : At(o) ?
|
12342
|
+
return nt(t.scheme) ? o = Df(t.scheme, t.interpolate, t.interpolateGamma) : (i = t.scheme.toLowerCase(), o = j0(i), o || Ae(`Unrecognized scheme name: ${t.scheme}`)), n = e === Yx ? n + 1 : e === V0 ? n - 1 : e === vd || e === Wx ? +t.schemeCount || pI : n, Tf(e) ? P1(o, r, t.reverse) : At(o) ? fT(P1(o, r), n) : e === G0 ? o : o.slice(0, n);
|
12343
12343
|
}
|
12344
12344
|
function P1(e, t, n) {
|
12345
|
-
return At(e) && (t || n) ?
|
12345
|
+
return At(e) && (t || n) ? uT(e, Pd(t || [0, 1], n)) : e;
|
12346
12346
|
}
|
12347
12347
|
function Pd(e, t) {
|
12348
12348
|
return t ? e.slice().reverse() : e;
|
@@ -13498,7 +13498,7 @@ class $I {
|
|
13498
13498
|
getTitle() {
|
13499
13499
|
const t = (o) => {
|
13500
13500
|
var a;
|
13501
|
-
const s =
|
13501
|
+
const s = H7(
|
13502
13502
|
o.view,
|
13503
13503
|
o.channel
|
13504
13504
|
);
|
@@ -13907,7 +13907,7 @@ class rA {
|
|
13907
13907
|
blockEncodingInheritance: !1,
|
13908
13908
|
contributesToScaleDomain: !0,
|
13909
13909
|
...s
|
13910
|
-
}, this.needsAxes = { x: !1, y: !1 }, this.paramMediator = new
|
13910
|
+
}, this.needsAxes = { x: !1, y: !1 }, this.paramMediator = new R7(
|
13911
13911
|
() => {
|
13912
13912
|
var c;
|
13913
13913
|
return (c = this.dataParent) == null ? void 0 : c.paramMediator;
|
@@ -14694,7 +14694,7 @@ class la extends we {
|
|
14694
14694
|
* @param {import("../types/flowBatch.js").FlowBatch} flowBatch
|
14695
14695
|
*/
|
14696
14696
|
beginBatch(n) {
|
14697
|
-
|
14697
|
+
D7(n) && (N(this, Cn, []), this.facetBatches.set(Je(n.facetId), S(this, Cn)));
|
14698
14698
|
}
|
14699
14699
|
complete() {
|
14700
14700
|
var o, s;
|
@@ -21610,7 +21610,7 @@ class AF {
|
|
21610
21610
|
>Loading
|
21611
21611
|
failed${i.detail ? T`: ${i.detail}` : q}</span
|
21612
21612
|
>` : T`
|
21613
|
-
<img src="${
|
21613
|
+
<img src="${e5}" alt="" />
|
21614
21614
|
<span>Loading...</span>
|
21615
21615
|
`}
|
21616
21616
|
</div>
|
@@ -21977,7 +21977,7 @@ ko = new WeakSet(), wl = function() {
|
|
21977
21977
|
}, Tu = new WeakSet(), jA = function() {
|
21978
21978
|
this.container.classList.add("genome-spy");
|
21979
21979
|
const t = document.createElement("style");
|
21980
|
-
t.innerHTML =
|
21980
|
+
t.innerHTML = t5, this.container.appendChild(t);
|
21981
21981
|
const n = $c("div", {
|
21982
21982
|
class: "canvas-wrapper"
|
21983
21983
|
});
|
@@ -21991,7 +21991,7 @@ ko = new WeakSet(), wl = function() {
|
|
21991
21991
|
innerHTML: '<div class="message">Loading<span class="ellipsis">...</span></div>'
|
21992
21992
|
}), n.appendChild(this.loadingMessageElement), this.loadingIndicatorsElement = $c("div", {
|
21993
21993
|
class: "loading-indicators"
|
21994
|
-
}), n.appendChild(this.loadingIndicatorsElement), this.tooltip = new
|
21994
|
+
}), n.appendChild(this.loadingIndicatorsElement), this.tooltip = new n5(this.container), this.loadingMessageElement.querySelector(".message").addEventListener("transitionend", () => {
|
21995
21995
|
this.loadingMessageElement.style.display = "none";
|
21996
21996
|
});
|
21997
21997
|
};
|
@@ -22007,7 +22007,7 @@ function $c(e, t) {
|
|
22007
22007
|
["innerHTML", "innerText", "className"].includes(r) && (n[r] = i), n.setAttribute(r, i);
|
22008
22008
|
return n;
|
22009
22009
|
}
|
22010
|
-
const SF = "data:image/svg+xml,%3csvg%20viewBox='0%200%2032%2032'%20xmlns='http://www.w3.org/2000/svg'%20fill-rule='evenodd'%20clip-rule='evenodd'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-miterlimit='1.5'%3e%3cpath%20d='M4.7%2021.2s.4%202.3%201.3%203.6C7%2026%209.8%2028%209.8%2028s3.4-2.6%206.4-8.5c0%200%201%20.1%201.9-.4.9-.6.8-.4%201-1.2%200%200%202.9.5%206.6%200%202.1-.3%204.3-1%206.2-2.5%200%200-1.1-1.7-2.5-5.1-.5-1.3-2-1.8-4.6-4.6l-8.2%208.6-11.9%206.9z'%20fill-opacity='.1'/%3e%3cpath%20d='M12.7%2014.8s-4-1.8-12%202.7c0%200%201%203.7%202.5%205.3%201.4%201.5%202.3%203.6%204.6%204.6%200%200%204.7-3%206.9-9.2l3-2s4.7%202.8%2012.6-1.6c0%200-.6-3.3-3-6-2.6-3-3.8-4.7-3.8-4.7s-4.1%202.3-7.5%209.3l-3.3%201.6z'%20fill='%237fbbdd'/%3e%3cpath%20d='M12.4%2015.5c-.7-.5-2.4-.8-4.4-.4-2%20.4-4%201.3-4.8%201.8-.5.3-1.2%201-1.2%201.4%200%20.7.3%201.8.8%202.4.3.3.7.5%201.4.6.8%200%202.5-1.4%203.5-2%201-.6%201.6-.8%202.7-1.2l-2.9%202.4c-1.3%201.2-2.2%201.5-2.4%202.3%200%20.5%200%201.4.5%201.8.4.5.6.8%201.6.8.6%200%201%200%202.6-1.5.9-.9%202.3-3%202.7-3.7.6-1.1%201-2.2.7-3-.2-1-.4-1.4-.8-1.7zM17.4%2014.2c-.3-.5-.9-1.2-.2-2.5l1.9-3c.5-.8%202-2.3%202.6-2.6.6-.4%201.5-.6%202-.2.6.4%201%201%201.3%201.5.4.6.7%201.3.2%202-.7%201-1.6.9-2.8%201.7-1.2.8-1.9%201.2-2.5%201.9l3.8-1.8c1.3-.6%202.7-1.1%203.4-.7.8.5.8.7%201%201.4.3%201-.2%201.9-.8%202.4-.5.6-1.5.9-2.6%201.2-1.4.4-4.5%201-5.8.5-1.3-.5-1.3-1.4-1.5-1.8z'%20fill='%23fff'/%3e%3cpath%20d='M12.7%2014.8s-4-1.8-12%202.7c0%200%201%203.7%202.5%205.3%201.4%201.5%202.3%203.6%204.6%204.6%200%200%204.7-3%206.9-9.2l3-2s4.7%202.8%2012.6-1.6c0%200-.6-3.3-3-6-2.6-3-3.8-4.7-3.8-4.7s-4.1%202.3-7.5%209.3l-3.3%201.6z'%20fill='none'%20stroke='%23000'%20stroke-width='.5'/%3e%3cpath%20d='M12.4%2014.9s2.1-2%203-2c1.1%200%202.3%202.7%202.3%203.5%200%20.8-2.1%202.4-3.1%202.3%200%200%200-1.2-.7-2.6-.8-1.3-1.5-1.2-1.5-1.2z'%20fill='%237fbbdd'/%3e%3cpath%20d='M13.8%2015.3c.9.8.6%202%201.4%201.8%201-.2%201.4-.8%201.3-1.5%200-.7%200-.8-.4-1.6-.3-.7-1-1.1-2-.5-.7.5-1.4%201.3-1.4%201.3s.2-.3%201.1.5z'%20fill='%23fff'/%3e%3cpath%20d='M12.4%2014.9s2.1-2%203-2c1.1%200%202.3%202.7%202.3%203.5%200%20.8-2.1%202.4-3.1%202.3%200%200%200-1.2-.7-2.6-.8-1.3-1.5-1.2-1.5-1.2z'%20fill='none'%20stroke='%23000'%20stroke-width='.5'/%3e%3c/svg%3e", CF = "data:image/svg+xml,%
|
22010
|
+
const SF = "data:image/svg+xml,%3csvg%20viewBox='0%200%2032%2032'%20xmlns='http://www.w3.org/2000/svg'%20fill-rule='evenodd'%20clip-rule='evenodd'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-miterlimit='1.5'%3e%3cpath%20d='M4.7%2021.2s.4%202.3%201.3%203.6C7%2026%209.8%2028%209.8%2028s3.4-2.6%206.4-8.5c0%200%201%20.1%201.9-.4.9-.6.8-.4%201-1.2%200%200%202.9.5%206.6%200%202.1-.3%204.3-1%206.2-2.5%200%200-1.1-1.7-2.5-5.1-.5-1.3-2-1.8-4.6-4.6l-8.2%208.6-11.9%206.9z'%20fill-opacity='.1'/%3e%3cpath%20d='M12.7%2014.8s-4-1.8-12%202.7c0%200%201%203.7%202.5%205.3%201.4%201.5%202.3%203.6%204.6%204.6%200%200%204.7-3%206.9-9.2l3-2s4.7%202.8%2012.6-1.6c0%200-.6-3.3-3-6-2.6-3-3.8-4.7-3.8-4.7s-4.1%202.3-7.5%209.3l-3.3%201.6z'%20fill='%237fbbdd'/%3e%3cpath%20d='M12.4%2015.5c-.7-.5-2.4-.8-4.4-.4-2%20.4-4%201.3-4.8%201.8-.5.3-1.2%201-1.2%201.4%200%20.7.3%201.8.8%202.4.3.3.7.5%201.4.6.8%200%202.5-1.4%203.5-2%201-.6%201.6-.8%202.7-1.2l-2.9%202.4c-1.3%201.2-2.2%201.5-2.4%202.3%200%20.5%200%201.4.5%201.8.4.5.6.8%201.6.8.6%200%201%200%202.6-1.5.9-.9%202.3-3%202.7-3.7.6-1.1%201-2.2.7-3-.2-1-.4-1.4-.8-1.7zM17.4%2014.2c-.3-.5-.9-1.2-.2-2.5l1.9-3c.5-.8%202-2.3%202.6-2.6.6-.4%201.5-.6%202-.2.6.4%201%201%201.3%201.5.4.6.7%201.3.2%202-.7%201-1.6.9-2.8%201.7-1.2.8-1.9%201.2-2.5%201.9l3.8-1.8c1.3-.6%202.7-1.1%203.4-.7.8.5.8.7%201%201.4.3%201-.2%201.9-.8%202.4-.5.6-1.5.9-2.6%201.2-1.4.4-4.5%201-5.8.5-1.3-.5-1.3-1.4-1.5-1.8z'%20fill='%23fff'/%3e%3cpath%20d='M12.7%2014.8s-4-1.8-12%202.7c0%200%201%203.7%202.5%205.3%201.4%201.5%202.3%203.6%204.6%204.6%200%200%204.7-3%206.9-9.2l3-2s4.7%202.8%2012.6-1.6c0%200-.6-3.3-3-6-2.6-3-3.8-4.7-3.8-4.7s-4.1%202.3-7.5%209.3l-3.3%201.6z'%20fill='none'%20stroke='%23000'%20stroke-width='.5'/%3e%3cpath%20d='M12.4%2014.9s2.1-2%203-2c1.1%200%202.3%202.7%202.3%203.5%200%20.8-2.1%202.4-3.1%202.3%200%200%200-1.2-.7-2.6-.8-1.3-1.5-1.2-1.5-1.2z'%20fill='%237fbbdd'/%3e%3cpath%20d='M13.8%2015.3c.9.8.6%202%201.4%201.8%201-.2%201.4-.8%201.3-1.5%200-.7%200-.8-.4-1.6-.3-.7-1-1.1-2-.5-.7.5-1.4%201.3-1.4%201.3s.2-.3%201.1.5z'%20fill='%23fff'/%3e%3cpath%20d='M12.4%2014.9s2.1-2%203-2c1.1%200%202.3%202.7%202.3%203.5%200%20.8-2.1%202.4-3.1%202.3%200%200%200-1.2-.7-2.6-.8-1.3-1.5-1.2-1.5-1.2z'%20fill='none'%20stroke='%23000'%20stroke-width='.5'/%3e%3c/svg%3e", CF = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20style='fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5'%20viewBox='0%200%2064%2064'%3e%3cpath%20d='M208.6%20548.2s11.2%2046.2%2031.2%2071c20%2024.9%2079.3%2061.6%2079.3%2061.6S385.6%20623%20438%20498.3c0%200%2018.1%201%2036-11.9%2017.7-12.7%2016.3-7.9%2021-24.8%200%200%2057%206.3%20131-9.7%2041.7-9.1%2084.3-26.3%20121.5-58.8%200%200-25.4-32.9-58-101.7-12.4-26.1-41.9-34.3-98.7-88L438.1%20391.2%20208.6%20548.2Z'%20style='fill-opacity:.11'%20transform='matrix(.10221%20.00684%20-.00671%20.10035%20-8%20-13.2)'/%3e%3cg%20transform='rotate(-35.4%2034.2%2080.8)%20scale(.10057)'%3e%3cpath%20d='M561.6%20349.2s-45.3-77.9-232.8-97.2c0%200-26.5%2073.2-21.1%20116%205.3%2043-4.7%2088.1%2021.4%20133.2%200%200%20114%205.5%20225.5-72.7l74.6%203.6S673.8%20534.4%20857%20554.4c0%200%2029.7-62.6%2022.2-137-8-78.7-7.5-124-7.5-124s-96.2-9.5-236.3%2068.4l-73.8-12.6Z'%20style='fill:%237fbbdd'/%3e%3cclipPath%20id='a'%3e%3cpath%20d='M561.6%20349.2s-45.3-77.9-232.8-97.2c0%200-26.5%2073.2-21.1%20116%205.3%2043-4.7%2088.1%2021.4%20133.2%200%200%20114%205.5%20225.5-72.7l74.6%203.6S673.8%20534.4%20857%20554.4c0%200%2029.7-62.6%2022.2-137-8-78.7-7.5-124-7.5-124s-96.2-9.5-236.3%2068.4l-73.8-12.6Z'/%3e%3c/clipPath%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20d='M386.9%20397.2c-15.6-13.6-51.8-22.4-96.3-16.7-44.5%205.8-93.8%2021.8-111.8%2031.6-10.6%205.7-27.3%2017.3-28.1%2027.2-1.2%2014.2%202.9%2037.8%2015%2052%206%207.2%2014.2%2012.1%2028.1%2014.1%2017.9%202.6%2059-24.8%2081.6-36.2%2024-12%2038.6-14.6%2063-22.2%200%200-47%2031.6-68.2%2047.4-30.6%2022.9-51.6%2028-57.3%2045.5-3.1%209.4-.7%2027.9%207.5%2037.6%209%2011%2012.8%2017.6%2034.2%2020.1%2012.7%201.5%2022%201.2%2059.8-28.6%2021.7-17.2%2055.9-59.2%2067-74.4%2016.2-22%2023.8-43.1%2021.3-59.6-3.7-23.6-8.4-31.3-15.8-37.8Z'%20style='fill:%23fff'%20transform='scale(.88664)%20rotate(31.2%20485%20792.2)'/%3e%3cpath%20d='M484.7%20379c-5.4-11.1-17.6-28.5-.8-53.8a739%20739%200%200%201%2044.2-60.6c13.2-16.3%2046.7-46.2%2059.6-52%2013-6%2033.3-8.7%2044.2.2%2011%209.1%2016.5%2020.6%2023%2032.7%207.4%2013.8%2012.4%2029.3%201.6%2042.8-15.4%2019.2-34.3%2017-61.6%2031.5-27.7%2014.8-42.3%2023.1-55.7%2035.9%200%200%2052.2-21.6%2082-31.2%2029.8-9.7%2059.8-20%2074.8-8.5s14.6%2015.5%2018.4%2031.2c4.7%2019.4-7.2%2038-20.1%2048.6-13%2010.7-34.3%2016-57.4%2021-30.5%206.8-96.6%2015.1-124%202.6-27.5-12.6-24.4-32.8-28.2-40.5Z'%20style='fill:%23fff'%20transform='scale(.87906)%20rotate(31.2%20487.2%20893.5)'/%3e%3c/g%3e%3cpath%20d='M561.6%20349.2s-45.3-77.9-232.8-97.2c0%200-26.5%2073.2-21.1%20116%205.3%2043-4.7%2088.1%2021.4%20133.2%200%200%20114%205.5%20225.5-72.7l74.6%203.6S673.8%20534.4%20857%20554.4c0%200%2029.7-62.6%2022.2-137-8-78.7-7.5-124-7.5-124s-96.2-9.5-236.3%2068.4l-73.8-12.6Z'%20style='fill:none;stroke:%23000;stroke-width:16.57px'/%3e%3c/g%3e%3cg%20transform='rotate(-4.2%20-78%20211)%20scale(.10057)'%3e%3cpath%20d='M385%20385.5s45.8-37.6%2065-35.4c21.7%202.5%2040.5%2057.6%2040.2%2074.3-.3%2016.7-47.3%2045.5-67.7%2041.8%200%200%203-24-10.4-52.9-13.4-28.8-27.2-27.8-27.2-27.8Z'%20style='fill:%237fbbdd'/%3e%3cclipPath%20id='b'%3e%3cpath%20d='M385%20385.5s45.8-37.6%2065-35.4c21.7%202.5%2040.5%2057.6%2040.2%2074.3-.3%2016.7-47.3%2045.5-67.7%2041.8%200%200%203-24-10.4-52.9-13.4-28.8-27.2-27.8-27.2-27.8Z'/%3e%3c/clipPath%3e%3cg%20clip-path='url(%23b)'%3e%3cpath%20d='M413.3%20402.7c17.5%2018.9%2010%2045.7%2028.4%2043.4%2021.7-2.7%2030.9-15.7%2031.6-32.7.7-17-1-19.5-7.1-38-6.1-18.7-18.2-23.2-43.4-18.2-20.8%204.1-17.8%203-24%2010-6.4%207-14.5%2026-14.5%2026s8.4-12.7%2029%209.5Z'%20style='fill:%23fff'%20transform='matrix(.90907%200%200%20.85852%2037%2052.2)'/%3e%3c/g%3e%3cpath%20d='M385%20385.5s45.8-37.6%2065-35.4c21.7%202.5%2040.5%2057.6%2040.2%2074.3-.3%2016.7-47.3%2045.5-67.7%2041.8%200%200%203-24-10.4-52.9-13.4-28.8-27.2-27.8-27.2-27.8Z'%20style='fill:none;stroke:%23000;stroke-width:16.57px'/%3e%3c/g%3e%3c/svg%3e";
|
22011
22011
|
async function EF(e) {
|
22012
22012
|
let t;
|
22013
22013
|
try {
|
@@ -24690,7 +24690,7 @@ kt.counter;
|
|
24690
24690
|
* Copyright 2020 Google LLC
|
24691
24691
|
* SPDX-License-Identifier: BSD-3-Clause
|
24692
24692
|
*/
|
24693
|
-
const { I: LR } =
|
24693
|
+
const { I: LR } = JE, zR = (e) => e === null || typeof e != "object" && typeof e != "function", ww = (e) => e.strings === void 0, b2 = () => document.createComment(""), us = (e, t, n) => {
|
24694
24694
|
var o;
|
24695
24695
|
const r = e._$AA.parentNode, i = t === void 0 ? e._$AB : t._$AA;
|
24696
24696
|
if (n === void 0) {
|
@@ -30944,7 +30944,7 @@ function W3(e) {
|
|
30944
30944
|
const Gz = "@genome-spy/app", Vz = "GenomeSpy-based visualization tool for multiple patient samples", _z = {
|
30945
30945
|
name: "Kari Lavikka",
|
30946
30946
|
email: "kari.lavikka@helsinki.fi"
|
30947
|
-
}, jz = [], Wz = "MIT", Yz = "0.53.
|
30947
|
+
}, jz = [], Wz = "MIT", Yz = "0.53.1", Qz = "dist/index.js", qz = "module", Xz = [
|
30948
30948
|
"dist/"
|
30949
30949
|
], Kz = {
|
30950
30950
|
type: "git",
|
@@ -30960,7 +30960,7 @@ const Gz = "@genome-spy/app", Vz = "GenomeSpy-based visualization tool for multi
|
|
30960
30960
|
"@fortawesome/fontawesome-free": "^6.4.2",
|
30961
30961
|
"@fortawesome/fontawesome-svg-core": "^6.4.2",
|
30962
30962
|
"@fortawesome/free-solid-svg-icons": "^6.4.2",
|
30963
|
-
"@genome-spy/core": "^0.53.
|
30963
|
+
"@genome-spy/core": "^0.53.1",
|
30964
30964
|
"@reduxjs/toolkit": "^1.8.4",
|
30965
30965
|
idb: "^7.1.1",
|
30966
30966
|
lit: "^3.1.2",
|
@@ -30969,7 +30969,7 @@ const Gz = "@genome-spy/app", Vz = "GenomeSpy-based visualization tool for multi
|
|
30969
30969
|
micromark: "^4.0.0",
|
30970
30970
|
"redux-batched-actions": "^0.5.0",
|
30971
30971
|
"redux-undo": "^1.0.1"
|
30972
|
-
}, K2 = {
|
30972
|
+
}, $z = "ad3f36346e1714b5bb9db0d6ff4a068ecfb945a3", K2 = {
|
30973
30973
|
name: Gz,
|
30974
30974
|
description: Vz,
|
30975
30975
|
author: _z,
|
@@ -30981,14 +30981,15 @@ const Gz = "@genome-spy/app", Vz = "GenomeSpy-based visualization tool for multi
|
|
30981
30981
|
files: Xz,
|
30982
30982
|
repository: Kz,
|
30983
30983
|
scripts: Zz,
|
30984
|
-
dependencies: Jz
|
30984
|
+
dependencies: Jz,
|
30985
|
+
gitHead: $z
|
30985
30986
|
};
|
30986
30987
|
/**
|
30987
30988
|
* @license
|
30988
30989
|
* Copyright 2020 Google LLC
|
30989
30990
|
* SPDX-License-Identifier: BSD-3-Clause
|
30990
30991
|
*/
|
30991
|
-
const
|
30992
|
+
const eN = Ni(class extends Ko {
|
30992
30993
|
constructor(e) {
|
30993
30994
|
if (super(e), e.type !== en.PROPERTY && e.type !== en.ATTRIBUTE && e.type !== en.BOOLEAN_ATTRIBUTE)
|
30994
30995
|
throw Error("The `live` directive is not allowed on child or event bindings");
|
@@ -31019,7 +31020,7 @@ function Y3(e, t) {
|
|
31019
31020
|
bubbles: !0
|
31020
31021
|
});
|
31021
31022
|
}
|
31022
|
-
function
|
31023
|
+
function tN(e) {
|
31023
31024
|
if (!(e != null && e.length))
|
31024
31025
|
throw new Error("Can't nest an empty array!");
|
31025
31026
|
const t = Z2(null);
|
@@ -31056,7 +31057,7 @@ const Z2 = (e) => ({ item: e, children: [] }), Vh = {
|
|
31056
31057
|
}
|
31057
31058
|
});
|
31058
31059
|
var _u, Q3, ju, q3, Wu, X3, Yu, K3, Fo, Tl;
|
31059
|
-
class
|
31060
|
+
class nN extends on {
|
31060
31061
|
/**
|
31061
31062
|
* @typedef {import("@genome-spy/core/view/view.js").default} View
|
31062
31063
|
*/
|
@@ -31144,10 +31145,10 @@ _u = new WeakSet(), Q3 = function(n, r) {
|
|
31144
31145
|
r.push(c);
|
31145
31146
|
}
|
31146
31147
|
});
|
31147
|
-
const i = (s) => J2(s) ||
|
31148
|
+
const i = (s) => J2(s) || rN(s), o = r.filter(i).map(
|
31148
31149
|
(s) => [...s.getDataAncestors()].filter(i).reverse()
|
31149
31150
|
);
|
31150
|
-
this.nestedPaths =
|
31151
|
+
this.nestedPaths = tN(o);
|
31151
31152
|
}, Yu = new WeakSet(), K3 = function() {
|
31152
31153
|
const n = this.getVisibilities(), r = this.app.genomeSpy.viewRoot, i = EA(r), o = [], s = (a, c = -1) => {
|
31153
31154
|
const l = a.item, f = n[l.name] ?? l.isVisibleInSpec();
|
@@ -31171,7 +31172,7 @@ _u = new WeakSet(), Q3 = function(n, r) {
|
|
31171
31172
|
style=${`margin-left: ${c * 1.5}em;`}
|
31172
31173
|
type="checkbox"
|
31173
31174
|
?disabled=${!i.has(l.name) || !J2(l)}
|
31174
|
-
.checked=${
|
31175
|
+
.checked=${eN(f)}
|
31175
31176
|
@change=${(d) => B(this, _u, Q3).call(this, d, l)}
|
31176
31177
|
/>${l.getTitleText() ?? l.name}
|
31177
31178
|
</label>`;
|
@@ -31205,10 +31206,10 @@ _u = new WeakSet(), Q3 = function(n, r) {
|
|
31205
31206
|
"bottom-start"
|
31206
31207
|
);
|
31207
31208
|
};
|
31208
|
-
const J2 = (e) => e.spec.configurableVisibility ?? !(e.layoutParent && e.layoutParent instanceof Vi),
|
31209
|
+
const J2 = (e) => e.spec.configurableVisibility ?? !(e.layoutParent && e.layoutParent instanceof Vi), rN = (e) => [...e.paramMediator.paramConfigs.values()].some(
|
31209
31210
|
(t) => K0(t) && t.bind
|
31210
31211
|
);
|
31211
|
-
customElements.define("genome-spy-view-visibility",
|
31212
|
+
customElements.define("genome-spy-view-visibility", nN);
|
31212
31213
|
const _h = /* @__PURE__ */ new Set();
|
31213
31214
|
function Z3(e) {
|
31214
31215
|
const n = (
|
@@ -31226,7 +31227,7 @@ function Z3(e) {
|
|
31226
31227
|
{ once: !0 }
|
31227
31228
|
)) : window.dispatchEvent(new MouseEvent("click")), r;
|
31228
31229
|
}
|
31229
|
-
class
|
31230
|
+
class iN extends on {
|
31230
31231
|
constructor() {
|
31231
31232
|
super(), this.provenance = void 0;
|
31232
31233
|
}
|
@@ -31298,13 +31299,13 @@ class rN extends on {
|
|
31298
31299
|
`;
|
31299
31300
|
}
|
31300
31301
|
}
|
31301
|
-
customElements.define("genome-spy-provenance-buttons",
|
31302
|
+
customElements.define("genome-spy-provenance-buttons", iN);
|
31302
31303
|
/**
|
31303
31304
|
* @license
|
31304
31305
|
* Copyright 2021 Google LLC
|
31305
31306
|
* SPDX-License-Identifier: BSD-3-Clause
|
31306
31307
|
*/
|
31307
|
-
class
|
31308
|
+
class oN {
|
31308
31309
|
constructor(t) {
|
31309
31310
|
this.Y = t;
|
31310
31311
|
}
|
@@ -31318,7 +31319,7 @@ class iN {
|
|
31318
31319
|
return this.Y;
|
31319
31320
|
}
|
31320
31321
|
}
|
31321
|
-
class
|
31322
|
+
class sN {
|
31322
31323
|
constructor() {
|
31323
31324
|
this.Z = void 0, this.q = void 0;
|
31324
31325
|
}
|
@@ -31339,9 +31340,9 @@ class oN {
|
|
31339
31340
|
* SPDX-License-Identifier: BSD-3-Clause
|
31340
31341
|
*/
|
31341
31342
|
const $2 = (e) => !zR(e) && typeof e.then == "function", ey = 1073741823;
|
31342
|
-
class
|
31343
|
+
class aN extends j3 {
|
31343
31344
|
constructor() {
|
31344
|
-
super(...arguments), this._$Cwt = ey, this._$Cbt = [], this._$CK = new
|
31345
|
+
super(...arguments), this._$Cwt = ey, this._$Cbt = [], this._$CK = new oN(this), this._$CX = new sN();
|
31345
31346
|
}
|
31346
31347
|
render(...t) {
|
31347
31348
|
return t.find((n) => !$2(n)) ?? _e;
|
@@ -31375,7 +31376,7 @@ class sN extends j3 {
|
|
31375
31376
|
this._$CK.reconnect(this), this._$CX.resume();
|
31376
31377
|
}
|
31377
31378
|
}
|
31378
|
-
const
|
31379
|
+
const cN = Ni(aN), ty = document.createElement("i");
|
31379
31380
|
function J3(e) {
|
31380
31381
|
const t = "&" + e + ";";
|
31381
31382
|
ty.innerHTML = t;
|
@@ -31395,14 +31396,14 @@ function Ze(e, t) {
|
|
31395
31396
|
return e.length > 0 ? (Qn(e, e.length, 0, t), e) : t;
|
31396
31397
|
}
|
31397
31398
|
const Up = {}.hasOwnProperty;
|
31398
|
-
function
|
31399
|
+
function lN(e) {
|
31399
31400
|
const t = {};
|
31400
31401
|
let n = -1;
|
31401
31402
|
for (; ++n < e.length; )
|
31402
|
-
|
31403
|
+
uN(t, e[n]);
|
31403
31404
|
return t;
|
31404
31405
|
}
|
31405
|
-
function
|
31406
|
+
function uN(e, t) {
|
31406
31407
|
let n;
|
31407
31408
|
for (n in t) {
|
31408
31409
|
const i = (Up.call(e, n) ? e[n] : void 0) || (e[n] = {}), o = t[n];
|
@@ -31411,7 +31412,7 @@ function lN(e, t) {
|
|
31411
31412
|
for (s in o) {
|
31412
31413
|
Up.call(i, s) || (i[s] = []);
|
31413
31414
|
const a = o[s];
|
31414
|
-
|
31415
|
+
fN(
|
31415
31416
|
// @ts-expect-error Looks like a list.
|
31416
31417
|
i[s],
|
31417
31418
|
Array.isArray(a) ? a : a ? [a] : []
|
@@ -31419,21 +31420,21 @@ function lN(e, t) {
|
|
31419
31420
|
}
|
31420
31421
|
}
|
31421
31422
|
}
|
31422
|
-
function
|
31423
|
+
function fN(e, t) {
|
31423
31424
|
let n = -1;
|
31424
31425
|
const r = [];
|
31425
31426
|
for (; ++n < t.length; )
|
31426
31427
|
(t[n].add === "after" ? e : r).push(t[n]);
|
31427
31428
|
Qn(e, 0, 0, r);
|
31428
31429
|
}
|
31429
|
-
function
|
31430
|
+
function hN(e) {
|
31430
31431
|
const t = {};
|
31431
31432
|
let n = -1;
|
31432
31433
|
for (; ++n < e.length; )
|
31433
|
-
|
31434
|
+
dN(t, e[n]);
|
31434
31435
|
return t;
|
31435
31436
|
}
|
31436
|
-
function
|
31437
|
+
function dN(e, t) {
|
31437
31438
|
let n;
|
31438
31439
|
for (n in t) {
|
31439
31440
|
const i = (Up.call(e, n) ? e[n] : void 0) || (e[n] = {}), o = t[n];
|
@@ -31443,7 +31444,7 @@ function hN(e, t) {
|
|
31443
31444
|
i[s] = o[s];
|
31444
31445
|
}
|
31445
31446
|
}
|
31446
|
-
function
|
31447
|
+
function pN(e, t) {
|
31447
31448
|
const n = Number.parseInt(e, t);
|
31448
31449
|
return (
|
31449
31450
|
// C0 except for HT, LF, FF, CR, space.
|
@@ -31456,17 +31457,17 @@ function dN(e, t) {
|
|
31456
31457
|
n > 1114111 ? "�" : String.fromCodePoint(n)
|
31457
31458
|
);
|
31458
31459
|
}
|
31459
|
-
const
|
31460
|
+
const mN = { '"': "quot", "&": "amp", "<": "lt", ">": "gt" };
|
31460
31461
|
function $3(e) {
|
31461
31462
|
return e.replace(/["&<>]/g, t);
|
31462
31463
|
function t(n) {
|
31463
|
-
return "&" +
|
31464
|
+
return "&" + mN[n] + ";";
|
31464
31465
|
}
|
31465
31466
|
}
|
31466
31467
|
function Aa(e) {
|
31467
31468
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
31468
31469
|
}
|
31469
|
-
const tn = Lr(/[A-Za-z]/), vt = Lr(/[\dA-Za-z]/),
|
31470
|
+
const tn = Lr(/[A-Za-z]/), vt = Lr(/[\dA-Za-z]/), gN = Lr(/[#-'*+\--9=?A-Z^-~]/);
|
31470
31471
|
function Hp(e) {
|
31471
31472
|
return (
|
31472
31473
|
// Special whitespace codes (which have negative values), C0 and Control
|
@@ -31474,7 +31475,7 @@ function Hp(e) {
|
|
31474
31475
|
e !== null && (e < 32 || e === 127)
|
31475
31476
|
);
|
31476
31477
|
}
|
31477
|
-
const Gp = Lr(/\d/),
|
31478
|
+
const Gp = Lr(/\d/), yN = Lr(/[\dA-Fa-f]/), bN = Lr(/[!-/:-@[-`{-~]/);
|
31478
31479
|
function Y(e) {
|
31479
31480
|
return e !== null && e < -2;
|
31480
31481
|
}
|
@@ -31484,7 +31485,7 @@ function gt(e) {
|
|
31484
31485
|
function ne(e) {
|
31485
31486
|
return e === -2 || e === -1 || e === 32;
|
31486
31487
|
}
|
31487
|
-
const
|
31488
|
+
const xN = Lr(new RegExp("\\p{P}|\\p{S}", "u")), vN = Lr(/\s/);
|
31488
31489
|
function Lr(e) {
|
31489
31490
|
return t;
|
31490
31491
|
function t(n) {
|
@@ -31492,7 +31493,7 @@ function Lr(e) {
|
|
31492
31493
|
}
|
31493
31494
|
}
|
31494
31495
|
function dl(e, t) {
|
31495
|
-
const n = $3(
|
31496
|
+
const n = $3(AN(e || ""));
|
31496
31497
|
if (!t)
|
31497
31498
|
return n;
|
31498
31499
|
const r = n.indexOf(":"), i = n.indexOf("?"), o = n.indexOf("#"), s = n.indexOf("/");
|
@@ -31503,7 +31504,7 @@ function dl(e, t) {
|
|
31503
31504
|
t.test(n.slice(0, r)) ? n : ""
|
31504
31505
|
);
|
31505
31506
|
}
|
31506
|
-
function
|
31507
|
+
function AN(e) {
|
31507
31508
|
const t = [];
|
31508
31509
|
let n = -1, r = 0, i = 0;
|
31509
31510
|
for (; ++n < e.length; ) {
|
@@ -31522,13 +31523,13 @@ function vN(e) {
|
|
31522
31523
|
}
|
31523
31524
|
return t.join("") + e.slice(r);
|
31524
31525
|
}
|
31525
|
-
const ny = {}.hasOwnProperty, ry = /^(https?|ircs?|mailto|xmpp)$/i,
|
31526
|
-
function
|
31526
|
+
const ny = {}.hasOwnProperty, ry = /^(https?|ircs?|mailto|xmpp)$/i, wN = /^https?$/i;
|
31527
|
+
function SN(e) {
|
31527
31528
|
const t = e || {};
|
31528
31529
|
let n = !0;
|
31529
31530
|
const r = {}, i = [[]], o = [], s = [], c = (
|
31530
31531
|
/** @type {NormalizedHtmlExtension} */
|
31531
|
-
|
31532
|
+
hN(
|
31532
31533
|
[{
|
31533
31534
|
enter: {
|
31534
31535
|
blockQuote: j,
|
@@ -31800,7 +31801,7 @@ function wN(e) {
|
|
31800
31801
|
_.image ? (b(
|
31801
31802
|
'<img src="' + dl(
|
31802
31803
|
zt.destination,
|
31803
|
-
t.allowDangerousProtocol ? void 0 :
|
31804
|
+
t.allowDangerousProtocol ? void 0 : wN
|
31804
31805
|
) + '" alt="'
|
31805
31806
|
), v(_.label), b('"')) : b(
|
31806
31807
|
'<a href="' + dl(
|
@@ -31910,7 +31911,7 @@ function wN(e) {
|
|
31910
31911
|
}
|
31911
31912
|
function R4(O) {
|
31912
31913
|
let _ = this.sliceSerialize(O);
|
31913
|
-
_ = m("characterReferenceType") ?
|
31914
|
+
_ = m("characterReferenceType") ? pN(
|
31914
31915
|
_,
|
31915
31916
|
m("characterReferenceType") === "characterReferenceMarkerNumeric" ? 10 : 16
|
31916
31917
|
) : J3(_), v(x(_)), p("characterReferenceType");
|
@@ -31940,10 +31941,10 @@ function de(e, t, n, r) {
|
|
31940
31941
|
return ne(c) && o++ < i ? (e.consume(c), a) : (e.exit(n), t(c));
|
31941
31942
|
}
|
31942
31943
|
}
|
31943
|
-
const
|
31944
|
-
tokenize:
|
31944
|
+
const CN = {
|
31945
|
+
tokenize: EN
|
31945
31946
|
};
|
31946
|
-
function
|
31947
|
+
function EN(e) {
|
31947
31948
|
const t = e.attempt(
|
31948
31949
|
this.parser.constructs.contentInitial,
|
31949
31950
|
r,
|
@@ -31976,12 +31977,12 @@ function CN(e) {
|
|
31976
31977
|
return Y(a) ? (e.consume(a), e.exit("chunkText"), o) : (e.consume(a), s);
|
31977
31978
|
}
|
31978
31979
|
}
|
31979
|
-
const
|
31980
|
-
tokenize: kN
|
31981
|
-
}, iy = {
|
31980
|
+
const kN = {
|
31982
31981
|
tokenize: TN
|
31982
|
+
}, iy = {
|
31983
|
+
tokenize: DN
|
31983
31984
|
};
|
31984
|
-
function
|
31985
|
+
function TN(e) {
|
31985
31986
|
const t = this, n = [];
|
31986
31987
|
let r = 0, i, o, s;
|
31987
31988
|
return a;
|
@@ -32111,7 +32112,7 @@ function kN(e) {
|
|
32111
32112
|
i.write([null]), o = void 0, i = void 0, t.containerState._closeFlow = void 0;
|
32112
32113
|
}
|
32113
32114
|
}
|
32114
|
-
function
|
32115
|
+
function DN(e, t, n) {
|
32115
32116
|
return de(
|
32116
32117
|
e,
|
32117
32118
|
e.attempt(this.parser.constructs.document, t, n),
|
@@ -32120,9 +32121,9 @@ function TN(e, t, n) {
|
|
32120
32121
|
);
|
32121
32122
|
}
|
32122
32123
|
function oy(e) {
|
32123
|
-
if (e === null || gt(e) ||
|
32124
|
+
if (e === null || gt(e) || vN(e))
|
32124
32125
|
return 1;
|
32125
|
-
if (
|
32126
|
+
if (xN(e))
|
32126
32127
|
return 2;
|
32127
32128
|
}
|
32128
32129
|
function _m(e, t, n) {
|
@@ -32136,10 +32137,10 @@ function _m(e, t, n) {
|
|
32136
32137
|
}
|
32137
32138
|
const Vp = {
|
32138
32139
|
name: "attention",
|
32139
|
-
tokenize:
|
32140
|
-
resolveAll:
|
32140
|
+
tokenize: MN,
|
32141
|
+
resolveAll: IN
|
32141
32142
|
};
|
32142
|
-
function
|
32143
|
+
function IN(e, t) {
|
32143
32144
|
let n = -1, r, i, o, s, a, c, l, f;
|
32144
32145
|
for (; ++n < e.length; )
|
32145
32146
|
if (e[n][0] === "enter" && e[n][1].type === "attentionSequence" && e[n][1]._close) {
|
@@ -32174,7 +32175,7 @@ function DN(e, t) {
|
|
32174
32175
|
e[n][1].type === "attentionSequence" && (e[n][1].type = "data");
|
32175
32176
|
return e;
|
32176
32177
|
}
|
32177
|
-
function
|
32178
|
+
function MN(e, t) {
|
32178
32179
|
const n = this.parser.constructs.attentionMarkers.null, r = this.previous, i = oy(r);
|
32179
32180
|
let o;
|
32180
32181
|
return s;
|
@@ -32191,11 +32192,11 @@ function IN(e, t) {
|
|
32191
32192
|
function sy(e, t) {
|
32192
32193
|
e.column += t, e.offset += t, e._bufferIndex += t;
|
32193
32194
|
}
|
32194
|
-
const
|
32195
|
+
const BN = {
|
32195
32196
|
name: "autolink",
|
32196
|
-
tokenize:
|
32197
|
+
tokenize: FN
|
32197
32198
|
};
|
32198
|
-
function
|
32199
|
+
function FN(e, t, n) {
|
32199
32200
|
let r = 0;
|
32200
32201
|
return i;
|
32201
32202
|
function i(d) {
|
@@ -32214,7 +32215,7 @@ function BN(e, t, n) {
|
|
32214
32215
|
return d === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(d), e.exit("autolinkMarker"), e.exit("autolink"), t) : d === null || d === 32 || d === 60 || Hp(d) ? n(d) : (e.consume(d), c);
|
32215
32216
|
}
|
32216
32217
|
function l(d) {
|
32217
|
-
return d === 64 ? (e.consume(d), f) :
|
32218
|
+
return d === 64 ? (e.consume(d), f) : gN(d) ? (e.consume(d), l) : n(d);
|
32218
32219
|
}
|
32219
32220
|
function f(d) {
|
32220
32221
|
return vt(d) ? u(d) : n(d);
|
@@ -32231,10 +32232,10 @@ function BN(e, t, n) {
|
|
32231
32232
|
}
|
32232
32233
|
}
|
32233
32234
|
const Kf = {
|
32234
|
-
tokenize:
|
32235
|
+
tokenize: PN,
|
32235
32236
|
partial: !0
|
32236
32237
|
};
|
32237
|
-
function
|
32238
|
+
function PN(e, t, n) {
|
32238
32239
|
return r;
|
32239
32240
|
function r(o) {
|
32240
32241
|
return ne(o) ? de(e, i, "linePrefix")(o) : i(o);
|
@@ -32245,13 +32246,13 @@ function FN(e, t, n) {
|
|
32245
32246
|
}
|
32246
32247
|
const e4 = {
|
32247
32248
|
name: "blockQuote",
|
32248
|
-
tokenize:
|
32249
|
+
tokenize: RN,
|
32249
32250
|
continuation: {
|
32250
|
-
tokenize:
|
32251
|
+
tokenize: ON
|
32251
32252
|
},
|
32252
|
-
exit:
|
32253
|
+
exit: LN
|
32253
32254
|
};
|
32254
|
-
function
|
32255
|
+
function RN(e, t, n) {
|
32255
32256
|
const r = this;
|
32256
32257
|
return i;
|
32257
32258
|
function i(s) {
|
@@ -32267,7 +32268,7 @@ function PN(e, t, n) {
|
|
32267
32268
|
return ne(s) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(s), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(s));
|
32268
32269
|
}
|
32269
32270
|
}
|
32270
|
-
function
|
32271
|
+
function ON(e, t, n) {
|
32271
32272
|
const r = this;
|
32272
32273
|
return i;
|
32273
32274
|
function i(s) {
|
@@ -32277,27 +32278,27 @@ function RN(e, t, n) {
|
|
32277
32278
|
return e.attempt(e4, t, n)(s);
|
32278
32279
|
}
|
32279
32280
|
}
|
32280
|
-
function
|
32281
|
+
function LN(e) {
|
32281
32282
|
e.exit("blockQuote");
|
32282
32283
|
}
|
32283
32284
|
const t4 = {
|
32284
32285
|
name: "characterEscape",
|
32285
|
-
tokenize:
|
32286
|
+
tokenize: zN
|
32286
32287
|
};
|
32287
|
-
function
|
32288
|
+
function zN(e, t, n) {
|
32288
32289
|
return r;
|
32289
32290
|
function r(o) {
|
32290
32291
|
return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(o), e.exit("escapeMarker"), i;
|
32291
32292
|
}
|
32292
32293
|
function i(o) {
|
32293
|
-
return
|
32294
|
+
return bN(o) ? (e.enter("characterEscapeValue"), e.consume(o), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(o);
|
32294
32295
|
}
|
32295
32296
|
}
|
32296
32297
|
const n4 = {
|
32297
32298
|
name: "characterReference",
|
32298
|
-
tokenize:
|
32299
|
+
tokenize: NN
|
32299
32300
|
};
|
32300
|
-
function
|
32301
|
+
function NN(e, t, n) {
|
32301
32302
|
const r = this;
|
32302
32303
|
let i = 0, o, s;
|
32303
32304
|
return a;
|
@@ -32308,7 +32309,7 @@ function zN(e, t, n) {
|
|
32308
32309
|
return u === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(u), e.exit("characterReferenceMarkerNumeric"), l) : (e.enter("characterReferenceValue"), o = 31, s = vt, f(u));
|
32309
32310
|
}
|
32310
32311
|
function l(u) {
|
32311
|
-
return u === 88 || u === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(u), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, s =
|
32312
|
+
return u === 88 || u === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(u), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, s = yN, f) : (e.enter("characterReferenceValue"), o = 7, s = Gp, f(u));
|
32312
32313
|
}
|
32313
32314
|
function f(u) {
|
32314
32315
|
if (u === 59 && i) {
|
@@ -32319,14 +32320,14 @@ function zN(e, t, n) {
|
|
32319
32320
|
}
|
32320
32321
|
}
|
32321
32322
|
const ay = {
|
32322
|
-
tokenize:
|
32323
|
+
tokenize: HN,
|
32323
32324
|
partial: !0
|
32324
32325
|
}, cy = {
|
32325
32326
|
name: "codeFenced",
|
32326
|
-
tokenize:
|
32327
|
+
tokenize: UN,
|
32327
32328
|
concrete: !0
|
32328
32329
|
};
|
32329
|
-
function
|
32330
|
+
function UN(e, t, n) {
|
32330
32331
|
const r = this, i = {
|
32331
32332
|
tokenize: w,
|
32332
32333
|
partial: !0
|
@@ -32397,7 +32398,7 @@ function NN(e, t, n) {
|
|
32397
32398
|
}
|
32398
32399
|
}
|
32399
32400
|
}
|
32400
|
-
function
|
32401
|
+
function HN(e, t, n) {
|
32401
32402
|
const r = this;
|
32402
32403
|
return i;
|
32403
32404
|
function i(s) {
|
@@ -32409,12 +32410,12 @@ function UN(e, t, n) {
|
|
32409
32410
|
}
|
32410
32411
|
const jh = {
|
32411
32412
|
name: "codeIndented",
|
32412
|
-
tokenize:
|
32413
|
-
},
|
32414
|
-
tokenize:
|
32413
|
+
tokenize: VN
|
32414
|
+
}, GN = {
|
32415
|
+
tokenize: _N,
|
32415
32416
|
partial: !0
|
32416
32417
|
};
|
32417
|
-
function
|
32418
|
+
function VN(e, t, n) {
|
32418
32419
|
const r = this;
|
32419
32420
|
return i;
|
32420
32421
|
function i(l) {
|
@@ -32425,7 +32426,7 @@ function GN(e, t, n) {
|
|
32425
32426
|
return f && f[1].type === "linePrefix" && f[2].sliceSerialize(f[1], !0).length >= 4 ? s(l) : n(l);
|
32426
32427
|
}
|
32427
32428
|
function s(l) {
|
32428
|
-
return l === null ? c(l) : Y(l) ? e.attempt(
|
32429
|
+
return l === null ? c(l) : Y(l) ? e.attempt(GN, s, c)(l) : (e.enter("codeFlowValue"), a(l));
|
32429
32430
|
}
|
32430
32431
|
function a(l) {
|
32431
32432
|
return l === null || Y(l) ? (e.exit("codeFlowValue"), s(l)) : (e.consume(l), a);
|
@@ -32434,7 +32435,7 @@ function GN(e, t, n) {
|
|
32434
32435
|
return e.exit("codeIndented"), t(l);
|
32435
32436
|
}
|
32436
32437
|
}
|
32437
|
-
function
|
32438
|
+
function _N(e, t, n) {
|
32438
32439
|
const r = this;
|
32439
32440
|
return i;
|
32440
32441
|
function i(s) {
|
@@ -32445,13 +32446,13 @@ function VN(e, t, n) {
|
|
32445
32446
|
return a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? t(s) : Y(s) ? i(s) : n(s);
|
32446
32447
|
}
|
32447
32448
|
}
|
32448
|
-
const
|
32449
|
+
const jN = {
|
32449
32450
|
name: "codeText",
|
32450
|
-
tokenize:
|
32451
|
-
resolve:
|
32452
|
-
previous:
|
32451
|
+
tokenize: QN,
|
32452
|
+
resolve: WN,
|
32453
|
+
previous: YN
|
32453
32454
|
};
|
32454
|
-
function
|
32455
|
+
function WN(e) {
|
32455
32456
|
let t = e.length - 4, n = 3, r, i;
|
32456
32457
|
if ((e[n][1].type === "lineEnding" || e[n][1].type === "space") && (e[t][1].type === "lineEnding" || e[t][1].type === "space")) {
|
32457
32458
|
for (r = n; ++r < t; )
|
@@ -32464,10 +32465,10 @@ function jN(e) {
|
|
32464
32465
|
i === void 0 ? r !== t && e[r][1].type !== "lineEnding" && (i = r) : (r === t || e[r][1].type === "lineEnding") && (e[i][1].type = "codeTextData", r !== i + 2 && (e[i][1].end = e[r - 1][1].end, e.splice(i + 2, r - i - 2), t -= r - i - 2, r = i + 2), i = void 0);
|
32465
32466
|
return e;
|
32466
32467
|
}
|
32467
|
-
function
|
32468
|
+
function YN(e) {
|
32468
32469
|
return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
|
32469
32470
|
}
|
32470
|
-
function
|
32471
|
+
function QN(e, t, n) {
|
32471
32472
|
let r = 0, i, o;
|
32472
32473
|
return s;
|
32473
32474
|
function s(u) {
|
@@ -32486,7 +32487,7 @@ function YN(e, t, n) {
|
|
32486
32487
|
return u === 96 ? (e.consume(u), i++, f) : i === r ? (e.exit("codeTextSequence"), e.exit("codeText"), t(u)) : (o.type = "codeTextData", l(u));
|
32487
32488
|
}
|
32488
32489
|
}
|
32489
|
-
class
|
32490
|
+
class qN {
|
32490
32491
|
/**
|
32491
32492
|
* @param {ReadonlyArray<T> | null | undefined} [initial]
|
32492
32493
|
* Initial items (optional).
|
@@ -32661,7 +32662,7 @@ function hs(e, t) {
|
|
32661
32662
|
function r4(e) {
|
32662
32663
|
const t = {};
|
32663
32664
|
let n = -1, r, i, o, s, a, c, l;
|
32664
|
-
const f = new
|
32665
|
+
const f = new qN(e);
|
32665
32666
|
for (; ++n < f.length; ) {
|
32666
32667
|
for (; n in t; )
|
32667
32668
|
n = t[n];
|
@@ -32669,7 +32670,7 @@ function r4(e) {
|
|
32669
32670
|
for (; ++o < c.length && c[o][1].type !== "content"; )
|
32670
32671
|
c[o][1].type === "chunkText" && (c[o][1]._isInFirstContentOfListItem = !0, o++);
|
32671
32672
|
if (r[0] === "enter")
|
32672
|
-
r[1].contentType && (Object.assign(t,
|
32673
|
+
r[1].contentType && (Object.assign(t, XN(f, n)), n = t[n], l = !0);
|
32673
32674
|
else if (r[1]._container) {
|
32674
32675
|
for (o = n, i = void 0; o-- && (s = f.get(o), s[1].type === "lineEnding" || s[1].type === "lineEndingBlank"); )
|
32675
32676
|
s[0] === "enter" && (i && (f.get(i)[1].type = "lineEndingBlank"), s[1].type = "lineEnding", i = o);
|
@@ -32678,7 +32679,7 @@ function r4(e) {
|
|
32678
32679
|
}
|
32679
32680
|
return Qn(e, 0, Number.POSITIVE_INFINITY, f.slice(0)), !l;
|
32680
32681
|
}
|
32681
|
-
function
|
32682
|
+
function XN(e, t) {
|
32682
32683
|
const n = e.get(t)[1], r = e.get(t)[2];
|
32683
32684
|
let i = t - 1;
|
32684
32685
|
const o = [], s = n._tokenizer || r.parser[n.contentType](n.start), a = s.events, c = [], l = {};
|
@@ -32700,17 +32701,17 @@ function qN(e, t) {
|
|
32700
32701
|
l[p + c[h][0]] = p + c[h][1], p += c[h][1] - c[h][0] - 1;
|
32701
32702
|
return l;
|
32702
32703
|
}
|
32703
|
-
const
|
32704
|
-
tokenize: JN,
|
32705
|
-
resolve: ZN
|
32706
|
-
}, KN = {
|
32704
|
+
const KN = {
|
32707
32705
|
tokenize: $N,
|
32706
|
+
resolve: JN
|
32707
|
+
}, ZN = {
|
32708
|
+
tokenize: eU,
|
32708
32709
|
partial: !0
|
32709
32710
|
};
|
32710
|
-
function
|
32711
|
+
function JN(e) {
|
32711
32712
|
return r4(e), e;
|
32712
32713
|
}
|
32713
|
-
function
|
32714
|
+
function $N(e, t) {
|
32714
32715
|
let n;
|
32715
32716
|
return r;
|
32716
32717
|
function r(a) {
|
@@ -32719,7 +32720,7 @@ function JN(e, t) {
|
|
32719
32720
|
}), i(a);
|
32720
32721
|
}
|
32721
32722
|
function i(a) {
|
32722
|
-
return a === null ? o(a) : Y(a) ? e.check(
|
32723
|
+
return a === null ? o(a) : Y(a) ? e.check(ZN, s, o)(a) : (e.consume(a), i);
|
32723
32724
|
}
|
32724
32725
|
function o(a) {
|
32725
32726
|
return e.exit("chunkContent"), e.exit("content"), t(a);
|
@@ -32731,7 +32732,7 @@ function JN(e, t) {
|
|
32731
32732
|
}), n = n.next, i;
|
32732
32733
|
}
|
32733
32734
|
}
|
32734
|
-
function
|
32735
|
+
function eU(e, t, n) {
|
32735
32736
|
const r = this;
|
32736
32737
|
return i;
|
32737
32738
|
function i(s) {
|
@@ -32827,14 +32828,14 @@ function Fs(e, t) {
|
|
32827
32828
|
)(i) : t(i);
|
32828
32829
|
}
|
32829
32830
|
}
|
32830
|
-
const
|
32831
|
+
const tU = {
|
32831
32832
|
name: "definition",
|
32832
|
-
tokenize:
|
32833
|
-
},
|
32834
|
-
tokenize:
|
32833
|
+
tokenize: rU
|
32834
|
+
}, nU = {
|
32835
|
+
tokenize: iU,
|
32835
32836
|
partial: !0
|
32836
32837
|
};
|
32837
|
-
function
|
32838
|
+
function rU(e, t, n) {
|
32838
32839
|
const r = this;
|
32839
32840
|
let i;
|
32840
32841
|
return o;
|
@@ -32873,7 +32874,7 @@ function nU(e, t, n) {
|
|
32873
32874
|
)(d);
|
32874
32875
|
}
|
32875
32876
|
function f(d) {
|
32876
|
-
return e.attempt(
|
32877
|
+
return e.attempt(nU, u, u)(d);
|
32877
32878
|
}
|
32878
32879
|
function u(d) {
|
32879
32880
|
return ne(d) ? de(e, h, "whitespace")(d) : h(d);
|
@@ -32882,7 +32883,7 @@ function nU(e, t, n) {
|
|
32882
32883
|
return d === null || Y(d) ? (e.exit("definition"), r.parser.defined.push(i), t(d)) : n(d);
|
32883
32884
|
}
|
32884
32885
|
}
|
32885
|
-
function
|
32886
|
+
function iU(e, t, n) {
|
32886
32887
|
return r;
|
32887
32888
|
function r(a) {
|
32888
32889
|
return gt(a) ? Fs(e, i)(a) : n(a);
|
@@ -32897,11 +32898,11 @@ function rU(e, t, n) {
|
|
32897
32898
|
return a === null || Y(a) ? t(a) : n(a);
|
32898
32899
|
}
|
32899
32900
|
}
|
32900
|
-
const
|
32901
|
+
const oU = {
|
32901
32902
|
name: "hardBreakEscape",
|
32902
|
-
tokenize:
|
32903
|
+
tokenize: sU
|
32903
32904
|
};
|
32904
|
-
function
|
32905
|
+
function sU(e, t, n) {
|
32905
32906
|
return r;
|
32906
32907
|
function r(o) {
|
32907
32908
|
return e.enter("hardBreakEscape"), e.consume(o), i;
|
@@ -32910,12 +32911,12 @@ function oU(e, t, n) {
|
|
32910
32911
|
return Y(o) ? (e.exit("hardBreakEscape"), t(o)) : n(o);
|
32911
32912
|
}
|
32912
32913
|
}
|
32913
|
-
const
|
32914
|
+
const aU = {
|
32914
32915
|
name: "headingAtx",
|
32915
|
-
tokenize:
|
32916
|
-
resolve:
|
32916
|
+
tokenize: lU,
|
32917
|
+
resolve: cU
|
32917
32918
|
};
|
32918
|
-
function
|
32919
|
+
function cU(e, t) {
|
32919
32920
|
let n = e.length - 2, r = 3, i, o;
|
32920
32921
|
return e[r][1].type === "whitespace" && (r += 2), n - 2 > r && e[n][1].type === "whitespace" && (n -= 2), e[n][1].type === "atxHeadingSequence" && (r === n - 1 || n - 4 > r && e[n - 2][1].type === "whitespace") && (n -= r + 1 === n ? 2 : 4), n > r && (i = {
|
32921
32922
|
type: "atxHeadingText",
|
@@ -32928,7 +32929,7 @@ function aU(e, t) {
|
|
32928
32929
|
contentType: "text"
|
32929
32930
|
}, Qn(e, r, n - r + 1, [["enter", i, t], ["enter", o, t], ["exit", o, t], ["exit", i, t]])), e;
|
32930
32931
|
}
|
32931
|
-
function
|
32932
|
+
function lU(e, t, n) {
|
32932
32933
|
let r = 0;
|
32933
32934
|
return i;
|
32934
32935
|
function i(f) {
|
@@ -32950,7 +32951,7 @@ function cU(e, t, n) {
|
|
32950
32951
|
return f === null || f === 35 || gt(f) ? (e.exit("atxHeadingText"), a(f)) : (e.consume(f), l);
|
32951
32952
|
}
|
32952
32953
|
}
|
32953
|
-
const
|
32954
|
+
const uU = [
|
32954
32955
|
"address",
|
32955
32956
|
"article",
|
32956
32957
|
"aside",
|
@@ -33013,25 +33014,25 @@ const lU = [
|
|
33013
33014
|
"tr",
|
33014
33015
|
"track",
|
33015
33016
|
"ul"
|
33016
|
-
], ly = ["pre", "script", "style", "textarea"],
|
33017
|
+
], ly = ["pre", "script", "style", "textarea"], fU = {
|
33017
33018
|
name: "htmlFlow",
|
33018
|
-
tokenize:
|
33019
|
-
resolveTo:
|
33019
|
+
tokenize: mU,
|
33020
|
+
resolveTo: pU,
|
33020
33021
|
concrete: !0
|
33021
|
-
}, fU = {
|
33022
|
-
tokenize: gU,
|
33023
|
-
partial: !0
|
33024
33022
|
}, hU = {
|
33025
|
-
tokenize:
|
33023
|
+
tokenize: yU,
|
33024
|
+
partial: !0
|
33025
|
+
}, dU = {
|
33026
|
+
tokenize: gU,
|
33026
33027
|
partial: !0
|
33027
33028
|
};
|
33028
|
-
function
|
33029
|
+
function pU(e) {
|
33029
33030
|
let t = e.length;
|
33030
33031
|
for (; t-- && !(e[t][0] === "enter" && e[t][1].type === "htmlFlow"); )
|
33031
33032
|
;
|
33032
33033
|
return t > 1 && e[t - 2][1].type === "linePrefix" && (e[t][1].start = e[t - 2][1].start, e[t + 1][1].start = e[t - 2][1].start, e.splice(t - 2, 2)), e;
|
33033
33034
|
}
|
33034
|
-
function
|
33035
|
+
function mU(e, t, n) {
|
33035
33036
|
const r = this;
|
33036
33037
|
let i, o, s, a, c;
|
33037
33038
|
return l;
|
@@ -33060,7 +33061,7 @@ function pU(e, t, n) {
|
|
33060
33061
|
function y(k) {
|
33061
33062
|
if (k === null || k === 47 || k === 62 || gt(k)) {
|
33062
33063
|
const Ye = k === 47, ye = s.toLowerCase();
|
33063
|
-
return !Ye && !o && ly.includes(ye) ? (i = 1, r.interrupt ? t(k) : L(k)) :
|
33064
|
+
return !Ye && !o && ly.includes(ye) ? (i = 1, r.interrupt ? t(k) : L(k)) : uU.includes(s.toLowerCase()) ? (i = 6, Ye ? (e.consume(k), g) : r.interrupt ? t(k) : L(k)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(k) : o ? b(k) : v(k));
|
33064
33065
|
}
|
33065
33066
|
return k === 45 || vt(k) ? (e.consume(k), s += String.fromCharCode(k), y) : n(k);
|
33066
33067
|
}
|
@@ -33098,10 +33099,10 @@ function pU(e, t, n) {
|
|
33098
33099
|
return k === null || Y(k) ? L(k) : ne(k) ? (e.consume(k), F) : n(k);
|
33099
33100
|
}
|
33100
33101
|
function L(k) {
|
33101
|
-
return k === 45 && i === 2 ? (e.consume(k), J) : k === 60 && i === 1 ? (e.consume(k), $) : k === 62 && i === 4 ? (e.consume(k), We) : k === 63 && i === 3 ? (e.consume(k), E) : k === 93 && i === 5 ? (e.consume(k), fe) : Y(k) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(
|
33102
|
+
return k === 45 && i === 2 ? (e.consume(k), J) : k === 60 && i === 1 ? (e.consume(k), $) : k === 62 && i === 4 ? (e.consume(k), We) : k === 63 && i === 3 ? (e.consume(k), E) : k === 93 && i === 5 ? (e.consume(k), fe) : Y(k) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(hU, Ue, W)(k)) : k === null || Y(k) ? (e.exit("htmlFlowData"), W(k)) : (e.consume(k), L);
|
33102
33103
|
}
|
33103
33104
|
function W(k) {
|
33104
|
-
return e.check(
|
33105
|
+
return e.check(dU, X, Ue)(k);
|
33105
33106
|
}
|
33106
33107
|
function X(k) {
|
33107
33108
|
return e.enter("lineEnding"), e.consume(k), e.exit("lineEnding"), j;
|
@@ -33135,7 +33136,7 @@ function pU(e, t, n) {
|
|
33135
33136
|
return e.exit("htmlFlow"), t(k);
|
33136
33137
|
}
|
33137
33138
|
}
|
33138
|
-
function
|
33139
|
+
function gU(e, t, n) {
|
33139
33140
|
const r = this;
|
33140
33141
|
return i;
|
33141
33142
|
function i(s) {
|
@@ -33145,17 +33146,17 @@ function mU(e, t, n) {
|
|
33145
33146
|
return r.parser.lazy[r.now().line] ? n(s) : t(s);
|
33146
33147
|
}
|
33147
33148
|
}
|
33148
|
-
function
|
33149
|
+
function yU(e, t, n) {
|
33149
33150
|
return r;
|
33150
33151
|
function r(i) {
|
33151
33152
|
return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), e.attempt(Kf, t, n);
|
33152
33153
|
}
|
33153
33154
|
}
|
33154
|
-
const
|
33155
|
+
const bU = {
|
33155
33156
|
name: "htmlText",
|
33156
|
-
tokenize:
|
33157
|
+
tokenize: xU
|
33157
33158
|
};
|
33158
|
-
function
|
33159
|
+
function xU(e, t, n) {
|
33159
33160
|
const r = this;
|
33160
33161
|
let i, o, s;
|
33161
33162
|
return a;
|
@@ -33250,17 +33251,17 @@ function bU(e, t, n) {
|
|
33250
33251
|
}
|
33251
33252
|
const jm = {
|
33252
33253
|
name: "labelEnd",
|
33253
|
-
tokenize:
|
33254
|
-
resolveTo:
|
33255
|
-
resolveAll:
|
33256
|
-
}, xU = {
|
33257
|
-
tokenize: EU
|
33254
|
+
tokenize: EU,
|
33255
|
+
resolveTo: CU,
|
33256
|
+
resolveAll: SU
|
33258
33257
|
}, vU = {
|
33259
33258
|
tokenize: kU
|
33260
33259
|
}, AU = {
|
33261
33260
|
tokenize: TU
|
33261
|
+
}, wU = {
|
33262
|
+
tokenize: DU
|
33262
33263
|
};
|
33263
|
-
function
|
33264
|
+
function SU(e) {
|
33264
33265
|
let t = -1;
|
33265
33266
|
for (; ++t < e.length; ) {
|
33266
33267
|
const n = e[t][1];
|
@@ -33268,7 +33269,7 @@ function wU(e) {
|
|
33268
33269
|
}
|
33269
33270
|
return e;
|
33270
33271
|
}
|
33271
|
-
function
|
33272
|
+
function CU(e, t) {
|
33272
33273
|
let n = e.length, r = 0, i, o, s, a;
|
33273
33274
|
for (; n--; )
|
33274
33275
|
if (i = e[n][1], o) {
|
@@ -33297,7 +33298,7 @@ function SU(e, t) {
|
|
33297
33298
|
};
|
33298
33299
|
return a = [["enter", c, t], ["enter", l, t]], a = Ze(a, e.slice(o + 1, o + r + 3)), a = Ze(a, [["enter", f, t]]), a = Ze(a, _m(t.parser.constructs.insideSpan.null, e.slice(o + r + 4, s - 3), t)), a = Ze(a, [["exit", f, t], e[s - 2], e[s - 1], ["exit", l, t]]), a = Ze(a, e.slice(s + 1)), a = Ze(a, [["exit", c, t]]), Qn(e, o, e.length, a), e;
|
33299
33300
|
}
|
33300
|
-
function
|
33301
|
+
function EU(e, t, n) {
|
33301
33302
|
const r = this;
|
33302
33303
|
let i = r.events.length, o, s;
|
33303
33304
|
for (; i--; )
|
@@ -33313,10 +33314,10 @@ function CU(e, t, n) {
|
|
33313
33314
|
}))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(h), e.exit("labelMarker"), e.exit("labelEnd"), c) : n(h);
|
33314
33315
|
}
|
33315
33316
|
function c(h) {
|
33316
|
-
return h === 40 ? e.attempt(
|
33317
|
+
return h === 40 ? e.attempt(vU, f, s ? f : u)(h) : h === 91 ? e.attempt(AU, f, s ? l : u)(h) : s ? f(h) : u(h);
|
33317
33318
|
}
|
33318
33319
|
function l(h) {
|
33319
|
-
return e.attempt(
|
33320
|
+
return e.attempt(wU, f, u)(h);
|
33320
33321
|
}
|
33321
33322
|
function f(h) {
|
33322
33323
|
return t(h);
|
@@ -33325,7 +33326,7 @@ function CU(e, t, n) {
|
|
33325
33326
|
return o._balanced = !0, n(h);
|
33326
33327
|
}
|
33327
33328
|
}
|
33328
|
-
function
|
33329
|
+
function kU(e, t, n) {
|
33329
33330
|
return r;
|
33330
33331
|
function r(u) {
|
33331
33332
|
return e.enter("resource"), e.enter("resourceMarker"), e.consume(u), e.exit("resourceMarker"), i;
|
@@ -33352,7 +33353,7 @@ function EU(e, t, n) {
|
|
33352
33353
|
return u === 41 ? (e.enter("resourceMarker"), e.consume(u), e.exit("resourceMarker"), e.exit("resource"), t) : n(u);
|
33353
33354
|
}
|
33354
33355
|
}
|
33355
|
-
function
|
33356
|
+
function TU(e, t, n) {
|
33356
33357
|
const r = this;
|
33357
33358
|
return i;
|
33358
33359
|
function i(a) {
|
@@ -33365,7 +33366,7 @@ function kU(e, t, n) {
|
|
33365
33366
|
return n(a);
|
33366
33367
|
}
|
33367
33368
|
}
|
33368
|
-
function
|
33369
|
+
function DU(e, t, n) {
|
33369
33370
|
return r;
|
33370
33371
|
function r(o) {
|
33371
33372
|
return e.enter("reference"), e.enter("referenceMarker"), e.consume(o), e.exit("referenceMarker"), i;
|
@@ -33374,12 +33375,12 @@ function TU(e, t, n) {
|
|
33374
33375
|
return o === 93 ? (e.enter("referenceMarker"), e.consume(o), e.exit("referenceMarker"), e.exit("reference"), t) : n(o);
|
33375
33376
|
}
|
33376
33377
|
}
|
33377
|
-
const
|
33378
|
+
const IU = {
|
33378
33379
|
name: "labelStartImage",
|
33379
|
-
tokenize:
|
33380
|
+
tokenize: MU,
|
33380
33381
|
resolveAll: jm.resolveAll
|
33381
33382
|
};
|
33382
|
-
function
|
33383
|
+
function MU(e, t, n) {
|
33383
33384
|
const r = this;
|
33384
33385
|
return i;
|
33385
33386
|
function i(a) {
|
@@ -33392,12 +33393,12 @@ function IU(e, t, n) {
|
|
33392
33393
|
return a === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? n(a) : t(a);
|
33393
33394
|
}
|
33394
33395
|
}
|
33395
|
-
const
|
33396
|
+
const BU = {
|
33396
33397
|
name: "labelStartLink",
|
33397
|
-
tokenize:
|
33398
|
+
tokenize: FU,
|
33398
33399
|
resolveAll: jm.resolveAll
|
33399
33400
|
};
|
33400
|
-
function
|
33401
|
+
function FU(e, t, n) {
|
33401
33402
|
const r = this;
|
33402
33403
|
return i;
|
33403
33404
|
function i(s) {
|
@@ -33409,9 +33410,9 @@ function BU(e, t, n) {
|
|
33409
33410
|
}
|
33410
33411
|
const Wh = {
|
33411
33412
|
name: "lineEnding",
|
33412
|
-
tokenize:
|
33413
|
+
tokenize: PU
|
33413
33414
|
};
|
33414
|
-
function
|
33415
|
+
function PU(e, t) {
|
33415
33416
|
return n;
|
33416
33417
|
function n(r) {
|
33417
33418
|
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), de(e, t, "linePrefix");
|
@@ -33419,9 +33420,9 @@ function FU(e, t) {
|
|
33419
33420
|
}
|
33420
33421
|
const Dl = {
|
33421
33422
|
name: "thematicBreak",
|
33422
|
-
tokenize:
|
33423
|
+
tokenize: RU
|
33423
33424
|
};
|
33424
|
-
function
|
33425
|
+
function RU(e, t, n) {
|
33425
33426
|
let r = 0, i;
|
33426
33427
|
return o;
|
33427
33428
|
function o(l) {
|
@@ -33439,19 +33440,19 @@ function PU(e, t, n) {
|
|
33439
33440
|
}
|
33440
33441
|
const ft = {
|
33441
33442
|
name: "list",
|
33442
|
-
tokenize:
|
33443
|
+
tokenize: zU,
|
33443
33444
|
continuation: {
|
33444
|
-
tokenize:
|
33445
|
+
tokenize: NU
|
33445
33446
|
},
|
33446
|
-
exit:
|
33447
|
-
}, RU = {
|
33448
|
-
tokenize: HU,
|
33449
|
-
partial: !0
|
33447
|
+
exit: HU
|
33450
33448
|
}, OU = {
|
33451
|
-
tokenize:
|
33449
|
+
tokenize: GU,
|
33450
|
+
partial: !0
|
33451
|
+
}, LU = {
|
33452
|
+
tokenize: UU,
|
33452
33453
|
partial: !0
|
33453
33454
|
};
|
33454
|
-
function
|
33455
|
+
function zU(e, t, n) {
|
33455
33456
|
const r = this, i = r.events[r.events.length - 1];
|
33456
33457
|
let o = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, s = 0;
|
33457
33458
|
return a;
|
@@ -33475,7 +33476,7 @@ function LU(e, t, n) {
|
|
33475
33476
|
Kf,
|
33476
33477
|
// Can’t be empty when interrupting.
|
33477
33478
|
r.interrupt ? n : f,
|
33478
|
-
e.attempt(
|
33479
|
+
e.attempt(OU, h, u)
|
33479
33480
|
);
|
33480
33481
|
}
|
33481
33482
|
function f(d) {
|
@@ -33488,20 +33489,20 @@ function LU(e, t, n) {
|
|
33488
33489
|
return r.containerState.size = o + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(d);
|
33489
33490
|
}
|
33490
33491
|
}
|
33491
|
-
function
|
33492
|
+
function NU(e, t, n) {
|
33492
33493
|
const r = this;
|
33493
33494
|
return r.containerState._closeFlow = void 0, e.check(Kf, i, o);
|
33494
33495
|
function i(a) {
|
33495
33496
|
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, de(e, t, "listItemIndent", r.containerState.size + 1)(a);
|
33496
33497
|
}
|
33497
33498
|
function o(a) {
|
33498
|
-
return r.containerState.furtherBlankLines || !ne(a) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, s(a)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(
|
33499
|
+
return r.containerState.furtherBlankLines || !ne(a) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, s(a)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(LU, t, s)(a));
|
33499
33500
|
}
|
33500
33501
|
function s(a) {
|
33501
33502
|
return r.containerState._closeFlow = !0, r.interrupt = void 0, de(e, e.attempt(ft, t, n), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(a);
|
33502
33503
|
}
|
33503
33504
|
}
|
33504
|
-
function
|
33505
|
+
function UU(e, t, n) {
|
33505
33506
|
const r = this;
|
33506
33507
|
return de(e, i, "listItemIndent", r.containerState.size + 1);
|
33507
33508
|
function i(o) {
|
@@ -33509,10 +33510,10 @@ function NU(e, t, n) {
|
|
33509
33510
|
return s && s[1].type === "listItemIndent" && s[2].sliceSerialize(s[1], !0).length === r.containerState.size ? t(o) : n(o);
|
33510
33511
|
}
|
33511
33512
|
}
|
33512
|
-
function
|
33513
|
+
function HU(e) {
|
33513
33514
|
e.exit(this.containerState.type);
|
33514
33515
|
}
|
33515
|
-
function
|
33516
|
+
function GU(e, t, n) {
|
33516
33517
|
const r = this;
|
33517
33518
|
return de(e, i, "listItemPrefixWhitespace", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
|
33518
33519
|
function i(o) {
|
@@ -33522,10 +33523,10 @@ function HU(e, t, n) {
|
|
33522
33523
|
}
|
33523
33524
|
const uy = {
|
33524
33525
|
name: "setextUnderline",
|
33525
|
-
tokenize:
|
33526
|
-
resolveTo:
|
33526
|
+
tokenize: _U,
|
33527
|
+
resolveTo: VU
|
33527
33528
|
};
|
33528
|
-
function
|
33529
|
+
function VU(e, t) {
|
33529
33530
|
let n = e.length, r, i, o;
|
33530
33531
|
for (; n--; )
|
33531
33532
|
if (e[n][0] === "enter") {
|
@@ -33543,7 +33544,7 @@ function GU(e, t) {
|
|
33543
33544
|
};
|
33544
33545
|
return e[i][1].type = "setextHeadingText", o ? (e.splice(i, 0, ["enter", s, t]), e.splice(o + 1, 0, ["exit", e[r][1], t]), e[r][1].end = Object.assign({}, e[o][1].end)) : e[r][1] = s, e.push(["exit", s, t]), e;
|
33545
33546
|
}
|
33546
|
-
function
|
33547
|
+
function _U(e, t, n) {
|
33547
33548
|
const r = this;
|
33548
33549
|
let i;
|
33549
33550
|
return o;
|
@@ -33566,10 +33567,10 @@ function VU(e, t, n) {
|
|
33566
33567
|
return l === null || Y(l) ? (e.exit("setextHeadingLine"), t(l)) : n(l);
|
33567
33568
|
}
|
33568
33569
|
}
|
33569
|
-
const
|
33570
|
-
tokenize:
|
33570
|
+
const jU = {
|
33571
|
+
tokenize: WU
|
33571
33572
|
};
|
33572
|
-
function
|
33573
|
+
function WU(e) {
|
33573
33574
|
const t = this, n = e.attempt(
|
33574
33575
|
// Try to parse a blank line.
|
33575
33576
|
Kf,
|
@@ -33583,7 +33584,7 @@ function jU(e) {
|
|
33583
33584
|
e.attempt(
|
33584
33585
|
this.parser.constructs.flow,
|
33585
33586
|
i,
|
33586
|
-
e.attempt(
|
33587
|
+
e.attempt(KN, i)
|
33587
33588
|
),
|
33588
33589
|
"linePrefix"
|
33589
33590
|
)
|
@@ -33605,14 +33606,14 @@ function jU(e) {
|
|
33605
33606
|
return e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), t.currentConstruct = void 0, n;
|
33606
33607
|
}
|
33607
33608
|
}
|
33608
|
-
const
|
33609
|
+
const YU = {
|
33609
33610
|
resolveAll: c4()
|
33610
|
-
},
|
33611
|
+
}, QU = a4("string"), qU = a4("text");
|
33611
33612
|
function a4(e) {
|
33612
33613
|
return {
|
33613
33614
|
tokenize: t,
|
33614
33615
|
resolveAll: c4(
|
33615
|
-
e === "text" ?
|
33616
|
+
e === "text" ? XU : void 0
|
33616
33617
|
)
|
33617
33618
|
};
|
33618
33619
|
function t(n) {
|
@@ -33655,7 +33656,7 @@ function c4(e) {
|
|
33655
33656
|
return e ? e(n, r) : n;
|
33656
33657
|
}
|
33657
33658
|
}
|
33658
|
-
function
|
33659
|
+
function XU(e, t) {
|
33659
33660
|
let n = 0;
|
33660
33661
|
for (; ++n <= e.length; )
|
33661
33662
|
if ((n === e.length || e[n][1].type === "lineEnding") && e[n - 1][1].type === "data") {
|
@@ -33699,7 +33700,7 @@ function qU(e, t) {
|
|
33699
33700
|
}
|
33700
33701
|
return e;
|
33701
33702
|
}
|
33702
|
-
function
|
33703
|
+
function KU(e, t, n) {
|
33703
33704
|
let r = Object.assign(
|
33704
33705
|
n ? Object.assign({}, n) : {
|
33705
33706
|
line: 1,
|
@@ -33740,10 +33741,10 @@ function XU(e, t, n) {
|
|
33740
33741
|
return s = Ze(s, F), y(), s[s.length - 1] !== null ? [] : (D(t, 0), l.events = _m(o, l.events, l), l.events);
|
33741
33742
|
}
|
33742
33743
|
function h(F, L) {
|
33743
|
-
return
|
33744
|
+
return JU(d(F), L);
|
33744
33745
|
}
|
33745
33746
|
function d(F) {
|
33746
|
-
return
|
33747
|
+
return ZU(s, F);
|
33747
33748
|
}
|
33748
33749
|
function p() {
|
33749
33750
|
const { line: F, column: L, offset: W, _index: X, _bufferIndex: j } = r;
|
@@ -33856,7 +33857,7 @@ function XU(e, t, n) {
|
|
33856
33857
|
r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
|
33857
33858
|
}
|
33858
33859
|
}
|
33859
|
-
function
|
33860
|
+
function ZU(e, t) {
|
33860
33861
|
const n = t.start._index, r = t.start._bufferIndex, i = t.end._index, o = t.end._bufferIndex;
|
33861
33862
|
let s;
|
33862
33863
|
if (n === i)
|
@@ -33870,7 +33871,7 @@ function KU(e, t) {
|
|
33870
33871
|
}
|
33871
33872
|
return s;
|
33872
33873
|
}
|
33873
|
-
function
|
33874
|
+
function JU(e, t) {
|
33874
33875
|
let n = -1;
|
33875
33876
|
const r = [];
|
33876
33877
|
let i;
|
@@ -33912,7 +33913,7 @@ function ZU(e, t) {
|
|
33912
33913
|
}
|
33913
33914
|
return r.join("");
|
33914
33915
|
}
|
33915
|
-
const
|
33916
|
+
const $U = {
|
33916
33917
|
42: ft,
|
33917
33918
|
43: ft,
|
33918
33919
|
45: ft,
|
@@ -33927,84 +33928,84 @@ const JU = {
|
|
33927
33928
|
56: ft,
|
33928
33929
|
57: ft,
|
33929
33930
|
62: e4
|
33930
|
-
}, $U = {
|
33931
|
-
91: eU
|
33932
33931
|
}, eH = {
|
33932
|
+
91: tU
|
33933
|
+
}, tH = {
|
33933
33934
|
[-2]: jh,
|
33934
33935
|
[-1]: jh,
|
33935
33936
|
32: jh
|
33936
|
-
},
|
33937
|
-
35:
|
33937
|
+
}, nH = {
|
33938
|
+
35: aU,
|
33938
33939
|
42: Dl,
|
33939
33940
|
45: [uy, Dl],
|
33940
|
-
60:
|
33941
|
+
60: fU,
|
33941
33942
|
61: uy,
|
33942
33943
|
95: Dl,
|
33943
33944
|
96: cy,
|
33944
33945
|
126: cy
|
33945
|
-
},
|
33946
|
+
}, rH = {
|
33946
33947
|
38: n4,
|
33947
33948
|
92: t4
|
33948
|
-
},
|
33949
|
+
}, iH = {
|
33949
33950
|
[-5]: Wh,
|
33950
33951
|
[-4]: Wh,
|
33951
33952
|
[-3]: Wh,
|
33952
|
-
33:
|
33953
|
+
33: IU,
|
33953
33954
|
38: n4,
|
33954
33955
|
42: Vp,
|
33955
|
-
60: [
|
33956
|
-
91:
|
33957
|
-
92: [
|
33956
|
+
60: [BN, bU],
|
33957
|
+
91: BU,
|
33958
|
+
92: [oU, t4],
|
33958
33959
|
93: jm,
|
33959
33960
|
95: Vp,
|
33960
|
-
96:
|
33961
|
-
}, iH = {
|
33962
|
-
null: [Vp, WU]
|
33961
|
+
96: jN
|
33963
33962
|
}, oH = {
|
33964
|
-
null: [
|
33963
|
+
null: [Vp, YU]
|
33965
33964
|
}, sH = {
|
33965
|
+
null: [42, 95]
|
33966
|
+
}, aH = {
|
33966
33967
|
null: []
|
33967
|
-
},
|
33968
|
+
}, cH = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
33968
33969
|
__proto__: null,
|
33969
|
-
attentionMarkers:
|
33970
|
-
contentInitial:
|
33971
|
-
disable:
|
33972
|
-
document:
|
33973
|
-
flow:
|
33974
|
-
flowInitial:
|
33975
|
-
insideSpan:
|
33976
|
-
string:
|
33977
|
-
text:
|
33970
|
+
attentionMarkers: sH,
|
33971
|
+
contentInitial: eH,
|
33972
|
+
disable: aH,
|
33973
|
+
document: $U,
|
33974
|
+
flow: nH,
|
33975
|
+
flowInitial: tH,
|
33976
|
+
insideSpan: oH,
|
33977
|
+
string: rH,
|
33978
|
+
text: iH
|
33978
33979
|
}, Symbol.toStringTag, { value: "Module" }));
|
33979
|
-
function
|
33980
|
+
function lH(e) {
|
33980
33981
|
const n = (
|
33981
33982
|
/** @type {FullNormalizedExtension} */
|
33982
|
-
|
33983
|
+
lN([cH, ...(e || {}).extensions || []])
|
33983
33984
|
), r = {
|
33984
33985
|
defined: [],
|
33985
33986
|
lazy: {},
|
33986
33987
|
constructs: n,
|
33987
|
-
content: i(
|
33988
|
-
document: i(
|
33989
|
-
flow: i(
|
33990
|
-
string: i(
|
33991
|
-
text: i(
|
33988
|
+
content: i(CN),
|
33989
|
+
document: i(kN),
|
33990
|
+
flow: i(jU),
|
33991
|
+
string: i(QU),
|
33992
|
+
text: i(qU)
|
33992
33993
|
};
|
33993
33994
|
return r;
|
33994
33995
|
function i(o) {
|
33995
33996
|
return s;
|
33996
33997
|
function s(a) {
|
33997
|
-
return
|
33998
|
+
return KU(r, o, a);
|
33998
33999
|
}
|
33999
34000
|
}
|
34000
34001
|
}
|
34001
|
-
function
|
34002
|
+
function uH(e) {
|
34002
34003
|
for (; !r4(e); )
|
34003
34004
|
;
|
34004
34005
|
return e;
|
34005
34006
|
}
|
34006
34007
|
const fy = /[\0\t\n\r]/g;
|
34007
|
-
function
|
34008
|
+
function fH() {
|
34008
34009
|
let e = 1, t = "", n = !0, r;
|
34009
34010
|
return i;
|
34010
34011
|
function i(o, s, a) {
|
@@ -34040,15 +34041,15 @@ function uH() {
|
|
34040
34041
|
return a && (r && c.push(-5), t && c.push(t), c.push(null)), c;
|
34041
34042
|
}
|
34042
34043
|
}
|
34043
|
-
function
|
34044
|
-
return typeof t != "string" && (n = t, t = void 0),
|
34045
|
-
|
34046
|
-
|
34044
|
+
function hH(e, t, n) {
|
34045
|
+
return typeof t != "string" && (n = t, t = void 0), SN(n)(
|
34046
|
+
uH(
|
34047
|
+
lH(n).document().write(fH()(e, t, !0))
|
34047
34048
|
)
|
34048
34049
|
);
|
34049
34050
|
}
|
34050
|
-
function
|
34051
|
-
const n =
|
34051
|
+
function dH(e, t = {}) {
|
34052
|
+
const n = hH(e), r = new DOMParser().parseFromString(
|
34052
34053
|
`<!DOCTYPE html><html><body><div>${n}</div></body></html>`,
|
34053
34054
|
"text/html"
|
34054
34055
|
);
|
@@ -34081,7 +34082,7 @@ function l4(e) {
|
|
34081
34082
|
l4(e.childNodes[t]);
|
34082
34083
|
}
|
34083
34084
|
}
|
34084
|
-
function
|
34085
|
+
function pH(e) {
|
34085
34086
|
e.stopPropagation(), e.preventDefault();
|
34086
34087
|
const n = /** @type {HTMLElement} */ e.target.parentElement, r = n.parentElement, o = r.parentElement.querySelector(".panes"), s = [...r.children].findIndex((a) => a == n);
|
34087
34088
|
for (const a of r.children)
|
@@ -34289,7 +34290,7 @@ Wm.exports;
|
|
34289
34290
|
});
|
34290
34291
|
})(Wm);
|
34291
34292
|
var u4 = Wm.exports;
|
34292
|
-
function
|
34293
|
+
function mH() {
|
34293
34294
|
const e = typeof process < "u" ? (
|
34294
34295
|
// eslint-disable-next-line no-undef
|
34295
34296
|
require("util").TextEncoder
|
@@ -34297,7 +34298,7 @@ function pH() {
|
|
34297
34298
|
return new e();
|
34298
34299
|
}
|
34299
34300
|
let hy;
|
34300
|
-
function
|
34301
|
+
function gH() {
|
34301
34302
|
let e, t = [];
|
34302
34303
|
for (let n = 0; n < 256; n++) {
|
34303
34304
|
e = n;
|
@@ -34307,22 +34308,22 @@ function mH() {
|
|
34307
34308
|
}
|
34308
34309
|
return t;
|
34309
34310
|
}
|
34310
|
-
function
|
34311
|
-
hy ?? (hy =
|
34311
|
+
function yH(e) {
|
34312
|
+
hy ?? (hy = gH());
|
34312
34313
|
let t = -1;
|
34313
|
-
const n =
|
34314
|
+
const n = mH().encode(e);
|
34314
34315
|
for (let r = 0; r < n.length; r++)
|
34315
34316
|
t = t >>> 8 ^ hy[(t ^ n[r]) & 255];
|
34316
34317
|
return (t ^ -1) >>> 0;
|
34317
34318
|
}
|
34318
34319
|
function f4(e) {
|
34319
|
-
return ("00000000" +
|
34320
|
+
return ("00000000" + yH(e).toString(16)).slice(-8);
|
34320
34321
|
}
|
34321
34322
|
function h4(e) {
|
34322
34323
|
const t = u4.compressToEncodedURIComponent(JSON.stringify(e));
|
34323
34324
|
return "#" + t + f4(t);
|
34324
34325
|
}
|
34325
|
-
function
|
34326
|
+
function bH(e) {
|
34326
34327
|
if (!e || e.length < 10)
|
34327
34328
|
throw new Error("The state string in the URL is too short.");
|
34328
34329
|
const t = e.slice(1, -8), n = e.slice(-8);
|
@@ -34331,7 +34332,7 @@ function yH(e) {
|
|
34331
34332
|
return JSON.parse(u4.decompressFromEncodedURIComponent(t));
|
34332
34333
|
}
|
34333
34334
|
let Xr;
|
34334
|
-
function
|
34335
|
+
function xH(e) {
|
34335
34336
|
for (const t of e.genomeSpy.getNamedScaleResolutions().values())
|
34336
34337
|
t.isZoomable() && t.resetZoom();
|
34337
34338
|
e.storeHelper.dispatch([
|
@@ -34364,13 +34365,13 @@ async function Ym(e, t) {
|
|
34364
34365
|
}
|
34365
34366
|
}
|
34366
34367
|
async function Ps(e, t, n = {}) {
|
34367
|
-
await Ym(e, t), (Xr || e.notes || n.mode == "shared" && (e.name || e.notes)) && await
|
34368
|
+
await Ym(e, t), (Xr || e.notes || n.mode == "shared" && (e.name || e.notes)) && await vH(e, t, n);
|
34368
34369
|
}
|
34369
|
-
async function
|
34370
|
-
Xr ?? (Xr = Rr("tour", t.appContainer)), await
|
34370
|
+
async function vH(e, t, n = {}) {
|
34371
|
+
Xr ?? (Xr = Rr("tour", t.appContainer)), await AH(e, t, n);
|
34371
34372
|
}
|
34372
|
-
async function
|
34373
|
-
const r = n.database, i = r ? await r.getNames() : [], o = i.indexOf(e.name), s = r ? ` ${o + 1} of ${i.length}` : "", a = `${n.mode == "shared" ? "Shared bookmark" : "Bookmark"}${s}: ${e.name ?? "Unnamed"}`, c = e.notes ?
|
34373
|
+
async function AH(e, t, n) {
|
34374
|
+
const r = n.database, i = r ? await r.getNames() : [], o = i.indexOf(e.name), s = r ? ` ${o + 1} of ${i.length}` : "", a = `${n.mode == "shared" ? "Shared bookmark" : "Bookmark"}${s}: ${e.name ?? "Unnamed"}`, c = e.notes ? dH(e.notes, {
|
34374
34375
|
// TODO: It's actually the bookmarkDatabase's url that should be used as a baseUrl
|
34375
34376
|
baseUrl: t.genomeSpy.spec.baseUrl
|
34376
34377
|
}) : T`<span class="no-notes">No notes provided</span>`, l = async () => {
|
@@ -34382,7 +34383,7 @@ async function vH(e, t, n) {
|
|
34382
34383
|
throw new Error(`No such bookmark: ${m}`);
|
34383
34384
|
Ym(y, t);
|
34384
34385
|
} else
|
34385
|
-
m === null ||
|
34386
|
+
m === null || xH(t);
|
34386
34387
|
}
|
34387
34388
|
}, f = async (m) => {
|
34388
34389
|
const y = await r.get(i[m]);
|
@@ -34437,7 +34438,7 @@ function dy(e, t) {
|
|
34437
34438
|
tt(
|
34438
34439
|
T`
|
34439
34440
|
<div class="gs-tabs" style="width: 600px">
|
34440
|
-
<ul class="tabs" @click=${
|
34441
|
+
<ul class="tabs" @click=${pH}>
|
34441
34442
|
<li class="active-tab"><button>URL</button></li>
|
34442
34443
|
<li><button>JSON</button></li>
|
34443
34444
|
</ul>
|
@@ -34573,7 +34574,7 @@ function py(e) {
|
|
34573
34574
|
if (e !== void 0 && (e = e.trim(), e.length))
|
34574
34575
|
return e;
|
34575
34576
|
}
|
34576
|
-
class
|
34577
|
+
class wH extends on {
|
34577
34578
|
constructor() {
|
34578
34579
|
super(), this.app = void 0;
|
34579
34580
|
}
|
@@ -34687,7 +34688,7 @@ class AH extends on {
|
|
34687
34688
|
) : q;
|
34688
34689
|
}
|
34689
34690
|
_getBookmarks() {
|
34690
|
-
const t = (n, r) => n ?
|
34691
|
+
const t = (n, r) => n ? cN(
|
34691
34692
|
this._makeBookmarkMenuItems(n, r),
|
34692
34693
|
T`Loading...`
|
34693
34694
|
) : q;
|
@@ -34737,8 +34738,8 @@ class AH extends on {
|
|
34737
34738
|
`;
|
34738
34739
|
}
|
34739
34740
|
}
|
34740
|
-
customElements.define("genome-spy-bookmark-button",
|
34741
|
-
class
|
34741
|
+
customElements.define("genome-spy-bookmark-button", wH);
|
34742
|
+
class SH extends on {
|
34742
34743
|
constructor() {
|
34743
34744
|
super(), this.app = void 0, this.appInitialized = !1;
|
34744
34745
|
}
|
@@ -34827,8 +34828,8 @@ class wH extends on {
|
|
34827
34828
|
`;
|
34828
34829
|
}
|
34829
34830
|
}
|
34830
|
-
customElements.define("genome-spy-toolbar",
|
34831
|
-
class
|
34831
|
+
customElements.define("genome-spy-toolbar", SH);
|
34832
|
+
class CH {
|
34832
34833
|
/**
|
34833
34834
|
*
|
34834
34835
|
* @param {import("./storeHelper.js").default<{provenance?: import("redux-undo").StateWithHistory<S>}>} storeHelper
|
@@ -34972,7 +34973,7 @@ class SH {
|
|
34972
34973
|
return (t = this.getActionHistory()) == null ? void 0 : t.slice(1);
|
34973
34974
|
}
|
34974
34975
|
}
|
34975
|
-
function
|
34976
|
+
function EH(e, t, n = (r) => +r) {
|
34976
34977
|
const r = e.length, i = new ua(), o = new Array(r).fill(0);
|
34977
34978
|
for (const [a, c] of e.entries())
|
34978
34979
|
c.length && i.push(a, n(c[0]));
|
@@ -34987,9 +34988,9 @@ function CH(e, t, n = (r) => +r) {
|
|
34987
34988
|
}
|
34988
34989
|
}
|
34989
34990
|
}
|
34990
|
-
const
|
34991
|
+
const kH = "sampleCount";
|
34991
34992
|
var cc, lc, uc, jp, Qu, d4, qu, p4, Xu, m4;
|
34992
|
-
class
|
34993
|
+
class TH extends we {
|
34993
34994
|
/**
|
34994
34995
|
*
|
34995
34996
|
* @param {any} params
|
@@ -35009,7 +35010,7 @@ class kH extends we {
|
|
35009
35010
|
I(this, lc, void 0);
|
35010
35011
|
this.view = r;
|
35011
35012
|
const i = r.context.animator;
|
35012
|
-
if (this.provenance =
|
35013
|
+
if (this.provenance = DH(r), !this.provenance)
|
35013
35014
|
throw new Error("No SampleView was found!");
|
35014
35015
|
this.provenance.storeHelper.subscribe((o) => {
|
35015
35016
|
S(this, uc, jp) && (S(this, cc) && (N(this, cc, !1), this.reset(), this.complete()), i.requestTransition(() => {
|
@@ -35019,7 +35020,7 @@ class kH extends we {
|
|
35019
35020
|
}
|
35020
35021
|
initialize() {
|
35021
35022
|
N(this, lc, this.paramMediator.allocateSetter(
|
35022
|
-
|
35023
|
+
kH,
|
35023
35024
|
0,
|
35024
35025
|
!0
|
35025
35026
|
));
|
@@ -35082,7 +35083,7 @@ cc = new WeakMap(), lc = new WeakMap(), uc = new WeakSet(), jp = function() {
|
|
35082
35083
|
if (P2(s)) {
|
35083
35084
|
this.beginBatch({ type: "facet", facetId: [i] }, !0), S(this, lc).call(this, s.samples.length);
|
35084
35085
|
const a = s.samples, c = B(this, Qu, d4).call(this);
|
35085
|
-
|
35086
|
+
EH(
|
35086
35087
|
a.map(
|
35087
35088
|
(l) => c.facetBatches.get([l]) ?? []
|
35088
35089
|
),
|
@@ -35102,14 +35103,14 @@ cc = new WeakMap(), lc = new WeakMap(), uc = new WeakSet(), jp = function() {
|
|
35102
35103
|
for (const r of n)
|
35103
35104
|
r.reconfigure();
|
35104
35105
|
};
|
35105
|
-
function
|
35106
|
+
function DH(e) {
|
35106
35107
|
for (const t of e.getLayoutAncestors())
|
35107
35108
|
if (t instanceof Op)
|
35108
35109
|
return t.provenance;
|
35109
35110
|
}
|
35110
|
-
var
|
35111
|
-
function
|
35112
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
35111
|
+
var IH = "BATCHING_REDUCER.BATCH";
|
35112
|
+
function MH(e) {
|
35113
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : IH;
|
35113
35114
|
return {
|
35114
35115
|
type: t,
|
35115
35116
|
meta: {
|
@@ -35118,12 +35119,12 @@ function IH(e) {
|
|
35118
35119
|
payload: e
|
35119
35120
|
};
|
35120
35121
|
}
|
35121
|
-
function
|
35122
|
+
function BH(e) {
|
35122
35123
|
return function t(n, r) {
|
35123
35124
|
return r && r.meta && r.meta.batch ? r.payload.reduce(t, n) : e(n, r);
|
35124
35125
|
};
|
35125
35126
|
}
|
35126
|
-
class
|
35127
|
+
class FH {
|
35127
35128
|
/**
|
35128
35129
|
* @param {import("redux").ReducersMapObject} [reducers]
|
35129
35130
|
*/
|
@@ -35149,7 +35150,7 @@ class BH {
|
|
35149
35150
|
*/
|
35150
35151
|
addReducer(t, n) {
|
35151
35152
|
this._reducers[t] = n, this.store.replaceReducer(
|
35152
|
-
|
35153
|
+
BH(Em(this._reducers))
|
35153
35154
|
);
|
35154
35155
|
}
|
35155
35156
|
/**
|
@@ -35168,13 +35169,13 @@ class BH {
|
|
35168
35169
|
* @param {Action | Action[]} action
|
35169
35170
|
*/
|
35170
35171
|
dispatch(t) {
|
35171
|
-
Array.isArray(t) ? this.store.dispatch(
|
35172
|
+
Array.isArray(t) ? this.store.dispatch(MH(t)) : this.store.dispatch(t);
|
35172
35173
|
}
|
35173
35174
|
getDispatcher() {
|
35174
35175
|
return (t) => this.dispatch(t);
|
35175
35176
|
}
|
35176
35177
|
}
|
35177
|
-
class
|
35178
|
+
class PH extends V3 {
|
35178
35179
|
/**
|
35179
35180
|
* @param {import("./databaseSchema.js").BookmarkEntry[]} bookmarks
|
35180
35181
|
*/
|
@@ -35195,8 +35196,8 @@ class FH extends V3 {
|
|
35195
35196
|
return this.bookmarks.find((n) => n.name == t);
|
35196
35197
|
}
|
35197
35198
|
}
|
35198
|
-
fA.mergeFacets =
|
35199
|
-
class
|
35199
|
+
fA.mergeFacets = TH;
|
35200
|
+
class RH {
|
35200
35201
|
/**
|
35201
35202
|
*
|
35202
35203
|
* @param {HTMLElement} appContainerElement
|
@@ -35205,7 +35206,7 @@ class PH {
|
|
35205
35206
|
*/
|
35206
35207
|
constructor(t, n, r = {}) {
|
35207
35208
|
const i = this;
|
35208
|
-
this.config = n, r.inputBindingContainer = "none", this.storeHelper = new
|
35209
|
+
this.config = n, r.inputBindingContainer = "none", this.storeHelper = new FH(), this.storeHelper.addReducer("viewSettings", so.reducer), this.provenance = new CH(this.storeHelper), this._initializationListeners = [], this.toolbarRef = Gm(), this.appContainer = t, this._configureContainer(), this.localBookmarkDatabase = typeof n.specId == "string" ? new Fz(n.specId) : void 0, this.globalBookmarkDatabase = void 0, ze(
|
35209
35210
|
T`<div class="genome-spy-app">
|
35210
35211
|
<genome-spy-toolbar
|
35211
35212
|
${Vm(i.toolbarRef)}
|
@@ -35259,7 +35260,7 @@ class PH {
|
|
35259
35260
|
}
|
35260
35261
|
async launch() {
|
35261
35262
|
var s;
|
35262
|
-
const t = (s = this.config.bookmarks) != null && s.remote ?
|
35263
|
+
const t = (s = this.config.bookmarks) != null && s.remote ? UE({ baseURL: this.config.baseUrl }).load(this.config.bookmarks.remote.url).then(
|
35263
35264
|
(a) => Promise.resolve(JSON.parse(a))
|
35264
35265
|
) : Promise.resolve([]);
|
35265
35266
|
if (!await this.genomeSpy.launch())
|
@@ -35283,7 +35284,7 @@ class PH {
|
|
35283
35284
|
);
|
35284
35285
|
try {
|
35285
35286
|
const a = await t;
|
35286
|
-
a.length && (this.globalBookmarkDatabase = new
|
35287
|
+
a.length && (this.globalBookmarkDatabase = new PH(
|
35287
35288
|
a
|
35288
35289
|
));
|
35289
35290
|
} catch (a) {
|
@@ -35387,7 +35388,7 @@ class PH {
|
|
35387
35388
|
}
|
35388
35389
|
if (t && t.length > 0)
|
35389
35390
|
try {
|
35390
|
-
const o =
|
35391
|
+
const o = bH(t);
|
35391
35392
|
return Ps(o, this, { mode: "shared" }), !0;
|
35392
35393
|
} catch (o) {
|
35393
35394
|
console.error(o), tt(
|
@@ -35398,7 +35399,7 @@ class PH {
|
|
35398
35399
|
return !1;
|
35399
35400
|
}
|
35400
35401
|
_configureContainer() {
|
35401
|
-
this.isFullPage() ? (this.appContainer.style.margin = "0", this.appContainer.style.padding = "0", this.appContainer.style.overflow = "hidden",
|
35402
|
+
this.isFullPage() ? (this.appContainer.style.margin = "0", this.appContainer.style.padding = "0", this.appContainer.style.overflow = "hidden", OH(CF)) : this.appContainer.style.position = "relative";
|
35402
35403
|
}
|
35403
35404
|
getSampleView() {
|
35404
35405
|
var n;
|
@@ -35411,11 +35412,11 @@ class PH {
|
|
35411
35412
|
}), t;
|
35412
35413
|
}
|
35413
35414
|
}
|
35414
|
-
function
|
35415
|
+
function OH(e) {
|
35415
35416
|
const t = document.querySelector("head"), n = document.createElement("link");
|
35416
35417
|
n.setAttribute("rel", "shortcut icon"), n.setAttribute("href", e), t.appendChild(n);
|
35417
35418
|
}
|
35418
|
-
async function
|
35419
|
+
async function WH(e, t, n = {}) {
|
35419
35420
|
let r;
|
35420
35421
|
if (re(e)) {
|
35421
35422
|
if (r = document.querySelector(e), !r)
|
@@ -35431,8 +35432,8 @@ async function jH(e, t, n = {}) {
|
|
35431
35432
|
powerPreference: "high-performance",
|
35432
35433
|
...n
|
35433
35434
|
};
|
35434
|
-
const s = new
|
35435
|
-
i = s.genomeSpy,
|
35435
|
+
const s = new RH(r, o, n);
|
35436
|
+
i = s.genomeSpy, LH(i, n), await s.launch();
|
35436
35437
|
} catch (o) {
|
35437
35438
|
r.innerText = o.toString(), console.error(o);
|
35438
35439
|
}
|
@@ -35456,13 +35457,13 @@ async function jH(e, t, n = {}) {
|
|
35456
35457
|
updateNamedData: i.updateNamedData.bind(i)
|
35457
35458
|
};
|
35458
35459
|
}
|
35459
|
-
function
|
35460
|
+
function LH(e, t) {
|
35460
35461
|
t.namedDataProvider && e.registerNamedDataProvider(t.namedDataProvider);
|
35461
35462
|
}
|
35462
35463
|
export {
|
35463
35464
|
AF as GenomeSpy,
|
35464
|
-
|
35465
|
-
|
35465
|
+
RH as GenomeSpyApp,
|
35466
|
+
WH as embed,
|
35466
35467
|
T as html,
|
35467
35468
|
SF as icon
|
35468
35469
|
};
|