@malloy-publisher/sdk 0.0.31 → 0.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/{RenderedResult-Bvw1-OOH.cjs → RenderedResult-B9Gth8IY.cjs} +1 -1
  2. package/dist/{RenderedResult-BSo_9A4J.js → RenderedResult-Drg_uJPZ.js} +1 -1
  3. package/dist/components/Home/Home.d.ts +1 -1
  4. package/dist/components/Package/Connections.d.ts +1 -1
  5. package/dist/components/Package/FileTreeView.d.ts +2 -1
  6. package/dist/components/Package/Models.d.ts +1 -1
  7. package/dist/components/Package/Notebooks.d.ts +1 -1
  8. package/dist/components/Package/Package.d.ts +1 -1
  9. package/dist/components/Project/Packages.d.ts +1 -1
  10. package/dist/components/Project/Project.d.ts +1 -1
  11. package/dist/components/click_helper.d.ts +8 -0
  12. package/dist/components/index.d.ts +1 -0
  13. package/dist/index.cjs.js +324 -324
  14. package/dist/index.es.js +480 -472
  15. package/dist/{vendor-DldTUzr7.cjs → vendor-BH1c2Hhy.cjs} +164 -182
  16. package/dist/{vendor-CYQMs_sd.js → vendor-DfRellEl.js} +15811 -18411
  17. package/package.json +4 -4
  18. package/src/components/Home/Home.tsx +4 -2
  19. package/src/components/MutableNotebook/MutableCell.tsx +3 -1
  20. package/src/components/MutableNotebook/MutableNotebook.tsx +5 -5
  21. package/src/components/Package/Connections.tsx +1 -1
  22. package/src/components/Package/FileTreeView.tsx +6 -6
  23. package/src/components/Package/Models.tsx +1 -1
  24. package/src/components/Package/Notebooks.tsx +1 -1
  25. package/src/components/Package/Package.tsx +1 -1
  26. package/src/components/Project/Packages.tsx +4 -8
  27. package/src/components/Project/Project.tsx +1 -1
  28. package/src/components/RenderedResult/ResultContainer.tsx +2 -8
  29. package/src/components/click_helper.ts +37 -0
  30. package/src/components/index.ts +1 -0
  31. package/vite.config.ts +0 -1
package/dist/index.es.js CHANGED
@@ -1,11 +1,12 @@
1
1
  var kGt = Object.defineProperty;
2
2
  var LGt = (a, u, d) => u in a ? kGt(a, u, { enumerable: !0, configurable: !0, writable: !0, value: d }) : a[u] = d;
3
3
  var It = (a, u, d) => LGt(a, typeof u != "symbol" ? u + "" : u, d);
4
- import { a as Ti, t as IGt, s as $h, C as HIe, b as ase, c as PGt, Q as Ca, u as wa, j as P, T as yr, S as ps, d as hb, e as ql, I as Uo, A as FGt, L as dN, f as Lh, D as ms, g as i$, h as pj, B as GIe, i as Bl, k as MGt, l as c6e, m as jGt, n as $Gt, o as Ri, p as s$, q as $M, r as gS, E as WIe, v as fN, w as hN, x as Ph, y as bi, z as o$, F as a$, G as pN, H as mN, J as gN, K as BGt, M as qGt, N as UGt, O as zGt, P as HGt, R as GGt, U as WGt, V as VGt, W as QGt, X as YGt, Y as KGt, Z as XGt, _ as JGt, $ as ZGt, a0 as Gne, a1 as Co, a2 as eWt, a3 as tWt, a4 as lse, a5 as VIe, a6 as rWt, a7 as nWt, a8 as iWt, a9 as sWt, aa as use, ab as cse, ac as oWt, ad as aWt, ae as lWt, af as uWt, ag as d6e, ah as cWt, ai as dWt } from "./vendor-CYQMs_sd.js";
4
+ import { a as Ti, t as IGt, s as $h, C as HIe, b as ase, c as PGt, Q as Ca, u as wa, j as P, T as yr, S as ps, d as hb, e as ql, I as Uo, A as FGt, L as dN, f as Lh, D as ms, g as i$, h as pj, B as GIe, i as Bl, k as MGt, l as c6e, m as jGt, n as $Gt, o as Ri, p as s$, q as $M, r as gS, E as WIe, v as fN, w as hN, x as Ph, y as bi, z as o$, F as a$, G as pN, H as mN, J as gN, K as BGt, M as qGt, N as UGt, O as zGt, P as HGt, R as GGt, U as WGt, V as VGt, W as QGt, X as YGt, Y as KGt, Z as XGt, _ as JGt, $ as ZGt, a0 as Gne, a1 as Co, a2 as eWt, a3 as tWt, a4 as lse, a5 as VIe, a6 as rWt, a7 as nWt, a8 as iWt, a9 as sWt, aa as use, ab as cse, ac as oWt, ad as aWt, ae as lWt, af as d6e, ag as uWt, ah as cWt } from "./vendor-DfRellEl.js";
5
5
  import * as Y from "react";
6
- import wr, { lazy as dse, Suspense as fse, useEffect as rn, createContext as pb, useContext as In, useLayoutEffect as QIe, useState as $r, useMemo as Sn, createElement as YIe, useRef as Dn, memo as fWt, useCallback as js, useReducer as hWt } from "react";
6
+ import wr, { lazy as dse, Suspense as fse, useEffect as rn, createContext as pb, useContext as In, useLayoutEffect as QIe, useState as $r, useMemo as Sn, createElement as YIe, useRef as Dn, memo as dWt, useCallback as js, useReducer as fWt } from "react";
7
7
  import * as l$ from "react-dom";
8
- import pWt, { unstable_batchedUpdates as uM, createPortal as mWt } from "react-dom";
8
+ import hWt, { unstable_batchedUpdates as uM, createPortal as pWt } from "react-dom";
9
+ import { useNavigate as mWt } from "react-router-dom";
9
10
  const Cs = "http://localhost/api/v0".replace(/\/+$/, "");
