@genome-spy/app 0.89.0 → 1.0.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.
Files changed (57) hide show
  1. package/dist/{agentApi-BUcXm-JC.js → agentApi-Z65dw-sD.js} +2808 -2638
  2. package/dist/agentApi.es.js +1607 -1570
  3. package/dist/agentShared.es.js +737 -678
  4. package/dist/{canvas2d-CGuVGvQk.js → canvas2d-DiPQvNtZ.js} +11 -9
  5. package/dist/{canvas2d-DgF0kstG.js → canvas2d-t_N10CeW.js} +24 -22
  6. package/dist/{clipOptions-DBJX_W31.js → clipOptions-B5PibDq3.js} +890 -900
  7. package/dist/{clipOptions-8BPf0WMZ.js → clipOptions-Cba4I0AO.js} +544 -554
  8. package/dist/{componentStyles-FsNmIb22.js → componentStyles-DGtQXvwc.js} +17 -15
  9. package/dist/{debug-BEWbYuZD.js → debug-CVAlrcZt.js} +2 -2
  10. package/dist/{debug-DQj_7mFm.js → debug-DP4WzTNo.js} +2 -2
  11. package/dist/dialog.es.js +4 -3
  12. package/dist/esm-BiqrFjMh.js +443 -0
  13. package/dist/{esm-lwYrRdbg.js → esm-Bv7Frz7C.js} +142 -79
  14. package/dist/{esm-VvpZ9hsq.js → esm-C3A-AuRi.js} +1 -1
  15. package/dist/esm-CvpR1OcU.js +322 -0
  16. package/dist/esm-DFHFX1sH.js +1526 -0
  17. package/dist/esm-Dndm-NaA.js +1193 -0
  18. package/dist/{esm-CcDLRSvC.js → esm-DtNElqRr.js} +64 -63
  19. package/dist/esm-L53qjcYH.js +1155 -0
  20. package/dist/esm-VFJeyk9i.js +249 -0
  21. package/dist/{esm-BdLYkz-m.js → esm-_xCtpDwm.js} +1 -1
  22. package/dist/index.es.js +4203 -3910
  23. package/dist/index.js +900 -455
  24. package/dist/{indexer-D8Bgkkb8.js → indexer-DbFTKGlm.js} +1 -1
  25. package/dist/{indexer-Cdt_U05k.js → indexer-En7gpvLN.js} +1 -1
  26. package/dist/{lit-ByuJ0FJ4.js → lit-CoXp9NFX.js} +12 -10
  27. package/dist/{order-DIxlclRN.js → order-BkYCnwD7.js} +36 -30
  28. package/dist/{order-BPOzLe80.js → order-R043xTpC.js} +47 -41
  29. package/dist/{parquetRead-Cs2xRrvz.js → parquetRead-0hFIa3Cc.js} +532 -350
  30. package/dist/{rasterExport-Bl6w9t3J.js → rasterExport-C_FcNBkC.js} +8 -7
  31. package/dist/{rasterExport-DRvNAH-r.js → rasterExport-Z7gs5346.js} +8 -7
  32. package/dist/{rasterization-D0tOoKu_.js → rasterization-_-9JmSas.js} +3 -2
  33. package/dist/{renderCanvas2D-LdEYFnRo.js → renderCanvas2D-DK1c9TFK.js} +10 -10
  34. package/dist/{renderCanvas2D-Ct95auF3.js → renderCanvas2D-IM-A9DYG.js} +16 -16
  35. package/dist/schema.json +11 -0
  36. package/dist/{src-DjOlFqSn.js → src-DJtvThVC.js} +3 -5
  37. package/dist/style.css +1 -1
  38. package/dist/{svg-pkTPD4bv.js → svg-DW3tfUmm.js} +233 -232
  39. package/dist/{svg-Ag36-h_I.js → svg-PabUdcDi.js} +233 -232
  40. package/dist/{svgRasterizer-DrtJ9nLk.js → svgRasterizer-B6YtWLJs.js} +2 -2
  41. package/dist/{svgRasterizer-CksK4QTB.js → svgRasterizer-BEVDyyS3.js} +2 -2
  42. package/dist/{vega-scale-BWBFykuI.js → vega-scale-Byaw1K8O.js} +837 -726
  43. package/dist/{vega-scale-BJaDSHBJ.js → vega-scale-Ctz_wa3z.js} +942 -834
  44. package/dist/{viewIdentityRegistry-BvCJajXG.js → viewIdentityRegistry-BW415b3o.js} +1 -1
  45. package/dist/{viewIdentityRegistry-B-snqI3y.js → viewIdentityRegistry-_F0E7nkA.js} +1 -1
  46. package/dist/{viewSelectors-BlvzvG-z.js → viewSelectors-DYz-PhTO.js} +245 -243
  47. package/dist/{viewSelectors-C5q3qBiR.js → viewSelectors-KtD-QSN0.js} +106 -104
  48. package/dist/{viewUtils-C3vBtSvE.js → viewUtils-BZGPseMx.js} +1833 -1677
  49. package/dist/{webgl-CZX2pe5v.js → webgl-BKSGqHaz.js} +964 -951
  50. package/dist/{webgl-CexXSw_I.js → webgl-tdKf9SlZ.js} +239 -226
  51. package/package.json +5 -5
  52. package/dist/esm-80V4xF_D.js +0 -1098
  53. package/dist/esm-BA6yMcc-.js +0 -1222
  54. package/dist/esm-BdT7qUL-.js +0 -157
  55. package/dist/esm-CfYZhLHN.js +0 -1367
  56. package/dist/esm-D-iG_TIX.js +0 -441
  57. package/dist/esm-JAiZmFIS.js +0 -128
@@ -1,185 +1,239 @@
1
- //#region ../../node_modules/vega-util/build/accessor.js
1
+ //#region ../../node_modules/vega-util/build/vega-util.js
2
2
  function e(e, t, n) {
3
- return Object.assign(e, {
4
- fields: t || [],
5
- fname: n
6
- });
3
+ return e.fields = t || [], e.fname = n, e;
7
4
  }
8
- //#endregion
9
- //#region ../../node_modules/vega-util/build/getter.js
10
5
  function t(e) {
11
- return e.length === 1 ? n(e[0]) : r(e);
6
+ return e == null ? null : e.fname;
7
+ }
8
+ function n(e) {
9
+ return e == null ? null : e.fields;
12
10
  }
