@genome-spy/app 0.87.0 → 0.88.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/{agentApi-BZ1JCo1N.js → agentApi-BIpg3JKh.js} +5365 -5080
  2. package/dist/agentApi.es.js +3160 -2909
  3. package/dist/agentShared.es.js +3 -3
  4. package/dist/{canvas2d-Cafq5v-N.js → canvas2d-BVQ7-2eJ.js} +68 -68
  5. package/dist/{canvas2d-B_PnIof-.js → canvas2d-D7SZK3xv.js} +39 -39
  6. package/dist/{clipOptions-H68pJyEZ.js → clipOptions-BWHr3aTa.js} +822 -768
  7. package/dist/{clipOptions-D6eh9T-_.js → clipOptions-DTMcB_9z.js} +547 -493
  8. package/dist/{debug-BGzgZmyk.js → debug-CVpoEOWx.js} +2 -2
  9. package/dist/{debug-UYKZLNh4.js → debug-DYAMZZKl.js} +2 -2
  10. package/dist/index.es.js +3390 -3410
  11. package/dist/index.js +395 -374
  12. package/dist/{indexer-Di57GyxX.js → indexer-CXjZDo2Q.js} +1 -1
  13. package/dist/{indexer-o6Hpg4nN.js → indexer-DAH_ruVn.js} +1 -1
  14. package/dist/{nativeText-DAjvkrzc.js → order-C5CzA37O.js} +271 -287
  15. package/dist/{nativeText-D9SoxpaD.js → order-DvY7KNcu.js} +271 -287
  16. package/dist/{rasterExport-DzldLv6E.js → rasterExport-BgZ98e6U.js} +1 -1
  17. package/dist/{rasterExport-IAbJwi8F.js → rasterExport-DEr8fOLm.js} +1 -1
  18. package/dist/{renderCanvas2D-yJ1IrDcX.js → renderCanvas2D-DtcJjqpB.js} +57 -50
  19. package/dist/{renderCanvas2D-BJ93Ptqj.js → renderCanvas2D-DxturTEW.js} +62 -55
  20. package/dist/schema.json +756 -96
  21. package/dist/{svg-DJuqHIyc.js → svg-CyrLfa9e.js} +364 -357
  22. package/dist/{svg-BRpl2Xub.js → svg-SDJMzL--.js} +338 -331
  23. package/dist/{svgRasterizer-PAoqLn1j.js → svgRasterizer-f7DJ3UO0.js} +1 -1
  24. package/dist/{svgRasterizer-CGZQ5njV.js → svgRasterizer-mWK7HTkx.js} +1 -1
  25. package/dist/{vega-scale-BGC53c22.js → vega-scale-CypF85iS.js} +801 -801
  26. package/dist/{vega-scale-DdW2NzQ3.js → vega-scale-DLKCwWRs.js} +65 -65
  27. package/dist/{viewIdentityRegistry-Dc2hXYsO.js → viewIdentityRegistry-DIDo44XQ.js} +1 -1
  28. package/dist/{viewIdentityRegistry-D4p067HU.js → viewIdentityRegistry-Dl-vMN9I.js} +1 -1
  29. package/dist/{viewSelectors-DNXnGwEW.js → viewSelectors-CymbZyE6.js} +375 -340
  30. package/dist/{viewSelectors-DYYlOt91.js → viewSelectors-DNiDip5e.js} +370 -335
  31. package/dist/{viewUtils-EdhZTPrJ.js → viewUtils-BrJLIj2o.js} +1750 -1716
  32. package/dist/{webgl-C53DwzVT.js → webgl-CTJt7jQd.js} +1019 -983
  33. package/dist/{webgl-CdgNFlJk.js → webgl-tZfZ8y3q.js} +1200 -1164
  34. package/package.json +5 -5
  35. package/src/embedTypes.d.ts +1 -1
@@ -913,11 +913,11 @@ function Nt(e) {
913
913
  }
