@malloydata/render 0.0.248-dev250325154148 → 0.0.248-dev250325235002

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.
@@ -229,12 +229,12 @@ function ghe(t, e) {
229
229
  try {
230
230
  return td(e, !0);
231
231
  } catch (s) {
232
- UN(s);
232
+ U8(s);
233
233
  } finally {
234
234
  nn = r, Cn = i;
235
235
  }
236
236
  }
237
- function MN(t, e) {
237
+ function M8(t, e) {
238
238
  const r = Symbol("context");
239
239
  return {
240
240
  id: r,
@@ -242,7 +242,7 @@ function MN(t, e) {
242
242
  defaultValue: t
243
243
  };
244
244
  }
245
- function PN(t) {
245
+ function P8(t) {
246
246
  let e;
247
247
  return nn && nn.context && (e = nn.context[t.id]) !== void 0 ? e : t.defaultValue;
248
248
  }
@@ -294,7 +294,7 @@ function yhe(t, e, r) {
294
294
  try {
295
295
  i = t.fn(e);
296
296
  } catch (u) {
297
- return t.pure && (t.state = r0, t.owned && t.owned.forEach(zg), t.owned = null), t.updatedAt = r + 1, UN(u);
297
+ return t.pure && (t.state = r0, t.owned && t.owned.forEach(zg), t.owned = null), t.updatedAt = r + 1, U8(u);
298
298
  } finally {
299
299
  Cn = o, nn = s;
300
300
  }
@@ -339,7 +339,7 @@ function td(t, e) {
339
339
  const i = t();
340
340
  return Ehe(r), i;
341
341
  } catch (i) {
342
- r || (Tl = null), ci = null, UN(i);
342
+ r || (Tl = null), ci = null, U8(i);
343
343
  }
344
344
  }
345
345
  function Ehe(t) {
@@ -403,7 +403,7 @@ function _he(t) {
403
403
  cause: t
404
404
  });
405
405
  }
406
- function UN(t, e = nn) {
406
+ function U8(t, e = nn) {
407
407
  throw _he(t);
408
408
  }
409
409
  function rw(t) {
@@ -683,7 +683,7 @@ function bt(t, e, r) {
683
683
  }, o = e ? () => Ps(() => document.importNode(i || (i = s()), !0)) : () => (i || (i = s())).cloneNode(!0);
684
684
  return o.cloneNode = o, o;
685
685
  }
686
- function jN(t, e = window.document) {
686
+ function j8(t, e = window.document) {
687
687
  const r = e[qP] || (e[qP] = /* @__PURE__ */ new Set());
688
688
  for (let i = 0, s = t.length; i < s; i++) {
689
689
  const o = t[i];
@@ -897,10 +897,10 @@ function QP(t) {
897
897
  };
898
898
  }
899
899
  const xA = (t) => t && typeof t == "object";
900
- function qN(t, e) {
900
+ function q8(t, e) {
901
901
  return !xA(t) || !xA(e) ? e : (Object.keys(e).forEach((r) => {
902
902
  const i = t[r], s = e[r];
903
- Array.isArray(i) && Array.isArray(s) ? t[r] = [...s] : xA(i) && xA(s) ? t[r] = qN(
903
+ Array.isArray(i) && Array.isArray(s) ? t[r] = [...s] : xA(i) && xA(s) ? t[r] = q8(
904
904
  Object.assign({}, i),
905
905
  s
906
906
  ) : t[r] = s;
@@ -1002,7 +1002,7 @@ function $he(t) {
1002
1002
  });
1003
1003
  }), r;
1004
1004
  }
1005
- var ou = {}, pb = {}, HN = {}, Zp = {}, _e = {};
1005
+ var ou = {}, pb = {}, H8 = {}, Zp = {}, _e = {};
1006
1006
  /*!
1007
1007
  * Copyright 2016 The ANTLR Project. All rights reserved.
1008
1008
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -1166,7 +1166,7 @@ var kc = {}, pu = {}, Or = {};
1166
1166
  * Copyright 2016 The ANTLR Project. All rights reserved.
1167
1167
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
1168
1168
  */
1169
- var QN = T && T.__decorate || function(t, e, r, i) {
1169
+ var Q8 = T && T.__decorate || function(t, e, r, i) {
1170
1170
  var s = arguments.length, o = s < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, r) : i, u;
1171
1171
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(t, e, r, i);
1172
1172
  else for (var a = t.length - 1; a >= 0; a--) (u = t[a]) && (o = (s < 3 ? u(o) : s > 3 ? u(e, r, o) : u(e, r)) || o);
@@ -1174,7 +1174,7 @@ var QN = T && T.__decorate || function(t, e, r, i) {
1174
1174
  };
1175
1175
  Object.defineProperty(Or, "__esModule", { value: !0 });
1176
1176
  Or.Interval = void 0;
1177
- const zN = _e, eK = 1e3;
1177
+ const z8 = _e, eK = 1e3;
1178
1178
  let hx = class no {
1179
1179
  /**
1180
1180
  * @param a The start of the interval
@@ -1262,14 +1262,14 @@ let hx = class no {
1262
1262
  };
1263
1263
  hx._INVALID = new hx(-1, -2);
1264
1264
  hx.cache = new Array(eK + 1);
1265
- QN([
1266
- zN.Override
1265
+ Q8([
1266
+ z8.Override
1267
1267
  ], hx.prototype, "equals", null);
1268
- QN([
1269
- zN.Override
1268
+ Q8([
1269
+ z8.Override
1270
1270
  ], hx.prototype, "hashCode", null);
1271
- QN([
1272
- zN.Override
1271
+ Q8([
1272
+ z8.Override
1273
1273
  ], hx.prototype, "toString", null);
1274
1274
  Or.Interval = hx;
1275
1275
  var cn = {}, i0 = {};
@@ -1524,7 +1524,7 @@ var oK = {};
1524
1524
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
1525
1525
  */
1526
1526
  Object.defineProperty(oK, "__esModule", { value: !0 });
1527
- var h1 = {}, KD = {}, s0 = {}, gu = {}, JD = { exports: {} }, XD = {}, cc = {}, uK = {}, WN = function() {
1527
+ var h1 = {}, KD = {}, s0 = {}, gu = {}, JD = { exports: {} }, XD = {}, cc = {}, uK = {}, W8 = function() {
1528
1528
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
1529
1529
  return !1;
1530
1530
  if (typeof Symbol.iterator == "symbol")
@@ -1547,9 +1547,9 @@ var h1 = {}, KD = {}, s0 = {}, gu = {}, JD = { exports: {} }, XD = {}, cc = {},
1547
1547
  return !1;
1548
1548
  }
1549
1549
  return !0;
1550
- }, Ghe = WN, GN = function() {
1550
+ }, Ghe = W8, G8 = function() {
1551
1551
  return Ghe() && !!Symbol.toStringTag;
1552
- }, Vhe = Error, Yhe = EvalError, Khe = RangeError, Jhe = ReferenceError, aK = SyntaxError, gb = TypeError, Xhe = URIError, zP = typeof Symbol < "u" && Symbol, Zhe = WN, epe = function() {
1552
+ }, Vhe = Error, Yhe = EvalError, Khe = RangeError, Jhe = ReferenceError, aK = SyntaxError, gb = TypeError, Xhe = URIError, zP = typeof Symbol < "u" && Symbol, Zhe = W8, epe = function() {
1553
1553
  return typeof zP != "function" || typeof Symbol != "function" || typeof zP("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : Zhe();
1554
1554
  }, WP = {
1555
1555
  foo: {}
@@ -1593,7 +1593,7 @@ var h1 = {}, KD = {}, s0 = {}, gu = {}, JD = { exports: {} }, XD = {}, cc = {},
1593
1593
  c.prototype = r.prototype, s.prototype = new c(), c.prototype = null;
1594
1594
  }
1595
1595
  return s;
1596
- }, cpe = lpe, VN = Function.prototype.bind || cpe, fpe = Function.prototype.call, xpe = Object.prototype.hasOwnProperty, dpe = VN, hpe = dpe.call(fpe, xpe), Dt, ppe = Vhe, mpe = Yhe, gpe = Khe, ype = Jhe, Qh = aK, bh = gb, Epe = Xhe, lK = Function, ZD = function(t) {
1596
+ }, cpe = lpe, V8 = Function.prototype.bind || cpe, fpe = Function.prototype.call, xpe = Object.prototype.hasOwnProperty, dpe = V8, hpe = dpe.call(fpe, xpe), Dt, ppe = Vhe, mpe = Yhe, gpe = Khe, ype = Jhe, Qh = aK, bh = gb, Epe = Xhe, lK = Function, ZD = function(t) {
1597
1597
  try {
1598
1598
  return lK('"use strict"; return (' + t + ").constructor;")();
1599
1599
  } catch {
@@ -1765,7 +1765,7 @@ var Spe = function t(e) {
1765
1765
  "%URIErrorPrototype%": ["URIError", "prototype"],
1766
1766
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
1767
1767
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
1768
- }, W3 = VN, Sv = hpe, bpe = W3.call(Function.call, Array.prototype.concat), Tpe = W3.call(Function.apply, Array.prototype.splice), YP = W3.call(Function.call, String.prototype.replace), bv = W3.call(Function.call, String.prototype.slice), Rpe = W3.call(Function.call, RegExp.prototype.exec), Dpe = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Ope = /\\(\\)?/g, wpe = function(e) {
1768
+ }, W3 = V8, Sv = hpe, bpe = W3.call(Function.call, Array.prototype.concat), Tpe = W3.call(Function.apply, Array.prototype.splice), YP = W3.call(Function.call, String.prototype.replace), bv = W3.call(Function.call, String.prototype.slice), Rpe = W3.call(Function.call, RegExp.prototype.exec), Dpe = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Ope = /\\(\\)?/g, wpe = function(e) {
1769
1769
  var r = bv(e, 0, 1), i = bv(e, -1);
1770
1770
  if (r === "%" && i !== "%")
1771
1771
  throw new Qh("invalid intrinsic syntax, expected closing `%`");
@@ -1819,7 +1819,7 @@ var Spe = function t(e) {
1819
1819
  }
1820
1820
  return a;
1821
1821
  }, cK = { exports: {} }, tO, KP;
1822
- function YN() {
1822
+ function Y8() {
1823
1823
  if (KP) return tO;
1824
1824
  KP = 1;
1825
1825
  var t = G3, e = t("%Object.defineProperty%", !0) || !1;
@@ -1838,7 +1838,7 @@ if (S_)
1838
1838
  } catch {
1839
1839
  S_ = null;
1840
1840
  }
1841
- var KN = S_, JP = YN(), Lpe = aK, Hd = gb, XP = KN, fK = function(e, r, i) {
1841
+ var K8 = S_, JP = Y8(), Lpe = aK, Hd = gb, XP = K8, fK = function(e, r, i) {
1842
1842
  if (!e || typeof e != "object" && typeof e != "function")
1843
1843
  throw new Hd("`obj` must be an object or a function`");
1844
1844
  if (typeof r != "string" && typeof r != "symbol")
@@ -1863,7 +1863,7 @@ var KN = S_, JP = YN(), Lpe = aK, Hd = gb, XP = KN, fK = function(e, r, i) {
1863
1863
  e[r] = i;
1864
1864
  else
1865
1865
  throw new Lpe("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
1866
- }, sw = YN(), xK = function() {
1866
+ }, sw = Y8(), xK = function() {
1867
1867
  return !!sw;
1868
1868
  };
1869
1869
  xK.hasArrayLengthDefineBug = function() {
@@ -1875,7 +1875,7 @@ xK.hasArrayLengthDefineBug = function() {
1875
1875
  return !0;
1876
1876
  }
1877
1877
  };
1878
- var dK = xK, Ipe = G3, ZP = fK, $pe = dK(), eU = KN, tU = gb, Bpe = Ipe("%Math.floor%"), kpe = function(e, r) {
1878
+ var dK = xK, Ipe = G3, ZP = fK, $pe = dK(), eU = K8, tU = gb, Bpe = Ipe("%Math.floor%"), kpe = function(e, r) {
1879
1879
  if (typeof e != "function")
1880
1880
  throw new tU("`fn` is not a function");
1881
1881
  if (typeof r != "number" || r < 0 || r > 4294967295 || Bpe(r) !== r)
@@ -1900,7 +1900,7 @@ var dK = xK, Ipe = G3, ZP = fK, $pe = dK(), eU = KN, tU = gb, Bpe = Ipe("%Math.f
1900
1900
  )), e;
1901
1901
  };
1902
1902
  (function(t) {
1903
- var e = VN, r = G3, i = kpe, s = gb, o = r("%Function.prototype.apply%"), u = r("%Function.prototype.call%"), a = r("%Reflect.apply%", !0) || e.call(u, o), l = YN(), c = r("%Math.max%");
1903
+ var e = V8, r = G3, i = kpe, s = gb, o = r("%Function.prototype.apply%"), u = r("%Function.prototype.call%"), a = r("%Reflect.apply%", !0) || e.call(u, o), l = Y8(), c = r("%Math.max%");
1904
1904
  t.exports = function(h) {
1905
1905
  if (typeof h != "function")
1906
1906
  throw new s("a function is required");
@@ -1919,7 +1919,7 @@ var dK = xK, Ipe = G3, ZP = fK, $pe = dK(), eU = KN, tU = gb, Bpe = Ipe("%Math.f
1919
1919
  var yb = cK.exports, hK = G3, pK = yb, Mpe = pK(hK("String.prototype.indexOf")), Eb = function(e, r) {
1920
1920
  var i = hK(e, !!r);
1921
1921
  return typeof i == "function" && Mpe(e, ".prototype.") > -1 ? pK(i) : i;
1922
- }, Ppe = GN(), Upe = Eb, ow = Upe("Object.prototype.toString"), Ab = function(e) {
1922
+ }, Ppe = G8(), Upe = Eb, ow = Upe("Object.prototype.toString"), Ab = function(e) {
1923
1923
  return Ppe && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : ow(e) === "[object Arguments]";
1924
1924
  }, mK = function(e) {
1925
1925
  return Ab(e) ? !0 : e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && ow(e) !== "[object Array]" && ow(e.callee) === "[object Function]";
@@ -1927,7 +1927,7 @@ var yb = cK.exports, hK = G3, pK = yb, Mpe = pK(hK("String.prototype.indexOf")),
1927
1927
  return Ab(arguments);
1928
1928
  }();
1929
1929
  Ab.isLegacyArguments = mK;
1930
- var qpe = jpe ? Ab : mK, Hpe = Object.prototype.toString, Qpe = Function.prototype.toString, zpe = /^\s*(?:function)?\*/, gK = GN(), nO = Object.getPrototypeOf, Wpe = function() {
1930
+ var qpe = jpe ? Ab : mK, Hpe = Object.prototype.toString, Qpe = Function.prototype.toString, zpe = /^\s*(?:function)?\*/, gK = G8(), nO = Object.getPrototypeOf, Wpe = function() {
1931
1931
  if (!gK)
1932
1932
  return !1;
1933
1933
  try {
@@ -2035,7 +2035,7 @@ var Vpe = /^\s*class\b/, aw = function(e) {
2035
2035
  for (var e = [], r = 0; r < iO.length; r++)
2036
2036
  typeof a2e[iO[r]] == "function" && (e[e.length] = iO[r]);
2037
2037
  return e;
2038
- }, Tv = u2e, c2e = l2e, rU = yb, JN = Eb, T_ = KN, f2e = JN("Object.prototype.toString"), AK = GN(), iU = typeof globalThis > "u" ? T : globalThis, lw = c2e(), XN = JN("String.prototype.slice"), sO = Object.getPrototypeOf, x2e = JN("Array.prototype.indexOf", !0) || function(e, r) {
2038
+ }, Tv = u2e, c2e = l2e, rU = yb, J8 = Eb, T_ = K8, f2e = J8("Object.prototype.toString"), AK = G8(), iU = typeof globalThis > "u" ? T : globalThis, lw = c2e(), X8 = J8("String.prototype.slice"), sO = Object.getPrototypeOf, x2e = J8("Array.prototype.indexOf", !0) || function(e, r) {
2039
2039
  for (var i = 0; i < e.length; i += 1)
2040
2040
  if (e[i] === r)
2041
2041
  return i;
@@ -2060,7 +2060,7 @@ var d2e = function(e) {
2060
2060
  return Tv(Rv, function(i, s) {
2061
2061
  if (!r)
2062
2062
  try {
2063
- "$" + i(e) === s && (r = XN(s, 1));
2063
+ "$" + i(e) === s && (r = X8(s, 1));
2064
2064
  } catch {
2065
2065
  }
2066
2066
  }), r;
@@ -2069,7 +2069,7 @@ var d2e = function(e) {
2069
2069
  return Tv(Rv, function(i, s) {
2070
2070
  if (!r)
2071
2071
  try {
2072
- i(e), r = XN(s, 1);
2072
+ i(e), r = X8(s, 1);
2073
2073
  } catch {
2074
2074
  }
2075
2075
  }), r;
@@ -2077,7 +2077,7 @@ var d2e = function(e) {
2077
2077
  if (!e || typeof e != "object")
2078
2078
  return !1;
2079
2079
  if (!AK) {
2080
- var r = XN(f2e(e), 8, -1);
2080
+ var r = X8(f2e(e), 8, -1);
2081
2081
  return x2e(lw, r) > -1 ? r : r !== "Object" ? !1 : h2e(e);
2082
2082
  }
2083
2083
  return T_ ? d2e(e) : null;
@@ -3258,7 +3258,7 @@ R_.shim = function() {
3258
3258
  Object.keys = R_;
3259
3259
  return Object.keys || R_;
3260
3260
  };
3261
- var SK = R_, C2e = SK, bK = WN(), TK = Eb, fU = Object, S2e = TK("Array.prototype.push"), xU = TK("Object.prototype.propertyIsEnumerable"), b2e = bK ? Object.getOwnPropertySymbols : null, T2e = function(e, r) {
3261
+ var SK = R_, C2e = SK, bK = W8(), TK = Eb, fU = Object, S2e = TK("Array.prototype.push"), xU = TK("Object.prototype.propertyIsEnumerable"), b2e = bK ? Object.getOwnPropertySymbols : null, T2e = function(e, r) {
3262
3262
  if (e == null)
3263
3263
  throw new TypeError("target must be an object");
3264
3264
  var i = fU(e);
@@ -3305,7 +3305,7 @@ var SK = R_, C2e = SK, bK = WN(), TK = Eb, fU = Object, S2e = TK("Array.prototyp
3305
3305
  return t !== t;
3306
3306
  }, RK = function(e, r) {
3307
3307
  return e === 0 && r === 0 ? 1 / e === 1 / r : !!(e === r || dU(e) && dU(r));
3308
- }, w2e = RK, ZN = function() {
3308
+ }, w2e = RK, Z8 = function() {
3309
3309
  return typeof Object.is == "function" ? Object.is : w2e;
3310
3310
  }, lO, hU;
3311
3311
  function _b() {
@@ -3334,7 +3334,7 @@ var cO, pU;
3334
3334
  function F2e() {
3335
3335
  if (pU) return cO;
3336
3336
  pU = 1;
3337
- var t = ZN, e = _b();
3337
+ var t = Z8, e = _b();
3338
3338
  return cO = function() {
3339
3339
  var i = t();
3340
3340
  return e(Object, { is: i }, {
@@ -3348,7 +3348,7 @@ var fO, mU;
3348
3348
  function N2e() {
3349
3349
  if (mU) return fO;
3350
3350
  mU = 1;
3351
- var t = _b(), e = yb, r = RK, i = ZN, s = F2e(), o = e(i(), Object);
3351
+ var t = _b(), e = yb, r = RK, i = Z8, s = F2e(), o = e(i(), Object);
3352
3352
  return t(o, {
3353
3353
  getPolyfill: i,
3354
3354
  implementation: r,
@@ -3777,7 +3777,7 @@ function ji() {
3777
3777
  if (!(w instanceof F))
3778
3778
  throw new TypeError("Cannot call a class as a function");
3779
3779
  }
3780
- var i = vK(), s = i.codes, o = s.ERR_AMBIGUOUS_ARGUMENT, u = s.ERR_INVALID_ARG_TYPE, a = s.ERR_INVALID_ARG_VALUE, l = s.ERR_INVALID_RETURN_VALUE, c = s.ERR_MISSING_ARGS, f = E2e(), x = cc, h = x.inspect, p = cc.types, m = p.isPromise, y = p.isRegExp, g = O2e(), E = ZN(), A = Eb("RegExp.prototype.test"), _, v;
3780
+ var i = vK(), s = i.codes, o = s.ERR_AMBIGUOUS_ARGUMENT, u = s.ERR_INVALID_ARG_TYPE, a = s.ERR_INVALID_ARG_VALUE, l = s.ERR_INVALID_RETURN_VALUE, c = s.ERR_MISSING_ARGS, f = E2e(), x = cc, h = x.inspect, p = cc.types, m = p.isPromise, y = p.isRegExp, g = O2e(), E = Z8(), A = Eb("RegExp.prototype.test"), _, v;
3781
3781
  function C() {
3782
3782
  var w = $2e();
3783
3783
  _ = w.isDeepEqual, v = w.isDeepStrictEqual;
@@ -18134,7 +18134,7 @@ function Wc() {
18134
18134
  for (var o in i) o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, i, o);
18135
18135
  };
18136
18136
  Object.defineProperty(t, "__esModule", { value: !0 }), r(Zp, t), r(kc, t), r(nK, t), r(rK, t), r(mb, t), r(iK, t), r(Mc, t), r(Pc, t), r(sK, t), r(pu, t), r(oK, t), r(Wc(), t);
18137
- })(HN);
18137
+ })(H8);
18138
18138
  var n5 = {}, Pge = T && T.__createBinding || (Object.create ? function(t, e, r, i) {
18139
18139
  i === void 0 && (i = r);
18140
18140
  var s = Object.getOwnPropertyDescriptor(e, r);
@@ -19740,7 +19740,7 @@ function h3e(t, e = "") {
19740
19740
  Ty.parseString = h3e;
19741
19741
  Object.defineProperty(pb, "__esModule", { value: !0 });
19742
19742
  pb.Tag = void 0;
19743
- const p3e = HN, m3e = n5, g3e = Ft, jj = by, qJ = Ty;
19743
+ const p3e = H8, m3e = n5, g3e = Ft, jj = by, qJ = Ty;
19744
19744
  class vt {
19745
19745
  static tagFrom(e = {}) {
19746
19746
  return e instanceof vt ? e : new vt(e);
@@ -41297,7 +41297,7 @@ function JFe(t, e, r) {
41297
41297
  return a && u;
41298
41298
  }
41299
41299
  const _ie = E2(y3), XFe = _ie.left, ZFe = _ie.right;
41300
- function e8e(t, e, r) {
41300
+ function eNe(t, e, r) {
41301
41301
  const i = this.context.data[t], s = i ? i.values.value : [], o = i ? i[KC] && i[KC].value : void 0, u = r === n$, a = y3(e), l = XFe(s, a);
41302
41302
  if (l === s.length || y3(s[l]) !== a) return !1;
41303
41303
  if (o && u) {
@@ -41306,14 +41306,14 @@ function e8e(t, e, r) {
41306
41306
  }
41307
41307
  return !0;
41308
41308
  }
41309
- function t8e(t, e) {
41309
+ function tNe(t, e) {
41310
41310
  return t.map((r) => _t(e.fields ? {
41311
41311
  values: e.fields.map((i) => Aie(i)(r.datum))
41312
41312
  } : {
41313
41313
  [Qu]: y3(r.datum)
41314
41314
  }, e));
41315
41315
  }
41316
- function n8e(t, e, r, i) {
41316
+ function nNe(t, e, r, i) {
41317
41317
  for (var s = this.context.data[t], o = s ? s.values.value : [], u = {}, a = {}, l = {}, c, f, x, h, p, m, y, g, E, A, _ = o.length, v = 0, C, S; v < _; ++v)
41318
41318
  if (c = o[v], h = c.unit, f = c.fields, x = c.values, f && x) {
41319
41319
  for (C = 0, S = f.length; C < S; ++C)
@@ -41357,25 +41357,25 @@ var k6 = {
41357
41357
  return r > i && (r = e[1], i = e[0]), t.length ? i < t[0] || t[1] < r ? [] : (t[0] < r && (t[0] = r), t[1] > i && (t[1] = i), t) : [r, i];
41358
41358
  }
41359
41359
  };
41360
- const r8e = ":", i8e = "@";
41360
+ const rNe = ":", iNe = "@";
41361
41361
  function r$(t, e, r, i) {
41362
41362
  e[0].type !== RFe && be("First argument to selection functions must be a string literal.");
41363
- const s = e[0].value, o = e.length >= 2 && It(e).value, u = "unit", a = i8e + u, l = r8e + s;
41363
+ const s = e[0].value, o = e.length >= 2 && It(e).value, u = "unit", a = iNe + u, l = rNe + s;
41364
41364
  o === n$ && !ot(i, a) && (i[a] = r.getData(s).indataRef(r, u)), ot(i, l) || (i[l] = r.getData(s).tuplesRef());
41365
41365
  }
41366
41366
  function vie(t) {
41367
41367
  const e = this.context.data[t];
41368
41368
  return e ? e.values.value : [];
41369
41369
  }
41370
- function s8e(t, e, r) {
41370
+ function sNe(t, e, r) {
41371
41371
  const i = this.context.data[t]["index:" + e], s = i ? i.value.get(r) : void 0;
41372
41372
  return s && s.count;
41373
41373
  }
41374
- function o8e(t, e) {
41374
+ function oNe(t, e) {
41375
41375
  const r = this.context.dataflow, i = this.context.data[t], s = i.input;
41376
41376
  return r.pulse(s, r.changeset().remove(cu).insert(e)), 1;
41377
41377
  }
41378
- function u8e(t, e, r) {
41378
+ function uNe(t, e, r) {
41379
41379
  if (t) {
41380
41380
  const i = this.context.dataflow, s = t.mark.source;
41381
41381
  i.pulse(s, i.changeset().encode(t, e));
@@ -41385,35 +41385,35 @@ function u8e(t, e, r) {
41385
41385
  const Zy = (t) => function(e, r) {
41386
41386
  const i = this.context.dataflow.locale();
41387
41387
  return e === null ? "null" : i[t](r)(e);
41388
- }, a8e = Zy("format"), Cie = Zy("timeFormat"), l8e = Zy("utcFormat"), c8e = Zy("timeParse"), f8e = Zy("utcParse"), VA = new Date(2e3, 0, 1);
41388
+ }, aNe = Zy("format"), Cie = Zy("timeFormat"), lNe = Zy("utcFormat"), cNe = Zy("timeParse"), fNe = Zy("utcParse"), VA = new Date(2e3, 0, 1);
41389
41389
  function l4(t, e, r) {
41390
41390
  return !Number.isInteger(t) || !Number.isInteger(e) ? "" : (VA.setYear(2e3), VA.setMonth(t), VA.setDate(e), Cie.call(this, VA, r));
41391
41391
  }
41392
- function x8e(t) {
41392
+ function xNe(t) {
41393
41393
  return l4.call(this, t, 1, "%B");
41394
41394
  }
41395
- function d8e(t) {
41395
+ function dNe(t) {
41396
41396
  return l4.call(this, t, 1, "%b");
41397
41397
  }
41398
- function h8e(t) {
41398
+ function hNe(t) {
41399
41399
  return l4.call(this, 0, 2 + t, "%A");
41400
41400
  }
41401
- function p8e(t) {
41401
+ function pNe(t) {
41402
41402
  return l4.call(this, 0, 2 + t, "%a");
41403
41403
  }
41404
- const m8e = ":", g8e = "@", ZF = "%", Sie = "$";
41404
+ const mNe = ":", gNe = "@", ZF = "%", Sie = "$";
41405
41405
  function i$(t, e, r, i) {
41406
41406
  e[0].type !== _p && be("First argument to data functions must be a string literal.");
41407
- const s = e[0].value, o = m8e + s;
41407
+ const s = e[0].value, o = mNe + s;
41408
41408
  if (!ot(o, i))
41409
41409
  try {
41410
41410
  i[o] = r.getData(s).tuplesRef();
41411
41411
  } catch {
41412
41412
  }
41413
41413
  }
41414
- function y8e(t, e, r, i) {
41414
+ function yNe(t, e, r, i) {
41415
41415
  e[0].type !== _p && be("First argument to indata must be a string literal."), e[1].type !== _p && be("Second argument to indata must be a string literal.");
41416
- const s = e[0].value, o = e[1].value, u = g8e + o;
41416
+ const s = e[0].value, o = e[1].value, u = gNe + o;
41417
41417
  ot(u, i) || (i[u] = r.getData(s).indataRef(r, o));
41418
41418
  }
41419
41419
  function Mi(t, e, r, i) {
@@ -41437,7 +41437,7 @@ function Ua(t, e) {
41437
41437
  return r && KSe(r.value) ? r.value : void 0;
41438
41438
  }
41439
41439
  }
41440
- function E8e(t, e, r) {
41440
+ function ENe(t, e, r) {
41441
41441
  e.__bandwidth = (s) => s && s.bandwidth ? s.bandwidth() : 0, r._bandwidth = Mi, r._range = Mi, r._scale = Mi;
41442
41442
  const i = (s) => "_[" + (s.type === _p ? Be(ZF + s.value) : Be(ZF) + "+" + t(s)) + "]";
41443
41443
  return {
@@ -41455,12 +41455,12 @@ function s$(t, e) {
41455
41455
  return e(i);
41456
41456
  };
41457
41457
  }
41458
- const A8e = s$("area", TRe), _8e = s$("bounds", wRe), v8e = s$("centroid", BRe);
41459
- function C8e(t, e) {
41458
+ const ANe = s$("area", TRe), _Ne = s$("bounds", wRe), vNe = s$("centroid", BRe);
41459
+ function CNe(t, e) {
41460
41460
  const r = Ua(t, (e || this).context);
41461
41461
  return r && r.scale();
41462
41462
  }
41463
- function S8e(t) {
41463
+ function SNe(t) {
41464
41464
  const e = this.context.group;
41465
41465
  let r = !1;
41466
41466
  if (e) for (; t; ) {
@@ -41480,35 +41480,35 @@ function o$(t, e, r) {
41480
41480
  }
41481
41481
  return r[r.length - 1];
41482
41482
  }
41483
- function b8e() {
41483
+ function bNe() {
41484
41484
  return o$(this.context.dataflow, "warn", arguments);
41485
41485
  }
41486
- function T8e() {
41486
+ function TNe() {
41487
41487
  return o$(this.context.dataflow, "info", arguments);
41488
41488
  }
41489
- function R8e() {
41489
+ function RNe() {
41490
41490
  return o$(this.context.dataflow, "debug", arguments);
41491
41491
  }
41492
41492
  function M6(t) {
41493
41493
  const e = t / 255;
41494
41494
  return e <= 0.03928 ? e / 12.92 : Math.pow((e + 0.055) / 1.055, 2.4);
41495
41495
  }
41496
- function e8(t) {
41496
+ function eN(t) {
41497
41497
  const e = mc(t), r = M6(e.r), i = M6(e.g), s = M6(e.b);
41498
41498
  return 0.2126 * r + 0.7152 * i + 0.0722 * s;
41499
41499
  }
41500
- function D8e(t, e) {
41501
- const r = e8(t), i = e8(e), s = Math.max(r, i), o = Math.min(r, i);
41500
+ function DNe(t, e) {
41501
+ const r = eN(t), i = eN(e), s = Math.max(r, i), o = Math.min(r, i);
41502
41502
  return (s + 0.05) / (o + 0.05);
41503
41503
  }
41504
- function O8e() {
41504
+ function ONe() {
41505
41505
  const t = [].slice.call(arguments);
41506
41506
  return t.unshift({}), _t(...t);
41507
41507
  }
41508
41508
  function bie(t, e) {
41509
- return t === e || t !== t && e !== e ? !0 : Te(t) ? Te(e) && t.length === e.length ? w8e(t, e) : !1 : Ge(t) && Ge(e) ? Tie(t, e) : !1;
41509
+ return t === e || t !== t && e !== e ? !0 : Te(t) ? Te(e) && t.length === e.length ? wNe(t, e) : !1 : Ge(t) && Ge(e) ? Tie(t, e) : !1;
41510
41510
  }
41511
- function w8e(t, e) {
41511
+ function wNe(t, e) {
41512
41512
  for (let r = 0, i = t.length; r < i; ++r)
41513
41513
  if (!bie(t[r], e[r])) return !1;
41514
41514
  return !0;
@@ -41521,7 +41521,7 @@ function Tie(t, e) {
41521
41521
  function ez(t) {
41522
41522
  return (e) => Tie(t, e);
41523
41523
  }
41524
- function F8e(t, e, r, i, s, o) {
41524
+ function FNe(t, e, r, i, s, o) {
41525
41525
  const u = this.context.dataflow, a = this.context.data[t], l = a.input, c = u.stamp();
41526
41526
  let f = a.changes, x, h;
41527
41527
  if (u._trigger === !1 || !(l.value.length || e || i))
@@ -41533,16 +41533,16 @@ function F8e(t, e, r, i, s, o) {
41533
41533
  f.modify(s, h, o[h]);
41534
41534
  return 1;
41535
41535
  }
41536
- function N8e(t) {
41536
+ function NNe(t) {
41537
41537
  const e = t.touches, r = e[0].clientX - e[1].clientX, i = e[0].clientY - e[1].clientY;
41538
41538
  return Math.hypot(r, i);
41539
41539
  }
41540
- function L8e(t) {
41540
+ function LNe(t) {
41541
41541
  const e = t.touches;
41542
41542
  return Math.atan2(e[0].clientY - e[1].clientY, e[0].clientX - e[1].clientX);
41543
41543
  }
41544
41544
  const tz = {};
41545
- function I8e(t, e) {
41545
+ function INe(t, e) {
41546
41546
  const r = tz[e] || (tz[e] = lu(e));
41547
41547
  return Te(t) ? t.map(r) : r(t);
41548
41548
  }
@@ -41552,75 +41552,75 @@ function c4(t) {
41552
41552
  function u$(t) {
41553
41553
  return c4(t) || (ze(t) ? t : null);
41554
41554
  }
41555
- function $8e(t) {
41555
+ function $Ne(t) {
41556
41556
  for (var e = arguments.length, r = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
41557
41557
  r[i - 1] = arguments[i];
41558
41558
  return c4(t).join(...r);
41559
41559
  }
41560
- function B8e(t) {
41560
+ function BNe(t) {
41561
41561
  for (var e = arguments.length, r = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
41562
41562
  r[i - 1] = arguments[i];
41563
41563
  return u$(t).indexOf(...r);
41564
41564
  }
41565
- function k8e(t) {
41565
+ function kNe(t) {
41566
41566
  for (var e = arguments.length, r = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
41567
41567
  r[i - 1] = arguments[i];
41568
41568
  return u$(t).lastIndexOf(...r);
41569
41569
  }
41570
- function M8e(t) {
41570
+ function MNe(t) {
41571
41571
  for (var e = arguments.length, r = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
41572
41572
  r[i - 1] = arguments[i];
41573
41573
  return u$(t).slice(...r);
41574
41574
  }
41575
- function P8e(t, e, r) {
41575
+ function PNe(t, e, r) {
41576
41576
  return Ct(r) && be("Function argument passed to replace."), String(t).replace(e, r);
41577
41577
  }
41578
- function U8e(t) {
41578
+ function UNe(t) {
41579
41579
  return c4(t).slice().reverse();
41580
41580
  }
41581
- function j8e(t) {
41581
+ function jNe(t) {
41582
41582
  return c4(t).slice().sort(E5);
41583
41583
  }
41584
- function q8e(t, e, r) {
41584
+ function qNe(t, e, r) {
41585
41585
  return RL(t || 0, e || 0, r || 0);
41586
41586
  }
41587
- function H8e(t, e) {
41587
+ function HNe(t, e) {
41588
41588
  const r = Ua(t, (e || this).context);
41589
41589
  return r && r.bandwidth ? r.bandwidth() : 0;
41590
41590
  }
41591
- function Q8e(t, e) {
41591
+ function QNe(t, e) {
41592
41592
  const r = Ua(t, (e || this).context);
41593
41593
  return r ? r.copy() : void 0;
41594
41594
  }
41595
- function z8e(t, e) {
41595
+ function zNe(t, e) {
41596
41596
  const r = Ua(t, (e || this).context);
41597
41597
  return r ? r.domain() : [];
41598
41598
  }
41599
- function W8e(t, e, r) {
41599
+ function WNe(t, e, r) {
41600
41600
  const i = Ua(t, (r || this).context);
41601
41601
  return i ? Te(e) ? (i.invertRange || i.invert)(e) : (i.invert || i.invertExtent)(e) : void 0;
41602
41602
  }
41603
- function G8e(t, e) {
41603
+ function GNe(t, e) {
41604
41604
  const r = Ua(t, (e || this).context);
41605
41605
  return r && r.range ? r.range() : [];
41606
41606
  }
41607
- function V8e(t, e, r) {
41607
+ function VNe(t, e, r) {
41608
41608
  const i = Ua(t, (r || this).context);
41609
41609
  return i ? i(e) : void 0;
41610
41610
  }
41611
- function Y8e(t, e, r, i, s) {
41611
+ function YNe(t, e, r, i, s) {
41612
41612
  let o = typeof t == "string" ? Ua(t, (s || this).context) : t;
41613
41613
  const u = Abe(e, r);
41614
41614
  let a = o.domain(), l = a[0], c = It(a), f = Hi;
41615
41615
  return c - l ? f = dte(o, l, c) : o = (o.interpolator ? qt("sequential")().interpolator(o.interpolator()) : qt("linear")().interpolate(o.interpolate()).range(o.range())).domain([l = 0, c = 1]), o.ticks && (a = o.ticks(+i || 15), l !== a[0] && a.unshift(l), c !== It(a) && a.push(c)), a.forEach((x) => u.stop(f(x), o(x))), u;
41616
41616
  }
41617
- function K8e(t, e, r) {
41617
+ function KNe(t, e, r) {
41618
41618
  const i = Ua(t, (r || this).context);
41619
41619
  return function(s) {
41620
41620
  return i ? i.path.context(s)(e) : "";
41621
41621
  };
41622
41622
  }
41623
- function J8e(t) {
41623
+ function JNe(t) {
41624
41624
  let e = null;
41625
41625
  return function(r) {
41626
41626
  return r ? uC(r, e = e || kL(t)) : t;
@@ -41631,33 +41631,33 @@ function Die(t, e) {
41631
41631
  const r = vie.call(e, t);
41632
41632
  return r.root && r.root.lookup || {};
41633
41633
  }
41634
- function X8e(t, e, r) {
41634
+ function XNe(t, e, r) {
41635
41635
  const i = Die(t, this), s = i[e], o = i[r];
41636
41636
  return s && o ? s.path(o).map(Rie) : void 0;
41637
41637
  }
41638
- function Z8e(t, e) {
41638
+ function ZNe(t, e) {
41639
41639
  const r = Die(t, this)[e];
41640
41640
  return r ? r.ancestors().map(Rie) : void 0;
41641
41641
  }
41642
41642
  const Oie = () => typeof window < "u" && window || null;
41643
- function eNe() {
41643
+ function e8e() {
41644
41644
  const t = Oie();
41645
41645
  return t ? t.screen : {};
41646
41646
  }
41647
- function tNe() {
41647
+ function t8e() {
41648
41648
  const t = Oie();
41649
41649
  return t ? [t.innerWidth, t.innerHeight] : [void 0, void 0];
41650
41650
  }
41651
- function nNe() {
41651
+ function n8e() {
41652
41652
  const t = this.context.dataflow, e = t.container && t.container();
41653
41653
  return e ? [e.clientWidth, e.clientHeight] : [void 0, void 0];
41654
41654
  }
41655
41655
  function wie(t, e, r) {
41656
41656
  if (!t) return [];
41657
41657
  const [i, s] = t, o = new sr().set(i[0], i[1], s[0], s[1]), u = r || this.context.dataflow.scenegraph().root;
41658
- return oTe(u, o, rNe(e));
41658
+ return oTe(u, o, r8e(e));
41659
41659
  }
41660
- function rNe(t) {
41660
+ function r8e(t) {
41661
41661
  let e = null;
41662
41662
  if (t) {
41663
41663
  const r = He(t.marktype), i = He(t.markname);
@@ -41665,19 +41665,19 @@ function rNe(t) {
41665
41665
  }
41666
41666
  return e;
41667
41667
  }
41668
- function iNe(t, e, r) {
41668
+ function i8e(t, e, r) {
41669
41669
  let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 5;
41670
41670
  t = He(t);
41671
41671
  const s = t[t.length - 1];
41672
41672
  return s === void 0 || Math.hypot(s[0] - e, s[1] - r) > i ? [...t, [e, r]] : t;
41673
41673
  }
41674
- function sNe(t) {
41674
+ function s8e(t) {
41675
41675
  return He(t).reduce((e, r, i) => {
41676
41676
  let [s, o] = r;
41677
41677
  return e += i == 0 ? `M ${s},${o} ` : i === t.length - 1 ? " Z" : `L ${s},${o} `;
41678
41678
  }, "");
41679
41679
  }
41680
- function oNe(t, e, r) {
41680
+ function o8e(t, e, r) {
41681
41681
  const {
41682
41682
  x: i,
41683
41683
  y: s,
@@ -41685,9 +41685,9 @@ function oNe(t, e, r) {
41685
41685
  } = r, u = new sr().set(Number.MAX_SAFE_INTEGER, Number.MAX_SAFE_INTEGER, Number.MIN_SAFE_INTEGER, Number.MIN_SAFE_INTEGER);
41686
41686
  for (const [l, c] of e)
41687
41687
  l < u.x1 && (u.x1 = l), l > u.x2 && (u.x2 = l), c < u.y1 && (u.y1 = c), c > u.y2 && (u.y2 = c);
41688
- return u.translate(i, s), wie([[u.x1, u.y1], [u.x2, u.y2]], t, o).filter((l) => uNe(l.x, l.y, e));
41688
+ return u.translate(i, s), wie([[u.x1, u.y1], [u.x2, u.y2]], t, o).filter((l) => u8e(l.x, l.y, e));
41689
41689
  }
41690
- function uNe(t, e, r) {
41690
+ function u8e(t, e, r) {
41691
41691
  let i = 0;
41692
41692
  for (let s = 0, o = r.length - 1; s < r.length; o = s++) {
41693
41693
  const [u, a] = r[o], [l, c] = r[s];
@@ -41733,19 +41733,19 @@ const E3 = {
41733
41733
  // suppress extra arguments
41734
41734
  toNumber: Li,
41735
41735
  toString: lX,
41736
- indexof: B8e,
41737
- join: $8e,
41738
- lastindexof: k8e,
41739
- replace: P8e,
41740
- reverse: U8e,
41741
- sort: j8e,
41742
- slice: M8e,
41736
+ indexof: BNe,
41737
+ join: $Ne,
41738
+ lastindexof: kNe,
41739
+ replace: PNe,
41740
+ reverse: UNe,
41741
+ sort: jNe,
41742
+ slice: MNe,
41743
41743
  flush: oye,
41744
41744
  lerp: lye,
41745
- merge: O8e,
41745
+ merge: ONe,
41746
41746
  pad: dye,
41747
41747
  peek: It,
41748
- pluck: I8e,
41748
+ pluck: INe,
41749
41749
  span: A5,
41750
41750
  inrange: Wm,
41751
41751
  truncate: pye,
@@ -41753,47 +41753,47 @@ const E3 = {
41753
41753
  lab: rC,
41754
41754
  hcl: iC,
41755
41755
  hsl: tC,
41756
- luminance: e8,
41757
- contrast: D8e,
41756
+ luminance: eN,
41757
+ contrast: DNe,
41758
41758
  sequence: Ns,
41759
- format: a8e,
41760
- utcFormat: l8e,
41761
- utcParse: f8e,
41759
+ format: aNe,
41760
+ utcFormat: lNe,
41761
+ utcParse: fNe,
41762
41762
  utcOffset: REe,
41763
41763
  utcSequence: OEe,
41764
41764
  timeFormat: Cie,
41765
- timeParse: c8e,
41765
+ timeParse: cNe,
41766
41766
  timeOffset: TEe,
41767
41767
  timeSequence: DEe,
41768
41768
  timeUnitSpecifier: cEe,
41769
- monthFormat: x8e,
41770
- monthAbbrevFormat: d8e,
41771
- dayFormat: h8e,
41772
- dayAbbrevFormat: p8e,
41769
+ monthFormat: xNe,
41770
+ monthAbbrevFormat: dNe,
41771
+ dayFormat: hNe,
41772
+ dayAbbrevFormat: pNe,
41773
41773
  quarter: X3e,
41774
41774
  utcquarter: Z3e,
41775
41775
  week: xEe,
41776
41776
  utcweek: pEe,
41777
41777
  dayofyear: fEe,
41778
41778
  utcdayofyear: hEe,
41779
- warn: b8e,
41780
- info: T8e,
41781
- debug: R8e,
41779
+ warn: bNe,
41780
+ info: TNe,
41781
+ debug: RNe,
41782
41782
  extent(t) {
41783
41783
  return Gl(t);
41784
41784
  },
41785
41785
  // suppress extra arguments
41786
- inScope: S8e,
41786
+ inScope: SNe,
41787
41787
  intersect: wie,
41788
41788
  clampRange: eye,
41789
- pinchDistance: N8e,
41790
- pinchAngle: L8e,
41791
- screen: eNe,
41792
- containerSize: nNe,
41793
- windowSize: tNe,
41794
- bandspace: q8e,
41795
- setdata: o8e,
41796
- pathShape: J8e,
41789
+ pinchDistance: NNe,
41790
+ pinchAngle: LNe,
41791
+ screen: e8e,
41792
+ containerSize: n8e,
41793
+ windowSize: t8e,
41794
+ bandspace: qNe,
41795
+ setdata: oNe,
41796
+ pathShape: JNe,
41797
41797
  panLinear: V3e,
41798
41798
  panLog: Y3e,
41799
41799
  panPow: K3e,
@@ -41802,50 +41802,50 @@ const E3 = {
41802
41802
  zoomLog: nX,
41803
41803
  zoomPow: Ow,
41804
41804
  zoomSymlog: rX,
41805
- encode: u8e,
41806
- modify: F8e,
41807
- lassoAppend: iNe,
41808
- lassoPath: sNe,
41809
- intersectLasso: oNe
41810
- }, aNe = ["view", "item", "group", "xy", "x", "y"], lNe = "event.vega.", Fie = "this.", a$ = {}, Nie = {
41805
+ encode: uNe,
41806
+ modify: FNe,
41807
+ lassoAppend: i8e,
41808
+ lassoPath: s8e,
41809
+ intersectLasso: o8e
41810
+ }, a8e = ["view", "item", "group", "xy", "x", "y"], l8e = "event.vega.", Fie = "this.", a$ = {}, Nie = {
41811
41811
  forbidden: ["_"],
41812
41812
  allowed: ["datum", "event", "item"],
41813
41813
  fieldvar: "datum",
41814
41814
  globalvar: (t) => `_[${Be(Sie + t)}]`,
41815
- functions: cNe,
41815
+ functions: c8e,
41816
41816
  constants: yie,
41817
41817
  visitors: a$
41818
- }, t8 = TFe(Nie);
41819
- function cNe(t) {
41818
+ }, tN = TFe(Nie);
41819
+ function c8e(t) {
41820
41820
  const e = Eie(t);
41821
- aNe.forEach((r) => e[r] = lNe + r);
41821
+ a8e.forEach((r) => e[r] = l8e + r);
41822
41822
  for (const r in E3)
41823
41823
  e[r] = Fie + r;
41824
- return _t(e, E8e(t, E3, a$)), e;
41824
+ return _t(e, ENe(t, E3, a$)), e;
41825
41825
  }
41826
41826
  function Yt(t, e, r) {
41827
- return arguments.length === 1 ? E3[t] : (E3[t] = e, r && (a$[t] = r), t8 && (t8.functions[t] = Fie + t), this);
41828
- }
41829
- Yt("bandwidth", H8e, Mi);
41830
- Yt("copy", Q8e, Mi);
41831
- Yt("domain", z8e, Mi);
41832
- Yt("range", G8e, Mi);
41833
- Yt("invert", W8e, Mi);
41834
- Yt("scale", V8e, Mi);
41835
- Yt("gradient", Y8e, Mi);
41836
- Yt("geoArea", A8e, Mi);
41837
- Yt("geoBounds", _8e, Mi);
41838
- Yt("geoCentroid", v8e, Mi);
41839
- Yt("geoShape", K8e, Mi);
41840
- Yt("geoScale", C8e, Mi);
41841
- Yt("indata", s8e, y8e);
41827
+ return arguments.length === 1 ? E3[t] : (E3[t] = e, r && (a$[t] = r), tN && (tN.functions[t] = Fie + t), this);
41828
+ }
41829
+ Yt("bandwidth", HNe, Mi);
41830
+ Yt("copy", QNe, Mi);
41831
+ Yt("domain", zNe, Mi);
41832
+ Yt("range", GNe, Mi);
41833
+ Yt("invert", WNe, Mi);
41834
+ Yt("scale", VNe, Mi);
41835
+ Yt("gradient", YNe, Mi);
41836
+ Yt("geoArea", ANe, Mi);
41837
+ Yt("geoBounds", _Ne, Mi);
41838
+ Yt("geoCentroid", vNe, Mi);
41839
+ Yt("geoShape", KNe, Mi);
41840
+ Yt("geoScale", CNe, Mi);
41841
+ Yt("indata", sNe, yNe);
41842
41842
  Yt("data", vie, i$);
41843
- Yt("treePath", X8e, i$);
41844
- Yt("treeAncestors", Z8e, i$);
41843
+ Yt("treePath", XNe, i$);
41844
+ Yt("treeAncestors", ZNe, i$);
41845
41845
  Yt("vlSelectionTest", JFe, r$);
41846
- Yt("vlSelectionIdTest", e8e, r$);
41847
- Yt("vlSelectionResolve", n8e, r$);
41848
- Yt("vlSelectionTuples", t8e);
41846
+ Yt("vlSelectionIdTest", eNe, r$);
41847
+ Yt("vlSelectionResolve", nNe, r$);
41848
+ Yt("vlSelectionTuples", tNe);
41849
41849
  function ga(t, e) {
41850
41850
  const r = {};
41851
41851
  let i;
@@ -41859,7 +41859,7 @@ function ga(t, e) {
41859
41859
  const u = o.callee.name, a = Nie.visitors[u];
41860
41860
  a && a(u, o.arguments, e, r);
41861
41861
  });
41862
- const s = t8(i);
41862
+ const s = tN(i);
41863
41863
  return s.globals.forEach((o) => {
41864
41864
  const u = Sie + o;
41865
41865
  !ot(r, u) && e.getSignal(o) && (r[u] = e.signalRef(o));
@@ -41873,22 +41873,22 @@ function ga(t, e) {
41873
41873
  $params: r
41874
41874
  };
41875
41875
  }
41876
- function fNe(t) {
41876
+ function f8e(t) {
41877
41877
  const e = this, r = t.operators || [];
41878
41878
  return t.background && (e.background = t.background), t.eventConfig && (e.eventConfig = t.eventConfig), t.locale && (e.locale = t.locale), r.forEach((i) => e.parseOperator(i)), r.forEach((i) => e.parseOperatorParameters(i)), (t.streams || []).forEach((i) => e.parseStream(i)), (t.updates || []).forEach((i) => e.parseUpdate(i)), e.resolve();
41879
41879
  }
41880
- const xNe = fa(["rule"]), nz = fa(["group", "image", "rect"]);
41881
- function dNe(t, e) {
41880
+ const x8e = fa(["rule"]), nz = fa(["group", "image", "rect"]);
41881
+ function d8e(t, e) {
41882
41882
  let r = "";
41883
- return xNe[e] || (t.x2 && (t.x ? (nz[e] && (r += "if(o.x>o.x2)$=o.x,o.x=o.x2,o.x2=$;"), r += "o.width=o.x2-o.x;") : r += "o.x=o.x2-(o.width||0);"), t.xc && (r += "o.x=o.xc-(o.width||0)/2;"), t.y2 && (t.y ? (nz[e] && (r += "if(o.y>o.y2)$=o.y,o.y=o.y2,o.y2=$;"), r += "o.height=o.y2-o.y;") : r += "o.y=o.y2-(o.height||0);"), t.yc && (r += "o.y=o.yc-(o.height||0)/2;")), r;
41883
+ return x8e[e] || (t.x2 && (t.x ? (nz[e] && (r += "if(o.x>o.x2)$=o.x,o.x=o.x2,o.x2=$;"), r += "o.width=o.x2-o.x;") : r += "o.x=o.x2-(o.width||0);"), t.xc && (r += "o.x=o.xc-(o.width||0)/2;"), t.y2 && (t.y ? (nz[e] && (r += "if(o.y>o.y2)$=o.y,o.y=o.y2,o.y2=$;"), r += "o.height=o.y2-o.y;") : r += "o.y=o.y2-(o.height||0);"), t.yc && (r += "o.y=o.yc-(o.height||0)/2;")), r;
41884
41884
  }
41885
41885
  function l$(t) {
41886
41886
  return (t + "").toLowerCase();
41887
41887
  }
41888
- function hNe(t) {
41888
+ function h8e(t) {
41889
41889
  return l$(t) === "operator";
41890
41890
  }
41891
- function pNe(t) {
41891
+ function p8e(t) {
41892
41892
  return l$(t) === "collect";
41893
41893
  }
41894
41894
  function Tm(t, e, r) {
@@ -41896,13 +41896,13 @@ function Tm(t, e, r) {
41896
41896
  const i = Function(...e.concat(r));
41897
41897
  return t && t.functions ? i.bind(t.functions) : i;
41898
41898
  }
41899
- function mNe(t, e, r, i) {
41899
+ function m8e(t, e, r, i) {
41900
41900
  return `((u = ${t}) < (v = ${e}) || u == null) && v != null ? ${r}
41901
41901
  : (u > v || v == null) && u != null ? ${i}
41902
41902
  : ((v = v instanceof Date ? +v : v), (u = u instanceof Date ? +u : u)) !== u && v === v ? ${r}
41903
41903
  : v !== v && u === u ? ${i} : `;
41904
41904
  }
41905
- var gNe = {
41905
+ var g8e = {
41906
41906
  /**
41907
41907
  * Parse an expression used to update an operator value.
41908
41908
  */
@@ -41935,7 +41935,7 @@ var gNe = {
41935
41935
  const u = "o[" + Be(o) + "]";
41936
41936
  s += `$=${i[o].code};if(${u}!==$)${u}=$,m=1;`;
41937
41937
  }
41938
- return s += dNe(i, r), s += "return m;", Tm(t, ["item", "_"], s);
41938
+ return s += d8e(i, r), s += "return m;", Tm(t, ["item", "_"], s);
41939
41939
  },
41940
41940
  /**
41941
41941
  * Optimized code generators for access and comparison.
@@ -41950,24 +41950,24 @@ var gNe = {
41950
41950
  const i = (o, u) => {
41951
41951
  const a = e[u];
41952
41952
  let l, c;
41953
- return o.path ? (l = `a${o.path}`, c = `b${o.path}`) : ((r = r || {})["f" + u] = o, l = `this.f${u}(a)`, c = `this.f${u}(b)`), mNe(l, c, -a, a);
41953
+ return o.path ? (l = `a${o.path}`, c = `b${o.path}`) : ((r = r || {})["f" + u] = o, l = `this.f${u}(a)`, c = `this.f${u}(b)`), m8e(l, c, -a, a);
41954
41954
  }, s = Function("a", "b", "var u, v; return " + t.map(i).join("") + "0;");
41955
41955
  return r ? s.bind(r) : s;
41956
41956
  }
41957
41957
  }
41958
41958
  };
41959
- function yNe(t) {
41959
+ function y8e(t) {
41960
41960
  const e = this;
41961
- hNe(t.type) || !t.type ? e.operator(t, t.update ? e.operatorExpression(t.update) : null) : e.transform(t, t.type);
41961
+ h8e(t.type) || !t.type ? e.operator(t, t.update ? e.operatorExpression(t.update) : null) : e.transform(t, t.type);
41962
41962
  }
41963
- function ENe(t) {
41963
+ function E8e(t) {
41964
41964
  const e = this;
41965
41965
  if (t.params) {
41966
41966
  const r = e.get(t.id);
41967
41967
  r || be("Invalid operator id: " + t.id), e.dataflow.connect(r, r.parameters(e.parseParameters(t.params), t.react, t.initonly));
41968
41968
  }
41969
41969
  }
41970
- function ANe(t, e) {
41970
+ function A8e(t, e) {
41971
41971
  e = e || {};
41972
41972
  const r = this;
41973
41973
  for (const i in t) {
@@ -41985,54 +41985,54 @@ function rz(t, e, r) {
41985
41985
  }
41986
41986
  var iz = [{
41987
41987
  key: "$ref",
41988
- parse: _Ne
41988
+ parse: _8e
41989
41989
  }, {
41990
41990
  key: "$key",
41991
- parse: CNe
41991
+ parse: C8e
41992
41992
  }, {
41993
41993
  key: "$expr",
41994
- parse: vNe
41994
+ parse: v8e
41995
41995
  }, {
41996
41996
  key: "$field",
41997
- parse: SNe
41997
+ parse: S8e
41998
41998
  }, {
41999
41999
  key: "$encode",
42000
- parse: TNe
42000
+ parse: T8e
42001
42001
  }, {
42002
42002
  key: "$compare",
42003
- parse: bNe
42003
+ parse: b8e
42004
42004
  }, {
42005
42005
  key: "$context",
42006
- parse: RNe
42006
+ parse: R8e
42007
42007
  }, {
42008
42008
  key: "$subflow",
42009
- parse: DNe
42009
+ parse: D8e
42010
42010
  }, {
42011
42011
  key: "$tupleid",
42012
- parse: ONe
42012
+ parse: O8e
42013
42013
  }];
42014
- function _Ne(t, e) {
42014
+ function _8e(t, e) {
42015
42015
  return e.get(t.$ref) || be("Operator not defined: " + t.$ref);
42016
42016
  }
42017
- function vNe(t, e, r) {
42017
+ function v8e(t, e, r) {
42018
42018
  t.$params && e.parseParameters(t.$params, r);
42019
42019
  const i = "e:" + t.$expr.code;
42020
42020
  return e.fn[i] || (e.fn[i] = Ys(e.parameterExpression(t.$expr), t.$fields));
42021
42021
  }
42022
- function CNe(t, e) {
42022
+ function C8e(t, e) {
42023
42023
  const r = "k:" + t.$key + "_" + !!t.$flat;
42024
42024
  return e.fn[r] || (e.fn[r] = oX(t.$key, t.$flat, e.expr.codegen));
42025
42025
  }
42026
- function SNe(t, e) {
42026
+ function S8e(t, e) {
42027
42027
  if (!t.$field) return null;
42028
42028
  const r = "f:" + t.$field + "_" + t.$name;
42029
42029
  return e.fn[r] || (e.fn[r] = lu(t.$field, t.$name, e.expr.codegen));
42030
42030
  }
42031
- function bNe(t, e) {
42031
+ function b8e(t, e) {
42032
42032
  const r = "c:" + t.$compare + "_" + t.$order, i = He(t.$compare).map((s) => s && s.$tupleid ? st : s);
42033
42033
  return e.fn[r] || (e.fn[r] = iX(i, t.$order, e.expr.codegen));
42034
42034
  }
42035
- function TNe(t, e) {
42035
+ function T8e(t, e) {
42036
42036
  const r = t.$encode, i = {};
42037
42037
  for (const s in r) {
42038
42038
  const o = r[s];
@@ -42040,31 +42040,31 @@ function TNe(t, e) {
42040
42040
  }
42041
42041
  return i;
42042
42042
  }
42043
- function RNe(t, e) {
42043
+ function R8e(t, e) {
42044
42044
  return e;
42045
42045
  }
42046
- function DNe(t, e) {
42046
+ function D8e(t, e) {
42047
42047
  const r = t.$subflow;
42048
42048
  return function(i, s, o) {
42049
42049
  const u = e.fork().parse(r), a = u.get(r.operators[0].id), l = u.signals.parent;
42050
42050
  return l && l.set(o), a.detachSubflow = () => e.detach(u), a;
42051
42051
  };
42052
42052
  }
42053
- function ONe() {
42053
+ function O8e() {
42054
42054
  return st;
42055
42055
  }
42056
- function wNe(t) {
42056
+ function w8e(t) {
42057
42057
  var e = this, r = t.filter != null ? e.eventExpression(t.filter) : void 0, i = t.stream != null ? e.get(t.stream) : void 0, s;
42058
42058
  t.source ? i = e.events(t.source, t.type, r) : t.merge && (s = t.merge.map((o) => e.get(o)), i = s[0].merge.apply(s[0], s.slice(1))), t.between && (s = t.between.map((o) => e.get(o)), i = i.between(s[0], s[1])), t.filter && (i = i.filter(r)), t.throttle != null && (i = i.throttle(+t.throttle)), t.debounce != null && (i = i.debounce(+t.debounce)), i == null && be("Invalid stream definition: " + JSON.stringify(t)), t.consume && i.consume(!0), e.stream(t, i);
42059
42059
  }
42060
- function FNe(t) {
42060
+ function F8e(t) {
42061
42061
  var e = this, r = Ge(r = t.source) ? r.$ref : r, i = e.get(r), s = null, o = t.update, u = void 0;
42062
42062
  i || be("Source not defined: " + t.source), s = t.target && t.target.$expr ? e.eventExpression(t.target.$expr) : e.get(t.target), o && o.$expr && (o.$params && (u = e.parseParameters(o.$params)), o = e.handlerExpression(o.$expr)), e.update(t, i, s, o, u);
42063
42063
  }
42064
- const NNe = {
42064
+ const N8e = {
42065
42065
  skip: !0
42066
42066
  };
42067
- function LNe(t) {
42067
+ function L8e(t) {
42068
42068
  var e = this, r = {};
42069
42069
  if (t.signals) {
42070
42070
  var i = r.signals = {};
@@ -42082,10 +42082,10 @@ function LNe(t) {
42082
42082
  }
42083
42083
  return e.subcontext && t.recurse !== !1 && (r.subcontext = e.subcontext.map((o) => o.getState(t))), r;
42084
42084
  }
42085
- function INe(t) {
42085
+ function I8e(t) {
42086
42086
  var e = this, r = e.dataflow, i = t.data, s = t.signals;
42087
42087
  Object.keys(s || {}).forEach((o) => {
42088
- r.update(e.signals[o], s[o], NNe);
42088
+ r.update(e.signals[o], s[o], N8e);
42089
42089
  }), Object.keys(i || {}).forEach((o) => {
42090
42090
  r.pulse(e.data[o].input, r.changeset().remove(cu).insert(i[o]));
42091
42091
  }), (t.subcontext || []).forEach((o, u) => {
@@ -42093,11 +42093,11 @@ function INe(t) {
42093
42093
  a && a.setState(o);
42094
42094
  });
42095
42095
  }
42096
- function $Ne(t, e, r, i) {
42096
+ function $8e(t, e, r, i) {
42097
42097
  return new Lie(t, e, r, i);
42098
42098
  }
42099
42099
  function Lie(t, e, r, i) {
42100
- this.dataflow = t, this.transforms = e, this.events = t.events.bind(t), this.expr = i || gNe, this.signals = {}, this.scales = {}, this.nodes = {}, this.data = {}, this.fn = {}, r && (this.functions = Object.create(r), this.functions.context = this);
42100
+ this.dataflow = t, this.transforms = e, this.events = t.events.bind(t), this.expr = i || g8e, this.signals = {}, this.scales = {}, this.nodes = {}, this.data = {}, this.fn = {}, r && (this.functions = Object.create(r), this.functions.context = this);
42101
42101
  }
42102
42102
  function sz(t) {
42103
42103
  this.dataflow = t.dataflow, this.transforms = t.transforms, this.events = t.events, this.expr = t.expr, this.signals = Object.create(t.signals), this.scales = Object.create(t.scales), this.nodes = Object.create(t.nodes), this.data = Object.create(t.data), this.fn = Object.create(t.fn), t.functions && (this.functions = Object.create(t.functions), this.functions.context = this);
@@ -42122,7 +42122,7 @@ Lie.prototype = sz.prototype = {
42122
42122
  },
42123
42123
  add(t, e) {
42124
42124
  const r = this, i = r.dataflow, s = t.value;
42125
- if (r.set(t.id, e), pNe(t.type) && s && (s.$ingest ? i.ingest(e, s.$ingest, s.$format) : s.$request ? i.preload(e, s.$request, s.$format) : i.pulse(e, i.changeset().insert(s))), t.root && (r.root = e), t.parent) {
42125
+ if (r.set(t.id, e), p8e(t.type) && s && (s.$ingest ? i.ingest(e, s.$ingest, s.$format) : s.$request ? i.preload(e, s.$request, s.$format) : i.pulse(e, i.changeset().insert(s))), t.root && (r.root = e), t.parent) {
42126
42126
  let o = r.get(t.parent.$ref);
42127
42127
  o ? (i.connect(o, [e]), e.targets().add(o)) : (r.unresolved = r.unresolved || []).push(() => {
42128
42128
  o = r.get(t.parent.$ref), i.connect(o, [e]), e.targets().add(o);
@@ -42166,30 +42166,30 @@ Lie.prototype = sz.prototype = {
42166
42166
  return this.expr.encode(this, t);
42167
42167
  },
42168
42168
  // parse methods
42169
- parse: fNe,
42170
- parseOperator: yNe,
42171
- parseOperatorParameters: ENe,
42172
- parseParameters: ANe,
42173
- parseStream: wNe,
42174
- parseUpdate: FNe,
42169
+ parse: f8e,
42170
+ parseOperator: y8e,
42171
+ parseOperatorParameters: E8e,
42172
+ parseParameters: A8e,
42173
+ parseStream: w8e,
42174
+ parseUpdate: F8e,
42175
42175
  // state methods
42176
- getState: LNe,
42177
- setState: INe
42176
+ getState: L8e,
42177
+ setState: I8e
42178
42178
  };
42179
- function BNe(t) {
42179
+ function B8e(t) {
42180
42180
  const e = t.container();
42181
42181
  e && (e.setAttribute("role", "graphics-document"), e.setAttribute("aria-roleDescription", "visualization"), Iie(e, t.description()));
42182
42182
  }
42183
42183
  function Iie(t, e) {
42184
42184
  t && (e == null ? t.removeAttribute("aria-label") : t.setAttribute("aria-label", e));
42185
42185
  }
42186
- function kNe(t) {
42186
+ function k8e(t) {
42187
42187
  t.add(null, (e) => (t._background = e.bg, t._resize = 1, e.bg), {
42188
42188
  bg: t._signals.background
42189
42189
  });
42190
42190
  }
42191
42191
  const P6 = "default";
42192
- function MNe(t) {
42192
+ function M8e(t) {
42193
42193
  const e = t._signals.cursor || (t._signals.cursor = t.add({
42194
42194
  user: P6,
42195
42195
  item: null
@@ -42202,12 +42202,12 @@ function MNe(t) {
42202
42202
  };
42203
42203
  }), t.add(null, function(r) {
42204
42204
  let i = r.cursor, s = this.value;
42205
- return ze(i) || (s = i.item, i = i.user), n8(t, i && i !== P6 ? i : s || i), s;
42205
+ return ze(i) || (s = i.item, i = i.user), nN(t, i && i !== P6 ? i : s || i), s;
42206
42206
  }, {
42207
42207
  cursor: e
42208
42208
  });
42209
42209
  }
42210
- function n8(t, e) {
42210
+ function nN(t, e) {
42211
42211
  const r = t.globalCursor() ? typeof document < "u" && document.body : t.container();
42212
42212
  if (r)
42213
42213
  return e == null ? r.style.removeProperty("cursor") : r.style.cursor = e;
@@ -42216,7 +42216,7 @@ function JC(t, e) {
42216
42216
  var r = t._runtime.data;
42217
42217
  return ot(r, e) || be("Unrecognized data set: " + e), r[e];
42218
42218
  }
42219
- function PNe(t, e) {
42219
+ function P8e(t, e) {
42220
42220
  return arguments.length < 2 ? JC(this, t).values.value : f4.call(this, t, v2().remove(cu).insert(e));
42221
42221
  }
42222
42222
  function f4(t, e) {
@@ -42224,10 +42224,10 @@ function f4(t, e) {
42224
42224
  const r = JC(this, t);
42225
42225
  return r.modified = !0, this.pulse(r.input, e);
42226
42226
  }
42227
- function UNe(t, e) {
42227
+ function U8e(t, e) {
42228
42228
  return f4.call(this, t, v2().insert(e));
42229
42229
  }
42230
- function jNe(t, e) {
42230
+ function j8e(t, e) {
42231
42231
  return f4.call(this, t, v2().remove(e));
42232
42232
  }
42233
42233
  function $ie(t) {
@@ -42242,7 +42242,7 @@ function x4(t) {
42242
42242
  var e = t.padding(), r = t._origin;
42243
42243
  return [e.left + r[0], e.top + r[1]];
42244
42244
  }
42245
- function qNe(t) {
42245
+ function q8e(t) {
42246
42246
  var e = x4(t), r = $ie(t), i = Bie(t);
42247
42247
  t._renderer.background(t.background()), t._renderer.resize(r, i, e), t._handler.origin(e), t._resizeListeners.forEach((s) => {
42248
42248
  try {
@@ -42252,11 +42252,11 @@ function qNe(t) {
42252
42252
  }
42253
42253
  });
42254
42254
  }
42255
- function HNe(t, e, r) {
42255
+ function H8e(t, e, r) {
42256
42256
  var i = t._renderer, s = i && i.canvas(), o, u, a;
42257
- return s && (a = x4(t), u = e.changedTouches ? e.changedTouches[0] : e, o = eI(u, s), o[0] -= a[0], o[1] -= a[1]), e.dataflow = t, e.item = r, e.vega = QNe(t, r, o), e;
42257
+ return s && (a = x4(t), u = e.changedTouches ? e.changedTouches[0] : e, o = eI(u, s), o[0] -= a[0], o[1] -= a[1]), e.dataflow = t, e.item = r, e.vega = Q8e(t, r, o), e;
42258
42258
  }
42259
- function QNe(t, e, r) {
42259
+ function Q8e(t, e, r) {
42260
42260
  const i = e ? e.mark.marktype === "group" ? e : e.mark.group : null;
42261
42261
  function s(u) {
42262
42262
  var a = i, l;
@@ -42286,10 +42286,10 @@ function QNe(t, e, r) {
42286
42286
  y: (u) => o(u)[1]
42287
42287
  };
42288
42288
  }
42289
- const oz = "view", zNe = "timer", WNe = "window", GNe = {
42289
+ const oz = "view", z8e = "timer", W8e = "window", G8e = {
42290
42290
  trap: !1
42291
42291
  };
42292
- function VNe(t) {
42292
+ function V8e(t) {
42293
42293
  const e = _t({
42294
42294
  defaults: {}
42295
42295
  }, t), r = (i, s) => {
@@ -42306,7 +42306,7 @@ function kie(t, e, r, i) {
42306
42306
  handler: i
42307
42307
  });
42308
42308
  }
42309
- function YNe(t, e) {
42309
+ function Y8e(t, e) {
42310
42310
  var r = t._eventConfig.defaults, i = r.prevent, s = r.allow;
42311
42311
  return i === !1 || s === !0 ? !1 : i === !0 || s === !1 ? !0 : i ? i[e] : s ? !s[e] : t.preventDefault();
42312
42312
  }
@@ -42314,17 +42314,17 @@ function YA(t, e, r) {
42314
42314
  const i = t._eventConfig && t._eventConfig[e];
42315
42315
  return i === !1 || Ge(i) && !i[r] ? (t.warn(`Blocked ${e} ${r} event listener.`), !1) : !0;
42316
42316
  }
42317
- function KNe(t, e, r) {
42317
+ function K8e(t, e, r) {
42318
42318
  var i = this, s = new O9(r), o = function(c, f) {
42319
42319
  i.runAsync(null, () => {
42320
- t === oz && YNe(i, e) && c.preventDefault(), s.receive(HNe(i, c, f));
42320
+ t === oz && Y8e(i, e) && c.preventDefault(), s.receive(H8e(i, c, f));
42321
42321
  });
42322
42322
  }, u;
42323
- if (t === zNe)
42323
+ if (t === z8e)
42324
42324
  YA(i, "timer", e) && i.timer(o, e);
42325
42325
  else if (t === oz)
42326
- YA(i, "view", e) && i.addEventListener(e, o, GNe);
42327
- else if (t === WNe ? YA(i, "window", e) && typeof window < "u" && (u = [window]) : typeof document < "u" && YA(i, "selector", e) && (u = Array.from(document.querySelectorAll(t))), !u)
42326
+ YA(i, "view", e) && i.addEventListener(e, o, G8e);
42327
+ else if (t === W8e ? YA(i, "window", e) && typeof window < "u" && (u = [window]) : typeof document < "u" && YA(i, "selector", e) && (u = Array.from(document.querySelectorAll(t))), !u)
42328
42328
  i.warn("Can not resolve event source: " + t);
42329
42329
  else {
42330
42330
  for (var a = 0, l = u.length; a < l; ++a)
@@ -42344,10 +42344,10 @@ function lz(t) {
42344
42344
  return r.vega.view().changeset().encode(r.item, t);
42345
42345
  };
42346
42346
  }
42347
- function JNe(t, e) {
42347
+ function J8e(t, e) {
42348
42348
  return t = [t || "hover"], e = [e || "update", t[0]], this.on(this.events("view", "pointerover", uz), az, lz(t)), this.on(this.events("view", "pointerout", uz), az, lz(e)), this;
42349
42349
  }
42350
- function XNe() {
42350
+ function X8e() {
42351
42351
  var t = this._tooltip, e = this._timers, r = this._handler.handlers(), i = this._eventListeners, s, o, u, a, l;
42352
42352
  for (s = e.length; --s >= 0; )
42353
42353
  e[s].stop();
@@ -42363,7 +42363,7 @@ function Is(t, e, r) {
42363
42363
  for (const s in e) i.setAttribute(s, e[s]);
42364
42364
  return r != null && (i.textContent = r), i;
42365
42365
  }
42366
- const ZNe = "vega-bind", e9e = "vega-bind-name", t9e = "vega-bind-radio";
42366
+ const Z8e = "vega-bind", e9e = "vega-bind-name", t9e = "vega-bind-radio";
42367
42367
  function n9e(t, e, r) {
42368
42368
  if (!e) return;
42369
42369
  const i = r.param;
@@ -42394,7 +42394,7 @@ function i9e(t) {
42394
42394
  }
42395
42395
  function s9e(t, e, r, i) {
42396
42396
  const s = i.signal(r.signal), o = Is("div", {
42397
- class: ZNe
42397
+ class: Z8e
42398
42398
  }), u = r.input === "radio" ? o : o.appendChild(Is("label"));
42399
42399
  u.appendChild(Is("span", {
42400
42400
  class: e9e
@@ -42513,7 +42513,7 @@ function f9e(t, e, r, i) {
42513
42513
  }
42514
42514
  function x9e(t, e) {
42515
42515
  const r = this, i = r._renderType, s = r._eventConfig.bind, o = sI(i);
42516
- t = r._el = t ? U6(r, t, !0) : null, BNe(r), o || r.error("Unrecognized renderer type: " + i);
42516
+ t = r._el = t ? U6(r, t, !0) : null, B8e(r), o || r.error("Unrecognized renderer type: " + i);
42517
42517
  const u = o.handler || X5, a = t ? o.renderer : o.headless;
42518
42518
  return r._renderer = a ? Mie(r, r._renderer, t, a) : null, r._handler = f9e(r, r._handler, t, u), r._redraw = !0, t && s !== "none" && (e = e ? r._elBind = U6(r, e, !0) : t.appendChild(Is("form", {
42519
42519
  class: "vega-bindings"
@@ -42574,7 +42574,7 @@ async function g9e(t) {
42574
42574
  return (await f$(this, Kf.SVG, t)).svg();
42575
42575
  }
42576
42576
  function y9e(t, e, r) {
42577
- return $Ne(t, r3, E3, r).parse(e);
42577
+ return $8e(t, r3, E3, r).parse(e);
42578
42578
  }
42579
42579
  function E9e(t) {
42580
42580
  var e = this._runtime.scales;
@@ -42686,12 +42686,12 @@ function d$(t, e) {
42686
42686
  }
42687
42687
  r._el = null, r._elBind = null, r._renderType = e.renderer || Kf.Canvas, r._scenegraph = new S4e();
42688
42688
  const i = r._scenegraph.root;
42689
- r._renderer = null, r._tooltip = e.tooltip || R9e, r._redraw = !0, r._handler = new X5().scene(i), r._globalCursor = !1, r._preventDefault = !1, r._timers = [], r._eventListeners = [], r._resizeListeners = [], r._eventConfig = VNe(t.eventConfig), r.globalCursor(r._eventConfig.globalCursor);
42689
+ r._renderer = null, r._tooltip = e.tooltip || R9e, r._redraw = !0, r._handler = new X5().scene(i), r._globalCursor = !1, r._preventDefault = !1, r._timers = [], r._eventListeners = [], r._resizeListeners = [], r._eventConfig = V8e(t.eventConfig), r.globalCursor(r._eventConfig.globalCursor);
42690
42690
  const s = y9e(r, t, e.expr);
42691
42691
  r._runtime = s, r._signals = s.signals, r._bind = (t.bindings || []).map((o) => ({
42692
42692
  state: null,
42693
42693
  param: _t({}, o)
42694
- })), s.root && s.root.set(i), i.source = s.data.root.input, r.pulse(s.data.root.input, r.changeset().insert(i.items)), r._width = r.width(), r._height = r.height(), r._viewWidth = jie(r, r._width), r._viewHeight = qie(r, r._height), r._origin = [0, 0], r._resize = 0, r._autosize = 1, A9e(r), kNe(r), MNe(r), r.description(t.description), e.hover && r.hover(), e.container && r.initialize(e.container, e.bind), e.watchPixelRatio && r._watchPixelRatio();
42694
+ })), s.root && s.root.set(i), i.source = s.data.root.input, r.pulse(s.data.root.input, r.changeset().insert(i.items)), r._width = r.width(), r._height = r.height(), r._viewWidth = jie(r, r._width), r._viewHeight = qie(r, r._height), r._origin = [0, 0], r._resize = 0, r._autosize = 1, A9e(r), k8e(r), M8e(r), r.description(t.description), e.hover && r.hover(), e.container && r.initialize(e.container, e.bind), e.watchPixelRatio && r._watchPixelRatio();
42695
42695
  }
42696
42696
  function KA(t, e) {
42697
42697
  return ot(t._signals, e) ? t._signals[e] : be("Unrecognized signal name: " + Be(e));
@@ -42713,7 +42713,7 @@ Me(d$, Sg, {
42713
42713
  async evaluate(t, e, r) {
42714
42714
  if (await Sg.prototype.evaluate.call(this, t, e), this._redraw || this._resize)
42715
42715
  try {
42716
- this._renderer && (this._resize && (this._resize = 0, qNe(this)), await this._renderer.renderAsync(this._scenegraph.root)), this._redraw = !1;
42716
+ this._renderer && (this._resize && (this._resize = 0, q8e(this)), await this._renderer.renderAsync(this._scenegraph.root)), this._redraw = !1;
42717
42717
  } catch (i) {
42718
42718
  this.error(i);
42719
42719
  }
@@ -42811,8 +42811,8 @@ Me(d$, Sg, {
42811
42811
  globalCursor(t) {
42812
42812
  if (arguments.length) {
42813
42813
  if (this._globalCursor !== !!t) {
42814
- const e = n8(this, null);
42815
- this._globalCursor = !!t, e && n8(this, e);
42814
+ const e = nN(this, null);
42815
+ this._globalCursor = !!t, e && nN(this, e);
42816
42816
  }
42817
42817
  return this;
42818
42818
  } else
@@ -42822,14 +42822,14 @@ Me(d$, Sg, {
42822
42822
  return arguments.length ? (this._preventDefault = t, this) : this._preventDefault;
42823
42823
  },
42824
42824
  timer: T9e,
42825
- events: KNe,
42826
- finalize: XNe,
42827
- hover: JNe,
42825
+ events: K8e,
42826
+ finalize: X8e,
42827
+ hover: J8e,
42828
42828
  // -- DATA ----
42829
- data: PNe,
42829
+ data: P8e,
42830
42830
  change: f4,
42831
- insert: UNe,
42832
- remove: jNe,
42831
+ insert: U8e,
42832
+ remove: j8e,
42833
42833
  // -- SCALES --
42834
42834
  scale: E9e,
42835
42835
  // -- INITIALIZATION ----
@@ -42861,7 +42861,7 @@ const F9e = "view", ZC = "[", eS = "]", Wie = "{", Gie = "}", N9e = ":", Vie = "
42861
42861
  };
42862
42862
  let Yie, Kie;
42863
42863
  function _d(t, e, r) {
42864
- return Yie = e || F9e, Kie = B9e, Jie(t.trim()).map(r8);
42864
+ return Yie = e || F9e, Kie = B9e, Jie(t.trim()).map(rN);
42865
42865
  }
42866
42866
  function k9e(t) {
42867
42867
  return Kie[t];
@@ -42884,7 +42884,7 @@ function Jie(t) {
42884
42884
  throw "Empty event selector: " + t;
42885
42885
  return e;
42886
42886
  }
42887
- function r8(t) {
42887
+ function rN(t) {
42888
42888
  return t[0] === "[" ? M9e(t) : P9e(t);
42889
42889
  }
42890
42890
  function M9e(t) {
@@ -42896,8 +42896,8 @@ function M9e(t) {
42896
42896
  throw "Between selector must have two elements: " + t;
42897
42897
  if (t = t.slice(r + 1).trim(), t[0] !== I9e)
42898
42898
  throw "Expected '>' after between selector: " + t;
42899
- i = i.map(r8);
42900
- const s = r8(t.slice(1).trim());
42899
+ i = i.map(rN);
42900
+ const s = rN(t.slice(1).trim());
42901
42901
  return s.between ? {
42902
42902
  between: i,
42903
42903
  stream: s
@@ -43095,11 +43095,11 @@ function rse(t, e) {
43095
43095
  t.react === !1 && (i.react = !1), t.bind && e.addBinding(r, t.bind);
43096
43096
  }
43097
43097
  }
43098
- function i8(t, e, r, i) {
43098
+ function iN(t, e, r, i) {
43099
43099
  this.id = -1, this.type = t, this.value = e, this.params = r, i && (this.parent = i);
43100
43100
  }
43101
43101
  function h4(t, e, r, i) {
43102
- return new i8(t, e, r, i);
43102
+ return new iN(t, e, r, i);
43103
43103
  }
43104
43104
  function tS(t, e) {
43105
43105
  return h4("operator", t, e);
@@ -43118,7 +43118,7 @@ function A3(t, e) {
43118
43118
  $field: t
43119
43119
  };
43120
43120
  }
43121
- const s8 = A3("key");
43121
+ const sN = A3("key");
43122
43122
  function mz(t, e) {
43123
43123
  return {
43124
43124
  $compare: t,
@@ -43138,7 +43138,7 @@ function yLe(t) {
43138
43138
  function p4(t, e) {
43139
43139
  return (t && t.signal ? "$" + t.signal : t || "") + (t && e ? "_" : "") + (e && e.signal ? "$" + e.signal : e || "");
43140
43140
  }
43141
- const g$ = "scope", o8 = "view";
43141
+ const g$ = "scope", oN = "view";
43142
43142
  function ir(t) {
43143
43143
  return t && t.signal;
43144
43144
  }
@@ -43164,7 +43164,7 @@ function _3(t, e) {
43164
43164
  return (t.merge ? _Le : t.stream ? vLe : t.type ? CLe : be("Invalid stream specification: " + Be(t)))(t, e);
43165
43165
  }
43166
43166
  function ALe(t) {
43167
- return t === g$ ? o8 : t || o8;
43167
+ return t === g$ ? oN : t || oN;
43168
43168
  }
43169
43169
  function _Le(t, e) {
43170
43170
  const r = t.merge.map((s) => _3(s, e)), i = y$({
@@ -43209,7 +43209,7 @@ function TLe(t, e, r) {
43209
43209
  target: r
43210
43210
  };
43211
43211
  let o = t.events, u = t.update, a = [];
43212
- o || be("Signal update missing events specification."), ze(o) && (o = _d(o, e.isSubscope() ? g$ : o8)), o = He(o).filter((l) => l.signal || l.scale ? (a.push(l), 0) : 1), a.length > 1 && (a = [DLe(a)]), o.length && a.push(o.length > 1 ? {
43212
+ o || be("Signal update missing events specification."), ze(o) && (o = _d(o, e.isSubscope() ? g$ : oN)), o = He(o).filter((l) => l.signal || l.scale ? (a.push(l), 0) : 1), a.length > 1 && (a = [DLe(a)]), o.length && a.push(o.length > 1 ? {
43213
43213
  merge: o
43214
43214
  } : o[0]), i != null && (u && be("Signal encode and update are mutually exclusive."), u = "encode(item()," + Be(i) + ")"), s.update = ze(u) ? ga(u, e) : u.expr != null ? ga(u.expr, e) : u.value != null ? u.value : u.signal != null ? {
43215
43215
  $expr: bLe,
@@ -43308,7 +43308,7 @@ function nIe(t, e, r) {
43308
43308
  const f = e.getData(c.data);
43309
43309
  return f || m4(c.data), f.countsRef(e, c.field, i);
43310
43310
  }), a = {
43311
- groupby: s8,
43311
+ groupby: sN,
43312
43312
  pulse: u
43313
43313
  };
43314
43314
  i && (s = i.op || "count", o = i.field ? p4(s, i.field) : "count", a.ops = [cse[s]], a.fields = [e.fieldRef(o)], a.as = [o]), s = e.add(ise(a));
@@ -43316,7 +43316,7 @@ function nIe(t, e, r) {
43316
43316
  pulse: rt(s)
43317
43317
  }));
43318
43318
  return o = e.add(VLe({
43319
- field: s8,
43319
+ field: sN,
43320
43320
  sort: e.sortRef(i),
43321
43321
  pulse: rt(l)
43322
43322
  })), rt(o);
@@ -43389,15 +43389,15 @@ function dse(t, e, r) {
43389
43389
  function aIe(t, e) {
43390
43390
  const r = e.config.projection || {}, i = {};
43391
43391
  for (const s in t)
43392
- s !== "name" && (i[s] = u8(t[s], s, e));
43392
+ s !== "name" && (i[s] = uN(t[s], s, e));
43393
43393
  for (const s in r)
43394
- i[s] == null && (i[s] = u8(r[s], s, e));
43394
+ i[s] == null && (i[s] = uN(r[s], s, e));
43395
43395
  e.addProjection(t.name, i);
43396
43396
  }
43397
- function u8(t, e, r) {
43398
- return Te(t) ? t.map((i) => u8(i, e, r)) : Ge(t) ? t.signal ? r.signalRef(t.signal) : e === "fit" ? t : be("Unsupported parameter object: " + Be(t)) : t;
43397
+ function uN(t, e, r) {
43398
+ return Te(t) ? t.map((i) => uN(i, e, r)) : Ge(t) ? t.signal ? r.signalRef(t.signal) : e === "fit" ? t : be("Unsupported parameter object: " + Be(t)) : t;
43399
43399
  }
43400
- const bu = "top", O2 = "left", w2 = "right", Ac = "bottom", hse = "center", lIe = "vertical", cIe = "start", fIe = "middle", xIe = "end", a8 = "index", E$ = "label", dIe = "offset", vp = "perc", hIe = "perc2", go = "value", eE = "guide-label", A$ = "guide-title", pIe = "group-title", mIe = "group-subtitle", Ez = "symbol", ev = "gradient", l8 = "discrete", c8 = "size", gIe = "shape", yIe = "fill", EIe = "stroke", AIe = "strokeWidth", _Ie = "strokeDash", vIe = "opacity", _$ = [c8, gIe, yIe, EIe, AIe, _Ie, vIe], tE = {
43400
+ const bu = "top", O2 = "left", w2 = "right", Ac = "bottom", hse = "center", lIe = "vertical", cIe = "start", fIe = "middle", xIe = "end", aN = "index", E$ = "label", dIe = "offset", vp = "perc", hIe = "perc2", go = "value", eE = "guide-label", A$ = "guide-title", pIe = "group-title", mIe = "group-subtitle", Ez = "symbol", ev = "gradient", lN = "discrete", cN = "size", gIe = "shape", yIe = "fill", EIe = "stroke", AIe = "strokeWidth", _Ie = "strokeDash", vIe = "opacity", _$ = [cN, gIe, yIe, EIe, AIe, _Ie, vIe], tE = {
43401
43401
  name: 1,
43402
43402
  style: 1,
43403
43403
  interactive: 1
@@ -43568,7 +43568,7 @@ function Az(t, e, r, i) {
43568
43568
  }, c[h] = f[h] = u, u.offset = qo(t.labelOffset, e.gradientLabelOffset) || 0, l = l ? {
43569
43569
  separation: s("labelSeparation"),
43570
43570
  method: l,
43571
- order: "datum." + a8
43571
+ order: "datum." + aN
43572
43572
  } : void 0, Qs({
43573
43573
  type: Cd,
43574
43574
  role: Xie,
@@ -43582,9 +43582,9 @@ function Az(t, e, r, i) {
43582
43582
  function wIe(t, e, r, i, s) {
43583
43583
  const o = _s(t, e), u = r.entries, a = !!(u && u.interactive), l = u ? u.name : void 0, c = o("clipHeight"), f = o("symbolOffset"), x = {
43584
43584
  data: "value"
43585
- }, h = `(${s}) ? datum.${dIe} : datum.${c8}`, p = c ? Cr(c) : {
43586
- field: c8
43587
- }, m = `datum.${a8}`, y = `max(1, ${s})`;
43585
+ }, h = `(${s}) ? datum.${dIe} : datum.${cN}`, p = c ? Cr(c) : {
43586
+ field: cN
43587
+ }, m = `datum.${aN}`, y = `max(1, ${s})`;
43588
43588
  let g, E, A, _, v;
43589
43589
  p.mult = 0.5, g = {
43590
43590
  enter: E = {
@@ -43700,7 +43700,7 @@ function wIe(t, e, r, i, s) {
43700
43700
  facet: {
43701
43701
  data: i,
43702
43702
  name: "value",
43703
- groupby: a8
43703
+ groupby: aN
43704
43704
  }
43705
43705
  }, v3({
43706
43706
  role: m$,
@@ -43914,7 +43914,7 @@ function Om(t, e, r, i, s, o, u) {
43914
43914
  let c = Ase(s), f, x;
43915
43915
  if (c != null && (t = e.scope, c = c + (l ? "|" + l : ""), f = a[c]), !f) {
43916
43916
  const h = o ? {
43917
- field: s8,
43917
+ field: sN,
43918
43918
  pulse: e.countsRef(t, s, o)
43919
43919
  } : {
43920
43920
  field: t.fieldRef(s),
@@ -44085,7 +44085,7 @@ function ZIe(t, e) {
44085
44085
  formatType: e.property(t.formatType),
44086
44086
  formatSpecifier: e.property(t.format)
44087
44087
  })));
44088
- return m === ev ? (p = [TIe(t, f, r, i.gradient), Az(t, r, i.labels, A)], h.count = h.count || e.signalRef(`max(2,2*floor((${ax(s.gradientLength())})/100))`)) : m === l8 ? p = [RIe(t, f, r, i.gradient, A), Az(t, r, i.labels, A)] : (x = FIe(t, r), p = [wIe(t, r, i, A, ax(x.columns))], h.size = r$e(t, e, p[0].marks)), p = [v3({
44088
+ return m === ev ? (p = [TIe(t, f, r, i.gradient), Az(t, r, i.labels, A)], h.count = h.count || e.signalRef(`max(2,2*floor((${ax(s.gradientLength())})/100))`)) : m === lN ? p = [RIe(t, f, r, i.gradient, A), Az(t, r, i.labels, A)] : (x = FIe(t, r), p = [wIe(t, r, i, A, ax(x.columns))], h.size = r$e(t, e, p[0].marks)), p = [v3({
44089
44089
  role: X9e,
44090
44090
  from: g,
44091
44091
  encode: E,
@@ -44107,7 +44107,7 @@ function ZIe(t, e) {
44107
44107
  }
44108
44108
  function e$e(t, e) {
44109
44109
  let r = t.type || Ez;
44110
- return !t.type && t$e(t) === 1 && (t.fill || t.stroke) && (r = NL(e) ? ev : tF(e) ? l8 : Ez), r !== ev ? r : tF(e) ? l8 : ev;
44110
+ return !t.type && t$e(t) === 1 && (t.fill || t.stroke) && (r = NL(e) ? ev : tF(e) ? lN : Ez), r !== ev ? r : tF(e) ? lN : ev;
44111
44111
  }
44112
44112
  function t$e(t) {
44113
44113
  return _$.reduce((e, r) => e + (t[r] ? 1 : 0), 0);
@@ -44836,7 +44836,7 @@ Tse.prototype = Nz.prototype = {
44836
44836
  }), t.refs = null), t;
44837
44837
  },
44838
44838
  proxy(t) {
44839
- const e = t instanceof i8 ? rt(t) : t;
44839
+ const e = t instanceof iN ? rt(t) : t;
44840
44840
  return this.add(QLe({
44841
44841
  value: e
44842
44842
  }));
@@ -44945,7 +44945,7 @@ Tse.prototype = Nz.prototype = {
44945
44945
  },
44946
44946
  addSignal(t, e) {
44947
44947
  this.hasOwnSignal(t) && be("Duplicate signal name: " + Be(t));
44948
- const r = e instanceof i8 ? e : this.add(tS(e));
44948
+ const r = e instanceof iN ? e : this.add(tS(e));
44949
44949
  return this.signals[t] = r;
44950
44950
  },
44951
44951
  getSignal(t) {
@@ -46040,8 +46040,8 @@ function hBe() {
46040
46040
  function pBe() {
46041
46041
  return null;
46042
46042
  }
46043
- const Fse = MN(), Nse = () => {
46044
- const t = PN(Fse);
46043
+ const Fse = M8(), Nse = () => {
46044
+ const t = P8(Fse);
46045
46045
  if (!t)
46046
46046
  throw Error(
46047
46047
  "useResultContext must be used within a ResultContext.Provider"
@@ -46198,7 +46198,7 @@ function vBe(t) {
46198
46198
  }), null), D;
46199
46199
  })();
46200
46200
  }
46201
- jN(["click"]);
46201
+ j8(["click"]);
46202
46202
  const Iz = {
46203
46203
  xs: 28,
46204
46204
  sm: 64,
@@ -46412,12 +46412,12 @@ function v4(...[t, e]) {
46412
46412
  }
46413
46413
  return [s, o];
46414
46414
  }
46415
- const f8 = Symbol("store-root");
46415
+ const fN = Symbol("store-root");
46416
46416
  function fh(t, e, r, i, s) {
46417
46417
  const o = e[r];
46418
46418
  if (t === o) return;
46419
46419
  const u = Array.isArray(t);
46420
- if (r !== f8 && (!ya(t) || !ya(o) || u !== Array.isArray(o) || s && t[s] !== o[s])) {
46420
+ if (r !== fN && (!ya(t) || !ya(o) || u !== Array.isArray(o) || s && t[s] !== o[s])) {
46421
46421
  ts(e, r, t);
46422
46422
  return;
46423
46423
  }
@@ -46462,9 +46462,9 @@ function DBe(t, e = {}) {
46462
46462
  const u = fh(
46463
46463
  s,
46464
46464
  {
46465
- [f8]: o
46465
+ [fN]: o
46466
46466
  },
46467
- f8,
46467
+ fN,
46468
46468
  r,
46469
46469
  i
46470
46470
  );
@@ -46494,7 +46494,7 @@ function nv(t) {
46494
46494
  return e;
46495
46495
  };
46496
46496
  }
46497
- const Use = MN(), jx = () => PN(Use);
46497
+ const Use = M8(), jx = () => P8(Use);
46498
46498
  function OBe() {
46499
46499
  return v4({
46500
46500
  headerSizes: {},
@@ -47748,7 +47748,7 @@ const tke = navigator.userAgent.toLowerCase().indexOf("chrome") >= 0, nke = tke,
47748
47748
  }
47749
47749
  });
47750
47750
  };
47751
- jN(["click"]);
47751
+ j8(["click"]);
47752
47752
  var ske = /* @__PURE__ */ bt('<div class=malloy-list style="text-wrap:wrap;line-height:calc(var(--malloy-render--table-row-height) * 5 / 7 - 1px);">'), oke = /* @__PURE__ */ bt("<span>");
47753
47753
  function uke(t) {
47754
47754
  if (t.dataColumn.isNull()) return "∅";
@@ -48044,7 +48044,7 @@ function hke(t) {
48044
48044
  }), null), m;
48045
48045
  })();
48046
48046
  }
48047
- jN(["click"]);
48047
+ j8(["click"]);
48048
48048
  function pke({ dataColumn: t }) {
48049
48049
  if (!t.field.isAtomic())
48050
48050
  throw new Error(
@@ -48393,11 +48393,11 @@ function Nn(t) {
48393
48393
  function iv(t, e) {
48394
48394
  return L$(t) ? `!(${iv(t.not, e)})` : N$(t) ? `(${t.and.map((r) => iv(r, e)).join(") && (")})` : F$(t) ? `(${t.or.map((r) => iv(r, e)).join(") || (")})` : e(t);
48395
48395
  }
48396
- function x8(t, e) {
48396
+ function xN(t, e) {
48397
48397
  if (e.length === 0)
48398
48398
  return !0;
48399
48399
  const r = e.shift();
48400
- return r in t && x8(t[r], e) && delete t[r], an(t);
48400
+ return r in t && xN(t[r], e) && delete t[r], an(t);
48401
48401
  }
48402
48402
  function C4(t) {
48403
48403
  return t.charAt(0).toUpperCase() + t.substr(1);
@@ -49058,7 +49058,7 @@ const sMe = {
49058
49058
  symbol: 1,
49059
49059
  text: 1,
49060
49060
  trail: 1
49061
- }, d8 = [
49061
+ }, dN = [
49062
49062
  "cornerRadius",
49063
49063
  "cornerRadiusTopLeft",
49064
49064
  "cornerRadiusTopRight",
@@ -49287,7 +49287,7 @@ function Eoe(t, e) {
49287
49287
  function LMe(t) {
49288
49288
  return `Position range does not support relative band size for ${t}.`;
49289
49289
  }
49290
- function h8(t, e) {
49290
+ function hN(t, e) {
49291
49291
  return `Dropping ${En(t)} from channel "${e}" since it does not contain any data field, datum, value, or signal.`;
49292
49292
  }
49293
49293
  const IMe = "Line marks cannot encode size with a non-groupby field. You may want to use trail marks instead.";
@@ -49726,7 +49726,7 @@ const xs = {
49726
49726
  ORDINAL: "ordinal",
49727
49727
  POINT: "point",
49728
49728
  BAND: "band"
49729
- }, p8 = {
49729
+ }, pN = {
49730
49730
  linear: "numeric",
49731
49731
  log: "numeric",
49732
49732
  pow: "numeric",
@@ -49745,7 +49745,7 @@ const xs = {
49745
49745
  threshold: "discretizing"
49746
49746
  };
49747
49747
  function kPe(t, e) {
49748
- const r = p8[t], i = p8[e];
49748
+ const r = pN[t], i = pN[e];
49749
49749
  return r === i || r === "ordinal-position" && i === "time" || i === "ordinal-position" && r === "time";
49750
49750
  }
49751
49751
  const MPe = {
@@ -49873,7 +49873,7 @@ const zPe = {
49873
49873
  paddingInner: 1,
49874
49874
  paddingOuter: 1
49875
49875
  }, WPe = BPe(zPe, ["type", "domain", "range", "rangeMax", "rangeMin", "scheme"]), GPe = Ne(WPe);
49876
- function m8(t, e) {
49876
+ function mN(t, e) {
49877
49877
  switch (e) {
49878
49878
  case "type":
49879
49879
  case "domain":
@@ -50203,12 +50203,12 @@ function fB({ fieldOrDatumDef: t, format: e, formatType: r, expr: i, normalizeSt
50203
50203
  const c = gUe(l, ke(t) ? (u = Gi(t.timeUnit)) === null || u === void 0 ? void 0 : u.unit : void 0, e, o.timeFormat, Dd(t) && ((a = t.scale) === null || a === void 0 ? void 0 : a.type) === xs.UTC);
50204
50204
  return c ? { signal: c } : void 0;
50205
50205
  }
50206
- if (e = Voe(y8(t), e, o), ke(t) && hn(t.bin)) {
50206
+ if (e = Voe(yN(t), e, o), ke(t) && hn(t.bin)) {
50207
50207
  const c = je(t, { expr: i, binSuffix: "end" });
50208
50208
  return {
50209
50209
  signal: k4(l, c, e, r, o)
50210
50210
  };
50211
- } else return e || y8(t) === "quantitative" ? {
50211
+ } else return e || yN(t) === "quantitative" ? {
50212
50212
  signal: `${Yoe(l, e)}`
50213
50213
  } : { signal: `isValid(${l}) ? ${l} : ""+${l}` };
50214
50214
  }
@@ -50303,7 +50303,7 @@ function dB(t) {
50303
50303
  function P4(t) {
50304
50304
  return "facet" in t;
50305
50305
  }
50306
- var g8 = function(t, e) {
50306
+ var gN = function(t, e) {
50307
50307
  var r = {};
50308
50308
  for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && e.indexOf(i) < 0 && (r[i] = t[i]);
50309
50309
  if (t != null && typeof Object.getOwnPropertySymbols == "function")
@@ -50373,16 +50373,16 @@ function _Ue(t) {
50373
50373
  function ke(t) {
50374
50374
  return t && (!!t.field || t.aggregate === "count");
50375
50375
  }
50376
- function y8(t) {
50376
+ function yN(t) {
50377
50377
  return t && t.type;
50378
50378
  }
50379
50379
  function Ya(t) {
50380
50380
  return t && "datum" in t;
50381
50381
  }
50382
50382
  function Vu(t) {
50383
- return To(t) && !xS(t) || E8(t);
50383
+ return To(t) && !xS(t) || EN(t);
50384
50384
  }
50385
- function E8(t) {
50385
+ function EN(t) {
50386
50386
  return Ya(t) && An(t.datum);
50387
50387
  }
50388
50388
  function ht(t) {
@@ -50545,7 +50545,7 @@ function OUe(t, e) {
50545
50545
  if (s || i && !uf(i) && !e0(i))
50546
50546
  return "quantitative";
50547
50547
  if (Dd(t) && (!((r = t.scale) === null || r === void 0) && r.type))
50548
- switch (p8[t.scale.type]) {
50548
+ switch (pN[t.scale.type]) {
50549
50549
  case "numeric":
50550
50550
  case "discretizing":
50551
50551
  return "quantitative";
@@ -50578,13 +50578,13 @@ function oue(t, e, r, i = {}) {
50578
50578
  }
50579
50579
  function hS(t, e, r, i) {
50580
50580
  if (nue(t)) {
50581
- const { format: s, formatType: o } = t, u = g8(t, ["format", "formatType"]);
50581
+ const { format: s, formatType: o } = t, u = gN(t, ["format", "formatType"]);
50582
50582
  if (Wx(o) && !r.customFormatTypes)
50583
50583
  return Fe(Zz(e)), hS(u, e, r, i);
50584
50584
  } else {
50585
50585
  const s = pB(t) ? "axis" : tue(t) ? "legend" : dB(t) ? "header" : null;
50586
50586
  if (s && t[s]) {
50587
- const o = t[s], { format: u, formatType: a } = o, l = g8(o, ["format", "formatType"]);
50587
+ const o = t[s], { format: u, formatType: a } = o, l = gN(o, ["format", "formatType"]);
50588
50588
  if (Wx(a) && !r.customFormatTypes)
50589
50589
  return Fe(Zz(e)), hS(Object.assign(Object.assign({}, t), { [s]: l }), e, r, i);
50590
50590
  }
@@ -50622,7 +50622,7 @@ function yB(t, e, { compositeMark: r = !1 } = {}) {
50622
50622
  if (dB(a)) {
50623
50623
  const { header: l } = a;
50624
50624
  if (l) {
50625
- const { orient: c } = l, f = g8(l, ["orient"]);
50625
+ const { orient: c } = l, f = gN(l, ["orient"]);
50626
50626
  if (c)
50627
50627
  return Object.assign(Object.assign({}, a), { header: Object.assign(Object.assign({}, f), { labelOrient: l.labelOrient || c, titleOrient: l.titleOrient || c }) });
50628
50628
  }
@@ -51022,7 +51022,7 @@ function fue(t, e) {
51022
51022
  const r = t && t[e];
51023
51023
  return r ? Te(r) ? Sp(r, (i) => !!i.field) : ke(r) || Ya(r) || lE(r) : !1;
51024
51024
  }
51025
- function A8(t, e) {
51025
+ function AN(t, e) {
51026
51026
  if (Qr(e)) {
51027
51027
  const r = t[e];
51028
51028
  if ((ke(r) || Ya(r)) && Foe(r.type)) {
@@ -51141,12 +51141,12 @@ function MUe(t, e, r, i) {
51141
51141
  continue;
51142
51142
  }
51143
51143
  if (o === sE || o === iE && !Te(u) && !du(u) || o === Hx && Te(u))
51144
- u && (s[o] = He(u).reduce((a, l) => (ke(l) ? a.push(yB(l, o)) : Fe(h8(l, o)), a), []));
51144
+ u && (s[o] = He(u).reduce((a, l) => (ke(l) ? a.push(yB(l, o)) : Fe(hN(l, o)), a), []));
51145
51145
  else {
51146
51146
  if (o === Hx && u === null)
51147
51147
  s[o] = null;
51148
51148
  else if (!ke(u) && !Ya(u) && !du(u) && !U4(u) && !nt(u)) {
51149
- Fe(h8(u, o));
51149
+ Fe(hN(u, o));
51150
51150
  continue;
51151
51151
  }
51152
51152
  s[o] = oue(u, o, i);
@@ -51263,7 +51263,7 @@ function jUe(t) {
51263
51263
  e.aggregate ? r.tooltip = e : s = e;
51264
51264
  return Te(s) && s.length === 1 && (s = s[0]), { customTooltipWithoutAggregatedField: s, filteredEncoding: r };
51265
51265
  }
51266
- function _8(t, e, r, i = !0) {
51266
+ function _N(t, e, r, i = !0) {
51267
51267
  if ("tooltip" in r)
51268
51268
  return { tooltip: r.tooltip };
51269
51269
  const s = t.map(({ fieldPrefix: u, titlePrefix: a }) => {
@@ -51367,7 +51367,7 @@ function Eue(t, { config: e }) {
51367
51367
  c,
51368
51368
  // TODO: https://github.com/vega/vega-lite/issues/6245
51369
51369
  e
51370
- ), h = yue(f), { bins: p, timeUnits: m, transform: y, continuousAxisChannelDef: g, continuousAxis: E, groupby: A, aggregate: _, encodingWithoutContinuousAxis: v, ticksOrient: C, boxOrient: S, customTooltipWithoutAggregatedField: b } = QUe(t, f, e), { color: R, size: O } = v, B = sv(v, ["color", "size"]), D = (re) => vB(c, E, g, re, e.boxplot), $ = D(B), U = D(v), V = D(Object.assign(Object.assign({}, B), O ? { size: O } : {})), Q = _8([
51370
+ ), h = yue(f), { bins: p, timeUnits: m, transform: y, continuousAxisChannelDef: g, continuousAxis: E, groupby: A, aggregate: _, encodingWithoutContinuousAxis: v, ticksOrient: C, boxOrient: S, customTooltipWithoutAggregatedField: b } = QUe(t, f, e), { color: R, size: O } = v, B = sv(v, ["color", "size"]), D = (re) => vB(c, E, g, re, e.boxplot), $ = D(B), U = D(v), V = D(Object.assign(Object.assign({}, B), O ? { size: O } : {})), Q = _N([
51371
51371
  { fieldPrefix: h === "min-max" ? "upper_whisker_" : "max_", titlePrefix: "Max" },
51372
51372
  { fieldPrefix: "upper_box_", titlePrefix: "Q3" },
51373
51373
  { fieldPrefix: "mid_box_", titlePrefix: "Median" },
@@ -51375,7 +51375,7 @@ function Eue(t, { config: e }) {
51375
51375
  { fieldPrefix: h === "min-max" ? "lower_whisker_" : "min_", titlePrefix: "Min" }
51376
51376
  ], g, v), Z = { type: "tick", color: "black", opacity: 1, orient: C, invalid: null, aria: !1 }, de = h === "min-max" ? Q : (
51377
51377
  // for tukey / k-IQR, just show upper/lower-whisker
51378
- _8([
51378
+ _N([
51379
51379
  { fieldPrefix: "upper_whisker_", titlePrefix: "Upper Whisker" },
51380
51380
  { fieldPrefix: "lower_whisker_", titlePrefix: "Lower Whisker" }
51381
51381
  ], g, v)
@@ -51652,7 +51652,7 @@ function vue(t, e, r) {
51652
51652
  C[R];
51653
51653
  const O = g === "x" ? "xError2" : "yError2";
51654
51654
  C[O];
51655
- const B = lW(C, [typeof S == "symbol" ? S : S + "", typeof b == "symbol" ? b : b + "", typeof R == "symbol" ? R : R + "", typeof O == "symbol" ? O : O + ""]), { bins: D, timeUnits: $, aggregate: U, groupby: V, encoding: Q } = xue(B, r), Z = [...U, ...E], de = x !== "raw" ? [] : V, he = _8(_, h, Q, v);
51655
+ const B = lW(C, [typeof S == "symbol" ? S : S + "", typeof b == "symbol" ? b : b + "", typeof R == "symbol" ? R : R + "", typeof O == "symbol" ? O : O + ""]), { bins: D, timeUnits: $, aggregate: U, groupby: V, encoding: Q } = xue(B, r), Z = [...U, ...E], de = x !== "raw" ? [] : V, he = _N(_, h, Q, v);
51656
51656
  return {
51657
51657
  transform: [
51658
51658
  ...(i = l.transform) !== null && i !== void 0 ? i : [],
@@ -52011,7 +52011,7 @@ var dje = function(t, e) {
52011
52011
  e.indexOf(i[s]) < 0 && Object.prototype.propertyIsEnumerable.call(t, i[s]) && (r[i[s]] = t[i[s]]);
52012
52012
  return r;
52013
52013
  };
52014
- function v8(t, e) {
52014
+ function vN(t, e) {
52015
52015
  var r;
52016
52016
  return (r = t[e]) !== null && r !== void 0 ? r : t[e === "width" ? "continuousWidth" : "continuousHeight"];
52017
52017
  }
@@ -52395,7 +52395,7 @@ function Fje(t) {
52395
52395
  }
52396
52396
  const Nje = /* @__PURE__ */ new Set([Moe, I4, L4, cS, B4, oB, uB, $4, Poe, sB]), Lje = /* @__PURE__ */ new Set([I4, L4, Moe]);
52397
52397
  function nh(t) {
52398
- return ke(t) && y8(t) === "quantitative" && !t.bin;
52398
+ return ke(t) && yN(t) === "quantitative" && !t.bin;
52399
52399
  }
52400
52400
  function pW(t, e) {
52401
52401
  var r, i;
@@ -52565,7 +52565,7 @@ function Pje(t, e) {
52565
52565
  function X6(t, e) {
52566
52566
  return e ? kue(t, e) : t;
52567
52567
  }
52568
- function C8(t, e, r) {
52568
+ function CN(t, e, r) {
52569
52569
  const i = e[t];
52570
52570
  if (AUe(i)) {
52571
52571
  if (i.repeat in r)
@@ -52576,11 +52576,11 @@ function C8(t, e, r) {
52576
52576
  return e;
52577
52577
  }
52578
52578
  function Bue(t, e) {
52579
- if (t = C8("field", t, e), t !== void 0) {
52579
+ if (t = CN("field", t, e), t !== void 0) {
52580
52580
  if (t === null)
52581
52581
  return null;
52582
52582
  if (hB(t) && ta(t.sort)) {
52583
- const r = C8("field", t.sort, e);
52583
+ const r = CN("field", t.sort, e);
52584
52584
  t = Object.assign(Object.assign({}, t), r ? { sort: r } : {});
52585
52585
  }
52586
52586
  return t;
@@ -52590,7 +52590,7 @@ function gW(t, e) {
52590
52590
  if (ke(t))
52591
52591
  return Bue(t, e);
52592
52592
  {
52593
- const r = C8("datum", t, e);
52593
+ const r = CN("datum", t, e);
52594
52594
  return r !== t && !r.type && (r.type = "nominal"), r;
52595
52595
  }
52596
52596
  }
@@ -52891,7 +52891,7 @@ function _W(t, e) {
52891
52891
  if (r) {
52892
52892
  const s = r.map((o) => {
52893
52893
  if (FB(o))
52894
- return { filter: S8(o, e) };
52894
+ return { filter: SN(o, e) };
52895
52895
  if (Pue(o) && Td(o.bin))
52896
52896
  return Object.assign(Object.assign({}, o), { bin: jue(o.bin) });
52897
52897
  if (Mue(o)) {
@@ -52915,11 +52915,11 @@ function Uue(t, e) {
52915
52915
  if (Te(s.condition))
52916
52916
  s.condition = s.condition.map((o) => {
52917
52917
  const { selection: u, param: a, test: l } = o, c = tc(o, ["selection", "param", "test"]);
52918
- return a ? o : Object.assign(Object.assign({}, c), { test: S8(o, e) });
52918
+ return a ? o : Object.assign(Object.assign({}, c), { test: SN(o, e) });
52919
52919
  });
52920
52920
  else {
52921
52921
  const o = Uue(s.condition, e), { selection: u, param: a, test: l } = o, c = tc(o, ["selection", "param", "test"]);
52922
- s.condition = a ? s.condition : Object.assign(Object.assign({}, c), { test: S8(s.condition, e) });
52922
+ s.condition = a ? s.condition : Object.assign(Object.assign({}, c), { test: SN(s.condition, e) });
52923
52923
  }
52924
52924
  return s;
52925
52925
  }
@@ -52931,7 +52931,7 @@ function jue(t) {
52931
52931
  }
52932
52932
  return t;
52933
52933
  }
52934
- function S8(t, e) {
52934
+ function SN(t, e) {
52935
52935
  const r = (i) => Fh(i, (s) => {
52936
52936
  var o, u, a;
52937
52937
  const l = (o = e.emptySelections[s]) !== null && o !== void 0 ? o : !0, c = { param: s, empty: l };
@@ -52939,7 +52939,7 @@ function S8(t, e) {
52939
52939
  });
52940
52940
  return t.selection ? r(t.selection) : Fh(t.test || t.filter, (i) => i.selection ? r(i.selection) : i);
52941
52941
  }
52942
- class b8 extends wB {
52942
+ class bN extends wB {
52943
52943
  map(e, r) {
52944
52944
  var i;
52945
52945
  const s = (i = r.selections) !== null && i !== void 0 ? i : [];
@@ -52967,8 +52967,8 @@ class b8 extends wB {
52967
52967
  }
52968
52968
  }
52969
52969
  for (const t of ["mapFacet", "mapRepeat", "mapHConcat", "mapVConcat", "mapLayer"]) {
52970
- const e = b8.prototype[t];
52971
- b8.prototype[t] = function(r, i) {
52970
+ const e = bN.prototype[t];
52971
+ bN.prototype[t] = function(r, i) {
52972
52972
  return e.call(this, r, que(r, i));
52973
52973
  };
52974
52974
  }
@@ -52981,7 +52981,7 @@ function aqe(t, e) {
52981
52981
  const r = xqe(t, e), { width: i, height: s } = t, o = dqe(r, { width: i, height: s, autosize: t.autosize }, e);
52982
52982
  return Object.assign(Object.assign({}, r), o ? { autosize: o } : {});
52983
52983
  }
52984
- const lqe = new jje(), cqe = new uqe(), fqe = new b8();
52984
+ const lqe = new jje(), cqe = new uqe(), fqe = new bN();
52985
52985
  function xqe(t, e = {}) {
52986
52986
  const r = { config: e };
52987
52987
  return fqe.map(lqe.map(cqe.map(t, r), r), r);
@@ -53501,7 +53501,7 @@ const Rqe = {
53501
53501
  },
53502
53502
  topLevelSignals: (t, e, r) => {
53503
53503
  const i = e.scales.filter((u) => r.filter((a) => a.name === u.signals.data).length === 0);
53504
- if (!t.parent || R8(t) || i.length === 0)
53504
+ if (!t.parent || RN(t) || i.length === 0)
53505
53505
  return r;
53506
53506
  const s = r.filter((u) => u.name === e.name)[0];
53507
53507
  let o = s.update;
@@ -53517,7 +53517,7 @@ const Rqe = {
53517
53517
  return r.concat(i.map((u) => ({ name: u.signals.data })));
53518
53518
  },
53519
53519
  signals: (t, e, r) => {
53520
- if (t.parent && !R8(t))
53520
+ if (t.parent && !RN(t))
53521
53521
  for (const i of e.scales) {
53522
53522
  const s = r.filter((o) => o.name === i.signals.data)[0];
53523
53523
  s.push = "outer", delete s.value, delete s.update;
@@ -53525,12 +53525,12 @@ const Rqe = {
53525
53525
  return r;
53526
53526
  }
53527
53527
  };
53528
- function T8(t, e) {
53528
+ function TN(t, e) {
53529
53529
  return `domain(${Be(t.scaleName(e))})`;
53530
53530
  }
53531
- function R8(t) {
53531
+ function RN(t) {
53532
53532
  var e;
53533
- return t.parent && P2(t.parent) && ((e = !t.parent.parent) !== null && e !== void 0 ? e : R8(t.parent.parent));
53533
+ return t.parent && P2(t.parent) && ((e = !t.parent.parent) !== null && e !== void 0 ? e : RN(t.parent.parent));
53534
53534
  }
53535
53535
  var Dqe = function(t, e) {
53536
53536
  var r = {};
@@ -53540,7 +53540,7 @@ var Dqe = function(t, e) {
53540
53540
  e.indexOf(i[s]) < 0 && Object.prototype.propertyIsEnumerable.call(t, i[s]) && (r[i[s]] = t[i[s]]);
53541
53541
  return r;
53542
53542
  };
53543
- const Ih = "_brush", D8 = "_scale_trigger", Oqe = {
53543
+ const Ih = "_brush", DN = "_scale_trigger", Oqe = {
53544
53544
  defined: (t) => t.type === "interval",
53545
53545
  signals: (t, e, r) => {
53546
53546
  const i = e.name, s = i + xE, o = Cc.defined(e), u = e.init ? e.init[0] : null, a = [], l = [];
@@ -53564,12 +53564,12 @@ const Ih = "_brush", D8 = "_scale_trigger", Oqe = {
53564
53564
  expr: `(!isArray(${y}) || (${_}invert(${E}, ${g})[0] === ${_}${y}[0] && ${_}invert(${E}, ${g})[1] === ${_}${y}[1]))`
53565
53565
  });
53566
53566
  }), !o && l.length && r.push({
53567
- name: i + D8,
53567
+ name: i + DN,
53568
53568
  value: {},
53569
53569
  on: [
53570
53570
  {
53571
53571
  events: l.map((f) => ({ scale: f.scaleName })),
53572
- update: `${l.map((f) => f.expr).join(" && ")} ? ${i + D8} : {}`
53572
+ update: `${l.map((f) => f.expr).join(" && ")} ? ${i + DN} : {}`
53573
53573
  }
53574
53574
  ]
53575
53575
  });
@@ -53640,7 +53640,7 @@ function wqe(t, e, r, i) {
53640
53640
  // Brush End
53641
53641
  ]);
53642
53642
  return m.push({
53643
- events: { signal: e.name + D8 },
53643
+ events: { signal: e.name + DN },
53644
53644
  update: zs(f) ? `[${x(`${u}[0]`)}, ${x(`${u}[1]`)}]` : "[0, 0]"
53645
53645
  }), a ? [{ name: u, on: [] }] : [
53646
53646
  Object.assign(Object.assign({ name: o }, i ? { init: Fp(i, !0, x) } : { value: [] }), { on: m }),
@@ -54397,7 +54397,7 @@ const iae = "_translate_anchor", sae = "_translate_delta", Kqe = {
54397
54397
  on: [
54398
54398
  {
54399
54399
  events: l.map((c) => c.between[0]),
54400
- update: "{x: x(unit), y: y(unit)" + (u !== void 0 ? `, extent_x: ${s ? T8(t, In) : `slice(${u.signals.visual})`}` : "") + (a !== void 0 ? `, extent_y: ${s ? T8(t, Rr) : `slice(${a.signals.visual})`}` : "") + "}"
54400
+ update: "{x: x(unit), y: y(unit)" + (u !== void 0 ? `, extent_x: ${s ? TN(t, In) : `slice(${u.signals.visual})`}` : "") + (a !== void 0 ? `, extent_y: ${s ? TN(t, Rr) : `slice(${a.signals.visual})`}` : "") + "}"
54401
54401
  }
54402
54402
  ]
54403
54403
  }, {
@@ -54447,7 +54447,7 @@ const oae = "_zoom_anchor", uae = "_zoom_delta", Jqe = {
54447
54447
  };
54448
54448
  function wW(t, e, r, i, s) {
54449
54449
  var o, u;
54450
- const a = e.name, l = r.channel, c = Cc.defined(e), f = s.filter((v) => v.name === r.signals[c ? "data" : "visual"])[0], x = t.getSizeSignalRef(i).signal, h = t.getScaleComponent(l), p = h.get("type"), m = c ? T8(t, l) : f.name, y = a + uae, g = `${a}${oae}.${l}`, E = c ? p === "log" ? "zoomLog" : p === "symlog" ? "zoomSymlog" : p === "pow" ? "zoomPow" : "zoomLinear" : "zoomLinear", A = c ? p === "pow" ? `, ${(o = h.get("exponent")) !== null && o !== void 0 ? o : 1}` : p === "symlog" ? `, ${(u = h.get("constant")) !== null && u !== void 0 ? u : 1}` : "" : "", _ = `${E}(${m}, ${g}, ${y}${A})`;
54450
+ const a = e.name, l = r.channel, c = Cc.defined(e), f = s.filter((v) => v.name === r.signals[c ? "data" : "visual"])[0], x = t.getSizeSignalRef(i).signal, h = t.getScaleComponent(l), p = h.get("type"), m = c ? TN(t, l) : f.name, y = a + uae, g = `${a}${oae}.${l}`, E = c ? p === "log" ? "zoomLog" : p === "symlog" ? "zoomSymlog" : p === "pow" ? "zoomPow" : "zoomLinear" : "zoomLinear", A = c ? p === "pow" ? `, ${(o = h.get("exponent")) !== null && o !== void 0 ? o : 1}` : p === "symlog" ? `, ${(u = h.get("constant")) !== null && u !== void 0 ? u : 1}` : "" : "", _ = `${E}(${m}, ${g}, ${y}${A})`;
54451
54451
  f.on.push({
54452
54452
  events: { signal: y },
54453
54453
  update: c ? _ : `clampRange(${_}, 0, ${x})`
@@ -54537,7 +54537,7 @@ Ka[Od] = "Numeric";
54537
54537
  Ka[rs] = "Punctuator";
54538
54538
  Ka[hE] = "String";
54539
54539
  Ka[dHe] = "RegularExpression";
54540
- var hHe = "ArrayExpression", pHe = "BinaryExpression", mHe = "CallExpression", gHe = "ConditionalExpression", cae = "Identifier", yHe = "Literal", EHe = "LogicalExpression", AHe = "MemberExpression", _He = "ObjectExpression", vHe = "Property", CHe = "UnaryExpression", br = "Unexpected token %0", SHe = "Unexpected number", bHe = "Unexpected string", THe = "Unexpected identifier", RHe = "Unexpected reserved word", DHe = "Unexpected end of input", O8 = "Invalid regular expression", e7 = "Invalid regular expression: missing /", fae = "Octal literals are not allowed in strict mode.", OHe = "Duplicate data property in object literal not allowed in strict mode", Mr = "ILLEGAL", w3 = "Disabled.", wHe = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"), FHe = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B2\\u08E4-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD0\\u0BD7\\u0BE6-\\u0BEF\\u0C00-\\u0C03\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C58\\u0C59\\u0C60-\\u0C63\\u0C66-\\u0C6F\\u0C81-\\u0C83\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBC-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CDE\\u0CE0-\\u0CE3\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D01-\\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D57\\u0D60-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19D9\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFC-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u2E2F\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA69D\\uA69F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C4\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2D\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]");
54540
+ var hHe = "ArrayExpression", pHe = "BinaryExpression", mHe = "CallExpression", gHe = "ConditionalExpression", cae = "Identifier", yHe = "Literal", EHe = "LogicalExpression", AHe = "MemberExpression", _He = "ObjectExpression", vHe = "Property", CHe = "UnaryExpression", br = "Unexpected token %0", SHe = "Unexpected number", bHe = "Unexpected string", THe = "Unexpected identifier", RHe = "Unexpected reserved word", DHe = "Unexpected end of input", ON = "Invalid regular expression", e7 = "Invalid regular expression: missing /", fae = "Octal literals are not allowed in strict mode.", OHe = "Duplicate data property in object literal not allowed in strict mode", Mr = "ILLEGAL", w3 = "Disabled.", wHe = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"), FHe = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B2\\u08E4-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD0\\u0BD7\\u0BE6-\\u0BEF\\u0C00-\\u0C03\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C58\\u0C59\\u0C60-\\u0C63\\u0C66-\\u0C6F\\u0C81-\\u0C83\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBC-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CDE\\u0CE0-\\u0CE3\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D01-\\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D57\\u0D60-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19D9\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFC-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u2E2F\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA69D\\uA69F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C4\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2D\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]");
54541
54541
  function Z4(t, e) {
54542
54542
  if (!t)
54543
54543
  throw new Error("ASSERT: " + e);
@@ -54625,7 +54625,7 @@ function xae() {
54625
54625
  break;
54626
54626
  }
54627
54627
  }
54628
- function w8(t) {
54628
+ function wN(t) {
54629
54629
  var e, r, i, s = 0;
54630
54630
  for (r = t === "u" ? 4 : 2, e = 0; e < r; ++e)
54631
54631
  Ce < hi && MB(Je[Ce]) ? (i = Je[Ce++], s = s * 16 + "0123456789abcdef".indexOf(i.toLowerCase())) : Ut({}, br, Mr);
@@ -54639,8 +54639,8 @@ function IHe() {
54639
54639
  }
54640
54640
  function dae() {
54641
54641
  var t, e;
54642
- for (t = Je.charCodeAt(Ce++), e = String.fromCharCode(t), t === 92 && (Je.charCodeAt(Ce) !== 117 && Ut({}, br, Mr), ++Ce, t = w8("u"), (!t || t === "\\" || !pE(t.charCodeAt(0))) && Ut({}, br, Mr), e = t); Ce < hi && (t = Je.charCodeAt(Ce), !!AS(t)); )
54643
- ++Ce, e += String.fromCharCode(t), t === 92 && (e = e.substr(0, e.length - 1), Je.charCodeAt(Ce) !== 117 && Ut({}, br, Mr), ++Ce, t = w8("u"), (!t || t === "\\" || !AS(t.charCodeAt(0))) && Ut({}, br, Mr), e += t);
54642
+ for (t = Je.charCodeAt(Ce++), e = String.fromCharCode(t), t === 92 && (Je.charCodeAt(Ce) !== 117 && Ut({}, br, Mr), ++Ce, t = wN("u"), (!t || t === "\\" || !pE(t.charCodeAt(0))) && Ut({}, br, Mr), e = t); Ce < hi && (t = Je.charCodeAt(Ce), !!AS(t)); )
54643
+ ++Ce, e += String.fromCharCode(t), t === 92 && (e = e.substr(0, e.length - 1), Je.charCodeAt(Ce) !== 117 && Ut({}, br, Mr), ++Ce, t = wN("u"), (!t || t === "\\" || !AS(t.charCodeAt(0))) && Ut({}, br, Mr), e += t);
54644
54644
  return e;
54645
54645
  }
54646
54646
  function $He() {
@@ -54810,7 +54810,7 @@ function PHe() {
54810
54810
  switch (i) {
54811
54811
  case "u":
54812
54812
  case "x":
54813
- Je[Ce] === "{" ? (++Ce, t += IHe()) : t += w8(i);
54813
+ Je[Ce] === "{" ? (++Ce, t += IHe()) : t += wN(i);
54814
54814
  break;
54815
54815
  case "n":
54816
54816
  t += `
@@ -54856,12 +54856,12 @@ function UHe(t, e) {
54856
54856
  e.indexOf("u") >= 0 && (r = r.replace(/\\u\{([0-9a-fA-F]+)\}/g, (i, s) => {
54857
54857
  if (parseInt(s, 16) <= 1114111)
54858
54858
  return "x";
54859
- Ut({}, O8);
54859
+ Ut({}, ON);
54860
54860
  }).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g, "x"));
54861
54861
  try {
54862
54862
  new RegExp(r);
54863
54863
  } catch {
54864
- Ut({}, O8);
54864
+ Ut({}, ON);
54865
54865
  }
54866
54866
  try {
54867
54867
  return new RegExp(t, e);
@@ -54891,7 +54891,7 @@ function qHe() {
54891
54891
  var t, e, r;
54892
54892
  for (e = "", r = ""; Ce < hi && (t = Je[Ce], !!AS(t.charCodeAt(0))); )
54893
54893
  ++Ce, t === "\\" && Ce < hi ? Ut({}, br, Mr) : (r += t, e += t);
54894
- return r.search(/[^gimuy]/g) >= 0 && Ut({}, O8, r), {
54894
+ return r.search(/[^gimuy]/g) >= 0 && Ut({}, ON, r), {
54895
54895
  value: r,
54896
54896
  literal: e
54897
54897
  };
@@ -55177,9 +55177,9 @@ function aQe(t) {
55177
55177
  throw new Error("Unexpect token after expression.");
55178
55178
  return e;
55179
55179
  }
55180
- function F8(t) {
55180
+ function FN(t) {
55181
55181
  const e = [];
55182
- return t.type === "Identifier" ? [t.name] : t.type === "Literal" ? [t.value] : (t.type === "MemberExpression" && (e.push(...F8(t.object)), e.push(...F8(t.property))), e);
55182
+ return t.type === "Identifier" ? [t.name] : t.type === "Literal" ? [t.value] : (t.type === "MemberExpression" && (e.push(...FN(t.object)), e.push(...FN(t.property))), e);
55183
55183
  }
55184
55184
  function mae(t) {
55185
55185
  return t.object.type === "MemberExpression" ? mae(t.object) : t.object.name === "datum";
@@ -55187,7 +55187,7 @@ function mae(t) {
55187
55187
  function gae(t) {
55188
55188
  const e = aQe(t), r = /* @__PURE__ */ new Set();
55189
55189
  return e.visit((i) => {
55190
- i.type === "MemberExpression" && mae(i) && r.add(F8(i).slice(1).join("."));
55190
+ i.type === "MemberExpression" && mae(i) && r.add(FN(i).slice(1).join("."));
55191
55191
  }), r;
55192
55192
  }
55193
55193
  class B2 extends sn {
@@ -55441,7 +55441,7 @@ function hQe(t, e) {
55441
55441
  }
55442
55442
  return Object.assign.apply(null, i);
55443
55443
  }
55444
- function N8(t, e, r, i = {}) {
55444
+ function NN(t, e, r, i = {}) {
55445
55445
  var s;
55446
55446
  const o = xoe(t, r, e);
55447
55447
  if (o !== void 0)
@@ -55515,18 +55515,18 @@ function gQe(t, e, r, i, s) {
55515
55515
  if (o !== void 0)
55516
55516
  return nt(o) ? o : uS(o);
55517
55517
  {
55518
- const { configValue: u } = N8("labelAngle", i, e == null ? void 0 : e.style, s);
55518
+ const { configValue: u } = NN("labelAngle", i, e == null ? void 0 : e.style, s);
55519
55519
  return u !== void 0 ? uS(u) : r === In && Bt([iB, rB], t.type) && !(ke(t) && t.timeUnit) ? 270 : void 0;
55520
55520
  }
55521
55521
  }
55522
- function L8(t) {
55522
+ function LN(t) {
55523
55523
  return `(((${t.signal} % 360) + 360) % 360)`;
55524
55524
  }
55525
55525
  function _ae(t, e, r, i) {
55526
55526
  if (t !== void 0)
55527
55527
  if (r === "x") {
55528
55528
  if (nt(t)) {
55529
- const s = L8(t), o = nt(e) ? `(${e.signal} === "top")` : e === "top";
55529
+ const s = LN(t), o = nt(e) ? `(${e.signal} === "top")` : e === "top";
55530
55530
  return {
55531
55531
  signal: `(45 < ${s} && ${s} < 135) || (225 < ${s} && ${s} < 315) ? "middle" :(${s} <= 45 || 315 <= ${s}) === ${o} ? "bottom" : "top"`
55532
55532
  };
@@ -55540,7 +55540,7 @@ function _ae(t, e, r, i) {
55540
55540
  return (t <= 45 || 315 <= t) == (e === "top") ? "bottom" : "top";
55541
55541
  } else {
55542
55542
  if (nt(t)) {
55543
- const s = L8(t), o = nt(e) ? `(${e.signal} === "left")` : e === "left";
55543
+ const s = LN(t), o = nt(e) ? `(${e.signal} === "left")` : e === "left";
55544
55544
  return {
55545
55545
  signal: `${s} <= 45 || 315 <= ${s} || (135 <= ${s} && ${s} <= 225) ? ${i ? '"middle"' : "null"} : (45 <= ${s} && ${s} <= 135) === ${o} ? "top" : "bottom"`
55546
55546
  };
@@ -55559,7 +55559,7 @@ function vae(t, e, r) {
55559
55559
  return;
55560
55560
  const i = r === "x", s = i ? 0 : 90, o = i ? "bottom" : "left";
55561
55561
  if (nt(t)) {
55562
- const u = L8(t), a = nt(e) ? `(${e.signal} === "${o}")` : e === o;
55562
+ const u = LN(t), a = nt(e) ? `(${e.signal} === "${o}")` : e === o;
55563
55563
  return {
55564
55564
  signal: `(${s ? `(${u} + 90)` : u} % 180 === 0) ? ${i ? null : '"center"'} :(${s} < ${u} && ${u} < ${180 + s}) === ${a} ? "left" : "right"`
55565
55565
  };
@@ -55721,7 +55721,7 @@ function TQe(t, e) {
55721
55721
  order: i ?? "ascending"
55722
55722
  };
55723
55723
  }
55724
- function I8(t, e, r) {
55724
+ function IN(t, e, r) {
55725
55725
  const { format: i, formatType: s, labelAngle: o, labelAnchor: u, labelOrient: a, labelExpr: l } = nT(["format", "formatType", "labelAngle", "labelAnchor", "labelOrient", "labelExpr"], t.header, r, e), c = fB({
55726
55726
  fieldOrDatumDef: t,
55727
55727
  format: i,
@@ -55739,7 +55739,7 @@ function RQe(t, e, r, i, s) {
55739
55739
  const { facetFieldDef: u } = i, a = t.config ? t.config : void 0;
55740
55740
  if (u && s.labels) {
55741
55741
  const { labelOrient: x } = nT(["labelOrient"], u.header, a, e);
55742
- (e === "row" && !Bt(["top", "bottom"], x) || e === "column" && !Bt(["left", "right"], x)) && (o = I8(u, e, a));
55742
+ (e === "row" && !Bt(["top", "bottom"], x) || e === "column" && !Bt(["left", "right"], x)) && (o = IN(u, e, a));
55743
55743
  }
55744
55744
  const l = nu(t) && !aE(t.facet), c = s.axes, f = (c == null ? void 0 : c.length) > 0;
55745
55745
  if (o || f) {
@@ -55824,7 +55824,7 @@ function n_(t, e) {
55824
55824
  }
55825
55825
  throw new Error("layout size is step although width/height is not step.");
55826
55826
  } else if (i == "container") {
55827
- const o = s.endsWith("width"), u = o ? "containerSize()[0]" : "containerSize()[1]", a = v8(t.config.view, o ? "width" : "height"), l = `isFinite(${u}) ? ${u} : ${a}`;
55827
+ const o = s.endsWith("width"), u = o ? "containerSize()[0]" : "containerSize()[1]", a = vN(t.config.view, o ? "width" : "height"), l = `isFinite(${u}) ? ${u} : ${a}`;
55828
55828
  return [{ name: s, init: l, on: [{ update: l, events: "window:resize" }] }];
55829
55829
  } else
55830
55830
  return [
@@ -55908,7 +55908,7 @@ function LQe(t, { fieldOrDatumDef: e, model: r, channel: i, legendCmpt: s, legen
55908
55908
  else if (_.fill.field)
55909
55909
  C ? delete _.fill : (_.fill = gn((f = g.legend.symbolBaseFillColor) !== null && f !== void 0 ? f : "black"), _.fillOpacity = gn(b ?? 1));
55910
55910
  else if (Te(_.fill)) {
55911
- const R = (p = (h = $8((x = y.fill) !== null && x !== void 0 ? x : y.color)) !== null && h !== void 0 ? h : m.fill) !== null && p !== void 0 ? p : A && m.color;
55911
+ const R = (p = (h = $N((x = y.fill) !== null && x !== void 0 ? x : y.color)) !== null && h !== void 0 ? h : m.fill) !== null && p !== void 0 ? p : A && m.color;
55912
55912
  R && (_.fill = gn(R));
55913
55913
  }
55914
55914
  }
@@ -55918,7 +55918,7 @@ function LQe(t, { fieldOrDatumDef: e, model: r, channel: i, legendCmpt: s, legen
55918
55918
  else if (_.stroke.field || S)
55919
55919
  delete _.stroke;
55920
55920
  else if (Te(_.stroke)) {
55921
- const R = ur($8(y.stroke || y.color), m.stroke, A ? m.color : void 0);
55921
+ const R = ur($N(y.stroke || y.color), m.stroke, A ? m.color : void 0);
55922
55922
  R && (_.stroke = { value: R });
55923
55923
  }
55924
55924
  }
@@ -55957,7 +55957,7 @@ function BQe(t, { legendCmpt: e }) {
55957
55957
  function Nae(t) {
55958
55958
  return Lae(t, (e, r) => Math.max(e, r.value));
55959
55959
  }
55960
- function $8(t) {
55960
+ function $N(t) {
55961
55961
  return Lae(t, (e, r) => ur(e, r.value));
55962
55962
  }
55963
55963
  function Lae(t, e) {
@@ -56017,7 +56017,7 @@ function kQe(t, e) {
56017
56017
  function MQe(t, e, r, i) {
56018
56018
  var s;
56019
56019
  if (e !== "shape") {
56020
- const o = (s = $8(r)) !== null && s !== void 0 ? s : i;
56020
+ const o = (s = $N(r)) !== null && s !== void 0 ? s : i;
56021
56021
  if (o)
56022
56022
  return o;
56023
56023
  }
@@ -56198,7 +56198,7 @@ function Bae(t, e) {
56198
56198
  );
56199
56199
  t.setWithExplicit(c, f);
56200
56200
  }
56201
- return l && (!((i = (r = t.implicit) === null || r === void 0 ? void 0 : r.encode) === null || i === void 0) && i.gradient && x8(t.implicit, ["encode", "gradient"]), !((o = (s = t.explicit) === null || s === void 0 ? void 0 : s.encode) === null || o === void 0) && o.gradient && x8(t.explicit, ["encode", "gradient"])), t;
56201
+ return l && (!((i = (r = t.implicit) === null || r === void 0 ? void 0 : r.encode) === null || i === void 0) && i.gradient && xN(t.implicit, ["encode", "gradient"]), !((o = (s = t.explicit) === null || s === void 0 ? void 0 : s.encode) === null || o === void 0) && o.gradient && xN(t.explicit, ["encode", "gradient"])), t;
56202
56202
  }
56203
56203
  function KQe(t, e) {
56204
56204
  return e.value === "circle" ? e : t;
@@ -57408,7 +57408,7 @@ function Fze(t) {
57408
57408
  if (!(r instanceof k2)) {
57409
57409
  const i = r.clone();
57410
57410
  if (i instanceof Ui) {
57411
- const s = k8 + i.getSource();
57411
+ const s = kN + i.getSource();
57412
57412
  i.setSource(s), t.model.component.data.outputNodes[s] = i;
57413
57413
  } else (i instanceof tu || i instanceof Bl || i instanceof M2 || i instanceof Fd) && i.addDimensions(t.fields);
57414
57414
  for (const s of r.children.flatMap(e))
@@ -57419,11 +57419,11 @@ function Fze(t) {
57419
57419
  }
57420
57420
  return e;
57421
57421
  }
57422
- function B8(t) {
57422
+ function BN(t) {
57423
57423
  if (t instanceof k2)
57424
57424
  if (t.numChildren() === 1 && !(t.children[0] instanceof Ui)) {
57425
57425
  const e = t.children[0];
57426
- (e instanceof tu || e instanceof Bl || e instanceof M2 || e instanceof Fd) && e.addDimensions(t.fields), e.swapWithParent(), B8(t);
57426
+ (e instanceof tu || e instanceof Bl || e instanceof M2 || e instanceof Fd) && e.addDimensions(t.fields), e.swapWithParent(), BN(t);
57427
57427
  } else {
57428
57428
  const e = t.model.component.data.main;
57429
57429
  qae(e);
@@ -57432,7 +57432,7 @@ function B8(t) {
57432
57432
  s.parent = e;
57433
57433
  }
57434
57434
  else
57435
- t.children.map(B8);
57435
+ t.children.map(BN);
57436
57436
  }
57437
57437
  function qae(t) {
57438
57438
  if (t instanceof Ui && t.type === xn.Main && t.numChildren() === 1) {
@@ -57440,13 +57440,13 @@ function qae(t) {
57440
57440
  e instanceof k2 || (e.swapWithParent(), qae(t));
57441
57441
  }
57442
57442
  }
57443
- const k8 = "scale_", r_ = 5;
57444
- function M8(t) {
57443
+ const kN = "scale_", r_ = 5;
57444
+ function MN(t) {
57445
57445
  for (const e of t) {
57446
57446
  for (const r of e.children)
57447
57447
  if (r.parent !== e)
57448
57448
  return !1;
57449
- if (!M8(e.children))
57449
+ if (!MN(e.children))
57450
57450
  return !1;
57451
57451
  }
57452
57452
  return !0;
@@ -57462,14 +57462,14 @@ function GW(t, e, r) {
57462
57462
  return s = Io(new _ze(), i) || s, s = Io(new Eze(e), i) || s, i = i.filter((o) => o.numChildren() > 0), s = Io(new Sze(), i) || s, i = i.filter((o) => o.numChildren() > 0), r || (s = Io(new vze(), i) || s, s = Io(new Rze(e), i) || s, s = Io(new Aze(), i) || s, s = Io(new Cze(), i) || s, s = Io(new Tze(), i) || s, s = Io(new bze(), i) || s, s = Io(new yze(), i) || s, s = Io(new Dze(), i) || s), t.sources = i, s;
57463
57463
  }
57464
57464
  function Nze(t, e) {
57465
- M8(t.sources);
57465
+ MN(t.sources);
57466
57466
  let r = 0, i = 0;
57467
57467
  for (let s = 0; s < r_ && GW(t, e, !0); s++)
57468
57468
  r++;
57469
- t.sources.map(B8);
57469
+ t.sources.map(BN);
57470
57470
  for (let s = 0; s < r_ && GW(t, e, !1); s++)
57471
57471
  i++;
57472
- M8(t.sources), Math.max(r, i) === r_ && Fe(`Maximum optimization runs(${r_}) reached.`);
57472
+ MN(t.sources), Math.max(r, i) === r_ && Fe(`Maximum optimization runs(${r_}) reached.`);
57473
57473
  }
57474
57474
  class ds {
57475
57475
  constructor(e) {
@@ -57503,7 +57503,7 @@ function Ize(t) {
57503
57503
  o = o.parent;
57504
57504
  if (o.component.resolve.scale[r] === "shared")
57505
57505
  for (const a of i.value)
57506
- Sl(a) && (a.data = k8 + a.data.replace(k8, ""));
57506
+ Sl(a) && (a.data = kN + a.data.replace(kN, ""));
57507
57507
  }
57508
57508
  }
57509
57509
  }
@@ -57516,7 +57516,7 @@ function $ze(t) {
57516
57516
  for (const o of t.children) {
57517
57517
  const u = o.component.scales[r];
57518
57518
  if (u) {
57519
- i === void 0 ? i = u.getWithExplicit("domains") : i = vc(i, u.getWithExplicit("domains"), "domains", "scale", P8);
57519
+ i === void 0 ? i = u.getWithExplicit("domains") : i = vc(i, u.getWithExplicit("domains"), "domains", "scale", PN);
57520
57520
  const a = u.get("selectionExtent");
57521
57521
  s && a && s.param !== a.param && Fe(yMe), s = a;
57522
57522
  }
@@ -57540,7 +57540,7 @@ function Bze(t, e, r, i) {
57540
57540
  }
57541
57541
  function kze(t, e) {
57542
57542
  const r = t.getScaleComponent(e).get("type"), { encoding: i } = t, s = Bze(t.scaleDomain(e), t.typedFieldDef(e), r, t.config.scale);
57543
- return s !== t.scaleDomain(e) && (t.specifiedScales[e] = Object.assign(Object.assign({}, t.specifiedScales[e]), { domain: s })), e === "x" && rr(i.x2) ? rr(i.x) ? vc(I0(r, s, t, "x"), I0(r, s, t, "x2"), "domain", "scale", P8) : I0(r, s, t, "x2") : e === "y" && rr(i.y2) ? rr(i.y) ? vc(I0(r, s, t, "y"), I0(r, s, t, "y2"), "domain", "scale", P8) : I0(r, s, t, "y2") : I0(r, s, t, e);
57543
+ return s !== t.scaleDomain(e) && (t.specifiedScales[e] = Object.assign(Object.assign({}, t.specifiedScales[e]), { domain: s })), e === "x" && rr(i.x2) ? rr(i.x) ? vc(I0(r, s, t, "x"), I0(r, s, t, "x2"), "domain", "scale", PN) : I0(r, s, t, "x2") : e === "y" && rr(i.y2) ? rr(i.y) ? vc(I0(r, s, t, "y"), I0(r, s, t, "y2"), "domain", "scale", PN) : I0(r, s, t, "y2") : I0(r, s, t, e);
57544
57544
  }
57545
57545
  function Mze(t, e, r) {
57546
57546
  return t.map((i) => ({ signal: `{data: ${H4(i, { timeUnit: r, type: e })}}` }));
@@ -57724,7 +57724,7 @@ function VW(t, e) {
57724
57724
  reason: zMe(t)
57725
57725
  };
57726
57726
  }
57727
- function P8(t, e, r, i) {
57727
+ function PN(t, e, r, i) {
57728
57728
  return t.explicit && e.explicit && Fe(XMe(r, i, t.value, e.value)), { explicit: t.explicit, value: [...t.value, ...e.value] };
57729
57729
  }
57730
57730
  function jze(t) {
@@ -57861,7 +57861,7 @@ function Wze(t, e) {
57861
57861
  const r = e.specifiedScales[t], { size: i } = e, o = e.getScaleComponent(t).get("type");
57862
57862
  for (const x of Qze)
57863
57863
  if (r[x] !== void 0) {
57864
- const h = m8(o, x), p = koe(t, x);
57864
+ const h = mN(o, x), p = koe(t, x);
57865
57865
  if (!h)
57866
57866
  Fe(Aoe(o, x, t));
57867
57867
  else if (p)
@@ -57911,7 +57911,7 @@ function Wze(t, e) {
57911
57911
  }
57912
57912
  const { rangeMin: l, rangeMax: c } = r, f = Vze(t, e);
57913
57913
  return (l !== void 0 || c !== void 0) && // it's ok to check just rangeMin's compatibility since rangeMin/rangeMax are the same
57914
- m8(o, "rangeMin") && Te(f) && f.length === 2 ? qu([l ?? f[0], c ?? f[1]]) : Rs(f);
57914
+ mN(o, "rangeMin") && Te(f) && f.length === 2 ? qu([l ?? f[0], c ?? f[1]]) : Rs(f);
57915
57915
  }
57916
57916
  function Gze(t) {
57917
57917
  return qPe(t) ? Object.assign({ scheme: t.name }, Eo(t, ["name"])) : { scheme: t };
@@ -58090,7 +58090,7 @@ function Kae(t, e) {
58090
58090
  function Zze(t, e) {
58091
58091
  const r = t.component.scales, { config: i, encoding: s, markDef: o, specifiedScales: u } = t;
58092
58092
  for (const a of Ne(r)) {
58093
- const l = u[a], c = r[a], f = t.getScaleComponent(a), x = rr(s[a]), h = l[e], p = f.get("type"), m = f.get("padding"), y = f.get("paddingInner"), g = m8(p, e), E = koe(a, e);
58093
+ const l = u[a], c = r[a], f = t.getScaleComponent(a), x = rr(s[a]), h = l[e], p = f.get("type"), m = f.get("padding"), y = f.get("paddingInner"), g = mN(p, e), E = koe(a, e);
58094
58094
  if (h !== void 0 && (g ? E && Fe(E) : Fe(Aoe(p, e, a))), g && E === void 0)
58095
58095
  if (h !== void 0) {
58096
58096
  const A = x.timeUnit, _ = x.type;
@@ -58115,7 +58115,7 @@ function Zze(t, e) {
58115
58115
  domainMax: l.domainMax,
58116
58116
  markDef: o,
58117
58117
  config: i,
58118
- hasNestedOffsetScale: A8(s, a)
58118
+ hasNestedOffsetScale: AN(s, a)
58119
58119
  }) : i.scale[e];
58120
58120
  A !== void 0 && c.set(e, A, !1);
58121
58121
  }
@@ -58292,14 +58292,14 @@ function fWe(t) {
58292
58292
  let a = u && u.scale;
58293
58293
  if (N2(o)) {
58294
58294
  const l = noe(o);
58295
- if (!A8(e, l)) {
58295
+ if (!AN(e, l)) {
58296
58296
  a && Fe($Me(o));
58297
58297
  continue;
58298
58298
  }
58299
58299
  }
58300
58300
  if (u && a !== null && a !== !1) {
58301
58301
  a ?? (a = {});
58302
- const l = A8(e, o), c = aWe(a, o, u, i, l);
58302
+ const l = AN(e, o), c = aWe(a, o, u, i, l);
58303
58303
  s[o] = new zae(t.scaleName(`${o}`, !0), {
58304
58304
  value: c,
58305
58305
  explicit: a.type === c
@@ -59256,17 +59256,17 @@ function TWe(t, e) {
59256
59256
  const a = gS(i.view, e);
59257
59257
  return af(u) || _a(a) ? "step" : a;
59258
59258
  } else
59259
- return v8(i.view, e);
59259
+ return vN(i.view, e);
59260
59260
  } else {
59261
59261
  if (t.hasProjection || t.mark === "arc")
59262
- return v8(i.view, e);
59262
+ return vN(i.view, e);
59263
59263
  {
59264
59264
  const o = gS(i.view, e);
59265
59265
  return _a(o) ? o.step : o;
59266
59266
  }
59267
59267
  }
59268
59268
  }
59269
- function U8(t, e, r) {
59269
+ function UN(t, e, r) {
59270
59270
  return je(e, Object.assign({ suffix: `by_${je(t)}` }, r ?? {}));
59271
59271
  }
59272
59272
  class Mg extends ele {
@@ -59284,7 +59284,7 @@ class Mg extends ele {
59284
59284
  }
59285
59285
  const o = e[s];
59286
59286
  if (o.field === void 0) {
59287
- Fe(h8(o, s));
59287
+ Fe(hN(o, s));
59288
59288
  break;
59289
59289
  }
59290
59290
  i[s] = this.initFacetFieldDef(o, s);
@@ -59401,7 +59401,7 @@ class Mg extends ele {
59401
59401
  l.push(je(x));
59402
59402
  const { bin: h, sort: p } = x;
59403
59403
  if (hn(h) && l.push(je(x, { binSuffix: "end" })), ta(p)) {
59404
- const { field: m, op: y = M4 } = p, g = U8(x, p);
59404
+ const { field: m, op: y = M4 } = p, g = UN(x, p);
59405
59405
  i && s ? (o.push(g), u.push("max"), a.push(g)) : (o.push(m), u.push(y), a.push(g));
59406
59406
  } else if (Te(p)) {
59407
59407
  const m = Ip(x, f);
@@ -59420,7 +59420,7 @@ class Mg extends ele {
59420
59420
  }
59421
59421
  facetSortFields(e) {
59422
59422
  const { facet: r } = this, i = r[e];
59423
- return i ? ta(i.sort) ? [U8(i, i.sort, { expr: "datum" })] : Te(i.sort) ? [Ip(i, e, { expr: "datum" })] : [je(i, { expr: "datum" })] : [];
59423
+ return i ? ta(i.sort) ? [UN(i, i.sort, { expr: "datum" })] : Te(i.sort) ? [Ip(i, e, { expr: "datum" })] : [je(i, { expr: "datum" })] : [];
59424
59424
  }
59425
59425
  facetSortOrder(e) {
59426
59426
  const { facet: r } = this, i = r[e];
@@ -59434,7 +59434,7 @@ class Mg extends ele {
59434
59434
  var e;
59435
59435
  const { facet: r, config: i } = this;
59436
59436
  if (r.facet)
59437
- return I8(r.facet, "facet", i);
59437
+ return IN(r.facet, "facet", i);
59438
59438
  const s = {
59439
59439
  row: ["top", "bottom"],
59440
59440
  column: ["left", "right"]
@@ -59443,7 +59443,7 @@ class Mg extends ele {
59443
59443
  if (r[o]) {
59444
59444
  const u = $p("labelOrient", (e = r[o]) === null || e === void 0 ? void 0 : e.header, i, o);
59445
59445
  if (s[o].includes(u))
59446
- return I8(r[o], o, i);
59446
+ return IN(r[o], o, i);
59447
59447
  }
59448
59448
  }
59449
59449
  assembleMarks() {
@@ -59475,7 +59475,7 @@ function RWe(t, e) {
59475
59475
  {
59476
59476
  op: a,
59477
59477
  field: u,
59478
- as: U8(o, o.sort, { forAs: !0 })
59478
+ as: UN(o, o.sort, { forAs: !0 })
59479
59479
  }
59480
59480
  ],
59481
59481
  groupby: [je(o)]
@@ -59823,7 +59823,7 @@ const UWe = /* @__PURE__ */ new Set([
59823
59823
  function jWe(t, e) {
59824
59824
  var r, i, s;
59825
59825
  let o = e.axis(t);
59826
- const u = new ZB(), a = rr(e.encoding[t]), { mark: l, config: c } = e, f = (o == null ? void 0 : o.orient) || ((r = c[t === "x" ? "axisX" : "axisY"]) === null || r === void 0 ? void 0 : r.orient) || ((i = c.axis) === null || i === void 0 ? void 0 : i.orient) || AQe(t), x = e.getScaleComponent(t).get("type"), h = dQe(t, x, f, e.config), p = o !== void 0 ? !o : N8("disable", c.style, o == null ? void 0 : o.style, h).configValue;
59826
+ const u = new ZB(), a = rr(e.encoding[t]), { mark: l, config: c } = e, f = (o == null ? void 0 : o.orient) || ((r = c[t === "x" ? "axisX" : "axisY"]) === null || r === void 0 ? void 0 : r.orient) || ((i = c.axis) === null || i === void 0 ? void 0 : i.orient) || AQe(t), x = e.getScaleComponent(t).get("type"), h = dQe(t, x, f, e.config), p = o !== void 0 ? !o : NN("disable", c.style, o == null ? void 0 : o.style, h).configValue;
59827
59827
  if (u.set("disable", p, o !== void 0), p)
59828
59828
  return u;
59829
59829
  o = o || {};
@@ -59843,7 +59843,7 @@ function jWe(t, e) {
59843
59843
  if (v && C)
59844
59844
  u.set(A, _, C);
59845
59845
  else {
59846
- const { configValue: S = void 0, configFrom: b = void 0 } = aW(A) && A !== "values" ? N8(A, c.style, o.style, h) : {}, R = S !== void 0;
59846
+ const { configValue: S = void 0, configFrom: b = void 0 } = aW(A) && A !== "values" ? NN(A, c.style, o.style, h) : {}, R = S !== void 0;
59847
59847
  v && !R ? u.set(A, _, C) : (
59848
59848
  // Cases need implicit values
59849
59849
  // 1. Axis config that aren't available in Vega
@@ -59915,9 +59915,9 @@ function GWe(t, e, r) {
59915
59915
  if (u || o) {
59916
59916
  if (r)
59917
59917
  return r;
59918
- if (!o && (ke(i) && i.type === zx && !hn(i.bin) || E8(i)))
59918
+ if (!o && (ke(i) && i.type === zx && !hn(i.bin) || EN(i)))
59919
59919
  return "horizontal";
59920
- if (!u && (ke(s) && s.type === zx && !hn(s.bin) || E8(s)))
59920
+ if (!u && (ke(s) && s.type === zx && !hn(s.bin) || EN(s)))
59921
59921
  return "vertical";
59922
59922
  }
59923
59923
  case cS:
@@ -60171,7 +60171,7 @@ function xGe(t) {
60171
60171
  if (e.length > 0)
60172
60172
  return dGe(t, e);
60173
60173
  } else if (t.mark === I4) {
60174
- const e = d8.some((r) => Vt(r, t.markDef, t.config));
60174
+ const e = dN.some((r) => Vt(r, t.markDef, t.config));
60175
60175
  if (t.stack && !t.fieldDef("size") && e)
60176
60176
  return hGe(t);
60177
60177
  }
@@ -60214,14 +60214,14 @@ function hGe(t) {
60214
60214
  return `${f}(${h.map((p) => `scale('${i}',${p})`).join(",")})`;
60215
60215
  };
60216
60216
  let u, a;
60217
- t.stack.fieldChannel === "x" ? (u = Object.assign(Object.assign({}, S3(r.encode.update, ["y", "yc", "y2", "height", ...d8])), { x: { signal: o("min", "datum") }, x2: { signal: o("max", "datum") }, clip: { value: !0 } }), a = {
60217
+ t.stack.fieldChannel === "x" ? (u = Object.assign(Object.assign({}, S3(r.encode.update, ["y", "yc", "y2", "height", ...dN])), { x: { signal: o("min", "datum") }, x2: { signal: o("max", "datum") }, clip: { value: !0 } }), a = {
60218
60218
  x: { field: { group: "x" }, mult: -1 },
60219
60219
  height: { field: { group: "height" } }
60220
60220
  }, r.encode.update = Object.assign(Object.assign({}, Eo(r.encode.update, ["y", "yc", "y2"])), { height: { field: { group: "height" } } })) : (u = Object.assign(Object.assign({}, S3(r.encode.update, ["x", "xc", "x2", "width"])), { y: { signal: o("min", "datum") }, y2: { signal: o("max", "datum") }, clip: { value: !0 } }), a = {
60221
60221
  y: { field: { group: "y" }, mult: -1 },
60222
60222
  width: { field: { group: "width" } }
60223
60223
  }, r.encode.update = Object.assign(Object.assign({}, Eo(r.encode.update, ["x", "xc", "x2"])), { width: { field: { group: "width" } } }));
60224
- for (const f of d8) {
60224
+ for (const f of dN) {
60225
60225
  const x = Qx(f, t.markDef, t.config);
60226
60226
  r.encode.update[f] ? (u[f] = r.encode.update[f], delete r.encode.update[f]) : x && (u[f] = gn(x)), x && (r.encode.update[f] = { value: 0 });
60227
60227
  }
@@ -60923,7 +60923,7 @@ var _le = wYe;
60923
60923
  function FYe(t) {
60924
60924
  return t.split("");
60925
60925
  }
60926
- var NYe = FYe, vle = "\\ud800-\\udfff", LYe = "\\u0300-\\u036f", IYe = "\\ufe20-\\ufe2f", $Ye = "\\u20d0-\\u20ff", BYe = LYe + IYe + $Ye, kYe = "\\ufe0e\\ufe0f", MYe = "[" + vle + "]", j8 = "[" + BYe + "]", q8 = "\\ud83c[\\udffb-\\udfff]", PYe = "(?:" + j8 + "|" + q8 + ")", Cle = "[^" + vle + "]", Sle = "(?:\\ud83c[\\udde6-\\uddff]){2}", ble = "[\\ud800-\\udbff][\\udc00-\\udfff]", UYe = "\\u200d", Tle = PYe + "?", Rle = "[" + kYe + "]?", jYe = "(?:" + UYe + "(?:" + [Cle, Sle, ble].join("|") + ")" + Rle + Tle + ")*", qYe = Rle + Tle + jYe, HYe = "(?:" + [Cle + j8 + "?", j8, Sle, ble, MYe].join("|") + ")", QYe = RegExp(q8 + "(?=" + q8 + ")|" + HYe + qYe, "g");
60926
+ var NYe = FYe, vle = "\\ud800-\\udfff", LYe = "\\u0300-\\u036f", IYe = "\\ufe20-\\ufe2f", $Ye = "\\u20d0-\\u20ff", BYe = LYe + IYe + $Ye, kYe = "\\ufe0e\\ufe0f", MYe = "[" + vle + "]", jN = "[" + BYe + "]", qN = "\\ud83c[\\udffb-\\udfff]", PYe = "(?:" + jN + "|" + qN + ")", Cle = "[^" + vle + "]", Sle = "(?:\\ud83c[\\udde6-\\uddff]){2}", ble = "[\\ud800-\\udbff][\\udc00-\\udfff]", UYe = "\\u200d", Tle = PYe + "?", Rle = "[" + kYe + "]?", jYe = "(?:" + UYe + "(?:" + [Cle, Sle, ble].join("|") + ")" + Rle + Tle + ")*", qYe = Rle + Tle + jYe, HYe = "(?:" + [Cle + jN + "?", jN, Sle, ble, MYe].join("|") + ")", QYe = RegExp(qN + "(?=" + qN + ")|" + HYe + qYe, "g");
60927
60927
  function zYe(t) {
60928
60928
  return t.match(QYe) || [];
60929
60929
  }
@@ -60976,7 +60976,7 @@ class O0 extends Nd {
60976
60976
  super("Zone is an abstract class");
60977
60977
  }
60978
60978
  }
60979
- const Qe = "numeric", hu = "short", $s = "long", H8 = {
60979
+ const Qe = "numeric", hu = "short", $s = "long", HN = {
60980
60980
  year: Qe,
60981
60981
  month: Qe,
60982
60982
  day: Qe
@@ -61187,7 +61187,7 @@ function SS(t) {
61187
61187
  const e = (t + Math.floor(t / 4) - Math.floor(t / 100) + Math.floor(t / 400)) % 7, r = t - 1, i = (r + Math.floor(r / 4) - Math.floor(r / 100) + Math.floor(r / 400)) % 7;
61188
61188
  return e === 4 || i === 3 ? 53 : 52;
61189
61189
  }
61190
- function Q8(t) {
61190
+ function QN(t) {
61191
61191
  return t > 99 ? t : t > 60 ? 1900 + t : 2e3 + t;
61192
61192
  }
61193
61193
  function Yle(t, e, r, i = null) {
@@ -61332,7 +61332,7 @@ function hG(t, e) {
61332
61332
  return r;
61333
61333
  }
61334
61334
  const LKe = {
61335
- D: H8,
61335
+ D: HN,
61336
61336
  DD: Ole,
61337
61337
  DDD: wle,
61338
61338
  DDDD: Fle,
@@ -62116,26 +62116,26 @@ function MKe(t, e = {}) {
62116
62116
  let i = _G[r];
62117
62117
  return i || (i = new Intl.ListFormat(t, e), _G[r] = i), i;
62118
62118
  }
62119
- let z8 = {};
62120
- function W8(t, e = {}) {
62119
+ let zN = {};
62120
+ function WN(t, e = {}) {
62121
62121
  const r = JSON.stringify([t, e]);
62122
- let i = z8[r];
62123
- return i || (i = new Intl.DateTimeFormat(t, e), z8[r] = i), i;
62122
+ let i = zN[r];
62123
+ return i || (i = new Intl.DateTimeFormat(t, e), zN[r] = i), i;
62124
62124
  }
62125
- let G8 = {};
62125
+ let GN = {};
62126
62126
  function PKe(t, e = {}) {
62127
62127
  const r = JSON.stringify([t, e]);
62128
- let i = G8[r];
62129
- return i || (i = new Intl.NumberFormat(t, e), G8[r] = i), i;
62128
+ let i = GN[r];
62129
+ return i || (i = new Intl.NumberFormat(t, e), GN[r] = i), i;
62130
62130
  }
62131
- let V8 = {};
62131
+ let VN = {};
62132
62132
  function UKe(t, e = {}) {
62133
62133
  const {
62134
62134
  base: r,
62135
62135
  ...i
62136
62136
  } = e, s = JSON.stringify([t, i]);
62137
- let o = V8[s];
62138
- return o || (o = new Intl.RelativeTimeFormat(t, e), V8[s] = o), o;
62137
+ let o = VN[s];
62138
+ return o || (o = new Intl.RelativeTimeFormat(t, e), VN[s] = o), o;
62139
62139
  }
62140
62140
  let Eg = null;
62141
62141
  function jKe() {
@@ -62149,9 +62149,9 @@ function qKe(t) {
62149
62149
  let r;
62150
62150
  const i = t.substring(0, e);
62151
62151
  try {
62152
- r = W8(t).resolvedOptions();
62152
+ r = WN(t).resolvedOptions();
62153
62153
  } catch {
62154
- r = W8(i).resolvedOptions();
62154
+ r = WN(i).resolvedOptions();
62155
62155
  }
62156
62156
  const {
62157
62157
  numberingSystem: s,
@@ -62223,7 +62223,7 @@ class VKe {
62223
62223
  const o = {
62224
62224
  ...this.opts
62225
62225
  };
62226
- s && (o.timeZone = s), this.dtf = W8(r, o);
62226
+ s && (o.timeZone = s), this.dtf = WN(r, o);
62227
62227
  }
62228
62228
  format() {
62229
62229
  return this.dtf.format(this.dt.toJSDate());
@@ -62258,7 +62258,7 @@ class wn {
62258
62258
  return new wn(u, a, l, o);
62259
62259
  }
62260
62260
  static resetCache() {
62261
- Eg = null, z8 = {}, G8 = {}, V8 = {};
62261
+ Eg = null, zN = {}, GN = {}, VN = {};
62262
62262
  }
62263
62263
  static fromObject({
62264
62264
  locale: e,
@@ -62453,7 +62453,7 @@ const aJe = {
62453
62453
  };
62454
62454
  function fk(t, e, r, i, s, o, u) {
62455
62455
  const a = {
62456
- year: e.length === 2 ? Q8(P0(e)) : P0(e),
62456
+ year: e.length === 2 ? QN(P0(e)) : P0(e),
62457
62457
  month: Xle.indexOf(r) + 1,
62458
62458
  day: P0(i),
62459
62459
  hour: P0(s),
@@ -63925,7 +63925,7 @@ function VJe(t, e) {
63925
63925
  case "y":
63926
63926
  return Ht(c);
63927
63927
  case "yy":
63928
- return Ht(x, Q8);
63928
+ return Ht(x, QN);
63929
63929
  case "yyyy":
63930
63930
  return Ht(o);
63931
63931
  case "yyyyy":
@@ -63991,7 +63991,7 @@ function VJe(t, e) {
63991
63991
  case "kkkk":
63992
63992
  return Ht(o);
63993
63993
  case "kk":
63994
- return Ht(x, Q8);
63994
+ return Ht(x, QN);
63995
63995
  case "W":
63996
63996
  return Ht(a);
63997
63997
  case "WW":
@@ -64200,7 +64200,7 @@ function A0e(t, e) {
64200
64200
  day: s
64201
64201
  };
64202
64202
  }
64203
- function Y8(t) {
64203
+ function YN(t) {
64204
64204
  const {
64205
64205
  year: e,
64206
64206
  month: r,
@@ -64286,7 +64286,7 @@ function u_(t) {
64286
64286
  return new Xo("unsupported zone", `the zone "${t.name}" is not supported`);
64287
64287
  }
64288
64288
  function h7(t) {
64289
- return t.weekData === null && (t.weekData = Y8(t.c)), t.weekData;
64289
+ return t.weekData === null && (t.weekData = YN(t.c)), t.weekData;
64290
64290
  }
64291
64291
  function Im(t, e) {
64292
64292
  const r = {
@@ -64662,7 +64662,7 @@ class gt {
64662
64662
  throw new yg("Can't mix ordinal dates with month/day");
64663
64663
  const p = x || u.weekday && !f;
64664
64664
  let m, y, g = wG(s, o);
64665
- p ? (m = aXe, y = oXe, g = Y8(g)) : a ? (m = lXe, y = uXe, g = x7(g)) : (m = b0e, y = S0e);
64665
+ p ? (m = aXe, y = oXe, g = YN(g)) : a ? (m = lXe, y = uXe, g = x7(g)) : (m = b0e, y = S0e);
64666
64666
  let E = !1;
64667
64667
  for (const R of m) {
64668
64668
  const O = u[R];
@@ -65236,7 +65236,7 @@ class gt {
65236
65236
  throw new yg("Can't mix ordinal dates with month/day");
65237
65237
  let c;
65238
65238
  i ? c = RG({
65239
- ...Y8(this.c),
65239
+ ...YN(this.c),
65240
65240
  ...r
65241
65241
  }) : wt(r.ordinal) ? (c = {
65242
65242
  ...this.toObject(),
@@ -65366,7 +65366,7 @@ class gt {
65366
65366
  * @example DateTime.now().toLocaleString({ hour: '2-digit', minute: '2-digit', hourCycle: 'h23' }); //=> '11:32'
65367
65367
  * @return {string}
65368
65368
  */
65369
- toLocaleString(e = H8, r = {}) {
65369
+ toLocaleString(e = HN, r = {}) {
65370
65370
  return this.isValid ? ls.create(this.loc.clone(r), e).formatDateTime(this) : d7;
65371
65371
  }
65372
65372
  /**
@@ -65767,7 +65767,7 @@ class gt {
65767
65767
  * @type {Object}
65768
65768
  */
65769
65769
  static get DATE_SHORT() {
65770
- return H8;
65770
+ return HN;
65771
65771
  }
65772
65772
  /**
65773
65773
  * {@link DateTime#toLocaleString} format like 'Oct 14, 1983'
@@ -66015,7 +66015,7 @@ class gT {
66015
66015
  if (!e.isRepeatedRecord())
66016
66016
  throw new Error("Invalid type for chart renderer");
66017
66017
  const r = this.getVegaLiteSpec(e);
66018
- r.config = qN(
66018
+ r.config = q8(
66019
66019
  r.config ?? {},
66020
66020
  this.chartOptions.vegaConfigOverride ?? {}
66021
66021
  );
@@ -66419,7 +66419,7 @@ const ab = class ab extends _E {
66419
66419
  }
66420
66420
  };
66421
66421
  ab.instance = new ab();
66422
- let K8 = ab;
66422
+ let KN = ab;
66423
66423
  class pXe extends T0e {
66424
66424
  getMark() {
66425
66425
  return "point";
@@ -66454,7 +66454,7 @@ const lb = class lb extends _E {
66454
66454
  }
66455
66455
  };
66456
66456
  lb.instance = new lb();
66457
- let J8 = lb;
66457
+ let JN = lb;
66458
66458
  const mXe = "Topology", gXe = [
66459
66459
  -179.14733999999999,
66460
66460
  -14.552548999999999,
@@ -117950,7 +117950,7 @@ const mXe = "Topology", gXe = [
117950
117950
  16
117951
117951
  ]
117952
117952
  ]
117953
- ], X8 = {
117953
+ ], XN = {
117954
117954
  type: mXe,
117955
117955
  bbox: gXe,
117956
117956
  transform: yXe,
@@ -118130,7 +118130,7 @@ class vXe extends gT {
118130
118130
  layer: [
118131
118131
  {
118132
118132
  data: {
118133
- values: X8,
118133
+ values: XN,
118134
118134
  format: {
118135
118135
  type: "topojson",
118136
118136
  feature: "states"
@@ -118148,7 +118148,7 @@ class vXe extends gT {
118148
118148
  lookup: r.name,
118149
118149
  from: {
118150
118150
  data: {
118151
- values: X8,
118151
+ values: XN,
118152
118152
  format: {
118153
118153
  type: "topojson",
118154
118154
  feature: "states"
@@ -118214,7 +118214,7 @@ const cb = class cb extends _E {
118214
118214
  }
118215
118215
  };
118216
118216
  cb.instance = new cb();
118217
- let Z8 = cb;
118217
+ let ZN = cb;
118218
118218
  class CXe extends gT {
118219
118219
  getDataValue(e) {
118220
118220
  if (e.isNull() || e.isNumber() || e.isString())
@@ -118255,7 +118255,7 @@ class CXe extends gT {
118255
118255
  layer: [
118256
118256
  {
118257
118257
  data: {
118258
- values: X8,
118258
+ values: XN,
118259
118259
  format: {
118260
118260
  type: "topojson",
118261
118261
  feature: "states"
@@ -118326,9 +118326,9 @@ const fb = class fb extends _E {
118326
118326
  }
118327
118327
  };
118328
118328
  fb.instance = new fb();
118329
- let eN = fb;
118329
+ let e8 = fb;
118330
118330
  var SXe = /* @__PURE__ */ bt("<div>");
118331
- const bXe = [K8.instance, J8.instance, Z8.instance, eN.instance];
118331
+ const bXe = [KN.instance, JN.instance, ZN.instance, e8.instance];
118332
118332
  function TXe(t) {
118333
118333
  var o;
118334
118334
  const e = Ro(), r = ((o = e.vegaConfigOverride) == null ? void 0 : o.call(e, t.type)) ?? {}, i = () => {
@@ -119715,7 +119715,7 @@ function PXe(t, e, r) {
119715
119715
  let i = null;
119716
119716
  const s = MXe(t.tag);
119717
119717
  if (s === "bar_chart" ? i = wXe(t) : s === "line_chart" && (i = $Xe(t)), i) {
119718
- const f = ((o = r.getVegaConfigOverride) == null ? void 0 : o.call(r, i.chartType)) ?? {}, x = qN(
119718
+ const f = ((o = r.getVegaConfigOverride) == null ? void 0 : o.call(r, i.chartType)) ?? {}, x = q8(
119719
119719
  Ihe(),
119720
119720
  ((u = r.getVegaConfigOverride) == null ? void 0 : u.call(r, i.chartType)) ?? {}
119721
119721
  ), h = (a = f.axisY) == null ? void 0 : a.labelFont, p = (l = f.axis) == null ? void 0 : l.labelFont;
@@ -119782,7 +119782,7 @@ const UXe = `:host {
119782
119782
  animation: modal-slide-in 2s forwards;
119783
119783
  }
119784
119784
  `;
119785
- var tN = {}, z2 = {}, at = {}, et = {};
119785
+ var t8 = {}, z2 = {}, at = {}, et = {};
119786
119786
  (function(t) {
119787
119787
  Object.defineProperty(t, "__esModule", { value: !0 }), t.sourceBase = t.isSegmentSQL = t.isIndexSegment = t.isRawSegment = t.isSamplingEnable = t.isSamplingPercent = t.isSamplingRows = t.isQuerySegment = t.isProjectSegment = t.isPartialSegment = t.isReduceSegment = t.structHasErrors = t.segmentHasErrors = t.refIsStructDef = t.ValueType = t.isExtractUnit = t.isTimestampUnit = t.isDateUnit = t.isJoinedSource = t.isJoined = t.isJoinable = t.isMatrixOperation = t.isScalarArray = t.isRepeatedRecord = t.isRepeatedRecordFunctionParam = t.mkArrayDef = t.mkFieldDef = t.fieldIsIntrinsic = t.isCastType = t.canOrderBy = t.isAtomicFieldType = t.isTemporalType = t.hasExpression = t.maxOfExpressionTypes = t.maxExpressionType = t.isExpressionTypeLEQ = t.expressionIsAnalytic = t.expressionIsCalculation = t.expressionInvolvesAggregate = t.expressionIsUngroupedAggregate = t.expressionIsAggregate = t.expressionIsScalar = t.paramHasValue = t.isFilterExprType = t.isRawCast = t.mkTemporal = t.isAsymmetricExpr = t.exprIsLeaf = t.exprHasE = t.exprHasKids = void 0, t.TD = t.isValueDate = t.isValueTimestamp = t.isValueBoolean = t.isValueNumber = t.isValueString = t.isAtomic = t.isTurtle = t.getIdentifier = t.isLeafAtomic = t.mergeEvalSpaces = t.isLiteral = t.isBaseTable = t.isSourceDef = void 0;
119788
119788
  function e(P) {
@@ -120379,7 +120379,7 @@ function sZe(t) {
120379
120379
  acceptibleTypes: r.map((i) => Hn(i, !0, !1))
120380
120380
  }));
120381
120381
  }
120382
- function nN(t) {
120382
+ function n8(t) {
120383
120383
  return {
120384
120384
  returnType: VXe(t.returns),
120385
120385
  params: ZXe(t.takes),
@@ -120390,14 +120390,14 @@ function nN(t) {
120390
120390
  ...iZe(t)
120391
120391
  };
120392
120392
  }
120393
- function rN(t) {
120393
+ function r8(t) {
120394
120394
  return "takes" in t && "returns" in t && "impl" in t;
120395
120395
  }
120396
120396
  function oZe(t) {
120397
120397
  return "function" in t || "sql" in t || "expr" in t;
120398
120398
  }
120399
120399
  function uZe(t) {
120400
- return rN(t) ? [nN(t)] : Object.values(t).flatMap((e) => nN(e));
120400
+ return r8(t) ? [n8(t)] : Object.values(t).flatMap((e) => n8(e));
120401
120401
  }
120402
120402
  function aZe(t) {
120403
120403
  const e = {};
@@ -120407,15 +120407,15 @@ function aZe(t) {
120407
120407
  }
120408
120408
  at.expandBlueprintMap = aZe;
120409
120409
  function jG(t, e) {
120410
- return [nN({ ...t, impl: e })];
120410
+ return [n8({ ...t, impl: e })];
120411
120411
  }
120412
120412
  function lZe(t, e, r) {
120413
120413
  if (oZe(r)) {
120414
- if (!rN(e))
120414
+ if (!r8(e))
120415
120415
  throw new Error(`Malformed function override: ${t}. Attempt to override multiple overloads with a single overload (missing: ${Object.keys(e)})`);
120416
120416
  return jG(e, r);
120417
120417
  } else {
120418
- if (rN(e))
120418
+ if (r8(e))
120419
120419
  throw new Error(`Malformed function override: ${t}. Attempt to override a single overload with multiple overloads (extraneous: ${Object.keys(r)})`);
120420
120420
  return Object.entries(r).flatMap(([i, s]) => {
120421
120421
  const o = e[i];
@@ -120435,13 +120435,13 @@ function cZe(t, e) {
120435
120435
  return r;
120436
120436
  }
120437
120437
  at.expandOverrideMapFromBase = cZe;
120438
- function* iN(t) {
120438
+ function* i8(t) {
120439
120439
  if (typeof t != "string") {
120440
120440
  if ("generic" in t)
120441
120441
  yield t;
120442
120442
  else if ("record" in t)
120443
120443
  for (const e of Object.values(t.record))
120444
- yield* iN(e);
120444
+ yield* i8(e);
120445
120445
  else
120446
120446
  for (const e of [
120447
120447
  "array",
@@ -120453,7 +120453,7 @@ function* iN(t) {
120453
120453
  "cacluation"
120454
120454
  ])
120455
120455
  if (e in t) {
120456
- yield* iN(t[e]);
120456
+ yield* i8(t[e]);
120457
120457
  return;
120458
120458
  }
120459
120459
  }
@@ -120462,7 +120462,7 @@ function fZe(t, e, r, i = {}) {
120462
120462
  let s = !1;
120463
120463
  const o = {};
120464
120464
  for (const a of Object.values(e))
120465
- for (const l of iN(a))
120465
+ for (const l of i8(a))
120466
120466
  o[l.generic] = ["any"], s = !0;
120467
120467
  s && i.generic === void 0 && (i.generic = o);
120468
120468
  const u = {
@@ -120580,7 +120580,12 @@ var ff = {};
120580
120580
  throw new Error(`Sampling is not supported on dialect ${this.name}.`);
120581
120581
  return l;
120582
120582
  }
120583
- sqlOrderBy(l) {
120583
+ /**
120584
+ * MySQL is NULLs first, all other dialects have a way to make NULLs last.
120585
+ * isBaseOrdering is a hack to allow the MySQL dialect to partially implement
120586
+ * NULLs last, but should go away once MySQL fully implements NULLs last.
120587
+ */
120588
+ sqlOrderBy(l, c) {
120584
120589
  return `ORDER BY ${l.join(",")}`;
120585
120590
  }
120586
120591
  sqlTzStr(l) {
@@ -121483,7 +121488,7 @@ const HG = at, PZe = { generic: "T" }, UZe = {
121483
121488
  takes: { unix_date: "number" },
121484
121489
  returns: "date",
121485
121490
  impl: { function: "DATE_FROM_UNIX_DATE" }
121486
- }, sN = {
121491
+ }, s8 = {
121487
121492
  default_separator: {
121488
121493
  takes: { value: { dimension: "string" } },
121489
121494
  returns: { measure: "string" },
@@ -121509,7 +121514,7 @@ const HG = at, PZe = { generic: "T" }, UZe = {
121509
121514
  }
121510
121515
  }, jZe = {
121511
121516
  default_separator: {
121512
- ...sN.default_separator,
121517
+ ...s8.default_separator,
121513
121518
  isSymmetric: !0,
121514
121519
  supportsOrderBy: "only_default",
121515
121520
  impl: {
@@ -121518,7 +121523,7 @@ const HG = at, PZe = { generic: "T" }, UZe = {
121518
121523
  }
121519
121524
  },
121520
121525
  with_separator: {
121521
- ...sN.with_separator,
121526
+ ...s8.with_separator,
121522
121527
  isSymmetric: !0,
121523
121528
  supportsOrderBy: "only_default",
121524
121529
  impl: {
@@ -121529,7 +121534,7 @@ const HG = at, PZe = { generic: "T" }, UZe = {
121529
121534
  };
121530
121535
  vT.STANDARDSQL_DIALECT_FUNCTIONS = {
121531
121536
  date_from_unix_date: UZe,
121532
- string_agg: sN,
121537
+ string_agg: s8,
121533
121538
  string_agg_distinct: jZe,
121534
121539
  hll_accumulate: {
121535
121540
  default: {
@@ -121633,6 +121638,9 @@ class VZe extends qZe.Dialect {
121633
121638
  sqlAnyValue(e, r) {
121634
121639
  return `ANY_VALUE(CASE WHEN group_set=${e} THEN ${r} END)`;
121635
121640
  }
121641
+ sqlOrderBy(e, r) {
121642
+ return r === "analytical" || r === "turtle" ? `ORDER BY ${e.join(",")}` : `ORDER BY ${e.map((i) => `${i} NULLS LAST`).join(",")}`;
121643
+ }
121636
121644
  // can array agg or any_value a struct...
121637
121645
  sqlAggregateTurtle(e, r, i, s) {
121638
121646
  let o = "";
@@ -121897,7 +121905,7 @@ var gk = {}, ST = {}, bT = {};
121897
121905
  var TT = {};
121898
121906
  Object.defineProperty(TT, "__esModule", { value: !0 });
121899
121907
  TT.POSTGRES_DIALECT_FUNCTIONS = void 0;
121900
- const GG = at, oN = {
121908
+ const GG = at, o8 = {
121901
121909
  default_separator: {
121902
121910
  takes: { value: { dimension: "string" } },
121903
121911
  returns: { measure: "string" },
@@ -121915,7 +121923,7 @@ const GG = at, oN = {
121915
121923
  }
121916
121924
  }, YZe = {
121917
121925
  default_separator: {
121918
- ...oN.default_separator,
121926
+ ...o8.default_separator,
121919
121927
  isSymmetric: !0,
121920
121928
  supportsOrderBy: "only_default",
121921
121929
  impl: {
@@ -121924,7 +121932,7 @@ const GG = at, oN = {
121924
121932
  }
121925
121933
  },
121926
121934
  with_separator: {
121927
- ...oN.with_separator,
121935
+ ...o8.with_separator,
121928
121936
  isSymmetric: !0,
121929
121937
  supportsOrderBy: "only_default",
121930
121938
  impl: {
@@ -121934,7 +121942,7 @@ const GG = at, oN = {
121934
121942
  }
121935
121943
  };
121936
121944
  TT.POSTGRES_DIALECT_FUNCTIONS = {
121937
- string_agg: oN,
121945
+ string_agg: o8,
121938
121946
  string_agg_distinct: YZe,
121939
121947
  ...(0, GG.def)("repeat", { str: "string", n: "number" }, "string"),
121940
121948
  ...(0, GG.def)("reverse", { str: "string" }, "string")
@@ -122310,7 +122318,7 @@ const JG = at, ret = {
122310
122318
  returns: { measure: "number" },
122311
122319
  impl: { function: "APPROX_COUNT_DISTINCT" },
122312
122320
  isSymmetric: !0
122313
- }, uN = {
122321
+ }, u8 = {
122314
122322
  default_separator: {
122315
122323
  takes: { value: { dimension: "string" } },
122316
122324
  returns: { measure: "string" },
@@ -122334,7 +122342,7 @@ const JG = at, ret = {
122334
122342
  }
122335
122343
  }, cet = {
122336
122344
  default_separator: {
122337
- ...uN.default_separator,
122345
+ ...u8.default_separator,
122338
122346
  isSymmetric: !0,
122339
122347
  impl: {
122340
122348
  sql: "STRING_AGG(DISTINCT ${value}${order_by:})",
@@ -122342,7 +122350,7 @@ const JG = at, ret = {
122342
122350
  }
122343
122351
  },
122344
122352
  with_separator: {
122345
- ...uN.with_separator,
122353
+ ...u8.with_separator,
122346
122354
  isSymmetric: !0,
122347
122355
  impl: {
122348
122356
  sql: "STRING_AGG(DISTINCT ${value}, ${separator}${order_by:})",
@@ -122355,7 +122363,7 @@ OT.DUCKDB_DIALECT_FUNCTIONS = {
122355
122363
  count_approx: aet,
122356
122364
  dayname: iet,
122357
122365
  to_timestamp: uet,
122358
- string_agg: uN,
122366
+ string_agg: u8,
122359
122367
  string_agg_distinct: cet,
122360
122368
  to_seconds: oet,
122361
122369
  date_part: set,
@@ -122523,7 +122531,7 @@ ${" ".repeat(this.parseCursor)}^`;
122523
122531
  Jx.TinyParser = fet;
122524
122532
  Object.defineProperty(DT, "__esModule", { value: !0 });
122525
122533
  DT.DuckDBDialect = void 0;
122526
- const hh = et, xet = kt, ZG = xf, det = ff, het = bT, pet = OT, met = wT, Q0e = Jx, eV = "-- hack: split on this", aN = {
122534
+ const hh = et, xet = kt, ZG = xf, det = ff, het = bT, pet = OT, met = wT, Q0e = Jx, eV = "-- hack: split on this", a8 = {
122527
122535
  BIGINT: { type: "number", numberType: "integer" },
122528
122536
  INTEGER: { type: "number", numberType: "integer" },
122529
122537
  TINYINT: { type: "number", numberType: "integer" },
@@ -122711,7 +122719,7 @@ ${eV}
122711
122719
  sqlTypeToMalloyType(e) {
122712
122720
  var r, i, s;
122713
122721
  const o = e.replace(/^DECIMAL\(\d+,\d+\)/g, "DECIMAL"), u = (i = (r = o.match(/^(\w+)/)) === null || r === void 0 ? void 0 : r.at(0)) !== null && i !== void 0 ? i : o;
122714
- return (s = aN[u.toUpperCase()]) !== null && s !== void 0 ? s : {
122722
+ return (s = a8[u.toUpperCase()]) !== null && s !== void 0 ? s : {
122715
122723
  type: "sql native",
122716
122724
  rawType: e.toLowerCase()
122717
122725
  };
@@ -122778,8 +122786,8 @@ class yet extends Q0e.TinyParser {
122778
122786
  this.next(), i = { type: "number", numberType: "float" };
122779
122787
  else if (r === "TIMESTAMP")
122780
122788
  this.peek().text === "WITH" && this.nextText("WITH", "TIME", "ZONE"), i = { type: "timestamp" };
122781
- else if (aN[r])
122782
- i = aN[r];
122789
+ else if (a8[r])
122790
+ i = a8[r];
122783
122791
  else if (r === "STRUCT")
122784
122792
  for (this.next("("), i = { type: "record", fields: [] }; ; ) {
122785
122793
  const s = this.next();
@@ -122834,7 +122842,7 @@ const oo = at, Eet = { generic: "T" }, OS = {
122834
122842
  node: "aggregate_order_by",
122835
122843
  prefix: " WITHIN GROUP(",
122836
122844
  suffix: ")"
122837
- }, lN = {
122845
+ }, l8 = {
122838
122846
  default_separator: {
122839
122847
  takes: { value: { dimension: "string" } },
122840
122848
  returns: { measure: "string" },
@@ -122856,14 +122864,14 @@ const oo = at, Eet = { generic: "T" }, OS = {
122856
122864
  }
122857
122865
  }, Aet = {
122858
122866
  default_separator: {
122859
- ...lN.default_separator,
122867
+ ...l8.default_separator,
122860
122868
  isSymmetric: !0,
122861
122869
  impl: {
122862
122870
  expr: (0, oo.sql)`LISTAGG(DISTINCT ${(0, oo.arg)("value")}, ',')${OS}`
122863
122871
  }
122864
122872
  },
122865
122873
  with_separator: {
122866
- ...lN.with_separator,
122874
+ ...l8.with_separator,
122867
122875
  isSymmetric: !0,
122868
122876
  impl: {
122869
122877
  expr: (0, oo.sql)`LISTAGG(DISTINCT ${(0, oo.arg)("value")}, ${(0, oo.arg)("separator")})${OS}`
@@ -122871,7 +122879,7 @@ const oo = at, Eet = { generic: "T" }, OS = {
122871
122879
  }
122872
122880
  };
122873
122881
  NT.SNOWFLAKE_DIALECT_FUNCTIONS = {
122874
- string_agg: lN,
122882
+ string_agg: l8,
122875
122883
  string_agg_distinct: Aet,
122876
122884
  hll_accumulate: {
122877
122885
  default: {
@@ -123601,7 +123609,7 @@ IT.TRINO_MALLOY_STANDARD_OVERLOADS = {
123601
123609
  };
123602
123610
  Object.defineProperty(kp, "__esModule", { value: !0 });
123603
123611
  kp.PrestoDialect = kp.TrinoDialect = void 0;
123604
- const nV = kt, $u = et, cN = xf, Det = ff, rV = bT, W0e = z0e, Oet = IT;
123612
+ const nV = kt, $u = et, c8 = xf, Det = ff, rV = bT, W0e = z0e, Oet = IT;
123605
123613
  function wet(t) {
123606
123614
  return [
123607
123615
  "microsecond",
@@ -123901,10 +123909,10 @@ ${(0, nV.indent)(r)}
123901
123909
  return "'" + e.replace(/'/g, "''") + "'";
123902
123910
  }
123903
123911
  getDialectFunctionOverrides() {
123904
- return (0, cN.expandOverrideMap)(Oet.TRINO_MALLOY_STANDARD_OVERLOADS);
123912
+ return (0, c8.expandOverrideMap)(Oet.TRINO_MALLOY_STANDARD_OVERLOADS);
123905
123913
  }
123906
123914
  getDialectFunctions() {
123907
- return (0, cN.expandBlueprintMap)(W0e.TRINO_DIALECT_FUNCTIONS);
123915
+ return (0, c8.expandBlueprintMap)(W0e.TRINO_DIALECT_FUNCTIONS);
123908
123916
  }
123909
123917
  malloyTypeToSQLType(e) {
123910
123918
  switch (e.type) {
@@ -123996,7 +124004,7 @@ CROSS JOIN UNNEST(COALESCE(${e}, ARRAY[NULL])) WITH ORDINALITY as ${r}_outer(${r
123996
124004
  CROSS JOIN UNNEST(ARRAY[CASE WHEN ${e} IS NOT NULL THEN __row_id_almost_${r} END]) as ${r}_ignore(__row_id_from_${r})` : `CROSS JOIN UNNEST(COALESCE(${e}, ARRAY[NULL])) as ${r}_outer(${r})`;
123997
124005
  }
123998
124006
  getDialectFunctions() {
123999
- return (0, cN.expandBlueprintMap)(W0e.PRESTO_DIALECT_FUNCTIONS);
124007
+ return (0, c8.expandBlueprintMap)(W0e.PRESTO_DIALECT_FUNCTIONS);
124000
124008
  }
124001
124009
  }
124002
124010
  kp.PrestoDialect = Let;
@@ -124017,7 +124025,7 @@ kp.PrestoDialect = Let;
124017
124025
  var _k = {}, $T = {}, BT = {};
124018
124026
  Object.defineProperty(BT, "__esModule", { value: !0 });
124019
124027
  BT.MYSQL_DIALECT_FUNCTIONS = void 0;
124020
- const iV = at, fN = {
124028
+ const iV = at, f8 = {
124021
124029
  default_separator: {
124022
124030
  takes: { value: { dimension: "string" } },
124023
124031
  returns: { measure: "string" },
@@ -124035,7 +124043,7 @@ const iV = at, fN = {
124035
124043
  }
124036
124044
  }, Iet = {
124037
124045
  default_separator: {
124038
- ...fN.default_separator,
124046
+ ...f8.default_separator,
124039
124047
  isSymmetric: !0,
124040
124048
  supportsOrderBy: "only_default",
124041
124049
  impl: {
@@ -124044,7 +124052,7 @@ const iV = at, fN = {
124044
124052
  }
124045
124053
  },
124046
124054
  with_separator: {
124047
- ...fN.with_separator,
124055
+ ...f8.with_separator,
124048
124056
  isSymmetric: !0,
124049
124057
  supportsOrderBy: "only_default",
124050
124058
  impl: {
@@ -124054,7 +124062,7 @@ const iV = at, fN = {
124054
124062
  }
124055
124063
  };
124056
124064
  BT.MYSQL_DIALECT_FUNCTIONS = {
124057
- string_agg: fN,
124065
+ string_agg: f8,
124058
124066
  string_agg_distinct: Iet,
124059
124067
  ...(0, iV.def)("repeat", { str: "string", n: "number" }, "string"),
124060
124068
  ...(0, iV.def)("reverse", { str: "string" }, "string")
@@ -124143,7 +124151,7 @@ const w0 = et, $et = kt, Mm = ff, sV = xf, Bet = BT, ket = kT, Met = {
124143
124151
  };
124144
124152
  class Uet extends Mm.Dialect {
124145
124153
  constructor() {
124146
- super(...arguments), this.name = "mysql", this.defaultNumberType = "DOUBLE PRECISION", this.defaultDecimalType = "DECIMAL", this.udfPrefix = "ms_temp.__udf", this.hasFinalStage = !1, this.stringTypeName = "VARCHAR(255)", this.divisionIsInteger = !0, this.supportsSumDistinctFunction = !0, this.unnestWithNumbers = !1, this.defaultSampling = { rows: 5e4 }, this.supportUnnestArrayAgg = !0, this.supportsAggDistinct = !0, this.supportsCTEinCoorelatedSubQueries = !0, this.supportsSafeCast = !1, this.dontUnionIndex = !1, this.supportsQualify = !1, this.supportsNesting = !0, this.experimental = !1, this.supportsFullJoin = !1, this.supportsPipelinesInViews = !1, this.readsNestedData = !1, this.supportsComplexFilteredSources = !1, this.supportsArraysInData = !1, this.compoundObjectInSchema = !1, this.booleanAsNumbers = !0;
124154
+ super(...arguments), this.name = "mysql", this.defaultNumberType = "DOUBLE PRECISION", this.defaultDecimalType = "DECIMAL", this.udfPrefix = "ms_temp.__udf", this.hasFinalStage = !1, this.stringTypeName = "VARCHAR(255)", this.divisionIsInteger = !0, this.supportsSumDistinctFunction = !0, this.unnestWithNumbers = !1, this.defaultSampling = { rows: 5e4 }, this.supportUnnestArrayAgg = !0, this.supportsAggDistinct = !0, this.supportsCTEinCoorelatedSubQueries = !0, this.supportsSafeCast = !1, this.dontUnionIndex = !1, this.supportsQualify = !1, this.supportsNesting = !0, this.experimental = !1, this.supportsFullJoin = !1, this.supportsPipelinesInViews = !1, this.readsNestedData = !1, this.supportsComplexFilteredSources = !1, this.supportsArraysInData = !1, this.compoundObjectInSchema = !1, this.booleanAsNumbers = !0, this.orderByClause = "ordinal";
124147
124155
  }
124148
124156
  malloyTypeToSQLType(e) {
124149
124157
  switch (e.type) {
@@ -124376,9 +124384,6 @@ $$ LANGUAGE SQL;
124376
124384
  }
124377
124385
  return e;
124378
124386
  }
124379
- sqlOrderBy(e) {
124380
- return `ORDER BY ${e.map((r) => `${r.trim().slice(0, r.trim().lastIndexOf(" "))} IS NULL DESC, ${r}`).join(",")}`;
124381
- }
124382
124387
  sqlLiteralString(e) {
124383
124388
  return "'" + e.replace(/\\/g, "\\\\").replace(/'/g, "\\'") + "'";
124384
124389
  }
@@ -125426,19 +125431,19 @@ function ctt(t) {
125426
125431
  return e.toLowerCase() === "null" || e === "NULL" ? { operator: "null" } : e === "empty" || e === "EMPTY" ? { operator: "empty" } : { operator: "=", values: [_g(e)] };
125427
125432
  }
125428
125433
  Qt.matchOp = ctt;
125429
- function xN(t, e) {
125434
+ function x8(t, e) {
125430
125435
  var r, i;
125431
125436
  return t.operator === e.operator && ((r = t.not) !== null && r !== void 0 ? r : !1) === ((i = e.not) !== null && i !== void 0 ? i : !1);
125432
125437
  }
125433
125438
  function ftt(t, e, r) {
125434
125439
  if ((0, sa.isStringFilter)(t) && (0, sa.isStringFilter)(r)) {
125435
125440
  if (e === ",") {
125436
- if (t.operator === "~" && xN(t, r))
125441
+ if (t.operator === "~" && x8(t, r))
125437
125442
  return {
125438
125443
  ...t,
125439
125444
  escaped_values: [...t.escaped_values, ...r.escaped_values]
125440
125445
  };
125441
- if ((0, sa.isStringCondition)(t) && xN(t, r))
125446
+ if ((0, sa.isStringCondition)(t) && x8(t, r))
125442
125447
  return { ...t, values: [...t.values, ...r.values] };
125443
125448
  }
125444
125449
  const i = e === "," ? "," : e === "|" ? "or" : e === ";" ? "and" : void 0;
@@ -125450,7 +125455,7 @@ function ftt(t, e, r) {
125450
125455
  Qt.conjoin = ftt;
125451
125456
  function xtt(t, e, r) {
125452
125457
  if ((0, sa.isNumberFilter)(t) && (0, sa.isNumberFilter)(r)) {
125453
- if (e === "or" && t.operator === "=" && xN(t, r)) {
125458
+ if (e === "or" && t.operator === "=" && x8(t, r)) {
125454
125459
  const i = {
125455
125460
  operator: "=",
125456
125461
  values: [...t.values, ...r.values]
@@ -126064,7 +126069,7 @@ Rk.default = Itt;
126064
126069
  var UT = {};
126065
126070
  Object.defineProperty(UT, "__esModule", { value: !0 });
126066
126071
  UT.TemporalFilterCompiler = void 0;
126067
- const b7 = et, Of = Gr, nce = "yyyy", rce = `${nce}-LL`, dN = `${rce}-dd`, ice = `${dN} HH`, sce = `${ice}:mm`, Zi = `${sce}:ss`;
126072
+ const b7 = et, Of = Gr, nce = "yyyy", rce = `${nce}-LL`, d8 = `${rce}-dd`, ice = `${d8} HH`, sce = `${ice}:mm`, Zi = `${sce}:ss`;
126068
126073
  class $tt {
126069
126074
  constructor(e, r, i = "timestamp") {
126070
126075
  this.expr = e, this.timetype = i, this.d = r;
@@ -126137,7 +126142,7 @@ class $tt {
126137
126142
  return { begin: s, end: this.literalNode(o.toFormat(Zi)).sql };
126138
126143
  }
126139
126144
  case "day": {
126140
- const i = Of.DateTime.fromFormat(r, dN), s = this.literalNode(i.toFormat(Zi)), o = i.plus({ day: 1 });
126145
+ const i = Of.DateTime.fromFormat(r, d8), s = this.literalNode(i.toFormat(Zi)), o = i.plus({ day: 1 });
126141
126146
  return { begin: s, end: this.literalNode(o.toFormat(Zi)).sql };
126142
126147
  }
126143
126148
  case "hour": {
@@ -126149,7 +126154,7 @@ class $tt {
126149
126154
  return { begin: s, end: this.literalNode(o.toFormat(Zi)).sql };
126150
126155
  }
126151
126156
  case "week": {
126152
- const o = Of.DateTime.fromFormat(r.slice(0, 10), dN).plus({ day: 1 }).startOf("week").minus({ day: 1 }), u = this.literalNode(o.toFormat(Zi)), a = o.plus({ days: 7 });
126157
+ const o = Of.DateTime.fromFormat(r.slice(0, 10), d8).plus({ day: 1 }).startOf("week").minus({ day: 1 }), u = this.literalNode(o.toFormat(Zi)), a = o.plus({ days: 7 });
126153
126158
  return { begin: u, end: this.literalNode(a.toFormat(Zi)).sql };
126154
126159
  }
126155
126160
  case "quarter": {
@@ -126791,7 +126796,7 @@ let Dk = class extends Qtt {
126791
126796
  _.push(` ${R} ${S.dir || "ASC"}`);
126792
126797
  } else r.firstSegment.type === "project" && _.push(` ${v.fif.f.generateExpression(r)} ${S.dir || "ASC"}`);
126793
126798
  }
126794
- _.length > 0 && (m = " " + this.parent.dialect.sqlOrderBy(_));
126799
+ _.length > 0 && (m = " " + this.parent.dialect.sqlOrderBy(_, "analytical"));
126795
126800
  }
126796
126801
  let g = "";
126797
126802
  if (y.between) {
@@ -127755,17 +127760,27 @@ ${(0, Dn.indent)(p)}) AS ${r.alias}
127755
127760
  for (const u of s)
127756
127761
  if (typeof u.field == "string") {
127757
127762
  const a = r.getField(u.field);
127758
- if (a && a.fieldUsage.type === "result")
127759
- this.parent.dialect.orderByClause === "ordinal" ? o.push(`${a.fieldUsage.resultIndex} ${u.dir || "ASC"}`) : this.parent.dialect.orderByClause === "output_name" && o.push(`${this.parent.dialect.sqlMaybeQuoteIdentifier(u.field)} ${u.dir || "ASC"}`);
127760
- else
127763
+ if (a && a.fieldUsage.type === "result") {
127764
+ if (this.parent.dialect.orderByClause === "ordinal")
127765
+ o.push(`${a.fieldUsage.resultIndex} ${u.dir || "ASC"}`);
127766
+ else if (this.parent.dialect.orderByClause === "output_name")
127767
+ o.push(`${this.parent.dialect.sqlMaybeQuoteIdentifier(u.field)} ${u.dir || "ASC"}`);
127768
+ else if (this.parent.dialect.orderByClause === "expression") {
127769
+ const l = a.getSQL();
127770
+ o.push(`${l} ${u.dir || "ASC"}`);
127771
+ }
127772
+ } else
127761
127773
  throw new Error(`Unknown field in ORDER BY ${u.field}`);
127762
127774
  } else if (this.parent.dialect.orderByClause === "ordinal")
127763
127775
  o.push(`${u.field} ${u.dir || "ASC"}`);
127764
127776
  else if (this.parent.dialect.orderByClause === "output_name") {
127765
127777
  const a = r.getFieldByNumber(u.field);
127766
127778
  o.push(`${this.parent.dialect.sqlMaybeQuoteIdentifier(a.name)} ${u.dir || "ASC"}`);
127779
+ } else if (this.parent.dialect.orderByClause === "expression") {
127780
+ const l = r.getFieldByNumber(u.field).fif.getSQL();
127781
+ o.push(`${l} ${u.dir || "ASC"}`);
127767
127782
  }
127768
- return o.length > 0 && (i = this.parent.dialect.sqlOrderBy(o) + `
127783
+ return o.length > 0 && (i = this.parent.dialect.sqlOrderBy(o, "query") + `
127769
127784
  `), i;
127770
127785
  }
127771
127786
  generateSimpleSQL(e) {
@@ -128024,7 +128039,7 @@ FROM ${r}
128024
128039
  name: g.field,
128025
128040
  fif: e.getField(g.field)
128026
128041
  } : l = e.getFieldByNumber(g.field), e.firstSegment.type === "reduce" ? a.push(" " + this.parent.dialect.sqlMaybeQuoteIdentifier(`${l.name}__${e.groupSet}`) + ` ${g.dir || "ASC"}`) : e.firstSegment.type === "project" && a.push(` ${l.fif.f.generateExpression(e)} ${g.dir || "ASC"}`);
128027
- a.length > 0 && (o = " " + this.parent.dialect.sqlOrderBy(a));
128042
+ a.length > 0 && (o = " " + this.parent.dialect.sqlOrderBy(a, "turtle"));
128028
128043
  const f = this.buildDialectFieldList(e);
128029
128044
  let x, h;
128030
128045
  (x = e.getRepeatedResultType()) !== "nested" ? x === "inline_all_numbers" ? h = this.parent.dialect.sqlCoaleseMeasuresInline(e.groupSet, f) : h = this.parent.dialect.sqlAnyValueTurtle(e.groupSet, f) : h = this.parent.dialect.sqlAggregateTurtle(e.groupSet, f, o, u);
@@ -129384,10 +129399,10 @@ class oa {
129384
129399
  }
129385
129400
  document() {
129386
129401
  var e;
129387
- return this instanceof pN ? this : (e = this.parent) === null || e === void 0 ? void 0 : e.document();
129402
+ return this instanceof p8 ? this : (e = this.parent) === null || e === void 0 ? void 0 : e.document();
129388
129403
  }
129389
129404
  namespace() {
129390
- if (this instanceof pN)
129405
+ if (this instanceof p8)
129391
129406
  return this;
129392
129407
  if (this.parent)
129393
129408
  return this.parent.namespace();
@@ -129399,8 +129414,8 @@ class oa {
129399
129414
  }
129400
129415
  modelEntry(e) {
129401
129416
  var r;
129402
- const i = e instanceof hN ? e.name : e, s = (r = this.namespace()) === null || r === void 0 ? void 0 : r.getEntry(i);
129403
- return e instanceof hN && ((s == null ? void 0 : s.entry.type) === "query" ? this.addReference({
129417
+ const i = e instanceof h8 ? e.name : e, s = (r = this.namespace()) === null || r === void 0 ? void 0 : r.getEntry(i);
129418
+ return e instanceof h8 && ((s == null ? void 0 : s.entry.type) === "query" ? this.addReference({
129404
129419
  type: "queryReference",
129405
129420
  text: i,
129406
129421
  definition: s.entry,
@@ -129526,7 +129541,7 @@ class Pnt extends oa {
129526
129541
  }
129527
129542
  }
129528
129543
  Ze.Unimplemented = Pnt;
129529
- class hN extends oa {
129544
+ class h8 extends oa {
129530
129545
  constructor(e) {
129531
129546
  super(), this.name = e, this.elementType = "modelEntryReference";
129532
129547
  }
@@ -129541,7 +129556,7 @@ class hN extends oa {
129541
129556
  return (e = this.modelEntry(this)) === null || e === void 0 ? void 0 : e.entry;
129542
129557
  }
129543
129558
  }
129544
- Ze.ModelEntryReference = hN;
129559
+ Ze.ModelEntryReference = h8;
129545
129560
  class Unt extends oa {
129546
129561
  constructor(e) {
129547
129562
  super(), this.id = e, this.elementType = "experimentalExperiment";
@@ -129618,7 +129633,7 @@ function Hnt(t) {
129618
129633
  const e = Ece(t).join("");
129619
129634
  return (0, Mnt.v5)(e, qnt);
129620
129635
  }
129621
- class pN extends oa {
129636
+ class p8 extends oa {
129622
129637
  constructor(e) {
129623
129638
  super(), this.elementType = "document", this.globalNameSpace = new knt.GlobalNameSpace(), this.documentModel = {}, this.queryList = [], this.didInitModel = !1, this.annotation = {}, this.experiments = new Lnt.Tag({}), this.modelAnnotationTodoList = [], this.dialectNameSpaces = /* @__PURE__ */ new Map(), this.statements = new SE(e), this.has({ statements: e });
129624
129639
  }
@@ -129708,7 +129723,7 @@ class pN extends oa {
129708
129723
  return this.dialectNameSpaces.set(e, i), i;
129709
129724
  }
129710
129725
  }
129711
- Ze.Document = pN;
129726
+ Ze.Document = p8;
129712
129727
  var zT = {}, K2 = {}, on = {};
129713
129728
  (function(t) {
129714
129729
  Object.defineProperty(t, "__esModule", { value: !0 }), t.atomicDef = t.inspect = t.typeEq = t.typeIn = t.eq = t.any = t.anyAtomicT = t.aggregateBoolT = t.viewT = t.errorT = t.boolT = t.timestampT = t.dateT = t.stringT = t.numberT = t.nullT = void 0;
@@ -130117,15 +130132,15 @@ No.Source = Srt;
130117
130132
  var bE = {}, J2 = {}, WT = {}, Oc = {};
130118
130133
  Object.defineProperty(Oc, "__esModule", { value: !0 });
130119
130134
  Oc.mergeFields = Oc.nameFromDef = void 0;
130120
- function mN(t) {
130135
+ function m8(t) {
130121
130136
  var e;
130122
130137
  return t.type === "fieldref" ? t.path[t.path.length - 1] : (e = t.as) !== null && e !== void 0 ? e : t.name;
130123
130138
  }
130124
- Oc.nameFromDef = mN;
130139
+ Oc.nameFromDef = m8;
130125
130140
  function brt(t, e) {
130126
130141
  if (t === void 0)
130127
130142
  return e;
130128
- const r = new Set(e.map((s) => mN(s))), i = t.filter((s) => !r.has(mN(s)));
130143
+ const r = new Set(e.map((s) => m8(s))), i = t.filter((s) => !r.has(m8(s)));
130129
130144
  return i.push(...e), i;
130130
130145
  }
130131
130146
  Oc.mergeFields = brt;
@@ -130311,7 +130326,7 @@ class kk {
130311
130326
  }
130312
130327
  }
130313
130328
  defToSpaceField(e) {
130314
- return (0, ph.isJoined)(e) ? new gN(e, this.structDialect) : (0, ph.isTurtle)(e) ? new Grt.IRViewField(this, e) : new Wrt.ColumnSpaceField(e);
130329
+ return (0, ph.isJoined)(e) ? new g8(e, this.structDialect) : (0, ph.isTurtle)(e) ? new Grt.IRViewField(this, e) : new Wrt.ColumnSpaceField(e);
130315
130330
  }
130316
130331
  get map() {
130317
130332
  if (this.memoMap === void 0) {
@@ -130365,7 +130380,7 @@ class kk {
130365
130380
  };
130366
130381
  if (s instanceof zrt.SpaceField) {
130367
130382
  const u = s.fieldDef();
130368
- if (u && (!(s instanceof vg.StructSpaceFieldBase) && (0, ph.isJoined)(u) && (s = new gN(u, this.structDialect)), r.addReference({
130383
+ if (u && (!(s instanceof vg.StructSpaceFieldBase) && (0, ph.isJoined)(u) && (s = new g8(u, this.structDialect)), r.addReference({
130369
130384
  type: s instanceof vg.StructSpaceFieldBase ? "joinReference" : "fieldReference",
130370
130385
  definition: u,
130371
130386
  location: r.location,
@@ -130403,7 +130418,7 @@ class kk {
130403
130418
  }
130404
130419
  }
130405
130420
  Ur.StaticSpace = kk;
130406
- class gN extends vg.StructSpaceFieldBase {
130421
+ class g8 extends vg.StructSpaceFieldBase {
130407
130422
  constructor(e, r) {
130408
130423
  super(e), this.forDialect = r;
130409
130424
  }
@@ -130411,7 +130426,7 @@ class gN extends vg.StructSpaceFieldBase {
130411
130426
  return (0, ph.isSourceDef)(this.structDef) ? new Sce(this.structDef) : new kk(this.structDef, this.forDialect);
130412
130427
  }
130413
130428
  }
130414
- Ur.StructSpaceField = gN;
130429
+ Ur.StructSpaceField = g8;
130415
130430
  class Sce extends kk {
130416
130431
  constructor(e) {
130417
130432
  super(e, e.dialect), this.source = e;
@@ -130900,7 +130915,7 @@ Fc.Renames = Uit;
130900
130915
  var cs = {};
130901
130916
  Object.defineProperty(cs, "__esModule", { value: !0 });
130902
130917
  cs.JoinStatement = cs.ExpressionJoin = cs.KeyJoin = cs.Join = void 0;
130903
- const yN = et, jit = TE, qit = Xs, Hit = Ze, Qit = Pr, Dce = Ai, zit = Wn;
130918
+ const y8 = et, jit = TE, qit = Xs, Hit = Ze, Qit = Pr, Dce = Ai, zit = Wn;
130904
130919
  class Pk extends Hit.MalloyElement {
130905
130920
  constructor() {
130906
130921
  super(...arguments), this.isNoteableObj = !0, this.extendNote = Qit.extendNoteMethod;
@@ -130924,7 +130939,7 @@ class Wit extends Pk {
130924
130939
  structDef(e) {
130925
130940
  var r;
130926
130941
  const i = this.getStructDefFromExpr(e);
130927
- if (!(0, yN.isJoinable)(i))
130942
+ if (!(0, y8.isJoinable)(i))
130928
130943
  throw this.internalError(`Cannot join struct type '${i.type}'`);
130929
130944
  const s = {
130930
130945
  ...i,
@@ -130938,7 +130953,7 @@ class Wit extends Pk {
130938
130953
  }
130939
130954
  fixupJoinOn(e, r) {
130940
130955
  const i = this.keyExpr.getExpression(e);
130941
- if ((0, yN.isSourceDef)(r) && r.primaryKey) {
130956
+ if ((0, y8.isSourceDef)(r) && r.primaryKey) {
130942
130957
  const s = r.fields.find((o) => (o.as || o.name) === r.primaryKey);
130943
130958
  if (s)
130944
130959
  if (s.type === i.type) {
@@ -130989,7 +131004,7 @@ class Git extends Pk {
130989
131004
  return this.sourceExpr.sqLog("invalid-join-source", "Cannot create a source to join from"), Dce.ErrorFactory.joinDef;
130990
131005
  const s = i.getSourceDef(e);
130991
131006
  let o = "left";
130992
- if (this.inExperiment("join_types", !0) && (o = this.matrixOperation), !(0, yN.isJoinable)(s))
131007
+ if (this.inExperiment("join_types", !0) && (o = this.matrixOperation), !(0, y8.isJoinable)(s))
130993
131008
  throw this.internalError(`Can't join struct type ${s.type}`);
130994
131009
  const u = {
130995
131010
  ...s,
@@ -131876,10 +131891,10 @@ pt.applyBinary = pt.getMorphicValue = pt.ExprDuration = pt.ExpressionDef = pt.AT
131876
131891
  const Nc = et, Xf = Sot(on), zk = Js, t0 = zt, bot = fs, $ce = o1, Tot = Ze, k3 = ru;
131877
131892
  class Rot extends Error {
131878
131893
  }
131879
- var EN;
131894
+ var E8;
131880
131895
  (function(t) {
131881
131896
  t[t.And = 0] = "And", t[t.Or = 1] = "Or", t[t.Value = 2] = "Value", t[t.Partial = 3] = "Partial";
131882
- })(EN || (pt.ATNodeType = EN = {}));
131897
+ })(E8 || (pt.ATNodeType = E8 = {}));
131883
131898
  class Bce extends Tot.MalloyElement {
131884
131899
  constructor() {
131885
131900
  super(...arguments), this.legalChildTypes = Xf.anyAtomicT;
@@ -131935,14 +131950,14 @@ class Bce extends Tot.MalloyElement {
131935
131950
  return (0, Nc.expressionIsAggregate)(e.expressionType);
131936
131951
  }
131937
131952
  atNodeType() {
131938
- return EN.Value;
131953
+ return E8.Value;
131939
131954
  }
131940
131955
  atExpr() {
131941
131956
  return this;
131942
131957
  }
131943
131958
  }
131944
131959
  pt.ExpressionDef = Bce;
131945
- class AN extends Bce {
131960
+ class A8 extends Bce {
131946
131961
  constructor(e, r) {
131947
131962
  super({ n: e }), this.n = e, this.timeframe = r, this.elementType = "duration", this.legalChildTypes = [Xf.timestampT, Xf.dateT];
131948
131963
  }
@@ -131971,7 +131986,7 @@ class AN extends Bce {
131971
131986
  });
131972
131987
  }
131973
131988
  }
131974
- pt.ExprDuration = AN;
131989
+ pt.ExprDuration = A8;
131975
131990
  function NV(t, e) {
131976
131991
  return t.type === e ? t.value : t.morphic && t.morphic[e];
131977
131992
  }
@@ -132086,9 +132101,9 @@ function Not(t, e, r, i) {
132086
132101
  let c = i;
132087
132102
  if (o.type !== "duration")
132088
132103
  if ((0, $ce.isGranularResult)(s))
132089
- c = new AN(i, s.timeframe);
132104
+ c = new A8(i, s.timeframe);
132090
132105
  else if (s.type === "date")
132091
- c = new AN(i, "day");
132106
+ c = new A8(i, "day");
132092
132107
  else
132093
132108
  return e.loggedErrorExpr("time-offset-type-mismatch", `Can not offset time by '${o.type}'`);
132094
132109
  return c.apply(t, r, e);
@@ -133086,7 +133101,7 @@ class kat extends Iat.ExpressionDef {
133086
133101
  if (!(a.type === "error")) {
133087
133102
  const x = this.getJoinUsage(o), h = this.source !== void 0 || this.explicitSource;
133088
133103
  if (u && !(!this.source && x.every((m) => m.length === 0)) && !this.isSymmetricFunction()) {
133089
- const m = vN(c, x), y = CN(this.elementType, m), g = h ? y == null ? void 0 : y.message : "Join path is required for this calculation";
133104
+ const m = v8(c, x), y = C8(this.elementType, m), g = h ? y == null ? void 0 : y.message : "Join path is required for this calculation";
133090
133105
  if (g) {
133091
133106
  const E = Pat(g, x, u, this.elementType), A = (s = y == null ? void 0 : y.code) !== null && s !== void 0 ? s : "bad-join-usage";
133092
133107
  y ? this.logError(A, E) : this.logWarning(A, E);
@@ -133118,11 +133133,11 @@ class kat extends Iat.ExpressionDef {
133118
133133
  const r = [];
133119
133134
  if (this.source && this.source.getField(e).found) {
133120
133135
  const s = { node: "field", path: this.source.path };
133121
- r.push(..._N(e, s));
133136
+ r.push(..._8(e, s));
133122
133137
  }
133123
133138
  if (this.expr) {
133124
133139
  const i = this.expr.getExpression(e).value;
133125
- r.push(..._N(e, i));
133140
+ r.push(..._8(e, i));
133126
133141
  }
133127
133142
  return r;
133128
133143
  }
@@ -133137,7 +133152,7 @@ function Mat(t, e) {
133137
133152
  return !1;
133138
133153
  return !0;
133139
133154
  }
133140
- function _N(t, e) {
133155
+ function _8(t, e) {
133141
133156
  const r = [], i = (s, o) => {
133142
133157
  const u = o[0], a = o.slice(1), l = s.entry(u);
133143
133158
  if (l === void 0)
@@ -133167,7 +133182,7 @@ function _N(t, e) {
133167
133182
  const o = i(t, s.path), u = o.def;
133168
133183
  if ((0, qg.isAtomic)(u) && !(0, qg.isJoined)(u))
133169
133184
  if ((0, qg.hasExpression)(u)) {
133170
- const a = _N(o.fs, u.e);
133185
+ const a = _8(o.fs, u.e);
133171
133186
  r.push(...a.map((l) => [...o.joinPath, ...l]));
133172
133187
  } else
133173
133188
  r.push(o.joinPath);
@@ -133179,7 +133194,7 @@ function _N(t, e) {
133179
133194
  r.push([]);
133180
133195
  return r;
133181
133196
  }
133182
- function vN(t, e) {
133197
+ function v8(t, e) {
133183
133198
  const r = [];
133184
133199
  for (const i of e) {
133185
133200
  let s = 0;
@@ -133193,7 +133208,7 @@ function vN(t, e) {
133193
133208
  }
133194
133209
  return r;
133195
133210
  }
133196
- function CN(t, e) {
133211
+ function C8(t, e) {
133197
133212
  for (const r of e)
133198
133213
  for (const i of r) {
133199
133214
  if (i.joinType === "cross")
@@ -133225,7 +133240,7 @@ function Pat(t, e, r, i) {
133225
133240
  break;
133226
133241
  }
133227
133242
  }
133228
- const o = vN(s, e), u = CN(i, o), a = s.slice().reverse().findIndex((m) => m.joinType === "many" || m.joinType === "cross"), l = a === -1 ? 0 : s.length - a, c = s.slice(0, l), f = vN(c, e), x = CN(i, f), h = s.length > 0 ? s.map((m) => m.name).join(".") : "source", p = c.length > 0 ? c.map((m) => m.name).join(".") : "source";
133243
+ const o = v8(s, e), u = C8(i, o), a = s.slice().reverse().findIndex((m) => m.joinType === "many" || m.joinType === "cross"), l = a === -1 ? 0 : s.length - a, c = s.slice(0, l), f = v8(c, e), x = C8(i, f), h = s.length > 0 ? s.map((m) => m.name).join(".") : "source", p = c.length > 0 ? c.map((m) => m.name).join(".") : "source";
133229
133244
  if (u)
133230
133245
  return "Aggregated dimensional expression contains multiple join paths; rewrite, for example `sum(first_join.field + second_join.field)` as `first_join.field.sum() + second_join.field.sum()`";
133231
133246
  {
@@ -133238,7 +133253,7 @@ var iR = {};
133238
133253
  Object.defineProperty(iR, "__esModule", { value: !0 });
133239
133254
  iR.ExprAlternationTree = void 0;
133240
133255
  const jV = zt, Mh = pt, Uat = ru;
133241
- function SN(t) {
133256
+ function S8(t) {
133242
133257
  const e = t.atExpr();
133243
133258
  switch (e.atNodeType()) {
133244
133259
  case Mh.ATNodeType.And:
@@ -133246,9 +133261,9 @@ function SN(t) {
133246
133261
  return;
133247
133262
  case Mh.ATNodeType.Or: {
133248
133263
  if (e instanceof Hce) {
133249
- const r = SN(e.left);
133264
+ const r = S8(e.left);
133250
133265
  if (r) {
133251
- const i = SN(e.right);
133266
+ const i = S8(e.right);
133252
133267
  if (i)
133253
133268
  return [...r, ...i];
133254
133269
  }
@@ -133264,7 +133279,7 @@ class Hce extends Mh.ExpressionDef {
133264
133279
  super({ left: e, right: i }), this.left = e, this.op = r, this.right = i, this.elementType = "alternation", this.elementType = `${r}alternation${r}`;
133265
133280
  }
133266
133281
  equalityList() {
133267
- return this.inList === void 0 && (this.inList = SN(this) || []), this.inList;
133282
+ return this.inList === void 0 && (this.inList = S8(this) || []), this.inList;
133268
133283
  }
133269
133284
  apply(e, r, i, s) {
133270
133285
  if ((0, Uat.isEquality)(r)) {
@@ -134823,7 +134838,7 @@ RR.ForRange = fct;
134823
134838
  var hr = {};
134824
134839
  Object.defineProperty(hr, "__esModule", { value: !0 });
134825
134840
  hr.LiteralYear = hr.LiteralQuarter = hr.LiteralMonth = hr.LiteralWeek = hr.LiteralDay = hr.LiteralHour = hr.LiteralTimestamp = hr.TimeFormatError = void 0;
134826
- const Ic = Gr, xct = et, dct = zt, hct = mf, ZV = u1, bN = pt;
134841
+ const Ic = Gr, xct = et, dct = zt, hct = mf, ZV = u1, b8 = pt;
134827
134842
  class pct extends Error {
134828
134843
  }
134829
134844
  hr.TimeFormatError = pct;
@@ -134839,8 +134854,8 @@ function Bd(t, e) {
134839
134854
  }
134840
134855
  return { text: r };
134841
134856
  }
134842
- const Gce = "yyyy", Vce = `${Gce}-LL`, Ao = `${Vce}-dd`, Yce = `${Ao} HH`, Kce = `${Yce}:mm`, TN = `${Kce}:ss`;
134843
- class Jce extends bN.ExpressionDef {
134857
+ const Gce = "yyyy", Vce = `${Gce}-LL`, Ao = `${Vce}-dd`, Yce = `${Ao} HH`, Kce = `${Yce}:mm`, T8 = `${Kce}:ss`;
134858
+ class Jce extends b8.ExpressionDef {
134844
134859
  constructor(e, r, i) {
134845
134860
  super(), this.units = r, this.timeType = i, this.literalPart = e.text, e.tzSpec && (this.timeZone = e.tzSpec);
134846
134861
  }
@@ -134881,12 +134896,12 @@ class Vk extends Jce {
134881
134896
  e = i.text, e[10] === "T" && (e = e.slice(0, 10) + " " + e.slice(11), i.text = e);
134882
134897
  const s = e.match(/^([^.,]+)[,.](\d+)$/);
134883
134898
  s && (e = s[1]);
134884
- let o = Ic.DateTime.fromFormat(e, TN);
134899
+ let o = Ic.DateTime.fromFormat(e, T8);
134885
134900
  if (o.isValid)
134886
134901
  return new Vk(i, r);
134887
134902
  if (o = Ic.DateTime.fromFormat(e, Kce), o.isValid) {
134888
134903
  i.text = i.text + ":00", r = "minute";
134889
- const u = o.plus({ minute: 1 }).toFormat(TN);
134904
+ const u = o.plus({ minute: 1 }).toFormat(T8);
134890
134905
  return new Yk(i, r, "timestamp", u);
134891
134906
  }
134892
134907
  }
@@ -134901,7 +134916,7 @@ class Yk extends Jce {
134901
134916
  if (o) {
134902
134917
  const u = i.getExpression(e);
134903
134918
  if (u.type === "timestamp") {
134904
- const a = (0, bN.getMorphicValue)(s, "timestamp"), l = (0, bN.getMorphicValue)(o, "timestamp");
134919
+ const a = (0, b8.getMorphicValue)(s, "timestamp"), l = (0, b8.getMorphicValue)(o, "timestamp");
134905
134920
  if (a && l)
134906
134921
  s = a, o = l;
134907
134922
  else
@@ -134924,7 +134939,7 @@ class Kk extends Yk {
134924
134939
  let i = r.text;
134925
134940
  const s = Ic.DateTime.fromFormat(r.text, Yce);
134926
134941
  if (s.isValid)
134927
- return r.text = r.text + ":00:00", i = s.plus({ hour: 1 }).toFormat(TN), new Kk(r, i);
134942
+ return r.text = r.text + ":00:00", i = s.plus({ hour: 1 }).toFormat(T8), new Kk(r, i);
134928
134943
  }
134929
134944
  }
134930
134945
  hr.LiteralHour = Kk;
@@ -136117,7 +136132,7 @@ var Rn = {}, Txt = T && T.__createBinding || (Object.create ? function(t, e, r,
136117
136132
  };
136118
136133
  Object.defineProperty(Rn, "__esModule", { value: !0 });
136119
136134
  Rn.FieldDefinitionValue = Rn.DefSpace = Rn.DimensionFieldDeclaration = Rn.MeasureFieldDeclaration = Rn.DeclareFieldDeclaration = Rn.ProjectFieldDeclaration = Rn.GroupByFieldDeclaration = Rn.AggregateFieldDeclaration = Rn.CalculateFieldDeclaration = Rn.AtomicFieldDeclaration = void 0;
136120
- const RN = et, pY = Dxt(on), Oxt = o1, wxt = Ze, kd = Zn, Fxt = Pr, Nxt = Vr;
136135
+ const R8 = et, pY = Dxt(on), Oxt = o1, wxt = Ze, kd = Zn, Fxt = Pr, Nxt = Vr;
136121
136136
  class Af extends wxt.MalloyElement {
136122
136137
  constructor(e, r, i) {
136123
136138
  super({ expr: e }), this.expr = e, this.defineName = r, this.exprSrc = i, this.isNoteableObj = !0, this.extendNote = Fxt.extendNoteMethod;
@@ -136126,7 +136141,7 @@ class Af extends wxt.MalloyElement {
136126
136141
  return this.defineName;
136127
136142
  }
136128
136143
  fieldDef(e, r) {
136129
- return this.queryFieldDef(new DN(e, this), r);
136144
+ return this.queryFieldDef(new D8(e, this), r);
136130
136145
  }
136131
136146
  executesInOutputSpace() {
136132
136147
  return !1;
@@ -136153,12 +136168,12 @@ class Af extends wxt.MalloyElement {
136153
136168
  expressionType: i.expressionType,
136154
136169
  evalSpace: i.evalSpace,
136155
136170
  compositeFieldUsage: i.compositeFieldUsage
136156
- }), (0, RN.isAtomicFieldType)(i.type) && i.type !== "error") {
136171
+ }), (0, R8.isAtomicFieldType)(i.type) && i.type !== "error") {
136157
136172
  this.typecheckExprValue(i);
136158
- const u = (0, RN.mkFieldDef)(pY.atomicDef(i), r);
136173
+ const u = (0, R8.mkFieldDef)(pY.atomicDef(i), r);
136159
136174
  return (u.type === "date" || u.type === "timestamp") && (0, Oxt.isGranularResult)(i) && (u.timeframe = i.timeframe), u.location = this.location, u.e = i.value, u.compositeFieldUsage = i.compositeFieldUsage, i.expressionType && (u.expressionType = i.expressionType), this.exprSrc && (u.code = this.exprSrc), this.note && (u.annotation = this.note), u;
136160
136175
  }
136161
- if (!(e instanceof DN && e.foundCircle) && i.type !== "error") {
136176
+ if (!(e instanceof D8 && e.foundCircle) && i.type !== "error") {
136162
136177
  const u = pY.inspect(i);
136163
136178
  this.logError("invalid-type-for-field-definition", `Cannot define '${r}', unexpected type: ${u}`);
136164
136179
  }
@@ -136238,7 +136253,7 @@ class Pxt extends Af {
136238
136253
  }
136239
136254
  }
136240
136255
  Rn.DimensionFieldDeclaration = Pxt;
136241
- class DN {
136256
+ class D8 {
136242
136257
  constructor(e, r) {
136243
136258
  this.realFS = e, this.circular = r, this.type = "fieldSpace", this.foundCircle = !1;
136244
136259
  }
@@ -136286,7 +136301,7 @@ class DN {
136286
136301
  return !0;
136287
136302
  }
136288
136303
  }
136289
- Rn.DefSpace = DN;
136304
+ Rn.DefSpace = D8;
136290
136305
  class efe extends Nxt.SpaceField {
136291
136306
  constructor(e, r) {
136292
136307
  super(), this.space = e, this.exprDef = r, this.fieldName = r.defineName;
@@ -136312,7 +136327,7 @@ class efe extends Nxt.SpaceField {
136312
136327
  // some expressions being compiled twice.
136313
136328
  typeDesc() {
136314
136329
  const e = this.defInQuery || this.fieldDef();
136315
- if ((0, RN.isAtomic)(e))
136330
+ if ((0, R8.isAtomic)(e))
136316
136331
  return this.fieldTypeFromFieldDef(e);
136317
136332
  throw new Error(`Can't get typeDesc for ${e.type}`);
136318
136333
  }
@@ -136484,14 +136499,14 @@ function tdt(t, e = !1) {
136484
136499
  kn.getPlainString = tdt;
136485
136500
  Object.defineProperty(Pl, "__esModule", { value: !0 });
136486
136501
  Pl.findReferences = Pl.deprecatedParseTableURI = Pl.constructTableKey = void 0;
136487
- const ndt = Mc, ON = kn;
136502
+ const ndt = Mc, O8 = kn;
136488
136503
  function V7(t) {
136489
- const e = (0, ON.getStringIfShort)(t);
136504
+ const e = (0, O8.getStringIfShort)(t);
136490
136505
  if (e)
136491
136506
  return e;
136492
136507
  const r = [], i = t.string().sqlString();
136493
136508
  if (i) {
136494
- for (const s of (0, ON.getStringParts)(i))
136509
+ for (const s of (0, O8.getStringParts)(i))
136495
136510
  typeof s == "string" && r.push(s);
136496
136511
  return r.join("");
136497
136512
  }
@@ -136510,7 +136525,7 @@ class rdt {
136510
136525
  });
136511
136526
  }
136512
136527
  enterTableMethod(e) {
136513
- const r = (0, ON.getId)(e.connectionId()), i = V7(e.tablePath()), s = this.trans.rangeFromContext(e);
136528
+ const r = (0, O8.getId)(e.connectionId()), i = V7(e.tablePath()), s = this.trans.rangeFromContext(e);
136514
136529
  this.registerTableReference(r, i, s);
136515
136530
  }
136516
136531
  enterTableFunction(e) {
@@ -138158,7 +138173,7 @@ sD.walkForDocumentCompletions = uht;
138158
138173
  var oD = {};
138159
138174
  Object.defineProperty(oD, "__esModule", { value: !0 });
138160
138175
  oD.walkForDocumentHelpContext = void 0;
138161
- const aht = HN;
138176
+ const aht = H8;
138162
138177
  class lht extends aht.AbstractParseTreeVisitor {
138163
138178
  constructor(e) {
138164
138179
  super(), this.position = e, this.type = "";
@@ -142651,7 +142666,7 @@ class d extends Nht.Parser {
142651
142666
  s = new Hxe(s), this._ctx = s, o = s, this.state = 1234, this.match(d.NOT), this.state = 1235, this.fieldExpr(13);
142652
142667
  break;
142653
142668
  case 7:
142654
- s = new wN(s), this._ctx = s, o = s, this.state = 1236, this.match(d.CAST), this.state = 1237, this.match(d.OPAREN), this.state = 1238, this.fieldExpr(0), this.state = 1239, this.match(d.AS), this.state = 1240, this.malloyOrSQLType(), this.state = 1241, this.match(d.CPAREN);
142669
+ s = new w8(s), this._ctx = s, o = s, this.state = 1236, this.match(d.CAST), this.state = 1237, this.match(d.OPAREN), this.state = 1238, this.fieldExpr(0), this.state = 1239, this.match(d.AS), this.state = 1240, this.malloyOrSQLType(), this.state = 1241, this.match(d.CPAREN);
142655
142670
  break;
142656
142671
  case 8:
142657
142672
  {
@@ -142848,7 +142863,7 @@ class d extends Nht.Parser {
142848
142863
  break;
142849
142864
  case 12:
142850
142865
  {
142851
- if (s = new wN(new Re(r, i)), this.pushNewRecursionContext(s, u, d.RULE_fieldExpr), this.state = 1344, !this.precpred(this._ctx, 27))
142866
+ if (s = new w8(new Re(r, i)), this.pushNewRecursionContext(s, u, d.RULE_fieldExpr), this.state = 1344, !this.precpred(this._ctx, 27))
142852
142867
  throw this.createFailedPredicateException("this.precpred(this._ctx, 27)");
142853
142868
  this.state = 1345, this.match(d.DOUBLECOLON), this.state = 1346, this.malloyOrSQLType();
142854
142869
  }
@@ -149735,7 +149750,7 @@ class Oxe extends Re {
149735
149750
  }
149736
149751
  }
149737
149752
  I.ExprTimeTruncContext = Oxe;
149738
- class wN extends Re {
149753
+ class w8 extends Re {
149739
149754
  fieldExpr() {
149740
149755
  return this.getRuleContext(0, Re);
149741
149756
  }
@@ -149773,7 +149788,7 @@ class wN extends Re {
149773
149788
  return e.visitExprCast ? e.visitExprCast(this) : e.visitChildren(this);
149774
149789
  }
149775
149790
  }
149776
- I.ExprCastContext = wN;
149791
+ I.ExprCastContext = w8;
149777
149792
  class wxe extends Re {
149778
149793
  fieldExpr() {
149779
149794
  return this.getRuleContext(0, Re);
@@ -151677,7 +151692,7 @@ var Qht = T && T.__createBinding || (Object.create ? function(t, e, r, i) {
151677
151692
  };
151678
151693
  Object.defineProperty(rc, "__esModule", { value: !0 });
151679
151694
  rc.MalloyTranslator = rc.MalloyChildTranslator = rc.MalloyTranslation = void 0;
151680
- const Ght = et, fde = Wht(HT), Vht = nD, DY = Y2, Yht = Pl, X7 = rD, Kht = iD, Jht = sD, Xht = oD, Zht = uD, nb = aD, FN = Jn, ept = ou, tpt = lD, npt = cD, rpt = mi, ipt = KE;
151695
+ const Ght = et, fde = Wht(HT), Vht = nD, DY = Y2, Yht = Pl, X7 = rD, Kht = iD, Jht = sD, Xht = oD, Zht = uD, nb = aD, F8 = Jn, ept = ou, tpt = lD, npt = cD, rpt = mi, ipt = KE;
151681
151696
  class spt {
151682
151697
  step(e) {
151683
151698
  if (this.response)
@@ -151697,7 +151712,7 @@ class spt {
151697
151712
  }
151698
151713
  const i = r.value === "" ? `
151699
151714
  ` : r.value;
151700
- this.sourceInfo = (0, FN.getSourceInfo)(i);
151715
+ this.sourceInfo = (0, F8.getSourceInfo)(i);
151701
151716
  let s;
151702
151717
  try {
151703
151718
  s = this.runParser(i, this.sourceInfo, e);
@@ -152115,7 +152130,7 @@ ${s}` : e = s;
152115
152130
  importAt(e) {
152116
152131
  for (let r = 0; r < this.imports.length; r++) {
152117
152132
  const i = this.imports[r];
152118
- if ((0, FN.locationContainsPosition)(i.location, e))
152133
+ if ((0, F8.locationContainsPosition)(i.location, e))
152119
152134
  return i;
152120
152135
  }
152121
152136
  }
@@ -152144,7 +152159,7 @@ ${s}` : e = s;
152144
152159
  };
152145
152160
  }
152146
152161
  rangeFromContext(e) {
152147
- return (0, FN.rangeFromContext)(this.parseStep.sourceInfo, e);
152162
+ return (0, F8.rangeFromContext)(this.parseStep.sourceInfo, e);
152148
152163
  }
152149
152164
  firstReferenceToDialect(e) {
152150
152165
  return this.dialectAlreadyChecked[e] ? !1 : (this.dialectAlreadyChecked[e] = !0, !0);
@@ -152217,7 +152232,7 @@ Yp.exploreQueryWalkerBuilder = mpt;
152217
152232
  var Kp = {}, oA = {}, aa = {};
152218
152233
  Object.defineProperty(aa, "__esModule", { value: !0 });
152219
152234
  aa.getResultStructMetadataAnnotation = aa.convertFieldInfos = aa.modelDefToModelInfo = void 0;
152220
- const ml = Ji, NN = Ls, yP = mi, pde = ou;
152235
+ const ml = Ji, N8 = Ls, yP = mi, pde = ou;
152221
152236
  function gpt(t) {
152222
152237
  const e = {
152223
152238
  entries: [],
@@ -152235,7 +152250,7 @@ function gpt(t) {
152235
152250
  };
152236
152251
  e.entries.push(s);
152237
152252
  } else if (i.type === "query") {
152238
- const s = (0, NN.getResultStructDefForQuery)(t, i), o = OY(i), u = s.resultMetadata ? rb(s, s.resultMetadata) : void 0, a = [
152253
+ const s = (0, N8.getResultStructDefForQuery)(t, i), o = OY(i), u = s.resultMetadata ? rb(s, s.resultMetadata) : void 0, a = [
152239
152254
  ...o ?? [],
152240
152255
  ...u ? [u] : []
152241
152256
  ], l = {
@@ -152250,7 +152265,7 @@ function gpt(t) {
152250
152265
  }
152251
152266
  }
152252
152267
  for (const r of t.queryList) {
152253
- const i = (0, NN.getResultStructDefForQuery)(t, r), s = OY(r), o = i.resultMetadata ? rb(i, i.resultMetadata) : void 0, u = [
152268
+ const i = (0, N8.getResultStructDefForQuery)(t, r), s = OY(r), o = i.resultMetadata ? rb(i, i.resultMetadata) : void 0, u = [
152254
152269
  ...s ?? [],
152255
152270
  ...o ? [o] : []
152256
152271
  ], a = {
@@ -152277,7 +152292,7 @@ function Ph(t, e) {
152277
152292
  value: f
152278
152293
  })), c = l.length > 0 ? l : void 0;
152279
152294
  if ((0, ml.isTurtle)(u)) {
152280
- const f = (0, NN.getResultStructDefForView)(t, u), x = f.resultMetadata ? rb(f, f.resultMetadata) : void 0, h = [
152295
+ const f = (0, N8.getResultStructDefForView)(t, u), x = f.resultMetadata ? rb(f, f.resultMetadata) : void 0, h = [
152281
152296
  ...c ?? [],
152282
152297
  ...x ? [x] : []
152283
152298
  ], p = {
@@ -153191,14 +153206,14 @@ let Ul = class xv {
153191
153206
  const v = e.toString();
153192
153207
  if (i !== void 0) {
153193
153208
  _ = i._translator;
153194
- const C = (h = i._invalidationKey) !== null && h !== void 0 ? h : await $N(s, e);
153209
+ const C = (h = i._invalidationKey) !== null && h !== void 0 ? h : await $8(s, e);
153195
153210
  A[v] = C;
153196
153211
  } else {
153197
153212
  if (r === void 0) {
153198
153213
  const { contents: C, invalidationKey: S } = await dv(s, e);
153199
153214
  A[v] = S, r = C;
153200
153215
  } else {
153201
- const C = await $N(s, e);
153216
+ const C = await $8(s, e);
153202
153217
  A[v] = C;
153203
153218
  }
153204
153219
  _ = new FY.MalloyTranslator(v, f.toString(), {
@@ -153648,11 +153663,11 @@ class Jp {
153648
153663
  * Construct a DocumentRange from JSON.
153649
153664
  */
153650
153665
  static fromJSON(e) {
153651
- return new Jp(new LN(e.start.line, e.start.character), new LN(e.end.line, e.end.character));
153666
+ return new Jp(new L8(e.start.line, e.start.character), new L8(e.end.line, e.end.character));
153652
153667
  }
153653
153668
  }
153654
153669
  Le.DocumentRange = Jp;
153655
- class LN {
153670
+ class L8 {
153656
153671
  constructor(e, r) {
153657
153672
  this._line = e, this._character = r;
153658
153673
  }
@@ -153675,7 +153690,7 @@ class LN {
153675
153690
  return { line: this.line, character: this.character };
153676
153691
  }
153677
153692
  }
153678
- Le.DocumentPosition = LN;
153693
+ Le.DocumentPosition = L8;
153679
153694
  class BD {
153680
153695
  constructor(e) {
153681
153696
  this._range = Jp.fromJSON(e.range), this._lensRange = e.lensRange ? Jp.fromJSON(e.lensRange) : void 0, this._type = e.type, this._name = e.name, this._children = e.children.map((r) => new BD(r));
@@ -153977,7 +153992,7 @@ class Ms extends AP {
153977
153992
  this._fieldMap = new Map(this.structDef.fields.map((i) => {
153978
153993
  const s = i.as || i.name, o = r.get(i.name);
153979
153994
  if ((0, oi.isJoined)(i))
153980
- return [s, new IN(i, this, o)];
153995
+ return [s, new I8(i, this, o)];
153981
153996
  if (i.type === "turtle")
153982
153997
  return [s, new RP(i, this, o)];
153983
153998
  if (i.type === "string")
@@ -154050,7 +154065,7 @@ class Ms extends AP {
154050
154065
  return this._parentExplore;
154051
154066
  }
154052
154067
  hasParentExplore() {
154053
- return this instanceof IN;
154068
+ return this instanceof I8;
154054
154069
  }
154055
154070
  // TODO wrapper type for FilterCondition
154056
154071
  get filters() {
@@ -154354,7 +154369,7 @@ var Sh;
154354
154369
  (function(t) {
154355
154370
  t.OneToOne = "one_to_one", t.OneToMany = "one_to_many", t.ManyToOne = "many_to_one";
154356
154371
  })(Sh || (Le.JoinRelationship = Sh = {}));
154357
- class IN extends Ms {
154372
+ class I8 extends Ms {
154358
154373
  constructor(e, r, i) {
154359
154374
  super(e, r, i), this._parentExplore = r;
154360
154375
  }
@@ -154395,7 +154410,7 @@ class IN extends Ms {
154395
154410
  return e ? [e] : [];
154396
154411
  }
154397
154412
  }
154398
- Le.ExploreField = IN;
154413
+ Le.ExploreField = I8;
154399
154414
  class DP {
154400
154415
  constructor({ urlReader: e, connections: r, connection: i, eventStream: s, cacheManager: o }) {
154401
154416
  if (this.isTestRuntime = !1, r === void 0) {
@@ -155477,7 +155492,7 @@ class Upt {
155477
155492
  o[a] = l;
155478
155493
  }
155479
155494
  for (const a of s)
155480
- if (await $N(e, new URL(a)) !== o[a])
155495
+ if (await $8(e, new URL(a)) !== o[a])
155481
155496
  return;
155482
155497
  const u = await this.modelCache.getModel(new URL(r));
155483
155498
  if (u !== void 0) {
@@ -155532,7 +155547,7 @@ async function dv(t, e) {
155532
155547
  invalidationKey: UD(e.toString()) ? null : s ?? Mde(i)
155533
155548
  };
155534
155549
  }
155535
- async function $N(t, e) {
155550
+ async function $8(t, e) {
155536
155551
  return UD(e.toString()) ? null : t.getInvalidationKey !== void 0 ? await t.getInvalidationKey(e) : (await dv(t, e)).invalidationKey;
155537
155552
  }
155538
155553
  function UD(t) {
@@ -157472,22 +157487,22 @@ var Yu = {};
157472
157487
  Object.defineProperty(Yu, "__esModule", { value: !0 });
157473
157488
  Yu.convertToThrift = Yu.convertFromThrift = Yu.unnestUnions = Yu.nestUnions = void 0;
157474
157489
  const g2t = aA;
157475
- function BN(t) {
157490
+ function B8(t) {
157476
157491
  if (t == null)
157477
157492
  return t;
157478
157493
  if (typeof t == "string" || typeof t == "number" || typeof t == "boolean")
157479
157494
  return t;
157480
157495
  if (Array.isArray(t))
157481
- return t.map(BN);
157496
+ return t.map(B8);
157482
157497
  {
157483
157498
  const e = {};
157484
157499
  let r;
157485
157500
  for (const i in t)
157486
- i === "kind" ? r = t[i] : e[i] = BN(t[i]);
157501
+ i === "kind" ? r = t[i] : e[i] = B8(t[i]);
157487
157502
  return r === void 0 ? e : { [r]: e };
157488
157503
  }
157489
157504
  }
157490
- Yu.nestUnions = BN;
157505
+ Yu.nestUnions = B8;
157491
157506
  function hv(t, e) {
157492
157507
  if (t == null)
157493
157508
  return t;
@@ -158110,7 +158125,7 @@ function zde(t) {
158110
158125
  return {
158111
158126
  type: "array",
158112
158127
  elementTypeDef: { type: "record_element" },
158113
- fields: t.element_type.fields.map(kN)
158128
+ fields: t.element_type.fields.map(k8)
158114
158129
  };
158115
158130
  {
158116
158131
  const e = zde(t.element_type);
@@ -158123,17 +158138,17 @@ function zde(t) {
158123
158138
  }
158124
158139
  }
158125
158140
  case "record_type":
158126
- return { type: "record", fields: t.fields.map(kN) };
158141
+ return { type: "record", fields: t.fields.map(k8) };
158127
158142
  }
158128
158143
  }
158129
- function kN(t) {
158144
+ function k8(t) {
158130
158145
  const e = zde(t.type);
158131
158146
  return (0, qde.mkFieldDef)(e, t.name);
158132
158147
  }
158133
158148
  function D2t(t) {
158134
158149
  if (t.kind !== "dimension")
158135
158150
  throw new Error("Table schemas must only have dimension fields");
158136
- return kN(t);
158151
+ return k8(t);
158137
158152
  }
158138
158153
  function Wde(t) {
158139
158154
  const e = [];
@@ -158913,10 +158928,10 @@ Object.defineProperty(nhe, "__esModule", { value: !0 });
158913
158928
  } }), Object.defineProperty(t, "annotationToTaglines", { enumerable: !0, get: function() {
158914
158929
  return x.annotationToTaglines;
158915
158930
  } });
158916
- })(tN);
158931
+ })(t8);
158917
158932
  var r1t = /* @__PURE__ */ bt("<div class=malloy-copied-modal>Copied query to clipboard!");
158918
- const rhe = MN(), Ro = () => {
158919
- const t = PN(rhe);
158933
+ const rhe = M8(), Ro = () => {
158934
+ const t = P8(rhe);
158920
158935
  if (!t) throw new Error("ConfigContext missing a value; did you provide a ConfigProvider?");
158921
158936
  return t;
158922
158937
  };
@@ -158926,8 +158941,8 @@ function i1t(t, {
158926
158941
  const r = yr(() => {
158927
158942
  if (t.malloyResult)
158928
158943
  return t.malloyResult;
158929
- const c = t.result ?? (t.queryResult && t.modelDef ? new tN.Result(t.queryResult, t.modelDef) : null);
158930
- return c ? tN.API.util.wrapResult(c) : null;
158944
+ const c = t.result ?? (t.queryResult && t.modelDef ? new t8.Result(t.queryResult, t.modelDef) : null);
158945
+ return c ? t8.API.util.wrapResult(c) : null;
158931
158946
  }), i = new CSSStyleSheet();
158932
158947
  e.renderRoot instanceof ShadowRoot && e.renderRoot.adoptedStyleSheets.push(i);
158933
158948
  const s = /* @__PURE__ */ new Set();