13
- var n = (e) => function(t) {
11
+ function r(e) {
12
+ return e.length === 1 ? i(e[0]) : a(e);
13
+ }
14
+ var i = (e) => function(t) {
14
15
  return t[e];
15
- }, r = (e) => {
16
+ }, a = (e) => {
16
17
  let t = e.length;
17
18
  return function(n) {
18
19
  for (let r = 0; r < t; ++r) n = n[e[r]];
19
20
  return n;
20
21
  };
21
22
  };
22
- //#endregion
23
- //#region ../../node_modules/vega-util/build/error.js
24
- function i(e) {
23
+ function o(e) {
25
24
  throw Error(e);
26
25
  }
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;
26
+ function s(e) {
27
+ let t = [], n = e.length, r = null, i = 0, a = "", s, c, l;
31
28
  e += "";
32
29
  function u() {
33
- t.push(o + e.substring(s, c)), o = "", s = c + 1;
30
+ t.push(a + e.substring(s, c)), a = "", s = c + 1;
34
31
  }
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;
32
+ for (s = c = 0; c < n; ++c) if (l = e[c], l === "\\") a += e.substring(s, c++), s = c;
33
+ else if (l === r) u(), r = null, i = -1;
37
34
  else if (r) continue;
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;
35
+ else s === i && l === "\"" || s === i && l === "'" ? (s = c + 1, r = l) : l === "." && !i ? c > s ? u() : s = c + 1 : l === "[" ? (c > s && u(), i = s = c + 1) : l === "]" && (i || o("Access path missing open bracket: " + e), i > 0 && u(), i = 0, s = c + 1);
36
+ return i && o("Access path missing closing bracket: " + e), r && o("Access path missing closing quote: " + e), c > s && (c++, u()), t;
40
37
  }
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);
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) {
56
- return e === Object(e);
38
+ function c(t, n, i) {
39
+ let a = s(t);
40
+ return t = a.length === 1 ? a[0] : t, e((i && i.get || r)(a), [t], n || t);
57
41
  }
58
- //#endregion
59
- //#region ../../node_modules/vega-util/build/array.js
42
+ c("id");
43
+ var l = e((e) => e, [], "identity");
44
+ e(() => 0, [], "zero"), e(() => 1, [], "one"), e(() => !0, [], "true"), e(() => !1, [], "false"), [...Object.getOwnPropertyNames(Object.prototype).filter((e) => typeof Object.prototype[e] == "function")];
45
+ var u = Array.isArray;
60
46
  function d(e) {
61
- return e == null ? [] : l(e) ? e : [e];
47
+ return e === Object(e);
62
48
  }
63
- //#endregion
64
- //#region ../../node_modules/vega-util/build/isFunction.js
65
49
  function f(e) {
50
+ return e[e.length - 1];
51
+ }
52
+ function p(e) {
53
+ return e == null || e === "" ? null : +e;
54
+ }
55
+ var m = (e) => (t) => e * Math.exp(t), ee = (e) => (t) => Math.log(e * t), te = (e) => (t) => Math.sign(t) * Math.log1p(Math.abs(t / e)), h = (e) => (t) => Math.sign(t) * Math.expm1(Math.abs(t)) * e, g = (e) => (t) => t < 0 ? -((-t) ** +e) : t ** +e;
56
+ function _(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 ne(e, t) {
61
+ return _(e, t, p, l);
62
+ }
63
+ function re(e, t) {
64
+ var n = Math.sign(e[0]);
65
+ return _(e, t, ee(n), m(n));
66
+ }
67
+ function ie(e, t, n) {
68
+ return _(e, t, g(n), g(1 / n));
69
+ }
70
+ function ae(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 v(e, t, n) {
75
+ return ae(e, t, n, p, l);
76
+ }
77
+ function oe(e, t, n) {
78
+ let r = Math.sign(e[0]);
79
+ return ae(e, t, n, ee(r), m(r));
80
+ }
81
+ function y(e, t, n, r) {
82
+ return ae(e, t, n, g(r), g(1 / r));
83
+ }
84
+ function se(e, t, n, r) {
85
+ return ae(e, t, n, te(r), h(r));
86
+ }
87
+ function ce(e) {
88
+ return e == null ? [] : u(e) ? e : [e];
89
+ }
90
+ function le(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];
93
+ }
94
+ function ue(e) {
66
95
  return typeof e == "function";
67
96
  }
68
- //#endregion
69
- //#region ../../node_modules/vega-util/build/hasOwnProperty.js
70
- function p(e, t) {
71
- return Object.hasOwn(e, t);
97
+ var de = "descending";
98
+ function fe(t, r, i) {
99
+ i ||= {}, r = ce(r) || [];
100
+ let a = [], o = [], s = {}, l = i.comparator || me;
101
+ return ce(t).forEach((e, t) => {
102
+ e != null && (a.push(r[t] === de ? -1 : 1), o.push(e = ue(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 pe = (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)), me = (e, t) => e.length === 1 ? he(e[0], t[0]) : ge(e, t, e.length), he = (e, t) => function(n, r) {
106
+ return pe(e(n), e(r)) * t;
107
+ }, ge = (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 = pe(a(r), a(i));
110
+ return o * t[s];
111
+ });
112
+ function _e(e, t, n, r) {
113
+ let i = t[0], a = t[t.length - 1], o;
114
+ return i > a && (o = i, i = a, a = o), n = n === void 0 || n, r = r === void 0 || r, (n ? i <= e : i < e) && (r ? e <= a : e < a);
72
115
  }
73
- //#endregion
74
- //#region ../../node_modules/vega-util/build/isString.js
75
- function m(e) {
116
+ function ve(e) {
117
+ return typeof e == "boolean";
118
+ }
119
+ function ye(e) {
120
+ return typeof e == "number";
121
+ }
122
+ function be(e) {
123
+ return Object.prototype.toString.call(e) === "[object RegExp]";
124
+ }
125
+ function b(e) {
76
126
  return typeof e == "string";
77
127
  }
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;
128
+ function xe(e, t) {
129
+ let n = e[0], r = f(e), i = +t;
130
+ return i ? i === 1 ? r : n + i * (r - n) : n;
82
131
  }
83
- //#endregion
84
- //#region ../../node_modules/vega-util/build/toSet.js
85
- function g(e) {
132
+ function Se(e) {
133
+ return e && f(e) - e[0] || 0;
134
+ }
135
+ function Ce(e) {
136
+ return u(e) ? `[${e.map((e) => e === null ? "null" : Ce(e))}]` : d(e) || b(e) ? JSON.stringify(e).replaceAll("\u2028", "\\u2028").replaceAll("\u2029", "\\u2029") : e;
137
+ }
138
+ function we(e) {
86
139
  let t = {}, n = e.length;
87
- for (let r = 0; r < n; ++r) t[e[r] + ""] = !0;
140
+ for (let r = 0; r < n; ++r) t[e[r]] = !0;
88
141
  return t;
89
142
  }
90
143
  //#endregion
91
144
  //#region ../../node_modules/internmap/src/index.js
92
- var _ = class extends Map {
93
- constructor(e, t = ne) {
145
+ var Te = class extends Map {
146
+ constructor(e, t = ke) {
94
147
  if (super(), Object.defineProperties(this, {
95
148
  _intern: { value: /* @__PURE__ */ new Map() },
96
149
  _key: { value: t }
97
150
  }), e != null) for (let [t, n] of e) this.set(t, n);
98
151
  }
99
152
  get(e) {
100
- return super.get(ee(this, e));
153
+ return super.get(Ee(this, e));
101
154
  }
102
155
  has(e) {
103
- return super.has(ee(this, e));
156
+ return super.has(Ee(this, e));
104
157
  }
105
158
  set(e, t) {
106
- return super.set(v(this, e), t);
159
+ return super.set(De(this, e), t);
107
160
  }
108
161
  delete(e) {
109
- return super.delete(te(this, e));
162
+ return super.delete(Oe(this, e));
110
163
  }
111
164
  };
112
- function ee({ _intern: e, _key: t }, n) {
165
+ function Ee({ _intern: e, _key: t }, n) {
113
166
  let r = t(n);
114
167
  return e.has(r) ? e.get(r) : n;
115
168
  }
116
- function v({ _intern: e, _key: t }, n) {
169
+ function De({ _intern: e, _key: t }, n) {
117
170
  let r = t(n);
118
171
  return e.has(r) ? e.get(r) : (e.set(r, n), n);
119
172
  }
120
- function te({ _intern: e, _key: t }, n) {
173
+ function Oe({ _intern: e, _key: t }, n) {
121
174
  let r = t(n);
122
175
  return e.has(r) && (n = e.get(r), e.delete(r)), n;
123
176
  }
124
- function ne(e) {
177
+ function ke(e) {
125
178
  return typeof e == "object" && e ? e.valueOf() : e;
126
179
  }
127
180
  //#endregion
128
181
  //#region ../../node_modules/d3-array/src/ticks.js
129
- var re = Math.sqrt(50), ie = Math.sqrt(10), y = Math.sqrt(2);
130
- function b(e, t, n) {
131
- let r = (t - e) / Math.max(0, n), i = Math.floor(Math.log10(r)), a = r / 10 ** i, o = a >= re ? 10 : a >= ie ? 5 : a >= y ? 2 : 1, s, c, l;
132
- return i < 0 ? (l = 10 ** -i / o, s = Math.round(e * l), c = Math.round(t * l), s / l < e && ++s, c / l > t && --c, l = -l) : (l = 10 ** i * o, s = Math.round(e / l), c = Math.round(t / l), s * l < e && ++s, c * l > t && --c), c < s && .5 <= n && n < 2 ? b(e, t, n * 2) : [
182
+ var Ae = Math.sqrt(50), je = Math.sqrt(10), Me = Math.sqrt(2);
183
+ function Ne(e, t, n) {
184
+ let r = (t - e) / Math.max(0, n), i = Math.floor(Math.log10(r)), a = r / 10 ** i, o = a >= Ae ? 10 : a >= je ? 5 : a >= Me ? 2 : 1, s, c, l;
185
+ return i < 0 ? (l = 10 ** -i / o, s = Math.round(e * l), c = Math.round(t * l), s / l < e && ++s, c / l > t && --c, l = -l) : (l = 10 ** i * o, s = Math.round(e / l), c = Math.round(t / l), s * l < e && ++s, c * l > t && --c), c < s && .5 <= n && n < 2 ? Ne(e, t, n * 2) : [
133
186
  s,
134
187
  c,
135
188
  l
136
189
  ];
137
190
  }
138
- function x(e, t, n) {
191
+ function Pe(e, t, n) {
139
192
  if (t = +t, e = +e, n = +n, !(n > 0)) return [];
140
193
  if (e === t) return [e];
141
- let r = t < e, [i, a, o] = r ? b(t, e, n) : b(e, t, n);
194
+ let r = t < e, [i, a, o] = r ? Ne(t, e, n) : Ne(e, t, n);
142
195
  if (!(a >= i)) return [];
143
196
  let s = a - i + 1, c = Array(s);
144
- if (r) if (o < 0) for (let e = 0; e < s; ++e) c[e] = (a - e) / -o;
145
- else for (let e = 0; e < s; ++e) c[e] = (a - e) * o;
146
- else if (o < 0) for (let e = 0; e < s; ++e) c[e] = (i + e) / -o;
197
+ if (r) {
198
+ if (o < 0) for (let e = 0; e < s; ++e) c[e] = (a - e) / -o;
199
+ else for (let e = 0; e < s; ++e) c[e] = (a - e) * o;
200
+ } else if (o < 0) for (let e = 0; e < s; ++e) c[e] = (i + e) / -o;
147
201
  else for (let e = 0; e < s; ++e) c[e] = (i + e) * o;
148
202
  return c;
149
203
  }
150
- function ae(e, t, n) {
151
- return t = +t, e = +e, n = +n, b(e, t, n)[2];
204
+ function Fe(e, t, n) {
205
+ return t = +t, e = +e, n = +n, Ne(e, t, n)[2];
152
206
  }
153
- function oe(e, t, n) {
207
+ function Ie(e, t, n) {
154
208
  t = +t, e = +e, n = +n;
155
- let r = t < e, i = r ? ae(t, e, n) : ae(e, t, n);
209
+ let r = t < e, i = r ? Fe(t, e, n) : Fe(e, t, n);
156
210
  return (r ? -1 : 1) * (i < 0 ? 1 / -i : i);
157
211
  }
158
212
  //#endregion
159
213
  //#region ../../node_modules/d3-array/src/range.js
160
- function se(e, t, n) {
214
+ function Le(e, t, n) {
161
215
  e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
162
216
  for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
163
217
  return a;
164
218
  }
165
219
  //#endregion
166
220
  //#region ../../node_modules/d3-format/src/formatDecimal.js
167
- function ce(e) {
221
+ function Re(e) {
168
222
  return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
169
223
  }
170
- function le(e, t) {
224
+ function ze(e, t) {
171
225
  if (!isFinite(e) || e === 0) return null;
172
226
  var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);
173
227
  return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];
174
228
  }
175
229
  //#endregion
176
230
  //#region ../../node_modules/d3-format/src/exponent.js
177
- function ue(e) {
178
- return e = le(Math.abs(e)), e ? e[1] : NaN;
231
+ function Be(e) {
232
+ return e = ze(Math.abs(e)), e ? e[1] : NaN;
179
233
  }
180
234
  //#endregion
181
235
  //#region ../../node_modules/d3-format/src/formatGroup.js
182
- function de(e, t) {
236
+ function Ve(e, t) {
183
237
  return function(n, r) {
184
238
  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];
185
239
  return a.reverse().join(t);
@@ -187,7 +241,7 @@ function de(e, t) {
187
241
  }
188
242
  //#endregion
189
243
  //#region ../../node_modules/d3-format/src/formatNumerals.js
190
- function fe(e) {
244
+ function He(e) {
191
245
  return function(t) {
192
246
  return t.replace(/[0-9]/g, function(t) {
193
247
  return e[+t];
@@ -196,11 +250,11 @@ function fe(e) {
196
250
  }
197
251
  //#endregion
198
252
  //#region ../../node_modules/d3-format/src/formatSpecifier.js
199
- var pe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
200
- function me(e) {
201
- if (!(t = pe.exec(e))) throw Error("invalid format: " + e);
253
+ var Ue = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
254
+ function We(e) {
255
+ if (!(t = Ue.exec(e))) throw Error("invalid format: " + e);
202
256
  var t;
203
- return new he({
257
+ return new Ge({
204
258
  fill: t[1],
205
259
  align: t[2],
206
260
  sign: t[3],
@@ -213,16 +267,16 @@ function me(e) {
213
267
  type: t[10]
214
268
  });
215
269
  }
216
- me.prototype = he.prototype;
217
- function he(e) {
270
+ We.prototype = Ge.prototype;
271
+ function Ge(e) {
218
272
  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 + "";
219
273
  }
220
- he.prototype.toString = function() {
274
+ Ge.prototype.toString = function() {
221
275
  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;
222
276
  };
223
277
  //#endregion
224
278
  //#region ../../node_modules/d3-format/src/formatTrim.js
225
- function ge(e) {
279
+ function Ke(e) {
226
280
  out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
227
281
  case ".":
228
282
  r = i = n;
@@ -233,52 +287,51 @@ function ge(e) {
233
287
  default:
234
288
  if (!+e[n]) break out;
235
289
  r > 0 && (r = 0);
236
- break;
237
290
  }
238
291
  return r > 0 ? e.slice(0, r) + e.slice(i + 1) : e;
239
292
  }
240
293
  //#endregion
241
294
  //#region ../../node_modules/d3-format/src/formatPrefixAuto.js
242
- var _e;
243
- function ve(e, t) {
244
- var n = le(e, t);
245
- if (!n) return _e = void 0, e.toPrecision(t);
246
- var r = n[0], i = n[1], a = i - (_e = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
247
- 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") + le(e, Math.max(0, t + a - 1))[0];
295
+ var qe;
296
+ function Je(e, t) {
297
+ var n = ze(e, t);
298
+ if (!n) return qe = void 0, e.toPrecision(t);
299
+ var r = n[0], i = n[1], a = i - (qe = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
300
+ 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") + ze(e, Math.max(0, t + a - 1))[0];
248
301
  }
249
302
  //#endregion
250
303
  //#region ../../node_modules/d3-format/src/formatRounded.js
251
- function ye(e, t) {
252
- var n = le(e, t);
304
+ function Ye(e, t) {
305
+ var n = ze(e, t);
253
306
  if (!n) return e + "";
254
307
  var r = n[0], i = n[1];
255
308
  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");
256
309
  }
257
310
  //#endregion
258
311
  //#region ../../node_modules/d3-format/src/formatTypes.js
259
- var be = {
312
+ var Xe = {
260
313
  "%": (e, t) => (e * 100).toFixed(t),
261
314
  b: (e) => Math.round(e).toString(2),
262
315
  c: (e) => e + "",
263
- d: ce,
316
+ d: Re,
264
317
  e: (e, t) => e.toExponential(t),
265
318
  f: (e, t) => e.toFixed(t),
266
319
  g: (e, t) => e.toPrecision(t),
267
320
  o: (e) => Math.round(e).toString(8),
268
- p: (e, t) => ye(e * 100, t),
269
- r: ye,
270
- s: ve,
321
+ p: (e, t) => Ye(e * 100, t),
322
+ r: Ye,
323
+ s: Je,
271
324
  X: (e) => Math.round(e).toString(16).toUpperCase(),
272
325
  x: (e) => Math.round(e).toString(16)
273
326
  };
274
327
  //#endregion
275
328
  //#region ../../node_modules/d3-format/src/identity.js
276
- function xe(e) {
329
+ function Ze(e) {
277
330
  return e;
278
331
  }
279
332
  //#endregion
280
333
  //#region ../../node_modules/d3-format/src/locale.js
281
- var Se = Array.prototype.map, Ce = [
334
+ var Qe = Array.prototype.map, $e = [
282
335
  "y",
283
336
  "z",
284
337
  "a",
@@ -297,51 +350,49 @@ var Se = Array.prototype.map, Ce = [
297
350
  "Z",
298
351
  "Y"
299
352
  ];
300
- function we(e) {
301
- var t = e.grouping === void 0 || e.thousands === void 0 ? xe : de(Se.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 ? xe : fe(Se.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 + "";
353
+ function et(e) {
354
+ var t = e.grouping === void 0 || e.thousands === void 0 ? Ze : Ve(Qe.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 ? Ze : He(Qe.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 + "";
302
355
  function l(e, l) {
303
- e = me(e);
304
- 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;
305
- v === "n" ? (g = !0, v = "g") : be[v] || (_ === void 0 && (_ = 12), ee = !0, v = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
306
- 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 = be[v], ie = /[defgprs%]/.test(v);
307
- _ = _ === void 0 ? 6 : /[gprs]/.test(v) ? Math.max(1, Math.min(21, _)) : Math.max(0, Math.min(20, _));
308
- function y(e) {
309
- var n = te, r = ne, o, l, p;
310
- if (v === "c") r = re(e) + r, e = "";
356
+ e = We(e);
357
+ var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, ee = e.width, te = e.comma, h = e.precision, g = e.trim, _ = e.type;
358
+ _ === "n" ? (te = !0, _ = "g") : Xe[_] || (h === void 0 && (h = 12), g = !0, _ = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
359
+ var ne = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(_) ? "0" + _.toLowerCase() : ""), re = (p === "$" ? r : /[%p]/.test(_) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), ie = Xe[_], ae = /[defgprs%]/.test(_);
360
+ h = h === void 0 ? 6 : /[gprs]/.test(_) ? Math.max(1, Math.min(21, h)) : Math.max(0, Math.min(20, h));
361
+ function v(e) {
362
+ var n = ne, r = re, o, l, p;
363
+ if (_ === "c") r = ie(e) + r, e = "";
311
364
  else {
312
365
  e = +e;
313
- var y = e < 0 || 1 / e < 0;
314
- if (e = isNaN(e) ? c : re(Math.abs(e), _), ee && (e = ge(e)), y && +e == 0 && f !== "+" && (y = !1), n = (y ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (v === "s" && !isNaN(e) && _e !== void 0 ? Ce[8 + _e / 3] : "") + r + (y && f === "(" ? ")" : ""), ie) {
366
+ var v = e < 0 || 1 / e < 0;
367
+ if (e = isNaN(e) ? c : ie(Math.abs(e), h), g && (e = Ke(e)), v && +e == 0 && f !== "+" && (v = !1), n = (v ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (_ === "s" && !isNaN(e) && qe !== void 0 ? $e[8 + qe / 3] : "") + r + (v && f === "(" ? ")" : ""), ae) {
315
368
  for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {
316
369
  r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);
317
370
  break;
318
371
  }
319
372
  }
320
373
  }
321
- g && !m && (e = t(e, Infinity));
322
- var b = n.length + e.length + r.length, x = b < h ? Array(h - b + 1).join(u) : "";
323
- switch (g && m && (e = t(x + e, x.length ? h - r.length : Infinity), x = ""), d) {
374
+ te && !m && (e = t(e, Infinity));
375
+ var oe = n.length + e.length + r.length, y = oe < ee ? Array(ee - oe + 1).join(u) : "";
376
+ switch (te && m && (e = t(y + e, y.length ? ee - r.length : Infinity), y = ""), d) {
324
377
  case "<":
325
- e = n + e + r + x;
378
+ e = n + e + r + y;
326
379
  break;
327
380
  case "=":
328
- e = n + x + e + r;
381
+ e = n + y + e + r;
329
382
  break;
330
383
  case "^":
331
- e = x.slice(0, b = x.length >> 1) + n + e + r + x.slice(b);
332
- break;
333
- default:
334
- e = x + n + e + r;
384
+ e = y.slice(0, oe = y.length >> 1) + n + e + r + y.slice(oe);
335
385
  break;
386
+ default: e = y + n + e + r;
336
387
  }
337
388
  return a(e);
338
389
  }
339
- return y.toString = function() {
390
+ return v.toString = function() {
340
391
  return e + "";
341
- }, y;
392
+ }, v;
342
393
  }
343
394
  function u(e, t) {
344
- var n = Math.max(-8, Math.min(8, Math.floor(ue(t) / 3))) * 3, r = 10 ** -n, i = l((e = me(e), e.type = "f", e), { suffix: Ce[8 + n / 3] });
395
+ var n = Math.max(-8, Math.min(8, Math.floor(Be(t) / 3))) * 3, r = 10 ** -n, i = l((e = We(e), e.type = "f", e), { suffix: $e[8 + n / 3] });
345
396
  return function(e) {
346
397
  return i(r * e);
347
398
  };
@@ -353,178 +404,35 @@ function we(e) {
353
404
  }
354
405
  //#endregion
355
406
  //#region ../../node_modules/d3-format/src/defaultLocale.js
356
- var Te, Ee, De;
357
- Oe({
407
+ var tt, nt, rt;
408
+ it({
358
409
  thousands: ",",
359
410
  grouping: [3],
360
411
  currency: ["$", ""]
361
412
  });
362
- function Oe(e) {
363
- return Te = we(e), Ee = Te.format, De = Te.formatPrefix, Te;
413
+ function it(e) {
414
+ return tt = et(e), nt = tt.format, rt = tt.formatPrefix, tt;
364
415
  }
365
416
  //#endregion
366
417
  //#region ../core/src/utils/arrayUtils.js
367
- function ke(e, t) {
418
+ function at(e, t) {
368
419
  return e.length == t.length && e.every((n, r) => e[r] === t[r]);
369
420
  }
370
- function Ae(e) {
421
+ function ot(e) {
371
422
  return Array.isArray(e) ? e : e === void 0 ? [] : [e];
372
423
  }
373
- function je(e) {
424
+ function st(e) {
374
425
  return e[e.length - 1];
375
426
  }
376
- function Me(e, t, n) {
427
+ function ct(e, t, n) {
377
428
  if (t < 0 || t >= e.length) throw Error("Source index out of range.");
378
429
  if (n < 0 || n > e.length - 1) throw Error("Destination index out of range.");
379
430
  let [r] = e.splice(t, 1);
380
431
  e.splice(n, 0, r);
381
432
  }
382
433
  //#endregion
383
- //#region ../core/node_modules/vega-util/build/vega-util.js
384
- function S(e, t, n) {
385
- return e.fields = t || [], e.fname = n, e;
386
- }
387
- function Ne(e) {
388
- return e == null ? null : e.fname;
389
- }
390
- function Pe(e) {
391
- return e == null ? null : e.fields;
392
- }
393
- function Fe(e) {
394
- return e.length === 1 ? Ie(e[0]) : Le(e);
395
- }
396
- var Ie = (e) => function(t) {
397
- return t[e];
398
- }, Le = (e) => {
399
- let t = e.length;
400
- return function(n) {
401
- for (let r = 0; r < t; ++r) n = n[e[r]];
402
- return n;
403
- };
404
- };
405
- function Re(e) {
406
- throw Error(e);
407
- }
408
- function ze(e) {
409
- let t = [], n = e.length, r = null, i = 0, a = "", o, s, c;
410
- e += "";
411
- function l() {
412
- t.push(a + e.substring(o, s)), a = "", o = s + 1;
413
- }
414
- for (o = s = 0; s < n; ++s) if (c = e[s], c === "\\") a += e.substring(o, s++), o = s;
415
- else if (c === r) l(), r = null, i = -1;
416
- else if (r) continue;
417
- 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 || Re("Access path missing open bracket: " + e), i > 0 && l(), i = 0, o = s + 1);
418
- return i && Re("Access path missing closing bracket: " + e), r && Re("Access path missing closing quote: " + e), s > o && (s++, l()), t;
419
- }
420
- function Be(e, t, n) {
421
- let r = ze(e);
422
- return e = r.length === 1 ? r[0] : e, S((n && n.get || Fe)(r), [e], t || e);
423
- }
424
- Be("id");
425
- var Ve = S((e) => e, [], "identity");
426
- S(() => 0, [], "zero"), S(() => 1, [], "one"), S(() => !0, [], "true"), S(() => !1, [], "false"), [...Object.getOwnPropertyNames(Object.prototype).filter((e) => typeof Object.prototype[e] == "function")];
427
- var He = Array.isArray;
428
- function Ue(e) {
429
- return e === Object(e);
430
- }
431
- function We(e) {
432
- return e[e.length - 1];
433
- }
434
- function Ge(e) {
435
- return e == null || e === "" ? null : +e;
436
- }
437
- var Ke = (e) => (t) => e * Math.exp(t), qe = (e) => (t) => Math.log(e * t), Je = (e) => (t) => Math.sign(t) * Math.log1p(Math.abs(t / e)), Ye = (e) => (t) => Math.sign(t) * Math.expm1(Math.abs(t)) * e, Xe = (e) => (t) => t < 0 ? -((-t) ** +e) : t ** +e;
438
- function Ze(e, t, n, r) {
439
- let i = n(e[0]), a = n(We(e)), o = (a - i) * t;
440
- return [r(i - o), r(a - o)];
441
- }
442
- function Qe(e, t) {
443
- return Ze(e, t, Ge, Ve);
444
- }
445
- function $e(e, t) {
446
- var n = Math.sign(e[0]);
447
- return Ze(e, t, qe(n), Ke(n));
448
- }
449
- function et(e, t, n) {
450
- return Ze(e, t, Xe(n), Xe(1 / n));
451
- }
452
- function tt(e, t, n, r, i) {
453
- let a = r(e[0]), o = r(We(e)), s = t == null ? (a + o) / 2 : r(t);
454
- return [i(s + (a - s) * n), i(s + (o - s) * n)];
455
- }
456
- function nt(e, t, n) {
457
- return tt(e, t, n, Ge, Ve);
458
- }
459
- function rt(e, t, n) {
460
- let r = Math.sign(e[0]);
461
- return tt(e, t, n, qe(r), Ke(r));
462
- }
463
- function it(e, t, n, r) {
464
- return tt(e, t, n, Xe(r), Xe(1 / r));
465
- }
466
- function at(e, t, n, r) {
467
- return tt(e, t, n, Je(r), Ye(r));
468
- }
469
- function ot(e) {
470
- return e == null ? [] : He(e) ? e : [e];
471
- }
472
- function st(e, t, n) {
473
- let r = e[0], i = e[1], a;
474
- 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];
475
- }
476
- function ct(e) {
477
- return typeof e == "function";
478
- }
479
- var lt = "descending";
480
- function ut(e, t, n) {
481
- n ||= {}, t = ot(t) || [];
482
- let r = [], i = [], a = {}, o = n.comparator || ft;
483
- return ot(e).forEach((e, o) => {
484
- e != null && (r.push(t[o] === lt ? -1 : 1), i.push(e = ct(e) ? e : Be(e, null, n)), (Pe(e) || []).forEach((e) => a[e] = 1));
485
- }), i.length === 0 ? null : S(o(i, r), Object.keys(a));
486
- }
487
- var dt = (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), ft = (e, t) => e.length === 1 ? pt(e[0], t[0]) : mt(e, t, e.length), pt = (e, t) => function(n, r) {
488
- return dt(e(n), e(r)) * t;
489
- }, mt = (e, t, n) => (t.push(0), function(r, i) {
490
- let a, o = 0, s = -1;
491
- for (; o === 0 && ++s < n;) a = e[s], o = dt(a(r), a(i));
492
- return o * t[s];
493
- });
494
- function ht(e, t, n, r) {
495
- let i = t[0], a = t[t.length - 1], o;
496
- return i > a && (o = i, i = a, a = o), n = n === void 0 || n, r = r === void 0 || r, (n ? i <= e : i < e) && (r ? e <= a : e < a);
497
- }
498
- function gt(e) {
499
- return typeof e == "boolean";
500
- }
501
- function _t(e) {
502
- return typeof e == "number";
503
- }
504
- function vt(e) {
505
- return Object.prototype.toString.call(e) === "[object RegExp]";
506
- }
507
- function C(e) {
508
- return typeof e == "string";
509
- }
510
- function yt(e, t) {
511
- let n = e[0], r = We(e), i = +t;
512
- return i ? i === 1 ? r : n + i * (r - n) : n;
513
- }
514
- function bt(e) {
515
- return e && We(e) - e[0] || 0;
516
- }
517
- function xt(e) {
518
- return He(e) ? `[${e.map((e) => e === null ? "null" : xt(e))}]` : Ue(e) || C(e) ? JSON.stringify(e).replaceAll("\u2028", "\\u2028").replaceAll("\u2029", "\\u2029") : e;
519
- }
520
- function St(e) {
521
- let t = {}, n = e.length;
522
- for (let r = 0; r < n; ++r) t[e[r]] = !0;
523
- return t;
524
- }
525
- //#endregion
526
434
  //#region ../core/src/data/sideInputBinding.js
527
- var Ct = class {
435
+ var lt = class {
528
436
  #e;
529
437
  #t;
530
438
  #n = !1;
@@ -560,7 +468,7 @@ var Ct = class {
560
468
  isReady() {
561
469
  return this.#r && this.#n && this.#e.areDataDependenciesAvailable() && this.#t.every(({ collector: e, consumed: t }) => e.dataRevision === t);
562
470
  }
563
- }, wt = class {
471
+ }, ut = class {
564
472
  stats = {
565
473
  count: 0,
566
474
  first: null
@@ -612,7 +520,7 @@ var Ct = class {
612
520
  initialized: this.#e,
613
521
  disposed: this.#t,
614
522
  params: "params" in e ? structuredClone(e.params) : void 0,
615
- view: Tt(e, this.paramRuntimeProvider),
523
+ view: dt(e, this.paramRuntimeProvider),
616
524
  domainSensitiveScaleChannels: this.domainSensitiveScaleChannels
617
525
  };
618
526
  }
@@ -623,15 +531,15 @@ var Ct = class {
623
531
  }
624
532
  initialize() {}
625
533
  initializeOnce() {
626
- this.#e ||= (this.dataDependencies.length && (this.#i = new Ct(this)), this.initialize(), !0);
534
+ this.#e ||= (this.dataDependencies.length && (this.#i = new lt(this)), this.initialize(), !0);
627
535
  }
628
536
  #a() {
629
- this._propagate = Function("children", "stats", se(this.children.length).map((e) => `const child${e} = children[${e}];`).join("\n") + `return function propagate(datum) {
537
+ this._propagate = Function("children", "stats", Le(this.children.length).map((e) => `const child${e} = children[${e}];`).join("\n") + `return function propagate(datum) {
630
538
  if (stats.count === 0) {
631
539
  stats.first = structuredClone(datum);
632
540
  }
633
541
  stats.count++;
634
- ${se(this.children.length).map((e) => `child${e}.handle(datum);`).join("\n")}
542
+ ${Le(this.children.length).map((e) => `child${e}.handle(datum);`).join("\n")}
635
543
  };`)(this.children, this.stats);
636
544
  }
637
545
  setParent(e) {
@@ -743,11 +651,11 @@ var Ct = class {
743
651
  }
744
652
  _propagate(e) {}
745
653
  };
746
- function Tt(e, t) {
654
+ function dt(e, t) {
747
655
  if ("view" in e) return e.view;
748
656
  if (t && "getPathString" in t) return t;
749
657
  }
750
- function Et(e) {
658
+ function ft(e) {
751
659
  let t = /* @__PURE__ */ new Set();
752
660
  for (; e;) {
753
661
  for (let n of e.domainSensitiveScaleChannels) t.add(n);
@@ -755,15 +663,15 @@ function Et(e) {
755
663
  }
756
664
  return t;
757
665
  }
758
- function Dt(e) {
666
+ function pt(e) {
759
667
  return e.type == "file";
760
668
  }
761
- function Ot(e) {
669
+ function mt(e) {
762
670
  return e.type == "facet";
763
671
  }
764
672
  //#endregion
765
673
  //#region ../core/src/data/transforms/transform.js
766
- var kt = class extends wt {
674
+ var ht = class extends ut {
767
675
  #e;
768
676
  #t;
769
677
  #n = 0;
@@ -802,7 +710,7 @@ var kt = class extends wt {
802
710
  return this.#e;
803
711
  }
804
712
  watchExprRef(e, t) {
805
- if (G(e)) {
713
+ if (W(e)) {
806
714
  let n = e;
807
715
  return this.paramRuntime.watchExpression(n.expr, t, {
808
716
  scopeOwned: !1,
@@ -823,7 +731,7 @@ var kt = class extends wt {
823
731
  #s() {
824
732
  for (let e of this.#a) e();
825
733
  }
826
- }, w = "__uniqueId", At = 1e4, jt = [null], Mt = class extends kt {
734
+ }, x = "__uniqueId", gt = 1e4, _t = [null], vt = class extends ht {
827
735
  get behavior() {
828
736
  return 2;
829
737
  }
@@ -835,40 +743,40 @@ var kt = class extends wt {
835
743
  super.reset(), this._usedBlocks = 0, this._id = -1;
836
744
  }
837
745
  handle(e) {
838
- e[w] = this.#e(), this._propagate(e);
746
+ e[x] = this.#e(), this._propagate(e);
839
747
  }
840
748
  #e() {
841
- return ++this._id % 1e4 == 0 && (this._id = this.#t() * At), this._id;
749
+ return ++this._id % 1e4 == 0 && (this._id = this.#t() * gt), this._id;
842
750
  }
843
751
  #t() {
844
752
  return this._usedBlocks < this._blocks.length ? this._blocks[this._usedBlocks++] : this.#n();
845
753
  }
846
754
  #n() {
847
- let e = jt.length;
848
- return jt[e] = this, this._blocks.push(e), this._usedBlocks++, e;
755
+ let e = _t.length;
756
+ return _t[e] = this, this._blocks.push(e), this._usedBlocks++, e;
849
757
  }
850
758
  };
851
759
  //#endregion
852
760
  //#region ../core/src/utils/field.js
853
- function Nt(e, t = e) {
854
- return /^[A-Za-z0-9_]+$/.test(e) ? S(Function("validator", `
761
+ function yt(t, n = t) {
762
+ return /^[A-Za-z0-9_]+$/.test(t) ? e(Function("validator", `
855
763
  let validated = !validator;
856
764
  return function accessField(datum) {
857
765
  if (!validated) {
858
766
  validator(datum);
859
767
  validated = true;
860
768
  }
861
- return datum[${JSON.stringify(e)}];
862
- }`)(function(t) {
863
- e in t || Pt(t, e);
864
- }), [e], t) : Be(e);
769
+ return datum[${JSON.stringify(t)}];
770
+ }`)(function(e) {
771
+ t in e || bt(e, t);
772
+ }), [t], n) : c(t);
865
773
  }
866
- function Pt(e, t) {
774
+ function bt(e, t) {
867
775
  throw Error(`Invalid field "${t}". Available fields or properties: ${Object.keys(e).join(", ")}`);
868
776
  }
869
777
  //#endregion
870
778
  //#region ../core/src/selection/selectionPredicateTree.js
871
- function Ft(e, t) {
779
+ function xt(e, t) {
872
780
  if (!("test" in e) || !("ref" in e.test)) return e;
873
781
  let n = e.test.ref;
874
782
  if (!Object.hasOwn(t, n)) throw Error(`Unknown predicate "${n}" in unit view.`);
@@ -877,7 +785,7 @@ function Ft(e, t) {
877
785
  test: t[n]
878
786
  };
879
787
  }
880
- function It(e) {
788
+ function St(e) {
881
789
  let t = "test" in e ? e.test : {
882
790
  param: e.param,
883
791
  ...e.empty === void 0 ? {} : { empty: e.empty },
@@ -904,14 +812,14 @@ function It(e) {
904
812
  if (!e || typeof e != "object" || Array.isArray(e) || Object.keys(e).length === 0 || Object.entries(e).some(([e, t]) => !["x", "y"].includes(e) || t !== e && t !== e + "2")) throw Error("Invalid interval selection projection.");
905
813
  }
906
814
  return {
907
- param: _a(t.param),
815
+ param: pa(t.param),
908
816
  empty: t.empty ?? !0,
909
817
  ...t.project ? { project: { ...t.project } } : {}
910
818
  };
911
819
  }
912
820
  if (!t.param || typeof t.param != "object" || Object.keys(t.param).length !== 1 || !Array.isArray(t.param.or) || Object.keys(t).some((e) => !["param", "empty"].includes(e)) || typeof (t.empty ?? !0) != "boolean") throw Error("Invalid flat selection union.");
913
821
  if (t.param.or.length === 0) throw Error("Selection test \"or\" must be a nonempty array.");
914
- let e = Array.from(new Set(t.param.or.map(_a))), n = e.map((e) => ({ selectionActive: e })), r = e.map((e, t) => ({ all: [{
822
+ let e = Array.from(new Set(t.param.or.map(pa))), n = e.map((e) => ({ selectionActive: e })), r = e.map((e, t) => ({ all: [{
915
823
  param: e,
916
824
  empty: !0
917
825
  }, n[t]] }));
@@ -926,7 +834,7 @@ function It(e) {
926
834
  };
927
835
  return n(t);
928
836
  }
929
- function Lt(e) {
837
+ function Ct(e) {
930
838
  let t = /* @__PURE__ */ new Set(), n = (e) => {
931
839
  if ("param" in e) t.add(e.param);
932
840
  else if ("selectionActive" in e) t.add(typeof e.selectionActive == "string" ? e.selectionActive : e.selectionActive.param);
@@ -935,7 +843,7 @@ function Lt(e) {
935
843
  };
936
844
  return n(e), Array.from(t);
937
845
  }
938
- function Rt(e) {
846
+ function wt(e) {
939
847
  let t = /* @__PURE__ */ new Map(), n = (e) => {
940
848
  if ("param" in e) t.set(e.param, { selectionActive: {
941
849
  param: e.param,
@@ -948,14 +856,14 @@ function Rt(e) {
948
856
  };
949
857
  return n(e), { all: [e, { any: Array.from(t.values()) }] };
950
858
  }
951
- function zt(e) {
859
+ function Tt(e) {
952
860
  if ("param" in e) return e.empty;
953
861
  if ("selectionActive" in e) return !1;
954
- if ("not" in e) return !zt(e.not);
862
+ if ("not" in e) return !Tt(e.not);
955
863
  let t = "all" in e ? e.all : e.any;
956
- return "all" in e ? t.every(zt) : t.some(zt);
864
+ return "all" in e ? t.every(Tt) : t.some(Tt);
957
865
  }
958
- function Bt(e, t, n, r, i) {
866
+ function Et(e, t, n, r, i) {
959
867
  let a = (e) => {
960
868
  let t = n.findSelectionCapability?.(e);
961
869
  if (t) return t;
@@ -1032,36 +940,36 @@ function Bt(e, t, n, r, i) {
1032
940
  };
1033
941
  return c(e);
1034
942
  }
1035
- function Vt(e, t) {
943
+ function Dt(e, t) {
1036
944
  if ("all" in e || "any" in e) {
1037
- let n = ("all" in e ? e.all : e.any).map((e) => Vt(e, t));
945
+ let n = ("all" in e ? e.all : e.any).map((e) => Dt(e, t));
1038
946
  return "all" in e ? (e) => n.every((t) => t(e)) : (e) => n.some((t) => t(e));
1039
947
  }
1040
948
  if ("not" in e) {
1041
- let n = Vt(e.not, t);
949
+ let n = Dt(e.not, t);
1042
950
  return (e) => !n(e);
1043
951
  }
1044
952
  if ("selectionActive" in e) {
1045
953
  let { param: n } = e.selectionActive;
1046
- return () => Ht(t(n));
954
+ return () => Ot(t(n));
1047
955
  }
1048
956
  let { param: n, type: r, empty: i } = e;
1049
957
  if (r === "single") return (e) => {
1050
958
  let r = t(n);
1051
- return r.uniqueId == null ? i : r.uniqueId === e[w];
959
+ return r.uniqueId == null ? i : r.uniqueId === e[x];
1052
960
  };
1053
961
  if (r === "multi") return (e) => {
1054
962
  let r = t(n);
1055
- return r.data.size === 0 ? i : r.data.has(e[w]);
963
+ return r.data.size === 0 ? i : r.data.has(e[x]);
1056
964
  };
1057
965
  let a = e.projections.map((e) => ({
1058
966
  ...e,
1059
- read: Nt(e.field),
1060
- readSecondary: e.secondaryField ? Nt(e.secondaryField) : void 0
967
+ read: yt(e.field),
968
+ readSecondary: e.secondaryField ? yt(e.secondaryField) : void 0
1061
969
  }));
1062
970
  return (e) => {
1063
971
  let r = t(n);
1064
- if (!Ht(r)) return i;
972
+ if (!Ot(r)) return i;
1065
973
  for (let t of a) {
1066
974
  let n = r.intervals[t.component], i = t.read(e), a = t.readSecondary?.(e), [o, s] = n;
1067
975
  if (!(a === void 0 ? o <= i && i < s : t.hitTest === "endpoints" ? o <= i && i < s || o <= a && a < s : t.hitTest === "encloses" ? o <= Math.min(i, a) && Math.max(i, a) <= s : o < Math.max(i, a) && Math.min(i, a) < s)) return !1;
@@ -1069,7 +977,7 @@ function Vt(e, t) {
1069
977
  return !0;
1070
978
  };
1071
979
  }
1072
- function Ht(e) {
980
+ function Ot(e) {
1073
981
  if (e.type === "single") return e.uniqueId != null;
1074
982
  if (e.type === "multi") return e.data.size !== 0;
1075
983
  if (e.type === "interval") return Object.values(e.intervals).every((e) => !!e);
@@ -1077,108 +985,109 @@ function Ht(e) {
1077
985
  }
1078
986
  //#endregion
1079
987
  //#region ../core/src/encoder/accessor.js
1080
- function Ut(e, t, n) {
988
+ function kt(e, t, n) {
1081
989
  if (!e) throw Error("Cannot create an accessor without a channel.");
1082
990
  function r(n) {
1083
991
  let r = n;
1084
- return r.fields ??= [], r.constant = r.fields.length === 0, r.channelDef = t, r.channel = e, r.sourceKey = Kt(t), r.scaleChannel = ((cn(t) && t.resolutionChannel) ?? (Mn(e) && e)) || void 0, r.scaleChannel !== void 0 && (r.domainKeyBase = qt({
992
+ return r.fields ??= [], r.constant = r.fields.length === 0, r.channelDef = t, r.channel = e, r.sourceKey = Mt(t), r.scaleChannel = ((Kt(t) && t.resolutionChannel) ?? (_n(e) && e)) || void 0, r.scaleChannel !== void 0 && (r.domainKeyBase = Nt({
1085
993
  scaleChannel: r.scaleChannel,
1086
- source: Gt(t)
994
+ source: jt(t)
1087
995
  }).domainKeyBase), r.equals = (e) => e ? r === e || r.sourceKey !== void 0 && r.sourceKey === e.sourceKey : !1, r.asNumberAccessor = () => r, r;
1088
996
  }
1089
997
  function i(e) {
1090
- if (G(e)) {
998
+ if (W(e)) {
1091
999
  let t = r(n.createExpression(e.expr));
1092
1000
  if (t.fields.length > 0) throw Error("Expression in DatumDef/ValueDef cannot access data fields: " + e.expr);
1093
1001
  return t;
1094
- } else {
1002
+ }
1003
+ {
1095
1004
  let t = e;
1096
1005
  return r(() => t);
1097
1006
  }
1098
1007
  }
1099
- if (T(t)) try {
1100
- return r(Nt(t.field));
1008
+ if (S(t)) try {
1009
+ return r(yt(t.field));
1101
1010
  } catch (e) {
1102
1011
  throw Error(`Invalid field definition: ${e.message}`, { cause: e });
1103
1012
  }
1104
- else if (pn(t)) return r(n.createExpression(t.expr));
1105
- else if (sn(t)) return i(t.datum);
1106
- else if (on(t)) return i(t.value);
1107
- 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".`);
1013
+ if (Zt(t)) return r(n.createExpression(t.expr));
1014
+ if (C(t)) return i(t.datum);
1015
+ if (Gt(t)) return i(t.value);
1016
+ throw Error(`Invalid channel definition: "${e}": ${JSON.stringify(t)}! The channel definition must contain one of the following properties: "field", "datum", "value" or "expr".`);
1108
1017
  }
1109
- function Wt(e) {
1018
+ function At(e) {
1110
1019
  return e.scaleChannel !== void 0;
1111
1020
  }
1112
- function Gt(e) {
1113
- if (T(e)) return {
1021
+ function jt(e) {
1022
+ if (S(e)) return {
1114
1023
  kind: "field",
1115
1024
  value: e.field
1116
1025
  };
1117
- if (pn(e)) return {
1026
+ if (Zt(e)) return {
1118
1027
  kind: "expr",
1119
1028
  value: e.expr
1120
1029
  };
1121
- if (sn(e)) return {
1030
+ if (C(e)) return {
1122
1031
  kind: "datum",
1123
1032
  value: e.datum
1124
1033
  };
1125
- if (on(e)) return {
1034
+ if (Gt(e)) return {
1126
1035
  kind: "value",
1127
1036
  value: e.value
1128
1037
  };
1129
1038
  throw Error("Cannot derive a domain key from channel definition: " + JSON.stringify(e));
1130
1039
  }
1131
- function Kt(e) {
1132
- let t = Gt(e);
1133
- return t.kind === "datum" || t.kind === "value" ? "constant|" + Xt(t.value) : t.kind + "|" + Yt(t);
1040
+ function Mt(e) {
1041
+ let t = jt(e);
1042
+ return t.kind === "datum" || t.kind === "value" ? "constant|" + It(t.value) : t.kind + "|" + Ft(t);
1134
1043
  }
1135
- function qt({ scaleChannel: e, source: t, type: n }) {
1044
+ function Nt({ scaleChannel: e, source: t, type: n }) {
1136
1045
  if (!e) throw Error("Cannot build a domain key without a scale channel.");
1137
- let r = e + "|" + t.kind + "|" + Yt(t);
1046
+ let r = e + "|" + t.kind + "|" + Ft(t);
1138
1047
  return {
1139
1048
  domainKeyBase: r,
1140
1049
  domainKey: n ? n + "|" + r : void 0
1141
1050
  };
1142
1051
  }
1143
- function Jt(e, t) {
1144
- let { domainKey: n, domainKeyBase: r } = qt({
1052
+ function Pt(e, t) {
1053
+ let { domainKey: n, domainKeyBase: r } = Nt({
1145
1054
  scaleChannel: e.scaleChannel,
1146
- source: Gt(e.channelDef),
1055
+ source: jt(e.channelDef),
1147
1056
  type: t
1148
1057
  });
1149
1058
  if (!n) throw Error("Cannot finalize a domain key without a resolved type.");
1150
1059
  return e.domainKeyBase = r, e.domainKey = n, n;
1151
1060
  }
1152
- function Yt(e) {
1061
+ function Ft(e) {
1153
1062
  switch (e.kind) {
1154
1063
  case "field":
1155
1064
  case "expr": return e.value;
1156
1065
  case "datum":
1157
- case "value": return Xt(e.value);
1066
+ case "value": return It(e.value);
1158
1067
  default: throw Error("Unknown domain key source.");
1159
1068
  }
1160
1069
  }
1161
- function Xt(e) {
1162
- return G(e) ? "expr:" + e.expr : e === void 0 ? "undefined" : JSON.stringify(e);
1070
+ function It(e) {
1071
+ return W(e) ? "expr:" + e.expr : e === void 0 ? "undefined" : JSON.stringify(e);
1163
1072
  }
1164
1073
  //#endregion
1165
1074
  //#region ../core/src/encoder/encoder.js
1166
- function Zt(e, t, n, r = "intersects", i) {
1167
- let a, o, s = Lt(e), c = () => (a ??= Bt(e, t, n, r, i), a);
1168
- return s.every((e) => n.findValue(e)) && c(), Object.defineProperty((e) => s.some((e) => !n.findValue(e)) ? !1 : (o ??= Vt(c(), (e) => n.findValue(e)), o(e)), "selection", { get: c });
1075
+ function Lt(e, t, n, r = "intersects", i) {
1076
+ let a, o, s = Ct(e), c = () => (a ??= Et(e, t, n, r, i), a);
1077
+ return s.every((e) => n.findValue(e)) && c(), Object.defineProperty((e) => !s.some((e) => !n.findValue(e)) && (o ??= Dt(c(), (e) => n.findValue(e)), o(e)), "selection", { get: c });
1169
1078
  }
1170
- function Qt(e, t, n, r, i = "intersects", a) {
1171
- let o = mn(t) || hn(t) ? Array.isArray(t.condition) ? t.condition : [t.condition] : [], s = [...o, t], c = s.map((t, c) => {
1172
- let l = o[c], u = Ut(e, t, r), d = l ? ea(l) : void 0;
1079
+ function Rt(e, t, n, r, i = "intersects", a) {
1080
+ let o = Qt(t) || $t(t) ? Array.isArray(t.condition) ? t.condition : [t.condition] : [], s = [...o, t], c = s.map((t, c) => {
1081
+ let l = o[c], u = kt(e, t, r), d = l ? Xi(l) : void 0;
1173
1082
  return {
1174
1083
  accessor: u,
1175
- predicate: d ? Zt(d, n, r, i, a) : Sa(c === s.length - 1)
1084
+ predicate: d ? Lt(d, n, r, i, a) : va(c === s.length - 1)
1176
1085
  };
1177
1086
  });
1178
1087
  if (c.filter((e) => !e.accessor.constant).length > 1) throw Error("Only one accessor can be non-constant. Channel: " + e);
1179
1088
  return c;
1180
1089
  }
1181
- function $t(e, t) {
1090
+ function zt(e, t) {
1182
1091
  let n = {}, r = (t) => e.getScaleResolution(t)?.getScale(), i = (t, n) => {
1183
1092
  let r = e.getScaleResolution(t);
1184
1093
  e.paramRuntime.operation("encoder scale", [r.getMappingRef()], () => r.getScale(), n);
@@ -1186,25 +1095,25 @@ function $t(e, t) {
1186
1095
  for (let [a, o] of Object.entries(t)) {
1187
1096
  if (!o) continue;
1188
1097
  let s = a;
1189
- en(s) || (n[s] = rn(Qt(s, o, t, e.paramRuntime, e.mark.defaultHitTestMode, (t) => e.getScaleResolution(t)?.type), r, i));
1098
+ Bt(s) || (n[s] = Ut(Rt(s, o, t, e.paramRuntime, e.mark.defaultHitTestMode, (t) => e.getScaleResolution(t)?.type), r, i));
1190
1099
  }
1191
1100
  return n;
1192
1101
  }
1193
- function en(e) {
1102
+ function Bt(e) {
1194
1103
  return e === "key" || e === "search" || e === "tooltip" || e === "order";
1195
1104
  }
1196
- function tn(e) {
1105
+ function Vt(e) {
1197
1106
  return e.branches.map((e) => e.accessor);
1198
1107
  }
1199
- function nn(e) {
1108
+ function Ht(e) {
1200
1109
  return e.branches.find((e) => !e.accessor.constant)?.accessor;
1201
1110
  }
1202
- function rn(e, t, n) {
1111
+ function Ut(e, t, n) {
1203
1112
  if (e.length === 1) {
1204
- let r = an(e[0].accessor, t, n);
1113
+ let r = Wt(e[0].accessor, t, n);
1205
1114
  return Object.assign(r, { branches: e });
1206
1115
  }
1207
- let r = e.map((e) => e.predicate), i = e.map((e) => an(e.accessor, t, n)), a = Object.assign((e) => {
1116
+ let r = e.map((e) => e.predicate), i = e.map((e) => Wt(e.accessor, t, n)), a = Object.assign((e) => {
1208
1117
  for (let t = 0; t < i.length; t++) if (r[t](e)) return i[t](e);
1209
1118
  }, {
1210
1119
  constant: !1,
@@ -1216,7 +1125,7 @@ function rn(e, t, n) {
1216
1125
  get: () => i.find((e) => e.scale)?.scale
1217
1126
  });
1218
1127
  }
1219
- function an(e, t, n) {
1128
+ function Wt(e, t, n) {
1220
1129
  let { channel: r, scaleChannel: i, channelDef: a } = e, o = e.scaleChannel ? t(i) : void 0;
1221
1130
  if (i && !o) throw Error(`Missing scale! "${r}": ${JSON.stringify(a)}`);
1222
1131
  let s = Object.assign(o ? (t) => o(e(t)) : (t) => e(t), {
@@ -1224,7 +1133,7 @@ function an(e, t, n) {
1224
1133
  constant: e.constant,
1225
1134
  branches: [{
1226
1135
  accessor: e,
1227
- predicate: Sa(!0)
1136
+ predicate: va(!0)
1228
1137
  }],
1229
1138
  channelDef: a
1230
1139
  });
@@ -1232,91 +1141,92 @@ function an(e, t, n) {
1232
1141
  o = e, s.scale = e;
1233
1142
  }), s;
1234
1143
  }
1235
- function on(e) {
1144
+ function Gt(e) {
1236
1145
  return e && "value" in e;
1237
1146
  }
1238
- function T(e) {
1147
+ function S(e) {
1239
1148
  return e && "field" in e;
1240
1149
  }
1241
- function sn(e) {
1150
+ function C(e) {
1242
1151
  return e && "datum" in e;
1243
1152
  }
1244
- function cn(e) {
1245
- return T(e) || sn(e) || pn(e) || fn(e);
1153
+ function Kt(e) {
1154
+ return S(e) || C(e) || Zt(e) || Xt(e);
1246
1155
  }
1247
- function ln(e) {
1248
- if (hn(e)) {
1156
+ function qt(e) {
1157
+ if ($t(e)) {
1249
1158
  let t = e.condition;
1250
- return (Array.isArray(t) ? t : [t]).find((e) => cn(e));
1251
- } else if (cn(e)) return e;
1159
+ return (Array.isArray(t) ? t : [t]).find((e) => Kt(e));
1160
+ }
1161
+ if (Kt(e)) return e;
1252
1162
  }
1253
- function un(e) {
1254
- let t = e && ln(e);
1163
+ function Jt(e) {
1164
+ let t = e && qt(e);
1255
1165
  return t != null && t.type != "quantitative" && t.scale !== null;
1256
1166
  }
1257
- function dn(e, t) {
1167
+ function Yt(e, t) {
1258
1168
  let n = e.mark.encoding[t];
1259
1169
  if (Array.isArray(n)) throw Error("Not a channel def with scale!");
1260
1170
  {
1261
- let e = ln(n);
1171
+ let e = qt(n);
1262
1172
  if (e) return e;
1263
1173
  }
1264
1174
  throw Error("Not a channel def with scale!");
1265
1175
  }
1266
- function fn(e) {
1176
+ function Xt(e) {
1267
1177
  return e && "chrom" in e;
1268
1178
  }
1269
- function pn(e) {
1179
+ function Zt(e) {
1270
1180
  return e && "expr" in e;
1271
1181
  }
1272
- function mn(e) {
1273
- return (T(e) || sn(e)) && "condition" in e;
1182
+ function Qt(e) {
1183
+ return (S(e) || C(e)) && "condition" in e;
1274
1184
  }
1275
- function hn(e) {
1276
- return on(e) && "condition" in e;
1185
+ function $t(e) {
1186
+ return Gt(e) && "condition" in e;
1277
1187
  }
1278
- var gn = ["x", "y"], _n = ["x2", "y2"], vn = ["xOffset", "yOffset"], yn = [...gn, ..._n];
1279
- function bn(e) {
1280
- return gn.includes(e);
1188
+ var en = ["x", "y"], tn = ["x2", "y2"], nn = ["xOffset", "yOffset"], rn = [...en, ...tn];
1189
+ function an(e) {
1190
+ return en.includes(e);
1281
1191
  }
1282
- function xn(e) {
1283
- return yn.includes(e);
1192
+ function on(e) {
1193
+ return rn.includes(e);
1284
1194
  }
1285
- function Sn(e) {
1286
- return vn.includes(e);
1195
+ function sn(e) {
1196
+ return nn.includes(e);
1287
1197
  }
1288
- function Cn(e) {
1289
- return kn(e) == "x" ? "xOffset" : "yOffset";
1198
+ function cn(e) {
1199
+ return mn(e) == "x" ? "xOffset" : "yOffset";
1290
1200
  }
1291
- function wn(e, t, n) {
1201
+ function ln(e, t, n) {
1292
1202
  return t ?? (n ? 0 : e);
1293
1203
  }
1294
- var Tn = {
1204
+ var un = {
1295
1205
  x: "x2",
1296
1206
  y: "y2"
1297
- }, En = Object.fromEntries(Object.entries(Tn).map((e) => [e[1], e[0]]));
1298
- function Dn(e) {
1299
- return e in En;
1207
+ }, dn = Object.fromEntries(Object.entries(un).map((e) => [e[1], e[0]]));
1208
+ function fn(e) {
1209
+ return e in dn;
1300
1210
  }
1301
- function On(e) {
1302
- let t = Tn[e];
1211
+ function pn(e) {
1212
+ let t = un[e];
1303
1213
  if (t) return t;
1304
1214
  throw Error(`${e} has no secondary channel!`);
1305
1215
  }
1306
- function kn(e) {
1307
- return En[e] ?? e;
1216
+ function mn(e) {
1217
+ return dn[e] ?? e;
1308
1218
  }
1309
- function An(e) {
1219
+ function hn(e) {
1310
1220
  return [
1311
1221
  "color",
1312
1222
  "fill",
1313
1223
  "stroke"
1314
- ].includes(kn(e));
1224
+ ].includes(mn(e));
1315
1225
  }
1316
- function jn(e) {
1226
+ function gn(e) {
1317
1227
  return ["shape", "direction"].includes(e);
1318
1228
  }
1319
- function Mn(e) {
1229
+ function _n(e) {
1320
1230
  return [
1321
1231
  "x",
1322
1232
  "y",
@@ -1340,7 +1250,7 @@ function Mn(e) {
1340
1250
  "sample"
1341
1251
  ].includes(e);
1342
1252
  }
1343
- function Nn(e) {
1253
+ function vn(e) {
1344
1254
  switch (e) {
1345
1255
  case "shape": return [
1346
1256
  "circle",
@@ -1363,12 +1273,11 @@ function Nn(e) {
1363
1273
  "reverse",
1364
1274
  "both"
1365
1275
  ];
1366
- default:
1367
1276
  }
1368
1277
  }
1369
- function Pn(e) {
1370
- if (!jn(e)) throw Error("Not a discrete channel: " + e);
1371
- let t = new Map(Nn(e).map((e, t) => [e, t]));
1278
+ function yn(e) {
1279
+ if (!gn(e)) throw Error("Not a discrete channel: " + e);
1280
+ let t = new Map(vn(e).map((e, t) => [e, t]));
1372
1281
  return (n) => {
1373
1282
  let r = t.get(n);
1374
1283
  if (r !== void 0) return r;
@@ -1376,54 +1285,132 @@ function Pn(e) {
1376
1285
  };
1377
1286
  }
1378
1287
  //#endregion
1288
+ //#region ../../node_modules/vega-expression/node_modules/vega-util/build/accessor.js
1289
+ function w(e, t, n) {
1290
+ return Object.assign(e, {
1291
+ fields: t || [],
1292
+ fname: n
1293
+ });
1294
+ }
1295
+ //#endregion
1296
+ //#region ../../node_modules/vega-expression/node_modules/vega-util/build/getter.js
1297
+ function bn(e) {
1298
+ return e.length === 1 ? xn(e[0]) : Sn(e);
1299
+ }
1300
+ var xn = (e) => function(t) {
1301
+ return t[e];
1302
+ }, Sn = (e) => {
1303
+ let t = e.length;
1304
+ return function(n) {
1305
+ for (let r = 0; r < t; ++r) n = n[e[r]];
1306
+ return n;
1307
+ };
1308
+ };
1309
+ //#endregion
1310
+ //#region ../../node_modules/vega-expression/node_modules/vega-util/build/error.js
1311
+ function T(e) {
1312
+ throw Error(e);
1313
+ }
1314
+ //#endregion
1315
+ //#region ../../node_modules/vega-expression/node_modules/vega-util/build/splitAccessPath.js
1316
+ function Cn(e) {
1317
+ let t = [], n = e.length, r = null, i = 0, a = "", o, s, c;
1318
+ e += "";
1319
+ function l() {
1320
+ t.push(a + e.substring(o, s)), a = "", o = s + 1;
1321
+ }
1322
+ for (o = s = 0; s < n; ++s) if (c = e[s], c === "\\") a += e.substring(o, s++), o = s;
1323
+ else if (c === r) l(), r = null, i = -1;
1324
+ else if (r) continue;
1325
+ 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 || T("Access path missing open bracket: " + e), i > 0 && l(), i = 0, o = s + 1);
1326
+ return i && T("Access path missing closing bracket: " + e), r && T("Access path missing closing quote: " + e), s > o && (s++, l()), t;
1327
+ }
1328
+ //#endregion
1329
+ //#region ../../node_modules/vega-expression/node_modules/vega-util/build/field.js
1330
+ function wn(e, t, n) {
1331
+ let r = Cn(e), i = r.length === 1 ? r[0] : e;
1332
+ return w((n && n.get || bn)(r), [i], t || i);
1333
+ }
1334
+ wn("id"), w((e) => e, [], "identity"), w(() => 0, [], "zero"), w(() => 1, [], "one"), w(() => !0, [], "true"), w(() => !1, [], "false");
1335
+ //#endregion
1336
+ //#region ../../node_modules/vega-expression/node_modules/vega-util/build/interpreter.js
1337
+ var Tn = /* @__PURE__ */ new Set([
1338
+ ...Object.getOwnPropertyNames(Object.prototype).filter((e) => typeof Object.prototype[e] == "function"),
1339
+ "__proto__",
1340
+ "then"
1341
+ ]);
1342
+ Array.isArray;
1343
+ //#endregion
1344
+ //#region ../../node_modules/vega-expression/node_modules/vega-util/build/isFunction.js
1345
+ function En(e) {
1346
+ return typeof e == "function";
1347
+ }
1348
+ //#endregion
1349
+ //#region ../../node_modules/vega-expression/node_modules/vega-util/build/hasOwnProperty.js
1350
+ function Dn(e, t) {
1351
+ return Object.hasOwn(e, t);
1352
+ }
1353
+ //#endregion
1354
+ //#region ../../node_modules/vega-expression/node_modules/vega-util/build/isString.js
1355
+ function On(e) {
1356
+ return typeof e == "string";
1357
+ }
1358
+ //#endregion
1359
+ //#region ../../node_modules/vega-expression/node_modules/vega-util/build/toSet.js
1360
+ function kn(e) {
1361
+ let t = {}, n = e.length;
1362
+ for (let r = 0; r < n; ++r) t[e[r] + ""] = !0;
1363
+ return t;
1364
+ }
1365
+ //#endregion
1379
1366
  //#region ../../node_modules/vega-expression/build/vega-expression.js
1380
- var Fn = "RawCode", In = "Literal", Ln = "Property", Rn = "Identifier", zn = "ArrayExpression", Bn = "BinaryExpression", Vn = "CallExpression", Hn = "ConditionalExpression", Un = "LogicalExpression", Wn = "MemberExpression", Gn = "ObjectExpression", Kn = "UnaryExpression";
1367
+ var An = "RawCode", jn = "Literal", Mn = "Property", Nn = "Identifier", Pn = "ArrayExpression", Fn = "BinaryExpression", In = "CallExpression", Ln = "ConditionalExpression", Rn = "LogicalExpression", zn = "MemberExpression", Bn = "ObjectExpression", Vn = "UnaryExpression";
1381
1368
  function E(e) {
1382
1369
  this.type = e;
1383
1370
  }
1384
1371
  E.prototype.visit = function(e) {
1385
1372
  let t, n, r;
1386
1373
  if (e(this)) return 1;
1387
- for (t = qn(this), n = 0, r = t.length; n < r; ++n) if (t[n].visit(e)) return 1;
1374
+ for (t = Hn(this), n = 0, r = t.length; n < r; ++n) if (t[n].visit(e)) return 1;
1388
1375
  };
1389
- function qn(e) {
1376
+ function Hn(e) {
1390
1377
  switch (e.type) {
1391
- case zn: return e.elements;
1392
- case Bn:
1393
- case Un: return [e.left, e.right];
1394
- case Vn: return [e.callee].concat(e.arguments);
1395
- case Hn: return [
1378
+ case Pn: return e.elements;
1379
+ case Fn:
1380
+ case Rn: return [e.left, e.right];
1381
+ case In: return [e.callee].concat(e.arguments);
1382
+ case Ln: return [
1396
1383
  e.test,
1397
1384
  e.consequent,
1398
1385
  e.alternate
1399
1386
  ];
1400
- case Wn: return [e.object, e.property];
1401
- case Gn: return e.properties;
1402
- case Ln: return [e.key, e.value];
1403
- case Kn: return [e.argument];
1404
- case Rn:
1405
- case In:
1406
- case Fn:
1387
+ case zn: return [e.object, e.property];
1388
+ case Bn: return e.properties;
1389
+ case Mn: return [e.key, e.value];
1390
+ case Vn: return [e.argument];
1391
+ case Nn:
1392
+ case jn:
1393
+ case An:
1407
1394
  default: return [];
1408
1395
  }
1409
1396
  }
1410
- var D, O, k, A, j, Jn = 1, Yn = 2, M = 3, N = 4, Xn = 5, P = 6, F = 7, I = 8, Zn = 9;
1411
- D = {}, D[Jn] = "Boolean", D[Yn] = "<end>", D[M] = "Identifier", D[N] = "Keyword", D[Xn] = "Null", D[P] = "Numeric", D[F] = "Punctuator", D[I] = "String", D[Zn] = "RegularExpression";
1412
- var Qn = "ArrayExpression", $n = "BinaryExpression", er = "CallExpression", tr = "ConditionalExpression", nr = "Identifier", rr = "Literal", ir = "LogicalExpression", ar = "MemberExpression", or = "ObjectExpression", sr = "Property", cr = "UnaryExpression", L = "Unexpected token %0", lr = "Unexpected number", ur = "Unexpected string", dr = "Unexpected identifier", fr = "Unexpected reserved word", pr = "Unexpected end of input", mr = "Invalid regular expression", hr = "Invalid regular expression: missing /", gr = "Octal literals are not allowed in strict mode.", _r = "Duplicate data property in object literal not allowed in strict mode", R = "ILLEGAL", vr = "Disabled.", yr = /* @__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]"), br = /* @__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]");
1413
- function xr(e, t) {
1397
+ var D, O, k, A, j, Un = 1, Wn = 2, M = 3, N = 4, Gn = 5, P = 6, F = 7, Kn = 8, qn = 9;
1398
+ D = {}, D[Un] = "Boolean", D[Wn] = "<end>", D[M] = "Identifier", D[N] = "Keyword", D[Gn] = "Null", D[P] = "Numeric", D[F] = "Punctuator", D[Kn] = "String", D[qn] = "RegularExpression";
1399
+ var Jn = "ArrayExpression", Yn = "BinaryExpression", Xn = "CallExpression", Zn = "ConditionalExpression", Qn = "Identifier", $n = "Literal", er = "LogicalExpression", tr = "MemberExpression", nr = "ObjectExpression", rr = "Property", ir = "UnaryExpression", I = "Unexpected token %0", ar = "Unexpected number", or = "Unexpected string", sr = "Unexpected identifier", cr = "Unexpected reserved word", lr = "Unexpected end of input", ur = "Invalid regular expression", dr = "Invalid regular expression: missing /", fr = "Octal literals are not allowed in strict mode.", pr = "Duplicate data property in object literal not allowed in strict mode", L = "ILLEGAL", mr = "Disabled.", hr = /* @__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]"), gr = /* @__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]");
1400
+ function _r(e, t) {
1414
1401
  /* istanbul ignore next */
1415
1402
  if (!e) throw Error("ASSERT: " + t);
1416
1403
  }
1417
- function z(e) {
1404
+ function R(e) {
1418
1405
  return e >= 48 && e <= 57;
1419
1406
  }
1420
- function Sr(e) {
1407
+ function vr(e) {
1421
1408
  return "0123456789abcdefABCDEF".includes(e);
1422
1409
  }
1423
- function Cr(e) {
1410
+ function yr(e) {
1424
1411
  return "01234567".includes(e);
1425
1412
  }
1426
- function wr(e) {
1413
+ function br(e) {
1427
1414
  return e === 32 || e === 9 || e === 11 || e === 12 || e === 160 || e >= 5760 && [
1428
1415
  5760,
1429
1416
  6158,
@@ -1444,16 +1431,16 @@ function wr(e) {
1444
1431
  65279
1445
1432
  ].includes(e);
1446
1433
  }
1447
- function Tr(e) {
1434
+ function xr(e) {
1448
1435
  return e === 10 || e === 13 || e === 8232 || e === 8233;
1449
1436
  }
1450
- function Er(e) {
1451
- return e === 36 || e === 95 || e >= 65 && e <= 90 || e >= 97 && e <= 122 || e === 92 || e >= 128 && yr.test(String.fromCharCode(e));
1437
+ function Sr(e) {
1438
+ return e === 36 || e === 95 || e >= 65 && e <= 90 || e >= 97 && e <= 122 || e === 92 || e >= 128 && hr.test(String.fromCharCode(e));
1452
1439
  }
1453
- function Dr(e) {
1454
- return e === 36 || e === 95 || e >= 65 && e <= 90 || e >= 97 && e <= 122 || e >= 48 && e <= 57 || e === 92 || e >= 128 && br.test(String.fromCharCode(e));
1440
+ function Cr(e) {
1441
+ return e === 36 || e === 95 || e >= 65 && e <= 90 || e >= 97 && e <= 122 || e >= 48 && e <= 57 || e === 92 || e >= 128 && gr.test(String.fromCharCode(e));
1455
1442
  }
1456
- var Or = {
1443
+ var wr = {
1457
1444
  if: 1,
1458
1445
  in: 1,
1459
1446
  do: 1,
@@ -1497,46 +1484,46 @@ var Or = {
1497
1484
  instanceof: 1,
1498
1485
  implements: 1
1499
1486
  };
1500
- function kr() {
1487
+ function Tr() {
1501
1488
  for (; k < A;) {
1502
1489
  let e = O.charCodeAt(k);
1503
- if (wr(e) || Tr(e)) ++k;
1490
+ if (br(e) || xr(e)) ++k;
1504
1491
  else break;
1505
1492
  }
1506
1493
  }
1507
- function Ar(e) {
1494
+ function Er(e) {
1508
1495
  var t, n, r, i = 0;
1509
- for (n = e === "u" ? 4 : 2, t = 0; t < n; ++t) k < A && Sr(O[k]) ? (r = O[k++], i = i * 16 + "0123456789abcdef".indexOf(r.toLowerCase())) : V({}, L, R);
1496
+ for (n = e === "u" ? 4 : 2, t = 0; t < n; ++t) k < A && vr(O[k]) ? (r = O[k++], i = i * 16 + "0123456789abcdef".indexOf(r.toLowerCase())) : B({}, I, L);
1510
1497
  return String.fromCharCode(i);
1511
1498
  }
1512
- function jr() {
1499
+ function Dr() {
1513
1500
  var e = O[k], t = 0, n, r;
1514
- for (e === "}" && V({}, L, R); k < A && (e = O[k++], Sr(e));) t = t * 16 + "0123456789abcdef".indexOf(e.toLowerCase());
1515
- 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));
1501
+ for (e === "}" && B({}, I, L); k < A && (e = O[k++], vr(e));) t = t * 16 + "0123456789abcdef".indexOf(e.toLowerCase());
1502
+ return (t > 1114111 || e !== "}") && B({}, I, L), t <= 65535 ? String.fromCharCode(t) : (n = (t - 65536 >> 10) + 55296, r = (t - 65536 & 1023) + 56320, String.fromCharCode(n, r));
1516
1503
  }
1517
- function Mr() {
1504
+ function Or() {
1518
1505
  var e = O.charCodeAt(k++), t = String.fromCharCode(e);
1519
- for (e === 92 && (O.charCodeAt(k) !== 117 && V({}, L, R), ++k, e = Ar("u"), (!e || e === "\\" || !Er(e.charCodeAt(0))) && V({}, L, R), t = e); k < A && (e = O.charCodeAt(k), Dr(e));) ++k, t += String.fromCharCode(e), e === 92 && (t = t.substr(0, t.length - 1), O.charCodeAt(k) !== 117 && V({}, L, R), ++k, e = Ar("u"), (!e || e === "\\" || !Dr(e.charCodeAt(0))) && V({}, L, R), t += e);
1506
+ for (e === 92 && (O.charCodeAt(k) !== 117 && B({}, I, L), ++k, e = Er("u"), (!e || e === "\\" || !Sr(e.charCodeAt(0))) && B({}, I, L), t = e); k < A && (e = O.charCodeAt(k), Cr(e));) ++k, t += String.fromCharCode(e), e === 92 && (t = t.substr(0, t.length - 1), O.charCodeAt(k) !== 117 && B({}, I, L), ++k, e = Er("u"), (!e || e === "\\" || !Cr(e.charCodeAt(0))) && B({}, I, L), t += e);
1520
1507
  return t;
1521
1508
  }
1522
- function Nr() {
1509
+ function kr() {
1523
1510
  for (var e = k++, t; k < A;) {
1524
- if (t = O.charCodeAt(k), t === 92) return k = e, Mr();
1525
- if (Dr(t)) ++k;
1511
+ if (t = O.charCodeAt(k), t === 92) return k = e, Or();
1512
+ if (Cr(t)) ++k;
1526
1513
  else break;
1527
1514
  }
1528
1515
  return O.slice(e, k);
1529
1516
  }
1530
- function Pr() {
1531
- var e = k, t = O.charCodeAt(k) === 92 ? Mr() : Nr();
1517
+ function Ar() {
1518
+ var e = k, t = O.charCodeAt(k) === 92 ? Or() : kr();
1532
1519
  return {
1533
- type: t.length === 1 ? M : Or.hasOwnProperty(t) ? N : t === "null" ? Xn : t === "true" || t === "false" ? Jn : M,
1520
+ type: t.length === 1 ? M : wr.hasOwnProperty(t) ? N : t === "null" ? Gn : t === "true" || t === "false" ? Un : M,
1534
1521
  value: t,
1535
1522
  start: e,
1536
1523
  end: k
1537
1524
  };
1538
1525
  }
1539
- function Fr() {
1526
+ function jr() {
1540
1527
  var e = k, t = O.charCodeAt(k), n, r = O[k], i, a, o;
1541
1528
  switch (t) {
1542
1529
  case 46:
@@ -1599,28 +1586,28 @@ function Fr() {
1599
1586
  start: e,
1600
1587
  end: k
1601
1588
  };
1602
- if (i === "//" && V({}, L, R), "<>=!+-*%&|^/".includes(r)) return ++k, {
1589
+ if (i === "//" && B({}, I, L), "<>=!+-*%&|^/".includes(r)) return ++k, {
1603
1590
  type: F,
1604
1591
  value: r,
1605
1592
  start: e,
1606
1593
  end: k
1607
1594
  };
1608
- V({}, L, R);
1595
+ B({}, I, L);
1609
1596
  }
1610
- function Ir(e) {
1597
+ function Mr(e) {
1611
1598
  let t = "";
1612
- for (; k < A && Sr(O[k]);) t += O[k++];
1613
- return t.length === 0 && V({}, L, R), Er(O.charCodeAt(k)) && V({}, L, R), {
1599
+ for (; k < A && vr(O[k]);) t += O[k++];
1600
+ return t.length === 0 && B({}, I, L), Sr(O.charCodeAt(k)) && B({}, I, L), {
1614
1601
  type: P,
1615
1602
  value: parseInt("0x" + t, 16),
1616
1603
  start: e,
1617
1604
  end: k
1618
1605
  };
1619
1606
  }
1620
- function Lr(e) {
1607
+ function Nr(e) {
1621
1608
  let t = "0" + O[k++];
1622
- for (; k < A && Cr(O[k]);) t += O[k++];
1623
- return (Er(O.charCodeAt(k)) || z(O.charCodeAt(k))) && V({}, L, R), {
1609
+ for (; k < A && yr(O[k]);) t += O[k++];
1610
+ return (Sr(O.charCodeAt(k)) || R(O.charCodeAt(k))) && B({}, I, L), {
1624
1611
  type: P,
1625
1612
  value: parseInt(t, 8),
1626
1613
  octal: !0,
@@ -1628,83 +1615,87 @@ function Lr(e) {
1628
1615
  end: k
1629
1616
  };
1630
1617
  }
1631
- function Rr() {
1618
+ function Pr() {
1632
1619
  var e, t, n = O[k];
1633
- if (xr(z(n.charCodeAt(0)) || n === ".", "Numeric literal must start with a decimal digit or a decimal point"), t = k, e = "", n !== ".") {
1620
+ if (_r(R(n.charCodeAt(0)) || n === ".", "Numeric literal must start with a decimal digit or a decimal point"), t = k, e = "", n !== ".") {
1634
1621
  if (e = O[k++], n = O[k], e === "0") {
1635
- if (n === "x" || n === "X") return ++k, Ir(t);
1636
- if (Cr(n)) return Lr(t);
1637
- n && z(n.charCodeAt(0)) && V({}, L, R);
1622
+ if (n === "x" || n === "X") return ++k, Mr(t);
1623
+ if (yr(n)) return Nr(t);
1624
+ n && R(n.charCodeAt(0)) && B({}, I, L);
1638
1625
  }
1639
- for (; z(O.charCodeAt(k));) e += O[k++];
1626
+ for (; R(O.charCodeAt(k));) e += O[k++];
1640
1627
  n = O[k];
1641
1628
  }
1642
1629
  if (n === ".") {
1643
- for (e += O[k++]; z(O.charCodeAt(k));) e += O[k++];
1630
+ for (e += O[k++]; R(O.charCodeAt(k));) e += O[k++];
1644
1631
  n = O[k];
1645
1632
  }
1646
- if (n === "e" || n === "E") if (e += O[k++], n = O[k], (n === "+" || n === "-") && (e += O[k++]), z(O.charCodeAt(k))) for (; z(O.charCodeAt(k));) e += O[k++];
1647
- else V({}, L, R);
1648
- return Er(O.charCodeAt(k)) && V({}, L, R), {
1633
+ if (n === "e" || n === "E") {
1634
+ if (e += O[k++], n = O[k], (n === "+" || n === "-") && (e += O[k++]), R(O.charCodeAt(k))) for (; R(O.charCodeAt(k));) e += O[k++];
1635
+ else B({}, I, L);
1636
+ }
1637
+ return Sr(O.charCodeAt(k)) && B({}, I, L), {
1649
1638
  type: P,
1650
1639
  value: parseFloat(e),
1651
1640
  start: t,
1652
1641
  end: k
1653
1642
  };
1654
1643
  }
1655
- function zr() {
1644
+ function Fr() {
1656
1645
  var e = "", t, n, r, i, a = !1;
1657
- for (t = O[k], xr(t === "'" || t === "\"", "String literal must starts with a quote"), n = k, ++k; k < A;) if (r = O[k++], r === t) {
1658
- t = "";
1659
- break;
1660
- } else if (r === "\\") if (r = O[k++], !r || !Tr(r.charCodeAt(0))) switch (r) {
1661
- case "u":
1662
- case "x":
1663
- O[k] === "{" ? (++k, e += jr()) : e += Ar(r);
1664
- break;
1665
- case "n":
1666
- e += "\n";
1667
- break;
1668
- case "r":
1669
- e += "\r";
1670
- break;
1671
- case "t":
1672
- e += " ";
1673
- break;
1674
- case "b":
1675
- e += "\b";
1676
- break;
1677
- case "f":
1678
- e += "\f";
1679
- break;
1680
- case "v":
1681
- e += "\v";
1682
- break;
1683
- default:
1684
- Cr(r) ? (i = "01234567".indexOf(r), i !== 0 && (a = !0), k < A && Cr(O[k]) && (a = !0, i = i * 8 + "01234567".indexOf(O[k++]), "0123".includes(r) && k < A && Cr(O[k]) && (i = i * 8 + "01234567".indexOf(O[k++]))), e += String.fromCharCode(i)) : e += r;
1646
+ for (t = O[k], _r(t === "'" || t === "\"", "String literal must starts with a quote"), n = k, ++k; k < A;) {
1647
+ if (r = O[k++], r === t) {
1648
+ t = "";
1685
1649
  break;
1650
+ }
1651
+ if (r === "\\") {
1652
+ if (r = O[k++], !r || !xr(r.charCodeAt(0))) switch (r) {
1653
+ case "u":
1654
+ case "x":
1655
+ O[k] === "{" ? (++k, e += Dr()) : e += Er(r);
1656
+ break;
1657
+ case "n":
1658
+ e += "\n";
1659
+ break;
1660
+ case "r":
1661
+ e += "\r";
1662
+ break;
1663
+ case "t":
1664
+ e += " ";
1665
+ break;
1666
+ case "b":
1667
+ e += "\b";
1668
+ break;
1669
+ case "f":
1670
+ e += "\f";
1671
+ break;
1672
+ case "v":
1673
+ e += "\v";
1674
+ break;
1675
+ default: yr(r) ? (i = "01234567".indexOf(r), i !== 0 && (a = !0), k < A && yr(O[k]) && (a = !0, i = i * 8 + "01234567".indexOf(O[k++]), "0123".includes(r) && k < A && yr(O[k]) && (i = i * 8 + "01234567".indexOf(O[k++]))), e += String.fromCharCode(i)) : e += r;
1676
+ }
1677
+ else r === "\r" && O[k] === "\n" && ++k;
1678
+ } else if (xr(r.charCodeAt(0))) break;
1679
+ else e += r;
1686
1680
  }
1687
- else r === "\r" && O[k] === "\n" && ++k;
1688
- else if (Tr(r.charCodeAt(0))) break;
1689
- else e += r;
1690
- return t !== "" && V({}, L, R), {
1691
- type: I,
1681
+ return t !== "" && B({}, I, L), {
1682
+ type: Kn,
1692
1683
  value: e,
1693
1684
  octal: a,
1694
1685
  start: n,
1695
1686
  end: k
1696
1687
  };
1697
1688
  }
1698
- function Br(e, t) {
1689
+ function Ir(e, t) {
1699
1690
  let n = e;
1700
1691
  t.includes("u") && (n = n.replace(/\\u\{([0-9a-fA-F]+)\}/g, (e, t) => {
1701
1692
  if (parseInt(t, 16) <= 1114111) return "x";
1702
- V({}, mr);
1693
+ B({}, ur);
1703
1694
  }).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g, "x"));
1704
1695
  try {
1705
1696
  new RegExp(n);
1706
1697
  } catch {
1707
- V({}, mr);
1698
+ B({}, ur);
1708
1699
  }
1709
1700
  try {
1710
1701
  return new RegExp(e, t);
@@ -1712,30 +1703,30 @@ function Br(e, t) {
1712
1703
  return null;
1713
1704
  }
1714
1705
  }
1715
- function Vr() {
1706
+ function Lr() {
1716
1707
  var e = O[k], t, n, r, i;
1717
- for (xr(e === "/", "Regular expression literal must start with a slash"), t = O[k++], n = !1, r = !1; k < A;) if (e = O[k++], t += e, e === "\\") e = O[k++], Tr(e.charCodeAt(0)) && V({}, hr), t += e;
1718
- else if (Tr(e.charCodeAt(0))) V({}, hr);
1708
+ for (_r(e === "/", "Regular expression literal must start with a slash"), t = O[k++], n = !1, r = !1; k < A;) if (e = O[k++], t += e, e === "\\") e = O[k++], xr(e.charCodeAt(0)) && B({}, dr), t += e;
1709
+ else if (xr(e.charCodeAt(0))) B({}, dr);
1719
1710
  else if (n) e === "]" && (n = !1);
1720
1711
  else if (e === "/") {
1721
1712
  r = !0;
1722
1713
  break;
1723
1714
  } else e === "[" && (n = !0);
1724
- return r || V({}, hr), i = t.substr(1, t.length - 2), {
1715
+ return r || B({}, dr), i = t.substr(1, t.length - 2), {
1725
1716
  value: i,
1726
1717
  literal: t
1727
1718
  };
1728
1719
  }
1729
- function Hr() {
1730
- for (var e, t = "", n = ""; k < A && (e = O[k], Dr(e.charCodeAt(0)));) ++k, e === "\\" && k < A ? V({}, L, R) : (n += e, t += e);
1731
- return n.search(/[^gimuy]/g) >= 0 && V({}, mr, n), {
1720
+ function Rr() {
1721
+ for (var e, t = "", n = ""; k < A && (e = O[k], Cr(e.charCodeAt(0)));) ++k, e === "\\" && k < A ? B({}, I, L) : (n += e, t += e);
1722
+ return n.search(/[^gimuy]/g) >= 0 && B({}, ur, n), {
1732
1723
  value: n,
1733
1724
  literal: t
1734
1725
  };
1735
1726
  }
1736
- function Ur() {
1727
+ function zr() {
1737
1728
  var e, t, n, r;
1738
- return j = null, kr(), e = k, t = Vr(), n = Hr(), r = Br(t.value, n.value), {
1729
+ return j = null, Tr(), e = k, t = Lr(), n = Rr(), r = Ir(t.value, n.value), {
1739
1730
  literal: t.literal + n.literal,
1740
1731
  value: r,
1741
1732
  regex: {
@@ -1746,161 +1737,161 @@ function Ur() {
1746
1737
  end: k
1747
1738
  };
1748
1739
  }
1749
- function Wr(e) {
1750
- return e.type === M || e.type === N || e.type === Jn || e.type === Xn;
1740
+ function Br(e) {
1741
+ return e.type === M || e.type === N || e.type === Un || e.type === Gn;
1751
1742
  }
1752
- function Gr() {
1753
- if (kr(), k >= A) return {
1754
- type: Yn,
1743
+ function Vr() {
1744
+ if (Tr(), k >= A) return {
1745
+ type: Wn,
1755
1746
  start: k,
1756
1747
  end: k
1757
1748
  };
1758
1749
  let e = O.charCodeAt(k);
1759
- return Er(e) ? Pr() : e === 40 || e === 41 || e === 59 ? Fr() : e === 39 || e === 34 ? zr() : e === 46 ? z(O.charCodeAt(k + 1)) ? Rr() : Fr() : z(e) ? Rr() : Fr();
1750
+ return Sr(e) ? Ar() : e === 40 || e === 41 || e === 59 ? jr() : e === 39 || e === 34 ? Fr() : e === 46 ? R(O.charCodeAt(k + 1)) ? Pr() : jr() : R(e) ? Pr() : jr();
1760
1751
  }
1761
- function B() {
1752
+ function z() {
1762
1753
  let e = j;
1763
- return k = e.end, j = Gr(), k = e.end, e;
1754
+ return k = e.end, j = Vr(), k = e.end, e;
1764
1755
  }
1765
- function Kr() {
1756
+ function Hr() {
1766
1757
  let e = k;
1767
- j = Gr(), k = e;
1758
+ j = Vr(), k = e;
1768
1759
  }
1769
- function qr(e) {
1770
- let t = new E(Qn);
1760
+ function Ur(e) {
1761
+ let t = new E(Jn);
1771
1762
  return t.elements = e, t;
1772
1763
  }
1773
- function Jr(e, t, n) {
1774
- let r = new E(e === "||" || e === "&&" ? ir : $n);
1764
+ function Wr(e, t, n) {
1765
+ let r = new E(e === "||" || e === "&&" ? er : Yn);
1775
1766
  return r.operator = e, r.left = t, r.right = n, r;
1776
1767
  }
1777
- function Yr(e, t) {
1778
- let n = new E(er);
1768
+ function Gr(e, t) {
1769
+ let n = new E(Xn);
1779
1770
  return n.callee = e, n.arguments = t, n;
1780
1771
  }
1781
- function Xr(e, t, n) {
1782
- let r = new E(tr);
1772
+ function Kr(e, t, n) {
1773
+ let r = new E(Zn);
1783
1774
  return r.test = e, r.consequent = t, r.alternate = n, r;
1784
1775
  }
1785
- function Zr(e) {
1786
- let t = new E(nr);
1776
+ function qr(e) {
1777
+ let t = new E(Qn);
1787
1778
  return t.name = e, t;
1788
1779
  }
1789
- function Qr(e) {
1790
- let t = new E(rr);
1780
+ function Jr(e) {
1781
+ let t = new E($n);
1791
1782
  return t.value = e.value, t.raw = O.slice(e.start, e.end), e.regex && (t.raw === "//" && (t.raw = "/(?:)/"), t.regex = e.regex), t;
1792
1783
  }
1793
- function $r(e, t, n) {
1794
- let r = new E(ar);
1784
+ function Yr(e, t, n) {
1785
+ let r = new E(tr);
1795
1786
  return r.computed = e === "[", r.object = t, r.property = n, r.computed || (n.member = !0), r;
1796
1787
  }
1797
- function ei(e) {
1798
- let t = new E(or);
1788
+ function Xr(e) {
1789
+ let t = new E(nr);
1799
1790
  return t.properties = e, t;
1800
1791
  }
1801
- function ti(e, t, n) {
1802
- let r = new E(sr);
1792
+ function Zr(e, t, n) {
1793
+ let r = new E(rr);
1803
1794
  return r.key = t, r.value = n, r.kind = e, r;
1804
1795
  }
1805
- function ni(e, t) {
1806
- let n = new E(cr);
1796
+ function Qr(e, t) {
1797
+ let n = new E(ir);
1807
1798
  return n.operator = e, n.argument = t, n.prefix = !0, n;
1808
1799
  }
1809
- function V(e, t) {
1810
- var n, r = Array.prototype.slice.call(arguments, 2), i = t.replace(/%(\d)/g, (e, t) => (xr(t < r.length, "Message reference must be in range"), r[t]));
1800
+ function B(e, t) {
1801
+ var n, r = Array.prototype.slice.call(arguments, 2), i = t.replace(/%(\d)/g, (e, t) => (_r(t < r.length, "Message reference must be in range"), r[t]));
1811
1802
  throw n = Error(i), n.index = k, n.description = i, n;
1812
1803
  }
1813
- function ri(e) {
1814
- e.type === Yn && V(e, pr), e.type === P && V(e, lr), e.type === I && V(e, ur), e.type === M && V(e, dr), e.type === N && V(e, fr), V(e, L, e.value);
1804
+ function $r(e) {
1805
+ e.type === Wn && B(e, lr), e.type === P && B(e, ar), e.type === Kn && B(e, or), e.type === M && B(e, sr), e.type === N && B(e, cr), B(e, I, e.value);
1815
1806
  }
1816
- function H(e) {
1817
- let t = B();
1818
- (t.type !== F || t.value !== e) && ri(t);
1807
+ function V(e) {
1808
+ let t = z();
1809
+ (t.type !== F || t.value !== e) && $r(t);
1819
1810
  }
1820
- function U(e) {
1811
+ function H(e) {
1821
1812
  return j.type === F && j.value === e;
1822
1813
  }
1823
- function ii(e) {
1814
+ function ei(e) {
1824
1815
  return j.type === N && j.value === e;
1825
1816
  }
1826
- function ai() {
1817
+ function ti() {
1827
1818
  let e = [];
1828
- for (k = j.start, H("["); !U("]");) U(",") ? (B(), e.push(null)) : (e.push(W()), U("]") || H(","));
1829
- return B(), qr(e);
1819
+ for (k = j.start, V("["); !H("]");) H(",") ? (z(), e.push(null)) : (e.push(U()), H("]") || V(","));
1820
+ return z(), Ur(e);
1830
1821
  }
1831
- function oi() {
1822
+ function ni() {
1832
1823
  k = j.start;
1833
- let e = B();
1834
- return e.type === I || e.type === P ? (e.octal && V(e, gr), Qr(e)) : Zr(e.value);
1824
+ let e = z();
1825
+ return e.type === Kn || e.type === P ? (e.octal && B(e, fr), Jr(e)) : qr(e.value);
1835
1826
  }
1836
- function si() {
1827
+ function ri() {
1837
1828
  var e, t, n, r;
1838
- if (k = j.start, e = j, e.type === M) return n = oi(), H(":"), r = W(), ti("init", n, r);
1839
- if (e.type === Yn || e.type === F) ri(e);
1840
- else return t = oi(), H(":"), r = W(), ti("init", t, r);
1829
+ if (k = j.start, e = j, e.type === M) return n = ni(), V(":"), r = U(), Zr("init", n, r);
1830
+ if (e.type === Wn || e.type === F) $r(e);
1831
+ else return t = ni(), V(":"), r = U(), Zr("init", t, r);
1841
1832
  }
1842
- function ci() {
1833
+ function ii() {
1843
1834
  var e = [], t, n, r, i = {}, a = String;
1844
- for (k = j.start, H("{"); !U("}");) t = si(), n = t.key.type === nr ? t.key.name : a(t.key.value), r = "$" + n, Object.prototype.hasOwnProperty.call(i, r) ? V({}, _r) : i[r] = !0, e.push(t), U("}") || H(",");
1845
- return H("}"), ei(e);
1835
+ for (k = j.start, V("{"); !H("}");) t = ri(), n = t.key.type === Qn ? t.key.name : a(t.key.value), r = "$" + n, Object.prototype.hasOwnProperty.call(i, r) ? B({}, pr) : i[r] = !0, e.push(t), H("}") || V(",");
1836
+ return V("}"), Xr(e);
1846
1837
  }
1847
- function li() {
1848
- H("(");
1849
- let e = xi();
1850
- return H(")"), e;
1838
+ function ai() {
1839
+ V("(");
1840
+ let e = _i();
1841
+ return V(")"), e;
1851
1842
  }
1852
- var ui = { if: 1 };
1853
- function di() {
1843
+ var oi = { if: 1 };
1844
+ function si() {
1854
1845
  var e, t, n;
1855
- if (U("(")) return li();
1856
- if (U("[")) return ai();
1857
- if (U("{")) return ci();
1858
- if (e = j.type, k = j.start, e === M || ui[j.value]) n = Zr(B().value);
1859
- else if (e === I || e === P) j.octal && V(j, gr), n = Qr(B());
1860
- else if (e === N) throw Error(vr);
1861
- else e === Jn ? (t = B(), t.value = t.value === "true", n = Qr(t)) : e === Xn ? (t = B(), t.value = null, n = Qr(t)) : U("/") || U("/=") ? (n = Qr(Ur()), Kr()) : ri(B());
1846
+ if (H("(")) return ai();
1847
+ if (H("[")) return ti();
1848
+ if (H("{")) return ii();
1849
+ if (e = j.type, k = j.start, e === M || oi[j.value]) n = qr(z().value);
1850
+ else if (e === Kn || e === P) j.octal && B(j, fr), n = Jr(z());
1851
+ else if (e === N) throw Error(mr);
1852
+ else e === Un ? (t = z(), t.value = t.value === "true", n = Jr(t)) : e === Gn ? (t = z(), t.value = null, n = Jr(t)) : H("/") || H("/=") ? (n = Jr(zr()), Hr()) : $r(z());
1862
1853
  return n;
1863
1854
  }
1864
- function fi() {
1855
+ function ci() {
1865
1856
  let e = [];
1866
- if (H("("), !U(")")) for (; k < A && (e.push(W()), !U(")"));) H(",");
1867
- return H(")"), e;
1857
+ if (V("("), !H(")")) for (; k < A && (e.push(U()), !H(")"));) V(",");
1858
+ return V(")"), e;
1868
1859
  }
1869
- function pi() {
1860
+ function li() {
1870
1861
  k = j.start;
1871
- let e = B();
1872
- return Wr(e) || ri(e), Zr(e.value);
1862
+ let e = z();
1863
+ return Br(e) || $r(e), qr(e.value);
1873
1864
  }
1874
- function mi() {
1875
- return H("."), pi();
1865
+ function ui() {
1866
+ return V("."), li();
1876
1867
  }
1877
- function hi() {
1878
- H("[");
1879
- let e = xi();
1880
- return H("]"), e;
1868
+ function di() {
1869
+ V("[");
1870
+ let e = _i();
1871
+ return V("]"), e;
1881
1872
  }
1882
- function gi() {
1883
- for (var e = di(), t, n;;) if (U(".")) n = mi(), e = $r(".", e, n);
1884
- else if (U("(")) t = fi(), e = Yr(e, t);
1885
- else if (U("[")) n = hi(), e = $r("[", e, n);
1873
+ function fi() {
1874
+ for (var e = si(), t, n;;) if (H(".")) n = ui(), e = Yr(".", e, n);
1875
+ else if (H("(")) t = ci(), e = Gr(e, t);
1876
+ else if (H("[")) n = di(), e = Yr("[", e, n);
1886
1877
  else break;
1887
1878
  return e;
1888
1879
  }
1889
- function _i() {
1890
- let e = gi();
1891
- if (j.type === F && (U("++") || U("--"))) throw Error(vr);
1880
+ function pi() {
1881
+ let e = fi();
1882
+ if (j.type === F && (H("++") || H("--"))) throw Error(mr);
1892
1883
  return e;
1893
1884
  }
1894
- function vi() {
1885
+ function mi() {
1895
1886
  var e, t;
1896
- if (j.type !== F && j.type !== N) t = _i();
1897
- else if (U("++") || U("--")) throw Error(vr);
1898
- else if (U("+") || U("-") || U("~") || U("!")) e = B(), t = vi(), t = ni(e.value, t);
1899
- else if (ii("delete") || ii("void") || ii("typeof")) throw Error(vr);
1900
- else t = _i();
1887
+ if (j.type !== F && j.type !== N) t = pi();
1888
+ else if (H("++") || H("--")) throw Error(mr);
1889
+ else if (H("+") || H("-") || H("~") || H("!")) e = z(), t = mi(), t = Qr(e.value, t);
1890
+ else if (ei("delete") || ei("void") || ei("typeof")) throw Error(mr);
1891
+ else t = pi();
1901
1892
  return t;
1902
1893
  }
1903
- function yi(e) {
1894
+ function hi(e) {
1904
1895
  let t = 0;
1905
1896
  if (e.type !== F && e.type !== N) return 0;
1906
1897
  switch (e.value) {
@@ -1944,42 +1935,40 @@ function yi(e) {
1944
1935
  break;
1945
1936
  case "*":
1946
1937
  case "/":
1947
- case "%":
1948
- t = 11;
1949
- break;
1938
+ case "%": t = 11;
1950
1939
  }
1951
1940
  return t;
1952
1941
  }
1953
- function bi() {
1954
- var e = j, t, n, r, i, a, o, s, c = vi(), l;
1955
- if (r = j, i = yi(r), i === 0) return c;
1956
- for (r.prec = i, B(), t = [e, j], o = vi(), a = [
1942
+ function gi() {
1943
+ var e = j, t, n, r, i, a, o, s, c = mi(), l;
1944
+ if (r = j, i = hi(r), i === 0) return c;
1945
+ for (r.prec = i, z(), t = [e, j], o = mi(), a = [
1957
1946
  c,
1958
1947
  r,
1959
1948
  o
1960
- ]; (i = yi(j)) > 0;) {
1961
- for (; a.length > 2 && i <= a[a.length - 2].prec;) o = a.pop(), s = a.pop().value, c = a.pop(), t.pop(), n = Jr(s, c, o), a.push(n);
1962
- r = B(), r.prec = i, a.push(r), t.push(j), n = vi(), a.push(n);
1949
+ ]; (i = hi(j)) > 0;) {
1950
+ for (; a.length > 2 && i <= a[a.length - 2].prec;) o = a.pop(), s = a.pop().value, c = a.pop(), t.pop(), n = Wr(s, c, o), a.push(n);
1951
+ r = z(), r.prec = i, a.push(r), t.push(j), n = mi(), a.push(n);
1963
1952
  }
1964
- for (l = a.length - 1, n = a[l], t.pop(); l > 1;) t.pop(), n = Jr(a[l - 1].value, a[l - 2], n), l -= 2;
1953
+ for (l = a.length - 1, n = a[l], t.pop(); l > 1;) t.pop(), n = Wr(a[l - 1].value, a[l - 2], n), l -= 2;
1965
1954
  return n;
1966
1955
  }
1967
- function W() {
1968
- var e = bi(), t, n;
1969
- return U("?") && (B(), t = W(), H(":"), n = W(), e = Xr(e, t, n)), e;
1956
+ function U() {
1957
+ var e = gi(), t, n;
1958
+ return H("?") && (z(), t = U(), V(":"), n = U(), e = Kr(e, t, n)), e;
1970
1959
  }
1971
- function xi() {
1972
- let e = W();
1973
- if (U(",")) throw Error(vr);
1960
+ function _i() {
1961
+ let e = U();
1962
+ if (H(",")) throw Error(mr);
1974
1963
  return e;
1975
1964
  }
1976
- function Si(e) {
1977
- O = e, k = 0, A = O.length, j = null, Kr();
1978
- let t = xi();
1979
- if (j.type !== Yn) throw Error("Unexpect token after expression.");
1965
+ function vi(e) {
1966
+ O = e, k = 0, A = O.length, j = null, Hr();
1967
+ let t = _i();
1968
+ if (j.type !== Wn) throw Error("Unexpect token after expression.");
1980
1969
  return t;
1981
1970
  }
1982
- var Ci = {
1971
+ var yi = {
1983
1972
  NaN: "NaN",
1984
1973
  E: "Math.E",
1985
1974
  LN2: "Math.LN2",
@@ -1992,7 +1981,7 @@ var Ci = {
1992
1981
  MIN_VALUE: "Number.MIN_VALUE",
1993
1982
  MAX_VALUE: "Number.MAX_VALUE"
1994
1983
  };
1995
- function wi(e) {
1984
+ function bi(e) {
1996
1985
  function t(t, n, r, i) {
1997
1986
  let a = e(n[0]);
1998
1987
  return r && (a = r + "(" + a + ")", r.lastIndexOf("new ", 0) === 0 && (a = "(" + a + ")")), a + "." + t + (i < 0 ? "" : i === 0 ? "()" : "(" + n.slice(1).map(e).join(",") + ")");
@@ -2000,7 +1989,7 @@ function wi(e) {
2000
1989
  function n(e, n, r) {
2001
1990
  return (i) => t(e, i, n, r);
2002
1991
  }
2003
- let r = "new Date", a = "String", o = "RegExp";
1992
+ let r = "new Date", i = "String", a = "RegExp";
2004
1993
  return {
2005
1994
  isNaN: "Number.isNaN",
2006
1995
  isFinite: "Number.isFinite",
@@ -2024,7 +2013,7 @@ function wi(e) {
2024
2013
  sqrt: "Math.sqrt",
2025
2014
  tan: "Math.tan",
2026
2015
  clamp: function(t) {
2027
- t.length < 3 && i("Missing arguments to clamp function."), t.length > 3 && i("Too many arguments to clamp function.");
2016
+ t.length < 3 && T("Missing arguments to clamp function."), t.length > 3 && T("Too many arguments to clamp function.");
2028
2017
  let n = t.map(e);
2029
2018
  return "Math.max(" + n[1] + ", Math.min(" + n[2] + "," + n[0] + "))";
2030
2019
  },
@@ -2052,160 +2041,159 @@ function wi(e) {
2052
2041
  length: n("length", null, -1),
2053
2042
  parseFloat: "parseFloat",
2054
2043
  parseInt: "parseInt",
2055
- upper: n("toUpperCase", a, 0),
2056
- lower: n("toLowerCase", a, 0),
2057
- substring: n("substring", a),
2058
- split: n("split", a),
2059
- trim: n("trim", a, 0),
2044
+ upper: n("toUpperCase", i, 0),
2045
+ lower: n("toLowerCase", i, 0),
2046
+ substring: n("substring", i),
2047
+ split: n("split", i),
2048
+ trim: n("trim", i, 0),
2060
2049
  btoa: "btoa",
2061
2050
  atob: "atob",
2062
- regexp: o,
2063
- test: n("test", o),
2051
+ encodeURIComponent: "encodeURIComponent",
2052
+ regexp: a,
2053
+ test: n("test", a),
2064
2054
  if: function(t) {
2065
- t.length < 3 && i("Missing arguments to if function."), t.length > 3 && i("Too many arguments to if function.");
2055
+ t.length < 3 && T("Missing arguments to if function."), t.length > 3 && T("Too many arguments to if function.");
2066
2056
  let n = t.map(e);
2067
2057
  return "(" + n[0] + "?" + n[1] + ":" + n[2] + ")";
2068
2058
  }
2069
2059
  };
2070
2060
  }
2071
- function Ti(e) {
2061
+ function xi(e) {
2072
2062
  let t = e && e.length - 1;
2073
2063
  return t && (e[0] === "\"" && e[t] === "\"" || e[0] === "'" && e[t] === "'") ? e.slice(1, -1) : e;
2074
2064
  }
2075
- function Ei(e) {
2065
+ function Si(e) {
2076
2066
  e ||= {};
2077
- let t = e.allowed ? g(e.allowed) : {}, n = e.forbidden ? g(e.forbidden) : {}, r = e.constants || Ci, a = (e.functions || wi)(_), o = e.globalvar, s = e.fieldvar, l = f(o) ? o : (e) => `${o}["${e}"]`;
2078
- [...Object.getOwnPropertyNames(Object.prototype).filter((e) => typeof Object.prototype[e] == "function")];
2079
- let u = {}, d = {}, h = 0;
2080
- function _(e) {
2081
- if (m(e)) return e;
2082
- let t = ee[e.type];
2083
- return t ?? i("Unsupported type: " + e.type), t(e);
2084
- }
2085
- let ee = {
2067
+ let t = e.allowed ? kn(e.allowed) : {}, n = e.forbidden ? kn(e.forbidden) : {}, r = e.constants || yi, i = (e.functions || bi)(d), a = e.globalvar, o = e.fieldvar, s = En(a) ? a : (e) => `${a}["${e}"]`, c = {}, l = {}, u = 0;
2068
+ function d(e) {
2069
+ if (On(e)) return e;
2070
+ let t = f[e.type];
2071
+ return t ?? T("Unsupported type: " + e.type), t(e);
2072
+ }
2073
+ let f = {
2086
2074
  Literal: (e) => e.raw,
2087
2075
  Identifier: (e) => {
2088
- let a = e.name;
2089
- 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));
2076
+ let i = e.name;
2077
+ return u > 0 ? i : Dn(n, i) ? T("Illegal identifier: " + i) : Dn(r, i) ? r[i] : Dn(t, i) ? i : (c[i] = 1, s(i));
2090
2078
  },
2091
2079
  MemberExpression: (e) => {
2092
- let t = !e.computed, n = _(e.object);
2093
- t && (h += 1);
2094
- let r = _(e.property);
2095
- return n === s && (d[Ti(r)] = 1), t && --h, n + (t ? "." + r : "[" + r + "]");
2080
+ let t = !e.computed, n = d(e.object);
2081
+ t && (u += 1);
2082
+ let r = d(e.property);
2083
+ return n === o && (l[xi(r)] = 1), t && --u, n + (t ? "." + r : "[" + r + "]");
2096
2084
  },
2097
2085
  CallExpression: (e) => {
2098
- e.callee.type !== "Identifier" && i("Illegal callee type: " + e.callee.type);
2099
- let t = e.callee.name, n = e.arguments, r = p(a, t) && a[t];
2100
- return r || i("Unrecognized function: " + t), f(r) ? r(n) : r + "(" + n.map(_).join(",") + ")";
2086
+ e.callee.type !== "Identifier" && T("Illegal callee type: " + e.callee.type);
2087
+ let t = e.callee.name, n = e.arguments, r = Dn(i, t) && i[t];
2088
+ return r || T("Unrecognized function: " + t), En(r) ? r(n) : r + "(" + n.map(d).join(",") + ")";
2101
2089
  },
2102
- ArrayExpression: (e) => "[" + e.elements.map(_).join(",") + "]",
2103
- BinaryExpression: (e) => "(" + _(e.left) + " " + e.operator + " " + _(e.right) + ")",
2104
- UnaryExpression: (e) => "(" + e.operator + _(e.argument) + ")",
2105
- ConditionalExpression: (e) => "(" + _(e.test) + "?" + _(e.consequent) + ":" + _(e.alternate) + ")",
2106
- LogicalExpression: (e) => "(" + _(e.left) + e.operator + _(e.right) + ")",
2090
+ ArrayExpression: (e) => "[" + e.elements.map(d).join(",") + "]",
2091
+ BinaryExpression: (e) => "(" + d(e.left) + " " + e.operator + " " + d(e.right) + ")",
2092
+ UnaryExpression: (e) => "(" + e.operator + d(e.argument) + ")",
2093
+ ConditionalExpression: (e) => "(" + d(e.test) + "?" + d(e.consequent) + ":" + d(e.alternate) + ")",
2094
+ LogicalExpression: (e) => "(" + d(e.left) + e.operator + d(e.right) + ")",
2107
2095
  ObjectExpression: (e) => {
2108
2096
  for (let t of e.properties) {
2109
- let e = t.key.name;
2110
- c.has(e) && i("Illegal property: " + e);
2097
+ let e = t.key.type === "Literal" ? String(t.key.value) : t.key.name;
2098
+ Tn.has(e) && T("Illegal property: " + e);
2111
2099
  }
2112
- return "{" + e.properties.map(_).join(",") + "}";
2100
+ return "{" + e.properties.map(d).join(",") + "}";
2113
2101
  },
2114
2102
  Property: (e) => {
2115
- h += 1;
2116
- let t = _(e.key);
2117
- return --h, t + ":" + _(e.value);
2103
+ u += 1;
2104
+ let t = d(e.key);
2105
+ return --u, t + ":" + d(e.value);
2118
2106
  }
2119
2107
  };
2120
- function v(e) {
2108
+ function p(e) {
2121
2109
  let t = {
2122
- code: _(e),
2123
- globals: Object.keys(u),
2124
- fields: Object.keys(d)
2110
+ code: d(e),
2111
+ globals: Object.keys(c),
2112
+ fields: Object.keys(l)
2125
2113
  };
2126
- return u = {}, d = {}, t;
2114
+ return c = {}, l = {}, t;
2127
2115
  }
2128
- return v.functions = a, v.constants = r, v;
2116
+ return p.functions = i, p.constants = r, p;
2129
2117
  }
2130
2118
  //#endregion
2131
2119
  //#region ../core/src/utils/smoothstep.js
2132
- function Di(e, t, n) {
2120
+ function Ci(e, t, n) {
2133
2121
  return n = (n - e) / (t - e), n = Math.max(0, Math.min(1, n)), n * n * (3 - 2 * n);
2134
2122
  }
2135
2123
  //#endregion
2136
2124
  //#region ../core/src/utils/clamp.js
2137
- function Oi(e, t = 0, n = 1) {
2125
+ function wi(e, t = 0, n = 1) {
2138
2126
  return Math.max(t, Math.min(n, e));
2139
2127
  }
2140
2128
  //#endregion
2141
2129
  //#region ../core/src/utils/linearstep.js
2142
- function ki(e, t, n) {
2143
- return Oi((n - e) / (t - e), 0, 1);
2130
+ function Ti(e, t, n) {
2131
+ return wi((n - e) / (t - e), 0, 1);
2144
2132
  }
2145
2133
  //#endregion
2146
2134
  //#region ../core/src/utils/expression.js
2147
- function Ai(e) {
2148
- return He(e) || ArrayBuffer.isView(e) ? e : null;
2135
+ function Ei(e) {
2136
+ return u(e) || ArrayBuffer.isView(e) ? e : null;
2149
2137
  }
2150
- function ji(e) {
2151
- return Ai(e) || (C(e) ? e : null);
2138
+ function Di(e) {
2139
+ return Ei(e) || (b(e) ? e : null);
2152
2140
  }
2153
- var Mi = {
2154
- clamp: Oi,
2155
- tickStep: oe,
2141
+ var Oi = {
2142
+ clamp: wi,
2143
+ tickStep: Ie,
2156
2144
  format(e, t) {
2157
- return Ee(t)(e);
2145
+ return nt(t)(e);
2158
2146
  },
2159
2147
  join(e, t) {
2160
- return Ai(e).join(t);
2148
+ return Ei(e).join(t);
2161
2149
  },
2162
2150
  indexof(e, t, n) {
2163
- return ji(e).indexOf(t, n);
2151
+ return Di(e).indexOf(t, n);
2164
2152
  },
2165
- inrange: ht,
2153
+ inrange: _e,
2166
2154
  lastindexof(e, t, n) {
2167
- return ji(e).lastIndexOf(t, n);
2155
+ return Di(e).lastIndexOf(t, n);
2168
2156
  },
2169
2157
  reverse(e) {
2170
- return C(e) ? Array.from(e).reverse().join("") : Ai(e).slice().reverse();
2158
+ return b(e) ? Array.from(e).reverse().join("") : Ei(e).slice().reverse();
2171
2159
  },
2172
2160
  slice(e, t, n) {
2173
- return ji(e).slice(t, n);
2161
+ return Di(e).slice(t, n);
2174
2162
  },
2175
2163
  mapHasKey(e, t) {
2176
2164
  return e.has(t);
2177
2165
  },
2178
- isArray: He,
2179
- isBoolean: gt,
2166
+ isArray: u,
2167
+ isBoolean: ve,
2180
2168
  isDefined(e) {
2181
2169
  return e !== void 0;
2182
2170
  },
2183
- isNumber: _t,
2184
- isObject: Ue,
2185
- isRegExp: vt,
2186
- isString: C,
2171
+ isNumber: ye,
2172
+ isObject: d,
2173
+ isRegExp: be,
2174
+ isString: b,
2187
2175
  isValid(e) {
2188
2176
  return e != null && e === e;
2189
2177
  },
2190
- lerp: yt,
2191
- linearstep: ki,
2178
+ lerp: xe,
2179
+ linearstep: Ti,
2192
2180
  replace(e, t, n) {
2193
2181
  return String(e).replace(t, n);
2194
2182
  },
2195
2183
  sort(e) {
2196
- return Ai(e).slice().sort(dt);
2184
+ return Ei(e).slice().sort(pe);
2197
2185
  },
2198
2186
  center(e) {
2199
- let t = Ai(e);
2187
+ let t = Ei(e);
2200
2188
  return (t[0] + t[t.length - 1]) / 2;
2201
2189
  },
2202
2190
  span(e) {
2203
- return bt(e);
2191
+ return Se(e);
2204
2192
  },
2205
- smoothstep: Di
2193
+ smoothstep: Ci
2206
2194
  };
2207
- function Ni(e) {
2208
- let t = !1, n = Vi(e, {}, { resolveScaleResolution: () => (t = !0, {
2195
+ function ki(e) {
2196
+ let t = !1, n = Li(e, {}, { resolveScaleResolution: () => (t = !0, {
2209
2197
  channel: "analysis",
2210
2198
  getDomainRef: () => void 0,
2211
2199
  getMappingRef: () => void 0,
@@ -2217,9 +2205,9 @@ function Ni(e) {
2217
2205
  globals: n.globals
2218
2206
  };
2219
2207
  }
2220
- function Pi(e, t) {
2221
- let n = wi(e);
2222
- for (let e in Mi) n[e] = `this.${e}`;
2208
+ function Ai(e, t) {
2209
+ let n = bi(e);
2210
+ for (let e in Oi) n[e] = `this.${e}`;
2223
2211
  for (let r of [
2224
2212
  "scale",
2225
2213
  "invert",
@@ -2228,10 +2216,10 @@ function Pi(e, t) {
2228
2216
  "bandwidth",
2229
2217
  "linearize",
2230
2218
  "zoomLevel"
2231
- ]) n[r] = (n) => Fi(e, t, r, n);
2219
+ ]) n[r] = (n) => ji(e, t, r, n);
2232
2220
  return n;
2233
2221
  }
2234
- function Fi(e, t, n, r) {
2222
+ function ji(e, t, n, r) {
2235
2223
  if (n === "zoomLevel" && r.length === 0) {
2236
2224
  let e = [];
2237
2225
  for (let r of ["x", "y"]) {
@@ -2246,18 +2234,18 @@ function Fi(e, t, n, r) {
2246
2234
  if (r.length === 0) throw Error(`Scale helper "${n}" requires a literal channel name.`);
2247
2235
  if ((n === "scale" || n === "invert" || n === "linearize") && r.length < 2) throw Error(`Scale helper "${n}" requires a channel name and a value.`);
2248
2236
  if (n === "zoomLevel" && r.length > 1) throw Error("Scale helper \"zoomLevel\" accepts zero arguments or one literal channel name.");
2249
- let i = Ii(r[0]);
2237
+ let i = Mi(r[0]);
2250
2238
  if (!i) throw Error(`Scale helper "${n}" requires a literal channel name.`);
2251
2239
  let a = t.resolveScaleResolution?.(i);
2252
2240
  if (!a) throw Error(`Unknown scale channel "${i}" in expression helper "${n}".`);
2253
2241
  let o = t.getScaleHelper(n, i, a), s = r.slice(1).map((t) => e(t)).join(",");
2254
2242
  return `${t.globalvar}["${o.codeName}"](${s})`;
2255
2243
  }
2256
- function Ii(e) {
2244
+ function Mi(e) {
2257
2245
  return e?.type === "Literal" && typeof e.value == "string" ? e.value : void 0;
2258
2246
  }
2259
- function Li(e, t) {
2260
- let n = (n) => zi(t, e, n);
2247
+ function Ni(e, t) {
2248
+ let n = (n) => Fi(t, e, n);
2261
2249
  if (e === "domain") return () => n(() => t.getDomain());
2262
2250
  if (e === "range") return () => n(() => t.getScale().range());
2263
2251
  if (e === "bandwidth") return () => n(() => {
@@ -2271,20 +2259,20 @@ function Li(e, t) {
2271
2259
  if (e === "zoomLevel") return () => n(() => t.getZoomLevel());
2272
2260
  throw Error("Unknown scale helper: " + e);
2273
2261
  }
2274
- var Ri = /* @__PURE__ */ new WeakSet();
2275
- function zi(e, t, n) {
2276
- if (Ri.has(e)) throw Error(`Scale helper cycle detected while evaluating ${t}("${e.channel}").`);
2277
- Ri.add(e);
2262
+ var Pi = /* @__PURE__ */ new WeakSet();
2263
+ function Fi(e, t, n) {
2264
+ if (Pi.has(e)) throw Error(`Scale helper cycle detected while evaluating ${t}("${e.channel}").`);
2265
+ Pi.add(e);
2278
2266
  try {
2279
2267
  return n();
2280
2268
  } finally {
2281
- Ri.delete(e);
2269
+ Pi.delete(e);
2282
2270
  }
2283
2271
  }
2284
- function Bi(e, t) {
2272
+ function Ii(e, t) {
2285
2273
  return e === "domain" ? t.getDomainRef() : e === "linearize" ? t.getConfigurationRef() : e === "zoomLevel" ? t.getZoomLevelRef() : t.getMappingRef();
2286
2274
  }
2287
- function Vi(e, t = {}, n = {}) {
2275
+ function Li(e, t = {}, n = {}) {
2288
2276
  try {
2289
2277
  let r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), o = 1, s = {
2290
2278
  ...n,
@@ -2294,38 +2282,38 @@ function Vi(e, t = {}, n = {}) {
2294
2282
  let c = e + ":" + n, l = i.get(c);
2295
2283
  if (l) return l;
2296
2284
  let u = r.get(c);
2297
- u || (u = Bi(e, s), r.set(c, u));
2285
+ u || (u = Ii(e, s), r.set(c, u));
2298
2286
  let d = "__scale_helper_" + o++, f = {
2299
2287
  codeName: d,
2300
2288
  dependency: u
2301
2289
  };
2302
- return i.set(c, f), e === "zoomLevel" && a.add(s), t[d] = Li(e, s), f;
2290
+ return i.set(c, f), e === "zoomLevel" && a.add(s), t[d] = Ni(e, s), f;
2303
2291
  }
2304
- }, c = Ei({
2292
+ }, c = Si({
2305
2293
  forbidden: [],
2306
2294
  allowed: ["datum", "undefined"],
2307
2295
  globalvar: "globalObject",
2308
2296
  fieldvar: "datum",
2309
- functions: (e) => Pi(e, s)
2310
- })(Si(e)), l = Function("datum", "globalObject", `"use strict";
2297
+ functions: (e) => Ai(e, s)
2298
+ })(vi(e)), l = Function("datum", "globalObject", `"use strict";
2311
2299
  try {
2312
2300
  return (${c.code});
2313
2301
  } catch (e) {
2314
2302
  throw new Error("Error evaluating expression: " + ${JSON.stringify(e)} + ", " + e.message, e);
2315
- }`).bind(Mi), u = (e) => l(e, t);
2303
+ }`).bind(Oi), u = (e) => l(e, t);
2316
2304
  return u.createEvaluator = (e) => (t) => l(t, e), u.fields = c.fields, u.globals = c.globals, u.code = c.code, u.scaleDependencies = Array.from(new Set(r.values())), u.zoomLevelResolutions = Array.from(a), u;
2317
2305
  } catch (t) {
2318
2306
  throw Error(`Invalid expression: ${e}, ${t.message}`, { cause: t });
2319
2307
  }
2320
2308
  }
2321
- var Hi = Ei({
2309
+ var Ri = Si({
2322
2310
  forbidden: [],
2323
2311
  allowed: ["event"],
2324
2312
  globalvar: "globalObject"
2325
2313
  });
2326
- function Ui(e) {
2314
+ function zi(e) {
2327
2315
  try {
2328
- let t = Hi(Si(e));
2316
+ let t = Ri(vi(e));
2329
2317
  return Function("event", "globalObject", `"use strict";
2330
2318
  try {
2331
2319
  return !!(${t.code});
@@ -2338,44 +2326,45 @@ function Ui(e) {
2338
2326
  }
2339
2327
  //#endregion
2340
2328
  //#region ../core/src/utils/interactionConfig.js
2341
- function Wi(e) {
2329
+ function Bi(e) {
2342
2330
  if (typeof e == "string") {
2343
2331
  let t = e.match(/^([a-zA-Z]+)(?:\[(.+)\])?$/);
2344
2332
  if (!t) throw Error(`Invalid event type string: ${e}`);
2345
2333
  let [, n, r] = t, i = { type: n };
2346
2334
  return r && (i.filter = r), i;
2347
- } else return e;
2335
+ }
2336
+ return e;
2348
2337
  }
2349
- function Gi(e) {
2350
- return e?.filter ? Ui(e.filter) : () => !0;
2338
+ function Vi(e) {
2339
+ return e?.filter ? zi(e.filter) : () => !0;
2351
2340
  }
2352
- function Ki(e, t, n) {
2341
+ function Hi(e, t, n) {
2353
2342
  if (!t.includes(e.type)) throw Error(n);
2354
2343
  return e;
2355
2344
  }
2356
2345
  //#endregion
2357
2346
  //#region ../core/src/selection/selection.js
2358
- function qi(e) {
2347
+ function Ui(e) {
2359
2348
  return {
2360
2349
  type: "single",
2361
2350
  datum: e,
2362
- uniqueId: e?.[w]
2351
+ uniqueId: e?.[x]
2363
2352
  };
2364
2353
  }
2365
- function Ji(e) {
2354
+ function Wi(e) {
2366
2355
  return e ??= [], {
2367
2356
  type: "multi",
2368
- data: new Map(e.map((e) => [e[w], e]))
2357
+ data: new Map(e.map((e) => [e[x], e]))
2369
2358
  };
2370
2359
  }
2371
- function Yi(e, t) {
2360
+ function Gi(e, t) {
2372
2361
  if (!t || t.length === 0) return;
2373
- let n = t.map((e) => Nt(e)), r = (e) => n.map((t) => t(e));
2374
- if (ia(e)) return e.datum ? [r(e.datum)] : [];
2375
- if (aa(e)) return [...e.data.values()].map(r);
2362
+ let n = t.map((e) => yt(e)), r = (e) => n.map((t) => t(e));
2363
+ if (ea(e)) return e.datum ? [r(e.datum)] : [];
2364
+ if (ta(e)) return [...e.data.values()].map(r);
2376
2365
  throw Error(`Expected a point selection, got: ${JSON.stringify(e)}`);
2377
2366
  }
2378
- function Xi(e, t, n, r) {
2367
+ function Ki(e, t, n, r) {
2379
2368
  if (!t || t.length === 0) return;
2380
2369
  if (e === "single" && n.length > 1) throw Error("Single point selections expect at most one key tuple.");
2381
2370
  let i = [], a = [];
@@ -2384,22 +2373,22 @@ function Xi(e, t, n, r) {
2384
2373
  n ? i.push(n) : a.push(e);
2385
2374
  }
2386
2375
  return {
2387
- selection: e === "single" ? qi(i[0] ?? null) : Ji(i),
2376
+ selection: e === "single" ? Ui(i[0] ?? null) : Wi(i),
2388
2377
  unresolved: a
2389
2378
  };
2390
2379
  }
2391
- function Zi(e) {
2380
+ function qi(e) {
2392
2381
  return {
2393
2382
  type: "interval",
2394
2383
  intervals: Object.fromEntries(e.map((e) => [e, null]))
2395
2384
  };
2396
2385
  }
2397
- function Qi(e, { add: t, remove: n, toggle: r }) {
2386
+ function Ji(e, { add: t, remove: n, toggle: r }) {
2398
2387
  let i = e.data;
2399
- for (let e of t ?? []) i.set(e[w], e);
2400
- for (let e of n ?? []) i.delete(e[w]);
2388
+ for (let e of t ?? []) i.set(e[x], e);
2389
+ for (let e of n ?? []) i.delete(e[x]);
2401
2390
  for (let e of r ?? []) {
2402
- let t = e[w];
2391
+ let t = e[x];
2403
2392
  i.has(t) ? i.delete(t) : i.set(t, e);
2404
2393
  }
2405
2394
  return {
@@ -2407,68 +2396,69 @@ function Qi(e, { add: t, remove: n, toggle: r }) {
2407
2396
  data: i
2408
2397
  };
2409
2398
  }
2410
- function $i(e, t) {
2411
- let n = !!(e.empty ?? !0), r = _a(e.param), i = e.fields ?? {};
2412
- if (ia(t)) return `${r}.uniqueId == null ? ${n} : ${r}.uniqueId === datum[${JSON.stringify(w)}]`;
2413
- if (aa(t)) return `${r}.data.size == 0 ? ${n} : mapHasKey(${r}.data, datum[${JSON.stringify(w)}])`;
2414
- if (ra(t)) {
2415
- let a = Object.keys(t.intervals), o = Object.keys(i).filter(bn);
2399
+ function Yi(e, t) {
2400
+ let n = !!(e.empty ?? !0), r = pa(e.param), i = e.fields ?? {};
2401
+ if (ea(t)) return `${r}.uniqueId == null ? ${n} : ${r}.uniqueId === datum[${JSON.stringify(x)}]`;
2402
+ if (ta(t)) return `${r}.data.size == 0 ? ${n} : mapHasKey(${r}.data, datum[${JSON.stringify(x)}])`;
2403
+ if ($i(t)) {
2404
+ let a = Object.keys(t.intervals), o = Object.keys(i).filter(an);
2416
2405
  if (o.length === 0) throw Error("Filtering using interval selections requires at least one primary positional channel in the config! " + JSON.stringify(e));
2417
2406
  if (o.some((e) => !a.includes(e))) throw Error(`Selection channels (${a.join(", ")}) do not match the fields: ${JSON.stringify(e)}!`);
2418
2407
  let s = (e) => `datum[${JSON.stringify(e)}]`;
2419
2408
  return a.map((e) => {
2420
- 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]`;
2409
+ let t = pn(e), a = i[e], o = i[t] ?? i[e], c = `${r}.intervals.${e}[0] <= ${s(o)}`, l = `${s(a)} <= ${r}.intervals.${e}[1]`;
2421
2410
  return `(${r}.intervals.${e} ? (${c} && ${l}) : ${n})`;
2422
2411
  }).join(" && ");
2423
- } else throw Error(`Unrecognized selection type : ${JSON.stringify(t)}`);
2412
+ }
2413
+ throw Error(`Unrecognized selection type : ${JSON.stringify(t)}`);
2424
2414
  }
2425
- function ea(e) {
2426
- if (!(!("param" in e) && !("test" in e))) return It(e);
2415
+ function Xi(e) {
2416
+ if ("param" in e || "test" in e) return St(e);
2427
2417
  }
2428
- function ta(e) {
2429
- return e?.selection ? Lt(e.selection) : [];
2418
+ function Zi(e) {
2419
+ return e?.selection ? Ct(e.selection) : [];
2430
2420
  }
2431
- function na(e) {
2421
+ function Qi(e) {
2432
2422
  let t = Object.values(e).flatMap((e) => e.branches.flatMap(({ predicate: e }) => e.selection ? [e.selection] : [])), n = /* @__PURE__ */ new Set();
2433
2423
  return t.filter((e) => {
2434
2424
  let t = JSON.stringify(e);
2435
- return n.has(t) ? !1 : (n.add(t), !0);
2425
+ return !n.has(t) && (n.add(t), !0);
2436
2426
  });
2437
2427
  }
2438
- function ra(e) {
2428
+ function $i(e) {
2439
2429
  return e.type === "interval";
2440
2430
  }
2441
- function ia(e) {
2431
+ function ea(e) {
2442
2432
  return e.type === "single";
2443
2433
  }
2444
- function aa(e) {
2434
+ function ta(e) {
2445
2435
  return e.type === "multi";
2446
2436
  }
2447
- function oa(e) {
2437
+ function na(e) {
2448
2438
  let t = typeof e == "string" ? { type: e } : { ...e };
2449
- return t.on = t.on ? Wi(t.on) : sa(t) ? { type: "click" } : void 0, t.clear = t.clear === !1 ? void 0 : t.clear === !0 || t.clear == null ? { type: "dblclick" } : Wi(t.clear), sa(t) && t.on.type === "click" && t.toggle === void 0 && (t.toggle = !0), t;
2439
+ return t.on = t.on ? Bi(t.on) : ra(t) ? { type: "click" } : void 0, t.clear = t.clear === !1 ? void 0 : t.clear === !0 || t.clear == null ? { type: "dblclick" } : Bi(t.clear), ra(t) && t.on.type === "click" && t.toggle === void 0 && (t.toggle = !0), t;
2450
2440
  }
2451
- function sa(e) {
2441
+ function ra(e) {
2452
2442
  return e && e.type == "point";
2453
2443
  }
2454
- function ca(e) {
2444
+ function ia(e) {
2455
2445
  return e && e.type == "interval";
2456
2446
  }
2457
- function la(e) {
2458
- if (ia(e)) return e.uniqueId != null;
2459
- if (aa(e)) return e.data.size > 0;
2460
- if (ra(e)) return ua(e);
2447
+ function aa(e) {
2448
+ if (ea(e)) return e.uniqueId != null;
2449
+ if (ta(e)) return e.data.size > 0;
2450
+ if ($i(e)) return oa(e);
2461
2451
  throw Error(`Unsupported selection type: ${e.type}`);
2462
2452
  }
2463
- function ua(e) {
2453
+ function oa(e) {
2464
2454
  return Object.values(e.intervals).some((e) => e && e.length === 2);
2465
2455
  }
2466
- function da(e, t) {
2456
+ function sa(e, t) {
2467
2457
  return Object.entries(e.intervals).every(([e, n]) => (e == "x" || e == "y") && n && n[0] <= t[e] && n[1] >= t[e]);
2468
2458
  }
2469
2459
  //#endregion
2470
2460
  //#region ../core/src/ruler/rulerValue.js
2471
- function fa(e = ["x"], t = {}) {
2461
+ function ca(e = ["x"], t = {}) {
2472
2462
  let n = {};
2473
2463
  for (let r of e) n[r] = t[r] ?? null;
2474
2464
  return {
@@ -2478,37 +2468,37 @@ function fa(e = ["x"], t = {}) {
2478
2468
  }
2479
2469
  //#endregion
2480
2470
  //#region ../core/src/paramRuntime/paramUtils.js
2481
- function G(e) {
2482
- return typeof e == "object" && !!e && "expr" in e && C(e.expr);
2471
+ function W(e) {
2472
+ return typeof e == "object" && !!e && "expr" in e && b(e.expr);
2483
2473
  }
2484
- function pa(e) {
2485
- if (G(e)) throw Error("ExprRef " + JSON.stringify(e) + " not allowed here. Expected a scalar value.");
2474
+ function la(e) {
2475
+ if (W(e)) throw Error("ExprRef " + JSON.stringify(e) + " not allowed here. Expected a scalar value.");
2486
2476
  return e;
2487
2477
  }
2488
- function ma(e) {
2478
+ function ua(e) {
2489
2479
  return ("expr" in e || "bind" in e) && !("select" in e) && !("ruler" in e);
2490
2480
  }
2491
- function ha(e) {
2481
+ function da(e) {
2492
2482
  return !("expr" in e || "bind" in e) && "select" in e;
2493
2483
  }
2494
- function ga(e) {
2484
+ function fa(e) {
2495
2485
  return !("expr" in e || "bind" in e || "select" in e) && "ruler" in e;
2496
2486
  }
2497
- function _a(e) {
2487
+ function pa(e) {
2498
2488
  if (!/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)) throw Error("Invalid parameter name: " + e + ". Must be a valid JavaScript identifier.");
2499
2489
  return e;
2500
2490
  }
2501
- function va(e, t, n) {
2491
+ function ma(e, t, n) {
2502
2492
  if ("select" in e) {
2503
- let t = oa(e.select);
2504
- if (sa(t)) return t.toggle ? Ji() : qi(null);
2505
- if (ca(t)) {
2493
+ let t = na(e.select);
2494
+ if (ra(t)) return t.toggle ? Wi() : Ui(null);
2495
+ if (ia(t)) {
2506
2496
  if (!t.encodings) throw Error("Interval selection \"" + e.name + "\" must have encodings defined!");
2507
- return Zi(t.encodings);
2497
+ return qi(t.encodings);
2508
2498
  }
2509
2499
  throw Error("Unknown selection config for parameter \"" + e.name + "\".");
2510
2500
  }
2511
- if ("ruler" in e) return fa(e.ruler.encodings, e.value);
2501
+ if ("ruler" in e) return ca(e.ruler.encodings, e.value);
2512
2502
  if ("expr" in e) {
2513
2503
  let r = n ?? t?.createExpression(e.expr);
2514
2504
  if (!r) throw Error("Cannot evaluate expression for parameter \"" + e.name + "\".");
@@ -2516,9 +2506,9 @@ function va(e, t, n) {
2516
2506
  }
2517
2507
  return "value" in e ? e.value : null;
2518
2508
  }
2519
- function ya(e, t, n, r, i = []) {
2509
+ function ha(e, t, n, r, i = []) {
2520
2510
  let a = { ...t }, o = [];
2521
- for (let [r, i] of Object.entries(t)) if (G(i)) {
2511
+ for (let [r, i] of Object.entries(t)) if (W(i)) {
2522
2512
  let t = e.createExpression(i.expr), s = o.push({
2523
2513
  key: r,
2524
2514
  fn: t
@@ -2534,17 +2524,17 @@ function ya(e, t, n, r, i = []) {
2534
2524
  fn: e.createExpression(n.expr)
2535
2525
  });
2536
2526
  if (!o.length) return a;
2537
- let s = Array.from(new Set(o.flatMap(({ fn: e }) => e.dependencies))), c = e.computed("expression properties", s, () => o.map(({ fn: e }) => e(null)), { equals: ba }), l = c.get(), u = e.effect([c], () => {
2527
+ let s = Array.from(new Set(o.flatMap(({ fn: e }) => e.dependencies))), c = e.computed("expression properties", s, () => o.map(({ fn: e }) => e(null)), { equals: ga }), l = c.get(), u = e.effect([c], () => {
2538
2528
  let e = c.get(), t = new Set(o.filter((t, n) => l[n] !== e[n]).map(({ key: e }) => e));
2539
2529
  l = e, n(t);
2540
2530
  });
2541
2531
  return r?.(c.dispose), r?.(u), a;
2542
2532
  }
2543
- function ba(e, t) {
2533
+ function ga(e, t) {
2544
2534
  return e.every((e, n) => e === t[n]);
2545
2535
  }
2546
- function xa(e, t, n, r) {
2547
- if (!G(t)) return t;
2536
+ function _a(e, t, n, r) {
2537
+ if (!W(t)) return t;
2548
2538
  let i = () => {
2549
2539
  throw Error(n);
2550
2540
  }, a = e.watchExpression ? e.watchExpression(t.expr, i, {
@@ -2557,7 +2547,7 @@ function xa(e, t, n, r) {
2557
2547
  }
2558
2548
  return a();
2559
2549
  }
2560
- function Sa(e) {
2550
+ function va(e) {
2561
2551
  return Object.assign(() => e, {
2562
2552
  dependencies: [],
2563
2553
  subscribe: () => () => void 0,
@@ -2570,18 +2560,18 @@ function Sa(e) {
2570
2560
  }
2571
2561
  //#endregion
2572
2562
  //#region ../../node_modules/d3-color/src/define.js
2573
- function Ca(e, t, n) {
2563
+ function ya(e, t, n) {
2574
2564
  e.prototype = t.prototype = n, n.constructor = e;
2575
2565
  }
2576
- function wa(e, t) {
2566
+ function ba(e, t) {
2577
2567
  var n = Object.create(e.prototype);
2578
2568
  for (var r in t) n[r] = t[r];
2579
2569
  return n;
2580
2570
  }
2581
2571
  //#endregion
2582
2572
  //#region ../../node_modules/d3-color/src/color.js
2583
- function K() {}
2584
- var q = .7, Ta = 1 / q, J = "\\s*([+-]?\\d+)\\s*", Ea = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Y = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Da = /^#([0-9a-f]{3,8})$/, Oa = RegExp(`^rgb\\(${J},${J},${J}\\)$`), ka = RegExp(`^rgb\\(${Y},${Y},${Y}\\)$`), Aa = RegExp(`^rgba\\(${J},${J},${J},${Ea}\\)$`), ja = RegExp(`^rgba\\(${Y},${Y},${Y},${Ea}\\)$`), Ma = RegExp(`^hsl\\(${Ea},${Y},${Y}\\)$`), Na = RegExp(`^hsla\\(${Ea},${Y},${Y},${Ea}\\)$`), Pa = {
2573
+ function G() {}
2574
+ var K = .7, xa = 1 / K, q = "\\s*([+-]?\\d+)\\s*", Sa = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", J = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Ca = /^#([0-9a-f]{3,8})$/, wa = RegExp(`^rgb\\(${q},${q},${q}\\)$`), Ta = RegExp(`^rgb\\(${J},${J},${J}\\)$`), Ea = RegExp(`^rgba\\(${q},${q},${q},${Sa}\\)$`), Da = RegExp(`^rgba\\(${J},${J},${J},${Sa}\\)$`), Oa = RegExp(`^hsl\\(${Sa},${J},${J}\\)$`), ka = RegExp(`^hsla\\(${Sa},${J},${J},${Sa}\\)$`), Aa = {
2585
2575
  aliceblue: 15792383,
2586
2576
  antiquewhite: 16444375,
2587
2577
  aqua: 65535,
@@ -2731,143 +2721,143 @@ var q = .7, Ta = 1 / q, J = "\\s*([+-]?\\d+)\\s*", Ea = "\\s*([+-]?(?:\\d*\\.)?\
2731
2721
  yellow: 16776960,
2732
2722
  yellowgreen: 10145074
2733
2723
  };
2734
- Ca(K, za, {
2724
+ ya(G, Fa, {
2735
2725
  copy(e) {
2736
2726
  return Object.assign(new this.constructor(), this, e);
2737
2727
  },
2738
2728
  displayable() {
2739
2729
  return this.rgb().displayable();
2740
2730
  },
2741
- hex: Fa,
2742
- formatHex: Fa,
2743
- formatHex8: Ia,
2744
- formatHsl: La,
2745
- formatRgb: Ra,
2746
- toString: Ra
2731
+ hex: ja,
2732
+ formatHex: ja,
2733
+ formatHex8: Ma,
2734
+ formatHsl: Na,
2735
+ formatRgb: Pa,
2736
+ toString: Pa
2747
2737
  });
2748
- function Fa() {
2738
+ function ja() {
2749
2739
  return this.rgb().formatHex();
2750
2740
  }
2751
- function Ia() {
2741
+ function Ma() {
2752
2742
  return this.rgb().formatHex8();
2753
2743
  }
2754
- function La() {
2755
- return Ya(this).formatHsl();
2744
+ function Na() {
2745
+ return Ga(this).formatHsl();
2756
2746
  }
2757
- function Ra() {
2747
+ function Pa() {
2758
2748
  return this.rgb().formatRgb();
2759
2749
  }
2760
- function za(e) {
2750
+ function Fa(e) {
2761
2751
  var t, n;
2762
- return e = (e + "").trim().toLowerCase(), (t = Da.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? Ba(t) : n === 3 ? new X(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Va(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Va(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 = Oa.exec(e)) ? new X(t[1], t[2], t[3], 1) : (t = ka.exec(e)) ? new X(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Aa.exec(e)) ? Va(t[1], t[2], t[3], t[4]) : (t = ja.exec(e)) ? Va(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Ma.exec(e)) ? Ja(t[1], t[2] / 100, t[3] / 100, 1) : (t = Na.exec(e)) ? Ja(t[1], t[2] / 100, t[3] / 100, t[4]) : Pa.hasOwnProperty(e) ? Ba(Pa[e]) : e === "transparent" ? new X(NaN, NaN, NaN, 0) : null;
2752
+ return e = (e + "").trim().toLowerCase(), (t = Ca.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? Ia(t) : n === 3 ? new Y(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? La(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? La(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 = wa.exec(e)) ? new Y(t[1], t[2], t[3], 1) : (t = Ta.exec(e)) ? new Y(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Ea.exec(e)) ? La(t[1], t[2], t[3], t[4]) : (t = Da.exec(e)) ? La(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Oa.exec(e)) ? Wa(t[1], t[2] / 100, t[3] / 100, 1) : (t = ka.exec(e)) ? Wa(t[1], t[2] / 100, t[3] / 100, t[4]) : Aa.hasOwnProperty(e) ? Ia(Aa[e]) : e === "transparent" ? new Y(NaN, NaN, NaN, 0) : null;
2763
2753
  }
2764
- function Ba(e) {
2765
- return new X(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
2754
+ function Ia(e) {
2755
+ return new Y(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
2766
2756
  }
2767
- function Va(e, t, n, r) {
2768
- return r <= 0 && (e = t = n = NaN), new X(e, t, n, r);
2757
+ function La(e, t, n, r) {
2758
+ return r <= 0 && (e = t = n = NaN), new Y(e, t, n, r);
2769
2759
  }
2770
- function Ha(e) {
2771
- return e instanceof K || (e = za(e)), e ? (e = e.rgb(), new X(e.r, e.g, e.b, e.opacity)) : new X();
2760
+ function Ra(e) {
2761
+ return e instanceof G || (e = Fa(e)), e ? (e = e.rgb(), new Y(e.r, e.g, e.b, e.opacity)) : new Y();
2772
2762
  }
2773
- function Ua(e, t, n, r) {
2774
- return arguments.length === 1 ? Ha(e) : new X(e, t, n, r ?? 1);
2763
+ function za(e, t, n, r) {
2764
+ return arguments.length === 1 ? Ra(e) : new Y(e, t, n, r ?? 1);
2775
2765
  }
2776
- function X(e, t, n, r) {
2766
+ function Y(e, t, n, r) {
2777
2767
  this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
2778
2768
  }
2779
- Ca(X, Ua, wa(K, {
2769
+ ya(Y, za, ba(G, {
2780
2770
  brighter(e) {
2781
- return e = e == null ? Ta : Ta ** +e, new X(this.r * e, this.g * e, this.b * e, this.opacity);
2771
+ return e = e == null ? xa : xa ** +e, new Y(this.r * e, this.g * e, this.b * e, this.opacity);
2782
2772
  },
2783
2773
  darker(e) {
2784
- return e = e == null ? q : q ** +e, new X(this.r * e, this.g * e, this.b * e, this.opacity);
2774
+ return e = e == null ? K : K ** +e, new Y(this.r * e, this.g * e, this.b * e, this.opacity);
2785
2775
  },
2786
2776
  rgb() {
2787
2777
  return this;
2788
2778
  },
2789
2779
  clamp() {
2790
- return new X(Z(this.r), Z(this.g), Z(this.b), qa(this.opacity));
2780
+ return new Y(X(this.r), X(this.g), X(this.b), Ua(this.opacity));
2791
2781
  },
2792
2782
  displayable() {
2793
2783
  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;
2794
2784
  },
2795
- hex: Wa,
2796
- formatHex: Wa,
2797
- formatHex8: Ga,
2798
- formatRgb: Ka,
2799
- toString: Ka
2785
+ hex: Ba,
2786
+ formatHex: Ba,
2787
+ formatHex8: Va,
2788
+ formatRgb: Ha,
2789
+ toString: Ha
2800
2790
  }));
2801
- function Wa() {
2802
- return `#${Q(this.r)}${Q(this.g)}${Q(this.b)}`;
2791
+ function Ba() {
2792
+ return `#${Z(this.r)}${Z(this.g)}${Z(this.b)}`;
2803
2793
  }
2804
- function Ga() {
2805
- return `#${Q(this.r)}${Q(this.g)}${Q(this.b)}${Q((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
2794
+ function Va() {
2795
+ return `#${Z(this.r)}${Z(this.g)}${Z(this.b)}${Z((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
2806
2796
  }
2807
- function Ka() {
2808
- let e = qa(this.opacity);
2809
- return `${e === 1 ? "rgb(" : "rgba("}${Z(this.r)}, ${Z(this.g)}, ${Z(this.b)}${e === 1 ? ")" : `, ${e})`}`;
2797
+ function Ha() {
2798
+ let e = Ua(this.opacity);
2799
+ return `${e === 1 ? "rgb(" : "rgba("}${X(this.r)}, ${X(this.g)}, ${X(this.b)}${e === 1 ? ")" : `, ${e})`}`;
2810
2800
  }
2811
- function qa(e) {
2801
+ function Ua(e) {
2812
2802
  return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
2813
2803
  }
2814
- function Z(e) {
2804
+ function X(e) {
2815
2805
  return Math.max(0, Math.min(255, Math.round(e) || 0));
2816
2806
  }
2817
- function Q(e) {
2818
- return e = Z(e), (e < 16 ? "0" : "") + e.toString(16);
2807
+ function Z(e) {
2808
+ return e = X(e), (e < 16 ? "0" : "") + e.toString(16);
2819
2809
  }
2820
- function Ja(e, t, n, r) {
2821
- return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new $(e, t, n, r);
2810
+ function Wa(e, t, n, r) {
2811
+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new Q(e, t, n, r);
2822
2812
  }
2823
- function Ya(e) {
2824
- if (e instanceof $) return new $(e.h, e.s, e.l, e.opacity);
2825
- if (e instanceof K || (e = za(e)), !e) return new $();
2826
- if (e instanceof $) return e;
2813
+ function Ga(e) {
2814
+ if (e instanceof Q) return new Q(e.h, e.s, e.l, e.opacity);
2815
+ if (e instanceof G || (e = Fa(e)), !e) return new Q();
2816
+ if (e instanceof Q) return e;
2827
2817
  e = e.rgb();
2828
2818
  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;
2829
- 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);
2819
+ 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 Q(o, s, c, e.opacity);
2830
2820
  }
2831
- function Xa(e, t, n, r) {
2832
- return arguments.length === 1 ? Ya(e) : new $(e, t, n, r ?? 1);
2821
+ function Ka(e, t, n, r) {
2822
+ return arguments.length === 1 ? Ga(e) : new Q(e, t, n, r ?? 1);
2833
2823
  }
2834
- function $(e, t, n, r) {
2824
+ function Q(e, t, n, r) {
2835
2825
  this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
2836
2826
  }
2837
- Ca($, Xa, wa(K, {
2827
+ ya(Q, Ka, ba(G, {
2838
2828
  brighter(e) {
2839
- return e = e == null ? Ta : Ta ** +e, new $(this.h, this.s, this.l * e, this.opacity);
2829
+ return e = e == null ? xa : xa ** +e, new Q(this.h, this.s, this.l * e, this.opacity);
2840
2830
  },
2841
2831
  darker(e) {
2842
- return e = e == null ? q : q ** +e, new $(this.h, this.s, this.l * e, this.opacity);
2832
+ return e = e == null ? K : K ** +e, new Q(this.h, this.s, this.l * e, this.opacity);
2843
2833
  },
2844
2834
  rgb() {
2845
2835
  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;
2846
- return new X($a(e >= 240 ? e - 240 : e + 120, i, r), $a(e, i, r), $a(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
2836
+ return new Y(Ya(e >= 240 ? e - 240 : e + 120, i, r), Ya(e, i, r), Ya(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
2847
2837
  },
2848
2838
  clamp() {
2849
- return new $(Za(this.h), Qa(this.s), Qa(this.l), qa(this.opacity));
2839
+ return new Q(qa(this.h), Ja(this.s), Ja(this.l), Ua(this.opacity));
2850
2840
  },
2851
2841
  displayable() {
2852
2842
  return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
2853
2843
  },
2854
2844
  formatHsl() {
2855
- let e = qa(this.opacity);
2856
- return `${e === 1 ? "hsl(" : "hsla("}${Za(this.h)}, ${Qa(this.s) * 100}%, ${Qa(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
2845
+ let e = Ua(this.opacity);
2846
+ return `${e === 1 ? "hsl(" : "hsla("}${qa(this.h)}, ${Ja(this.s) * 100}%, ${Ja(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
2857
2847
  }
2858
2848
  }));
2859
- function Za(e) {
2849
+ function qa(e) {
2860
2850
  return e = (e || 0) % 360, e < 0 ? e + 360 : e;
2861
2851
  }
2862
- function Qa(e) {
2852
+ function Ja(e) {
2863
2853
  return Math.max(0, Math.min(1, e || 0));
2864
2854
  }
2865
- function $a(e, t, n) {
2855
+ function Ya(e, t, n) {
2866
2856
  return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
2867
2857
  }
2868
2858
  //#endregion
2869
2859
  //#region ../core/src/view/renderingContext/clipOptions.js
2870
- function eo(e) {
2860
+ function Xa(e) {
2871
2861
  if (e.clip) return e.clip;
2872
2862
  if (e.clipRect) return {
2873
2863
  rect: e.clipRect,
@@ -2875,36 +2865,36 @@ function eo(e) {
2875
2865
  clipY: !0
2876
2866
  };
2877
2867
  }
2878
- function to(e, t) {
2868
+ function Za(e, t) {
2879
2869
  return e === t ? !0 : !e || !t ? !1 : e.clipX === t.clipX && e.clipY === t.clipY && e.rect.equals(t.rect);
2880
2870
  }
2881
- function no(e, t, n) {
2871
+ function $(e, t, n) {
2882
2872
  return t || n ? {
2883
2873
  rect: e,
2884
2874
  clipX: t,
2885
2875
  clipY: n
2886
2876
  } : void 0;
2887
2877
  }
2888
- function ro(e, t) {
2878
+ function Qa(e, t) {
2889
2879
  return t ? t.clipX && t.clipY ? e.intersect(t.rect) : t.clipX ? e.intersectX(t.rect) : t.clipY ? e.intersectY(t.rect) : e : e;
2890
2880
  }
2891
- function io(e, t) {
2881
+ function $a(e, t) {
2892
2882
  if (!e) return t;
2893
2883
  if (!t) return e;
2894
2884
  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;
2895
- return no(e.rect.modify({
2885
+ return $(e.rect.modify({
2896
2886
  x: () => i.x,
2897
2887
  y: () => a.y,
2898
2888
  width: () => i.width,
2899
2889
  height: () => a.height
2900
2890
  }), n, r);
2901
2891
  }
2902
- function ao(e, t) {
2903
- if (e === !0) return no(t, !0, !0);
2904
- if (e === "x") return no(t, !0, !1);
2905
- if (e === "y") return no(t, !1, !0);
2892
+ function eo(e, t) {
2893
+ if (e === !0) return $(t, !0, !0);
2894
+ if (e === "x") return $(t, !0, !1);
2895
+ if (e === "y") return $(t, !1, !0);
2906
2896
  }
2907
- function oo(e) {
2897
+ function to(e) {
2908
2898
  let t = e.mark;
2909
2899
  if (t) {
2910
2900
  let e = t.properties.clip;
@@ -2926,8 +2916,8 @@ function oo(e) {
2926
2916
  clipY: n && i
2927
2917
  };
2928
2918
  }
2929
- function so(e, t, n) {
2930
- if (t !== "never") return io(e, ao(t, n));
2919
+ function no(e, t, n) {
2920
+ if (t !== "never") return $a(e, eo(t, n));
2931
2921
  }
2932
2922
  //#endregion
2933
- export { ki as $, Ue as $t, na as A, f as An, Wt as At, sa as B, wt as Bt, ma as C, oe as Cn, bn as Ct, pa as D, h as Dn, wn as Dt, _a as E, g as En, gn as Et, ta as F, o as Fn, zt as Ft, Xi as G, Ne as Gt, ia as H, Ot as Ht, ua as I, i as In, Nt as It, Wi as J, Re as Jt, da as K, st as Kt, ra as L, Mt as Lt, Ji as M, u as Mn, Ft as Mt, qi as N, l as Nn, Lt as Nt, fa as O, m as On, Ut as Ot, Yi as P, s as Pn, It as Pt, Vi as Q, _t as Qt, ca as R, w as Rt, ha as S, ae as Sn, xn as St, xa as T, _ as Tn, on as Tt, $i as U, Dt as Ut, la as V, Et as Vt, ea as W, xt as Wt, Ki as X, gt as Xt, Gi as Y, He as Yt, Ni as Z, ct as Zt, wa as _, Ee as _n, jn as _t, oo as a, We as an, dn as at, G as b, ue as bn, un as bt, K as c, St as cn, nn as ct, za as d, it as dn, On as dt, C as en, Oi as et, q as f, at as fn, cn as ft, Ca as g, ke as gn, sn as gt, Ha as h, je as hn, An as ht, no as i, et as in, ln as it, Zi as j, d as jn, Rt as jt, oa as k, p as kn, Jt as kt, X as l, nt as ln, Cn as lt, Ua as m, Me as mn, fn as mt, to as n, Qe as nn, $t as nt, eo as o, bt as on, Pn as ot, Xa as p, Ae as pn, Mn as pt, Qi as q, ut as qt, io as r, $e as rn, Zt as rt, so as s, ze as sn, tn as st, ro as t, yt as tn, Di as tt, Ta as u, rt as un, kn as ut, ya as v, De as vn, pn as vt, Sa as w, x as wn, Dn as wt, ga as x, se as xn, Sn as xt, va as y, me as yn, T as yt, aa as z, kt as zt };
2923
+ export { Ti as $, Fe as $t, Qi as A, At, ra as B, ut as Bt, ua as C, oe as Cn, an as Ct, la as D, ln as Dt, pa as E, en as Et, Zi as F, Tt as Ft, Ki as G, ct as Gt, ea as H, mt as Ht, oa as I, yt as It, Bi as J, nt as Jt, sa as K, st as Kt, $i as L, vt as Lt, Wi as M, xt as Mt, Ui as N, Ct as Nt, ca as O, kt as Ot, Gi as P, St as Pt, Li as Q, Le as Qt, ia as R, x as Rt, da as S, v as Sn, on as St, _a as T, se as Tn, Gt as Tt, Yi as U, pt as Ut, aa as V, ft as Vt, Xi as W, ot as Wt, Hi as X, We as Xt, Vi as Y, rt as Yt, ki as Z, Be as Zt, ba as _, ie as _n, gn as _t, to as a, le as an, Yt as at, W as b, s as bn, Jt as bt, G as c, u as cn, Ht as ct, Fa as d, ye as dn, pn as dt, Ie as en, wi as et, K as f, d as fn, Kt as ft, ya as g, re as gn, C as gt, Ra as h, ne as hn, hn as ht, $ as i, t as in, qt as it, qi as j, wt as jt, na as k, Pt as kt, Y as l, ve as ln, cn as lt, za as m, xe as mn, Xt as mt, Za as n, Te as nn, zt as nt, Xa as o, fe as on, yn as ot, Ka as p, b as pn, _n as pt, Ji as q, at as qt, $a as r, Ce as rn, Lt as rt, no as s, o as sn, Vt as st, Qa as t, Pe as tn, Ci as tt, xa as u, ue as un, mn as ut, ha as v, f as vn, Zt as vt, va as w, y as wn, fn as wt, fa as x, we as xn, sn as xt, ma as y, Se as yn, S as yt, ta as z, ht as zt };