@malloydata/render 0.0.156-dev240727155624 → 0.0.156

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.
@@ -1189,12 +1189,12 @@ V_.fnUpper = ade;
1189
1189
  var Y_ = {};
1190
1190
  Object.defineProperty(Y_, "__esModule", { value: !0 });
1191
1191
  Y_.fnSubstr = void 0;
1192
- const Xs = ge;
1192
+ const Js = ge;
1193
1193
  function lde() {
1194
- const t = (0, Xs.makeParam)("value", (0, Xs.anyExprType)("string")), e = (0, Xs.makeParam)("position", (0, Xs.anyExprType)("number")), n = (0, Xs.makeParam)("length", (0, Xs.anyExprType)("number"));
1194
+ const t = (0, Js.makeParam)("value", (0, Js.anyExprType)("string")), e = (0, Js.makeParam)("position", (0, Js.anyExprType)("number")), n = (0, Js.makeParam)("length", (0, Js.anyExprType)("number"));
1195
1195
  return [
1196
- (0, Xs.overload)((0, Xs.minScalar)("string"), [t.param, e.param], (0, Xs.sql)`SUBSTR(${t.arg}, ${e.arg})`),
1197
- (0, Xs.overload)((0, Xs.minScalar)("string"), [t.param, e.param, n.param], (0, Xs.sql)`SUBSTR(${t.arg}, ${e.arg}, ${n.arg})`)
1196
+ (0, Js.overload)((0, Js.minScalar)("string"), [t.param, e.param], (0, Js.sql)`SUBSTR(${t.arg}, ${e.arg})`),
1197
+ (0, Js.overload)((0, Js.minScalar)("string"), [t.param, e.param, n.param], (0, Js.sql)`SUBSTR(${t.arg}, ${e.arg}, ${n.arg})`)
1198
1198
  ];
1199
1199
  }
1200
1200
  Y_.fnSubstr = lde;
@@ -1233,16 +1233,16 @@ X_.fnReplace = fde;
1233
1233
  var Mh = {};
1234
1234
  Object.defineProperty(Mh, "__esModule", { value: !0 });
1235
1235
  Mh.fnByteLength = Mh.fnLength = void 0;
1236
- const so = ge;
1236
+ const oo = ge;
1237
1237
  function xde() {
1238
1238
  return [
1239
- (0, so.overload)((0, so.minScalar)("number"), [(0, so.param)("value", (0, so.anyExprType)("string"))], (0, so.sql)`LENGTH(${(0, so.arg)("value")})`)
1239
+ (0, oo.overload)((0, oo.minScalar)("number"), [(0, oo.param)("value", (0, oo.anyExprType)("string"))], (0, oo.sql)`LENGTH(${(0, oo.arg)("value")})`)
1240
1240
  ];
1241
1241
  }
1242
1242
  Mh.fnLength = xde;
1243
1243
  function dde() {
1244
1244
  return [
1245
- (0, so.overload)((0, so.minScalar)("number"), [(0, so.param)("value", (0, so.anyExprType)("string"))], (0, so.sql)`BYTE_LENGTH(${(0, so.arg)("value")})`)
1245
+ (0, oo.overload)((0, oo.minScalar)("number"), [(0, oo.param)("value", (0, oo.anyExprType)("string"))], (0, oo.sql)`BYTE_LENGTH(${(0, oo.arg)("value")})`)
1246
1246
  ];
1247
1247
  }
1248
1248
  Mh.fnByteLength = dde;
@@ -1750,9 +1750,9 @@ function phe() {
1750
1750
  ];
1751
1751
  }
1752
1752
  Hh.fnStringAggDistinct = phe;
1753
- var ao = {};
1754
- Object.defineProperty(ao, "__esModule", { value: !0 });
1755
- ao.fnSqlBoolean = ao.fnSqlTimestamp = ao.fnSqlDate = ao.fnSqlString = ao.fnSqlNumber = void 0;
1753
+ var lo = {};
1754
+ Object.defineProperty(lo, "__esModule", { value: !0 });
1755
+ lo.fnSqlBoolean = lo.fnSqlTimestamp = lo.fnSqlDate = lo.fnSqlString = lo.fnSqlNumber = void 0;
1756
1756
  const sn = ge;
1757
1757
  function ghe() {
1758
1758
  const t = (0, sn.makeParam)("value", (0, sn.literal)((0, sn.maxScalar)("string")));
@@ -1760,35 +1760,35 @@ function ghe() {
1760
1760
  (0, sn.overload)((0, sn.minScalar)("number"), [t.param], [{ type: "sql-string", e: [t.arg] }])
1761
1761
  ];
1762
1762
  }
1763
- ao.fnSqlNumber = ghe;
1763
+ lo.fnSqlNumber = ghe;
1764
1764
  function mhe() {
1765
1765
  const t = (0, sn.makeParam)("value", (0, sn.literal)((0, sn.maxScalar)("string")));
1766
1766
  return [
1767
1767
  (0, sn.overload)((0, sn.minScalar)("string"), [t.param], [{ type: "sql-string", e: [t.arg] }])
1768
1768
  ];
1769
1769
  }
1770
- ao.fnSqlString = mhe;
1770
+ lo.fnSqlString = mhe;
1771
1771
  function yhe() {
1772
1772
  const t = (0, sn.makeParam)("value", (0, sn.literal)((0, sn.maxScalar)("string")));
1773
1773
  return [
1774
1774
  (0, sn.overload)((0, sn.minScalar)("date"), [t.param], [{ type: "sql-string", e: [t.arg] }])
1775
1775
  ];
1776
1776
  }
1777
- ao.fnSqlDate = yhe;
1777
+ lo.fnSqlDate = yhe;
1778
1778
  function Ehe() {
1779
1779
  const t = (0, sn.makeParam)("value", (0, sn.literal)((0, sn.maxScalar)("string")));
1780
1780
  return [
1781
1781
  (0, sn.overload)((0, sn.minScalar)("timestamp"), [t.param], [{ type: "sql-string", e: [t.arg] }])
1782
1782
  ];
1783
1783
  }
1784
- ao.fnSqlTimestamp = Ehe;
1784
+ lo.fnSqlTimestamp = Ehe;
1785
1785
  function Ahe() {
1786
1786
  const t = (0, sn.makeParam)("value", (0, sn.literal)((0, sn.maxScalar)("string")));
1787
1787
  return [
1788
1788
  (0, sn.overload)((0, sn.minScalar)("boolean"), [t.param], [{ type: "sql-string", e: [t.arg] }])
1789
1789
  ];
1790
1790
  }
1791
- ao.fnSqlBoolean = Ahe;
1791
+ lo.fnSqlBoolean = Ahe;
1792
1792
  var y5 = {};
1793
1793
  Object.defineProperty(y5, "__esModule", { value: !0 });
1794
1794
  y5.fnSumMoving = void 0;
