@genome-spy/app 0.86.0 → 0.87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agentApi-DgopQbMV.js → agentApi-BZ1JCo1N.js} +6994 -6499
- package/dist/agentApi.es.js +3057 -3225
- package/dist/agentShared.es.js +7 -7
- package/dist/{canvas2d-8uxuN_vx.js → canvas2d-B_PnIof-.js} +108 -107
- package/dist/{canvas2d-BtQC7Xr8.js → canvas2d-Cafq5v-N.js} +128 -127
- package/dist/{clipOptions-taFzEljc.js → clipOptions-D6eh9T-_.js} +1508 -1166
- package/dist/{clipOptions-BQfNhxgP.js → clipOptions-H68pJyEZ.js} +1496 -1114
- package/dist/{debug-D_VtWQ6l.js → debug-BGzgZmyk.js} +2 -2
- package/dist/{debug-Bzc3SoRg.js → debug-UYKZLNh4.js} +2 -2
- package/dist/index.es.js +96 -106
- package/dist/index.js +399 -392
- package/dist/{indexer-qy_dq5l5.js → indexer-Di57GyxX.js} +1 -1
- package/dist/{indexer-qiFctgR3.js → indexer-o6Hpg4nN.js} +1 -1
- package/dist/nativeText-D9SoxpaD.js +934 -0
- package/dist/nativeText-DAjvkrzc.js +934 -0
- package/dist/{rasterExport-B8pVoOsj.js → rasterExport-DzldLv6E.js} +1 -1
- package/dist/{rasterExport-C4r4xjQT.js → rasterExport-IAbJwi8F.js} +1 -1
- package/dist/{renderCanvas2D-BQrRWp2Z.js → renderCanvas2D-BJ93Ptqj.js} +102 -96
- package/dist/{renderCanvas2D-CHVNfIUz.js → renderCanvas2D-yJ1IrDcX.js} +103 -97
- package/dist/schema.json +10169 -2852
- package/dist/{svg-C-Sw6E6G.js → svg-BRpl2Xub.js} +338 -384
- package/dist/{svg-CKHwwKRt.js → svg-DJuqHIyc.js} +353 -399
- package/dist/{svgRasterizer-BgD72AmG.js → svgRasterizer-CGZQ5njV.js} +1 -1
- package/dist/{svgRasterizer-BgSNqI3L.js → svgRasterizer-PAoqLn1j.js} +1 -1
- package/dist/{vega-scale-D46-iCaL.js → vega-scale-BGC53c22.js} +887 -1184
- package/dist/{vega-scale-CK0_al6O.js → vega-scale-DdW2NzQ3.js} +898 -1195
- package/dist/{viewIdentityRegistry-CDtVktJD.js → viewIdentityRegistry-D4p067HU.js} +1 -1
- package/dist/{viewIdentityRegistry-B-VGlez1.js → viewIdentityRegistry-Dc2hXYsO.js} +1 -1
- package/dist/{viewSelectors-CKfxF_LM.js → viewSelectors-DNXnGwEW.js} +519 -321
- package/dist/{viewSelectors-D_imtq5Z.js → viewSelectors-DYYlOt91.js} +584 -386
- package/dist/{viewUtils-nCJ7AoaI.js → viewUtils-EdhZTPrJ.js} +2930 -2264
- package/dist/{webgl-BaA3jSa2.js → webgl-C53DwzVT.js} +427 -428
- package/dist/{webgl-FP-4EsBL.js → webgl-CdgNFlJk.js} +639 -640
- package/package.json +5 -5
- package/dist/nativeText-DFV5XIx8.js +0 -860
- package/dist/nativeText-vT3AWE14.js +0 -860
|
@@ -1,166 +1,117 @@
|
|
|
1
|
-
//#region
|
|
1
|
+
//#region ../../node_modules/vega-util/build/accessor.js
|
|
2
2
|
function e(e, t, n) {
|
|
3
|
-
return
|
|
3
|
+
return Object.assign(e, {
|
|
4
|
+
fields: t || [],
|
|
5
|
+
fname: n
|
|
6
|
+
});
|
|
4
7
|
}
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region ../../node_modules/vega-util/build/getter.js
|
|
5
10
|
function t(e) {
|
|
6
|
-
return e
|
|
7
|
-
}
|
|
8
|
-
function n(e) {
|
|
9
|
-
return e == null ? null : e.fields;
|
|
11
|
+
return e.length === 1 ? n(e[0]) : r(e);
|
|
10
12
|
}
|
|
11
|
-
|
|
12
|
-
return e.length === 1 ? i(e[0]) : a(e);
|
|
13
|
-
}
|
|
14
|
-
var i = (e) => function(t) {
|
|
13
|
+
var n = (e) => function(t) {
|
|
15
14
|
return t[e];
|
|
16
|
-
},
|
|
15
|
+
}, r = (e) => {
|
|
17
16
|
let t = e.length;
|
|
18
17
|
return function(n) {
|
|
19
18
|
for (let r = 0; r < t; ++r) n = n[e[r]];
|
|
20
19
|
return n;
|
|
21
20
|
};
|
|
22
21
|
};
|
|
23
|
-
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region ../../node_modules/vega-util/build/error.js
|
|
24
|
+
function i(e) {
|
|
24
25
|
throw Error(e);
|
|
25
26
|
}
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region ../../node_modules/vega-util/build/splitAccessPath.js
|
|
29
|
+
function a(e) {
|
|
30
|
+
let t = [], n = e.length, r = null, a = 0, o = "", s, c, l;
|
|
28
31
|
e += "";
|
|
29
32
|
function u() {
|
|
30
|
-
t.push(
|
|
33
|
+
t.push(o + e.substring(s, c)), o = "", s = c + 1;
|
|
31
34
|
}
|
|
32
|
-
for (s = c = 0; c < n; ++c) if (l = e[c], l === "\\")
|
|
33
|
-
else if (l === r) u(), r = null,
|
|
35
|
+
for (s = c = 0; c < n; ++c) if (l = e[c], l === "\\") o += e.substring(s, c++), s = c;
|
|
36
|
+
else if (l === r) u(), r = null, a = -1;
|
|
34
37
|
else if (r) continue;
|
|
35
|
-
else s ===
|
|
36
|
-
return
|
|
38
|
+
else s === a && l === "\"" || s === a && l === "'" ? (s = c + 1, r = l) : l === "." && !a ? c > s ? u() : s = c + 1 : l === "[" ? (c > s && u(), a = s = c + 1) : l === "]" && (a || i("Access path missing open bracket: " + e), a > 0 && u(), a = 0, s = c + 1);
|
|
39
|
+
return a && i("Access path missing closing bracket: " + e), r && i("Access path missing closing quote: " + e), c > s && (c++, u()), t;
|
|
37
40
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
//#endregion
|
|
42
|
+
//#region ../../node_modules/vega-util/build/field.js
|
|
43
|
+
function o(n, r, i) {
|
|
44
|
+
let o = a(n), s = o.length === 1 ? o[0] : n;
|
|
45
|
+
return e((i && i.get || t)(o), [s], r || s);
|
|
41
46
|
}
|
|
42
|
-
|
|
43
|
-
var
|
|
44
|
-
e(() => 0, [], "zero"), e(() => 1, [], "one"), e(() => !0, [], "true"), e(() => !1, [], "false")
|
|
45
|
-
|
|
46
|
-
|
|
47
|
+
o("id");
|
|
48
|
+
var s = e((e) => e, [], "identity");
|
|
49
|
+
e(() => 0, [], "zero"), e(() => 1, [], "one"), e(() => !0, [], "true"), e(() => !1, [], "false");
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region ../../node_modules/vega-util/build/interpreter.js
|
|
52
|
+
var c = /* @__PURE__ */ new Set([...Object.getOwnPropertyNames(Object.prototype).filter((e) => typeof Object.prototype[e] == "function"), "__proto__"]), l = Array.isArray;
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region ../../node_modules/vega-util/build/isObject.js
|
|
55
|
+
function u(e) {
|
|
47
56
|
return e === Object(e);
|
|
48
57
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
return e == null || e === "" ? null : +e;
|
|
54
|
-
}
|
|
55
|
-
var m = (e) => (t) => e * Math.exp(t), h = (e) => (t) => Math.log(e * t), ee = (e) => (t) => Math.sign(t) * Math.log1p(Math.abs(t / e)), g = (e) => (t) => Math.sign(t) * Math.expm1(Math.abs(t)) * e, _ = (e) => (t) => t < 0 ? -((-t) ** +e) : t ** +e;
|
|
56
|
-
function v(e, t, n, r) {
|
|
57
|
-
let i = n(e[0]), a = n(f(e)), o = (a - i) * t;
|
|
58
|
-
return [r(i - o), r(a - o)];
|
|
59
|
-
}
|
|
60
|
-
function te(e, t) {
|
|
61
|
-
return v(e, t, p, l);
|
|
62
|
-
}
|
|
63
|
-
function ne(e, t) {
|
|
64
|
-
var n = Math.sign(e[0]);
|
|
65
|
-
return v(e, t, h(n), m(n));
|
|
66
|
-
}
|
|
67
|
-
function re(e, t, n) {
|
|
68
|
-
return v(e, t, _(n), _(1 / n));
|
|
69
|
-
}
|
|
70
|
-
function y(e, t, n, r, i) {
|
|
71
|
-
let a = r(e[0]), o = r(f(e)), s = t == null ? (a + o) / 2 : r(t);
|
|
72
|
-
return [i(s + (a - s) * n), i(s + (o - s) * n)];
|
|
73
|
-
}
|
|
74
|
-
function b(e, t, n) {
|
|
75
|
-
return y(e, t, n, p, l);
|
|
76
|
-
}
|
|
77
|
-
function x(e, t, n) {
|
|
78
|
-
let r = Math.sign(e[0]);
|
|
79
|
-
return y(e, t, n, h(r), m(r));
|
|
80
|
-
}
|
|
81
|
-
function S(e, t, n, r) {
|
|
82
|
-
return y(e, t, n, _(r), _(1 / r));
|
|
83
|
-
}
|
|
84
|
-
function ie(e, t, n, r) {
|
|
85
|
-
return y(e, t, n, ee(r), g(r));
|
|
86
|
-
}
|
|
87
|
-
function ae(e) {
|
|
88
|
-
return e == null ? [] : u(e) ? e : [e];
|
|
89
|
-
}
|
|
90
|
-
function oe(e, t, n) {
|
|
91
|
-
let r = e[0], i = e[1], a;
|
|
92
|
-
return i < r && (a = i, i = r, r = a), a = i - r, a >= n - t ? [t, n] : [r = Math.min(Math.max(r, t), n - a), r + a];
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region ../../node_modules/vega-util/build/array.js
|
|
60
|
+
function d(e) {
|
|
61
|
+
return e == null ? [] : l(e) ? e : [e];
|
|
93
62
|
}
|
|
94
|
-
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region ../../node_modules/vega-util/build/isFunction.js
|
|
65
|
+
function f(e) {
|
|
95
66
|
return typeof e == "function";
|
|
96
67
|
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
return ae(t).forEach((e, t) => {
|
|
102
|
-
e != null && (a.push(r[t] === ce ? -1 : 1), o.push(e = se(e) ? e : c(e, null, i)), (n(e) || []).forEach((e) => s[e] = 1));
|
|
103
|
-
}), o.length === 0 ? null : e(l(o, a), Object.keys(s));
|
|
104
|
-
}
|
|
105
|
-
var ue = (e, t) => (e < t || e == null) && t != null ? -1 : (e > t || t == null) && e != null ? 1 : (t = t instanceof Date ? +t : t, e = e instanceof Date ? +e : e) !== e && t === t ? -1 : +(t !== t && e === e), de = (e, t) => e.length === 1 ? fe(e[0], t[0]) : pe(e, t, e.length), fe = (e, t) => function(n, r) {
|
|
106
|
-
return ue(e(n), e(r)) * t;
|
|
107
|
-
}, pe = (e, t, n) => (t.push(0), function(r, i) {
|
|
108
|
-
let a, o = 0, s = -1;
|
|
109
|
-
for (; o === 0 && ++s < n;) a = e[s], o = ue(a(r), a(i));
|
|
110
|
-
return o * t[s];
|
|
111
|
-
});
|
|
112
|
-
function me(e) {
|
|
113
|
-
return typeof e == "boolean";
|
|
114
|
-
}
|
|
115
|
-
function he(e) {
|
|
116
|
-
return typeof e == "number";
|
|
117
|
-
}
|
|
118
|
-
function ge(e) {
|
|
119
|
-
return Object.prototype.toString.call(e) === "[object RegExp]";
|
|
68
|
+
//#endregion
|
|
69
|
+
//#region ../../node_modules/vega-util/build/hasOwnProperty.js
|
|
70
|
+
function p(e, t) {
|
|
71
|
+
return Object.hasOwn(e, t);
|
|
120
72
|
}
|
|
121
|
-
|
|
73
|
+
//#endregion
|
|
74
|
+
//#region ../../node_modules/vega-util/build/isString.js
|
|
75
|
+
function m(e) {
|
|
122
76
|
return typeof e == "string";
|
|
123
77
|
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
function ve(e) {
|
|
129
|
-
return e && f(e) - e[0] || 0;
|
|
130
|
-
}
|
|
131
|
-
function ye(e) {
|
|
132
|
-
return u(e) ? `[${e.map((e) => e === null ? "null" : ye(e))}]` : d(e) || C(e) ? JSON.stringify(e).replaceAll("\u2028", "\\u2028").replaceAll("\u2029", "\\u2029") : e;
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region ../../node_modules/vega-util/build/stringValue.js
|
|
80
|
+
function h(e) {
|
|
81
|
+
return l(e) ? `[${e.map((e) => e === null ? "null" : h(e))}]` : u(e) || m(e) ? JSON.stringify(e).replaceAll("\u2028", "\\u2028").replaceAll("\u2029", "\\u2029") : e;
|
|
133
82
|
}
|
|
134
|
-
|
|
83
|
+
//#endregion
|
|
84
|
+
//#region ../../node_modules/vega-util/build/toSet.js
|
|
85
|
+
function g(e) {
|
|
135
86
|
let t = {}, n = e.length;
|
|
136
|
-
for (let r = 0; r < n; ++r) t[e[r]] = !0;
|
|
87
|
+
for (let r = 0; r < n; ++r) t[e[r] + ""] = !0;
|
|
137
88
|
return t;
|
|
138
89
|
}
|
|
139
90
|
//#endregion
|
|
140
91
|
//#region ../../node_modules/d3-array/src/range.js
|
|
141
|
-
function
|
|
92
|
+
function _(e, t, n) {
|
|
142
93
|
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
|
|
143
94
|
for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
|
|
144
95
|
return a;
|
|
145
96
|
}
|
|
146
97
|
//#endregion
|
|
147
98
|
//#region ../../node_modules/d3-format/src/formatDecimal.js
|
|
148
|
-
function
|
|
99
|
+
function ee(e) {
|
|
149
100
|
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
|
|
150
101
|
}
|
|
151
|
-
function
|
|
102
|
+
function v(e, t) {
|
|
152
103
|
if (!isFinite(e) || e === 0) return null;
|
|
153
104
|
var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);
|
|
154
105
|
return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];
|
|
155
106
|
}
|
|
156
107
|
//#endregion
|
|
157
108
|
//#region ../../node_modules/d3-format/src/exponent.js
|
|
158
|
-
function
|
|
159
|
-
return e =
|
|
109
|
+
function te(e) {
|
|
110
|
+
return e = v(Math.abs(e)), e ? e[1] : NaN;
|
|
160
111
|
}
|
|
161
112
|
//#endregion
|
|
162
113
|
//#region ../../node_modules/d3-format/src/formatGroup.js
|
|
163
|
-
function
|
|
114
|
+
function ne(e, t) {
|
|
164
115
|
return function(n, r) {
|
|
165
116
|
for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];
|
|
166
117
|
return a.reverse().join(t);
|
|
@@ -168,7 +119,7 @@ function Te(e, t) {
|
|
|
168
119
|
}
|
|
169
120
|
//#endregion
|
|
170
121
|
//#region ../../node_modules/d3-format/src/formatNumerals.js
|
|
171
|
-
function
|
|
122
|
+
function re(e) {
|
|
172
123
|
return function(t) {
|
|
173
124
|
return t.replace(/[0-9]/g, function(t) {
|
|
174
125
|
return e[+t];
|
|
@@ -177,11 +128,11 @@ function Ee(e) {
|
|
|
177
128
|
}
|
|
178
129
|
//#endregion
|
|
179
130
|
//#region ../../node_modules/d3-format/src/formatSpecifier.js
|
|
180
|
-
var
|
|
181
|
-
function
|
|
182
|
-
if (!(t =
|
|
131
|
+
var ie = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
|
|
132
|
+
function y(e) {
|
|
133
|
+
if (!(t = ie.exec(e))) throw Error("invalid format: " + e);
|
|
183
134
|
var t;
|
|
184
|
-
return new
|
|
135
|
+
return new b({
|
|
185
136
|
fill: t[1],
|
|
186
137
|
align: t[2],
|
|
187
138
|
sign: t[3],
|
|
@@ -194,16 +145,16 @@ function Oe(e) {
|
|
|
194
145
|
type: t[10]
|
|
195
146
|
});
|
|
196
147
|
}
|
|
197
|
-
|
|
198
|
-
function
|
|
148
|
+
y.prototype = b.prototype;
|
|
149
|
+
function b(e) {
|
|
199
150
|
this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";
|
|
200
151
|
}
|
|
201
|
-
|
|
152
|
+
b.prototype.toString = function() {
|
|
202
153
|
return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
|
|
203
154
|
};
|
|
204
155
|
//#endregion
|
|
205
156
|
//#region ../../node_modules/d3-format/src/formatTrim.js
|
|
206
|
-
function
|
|
157
|
+
function ae(e) {
|
|
207
158
|
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
|
|
208
159
|
case ".":
|
|
209
160
|
r = i = n;
|
|
@@ -220,46 +171,46 @@ function Ae(e) {
|
|
|
220
171
|
}
|
|
221
172
|
//#endregion
|
|
222
173
|
//#region ../../node_modules/d3-format/src/formatPrefixAuto.js
|
|
223
|
-
var
|
|
224
|
-
function
|
|
225
|
-
var n =
|
|
226
|
-
if (!n) return
|
|
227
|
-
var r = n[0], i = n[1], a = i - (
|
|
228
|
-
return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") +
|
|
174
|
+
var oe;
|
|
175
|
+
function x(e, t) {
|
|
176
|
+
var n = v(e, t);
|
|
177
|
+
if (!n) return oe = void 0, e.toPrecision(t);
|
|
178
|
+
var r = n[0], i = n[1], a = i - (oe = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
|
|
179
|
+
return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + v(e, Math.max(0, t + a - 1))[0];
|
|
229
180
|
}
|
|
230
181
|
//#endregion
|
|
231
182
|
//#region ../../node_modules/d3-format/src/formatRounded.js
|
|
232
|
-
function
|
|
233
|
-
var n =
|
|
183
|
+
function se(e, t) {
|
|
184
|
+
var n = v(e, t);
|
|
234
185
|
if (!n) return e + "";
|
|
235
186
|
var r = n[0], i = n[1];
|
|
236
187
|
return i < 0 ? "0." + Array(-i).join("0") + r : r.length > i + 1 ? r.slice(0, i + 1) + "." + r.slice(i + 1) : r + Array(i - r.length + 2).join("0");
|
|
237
188
|
}
|
|
238
189
|
//#endregion
|
|
239
190
|
//#region ../../node_modules/d3-format/src/formatTypes.js
|
|
240
|
-
var
|
|
191
|
+
var ce = {
|
|
241
192
|
"%": (e, t) => (e * 100).toFixed(t),
|
|
242
193
|
b: (e) => Math.round(e).toString(2),
|
|
243
194
|
c: (e) => e + "",
|
|
244
|
-
d:
|
|
195
|
+
d: ee,
|
|
245
196
|
e: (e, t) => e.toExponential(t),
|
|
246
197
|
f: (e, t) => e.toFixed(t),
|
|
247
198
|
g: (e, t) => e.toPrecision(t),
|
|
248
199
|
o: (e) => Math.round(e).toString(8),
|
|
249
|
-
p: (e, t) =>
|
|
250
|
-
r:
|
|
251
|
-
s:
|
|
200
|
+
p: (e, t) => se(e * 100, t),
|
|
201
|
+
r: se,
|
|
202
|
+
s: x,
|
|
252
203
|
X: (e) => Math.round(e).toString(16).toUpperCase(),
|
|
253
204
|
x: (e) => Math.round(e).toString(16)
|
|
254
205
|
};
|
|
255
206
|
//#endregion
|
|
256
207
|
//#region ../../node_modules/d3-format/src/identity.js
|
|
257
|
-
function
|
|
208
|
+
function le(e) {
|
|
258
209
|
return e;
|
|
259
210
|
}
|
|
260
211
|
//#endregion
|
|
261
212
|
//#region ../../node_modules/d3-format/src/locale.js
|
|
262
|
-
var
|
|
213
|
+
var ue = Array.prototype.map, de = [
|
|
263
214
|
"y",
|
|
264
215
|
"z",
|
|
265
216
|
"a",
|
|
@@ -278,41 +229,41 @@ var Ie = Array.prototype.map, Le = [
|
|
|
278
229
|
"Z",
|
|
279
230
|
"Y"
|
|
280
231
|
];
|
|
281
|
-
function
|
|
282
|
-
var t = e.grouping === void 0 || e.thousands === void 0 ?
|
|
232
|
+
function fe(e) {
|
|
233
|
+
var t = e.grouping === void 0 || e.thousands === void 0 ? le : ne(ue.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? le : re(ue.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
|
|
283
234
|
function l(e, l) {
|
|
284
|
-
e =
|
|
285
|
-
var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width,
|
|
286
|
-
v === "n" ? (
|
|
287
|
-
var te = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(v) ? "0" + v.toLowerCase() : ""), ne = (p === "$" ? r : /[%p]/.test(v) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), re =
|
|
288
|
-
|
|
235
|
+
e = y(e);
|
|
236
|
+
var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, ee = e.trim, v = e.type;
|
|
237
|
+
v === "n" ? (g = !0, v = "g") : ce[v] || (_ === void 0 && (_ = 12), ee = !0, v = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
|
|
238
|
+
var te = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(v) ? "0" + v.toLowerCase() : ""), ne = (p === "$" ? r : /[%p]/.test(v) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), re = ce[v], ie = /[defgprs%]/.test(v);
|
|
239
|
+
_ = _ === void 0 ? 6 : /[gprs]/.test(v) ? Math.max(1, Math.min(21, _)) : Math.max(0, Math.min(20, _));
|
|
289
240
|
function b(e) {
|
|
290
241
|
var n = te, r = ne, o, l, p;
|
|
291
242
|
if (v === "c") r = re(e) + r, e = "";
|
|
292
243
|
else {
|
|
293
244
|
e = +e;
|
|
294
|
-
var
|
|
295
|
-
if (e = isNaN(e) ? c : re(Math.abs(e),
|
|
245
|
+
var y = e < 0 || 1 / e < 0;
|
|
246
|
+
if (e = isNaN(e) ? c : re(Math.abs(e), _), ee && (e = ae(e)), y && +e == 0 && f !== "+" && (y = !1), n = (y ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (v === "s" && !isNaN(e) && oe !== void 0 ? de[8 + oe / 3] : "") + r + (y && f === "(" ? ")" : ""), ie) {
|
|
296
247
|
for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {
|
|
297
248
|
r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);
|
|
298
249
|
break;
|
|
299
250
|
}
|
|
300
251
|
}
|
|
301
252
|
}
|
|
302
|
-
|
|
303
|
-
var
|
|
304
|
-
switch (
|
|
253
|
+
g && !m && (e = t(e, Infinity));
|
|
254
|
+
var b = n.length + e.length + r.length, x = b < h ? Array(h - b + 1).join(u) : "";
|
|
255
|
+
switch (g && m && (e = t(x + e, x.length ? h - r.length : Infinity), x = ""), d) {
|
|
305
256
|
case "<":
|
|
306
|
-
e = n + e + r +
|
|
257
|
+
e = n + e + r + x;
|
|
307
258
|
break;
|
|
308
259
|
case "=":
|
|
309
|
-
e = n +
|
|
260
|
+
e = n + x + e + r;
|
|
310
261
|
break;
|
|
311
262
|
case "^":
|
|
312
|
-
e =
|
|
263
|
+
e = x.slice(0, b = x.length >> 1) + n + e + r + x.slice(b);
|
|
313
264
|
break;
|
|
314
265
|
default:
|
|
315
|
-
e =
|
|
266
|
+
e = x + n + e + r;
|
|
316
267
|
break;
|
|
317
268
|
}
|
|
318
269
|
return a(e);
|
|
@@ -322,7 +273,7 @@ function Re(e) {
|
|
|
322
273
|
}, b;
|
|
323
274
|
}
|
|
324
275
|
function u(e, t) {
|
|
325
|
-
var n = Math.max(-8, Math.min(8, Math.floor(
|
|
276
|
+
var n = Math.max(-8, Math.min(8, Math.floor(te(t) / 3))) * 3, r = 10 ** -n, i = l((e = y(e), e.type = "f", e), { suffix: de[8 + n / 3] });
|
|
326
277
|
return function(e) {
|
|
327
278
|
return i(r * e);
|
|
328
279
|
};
|
|
@@ -334,18 +285,210 @@ function Re(e) {
|
|
|
334
285
|
}
|
|
335
286
|
//#endregion
|
|
336
287
|
//#region ../../node_modules/d3-format/src/defaultLocale.js
|
|
337
|
-
var
|
|
338
|
-
|
|
288
|
+
var pe, me, he;
|
|
289
|
+
ge({
|
|
339
290
|
thousands: ",",
|
|
340
291
|
grouping: [3],
|
|
341
292
|
currency: ["$", ""]
|
|
342
293
|
});
|
|
343
|
-
function
|
|
344
|
-
return
|
|
294
|
+
function ge(e) {
|
|
295
|
+
return pe = fe(e), me = pe.format, he = pe.formatPrefix, pe;
|
|
296
|
+
}
|
|
297
|
+
//#endregion
|
|
298
|
+
//#region ../core/src/utils/arrayUtils.js
|
|
299
|
+
function _e(e, t) {
|
|
300
|
+
return e.length == t.length && e.every((n, r) => e[r] === t[r]);
|
|
301
|
+
}
|
|
302
|
+
function ve(e) {
|
|
303
|
+
return Array.isArray(e) ? e : e === void 0 ? [] : [e];
|
|
304
|
+
}
|
|
305
|
+
function ye(e) {
|
|
306
|
+
return e[e.length - 1];
|
|
307
|
+
}
|
|
308
|
+
function be(e, t, n) {
|
|
309
|
+
if (t < 0 || t >= e.length) throw Error("Source index out of range.");
|
|
310
|
+
if (n < 0 || n > e.length - 1) throw Error("Destination index out of range.");
|
|
311
|
+
let [r] = e.splice(t, 1);
|
|
312
|
+
e.splice(n, 0, r);
|
|
313
|
+
}
|
|
314
|
+
//#endregion
|
|
315
|
+
//#region ../core/node_modules/vega-util/build/vega-util.js
|
|
316
|
+
function S(e, t, n) {
|
|
317
|
+
return e.fields = t || [], e.fname = n, e;
|
|
318
|
+
}
|
|
319
|
+
function xe(e) {
|
|
320
|
+
return e == null ? null : e.fname;
|
|
321
|
+
}
|
|
322
|
+
function Se(e) {
|
|
323
|
+
return e == null ? null : e.fields;
|
|
324
|
+
}
|
|
325
|
+
function Ce(e) {
|
|
326
|
+
return e.length === 1 ? we(e[0]) : Te(e);
|
|
327
|
+
}
|
|
328
|
+
var we = (e) => function(t) {
|
|
329
|
+
return t[e];
|
|
330
|
+
}, Te = (e) => {
|
|
331
|
+
let t = e.length;
|
|
332
|
+
return function(n) {
|
|
333
|
+
for (let r = 0; r < t; ++r) n = n[e[r]];
|
|
334
|
+
return n;
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
function Ee(e) {
|
|
338
|
+
throw Error(e);
|
|
339
|
+
}
|
|
340
|
+
function De(e) {
|
|
341
|
+
let t = [], n = e.length, r = null, i = 0, a = "", o, s, c;
|
|
342
|
+
e += "";
|
|
343
|
+
function l() {
|
|
344
|
+
t.push(a + e.substring(o, s)), a = "", o = s + 1;
|
|
345
|
+
}
|
|
346
|
+
for (o = s = 0; s < n; ++s) if (c = e[s], c === "\\") a += e.substring(o, s++), o = s;
|
|
347
|
+
else if (c === r) l(), r = null, i = -1;
|
|
348
|
+
else if (r) continue;
|
|
349
|
+
else o === i && c === "\"" || o === i && c === "'" ? (o = s + 1, r = c) : c === "." && !i ? s > o ? l() : o = s + 1 : c === "[" ? (s > o && l(), i = o = s + 1) : c === "]" && (i || Ee("Access path missing open bracket: " + e), i > 0 && l(), i = 0, o = s + 1);
|
|
350
|
+
return i && Ee("Access path missing closing bracket: " + e), r && Ee("Access path missing closing quote: " + e), s > o && (s++, l()), t;
|
|
351
|
+
}
|
|
352
|
+
function Oe(e, t, n) {
|
|
353
|
+
let r = De(e);
|
|
354
|
+
return e = r.length === 1 ? r[0] : e, S((n && n.get || Ce)(r), [e], t || e);
|
|
355
|
+
}
|
|
356
|
+
Oe("id");
|
|
357
|
+
var ke = S((e) => e, [], "identity");
|
|
358
|
+
S(() => 0, [], "zero"), S(() => 1, [], "one"), S(() => !0, [], "true"), S(() => !1, [], "false"), [...Object.getOwnPropertyNames(Object.prototype).filter((e) => typeof Object.prototype[e] == "function")];
|
|
359
|
+
var C = Array.isArray;
|
|
360
|
+
function Ae(e) {
|
|
361
|
+
return e === Object(e);
|
|
362
|
+
}
|
|
363
|
+
function je(e) {
|
|
364
|
+
return e[e.length - 1];
|
|
365
|
+
}
|
|
366
|
+
function Me(e) {
|
|
367
|
+
return e == null || e === "" ? null : +e;
|
|
368
|
+
}
|
|
369
|
+
var Ne = (e) => (t) => e * Math.exp(t), Pe = (e) => (t) => Math.log(e * t), Fe = (e) => (t) => Math.sign(t) * Math.log1p(Math.abs(t / e)), Ie = (e) => (t) => Math.sign(t) * Math.expm1(Math.abs(t)) * e, Le = (e) => (t) => t < 0 ? -((-t) ** +e) : t ** +e;
|
|
370
|
+
function Re(e, t, n, r) {
|
|
371
|
+
let i = n(e[0]), a = n(je(e)), o = (a - i) * t;
|
|
372
|
+
return [r(i - o), r(a - o)];
|
|
373
|
+
}
|
|
374
|
+
function ze(e, t) {
|
|
375
|
+
return Re(e, t, Me, ke);
|
|
376
|
+
}
|
|
377
|
+
function Be(e, t) {
|
|
378
|
+
var n = Math.sign(e[0]);
|
|
379
|
+
return Re(e, t, Pe(n), Ne(n));
|
|
380
|
+
}
|
|
381
|
+
function Ve(e, t, n) {
|
|
382
|
+
return Re(e, t, Le(n), Le(1 / n));
|
|
383
|
+
}
|
|
384
|
+
function He(e, t, n, r, i) {
|
|
385
|
+
let a = r(e[0]), o = r(je(e)), s = t == null ? (a + o) / 2 : r(t);
|
|
386
|
+
return [i(s + (a - s) * n), i(s + (o - s) * n)];
|
|
387
|
+
}
|
|
388
|
+
function Ue(e, t, n) {
|
|
389
|
+
return He(e, t, n, Me, ke);
|
|
390
|
+
}
|
|
391
|
+
function We(e, t, n) {
|
|
392
|
+
let r = Math.sign(e[0]);
|
|
393
|
+
return He(e, t, n, Pe(r), Ne(r));
|
|
394
|
+
}
|
|
395
|
+
function Ge(e, t, n, r) {
|
|
396
|
+
return He(e, t, n, Le(r), Le(1 / r));
|
|
397
|
+
}
|
|
398
|
+
function Ke(e, t, n, r) {
|
|
399
|
+
return He(e, t, n, Fe(r), Ie(r));
|
|
400
|
+
}
|
|
401
|
+
function qe(e) {
|
|
402
|
+
return e == null ? [] : C(e) ? e : [e];
|
|
403
|
+
}
|
|
404
|
+
function Je(e, t, n) {
|
|
405
|
+
let r = e[0], i = e[1], a;
|
|
406
|
+
return i < r && (a = i, i = r, r = a), a = i - r, a >= n - t ? [t, n] : [r = Math.min(Math.max(r, t), n - a), r + a];
|
|
407
|
+
}
|
|
408
|
+
function Ye(e) {
|
|
409
|
+
return typeof e == "function";
|
|
410
|
+
}
|
|
411
|
+
var Xe = "descending";
|
|
412
|
+
function Ze(e, t, n) {
|
|
413
|
+
n ||= {}, t = qe(t) || [];
|
|
414
|
+
let r = [], i = [], a = {}, o = n.comparator || $e;
|
|
415
|
+
return qe(e).forEach((e, o) => {
|
|
416
|
+
e != null && (r.push(t[o] === Xe ? -1 : 1), i.push(e = Ye(e) ? e : Oe(e, null, n)), (Se(e) || []).forEach((e) => a[e] = 1));
|
|
417
|
+
}), i.length === 0 ? null : S(o(i, r), Object.keys(a));
|
|
418
|
+
}
|
|
419
|
+
var Qe = (e, t) => (e < t || e == null) && t != null ? -1 : (e > t || t == null) && e != null ? 1 : (t = t instanceof Date ? +t : t, e = e instanceof Date ? +e : e) !== e && t === t ? -1 : +(t !== t && e === e), $e = (e, t) => e.length === 1 ? et(e[0], t[0]) : tt(e, t, e.length), et = (e, t) => function(n, r) {
|
|
420
|
+
return Qe(e(n), e(r)) * t;
|
|
421
|
+
}, tt = (e, t, n) => (t.push(0), function(r, i) {
|
|
422
|
+
let a, o = 0, s = -1;
|
|
423
|
+
for (; o === 0 && ++s < n;) a = e[s], o = Qe(a(r), a(i));
|
|
424
|
+
return o * t[s];
|
|
425
|
+
});
|
|
426
|
+
function nt(e) {
|
|
427
|
+
return typeof e == "boolean";
|
|
428
|
+
}
|
|
429
|
+
function rt(e) {
|
|
430
|
+
return typeof e == "number";
|
|
431
|
+
}
|
|
432
|
+
function it(e) {
|
|
433
|
+
return Object.prototype.toString.call(e) === "[object RegExp]";
|
|
434
|
+
}
|
|
435
|
+
function w(e) {
|
|
436
|
+
return typeof e == "string";
|
|
437
|
+
}
|
|
438
|
+
function at(e, t) {
|
|
439
|
+
let n = e[0], r = je(e), i = +t;
|
|
440
|
+
return i ? i === 1 ? r : n + i * (r - n) : n;
|
|
441
|
+
}
|
|
442
|
+
function ot(e) {
|
|
443
|
+
return e && je(e) - e[0] || 0;
|
|
444
|
+
}
|
|
445
|
+
function st(e) {
|
|
446
|
+
return C(e) ? `[${e.map((e) => e === null ? "null" : st(e))}]` : Ae(e) || w(e) ? JSON.stringify(e).replaceAll("\u2028", "\\u2028").replaceAll("\u2029", "\\u2029") : e;
|
|
447
|
+
}
|
|
448
|
+
function ct(e) {
|
|
449
|
+
let t = {}, n = e.length;
|
|
450
|
+
for (let r = 0; r < n; ++r) t[e[r]] = !0;
|
|
451
|
+
return t;
|
|
345
452
|
}
|
|
346
453
|
//#endregion
|
|
347
|
-
//#region ../core/src/data/
|
|
348
|
-
var
|
|
454
|
+
//#region ../core/src/data/sideInputBinding.js
|
|
455
|
+
var lt = class {
|
|
456
|
+
#e;
|
|
457
|
+
#t;
|
|
458
|
+
#n = !1;
|
|
459
|
+
#r = !0;
|
|
460
|
+
#i = [];
|
|
461
|
+
constructor(e) {
|
|
462
|
+
this.#e = e, this.#t = Array.from(new Set(e.dataDependencies), (e) => ({
|
|
463
|
+
collector: e,
|
|
464
|
+
consumed: -1
|
|
465
|
+
}));
|
|
466
|
+
for (let t of this.#t) this.#i.push(t.collector.observe(() => {
|
|
467
|
+
e.parent && e.completed && !this.isReady() && e.areDataDependenciesAvailable() && e.requestRepropagate();
|
|
468
|
+
}));
|
|
469
|
+
}
|
|
470
|
+
dispose() {
|
|
471
|
+
for (let e of this.#i) e();
|
|
472
|
+
this.#i.length = 0;
|
|
473
|
+
}
|
|
474
|
+
reset() {
|
|
475
|
+
this.#n = !1, this.#r = !0;
|
|
476
|
+
for (let e of this.#t) e.consumed = -1;
|
|
477
|
+
}
|
|
478
|
+
consume() {
|
|
479
|
+
if (!this.#e.areDataDependenciesAvailable()) this.#r = !1;
|
|
480
|
+
else if (!this.#n) {
|
|
481
|
+
for (let e of this.#t) e.consumed = e.collector.dataRevision;
|
|
482
|
+
this.#n = !0;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
complete() {
|
|
486
|
+
this.#n || this.consume();
|
|
487
|
+
}
|
|
488
|
+
isReady() {
|
|
489
|
+
return this.#r && this.#n && this.#e.areDataDependenciesAvailable() && this.#t.every(({ collector: e, consumed: t }) => e.dataRevision === t);
|
|
490
|
+
}
|
|
491
|
+
}, ut = class {
|
|
349
492
|
stats = {
|
|
350
493
|
count: 0,
|
|
351
494
|
first: null
|
|
@@ -353,6 +496,8 @@ var Ue = class {
|
|
|
353
496
|
#e = !1;
|
|
354
497
|
#t = !1;
|
|
355
498
|
#n = [];
|
|
499
|
+
#r;
|
|
500
|
+
#i;
|
|
356
501
|
paramRuntimeProvider = null;
|
|
357
502
|
get behavior() {
|
|
358
503
|
return 0;
|
|
@@ -360,6 +505,18 @@ var Ue = class {
|
|
|
360
505
|
get domainSensitiveScaleChannels() {
|
|
361
506
|
return [];
|
|
362
507
|
}
|
|
508
|
+
get dataDependencies() {
|
|
509
|
+
return [];
|
|
510
|
+
}
|
|
511
|
+
isDataReady() {
|
|
512
|
+
return this.completed && !this.disposed && (!this.#i || this.#i.isReady());
|
|
513
|
+
}
|
|
514
|
+
areDataDependenciesAvailable() {
|
|
515
|
+
return this.dataDependencies.every((e) => e.completed && !e.disposed);
|
|
516
|
+
}
|
|
517
|
+
consumeDataDependencies() {
|
|
518
|
+
this.#i?.consume();
|
|
519
|
+
}
|
|
363
520
|
get label() {
|
|
364
521
|
return `(${this.constructor.name})`;
|
|
365
522
|
}
|
|
@@ -383,26 +540,26 @@ var Ue = class {
|
|
|
383
540
|
initialized: this.#e,
|
|
384
541
|
disposed: this.#t,
|
|
385
542
|
params: "params" in e ? structuredClone(e.params) : void 0,
|
|
386
|
-
view:
|
|
543
|
+
view: dt(e, this.paramRuntimeProvider),
|
|
387
544
|
domainSensitiveScaleChannels: this.domainSensitiveScaleChannels
|
|
388
545
|
};
|
|
389
546
|
}
|
|
390
547
|
reset() {
|
|
391
|
-
this.completed = !1;
|
|
548
|
+
this.#i?.reset(), this.completed = !1;
|
|
392
549
|
for (let e of this.children) e.reset();
|
|
393
550
|
this.stats.count = 0, this.stats.first = null;
|
|
394
551
|
}
|
|
395
552
|
initialize() {}
|
|
396
553
|
initializeOnce() {
|
|
397
|
-
this.#e ||= (this.initialize(), !0);
|
|
554
|
+
this.#e ||= (this.dataDependencies.length && (this.#i = new lt(this)), this.initialize(), !0);
|
|
398
555
|
}
|
|
399
|
-
#
|
|
400
|
-
this._propagate = Function("children", "stats",
|
|
556
|
+
#a() {
|
|
557
|
+
this._propagate = Function("children", "stats", _(this.children.length).map((e) => `const child${e} = children[${e}];`).join("\n") + `return function propagate(datum) {
|
|
401
558
|
if (stats.count === 0) {
|
|
402
559
|
stats.first = structuredClone(datum);
|
|
403
560
|
}
|
|
404
561
|
stats.count++;
|
|
405
|
-
${
|
|
562
|
+
${_(this.children.length).map((e) => `child${e}.handle(datum);`).join("\n")}
|
|
406
563
|
};`)(this.children, this.stats);
|
|
407
564
|
}
|
|
408
565
|
setParent(e) {
|
|
@@ -410,7 +567,7 @@ var Ue = class {
|
|
|
410
567
|
}
|
|
411
568
|
addChild(e) {
|
|
412
569
|
if (e.parent) throw Error("Cannot add the child! It already has a parent.");
|
|
413
|
-
return this.children.push(e), e.setParent(this), this.#
|
|
570
|
+
return this.children.push(e), e.setParent(this), this.#a(), this;
|
|
414
571
|
}
|
|
415
572
|
adopt(e) {
|
|
416
573
|
e.parent && e.parent.removeChild(e), this.addChild(e);
|
|
@@ -420,11 +577,11 @@ var Ue = class {
|
|
|
420
577
|
}
|
|
421
578
|
insertAsParent(e) {
|
|
422
579
|
if (this.isRoot()) throw Error("Cannot insert a new parent for a root node!");
|
|
423
|
-
e.parent = this.parent, this.parent.children[this.parent.children.indexOf(this)] = e, this.parent.#
|
|
580
|
+
e.parent = this.parent, this.parent.children[this.parent.children.indexOf(this)] = e, this.parent.#a(), this.parent = void 0, e.addChild(this);
|
|
424
581
|
}
|
|
425
582
|
removeChild(e) {
|
|
426
583
|
let t = this.children.indexOf(e);
|
|
427
|
-
if (t > -1) this.children.splice(t, 1), e.parent = void 0, this.#
|
|
584
|
+
if (t > -1) this.children.splice(t, 1), e.parent = void 0, this.#a();
|
|
428
585
|
else throw Error("Trying to remove an unknown child node!");
|
|
429
586
|
}
|
|
430
587
|
excise() {
|
|
@@ -432,7 +589,7 @@ var Ue = class {
|
|
|
432
589
|
if (this.isTerminal()) this.parent.removeChild(this);
|
|
433
590
|
else if (this.children.length == 1) {
|
|
434
591
|
let e = this.children[0];
|
|
435
|
-
e.setParent(this.parent), this.parent.children[this.parent.children.indexOf(this)] = e, this.parent.#
|
|
592
|
+
e.setParent(this.parent), this.parent.children[this.parent.children.indexOf(this)] = e, this.parent.#a(), this.setParent(void 0), this.children.length = 0;
|
|
436
593
|
} else throw Error("Cannot excise a node that has multiple children!");
|
|
437
594
|
}
|
|
438
595
|
isRoot() {
|
|
@@ -457,7 +614,7 @@ var Ue = class {
|
|
|
457
614
|
this._propagate(e);
|
|
458
615
|
}
|
|
459
616
|
complete() {
|
|
460
|
-
this.completed = !0;
|
|
617
|
+
this.#i?.complete(), this.completed = !0;
|
|
461
618
|
for (let e of this.children) e.complete();
|
|
462
619
|
}
|
|
463
620
|
registerDisposer(e) {
|
|
@@ -465,7 +622,7 @@ var Ue = class {
|
|
|
465
622
|
}
|
|
466
623
|
dispose() {
|
|
467
624
|
if (!this.#t) {
|
|
468
|
-
this.#t = !0;
|
|
625
|
+
this.#t = !0, this.#i?.dispose();
|
|
469
626
|
for (let e of this.#n) e();
|
|
470
627
|
this.#n.length = 0;
|
|
471
628
|
}
|
|
@@ -484,17 +641,41 @@ var Ue = class {
|
|
|
484
641
|
if (!this.parent) throw Error("Cannot find paramRuntime!");
|
|
485
642
|
return this.parent.paramRuntime;
|
|
486
643
|
}
|
|
644
|
+
get replaySource() {
|
|
645
|
+
if (!this.parent) throw Error("Cannot replay data: no upstream replay source.");
|
|
646
|
+
return this.parent.replaySource;
|
|
647
|
+
}
|
|
648
|
+
get replaysSynchronously() {
|
|
649
|
+
return !1;
|
|
650
|
+
}
|
|
651
|
+
requestRepropagate() {
|
|
652
|
+
let e = this.replaySource, t = this.paramRuntime.updateScheduler;
|
|
653
|
+
e.#r ||= () => {
|
|
654
|
+
e.disposed || (e.replaysSynchronously && e.visit((e) => {
|
|
655
|
+
e.#r && t.cancelUpdate(e.#r);
|
|
656
|
+
}), e.repropagate());
|
|
657
|
+
};
|
|
658
|
+
let n = 0;
|
|
659
|
+
for (let t = e.parent; t; t = t.parent) n++;
|
|
660
|
+
t.requestUpdate(e.#r, n, void 0, () => e.#o());
|
|
661
|
+
}
|
|
662
|
+
#o() {
|
|
663
|
+
let e = /* @__PURE__ */ new Set();
|
|
664
|
+
return this.visit((t) => {
|
|
665
|
+
for (let n of t.dataDependencies) for (let t = n.parent; t; t = t.parent) t !== this && t.#r && e.add(t.#r);
|
|
666
|
+
}), e;
|
|
667
|
+
}
|
|
487
668
|
repropagate() {
|
|
488
669
|
if (this.parent) this.parent.repropagate();
|
|
489
670
|
else throw Error("Cannot repropagate data, no FlowNode with stored data found!");
|
|
490
671
|
}
|
|
491
672
|
_propagate(e) {}
|
|
492
673
|
};
|
|
493
|
-
function
|
|
674
|
+
function dt(e, t) {
|
|
494
675
|
if ("view" in e) return e.view;
|
|
495
676
|
if (t && "getPathString" in t) return t;
|
|
496
677
|
}
|
|
497
|
-
function
|
|
678
|
+
function ft(e) {
|
|
498
679
|
let t = /* @__PURE__ */ new Set();
|
|
499
680
|
for (; e;) {
|
|
500
681
|
for (let n of e.domainSensitiveScaleChannels) t.add(n);
|
|
@@ -502,156 +683,35 @@ function Ge(e) {
|
|
|
502
683
|
}
|
|
503
684
|
return t;
|
|
504
685
|
}
|
|
505
|
-
function
|
|
686
|
+
function pt(e) {
|
|
506
687
|
return e.type == "file";
|
|
507
688
|
}
|
|
508
|
-
function
|
|
689
|
+
function mt(e) {
|
|
509
690
|
return e.type == "facet";
|
|
510
691
|
}
|
|
511
692
|
//#endregion
|
|
512
|
-
//#region ../core/src/
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
return e;
|
|
529
|
-
}
|
|
530
|
-
function Xe(e) {
|
|
531
|
-
return ("expr" in e || "bind" in e) && !("select" in e) && !("ruler" in e);
|
|
532
|
-
}
|
|
533
|
-
function Ze(e) {
|
|
534
|
-
return !("expr" in e || "bind" in e) && "select" in e;
|
|
535
|
-
}
|
|
536
|
-
function Qe(e) {
|
|
537
|
-
return !("expr" in e || "bind" in e || "select" in e) && "ruler" in e;
|
|
538
|
-
}
|
|
539
|
-
function $e(e) {
|
|
540
|
-
if (!/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)) throw Error("Invalid parameter name: " + e + ". Must be a valid JavaScript identifier.");
|
|
541
|
-
return e;
|
|
542
|
-
}
|
|
543
|
-
function et(e, t, n) {
|
|
544
|
-
if ("select" in e) {
|
|
545
|
-
let t = Vr(e.select);
|
|
546
|
-
if (Hr(t)) return t.toggle ? Pr() : Nr(null);
|
|
547
|
-
if (Ur(t)) {
|
|
548
|
-
if (!t.encodings) throw Error("Interval selection \"" + e.name + "\" must have encodings defined!");
|
|
549
|
-
return Fr(t.encodings);
|
|
693
|
+
//#region ../core/src/data/transforms/transform.js
|
|
694
|
+
var ht = class extends ut {
|
|
695
|
+
#e;
|
|
696
|
+
constructor(e, t) {
|
|
697
|
+
super(t), this.#e = e.type;
|
|
698
|
+
}
|
|
699
|
+
get label() {
|
|
700
|
+
return this.#e;
|
|
701
|
+
}
|
|
702
|
+
watchExprRef(e, t) {
|
|
703
|
+
if (G(e)) {
|
|
704
|
+
let n = e;
|
|
705
|
+
return this.paramRuntime.watchExpression(n.expr, t, {
|
|
706
|
+
scopeOwned: !1,
|
|
707
|
+
registerDisposer: (e) => this.registerDisposer(e)
|
|
708
|
+
});
|
|
550
709
|
}
|
|
551
|
-
|
|
710
|
+
return (() => e);
|
|
552
711
|
}
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
if (!r) throw Error("Cannot evaluate expression for parameter \"" + e.name + "\".");
|
|
557
|
-
return r(null);
|
|
558
|
-
}
|
|
559
|
-
return "value" in e ? e.value : null;
|
|
560
|
-
}
|
|
561
|
-
function tt(e, t, n, r, i = {}) {
|
|
562
|
-
let a = { ...t }, o = /* @__PURE__ */ new Set(), s = !1, c = !1, l = i.batchMode ?? "microtask";
|
|
563
|
-
r?.(() => {
|
|
564
|
-
c = !0, o.clear(), s = !1;
|
|
565
|
-
});
|
|
566
|
-
let u = () => {
|
|
567
|
-
if (c) return;
|
|
568
|
-
if (!n || o.size === 0) {
|
|
569
|
-
s = !1;
|
|
570
|
-
return;
|
|
571
|
-
}
|
|
572
|
-
let e = new Set(o);
|
|
573
|
-
o.clear(), s = !1, n(e);
|
|
574
|
-
}, d = (t) => {
|
|
575
|
-
c || (o.add(t), s || (s = !0, queueMicrotask(() => {
|
|
576
|
-
c || (l == "whenPropagated" && e.whenPropagated ? e.whenPropagated().then(u).catch(() => {
|
|
577
|
-
u();
|
|
578
|
-
}) : u());
|
|
579
|
-
})));
|
|
580
|
-
};
|
|
581
|
-
for (let [i, o] of Object.entries(t)) if (w(o)) if (n) {
|
|
582
|
-
let t = () => d(i), n = e.watchExpression ? e.watchExpression(o.expr, t, {
|
|
583
|
-
scopeOwned: !r,
|
|
584
|
-
registerDisposer: r
|
|
585
|
-
}) : e.createExpression(o.expr);
|
|
586
|
-
if (!e.watchExpression) {
|
|
587
|
-
let e = n.subscribe(t);
|
|
588
|
-
r?.(e);
|
|
589
|
-
}
|
|
590
|
-
Object.defineProperty(a, i, {
|
|
591
|
-
enumerable: !0,
|
|
592
|
-
get() {
|
|
593
|
-
return n();
|
|
594
|
-
}
|
|
595
|
-
});
|
|
596
|
-
} else {
|
|
597
|
-
let t = e.createExpression(o.expr);
|
|
598
|
-
Object.defineProperty(a, i, {
|
|
599
|
-
enumerable: !0,
|
|
600
|
-
get() {
|
|
601
|
-
return t();
|
|
602
|
-
}
|
|
603
|
-
});
|
|
604
|
-
}
|
|
605
|
-
else a[i] = o;
|
|
606
|
-
return a;
|
|
607
|
-
}
|
|
608
|
-
function nt(e, t, n, r) {
|
|
609
|
-
if (!w(t)) return t;
|
|
610
|
-
let i = () => {
|
|
611
|
-
throw Error(n);
|
|
612
|
-
}, a = e.watchExpression ? e.watchExpression(t.expr, i, {
|
|
613
|
-
scopeOwned: !1,
|
|
614
|
-
registerDisposer: r
|
|
615
|
-
}) : e.createExpression(t.expr);
|
|
616
|
-
if (!e.watchExpression) {
|
|
617
|
-
let e = a.subscribe(i);
|
|
618
|
-
r?.(e);
|
|
619
|
-
}
|
|
620
|
-
return a();
|
|
621
|
-
}
|
|
622
|
-
function rt(e) {
|
|
623
|
-
return Object.assign(() => e, {
|
|
624
|
-
subscribe: () => () => void 0,
|
|
625
|
-
invalidate: () => void 0,
|
|
626
|
-
identifier: () => "constant",
|
|
627
|
-
fields: [],
|
|
628
|
-
globals: [],
|
|
629
|
-
code: JSON.stringify(e)
|
|
630
|
-
});
|
|
631
|
-
}
|
|
632
|
-
//#endregion
|
|
633
|
-
//#region ../core/src/data/transforms/transform.js
|
|
634
|
-
var it = class extends Ue {
|
|
635
|
-
#e;
|
|
636
|
-
constructor(e, t) {
|
|
637
|
-
super(t), this.#e = e.type;
|
|
638
|
-
}
|
|
639
|
-
get label() {
|
|
640
|
-
return this.#e;
|
|
641
|
-
}
|
|
642
|
-
watchExprRef(e, t) {
|
|
643
|
-
if (w(e)) {
|
|
644
|
-
let n = e;
|
|
645
|
-
return this.paramRuntime.watchExpression(n.expr, t, {
|
|
646
|
-
scopeOwned: !1,
|
|
647
|
-
registerDisposer: (e) => this.registerDisposer(e)
|
|
648
|
-
});
|
|
649
|
-
}
|
|
650
|
-
return (() => e);
|
|
651
|
-
}
|
|
652
|
-
}, T = "__uniqueId", at = 1e4, ot = [null], st = class extends it {
|
|
653
|
-
get behavior() {
|
|
654
|
-
return 2;
|
|
712
|
+
}, T = "__uniqueId", gt = 1e4, _t = [null], vt = class extends ht {
|
|
713
|
+
get behavior() {
|
|
714
|
+
return 2;
|
|
655
715
|
}
|
|
656
716
|
constructor(e) {
|
|
657
717
|
super(e), this.params = e, this._blocks = [], this._usedBlocks = 0, this._id = -1;
|
|
@@ -664,173 +724,411 @@ var it = class extends Ue {
|
|
|
664
724
|
e[T] = this.#e(), this._propagate(e);
|
|
665
725
|
}
|
|
666
726
|
#e() {
|
|
667
|
-
return ++this._id % 1e4 == 0 && (this._id = this.#t() *
|
|
727
|
+
return ++this._id % 1e4 == 0 && (this._id = this.#t() * gt), this._id;
|
|
668
728
|
}
|
|
669
729
|
#t() {
|
|
670
730
|
return this._usedBlocks < this._blocks.length ? this._blocks[this._usedBlocks++] : this.#n();
|
|
671
731
|
}
|
|
672
732
|
#n() {
|
|
673
|
-
let e =
|
|
674
|
-
return
|
|
733
|
+
let e = _t.length;
|
|
734
|
+
return _t[e] = this, this._blocks.push(e), this._usedBlocks++, e;
|
|
675
735
|
}
|
|
676
736
|
};
|
|
677
737
|
//#endregion
|
|
678
738
|
//#region ../core/src/utils/field.js
|
|
679
|
-
function
|
|
680
|
-
return /^[A-Za-z0-9_]+$/.test(
|
|
739
|
+
function yt(e, t = e) {
|
|
740
|
+
return /^[A-Za-z0-9_]+$/.test(e) ? S(Function("validator", `
|
|
681
741
|
let validated = !validator;
|
|
682
742
|
return function accessField(datum) {
|
|
683
743
|
if (!validated) {
|
|
684
744
|
validator(datum);
|
|
685
745
|
validated = true;
|
|
686
746
|
}
|
|
687
|
-
return datum[${JSON.stringify(
|
|
688
|
-
}`)(function(
|
|
689
|
-
|
|
690
|
-
}), [
|
|
747
|
+
return datum[${JSON.stringify(e)}];
|
|
748
|
+
}`)(function(t) {
|
|
749
|
+
e in t || bt(t, e);
|
|
750
|
+
}), [e], t) : Oe(e);
|
|
691
751
|
}
|
|
692
|
-
function
|
|
752
|
+
function bt(e, t) {
|
|
693
753
|
throw Error(`Invalid field "${t}". Available fields or properties: ${Object.keys(e).join(", ")}`);
|
|
694
754
|
}
|
|
695
755
|
//#endregion
|
|
696
|
-
//#region
|
|
697
|
-
function
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
756
|
+
//#region ../core/src/encoder/accessor.js
|
|
757
|
+
function xt(e, t, n) {
|
|
758
|
+
if (!e) throw Error("Cannot create an accessor without a channel.");
|
|
759
|
+
function r(n) {
|
|
760
|
+
let r = n;
|
|
761
|
+
return r.fields ??= [], r.constant = r.fields.length === 0, r.channelDef = t, r.channel = e, r.sourceKey = wt(t), r.scaleChannel = ((zt(t) && t.resolutionChannel) ?? (un(e) && e)) || void 0, r.scaleChannel !== void 0 && (r.domainKeyBase = Tt({
|
|
762
|
+
scaleChannel: r.scaleChannel,
|
|
763
|
+
source: Ct(t)
|
|
764
|
+
}).domainKeyBase), r.equals = (e) => e ? r === e || r.sourceKey !== void 0 && r.sourceKey === e.sourceKey : !1, r.asNumberAccessor = () => r, r;
|
|
765
|
+
}
|
|
766
|
+
function i(e) {
|
|
767
|
+
if (G(e)) {
|
|
768
|
+
let t = r(n.createExpression(e.expr));
|
|
769
|
+
if (t.fields.length > 0) throw Error("Expression in DatumDef/ValueDef cannot access data fields: " + e.expr);
|
|
770
|
+
return t;
|
|
771
|
+
} else {
|
|
772
|
+
let t = e;
|
|
773
|
+
return r(() => t);
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
if (E(t)) try {
|
|
777
|
+
return r(yt(t.field));
|
|
778
|
+
} catch (e) {
|
|
779
|
+
throw Error(`Invalid field definition: ${e.message}`, { cause: e });
|
|
780
|
+
}
|
|
781
|
+
else if (Wt(t)) return r(n.createExpression(t.expr));
|
|
782
|
+
else if (Rt(t)) return i(t.datum);
|
|
783
|
+
else if (Lt(t)) return i(t.value);
|
|
784
|
+
else throw Error(`Invalid channel definition: "${e}": ${JSON.stringify(t)}! The channel definition must contain one of the following properties: "field", "datum", "value" or "expr".`);
|
|
785
|
+
}
|
|
786
|
+
function St(e) {
|
|
787
|
+
return e.scaleChannel !== void 0;
|
|
788
|
+
}
|
|
789
|
+
function Ct(e) {
|
|
790
|
+
if (E(e)) return {
|
|
791
|
+
kind: "field",
|
|
792
|
+
value: e.field
|
|
793
|
+
};
|
|
794
|
+
if (Wt(e)) return {
|
|
795
|
+
kind: "expr",
|
|
796
|
+
value: e.expr
|
|
797
|
+
};
|
|
798
|
+
if (Rt(e)) return {
|
|
799
|
+
kind: "datum",
|
|
800
|
+
value: e.datum
|
|
801
|
+
};
|
|
802
|
+
if (Lt(e)) return {
|
|
803
|
+
kind: "value",
|
|
804
|
+
value: e.value
|
|
805
|
+
};
|
|
806
|
+
throw Error("Cannot derive a domain key from channel definition: " + JSON.stringify(e));
|
|
807
|
+
}
|
|
808
|
+
function wt(e) {
|
|
809
|
+
let t = Ct(e);
|
|
810
|
+
return t.kind === "datum" || t.kind === "value" ? "constant|" + Ot(t.value) : t.kind + "|" + Dt(t);
|
|
811
|
+
}
|
|
812
|
+
function Tt({ scaleChannel: e, source: t, type: n }) {
|
|
813
|
+
if (!e) throw Error("Cannot build a domain key without a scale channel.");
|
|
814
|
+
let r = e + "|" + t.kind + "|" + Dt(t);
|
|
815
|
+
return {
|
|
816
|
+
domainKeyBase: r,
|
|
817
|
+
domainKey: n ? n + "|" + r : void 0
|
|
818
|
+
};
|
|
819
|
+
}
|
|
820
|
+
function Et(e, t) {
|
|
821
|
+
let { domainKey: n, domainKeyBase: r } = Tt({
|
|
822
|
+
scaleChannel: e.scaleChannel,
|
|
823
|
+
source: Ct(e.channelDef),
|
|
824
|
+
type: t
|
|
701
825
|
});
|
|
826
|
+
if (!n) throw Error("Cannot finalize a domain key without a resolved type.");
|
|
827
|
+
return e.domainKeyBase = r, e.domainKey = n, n;
|
|
828
|
+
}
|
|
829
|
+
function Dt(e) {
|
|
830
|
+
switch (e.kind) {
|
|
831
|
+
case "field":
|
|
832
|
+
case "expr": return e.value;
|
|
833
|
+
case "datum":
|
|
834
|
+
case "value": return Ot(e.value);
|
|
835
|
+
default: throw Error("Unknown domain key source.");
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
function Ot(e) {
|
|
839
|
+
return G(e) ? "expr:" + e.expr : e === void 0 ? "undefined" : JSON.stringify(e);
|
|
702
840
|
}
|
|
703
841
|
//#endregion
|
|
704
|
-
//#region
|
|
705
|
-
function
|
|
706
|
-
|
|
842
|
+
//#region ../core/src/encoder/encoder.js
|
|
843
|
+
function kt(e, t, n, r) {
|
|
844
|
+
let i, a = Xi(!1), o = () => {
|
|
845
|
+
if (i) return i;
|
|
846
|
+
let o = n.findValue(e);
|
|
847
|
+
if (!o) return a;
|
|
848
|
+
let s = {};
|
|
849
|
+
if (Ni(o)) {
|
|
850
|
+
let n = Object.keys(o.intervals);
|
|
851
|
+
for (let r of n) {
|
|
852
|
+
let n = t[r];
|
|
853
|
+
if (E(n)) {
|
|
854
|
+
s[r] = n.field;
|
|
855
|
+
continue;
|
|
856
|
+
} else if (n && "condition" in n) {
|
|
857
|
+
let e = n.condition;
|
|
858
|
+
if (E(e)) {
|
|
859
|
+
s[r] = e.field;
|
|
860
|
+
continue;
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
throw Error(`Selection "${e}" has an interval for "${r}" channel, but could not find a fieldDef: ${JSON.stringify(t[r])}`);
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
let c = Mi({
|
|
867
|
+
type: "filter",
|
|
868
|
+
param: e,
|
|
869
|
+
fields: s,
|
|
870
|
+
empty: r
|
|
871
|
+
}, o);
|
|
872
|
+
return i = n.createExpression(c), i;
|
|
873
|
+
};
|
|
874
|
+
return Object.assign((e) => o()(e), {
|
|
875
|
+
param: e,
|
|
876
|
+
empty: r ?? !0
|
|
877
|
+
});
|
|
707
878
|
}
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
879
|
+
function At(e, t, n, r) {
|
|
880
|
+
let i = Gt(t) || Kt(t) ? Array.isArray(t.condition) ? t.condition : [t.condition] : [], a = [...i, t], o = a.map((t, o) => {
|
|
881
|
+
let s = i[o];
|
|
882
|
+
return {
|
|
883
|
+
accessor: xt(e, t, r),
|
|
884
|
+
predicate: s?.param ? kt(s.param, n, r, s.empty) : Object.assign(Xi(o === a.length - 1), { empty: !1 })
|
|
885
|
+
};
|
|
886
|
+
});
|
|
887
|
+
if (o.filter((e) => !e.accessor.constant).length > 1) throw Error("Only one accessor can be non-constant. Channel: " + e);
|
|
888
|
+
return o;
|
|
889
|
+
}
|
|
890
|
+
function jt(e, t) {
|
|
891
|
+
let n = {}, r = (t) => e.getScaleResolution(t)?.getScale(), i = (t, n) => {
|
|
892
|
+
let r = e.getScaleResolution(t);
|
|
893
|
+
e.paramRuntime.operation("encoder scale", [r.getMappingRef()], () => r.getScale(), n);
|
|
715
894
|
};
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
895
|
+
for (let [a, o] of Object.entries(t)) {
|
|
896
|
+
if (!o) continue;
|
|
897
|
+
let s = a;
|
|
898
|
+
Mt(s) || (n[s] = Ft(At(s, o, t, e.paramRuntime), r, i));
|
|
899
|
+
}
|
|
900
|
+
return n;
|
|
721
901
|
}
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
e
|
|
727
|
-
|
|
728
|
-
|
|
902
|
+
function Mt(e) {
|
|
903
|
+
return e === "key" || e === "search" || e === "tooltip";
|
|
904
|
+
}
|
|
905
|
+
function Nt(e) {
|
|
906
|
+
return e.branches.map((e) => e.accessor);
|
|
907
|
+
}
|
|
908
|
+
function Pt(e) {
|
|
909
|
+
return e.branches.find((e) => !e.accessor.constant)?.accessor;
|
|
910
|
+
}
|
|
911
|
+
function Ft(e, t, n) {
|
|
912
|
+
if (e.length === 1) {
|
|
913
|
+
let r = It(e[0].accessor, t, n);
|
|
914
|
+
return Object.assign(r, { branches: e });
|
|
729
915
|
}
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
916
|
+
let r = e.map((e) => e.predicate), i = e.map((e) => It(e.accessor, t, n)), a = Object.assign((e) => {
|
|
917
|
+
for (let t = 0; t < i.length; t++) if (r[t](e)) return i[t](e);
|
|
918
|
+
}, {
|
|
919
|
+
constant: !1,
|
|
920
|
+
branches: e,
|
|
921
|
+
channelDef: e.at(-1).accessor.channelDef
|
|
922
|
+
});
|
|
923
|
+
return Object.defineProperty(a, "scale", {
|
|
924
|
+
enumerable: !0,
|
|
925
|
+
get: () => i.find((e) => e.scale)?.scale
|
|
926
|
+
});
|
|
735
927
|
}
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
let
|
|
740
|
-
|
|
928
|
+
function It(e, t, n) {
|
|
929
|
+
let { channel: r, scaleChannel: i, channelDef: a } = e, o = e.scaleChannel ? t(i) : void 0;
|
|
930
|
+
if (i && !o) throw Error(`Missing scale! "${r}": ${JSON.stringify(a)}`);
|
|
931
|
+
let s = Object.assign(o ? (t) => o(e(t)) : (t) => e(t), {
|
|
932
|
+
scale: o,
|
|
933
|
+
constant: e.constant,
|
|
934
|
+
branches: [{
|
|
935
|
+
accessor: e,
|
|
936
|
+
predicate: Xi(!0)
|
|
937
|
+
}],
|
|
938
|
+
channelDef: a
|
|
939
|
+
});
|
|
940
|
+
return o && n?.(i, (e) => {
|
|
941
|
+
o = e, s.scale = e;
|
|
942
|
+
}), s;
|
|
741
943
|
}
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
E(() => 0, [], "zero"), E(() => 1, [], "one"), E(() => !0, [], "true"), E(() => !1, [], "false");
|
|
745
|
-
//#endregion
|
|
746
|
-
//#region ../../node_modules/vega-util/build/interpreter.js
|
|
747
|
-
var gt = /* @__PURE__ */ new Set([...Object.getOwnPropertyNames(Object.prototype).filter((e) => typeof Object.prototype[e] == "function"), "__proto__"]), _t = Array.isArray;
|
|
748
|
-
//#endregion
|
|
749
|
-
//#region ../../node_modules/vega-util/build/isObject.js
|
|
750
|
-
function vt(e) {
|
|
751
|
-
return e === Object(e);
|
|
944
|
+
function Lt(e) {
|
|
945
|
+
return e && "value" in e;
|
|
752
946
|
}
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
function yt(e) {
|
|
756
|
-
return e == null ? [] : _t(e) ? e : [e];
|
|
947
|
+
function E(e) {
|
|
948
|
+
return e && "field" in e;
|
|
757
949
|
}
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
function bt(e) {
|
|
761
|
-
return typeof e == "function";
|
|
950
|
+
function Rt(e) {
|
|
951
|
+
return e && "datum" in e;
|
|
762
952
|
}
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
function O(e, t) {
|
|
766
|
-
return Object.hasOwn(e, t);
|
|
953
|
+
function zt(e) {
|
|
954
|
+
return E(e) || Rt(e) || Wt(e) || Ut(e);
|
|
767
955
|
}
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
956
|
+
function Bt(e) {
|
|
957
|
+
if (Kt(e)) {
|
|
958
|
+
let t = e.condition;
|
|
959
|
+
return (Array.isArray(t) ? t : [t]).find((e) => zt(e));
|
|
960
|
+
} else if (zt(e)) return e;
|
|
772
961
|
}
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
return _t(e) ? `[${e.map((e) => e === null ? "null" : St(e))}]` : vt(e) || xt(e) ? JSON.stringify(e).replaceAll("\u2028", "\\u2028").replaceAll("\u2029", "\\u2029") : e;
|
|
962
|
+
function Vt(e) {
|
|
963
|
+
let t = e && Bt(e);
|
|
964
|
+
return t != null && t.type != "quantitative" && t.scale !== null;
|
|
777
965
|
}
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
966
|
+
function Ht(e, t) {
|
|
967
|
+
let n = e.mark.encoding[t];
|
|
968
|
+
if (Array.isArray(n)) throw Error("Not a channel def with scale!");
|
|
969
|
+
{
|
|
970
|
+
let e = Bt(n);
|
|
971
|
+
if (e) return e;
|
|
972
|
+
}
|
|
973
|
+
throw Error("Not a channel def with scale!");
|
|
974
|
+
}
|
|
975
|
+
function Ut(e) {
|
|
976
|
+
return e && "chrom" in e;
|
|
977
|
+
}
|
|
978
|
+
function Wt(e) {
|
|
979
|
+
return e && "expr" in e;
|
|
980
|
+
}
|
|
981
|
+
function Gt(e) {
|
|
982
|
+
return (E(e) || Rt(e)) && "condition" in e;
|
|
983
|
+
}
|
|
984
|
+
function Kt(e) {
|
|
985
|
+
return Lt(e) && "condition" in e;
|
|
986
|
+
}
|
|
987
|
+
var qt = ["x", "y"], Jt = ["x2", "y2"], Yt = ["xOffset", "yOffset"], Xt = [...qt, ...Jt];
|
|
988
|
+
function Zt(e) {
|
|
989
|
+
return qt.includes(e);
|
|
990
|
+
}
|
|
991
|
+
function Qt(e) {
|
|
992
|
+
return Xt.includes(e);
|
|
993
|
+
}
|
|
994
|
+
function $t(e) {
|
|
995
|
+
return Yt.includes(e);
|
|
996
|
+
}
|
|
997
|
+
function en(e) {
|
|
998
|
+
return sn(e) == "x" ? "xOffset" : "yOffset";
|
|
999
|
+
}
|
|
1000
|
+
function tn(e, t, n) {
|
|
1001
|
+
return t ?? (n ? 0 : e);
|
|
1002
|
+
}
|
|
1003
|
+
var nn = {
|
|
1004
|
+
x: "x2",
|
|
1005
|
+
y: "y2"
|
|
1006
|
+
}, rn = Object.fromEntries(Object.entries(nn).map((e) => [e[1], e[0]]));
|
|
1007
|
+
function an(e) {
|
|
1008
|
+
return e in rn;
|
|
1009
|
+
}
|
|
1010
|
+
function on(e) {
|
|
1011
|
+
let t = nn[e];
|
|
1012
|
+
if (t) return t;
|
|
1013
|
+
throw Error(`${e} has no secondary channel!`);
|
|
1014
|
+
}
|
|
1015
|
+
function sn(e) {
|
|
1016
|
+
return rn[e] ?? e;
|
|
1017
|
+
}
|
|
1018
|
+
function cn(e) {
|
|
1019
|
+
return [
|
|
1020
|
+
"color",
|
|
1021
|
+
"fill",
|
|
1022
|
+
"stroke"
|
|
1023
|
+
].includes(sn(e));
|
|
1024
|
+
}
|
|
1025
|
+
function ln(e) {
|
|
1026
|
+
return ["shape", "direction"].includes(e);
|
|
1027
|
+
}
|
|
1028
|
+
function un(e) {
|
|
1029
|
+
return [
|
|
1030
|
+
"x",
|
|
1031
|
+
"y",
|
|
1032
|
+
"x2",
|
|
1033
|
+
"y2",
|
|
1034
|
+
"xOffset",
|
|
1035
|
+
"yOffset",
|
|
1036
|
+
"color",
|
|
1037
|
+
"fill",
|
|
1038
|
+
"stroke",
|
|
1039
|
+
"opacity",
|
|
1040
|
+
"fillOpacity",
|
|
1041
|
+
"strokeOpacity",
|
|
1042
|
+
"strokeWidth",
|
|
1043
|
+
"size",
|
|
1044
|
+
"shape",
|
|
1045
|
+
"direction",
|
|
1046
|
+
"angle",
|
|
1047
|
+
"dx",
|
|
1048
|
+
"dy",
|
|
1049
|
+
"sample"
|
|
1050
|
+
].includes(e);
|
|
1051
|
+
}
|
|
1052
|
+
function dn(e) {
|
|
1053
|
+
switch (e) {
|
|
1054
|
+
case "shape": return [
|
|
1055
|
+
"circle",
|
|
1056
|
+
"square",
|
|
1057
|
+
"cross",
|
|
1058
|
+
"diamond",
|
|
1059
|
+
"triangle-up",
|
|
1060
|
+
"triangle-right",
|
|
1061
|
+
"triangle-down",
|
|
1062
|
+
"triangle-left",
|
|
1063
|
+
"tick-up",
|
|
1064
|
+
"tick-right",
|
|
1065
|
+
"tick-down",
|
|
1066
|
+
"tick-left",
|
|
1067
|
+
"x",
|
|
1068
|
+
"+"
|
|
1069
|
+
];
|
|
1070
|
+
case "direction": return ["forward", "reverse"];
|
|
1071
|
+
default:
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
function fn(e) {
|
|
1075
|
+
if (!ln(e)) throw Error("Not a discrete channel: " + e);
|
|
1076
|
+
let t = new Map(dn(e).map((e, t) => [e, t]));
|
|
1077
|
+
return (n) => {
|
|
1078
|
+
let r = t.get(n);
|
|
1079
|
+
if (r !== void 0) return r;
|
|
1080
|
+
throw Error(`Invalid value for "${e}" channel: ${n}`);
|
|
1081
|
+
};
|
|
784
1082
|
}
|
|
785
1083
|
//#endregion
|
|
786
1084
|
//#region ../../node_modules/vega-expression/build/vega-expression.js
|
|
787
|
-
var
|
|
788
|
-
function
|
|
1085
|
+
var pn = "RawCode", mn = "Literal", hn = "Property", gn = "Identifier", _n = "ArrayExpression", vn = "BinaryExpression", yn = "CallExpression", bn = "ConditionalExpression", xn = "LogicalExpression", Sn = "MemberExpression", Cn = "ObjectExpression", wn = "UnaryExpression";
|
|
1086
|
+
function D(e) {
|
|
789
1087
|
this.type = e;
|
|
790
1088
|
}
|
|
791
|
-
|
|
1089
|
+
D.prototype.visit = function(e) {
|
|
792
1090
|
let t, n, r;
|
|
793
1091
|
if (e(this)) return 1;
|
|
794
|
-
for (t =
|
|
1092
|
+
for (t = Tn(this), n = 0, r = t.length; n < r; ++n) if (t[n].visit(e)) return 1;
|
|
795
1093
|
};
|
|
796
|
-
function
|
|
1094
|
+
function Tn(e) {
|
|
797
1095
|
switch (e.type) {
|
|
798
|
-
case
|
|
799
|
-
case
|
|
800
|
-
case
|
|
801
|
-
case
|
|
802
|
-
case
|
|
1096
|
+
case _n: return e.elements;
|
|
1097
|
+
case vn:
|
|
1098
|
+
case xn: return [e.left, e.right];
|
|
1099
|
+
case yn: return [e.callee].concat(e.arguments);
|
|
1100
|
+
case bn: return [
|
|
803
1101
|
e.test,
|
|
804
1102
|
e.consequent,
|
|
805
1103
|
e.alternate
|
|
806
1104
|
];
|
|
807
|
-
case
|
|
808
|
-
case
|
|
809
|
-
case
|
|
810
|
-
case
|
|
811
|
-
case
|
|
812
|
-
case
|
|
813
|
-
case
|
|
1105
|
+
case Sn: return [e.object, e.property];
|
|
1106
|
+
case Cn: return e.properties;
|
|
1107
|
+
case hn: return [e.key, e.value];
|
|
1108
|
+
case wn: return [e.argument];
|
|
1109
|
+
case gn:
|
|
1110
|
+
case mn:
|
|
1111
|
+
case pn:
|
|
814
1112
|
default: return [];
|
|
815
1113
|
}
|
|
816
1114
|
}
|
|
817
|
-
var
|
|
818
|
-
|
|
819
|
-
var Vt = "ArrayExpression", Ht = "BinaryExpression", Ut = "CallExpression", Wt = "ConditionalExpression", Gt = "Identifier", Kt = "Literal", qt = "LogicalExpression", Jt = "MemberExpression", Yt = "ObjectExpression", Xt = "Property", Zt = "UnaryExpression", B = "Unexpected token %0", Qt = "Unexpected number", $t = "Unexpected string", en = "Unexpected identifier", tn = "Unexpected reserved word", nn = "Unexpected end of input", rn = "Invalid regular expression", an = "Invalid regular expression: missing /", on = "Octal literals are not allowed in strict mode.", sn = "Duplicate data property in object literal not allowed in strict mode", V = "ILLEGAL", cn = "Disabled.", ln = /* @__PURE__ */ 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]"), un = /* @__PURE__ */ 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]");
|
|
820
|
-
function
|
|
1115
|
+
var O, k, A, j, M, En = 1, Dn = 2, N = 3, P = 4, On = 5, F = 6, I = 7, kn = 8, An = 9;
|
|
1116
|
+
O = {}, O[En] = "Boolean", O[Dn] = "<end>", O[N] = "Identifier", O[P] = "Keyword", O[On] = "Null", O[F] = "Numeric", O[I] = "Punctuator", O[kn] = "String", O[An] = "RegularExpression";
|
|
1117
|
+
var jn = "ArrayExpression", Mn = "BinaryExpression", Nn = "CallExpression", Pn = "ConditionalExpression", Fn = "Identifier", In = "Literal", Ln = "LogicalExpression", Rn = "MemberExpression", zn = "ObjectExpression", Bn = "Property", Vn = "UnaryExpression", L = "Unexpected token %0", Hn = "Unexpected number", Un = "Unexpected string", Wn = "Unexpected identifier", Gn = "Unexpected reserved word", Kn = "Unexpected end of input", qn = "Invalid regular expression", Jn = "Invalid regular expression: missing /", Yn = "Octal literals are not allowed in strict mode.", Xn = "Duplicate data property in object literal not allowed in strict mode", R = "ILLEGAL", Zn = "Disabled.", Qn = /* @__PURE__ */ 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]"), $n = /* @__PURE__ */ 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]");
|
|
1118
|
+
function er(e, t) {
|
|
821
1119
|
/* istanbul ignore next */
|
|
822
1120
|
if (!e) throw Error("ASSERT: " + t);
|
|
823
1121
|
}
|
|
824
|
-
function
|
|
1122
|
+
function z(e) {
|
|
825
1123
|
return e >= 48 && e <= 57;
|
|
826
1124
|
}
|
|
827
|
-
function
|
|
1125
|
+
function tr(e) {
|
|
828
1126
|
return "0123456789abcdefABCDEF".includes(e);
|
|
829
1127
|
}
|
|
830
|
-
function
|
|
1128
|
+
function nr(e) {
|
|
831
1129
|
return "01234567".includes(e);
|
|
832
1130
|
}
|
|
833
|
-
function
|
|
1131
|
+
function rr(e) {
|
|
834
1132
|
return e === 32 || e === 9 || e === 11 || e === 12 || e === 160 || e >= 5760 && [
|
|
835
1133
|
5760,
|
|
836
1134
|
6158,
|
|
@@ -851,16 +1149,16 @@ function pn(e) {
|
|
|
851
1149
|
65279
|
|
852
1150
|
].includes(e);
|
|
853
1151
|
}
|
|
854
|
-
function
|
|
1152
|
+
function ir(e) {
|
|
855
1153
|
return e === 10 || e === 13 || e === 8232 || e === 8233;
|
|
856
1154
|
}
|
|
857
|
-
function
|
|
858
|
-
return e === 36 || e === 95 || e >= 65 && e <= 90 || e >= 97 && e <= 122 || e === 92 || e >= 128 &&
|
|
1155
|
+
function ar(e) {
|
|
1156
|
+
return e === 36 || e === 95 || e >= 65 && e <= 90 || e >= 97 && e <= 122 || e === 92 || e >= 128 && Qn.test(String.fromCharCode(e));
|
|
859
1157
|
}
|
|
860
|
-
function
|
|
861
|
-
return e === 36 || e === 95 || e >= 65 && e <= 90 || e >= 97 && e <= 122 || e >= 48 && e <= 57 || e === 92 || e >= 128 &&
|
|
1158
|
+
function or(e) {
|
|
1159
|
+
return e === 36 || e === 95 || e >= 65 && e <= 90 || e >= 97 && e <= 122 || e >= 48 && e <= 57 || e === 92 || e >= 128 && $n.test(String.fromCharCode(e));
|
|
862
1160
|
}
|
|
863
|
-
var
|
|
1161
|
+
var sr = {
|
|
864
1162
|
if: 1,
|
|
865
1163
|
in: 1,
|
|
866
1164
|
do: 1,
|
|
@@ -904,47 +1202,47 @@ var hn = {
|
|
|
904
1202
|
instanceof: 1,
|
|
905
1203
|
implements: 1
|
|
906
1204
|
};
|
|
907
|
-
function
|
|
908
|
-
for (;
|
|
909
|
-
let e =
|
|
910
|
-
if (
|
|
1205
|
+
function cr() {
|
|
1206
|
+
for (; A < j;) {
|
|
1207
|
+
let e = k.charCodeAt(A);
|
|
1208
|
+
if (rr(e) || ir(e)) ++A;
|
|
911
1209
|
else break;
|
|
912
1210
|
}
|
|
913
1211
|
}
|
|
914
|
-
function
|
|
1212
|
+
function lr(e) {
|
|
915
1213
|
var t, n, r, i = 0;
|
|
916
|
-
for (n = e === "u" ? 4 : 2, t = 0; t < n; ++t)
|
|
1214
|
+
for (n = e === "u" ? 4 : 2, t = 0; t < n; ++t) A < j && tr(k[A]) ? (r = k[A++], i = i * 16 + "0123456789abcdef".indexOf(r.toLowerCase())) : V({}, L, R);
|
|
917
1215
|
return String.fromCharCode(i);
|
|
918
1216
|
}
|
|
919
|
-
function
|
|
920
|
-
var e =
|
|
921
|
-
for (e === "}" &&
|
|
922
|
-
return (t > 1114111 || e !== "}") &&
|
|
1217
|
+
function ur() {
|
|
1218
|
+
var e = k[A], t = 0, n, r;
|
|
1219
|
+
for (e === "}" && V({}, L, R); A < j && (e = k[A++], tr(e));) t = t * 16 + "0123456789abcdef".indexOf(e.toLowerCase());
|
|
1220
|
+
return (t > 1114111 || e !== "}") && V({}, L, R), t <= 65535 ? String.fromCharCode(t) : (n = (t - 65536 >> 10) + 55296, r = (t - 65536 & 1023) + 56320, String.fromCharCode(n, r));
|
|
923
1221
|
}
|
|
924
|
-
function
|
|
925
|
-
var e =
|
|
926
|
-
for (e === 92 && (
|
|
1222
|
+
function dr() {
|
|
1223
|
+
var e = k.charCodeAt(A++), t = String.fromCharCode(e);
|
|
1224
|
+
for (e === 92 && (k.charCodeAt(A) !== 117 && V({}, L, R), ++A, e = lr("u"), (!e || e === "\\" || !ar(e.charCodeAt(0))) && V({}, L, R), t = e); A < j && (e = k.charCodeAt(A), or(e));) ++A, t += String.fromCharCode(e), e === 92 && (t = t.substr(0, t.length - 1), k.charCodeAt(A) !== 117 && V({}, L, R), ++A, e = lr("u"), (!e || e === "\\" || !or(e.charCodeAt(0))) && V({}, L, R), t += e);
|
|
927
1225
|
return t;
|
|
928
1226
|
}
|
|
929
|
-
function
|
|
930
|
-
for (var e =
|
|
931
|
-
if (t =
|
|
932
|
-
if (
|
|
1227
|
+
function fr() {
|
|
1228
|
+
for (var e = A++, t; A < j;) {
|
|
1229
|
+
if (t = k.charCodeAt(A), t === 92) return A = e, dr();
|
|
1230
|
+
if (or(t)) ++A;
|
|
933
1231
|
else break;
|
|
934
1232
|
}
|
|
935
|
-
return
|
|
1233
|
+
return k.slice(e, A);
|
|
936
1234
|
}
|
|
937
|
-
function
|
|
938
|
-
var e =
|
|
1235
|
+
function pr() {
|
|
1236
|
+
var e = A, t = k.charCodeAt(A) === 92 ? dr() : fr();
|
|
939
1237
|
return {
|
|
940
|
-
type: t.length === 1 ?
|
|
1238
|
+
type: t.length === 1 ? N : sr.hasOwnProperty(t) ? P : t === "null" ? On : t === "true" || t === "false" ? En : N,
|
|
941
1239
|
value: t,
|
|
942
1240
|
start: e,
|
|
943
|
-
end:
|
|
1241
|
+
end: A
|
|
944
1242
|
};
|
|
945
1243
|
}
|
|
946
|
-
function
|
|
947
|
-
var e =
|
|
1244
|
+
function mr() {
|
|
1245
|
+
var e = A, t = k.charCodeAt(A), n, r = k[A], i, a, o;
|
|
948
1246
|
switch (t) {
|
|
949
1247
|
case 46:
|
|
950
1248
|
case 40:
|
|
@@ -957,13 +1255,13 @@ function Sn() {
|
|
|
957
1255
|
case 93:
|
|
958
1256
|
case 58:
|
|
959
1257
|
case 63:
|
|
960
|
-
case 126: return ++
|
|
961
|
-
type:
|
|
1258
|
+
case 126: return ++A, {
|
|
1259
|
+
type: I,
|
|
962
1260
|
value: String.fromCharCode(t),
|
|
963
1261
|
start: e,
|
|
964
|
-
end:
|
|
1262
|
+
end: A
|
|
965
1263
|
};
|
|
966
|
-
default: if (n =
|
|
1264
|
+
default: if (n = k.charCodeAt(A + 1), n === 61) switch (t) {
|
|
967
1265
|
case 43:
|
|
968
1266
|
case 45:
|
|
969
1267
|
case 47:
|
|
@@ -973,101 +1271,101 @@ function Sn() {
|
|
|
973
1271
|
case 124:
|
|
974
1272
|
case 37:
|
|
975
1273
|
case 38:
|
|
976
|
-
case 42: return
|
|
977
|
-
type:
|
|
1274
|
+
case 42: return A += 2, {
|
|
1275
|
+
type: I,
|
|
978
1276
|
value: String.fromCharCode(t) + String.fromCharCode(n),
|
|
979
1277
|
start: e,
|
|
980
|
-
end:
|
|
1278
|
+
end: A
|
|
981
1279
|
};
|
|
982
1280
|
case 33:
|
|
983
|
-
case 61: return
|
|
984
|
-
type:
|
|
985
|
-
value:
|
|
1281
|
+
case 61: return A += 2, k.charCodeAt(A) === 61 && ++A, {
|
|
1282
|
+
type: I,
|
|
1283
|
+
value: k.slice(e, A),
|
|
986
1284
|
start: e,
|
|
987
|
-
end:
|
|
1285
|
+
end: A
|
|
988
1286
|
};
|
|
989
1287
|
}
|
|
990
1288
|
}
|
|
991
|
-
if (o =
|
|
992
|
-
type:
|
|
1289
|
+
if (o = k.substr(A, 4), o === ">>>=") return A += 4, {
|
|
1290
|
+
type: I,
|
|
993
1291
|
value: o,
|
|
994
1292
|
start: e,
|
|
995
|
-
end:
|
|
1293
|
+
end: A
|
|
996
1294
|
};
|
|
997
|
-
if (a = o.substr(0, 3), a === ">>>" || a === "<<=" || a === ">>=") return
|
|
998
|
-
type:
|
|
1295
|
+
if (a = o.substr(0, 3), a === ">>>" || a === "<<=" || a === ">>=") return A += 3, {
|
|
1296
|
+
type: I,
|
|
999
1297
|
value: a,
|
|
1000
1298
|
start: e,
|
|
1001
|
-
end:
|
|
1299
|
+
end: A
|
|
1002
1300
|
};
|
|
1003
|
-
if (i = a.substr(0, 2), r === i[1] && "+-<>&|".includes(r) || i === "=>") return
|
|
1004
|
-
type:
|
|
1301
|
+
if (i = a.substr(0, 2), r === i[1] && "+-<>&|".includes(r) || i === "=>") return A += 2, {
|
|
1302
|
+
type: I,
|
|
1005
1303
|
value: i,
|
|
1006
1304
|
start: e,
|
|
1007
|
-
end:
|
|
1305
|
+
end: A
|
|
1008
1306
|
};
|
|
1009
|
-
if (i === "//" &&
|
|
1010
|
-
type:
|
|
1307
|
+
if (i === "//" && V({}, L, R), "<>=!+-*%&|^/".includes(r)) return ++A, {
|
|
1308
|
+
type: I,
|
|
1011
1309
|
value: r,
|
|
1012
1310
|
start: e,
|
|
1013
|
-
end:
|
|
1311
|
+
end: A
|
|
1014
1312
|
};
|
|
1015
|
-
|
|
1313
|
+
V({}, L, R);
|
|
1016
1314
|
}
|
|
1017
|
-
function
|
|
1315
|
+
function hr(e) {
|
|
1018
1316
|
let t = "";
|
|
1019
|
-
for (;
|
|
1020
|
-
return t.length === 0 &&
|
|
1021
|
-
type:
|
|
1317
|
+
for (; A < j && tr(k[A]);) t += k[A++];
|
|
1318
|
+
return t.length === 0 && V({}, L, R), ar(k.charCodeAt(A)) && V({}, L, R), {
|
|
1319
|
+
type: F,
|
|
1022
1320
|
value: parseInt("0x" + t, 16),
|
|
1023
1321
|
start: e,
|
|
1024
|
-
end:
|
|
1322
|
+
end: A
|
|
1025
1323
|
};
|
|
1026
1324
|
}
|
|
1027
|
-
function
|
|
1028
|
-
let t = "0" +
|
|
1029
|
-
for (;
|
|
1030
|
-
return (
|
|
1031
|
-
type:
|
|
1325
|
+
function gr(e) {
|
|
1326
|
+
let t = "0" + k[A++];
|
|
1327
|
+
for (; A < j && nr(k[A]);) t += k[A++];
|
|
1328
|
+
return (ar(k.charCodeAt(A)) || z(k.charCodeAt(A))) && V({}, L, R), {
|
|
1329
|
+
type: F,
|
|
1032
1330
|
value: parseInt(t, 8),
|
|
1033
1331
|
octal: !0,
|
|
1034
1332
|
start: e,
|
|
1035
|
-
end:
|
|
1333
|
+
end: A
|
|
1036
1334
|
};
|
|
1037
1335
|
}
|
|
1038
|
-
function
|
|
1039
|
-
var e, t, n =
|
|
1040
|
-
if (
|
|
1041
|
-
if (e =
|
|
1042
|
-
if (n === "x" || n === "X") return ++
|
|
1043
|
-
if (
|
|
1044
|
-
n &&
|
|
1336
|
+
function _r() {
|
|
1337
|
+
var e, t, n = k[A];
|
|
1338
|
+
if (er(z(n.charCodeAt(0)) || n === ".", "Numeric literal must start with a decimal digit or a decimal point"), t = A, e = "", n !== ".") {
|
|
1339
|
+
if (e = k[A++], n = k[A], e === "0") {
|
|
1340
|
+
if (n === "x" || n === "X") return ++A, hr(t);
|
|
1341
|
+
if (nr(n)) return gr(t);
|
|
1342
|
+
n && z(n.charCodeAt(0)) && V({}, L, R);
|
|
1045
1343
|
}
|
|
1046
|
-
for (;
|
|
1047
|
-
n =
|
|
1344
|
+
for (; z(k.charCodeAt(A));) e += k[A++];
|
|
1345
|
+
n = k[A];
|
|
1048
1346
|
}
|
|
1049
1347
|
if (n === ".") {
|
|
1050
|
-
for (e +=
|
|
1051
|
-
n =
|
|
1348
|
+
for (e += k[A++]; z(k.charCodeAt(A));) e += k[A++];
|
|
1349
|
+
n = k[A];
|
|
1052
1350
|
}
|
|
1053
|
-
if (n === "e" || n === "E") if (e +=
|
|
1054
|
-
else
|
|
1055
|
-
return
|
|
1056
|
-
type:
|
|
1351
|
+
if (n === "e" || n === "E") if (e += k[A++], n = k[A], (n === "+" || n === "-") && (e += k[A++]), z(k.charCodeAt(A))) for (; z(k.charCodeAt(A));) e += k[A++];
|
|
1352
|
+
else V({}, L, R);
|
|
1353
|
+
return ar(k.charCodeAt(A)) && V({}, L, R), {
|
|
1354
|
+
type: F,
|
|
1057
1355
|
value: parseFloat(e),
|
|
1058
1356
|
start: t,
|
|
1059
|
-
end:
|
|
1357
|
+
end: A
|
|
1060
1358
|
};
|
|
1061
1359
|
}
|
|
1062
|
-
function
|
|
1360
|
+
function vr() {
|
|
1063
1361
|
var e = "", t, n, r, i, a = !1;
|
|
1064
|
-
for (t =
|
|
1362
|
+
for (t = k[A], er(t === "'" || t === "\"", "String literal must starts with a quote"), n = A, ++A; A < j;) if (r = k[A++], r === t) {
|
|
1065
1363
|
t = "";
|
|
1066
1364
|
break;
|
|
1067
|
-
} else if (r === "\\") if (r =
|
|
1365
|
+
} else if (r === "\\") if (r = k[A++], !r || !ir(r.charCodeAt(0))) switch (r) {
|
|
1068
1366
|
case "u":
|
|
1069
1367
|
case "x":
|
|
1070
|
-
|
|
1368
|
+
k[A] === "{" ? (++A, e += ur()) : e += lr(r);
|
|
1071
1369
|
break;
|
|
1072
1370
|
case "n":
|
|
1073
1371
|
e += "\n";
|
|
@@ -1088,30 +1386,30 @@ function En() {
|
|
|
1088
1386
|
e += "\v";
|
|
1089
1387
|
break;
|
|
1090
1388
|
default:
|
|
1091
|
-
|
|
1389
|
+
nr(r) ? (i = "01234567".indexOf(r), i !== 0 && (a = !0), A < j && nr(k[A]) && (a = !0, i = i * 8 + "01234567".indexOf(k[A++]), "0123".includes(r) && A < j && nr(k[A]) && (i = i * 8 + "01234567".indexOf(k[A++]))), e += String.fromCharCode(i)) : e += r;
|
|
1092
1390
|
break;
|
|
1093
1391
|
}
|
|
1094
|
-
else r === "\r" &&
|
|
1095
|
-
else if (
|
|
1392
|
+
else r === "\r" && k[A] === "\n" && ++A;
|
|
1393
|
+
else if (ir(r.charCodeAt(0))) break;
|
|
1096
1394
|
else e += r;
|
|
1097
|
-
return t !== "" &&
|
|
1098
|
-
type:
|
|
1395
|
+
return t !== "" && V({}, L, R), {
|
|
1396
|
+
type: kn,
|
|
1099
1397
|
value: e,
|
|
1100
1398
|
octal: a,
|
|
1101
1399
|
start: n,
|
|
1102
|
-
end:
|
|
1400
|
+
end: A
|
|
1103
1401
|
};
|
|
1104
1402
|
}
|
|
1105
|
-
function
|
|
1403
|
+
function yr(e, t) {
|
|
1106
1404
|
let n = e;
|
|
1107
1405
|
t.includes("u") && (n = n.replace(/\\u\{([0-9a-fA-F]+)\}/g, (e, t) => {
|
|
1108
1406
|
if (parseInt(t, 16) <= 1114111) return "x";
|
|
1109
|
-
|
|
1407
|
+
V({}, qn);
|
|
1110
1408
|
}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g, "x"));
|
|
1111
1409
|
try {
|
|
1112
1410
|
new RegExp(n);
|
|
1113
1411
|
} catch {
|
|
1114
|
-
|
|
1412
|
+
V({}, qn);
|
|
1115
1413
|
}
|
|
1116
1414
|
try {
|
|
1117
1415
|
return new RegExp(e, t);
|
|
@@ -1119,30 +1417,30 @@ function Dn(e, t) {
|
|
|
1119
1417
|
return null;
|
|
1120
1418
|
}
|
|
1121
1419
|
}
|
|
1122
|
-
function
|
|
1123
|
-
var e =
|
|
1124
|
-
for (
|
|
1125
|
-
else if (
|
|
1420
|
+
function br() {
|
|
1421
|
+
var e = k[A], t, n, r, i;
|
|
1422
|
+
for (er(e === "/", "Regular expression literal must start with a slash"), t = k[A++], n = !1, r = !1; A < j;) if (e = k[A++], t += e, e === "\\") e = k[A++], ir(e.charCodeAt(0)) && V({}, Jn), t += e;
|
|
1423
|
+
else if (ir(e.charCodeAt(0))) V({}, Jn);
|
|
1126
1424
|
else if (n) e === "]" && (n = !1);
|
|
1127
1425
|
else if (e === "/") {
|
|
1128
1426
|
r = !0;
|
|
1129
1427
|
break;
|
|
1130
1428
|
} else e === "[" && (n = !0);
|
|
1131
|
-
return r ||
|
|
1429
|
+
return r || V({}, Jn), i = t.substr(1, t.length - 2), {
|
|
1132
1430
|
value: i,
|
|
1133
1431
|
literal: t
|
|
1134
1432
|
};
|
|
1135
1433
|
}
|
|
1136
|
-
function
|
|
1137
|
-
for (var e, t = "", n = "";
|
|
1138
|
-
return n.search(/[^gimuy]/g) >= 0 &&
|
|
1434
|
+
function xr() {
|
|
1435
|
+
for (var e, t = "", n = ""; A < j && (e = k[A], or(e.charCodeAt(0)));) ++A, e === "\\" && A < j ? V({}, L, R) : (n += e, t += e);
|
|
1436
|
+
return n.search(/[^gimuy]/g) >= 0 && V({}, qn, n), {
|
|
1139
1437
|
value: n,
|
|
1140
1438
|
literal: t
|
|
1141
1439
|
};
|
|
1142
1440
|
}
|
|
1143
|
-
function
|
|
1441
|
+
function Sr() {
|
|
1144
1442
|
var e, t, n, r;
|
|
1145
|
-
return
|
|
1443
|
+
return M = null, cr(), e = A, t = br(), n = xr(), r = yr(t.value, n.value), {
|
|
1146
1444
|
literal: t.literal + n.literal,
|
|
1147
1445
|
value: r,
|
|
1148
1446
|
regex: {
|
|
@@ -1150,166 +1448,166 @@ function An() {
|
|
|
1150
1448
|
flags: n.value
|
|
1151
1449
|
},
|
|
1152
1450
|
start: e,
|
|
1153
|
-
end:
|
|
1451
|
+
end: A
|
|
1154
1452
|
};
|
|
1155
1453
|
}
|
|
1156
|
-
function
|
|
1157
|
-
return e.type ===
|
|
1454
|
+
function Cr(e) {
|
|
1455
|
+
return e.type === N || e.type === P || e.type === En || e.type === On;
|
|
1158
1456
|
}
|
|
1159
|
-
function
|
|
1160
|
-
if (
|
|
1161
|
-
type:
|
|
1162
|
-
start:
|
|
1163
|
-
end:
|
|
1457
|
+
function wr() {
|
|
1458
|
+
if (cr(), A >= j) return {
|
|
1459
|
+
type: Dn,
|
|
1460
|
+
start: A,
|
|
1461
|
+
end: A
|
|
1164
1462
|
};
|
|
1165
|
-
let e =
|
|
1166
|
-
return
|
|
1463
|
+
let e = k.charCodeAt(A);
|
|
1464
|
+
return ar(e) ? pr() : e === 40 || e === 41 || e === 59 ? mr() : e === 39 || e === 34 ? vr() : e === 46 ? z(k.charCodeAt(A + 1)) ? _r() : mr() : z(e) ? _r() : mr();
|
|
1167
1465
|
}
|
|
1168
|
-
function
|
|
1169
|
-
let e = P;
|
|
1170
|
-
return M = e.end, P = Mn(), M = e.end, e;
|
|
1171
|
-
}
|
|
1172
|
-
function Nn() {
|
|
1466
|
+
function B() {
|
|
1173
1467
|
let e = M;
|
|
1174
|
-
|
|
1468
|
+
return A = e.end, M = wr(), A = e.end, e;
|
|
1469
|
+
}
|
|
1470
|
+
function Tr() {
|
|
1471
|
+
let e = A;
|
|
1472
|
+
M = wr(), A = e;
|
|
1175
1473
|
}
|
|
1176
|
-
function
|
|
1177
|
-
let t = new
|
|
1474
|
+
function Er(e) {
|
|
1475
|
+
let t = new D(jn);
|
|
1178
1476
|
return t.elements = e, t;
|
|
1179
1477
|
}
|
|
1180
|
-
function
|
|
1181
|
-
let r = new
|
|
1478
|
+
function Dr(e, t, n) {
|
|
1479
|
+
let r = new D(e === "||" || e === "&&" ? Ln : Mn);
|
|
1182
1480
|
return r.operator = e, r.left = t, r.right = n, r;
|
|
1183
1481
|
}
|
|
1184
|
-
function
|
|
1185
|
-
let n = new
|
|
1482
|
+
function Or(e, t) {
|
|
1483
|
+
let n = new D(Nn);
|
|
1186
1484
|
return n.callee = e, n.arguments = t, n;
|
|
1187
1485
|
}
|
|
1188
|
-
function
|
|
1189
|
-
let r = new
|
|
1486
|
+
function kr(e, t, n) {
|
|
1487
|
+
let r = new D(Pn);
|
|
1190
1488
|
return r.test = e, r.consequent = t, r.alternate = n, r;
|
|
1191
1489
|
}
|
|
1192
|
-
function
|
|
1193
|
-
let t = new
|
|
1490
|
+
function Ar(e) {
|
|
1491
|
+
let t = new D(Fn);
|
|
1194
1492
|
return t.name = e, t;
|
|
1195
1493
|
}
|
|
1196
|
-
function
|
|
1197
|
-
let t = new
|
|
1198
|
-
return t.value = e.value, t.raw =
|
|
1494
|
+
function jr(e) {
|
|
1495
|
+
let t = new D(In);
|
|
1496
|
+
return t.value = e.value, t.raw = k.slice(e.start, e.end), e.regex && (t.raw === "//" && (t.raw = "/(?:)/"), t.regex = e.regex), t;
|
|
1199
1497
|
}
|
|
1200
|
-
function
|
|
1201
|
-
let r = new
|
|
1498
|
+
function Mr(e, t, n) {
|
|
1499
|
+
let r = new D(Rn);
|
|
1202
1500
|
return r.computed = e === "[", r.object = t, r.property = n, r.computed || (n.member = !0), r;
|
|
1203
1501
|
}
|
|
1204
|
-
function
|
|
1205
|
-
let t = new
|
|
1502
|
+
function Nr(e) {
|
|
1503
|
+
let t = new D(zn);
|
|
1206
1504
|
return t.properties = e, t;
|
|
1207
1505
|
}
|
|
1208
|
-
function
|
|
1209
|
-
let r = new
|
|
1506
|
+
function Pr(e, t, n) {
|
|
1507
|
+
let r = new D(Bn);
|
|
1210
1508
|
return r.key = t, r.value = n, r.kind = e, r;
|
|
1211
1509
|
}
|
|
1212
|
-
function
|
|
1213
|
-
let n = new
|
|
1510
|
+
function Fr(e, t) {
|
|
1511
|
+
let n = new D(Vn);
|
|
1214
1512
|
return n.operator = e, n.argument = t, n.prefix = !0, n;
|
|
1215
1513
|
}
|
|
1216
|
-
function
|
|
1217
|
-
var n, r = Array.prototype.slice.call(arguments, 2), i = t.replace(/%(\d)/g, (e, t) => (
|
|
1218
|
-
throw n = Error(i), n.index =
|
|
1514
|
+
function V(e, t) {
|
|
1515
|
+
var n, r = Array.prototype.slice.call(arguments, 2), i = t.replace(/%(\d)/g, (e, t) => (er(t < r.length, "Message reference must be in range"), r[t]));
|
|
1516
|
+
throw n = Error(i), n.index = A, n.description = i, n;
|
|
1219
1517
|
}
|
|
1220
|
-
function
|
|
1221
|
-
e.type ===
|
|
1518
|
+
function Ir(e) {
|
|
1519
|
+
e.type === Dn && V(e, Kn), e.type === F && V(e, Hn), e.type === kn && V(e, Un), e.type === N && V(e, Wn), e.type === P && V(e, Gn), V(e, L, e.value);
|
|
1222
1520
|
}
|
|
1223
|
-
function
|
|
1224
|
-
let t =
|
|
1225
|
-
(t.type !==
|
|
1521
|
+
function H(e) {
|
|
1522
|
+
let t = B();
|
|
1523
|
+
(t.type !== I || t.value !== e) && Ir(t);
|
|
1226
1524
|
}
|
|
1227
|
-
function
|
|
1228
|
-
return
|
|
1525
|
+
function U(e) {
|
|
1526
|
+
return M.type === I && M.value === e;
|
|
1229
1527
|
}
|
|
1230
|
-
function
|
|
1231
|
-
return
|
|
1528
|
+
function Lr(e) {
|
|
1529
|
+
return M.type === P && M.value === e;
|
|
1232
1530
|
}
|
|
1233
|
-
function
|
|
1531
|
+
function Rr() {
|
|
1234
1532
|
let e = [];
|
|
1235
|
-
for (
|
|
1236
|
-
return
|
|
1533
|
+
for (A = M.start, H("["); !U("]");) U(",") ? (B(), e.push(null)) : (e.push(W()), U("]") || H(","));
|
|
1534
|
+
return B(), Er(e);
|
|
1237
1535
|
}
|
|
1238
|
-
function
|
|
1239
|
-
|
|
1240
|
-
let e =
|
|
1241
|
-
return e.type ===
|
|
1536
|
+
function zr() {
|
|
1537
|
+
A = M.start;
|
|
1538
|
+
let e = B();
|
|
1539
|
+
return e.type === kn || e.type === F ? (e.octal && V(e, Yn), jr(e)) : Ar(e.value);
|
|
1242
1540
|
}
|
|
1243
|
-
function
|
|
1541
|
+
function Br() {
|
|
1244
1542
|
var e, t, n, r;
|
|
1245
|
-
if (
|
|
1246
|
-
if (e.type ===
|
|
1247
|
-
else return t =
|
|
1543
|
+
if (A = M.start, e = M, e.type === N) return n = zr(), H(":"), r = W(), Pr("init", n, r);
|
|
1544
|
+
if (e.type === Dn || e.type === I) Ir(e);
|
|
1545
|
+
else return t = zr(), H(":"), r = W(), Pr("init", t, r);
|
|
1248
1546
|
}
|
|
1249
|
-
function
|
|
1547
|
+
function Vr() {
|
|
1250
1548
|
var e = [], t, n, r, i = {}, a = String;
|
|
1251
|
-
for (
|
|
1252
|
-
return
|
|
1549
|
+
for (A = M.start, H("{"); !U("}");) t = Br(), n = t.key.type === Fn ? t.key.name : a(t.key.value), r = "$" + n, Object.prototype.hasOwnProperty.call(i, r) ? V({}, Xn) : i[r] = !0, e.push(t), U("}") || H(",");
|
|
1550
|
+
return H("}"), Nr(e);
|
|
1253
1551
|
}
|
|
1254
|
-
function
|
|
1255
|
-
|
|
1256
|
-
let e =
|
|
1257
|
-
return
|
|
1552
|
+
function Hr() {
|
|
1553
|
+
H("(");
|
|
1554
|
+
let e = ei();
|
|
1555
|
+
return H(")"), e;
|
|
1258
1556
|
}
|
|
1259
|
-
var
|
|
1260
|
-
function
|
|
1557
|
+
var Ur = { if: 1 };
|
|
1558
|
+
function Wr() {
|
|
1261
1559
|
var e, t, n;
|
|
1262
|
-
if (
|
|
1263
|
-
if (
|
|
1264
|
-
if (
|
|
1265
|
-
if (e =
|
|
1266
|
-
else if (e ===
|
|
1267
|
-
else if (e ===
|
|
1268
|
-
else e ===
|
|
1560
|
+
if (U("(")) return Hr();
|
|
1561
|
+
if (U("[")) return Rr();
|
|
1562
|
+
if (U("{")) return Vr();
|
|
1563
|
+
if (e = M.type, A = M.start, e === N || Ur[M.value]) n = Ar(B().value);
|
|
1564
|
+
else if (e === kn || e === F) M.octal && V(M, Yn), n = jr(B());
|
|
1565
|
+
else if (e === P) throw Error(Zn);
|
|
1566
|
+
else e === En ? (t = B(), t.value = t.value === "true", n = jr(t)) : e === On ? (t = B(), t.value = null, n = jr(t)) : U("/") || U("/=") ? (n = jr(Sr()), Tr()) : Ir(B());
|
|
1269
1567
|
return n;
|
|
1270
1568
|
}
|
|
1271
|
-
function
|
|
1569
|
+
function Gr() {
|
|
1272
1570
|
let e = [];
|
|
1273
|
-
if (
|
|
1274
|
-
return
|
|
1275
|
-
}
|
|
1276
|
-
function
|
|
1277
|
-
|
|
1278
|
-
let e =
|
|
1279
|
-
return
|
|
1280
|
-
}
|
|
1281
|
-
function
|
|
1282
|
-
return
|
|
1283
|
-
}
|
|
1284
|
-
function
|
|
1285
|
-
|
|
1286
|
-
let e =
|
|
1287
|
-
return
|
|
1288
|
-
}
|
|
1289
|
-
function
|
|
1290
|
-
for (var e =
|
|
1291
|
-
else if (
|
|
1292
|
-
else if (
|
|
1571
|
+
if (H("("), !U(")")) for (; A < j && (e.push(W()), !U(")"));) H(",");
|
|
1572
|
+
return H(")"), e;
|
|
1573
|
+
}
|
|
1574
|
+
function Kr() {
|
|
1575
|
+
A = M.start;
|
|
1576
|
+
let e = B();
|
|
1577
|
+
return Cr(e) || Ir(e), Ar(e.value);
|
|
1578
|
+
}
|
|
1579
|
+
function qr() {
|
|
1580
|
+
return H("."), Kr();
|
|
1581
|
+
}
|
|
1582
|
+
function Jr() {
|
|
1583
|
+
H("[");
|
|
1584
|
+
let e = ei();
|
|
1585
|
+
return H("]"), e;
|
|
1586
|
+
}
|
|
1587
|
+
function Yr() {
|
|
1588
|
+
for (var e = Wr(), t, n;;) if (U(".")) n = qr(), e = Mr(".", e, n);
|
|
1589
|
+
else if (U("(")) t = Gr(), e = Or(e, t);
|
|
1590
|
+
else if (U("[")) n = Jr(), e = Mr("[", e, n);
|
|
1293
1591
|
else break;
|
|
1294
1592
|
return e;
|
|
1295
1593
|
}
|
|
1296
|
-
function
|
|
1297
|
-
let e =
|
|
1298
|
-
if (
|
|
1594
|
+
function Xr() {
|
|
1595
|
+
let e = Yr();
|
|
1596
|
+
if (M.type === I && (U("++") || U("--"))) throw Error(Zn);
|
|
1299
1597
|
return e;
|
|
1300
1598
|
}
|
|
1301
|
-
function
|
|
1599
|
+
function Zr() {
|
|
1302
1600
|
var e, t;
|
|
1303
|
-
if (
|
|
1304
|
-
else if (
|
|
1305
|
-
else if (
|
|
1306
|
-
else if (
|
|
1307
|
-
else t =
|
|
1601
|
+
if (M.type !== I && M.type !== P) t = Xr();
|
|
1602
|
+
else if (U("++") || U("--")) throw Error(Zn);
|
|
1603
|
+
else if (U("+") || U("-") || U("~") || U("!")) e = B(), t = Zr(), t = Fr(e.value, t);
|
|
1604
|
+
else if (Lr("delete") || Lr("void") || Lr("typeof")) throw Error(Zn);
|
|
1605
|
+
else t = Xr();
|
|
1308
1606
|
return t;
|
|
1309
1607
|
}
|
|
1310
|
-
function
|
|
1608
|
+
function Qr(e) {
|
|
1311
1609
|
let t = 0;
|
|
1312
|
-
if (e.type !==
|
|
1610
|
+
if (e.type !== I && e.type !== P) return 0;
|
|
1313
1611
|
switch (e.value) {
|
|
1314
1612
|
case "||":
|
|
1315
1613
|
t = 1;
|
|
@@ -1357,36 +1655,36 @@ function ar(e) {
|
|
|
1357
1655
|
}
|
|
1358
1656
|
return t;
|
|
1359
1657
|
}
|
|
1360
|
-
function
|
|
1361
|
-
var e =
|
|
1362
|
-
if (r =
|
|
1363
|
-
for (r.prec = i,
|
|
1658
|
+
function $r() {
|
|
1659
|
+
var e = M, t, n, r, i, a, o, s, c = Zr(), l;
|
|
1660
|
+
if (r = M, i = Qr(r), i === 0) return c;
|
|
1661
|
+
for (r.prec = i, B(), t = [e, M], o = Zr(), a = [
|
|
1364
1662
|
c,
|
|
1365
1663
|
r,
|
|
1366
1664
|
o
|
|
1367
|
-
]; (i =
|
|
1368
|
-
for (; a.length > 2 && i <= a[a.length - 2].prec;) o = a.pop(), s = a.pop().value, c = a.pop(), t.pop(), n =
|
|
1369
|
-
r =
|
|
1665
|
+
]; (i = Qr(M)) > 0;) {
|
|
1666
|
+
for (; a.length > 2 && i <= a[a.length - 2].prec;) o = a.pop(), s = a.pop().value, c = a.pop(), t.pop(), n = Dr(s, c, o), a.push(n);
|
|
1667
|
+
r = B(), r.prec = i, a.push(r), t.push(M), n = Zr(), a.push(n);
|
|
1370
1668
|
}
|
|
1371
|
-
for (l = a.length - 1, n = a[l], t.pop(); l > 1;) t.pop(), n =
|
|
1669
|
+
for (l = a.length - 1, n = a[l], t.pop(); l > 1;) t.pop(), n = Dr(a[l - 1].value, a[l - 2], n), l -= 2;
|
|
1372
1670
|
return n;
|
|
1373
1671
|
}
|
|
1374
|
-
function
|
|
1375
|
-
var e =
|
|
1376
|
-
return
|
|
1672
|
+
function W() {
|
|
1673
|
+
var e = $r(), t, n;
|
|
1674
|
+
return U("?") && (B(), t = W(), H(":"), n = W(), e = kr(e, t, n)), e;
|
|
1377
1675
|
}
|
|
1378
|
-
function
|
|
1379
|
-
let e =
|
|
1380
|
-
if (
|
|
1676
|
+
function ei() {
|
|
1677
|
+
let e = W();
|
|
1678
|
+
if (U(",")) throw Error(Zn);
|
|
1381
1679
|
return e;
|
|
1382
1680
|
}
|
|
1383
|
-
function
|
|
1384
|
-
|
|
1385
|
-
let t =
|
|
1386
|
-
if (
|
|
1681
|
+
function ti(e) {
|
|
1682
|
+
k = e, A = 0, j = k.length, M = null, Tr();
|
|
1683
|
+
let t = ei();
|
|
1684
|
+
if (M.type !== Dn) throw Error("Unexpect token after expression.");
|
|
1387
1685
|
return t;
|
|
1388
1686
|
}
|
|
1389
|
-
var
|
|
1687
|
+
var ni = {
|
|
1390
1688
|
NaN: "NaN",
|
|
1391
1689
|
E: "Math.E",
|
|
1392
1690
|
LN2: "Math.LN2",
|
|
@@ -1399,7 +1697,7 @@ var lr = {
|
|
|
1399
1697
|
MIN_VALUE: "Number.MIN_VALUE",
|
|
1400
1698
|
MAX_VALUE: "Number.MAX_VALUE"
|
|
1401
1699
|
};
|
|
1402
|
-
function
|
|
1700
|
+
function ri(e) {
|
|
1403
1701
|
function t(t, n, r, i) {
|
|
1404
1702
|
let a = e(n[0]);
|
|
1405
1703
|
return r && (a = r + "(" + a + ")", r.lastIndexOf("new ", 0) === 0 && (a = "(" + a + ")")), a + "." + t + (i < 0 ? "" : i === 0 ? "()" : "(" + n.slice(1).map(e).join(",") + ")");
|
|
@@ -1407,7 +1705,7 @@ function ur(e) {
|
|
|
1407
1705
|
function n(e, n, r) {
|
|
1408
1706
|
return (i) => t(e, i, n, r);
|
|
1409
1707
|
}
|
|
1410
|
-
let r = "new Date",
|
|
1708
|
+
let r = "new Date", a = "String", o = "RegExp";
|
|
1411
1709
|
return {
|
|
1412
1710
|
isNaN: "Number.isNaN",
|
|
1413
1711
|
isFinite: "Number.isFinite",
|
|
@@ -1431,7 +1729,7 @@ function ur(e) {
|
|
|
1431
1729
|
sqrt: "Math.sqrt",
|
|
1432
1730
|
tan: "Math.tan",
|
|
1433
1731
|
clamp: function(t) {
|
|
1434
|
-
t.length < 3 &&
|
|
1732
|
+
t.length < 3 && i("Missing arguments to clamp function."), t.length > 3 && i("Too many arguments to clamp function.");
|
|
1435
1733
|
let n = t.map(e);
|
|
1436
1734
|
return "Math.max(" + n[1] + ", Math.min(" + n[2] + "," + n[0] + "))";
|
|
1437
1735
|
},
|
|
@@ -1459,166 +1757,171 @@ function ur(e) {
|
|
|
1459
1757
|
length: n("length", null, -1),
|
|
1460
1758
|
parseFloat: "parseFloat",
|
|
1461
1759
|
parseInt: "parseInt",
|
|
1462
|
-
upper: n("toUpperCase",
|
|
1463
|
-
lower: n("toLowerCase",
|
|
1464
|
-
substring: n("substring",
|
|
1465
|
-
split: n("split",
|
|
1466
|
-
trim: n("trim",
|
|
1760
|
+
upper: n("toUpperCase", a, 0),
|
|
1761
|
+
lower: n("toLowerCase", a, 0),
|
|
1762
|
+
substring: n("substring", a),
|
|
1763
|
+
split: n("split", a),
|
|
1764
|
+
trim: n("trim", a, 0),
|
|
1467
1765
|
btoa: "btoa",
|
|
1468
1766
|
atob: "atob",
|
|
1469
|
-
regexp:
|
|
1470
|
-
test: n("test",
|
|
1767
|
+
regexp: o,
|
|
1768
|
+
test: n("test", o),
|
|
1471
1769
|
if: function(t) {
|
|
1472
|
-
t.length < 3 &&
|
|
1770
|
+
t.length < 3 && i("Missing arguments to if function."), t.length > 3 && i("Too many arguments to if function.");
|
|
1473
1771
|
let n = t.map(e);
|
|
1474
1772
|
return "(" + n[0] + "?" + n[1] + ":" + n[2] + ")";
|
|
1475
1773
|
}
|
|
1476
1774
|
};
|
|
1477
1775
|
}
|
|
1478
|
-
function
|
|
1776
|
+
function ii(e) {
|
|
1479
1777
|
let t = e && e.length - 1;
|
|
1480
1778
|
return t && (e[0] === "\"" && e[t] === "\"" || e[0] === "'" && e[t] === "'") ? e.slice(1, -1) : e;
|
|
1481
1779
|
}
|
|
1482
|
-
function
|
|
1780
|
+
function ai(e) {
|
|
1483
1781
|
e ||= {};
|
|
1484
|
-
let t = e.allowed ?
|
|
1782
|
+
let t = e.allowed ? g(e.allowed) : {}, n = e.forbidden ? g(e.forbidden) : {}, r = e.constants || ni, a = (e.functions || ri)(_), o = e.globalvar, s = e.fieldvar, l = f(o) ? o : (e) => `${o}["${e}"]`;
|
|
1485
1783
|
[...Object.getOwnPropertyNames(Object.prototype).filter((e) => typeof Object.prototype[e] == "function")];
|
|
1486
|
-
let
|
|
1487
|
-
function
|
|
1488
|
-
if (
|
|
1489
|
-
let t =
|
|
1490
|
-
return t ??
|
|
1784
|
+
let u = {}, d = {}, h = 0;
|
|
1785
|
+
function _(e) {
|
|
1786
|
+
if (m(e)) return e;
|
|
1787
|
+
let t = ee[e.type];
|
|
1788
|
+
return t ?? i("Unsupported type: " + e.type), t(e);
|
|
1491
1789
|
}
|
|
1492
|
-
let
|
|
1790
|
+
let ee = {
|
|
1493
1791
|
Literal: (e) => e.raw,
|
|
1494
1792
|
Identifier: (e) => {
|
|
1495
|
-
let
|
|
1496
|
-
return
|
|
1793
|
+
let a = e.name;
|
|
1794
|
+
return h > 0 ? a : p(n, a) ? i("Illegal identifier: " + a) : p(r, a) ? r[a] : p(t, a) ? a : (u[a] = 1, l(a));
|
|
1497
1795
|
},
|
|
1498
1796
|
MemberExpression: (e) => {
|
|
1499
|
-
let t = !e.computed, n =
|
|
1500
|
-
t && (
|
|
1501
|
-
let r =
|
|
1502
|
-
return n ===
|
|
1797
|
+
let t = !e.computed, n = _(e.object);
|
|
1798
|
+
t && (h += 1);
|
|
1799
|
+
let r = _(e.property);
|
|
1800
|
+
return n === s && (d[ii(r)] = 1), t && --h, n + (t ? "." + r : "[" + r + "]");
|
|
1503
1801
|
},
|
|
1504
1802
|
CallExpression: (e) => {
|
|
1505
|
-
e.callee.type !== "Identifier" &&
|
|
1506
|
-
let t = e.callee.name, n = e.arguments, r =
|
|
1507
|
-
return r ||
|
|
1803
|
+
e.callee.type !== "Identifier" && i("Illegal callee type: " + e.callee.type);
|
|
1804
|
+
let t = e.callee.name, n = e.arguments, r = p(a, t) && a[t];
|
|
1805
|
+
return r || i("Unrecognized function: " + t), f(r) ? r(n) : r + "(" + n.map(_).join(",") + ")";
|
|
1508
1806
|
},
|
|
1509
|
-
ArrayExpression: (e) => "[" + e.elements.map(
|
|
1510
|
-
BinaryExpression: (e) => "(" +
|
|
1511
|
-
UnaryExpression: (e) => "(" + e.operator +
|
|
1512
|
-
ConditionalExpression: (e) => "(" +
|
|
1513
|
-
LogicalExpression: (e) => "(" +
|
|
1807
|
+
ArrayExpression: (e) => "[" + e.elements.map(_).join(",") + "]",
|
|
1808
|
+
BinaryExpression: (e) => "(" + _(e.left) + " " + e.operator + " " + _(e.right) + ")",
|
|
1809
|
+
UnaryExpression: (e) => "(" + e.operator + _(e.argument) + ")",
|
|
1810
|
+
ConditionalExpression: (e) => "(" + _(e.test) + "?" + _(e.consequent) + ":" + _(e.alternate) + ")",
|
|
1811
|
+
LogicalExpression: (e) => "(" + _(e.left) + e.operator + _(e.right) + ")",
|
|
1514
1812
|
ObjectExpression: (e) => {
|
|
1515
1813
|
for (let t of e.properties) {
|
|
1516
1814
|
let e = t.key.name;
|
|
1517
|
-
|
|
1815
|
+
c.has(e) && i("Illegal property: " + e);
|
|
1518
1816
|
}
|
|
1519
|
-
return "{" + e.properties.map(
|
|
1817
|
+
return "{" + e.properties.map(_).join(",") + "}";
|
|
1520
1818
|
},
|
|
1521
1819
|
Property: (e) => {
|
|
1522
|
-
|
|
1523
|
-
let t =
|
|
1524
|
-
return --
|
|
1820
|
+
h += 1;
|
|
1821
|
+
let t = _(e.key);
|
|
1822
|
+
return --h, t + ":" + _(e.value);
|
|
1525
1823
|
}
|
|
1526
1824
|
};
|
|
1527
|
-
function
|
|
1825
|
+
function v(e) {
|
|
1528
1826
|
let t = {
|
|
1529
|
-
code:
|
|
1530
|
-
globals: Object.keys(
|
|
1531
|
-
fields: Object.keys(
|
|
1827
|
+
code: _(e),
|
|
1828
|
+
globals: Object.keys(u),
|
|
1829
|
+
fields: Object.keys(d)
|
|
1532
1830
|
};
|
|
1533
|
-
return
|
|
1831
|
+
return u = {}, d = {}, t;
|
|
1534
1832
|
}
|
|
1535
|
-
return
|
|
1833
|
+
return v.functions = a, v.constants = r, v;
|
|
1536
1834
|
}
|
|
1537
1835
|
//#endregion
|
|
1538
1836
|
//#region ../core/src/utils/smoothstep.js
|
|
1539
|
-
function
|
|
1837
|
+
function oi(e, t, n) {
|
|
1540
1838
|
return n = (n - e) / (t - e), n = Math.max(0, Math.min(1, n)), n * n * (3 - 2 * n);
|
|
1541
1839
|
}
|
|
1542
1840
|
//#endregion
|
|
1543
1841
|
//#region ../core/src/utils/clamp.js
|
|
1544
|
-
function
|
|
1842
|
+
function si(e, t = 0, n = 1) {
|
|
1545
1843
|
return Math.max(t, Math.min(n, e));
|
|
1546
1844
|
}
|
|
1547
1845
|
//#endregion
|
|
1548
1846
|
//#region ../core/src/utils/linearstep.js
|
|
1549
|
-
function
|
|
1550
|
-
return
|
|
1847
|
+
function ci(e, t, n) {
|
|
1848
|
+
return si((n - e) / (t - e), 0, 1);
|
|
1551
1849
|
}
|
|
1552
1850
|
//#endregion
|
|
1553
1851
|
//#region ../core/src/utils/expression.js
|
|
1554
|
-
function
|
|
1555
|
-
return
|
|
1852
|
+
function li(e) {
|
|
1853
|
+
return C(e) || ArrayBuffer.isView(e) ? e : null;
|
|
1556
1854
|
}
|
|
1557
|
-
function
|
|
1558
|
-
return
|
|
1855
|
+
function ui(e) {
|
|
1856
|
+
return li(e) || (w(e) ? e : null);
|
|
1559
1857
|
}
|
|
1560
|
-
var
|
|
1561
|
-
clamp:
|
|
1858
|
+
var di = {
|
|
1859
|
+
clamp: si,
|
|
1562
1860
|
format(e, t) {
|
|
1563
|
-
return
|
|
1861
|
+
return me(t)(e);
|
|
1564
1862
|
},
|
|
1565
1863
|
join(e, t) {
|
|
1566
|
-
return
|
|
1864
|
+
return li(e).join(t);
|
|
1567
1865
|
},
|
|
1568
1866
|
indexof(e, t, n) {
|
|
1569
|
-
return
|
|
1867
|
+
return ui(e).indexOf(t, n);
|
|
1570
1868
|
},
|
|
1571
1869
|
lastindexof(e, t, n) {
|
|
1572
|
-
return
|
|
1870
|
+
return ui(e).lastIndexOf(t, n);
|
|
1573
1871
|
},
|
|
1574
1872
|
reverse(e) {
|
|
1575
|
-
return
|
|
1873
|
+
return w(e) ? Array.from(e).reverse().join("") : li(e).slice().reverse();
|
|
1576
1874
|
},
|
|
1577
1875
|
slice(e, t, n) {
|
|
1578
|
-
return
|
|
1876
|
+
return ui(e).slice(t, n);
|
|
1579
1877
|
},
|
|
1580
1878
|
mapHasKey(e, t) {
|
|
1581
1879
|
return e.has(t);
|
|
1582
1880
|
},
|
|
1583
|
-
isArray:
|
|
1584
|
-
isBoolean:
|
|
1881
|
+
isArray: C,
|
|
1882
|
+
isBoolean: nt,
|
|
1585
1883
|
isDefined(e) {
|
|
1586
1884
|
return e !== void 0;
|
|
1587
1885
|
},
|
|
1588
|
-
isNumber:
|
|
1589
|
-
isObject:
|
|
1590
|
-
isRegExp:
|
|
1591
|
-
isString:
|
|
1886
|
+
isNumber: rt,
|
|
1887
|
+
isObject: Ae,
|
|
1888
|
+
isRegExp: it,
|
|
1889
|
+
isString: w,
|
|
1592
1890
|
isValid(e) {
|
|
1593
1891
|
return e != null && e === e;
|
|
1594
1892
|
},
|
|
1595
|
-
lerp:
|
|
1596
|
-
linearstep:
|
|
1893
|
+
lerp: at,
|
|
1894
|
+
linearstep: ci,
|
|
1597
1895
|
replace(e, t, n) {
|
|
1598
1896
|
return String(e).replace(t, n);
|
|
1599
1897
|
},
|
|
1600
1898
|
sort(e) {
|
|
1601
|
-
return
|
|
1899
|
+
return li(e).slice().sort(Qe);
|
|
1602
1900
|
},
|
|
1603
1901
|
center(e) {
|
|
1604
|
-
let t =
|
|
1902
|
+
let t = li(e);
|
|
1605
1903
|
return (t[0] + t[t.length - 1]) / 2;
|
|
1606
1904
|
},
|
|
1607
1905
|
span(e) {
|
|
1608
|
-
return
|
|
1906
|
+
return ot(e);
|
|
1609
1907
|
},
|
|
1610
|
-
smoothstep:
|
|
1908
|
+
smoothstep: oi
|
|
1611
1909
|
};
|
|
1612
|
-
function
|
|
1613
|
-
let t = !1, n =
|
|
1910
|
+
function fi(e) {
|
|
1911
|
+
let t = !1, n = bi(e, {}, { resolveScaleResolution: () => (t = !0, {
|
|
1912
|
+
channel: "analysis",
|
|
1913
|
+
getDomainRef: () => void 0,
|
|
1914
|
+
getMappingRef: () => void 0,
|
|
1915
|
+
getConfigurationRef: () => void 0
|
|
1916
|
+
}) });
|
|
1614
1917
|
return {
|
|
1615
1918
|
usesScaleHelper: t,
|
|
1616
1919
|
globals: n.globals
|
|
1617
1920
|
};
|
|
1618
1921
|
}
|
|
1619
|
-
function
|
|
1620
|
-
let n =
|
|
1621
|
-
for (let e in
|
|
1922
|
+
function pi(e, t) {
|
|
1923
|
+
let n = ri(e);
|
|
1924
|
+
for (let e in di) n[e] = `this.${e}`;
|
|
1622
1925
|
for (let r of [
|
|
1623
1926
|
"scale",
|
|
1624
1927
|
"invert",
|
|
@@ -1626,24 +1929,24 @@ function br(e, t) {
|
|
|
1626
1929
|
"range",
|
|
1627
1930
|
"bandwidth",
|
|
1628
1931
|
"linearize"
|
|
1629
|
-
]) n[r] = (n) =>
|
|
1932
|
+
]) n[r] = (n) => mi(e, t, r, n);
|
|
1630
1933
|
return n;
|
|
1631
1934
|
}
|
|
1632
|
-
function
|
|
1935
|
+
function mi(e, t, n, r) {
|
|
1633
1936
|
if (r.length === 0) throw Error(`Scale helper "${n}" requires a literal channel name.`);
|
|
1634
1937
|
if ((n === "scale" || n === "invert" || n === "linearize") && r.length < 2) throw Error(`Scale helper "${n}" requires a channel name and a value.`);
|
|
1635
|
-
let i =
|
|
1938
|
+
let i = hi(r[0]);
|
|
1636
1939
|
if (!i) throw Error(`Scale helper "${n}" requires a literal channel name.`);
|
|
1637
1940
|
let a = t.resolveScaleResolution?.(i);
|
|
1638
1941
|
if (!a) throw Error(`Unknown scale channel "${i}" in expression helper "${n}".`);
|
|
1639
1942
|
let o = t.getScaleHelper(n, i, a), s = r.slice(1).map((t) => e(t)).join(",");
|
|
1640
1943
|
return `${t.globalvar}["${o.codeName}"](${s})`;
|
|
1641
1944
|
}
|
|
1642
|
-
function
|
|
1945
|
+
function hi(e) {
|
|
1643
1946
|
return e?.type === "Literal" && typeof e.value == "string" ? e.value : void 0;
|
|
1644
1947
|
}
|
|
1645
|
-
function
|
|
1646
|
-
let n = (n) =>
|
|
1948
|
+
function gi(e, t) {
|
|
1949
|
+
let n = (n) => vi(t, e, n);
|
|
1647
1950
|
if (e === "domain") return () => n(() => t.getDomain());
|
|
1648
1951
|
if (e === "range") return () => n(() => t.getScale().range());
|
|
1649
1952
|
if (e === "bandwidth") return () => n(() => {
|
|
@@ -1656,42 +1959,20 @@ function Cr(e, t) {
|
|
|
1656
1959
|
if (e === "linearize") return (e) => n(() => e == null ? null : typeof t.fromComplex == "function" ? t.fromComplex(e) : e);
|
|
1657
1960
|
throw Error("Unknown scale helper: " + e);
|
|
1658
1961
|
}
|
|
1659
|
-
var
|
|
1660
|
-
function
|
|
1661
|
-
if (
|
|
1662
|
-
|
|
1962
|
+
var _i = /* @__PURE__ */ new WeakSet();
|
|
1963
|
+
function vi(e, t, n) {
|
|
1964
|
+
if (_i.has(e)) throw Error(`Scale helper cycle detected while evaluating ${t}("${e.channel}").`);
|
|
1965
|
+
_i.add(e);
|
|
1663
1966
|
try {
|
|
1664
1967
|
return n();
|
|
1665
1968
|
} finally {
|
|
1666
|
-
|
|
1969
|
+
_i.delete(e);
|
|
1667
1970
|
}
|
|
1668
1971
|
}
|
|
1669
|
-
function
|
|
1670
|
-
|
|
1671
|
-
for (let e of i) e();
|
|
1672
|
-
}, o = () => {
|
|
1673
|
-
e === "domain" ? n.addEventListener("domain", a) : (e === "range" || n.addEventListener("domain", a), n.addEventListener("range", a));
|
|
1674
|
-
}, s = () => {
|
|
1675
|
-
e === "domain" ? n.removeEventListener("domain", a) : (e === "range" || n.removeEventListener("domain", a), n.removeEventListener("range", a));
|
|
1676
|
-
};
|
|
1677
|
-
return {
|
|
1678
|
-
id: `scale:${t}:${r}`,
|
|
1679
|
-
name: `scale(${t})`,
|
|
1680
|
-
kind: "derived",
|
|
1681
|
-
rank: 0,
|
|
1682
|
-
propagation: "sync",
|
|
1683
|
-
get() {
|
|
1684
|
-
return n.getScale();
|
|
1685
|
-
},
|
|
1686
|
-
subscribe(e) {
|
|
1687
|
-
let t = i.size === 0;
|
|
1688
|
-
return i.add(e), t && o(), () => {
|
|
1689
|
-
i.delete(e) && i.size === 0 && s();
|
|
1690
|
-
};
|
|
1691
|
-
}
|
|
1692
|
-
};
|
|
1972
|
+
function yi(e, t) {
|
|
1973
|
+
return e === "domain" ? t.getDomainRef() : e === "linearize" ? t.getConfigurationRef() : t.getMappingRef();
|
|
1693
1974
|
}
|
|
1694
|
-
function
|
|
1975
|
+
function bi(e, t = {}, n = {}) {
|
|
1695
1976
|
try {
|
|
1696
1977
|
let r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a = 1, o = {
|
|
1697
1978
|
...n,
|
|
@@ -1701,38 +1982,38 @@ function Dr(e, t = {}, n = {}) {
|
|
|
1701
1982
|
let s = e + ":" + n, c = i.get(s);
|
|
1702
1983
|
if (c) return c;
|
|
1703
1984
|
let l = r.get(s);
|
|
1704
|
-
l || (l =
|
|
1985
|
+
l || (l = yi(e, o), r.set(s, l));
|
|
1705
1986
|
let u = "__scale_helper_" + a++, d = {
|
|
1706
1987
|
codeName: u,
|
|
1707
1988
|
dependency: l
|
|
1708
1989
|
};
|
|
1709
|
-
return i.set(s, d), t[u] =
|
|
1990
|
+
return i.set(s, d), t[u] = gi(e, o), d;
|
|
1710
1991
|
}
|
|
1711
|
-
}, s =
|
|
1992
|
+
}, s = ai({
|
|
1712
1993
|
forbidden: [],
|
|
1713
1994
|
allowed: ["datum", "undefined"],
|
|
1714
1995
|
globalvar: "globalObject",
|
|
1715
1996
|
fieldvar: "datum",
|
|
1716
|
-
functions: (e) =>
|
|
1717
|
-
})(
|
|
1997
|
+
functions: (e) => pi(e, o)
|
|
1998
|
+
})(ti(e)), c = Function("datum", "globalObject", `"use strict";
|
|
1718
1999
|
try {
|
|
1719
2000
|
return (${s.code});
|
|
1720
2001
|
} catch (e) {
|
|
1721
2002
|
throw new Error("Error evaluating expression: " + ${JSON.stringify(e)} + ", " + e.message, e);
|
|
1722
|
-
}`).bind(
|
|
1723
|
-
return l.fields = s.fields, l.globals = s.globals, l.code = s.code, l.scaleDependencies = Array.from(r.values()), l;
|
|
2003
|
+
}`).bind(di), l = (e) => c(e, t);
|
|
2004
|
+
return l.fields = s.fields, l.globals = s.globals, l.code = s.code, l.scaleDependencies = Array.from(new Set(r.values())), l;
|
|
1724
2005
|
} catch (t) {
|
|
1725
2006
|
throw Error(`Invalid expression: ${e}, ${t.message}`, { cause: t });
|
|
1726
2007
|
}
|
|
1727
2008
|
}
|
|
1728
|
-
var
|
|
2009
|
+
var xi = ai({
|
|
1729
2010
|
forbidden: [],
|
|
1730
2011
|
allowed: ["event"],
|
|
1731
2012
|
globalvar: "globalObject"
|
|
1732
2013
|
});
|
|
1733
|
-
function
|
|
2014
|
+
function Si(e) {
|
|
1734
2015
|
try {
|
|
1735
|
-
let t =
|
|
2016
|
+
let t = xi(ti(e));
|
|
1736
2017
|
return Function("event", "globalObject", `"use strict";
|
|
1737
2018
|
try {
|
|
1738
2019
|
return !!(${t.code});
|
|
@@ -1745,7 +2026,7 @@ function kr(e) {
|
|
|
1745
2026
|
}
|
|
1746
2027
|
//#endregion
|
|
1747
2028
|
//#region ../core/src/utils/interactionConfig.js
|
|
1748
|
-
function
|
|
2029
|
+
function Ci(e) {
|
|
1749
2030
|
if (typeof e == "string") {
|
|
1750
2031
|
let t = e.match(/^([a-zA-Z]+)(?:\[(.+)\])?$/);
|
|
1751
2032
|
if (!t) throw Error(`Invalid event type string: ${e}`);
|
|
@@ -1753,35 +2034,55 @@ function Ar(e) {
|
|
|
1753
2034
|
return r && (i.filter = r), i;
|
|
1754
2035
|
} else return e;
|
|
1755
2036
|
}
|
|
1756
|
-
function
|
|
1757
|
-
return e?.filter ?
|
|
2037
|
+
function wi(e) {
|
|
2038
|
+
return e?.filter ? Si(e.filter) : () => !0;
|
|
1758
2039
|
}
|
|
1759
|
-
function
|
|
2040
|
+
function Ti(e, t, n) {
|
|
1760
2041
|
if (!t.includes(e.type)) throw Error(n);
|
|
1761
2042
|
return e;
|
|
1762
2043
|
}
|
|
1763
2044
|
//#endregion
|
|
1764
2045
|
//#region ../core/src/selection/selection.js
|
|
1765
|
-
function
|
|
2046
|
+
function Ei(e) {
|
|
1766
2047
|
return {
|
|
1767
2048
|
type: "single",
|
|
1768
2049
|
datum: e,
|
|
1769
2050
|
uniqueId: e?.[T]
|
|
1770
2051
|
};
|
|
1771
2052
|
}
|
|
1772
|
-
function
|
|
2053
|
+
function Di(e) {
|
|
1773
2054
|
return e ??= [], {
|
|
1774
2055
|
type: "multi",
|
|
1775
2056
|
data: new Map(e.map((e) => [e[T], e]))
|
|
1776
2057
|
};
|
|
1777
2058
|
}
|
|
1778
|
-
function
|
|
2059
|
+
function Oi(e, t) {
|
|
2060
|
+
if (!t || t.length === 0) return;
|
|
2061
|
+
let n = t.map((e) => yt(e)), r = (e) => n.map((t) => t(e));
|
|
2062
|
+
if (Pi(e)) return e.datum ? [r(e.datum)] : [];
|
|
2063
|
+
if (Fi(e)) return [...e.data.values()].map(r);
|
|
2064
|
+
throw Error(`Expected a point selection, got: ${JSON.stringify(e)}`);
|
|
2065
|
+
}
|
|
2066
|
+
function ki(e, t, n, r) {
|
|
2067
|
+
if (!t || t.length === 0) return;
|
|
2068
|
+
if (e === "single" && n.length > 1) throw Error("Single point selections expect at most one key tuple.");
|
|
2069
|
+
let i = [], a = [];
|
|
2070
|
+
for (let e of n) {
|
|
2071
|
+
let n = r(t, e);
|
|
2072
|
+
n ? i.push(n) : a.push(e);
|
|
2073
|
+
}
|
|
2074
|
+
return {
|
|
2075
|
+
selection: e === "single" ? Ei(i[0] ?? null) : Di(i),
|
|
2076
|
+
unresolved: a
|
|
2077
|
+
};
|
|
2078
|
+
}
|
|
2079
|
+
function Ai(e) {
|
|
1779
2080
|
return {
|
|
1780
2081
|
type: "interval",
|
|
1781
2082
|
intervals: Object.fromEntries(e.map((e) => [e, null]))
|
|
1782
2083
|
};
|
|
1783
2084
|
}
|
|
1784
|
-
function
|
|
2085
|
+
function ji(e, { add: t, remove: n, toggle: r }) {
|
|
1785
2086
|
let i = e.data;
|
|
1786
2087
|
for (let e of t ?? []) i.set(e[T], e);
|
|
1787
2088
|
for (let e of n ?? []) i.delete(e[T]);
|
|
@@ -1794,386 +2095,467 @@ function Ir(e, { add: t, remove: n, toggle: r }) {
|
|
|
1794
2095
|
data: i
|
|
1795
2096
|
};
|
|
1796
2097
|
}
|
|
1797
|
-
function
|
|
1798
|
-
let n = !!(e.empty ?? !0), r =
|
|
1799
|
-
if (
|
|
1800
|
-
if (
|
|
1801
|
-
if (
|
|
1802
|
-
let a = Object.keys(t.intervals), o = Object.keys(i).filter(
|
|
2098
|
+
function Mi(e, t) {
|
|
2099
|
+
let n = !!(e.empty ?? !0), r = Ki(e.param), i = e.fields ?? {};
|
|
2100
|
+
if (Pi(t)) return `${r}.uniqueId == null ? ${n} : ${r}.uniqueId === datum[${JSON.stringify(T)}]`;
|
|
2101
|
+
if (Fi(t)) return `${r}.data.size == 0 ? ${n} : mapHasKey(${r}.data, datum[${JSON.stringify(T)}])`;
|
|
2102
|
+
if (Ni(t)) {
|
|
2103
|
+
let a = Object.keys(t.intervals), o = Object.keys(i).filter(Zt);
|
|
1803
2104
|
if (o.length === 0) throw Error("Filtering using interval selections requires at least one primary positional channel in the config! " + JSON.stringify(e));
|
|
1804
2105
|
if (o.some((e) => !a.includes(e))) throw Error(`Selection channels (${a.join(", ")}) do not match the fields: ${JSON.stringify(e)}!`);
|
|
1805
2106
|
let s = (e) => `datum[${JSON.stringify(e)}]`;
|
|
1806
2107
|
return a.map((e) => {
|
|
1807
|
-
let t =
|
|
2108
|
+
let t = on(e), a = i[e], o = i[t] ?? i[e], c = `${r}.intervals.${e}[0] <= ${s(o)}`, l = `${s(a)} <= ${r}.intervals.${e}[1]`;
|
|
1808
2109
|
return `(${r}.intervals.${e} ? (${c} && ${l}) : ${n})`;
|
|
1809
2110
|
}).join(" && ");
|
|
1810
2111
|
} else throw Error(`Unrecognized selection type : ${JSON.stringify(t)}`);
|
|
1811
2112
|
}
|
|
1812
|
-
function
|
|
2113
|
+
function Ni(e) {
|
|
1813
2114
|
return e.type === "interval";
|
|
1814
2115
|
}
|
|
1815
|
-
function
|
|
2116
|
+
function Pi(e) {
|
|
1816
2117
|
return e.type === "single";
|
|
1817
2118
|
}
|
|
1818
|
-
function
|
|
2119
|
+
function Fi(e) {
|
|
1819
2120
|
return e.type === "multi";
|
|
1820
2121
|
}
|
|
1821
|
-
function
|
|
2122
|
+
function Ii(e) {
|
|
1822
2123
|
let t = typeof e == "string" ? { type: e } : { ...e };
|
|
1823
|
-
return t.on = t.on ?
|
|
2124
|
+
return t.on = t.on ? Ci(t.on) : Li(t) ? { type: "click" } : void 0, t.clear = t.clear === !1 ? void 0 : t.clear === !0 || t.clear == null ? { type: "dblclick" } : Ci(t.clear), Li(t) && t.on.type === "click" && (t.toggle = !0), t;
|
|
1824
2125
|
}
|
|
1825
|
-
function
|
|
2126
|
+
function Li(e) {
|
|
1826
2127
|
return e && e.type == "point";
|
|
1827
2128
|
}
|
|
1828
|
-
function
|
|
2129
|
+
function Ri(e) {
|
|
1829
2130
|
return e && e.type == "interval";
|
|
1830
2131
|
}
|
|
1831
|
-
function
|
|
2132
|
+
function zi(e) {
|
|
1832
2133
|
return Object.values(e.intervals).some((e) => e && e.length === 2);
|
|
1833
2134
|
}
|
|
1834
|
-
function
|
|
2135
|
+
function Bi(e, t) {
|
|
1835
2136
|
return Object.entries(e.intervals).every(([e, n]) => (e == "x" || e == "y") && n && n[0] <= t[e] && n[1] >= t[e]);
|
|
1836
2137
|
}
|
|
1837
2138
|
//#endregion
|
|
1838
|
-
//#region ../core/src/
|
|
1839
|
-
function
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
let r = n;
|
|
1843
|
-
return r.fields ??= [], r.constant = r.fields.length === 0, r.channelDef = t, r.channel = e, r.sourceKey = Yr(t), r.scaleChannel = ((ui(t) && t.resolutionChannel) ?? (Pi(e) && e)) || void 0, r.scaleChannel !== void 0 && (r.domainKeyBase = Xr({
|
|
1844
|
-
scaleChannel: r.scaleChannel,
|
|
1845
|
-
source: Jr(t)
|
|
1846
|
-
}).domainKeyBase), r.equals = (e) => e ? r === e || r.sourceKey !== void 0 && r.sourceKey === e.sourceKey : !1, r.asNumberAccessor = () => r, r;
|
|
1847
|
-
}
|
|
1848
|
-
function i(e) {
|
|
1849
|
-
if (w(e)) {
|
|
1850
|
-
let t = r(n.createExpression(e.expr));
|
|
1851
|
-
if (t.fields.length > 0) throw Error("Expression in DatumDef/ValueDef cannot access data fields: " + e.expr);
|
|
1852
|
-
return t;
|
|
1853
|
-
} else {
|
|
1854
|
-
let t = e;
|
|
1855
|
-
return r(() => t);
|
|
1856
|
-
}
|
|
1857
|
-
}
|
|
1858
|
-
if (Q(t)) try {
|
|
1859
|
-
return r(ct(t.field));
|
|
1860
|
-
} catch (e) {
|
|
1861
|
-
throw Error(`Invalid field definition: ${e.message}`, { cause: e });
|
|
1862
|
-
}
|
|
1863
|
-
else if (hi(t)) return r(n.createExpression(t.expr));
|
|
1864
|
-
else if (li(t)) return i(t.datum);
|
|
1865
|
-
else if (ci(t)) return i(t.value);
|
|
1866
|
-
else throw Error(`Invalid channel definition: "${e}": ${JSON.stringify(t)}! The channel definition must contain one of the following properties: "field", "datum", "value" or "expr".`);
|
|
1867
|
-
}
|
|
1868
|
-
function qr(e) {
|
|
1869
|
-
return e.scaleChannel !== void 0;
|
|
1870
|
-
}
|
|
1871
|
-
function Jr(e) {
|
|
1872
|
-
if (Q(e)) return {
|
|
1873
|
-
kind: "field",
|
|
1874
|
-
value: e.field
|
|
1875
|
-
};
|
|
1876
|
-
if (hi(e)) return {
|
|
1877
|
-
kind: "expr",
|
|
1878
|
-
value: e.expr
|
|
1879
|
-
};
|
|
1880
|
-
if (li(e)) return {
|
|
1881
|
-
kind: "datum",
|
|
1882
|
-
value: e.datum
|
|
1883
|
-
};
|
|
1884
|
-
if (ci(e)) return {
|
|
1885
|
-
kind: "value",
|
|
1886
|
-
value: e.value
|
|
1887
|
-
};
|
|
1888
|
-
throw Error("Cannot derive a domain key from channel definition: " + JSON.stringify(e));
|
|
1889
|
-
}
|
|
1890
|
-
function Yr(e) {
|
|
1891
|
-
let t = Jr(e);
|
|
1892
|
-
return t.kind === "datum" || t.kind === "value" ? "constant|" + $r(t.value) : t.kind + "|" + Qr(t);
|
|
1893
|
-
}
|
|
1894
|
-
function Xr({ scaleChannel: e, source: t, type: n }) {
|
|
1895
|
-
if (!e) throw Error("Cannot build a domain key without a scale channel.");
|
|
1896
|
-
let r = e + "|" + t.kind + "|" + Qr(t);
|
|
2139
|
+
//#region ../core/src/ruler/rulerValue.js
|
|
2140
|
+
function Vi(e = ["x"], t = {}) {
|
|
2141
|
+
let n = {};
|
|
2142
|
+
for (let r of e) n[r] = t[r] ?? null;
|
|
1897
2143
|
return {
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
};
|
|
1901
|
-
}
|
|
1902
|
-
function Zr(e, t) {
|
|
1903
|
-
let { domainKey: n, domainKeyBase: r } = Xr({
|
|
1904
|
-
scaleChannel: e.scaleChannel,
|
|
1905
|
-
source: Jr(e.channelDef),
|
|
1906
|
-
type: t
|
|
1907
|
-
});
|
|
1908
|
-
if (!n) throw Error("Cannot finalize a domain key without a resolved type.");
|
|
1909
|
-
return e.domainKeyBase = r, e.domainKey = n, n;
|
|
1910
|
-
}
|
|
1911
|
-
function Qr(e) {
|
|
1912
|
-
switch (e.kind) {
|
|
1913
|
-
case "field":
|
|
1914
|
-
case "expr": return e.value;
|
|
1915
|
-
case "datum":
|
|
1916
|
-
case "value": return $r(e.value);
|
|
1917
|
-
default: throw Error("Unknown domain key source.");
|
|
1918
|
-
}
|
|
1919
|
-
}
|
|
1920
|
-
function $r(e) {
|
|
1921
|
-
return w(e) ? "expr:" + e.expr : e === void 0 ? "undefined" : JSON.stringify(e);
|
|
2144
|
+
type: "ruler",
|
|
2145
|
+
values: n
|
|
2146
|
+
};
|
|
1922
2147
|
}
|
|
1923
2148
|
//#endregion
|
|
1924
|
-
//#region ../core/src/
|
|
1925
|
-
function
|
|
1926
|
-
|
|
1927
|
-
if (i) return i;
|
|
1928
|
-
let o = n.findValue(e);
|
|
1929
|
-
if (!o) return a;
|
|
1930
|
-
let s = {};
|
|
1931
|
-
if (Rr(o)) {
|
|
1932
|
-
let n = Object.keys(o.intervals);
|
|
1933
|
-
for (let r of n) {
|
|
1934
|
-
let n = t[r];
|
|
1935
|
-
if (Q(n)) {
|
|
1936
|
-
s[r] = n.field;
|
|
1937
|
-
continue;
|
|
1938
|
-
} else if (n && "condition" in n) {
|
|
1939
|
-
let e = n.condition;
|
|
1940
|
-
if (Q(e)) {
|
|
1941
|
-
s[r] = e.field;
|
|
1942
|
-
continue;
|
|
1943
|
-
}
|
|
1944
|
-
}
|
|
1945
|
-
throw Error(`Selection "${e}" has an interval for "${r}" channel, but could not find a fieldDef: ${JSON.stringify(t[r])}`);
|
|
1946
|
-
}
|
|
1947
|
-
}
|
|
1948
|
-
let c = Lr({
|
|
1949
|
-
type: "filter",
|
|
1950
|
-
param: e,
|
|
1951
|
-
fields: s,
|
|
1952
|
-
empty: r
|
|
1953
|
-
}, o);
|
|
1954
|
-
return i = n.createExpression(c), i;
|
|
1955
|
-
};
|
|
1956
|
-
return Object.assign((e) => o()(e), {
|
|
1957
|
-
param: e,
|
|
1958
|
-
empty: r ?? !0
|
|
1959
|
-
});
|
|
2149
|
+
//#region ../core/src/paramRuntime/paramUtils.js
|
|
2150
|
+
function G(e) {
|
|
2151
|
+
return typeof e == "object" && !!e && "expr" in e && w(e.expr);
|
|
1960
2152
|
}
|
|
1961
|
-
function
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
return {
|
|
1965
|
-
accessor: Kr(e, t, r),
|
|
1966
|
-
predicate: s?.param ? ei(s.param, n, r, s.empty) : Object.assign(rt(o === a.length - 1), { empty: !1 })
|
|
1967
|
-
};
|
|
1968
|
-
});
|
|
1969
|
-
if (o.filter((e) => !e.accessor.constant).length > 1) throw Error("Only one accessor can be non-constant. Channel: " + e);
|
|
1970
|
-
return o;
|
|
2153
|
+
function Hi(e) {
|
|
2154
|
+
if (G(e)) throw Error("ExprRef " + JSON.stringify(e) + " not allowed here. Expected a scalar value.");
|
|
2155
|
+
return e;
|
|
1971
2156
|
}
|
|
1972
|
-
function
|
|
1973
|
-
|
|
1974
|
-
for (let [i, a] of Object.entries(t)) {
|
|
1975
|
-
if (!a) continue;
|
|
1976
|
-
let o = i;
|
|
1977
|
-
ri(o) || (n[o] = oi(ti(o, a, t, e.paramRuntime), r));
|
|
1978
|
-
}
|
|
1979
|
-
return n;
|
|
2157
|
+
function Ui(e) {
|
|
2158
|
+
return ("expr" in e || "bind" in e) && !("select" in e) && !("ruler" in e);
|
|
1980
2159
|
}
|
|
1981
|
-
function
|
|
1982
|
-
return
|
|
2160
|
+
function Wi(e) {
|
|
2161
|
+
return !("expr" in e || "bind" in e) && "select" in e;
|
|
1983
2162
|
}
|
|
1984
|
-
function
|
|
1985
|
-
return
|
|
2163
|
+
function Gi(e) {
|
|
2164
|
+
return !("expr" in e || "bind" in e || "select" in e) && "ruler" in e;
|
|
1986
2165
|
}
|
|
1987
|
-
function
|
|
1988
|
-
|
|
2166
|
+
function Ki(e) {
|
|
2167
|
+
if (!/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)) throw Error("Invalid parameter name: " + e + ". Must be a valid JavaScript identifier.");
|
|
2168
|
+
return e;
|
|
1989
2169
|
}
|
|
1990
|
-
function
|
|
1991
|
-
if (
|
|
1992
|
-
let
|
|
1993
|
-
return
|
|
2170
|
+
function qi(e, t, n) {
|
|
2171
|
+
if ("select" in e) {
|
|
2172
|
+
let t = Ii(e.select);
|
|
2173
|
+
if (Li(t)) return t.toggle ? Di() : Ei(null);
|
|
2174
|
+
if (Ri(t)) {
|
|
2175
|
+
if (!t.encodings) throw Error("Interval selection \"" + e.name + "\" must have encodings defined!");
|
|
2176
|
+
return Ai(t.encodings);
|
|
2177
|
+
}
|
|
2178
|
+
throw Error("Unknown selection config for parameter \"" + e.name + "\".");
|
|
1994
2179
|
}
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
channelDef: e.at(-1).accessor.channelDef
|
|
2003
|
-
});
|
|
2180
|
+
if ("ruler" in e) return Vi(e.ruler.encodings, e.value);
|
|
2181
|
+
if ("expr" in e) {
|
|
2182
|
+
let r = n ?? t?.createExpression(e.expr);
|
|
2183
|
+
if (!r) throw Error("Cannot evaluate expression for parameter \"" + e.name + "\".");
|
|
2184
|
+
return r(null);
|
|
2185
|
+
}
|
|
2186
|
+
return "value" in e ? e.value : null;
|
|
2004
2187
|
}
|
|
2005
|
-
function
|
|
2006
|
-
let {
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
scale: a,
|
|
2010
|
-
constant: e.constant,
|
|
2011
|
-
branches: [{
|
|
2012
|
-
accessor: e,
|
|
2013
|
-
predicate: rt(!0)
|
|
2014
|
-
}],
|
|
2015
|
-
channelDef: i
|
|
2188
|
+
function Ji(e, t, n, r, i = {}) {
|
|
2189
|
+
let a = { ...t }, o = /* @__PURE__ */ new Set(), s = !1, c = !1, l = i.batchMode ?? "microtask";
|
|
2190
|
+
r?.(() => {
|
|
2191
|
+
c = !0, o.clear(), s = !1;
|
|
2016
2192
|
});
|
|
2193
|
+
let u = () => {
|
|
2194
|
+
if (c) return;
|
|
2195
|
+
if (!n || o.size === 0) {
|
|
2196
|
+
s = !1;
|
|
2197
|
+
return;
|
|
2198
|
+
}
|
|
2199
|
+
let e = new Set(o);
|
|
2200
|
+
o.clear(), s = !1, n(e);
|
|
2201
|
+
}, d = (t) => {
|
|
2202
|
+
c || (o.add(t), s || (s = !0, queueMicrotask(() => {
|
|
2203
|
+
c || (l == "whenPropagated" && e.whenPropagated ? e.whenPropagated().then(u).catch(() => {
|
|
2204
|
+
u();
|
|
2205
|
+
}) : u());
|
|
2206
|
+
})));
|
|
2207
|
+
};
|
|
2208
|
+
for (let [i, o] of Object.entries(t)) if (G(o)) if (n) {
|
|
2209
|
+
let t = () => d(i), n = e.watchExpression ? e.watchExpression(o.expr, t, {
|
|
2210
|
+
scopeOwned: !r,
|
|
2211
|
+
registerDisposer: r
|
|
2212
|
+
}) : e.createExpression(o.expr);
|
|
2213
|
+
if (!e.watchExpression) {
|
|
2214
|
+
let e = n.subscribe(t);
|
|
2215
|
+
r?.(e);
|
|
2216
|
+
}
|
|
2217
|
+
Object.defineProperty(a, i, {
|
|
2218
|
+
enumerable: !0,
|
|
2219
|
+
get() {
|
|
2220
|
+
return n();
|
|
2221
|
+
}
|
|
2222
|
+
});
|
|
2223
|
+
} else {
|
|
2224
|
+
let t = e.createExpression(o.expr);
|
|
2225
|
+
Object.defineProperty(a, i, {
|
|
2226
|
+
enumerable: !0,
|
|
2227
|
+
get() {
|
|
2228
|
+
return t();
|
|
2229
|
+
}
|
|
2230
|
+
});
|
|
2231
|
+
}
|
|
2232
|
+
else a[i] = o;
|
|
2233
|
+
return a;
|
|
2017
2234
|
}
|
|
2018
|
-
function
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2235
|
+
function Yi(e, t, n, r) {
|
|
2236
|
+
if (!G(t)) return t;
|
|
2237
|
+
let i = () => {
|
|
2238
|
+
throw Error(n);
|
|
2239
|
+
}, a = e.watchExpression ? e.watchExpression(t.expr, i, {
|
|
2240
|
+
scopeOwned: !1,
|
|
2241
|
+
registerDisposer: r
|
|
2242
|
+
}) : e.createExpression(t.expr);
|
|
2243
|
+
if (!e.watchExpression) {
|
|
2244
|
+
let e = a.subscribe(i);
|
|
2245
|
+
r?.(e);
|
|
2246
|
+
}
|
|
2247
|
+
return a();
|
|
2023
2248
|
}
|
|
2024
|
-
function
|
|
2025
|
-
return
|
|
2249
|
+
function Xi(e) {
|
|
2250
|
+
return Object.assign(() => e, {
|
|
2251
|
+
subscribe: () => () => void 0,
|
|
2252
|
+
invalidate: () => void 0,
|
|
2253
|
+
identifier: () => "constant",
|
|
2254
|
+
fields: [],
|
|
2255
|
+
globals: [],
|
|
2256
|
+
code: JSON.stringify(e)
|
|
2257
|
+
});
|
|
2026
2258
|
}
|
|
2027
|
-
|
|
2028
|
-
|
|
2259
|
+
//#endregion
|
|
2260
|
+
//#region ../../node_modules/d3-color/src/define.js
|
|
2261
|
+
function Zi(e, t, n) {
|
|
2262
|
+
e.prototype = t.prototype = n, n.constructor = e;
|
|
2029
2263
|
}
|
|
2030
|
-
function
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
} else if (ui(e)) return e;
|
|
2264
|
+
function Qi(e, t) {
|
|
2265
|
+
var n = Object.create(e.prototype);
|
|
2266
|
+
for (var r in t) n[r] = t[r];
|
|
2267
|
+
return n;
|
|
2035
2268
|
}
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2269
|
+
//#endregion
|
|
2270
|
+
//#region ../../node_modules/d3-color/src/color.js
|
|
2271
|
+
function K() {}
|
|
2272
|
+
var q = .7, $i = 1 / q, J = "\\s*([+-]?\\d+)\\s*", ea = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Y = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", ta = /^#([0-9a-f]{3,8})$/, na = RegExp(`^rgb\\(${J},${J},${J}\\)$`), ra = RegExp(`^rgb\\(${Y},${Y},${Y}\\)$`), ia = RegExp(`^rgba\\(${J},${J},${J},${ea}\\)$`), aa = RegExp(`^rgba\\(${Y},${Y},${Y},${ea}\\)$`), oa = RegExp(`^hsl\\(${ea},${Y},${Y}\\)$`), sa = RegExp(`^hsla\\(${ea},${Y},${Y},${ea}\\)$`), ca = {
|
|
2273
|
+
aliceblue: 15792383,
|
|
2274
|
+
antiquewhite: 16444375,
|
|
2275
|
+
aqua: 65535,
|
|
2276
|
+
aquamarine: 8388564,
|
|
2277
|
+
azure: 15794175,
|
|
2278
|
+
beige: 16119260,
|
|
2279
|
+
bisque: 16770244,
|
|
2280
|
+
black: 0,
|
|
2281
|
+
blanchedalmond: 16772045,
|
|
2282
|
+
blue: 255,
|
|
2283
|
+
blueviolet: 9055202,
|
|
2284
|
+
brown: 10824234,
|
|
2285
|
+
burlywood: 14596231,
|
|
2286
|
+
cadetblue: 6266528,
|
|
2287
|
+
chartreuse: 8388352,
|
|
2288
|
+
chocolate: 13789470,
|
|
2289
|
+
coral: 16744272,
|
|
2290
|
+
cornflowerblue: 6591981,
|
|
2291
|
+
cornsilk: 16775388,
|
|
2292
|
+
crimson: 14423100,
|
|
2293
|
+
cyan: 65535,
|
|
2294
|
+
darkblue: 139,
|
|
2295
|
+
darkcyan: 35723,
|
|
2296
|
+
darkgoldenrod: 12092939,
|
|
2297
|
+
darkgray: 11119017,
|
|
2298
|
+
darkgreen: 25600,
|
|
2299
|
+
darkgrey: 11119017,
|
|
2300
|
+
darkkhaki: 12433259,
|
|
2301
|
+
darkmagenta: 9109643,
|
|
2302
|
+
darkolivegreen: 5597999,
|
|
2303
|
+
darkorange: 16747520,
|
|
2304
|
+
darkorchid: 10040012,
|
|
2305
|
+
darkred: 9109504,
|
|
2306
|
+
darksalmon: 15308410,
|
|
2307
|
+
darkseagreen: 9419919,
|
|
2308
|
+
darkslateblue: 4734347,
|
|
2309
|
+
darkslategray: 3100495,
|
|
2310
|
+
darkslategrey: 3100495,
|
|
2311
|
+
darkturquoise: 52945,
|
|
2312
|
+
darkviolet: 9699539,
|
|
2313
|
+
deeppink: 16716947,
|
|
2314
|
+
deepskyblue: 49151,
|
|
2315
|
+
dimgray: 6908265,
|
|
2316
|
+
dimgrey: 6908265,
|
|
2317
|
+
dodgerblue: 2003199,
|
|
2318
|
+
firebrick: 11674146,
|
|
2319
|
+
floralwhite: 16775920,
|
|
2320
|
+
forestgreen: 2263842,
|
|
2321
|
+
fuchsia: 16711935,
|
|
2322
|
+
gainsboro: 14474460,
|
|
2323
|
+
ghostwhite: 16316671,
|
|
2324
|
+
gold: 16766720,
|
|
2325
|
+
goldenrod: 14329120,
|
|
2326
|
+
gray: 8421504,
|
|
2327
|
+
green: 32768,
|
|
2328
|
+
greenyellow: 11403055,
|
|
2329
|
+
grey: 8421504,
|
|
2330
|
+
honeydew: 15794160,
|
|
2331
|
+
hotpink: 16738740,
|
|
2332
|
+
indianred: 13458524,
|
|
2333
|
+
indigo: 4915330,
|
|
2334
|
+
ivory: 16777200,
|
|
2335
|
+
khaki: 15787660,
|
|
2336
|
+
lavender: 15132410,
|
|
2337
|
+
lavenderblush: 16773365,
|
|
2338
|
+
lawngreen: 8190976,
|
|
2339
|
+
lemonchiffon: 16775885,
|
|
2340
|
+
lightblue: 11393254,
|
|
2341
|
+
lightcoral: 15761536,
|
|
2342
|
+
lightcyan: 14745599,
|
|
2343
|
+
lightgoldenrodyellow: 16448210,
|
|
2344
|
+
lightgray: 13882323,
|
|
2345
|
+
lightgreen: 9498256,
|
|
2346
|
+
lightgrey: 13882323,
|
|
2347
|
+
lightpink: 16758465,
|
|
2348
|
+
lightsalmon: 16752762,
|
|
2349
|
+
lightseagreen: 2142890,
|
|
2350
|
+
lightskyblue: 8900346,
|
|
2351
|
+
lightslategray: 7833753,
|
|
2352
|
+
lightslategrey: 7833753,
|
|
2353
|
+
lightsteelblue: 11584734,
|
|
2354
|
+
lightyellow: 16777184,
|
|
2355
|
+
lime: 65280,
|
|
2356
|
+
limegreen: 3329330,
|
|
2357
|
+
linen: 16445670,
|
|
2358
|
+
magenta: 16711935,
|
|
2359
|
+
maroon: 8388608,
|
|
2360
|
+
mediumaquamarine: 6737322,
|
|
2361
|
+
mediumblue: 205,
|
|
2362
|
+
mediumorchid: 12211667,
|
|
2363
|
+
mediumpurple: 9662683,
|
|
2364
|
+
mediumseagreen: 3978097,
|
|
2365
|
+
mediumslateblue: 8087790,
|
|
2366
|
+
mediumspringgreen: 64154,
|
|
2367
|
+
mediumturquoise: 4772300,
|
|
2368
|
+
mediumvioletred: 13047173,
|
|
2369
|
+
midnightblue: 1644912,
|
|
2370
|
+
mintcream: 16121850,
|
|
2371
|
+
mistyrose: 16770273,
|
|
2372
|
+
moccasin: 16770229,
|
|
2373
|
+
navajowhite: 16768685,
|
|
2374
|
+
navy: 128,
|
|
2375
|
+
oldlace: 16643558,
|
|
2376
|
+
olive: 8421376,
|
|
2377
|
+
olivedrab: 7048739,
|
|
2378
|
+
orange: 16753920,
|
|
2379
|
+
orangered: 16729344,
|
|
2380
|
+
orchid: 14315734,
|
|
2381
|
+
palegoldenrod: 15657130,
|
|
2382
|
+
palegreen: 10025880,
|
|
2383
|
+
paleturquoise: 11529966,
|
|
2384
|
+
palevioletred: 14381203,
|
|
2385
|
+
papayawhip: 16773077,
|
|
2386
|
+
peachpuff: 16767673,
|
|
2387
|
+
peru: 13468991,
|
|
2388
|
+
pink: 16761035,
|
|
2389
|
+
plum: 14524637,
|
|
2390
|
+
powderblue: 11591910,
|
|
2391
|
+
purple: 8388736,
|
|
2392
|
+
rebeccapurple: 6697881,
|
|
2393
|
+
red: 16711680,
|
|
2394
|
+
rosybrown: 12357519,
|
|
2395
|
+
royalblue: 4286945,
|
|
2396
|
+
saddlebrown: 9127187,
|
|
2397
|
+
salmon: 16416882,
|
|
2398
|
+
sandybrown: 16032864,
|
|
2399
|
+
seagreen: 3050327,
|
|
2400
|
+
seashell: 16774638,
|
|
2401
|
+
sienna: 10506797,
|
|
2402
|
+
silver: 12632256,
|
|
2403
|
+
skyblue: 8900331,
|
|
2404
|
+
slateblue: 6970061,
|
|
2405
|
+
slategray: 7372944,
|
|
2406
|
+
slategrey: 7372944,
|
|
2407
|
+
snow: 16775930,
|
|
2408
|
+
springgreen: 65407,
|
|
2409
|
+
steelblue: 4620980,
|
|
2410
|
+
tan: 13808780,
|
|
2411
|
+
teal: 32896,
|
|
2412
|
+
thistle: 14204888,
|
|
2413
|
+
tomato: 16737095,
|
|
2414
|
+
turquoise: 4251856,
|
|
2415
|
+
violet: 15631086,
|
|
2416
|
+
wheat: 16113331,
|
|
2417
|
+
white: 16777215,
|
|
2418
|
+
whitesmoke: 16119285,
|
|
2419
|
+
yellow: 16776960,
|
|
2420
|
+
yellowgreen: 10145074
|
|
2421
|
+
};
|
|
2422
|
+
Zi(K, pa, {
|
|
2423
|
+
copy(e) {
|
|
2424
|
+
return Object.assign(new this.constructor(), this, e);
|
|
2425
|
+
},
|
|
2426
|
+
displayable() {
|
|
2427
|
+
return this.rgb().displayable();
|
|
2428
|
+
},
|
|
2429
|
+
hex: la,
|
|
2430
|
+
formatHex: la,
|
|
2431
|
+
formatHex8: ua,
|
|
2432
|
+
formatHsl: da,
|
|
2433
|
+
formatRgb: fa,
|
|
2434
|
+
toString: fa
|
|
2435
|
+
});
|
|
2436
|
+
function la() {
|
|
2437
|
+
return this.rgb().formatHex();
|
|
2039
2438
|
}
|
|
2040
|
-
function
|
|
2041
|
-
|
|
2042
|
-
if (Array.isArray(n)) throw Error("Not a channel def with scale!");
|
|
2043
|
-
{
|
|
2044
|
-
let e = di(n);
|
|
2045
|
-
if (e) return e;
|
|
2046
|
-
}
|
|
2047
|
-
throw Error("Not a channel def with scale!");
|
|
2439
|
+
function ua() {
|
|
2440
|
+
return this.rgb().formatHex8();
|
|
2048
2441
|
}
|
|
2049
|
-
function
|
|
2050
|
-
return
|
|
2442
|
+
function da() {
|
|
2443
|
+
return Ca(this).formatHsl();
|
|
2051
2444
|
}
|
|
2052
|
-
function
|
|
2053
|
-
return
|
|
2445
|
+
function fa() {
|
|
2446
|
+
return this.rgb().formatRgb();
|
|
2054
2447
|
}
|
|
2055
|
-
function
|
|
2056
|
-
|
|
2448
|
+
function pa(e) {
|
|
2449
|
+
var t, n;
|
|
2450
|
+
return e = (e + "").trim().toLowerCase(), (t = ta.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? ma(t) : n === 3 ? new X(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? ha(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? ha(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = na.exec(e)) ? new X(t[1], t[2], t[3], 1) : (t = ra.exec(e)) ? new X(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = ia.exec(e)) ? ha(t[1], t[2], t[3], t[4]) : (t = aa.exec(e)) ? ha(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = oa.exec(e)) ? Sa(t[1], t[2] / 100, t[3] / 100, 1) : (t = sa.exec(e)) ? Sa(t[1], t[2] / 100, t[3] / 100, t[4]) : ca.hasOwnProperty(e) ? ma(ca[e]) : e === "transparent" ? new X(NaN, NaN, NaN, 0) : null;
|
|
2057
2451
|
}
|
|
2058
|
-
function
|
|
2059
|
-
return
|
|
2452
|
+
function ma(e) {
|
|
2453
|
+
return new X(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
|
|
2060
2454
|
}
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
return vi.includes(e);
|
|
2455
|
+
function ha(e, t, n, r) {
|
|
2456
|
+
return r <= 0 && (e = t = n = NaN), new X(e, t, n, r);
|
|
2064
2457
|
}
|
|
2065
|
-
function
|
|
2066
|
-
return
|
|
2458
|
+
function ga(e) {
|
|
2459
|
+
return e instanceof K || (e = pa(e)), e ? (e = e.rgb(), new X(e.r, e.g, e.b, e.opacity)) : new X();
|
|
2067
2460
|
}
|
|
2068
|
-
function
|
|
2069
|
-
return
|
|
2461
|
+
function _a(e, t, n, r) {
|
|
2462
|
+
return arguments.length === 1 ? ga(e) : new X(e, t, n, r ?? 1);
|
|
2070
2463
|
}
|
|
2071
|
-
function
|
|
2072
|
-
|
|
2464
|
+
function X(e, t, n, r) {
|
|
2465
|
+
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
|
|
2073
2466
|
}
|
|
2074
|
-
|
|
2075
|
-
|
|
2467
|
+
Zi(X, _a, Qi(K, {
|
|
2468
|
+
brighter(e) {
|
|
2469
|
+
return e = e == null ? $i : $i ** +e, new X(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
2470
|
+
},
|
|
2471
|
+
darker(e) {
|
|
2472
|
+
return e = e == null ? q : q ** +e, new X(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
2473
|
+
},
|
|
2474
|
+
rgb() {
|
|
2475
|
+
return this;
|
|
2476
|
+
},
|
|
2477
|
+
clamp() {
|
|
2478
|
+
return new X(Z(this.r), Z(this.g), Z(this.b), xa(this.opacity));
|
|
2479
|
+
},
|
|
2480
|
+
displayable() {
|
|
2481
|
+
return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
|
|
2482
|
+
},
|
|
2483
|
+
hex: va,
|
|
2484
|
+
formatHex: va,
|
|
2485
|
+
formatHex8: ya,
|
|
2486
|
+
formatRgb: ba,
|
|
2487
|
+
toString: ba
|
|
2488
|
+
}));
|
|
2489
|
+
function va() {
|
|
2490
|
+
return `#${Q(this.r)}${Q(this.g)}${Q(this.b)}`;
|
|
2076
2491
|
}
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
y: "y2"
|
|
2080
|
-
}, Oi = Object.fromEntries(Object.entries(Di).map((e) => [e[1], e[0]]));
|
|
2081
|
-
function ki(e) {
|
|
2082
|
-
return e in Oi;
|
|
2492
|
+
function ya() {
|
|
2493
|
+
return `#${Q(this.r)}${Q(this.g)}${Q(this.b)}${Q((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
|
|
2083
2494
|
}
|
|
2084
|
-
function
|
|
2085
|
-
let
|
|
2086
|
-
|
|
2087
|
-
throw Error(`${e} has no secondary channel!`);
|
|
2495
|
+
function ba() {
|
|
2496
|
+
let e = xa(this.opacity);
|
|
2497
|
+
return `${e === 1 ? "rgb(" : "rgba("}${Z(this.r)}, ${Z(this.g)}, ${Z(this.b)}${e === 1 ? ")" : `, ${e})`}`;
|
|
2088
2498
|
}
|
|
2089
|
-
function
|
|
2090
|
-
return
|
|
2499
|
+
function xa(e) {
|
|
2500
|
+
return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
|
|
2091
2501
|
}
|
|
2092
|
-
function
|
|
2093
|
-
return
|
|
2094
|
-
"color",
|
|
2095
|
-
"fill",
|
|
2096
|
-
"stroke"
|
|
2097
|
-
].includes(ji(e));
|
|
2502
|
+
function Z(e) {
|
|
2503
|
+
return Math.max(0, Math.min(255, Math.round(e) || 0));
|
|
2098
2504
|
}
|
|
2099
|
-
function
|
|
2100
|
-
return
|
|
2505
|
+
function Q(e) {
|
|
2506
|
+
return e = Z(e), (e < 16 ? "0" : "") + e.toString(16);
|
|
2101
2507
|
}
|
|
2102
|
-
function
|
|
2103
|
-
return
|
|
2104
|
-
"x",
|
|
2105
|
-
"y",
|
|
2106
|
-
"x2",
|
|
2107
|
-
"y2",
|
|
2108
|
-
"xOffset",
|
|
2109
|
-
"yOffset",
|
|
2110
|
-
"color",
|
|
2111
|
-
"fill",
|
|
2112
|
-
"stroke",
|
|
2113
|
-
"opacity",
|
|
2114
|
-
"fillOpacity",
|
|
2115
|
-
"strokeOpacity",
|
|
2116
|
-
"strokeWidth",
|
|
2117
|
-
"size",
|
|
2118
|
-
"shape",
|
|
2119
|
-
"direction",
|
|
2120
|
-
"angle",
|
|
2121
|
-
"dx",
|
|
2122
|
-
"dy",
|
|
2123
|
-
"sample"
|
|
2124
|
-
].includes(e);
|
|
2508
|
+
function Sa(e, t, n, r) {
|
|
2509
|
+
return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new $(e, t, n, r);
|
|
2125
2510
|
}
|
|
2126
|
-
function
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
"triangle-up",
|
|
2134
|
-
"triangle-right",
|
|
2135
|
-
"triangle-down",
|
|
2136
|
-
"triangle-left",
|
|
2137
|
-
"tick-up",
|
|
2138
|
-
"tick-right",
|
|
2139
|
-
"tick-down",
|
|
2140
|
-
"tick-left",
|
|
2141
|
-
"x",
|
|
2142
|
-
"+"
|
|
2143
|
-
];
|
|
2144
|
-
case "direction": return ["forward", "reverse"];
|
|
2145
|
-
default:
|
|
2146
|
-
}
|
|
2511
|
+
function Ca(e) {
|
|
2512
|
+
if (e instanceof $) return new $(e.h, e.s, e.l, e.opacity);
|
|
2513
|
+
if (e instanceof K || (e = pa(e)), !e) return new $();
|
|
2514
|
+
if (e instanceof $) return e;
|
|
2515
|
+
e = e.rgb();
|
|
2516
|
+
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
|
|
2517
|
+
return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new $(o, s, c, e.opacity);
|
|
2147
2518
|
}
|
|
2148
|
-
function
|
|
2149
|
-
|
|
2150
|
-
let t = new Map(Fi(e).map((e, t) => [e, t]));
|
|
2151
|
-
return (n) => {
|
|
2152
|
-
let r = t.get(n);
|
|
2153
|
-
if (r !== void 0) return r;
|
|
2154
|
-
throw Error(`Invalid value for "${e}" channel: ${n}`);
|
|
2155
|
-
};
|
|
2519
|
+
function wa(e, t, n, r) {
|
|
2520
|
+
return arguments.length === 1 ? Ca(e) : new $(e, t, n, r ?? 1);
|
|
2156
2521
|
}
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
function Li(e, t) {
|
|
2160
|
-
return e.length == t.length && e.every((n, r) => e[r] === t[r]);
|
|
2522
|
+
function $(e, t, n, r) {
|
|
2523
|
+
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
|
|
2161
2524
|
}
|
|
2162
|
-
|
|
2163
|
-
|
|
2525
|
+
Zi($, wa, Qi(K, {
|
|
2526
|
+
brighter(e) {
|
|
2527
|
+
return e = e == null ? $i : $i ** +e, new $(this.h, this.s, this.l * e, this.opacity);
|
|
2528
|
+
},
|
|
2529
|
+
darker(e) {
|
|
2530
|
+
return e = e == null ? q : q ** +e, new $(this.h, this.s, this.l * e, this.opacity);
|
|
2531
|
+
},
|
|
2532
|
+
rgb() {
|
|
2533
|
+
var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;
|
|
2534
|
+
return new X(Da(e >= 240 ? e - 240 : e + 120, i, r), Da(e, i, r), Da(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
|
|
2535
|
+
},
|
|
2536
|
+
clamp() {
|
|
2537
|
+
return new $(Ta(this.h), Ea(this.s), Ea(this.l), xa(this.opacity));
|
|
2538
|
+
},
|
|
2539
|
+
displayable() {
|
|
2540
|
+
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
|
|
2541
|
+
},
|
|
2542
|
+
formatHsl() {
|
|
2543
|
+
let e = xa(this.opacity);
|
|
2544
|
+
return `${e === 1 ? "hsl(" : "hsla("}${Ta(this.h)}, ${Ea(this.s) * 100}%, ${Ea(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
|
|
2545
|
+
}
|
|
2546
|
+
}));
|
|
2547
|
+
function Ta(e) {
|
|
2548
|
+
return e = (e || 0) % 360, e < 0 ? e + 360 : e;
|
|
2164
2549
|
}
|
|
2165
|
-
function
|
|
2166
|
-
return
|
|
2550
|
+
function Ea(e) {
|
|
2551
|
+
return Math.max(0, Math.min(1, e || 0));
|
|
2167
2552
|
}
|
|
2168
|
-
function
|
|
2169
|
-
|
|
2170
|
-
if (n < 0 || n > e.length - 1) throw Error("Destination index out of range.");
|
|
2171
|
-
let [r] = e.splice(t, 1);
|
|
2172
|
-
e.splice(n, 0, r);
|
|
2553
|
+
function Da(e, t, n) {
|
|
2554
|
+
return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
|
|
2173
2555
|
}
|
|
2174
2556
|
//#endregion
|
|
2175
2557
|
//#region ../core/src/view/renderingContext/clipOptions.js
|
|
2176
|
-
function
|
|
2558
|
+
function Oa(e) {
|
|
2177
2559
|
if (e.clip) return e.clip;
|
|
2178
2560
|
if (e.clipRect) return {
|
|
2179
2561
|
rect: e.clipRect,
|
|
@@ -2181,36 +2563,36 @@ function Vi(e) {
|
|
|
2181
2563
|
clipY: !0
|
|
2182
2564
|
};
|
|
2183
2565
|
}
|
|
2184
|
-
function
|
|
2566
|
+
function ka(e, t) {
|
|
2185
2567
|
return e === t ? !0 : !e || !t ? !1 : e.clipX === t.clipX && e.clipY === t.clipY && e.rect.equals(t.rect);
|
|
2186
2568
|
}
|
|
2187
|
-
function
|
|
2569
|
+
function Aa(e, t, n) {
|
|
2188
2570
|
return t || n ? {
|
|
2189
2571
|
rect: e,
|
|
2190
2572
|
clipX: t,
|
|
2191
2573
|
clipY: n
|
|
2192
2574
|
} : void 0;
|
|
2193
2575
|
}
|
|
2194
|
-
function
|
|
2576
|
+
function ja(e, t) {
|
|
2195
2577
|
return t ? t.clipX && t.clipY ? e.intersect(t.rect) : t.clipX ? e.intersectX(t.rect) : t.clipY ? e.intersectY(t.rect) : e : e;
|
|
2196
2578
|
}
|
|
2197
|
-
function
|
|
2579
|
+
function Ma(e, t) {
|
|
2198
2580
|
if (!e) return t;
|
|
2199
2581
|
if (!t) return e;
|
|
2200
2582
|
let n = e.clipX || t.clipX, r = e.clipY || t.clipY, i = e.clipX && t.clipX ? e.rect.intersectX(t.rect) : t.clipX ? t.rect : e.rect, a = e.clipY && t.clipY ? e.rect.intersectY(t.rect) : t.clipY ? t.rect : e.rect;
|
|
2201
|
-
return
|
|
2583
|
+
return Aa(e.rect.modify({
|
|
2202
2584
|
x: () => i.x,
|
|
2203
2585
|
y: () => a.y,
|
|
2204
2586
|
width: () => i.width,
|
|
2205
2587
|
height: () => a.height
|
|
2206
2588
|
}), n, r);
|
|
2207
2589
|
}
|
|
2208
|
-
function
|
|
2209
|
-
if (e === !0) return
|
|
2210
|
-
if (e === "x") return
|
|
2211
|
-
if (e === "y") return
|
|
2590
|
+
function Na(e, t) {
|
|
2591
|
+
if (e === !0) return Aa(t, !0, !0);
|
|
2592
|
+
if (e === "x") return Aa(t, !0, !1);
|
|
2593
|
+
if (e === "y") return Aa(t, !1, !0);
|
|
2212
2594
|
}
|
|
2213
|
-
function
|
|
2595
|
+
function Pa(e) {
|
|
2214
2596
|
let t = e.mark;
|
|
2215
2597
|
if (t) {
|
|
2216
2598
|
let e = t.properties.clip;
|
|
@@ -2232,8 +2614,8 @@ function Ki(e) {
|
|
|
2232
2614
|
clipY: n && i
|
|
2233
2615
|
};
|
|
2234
2616
|
}
|
|
2235
|
-
function
|
|
2236
|
-
if (t !== "never") return
|
|
2617
|
+
function Fa(e, t, n) {
|
|
2618
|
+
if (t !== "never") return Ma(e, Na(t, n));
|
|
2237
2619
|
}
|
|
2238
2620
|
//#endregion
|
|
2239
|
-
export {
|
|
2621
|
+
export { Bt as $, Ue as $t, Ai as A, ut as At, Mi as B, nt as Bt, Ui as C, xt as Ct, Hi as D, vt as Dt, Ki as E, yt as Et, Ni as F, xe as Ft, wi as G, at as Gt, Bi as H, rt as Ht, Ri as I, Je as It, bi as J, Ve as Jt, Ti as K, ze as Kt, Fi as L, Ze as Lt, Ei as M, mt as Mt, Oi as N, pt as Nt, Vi as O, T as Ot, zi as P, st as Pt, jt as Q, ct as Qt, Li as R, Ee as Rt, Wi as S, i as Sn, tn as St, Yi as T, St as Tt, ji as U, Ae as Ut, ki as V, Ye as Vt, Ci as W, w as Wt, si as X, ot as Xt, ci as Y, je as Yt, oi as Z, De as Zt, Qi as _, d as _n, Qt as _t, Pa as a, ye as an, sn as at, G as b, s as bn, Lt as bt, K as c, he as cn, un as ct, pa as d, _ as dn, Rt as dt, We as en, Ht as et, q as f, g as fn, ln as ft, Zi as g, f as gn, $t as gt, ga as h, p as hn, Vt as ht, Aa as i, be as in, en as it, Di as j, ft as jt, Ii as k, ht as kt, X as l, y as ln, Ut as lt, _a as m, m as mn, E as mt, ka as n, Ke as nn, Nt as nt, Oa as o, _e as on, on as ot, wa as p, h as pn, Wt as pt, fi as q, Be as qt, Ma as r, ve as rn, Pt as rt, Fa as s, me as sn, zt as st, ja as t, Ge as tn, fn as tt, $i as u, te as un, cn as ut, Ji as v, u as vn, Zt as vt, Xi as w, Et as wt, Gi as x, o as xn, qt as xt, qi as y, l as yn, an as yt, Pi as z, C as zt };
|