914
914
  function Pt(e, t, n) {
915
915
  if ("select" in e) {
916
- let t = Ei(e.select);
917
- if (Di(t)) return t.toggle ? yi() : vi(null);
918
- if (Oi(t)) {
916
+ let t = Ni(e.select);
917
+ if (Pi(t)) return t.toggle ? xi() : bi(null);
918
+ if (Fi(t)) {
919
919
  if (!t.encodings) throw Error("Interval selection \"" + e.name + "\" must have encodings defined!");
920
- return bi(t.encodings);
920
+ return Si(t.encodings);
921
921
  }
922
922
  throw Error("Unknown selection config for parameter \"" + e.name + "\".");
923
923
  }
@@ -929,54 +929,34 @@ function Pt(e, t, n) {
929
929
  }
930
930
  return "value" in e ? e.value : null;
931
931
  }
932
- function Ft(e, t, n, r, i = {}) {
933
- let a = { ...t }, o = /* @__PURE__ */ new Set(), s = !1, c = !1, l = i.batchMode ?? "microtask";
934
- r?.(() => {
935
- c = !0, o.clear(), s = !1;
936
- });
937
- let u = () => {
938
- if (c) return;
939
- if (!n || o.size === 0) {
940
- s = !1;
941
- return;
942
- }
943
- let e = new Set(o);
944
- o.clear(), s = !1, n(e);
945
- }, d = (t) => {
946
- c || (o.add(t), s || (s = !0, queueMicrotask(() => {
947
- c || (l == "whenPropagated" && e.whenPropagated ? e.whenPropagated().then(u).catch(() => {
948
- u();
949
- }) : u());
950
- })));
951
- };
952
- for (let [i, o] of Object.entries(t)) if (A(o)) if (n) {
953
- let t = () => d(i), n = e.watchExpression ? e.watchExpression(o.expr, t, {
954
- scopeOwned: !r,
955
- registerDisposer: r
956
- }) : e.createExpression(o.expr);
957
- if (!e.watchExpression) {
958
- let e = n.subscribe(t);
959
- r?.(e);
960
- }
961
- Object.defineProperty(a, i, {
962
- enumerable: !0,
963
- get() {
964
- return n();
965
- }
966
- });
967
- } else {
968
- let t = e.createExpression(o.expr);
969
- Object.defineProperty(a, i, {
932
+ function Ft(e, t, n, r, i = []) {
933
+ let a = { ...t }, o = [];
934
+ for (let [r, i] of Object.entries(t)) if (A(i)) {
935
+ let t = e.createExpression(i.expr), s = o.push({
936
+ key: r,
937
+ fn: t
938
+ }) - 1;
939
+ Object.defineProperty(a, r, {
970
940
  enumerable: !0,
971
- get() {
972
- return t();
973
- }
941
+ get: n ? () => c.get()[s] : () => t(null)
974
942
  });
975
- }
976
- else a[i] = o;
977
- return a;
943
+ } else a[r] = i;
944
+ if (!n) return a;
945
+ for (let { key: t, expr: n } of i) o.push({
946
+ key: t,
947
+ fn: e.createExpression(n.expr)
948
+ });
949
+ if (!o.length) return a;
950
+ 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: It }), l = c.get(), u = e.effect([c], () => {
951
+ let e = c.get(), t = new Set(o.filter((t, n) => l[n] !== e[n]).map(({ key: e }) => e));
952
+ l = e, n(t);
953
+ });
954
+ return r?.(c.dispose), r?.(u), a;
955
+ }
956
+ function It(e, t) {
957
+ return e.every((e, n) => e === t[n]);
978
958
  }
979
- function It(e, t, n, r) {
959
+ function Lt(e, t, n, r) {
980
960
  if (!A(t)) return t;
981
961
  let i = () => {
982
962
  throw Error(n);
@@ -990,8 +970,9 @@ function It(e, t, n, r) {
990
970
  }
991
971
  return a();
992
972
  }
993
- function Lt(e) {
973
+ function Rt(e) {
994
974
  return Object.assign(() => e, {
975
+ dependencies: [],
995
976
  subscribe: () => () => void 0,
996
977
  invalidate: () => void 0,
997
978
  identifier: () => "constant",
@@ -1002,7 +983,7 @@ function Lt(e) {
1002
983
  }
1003
984
  //#endregion
1004
985
  //#region ../core/src/data/transforms/transform.js
1005
- var Rt = class extends Ct {
986
+ var zt = class extends Ct {
1006
987
  #e;
1007
988
  constructor(e, t) {
1008
989
  super(t), this.#e = e.type;
@@ -1020,7 +1001,7 @@ var Rt = class extends Ct {
1020
1001
  }
1021
1002
  return (() => e);
1022
1003
  }
1023
- }, j = "__uniqueId", zt = 1e4, Bt = [null], Vt = class extends Rt {
1004
+ }, j = "__uniqueId", Bt = 1e4, Vt = [null], Ht = class extends zt {
1024
1005
  get behavior() {
1025
1006
  return 2;
1026
1007
  }
@@ -1035,19 +1016,19 @@ var Rt = class extends Ct {
1035
1016
  e[j] = this.#e(), this._propagate(e);
1036
1017
  }
1037
1018
  #e() {
1038
- return ++this._id % 1e4 == 0 && (this._id = this.#t() * zt), this._id;
1019
+ return ++this._id % 1e4 == 0 && (this._id = this.#t() * Bt), this._id;
1039
1020
  }
1040
1021
  #t() {
1041
1022
  return this._usedBlocks < this._blocks.length ? this._blocks[this._usedBlocks++] : this.#n();
1042
1023
  }
1043
1024
  #n() {
1044
- let e = Bt.length;
1045
- return Bt[e] = this, this._blocks.push(e), this._usedBlocks++, e;
1025
+ let e = Vt.length;
1026
+ return Vt[e] = this, this._blocks.push(e), this._usedBlocks++, e;
1046
1027
  }
1047
1028
  };
1048
1029
  //#endregion
1049
1030
  //#region ../core/src/utils/field.js
1050
- function Ht(t, n = t) {
1031
+ function Ut(t, n = t) {
1051
1032
  return /^[A-Za-z0-9_]+$/.test(t) ? e(Function("validator", `
1052
1033
  let validated = !validator;
1053
1034
  return function accessField(datum) {
@@ -1057,10 +1038,10 @@ function Ht(t, n = t) {
1057
1038
  }
1058
1039
  return datum[${JSON.stringify(t)}];
1059
1040
  }`)(function(e) {
1060
- t in e || Ut(e, t);
1041
+ t in e || Wt(e, t);
1061
1042
  }), [t], n) : c(t);
1062
1043
  }
1063
- function Ut(e, t) {
1044
+ function Wt(e, t) {
1064
1045
  throw Error(`Invalid field "${t}". Available fields or properties: ${Object.keys(e).join(", ")}`);
1065
1046
  }
1066
1047
  //#endregion
@@ -1073,12 +1054,12 @@ function M(e, t, n) {
1073
1054
  }
1074
1055
  //#endregion
1075
1056
  //#region ../../node_modules/vega-util/build/getter.js
1076
- function Wt(e) {
1077
- return e.length === 1 ? Gt(e[0]) : Kt(e);
1057
+ function Gt(e) {
1058
+ return e.length === 1 ? Kt(e[0]) : qt(e);
1078
1059
  }
1079
- var Gt = (e) => function(t) {
1060
+ var Kt = (e) => function(t) {
1080
1061
  return t[e];
1081
- }, Kt = (e) => {
1062
+ }, qt = (e) => {
1082
1063
  let t = e.length;
1083
1064
  return function(n) {
1084
1065
  for (let r = 0; r < t; ++r) n = n[e[r]];
@@ -1092,7 +1073,7 @@ function N(e) {
1092
1073
  }
1093
1074
  //#endregion
1094
1075
  //#region ../../node_modules/vega-util/build/splitAccessPath.js
1095
- function qt(e) {
1076
+ function Jt(e) {
1096
1077
  let t = [], n = e.length, r = null, i = 0, a = "", o, s, c;
1097
1078
  e += "";
1098
1079
  function l() {
@@ -1106,102 +1087,102 @@ function qt(e) {
1106
1087
  }
1107
1088
  //#endregion
1108
1089
  //#region ../../node_modules/vega-util/build/field.js
1109
- function Jt(e, t, n) {
1110
- let r = qt(e), i = r.length === 1 ? r[0] : e;
1111
- return M((n && n.get || Wt)(r), [i], t || i);
1090
+ function Yt(e, t, n) {
1091
+ let r = Jt(e), i = r.length === 1 ? r[0] : e;
1092
+ return M((n && n.get || Gt)(r), [i], t || i);
1112
1093
  }
1113
- Jt("id");
1114
- var Yt = M((e) => e, [], "identity");
1094
+ Yt("id");
1095
+ var Xt = M((e) => e, [], "identity");
1115
1096
  M(() => 0, [], "zero"), M(() => 1, [], "one"), M(() => !0, [], "true"), M(() => !1, [], "false");
1116
1097
  //#endregion
1117
1098
  //#region ../../node_modules/vega-util/build/interpreter.js
1118
- var Xt = /* @__PURE__ */ new Set([...Object.getOwnPropertyNames(Object.prototype).filter((e) => typeof Object.prototype[e] == "function"), "__proto__"]), Zt = Array.isArray;
1099
+ var Zt = /* @__PURE__ */ new Set([...Object.getOwnPropertyNames(Object.prototype).filter((e) => typeof Object.prototype[e] == "function"), "__proto__"]), Qt = Array.isArray;
1119
1100
  //#endregion
1120
1101
  //#region ../../node_modules/vega-util/build/isObject.js
1121
- function Qt(e) {
1102
+ function $t(e) {
1122
1103
  return e === Object(e);
1123
1104
  }
1124
1105
  //#endregion
1125
1106
  //#region ../../node_modules/vega-util/build/array.js
1126
- function $t(e) {
1127
- return e == null ? [] : Zt(e) ? e : [e];
1107
+ function en(e) {
1108
+ return e == null ? [] : Qt(e) ? e : [e];
1128
1109
  }
1129
1110
  //#endregion
1130
1111
  //#region ../../node_modules/vega-util/build/isFunction.js
1131
- function en(e) {
1112
+ function tn(e) {
1132
1113
  return typeof e == "function";
1133
1114
  }
1134
1115
  //#endregion
1135
1116
  //#region ../../node_modules/vega-util/build/hasOwnProperty.js
1136
- function tn(e, t) {
1117
+ function nn(e, t) {
1137
1118
  return Object.hasOwn(e, t);
1138
1119
  }
1139
1120
  //#endregion
1140
1121
  //#region ../../node_modules/vega-util/build/isString.js
1141
- function nn(e) {
1122
+ function rn(e) {
1142
1123
  return typeof e == "string";
1143
1124
  }
1144
1125
  //#endregion
1145
1126
  //#region ../../node_modules/vega-util/build/stringValue.js
1146
- function rn(e) {
1147
- return Zt(e) ? `[${e.map((e) => e === null ? "null" : rn(e))}]` : Qt(e) || nn(e) ? JSON.stringify(e).replaceAll("\u2028", "\\u2028").replaceAll("\u2029", "\\u2029") : e;
1127
+ function an(e) {
1128
+ return Qt(e) ? `[${e.map((e) => e === null ? "null" : an(e))}]` : $t(e) || rn(e) ? JSON.stringify(e).replaceAll("\u2028", "\\u2028").replaceAll("\u2029", "\\u2029") : e;
1148
1129
  }
1149
1130
  //#endregion
1150
1131
  //#region ../../node_modules/vega-util/build/toSet.js
1151
- function an(e) {
1132
+ function on(e) {
1152
1133
  let t = {}, n = e.length;
1153
1134
  for (let r = 0; r < n; ++r) t[e[r] + ""] = !0;
1154
1135
  return t;
1155
1136
  }
1156
1137
  //#endregion
1157
1138
  //#region ../../node_modules/vega-expression/build/vega-expression.js
1158
- var on = "RawCode", sn = "Literal", cn = "Property", ln = "Identifier", un = "ArrayExpression", dn = "BinaryExpression", fn = "CallExpression", pn = "ConditionalExpression", mn = "LogicalExpression", hn = "MemberExpression", gn = "ObjectExpression", _n = "UnaryExpression";
1139
+ var sn = "RawCode", cn = "Literal", ln = "Property", un = "Identifier", dn = "ArrayExpression", fn = "BinaryExpression", pn = "CallExpression", mn = "ConditionalExpression", hn = "LogicalExpression", gn = "MemberExpression", _n = "ObjectExpression", vn = "UnaryExpression";
1159
1140
  function P(e) {
1160
1141
  this.type = e;
1161
1142
  }
1162
1143
  P.prototype.visit = function(e) {
1163
1144
  let t, n, r;
1164
1145
  if (e(this)) return 1;
1165
- for (t = vn(this), n = 0, r = t.length; n < r; ++n) if (t[n].visit(e)) return 1;
1146
+ for (t = yn(this), n = 0, r = t.length; n < r; ++n) if (t[n].visit(e)) return 1;
1166
1147
  };
1167
- function vn(e) {
1148
+ function yn(e) {
1168
1149
  switch (e.type) {
1169
- case un: return e.elements;
1170
- case dn:
1171
- case mn: return [e.left, e.right];
1172
- case fn: return [e.callee].concat(e.arguments);
1173
- case pn: return [
1150
+ case dn: return e.elements;
1151
+ case fn:
1152
+ case hn: return [e.left, e.right];
1153
+ case pn: return [e.callee].concat(e.arguments);
1154
+ case mn: return [
1174
1155
  e.test,
1175
1156
  e.consequent,
1176
1157
  e.alternate
1177
1158
  ];
1178
- case hn: return [e.object, e.property];
1179
- case gn: return e.properties;
1180
- case cn: return [e.key, e.value];
1181
- case _n: return [e.argument];
1182
- case ln:
1159
+ case gn: return [e.object, e.property];
1160
+ case _n: return e.properties;
1161
+ case ln: return [e.key, e.value];
1162
+ case vn: return [e.argument];
1163
+ case un:
1164
+ case cn:
1183
1165
  case sn:
1184
- case on:
1185
1166
  default: return [];
1186
1167
  }
1187
1168
  }
1188
- var F, I, L, R, z, yn = 1, bn = 2, B = 3, V = 4, xn = 5, H = 6, U = 7, Sn = 8, Cn = 9;
1189
- F = {}, F[yn] = "Boolean", F[bn] = "<end>", F[B] = "Identifier", F[V] = "Keyword", F[xn] = "Null", F[H] = "Numeric", F[U] = "Punctuator", F[Sn] = "String", F[Cn] = "RegularExpression";
1190
- var wn = "ArrayExpression", Tn = "BinaryExpression", En = "CallExpression", Dn = "ConditionalExpression", On = "Identifier", kn = "Literal", An = "LogicalExpression", jn = "MemberExpression", Mn = "ObjectExpression", Nn = "Property", Pn = "UnaryExpression", W = "Unexpected token %0", Fn = "Unexpected number", In = "Unexpected string", Ln = "Unexpected identifier", Rn = "Unexpected reserved word", zn = "Unexpected end of input", Bn = "Invalid regular expression", Vn = "Invalid regular expression: missing /", Hn = "Octal literals are not allowed in strict mode.", Un = "Duplicate data property in object literal not allowed in strict mode", G = "ILLEGAL", K = "Disabled.", Wn = /* @__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]"), Gn = /* @__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]");
1191
- function Kn(e, t) {
1169
+ var F, I, L, R, z, bn = 1, xn = 2, B = 3, V = 4, Sn = 5, H = 6, U = 7, Cn = 8, wn = 9;
1170
+ F = {}, F[bn] = "Boolean", F[xn] = "<end>", F[B] = "Identifier", F[V] = "Keyword", F[Sn] = "Null", F[H] = "Numeric", F[U] = "Punctuator", F[Cn] = "String", F[wn] = "RegularExpression";
1171
+ var Tn = "ArrayExpression", En = "BinaryExpression", Dn = "CallExpression", On = "ConditionalExpression", kn = "Identifier", An = "Literal", jn = "LogicalExpression", Mn = "MemberExpression", Nn = "ObjectExpression", Pn = "Property", Fn = "UnaryExpression", W = "Unexpected token %0", In = "Unexpected number", Ln = "Unexpected string", Rn = "Unexpected identifier", zn = "Unexpected reserved word", Bn = "Unexpected end of input", Vn = "Invalid regular expression", Hn = "Invalid regular expression: missing /", Un = "Octal literals are not allowed in strict mode.", Wn = "Duplicate data property in object literal not allowed in strict mode", G = "ILLEGAL", Gn = "Disabled.", Kn = /* @__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]"), qn = /* @__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]");
1172
+ function Jn(e, t) {
1192
1173
  /* istanbul ignore next */
1193
1174
  if (!e) throw Error("ASSERT: " + t);
1194
1175
  }
1195
- function q(e) {
1176
+ function K(e) {
1196
1177
  return e >= 48 && e <= 57;
1197
1178
  }
1198
- function qn(e) {
1179
+ function Yn(e) {
1199
1180
  return "0123456789abcdefABCDEF".includes(e);
1200
1181
  }
1201
- function Jn(e) {
1182
+ function Xn(e) {
1202
1183
  return "01234567".includes(e);
1203
1184
  }
1204
- function Yn(e) {
1185
+ function Zn(e) {
1205
1186
  return e === 32 || e === 9 || e === 11 || e === 12 || e === 160 || e >= 5760 && [
1206
1187
  5760,
1207
1188
  6158,
@@ -1222,16 +1203,16 @@ function Yn(e) {
1222
1203
  65279
1223
1204
  ].includes(e);
1224
1205
  }
1225
- function Xn(e) {
1206
+ function Qn(e) {
1226
1207
  return e === 10 || e === 13 || e === 8232 || e === 8233;
1227
1208
  }
1228
- function Zn(e) {
1229
- return e === 36 || e === 95 || e >= 65 && e <= 90 || e >= 97 && e <= 122 || e === 92 || e >= 128 && Wn.test(String.fromCharCode(e));
1209
+ function $n(e) {
1210
+ return e === 36 || e === 95 || e >= 65 && e <= 90 || e >= 97 && e <= 122 || e === 92 || e >= 128 && Kn.test(String.fromCharCode(e));
1230
1211
  }
1231
- function Qn(e) {
1232
- return e === 36 || e === 95 || e >= 65 && e <= 90 || e >= 97 && e <= 122 || e >= 48 && e <= 57 || e === 92 || e >= 128 && Gn.test(String.fromCharCode(e));
1212
+ function er(e) {
1213
+ return e === 36 || e === 95 || e >= 65 && e <= 90 || e >= 97 && e <= 122 || e >= 48 && e <= 57 || e === 92 || e >= 128 && qn.test(String.fromCharCode(e));
1233
1214
  }
1234
- var $n = {
1215
+ var tr = {
1235
1216
  if: 1,
1236
1217
  in: 1,
1237
1218
  do: 1,
@@ -1275,46 +1256,46 @@ var $n = {
1275
1256
  instanceof: 1,
1276
1257
  implements: 1
1277
1258
  };
1278
- function er() {
1259
+ function nr() {
1279
1260
  for (; L < R;) {
1280
1261
  let e = I.charCodeAt(L);
1281
- if (Yn(e) || Xn(e)) ++L;
1262
+ if (Zn(e) || Qn(e)) ++L;
1282
1263
  else break;
1283
1264
  }
1284
1265
  }
1285
- function tr(e) {
1266
+ function rr(e) {
1286
1267
  var t, n, r, i = 0;
1287
- for (n = e === "u" ? 4 : 2, t = 0; t < n; ++t) L < R && qn(I[L]) ? (r = I[L++], i = i * 16 + "0123456789abcdef".indexOf(r.toLowerCase())) : Y({}, W, G);
1268
+ for (n = e === "u" ? 4 : 2, t = 0; t < n; ++t) L < R && Yn(I[L]) ? (r = I[L++], i = i * 16 + "0123456789abcdef".indexOf(r.toLowerCase())) : J({}, W, G);
1288
1269
  return String.fromCharCode(i);
1289
1270
  }
1290
- function nr() {
1271
+ function ir() {
1291
1272
  var e = I[L], t = 0, n, r;
1292
- for (e === "}" && Y({}, W, G); L < R && (e = I[L++], qn(e));) t = t * 16 + "0123456789abcdef".indexOf(e.toLowerCase());
1293
- return (t > 1114111 || e !== "}") && Y({}, W, G), t <= 65535 ? String.fromCharCode(t) : (n = (t - 65536 >> 10) + 55296, r = (t - 65536 & 1023) + 56320, String.fromCharCode(n, r));
1273
+ for (e === "}" && J({}, W, G); L < R && (e = I[L++], Yn(e));) t = t * 16 + "0123456789abcdef".indexOf(e.toLowerCase());
1274
+ return (t > 1114111 || e !== "}") && J({}, W, G), t <= 65535 ? String.fromCharCode(t) : (n = (t - 65536 >> 10) + 55296, r = (t - 65536 & 1023) + 56320, String.fromCharCode(n, r));
1294
1275
  }
1295
- function rr() {
1276
+ function ar() {
1296
1277
  var e = I.charCodeAt(L++), t = String.fromCharCode(e);
1297
- for (e === 92 && (I.charCodeAt(L) !== 117 && Y({}, W, G), ++L, e = tr("u"), (!e || e === "\\" || !Zn(e.charCodeAt(0))) && Y({}, W, G), t = e); L < R && (e = I.charCodeAt(L), Qn(e));) ++L, t += String.fromCharCode(e), e === 92 && (t = t.substr(0, t.length - 1), I.charCodeAt(L) !== 117 && Y({}, W, G), ++L, e = tr("u"), (!e || e === "\\" || !Qn(e.charCodeAt(0))) && Y({}, W, G), t += e);
1278
+ for (e === 92 && (I.charCodeAt(L) !== 117 && J({}, W, G), ++L, e = rr("u"), (!e || e === "\\" || !$n(e.charCodeAt(0))) && J({}, W, G), t = e); L < R && (e = I.charCodeAt(L), er(e));) ++L, t += String.fromCharCode(e), e === 92 && (t = t.substr(0, t.length - 1), I.charCodeAt(L) !== 117 && J({}, W, G), ++L, e = rr("u"), (!e || e === "\\" || !er(e.charCodeAt(0))) && J({}, W, G), t += e);
1298
1279
  return t;
1299
1280
  }
1300
- function ir() {
1281
+ function or() {
1301
1282
  for (var e = L++, t; L < R;) {
1302
- if (t = I.charCodeAt(L), t === 92) return L = e, rr();
1303
- if (Qn(t)) ++L;
1283
+ if (t = I.charCodeAt(L), t === 92) return L = e, ar();
1284
+ if (er(t)) ++L;
1304
1285
  else break;
1305
1286
  }
1306
1287
  return I.slice(e, L);
1307
1288
  }
1308
- function ar() {
1309
- var e = L, t = I.charCodeAt(L) === 92 ? rr() : ir();
1289
+ function sr() {
1290
+ var e = L, t = I.charCodeAt(L) === 92 ? ar() : or();
1310
1291
  return {
1311
- type: t.length === 1 ? B : $n.hasOwnProperty(t) ? V : t === "null" ? xn : t === "true" || t === "false" ? yn : B,
1292
+ type: t.length === 1 ? B : tr.hasOwnProperty(t) ? V : t === "null" ? Sn : t === "true" || t === "false" ? bn : B,
1312
1293
  value: t,
1313
1294
  start: e,
1314
1295
  end: L
1315
1296
  };
1316
1297
  }
1317
- function or() {
1298
+ function cr() {
1318
1299
  var e = L, t = I.charCodeAt(L), n, r = I[L], i, a, o;
1319
1300
  switch (t) {
1320
1301
  case 46:
@@ -1377,28 +1358,28 @@ function or() {
1377
1358
  start: e,
1378
1359
  end: L
1379
1360
  };
1380
- if (i === "//" && Y({}, W, G), "<>=!+-*%&|^/".includes(r)) return ++L, {
1361
+ if (i === "//" && J({}, W, G), "<>=!+-*%&|^/".includes(r)) return ++L, {
1381
1362
  type: U,
1382
1363
  value: r,
1383
1364
  start: e,
1384
1365
  end: L
1385
1366
  };
1386
- Y({}, W, G);
1367
+ J({}, W, G);
1387
1368
  }
1388
- function sr(e) {
1369
+ function lr(e) {
1389
1370
  let t = "";
1390
- for (; L < R && qn(I[L]);) t += I[L++];
1391
- return t.length === 0 && Y({}, W, G), Zn(I.charCodeAt(L)) && Y({}, W, G), {
1371
+ for (; L < R && Yn(I[L]);) t += I[L++];
1372
+ return t.length === 0 && J({}, W, G), $n(I.charCodeAt(L)) && J({}, W, G), {
1392
1373
  type: H,
1393
1374
  value: parseInt("0x" + t, 16),
1394
1375
  start: e,
1395
1376
  end: L
1396
1377
  };
1397
1378
  }
1398
- function cr(e) {
1379
+ function ur(e) {
1399
1380
  let t = "0" + I[L++];
1400
- for (; L < R && Jn(I[L]);) t += I[L++];
1401
- return (Zn(I.charCodeAt(L)) || q(I.charCodeAt(L))) && Y({}, W, G), {
1381
+ for (; L < R && Xn(I[L]);) t += I[L++];
1382
+ return ($n(I.charCodeAt(L)) || K(I.charCodeAt(L))) && J({}, W, G), {
1402
1383
  type: H,
1403
1384
  value: parseInt(t, 8),
1404
1385
  octal: !0,
@@ -1406,39 +1387,39 @@ function cr(e) {
1406
1387
  end: L
1407
1388
  };
1408
1389
  }
1409
- function lr() {
1390
+ function dr() {
1410
1391
  var e, t, n = I[L];
1411
- if (Kn(q(n.charCodeAt(0)) || n === ".", "Numeric literal must start with a decimal digit or a decimal point"), t = L, e = "", n !== ".") {
1392
+ if (Jn(K(n.charCodeAt(0)) || n === ".", "Numeric literal must start with a decimal digit or a decimal point"), t = L, e = "", n !== ".") {
1412
1393
  if (e = I[L++], n = I[L], e === "0") {
1413
- if (n === "x" || n === "X") return ++L, sr(t);
1414
- if (Jn(n)) return cr(t);
1415
- n && q(n.charCodeAt(0)) && Y({}, W, G);
1394
+ if (n === "x" || n === "X") return ++L, lr(t);
1395
+ if (Xn(n)) return ur(t);
1396
+ n && K(n.charCodeAt(0)) && J({}, W, G);
1416
1397
  }
1417
- for (; q(I.charCodeAt(L));) e += I[L++];
1398
+ for (; K(I.charCodeAt(L));) e += I[L++];
1418
1399
  n = I[L];
1419
1400
  }
1420
1401
  if (n === ".") {
1421
- for (e += I[L++]; q(I.charCodeAt(L));) e += I[L++];
1402
+ for (e += I[L++]; K(I.charCodeAt(L));) e += I[L++];
1422
1403
  n = I[L];
1423
1404
  }
1424
- if (n === "e" || n === "E") if (e += I[L++], n = I[L], (n === "+" || n === "-") && (e += I[L++]), q(I.charCodeAt(L))) for (; q(I.charCodeAt(L));) e += I[L++];
1425
- else Y({}, W, G);
1426
- return Zn(I.charCodeAt(L)) && Y({}, W, G), {
1405
+ if (n === "e" || n === "E") if (e += I[L++], n = I[L], (n === "+" || n === "-") && (e += I[L++]), K(I.charCodeAt(L))) for (; K(I.charCodeAt(L));) e += I[L++];
1406
+ else J({}, W, G);
1407
+ return $n(I.charCodeAt(L)) && J({}, W, G), {
1427
1408
  type: H,
1428
1409
  value: parseFloat(e),
1429
1410
  start: t,
1430
1411
  end: L
1431
1412
  };
1432
1413
  }
1433
- function ur() {
1414
+ function fr() {
1434
1415
  var e = "", t, n, r, i, a = !1;
1435
- for (t = I[L], Kn(t === "'" || t === "\"", "String literal must starts with a quote"), n = L, ++L; L < R;) if (r = I[L++], r === t) {
1416
+ for (t = I[L], Jn(t === "'" || t === "\"", "String literal must starts with a quote"), n = L, ++L; L < R;) if (r = I[L++], r === t) {
1436
1417
  t = "";
1437
1418
  break;
1438
- } else if (r === "\\") if (r = I[L++], !r || !Xn(r.charCodeAt(0))) switch (r) {
1419
+ } else if (r === "\\") if (r = I[L++], !r || !Qn(r.charCodeAt(0))) switch (r) {
1439
1420
  case "u":
1440
1421
  case "x":
1441
- I[L] === "{" ? (++L, e += nr()) : e += tr(r);
1422
+ I[L] === "{" ? (++L, e += ir()) : e += rr(r);
1442
1423
  break;
1443
1424
  case "n":
1444
1425
  e += "\n";
@@ -1459,30 +1440,30 @@ function ur() {
1459
1440
  e += "\v";
1460
1441
  break;
1461
1442
  default:
1462
- Jn(r) ? (i = "01234567".indexOf(r), i !== 0 && (a = !0), L < R && Jn(I[L]) && (a = !0, i = i * 8 + "01234567".indexOf(I[L++]), "0123".includes(r) && L < R && Jn(I[L]) && (i = i * 8 + "01234567".indexOf(I[L++]))), e += String.fromCharCode(i)) : e += r;
1443
+ Xn(r) ? (i = "01234567".indexOf(r), i !== 0 && (a = !0), L < R && Xn(I[L]) && (a = !0, i = i * 8 + "01234567".indexOf(I[L++]), "0123".includes(r) && L < R && Xn(I[L]) && (i = i * 8 + "01234567".indexOf(I[L++]))), e += String.fromCharCode(i)) : e += r;
1463
1444
  break;
1464
1445
  }
1465
1446
  else r === "\r" && I[L] === "\n" && ++L;
1466
- else if (Xn(r.charCodeAt(0))) break;
1447
+ else if (Qn(r.charCodeAt(0))) break;
1467
1448
  else e += r;
1468
- return t !== "" && Y({}, W, G), {
1469
- type: Sn,
1449
+ return t !== "" && J({}, W, G), {
1450
+ type: Cn,
1470
1451
  value: e,
1471
1452
  octal: a,
1472
1453
  start: n,
1473
1454
  end: L
1474
1455
  };
1475
1456
  }
1476
- function dr(e, t) {
1457
+ function pr(e, t) {
1477
1458
  let n = e;
1478
1459
  t.includes("u") && (n = n.replace(/\\u\{([0-9a-fA-F]+)\}/g, (e, t) => {
1479
1460
  if (parseInt(t, 16) <= 1114111) return "x";
1480
- Y({}, Bn);
1461
+ J({}, Vn);
1481
1462
  }).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g, "x"));
1482
1463
  try {
1483
1464
  new RegExp(n);
1484
1465
  } catch {
1485
- Y({}, Bn);
1466
+ J({}, Vn);
1486
1467
  }
1487
1468
  try {
1488
1469
  return new RegExp(e, t);
@@ -1490,30 +1471,30 @@ function dr(e, t) {
1490
1471
  return null;
1491
1472
  }
1492
1473
  }
1493
- function fr() {
1474
+ function mr() {
1494
1475
  var e = I[L], t, n, r, i;
1495
- for (Kn(e === "/", "Regular expression literal must start with a slash"), t = I[L++], n = !1, r = !1; L < R;) if (e = I[L++], t += e, e === "\\") e = I[L++], Xn(e.charCodeAt(0)) && Y({}, Vn), t += e;
1496
- else if (Xn(e.charCodeAt(0))) Y({}, Vn);
1476
+ for (Jn(e === "/", "Regular expression literal must start with a slash"), t = I[L++], n = !1, r = !1; L < R;) if (e = I[L++], t += e, e === "\\") e = I[L++], Qn(e.charCodeAt(0)) && J({}, Hn), t += e;
1477
+ else if (Qn(e.charCodeAt(0))) J({}, Hn);
1497
1478
  else if (n) e === "]" && (n = !1);
1498
1479
  else if (e === "/") {
1499
1480
  r = !0;
1500
1481
  break;
1501
1482
  } else e === "[" && (n = !0);
1502
- return r || Y({}, Vn), i = t.substr(1, t.length - 2), {
1483
+ return r || J({}, Hn), i = t.substr(1, t.length - 2), {
1503
1484
  value: i,
1504
1485
  literal: t
1505
1486
  };
1506
1487
  }
1507
- function pr() {
1508
- for (var e, t = "", n = ""; L < R && (e = I[L], Qn(e.charCodeAt(0)));) ++L, e === "\\" && L < R ? Y({}, W, G) : (n += e, t += e);
1509
- return n.search(/[^gimuy]/g) >= 0 && Y({}, Bn, n), {
1488
+ function hr() {
1489
+ for (var e, t = "", n = ""; L < R && (e = I[L], er(e.charCodeAt(0)));) ++L, e === "\\" && L < R ? J({}, W, G) : (n += e, t += e);
1490
+ return n.search(/[^gimuy]/g) >= 0 && J({}, Vn, n), {
1510
1491
  value: n,
1511
1492
  literal: t
1512
1493
  };
1513
1494
  }
1514
- function mr() {
1495
+ function gr() {
1515
1496
  var e, t, n, r;
1516
- return z = null, er(), e = L, t = fr(), n = pr(), r = dr(t.value, n.value), {
1497
+ return z = null, nr(), e = L, t = mr(), n = hr(), r = pr(t.value, n.value), {
1517
1498
  literal: t.literal + n.literal,
1518
1499
  value: r,
1519
1500
  regex: {
@@ -1524,161 +1505,161 @@ function mr() {
1524
1505
  end: L
1525
1506
  };
1526
1507
  }
1527
- function hr(e) {
1528
- return e.type === B || e.type === V || e.type === yn || e.type === xn;
1508
+ function _r(e) {
1509
+ return e.type === B || e.type === V || e.type === bn || e.type === Sn;
1529
1510
  }
1530
- function gr() {
1531
- if (er(), L >= R) return {
1532
- type: bn,
1511
+ function vr() {
1512
+ if (nr(), L >= R) return {
1513
+ type: xn,
1533
1514
  start: L,
1534
1515
  end: L
1535
1516
  };
1536
1517
  let e = I.charCodeAt(L);
1537
- return Zn(e) ? ar() : e === 40 || e === 41 || e === 59 ? or() : e === 39 || e === 34 ? ur() : e === 46 ? q(I.charCodeAt(L + 1)) ? lr() : or() : q(e) ? lr() : or();
1518
+ return $n(e) ? sr() : e === 40 || e === 41 || e === 59 ? cr() : e === 39 || e === 34 ? fr() : e === 46 ? K(I.charCodeAt(L + 1)) ? dr() : cr() : K(e) ? dr() : cr();
1538
1519
  }
1539
- function J() {
1520
+ function q() {
1540
1521
  let e = z;
1541
- return L = e.end, z = gr(), L = e.end, e;
1522
+ return L = e.end, z = vr(), L = e.end, e;
1542
1523
  }
1543
- function _r() {
1524
+ function yr() {
1544
1525
  let e = L;
1545
- z = gr(), L = e;
1526
+ z = vr(), L = e;
1546
1527
  }
1547
- function vr(e) {
1548
- let t = new P(wn);
1528
+ function br(e) {
1529
+ let t = new P(Tn);
1549
1530
  return t.elements = e, t;
1550
1531
  }
1551
- function yr(e, t, n) {
1552
- let r = new P(e === "||" || e === "&&" ? An : Tn);
1532
+ function xr(e, t, n) {
1533
+ let r = new P(e === "||" || e === "&&" ? jn : En);
1553
1534
  return r.operator = e, r.left = t, r.right = n, r;
1554
1535
  }
1555
- function br(e, t) {
1556
- let n = new P(En);
1536
+ function Sr(e, t) {
1537
+ let n = new P(Dn);
1557
1538
  return n.callee = e, n.arguments = t, n;
1558
1539
  }
1559
- function xr(e, t, n) {
1560
- let r = new P(Dn);
1540
+ function Cr(e, t, n) {
1541
+ let r = new P(On);
1561
1542
  return r.test = e, r.consequent = t, r.alternate = n, r;
1562
1543
  }
1563
- function Sr(e) {
1564
- let t = new P(On);
1544
+ function wr(e) {
1545
+ let t = new P(kn);
1565
1546
  return t.name = e, t;
1566
1547
  }
1567
- function Cr(e) {
1568
- let t = new P(kn);
1548
+ function Tr(e) {
1549
+ let t = new P(An);
1569
1550
  return t.value = e.value, t.raw = I.slice(e.start, e.end), e.regex && (t.raw === "//" && (t.raw = "/(?:)/"), t.regex = e.regex), t;
1570
1551
  }
1571
- function wr(e, t, n) {
1572
- let r = new P(jn);
1552
+ function Er(e, t, n) {
1553
+ let r = new P(Mn);
1573
1554
  return r.computed = e === "[", r.object = t, r.property = n, r.computed || (n.member = !0), r;
1574
1555
  }
1575
- function Tr(e) {
1576
- let t = new P(Mn);
1556
+ function Dr(e) {
1557
+ let t = new P(Nn);
1577
1558
  return t.properties = e, t;
1578
1559
  }
1579
- function Er(e, t, n) {
1580
- let r = new P(Nn);
1560
+ function Or(e, t, n) {
1561
+ let r = new P(Pn);
1581
1562
  return r.key = t, r.value = n, r.kind = e, r;
1582
1563
  }
1583
- function Dr(e, t) {
1584
- let n = new P(Pn);
1564
+ function kr(e, t) {
1565
+ let n = new P(Fn);
1585
1566
  return n.operator = e, n.argument = t, n.prefix = !0, n;
1586
1567
  }
1587
- function Y(e, t) {
1588
- var n, r = Array.prototype.slice.call(arguments, 2), i = t.replace(/%(\d)/g, (e, t) => (Kn(t < r.length, "Message reference must be in range"), r[t]));
1568
+ function J(e, t) {
1569
+ var n, r = Array.prototype.slice.call(arguments, 2), i = t.replace(/%(\d)/g, (e, t) => (Jn(t < r.length, "Message reference must be in range"), r[t]));
1589
1570
  throw n = Error(i), n.index = L, n.description = i, n;
1590
1571
  }
1591
- function Or(e) {
1592
- e.type === bn && Y(e, zn), e.type === H && Y(e, Fn), e.type === Sn && Y(e, In), e.type === B && Y(e, Ln), e.type === V && Y(e, Rn), Y(e, W, e.value);
1572
+ function Ar(e) {
1573
+ e.type === xn && J(e, Bn), e.type === H && J(e, In), e.type === Cn && J(e, Ln), e.type === B && J(e, Rn), e.type === V && J(e, zn), J(e, W, e.value);
1593
1574
  }
1594
- function X(e) {
1595
- let t = J();
1596
- (t.type !== U || t.value !== e) && Or(t);
1575
+ function Y(e) {
1576
+ let t = q();
1577
+ (t.type !== U || t.value !== e) && Ar(t);
1597
1578
  }
1598
- function Z(e) {
1579
+ function X(e) {
1599
1580
  return z.type === U && z.value === e;
1600
1581
  }
1601
- function kr(e) {
1582
+ function jr(e) {
1602
1583
  return z.type === V && z.value === e;
1603
1584
  }
1604
- function Ar() {
1585
+ function Mr() {
1605
1586
  let e = [];
1606
- for (L = z.start, X("["); !Z("]");) Z(",") ? (J(), e.push(null)) : (e.push(Q()), Z("]") || X(","));
1607
- return J(), vr(e);
1587
+ for (L = z.start, Y("["); !X("]");) X(",") ? (q(), e.push(null)) : (e.push(Z()), X("]") || Y(","));
1588
+ return q(), br(e);
1608
1589
  }
1609
- function jr() {
1590
+ function Nr() {
1610
1591
  L = z.start;
1611
- let e = J();
1612
- return e.type === Sn || e.type === H ? (e.octal && Y(e, Hn), Cr(e)) : Sr(e.value);
1592
+ let e = q();
1593
+ return e.type === Cn || e.type === H ? (e.octal && J(e, Un), Tr(e)) : wr(e.value);
1613
1594
  }
1614
- function Mr() {
1595
+ function Pr() {
1615
1596
  var e, t, n, r;
1616
- if (L = z.start, e = z, e.type === B) return n = jr(), X(":"), r = Q(), Er("init", n, r);
1617
- if (e.type === bn || e.type === U) Or(e);
1618
- else return t = jr(), X(":"), r = Q(), Er("init", t, r);
1597
+ if (L = z.start, e = z, e.type === B) return n = Nr(), Y(":"), r = Z(), Or("init", n, r);
1598
+ if (e.type === xn || e.type === U) Ar(e);
1599
+ else return t = Nr(), Y(":"), r = Z(), Or("init", t, r);
1619
1600
  }
1620
- function Nr() {
1601
+ function Fr() {
1621
1602
  var e = [], t, n, r, i = {}, a = String;
1622
- for (L = z.start, X("{"); !Z("}");) t = Mr(), n = t.key.type === On ? t.key.name : a(t.key.value), r = "$" + n, Object.prototype.hasOwnProperty.call(i, r) ? Y({}, Un) : i[r] = !0, e.push(t), Z("}") || X(",");
1623
- return X("}"), Tr(e);
1624
- }
1625
- function Pr() {
1626
- X("(");
1627
- let e = Kr();
1628
- return X(")"), e;
1603
+ for (L = z.start, Y("{"); !X("}");) t = Pr(), n = t.key.type === kn ? t.key.name : a(t.key.value), r = "$" + n, Object.prototype.hasOwnProperty.call(i, r) ? J({}, Wn) : i[r] = !0, e.push(t), X("}") || Y(",");
1604
+ return Y("}"), Dr(e);
1629
1605
  }
1630
- var Fr = { if: 1 };
1631
1606
  function Ir() {
1607
+ Y("(");
1608
+ let e = Jr();
1609
+ return Y(")"), e;
1610
+ }
1611
+ var Lr = { if: 1 };
1612
+ function Rr() {
1632
1613
  var e, t, n;
1633
- if (Z("(")) return Pr();
1634
- if (Z("[")) return Ar();
1635
- if (Z("{")) return Nr();
1636
- if (e = z.type, L = z.start, e === B || Fr[z.value]) n = Sr(J().value);
1637
- else if (e === Sn || e === H) z.octal && Y(z, Hn), n = Cr(J());
1638
- else if (e === V) throw Error(K);
1639
- else e === yn ? (t = J(), t.value = t.value === "true", n = Cr(t)) : e === xn ? (t = J(), t.value = null, n = Cr(t)) : Z("/") || Z("/=") ? (n = Cr(mr()), _r()) : Or(J());
1614
+ if (X("(")) return Ir();
1615
+ if (X("[")) return Mr();
1616
+ if (X("{")) return Fr();
1617
+ if (e = z.type, L = z.start, e === B || Lr[z.value]) n = wr(q().value);
1618
+ else if (e === Cn || e === H) z.octal && J(z, Un), n = Tr(q());
1619
+ else if (e === V) throw Error(Gn);
1620
+ else e === bn ? (t = q(), t.value = t.value === "true", n = Tr(t)) : e === Sn ? (t = q(), t.value = null, n = Tr(t)) : X("/") || X("/=") ? (n = Tr(gr()), yr()) : Ar(q());
1640
1621
  return n;
1641
1622
  }
1642
- function Lr() {
1623
+ function zr() {
1643
1624
  let e = [];
1644
- if (X("("), !Z(")")) for (; L < R && (e.push(Q()), !Z(")"));) X(",");
1645
- return X(")"), e;
1625
+ if (Y("("), !X(")")) for (; L < R && (e.push(Z()), !X(")"));) Y(",");
1626
+ return Y(")"), e;
1646
1627
  }
1647
- function Rr() {
1628
+ function Br() {
1648
1629
  L = z.start;
1649
- let e = J();
1650
- return hr(e) || Or(e), Sr(e.value);
1630
+ let e = q();
1631
+ return _r(e) || Ar(e), wr(e.value);
1651
1632
  }
1652
- function zr() {
1653
- return X("."), Rr();
1633
+ function Vr() {
1634
+ return Y("."), Br();
1654
1635
  }
1655
- function Br() {
1656
- X("[");
1657
- let e = Kr();
1658
- return X("]"), e;
1636
+ function Hr() {
1637
+ Y("[");
1638
+ let e = Jr();
1639
+ return Y("]"), e;
1659
1640
  }
1660
- function Vr() {
1661
- for (var e = Ir(), t, n;;) if (Z(".")) n = zr(), e = wr(".", e, n);
1662
- else if (Z("(")) t = Lr(), e = br(e, t);
1663
- else if (Z("[")) n = Br(), e = wr("[", e, n);
1641
+ function Ur() {
1642
+ for (var e = Rr(), t, n;;) if (X(".")) n = Vr(), e = Er(".", e, n);
1643
+ else if (X("(")) t = zr(), e = Sr(e, t);
1644
+ else if (X("[")) n = Hr(), e = Er("[", e, n);
1664
1645
  else break;
1665
1646
  return e;
1666
1647
  }
1667
- function Hr() {
1668
- let e = Vr();
1669
- if (z.type === U && (Z("++") || Z("--"))) throw Error(K);
1648
+ function Wr() {
1649
+ let e = Ur();
1650
+ if (z.type === U && (X("++") || X("--"))) throw Error(Gn);
1670
1651
  return e;
1671
1652
  }
1672
- function Ur() {
1653
+ function Gr() {
1673
1654
  var e, t;
1674
- if (z.type !== U && z.type !== V) t = Hr();
1675
- else if (Z("++") || Z("--")) throw Error(K);
1676
- else if (Z("+") || Z("-") || Z("~") || Z("!")) e = J(), t = Ur(), t = Dr(e.value, t);
1677
- else if (kr("delete") || kr("void") || kr("typeof")) throw Error(K);
1678
- else t = Hr();
1655
+ if (z.type !== U && z.type !== V) t = Wr();
1656
+ else if (X("++") || X("--")) throw Error(Gn);
1657
+ else if (X("+") || X("-") || X("~") || X("!")) e = q(), t = Gr(), t = kr(e.value, t);
1658
+ else if (jr("delete") || jr("void") || jr("typeof")) throw Error(Gn);
1659
+ else t = Wr();
1679
1660
  return t;
1680
1661
  }
1681
- function Wr(e) {
1662
+ function Kr(e) {
1682
1663
  let t = 0;
1683
1664
  if (e.type !== U && e.type !== V) return 0;
1684
1665
  switch (e.value) {
@@ -1728,36 +1709,36 @@ function Wr(e) {
1728
1709
  }
1729
1710
  return t;
1730
1711
  }
1731
- function Gr() {
1732
- var e = z, t, n, r, i, a, o, s, c = Ur(), l;
1733
- if (r = z, i = Wr(r), i === 0) return c;
1734
- for (r.prec = i, J(), t = [e, z], o = Ur(), a = [
1712
+ function qr() {
1713
+ var e = z, t, n, r, i, a, o, s, c = Gr(), l;
1714
+ if (r = z, i = Kr(r), i === 0) return c;
1715
+ for (r.prec = i, q(), t = [e, z], o = Gr(), a = [
1735
1716
  c,
1736
1717
  r,
1737
1718
  o
1738
- ]; (i = Wr(z)) > 0;) {
1739
- for (; a.length > 2 && i <= a[a.length - 2].prec;) o = a.pop(), s = a.pop().value, c = a.pop(), t.pop(), n = yr(s, c, o), a.push(n);
1740
- r = J(), r.prec = i, a.push(r), t.push(z), n = Ur(), a.push(n);
1719
+ ]; (i = Kr(z)) > 0;) {
1720
+ for (; a.length > 2 && i <= a[a.length - 2].prec;) o = a.pop(), s = a.pop().value, c = a.pop(), t.pop(), n = xr(s, c, o), a.push(n);
1721
+ r = q(), r.prec = i, a.push(r), t.push(z), n = Gr(), a.push(n);
1741
1722
  }
1742
- for (l = a.length - 1, n = a[l], t.pop(); l > 1;) t.pop(), n = yr(a[l - 1].value, a[l - 2], n), l -= 2;
1723
+ for (l = a.length - 1, n = a[l], t.pop(); l > 1;) t.pop(), n = xr(a[l - 1].value, a[l - 2], n), l -= 2;
1743
1724
  return n;
1744
1725
  }
1745
- function Q() {
1746
- var e = Gr(), t, n;
1747
- return Z("?") && (J(), t = Q(), X(":"), n = Q(), e = xr(e, t, n)), e;
1726
+ function Z() {
1727
+ var e = qr(), t, n;
1728
+ return X("?") && (q(), t = Z(), Y(":"), n = Z(), e = Cr(e, t, n)), e;
1748
1729
  }
1749
- function Kr() {
1750
- let e = Q();
1751
- if (Z(",")) throw Error(K);
1730
+ function Jr() {
1731
+ let e = Z();
1732
+ if (X(",")) throw Error(Gn);
1752
1733
  return e;
1753
1734
  }
1754
- function qr(e) {
1755
- I = e, L = 0, R = I.length, z = null, _r();
1756
- let t = Kr();
1757
- if (z.type !== bn) throw Error("Unexpect token after expression.");
1735
+ function Yr(e) {
1736
+ I = e, L = 0, R = I.length, z = null, yr();
1737
+ let t = Jr();
1738
+ if (z.type !== xn) throw Error("Unexpect token after expression.");
1758
1739
  return t;
1759
1740
  }
1760
- var Jr = {
1741
+ var Xr = {
1761
1742
  NaN: "NaN",
1762
1743
  E: "Math.E",
1763
1744
  LN2: "Math.LN2",
@@ -1770,7 +1751,7 @@ var Jr = {
1770
1751
  MIN_VALUE: "Number.MIN_VALUE",
1771
1752
  MAX_VALUE: "Number.MAX_VALUE"
1772
1753
  };
1773
- function Yr(e) {
1754
+ function Zr(e) {
1774
1755
  function t(t, n, r, i) {
1775
1756
  let a = e(n[0]);
1776
1757
  return r && (a = r + "(" + a + ")", r.lastIndexOf("new ", 0) === 0 && (a = "(" + a + ")")), a + "." + t + (i < 0 ? "" : i === 0 ? "()" : "(" + n.slice(1).map(e).join(",") + ")");
@@ -1846,17 +1827,17 @@ function Yr(e) {
1846
1827
  }
1847
1828
  };
1848
1829
  }
1849
- function Xr(e) {
1830
+ function Qr(e) {
1850
1831
  let t = e && e.length - 1;
1851
1832
  return t && (e[0] === "\"" && e[t] === "\"" || e[0] === "'" && e[t] === "'") ? e.slice(1, -1) : e;
1852
1833
  }
1853
- function Zr(e) {
1834
+ function $r(e) {
1854
1835
  e ||= {};
1855
- let t = e.allowed ? an(e.allowed) : {}, n = e.forbidden ? an(e.forbidden) : {}, r = e.constants || Jr, i = (e.functions || Yr)(d), a = e.globalvar, o = e.fieldvar, s = en(a) ? a : (e) => `${a}["${e}"]`;
1836
+ let t = e.allowed ? on(e.allowed) : {}, n = e.forbidden ? on(e.forbidden) : {}, r = e.constants || Xr, i = (e.functions || Zr)(d), a = e.globalvar, o = e.fieldvar, s = tn(a) ? a : (e) => `${a}["${e}"]`;
1856
1837
  [...Object.getOwnPropertyNames(Object.prototype).filter((e) => typeof Object.prototype[e] == "function")];
1857
1838
  let c = {}, l = {}, u = 0;
1858
1839
  function d(e) {
1859
- if (nn(e)) return e;
1840
+ if (rn(e)) return e;
1860
1841
  let t = f[e.type];
1861
1842
  return t ?? N("Unsupported type: " + e.type), t(e);
1862
1843
  }
@@ -1864,18 +1845,18 @@ function Zr(e) {
1864
1845
  Literal: (e) => e.raw,
1865
1846
  Identifier: (e) => {
1866
1847
  let i = e.name;
1867
- return u > 0 ? i : tn(n, i) ? N("Illegal identifier: " + i) : tn(r, i) ? r[i] : tn(t, i) ? i : (c[i] = 1, s(i));
1848
+ return u > 0 ? i : nn(n, i) ? N("Illegal identifier: " + i) : nn(r, i) ? r[i] : nn(t, i) ? i : (c[i] = 1, s(i));
1868
1849
  },
1869
1850
  MemberExpression: (e) => {
1870
1851
  let t = !e.computed, n = d(e.object);
1871
1852
  t && (u += 1);
1872
1853
  let r = d(e.property);
1873
- return n === o && (l[Xr(r)] = 1), t && --u, n + (t ? "." + r : "[" + r + "]");
1854
+ return n === o && (l[Qr(r)] = 1), t && --u, n + (t ? "." + r : "[" + r + "]");
1874
1855
  },
1875
1856
  CallExpression: (e) => {
1876
1857
  e.callee.type !== "Identifier" && N("Illegal callee type: " + e.callee.type);
1877
- let t = e.callee.name, n = e.arguments, r = tn(i, t) && i[t];
1878
- return r || N("Unrecognized function: " + t), en(r) ? r(n) : r + "(" + n.map(d).join(",") + ")";
1858
+ let t = e.callee.name, n = e.arguments, r = nn(i, t) && i[t];
1859
+ return r || N("Unrecognized function: " + t), tn(r) ? r(n) : r + "(" + n.map(d).join(",") + ")";
1879
1860
  },
1880
1861
  ArrayExpression: (e) => "[" + e.elements.map(d).join(",") + "]",
1881
1862
  BinaryExpression: (e) => "(" + d(e.left) + " " + e.operator + " " + d(e.right) + ")",
@@ -1885,7 +1866,7 @@ function Zr(e) {
1885
1866
  ObjectExpression: (e) => {
1886
1867
  for (let t of e.properties) {
1887
1868
  let e = t.key.name;
1888
- Xt.has(e) && N("Illegal property: " + e);
1869
+ Zt.has(e) && N("Illegal property: " + e);
1889
1870
  }
1890
1871
  return "{" + e.properties.map(d).join(",") + "}";
1891
1872
  },
@@ -1907,46 +1888,46 @@ function Zr(e) {
1907
1888
  }
1908
1889
  //#endregion
1909
1890
  //#region ../core/src/utils/smoothstep.js
1910
- function Qr(e, t, n) {
1891
+ function ei(e, t, n) {
1911
1892
  return n = (n - e) / (t - e), n = Math.max(0, Math.min(1, n)), n * n * (3 - 2 * n);
1912
1893
  }
1913
1894
  //#endregion
1914
1895
  //#region ../core/src/utils/clamp.js
1915
- function $r(e, t = 0, n = 1) {
1896
+ function ti(e, t = 0, n = 1) {
1916
1897
  return Math.max(t, Math.min(n, e));
1917
1898
  }
1918
1899
  //#endregion
1919
1900
  //#region ../core/src/utils/linearstep.js
1920
- function ei(e, t, n) {
1921
- return $r((n - e) / (t - e), 0, 1);
1901
+ function ni(e, t, n) {
1902
+ return ti((n - e) / (t - e), 0, 1);
1922
1903
  }
1923
1904
  //#endregion
1924
1905
  //#region ../core/src/utils/expression.js
1925
- function ti(e) {
1906
+ function ri(e) {
1926
1907
  return u(e) || ArrayBuffer.isView(e) ? e : null;
1927
1908
  }
1928
- function ni(e) {
1929
- return ti(e) || (x(e) ? e : null);
1909
+ function ii(e) {
1910
+ return ri(e) || (x(e) ? e : null);
1930
1911
  }
1931
- var ri = {
1932
- clamp: $r,
1912
+ var ai = {
1913
+ clamp: ti,
1933
1914
  format(e, t) {
1934
1915
  return yt(t)(e);
1935
1916
  },
1936
1917
  join(e, t) {
1937
- return ti(e).join(t);
1918
+ return ri(e).join(t);
1938
1919
  },
1939
1920
  indexof(e, t, n) {
1940
- return ni(e).indexOf(t, n);
1921
+ return ii(e).indexOf(t, n);
1941
1922
  },
1942
1923
  lastindexof(e, t, n) {
1943
- return ni(e).lastIndexOf(t, n);
1924
+ return ii(e).lastIndexOf(t, n);
1944
1925
  },
1945
1926
  reverse(e) {
1946
- return x(e) ? Array.from(e).reverse().join("") : ti(e).slice().reverse();
1927
+ return x(e) ? Array.from(e).reverse().join("") : ri(e).slice().reverse();
1947
1928
  },
1948
1929
  slice(e, t, n) {
1949
- return ni(e).slice(t, n);
1930
+ return ii(e).slice(t, n);
1950
1931
  },
1951
1932
  mapHasKey(e, t) {
1952
1933
  return e.has(t);
@@ -1964,62 +1945,76 @@ var ri = {
1964
1945
  return e != null && e === e;
1965
1946
  },
1966
1947
  lerp: ye,
1967
- linearstep: ei,
1948
+ linearstep: ni,
1968
1949
  replace(e, t, n) {
1969
1950
  return String(e).replace(t, n);
1970
1951
  },
1971
1952
  sort(e) {
1972
- return ti(e).slice().sort(fe);
1953
+ return ri(e).slice().sort(fe);
1973
1954
  },
1974
1955
  center(e) {
1975
- let t = ti(e);
1956
+ let t = ri(e);
1976
1957
  return (t[0] + t[t.length - 1]) / 2;
1977
1958
  },
1978
1959
  span(e) {
1979
1960
  return be(e);
1980
1961
  },
1981
- smoothstep: Qr
1962
+ smoothstep: ei
1982
1963
  };
1983
- function ii(e) {
1984
- let t = !1, n = fi(e, {}, { resolveScaleResolution: () => (t = !0, {
1964
+ function oi(e) {
1965
+ let t = !1, n = mi(e, {}, { resolveScaleResolution: () => (t = !0, {
1985
1966
  channel: "analysis",
1986
1967
  getDomainRef: () => void 0,
1987
1968
  getMappingRef: () => void 0,
1988
- getConfigurationRef: () => void 0
1969
+ getConfigurationRef: () => void 0,
1970
+ getZoomLevelRef: () => void 0
1989
1971
  }) });
1990
1972
  return {
1991
1973
  usesScaleHelper: t,
1992
1974
  globals: n.globals
1993
1975
  };
1994
1976
  }
1995
- function ai(e, t) {
1996
- let n = Yr(e);
1997
- for (let e in ri) n[e] = `this.${e}`;
1977
+ function si(e, t) {
1978
+ let n = Zr(e);
1979
+ for (let e in ai) n[e] = `this.${e}`;
1998
1980
  for (let r of [
1999
1981
  "scale",
2000
1982
  "invert",
2001
1983
  "domain",
2002
1984
  "range",
2003
1985
  "bandwidth",
2004
- "linearize"
2005
- ]) n[r] = (n) => oi(e, t, r, n);
1986
+ "linearize",
1987
+ "zoomLevel"
1988
+ ]) n[r] = (n) => ci(e, t, r, n);
2006
1989
  return n;
2007
1990
  }
2008
- function oi(e, t, n, r) {
1991
+ function ci(e, t, n, r) {
1992
+ if (n === "zoomLevel" && r.length === 0) {
1993
+ let e = [];
1994
+ for (let r of ["x", "y"]) {
1995
+ let i = t.resolveScaleResolution?.(r);
1996
+ if (i) {
1997
+ let a = t.getScaleHelper(n, r, i);
1998
+ e.push(`${t.globalvar}["${a.codeName}"]()`);
1999
+ }
2000
+ }
2001
+ return `Math.sqrt(${e.join("*") || "1"})`;
2002
+ }
2009
2003
  if (r.length === 0) throw Error(`Scale helper "${n}" requires a literal channel name.`);
2010
2004
  if ((n === "scale" || n === "invert" || n === "linearize") && r.length < 2) throw Error(`Scale helper "${n}" requires a channel name and a value.`);
2011
- let i = si(r[0]);
2005
+ if (n === "zoomLevel" && r.length > 1) throw Error("Scale helper \"zoomLevel\" accepts zero arguments or one literal channel name.");
2006
+ let i = li(r[0]);
2012
2007
  if (!i) throw Error(`Scale helper "${n}" requires a literal channel name.`);
2013
2008
  let a = t.resolveScaleResolution?.(i);
2014
2009
  if (!a) throw Error(`Unknown scale channel "${i}" in expression helper "${n}".`);
2015
2010
  let o = t.getScaleHelper(n, i, a), s = r.slice(1).map((t) => e(t)).join(",");
2016
2011
  return `${t.globalvar}["${o.codeName}"](${s})`;
2017
2012
  }
2018
- function si(e) {
2013
+ function li(e) {
2019
2014
  return e?.type === "Literal" && typeof e.value == "string" ? e.value : void 0;
2020
2015
  }
2021
- function ci(e, t) {
2022
- let n = (n) => ui(t, e, n);
2016
+ function ui(e, t) {
2017
+ let n = (n) => fi(t, e, n);
2023
2018
  if (e === "domain") return () => n(() => t.getDomain());
2024
2019
  if (e === "range") return () => n(() => t.getScale().range());
2025
2020
  if (e === "bandwidth") return () => n(() => {
@@ -2030,63 +2025,64 @@ function ci(e, t) {
2030
2025
  if (e === "scale") return (e) => n(() => t.getScale()(e));
2031
2026
  if (e === "invert") return (e) => n(() => t.getScale().invert(e));
2032
2027
  if (e === "linearize") return (e) => n(() => e == null ? null : typeof t.fromComplex == "function" ? t.fromComplex(e) : e);
2028
+ if (e === "zoomLevel") return () => n(() => t.getZoomLevel());
2033
2029
  throw Error("Unknown scale helper: " + e);
2034
2030
  }
2035
- var li = /* @__PURE__ */ new WeakSet();
2036
- function ui(e, t, n) {
2037
- if (li.has(e)) throw Error(`Scale helper cycle detected while evaluating ${t}("${e.channel}").`);
2038
- li.add(e);
2031
+ var di = /* @__PURE__ */ new WeakSet();
2032
+ function fi(e, t, n) {
2033
+ if (di.has(e)) throw Error(`Scale helper cycle detected while evaluating ${t}("${e.channel}").`);
2034
+ di.add(e);
2039
2035
  try {
2040
2036
  return n();
2041
2037
  } finally {
2042
- li.delete(e);
2038
+ di.delete(e);
2043
2039
  }
2044
2040
  }
2045
- function di(e, t) {
2046
- return e === "domain" ? t.getDomainRef() : e === "linearize" ? t.getConfigurationRef() : t.getMappingRef();
2041
+ function pi(e, t) {
2042
+ return e === "domain" ? t.getDomainRef() : e === "linearize" ? t.getConfigurationRef() : e === "zoomLevel" ? t.getZoomLevelRef() : t.getMappingRef();
2047
2043
  }
2048
- function fi(e, t = {}, n = {}) {
2044
+ function mi(e, t = {}, n = {}) {
2049
2045
  try {
2050
- let r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a = 1, o = {
2046
+ let r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), o = 1, s = {
2051
2047
  ...n,
2052
2048
  globalvar: "globalObject",
2053
2049
  globalObject: t,
2054
- getScaleHelper(e, n, o) {
2055
- let s = e + ":" + n, c = i.get(s);
2056
- if (c) return c;
2057
- let l = r.get(s);
2058
- l || (l = di(e, o), r.set(s, l));
2059
- let u = "__scale_helper_" + a++, d = {
2060
- codeName: u,
2061
- dependency: l
2050
+ getScaleHelper(e, n, s) {
2051
+ let c = e + ":" + n, l = i.get(c);
2052
+ if (l) return l;
2053
+ let u = r.get(c);
2054
+ u || (u = pi(e, s), r.set(c, u));
2055
+ let d = "__scale_helper_" + o++, f = {
2056
+ codeName: d,
2057
+ dependency: u
2062
2058
  };
2063
- return i.set(s, d), t[u] = ci(e, o), d;
2059
+ return i.set(c, f), e === "zoomLevel" && a.add(s), t[d] = ui(e, s), f;
2064
2060
  }
2065
- }, s = Zr({
2061
+ }, c = $r({
2066
2062
  forbidden: [],
2067
2063
  allowed: ["datum", "undefined"],
2068
2064
  globalvar: "globalObject",
2069
2065
  fieldvar: "datum",
2070
- functions: (e) => ai(e, o)
2071
- })(qr(e)), c = Function("datum", "globalObject", `"use strict";
2066
+ functions: (e) => si(e, s)
2067
+ })(Yr(e)), l = Function("datum", "globalObject", `"use strict";
2072
2068
  try {
2073
- return (${s.code});
2069
+ return (${c.code});
2074
2070
  } catch (e) {
2075
2071
  throw new Error("Error evaluating expression: " + ${JSON.stringify(e)} + ", " + e.message, e);
2076
- }`).bind(ri), l = (e) => c(e, t);
2077
- return l.fields = s.fields, l.globals = s.globals, l.code = s.code, l.scaleDependencies = Array.from(new Set(r.values())), l;
2072
+ }`).bind(ai), u = (e) => l(e, t);
2073
+ return 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;
2078
2074
  } catch (t) {
2079
2075
  throw Error(`Invalid expression: ${e}, ${t.message}`, { cause: t });
2080
2076
  }
2081
2077
  }
2082
- var pi = Zr({
2078
+ var hi = $r({
2083
2079
  forbidden: [],
2084
2080
  allowed: ["event"],
2085
2081
  globalvar: "globalObject"
2086
2082
  });
2087
- function mi(e) {
2083
+ function gi(e) {
2088
2084
  try {
2089
- let t = pi(qr(e));
2085
+ let t = hi(Yr(e));
2090
2086
  return Function("event", "globalObject", `"use strict";
2091
2087
  try {
2092
2088
  return !!(${t.code});
@@ -2099,7 +2095,7 @@ function mi(e) {
2099
2095
  }
2100
2096
  //#endregion
2101
2097
  //#region ../core/src/utils/interactionConfig.js
2102
- function hi(e) {
2098
+ function _i(e) {
2103
2099
  if (typeof e == "string") {
2104
2100
  let t = e.match(/^([a-zA-Z]+)(?:\[(.+)\])?$/);
2105
2101
  if (!t) throw Error(`Invalid event type string: ${e}`);
@@ -2107,35 +2103,35 @@ function hi(e) {
2107
2103
  return r && (i.filter = r), i;
2108
2104
  } else return e;
2109
2105
  }
2110
- function gi(e) {
2111
- return e?.filter ? mi(e.filter) : () => !0;
2106
+ function vi(e) {
2107
+ return e?.filter ? gi(e.filter) : () => !0;
2112
2108
  }
2113
- function _i(e, t, n) {
2109
+ function yi(e, t, n) {
2114
2110
  if (!t.includes(e.type)) throw Error(n);
2115
2111
  return e;
2116
2112
  }
2117
2113
  //#endregion
2118
2114
  //#region ../core/src/selection/selection.js
2119
- function vi(e) {
2115
+ function bi(e) {
2120
2116
  return {
2121
2117
  type: "single",
2122
2118
  datum: e,
2123
2119
  uniqueId: e?.[j]
2124
2120
  };
2125
2121
  }
2126
- function yi(e) {
2122
+ function xi(e) {
2127
2123
  return e ??= [], {
2128
2124
  type: "multi",
2129
2125
  data: new Map(e.map((e) => [e[j], e]))
2130
2126
  };
2131
2127
  }
2132
- function bi(e) {
2128
+ function Si(e) {
2133
2129
  return {
2134
2130
  type: "interval",
2135
2131
  intervals: Object.fromEntries(e.map((e) => [e, null]))
2136
2132
  };
2137
2133
  }
2138
- function xi(e, { add: t, remove: n, toggle: r }) {
2134
+ function Ci(e, { add: t, remove: n, toggle: r }) {
2139
2135
  let i = e.data;
2140
2136
  for (let e of t ?? []) i.set(e[j], e);
2141
2137
  for (let e of n ?? []) i.delete(e[j]);
@@ -2148,55 +2144,114 @@ function xi(e, { add: t, remove: n, toggle: r }) {
2148
2144
  data: i
2149
2145
  };
2150
2146
  }
2151
- function Si(e, t) {
2147
+ function wi(e, t) {
2152
2148
  let n = !!(e.empty ?? !0), r = Nt(e.param), i = e.fields ?? {};
2153
- if (wi(t)) return `${r}.uniqueId == null ? ${n} : ${r}.uniqueId === datum[${JSON.stringify(j)}]`;
2154
- if (Ti(t)) return `${r}.data.size == 0 ? ${n} : mapHasKey(${r}.data, datum[${JSON.stringify(j)}])`;
2155
- if (Ci(t)) {
2156
- let a = Object.keys(t.intervals), o = Object.keys(i).filter(sa);
2149
+ if (ji(t)) return `${r}.uniqueId == null ? ${n} : ${r}.uniqueId === datum[${JSON.stringify(j)}]`;
2150
+ if (Mi(t)) return `${r}.data.size == 0 ? ${n} : mapHasKey(${r}.data, datum[${JSON.stringify(j)}])`;
2151
+ if (Q(t)) {
2152
+ let a = Object.keys(t.intervals), o = Object.keys(i).filter(ha);
2157
2153
  if (o.length === 0) throw Error("Filtering using interval selections requires at least one primary positional channel in the config! " + JSON.stringify(e));
2158
2154
  if (o.some((e) => !a.includes(e))) throw Error(`Selection channels (${a.join(", ")}) do not match the fields: ${JSON.stringify(e)}!`);
2159
2155
  let s = (e) => `datum[${JSON.stringify(e)}]`;
2160
2156
  return a.map((e) => {
2161
- let t = ha(e), a = i[e], o = i[t] ?? i[e], c = `${r}.intervals.${e}[0] <= ${s(o)}`, l = `${s(a)} <= ${r}.intervals.${e}[1]`;
2157
+ let t = Ca(e), a = i[e], o = i[t] ?? i[e], c = `${r}.intervals.${e}[0] <= ${s(o)}`, l = `${s(a)} <= ${r}.intervals.${e}[1]`;
2162
2158
  return `(${r}.intervals.${e} ? (${c} && ${l}) : ${n})`;
2163
2159
  }).join(" && ");
2164
2160
  } else throw Error(`Unrecognized selection type : ${JSON.stringify(t)}`);
2165
2161
  }
2166
- function Ci(e) {
2162
+ function Ti(e) {
2163
+ if (!("param" in e) && !("test" in e)) return;
2164
+ let { param: t, empty: n = !0 } = "test" in e ? e.test : e;
2165
+ if (typeof t == "string") return {
2166
+ params: [Nt(t)],
2167
+ empty: n,
2168
+ singleParam: !0
2169
+ };
2170
+ if (t.or.length === 0) throw Error("Selection test \"or\" must be a nonempty array.");
2171
+ return {
2172
+ params: Array.from(new Set(t.or.map(Nt))),
2173
+ empty: n,
2174
+ singleParam: !1
2175
+ };
2176
+ }
2177
+ function Ei(e) {
2178
+ return e?.selection?.params ?? [];
2179
+ }
2180
+ function Di(e) {
2181
+ let t = /* @__PURE__ */ new Map();
2182
+ for (let n of Object.values(e)) for (let { predicate: e } of n.branches) {
2183
+ let n = e.selection;
2184
+ if (n) for (let e of n.params) t.set(e, t.get(e) || !n.singleParam);
2185
+ }
2186
+ return t;
2187
+ }
2188
+ function Oi(e, t) {
2189
+ if (ji(t)) return `${e}.uniqueId == null`;
2190
+ if (Mi(t)) return `${e}.data.size == 0`;
2191
+ if (Q(t)) {
2192
+ let n = Object.keys(t.intervals);
2193
+ return n.length == 0 ? "true" : `!(${n.map((t) => `${e}.intervals.${t}`).join(" || ")})`;
2194
+ }
2195
+ throw Error(`Unsupported selection type: ${t.type}`);
2196
+ }
2197
+ function ki(e, t, n, r) {
2198
+ if (ji(t)) return `${e}.uniqueId != null && ${e}.uniqueId === datum[${JSON.stringify(j)}]`;
2199
+ if (Mi(t)) return `${e}.data.size != 0 && mapHasKey(${e}.data, datum[${JSON.stringify(j)}])`;
2200
+ if (Q(t)) {
2201
+ let i = Object.keys(t.intervals);
2202
+ if (i.length == 0) return "false";
2203
+ let a = (e) => `datum[${JSON.stringify(e)}]`, o = i.map((t) => {
2204
+ let i = Ca(t), o = n[t], s = n[i] ?? n[t], c = `${e}.intervals.${t}`;
2205
+ return `(!${c} || ${r == "endpoints" ? `((${c}[0] <= ${a(o)} && ${a(o)} <= ${c}[1]) || (${c}[0] <= ${a(s)} && ${a(s)} <= ${c}[1]))` : r == "encloses" ? `(${c}[0] <= ${a(o)} && ${a(s)} <= ${c}[1])` : `(${c}[0] <= ${a(s)} && ${a(o)} <= ${c}[1])`})`;
2206
+ });
2207
+ return `!!(${i.map((t) => `${e}.intervals.${t}`).join(" || ")}) && (${o.join(" && ")})`;
2208
+ }
2209
+ throw Error(`Unsupported selection type: ${t.type}`);
2210
+ }
2211
+ function Ai(e, t, n = "intersects") {
2212
+ let r = `(${e.map(({ param: e, selection: t, fields: r }) => ki(e, t, r, n)).join(" || ")})`;
2213
+ return t ? `((${e.map(({ param: e, selection: t }) => Oi(e, t)).join(" && ")}) || ${r})` : r;
2214
+ }
2215
+ function Q(e) {
2167
2216
  return e.type === "interval";
2168
2217
  }
2169
- function wi(e) {
2218
+ function ji(e) {
2170
2219
  return e.type === "single";
2171
2220
  }
2172
- function Ti(e) {
2221
+ function Mi(e) {
2173
2222
  return e.type === "multi";
2174
2223
  }
2175
- function Ei(e) {
2224
+ function Ni(e) {
2176
2225
  let t = typeof e == "string" ? { type: e } : { ...e };
2177
- return t.on = t.on ? hi(t.on) : Di(t) ? { type: "click" } : void 0, t.clear = t.clear === !1 ? void 0 : t.clear === !0 || t.clear == null ? { type: "dblclick" } : hi(t.clear), Di(t) && t.on.type === "click" && (t.toggle = !0), t;
2226
+ return t.on = t.on ? _i(t.on) : Pi(t) ? { type: "click" } : void 0, t.clear = t.clear === !1 ? void 0 : t.clear === !0 || t.clear == null ? { type: "dblclick" } : _i(t.clear), Pi(t) && t.on.type === "click" && (t.toggle = !0), t;
2178
2227
  }
2179
- function Di(e) {
2228
+ function Pi(e) {
2180
2229
  return e && e.type == "point";
2181
2230
  }
2182
- function Oi(e) {
2231
+ function Fi(e) {
2183
2232
  return e && e.type == "interval";
2184
2233
  }
2185
- function ki(e) {
2234
+ function Ii(e) {
2235
+ if (ji(e)) return e.uniqueId != null;
2236
+ if (Mi(e)) return e.data.size > 0;
2237
+ if (Q(e)) return Li(e);
2238
+ throw Error(`Unsupported selection type: ${e.type}`);
2239
+ }
2240
+ function Li(e) {
2186
2241
  return Object.values(e.intervals).some((e) => e && e.length === 2);
2187
2242
  }
2188
- function Ai(e, t) {
2243
+ function Ri(e, t) {
2189
2244
  return Object.entries(e.intervals).every(([e, n]) => (e == "x" || e == "y") && n && n[0] <= t[e] && n[1] >= t[e]);
2190
2245
  }
2191
2246
  //#endregion
2192
2247
  //#region ../core/src/encoder/accessor.js
2193
- function ji(e, t, n) {
2248
+ function zi(e, t, n) {
2194
2249
  if (!e) throw Error("Cannot create an accessor without a channel.");
2195
2250
  function r(n) {
2196
2251
  let r = n;
2197
- return r.fields ??= [], r.constant = r.fields.length === 0, r.channelDef = t, r.channel = e, r.sourceKey = Pi(t), r.scaleChannel = ((Yi(t) && t.resolutionChannel) ?? (ya(e) && e)) || void 0, r.scaleChannel !== void 0 && (r.domainKeyBase = Fi({
2252
+ return r.fields ??= [], r.constant = r.fields.length === 0, r.channelDef = t, r.channel = e, r.sourceKey = Hi(t), r.scaleChannel = ((ra(t) && t.resolutionChannel) ?? (Da(e) && e)) || void 0, r.scaleChannel !== void 0 && (r.domainKeyBase = Ui({
2198
2253
  scaleChannel: r.scaleChannel,
2199
- source: Ni(t)
2254
+ source: Vi(t)
2200
2255
  }).domainKeyBase), r.equals = (e) => e ? r === e || r.sourceKey !== void 0 && r.sourceKey === e.sourceKey : !1, r.asNumberAccessor = () => r, r;
2201
2256
  }
2202
2257
  function i(e) {
@@ -2210,120 +2265,119 @@ function ji(e, t, n) {
2210
2265
  }
2211
2266
  }
2212
2267
  if ($(t)) try {
2213
- return r(Ht(t.field));
2268
+ return r(Ut(t.field));
2214
2269
  } catch (e) {
2215
2270
  throw Error(`Invalid field definition: ${e.message}`, { cause: e });
2216
2271
  }
2217
- else if (ea(t)) return r(n.createExpression(t.expr));
2218
- else if (Ji(t)) return i(t.datum);
2219
- else if (qi(t)) return i(t.value);
2272
+ else if (ca(t)) return r(n.createExpression(t.expr));
2273
+ else if (na(t)) return i(t.datum);
2274
+ else if (ta(t)) return i(t.value);
2220
2275
  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".`);
2221
2276
  }
2222
- function Mi(e) {
2277
+ function Bi(e) {
2223
2278
  return e.scaleChannel !== void 0;
2224
2279
  }
2225
- function Ni(e) {
2280
+ function Vi(e) {
2226
2281
  if ($(e)) return {
2227
2282
  kind: "field",
2228
2283
  value: e.field
2229
2284
  };
2230
- if (ea(e)) return {
2285
+ if (ca(e)) return {
2231
2286
  kind: "expr",
2232
2287
  value: e.expr
2233
2288
  };
2234
- if (Ji(e)) return {
2289
+ if (na(e)) return {
2235
2290
  kind: "datum",
2236
2291
  value: e.datum
2237
2292
  };
2238
- if (qi(e)) return {
2293
+ if (ta(e)) return {
2239
2294
  kind: "value",
2240
2295
  value: e.value
2241
2296
  };
2242
2297
  throw Error("Cannot derive a domain key from channel definition: " + JSON.stringify(e));
2243
2298
  }
2244
- function Pi(e) {
2245
- let t = Ni(e);
2246
- return t.kind === "datum" || t.kind === "value" ? "constant|" + Ri(t.value) : t.kind + "|" + Li(t);
2299
+ function Hi(e) {
2300
+ let t = Vi(e);
2301
+ return t.kind === "datum" || t.kind === "value" ? "constant|" + Ki(t.value) : t.kind + "|" + Gi(t);
2247
2302
  }
2248
- function Fi({ scaleChannel: e, source: t, type: n }) {
2303
+ function Ui({ scaleChannel: e, source: t, type: n }) {
2249
2304
  if (!e) throw Error("Cannot build a domain key without a scale channel.");
2250
- let r = e + "|" + t.kind + "|" + Li(t);
2305
+ let r = e + "|" + t.kind + "|" + Gi(t);
2251
2306
  return {
2252
2307
  domainKeyBase: r,
2253
2308
  domainKey: n ? n + "|" + r : void 0
2254
2309
  };
2255
2310
  }
2256
- function Ii(e, t) {
2257
- let { domainKey: n, domainKeyBase: r } = Fi({
2311
+ function Wi(e, t) {
2312
+ let { domainKey: n, domainKeyBase: r } = Ui({
2258
2313
  scaleChannel: e.scaleChannel,
2259
- source: Ni(e.channelDef),
2314
+ source: Vi(e.channelDef),
2260
2315
  type: t
2261
2316
  });
2262
2317
  if (!n) throw Error("Cannot finalize a domain key without a resolved type.");
2263
2318
  return e.domainKeyBase = r, e.domainKey = n, n;
2264
2319
  }
2265
- function Li(e) {
2320
+ function Gi(e) {
2266
2321
  switch (e.kind) {
2267
2322
  case "field":
2268
2323
  case "expr": return e.value;
2269
2324
  case "datum":
2270
- case "value": return Ri(e.value);
2325
+ case "value": return Ki(e.value);
2271
2326
  default: throw Error("Unknown domain key source.");
2272
2327
  }
2273
2328
  }
2274
- function Ri(e) {
2329
+ function Ki(e) {
2275
2330
  return A(e) ? "expr:" + e.expr : e === void 0 ? "undefined" : JSON.stringify(e);
2276
2331
  }
2277
2332
  //#endregion
2278
2333
  //#region ../core/src/encoder/encoder.js
2279
- function zi(e, t, n, r) {
2280
- let i, a = Lt(!1), o = () => {
2334
+ function qi(e, t, n, r = "intersects") {
2335
+ let i, a = Rt(!1), o = () => {
2281
2336
  if (i) return i;
2282
- let o = n.findValue(e);
2283
- if (!o) return a;
2284
- let s = {};
2285
- if (Ci(o)) {
2286
- let n = Object.keys(o.intervals);
2287
- for (let r of n) {
2288
- let n = t[r];
2289
- if ($(n)) {
2290
- s[r] = n.field;
2291
- continue;
2292
- } else if (n && "condition" in n) {
2293
- let e = n.condition;
2294
- if ($(e)) {
2295
- s[r] = e.field;
2296
- continue;
2337
+ if (e.singleParam && !n.findValue(e.params[0])) return a;
2338
+ let o = e.params.map((r) => {
2339
+ let i = n.findValue(r);
2340
+ if (!i) throw Error(`Selection parameter "${r}" was not found.`);
2341
+ let a = {};
2342
+ if (Q(i)) for (let n of Object.keys(i.intervals)) {
2343
+ let i = e.singleParam ? [n] : [n, Ca(n)];
2344
+ for (let e of i) {
2345
+ let n = t[e];
2346
+ if ($(n)) a[e] = n.field;
2347
+ else if (n && "condition" in n) {
2348
+ let t = n.condition, r = (Array.isArray(t) ? t : [t]).find($);
2349
+ $(r) && (a[e] = r.field);
2297
2350
  }
2298
2351
  }
2299
- throw Error(`Selection "${e}" has an interval for "${r}" channel, but could not find a fieldDef: ${JSON.stringify(t[r])}`);
2352
+ if (!a[n]) throw Error(`Selection "${r}" has an interval for "${n}" channel, but could not find a fieldDef: ${JSON.stringify(t[n])}`);
2300
2353
  }
2301
- }
2302
- let c = Si({
2354
+ return {
2355
+ param: r,
2356
+ selection: i,
2357
+ fields: a
2358
+ };
2359
+ }), s = e.singleParam ? wi({
2303
2360
  type: "filter",
2304
- param: e,
2305
- fields: s,
2306
- empty: r
2307
- }, o);
2308
- return i = n.createExpression(c), i;
2361
+ param: e.params[0],
2362
+ fields: o[0].fields,
2363
+ empty: e.empty
2364
+ }, o[0].selection) : Ai(o, e.empty, r);
2365
+ return i = n.createExpression(s), i;
2309
2366
  };
2310
- return Object.assign((e) => o()(e), {
2311
- param: e,
2312
- empty: r ?? !0
2313
- });
2367
+ return Object.assign((e) => o()(e), { selection: e });
2314
2368
  }
2315
- function Bi(e, t, n, r) {
2316
- let i = ta(t) || na(t) ? Array.isArray(t.condition) ? t.condition : [t.condition] : [], a = [...i, t], o = a.map((t, o) => {
2317
- let s = i[o];
2369
+ function Ji(e, t, n, r, i = "intersects") {
2370
+ let a = la(t) || ua(t) ? Array.isArray(t.condition) ? t.condition : [t.condition] : [], o = [...a, t], s = o.map((t, s) => {
2371
+ let c = a[s], l = zi(e, t, r), u = c ? Ti(c) : void 0;
2318
2372
  return {
2319
- accessor: ji(e, t, r),
2320
- predicate: s?.param ? zi(s.param, n, r, s.empty) : Object.assign(Lt(o === a.length - 1), { empty: !1 })
2373
+ accessor: l,
2374
+ predicate: u ? qi(u, n, r, i) : Rt(s === o.length - 1)
2321
2375
  };
2322
2376
  });
2323
- if (o.filter((e) => !e.accessor.constant).length > 1) throw Error("Only one accessor can be non-constant. Channel: " + e);
2324
- return o;
2377
+ if (s.filter((e) => !e.accessor.constant).length > 1) throw Error("Only one accessor can be non-constant. Channel: " + e);
2378
+ return s;
2325
2379
  }
2326
- function Vi(e, t) {
2380
+ function Yi(e, t) {
2327
2381
  let n = {}, r = (t) => e.getScaleResolution(t)?.getScale(), i = (t, n) => {
2328
2382
  let r = e.getScaleResolution(t);
2329
2383
  e.paramRuntime.operation("encoder scale", [r.getMappingRef()], () => r.getScale(), n);
@@ -2331,25 +2385,25 @@ function Vi(e, t) {
2331
2385
  for (let [a, o] of Object.entries(t)) {
2332
2386
  if (!o) continue;
2333
2387
  let s = a;
2334
- Hi(s) || (n[s] = Gi(Bi(s, o, t, e.paramRuntime), r, i));
2388
+ Xi(s) || (n[s] = $i(Ji(s, o, t, e.paramRuntime, e.mark.defaultHitTestMode), r, i));
2335
2389
  }
2336
2390
  return n;
2337
2391
  }
2338
- function Hi(e) {
2339
- return e === "key" || e === "search" || e === "tooltip";
2392
+ function Xi(e) {
2393
+ return e === "key" || e === "search" || e === "tooltip" || e === "order";
2340
2394
  }
2341
- function Ui(e) {
2395
+ function Zi(e) {
2342
2396
  return e.branches.map((e) => e.accessor);
2343
2397
  }
2344
- function Wi(e) {
2398
+ function Qi(e) {
2345
2399
  return e.branches.find((e) => !e.accessor.constant)?.accessor;
2346
2400
  }
2347
- function Gi(e, t, n) {
2401
+ function $i(e, t, n) {
2348
2402
  if (e.length === 1) {
2349
- let r = Ki(e[0].accessor, t, n);
2403
+ let r = ea(e[0].accessor, t, n);
2350
2404
  return Object.assign(r, { branches: e });
2351
2405
  }
2352
- let r = e.map((e) => e.predicate), i = e.map((e) => Ki(e.accessor, t, n)), a = Object.assign((e) => {
2406
+ let r = e.map((e) => e.predicate), i = e.map((e) => ea(e.accessor, t, n)), a = Object.assign((e) => {
2353
2407
  for (let t = 0; t < i.length; t++) if (r[t](e)) return i[t](e);
2354
2408
  }, {
2355
2409
  constant: !1,
@@ -2361,7 +2415,7 @@ function Gi(e, t, n) {
2361
2415
  get: () => i.find((e) => e.scale)?.scale
2362
2416
  });
2363
2417
  }
2364
- function Ki(e, t, n) {
2418
+ function ea(e, t, n) {
2365
2419
  let { channel: r, scaleChannel: i, channelDef: a } = e, o = e.scaleChannel ? t(i) : void 0;
2366
2420
  if (i && !o) throw Error(`Missing scale! "${r}": ${JSON.stringify(a)}`);
2367
2421
  let s = Object.assign(o ? (t) => o(e(t)) : (t) => e(t), {
@@ -2369,7 +2423,7 @@ function Ki(e, t, n) {
2369
2423
  constant: e.constant,
2370
2424
  branches: [{
2371
2425
  accessor: e,
2372
- predicate: Lt(!0)
2426
+ predicate: Rt(!0)
2373
2427
  }],
2374
2428
  channelDef: a
2375
2429
  });
@@ -2377,91 +2431,91 @@ function Ki(e, t, n) {
2377
2431
  o = e, s.scale = e;
2378
2432
  }), s;
2379
2433
  }
2380
- function qi(e) {
2434
+ function ta(e) {
2381
2435
  return e && "value" in e;
2382
2436
  }
2383
2437
  function $(e) {
2384
2438
  return e && "field" in e;
2385
2439
  }
2386
- function Ji(e) {
2440
+ function na(e) {
2387
2441
  return e && "datum" in e;
2388
2442
  }
2389
- function Yi(e) {
2390
- return $(e) || Ji(e) || ea(e) || $i(e);
2443
+ function ra(e) {
2444
+ return $(e) || na(e) || ca(e) || sa(e);
2391
2445
  }
2392
- function Xi(e) {
2393
- if (na(e)) {
2446
+ function ia(e) {
2447
+ if (ua(e)) {
2394
2448
  let t = e.condition;
2395
- return (Array.isArray(t) ? t : [t]).find((e) => Yi(e));
2396
- } else if (Yi(e)) return e;
2449
+ return (Array.isArray(t) ? t : [t]).find((e) => ra(e));
2450
+ } else if (ra(e)) return e;
2397
2451
  }
2398
- function Zi(e) {
2399
- let t = e && Xi(e);
2452
+ function aa(e) {
2453
+ let t = e && ia(e);
2400
2454
  return t != null && t.type != "quantitative" && t.scale !== null;
2401
2455
  }
2402
- function Qi(e, t) {
2456
+ function oa(e, t) {
2403
2457
  let n = e.mark.encoding[t];
2404
2458
  if (Array.isArray(n)) throw Error("Not a channel def with scale!");
2405
2459
  {
2406
- let e = Xi(n);
2460
+ let e = ia(n);
2407
2461
  if (e) return e;
2408
2462
  }
2409
2463
  throw Error("Not a channel def with scale!");
2410
2464
  }
2411
- function $i(e) {
2465
+ function sa(e) {
2412
2466
  return e && "chrom" in e;
2413
2467
  }
2414
- function ea(e) {
2468
+ function ca(e) {
2415
2469
  return e && "expr" in e;
2416
2470
  }
2417
- function ta(e) {
2418
- return ($(e) || Ji(e)) && "condition" in e;
2471
+ function la(e) {
2472
+ return ($(e) || na(e)) && "condition" in e;
2419
2473
  }
2420
- function na(e) {
2421
- return qi(e) && "condition" in e;
2474
+ function ua(e) {
2475
+ return ta(e) && "condition" in e;
2422
2476
  }
2423
- var ra = ["x", "y"], ia = ["x2", "y2"], aa = ["xOffset", "yOffset"], oa = [...ra, ...ia];
2424
- function sa(e) {
2425
- return ra.includes(e);
2477
+ var da = ["x", "y"], fa = ["x2", "y2"], pa = ["xOffset", "yOffset"], ma = [...da, ...fa];
2478
+ function ha(e) {
2479
+ return da.includes(e);
2426
2480
  }
2427
- function ca(e) {
2428
- return oa.includes(e);
2481
+ function ga(e) {
2482
+ return ma.includes(e);
2429
2483
  }
2430
- function la(e) {
2431
- return aa.includes(e);
2484
+ function _a(e) {
2485
+ return pa.includes(e);
2432
2486
  }
2433
- function ua(e) {
2434
- return ga(e) == "x" ? "xOffset" : "yOffset";
2487
+ function va(e) {
2488
+ return wa(e) == "x" ? "xOffset" : "yOffset";
2435
2489
  }
2436
- function da(e, t, n) {
2490
+ function ya(e, t, n) {
2437
2491
  return t ?? (n ? 0 : e);
2438
2492
  }
2439
- var fa = {
2493
+ var ba = {
2440
2494
  x: "x2",
2441
2495
  y: "y2"
2442
- }, pa = Object.fromEntries(Object.entries(fa).map((e) => [e[1], e[0]]));
2443
- function ma(e) {
2444
- return e in pa;
2496
+ }, xa = Object.fromEntries(Object.entries(ba).map((e) => [e[1], e[0]]));
2497
+ function Sa(e) {
2498
+ return e in xa;
2445
2499
  }
2446
- function ha(e) {
2447
- let t = fa[e];
2500
+ function Ca(e) {
2501
+ let t = ba[e];
2448
2502
  if (t) return t;
2449
2503
  throw Error(`${e} has no secondary channel!`);
2450
2504
  }
2451
- function ga(e) {
2452
- return pa[e] ?? e;
2505
+ function wa(e) {
2506
+ return xa[e] ?? e;
2453
2507
  }
2454
- function _a(e) {
2508
+ function Ta(e) {
2455
2509
  return [
2456
2510
  "color",
2457
2511
  "fill",
2458
2512
  "stroke"
2459
- ].includes(ga(e));
2513
+ ].includes(wa(e));
2460
2514
  }
2461
- function va(e) {
2515
+ function Ea(e) {
2462
2516
  return ["shape", "direction"].includes(e);
2463
2517
  }
2464
- function ya(e) {
2518
+ function Da(e) {
2465
2519
  return [
2466
2520
  "x",
2467
2521
  "y",
@@ -2485,7 +2539,7 @@ function ya(e) {
2485
2539
  "sample"
2486
2540
  ].includes(e);
2487
2541
  }
2488
- function ba(e) {
2542
+ function Oa(e) {
2489
2543
  switch (e) {
2490
2544
  case "shape": return [
2491
2545
  "circle",
@@ -2507,9 +2561,9 @@ function ba(e) {
2507
2561
  default:
2508
2562
  }
2509
2563
  }
2510
- function xa(e) {
2511
- if (!va(e)) throw Error("Not a discrete channel: " + e);
2512
- let t = new Map(ba(e).map((e, t) => [e, t]));
2564
+ function ka(e) {
2565
+ if (!Ea(e)) throw Error("Not a discrete channel: " + e);
2566
+ let t = new Map(Oa(e).map((e, t) => [e, t]));
2513
2567
  return (n) => {
2514
2568
  let r = t.get(n);
2515
2569
  if (r !== void 0) return r;
@@ -2518,16 +2572,16 @@ function xa(e) {
2518
2572
  }
2519
2573
  //#endregion
2520
2574
  //#region ../core/src/utils/arrayUtils.js
2521
- function Sa(e, t) {
2575
+ function Aa(e, t) {
2522
2576
  return e.length == t.length && e.every((n, r) => e[r] === t[r]);
2523
2577
  }
2524
- function Ca(e) {
2578
+ function ja(e) {
2525
2579
  return Array.isArray(e) ? e : e === void 0 ? [] : [e];
2526
2580
  }
2527
- function wa(e) {
2581
+ function Ma(e) {
2528
2582
  return e[e.length - 1];
2529
2583
  }
2530
- function Ta(e, t, n) {
2584
+ function Na(e, t, n) {
2531
2585
  if (t < 0 || t >= e.length) throw Error("Source index out of range.");
2532
2586
  if (n < 0 || n > e.length - 1) throw Error("Destination index out of range.");
2533
2587
  let [r] = e.splice(t, 1);
@@ -2535,7 +2589,7 @@ function Ta(e, t, n) {
2535
2589
  }
2536
2590
  //#endregion
2537
2591
  //#region ../core/src/view/renderingContext/clipOptions.js
2538
- function Ea(e) {
2592
+ function Pa(e) {
2539
2593
  if (e.clip) return e.clip;
2540
2594
  if (e.clipRect) return {
2541
2595
  rect: e.clipRect,
@@ -2543,36 +2597,36 @@ function Ea(e) {
2543
2597
  clipY: !0
2544
2598
  };
2545
2599
  }
2546
- function Da(e, t) {
2600
+ function Fa(e, t) {
2547
2601
  return e === t ? !0 : !e || !t ? !1 : e.clipX === t.clipX && e.clipY === t.clipY && e.rect.equals(t.rect);
2548
2602
  }
2549
- function Oa(e, t, n) {
2603
+ function Ia(e, t, n) {
2550
2604
  return t || n ? {
2551
2605
  rect: e,
2552
2606
  clipX: t,
2553
2607
  clipY: n
2554
2608
  } : void 0;
2555
2609
  }
2556
- function ka(e, t) {
2610
+ function La(e, t) {
2557
2611
  return t ? t.clipX && t.clipY ? e.intersect(t.rect) : t.clipX ? e.intersectX(t.rect) : t.clipY ? e.intersectY(t.rect) : e : e;
2558
2612
  }
2559
- function Aa(e, t) {
2613
+ function Ra(e, t) {
2560
2614
  if (!e) return t;
2561
2615
  if (!t) return e;
2562
2616
  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;
2563
- return Oa(e.rect.modify({
2617
+ return Ia(e.rect.modify({
2564
2618
  x: () => i.x,
2565
2619
  y: () => a.y,
2566
2620
  width: () => i.width,
2567
2621
  height: () => a.height
2568
2622
  }), n, r);
2569
2623
  }
2570
- function ja(e, t) {
2571
- if (e === !0) return Oa(t, !0, !0);
2572
- if (e === "x") return Oa(t, !0, !1);
2573
- if (e === "y") return Oa(t, !1, !0);
2624
+ function za(e, t) {
2625
+ if (e === !0) return Ia(t, !0, !0);
2626
+ if (e === "x") return Ia(t, !0, !1);
2627
+ if (e === "y") return Ia(t, !1, !0);
2574
2628
  }
2575
- function Ma(e) {
2629
+ function Ba(e) {
2576
2630
  let t = e.mark;
2577
2631
  if (t) {
2578
2632
  let e = t.properties.clip;
@@ -2594,8 +2648,8 @@ function Ma(e) {
2594
2648
  clipY: n && i
2595
2649
  };
2596
2650
  }
2597
- function Na(e, t, n) {
2598
- if (t !== "never") return Aa(e, ja(t, n));
2651
+ function Va(e, t, n) {
2652
+ if (t !== "never") return Ra(e, za(t, n));
2599
2653
  }
2600
2654
  //#endregion
2601
- export { hi as $, ce as $t, la as A, kt as At, Ei as B, S as Bt, $i as C, A as Ct, ea as D, Lt as Dt, va as E, At as Et, ra as F, Et as Ft, Ci as G, Ze as Gt, yi as H, Ee as Ht, da as I, yt as It, Di as J, we as Jt, Oi as K, We as Kt, ji as L, bt as Lt, sa as M, Ct as Mt, ma as N, Tt as Nt, $ as O, It as Ot, qi as P, Dt as Pt, xi as Q, t as Qt, Ii as R, st as Rt, ya as S, Pt as St, Ji as T, jt as Tt, vi as U, Be as Ut, bi as V, E as Vt, ki as W, C as Wt, Si as X, Ce as Xt, wi as Y, Te as Yt, Ai as Z, xe as Zt, Wi as _, y as _n, Ht as _t, Ma as a, _e as an, $r as at, ha as b, Rt as bt, Ca as c, ye as cn, nn as ct, Sa as d, ie as dn, $t as dt, de as en, gi as et, Vi as f, f as fn, Qt as ft, Ui as g, v as gn, N as gt, xa as h, Se as hn, Jt as ht, Oa as i, le as in, ei as it, ca as j, Ot as jt, Zi as k, Nt as kt, Ta as l, ne as ln, tn as lt, Qi as m, s as mn, Yt as mt, Da as n, u as nn, ii as nt, Ea as o, d as on, an as ot, Xi as p, be as pn, Zt as pt, Ti as q, Ue as qt, Aa as r, ge as rn, fi as rt, Na as s, x as sn, rn as st, ka as t, o as tn, _i as tt, wa as u, re as un, en as ut, ua as v, b as vn, Vt as vt, _a as w, Mt as wt, Yi as x, Ft as xt, ga as y, oe as yn, j as yt, Mi as z, rt as zt };
2655
+ export { ji as $, we as $t, aa as A, jt as At, Bi as B, Et as Bt, Da as C, b as Cn, Ht as Ct, Ea as D, Pt as Dt, na as E, Ft as Et, ta as F, kt as Ft, bi as G, S as Gt, Di as H, bt as Ht, da as I, Ot as It, Q as J, Be as Jt, Ei as K, E as Kt, ya as L, Ct as Lt, ga as M, Rt as Mt, ha as N, Lt as Nt, ca as O, A as Ot, Sa as P, Nt as Pt, Ii as Q, Ue as Qt, zi as R, Tt as Rt, ra as S, y as Sn, Ut as St, Ta as T, zt as Tt, Si as U, st as Ut, Ni as V, yt as Vt, xi as W, rt as Wt, Mi as X, Ze as Xt, Fi as Y, C as Yt, Pi as Z, We as Zt, Zi as _, f as _n, $t as _t, Ba as a, de as an, vi as at, wa as b, Se as bn, Yt as bt, ja as c, ge as cn, mi as ct, Aa as d, d as dn, on as dt, Te as en, wi as et, Yi as f, x as fn, an as ft, ka as g, ie as gn, en as gt, oa as h, re as hn, tn as ht, Ia as i, ce as in, _i as it, _a as j, At as jt, $ as k, Mt as kt, Na as l, le as ln, ni as lt, ia as m, ne as mn, nn as mt, Fa as n, xe as nn, Ri as nt, Pa as o, o as on, yi as ot, qi as p, ye as pn, rn as pt, Li as q, Ee as qt, Ra as r, t as rn, Ci as rt, Va as s, u as sn, oi as st, La as t, Ce as tn, Ti as tt, Ma as u, _e as un, ti as ut, Qi as v, be as vn, Qt as vt, sa as w, oe as wn, j as wt, Ca as x, v as xn, N as xt, va as y, s as yn, Xt as yt, Wi as z, Dt as zt };