@@ -1809,7 +1809,7 @@ function vhe() {
1809
1809
  y5.fnSumMoving = vhe;
1810
1810
  (function(t) {
1811
1811
  Object.defineProperty(t, "__esModule", { value: !0 }), t.FUNCTIONS = void 0;
1812
- const e = H_, n = z_, r = Q_, i = G_, s = W_, o = P0, u = V_, a = Y_, l = K_, c = X_, f = Mh, x = J_, h = Z_, p = e5, m = t5, g = n5, y = r5, E = jh, A = es, v = Uh, S = i5, C = s5, _ = o5, b = u5, R = a5, O = l5, L = c5, M = qh, q = M0, W = f5, B = x5, G = d5, te = h5, X = It, de = p5, be = g5, ee = m5, U = Hh, T = ao, w = y5;
1812
+ const e = H_, n = z_, r = Q_, i = G_, s = W_, o = P0, u = V_, a = Y_, l = K_, c = X_, f = Mh, x = J_, h = Z_, p = e5, m = t5, g = n5, y = r5, E = jh, A = es, v = Uh, S = i5, C = s5, _ = o5, b = u5, R = a5, O = l5, L = c5, M = qh, q = M0, W = f5, B = x5, G = d5, te = h5, X = It, de = p5, be = g5, ee = m5, U = Hh, T = lo, w = y5;
1813
1813
  t.FUNCTIONS = new be.FunctionMap(), t.FUNCTIONS.add("concat", e.fnConcat), t.FUNCTIONS.add("round", i.fnRound), t.FUNCTIONS.add("trunc", n.fnTrunc), t.FUNCTIONS.add("floor", X.fnFloor), t.FUNCTIONS.add("ceil", X.fnCeil), t.FUNCTIONS.add("cos", X.fnCos), t.FUNCTIONS.add("acos", X.fnAcos), t.FUNCTIONS.add("sin", X.fnSin), t.FUNCTIONS.add("asin", X.fnAsin), t.FUNCTIONS.add("tan", X.fnTan), t.FUNCTIONS.add("atan", X.fnAtan), t.FUNCTIONS.add("atan2", _.fnAtan2), t.FUNCTIONS.add("lower", s.fnLower), t.FUNCTIONS.add("upper", u.fnUpper), t.FUNCTIONS.add("sqrt", X.fnSqrt), t.FUNCTIONS.add("pow", b.fnPow), t.FUNCTIONS.add("abs", X.fnAbs), t.FUNCTIONS.add("sign", X.fnSign), t.FUNCTIONS.add("is_inf", S.fnIsInf), t.FUNCTIONS.add("is_nan", C.fnIsNan), t.FUNCTIONS.add("greatest", M.fnGreatest), t.FUNCTIONS.add("least", M.fnLeast), t.FUNCTIONS.add("div", L.fnDiv), t.FUNCTIONS.add("strpos", O.fnStrpos), t.FUNCTIONS.add("starts_with", v.fnStartsWith), t.FUNCTIONS.add("ends_with", v.fnEndsWith), t.FUNCTIONS.add("trim", q.fnTrim), t.FUNCTIONS.add("ltrim", q.fnLtrim), t.FUNCTIONS.add("rtrim", q.fnRtrim), t.FUNCTIONS.add("rand", W.fnRand), t.FUNCTIONS.add("pi", B.fnPi), t.FUNCTIONS.add("substr", a.fnSubstr), t.FUNCTIONS.add("regexp_extract", l.fnRegexpExtract), t.FUNCTIONS.add("replace", c.fnReplace), t.FUNCTIONS.add("length", f.fnLength), t.FUNCTIONS.add("byte_length", f.fnByteLength), t.FUNCTIONS.add("ifnull", x.fnIfnull), t.FUNCTIONS.add("coalesce", ee.fnCoalesce), t.FUNCTIONS.add("nullif", h.fnNullif), t.FUNCTIONS.add("chr", o.fnChr), t.FUNCTIONS.add("ascii", o.fnAscii), t.FUNCTIONS.add("unicode", o.fnUnicode), t.FUNCTIONS.add("repeat", G.fnRepeat), t.FUNCTIONS.add("reverse", te.fnReverse), t.FUNCTIONS.add("log", R.fnLog), t.FUNCTIONS.add("ln", X.fnLn), t.FUNCTIONS.add("exp", X.fnExp), t.FUNCTIONS.add("stddev", r.fnStddev), t.FUNCTIONS.add("string_agg", U.fnStringAgg), t.FUNCTIONS.add("string_agg_distinct", U.fnStringAggDistinct), t.FUNCTIONS.add("row_number", p.fnRowNumber), t.FUNCTIONS.add("lag", m.fnLag), t.FUNCTIONS.add("lead", g.fnLead), t.FUNCTIONS.add("rank", y.fnRank), t.FUNCTIONS.add("first_value", E.fnFirstValueWindow), t.FUNCTIONS.add("last_value", E.fnLastValueWindow), t.FUNCTIONS.add("min_cumulative", A.fnMinCumulative), t.FUNCTIONS.add("max_cumulative", A.fnMaxCumulative), t.FUNCTIONS.add("sum_cumulative", A.fnSumCumulative), t.FUNCTIONS.add("min_window", A.fnMinWindow), t.FUNCTIONS.add("max_window", A.fnMaxWindow), t.FUNCTIONS.add("sum_window", A.fnSumWindow), t.FUNCTIONS.add("avg_moving", de.fnAvgRolling), t.FUNCTIONS.add("sum_moving", w.fnSumMoving), t.FUNCTIONS.add("sql_number", T.fnSqlNumber), t.FUNCTIONS.add("sql_string", T.fnSqlString), t.FUNCTIONS.add("sql_date", T.fnSqlDate), t.FUNCTIONS.add("sql_timestamp", T.fnSqlTimestamp), t.FUNCTIONS.add("sql_boolean", T.fnSqlBoolean), t.FUNCTIONS.seal();
1814
1814
  })(fV);
1815
1815
  (function(t) {
@@ -2435,13 +2435,13 @@ w5.fnStddev = Vhe;
2435
2435
  var L5 = {};
2436
2436
  Object.defineProperty(L5, "__esModule", { value: !0 });
2437
2437
  L5.fnSubstr = void 0;
2438
- const Js = ge;
2438
+ const Zs = ge;
2439
2439
  function Yhe() {
2440
- const t = (0, Js.makeParam)("value", (0, Js.anyExprType)("string")), e = (0, Js.makeParam)("position", (0, Js.anyExprType)("number")), n = (0, Js.makeParam)("length", (0, Js.anyExprType)("number"));
2440
+ const t = (0, Zs.makeParam)("value", (0, Zs.anyExprType)("string")), e = (0, Zs.makeParam)("position", (0, Zs.anyExprType)("number")), n = (0, Zs.makeParam)("length", (0, Zs.anyExprType)("number"));
2441
2441
  return [
2442
2442
  // We do some fancy footwork here to make Postgres support negative indexing for the position parameter
2443
- (0, Js.overload)((0, Js.minScalar)("string"), [t.param, e.param], (0, Js.sql)`SUBSTR(${t.arg}, CASE WHEN ${e.arg} < 0 THEN LENGTH(${t.arg}) + ${e.arg} + 1 ELSE ${e.arg} END)`),
2444
- (0, Js.overload)((0, Js.minScalar)("string"), [t.param, e.param, n.param], (0, Js.sql)`SUBSTR(${t.arg}, CASE WHEN ${e.arg} < 0 THEN LENGTH(${t.arg}) + ${e.arg} + 1 ELSE ${e.arg} END, ${n.arg})`)
2443
+ (0, Zs.overload)((0, Zs.minScalar)("string"), [t.param, e.param], (0, Zs.sql)`SUBSTR(${t.arg}, CASE WHEN ${e.arg} < 0 THEN LENGTH(${t.arg}) + ${e.arg} + 1 ELSE ${e.arg} END)`),
2444
+ (0, Zs.overload)((0, Zs.minScalar)("string"), [t.param, e.param, n.param], (0, Zs.sql)`SUBSTR(${t.arg}, CASE WHEN ${e.arg} < 0 THEN LENGTH(${t.arg}) + ${e.arg} + 1 ELSE ${e.arg} END, ${n.arg})`)
2445
2445
  ];
2446
2446
  }
2447
2447
  L5.fnSubstr = Yhe;
@@ -3286,16 +3286,16 @@ X5.fnIsNan = C2e;
3286
3286
  var Vh = {};
3287
3287
  Object.defineProperty(Vh, "__esModule", { value: !0 });
3288
3288
  Vh.fnByteLength = Vh.fnLength = void 0;
3289
- const oo = ge;
3289
+ const uo = ge;
3290
3290
  function b2e() {
3291
3291
  return [
3292
- (0, oo.overload)((0, oo.minScalar)("number"), [(0, oo.param)("value", (0, oo.anyExprType)("string"))], (0, oo.sql)`LENGTH(${(0, oo.arg)("value")})`)
3292
+ (0, uo.overload)((0, uo.minScalar)("number"), [(0, uo.param)("value", (0, uo.anyExprType)("string"))], (0, uo.sql)`LENGTH(${(0, uo.arg)("value")})`)
3293
3293
  ];
3294
3294
  }
3295
3295
  Vh.fnLength = b2e;
3296
3296
  function T2e() {
3297
3297
  return [
3298
- (0, oo.overload)((0, oo.minScalar)("number"), [(0, oo.param)("value", (0, oo.anyExprType)("string"))], (0, oo.sql)`CEIL(BIT_LENGTH(${(0, oo.arg)("value")}) / 8)`)
3298
+ (0, uo.overload)((0, uo.minScalar)("number"), [(0, uo.param)("value", (0, uo.anyExprType)("string"))], (0, uo.sql)`CEIL(BIT_LENGTH(${(0, uo.arg)("value")}) / 8)`)
3299
3299
  ];
3300
3300
  }
3301
3301
  Vh.fnByteLength = T2e;
@@ -5248,7 +5248,7 @@ class O1e {
5248
5248
  name: "ignoreme",
5249
5249
  pipeline: [n]
5250
5250
  };
5251
- return go.makeQuery(
5251
+ return mo.makeQuery(
5252
5252
  i,
5253
5253
  r,
5254
5254
  new Pm(!0, void 0),
@@ -5258,7 +5258,7 @@ class O1e {
5258
5258
  }
5259
5259
  }
5260
5260
  mx.Segment = O1e;
5261
- class go extends Jv {
5261
+ class mo extends Jv {
5262
5262
  constructor(e, n, r, i) {
5263
5263
  super(e, n), this.prepared = !1, this.maxDepth = 0, this.maxGroupSet = 0, this.fieldDef = e, this.rootResult = new T1e(e), this.stageWriter = r, this.firstSegment = e.pipeline[0], this.isJoinedSubquery = i;
5264
5264
  }
@@ -5385,7 +5385,7 @@ class go extends Jv {
5385
5385
  let n = 1;
5386
5386
  for (const r of this.getSegmentFields(e)) {
5387
5387
  const { as: i, field: s } = this.expandField(r);
5388
- if (s instanceof NV || s instanceof go) {
5388
+ if (s instanceof NV || s instanceof mo) {
5389
5389
  if (this.firstSegment.type === "project")
5390
5390
  throw new Error(`Nested views cannot be used in select - '${s.fieldDef.name}'`);
5391
5391
  const o = new Bu(s.fieldDef, e);
@@ -5947,7 +5947,7 @@ FROM ${n}
5947
5947
  const c = new Ri(i, {
5948
5948
  model: this.parent.getModel()
5949
5949
  });
5950
- u = go.makeQuery(l, c, n, this.isJoinedSubquery).generateSQLFromPipeline(n), i = u.outputStruct;
5950
+ u = mo.makeQuery(l, c, n, this.isJoinedSubquery).generateSQLFromPipeline(n), i = u.outputStruct;
5951
5951
  }
5952
5952
  return i.annotation = e.turtleDef.annotation, {
5953
5953
  structDef: i,
@@ -5985,7 +5985,7 @@ FROM ${n}
5985
5985
  for (const o of i) {
5986
5986
  const u = new Ri(s, {
5987
5987
  model: this.parent.getModel()
5988
- }), a = go.makeQuery({ type: "turtle", name: "ignoreme", pipeline: [o] }, u, e, this.isJoinedSubquery);
5988
+ }), a = mo.makeQuery({ type: "turtle", name: "ignoreme", pipeline: [o] }, u, e, this.isJoinedSubquery);
5989
5989
  a.prepare(e), n = a.generateSQL(e), r = a.getResultStructDef(), s = {
5990
5990
  ...r,
5991
5991
  structSource: { type: "sql", method: "lastStage" }
@@ -5995,11 +5995,11 @@ FROM ${n}
5995
5995
  return { lastStageName: n, outputStruct: r };
5996
5996
  }
5997
5997
  }
5998
- class N1e extends go {
5998
+ class N1e extends mo {
5999
5999
  }
6000
- class D1e extends go {
6000
+ class D1e extends mo {
6001
6001
  }
6002
- class F1e extends go {
6002
+ class F1e extends mo {
6003
6003
  constructor(e, n, r, i) {
6004
6004
  super(e, n, r, i), this.indexPaths = {}, this.fieldDef = e;
6005
6005
  }
@@ -6091,7 +6091,7 @@ FROM ${h}
6091
6091
  `), this.resultStage;
6092
6092
  }
6093
6093
  }
6094
- class w1e extends go {
6094
+ class w1e extends mo {
6095
6095
  generateSQL(e) {
6096
6096
  const n = this.parent.fieldDef.structSource;
6097
6097
  if (n.type !== "sql" || n.method !== "subquery")
@@ -6107,7 +6107,7 @@ class w1e extends go {
6107
6107
  getResultMetadata(e) {
6108
6108
  }
6109
6109
  }
6110
- class L1e extends go {
6110
+ class L1e extends mo {
6111
6111
  constructor(e, n, r, i) {
6112
6112
  super(e, n, r, i), this.stages = [], this.fieldDef = e, this.fieldsToStages();
6113
6113
  }
@@ -6209,7 +6209,7 @@ class Ri extends RV {
6209
6209
  break;
6210
6210
  }
6211
6211
  case "turtle": {
6212
- this.addFieldToNameMap(r, go.makeQuery(n, this, void 0, !1));
6212
+ this.addFieldToNameMap(r, mo.makeQuery(n, this, void 0, !1));
6213
6213
  break;
6214
6214
  }
6215
6215
  default:
@@ -6472,7 +6472,7 @@ class DV {
6472
6472
  name: "ignoreme",
6473
6473
  pipeline: e.pipeline,
6474
6474
  filterList: e.filterList
6475
- }, u = go.makeQuery(o, this.getStructFromRef(e.structRef), n, i), a = u.generateSQLFromPipeline(n);
6475
+ }, u = mo.makeQuery(o, this.getStructFromRef(e.structRef), n, i), a = u.generateSQLFromPipeline(n);
6476
6476
  if (r && u.parent.dialect.hasFinalStage) {
6477
6477
  const l = (0, Ue.getPhysicalFields)(a.outputStruct).map((c) => u.parent.dialect.sqlMaybeQuoteIdentifier(c.name));
6478
6478
  a.lastStageName = n.addStage(u.parent.dialect.sqlFinalStage(a.lastStageName, l));
@@ -9622,7 +9622,7 @@ var id = {}, lu = {}, mC = {}, In = {};
9622
9622
  }
9623
9623
  }(t.MurmurHash || (t.MurmurHash = {}));
9624
9624
  })(In);
9625
- var Qs = {};
9625
+ var Gs = {};
9626
9626
  /*!
9627
9627
  * Copyright 2016 The ANTLR Project. All rights reserved.
9628
9628
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -9636,8 +9636,8 @@ var tY = N && N.__decorate || function(t, e, n, r) {
9636
9636
  (o = t[u]) && (s = (i < 3 ? o(s) : i > 3 ? o(e, n, s) : o(e, n)) || s);
9637
9637
  return i > 3 && s && Object.defineProperty(e, n, s), s;
9638
9638
  };
9639
- Object.defineProperty(Qs, "__esModule", { value: !0 });
9640
- Qs.ObjectEqualityComparator = void 0;
9639
+ Object.defineProperty(Gs, "__esModule", { value: !0 });
9640
+ Gs.ObjectEqualityComparator = void 0;
9641
9641
  const nY = ye;
9642
9642
  class jm {
9643
9643
  /**
@@ -9669,7 +9669,7 @@ tY([
9669
9669
  tY([
9670
9670
  nY.Override
9671
9671
  ], jm.prototype, "equals", null);
9672
- Qs.ObjectEqualityComparator = jm;
9672
+ Gs.ObjectEqualityComparator = jm;
9673
9673
  /*!
9674
9674
  * Copyright 2016 The ANTLR Project. All rights reserved.
9675
9675
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -9685,7 +9685,7 @@ var rY = N && N.__decorate || function(t, e, n, r) {
9685
9685
  };
9686
9686
  Object.defineProperty(mC, "__esModule", { value: !0 });
9687
9687
  mC.DefaultEqualityComparator = void 0;
9688
- const iY = ye, Mpe = In, wM = Qs;
9688
+ const iY = ye, Mpe = In, wM = Gs;
9689
9689
  class Um {
9690
9690
  /**
9691
9691
  * {@inheritDoc}
@@ -9982,7 +9982,7 @@ var sY = N && N.__decorate || function(t, e, n, r) {
9982
9982
  };
9983
9983
  Object.defineProperty(sd, "__esModule", { value: !0 });
9984
9984
  sd.ArrayEqualityComparator = void 0;
9985
- const oY = ye, Hpe = In, zpe = Qs;
9985
+ const oY = ye, Hpe = In, zpe = Gs;
9986
9986
  class qm {
9987
9987
  /**
9988
9988
  * {@inheritDoc}
@@ -10079,7 +10079,7 @@ mn.toCharArray = Ype;
10079
10079
  };
10080
10080
  };
10081
10081
  Object.defineProperty(t, "__esModule", { value: !0 }), t.SemanticContext = void 0;
10082
- const r = lu, i = sd, s = In, o = ye, u = Qs, a = mn;
10082
+ const r = lu, i = sd, s = In, o = ye, u = Gs, a = mn;
10083
10083
  function l(x) {
10084
10084
  let h;
10085
10085
  for (let p of x) {
@@ -10743,7 +10743,7 @@ var Xw = N && N.__decorate || function(t, e, n, r) {
10743
10743
  Object.defineProperty(Cr, "__esModule", { value: !0 });
10744
10744
  Cr.Interval = void 0;
10745
10745
  const Jw = ye, cY = 1e3;
10746
- let Ex = class no {
10746
+ let Ex = class ro {
10747
10747
  /**
10748
10748
  * @param a The start of the interval
10749
10749
  * @param b The end of the interval (inclusive)
@@ -10752,7 +10752,7 @@ let Ex = class no {
10752
10752
  this.a = e, this.b = n;
10753
10753
  }
10754
10754
  static get INVALID() {
10755
- return no._INVALID;
10755
+ return ro._INVALID;
10756
10756
  }
10757
10757
  /** Interval objects are used readonly so share all with the
10758
10758
  * same single value a==b up to some max size. Use an array as a perfect hash.
@@ -10761,7 +10761,7 @@ let Ex = class no {
10761
10761
  * have a..a (set with 1 element).
10762
10762
  */
10763
10763
  static of(e, n) {
10764
- return e !== n || e < 0 || e > cY ? new no(e, n) : (no.cache[e] == null && (no.cache[e] = new no(e, e)), no.cache[e]);
10764
+ return e !== n || e < 0 || e > cY ? new ro(e, n) : (ro.cache[e] == null && (ro.cache[e] = new ro(e, e)), ro.cache[e]);
10765
10765
  }
10766
10766
  /** return number of elements between a and b inclusively. x..x is length 1.
10767
10767
  * if b &lt; a, then length is 0. 9..10 has length 2.
@@ -10770,7 +10770,7 @@ let Ex = class no {
10770
10770
  return this.b < this.a ? 0 : this.b - this.a + 1;
10771
10771
  }
10772
10772
  equals(e) {
10773
- return e === this ? !0 : e instanceof no ? this.a === e.a && this.b === e.b : !1;
10773
+ return e === this ? !0 : e instanceof ro ? this.a === e.a && this.b === e.b : !1;
10774
10774
  }
10775
10775
  hashCode() {
10776
10776
  let e = 23;
@@ -10809,11 +10809,11 @@ let Ex = class no {
10809
10809
  }
10810
10810
  /** Return the interval computed from combining this and other */
10811
10811
  union(e) {
10812
- return no.of(Math.min(this.a, e.a), Math.max(this.b, e.b));
10812
+ return ro.of(Math.min(this.a, e.a), Math.max(this.b, e.b));
10813
10813
  }
10814
10814
  /** Return the interval in common between this and o */
10815
10815
  intersection(e) {
10816
- return no.of(Math.max(this.a, e.a), Math.min(this.b, e.b));
10816
+ return ro.of(Math.max(this.a, e.a), Math.min(this.b, e.b));
10817
10817
  }
10818
10818
  /** Return the interval with elements from `this` not in `other`;
10819
10819
  * `other` must not be totally enclosed (properly contained)
@@ -10822,7 +10822,7 @@ let Ex = class no {
10822
10822
  */
10823
10823
  differenceNotProperlyContained(e) {
10824
10824
  let n;
10825
- return e.startsBeforeNonDisjoint(this) ? n = no.of(Math.max(this.a, e.b + 1), this.b) : e.startsAfterNonDisjoint(this) && (n = no.of(this.a, e.a - 1)), n;
10825
+ return e.startsBeforeNonDisjoint(this) ? n = ro.of(Math.max(this.a, e.b + 1), this.b) : e.startsAfterNonDisjoint(this) && (n = ro.of(this.a, e.a - 1)), n;
10826
10826
  }
10827
10827
  toString() {
10828
10828
  return this.a + ".." + this.b;
@@ -11205,7 +11205,7 @@ function Zw() {
11205
11205
  return x > 3 && h && Object.defineProperty(l, c, h), h;
11206
11206
  };
11207
11207
  Object.defineProperty(t, "__esModule", { value: !0 }), t.PredictionContextCache = void 0;
11208
- const n = ql, r = ye, i = Qs, s = cu(), o = $i();
11208
+ const n = ql, r = ye, i = Gs, s = cu(), o = $i();
11209
11209
  class u {
11210
11210
  constructor(l = !0) {
11211
11211
  this.contexts = new n.Array2DHashMap(i.ObjectEqualityComparator.INSTANCE), this.childContexts = new n.Array2DHashMap(i.ObjectEqualityComparator.INSTANCE), this.joinContexts = new n.Array2DHashMap(i.ObjectEqualityComparator.INSTANCE), this.enableCache = l;
@@ -11762,7 +11762,7 @@ var Wn = N && N.__decorate || function(t, e, n, r) {
11762
11762
  };
11763
11763
  Object.defineProperty(ud, "__esModule", { value: !0 });
11764
11764
  ud.ATNConfig = void 0;
11765
- const pge = ql, gge = Ea, Ka = In, Qt = ye, mge = Qs, kM = cu(), Pf = id, PM = $i(), KO = 2147483648;
11765
+ const pge = ql, gge = Ea, Ka = In, Qt = ye, mge = Gs, kM = cu(), Pf = id, PM = $i(), KO = 2147483648;
11766
11766
  let Bi = class Ug {
11767
11767
  constructor(e, n, r) {
11768
11768
  typeof n == "number" ? (PM((n & 16777215) === n), this._state = e, this.altAndOuterContextDepth = n, this._context = r) : (this._state = e, this.altAndOuterContextDepth = n.altAndOuterContextDepth, this._context = r);
@@ -12072,7 +12072,7 @@ function MM(t) {
12072
12072
  }
12073
12073
  throw new RangeError("No specified bit found");
12074
12074
  }
12075
- function ro(t, e) {
12075
+ function io(t, e) {
12076
12076
  return t &= 15, e &= 15, t === e ? 1 << t >>> 0 : 65535 >>> 15 - e ^ 65535 >>> 16 - t;
12077
12077
  }
12078
12078
  const dD = new Uint8Array(65536);
@@ -12150,16 +12150,16 @@ class Sh {
12150
12150
  let r = Cs(e);
12151
12151
  const i = Cs(n);
12152
12152
  if (r === i)
12153
- this.data[r] ^= ro(e, n);
12153
+ this.data[r] ^= io(e, n);
12154
12154
  else {
12155
- for (this.data[r++] ^= ro(e, 15); r < i; )
12155
+ for (this.data[r++] ^= io(e, 15); r < i; )
12156
12156
  this.data[r++] ^= 65535;
12157
- this.data[r++] ^= ro(0, n);
12157
+ this.data[r++] ^= io(0, n);
12158
12158
  }
12159
12159
  }
12160
12160
  get(e, n) {
12161
12161
  if (n === void 0)
12162
- return !!(this.data[Cs(e)] & ro(e, e));
12162
+ return !!(this.data[Cs(e)] & io(e, e));
12163
12163
  {
12164
12164
  let r = new Sh(n + 1);
12165
12165
  for (let i = e; i <= n; i++)
@@ -12210,7 +12210,7 @@ class Sh {
12210
12210
  let i = Cs(e);
12211
12211
  if (i > r)
12212
12212
  return -1;
12213
- let s = 65535 ^ ro(e, 15);
12213
+ let s = 65535 ^ io(e, 15);
12214
12214
  if ((n[i] | s) === 65535) {
12215
12215
  for (i++, s = 0; i < r && n[i] === 65535; i++)
12216
12216
  ;
@@ -12242,7 +12242,7 @@ class Sh {
12242
12242
  let i = Cs(e);
12243
12243
  if (i > r)
12244
12244
  return -1;
12245
- let s = ro(e, 15);
12245
+ let s = io(e, 15);
12246
12246
  if (!(n[i] & s)) {
12247
12247
  for (i++, s = 65535; i < r && n[i] === 0; i++)
12248
12248
  ;
@@ -12280,7 +12280,7 @@ class Sh {
12280
12280
  const n = this.data, r = n.length;
12281
12281
  let i = Cs(e);
12282
12282
  i >= r && (i = r - 1);
12283
- let s = 65535 ^ ro(0, e);
12283
+ let s = 65535 ^ io(0, e);
12284
12284
  if ((n[i] | s) === 65535) {
12285
12285
  for (s = 0, i--; i >= 0 && n[i] === 65535; i--)
12286
12286
  ;
@@ -12311,7 +12311,7 @@ class Sh {
12311
12311
  const n = this.data, r = n.length;
12312
12312
  let i = Cs(e);
12313
12313
  i >= r && (i = r - 1);
12314
- let s = ro(0, e);
12314
+ let s = io(0, e);
12315
12315
  if (!(n[i] & s)) {
12316
12316
  for (i--, s = 65535; i >= 0 && n[i] === 0; i--)
12317
12317
  ;
@@ -12333,11 +12333,11 @@ class Sh {
12333
12333
  s >= this.data.length && (s = this.data.length - 1, n = this.data.length * 16 - 1);
12334
12334
  }
12335
12335
  if (i === s)
12336
- this._setBits(i, r, ro(e, n));
12336
+ this._setBits(i, r, io(e, n));
12337
12337
  else {
12338
- for (this._setBits(i++, r, ro(e, 15)); i < s; )
12338
+ for (this._setBits(i++, r, io(e, 15)); i < s; )
12339
12339
  this.data[i++] = r ? 65535 : 0;
12340
- this._setBits(i, r, ro(0, n));
12340
+ this._setBits(i, r, io(0, n));
12341
12341
  }
12342
12342
  }
12343
12343
  _setBits(e, n, r) {
@@ -12473,7 +12473,7 @@ class Age {
12473
12473
  const e = this.data[this.index] & this.mask;
12474
12474
  if (e !== 0) {
12475
12475
  const n = mh(this.index) + xD(e);
12476
- return this.mask = ro(n + 1, 15), { done: !1, value: n };
12476
+ return this.mask = io(n + 1, 15), { done: !1, value: n };
12477
12477
  }
12478
12478
  this.index++, this.mask = 65535;
12479
12479
  }
@@ -12502,7 +12502,7 @@ function z3() {
12502
12502
  return S > 3 && C && Object.defineProperty(E, A, C), C;
12503
12503
  };
12504
12504
  Object.defineProperty(Sp, "__esModule", { value: !0 }), Sp.ATNConfigSet = void 0;
12505
- const e = ql, n = lu, r = sd, i = xu(), s = ud, o = fu, u = ye, a = Qs, l = cu(), c = Zw(), f = id, x = $i(), h = mn;
12505
+ const e = ql, n = lu, r = sd, i = xu(), s = ud, o = fu, u = ye, a = Gs, l = cu(), c = Zw(), f = id, x = $i(), h = mn;
12506
12506
  class p {
12507
12507
  hashCode(E) {
12508
12508
  return E.state ^ E.alt;
@@ -13165,7 +13165,7 @@ Aa([
13165
13165
  Ms.NotNull
13166
13166
  ], er.prototype, "getErrorListeners", null);
13167
13167
  Rc.Recognizer = er;
13168
- var Gs = {};
13168
+ var Ws = {};
13169
13169
  /*!
13170
13170
  * Copyright 2016 The ANTLR Project. All rights reserved.
13171
13171
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -13179,8 +13179,8 @@ var Oc = N && N.__decorate || function(t, e, n, r) {
13179
13179
  (o = t[u]) && (s = (i < 3 ? o(s) : i > 3 ? o(e, n, s) : o(e, n)) || s);
13180
13180
  return i > 3 && s && Object.defineProperty(e, n, s), s;
13181
13181
  };
13182
- Object.defineProperty(Gs, "__esModule", { value: !0 });
13183
- Gs.VocabularyImpl = void 0;
13182
+ Object.defineProperty(Ws, "__esModule", { value: !0 });
13183
+ Ws.VocabularyImpl = void 0;
13184
13184
  const Nl = ye, bge = Wt;
13185
13185
  class Zo {
13186
13186
  /**
@@ -13255,7 +13255,7 @@ Oc([
13255
13255
  Oc([
13256
13256
  Nl.NotNull
13257
13257
  ], Zo, "EMPTY_VOCABULARY", void 0);
13258
- Gs.VocabularyImpl = Zo;
13258
+ Ws.VocabularyImpl = Zo;
13259
13259
  var QM;
13260
13260
  function hY() {
13261
13261
  if (QM)
@@ -13275,7 +13275,7 @@ function hY() {
13275
13275
  return f > 3 && x && Object.defineProperty(a, l, x), x;
13276
13276
  };
13277
13277
  Object.defineProperty(Cp, "__esModule", { value: !0 }), Cp.DFASerializer = void 0;
13278
- const e = _C(), n = ye, r = cu(), i = Rc, s = Gs;
13278
+ const e = _C(), n = ye, r = cu(), i = Rc, s = Ws;
13279
13279
  let o = class {
13280
13280
  constructor(a, l, c, f) {
13281
13281
  l instanceof i.Recognizer ? (c = l.ruleNames, f = l.atn, l = l.vocabulary) : l || (l = s.VocabularyImpl.EMPTY_VOCABULARY), this.dfa = a, this.vocabulary = l, this.ruleNames = c, this.atn = f;
@@ -13370,7 +13370,7 @@ function Tge() {
13370
13370
  };
13371
13371
  };
13372
13372
  Object.defineProperty(bp, "__esModule", { value: !0 }), bp.LexerDFASerializer = void 0;
13373
- const n = hY(), r = ye, i = Gs;
13373
+ const n = hY(), r = ye, i = Ws;
13374
13374
  let s = class extends n.DFASerializer {
13375
13375
  constructor(u) {
13376
13376
  super(u, i.VocabularyImpl.EMPTY_VOCABULARY);
@@ -13438,7 +13438,7 @@ function gY() {
13438
13438
  };
13439
13439
  };
13440
13440
  Object.defineProperty(vp, "__esModule", { value: !0 }), vp.DFA = void 0;
13441
- const n = lu, r = z3(), i = hY(), s = SC(), o = Tge(), u = ye, a = Qs, l = Z2, c = Gs;
13441
+ const n = lu, r = z3(), i = hY(), s = SC(), o = Tge(), u = ye, a = Gs, l = Z2, c = Ws;
13442
13442
  let f = class {
13443
13443
  constructor(h, p = 0) {
13444
13444
  if (this.states = new n.Array2DHashSet(a.ObjectEqualityComparator.INSTANCE), this.nextStateNumber = 0, !h.atn)
@@ -13835,7 +13835,7 @@ function Qge() {
13835
13835
  };
13836
13836
  };
13837
13837
  Object.defineProperty(Tp, "__esModule", { value: !0 }), Tp.LL1Analyzer = void 0;
13838
- const n = K2, r = lu, i = ud, s = fu, o = xd(), u = ye, a = t9(), l = Qs, c = cu(), f = Nc, x = e1, h = Wt, p = Y3;
13838
+ const n = K2, r = lu, i = ud, s = fu, o = xd(), u = ye, a = t9(), l = Gs, c = cu(), f = Nc, x = e1, h = Wt, p = Y3;
13839
13839
  let m = class gD {
13840
13840
  constructor(y) {
13841
13841
  this.atn = y;
@@ -13996,7 +13996,7 @@ function xu() {
13996
13996
  };
13997
13997
  };
13998
13998
  Object.defineProperty(t, "__esModule", { value: !0 }), t.ATN = void 0;
13999
- const r = ql, i = gY(), s = xd(), o = G3, u = Qge(), a = ye, l = Qs, c = cu(), f = Wt, x = $i();
13999
+ const r = ql, i = gY(), s = xd(), o = G3, u = Qge(), a = ye, l = Gs, c = cu(), f = Wt, x = $i();
14000
14000
  let h = class {
14001
14001
  /** Used for runtime deserialization of ATNs from strings */
14002
14002
  constructor(m, g) {
@@ -17307,7 +17307,7 @@ function s1() {
17307
17307
  };
17308
17308
  };
17309
17309
  Object.defineProperty(Ip, "__esModule", { value: !0 }), Ip.ParserATNSimulator = void 0;
17310
- const n = H3, r = J3, i = lu, s = yC, o = xu(), u = ud, a = z3(), l = _C(), c = _r, f = ty, x = fu, h = BC, p = Ea, m = SC(), g = X2, y = Cr, E = Ul, A = ye, v = t9(), S = gy(), C = Qs, _ = Fo(), b = cu(), R = Zw(), O = IY, L = Nc, M = e1, q = id, W = e9(), B = $Y(), G = Wt, te = Gs, X = $i(), de = 65535, be = -(1 << 31 >>> 0);
17310
+ const n = H3, r = J3, i = lu, s = yC, o = xu(), u = ud, a = z3(), l = _C(), c = _r, f = ty, x = fu, h = BC, p = Ea, m = SC(), g = X2, y = Cr, E = Ul, A = ye, v = t9(), S = gy(), C = Gs, _ = Fo(), b = cu(), R = Zw(), O = IY, L = Nc, M = e1, q = id, W = e9(), B = $Y(), G = Wt, te = Ws, X = $i(), de = 65535, be = -(1 << 31 >>> 0);
17311
17311
  let ee = class at extends l.ATNSimulator {
17312
17312
  constructor(T, w) {
17313
17313
  super(T), this.predictionMode = O.PredictionMode.LL, this.force_global_context = !1, this.always_try_local_context = !0, this.enable_global_context_dfa = !1, this.optimize_unique_closure = !0, this.optimize_ll1 = !0, this.optimize_tail_calls = !0, this.tail_call_preserves_sll = !0, this.treat_sllk1_conflict_as_ambiguity = !1, this.reportAmbiguities = !1, this.userWantsCtxSensitive = !0, this._parser = w;
@@ -19718,7 +19718,7 @@ var _a = N && N.__decorate || function(t, e, n, r) {
19718
19718
  Object.defineProperty(fy, "__esModule", { value: !0 });
19719
19719
  fy.CodePointCharStream = void 0;
19720
19720
  const lj = $i(), fA = Ul, g3e = Cr, Ca = ye;
19721
- class Ws {
19721
+ class Vs {
19722
19722
  // Use the factory method {@link #fromBuffer(CodePointBuffer)} to
19723
19723
  // construct instances of this type.
19724
19724
  constructor(e, n, r, i) {
@@ -19728,7 +19728,7 @@ class Ws {
19728
19728
  return this._array;
19729
19729
  }
19730
19730
  static fromBuffer(e, n) {
19731
- return (n === void 0 || n.length === 0) && (n = fA.IntStream.UNKNOWN_SOURCE_NAME), new Ws(e.array(), e.position, e.remaining, n);
19731
+ return (n === void 0 || n.length === 0) && (n = fA.IntStream.UNKNOWN_SOURCE_NAME), new Vs(e.array(), e.position, e.remaining, n);
19732
19732
  }
19733
19733
  consume() {
19734
19734
  if (this._size - this._position === 0)
@@ -19776,35 +19776,35 @@ class Ws {
19776
19776
  }
19777
19777
  _a([
19778
19778
  Ca.Override
19779
- ], Ws.prototype, "consume", null);
19779
+ ], Vs.prototype, "consume", null);
19780
19780
  _a([
19781
19781
  Ca.Override
19782
- ], Ws.prototype, "index", null);
19782
+ ], Vs.prototype, "index", null);
19783
19783
  _a([
19784
19784
  Ca.Override
19785
- ], Ws.prototype, "size", null);
19785
+ ], Vs.prototype, "size", null);
19786
19786
  _a([
19787
19787
  Ca.Override
19788
- ], Ws.prototype, "mark", null);
19788
+ ], Vs.prototype, "mark", null);
19789
19789
  _a([
19790
19790
  Ca.Override
19791
- ], Ws.prototype, "release", null);
19791
+ ], Vs.prototype, "release", null);
19792
19792
  _a([
19793
19793
  Ca.Override
19794
- ], Ws.prototype, "seek", null);
19794
+ ], Vs.prototype, "seek", null);
19795
19795
  _a([
19796
19796
  Ca.Override
19797
- ], Ws.prototype, "sourceName", null);
19797
+ ], Vs.prototype, "sourceName", null);
19798
19798
  _a([
19799
19799
  Ca.Override
19800
- ], Ws.prototype, "toString", null);
19800
+ ], Vs.prototype, "toString", null);
19801
19801
  _a([
19802
19802
  Ca.Override
19803
- ], Ws.prototype, "LA", null);
19803
+ ], Vs.prototype, "LA", null);
19804
19804
  _a([
19805
19805
  Ca.Override
19806
- ], Ws.prototype, "getText", null);
19807
- fy.CodePointCharStream = Ws;
19806
+ ], Vs.prototype, "getText", null);
19807
+ fy.CodePointCharStream = Vs;
19808
19808
  (function(t) {
19809
19809
  /*!
19810
19810
  * Copyright 2016 The ANTLR Project. All rights reserved.
@@ -20903,7 +20903,7 @@ function C3e() {
20903
20903
  if (mj)
20904
20904
  return Qp;
20905
20905
  mj = 1, Object.defineProperty(Qp, "__esModule", { value: !0 }), Qp.XPathLexer = void 0;
20906
- const t = o1(), e = Hl(), n = K3(), r = Gs, i = mn;
20906
+ const t = o1(), e = Hl(), n = K3(), r = Ws, i = mn;
20907
20907
  let s = class Ts extends e.Lexer {
20908
20908
  // tslint:enable:no-trailing-whitespace
20909
20909
  constructor(u) {
@@ -23949,7 +23949,7 @@ var c1 = N && N.__decorate || function(t, e, n, r) {
23949
23949
  for (var u = t.length - 1; u >= 0; u--)
23950
23950
  (o = t[u]) && (s = (i < 3 ? o(s) : i > 3 ? o(e, n, s) : o(e, n)) || s);
23951
23951
  return i > 3 && s && Object.defineProperty(e, n, s), s;
23952
- }, mo = N && N.__param || function(t, e) {
23952
+ }, yo = N && N.__param || function(t, e) {
23953
23953
  return function(n, r) {
23954
23954
  e(n, r, t);
23955
23955
  };
@@ -24016,29 +24016,29 @@ c1([
24016
24016
  ], pd.prototype, "syntaxError", null);
24017
24017
  c1([
24018
24018
  Fr.Override,
24019
- mo(0, Fr.NotNull),
24020
- mo(1, Fr.NotNull),
24021
- mo(6, Fr.NotNull)
24019
+ yo(0, Fr.NotNull),
24020
+ yo(1, Fr.NotNull),
24021
+ yo(6, Fr.NotNull)
24022
24022
  ], pd.prototype, "reportAmbiguity", null);
24023
24023
  c1([
24024
24024
  Fr.Override,
24025
- mo(0, Fr.NotNull),
24026
- mo(1, Fr.NotNull),
24027
- mo(5, Fr.NotNull)
24025
+ yo(0, Fr.NotNull),
24026
+ yo(1, Fr.NotNull),
24027
+ yo(5, Fr.NotNull)
24028
24028
  ], pd.prototype, "reportAttemptingFullContext", null);
24029
24029
  c1([
24030
24030
  Fr.Override,
24031
- mo(0, Fr.NotNull),
24032
- mo(1, Fr.NotNull),
24033
- mo(5, Fr.NotNull)
24031
+ yo(0, Fr.NotNull),
24032
+ yo(1, Fr.NotNull),
24033
+ yo(5, Fr.NotNull)
24034
24034
  ], pd.prototype, "reportContextSensitivity", null);
24035
24035
  c1([
24036
- mo(0, Fr.NotNull),
24037
- mo(1, Fr.NotNull)
24036
+ yo(0, Fr.NotNull),
24037
+ yo(1, Fr.NotNull)
24038
24038
  ], pd.prototype, "getDecisionDescription", null);
24039
24039
  c1([
24040
24040
  Fr.NotNull,
24041
- mo(1, Fr.NotNull)
24041
+ yo(1, Fr.NotNull)
24042
24042
  ], pd.prototype, "getConflictingAlts", null);
24043
24043
  XC.DiagnosticErrorListener = pd;
24044
24044
  var JC = {};
@@ -24474,7 +24474,7 @@ Object.defineProperty(iK, "__esModule", { value: !0 });
24474
24474
  for (var s in r)
24475
24475
  s !== "default" && !Object.prototype.hasOwnProperty.call(i, s) && e(i, r, s);
24476
24476
  };
24477
- Object.defineProperty(t, "__esModule", { value: !0 }), n(FV, t), n(wV, t), n(dC, t), n(WY(), t), n(xy, t), n(VY, t), n(VC, t), n(c9, t), n(fy, t), n(Tc, t), n(vC, t), n(u1, t), n(Q3, t), n(x9(), t), n(YY, t), n(XC, t), n(bc, t), n(od, t), n(HY(), t), n(Ul, t), n(Hl(), t), n(JC, t), n(fd, t), n(dy, t), n(gy(), t), n(l1(), t), n(XY, t), n(zY(), t), n(Fo(), t), n(J2, t), n(cy, t), n(Do, t), n(Rc, t), n(LY(), t), n(ZC, t), n(eb, t), n(tb, t), n(Wt, t), n(ZY, t), n(eK, t), n(tK, t), n(a2, t), n(rK, t), n(Gs, t), n(iK, t);
24477
+ Object.defineProperty(t, "__esModule", { value: !0 }), n(FV, t), n(wV, t), n(dC, t), n(WY(), t), n(xy, t), n(VY, t), n(VC, t), n(c9, t), n(fy, t), n(Tc, t), n(vC, t), n(u1, t), n(Q3, t), n(x9(), t), n(YY, t), n(XC, t), n(bc, t), n(od, t), n(HY(), t), n(Ul, t), n(Hl(), t), n(JC, t), n(fd, t), n(dy, t), n(gy(), t), n(l1(), t), n(XY, t), n(zY(), t), n(Fo(), t), n(J2, t), n(cy, t), n(Do, t), n(Rc, t), n(LY(), t), n(ZC, t), n(eb, t), n(tb, t), n(Wt, t), n(ZY, t), n(eK, t), n(tK, t), n(a2, t), n(rK, t), n(Ws, t), n(iK, t);
24478
24478
  })(xC);
24479
24479
  var sb = {}, eye = N && N.__createBinding || (Object.create ? function(t, e, n, r) {
24480
24480
  r === void 0 && (r = n);
@@ -24499,7 +24499,7 @@ var sb = {}, eye = N && N.__createBinding || (Object.create ? function(t, e, n,
24499
24499
  };
24500
24500
  Object.defineProperty(sb, "__esModule", { value: !0 });
24501
24501
  sb.MalloyLexer = void 0;
24502
- const rye = o1(), iye = Hl(), sye = K3(), oye = Gs, sK = nye(mn);
24502
+ const rye = o1(), iye = Hl(), sye = K3(), oye = Ws, sK = nye(mn);
24503
24503
  class oe extends iye.Lexer {
24504
24504
  // @Override
24505
24505
  // @NotNull
@@ -25338,7 +25338,7 @@ F.WhereStatementContext = F.FilterClauseListContext = F.FieldPropertyStatementCo
25338
25338
  F.LiteralMonthContext = F.LiteralWeekContext = F.LiteralDayContext = F.LiteralHourContext = F.LiteralTimestampContext = F.DateLiteralContext = F.ExprNowContext = F.ExprRegexContext = F.ExprBoolContext = F.ExprNULLContext = F.ExprTimeContext = F.ExprNumberContext = F.ExprStringContext = F.LiteralContext = F.NumericLiteralContext = F.ShortStringContext = F.StringContext = F.CompareOpContext = F.MalloyTypeContext = F.AggregateContext = F.SampleSpecContext = F.QueryAnnotationContext = F.TimezoneStatementContext = F.SampleStatementContext = F.IndexStatementContext = F.IndexFieldsContext = F.IndexElementContext = F.TopStatementContext = F.BySpecContext = F.LimitStatementContext = F.OrderBySpecContext = F.OrderingContext = F.OrderByStatementContext = F.PartitionByStatementContext = F.ProjectStatementContext = F.CalculateStatementContext = F.AggregateStatementContext = F.NestDefContext = F.NestEntryContext = F.NestedQueryListContext = F.NestStatementContext = F.QueryFieldEntryContext = F.QueryFieldListContext = F.GroupByStatementContext = F.QueryJoinStatementContext = F.QueryStatementContext = F.ExploreQueryDefContext = F.ExploreQueryNameDefContext = F.SubQueryDefListContext = F.HavingStatementContext = void 0;
25339
25339
  F.JoinNameContext = F.FieldPathContext = F.CollectionMemberContext = F.RefExprContext = F.TaggedRefContext = F.StarQualifiedContext = F.CollectionWildCardContext = F.FieldCollectionContext = F.FieldNameListContext = F.ArgumentListContext = F.PickContext = F.PickStatementContext = F.PartialAllowedFieldExprContext = F.ExprUngroupContext = F.ExprPickContext = F.ExprFuncContext = F.ExprAggFuncContext = F.ExprExprContext = F.ExprAggregateContext = F.ExprPathlessAggregateContext = F.ExprCountDisinctContext = F.ExprCoalesceContext = F.ExprLogicalOrContext = F.ExprLogicalAndContext = F.ExprNotContext = F.ExprApplyContext = F.ExprCompareContext = F.ExprOrTreeContext = F.ExprAndTreeContext = F.ExprForRangeContext = F.ExprRangeContext = F.ExprAddSubContext = F.ExprMulDivContext = F.ExprMinusContext = F.ExprSafeCastContext = F.ExprCastContext = F.ExprTimeTruncContext = F.ExprDurationContext = F.ExprLiteralContext = F.ExprFieldPropsContext = F.ExprFieldPathContext = F.FieldExprContext = F.MalloyOrSQLTypeContext = F.UngroupContext = F.TimeframeContext = F.IdContext = F.TableURIContext = F.TablePathContext = F.LiteralYearContext = F.LiteralQuarterContext = void 0;
25340
25340
  F.ExperimentalStatementForTestingContext = F.ConnectionNameContext = F.NameSQLBlockContext = F.SqlExploreNameRefContext = F.JustExprContext = F.FieldNameContext = void 0;
25341
- const Zt = xu(), cye = o1(), fye = bc, an = gy(), xye = l1(), Ee = Fo(), dye = s1(), me = Do, Vn = Wt, hye = Gs, oK = lye(mn);
25341
+ const Zt = xu(), cye = o1(), fye = bc, an = gy(), xye = l1(), Ee = Fo(), dye = s1(), me = Do, Vn = Wt, hye = Ws, oK = lye(mn);
25342
25342
  class d extends xye.Parser {
25343
25343
  // @Override
25344
25344
  // @NotNull
@@ -35654,7 +35654,7 @@ var Nb = {}, yye = N && N.__createBinding || (Object.create ? function(t, e, n,
35654
35654
  };
35655
35655
  Object.defineProperty(Nb, "__esModule", { value: !0 });
35656
35656
  Nb.MalloyTagLexer = void 0;
35657
- const vye = o1(), Sye = Hl(), _ye = K3(), Cye = Gs, bye = Aye(mn);
35657
+ const vye = o1(), Sye = Hl(), _ye = K3(), Cye = Ws, bye = Aye(mn);
35658
35658
  class xt extends Sye.Lexer {
35659
35659
  // @Override
35660
35660
  // @NotNull
@@ -35829,7 +35829,7 @@ var Rt = {}, Tye = N && N.__createBinding || (Object.create ? function(t, e, n,
35829
35829
  };
35830
35830
  Object.defineProperty(Rt, "__esModule", { value: !0 });
35831
35831
  Rt.PropertiesContext = Rt.ArrayValueContext = Rt.ReferenceContext = Rt.ArrayElementContext = Rt.EqValueContext = Rt.PropNameContext = Rt.IdentifierContext = Rt.StringContext = Rt.TagDefContext = Rt.TagUpdatePropertiesContext = Rt.TagReplacePropertiesContext = Rt.TagEqContext = Rt.TagSpecContext = Rt.TagLineContext = Rt.MalloyTagParser = void 0;
35832
- const Nye = xu(), Dye = o1(), Fye = bc, uN = gy(), wye = l1(), Oa = Fo(), Lye = s1(), Nu = Do, Yj = Wt, Iye = Gs, $ye = Oye(mn);
35832
+ const Nye = xu(), Dye = o1(), Fye = bc, uN = gy(), wye = l1(), Oa = Fo(), Lye = s1(), Nu = Do, Yj = Wt, Iye = Ws, $ye = Oye(mn);
35833
35833
  class he extends wye.Parser {
35834
35834
  // @Override
35835
35835
  // @NotNull
@@ -37940,9 +37940,9 @@ class gL extends fAe.DynamicSpace {
37940
37940
  }
37941
37941
  }
37942
37942
  g1.RefinedSpace = gL;
37943
- var Bc = {}, Vs = {};
37944
- Object.defineProperty(Vs, "__esModule", { value: !0 });
37945
- Vs.DefinitionList = void 0;
37943
+ var Bc = {}, Ys = {};
37944
+ Object.defineProperty(Ys, "__esModule", { value: !0 });
37945
+ Ys.DefinitionList = void 0;
37946
37946
  const dAe = Ve, oU = Zr;
37947
37947
  class hAe extends dAe.ListOf {
37948
37948
  constructor() {
@@ -37960,10 +37960,10 @@ class hAe extends dAe.ListOf {
37960
37960
  super.newContents(), this.distributeAnnotation();
37961
37961
  }
37962
37962
  }
37963
- Vs.DefinitionList = hAe;
37963
+ Ys.DefinitionList = hAe;
37964
37964
  Object.defineProperty(Bc, "__esModule", { value: !0 });
37965
37965
  Bc.DeclareFields = void 0;
37966
- const pAe = Vs, gAe = Ln;
37966
+ const pAe = Ys, gAe = Ln;
37967
37967
  class mAe extends pAe.DefinitionList {
37968
37968
  constructor(e) {
37969
37969
  super(e), this.elementType = "declareFields", this.queryRefinementStage = gAe.LegalRefinementStage.Single, this.forceQueryClass = void 0;
@@ -38052,7 +38052,7 @@ eu.Filter = CAe;
38052
38052
  var ss = {};
38053
38053
  Object.defineProperty(ss, "__esModule", { value: !0 });
38054
38054
  ss.Joins = ss.ExpressionJoin = ss.KeyJoin = ss.Join = void 0;
38055
- const bAe = ne, TAe = En, RAe = Fy, OAe = Vs, NAe = Ve, DAe = Zr, FAe = Ln, cJ = ci;
38055
+ const bAe = ne, TAe = En, RAe = Fy, OAe = Ys, NAe = Ve, DAe = Zr, FAe = Ln, cJ = ci;
38056
38056
  class mL extends NAe.MalloyElement {
38057
38057
  constructor() {
38058
38058
  super(...arguments), this.isNoteableObj = !0, this.extendNote = DAe.extendNoteMethod;
@@ -38186,7 +38186,7 @@ y1.PrimaryKey = PAe;
38186
38186
  var E1 = {};
38187
38187
  Object.defineProperty(E1, "__esModule", { value: !0 });
38188
38188
  E1.Views = void 0;
38189
- const MAe = Vs;
38189
+ const MAe = Ys;
38190
38190
  class jAe extends MAe.DefinitionList {
38191
38191
  constructor() {
38192
38192
  super(...arguments), this.elementType = "turtleDefList";
@@ -39829,8 +39829,8 @@ function I4e(t, e) {
39829
39829
  Yn.typecheckGroupBy = I4e;
39830
39830
  Object.defineProperty(gt, "__esModule", { value: !0 });
39831
39831
  gt.FieldReferences = gt.WildcardFieldReference = gt.ViewOrScalarFieldReference = gt.DimensionFieldReference = gt.MeasureFieldReference = gt.DeclareFieldReference = gt.ProjectFieldReference = gt.GroupByFieldReference = gt.AggregateFieldReference = gt.IndexFieldReference = gt.CalculateFieldReference = gt.PartitionByFieldReference = gt.ExpressionFieldReference = gt.AcceptExceptFieldReference = gt.FieldReference = void 0;
39832
- const $4e = Hy, B4e = Vs, SJ = Ve, _J = Zr, Pc = Yn;
39833
- class Ys extends SJ.ListOf {
39832
+ const $4e = Hy, B4e = Ys, SJ = Ve, _J = Zr, Pc = Yn;
39833
+ class Ks extends SJ.ListOf {
39834
39834
  constructor(e) {
39835
39835
  super(e), this.isNoteableObj = !0, this.extendNote = _J.extendNoteMethod;
39836
39836
  }
@@ -39874,8 +39874,8 @@ class Ys extends SJ.ListOf {
39874
39874
  return n;
39875
39875
  }
39876
39876
  }
39877
- gt.FieldReference = Ys;
39878
- class k4e extends Ys {
39877
+ gt.FieldReference = Ks;
39878
+ class k4e extends Ks {
39879
39879
  constructor() {
39880
39880
  super(...arguments), this.elementType = "acceptExceptFieldReference";
39881
39881
  }
@@ -39884,7 +39884,7 @@ class k4e extends Ys {
39884
39884
  }
39885
39885
  }
39886
39886
  gt.AcceptExceptFieldReference = k4e;
39887
- class P4e extends Ys {
39887
+ class P4e extends Ks {
39888
39888
  constructor() {
39889
39889
  super(...arguments), this.elementType = "expressionFieldReference";
39890
39890
  }
@@ -39893,7 +39893,7 @@ class P4e extends Ys {
39893
39893
  }
39894
39894
  }
39895
39895
  gt.ExpressionFieldReference = P4e;
39896
- class M4e extends Ys {
39896
+ class M4e extends Ks {
39897
39897
  constructor() {
39898
39898
  super(...arguments), this.elementType = "partitionByFieldReference";
39899
39899
  }
@@ -39902,7 +39902,7 @@ class M4e extends Ys {
39902
39902
  }
39903
39903
  }
39904
39904
  gt.PartitionByFieldReference = M4e;
39905
- class j4e extends Ys {
39905
+ class j4e extends Ks {
39906
39906
  constructor() {
39907
39907
  super(...arguments), this.elementType = "calculateFieldReference";
39908
39908
  }
@@ -39911,7 +39911,7 @@ class j4e extends Ys {
39911
39911
  }
39912
39912
  }
39913
39913
  gt.CalculateFieldReference = j4e;
39914
- class AL extends Ys {
39914
+ class AL extends Ks {
39915
39915
  constructor() {
39916
39916
  super(...arguments), this.elementType = "indexFieldReference";
39917
39917
  }
@@ -39927,7 +39927,7 @@ class AL extends Ys {
39927
39927
  }
39928
39928
  }
39929
39929
  gt.IndexFieldReference = AL;
39930
- class U4e extends Ys {
39930
+ class U4e extends Ks {
39931
39931
  constructor() {
39932
39932
  super(...arguments), this.elementType = "aggregateFieldReference";
39933
39933
  }
@@ -39936,7 +39936,7 @@ class U4e extends Ys {
39936
39936
  }
39937
39937
  }
39938
39938
  gt.AggregateFieldReference = U4e;
39939
- class q4e extends Ys {
39939
+ class q4e extends Ks {
39940
39940
  constructor() {
39941
39941
  super(...arguments), this.elementType = "groupByFieldReference";
39942
39942
  }
@@ -39945,7 +39945,7 @@ class q4e extends Ys {
39945
39945
  }
39946
39946
  }
39947
39947
  gt.GroupByFieldReference = q4e;
39948
- class H4e extends Ys {
39948
+ class H4e extends Ks {
39949
39949
  constructor() {
39950
39950
  super(...arguments), this.elementType = "projectFieldReference";
39951
39951
  }
@@ -39954,7 +39954,7 @@ class H4e extends Ys {
39954
39954
  }
39955
39955
  }
39956
39956
  gt.ProjectFieldReference = H4e;
39957
- class z4e extends Ys {
39957
+ class z4e extends Ks {
39958
39958
  constructor() {
39959
39959
  super(...arguments), this.elementType = "declareFieldReference";
39960
39960
  }
@@ -39963,7 +39963,7 @@ class z4e extends Ys {
39963
39963
  }
39964
39964
  }
39965
39965
  gt.DeclareFieldReference = z4e;
39966
- class Q4e extends Ys {
39966
+ class Q4e extends Ks {
39967
39967
  constructor() {
39968
39968
  super(...arguments), this.elementType = "measureFieldReference";
39969
39969
  }
@@ -39972,7 +39972,7 @@ class Q4e extends Ys {
39972
39972
  }
39973
39973
  }
39974
39974
  gt.MeasureFieldReference = Q4e;
39975
- class G4e extends Ys {
39975
+ class G4e extends Ks {
39976
39976
  constructor() {
39977
39977
  super(...arguments), this.elementType = "dimensionFieldReference";
39978
39978
  }
@@ -39981,7 +39981,7 @@ class G4e extends Ys {
39981
39981
  }
39982
39982
  }
39983
39983
  gt.DimensionFieldReference = G4e;
39984
- class W4e extends Ys {
39984
+ class W4e extends Ks {
39985
39985
  constructor() {
39986
39986
  super(...arguments), this.elementType = "viewOrScalarFieldReference";
39987
39987
  }
@@ -40364,7 +40364,7 @@ N1.PartitionBy = N_e;
40364
40364
  var zy = {};
40365
40365
  Object.defineProperty(zy, "__esModule", { value: !0 });
40366
40366
  zy.ExprFunc = void 0;
40367
- const io = ne, Xa = br, D_e = vd, F_e = pt, bU = En;
40367
+ const so = ne, Xa = br, D_e = vd, F_e = pt, bU = En;
40368
40368
  class w_e extends F_e.ExpressionDef {
40369
40369
  constructor(e, n, r, i, s) {
40370
40370
  super({ args: n }), this.name = e, this.args = n, this.isRaw = r, this.rawType = i, this.source = s, this.elementType = "function call()", this.has({ source: s });
@@ -40388,12 +40388,12 @@ class w_e extends F_e.ExpressionDef {
40388
40388
  let O = "scalar", L;
40389
40389
  const M = [`${this.name}(`];
40390
40390
  for (const W of a)
40391
- O = (0, io.maxExpressionType)(O, W.expressionType), L ? M.push(",") : L = W.dataType, M.push(...W.value);
40391
+ O = (0, so.maxExpressionType)(O, W.expressionType), L ? M.push(",") : L = W.dataType, M.push(...W.value);
40392
40392
  return M.push(")"), {
40393
40393
  dataType: (i = (r = this.rawType) !== null && r !== void 0 ? r : L) !== null && i !== void 0 ? i : "number",
40394
40394
  expressionType: O,
40395
40395
  value: (0, bU.compressExpr)(M),
40396
- evalSpace: (0, io.mergeEvalSpaces)(...a.map((W) => W.evalSpace))
40396
+ evalSpace: (0, so.mergeEvalSpaces)(...a.map((W) => W.evalSpace))
40397
40397
  };
40398
40398
  }
40399
40399
  const l = (s = this.modelEntry(this.name.toLowerCase())) === null || s === void 0 ? void 0 : s.entry;
@@ -40407,7 +40407,7 @@ class w_e extends F_e.ExpressionDef {
40407
40407
  const O = this.source.getField(e).found;
40408
40408
  if (O) {
40409
40409
  const L = O.typeDesc();
40410
- if ((0, io.isAtomicFieldType)(L.dataType))
40410
+ if ((0, so.isAtomicFieldType)(L.dataType))
40411
40411
  c = {
40412
40412
  dataType: L.dataType,
40413
40413
  expressionType: L.expressionType,
@@ -40431,7 +40431,7 @@ class w_e extends F_e.ExpressionDef {
40431
40431
  return this.log(`No matching overload for function ${this.name}(${x.map((O) => O.dataType).join(", ")})`), (0, Xa.errorFor)("no matching overload");
40432
40432
  const { overload: p, expressionTypeErrors: m, evalSpaceErrors: g, nullabilityErrors: y } = h;
40433
40433
  for (const O of m) {
40434
- const L = O.argIndex - (c ? 1 : 0), M = (0, io.expressionIsScalar)(O.maxExpressionType) ? "scalar" : "scalar or aggregate";
40434
+ const L = O.argIndex - (c ? 1 : 0), M = (0, so.expressionIsScalar)(O.maxExpressionType) ? "scalar" : "scalar or aggregate";
40435
40435
  this.args[L].log(`Parameter ${O.argIndex + 1} ('${O.param.name}') of ${this.name} must be ${M}, but received ${O.actualExpressionType}`);
40436
40436
  }
40437
40437
  for (const O of g) {
@@ -40442,11 +40442,11 @@ class w_e extends F_e.ExpressionDef {
40442
40442
  const L = O.argIndex - (c ? 1 : 0);
40443
40443
  this.args[L].log(`Parameter ${O.argIndex + 1} ('${O.param.name}') of ${this.name} must not be a literal null`);
40444
40444
  }
40445
- const E = p.returnType, A = (0, io.maxOfExpressionTypes)([
40445
+ const E = p.returnType, A = (0, so.maxOfExpressionTypes)([
40446
40446
  E.expressionType,
40447
40447
  ...x.map((O) => O.expressionType)
40448
40448
  ]);
40449
- if (!(0, io.expressionIsAggregate)(p.returnType.expressionType) && this.source !== void 0)
40449
+ if (!(0, so.expressionIsAggregate)(p.returnType.expressionType) && this.source !== void 0)
40450
40450
  return this.log(`Cannot call function ${this.name}(${x.map((O) => O.dataType).join(", ")}) with source`), (0, Xa.errorFor)("cannot call with source");
40451
40451
  const v = {
40452
40452
  type: "function_call",
@@ -40462,7 +40462,7 @@ class w_e extends F_e.ExpressionDef {
40462
40462
  this.log(`Function ${this.name} is not defined in dialect ${C}`);
40463
40463
  else {
40464
40464
  if (n != null && n.orderBys && n.orderBys.length > 0) {
40465
- const O = (0, io.expressionIsAnalytic)(p.returnType.expressionType);
40465
+ const O = (0, so.expressionIsAnalytic)(p.returnType.expressionType);
40466
40466
  if (O || this.inExperiment("aggregate_order_by", !0) || n.orderBys[0].log("Enable experiment `aggregate_order_by` to use `order_by` with an aggregate function"), _.supportsOrderBy || O) {
40467
40467
  const L = _.supportsOrderBy !== "only_default", M = n.orderBys.flatMap((q) => O ? q.getAnalyticOrderBy(e) : q.getAggregateOrderBy(e, L));
40468
40468
  v.orderBy = M;
@@ -40476,7 +40476,7 @@ class w_e extends F_e.ExpressionDef {
40476
40476
  for (const L of n.partitionBys)
40477
40477
  for (const M of L.partitionFields) {
40478
40478
  const q = M.getField(e);
40479
- q.found === void 0 ? M.log(`${M.refString} is not defined`) : (0, io.expressionIsAnalytic)(q.found.typeDesc().expressionType) || (0, io.expressionIsUngroupedAggregate)(q.found.typeDesc().expressionType) ? M.log("Partition expression must be scalar or aggregate") : O.push(M.nameString);
40479
+ q.found === void 0 ? M.log(`${M.refString} is not defined`) : (0, so.expressionIsAnalytic)(q.found.typeDesc().expressionType) || (0, so.expressionIsUngroupedAggregate)(q.found.typeDesc().expressionType) ? M.log("Partition expression must be scalar or aggregate") : O.push(M.nameString);
40480
40480
  }
40481
40481
  v.partitionBy = O;
40482
40482
  }
@@ -40508,7 +40508,7 @@ class w_e extends F_e.ExpressionDef {
40508
40508
  }
40509
40509
  if (E.dataType === "any")
40510
40510
  return this.log(`Invalid return type ${E.dataType} for function '${this.name}'`), (0, Xa.errorFor)("invalid return type");
40511
- const b = (0, io.mergeEvalSpaces)(...x.map((O) => O.evalSpace)), R = b === "constant" ? "constant" : (0, io.expressionIsScalar)(A) ? b : "output";
40511
+ const b = (0, so.mergeEvalSpaces)(...x.map((O) => O.evalSpace)), R = b === "constant" ? "constant" : (0, so.expressionIsScalar)(A) ? b : "output";
40512
40512
  return {
40513
40513
  dataType: E.dataType,
40514
40514
  expressionType: A,
@@ -40533,7 +40533,7 @@ function L_e(t, e) {
40533
40533
  // does not make sense to limit function calls to not allow nulls, since have
40534
40534
  // so little control over nullability.
40535
40535
  c.dataType === "null" || c.dataType === "error";
40536
- return h.expressionType && ((0, io.isExpressionTypeLEQ)(c.expressionType, h.expressionType) || o.push({
40536
+ return h.expressionType && ((0, so.isExpressionTypeLEQ)(c.expressionType, h.expressionType) || o.push({
40537
40537
  argIndex: l,
40538
40538
  maxExpressionType: h.expressionType,
40539
40539
  actualExpressionType: c.expressionType,
@@ -41270,7 +41270,7 @@ class TJ extends bd {
41270
41270
  super(`Invalid unit ${e}`);
41271
41271
  }
41272
41272
  }
41273
- class uo extends bd {
41273
+ class ao extends bd {
41274
41274
  }
41275
41275
  class x0 extends bd {
41276
41276
  constructor() {
@@ -41521,7 +41521,7 @@ function yT(t, e) {
41521
41521
  function VJ(t) {
41522
41522
  const e = Number(t);
41523
41523
  if (typeof t == "boolean" || t === "" || Number.isNaN(e))
41524
- throw new uo(`Invalid unit value ${t}`);
41524
+ throw new ao(`Invalid unit value ${t}`);
41525
41525
  return e;
41526
41526
  }
41527
41527
  function bS(t, e) {
@@ -42838,25 +42838,25 @@ const hbe = "Invalid Duration", lZ = {
42838
42838
  milliseconds: 30 * 24 * 60 * 60 * 1e3
42839
42839
  },
42840
42840
  ...lZ
42841
- }, Zs = 146097 / 400, ih = 146097 / 4800, gbe = {
42841
+ }, eo = 146097 / 400, ih = 146097 / 4800, gbe = {
42842
42842
  years: {
42843
42843
  quarters: 4,
42844
42844
  months: 12,
42845
- weeks: Zs / 7,
42846
- days: Zs,
42847
- hours: Zs * 24,
42848
- minutes: Zs * 24 * 60,
42849
- seconds: Zs * 24 * 60 * 60,
42850
- milliseconds: Zs * 24 * 60 * 60 * 1e3
42845
+ weeks: eo / 7,
42846
+ days: eo,
42847
+ hours: eo * 24,
42848
+ minutes: eo * 24 * 60,
42849
+ seconds: eo * 24 * 60 * 60,
42850
+ milliseconds: eo * 24 * 60 * 60 * 1e3
42851
42851
  },
42852
42852
  quarters: {
42853
42853
  months: 3,
42854
- weeks: Zs / 28,
42855
- days: Zs / 4,
42856
- hours: Zs * 24 / 4,
42857
- minutes: Zs * 24 * 60 / 4,
42858
- seconds: Zs * 24 * 60 * 60 / 4,
42859
- milliseconds: Zs * 24 * 60 * 60 * 1e3 / 4
42854
+ weeks: eo / 28,
42855
+ days: eo / 4,
42856
+ hours: eo * 24 / 4,
42857
+ minutes: eo * 24 * 60 / 4,
42858
+ seconds: eo * 24 * 60 * 60 / 4,
42859
+ milliseconds: eo * 24 * 60 * 60 * 1e3 / 4
42860
42860
  },
42861
42861
  months: {
42862
42862
  weeks: ih / 7,
@@ -42937,7 +42937,7 @@ class vt {
42937
42937
  */
42938
42938
  static fromObject(e, n = {}) {
42939
42939
  if (e == null || typeof e != "object")
42940
- throw new uo(
42940
+ throw new ao(
42941
42941
  `Duration.fromObject: argument expected to be an object, got ${e === null ? "null" : typeof e}`
42942
42942
  );
42943
42943
  return new vt({
@@ -42963,7 +42963,7 @@ class vt {
42963
42963
  return e;
42964
42964
  if (typeof e == "object")
42965
42965
  return vt.fromObject(e);
42966
- throw new uo(
42966
+ throw new ao(
42967
42967
  `Unknown duration argument ${e} of type ${typeof e}`
42968
42968
  );
42969
42969
  }
@@ -43011,7 +43011,7 @@ class vt {
43011
43011
  */
43012
43012
  static invalid(e, n = null) {
43013
43013
  if (!e)
43014
- throw new uo("need to specify a reason the Duration is invalid");
43014
+ throw new ao("need to specify a reason the Duration is invalid");
43015
43015
  const r = e instanceof Qo ? e : new Qo(e, n);
43016
43016
  if (Hn.throwOnInvalid)
43017
43017
  throw new Y5e(r);
@@ -43467,7 +43467,7 @@ class dn {
43467
43467
  */
43468
43468
  static invalid(e, n = null) {
43469
43469
  if (!e)
43470
- throw new uo("need to specify a reason the Interval is invalid");
43470
+ throw new ao("need to specify a reason the Interval is invalid");
43471
43471
  const r = e instanceof Qo ? e : new Qo(e, n);
43472
43472
  if (Hn.throwOnInvalid)
43473
43473
  throw new V5e(r);
@@ -44384,7 +44384,7 @@ function Pbe(t, e, n) {
44384
44384
  return [r, i, s, o];
44385
44385
  }
44386
44386
  const hZ = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334], pZ = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335];
44387
- function co(t, e) {
44387
+ function fo(t, e) {
44388
44388
  return new Qo(
44389
44389
  "unit out of range",
44390
44390
  `you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`
@@ -44425,19 +44425,19 @@ function VU(t) {
44425
44425
  }
44426
44426
  function Mbe(t) {
44427
44427
  const e = mT(t.weekYear), n = ll(t.weekNumber, 1, CS(t.weekYear)), r = ll(t.weekday, 1, 7);
44428
- return e ? n ? r ? !1 : co("weekday", t.weekday) : co("week", t.week) : co("weekYear", t.weekYear);
44428
+ return e ? n ? r ? !1 : fo("weekday", t.weekday) : fo("week", t.week) : fo("weekYear", t.weekYear);
44429
44429
  }
44430
44430
  function jbe(t) {
44431
44431
  const e = mT(t.year), n = ll(t.ordinal, 1, ym(t.year));
44432
- return e ? n ? !1 : co("ordinal", t.ordinal) : co("year", t.year);
44432
+ return e ? n ? !1 : fo("ordinal", t.ordinal) : fo("year", t.year);
44433
44433
  }
44434
44434
  function EZ(t) {
44435
44435
  const e = mT(t.year), n = ll(t.month, 1, 12), r = ll(t.day, 1, _S(t.year, t.month));
44436
- return e ? n ? r ? !1 : co("day", t.day) : co("month", t.month) : co("year", t.year);
44436
+ return e ? n ? r ? !1 : fo("day", t.day) : fo("month", t.month) : fo("year", t.year);
44437
44437
  }
44438
44438
  function AZ(t) {
44439
44439
  const { hour: e, minute: n, second: r, millisecond: i } = t, s = ll(e, 0, 23) || e === 24 && n === 0 && r === 0 && i === 0, o = ll(n, 0, 59), u = ll(r, 0, 59), a = ll(i, 0, 999);
44440
- return s ? o ? u ? a ? !1 : co("millisecond", i) : co("second", r) : co("minute", n) : co("hour", e);
44440
+ return s ? o ? u ? a ? !1 : fo("millisecond", i) : fo("second", r) : fo("minute", n) : fo("hour", e);
44441
44441
  }
44442
44442
  const _N = "Invalid DateTime", YU = 864e13;
44443
44443
  function CA(t) {
@@ -44739,7 +44739,7 @@ class ot {
44739
44739
  zone: O0(n.zone, Hn.defaultZone),
44740
44740
  loc: gn.fromObject(n)
44741
44741
  });
44742
- throw new uo(
44742
+ throw new ao(
44743
44743
  `fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`
44744
44744
  );
44745
44745
  }
@@ -44760,7 +44760,7 @@ class ot {
44760
44760
  zone: O0(n.zone, Hn.defaultZone),
44761
44761
  loc: gn.fromObject(n)
44762
44762
  });
44763
- throw new uo("fromSeconds requires a numerical input");
44763
+ throw new ao("fromSeconds requires a numerical input");
44764
44764
  }
44765
44765
  /**
44766
44766
  * Create a DateTime from a JavaScript object with keys like 'year' and 'hour' with reasonable defaults.
@@ -44896,7 +44896,7 @@ class ot {
44896
44896
  */
44897
44897
  static fromFormat(e, n, r = {}) {
44898
44898
  if (At(e) || At(n))
44899
- throw new uo("fromFormat requires an input string and a format");
44899
+ throw new ao("fromFormat requires an input string and a format");
44900
44900
  const { locale: i = null, numberingSystem: s = null } = r, o = gn.fromOpts({
44901
44901
  locale: i,
44902
44902
  numberingSystem: s,
@@ -44942,7 +44942,7 @@ class ot {
44942
44942
  */
44943
44943
  static invalid(e, n = null) {
44944
44944
  if (!e)
44945
- throw new uo("need to specify a reason the DateTime is invalid");
44945
+ throw new ao("need to specify a reason the DateTime is invalid");
44946
44946
  const r = e instanceof Qo ? e : new Qo(e, n);
44947
44947
  if (Hn.throwOnInvalid)
44948
44948
  throw new W5e(r);
@@ -45811,7 +45811,7 @@ class ot {
45811
45811
  */
45812
45812
  static min(...e) {
45813
45813
  if (!e.every(ot.isDateTime))
45814
- throw new uo("min requires all arguments be DateTimes");
45814
+ throw new ao("min requires all arguments be DateTimes");
45815
45815
  return LU(e, (n) => n.valueOf(), Math.min);
45816
45816
  }
45817
45817
  /**
@@ -45821,7 +45821,7 @@ class ot {
45821
45821
  */
45822
45822
  static max(...e) {
45823
45823
  if (!e.every(ot.isDateTime))
45824
- throw new uo("max requires all arguments be DateTimes");
45824
+ throw new ao("max requires all arguments be DateTimes");
45825
45825
  return LU(e, (n) => n.valueOf(), Math.max);
45826
45826
  }
45827
45827
  // MISC
@@ -46009,7 +46009,7 @@ function yg(t) {
46009
46009
  return ot.fromJSDate(t);
46010
46010
  if (t && typeof t == "object")
46011
46011
  return ot.fromObject(t);
46012
- throw new uo(
46012
+ throw new ao(
46013
46013
  `Unknown datetime argument: ${t}, of type ${typeof t}`
46014
46014
  );
46015
46015
  }
@@ -46045,7 +46045,7 @@ function Td(t, e) {
46045
46045
  }
46046
46046
  return { text: n };
46047
46047
  }
46048
- const bZ = "yyyy", TZ = `${bZ}-LL`, yo = `${TZ}-dd`, RZ = `${yo} HH`, OZ = `${RZ}:mm`, kD = `${OZ}:ss`;
46048
+ const bZ = "yyyy", TZ = `${bZ}-LL`, Eo = `${TZ}-dd`, RZ = `${Eo} HH`, OZ = `${RZ}:mm`, kD = `${OZ}:ss`;
46049
46049
  class NZ extends BD.ExpressionDef {
46050
46050
  constructor(e, n, r) {
46051
46051
  super(), this.units = n, this.timeType = r, this.literalPart = e.text, e.tzSpec && (this.timeZone = e.tzSpec);
@@ -46161,9 +46161,9 @@ class FL extends Yy {
46161
46161
  static parse(e) {
46162
46162
  const n = Td(e, !1);
46163
46163
  let r = n.text;
46164
- const i = uc.DateTime.fromFormat(n.text, yo);
46164
+ const i = uc.DateTime.fromFormat(n.text, Eo);
46165
46165
  if (i.isValid)
46166
- return r = i.plus({ day: 1 }).toFormat(yo), new FL(n, r);
46166
+ return r = i.plus({ day: 1 }).toFormat(Eo), new FL(n, r);
46167
46167
  }
46168
46168
  }
46169
46169
  xr.LiteralDay = FL;
@@ -46174,10 +46174,10 @@ class wL extends Yy {
46174
46174
  static parse(e) {
46175
46175
  const n = Td(e, !1);
46176
46176
  let r = n.text;
46177
- const i = n.text.slice(0, 10), s = uc.DateTime.fromFormat(i, yo);
46177
+ const i = n.text.slice(0, 10), s = uc.DateTime.fromFormat(i, Eo);
46178
46178
  if (s.isValid && s.weekday === 7) {
46179
46179
  const u = s.plus({ days: 7 });
46180
- return n.text = s.toFormat(yo), r = u.toFormat(yo), new wL(n, r);
46180
+ return n.text = s.toFormat(Eo), r = u.toFormat(Eo), new wL(n, r);
46181
46181
  }
46182
46182
  }
46183
46183
  }
@@ -46192,7 +46192,7 @@ class LL extends Yy {
46192
46192
  const i = uc.DateTime.fromFormat(n.text, TZ);
46193
46193
  if (i.isValid) {
46194
46194
  const s = i.plus({ months: 1 });
46195
- return n.text = i.toFormat(yo), r = s.toFormat(yo), new LL(n, r);
46195
+ return n.text = i.toFormat(Eo), r = s.toFormat(Eo), new LL(n, r);
46196
46196
  }
46197
46197
  }
46198
46198
  }
@@ -46210,7 +46210,7 @@ class IL extends Yy {
46210
46210
  let o = uc.DateTime.fromFormat(i[1], "yyyy");
46211
46211
  s > 0 && (o = o.plus({ quarters: s }));
46212
46212
  const u = o.plus({ quarter: 1 });
46213
- return n.text = o.toFormat(yo), r = u.toFormat(yo), new IL(n, r);
46213
+ return n.text = o.toFormat(Eo), r = u.toFormat(Eo), new IL(n, r);
46214
46214
  }
46215
46215
  }
46216
46216
  }
@@ -46225,7 +46225,7 @@ class $L extends Yy {
46225
46225
  const i = uc.DateTime.fromFormat(n.text, bZ);
46226
46226
  if (i.isValid) {
46227
46227
  const s = i.plus({ year: 1 });
46228
- return n.text = i.toFormat(yo), r = s.toFormat(yo), new $L(n, r);
46228
+ return n.text = i.toFormat(Eo), r = s.toFormat(Eo), new $L(n, r);
46229
46229
  }
46230
46230
  }
46231
46231
  }
@@ -46753,7 +46753,7 @@ NT.IndexBuilder = XTe;
46753
46753
  var FT = {}, eE = {};
46754
46754
  Object.defineProperty(eE, "__esModule", { value: !0 });
46755
46755
  eE.GroupBy = void 0;
46756
- const JTe = Vs, cq = Ln;
46756
+ const JTe = Ys, cq = Ln;
46757
46757
  class ZTe extends JTe.DefinitionList {
46758
46758
  constructor() {
46759
46759
  super(...arguments), this.elementType = "groupBy", this.queryRefinementStage = cq.LegalRefinementStage.Single, this.forceQueryClass = cq.QueryClass.Grouping;
@@ -46830,7 +46830,7 @@ let c6e = class extends a6e.MalloyElement {
46830
46830
  tE.Top = c6e;
46831
46831
  Object.defineProperty(ac, "__esModule", { value: !0 });
46832
46832
  ac.ReduceBuilder = ac.QuerySegmentBuilder = void 0;
46833
- const dq = ne, f6e = ci, x6e = eu, d6e = Mc, hq = Lx, pq = tE, h6e = Yo, p6e = Vs;
46833
+ const dq = ne, f6e = ci, x6e = eu, d6e = Mc, hq = Lx, pq = tE, h6e = Yo, p6e = Ys;
46834
46834
  class FZ {
46835
46835
  constructor() {
46836
46836
  this.filters = [];
@@ -47198,7 +47198,7 @@ pn.FieldDefinitionValue = wZ;
47198
47198
  var IT = {};
47199
47199
  Object.defineProperty(IT, "__esModule", { value: !0 });
47200
47200
  IT.Aggregate = void 0;
47201
- const J6e = Vs, yq = Ln;
47201
+ const J6e = Ys, yq = Ln;
47202
47202
  let Z6e = class extends J6e.DefinitionList {
47203
47203
  constructor() {
47204
47204
  super(...arguments), this.elementType = "aggregateList", this.queryRefinementStage = yq.LegalRefinementStage.Single, this.forceQueryClass = yq.QueryClass.Grouping;
@@ -47208,7 +47208,7 @@ IT.Aggregate = Z6e;
47208
47208
  var $T = {};
47209
47209
  Object.defineProperty($T, "__esModule", { value: !0 });
47210
47210
  $T.Calculate = void 0;
47211
- const eRe = Vs, tRe = Ln;
47211
+ const eRe = Ys, tRe = Ln;
47212
47212
  class nRe extends eRe.DefinitionList {
47213
47213
  constructor() {
47214
47214
  super(...arguments), this.elementType = "calculate", this.forceQueryClass = void 0, this.needsExplicitQueryClass = !0, this.queryRefinementStage = tRe.LegalRefinementStage.Single;
@@ -47238,7 +47238,7 @@ rE.Measures = oRe;
47238
47238
  var BT = {};
47239
47239
  Object.defineProperty(BT, "__esModule", { value: !0 });
47240
47240
  BT.Nests = void 0;
47241
- const uRe = Vs, Eq = Ln;
47241
+ const uRe = Ys, Eq = Ln;
47242
47242
  class aRe extends uRe.DefinitionList {
47243
47243
  constructor(e) {
47244
47244
  super(e), this.elementType = "nestedQueries", this.queryRefinementStage = Eq.LegalRefinementStage.Single, this.forceQueryClass = Eq.QueryClass.Grouping;
@@ -47248,7 +47248,7 @@ BT.Nests = aRe;
47248
47248
  var kT = {};
47249
47249
  Object.defineProperty(kT, "__esModule", { value: !0 });
47250
47250
  kT.ProjectStatement = void 0;
47251
- const lRe = Vs, Aq = Ln;
47251
+ const lRe = Ys, Aq = Ln;
47252
47252
  class cRe extends lRe.DefinitionList {
47253
47253
  constructor() {
47254
47254
  super(...arguments), this.elementType = "projectStatement", this.forceQueryClass = Aq.QueryClass.Project, this.queryRefinementStage = Aq.LegalRefinementStage.Single;
@@ -52423,7 +52423,7 @@ async function NS() {
52423
52423
  setTimeout(e, 0);
52424
52424
  });
52425
52425
  }
52426
- function So(t, e) {
52426
+ function js(t, e) {
52427
52427
  const n = t.createElement("span");
52428
52428
  return n.classList.add("error"), n.appendChild(
52429
52429
  t.createTextNode(typeof e == "string" ? e : e.message)
@@ -52530,7 +52530,7 @@ class Dee {
52530
52530
  this.document = e;
52531
52531
  }
52532
52532
  async render(e) {
52533
- !e.isArray() && !e.isRecord() && So(this.document, "Invalid data for chart renderer.");
52533
+ !e.isArray() && !e.isRecord() && js(this.document, "Invalid data for chart renderer.");
52534
52534
  const n = this.document.createElement("pre");
52535
52535
  return n.appendChild(
52536
52536
  this.document.createTextNode(JSON.stringify(e.value, void 0, 2))
@@ -52643,7 +52643,7 @@ class Hc {
52643
52643
  try {
52644
52644
  n = this.getText(e);
52645
52645
  } catch (i) {
52646
- return So(this.document, i);
52646
+ return js(this.document, i);
52647
52647
  }
52648
52648
  if (n === null)
52649
52649
  return uE(this.document);
@@ -52674,7 +52674,7 @@ class XL extends s6 {
52674
52674
  }
52675
52675
  async render(e) {
52676
52676
  if (!e.isArrayOrRecord())
52677
- return So(
52677
+ return js(
52678
52678
  this.document,
52679
52679
  "Invalid data for dashboard renderer."
52680
52680
  );
@@ -52864,7 +52864,7 @@ class Lee extends s6 {
52864
52864
  }
52865
52865
  async render(e) {
52866
52866
  if (!e.isArray())
52867
- return So(
52867
+ return js(
52868
52868
  this.document,
52869
52869
  "Invalid data for chart renderer."
52870
52870
  );
@@ -105804,7 +105804,7 @@ const EFe = "Topology", AFe = [
105804
105804
  objects: SFe,
105805
105805
  arcs: _Fe
105806
105806
  };
105807
- function Ks(t, e, n) {
105807
+ function Xs(t, e, n) {
105808
105808
  return t.fields = e || [], t.fname = n, t;
105809
105809
  }
105810
105810
  function Mn(t) {
@@ -105848,11 +105848,11 @@ function Jl(t) {
105848
105848
  }
105849
105849
  return i && Se("Access path missing closing bracket: " + t), r && Se("Access path missing closing quote: " + t), u > o && (u++, l()), e;
105850
105850
  }
105851
- function js(t, e, n) {
105851
+ function Us(t, e, n) {
105852
105852
  const r = Jl(t);
105853
- return t = r.length === 1 ? r[0] : t, Ks((n && n.get || $ee)(r), [t], e || t);
105853
+ return t = r.length === 1 ? r[0] : t, Xs((n && n.get || $ee)(r), [t], e || t);
105854
105854
  }
105855
- const o6 = js("id"), ki = Ks((t) => t, [], "identity"), Qf = Ks(() => 0, [], "zero"), aE = Ks(() => 1, [], "one"), nu = Ks(() => !0, [], "true"), Lf = Ks(() => !1, [], "false");
105855
+ const o6 = Us("id"), ki = Xs((t) => t, [], "identity"), Qf = Xs(() => 0, [], "zero"), aE = Xs(() => 1, [], "one"), nu = Xs(() => !0, [], "true"), Lf = Xs(() => !1, [], "false");
105856
105856
  function TFe(t, e, n) {
105857
105857
  const r = [e].concat([].slice.call(n));
105858
105858
  console[t].apply(console, r);
@@ -105981,8 +105981,8 @@ function Gee(t, e, n) {
105981
105981
  n = n || {}, e = ke(e) || [];
105982
105982
  const r = [], i = [], s = {}, o = n.comparator || MFe;
105983
105983
  return ke(t).forEach((u, a) => {
105984
- u != null && (r.push(e[a] === PFe ? -1 : 1), i.push(u = ft(u) ? u : js(u, null, n)), (Di(u) || []).forEach((l) => s[l] = 1));
105985
- }), i.length === 0 ? null : Ks(o(i, r), Object.keys(s));
105984
+ u != null && (r.push(e[a] === PFe ? -1 : 1), i.push(u = ft(u) ? u : Us(u, null, n)), (Di(u) || []).forEach((l) => s[l] = 1));
105985
+ }), i.length === 0 ? null : Xs(o(i, r), Object.keys(s));
105986
105986
  }
105987
105987
  const ZL = (t, e) => (t < e || t == null) && e != null ? -1 : (t > e || e == null) && t != null ? 1 : (e = e instanceof Date ? +e : e, (t = t instanceof Date ? +t : t) !== t && e === e ? -1 : e !== e && t === t ? 1 : 0), MFe = (t, e) => t.length === 1 ? jFe(t[0], e[0]) : UFe(t, e, t.length), jFe = (t, e) => function(n, r) {
105988
105988
  return ZL(t(n), t(r)) * e;
@@ -106157,7 +106157,7 @@ function Vee(t, e, n) {
106157
106157
  return l;
106158
106158
  };
106159
106159
  }
106160
- return Ks(o, t, "key");
106160
+ return Xs(o, t, "key");
106161
106161
  }
106162
106162
  function WFe(t, e) {
106163
106163
  const n = t[0], r = _t(t), i = +e;
@@ -106491,7 +106491,7 @@ function i3(t, e) {
106491
106491
  et(t, r) && (n[r] = t[r]);
106492
106492
  return n;
106493
106493
  }
106494
- function Eo(t, e) {
106494
+ function Ao(t, e) {
106495
106495
  const n = Object.assign({}, t);
106496
106496
  for (const r of e)
106497
106497
  delete n[r];
@@ -106725,7 +106725,7 @@ const ote = {
106725
106725
  row: 1,
106726
106726
  column: 1,
106727
106727
  facet: 1
106728
- }, fo = Re(ote), uI = Object.assign(Object.assign({}, oI), ote), E8e = Re(uI), A8e = cE(uI, ["order", "detail", "tooltip"]), v8e = cE(A8e, ["row", "column", "facet"]);
106728
+ }, xo = Re(ote), uI = Object.assign(Object.assign({}, oI), ote), E8e = Re(uI), A8e = cE(uI, ["order", "detail", "tooltip"]), v8e = cE(A8e, ["row", "column", "facet"]);
106729
106729
  function S8e(t) {
106730
106730
  return !!v8e[t];
106731
106731
  }
@@ -108679,7 +108679,7 @@ S2.every = (t) => (t = Math.floor(t), !isFinite(t) || !(t > 0) ? null : t > 1 ?
108679
108679
  e.setTime(+e + n * t);
108680
108680
  }, (e, n) => (n - e) / t) : S2);
108681
108681
  S2.range;
108682
- const dl = 1e3, xo = dl * 60, hl = xo * 60, Bl = hl * 24, NI = Bl * 7, fH = Bl * 30, GN = Bl * 365, pl = sr((t) => {
108682
+ const dl = 1e3, ho = dl * 60, hl = ho * 60, Bl = hl * 24, NI = Bl * 7, fH = Bl * 30, GN = Bl * 365, pl = sr((t) => {
108683
108683
  t.setTime(t - t.getMilliseconds());
108684
108684
  }, (t, e) => {
108685
108685
  t.setTime(+t + e * dl);
@@ -108688,17 +108688,17 @@ pl.range;
108688
108688
  const S6 = sr((t) => {
108689
108689
  t.setTime(t - t.getMilliseconds() - t.getSeconds() * dl);
108690
108690
  }, (t, e) => {
108691
- t.setTime(+t + e * xo);
108692
- }, (t, e) => (e - t) / xo, (t) => t.getMinutes());
108691
+ t.setTime(+t + e * ho);
108692
+ }, (t, e) => (e - t) / ho, (t) => t.getMinutes());
108693
108693
  S6.range;
108694
108694
  const _6 = sr((t) => {
108695
108695
  t.setUTCSeconds(0, 0);
108696
108696
  }, (t, e) => {
108697
- t.setTime(+t + e * xo);
108698
- }, (t, e) => (e - t) / xo, (t) => t.getUTCMinutes());
108697
+ t.setTime(+t + e * ho);
108698
+ }, (t, e) => (e - t) / ho, (t) => t.getUTCMinutes());
108699
108699
  _6.range;
108700
108700
  const C6 = sr((t) => {
108701
- t.setTime(t - t.getMilliseconds() - t.getSeconds() * dl - t.getMinutes() * xo);
108701
+ t.setTime(t - t.getMilliseconds() - t.getSeconds() * dl - t.getMinutes() * ho);
108702
108702
  }, (t, e) => {
108703
108703
  t.setTime(+t + e * hl);
108704
108704
  }, (t, e) => (e - t) / hl, (t) => t.getHours());
@@ -108712,7 +108712,7 @@ b6.range;
108712
108712
  const bl = sr(
108713
108713
  (t) => t.setHours(0, 0, 0, 0),
108714
108714
  (t, e) => t.setDate(t.getDate() + e),
108715
- (t, e) => (e - t - (e.getTimezoneOffset() - t.getTimezoneOffset()) * xo) / Bl,
108715
+ (t, e) => (e - t - (e.getTimezoneOffset() - t.getTimezoneOffset()) * ho) / Bl,
108716
108716
  (t) => t.getDate() - 1
108717
108717
  );
108718
108718
  bl.range;
@@ -108733,7 +108733,7 @@ function wd(t) {
108733
108733
  e.setDate(e.getDate() - (e.getDay() + 7 - t) % 7), e.setHours(0, 0, 0, 0);
108734
108734
  }, (e, n) => {
108735
108735
  e.setDate(e.getDate() + n * 7);
108736
- }, (e, n) => (n - e - (n.getTimezoneOffset() - e.getTimezoneOffset()) * xo) / NI);
108736
+ }, (e, n) => (n - e - (n.getTimezoneOffset() - e.getTimezoneOffset()) * ho) / NI);
108737
108737
  }
108738
108738
  const P1 = wd(0), US = wd(1), K9e = wd(2), X9e = wd(3), _2 = wd(4), J9e = wd(5), Z9e = wd(6);
108739
108739
  P1.range;
@@ -108798,10 +108798,10 @@ function ine(t, e, n, r, i, s) {
108798
108798
  [pl, 5, 5 * dl],
108799
108799
  [pl, 15, 15 * dl],
108800
108800
  [pl, 30, 30 * dl],
108801
- [s, 1, xo],
108802
- [s, 5, 5 * xo],
108803
- [s, 15, 15 * xo],
108804
- [s, 30, 30 * xo],
108801
+ [s, 1, ho],
108802
+ [s, 5, 5 * ho],
108803
+ [s, 15, 15 * ho],
108804
+ [s, 30, 30 * ho],
108805
108805
  [i, 1, hl],
108806
108806
  [i, 3, 3 * hl],
108807
108807
  [i, 6, 6 * hl],
@@ -108830,18 +108830,18 @@ function ine(t, e, n, r, i, s) {
108830
108830
  }
108831
108831
  return [u, a];
108832
108832
  }
108833
- const [iLe, sLe] = ine(ua, a3, M1, rne, b6, _6), [oLe, uLe] = ine(oa, u3, P1, bl, C6, S6), ei = "year", Us = "quarter", Li = "month", hr = "week", qs = "date", bi = "day", kl = "dayofyear", Co = "hours", bo = "minutes", iu = "seconds", aa = "milliseconds", sne = [ei, Us, Li, hr, qs, bi, kl, Co, bo, iu, aa], WN = sne.reduce((t, e, n) => (t[e] = 1 + n, t), {});
108833
+ const [iLe, sLe] = ine(ua, a3, M1, rne, b6, _6), [oLe, uLe] = ine(oa, u3, P1, bl, C6, S6), ei = "year", qs = "quarter", Li = "month", hr = "week", Hs = "date", bi = "day", kl = "dayofyear", Co = "hours", bo = "minutes", iu = "seconds", aa = "milliseconds", sne = [ei, qs, Li, hr, Hs, bi, kl, Co, bo, iu, aa], WN = sne.reduce((t, e, n) => (t[e] = 1 + n, t), {});
108834
108834
  function one(t) {
108835
108835
  const e = ke(t).slice(), n = {};
108836
108836
  return e.length || Se("Missing time unit."), e.forEach((i) => {
108837
108837
  et(WN, i) ? n[i] = 1 : Se(`Invalid time unit: ${i}.`);
108838
- }), (n[hr] || n[bi] ? 1 : 0) + (n[Us] || n[Li] || n[qs] ? 1 : 0) + (n[kl] ? 1 : 0) > 1 && Se(`Incompatible time units: ${t}`), e.sort((i, s) => WN[i] - WN[s]), e;
108838
+ }), (n[hr] || n[bi] ? 1 : 0) + (n[qs] || n[Li] || n[Hs] ? 1 : 0) + (n[kl] ? 1 : 0) > 1 && Se(`Incompatible time units: ${t}`), e.sort((i, s) => WN[i] - WN[s]), e;
108839
108839
  }
108840
108840
  const aLe = {
108841
108841
  [ei]: "%Y ",
108842
- [Us]: "Q%q ",
108842
+ [qs]: "Q%q ",
108843
108843
  [Li]: "%b ",
108844
- [qs]: "%d ",
108844
+ [Hs]: "%d ",
108845
108845
  [hr]: "W%U ",
108846
108846
  [bi]: "%a ",
108847
108847
  [kl]: "%j ",
@@ -108850,7 +108850,7 @@ const aLe = {
108850
108850
  [iu]: ":%S",
108851
108851
  [aa]: ".%L",
108852
108852
  [`${ei}-${Li}`]: "%Y-%m ",
108853
- [`${ei}-${Li}-${qs}`]: "%Y-%m-%d ",
108853
+ [`${ei}-${Li}-${Hs}`]: "%Y-%m-%d ",
108854
108854
  [`${Co}-${bo}`]: "%H:%M"
108855
108855
  };
108856
108856
  function lLe(t, e) {
@@ -108915,7 +108915,7 @@ function pLe(t, e, n, r, i, s, o) {
108915
108915
  return new Date(Date.UTC(t, e, n, r, i, s, o));
108916
108916
  }
108917
108917
  function lne(t, e, n, r, i) {
108918
- const s = e || 1, o = _t(t), u = (y, E, A) => (A = A || y, gLe(n[A], r[A], y === o && s, E)), a = /* @__PURE__ */ new Date(), l = sa(t), c = l[ei] ? u(ei) : Pi(2012), f = l[Li] ? u(Li) : l[Us] ? u(Us) : Qf, x = l[hr] && l[bi] ? u(bi, 1, hr + bi) : l[hr] ? u(hr, 1) : l[bi] ? u(bi, 1) : l[qs] ? u(qs, 1) : l[kl] ? u(kl, 1) : aE, h = l[Co] ? u(Co) : Qf, p = l[bo] ? u(bo) : Qf, m = l[iu] ? u(iu) : Qf, g = l[aa] ? u(aa) : Qf;
108918
+ const s = e || 1, o = _t(t), u = (y, E, A) => (A = A || y, gLe(n[A], r[A], y === o && s, E)), a = /* @__PURE__ */ new Date(), l = sa(t), c = l[ei] ? u(ei) : Pi(2012), f = l[Li] ? u(Li) : l[qs] ? u(qs) : Qf, x = l[hr] && l[bi] ? u(bi, 1, hr + bi) : l[hr] ? u(hr, 1) : l[bi] ? u(bi, 1) : l[Hs] ? u(Hs, 1) : l[kl] ? u(kl, 1) : aE, h = l[Co] ? u(Co) : Qf, p = l[bo] ? u(bo) : Qf, m = l[iu] ? u(iu) : Qf, g = l[aa] ? u(aa) : Qf;
108919
108919
  return function(y) {
108920
108920
  a.setTime(+y);
108921
108921
  const E = c(a);
@@ -108931,9 +108931,9 @@ function b2(t, e, n) {
108931
108931
  }
108932
108932
  const mLe = {
108933
108933
  [ei]: (t) => t.getFullYear(),
108934
- [Us]: (t) => Math.floor(t.getMonth() / 3),
108934
+ [qs]: (t) => Math.floor(t.getMonth() / 3),
108935
108935
  [Li]: (t) => t.getMonth(),
108936
- [qs]: (t) => t.getDate(),
108936
+ [Hs]: (t) => t.getDate(),
108937
108937
  [Co]: (t) => t.getHours(),
108938
108938
  [bo]: (t) => t.getMinutes(),
108939
108939
  [iu]: (t) => t.getSeconds(),
@@ -108943,7 +108943,7 @@ const mLe = {
108943
108943
  [hr + bi]: (t, e) => b2(nF(t), t.getDay(), rF(e)),
108944
108944
  [bi]: (t, e) => b2(1, t.getDay(), rF(e))
108945
108945
  }, yLe = {
108946
- [Us]: (t) => 3 * t,
108946
+ [qs]: (t) => 3 * t,
108947
108947
  [hr]: (t, e) => b2(t, 0, rF(e))
108948
108948
  };
108949
108949
  function ELe(t, e) {
@@ -108951,9 +108951,9 @@ function ELe(t, e) {
108951
108951
  }
108952
108952
  const ALe = {
108953
108953
  [ei]: (t) => t.getUTCFullYear(),
108954
- [Us]: (t) => Math.floor(t.getUTCMonth() / 3),
108954
+ [qs]: (t) => Math.floor(t.getUTCMonth() / 3),
108955
108955
  [Li]: (t) => t.getUTCMonth(),
108956
- [qs]: (t) => t.getUTCDate(),
108956
+ [Hs]: (t) => t.getUTCDate(),
108957
108957
  [Co]: (t) => t.getUTCHours(),
108958
108958
  [bo]: (t) => t.getUTCMinutes(),
108959
108959
  [iu]: (t) => t.getUTCSeconds(),
@@ -108963,7 +108963,7 @@ const ALe = {
108963
108963
  [bi]: (t, e) => b2(1, t.getUTCDay(), sF(e)),
108964
108964
  [hr + bi]: (t, e) => b2(iF(t), t.getUTCDay(), sF(e))
108965
108965
  }, vLe = {
108966
- [Us]: (t) => 3 * t,
108966
+ [qs]: (t) => 3 * t,
108967
108967
  [hr]: (t, e) => b2(t, 0, sF(e))
108968
108968
  };
108969
108969
  function SLe(t, e) {
@@ -108971,10 +108971,10 @@ function SLe(t, e) {
108971
108971
  }
108972
108972
  const _Le = {
108973
108973
  [ei]: oa,
108974
- [Us]: u3.every(3),
108974
+ [qs]: u3.every(3),
108975
108975
  [Li]: u3,
108976
108976
  [hr]: P1,
108977
- [qs]: bl,
108977
+ [Hs]: bl,
108978
108978
  [bi]: bl,
108979
108979
  [kl]: bl,
108980
108980
  [Co]: C6,
@@ -108983,10 +108983,10 @@ const _Le = {
108983
108983
  [aa]: S2
108984
108984
  }, CLe = {
108985
108985
  [ei]: ua,
108986
- [Us]: a3.every(3),
108986
+ [qs]: a3.every(3),
108987
108987
  [Li]: a3,
108988
108988
  [hr]: M1,
108989
- [qs]: Q0,
108989
+ [Hs]: Q0,
108990
108990
  [bi]: Q0,
108991
108991
  [kl]: Q0,
108992
108992
  [Co]: b6,
@@ -109018,7 +109018,7 @@ function RLe(t, e, n, r) {
109018
109018
  function OLe(t, e, n, r) {
109019
109019
  return fne(mE(t), e, n, r);
109020
109020
  }
109021
- const Vg = 1e3, Yg = Vg * 60, Kg = Yg * 60, T6 = Kg * 24, NLe = T6 * 7, xH = T6 * 30, oF = T6 * 365, xne = [ei, Li, qs, Co, bo, iu, aa], Xg = xne.slice(0, -1), Jg = Xg.slice(0, -1), Zg = Jg.slice(0, -1), DLe = Zg.slice(0, -1), FLe = [ei, hr], dH = [ei, Li], dne = [ei], Sg = [[Xg, 1, Vg], [Xg, 5, 5 * Vg], [Xg, 15, 15 * Vg], [Xg, 30, 30 * Vg], [Jg, 1, Yg], [Jg, 5, 5 * Yg], [Jg, 15, 15 * Yg], [Jg, 30, 30 * Yg], [Zg, 1, Kg], [Zg, 3, 3 * Kg], [Zg, 6, 6 * Kg], [Zg, 12, 12 * Kg], [DLe, 1, T6], [FLe, 1, NLe], [dH, 1, xH], [dH, 3, 3 * xH], [dne, 1, oF]];
109021
+ const Vg = 1e3, Yg = Vg * 60, Kg = Yg * 60, T6 = Kg * 24, NLe = T6 * 7, xH = T6 * 30, oF = T6 * 365, xne = [ei, Li, Hs, Co, bo, iu, aa], Xg = xne.slice(0, -1), Jg = Xg.slice(0, -1), Zg = Jg.slice(0, -1), DLe = Zg.slice(0, -1), FLe = [ei, hr], dH = [ei, Li], dne = [ei], Sg = [[Xg, 1, Vg], [Xg, 5, 5 * Vg], [Xg, 15, 15 * Vg], [Xg, 30, 30 * Vg], [Jg, 1, Yg], [Jg, 5, 5 * Yg], [Jg, 15, 15 * Yg], [Jg, 30, 30 * Yg], [Zg, 1, Kg], [Zg, 3, 3 * Kg], [Zg, 6, 6 * Kg], [Zg, 12, 12 * Kg], [DLe, 1, T6], [FLe, 1, NLe], [dH, 1, xH], [dH, 3, 3 * xH], [dne, 1, oF]];
109022
109022
  function wLe(t) {
109023
109023
  const e = t.extent, n = t.maxbins || 40, r = Math.abs(c6(e)) / n;
109024
109024
  let i = pE((u) => u[2]).right(Sg, r), s, o;
@@ -109614,7 +109614,7 @@ function aF(t) {
109614
109614
  }
109615
109615
  function CH(t, e, n) {
109616
109616
  n = n || {}, He(n) || Se(`Invalid time multi-format specifier: ${n}`);
109617
- const r = e(iu), i = e(bo), s = e(Co), o = e(qs), u = e(hr), a = e(Li), l = e(Us), c = e(ei), f = t(n[aa] || ".%L"), x = t(n[iu] || ":%S"), h = t(n[bo] || "%I:%M"), p = t(n[Co] || "%I %p"), m = t(n[qs] || n[bi] || "%a %d"), g = t(n[hr] || "%b %d"), y = t(n[Li] || "%B"), E = t(n[Us] || "%B"), A = t(n[ei] || "%Y");
109617
+ const r = e(iu), i = e(bo), s = e(Co), o = e(Hs), u = e(hr), a = e(Li), l = e(qs), c = e(ei), f = t(n[aa] || ".%L"), x = t(n[iu] || ":%S"), h = t(n[bo] || "%I:%M"), p = t(n[Co] || "%I %p"), m = t(n[Hs] || n[bi] || "%a %d"), g = t(n[hr] || "%b %d"), y = t(n[Li] || "%B"), E = t(n[qs] || "%B"), A = t(n[ei] || "%Y");
109618
109618
  return (v) => (r(v) < v ? f : i(v) < v ? x : s(v) < v ? h : o(v) < v ? p : a(v) < v ? u(v) < v ? m : g : c(v) < v ? l(v) < v ? y : E : A)(v);
109619
109619
  }
109620
109620
  function _ne(t) {
@@ -109737,7 +109737,7 @@ function t$e(t) {
109737
109737
  return typeof Buffer == "function" && ft(Buffer.isBuffer) ? Buffer.isBuffer(t) : !1;
109738
109738
  }
109739
109739
  function II(t, e) {
109740
- const n = e && e.property ? js(e.property) : ki;
109740
+ const n = e && e.property ? Us(e.property) : ki;
109741
109741
  return He(t) && !t$e(t) ? n$e(n(t), e) : n(JSON.parse(t));
109742
109742
  }
109743
109743
  II.responseType = "json";
@@ -111627,7 +111627,7 @@ function rre(t, e) {
111627
111627
  return s.prototype.init = gBe, s.prototype.add = mBe, s.prototype.rem = yBe, s.prototype.set = EBe, s.prototype.get = n, s.fields = t.map((o) => o.out), s;
111628
111628
  }
111629
111629
  function QI(t) {
111630
- this._key = t ? js(t) : Ze, this.reset();
111630
+ this._key = t ? Us(t) : Ze, this.reset();
111631
111631
  }
111632
111632
  const Pr = QI.prototype;
111633
111633
  Pr.reset = function() {
@@ -111951,7 +111951,7 @@ Fe(GI, pe, {
111951
111951
  let c = Oi(e(l));
111952
111952
  return c == null ? null : c < i ? -1 / 0 : c > s ? 1 / 0 : (c = Math.max(i, Math.min(c, s - r)), i + r * Math.floor(ABe + (c - i) / r));
111953
111953
  };
111954
- return a.start = i, a.stop = n.stop, a.step = r, this.value = Ks(a, Di(e), t.name || "bin_" + Mn(e));
111954
+ return a.start = i, a.stop = n.stop, a.step = r, this.value = Xs(a, Di(e), t.name || "bin_" + Mn(e));
111955
111955
  }
111956
111956
  });
111957
111957
  function ire(t, e, n) {
@@ -112300,7 +112300,7 @@ function cre(t) {
112300
112300
  Fe(cre, Xt);
112301
112301
  function NBe(t) {
112302
112302
  const e = t.expr;
112303
- return this.value && !t.modified("expr") ? this.value : Ks((n) => e(n, t), Di(e), Mn(e));
112303
+ return this.value && !t.modified("expr") ? this.value : Xs((n) => e(n, t), Di(e), Mn(e));
112304
112304
  }
112305
112305
  function ZI(t) {
112306
112306
  pe.call(this, [void 0, void 0], t);
@@ -112443,7 +112443,7 @@ function fre(t) {
112443
112443
  }
112444
112444
  Fe(fre, Xt);
112445
112445
  function DBe(t) {
112446
- return this.value && !t.modified() ? this.value : _e(t.name) ? ke(t.name).map((e) => js(e)) : js(t.name, t.as);
112446
+ return this.value && !t.modified() ? this.value : _e(t.name) ? ke(t.name).map((e) => Us(e)) : Us(t.name, t.as);
112447
112447
  }
112448
112448
  function t$(t) {
112449
112449
  pe.call(this, lE(), t);
@@ -112945,7 +112945,7 @@ function MBe(t, e) {
112945
112945
  };
112946
112946
  }
112947
112947
  function jBe(t, e, n, r) {
112948
- return Ks((i) => e(i) === t ? n(i) : NaN, r, t + "");
112948
+ return Xs((i) => e(i) === t ? n(i) : NaN, r, t + "");
112949
112949
  }
112950
112950
  function UBe(t, e, n) {
112951
112951
  const r = {}, i = [];
@@ -116460,19 +116460,19 @@ function yMe(t) {
116460
116460
  const c = l * o, f = -a * u, x = a * o, h = l * u, p = Math.cos(i), m = Math.sin(i), g = Math.cos(s), y = Math.sin(s), E = 0.5 * (s - i), A = Math.sin(E * 0.5), v = 8 / 3 * A * A / Math.sin(E), S = n + p - v * m, C = r + m + v * p, _ = n + g, b = r + y, R = _ + v * y, O = b - v * g;
116461
116461
  return l7[e] = [c * S + f * C, x * S + h * C, c * R + f * O, x * R + h * O, c * _ + f * b, x * _ + h * b];
116462
116462
  }
116463
- const eo = ["l", 0, 0, 0, 0, 0, 0, 0];
116463
+ const to = ["l", 0, 0, 0, 0, 0, 0, 0];
116464
116464
  function EMe(t, e, n) {
116465
- const r = eo[0] = t[0];
116465
+ const r = to[0] = t[0];
116466
116466
  if (r === "a" || r === "A")
116467
- eo[1] = e * t[1], eo[2] = n * t[2], eo[3] = t[3], eo[4] = t[4], eo[5] = t[5], eo[6] = e * t[6], eo[7] = n * t[7];
116467
+ to[1] = e * t[1], to[2] = n * t[2], to[3] = t[3], to[4] = t[4], to[5] = t[5], to[6] = e * t[6], to[7] = n * t[7];
116468
116468
  else if (r === "h" || r === "H")
116469
- eo[1] = e * t[1];
116469
+ to[1] = e * t[1];
116470
116470
  else if (r === "v" || r === "V")
116471
- eo[1] = n * t[1];
116471
+ to[1] = n * t[1];
116472
116472
  else
116473
116473
  for (var i = 1, s = t.length; i < s; ++i)
116474
- eo[i] = (i % 2 == 1 ? e : n) * t[i];
116475
- return eo;
116474
+ to[i] = (i % 2 == 1 ? e : n) * t[i];
116475
+ return to;
116476
116476
  }
116477
116477
  function n4(t, e, n, r, i, s) {
116478
116478
  var o, u = null, a = 0, l = 0, c = 0, f = 0, x, h, p, m, g = 0, y = 0;
@@ -119967,7 +119967,7 @@ const oHe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
119967
119967
  sortitems: Aoe,
119968
119968
  stack: bB
119969
119969
  }, Symbol.toStringTag, { value: "Module" }));
119970
- var tt = 1e-6, f4 = 1e-12, ht = Math.PI, Fn = ht / 2, x4 = ht / 4, ji = ht * 2, $n = 180 / ht, dt = ht / 180, yt = Math.abs, Q1 = Math.atan, Ro = Math.atan2, nt = Math.cos, qA = Math.ceil, Coe = Math.exp, PF = Math.hypot, d4 = Math.log, p7 = Math.pow, Xe = Math.sin, ho = Math.sign || function(t) {
119970
+ var tt = 1e-6, f4 = 1e-12, ht = Math.PI, Fn = ht / 2, x4 = ht / 4, ji = ht * 2, $n = 180 / ht, dt = ht / 180, yt = Math.abs, Q1 = Math.atan, Ro = Math.atan2, nt = Math.cos, qA = Math.ceil, Coe = Math.exp, PF = Math.hypot, d4 = Math.log, p7 = Math.pow, Xe = Math.sin, po = Math.sign || function(t) {
119971
119971
  return t > 0 ? 1 : t < 0 ? -1 : 0;
119972
119972
  }, Ui = Math.sqrt, TB = Math.tan;
119973
119973
  function boe(t) {
@@ -120355,7 +120355,7 @@ function aQ(t) {
120355
120355
  }
120356
120356
  }
120357
120357
  function m7(t) {
120358
- return yt(t[0]) <= ht ? t[0] : ho(t[0]) * ((yt(t[0]) + ht) % ji - ht);
120358
+ return yt(t[0]) <= ht ? t[0] : po(t[0]) * ((yt(t[0]) + ht) % ji - ht);
120359
120359
  }
120360
120360
  function _He(t, e) {
120361
120361
  var n = m7(e), r = e[1], i = Xe(r), s = [Xe(n), -nt(n), 0], o = 0, u = 0, a = new wi();
@@ -120753,15 +120753,15 @@ var B2 = 1 / 0, T4 = B2, E3 = -B2, R4 = E3, O4 = {
120753
120753
  function $He(t, e) {
120754
120754
  t < B2 && (B2 = t), t > E3 && (E3 = t), e < T4 && (T4 = e), e > R4 && (R4 = e);
120755
120755
  }
120756
- var JF = 0, ZF = 0, im = 0, N4 = 0, D4 = 0, bh = 0, e8 = 0, t8 = 0, sm = 0, zoe, Qoe, qu, Hu, lo = {
120756
+ var JF = 0, ZF = 0, im = 0, N4 = 0, D4 = 0, bh = 0, e8 = 0, t8 = 0, sm = 0, zoe, Qoe, qu, Hu, co = {
120757
120757
  point: Qx,
120758
120758
  lineStart: xQ,
120759
120759
  lineEnd: dQ,
120760
120760
  polygonStart: function() {
120761
- lo.lineStart = PHe, lo.lineEnd = MHe;
120761
+ co.lineStart = PHe, co.lineEnd = MHe;
120762
120762
  },
120763
120763
  polygonEnd: function() {
120764
- lo.point = Qx, lo.lineStart = xQ, lo.lineEnd = dQ;
120764
+ co.point = Qx, co.lineStart = xQ, co.lineEnd = dQ;
120765
120765
  },
120766
120766
  result: function() {
120767
120767
  var t = sm ? [e8 / sm, t8 / sm] : bh ? [N4 / bh, D4 / bh] : im ? [JF / im, ZF / im] : [NaN, NaN];
@@ -120772,26 +120772,26 @@ function Qx(t, e) {
120772
120772
  JF += t, ZF += e, ++im;
120773
120773
  }
120774
120774
  function xQ() {
120775
- lo.point = BHe;
120775
+ co.point = BHe;
120776
120776
  }
120777
120777
  function BHe(t, e) {
120778
- lo.point = kHe, Qx(qu = t, Hu = e);
120778
+ co.point = kHe, Qx(qu = t, Hu = e);
120779
120779
  }
120780
120780
  function kHe(t, e) {
120781
120781
  var n = t - qu, r = e - Hu, i = Ui(n * n + r * r);
120782
120782
  N4 += i * (qu + t) / 2, D4 += i * (Hu + e) / 2, bh += i, Qx(qu = t, Hu = e);
120783
120783
  }
120784
120784
  function dQ() {
120785
- lo.point = Qx;
120785
+ co.point = Qx;
120786
120786
  }
120787
120787
  function PHe() {
120788
- lo.point = jHe;
120788
+ co.point = jHe;
120789
120789
  }
120790
120790
  function MHe() {
120791
120791
  Goe(zoe, Qoe);
120792
120792
  }
120793
120793
  function jHe(t, e) {
120794
- lo.point = Goe, Qx(zoe = qu = t, Qoe = Hu = e);
120794
+ co.point = Goe, Qx(zoe = qu = t, Qoe = Hu = e);
120795
120795
  }
120796
120796
  function Goe(t, e) {
120797
120797
  var n = t - qu, r = e - Hu, i = Ui(n * n + r * r);
@@ -120940,7 +120940,7 @@ function Joe(t, e) {
120940
120940
  }, o.bounds = function(u) {
120941
120941
  return ol(u, i(O4)), O4.result();
120942
120942
  }, o.centroid = function(u) {
120943
- return ol(u, i(lo)), lo.result();
120943
+ return ol(u, i(co)), co.result();
120944
120944
  }, o.projection = function(u) {
120945
120945
  return arguments.length ? (i = u == null ? (t = null, y3) : (t = u).stream, o) : t;
120946
120946
  }, o.context = function(u) {
@@ -121189,8 +121189,8 @@ function KHe(t, e) {
121189
121189
  return [l * Xe(u *= r), s - l * nt(u)];
121190
121190
  }
121191
121191
  return o.invert = function(u, a) {
121192
- var l = s - a, c = Ro(u, yt(l)) * ho(l);
121193
- return l * r < 0 && (c -= ht * ho(u) * ho(l)), [c / r, ps((i - (u * u + l * l) * r * r) / (2 * r))];
121192
+ var l = s - a, c = Ro(u, yt(l)) * po(l);
121193
+ return l * r < 0 && (c -= ht * po(u) * po(l)), [c / r, ps((i - (u * u + l * l) * r * r) / (2 * r))];
121194
121194
  }, o;
121195
121195
  }
121196
121196
  function w4() {
@@ -121339,8 +121339,8 @@ function nze(t, e) {
121339
121339
  return [a * Xe(r * o), i - a * nt(r * o)];
121340
121340
  }
121341
121341
  return s.invert = function(o, u) {
121342
- var a = i - u, l = ho(r) * Ui(o * o + a * a), c = Ro(o, yt(a)) * ho(a);
121343
- return a * r < 0 && (c -= ht * ho(o) * ho(a)), [c / r, 2 * Q1(p7(i / l, 1 / r)) - Fn];
121342
+ var a = i - u, l = po(r) * Ui(o * o + a * a), c = Ro(o, yt(a)) * po(a);
121343
+ return a * r < 0 && (c -= ht * po(o) * po(a)), [c / r, 2 * Q1(p7(i / l, 1 / r)) - Fn];
121344
121344
  }, s;
121345
121345
  }
121346
121346
  function rze() {
@@ -121362,8 +121362,8 @@ function sze(t, e) {
121362
121362
  return [a * Xe(l), i - a * nt(l)];
121363
121363
  }
121364
121364
  return s.invert = function(o, u) {
121365
- var a = i - u, l = Ro(o, yt(a)) * ho(a);
121366
- return a * r < 0 && (l -= ht * ho(o) * ho(a)), [l / r, i - ho(r) * Ui(o * o + a * a)];
121365
+ var a = i - u, l = Ro(o, yt(a)) * po(a);
121366
+ return a * r < 0 && (l -= ht * po(o) * po(a)), [l / r, i - po(r) * Ui(o * o + a * a)];
121367
121367
  }, s;
121368
121368
  }
121369
121369
  function oze() {
@@ -122116,7 +122116,7 @@ jB.Definition = {
122116
122116
  Fe(jB, pe, {
122117
122117
  transform(t, e) {
122118
122118
  var n = e.fork(e.ALL), r = this.value, i = t.as || "shape", s = n.ADD;
122119
- return (!r || t.modified()) && (this.value = r = kze(due(t.projection), t.field || js("datum"), t.pointRadius), n.materialize().reflow(), s = n.SOURCE), n.visit(s, (o) => o[i] = r), n.modifies(i);
122119
+ return (!r || t.modified()) && (this.value = r = kze(due(t.projection), t.field || Us("datum"), t.pointRadius), n.materialize().reflow(), s = n.SOURCE), n.visit(s, (o) => o[i] = r), n.modifies(i);
122120
122120
  }
122121
122121
  });
122122
122122
  function kze(t, e, n) {
@@ -126997,10 +126997,10 @@ function hYe(...t) {
126997
126997
  e.add(r);
126998
126998
  return e;
126999
126999
  }
127000
- const xk = "intersect", rG = "union", pYe = "vlMulti", gYe = "vlPoint", iG = "or", mYe = "and", Mu = "_vgsid_", b3 = js(Mu), yYe = "E", EYe = "R", AYe = "R-E", vYe = "R-LE", SYe = "R-RE", H4 = "index:unit";
127000
+ const xk = "intersect", rG = "union", pYe = "vlMulti", gYe = "vlPoint", iG = "or", mYe = "and", Mu = "_vgsid_", b3 = Us(Mu), yYe = "E", EYe = "R", AYe = "R-E", vYe = "R-LE", SYe = "R-RE", H4 = "index:unit";
127001
127001
  function sG(t, e) {
127002
127002
  for (var n = e.fields, r = e.values, i = n.length, s = 0, o, u; s < i; ++s)
127003
- if (u = n[s], u.getter = js.getter || js(u.field), o = u.getter(t), ox(o) && (o = Oi(o)), ox(r[s]) && (r[s] = Oi(r[s])), ox(r[s][0]) && (r[s] = r[s].map(Oi)), u.type === yYe) {
127003
+ if (u = n[s], u.getter = Us.getter || Us(u.field), o = u.getter(t), ox(o) && (o = Oi(o)), ox(r[s]) && (r[s] = Oi(r[s])), ox(r[s][0]) && (r[s] = r[s].map(Oi)), u.type === yYe) {
127004
127004
  if (_e(r[s]) ? r[s].indexOf(o) < 0 : o !== r[s])
127005
127005
  return !1;
127006
127006
  } else if (u.type === EYe) {
@@ -127044,7 +127044,7 @@ function TYe(t, e, n) {
127044
127044
  }
127045
127045
  function RYe(t, e) {
127046
127046
  return t.map((n) => ct(e.fields ? {
127047
- values: e.fields.map((r) => (r.getter || (r.getter = js(r.field)))(n.datum))
127047
+ values: e.fields.map((r) => (r.getter || (r.getter = Us(r.field)))(n.datum))
127048
127048
  } : {
127049
127049
  [Mu]: b3(n.datum)
127050
127050
  }, e));
@@ -127281,7 +127281,7 @@ function iKe(t) {
127281
127281
  }
127282
127282
  const aG = {};
127283
127283
  function sKe(t, e) {
127284
- const n = aG[e] || (aG[e] = js(e));
127284
+ const n = aG[e] || (aG[e] = Us(e));
127285
127285
  return _e(t) ? t.map(n) : n(t);
127286
127286
  }
127287
127287
  function mk(t) {
@@ -127753,7 +127753,7 @@ function QKe(t, e) {
127753
127753
  function GKe(t, e, n) {
127754
127754
  t.$params && e.parseParameters(t.$params, n);
127755
127755
  const r = "e:" + t.$expr.code;
127756
- return e.fn[r] || (e.fn[r] = Ks(e.parameterExpression(t.$expr), t.$fields));
127756
+ return e.fn[r] || (e.fn[r] = Xs(e.parameterExpression(t.$expr), t.$fields));
127757
127757
  }
127758
127758
  function WKe(t, e) {
127759
127759
  const n = "k:" + t.$key + "_" + !!t.$flat;
@@ -127763,7 +127763,7 @@ function VKe(t, e) {
127763
127763
  if (!t.$field)
127764
127764
  return null;
127765
127765
  const n = "f:" + t.$field + "_" + t.$name;
127766
- return e.fn[n] || (e.fn[n] = js(t.$field, t.$name, e.expr.codegen));
127766
+ return e.fn[n] || (e.fn[n] = Us(t.$field, t.$name, e.expr.codegen));
127767
127767
  }
127768
127768
  function YKe(t, e) {
127769
127769
  const n = "c:" + t.$compare + "_" + t.$order, r = ke(t.$compare).map((i) => i && i.$tupleid ? Ze : i);
@@ -127773,7 +127773,7 @@ function KKe(t, e) {
127773
127773
  const n = t.$encode, r = {};
127774
127774
  for (const i in n) {
127775
127775
  const s = n[i];
127776
- r[i] = Ks(e.encodeExpression(s.$expr), s.$fields), r[i].output = s.$output;
127776
+ r[i] = Xs(e.encodeExpression(s.$expr), s.$fields), r[i].output = s.$output;
127777
127777
  }
127778
127778
  return r;
127779
127779
  }
@@ -128991,13 +128991,13 @@ function AZe(t, e) {
128991
128991
  let r;
128992
128992
  n.domain = jae(t.domain, t, e), t.range != null && (n.range = qae(t, e, n)), t.interpolate != null && DZe(t.interpolate, n), t.nice != null && (n.nice = NZe(t.nice)), t.bins != null && (n.bins = OZe(t.bins, e));
128993
128993
  for (r in t)
128994
- et(n, r) || r === "name" || (n[r] = po(t[r], e));
128994
+ et(n, r) || r === "name" || (n[r] = go(t[r], e));
128995
128995
  }
128996
- function po(t, e) {
128996
+ function go(t, e) {
128997
128997
  return He(t) ? t.signal ? e.signalRef(t.signal) : Se("Unsupported object: " + we(t)) : t;
128998
128998
  }
128999
128999
  function Wv(t, e) {
129000
- return t.signal ? e.signalRef(t.signal) : t.map((n) => po(n, e));
129000
+ return t.signal ? e.signalRef(t.signal) : t.map((n) => go(n, e));
129001
129001
  }
129002
129002
  function hR(t) {
129003
129003
  Se("Can not find data set: " + we(t));
@@ -129010,7 +129010,7 @@ function jae(t, e, n) {
129010
129010
  return t.signal ? n.signalRef(t.signal) : (_e(t) ? vZe : t.fields ? _Ze : SZe)(t, e, n);
129011
129011
  }
129012
129012
  function vZe(t, e, n) {
129013
- return t.map((r) => po(r, n));
129013
+ return t.map((r) => go(r, n));
129014
129014
  }
129015
129015
  function SZe(t, e, n) {
129016
129016
  const r = n.getData(t.data);
@@ -129086,12 +129086,12 @@ function OZe(t, e) {
129086
129086
  }
129087
129087
  function NZe(t) {
129088
129088
  return He(t) ? {
129089
- interval: po(t.interval),
129090
- step: po(t.step)
129091
- } : po(t);
129089
+ interval: go(t.interval),
129090
+ step: go(t.step)
129091
+ } : go(t);
129092
129092
  }
129093
129093
  function DZe(t, e) {
129094
- e.interpolate = po(t.type || t), t.gamma != null && (e.interpolateGamma = po(t.gamma));
129094
+ e.interpolate = go(t.type || t), t.gamma != null && (e.interpolateGamma = go(t.gamma));
129095
129095
  }
129096
129096
  function qae(t, e, n) {
129097
129097
  const r = e.config.range;
@@ -129111,17 +129111,17 @@ function qae(t, e, n) {
129111
129111
  signal: "height"
129112
129112
  }, 0] : Se("Unrecognized scale range value: " + we(i));
129113
129113
  } else if (i.scheme) {
129114
- n.scheme = _e(i.scheme) ? Wv(i.scheme, e) : po(i.scheme, e), i.extent && (n.schemeExtent = Wv(i.extent, e)), i.count && (n.schemeCount = po(i.count, e));
129114
+ n.scheme = _e(i.scheme) ? Wv(i.scheme, e) : go(i.scheme, e), i.extent && (n.schemeExtent = Wv(i.extent, e)), i.count && (n.schemeCount = go(i.count, e));
129115
129115
  return;
129116
129116
  } else if (i.step) {
129117
- n.rangeStep = po(i.step, e);
129117
+ n.rangeStep = go(i.step, e);
129118
129118
  return;
129119
129119
  } else {
129120
129120
  if (D2(t.type) && !_e(i))
129121
129121
  return jae(i, t, e);
129122
129122
  _e(i) || Se("Unsupported range type: " + we(i));
129123
129123
  }
129124
- return i.map((s) => (_e(s) ? Wv : po)(s, e));
129124
+ return i.map((s) => (_e(s) ? Wv : go)(s, e));
129125
129125
  }
129126
129126
  function FZe(t, e) {
129127
129127
  const n = e.config.projection || {}, r = {};
@@ -129134,13 +129134,13 @@ function FZe(t, e) {
129134
129134
  function N8(t, e, n) {
129135
129135
  return _e(t) ? t.map((r) => N8(r, e, n)) : He(t) ? t.signal ? n.signalRef(t.signal) : e === "fit" ? t : Se("Unsupported parameter object: " + we(t)) : t;
129136
129136
  }
129137
- const vu = "top", W1 = "left", V1 = "right", yc = "bottom", Hae = "center", wZe = "vertical", LZe = "start", IZe = "middle", $Ze = "end", D8 = "index", Dk = "label", BZe = "offset", M2 = "perc", kZe = "perc2", Ao = "value", UE = "guide-label", Fk = "guide-title", PZe = "group-title", MZe = "group-subtitle", TG = "symbol", Vv = "gradient", F8 = "discrete", w8 = "size", jZe = "shape", UZe = "fill", qZe = "stroke", HZe = "strokeWidth", zZe = "strokeDash", QZe = "opacity", wk = [w8, jZe, UZe, qZe, HZe, zZe, QZe], qE = {
129137
+ const vu = "top", W1 = "left", V1 = "right", yc = "bottom", Hae = "center", wZe = "vertical", LZe = "start", IZe = "middle", $Ze = "end", D8 = "index", Dk = "label", BZe = "offset", M2 = "perc", kZe = "perc2", vo = "value", UE = "guide-label", Fk = "guide-title", PZe = "group-title", MZe = "group-subtitle", TG = "symbol", Vv = "gradient", F8 = "discrete", w8 = "size", jZe = "shape", UZe = "fill", qZe = "stroke", HZe = "strokeWidth", zZe = "strokeDash", QZe = "opacity", wk = [w8, jZe, UZe, qZe, HZe, zZe, QZe], qE = {
129138
129138
  name: 1,
129139
129139
  style: 1,
129140
129140
  interactive: 1
129141
129141
  }, St = {
129142
129142
  value: 0
129143
- }, vo = {
129143
+ }, So = {
129144
129144
  value: 1
129145
129145
  }, pR = "group", zae = "rect", Lk = "rule", GZe = "symbol", jd = "text";
129146
129146
  function N3(t) {
@@ -129185,7 +129185,7 @@ function Gae(t, e) {
129185
129185
  offset: e
129186
129186
  } : e : t;
129187
129187
  }
129188
- function Hs(t, e) {
129188
+ function zs(t, e) {
129189
129189
  return e ? (t.name = e.name, t.style = e.style || t.style, t.interactive = !!e.interactive, t.encode = G1(t.encode, e, qE)) : t.interactive = !1, t;
129190
129190
  }
129191
129191
  function YZe(t, e, n, r) {
@@ -129201,7 +129201,7 @@ function YZe(t, e, n, r) {
129201
129201
  height: yr(x)
129202
129202
  },
129203
129203
  update: ct({}, a, {
129204
- opacity: vo,
129204
+ opacity: So,
129205
129205
  fill: {
129206
129206
  gradient: e,
129207
129207
  start: l,
@@ -129218,7 +129218,7 @@ function YZe(t, e, n, r) {
129218
129218
  }, {
129219
129219
  // update
129220
129220
  opacity: i("gradientOpacity")
129221
- }), Hs({
129221
+ }), zs({
129222
129222
  type: zae,
129223
129223
  role: SJe,
129224
129224
  encode: h
@@ -129232,7 +129232,7 @@ function KZe(t, e, n, r, i) {
129232
129232
  opacity: St,
129233
129233
  fill: {
129234
129234
  scale: e,
129235
- field: Ao
129235
+ field: vo
129236
129236
  }
129237
129237
  };
129238
129238
  p[l] = {
@@ -129245,7 +129245,7 @@ function KZe(t, e, n, r, i) {
129245
129245
  const m = {
129246
129246
  enter: p,
129247
129247
  update: ct({}, p, {
129248
- opacity: vo
129248
+ opacity: So
129249
129249
  }),
129250
129250
  exit: {
129251
129251
  opacity: St
@@ -129257,10 +129257,10 @@ function KZe(t, e, n, r, i) {
129257
129257
  }, {
129258
129258
  // update
129259
129259
  opacity: s("gradientOpacity")
129260
- }), Hs({
129260
+ }), zs({
129261
129261
  type: zae,
129262
129262
  role: AJe,
129263
- key: Ao,
129263
+ key: vo,
129264
129264
  from: i,
129265
129265
  encode: m
129266
129266
  }, r);
@@ -129274,7 +129274,7 @@ function RG(t, e, n, r) {
129274
129274
  opacity: St
129275
129275
  },
129276
129276
  update: c = {
129277
- opacity: vo,
129277
+ opacity: So,
129278
129278
  text: {
129279
129279
  field: Dk
129280
129280
  }
@@ -129306,11 +129306,11 @@ function RG(t, e, n, r) {
129306
129306
  separation: i("labelSeparation"),
129307
129307
  method: a,
129308
129308
  order: "datum." + D8
129309
- } : void 0, Hs({
129309
+ } : void 0, zs({
129310
129310
  type: jd,
129311
129311
  role: Rae,
129312
129312
  style: UE,
129313
- key: Ao,
129313
+ key: vo,
129314
129314
  from: r,
129315
129315
  encode: p,
129316
129316
  overlap: a
@@ -129334,7 +129334,7 @@ function ZZe(t, e, n, r, i) {
129334
129334
  y: h
129335
129335
  },
129336
129336
  update: E = {
129337
- opacity: vo,
129337
+ opacity: So,
129338
129338
  x: y.x,
129339
129339
  y: y.y
129340
129340
  },
@@ -129357,13 +129357,13 @@ function ZZe(t, e, n, r, i) {
129357
129357
  }), wk.forEach((O) => {
129358
129358
  t[O] && (E[O] = y[O] = {
129359
129359
  scale: t[O],
129360
- field: Ao
129360
+ field: vo
129361
129361
  });
129362
129362
  });
129363
- const _ = Hs({
129363
+ const _ = zs({
129364
129364
  type: GZe,
129365
129365
  role: _Je,
129366
- key: Ao,
129366
+ key: vo,
129367
129367
  from: f,
129368
129368
  clip: l ? !0 : void 0,
129369
129369
  encode: g
@@ -129378,7 +129378,7 @@ function ZZe(t, e, n, r, i) {
129378
129378
  y: h
129379
129379
  },
129380
129380
  update: E = {
129381
- opacity: vo,
129381
+ opacity: So,
129382
129382
  text: {
129383
129383
  field: Dk
129384
129384
  },
@@ -129399,11 +129399,11 @@ function ZZe(t, e, n, r, i) {
129399
129399
  fontWeight: s("labelFontWeight"),
129400
129400
  limit: s("labelLimit")
129401
129401
  });
129402
- const R = Hs({
129402
+ const R = zs({
129403
129403
  type: jd,
129404
129404
  role: Rae,
129405
129405
  style: UE,
129406
- key: Ao,
129406
+ key: vo,
129407
129407
  from: f,
129408
129408
  encode: g
129409
129409
  }, n.labels);
@@ -129421,7 +129421,7 @@ function ZZe(t, e, n, r, i) {
129421
129421
  opacity: St
129422
129422
  },
129423
129423
  update: E = {
129424
- opacity: vo,
129424
+ opacity: So,
129425
129425
  row: {
129426
129426
  signal: null
129427
129427
  },
@@ -129471,7 +129471,7 @@ function aet(t, e, n, r) {
129471
129471
  opacity: St
129472
129472
  },
129473
129473
  update: {
129474
- opacity: vo,
129474
+ opacity: So,
129475
129475
  x: {
129476
129476
  field: {
129477
129477
  group: "padding"
@@ -129515,7 +129515,7 @@ function aet(t, e, n, r) {
129515
129515
  // require update
129516
129516
  align: i("titleAlign"),
129517
129517
  baseline: i("titleBaseline")
129518
- }), Hs({
129518
+ }), zs({
129519
129519
  type: jd,
129520
129520
  role: CJe,
129521
129521
  style: Fk,
@@ -129971,7 +129971,7 @@ function Iet(t, e, n, r) {
129971
129971
  align: e("align"),
129972
129972
  angle: e("angle"),
129973
129973
  baseline: e("baseline")
129974
- }), Hs({
129974
+ }), zs({
129975
129975
  type: jd,
129976
129976
  role: TJe,
129977
129977
  style: PZe,
@@ -130020,7 +130020,7 @@ function $et(t, e, n, r) {
130020
130020
  align: e("align"),
130021
130021
  angle: e("angle"),
130022
130022
  baseline: e("baseline")
130023
- }), Hs({
130023
+ }), zs({
130024
130024
  type: jd,
130025
130025
  role: RJe,
130026
130026
  style: MZe,
@@ -130152,7 +130152,7 @@ function Wet(t, e, n, r) {
130152
130152
  opacity: St
130153
130153
  },
130154
130154
  update: u = {
130155
- opacity: vo
130155
+ opacity: So
130156
130156
  },
130157
130157
  exit: {
130158
130158
  opacity: St
@@ -130167,7 +130167,7 @@ function Wet(t, e, n, r) {
130167
130167
  strokeOpacity: i("domainOpacity")
130168
130168
  });
130169
130169
  const l = PG(t, 0), c = PG(t, 1);
130170
- return o.x = u.x = Er(s, l, St), o.x2 = u.x2 = Er(s, c), o.y = u.y = Ko(s, l, St), o.y2 = u.y2 = Ko(s, c), Hs({
130170
+ return o.x = u.x = Er(s, l, St), o.x2 = u.x2 = Er(s, c), o.y = u.y = Ko(s, l, St), o.y2 = u.y2 = Ko(s, c), zs({
130171
130171
  type: Lk,
130172
130172
  role: hJe,
130173
130173
  from: r,
@@ -130188,7 +130188,7 @@ function Vet(t, e, n, r, i) {
130188
130188
  opacity: St
130189
130189
  },
130190
130190
  update: x = {
130191
- opacity: vo
130191
+ opacity: So
130192
130192
  },
130193
130193
  exit: f = {
130194
130194
  opacity: St
@@ -130204,7 +130204,7 @@ function Vet(t, e, n, r, i) {
130204
130204
  });
130205
130205
  const p = {
130206
130206
  scale: t.scale,
130207
- field: Ao,
130207
+ field: vo,
130208
130208
  band: i.band,
130209
130209
  extra: i.extra,
130210
130210
  offset: i.offset,
@@ -130230,10 +130230,10 @@ function Vet(t, e, n, r, i) {
130230
130230
  mult: a,
130231
130231
  offset: l
130232
130232
  });
130233
- return c.x = x.x = Er(o, p, g), c.y = x.y = Ko(o, p, g), c.x2 = x.x2 = Ko(o, y), c.y2 = x.y2 = Er(o, y), f.x = Er(o, p), f.y = Ko(o, p), Hs({
130233
+ return c.x = x.x = Er(o, p, g), c.y = x.y = Ko(o, p, g), c.x2 = x.x2 = Ko(o, y), c.y2 = x.y2 = Er(o, y), f.x = Er(o, p), f.y = Ko(o, p), zs({
130234
130234
  type: Lk,
130235
130235
  role: pJe,
130236
- key: Ao,
130236
+ key: vo,
130237
130237
  from: r,
130238
130238
  encode: h
130239
130239
  }, n);
@@ -130265,7 +130265,7 @@ function Ket(t, e, n, r, i, s) {
130265
130265
  opacity: St
130266
130266
  },
130267
130267
  update: f = {
130268
- opacity: vo
130268
+ opacity: So
130269
130269
  },
130270
130270
  exit: c = {
130271
130271
  opacity: St
@@ -130283,16 +130283,16 @@ function Ket(t, e, n, r, i, s) {
130283
130283
  h.mult = a;
130284
130284
  const p = {
130285
130285
  scale: t.scale,
130286
- field: Ao,
130286
+ field: vo,
130287
130287
  band: s.band,
130288
130288
  extra: s.extra,
130289
130289
  offset: s.offset,
130290
130290
  round: o("tickRound")
130291
130291
  };
130292
- return f.y = l.y = Er(u, St, p), f.y2 = l.y2 = Er(u, h), c.x = Er(u, p), f.x = l.x = Ko(u, St, p), f.x2 = l.x2 = Ko(u, h), c.y = Ko(u, p), Hs({
130292
+ return f.y = l.y = Er(u, St, p), f.y2 = l.y2 = Er(u, h), c.x = Er(u, p), f.x = l.x = Ko(u, St, p), f.x2 = l.x2 = Ko(u, h), c.y = Ko(u, p), zs({
130293
130293
  type: Lk,
130294
130294
  role: mJe,
130295
- key: Ao,
130295
+ key: vo,
130296
130296
  from: r,
130297
130297
  encode: x
130298
130298
  }, n);
@@ -130309,7 +130309,7 @@ function Xet(t, e, n, r, i, s) {
130309
130309
  g.mult = l, g.offset = yr(o("labelPadding") || 0), g.offset.mult = l;
130310
130310
  const y = {
130311
130311
  scale: a,
130312
- field: Ao,
130312
+ field: vo,
130313
130313
  band: 0.5,
130314
130314
  offset: Gae(s.offset, o("labelOffset"))
130315
130315
  }, E = Er(u, p ? W7(a, c, '"left"', '"right"', '"center"') : {
@@ -130325,7 +130325,7 @@ function Xet(t, e, n, r, i, s) {
130325
130325
  }, C = {
130326
130326
  enter: S,
130327
130327
  update: m = {
130328
- opacity: vo,
130328
+ opacity: So,
130329
130329
  text: {
130330
130330
  field: Dk
130331
130331
  },
@@ -130368,11 +130368,11 @@ function Xet(t, e, n, r, i, s) {
130368
130368
  orient: u,
130369
130369
  tolerance: _
130370
130370
  } : null
130371
- } : void 0, m.align !== E && (m.align = $h(m.align, E)), m.baseline !== A && (m.baseline = $h(m.baseline, A)), Hs({
130371
+ } : void 0, m.align !== E && (m.align = $h(m.align, E)), m.baseline !== A && (m.baseline = $h(m.baseline, A)), zs({
130372
130372
  type: jd,
130373
130373
  role: gJe,
130374
130374
  style: UE,
130375
- key: Ao,
130375
+ key: vo,
130376
130376
  from: r,
130377
130377
  encode: C,
130378
130378
  overlap: b
@@ -130390,7 +130390,7 @@ function Jet(t, e, n, r) {
130390
130390
  }
130391
130391
  },
130392
130392
  update: a = ct({}, u, {
130393
- opacity: vo,
130393
+ opacity: So,
130394
130394
  text: yr(t.title)
130395
130395
  }),
130396
130396
  exit: {
@@ -130415,7 +130415,7 @@ function Jet(t, e, n, r) {
130415
130415
  align: i("titleAlign"),
130416
130416
  angle: i("titleAngle"),
130417
130417
  baseline: i("titleBaseline")
130418
- }), Zet(i, s, l, n), l.update.align = $h(l.update.align, u.align), l.update.angle = $h(l.update.angle, u.angle), l.update.baseline = $h(l.update.baseline, u.baseline), Hs({
130418
+ }), Zet(i, s, l, n), l.update.align = $h(l.update.align, u.align), l.update.angle = $h(l.update.angle, u.angle), l.update.baseline = $h(l.update.baseline, u.baseline), zs({
130419
130419
  type: jd,
130420
130420
  role: yJe,
130421
130421
  style: Fk,
@@ -131137,7 +131137,7 @@ const ule = /* @__PURE__ */ new Set([
131137
131137
  function Sr(t) {
131138
131138
  return htt.has(t);
131139
131139
  }
131140
- function zs(t) {
131140
+ function Qs(t) {
131141
131141
  return dtt.has(t);
131142
131142
  }
131143
131143
  function Vo(t) {
@@ -131242,7 +131242,7 @@ function I8(t, e) {
131242
131242
  case "constant":
131243
131243
  return t === "symlog";
131244
131244
  case "zero":
131245
- return zs(t) && !bt([
131245
+ return Qs(t) && !bt([
131246
131246
  "log",
131247
131247
  "time",
131248
131248
  "utc",
@@ -131741,7 +131741,7 @@ function Ole(t) {
131741
131741
  return t && ("format" in t || "formatType" in t);
131742
131742
  }
131743
131743
  function Ktt(t) {
131744
- return Eo(t, ["legend", "axis", "header", "scale"]);
131744
+ return Ao(t, ["legend", "axis", "header", "scale"]);
131745
131745
  }
131746
131746
  function Xtt(t) {
131747
131747
  return "op" in t;
@@ -132799,7 +132799,7 @@ function Qle(t, { config: e }) {
132799
132799
  }
132800
132800
  ],
132801
132801
  layer: X
132802
- }, V = Kv(O, ["tooltip"]), { scale: D, axis: $ } = g, j = iP(g), Q = Eo($, ["title"]), I = Ule(l, "outliers", e.boxplot, {
132802
+ }, V = Kv(O, ["tooltip"]), { scale: D, axis: $ } = g, j = iP(g), Q = Ao($, ["title"]), I = Ule(l, "outliers", e.boxplot, {
132803
132803
  transform: [{ filter: `(${k} < ${T}) || (${k} > ${w})` }],
132804
132804
  mark: "point",
132805
132805
  encoding: Object.assign(Object.assign(Object.assign({ [y]: Object.assign(Object.assign(Object.assign({ field: g.field, type: g.type }, j !== void 0 ? { title: j } : {}), D !== void 0 ? { scale: D } : {}), zt(Q) ? {} : { axis: Q }) }, V), b ? { color: b } : {}), _ ? { tooltip: _ } : {})
@@ -133585,7 +133585,7 @@ const Vnt = [
133585
133585
  function s0e(t = {}) {
133586
133586
  const { color: e, font: n, fontSize: r, selection: i } = t, s = Unt(t, ["color", "font", "fontSize", "selection"]), o = JL({}, lt(Hnt), n ? Gnt(n) : {}, e ? znt(e) : {}, r ? Qnt(r) : {}, s || {});
133587
133587
  i && u6(o, "selection", i, !0);
133588
- const u = Eo(o, Vnt);
133588
+ const u = Ao(o, Vnt);
133589
133589
  for (const a of ["background", "lineBreak", "padding"])
133590
133590
  o[a] && (u[a] = Ds(o[a]));
133591
133591
  for (const a of hle)
@@ -133847,7 +133847,7 @@ function crt(t) {
133847
133847
  for (const e of ["line", "area", "rule", "trail"])
133848
133848
  t[e] && (t = Object.assign(Object.assign({}, t), {
133849
133849
  // TODO: remove as any
133850
- [e]: Eo(t[e], ["point", "line"])
133850
+ [e]: Ao(t[e], ["point", "line"])
133851
133851
  }));
133852
133852
  return t;
133853
133853
  }
@@ -133883,7 +133883,7 @@ class frt {
133883
133883
  Object.assign(Object.assign({}, s ? { params: s } : {}), {
133884
133884
  mark: lrt(Object.assign(Object.assign({}, f.type === "area" && f.opacity === void 0 && f.fillOpacity === void 0 ? { opacity: 0.7 } : {}), f)),
133885
133885
  // drop shape from encoding as this might be used to trigger point overlay
133886
- encoding: Eo(c, ["shape"])
133886
+ encoding: Ao(c, ["shape"])
133887
133887
  })
133888
133888
  ], m = o0e(f, c);
133889
133889
  let g = c;
@@ -134042,7 +134042,7 @@ class prt extends dP {
134042
134042
  mapNonLayerRepeat(e, n) {
134043
134043
  var r;
134044
134044
  const { repeat: i, spec: s, data: o } = e, u = p0(e, ["repeat", "spec", "data"]);
134045
- !_e(i) && e.columns && (e = Eo(e, ["columns"]), Te(Xq("repeat")));
134045
+ !_e(i) && e.columns && (e = Ao(e, ["columns"]), Te(Xq("repeat")));
134046
134046
  const a = [], { repeater: l = {}, repeaterPrefix: c = "" } = n, f = !_e(i) && i.row || [l ? l.row : null], x = !_e(i) && i.column || [l ? l.column : null], h = _e(i) && i || [l ? l.repeat : null];
134047
134047
  for (const m of h)
134048
134048
  for (const g of f)
@@ -134053,7 +134053,7 @@ class prt extends dP {
134053
134053
  column: y,
134054
134054
  layer: l.layer
134055
134055
  }, A = (s.name || "") + c + "child__" + (_e(i) ? `${yn(m)}` : (i.row ? `row_${yn(g)}` : "") + (i.column ? `column_${yn(y)}` : "")), v = this.map(s, Object.assign(Object.assign({}, n), { repeater: E, repeaterPrefix: A }));
134056
- v.name = A, a.push(Eo(v, ["data"]));
134056
+ v.name = A, a.push(Ao(v, ["data"]));
134057
134057
  }
134058
134058
  const p = _e(i) ? e.columns : i.column ? i.column.length : 1;
134059
134059
  return Object.assign(Object.assign({ data: (r = s.data) !== null && r !== void 0 ? r : o, align: "all" }, u), {
@@ -134063,7 +134063,7 @@ class prt extends dP {
134063
134063
  }
134064
134064
  mapFacet(e, n) {
134065
134065
  const { facet: r } = e;
134066
- return zE(r) && e.columns && (e = Eo(e, ["columns"]), Te(Xq("facet"))), super.mapFacet(e, n);
134066
+ return zE(r) && e.columns && (e = Ao(e, ["columns"]), Te(Xq("facet"))), super.mapFacet(e, n);
134067
134067
  }
134068
134068
  mapUnitWithParentEncodingOrProjection(e, n) {
134069
134069
  const { encoding: r, projection: i } = e, { parentEncoding: s, parentProjection: o, config: u } = n, a = iW({ parentProjection: o, projection: i }), l = rW({
@@ -134564,7 +134564,7 @@ function Xrt(t, e) {
134564
134564
  function Jrt(t, e, n, r) {
134565
134565
  const i = M0e(t, e.param, e);
134566
134566
  return {
134567
- signal: zs(n.get("type")) && _e(r) && r[0] > r[1] ? `isValid(${i}) && reverse(${i})` : i
134567
+ signal: Qs(n.get("type")) && _e(r) && r[0] > r[1] ? `isValid(${i}) && reverse(${i})` : i
134568
134568
  };
134569
134569
  }
134570
134570
  function gP(t) {
@@ -134807,7 +134807,7 @@ const tit = {
134807
134807
  let E = "E";
134808
134808
  if (c === "interval") {
134809
134809
  const v = t.getScaleComponent(m).get("type");
134810
- zs(v) && (E = "R");
134810
+ Qs(v) && (E = "R");
134811
134811
  } else
134812
134812
  g.bin && (E = "R-RE");
134813
134813
  const A = { field: y, channel: m, type: E };
@@ -134843,7 +134843,7 @@ const tit = {
134843
134843
  if (!Yc(i))
134844
134844
  continue;
134845
134845
  const s = t.getScaleComponent(i), o = s ? s.get("type") : void 0;
134846
- if (!s || !zs(o)) {
134846
+ if (!s || !Qs(o)) {
134847
134847
  Te(J8e);
134848
134848
  continue;
134849
134849
  }
@@ -134910,7 +134910,7 @@ const kh = "_brush", G8 = "_scale_trigger", rit = {
134910
134910
  Te("Interval selections only support x and y encoding channels.");
134911
134911
  return;
134912
134912
  }
134913
- const h = o ? o[f] : null, p = iit(t, e, c, h), m = c.signals.data, g = c.signals.visual, y = we(t.scaleName(x)), E = t.getScaleComponent(x).get("type"), A = zs(E) ? "+" : "";
134913
+ const h = o ? o[f] : null, p = iit(t, e, c, h), m = c.signals.data, g = c.signals.visual, y = we(t.scaleName(x)), E = t.getScaleComponent(x).get("type"), A = Qs(E) ? "+" : "";
134914
134914
  n.push(...p), u.push(m), a.push({
134915
134915
  scaleName: t.scaleName(x),
134916
134916
  expr: `(!isArray(${m}) || (${A}invert(${y}, ${g})[0] === ${A}${m}[0] && ${A}invert(${y}, ${g})[1] === ${A}${m}[1]))`
@@ -134993,7 +134993,7 @@ function iit(t, e, n, r) {
134993
134993
  ]);
134994
134994
  return p.push({
134995
134995
  events: { signal: e.name + G8 },
134996
- update: zs(c) ? `[${f(`${o}[0]`)}, ${f(`${o}[1]`)}]` : "[0, 0]"
134996
+ update: Qs(c) ? `[${f(`${o}[0]`)}, ${f(`${o}[1]`)}]` : "[0, 0]"
134997
134997
  }), u ? [{ name: o, on: [] }] : [
134998
134998
  Object.assign(Object.assign({ name: s }, r ? { init: z2(r, !0, f) } : { value: [] }), { on: p }),
134999
134999
  Object.assign(Object.assign({ name: o }, r ? { init: z2(r) } : {}), { on: [
@@ -135548,7 +135548,7 @@ function Ait(t, { invalid: e = !1, channels: n }) {
135548
135548
  const u = t.getScaleComponent(o);
135549
135549
  if (u) {
135550
135550
  const a = u.get("type"), l = t.vgField(o, { expr: "datum" });
135551
- l && zs(a) && (s[l] = !0);
135551
+ l && Qs(a) && (s[l] = !0);
135552
135552
  }
135553
135553
  return s;
135554
135554
  }, {}), i = Re(r);
@@ -135571,7 +135571,7 @@ function vit(t, { invalid: e = !1, channels: n }) {
135571
135571
  const u = t.getScaleComponent(o);
135572
135572
  if (u) {
135573
135573
  const a = u.get("type"), l = t.vgField(o, { expr: "datum" });
135574
- l && zs(a) && (s[l] = !0);
135574
+ l && Qs(a) && (s[l] = !0);
135575
135575
  }
135576
135576
  return s;
135577
135577
  }, {}), i = Re(r);
@@ -135830,7 +135830,7 @@ function Q2(t, { escape: e } = { escape: !0 }) {
135830
135830
  const r = Rit(t);
135831
135831
  if (r) {
135832
135832
  const { facet: i } = r;
135833
- for (const s of fo)
135833
+ for (const s of xo)
135834
135834
  i[s] && (n += ` + '__facet_${s}_' + (facet[${we(r.vgField(s))}])`);
135835
135835
  }
135836
135836
  return n;
@@ -136441,7 +136441,7 @@ function Vit(t, e) {
136441
136441
  }
136442
136442
  function Yit(t, e) {
136443
136443
  const n = {};
136444
- for (const r of fo) {
136444
+ for (const r of xo) {
136445
136445
  const i = t[r];
136446
136446
  if (i != null && i.facetFieldDef) {
136447
136447
  const { titleAnchor: s, titleOrient: o } = MR(["titleAnchor", "titleOrient"], i.facetFieldDef.header, e, r), u = PR(r, o), a = Vit(s, u);
@@ -137273,7 +137273,7 @@ class Z1 extends Ut {
137273
137273
  */
137274
137274
  constructor(e, n, r, i) {
137275
137275
  super(e), this.model = n, this.name = r, this.data = i;
137276
- for (const s of fo) {
137276
+ for (const s of xo) {
137277
137277
  const o = n.facet[s];
137278
137278
  if (o) {
137279
137279
  const { bin: u, sort: a } = o;
@@ -137284,20 +137284,20 @@ class Z1 extends Ut {
137284
137284
  }
137285
137285
  hash() {
137286
137286
  let e = "Facet";
137287
- for (const n of fo)
137287
+ for (const n of xo)
137288
137288
  this[n] && (e += ` ${n.charAt(0)}:${Ct(this[n])}`);
137289
137289
  return e;
137290
137290
  }
137291
137291
  get fields() {
137292
137292
  var e;
137293
137293
  const n = [];
137294
- for (const r of fo)
137294
+ for (const r of xo)
137295
137295
  !((e = this[r]) === null || e === void 0) && e.fields && n.push(...this[r].fields);
137296
137296
  return n;
137297
137297
  }
137298
137298
  dependentFields() {
137299
137299
  const e = new Set(this.fields);
137300
- for (const n of fo)
137300
+ for (const n of xo)
137301
137301
  this[n] && (this[n].sortField && e.add(this[n].sortField.field), this[n].sortIndexField && e.add(this[n].sortIndexField));
137302
137302
  return e;
137303
137303
  }
@@ -137611,7 +137611,7 @@ class ed extends Ut {
137611
137611
  constructor(e) {
137612
137612
  super(null), e ?? (e = { name: "source" });
137613
137613
  let n;
137614
- if (Y0(e) || (n = e.format ? Object.assign({}, Eo(e.format, ["parse"])) : {}), F3(e))
137614
+ if (Y0(e) || (n = e.format ? Object.assign({}, Ao(e.format, ["parse"])) : {}), F3(e))
137615
137615
  this._data = { values: e.values };
137616
137616
  else if (H2(e)) {
137617
137617
  if (this._data = { url: e.url }, !n.type) {
@@ -138594,7 +138594,7 @@ function fot(t, e) {
138594
138594
  I8(s, "rangeMin") && _e(c) && c.length === 2 ? Pu([a ?? c[0], l ?? c[1]]) : Rs(c);
138595
138595
  }
138596
138596
  function xot(t) {
138597
- return gtt(t) ? Object.assign({ scheme: t.name }, Eo(t, ["name"])) : { scheme: t };
138597
+ return gtt(t) ? Object.assign({ scheme: t.name }, Ao(t, ["name"])) : { scheme: t };
138598
138598
  }
138599
138599
  function dot(t, e) {
138600
138600
  const { size: n, config: r, mark: i, encoding: s } = e, o = e.getSignalName.bind(e), { type: u } = tr(s[t]), l = e.getScaleComponent(t).get("type"), { domain: c, domainMid: f } = e.specifiedScales[t];
@@ -138607,7 +138607,7 @@ function dot(t, e) {
138607
138607
  return { step: xce(p, e, t) };
138608
138608
  }
138609
138609
  const x = hs(t), h = e.getName(x);
138610
- return t === vr && zs(l) ? [cs.fromName(o, h), 0] : [0, cs.fromName(o, h)];
138610
+ return t === vr && Qs(l) ? [cs.fromName(o, h), 0] : [0, cs.fromName(o, h)];
138611
138611
  }
138612
138612
  case zc:
138613
138613
  case B1:
@@ -138905,12 +138905,12 @@ function Cot(t, e, n, r, i, s = !1) {
138905
138905
  }
138906
138906
  function bot(t, e, n, r) {
138907
138907
  if (n === "x" && r.xReverse !== void 0)
138908
- return zs(t) && e === "descending" ? Ye(r.xReverse) ? { signal: `!${r.xReverse.signal}` } : !r.xReverse : r.xReverse;
138909
- if (zs(t) && e === "descending")
138908
+ return Qs(t) && e === "descending" ? Ye(r.xReverse) ? { signal: `!${r.xReverse.signal}` } : !r.xReverse : r.xReverse;
138909
+ if (Qs(t) && e === "descending")
138910
138910
  return !0;
138911
138911
  }
138912
138912
  function Tot(t, e, n, r, i) {
138913
- if (!!n && n !== "unaggregated" && zs(i)) {
138913
+ if (!!n && n !== "unaggregated" && Qs(i)) {
138914
138914
  if (_e(n)) {
138915
138915
  const o = n[0], u = n[n.length - 1];
138916
138916
  if (o <= 0 && u >= 0)
@@ -139122,7 +139122,7 @@ class FP {
139122
139122
  assembleHeaderMarks() {
139123
139123
  const { layoutHeaders: e } = this.component;
139124
139124
  let n = [];
139125
- for (const r of fo)
139125
+ for (const r of xo)
139126
139126
  e[r].title && n.push(Hit(this, r));
139127
139127
  for (const r of vP)
139128
139128
  n = n.concat(zit(this, r));
@@ -139330,7 +139330,7 @@ class L3 extends Ut {
139330
139330
  const f = Yc(c) && n.getScaleComponent(c);
139331
139331
  if (f) {
139332
139332
  const x = f.get("type");
139333
- zs(x) && l.aggregate !== "count" && !sf(i) && (a[l.field] = l);
139333
+ Qs(x) && l.aggregate !== "count" && !sf(i) && (a[l.field] = l);
139334
139334
  }
139335
139335
  return a;
139336
139336
  }, {});
@@ -139833,7 +139833,7 @@ function Mot(t) {
139833
139833
  return t === "top" || t === "left" || Ye(t) ? "header" : "footer";
139834
139834
  }
139835
139835
  function jot(t) {
139836
- for (const e of fo)
139836
+ for (const e of xo)
139837
139837
  Uot(t, e);
139838
139838
  FW(t, "x"), FW(t, "y");
139839
139839
  }
@@ -140013,7 +140013,7 @@ class Bm extends Ace {
140013
140013
  getHeaderLayoutMixins() {
140014
140014
  var e, n, r;
140015
140015
  const i = {};
140016
- for (const s of fo)
140016
+ for (const s of xo)
140017
140017
  for (const o of SP) {
140018
140018
  const u = this.component.layoutHeaders[s], a = u[o], { facetFieldDef: l } = u;
140019
140019
  if (l) {
@@ -140080,7 +140080,7 @@ class Bm extends Ace {
140080
140080
  }
140081
140081
  assembleFacet() {
140082
140082
  const { name: e, data: n } = this.component.data.facetRoot, { row: r, column: i } = this.facet, { fields: s, ops: o, as: u } = this.getCardinalityAggregateForChild(), a = [];
140083
- for (const c of fo) {
140083
+ for (const c of xo) {
140084
140084
  const f = this.facet[c];
140085
140085
  if (f) {
140086
140086
  a.push($e(f));
@@ -140139,8 +140139,8 @@ class Bm extends Ace {
140139
140139
  },
140140
140140
  // TODO: move this to after data
140141
140141
  sort: {
140142
- field: fo.map((a) => this.facetSortFields(a)).flat(),
140143
- order: fo.map((a) => this.facetSortOrder(a)).flat()
140142
+ field: xo.map((a) => this.facetSortFields(a)).flat(),
140143
+ order: xo.map((a) => this.facetSortOrder(a)).flat()
140144
140144
  }
140145
140145
  }), r.length > 0 ? { data: r } : {}), i ? { encode: { update: i } } : {}), e.assembleGroup(Vrt(this, [])))];
140146
140146
  }
@@ -140902,10 +140902,10 @@ function Lut(t) {
140902
140902
  t.stack.fieldChannel === "x" ? (o = Object.assign(Object.assign({}, i3(n.encode.update, ["y", "yc", "y2", "height", ...YD])), { x: { signal: s("min", "datum") }, x2: { signal: s("max", "datum") }, clip: { value: !0 } }), u = {
140903
140903
  x: { field: { group: "x" }, mult: -1 },
140904
140904
  height: { field: { group: "height" } }
140905
- }, n.encode.update = Object.assign(Object.assign({}, Eo(n.encode.update, ["y", "yc", "y2"])), { height: { field: { group: "height" } } })) : (o = Object.assign(Object.assign({}, i3(n.encode.update, ["x", "xc", "x2", "width"])), { y: { signal: s("min", "datum") }, y2: { signal: s("max", "datum") }, clip: { value: !0 } }), u = {
140905
+ }, n.encode.update = Object.assign(Object.assign({}, Ao(n.encode.update, ["y", "yc", "y2"])), { height: { field: { group: "height" } } })) : (o = Object.assign(Object.assign({}, i3(n.encode.update, ["x", "xc", "x2", "width"])), { y: { signal: s("min", "datum") }, y2: { signal: s("max", "datum") }, clip: { value: !0 } }), u = {
140906
140906
  y: { field: { group: "y" }, mult: -1 },
140907
140907
  width: { field: { group: "width" } }
140908
- }, n.encode.update = Object.assign(Object.assign({}, Eo(n.encode.update, ["x", "xc", "x2"])), { width: { field: { group: "width" } } }));
140908
+ }, n.encode.update = Object.assign(Object.assign({}, Ao(n.encode.update, ["x", "xc", "x2"])), { width: { field: { group: "width" } } }));
140909
140909
  for (const c of YD) {
140910
140910
  const f = kx(c, t.markDef, t.config);
140911
140911
  n.encode.update[c] ? (o[c] = n.encode.update[c], delete n.encode.update[c]) : f && (o[c] = nn(f)), f && (n.encode.update[c] = { value: 0 });
@@ -141757,13 +141757,13 @@ class zut {
141757
141757
  }
141758
141758
  async render(e) {
141759
141759
  if (!e.isString())
141760
- return So(
141760
+ return js(
141761
141761
  this.document,
141762
141762
  "Invalid field for Image renderer"
141763
141763
  );
141764
141764
  const { tag: n } = e.field.tagParse(), r = n.tag("image");
141765
141765
  if (!r)
141766
- return So(
141766
+ return js(
141767
141767
  this.document,
141768
141768
  "Missing tag for Image renderer"
141769
141769
  );
@@ -142643,7 +142643,7 @@ class Xut {
142643
142643
  if (e.isNull())
142644
142644
  return uE(this.document);
142645
142645
  if (!e.isDate() && !e.isTimestamp())
142646
- return So(
142646
+ return js(
142647
142647
  this.document,
142648
142648
  "Invalid field for date renderer"
142649
142649
  );
@@ -142766,15 +142766,18 @@ class rat {
142766
142766
  async render(e) {
142767
142767
  if (e.isNull())
142768
142768
  return uE(this.document);
142769
+ const { tag: n } = e.field.tagParse(), r = n.tag("link");
142770
+ if (!r)
142771
+ return js(this.document, "Missing tag for Link renderer");
142769
142772
  if (!e.isString())
142770
- return So(
142773
+ return js(
142771
142774
  this.document,
142772
142775
  "Invalid type for link renderer."
142773
142776
  );
142774
- const n = this.document.createElement("a");
142775
- return n.href = e.value, n.target = "_blank", n.appendChild(
142777
+ const i = r.text("url_template"), s = this.document.createElement("a");
142778
+ return s.href = e.value, i && (i.indexOf("$$") > -1 ? s.href = i.replace("$$", e.value) : s.href = i + e.value), s.target = "_blank", s.appendChild(
142776
142779
  this.document.createTextNode(e.value.replace(/\//g, "/‌"))
142777
- ), n;
142780
+ ), s;
142778
142781
  }
142779
142782
  }
142780
142783
  const I_ = class I_ extends xn {
@@ -144564,7 +144567,7 @@ function flt(t) {
144564
144567
  }
144565
144568
  });
144566
144569
  }
144567
- function to(t, ...e) {
144570
+ function no(t, ...e) {
144568
144571
  let n;
144569
144572
  for (const r of e)
144570
144573
  if (n = r == null ? void 0 : r.text(t), typeof n < "u")
@@ -144572,7 +144575,7 @@ function to(t, ...e) {
144572
144575
  return n ?? `var(--malloy-theme--${t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()})`;
144573
144576
  }
144574
144577
  function xlt(t, e) {
144575
- const n = {}, r = to("tableRowHeight", e, t), i = to("tableBodyColor", e, t), s = to("tableFontSize", e, t), o = to("tableHeaderColor", e, t), u = to("tableHeaderWeight", e, t), a = to("tableBodyWeight", e, t), l = to("tableBorder", e, t), c = to("tableBackground", e, t), f = to("tableGutterSize", e, t), x = to("tablePinnedBackground", e, t), h = to("tablePinnedBorder", e, t), p = to("fontFamily", e, t);
144578
+ const n = {}, r = no("tableRowHeight", e, t), i = no("tableBodyColor", e, t), s = no("tableFontSize", e, t), o = no("tableHeaderColor", e, t), u = no("tableHeaderWeight", e, t), a = no("tableBodyWeight", e, t), l = no("tableBorder", e, t), c = no("tableBackground", e, t), f = no("tableGutterSize", e, t), x = no("tablePinnedBackground", e, t), h = no("tablePinnedBorder", e, t), p = no("fontFamily", e, t);
144576
144579
  return n["--malloy-render--table-row-height"] = r, n["--malloy-render--table-body-color"] = i, n["--malloy-render--table-font-size"] = s, n["--malloy-render--font-family"] = p, n["--malloy-render--table-header-color"] = o, n["--malloy-render--table-header-weight"] = u, n["--malloy-render--table-body-weight"] = a, n["--malloy-render--table-border"] = l, n["--malloy-render--table-background"] = c, n["--malloy-render--table-gutter-size"] = f, n["--malloy-render--table-pinned-background"] = x, n["--malloy-render--table-pinned-border"] = h, n;
144577
144580
  }
144578
144581
  const dlt = `:host {
@@ -144750,7 +144753,7 @@ class I0t {
144750
144753
  try {
144751
144754
  return await s.render(i);
144752
144755
  } catch (o) {
144753
- return o instanceof Error ? So(this.document, o) : So(
144756
+ return o instanceof Error ? js(this.document, o) : js(
144754
144757
  this.document,
144755
144758
  "Internal error - Exception not an Error object."
144756
144759
  );
@@ -144766,7 +144769,7 @@ class $0t {
144766
144769
  try {
144767
144770
  return await n.render(e);
144768
144771
  } catch (r) {
144769
- return r instanceof Error ? So(this.document, r) : So(
144772
+ return r instanceof Error ? js(this.document, r) : js(
144770
144773
  this.document,
144771
144774
  "Internal error - Exception not an Error object."
144772
144775
  );