10
11
  class ey {
11
12
  constructor(u, d = Cs, f = Ti) {
@@ -7249,7 +7250,7 @@ $h("div")({
7249
7250
  height: "100%",
7250
7251
  flex: "0 0 auto"
7251
7252
  });
7252
- const CQt = dse(() => import("./RenderedResult-BSo_9A4J.js"));
7253
+ const CQt = dse(() => import("./RenderedResult-Drg_uJPZ.js"));
7253
7254
  Ti.defaults.baseURL = "http://localhost:4000";
7254
7255
  const wQt = new ZIe(new zo()), TQt = new Ca();
7255
7256
  function RQt({
@@ -9497,7 +9498,7 @@ function PQt() {
9497
9498
  case "having":
9498
9499
  return tt(le);
9499
9500
  case "drill":
9500
- return Je(le);
9501
+ return Xe(le);
9501
9502
  }
9502
9503
  }
9503
9504
  function W(le, Se, Le = "") {
@@ -9579,7 +9580,7 @@ function PQt() {
9579
9580
  function pt(le) {
9580
9581
  return W("where", le.map(xe), ",");
9581
9582
  }
9582
- function Je(le) {
9583
+ function Xe(le) {
9583
9584
  return W("drill", le.map(xe), ",");
9584
9585
  }
9585
9586
  function tt(le) {
@@ -11228,7 +11229,7 @@ function wse() {
11228
11229
  "%URIErrorPrototype%": ["URIError", "prototype"],
11229
11230
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
11230
11231
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
11231
- }, pt = SN(), Je = /* @__PURE__ */ PPe(), tt = pt.call(_e, Array.prototype.concat), xt = pt.call(Pe, Array.prototype.splice), Be = pt.call(_e, String.prototype.replace), ge = pt.call(_e, String.prototype.slice), pe = pt.call(_e, RegExp.prototype.exec), xe = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Re = /\\(\\)?/g, Ie = function(Le) {
11232
+ }, pt = SN(), Xe = /* @__PURE__ */ PPe(), tt = pt.call(_e, Array.prototype.concat), xt = pt.call(Pe, Array.prototype.splice), Be = pt.call(_e, String.prototype.replace), ge = pt.call(_e, String.prototype.slice), pe = pt.call(_e, RegExp.prototype.exec), xe = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Re = /\\(\\)?/g, Ie = function(Le) {
11232
11233
  var Qe = ge(Le, 0, 1), st = ge(Le, -1);
11233
11234
  if (Qe === "%" && st !== "%")
11234
11235
  throw new y("invalid intrinsic syntax, expected closing `%`");
@@ -11240,7 +11241,7 @@ function wse() {
11240
11241
  }), ze;
11241
11242
  }, le = function(Le, Qe) {
11242
11243
  var st = Le, ze;
11243
- if (Je(He, st) && (ze = He[st], st = "%" + ze[0] + "%"), Je(Ue, st)) {
11244
+ if (Xe(He, st) && (ze = He[st], st = "%" + ze[0] + "%"), Xe(Ue, st)) {
11244
11245
  var Ge = Ue[st];
11245
11246
  if (Ge === De && (Ge = Ne(st)), typeof Ge > "u" && !Qe)
11246
11247
  throw new b("intrinsic " + Le + " exists, but is not available. Please file an issue!");
@@ -11265,7 +11266,7 @@ function wse() {
11265
11266
  var Jt = st[gt], zr = ge(Jt, 0, 1), Zr = ge(Jt, -1);
11266
11267
  if ((zr === '"' || zr === "'" || zr === "`" || Zr === '"' || Zr === "'" || Zr === "`") && zr !== Zr)
11267
11268
  throw new y("property names with quotes must have matching quotes");
11268
- if ((Jt === "constructor" || !Ot) && (Ft = !0), ze += "." + Jt, vt = "%" + ze + "%", Je(Ue, vt))
11269
+ if ((Jt === "constructor" || !Ot) && (Ft = !0), ze += "." + Jt, vt = "%" + ze + "%", Xe(Ue, vt))
11269
11270
  Et = Ue[vt];
11270
11271
  else if (Et != null) {
11271
11272
  if (!(Jt in Et)) {
@@ -11277,7 +11278,7 @@ function wse() {
11277
11278
  var lt = q(Et, Jt);
11278
11279
  Ot = !!lt, Ot && "get" in lt && !("originalValue" in lt.get) ? Et = lt.get : Et = Et[Jt];
11279
11280
  } else
11280
- Ot = Je(Et, Jt), Et = Et[Jt];
11281
+ Ot = Xe(Et, Jt), Et = Et[Jt];
11281
11282
  Ot && !Ft && (Ue[vt] = Et);
11282
11283
  }
11283
11284
  }
@@ -11810,10 +11811,10 @@ function EYt() {
11810
11811
  return v(gt) === "[object WeakSet]";
11811
11812
  }
11812
11813
  pt.working = typeof WeakSet < "u" && pt(/* @__PURE__ */ new WeakSet());
11813
- function Je(gt) {
11814
+ function Xe(gt) {
11814
11815
  return pt(gt);
11815
11816
  }
11816
- a.isWeakSet = Je;
11817
+ a.isWeakSet = Xe;
11817
11818
  function tt(gt) {
11818
11819
  return v(gt) === "[object ArrayBuffer]";
11819
11820
  }
@@ -12239,15 +12240,15 @@ function TS() {
12239
12240
  function pt(Be, ge) {
12240
12241
  return Object.prototype.hasOwnProperty.call(Be, ge);
12241
12242
  }
12242
- var Je = typeof Symbol < "u" ? Symbol("util.promisify.custom") : void 0;
12243
+ var Xe = typeof Symbol < "u" ? Symbol("util.promisify.custom") : void 0;
12243
12244
  a.promisify = function(ge) {
12244
12245
  if (typeof ge != "function")
12245
12246
  throw new TypeError('The "original" argument must be of type Function');
12246
- if (Je && ge[Je]) {
12247
- var pe = ge[Je];
12247
+ if (Xe && ge[Xe]) {
12248
+ var pe = ge[Xe];
12248
12249
  if (typeof pe != "function")
12249
12250
  throw new TypeError('The "util.promisify.custom" argument must be of type Function');
12250
- return Object.defineProperty(pe, Je, {
12251
+ return Object.defineProperty(pe, Xe, {
12251
12252
  value: pe,
12252
12253
  enumerable: !1,
12253
12254
  writable: !1,
@@ -12269,7 +12270,7 @@ function TS() {
12269
12270
  }
12270
12271
  return Ie;
12271
12272
  }
12272
- return Object.setPrototypeOf(pe, Object.getPrototypeOf(ge)), Je && Object.defineProperty(pe, Je, {
12273
+ return Object.setPrototypeOf(pe, Object.getPrototypeOf(ge)), Xe && Object.defineProperty(pe, Xe, {
12273
12274
  value: pe,
12274
12275
  enumerable: !1,
12275
12276
  writable: !1,
@@ -12278,7 +12279,7 @@ function TS() {
12278
12279
  pe,
12279
12280
  u(ge)
12280
12281
  );
12281
- }, a.promisify.custom = Je;
12282
+ }, a.promisify.custom = Xe;
12282
12283
  function tt(Be, ge) {
12283
12284
  if (!Be) {
12284
12285
  var pe = new Error("Promise was rejected with a falsy value");
@@ -12463,66 +12464,66 @@ var Cre, e8e;
12463
12464
  function AYt() {
12464
12465
  if (e8e) return Cre;
12465
12466
  e8e = 1;
12466
- function a(Je, tt) {
12467
- var xt = Object.keys(Je);
12467
+ function a(Xe, tt) {
12468
+ var xt = Object.keys(Xe);
12468
12469
  if (Object.getOwnPropertySymbols) {
12469
- var Be = Object.getOwnPropertySymbols(Je);
12470
+ var Be = Object.getOwnPropertySymbols(Xe);
12470
12471
  tt && (Be = Be.filter(function(ge) {
12471
- return Object.getOwnPropertyDescriptor(Je, ge).enumerable;
12472
+ return Object.getOwnPropertyDescriptor(Xe, ge).enumerable;
12472
12473
  })), xt.push.apply(xt, Be);
12473
12474
  }
12474
12475
  return xt;
12475
12476
  }
12476
- function u(Je) {
12477
+ function u(Xe) {
12477
12478
  for (var tt = 1; tt < arguments.length; tt++) {
12478
12479
  var xt = arguments[tt] != null ? arguments[tt] : {};
12479
12480
  tt % 2 ? a(Object(xt), !0).forEach(function(Be) {
12480
- d(Je, Be, xt[Be]);
12481
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(Je, Object.getOwnPropertyDescriptors(xt)) : a(Object(xt)).forEach(function(Be) {
12482
- Object.defineProperty(Je, Be, Object.getOwnPropertyDescriptor(xt, Be));
12481
+ d(Xe, Be, xt[Be]);
12482
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(Xe, Object.getOwnPropertyDescriptors(xt)) : a(Object(xt)).forEach(function(Be) {
12483
+ Object.defineProperty(Xe, Be, Object.getOwnPropertyDescriptor(xt, Be));
12483
12484
  });
12484
12485
  }
12485
- return Je;
12486
+ return Xe;
12486
12487
  }
12487
- function d(Je, tt, xt) {
12488
- return tt = y(tt), tt in Je ? Object.defineProperty(Je, tt, { value: xt, enumerable: !0, configurable: !0, writable: !0 }) : Je[tt] = xt, Je;
12488
+ function d(Xe, tt, xt) {
12489
+ return tt = y(tt), tt in Xe ? Object.defineProperty(Xe, tt, { value: xt, enumerable: !0, configurable: !0, writable: !0 }) : Xe[tt] = xt, Xe;
12489
12490
  }
12490
- function f(Je, tt) {
12491
- if (!(Je instanceof tt))
12491
+ function f(Xe, tt) {
12492
+ if (!(Xe instanceof tt))
12492
12493
  throw new TypeError("Cannot call a class as a function");
12493
12494
  }
12494
- function m(Je, tt) {
12495
+ function m(Xe, tt) {
12495
12496
  for (var xt = 0; xt < tt.length; xt++) {
12496
12497
  var Be = tt[xt];
12497
- Be.enumerable = Be.enumerable || !1, Be.configurable = !0, "value" in Be && (Be.writable = !0), Object.defineProperty(Je, y(Be.key), Be);
12498
+ Be.enumerable = Be.enumerable || !1, Be.configurable = !0, "value" in Be && (Be.writable = !0), Object.defineProperty(Xe, y(Be.key), Be);
12498
12499
  }
12499
12500
  }
12500
- function g(Je, tt, xt) {
12501
- return tt && m(Je.prototype, tt), Object.defineProperty(Je, "prototype", { writable: !1 }), Je;
12501
+ function g(Xe, tt, xt) {
12502
+ return tt && m(Xe.prototype, tt), Object.defineProperty(Xe, "prototype", { writable: !1 }), Xe;
12502
12503
  }
12503
- function y(Je) {
12504
- var tt = b(Je, "string");
12504
+ function y(Xe) {
12505
+ var tt = b(Xe, "string");
12505
12506
  return q(tt) === "symbol" ? tt : String(tt);
12506
12507
  }
12507
- function b(Je, tt) {
12508
- if (q(Je) !== "object" || Je === null) return Je;
12509
- var xt = Je[Symbol.toPrimitive];
12508
+ function b(Xe, tt) {
12509
+ if (q(Xe) !== "object" || Xe === null) return Xe;
12510
+ var xt = Xe[Symbol.toPrimitive];
12510
12511
  if (xt !== void 0) {
12511
- var Be = xt.call(Je, tt);
12512
+ var Be = xt.call(Xe, tt);
12512
12513
  if (q(Be) !== "object") return Be;
12513
12514
  throw new TypeError("@@toPrimitive must return a primitive value.");
12514
12515
  }
12515
- return String(Je);
12516
+ return String(Xe);
12516
12517
  }
12517
- function v(Je, tt) {
12518
+ function v(Xe, tt) {
12518
12519
  if (typeof tt != "function" && tt !== null)
12519
12520
  throw new TypeError("Super expression must either be null or a function");
12520
- Je.prototype = Object.create(tt && tt.prototype, { constructor: { value: Je, writable: !0, configurable: !0 } }), Object.defineProperty(Je, "prototype", { writable: !1 }), tt && I(Je, tt);
12521
+ Xe.prototype = Object.create(tt && tt.prototype, { constructor: { value: Xe, writable: !0, configurable: !0 } }), Object.defineProperty(Xe, "prototype", { writable: !1 }), tt && I(Xe, tt);
12521
12522
  }
12522
- function _(Je) {
12523
+ function _(Xe) {
12523
12524
  var tt = D();
12524
12525
  return function() {
12525
- var Be = $(Je), ge;
12526
+ var Be = $(Xe), ge;
12526
12527
  if (tt) {
12527
12528
  var pe = $(this).constructor;
12528
12529
  ge = Reflect.construct(Be, arguments, pe);
@@ -12531,19 +12532,19 @@ function AYt() {
12531
12532
  return S(this, ge);
12532
12533
  };
12533
12534
  }
12534
- function S(Je, tt) {
12535
+ function S(Xe, tt) {
12535
12536
  if (tt && (q(tt) === "object" || typeof tt == "function"))
12536
12537
  return tt;
12537
12538
  if (tt !== void 0)
12538
12539
  throw new TypeError("Derived constructors may only return object or undefined");
12539
- return w(Je);
12540
+ return w(Xe);
12540
12541
  }
12541
- function w(Je) {
12542
- if (Je === void 0)
12542
+ function w(Xe) {
12543
+ if (Xe === void 0)
12543
12544
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
12544
- return Je;
12545
+ return Xe;
12545
12546
  }
12546
- function R(Je) {
12547
+ function R(Xe) {
12547
12548
  var tt = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
12548
12549
  return R = function(Be) {
12549
12550
  if (Be === null || !B(Be)) return Be;
@@ -12557,9 +12558,9 @@ function AYt() {
12557
12558
  return N(Be, arguments, $(this).constructor);
12558
12559
  }
12559
12560
  return ge.prototype = Object.create(Be.prototype, { constructor: { value: ge, enumerable: !1, writable: !0, configurable: !0 } }), I(ge, Be);
12560
- }, R(Je);
12561
+ }, R(Xe);
12561
12562
  }
12562
- function N(Je, tt, xt) {
12563
+ function N(Xe, tt, xt) {
12563
12564
  return D() ? N = Reflect.construct.bind() : N = function(ge, pe, xe) {
12564
12565
  var Re = [null];
12565
12566
  Re.push.apply(Re, pe);
@@ -12577,37 +12578,37 @@ function AYt() {
12577
12578
  return !1;
12578
12579
  }
12579
12580
  }
12580
- function B(Je) {
12581
- return Function.toString.call(Je).indexOf("[native code]") !== -1;
12581
+ function B(Xe) {
12582
+ return Function.toString.call(Xe).indexOf("[native code]") !== -1;
12582
12583
  }
12583
- function I(Je, tt) {
12584
+ function I(Xe, tt) {
12584
12585
  return I = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(Be, ge) {
12585
12586
  return Be.__proto__ = ge, Be;
12586
- }, I(Je, tt);
12587
+ }, I(Xe, tt);
12587
12588
  }
12588
- function $(Je) {
12589
+ function $(Xe) {
12589
12590
  return $ = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(xt) {
12590
12591
  return xt.__proto__ || Object.getPrototypeOf(xt);
12591
- }, $(Je);
12592
+ }, $(Xe);
12592
12593
  }
12593
- function q(Je) {
12594
+ function q(Xe) {
12594
12595
  "@babel/helpers - typeof";
12595
12596
  return q = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(tt) {
12596
12597
  return typeof tt;
12597
12598
  } : function(tt) {
12598
12599
  return tt && typeof Symbol == "function" && tt.constructor === Symbol && tt !== Symbol.prototype ? "symbol" : typeof tt;
12599
- }, q(Je);
12600
+ }, q(Xe);
12600
12601
  }
12601
12602
  var z = TS(), W = z.inspect, X = $Pe(), J = X.codes.ERR_INVALID_ARG_TYPE;
12602
- function ee(Je, tt, xt) {
12603
- return (xt === void 0 || xt > Je.length) && (xt = Je.length), Je.substring(xt - tt.length, xt) === tt;
12603
+ function ee(Xe, tt, xt) {
12604
+ return (xt === void 0 || xt > Xe.length) && (xt = Xe.length), Xe.substring(xt - tt.length, xt) === tt;
12604
12605
  }
12605
- function fe(Je, tt) {
12606
- if (tt = Math.floor(tt), Je.length == 0 || tt == 0) return "";
12607
- var xt = Je.length * tt;
12606
+ function fe(Xe, tt) {
12607
+ if (tt = Math.floor(tt), Xe.length == 0 || tt == 0) return "";
12608
+ var xt = Xe.length * tt;
12608
12609
  for (tt = Math.floor(Math.log(tt) / Math.log(2)); tt; )
12609
- Je += Je, tt--;
12610
- return Je += Je.substring(0, xt - Je.length), Je;
12610
+ Xe += Xe, tt--;
12611
+ return Xe += Xe.substring(0, xt - Xe.length), Xe;
12611
12612
  }
12612
12613
  var be = "", Pe = "", _e = "", De = "", Ke = {
12613
12614
  deepStrictEqual: "Expected values to be strictly deep-equal:",
@@ -12622,16 +12623,16 @@ function AYt() {
12622
12623
  notEqual: 'Expected "actual" to be loosely unequal to:',
12623
12624
  notIdentical: "Values identical but not reference-equal:"
12624
12625
  }, Ue = 10;
12625
- function te(Je) {
12626
- var tt = Object.keys(Je), xt = Object.create(Object.getPrototypeOf(Je));
12626
+ function te(Xe) {
12627
+ var tt = Object.keys(Xe), xt = Object.create(Object.getPrototypeOf(Xe));
12627
12628
  return tt.forEach(function(Be) {
12628
- xt[Be] = Je[Be];
12629
+ xt[Be] = Xe[Be];
12629
12630
  }), Object.defineProperty(xt, "message", {
12630
- value: Je.message
12631
+ value: Xe.message
12631
12632
  }), xt;
12632
12633
  }
12633
- function Ne(Je) {
12634
- return W(Je, {
12634
+ function Ne(Xe) {
12635
+ return W(Xe, {
12635
12636
  compact: !1,
12636
12637
  customInspect: !1,
12637
12638
  depth: 1e3,
@@ -12651,14 +12652,14 @@ function AYt() {
12651
12652
  getters: !0
12652
12653
  });
12653
12654
  }
12654
- function He(Je, tt, xt) {
12655
- var Be = "", ge = "", pe = 0, xe = "", Re = !1, Ie = Ne(Je), le = Ie.split(`
12655
+ function He(Xe, tt, xt) {
12656
+ var Be = "", ge = "", pe = 0, xe = "", Re = !1, Ie = Ne(Xe), le = Ie.split(`
12656
12657
  `), Se = Ne(tt).split(`
12657
12658
  `), Le = 0, Qe = "";
12658
- if (xt === "strictEqual" && q(Je) === "object" && q(tt) === "object" && Je !== null && tt !== null && (xt = "strictEqualObject"), le.length === 1 && Se.length === 1 && le[0] !== Se[0]) {
12659
+ if (xt === "strictEqual" && q(Xe) === "object" && q(tt) === "object" && Xe !== null && tt !== null && (xt = "strictEqualObject"), le.length === 1 && Se.length === 1 && le[0] !== Se[0]) {
12659
12660
  var st = le[0].length + Se[0].length;
12660
12661
  if (st <= Ue) {
12661
- if ((q(Je) !== "object" || Je === null) && (q(tt) !== "object" || tt === null) && (Je !== 0 || tt !== 0))
12662
+ if ((q(Xe) !== "object" || Xe === null) && (q(tt) !== "object" || tt === null) && (Xe !== 0 || tt !== 0))
12662
12663
  return "".concat(Ke[xt], `
12663
12664
 
12664
12665
  `) + "".concat(le[0], " !== ").concat(Se[0], `
@@ -12727,8 +12728,8 @@ function AYt() {
12727
12728
  return "".concat(gt).concat(Re ? Ot : "", `
12728
12729
  `).concat(ge).concat(Be).concat(xe).concat(Qe);
12729
12730
  }
12730
- var pt = /* @__PURE__ */ function(Je, tt) {
12731
- v(Be, Je);
12731
+ var pt = /* @__PURE__ */ function(Xe, tt) {
12732
+ v(Be, Xe);
12732
12733
  var xt = _(Be);
12733
12734
  function Be(ge) {
12734
12735
  var pe;
@@ -13167,7 +13168,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13167
13168
  * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
13168
13169
  * @license MIT
13169
13170
  */
13170
- function Je(lt, At) {
13171
+ function Xe(lt, At) {
13171
13172
  if (lt === At)
13172
13173
  return 0;
13173
13174
  for (var Zt = lt.length, Ar = At.length, xr = 0, Xr = Math.min(Zt, Ar); xr < Xr; ++xr)
@@ -13190,10 +13191,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13190
13191
  return !0;
13191
13192
  }
13192
13193
  function le(lt, At) {
13193
- return lt.byteLength !== At.byteLength ? !1 : Je(new Uint8Array(lt.buffer, lt.byteOffset, lt.byteLength), new Uint8Array(At.buffer, At.byteOffset, At.byteLength)) === 0;
13194
+ return lt.byteLength !== At.byteLength ? !1 : Xe(new Uint8Array(lt.buffer, lt.byteOffset, lt.byteLength), new Uint8Array(At.buffer, At.byteOffset, At.byteLength)) === 0;
13194
13195
  }
13195
13196
  function Se(lt, At) {
13196
- return lt.byteLength === At.byteLength && Je(new Uint8Array(lt), new Uint8Array(At)) === 0;
13197
+ return lt.byteLength === At.byteLength && Xe(new Uint8Array(lt), new Uint8Array(At)) === 0;
13197
13198
  }
13198
13199
  function Le(lt, At) {
13199
13200
  return Pe(lt) ? Pe(At) && S(Number.prototype.valueOf.call(lt), Number.prototype.valueOf.call(At)) : _e(lt) ? _e(At) && String.prototype.valueOf.call(lt) === String.prototype.valueOf.call(At) : De(lt) ? De(At) && Boolean.prototype.valueOf.call(lt) === Boolean.prototype.valueOf.call(At) : Ke(lt) ? Ke(At) && BigInt.prototype.valueOf.call(lt) === BigInt.prototype.valueOf.call(At) : Ue(At) && Symbol.prototype.valueOf.call(lt) === Symbol.prototype.valueOf.call(At);
@@ -13670,7 +13671,7 @@ function cl() {
13670
13671
  function pt(pe) {
13671
13672
  return D(pe) || pe !== null && a(pe) === "object" && typeof pe.then == "function" && typeof pe.catch == "function";
13672
13673
  }
13673
- function Je(pe) {
13674
+ function Xe(pe) {
13674
13675
  return Promise.resolve().then(function() {
13675
13676
  var xe;
13676
13677
  if (typeof pe == "function") {
@@ -13739,7 +13740,7 @@ function cl() {
13739
13740
  }, ee.rejects = function pe(xe) {
13740
13741
  for (var Re = arguments.length, Ie = new Array(Re > 1 ? Re - 1 : 0), le = 1; le < Re; le++)
13741
13742
  Ie[le - 1] = arguments[le];
13742
- return Je(xe).then(function(Se) {
13743
+ return Xe(xe).then(function(Se) {
13743
13744
  return tt.apply(void 0, [pe, Se].concat(Ie));
13744
13745
  });
13745
13746
  }, ee.doesNotThrow = function pe(xe) {
@@ -13749,7 +13750,7 @@ function cl() {
13749
13750
  }, ee.doesNotReject = function pe(xe) {
13750
13751
  for (var Re = arguments.length, Ie = new Array(Re > 1 ? Re - 1 : 0), le = 1; le < Re; le++)
13751
13752
  Ie[le - 1] = arguments[le];
13752
- return Je(xe).then(function(Se) {
13753
+ return Xe(xe).then(function(Se) {
13753
13754
  return xt.apply(void 0, [pe, Se].concat(Ie));
13754
13755
  });
13755
13756
  }, ee.ifError = function pe(xe) {
@@ -18120,8 +18121,8 @@ function RN() {
18120
18121
  if (Ne != null) {
18121
18122
  let He = _e.lexerActionExecutor, pt;
18122
18123
  He != null ? (He = He.fixOffsetBeforeMatch(J.index - this.startIndex), pt = _e.transform(Ne, !0, He)) : (z(_e.lexerActionExecutor == null), pt = _e.transform(Ne, !0));
18123
- let Je = be === S.IntStream.EOF;
18124
- if (this.closure(J, pt, fe, De, !0, Je)) {
18124
+ let Xe = be === S.IntStream.EOF;
18125
+ if (this.closure(J, pt, fe, De, !0, Xe)) {
18125
18126
  Pe = _e.alt;
18126
18127
  break;
18127
18128
  }
@@ -21093,7 +21094,7 @@ function zS() {
21093
21094
  };
21094
21095
  };
21095
21096
  Object.defineProperty(zm, "__esModule", { value: !0 }), zm.ParserATNSimulator = void 0;
21096
- const d = XPe(), f = iFe(), m = ny(), g = Rse(), y = tf(), b = v$(), v = AN(), _ = E$(), S = Ho(), w = sFe(), R = iy(), N = XYt(), D = mb(), B = b$(), I = kse(), $ = zl(), q = ty(), z = Ut(), W = Fse(), X = ON(), J = Bh(), ee = Cc(), fe = ef(), be = Ose(), Pe = JYt(), _e = TN(), De = Mse(), Ke = US(), Ue = Pse(), te = mFe(), Ne = Fi(), He = qh(), pt = cl(), Je = 65535, tt = -2147483648;
21097
+ const d = XPe(), f = iFe(), m = ny(), g = Rse(), y = tf(), b = v$(), v = AN(), _ = E$(), S = Ho(), w = sFe(), R = iy(), N = XYt(), D = mb(), B = b$(), I = kse(), $ = zl(), q = ty(), z = Ut(), W = Fse(), X = ON(), J = Bh(), ee = Cc(), fe = ef(), be = Ose(), Pe = JYt(), _e = TN(), De = Mse(), Ke = US(), Ue = Pse(), te = mFe(), Ne = Fi(), He = qh(), pt = cl(), Xe = 65535, tt = -2147483648;
21097
21098
  let xt = class dn extends _.ATNSimulator {
21098
21099
  constructor(ge, pe) {
21099
21100
  super(ge), this.predictionMode = Pe.PredictionMode.LL, this.force_global_context = !1, this.always_try_local_context = !0, this.enable_global_context_dfa = !1, this.optimize_unique_closure = !0, this.optimize_ll1 = !0, this.optimize_tail_calls = !0, this.tail_call_preserves_sll = !0, this.treat_sllk1_conflict_as_ambiguity = !1, this.reportAmbiguities = !1, this.userWantsCtxSensitive = !0, this._parser = pe;
@@ -21291,7 +21292,7 @@ function zS() {
21291
21292
  if (pt(ze.isAcceptState || ze.prediction === y.ATN.INVALID_ALT_NUMBER), pt(ze.isAcceptState || ze.configs.conflictInfo == null), this.isAcceptState(ze, le)) {
21292
21293
  let Ge = ze.configs.conflictingAlts, vt = Ge == null ? ze.prediction : y.ATN.INVALID_ALT_NUMBER;
21293
21294
  if (vt !== y.ATN.INVALID_ALT_NUMBER) {
21294
- if (this.optimize_ll1 && pe.index === xe && !ge.isPrecedenceDfa && st.outerContext === st.remainingOuterContext && ge.decision >= 0 && !ze.configs.hasSemanticContext && Se >= 0 && Se <= Je) {
21295
+ if (this.optimize_ll1 && pe.index === xe && !ge.isPrecedenceDfa && st.outerContext === st.remainingOuterContext && ge.decision >= 0 && !ze.configs.hasSemanticContext && Se >= 0 && Se <= Xe) {
21295
21296
  let Ft = (ge.decision << 16 >>> 0) + Se;
21296
21297
  this.atn.LL1Table.set(Ft, vt);
21297
21298
  }
@@ -22556,7 +22557,7 @@ function HS() {
22556
22557
  };
22557
22558
  };
22558
22559
  Object.defineProperty(Im, "__esModule", { value: !0 }), Im.ATNDeserializer = void 0;
22559
- const d = iFe(), f = ny(), m = tf(), g = nFe(), y = Ho(), b = sFe(), v = BYt(), _ = eFe(), S = iy(), w = qYt(), R = S$(), N = mb(), D = YPe(), B = UYt(), I = gb(), $ = tFe(), q = zYt(), z = HYt(), W = GYt(), X = WYt(), J = VYt(), ee = QYt(), fe = YYt(), be = KYt(), Pe = dFe(), _e = Ut(), De = Fse(), Ke = zS(), Ue = ZYt(), te = eKt(), Ne = tKt(), He = gFe(), pt = rKt(), Je = nKt(), tt = TN(), xt = Mse(), Be = Pse(), ge = iKt(), pe = sKt(), xe = Dse(), Re = Fi(), Ie = oKt(), le = aKt(), Se = rFe();
22560
+ const d = iFe(), f = ny(), m = tf(), g = nFe(), y = Ho(), b = sFe(), v = BYt(), _ = eFe(), S = iy(), w = qYt(), R = S$(), N = mb(), D = YPe(), B = UYt(), I = gb(), $ = tFe(), q = zYt(), z = HYt(), W = GYt(), X = WYt(), J = VYt(), ee = QYt(), fe = YYt(), be = KYt(), Pe = dFe(), _e = Ut(), De = Fse(), Ke = zS(), Ue = ZYt(), te = eKt(), Ne = tKt(), He = gFe(), pt = rKt(), Xe = nKt(), tt = TN(), xt = Mse(), Be = Pse(), ge = iKt(), pe = sKt(), xe = Dse(), Re = Fi(), Ie = oKt(), le = aKt(), Se = rFe();
22560
22561
  var Le;
22561
22562
  (function(st) {
22562
22563
  st[st.UNICODE_BMP = 0] = "UNICODE_BMP", st[st.UNICODE_SMP = 1] = "UNICODE_SMP";
@@ -22854,7 +22855,7 @@ function HS() {
22854
22855
  else
22855
22856
  throw new Error("IllegalStateException");
22856
22857
  }
22857
- if (Ge instanceof pe.StarLoopbackState && (this.checkCondition(Ge.numberOfTransitions === 1), this.checkCondition(Ge.transition(0).target instanceof xe.StarLoopEntryState)), Ge instanceof Pe.LoopEndState && this.checkCondition(Ge.loopBackState !== void 0), Ge instanceof Je.RuleStartState && this.checkCondition(Ge.stopState !== void 0), Ge instanceof R.BlockStartState && this.checkCondition(Ge.endState !== void 0), Ge instanceof w.BlockEndState && this.checkCondition(Ge.startState !== void 0), Ge instanceof N.DecisionState) {
22858
+ if (Ge instanceof pe.StarLoopbackState && (this.checkCondition(Ge.numberOfTransitions === 1), this.checkCondition(Ge.transition(0).target instanceof xe.StarLoopEntryState)), Ge instanceof Pe.LoopEndState && this.checkCondition(Ge.loopBackState !== void 0), Ge instanceof Xe.RuleStartState && this.checkCondition(Ge.stopState !== void 0), Ge instanceof R.BlockStartState && this.checkCondition(Ge.endState !== void 0), Ge instanceof w.BlockEndState && this.checkCondition(Ge.startState !== void 0), Ge instanceof N.DecisionState) {
22858
22859
  let vt = Ge;
22859
22860
  this.checkCondition(vt.numberOfTransitions <= 1 || vt.decision >= 0);
22860
22861
  } else
@@ -23096,7 +23097,7 @@ function HS() {
23096
23097
  vt = new _.BasicState();
23097
23098
  break;
23098
23099
  case y.ATNStateType.RULE_START:
23099
- vt = new Je.RuleStartState();
23100
+ vt = new Xe.RuleStartState();
23100
23101
  break;
23101
23102
  case y.ATNStateType.BLOCK_START:
23102
23103
  vt = new v.BasicBlockStartState();
@@ -26569,8 +26570,8 @@ function CKt() {
26569
26570
  _e.push(new z.TextChunk(te));
26570
26571
  }
26571
26572
  for (let te = 0; te < Ue; te++) {
26572
- let Ne = fe.substring(De[te] + this.start.length, Ke[te]), He = Ne, pt, Je = Ne.indexOf(":");
26573
- if (Je >= 0 && (pt = Ne.substring(0, Je), He = Ne.substring(Je + 1, Ne.length)), _e.push(new $.TagChunk(He, pt)), te + 1 < Ue) {
26573
+ let Ne = fe.substring(De[te] + this.start.length, Ke[te]), He = Ne, pt, Xe = Ne.indexOf(":");
26574
+ if (Xe >= 0 && (pt = Ne.substring(0, Xe), He = Ne.substring(Xe + 1, Ne.length)), _e.push(new $.TagChunk(He, pt)), te + 1 < Ue) {
26574
26575
  let tt = fe.substring(Ke[te] + this.stop.length, De[te + 1]);
26575
26576
  _e.push(new z.TextChunk(tt));
26576
26577
  }
@@ -30304,10 +30305,10 @@ function YS() {
30304
30305
  Ke.push({ include: He[pt] });
30305
30306
  continue;
30306
30307
  }
30307
- var Je = [];
30308
+ var Xe = [];
30308
30309
  He.forEach(function(tt) {
30309
- g(tt) ? (Je.length && Ke.push(B(te, Je)), Ke.push(B(te, tt)), Je = []) : Je.push(tt);
30310
- }), Je.length && Ke.push(B(te, Je));
30310
+ g(tt) ? (Xe.length && Ke.push(B(te, Xe)), Ke.push(B(te, tt)), Xe = []) : Xe.push(tt);
30311
+ }), Xe.length && Ke.push(B(te, Xe));
30311
30312
  }
30312
30313
  return Ke;
30313
30314
  }
@@ -30354,10 +30355,10 @@ function YS() {
30354
30355
  }
30355
30356
  var $ = B("error", { lineBreaks: !0, shouldThrow: !0 });
30356
30357
  function q(_e, De) {
30357
- for (var Ke = null, Ue = /* @__PURE__ */ Object.create(null), te = !0, Ne = null, He = [], pt = [], Je = 0; Je < _e.length; Je++)
30358
- _e[Je].fallback && (te = !1);
30359
- for (var Je = 0; Je < _e.length; Je++) {
30360
- var tt = _e[Je];
30358
+ for (var Ke = null, Ue = /* @__PURE__ */ Object.create(null), te = !0, Ne = null, He = [], pt = [], Xe = 0; Xe < _e.length; Xe++)
30359
+ _e[Xe].fallback && (te = !1);
30360
+ for (var Xe = 0; Xe < _e.length; Xe++) {
30361
+ var tt = _e[Xe];
30361
30362
  if (tt.include)
30362
30363
  throw new Error("Inheritance is not allowed in stateless lexers");
30363
30364
  if (tt.error || tt.fallback) {
@@ -30427,12 +30428,12 @@ Use (?: … ) instead`);
30427
30428
  te[He] = I(_e[He]).concat(Ke);
30428
30429
  }
30429
30430
  for (var Ne = 0; Ne < Ue.length; Ne++)
30430
- for (var He = Ue[Ne], pt = te[He], Je = /* @__PURE__ */ Object.create(null), tt = 0; tt < pt.length; tt++) {
30431
+ for (var He = Ue[Ne], pt = te[He], Xe = /* @__PURE__ */ Object.create(null), tt = 0; tt < pt.length; tt++) {
30431
30432
  var xt = pt[tt];
30432
30433
  if (xt.include) {
30433
30434
  var Be = [tt, 1];
30434
- if (xt.include !== He && !Je[xt.include]) {
30435
- Je[xt.include] = !0;
30435
+ if (xt.include !== He && !Xe[xt.include]) {
30436
+ Xe[xt.include] = !0;
30436
30437
  var ge = te[xt.include];
30437
30438
  if (!ge)
30438
30439
  throw new Error("Cannot include nonexistent state '" + xt.include + "' (in state '" + He + "')");
@@ -30459,14 +30460,14 @@ Use (?: … ) instead`);
30459
30460
  function J(_e) {
30460
30461
  for (var De = typeof Map < "u", Ke = De ? /* @__PURE__ */ new Map() : /* @__PURE__ */ Object.create(null), Ue = Object.getOwnPropertyNames(_e), te = 0; te < Ue.length; te++) {
30461
30462
  var Ne = Ue[te], He = _e[Ne], pt = Array.isArray(He) ? He : [He];
30462
- pt.forEach(function(Je) {
30463
- if (typeof Je != "string")
30463
+ pt.forEach(function(Xe) {
30464
+ if (typeof Xe != "string")
30464
30465
  throw new Error("keyword must be string (in keyword '" + Ne + "')");
30465
- De ? Ke.set(Je, Ne) : Ke[Je] = Ne;
30466
+ De ? Ke.set(Xe, Ne) : Ke[Xe] = Ne;
30466
30467
  });
30467
30468
  }
30468
- return function(Je) {
30469
- return De ? Ke.get(Je) : Ke[Je];
30469
+ return function(Xe) {
30470
+ return De ? Ke.get(Xe) : Ke[Xe];
30470
30471
  };
30471
30472
  }
30472
30473
  var ee = function(_e, De) {
@@ -30551,8 +30552,8 @@ Use (?: … ) instead`);
30551
30552
  col: this.col
30552
30553
  }, pt = De.length;
30553
30554
  if (this.index += pt, this.line += Ue, Ue !== 0 ? this.col = pt - Ne + 1 : this.col += pt, _e.shouldThrow) {
30554
- var Je = new Error(this.formatError(He, "invalid syntax"));
30555
- throw Je;
30555
+ var Xe = new Error(this.formatError(He, "invalid syntax"));
30556
+ throw Xe;
30556
30557
  }
30557
30558
  return _e.pop ? this.popState() : _e.push ? this.pushState(_e.push) : _e.next && this.setState(_e.next), He;
30558
30559
  }, typeof Symbol < "u" && Symbol.iterator) {
@@ -30581,13 +30582,13 @@ Use (?: … ) instead`);
30581
30582
  var Ue = 2, te = Math.max(_e.line - Ue, 1), Ne = _e.line + Ue, He = String(Ne).length, pt = R(
30582
30583
  this.buffer,
30583
30584
  this.line - _e.line + Ue + 1
30584
- ).slice(0, 5), Je = [];
30585
- Je.push(De + " at line " + _e.line + " col " + _e.col + ":"), Je.push("");
30585
+ ).slice(0, 5), Xe = [];
30586
+ Xe.push(De + " at line " + _e.line + " col " + _e.col + ":"), Xe.push("");
30586
30587
  for (var tt = 0; tt < pt.length; tt++) {
30587
30588
  var xt = pt[tt], Be = te + tt;
30588
- Je.push(w(String(Be), He) + " " + xt), Be === _e.line && Je.push(w("", He + _e.col + 1) + "^");
30589
+ Xe.push(w(String(Be), He) + " " + xt), Be === _e.line && Xe.push(w("", He + _e.col + 1) + "^");
30589
30590
  }
30590
- return Je.join(`
30591
+ return Xe.join(`
30591
30592
  `);
30592
30593
  }, ee.prototype.clone = function() {
30593
30594
  return new ee(this.states, this.state);
@@ -31439,7 +31440,7 @@ function uXt() {
31439
31440
  throw new Error("Not an ASTNumberLiteralValue");
31440
31441
  },
31441
31442
  ViewOperationList() {
31442
- if (H instanceof Je)
31443
+ if (H instanceof Xe)
31443
31444
  return H;
31444
31445
  throw new Error("Not an ASTViewOperationList");
31445
31446
  },
@@ -32970,7 +32971,7 @@ function uXt() {
32970
32971
  constructor(H) {
32971
32972
  super(H, {
32972
32973
  kind: "segment",
32973
- operations: new Je(H.operations)
32974
+ operations: new Xe(H.operations)
32974
32975
  }), this.node = H, this.DEFAULT_INSERTION_ORDER = [
32975
32976
  "group_by",
32976
32977
  "aggregate",
@@ -33469,7 +33470,7 @@ function uXt() {
33469
33470
  }
33470
33471
  }
33471
33472
  a.ASTSegmentViewDefinition = pt;
33472
- class Je extends _ {
33473
+ class Xe extends _ {
33473
33474
  constructor(H) {
33474
33475
  super(H, H.map((oe) => a.ASTViewOperation.from(oe)));
33475
33476
  }
@@ -33489,7 +33490,7 @@ function uXt() {
33489
33490
  return this.parent.as.SegmentViewDefinition();
33490
33491
  }
33491
33492
  }
33492
- a.ASTViewOperationList = Je, a.ASTViewOperation = {
33493
+ a.ASTViewOperationList = Xe, a.ASTViewOperation = {
33493
33494
  from(Fe) {
33494
33495
  switch (Fe.kind) {
33495
33496
  case "group_by":
@@ -37062,7 +37063,7 @@ function AXt() {
37062
37063
  const i = Ge(t, e, !0, 0);
37063
37064
  return i.observers = null, i.observerSlots = null, i.comparator = r.equals || void 0, st(i), Le.bind(i);
37064
37065
  }
37065
- function Je(t) {
37066
+ function Xe(t) {
37066
37067
  return Et(t, !1);
37067
37068
  }
37068
37069
  function tt(t) {
@@ -38454,10 +38455,10 @@ function AXt() {
38454
38455
  return h(yt) === "[object Generator]";
38455
38456
  }
38456
38457
  t.isGeneratorObject = Ce;
38457
- function Xe(yt) {
38458
+ function Je(yt) {
38458
38459
  return h(yt) === "[object WebAssembly.Module]";
38459
38460
  }
38460
- t.isWebAssemblyCompiledModule = Xe;
38461
+ t.isWebAssemblyCompiledModule = Je;
38461
38462
  function Ae(yt) {
38462
38463
  return O(yt, p);
38463
38464
  }
@@ -38515,10 +38516,10 @@ function AXt() {
38515
38516
  for (var se = [], de = 0; de < arguments.length; de++) se.push(c(arguments[de]));
38516
38517
  return se.join(" ");
38517
38518
  }
38518
- for (var de = 1, we = arguments, qe = we.length, ce = String(ue).replace(i, function(Xe) {
38519
- if (Xe === "%%") return "%";
38520
- if (de >= qe) return Xe;
38521
- switch (Xe) {
38519
+ for (var de = 1, we = arguments, qe = we.length, ce = String(ue).replace(i, function(Je) {
38520
+ if (Je === "%%") return "%";
38521
+ if (de >= qe) return Je;
38522
+ switch (Je) {
38522
38523
  case "%s":
38523
38524
  return String(we[de++]);
38524
38525
  case "%d":
@@ -38530,7 +38531,7 @@ function AXt() {
38530
38531
  return "[Circular]";
38531
38532
  }
38532
38533
  default:
38533
- return Xe;
38534
+ return Je;
38534
38535
  }
38535
38536
  }), ae = we[de]; de < qe; ae = we[++de]) j(ae) || !me(ae) ? ce += " " + ae : ce += " " + c(ae);
38536
38537
  return ce;
@@ -38601,18 +38602,18 @@ function AXt() {
38601
38602
  if (ie(se)) return ue.stylize(Date.prototype.toString.call(se), "date");
38602
38603
  if (ve(se)) return T(se);
38603
38604
  }
38604
- var Xe = "", Ae = !1, $e = ["{", "}"];
38605
+ var Je = "", Ae = !1, $e = ["{", "}"];
38605
38606
  if (F(se) && (Ae = !0, $e = ["[", "]"]), ye(se)) {
38606
38607
  var Ee = se.name ? ": " + se.name : "";
38607
- Xe = " [Function" + Ee + "]";
38608
+ Je = " [Function" + Ee + "]";
38608
38609
  }
38609
- if (re(se) && (Xe = " " + RegExp.prototype.toString.call(se)), ie(se) && (Xe = " " + Date.prototype.toUTCString.call(se)), ve(se) && (Xe = " " + T(se)), ce.length === 0 && (!Ae || se.length == 0)) return $e[0] + Xe + $e[1];
38610
+ if (re(se) && (Je = " " + RegExp.prototype.toString.call(se)), ie(se) && (Je = " " + Date.prototype.toUTCString.call(se)), ve(se) && (Je = " " + T(se)), ce.length === 0 && (!Ae || se.length == 0)) return $e[0] + Je + $e[1];
38610
38611
  if (de < 0) return re(se) ? ue.stylize(RegExp.prototype.toString.call(se), "regexp") : ue.stylize("[Object]", "special");
38611
38612
  ue.seen.push(se);
38612
38613
  var Ve;
38613
38614
  return Ae ? Ve = O(ue, se, de, ae, ce) : Ve = ce.map(function(dt) {
38614
38615
  return k(ue, se, de, ae, dt, Ae);
38615
- }), ue.seen.pop(), L(Ve, Xe, $e);
38616
+ }), ue.seen.pop(), L(Ve, Je, $e);
38616
38617
  }
38617
38618
  function A(ue, se) {
38618
38619
  if (Z(se)) return ue.stylize("undefined", "undefined");
@@ -38629,13 +38630,13 @@ function AXt() {
38629
38630
  }
38630
38631
  function O(ue, se, de, we, qe) {
38631
38632
  for (var ce = [], ae = 0, Ce = se.length; ae < Ce; ++ae) nt(se, String(ae)) ? ce.push(k(ue, se, de, we, String(ae), !0)) : ce.push("");
38632
- return qe.forEach(function(Xe) {
38633
- Xe.match(/^\d+$/) || ce.push(k(ue, se, de, we, Xe, !0));
38633
+ return qe.forEach(function(Je) {
38634
+ Je.match(/^\d+$/) || ce.push(k(ue, se, de, we, Je, !0));
38634
38635
  }), ce;
38635
38636
  }
38636
38637
  function k(ue, se, de, we, qe, ce) {
38637
- var ae, Ce, Xe;
38638
- if (Xe = Object.getOwnPropertyDescriptor(se, qe) || { value: se[qe] }, Xe.get ? Xe.set ? Ce = ue.stylize("[Getter/Setter]", "special") : Ce = ue.stylize("[Getter]", "special") : Xe.set && (Ce = ue.stylize("[Setter]", "special")), nt(we, qe) || (ae = "[" + qe + "]"), Ce || (ue.seen.indexOf(Xe.value) < 0 ? (j(de) ? Ce = E(ue, Xe.value, null) : Ce = E(ue, Xe.value, de - 1), Ce.indexOf(`
38638
+ var ae, Ce, Je;
38639
+ if (Je = Object.getOwnPropertyDescriptor(se, qe) || { value: se[qe] }, Je.get ? Je.set ? Ce = ue.stylize("[Getter/Setter]", "special") : Ce = ue.stylize("[Getter]", "special") : Je.set && (Ce = ue.stylize("[Setter]", "special")), nt(we, qe) || (ae = "[" + qe + "]"), Ce || (ue.seen.indexOf(Je.value) < 0 ? (j(de) ? Ce = E(ue, Je.value, null) : Ce = E(ue, Je.value, de - 1), Ce.indexOf(`
38639
38640
  `) > -1 && (ce ? Ce = Ce.split(`
38640
38641
  `).map(function(Ae) {
38641
38642
  return " " + Ae;
@@ -38747,11 +38748,11 @@ function AXt() {
38747
38748
  return Object.defineProperty(se, We, { value: se, enumerable: !1, writable: !1, configurable: !0 }), se;
38748
38749
  }
38749
38750
  function se() {
38750
- for (var de, we, qe = new Promise(function(Ce, Xe) {
38751
- de = Ce, we = Xe;
38751
+ for (var de, we, qe = new Promise(function(Ce, Je) {
38752
+ de = Ce, we = Je;
38752
38753
  }), ce = [], ae = 0; ae < arguments.length; ae++) ce.push(arguments[ae]);
38753
- ce.push(function(Ce, Xe) {
38754
- Ce ? we(Ce) : de(Xe);
38754
+ ce.push(function(Ce, Je) {
38755
+ Ce ? we(Ce) : de(Je);
38755
38756
  });
38756
38757
  try {
38757
38758
  ue.apply(this, ce);
@@ -39078,7 +39079,7 @@ function AXt() {
39078
39079
  function rt(nt, We, Ye) {
39079
39080
  var Ct = "", ue = "", se = 0, de = "", we = !1, qe = Me(nt), ce = qe.split(`
39080
39081
  `), ae = Me(We).split(`
39081
- `), Ce = 0, Xe = "";
39082
+ `), Ce = 0, Je = "";
39082
39083
  if (Ye === "strictEqual" && M(nt) === "object" && M(We) === "object" && nt !== null && We !== null && (Ye = "strictEqualObject"), ce.length === 1 && ae.length === 1 && ce[0] !== ae[0]) {
39083
39084
  var Ae = ce[0].length + ae[0].length;
39084
39085
  if (Ae <= Te) {
@@ -39090,7 +39091,7 @@ function AXt() {
39090
39091
  var $e = process.stderr && process.stderr.isTTY ? process.stderr.columns : 80;
39091
39092
  if (Ae < $e) {
39092
39093
  for (; ce[0][Ce] === ae[0][Ce]; ) Ce++;
39093
- Ce > 2 && (Xe = `
39094
+ Ce > 2 && (Je = `
39094
39095
  `.concat(Z(" ", Ce), "^"), Ce = 0);
39095
39096
  }
39096
39097
  }
@@ -39141,7 +39142,7 @@ function AXt() {
39141
39142
  `) + "".concat(re, "...").concat(ve);
39142
39143
  }
39143
39144
  return "".concat(yt).concat(we ? Dt : "", `
39144
- `).concat(ue).concat(Ct).concat(de).concat(Xe);
39145
+ `).concat(ue).concat(Ct).concat(de).concat(Je);
39145
39146
  }
39146
39147
  var ft = function(nt, We) {
39147
39148
  h(Ct, nt);
@@ -39153,10 +39154,10 @@ function AXt() {
39153
39154
  if (Error.stackTraceLimit = 0, de != null) se = Ye.call(this, String(de));
39154
39155
  else if (process.stderr && process.stderr.isTTY && (process.stderr && process.stderr.getColorDepth && process.stderr.getColorDepth() !== 1 ? (re = "\x1B[34m", me = "\x1B[32m", ve = "\x1B[39m", ie = "\x1B[31m") : (re = "", me = "", ve = "", ie = "")), M(ce) === "object" && ce !== null && M(ae) === "object" && ae !== null && "stack" in ce && ce instanceof Error && "stack" in ae && ae instanceof Error && (ce = ke(ce), ae = ke(ae)), we === "deepStrictEqual" || we === "strictEqual") se = Ye.call(this, rt(ce, ae, we));
39155
39156
  else if (we === "notDeepStrictEqual" || we === "notStrictEqual") {
39156
- var Xe = ye[we], Ae = Me(ce).split(`
39157
+ var Je = ye[we], Ae = Me(ce).split(`
39157
39158
  `);
39158
- if (we === "notStrictEqual" && M(ce) === "object" && ce !== null && (Xe = ye.notStrictEqualObject), Ae.length > 30) for (Ae[26] = "".concat(re, "...").concat(ve); Ae.length > 27; ) Ae.pop();
39159
- Ae.length === 1 ? se = Ye.call(this, "".concat(Xe, " ").concat(Ae[0])) : se = Ye.call(this, "".concat(Xe, `
39159
+ if (we === "notStrictEqual" && M(ce) === "object" && ce !== null && (Je = ye.notStrictEqualObject), Ae.length > 30) for (Ae[26] = "".concat(re, "...").concat(ve); Ae.length > 27; ) Ae.pop();
39160
+ Ae.length === 1 ? se = Ye.call(this, "".concat(Je, " ").concat(Ae[0])) : se = Ye.call(this, "".concat(Je, `
39160
39161
 
39161
39162
  `).concat(Ae.join(`
39162
39163
  `), `
@@ -39472,7 +39473,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
39472
39473
  function Ce(Ze, bt) {
39473
39474
  return me(Ze) ? me(bt) && x(Number.prototype.valueOf.call(Ze), Number.prototype.valueOf.call(bt)) : ie(Ze) ? ie(bt) && String.prototype.valueOf.call(Ze) === String.prototype.valueOf.call(bt) : ve(Ze) ? ve(bt) && Boolean.prototype.valueOf.call(Ze) === Boolean.prototype.valueOf.call(bt) : ye(Ze) ? ye(bt) && BigInt.prototype.valueOf.call(Ze) === BigInt.prototype.valueOf.call(bt) : Te(bt) && Symbol.prototype.valueOf.call(Ze) === Symbol.prototype.valueOf.call(bt);
39474
39475
  }
39475
- function Xe(Ze, bt, Vt, nr) {
39476
+ function Je(Ze, bt, Vt, nr) {
39476
39477
  if (Ze === bt) return Ze !== 0 ? !0 : Vt ? x(Ze, bt) : !0;
39477
39478
  if (Vt) {
39478
39479
  if (l(Ze) !== "object") return typeof Ze == "number" && A(Ze) && A(bt);
@@ -39557,7 +39558,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
39557
39558
  function Ee(Ze, bt, Vt, nr) {
39558
39559
  for (var ct = h(Ze), et = 0; et < ct.length; et++) {
39559
39560
  var it = ct[et];
39560
- if (Xe(bt, it, Vt, nr)) return Ze.delete(it), !0;
39561
+ if (Je(bt, it, Vt, nr)) return Ze.delete(it), !0;
39561
39562
  }
39562
39563
  return !1;
39563
39564
  }
@@ -39584,7 +39585,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
39584
39585
  var et = Ve(Vt);
39585
39586
  if (et != null) return et;
39586
39587
  var it = bt.get(et);
39587
- return it === void 0 && !bt.has(et) || !Xe(nr, it, !1, ct) ? !1 : !Ze.has(et) && Xe(nr, it, !1, ct);
39588
+ return it === void 0 && !bt.has(et) || !Je(nr, it, !1, ct) ? !1 : !Ze.has(et) && Je(nr, it, !1, ct);
39588
39589
  }
39589
39590
  function _t(Ze, bt, Vt, nr) {
39590
39591
  for (var ct = null, et = h(Ze), it = 0; it < et.length; it++) {
@@ -39609,7 +39610,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
39609
39610
  function yt(Ze, bt, Vt, nr, ct, et) {
39610
39611
  for (var it = h(Ze), Oe = 0; Oe < it.length; Oe++) {
39611
39612
  var ot = it[Oe];
39612
- if (Xe(Vt, ot, ct, et) && Xe(nr, bt.get(ot), ct, et)) return Ze.delete(ot), !0;
39613
+ if (Je(Vt, ot, ct, et) && Je(nr, bt.get(ot), ct, et)) return Ze.delete(ot), !0;
39613
39614
  }
39614
39615
  return !1;
39615
39616
  }
@@ -39619,7 +39620,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
39619
39620
  if (l(ot) === "object" && ot !== null) ct === null && (ct = /* @__PURE__ */ new Set()), ct.add(ot);
39620
39621
  else {
39621
39622
  var mt = bt.get(ot);
39622
- if (mt === void 0 && !bt.has(ot) || !Xe(wt, mt, Vt, nr)) {
39623
+ if (mt === void 0 && !bt.has(ot) || !Je(wt, mt, Vt, nr)) {
39623
39624
  if (Vt || !ut(Ze, bt, ot, wt, nr)) return !1;
39624
39625
  ct === null && (ct = /* @__PURE__ */ new Set()), ct.add(ot);
39625
39626
  }
@@ -39630,7 +39631,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
39630
39631
  var hr = t(Qt[mr], 2), lr = hr[0], zn = hr[1];
39631
39632
  if (l(lr) === "object" && lr !== null) {
39632
39633
  if (!yt(ct, Ze, lr, zn, Vt, nr)) return !1;
39633
- } else if (!Vt && (!Ze.has(lr) || !Xe(Ze.get(lr), zn, !1, nr)) && !yt(ct, Ze, lr, zn, !1, nr)) return !1;
39634
+ } else if (!Vt && (!Ze.has(lr) || !Je(Ze.get(lr), zn, !1, nr)) && !yt(ct, Ze, lr, zn, !1, nr)) return !1;
39634
39635
  }
39635
39636
  return ct.size === 0;
39636
39637
  }
@@ -39643,26 +39644,26 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
39643
39644
  } else if (et === de) {
39644
39645
  if (!Dt(Ze, bt, Vt, ct)) return !1;
39645
39646
  } else if (et === ue) for (; it < Ze.length; it++) if (O(Ze, it)) {
39646
- if (!O(bt, it) || !Xe(Ze[it], bt[it], Vt, ct)) return !1;
39647
+ if (!O(bt, it) || !Je(Ze[it], bt[it], Vt, ct)) return !1;
39647
39648
  } else {
39648
39649
  if (O(bt, it)) return !1;
39649
39650
  for (var Oe = Object.keys(Ze); it < Oe.length; it++) {
39650
39651
  var ot = Oe[it];
39651
- if (!O(bt, ot) || !Xe(Ze[ot], bt[ot], Vt, ct)) return !1;
39652
+ if (!O(bt, ot) || !Je(Ze[ot], bt[ot], Vt, ct)) return !1;
39652
39653
  }
39653
39654
  return Oe.length === Object.keys(bt).length;
39654
39655
  }
39655
39656
  for (it = 0; it < nr.length; it++) {
39656
39657
  var wt = nr[it];
39657
- if (!Xe(Ze[wt], bt[wt], Vt, ct)) return !1;
39658
+ if (!Je(Ze[wt], bt[wt], Vt, ct)) return !1;
39658
39659
  }
39659
39660
  return !0;
39660
39661
  }
39661
39662
  function pr(Ze, bt) {
39662
- return Xe(Ze, bt, Ye);
39663
+ return Je(Ze, bt, Ye);
39663
39664
  }
39664
39665
  function _r(Ze, bt) {
39665
- return Xe(Ze, bt, We);
39666
+ return Je(Ze, bt, We);
39666
39667
  }
39667
39668
  return sq = { isDeepEqual: pr, isDeepStrictEqual: _r }, sq;
39668
39669
  }
@@ -39700,8 +39701,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
39700
39701
  else {
39701
39702
  if (Q === !1) {
39702
39703
  Q = !0;
39703
- var Xe = process.emitWarning ? process.emitWarning : console.warn.bind(console);
39704
- Xe("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.", "DeprecationWarning", "DEP0094");
39704
+ var Je = process.emitWarning ? process.emitWarning : console.warn.bind(console);
39705
+ Je("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.", "DeprecationWarning", "DEP0094");
39705
39706
  }
39706
39707
  ae === 2 && (qe = "!=");
39707
39708
  }
@@ -39761,7 +39762,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
39761
39762
  function ke(se, de, we, qe, ce, ae) {
39762
39763
  if (!(we in se) || !U(se[we], de[we])) {
39763
39764
  if (!qe) {
39764
- var Ce = new Te(se, ce), Xe = new Te(de, ce, se), Ae = new x({ actual: Ce, expected: Xe, operator: "deepStrictEqual", stackStartFn: ae });
39765
+ var Ce = new Te(se, ce), Je = new Te(de, ce, se), Ae = new x({ actual: Ce, expected: Je, operator: "deepStrictEqual", stackStartFn: ae });
39765
39766
  throw Ae.actual = se, Ae.expected = de, Ae.operator = ae.name, Ae;
39766
39767
  }
39767
39768
  re({ actual: se, expected: de, message: qe, operator: ae.name, stackStartFn: ae });
@@ -39864,8 +39865,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
39864
39865
  `);
39865
39866
  ae.shift();
39866
39867
  for (var Ce = qe.stack.split(`
39867
- `), Xe = 0; Xe < ae.length; Xe++) {
39868
- var Ae = Ce.indexOf(ae[Xe]);
39868
+ `), Je = 0; Je < ae.length; Je++) {
39869
+ var Ae = Ce.indexOf(ae[Je]);
39869
39870
  if (Ae !== -1) {
39870
39871
  Ce = Ce.slice(0, Ae);
39871
39872
  break;
@@ -39889,8 +39890,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
39889
39890
 
39890
39891
  `).concat(A(se), `
39891
39892
  `));
39892
- var Xe = new x({ actual: se, expected: de, message: we, operator: ce, stackStartFn: qe });
39893
- throw Xe.generatedMessage = Ce, Xe;
39893
+ var Je = new x({ actual: se, expected: de, message: we, operator: ce, stackStartFn: qe });
39894
+ throw Je.generatedMessage = Ce, Je;
39894
39895
  }
39895
39896
  }
39896
39897
  V.match = function se(de, we, qe) {
@@ -44623,9 +44624,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
44623
44624
  we === void 0 && (we = !1);
44624
44625
  let qe = this.atn.decisionToDFA[se];
44625
44626
  if (ft(qe != null), this.optimize_ll1 && !qe.isPrecedenceDfa && !qe.isEmpty) {
44626
- let Xe = ue.LA(1);
44627
- if (Xe >= 0 && Xe <= 65535) {
44628
- let Ae = (se << 16 >>> 0) + Xe, $e = this.atn.LL1Table.get(Ae);
44627
+ let Je = ue.LA(1);
44628
+ if (Je >= 0 && Je <= 65535) {
44629
+ let Ae = (se << 16 >>> 0) + Je, $e = this.atn.LL1Table.get(Ae);
44629
44630
  if ($e != null) return $e;
44630
44631
  }
44631
44632
  }
@@ -44634,8 +44635,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
44634
44635
  qe.isEmpty || (ce = this.getStartState(qe, ue, de, we)), ce == null && (de == null && (de = V.ParserRuleContext.emptyContext()), fn.debug && console.log("ATN decision " + qe.decision + " exec LA(1)==" + this.getLookaheadName(ue) + ", outerContext=" + de.toString(this._parser)), ce = this.computeStartState(qe, de, we));
44635
44636
  let ae = ue.mark(), Ce = ue.index;
44636
44637
  try {
44637
- let Xe = this.execDFA(qe, ue, Ce, ce);
44638
- return fn.debug && console.log("DFA after predictATN: " + qe.toString(this._parser.vocabulary, this._parser.ruleNames)), Xe;
44638
+ let Je = this.execDFA(qe, ue, Ce, ce);
44639
+ return fn.debug && console.log("DFA after predictATN: " + qe.toString(this._parser.vocabulary, this._parser.ruleNames)), Je;
44639
44640
  } finally {
44640
44641
  this.dfa = void 0, ue.seek(Ce), ue.release(ae);
44641
44642
  }
@@ -44701,11 +44702,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
44701
44702
  }
44702
44703
  return se.seek(de), this.adaptivePredict(se, ue.decision, qe, !0);
44703
44704
  }
44704
- let Xe = ce.predicates;
44705
- if (Xe != null) {
44705
+ let Je = ce.predicates;
44706
+ if (Je != null) {
44706
44707
  let Ae = se.index;
44707
44708
  de !== Ae && se.seek(de);
44708
- let $e = this.evalSemanticContext(Xe, qe, this.reportAmbiguities && this.predictionMode === me.PredictionMode.LL_EXACT_AMBIG_DETECTION);
44709
+ let $e = this.evalSemanticContext(Je, qe, this.reportAmbiguities && this.predictionMode === me.PredictionMode.LL_EXACT_AMBIG_DETECTION);
44709
44710
  switch ($e.cardinality()) {
44710
44711
  case 0:
44711
44712
  throw this.noViableAlt(se, qe, ce.configs, de);
@@ -44722,9 +44723,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
44722
44723
  }
44723
44724
  execATN(ue, se, de, we) {
44724
44725
  fn.debug && console.log("execATN decision " + ue.decision + " exec LA(1)==" + this.getLookaheadName(se));
44725
- let qe = we.outerContext, ce = we.useContext, ae = se.LA(1), Ce = we, Xe = new re.PredictionContextCache();
44726
+ let qe = we.outerContext, ce = we.useContext, ae = se.LA(1), Ce = we, Je = new re.PredictionContextCache();
44726
44727
  for (; ; ) {
44727
- let Ae = this.computeReachSet(ue, Ce, ae, Xe);
44728
+ let Ae = this.computeReachSet(ue, Ce, ae, Je);
44728
44729
  if (Ae == null) return this.setDFAEdge(Ce.s0, se.LA(1), p.ATNSimulator.ERROR), this.handleNoViableAlt(se, de, Ce);
44729
44730
  let $e = Ae.s0;
44730
44731
  if (ft($e.isAcceptState || $e.prediction === l.ATN.INVALID_ALT_NUMBER), ft($e.isAcceptState || $e.configs.conflictInfo == null), this.isAcceptState($e, ce)) {
@@ -44777,13 +44778,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
44777
44778
  if (ae != null) {
44778
44779
  let Ce = this.getPredicatePredictions(we, ae);
44779
44780
  if (Ce != null) {
44780
- let Xe = ue.index;
44781
+ let Je = ue.index;
44781
44782
  try {
44782
44783
  ue.seek(se);
44783
44784
  let Ae = this.evalSemanticContext(Ce, de.outerContext, !1);
44784
44785
  if (!Ae.isEmpty) return Ae.nextSetBit(0);
44785
44786
  } finally {
44786
- ue.seek(Xe);
44787
+ ue.seek(Je);
44787
44788
  }
44788
44789
  }
44789
44790
  }
@@ -44800,21 +44801,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
44800
44801
  ft(ce != null), ce = ce.parent, ae = Ae;
44801
44802
  }
44802
44803
  if (ft(!this.isAcceptState(ae, qe)), this.isAcceptState(ae, qe)) return new ke.SimulatorState(se.outerContext, ae, qe, ce);
44803
- let Ce = ae, Xe = this.getExistingTargetState(Ce, de);
44804
- if (Xe == null) {
44804
+ let Ce = ae, Je = this.getExistingTargetState(Ce, de);
44805
+ if (Je == null) {
44805
44806
  let Ae = this.computeTargetState(ue, Ce, ce, de, qe, we);
44806
- Xe = Ae[0], ce = Ae[1];
44807
+ Je = Ae[0], ce = Ae[1];
44807
44808
  }
44808
- if (Xe !== p.ATNSimulator.ERROR) return ft(!qe || !Xe.configs.dipsIntoOuterContext), new ke.SimulatorState(se.outerContext, Xe, qe, ce);
44809
+ if (Je !== p.ATNSimulator.ERROR) return ft(!qe || !Je.configs.dipsIntoOuterContext), new ke.SimulatorState(se.outerContext, Je, qe, ce);
44809
44810
  }
44810
44811
  getExistingTargetState(ue, se) {
44811
44812
  return ue.getTarget(se);
44812
44813
  }
44813
44814
  computeTargetState(ue, se, de, we, qe, ce) {
44814
- let ae = se.configs.toArray(), Ce, Xe = new h.ATNConfigSet(), Ae;
44815
+ let ae = se.configs.toArray(), Ce, Je = new h.ATNConfigSet(), Ae;
44815
44816
  do {
44816
44817
  let $e = !qe || de != null;
44817
- $e || (Xe.isOutermostConfigSet = !0);
44818
+ $e || (Je.isOutermostConfigSet = !0);
44818
44819
  let Ee = new h.ATNConfigSet(), Ve;
44819
44820
  for (let _t of ae) {
44820
44821
  if (fn.debug && console.log("testing " + this.getTokenName(we) + " at " + _t.toString()), _t.state instanceof ie.RuleStopState) {
@@ -44828,21 +44829,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
44828
44829
  }
44829
44830
  }
44830
44831
  if (this.optimize_unique_closure && Ve == null && we !== Me.Token.EOF && Ee.uniqueAlt !== l.ATN.INVALID_ALT_NUMBER) {
44831
- Ee.isOutermostConfigSet = Xe.isOutermostConfigSet, Xe = Ee;
44832
+ Ee.isOutermostConfigSet = Je.isOutermostConfigSet, Je = Ee;
44832
44833
  break;
44833
44834
  }
44834
44835
  let dt = !1, ut = we === Me.Token.EOF;
44835
- if (this.closure(Ee, Xe, dt, $e, ce, ut), Ae = Xe.dipsIntoOuterContext, we === M.IntStream.EOF && (Xe = this.removeAllConfigsNotInRuleStopState(Xe, ce)), Ve != null && (!qe || !me.PredictionMode.hasConfigInRuleStopState(Xe))) {
44836
+ if (this.closure(Ee, Je, dt, $e, ce, ut), Ae = Je.dipsIntoOuterContext, we === M.IntStream.EOF && (Je = this.removeAllConfigsNotInRuleStopState(Je, ce)), Ve != null && (!qe || !me.PredictionMode.hasConfigInRuleStopState(Je))) {
44836
44837
  ft(Ve.length > 0);
44837
- for (let _t of Ve) Xe.add(_t, ce);
44838
+ for (let _t of Ve) Je.add(_t, ce);
44838
44839
  }
44839
44840
  if (qe && Ae) {
44840
- Xe.clear(), de = de, de = this.skipTailCalls(de);
44841
+ Je.clear(), de = de, de = this.skipTailCalls(de);
44841
44842
  let _t = this.getReturnState(de);
44842
44843
  if (Ce == null && (Ce = new L.IntegerList()), de.isEmpty ? de = void 0 : de = de.parent, Ce.add(_t), _t !== Z.PredictionContext.EMPTY_FULL_STATE_KEY) for (let yt = 0; yt < ae.length; yt++) ae[yt] = ae[yt].appendContext(_t, ce);
44843
44844
  }
44844
44845
  } while (qe && Ae);
44845
- return Xe.isEmpty ? (this.setDFAEdge(se, we, p.ATNSimulator.ERROR), [p.ATNSimulator.ERROR, de]) : [this.addDFAEdge(ue, se, we, Ce, Xe, ce), de];
44846
+ return Je.isEmpty ? (this.setDFAEdge(se, we, p.ATNSimulator.ERROR), [p.ATNSimulator.ERROR, de]) : [this.addDFAEdge(ue, se, we, Ce, Je, ce), de];
44846
44847
  }
44847
44848
  removeAllConfigsNotInRuleStopState(ue, se) {
44848
44849
  if (me.PredictionMode.allConfigsInRuleStopStates(ue)) return ue;
@@ -44857,12 +44858,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
44857
44858
  we.setContextSensitive(this.atn);
44858
44859
  }
44859
44860
  ue.decision;
44860
- let qe = ue.atnStartState, ce = 0, ae = se, Ce = de ? Z.PredictionContext.EMPTY_FULL : Z.PredictionContext.EMPTY_LOCAL, Xe = new re.PredictionContextCache();
44861
+ let qe = ue.atnStartState, ce = 0, ae = se, Ce = de ? Z.PredictionContext.EMPTY_FULL : Z.PredictionContext.EMPTY_LOCAL, Je = new re.PredictionContextCache();
44861
44862
  if (de) {
44862
- if (!this.enable_global_context_dfa) for (; ae != null; ) ae.isEmpty ? (ce = Z.PredictionContext.EMPTY_FULL_STATE_KEY, ae = void 0) : (ce = this.getReturnState(ae), Ce = Ce.appendSingleContext(ce, Xe), ae = ae.parent);
44863
+ if (!this.enable_global_context_dfa) for (; ae != null; ) ae.isEmpty ? (ce = Z.PredictionContext.EMPTY_FULL_STATE_KEY, ae = void 0) : (ce = this.getReturnState(ae), Ce = Ce.appendSingleContext(ce, Je), ae = ae.parent);
44863
44864
  for (; we != null && we.isContextSensitive && ae != null; ) {
44864
44865
  let $e;
44865
- if (ae = this.skipTailCalls(ae), ae.isEmpty ? ($e = we.getContextTarget(Z.PredictionContext.EMPTY_FULL_STATE_KEY), ce = Z.PredictionContext.EMPTY_FULL_STATE_KEY, ae = void 0) : (ce = this.getReturnState(ae), $e = we.getContextTarget(ce), Ce = Ce.appendSingleContext(ce, Xe), ae = ae.parent), $e == null) break;
44866
+ if (ae = this.skipTailCalls(ae), ae.isEmpty ? ($e = we.getContextTarget(Z.PredictionContext.EMPTY_FULL_STATE_KEY), ce = Z.PredictionContext.EMPTY_FULL_STATE_KEY, ae = void 0) : (ce = this.getReturnState(ae), $e = we.getContextTarget(ce), Ce = Ce.appendSingleContext(ce, Je), ae = ae.parent), $e == null) break;
44866
44867
  we = $e;
44867
44868
  }
44868
44869
  }
@@ -44875,16 +44876,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
44875
44876
  $e.add(c.ATNConfig.create(Dt, yt + 1, Ce));
44876
44877
  }
44877
44878
  let Ve = ae != null;
44878
- Ve || (Ae.isOutermostConfigSet = !0), this.closure($e, Ae, !0, Ve, Xe, !1);
44879
+ Ve || (Ae.isOutermostConfigSet = !0), this.closure($e, Ae, !0, Ve, Je, !1);
44879
44880
  let dt = Ae.dipsIntoOuterContext, ut;
44880
44881
  if (de && !this.enable_global_context_dfa) {
44881
- we = this.addDFAState(ue, Ae, Xe);
44882
+ we = this.addDFAState(ue, Ae, Je);
44882
44883
  break;
44883
- } else we == null ? ue.isPrecedenceDfa ? (Ae = this.applyPrecedenceFilter(Ae, se, Xe), ut = this.addDFAState(ue, Ae, Xe), ue.setPrecedenceStartState(this._parser.precedence, de, ut)) : (ut = this.addDFAState(ue, Ae, Xe), de ? ue.s0full ? ut = ue.s0full : ue.s0full = ut : ue.s0 ? ut = ue.s0 : ue.s0 = ut) : (ue.isPrecedenceDfa && (Ae = this.applyPrecedenceFilter(Ae, se, Xe)), ut = this.addDFAState(ue, Ae, Xe), we.setContextTarget(ce, ut));
44884
+ } else we == null ? ue.isPrecedenceDfa ? (Ae = this.applyPrecedenceFilter(Ae, se, Je), ut = this.addDFAState(ue, Ae, Je), ue.setPrecedenceStartState(this._parser.precedence, de, ut)) : (ut = this.addDFAState(ue, Ae, Je), de ? ue.s0full ? ut = ue.s0full : ue.s0full = ut : ue.s0 ? ut = ue.s0 : ue.s0 = ut) : (ue.isPrecedenceDfa && (Ae = this.applyPrecedenceFilter(Ae, se, Je)), ut = this.addDFAState(ue, Ae, Je), we.setContextTarget(ce, ut));
44884
44885
  if (we = ut, !de || !dt) break;
44885
44886
  ut.setContextSensitive(this.atn), ae = ae, Ae.clear(), ae = this.skipTailCalls(ae);
44886
44887
  let _t = this.getReturnState(ae);
44887
- ae.isEmpty ? ae = void 0 : ae = ae.parent, _t !== Z.PredictionContext.EMPTY_FULL_STATE_KEY && (Ce = Ce.appendSingleContext(_t, Xe)), ce = _t;
44888
+ ae.isEmpty ? ae = void 0 : ae = ae.parent, _t !== Z.PredictionContext.EMPTY_FULL_STATE_KEY && (Ce = Ce.appendSingleContext(_t, Je)), ce = _t;
44888
44889
  }
44889
44890
  return new ke.SimulatorState(se, we, de, ae);
44890
44891
  }
@@ -44949,12 +44950,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
44949
44950
  qe == null && (qe = re.PredictionContextCache.UNCACHED);
44950
44951
  let ae = ue, Ce = new s.Array2DHashSet(Q.ObjectEqualityComparator.INSTANCE);
44951
44952
  for (; ae.size > 0; ) {
44952
- let Xe = new h.ATNConfigSet();
44953
- for (let Ae of ae) this.closureImpl(Ae, se, Xe, Ce, de, we, qe, 0, ce);
44954
- ae = Xe;
44953
+ let Je = new h.ATNConfigSet();
44954
+ for (let Ae of ae) this.closureImpl(Ae, se, Je, Ce, de, we, qe, 0, ce);
44955
+ ae = Je;
44955
44956
  }
44956
44957
  }
44957
- closureImpl(ue, se, de, we, qe, ce, ae, Ce, Xe) {
44958
+ closureImpl(ue, se, de, we, qe, ce, ae, Ce, Je) {
44958
44959
  if (fn.debug && console.log("closure(" + ue.toString(this._parser, !0) + ")"), ue.state instanceof ie.RuleStopState) if (ue.context.isEmpty) if (ce) fn.debug && console.log("FALLING off rule " + this.getRuleName(ue.state.ruleIndex)), ue.context === Z.PredictionContext.EMPTY_FULL ? ue = ue.transform(ue.state, !1, Z.PredictionContext.EMPTY_LOCAL) : !ue.reachesIntoOuterContext && Z.PredictionContext.isEmptyLocal(ue.context) && se.add(ue, ae);
44959
44960
  else {
44960
44961
  se.add(ue, ae);
@@ -44964,7 +44965,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
44964
44965
  let $e = ue.context.hasEmpty, Ee = ue.context.size - ($e ? 1 : 0);
44965
44966
  for (let Ve = 0; Ve < Ee; Ve++) {
44966
44967
  let dt = ue.context.getParent(Ve), ut = this.atn.states[ue.context.getReturnState(Ve)], _t = c.ATNConfig.create(ut, ue.alt, dt, ue.semanticContext);
44967
- _t.outerContextDepth = ue.outerContextDepth, _t.isPrecedenceFilterSuppressed = ue.isPrecedenceFilterSuppressed, ft(Ce > We), this.closureImpl(_t, se, de, we, qe, ce, ae, Ce - 1, Xe);
44968
+ _t.outerContextDepth = ue.outerContextDepth, _t.isPrecedenceFilterSuppressed = ue.isPrecedenceFilterSuppressed, ft(Ce > We), this.closureImpl(_t, se, de, we, qe, ce, ae, Ce - 1, Je);
44968
44969
  }
44969
44970
  if (!$e || !ce) return;
44970
44971
  ue = ue.transform(ue.state, !1, Z.PredictionContext.EMPTY_LOCAL);
@@ -44980,7 +44981,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
44980
44981
  }
44981
44982
  if (_t) continue;
44982
44983
  }
44983
- let Ee = Ae.getOptimizedTransition($e), Ve = !(Ee instanceof i.ActionTransition) && qe, dt = this.getEpsilonTarget(ue, Ee, Ve, Ce === 0, ae, Xe);
44984
+ let Ee = Ae.getOptimizedTransition($e), Ve = !(Ee instanceof i.ActionTransition) && qe, dt = this.getEpsilonTarget(ue, Ee, Ve, Ce === 0, ae, Je);
44984
44985
  if (dt != null) {
44985
44986
  if (Ee instanceof ve.RuleTransition && de != null && !qe) {
44986
44987
  de.add(dt, ae);
@@ -44992,7 +44993,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
44992
44993
  ft(ut > We), ut--, fn.debug && console.log("dips into outer ctx: " + dt);
44993
44994
  } else if (Ee instanceof ve.RuleTransition) this.optimize_tail_calls && Ee.optimizedTailCall && (!this.tail_call_preserves_sll || !Z.PredictionContext.isEmptyLocal(ue.context)) ? (ft(dt.context === ue.context), ut === 0 && (ut--, !this.tail_call_preserves_sll && Z.PredictionContext.isEmptyLocal(ue.context) && (dt.outerContextDepth = dt.outerContextDepth + 1))) : ut >= 0 && ut++;
44994
44995
  else if (!Ee.isEpsilon && !we.add(dt)) continue;
44995
- this.closureImpl(dt, se, de, we, Ve, ce, ae, ut, Xe);
44996
+ this.closureImpl(dt, se, de, we, Ve, ce, ae, ut, Je);
44996
44997
  }
44997
44998
  }
44998
44999
  }
@@ -45088,7 +45089,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
45088
45089
  }
45089
45090
  }
45090
45091
  ae = de[0].state.nonStopStateNumber;
45091
- let Xe = 0, Ae = 0, $e = de[0].context;
45092
+ let Je = 0, Ae = 0, $e = de[0].context;
45092
45093
  for (let Ee = 1; Ee < de.length; Ee++) {
45093
45094
  let Ve = de[Ee];
45094
45095
  if (Ve.alt !== ce || Ve.state.nonStopStateNumber !== ae) break;
@@ -45097,8 +45098,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
45097
45098
  for (let Ee = Ae + 1; Ee < de.length; Ee++) {
45098
45099
  let Ve = de[Ee], dt = Ve.state;
45099
45100
  if (qe.set(Ve.alt), dt.nonStopStateNumber !== ae) {
45100
- ae = dt.nonStopStateNumber, Xe = Ee, Ae = Ee, $e = Ve.context;
45101
- for (let fr = Xe + 1; fr < de.length; fr++) {
45101
+ ae = dt.nonStopStateNumber, Je = Ee, Ae = Ee, $e = Ve.context;
45102
+ for (let fr = Je + 1; fr < de.length; fr++) {
45102
45103
  let pr = de[fr];
45103
45104
  if (pr.alt !== ce || pr.state.nonStopStateNumber !== ae) break;
45104
45105
  Ae = fr, $e = se.join($e, pr.context);
@@ -45159,15 +45160,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
45159
45160
  addDFAEdge(ue, se, de, we, qe, ce) {
45160
45161
  ft(we == null || we.isEmpty || ue.isContextSensitive);
45161
45162
  let ae = se, Ce = this.addDFAState(ue, qe, ce);
45162
- if (we != null) for (let Xe of we.toArray()) {
45163
- if (Xe === Z.PredictionContext.EMPTY_FULL_STATE_KEY && ae.configs.isOutermostConfigSet) continue;
45163
+ if (we != null) for (let Je of we.toArray()) {
45164
+ if (Je === Z.PredictionContext.EMPTY_FULL_STATE_KEY && ae.configs.isOutermostConfigSet) continue;
45164
45165
  ae.setContextSensitive(this.atn), ae.setContextSymbol(de);
45165
- let Ae = ae.getContextTarget(Xe);
45166
+ let Ae = ae.getContextTarget(Je);
45166
45167
  if (Ae != null) {
45167
45168
  ae = Ae;
45168
45169
  continue;
45169
45170
  }
45170
- Ae = this.addDFAContextState(ue, ae.configs, Xe, ce), ft(Xe !== Z.PredictionContext.EMPTY_FULL_STATE_KEY || Ae.configs.isOutermostConfigSet), ae.setContextTarget(Xe, Ae), ae = Ae;
45171
+ Ae = this.addDFAContextState(ue, ae.configs, Je, ce), ft(Je !== Z.PredictionContext.EMPTY_FULL_STATE_KEY || Ae.configs.isOutermostConfigSet), ae.setContextTarget(Je, Ae), ae = Ae;
45171
45172
  }
45172
45173
  return fn.debug && console.log("EDGE " + ae + " -> " + Ce + " upon " + this.getTokenName(de)), this.setDFAEdge(ae, de, Ce), fn.debug && console.log(`DFA=
45173
45174
  ` + ue.toString(this._parser != null ? this._parser.vocabulary : rt.VocabularyImpl.EMPTY_VOCABULARY, this._parser != null ? this._parser.ruleNames : void 0)), Ce;
@@ -45186,15 +45187,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
45186
45187
  let we = this.enable_global_context_dfa || !se.isOutermostConfigSet;
45187
45188
  if (we) {
45188
45189
  se.isReadOnly || se.optimizeConfigs(this);
45189
- let Xe = this.createDFAState(ue, se), Ae = ue.states.get(Xe);
45190
+ let Je = this.createDFAState(ue, se), Ae = ue.states.get(Je);
45190
45191
  if (Ae != null) return Ae;
45191
45192
  }
45192
45193
  se.isReadOnly || se.conflictInfo == null && (se.conflictInfo = this.isConflicted(se, de));
45193
45194
  let qe = this.createDFAState(ue, se.clone(!0)), ce = this.atn.getDecisionState(ue.decision), ae = this.getUniqueAlt(se);
45194
45195
  if (ae !== l.ATN.INVALID_ALT_NUMBER) qe.acceptStateInfo = new r.AcceptStateInfo(ae);
45195
45196
  else if (se.conflictingAlts != null) {
45196
- let Xe = se.conflictingAlts;
45197
- Xe && (qe.acceptStateInfo = new r.AcceptStateInfo(Xe.nextSetBit(0)));
45197
+ let Je = se.conflictingAlts;
45198
+ Je && (qe.acceptStateInfo = new r.AcceptStateInfo(Je.nextSetBit(0)));
45198
45199
  }
45199
45200
  if (qe.isAcceptState && se.hasSemanticContext && this.predicateDFAState(qe, se, ce.numberOfTransitions), !we) return qe;
45200
45201
  let Ce = ue.addState(qe);
@@ -45536,7 +45537,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
45536
45537
  (function(Ae) {
45537
45538
  Ae[Ae.UNICODE_BMP = 0] = "UNICODE_BMP", Ae[Ae.UNICODE_SMP = 1] = "UNICODE_SMP";
45538
45539
  })(Ce || (Ce = {}));
45539
- let Xe = class Lr {
45540
+ let Je = class Lr {
45540
45541
  constructor($e) {
45541
45542
  $e === void 0 && ($e = o.ATNDeserializationOptions.defaultOptions), this.deserializationOptions = $e;
45542
45543
  }
@@ -46038,7 +46039,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
46038
46039
  }
46039
46040
  }
46040
46041
  };
46041
- return Xe.BASE_SERIALIZED_UUID = ce.UUID.fromString("E4178468-DF95-44D0-AD87-F22A5D5FB6D3"), Xe.ADDED_LEXER_ACTIONS = ce.UUID.fromString("AB35191A-1603-487E-B75A-479B831EAF6D"), Xe.ADDED_UNICODE_SMP = ce.UUID.fromString("C23FEA89-0605-4f51-AFB8-058BCAB8C91B"), Xe.SUPPORTED_UUIDS = [Xe.BASE_SERIALIZED_UUID, Xe.ADDED_LEXER_ACTIONS, Xe.ADDED_UNICODE_SMP], Xe.SERIALIZED_UUID = Xe.ADDED_UNICODE_SMP, t([ie.NotNull], Xe.prototype, "deserializationOptions", void 0), t([e(0, ie.NotNull)], Xe.prototype, "deserialize", null), t([e(0, ie.NotNull)], Xe.prototype, "markPrecedenceDecisions", null), t([ie.NotNull, e(0, ie.NotNull)], Xe.prototype, "edgeFactory", null), KA.ATNDeserializer = Xe, KA;
46042
+ return Je.BASE_SERIALIZED_UUID = ce.UUID.fromString("E4178468-DF95-44D0-AD87-F22A5D5FB6D3"), Je.ADDED_LEXER_ACTIONS = ce.UUID.fromString("AB35191A-1603-487E-B75A-479B831EAF6D"), Je.ADDED_UNICODE_SMP = ce.UUID.fromString("C23FEA89-0605-4f51-AFB8-058BCAB8C91B"), Je.SUPPORTED_UUIDS = [Je.BASE_SERIALIZED_UUID, Je.ADDED_LEXER_ACTIONS, Je.ADDED_UNICODE_SMP], Je.SERIALIZED_UUID = Je.ADDED_UNICODE_SMP, t([ie.NotNull], Je.prototype, "deserializationOptions", void 0), t([e(0, ie.NotNull)], Je.prototype, "deserialize", null), t([e(0, ie.NotNull)], Je.prototype, "markPrecedenceDecisions", null), t([ie.NotNull, e(0, ie.NotNull)], Je.prototype, "edgeFactory", null), KA.ATNDeserializer = Je, KA;
46042
46043
  }
46043
46044
  var xC = {}, rg = {};
46044
46045
  /*!
@@ -50330,20 +50331,20 @@ ${r}}`, i;
50330
50331
  var U = [];
50331
50332
  U[5] = U[63] = '"$"#,##0_);\\("$"#,##0\\)', U[6] = U[64] = '"$"#,##0_);[Red]\\("$"#,##0\\)', U[7] = U[65] = '"$"#,##0.00_);\\("$"#,##0.00\\)', U[8] = U[66] = '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', U[41] = '_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)', U[42] = '_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)', U[43] = '_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)', U[44] = '_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)';
50332
50333
  function G(ce, ae, Ce) {
50333
- for (var Xe = ce < 0 ? -1 : 1, Ae = ce * Xe, $e = 0, Ee = 1, Ve = 0, dt = 1, ut = 0, _t = 0, yt = Math.floor(Ae); ut < ae && (yt = Math.floor(Ae), Ve = yt * Ee + $e, _t = yt * ut + dt, !(Ae - yt < 5e-8)); ) Ae = 1 / (Ae - yt), $e = Ee, Ee = Ve, dt = ut, ut = _t;
50334
- if (_t > ae && (ut > ae ? (_t = dt, Ve = $e) : (_t = ut, Ve = Ee)), !Ce) return [0, Xe * Ve, _t];
50335
- var Dt = Math.floor(Xe * Ve / _t);
50336
- return [Dt, Xe * Ve - Dt * _t, _t];
50334
+ for (var Je = ce < 0 ? -1 : 1, Ae = ce * Je, $e = 0, Ee = 1, Ve = 0, dt = 1, ut = 0, _t = 0, yt = Math.floor(Ae); ut < ae && (yt = Math.floor(Ae), Ve = yt * Ee + $e, _t = yt * ut + dt, !(Ae - yt < 5e-8)); ) Ae = 1 / (Ae - yt), $e = Ee, Ee = Ve, dt = ut, ut = _t;
50335
+ if (_t > ae && (ut > ae ? (_t = dt, Ve = $e) : (_t = ut, Ve = Ee)), !Ce) return [0, Je * Ve, _t];
50336
+ var Dt = Math.floor(Je * Ve / _t);
50337
+ return [Dt, Je * Ve - Dt * _t, _t];
50337
50338
  }
50338
50339
  function Q(ce, ae, Ce) {
50339
50340
  if (ce > 2958465 || ce < 0) return null;
50340
- var Xe = ce | 0, Ae = Math.floor(86400 * (ce - Xe)), $e = 0, Ee = [], Ve = { D: Xe, T: Ae, u: 86400 * (ce - Xe) - Ae, y: 0, m: 0, d: 0, H: 0, M: 0, S: 0, q: 0 };
50341
- if (Math.abs(Ve.u) < 1e-6 && (Ve.u = 0), ae && ae.date1904 && (Xe += 1462), Ve.u > 0.9999 && (Ve.u = 0, ++Ae == 86400 && (Ve.T = Ae = 0, ++Xe, ++Ve.D)), Xe === 60) Ee = Ce ? [1317, 10, 29] : [1900, 2, 29], $e = 3;
50342
- else if (Xe === 0) Ee = Ce ? [1317, 8, 29] : [1900, 1, 0], $e = 6;
50341
+ var Je = ce | 0, Ae = Math.floor(86400 * (ce - Je)), $e = 0, Ee = [], Ve = { D: Je, T: Ae, u: 86400 * (ce - Je) - Ae, y: 0, m: 0, d: 0, H: 0, M: 0, S: 0, q: 0 };
50342
+ if (Math.abs(Ve.u) < 1e-6 && (Ve.u = 0), ae && ae.date1904 && (Je += 1462), Ve.u > 0.9999 && (Ve.u = 0, ++Ae == 86400 && (Ve.T = Ae = 0, ++Je, ++Ve.D)), Je === 60) Ee = Ce ? [1317, 10, 29] : [1900, 2, 29], $e = 3;
50343
+ else if (Je === 0) Ee = Ce ? [1317, 8, 29] : [1900, 1, 0], $e = 6;
50343
50344
  else {
50344
- Xe > 60 && --Xe;
50345
+ Je > 60 && --Je;
50345
50346
  var dt = new Date(1900, 0, 1);
50346
- dt.setDate(dt.getDate() + Xe - 1), Ee = [dt.getFullYear(), dt.getMonth() + 1, dt.getDate()], $e = dt.getDay(), Xe < 60 && ($e = ($e + 6) % 7), Ce && ($e = Te(dt, Ee));
50347
+ dt.setDate(dt.getDate() + Je - 1), Ee = [dt.getFullYear(), dt.getMonth() + 1, dt.getDate()], $e = dt.getDay(), Je < 60 && ($e = ($e + 6) % 7), Ce && ($e = Te(dt, Ee));
50347
50348
  }
50348
50349
  return Ve.y = Ee[0], Ve.m = Ee[1], Ve.d = Ee[2], Ve.S = Ae % 60, Ae = Math.floor(Ae / 60), Ve.M = Ae % 60, Ae = Math.floor(Ae / 60), Ve.H = Ae, Ve.q = $e, Ve;
50349
50350
  }
@@ -50362,9 +50363,9 @@ ${r}}`, i;
50362
50363
  function ae(dt) {
50363
50364
  return dt.indexOf(".") == -1 ? dt : dt.replace(ce, "$1");
50364
50365
  }
50365
- var Ce = /(?:\.0*|(\.\d*[1-9])0+)[Ee]/, Xe = /(E[+-])(\d)$/;
50366
+ var Ce = /(?:\.0*|(\.\d*[1-9])0+)[Ee]/, Je = /(E[+-])(\d)$/;
50366
50367
  function Ae(dt) {
50367
- return dt.indexOf("E") == -1 ? dt : dt.replace(Ce, "$1E").replace(Xe, "$10$2");
50368
+ return dt.indexOf("E") == -1 ? dt : dt.replace(Ce, "$1E").replace(Je, "$10$2");
50368
50369
  }
50369
50370
  function $e(dt) {
50370
50371
  var ut = dt < 0 ? 12 : 11, _t = ae(dt.toFixed(12));
@@ -50403,7 +50404,7 @@ ${r}}`, i;
50403
50404
  var Ce = ce.getDay();
50404
50405
  return ce < 60 && (Ce = (Ce + 6) % 7), Ce;
50405
50406
  }
50406
- function ke(ce, ae, Ce, Xe) {
50407
+ function ke(ce, ae, Ce, Je) {
50407
50408
  var Ae = "", $e = 0, Ee = 0, Ve = Ce.y, dt, ut = 0;
50408
50409
  switch (ce) {
50409
50410
  case 98:
@@ -50477,7 +50478,7 @@ ${r}}`, i;
50477
50478
  break;
50478
50479
  case 115:
50479
50480
  if (ae != "s" && ae != "ss" && ae != ".0" && ae != ".00" && ae != ".000") throw "bad second format: " + ae;
50480
- return Ce.u === 0 && (ae == "s" || ae == "ss") ? l(Ce.S, ae.length) : (Xe >= 2 ? Ee = Xe === 3 ? 1e3 : 100 : Ee = Xe === 1 ? 10 : 1, $e = Math.round(Ee * (Ce.S + Ce.u)), $e >= 60 * Ee && ($e = 0), ae === "s" ? $e === 0 ? "0" : "" + $e / Ee : (Ae = l($e, 2 + Xe), ae === "ss" ? Ae.substr(0, 2) : "." + Ae.substr(2, ae.length - 1)));
50481
+ return Ce.u === 0 && (ae == "s" || ae == "ss") ? l(Ce.S, ae.length) : (Je >= 2 ? Ee = Je === 3 ? 1e3 : 100 : Ee = Je === 1 ? 10 : 1, $e = Math.round(Ee * (Ce.S + Ce.u)), $e >= 60 * Ee && ($e = 0), ae === "s" ? $e === 0 ? "0" : "" + $e / Ee : (Ae = l($e, 2 + Je), ae === "ss" ? Ae.substr(0, 2) : "." + Ae.substr(2, ae.length - 1)));
50481
50482
  case 90:
50482
50483
  switch (ae) {
50483
50484
  case "[h]":
@@ -50507,8 +50508,8 @@ ${r}}`, i;
50507
50508
  function Me(ce) {
50508
50509
  var ae = 3;
50509
50510
  if (ce.length <= ae) return ce;
50510
- for (var Ce = ce.length % ae, Xe = ce.substr(0, Ce); Ce != ce.length; Ce += ae) Xe += (Xe.length > 0 ? "," : "") + ce.substr(Ce, ae);
50511
- return Xe;
50511
+ for (var Ce = ce.length % ae, Je = ce.substr(0, Ce); Ce != ce.length; Ce += ae) Je += (Je.length > 0 ? "," : "") + ce.substr(Ce, ae);
50512
+ return Je;
50512
50513
  }
50513
50514
  var rt = /* @__PURE__ */ function() {
50514
50515
  var ce = /%/g;
@@ -50520,11 +50521,11 @@ ${r}}`, i;
50520
50521
  for (var Oe = et.length - 1; et.charCodeAt(Oe - 1) === 44; ) --Oe;
50521
50522
  return rt(ct, et.substr(0, Oe), it / Math.pow(10, 3 * (et.length - Oe)));
50522
50523
  }
50523
- function Xe(ct, et) {
50524
+ function Je(ct, et) {
50524
50525
  var it, Oe = ct.indexOf("E") - ct.indexOf(".") - 1;
50525
50526
  if (ct.match(/^#+0.0E\+0$/)) {
50526
50527
  if (et == 0) return "0.0E+0";
50527
- if (et < 0) return "-" + Xe(ct, -et);
50528
+ if (et < 0) return "-" + Je(ct, -et);
50528
50529
  var ot = ct.indexOf(".");
50529
50530
  ot === -1 && (ot = ct.indexOf("E"));
50530
50531
  var wt = Math.floor(Math.log(et) * Math.LOG10E) % ot;
@@ -50584,7 +50585,7 @@ ${r}}`, i;
50584
50585
  }
50585
50586
  if (et.charCodeAt(et.length - 1) === 44) return Ce(ct, et, it);
50586
50587
  if (et.indexOf("%") !== -1) return ae(ct, et, it);
50587
- if (et.indexOf("E") !== -1) return Xe(et, it);
50588
+ if (et.indexOf("E") !== -1) return Je(et, it);
50588
50589
  if (et.charCodeAt(0) === 36) return "$" + _r(ct, et.substr(et.charAt(1) == " " ? 2 : 1), it);
50589
50590
  var ot, wt, mt, Qt, mr = Math.abs(it), hr = it < 0 ? "-" : "";
50590
50591
  if (et.match(/^00+$/)) return hr + A(mr, et.length);
@@ -50708,17 +50709,17 @@ ${r}}`, i;
50708
50709
  };
50709
50710
  }();
50710
50711
  function ft(ce) {
50711
- for (var ae = [], Ce = !1, Xe = 0, Ae = 0; Xe < ce.length; ++Xe) switch (ce.charCodeAt(Xe)) {
50712
+ for (var ae = [], Ce = !1, Je = 0, Ae = 0; Je < ce.length; ++Je) switch (ce.charCodeAt(Je)) {
50712
50713
  case 34:
50713
50714
  Ce = !Ce;
50714
50715
  break;
50715
50716
  case 95:
50716
50717
  case 42:
50717
50718
  case 92:
50718
- ++Xe;
50719
+ ++Je;
50719
50720
  break;
50720
50721
  case 59:
50721
- ae[ae.length] = ce.substr(Ae, Xe - Ae), Ae = Xe + 1;
50722
+ ae[ae.length] = ce.substr(Ae, Je - Ae), Ae = Je + 1;
50722
50723
  }
50723
50724
  if (ae[ae.length] = ce.substr(Ae), Ce === !0) throw new Error("Format |" + ce + "| unterminated string ");
50724
50725
  return ae;
@@ -50726,7 +50727,7 @@ ${r}}`, i;
50726
50727
  i._split = ft;
50727
50728
  var nt = /\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;
50728
50729
  function We(ce) {
50729
- for (var ae = 0, Ce = "", Xe = ""; ae < ce.length; ) switch (Ce = ce.charAt(ae)) {
50730
+ for (var ae = 0, Ce = "", Je = ""; ae < ce.length; ) switch (Ce = ce.charAt(ae)) {
50730
50731
  case "G":
50731
50732
  T(ce, ae) && (ae += 6), ae++;
50732
50733
  break;
@@ -50767,8 +50768,8 @@ ${r}}`, i;
50767
50768
  ++ae;
50768
50769
  break;
50769
50770
  case "[":
50770
- for (Xe = Ce; ce.charAt(ae++) !== "]" && ae < ce.length; ) Xe += ce.charAt(ae);
50771
- if (Xe.match(nt)) return !0;
50771
+ for (Je = Ce; ce.charAt(ae++) !== "]" && ae < ce.length; ) Je += ce.charAt(ae);
50772
+ if (Je.match(nt)) return !0;
50772
50773
  break;
50773
50774
  case ".":
50774
50775
  case "0":
@@ -50806,7 +50807,7 @@ ${r}}`, i;
50806
50807
  return !1;
50807
50808
  }
50808
50809
  i.is_date = We;
50809
- function Ye(ce, ae, Ce, Xe) {
50810
+ function Ye(ce, ae, Ce, Je) {
50810
50811
  for (var Ae = [], $e = "", Ee = 0, Ve = "", dt = "t", ut, _t, yt, Dt = "H"; Ee < ce.length; ) switch (Ve = ce.charAt(Ee)) {
50811
50812
  case "G":
50812
50813
  if (!T(ce, Ee)) throw new Error("unrecognized character " + Ve + " in " + ce);
@@ -50886,7 +50887,7 @@ ${r}}`, i;
50886
50887
  break;
50887
50888
  case "(":
50888
50889
  case ")":
50889
- Ae[Ae.length] = { t: Xe === 1 ? "t" : Ve, v: Ve }, ++Ee;
50890
+ Ae[Ae.length] = { t: Je === 1 ? "t" : Ve, v: Ve }, ++Ee;
50890
50891
  break;
50891
50892
  case "1":
50892
50893
  case "2":
@@ -50976,7 +50977,7 @@ ${r}}`, i;
50976
50977
  }
50977
50978
  var et = "", it, Oe;
50978
50979
  if (nr.length > 0) {
50979
- nr.charCodeAt(0) == 40 ? (it = ae < 0 && nr.charCodeAt(0) === 45 ? -ae : ae, Oe = rt("n", nr, it)) : (it = ae < 0 && Xe > 1 ? -ae : ae, Oe = rt("n", nr, it), it < 0 && Ae[0] && Ae[0].t == "t" && (Oe = Oe.substr(1), Ae[0].v = "-" + Ae[0].v)), ct = Oe.length - 1;
50980
+ nr.charCodeAt(0) == 40 ? (it = ae < 0 && nr.charCodeAt(0) === 45 ? -ae : ae, Oe = rt("n", nr, it)) : (it = ae < 0 && Je > 1 ? -ae : ae, Oe = rt("n", nr, it), it < 0 && Ae[0] && Ae[0].t == "t" && (Oe = Oe.substr(1), Ae[0].v = "-" + Ae[0].v)), ct = Oe.length - 1;
50980
50981
  var ot = Ae.length;
50981
50982
  for (Ee = 0; Ee < Ae.length; ++Ee) if (Ae[Ee] != null && Ae[Ee].t != "t" && Ae[Ee].v.indexOf(".") > -1) {
50982
50983
  ot = Ee;
@@ -50997,7 +50998,7 @@ ${r}}`, i;
50997
50998
  }
50998
50999
  }
50999
51000
  }
51000
- for (Ee = 0; Ee < Ae.length; ++Ee) Ae[Ee] != null && "n?".indexOf(Ae[Ee].t) > -1 && (it = Xe > 1 && ae < 0 && Ee > 0 && Ae[Ee - 1].v === "-" ? -ae : ae, Ae[Ee].v = rt(Ae[Ee].t, Ae[Ee].v, it), Ae[Ee].t = "t");
51001
+ for (Ee = 0; Ee < Ae.length; ++Ee) Ae[Ee] != null && "n?".indexOf(Ae[Ee].t) > -1 && (it = Je > 1 && ae < 0 && Ee > 0 && Ae[Ee - 1].v === "-" ? -ae : ae, Ae[Ee].v = rt(Ae[Ee].t, Ae[Ee].v, it), Ae[Ee].t = "t");
51001
51002
  var mt = "";
51002
51003
  for (Ee = 0; Ee !== Ae.length; ++Ee) Ae[Ee] != null && (mt += Ae[Ee].v);
51003
51004
  return mt;
@@ -51030,8 +51031,8 @@ ${r}}`, i;
51030
51031
  return !1;
51031
51032
  }
51032
51033
  function de(ce, ae) {
51033
- var Ce = ft(ce), Xe = Ce.length, Ae = Ce[Xe - 1].indexOf("@");
51034
- if (Xe < 4 && Ae > -1 && --Xe, Ce.length > 4) throw new Error("cannot find right format for |" + Ce.join("|") + "|");
51034
+ var Ce = ft(ce), Je = Ce.length, Ae = Ce[Je - 1].indexOf("@");
51035
+ if (Je < 4 && Ae > -1 && --Je, Ce.length > 4) throw new Error("cannot find right format for |" + Ce.join("|") + "|");
51035
51036
  if (typeof ae != "number") return [4, Ce.length === 4 || Ae > -1 ? Ce[Ce.length - 1] : "@"];
51036
51037
  switch (Ce.length) {
51037
51038
  case 1:
@@ -51045,27 +51046,27 @@ ${r}}`, i;
51045
51046
  break;
51046
51047
  }
51047
51048
  var $e = ae > 0 ? Ce[0] : ae < 0 ? Ce[1] : Ce[2];
51048
- if (Ce[0].indexOf("[") === -1 && Ce[1].indexOf("[") === -1) return [Xe, $e];
51049
+ if (Ce[0].indexOf("[") === -1 && Ce[1].indexOf("[") === -1) return [Je, $e];
51049
51050
  if (Ce[0].match(Ct) != null || Ce[1].match(Ct) != null) {
51050
51051
  var Ee = Ce[0].match(ue), Ve = Ce[1].match(ue);
51051
- return se(ae, Ee) ? [Xe, Ce[0]] : se(ae, Ve) ? [Xe, Ce[1]] : [Xe, Ce[Ee != null && Ve != null ? 2 : 1]];
51052
+ return se(ae, Ee) ? [Je, Ce[0]] : se(ae, Ve) ? [Je, Ce[1]] : [Je, Ce[Ee != null && Ve != null ? 2 : 1]];
51052
51053
  }
51053
- return [Xe, $e];
51054
+ return [Je, $e];
51054
51055
  }
51055
51056
  function we(ce, ae, Ce) {
51056
51057
  Ce == null && (Ce = {});
51057
- var Xe = "";
51058
+ var Je = "";
51058
51059
  switch (typeof ce) {
51059
51060
  case "string":
51060
- ce == "m/d/yy" && Ce.dateNF ? Xe = Ce.dateNF : Xe = ce;
51061
+ ce == "m/d/yy" && Ce.dateNF ? Je = Ce.dateNF : Je = ce;
51061
51062
  break;
51062
51063
  case "number":
51063
- ce == 14 && Ce.dateNF ? Xe = Ce.dateNF : Xe = (Ce.table != null ? Ce.table : F)[ce], Xe == null && (Xe = Ce.table && Ce.table[M[ce]] || F[M[ce]]), Xe == null && (Xe = U[ce] || "General");
51064
+ ce == 14 && Ce.dateNF ? Je = Ce.dateNF : Je = (Ce.table != null ? Ce.table : F)[ce], Je == null && (Je = Ce.table && Ce.table[M[ce]] || F[M[ce]]), Je == null && (Je = U[ce] || "General");
51064
51065
  break;
51065
51066
  }
51066
- if (T(Xe, 0)) return ye(ae, Ce);
51067
+ if (T(Je, 0)) return ye(ae, Ce);
51067
51068
  ae instanceof Date && (ae = me(ae, Ce.date1904));
51068
- var Ae = de(Xe, ae);
51069
+ var Ae = de(Je, ae);
51069
51070
  if (T(Ae[1])) return ye(ae, Ce);
51070
51071
  if (ae === !0) ae = "TRUE";
51071
51072
  else if (ae === !1) ae = "FALSE";
@@ -51562,7 +51563,7 @@ ${r}}`, i;
51562
51563
  })(aE);
51563
51564
  var iw = {}, dE = {}, Hn = {}, Dr = {};
51564
51565
  (function(t) {
51565
- Object.defineProperty(t, "__esModule", { value: !0 }), t.TD = t.ValueType = void 0, t.exprHasKids = e, t.exprHasE = r, t.exprIsLeaf = i, t.isAsymmetricExpr = s, t.mkTemporal = l, t.isRawCast = c, t.isFilterExprType = h, t.isParameterType = p, t.paramHasValue = x, t.expressionIsScalar = E, t.expressionIsAggregate = A, t.expressionIsUngroupedAggregate = T, t.expressionInvolvesAggregate = O, t.expressionIsCalculation = k, t.expressionIsAnalytic = L, t.isExpressionTypeLEQ = M, t.maxExpressionType = j, t.maxOfExpressionTypes = U, t.hasExpression = G, t.isTemporalType = Q, t.isAtomicFieldType = V, t.canOrderBy = Z, t.isCastType = re, t.fieldIsIntrinsic = me, t.mkFieldDef = ie, t.mkArrayDef = ve, t.isRepeatedRecordFunctionParam = ye, t.isRepeatedRecord = Te, t.isBasicArray = ke, t.isMatrixOperation = Me, t.isJoinable = rt, t.isJoined = ft, t.isJoinedSource = nt, t.isDateUnit = We, t.isTimestampUnit = Ye, t.isExtractUnit = Ct, t.refIsStructDef = se, t.segmentHasErrors = de, t.structHasErrors = we, t.isReduceSegment = qe, t.isPartialSegment = ce, t.isProjectSegment = ae, t.isQuerySegment = Ce, t.isSamplingRows = Xe, t.isSamplingPercent = Ae, t.isSamplingEnable = $e, t.isRawSegment = Ee, t.isIndexSegment = Ve, t.isSegmentSQL = dt, t.sourceBase = ut, t.isSourceDef = _t, t.isBaseTable = yt, t.isLiteral = Dt, t.mergeEvalSpaces = fr, t.isBasicAtomic = pr, t.getIdentifier = _r, t.isTurtle = Ze, t.isAtomic = bt, t.isValueString = Vt, t.isValueNumber = nr, t.isValueBoolean = ct, t.isValueTimestamp = et, t.isValueDate = it;
51566
+ Object.defineProperty(t, "__esModule", { value: !0 }), t.TD = t.ValueType = void 0, t.exprHasKids = e, t.exprHasE = r, t.exprIsLeaf = i, t.isAsymmetricExpr = s, t.mkTemporal = l, t.isRawCast = c, t.isFilterExprType = h, t.isParameterType = p, t.paramHasValue = x, t.expressionIsScalar = E, t.expressionIsAggregate = A, t.expressionIsUngroupedAggregate = T, t.expressionInvolvesAggregate = O, t.expressionIsCalculation = k, t.expressionIsAnalytic = L, t.isExpressionTypeLEQ = M, t.maxExpressionType = j, t.maxOfExpressionTypes = U, t.hasExpression = G, t.isTemporalType = Q, t.isAtomicFieldType = V, t.canOrderBy = Z, t.isCastType = re, t.fieldIsIntrinsic = me, t.mkFieldDef = ie, t.mkArrayDef = ve, t.isRepeatedRecordFunctionParam = ye, t.isRepeatedRecord = Te, t.isBasicArray = ke, t.isMatrixOperation = Me, t.isJoinable = rt, t.isJoined = ft, t.isJoinedSource = nt, t.isDateUnit = We, t.isTimestampUnit = Ye, t.isExtractUnit = Ct, t.refIsStructDef = se, t.segmentHasErrors = de, t.structHasErrors = we, t.isReduceSegment = qe, t.isPartialSegment = ce, t.isProjectSegment = ae, t.isQuerySegment = Ce, t.isSamplingRows = Je, t.isSamplingPercent = Ae, t.isSamplingEnable = $e, t.isRawSegment = Ee, t.isIndexSegment = Ve, t.isSegmentSQL = dt, t.sourceBase = ut, t.isSourceDef = _t, t.isBaseTable = yt, t.isLiteral = Dt, t.mergeEvalSpaces = fr, t.isBasicAtomic = pr, t.getIdentifier = _r, t.isTurtle = Ze, t.isAtomic = bt, t.isValueString = Vt, t.isValueNumber = nr, t.isValueBoolean = ct, t.isValueTimestamp = et, t.isValueDate = it;
51566
51567
  function e(Oe) {
51567
51568
  return "kids" in Oe;
51568
51569
  }
@@ -51718,7 +51719,7 @@ ${r}}`, i;
51718
51719
  function Ce(Oe) {
51719
51720
  return ae(Oe) || qe(Oe);
51720
51721
  }
51721
- function Xe(Oe) {
51722
+ function Je(Oe) {
51722
51723
  return Oe.rows !== void 0;
51723
51724
  }
51724
51725
  function Ae(Oe) {
@@ -52365,8 +52366,8 @@ AND `) + i;
52365
52366
  var ag = {}, Qde = {};
52366
52367
  (function(t) {
52367
52368
  Object.defineProperty(t, "__esModule", { value: !0 }), t.MALLOY_STANDARD_FUNCTIONS = void 0, t.getMalloyStandardFunctions = mt, t.expandOverrideMap = Qt;
52368
- const e = Hn, r = { takes: { value: "number" }, returns: "number", impl: { function: "ABS" } }, i = { takes: { value: "number" }, returns: "number", impl: { function: "ACOS" } }, s = { takes: { value: "string" }, returns: "number", impl: { function: "ASCII" } }, o = { takes: { value: "number" }, returns: "number", impl: { function: "ASIN" } }, l = { takes: { y: "number", x: "number" }, returns: "number", impl: { function: "ATAN2" } }, c = { takes: { value: "number" }, returns: "number", impl: { function: "ATAN" } }, h = { takes: { value: "string" }, returns: "number", impl: { function: "BYTE_LENGTH" } }, p = { takes: { value: "number" }, returns: "number", impl: { function: "CEIL" } }, x = { takes: { value: "number" }, returns: "string", impl: { sql: "CASE WHEN ${value} = 0 THEN '' ELSE CHR(${value}) END" } }, E = { generic: { T: ["string", "number", "timestamp", "date", "json"] }, takes: { value: { variadic: { generic: "T" } } }, returns: { generic: "T" }, impl: { function: "COALESCE" } }, A = { empty: { takes: {}, returns: "string", impl: { expr: { node: "stringLiteral", literal: "" } } }, variadic: { takes: { values: { variadic: ["string", "number", "date", "timestamp", "boolean"] } }, returns: "string", impl: { function: "CONCAT" } } }, T = { takes: { value: "number" }, returns: "number", impl: { function: "COS" } }, O = { takes: { dividend: "number", divisor: "number" }, returns: "number", impl: { function: "DIV" } }, k = { takes: { value: "string", suffix: "string" }, returns: "boolean", impl: { sql: "COALESCE(ENDS_WITH(${value}, ${suffix}), false)" } }, L = { takes: { value: "number" }, returns: "number", impl: { function: "EXP" } }, F = { takes: { value: "number" }, returns: "number", impl: { function: "FLOOR" } }, M = { generic: { T: ["string", "number", "timestamp", "date", "json"] }, takes: { values: { variadic: { generic: "T" } } }, returns: { generic: "T" }, impl: { function: "GREATEST" } }, j = { generic: { T: ["string", "number", "timestamp", "date", "json"] }, takes: { value: { generic: "T" }, default: { generic: "T" } }, returns: { generic: "T" }, impl: { function: "IFNULL" } }, U = { takes: { value: "number" }, returns: "boolean", impl: { sql: "COALESCE(IS_INF(${value}), false)" } }, G = { takes: { value: "number" }, returns: "boolean", impl: { sql: "COALESCE(IS_NAN(${value}), false)" } }, Q = { ...M, impl: { function: "LEAST" } }, V = { takes: { value: "string" }, returns: "number", impl: { function: "LENGTH" } }, Z = { takes: { value: "number" }, returns: "number", impl: { function: "LN" } }, re = { takes: { value: "number", base: "number" }, returns: "number", impl: { function: "LOG" } }, me = { takes: { value: "string" }, returns: "string", impl: { function: "LOWER" } }, ie = { whitespace: { takes: { value: "string" }, returns: "string", impl: { function: "LTRIM" } }, characters: { takes: { value: "string", trim_characters: "string" }, returns: "string", impl: { function: "LTRIM" } } }, ve = { generic: { T: ["string", "number", "timestamp", "date", "json"] }, takes: { value1: { generic: "T" }, value2: { generic: "T" } }, returns: { generic: "T" }, impl: { function: "NULLIF" } }, ye = { takes: {}, returns: "number", impl: { function: "PI" } }, Te = { takes: { base: "number", exponent: "number" }, returns: "number", impl: { function: "POW" } }, ke = { takes: {}, returns: "number", impl: { function: "RAND" } }, Me = { takes: { value: "string", pattern: "regular expression" }, returns: "string", impl: { function: "REGEXP_EXTRACT" } }, rt = { takes: { value: "string", count: "number" }, returns: "string", impl: { function: "REPEAT" } }, ft = { string: { takes: { value: "string", pattern: "string", replacement: "string" }, returns: "string", impl: { function: "REPLACE" } }, regular_expression: { takes: { value: "string", pattern: "regular expression", replacement: "string" }, returns: "string", impl: { function: "REGEXP_REPLACE" } } }, nt = { to_integer: { takes: { value: "number" }, returns: "number", impl: { function: "ROUND" } }, to_precision: { takes: { value: "number", precision: "number" }, returns: "number", impl: { function: "ROUND" } } }, We = { whitespace: { ...ie.whitespace, impl: { function: "RTRIM" } }, characters: { ...ie.characters, impl: { function: "RTRIM" } } }, Ye = { takes: { value: "number" }, returns: "number", impl: { function: "SIGN" } }, Ct = { takes: { value: "number" }, returns: "number", impl: { function: "SIN" } }, ue = { takes: { value: "number" }, returns: "number", impl: { function: "SQRT" } }, se = { takes: { value: "string", prefix: "string" }, returns: "boolean", impl: { sql: "COALESCE(STARTS_WITH(${value}, ${prefix}), false)" } }, de = { takes: { test_string: "string", search_string: "string" }, returns: "number", impl: { function: "STRPOS" } }, we = { position_only: { takes: { value: "string", position: "number" }, returns: "string", impl: { function: "SUBSTR" } }, with_length: { takes: { value: "string", position: "number", length: "number" }, returns: "string", impl: { function: "SUBSTR" } } }, qe = { takes: { value: "number" }, returns: "number", impl: { function: "TAN" } }, ce = { whitespace: { ...ie.whitespace, impl: { function: "TRIM" } }, characters: { ...ie.characters, impl: { function: "TRIM" } } }, ae = { to_integer: { takes: { value: "number" }, returns: "number", impl: { function: "TRUNC" } }, to_precision: { takes: { value: "number", precision: "number" }, returns: "number", impl: { function: "TRUNC" } } }, Ce = { takes: { value: "string" }, returns: "number", impl: { function: "UNICODE" } }, Xe = { takes: { value: "string" }, returns: "string", impl: { function: "UPPER" } }, Ae = { takes: { value: { dimension: "number" } }, returns: { measure: "number" }, impl: { function: "STDDEV" } }, $e = { preceding: { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } }, preceding: { literal: "number" } }, returns: { calculation: { generic: "T" } }, impl: { sql: "AVG(${value})", needsWindowOrderBy: !0, between: { preceding: "preceding", following: 0 } } }, following: { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } }, preceding: { literal: "number" }, following: { literal: "number" } }, returns: { calculation: { generic: "T" } }, impl: { sql: "AVG(${value})", needsWindowOrderBy: !0, between: { preceding: "preceding", following: "following" } } } }, Ee = { generic: { T: ["string", "number", "timestamp", "date", "json"] }, takes: { value: { measure: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "FIRST_VALUE", needsWindowOrderBy: !0 } }, Ve = ["string", "number", "timestamp", "date", "json", "boolean"], dt = { bare: { generic: { T: Ve }, takes: { value: { measure: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "LAG", needsWindowOrderBy: !0 } }, with_offset: { generic: { T: Ve }, takes: { value: { measure: { generic: "T" } }, offset: { literal: "number" } }, returns: { calculation: { generic: "T" } }, impl: { function: "LAG", needsWindowOrderBy: !0 } }, with_default: { generic: { T: Ve }, takes: { value: { measure: { generic: "T" } }, offset: { literal: "number" }, default: { constant: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "LAG", needsWindowOrderBy: !0 } } }, ut = { generic: { T: ["string", "number", "timestamp", "date", "json"] }, takes: { value: { measure: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "LAST_VALUE", needsWindowOrderBy: !0, between: { preceding: -1, following: -1 } } }, _t = { bare: { ...dt.bare, impl: { function: "LEAD", needsWindowOrderBy: !0 } }, with_offset: { ...dt.with_offset, impl: { function: "LEAD", needsWindowOrderBy: !0 } }, with_default: { ...dt.with_default, impl: { function: "LEAD", needsWindowOrderBy: !0 } } }, yt = { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "MAX", needsWindowOrderBy: !0 } }, Dt = { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "MAX", needsWindowOrderBy: !1 } }, fr = { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "MIN", needsWindowOrderBy: !0 } }, pr = { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "MIN", needsWindowOrderBy: !1 } }, _r = { takes: {}, returns: { calculation: "number" }, impl: { function: "RANK", needsWindowOrderBy: !0 } }, Ze = { takes: {}, returns: { calculation: "number" }, impl: { function: "DENSE_RANK", needsWindowOrderBy: !0 } }, bt = { takes: {}, returns: { calculation: "number" }, impl: { function: "ROW_NUMBER", needsWindowOrderBy: !0 } }, Vt = { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "SUM", needsWindowOrderBy: !0 } }, nr = { preceding: { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } }, preceding: { literal: "number" } }, returns: { calculation: { generic: "T" } }, impl: { sql: "SUM(${value})", needsWindowOrderBy: !0, between: { preceding: "preceding", following: 0 } } }, following: { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } }, preceding: { literal: "number" }, following: { literal: "number" } }, returns: { calculation: { generic: "T" } }, impl: { sql: "SUM(${value})", needsWindowOrderBy: !0, between: { preceding: "preceding", following: "following" } } } }, ct = { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "SUM", needsWindowOrderBy: !1 } }, et = { takes: { value: { literal: "string" } }, returns: "boolean", impl: { expr: { node: "function_parameter", name: "value" } } }, it = { takes: { value: { literal: "string" } }, returns: "date", impl: { expr: { node: "function_parameter", name: "value" } } }, Oe = { takes: { value: { literal: "string" } }, returns: "number", impl: { expr: { node: "function_parameter", name: "value" } } }, ot = { takes: { value: { literal: "string" } }, returns: "string", impl: { expr: { node: "function_parameter", name: "value" } } }, wt = { takes: { value: { literal: "string" } }, returns: "timestamp", impl: { expr: { node: "function_parameter", name: "value" } } };
52369
- t.MALLOY_STANDARD_FUNCTIONS = { abs: r, acos: i, ascii: s, asin: o, atan2: l, atan: c, byte_length: h, ceil: p, chr: x, coalesce: E, concat: A, cos: T, div: O, ends_with: k, exp: L, floor: F, greatest: M, ifnull: j, is_inf: U, is_nan: G, least: Q, length: V, ln: Z, log: re, lower: me, ltrim: ie, nullif: ve, pi: ye, pow: Te, rand: ke, regexp_extract: Me, replace: ft, round: nt, rtrim: We, sign: Ye, sin: Ct, sqrt: ue, starts_with: se, string_repeat: rt, strpos: de, substr: we, tan: qe, trim: ce, trunc: ae, unicode: Ce, upper: Xe, stddev: Ae, avg_moving: $e, dense_rank: Ze, first_value: Ee, lag: dt, last_value: ut, lead: _t, max_cumulative: yt, max_window: Dt, min_cumulative: fr, min_window: pr, rank: _r, row_number: bt, sum_cumulative: Vt, sum_moving: nr, sum_window: ct, sql_boolean: et, sql_date: it, sql_number: Oe, sql_string: ot, sql_timestamp: wt };
52369
+ const e = Hn, r = { takes: { value: "number" }, returns: "number", impl: { function: "ABS" } }, i = { takes: { value: "number" }, returns: "number", impl: { function: "ACOS" } }, s = { takes: { value: "string" }, returns: "number", impl: { function: "ASCII" } }, o = { takes: { value: "number" }, returns: "number", impl: { function: "ASIN" } }, l = { takes: { y: "number", x: "number" }, returns: "number", impl: { function: "ATAN2" } }, c = { takes: { value: "number" }, returns: "number", impl: { function: "ATAN" } }, h = { takes: { value: "string" }, returns: "number", impl: { function: "BYTE_LENGTH" } }, p = { takes: { value: "number" }, returns: "number", impl: { function: "CEIL" } }, x = { takes: { value: "number" }, returns: "string", impl: { sql: "CASE WHEN ${value} = 0 THEN '' ELSE CHR(${value}) END" } }, E = { generic: { T: ["string", "number", "timestamp", "date", "json"] }, takes: { value: { variadic: { generic: "T" } } }, returns: { generic: "T" }, impl: { function: "COALESCE" } }, A = { empty: { takes: {}, returns: "string", impl: { expr: { node: "stringLiteral", literal: "" } } }, variadic: { takes: { values: { variadic: ["string", "number", "date", "timestamp", "boolean"] } }, returns: "string", impl: { function: "CONCAT" } } }, T = { takes: { value: "number" }, returns: "number", impl: { function: "COS" } }, O = { takes: { dividend: "number", divisor: "number" }, returns: "number", impl: { function: "DIV" } }, k = { takes: { value: "string", suffix: "string" }, returns: "boolean", impl: { sql: "COALESCE(ENDS_WITH(${value}, ${suffix}), false)" } }, L = { takes: { value: "number" }, returns: "number", impl: { function: "EXP" } }, F = { takes: { value: "number" }, returns: "number", impl: { function: "FLOOR" } }, M = { generic: { T: ["string", "number", "timestamp", "date", "json"] }, takes: { values: { variadic: { generic: "T" } } }, returns: { generic: "T" }, impl: { function: "GREATEST" } }, j = { generic: { T: ["string", "number", "timestamp", "date", "json"] }, takes: { value: { generic: "T" }, default: { generic: "T" } }, returns: { generic: "T" }, impl: { function: "IFNULL" } }, U = { takes: { value: "number" }, returns: "boolean", impl: { sql: "COALESCE(IS_INF(${value}), false)" } }, G = { takes: { value: "number" }, returns: "boolean", impl: { sql: "COALESCE(IS_NAN(${value}), false)" } }, Q = { ...M, impl: { function: "LEAST" } }, V = { takes: { value: "string" }, returns: "number", impl: { function: "LENGTH" } }, Z = { takes: { value: "number" }, returns: "number", impl: { function: "LN" } }, re = { takes: { value: "number", base: "number" }, returns: "number", impl: { function: "LOG" } }, me = { takes: { value: "string" }, returns: "string", impl: { function: "LOWER" } }, ie = { whitespace: { takes: { value: "string" }, returns: "string", impl: { function: "LTRIM" } }, characters: { takes: { value: "string", trim_characters: "string" }, returns: "string", impl: { function: "LTRIM" } } }, ve = { generic: { T: ["string", "number", "timestamp", "date", "json"] }, takes: { value1: { generic: "T" }, value2: { generic: "T" } }, returns: { generic: "T" }, impl: { function: "NULLIF" } }, ye = { takes: {}, returns: "number", impl: { function: "PI" } }, Te = { takes: { base: "number", exponent: "number" }, returns: "number", impl: { function: "POW" } }, ke = { takes: {}, returns: "number", impl: { function: "RAND" } }, Me = { takes: { value: "string", pattern: "regular expression" }, returns: "string", impl: { function: "REGEXP_EXTRACT" } }, rt = { takes: { value: "string", count: "number" }, returns: "string", impl: { function: "REPEAT" } }, ft = { string: { takes: { value: "string", pattern: "string", replacement: "string" }, returns: "string", impl: { function: "REPLACE" } }, regular_expression: { takes: { value: "string", pattern: "regular expression", replacement: "string" }, returns: "string", impl: { function: "REGEXP_REPLACE" } } }, nt = { to_integer: { takes: { value: "number" }, returns: "number", impl: { function: "ROUND" } }, to_precision: { takes: { value: "number", precision: "number" }, returns: "number", impl: { function: "ROUND" } } }, We = { whitespace: { ...ie.whitespace, impl: { function: "RTRIM" } }, characters: { ...ie.characters, impl: { function: "RTRIM" } } }, Ye = { takes: { value: "number" }, returns: "number", impl: { function: "SIGN" } }, Ct = { takes: { value: "number" }, returns: "number", impl: { function: "SIN" } }, ue = { takes: { value: "number" }, returns: "number", impl: { function: "SQRT" } }, se = { takes: { value: "string", prefix: "string" }, returns: "boolean", impl: { sql: "COALESCE(STARTS_WITH(${value}, ${prefix}), false)" } }, de = { takes: { test_string: "string", search_string: "string" }, returns: "number", impl: { function: "STRPOS" } }, we = { position_only: { takes: { value: "string", position: "number" }, returns: "string", impl: { function: "SUBSTR" } }, with_length: { takes: { value: "string", position: "number", length: "number" }, returns: "string", impl: { function: "SUBSTR" } } }, qe = { takes: { value: "number" }, returns: "number", impl: { function: "TAN" } }, ce = { whitespace: { ...ie.whitespace, impl: { function: "TRIM" } }, characters: { ...ie.characters, impl: { function: "TRIM" } } }, ae = { to_integer: { takes: { value: "number" }, returns: "number", impl: { function: "TRUNC" } }, to_precision: { takes: { value: "number", precision: "number" }, returns: "number", impl: { function: "TRUNC" } } }, Ce = { takes: { value: "string" }, returns: "number", impl: { function: "UNICODE" } }, Je = { takes: { value: "string" }, returns: "string", impl: { function: "UPPER" } }, Ae = { takes: { value: { dimension: "number" } }, returns: { measure: "number" }, impl: { function: "STDDEV" } }, $e = { preceding: { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } }, preceding: { literal: "number" } }, returns: { calculation: { generic: "T" } }, impl: { sql: "AVG(${value})", needsWindowOrderBy: !0, between: { preceding: "preceding", following: 0 } } }, following: { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } }, preceding: { literal: "number" }, following: { literal: "number" } }, returns: { calculation: { generic: "T" } }, impl: { sql: "AVG(${value})", needsWindowOrderBy: !0, between: { preceding: "preceding", following: "following" } } } }, Ee = { generic: { T: ["string", "number", "timestamp", "date", "json"] }, takes: { value: { measure: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "FIRST_VALUE", needsWindowOrderBy: !0 } }, Ve = ["string", "number", "timestamp", "date", "json", "boolean"], dt = { bare: { generic: { T: Ve }, takes: { value: { measure: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "LAG", needsWindowOrderBy: !0 } }, with_offset: { generic: { T: Ve }, takes: { value: { measure: { generic: "T" } }, offset: { literal: "number" } }, returns: { calculation: { generic: "T" } }, impl: { function: "LAG", needsWindowOrderBy: !0 } }, with_default: { generic: { T: Ve }, takes: { value: { measure: { generic: "T" } }, offset: { literal: "number" }, default: { constant: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "LAG", needsWindowOrderBy: !0 } } }, ut = { generic: { T: ["string", "number", "timestamp", "date", "json"] }, takes: { value: { measure: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "LAST_VALUE", needsWindowOrderBy: !0, between: { preceding: -1, following: -1 } } }, _t = { bare: { ...dt.bare, impl: { function: "LEAD", needsWindowOrderBy: !0 } }, with_offset: { ...dt.with_offset, impl: { function: "LEAD", needsWindowOrderBy: !0 } }, with_default: { ...dt.with_default, impl: { function: "LEAD", needsWindowOrderBy: !0 } } }, yt = { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "MAX", needsWindowOrderBy: !0 } }, Dt = { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "MAX", needsWindowOrderBy: !1 } }, fr = { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "MIN", needsWindowOrderBy: !0 } }, pr = { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "MIN", needsWindowOrderBy: !1 } }, _r = { takes: {}, returns: { calculation: "number" }, impl: { function: "RANK", needsWindowOrderBy: !0 } }, Ze = { takes: {}, returns: { calculation: "number" }, impl: { function: "DENSE_RANK", needsWindowOrderBy: !0 } }, bt = { takes: {}, returns: { calculation: "number" }, impl: { function: "ROW_NUMBER", needsWindowOrderBy: !0 } }, Vt = { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "SUM", needsWindowOrderBy: !0 } }, nr = { preceding: { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } }, preceding: { literal: "number" } }, returns: { calculation: { generic: "T" } }, impl: { sql: "SUM(${value})", needsWindowOrderBy: !0, between: { preceding: "preceding", following: 0 } } }, following: { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } }, preceding: { literal: "number" }, following: { literal: "number" } }, returns: { calculation: { generic: "T" } }, impl: { sql: "SUM(${value})", needsWindowOrderBy: !0, between: { preceding: "preceding", following: "following" } } } }, ct = { generic: { T: ["string", "number", "timestamp", "date"] }, takes: { value: { measure: { generic: "T" } } }, returns: { calculation: { generic: "T" } }, impl: { function: "SUM", needsWindowOrderBy: !1 } }, et = { takes: { value: { literal: "string" } }, returns: "boolean", impl: { expr: { node: "function_parameter", name: "value" } } }, it = { takes: { value: { literal: "string" } }, returns: "date", impl: { expr: { node: "function_parameter", name: "value" } } }, Oe = { takes: { value: { literal: "string" } }, returns: "number", impl: { expr: { node: "function_parameter", name: "value" } } }, ot = { takes: { value: { literal: "string" } }, returns: "string", impl: { expr: { node: "function_parameter", name: "value" } } }, wt = { takes: { value: { literal: "string" } }, returns: "timestamp", impl: { expr: { node: "function_parameter", name: "value" } } };
52370
+ t.MALLOY_STANDARD_FUNCTIONS = { abs: r, acos: i, ascii: s, asin: o, atan2: l, atan: c, byte_length: h, ceil: p, chr: x, coalesce: E, concat: A, cos: T, div: O, ends_with: k, exp: L, floor: F, greatest: M, ifnull: j, is_inf: U, is_nan: G, least: Q, length: V, ln: Z, log: re, lower: me, ltrim: ie, nullif: ve, pi: ye, pow: Te, rand: ke, regexp_extract: Me, replace: ft, round: nt, rtrim: We, sign: Ye, sin: Ct, sqrt: ue, starts_with: se, string_repeat: rt, strpos: de, substr: we, tan: qe, trim: ce, trunc: ae, unicode: Ce, upper: Je, stddev: Ae, avg_moving: $e, dense_rank: Ze, first_value: Ee, lag: dt, last_value: ut, lead: _t, max_cumulative: yt, max_window: Dt, min_cumulative: fr, min_window: pr, rank: _r, row_number: bt, sum_cumulative: Vt, sum_moving: nr, sum_window: ct, sql_boolean: et, sql_date: it, sql_number: Oe, sql_string: ot, sql_timestamp: wt };
52370
52371
  function mt() {
52371
52372
  return (0, e.expandBlueprintMap)(t.MALLOY_STANDARD_FUNCTIONS);
52372
52373
  }
@@ -54612,8 +54613,8 @@ Use (?: … ) instead`);
54612
54613
  }
54613
54614
  var ce = ye && ye.fallback, ae = i && !ce ? "ym" : "gm", Ce = i || ce ? "" : "|";
54614
54615
  Me === !0 && (ae += "u");
54615
- var Xe = new RegExp(p(ft) + Ce, ae);
54616
- return { regexp: Xe, groups: rt, fast: Te, error: ye || F };
54616
+ var Je = new RegExp(p(ft) + Ce, ae);
54617
+ return { regexp: Je, groups: rt, fast: Te, error: ye || F };
54617
54618
  }
54618
54619
  function j(ie) {
54619
54620
  var ve = M(L(ie));
@@ -83950,16 +83951,16 @@ ${r.map((s) => ` ${s}`).join(`,
83950
83951
  var e = t.dateTime, r = t.date, i = t.time, s = t.periods, o = t.days, l = t.shortDays, c = t.months, h = t.shortMonths, p = aR(s), x = lR(s), E = aR(o), A = lR(o), T = aR(l), O = lR(l), k = aR(c), L = lR(c), F = aR(h), M = lR(h), j = { a: rt, A: ft, b: nt, B: We, c: null, d: o2e, e: o2e, f: nyt, g: hyt, G: myt, H: eyt, I: tyt, j: ryt, L: a2e, m: iyt, M: syt, p: Ye, q: Ct, Q: h2e, s: p2e, S: oyt, u: ayt, U: lyt, V: uyt, w: cyt, W: dyt, x: null, X: null, y: fyt, Y: pyt, Z: gyt, "%": f2e }, U = { a: ue, A: se, b: de, B: we, c: null, d: u2e, e: u2e, f: byt, g: Nyt, G: kyt, H: yyt, I: xyt, j: vyt, L: c2e, m: Eyt, M: _yt, p: qe, q: ce, Q: h2e, s: p2e, S: Syt, u: Ayt, U: Cyt, V: wyt, w: Tyt, W: Ryt, x: null, X: null, y: Oyt, Y: Dyt, Z: Lyt, "%": f2e }, G = { a: me, A: ie, b: ve, B: ye, c: Te, d: i2e, e: i2e, f: K1t, g: n2e, G: r2e, H: s2e, I: s2e, j: W1t, L: Y1t, m: G1t, M: V1t, p: re, q: H1t, Q: J1t, s: Z1t, S: Q1t, u: $1t, U: B1t, V: q1t, w: j1t, W: U1t, x: ke, X: Me, y: n2e, Y: r2e, Z: z1t, "%": X1t };
83951
83952
  j.x = Q(r, j), j.X = Q(i, j), j.c = Q(e, j), U.x = Q(r, U), U.X = Q(i, U), U.c = Q(e, U);
83952
83953
  function Q(ae, Ce) {
83953
- return function(Xe) {
83954
+ return function(Je) {
83954
83955
  var Ae = [], $e = -1, Ee = 0, Ve = ae.length, dt, ut, _t;
83955
- for (Xe instanceof Date || (Xe = /* @__PURE__ */ new Date(+Xe)); ++$e < Ve; ) ae.charCodeAt($e) === 37 && (Ae.push(ae.slice(Ee, $e)), (ut = t2e[dt = ae.charAt(++$e)]) != null ? dt = ae.charAt(++$e) : ut = dt === "e" ? " " : "0", (_t = Ce[dt]) && (dt = _t(Xe, ut)), Ae.push(dt), Ee = $e + 1);
83956
+ for (Je instanceof Date || (Je = /* @__PURE__ */ new Date(+Je)); ++$e < Ve; ) ae.charCodeAt($e) === 37 && (Ae.push(ae.slice(Ee, $e)), (ut = t2e[dt = ae.charAt(++$e)]) != null ? dt = ae.charAt(++$e) : ut = dt === "e" ? " " : "0", (_t = Ce[dt]) && (dt = _t(Je, ut)), Ae.push(dt), Ee = $e + 1);
83956
83957
  return Ae.push(ae.slice(Ee, $e)), Ae.join("");
83957
83958
  };
83958
83959
  }
83959
83960
  function V(ae, Ce) {
83960
- return function(Xe) {
83961
- var Ae = oR(1900, void 0, 1), $e = Z(Ae, ae, Xe += "", 0), Ee, Ve;
83962
- if ($e != Xe.length) return null;
83961
+ return function(Je) {
83962
+ var Ae = oR(1900, void 0, 1), $e = Z(Ae, ae, Je += "", 0), Ee, Ve;
83963
+ if ($e != Je.length) return null;
83963
83964
  if ("Q" in Ae) return new Date(Ae.Q);
83964
83965
  if ("s" in Ae) return new Date(Ae.s * 1e3 + ("L" in Ae ? Ae.L : 0));
83965
83966
  if (Ce && !("Z" in Ae) && (Ae.Z = 0), "p" in Ae && (Ae.H = Ae.H % 12 + Ae.p * 12), Ae.m === void 0 && (Ae.m = "q" in Ae ? Ae.q : 0), "V" in Ae) {
@@ -83969,43 +83970,43 @@ ${r.map((s) => ` ${s}`).join(`,
83969
83970
  return "Z" in Ae ? (Ae.H += Ae.Z / 100 | 0, Ae.M += Ae.Z % 100, JW(Ae)) : XW(Ae);
83970
83971
  };
83971
83972
  }
83972
- function Z(ae, Ce, Xe, Ae) {
83973
- for (var $e = 0, Ee = Ce.length, Ve = Xe.length, dt, ut; $e < Ee; ) {
83973
+ function Z(ae, Ce, Je, Ae) {
83974
+ for (var $e = 0, Ee = Ce.length, Ve = Je.length, dt, ut; $e < Ee; ) {
83974
83975
  if (Ae >= Ve) return -1;
83975
83976
  if (dt = Ce.charCodeAt($e++), dt === 37) {
83976
- if (dt = Ce.charAt($e++), ut = G[dt in t2e ? Ce.charAt($e++) : dt], !ut || (Ae = ut(ae, Xe, Ae)) < 0) return -1;
83977
- } else if (dt != Xe.charCodeAt(Ae++)) return -1;
83977
+ if (dt = Ce.charAt($e++), ut = G[dt in t2e ? Ce.charAt($e++) : dt], !ut || (Ae = ut(ae, Je, Ae)) < 0) return -1;
83978
+ } else if (dt != Je.charCodeAt(Ae++)) return -1;
83978
83979
  }
83979
83980
  return Ae;
83980
83981
  }
83981
- function re(ae, Ce, Xe) {
83982
- var Ae = p.exec(Ce.slice(Xe));
83983
- return Ae ? (ae.p = x.get(Ae[0].toLowerCase()), Xe + Ae[0].length) : -1;
83982
+ function re(ae, Ce, Je) {
83983
+ var Ae = p.exec(Ce.slice(Je));
83984
+ return Ae ? (ae.p = x.get(Ae[0].toLowerCase()), Je + Ae[0].length) : -1;
83984
83985
  }
83985
- function me(ae, Ce, Xe) {
83986
- var Ae = T.exec(Ce.slice(Xe));
83987
- return Ae ? (ae.w = O.get(Ae[0].toLowerCase()), Xe + Ae[0].length) : -1;
83986
+ function me(ae, Ce, Je) {
83987
+ var Ae = T.exec(Ce.slice(Je));
83988
+ return Ae ? (ae.w = O.get(Ae[0].toLowerCase()), Je + Ae[0].length) : -1;
83988
83989
  }
83989
- function ie(ae, Ce, Xe) {
83990
- var Ae = E.exec(Ce.slice(Xe));
83991
- return Ae ? (ae.w = A.get(Ae[0].toLowerCase()), Xe + Ae[0].length) : -1;
83990
+ function ie(ae, Ce, Je) {
83991
+ var Ae = E.exec(Ce.slice(Je));
83992
+ return Ae ? (ae.w = A.get(Ae[0].toLowerCase()), Je + Ae[0].length) : -1;
83992
83993
  }
83993
- function ve(ae, Ce, Xe) {
83994
- var Ae = F.exec(Ce.slice(Xe));
83995
- return Ae ? (ae.m = M.get(Ae[0].toLowerCase()), Xe + Ae[0].length) : -1;
83994
+ function ve(ae, Ce, Je) {
83995
+ var Ae = F.exec(Ce.slice(Je));
83996
+ return Ae ? (ae.m = M.get(Ae[0].toLowerCase()), Je + Ae[0].length) : -1;
83996
83997
  }
83997
- function ye(ae, Ce, Xe) {
83998
- var Ae = k.exec(Ce.slice(Xe));
83999
- return Ae ? (ae.m = L.get(Ae[0].toLowerCase()), Xe + Ae[0].length) : -1;
83998
+ function ye(ae, Ce, Je) {
83999
+ var Ae = k.exec(Ce.slice(Je));
84000
+ return Ae ? (ae.m = L.get(Ae[0].toLowerCase()), Je + Ae[0].length) : -1;
84000
84001
  }
84001
- function Te(ae, Ce, Xe) {
84002
- return Z(ae, e, Ce, Xe);
84002
+ function Te(ae, Ce, Je) {
84003
+ return Z(ae, e, Ce, Je);
84003
84004
  }
84004
- function ke(ae, Ce, Xe) {
84005
- return Z(ae, r, Ce, Xe);
84005
+ function ke(ae, Ce, Je) {
84006
+ return Z(ae, r, Ce, Je);
84006
84007
  }
84007
- function Me(ae, Ce, Xe) {
84008
- return Z(ae, i, Ce, Xe);
84008
+ function Me(ae, Ce, Je) {
84009
+ return Z(ae, i, Ce, Je);
84009
84010
  }
84010
84011
  function rt(ae) {
84011
84012
  return l[ae.getDay()];
@@ -86564,8 +86565,8 @@ ${r.map((s) => ` ${s}`).join(`,
86564
86565
  if (me > oa) {
86565
86566
  var Ye = T * Mx(j), Ct = T * Bf(j), ue = A * Mx(U), se = A * Bf(U), de;
86566
86567
  if (L < R3) if (de = uvt(rt, ft, ue, se, Ye, Ct, nt, We)) {
86567
- var we = rt - de[0], qe = ft - de[1], ce = Ye - de[0], ae = Ct - de[1], Ce = 1 / Bf(tvt((we * ce + qe * ae) / (jx(we * we + qe * qe) * jx(ce * ce + ae * ae))) / 2), Xe = jx(de[0] * de[0] + de[1] * de[1]);
86568
- ie = VV(me, (A - Xe) / (Ce - 1)), ve = VV(me, (T - Xe) / (Ce + 1));
86568
+ var we = rt - de[0], qe = ft - de[1], ce = Ye - de[0], ae = Ct - de[1], Ce = 1 / Bf(tvt((we * ce + qe * ae) / (jx(we * we + qe * qe) * jx(ce * ce + ae * ae))) / 2), Je = jx(de[0] * de[0] + de[1] * de[1]);
86569
+ ie = VV(me, (A - Je) / (Ce - 1)), ve = VV(me, (T - Je) / (Ce + 1));
86569
86570
  } else ie = ve = 0;
86570
86571
  }
86571
86572
  V > oa ? ve > oa ? (ye = XL(ue, se, rt, ft, T, ve, F), Te = XL(Ye, Ct, nt, We, T, ve, F), c.moveTo(ye.cx + ye.x01, ye.cy + ye.y01), ve < me ? c.arc(ye.cx, ye.cy, ve, sa(ye.y01, ye.x01), sa(Te.y01, Te.x01), !F) : (c.arc(ye.cx, ye.cy, ve, sa(ye.y01, ye.x01), sa(ye.y11, ye.x11), !F), c.arc(0, 0, T, sa(ye.cy + ye.y11, ye.cx + ye.x11), sa(Te.cy + Te.y11, Te.cx + Te.x11), !F), c.arc(Te.cx, Te.cy, ve, sa(Te.y11, Te.x11), sa(Te.y01, Te.x01), !F))) : (c.moveTo(rt, ft), c.arc(0, 0, T, M, j, !F)) : c.moveTo(rt, ft), !(A > oa) || !(Q > oa) ? c.lineTo(nt, We) : ie > oa ? (ye = XL(nt, We, Ye, Ct, A, -ie, F), Te = XL(rt, ft, ue, se, A, -ie, F), c.lineTo(ye.cx + ye.x01, ye.cy + ye.y01), ie < me ? c.arc(ye.cx, ye.cy, ie, sa(ye.y01, ye.x01), sa(Te.y01, Te.x01), !F) : (c.arc(ye.cx, ye.cy, ie, sa(ye.y01, ye.x01), sa(ye.y11, ye.x11), !F), c.arc(0, 0, A, sa(ye.cy + ye.y11, ye.cx + ye.x11), sa(Te.cy + Te.y11, Te.cx + Te.x11), F), c.arc(Te.cx, Te.cy, ie, sa(Te.y11, Te.x11), sa(Te.y01, Te.x01), !F))) : c.arc(0, 0, A, G, U, F);
@@ -98543,7 +98544,7 @@ ${r.map((s) => ` ${s}`).join(`,
98543
98544
  function qP(...[t, e]) {
98544
98545
  const r = Yp(t || {}), i = Array.isArray(r), s = DTe(r);
98545
98546
  function o(...l) {
98546
- Je(() => {
98547
+ Xe(() => {
98547
98548
  i && l.length === 1 ? xkt(r, l[0]) : q4(r, l);
98548
98549
  });
98549
98550
  }
@@ -101850,7 +101851,7 @@ ${r.map((s) => ` ${s}`).join(`,
101850
101851
  l && Kt(RRe("boxplot"));
101851
101852
  const x = (r = p.extent) !== null && r !== void 0 ? r : e.boxplot.extent, E = ai("size", p, e), A = q4e(x), { bins: T, timeUnits: O, transform: k, continuousAxisChannelDef: L, continuousAxis: F, groupby: M, aggregate: j, encodingWithoutContinuousAxis: U, ticksOrient: G, boxOrient: Q, customTooltipWithoutAggregatedField: V } = OPt(t, x, e), { color: Z, size: re } = U, me = CF(U, ["color", "size"]), ie = (dt) => BZ(p, F, L, dt, e.boxplot), ve = ie(me), ye = ie(U), Te = ie(Object.assign(Object.assign({}, me), re ? { size: re } : {})), ke = jZ([{ fieldPrefix: A === "min-max" ? "upper_whisker_" : "max_", titlePrefix: "Max" }, { fieldPrefix: "upper_box_", titlePrefix: "Q3" }, { fieldPrefix: "mid_box_", titlePrefix: "Median" }, { fieldPrefix: "lower_box_", titlePrefix: "Q1" }, { fieldPrefix: A === "min-max" ? "lower_whisker_" : "min_", titlePrefix: "Min" }], L, U), Me = { type: "tick", color: "black", opacity: 1, orient: G, invalid: null, aria: !1 }, rt = A === "min-max" ? ke : jZ([{ fieldPrefix: "upper_whisker_", titlePrefix: "Upper Whisker" }, { fieldPrefix: "lower_whisker_", titlePrefix: "Lower Whisker" }], L, U), ft = [...ve({ partName: "rule", mark: { type: "rule", invalid: null, aria: !1 }, positionPrefix: "lower_whisker", endPositionPrefix: "lower_box", extraEncoding: rt }), ...ve({ partName: "rule", mark: { type: "rule", invalid: null, aria: !1 }, positionPrefix: "upper_box", endPositionPrefix: "upper_whisker", extraEncoding: rt }), ...ve({ partName: "ticks", mark: Me, positionPrefix: "lower_whisker", extraEncoding: rt }), ...ve({ partName: "ticks", mark: Me, positionPrefix: "upper_whisker", extraEncoding: rt })], nt = [...A !== "tukey" ? ft : [], ...ye({ partName: "box", mark: Object.assign(Object.assign({ type: "bar" }, E ? { size: E } : {}), { orient: Q, invalid: null, ariaRoleDescription: "box" }), positionPrefix: "lower_box", endPositionPrefix: "upper_box", extraEncoding: ke }), ...Te({ partName: "median", mark: Object.assign(Object.assign(Object.assign({ type: "tick", invalid: null }, Nr(e.boxplot.median) && e.boxplot.median.color ? { color: e.boxplot.median.color } : {}), E ? { size: E } : {}), { orient: G, aria: !1 }), positionPrefix: "mid_box", extraEncoding: ke })];
101852
101853
  if (A === "min-max") return Object.assign(Object.assign({}, h), { transform: ((i = h.transform) !== null && i !== void 0 ? i : []).concat(k), layer: nt });
101853
- const We = `datum["lower_box_${L.field}"]`, Ye = `datum["upper_box_${L.field}"]`, Ct = `(${Ye} - ${We})`, ue = `${We} - ${x} * ${Ct}`, se = `${Ye} + ${x} * ${Ct}`, de = `datum["${L.field}"]`, we = { joinaggregate: z4e(L.field), groupby: M }, qe = { transform: [{ filter: `(${ue} <= ${de}) && (${de} <= ${se})` }, { aggregate: [{ op: "min", field: L.field, as: `lower_whisker_${L.field}` }, { op: "max", field: L.field, as: `upper_whisker_${L.field}` }, { op: "min", field: `lower_box_${L.field}`, as: `lower_box_${L.field}` }, { op: "max", field: `upper_box_${L.field}`, as: `upper_box_${L.field}` }, ...j], groupby: M }], layer: ft }, ce = CF(me, ["tooltip"]), { scale: ae, axis: Ce } = L, Xe = $Z(L), Ae = sc(Ce, ["title"]), $e = j4e(p, "outliers", e.boxplot, { transform: [{ filter: `(${de} < ${ue}) || (${de} > ${se})` }], mark: "point", encoding: Object.assign(Object.assign(Object.assign({ [F]: Object.assign(Object.assign(Object.assign({ field: L.field, type: L.type }, Xe !== void 0 ? { title: Xe } : {}), ae !== void 0 ? { scale: ae } : {}), wi(Ae) ? {} : { axis: Ae }) }, ce), Z ? { color: Z } : {}), V ? { tooltip: V } : {}) })[0];
101854
+ const We = `datum["lower_box_${L.field}"]`, Ye = `datum["upper_box_${L.field}"]`, Ct = `(${Ye} - ${We})`, ue = `${We} - ${x} * ${Ct}`, se = `${Ye} + ${x} * ${Ct}`, de = `datum["${L.field}"]`, we = { joinaggregate: z4e(L.field), groupby: M }, qe = { transform: [{ filter: `(${ue} <= ${de}) && (${de} <= ${se})` }, { aggregate: [{ op: "min", field: L.field, as: `lower_whisker_${L.field}` }, { op: "max", field: L.field, as: `upper_whisker_${L.field}` }, { op: "min", field: `lower_box_${L.field}`, as: `lower_box_${L.field}` }, { op: "max", field: `upper_box_${L.field}`, as: `upper_box_${L.field}` }, ...j], groupby: M }], layer: ft }, ce = CF(me, ["tooltip"]), { scale: ae, axis: Ce } = L, Je = $Z(L), Ae = sc(Ce, ["title"]), $e = j4e(p, "outliers", e.boxplot, { transform: [{ filter: `(${de} < ${ue}) || (${de} > ${se})` }], mark: "point", encoding: Object.assign(Object.assign(Object.assign({ [F]: Object.assign(Object.assign(Object.assign({ field: L.field, type: L.type }, Je !== void 0 ? { title: Je } : {}), ae !== void 0 ? { scale: ae } : {}), wi(Ae) ? {} : { axis: Ae }) }, ce), Z ? { color: Z } : {}), V ? { tooltip: V } : {}) })[0];
101854
101855
  let Ee;
101855
101856
  const Ve = [...T, ...O, we];
101856
101857
  return $e ? Ee = { transform: Ve, layer: [$e, qe] } : (Ee = qe, Ee.transform.unshift(...Ve)), Object.assign(Object.assign({}, h), { layer: [Ee, { transform: k, layer: nt }] });
@@ -108492,11 +108493,11 @@ ${r.map((s) => ` ${s}`).join(`,
108492
108493
  const rt = gTe({ maxString: Me, chartHeight: Te.plotHeight, chartWidth: Te.plotWidth, xField: p, parentField: t, parentTag: i }), ft = ke.barValuesToPlot.length <= 20, nt = s.text("x", "independent") === "false", We = s.has("x", "independent") && !nt, Ye = nt || ft && !We, Ct = A && ke.seriesValuesToPlot.length <= 20, ue = s.text("series", "independent") === "false", se = s.has("series", "independent") && !ue, de = ue || Ct && !se, we = Te.yAxis.hidden ? null : bTe({ type: "y", title: o.yChannel.fields.map((pr) => t.fieldAt(pr).name).join(", "), tickCount: Te.yAxis.tickCount ?? "ceil(height/40)", labelLimit: Te.yAxis.width + 10, fieldPath: c, axisSettings: Te.yAxis }), qe = 0.25, ce = 0, ae = { signal: "" };
108493
108494
  let Ce = {};
108494
108495
  Z ? (ae.signal = `scale('xOffset', datum.series)+bandwidth("xscale")*${qe / 2}`, Ce = { scale: "xOffset", band: 1 - ce }) : (ae.signal = `bandwidth("xscale")*${qe / 2}`, Ce = { scale: "xscale", band: 1 - qe });
108495
- const Xe = { name: "x_group", from: { facet: { data: "values", name: "x_facet", groupby: ["x"], aggregate: { fields: ["x", "x"], ops: ["values", "min"], as: ["v", "x"] } } }, data: [{ name: "x_facet_values", source: "x_facet", transform: [{ type: "aggregate", fields: ["x", "x"], ops: ["values", "min"], as: ["v", "x"] }] }], type: "group", interactive: !1, encode: { enter: { x: { scale: "xscale", field: "x" } } }, marks: [] }, Ae = 0.35, $e = { name: "bars", type: "rect", from: { data: "x_facet" }, zindex: 2, encode: { enter: { x: { offset: ae }, width: Ce, y: { scale: "yscale", field: o.isStack ? "y0" : "y" }, y2: o.isStack ? { scale: "yscale", field: "y1" } : { scale: "yscale", value: 0 } }, update: { fill: { scale: "color", field: "series" }, fillOpacity: [{ test: "brushSeriesIn && brushSeriesIn != datum.series", value: Ae }, { test: j ? "length(brushMeasureListIn) > 0 && indexof(brushMeasureListIn, datum.series) === -1" : "false", value: Ae }, { test: "brushXIn && length(brushXIn) > 0 && indexof(brushXIn, datum.x) === -1", value: Ae }, { test: "brushMeasureRangeIn && (datum.y < brushMeasureRangeIn[0] || datum.y > brushMeasureRangeIn[1])", value: Ae }, { value: 1 }] } } }, Ee = { name: "x_highlight", type: "rect", from: { data: "x_facet_values" }, zindex: 1, encode: { enter: { x: { value: 0 }, width: { scale: "xscale", band: 1 }, y: { value: 0 }, y2: { signal: "height" } }, update: { fill: { value: "#4c72ba" }, fillOpacity: [{ test: "brushXIn ? indexof(brushXIn,datum.x) > -1 : false", value: 0.1 }, { value: 0 }] } } };
108496
- Xe.marks.push(Ee, $e);
108496
+ const Je = { name: "x_group", from: { facet: { data: "values", name: "x_facet", groupby: ["x"], aggregate: { fields: ["x", "x"], ops: ["values", "min"], as: ["v", "x"] } } }, data: [{ name: "x_facet_values", source: "x_facet", transform: [{ type: "aggregate", fields: ["x", "x"], ops: ["values", "min"], as: ["v", "x"] }] }], type: "group", interactive: !1, encode: { enter: { x: { scale: "xscale", field: "x" } } }, marks: [] }, Ae = 0.35, $e = { name: "bars", type: "rect", from: { data: "x_facet" }, zindex: 2, encode: { enter: { x: { offset: ae }, width: Ce, y: { scale: "yscale", field: o.isStack ? "y0" : "y" }, y2: o.isStack ? { scale: "yscale", field: "y1" } : { scale: "yscale", value: 0 } }, update: { fill: { scale: "color", field: "series" }, fillOpacity: [{ test: "brushSeriesIn && brushSeriesIn != datum.series", value: Ae }, { test: j ? "length(brushMeasureListIn) > 0 && indexof(brushMeasureListIn, datum.series) === -1" : "false", value: Ae }, { test: "brushXIn && length(brushXIn) > 0 && indexof(brushXIn, datum.x) === -1", value: Ae }, { test: "brushMeasureRangeIn && (datum.y < brushMeasureRangeIn[0] || datum.y > brushMeasureRangeIn[1])", value: Ae }, { value: 1 }] } } }, Ee = { name: "x_highlight", type: "rect", from: { data: "x_facet_values" }, zindex: 1, encode: { enter: { x: { value: 0 }, width: { scale: "xscale", band: 1 }, y: { value: 0 }, y2: { signal: "height" } }, update: { fill: { value: "#4c72ba" }, fillOpacity: [{ test: "brushXIn ? indexof(brushXIn,datum.x) > -1 : false", value: 0.1 }, { value: 0 }] } } };
108497
+ Je.marks.push(Ee, $e);
108497
108498
  const Ve = { name: "values", values: [], transform: [] };
108498
108499
  j && (Ve.transform.push({ type: "fold", fields: o.yChannel.fields.map((pr) => `__values.${t.fieldAt(pr).name}`), as: ["series", "y"] }), Ve.transform.push({ type: "formula", as: "series", expr: "replace(datum.series, '__values.', '')" })), re && Ve.transform.push({ type: "stack", groupby: ["x"], field: "y", sort: { field: "series" } });
108499
- const dt = [Xe], ut = [{ name: "malloyExplore" }, { name: "xFieldRefId", value: T }, { name: "seriesFieldRefId", value: k }, { name: "measureFieldRefId", value: O }, { name: "yRefsMap", value: L }, { name: "yRefToFieldPath", value: F }, { name: "yRefsList", value: Object.values(L) }, { name: "brushXSourceId", value: G }, { name: "brushSeriesSourceId", value: Q }, { name: "brushMeasureSourceId", value: V }, { name: "brushIn", value: [] }, { name: "brushXIn", update: "getMalloyBrush(brushIn, xFieldRefId)" }, { name: "brushSeriesIn", update: "getMalloyBrush(brushIn, seriesFieldRefId)" }, { name: "brushMeasureIn", update: "getMalloyBrush(brushIn, yRefsList, 'measure') || null" }, { name: "brushMeasureRangeIn", update: "getMalloyBrush(brushIn, measureFieldRefId, 'measure-range') || null" }, { name: "brushMeasureListIn", update: j ? "pluck(getMalloyMeasureBrushes(brushIn, yRefsList, yRefToFieldPath),'fieldPath')" : "[]" }];
108500
+ const dt = [Je], ut = [{ name: "malloyExplore" }, { name: "xFieldRefId", value: T }, { name: "seriesFieldRefId", value: k }, { name: "measureFieldRefId", value: O }, { name: "yRefsMap", value: L }, { name: "yRefToFieldPath", value: F }, { name: "yRefsList", value: Object.values(L) }, { name: "brushXSourceId", value: G }, { name: "brushSeriesSourceId", value: Q }, { name: "brushMeasureSourceId", value: V }, { name: "brushIn", value: [] }, { name: "brushXIn", update: "getMalloyBrush(brushIn, xFieldRefId)" }, { name: "brushSeriesIn", update: "getMalloyBrush(brushIn, seriesFieldRefId)" }, { name: "brushMeasureIn", update: "getMalloyBrush(brushIn, yRefsList, 'measure') || null" }, { name: "brushMeasureRangeIn", update: "getMalloyBrush(brushIn, measureFieldRefId, 'measure-range') || null" }, { name: "brushMeasureListIn", update: j ? "pluck(getMalloyMeasureBrushes(brushIn, yRefsList, yRefToFieldPath),'fieldPath')" : "[]" }];
108500
108501
  if (o.interactive) {
108501
108502
  we && dt.push(...we.interactiveMarks);
108502
108503
  const pr = we ? we.interactiveSignals : [];
@@ -108611,8 +108612,8 @@ ${r.map((s) => ` ${s}`).join(`,
108611
108612
  const Oe = et.maxNumber;
108612
108613
  Oe !== void 0 && (ye = Math.max(ye, Oe));
108613
108614
  }
108614
- const Te = o.zeroBaseline ? Math.min(0, ve) : ve, ke = o.zeroBaseline ? Math.max(0, ye) : ye, Me = s.numeric("series", "limit") ?? mGt, rt = !!(L && L.valueSet.size > Me), ft = vTe(t, s, { metadata: e, xField: p, yField: k, chartType: "line_chart", getYMinMax: () => [Te, ke], independentY: s.has("y", "independent") || rt }), nt = p.valueSet.size <= 20, We = s.text("x", "independent") === "false", Ye = s.has("x", "independent") && !We, Ct = We || nt && !Ye, ue = L && L.valueSet.size <= 20, se = s.text("series", "independent") === "false", de = s.has("series", "independent") && !se, we = t.isRoot() || se || ue && !de, qe = L ? new Set(r.getTopNSeries(Me)) : null, ce = ft.yAxis.hidden ? null : bTe({ type: "y", title: o.yChannel.fields.map((ct) => t.fieldAt(ct).name).join(", "), tickCount: ft.yAxis.tickCount ?? "ceil(height/40)", labelLimit: ft.yAxis.width + 10, fieldPath: c, axisSettings: ft.yAxis }), ae = [], Ce = { name: "series_group", from: { facet: { data: T ? "non_null_x_values" : "values", name: "series_facet", groupby: ["series"], aggregate: { fields: [""], ops: ["count"], as: ["count"] } } }, type: "group", interactive: !1, marks: [] }, Xe = { name: "lines", type: "line", from: { data: "series_facet" }, encode: { enter: { x: { scale: "xscale", field: "x" }, y: { scale: "yscale", field: "y" }, strokeWidth: { value: 2 } }, update: { strokeOpacity: [{ test: "isValid(brushSeriesIn) && brushSeriesIn != datum.series", value: 0.35 }, { value: 1 }], stroke: [{ test: "isValid(brushSeriesIn) && brushSeriesIn != datum.series", value: "#ccc" }, { scale: "color", field: "series" }], zindex: [{ test: "isValid(brushSeriesIn) && brushSeriesIn === datum.series", value: 10 }, { value: 1 }] } } }, Ae = { name: "x_highlight_rule", type: "rule", from: { data: "x_data" }, zindex: 1, interactive: !1, encode: { enter: { x: { signal: O("datum.x") }, y: { value: 0 }, y2: { signal: "height" } }, update: { stroke: { value: "#4c72ba" }, fill: { value: "#4c72ba" }, strokeOpacity: [{ test: "isValid(brushXIn) ? indexof(brushXIn,datum.x) > -1 : false", value: 0.2 }, { value: 0 }] } } }, $e = { name: "x_hit_target_group", type: "group", marks: [{ name: "mid_points", type: "symbol", zindex: 1, from: { data: "x_data" }, interactive: !1, encode: { enter: { fill: { value: "transparent" }, size: { value: 36 }, x: { signal: O("datum.x") }, y: { signal: "height /2" } } } }, { name: "x_hit_target", type: "path", from: { data: "mid_points" }, encode: { enter: { fill: { value: "transparent" } } }, transform: [{ type: "voronoi", x: "datum.x", y: "datum.y", size: [{ signal: "width" }, { signal: "height" }] }] }] }, Ee = { name: "ref_line_targets", type: "symbol", from: { data: "values" }, encode: { enter: { x: { signal: O("datum.x") }, y: { scale: "yscale", field: "y" }, fill: { value: "transparent" }, size: { value: 256 } } } }, Ve = { name: "series_point_group", from: { facet: { data: "values", name: "series_point_facet", groupby: ["series"], aggregate: { fields: [""], ops: ["count"], as: ["count"] } } }, type: "group", interactive: !1, marks: [] }, dt = { name: "points", type: "symbol", from: { data: "series_point_facet" }, encode: { enter: { x: { signal: O("datum.x") }, y: { scale: "yscale", field: "y" }, fill: { scale: "color", field: "series" } }, update: { fillOpacity: [{ test: "hasNullTimeValues && datum.isNull", value: 1 }, { test: "isValid(brushXIn) ? indexof(brushXIn,datum.x) > -1 : false", value: 1 }, { signal: "item.mark.group.datum.count > 1 ? 0 : 1" }] } } };
108615
- Ce.marks.push(Xe), Ve.marks.push(dt), ae.push(Ce), ae.push(Ve), o.interactive && ce && ae.push(...ce.interactiveMarks), ae.push(Ae, $e, Ee), T && ae.push({ name: "null_axis_divider", type: "rule", encode: { enter: { x: { signal: "nullPlotStart" }, y: { signal: "height" }, y2: { value: 0 }, stroke: { value: "#bbb" }, strokeWidth: { value: 0.5 }, strokeDash: { value: [8, 4] } } } });
108615
+ const Te = o.zeroBaseline ? Math.min(0, ve) : ve, ke = o.zeroBaseline ? Math.max(0, ye) : ye, Me = s.numeric("series", "limit") ?? mGt, rt = !!(L && L.valueSet.size > Me), ft = vTe(t, s, { metadata: e, xField: p, yField: k, chartType: "line_chart", getYMinMax: () => [Te, ke], independentY: s.has("y", "independent") || rt }), nt = p.valueSet.size <= 20, We = s.text("x", "independent") === "false", Ye = s.has("x", "independent") && !We, Ct = We || nt && !Ye, ue = L && L.valueSet.size <= 20, se = s.text("series", "independent") === "false", de = s.has("series", "independent") && !se, we = t.isRoot() || se || ue && !de, qe = L ? new Set(r.getTopNSeries(Me)) : null, ce = ft.yAxis.hidden ? null : bTe({ type: "y", title: o.yChannel.fields.map((ct) => t.fieldAt(ct).name).join(", "), tickCount: ft.yAxis.tickCount ?? "ceil(height/40)", labelLimit: ft.yAxis.width + 10, fieldPath: c, axisSettings: ft.yAxis }), ae = [], Ce = { name: "series_group", from: { facet: { data: T ? "non_null_x_values" : "values", name: "series_facet", groupby: ["series"], aggregate: { fields: [""], ops: ["count"], as: ["count"] } } }, type: "group", interactive: !1, marks: [] }, Je = { name: "lines", type: "line", from: { data: "series_facet" }, encode: { enter: { x: { scale: "xscale", field: "x" }, y: { scale: "yscale", field: "y" }, strokeWidth: { value: 2 } }, update: { strokeOpacity: [{ test: "isValid(brushSeriesIn) && brushSeriesIn != datum.series", value: 0.35 }, { value: 1 }], stroke: [{ test: "isValid(brushSeriesIn) && brushSeriesIn != datum.series", value: "#ccc" }, { scale: "color", field: "series" }], zindex: [{ test: "isValid(brushSeriesIn) && brushSeriesIn === datum.series", value: 10 }, { value: 1 }] } } }, Ae = { name: "x_highlight_rule", type: "rule", from: { data: "x_data" }, zindex: 1, interactive: !1, encode: { enter: { x: { signal: O("datum.x") }, y: { value: 0 }, y2: { signal: "height" } }, update: { stroke: { value: "#4c72ba" }, fill: { value: "#4c72ba" }, strokeOpacity: [{ test: "isValid(brushXIn) ? indexof(brushXIn,datum.x) > -1 : false", value: 0.2 }, { value: 0 }] } } }, $e = { name: "x_hit_target_group", type: "group", marks: [{ name: "mid_points", type: "symbol", zindex: 1, from: { data: "x_data" }, interactive: !1, encode: { enter: { fill: { value: "transparent" }, size: { value: 36 }, x: { signal: O("datum.x") }, y: { signal: "height /2" } } } }, { name: "x_hit_target", type: "path", from: { data: "mid_points" }, encode: { enter: { fill: { value: "transparent" } } }, transform: [{ type: "voronoi", x: "datum.x", y: "datum.y", size: [{ signal: "width" }, { signal: "height" }] }] }] }, Ee = { name: "ref_line_targets", type: "symbol", from: { data: "values" }, encode: { enter: { x: { signal: O("datum.x") }, y: { scale: "yscale", field: "y" }, fill: { value: "transparent" }, size: { value: 256 } } } }, Ve = { name: "series_point_group", from: { facet: { data: "values", name: "series_point_facet", groupby: ["series"], aggregate: { fields: [""], ops: ["count"], as: ["count"] } } }, type: "group", interactive: !1, marks: [] }, dt = { name: "points", type: "symbol", from: { data: "series_point_facet" }, encode: { enter: { x: { signal: O("datum.x") }, y: { scale: "yscale", field: "y" }, fill: { scale: "color", field: "series" } }, update: { fillOpacity: [{ test: "hasNullTimeValues && datum.isNull", value: 1 }, { test: "isValid(brushXIn) ? indexof(brushXIn,datum.x) > -1 : false", value: 1 }, { signal: "item.mark.group.datum.count > 1 ? 0 : 1" }] } } };
108616
+ Ce.marks.push(Je), Ve.marks.push(dt), ae.push(Ce), ae.push(Ve), o.interactive && ce && ae.push(...ce.interactiveMarks), ae.push(Ae, $e, Ee), T && ae.push({ name: "null_axis_divider", type: "rule", encode: { enter: { x: { signal: "nullPlotStart" }, y: { signal: "height" }, y2: { value: 0 }, stroke: { value: "#bbb" }, strokeWidth: { value: 0.5 }, strokeDash: { value: [8, 4] } } } });
108616
108617
  const ut = { name: "values", values: [], transform: [{ type: "formula", expr: `datum.x === null || datum.x === "${Us}"`, as: "isNull" }] }, _t = { name: "non_null_x_values", source: "values", transform: [{ type: "filter", expr: `datum.x != null && datum.x != "${Us}"` }] }, yt = { name: "x_data", source: "values", transform: [{ type: "aggregate", groupby: ["x"], fields: ["x"], ops: ["values"], as: ["v"] }] };
108617
108618
  V && (ut.transform.push({ type: "fold", fields: o.yChannel.fields.map((ct) => `__values.${t.fieldAt(ct).name}`), as: ["series", "y"] }), ut.transform.push({ type: "formula", as: "series", expr: "replace(datum.series, '__values.', '')" }));
108618
108619
  const Dt = ce ? ce.interactiveSignals : [], fr = [{ name: "malloyExplore" }, { name: "hasNullTimeValues", value: T }, { name: "mainPlotWidth", update: "hasNullTimeValues ? clamp(0.95*width, width-48, width-32) : width" }, { name: "nullPlotStart", update: "hasNullTimeValues ? mainPlotWidth + 16 : 0" }, { name: "xFieldRefId", value: F }, { name: "seriesFieldRefId", value: j }, { name: "measureFieldRefId", value: M }, { name: "yRefsMap", value: U }, { name: "yRefToFieldPath", value: G }, { name: "yRefsList", value: Object.values(U) }, { name: "brushXSourceId", value: re }, { name: "brushSeriesSourceId", value: me }, { name: "brushMeasureSourceId", value: ie }, { name: "brushIn", value: [] }, { name: "brushXIn", update: "getMalloyBrush(brushIn, xFieldRefId)" }, { name: "brushSeriesIn", update: "getMalloyBrush(brushIn, seriesFieldRefId)" }, { name: "brushMeasureIn", update: "getMalloyBrush(brushIn, yRefsList, 'measure') || null" }, { name: "brushMeasureRangeIn", update: "getMalloyBrush(brushIn, measureFieldRefId, 'measure-range') || null" }, { name: "brushMeasureListIn", update: V ? "pluck(getMalloyMeasureBrushes(brushIn, yRefsList, yRefToFieldPath),'fieldPath')" : "[]" }];
@@ -109558,13 +109559,13 @@ const tJt = (a) => ({
109558
109559
  var Ke;
109559
109560
  const He = (Ke = Pe.filter((pt) => {
109560
109561
  if (J) {
109561
- const Je = K1(pt.placement);
109562
- return Je === q || // Create a bias to the `y` side axis due to horizontal
109562
+ const Xe = K1(pt.placement);
109563
+ return Xe === q || // Create a bias to the `y` side axis due to horizontal
109563
109564
  // reading directions favoring greater width.
109564
- Je === "y";
109565
+ Xe === "y";
109565
109566
  }
109566
109567
  return !0;
109567
- }).map((pt) => [pt.placement, pt.overflows.filter((Je) => Je > 0).reduce((Je, tt) => Je + tt, 0)]).sort((pt, Je) => pt[1] - Je[1])[0]) == null ? void 0 : Ke[0];
109568
+ }).map((pt) => [pt.placement, pt.overflows.filter((Xe) => Xe > 0).reduce((Xe, tt) => Xe + tt, 0)]).sort((pt, Xe) => pt[1] - Xe[1])[0]) == null ? void 0 : Ke[0];
109568
109569
  He && (Ne = He);
109569
109570
  break;
109570
109571
  }
@@ -110391,9 +110392,9 @@ function IJt(a) {
110391
110392
  strategy: d,
110392
110393
  middleware: R
110393
110394
  };
110394
- _e.current && (pt.platform = _e.current), LJt(J.current, ee.current, pt).then((Je) => {
110395
+ _e.current && (pt.platform = _e.current), LJt(J.current, ee.current, pt).then((Xe) => {
110395
110396
  const tt = {
110396
- ...Je,
110397
+ ...Xe,
110397
110398
  // The floating element's position may be recomputed while it's closed
110398
110399
  // but still mounted (such as when transitioning out). To ensure
110399
110400
  // `isPositioned` will be `false` initially on the next open, avoid
@@ -110437,16 +110438,16 @@ function IJt(a) {
110437
110438
  };
110438
110439
  if (!Ne.floating)
110439
110440
  return pt;
110440
- const Je = t9e(Ne.floating, S.x), tt = t9e(Ne.floating, S.y);
110441
+ const Xe = t9e(Ne.floating, S.x), tt = t9e(Ne.floating, S.y);
110441
110442
  return b ? {
110442
110443
  ...pt,
110443
- transform: "translate(" + Je + "px, " + tt + "px)",
110444
+ transform: "translate(" + Xe + "px, " + tt + "px)",
110444
110445
  ...eMe(Ne.floating) >= 1.5 && {
110445
110446
  willChange: "transform"
110446
110447
  }
110447
110448
  } : {
110448
110449
  position: d,
110449
- left: Je,
110450
+ left: Xe,
110450
110451
  top: tt
110451
110452
  };
110452
110453
  }, [d, b, Ne.floating, S.x, S.y]);
@@ -110572,7 +110573,7 @@ var Zse = "PopperContent", [VJt, QJt] = rMe(Zse), aMe = Y.forwardRef(
110572
110573
  updatePositionStrategy: z = "optimized",
110573
110574
  onPlaced: W,
110574
110575
  ...X
110575
- } = a, J = nMe(Zse, v), [ee, fe] = Y.useState(null), be = On(u, (ze) => fe(ze)), [Pe, _e] = Y.useState(null), De = GJt(Pe), Ke = De?.width ?? 0, Ue = De?.height ?? 0, te = _ + (w !== "center" ? "-" + w : ""), Ne = typeof I == "number" ? I : { top: 0, right: 0, bottom: 0, left: 0, ...I }, He = Array.isArray(B) ? B : [B], pt = He.length > 0, Je = {
110576
+ } = a, J = nMe(Zse, v), [ee, fe] = Y.useState(null), be = On(u, (ze) => fe(ze)), [Pe, _e] = Y.useState(null), De = GJt(Pe), Ke = De?.width ?? 0, Ue = De?.height ?? 0, te = _ + (w !== "center" ? "-" + w : ""), Ne = typeof I == "number" ? I : { top: 0, right: 0, bottom: 0, left: 0, ...I }, He = Array.isArray(B) ? B : [B], pt = He.length > 0, Xe = {
110576
110577
  padding: Ne,
110577
110578
  boundary: He.filter(KJt),
110578
110579
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
@@ -110593,11 +110594,11 @@ var Zse = "PopperContent", [VJt, QJt] = rMe(Zse), aMe = Y.forwardRef(
110593
110594
  mainAxis: !0,
110594
110595
  crossAxis: !1,
110595
110596
  limiter: $ === "partial" ? jJt() : void 0,
110596
- ...Je
110597
+ ...Xe
110597
110598
  }),
110598
- D && $Jt({ ...Je }),
110599
+ D && $Jt({ ...Xe }),
110599
110600
  BJt({
110600
- ...Je,
110601
+ ...Xe,
110601
110602
  apply: ({ elements: ze, rects: Ge, availableWidth: vt, availableHeight: Et }) => {
110602
110603
  const { width: Ft, height: Bt } = Ge.reference, gt = ze.floating.style;
110603
110604
  gt.setProperty("--radix-popper-available-width", `${vt}px`), gt.setProperty("--radix-popper-available-height", `${Et}px`), gt.setProperty("--radix-popper-anchor-width", `${Ft}px`), gt.setProperty("--radix-popper-anchor-height", `${Bt}px`);
@@ -110605,7 +110606,7 @@ var Zse = "PopperContent", [VJt, QJt] = rMe(Zse), aMe = Y.forwardRef(
110605
110606
  }),
110606
110607
  Pe && UJt({ element: Pe, padding: N }),
110607
110608
  XJt({ arrowWidth: Ke, arrowHeight: Ue }),
110608
- q && qJt({ strategy: "referenceHidden", ...Je })
110609
+ q && qJt({ strategy: "referenceHidden", ...Xe })
110609
110610
  ]
110610
110611
  }), [xe, Re] = cMe(Be), Ie = eo(W);
110611
110612
  Aa(() => {
@@ -110742,7 +110743,7 @@ var D$ = iMe, LN = oMe, k$ = aMe, L$ = uMe, JJt = "Portal", eA = Y.forwardRef((a
110742
110743
  const { container: f, ...m } = a, [g, y] = Y.useState(!1);
110743
110744
  Aa(() => y(!0), []);
110744
110745
  const b = f || g && ((d = globalThis?.document) == null ? void 0 : d.body);
110745
- return b ? pWt.createPortal(/* @__PURE__ */ P.jsx(on.div, { ...m, ref: u }), b) : null;
110746
+ return b ? hWt.createPortal(/* @__PURE__ */ P.jsx(on.div, { ...m, ref: u }), b) : null;
110746
110747
  });
110747
110748
  eA.displayName = JJt;
110748
110749
  function ZJt(a, u) {
@@ -110861,7 +110862,7 @@ var nZt = "VisuallyHidden", eoe = Y.forwardRef(
110861
110862
  )
110862
110863
  );
110863
110864
  eoe.displayName = nZt;
110864
- var iZt = eoe, [I$, K2r] = rf("Tooltip", [
110865
+ var iZt = eoe, [I$, J2r] = rf("Tooltip", [
110865
110866
  ay
110866
110867
  ]), P$ = ay(), dMe = "TooltipProvider", sZt = 700, yie = "tooltip.open", [oZt, toe] = I$(dMe), fMe = (a) => {
110867
110868
  const {
@@ -111785,7 +111786,7 @@ function vie(a, [u, d]) {
111785
111786
  function Wer(a, u) {
111786
111787
  return Y.useReducer((d, f) => u[d][f] ?? d, a);
111787
111788
  }
111788
- var noe = "ScrollArea", [bMe, X2r] = rf(noe), [Ver, wc] = bMe(noe), EMe = Y.forwardRef(
111789
+ var noe = "ScrollArea", [bMe, Z2r] = rf(noe), [Ver, wc] = bMe(noe), EMe = Y.forwardRef(
111789
111790
  (a, u) => {
111790
111791
  const {
111791
111792
  __scopeScrollArea: d,
@@ -113650,7 +113651,7 @@ var HN = Y.forwardRef(function(a, u) {
113650
113651
  return Y.createElement(U$, Nh({}, a, { ref: u, sideCar: orr }));
113651
113652
  });
113652
113653
  HN.classNames = U$.classNames;
113653
- var arr = [" ", "Enter", "ArrowUp", "ArrowDown"], lrr = [" ", "Enter"], GN = "Select", [z$, H$, urr] = uoe(GN), [oA, J2r] = rf(GN, [
113654
+ var arr = [" ", "Enter", "ArrowUp", "ArrowDown"], lrr = [" ", "Enter"], GN = "Select", [z$, H$, urr] = uoe(GN), [oA, evr] = rf(GN, [
113654
113655
  urr,
113655
113656
  ay
113656
113657
  ]), G$ = ay(), [crr, ly] = oA(GN), [drr, frr] = oA(GN), UMe = (a) => {
@@ -113866,24 +113867,24 @@ var Gd = 10, [YMe, uy] = oA(db), grr = "SelectContentImpl", KMe = Y.forwardRef(
113866
113867
  Y.useEffect(() => {
113867
113868
  Ke && He();
113868
113869
  }, [Ke, He]);
113869
- const { onOpenChange: pt, triggerPointerDownPosRef: Je } = q;
113870
+ const { onOpenChange: pt, triggerPointerDownPosRef: Xe } = q;
113870
113871
  Y.useEffect(() => {
113871
113872
  if (z) {
113872
113873
  let Ie = { x: 0, y: 0 };
113873
113874
  const le = (Le) => {
113874
113875
  var Qe, st;
113875
113876
  Ie = {
113876
- x: Math.abs(Math.round(Le.pageX) - (((Qe = Je.current) == null ? void 0 : Qe.x) ?? 0)),
113877
- y: Math.abs(Math.round(Le.pageY) - (((st = Je.current) == null ? void 0 : st.y) ?? 0))
113877
+ x: Math.abs(Math.round(Le.pageX) - (((Qe = Xe.current) == null ? void 0 : Qe.x) ?? 0)),
113878
+ y: Math.abs(Math.round(Le.pageY) - (((st = Xe.current) == null ? void 0 : st.y) ?? 0))
113878
113879
  };
113879
113880
  }, Se = (Le) => {
113880
- Ie.x <= 10 && Ie.y <= 10 ? Le.preventDefault() : z.contains(Le.target) || pt(!1), document.removeEventListener("pointermove", le), Je.current = null;
113881
+ Ie.x <= 10 && Ie.y <= 10 ? Le.preventDefault() : z.contains(Le.target) || pt(!1), document.removeEventListener("pointermove", le), Xe.current = null;
113881
113882
  };
113882
- return Je.current !== null && (document.addEventListener("pointermove", le), document.addEventListener("pointerup", Se, { capture: !0, once: !0 })), () => {
113883
+ return Xe.current !== null && (document.addEventListener("pointermove", le), document.addEventListener("pointerup", Se, { capture: !0, once: !0 })), () => {
113883
113884
  document.removeEventListener("pointermove", le), document.removeEventListener("pointerup", Se, { capture: !0 });
113884
113885
  };
113885
113886
  }
113886
- }, [z, pt, Je]), Y.useEffect(() => {
113887
+ }, [z, pt, Xe]), Y.useEffect(() => {
113887
113888
  const Ie = () => pt(!1);
113888
113889
  return window.addEventListener("blur", Ie), window.addEventListener("resize", Ie), () => {
113889
113890
  window.removeEventListener("blur", Ie), window.removeEventListener("resize", Ie);
@@ -114017,7 +114018,7 @@ var yrr = "SelectItemAlignedPosition", XMe = Y.forwardRef((a, u) => {
114017
114018
  ]);
114018
114019
  b.style.minWidth = Ge + "px", b.style.right = Ft + "px";
114019
114020
  }
114020
- const _e = R(), De = window.innerHeight - Gd * 2, Ke = B.scrollHeight, Ue = window.getComputedStyle(_), te = parseInt(Ue.borderTopWidth, 10), Ne = parseInt(Ue.paddingTop, 10), He = parseInt(Ue.borderBottomWidth, 10), pt = parseInt(Ue.paddingBottom, 10), Je = te + Ne + Ke + pt + He, tt = Math.min(I.offsetHeight * 5, Je), xt = window.getComputedStyle(B), Be = parseInt(xt.paddingTop, 10), ge = parseInt(xt.paddingBottom, 10), pe = ee.top + ee.height / 2 - Gd, xe = De - pe, Re = I.offsetHeight / 2, Ie = I.offsetTop + Re, le = te + Ne + Ie, Se = Je - le;
114021
+ const _e = R(), De = window.innerHeight - Gd * 2, Ke = B.scrollHeight, Ue = window.getComputedStyle(_), te = parseInt(Ue.borderTopWidth, 10), Ne = parseInt(Ue.paddingTop, 10), He = parseInt(Ue.borderBottomWidth, 10), pt = parseInt(Ue.paddingBottom, 10), Xe = te + Ne + Ke + pt + He, tt = Math.min(I.offsetHeight * 5, Xe), xt = window.getComputedStyle(B), Be = parseInt(xt.paddingTop, 10), ge = parseInt(xt.paddingBottom, 10), pe = ee.top + ee.height / 2 - Gd, xe = De - pe, Re = I.offsetHeight / 2, Ie = I.offsetTop + Re, le = te + Ne + Ie, Se = Xe - le;
114021
114022
  if (le <= pe) {
114022
114023
  const Qe = _e.length > 0 && I === _e[_e.length - 1].ref.current;
114023
114024
  b.style.bottom = "0px";
@@ -126115,7 +126116,7 @@ Wt.HTML5_FMT = {
126115
126116
  MONTH: "YYYY-MM"
126116
126117
  // <input type="month" />
126117
126118
  };
126118
- var Koe = "Popover", [fBe, tvr] = rf(Koe, [
126119
+ var Koe = "Popover", [fBe, nvr] = rf(Koe, [
126119
126120
  ay
126120
126121
  ]), JN = ay(), [jdr, cy] = fBe(Koe), hBe = (a) => {
126121
126122
  const {
@@ -127477,17 +127478,17 @@ var Sc = "MenuContent", [Cfr, nae] = bb(Sc), FBe = Y.forwardRef(
127477
127478
  onDismiss: N,
127478
127479
  disableOutsideScroll: D,
127479
127480
  ...B
127480
- } = a, I = Eb(Sc, d), $ = r6(Sc, d), q = hB(d), z = kBe(d), W = vfr(d), [X, J] = Y.useState(null), ee = Y.useRef(null), fe = On(u, ee, I.onContentChange), be = Y.useRef(0), Pe = Y.useRef(""), _e = Y.useRef(0), De = Y.useRef(null), Ke = Y.useRef("right"), Ue = Y.useRef(0), te = D ? HN : Y.Fragment, Ne = D ? { as: Q1, allowPinchZoom: !0 } : void 0, He = (Je) => {
127481
+ } = a, I = Eb(Sc, d), $ = r6(Sc, d), q = hB(d), z = kBe(d), W = vfr(d), [X, J] = Y.useState(null), ee = Y.useRef(null), fe = On(u, ee, I.onContentChange), be = Y.useRef(0), Pe = Y.useRef(""), _e = Y.useRef(0), De = Y.useRef(null), Ke = Y.useRef("right"), Ue = Y.useRef(0), te = D ? HN : Y.Fragment, Ne = D ? { as: Q1, allowPinchZoom: !0 } : void 0, He = (Xe) => {
127481
127482
  var tt, xt;
127482
- const Be = Pe.current + Je, ge = W().filter((Se) => !Se.disabled), pe = document.activeElement, xe = (tt = ge.find((Se) => Se.ref.current === pe)) == null ? void 0 : tt.textValue, Re = ge.map((Se) => Se.textValue), Ie = $fr(Re, Be, xe), le = (xt = ge.find((Se) => Se.textValue === Ie)) == null ? void 0 : xt.ref.current;
127483
+ const Be = Pe.current + Xe, ge = W().filter((Se) => !Se.disabled), pe = document.activeElement, xe = (tt = ge.find((Se) => Se.ref.current === pe)) == null ? void 0 : tt.textValue, Re = ge.map((Se) => Se.textValue), Ie = $fr(Re, Be, xe), le = (xt = ge.find((Se) => Se.textValue === Ie)) == null ? void 0 : xt.ref.current;
127483
127484
  (function Se(Le) {
127484
127485
  Pe.current = Le, window.clearTimeout(be.current), Le !== "" && (be.current = window.setTimeout(() => Se(""), 1e3));
127485
127486
  })(Be), le && setTimeout(() => le.focus());
127486
127487
  };
127487
127488
  Y.useEffect(() => () => window.clearTimeout(be.current), []), B$();
127488
- const pt = Y.useCallback((Je) => {
127489
+ const pt = Y.useCallback((Xe) => {
127489
127490
  var tt, xt;
127490
- return Ke.current === ((tt = De.current) == null ? void 0 : tt.side) && qfr(Je, (xt = De.current) == null ? void 0 : xt.area);
127491
+ return Ke.current === ((tt = De.current) == null ? void 0 : tt.side) && qfr(Xe, (xt = De.current) == null ? void 0 : xt.area);
127491
127492
  }, []);
127492
127493
  return /* @__PURE__ */ P.jsx(
127493
127494
  Cfr,
@@ -127495,36 +127496,36 @@ var Sc = "MenuContent", [Cfr, nae] = bb(Sc), FBe = Y.forwardRef(
127495
127496
  scope: d,
127496
127497
  searchRef: Pe,
127497
127498
  onItemEnter: Y.useCallback(
127498
- (Je) => {
127499
- pt(Je) && Je.preventDefault();
127499
+ (Xe) => {
127500
+ pt(Xe) && Xe.preventDefault();
127500
127501
  },
127501
127502
  [pt]
127502
127503
  ),
127503
127504
  onItemLeave: Y.useCallback(
127504
- (Je) => {
127505
+ (Xe) => {
127505
127506
  var tt;
127506
- pt(Je) || ((tt = ee.current) == null || tt.focus(), J(null));
127507
+ pt(Xe) || ((tt = ee.current) == null || tt.focus(), J(null));
127507
127508
  },
127508
127509
  [pt]
127509
127510
  ),
127510
127511
  onTriggerLeave: Y.useCallback(
127511
- (Je) => {
127512
- pt(Je) && Je.preventDefault();
127512
+ (Xe) => {
127513
+ pt(Xe) && Xe.preventDefault();
127513
127514
  },
127514
127515
  [pt]
127515
127516
  ),
127516
127517
  pointerGraceTimerRef: _e,
127517
- onPointerGraceIntentChange: Y.useCallback((Je) => {
127518
- De.current = Je;
127518
+ onPointerGraceIntentChange: Y.useCallback((Xe) => {
127519
+ De.current = Xe;
127519
127520
  }, []),
127520
127521
  children: /* @__PURE__ */ P.jsx(te, { ...Ne, children: /* @__PURE__ */ P.jsx(
127521
127522
  zN,
127522
127523
  {
127523
127524
  asChild: !0,
127524
127525
  trapped: m,
127525
- onMountAutoFocus: gr(g, (Je) => {
127526
+ onMountAutoFocus: gr(g, (Xe) => {
127526
127527
  var tt;
127527
- Je.preventDefault(), (tt = ee.current) == null || tt.focus({ preventScroll: !0 });
127528
+ Xe.preventDefault(), (tt = ee.current) == null || tt.focus({ preventScroll: !0 });
127528
127529
  }),
127529
127530
  onUnmountAutoFocus: y,
127530
127531
  children: /* @__PURE__ */ P.jsx(
@@ -127547,8 +127548,8 @@ var Sc = "MenuContent", [Cfr, nae] = bb(Sc), FBe = Y.forwardRef(
127547
127548
  loop: f,
127548
127549
  currentTabStopId: X,
127549
127550
  onCurrentTabStopIdChange: J,
127550
- onEntryFocus: gr(v, (Je) => {
127551
- $.isUsingKeyboardRef.current || Je.preventDefault();
127551
+ onEntryFocus: gr(v, (Xe) => {
127552
+ $.isUsingKeyboardRef.current || Xe.preventDefault();
127552
127553
  }),
127553
127554
  preventScrollOnEntryFocus: !0,
127554
127555
  children: /* @__PURE__ */ P.jsx(
@@ -127563,25 +127564,25 @@ var Sc = "MenuContent", [Cfr, nae] = bb(Sc), FBe = Y.forwardRef(
127563
127564
  ...B,
127564
127565
  ref: fe,
127565
127566
  style: { outline: "none", ...B.style },
127566
- onKeyDown: gr(B.onKeyDown, (Je) => {
127567
- const xt = Je.target.closest("[data-radix-menu-content]") === Je.currentTarget, Be = Je.ctrlKey || Je.altKey || Je.metaKey, ge = Je.key.length === 1;
127568
- xt && (Je.key === "Tab" && Je.preventDefault(), !Be && ge && He(Je.key));
127567
+ onKeyDown: gr(B.onKeyDown, (Xe) => {
127568
+ const xt = Xe.target.closest("[data-radix-menu-content]") === Xe.currentTarget, Be = Xe.ctrlKey || Xe.altKey || Xe.metaKey, ge = Xe.key.length === 1;
127569
+ xt && (Xe.key === "Tab" && Xe.preventDefault(), !Be && ge && He(Xe.key));
127569
127570
  const pe = ee.current;
127570
- if (Je.target !== pe || !gfr.includes(Je.key)) return;
127571
- Je.preventDefault();
127571
+ if (Xe.target !== pe || !gfr.includes(Xe.key)) return;
127572
+ Xe.preventDefault();
127572
127573
  const Re = W().filter((Ie) => !Ie.disabled).map((Ie) => Ie.ref.current);
127573
- NBe.includes(Je.key) && Re.reverse(), Mfr(Re);
127574
+ NBe.includes(Xe.key) && Re.reverse(), Mfr(Re);
127574
127575
  }),
127575
- onBlur: gr(a.onBlur, (Je) => {
127576
- Je.currentTarget.contains(Je.target) || (window.clearTimeout(be.current), Pe.current = "");
127576
+ onBlur: gr(a.onBlur, (Xe) => {
127577
+ Xe.currentTarget.contains(Xe.target) || (window.clearTimeout(be.current), Pe.current = "");
127577
127578
  }),
127578
127579
  onPointerMove: gr(
127579
127580
  a.onPointerMove,
127580
- sN((Je) => {
127581
- const tt = Je.target, xt = Ue.current !== Je.clientX;
127582
- if (Je.currentTarget.contains(tt) && xt) {
127583
- const Be = Je.clientX > Ue.current ? "right" : "left";
127584
- Ke.current = Be, Ue.current = Je.clientX;
127581
+ sN((Xe) => {
127582
+ const tt = Xe.target, xt = Ue.current !== Xe.clientX;
127583
+ if (Xe.currentTarget.contains(tt) && xt) {
127584
+ const Be = Xe.clientX > Ue.current ? "right" : "left";
127585
+ Ke.current = Be, Ue.current = Xe.clientX;
127585
127586
  }
127586
127587
  })
127587
127588
  )
@@ -127784,7 +127785,7 @@ var Pfr = "MenuArrow", VBe = Y.forwardRef(
127784
127785
  }
127785
127786
  );
127786
127787
  VBe.displayName = Pfr;
127787
- var Ffr = "MenuSub", [rvr, QBe] = bb(Ffr), R5 = "MenuSubTrigger", YBe = Y.forwardRef(
127788
+ var Ffr = "MenuSub", [ivr, QBe] = bb(Ffr), R5 = "MenuSubTrigger", YBe = Y.forwardRef(
127788
127789
  (a, u) => {
127789
127790
  const d = Eb(R5, a.__scopeMenu), f = r6(R5, a.__scopeMenu), m = QBe(R5, a.__scopeMenu), g = nae(R5, a.__scopeMenu), y = Y.useRef(null), { pointerGraceTimerRef: b, onPointerGraceIntentChange: v } = g, _ = { __scopeMenu: a.__scopeMenu }, S = Y.useCallback(() => {
127790
127791
  y.current && window.clearTimeout(y.current), y.current = null;
@@ -127934,7 +127935,7 @@ function qfr(a, u) {
127934
127935
  function sN(a) {
127935
127936
  return (u) => u.pointerType === "mouse" ? a(u) : void 0;
127936
127937
  }
127937
- var Ufr = LBe, zfr = tae, Hfr = PBe, Gfr = FBe, Wfr = sae, Vfr = MBe, Qfr = pB, Yfr = $Be, Kfr = qBe, Xfr = zBe, Jfr = GBe, Zfr = WBe, ehr = VBe, thr = YBe, rhr = XBe, lae = "DropdownMenu", [nhr, nvr] = rf(
127938
+ var Ufr = LBe, zfr = tae, Hfr = PBe, Gfr = FBe, Wfr = sae, Vfr = MBe, Qfr = pB, Yfr = $Be, Kfr = qBe, Xfr = zBe, Jfr = GBe, Zfr = WBe, ehr = VBe, thr = YBe, rhr = XBe, lae = "DropdownMenu", [nhr, svr] = rf(
127938
127939
  lae,
127939
127940
  [DBe]
127940
127941
  ), dl = DBe(), [ihr, ZBe] = nhr(lae), eqe = (a) => {
@@ -128932,7 +128933,7 @@ function tpr(a) {
128932
128933
  id: b,
128933
128934
  announcement: y
128934
128935
  }));
128935
- return d ? mWt(S, d) : S;
128936
+ return d ? pWt(S, d) : S;
128936
128937
  }
128937
128938
  var Zs;
128938
128939
  (function(a) {
@@ -130555,7 +130556,7 @@ var q1;
130555
130556
  (function(a) {
130556
130557
  a[a.Uninitialized = 0] = "Uninitialized", a[a.Initializing = 1] = "Initializing", a[a.Initialized = 2] = "Initialized";
130557
130558
  })(q1 || (q1 = {}));
130558
- const amr = /* @__PURE__ */ fWt(function(u) {
130559
+ const amr = /* @__PURE__ */ dWt(function(u) {
130559
130560
  var d, f, m, g;
130560
130561
  let {
130561
130562
  id: y,
@@ -130568,7 +130569,7 @@ const amr = /* @__PURE__ */ fWt(function(u) {
130568
130569
  modifiers: N,
130569
130570
  ...D
130570
130571
  } = u;
130571
- const B = hWt(rmr, void 0, tmr), [I, $] = B, [q, z] = Jhr(), [W, X] = $r(q1.Uninitialized), J = W === q1.Initialized, {
130572
+ const B = fWt(rmr, void 0, tmr), [I, $] = B, [q, z] = Jhr(), [W, X] = $r(q1.Uninitialized), J = W === q1.Initialized, {
130572
130573
  draggable: {
130573
130574
  active: ee,
130574
130575
  nodes: fe,
@@ -130588,7 +130589,7 @@ const amr = /* @__PURE__ */ fWt(function(u) {
130588
130589
  data: (Ir = _e?.data) != null ? Ir : Jpr,
130589
130590
  rect: De
130590
130591
  } : null;
130591
- }, [ee, _e]), Ue = Dn(null), [te, Ne] = $r(null), [He, pt] = $r(null), Je = aN(D, Object.values(D)), tt = s6("DndDescribedBy", y), xt = Sn(() => Pe.getEnabled(), [Pe]), Be = smr(R), {
130592
+ }, [ee, _e]), Ue = Dn(null), [te, Ne] = $r(null), [He, pt] = $r(null), Xe = aN(D, Object.values(D)), tt = s6("DndDescribedBy", y), xt = Sn(() => Pe.getEnabled(), [Pe]), Be = smr(R), {
130592
130593
  droppableRects: ge,
130593
130594
  measureDroppableContainers: pe,
130594
130595
  measuringScheduled: xe
@@ -130666,7 +130667,7 @@ const amr = /* @__PURE__ */ fWt(function(u) {
130666
130667
  return;
130667
130668
  const {
130668
130669
  onDragAbort: fl
130669
- } = Je.current, Tu = {
130670
+ } = Xe.current, Tu = {
130670
130671
  id: $s
130671
130672
  };
130672
130673
  fl?.(Tu), q({
@@ -130679,7 +130680,7 @@ const amr = /* @__PURE__ */ fWt(function(u) {
130679
130680
  return;
130680
130681
  const {
130681
130682
  onDragPending: fy
130682
- } = Je.current, of = {
130683
+ } = Xe.current, of = {
130683
130684
  id: $s,
130684
130685
  constraint: Wl,
130685
130686
  initialCoordinates: fl,
@@ -130699,7 +130700,7 @@ const amr = /* @__PURE__ */ fWt(function(u) {
130699
130700
  return;
130700
130701
  const {
130701
130702
  onDragStart: Tu
130702
- } = Je.current, Ru = {
130703
+ } = Xe.current, Ru = {
130703
130704
  activatorEvent: gs,
130704
130705
  active: {
130705
130706
  id: Wl,
@@ -130740,7 +130741,7 @@ const amr = /* @__PURE__ */ fWt(function(u) {
130740
130741
  if (fl && fy) {
130741
130742
  const {
130742
130743
  cancelDrop: hy
130743
- } = Je.current;
130744
+ } = Xe.current;
130744
130745
  of = {
130745
130746
  activatorEvent: gs,
130746
130747
  active: fl,
@@ -130755,7 +130756,7 @@ const amr = /* @__PURE__ */ fWt(function(u) {
130755
130756
  }), X(q1.Uninitialized), ln(null), Ne(null), pt(null), H.current = null;
130756
130757
  const hy = $s === Zs.DragEnd ? "onDragEnd" : "onDragCancel";
130757
130758
  if (of) {
130758
- const mA = Je.current[hy];
130759
+ const mA = Xe.current[hy];
130759
130760
  mA?.(of), q({
130760
130761
  type: hy,
130761
130762
  event: of
@@ -130789,7 +130790,7 @@ const amr = /* @__PURE__ */ fWt(function(u) {
130789
130790
  () => {
130790
130791
  const {
130791
130792
  onDragMove: Ir
130792
- } = Je.current, {
130793
+ } = Xe.current, {
130793
130794
  active: br,
130794
130795
  activatorEvent: Yi,
130795
130796
  collisions: ss,
@@ -130829,7 +130830,7 @@ const amr = /* @__PURE__ */ fWt(function(u) {
130829
130830
  return;
130830
130831
  const {
130831
130832
  onDragOver: gs
130832
- } = Je.current, Ki = ss.get(Ht), Rr = Ki && Ki.rect.current ? {
130833
+ } = Xe.current, Ki = ss.get(Ht), Rr = Ki && Ki.rect.current ? {
130833
130834
  id: Ki.id,
130834
130835
  rect: Ki.rect.current,
130835
130836
  data: Ki.data,
@@ -131278,7 +131279,7 @@ function Cmr(a) {
131278
131279
  listeners: Ne,
131279
131280
  isDragging: He,
131280
131281
  over: pt,
131281
- setActivatorNodeRef: Je,
131282
+ setActivatorNodeRef: Xe,
131282
131283
  transform: tt
131283
131284
  } = cmr({
131284
131285
  id: y,
@@ -131353,7 +131354,7 @@ function Cmr(a) {
131353
131354
  overIndex: I,
131354
131355
  over: pt,
131355
131356
  setNodeRef: xt,
131356
- setActivatorNodeRef: Je,
131357
+ setActivatorNodeRef: Xe,
131357
131358
  setDroppableNodeRef: Pe,
131358
131359
  setDraggableNodeRef: te,
131359
131360
  transform: ze ?? Ie,
@@ -133679,7 +133680,7 @@ function E0r({
133679
133680
  })]
133680
133681
  });
133681
133682
  }
133682
- var Cae = "Dialog", [Hqe, ivr] = rf(Cae), [_0r, sf] = Hqe(Cae), Gqe = (a) => {
133683
+ var Cae = "Dialog", [Hqe, ovr] = rf(Cae), [_0r, sf] = Hqe(Cae), Gqe = (a) => {
133683
133684
  const {
133684
133685
  __scopeDialog: u,
133685
133686
  children: d,
@@ -133883,7 +133884,7 @@ R0r.displayName = tUe;
133883
133884
  function Rae(a) {
133884
133885
  return a ? "open" : "closed";
133885
133886
  }
133886
- var rUe = "DialogTitleWarning", [svr, nUe] = NXt(rUe, {
133887
+ var rUe = "DialogTitleWarning", [avr, nUe] = NXt(rUe, {
133887
133888
  contentName: fb,
133888
133889
  titleName: Tae,
133889
133890
  docsSlug: "dialog"
@@ -135828,7 +135829,7 @@ const Rgr = {
135828
135829
  $$css: !0
135829
135830
  }
135830
135831
  };
135831
- var Oae = "Tabs", [Ogr, ovr] = rf(Oae, [
135832
+ var Oae = "Tabs", [Ogr, lvr] = rf(Oae, [
135832
135833
  fB
135833
135834
  ]), uUe = fB(), [Ngr, Nae] = Ogr(Oae), cUe = Y.forwardRef(
135834
135835
  (a, u) => {
@@ -137347,7 +137348,7 @@ function SUe({
137347
137348
  ) }) }, a.sourceInfo.name);
137348
137349
  }
137349
137350
  const d1r = new u$(new zo()), f1r = new Ca();
137350
- function avr({
137351
+ function uvr({
137351
137352
  modelPath: a,
137352
137353
  expandResults: u,
137353
137354
  hideResultIcons: d,
@@ -137942,7 +137943,7 @@ const O1r = Y.forwardRef(function(u, d) {
137942
137943
  {
137943
137944
  ...S(),
137944
137945
  ...I.link && {
137945
- onClick: () => I.link()
137946
+ onClick: ($) => I.link($)
137946
137947
  },
137947
137948
  sx: {
137948
137949
  // If the item is not selectable, disable pointer events.
@@ -137982,7 +137983,7 @@ function CUe(a, u, d) {
137982
137983
  id: u + g,
137983
137984
  label: g,
137984
137985
  fileType: y,
137985
- link: y === "model" || y === "notebook" ? d.bind(null, u + g) : void 0,
137986
+ link: y === "model" || y === "notebook" ? (b) => d(u + g, b) : void 0,
137986
137987
  selectable: y === "model" || y === "notebook"
137987
137988
  }) : (u += `${g}/`, f.push({
137988
137989
  id: u,
@@ -138167,7 +138168,7 @@ function q1r({
138167
138168
  ] }) }) : null;
138168
138169
  }
138169
138170
  const U1r = "README.malloynb";
138170
- function lvr({
138171
+ function cvr({
138171
138172
  server: a,
138172
138173
  projectName: u,
138173
138174
  packageName: d,
@@ -138268,7 +138269,7 @@ function lvr({
138268
138269
  }
138269
138270
  );
138270
138271
  }
138271
- const z1r = dse(() => import("./RenderedResult-BSo_9A4J.js"));
138272
+ const z1r = dse(() => import("./RenderedResult-Drg_uJPZ.js"));
138272
138273
  function H1r({
138273
138274
  result: a,
138274
138275
  minHeight: u,
@@ -138291,12 +138292,7 @@ function H1r({
138291
138292
  return;
138292
138293
  }
138293
138294
  const I = u - 20, $ = g > I;
138294
- g < I && R(g + 20), console.log("Height comparison:", {
138295
- contentHeight: g,
138296
- minHeight: u,
138297
- availableHeight: I,
138298
- exceedsHeight: $
138299
- }), v($);
138295
+ g < I && R(g + 20), v($);
138300
138296
  }, [g, u]), !a)
138301
138297
  return null;
138302
138298
  const B = w ? {
@@ -138311,8 +138307,8 @@ function H1r({
138311
138307
  position: "relative",
138312
138308
  minHeight: `${u}px`,
138313
138309
  maxHeight: `${f ? d : u}px`,
138314
- border: "1px solid #e0e0e0",
138315
- borderRadius: 1,
138310
+ border: "0px",
138311
+ borderRadius: 0,
138316
138312
  overflow: "hidden",
138317
138313
  display: "flex",
138318
138314
  flexDirection: "column",
@@ -138738,7 +138734,7 @@ function K1r(a, u, d, f) {
138738
138734
  expandCodeCells={${f}}
138739
138735
  />`;
138740
138736
  }
138741
- class uvr {
138737
+ class dvr {
138742
138738
  makeKey(u, d) {
138743
138739
  let f = `BROWSER_NOTEBOOK_STORAGE__${u.project}/${u.package}`;
138744
138740
  return d && (f += `/${d}`), f;
@@ -138777,6 +138773,17 @@ class uvr {
138777
138773
  localStorage.setItem(g, y), localStorage.removeItem(m);
138778
138774
  }
138779
138775
  }
138776
+ function X1r() {
138777
+ const a = mWt();
138778
+ return (u, d) => {
138779
+ if (!d || !d.metaKey && !d.ctrlKey && !d.shiftKey && d.button !== 1) {
138780
+ a(u);
138781
+ return;
138782
+ }
138783
+ const f = new URL(u, window.location.href).href;
138784
+ (d.metaKey || d.ctrlKey || d.button === 1 || d.shiftKey) && window.open(f, "_blank");
138785
+ };
138786
+ }
138780
138787
  class U5 {
138781
138788
  /**
138782
138789
  * Creates a new NotebookManager instance
@@ -138905,15 +138912,15 @@ import {${u.sourceName}}" from '${u.modelPath}'"
138905
138912
  return new U5(u, d, m);
138906
138913
  }
138907
138914
  }
138908
- const X1r = new u$(new zo()), J1r = new Ca();
138909
- function Z1r({
138915
+ const J1r = new u$(new zo()), Z1r = new Ca();
138916
+ function eyr({
138910
138917
  initialSelectedModels: a,
138911
138918
  onModelChange: u
138912
138919
  }) {
138913
138920
  const { server: d, projectName: f, packageName: m, versionId: g, accessToken: y } = vN(), { data: b, isLoading: v, isSuccess: _, isError: S, error: w } = wa(
138914
138921
  {
138915
138922
  queryKey: ["models", d, f, m, g],
138916
- queryFn: () => X1r.listModels(f, m, g, {
138923
+ queryFn: () => J1r.listModels(f, m, g, {
138917
138924
  baseURL: d,
138918
138925
  withCredentials: !y,
138919
138926
  headers: {
@@ -138922,7 +138929,7 @@ function Z1r({
138922
138929
  }),
138923
138930
  retry: !1
138924
138931
  },
138925
- J1r
138932
+ Z1r
138926
138933
  ), [R, N] = wr.useState(
138927
138934
  a || []
138928
138935
  ), [D, B] = wr.useState(!1);
@@ -138999,7 +139006,7 @@ function Z1r({
138999
139006
  }
139000
139007
  );
139001
139008
  }
139002
- function eyr({
139009
+ function tyr({
139003
139010
  cell: a,
139004
139011
  sourceAndPaths: u,
139005
139012
  onCellChange: d,
@@ -139029,8 +139036,8 @@ function eyr({
139029
139036
  }
139030
139037
  );
139031
139038
  }
139032
- const tyr = dse(() => import("./RenderedResult-BSo_9A4J.js"));
139033
- function ryr({
139039
+ const ryr = dse(() => import("./RenderedResult-Drg_uJPZ.js"));
139040
+ function nyr({
139034
139041
  cell: a,
139035
139042
  expandCodeCell: u,
139036
139043
  expandEmbedding: d,
@@ -139053,7 +139060,7 @@ function ryr({
139053
139060
  wr.useEffect(() => {
139054
139061
  document.documentElement.setAttribute("data-color-mode", "light");
139055
139062
  });
139056
- const X = nyr((Ue) => {
139063
+ const X = iyr((Ue) => {
139057
139064
  b({ ...a, value: Ue });
139058
139065
  }), [J, ee] = $r(!1), fe = () => {
139059
139066
  S(), ee(!1);
@@ -139236,7 +139243,7 @@ function ryr({
139236
139243
  )
139237
139244
  ] }),
139238
139245
  f && (be ? /* @__PURE__ */ P.jsx(yr, { children: "No Model Imports. Please add a model import above." }) : /* @__PURE__ */ P.jsx(
139239
- eyr,
139246
+ tyr,
139240
139247
  {
139241
139248
  sourceAndPaths: g,
139242
139249
  onCellChange: b,
@@ -139248,15 +139255,17 @@ function ryr({
139248
139255
  ase,
139249
139256
  {
139250
139257
  sx: { maxHeight: "400px", overflow: "auto" },
139251
- children: /* @__PURE__ */ P.jsx(fse, { fallback: "Loading malloy...", children: /* @__PURE__ */ P.jsx(tyr, { result: a.result }) })
139258
+ children: /* @__PURE__ */ P.jsx(fse, { fallback: "Loading malloy...", children: /* @__PURE__ */ P.jsx(ryr, { result: a.result }) })
139252
139259
  }
139253
139260
  ) })
139254
139261
  ] }),
139255
139262
  J && _e
139256
139263
  ] });
139257
139264
  }
139258
- function nyr(a, u = 2e3) {
139259
- const d = wr.useRef();
139265
+ function iyr(a, u = 2e3) {
139266
+ const d = wr.useRef(
139267
+ void 0
139268
+ );
139260
139269
  return wr.useCallback(
139261
139270
  (f) => {
139262
139271
  d.current && clearTimeout(d.current), d.current = setTimeout(() => {
@@ -139267,7 +139276,7 @@ function nyr(a, u = 2e3) {
139267
139276
  );
139268
139277
  }
139269
139278
  const wUe = pb(void 0);
139270
- function cvr({
139279
+ function fvr({
139271
139280
  children: a,
139272
139281
  userContext: u,
139273
139282
  notebookStorage: d
@@ -139278,7 +139287,7 @@ function cvr({
139278
139287
  );
139279
139288
  return /* @__PURE__ */ P.jsx(wUe.Provider, { value: f, children: a });
139280
139289
  }
139281
- function iyr() {
139290
+ function syr() {
139282
139291
  const a = In(wUe);
139283
139292
  if (!a)
139284
139293
  throw new Error(
@@ -139286,18 +139295,18 @@ function iyr() {
139286
139295
  );
139287
139296
  return a;
139288
139297
  }
139289
- const syr = new u$(new zo());
139290
- function dvr({
139298
+ const oyr = new u$(new zo());
139299
+ function hvr({
139291
139300
  notebookPath: a,
139292
139301
  expandCodeCells: u,
139293
139302
  expandEmbeddings: d
139294
139303
  }) {
139295
- const f = aWt(), { server: m, projectName: g, packageName: y, versionId: b, accessToken: v } = vN();
139304
+ const f = X1r(), { server: m, projectName: g, packageName: y, versionId: b, accessToken: v } = vN();
139296
139305
  if (!g || !y)
139297
139306
  throw new Error(
139298
139307
  "Project and package must be provided via PubliserPackageProvider"
139299
139308
  );
139300
- const { notebookStorage: _, userContext: S } = iyr();
139309
+ const { notebookStorage: _, userContext: S } = syr();
139301
139310
  if (!_ || !S)
139302
139311
  throw new Error(
139303
139312
  "Notebook storage and user context must be provided via NotebookStorageProvider"
@@ -139306,19 +139315,19 @@ function dvr({
139306
139315
  []
139307
139316
  ), [z, W] = wr.useState(
139308
139317
  null
139309
- ), [X, J] = wr.useState(null), ee = !!z, fe = (Je, tt) => {
139310
- W(Je.currentTarget), J(tt);
139318
+ ), [X, J] = wr.useState(null), ee = !!z, fe = (Xe, tt) => {
139319
+ W(Xe.currentTarget), J(tt);
139311
139320
  }, be = () => {
139312
139321
  W(null), J(null);
139313
- }, Pe = (Je, tt) => {
139322
+ }, Pe = (Xe, tt) => {
139314
139323
  w.insertCell(tt, {
139315
- isMarkdown: Je,
139324
+ isMarkdown: Xe,
139316
139325
  value: ""
139317
- }), Ne(), Je ? I(tt) : D(tt), be();
139326
+ }), Ne(), Xe ? I(tt) : D(tt), be();
139318
139327
  }, [_e, De] = wr.useState(!1), Ke = () => {
139319
139328
  De(!0);
139320
- }, Ue = () => {
139321
- a && _ && S && _.deleteNotebook(S, a), De(!1), f(`/${g}/${y}`);
139329
+ }, Ue = (Xe) => {
139330
+ a && _ && S && _.deleteNotebook(S, a), De(!1), f(`/${g}/${y}`, Xe);
139322
139331
  }, te = () => {
139323
139332
  De(!1);
139324
139333
  }, Ne = wr.useCallback(() => {
@@ -139327,18 +139336,18 @@ function dvr({
139327
139336
  if (wr.useEffect(() => {
139328
139337
  if (!w)
139329
139338
  return;
139330
- const Je = new Map(
139339
+ const Xe = new Map(
139331
139340
  $.map(({ modelPath: Be, sourceInfos: ge }) => [
139332
139341
  Be,
139333
139342
  ge
139334
139343
  ])
139335
139344
  ), tt = [], xt = [];
139336
139345
  for (const Be of w.getModels())
139337
- Je.has(Be) ? tt.push({
139346
+ Xe.has(Be) ? tt.push({
139338
139347
  modelPath: Be,
139339
- sourceInfos: Je.get(Be)
139348
+ sourceInfos: Xe.get(Be)
139340
139349
  }) : (console.log("Fetching model from Publisher", Be), xt.push(
139341
- syr.getModel(g, y, Be, b, {
139350
+ oyr.getModel(g, y, Be, b, {
139342
139351
  baseURL: m,
139343
139352
  withCredentials: !v
139344
139353
  }).then((ge) => ({
@@ -139369,16 +139378,16 @@ function dvr({
139369
139378
  );
139370
139379
  }, [a, _, S]), !w)
139371
139380
  return /* @__PURE__ */ P.jsx("div", { children: "Loading..." });
139372
- const He = (Je) => {
139381
+ const He = (Xe) => {
139373
139382
  const tt = [];
139374
- for (const xt of Je)
139383
+ for (const xt of Xe)
139375
139384
  for (const Be of xt.sourceInfos)
139376
139385
  tt.push({
139377
139386
  modelPath: xt.modelPath,
139378
139387
  sourceInfo: Be
139379
139388
  });
139380
139389
  return tt;
139381
- }, pt = (Je) => /* @__PURE__ */ P.jsx(
139390
+ }, pt = (Xe) => /* @__PURE__ */ P.jsx(
139382
139391
  hb,
139383
139392
  {
139384
139393
  sx: {
@@ -139392,8 +139401,8 @@ function dvr({
139392
139401
  {
139393
139402
  variant: "outlined",
139394
139403
  size: "small",
139395
- startIcon: /* @__PURE__ */ P.jsx(oyr, {}),
139396
- onClick: (tt) => fe(tt, Je),
139404
+ startIcon: /* @__PURE__ */ P.jsx(ayr, {}),
139405
+ onClick: (tt) => fe(tt, Xe),
139397
139406
  children: "New Cell"
139398
139407
  }
139399
139408
  )
@@ -139432,7 +139441,7 @@ function dvr({
139432
139441
  mt: 1,
139433
139442
  mb: 1
139434
139443
  },
139435
- children: /* @__PURE__ */ P.jsx(ayr, { notebookData: w })
139444
+ children: /* @__PURE__ */ P.jsx(lyr, { notebookData: w })
139436
139445
  }
139437
139446
  ),
139438
139447
  /* @__PURE__ */ P.jsxs(
@@ -139461,7 +139470,7 @@ function dvr({
139461
139470
  onClose: te,
139462
139471
  children: [
139463
139472
  /* @__PURE__ */ P.jsx(mN, { children: "Delete Notebook" }),
139464
- /* @__PURE__ */ P.jsx(gN, { children: /* @__PURE__ */ P.jsxs(lWt, { children: [
139473
+ /* @__PURE__ */ P.jsx(gN, { children: /* @__PURE__ */ P.jsxs(aWt, { children: [
139465
139474
  'Are you sure you want to delete the notebook "',
139466
139475
  a,
139467
139476
  '"? This action cannot be undone.'
@@ -139471,7 +139480,7 @@ function dvr({
139471
139480
  /* @__PURE__ */ P.jsx(
139472
139481
  Bl,
139473
139482
  {
139474
- onClick: Ue,
139483
+ onClick: (Xe) => Ue(Xe),
139475
139484
  color: "error",
139476
139485
  autoFocus: !0,
139477
139486
  children: "Delete"
@@ -139489,22 +139498,22 @@ function dvr({
139489
139498
  }
139490
139499
  ) }),
139491
139500
  /* @__PURE__ */ P.jsx(
139492
- Z1r,
139501
+ eyr,
139493
139502
  {
139494
139503
  initialSelectedModels: w.getModels(),
139495
- onModelChange: (Je) => {
139496
- R(w.setModels(Je)), Ne();
139504
+ onModelChange: (Xe) => {
139505
+ R(w.setModels(Xe)), Ne();
139497
139506
  }
139498
139507
  }
139499
139508
  ),
139500
139509
  /* @__PURE__ */ P.jsx(jS, { children: /* @__PURE__ */ P.jsxs(ps, { children: [
139501
- w.getCells().map((Je, tt) => /* @__PURE__ */ P.jsx(
139510
+ w.getCells().map((Xe, tt) => /* @__PURE__ */ P.jsx(
139502
139511
  wr.Fragment,
139503
139512
  {
139504
139513
  children: /* @__PURE__ */ P.jsx(
139505
- ryr,
139514
+ nyr,
139506
139515
  {
139507
- cell: Je,
139516
+ cell: Xe,
139508
139517
  newCell: pt(tt),
139509
139518
  sourceAndPaths: He($),
139510
139519
  expandCodeCell: u,
@@ -139518,10 +139527,10 @@ function dvr({
139518
139527
  R(w.setCell(tt, xt)), Ne();
139519
139528
  },
139520
139529
  onEdit: () => {
139521
- Je.isMarkdown ? I(tt) : D(tt);
139530
+ Xe.isMarkdown ? I(tt) : D(tt);
139522
139531
  },
139523
139532
  onClose: () => {
139524
- Je.isMarkdown ? I(void 0) : D(void 0);
139533
+ Xe.isMarkdown ? I(void 0) : D(void 0);
139525
139534
  }
139526
139535
  }
139527
139536
  )
@@ -139530,7 +139539,7 @@ function dvr({
139530
139539
  )),
139531
139540
  /* @__PURE__ */ P.jsx(Ri, { style: { paddingRight: "7px", paddingTop: "10px" }, children: pt(w.getCells().length) }),
139532
139541
  /* @__PURE__ */ P.jsxs(
139533
- uWt,
139542
+ lWt,
139534
139543
  {
139535
139544
  anchorEl: z,
139536
139545
  open: ee,
@@ -139562,7 +139571,7 @@ function dvr({
139562
139571
  ] }) })
139563
139572
  ] });
139564
139573
  }
139565
- function oyr() {
139574
+ function ayr() {
139566
139575
  return /* @__PURE__ */ P.jsx(
139567
139576
  "svg",
139568
139577
  {
@@ -139581,7 +139590,7 @@ function oyr() {
139581
139590
  }
139582
139591
  );
139583
139592
  }
139584
- function ayr({
139593
+ function lyr({
139585
139594
  notebookData: a
139586
139595
  }) {
139587
139596
  const [u, d] = wr.useState(!1), f = async () => {
@@ -139596,8 +139605,8 @@ function ayr({
139596
139605
  return /* @__PURE__ */ P.jsx(Bl, { variant: "outlined", color: "primary", onClick: f, children: u ? "Copied!" : "Export To Malloy" });
139597
139606
  }
139598
139607
  Ti.defaults.baseURL = "http://localhost:4000";
139599
- const lyr = new JIe(new zo()), uyr = new Ca();
139600
- function cyr({
139608
+ const uyr = new JIe(new zo()), cyr = new Ca();
139609
+ function dyr({
139601
139610
  server: a,
139602
139611
  projectName: u,
139603
139612
  accessToken: d
@@ -139605,7 +139614,7 @@ function cyr({
139605
139614
  const { data: f, isSuccess: m, isError: g, error: y } = wa(
139606
139615
  {
139607
139616
  queryKey: ["about", a, u],
139608
- queryFn: () => lyr.getProject(u, !1, {
139617
+ queryFn: () => uyr.getProject(u, !1, {
139609
139618
  baseURL: a,
139610
139619
  withCredentials: !0,
139611
139620
  headers: {
@@ -139613,7 +139622,7 @@ function cyr({
139613
139622
  }
139614
139623
  })
139615
139624
  },
139616
- uyr
139625
+ cyr
139617
139626
  );
139618
139627
  return /* @__PURE__ */ P.jsxs(P.Fragment, { children: [
139619
139628
  !m && !g && /* @__PURE__ */ P.jsx(yr, { variant: "body2", sx: { p: "10px", m: "auto" }, children: "Fetching About..." }),
@@ -139627,8 +139636,8 @@ function cyr({
139627
139636
  g && /* @__PURE__ */ P.jsx(yr, { variant: "body2", sx: { p: "10px", m: "auto" }, children: y.message })
139628
139637
  ] });
139629
139638
  }
139630
- const dyr = new XIe(new zo()), fyr = new Ca();
139631
- function hyr({
139639
+ const fyr = new XIe(new zo()), hyr = new Ca();
139640
+ function pyr({
139632
139641
  server: a,
139633
139642
  projectName: u,
139634
139643
  navigate: d,
@@ -139637,7 +139646,7 @@ function hyr({
139637
139646
  const { data: m, isSuccess: g, isError: y, error: b } = wa(
139638
139647
  {
139639
139648
  queryKey: ["packages", a, u],
139640
- queryFn: () => dyr.listPackages(u, {
139649
+ queryFn: () => fyr.listPackages(u, {
139641
139650
  baseURL: a,
139642
139651
  withCredentials: !f,
139643
139652
  headers: {
@@ -139645,11 +139654,9 @@ function hyr({
139645
139654
  }
139646
139655
  })
139647
139656
  },
139648
- fyr
139657
+ hyr
139649
139658
  );
139650
- return d || (d = (v) => {
139651
- window.location.href = v;
139652
- }), /* @__PURE__ */ P.jsxs(P.Fragment, { children: [
139659
+ return /* @__PURE__ */ P.jsxs(P.Fragment, { children: [
139653
139660
  !g && !y && /* @__PURE__ */ P.jsx(yr, { variant: "body2", sx: { p: "20px", m: "auto" }, children: "Fetching Packages..." }),
139654
139661
  g && /* @__PURE__ */ P.jsxs(Ro, { variant: "outlined", children: [
139655
139662
  /* @__PURE__ */ P.jsxs(ul, { children: [
@@ -139672,7 +139679,7 @@ function hyr({
139672
139679
  {
139673
139680
  variant: "outlined",
139674
139681
  sx: { padding: "10px", cursor: "pointer" },
139675
- onClick: () => d(v.name + "/"),
139682
+ onClick: (_) => d(v.name + "/", _),
139676
139683
  children: /* @__PURE__ */ P.jsxs(ul, { children: [
139677
139684
  /* @__PURE__ */ P.jsx(
139678
139685
  yr,
@@ -139706,7 +139713,7 @@ function hyr({
139706
139713
  y && /* @__PURE__ */ P.jsx(yr, { variant: "body2", sx: { p: "10px", m: "auto" }, children: b.message })
139707
139714
  ] });
139708
139715
  }
139709
- function fvr({
139716
+ function pvr({
139710
139717
  server: a,
139711
139718
  projectName: u,
139712
139719
  navigate: d,
@@ -139721,7 +139728,7 @@ function fvr({
139721
139728
  sx: { mb: (m) => m.spacing(2) },
139722
139729
  children: [
139723
139730
  /* @__PURE__ */ P.jsx(Co, { size: { xs: 12, md: 12 }, children: /* @__PURE__ */ P.jsx(
139724
- hyr,
139731
+ pyr,
139725
139732
  {
139726
139733
  server: a,
139727
139734
  projectName: u,
@@ -139730,7 +139737,7 @@ function fvr({
139730
139737
  }
139731
139738
  ) }),
139732
139739
  /* @__PURE__ */ P.jsx(Co, { size: { xs: 12, md: 12 }, children: /* @__PURE__ */ P.jsx(
139733
- cyr,
139740
+ dyr,
139734
139741
  {
139735
139742
  server: a,
139736
139743
  projectName: u,
@@ -139742,16 +139749,16 @@ function fvr({
139742
139749
  );
139743
139750
  }
139744
139751
  Ti.defaults.baseURL = "http://localhost:4000";
139745
- const pyr = new JIe(new zo()), myr = new Ca();
139746
- function hvr({ server: a, navigate: u }) {
139752
+ const myr = new JIe(new zo()), gyr = new Ca();
139753
+ function mvr({ server: a, navigate: u }) {
139747
139754
  const { data: d, isSuccess: f } = wa(
139748
139755
  {
139749
139756
  queryKey: ["projects", a],
139750
- queryFn: () => pyr.listProjects({
139757
+ queryFn: () => myr.listProjects({
139751
139758
  baseURL: a
139752
139759
  })
139753
139760
  },
139754
- myr
139761
+ gyr
139755
139762
  );
139756
139763
  return console.log(JSON.stringify(d?.data, null, 2)), f ? d.data.length === 0 ? /* @__PURE__ */ P.jsx(yr, { variant: "h4", children: "No projects found" }) : d.data.length === 1 ? (u(`/${d.data[0].name}/`), /* @__PURE__ */ P.jsx(P.Fragment, {})) : /* @__PURE__ */ P.jsx(
139757
139764
  Co,
@@ -139764,15 +139771,15 @@ function hvr({ server: a, navigate: u }) {
139764
139771
  yr,
139765
139772
  {
139766
139773
  variant: "h1",
139767
- onClick: () => u(`/${m.name}/`),
139774
+ onClick: (g) => u(`/${m.name}/`, g),
139768
139775
  children: m.name
139769
139776
  }
139770
139777
  ) }, m.name))
139771
139778
  }
139772
139779
  ) : /* @__PURE__ */ P.jsx(yr, { variant: "h6", children: "Loading projects..." });
139773
139780
  }
139774
- const gyr = new hse(new zo()), yyr = new Ca();
139775
- function xyr({
139781
+ const yyr = new hse(new zo()), xyr = new Ca();
139782
+ function vyr({
139776
139783
  server: a,
139777
139784
  projectName: u,
139778
139785
  connectionName: d,
@@ -139783,7 +139790,7 @@ function xyr({
139783
139790
  const { data: y, isSuccess: b, isError: v, error: _, isLoading: S } = wa(
139784
139791
  {
139785
139792
  queryKey: ["tables", a, u, d, f],
139786
- queryFn: () => gyr.listTables(u, d, f, {
139793
+ queryFn: () => yyr.listTables(u, d, f, {
139787
139794
  baseURL: a,
139788
139795
  withCredentials: !m,
139789
139796
  headers: {
@@ -139792,7 +139799,7 @@ function xyr({
139792
139799
  }),
139793
139800
  retry: !1
139794
139801
  },
139795
- yyr
139802
+ xyr
139796
139803
  );
139797
139804
  return /* @__PURE__ */ P.jsxs(Ri, { sx: { width: "100%" }, children: [
139798
139805
  /* @__PURE__ */ P.jsxs(yr, { variant: "overline", fontWeight: "bold", children: [
@@ -139816,7 +139823,7 @@ function xyr({
139816
139823
  ] });
139817
139824
  }
139818
139825
  const TUe = new hse(new zo()), RUe = new Ca();
139819
- function pvr({
139826
+ function gvr({
139820
139827
  server: a,
139821
139828
  projectName: u,
139822
139829
  connectionName: d,
@@ -139854,10 +139861,10 @@ function pvr({
139854
139861
  children: [
139855
139862
  /* @__PURE__ */ P.jsx(yr, { variant: "overline", fontWeight: "bold", children: "Table Paths" }),
139856
139863
  /* @__PURE__ */ P.jsx(
139857
- cWt,
139864
+ uWt,
139858
139865
  {
139859
139866
  control: /* @__PURE__ */ P.jsx(
139860
- dWt,
139867
+ cWt,
139861
139868
  {
139862
139869
  checked: v,
139863
139870
  onChange: (B) => _(B.target.checked)
@@ -139890,7 +139897,7 @@ function pvr({
139890
139897
  ] })
139891
139898
  ] }) }),
139892
139899
  /* @__PURE__ */ P.jsx(Co, { size: { xs: 12, md: 6 }, children: y && /* @__PURE__ */ P.jsx(Gne, { sx: { p: 2 }, children: /* @__PURE__ */ P.jsx(
139893
- xyr,
139900
+ vyr,
139894
139901
  {
139895
139902
  server: a,
139896
139903
  projectName: u,
@@ -139903,7 +139910,7 @@ function pvr({
139903
139910
  }
139904
139911
  ) }) }),
139905
139912
  m && /* @__PURE__ */ P.jsx(
139906
- vyr,
139913
+ byr,
139907
139914
  {
139908
139915
  server: a,
139909
139916
  projectName: u,
@@ -139916,7 +139923,7 @@ function pvr({
139916
139923
  )
139917
139924
  ] });
139918
139925
  }
139919
- function vyr({
139926
+ function byr({
139920
139927
  server: a,
139921
139928
  projectName: u,
139922
139929
  connectionName: d,
@@ -140017,19 +140024,20 @@ function vyr({
140017
140024
  ] });
140018
140025
  }
140019
140026
  export {
140020
- uvr as BrowserNotebookStorage,
140021
- pvr as ConnectionExplorer,
140022
- hvr as Home,
140023
- avr as Model,
140024
- dvr as MutableNotebook,
140027
+ dvr as BrowserNotebookStorage,
140028
+ gvr as ConnectionExplorer,
140029
+ mvr as Home,
140030
+ uvr as Model,
140031
+ hvr as MutableNotebook,
140025
140032
  Q1r as Notebook,
140026
- cvr as NotebookStorageProvider,
140027
- lvr as Package,
140028
- fvr as Project,
140033
+ fvr as NotebookStorageProvider,
140034
+ cvr as Package,
140035
+ pvr as Project,
140029
140036
  kQt as PublisherPackageProvider,
140030
140037
  RQt as QueryResult,
140031
140038
  SUe as SourceExplorerComponent,
140032
140039
  _Ue as SourcesExplorer,
140033
- iyr as useNotebookStorage,
140034
- vN as usePublisherPackage
140040
+ syr as useNotebookStorage,
140041
+ vN as usePublisherPackage,
140042
+ X1r as useRouterClickHandler
140035
140043
  };