@malloydata/render 0.0.282 → 0.0.284
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.
- package/dist/module/index.mjs +555 -553
- package/dist/module/index.umd.js +207 -207
- package/dist/register/register.mjs +905 -903
- package/dist/register/register.umd.js +73 -73
- package/dist/webcomponent/malloy-render.mjs +905 -903
- package/dist/webcomponent/malloy-render.umd.js +73 -73
- package/package.json +5 -5
package/dist/module/index.mjs
CHANGED
|
@@ -470,19 +470,19 @@ class t0 extends Dx {
|
|
|
470
470
|
super("Zone is an abstract class");
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
const Ue = "numeric",
|
|
473
|
+
const Ue = "numeric", Wo = "short", As = "long", L7 = {
|
|
474
474
|
year: Ue,
|
|
475
475
|
month: Ue,
|
|
476
476
|
day: Ue
|
|
477
477
|
}, CK = {
|
|
478
478
|
year: Ue,
|
|
479
|
-
month:
|
|
479
|
+
month: Wo,
|
|
480
480
|
day: Ue
|
|
481
481
|
}, J2e = {
|
|
482
482
|
year: Ue,
|
|
483
|
-
month:
|
|
483
|
+
month: Wo,
|
|
484
484
|
day: Ue,
|
|
485
|
-
weekday:
|
|
485
|
+
weekday: Wo
|
|
486
486
|
}, SK = {
|
|
487
487
|
year: Ue,
|
|
488
488
|
month: As,
|
|
@@ -503,7 +503,7 @@ const Ue = "numeric", Go = "short", As = "long", L7 = {
|
|
|
503
503
|
hour: Ue,
|
|
504
504
|
minute: Ue,
|
|
505
505
|
second: Ue,
|
|
506
|
-
timeZoneName:
|
|
506
|
+
timeZoneName: Wo
|
|
507
507
|
}, OK = {
|
|
508
508
|
hour: Ue,
|
|
509
509
|
minute: Ue,
|
|
@@ -523,7 +523,7 @@ const Ue = "numeric", Go = "short", As = "long", L7 = {
|
|
|
523
523
|
minute: Ue,
|
|
524
524
|
second: Ue,
|
|
525
525
|
hourCycle: "h23",
|
|
526
|
-
timeZoneName:
|
|
526
|
+
timeZoneName: Wo
|
|
527
527
|
}, LK = {
|
|
528
528
|
hour: Ue,
|
|
529
529
|
minute: Ue,
|
|
@@ -545,22 +545,22 @@ const Ue = "numeric", Go = "short", As = "long", L7 = {
|
|
|
545
545
|
second: Ue
|
|
546
546
|
}, BK = {
|
|
547
547
|
year: Ue,
|
|
548
|
-
month:
|
|
548
|
+
month: Wo,
|
|
549
549
|
day: Ue,
|
|
550
550
|
hour: Ue,
|
|
551
551
|
minute: Ue
|
|
552
552
|
}, kK = {
|
|
553
553
|
year: Ue,
|
|
554
|
-
month:
|
|
554
|
+
month: Wo,
|
|
555
555
|
day: Ue,
|
|
556
556
|
hour: Ue,
|
|
557
557
|
minute: Ue,
|
|
558
558
|
second: Ue
|
|
559
559
|
}, X2e = {
|
|
560
560
|
year: Ue,
|
|
561
|
-
month:
|
|
561
|
+
month: Wo,
|
|
562
562
|
day: Ue,
|
|
563
|
-
weekday:
|
|
563
|
+
weekday: Wo,
|
|
564
564
|
hour: Ue,
|
|
565
565
|
minute: Ue
|
|
566
566
|
}, PK = {
|
|
@@ -569,7 +569,7 @@ const Ue = "numeric", Go = "short", As = "long", L7 = {
|
|
|
569
569
|
day: Ue,
|
|
570
570
|
hour: Ue,
|
|
571
571
|
minute: Ue,
|
|
572
|
-
timeZoneName:
|
|
572
|
+
timeZoneName: Wo
|
|
573
573
|
}, MK = {
|
|
574
574
|
year: Ue,
|
|
575
575
|
month: As,
|
|
@@ -577,7 +577,7 @@ const Ue = "numeric", Go = "short", As = "long", L7 = {
|
|
|
577
577
|
hour: Ue,
|
|
578
578
|
minute: Ue,
|
|
579
579
|
second: Ue,
|
|
580
|
-
timeZoneName:
|
|
580
|
+
timeZoneName: Wo
|
|
581
581
|
}, jK = {
|
|
582
582
|
year: Ue,
|
|
583
583
|
month: As,
|
|
@@ -1084,7 +1084,7 @@ class Vi {
|
|
|
1084
1084
|
return oj(o, s(a));
|
|
1085
1085
|
}
|
|
1086
1086
|
}
|
|
1087
|
-
class
|
|
1087
|
+
class Bo {
|
|
1088
1088
|
constructor(e, r) {
|
|
1089
1089
|
this.reason = e, this.explanation = r;
|
|
1090
1090
|
}
|
|
@@ -2201,7 +2201,7 @@ class Rt {
|
|
|
2201
2201
|
static invalid(e, r = null) {
|
|
2202
2202
|
if (!e)
|
|
2203
2203
|
throw new qs("need to specify a reason the Duration is invalid");
|
|
2204
|
-
const i = e instanceof
|
|
2204
|
+
const i = e instanceof Bo ? e : new Bo(e, r);
|
|
2205
2205
|
if (jn.throwOnInvalid)
|
|
2206
2206
|
throw new K2e(i);
|
|
2207
2207
|
return new Rt({ invalid: i });
|
|
@@ -2645,7 +2645,7 @@ let eg = class tr {
|
|
|
2645
2645
|
static invalid(e, r = null) {
|
|
2646
2646
|
if (!e)
|
|
2647
2647
|
throw new qs("need to specify a reason the Interval is invalid");
|
|
2648
|
-
const i = e instanceof
|
|
2648
|
+
const i = e instanceof Bo ? e : new Bo(e, r);
|
|
2649
2649
|
if (jn.throwOnInvalid)
|
|
2650
2650
|
throw new Y2e(i);
|
|
2651
2651
|
return new tr({ invalid: i });
|
|
@@ -3557,7 +3557,7 @@ function Mme(t, e, r) {
|
|
|
3557
3557
|
}
|
|
3558
3558
|
const cJ = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334], fJ = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335];
|
|
3559
3559
|
function Ws(t, e) {
|
|
3560
|
-
return new
|
|
3560
|
+
return new Bo(
|
|
3561
3561
|
"unit out of range",
|
|
3562
3562
|
`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`
|
|
3563
3563
|
);
|
|
@@ -3613,7 +3613,7 @@ function mJ(t) {
|
|
|
3613
3613
|
}
|
|
3614
3614
|
const BD = "Invalid DateTime", _j = 864e13;
|
|
3615
3615
|
function sA(t) {
|
|
3616
|
-
return new
|
|
3616
|
+
return new Bo("unsupported zone", `the zone "${t.name}" is not supported`);
|
|
3617
3617
|
}
|
|
3618
3618
|
function kD(t) {
|
|
3619
3619
|
return t.weekData === null && (t.weekData = M7(t.c)), t.weekData;
|
|
@@ -3685,7 +3685,7 @@ function Q2(t, e, r, i, s, o) {
|
|
|
3685
3685
|
return u ? c : c.setZone(a);
|
|
3686
3686
|
} else
|
|
3687
3687
|
return xt.invalid(
|
|
3688
|
-
new
|
|
3688
|
+
new Bo("unparsable", `the input "${s}" can't be parsed as ${i}`)
|
|
3689
3689
|
);
|
|
3690
3690
|
}
|
|
3691
3691
|
function oA(t, e, r = !0) {
|
|
@@ -3799,7 +3799,7 @@ class xt {
|
|
|
3799
3799
|
*/
|
|
3800
3800
|
constructor(e) {
|
|
3801
3801
|
const r = e.zone || jn.defaultZone;
|
|
3802
|
-
let i = e.invalid || (Number.isNaN(e.ts) ? new
|
|
3802
|
+
let i = e.invalid || (Number.isNaN(e.ts) ? new Bo("invalid input") : null) || (r.isValid ? null : sA(r));
|
|
3803
3803
|
this.ts = Tt(e.ts) ? jn.now() : e.ts;
|
|
3804
3804
|
let s = null, o = null;
|
|
3805
3805
|
if (!i)
|
|
@@ -3807,7 +3807,7 @@ class xt {
|
|
|
3807
3807
|
[s, o] = [e.old.c, e.old.o];
|
|
3808
3808
|
else {
|
|
3809
3809
|
const a = r.offset(this.ts);
|
|
3810
|
-
s = vj(this.ts, a), i = Number.isNaN(s.year) ? new
|
|
3810
|
+
s = vj(this.ts, a), i = Number.isNaN(s.year) ? new Bo("invalid input") : null, s = i ? null : s, o = i ? null : a;
|
|
3811
3811
|
}
|
|
3812
3812
|
this._zone = r, this.loc = e.loc || _n.create(), this.invalid = i, this.weekData = null, this.c = s, this.o = o, this.isLuxonDateTime = !0;
|
|
3813
3813
|
}
|
|
@@ -4114,7 +4114,7 @@ class xt {
|
|
|
4114
4114
|
static invalid(e, r = null) {
|
|
4115
4115
|
if (!e)
|
|
4116
4116
|
throw new qs("need to specify a reason the DateTime is invalid");
|
|
4117
|
-
const i = e instanceof
|
|
4117
|
+
const i = e instanceof Bo ? e : new Bo(e, r);
|
|
4118
4118
|
if (jn.throwOnInvalid)
|
|
4119
4119
|
throw new V2e(i);
|
|
4120
4120
|
return new xt({ invalid: i });
|
|
@@ -58263,11 +58263,11 @@ function Fl(t) {
|
|
|
58263
58263
|
}
|
|
58264
58264
|
return s && Se("Access path missing closing bracket: " + t), i && Se("Access path missing closing quote: " + t), a > u && (a++, c()), e;
|
|
58265
58265
|
}
|
|
58266
|
-
function
|
|
58266
|
+
function Vo(t, e, r) {
|
|
58267
58267
|
const i = Fl(t);
|
|
58268
58268
|
return t = i.length === 1 ? i[0] : t, Fs((r && r.get || CJ)(i), [t], e || t);
|
|
58269
58269
|
}
|
|
58270
|
-
const y5 =
|
|
58270
|
+
const y5 = Vo("id"), bi = Fs((t) => t, [], "identity"), cf = Fs(() => 0, [], "zero"), F3 = Fs(() => 1, [], "one"), Yo = Fs(() => !0, [], "true"), Yc = Fs(() => !1, [], "false");
|
|
58271
58271
|
function rge(t, e, r) {
|
|
58272
58272
|
const i = [e].concat([].slice.call(r));
|
|
58273
58273
|
console[t].apply(console, i);
|
|
@@ -58394,7 +58394,7 @@ function IJ(t, e, r) {
|
|
|
58394
58394
|
r = r || {}, e = je(e) || [];
|
|
58395
58395
|
const i = [], s = [], o = {}, u = r.comparator || mge;
|
|
58396
58396
|
return je(t).forEach((a, l) => {
|
|
58397
|
-
a != null && (i.push(e[l] === pge ? -1 : 1), s.push(a = Et(a) ? a :
|
|
58397
|
+
a != null && (i.push(e[l] === pge ? -1 : 1), s.push(a = Et(a) ? a : Vo(a, null, r)), (yi(a) || []).forEach((c) => o[c] = 1));
|
|
58398
58398
|
}), s.length === 0 ? null : Fs(u(s, i), Object.keys(o));
|
|
58399
58399
|
}
|
|
58400
58400
|
const v5 = (t, e) => (t < e || t == null) && e != null ? -1 : (t > e || e == null) && t != null ? 1 : (e = e instanceof Date ? +e : e, (t = t instanceof Date ? +t : t) !== t && e === e ? -1 : e !== e && t === t ? 1 : 0), mge = (t, e) => t.length === 1 ? gge(t[0], e[0]) : yge(t, e, t.length), gge = (t, e) => function(r, i) {
|
|
@@ -59001,7 +59001,7 @@ function Pge(t, e = "datum") {
|
|
|
59001
59001
|
function Mge(t) {
|
|
59002
59002
|
return t.replace(/(\[|\]|\.|'|")/g, "\\$1");
|
|
59003
59003
|
}
|
|
59004
|
-
function
|
|
59004
|
+
function Ko(t) {
|
|
59005
59005
|
return `${Fl(t).map(Mge).join("\\.")}`;
|
|
59006
59006
|
}
|
|
59007
59007
|
function Ah(t, e, r) {
|
|
@@ -59044,7 +59044,7 @@ var L3 = function(t, e) {
|
|
|
59044
59044
|
e.indexOf(i[s]) < 0 && Object.prototype.propertyIsEnumerable.call(t, i[s]) && (r[i[s]] = t[i[s]]);
|
|
59045
59045
|
return r;
|
|
59046
59046
|
};
|
|
59047
|
-
const sl = "row", ol = "column", b5 = "facet", Sn = "x", hr = "y",
|
|
59047
|
+
const sl = "row", ol = "column", b5 = "facet", Sn = "x", hr = "y", iu = "x2", ia = "y2", ac = "xOffset", Op = "yOffset", sa = "radius", Nl = "radius2", su = "theta", Ll = "theta2", oa = "latitude", ua = "longitude", ou = "latitude2", oo = "longitude2", es = "color", aa = "fill", la = "stroke", ts = "shape", Il = "size", Ox = "angle", $l = "opacity", lc = "fillOpacity", cc = "strokeOpacity", fc = "strokeWidth", xc = "strokeDash", I3 = "text", $3 = "order", B3 = "detail", T5 = "key", Uf = "tooltip", R5 = "href", D5 = "url", O5 = "description", Qge = {
|
|
59048
59048
|
x: 1,
|
|
59049
59049
|
y: 1,
|
|
59050
59050
|
x2: 1,
|
|
@@ -59068,7 +59068,7 @@ function zge(t) {
|
|
|
59068
59068
|
switch (t) {
|
|
59069
59069
|
case oa:
|
|
59070
59070
|
return "y";
|
|
59071
|
-
case
|
|
59071
|
+
case ou:
|
|
59072
59072
|
return "y2";
|
|
59073
59073
|
case ua:
|
|
59074
59074
|
return "x";
|
|
@@ -59119,22 +59119,22 @@ function Jge(t) {
|
|
|
59119
59119
|
function KJ(t) {
|
|
59120
59120
|
return !!YN[t];
|
|
59121
59121
|
}
|
|
59122
|
-
const Xge = [
|
|
59122
|
+
const Xge = [iu, ia, ou, oo, Ll, Nl];
|
|
59123
59123
|
function JJ(t) {
|
|
59124
59124
|
return wx(t) !== t;
|
|
59125
59125
|
}
|
|
59126
59126
|
function wx(t) {
|
|
59127
59127
|
switch (t) {
|
|
59128
|
-
case
|
|
59128
|
+
case iu:
|
|
59129
59129
|
return Sn;
|
|
59130
59130
|
case ia:
|
|
59131
59131
|
return hr;
|
|
59132
|
-
case
|
|
59132
|
+
case ou:
|
|
59133
59133
|
return oa;
|
|
59134
59134
|
case oo:
|
|
59135
59135
|
return ua;
|
|
59136
59136
|
case Ll:
|
|
59137
|
-
return
|
|
59137
|
+
return su;
|
|
59138
59138
|
case Nl:
|
|
59139
59139
|
return sa;
|
|
59140
59140
|
}
|
|
@@ -59143,7 +59143,7 @@ function wx(t) {
|
|
|
59143
59143
|
function k0(t) {
|
|
59144
59144
|
if (VJ(t))
|
|
59145
59145
|
switch (t) {
|
|
59146
|
-
case
|
|
59146
|
+
case su:
|
|
59147
59147
|
return "startAngle";
|
|
59148
59148
|
case Ll:
|
|
59149
59149
|
return "endAngle";
|
|
@@ -59157,14 +59157,14 @@ function k0(t) {
|
|
|
59157
59157
|
function Bl(t) {
|
|
59158
59158
|
switch (t) {
|
|
59159
59159
|
case Sn:
|
|
59160
|
-
return
|
|
59160
|
+
return iu;
|
|
59161
59161
|
case hr:
|
|
59162
59162
|
return ia;
|
|
59163
59163
|
case oa:
|
|
59164
|
-
return
|
|
59164
|
+
return ou;
|
|
59165
59165
|
case ua:
|
|
59166
59166
|
return oo;
|
|
59167
|
-
case
|
|
59167
|
+
case su:
|
|
59168
59168
|
return Ll;
|
|
59169
59169
|
case sa:
|
|
59170
59170
|
return Nl;
|
|
@@ -59173,7 +59173,7 @@ function Bl(t) {
|
|
|
59173
59173
|
function ns(t) {
|
|
59174
59174
|
switch (t) {
|
|
59175
59175
|
case Sn:
|
|
59176
|
-
case
|
|
59176
|
+
case iu:
|
|
59177
59177
|
return "width";
|
|
59178
59178
|
case hr:
|
|
59179
59179
|
case ia:
|
|
@@ -59186,11 +59186,11 @@ function Zge(t) {
|
|
|
59186
59186
|
return "xOffset";
|
|
59187
59187
|
case hr:
|
|
59188
59188
|
return "yOffset";
|
|
59189
|
-
case
|
|
59189
|
+
case iu:
|
|
59190
59190
|
return "x2Offset";
|
|
59191
59191
|
case ia:
|
|
59192
59192
|
return "y2Offset";
|
|
59193
|
-
case
|
|
59193
|
+
case su:
|
|
59194
59194
|
return "thetaOffset";
|
|
59195
59195
|
case sa:
|
|
59196
59196
|
return "radiusOffset";
|
|
@@ -59305,9 +59305,9 @@ function a3e(t) {
|
|
|
59305
59305
|
case oa:
|
|
59306
59306
|
case ua:
|
|
59307
59307
|
return u3e;
|
|
59308
|
-
case
|
|
59308
|
+
case iu:
|
|
59309
59309
|
case ia:
|
|
59310
|
-
case
|
|
59310
|
+
case ou:
|
|
59311
59311
|
case oo:
|
|
59312
59312
|
return {
|
|
59313
59313
|
area: "always",
|
|
@@ -59353,7 +59353,7 @@ function a3e(t) {
|
|
|
59353
59353
|
return { point: "always", square: "always", text: "always" };
|
|
59354
59354
|
case D5:
|
|
59355
59355
|
return { image: "always" };
|
|
59356
|
-
case
|
|
59356
|
+
case su:
|
|
59357
59357
|
return { text: "always", arc: "always" };
|
|
59358
59358
|
case sa:
|
|
59359
59359
|
return { text: "always", arc: "always" };
|
|
@@ -59366,7 +59366,7 @@ function jD(t) {
|
|
|
59366
59366
|
switch (t) {
|
|
59367
59367
|
case Sn:
|
|
59368
59368
|
case hr:
|
|
59369
|
-
case
|
|
59369
|
+
case su:
|
|
59370
59370
|
case sa:
|
|
59371
59371
|
case ac:
|
|
59372
59372
|
case Op:
|
|
@@ -59376,7 +59376,7 @@ function jD(t) {
|
|
|
59376
59376
|
case $l:
|
|
59377
59377
|
case lc:
|
|
59378
59378
|
case cc:
|
|
59379
|
-
case
|
|
59379
|
+
case iu:
|
|
59380
59380
|
case ia:
|
|
59381
59381
|
case Ll:
|
|
59382
59382
|
case Nl:
|
|
@@ -59398,7 +59398,7 @@ function jD(t) {
|
|
|
59398
59398
|
return "flexible";
|
|
59399
59399
|
case oa:
|
|
59400
59400
|
case ua:
|
|
59401
|
-
case
|
|
59401
|
+
case ou:
|
|
59402
59402
|
case oo:
|
|
59403
59403
|
case B3:
|
|
59404
59404
|
case T5:
|
|
@@ -60199,11 +60199,11 @@ function Qye(t) {
|
|
|
60199
60199
|
function TX(t) {
|
|
60200
60200
|
return d9(t) || u9(t) || x9(t) || a9(t) || c9(t) || l9(t) || f9(t);
|
|
60201
60201
|
}
|
|
60202
|
-
function
|
|
60202
|
+
function Tu(t, e) {
|
|
60203
60203
|
return zb(t, { timeUnit: e, wrapTime: !0 });
|
|
60204
60204
|
}
|
|
60205
60205
|
function zye(t, e) {
|
|
60206
|
-
return t.map((r) =>
|
|
60206
|
+
return t.map((r) => Tu(r, e));
|
|
60207
60207
|
}
|
|
60208
60208
|
function RX(t, e = !0) {
|
|
60209
60209
|
var r;
|
|
@@ -60214,19 +60214,19 @@ function RX(t, e = !0) {
|
|
|
60214
60214
|
`time(${jye(s, i)})`
|
|
60215
60215
|
) : Pe(t, { expr: "datum" });
|
|
60216
60216
|
if (u9(t))
|
|
60217
|
-
return `${o}===${
|
|
60217
|
+
return `${o}===${Tu(t.equal, s)}`;
|
|
60218
60218
|
if (a9(t)) {
|
|
60219
60219
|
const u = t.lt;
|
|
60220
|
-
return `${o}<${
|
|
60220
|
+
return `${o}<${Tu(u, s)}`;
|
|
60221
60221
|
} else if (c9(t)) {
|
|
60222
60222
|
const u = t.gt;
|
|
60223
|
-
return `${o}>${
|
|
60223
|
+
return `${o}>${Tu(u, s)}`;
|
|
60224
60224
|
} else if (l9(t)) {
|
|
60225
60225
|
const u = t.lte;
|
|
60226
|
-
return `${o}<=${
|
|
60226
|
+
return `${o}<=${Tu(u, s)}`;
|
|
60227
60227
|
} else if (f9(t)) {
|
|
60228
60228
|
const u = t.gte;
|
|
60229
|
-
return `${o}>=${
|
|
60229
|
+
return `${o}>=${Tu(u, s)}`;
|
|
60230
60230
|
} else {
|
|
60231
60231
|
if (d9(t))
|
|
60232
60232
|
return `indexof([${zye(t.oneOf, s).join(",")}], ${o}) !== -1`;
|
|
@@ -60235,9 +60235,9 @@ function RX(t, e = !0) {
|
|
|
60235
60235
|
if (x9(t)) {
|
|
60236
60236
|
const { range: u } = t, a = Ze(u) ? { signal: `${u.signal}[0]` } : u[0], l = Ze(u) ? { signal: `${u.signal}[1]` } : u[1];
|
|
60237
60237
|
if (a !== null && l !== null && e)
|
|
60238
|
-
return "inrange(" + o + ", [" +
|
|
60238
|
+
return "inrange(" + o + ", [" + Tu(a, s) + ", " + Tu(l, s) + "])";
|
|
60239
60239
|
const c = [];
|
|
60240
|
-
return a !== null && c.push(`${o} >= ${
|
|
60240
|
+
return a !== null && c.push(`${o} >= ${Tu(a, s)}`), l !== null && c.push(`${o} <= ${Tu(l, s)}`), c.length > 0 ? c.join(" && ") : "true";
|
|
60241
60241
|
}
|
|
60242
60242
|
}
|
|
60243
60243
|
throw new Error(`Invalid field predicate: ${dn(t)}`);
|
|
@@ -61172,7 +61172,7 @@ function WX(t, e, r, i, s, o) {
|
|
|
61172
61172
|
}
|
|
61173
61173
|
return [a, l];
|
|
61174
61174
|
}
|
|
61175
|
-
const [BEe, kEe] = WX(Yu, Rg, Lp, GX, P5, B5), [PEe, MEe] = WX(Vu, Tg, Np, ll, k5, $5), Yr = "year", bs = "quarter", _i = "month", ur = "week", Ts = "date", hi = "day", Al = "dayofyear", uo = "hours", ao = "minutes",
|
|
61175
|
+
const [BEe, kEe] = WX(Yu, Rg, Lp, GX, P5, B5), [PEe, MEe] = WX(Vu, Tg, Np, ll, k5, $5), Yr = "year", bs = "quarter", _i = "month", ur = "week", Ts = "date", hi = "day", Al = "dayofyear", uo = "hours", ao = "minutes", Jo = "seconds", Ku = "milliseconds", VX = [Yr, bs, _i, ur, Ts, hi, Al, uo, ao, Jo, Ku], VD = VX.reduce((t, e, r) => (t[e] = 1 + r, t), {});
|
|
61176
61176
|
function YX(t) {
|
|
61177
61177
|
const e = je(t).slice(), r = {};
|
|
61178
61178
|
return e.length || Se("Missing time unit."), e.forEach((s) => {
|
|
@@ -61189,7 +61189,7 @@ const jEe = {
|
|
|
61189
61189
|
[Al]: "%j ",
|
|
61190
61190
|
[uo]: "%H:00",
|
|
61191
61191
|
[ao]: "00:%M",
|
|
61192
|
-
[
|
|
61192
|
+
[Jo]: ":%S",
|
|
61193
61193
|
[Ku]: ".%L",
|
|
61194
61194
|
[`${Yr}-${_i}`]: "%Y-%m ",
|
|
61195
61195
|
[`${Yr}-${_i}-${Ts}`]: "%Y-%m-%d ",
|
|
@@ -61257,7 +61257,7 @@ function WEe(t, e, r, i, s, o, u) {
|
|
|
61257
61257
|
return new Date(Date.UTC(t, e, r, i, s, o, u));
|
|
61258
61258
|
}
|
|
61259
61259
|
function XX(t, e, r, i, s) {
|
|
61260
|
-
const o = e || 1, u = wt(t), a = (A, E, _) => (_ = _ || A, VEe(r[_], i[_], A === u && o, E)), l = /* @__PURE__ */ new Date(), c = Wu(t), f = c[Yr] ? a(Yr) : Ti(2012), x = c[_i] ? a(_i) : c[bs] ? a(bs) : cf, h = c[ur] && c[hi] ? a(hi, 1, ur + hi) : c[ur] ? a(ur, 1) : c[hi] ? a(hi, 1) : c[Ts] ? a(Ts, 1) : c[Al] ? a(Al, 1) : F3, p = c[uo] ? a(uo) : cf, m = c[ao] ? a(ao) : cf, g = c[
|
|
61260
|
+
const o = e || 1, u = wt(t), a = (A, E, _) => (_ = _ || A, VEe(r[_], i[_], A === u && o, E)), l = /* @__PURE__ */ new Date(), c = Wu(t), f = c[Yr] ? a(Yr) : Ti(2012), x = c[_i] ? a(_i) : c[bs] ? a(bs) : cf, h = c[ur] && c[hi] ? a(hi, 1, ur + hi) : c[ur] ? a(ur, 1) : c[hi] ? a(hi, 1) : c[Ts] ? a(Ts, 1) : c[Al] ? a(Al, 1) : F3, p = c[uo] ? a(uo) : cf, m = c[ao] ? a(ao) : cf, g = c[Jo] ? a(Jo) : cf, y = c[Ku] ? a(Ku) : cf;
|
|
61261
61261
|
return function(A) {
|
|
61262
61262
|
l.setTime(+A);
|
|
61263
61263
|
const E = f(l);
|
|
@@ -61278,7 +61278,7 @@ const YEe = {
|
|
|
61278
61278
|
[Ts]: (t) => t.getDate(),
|
|
61279
61279
|
[uo]: (t) => t.getHours(),
|
|
61280
61280
|
[ao]: (t) => t.getMinutes(),
|
|
61281
|
-
[
|
|
61281
|
+
[Jo]: (t) => t.getSeconds(),
|
|
61282
61282
|
[Ku]: (t) => t.getMilliseconds(),
|
|
61283
61283
|
[Al]: (t) => KX(t),
|
|
61284
61284
|
[ur]: (t) => J7(t),
|
|
@@ -61298,7 +61298,7 @@ const XEe = {
|
|
|
61298
61298
|
[Ts]: (t) => t.getUTCDate(),
|
|
61299
61299
|
[uo]: (t) => t.getUTCHours(),
|
|
61300
61300
|
[ao]: (t) => t.getUTCMinutes(),
|
|
61301
|
-
[
|
|
61301
|
+
[Jo]: (t) => t.getUTCSeconds(),
|
|
61302
61302
|
[Ku]: (t) => t.getUTCMilliseconds(),
|
|
61303
61303
|
[Al]: (t) => JX(t),
|
|
61304
61304
|
[ur]: (t) => Z7(t),
|
|
@@ -61321,7 +61321,7 @@ const tAe = {
|
|
|
61321
61321
|
[Al]: ll,
|
|
61322
61322
|
[uo]: k5,
|
|
61323
61323
|
[ao]: $5,
|
|
61324
|
-
[
|
|
61324
|
+
[Jo]: nl,
|
|
61325
61325
|
[Ku]: Ch
|
|
61326
61326
|
}, nAe = {
|
|
61327
61327
|
[Yr]: Yu,
|
|
@@ -61333,7 +61333,7 @@ const tAe = {
|
|
|
61333
61333
|
[Al]: T0,
|
|
61334
61334
|
[uo]: P5,
|
|
61335
61335
|
[ao]: B5,
|
|
61336
|
-
[
|
|
61336
|
+
[Jo]: nl,
|
|
61337
61337
|
[Ku]: Ch
|
|
61338
61338
|
};
|
|
61339
61339
|
function P3(t) {
|
|
@@ -61360,7 +61360,7 @@ function sAe(t, e, r, i) {
|
|
|
61360
61360
|
function oAe(t, e, r, i) {
|
|
61361
61361
|
return eZ(M3(t), e, r, i);
|
|
61362
61362
|
}
|
|
61363
|
-
const _m = 1e3, vm = _m * 60, Cm = vm * 60, M5 = Cm * 24, uAe = M5 * 7, nU = M5 * 30, tw = M5 * 365, tZ = [Yr, _i, Ts, uo, ao,
|
|
61363
|
+
const _m = 1e3, vm = _m * 60, Cm = vm * 60, M5 = Cm * 24, uAe = M5 * 7, nU = M5 * 30, tw = M5 * 365, tZ = [Yr, _i, Ts, uo, ao, Jo, Ku], Sm = tZ.slice(0, -1), bm = Sm.slice(0, -1), Tm = bm.slice(0, -1), aAe = Tm.slice(0, -1), lAe = [Yr, ur], rU = [Yr, _i], nZ = [Yr], V2 = [[Sm, 1, _m], [Sm, 5, 5 * _m], [Sm, 15, 15 * _m], [Sm, 30, 30 * _m], [bm, 1, vm], [bm, 5, 5 * vm], [bm, 15, 15 * vm], [bm, 30, 30 * vm], [Tm, 1, Cm], [Tm, 3, 3 * Cm], [Tm, 6, 6 * Cm], [Tm, 12, 12 * Cm], [aAe, 1, M5], [lAe, 1, uAe], [rU, 1, nU], [rU, 3, 3 * nU], [nZ, 1, tw]];
|
|
61364
61364
|
function cAe(t) {
|
|
61365
61365
|
const e = t.extent, r = t.maxbins || 40, i = Math.abs(C5(e)) / r;
|
|
61366
61366
|
let s = Fp((a) => a[2]).right(V2, i), o, u;
|
|
@@ -61945,7 +61945,7 @@ function rw(t) {
|
|
|
61945
61945
|
}
|
|
61946
61946
|
function hU(t, e, r) {
|
|
61947
61947
|
r = r || {}, Ge(r) || Se(`Invalid time multi-format specifier: ${r}`);
|
|
61948
|
-
const i = e(
|
|
61948
|
+
const i = e(Jo), s = e(ao), o = e(uo), u = e(Ts), a = e(ur), l = e(_i), c = e(bs), f = e(Yr), x = t(r[Ku] || ".%L"), h = t(r[Jo] || ":%S"), p = t(r[ao] || "%I:%M"), m = t(r[uo] || "%I %p"), g = t(r[Ts] || r[hi] || "%a %d"), y = t(r[ur] || "%b %d"), A = t(r[_i] || "%B"), E = t(r[bs] || "%B"), _ = t(r[Yr] || "%Y");
|
|
61949
61949
|
return (v) => (i(v) < v ? x : s(v) < v ? h : o(v) < v ? p : u(v) < v ? m : l(v) < v ? a(v) < v ? g : y : f(v) < v ? c(v) < v ? A : E : _)(v);
|
|
61950
61950
|
}
|
|
61951
61951
|
function xZ(t) {
|
|
@@ -62067,7 +62067,7 @@ function I_e(t) {
|
|
|
62067
62067
|
return typeof Buffer == "function" && Et(Buffer.isBuffer) ? Buffer.isBuffer(t) : !1;
|
|
62068
62068
|
}
|
|
62069
62069
|
function v9(t, e) {
|
|
62070
|
-
const r = e && e.property ?
|
|
62070
|
+
const r = e && e.property ? Vo(e.property) : bi;
|
|
62071
62071
|
return Ge(t) && !I_e(t) ? $_e(r(t), e) : r(JSON.parse(t));
|
|
62072
62072
|
}
|
|
62073
62073
|
v9.responseType = "json";
|
|
@@ -62479,7 +62479,7 @@ function s0(t, e, r) {
|
|
|
62479
62479
|
return new R9(t, e, r);
|
|
62480
62480
|
}
|
|
62481
62481
|
R9.prototype = {
|
|
62482
|
-
_filter:
|
|
62482
|
+
_filter: Yo,
|
|
62483
62483
|
_apply: bi,
|
|
62484
62484
|
targets() {
|
|
62485
62485
|
return this._targets || (this._targets = j5(y5));
|
|
@@ -62528,7 +62528,7 @@ R9.prototype = {
|
|
|
62528
62528
|
return t.targets().add(s0(null, null, () => r = !0)), e.targets().add(s0(null, null, () => r = !1)), this.filter(() => r);
|
|
62529
62529
|
},
|
|
62530
62530
|
detach() {
|
|
62531
|
-
this._filter =
|
|
62531
|
+
this._filter = Yo, this._targets = null;
|
|
62532
62532
|
}
|
|
62533
62533
|
};
|
|
62534
62534
|
function Y_e(t, e, r, i) {
|
|
@@ -62581,7 +62581,7 @@ async function Z_e(t, e, r) {
|
|
|
62581
62581
|
const i = this, s = i._pending || eve(i);
|
|
62582
62582
|
s.requests += 1;
|
|
62583
62583
|
const o = await i.request(e, r);
|
|
62584
|
-
return i.pulse(t, i.changeset().remove(
|
|
62584
|
+
return i.pulse(t, i.changeset().remove(Yo).insert(o.data || [])), s.done(), o;
|
|
62585
62585
|
}
|
|
62586
62586
|
function eve(t) {
|
|
62587
62587
|
let e;
|
|
@@ -63956,7 +63956,7 @@ function GZ(t, e) {
|
|
|
63956
63956
|
return o.prototype.init = Yve, o.prototype.add = Kve, o.prototype.rem = Jve, o.prototype.set = Xve, o.prototype.get = r, o.fields = t.map((u) => u.out), o;
|
|
63957
63957
|
}
|
|
63958
63958
|
function L9(t) {
|
|
63959
|
-
this._key = t ?
|
|
63959
|
+
this._key = t ? Vo(t) : nt, this.reset();
|
|
63960
63960
|
}
|
|
63961
63961
|
const Nr = L9.prototype;
|
|
63962
63962
|
Nr.reset = function() {
|
|
@@ -64408,7 +64408,7 @@ ke(k9, Ee, {
|
|
|
64408
64408
|
transform(t, e) {
|
|
64409
64409
|
const r = e.fork(e.NO_SOURCE), i = t.as || ["a", "b"], s = i[0], o = i[1], u = !this.value || e.changed(e.ADD_REM) || t.modified("as") || t.modified("filter");
|
|
64410
64410
|
let a = this.value;
|
|
64411
|
-
return u ? (a && (r.rem = a), a = e.materialize(e.SOURCE).source, r.add = this.value = nCe(a, s, o, t.filter ||
|
|
64411
|
+
return u ? (a && (r.rem = a), a = e.materialize(e.SOURCE).source, r.add = this.value = nCe(a, s, o, t.filter || Yo)) : r.mod = a, r.source = this.value, r.modifies(i);
|
|
64412
64412
|
}
|
|
64413
64413
|
});
|
|
64414
64414
|
function nCe(t, e, r, i) {
|
|
@@ -64773,7 +64773,7 @@ function eee(t) {
|
|
|
64773
64773
|
}
|
|
64774
64774
|
ke(eee, un);
|
|
64775
64775
|
function lCe(t) {
|
|
64776
|
-
return this.value && !t.modified() ? this.value : be(t.name) ? je(t.name).map((e) =>
|
|
64776
|
+
return this.value && !t.modified() ? this.value : be(t.name) ? je(t.name).map((e) => Vo(e)) : Vo(t.name, t.as);
|
|
64777
64777
|
}
|
|
64778
64778
|
function H9(t) {
|
|
64779
64779
|
Ee.call(this, N3(), t);
|
|
@@ -65915,7 +65915,7 @@ function Ht(t) {
|
|
|
65915
65915
|
return t;
|
|
65916
65916
|
};
|
|
65917
65917
|
}
|
|
65918
|
-
const DU = Math.abs, Ir = Math.atan2, Kc = Math.cos, FCe = Math.max, tO = Math.min,
|
|
65918
|
+
const DU = Math.abs, Ir = Math.atan2, Kc = Math.cos, FCe = Math.max, tO = Math.min, _u = Math.sin, Ef = Math.sqrt, Ur = 1e-12, Rh = Math.PI, Ov = Rh / 2, mee = 2 * Rh;
|
|
65919
65919
|
function NCe(t) {
|
|
65920
65920
|
return t > 1 ? 0 : t < -1 ? Rh : Math.acos(t);
|
|
65921
65921
|
}
|
|
@@ -66038,19 +66038,19 @@ function UCe() {
|
|
|
66038
66038
|
var f, x, h = +t.apply(this, arguments), p = +e.apply(this, arguments), m = s.apply(this, arguments) - Ov, g = o.apply(this, arguments) - Ov, y = DU(g - m), A = g > m;
|
|
66039
66039
|
if (a || (a = f = l()), p < h && (x = p, p = h, h = x), !(p > Ur)) a.moveTo(0, 0);
|
|
66040
66040
|
else if (y > mee - Ur)
|
|
66041
|
-
a.moveTo(p * Kc(m), p *
|
|
66041
|
+
a.moveTo(p * Kc(m), p * _u(m)), a.arc(0, 0, p, m, g, !A), h > Ur && (a.moveTo(h * Kc(g), h * _u(g)), a.arc(0, 0, h, g, m, A));
|
|
66042
66042
|
else {
|
|
66043
66043
|
var E = m, _ = g, v = m, C = g, b = y, S = y, R = u.apply(this, arguments) / 2, O = R > Ur && (i ? +i.apply(this, arguments) : Ef(h * h + p * p)), $ = tO(DU(p - h) / 2, +r.apply(this, arguments)), D = $, k = $, j, V;
|
|
66044
66044
|
if (O > Ur) {
|
|
66045
|
-
var G = OU(O / h *
|
|
66045
|
+
var G = OU(O / h * _u(R)), K = OU(O / p * _u(R));
|
|
66046
66046
|
(b -= G * 2) > Ur ? (G *= A ? 1 : -1, v += G, C -= G) : (b = 0, v = C = (m + g) / 2), (S -= K * 2) > Ur ? (K *= A ? 1 : -1, E += K, _ -= K) : (S = 0, E = _ = (m + g) / 2);
|
|
66047
66047
|
}
|
|
66048
|
-
var ce = p * Kc(E), xe = p *
|
|
66048
|
+
var ce = p * Kc(E), xe = p * _u(E), ee = h * Kc(C), te = h * _u(C);
|
|
66049
66049
|
if ($ > Ur) {
|
|
66050
|
-
var le = p * Kc(_), Ae = p *
|
|
66050
|
+
var le = p * Kc(_), Ae = p * _u(_), I = h * Kc(v), N = h * _u(v), L;
|
|
66051
66051
|
if (y < Rh)
|
|
66052
66052
|
if (L = jCe(ce, xe, I, N, le, Ae, ee, te)) {
|
|
66053
|
-
var q = ce - L[0], Y = xe - L[1], Q = le - L[0], w = Ae - L[1], P = 1 /
|
|
66053
|
+
var q = ce - L[0], Y = xe - L[1], Q = le - L[0], w = Ae - L[1], P = 1 / _u(NCe((q * Q + Y * w) / (Ef(q * q + Y * Y) * Ef(Q * Q + w * w))) / 2), U = Ef(L[0] * L[0] + L[1] * L[1]);
|
|
66054
66054
|
D = tO($, (h - U) / (P - 1)), k = tO($, (p - U) / (P + 1));
|
|
66055
66055
|
} else
|
|
66056
66056
|
D = k = 0;
|
|
@@ -66061,7 +66061,7 @@ function UCe() {
|
|
|
66061
66061
|
}
|
|
66062
66062
|
return c.centroid = function() {
|
|
66063
66063
|
var f = (+t.apply(this, arguments) + +e.apply(this, arguments)) / 2, x = (+s.apply(this, arguments) + +o.apply(this, arguments)) / 2 - Rh / 2;
|
|
66064
|
-
return [Kc(x) * f,
|
|
66064
|
+
return [Kc(x) * f, _u(x) * f];
|
|
66065
66065
|
}, c.innerRadius = function(f) {
|
|
66066
66066
|
return arguments.length ? (t = typeof f == "function" ? f : Ht(+f), c) : t;
|
|
66067
66067
|
}, c.outerRadius = function(f) {
|
|
@@ -67205,28 +67205,28 @@ function Af(t) {
|
|
|
67205
67205
|
return t = Ff(t), (t < 16 ? "0" : "") + t.toString(16);
|
|
67206
67206
|
}
|
|
67207
67207
|
function jU(t, e, r, i) {
|
|
67208
|
-
return i <= 0 ? t = e = r = NaN : r <= 0 || r >= 1 ? t = e = NaN : e <= 0 && (t = NaN), new
|
|
67208
|
+
return i <= 0 ? t = e = r = NaN : r <= 0 || r >= 1 ? t = e = NaN : e <= 0 && (t = NaN), new Io(t, e, r, i);
|
|
67209
67209
|
}
|
|
67210
67210
|
function Iee(t) {
|
|
67211
|
-
if (t instanceof
|
|
67212
|
-
if (t instanceof gc || (t = Ng(t)), !t) return new
|
|
67213
|
-
if (t instanceof
|
|
67211
|
+
if (t instanceof Io) return new Io(t.h, t.s, t.l, t.opacity);
|
|
67212
|
+
if (t instanceof gc || (t = Ng(t)), !t) return new Io();
|
|
67213
|
+
if (t instanceof Io) return t;
|
|
67214
67214
|
t = t.rgb();
|
|
67215
67215
|
var e = t.r / 255, r = t.g / 255, i = t.b / 255, s = Math.min(e, r, i), o = Math.max(e, r, i), u = NaN, a = o - s, l = (o + s) / 2;
|
|
67216
|
-
return a ? (e === o ? u = (r - i) / a + (r < i) * 6 : r === o ? u = (i - e) / a + 2 : u = (e - r) / a + 4, a /= l < 0.5 ? o + s : 2 - o - s, u *= 60) : a = l > 0 && l < 1 ? 0 : u, new
|
|
67216
|
+
return a ? (e === o ? u = (r - i) / a + (r < i) * 6 : r === o ? u = (i - e) / a + 2 : u = (e - r) / a + 4, a /= l < 0.5 ? o + s : 2 - o - s, u *= 60) : a = l > 0 && l < 1 ? 0 : u, new Io(u, a, l, t.opacity);
|
|
67217
67217
|
}
|
|
67218
67218
|
function Iv(t, e, r, i) {
|
|
67219
|
-
return arguments.length === 1 ? Iee(t) : new
|
|
67219
|
+
return arguments.length === 1 ? Iee(t) : new Io(t, e, r, i ?? 1);
|
|
67220
67220
|
}
|
|
67221
|
-
function
|
|
67221
|
+
function Io(t, e, r, i) {
|
|
67222
67222
|
this.h = +t, this.s = +e, this.l = +r, this.opacity = +i;
|
|
67223
67223
|
}
|
|
67224
|
-
Bp(
|
|
67224
|
+
Bp(Io, Iv, H3(gc, {
|
|
67225
67225
|
brighter(t) {
|
|
67226
|
-
return t = t == null ? Dh : Math.pow(Dh, t), new
|
|
67226
|
+
return t = t == null ? Dh : Math.pow(Dh, t), new Io(this.h, this.s, this.l * t, this.opacity);
|
|
67227
67227
|
},
|
|
67228
67228
|
darker(t) {
|
|
67229
|
-
return t = t == null ? Qf : Math.pow(Qf, t), new
|
|
67229
|
+
return t = t == null ? Qf : Math.pow(Qf, t), new Io(this.h, this.s, this.l * t, this.opacity);
|
|
67230
67230
|
},
|
|
67231
67231
|
rgb() {
|
|
67232
67232
|
var t = this.h % 360 + (this.h < 0) * 360, e = isNaN(t) || isNaN(this.s) ? 0 : this.s, r = this.l, i = r + (r < 0.5 ? r : 1 - r) * e, s = 2 * r - i;
|
|
@@ -67238,7 +67238,7 @@ Bp(Lo, Iv, H3(gc, {
|
|
|
67238
67238
|
);
|
|
67239
67239
|
},
|
|
67240
67240
|
clamp() {
|
|
67241
|
-
return new
|
|
67241
|
+
return new Io(UU(this.h), pA(this.s), pA(this.l), Lv(this.opacity));
|
|
67242
67242
|
},
|
|
67243
67243
|
displayable() {
|
|
67244
67244
|
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
|
|
@@ -67450,7 +67450,7 @@ function Xee(t, e) {
|
|
|
67450
67450
|
return r.setTime(t * (1 - i) + e * i), r;
|
|
67451
67451
|
};
|
|
67452
67452
|
}
|
|
67453
|
-
function
|
|
67453
|
+
function Fo(t, e) {
|
|
67454
67454
|
return t = +t, e = +e, function(r) {
|
|
67455
67455
|
return t * (1 - r) + e * r;
|
|
67456
67456
|
};
|
|
@@ -67479,7 +67479,7 @@ function RSe(t) {
|
|
|
67479
67479
|
function ete(t, e) {
|
|
67480
67480
|
var r = xw.lastIndex = aO.lastIndex = 0, i, s, o, u = -1, a = [], l = [];
|
|
67481
67481
|
for (t = t + "", e = e + ""; (i = xw.exec(t)) && (s = aO.exec(e)); )
|
|
67482
|
-
(o = s.index) > r && (o = e.slice(r, o), a[u] ? a[u] += o : a[++u] = o), (i = i[0]) === (s = s[0]) ? a[u] ? a[u] += s : a[++u] = s : (a[++u] = null, l.push({ i: u, x:
|
|
67482
|
+
(o = s.index) > r && (o = e.slice(r, o), a[u] ? a[u] += o : a[++u] = o), (i = i[0]) === (s = s[0]) ? a[u] ? a[u] += s : a[++u] = s : (a[++u] = null, l.push({ i: u, x: Fo(i, s) })), r = aO.lastIndex;
|
|
67483
67483
|
return r < e.length && (o = e.slice(r), a[u] ? a[u] += o : a[++u] = o), a.length < 2 ? l[0] ? RSe(l[0].x) : TSe(e) : (e = l.length, function(c) {
|
|
67484
67484
|
for (var f = 0, x; f < e; ++f) a[(x = l[f]).i] = x.x(c);
|
|
67485
67485
|
return a.join("");
|
|
@@ -67487,7 +67487,7 @@ function ete(t, e) {
|
|
|
67487
67487
|
}
|
|
67488
67488
|
function yc(t, e) {
|
|
67489
67489
|
var r = typeof e, i;
|
|
67490
|
-
return e == null || r === "boolean" ? V5(e) : (r === "number" ?
|
|
67490
|
+
return e == null || r === "boolean" ? V5(e) : (r === "number" ? Fo : r === "string" ? (i = Ng(e)) ? (e = i, fw) : ete : e instanceof Ng ? fw : e instanceof Date ? Xee : Kee(e) ? pL : Array.isArray(e) ? Jee : typeof e.valueOf != "function" && typeof e.toString != "function" || isNaN(e) ? Zee : Fo)(t, e);
|
|
67491
67491
|
}
|
|
67492
67492
|
function DSe(t) {
|
|
67493
67493
|
var e = t.length;
|
|
@@ -67541,19 +67541,19 @@ function nte(t, e, r, i) {
|
|
|
67541
67541
|
function o(c, f, x, h, p, m) {
|
|
67542
67542
|
if (c !== x || f !== h) {
|
|
67543
67543
|
var g = p.push("translate(", null, e, null, r);
|
|
67544
|
-
m.push({ i: g - 4, x:
|
|
67544
|
+
m.push({ i: g - 4, x: Fo(c, x) }, { i: g - 2, x: Fo(f, h) });
|
|
67545
67545
|
} else (x || h) && p.push("translate(" + x + e + h + r);
|
|
67546
67546
|
}
|
|
67547
67547
|
function u(c, f, x, h) {
|
|
67548
|
-
c !== f ? (c - f > 180 ? f += 360 : f - c > 180 && (c += 360), h.push({ i: x.push(s(x) + "rotate(", null, i) - 2, x:
|
|
67548
|
+
c !== f ? (c - f > 180 ? f += 360 : f - c > 180 && (c += 360), h.push({ i: x.push(s(x) + "rotate(", null, i) - 2, x: Fo(c, f) })) : f && x.push(s(x) + "rotate(" + f + i);
|
|
67549
67549
|
}
|
|
67550
67550
|
function a(c, f, x, h) {
|
|
67551
|
-
c !== f ? h.push({ i: x.push(s(x) + "skewX(", null, i) - 2, x:
|
|
67551
|
+
c !== f ? h.push({ i: x.push(s(x) + "skewX(", null, i) - 2, x: Fo(c, f) }) : f && x.push(s(x) + "skewX(" + f + i);
|
|
67552
67552
|
}
|
|
67553
67553
|
function l(c, f, x, h, p, m) {
|
|
67554
67554
|
if (c !== x || f !== h) {
|
|
67555
67555
|
var g = p.push(s(p) + "scale(", null, ",", null, ")");
|
|
67556
|
-
m.push({ i: g - 4, x:
|
|
67556
|
+
m.push({ i: g - 4, x: Fo(c, x) }, { i: g - 2, x: Fo(f, h) });
|
|
67557
67557
|
} else (x !== 1 || h !== 1) && p.push(s(p) + "scale(" + x + "," + h + ")");
|
|
67558
67558
|
}
|
|
67559
67559
|
return function(c, f) {
|
|
@@ -67671,7 +67671,7 @@ const GSe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
67671
67671
|
interpolateHslLong: MSe,
|
|
67672
67672
|
interpolateHue: OSe,
|
|
67673
67673
|
interpolateLab: jSe,
|
|
67674
|
-
interpolateNumber:
|
|
67674
|
+
interpolateNumber: Fo,
|
|
67675
67675
|
interpolateNumberArray: pL,
|
|
67676
67676
|
interpolateObject: Zee,
|
|
67677
67677
|
interpolateRgb: fw,
|
|
@@ -67736,7 +67736,7 @@ function K5() {
|
|
|
67736
67736
|
return h == null || isNaN(h = +h) ? o : (l || (l = a(t.map(i), e, r)))(i(u(h)));
|
|
67737
67737
|
}
|
|
67738
67738
|
return x.invert = function(h) {
|
|
67739
|
-
return u(s((c || (c = a(e, t.map(i),
|
|
67739
|
+
return u(s((c || (c = a(e, t.map(i), Fo)))(h)));
|
|
67740
67740
|
}, x.domain = function(h) {
|
|
67741
67741
|
return arguments.length ? (t = Array.from(h, hw), f()) : t.slice();
|
|
67742
67742
|
}, x.range = function(h) {
|
|
@@ -68567,9 +68567,9 @@ function IL(t) {
|
|
|
68567
68567
|
function qte(t, e, r) {
|
|
68568
68568
|
const i = t.gradient;
|
|
68569
68569
|
let s = t.id, o = i === "radial" ? Mv : "";
|
|
68570
|
-
return s || (s = t.id = "gradient_" + J5e++, i === "radial" ? (t.x1 =
|
|
68570
|
+
return s || (s = t.id = "gradient_" + J5e++, i === "radial" ? (t.x1 = vu(t.x1, 0.5), t.y1 = vu(t.y1, 0.5), t.r1 = vu(t.r1, 0), t.x2 = vu(t.x2, 0.5), t.y2 = vu(t.y2, 0.5), t.r2 = vu(t.r2, 0.5), o = Mv) : (t.x1 = vu(t.x1, 0), t.y1 = vu(t.y1, 0), t.x2 = vu(t.x2, 1), t.y2 = vu(t.y2, 0))), e[s] = t, "url(" + (r || "") + "#" + o + s + ")";
|
|
68571
68571
|
}
|
|
68572
|
-
function
|
|
68572
|
+
function vu(t, e) {
|
|
68573
68573
|
return t ?? e;
|
|
68574
68574
|
}
|
|
68575
68575
|
function X5e(t, e) {
|
|
@@ -69387,7 +69387,7 @@ function Kte(t, e, r, i) {
|
|
|
69387
69387
|
s !== 0 && (t(e, i) || (Nh(e, r), r.fill && Uv(e, r, s) && e.fill(), r.stroke && Lh(e, r, s) && e.stroke()));
|
|
69388
69388
|
}
|
|
69389
69389
|
function sb(t) {
|
|
69390
|
-
return t = t ||
|
|
69390
|
+
return t = t || Yo, function(e, r, i, s, o, u) {
|
|
69391
69391
|
return i *= e.pixelRatio, s *= e.pixelRatio, Cw(r, (a) => {
|
|
69392
69392
|
const l = a.bounds;
|
|
69393
69393
|
if (!(l && !l.contains(o, u) || !l) && t(e, a, i, s, o, u))
|
|
@@ -69626,7 +69626,7 @@ var R4e = {
|
|
|
69626
69626
|
bound: b4e,
|
|
69627
69627
|
draw: T4e,
|
|
69628
69628
|
pick: sb(),
|
|
69629
|
-
isect:
|
|
69629
|
+
isect: Yo,
|
|
69630
69630
|
// bounds check is sufficient
|
|
69631
69631
|
get: zL,
|
|
69632
69632
|
xOffset: ob,
|
|
@@ -70016,7 +70016,7 @@ function ir(t, e, r, i) {
|
|
|
70016
70016
|
var s = t.childNodes[e], o;
|
|
70017
70017
|
return (!s || s.tagName.toLowerCase() !== r.toLowerCase()) && (o = s || null, s = vf(t.ownerDocument, r, i), t.insertBefore(s, o)), s;
|
|
70018
70018
|
}
|
|
70019
|
-
function
|
|
70019
|
+
function No(t, e) {
|
|
70020
70020
|
for (var r = t.childNodes, i = r.length; i > e; ) t.removeChild(r[--i]);
|
|
70021
70021
|
return t;
|
|
70022
70022
|
}
|
|
@@ -70452,7 +70452,7 @@ class Dw extends cb {
|
|
|
70452
70452
|
super(e), this._options = {}, this._redraw = !1, this._dirty = new Jn(), this._tempb = new Jn();
|
|
70453
70453
|
}
|
|
70454
70454
|
initialize(e, r, i, s, o, u) {
|
|
70455
|
-
return this._options = u || {}, this._canvas = this._options.externalContext ? null : R0(1, 1, this._options.type), e && this._canvas && (
|
|
70455
|
+
return this._options = u || {}, this._canvas = this._options.externalContext ? null : R0(1, 1, this._options.type), e && this._canvas && (No(e, 0).appendChild(this._canvas), this._canvas.setAttribute("class", "marks")), super.initialize(e, r, i, s, o);
|
|
70456
70456
|
}
|
|
70457
70457
|
resize(e, r, i, s) {
|
|
70458
70458
|
if (super.resize(e, r, i, s), this._canvas)
|
|
@@ -70685,7 +70685,7 @@ class Tne extends cb {
|
|
|
70685
70685
|
* @return {SVGRenderer} - This renderer instance.
|
|
70686
70686
|
*/
|
|
70687
70687
|
initialize(e, r, i, s, o) {
|
|
70688
|
-
return this._defs = {}, this._clearDefs(), e && (this._svg = ir(e, 0, "svg", Gn), this._svg.setAttributeNS(Tq, "xmlns", Gn), this._svg.setAttributeNS(Tq, "xmlns:xlink", $g["xmlns:xlink"]), this._svg.setAttribute("version", $g.version), this._svg.setAttribute("class", "marks"),
|
|
70688
|
+
return this._defs = {}, this._clearDefs(), e && (this._svg = ir(e, 0, "svg", Gn), this._svg.setAttributeNS(Tq, "xmlns", Gn), this._svg.setAttributeNS(Tq, "xmlns:xlink", $g["xmlns:xlink"]), this._svg.setAttribute("version", $g.version), this._svg.setAttribute("class", "marks"), No(e, 1), this._root = ir(this._svg, n1, "g", Gn), g0(this._root, bne), No(this._svg, n1 + 1)), this.background(this._bgcolor), super.initialize(e, r, i, s, o);
|
|
70689
70689
|
}
|
|
70690
70690
|
/**
|
|
70691
70691
|
* Get / set the background color.
|
|
@@ -70740,7 +70740,7 @@ class Tne extends cb {
|
|
|
70740
70740
|
* If undefined, render all mark types
|
|
70741
70741
|
*/
|
|
70742
70742
|
_render(e, r) {
|
|
70743
|
-
return this._dirtyCheck() && (this._dirtyAll && this._clearDefs(), this.mark(this._root, e, void 0, r),
|
|
70743
|
+
return this._dirtyCheck() && (this._dirtyAll && this._clearDefs(), this.mark(this._root, e, void 0, r), No(this._root, 1)), this.defs(), this._dirty = [], ++this._dirtyID, this;
|
|
70744
70744
|
}
|
|
70745
70745
|
// -- Manage rendering of items marked as dirty --
|
|
70746
70746
|
/**
|
|
@@ -70793,7 +70793,7 @@ class Tne extends cb {
|
|
|
70793
70793
|
return r._svg;
|
|
70794
70794
|
const o = this._svg, u = r.marktype, a = lo[u], l = r.interactive === !1 ? "none" : null, c = a.tag === "g", f = Dq(r, e, i, "g", o);
|
|
70795
70795
|
if (u !== "group" && s != null && !s.includes(u))
|
|
70796
|
-
return
|
|
70796
|
+
return No(f, 0), r._svg;
|
|
70797
70797
|
f.setAttribute("class", ane(r));
|
|
70798
70798
|
const x = Ane(r);
|
|
70799
70799
|
for (const g in x) ui(f, g, x[g]);
|
|
@@ -70803,7 +70803,7 @@ class Tne extends cb {
|
|
|
70803
70803
|
const y = this.isDirty(g), A = Dq(g, f, h, a.tag, o);
|
|
70804
70804
|
y && (this._update(a, A, g), c && FTe(this, A, g, s)), h = A, ++p;
|
|
70805
70805
|
};
|
|
70806
|
-
return a.nested ? r.items.length && m(r.items[0]) : Ju(r, m),
|
|
70806
|
+
return a.nested ? r.items.length && m(r.items[0]) : Ju(r, m), No(f, p), f;
|
|
70807
70807
|
}
|
|
70808
70808
|
/**
|
|
70809
70809
|
* Update the attributes of an SVG element for a mark item.
|
|
@@ -70845,7 +70845,7 @@ class Tne extends cb {
|
|
|
70845
70845
|
i || (r.el = i = ir(e, n1 + 1, "defs", Gn)), s = OTe(i, r.gradient[o], s);
|
|
70846
70846
|
for (const o in r.clipping)
|
|
70847
70847
|
i || (r.el = i = ir(e, n1 + 1, "defs", Gn)), s = wTe(i, r.clipping[o], s);
|
|
70848
|
-
i && (s === 0 ? (e.removeChild(i), r.el = null) :
|
|
70848
|
+
i && (s === 0 ? (e.removeChild(i), r.el = null) : No(i, s));
|
|
70849
70849
|
}
|
|
70850
70850
|
/**
|
|
70851
70851
|
* Clear defs caches.
|
|
@@ -70894,7 +70894,7 @@ function OTe(t, e, r) {
|
|
|
70894
70894
|
});
|
|
70895
70895
|
for (i = 0, s = e.stops.length; i < s; ++i)
|
|
70896
70896
|
o = ir(t, i, "stop", Gn), o.setAttribute("offset", e.stops[i].offset), o.setAttribute("stop-color", e.stops[i].color);
|
|
70897
|
-
return
|
|
70897
|
+
return No(t, i), r;
|
|
70898
70898
|
}
|
|
70899
70899
|
function wTe(t, e, r) {
|
|
70900
70900
|
let i;
|
|
@@ -70903,14 +70903,14 @@ function wTe(t, e, r) {
|
|
|
70903
70903
|
y: 0,
|
|
70904
70904
|
width: e.width,
|
|
70905
70905
|
height: e.height
|
|
70906
|
-
})),
|
|
70906
|
+
})), No(t, 1), r + 1;
|
|
70907
70907
|
}
|
|
70908
70908
|
function FTe(t, e, r, i) {
|
|
70909
70909
|
e = e.lastChild.previousSibling;
|
|
70910
70910
|
let s, o = 0;
|
|
70911
70911
|
Ju(r, (u) => {
|
|
70912
70912
|
s = t.mark(e, u, s, i), ++o;
|
|
70913
|
-
}),
|
|
70913
|
+
}), No(e, 1 + o);
|
|
70914
70914
|
}
|
|
70915
70915
|
function Dq(t, e, r, i, s) {
|
|
70916
70916
|
let o = t._svg, u;
|
|
@@ -70952,7 +70952,7 @@ const LTe = {
|
|
|
70952
70952
|
const i = ey(r);
|
|
70953
70953
|
let s, o, u, a;
|
|
70954
70954
|
be(i) ? (o = i.map((l) => Q0(r, l)), s = o.join(`
|
|
70955
|
-
`), s !== Qr.text && (
|
|
70955
|
+
`), s !== Qr.text && (No(e, 0), u = e.ownerDocument, a = Wf(r), o.forEach((l, c) => {
|
|
70956
70956
|
const f = vf(u, "tspan", Gn);
|
|
70957
70957
|
f.__data__ = r, f.textContent = l, c && (f.setAttribute("x", 0), f.setAttribute("dy", a)), e.appendChild(f);
|
|
70958
70958
|
}), Qr.text = s)) : (o = Q0(r, i), o !== Qr.text && (e.textContent = o, Qr.text = o)), ui(e, "font-family", ab(r)), ui(e, "font-size", kl(r) + "px"), ui(e, "font-style", r.fontStyle), ui(e, "font-variant", r.fontVariant), ui(e, "font-weight", r.fontWeight);
|
|
@@ -71295,7 +71295,7 @@ function jTe(t) {
|
|
|
71295
71295
|
else return;
|
|
71296
71296
|
t.bounds.intersect(mO);
|
|
71297
71297
|
}
|
|
71298
|
-
const Ih = "top",
|
|
71298
|
+
const Ih = "top", $o = "left", ko = "right", z0 = "bottom", UTe = "top-left", qTe = "top-right", HTe = "bottom-left", QTe = "bottom-right", iI = "start", Ow = "middle", li = "end", zTe = "x", GTe = "y", xb = "group", sI = "axis", oI = "title", WTe = "frame", VTe = "scope", uI = "legend", Bne = "row-header", kne = "row-footer", Pne = "row-title", Mne = "column-header", jne = "column-footer", Une = "column-title", YTe = "padding", KTe = "symbol", qne = "fit", Hne = "fit-x", Qne = "fit-y", JTe = "pad", aI = "none", yA = "all", ww = "each", lI = "flush", y0 = "column", E0 = "row";
|
|
71299
71299
|
function zne(t) {
|
|
71300
71300
|
Ee.call(this, null, t);
|
|
71301
71301
|
}
|
|
@@ -71426,7 +71426,7 @@ function Gd(t, e, r) {
|
|
|
71426
71426
|
}
|
|
71427
71427
|
function nRe(t) {
|
|
71428
71428
|
var e = t.items[0].orient;
|
|
71429
|
-
return e ===
|
|
71429
|
+
return e === $o || e === ko;
|
|
71430
71430
|
}
|
|
71431
71431
|
function rRe(t) {
|
|
71432
71432
|
let e = +t.grid;
|
|
@@ -71445,10 +71445,10 @@ function iRe(t, e, r, i) {
|
|
|
71445
71445
|
case Ih:
|
|
71446
71446
|
E = x || 0, _ = -f, C = Math.max(h, Math.min(p, -y.y1)), y.add(0, -C).add(c, 0), m && AA(t, m, C, g, A, 0, -1, y);
|
|
71447
71447
|
break;
|
|
71448
|
-
case
|
|
71448
|
+
case $o:
|
|
71449
71449
|
E = -f, _ = x || 0, C = Math.max(h, Math.min(p, -y.x1)), y.add(-C, 0).add(0, c), m && AA(t, m, C, g, A, 1, -1, y);
|
|
71450
71450
|
break;
|
|
71451
|
-
case
|
|
71451
|
+
case ko:
|
|
71452
71452
|
E = r + f, _ = x || 0, C = Math.max(h, Math.min(p, y.x2)), y.add(0, 0).add(C, c), m && AA(t, m, C, g, A, 1, 1, y);
|
|
71453
71453
|
break;
|
|
71454
71454
|
case z0:
|
|
@@ -71649,7 +71649,7 @@ function dRe(t, e, r, i, s, o, u) {
|
|
|
71649
71649
|
nodirty: !0
|
|
71650
71650
|
};
|
|
71651
71651
|
switch (e) {
|
|
71652
|
-
case
|
|
71652
|
+
case $o:
|
|
71653
71653
|
x.anchor = {
|
|
71654
71654
|
x: Math.floor(i.x1) - l,
|
|
71655
71655
|
column: li,
|
|
@@ -71657,7 +71657,7 @@ function dRe(t, e, r, i, s, o, u) {
|
|
|
71657
71657
|
row: c
|
|
71658
71658
|
};
|
|
71659
71659
|
break;
|
|
71660
|
-
case
|
|
71660
|
+
case ko:
|
|
71661
71661
|
x.anchor = {
|
|
71662
71662
|
x: Math.ceil(i.x2) + l,
|
|
71663
71663
|
y: f * (u || i.height() + 2 * i.y1),
|
|
@@ -71724,20 +71724,20 @@ function mRe(t, e, r) {
|
|
|
71724
71724
|
else {
|
|
71725
71725
|
var u = e.items[1].items[0], a = u.anchor, l = e.titlePadding || 0, c = i - u.x, f = i - u.y;
|
|
71726
71726
|
switch (u.orient) {
|
|
71727
|
-
case
|
|
71727
|
+
case $o:
|
|
71728
71728
|
s += Math.ceil(u.bounds.width()) + l;
|
|
71729
71729
|
break;
|
|
71730
|
-
case
|
|
71730
|
+
case ko:
|
|
71731
71731
|
case z0:
|
|
71732
71732
|
break;
|
|
71733
71733
|
default:
|
|
71734
71734
|
o += u.bounds.height() + l;
|
|
71735
71735
|
}
|
|
71736
71736
|
switch ((s || o) && r1(t, r, s, o), u.orient) {
|
|
71737
|
-
case
|
|
71737
|
+
case $o:
|
|
71738
71738
|
f += Cd(e, r, u, a, 1, 1);
|
|
71739
71739
|
break;
|
|
71740
|
-
case
|
|
71740
|
+
case ko:
|
|
71741
71741
|
c += Cd(e, r, u, li, 0, 0) + l, f += Cd(e, r, u, a, 1, 1);
|
|
71742
71742
|
break;
|
|
71743
71743
|
case z0:
|
|
@@ -71763,17 +71763,17 @@ function gRe(t) {
|
|
|
71763
71763
|
});
|
|
71764
71764
|
}
|
|
71765
71765
|
function yRe(t, e, r, i, s) {
|
|
71766
|
-
var o = e.items[0], u = o.frame, a = o.orient, l = o.anchor, c = o.offset, f = o.padding, x = o.items[0].items[0], h = o.items[1] && o.items[1].items[0], p = a ===
|
|
71767
|
-
if (u !== xb ? a ===
|
|
71766
|
+
var o = e.items[0], u = o.frame, a = o.orient, l = o.anchor, c = o.offset, f = o.padding, x = o.items[0].items[0], h = o.items[1] && o.items[1].items[0], p = a === $o || a === ko ? i : r, m = 0, g = 0, y = 0, A = 0, E = 0, _;
|
|
71767
|
+
if (u !== xb ? a === $o ? (m = s.y2, p = s.y1) : a === ko ? (m = s.y1, p = s.y2) : (m = s.x1, p = s.x2) : a === $o && (m = i, p = 0), _ = l === iI ? m : l === li ? p : (m + p) / 2, h && h.text) {
|
|
71768
71768
|
switch (a) {
|
|
71769
71769
|
case Ih:
|
|
71770
71770
|
case z0:
|
|
71771
71771
|
E = x.bounds.height() + f;
|
|
71772
71772
|
break;
|
|
71773
|
-
case
|
|
71773
|
+
case $o:
|
|
71774
71774
|
A = x.bounds.width() + f;
|
|
71775
71775
|
break;
|
|
71776
|
-
case
|
|
71776
|
+
case ko:
|
|
71777
71777
|
A = -x.bounds.width() - f;
|
|
71778
71778
|
break;
|
|
71779
71779
|
}
|
|
@@ -71784,10 +71784,10 @@ function yRe(t, e, r, i, s) {
|
|
|
71784
71784
|
case Ih:
|
|
71785
71785
|
g = _, y = s.y1 - qr.height() - c;
|
|
71786
71786
|
break;
|
|
71787
|
-
case
|
|
71787
|
+
case $o:
|
|
71788
71788
|
g = s.x1 - qr.width() - c, y = _;
|
|
71789
71789
|
break;
|
|
71790
|
-
case
|
|
71790
|
+
case ko:
|
|
71791
71791
|
g = s.x2 + qr.width() + c, y = _;
|
|
71792
71792
|
break;
|
|
71793
71793
|
case z0:
|
|
@@ -71841,7 +71841,7 @@ function ARe(t, e, r) {
|
|
|
71841
71841
|
if (c.length) {
|
|
71842
71842
|
const y = {};
|
|
71843
71843
|
c.forEach((A) => {
|
|
71844
|
-
h = A.orient ||
|
|
71844
|
+
h = A.orient || ko, h !== aI && (y[h] || (y[h] = [])).push(A);
|
|
71845
71845
|
});
|
|
71846
71846
|
for (const A in y) {
|
|
71847
71847
|
const E = y[A];
|
|
@@ -71851,8 +71851,8 @@ function ARe(t, e, r) {
|
|
|
71851
71851
|
const E = A.bounds;
|
|
71852
71852
|
if (E.equals(A._bounds) || (A.bounds = A._bounds, t.dirty(A), A.bounds = E, t.dirty(A)), r.autosize && (r.autosize.type === qne || r.autosize.type === Hne || r.autosize.type === Qne))
|
|
71853
71853
|
switch (A.orient) {
|
|
71854
|
-
case
|
|
71855
|
-
case
|
|
71854
|
+
case $o:
|
|
71855
|
+
case ko:
|
|
71856
71856
|
u.add(E.x1, 0).add(E.x2, 0);
|
|
71857
71857
|
break;
|
|
71858
71858
|
case Ih:
|
|
@@ -72482,16 +72482,16 @@ function aDe(t) {
|
|
|
72482
72482
|
}
|
|
72483
72483
|
return x0 = Cl = null, En === 1 / 0 || Qi === 1 / 0 ? [[NaN, NaN], [NaN, NaN]] : [[En, Qi], [Tn, gs]];
|
|
72484
72484
|
}
|
|
72485
|
-
var wm, sC, oC, uC, aC, lC, cC, fC, Pw, Mw, jw, _re, vre, fi, xi, di,
|
|
72485
|
+
var wm, sC, oC, uC, aC, lC, cC, fC, Pw, Mw, jw, _re, vre, fi, xi, di, Po = {
|
|
72486
72486
|
sphere: Cr,
|
|
72487
72487
|
point: pI,
|
|
72488
72488
|
lineStart: Vq,
|
|
72489
72489
|
lineEnd: Yq,
|
|
72490
72490
|
polygonStart: function() {
|
|
72491
|
-
|
|
72491
|
+
Po.lineStart = fDe, Po.lineEnd = xDe;
|
|
72492
72492
|
},
|
|
72493
72493
|
polygonEnd: function() {
|
|
72494
|
-
|
|
72494
|
+
Po.lineStart = Vq, Po.lineEnd = Yq;
|
|
72495
72495
|
}
|
|
72496
72496
|
};
|
|
72497
72497
|
function pI(t, e) {
|
|
@@ -72503,12 +72503,12 @@ function ty(t, e, r) {
|
|
|
72503
72503
|
++wm, oC += (t - oC) / wm, uC += (e - uC) / wm, aC += (r - aC) / wm;
|
|
72504
72504
|
}
|
|
72505
72505
|
function Vq() {
|
|
72506
|
-
|
|
72506
|
+
Po.point = lDe;
|
|
72507
72507
|
}
|
|
72508
72508
|
function lDe(t, e) {
|
|
72509
72509
|
t *= At, e *= At;
|
|
72510
72510
|
var r = st(e);
|
|
72511
|
-
fi = r * st(t), xi = r * tt(t), di = tt(e),
|
|
72511
|
+
fi = r * st(t), xi = r * tt(t), di = tt(e), Po.point = cDe, ty(fi, xi, di);
|
|
72512
72512
|
}
|
|
72513
72513
|
function cDe(t, e) {
|
|
72514
72514
|
t *= At, e *= At;
|
|
@@ -72516,16 +72516,16 @@ function cDe(t, e) {
|
|
|
72516
72516
|
sC += u, lC += u * (fi + (fi = i)), cC += u * (xi + (xi = s)), fC += u * (di + (di = o)), ty(fi, xi, di);
|
|
72517
72517
|
}
|
|
72518
72518
|
function Yq() {
|
|
72519
|
-
|
|
72519
|
+
Po.point = pI;
|
|
72520
72520
|
}
|
|
72521
72521
|
function fDe() {
|
|
72522
|
-
|
|
72522
|
+
Po.point = dDe;
|
|
72523
72523
|
}
|
|
72524
72524
|
function xDe() {
|
|
72525
|
-
Cre(_re, vre),
|
|
72525
|
+
Cre(_re, vre), Po.point = pI;
|
|
72526
72526
|
}
|
|
72527
72527
|
function dDe(t, e) {
|
|
72528
|
-
_re = t, vre = e, t *= At, e *= At,
|
|
72528
|
+
_re = t, vre = e, t *= At, e *= At, Po.point = Cre;
|
|
72529
72529
|
var r = st(e);
|
|
72530
72530
|
fi = r * st(t), xi = r * tt(t), di = tt(e), ty(fi, xi, di);
|
|
72531
72531
|
}
|
|
@@ -72535,7 +72535,7 @@ function Cre(t, e) {
|
|
|
72535
72535
|
Pw.add(x * u), Mw.add(x * a), jw.add(x * l), sC += f, lC += f * (fi + (fi = i)), cC += f * (xi + (xi = s)), fC += f * (di + (di = o)), ty(fi, xi, di);
|
|
72536
72536
|
}
|
|
72537
72537
|
function hDe(t) {
|
|
72538
|
-
wm = sC = oC = uC = aC = lC = cC = fC = 0, Pw = new Ai(), Mw = new Ai(), jw = new Ai(), Wa(t,
|
|
72538
|
+
wm = sC = oC = uC = aC = lC = cC = fC = 0, Pw = new Ai(), Mw = new Ai(), jw = new Ai(), Wa(t, Po);
|
|
72539
72539
|
var e = +Pw, r = +Mw, i = +jw, s = Nw(e, r, i);
|
|
72540
72540
|
return s < Jv && (e = lC, r = cC, i = fC, sC < it && (e = oC, r = uC, i = aC), s = Nw(e, r, i), s < Jv) ? [NaN, NaN] : [co(r, e) * In, rs(i / s) * In];
|
|
72541
72541
|
}
|
|
@@ -74398,7 +74398,7 @@ DI.Definition = {
|
|
|
74398
74398
|
ke(DI, Ee, {
|
|
74399
74399
|
transform(t, e) {
|
|
74400
74400
|
var r = e.fork(e.ALL), i = this.value, s = t.as || "shape", o = r.ADD;
|
|
74401
|
-
return (!i || t.modified()) && (this.value = i = FOe(tie(t.projection), t.field ||
|
|
74401
|
+
return (!i || t.modified()) && (this.value = i = FOe(tie(t.projection), t.field || Vo("datum"), t.pointRadius), r.materialize().reflow(), o = r.SOURCE), r.visit(o, (u) => u[s] = i), r.modifies(s);
|
|
74402
74402
|
}
|
|
74403
74403
|
});
|
|
74404
74404
|
function FOe(t, e, r) {
|
|
@@ -76267,7 +76267,7 @@ ke(MI, Ee, {
|
|
|
76267
76267
|
e.source || Se("Stratify transform requires an upstream data source.");
|
|
76268
76268
|
let r = this.value;
|
|
76269
76269
|
const i = t.modified(), s = e.fork(e.ALL).materialize(e.SOURCE), o = !r || i || e.changed(e.ADD_REM) || e.modified(t.key.fields) || e.modified(t.parentKey.fields);
|
|
76270
|
-
return s.source = s.source.slice(), o && (r = s.source.length ? s8(wH().id(t.key).parentId(t.parentKey)(s.source), t.key,
|
|
76270
|
+
return s.source = s.source.slice(), o && (r = s.source.length ? s8(wH().id(t.key).parentId(t.parentKey)(s.source), t.key, Yo) : s8(wH()([{}]), t.key, t.key)), s.source.root = this.value = r, s;
|
|
76271
76271
|
}
|
|
76272
76272
|
});
|
|
76273
76273
|
const NH = {
|
|
@@ -76493,11 +76493,11 @@ function q7e(t) {
|
|
|
76493
76493
|
fillOpacity: 0
|
|
76494
76494
|
} : e;
|
|
76495
76495
|
}
|
|
76496
|
-
const Ma = 5, si = 31, jg = 32, d0 = new Uint32Array(jg + 1),
|
|
76497
|
-
|
|
76498
|
-
d0[0] = ~
|
|
76496
|
+
const Ma = 5, si = 31, jg = 32, d0 = new Uint32Array(jg + 1), Lo = new Uint32Array(jg + 1);
|
|
76497
|
+
Lo[0] = 0;
|
|
76498
|
+
d0[0] = ~Lo[0];
|
|
76499
76499
|
for (let t = 1; t <= jg; ++t)
|
|
76500
|
-
|
|
76500
|
+
Lo[t] = Lo[t - 1] << 1 | 1, d0[t] = ~Lo[t];
|
|
76501
76501
|
function H7e(t, e) {
|
|
76502
76502
|
const r = new Uint32Array(~~((t * e + jg) / jg));
|
|
76503
76503
|
function i(o, u) {
|
|
@@ -76524,10 +76524,10 @@ function H7e(t, e) {
|
|
|
76524
76524
|
let c = l, f, x, h, p;
|
|
76525
76525
|
for (; c >= u; --c)
|
|
76526
76526
|
if (f = c * t + o, x = c * t + a, h = f >>> Ma, p = x >>> Ma, h === p) {
|
|
76527
|
-
if (r[h] & d0[f & si] &
|
|
76527
|
+
if (r[h] & d0[f & si] & Lo[(x & si) + 1])
|
|
76528
76528
|
return !0;
|
|
76529
76529
|
} else {
|
|
76530
|
-
if (r[h] & d0[f & si] || r[p] &
|
|
76530
|
+
if (r[h] & d0[f & si] || r[p] & Lo[(x & si) + 1]) return !0;
|
|
76531
76531
|
for (let m = h + 1; m < p; ++m)
|
|
76532
76532
|
if (r[m]) return !0;
|
|
76533
76533
|
}
|
|
@@ -76537,17 +76537,17 @@ function H7e(t, e) {
|
|
|
76537
76537
|
let c, f, x, h, p;
|
|
76538
76538
|
for (; u <= l; ++u)
|
|
76539
76539
|
if (c = u * t + o, f = u * t + a, x = c >>> Ma, h = f >>> Ma, x === h)
|
|
76540
|
-
i(x, d0[c & si] &
|
|
76540
|
+
i(x, d0[c & si] & Lo[(f & si) + 1]);
|
|
76541
76541
|
else
|
|
76542
|
-
for (i(x, d0[c & si]), i(h,
|
|
76542
|
+
for (i(x, d0[c & si]), i(h, Lo[(f & si) + 1]), p = x + 1; p < h; ++p) i(p, 4294967295);
|
|
76543
76543
|
},
|
|
76544
76544
|
clearRange: (o, u, a, l) => {
|
|
76545
76545
|
let c, f, x, h, p;
|
|
76546
76546
|
for (; u <= l; ++u)
|
|
76547
76547
|
if (c = u * t + o, f = u * t + a, x = c >>> Ma, h = f >>> Ma, x === h)
|
|
76548
|
-
s(x,
|
|
76548
|
+
s(x, Lo[c & si] | d0[(f & si) + 1]);
|
|
76549
76549
|
else
|
|
76550
|
-
for (s(x,
|
|
76550
|
+
for (s(x, Lo[c & si]), s(h, d0[(f & si) + 1]), p = x + 1; p < h; ++p) s(p, 0);
|
|
76551
76551
|
},
|
|
76552
76552
|
outOfBounds: (o, u, a, l) => o < 0 || u < 0 || l >= e || a >= t
|
|
76553
76553
|
};
|
|
@@ -78240,10 +78240,10 @@ const Ywe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78240
78240
|
crossfilter: YI,
|
|
78241
78241
|
resolvefilter: KI
|
|
78242
78242
|
}, Symbol.toStringTag, { value: "Module" })), Kwe = "RawCode", Mh = "Literal", Jwe = "Property", Xwe = "Identifier", Zwe = "ArrayExpression", e8e = "BinaryExpression", Die = "CallExpression", t8e = "ConditionalExpression", n8e = "LogicalExpression", r8e = "MemberExpression", i8e = "ObjectExpression", s8e = "UnaryExpression";
|
|
78243
|
-
function
|
|
78243
|
+
function uu(t) {
|
|
78244
78244
|
this.type = t;
|
|
78245
78245
|
}
|
|
78246
|
-
|
|
78246
|
+
uu.prototype.visit = function(t) {
|
|
78247
78247
|
let e, r, i;
|
|
78248
78248
|
if (t(this)) return 1;
|
|
78249
78249
|
for (e = o8e(this), r = 0, i = e.length; r < i; ++r)
|
|
@@ -78680,43 +78680,43 @@ function Iie() {
|
|
|
78680
78680
|
Gt = Lie(), ve = t;
|
|
78681
78681
|
}
|
|
78682
78682
|
function M8e(t) {
|
|
78683
|
-
const e = new
|
|
78683
|
+
const e = new uu(a8e);
|
|
78684
78684
|
return e.elements = t, e;
|
|
78685
78685
|
}
|
|
78686
78686
|
function HH(t, e, r) {
|
|
78687
|
-
const i = new
|
|
78687
|
+
const i = new uu(t === "||" || t === "&&" ? d8e : l8e);
|
|
78688
78688
|
return i.operator = t, i.left = e, i.right = r, i;
|
|
78689
78689
|
}
|
|
78690
78690
|
function j8e(t, e) {
|
|
78691
|
-
const r = new
|
|
78691
|
+
const r = new uu(c8e);
|
|
78692
78692
|
return r.callee = t, r.arguments = e, r;
|
|
78693
78693
|
}
|
|
78694
78694
|
function U8e(t, e, r) {
|
|
78695
|
-
const i = new
|
|
78695
|
+
const i = new uu(f8e);
|
|
78696
78696
|
return i.test = t, i.consequent = e, i.alternate = r, i;
|
|
78697
78697
|
}
|
|
78698
78698
|
function XI(t) {
|
|
78699
|
-
const e = new
|
|
78699
|
+
const e = new uu(Oie);
|
|
78700
78700
|
return e.name = t, e;
|
|
78701
78701
|
}
|
|
78702
78702
|
function Um(t) {
|
|
78703
|
-
const e = new
|
|
78703
|
+
const e = new uu(x8e);
|
|
78704
78704
|
return e.value = t.value, e.raw = Ye.slice(t.start, t.end), t.regex && (e.raw === "//" && (e.raw = "/(?:)/"), e.regex = t.regex), e;
|
|
78705
78705
|
}
|
|
78706
78706
|
function QH(t, e, r) {
|
|
78707
|
-
const i = new
|
|
78707
|
+
const i = new uu(h8e);
|
|
78708
78708
|
return i.computed = t === "[", i.object = e, i.property = r, i.computed || (r.member = !0), i;
|
|
78709
78709
|
}
|
|
78710
78710
|
function q8e(t) {
|
|
78711
|
-
const e = new
|
|
78711
|
+
const e = new uu(p8e);
|
|
78712
78712
|
return e.properties = t, e;
|
|
78713
78713
|
}
|
|
78714
78714
|
function zH(t, e, r) {
|
|
78715
|
-
const i = new
|
|
78715
|
+
const i = new uu(m8e);
|
|
78716
78716
|
return i.key = e, i.value = r, i.kind = t, i;
|
|
78717
78717
|
}
|
|
78718
78718
|
function H8e(t, e) {
|
|
78719
|
-
const r = new
|
|
78719
|
+
const r = new uu(g8e);
|
|
78720
78720
|
return r.operator = t, r.argument = e, r.prefix = !0, r;
|
|
78721
78721
|
}
|
|
78722
78722
|
function $t(t, e) {
|
|
@@ -79088,9 +79088,9 @@ pa[dFe] = "String";
|
|
|
79088
79088
|
pa[hFe] = "RegularExpression";
|
|
79089
79089
|
const YH = Symbol("vega_selection_getter");
|
|
79090
79090
|
function kie(t) {
|
|
79091
|
-
return (!t.getter || !t.getter[YH]) && (t.getter =
|
|
79091
|
+
return (!t.getter || !t.getter[YH]) && (t.getter = Vo(t.field), t.getter[YH] = !0), t.getter;
|
|
79092
79092
|
}
|
|
79093
|
-
const e$ = "intersect", KH = "union", pFe = "vlMulti", mFe = "vlPoint", JH = "or", gFe = "and", Nu = "_vgsid_", Hg =
|
|
79093
|
+
const e$ = "intersect", KH = "union", pFe = "vlMulti", mFe = "vlPoint", JH = "or", gFe = "and", Nu = "_vgsid_", Hg = Vo(Nu), yFe = "E", EFe = "R", AFe = "R-E", _Fe = "R-LE", vFe = "R-RE", CFe = "E-LT", SFe = "E-LTE", bFe = "E-GT", TFe = "E-GTE", RFe = "E-VALID", DFe = "E-ONE", OC = "index:unit";
|
|
79094
79094
|
function XH(t, e) {
|
|
79095
79095
|
for (var r = e.fields, i = e.values, s = r.length, o = 0, u, a; o < s; ++o)
|
|
79096
79096
|
if (a = r[o], u = kie(a)(t), Df(u) && (u = mi(u)), Df(i[o]) && (i[o] = mi(i[o])), be(i[o]) && Df(i[o][0]) && (i[o] = i[o].map(mi)), a.type === yFe) {
|
|
@@ -79204,7 +79204,7 @@ function kFe(t, e, r) {
|
|
|
79204
79204
|
}
|
|
79205
79205
|
function PFe(t, e) {
|
|
79206
79206
|
const r = this.context.dataflow, i = this.context.data[t], s = i.input;
|
|
79207
|
-
return r.pulse(s, r.changeset().remove(
|
|
79207
|
+
return r.pulse(s, r.changeset().remove(Yo).insert(e)), 1;
|
|
79208
79208
|
}
|
|
79209
79209
|
function MFe(t, e, r) {
|
|
79210
79210
|
if (t) {
|
|
@@ -79359,7 +79359,7 @@ function lNe(t, e, r, i, s, o) {
|
|
|
79359
79359
|
return 0;
|
|
79360
79360
|
if ((!f || f.stamp < c) && (a.changes = f = u.changeset(), f.stamp = c, u.runAfter(() => {
|
|
79361
79361
|
a.modified = !0, u.pulse(l, f).run();
|
|
79362
|
-
}, !0, 1)), r && (x = r === !0 ?
|
|
79362
|
+
}, !0, 1)), r && (x = r === !0 ? Yo : be(r) || S9(r) ? r : eQ(r), f.remove(x)), e && f.insert(e), i && (x = eQ(i), l.value.some(x) ? f.remove(x) : f.insert(i)), s)
|
|
79363
79363
|
for (h in o)
|
|
79364
79364
|
f.modify(s, h, o[h]);
|
|
79365
79365
|
return 1;
|
|
@@ -79374,7 +79374,7 @@ function fNe(t) {
|
|
|
79374
79374
|
}
|
|
79375
79375
|
const tQ = {};
|
|
79376
79376
|
function xNe(t, e) {
|
|
79377
|
-
const r = tQ[e] || (tQ[e] =
|
|
79377
|
+
const r = tQ[e] || (tQ[e] = Vo(e));
|
|
79378
79378
|
return be(t) ? t.map(r) : r(t);
|
|
79379
79379
|
}
|
|
79380
79380
|
function Cb(t) {
|
|
@@ -79857,7 +79857,7 @@ function t9e(t, e) {
|
|
|
79857
79857
|
function n9e(t, e) {
|
|
79858
79858
|
if (!t.$field) return null;
|
|
79859
79859
|
const r = "f:" + t.$field + "_" + t.$name;
|
|
79860
|
-
return e.fn[r] || (e.fn[r] =
|
|
79860
|
+
return e.fn[r] || (e.fn[r] = Vo(t.$field, t.$name, e.expr.codegen));
|
|
79861
79861
|
}
|
|
79862
79862
|
function r9e(t, e) {
|
|
79863
79863
|
const r = "c:" + t.$compare + "_" + t.$order, i = je(t.$compare).map((s) => s && s.$tupleid ? nt : s);
|
|
@@ -79918,7 +79918,7 @@ function x9e(t) {
|
|
|
79918
79918
|
Object.keys(s || {}).forEach((o) => {
|
|
79919
79919
|
r.update(e.signals[o], s[o], c9e);
|
|
79920
79920
|
}), Object.keys(i || {}).forEach((o) => {
|
|
79921
|
-
r.pulse(e.data[o].input, r.changeset().remove(
|
|
79921
|
+
r.pulse(e.data[o].input, r.changeset().remove(Yo).insert(i[o]));
|
|
79922
79922
|
}), (t.subcontext || []).forEach((o, u) => {
|
|
79923
79923
|
const a = e.subcontext[u];
|
|
79924
79924
|
a && a.setState(o);
|
|
@@ -80048,7 +80048,7 @@ function wC(t, e) {
|
|
|
80048
80048
|
return rt(r, e) || Se("Unrecognized data set: " + e), r[e];
|
|
80049
80049
|
}
|
|
80050
80050
|
function g9e(t, e) {
|
|
80051
|
-
return arguments.length < 2 ? wC(this, t).values.value : Sb.call(this, t, Ip().remove(
|
|
80051
|
+
return arguments.length < 2 ? wC(this, t).values.value : Sb.call(this, t, Ip().remove(Yo).insert(e));
|
|
80052
80052
|
}
|
|
80053
80053
|
function Sb(t, e) {
|
|
80054
80054
|
AZ(e) || Se("Second argument to changes must be a changeset.");
|
|
@@ -80984,7 +80984,7 @@ function H_(t) {
|
|
|
80984
80984
|
}
|
|
80985
80985
|
return !1;
|
|
80986
80986
|
}
|
|
80987
|
-
function
|
|
80987
|
+
function wo(t, e) {
|
|
80988
80988
|
return t ?? e;
|
|
80989
80989
|
}
|
|
80990
80990
|
function If(t) {
|
|
@@ -81066,7 +81066,7 @@ function uIe(t, e) {
|
|
|
81066
81066
|
let i = t.update;
|
|
81067
81067
|
t.init && (i ? Se("Signals can not include both init and update expressions.") : (i = t.init, r.initonly = !0)), i && (i = Zu(i, e), r.update = i.$expr, r.params = i.$params), t.on && t.on.forEach((s) => iIe(s, e, r.id));
|
|
81068
81068
|
}
|
|
81069
|
-
const Kt = (t) => (e, r, i) => Rb(t, r, e || void 0, i), vse = Kt("aggregate"), aIe = Kt("axisticks"), Cse = Kt("bound"),
|
|
81069
|
+
const Kt = (t) => (e, r, i) => Rb(t, r, e || void 0, i), vse = Kt("aggregate"), aIe = Kt("axisticks"), Cse = Kt("bound"), au = Kt("collect"), yQ = Kt("compare"), lIe = Kt("datajoin"), Sse = Kt("encode"), cIe = Kt("expression"), fIe = Kt("facet"), xIe = Kt("field"), dIe = Kt("key"), hIe = Kt("legendentries"), pIe = Kt("load"), mIe = Kt("mark"), gIe = Kt("multiextent"), yIe = Kt("multivalues"), EIe = Kt("overlap"), AIe = Kt("params"), bse = Kt("prefacet"), _Ie = Kt("projection"), vIe = Kt("proxy"), CIe = Kt("relay"), Tse = Kt("render"), SIe = Kt("scale"), jx = Kt("sieve"), bIe = Kt("sortitems"), Rse = Kt("viewlayout"), TIe = Kt("values");
|
|
81070
81070
|
let RIe = 0;
|
|
81071
81071
|
const Dse = {
|
|
81072
81072
|
min: "min",
|
|
@@ -81118,7 +81118,7 @@ function NIe(t, e, r) {
|
|
|
81118
81118
|
return (Fh(e.type) ? IIe : Ote(e.type) ? $Ie : BIe)(t, r, s);
|
|
81119
81119
|
}
|
|
81120
81120
|
function LIe(t, e) {
|
|
81121
|
-
const r = "_:vega:_" + RIe++, i =
|
|
81121
|
+
const r = "_:vega:_" + RIe++, i = au({});
|
|
81122
81122
|
if (be(t))
|
|
81123
81123
|
i.value = {
|
|
81124
81124
|
$ingest: t
|
|
@@ -81143,7 +81143,7 @@ function IIe(t, e, r) {
|
|
|
81143
81143
|
pulse: u
|
|
81144
81144
|
};
|
|
81145
81145
|
i && (s = i.op || "count", o = i.field ? Db(s, i.field) : "count", a.ops = [Dse[s]], a.fields = [e.fieldRef(o)], a.as = [o]), s = e.add(vse(a));
|
|
81146
|
-
const l = e.add(
|
|
81146
|
+
const l = e.add(au({
|
|
81147
81147
|
pulse: et(s)
|
|
81148
81148
|
}));
|
|
81149
81149
|
return o = e.add(TIe({
|
|
@@ -81228,7 +81228,7 @@ function jIe(t, e) {
|
|
|
81228
81228
|
function C8(t, e, r) {
|
|
81229
81229
|
return be(t) ? t.map((i) => C8(i, e, r)) : Ge(t) ? t.signal ? r.signalRef(t.signal) : e === "fit" ? t : Se("Unsupported parameter object: " + $e(t)) : t;
|
|
81230
81230
|
}
|
|
81231
|
-
const
|
|
81231
|
+
const lu = "top", Up = "left", qp = "right", G0 = "bottom", Nse = "center", UIe = "vertical", qIe = "start", HIe = "middle", QIe = "end", S8 = "index", m$ = "label", zIe = "offset", jh = "perc", GIe = "perc2", to = "value", ly = "guide-label", g$ = "guide-title", WIe = "group-title", VIe = "group-subtitle", EQ = "symbol", z_ = "gradient", b8 = "discrete", T8 = "size", YIe = "shape", KIe = "fill", JIe = "stroke", XIe = "strokeWidth", ZIe = "strokeDash", e$e = "opacity", y$ = [T8, YIe, KIe, JIe, XIe, ZIe, e$e], cy = {
|
|
81232
81232
|
name: 1,
|
|
81233
81233
|
style: 1,
|
|
81234
81234
|
interactive: 1
|
|
@@ -81241,8 +81241,8 @@ function Wg(t) {
|
|
|
81241
81241
|
return t.type = wb, t.interactive = t.interactive || !1, t;
|
|
81242
81242
|
}
|
|
81243
81243
|
function ss(t, e) {
|
|
81244
|
-
const r = (i, s) =>
|
|
81245
|
-
return r.isVertical = (i) => UIe ===
|
|
81244
|
+
const r = (i, s) => wo(t[i], wo(e[i], s));
|
|
81245
|
+
return r.isVertical = (i) => UIe === wo(t.direction, e.direction || (i ? e.symbolDirection : e.gradientDirection)), r.gradientLength = () => wo(t.gradientLength, e.gradientLength || e.gradientWidth), r.gradientThickness = () => wo(t.gradientThickness, e.gradientThickness || e.gradientHeight), r.entryColumns = () => wo(t.columns, wo(e.columns, +r.isVertical(!0))), r;
|
|
81246
81246
|
}
|
|
81247
81247
|
function Ise(t, e) {
|
|
81248
81248
|
const r = e && (e.update && e.update[t] || e.enter && e.enter[t]);
|
|
@@ -81359,7 +81359,7 @@ function s$e(t, e, r, i, s) {
|
|
|
81359
81359
|
encode: g
|
|
81360
81360
|
}, i);
|
|
81361
81361
|
}
|
|
81362
|
-
const o$e = `datum.${jh}<=0?"${Up}":datum.${jh}>=1?"${qp}":"${Nse}"`, u$e = `datum.${jh}<=0?"${G0}":datum.${jh}>=1?"${
|
|
81362
|
+
const o$e = `datum.${jh}<=0?"${Up}":datum.${jh}>=1?"${qp}":"${Nse}"`, u$e = `datum.${jh}<=0?"${G0}":datum.${jh}>=1?"${lu}":"${HIe}"`;
|
|
81363
81363
|
function AQ(t, e, r, i) {
|
|
81364
81364
|
const s = ss(t, e), o = s.isVertical(), u = fr(s.gradientThickness()), a = s.gradientLength();
|
|
81365
81365
|
let l = s("labelOverlap"), c, f, x, h, p = "";
|
|
@@ -81384,7 +81384,7 @@ function AQ(t, e, r, i) {
|
|
|
81384
81384
|
fontSize: s("labelFontSize"),
|
|
81385
81385
|
fontStyle: s("labelFontStyle"),
|
|
81386
81386
|
fontWeight: s("labelFontWeight"),
|
|
81387
|
-
limit:
|
|
81387
|
+
limit: wo(t.labelLimit, e.gradientLabelLimit)
|
|
81388
81388
|
}), o ? (c.align = {
|
|
81389
81389
|
value: "left"
|
|
81390
81390
|
}, c.baseline = f.baseline = {
|
|
@@ -81396,7 +81396,7 @@ function AQ(t, e, r, i) {
|
|
|
81396
81396
|
}, x = "x", h = "y"), c[x] = f[x] = {
|
|
81397
81397
|
signal: p + "datum." + jh,
|
|
81398
81398
|
mult: a
|
|
81399
|
-
}, c[h] = f[h] = u, u.offset =
|
|
81399
|
+
}, c[h] = f[h] = u, u.offset = wo(t.labelOffset, e.gradientLabelOffset) || 0, l = l ? {
|
|
81400
81400
|
separation: s("labelSeparation"),
|
|
81401
81401
|
method: l,
|
|
81402
81402
|
order: "datum." + S8
|
|
@@ -81708,7 +81708,7 @@ function R$e(t, e, r) {
|
|
|
81708
81708
|
return t ? (i = t.facet) && (e || Se("Only group marks can be faceted."), i.field != null ? u = a = G_(i, r) : (t.data ? a = et(r.getData(t.data).aggregate) : (o = C$(gt({
|
|
81709
81709
|
type: "aggregate",
|
|
81710
81710
|
groupby: je(i.groupby)
|
|
81711
|
-
}, i.aggregate), r), o.params.key = r.keyRef(i.groupby), o.params.pulse = G_(i, r), u = a = et(r.add(o))), s = r.keyRef(i.groupby, !0))) : u = et(r.add(
|
|
81711
|
+
}, i.aggregate), r), o.params.key = r.keyRef(i.groupby), o.params.pulse = G_(i, r), u = a = et(r.add(o))), s = r.keyRef(i.groupby, !0))) : u = et(r.add(au(null, [{}]))), u || (u = G_(t, r)), {
|
|
81712
81712
|
key: s,
|
|
81713
81713
|
pulse: u,
|
|
81714
81714
|
parent: a
|
|
@@ -81762,7 +81762,7 @@ ex.prototype = {
|
|
|
81762
81762
|
return o != null && (t = i.scope, u = s[o]), u ? r && r.field && TQ(t, u.agg.params, r) : (l = {
|
|
81763
81763
|
groupby: t.fieldRef(e, "key"),
|
|
81764
81764
|
pulse: et(i.output)
|
|
81765
|
-
}, r && r.field && TQ(t, l, r), a = t.add(vse(l)), u = t.add(
|
|
81765
|
+
}, r && r.field && TQ(t, l, r), a = t.add(vse(l)), u = t.add(au({
|
|
81766
81766
|
pulse: et(a)
|
|
81767
81767
|
})), u = {
|
|
81768
81768
|
agg: a,
|
|
@@ -81799,7 +81799,7 @@ function D$e(t, e, r) {
|
|
|
81799
81799
|
group: et(e.proxy(r.parent)),
|
|
81800
81800
|
pulse: o
|
|
81801
81801
|
})) : Se("Facet must specify groupby or field: " + $e(i));
|
|
81802
|
-
const a = e.fork(), l = a.add(
|
|
81802
|
+
const a = e.fork(), l = a.add(au()), c = a.add(jx({
|
|
81803
81803
|
pulse: et(l)
|
|
81804
81804
|
}));
|
|
81805
81805
|
a.addData(s, new ex(a, l, l, c)), a.addSignal("parent", null), u.params.subflow = {
|
|
@@ -81828,7 +81828,7 @@ function Lb(t, e) {
|
|
|
81828
81828
|
clean: !i
|
|
81829
81829
|
}));
|
|
81830
81830
|
const y = et(l);
|
|
81831
|
-
l = c = e.add(
|
|
81831
|
+
l = c = e.add(au({
|
|
81832
81832
|
pulse: y
|
|
81833
81833
|
})), l = e.add(mIe({
|
|
81834
81834
|
markdef: E$e(t),
|
|
@@ -81897,7 +81897,7 @@ function F$e(t, e) {
|
|
|
81897
81897
|
scales: c,
|
|
81898
81898
|
type: m,
|
|
81899
81899
|
vgrad: m !== "symbol" && s.isVertical()
|
|
81900
|
-
}, y = et(e.add(
|
|
81900
|
+
}, y = et(e.add(au(null, [g]))), A = {
|
|
81901
81901
|
enter: {
|
|
81902
81902
|
x: {
|
|
81903
81903
|
value: 0
|
|
@@ -81980,7 +81980,7 @@ function P$e(t, e) {
|
|
|
81980
81980
|
t = ze(t) ? {
|
|
81981
81981
|
text: t
|
|
81982
81982
|
} : t;
|
|
81983
|
-
const r = ss(t, e.config.title), i = t.encode || {}, s = i.group || {}, o = s.name || void 0, u = s.interactive, a = s.style, l = [], c = {}, f = et(e.add(
|
|
81983
|
+
const r = ss(t, e.config.title), i = t.encode || {}, s = i.group || {}, o = s.name || void 0, u = s.interactive, a = s.style, l = [], c = {}, f = et(e.add(au(null, [c])));
|
|
81984
81984
|
return l.push(U$e(t, r, M$e(t), f)), t.subtitle && l.push(q$e(t, r, i.subtitle, f)), Lb(Wg({
|
|
81985
81985
|
role: ILe,
|
|
81986
81986
|
from: f,
|
|
@@ -82145,7 +82145,7 @@ function Q$e(t, e, r) {
|
|
|
82145
82145
|
}), (o || c) && i.splice(1, 0, Xc())), s || i.push(Xc()), i.push(jx({})), i;
|
|
82146
82146
|
}
|
|
82147
82147
|
function Xc(t) {
|
|
82148
|
-
const e =
|
|
82148
|
+
const e = au({}, t);
|
|
82149
82149
|
return e.metadata = {
|
|
82150
82150
|
source: !0
|
|
82151
82151
|
}, e;
|
|
@@ -82158,7 +82158,7 @@ function DQ(t, e) {
|
|
|
82158
82158
|
format: t.objectProperty(e.format)
|
|
82159
82159
|
});
|
|
82160
82160
|
}
|
|
82161
|
-
const jse = (t) => t === G0 || t ===
|
|
82161
|
+
const jse = (t) => t === G0 || t === lu, Ib = (t, e, r) => Yn(t) ? V$e(t.signal, e, r) : t === Up || t === lu ? e : r, xr = (t, e, r) => Yn(t) ? G$e(t.signal, e, r) : jse(t) ? e : r, Uo = (t, e, r) => Yn(t) ? W$e(t.signal, e, r) : jse(t) ? r : e, Use = (t, e, r) => Yn(t) ? Y$e(t.signal, e, r) : t === lu ? {
|
|
82162
82162
|
value: e
|
|
82163
82163
|
} : {
|
|
82164
82164
|
value: r
|
|
@@ -82166,14 +82166,14 @@ const jse = (t) => t === G0 || t === au, Ib = (t, e, r) => Yn(t) ? V$e(t.signal,
|
|
|
82166
82166
|
value: e
|
|
82167
82167
|
} : {
|
|
82168
82168
|
value: r
|
|
82169
|
-
}, G$e = (t, e, r) => qse(`${t} === '${
|
|
82169
|
+
}, G$e = (t, e, r) => qse(`${t} === '${lu}' || ${t} === '${G0}'`, e, r), W$e = (t, e, r) => qse(`${t} !== '${lu}' && ${t} !== '${G0}'`, e, r), V$e = (t, e, r) => S$(`${t} === '${Up}' || ${t} === '${lu}'`, e, r), Y$e = (t, e, r) => S$(`${t} === '${lu}'`, e, r), K$e = (t, e, r) => S$(`${t} === '${qp}'`, e, r), qse = (t, e, r) => (e = e != null ? fr(e) : e, r = r != null ? fr(r) : r, OQ(e) && OQ(r) ? (e = e ? e.signal || $e(e.value) : null, r = r ? r.signal || $e(r.value) : null, {
|
|
82170
82170
|
signal: `${t} ? (${e}) : (${r})`
|
|
82171
82171
|
}) : [gt({
|
|
82172
82172
|
test: t
|
|
82173
82173
|
}, e)].concat(r || [])), OQ = (t) => t == null || Object.keys(t).length === 1, S$ = (t, e, r) => ({
|
|
82174
82174
|
signal: `${t} ? (${Yd(e)}) : (${Yd(r)})`
|
|
82175
82175
|
}), J$e = (t, e, r, i, s) => ({
|
|
82176
|
-
signal: (i != null ? `${t} === '${Up}' ? (${Yd(i)}) : ` : "") + (r != null ? `${t} === '${G0}' ? (${Yd(r)}) : ` : "") + (s != null ? `${t} === '${qp}' ? (${Yd(s)}) : ` : "") + (e != null ? `${t} === '${
|
|
82176
|
+
signal: (i != null ? `${t} === '${Up}' ? (${Yd(i)}) : ` : "") + (r != null ? `${t} === '${G0}' ? (${Yd(r)}) : ` : "") + (s != null ? `${t} === '${qp}' ? (${Yd(s)}) : ` : "") + (e != null ? `${t} === '${lu}' ? (${Yd(e)}) : ` : "") + "(null)"
|
|
82177
82177
|
}), Yd = (t) => Yn(t) ? t.signal : t == null ? null : $e(t), X$e = (t, e) => e === 0 ? 0 : Yn(t) ? {
|
|
82178
82178
|
signal: `(${t.signal}) * ${e}`
|
|
82179
82179
|
} : {
|
|
@@ -82232,7 +82232,7 @@ function Z$e(t, e) {
|
|
|
82232
82232
|
for (c of h)
|
|
82233
82233
|
l[c] = J$e(u.signal, Dd(c, r.axisTop, s, i), Dd(c, r.axisBottom, s, i), Dd(c, r.axisLeft, s, i), Dd(c, r.axisRight, s, i));
|
|
82234
82234
|
} else
|
|
82235
|
-
a = u ===
|
|
82235
|
+
a = u === lu || u === G0 ? r.axisX : r.axisY, l = r["axis" + u[0].toUpperCase() + u.slice(1)];
|
|
82236
82236
|
return a || l || o ? gt({}, s, a, l, o) : s;
|
|
82237
82237
|
}
|
|
82238
82238
|
function eBe(t, e, r, i) {
|
|
@@ -82258,7 +82258,7 @@ function eBe(t, e, r, i) {
|
|
|
82258
82258
|
strokeOpacity: s("domainOpacity")
|
|
82259
82259
|
});
|
|
82260
82260
|
const c = FQ(t, 0), f = FQ(t, 1);
|
|
82261
|
-
return u.x = a.x = xr(o, c, Ot), u.x2 = a.x2 = xr(o, f), u.y = a.y =
|
|
82261
|
+
return u.x = a.x = xr(o, c, Ot), u.x2 = a.x2 = xr(o, f), u.y = a.y = Uo(o, c, Ot), u.y2 = a.y2 = Uo(o, f), Rs({
|
|
82262
82262
|
type: E$,
|
|
82263
82263
|
role: CLe,
|
|
82264
82264
|
from: i,
|
|
@@ -82321,7 +82321,7 @@ function tBe(t, e, r, i, s) {
|
|
|
82321
82321
|
mult: l,
|
|
82322
82322
|
offset: c
|
|
82323
82323
|
});
|
|
82324
|
-
return f.x = h.x = xr(u, m, y), f.y = h.y =
|
|
82324
|
+
return f.x = h.x = xr(u, m, y), f.y = h.y = Uo(u, m, y), f.x2 = h.x2 = Uo(u, A), f.y2 = h.y2 = xr(u, A), x.x = xr(u, m), x.y = Uo(u, m), Rs({
|
|
82325
82325
|
type: E$,
|
|
82326
82326
|
role: SLe,
|
|
82327
82327
|
key: to,
|
|
@@ -82379,7 +82379,7 @@ function rBe(t, e, r, i, s, o) {
|
|
|
82379
82379
|
offset: o.offset,
|
|
82380
82380
|
round: u("tickRound")
|
|
82381
82381
|
};
|
|
82382
|
-
return x.y = c.y = xr(a, Ot, m), x.y2 = c.y2 = xr(a, p), f.x = xr(a, m), x.x = c.x =
|
|
82382
|
+
return x.y = c.y = xr(a, Ot, m), x.y2 = c.y2 = xr(a, p), f.x = xr(a, m), x.x = c.x = Uo(a, Ot, m), x.x2 = c.x2 = Uo(a, p), f.y = Uo(a, m), Rs({
|
|
82383
82383
|
type: E$,
|
|
82384
82384
|
role: TLe,
|
|
82385
82385
|
key: to,
|
|
@@ -82411,7 +82411,7 @@ function iBe(t, e, r, i, s, o) {
|
|
|
82411
82411
|
const C = {
|
|
82412
82412
|
opacity: Ot,
|
|
82413
82413
|
x: xr(a, A, y),
|
|
82414
|
-
y:
|
|
82414
|
+
y: Uo(a, A, y)
|
|
82415
82415
|
}, b = {
|
|
82416
82416
|
enter: C,
|
|
82417
82417
|
update: g = {
|
|
@@ -82432,7 +82432,7 @@ function iBe(t, e, r, i, s, o) {
|
|
|
82432
82432
|
};
|
|
82433
82433
|
Or(b, {
|
|
82434
82434
|
dx: !h && m ? xr(a, v) : null,
|
|
82435
|
-
dy: !p && m ?
|
|
82435
|
+
dy: !p && m ? Uo(a, v) : null
|
|
82436
82436
|
}), Or(b, {
|
|
82437
82437
|
angle: u("labelAngle"),
|
|
82438
82438
|
fill: u("labelColor"),
|
|
@@ -82489,7 +82489,7 @@ function sBe(t, e, r, i) {
|
|
|
82489
82489
|
}, f = {
|
|
82490
82490
|
signal: `lerp(range("${t.scale}"), ${Fb(0, 1, 0.5)})`
|
|
82491
82491
|
};
|
|
82492
|
-
return l.x = xr(o, f), l.y =
|
|
82492
|
+
return l.x = xr(o, f), l.y = Uo(o, f), a.angle = xr(o, Ot, X$e(u, 90)), a.baseline = xr(o, Use(o, G0, lu), {
|
|
82493
82493
|
value: G0
|
|
82494
82494
|
}), l.angle = a.angle, l.baseline = a.baseline, Or(c, {
|
|
82495
82495
|
fill: s("titleColor"),
|
|
@@ -82525,7 +82525,7 @@ function uBe(t, e) {
|
|
|
82525
82525
|
grid: !!l("grid"),
|
|
82526
82526
|
domain: !!l("domain"),
|
|
82527
82527
|
title: t.title != null
|
|
82528
|
-
}, x = et(e.add(
|
|
82528
|
+
}, x = et(e.add(au({}, [f]))), h = et(e.add(aIe({
|
|
82529
82529
|
scale: e.scaleRef(t.scale),
|
|
82530
82530
|
extra: e.property(c.extra),
|
|
82531
82531
|
count: e.objectProperty(t.tickCount),
|
|
@@ -82556,7 +82556,7 @@ function aBe(t, e) {
|
|
|
82556
82556
|
return Or(r, {
|
|
82557
82557
|
orient: t("orient"),
|
|
82558
82558
|
offset: t("offset") || 0,
|
|
82559
|
-
position:
|
|
82559
|
+
position: wo(e.position, 0),
|
|
82560
82560
|
titlePadding: t("titlePadding"),
|
|
82561
82561
|
minExtent: t("minExtent"),
|
|
82562
82562
|
maxExtent: t("maxExtent"),
|
|
@@ -82594,7 +82594,7 @@ const lBe = (t) => jp({
|
|
|
82594
82594
|
function cBe(t, e) {
|
|
82595
82595
|
const r = e.config, i = et(e.root = e.add(IC())), s = fBe(t, r);
|
|
82596
82596
|
s.forEach((c) => _se(c, e)), e.description = t.description || r.description, e.eventConfig = r.events, e.legends = e.objectProperty(r.legend && r.legend.layout), e.locale = r.locale;
|
|
82597
|
-
const o = e.add(
|
|
82597
|
+
const o = e.add(au()), u = e.add(Sse(Ase(lBe(t.encode), wb, x$, t.style, e, {
|
|
82598
82598
|
pulse: et(o)
|
|
82599
82599
|
}))), a = e.add(Rse({
|
|
82600
82600
|
layout: e.objectProperty(t.layout),
|
|
@@ -82624,7 +82624,7 @@ function c1(t, e) {
|
|
|
82624
82624
|
};
|
|
82625
82625
|
}
|
|
82626
82626
|
function fBe(t, e) {
|
|
82627
|
-
const r = (u) =>
|
|
82627
|
+
const r = (u) => wo(t[u], e[u]), i = [c1("background", r("background")), c1("autosize", ELe(r("autosize"))), c1("padding", _Le(r("padding"))), c1("width", r("width") || 0), c1("height", r("height") || 0)], s = i.reduce((u, a) => (u[a.name] = a, u), {}), o = {};
|
|
82628
82628
|
return je(t.signals).forEach((u) => {
|
|
82629
82629
|
rt(s, u.name) ? u = gt(s[u.name], u) : i.push(u), o[u.name] = u;
|
|
82630
82630
|
}), je(e.signals).forEach((u) => {
|
|
@@ -83238,7 +83238,7 @@ function pr(t) {
|
|
|
83238
83238
|
function Ds(t) {
|
|
83239
83239
|
return wBe.has(t);
|
|
83240
83240
|
}
|
|
83241
|
-
function
|
|
83241
|
+
function Mo(t) {
|
|
83242
83242
|
return Wse.has(t);
|
|
83243
83243
|
}
|
|
83244
83244
|
function qh(t) {
|
|
@@ -83316,11 +83316,11 @@ function D8(t, e) {
|
|
|
83316
83316
|
case "bins":
|
|
83317
83317
|
return !["point", "band", "identity", "ordinal"].includes(t);
|
|
83318
83318
|
case "round":
|
|
83319
|
-
return
|
|
83319
|
+
return Mo(t) || t === "band" || t === "point";
|
|
83320
83320
|
case "padding":
|
|
83321
83321
|
case "rangeMin":
|
|
83322
83322
|
case "rangeMax":
|
|
83323
|
-
return
|
|
83323
|
+
return Mo(t) || ["point", "band"].includes(t);
|
|
83324
83324
|
case "paddingOuter":
|
|
83325
83325
|
case "align":
|
|
83326
83326
|
return ["point", "band"].includes(t);
|
|
@@ -83330,9 +83330,9 @@ function D8(t, e) {
|
|
|
83330
83330
|
case "domainMid":
|
|
83331
83331
|
case "domainMin":
|
|
83332
83332
|
case "clamp":
|
|
83333
|
-
return
|
|
83333
|
+
return Mo(t);
|
|
83334
83334
|
case "nice":
|
|
83335
|
-
return
|
|
83335
|
+
return Mo(t) || t === "quantize" || t === "threshold";
|
|
83336
83336
|
case "exponent":
|
|
83337
83337
|
return t === "pow";
|
|
83338
83338
|
case "base":
|
|
@@ -83390,16 +83390,16 @@ function jBe(t, e, r = !1) {
|
|
|
83390
83390
|
case hr:
|
|
83391
83391
|
case ac:
|
|
83392
83392
|
case Op:
|
|
83393
|
-
case
|
|
83393
|
+
case su:
|
|
83394
83394
|
case sa:
|
|
83395
|
-
return
|
|
83395
|
+
return Mo(e) || e === "band" ? !0 : e === "point" ? !r : !1;
|
|
83396
83396
|
case Il:
|
|
83397
83397
|
case fc:
|
|
83398
83398
|
case $l:
|
|
83399
83399
|
case lc:
|
|
83400
83400
|
case cc:
|
|
83401
83401
|
case Ox:
|
|
83402
|
-
return
|
|
83402
|
+
return Mo(e) || qh(e) || Nt(["band", "point", "ordinal"], e);
|
|
83403
83403
|
case es:
|
|
83404
83404
|
case aa:
|
|
83405
83405
|
case la:
|
|
@@ -83510,7 +83510,7 @@ function F$(t) {
|
|
|
83510
83510
|
return (
|
|
83511
83511
|
// Only this for field def without counting aggregate (as count wouldn't be null)
|
|
83512
83512
|
Be(r) && !iX(r.aggregate) && // and only for continuous scale
|
|
83513
|
-
s &&
|
|
83513
|
+
s && Mo(s.get("type")) ? rke({
|
|
83514
83514
|
fieldDef: r,
|
|
83515
83515
|
channel: e,
|
|
83516
83516
|
markDef: i,
|
|
@@ -83587,7 +83587,7 @@ function L$({ channel: t, channelDef: e, channel2Def: r, markDef: i, config: s,
|
|
|
83587
83587
|
bandPosition: f,
|
|
83588
83588
|
offset: l
|
|
83589
83589
|
});
|
|
83590
|
-
De(EX(t === Sn ?
|
|
83590
|
+
De(EX(t === Sn ? iu : ia));
|
|
83591
83591
|
}
|
|
83592
83592
|
}
|
|
83593
83593
|
return $f(
|
|
@@ -83601,7 +83601,7 @@ function L$({ channel: t, channelDef: e, channel2Def: r, markDef: i, config: s,
|
|
|
83601
83601
|
band: h === "band" ? (x = f ?? e.bandPosition) !== null && x !== void 0 ? x : 0.5 : void 0
|
|
83602
83602
|
}
|
|
83603
83603
|
);
|
|
83604
|
-
} else if (
|
|
83604
|
+
} else if (Xo(e)) {
|
|
83605
83605
|
const h = e.value, p = l ? { offset: l } : {};
|
|
83606
83606
|
return Object.assign(Object.assign({}, pg(t, h)), p);
|
|
83607
83607
|
}
|
|
@@ -83798,7 +83798,7 @@ function dy(t) {
|
|
|
83798
83798
|
}
|
|
83799
83799
|
function xke(t) {
|
|
83800
83800
|
const e = t && t.condition;
|
|
83801
|
-
return !!e && (be(e) ||
|
|
83801
|
+
return !!e && (be(e) || Xo(e));
|
|
83802
83802
|
}
|
|
83803
83803
|
function Be(t) {
|
|
83804
83804
|
return t && (!!t.field || t.aggregate === "count");
|
|
@@ -83821,7 +83821,7 @@ function ft(t) {
|
|
|
83821
83821
|
function fo(t) {
|
|
83822
83822
|
return t && ("field" in t || t.aggregate === "count") && "type" in t;
|
|
83823
83823
|
}
|
|
83824
|
-
function
|
|
83824
|
+
function Xo(t) {
|
|
83825
83825
|
return t && "value" in t && "value" in t;
|
|
83826
83826
|
}
|
|
83827
83827
|
function qx(t) {
|
|
@@ -83860,7 +83860,7 @@ function Pe(t, e = {}) {
|
|
|
83860
83860
|
}
|
|
83861
83861
|
c && (o = o ? `${c}_${o}` : c);
|
|
83862
83862
|
}
|
|
83863
|
-
return a && (o = `${o}_${a}`), u && (o = `${u}_${o}`), e.forAs ? GJ(o) : e.expr ? Pge(o, e.expr) + l :
|
|
83863
|
+
return a && (o = `${o}_${a}`), u && (o = `${u}_${o}`), e.forAs ? GJ(o) : e.expr ? Pge(o, e.expr) + l : Ko(o) + l;
|
|
83864
83864
|
}
|
|
83865
83865
|
function kC(t) {
|
|
83866
83866
|
switch (t.type) {
|
|
@@ -84094,14 +84094,14 @@ function vke(t, e) {
|
|
|
84094
84094
|
case R5:
|
|
84095
84095
|
case D5:
|
|
84096
84096
|
case Ox:
|
|
84097
|
-
case
|
|
84097
|
+
case su:
|
|
84098
84098
|
case sa:
|
|
84099
84099
|
case O5:
|
|
84100
84100
|
return Od;
|
|
84101
84101
|
case ua:
|
|
84102
84102
|
case oo:
|
|
84103
84103
|
case oa:
|
|
84104
|
-
case
|
|
84104
|
+
case ou:
|
|
84105
84105
|
return r !== tx ? {
|
|
84106
84106
|
compatible: !1,
|
|
84107
84107
|
warning: `Channel ${e} should be used with a quantitative field only, not ${t.type} field.`
|
|
@@ -84113,7 +84113,7 @@ function vke(t, e) {
|
|
|
84113
84113
|
case Il:
|
|
84114
84114
|
case Ll:
|
|
84115
84115
|
case Nl:
|
|
84116
|
-
case
|
|
84116
|
+
case iu:
|
|
84117
84117
|
case ia:
|
|
84118
84118
|
return r === "nominal" && !t.sort ? {
|
|
84119
84119
|
compatible: !1,
|
|
@@ -84531,7 +84531,7 @@ function Dke(t, e, r) {
|
|
|
84531
84531
|
const i = o3e(e, r);
|
|
84532
84532
|
if (i) {
|
|
84533
84533
|
if (i === "binned") {
|
|
84534
|
-
const s = t[e ===
|
|
84534
|
+
const s = t[e === iu ? Sn : hr];
|
|
84535
84535
|
return !!(Be(s) && Be(t[e]) && ci(s.bin));
|
|
84536
84536
|
}
|
|
84537
84537
|
} else return !1;
|
|
@@ -84555,7 +84555,7 @@ function Oke(t, e, r, i) {
|
|
|
84555
84555
|
} else
|
|
84556
84556
|
o = a, De(q3e(a));
|
|
84557
84557
|
}
|
|
84558
|
-
if (o === "angle" && e === "arc" && !t.theta && (De(j3e), o =
|
|
84558
|
+
if (o === "angle" && e === "arc" && !t.theta && (De(j3e), o = su), !Dke(t, o, e)) {
|
|
84559
84559
|
De(L5(o, e));
|
|
84560
84560
|
continue;
|
|
84561
84561
|
}
|
|
@@ -84570,12 +84570,12 @@ function Oke(t, e, r, i) {
|
|
|
84570
84570
|
De(mX("encoding", { fill: "fill" in t, stroke: "stroke" in t }));
|
|
84571
84571
|
continue;
|
|
84572
84572
|
}
|
|
84573
|
-
if (o === B3 || o === $3 && !be(u) && !
|
|
84573
|
+
if (o === B3 || o === $3 && !be(u) && !Xo(u) || o === Uf && be(u))
|
|
84574
84574
|
u && (s[o] = je(u).reduce((a, l) => (Be(l) ? a.push(U$(l, o)) : De(z7(l, o)), a), []));
|
|
84575
84575
|
else {
|
|
84576
84576
|
if (o === Uf && u === null)
|
|
84577
84577
|
s[o] = null;
|
|
84578
|
-
else if (!Be(u) && !ya(u) && !
|
|
84578
|
+
else if (!Be(u) && !ya(u) && !Xo(u) && !qb(u) && !Ze(u)) {
|
|
84579
84579
|
De(z7(u, o));
|
|
84580
84580
|
continue;
|
|
84581
84581
|
}
|
|
@@ -84627,17 +84627,17 @@ function Roe(t, e) {
|
|
|
84627
84627
|
case R5:
|
|
84628
84628
|
case O5:
|
|
84629
84629
|
case D5:
|
|
84630
|
-
case
|
|
84630
|
+
case iu:
|
|
84631
84631
|
case ia:
|
|
84632
84632
|
case ac:
|
|
84633
84633
|
case Op:
|
|
84634
|
-
case
|
|
84634
|
+
case su:
|
|
84635
84635
|
case Ll:
|
|
84636
84636
|
case sa:
|
|
84637
84637
|
case Nl:
|
|
84638
84638
|
case oa:
|
|
84639
84639
|
case ua:
|
|
84640
|
-
case
|
|
84640
|
+
case ou:
|
|
84641
84641
|
case oo:
|
|
84642
84642
|
case I3:
|
|
84643
84643
|
case ts:
|
|
@@ -86204,7 +86204,7 @@ function KQ({ parentEncoding: t, encoding: e = {}, layer: r }) {
|
|
|
86204
86204
|
if (ft(u)) {
|
|
86205
86205
|
const l = Object.assign(Object.assign({}, a), u);
|
|
86206
86206
|
i[o] = l;
|
|
86207
|
-
} else dy(u) ? i[o] = Object.assign(Object.assign({}, u), { condition: Object.assign(Object.assign({}, a), u.condition) }) : u || u === null ? i[o] = u : (r ||
|
|
86207
|
+
} else dy(u) ? i[o] = Object.assign(Object.assign({}, u), { condition: Object.assign(Object.assign({}, a), u.condition) }) : u || u === null ? i[o] = u : (r || Xo(a) || Ze(a) || ft(a) || be(a)) && (i[o] = a);
|
|
86208
86208
|
}
|
|
86209
86209
|
} else
|
|
86210
86210
|
i = e;
|
|
@@ -86825,7 +86825,7 @@ class Uu extends Jt {
|
|
|
86825
86825
|
const e = [];
|
|
86826
86826
|
for (const r of Ei(this.formula)) {
|
|
86827
86827
|
const { field: i, as: s, timeUnit: o } = r, u = Ri(o), { unit: a, utc: l } = u, c = tz(u, ["unit", "utc"]);
|
|
86828
|
-
e.push(Object.assign(Object.assign(Object.assign(Object.assign({ field:
|
|
86828
|
+
e.push(Object.assign(Object.assign(Object.assign(Object.assign({ field: Ko(i), type: "timeunit" }, a ? { units: o9(a) } : {}), l ? { timezone: "utc" } : {}), c), { as: [s, `${s}_end`] }));
|
|
86829
86829
|
}
|
|
86830
86830
|
return e;
|
|
86831
86831
|
}
|
|
@@ -86909,7 +86909,7 @@ const yMe = {
|
|
|
86909
86909
|
name: i,
|
|
86910
86910
|
value: e.project.items.map((o) => {
|
|
86911
86911
|
const u = mMe(o, ["signals", "hasLegend"]);
|
|
86912
|
-
return u.field =
|
|
86912
|
+
return u.field = Ko(u.field), u;
|
|
86913
86913
|
})
|
|
86914
86914
|
});
|
|
86915
86915
|
}
|
|
@@ -86936,10 +86936,10 @@ const yMe = {
|
|
|
86936
86936
|
const s = r.filter((u) => u.name === e.name)[0];
|
|
86937
86937
|
let o = s.update;
|
|
86938
86938
|
if (o.indexOf(vue) >= 0)
|
|
86939
|
-
s.update = `{${i.map((u) => `${$e(
|
|
86939
|
+
s.update = `{${i.map((u) => `${$e(Ko(u.field))}: ${u.signals.data}`).join(", ")}}`;
|
|
86940
86940
|
else {
|
|
86941
86941
|
for (const u of i) {
|
|
86942
|
-
const a = `${$e(
|
|
86942
|
+
const a = `${$e(Ko(u.field))}: ${u.signals.data}`;
|
|
86943
86943
|
o.includes(a) || (o = `${o.substring(0, o.length - 1)}, ${a}}`);
|
|
86944
86944
|
}
|
|
86945
86945
|
s.update = o;
|
|
@@ -87132,7 +87132,7 @@ function rB(t, e = "text") {
|
|
|
87132
87132
|
}
|
|
87133
87133
|
function Jb(t, e, r = "datum") {
|
|
87134
87134
|
if (t) {
|
|
87135
|
-
if (
|
|
87135
|
+
if (Xo(t))
|
|
87136
87136
|
return cn(t.value);
|
|
87137
87137
|
if (ft(t)) {
|
|
87138
87138
|
const { format: i, formatType: s } = PC(t);
|
|
@@ -87271,7 +87271,7 @@ function fue(t, e = { filled: void 0 }) {
|
|
|
87271
87271
|
}
|
|
87272
87272
|
function TMe(t) {
|
|
87273
87273
|
const { encoding: e, mark: r } = t, i = e.order;
|
|
87274
|
-
return !vc(r) &&
|
|
87274
|
+
return !vc(r) && Xo(i) ? zp(t, i, "zindex", (s) => cn(s.value)) : {};
|
|
87275
87275
|
}
|
|
87276
87276
|
function Kg({ channel: t, markDef: e, encoding: r = {}, model: i, bandPosition: s }) {
|
|
87277
87277
|
const o = `${t}Offset`, u = e[o], a = r[o];
|
|
@@ -87899,7 +87899,7 @@ const rx = "_store", K0 = "_tuple", HMe = "_modify", vue = "vlSelectionResolve",
|
|
|
87899
87899
|
];
|
|
87900
87900
|
function QMe(t) {
|
|
87901
87901
|
let e = t.parent;
|
|
87902
|
-
for (; e && !
|
|
87902
|
+
for (; e && !Ho(e); )
|
|
87903
87903
|
e = e.parent;
|
|
87904
87904
|
return e;
|
|
87905
87905
|
}
|
|
@@ -87921,10 +87921,10 @@ function Cue(t, e) {
|
|
|
87921
87921
|
(ze(e.select) || !e.select.on) && delete t.events, (ze(e.select) || !e.select.clear) && delete t.clear, (ze(e.select) || !e.select.toggle) && delete t.toggle;
|
|
87922
87922
|
}
|
|
87923
87923
|
const zMe = "RawCode", GMe = "Literal", WMe = "Property", VMe = "Identifier", YMe = "ArrayExpression", KMe = "BinaryExpression", JMe = "CallExpression", XMe = "ConditionalExpression", ZMe = "LogicalExpression", eje = "MemberExpression", tje = "ObjectExpression", nje = "UnaryExpression";
|
|
87924
|
-
function
|
|
87924
|
+
function cu(t) {
|
|
87925
87925
|
this.type = t;
|
|
87926
87926
|
}
|
|
87927
|
-
|
|
87927
|
+
cu.prototype.visit = function(t) {
|
|
87928
87928
|
let e, r, i;
|
|
87929
87929
|
if (t(this)) return 1;
|
|
87930
87930
|
for (e = rje(this), r = 0, i = e.length; r < i; ++r)
|
|
@@ -88361,43 +88361,43 @@ function Oue() {
|
|
|
88361
88361
|
Wt = Due(), Ce = t;
|
|
88362
88362
|
}
|
|
88363
88363
|
function Bje(t) {
|
|
88364
|
-
const e = new
|
|
88364
|
+
const e = new cu(sje);
|
|
88365
88365
|
return e.elements = t, e;
|
|
88366
88366
|
}
|
|
88367
88367
|
function lz(t, e, r) {
|
|
88368
|
-
const i = new
|
|
88368
|
+
const i = new cu(t === "||" || t === "&&" ? cje : oje);
|
|
88369
88369
|
return i.operator = t, i.left = e, i.right = r, i;
|
|
88370
88370
|
}
|
|
88371
88371
|
function kje(t, e) {
|
|
88372
|
-
const r = new
|
|
88372
|
+
const r = new cu(uje);
|
|
88373
88373
|
return r.callee = t, r.arguments = e, r;
|
|
88374
88374
|
}
|
|
88375
88375
|
function Pje(t, e, r) {
|
|
88376
|
-
const i = new
|
|
88376
|
+
const i = new cu(aje);
|
|
88377
88377
|
return i.test = t, i.consequent = e, i.alternate = r, i;
|
|
88378
88378
|
}
|
|
88379
88379
|
function aB(t) {
|
|
88380
|
-
const e = new
|
|
88380
|
+
const e = new cu(Sue);
|
|
88381
88381
|
return e.name = t, e;
|
|
88382
88382
|
}
|
|
88383
88383
|
function qm(t) {
|
|
88384
|
-
const e = new
|
|
88384
|
+
const e = new cu(lje);
|
|
88385
88385
|
return e.value = t.value, e.raw = Ke.slice(t.start, t.end), t.regex && (e.raw === "//" && (e.raw = "/(?:)/"), e.regex = t.regex), e;
|
|
88386
88386
|
}
|
|
88387
88387
|
function cz(t, e, r) {
|
|
88388
|
-
const i = new
|
|
88388
|
+
const i = new cu(fje);
|
|
88389
88389
|
return i.computed = t === "[", i.object = e, i.property = r, i.computed || (r.member = !0), i;
|
|
88390
88390
|
}
|
|
88391
88391
|
function Mje(t) {
|
|
88392
|
-
const e = new
|
|
88392
|
+
const e = new cu(xje);
|
|
88393
88393
|
return e.properties = t, e;
|
|
88394
88394
|
}
|
|
88395
88395
|
function fz(t, e, r) {
|
|
88396
|
-
const i = new
|
|
88396
|
+
const i = new cu(dje);
|
|
88397
88397
|
return i.key = e, i.value = r, i.kind = t, i;
|
|
88398
88398
|
}
|
|
88399
88399
|
function jje(t, e) {
|
|
88400
|
-
const r = new
|
|
88400
|
+
const r = new cu(hje);
|
|
88401
88401
|
return r.operator = t, r.argument = e, r.prefix = !0, r;
|
|
88402
88402
|
}
|
|
88403
88403
|
function Bt(t, e) {
|
|
@@ -88693,7 +88693,7 @@ function Lue(t, e, r) {
|
|
|
88693
88693
|
const a = u.project.items.filter((l) => l.channel === s);
|
|
88694
88694
|
!a.length || a.length > 1 ? (o = u.project.items[0].field, De((a.length ? "Multiple " : "No ") + `matching ${$e(s)} encoding found for selection ${$e(r.param)}. Using "field": ${$e(o)}.`)) : o = a[0].field;
|
|
88695
88695
|
}
|
|
88696
|
-
return `${u.name}[${$e(
|
|
88696
|
+
return `${u.name}[${$e(Ko(o))}]`;
|
|
88697
88697
|
}
|
|
88698
88698
|
function tUe(t, e) {
|
|
88699
88699
|
var r;
|
|
@@ -89171,7 +89171,7 @@ function yUe(t, e, r, i, s) {
|
|
|
89171
89171
|
const { labelOrient: x } = i4(["labelOrient"], u.header, a, e);
|
|
89172
89172
|
(e === "row" && !Nt(["top", "bottom"], x) || e === "column" && !Nt(["left", "right"], x)) && (o = G8(u, e, a));
|
|
89173
89173
|
}
|
|
89174
|
-
const l =
|
|
89174
|
+
const l = Ho(t) && !xy(t.facet), c = s.axes, f = (c == null ? void 0 : c.length) > 0;
|
|
89175
89175
|
if (o || f) {
|
|
89176
89176
|
const x = e === "row" ? "height" : "width";
|
|
89177
89177
|
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ name: t.getName(`${e}_${r}`), type: "group", role: `${e}-${r}` }, i.facetFieldDef ? {
|
|
@@ -89243,7 +89243,7 @@ function jA(t, e) {
|
|
|
89243
89243
|
const u = o.get("type"), a = o.get("range");
|
|
89244
89244
|
if (pr(u) && pc(a)) {
|
|
89245
89245
|
const l = t.scaleName(r);
|
|
89246
|
-
return
|
|
89246
|
+
return Ho(t.parent) && t.parent.component.resolve.scale[r] === "independent" ? [gz(l, a)] : [
|
|
89247
89247
|
gz(l, a),
|
|
89248
89248
|
{
|
|
89249
89249
|
name: s,
|
|
@@ -89290,7 +89290,7 @@ function Hue(t, e) {
|
|
|
89290
89290
|
}, {});
|
|
89291
89291
|
}
|
|
89292
89292
|
function Que(t, e) {
|
|
89293
|
-
if (
|
|
89293
|
+
if (Ho(e))
|
|
89294
89294
|
return t === "theta" ? "independent" : "shared";
|
|
89295
89295
|
if (Yp(e))
|
|
89296
89296
|
return "shared";
|
|
@@ -89393,7 +89393,7 @@ function W8(t) {
|
|
|
89393
89393
|
function Wue(t, e) {
|
|
89394
89394
|
if (xke(t))
|
|
89395
89395
|
return je(t.condition).reduce(e, t.value);
|
|
89396
|
-
if (
|
|
89396
|
+
if (Xo(t))
|
|
89397
89397
|
return t.value;
|
|
89398
89398
|
}
|
|
89399
89399
|
function Vue(t, e, r) {
|
|
@@ -89428,7 +89428,7 @@ const Ez = {
|
|
|
89428
89428
|
},
|
|
89429
89429
|
title: ({ fieldOrDatumDef: t, config: e }) => uh(t, e, { allowDisabling: !0 }),
|
|
89430
89430
|
type: ({ legendType: t, scaleType: e, channel: r }) => {
|
|
89431
|
-
if (nh(r) &&
|
|
89431
|
+
if (nh(r) && Mo(e)) {
|
|
89432
89432
|
if (t === "gradient")
|
|
89433
89433
|
return;
|
|
89434
89434
|
} else if (t === "symbol")
|
|
@@ -89479,7 +89479,7 @@ function FUe({ channel: t, timeUnit: e, scaleType: r }) {
|
|
|
89479
89479
|
if (nh(t)) {
|
|
89480
89480
|
if (Nt(["quarter", "month", "day"], e))
|
|
89481
89481
|
return "symbol";
|
|
89482
|
-
if (
|
|
89482
|
+
if (Mo(r))
|
|
89483
89483
|
return "gradient";
|
|
89484
89484
|
}
|
|
89485
89485
|
return "symbol";
|
|
@@ -89504,7 +89504,7 @@ function LUe(t, e) {
|
|
|
89504
89504
|
}
|
|
89505
89505
|
function IUe({ legendConfig: t, model: e, direction: r, orient: i, scaleType: s }) {
|
|
89506
89506
|
const { gradientHorizontalMaxLength: o, gradientHorizontalMinLength: u, gradientVerticalMaxLength: a, gradientVerticalMinLength: l } = t;
|
|
89507
|
-
if (
|
|
89507
|
+
if (Mo(s))
|
|
89508
89508
|
return r === "horizontal" ? i === "top" || i === "bottom" ? Az(e, "width", u, o) : u : Az(e, "height", l, a);
|
|
89509
89509
|
}
|
|
89510
89510
|
function Az(t, e, r, i) {
|
|
@@ -89757,7 +89757,7 @@ function YUe(t) {
|
|
|
89757
89757
|
const e = [], { encoding: r } = t;
|
|
89758
89758
|
for (const i of [
|
|
89759
89759
|
[ua, oa],
|
|
89760
|
-
[oo,
|
|
89760
|
+
[oo, ou]
|
|
89761
89761
|
])
|
|
89762
89762
|
(Wn(r[i[0]]) || Wn(r[i[1]])) && e.push({
|
|
89763
89763
|
signal: t.getName(`geojson_${e.length}`)
|
|
@@ -89900,10 +89900,10 @@ class qu extends Jt {
|
|
|
89900
89900
|
}
|
|
89901
89901
|
assemble() {
|
|
89902
89902
|
return Ei(this.bins).flatMap((e) => {
|
|
89903
|
-
const r = [], [i, ...s] = e.as, o = e.bin, { extent: u } = o, a = XUe(o, ["extent"]), l = Object.assign(Object.assign(Object.assign({ type: "bin", field:
|
|
89903
|
+
const r = [], [i, ...s] = e.as, o = e.bin, { extent: u } = o, a = XUe(o, ["extent"]), l = Object.assign(Object.assign(Object.assign({ type: "bin", field: Ko(e.field), as: i, signal: e.signal }, N5(u) ? { extent: null } : { extent: u }), e.span ? { span: { signal: `span(${e.span})` } } : {}), a);
|
|
89904
89904
|
!u && e.extentSignal && (r.push({
|
|
89905
89905
|
type: "extent",
|
|
89906
|
-
field:
|
|
89906
|
+
field: Ko(e.field),
|
|
89907
89907
|
signal: e.extentSignal
|
|
89908
89908
|
}), l.extent = { signal: e.extentSignal }), r.push(l);
|
|
89909
89909
|
for (const c of s)
|
|
@@ -89941,7 +89941,7 @@ function rqe(t, e) {
|
|
|
89941
89941
|
i in t ? t[i][o] = /* @__PURE__ */ new Set([...(r = t[i][o]) !== null && r !== void 0 ? r : [], ...s[o]]) : t[i] = { [o]: s[o] };
|
|
89942
89942
|
}
|
|
89943
89943
|
}
|
|
89944
|
-
class
|
|
89944
|
+
class qo extends Jt {
|
|
89945
89945
|
/**
|
|
89946
89946
|
* @param dimensions string set for dimensions
|
|
89947
89947
|
* @param measures dictionary mapping field name => dict of aggregation functions and names to use
|
|
@@ -89950,7 +89950,7 @@ class Uo extends Jt {
|
|
|
89950
89950
|
super(e), this.dimensions = r, this.measures = i;
|
|
89951
89951
|
}
|
|
89952
89952
|
clone() {
|
|
89953
|
-
return new
|
|
89953
|
+
return new qo(null, new Set(this.dimensions), ht(this.measures));
|
|
89954
89954
|
}
|
|
89955
89955
|
get groupBy() {
|
|
89956
89956
|
return this.dimensions;
|
|
@@ -89977,7 +89977,7 @@ class Uo extends Jt {
|
|
|
89977
89977
|
}
|
|
89978
89978
|
else
|
|
89979
89979
|
nqe(o, a, u, r);
|
|
89980
|
-
}), o.size + Oe(s).length === 0) ? null : new
|
|
89980
|
+
}), o.size + Oe(s).length === 0) ? null : new qo(e, o, s);
|
|
89981
89981
|
}
|
|
89982
89982
|
static makeFromTransform(e, r) {
|
|
89983
89983
|
var i, s, o;
|
|
@@ -89988,7 +89988,7 @@ class Uo extends Jt {
|
|
|
89988
89988
|
}
|
|
89989
89989
|
for (const l of (o = r.groupby) !== null && o !== void 0 ? o : [])
|
|
89990
89990
|
u.add(l);
|
|
89991
|
-
return u.size + Oe(a).length === 0 ? null : new
|
|
89991
|
+
return u.size + Oe(a).length === 0 ? null : new qo(e, u, a);
|
|
89992
89992
|
}
|
|
89993
89993
|
merge(e) {
|
|
89994
89994
|
return kge(this.dimensions, e.dimensions) ? (rqe(this.measures, e.measures), !0) : (Dye("different dimensions, cannot merge"), !1);
|
|
@@ -90016,10 +90016,10 @@ class Uo extends Jt {
|
|
|
90016
90016
|
for (const o of Oe(this.measures))
|
|
90017
90017
|
for (const u of Oe(this.measures[o]))
|
|
90018
90018
|
for (const a of this.measures[o][u])
|
|
90019
|
-
i.push(a), e.push(u), r.push(o === "*" ? null :
|
|
90019
|
+
i.push(a), e.push(u), r.push(o === "*" ? null : Ko(o));
|
|
90020
90020
|
return {
|
|
90021
90021
|
type: "aggregate",
|
|
90022
|
-
groupby: [...this.dimensions].map(
|
|
90022
|
+
groupby: [...this.dimensions].map(Ko),
|
|
90023
90023
|
ops: e,
|
|
90024
90024
|
fields: r,
|
|
90025
90025
|
as: i
|
|
@@ -90204,7 +90204,7 @@ function oqe(t) {
|
|
|
90204
90204
|
function r(i) {
|
|
90205
90205
|
Hh(i) ? e[i.field] = "date" : i.type === "quantitative" && x3e(i.aggregate) ? e[i.field] = "number" : Sg(i.field) > 1 ? i.field in e || (e[i.field] = "flatten") : qx(i) && ju(i.sort) && Sg(i.sort.field) > 1 && (i.sort.field in e || (e[i.sort.field] = "flatten"));
|
|
90206
90206
|
}
|
|
90207
|
-
if ((qn(t) ||
|
|
90207
|
+
if ((qn(t) || Ho(t)) && t.forEachFieldDef((i, s) => {
|
|
90208
90208
|
if (fo(i))
|
|
90209
90209
|
r(i);
|
|
90210
90210
|
else {
|
|
@@ -90490,7 +90490,7 @@ class cqe extends gB {
|
|
|
90490
90490
|
super(), this.requiresSelectionId = e && oB(e);
|
|
90491
90491
|
}
|
|
90492
90492
|
run(e) {
|
|
90493
|
-
e instanceof J0 && (this.requiresSelectionId && (pB(e.parent) || e.parent instanceof
|
|
90493
|
+
e instanceof J0 && (this.requiresSelectionId && (pB(e.parent) || e.parent instanceof qo || e.parent instanceof Vr) || (this.setModified(), e.remove()));
|
|
90494
90494
|
}
|
|
90495
90495
|
}
|
|
90496
90496
|
class fqe extends mB {
|
|
@@ -90566,7 +90566,7 @@ class mqe extends Qx {
|
|
|
90566
90566
|
}
|
|
90567
90567
|
class gqe extends Qx {
|
|
90568
90568
|
run(e) {
|
|
90569
|
-
const r = e.children.filter((s) => s instanceof
|
|
90569
|
+
const r = e.children.filter((s) => s instanceof qo), i = {};
|
|
90570
90570
|
for (const s of r) {
|
|
90571
90571
|
const o = Ft(s.groupBy);
|
|
90572
90572
|
o in i || (i[o] = []), i[o].push(s);
|
|
@@ -90840,7 +90840,7 @@ function vqe(t) {
|
|
|
90840
90840
|
if (i instanceof Ci) {
|
|
90841
90841
|
const s = Y8 + i.getSource();
|
|
90842
90842
|
i.setSource(s), t.model.component.data.outputNodes[s] = i;
|
|
90843
|
-
} else (i instanceof
|
|
90843
|
+
} else (i instanceof qo || i instanceof fl || i instanceof Vp || i instanceof zx) && i.addDimensions(t.fields);
|
|
90844
90844
|
for (const s of r.children.flatMap(e))
|
|
90845
90845
|
s.parent = i;
|
|
90846
90846
|
return [i];
|
|
@@ -90853,7 +90853,7 @@ function V8(t) {
|
|
|
90853
90853
|
if (t instanceof Wp)
|
|
90854
90854
|
if (t.numChildren() === 1 && !(t.children[0] instanceof Ci)) {
|
|
90855
90855
|
const e = t.children[0];
|
|
90856
|
-
(e instanceof
|
|
90856
|
+
(e instanceof qo || e instanceof fl || e instanceof Vp || e instanceof zx) && e.addDimensions(t.fields), e.swapWithParent(), V8(t);
|
|
90857
90857
|
} else {
|
|
90858
90858
|
const e = t.model.component.data.main;
|
|
90859
90859
|
nae(e);
|
|
@@ -90929,7 +90929,7 @@ function bqe(t) {
|
|
|
90929
90929
|
const i = Dqe(t, r);
|
|
90930
90930
|
if (e[r].setWithExplicit("domains", i), wqe(t, r), t.component.data.isFaceted) {
|
|
90931
90931
|
let o = t;
|
|
90932
|
-
for (; !
|
|
90932
|
+
for (; !Ho(o) && o.parent; )
|
|
90933
90933
|
o = o.parent;
|
|
90934
90934
|
if (o.component.resolve.scale[r] === "shared")
|
|
90935
90935
|
for (const a of i.value)
|
|
@@ -91092,7 +91092,7 @@ function s6(t, e) {
|
|
|
91092
91092
|
return Object.assign(Object.assign({
|
|
91093
91093
|
// Apply default op
|
|
91094
91094
|
op: r ?? (e ? "sum" : jb)
|
|
91095
|
-
}, i ? { field:
|
|
91095
|
+
}, i ? { field: Ko(i) } : {}), s ? { order: s } : {});
|
|
91096
91096
|
}
|
|
91097
91097
|
function wqe(t, e) {
|
|
91098
91098
|
var r;
|
|
@@ -91366,7 +91366,7 @@ function Mqe(t, e) {
|
|
|
91366
91366
|
const h = e.component.scales[t].get("zero"), p = lae(s, h, i), m = Hqe(s, r, e, i);
|
|
91367
91367
|
return qh(c) ? qqe(p, m, Uqe(c, i, f, t)) : [p, m];
|
|
91368
91368
|
}
|
|
91369
|
-
case
|
|
91369
|
+
case su:
|
|
91370
91370
|
return [0, Math.PI * 2];
|
|
91371
91371
|
case Ox:
|
|
91372
91372
|
return [0, 360];
|
|
@@ -91610,7 +91610,7 @@ function Wqe(t, e, r, i, s, o) {
|
|
|
91610
91610
|
}
|
|
91611
91611
|
function Vqe(t, e, r, i, s, o) {
|
|
91612
91612
|
if (Dr(t)) {
|
|
91613
|
-
if (
|
|
91613
|
+
if (Mo(e)) {
|
|
91614
91614
|
if (r.continuousPadding !== void 0)
|
|
91615
91615
|
return r.continuousPadding;
|
|
91616
91616
|
const { type: u, orient: a } = s;
|
|
@@ -91787,7 +91787,7 @@ class u6 {
|
|
|
91787
91787
|
function qn(t) {
|
|
91788
91788
|
return (t == null ? void 0 : t.type) === "unit";
|
|
91789
91789
|
}
|
|
91790
|
-
function
|
|
91790
|
+
function Ho(t) {
|
|
91791
91791
|
return (t == null ? void 0 : t.type) === "facet";
|
|
91792
91792
|
}
|
|
91793
91793
|
function EB(t) {
|
|
@@ -91900,7 +91900,7 @@ let AB = class {
|
|
|
91900
91900
|
e = e.concat(this.assembleSignals()), e.length > 0 && (r.signals = e);
|
|
91901
91901
|
const i = this.assembleLayout();
|
|
91902
91902
|
i && (r.layout = i), r.marks = [].concat(this.assembleHeaderMarks(), this.assembleMarks());
|
|
91903
|
-
const s = !this.parent ||
|
|
91903
|
+
const s = !this.parent || Ho(this.parent) ? iae(this) : [];
|
|
91904
91904
|
s.length > 0 && (r.scales = s);
|
|
91905
91905
|
const o = this.assembleAxes();
|
|
91906
91906
|
o.length > 0 && (r.axes = o);
|
|
@@ -91923,7 +91923,7 @@ let AB = class {
|
|
|
91923
91923
|
return i[r] = (i[r] || 0) + 1, r;
|
|
91924
91924
|
}
|
|
91925
91925
|
getSizeSignalRef(e) {
|
|
91926
|
-
if (
|
|
91926
|
+
if (Ho(this.parent)) {
|
|
91927
91927
|
const r = que(e), i = w5(r), s = this.component.scales[i];
|
|
91928
91928
|
if (s && !s.merged) {
|
|
91929
91929
|
const o = s.get("type"), u = s.get("range");
|
|
@@ -92178,11 +92178,11 @@ class lh extends Jt {
|
|
|
92178
92178
|
let i = 0;
|
|
92179
92179
|
for (const s of [
|
|
92180
92180
|
[ua, oa],
|
|
92181
|
-
[oo,
|
|
92181
|
+
[oo, ou]
|
|
92182
92182
|
]) {
|
|
92183
92183
|
const o = s.map((u) => {
|
|
92184
92184
|
const a = Wn(r.encoding[u]);
|
|
92185
|
-
return Be(a) ? a.field : ya(a) ? { expr: `${a.datum}` } :
|
|
92185
|
+
return Be(a) ? a.field : ya(a) ? { expr: `${a.datum}` } : Xo(a) ? { expr: `${a.value}` } : void 0;
|
|
92186
92186
|
});
|
|
92187
92187
|
(o[0] || o[1]) && (e = new lh(e, o, null, r.getName(`geojson_${i++}`)));
|
|
92188
92188
|
}
|
|
@@ -92227,11 +92227,11 @@ class e3 extends Jt {
|
|
|
92227
92227
|
return e;
|
|
92228
92228
|
for (const i of [
|
|
92229
92229
|
[ua, oa],
|
|
92230
|
-
[oo,
|
|
92230
|
+
[oo, ou]
|
|
92231
92231
|
]) {
|
|
92232
92232
|
const s = i.map((u) => {
|
|
92233
92233
|
const a = Wn(r.encoding[u]);
|
|
92234
|
-
return Be(a) ? a.field : ya(a) ? { expr: `${a.datum}` } :
|
|
92234
|
+
return Be(a) ? a.field : ya(a) ? { expr: `${a.datum}` } : Xo(a) ? { expr: `${a.value}` } : void 0;
|
|
92235
92235
|
}), o = i[0] === oo ? "2" : "";
|
|
92236
92236
|
(s[0] || s[1]) && (e = new e3(e, r.projectionName(), s, [
|
|
92237
92237
|
r.getName(`x${o}`),
|
|
@@ -92516,7 +92516,7 @@ function pae(t) {
|
|
|
92516
92516
|
s.name || (s.name = `data_${e++}`), !s.source || s.transform.length > 0 ? (t.push(s), i.data = s.name) : i.data = s.source, t.push(...i.assemble());
|
|
92517
92517
|
return;
|
|
92518
92518
|
}
|
|
92519
|
-
switch ((i instanceof Ay || i instanceof _y || i instanceof Zg || i instanceof Gp || i instanceof Wh || i instanceof e3 || i instanceof
|
|
92519
|
+
switch ((i instanceof Ay || i instanceof _y || i instanceof Zg || i instanceof Gp || i instanceof Wh || i instanceof e3 || i instanceof qo || i instanceof t3 || i instanceof Vp || i instanceof zx || i instanceof a4 || i instanceof u4 || i instanceof o4 || i instanceof l4 || i instanceof c4 || i instanceof f4 || i instanceof J0 || i instanceof d4 || i instanceof x4) && s.transform.push(i.assemble()), (i instanceof qu || i instanceof Uu || i instanceof kf || i instanceof fl || i instanceof lh) && s.transform.push(...i.assemble()), i instanceof Ci && (s.source && s.transform.length === 0 ? i.setSource(s.source) : i.parent instanceof Ci ? i.setSource(s.name) : (s.name || (s.name = `data_${e++}`), i.setSource(s.name), i.numChildren() === 1 && (t.push(s), s = {
|
|
92520
92520
|
name: null,
|
|
92521
92521
|
source: s.name,
|
|
92522
92522
|
transform: []
|
|
@@ -92972,7 +92972,7 @@ function AHe(t, e, r) {
|
|
|
92972
92972
|
else if (WPe(u))
|
|
92973
92973
|
a = "date", r.getWithExplicit(u.field).value === void 0 && (t = new Vr(t, { [u.field]: a }), r.set(u.field, a, !1)), l = t = Uu.makeFromTransform(t, u);
|
|
92974
92974
|
else if (VPe(u))
|
|
92975
|
-
l = t =
|
|
92975
|
+
l = t = qo.makeFromTransform(t, u), a = "number", oB(e) && (t = new J0(t));
|
|
92976
92976
|
else if (Xoe(u))
|
|
92977
92977
|
l = t = t3.make(t, e, u, o++), a = "derived";
|
|
92978
92978
|
else if (qPe(u))
|
|
@@ -93015,19 +93015,19 @@ function h4(t) {
|
|
|
93015
93015
|
const { outputNodes: h, outputNodeRefCounts: p } = t.component.data, m = t.data, y = !(m && (w0(m) || Qh(m) || Yg(m))) && t.parent ? t.parent.component.data.ancestorParse.clone() : new aMe();
|
|
93016
93016
|
w0(m) ? (sue(m) ? x = new _y(x, m.sequence) : tB(m) && (x = new Ay(x, m.graticule)), y.parseNothing = !0) : ((e = m == null ? void 0 : m.format) === null || e === void 0 ? void 0 : e.parse) === null && (y.parseNothing = !0), x = (r = Vr.makeExplicit(x, t, y)) !== null && r !== void 0 ? r : x, x = new J0(x);
|
|
93017
93017
|
const A = t.parent && Yp(t.parent);
|
|
93018
|
-
(qn(t) ||
|
|
93018
|
+
(qn(t) || Ho(t)) && A && (x = (i = qu.makeFromEncoding(x, t)) !== null && i !== void 0 ? i : x), t.transforms.length > 0 && (x = AHe(x, t, y));
|
|
93019
93019
|
const E = uqe(t), _ = oqe(t);
|
|
93020
|
-
x = (s = Vr.makeWithAncestors(x, {}, Object.assign(Object.assign({}, E), _), y)) !== null && s !== void 0 ? s : x, qn(t) && (x = lh.parseAll(x, t), x = e3.parseAll(x, t)), (qn(t) ||
|
|
93020
|
+
x = (s = Vr.makeWithAncestors(x, {}, Object.assign(Object.assign({}, E), _), y)) !== null && s !== void 0 ? s : x, qn(t) && (x = lh.parseAll(x, t), x = e3.parseAll(x, t)), (qn(t) || Ho(t)) && (A || (x = (o = qu.makeFromEncoding(x, t)) !== null && o !== void 0 ? o : x), x = (u = Uu.makeFromEncoding(x, t)) !== null && u !== void 0 ? u : x, x = Wh.parseAllForSortIndex(x, t));
|
|
93021
93021
|
const v = t.getDataName(on.Raw), C = new Ci(x, v, on.Raw, p);
|
|
93022
93022
|
if (h[v] = C, x = C, qn(t)) {
|
|
93023
|
-
const O =
|
|
93023
|
+
const O = qo.makeFromEncoding(x, t);
|
|
93024
93024
|
O && (x = O, oB(t) && (x = new J0(x))), x = (a = kf.makeFromEncoding(x, t)) !== null && a !== void 0 ? a : x, x = (l = fl.makeFromEncoding(x, t)) !== null && l !== void 0 ? l : x;
|
|
93025
93025
|
}
|
|
93026
93026
|
qn(t) && (x = (c = Zg.make(x, t)) !== null && c !== void 0 ? c : x);
|
|
93027
93027
|
const b = t.getDataName(on.Main), S = new Ci(x, b, on.Main, p);
|
|
93028
93028
|
h[b] = S, x = S, qn(t) && tUe(t, S);
|
|
93029
93029
|
let R = null;
|
|
93030
|
-
if (
|
|
93030
|
+
if (Ho(t)) {
|
|
93031
93031
|
const O = t.getName("facet");
|
|
93032
93032
|
x = (f = yHe(x, t.facet)) !== null && f !== void 0 ? f : x, R = new Wp(x, t, O, S.getSource()), h[O] = R;
|
|
93033
93033
|
}
|
|
@@ -93712,7 +93712,7 @@ function sQe(t) {
|
|
|
93712
93712
|
function oQe(t) {
|
|
93713
93713
|
var e;
|
|
93714
93714
|
const { encoding: r, stack: i, mark: s, markDef: o, config: u } = t, a = r.order;
|
|
93715
|
-
if (!(!be(a) &&
|
|
93715
|
+
if (!(!be(a) && Xo(a) && Nj(a.value) || !a && Nj(Qt("order", o, u)))) {
|
|
93716
93716
|
if ((be(a) || Be(a)) && !i)
|
|
93717
93717
|
return cX(a, { expr: "datum" });
|
|
93718
93718
|
if (vc(s)) {
|
|
@@ -95749,7 +95749,7 @@ f5.renderFactories = [
|
|
|
95749
95749
|
j7.instance
|
|
95750
95750
|
];
|
|
95751
95751
|
let _F = f5;
|
|
95752
|
-
var
|
|
95752
|
+
var Zo = {}, p4 = {}, OB = {}, Kp = {}, _e = {};
|
|
95753
95753
|
/*!
|
|
95754
95754
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
95755
95755
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -95908,7 +95908,7 @@ Cy([
|
|
|
95908
95908
|
Sy(0, Sl.NotNull)
|
|
95909
95909
|
], Jp.prototype, "shouldVisitNextChild", null);
|
|
95910
95910
|
Kp.AbstractParseTreeVisitor = Jp;
|
|
95911
|
-
var bc = {},
|
|
95911
|
+
var bc = {}, fu = {}, yr = {};
|
|
95912
95912
|
/*!
|
|
95913
95913
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
95914
95914
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -96050,10 +96050,10 @@ var Aa = T && T.__decorate || function(t, e, r, i) {
|
|
|
96050
96050
|
else for (var a = t.length - 1; a >= 0; a--) (u = t[a]) && (o = (s < 3 ? u(o) : s > 3 ? u(e, r, o) : u(e, r)) || o);
|
|
96051
96051
|
return s > 3 && o && Object.defineProperty(e, r, o), o;
|
|
96052
96052
|
};
|
|
96053
|
-
Object.defineProperty(
|
|
96054
|
-
|
|
96053
|
+
Object.defineProperty(fu, "__esModule", { value: !0 });
|
|
96054
|
+
fu.TerminalNode = void 0;
|
|
96055
96055
|
const jQe = yr, _a = _e, UQe = rn;
|
|
96056
|
-
class
|
|
96056
|
+
class xu {
|
|
96057
96057
|
constructor(e) {
|
|
96058
96058
|
this._symbol = e;
|
|
96059
96059
|
}
|
|
@@ -96094,35 +96094,35 @@ class fu {
|
|
|
96094
96094
|
}
|
|
96095
96095
|
Aa([
|
|
96096
96096
|
_a.Override
|
|
96097
|
-
],
|
|
96097
|
+
], xu.prototype, "getChild", null);
|
|
96098
96098
|
Aa([
|
|
96099
96099
|
_a.Override
|
|
96100
|
-
],
|
|
96100
|
+
], xu.prototype, "parent", null);
|
|
96101
96101
|
Aa([
|
|
96102
96102
|
_a.Override
|
|
96103
|
-
],
|
|
96103
|
+
], xu.prototype, "setParent", null);
|
|
96104
96104
|
Aa([
|
|
96105
96105
|
_a.Override
|
|
96106
|
-
],
|
|
96106
|
+
], xu.prototype, "payload", null);
|
|
96107
96107
|
Aa([
|
|
96108
96108
|
_a.Override
|
|
96109
|
-
],
|
|
96109
|
+
], xu.prototype, "sourceInterval", null);
|
|
96110
96110
|
Aa([
|
|
96111
96111
|
_a.Override
|
|
96112
|
-
],
|
|
96112
|
+
], xu.prototype, "childCount", null);
|
|
96113
96113
|
Aa([
|
|
96114
96114
|
_a.Override
|
|
96115
|
-
],
|
|
96115
|
+
], xu.prototype, "accept", null);
|
|
96116
96116
|
Aa([
|
|
96117
96117
|
_a.Override
|
|
96118
|
-
],
|
|
96118
|
+
], xu.prototype, "text", null);
|
|
96119
96119
|
Aa([
|
|
96120
96120
|
_a.Override
|
|
96121
|
-
],
|
|
96121
|
+
], xu.prototype, "toStringTree", null);
|
|
96122
96122
|
Aa([
|
|
96123
96123
|
_a.Override
|
|
96124
|
-
],
|
|
96125
|
-
|
|
96124
|
+
], xu.prototype, "toString", null);
|
|
96125
|
+
fu.TerminalNode = xu;
|
|
96126
96126
|
/*!
|
|
96127
96127
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
96128
96128
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -96135,7 +96135,7 @@ var qQe = T && T.__decorate || function(t, e, r, i) {
|
|
|
96135
96135
|
};
|
|
96136
96136
|
Object.defineProperty(bc, "__esModule", { value: !0 });
|
|
96137
96137
|
bc.ErrorNode = void 0;
|
|
96138
|
-
const HQe = _e, QQe =
|
|
96138
|
+
const HQe = _e, QQe = fu;
|
|
96139
96139
|
let Sae = class extends QQe.TerminalNode {
|
|
96140
96140
|
constructor(e) {
|
|
96141
96141
|
super(e);
|
|
@@ -96205,7 +96205,7 @@ Rc.RuleNode = GQe;
|
|
|
96205
96205
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
96206
96206
|
*/
|
|
96207
96207
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ParseTreeWalker = void 0;
|
|
96208
|
-
const e = bc, r =
|
|
96208
|
+
const e = bc, r = fu, i = Rc;
|
|
96209
96209
|
class s {
|
|
96210
96210
|
/**
|
|
96211
96211
|
* Performs a walk on the given parse tree starting at the root and going down recursively
|
|
@@ -96271,7 +96271,7 @@ var Oae = {};
|
|
|
96271
96271
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
96272
96272
|
*/
|
|
96273
96273
|
Object.defineProperty(Oae, "__esModule", { value: !0 });
|
|
96274
|
-
var x1 = {}, a6 = {}, ql = {},
|
|
96274
|
+
var x1 = {}, a6 = {}, ql = {}, du = {}, l6 = { exports: {} }, c6 = {}, X0 = {}, wae = {}, NB = function() {
|
|
96275
96275
|
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
96276
96276
|
return !1;
|
|
96277
96277
|
if (typeof Symbol.iterator == "symbol")
|
|
@@ -99025,8 +99025,8 @@ var ei = T && T.__decorate || function(t, e, r, i) {
|
|
|
99025
99025
|
e(r, i, t);
|
|
99026
99026
|
};
|
|
99027
99027
|
};
|
|
99028
|
-
Object.defineProperty(
|
|
99029
|
-
|
|
99028
|
+
Object.defineProperty(du, "__esModule", { value: !0 });
|
|
99029
|
+
du.Array2DHashSet = void 0;
|
|
99030
99030
|
const PGe = wi(), MGe = v4, ti = _e, O6 = Fn, QA = 16, w6 = 0.75;
|
|
99031
99031
|
class Mn {
|
|
99032
99032
|
constructor(e, r = QA) {
|
|
@@ -99256,14 +99256,14 @@ ei([
|
|
|
99256
99256
|
ei([
|
|
99257
99257
|
ti.SuppressWarnings("unchecked")
|
|
99258
99258
|
], Mn.prototype, "createBuckets", null);
|
|
99259
|
-
|
|
99259
|
+
du.Array2DHashSet = Mn;
|
|
99260
99260
|
/*!
|
|
99261
99261
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
99262
99262
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
99263
99263
|
*/
|
|
99264
99264
|
Object.defineProperty(ql, "__esModule", { value: !0 });
|
|
99265
99265
|
ql.Array2DHashMap = void 0;
|
|
99266
|
-
const gG =
|
|
99266
|
+
const gG = du;
|
|
99267
99267
|
class jGe {
|
|
99268
99268
|
constructor(e) {
|
|
99269
99269
|
this.keyComparator = e;
|
|
@@ -99532,7 +99532,7 @@ function jB() {
|
|
|
99532
99532
|
return h > 3 && p && Object.defineProperty(c, f, p), p;
|
|
99533
99533
|
};
|
|
99534
99534
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.PredictionContextCache = void 0;
|
|
99535
|
-
const r = ql, i = _e, s = Ns, o =
|
|
99535
|
+
const r = ql, i = _e, s = Ns, o = hu(), u = wi();
|
|
99536
99536
|
class a {
|
|
99537
99537
|
constructor(c = !0) {
|
|
99538
99538
|
this.contexts = new r.Array2DHashMap(s.ObjectEqualityComparator.INSTANCE), this.childContexts = new r.Array2DHashMap(s.ObjectEqualityComparator.INSTANCE), this.joinContexts = new r.Array2DHashMap(s.ObjectEqualityComparator.INSTANCE), this.enableCache = c;
|
|
@@ -99610,7 +99610,7 @@ function jB() {
|
|
|
99610
99610
|
}(N6)), N6;
|
|
99611
99611
|
}
|
|
99612
99612
|
var EG;
|
|
99613
|
-
function
|
|
99613
|
+
function hu() {
|
|
99614
99614
|
return EG || (EG = 1, function(t) {
|
|
99615
99615
|
/*!
|
|
99616
99616
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -99627,7 +99627,7 @@ function du() {
|
|
|
99627
99627
|
};
|
|
99628
99628
|
};
|
|
99629
99629
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SingletonPredictionContext = t.PredictionContext = void 0;
|
|
99630
|
-
const i = ql, s =
|
|
99630
|
+
const i = ql, s = du, o = C4, u = Fn, a = _e, l = jB(), c = wi(), f = 1;
|
|
99631
99631
|
class x {
|
|
99632
99632
|
constructor(y) {
|
|
99633
99633
|
this.cachedHashCode = y;
|
|
@@ -100118,7 +100118,7 @@ vn.toCharArray = YGe;
|
|
|
100118
100118
|
};
|
|
100119
100119
|
};
|
|
100120
100120
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SemanticContext = void 0;
|
|
100121
|
-
const i =
|
|
100121
|
+
const i = du, s = Gx, o = Fn, u = _e, a = Ns, l = vn;
|
|
100122
100122
|
function c(h) {
|
|
100123
100123
|
let p;
|
|
100124
100124
|
for (let m of h) {
|
|
@@ -100418,7 +100418,7 @@ var Qn = T && T.__decorate || function(t, e, r, i) {
|
|
|
100418
100418
|
};
|
|
100419
100419
|
Object.defineProperty(Wx, "__esModule", { value: !0 });
|
|
100420
100420
|
Wx.ATNConfig = void 0;
|
|
100421
|
-
const KGe = ql, JGe = va, Ua = Fn, nn = _e, XGe = Ns, AG =
|
|
100421
|
+
const KGe = ql, JGe = va, Ua = Fn, nn = _e, XGe = Ns, AG = hu(), lf = Vx, _G = wi(), L6 = 2147483648;
|
|
100422
100422
|
let Fi = class zm {
|
|
100423
100423
|
constructor(e, r, i) {
|
|
100424
100424
|
typeof r == "number" ? (_G((r & 16777215) === r), this._state = e, this.altAndOuterContextDepth = r, this._context = i) : (this._state = e, this.altAndOuterContextDepth = r.altAndOuterContextDepth, this._context = i);
|
|
@@ -100696,13 +100696,13 @@ Xh = Qn([
|
|
|
100696
100696
|
Os(1, nn.NotNull),
|
|
100697
100697
|
Os(2, nn.NotNull)
|
|
100698
100698
|
], Xh);
|
|
100699
|
-
var
|
|
100699
|
+
var pu = {};
|
|
100700
100700
|
/*!
|
|
100701
100701
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
100702
100702
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
100703
100703
|
*/
|
|
100704
|
-
Object.defineProperty(
|
|
100705
|
-
|
|
100704
|
+
Object.defineProperty(pu, "__esModule", { value: !0 });
|
|
100705
|
+
pu.BitSet = void 0;
|
|
100706
100706
|
const ZGe = X0, eWe = Fn, p1 = new Uint16Array(0);
|
|
100707
100707
|
function fs(t) {
|
|
100708
100708
|
return t >>> 4;
|
|
@@ -101119,7 +101119,7 @@ class Jd {
|
|
|
101119
101119
|
return "BitSet " + this.toString();
|
|
101120
101120
|
}
|
|
101121
101121
|
}
|
|
101122
|
-
|
|
101122
|
+
pu.BitSet = Jd;
|
|
101123
101123
|
class tWe {
|
|
101124
101124
|
constructor(e) {
|
|
101125
101125
|
this.data = e, this.index = 0, this.mask = 65535;
|
|
@@ -101154,7 +101154,7 @@ function Ry() {
|
|
|
101154
101154
|
return C > 3 && b && Object.defineProperty(E, _, b), b;
|
|
101155
101155
|
};
|
|
101156
101156
|
Object.defineProperty(h1, "__esModule", { value: !0 }), h1.ATNConfigSet = void 0;
|
|
101157
|
-
const e = ql, r =
|
|
101157
|
+
const e = ql, r = du, i = Gx, s = gu(), o = Wx, u = pu, a = _e, l = Ns, c = hu(), f = jB(), x = Vx, h = wi(), p = vn;
|
|
101158
101158
|
class m {
|
|
101159
101159
|
hashCode(E) {
|
|
101160
101160
|
return E.state ^ E.alt;
|
|
@@ -101377,7 +101377,7 @@ function S4() {
|
|
|
101377
101377
|
};
|
|
101378
101378
|
};
|
|
101379
101379
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.DFAState = void 0;
|
|
101380
|
-
const i =
|
|
101380
|
+
const i = gu(), s = pu, o = Fn, u = _e, a = hu(), l = wi();
|
|
101381
101381
|
class c {
|
|
101382
101382
|
/**
|
|
101383
101383
|
* Constructs a new `DFAState`.
|
|
@@ -101521,7 +101521,7 @@ function b4() {
|
|
|
101521
101521
|
};
|
|
101522
101522
|
};
|
|
101523
101523
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ATNSimulator = void 0;
|
|
101524
|
-
const i = Ry(), s = S4(), o = _e, u =
|
|
101524
|
+
const i = Ry(), s = S4(), o = _e, u = hu();
|
|
101525
101525
|
let a = class Gm {
|
|
101526
101526
|
constructor(c) {
|
|
101527
101527
|
this.atn = c;
|
|
@@ -101819,7 +101819,7 @@ var Oc = T && T.__decorate || function(t, e, r, i) {
|
|
|
101819
101819
|
Object.defineProperty(Ls, "__esModule", { value: !0 });
|
|
101820
101820
|
Ls.VocabularyImpl = void 0;
|
|
101821
101821
|
const bl = _e, oWe = rn;
|
|
101822
|
-
class
|
|
101822
|
+
class eu {
|
|
101823
101823
|
/**
|
|
101824
101824
|
* Constructs a new instance of {@link VocabularyImpl} from the specified
|
|
101825
101825
|
* literal, symbolic, and display token names.
|
|
@@ -101866,33 +101866,33 @@ class Zo {
|
|
|
101866
101866
|
return i || String(e);
|
|
101867
101867
|
}
|
|
101868
101868
|
}
|
|
101869
|
-
|
|
101869
|
+
eu.EMPTY_VOCABULARY = new eu([], [], []);
|
|
101870
101870
|
Oc([
|
|
101871
101871
|
bl.NotNull
|
|
101872
|
-
],
|
|
101872
|
+
], eu.prototype, "literalNames", void 0);
|
|
101873
101873
|
Oc([
|
|
101874
101874
|
bl.NotNull
|
|
101875
|
-
],
|
|
101875
|
+
], eu.prototype, "symbolicNames", void 0);
|
|
101876
101876
|
Oc([
|
|
101877
101877
|
bl.NotNull
|
|
101878
|
-
],
|
|
101878
|
+
], eu.prototype, "displayNames", void 0);
|
|
101879
101879
|
Oc([
|
|
101880
101880
|
bl.Override
|
|
101881
|
-
],
|
|
101881
|
+
], eu.prototype, "maxTokenType", null);
|
|
101882
101882
|
Oc([
|
|
101883
101883
|
bl.Override
|
|
101884
|
-
],
|
|
101884
|
+
], eu.prototype, "getLiteralName", null);
|
|
101885
101885
|
Oc([
|
|
101886
101886
|
bl.Override
|
|
101887
|
-
],
|
|
101887
|
+
], eu.prototype, "getSymbolicName", null);
|
|
101888
101888
|
Oc([
|
|
101889
101889
|
bl.Override,
|
|
101890
101890
|
bl.NotNull
|
|
101891
|
-
],
|
|
101891
|
+
], eu.prototype, "getDisplayName", null);
|
|
101892
101892
|
Oc([
|
|
101893
101893
|
bl.NotNull
|
|
101894
|
-
],
|
|
101895
|
-
Ls.VocabularyImpl =
|
|
101894
|
+
], eu, "EMPTY_VOCABULARY", void 0);
|
|
101895
|
+
Ls.VocabularyImpl = eu;
|
|
101896
101896
|
var DG;
|
|
101897
101897
|
function ule() {
|
|
101898
101898
|
if (DG) return m1;
|
|
@@ -101908,7 +101908,7 @@ function ule() {
|
|
|
101908
101908
|
return x > 3 && h && Object.defineProperty(l, c, h), h;
|
|
101909
101909
|
};
|
|
101910
101910
|
Object.defineProperty(m1, "__esModule", { value: !0 }), m1.DFASerializer = void 0;
|
|
101911
|
-
const e = b4(), r = _e, i =
|
|
101911
|
+
const e = b4(), r = _e, i = hu(), s = Dc, o = Ls;
|
|
101912
101912
|
let u = class {
|
|
101913
101913
|
constructor(l, c, f, x) {
|
|
101914
101914
|
c instanceof s.Recognizer ? (f = c.ruleNames, x = c.atn, c = c.vocabulary) : c || (c = o.VocabularyImpl.EMPTY_VOCABULARY), this.dfa = l, this.vocabulary = c, this.ruleNames = f, this.atn = x;
|
|
@@ -102037,7 +102037,7 @@ var aWe = T && T.__decorate || function(t, e, r, i) {
|
|
|
102037
102037
|
};
|
|
102038
102038
|
Object.defineProperty(Zp, "__esModule", { value: !0 });
|
|
102039
102039
|
Zp.StarLoopEntryState = void 0;
|
|
102040
|
-
const lWe = Er, cWe =
|
|
102040
|
+
const lWe = Er, cWe = pu, fWe = va, xWe = _e;
|
|
102041
102041
|
class ale extends fWe.DecisionState {
|
|
102042
102042
|
constructor() {
|
|
102043
102043
|
super(...arguments), this.precedenceRuleDecision = !1, this.precedenceLoopbackStates = new cWe.BitSet();
|
|
@@ -102069,7 +102069,7 @@ function lle() {
|
|
|
102069
102069
|
};
|
|
102070
102070
|
};
|
|
102071
102071
|
Object.defineProperty(d1, "__esModule", { value: !0 }), d1.DFA = void 0;
|
|
102072
|
-
const r =
|
|
102072
|
+
const r = du, i = Ry(), s = ule(), o = S4(), u = uWe(), a = _e, l = Ns, c = Zp, f = Ls;
|
|
102073
102073
|
let x = class {
|
|
102074
102074
|
constructor(p, m = 0) {
|
|
102075
102075
|
if (this.states = new r.Array2DHashSet(l.ObjectEqualityComparator.INSTANCE), this.nextStateNumber = 0, !p.atn)
|
|
@@ -103086,7 +103086,7 @@ function Fy() {
|
|
|
103086
103086
|
};
|
|
103087
103087
|
};
|
|
103088
103088
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.LexerATNSimulator = void 0;
|
|
103089
|
-
const i = wy, s =
|
|
103089
|
+
const i = wy, s = gu(), o = Wx, u = Ry(), a = b4(), l = S4(), c = yr, f = Ul, x = Hl(), h = w4, p = Xx, m = _e, g = TWe(), y = hu(), A = Fc, E = rn, _ = wi();
|
|
103090
103090
|
let v = class ds extends a.ATNSimulator {
|
|
103091
103091
|
constructor(b, S) {
|
|
103092
103092
|
super(b), this.optimize_tail_calls = !0, this.startIndex = -1, this._line = 1, this._charPositionInLine = 0, this.mode = x.Lexer.DEFAULT_MODE, this.prevAccept = new ds.SimState(), this.recog = S;
|
|
@@ -104085,7 +104085,7 @@ LWe([
|
|
|
104085
104085
|
BWe.Override
|
|
104086
104086
|
], mle.prototype, "stateType", null);
|
|
104087
104087
|
Ny.InvalidState = mle;
|
|
104088
|
-
var _1 = {}, t2 = {},
|
|
104088
|
+
var _1 = {}, t2 = {}, mu = {};
|
|
104089
104089
|
/*!
|
|
104090
104090
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
104091
104091
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -104100,8 +104100,8 @@ var gle = T && T.__decorate || function(t, e, r, i) {
|
|
|
104100
104100
|
e(r, i, t);
|
|
104101
104101
|
};
|
|
104102
104102
|
};
|
|
104103
|
-
Object.defineProperty(
|
|
104104
|
-
|
|
104103
|
+
Object.defineProperty(mu, "__esModule", { value: !0 });
|
|
104104
|
+
mu.Transition = void 0;
|
|
104105
104105
|
const yle = _e;
|
|
104106
104106
|
let o3 = class {
|
|
104107
104107
|
constructor(e) {
|
|
@@ -104143,14 +104143,14 @@ gle([
|
|
|
104143
104143
|
o3 = gle([
|
|
104144
104144
|
kWe(0, yle.NotNull)
|
|
104145
104145
|
], o3);
|
|
104146
|
-
|
|
104146
|
+
mu.Transition = o3;
|
|
104147
104147
|
/*!
|
|
104148
104148
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
104149
104149
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
104150
104150
|
*/
|
|
104151
104151
|
Object.defineProperty(t2, "__esModule", { value: !0 });
|
|
104152
104152
|
t2.AbstractPredicateTransition = void 0;
|
|
104153
|
-
const PWe =
|
|
104153
|
+
const PWe = mu;
|
|
104154
104154
|
class MWe extends PWe.Transition {
|
|
104155
104155
|
constructor(e) {
|
|
104156
104156
|
super(e);
|
|
@@ -104176,7 +104176,7 @@ function zB() {
|
|
|
104176
104176
|
};
|
|
104177
104177
|
};
|
|
104178
104178
|
Object.defineProperty(C1, "__esModule", { value: !0 }), C1.SetTransition = void 0;
|
|
104179
|
-
const r = Zx(), i = _e, s = rn, o =
|
|
104179
|
+
const r = Zx(), i = _e, s = rn, o = mu;
|
|
104180
104180
|
let u = class extends o.Transition {
|
|
104181
104181
|
// TODO (sam): should we really allow undefined here?
|
|
104182
104182
|
constructor(l, c) {
|
|
@@ -104274,7 +104274,7 @@ var Iy = T && T.__decorate || function(t, e, r, i) {
|
|
|
104274
104274
|
};
|
|
104275
104275
|
Object.defineProperty(n2, "__esModule", { value: !0 });
|
|
104276
104276
|
n2.RuleTransition = void 0;
|
|
104277
|
-
const Zh = _e, jWe =
|
|
104277
|
+
const Zh = _e, jWe = mu;
|
|
104278
104278
|
let ax = class extends jWe.Transition {
|
|
104279
104279
|
constructor(e, r, i, s) {
|
|
104280
104280
|
super(e), this.tailCall = !1, this.optimizedTailCall = !1, this.ruleIndex = r, this.precedence = i, this.followState = s;
|
|
@@ -104323,7 +104323,7 @@ var N4 = T && T.__decorate || function(t, e, r, i) {
|
|
|
104323
104323
|
};
|
|
104324
104324
|
Object.defineProperty($y, "__esModule", { value: !0 });
|
|
104325
104325
|
$y.WildcardTransition = void 0;
|
|
104326
|
-
const u3 = _e, qWe =
|
|
104326
|
+
const u3 = _e, qWe = mu;
|
|
104327
104327
|
let ep = class extends qWe.Transition {
|
|
104328
104328
|
constructor(e) {
|
|
104329
104329
|
super(e);
|
|
@@ -104371,7 +104371,7 @@ function HWe() {
|
|
|
104371
104371
|
};
|
|
104372
104372
|
};
|
|
104373
104373
|
Object.defineProperty(_1, "__esModule", { value: !0 }), _1.LL1Analyzer = void 0;
|
|
104374
|
-
const r = t2, i =
|
|
104374
|
+
const r = t2, i = du, s = Wx, o = pu, u = Zx(), a = _e, l = GB(), c = Ns, f = hu(), x = Fc, h = n2, p = rn, m = $y;
|
|
104375
104375
|
let g = class NF {
|
|
104376
104376
|
constructor(A) {
|
|
104377
104377
|
this.atn = A;
|
|
@@ -104511,7 +104511,7 @@ function HWe() {
|
|
|
104511
104511
|
], g), _1.LL1Analyzer = g, _1;
|
|
104512
104512
|
}
|
|
104513
104513
|
var jG;
|
|
104514
|
-
function
|
|
104514
|
+
function gu() {
|
|
104515
104515
|
return jG || (jG = 1, function(t) {
|
|
104516
104516
|
/*!
|
|
104517
104517
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -104528,7 +104528,7 @@ function mu() {
|
|
|
104528
104528
|
};
|
|
104529
104529
|
};
|
|
104530
104530
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ATN = void 0;
|
|
104531
|
-
const i = ql, s = lle(), o = Zx(), u = Ny, a = HWe(), l = _e, c = Ns, f =
|
|
104531
|
+
const i = ql, s = lle(), o = Zx(), u = Ny, a = HWe(), l = _e, c = Ns, f = hu(), x = rn, h = wi();
|
|
104532
104532
|
let p = class {
|
|
104533
104533
|
/** Used for runtime deserialization of ATNs from strings */
|
|
104534
104534
|
constructor(g, y) {
|
|
@@ -104726,7 +104726,7 @@ var Py = T && T.__decorate || function(t, e, r, i) {
|
|
|
104726
104726
|
};
|
|
104727
104727
|
Object.defineProperty(ky, "__esModule", { value: !0 });
|
|
104728
104728
|
ky.ActionTransition = void 0;
|
|
104729
|
-
const My = _e, WWe =
|
|
104729
|
+
const My = _e, WWe = mu;
|
|
104730
104730
|
let lx = class extends WWe.Transition {
|
|
104731
104731
|
constructor(e, r, i = -1, s = !1) {
|
|
104732
104732
|
super(e), this.ruleIndex = r, this.actionIndex = i, this.isCtxDependent = s;
|
|
@@ -104777,7 +104777,7 @@ var Uy = T && T.__decorate || function(t, e, r, i) {
|
|
|
104777
104777
|
};
|
|
104778
104778
|
Object.defineProperty(jy, "__esModule", { value: !0 });
|
|
104779
104779
|
jy.AtomTransition = void 0;
|
|
104780
|
-
const YWe = Zx(), cx = _e, KWe =
|
|
104780
|
+
const YWe = Zx(), cx = _e, KWe = mu;
|
|
104781
104781
|
let fx = class extends KWe.Transition {
|
|
104782
104782
|
constructor(e, r) {
|
|
104783
104783
|
super(e), this._label = r;
|
|
@@ -104886,7 +104886,7 @@ var qy = T && T.__decorate || function(t, e, r, i) {
|
|
|
104886
104886
|
};
|
|
104887
104887
|
Object.defineProperty($4, "__esModule", { value: !0 });
|
|
104888
104888
|
$4.EpsilonTransition = void 0;
|
|
104889
|
-
const tp = _e, aVe =
|
|
104889
|
+
const tp = _e, aVe = mu;
|
|
104890
104890
|
let xx = class extends aVe.Transition {
|
|
104891
104891
|
constructor(e, r = -1) {
|
|
104892
104892
|
super(e), this._outermostPrecedenceReturn = r;
|
|
@@ -105731,7 +105731,7 @@ function Dle() {
|
|
|
105731
105731
|
return p > 3 && m && Object.defineProperty(f, x, m), m;
|
|
105732
105732
|
};
|
|
105733
105733
|
Object.defineProperty(w1, "__esModule", { value: !0 }), w1.RuleContext = void 0;
|
|
105734
|
-
const e =
|
|
105734
|
+
const e = gu(), r = Dc, i = Rc, s = yr, o = _e, u = Ic(), a = mo();
|
|
105735
105735
|
let l = class Rle extends i.RuleNode {
|
|
105736
105736
|
constructor(f, x) {
|
|
105737
105737
|
super(), this._parent = f, this.invokingState = x ?? -1;
|
|
@@ -105873,7 +105873,7 @@ function mo() {
|
|
|
105873
105873
|
return x > 3 && h && Object.defineProperty(l, c, h), h;
|
|
105874
105874
|
};
|
|
105875
105875
|
Object.defineProperty(O1, "__esModule", { value: !0 }), O1.ParserRuleContext = void 0;
|
|
105876
|
-
const e = bc, r = yr, i = _e, s = Dle(), o =
|
|
105876
|
+
const e = bc, r = yr, i = _e, s = Dle(), o = fu;
|
|
105877
105877
|
let u = class LF extends s.RuleContext {
|
|
105878
105878
|
constructor(l, c) {
|
|
105879
105879
|
c == null ? super() : super(l, c);
|
|
@@ -106157,7 +106157,7 @@ function u2() {
|
|
|
106157
106157
|
};
|
|
106158
106158
|
};
|
|
106159
106159
|
Object.defineProperty(R1, "__esModule", { value: !0 }), R1.ParserATNSimulator = void 0;
|
|
106160
|
-
const r = wy, i = ky, s =
|
|
106160
|
+
const r = wy, i = ky, s = du, o = C4, u = gu(), a = Wx, l = Ry(), c = b4(), f = Er, x = jy, h = pu, p = U4, m = va, g = S4(), y = e2, A = yr, E = Ul, _ = _e, v = GB(), C = Gy(), b = Ns, S = mo(), R = hu(), O = jB(), $ = Ole, D = Fc, k = n2, j = Vx, V = zB(), G = wle(), K = rn, ce = Ls, xe = wi(), ee = 65535, te = -(1 << 31 >>> 0);
|
|
106161
106161
|
let le = class dt extends c.ATNSimulator {
|
|
106162
106162
|
constructor(I, N) {
|
|
106163
106163
|
super(I), this.predictionMode = $.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 = N;
|
|
@@ -107429,7 +107429,7 @@ var Jy = T && T.__decorate || function(t, e, r, i) {
|
|
|
107429
107429
|
};
|
|
107430
107430
|
Object.defineProperty(z4, "__esModule", { value: !0 });
|
|
107431
107431
|
z4.RangeTransition = void 0;
|
|
107432
|
-
const IVe = Zx(), Ex = _e, $Ve =
|
|
107432
|
+
const IVe = Zx(), Ex = _e, $Ve = mu;
|
|
107433
107433
|
let Ax = class extends $Ve.Transition {
|
|
107434
107434
|
constructor(e, r, i) {
|
|
107435
107435
|
super(e), this.from = r, this.to = i;
|
|
@@ -107611,7 +107611,7 @@ function a2() {
|
|
|
107611
107611
|
};
|
|
107612
107612
|
};
|
|
107613
107613
|
Object.defineProperty(b1, "__esModule", { value: !0 }), b1.ATNDeserializer = void 0;
|
|
107614
|
-
const r = ky, i =
|
|
107614
|
+
const r = ky, i = du, s = gu(), o = By, u = Er, a = jy, l = L4, c = Ly, f = pu, x = I4, h = ed, p = va, m = lle(), g = $4, y = Zx(), A = Ny, E = B4, _ = k4, v = P4, C = _le, b = vle, S = M4, R = Cle, O = j4, $ = Qy, D = _e, k = GB(), j = u2(), V = q4, G = H4, K = Q4, ce = Yy, xe = z4, ee = G4, te = Fc, le = n2, Ae = zB(), I = W4, N = V4, L = Zp, q = rn, Y = Y4, Q = K4, w = $y;
|
|
107615
107615
|
var P;
|
|
107616
107616
|
(function(W) {
|
|
107617
107617
|
W[W.UNICODE_BMP = 0] = "UNICODE_BMP", W[W.UNICODE_SMP = 1] = "UNICODE_SMP";
|
|
@@ -108318,7 +108318,7 @@ function WB() {
|
|
|
108318
108318
|
};
|
|
108319
108319
|
};
|
|
108320
108320
|
Object.defineProperty(N1, "__esModule", { value: !0 }), N1.DefaultErrorStrategy = void 0;
|
|
108321
|
-
const r = Ca, i = Er, s = Lc, o = td, u = Zx(), a = Gy(), l =
|
|
108321
|
+
const r = Ca, i = Er, s = Lc, o = td, u = Zx(), a = Gy(), l = hu(), c = rn, f = _e;
|
|
108322
108322
|
let x = class {
|
|
108323
108323
|
constructor() {
|
|
108324
108324
|
this.errorRecoveryMode = !1, this.lastErrorIndex = -1, this.nextTokensState = r.ATNState.INVALID_STATE_NUMBER;
|
|
@@ -110036,7 +110036,7 @@ function Hle() {
|
|
|
110036
110036
|
};
|
|
110037
110037
|
};
|
|
110038
110038
|
Object.defineProperty($1, "__esModule", { value: !0 }), $1.ParserInterpreter = void 0;
|
|
110039
|
-
const r = Ca, i = Er, s =
|
|
110039
|
+
const r = Ca, i = Er, s = pu, o = Lc, u = td, a = qle(), l = Qy, c = _e, f = _e, x = f2(), h = u2(), p = po, m = Zp, g = rn;
|
|
110040
110040
|
let y = class $F extends x.Parser {
|
|
110041
110041
|
constructor(E, _, v, C, b) {
|
|
110042
110042
|
if (super(E instanceof $F ? E.inputStream : b), this._parentContextStack = [], this.overrideDecision = -1, this.overrideDecisionInputIndex = -1, this.overrideDecisionAlt = -1, this.overrideDecisionReached = !1, this._overrideDecisionRoot = void 0, E instanceof $F) {
|
|
@@ -110713,7 +110713,7 @@ function SYe() {
|
|
|
110713
110713
|
return f > 3 && x && Object.defineProperty(a, l, x), x;
|
|
110714
110714
|
};
|
|
110715
110715
|
Object.defineProperty(G1, "__esModule", { value: !0 }), G1.XPathTokenElement = void 0;
|
|
110716
|
-
const e = _e, r =
|
|
110716
|
+
const e = _e, r = fu, i = Ic(), s = c2();
|
|
110717
110717
|
let o = class extends s.XPathElement {
|
|
110718
110718
|
constructor(a, l) {
|
|
110719
110719
|
super(a), this.tokenType = l;
|
|
@@ -111443,7 +111443,7 @@ function NYe() {
|
|
|
111443
111443
|
};
|
|
111444
111444
|
};
|
|
111445
111445
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ParseTreePatternMatcher = void 0;
|
|
111446
|
-
const i = jle(), s = Z4, o = l2, u = nE, a = gYe(), l = _e, c = Zy, f = Hle(), x = mo(), h = yYe(), p = RYe(), m = po, g = Rc, y = DYe(), A = OYe(), E =
|
|
111446
|
+
const i = jle(), s = Z4, o = l2, u = nE, a = gYe(), l = _e, c = Zy, f = Hle(), x = mo(), h = yYe(), p = RYe(), m = po, g = Rc, y = DYe(), A = OYe(), E = fu, _ = wYe(), v = rn, C = FYe();
|
|
111447
111447
|
class b {
|
|
111448
111448
|
/**
|
|
111449
111449
|
* Constructs a {@link ParseTreePatternMatcher} or from a {@link Lexer} and
|
|
@@ -112001,7 +112001,7 @@ function DW() {
|
|
|
112001
112001
|
};
|
|
112002
112002
|
};
|
|
112003
112003
|
Object.defineProperty(em, "__esModule", { value: !0 }), em.ProfilingATNSimulator = void 0;
|
|
112004
|
-
const r = LYe(), i =
|
|
112004
|
+
const r = LYe(), i = gu(), s = b4(), o = IYe(), u = $Ye(), a = BYe(), l = _e, c = kYe(), f = u2(), x = PYe(), h = Vx, p = wle();
|
|
112005
112005
|
let m = class extends f.ParserATNSimulator {
|
|
112006
112006
|
constructor(y) {
|
|
112007
112007
|
super(y.interpreter.atn, y), this._startIndex = 0, this._sllStopIndex = 0, this._llStopIndex = 0, this.currentDecision = 0, this.conflictingAltResolvedBySLL = 0, this.optimize_ll1 = !1, this.reportAmbiguities = !0, this.numDecisions = this.atn.decisionToState.length, this.decisions = [];
|
|
@@ -112157,7 +112157,7 @@ function f2() {
|
|
|
112157
112157
|
});
|
|
112158
112158
|
};
|
|
112159
112159
|
Object.defineProperty(S1, "__esModule", { value: !0 }), S1.Parser = void 0;
|
|
112160
|
-
const i = vn, s = By, o = a2(), u = WB(), a = bc, l = Oy, c = Hl(), f = _e, x = J4, h = u2(), p = Xy, m = Dc, g =
|
|
112160
|
+
const i = vn, s = By, o = a2(), u = WB(), a = bc, l = Oy, c = Hl(), f = _e, x = J4, h = u2(), p = Xy, m = Dc, g = fu, y = rn;
|
|
112161
112161
|
class A {
|
|
112162
112162
|
constructor(v, C) {
|
|
112163
112163
|
this.ruleNames = v, this.tokenStream = C;
|
|
@@ -112715,7 +112715,7 @@ function Ic() {
|
|
|
112715
112715
|
};
|
|
112716
112716
|
};
|
|
112717
112717
|
Object.defineProperty(x1, "__esModule", { value: !0 }), x1.Trees = void 0;
|
|
112718
|
-
const r =
|
|
112718
|
+
const r = gu(), i = wc, s = bc, o = _e, u = f2(), a = mo(), l = Rc, c = fu, f = rn, x = vn;
|
|
112719
112719
|
let h = class a0 {
|
|
112720
112720
|
static toStringTree(m, g) {
|
|
112721
112721
|
let y;
|
|
@@ -112880,7 +112880,7 @@ function Ic() {
|
|
|
112880
112880
|
}), r = T && T.__exportStar || function(i, s) {
|
|
112881
112881
|
for (var o in i) o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, i, o);
|
|
112882
112882
|
};
|
|
112883
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), r(Kp, t), r(bc, t), r(bae, t), r(Tae, t), r(m4, t), r(Rae, t), r(Tc, t), r(Rc, t), r(Dae, t), r(
|
|
112883
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), r(Kp, t), r(bc, t), r(bae, t), r(Tae, t), r(m4, t), r(Rae, t), r(Tc, t), r(Rc, t), r(Dae, t), r(fu, t), r(Oae, t), r(Ic(), t);
|
|
112884
112884
|
})(OB);
|
|
112885
112885
|
var nT = {}, MYe = T && T.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
112886
112886
|
i === void 0 && (i = r);
|
|
@@ -113096,7 +113096,7 @@ var Dt = {}, WYe = T && T.__createBinding || (Object.create ? function(t, e, r,
|
|
|
113096
113096
|
}();
|
|
113097
113097
|
Object.defineProperty(Dt, "__esModule", { value: !0 });
|
|
113098
113098
|
Dt.PropertiesContext = Dt.ArrayValueContext = Dt.ReferenceContext = Dt.ArrayElementContext = Dt.EqValueContext = Dt.PropNameContext = Dt.IdentifierContext = Dt.StringContext = Dt.TagEmptyContext = Dt.TagDefContext = Dt.TagUpdatePropertiesContext = Dt.TagReplacePropertiesContext = Dt.TagEqContext = Dt.TagSpecContext = Dt.TagLineContext = Dt.MalloyTagParser = void 0;
|
|
113099
|
-
const KYe =
|
|
113099
|
+
const KYe = gu(), JYe = a2(), XYe = Lc, G6 = Gy(), ZYe = f2(), Ra = mo(), eKe = u2(), Cu = po, FW = rn, tKe = Ls, nKe = YYe(vn);
|
|
113100
113100
|
class ge extends ZYe.Parser {
|
|
113101
113101
|
// @Override
|
|
113102
113102
|
// @NotNull
|
|
@@ -113135,7 +113135,7 @@ class ge extends ZYe.Parser {
|
|
|
113135
113135
|
this.state = 26, this.match(ge.EOF);
|
|
113136
113136
|
}
|
|
113137
113137
|
} catch (i) {
|
|
113138
|
-
if (i instanceof
|
|
113138
|
+
if (i instanceof Cu.RecognitionException)
|
|
113139
113139
|
e.exception = i, this._errHandler.reportError(this, i), this._errHandler.recover(this, i);
|
|
113140
113140
|
else
|
|
113141
113141
|
throw i;
|
|
@@ -113146,7 +113146,7 @@ class ge extends ZYe.Parser {
|
|
|
113146
113146
|
}
|
|
113147
113147
|
// @RuleVersion(0)
|
|
113148
113148
|
tagSpec() {
|
|
113149
|
-
let e = new
|
|
113149
|
+
let e = new tu(this._ctx, this.state);
|
|
113150
113150
|
this.enterRule(e, 2, ge.RULE_tagSpec);
|
|
113151
113151
|
let r;
|
|
113152
113152
|
try {
|
|
@@ -113168,7 +113168,7 @@ class ge extends ZYe.Parser {
|
|
|
113168
113168
|
break;
|
|
113169
113169
|
}
|
|
113170
113170
|
} catch (i) {
|
|
113171
|
-
if (i instanceof
|
|
113171
|
+
if (i instanceof Cu.RecognitionException)
|
|
113172
113172
|
e.exception = i, this._errHandler.reportError(this, i), this._errHandler.recover(this, i);
|
|
113173
113173
|
else
|
|
113174
113174
|
throw i;
|
|
@@ -113185,7 +113185,7 @@ class ge extends ZYe.Parser {
|
|
|
113185
113185
|
try {
|
|
113186
113186
|
this.enterOuterAlt(e, 1), this.state = 51, r = this._input.LA(1), !(r & -32) && 1 << r & (1 << ge.SQ_STRING | 1 << ge.DQ_STRING | 1 << ge.NUMERIC_LITERAL | 1 << ge.BARE_STRING) ? (this._input.LA(1) === FW.Token.EOF && (this.matchedEOF = !0), this._errHandler.reportMatch(this), this.consume()) : this._errHandler.recoverInline(this);
|
|
113187
113187
|
} catch (i) {
|
|
113188
|
-
if (i instanceof
|
|
113188
|
+
if (i instanceof Cu.RecognitionException)
|
|
113189
113189
|
e.exception = i, this._errHandler.reportError(this, i), this._errHandler.recover(this, i);
|
|
113190
113190
|
else
|
|
113191
113191
|
throw i;
|
|
@@ -113202,7 +113202,7 @@ class ge extends ZYe.Parser {
|
|
|
113202
113202
|
try {
|
|
113203
113203
|
this.enterOuterAlt(e, 1), this.state = 53, r = this._input.LA(1), r === ge.BQ_STRING || r === ge.BARE_STRING ? (this._input.LA(1) === FW.Token.EOF && (this.matchedEOF = !0), this._errHandler.reportMatch(this), this.consume()) : this._errHandler.recoverInline(this);
|
|
113204
113204
|
} catch (i) {
|
|
113205
|
-
if (i instanceof
|
|
113205
|
+
if (i instanceof Cu.RecognitionException)
|
|
113206
113206
|
e.exception = i, this._errHandler.reportError(this, i), this._errHandler.recover(this, i);
|
|
113207
113207
|
else
|
|
113208
113208
|
throw i;
|
|
@@ -113220,7 +113220,7 @@ class ge extends ZYe.Parser {
|
|
|
113220
113220
|
for (this.enterOuterAlt(e, 1), this.state = 55, this.identifier(), this.state = 60, this._errHandler.sync(this), r = this._input.LA(1); r === ge.DOT; )
|
|
113221
113221
|
this.state = 56, this.match(ge.DOT), this.state = 57, this.identifier(), this.state = 62, this._errHandler.sync(this), r = this._input.LA(1);
|
|
113222
113222
|
} catch (i) {
|
|
113223
|
-
if (i instanceof
|
|
113223
|
+
if (i instanceof Cu.RecognitionException)
|
|
113224
113224
|
e.exception = i, this._errHandler.reportError(this, i), this._errHandler.recover(this, i);
|
|
113225
113225
|
else
|
|
113226
113226
|
throw i;
|
|
@@ -113251,7 +113251,7 @@ class ge extends ZYe.Parser {
|
|
|
113251
113251
|
throw new G6.NoViableAltException(this);
|
|
113252
113252
|
}
|
|
113253
113253
|
} catch (r) {
|
|
113254
|
-
if (r instanceof
|
|
113254
|
+
if (r instanceof Cu.RecognitionException)
|
|
113255
113255
|
e.exception = r, this._errHandler.reportError(this, r), this._errHandler.recover(this, r);
|
|
113256
113256
|
else
|
|
113257
113257
|
throw r;
|
|
@@ -113286,7 +113286,7 @@ class ge extends ZYe.Parser {
|
|
|
113286
113286
|
throw new G6.NoViableAltException(this);
|
|
113287
113287
|
}
|
|
113288
113288
|
} catch (i) {
|
|
113289
|
-
if (i instanceof
|
|
113289
|
+
if (i instanceof Cu.RecognitionException)
|
|
113290
113290
|
e.exception = i, this._errHandler.reportError(this, i), this._errHandler.recover(this, i);
|
|
113291
113291
|
else
|
|
113292
113292
|
throw i;
|
|
@@ -113302,7 +113302,7 @@ class ge extends ZYe.Parser {
|
|
|
113302
113302
|
try {
|
|
113303
113303
|
this.enterOuterAlt(e, 1), this.state = 77, this.match(ge.RF_BEG), this.state = 78, this.propName(), this.state = 79, this.match(ge.RF_END);
|
|
113304
113304
|
} catch (r) {
|
|
113305
|
-
if (r instanceof
|
|
113305
|
+
if (r instanceof Cu.RecognitionException)
|
|
113306
113306
|
e.exception = r, this._errHandler.reportError(this, r), this._errHandler.recover(this, r);
|
|
113307
113307
|
else
|
|
113308
113308
|
throw r;
|
|
@@ -113325,7 +113325,7 @@ class ge extends ZYe.Parser {
|
|
|
113325
113325
|
this.state = 91, this._errHandler.sync(this), r = this._input.LA(1), r === ge.COMMA && (this.state = 90, this.match(ge.COMMA)), this.state = 93, this.match(ge.AR_END);
|
|
113326
113326
|
}
|
|
113327
113327
|
} catch (i) {
|
|
113328
|
-
if (i instanceof
|
|
113328
|
+
if (i instanceof Cu.RecognitionException)
|
|
113329
113329
|
e.exception = i, this._errHandler.reportError(this, i), this._errHandler.recover(this, i);
|
|
113330
113330
|
else
|
|
113331
113331
|
throw i;
|
|
@@ -113360,7 +113360,7 @@ class ge extends ZYe.Parser {
|
|
|
113360
113360
|
this.state = 105, this.match(ge.PR_END);
|
|
113361
113361
|
}
|
|
113362
113362
|
} catch (i) {
|
|
113363
|
-
if (i instanceof
|
|
113363
|
+
if (i instanceof Cu.RecognitionException)
|
|
113364
113364
|
e.exception = i, this._errHandler.reportError(this, i), this._errHandler.recover(this, i);
|
|
113365
113365
|
else
|
|
113366
113366
|
throw i;
|
|
@@ -113500,7 +113500,7 @@ class Gle extends Ra.ParserRuleContext {
|
|
|
113500
113500
|
return this.getToken(ge.EOF, 0);
|
|
113501
113501
|
}
|
|
113502
113502
|
tagSpec(e) {
|
|
113503
|
-
return e === void 0 ? this.getRuleContexts(
|
|
113503
|
+
return e === void 0 ? this.getRuleContexts(tu) : this.getRuleContext(e, tu);
|
|
113504
113504
|
}
|
|
113505
113505
|
constructor(e, r) {
|
|
113506
113506
|
super(e, r);
|
|
@@ -113515,7 +113515,7 @@ class Gle extends Ra.ParserRuleContext {
|
|
|
113515
113515
|
}
|
|
113516
113516
|
}
|
|
113517
113517
|
Dt.TagLineContext = Gle;
|
|
113518
|
-
class
|
|
113518
|
+
class tu extends Ra.ParserRuleContext {
|
|
113519
113519
|
constructor(e, r) {
|
|
113520
113520
|
super(e, r);
|
|
113521
113521
|
}
|
|
@@ -113527,8 +113527,8 @@ class eu extends Ra.ParserRuleContext {
|
|
|
113527
113527
|
super.copyFrom(e);
|
|
113528
113528
|
}
|
|
113529
113529
|
}
|
|
113530
|
-
Dt.TagSpecContext =
|
|
113531
|
-
class Wle extends
|
|
113530
|
+
Dt.TagSpecContext = tu;
|
|
113531
|
+
class Wle extends tu {
|
|
113532
113532
|
propName() {
|
|
113533
113533
|
return this.getRuleContext(0, rd);
|
|
113534
113534
|
}
|
|
@@ -113550,7 +113550,7 @@ class Wle extends eu {
|
|
|
113550
113550
|
}
|
|
113551
113551
|
}
|
|
113552
113552
|
Dt.TagEqContext = Wle;
|
|
113553
|
-
class Vle extends
|
|
113553
|
+
class Vle extends tu {
|
|
113554
113554
|
propName() {
|
|
113555
113555
|
return this.getRuleContext(0, rd);
|
|
113556
113556
|
}
|
|
@@ -113572,7 +113572,7 @@ class Vle extends eu {
|
|
|
113572
113572
|
}
|
|
113573
113573
|
}
|
|
113574
113574
|
Dt.TagReplacePropertiesContext = Vle;
|
|
113575
|
-
class Yle extends
|
|
113575
|
+
class Yle extends tu {
|
|
113576
113576
|
propName() {
|
|
113577
113577
|
return this.getRuleContext(0, rd);
|
|
113578
113578
|
}
|
|
@@ -113588,7 +113588,7 @@ class Yle extends eu {
|
|
|
113588
113588
|
}
|
|
113589
113589
|
}
|
|
113590
113590
|
Dt.TagUpdatePropertiesContext = Yle;
|
|
113591
|
-
class Kle extends
|
|
113591
|
+
class Kle extends tu {
|
|
113592
113592
|
propName() {
|
|
113593
113593
|
return this.getRuleContext(0, rd);
|
|
113594
113594
|
}
|
|
@@ -113604,7 +113604,7 @@ class Kle extends eu {
|
|
|
113604
113604
|
}
|
|
113605
113605
|
}
|
|
113606
113606
|
Dt.TagDefContext = Kle;
|
|
113607
|
-
class Jle extends
|
|
113607
|
+
class Jle extends tu {
|
|
113608
113608
|
MINUS_DOTTY() {
|
|
113609
113609
|
return this.getToken(ge.MINUS_DOTTY, 0);
|
|
113610
113610
|
}
|
|
@@ -113792,7 +113792,7 @@ class x2 extends Ra.ParserRuleContext {
|
|
|
113792
113792
|
return this.tryGetToken(ge.DOTTY, 0);
|
|
113793
113793
|
}
|
|
113794
113794
|
tagSpec(e) {
|
|
113795
|
-
return e === void 0 ? this.getRuleContexts(
|
|
113795
|
+
return e === void 0 ? this.getRuleContexts(tu) : this.getRuleContext(e, tu);
|
|
113796
113796
|
}
|
|
113797
113797
|
constructor(e, r) {
|
|
113798
113798
|
super(e, r);
|
|
@@ -113833,7 +113833,7 @@ var Da = T && T.__decorate || function(t, e, r, i) {
|
|
|
113833
113833
|
Object.defineProperty(oT, "__esModule", { value: !0 });
|
|
113834
113834
|
oT.ANTLRInputStream = void 0;
|
|
113835
113835
|
const rKe = wi(), Oa = _e, JA = Ul;
|
|
113836
|
-
class
|
|
113836
|
+
class yu {
|
|
113837
113837
|
/** Copy data in string to a local char array */
|
|
113838
113838
|
constructor(e) {
|
|
113839
113839
|
this.p = 0, this.data = e, this.n = e.length;
|
|
@@ -113898,35 +113898,35 @@ class gu {
|
|
|
113898
113898
|
}
|
|
113899
113899
|
Da([
|
|
113900
113900
|
Oa.Override
|
|
113901
|
-
],
|
|
113901
|
+
], yu.prototype, "consume", null);
|
|
113902
113902
|
Da([
|
|
113903
113903
|
Oa.Override
|
|
113904
|
-
],
|
|
113904
|
+
], yu.prototype, "LA", null);
|
|
113905
113905
|
Da([
|
|
113906
113906
|
Oa.Override
|
|
113907
|
-
],
|
|
113907
|
+
], yu.prototype, "index", null);
|
|
113908
113908
|
Da([
|
|
113909
113909
|
Oa.Override
|
|
113910
|
-
],
|
|
113910
|
+
], yu.prototype, "size", null);
|
|
113911
113911
|
Da([
|
|
113912
113912
|
Oa.Override
|
|
113913
|
-
],
|
|
113913
|
+
], yu.prototype, "mark", null);
|
|
113914
113914
|
Da([
|
|
113915
113915
|
Oa.Override
|
|
113916
|
-
],
|
|
113916
|
+
], yu.prototype, "release", null);
|
|
113917
113917
|
Da([
|
|
113918
113918
|
Oa.Override
|
|
113919
|
-
],
|
|
113919
|
+
], yu.prototype, "seek", null);
|
|
113920
113920
|
Da([
|
|
113921
113921
|
Oa.Override
|
|
113922
|
-
],
|
|
113922
|
+
], yu.prototype, "getText", null);
|
|
113923
113923
|
Da([
|
|
113924
113924
|
Oa.Override
|
|
113925
|
-
],
|
|
113925
|
+
], yu.prototype, "sourceName", null);
|
|
113926
113926
|
Da([
|
|
113927
113927
|
Oa.Override
|
|
113928
|
-
],
|
|
113929
|
-
oT.ANTLRInputStream =
|
|
113928
|
+
], yu.prototype, "toString", null);
|
|
113929
|
+
oT.ANTLRInputStream = yu;
|
|
113930
113930
|
var e0e = {};
|
|
113931
113931
|
/*!
|
|
113932
113932
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -113960,7 +113960,7 @@ var h2 = T && T.__decorate || function(t, e, r, i) {
|
|
|
113960
113960
|
};
|
|
113961
113961
|
Object.defineProperty(uT, "__esModule", { value: !0 });
|
|
113962
113962
|
uT.DiagnosticErrorListener = void 0;
|
|
113963
|
-
const iKe =
|
|
113963
|
+
const iKe = pu, Tr = _e, W6 = yr;
|
|
113964
113964
|
class id {
|
|
113965
113965
|
/**
|
|
113966
113966
|
* Initializes a new instance of {@link DiagnosticErrorListener}, specifying
|
|
@@ -114132,7 +114132,7 @@ var aKe = T && T.__decorate || function(t, e, r, i) {
|
|
|
114132
114132
|
};
|
|
114133
114133
|
Object.defineProperty(lT, "__esModule", { value: !0 });
|
|
114134
114134
|
lT.RuleContextWithAltNum = void 0;
|
|
114135
|
-
const lKe =
|
|
114135
|
+
const lKe = gu(), cKe = _e, fKe = mo();
|
|
114136
114136
|
class i0e extends fKe.ParserRuleContext {
|
|
114137
114137
|
constructor(e, r) {
|
|
114138
114138
|
r !== void 0 ? super(e, r) : super(), this._altNumber = lKe.ATN.INVALID_ALT_NUMBER;
|
|
@@ -114473,32 +114473,32 @@ Object.defineProperty(c0e, "__esModule", { value: !0 });
|
|
|
114473
114473
|
var pT = {};
|
|
114474
114474
|
Object.defineProperty(pT, "__esModule", { value: !0 });
|
|
114475
114475
|
pT.parseString = hKe;
|
|
114476
|
-
var
|
|
114476
|
+
var Do;
|
|
114477
114477
|
(function(t) {
|
|
114478
114478
|
t[t.Normal = 0] = "Normal", t[t.ReverseVirgule = 1] = "ReverseVirgule", t[t.Unicode = 2] = "Unicode";
|
|
114479
|
-
})(
|
|
114479
|
+
})(Do || (Do = {}));
|
|
114480
114480
|
function hKe(t, e = "") {
|
|
114481
|
-
let r = t.slice(e.length), i =
|
|
114481
|
+
let r = t.slice(e.length), i = Do.Normal;
|
|
114482
114482
|
e.length && (r = r.slice(0, -e.length));
|
|
114483
114483
|
let s = "", o = "";
|
|
114484
114484
|
for (const u of r)
|
|
114485
114485
|
switch (i) {
|
|
114486
|
-
case
|
|
114487
|
-
u === "\\" ? i =
|
|
114486
|
+
case Do.Normal: {
|
|
114487
|
+
u === "\\" ? i = Do.ReverseVirgule : s += u;
|
|
114488
114488
|
break;
|
|
114489
114489
|
}
|
|
114490
|
-
case
|
|
114490
|
+
case Do.ReverseVirgule: {
|
|
114491
114491
|
let a = u;
|
|
114492
114492
|
if (u === "u") {
|
|
114493
|
-
i =
|
|
114493
|
+
i = Do.Unicode, o = "";
|
|
114494
114494
|
continue;
|
|
114495
114495
|
}
|
|
114496
114496
|
u === "b" ? a = "\b" : u === "f" ? a = "\f" : u === "n" ? a = `
|
|
114497
|
-
` : u === "r" ? a = "\r" : u === "t" && (a = " "), s += a, i =
|
|
114497
|
+
` : u === "r" ? a = "\r" : u === "t" && (a = " "), s += a, i = Do.Normal;
|
|
114498
114498
|
break;
|
|
114499
114499
|
}
|
|
114500
|
-
case
|
|
114501
|
-
"ABCDEFabcdef0123456789".includes(u) ? (o += u, o.length === 4 && (s += String.fromCharCode(parseInt(o, 16)), i =
|
|
114500
|
+
case Do.Unicode:
|
|
114501
|
+
"ABCDEFabcdef0123456789".includes(u) ? (o += u, o.length === 4 && (s += String.fromCharCode(parseInt(o, 16)), i = Do.Normal)) : i = Do.Normal;
|
|
114502
114502
|
}
|
|
114503
114503
|
return s;
|
|
114504
114504
|
}
|
|
@@ -114920,12 +114920,12 @@ class EKe extends pKe.AbstractParseTreeVisitor {
|
|
|
114920
114920
|
};
|
|
114921
114921
|
}();
|
|
114922
114922
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ParseUtil = void 0, i(p4, t), t.ParseUtil = s(pT);
|
|
114923
|
-
})(
|
|
114923
|
+
})(Zo);
|
|
114924
114924
|
const AKe = "∅";
|
|
114925
114925
|
function sS(t, e = "# ") {
|
|
114926
114926
|
var i;
|
|
114927
114927
|
const r = ((i = t == null ? void 0 : t.map((s) => s.value)) == null ? void 0 : i.filter((s) => s.startsWith(e))) ?? [];
|
|
114928
|
-
return
|
|
114928
|
+
return Zo.Tag.fromTagLines(r).tag ?? new Zo.Tag();
|
|
114929
114929
|
}
|
|
114930
114930
|
It.Nanoseconds, It.Microseconds, It.Milliseconds, It.Seconds, It.Minutes, It.Hours, It.Days;
|
|
114931
114931
|
It.Nanoseconds, It.Microseconds, It.Milliseconds, It.Seconds, It.Minutes, It.Hours, It.Days, Number.MAX_VALUE;
|
|
@@ -116689,11 +116689,11 @@ function DKe(t, { tabWidth: e } = { tabWidth: 2 }) {
|
|
|
116689
116689
|
const r = m0e(t);
|
|
116690
116690
|
return x0e(r, { tabWidth: e });
|
|
116691
116691
|
}
|
|
116692
|
-
const rk = Symbol("indent"),
|
|
116692
|
+
const rk = Symbol("indent"), Qo = Symbol("newline"), ik = Symbol("outdent"), OKe = Symbol("optional_newline_indent");
|
|
116693
116693
|
function x0e(t, { tabWidth: e } = { tabWidth: 2 }) {
|
|
116694
116694
|
let r = "", i = 0, s = !0;
|
|
116695
116695
|
for (const o of t)
|
|
116696
|
-
if (o ===
|
|
116696
|
+
if (o === Qo)
|
|
116697
116697
|
r += `
|
|
116698
116698
|
`, s = !0;
|
|
116699
116699
|
else if (o === ik)
|
|
@@ -116709,8 +116709,8 @@ function x0e(t, { tabWidth: e } = { tabWidth: 2 }) {
|
|
|
116709
116709
|
}
|
|
116710
116710
|
function yT(t, e, r, i) {
|
|
116711
116711
|
var s;
|
|
116712
|
-
if (e.includes(
|
|
116713
|
-
return [t,
|
|
116712
|
+
if (e.includes(Qo))
|
|
116713
|
+
return [t, Qo, rk, ...e, Qo, ik, r];
|
|
116714
116714
|
const u = ((s = i == null ? void 0 : i.spaces) !== null && s !== void 0 ? s : !0) ? " " : "";
|
|
116715
116715
|
return [t, u, ...e, u, r];
|
|
116716
116716
|
}
|
|
@@ -116798,7 +116798,7 @@ function hl(t) {
|
|
|
116798
116798
|
const i = [];
|
|
116799
116799
|
for (let s = 0; s < t.parameters.length; s++) {
|
|
116800
116800
|
const o = t.parameters[s];
|
|
116801
|
-
i.push((0, Eg.maybeQuoteIdentifier)(o.name)), i.push(" is "), i.push(...sk(o.value)), s < t.parameters.length - 1 && i.push(",",
|
|
116801
|
+
i.push((0, Eg.maybeQuoteIdentifier)(o.name)), i.push(" is "), i.push(...sk(o.value)), s < t.parameters.length - 1 && i.push(",", Qo);
|
|
116802
116802
|
}
|
|
116803
116803
|
r.push(...yT("(", i, ")", { spaces: !1 }));
|
|
116804
116804
|
}
|
|
@@ -116875,7 +116875,7 @@ function LKe(t) {
|
|
|
116875
116875
|
else
|
|
116876
116876
|
break;
|
|
116877
116877
|
}
|
|
116878
|
-
r.push(...IKe(o)), e && i < t.operations.length - 1 && r.push(
|
|
116878
|
+
r.push(...IKe(o)), e && i < t.operations.length - 1 && r.push(Qo);
|
|
116879
116879
|
}
|
|
116880
116880
|
return yT("{", r, "}");
|
|
116881
116881
|
}
|
|
@@ -116902,11 +116902,11 @@ function IKe(t) {
|
|
|
116902
116902
|
function sd(t, e, r = "") {
|
|
116903
116903
|
const i = [];
|
|
116904
116904
|
i.push(`${t}:`);
|
|
116905
|
-
const s = e.length > 1 || e.some((o) => o.includes(
|
|
116906
|
-
s ? i.push(
|
|
116905
|
+
const s = e.length > 1 || e.some((o) => o.includes(Qo));
|
|
116906
|
+
s ? i.push(Qo, rk) : i.push(" ");
|
|
116907
116907
|
for (let o = 0; o < e.length; o++) {
|
|
116908
116908
|
const u = e[o];
|
|
116909
|
-
i.push(...u), e.length > 1 && o < e.length - 1 && i.push(r), s && o < e.length - 1 && i.push(
|
|
116909
|
+
i.push(...u), e.length > 1 && o < e.length - 1 && i.push(r), s && o < e.length - 1 && i.push(Qo);
|
|
116910
116910
|
}
|
|
116911
116911
|
return s && i.push(ik), i;
|
|
116912
116912
|
}
|
|
@@ -116969,7 +116969,7 @@ function QKe(t) {
|
|
|
116969
116969
|
function zKe(t) {
|
|
116970
116970
|
const e = [];
|
|
116971
116971
|
for (let r = 0; r < t.length; r++)
|
|
116972
|
-
r !== 0 && e.push(
|
|
116972
|
+
r !== 0 && e.push(Qo), e.push(...QKe(t[r]));
|
|
116973
116973
|
return e;
|
|
116974
116974
|
}
|
|
116975
116975
|
function h0e(t) {
|
|
@@ -117021,7 +117021,7 @@ function m2(t) {
|
|
|
117021
117021
|
return t ? t.flatMap(KKe) : [];
|
|
117022
117022
|
}
|
|
117023
117023
|
function KKe(t) {
|
|
117024
|
-
return [t.value.trim(),
|
|
117024
|
+
return [t.value.trim(), Qo];
|
|
117025
117025
|
}
|
|
117026
117026
|
var g2 = {};
|
|
117027
117027
|
Object.defineProperty(g2, "__esModule", { value: !0 });
|
|
@@ -119375,7 +119375,7 @@ CT.STANDARDSQL_MALLOY_STANDARD_OVERLOADS = {
|
|
|
119375
119375
|
};
|
|
119376
119376
|
Object.defineProperty(sE, "__esModule", { value: !0 });
|
|
119377
119377
|
sE.StandardSQLDialect = void 0;
|
|
119378
|
-
const QW = mn,
|
|
119378
|
+
const QW = mn, Su = Ve, zW = Bc, eXe = od, tXe = vT, nXe = CT;
|
|
119379
119379
|
function GW(t) {
|
|
119380
119380
|
return [
|
|
119381
119381
|
"microsecond",
|
|
@@ -119510,10 +119510,10 @@ ${(0, QW.indent)(r)}
|
|
|
119510
119510
|
}
|
|
119511
119511
|
sqlTruncExpr(e, r) {
|
|
119512
119512
|
const i = e_(e), s = i ? `, "${i}"` : "";
|
|
119513
|
-
return
|
|
119513
|
+
return Su.TD.isDate(r.e.typeDef) ? rXe(r.units) ? `DATE_TRUNC(${r.e.sql},${r.units})` : `TIMESTAMP(${r.e.sql}${s})` : `TIMESTAMP_TRUNC(${r.e.sql},${r.units}${s})`;
|
|
119514
119514
|
}
|
|
119515
119515
|
sqlTimeExtractExpr(e, r) {
|
|
119516
|
-
const i = iXe[r.units] || r.units, s =
|
|
119516
|
+
const i = iXe[r.units] || r.units, s = Su.TD.isTimestamp(r.e.typeDef) && e_(e), o = s ? ` AT TIME ZONE '${s}'` : "";
|
|
119517
119517
|
return `EXTRACT(${i} FROM ${r.e.sql}${o})`;
|
|
119518
119518
|
}
|
|
119519
119519
|
sqlAlterTimeExpr(e) {
|
|
@@ -119528,15 +119528,15 @@ ${(0, QW.indent)(r)}
|
|
|
119528
119528
|
}
|
|
119529
119529
|
sqlCast(e, r) {
|
|
119530
119530
|
const { op: i, srcTypeDef: s, dstTypeDef: o, dstSQLType: u } = this.sqlCastPrep(r), a = e_(e), l = r.e.sql || "";
|
|
119531
|
-
return i === "timestamp::date" && a ? `DATE(${l},'${a}')` : i === "date::timestamp" && a ? `TIMESTAMP(${l}, '${a}')` :
|
|
119531
|
+
return i === "timestamp::date" && a ? `DATE(${l},'${a}')` : i === "date::timestamp" && a ? `TIMESTAMP(${l}, '${a}')` : Su.TD.eq(s, o) ? l : `${r.safe ? "SAFE_CAST" : "CAST"}(${l} AS ${u})`;
|
|
119532
119532
|
}
|
|
119533
119533
|
sqlRegexpMatch(e) {
|
|
119534
119534
|
return `REGEXP_CONTAINS(${e.kids.expr.sql},${e.kids.regex.sql})`;
|
|
119535
119535
|
}
|
|
119536
119536
|
sqlLiteralTime(e, r) {
|
|
119537
|
-
if (
|
|
119537
|
+
if (Su.TD.isDate(r.typeDef))
|
|
119538
119538
|
return `DATE('${r.literal}')`;
|
|
119539
|
-
if (
|
|
119539
|
+
if (Su.TD.isTimestamp(r.typeDef)) {
|
|
119540
119540
|
let i = `'${r.literal}'`;
|
|
119541
119541
|
const s = r.timezone || e_(e);
|
|
119542
119542
|
return s && s !== "UTC" && (i += `,'${s}'`), `TIMESTAMP(${i})`;
|
|
@@ -119558,9 +119558,9 @@ ${(0, QW.indent)(r)}
|
|
|
119558
119558
|
const { use: a, ratio: l } = r[e.units];
|
|
119559
119559
|
if (!GW(a))
|
|
119560
119560
|
throw new Error(`Measure in '${a} not implemented`);
|
|
119561
|
-
if (!
|
|
119561
|
+
if (!Su.TD.eq(i.typeDef, s.typeDef))
|
|
119562
119562
|
throw new Error("Can't measure difference between different types");
|
|
119563
|
-
|
|
119563
|
+
Su.TD.isDate(i.typeDef) && (o = `TIMESTAMP(${o})`, u = `TIMESTAMP(${u})`);
|
|
119564
119564
|
let c = `TIMESTAMP_DIFF(${u},${o},${a})`;
|
|
119565
119565
|
return l !== 1 && (c = `FLOOR(${c}/${l.toString()}.0)`), c;
|
|
119566
119566
|
}
|
|
@@ -119568,9 +119568,9 @@ ${(0, QW.indent)(r)}
|
|
|
119568
119568
|
}
|
|
119569
119569
|
sqlSampleTable(e, r) {
|
|
119570
119570
|
if (r !== void 0) {
|
|
119571
|
-
if ((0,
|
|
119571
|
+
if ((0, Su.isSamplingEnable)(r) && r.enable && (r = this.defaultSampling), (0, Su.isSamplingRows)(r))
|
|
119572
119572
|
throw new Error("StandardSQL doesn't support sampling by rows only percent");
|
|
119573
|
-
if ((0,
|
|
119573
|
+
if ((0, Su.isSamplingPercent)(r))
|
|
119574
119574
|
return `(SELECT * FROM ${e} TABLESAMPLE SYSTEM (${r.percent} PERCENT))`;
|
|
119575
119575
|
}
|
|
119576
119576
|
return e;
|
|
@@ -122347,12 +122347,12 @@ kc(new ZXe.MySQLDialect());
|
|
|
122347
122347
|
return x.TinyParser;
|
|
122348
122348
|
} });
|
|
122349
122349
|
})(y2);
|
|
122350
|
-
var ni = {},
|
|
122350
|
+
var ni = {}, nu = {}, PT = {}, $s = {};
|
|
122351
122351
|
Object.defineProperty($s, "__esModule", { value: !0 });
|
|
122352
122352
|
$s.addModelScope = nZe;
|
|
122353
122353
|
$s.annotationToTaglines = B0e;
|
|
122354
122354
|
$s.annotationToTag = k0e;
|
|
122355
|
-
const uV =
|
|
122355
|
+
const uV = Zo;
|
|
122356
122356
|
function nZe(t, e) {
|
|
122357
122357
|
const r = t ? { ...t } : {};
|
|
122358
122358
|
return r.scopes ? r.scopes = r.scopes.concat(e) : r.scopes = [e], r;
|
|
@@ -123524,7 +123524,7 @@ Object.defineProperty(_k, "__esModule", { value: !0 });
|
|
|
123524
123524
|
function BZe(t) {
|
|
123525
123525
|
return t[0];
|
|
123526
123526
|
}
|
|
123527
|
-
const kZe = $Ze(Ak), n7 = Ar,
|
|
123527
|
+
const kZe = $Ze(Ak), n7 = Ar, Oo = kZe.default.compile({
|
|
123528
123528
|
WS: /[ \t]+/,
|
|
123529
123529
|
comma: ",",
|
|
123530
123530
|
semi: ";",
|
|
@@ -123533,28 +123533,28 @@ const kZe = $Ze(Ak), n7 = Ar, Do = kZe.default.compile({
|
|
|
123533
123533
|
close: ")",
|
|
123534
123534
|
minus: "-",
|
|
123535
123535
|
matchStr: /(?:\\[^\n]|[^\n,;()|])+/
|
|
123536
|
-
}), PZe =
|
|
123537
|
-
|
|
123536
|
+
}), PZe = Oo.next;
|
|
123537
|
+
Oo.next = /* @__PURE__ */ ((t) => () => {
|
|
123538
123538
|
for (; ; ) {
|
|
123539
|
-
const e = t.call(
|
|
123539
|
+
const e = t.call(Oo);
|
|
123540
123540
|
if (e == null || e.type !== "WS")
|
|
123541
123541
|
return e;
|
|
123542
123542
|
}
|
|
123543
123543
|
})(PZe);
|
|
123544
123544
|
const MZe = {
|
|
123545
|
-
Lexer:
|
|
123545
|
+
Lexer: Oo,
|
|
123546
123546
|
ParserRules: [
|
|
123547
123547
|
{ name: "stringFilter", symbols: ["stringFilter", "conjunction", "sfUnary"], postprocess: ([t, e, r]) => (0, n7.conjoin)(t, e[0].text, r) },
|
|
123548
123548
|
{ name: "stringFilter", symbols: ["sfUnary"], postprocess: (t) => t[0] },
|
|
123549
|
-
{ name: "sfUnary$ebnf$1", symbols: [
|
|
123549
|
+
{ name: "sfUnary$ebnf$1", symbols: [Oo.has("minus") ? { type: "minus" } : minus], postprocess: BZe },
|
|
123550
123550
|
{ name: "sfUnary$ebnf$1", symbols: [], postprocess: () => null },
|
|
123551
123551
|
{ name: "sfUnary", symbols: ["sfUnary$ebnf$1", "clause"], postprocess: (t) => (0, n7.maybeNot)(t) },
|
|
123552
|
-
{ name: "parens", symbols: [
|
|
123553
|
-
{ name: "clause", symbols: [
|
|
123552
|
+
{ name: "parens", symbols: [Oo.has("open") ? { type: "open" } : open, "stringFilter", Oo.has("close") ? { type: "close" } : close], postprocess: ([t, e, r]) => ({ operator: "()", expr: e }) },
|
|
123553
|
+
{ name: "clause", symbols: [Oo.has("matchStr") ? { type: "matchStr" } : matchStr], postprocess: ([t]) => (0, n7.matchOp)(t.text) },
|
|
123554
123554
|
{ name: "clause", symbols: ["parens"], postprocess: (t) => t[0] },
|
|
123555
|
-
{ name: "conjunction", symbols: [
|
|
123556
|
-
{ name: "conjunction", symbols: [
|
|
123557
|
-
{ name: "conjunction", symbols: [
|
|
123555
|
+
{ name: "conjunction", symbols: [Oo.has("comma") ? { type: "comma" } : comma] },
|
|
123556
|
+
{ name: "conjunction", symbols: [Oo.has("semi") ? { type: "semi" } : semi] },
|
|
123557
|
+
{ name: "conjunction", symbols: [Oo.has("or") ? { type: "or" } : or] }
|
|
123558
123558
|
],
|
|
123559
123559
|
ParserStart: "stringFilter"
|
|
123560
123560
|
};
|
|
@@ -124282,10 +124282,10 @@ const aE = /* @__PURE__ */ ZY(Wme);
|
|
|
124282
124282
|
}
|
|
124283
124283
|
t.TemporalFilterCompiler = p;
|
|
124284
124284
|
})(P0e);
|
|
124285
|
-
Object.defineProperty(
|
|
124286
|
-
|
|
124287
|
-
|
|
124288
|
-
|
|
124285
|
+
Object.defineProperty(nu, "__esModule", { value: !0 });
|
|
124286
|
+
nu.QueryModel = nu.Segment = void 0;
|
|
124287
|
+
nu.getResultStructDefForView = cet;
|
|
124288
|
+
nu.getResultStructDefForQuery = fet;
|
|
124289
124289
|
const zZe = E2, GZe = y2, WZe = sE, Ie = Ve, An = mn, aS = PT, VZe = $s, YZe = P0e, n_ = oE;
|
|
124290
124290
|
function G0e(t) {
|
|
124291
124291
|
return t.map((e) => encodeURIComponent(e)).join("/");
|
|
@@ -125275,7 +125275,7 @@ class aet {
|
|
|
125275
125275
|
).getResultStructDef();
|
|
125276
125276
|
}
|
|
125277
125277
|
}
|
|
125278
|
-
|
|
125278
|
+
nu.Segment = aet;
|
|
125279
125279
|
function cet(t, e) {
|
|
125280
125280
|
const r = new pl(t, void 0, {
|
|
125281
125281
|
model: new jT(void 0)
|
|
@@ -126727,7 +126727,7 @@ ${u.dialect.sqlFinalStage("__stage0", [
|
|
|
126727
126727
|
})).rows;
|
|
126728
126728
|
}
|
|
126729
126729
|
}
|
|
126730
|
-
|
|
126730
|
+
nu.QueryModel = jT;
|
|
126731
126731
|
(function(t) {
|
|
126732
126732
|
var e = T && T.__createBinding || (Object.create ? function(o, u, a, l) {
|
|
126733
126733
|
l === void 0 && (l = a);
|
|
@@ -126741,7 +126741,7 @@ tu.QueryModel = jT;
|
|
|
126741
126741
|
for (var a in o) a !== "default" && !Object.prototype.hasOwnProperty.call(u, a) && e(u, o, a);
|
|
126742
126742
|
};
|
|
126743
126743
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.composeSQLExpr = t.indent = t.QueryModel = t.Segment = void 0, r(Ve, t);
|
|
126744
|
-
var i =
|
|
126744
|
+
var i = nu;
|
|
126745
126745
|
Object.defineProperty(t, "Segment", { enumerable: !0, get: function() {
|
|
126746
126746
|
return i.Segment;
|
|
126747
126747
|
} }), Object.defineProperty(t, "QueryModel", { enumerable: !0, get: function() {
|
|
@@ -127610,7 +127610,7 @@ Object.defineProperty(Xe, "__esModule", { value: !0 });
|
|
|
127610
127610
|
Xe.Document = Xe.DocStatementList = Xe.ListOf = Xe.ExperimentalExperiment = Xe.ModelEntryReference = Xe.Unimplemented = Xe.MalloyElement = void 0;
|
|
127611
127611
|
Xe.isDocStatement = oce;
|
|
127612
127612
|
Xe.isDocStatementOrDocStatementList = rtt;
|
|
127613
|
-
const pV = y2, ov = Ve, Yet =
|
|
127613
|
+
const pV = y2, ov = Ve, Yet = Zo, Ket = A2, Jet = go, Xet = HT, Zet = fE, mV = as, ett = E2;
|
|
127614
127614
|
class Qu {
|
|
127615
127615
|
/**
|
|
127616
127616
|
* @param kids All children passed to the constructor are not optional
|
|
@@ -128249,7 +128249,7 @@ function Rtt(t) {
|
|
|
128249
128249
|
}
|
|
128250
128250
|
return r;
|
|
128251
128251
|
}
|
|
128252
|
-
var
|
|
128252
|
+
var zo = {}, Zt = {};
|
|
128253
128253
|
Object.defineProperty(Zt, "__esModule", { value: !0 });
|
|
128254
128254
|
Zt.computedExprValue = dE;
|
|
128255
128255
|
Zt.computedTimeResult = Dtt;
|
|
@@ -128802,8 +128802,8 @@ var snt = T && T.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
|
128802
128802
|
return ont(r, e), r;
|
|
128803
128803
|
};
|
|
128804
128804
|
}();
|
|
128805
|
-
Object.defineProperty(
|
|
128806
|
-
|
|
128805
|
+
Object.defineProperty(zo, "__esModule", { value: !0 });
|
|
128806
|
+
zo.ExprLegacyIn = zo.ExprEquality = zo.ExprCompare = void 0;
|
|
128807
128807
|
const sn = unt(Xt), ant = Zt, lnt = lt, cnt = gE, fnt = {
|
|
128808
128808
|
"~": [sn.stringT],
|
|
128809
128809
|
"!~": [sn.stringT],
|
|
@@ -128822,7 +128822,7 @@ class gce extends cnt.BinaryBoolean {
|
|
|
128822
128822
|
return this.right.apply(e, this.op, this.left);
|
|
128823
128823
|
}
|
|
128824
128824
|
}
|
|
128825
|
-
|
|
128825
|
+
zo.ExprCompare = gce;
|
|
128826
128826
|
class xnt extends gce {
|
|
128827
128827
|
constructor(e, r, i) {
|
|
128828
128828
|
super(e, r, i), this.elementType = "a~=b";
|
|
@@ -128834,7 +128834,7 @@ class xnt extends gce {
|
|
|
128834
128834
|
return super.apply(e, r, i, !0);
|
|
128835
128835
|
}
|
|
128836
128836
|
}
|
|
128837
|
-
|
|
128837
|
+
zo.ExprEquality = xnt;
|
|
128838
128838
|
class dnt extends lnt.ExpressionDef {
|
|
128839
128839
|
constructor(e, r, i) {
|
|
128840
128840
|
super(), this.expr = e, this.notIn = r, this.choices = i, this.elementType = "in", this.has({ expr: e, choices: i });
|
|
@@ -128852,7 +128852,7 @@ class dnt extends lnt.ExpressionDef {
|
|
|
128852
128852
|
});
|
|
128853
128853
|
}
|
|
128854
128854
|
}
|
|
128855
|
-
|
|
128855
|
+
zo.ExprLegacyIn = dnt;
|
|
128856
128856
|
var zT = {}, yE = {};
|
|
128857
128857
|
Object.defineProperty(yE, "__esModule", { value: !0 });
|
|
128858
128858
|
yE.PassthroughSpace = void 0;
|
|
@@ -128930,7 +128930,7 @@ class ynt extends gnt.MalloyElement {
|
|
|
128930
128930
|
}
|
|
128931
128931
|
}
|
|
128932
128932
|
Vl.FieldName = ynt;
|
|
128933
|
-
var
|
|
128933
|
+
var ru = {}, Mc = {};
|
|
128934
128934
|
Object.defineProperty(Mc, "__esModule", { value: !0 });
|
|
128935
128935
|
Mc.ExprIdReference = void 0;
|
|
128936
128936
|
const Ent = Ve, Ant = lt;
|
|
@@ -129388,9 +129388,9 @@ class Ynt extends Vnt.ExpressionDef {
|
|
|
129388
129388
|
}
|
|
129389
129389
|
}
|
|
129390
129390
|
CE.ExprFilterExpression = Ynt;
|
|
129391
|
-
Object.defineProperty(
|
|
129392
|
-
|
|
129393
|
-
const vV = Ve, Knt = Pi, CV =
|
|
129391
|
+
Object.defineProperty(ru, "__esModule", { value: !0 });
|
|
129392
|
+
ru.Filter = ru.FilterElement = void 0;
|
|
129393
|
+
const vV = Ve, Knt = Pi, CV = zo, SV = Mc, Jnt = GT, Cce = Xe, s7 = wn, Xnt = CE;
|
|
129394
129394
|
class Znt extends Cce.MalloyElement {
|
|
129395
129395
|
constructor(e, r) {
|
|
129396
129396
|
super({ expr: e }), this.expr = e, this.exprSrc = r, this.elementType = "filterElement";
|
|
@@ -129452,7 +129452,7 @@ class Znt extends Cce.MalloyElement {
|
|
|
129452
129452
|
};
|
|
129453
129453
|
}
|
|
129454
129454
|
}
|
|
129455
|
-
|
|
129455
|
+
ru.FilterElement = Znt;
|
|
129456
129456
|
class ert extends Cce.ListOf {
|
|
129457
129457
|
constructor() {
|
|
129458
129458
|
super(...arguments), this.elementType = "filter", this.forceQueryClass = void 0, this.queryRefinementStage = s7.LegalRefinementStage.Head;
|
|
@@ -129487,11 +129487,11 @@ class ert extends Cce.ListOf {
|
|
|
129487
129487
|
}
|
|
129488
129488
|
}
|
|
129489
129489
|
}
|
|
129490
|
-
|
|
129490
|
+
ru.Filter = ert;
|
|
129491
129491
|
Object.defineProperty(Ol, "__esModule", { value: !0 });
|
|
129492
129492
|
Ol.Drill = Ol.DrillField = void 0;
|
|
129493
129493
|
Ol.attachDrillPaths = art;
|
|
129494
|
-
const dm = Mt,
|
|
129494
|
+
const dm = Mt, To = Ve, trt = Pi, nrt = zo, rrt = zT, bV = ld, irt = lt, o7 = Vl, srt = wn, TV = _r, ort = ru;
|
|
129495
129495
|
class Sce extends irt.ExpressionDef {
|
|
129496
129496
|
constructor(e, r) {
|
|
129497
129497
|
super(), this.expr = e, this.typeDesc = r, this.elementType = "drillField";
|
|
@@ -129539,7 +129539,7 @@ class urt extends ort.Filter {
|
|
|
129539
129539
|
}
|
|
129540
129540
|
const y = g.found.typeDesc();
|
|
129541
129541
|
if (y.type !== "turtle" || !(g.found instanceof bV.ViewField)) {
|
|
129542
|
-
const K = (0,
|
|
129542
|
+
const K = (0, To.isAtomic)(y) ? y.type : "join";
|
|
129543
129543
|
r.logError("drill-view-reference-not-view", `Head of drill reference must be a view, not a ${K}`);
|
|
129544
129544
|
return;
|
|
129545
129545
|
}
|
|
@@ -129569,19 +129569,21 @@ class urt extends ort.Filter {
|
|
|
129569
129569
|
const I = te.path.map((L) => new o7.FieldName(L));
|
|
129570
129570
|
this.has({ morePathFieldNames: I });
|
|
129571
129571
|
const N = l.lookup(I);
|
|
129572
|
-
return N.found && N.found instanceof TV.SpaceField && (Ae = N.found.fieldDef(), Ae && (0,
|
|
129573
|
-
} else if ((0,
|
|
129572
|
+
return N.found && N.found instanceof TV.SpaceField && (Ae = N.found.fieldDef(), Ae && (0, To.isAtomic)(Ae) && (0, To.expressionIsScalar)(Ae.expressionType)) ? te.path[te.path.length - 1] : void 0;
|
|
129573
|
+
} else if ((0, To.isAtomic)(te) && (0, To.expressionIsScalar)(te.expressionType))
|
|
129574
129574
|
return (le = te.as) !== null && le !== void 0 ? le : te.name;
|
|
129575
129575
|
}).filter(trt.isNotUndefined);
|
|
129576
|
-
if (b.push(...xe.map((te) => [...S, te])), !f.some((te) => (0, dm.pathBegins)(te.nestPath, S)))
|
|
129577
|
-
|
|
129578
|
-
|
|
129576
|
+
if (b.push(...xe.map((te) => [...S, te])), !f.some((te) => (0, dm.pathBegins)(te.nestPath, S))) {
|
|
129577
|
+
const te = (o = ce.filterList) !== null && o !== void 0 ? o : [];
|
|
129578
|
+
for (const le of te)
|
|
129579
|
+
(0, To.expressionIsAggregate)(le.expressionType) || (x === void 0 ? (x = le.e, h = le.fieldUsage) : (x = {
|
|
129579
129580
|
node: "and",
|
|
129580
129581
|
kids: {
|
|
129581
129582
|
left: x,
|
|
129582
|
-
right:
|
|
129583
|
+
right: le.e
|
|
129583
129584
|
}
|
|
129584
|
-
}, h = (0, dm.mergeFieldUsage)(h,
|
|
129585
|
+
}, h = (0, dm.mergeFieldUsage)(h, le.fieldUsage)));
|
|
129586
|
+
}
|
|
129585
129587
|
const ee = ce.queryFields.find((te) => {
|
|
129586
129588
|
var le;
|
|
129587
129589
|
return te.type === "fieldref" ? te.path[te.path.length - 1] === K.refString : (le = te.as) !== null && le !== void 0 ? le : te.name === K.refString;
|
|
@@ -129604,13 +129606,13 @@ class urt extends ort.Filter {
|
|
|
129604
129606
|
return;
|
|
129605
129607
|
}
|
|
129606
129608
|
const Ae = le.found.fieldDef();
|
|
129607
|
-
if (Ae === void 0 || (0,
|
|
129609
|
+
if (Ae === void 0 || (0, To.isAtomic)(Ae))
|
|
129608
129610
|
v = Ae, C = { node: "field", path: ee.path };
|
|
129609
129611
|
else {
|
|
129610
129612
|
K.logError("drill-field-reference-not-field", "Final element of drill path must be a field");
|
|
129611
129613
|
return;
|
|
129612
129614
|
}
|
|
129613
|
-
} else (0,
|
|
129615
|
+
} else (0, To.isAtomic)(ee) && (v = ee, C = ee.e);
|
|
129614
129616
|
else {
|
|
129615
129617
|
let te;
|
|
129616
129618
|
if (ee.type === "fieldref") {
|
|
@@ -129639,8 +129641,8 @@ class urt extends ort.Filter {
|
|
|
129639
129641
|
r.logError("invalid-drill-reference", "Could not determine drill field");
|
|
129640
129642
|
return;
|
|
129641
129643
|
}
|
|
129642
|
-
const R = (0,
|
|
129643
|
-
if ((0,
|
|
129644
|
+
const R = (0, To.expressionIsAggregate)(v.expressionType);
|
|
129645
|
+
if ((0, To.expressionIsAnalytic)(v.expressionType)) {
|
|
129644
129646
|
r.logError("analytic-in-drill", "Analytic expressions are not allowed in `drill:`");
|
|
129645
129647
|
return;
|
|
129646
129648
|
} else R && r.logError("aggregate-in-drill", "Aggregate expressions are not allowed in `drill:`");
|
|
@@ -129684,7 +129686,7 @@ class urt extends ort.Filter {
|
|
|
129684
129686
|
Ol.Drill = urt;
|
|
129685
129687
|
function art(t, e) {
|
|
129686
129688
|
var r;
|
|
129687
|
-
return t.length !== 1 || !(0,
|
|
129689
|
+
return t.length !== 1 || !(0, To.isQuerySegment)(t[0]) ? t : [
|
|
129688
129690
|
{
|
|
129689
129691
|
...t[0],
|
|
129690
129692
|
filterList: (r = t[0].filterList) === null || r === void 0 ? void 0 : r.map((i) => ({
|
|
@@ -130461,31 +130463,31 @@ class pit extends hit.SpaceField {
|
|
|
130461
130463
|
}
|
|
130462
130464
|
}
|
|
130463
130465
|
RE.RenameSpaceField = pit;
|
|
130464
|
-
var DE = {},
|
|
130465
|
-
Object.defineProperty(
|
|
130466
|
-
|
|
130466
|
+
var DE = {}, jo = {};
|
|
130467
|
+
Object.defineProperty(jo, "__esModule", { value: !0 });
|
|
130468
|
+
jo.IncludeListItem = jo.IncludeExceptItem = jo.IncludeAccessItem = jo.IncludeItem = void 0;
|
|
130467
130469
|
const Oce = Xe, wce = as;
|
|
130468
130470
|
class Vk extends Oce.MalloyElement {
|
|
130469
130471
|
}
|
|
130470
|
-
|
|
130472
|
+
jo.IncludeItem = Vk;
|
|
130471
130473
|
class mit extends Vk {
|
|
130472
130474
|
constructor(e, r) {
|
|
130473
130475
|
super(), this.kind = e, this.fields = r, this.elementType = "include-access-item", this.isNoteableObj = !0, this.extendNote = wce.extendNoteMethod, this.has({ fields: r });
|
|
130474
130476
|
}
|
|
130475
130477
|
}
|
|
130476
|
-
|
|
130478
|
+
jo.IncludeAccessItem = mit;
|
|
130477
130479
|
class git extends Vk {
|
|
130478
130480
|
constructor(e) {
|
|
130479
130481
|
super(), this.fields = e, this.elementType = "include-except-item", this.kind = "except", this.has({ fields: e });
|
|
130480
130482
|
}
|
|
130481
130483
|
}
|
|
130482
|
-
|
|
130484
|
+
jo.IncludeExceptItem = git;
|
|
130483
130485
|
class yit extends Oce.MalloyElement {
|
|
130484
130486
|
constructor(e, r) {
|
|
130485
130487
|
super({ name: e }), this.name = e, this.as = r, this.elementType = "include-list-item", this.isNoteableObj = !0, this.extendNote = wce.extendNoteMethod;
|
|
130486
130488
|
}
|
|
130487
130489
|
}
|
|
130488
|
-
|
|
130490
|
+
jo.IncludeListItem = yit;
|
|
130489
130491
|
var ct = {}, b2 = {}, Eit = T && T.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
130490
130492
|
i === void 0 && (i = r);
|
|
130491
130493
|
var s = Object.getOwnPropertyDescriptor(e, r);
|
|
@@ -130603,16 +130605,16 @@ class Sit extends Cit.ListOf {
|
|
|
130603
130605
|
}
|
|
130604
130606
|
}
|
|
130605
130607
|
ks.DefinitionList = Sit;
|
|
130606
|
-
var
|
|
130607
|
-
Object.defineProperty(
|
|
130608
|
-
|
|
130609
|
-
|
|
130610
|
-
|
|
130611
|
-
|
|
130612
|
-
|
|
130613
|
-
|
|
130614
|
-
|
|
130615
|
-
|
|
130608
|
+
var Eu = {};
|
|
130609
|
+
Object.defineProperty(Eu, "__esModule", { value: !0 });
|
|
130610
|
+
Eu.typecheckProject = bit;
|
|
130611
|
+
Eu.typecheckIndex = Tit;
|
|
130612
|
+
Eu.typecheckDimension = Rit;
|
|
130613
|
+
Eu.typecheckMeasure = Dit;
|
|
130614
|
+
Eu.typecheckDeclare = Oit;
|
|
130615
|
+
Eu.typecheckCalculate = wit;
|
|
130616
|
+
Eu.typecheckAggregate = Fit;
|
|
130617
|
+
Eu.typecheckGroupBy = Nit;
|
|
130616
130618
|
const On = ni;
|
|
130617
130619
|
function bit(t, e) {
|
|
130618
130620
|
if (t.type === "turtle" || !(0, On.expressionIsScalar)(t.expressionType)) {
|
|
@@ -130707,7 +130709,7 @@ function Nit(t, e) {
|
|
|
130707
130709
|
}
|
|
130708
130710
|
Object.defineProperty(ct, "__esModule", { value: !0 });
|
|
130709
130711
|
ct.FieldReferences = ct.WildcardFieldReference = ct.ViewOrScalarFieldReference = ct.DimensionFieldReference = ct.MeasureFieldReference = ct.DeclareFieldReference = ct.ProjectFieldReference = ct.GroupByFieldReference = ct.AggregateFieldReference = ct.IndexFieldReference = ct.CalculateFieldReference = ct.DrillFieldReference = ct.ParameterFieldReference = ct.GroupedByReference = ct.PartitionByFieldReference = ct.ExpressionFieldReference = ct.AccessModifierFieldReference = ct.AcceptExceptFieldReference = ct.FieldReference = void 0;
|
|
130710
|
-
const Lit = b2, Iit = ks, Fce = Xe, Nce = as, Uc =
|
|
130712
|
+
const Lit = b2, Iit = ks, Fce = Xe, Nce = as, Uc = Eu;
|
|
130711
130713
|
class Lr extends Fce.ListOf {
|
|
130712
130714
|
constructor(e) {
|
|
130713
130715
|
super(e), this.isNoteableObj = !0, this.extendNote = Nce.extendNoteMethod;
|
|
@@ -130927,7 +130929,7 @@ ct.FieldReferences = Jit;
|
|
|
130927
130929
|
Object.defineProperty(DE, "__esModule", { value: !0 });
|
|
130928
130930
|
DE.getIncludeStateForJoin = sN;
|
|
130929
130931
|
DE.processIncludeList = Zit;
|
|
130930
|
-
const Lce = Ve, IV =
|
|
130932
|
+
const Lce = Ve, IV = jo, hm = ct, Ice = Mt;
|
|
130931
130933
|
function Xit(t, e, r) {
|
|
130932
130934
|
let i = t.fields;
|
|
130933
130935
|
for (const s of e) {
|
|
@@ -131419,7 +131421,7 @@ class Fst extends bst.DefinitionList {
|
|
|
131419
131421
|
Ki.JoinStatement = Fst;
|
|
131420
131422
|
Object.defineProperty(SE, "__esModule", { value: !0 });
|
|
131421
131423
|
SE.RefinedSource = void 0;
|
|
131422
|
-
const Nst = Ve, Lst = v2, Ist = qc, $st =
|
|
131424
|
+
const Nst = Ve, Lst = v2, Ist = qc, $st = ru, Bst = T2, kst = R2, Pst = D2, Mst = yo, jst = O2, Ust = nc, qst = rc, Hst = S2, Qst = Ki, BV = DE;
|
|
131423
131425
|
class zst extends Mst.Source {
|
|
131424
131426
|
constructor(e, r, i) {
|
|
131425
131427
|
super({ source: e, refinement: r }), this.source = e, this.refinement = r, this.includeList = i, this.elementType = "refinedSource", i && this.has({ includeList: i });
|
|
@@ -131476,9 +131478,9 @@ class zst extends Mst.Source {
|
|
|
131476
131478
|
}
|
|
131477
131479
|
}
|
|
131478
131480
|
SE.RefinedSource = zst;
|
|
131479
|
-
var
|
|
131480
|
-
Object.defineProperty(
|
|
131481
|
-
|
|
131481
|
+
var Au = {};
|
|
131482
|
+
Object.defineProperty(Au, "__esModule", { value: !0 });
|
|
131483
|
+
Au.SourceQueryElement = void 0;
|
|
131482
131484
|
const Gst = Xe;
|
|
131483
131485
|
class Xk extends Gst.MalloyElement {
|
|
131484
131486
|
constructor() {
|
|
@@ -131506,7 +131508,7 @@ class Xk extends Gst.MalloyElement {
|
|
|
131506
131508
|
return e;
|
|
131507
131509
|
}
|
|
131508
131510
|
}
|
|
131509
|
-
|
|
131511
|
+
Au.SourceQueryElement = Xk;
|
|
131510
131512
|
var YT = {}, dd = {};
|
|
131511
131513
|
Object.defineProperty(dd, "__esModule", { value: !0 });
|
|
131512
131514
|
dd.QuerySource = void 0;
|
|
@@ -131603,7 +131605,7 @@ class rot extends tot.QueryBase {
|
|
|
131603
131605
|
w2.QueryArrow = rot;
|
|
131604
131606
|
Object.defineProperty(YT, "__esModule", { value: !0 });
|
|
131605
131607
|
YT.SQArrow = void 0;
|
|
131606
|
-
const iot =
|
|
131608
|
+
const iot = Au, sot = dd, oot = w2;
|
|
131607
131609
|
class uot extends iot.SourceQueryElement {
|
|
131608
131610
|
constructor(e, r) {
|
|
131609
131611
|
super({ applyTo: e, operation: r }), this.applyTo = e, this.operation = r, this.elementType = "sq-arrow";
|
|
@@ -131633,7 +131635,7 @@ Object.defineProperty(Fa, "__esModule", { value: !0 });
|
|
|
131633
131635
|
Fa.opOutputStruct = jce;
|
|
131634
131636
|
Fa.getFinalStruct = lot;
|
|
131635
131637
|
Fa.getStructFieldDef = cot;
|
|
131636
|
-
const MV = X0, aot =
|
|
131638
|
+
const MV = X0, aot = nu, s_ = Ve, jV = ri;
|
|
131637
131639
|
function jce(t, e, r) {
|
|
131638
131640
|
const i = jV.ErrorFactory.didCreate(e) || (0, s_.structHasErrors)(e);
|
|
131639
131641
|
(0, s_.isPartialSegment)(r) && (r = { ...r, type: "reduce" });
|
|
@@ -131841,7 +131843,7 @@ class wot extends Tot.MalloyElement {
|
|
|
131841
131843
|
FE.QueryReference = wot;
|
|
131842
131844
|
Object.defineProperty(wE, "__esModule", { value: !0 });
|
|
131843
131845
|
wE.SQReference = void 0;
|
|
131844
|
-
const Fot =
|
|
131846
|
+
const Fot = Au, Not = dd, Lot = N2, qV = FE, HV = ni;
|
|
131845
131847
|
class Iot extends Fot.SourceQueryElement {
|
|
131846
131848
|
constructor(e, r) {
|
|
131847
131849
|
super({ ref: e }), this.ref = e, this.args = r, this.elementType = "sq-reference", r !== void 0 && this.has({ args: r });
|
|
@@ -131885,7 +131887,7 @@ class Iot extends Fot.SourceQueryElement {
|
|
|
131885
131887
|
wE.SQReference = Iot;
|
|
131886
131888
|
Object.defineProperty(KT, "__esModule", { value: !0 });
|
|
131887
131889
|
KT.SQRefine = void 0;
|
|
131888
|
-
const $ot =
|
|
131890
|
+
const $ot = Au, Bot = dd, kot = F2, Pot = wE;
|
|
131889
131891
|
class Mot extends $ot.SourceQueryElement {
|
|
131890
131892
|
constructor(e, r) {
|
|
131891
131893
|
super({ toRefine: e, refine: r }), this.toRefine = e, this.refine = r, this.elementType = "sq-refine";
|
|
@@ -131940,7 +131942,7 @@ var LE = {}, hd = {};
|
|
|
131940
131942
|
Object.defineProperty(hd, "__esModule", { value: !0 });
|
|
131941
131943
|
hd.compileSQLInterpolation = Got;
|
|
131942
131944
|
hd.sqlKey = Wot;
|
|
131943
|
-
const Hot =
|
|
131945
|
+
const Hot = nu, Qot = Ve, zot = mn;
|
|
131944
131946
|
function Got(t, e, r) {
|
|
131945
131947
|
let i, s = "", o = !1;
|
|
131946
131948
|
for (const u of t)
|
|
@@ -132051,7 +132053,7 @@ class Yot extends Vot.Source {
|
|
|
132051
132053
|
LE.SQLSource = Yot;
|
|
132052
132054
|
Object.defineProperty(XT, "__esModule", { value: !0 });
|
|
132053
132055
|
XT.SQSource = void 0;
|
|
132054
|
-
const Kot =
|
|
132056
|
+
const Kot = Au, Jot = NE, Xot = LE;
|
|
132055
132057
|
class Zot extends Kot.SourceQueryElement {
|
|
132056
132058
|
constructor(e) {
|
|
132057
132059
|
super({ theSource: e }), this.theSource = e, this.elementType = "sq-source";
|
|
@@ -132074,7 +132076,7 @@ XT.SQSource = Zot;
|
|
|
132074
132076
|
var ZT = {};
|
|
132075
132077
|
Object.defineProperty(ZT, "__esModule", { value: !0 });
|
|
132076
132078
|
ZT.SQExtend = void 0;
|
|
132077
|
-
const eut = SE, tut =
|
|
132079
|
+
const eut = SE, tut = Au;
|
|
132078
132080
|
class nut extends tut.SourceQueryElement {
|
|
132079
132081
|
constructor(e, r, i) {
|
|
132080
132082
|
super({ sqSrc: e, extend: r }), this.sqSrc = e, this.extend = r, this.includeList = i, this.elementType = "sq-extend";
|
|
@@ -132191,7 +132193,7 @@ function QV(t) {
|
|
|
132191
132193
|
}
|
|
132192
132194
|
Object.defineProperty(eR, "__esModule", { value: !0 });
|
|
132193
132195
|
eR.SQCompose = void 0;
|
|
132194
|
-
const sut = tR, out =
|
|
132196
|
+
const sut = tR, out = Au;
|
|
132195
132197
|
class uut extends out.SourceQueryElement {
|
|
132196
132198
|
constructor(e) {
|
|
132197
132199
|
super({ sources: e }), this.sources = e, this.elementType = "sq-compose";
|
|
@@ -132302,7 +132304,7 @@ class hut extends dut.ExpressionDef {
|
|
|
132302
132304
|
IE.ExprGranularTime = hut;
|
|
132303
132305
|
Object.defineProperty(nR, "__esModule", { value: !0 });
|
|
132304
132306
|
nR.Apply = void 0;
|
|
132305
|
-
const put =
|
|
132307
|
+
const put = zo, mut = hE, VV = IE;
|
|
132306
132308
|
class gut extends put.ExprCompare {
|
|
132307
132309
|
constructor(e, r) {
|
|
132308
132310
|
super(e, "=", r), this.left = e, this.right = r, this.elementType = "apply";
|
|
@@ -133904,7 +133906,7 @@ h3.pluralMap = {
|
|
|
133904
133906
|
minutes: "minute",
|
|
133905
133907
|
seconds: "second"
|
|
133906
133908
|
};
|
|
133907
|
-
var vR = {},
|
|
133909
|
+
var vR = {}, Go = {}, CR = {};
|
|
133908
133910
|
Object.defineProperty(CR, "__esModule", { value: !0 });
|
|
133909
133911
|
CR.QueryInputSpace = void 0;
|
|
133910
133912
|
const Nlt = Ki, Llt = v2;
|
|
@@ -133962,8 +133964,8 @@ var $lt = T && T.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
|
133962
133964
|
return Blt(r, e), r;
|
|
133963
133965
|
};
|
|
133964
133966
|
}();
|
|
133965
|
-
Object.defineProperty(
|
|
133966
|
-
|
|
133967
|
+
Object.defineProperty(Go, "__esModule", { value: !0 });
|
|
133968
|
+
Go.ReduceFieldSpace = Go.QuerySpace = Go.QueryOperationSpace = void 0;
|
|
133967
133969
|
const fS = klt(Ve), p7 = C2, Gce = Vl, rY = _r, Plt = ct, Mlt = v2, jlt = TE, Ult = Rr, qlt = CR, zd = Mt, Hlt = xd;
|
|
133968
133970
|
class Wce extends Mlt.RefinedSpace {
|
|
133969
133971
|
get fieldUsage() {
|
|
@@ -134063,7 +134065,7 @@ class Wce extends Mlt.RefinedSpace {
|
|
|
134063
134065
|
return r;
|
|
134064
134066
|
}
|
|
134065
134067
|
}
|
|
134066
|
-
|
|
134068
|
+
Go.QueryOperationSpace = Wce;
|
|
134067
134069
|
class Vce extends Wce {
|
|
134068
134070
|
addRefineFromFields(e) {
|
|
134069
134071
|
var r;
|
|
@@ -134149,13 +134151,13 @@ class Vce extends Wce {
|
|
|
134149
134151
|
return !0;
|
|
134150
134152
|
}
|
|
134151
134153
|
}
|
|
134152
|
-
|
|
134154
|
+
Go.QuerySpace = Vce;
|
|
134153
134155
|
class Qlt extends Vce {
|
|
134154
134156
|
constructor() {
|
|
134155
134157
|
super(...arguments), this.segmentType = "reduce";
|
|
134156
134158
|
}
|
|
134157
134159
|
}
|
|
134158
|
-
|
|
134160
|
+
Go.ReduceFieldSpace = Qlt;
|
|
134159
134161
|
function zlt(t) {
|
|
134160
134162
|
return typeof t != "string" && t.type === "turtle" && t.pipeline.length === 0;
|
|
134161
134163
|
}
|
|
@@ -134188,7 +134190,7 @@ var Glt = T && T.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
|
134188
134190
|
}();
|
|
134189
134191
|
Object.defineProperty(vR, "__esModule", { value: !0 });
|
|
134190
134192
|
vR.ExprUngroup = void 0;
|
|
134191
|
-
const iY = Ve, Ylt =
|
|
134193
|
+
const iY = Ve, Ylt = Go, Klt = b2, sY = Vlt(Xt), Jlt = lt;
|
|
134192
134194
|
class Xlt extends Jlt.ExpressionDef {
|
|
134193
134195
|
constructor(e, r, i) {
|
|
134194
134196
|
super({ expr: r, fields: i }), this.control = e, this.expr = r, this.fields = i, this.legalChildTypes = sY.anyAtomicT, this.elementType = "ungroup";
|
|
@@ -135099,7 +135101,7 @@ ME.SampleProperty = Sct;
|
|
|
135099
135101
|
var PR = {};
|
|
135100
135102
|
Object.defineProperty(PR, "__esModule", { value: !0 });
|
|
135101
135103
|
PR.IndexFieldSpace = void 0;
|
|
135102
|
-
const bct = Mt, pY = Ve, y7 = ct, Tct = _r, Rct =
|
|
135104
|
+
const bct = Mt, pY = Ve, y7 = ct, Tct = _r, Rct = Go, Dct = b2, Oct = Rr;
|
|
135103
135105
|
class wct extends Rct.QueryOperationSpace {
|
|
135104
135106
|
constructor() {
|
|
135105
135107
|
super(...arguments), this.segmentType = "index";
|
|
@@ -135177,7 +135179,7 @@ class wct extends Rct.QueryOperationSpace {
|
|
|
135177
135179
|
PR.IndexFieldSpace = wct;
|
|
135178
135180
|
Object.defineProperty(kR, "__esModule", { value: !0 });
|
|
135179
135181
|
kR.IndexBuilder = void 0;
|
|
135180
|
-
const E7 = Ve, Fct = ri, Nct =
|
|
135182
|
+
const E7 = Ve, Fct = ri, Nct = ru, Lct = PE, Ict = Hc, $ct = ME, Bct = PR, A7 = Mt;
|
|
135181
135183
|
class kct {
|
|
135182
135184
|
constructor(e, r, i, s) {
|
|
135183
135185
|
this.filters = [], this.alwaysJoins = [], this.requiredGroupBys = [], this.type = "index", this.resultFS = new Bct.IndexFieldSpace(e, r, i, s), this.inputFS = this.resultFS.inputSpace();
|
|
@@ -135212,7 +135214,7 @@ jE.GroupBy = Mct;
|
|
|
135212
135214
|
var jR = {};
|
|
135213
135215
|
Object.defineProperty(jR, "__esModule", { value: !0 });
|
|
135214
135216
|
jR.ProjectFieldSpace = void 0;
|
|
135215
|
-
const m_ = Ve, jct =
|
|
135217
|
+
const m_ = Ve, jct = Go;
|
|
135216
135218
|
class Uct extends jct.QuerySpace {
|
|
135217
135219
|
constructor() {
|
|
135218
135220
|
super(...arguments), this.segmentType = "project";
|
|
@@ -135255,7 +135257,7 @@ class zct extends Yce.ListOf {
|
|
|
135255
135257
|
Sx.Ordering = zct;
|
|
135256
135258
|
Object.defineProperty(sc, "__esModule", { value: !0 });
|
|
135257
135259
|
sc.ReduceBuilder = sc.QuerySegmentBuilder = void 0;
|
|
135258
|
-
const
|
|
135260
|
+
const Ro = Ve, Gct = ri, Wct = Vl, Vct = Hc, Yct = Sx, Kct = Go, Jct = ks, Xct = Mt;
|
|
135259
135261
|
function yY(t) {
|
|
135260
135262
|
return t.type === "fieldref" ? t.path[t.path.length - 1] : t.name;
|
|
135261
135263
|
}
|
|
@@ -135278,7 +135280,7 @@ class Kce {
|
|
|
135278
135280
|
e && e.type !== "index" && e.type !== "raw" && (!this.limit && e.orderBy && !e.defaultOrderBy && (r.orderBy = e.orderBy), !this.limit && e.limit && (r.limit = e.limit)), this.order && (r.orderBy = this.order.getOrderBy(this.inputFS), delete r.defaultOrderBy), this.limit && (r.limit = this.limit);
|
|
135279
135281
|
const s = (e == null ? void 0 : e.filterList) || [];
|
|
135280
135282
|
this.filters.length > 0 && !s ? r.filterList = this.filters : s && (r.filterList = [...s, ...this.filters]), this.alwaysJoins.length > 0 && (r.alwaysJoins = [...this.alwaysJoins]);
|
|
135281
|
-
const o = e && (0,
|
|
135283
|
+
const o = e && (0, Ro.isQuerySegment)(e) ? (i = e.fieldUsage) !== null && i !== void 0 ? i : [] : [];
|
|
135282
135284
|
r.fieldUsage = (0, Xct.mergeFieldUsage)(o, this.fieldUsage);
|
|
135283
135285
|
}
|
|
135284
135286
|
}
|
|
@@ -135290,7 +135292,7 @@ class Zct extends Kce {
|
|
|
135290
135292
|
finalize(e) {
|
|
135291
135293
|
let r;
|
|
135292
135294
|
if (e)
|
|
135293
|
-
if ((0,
|
|
135295
|
+
if ((0, Ro.isReduceSegment)(e) || (0, Ro.isPartialSegment)(e))
|
|
135294
135296
|
r = e;
|
|
135295
135297
|
else
|
|
135296
135298
|
return this.resultFS.logError("incompatible-segment-for-reduce-refinement", `Can't refine reduce with ${e.type}`), Gct.ErrorFactory.reduceSegment;
|
|
@@ -135311,16 +135313,16 @@ class Zct extends Kce {
|
|
|
135311
135313
|
const f = o.path.map((h) => new Wct.FieldName(h)), x = this.inputFS.lookup(f).found;
|
|
135312
135314
|
if (x) {
|
|
135313
135315
|
const h = x.typeDesc();
|
|
135314
|
-
l = h.type, u = (0,
|
|
135316
|
+
l = h.type, u = (0, Ro.expressionIsAggregate)(h.expressionType), a = (0, Ro.expressionIsAnalytic)(h.expressionType);
|
|
135315
135317
|
} else
|
|
135316
135318
|
continue;
|
|
135317
135319
|
} else
|
|
135318
|
-
l = o.type, u = (0,
|
|
135319
|
-
if ((0,
|
|
135320
|
+
l = o.type, u = (0, Ro.hasExpression)(o) && (0, Ro.expressionIsAggregate)(o.expressionType), a = (0, Ro.hasExpression)(o) && (0, Ro.expressionIsAnalytic)(o.expressionType);
|
|
135321
|
+
if ((0, Ro.isTemporalType)(l) || u) {
|
|
135320
135322
|
i.defaultOrderBy = !0, i.orderBy = [{ field: c, dir: "desc" }], s = void 0;
|
|
135321
135323
|
break;
|
|
135322
135324
|
}
|
|
135323
|
-
(0,
|
|
135325
|
+
(0, Ro.canOrderBy)(l) && !a && !s && (s = c);
|
|
135324
135326
|
}
|
|
135325
135327
|
s && (i.defaultOrderBy = !0, i.orderBy = [{ field: s, dir: "asc" }]);
|
|
135326
135328
|
}
|
|
@@ -135511,7 +135513,7 @@ var Cft = T && T.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
|
135511
135513
|
}();
|
|
135512
135514
|
Object.defineProperty(Bn, "__esModule", { value: !0 });
|
|
135513
135515
|
Bn.FieldDefinitionValue = Bn.DimensionFieldDeclaration = Bn.MeasureFieldDeclaration = Bn.DeclareFieldDeclaration = Bn.ProjectFieldDeclaration = Bn.GroupByFieldDeclaration = Bn.AggregateFieldDeclaration = Bn.CalculateFieldDeclaration = Bn.AtomicFieldDeclaration = void 0;
|
|
135514
|
-
const xN = Ve, _Y = bft(Xt), Tft = hE, Rft = Xe, pd =
|
|
135516
|
+
const xN = Ve, _Y = bft(Xt), Tft = hE, Rft = Xe, pd = Eu, Dft = as, Oft = _r, vY = qR;
|
|
135515
135517
|
class zc extends Rft.MalloyElement {
|
|
135516
135518
|
constructor(e, r, i) {
|
|
135517
135519
|
super({ expr: e }), this.expr = e, this.defineName = r, this.exprSrc = i, this.isNoteableObj = !0, this.extendNote = Dft.extendNoteMethod;
|
|
@@ -135745,7 +135747,7 @@ ls.idToStr = rfe;
|
|
|
135745
135747
|
ls.getOptionalId = Kft;
|
|
135746
135748
|
ls.unIndent = sfe;
|
|
135747
135749
|
ls.getPlainString = Xft;
|
|
135748
|
-
const Xce =
|
|
135750
|
+
const Xce = Zo;
|
|
135749
135751
|
function Zce(t) {
|
|
135750
135752
|
var e, r;
|
|
135751
135753
|
const i = ((e = t.DQ_STRING()) === null || e === void 0 ? void 0 : e.text) || ((r = t.SQ_STRING()) === null || r === void 0 ? void 0 : r.text);
|
|
@@ -135956,7 +135958,7 @@ B0.TableFunctionSource = sxt;
|
|
|
135956
135958
|
var WR = {};
|
|
135957
135959
|
Object.defineProperty(WR, "__esModule", { value: !0 });
|
|
135958
135960
|
WR.SQLString = void 0;
|
|
135959
|
-
const oxt = Xe, afe =
|
|
135961
|
+
const oxt = Xe, afe = Au;
|
|
135960
135962
|
class uxt extends oxt.MalloyElement {
|
|
135961
135963
|
constructor() {
|
|
135962
135964
|
super(...arguments), this.elementType = "sqlString", this.elements = [], this.containsQueries = !1;
|
|
@@ -135998,7 +136000,7 @@ VR.SourceDesc = cxt;
|
|
|
135998
136000
|
var nP = {};
|
|
135999
136001
|
Object.defineProperty(nP, "__esModule", { value: !0 });
|
|
136000
136002
|
nP.isSourceProperty = Axt;
|
|
136001
|
-
const fxt =
|
|
136003
|
+
const fxt = ru, xxt = qc, dxt = T2, hxt = rc, pxt = R2, mxt = D2, gxt = O2, yxt = nc, Ext = Ki;
|
|
136002
136004
|
function Axt(t) {
|
|
136003
136005
|
return t instanceof fxt.Filter || t instanceof Ext.JoinStatement || t instanceof xxt.DeclareFields || t instanceof dxt.FieldListEdit || t instanceof hxt.Renames || t instanceof pxt.PrimaryKey || t instanceof yxt.ObjectAnnotation || t instanceof mxt.Views || t instanceof gxt.TimezoneStatement;
|
|
136004
136006
|
}
|
|
@@ -136034,7 +136036,7 @@ function Nxt(t) {
|
|
|
136034
136036
|
var uP = {};
|
|
136035
136037
|
Object.defineProperty(uP, "__esModule", { value: !0 });
|
|
136036
136038
|
uP.isFieldPropStatement = Pxt;
|
|
136037
|
-
const Lxt = ic, Ixt =
|
|
136039
|
+
const Lxt = ic, Ixt = ru, $xt = Hc, Bxt = B2, kxt = $2;
|
|
136038
136040
|
function Pxt(t) {
|
|
136039
136041
|
return t instanceof Ixt.Filter || t instanceof $xt.Limit || t instanceof kxt.PartitionBy || t instanceof Lxt.FunctionOrdering || t instanceof Bxt.GroupedBy;
|
|
136040
136042
|
}
|
|
@@ -136050,7 +136052,7 @@ function Pxt(t) {
|
|
|
136050
136052
|
}), r = T && T.__exportStar || function(i, s) {
|
|
136051
136053
|
for (var o in i) o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, i, o);
|
|
136052
136054
|
};
|
|
136053
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), r(f3, t), r(fp, t), r(xp, t), r(yo, t), r(SE, t), r(
|
|
136055
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), r(f3, t), r(fp, t), r(xp, t), r(yo, t), r(SE, t), r(Au, t), r(YT, t), r(KT, t), r(XT, t), r(wE, t), r(ZT, t), r(eR, t), r(jo, t), r(T2, t), r(R2, t), r(rc, t), r(D2, t), r(O2, t), r(nR, t), r(L2, t), r(AE, t), r(dp, t), r(ic, t), r(rR, t), r(Yl, t), r(iR, t), r(I2, t), r(sR, t), r(oR, t), r(uR, t), r(zo, t), r(aR, t), r(lR, t), r(cR, t), r($E, t), r(IE, t), r(Mc, t), r(fR, t), r(xR, t), r(dR, t), r(hR, t), r(pR, t), r(mR, t), r(gR, t), r(I0, t), r(vE, t), r(yR, t), r(CE, t), r(ER, t), r(EE, t), r(AR, t), r(_R, t), r(vR, t), r(SR, t), r($n, t), r(bR, t), r($2, t), r(B2, t), r(hp, t), r(pp, t), r(TR, t), r(Cx, t), r(jc, t), r(RR, t), r(BE, t), r($0, t), r(p3, t), r(DR, t), r(wR, t), r(FR, t), r(F2, t), r(w2, t), r(Qc, t), r(NR, t), r(LR, t), r($R, t), r(BR, t), r(Bn, t), r(ct, t), r(HR, t), r(QR, t), r(qc, t), r(UE, t), r(p3, t), r(ru, t), r(Ol, t), r(jE, t), r(PE, t), r(Ki, t), r(cE, t), r(Hc, t), r(qE, t), r(f3, t), r(zR, t), r(Sx, t), r(GR, t), r(kE, t), r(ME, t), r(N2, t), r(dd, t), r(LE, t), r(B0, t), r(WR, t), r(nc, t), r(Pc, t), r(VR, t), r(nP, t), r(lt, t), r(rP, t), r(Vl, t), r(Xe, t), r(iP, t), r(lfe, t), r(sP, t), r(oP, t), r(uP, t), r(GT, t);
|
|
136054
136056
|
})(lE);
|
|
136055
136057
|
var YR = {}, Mxt = T && T.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
136056
136058
|
i === void 0 && (i = r);
|
|
@@ -136081,7 +136083,7 @@ var YR = {}, Mxt = T && T.__createBinding || (Object.create ? function(t, e, r,
|
|
|
136081
136083
|
}();
|
|
136082
136084
|
Object.defineProperty(YR, "__esModule", { value: !0 });
|
|
136083
136085
|
YR.MalloyToAST = void 0;
|
|
136084
|
-
const OY = d2, qxt = Kp, ie = Uxt(lE), v7 = A2, wY = yr, Hxt = lE, Nn = ls, g_ = Ve, Qxt =
|
|
136086
|
+
const OY = d2, qxt = Kp, ie = Uxt(lE), v7 = A2, wY = yr, Hxt = lE, Nn = ls, g_ = Ve, Qxt = Zo, FY = Pi, zxt = oE;
|
|
136085
136087
|
class NY extends ie.SourceQueryElement {
|
|
136086
136088
|
constructor() {
|
|
136087
136089
|
super(...arguments), this.elementType = "parseErrorSourceQuery";
|
|
@@ -138563,7 +138565,7 @@ F.MatrixOperationContext = F.IsExploreContext = F.JoinListContext = F.QueryExten
|
|
|
138563
138565
|
F.CompareOpContext = F.MalloyTypeContext = F.AggregateContext = F.SampleSpecContext = F.QueryAnnotationContext = F.TimezoneStatementContext = F.SampleStatementContext = F.IndexStatementContext = F.IndexFieldsContext = F.IndexElementContext = F.TopStatementContext = F.BySpecContext = F.LimitStatementContext = F.OrderBySpecContext = F.OrderingContext = F.OrderByStatementContext = F.GroupedByStatementContext = F.PartitionByStatementContext = F.ProjectStatementContext = F.CalculateStatementContext = F.AggregateStatementContext = F.NestDefContext = F.NestEntryContext = F.NestedQueryListContext = F.NestStatementContext = F.QueryFieldEntryContext = F.QueryFieldListContext = F.GroupByStatementContext = F.QueryJoinStatementContext = F.QueryStatementContext = F.DrillClauseListContext = F.DrillStatementContext = F.ExploreQueryDefContext = F.ExploreQueryNameDefContext = F.SubQueryDefListContext = F.HavingStatementContext = F.WhereStatementContext = F.FilterClauseListContext = F.FieldPropertyStatementContext = F.FieldPropertyLimitStatementContext = F.AggregateOrderByStatementContext = F.AggregateOrderBySpecContext = F.AggregateOrderingContext = F.FieldPropertiesContext = F.FilterStatementContext = F.JoinExpressionContext = F.JoinOnContext = F.JoinWithContext = F.JoinDefContext = F.JoinFromContext = void 0;
|
|
138564
138566
|
F.ExprApplyContext = F.ExprWarnInContext = F.ExprNullCheckContext = F.ExprWarnLikeContext = F.ExprCompareContext = F.ExprOrTreeContext = F.ExprAndTreeContext = F.ExprForRangeContext = F.ExprRangeContext = F.ExprAddSubContext = F.ExprMulDivContext = F.ExprMinusContext = F.ExprSafeCastContext = F.ExprCastContext = F.ExprTimeTruncContext = F.ExprDurationContext = F.ExprFieldPropsContext = F.ExprLiteralRecordContext = F.ExprArrayLiteralContext = F.ExprLiteralContext = F.ExprFieldPathContext = F.FieldExprContext = F.MalloyOrSQLTypeContext = F.UngroupContext = F.TimeframeContext = F.IdContext = F.TableURIContext = F.TablePathContext = F.LiteralYearContext = F.LiteralQuarterContext = F.LiteralMonthContext = F.LiteralWeekContext = F.LiteralDayContext = F.LiteralHourContext = F.LiteralTimestampContext = F.DateLiteralContext = F.ExprNowContext = F.FilterString_stubContext = F.ExprRegexContext = F.ExprBoolContext = F.ExprNULLContext = F.ExprTimeContext = F.ExprNumberContext = F.Stub_rawStringContext = F.ExprStringContext = F.LiteralContext = F.NumericLiteralContext = F.RawStringContext = F.ShortStringContext = F.StringContext = void 0;
|
|
138565
138567
|
F.ExperimentalStatementForTestingContext = F.DebugPartialContext = F.DebugExprContext = F.FilterStringContext = F.TickFilterStringContext = F.TripFilterStringContext = F.ConnectionNameContext = F.NameSQLBlockContext = F.SqlExploreNameRefContext = F.FieldNameContext = F.JoinNameContext = F.FieldPathContext = F.CollectionMemberContext = F.RefExprContext = F.TaggedRefContext = F.StarQualifiedContext = F.CollectionWildCardContext = F.FieldCollectionContext = F.FieldNameListContext = F.ArgumentListContext = F.RecordExprContext = F.RecordRefContext = F.RecordElementContext = F.RecordKeyContext = F.CaseWhenContext = F.CaseStatementContext = F.PickContext = F.PickStatementContext = F.FieldExprListContext = F.PartialAllowedFieldExprContext = F.PartialTestContext = F.PartialCompareContext = F.ExprUngroupContext = F.ExprCaseContext = F.ExprPickContext = F.ExprFuncContext = F.ExprAggFuncContext = F.ExprExprContext = F.ExprAggregateContext = F.ExprPathlessAggregateContext = F.ExprCoalesceContext = F.ExprLogicalOrContext = F.ExprLogicalAndContext = F.ExprNotContext = void 0;
|
|
138566
|
-
const qt =
|
|
138568
|
+
const qt = gu(), Rdt = a2(), Ddt = Lc, Yt = Gy(), Odt = f2(), pe = mo(), wdt = u2(), he = po, Ln = rn, Fdt = Ls, ffe = Tdt(vn);
|
|
138567
138569
|
class d extends Odt.Parser {
|
|
138568
138570
|
// @Override
|
|
138569
138571
|
// @NotNull
|
|
@@ -151119,7 +151121,7 @@ var Hdt = T && T.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
|
151119
151121
|
}();
|
|
151120
151122
|
Object.defineProperty(N0, "__esModule", { value: !0 });
|
|
151121
151123
|
N0.MalloyTranslator = N0.MalloyChildTranslator = N0.MalloyTranslation = void 0;
|
|
151122
|
-
const Gdt = Ve, ide = zdt(lE), Wdt = YR, kY = A2, Vdt = k2, S7 = KR, Ydt = aP, Kdt = lP, Jdt = cP, Xdt = HE, IS = fP, pN = Pi, Zdt =
|
|
151124
|
+
const Gdt = Ve, ide = zdt(lE), Wdt = YR, kY = A2, Vdt = k2, S7 = KR, Ydt = aP, Kdt = lP, Jdt = cP, Xdt = HE, IS = fP, pN = Pi, Zdt = Zo, eht = xP, tht = dP, nht = $s, rht = JR;
|
|
151123
151125
|
class iht {
|
|
151124
151126
|
step(e) {
|
|
151125
151127
|
if (this.response)
|
|
@@ -151672,7 +151674,7 @@ Xl.modelDefToModelInfo = mht;
|
|
|
151672
151674
|
Xl.convertFieldInfos = Ap;
|
|
151673
151675
|
Xl.writeLiteralToTag = xde;
|
|
151674
151676
|
Xl.getResultStructMetadataAnnotation = $S;
|
|
151675
|
-
const Gs = ni, mN =
|
|
151677
|
+
const Gs = ni, mN = nu, LM = $s, ade = Zo;
|
|
151676
151678
|
function lde(t) {
|
|
151677
151679
|
var e;
|
|
151678
151680
|
const r = t.parameters && Object.entries(t.parameters).length > 0 ? Object.entries(t.parameters).map(([s, o]) => (0, Gs.isAtomic)(o) ? {
|
|
@@ -151996,7 +151998,7 @@ function Aht(t) {
|
|
|
151996
151998
|
}
|
|
151997
151999
|
(function(t) {
|
|
151998
152000
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.DEFAULT_LOG_RANGE = void 0, t.wrapLegacyInfoConnection = u, t.wrapLegacyConnection = a, t.mapData = c, t.wrapResult = f, t.nodeToLiteralValue = x, t.mapLogs = h;
|
|
151999
|
-
const e =
|
|
152001
|
+
const e = Zo, r = $s, i = ni, s = Xl, o = aE;
|
|
152000
152002
|
function u(p) {
|
|
152001
152003
|
return {
|
|
152002
152004
|
get dialectName() {
|
|
@@ -152830,7 +152832,7 @@ function Oht(t) {
|
|
|
152830
152832
|
var Fe = {}, SD = {};
|
|
152831
152833
|
Object.defineProperty(SD, "__esModule", { value: !0 });
|
|
152832
152834
|
SD.MALLOY_VERSION = void 0;
|
|
152833
|
-
SD.MALLOY_VERSION = "0.0.
|
|
152835
|
+
SD.MALLOY_VERSION = "0.0.284";
|
|
152834
152836
|
Object.defineProperty(Fe, "__esModule", { value: !0 });
|
|
152835
152837
|
Fe.InMemoryModelCache = Fe.CacheManager = Fe.CSVWriter = Fe.JSONWriter = Fe.DataWriter = Fe.DataRecord = Fe.DataArray = Fe.Result = Fe.ExploreMaterializer = Fe.PreparedResultMaterializer = Fe.QueryMaterializer = Fe.ModelMaterializer = Fe.SingleConnectionRuntime = Fe.ConnectionRuntime = Fe.Runtime = Fe.ExploreField = Fe.JoinRelationship = Fe.QueryField = Fe.Query = Fe.StringField = Fe.UnsupportedField = Fe.JSONField = Fe.BooleanField = Fe.NumberField = Fe.TimestampField = Fe.DateField = Fe.TimestampTimeframe = Fe.DateTimeframe = Fe.AtomicField = Fe.AtomicFieldType = Fe.Explore = Fe.SourceRelationship = Fe.FixedConnectionMap = Fe.InMemoryURLReader = Fe.EmptyURLReader = Fe.PreparedResult = Fe.DocumentCompletion = Fe.DocumentSymbol = Fe.DocumentPosition = Fe.DocumentRange = Fe.DocumentTablePath = Fe.Parse = Fe.PreparedQuery = Fe.Model = Fe.MalloyError = Fe.Malloy = void 0;
|
|
152836
152838
|
const jY = UT, zr = ni, UY = aE, T7 = y2, wht = SD, Fht = E2, Dn = $s, Nht = hd, Lht = Pi, Iht = HE, qY = "internal://internal.malloy";
|
|
@@ -155319,7 +155321,7 @@ ii.compileSource = ipt;
|
|
|
155319
155321
|
ii.hasErrors = opt;
|
|
155320
155322
|
ii.newCompileQueryState = Gde;
|
|
155321
155323
|
ii.statedCompileQuery = Wde;
|
|
155322
|
-
const Vht = Wht(up), Yht = UT, cv = ni, Bde = Xl, kde = hd, QY = $s, zY =
|
|
155324
|
+
const Vht = Wht(up), Yht = UT, cv = ni, Bde = Xl, kde = hd, QY = $s, zY = Zo, b0 = XE;
|
|
155323
155325
|
function Pde(t, e) {
|
|
155324
155326
|
return `${t}:${e}`;
|
|
155325
155327
|
}
|
|
@@ -155691,7 +155693,7 @@ Object.defineProperty(eA, "__esModule", { value: !0 });
|
|
|
155691
155693
|
eA.compileModel = dpt;
|
|
155692
155694
|
eA.compileSource = hpt;
|
|
155693
155695
|
eA.compileQuery = ppt;
|
|
155694
|
-
const lpt = Vde(up),
|
|
155696
|
+
const lpt = Vde(up), bu = Vde(ii), cpt = E2;
|
|
155695
155697
|
function fpt(t, e) {
|
|
155696
155698
|
return t.type === "compile_model" ? e.type !== "compile_model" ? !1 : t.modelURL === e.modelURL && t.extendModelURL === e.extendModelURL : t.type === "compile_source" ? e.type !== "compile_source" ? !1 : t.modelURL === e.modelURL && t.extendModelURL === e.extendModelURL && t.name === e.name : e.type !== "compile_query" ? !1 : t.modelURL === e.modelURL && t.queryString === e.queryString;
|
|
155697
155699
|
}
|
|
@@ -155720,7 +155722,7 @@ class xpt {
|
|
|
155720
155722
|
return e;
|
|
155721
155723
|
}
|
|
155722
155724
|
newCompileModelSession(e, r, i) {
|
|
155723
|
-
const s = i != null && i.ttl ? this.getExpires(i.ttl) : void 0, o =
|
|
155725
|
+
const s = i != null && i.ttl ? this.getExpires(i.ttl) : void 0, o = bu.newCompileModelState(e);
|
|
155724
155726
|
return {
|
|
155725
155727
|
type: "compile_model",
|
|
155726
155728
|
sessionInfo: r,
|
|
@@ -155730,7 +155732,7 @@ class xpt {
|
|
|
155730
155732
|
};
|
|
155731
155733
|
}
|
|
155732
155734
|
newCompileSourceSession(e, r, i) {
|
|
155733
|
-
const s = i != null && i.ttl ? this.getExpires(i.ttl) : void 0, o =
|
|
155735
|
+
const s = i != null && i.ttl ? this.getExpires(i.ttl) : void 0, o = bu.newCompileSourceState(e);
|
|
155734
155736
|
return {
|
|
155735
155737
|
type: "compile_source",
|
|
155736
155738
|
sessionInfo: r,
|
|
@@ -155740,7 +155742,7 @@ class xpt {
|
|
|
155740
155742
|
};
|
|
155741
155743
|
}
|
|
155742
155744
|
newCompileQuerySession(e, r, i) {
|
|
155743
|
-
const s = i != null && i.ttl ? this.getExpires(i.ttl) : void 0, o =
|
|
155745
|
+
const s = i != null && i.ttl ? this.getExpires(i.ttl) : void 0, o = bu.newCompileQueryState(e);
|
|
155744
155746
|
return {
|
|
155745
155747
|
type: "compile_query",
|
|
155746
155748
|
sessionInfo: r,
|
|
@@ -155758,7 +155760,7 @@ class xpt {
|
|
|
155758
155760
|
this.sessions.delete(e);
|
|
155759
155761
|
}
|
|
155760
155762
|
hasErrors(e) {
|
|
155761
|
-
return
|
|
155763
|
+
return bu.hasErrors(e);
|
|
155762
155764
|
}
|
|
155763
155765
|
compileModel(e, r) {
|
|
155764
155766
|
const i = {
|
|
@@ -155767,8 +155769,8 @@ class xpt {
|
|
|
155767
155769
|
extendModelURL: e.extend_model_url
|
|
155768
155770
|
};
|
|
155769
155771
|
let s = (r == null ? void 0 : r.session_id) && this.findCompileModelSession(r.session_id, i);
|
|
155770
|
-
this.purgeExpired({ except: r == null ? void 0 : r.session_id }), s ? (r != null && r.ttl && (s.expires = this.getExpires(r.ttl)),
|
|
155771
|
-
const o =
|
|
155772
|
+
this.purgeExpired({ except: r == null ? void 0 : r.session_id }), s ? (r != null && r.ttl && (s.expires = this.getExpires(r.ttl)), bu.updateCompileModelState(s.state, e.compiler_needs)) : (s = this.newCompileModelSession(e, i, r), this.sessions.set(s.sessionId, s));
|
|
155773
|
+
const o = bu.statedCompileModel(s.state);
|
|
155772
155774
|
return (o.model || this.hasErrors(o.logs)) && this.killSession(s.sessionId), { ...o, session_id: s.sessionId };
|
|
155773
155775
|
}
|
|
155774
155776
|
findCompileSourceSession(e, r) {
|
|
@@ -155784,8 +155786,8 @@ class xpt {
|
|
|
155784
155786
|
extendModelURL: e.extend_model_url
|
|
155785
155787
|
};
|
|
155786
155788
|
let s = (r == null ? void 0 : r.session_id) && this.findCompileSourceSession(r.session_id, i);
|
|
155787
|
-
this.purgeExpired({ except: r == null ? void 0 : r.session_id }), s ? (r != null && r.ttl && (s.expires = this.getExpires(r.ttl)),
|
|
155788
|
-
const o =
|
|
155789
|
+
this.purgeExpired({ except: r == null ? void 0 : r.session_id }), s ? (r != null && r.ttl && (s.expires = this.getExpires(r.ttl)), bu.updateCompileModelState(s.state, e.compiler_needs)) : (s = this.newCompileSourceSession(e, i, r), this.sessions.set(s.sessionId, s));
|
|
155790
|
+
const o = bu.statedCompileSource(s.state, e.name);
|
|
155789
155791
|
return (o.source || this.hasErrors(o.logs)) && this.killSession(s.sessionId), { ...o, session_id: s.sessionId };
|
|
155790
155792
|
}
|
|
155791
155793
|
findCompileQuerySession(e, r) {
|
|
@@ -155801,8 +155803,8 @@ class xpt {
|
|
|
155801
155803
|
query: e.query
|
|
155802
155804
|
};
|
|
155803
155805
|
let o = (r == null ? void 0 : r.session_id) && this.findCompileQuerySession(r.session_id, s);
|
|
155804
|
-
this.purgeExpired({ except: r == null ? void 0 : r.session_id }), o ? (r != null && r.ttl && (o.expires = this.getExpires(r.ttl)),
|
|
155805
|
-
const u =
|
|
155806
|
+
this.purgeExpired({ except: r == null ? void 0 : r.session_id }), o ? (r != null && r.ttl && (o.expires = this.getExpires(r.ttl)), bu.updateCompileModelState(o.state, e.compiler_needs)) : (o = this.newCompileQuerySession(e, s, r), this.sessions.set(o.sessionId, o));
|
|
155807
|
+
const u = bu.statedCompileQuery(o.state);
|
|
155806
155808
|
return (u.result || this.hasErrors(u.logs)) && this.killSession(o.sessionId), { ...u, session_id: o.sessionId };
|
|
155807
155809
|
}
|
|
155808
155810
|
}
|