@malloydata/render 0.0.226-dev250113222119 → 0.0.226-dev250113232418
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 +12960 -13205
- package/dist/module/index.umd.js +248 -248
- package/dist/register/register.mjs +713 -716
- package/dist/register/register.umd.js +54 -54
- package/dist/webcomponent/malloy-render.mjs +713 -716
- package/dist/webcomponent/malloy-render.umd.js +54 -54
- package/package.json +2 -2
|
@@ -137,7 +137,7 @@ function Q$(t, e = {}, n = {}) {
|
|
|
137
137
|
const xce = {
|
|
138
138
|
context: void 0,
|
|
139
139
|
registry: void 0
|
|
140
|
-
}, dce = (t, e) => t === e,
|
|
140
|
+
}, dce = (t, e) => t === e, Nu = Symbol("solid-proxy"), HO = Symbol("solid-track"), HA = {
|
|
141
141
|
equals: dce
|
|
142
142
|
};
|
|
143
143
|
let TG = FG;
|
|
@@ -480,10 +480,10 @@ function Qy() {
|
|
|
480
480
|
}
|
|
481
481
|
const bce = {
|
|
482
482
|
get(t, e, n) {
|
|
483
|
-
return e ===
|
|
483
|
+
return e === Nu ? n : t.get(e);
|
|
484
484
|
},
|
|
485
485
|
has(t, e) {
|
|
486
|
-
return e ===
|
|
486
|
+
return e === Nu ? !0 : t.has(e);
|
|
487
487
|
},
|
|
488
488
|
set: Qy,
|
|
489
489
|
deleteProperty: Qy,
|
|
@@ -512,11 +512,11 @@ function Tce() {
|
|
|
512
512
|
return n;
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function Au(...t) {
|
|
516
516
|
let e = !1;
|
|
517
517
|
for (let o = 0; o < t.length; o++) {
|
|
518
518
|
const u = t[o];
|
|
519
|
-
e = e || !!u &&
|
|
519
|
+
e = e || !!u && Nu in u, t[o] = typeof u == "function" ? (e = !0, Pn(u)) : u;
|
|
520
520
|
}
|
|
521
521
|
if (e)
|
|
522
522
|
return new Proxy(
|
|
@@ -3645,8 +3645,10 @@ ${" ".repeat(this.parseCursor)}^`;
|
|
|
3645
3645
|
if (o) {
|
|
3646
3646
|
r = !1;
|
|
3647
3647
|
let u = o[0];
|
|
3648
|
+
const a = this.parseCursor;
|
|
3648
3649
|
if (this.parseCursor += u.length, i !== "space") {
|
|
3649
3650
|
i[0] === "q" && (u = u.slice(1, -1)), yield {
|
|
3651
|
+
cursor: a,
|
|
3650
3652
|
type: i === "char" ? u : i,
|
|
3651
3653
|
text: u
|
|
3652
3654
|
};
|
|
@@ -3655,7 +3657,7 @@ ${" ".repeat(this.parseCursor)}^`;
|
|
|
3655
3657
|
}
|
|
3656
3658
|
}
|
|
3657
3659
|
if (r) {
|
|
3658
|
-
yield { type: "unexpected token", text: e };
|
|
3660
|
+
yield { cursor: this.parseCursor, type: "unexpected token", text: e };
|
|
3659
3661
|
return;
|
|
3660
3662
|
}
|
|
3661
3663
|
}
|
|
@@ -3913,50 +3915,45 @@ class fxe extends ZG.TinyParser {
|
|
|
3913
3915
|
return e.text.toUpperCase();
|
|
3914
3916
|
}
|
|
3915
3917
|
typeDef() {
|
|
3916
|
-
const e = this.
|
|
3917
|
-
let
|
|
3918
|
-
if (
|
|
3919
|
-
this.next(),
|
|
3920
|
-
else if (
|
|
3921
|
-
this.peek().text === "WITH" && this.nextText("WITH", "TIME", "ZONE"),
|
|
3922
|
-
else if (ZO[
|
|
3923
|
-
|
|
3924
|
-
else if (
|
|
3925
|
-
for (this.next("("),
|
|
3926
|
-
const
|
|
3927
|
-
if (
|
|
3928
|
-
const
|
|
3929
|
-
|
|
3918
|
+
const e = this.next("id"), n = this.sqlID(e);
|
|
3919
|
+
let r;
|
|
3920
|
+
if (n === "VARCHAR" && this.peek().type === "size" && this.next(), (n === "DECIMAL" || n === "NUMERIC") && this.peek().type === "precision")
|
|
3921
|
+
this.next(), r = { type: "number", numberType: "float" };
|
|
3922
|
+
else if (n === "TIMESTAMP")
|
|
3923
|
+
this.peek().text === "WITH" && this.nextText("WITH", "TIME", "ZONE"), r = { type: "timestamp" };
|
|
3924
|
+
else if (ZO[n])
|
|
3925
|
+
r = ZO[n];
|
|
3926
|
+
else if (n === "STRUCT")
|
|
3927
|
+
for (this.next("("), r = { type: "record", fields: [] }; ; ) {
|
|
3928
|
+
const i = this.next();
|
|
3929
|
+
if (i.type === "qsingle" || i.type === "qdouble" || i.type === "id") {
|
|
3930
|
+
const s = this.typeDef();
|
|
3931
|
+
r.fields.push((0, yd.mkFieldDef)(s, this.unquoteName(i)));
|
|
3930
3932
|
} else {
|
|
3931
|
-
if (
|
|
3933
|
+
if (i.type !== ")")
|
|
3932
3934
|
throw this.parseError("Expected identifier or ) to end STRUCT");
|
|
3933
3935
|
break;
|
|
3934
3936
|
}
|
|
3935
3937
|
this.peek().type === "," && this.next();
|
|
3936
3938
|
}
|
|
3937
|
-
else if (
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
if (s.type === "arrayOf" || s.type === "eof")
|
|
3941
|
-
break;
|
|
3942
|
-
this.next();
|
|
3943
|
-
}
|
|
3944
|
-
i = {
|
|
3939
|
+
else if (e.type === "id") {
|
|
3940
|
+
let i = e.cursor + e.text.length;
|
|
3941
|
+
this.peek().type === "precision" && this.next(), this.peek().type === "eof" && (i = this.input.length), r = {
|
|
3945
3942
|
type: "sql native",
|
|
3946
|
-
rawType: this.input.slice(e,
|
|
3943
|
+
rawType: this.input.slice(e.cursor, i)
|
|
3947
3944
|
};
|
|
3948
3945
|
} else
|
|
3949
3946
|
throw this.parseError("Could not understand type");
|
|
3950
3947
|
for (; this.peek().type === "arrayOf"; )
|
|
3951
|
-
this.next(),
|
|
3948
|
+
this.next(), r.type === "record" ? r = {
|
|
3952
3949
|
type: "array",
|
|
3953
3950
|
elementTypeDef: { type: "record_element" },
|
|
3954
|
-
fields:
|
|
3955
|
-
} :
|
|
3951
|
+
fields: r.fields
|
|
3952
|
+
} : r = {
|
|
3956
3953
|
type: "array",
|
|
3957
|
-
elementTypeDef:
|
|
3954
|
+
elementTypeDef: r
|
|
3958
3955
|
};
|
|
3959
|
-
return
|
|
3956
|
+
return r;
|
|
3960
3957
|
}
|
|
3961
3958
|
}
|
|
3962
3959
|
(function(t) {
|
|
@@ -5575,9 +5572,9 @@ V5.MySQLDialect = Fxe;
|
|
|
5575
5572
|
};
|
|
5576
5573
|
Object.defineProperty(t, "__esModule", { value: !0 }), n(V5, t);
|
|
5577
5574
|
})(AN);
|
|
5578
|
-
var
|
|
5579
|
-
Object.defineProperty(
|
|
5580
|
-
|
|
5575
|
+
var vu = {};
|
|
5576
|
+
Object.defineProperty(vu, "__esModule", { value: !0 });
|
|
5577
|
+
vu.getDialects = vu.registerDialect = vu.getDialect = void 0;
|
|
5581
5578
|
const Lxe = mN, Ixe = gN, Bxe = yN, $xe = hN, nW = EN, kxe = AN, vN = /* @__PURE__ */ new Map();
|
|
5582
5579
|
function Pxe(t) {
|
|
5583
5580
|
const e = vN.get(t);
|
|
@@ -5585,15 +5582,15 @@ function Pxe(t) {
|
|
|
5585
5582
|
throw new Error(`Unknown Dialect ${t}`);
|
|
5586
5583
|
return e;
|
|
5587
5584
|
}
|
|
5588
|
-
|
|
5585
|
+
vu.getDialect = Pxe;
|
|
5589
5586
|
function J0(t) {
|
|
5590
5587
|
vN.set(t.name, t);
|
|
5591
5588
|
}
|
|
5592
|
-
|
|
5589
|
+
vu.registerDialect = J0;
|
|
5593
5590
|
function Mxe() {
|
|
5594
5591
|
return [...vN.values()];
|
|
5595
5592
|
}
|
|
5596
|
-
|
|
5593
|
+
vu.getDialects = Mxe;
|
|
5597
5594
|
J0(new Ixe.PostgresDialect());
|
|
5598
5595
|
J0(new $xe.StandardSQLDialect());
|
|
5599
5596
|
J0(new Lxe.DuckDBDialect());
|
|
@@ -5659,7 +5656,7 @@ J0(new kxe.MySQLDialect());
|
|
|
5659
5656
|
Object.defineProperty(t, "MySQLDialect", { enumerable: !0, get: function() {
|
|
5660
5657
|
return a.MySQLDialect;
|
|
5661
5658
|
} });
|
|
5662
|
-
var l =
|
|
5659
|
+
var l = vu;
|
|
5663
5660
|
Object.defineProperty(t, "getDialect", { enumerable: !0, get: function() {
|
|
5664
5661
|
return l.getDialect;
|
|
5665
5662
|
} }), Object.defineProperty(t, "registerDialect", { enumerable: !0, get: function() {
|
|
@@ -5975,7 +5972,7 @@ var en = {}, gl = {};
|
|
|
5975
5972
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
5976
5973
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
5977
5974
|
*/
|
|
5978
|
-
var
|
|
5975
|
+
var Vu = T && T.__decorate || function(t, e, n, r) {
|
|
5979
5976
|
var i = arguments.length, s = i < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, n) : r, o;
|
|
5980
5977
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
|
|
5981
5978
|
s = Reflect.decorate(t, e, n, r);
|
|
@@ -5986,7 +5983,7 @@ var Wu = T && T.__decorate || function(t, e, n, r) {
|
|
|
5986
5983
|
};
|
|
5987
5984
|
Object.defineProperty(jo, "__esModule", { value: !0 });
|
|
5988
5985
|
jo.TerminalNode = void 0;
|
|
5989
|
-
const zxe = dr,
|
|
5986
|
+
const zxe = dr, Yu = Ae, Qxe = en;
|
|
5990
5987
|
class Uo {
|
|
5991
5988
|
constructor(e) {
|
|
5992
5989
|
this._symbol = e;
|
|
@@ -6026,35 +6023,35 @@ class Uo {
|
|
|
6026
6023
|
return this._symbol.type === Qxe.Token.EOF ? "<EOF>" : this._symbol.text || "";
|
|
6027
6024
|
}
|
|
6028
6025
|
}
|
|
6029
|
-
|
|
6030
|
-
|
|
6026
|
+
Vu([
|
|
6027
|
+
Yu.Override
|
|
6031
6028
|
], Uo.prototype, "getChild", null);
|
|
6032
|
-
|
|
6033
|
-
|
|
6029
|
+
Vu([
|
|
6030
|
+
Yu.Override
|
|
6034
6031
|
], Uo.prototype, "parent", null);
|
|
6035
|
-
|
|
6036
|
-
|
|
6032
|
+
Vu([
|
|
6033
|
+
Yu.Override
|
|
6037
6034
|
], Uo.prototype, "setParent", null);
|
|
6038
|
-
|
|
6039
|
-
|
|
6035
|
+
Vu([
|
|
6036
|
+
Yu.Override
|
|
6040
6037
|
], Uo.prototype, "payload", null);
|
|
6041
|
-
|
|
6042
|
-
|
|
6038
|
+
Vu([
|
|
6039
|
+
Yu.Override
|
|
6043
6040
|
], Uo.prototype, "sourceInterval", null);
|
|
6044
|
-
|
|
6045
|
-
|
|
6041
|
+
Vu([
|
|
6042
|
+
Yu.Override
|
|
6046
6043
|
], Uo.prototype, "childCount", null);
|
|
6047
|
-
|
|
6048
|
-
|
|
6044
|
+
Vu([
|
|
6045
|
+
Yu.Override
|
|
6049
6046
|
], Uo.prototype, "accept", null);
|
|
6050
|
-
|
|
6051
|
-
|
|
6047
|
+
Vu([
|
|
6048
|
+
Yu.Override
|
|
6052
6049
|
], Uo.prototype, "text", null);
|
|
6053
|
-
|
|
6054
|
-
|
|
6050
|
+
Vu([
|
|
6051
|
+
Yu.Override
|
|
6055
6052
|
], Uo.prototype, "toStringTree", null);
|
|
6056
|
-
|
|
6057
|
-
|
|
6053
|
+
Vu([
|
|
6054
|
+
Yu.Override
|
|
6058
6055
|
], Uo.prototype, "toString", null);
|
|
6059
6056
|
jo.TerminalNode = Uo;
|
|
6060
6057
|
/*!
|
|
@@ -9353,7 +9350,7 @@ kW([
|
|
|
9353
9350
|
PW.Override
|
|
9354
9351
|
], Pg.prototype, "equals", null);
|
|
9355
9352
|
dx.ArrayEqualityComparator = Pg;
|
|
9356
|
-
var hx = {},
|
|
9353
|
+
var hx = {}, Ku = {}, Ju = {};
|
|
9357
9354
|
(function(t) {
|
|
9358
9355
|
/*!
|
|
9359
9356
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -9463,20 +9460,20 @@ var hx = {}, Yu = {}, Ku = {};
|
|
|
9463
9460
|
], r.prototype, "toString", null), t.ATNState = r, function(i) {
|
|
9464
9461
|
i.INVALID_STATE_NUMBER = -1;
|
|
9465
9462
|
}(r = t.ATNState || (t.ATNState = {}));
|
|
9466
|
-
})(
|
|
9463
|
+
})(Ju);
|
|
9467
9464
|
/*!
|
|
9468
9465
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
9469
9466
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
9470
9467
|
*/
|
|
9471
|
-
Object.defineProperty(
|
|
9472
|
-
|
|
9473
|
-
const Whe =
|
|
9468
|
+
Object.defineProperty(Ku, "__esModule", { value: !0 });
|
|
9469
|
+
Ku.DecisionState = void 0;
|
|
9470
|
+
const Whe = Ju;
|
|
9474
9471
|
class Vhe extends Whe.ATNState {
|
|
9475
9472
|
constructor() {
|
|
9476
9473
|
super(...arguments), this.decision = -1, this.nonGreedy = !1, this.sll = !1;
|
|
9477
9474
|
}
|
|
9478
9475
|
}
|
|
9479
|
-
|
|
9476
|
+
Ku.DecisionState = Vhe;
|
|
9480
9477
|
var S6 = {}, iS = {};
|
|
9481
9478
|
(function(t) {
|
|
9482
9479
|
/*!
|
|
@@ -10426,7 +10423,7 @@ var Mn = T && T.__decorate || function(t, e, n, r) {
|
|
|
10426
10423
|
};
|
|
10427
10424
|
Object.defineProperty(hx, "__esModule", { value: !0 });
|
|
10428
10425
|
hx.ATNConfig = void 0;
|
|
10429
|
-
const e2e = ml, t2e =
|
|
10426
|
+
const e2e = ml, t2e = Ku, va = Tn, Zt = Ae, n2e = bs, eP = Ho(), qc = px, tP = yi(), b6 = 2147483648;
|
|
10430
10427
|
let Ei = class $1 {
|
|
10431
10428
|
constructor(e, n, r) {
|
|
10432
10429
|
typeof n == "number" ? (tP((n & 16777215) === n), this._state = e, this.altAndOuterContextDepth = n, this._context = r) : (this._state = e, this.altAndOuterContextDepth = n.altAndOuterContextDepth, this._context = r);
|
|
@@ -10560,8 +10557,8 @@ let Ei = class $1 {
|
|
|
10560
10557
|
return this === e ? !0 : e instanceof $1 ? this.state.stateNumber === e.state.stateNumber && this.alt === e.alt && this.reachesIntoOuterContext === e.reachesIntoOuterContext && this.context.equals(e.context) && this.semanticContext.equals(e.semanticContext) && this.isPrecedenceFilterSuppressed === e.isPrecedenceFilterSuppressed && this.hasPassedThroughNonGreedyDecision === e.hasPassedThroughNonGreedyDecision && n2e.ObjectEqualityComparator.INSTANCE.equals(this.lexerActionExecutor, e.lexerActionExecutor) : !1;
|
|
10561
10558
|
}
|
|
10562
10559
|
hashCode() {
|
|
10563
|
-
let e =
|
|
10564
|
-
return e =
|
|
10560
|
+
let e = va.MurmurHash.initialize(7);
|
|
10561
|
+
return e = va.MurmurHash.update(e, this.state.stateNumber), e = va.MurmurHash.update(e, this.alt), e = va.MurmurHash.update(e, this.reachesIntoOuterContext ? 1 : 0), e = va.MurmurHash.update(e, this.context), e = va.MurmurHash.update(e, this.semanticContext), e = va.MurmurHash.update(e, this.hasPassedThroughNonGreedyDecision ? 1 : 0), e = va.MurmurHash.update(e, this.lexerActionExecutor), e = va.MurmurHash.finish(e, 7), e;
|
|
10565
10562
|
}
|
|
10566
10563
|
/**
|
|
10567
10564
|
* Returns a graphical representation of the current `ATNConfig` in Graphviz format. The graph can be stored to a
|
|
@@ -11641,7 +11638,7 @@ r2.ProxyErrorListener = jW;
|
|
|
11641
11638
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
11642
11639
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
11643
11640
|
*/
|
|
11644
|
-
var
|
|
11641
|
+
var Xu = T && T.__decorate || function(t, e, n, r) {
|
|
11645
11642
|
var i = arguments.length, s = i < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, n) : r, o;
|
|
11646
11643
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
|
|
11647
11644
|
s = Reflect.decorate(t, e, n, r);
|
|
@@ -11795,37 +11792,37 @@ class zn {
|
|
|
11795
11792
|
zn.EOF = -1;
|
|
11796
11793
|
zn.tokenTypeMapCache = /* @__PURE__ */ new WeakMap();
|
|
11797
11794
|
zn.ruleIndexMapCache = /* @__PURE__ */ new WeakMap();
|
|
11798
|
-
|
|
11795
|
+
Xu([
|
|
11799
11796
|
ys.SuppressWarnings("serial"),
|
|
11800
11797
|
ys.NotNull
|
|
11801
11798
|
], zn.prototype, "_listeners", void 0);
|
|
11802
|
-
|
|
11799
|
+
Xu([
|
|
11803
11800
|
ys.NotNull
|
|
11804
11801
|
], zn.prototype, "getTokenTypeMap", null);
|
|
11805
|
-
|
|
11802
|
+
Xu([
|
|
11806
11803
|
ys.NotNull
|
|
11807
11804
|
], zn.prototype, "getRuleIndexMap", null);
|
|
11808
|
-
|
|
11805
|
+
Xu([
|
|
11809
11806
|
ys.NotNull
|
|
11810
11807
|
], zn.prototype, "serializedATN", null);
|
|
11811
|
-
|
|
11808
|
+
Xu([
|
|
11812
11809
|
ys.NotNull
|
|
11813
11810
|
], zn.prototype, "atn", null);
|
|
11814
|
-
|
|
11811
|
+
Xu([
|
|
11815
11812
|
ys.NotNull,
|
|
11816
11813
|
uS(0, ys.NotNull)
|
|
11817
11814
|
], zn.prototype, "interpreter", null);
|
|
11818
|
-
|
|
11815
|
+
Xu([
|
|
11819
11816
|
ys.NotNull,
|
|
11820
11817
|
uS(0, ys.NotNull)
|
|
11821
11818
|
], zn.prototype, "getErrorHeader", null);
|
|
11822
|
-
|
|
11819
|
+
Xu([
|
|
11823
11820
|
uS(0, ys.NotNull)
|
|
11824
11821
|
], zn.prototype, "addErrorListener", null);
|
|
11825
|
-
|
|
11822
|
+
Xu([
|
|
11826
11823
|
uS(0, ys.NotNull)
|
|
11827
11824
|
], zn.prototype, "removeErrorListener", null);
|
|
11828
|
-
|
|
11825
|
+
Xu([
|
|
11829
11826
|
ys.NotNull
|
|
11830
11827
|
], zn.prototype, "getErrorListeners", null);
|
|
11831
11828
|
tc.Recognizer = zn;
|
|
@@ -12075,7 +12072,7 @@ var x2e = T && T.__decorate || function(t, e, n, r) {
|
|
|
12075
12072
|
};
|
|
12076
12073
|
Object.defineProperty(i2, "__esModule", { value: !0 });
|
|
12077
12074
|
i2.StarLoopEntryState = void 0;
|
|
12078
|
-
const d2e = hr, h2e = zo, p2e =
|
|
12075
|
+
const d2e = hr, h2e = zo, p2e = Ku, g2e = Ae;
|
|
12079
12076
|
class qW extends p2e.DecisionState {
|
|
12080
12077
|
constructor() {
|
|
12081
12078
|
super(...arguments), this.precedenceRuleDecision = !1, this.precedenceLoopbackStates = new h2e.BitSet();
|
|
@@ -13120,7 +13117,7 @@ var WW = T && T.__decorate || function(t, e, n, r) {
|
|
|
13120
13117
|
};
|
|
13121
13118
|
Object.defineProperty(ic, "__esModule", { value: !0 });
|
|
13122
13119
|
ic.RuleStopState = void 0;
|
|
13123
|
-
const N2e =
|
|
13120
|
+
const N2e = Ju, F2e = hr, VW = Ae;
|
|
13124
13121
|
class kN extends N2e.ATNState {
|
|
13125
13122
|
get nonStopStateNumber() {
|
|
13126
13123
|
return -1;
|
|
@@ -14136,7 +14133,7 @@ var L2e = T && T.__decorate || function(t, e, n, r) {
|
|
|
14136
14133
|
};
|
|
14137
14134
|
Object.defineProperty(Qm, "__esModule", { value: !0 });
|
|
14138
14135
|
Qm.BasicState = void 0;
|
|
14139
|
-
const I2e =
|
|
14136
|
+
const I2e = Ju, B2e = hr, $2e = Ae;
|
|
14140
14137
|
class YW extends I2e.ATNState {
|
|
14141
14138
|
get stateType() {
|
|
14142
14139
|
return B2e.ATNStateType.BASIC;
|
|
@@ -14940,7 +14937,7 @@ var hS = {}, vx = {};
|
|
|
14940
14937
|
*/
|
|
14941
14938
|
Object.defineProperty(vx, "__esModule", { value: !0 });
|
|
14942
14939
|
vx.BlockStartState = void 0;
|
|
14943
|
-
const tpe =
|
|
14940
|
+
const tpe = Ku;
|
|
14944
14941
|
class npe extends tpe.DecisionState {
|
|
14945
14942
|
}
|
|
14946
14943
|
vx.BlockStartState = npe;
|
|
@@ -14985,7 +14982,7 @@ var upe = T && T.__decorate || function(t, e, n, r) {
|
|
|
14985
14982
|
};
|
|
14986
14983
|
Object.defineProperty(pS, "__esModule", { value: !0 });
|
|
14987
14984
|
pS.BlockEndState = void 0;
|
|
14988
|
-
const ape =
|
|
14985
|
+
const ape = Ju, lpe = hr, cpe = Ae;
|
|
14989
14986
|
class eV extends ape.ATNState {
|
|
14990
14987
|
get stateType() {
|
|
14991
14988
|
return lpe.ATNStateType.BLOCK_END;
|
|
@@ -15777,7 +15774,7 @@ var ype = T && T.__decorate || function(t, e, n, r) {
|
|
|
15777
15774
|
};
|
|
15778
15775
|
Object.defineProperty(n3, "__esModule", { value: !0 });
|
|
15779
15776
|
n3.LoopEndState = void 0;
|
|
15780
|
-
const Epe =
|
|
15777
|
+
const Epe = Ju, Ape = hr, vpe = Ae;
|
|
15781
15778
|
class iV extends Epe.ATNState {
|
|
15782
15779
|
get stateType() {
|
|
15783
15780
|
return Ape.ATNStateType.LOOP_END;
|
|
@@ -16339,7 +16336,7 @@ function x2() {
|
|
|
16339
16336
|
};
|
|
16340
16337
|
};
|
|
16341
16338
|
Object.defineProperty(Rp, "__esModule", { value: !0 }), Rp.ParserATNSimulator = void 0;
|
|
16342
|
-
const n = qm, r = Ym, i = qo, s = iS, o = Go(), u = hx, a = Mm(), l = oS(), c = hr, f = Xm, x = zo, h = _S, p =
|
|
16339
|
+
const n = qm, r = Ym, i = qo, s = iS, o = Go(), u = hx, a = Mm(), l = oS(), c = hr, f = Xm, x = zo, h = _S, p = Ku, m = sS(), g = s2, y = dr, E = gl, A = Ae, v = MN(), _ = i3(), S = bs, C = oo(), b = Ho(), N = LN(), L = lV, I = ic, P = u2, q = px, X = PN(), G = cV(), ue = en, he = Ts, pe = yi(), ae = 65535, fe = -(1 << 31 >>> 0);
|
|
16343
16340
|
let re = class ft extends l.ATNSimulator {
|
|
16344
16341
|
constructor(D, R) {
|
|
16345
16342
|
super(D), this.predictionMode = L.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 = R;
|
|
@@ -17482,7 +17479,7 @@ var Rpe = T && T.__decorate || function(t, e, n, r) {
|
|
|
17482
17479
|
};
|
|
17483
17480
|
Object.defineProperty(CS, "__esModule", { value: !0 });
|
|
17484
17481
|
CS.PlusLoopbackState = void 0;
|
|
17485
|
-
const Ope = hr, Dpe =
|
|
17482
|
+
const Ope = hr, Dpe = Ku, wpe = Ae;
|
|
17486
17483
|
class xV extends Dpe.DecisionState {
|
|
17487
17484
|
get stateType() {
|
|
17488
17485
|
return Ope.ATNStateType.PLUS_LOOP_BACK;
|
|
@@ -17679,7 +17676,7 @@ var jpe = T && T.__decorate || function(t, e, n, r) {
|
|
|
17679
17676
|
};
|
|
17680
17677
|
Object.defineProperty(RS, "__esModule", { value: !0 });
|
|
17681
17678
|
RS.RuleStartState = void 0;
|
|
17682
|
-
const Upe =
|
|
17679
|
+
const Upe = Ju, qpe = hr, Hpe = Ae;
|
|
17683
17680
|
class dV extends Upe.ATNState {
|
|
17684
17681
|
constructor() {
|
|
17685
17682
|
super(...arguments), this.isPrecedenceRule = !1, this.leftFactored = !1;
|
|
@@ -17734,7 +17731,7 @@ var Vpe = T && T.__decorate || function(t, e, n, r) {
|
|
|
17734
17731
|
};
|
|
17735
17732
|
Object.defineProperty(DS, "__esModule", { value: !0 });
|
|
17736
17733
|
DS.StarLoopbackState = void 0;
|
|
17737
|
-
const Ype =
|
|
17734
|
+
const Ype = Ju, Kpe = hr, Jpe = Ae;
|
|
17738
17735
|
class pV extends Ype.ATNState {
|
|
17739
17736
|
get loopEntryState() {
|
|
17740
17737
|
return this.transition(0).target;
|
|
@@ -17763,7 +17760,7 @@ var Xpe = T && T.__decorate || function(t, e, n, r) {
|
|
|
17763
17760
|
};
|
|
17764
17761
|
Object.defineProperty(wS, "__esModule", { value: !0 });
|
|
17765
17762
|
wS.TokensStartState = void 0;
|
|
17766
|
-
const Zpe = hr, e1e =
|
|
17763
|
+
const Zpe = hr, e1e = Ku, t1e = Ae;
|
|
17767
17764
|
class gV extends e1e.DecisionState {
|
|
17768
17765
|
get stateType() {
|
|
17769
17766
|
return Zpe.ATNStateType.TOKEN_START;
|
|
@@ -17825,7 +17822,7 @@ function d2() {
|
|
|
17825
17822
|
};
|
|
17826
17823
|
};
|
|
17827
17824
|
Object.defineProperty(bp, "__esModule", { value: !0 }), bp.ATNDeserializer = void 0;
|
|
17828
|
-
const n = Ym, r = qo, i = Go(), s = Vm, o = hr, u = Xm, a = hS, l = Qm, c = zo, f = pS, x = vx, h =
|
|
17825
|
+
const n = Ym, r = qo, i = Go(), s = Vm, o = hr, u = Xm, a = hS, l = Qm, c = zo, f = pS, x = vx, h = Ku, p = HW(), m = gS, g = Ax(), y = zm, E = mS, A = yS, v = ES, _ = tV, S = nV, C = AS, b = rV, N = vS, L = n3, I = Ae, P = MN(), q = x2(), X = SS, G = CS, ue = bS, he = u3, pe = TS, ae = RS, fe = ic, re = u2, ie = PN(), D = OS, R = DS, O = i2, k = en, W = wS, H = NS, w = Wm;
|
|
17829
17826
|
var $;
|
|
17830
17827
|
(function(Q) {
|
|
17831
17828
|
Q[Q.UNICODE_BMP = 0] = "UNICODE_BMP", Q[Q.UNICODE_SMP = 1] = "UNICODE_SMP";
|
|
@@ -18543,7 +18540,7 @@ function jN() {
|
|
|
18543
18540
|
};
|
|
18544
18541
|
};
|
|
18545
18542
|
Object.defineProperty(Fp, "__esModule", { value: !0 }), Fp.DefaultErrorStrategy = void 0;
|
|
18546
|
-
const n =
|
|
18543
|
+
const n = Ju, r = hr, i = oc, s = _x, o = Ax(), u = i3(), a = Ho(), l = en, c = Ae;
|
|
18547
18544
|
let f = class {
|
|
18548
18545
|
constructor() {
|
|
18549
18546
|
this.errorRecoveryMode = !1, this.lastErrorIndex = -1, this.nextTokensState = n.ATNState.INVALID_STATE_NUMBER;
|
|
@@ -19540,7 +19537,7 @@ var x3 = {};
|
|
|
19540
19537
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
19541
19538
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
19542
19539
|
*/
|
|
19543
|
-
var
|
|
19540
|
+
var Zu = T && T.__decorate || function(t, e, n, r) {
|
|
19544
19541
|
var i = arguments.length, s = i < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, n) : r, o;
|
|
19545
19542
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
|
|
19546
19543
|
s = Reflect.decorate(t, e, n, r);
|
|
@@ -19551,7 +19548,7 @@ var Xu = T && T.__decorate || function(t, e, n, r) {
|
|
|
19551
19548
|
};
|
|
19552
19549
|
Object.defineProperty(x3, "__esModule", { value: !0 });
|
|
19553
19550
|
x3.CodePointCharStream = void 0;
|
|
19554
|
-
const DP = yi(), eE = gl, g1e = dr,
|
|
19551
|
+
const DP = yi(), eE = gl, g1e = dr, ea = Ae;
|
|
19555
19552
|
class Rs {
|
|
19556
19553
|
// Use the factory method {@link #fromBuffer(CodePointBuffer)} to
|
|
19557
19554
|
// construct instances of this type.
|
|
@@ -19608,35 +19605,35 @@ class Rs {
|
|
|
19608
19605
|
return this._array instanceof Int32Array ? String.fromCodePoint(...Array.from(this._array.subarray(n, n + r))) : String.fromCharCode(...Array.from(this._array.subarray(n, n + r)));
|
|
19609
19606
|
}
|
|
19610
19607
|
}
|
|
19611
|
-
|
|
19612
|
-
|
|
19608
|
+
Zu([
|
|
19609
|
+
ea.Override
|
|
19613
19610
|
], Rs.prototype, "consume", null);
|
|
19614
|
-
|
|
19615
|
-
|
|
19611
|
+
Zu([
|
|
19612
|
+
ea.Override
|
|
19616
19613
|
], Rs.prototype, "index", null);
|
|
19617
|
-
|
|
19618
|
-
|
|
19614
|
+
Zu([
|
|
19615
|
+
ea.Override
|
|
19619
19616
|
], Rs.prototype, "size", null);
|
|
19620
|
-
|
|
19621
|
-
|
|
19617
|
+
Zu([
|
|
19618
|
+
ea.Override
|
|
19622
19619
|
], Rs.prototype, "mark", null);
|
|
19623
|
-
|
|
19624
|
-
|
|
19620
|
+
Zu([
|
|
19621
|
+
ea.Override
|
|
19625
19622
|
], Rs.prototype, "release", null);
|
|
19626
|
-
|
|
19627
|
-
|
|
19623
|
+
Zu([
|
|
19624
|
+
ea.Override
|
|
19628
19625
|
], Rs.prototype, "seek", null);
|
|
19629
|
-
|
|
19630
|
-
|
|
19626
|
+
Zu([
|
|
19627
|
+
ea.Override
|
|
19631
19628
|
], Rs.prototype, "sourceName", null);
|
|
19632
|
-
|
|
19633
|
-
|
|
19629
|
+
Zu([
|
|
19630
|
+
ea.Override
|
|
19634
19631
|
], Rs.prototype, "toString", null);
|
|
19635
|
-
|
|
19636
|
-
|
|
19632
|
+
Zu([
|
|
19633
|
+
ea.Override
|
|
19637
19634
|
], Rs.prototype, "LA", null);
|
|
19638
|
-
|
|
19639
|
-
|
|
19635
|
+
Zu([
|
|
19636
|
+
ea.Override
|
|
19640
19637
|
], Rs.prototype, "getText", null);
|
|
19641
19638
|
x3.CodePointCharStream = Rs;
|
|
19642
19639
|
(function(t) {
|
|
@@ -20292,7 +20289,7 @@ function SV() {
|
|
|
20292
20289
|
};
|
|
20293
20290
|
};
|
|
20294
20291
|
Object.defineProperty(Bp, "__esModule", { value: !0 }), Bp.ParserInterpreter = void 0;
|
|
20295
|
-
const n =
|
|
20292
|
+
const n = Ju, r = hr, i = zo, s = oc, o = _x, u = _V(), a = n3, l = Ae, c = Ae, f = g2(), x = x2(), h = so, p = i2, m = en;
|
|
20296
20293
|
let g = class gD extends f.Parser {
|
|
20297
20294
|
constructor(E, A, v, _, S) {
|
|
20298
20295
|
if (super(E instanceof gD ? E.inputStream : S), this._parentContextStack = [], this.overrideDecision = -1, this.overrideDecisionInputIndex = -1, this.overrideDecisionAlt = -1, this.overrideDecisionReached = !1, this._overrideDecisionRoot = void 0, E instanceof gD) {
|
|
@@ -23441,7 +23438,7 @@ var It = {}, J1e = T && T.__createBinding || (Object.create ? function(t, e, n,
|
|
|
23441
23438
|
};
|
|
23442
23439
|
Object.defineProperty(It, "__esModule", { value: !0 });
|
|
23443
23440
|
It.PropertiesContext = It.ArrayValueContext = It.ReferenceContext = It.ArrayElementContext = It.EqValueContext = It.PropNameContext = It.IdentifierContext = It.StringContext = It.TagDefContext = It.TagUpdatePropertiesContext = It.TagReplacePropertiesContext = It.TagEqContext = It.TagSpecContext = It.TagLineContext = It.MalloyTagParser = void 0;
|
|
23444
|
-
const ege = Go(), tge = d2(), nge = oc, P6 = i3(), rge = g2(),
|
|
23441
|
+
const ege = Go(), tge = d2(), nge = oc, P6 = i3(), rge = g2(), ta = oo(), ige = x2(), ru = so, fM = en, sge = Ts, oge = Z1e(yn);
|
|
23445
23442
|
class ye extends rge.Parser {
|
|
23446
23443
|
// @Override
|
|
23447
23444
|
// @NotNull
|
|
@@ -23491,7 +23488,7 @@ class ye extends rge.Parser {
|
|
|
23491
23488
|
}
|
|
23492
23489
|
// @RuleVersion(0)
|
|
23493
23490
|
tagSpec() {
|
|
23494
|
-
let e = new
|
|
23491
|
+
let e = new Fu(this._ctx, this.state);
|
|
23495
23492
|
this.enterRule(e, 2, ye.RULE_tagSpec);
|
|
23496
23493
|
let n;
|
|
23497
23494
|
try {
|
|
@@ -23833,12 +23830,12 @@ Z\v
|
|
|
23833
23830
|
KM LELILJLKMNO\x07\x07OP
|
|
23834
23831
|
PQ\x07\bQRS\x07\vSX\bTU\x07\fUW\bVTWZXVXYY\\ZX[]\x07\f\\[\\]]^^_\x07\r_\`h\x07 ai\x07bdcbdgeceffigehaheijjk\x07
|
|
23835
23832
|
k"'/2=CGLX\\eh`;
|
|
23836
|
-
class TV extends
|
|
23833
|
+
class TV extends ta.ParserRuleContext {
|
|
23837
23834
|
EOF() {
|
|
23838
23835
|
return this.getToken(ye.EOF, 0);
|
|
23839
23836
|
}
|
|
23840
23837
|
tagSpec(e) {
|
|
23841
|
-
return e === void 0 ? this.getRuleContexts(
|
|
23838
|
+
return e === void 0 ? this.getRuleContexts(Fu) : this.getRuleContext(e, Fu);
|
|
23842
23839
|
}
|
|
23843
23840
|
constructor(e, n) {
|
|
23844
23841
|
super(e, n);
|
|
@@ -23853,7 +23850,7 @@ class TV extends ea.ParserRuleContext {
|
|
|
23853
23850
|
}
|
|
23854
23851
|
}
|
|
23855
23852
|
It.TagLineContext = TV;
|
|
23856
|
-
class
|
|
23853
|
+
class Fu extends ta.ParserRuleContext {
|
|
23857
23854
|
constructor(e, n) {
|
|
23858
23855
|
super(e, n);
|
|
23859
23856
|
}
|
|
@@ -23865,8 +23862,8 @@ class Nu extends ea.ParserRuleContext {
|
|
|
23865
23862
|
super.copyFrom(e);
|
|
23866
23863
|
}
|
|
23867
23864
|
}
|
|
23868
|
-
It.TagSpecContext =
|
|
23869
|
-
class RV extends
|
|
23865
|
+
It.TagSpecContext = Fu;
|
|
23866
|
+
class RV extends Fu {
|
|
23870
23867
|
propName() {
|
|
23871
23868
|
return this.getRuleContext(0, Cx);
|
|
23872
23869
|
}
|
|
@@ -23888,7 +23885,7 @@ class RV extends Nu {
|
|
|
23888
23885
|
}
|
|
23889
23886
|
}
|
|
23890
23887
|
It.TagEqContext = RV;
|
|
23891
|
-
class OV extends
|
|
23888
|
+
class OV extends Fu {
|
|
23892
23889
|
propName() {
|
|
23893
23890
|
return this.getRuleContext(0, Cx);
|
|
23894
23891
|
}
|
|
@@ -23910,7 +23907,7 @@ class OV extends Nu {
|
|
|
23910
23907
|
}
|
|
23911
23908
|
}
|
|
23912
23909
|
It.TagReplacePropertiesContext = OV;
|
|
23913
|
-
class DV extends
|
|
23910
|
+
class DV extends Fu {
|
|
23914
23911
|
propName() {
|
|
23915
23912
|
return this.getRuleContext(0, Cx);
|
|
23916
23913
|
}
|
|
@@ -23926,7 +23923,7 @@ class DV extends Nu {
|
|
|
23926
23923
|
}
|
|
23927
23924
|
}
|
|
23928
23925
|
It.TagUpdatePropertiesContext = DV;
|
|
23929
|
-
class wV extends
|
|
23926
|
+
class wV extends Fu {
|
|
23930
23927
|
propName() {
|
|
23931
23928
|
return this.getRuleContext(0, Cx);
|
|
23932
23929
|
}
|
|
@@ -23942,7 +23939,7 @@ class wV extends Nu {
|
|
|
23942
23939
|
}
|
|
23943
23940
|
}
|
|
23944
23941
|
It.TagDefContext = wV;
|
|
23945
|
-
let PS = class extends
|
|
23942
|
+
let PS = class extends ta.ParserRuleContext {
|
|
23946
23943
|
SQ_STRING() {
|
|
23947
23944
|
return this.tryGetToken(ye.SQ_STRING, 0);
|
|
23948
23945
|
}
|
|
@@ -23968,7 +23965,7 @@ let PS = class extends ea.ParserRuleContext {
|
|
|
23968
23965
|
}
|
|
23969
23966
|
};
|
|
23970
23967
|
It.StringContext = PS;
|
|
23971
|
-
class iv extends
|
|
23968
|
+
class iv extends ta.ParserRuleContext {
|
|
23972
23969
|
BQ_STRING() {
|
|
23973
23970
|
return this.tryGetToken(ye.BQ_STRING, 0);
|
|
23974
23971
|
}
|
|
@@ -23988,7 +23985,7 @@ class iv extends ea.ParserRuleContext {
|
|
|
23988
23985
|
}
|
|
23989
23986
|
}
|
|
23990
23987
|
It.IdentifierContext = iv;
|
|
23991
|
-
class Cx extends
|
|
23988
|
+
class Cx extends ta.ParserRuleContext {
|
|
23992
23989
|
identifier(e) {
|
|
23993
23990
|
return e === void 0 ? this.getRuleContexts(iv) : this.getRuleContext(e, iv);
|
|
23994
23991
|
}
|
|
@@ -24008,7 +24005,7 @@ class Cx extends ea.ParserRuleContext {
|
|
|
24008
24005
|
}
|
|
24009
24006
|
}
|
|
24010
24007
|
It.PropNameContext = Cx;
|
|
24011
|
-
class WN extends
|
|
24008
|
+
class WN extends ta.ParserRuleContext {
|
|
24012
24009
|
string() {
|
|
24013
24010
|
return this.tryGetRuleContext(0, PS);
|
|
24014
24011
|
}
|
|
@@ -24031,7 +24028,7 @@ class WN extends ea.ParserRuleContext {
|
|
|
24031
24028
|
}
|
|
24032
24029
|
}
|
|
24033
24030
|
It.EqValueContext = WN;
|
|
24034
|
-
class sv extends
|
|
24031
|
+
class sv extends ta.ParserRuleContext {
|
|
24035
24032
|
string() {
|
|
24036
24033
|
return this.tryGetRuleContext(0, PS);
|
|
24037
24034
|
}
|
|
@@ -24057,7 +24054,7 @@ class sv extends ea.ParserRuleContext {
|
|
|
24057
24054
|
}
|
|
24058
24055
|
}
|
|
24059
24056
|
It.ArrayElementContext = sv;
|
|
24060
|
-
class MS extends
|
|
24057
|
+
class MS extends ta.ParserRuleContext {
|
|
24061
24058
|
RF_BEG() {
|
|
24062
24059
|
return this.getToken(ye.RF_BEG, 0);
|
|
24063
24060
|
}
|
|
@@ -24080,7 +24077,7 @@ class MS extends ea.ParserRuleContext {
|
|
|
24080
24077
|
}
|
|
24081
24078
|
}
|
|
24082
24079
|
It.ReferenceContext = MS;
|
|
24083
|
-
class jS extends
|
|
24080
|
+
class jS extends ta.ParserRuleContext {
|
|
24084
24081
|
AR_BEG() {
|
|
24085
24082
|
return this.getToken(ye.AR_BEG, 0);
|
|
24086
24083
|
}
|
|
@@ -24106,7 +24103,7 @@ class jS extends ea.ParserRuleContext {
|
|
|
24106
24103
|
}
|
|
24107
24104
|
}
|
|
24108
24105
|
It.ArrayValueContext = jS;
|
|
24109
|
-
class m2 extends
|
|
24106
|
+
class m2 extends ta.ParserRuleContext {
|
|
24110
24107
|
PR_BEG() {
|
|
24111
24108
|
return this.getToken(ye.PR_BEG, 0);
|
|
24112
24109
|
}
|
|
@@ -24117,7 +24114,7 @@ class m2 extends ea.ParserRuleContext {
|
|
|
24117
24114
|
return this.tryGetToken(ye.DOTTY, 0);
|
|
24118
24115
|
}
|
|
24119
24116
|
tagSpec(e) {
|
|
24120
|
-
return e === void 0 ? this.getRuleContexts(
|
|
24117
|
+
return e === void 0 ? this.getRuleContexts(Fu) : this.getRuleContext(e, Fu);
|
|
24121
24118
|
}
|
|
24122
24119
|
constructor(e, n) {
|
|
24123
24120
|
super(e, n);
|
|
@@ -24149,7 +24146,7 @@ var qS = {};
|
|
|
24149
24146
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
24150
24147
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
24151
24148
|
*/
|
|
24152
|
-
var
|
|
24149
|
+
var na = T && T.__decorate || function(t, e, n, r) {
|
|
24153
24150
|
var i = arguments.length, s = i < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, n) : r, o;
|
|
24154
24151
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
|
|
24155
24152
|
s = Reflect.decorate(t, e, n, r);
|
|
@@ -24160,7 +24157,7 @@ var ta = T && T.__decorate || function(t, e, n, r) {
|
|
|
24160
24157
|
};
|
|
24161
24158
|
Object.defineProperty(qS, "__esModule", { value: !0 });
|
|
24162
24159
|
qS.ANTLRInputStream = void 0;
|
|
24163
|
-
const uge = yi(),
|
|
24160
|
+
const uge = yi(), ra = Ae, tE = gl;
|
|
24164
24161
|
class Wo {
|
|
24165
24162
|
/** Copy data in string to a local char array */
|
|
24166
24163
|
constructor(e) {
|
|
@@ -24224,35 +24221,35 @@ class Wo {
|
|
|
24224
24221
|
return this.data;
|
|
24225
24222
|
}
|
|
24226
24223
|
}
|
|
24227
|
-
|
|
24228
|
-
|
|
24224
|
+
na([
|
|
24225
|
+
ra.Override
|
|
24229
24226
|
], Wo.prototype, "consume", null);
|
|
24230
|
-
|
|
24231
|
-
|
|
24227
|
+
na([
|
|
24228
|
+
ra.Override
|
|
24232
24229
|
], Wo.prototype, "LA", null);
|
|
24233
|
-
|
|
24234
|
-
|
|
24230
|
+
na([
|
|
24231
|
+
ra.Override
|
|
24235
24232
|
], Wo.prototype, "index", null);
|
|
24236
|
-
|
|
24237
|
-
|
|
24233
|
+
na([
|
|
24234
|
+
ra.Override
|
|
24238
24235
|
], Wo.prototype, "size", null);
|
|
24239
|
-
|
|
24240
|
-
|
|
24236
|
+
na([
|
|
24237
|
+
ra.Override
|
|
24241
24238
|
], Wo.prototype, "mark", null);
|
|
24242
|
-
|
|
24243
|
-
|
|
24239
|
+
na([
|
|
24240
|
+
ra.Override
|
|
24244
24241
|
], Wo.prototype, "release", null);
|
|
24245
|
-
|
|
24246
|
-
|
|
24242
|
+
na([
|
|
24243
|
+
ra.Override
|
|
24247
24244
|
], Wo.prototype, "seek", null);
|
|
24248
|
-
|
|
24249
|
-
|
|
24245
|
+
na([
|
|
24246
|
+
ra.Override
|
|
24250
24247
|
], Wo.prototype, "getText", null);
|
|
24251
|
-
|
|
24252
|
-
|
|
24248
|
+
na([
|
|
24249
|
+
ra.Override
|
|
24253
24250
|
], Wo.prototype, "sourceName", null);
|
|
24254
|
-
|
|
24255
|
-
|
|
24251
|
+
na([
|
|
24252
|
+
ra.Override
|
|
24256
24253
|
], Wo.prototype, "toString", null);
|
|
24257
24254
|
qS.ANTLRInputStream = Wo;
|
|
24258
24255
|
var LV = {};
|
|
@@ -24397,7 +24394,7 @@ var ac = T && T.__decorate || function(t, e, n, r) {
|
|
|
24397
24394
|
Object.defineProperty(zS, "__esModule", { value: !0 });
|
|
24398
24395
|
zS.LexerInterpreter = void 0;
|
|
24399
24396
|
const cge = yl(), fge = Hm(), BV = Ae, E2 = Ae;
|
|
24400
|
-
let
|
|
24397
|
+
let Lu = class extends cge.Lexer {
|
|
24401
24398
|
constructor(e, n, r, i, s, o, u) {
|
|
24402
24399
|
if (super(u), o.grammarType !== 0)
|
|
24403
24400
|
throw new Error("IllegalArgumentException: The ATN must be a lexer ATN.");
|
|
@@ -24424,29 +24421,29 @@ let Fu = class extends cge.Lexer {
|
|
|
24424
24421
|
};
|
|
24425
24422
|
ac([
|
|
24426
24423
|
BV.NotNull
|
|
24427
|
-
],
|
|
24424
|
+
], Lu.prototype, "_vocabulary", void 0);
|
|
24428
24425
|
ac([
|
|
24429
24426
|
E2.Override
|
|
24430
|
-
],
|
|
24427
|
+
], Lu.prototype, "atn", null);
|
|
24431
24428
|
ac([
|
|
24432
24429
|
E2.Override
|
|
24433
|
-
],
|
|
24430
|
+
], Lu.prototype, "grammarFileName", null);
|
|
24434
24431
|
ac([
|
|
24435
24432
|
E2.Override
|
|
24436
|
-
],
|
|
24433
|
+
], Lu.prototype, "ruleNames", null);
|
|
24437
24434
|
ac([
|
|
24438
24435
|
E2.Override
|
|
24439
|
-
],
|
|
24436
|
+
], Lu.prototype, "channelNames", null);
|
|
24440
24437
|
ac([
|
|
24441
24438
|
E2.Override
|
|
24442
|
-
],
|
|
24439
|
+
], Lu.prototype, "modeNames", null);
|
|
24443
24440
|
ac([
|
|
24444
24441
|
E2.Override
|
|
24445
|
-
],
|
|
24446
|
-
|
|
24442
|
+
], Lu.prototype, "vocabulary", null);
|
|
24443
|
+
Lu = ac([
|
|
24447
24444
|
lge(1, BV.NotNull)
|
|
24448
|
-
],
|
|
24449
|
-
zS.LexerInterpreter =
|
|
24445
|
+
], Lu);
|
|
24446
|
+
zS.LexerInterpreter = Lu;
|
|
24450
24447
|
var $V = {};
|
|
24451
24448
|
/*!
|
|
24452
24449
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -25914,7 +25911,7 @@ class ni {
|
|
|
25914
25911
|
return this.analyticalSQL === void 0 ? this.getSQL() : e && this.partitionSQL ? this.partitionSQL : this.analyticalSQL;
|
|
25915
25912
|
}
|
|
25916
25913
|
}
|
|
25917
|
-
class
|
|
25914
|
+
class cu {
|
|
25918
25915
|
constructor(e, n) {
|
|
25919
25916
|
this.turtleDef = e, this.parent = n, this.type = "query", this.allFields = /* @__PURE__ */ new Map(), this.groupSet = 0, this.depth = 0, this.childGroups = [], this.hasHaving = !1, this.ungroupedSets = /* @__PURE__ */ new Map(), this.resultUsesUngrouped = !1, this.firstSegment = e.pipeline[0];
|
|
25920
25917
|
}
|
|
@@ -26016,7 +26013,7 @@ class lu {
|
|
|
26016
26013
|
structs() {
|
|
26017
26014
|
const e = [];
|
|
26018
26015
|
for (const n of this.allFields.values())
|
|
26019
|
-
n instanceof
|
|
26016
|
+
n instanceof cu && e.push(n);
|
|
26020
26017
|
return e;
|
|
26021
26018
|
}
|
|
26022
26019
|
// return a list of structs that match the criteria
|
|
@@ -26094,7 +26091,7 @@ class lu {
|
|
|
26094
26091
|
e.assignFieldsToGroups();
|
|
26095
26092
|
}
|
|
26096
26093
|
}
|
|
26097
|
-
class qge extends
|
|
26094
|
+
class qge extends cu {
|
|
26098
26095
|
constructor(e) {
|
|
26099
26096
|
super(e, void 0), this.joins = /* @__PURE__ */ new Map(), this.havings = new gn.AndChain(), this.isComplexQuery = !1, this.queryUsesPartitioning = !1, this.computeOnlyGroups = [], this.elimatedComputeGroups = !1;
|
|
26100
26097
|
}
|
|
@@ -26284,7 +26281,7 @@ class cs extends YN {
|
|
|
26284
26281
|
if (s instanceof cs) {
|
|
26285
26282
|
if (this.firstSegment.type === "project")
|
|
26286
26283
|
throw new Error(`Nested views cannot be used in select - '${s.fieldDef.name}'`);
|
|
26287
|
-
const o = new
|
|
26284
|
+
const o = new cu(s.fieldDef, e);
|
|
26288
26285
|
this.expandFields(o), e.add(i, o);
|
|
26289
26286
|
} else if (s instanceof Os) {
|
|
26290
26287
|
if (e.addField(i, s, {
|
|
@@ -26362,7 +26359,7 @@ class cs extends YN {
|
|
|
26362
26359
|
} : void 0;
|
|
26363
26360
|
}
|
|
26364
26361
|
return;
|
|
26365
|
-
} else if (e instanceof
|
|
26362
|
+
} else if (e instanceof cu) {
|
|
26366
26363
|
const n = e.turtleDef.name || e.turtleDef.as, r = n ? [n] : [], i = e.firstSegment.filterList, s = e.turtleDef.pipeline[e.turtleDef.pipeline.length - 1], o = (0, Be.isRawSegment)(s) ? void 0 : s.limit;
|
|
26367
26364
|
let u;
|
|
26368
26365
|
if ((0, Be.isQuerySegment)(s) && (u = s.orderBy), n)
|
|
@@ -26384,7 +26381,7 @@ class cs extends YN {
|
|
|
26384
26381
|
let s = 0;
|
|
26385
26382
|
for (const [u, a] of e.allFields) {
|
|
26386
26383
|
const l = this.getResultMetadata(a);
|
|
26387
|
-
if (a instanceof
|
|
26384
|
+
if (a instanceof cu) {
|
|
26388
26385
|
const { structDef: c } = this.generateTurtlePipelineSQL(a, new uv(!0, void 0), "<nosource>");
|
|
26389
26386
|
if (a.getRepeatedResultType() === "nested") {
|
|
26390
26387
|
const f = {
|
|
@@ -26637,7 +26634,7 @@ ${(0, gn.indent)(h)}) AS ${n.alias}
|
|
|
26637
26634
|
} else
|
|
26638
26635
|
rE(l.f) && (n.sql.push(`${f} as ${c}`), n.fieldIndex++);
|
|
26639
26636
|
}
|
|
26640
|
-
} else if (l instanceof
|
|
26637
|
+
} else if (l instanceof cu) {
|
|
26641
26638
|
if (l.firstSegment.type === "reduce")
|
|
26642
26639
|
this.generateStage0Fields(l, n, r);
|
|
26643
26640
|
else if (l.firstSegment.type === "project") {
|
|
@@ -26734,7 +26731,7 @@ WHERE NOT (${s.sqlOr()})`);
|
|
|
26734
26731
|
r.sql.push(`${l} as ${a}`), r.fieldIndex++;
|
|
26735
26732
|
}
|
|
26736
26733
|
}
|
|
26737
|
-
} else if (u instanceof
|
|
26734
|
+
} else if (u instanceof cu && !(u.depth > e))
|
|
26738
26735
|
if (u.depth === e) {
|
|
26739
26736
|
const l = this.generateTurtleSQL(u, i, a, r.outputPipelinedSQL);
|
|
26740
26737
|
r.groupsAggregated.push({
|
|
@@ -26779,7 +26776,7 @@ WHERE NOT (${s.sqlOr()})`);
|
|
|
26779
26776
|
const o = [], u = [];
|
|
26780
26777
|
for (const [l, c] of this.rootResult.allFields) {
|
|
26781
26778
|
const f = this.parent.dialect.sqlMaybeQuoteIdentifier(l);
|
|
26782
|
-
c instanceof ni ? c.fieldUsage.type === "result" && (mr(c.f) ? (i.push(this.parent.dialect.sqlMaybeQuoteIdentifier(`${l}__${this.rootResult.groupSet}`) + ` as ${f}`), u.push(s++)) : rE(c.f) && (i.push(this.parent.dialect.sqlAnyValueLastTurtle(this.parent.dialect.sqlMaybeQuoteIdentifier(`${l}__${this.rootResult.groupSet}`), this.rootResult.groupSet, f)), s++)) : c instanceof
|
|
26779
|
+
c instanceof ni ? c.fieldUsage.type === "result" && (mr(c.f) ? (i.push(this.parent.dialect.sqlMaybeQuoteIdentifier(`${l}__${this.rootResult.groupSet}`) + ` as ${f}`), u.push(s++)) : rE(c.f) && (i.push(this.parent.dialect.sqlAnyValueLastTurtle(this.parent.dialect.sqlMaybeQuoteIdentifier(`${l}__${this.rootResult.groupSet}`), this.rootResult.groupSet, f)), s++)) : c instanceof cu && (c.firstSegment.type === "reduce" ? (i.push(`${this.generateTurtleSQL(c, e, f, o)} as ${f}`), s++) : c.firstSegment.type === "project" && (i.push(this.parent.dialect.sqlAnyValueLastTurtle(this.parent.dialect.sqlMaybeQuoteIdentifier(`${l}__${this.rootResult.groupSet}`), this.rootResult.groupSet, f)), s++));
|
|
26783
26780
|
}
|
|
26784
26781
|
r += (0, gn.indent)(i.join(`,
|
|
26785
26782
|
`)) + `
|
|
@@ -26796,7 +26793,7 @@ FROM ${n}
|
|
|
26796
26793
|
const n = [];
|
|
26797
26794
|
for (const [r, i] of e.allFields) {
|
|
26798
26795
|
const s = this.parent.dialect.sqlMaybeQuoteIdentifier(r);
|
|
26799
|
-
if (e.firstSegment.type === "reduce" && i instanceof
|
|
26796
|
+
if (e.firstSegment.type === "reduce" && i instanceof cu) {
|
|
26800
26797
|
const o = {
|
|
26801
26798
|
type: "struct",
|
|
26802
26799
|
sqlExpression: this.parent.dialect.sqlMaybeQuoteIdentifier(`${r}__${e.groupSet}`),
|
|
@@ -27598,7 +27595,7 @@ bf.QueryModel = eY;
|
|
|
27598
27595
|
return i.composeSQLExpr;
|
|
27599
27596
|
} });
|
|
27600
27597
|
})(Cs);
|
|
27601
|
-
var ZN = {},
|
|
27598
|
+
var ZN = {}, yu = {}, JS = {}, Kge = T && T.__createBinding || (Object.create ? function(t, e, n, r) {
|
|
27602
27599
|
r === void 0 && (r = n);
|
|
27603
27600
|
var i = Object.getOwnPropertyDescriptor(e, n);
|
|
27604
27601
|
(!i || ("get" in i ? !e.__esModule : i.writable || i.configurable)) && (i = { enumerable: !0, get: function() {
|
|
@@ -29507,7 +29504,7 @@ class d extends ame.Parser {
|
|
|
29507
29504
|
}
|
|
29508
29505
|
// @RuleVersion(0)
|
|
29509
29506
|
accessLabel() {
|
|
29510
|
-
let e = new
|
|
29507
|
+
let e = new ia(this._ctx, this.state);
|
|
29511
29508
|
this.enterRule(e, 70, d.RULE_accessLabel);
|
|
29512
29509
|
let n;
|
|
29513
29510
|
try {
|
|
@@ -31591,7 +31588,7 @@ class d extends ame.Parser {
|
|
|
31591
31588
|
}
|
|
31592
31589
|
// @RuleVersion(0)
|
|
31593
31590
|
string() {
|
|
31594
|
-
let e = new
|
|
31591
|
+
let e = new sa(this._ctx, this.state);
|
|
31595
31592
|
this.enterRule(e, 224, d.RULE_string);
|
|
31596
31593
|
try {
|
|
31597
31594
|
switch (this.state = 1158, this._errHandler.sync(this), this._input.LA(1)) {
|
|
@@ -31651,7 +31648,7 @@ class d extends ame.Parser {
|
|
|
31651
31648
|
}
|
|
31652
31649
|
// @RuleVersion(0)
|
|
31653
31650
|
literal() {
|
|
31654
|
-
let e = new
|
|
31651
|
+
let e = new oa(this._ctx, this.state);
|
|
31655
31652
|
this.enterRule(e, 230, d.RULE_literal);
|
|
31656
31653
|
let n;
|
|
31657
31654
|
try {
|
|
@@ -31702,7 +31699,7 @@ class d extends ame.Parser {
|
|
|
31702
31699
|
}
|
|
31703
31700
|
// @RuleVersion(0)
|
|
31704
31701
|
dateLiteral() {
|
|
31705
|
-
let e = new
|
|
31702
|
+
let e = new ua(this._ctx, this.state);
|
|
31706
31703
|
this.enterRule(e, 232, d.RULE_dateLiteral);
|
|
31707
31704
|
try {
|
|
31708
31705
|
switch (this.state = 1180, this._errHandler.sync(this), this._input.LA(1)) {
|
|
@@ -32576,7 +32573,7 @@ class d extends ame.Parser {
|
|
|
32576
32573
|
}
|
|
32577
32574
|
// @RuleVersion(0)
|
|
32578
32575
|
fieldPath() {
|
|
32579
|
-
let e = new
|
|
32576
|
+
let e = new aa(this._ctx, this.state);
|
|
32580
32577
|
this.enterRule(e, 284, d.RULE_fieldPath);
|
|
32581
32578
|
try {
|
|
32582
32579
|
let n;
|
|
@@ -34257,7 +34254,7 @@ class cv extends me.ParserRuleContext {
|
|
|
34257
34254
|
F.ImportItemContext = cv;
|
|
34258
34255
|
class i8 extends me.ParserRuleContext {
|
|
34259
34256
|
string() {
|
|
34260
|
-
return this.getRuleContext(0,
|
|
34257
|
+
return this.getRuleContext(0, sa);
|
|
34261
34258
|
}
|
|
34262
34259
|
constructor(e, n) {
|
|
34263
34260
|
super(e, n);
|
|
@@ -35074,7 +35071,7 @@ class gY extends Yr {
|
|
|
35074
35071
|
return this.getRuleContext(0, g8);
|
|
35075
35072
|
}
|
|
35076
35073
|
accessLabel() {
|
|
35077
|
-
return this.tryGetRuleContext(0,
|
|
35074
|
+
return this.tryGetRuleContext(0, ia);
|
|
35078
35075
|
}
|
|
35079
35076
|
constructor(e) {
|
|
35080
35077
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -35134,7 +35131,7 @@ class yY extends Yr {
|
|
|
35134
35131
|
return this.tryGetToken(d.VIEW, 0);
|
|
35135
35132
|
}
|
|
35136
35133
|
accessLabel() {
|
|
35137
|
-
return this.tryGetRuleContext(0,
|
|
35134
|
+
return this.tryGetRuleContext(0, ia);
|
|
35138
35135
|
}
|
|
35139
35136
|
constructor(e) {
|
|
35140
35137
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -35216,7 +35213,7 @@ class vY extends Yr {
|
|
|
35216
35213
|
}
|
|
35217
35214
|
}
|
|
35218
35215
|
F.DefIgnoreModel_stubContext = vY;
|
|
35219
|
-
class
|
|
35216
|
+
class ia extends me.ParserRuleContext {
|
|
35220
35217
|
PUBLIC_KW() {
|
|
35221
35218
|
return this.tryGetToken(d.PUBLIC_KW, 0);
|
|
35222
35219
|
}
|
|
@@ -35246,7 +35243,7 @@ class ra extends me.ParserRuleContext {
|
|
|
35246
35243
|
return e.visitAccessLabel ? e.visitAccessLabel(this) : e.visitChildren(this);
|
|
35247
35244
|
}
|
|
35248
35245
|
}
|
|
35249
|
-
F.AccessLabelContext =
|
|
35246
|
+
F.AccessLabelContext = ia;
|
|
35250
35247
|
class _Y extends me.ParserRuleContext {
|
|
35251
35248
|
fieldNameList() {
|
|
35252
35249
|
return this.tryGetRuleContext(0, fh);
|
|
@@ -35289,7 +35286,7 @@ class rC extends me.ParserRuleContext {
|
|
|
35289
35286
|
return this.getRuleContext(0, y3);
|
|
35290
35287
|
}
|
|
35291
35288
|
accessLabel() {
|
|
35292
|
-
return this.tryGetRuleContext(0,
|
|
35289
|
+
return this.tryGetRuleContext(0, ia);
|
|
35293
35290
|
}
|
|
35294
35291
|
constructor(e, n) {
|
|
35295
35292
|
super(e, n);
|
|
@@ -35323,7 +35320,7 @@ class iC extends me.ParserRuleContext {
|
|
|
35323
35320
|
return this.getRuleContext(0, y3);
|
|
35324
35321
|
}
|
|
35325
35322
|
accessLabel() {
|
|
35326
|
-
return this.tryGetRuleContext(0,
|
|
35323
|
+
return this.tryGetRuleContext(0, ia);
|
|
35327
35324
|
}
|
|
35328
35325
|
constructor(e, n) {
|
|
35329
35326
|
super(e, n);
|
|
@@ -35522,7 +35519,7 @@ class E3 extends me.ParserRuleContext {
|
|
|
35522
35519
|
return this.getRuleContext(0, y3);
|
|
35523
35520
|
}
|
|
35524
35521
|
accessLabel() {
|
|
35525
|
-
return this.tryGetRuleContext(0,
|
|
35522
|
+
return this.tryGetRuleContext(0, ia);
|
|
35526
35523
|
}
|
|
35527
35524
|
constructor(e, n) {
|
|
35528
35525
|
super(e, n);
|
|
@@ -35569,7 +35566,7 @@ class SY extends Cl {
|
|
|
35569
35566
|
return this.getRuleContext(0, A3);
|
|
35570
35567
|
}
|
|
35571
35568
|
accessLabel() {
|
|
35572
|
-
return this.tryGetRuleContext(0,
|
|
35569
|
+
return this.tryGetRuleContext(0, ia);
|
|
35573
35570
|
}
|
|
35574
35571
|
constructor(e) {
|
|
35575
35572
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -35599,7 +35596,7 @@ class CY extends Cl {
|
|
|
35599
35596
|
return this.getRuleContext(0, A3);
|
|
35600
35597
|
}
|
|
35601
35598
|
accessLabel() {
|
|
35602
|
-
return this.tryGetRuleContext(0,
|
|
35599
|
+
return this.tryGetRuleContext(0, ia);
|
|
35603
35600
|
}
|
|
35604
35601
|
constructor(e) {
|
|
35605
35602
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -35629,7 +35626,7 @@ class bY extends Cl {
|
|
|
35629
35626
|
return this.getRuleContext(0, A3);
|
|
35630
35627
|
}
|
|
35631
35628
|
accessLabel() {
|
|
35632
|
-
return this.tryGetRuleContext(0,
|
|
35629
|
+
return this.tryGetRuleContext(0, ia);
|
|
35633
35630
|
}
|
|
35634
35631
|
constructor(e) {
|
|
35635
35632
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -36316,7 +36313,7 @@ class fs extends me.ParserRuleContext {
|
|
|
36316
36313
|
F.SegExprContext = fs;
|
|
36317
36314
|
class $Y extends fs {
|
|
36318
36315
|
fieldPath() {
|
|
36319
|
-
return this.getRuleContext(0,
|
|
36316
|
+
return this.getRuleContext(0, aa);
|
|
36320
36317
|
}
|
|
36321
36318
|
constructor(e) {
|
|
36322
36319
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -37736,7 +37733,7 @@ class z8 extends me.ParserRuleContext {
|
|
|
37736
37733
|
F.TopStatementContext = z8;
|
|
37737
37734
|
class Tv extends me.ParserRuleContext {
|
|
37738
37735
|
fieldPath() {
|
|
37739
|
-
return this.tryGetRuleContext(0,
|
|
37736
|
+
return this.tryGetRuleContext(0, aa);
|
|
37740
37737
|
}
|
|
37741
37738
|
DOT() {
|
|
37742
37739
|
return this.tryGetToken(d.DOT, 0);
|
|
@@ -37860,7 +37857,7 @@ class xC extends me.ParserRuleContext {
|
|
|
37860
37857
|
return this.getToken(d.TIMEZONE, 0);
|
|
37861
37858
|
}
|
|
37862
37859
|
string() {
|
|
37863
|
-
return this.getRuleContext(0,
|
|
37860
|
+
return this.getRuleContext(0, sa);
|
|
37864
37861
|
}
|
|
37865
37862
|
constructor(e, n) {
|
|
37866
37863
|
super(e, n);
|
|
@@ -38062,7 +38059,7 @@ class dC extends me.ParserRuleContext {
|
|
|
38062
38059
|
}
|
|
38063
38060
|
}
|
|
38064
38061
|
F.CompareOpContext = dC;
|
|
38065
|
-
class
|
|
38062
|
+
class sa extends me.ParserRuleContext {
|
|
38066
38063
|
shortString() {
|
|
38067
38064
|
return this.tryGetRuleContext(0, hC);
|
|
38068
38065
|
}
|
|
@@ -38089,7 +38086,7 @@ class ia extends me.ParserRuleContext {
|
|
|
38089
38086
|
return e.visitString ? e.visitString(this) : e.visitChildren(this);
|
|
38090
38087
|
}
|
|
38091
38088
|
}
|
|
38092
|
-
F.StringContext =
|
|
38089
|
+
F.StringContext = sa;
|
|
38093
38090
|
class hC extends me.ParserRuleContext {
|
|
38094
38091
|
SQ_STRING() {
|
|
38095
38092
|
return this.tryGetToken(d.SQ_STRING, 0);
|
|
@@ -38146,7 +38143,7 @@ class K8 extends me.ParserRuleContext {
|
|
|
38146
38143
|
}
|
|
38147
38144
|
}
|
|
38148
38145
|
F.NumericLiteralContext = K8;
|
|
38149
|
-
class
|
|
38146
|
+
class oa extends me.ParserRuleContext {
|
|
38150
38147
|
constructor(e, n) {
|
|
38151
38148
|
super(e, n);
|
|
38152
38149
|
}
|
|
@@ -38158,10 +38155,10 @@ class sa extends me.ParserRuleContext {
|
|
|
38158
38155
|
super.copyFrom(e);
|
|
38159
38156
|
}
|
|
38160
38157
|
}
|
|
38161
|
-
F.LiteralContext =
|
|
38162
|
-
class WY extends
|
|
38158
|
+
F.LiteralContext = oa;
|
|
38159
|
+
class WY extends oa {
|
|
38163
38160
|
string() {
|
|
38164
|
-
return this.getRuleContext(0,
|
|
38161
|
+
return this.getRuleContext(0, sa);
|
|
38165
38162
|
}
|
|
38166
38163
|
constructor(e) {
|
|
38167
38164
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -38180,7 +38177,7 @@ class WY extends sa {
|
|
|
38180
38177
|
}
|
|
38181
38178
|
}
|
|
38182
38179
|
F.ExprStringContext = WY;
|
|
38183
|
-
class VY extends
|
|
38180
|
+
class VY extends oa {
|
|
38184
38181
|
numericLiteral() {
|
|
38185
38182
|
return this.getRuleContext(0, K8);
|
|
38186
38183
|
}
|
|
@@ -38201,9 +38198,9 @@ class VY extends sa {
|
|
|
38201
38198
|
}
|
|
38202
38199
|
}
|
|
38203
38200
|
F.ExprNumberContext = VY;
|
|
38204
|
-
class YY extends
|
|
38201
|
+
class YY extends oa {
|
|
38205
38202
|
dateLiteral() {
|
|
38206
|
-
return this.getRuleContext(0,
|
|
38203
|
+
return this.getRuleContext(0, ua);
|
|
38207
38204
|
}
|
|
38208
38205
|
constructor(e) {
|
|
38209
38206
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -38222,7 +38219,7 @@ class YY extends sa {
|
|
|
38222
38219
|
}
|
|
38223
38220
|
}
|
|
38224
38221
|
F.ExprTimeContext = YY;
|
|
38225
|
-
class KY extends
|
|
38222
|
+
class KY extends oa {
|
|
38226
38223
|
NULL() {
|
|
38227
38224
|
return this.getToken(d.NULL, 0);
|
|
38228
38225
|
}
|
|
@@ -38243,7 +38240,7 @@ class KY extends sa {
|
|
|
38243
38240
|
}
|
|
38244
38241
|
}
|
|
38245
38242
|
F.ExprNULLContext = KY;
|
|
38246
|
-
class JY extends
|
|
38243
|
+
class JY extends oa {
|
|
38247
38244
|
TRUE() {
|
|
38248
38245
|
return this.tryGetToken(d.TRUE, 0);
|
|
38249
38246
|
}
|
|
@@ -38267,7 +38264,7 @@ class JY extends sa {
|
|
|
38267
38264
|
}
|
|
38268
38265
|
}
|
|
38269
38266
|
F.ExprBoolContext = JY;
|
|
38270
|
-
class XY extends
|
|
38267
|
+
class XY extends oa {
|
|
38271
38268
|
HACKY_REGEX() {
|
|
38272
38269
|
return this.getToken(d.HACKY_REGEX, 0);
|
|
38273
38270
|
}
|
|
@@ -38288,7 +38285,7 @@ class XY extends sa {
|
|
|
38288
38285
|
}
|
|
38289
38286
|
}
|
|
38290
38287
|
F.ExprRegexContext = XY;
|
|
38291
|
-
class ZY extends
|
|
38288
|
+
class ZY extends oa {
|
|
38292
38289
|
NOW() {
|
|
38293
38290
|
return this.getToken(d.NOW, 0);
|
|
38294
38291
|
}
|
|
@@ -38309,7 +38306,7 @@ class ZY extends sa {
|
|
|
38309
38306
|
}
|
|
38310
38307
|
}
|
|
38311
38308
|
F.ExprNowContext = ZY;
|
|
38312
|
-
class
|
|
38309
|
+
class ua extends me.ParserRuleContext {
|
|
38313
38310
|
constructor(e, n) {
|
|
38314
38311
|
super(e, n);
|
|
38315
38312
|
}
|
|
@@ -38321,8 +38318,8 @@ class oa extends me.ParserRuleContext {
|
|
|
38321
38318
|
super.copyFrom(e);
|
|
38322
38319
|
}
|
|
38323
38320
|
}
|
|
38324
|
-
F.DateLiteralContext =
|
|
38325
|
-
class eK extends
|
|
38321
|
+
F.DateLiteralContext = ua;
|
|
38322
|
+
class eK extends ua {
|
|
38326
38323
|
LITERAL_TIMESTAMP() {
|
|
38327
38324
|
return this.getToken(d.LITERAL_TIMESTAMP, 0);
|
|
38328
38325
|
}
|
|
@@ -38343,7 +38340,7 @@ class eK extends oa {
|
|
|
38343
38340
|
}
|
|
38344
38341
|
}
|
|
38345
38342
|
F.LiteralTimestampContext = eK;
|
|
38346
|
-
class tK extends
|
|
38343
|
+
class tK extends ua {
|
|
38347
38344
|
LITERAL_HOUR() {
|
|
38348
38345
|
return this.getToken(d.LITERAL_HOUR, 0);
|
|
38349
38346
|
}
|
|
@@ -38364,7 +38361,7 @@ class tK extends oa {
|
|
|
38364
38361
|
}
|
|
38365
38362
|
}
|
|
38366
38363
|
F.LiteralHourContext = tK;
|
|
38367
|
-
class nK extends
|
|
38364
|
+
class nK extends ua {
|
|
38368
38365
|
LITERAL_DAY() {
|
|
38369
38366
|
return this.getToken(d.LITERAL_DAY, 0);
|
|
38370
38367
|
}
|
|
@@ -38385,7 +38382,7 @@ class nK extends oa {
|
|
|
38385
38382
|
}
|
|
38386
38383
|
}
|
|
38387
38384
|
F.LiteralDayContext = nK;
|
|
38388
|
-
class rK extends
|
|
38385
|
+
class rK extends ua {
|
|
38389
38386
|
LITERAL_WEEK() {
|
|
38390
38387
|
return this.getToken(d.LITERAL_WEEK, 0);
|
|
38391
38388
|
}
|
|
@@ -38406,7 +38403,7 @@ class rK extends oa {
|
|
|
38406
38403
|
}
|
|
38407
38404
|
}
|
|
38408
38405
|
F.LiteralWeekContext = rK;
|
|
38409
|
-
class iK extends
|
|
38406
|
+
class iK extends ua {
|
|
38410
38407
|
LITERAL_MONTH() {
|
|
38411
38408
|
return this.getToken(d.LITERAL_MONTH, 0);
|
|
38412
38409
|
}
|
|
@@ -38427,7 +38424,7 @@ class iK extends oa {
|
|
|
38427
38424
|
}
|
|
38428
38425
|
}
|
|
38429
38426
|
F.LiteralMonthContext = iK;
|
|
38430
|
-
class sK extends
|
|
38427
|
+
class sK extends ua {
|
|
38431
38428
|
LITERAL_QUARTER() {
|
|
38432
38429
|
return this.getToken(d.LITERAL_QUARTER, 0);
|
|
38433
38430
|
}
|
|
@@ -38448,7 +38445,7 @@ class sK extends oa {
|
|
|
38448
38445
|
}
|
|
38449
38446
|
}
|
|
38450
38447
|
F.LiteralQuarterContext = sK;
|
|
38451
|
-
class oK extends
|
|
38448
|
+
class oK extends ua {
|
|
38452
38449
|
LITERAL_YEAR() {
|
|
38453
38450
|
return this.getToken(d.LITERAL_YEAR, 0);
|
|
38454
38451
|
}
|
|
@@ -38471,7 +38468,7 @@ class oK extends oa {
|
|
|
38471
38468
|
F.LiteralYearContext = oK;
|
|
38472
38469
|
class J8 extends me.ParserRuleContext {
|
|
38473
38470
|
string() {
|
|
38474
|
-
return this.getRuleContext(0,
|
|
38471
|
+
return this.getRuleContext(0, sa);
|
|
38475
38472
|
}
|
|
38476
38473
|
constructor(e, n) {
|
|
38477
38474
|
super(e, n);
|
|
@@ -38496,7 +38493,7 @@ class J8 extends me.ParserRuleContext {
|
|
|
38496
38493
|
F.TablePathContext = J8;
|
|
38497
38494
|
class X8 extends me.ParserRuleContext {
|
|
38498
38495
|
string() {
|
|
38499
|
-
return this.getRuleContext(0,
|
|
38496
|
+
return this.getRuleContext(0, sa);
|
|
38500
38497
|
}
|
|
38501
38498
|
constructor(e, n) {
|
|
38502
38499
|
super(e, n);
|
|
@@ -38626,7 +38623,7 @@ class pC extends me.ParserRuleContext {
|
|
|
38626
38623
|
return this.tryGetRuleContext(0, S3);
|
|
38627
38624
|
}
|
|
38628
38625
|
string() {
|
|
38629
|
-
return this.tryGetRuleContext(0,
|
|
38626
|
+
return this.tryGetRuleContext(0, sa);
|
|
38630
38627
|
}
|
|
38631
38628
|
constructor(e, n) {
|
|
38632
38629
|
super(e, n);
|
|
@@ -38664,7 +38661,7 @@ class be extends me.ParserRuleContext {
|
|
|
38664
38661
|
F.FieldExprContext = be;
|
|
38665
38662
|
class uK extends be {
|
|
38666
38663
|
fieldPath() {
|
|
38667
|
-
return this.getRuleContext(0,
|
|
38664
|
+
return this.getRuleContext(0, aa);
|
|
38668
38665
|
}
|
|
38669
38666
|
constructor(e) {
|
|
38670
38667
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -38685,7 +38682,7 @@ class uK extends be {
|
|
|
38685
38682
|
F.ExprFieldPathContext = uK;
|
|
38686
38683
|
class aK extends be {
|
|
38687
38684
|
literal() {
|
|
38688
|
-
return this.getRuleContext(0,
|
|
38685
|
+
return this.getRuleContext(0, oa);
|
|
38689
38686
|
}
|
|
38690
38687
|
constructor(e) {
|
|
38691
38688
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -39372,7 +39369,7 @@ class NK extends be {
|
|
|
39372
39369
|
F.ExprPathlessAggregateContext = NK;
|
|
39373
39370
|
class FK extends be {
|
|
39374
39371
|
fieldPath() {
|
|
39375
|
-
return this.getRuleContext(0,
|
|
39372
|
+
return this.getRuleContext(0, aa);
|
|
39376
39373
|
}
|
|
39377
39374
|
DOT() {
|
|
39378
39375
|
return this.getToken(d.DOT, 0);
|
|
@@ -39435,7 +39432,7 @@ class LK extends be {
|
|
|
39435
39432
|
F.ExprExprContext = LK;
|
|
39436
39433
|
class IK extends be {
|
|
39437
39434
|
fieldPath() {
|
|
39438
|
-
return this.getRuleContext(0,
|
|
39435
|
+
return this.getRuleContext(0, aa);
|
|
39439
39436
|
}
|
|
39440
39437
|
DOT() {
|
|
39441
39438
|
return this.getToken(d.DOT, 0);
|
|
@@ -39883,7 +39880,7 @@ class ch extends me.ParserRuleContext {
|
|
|
39883
39880
|
F.RecordElementContext = ch;
|
|
39884
39881
|
class MK extends ch {
|
|
39885
39882
|
fieldPath() {
|
|
39886
|
-
return this.getRuleContext(0,
|
|
39883
|
+
return this.getRuleContext(0, aa);
|
|
39887
39884
|
}
|
|
39888
39885
|
constructor(e) {
|
|
39889
39886
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -40018,7 +40015,7 @@ class C3 extends me.ParserRuleContext {
|
|
|
40018
40015
|
return this.getToken(d.STAR, 0);
|
|
40019
40016
|
}
|
|
40020
40017
|
fieldPath() {
|
|
40021
|
-
return this.tryGetRuleContext(0,
|
|
40018
|
+
return this.tryGetRuleContext(0, aa);
|
|
40022
40019
|
}
|
|
40023
40020
|
DOT() {
|
|
40024
40021
|
return this.tryGetToken(d.DOT, 0);
|
|
@@ -40089,7 +40086,7 @@ class yC extends me.ParserRuleContext {
|
|
|
40089
40086
|
return this.getRuleContext(0, Ht);
|
|
40090
40087
|
}
|
|
40091
40088
|
fieldPath() {
|
|
40092
|
-
return this.getRuleContext(0,
|
|
40089
|
+
return this.getRuleContext(0, aa);
|
|
40093
40090
|
}
|
|
40094
40091
|
refExpr() {
|
|
40095
40092
|
return this.tryGetRuleContext(0, uF);
|
|
@@ -40183,7 +40180,7 @@ class Dv extends me.ParserRuleContext {
|
|
|
40183
40180
|
}
|
|
40184
40181
|
}
|
|
40185
40182
|
F.CollectionMemberContext = Dv;
|
|
40186
|
-
class
|
|
40183
|
+
class aa extends me.ParserRuleContext {
|
|
40187
40184
|
fieldName(e) {
|
|
40188
40185
|
return e === void 0 ? this.getRuleContexts(Tr) : this.getRuleContext(e, Tr);
|
|
40189
40186
|
}
|
|
@@ -40210,7 +40207,7 @@ class ua extends me.ParserRuleContext {
|
|
|
40210
40207
|
return e.visitFieldPath ? e.visitFieldPath(this) : e.visitChildren(this);
|
|
40211
40208
|
}
|
|
40212
40209
|
}
|
|
40213
|
-
F.FieldPathContext =
|
|
40210
|
+
F.FieldPathContext = aa;
|
|
40214
40211
|
class UK extends me.ParserRuleContext {
|
|
40215
40212
|
id() {
|
|
40216
40213
|
return this.getRuleContext(0, An);
|
|
@@ -40313,7 +40310,7 @@ class HK extends me.ParserRuleContext {
|
|
|
40313
40310
|
F.NameSQLBlockContext = HK;
|
|
40314
40311
|
class zK extends me.ParserRuleContext {
|
|
40315
40312
|
string() {
|
|
40316
|
-
return this.getRuleContext(0,
|
|
40313
|
+
return this.getRuleContext(0, sa);
|
|
40317
40314
|
}
|
|
40318
40315
|
constructor(e, n) {
|
|
40319
40316
|
super(e, n);
|
|
@@ -40400,7 +40397,7 @@ class aF extends me.ParserRuleContext {
|
|
|
40400
40397
|
return this.getToken(d.OBRACK, 0);
|
|
40401
40398
|
}
|
|
40402
40399
|
string() {
|
|
40403
|
-
return this.getRuleContext(0,
|
|
40400
|
+
return this.getRuleContext(0, sa);
|
|
40404
40401
|
}
|
|
40405
40402
|
CBRACK() {
|
|
40406
40403
|
return this.getToken(d.CBRACK, 0);
|
|
@@ -40463,20 +40460,20 @@ function xme(t, e) {
|
|
|
40463
40460
|
return r && e.logError("ambiguous-view-type", {}), n;
|
|
40464
40461
|
}
|
|
40465
40462
|
A2.detectAndRemovePartialStages = xme;
|
|
40466
|
-
var b3 = {}, Ye = {}, AC = {}, at = {},
|
|
40467
|
-
Object.defineProperty(
|
|
40468
|
-
|
|
40463
|
+
var b3 = {}, Ye = {}, AC = {}, at = {}, Iu = {};
|
|
40464
|
+
Object.defineProperty(Iu, "__esModule", { value: !0 });
|
|
40465
|
+
Iu.isNotUndefined = Iu.locationContainsPosition = void 0;
|
|
40469
40466
|
function dme(t, e) {
|
|
40470
40467
|
return t.range.start.line <= e.line && t.range.end.line >= e.line && (e.line !== t.range.start.line || e.character >= t.range.start.character) && (e.line !== t.range.end.line || e.character <= t.range.end.character);
|
|
40471
40468
|
}
|
|
40472
|
-
|
|
40469
|
+
Iu.locationContainsPosition = dme;
|
|
40473
40470
|
function hme(t) {
|
|
40474
40471
|
return t !== void 0;
|
|
40475
40472
|
}
|
|
40476
|
-
|
|
40473
|
+
Iu.isNotUndefined = hme;
|
|
40477
40474
|
Object.defineProperty(at, "__esModule", { value: !0 });
|
|
40478
40475
|
at.compositeFieldUsageJoinPaths = at.joinedCompositeFieldUsage = at.compositeFieldUsageDifference = at.emptyCompositeFieldUsage = at.mergeCompositeFieldUsage = at.unique = at.formatCompositeFieldUsage = at.compositeFieldUsageIsPlural = at.isEmptyCompositeFieldUsage = at.formatCompositeFieldUsages = at.compositeFieldUsagePaths = at.resolveCompositeSources = at.narrowCompositeFieldResolution = at.emptyNarrowedCompositeFieldResolution = void 0;
|
|
40479
|
-
const EM =
|
|
40476
|
+
const EM = Iu, U6 = Ke;
|
|
40480
40477
|
function wv(t, e, n, r = void 0) {
|
|
40481
40478
|
var i, s, o, u, a, l, c;
|
|
40482
40479
|
let f = { ...e }, x;
|
|
@@ -40847,7 +40844,7 @@ vC.DialectNameSpace = Rme;
|
|
|
40847
40844
|
var xh = {};
|
|
40848
40845
|
Object.defineProperty(xh, "__esModule", { value: !0 });
|
|
40849
40846
|
xh.getDialectFunctions = xh.GlobalNameSpace = void 0;
|
|
40850
|
-
const Ome = t2, Dme =
|
|
40847
|
+
const Ome = t2, Dme = vu, wme = Cs;
|
|
40851
40848
|
class Nme {
|
|
40852
40849
|
constructor() {
|
|
40853
40850
|
this.entries = eJ();
|
|
@@ -40927,7 +40924,7 @@ _r.extendNoteHelper = tJ;
|
|
|
40927
40924
|
Object.defineProperty(Ye, "__esModule", { value: !0 });
|
|
40928
40925
|
Ye.Document = Ye.DocStatementList = Ye.ListOf = Ye.isDocStatementOrDocStatementList = Ye.isDocStatement = Ye.ExperimentalExperiment = Ye.ModelEntryReference = Ye.Unimplemented = Ye.MalloyElement = void 0;
|
|
40929
40926
|
const AM = t2, fA = Ke, Bme = Mo, $me = AC, kme = Ds, Pme = vC, Mme = xh, vM = _r, jme = I5;
|
|
40930
|
-
class
|
|
40927
|
+
class _u {
|
|
40931
40928
|
/**
|
|
40932
40929
|
* @param kids All children passed to the constructor are not optional
|
|
40933
40930
|
*/
|
|
@@ -40943,7 +40940,7 @@ class vu {
|
|
|
40943
40940
|
for (const n in e) {
|
|
40944
40941
|
const r = e[n];
|
|
40945
40942
|
if (r !== void 0)
|
|
40946
|
-
if (this.children[n] = r, r instanceof
|
|
40943
|
+
if (this.children[n] = r, r instanceof _u)
|
|
40947
40944
|
r.parent = this;
|
|
40948
40945
|
else
|
|
40949
40946
|
for (const i of r)
|
|
@@ -41062,7 +41059,7 @@ class vu {
|
|
|
41062
41059
|
let i = `${r}${e}<${this.elementType}>${this.varInfo()}`;
|
|
41063
41060
|
for (const s of Object.keys(this.children)) {
|
|
41064
41061
|
const o = this.children[s];
|
|
41065
|
-
o instanceof
|
|
41062
|
+
o instanceof _u ? i += `
|
|
41066
41063
|
` + o.stringify(`${s}: `, n + 2) : (i += `
|
|
41067
41064
|
${r} ${s}: [`, o.length > 0 && (i += `
|
|
41068
41065
|
` + o.map((u) => u.stringify("", n + 4)).join(`
|
|
@@ -41074,7 +41071,7 @@ ${r} `), i += "]");
|
|
|
41074
41071
|
*walk() {
|
|
41075
41072
|
for (const e of Object.keys(this.children)) {
|
|
41076
41073
|
const n = this.children[e];
|
|
41077
|
-
if (n instanceof
|
|
41074
|
+
if (n instanceof _u)
|
|
41078
41075
|
yield n;
|
|
41079
41076
|
else
|
|
41080
41077
|
for (const r of n)
|
|
@@ -41103,14 +41100,14 @@ ${r} `), i += "]");
|
|
|
41103
41100
|
return i && (i.bare() || i.has(e)) ? !0 : (n || this.logError("experiment-not-enabled", { experimentId: e }), !1);
|
|
41104
41101
|
}
|
|
41105
41102
|
}
|
|
41106
|
-
Ye.MalloyElement =
|
|
41107
|
-
class Ume extends
|
|
41103
|
+
Ye.MalloyElement = _u;
|
|
41104
|
+
class Ume extends _u {
|
|
41108
41105
|
constructor() {
|
|
41109
41106
|
super(...arguments), this.elementType = "unimplemented", this.reported = !1;
|
|
41110
41107
|
}
|
|
41111
41108
|
}
|
|
41112
41109
|
Ye.Unimplemented = Ume;
|
|
41113
|
-
class yD extends
|
|
41110
|
+
class yD extends _u {
|
|
41114
41111
|
constructor(e) {
|
|
41115
41112
|
super(), this.name = e, this.elementType = "modelEntryReference";
|
|
41116
41113
|
}
|
|
@@ -41126,7 +41123,7 @@ class yD extends vu {
|
|
|
41126
41123
|
}
|
|
41127
41124
|
}
|
|
41128
41125
|
Ye.ModelEntryReference = yD;
|
|
41129
|
-
class qme extends
|
|
41126
|
+
class qme extends _u {
|
|
41130
41127
|
constructor(e) {
|
|
41131
41128
|
super(), this.id = e, this.elementType = "experimentalExperiment";
|
|
41132
41129
|
}
|
|
@@ -41143,7 +41140,7 @@ function Hme(t) {
|
|
|
41143
41140
|
return t instanceof T3 || nJ(t);
|
|
41144
41141
|
}
|
|
41145
41142
|
Ye.isDocStatementOrDocStatementList = Hme;
|
|
41146
|
-
class rJ extends
|
|
41143
|
+
class rJ extends _u {
|
|
41147
41144
|
constructor(e) {
|
|
41148
41145
|
super(), this.elements = e, this.newContents();
|
|
41149
41146
|
}
|
|
@@ -41202,7 +41199,7 @@ function Qme(t) {
|
|
|
41202
41199
|
const e = iJ(t).join("");
|
|
41203
41200
|
return (0, jme.v5)(e, zme);
|
|
41204
41201
|
}
|
|
41205
|
-
class ED extends
|
|
41202
|
+
class ED extends _u {
|
|
41206
41203
|
constructor(e) {
|
|
41207
41204
|
super(), this.elementType = "document", this.globalNameSpace = new Mme.GlobalNameSpace(), this.documentModel = {}, this.queryList = [], this.didInitModel = !1, this.annotation = {}, this.experiments = new Bme.Tag({}), this.modelAnnotationTodoList = [], this.dialectNameSpaces = /* @__PURE__ */ new Map(), this.statements = new T3(e), this.has({ statements: e });
|
|
41208
41205
|
}
|
|
@@ -41719,7 +41716,7 @@ function R3e(t, e) {
|
|
|
41719
41716
|
return r.push(...e), r;
|
|
41720
41717
|
}
|
|
41721
41718
|
b0.mergeFields = R3e;
|
|
41722
|
-
var O3 = {}, Sr = {},
|
|
41719
|
+
var O3 = {}, Sr = {}, Su = {}, O3e = T && T.__createBinding || (Object.create ? function(t, e, n, r) {
|
|
41723
41720
|
r === void 0 && (r = n);
|
|
41724
41721
|
var i = Object.getOwnPropertyDescriptor(e, n);
|
|
41725
41722
|
(!i || ("get" in i ? !e.__esModule : i.writable || i.configurable)) && (i = { enumerable: !0, get: function() {
|
|
@@ -41740,15 +41737,15 @@ var O3 = {}, Sr = {}, _u = {}, O3e = T && T.__createBinding || (Object.create ?
|
|
|
41740
41737
|
n !== "default" && Object.prototype.hasOwnProperty.call(t, n) && O3e(e, t, n);
|
|
41741
41738
|
return D3e(e, t), e;
|
|
41742
41739
|
};
|
|
41743
|
-
Object.defineProperty(
|
|
41744
|
-
|
|
41740
|
+
Object.defineProperty(Su, "__esModule", { value: !0 });
|
|
41741
|
+
Su.DefinedParameter = Su.AbstractParameter = Su.SpaceParam = void 0;
|
|
41745
41742
|
const N3e = C0, uJ = w3e(Wt), aJ = at;
|
|
41746
41743
|
class xF extends N3e.SpaceEntry {
|
|
41747
41744
|
constructor() {
|
|
41748
41745
|
super(...arguments), this.refType = "parameter";
|
|
41749
41746
|
}
|
|
41750
41747
|
}
|
|
41751
|
-
|
|
41748
|
+
Su.SpaceParam = xF;
|
|
41752
41749
|
class F3e extends xF {
|
|
41753
41750
|
constructor(e) {
|
|
41754
41751
|
super(), this.astParam = e, this._parameter = void 0;
|
|
@@ -41768,7 +41765,7 @@ class F3e extends xF {
|
|
|
41768
41765
|
return this.parameter().type;
|
|
41769
41766
|
}
|
|
41770
41767
|
}
|
|
41771
|
-
|
|
41768
|
+
Su.AbstractParameter = F3e;
|
|
41772
41769
|
class L3e extends xF {
|
|
41773
41770
|
constructor(e) {
|
|
41774
41771
|
super(), this.paramDef = e;
|
|
@@ -41790,7 +41787,7 @@ class L3e extends xF {
|
|
|
41790
41787
|
return this.paramDef.type;
|
|
41791
41788
|
}
|
|
41792
41789
|
}
|
|
41793
|
-
|
|
41790
|
+
Su.DefinedParameter = L3e;
|
|
41794
41791
|
var Dx = {}, I3e = T && T.__createBinding || (Object.create ? function(t, e, n, r) {
|
|
41795
41792
|
r === void 0 && (r = n);
|
|
41796
41793
|
var i = Object.getOwnPropertyDescriptor(e, n);
|
|
@@ -41891,7 +41888,7 @@ class z3e extends H3e.ViewField {
|
|
|
41891
41888
|
CC.IRViewField = z3e;
|
|
41892
41889
|
Object.defineProperty(Sr, "__esModule", { value: !0 });
|
|
41893
41890
|
Sr.StaticSourceSpace = Sr.StructSpaceField = Sr.StaticSpace = void 0;
|
|
41894
|
-
const Q3e =
|
|
41891
|
+
const Q3e = vu, vd = Ke, G3e = Su, W3e = Dr, j1 = Dx, V3e = D3, Y3e = CC;
|
|
41895
41892
|
class dF {
|
|
41896
41893
|
constructor(e, n) {
|
|
41897
41894
|
this.type = "fieldSpace", this.fromStruct = e, this.structDialect = n;
|
|
@@ -42033,7 +42030,7 @@ O3.JoinSpaceField = J3e;
|
|
|
42033
42030
|
var S2 = {};
|
|
42034
42031
|
Object.defineProperty(S2, "__esModule", { value: !0 });
|
|
42035
42032
|
S2.ParameterSpace = void 0;
|
|
42036
|
-
const X3e =
|
|
42033
|
+
const X3e = Su;
|
|
42037
42034
|
class Z3e {
|
|
42038
42035
|
constructor(e) {
|
|
42039
42036
|
this.type = "fieldSpace", this._map = {};
|
|
@@ -42118,7 +42115,7 @@ var eye = T && T.__createBinding || (Object.create ? function(t, e, n, r) {
|
|
|
42118
42115
|
};
|
|
42119
42116
|
Object.defineProperty(SC, "__esModule", { value: !0 });
|
|
42120
42117
|
SC.DynamicSpace = void 0;
|
|
42121
|
-
const rye = nye(Ke), iye = b0, sye = Xr, oye = Dr, uye = O3, aye = v2, RM =
|
|
42118
|
+
const rye = nye(Ke), iye = b0, sye = Xr, oye = Dr, uye = O3, aye = v2, RM = Su, lye = Sr, cye = Dx, fye = S2;
|
|
42122
42119
|
class xye extends lye.StaticSpace {
|
|
42123
42120
|
constructor(e) {
|
|
42124
42121
|
super(structuredClone(e), e.dialect), this.complete = !1, this.parameters = [], this.newAccessModifiers = /* @__PURE__ */ new Map(), this.newNotes = /* @__PURE__ */ new Map(), this.fromSource = e, this.sourceDef = void 0;
|
|
@@ -42324,10 +42321,10 @@ class Sye extends vye.DefinitionList {
|
|
|
42324
42321
|
}
|
|
42325
42322
|
}
|
|
42326
42323
|
cc.DeclareFields = Sye;
|
|
42327
|
-
var
|
|
42328
|
-
Object.defineProperty(
|
|
42329
|
-
|
|
42330
|
-
const DM = Ke, Cye =
|
|
42324
|
+
var Bu = {};
|
|
42325
|
+
Object.defineProperty(Bu, "__esModule", { value: !0 });
|
|
42326
|
+
Bu.Filter = Bu.FilterElement = void 0;
|
|
42327
|
+
const DM = Ke, Cye = Iu, cJ = Ye, q6 = Nn;
|
|
42331
42328
|
class bye extends cJ.MalloyElement {
|
|
42332
42329
|
constructor(e, n) {
|
|
42333
42330
|
super({ expr: e }), this.expr = e, this.exprSrc = n, this.elementType = "filterElement";
|
|
@@ -42349,7 +42346,7 @@ class bye extends cJ.MalloyElement {
|
|
|
42349
42346
|
};
|
|
42350
42347
|
}
|
|
42351
42348
|
}
|
|
42352
|
-
|
|
42349
|
+
Bu.FilterElement = bye;
|
|
42353
42350
|
let Tye = class extends cJ.ListOf {
|
|
42354
42351
|
constructor() {
|
|
42355
42352
|
super(...arguments), this.elementType = "filter", this.forceQueryClass = void 0, this.queryRefinementStage = q6.LegalRefinementStage.Head;
|
|
@@ -42385,7 +42382,7 @@ let Tye = class extends cJ.ListOf {
|
|
|
42385
42382
|
}
|
|
42386
42383
|
}
|
|
42387
42384
|
};
|
|
42388
|
-
|
|
42385
|
+
Bu.Filter = Tye;
|
|
42389
42386
|
var C2 = {};
|
|
42390
42387
|
Object.defineProperty(C2, "__esModule", { value: !0 });
|
|
42391
42388
|
C2.FieldListEdit = void 0;
|
|
@@ -43022,7 +43019,7 @@ class OEe extends dEe.DefinitionList {
|
|
|
43022
43019
|
ht.FieldReferences = OEe;
|
|
43023
43020
|
Object.defineProperty(R3, "__esModule", { value: !0 });
|
|
43024
43021
|
R3.RefinedSource = void 0;
|
|
43025
|
-
const DEe = Ke, wEe = _2, NEe = cc, FEe =
|
|
43022
|
+
const DEe = Ke, wEe = _2, NEe = cc, FEe = Bu, LEe = C2, IEe = b2, BEe = T2, $Ee = uo, kEe = R2, PEe = T0, MEe = R0, jEe = S2, UEe = ki, LM = So, H6 = ht;
|
|
43026
43023
|
class qEe extends $Ee.Source {
|
|
43027
43024
|
constructor(e, n, r) {
|
|
43028
43025
|
super({ source: e, refinement: n }), this.source = e, this.refinement = n, this.includeList = r, this.elementType = "refinedSource", r && this.has({ includeList: r });
|
|
@@ -45940,13 +45937,13 @@ e4.ExprSum = BSe;
|
|
|
45940
45937
|
var t4 = {};
|
|
45941
45938
|
Object.defineProperty(t4, "__esModule", { value: !0 });
|
|
45942
45939
|
t4.ExprTimeExtract = void 0;
|
|
45943
|
-
const
|
|
45940
|
+
const _a = Ke, cE = jt, J6 = ct, $Se = xc;
|
|
45944
45941
|
class Gg extends J6.ExpressionDef {
|
|
45945
45942
|
static extractor(e) {
|
|
45946
45943
|
const n = Gg.pluralMap[e];
|
|
45947
45944
|
if (n)
|
|
45948
45945
|
return n;
|
|
45949
|
-
if ((0,
|
|
45946
|
+
if ((0, _a.isExtractUnit)(e))
|
|
45950
45947
|
return e;
|
|
45951
45948
|
}
|
|
45952
45949
|
constructor(e, n) {
|
|
@@ -45966,12 +45963,12 @@ class Gg extends J6.ExpressionDef {
|
|
|
45966
45963
|
error: "extract from error",
|
|
45967
45964
|
from: [i, s]
|
|
45968
45965
|
});
|
|
45969
|
-
if (!(0,
|
|
45966
|
+
if (!(0, _a.isTemporalType)(i.type))
|
|
45970
45967
|
return r.first.loggedErrorExpr("invalid-type-for-time-extraction", `Can't extract ${n} from '${i.type}'`);
|
|
45971
|
-
if (!(0,
|
|
45968
|
+
if (!(0, _a.isTemporalType)(s.type))
|
|
45972
45969
|
return r.last.loggedErrorExpr("invalid-type-for-time-extraction", `Cannot extract ${n} from '${s.type}'`);
|
|
45973
45970
|
let o = i.type;
|
|
45974
|
-
if (!
|
|
45971
|
+
if (!_a.TD.eq(i, s)) {
|
|
45975
45972
|
let u = !0;
|
|
45976
45973
|
if (o = "timestamp", i.type === "date") {
|
|
45977
45974
|
const a = (0, J6.getMorphicValue)(i, "timestamp");
|
|
@@ -45983,25 +45980,25 @@ class Gg extends J6.ExpressionDef {
|
|
|
45983
45980
|
if (u)
|
|
45984
45981
|
return r.first.loggedErrorExpr("invalid-types-for-time-measurement", `Cannot measure from ${i.type} to ${s.type}`);
|
|
45985
45982
|
}
|
|
45986
|
-
return ["week", "month", "quarter", "year"].includes(n) ? this.loggedErrorExpr("invalid-timeframe-for-time-measurement", `Cannot measure interval using '${n}'`) : (0,
|
|
45983
|
+
return ["week", "month", "quarter", "year"].includes(n) ? this.loggedErrorExpr("invalid-timeframe-for-time-measurement", `Cannot measure interval using '${n}'`) : (0, _a.isTimestampUnit)(n) ? (0, cE.computedExprValue)({
|
|
45987
45984
|
dataType: { type: "number", numberType: "integer" },
|
|
45988
45985
|
value: {
|
|
45989
45986
|
node: "timeDiff",
|
|
45990
45987
|
units: n,
|
|
45991
45988
|
kids: {
|
|
45992
|
-
left: (0,
|
|
45993
|
-
right: (0,
|
|
45989
|
+
left: (0, _a.mkTemporal)(i.value, o),
|
|
45990
|
+
right: (0, _a.mkTemporal)(s.value, o)
|
|
45994
45991
|
}
|
|
45995
45992
|
},
|
|
45996
45993
|
from: [i, s]
|
|
45997
45994
|
}) : this.loggedErrorExpr("invalid-time-extraction-unit", `Cannot extract ${n} from a range`);
|
|
45998
45995
|
} else {
|
|
45999
45996
|
const i = r.getExpression(e);
|
|
46000
|
-
return (0,
|
|
45997
|
+
return (0, _a.isTemporalType)(i.type) ? (0, cE.computedExprValue)({
|
|
46001
45998
|
dataType: { type: "number", numberType: "integer" },
|
|
46002
45999
|
value: {
|
|
46003
46000
|
node: "extract",
|
|
46004
|
-
e: (0,
|
|
46001
|
+
e: (0, _a.mkTemporal)(i.value, i.type),
|
|
46005
46002
|
units: n
|
|
46006
46003
|
},
|
|
46007
46004
|
from: [i]
|
|
@@ -46080,7 +46077,7 @@ var jSe = T && T.__createBinding || (Object.create ? function(t, e, n, r) {
|
|
|
46080
46077
|
};
|
|
46081
46078
|
Object.defineProperty(Do, "__esModule", { value: !0 });
|
|
46082
46079
|
Do.ReduceFieldSpace = Do.QuerySpace = Do.QueryOperationSpace = void 0;
|
|
46083
|
-
const Fv = qSe(Ke), X6 = b0, DJ = hc, tj = Dr, HSe = ht, zSe = _2, QSe = D3, GSe = Sr, WSe = r4,
|
|
46080
|
+
const Fv = qSe(Ke), X6 = b0, DJ = hc, tj = Dr, HSe = ht, zSe = _2, QSe = D3, GSe = Sr, WSe = r4, uu = at, VSe = Dx;
|
|
46084
46081
|
class wJ extends zSe.RefinedSpace {
|
|
46085
46082
|
get compositeFieldUsage() {
|
|
46086
46083
|
if (this._compositeFieldUsage === void 0)
|
|
@@ -46150,14 +46147,14 @@ class wJ extends zSe.RefinedSpace {
|
|
|
46150
46147
|
this.astEl.has({ reference: r });
|
|
46151
46148
|
const i = this.exprSpace.lookup(r);
|
|
46152
46149
|
if (i.found && i.found instanceof VSe.StructSpaceFieldBase)
|
|
46153
|
-
return (n = i.found.fieldDef().onCompositeFieldUsage) !== null && n !== void 0 ? n : (0,
|
|
46150
|
+
return (0, uu.joinedCompositeFieldUsage)(e.slice(0, -1), (n = i.found.fieldDef().onCompositeFieldUsage) !== null && n !== void 0 ? n : (0, uu.emptyCompositeFieldUsage)());
|
|
46154
46151
|
throw new Error("Unexpected join lookup was not found or not a struct");
|
|
46155
46152
|
}
|
|
46156
46153
|
getCompositeFieldUsageIncludingJoinOns(e) {
|
|
46157
46154
|
let n = e;
|
|
46158
|
-
const r = (0,
|
|
46155
|
+
const r = (0, uu.compositeFieldUsageJoinPaths)(e);
|
|
46159
46156
|
for (const i of r)
|
|
46160
|
-
n = (0,
|
|
46157
|
+
n = (0, uu.mergeCompositeFieldUsage)(this.getJoinOnCompositeFieldUsage(i), n);
|
|
46161
46158
|
return n;
|
|
46162
46159
|
}
|
|
46163
46160
|
addCompositeFieldUserFromFilter(e, n) {
|
|
@@ -46168,9 +46165,9 @@ class wJ extends zSe.RefinedSpace {
|
|
|
46168
46165
|
}
|
|
46169
46166
|
applyNextCompositeFieldUsage(e, n, r, i, s) {
|
|
46170
46167
|
if (i) {
|
|
46171
|
-
const o = this.getCompositeFieldUsageIncludingJoinOns((0,
|
|
46172
|
-
if (n = (0,
|
|
46173
|
-
const u = (0,
|
|
46168
|
+
const o = this.getCompositeFieldUsageIncludingJoinOns((0, uu.compositeFieldUsageDifference)(i, n));
|
|
46169
|
+
if (n = (0, uu.mergeCompositeFieldUsage)(n, o), !(0, uu.isEmptyCompositeFieldUsage)(o)) {
|
|
46170
|
+
const u = (0, uu.narrowCompositeFieldResolution)(e, n, r);
|
|
46174
46171
|
u.error ? (s ?? this).logError("invalid-composite-field-usage", {
|
|
46175
46172
|
newUsage: o,
|
|
46176
46173
|
allUsage: n
|
|
@@ -46210,7 +46207,7 @@ class NJ extends wJ {
|
|
|
46210
46207
|
}
|
|
46211
46208
|
queryFieldDefs() {
|
|
46212
46209
|
const e = [];
|
|
46213
|
-
let n = (0,
|
|
46210
|
+
let n = (0, uu.emptyCompositeFieldUsage)(), r = (0, uu.emptyNarrowedCompositeFieldResolution)();
|
|
46214
46211
|
const i = this.inputSpace().structDef();
|
|
46215
46212
|
for (const s of this.compositeFieldUsers) {
|
|
46216
46213
|
let o;
|
|
@@ -47258,13 +47255,13 @@ function BCe(t, e) {
|
|
|
47258
47255
|
return r;
|
|
47259
47256
|
}
|
|
47260
47257
|
let dE = {};
|
|
47261
|
-
class
|
|
47258
|
+
class $u extends $2 {
|
|
47262
47259
|
/**
|
|
47263
47260
|
* @param {string} name - Zone name
|
|
47264
47261
|
* @return {IANAZone}
|
|
47265
47262
|
*/
|
|
47266
47263
|
static create(e) {
|
|
47267
|
-
return dE[e] || (dE[e] = new
|
|
47264
|
+
return dE[e] || (dE[e] = new $u(e)), dE[e];
|
|
47268
47265
|
}
|
|
47269
47266
|
/**
|
|
47270
47267
|
* Reset local caches. Should only be necessary in testing scenarios.
|
|
@@ -47304,7 +47301,7 @@ class Bu extends $2 {
|
|
|
47304
47301
|
}
|
|
47305
47302
|
}
|
|
47306
47303
|
constructor(e) {
|
|
47307
|
-
super(), this.zoneName = e, this.valid =
|
|
47304
|
+
super(), this.zoneName = e, this.valid = $u.isValidZone(e);
|
|
47308
47305
|
}
|
|
47309
47306
|
/** @override **/
|
|
47310
47307
|
get type() {
|
|
@@ -47475,7 +47472,7 @@ function e0(t, e) {
|
|
|
47475
47472
|
return t;
|
|
47476
47473
|
if (pCe(t)) {
|
|
47477
47474
|
const n = t.toLowerCase();
|
|
47478
|
-
return n === "local" || n === "system" ? e : n === "utc" || n === "gmt" ? qr.utcInstance : qr.parseSpecifier(n) ||
|
|
47475
|
+
return n === "local" || n === "system" ? e : n === "utc" || n === "gmt" ? qr.utcInstance : qr.parseSpecifier(n) || $u.create(t);
|
|
47479
47476
|
} else
|
|
47480
47477
|
return xf(t) ? qr.instance(t) : typeof t == "object" && t.offset && typeof t.offset == "number" ? t : new lX(t);
|
|
47481
47478
|
}
|
|
@@ -47575,7 +47572,7 @@ class In {
|
|
|
47575
47572
|
* @return {void}
|
|
47576
47573
|
*/
|
|
47577
47574
|
static resetCaches() {
|
|
47578
|
-
mn.resetCache(),
|
|
47575
|
+
mn.resetCache(), $u.resetCache();
|
|
47579
47576
|
}
|
|
47580
47577
|
}
|
|
47581
47578
|
let hj = {};
|
|
@@ -47686,7 +47683,7 @@ class GCe {
|
|
|
47686
47683
|
let i;
|
|
47687
47684
|
if (e.zone.isUniversal) {
|
|
47688
47685
|
const o = -1 * (e.offset / 60), u = o >= 0 ? `Etc/GMT+${o}` : `Etc/GMT${o}`;
|
|
47689
|
-
e.offset !== 0 &&
|
|
47686
|
+
e.offset !== 0 && $u.create(u).valid ? (i = u, this.dt = e) : (i = "UTC", r.timeZoneName ? this.dt = e : this.dt = e.offset === 0 ? e : xt.fromMillis(e.ts + e.offset * 60 * 1e3));
|
|
47690
47687
|
} else
|
|
47691
47688
|
e.zone.type === "system" ? this.dt = e : (this.dt = e, i = e.zone.name);
|
|
47692
47689
|
const s = {
|
|
@@ -47892,7 +47889,7 @@ function Q3(t, e) {
|
|
|
47892
47889
|
return [{}, i, e + 3];
|
|
47893
47890
|
}
|
|
47894
47891
|
function G3(t, e) {
|
|
47895
|
-
const n = t[e] ?
|
|
47892
|
+
const n = t[e] ? $u.create(t[e]) : null;
|
|
47896
47893
|
return [{}, n, e + 1];
|
|
47897
47894
|
}
|
|
47898
47895
|
const r4e = RegExp(`^T?${RF.source}$`), i4e = /^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;
|
|
@@ -49112,7 +49109,7 @@ let H1 = class {
|
|
|
49112
49109
|
* @return {boolean}
|
|
49113
49110
|
*/
|
|
49114
49111
|
static isValidIANAZone(e) {
|
|
49115
|
-
return
|
|
49112
|
+
return $u.isValidZone(e);
|
|
49116
49113
|
}
|
|
49117
49114
|
/**
|
|
49118
49115
|
* Converts the input into a {@link Zone} instance.
|
|
@@ -49611,7 +49608,7 @@ function J4e(t) {
|
|
|
49611
49608
|
}
|
|
49612
49609
|
};
|
|
49613
49610
|
let n = null, r;
|
|
49614
|
-
return bt(t.z) || (n =
|
|
49611
|
+
return bt(t.z) || (n = $u.create(t.z)), bt(t.Z) || (n || (n = new qr(t.Z)), r = t.Z), bt(t.q) || (t.M = (t.q - 1) * 3 + 1), bt(t.h) || (t.h < 12 && t.a === 1 ? t.h += 12 : t.h === 12 && t.a === 0 && (t.h = 0)), t.G === 0 && t.y && (t.y = -t.y), bt(t.u) || (t.S = CF(t.u)), [Object.keys(t).reduce((s, o) => {
|
|
49615
49612
|
const u = e(o);
|
|
49616
49613
|
return u && (s[u] = t[o]), s;
|
|
49617
49614
|
}, {}), n, r];
|
|
@@ -51423,7 +51420,7 @@ const abe = "2.5.2";
|
|
|
51423
51420
|
var lbe = Ki.DateTime = xt;
|
|
51424
51421
|
Ki.Duration = Tt;
|
|
51425
51422
|
Ki.FixedOffsetZone = qr;
|
|
51426
|
-
Ki.IANAZone =
|
|
51423
|
+
Ki.IANAZone = $u;
|
|
51427
51424
|
Ki.Info = H1;
|
|
51428
51425
|
Ki.Interval = dn;
|
|
51429
51426
|
Ki.InvalidZone = lX;
|
|
@@ -52440,7 +52437,7 @@ class ITe extends NTe.QueryOperationSpace {
|
|
|
52440
52437
|
A4.IndexFieldSpace = ITe;
|
|
52441
52438
|
Object.defineProperty(E4, "__esModule", { value: !0 });
|
|
52442
52439
|
E4.IndexBuilder = void 0;
|
|
52443
|
-
const fR = Ke, BTe = Xr, $Te =
|
|
52440
|
+
const fR = Ke, BTe = Xr, $Te = Bu, kTe = K3, PTe = dc, MTe = J3, jTe = A4, xR = at;
|
|
52444
52441
|
class UTe {
|
|
52445
52442
|
constructor(e, n, r, i) {
|
|
52446
52443
|
this.filters = [], this.alwaysJoins = [], this.type = "index", this.resultFS = new jTe.IndexFieldSpace(e, n, r, i), this.inputFS = this.resultFS.inputSpace();
|
|
@@ -53181,7 +53178,7 @@ D4.SourceDesc = uRe;
|
|
|
53181
53178
|
var w4 = {};
|
|
53182
53179
|
Object.defineProperty(w4, "__esModule", { value: !0 });
|
|
53183
53180
|
w4.isSourceProperty = void 0;
|
|
53184
|
-
const aRe =
|
|
53181
|
+
const aRe = Bu, lRe = cc, cRe = C2, fRe = R0, xRe = b2, dRe = T2, hRe = R2, pRe = T0, gRe = ki;
|
|
53185
53182
|
function mRe(t) {
|
|
53186
53183
|
return t instanceof aRe.Filter || t instanceof gRe.JoinStatement || t instanceof lRe.DeclareFields || t instanceof cRe.FieldListEdit || t instanceof fRe.Renames || t instanceof xRe.PrimaryKey || t instanceof pRe.ObjectAnnotation || t instanceof dRe.Views || t instanceof hRe.TimezoneStatement;
|
|
53187
53184
|
}
|
|
@@ -53222,7 +53219,7 @@ I4.isQueryExtendProperty = DRe;
|
|
|
53222
53219
|
var B4 = {};
|
|
53223
53220
|
Object.defineProperty(B4, "__esModule", { value: !0 });
|
|
53224
53221
|
B4.isFieldPropStatement = void 0;
|
|
53225
|
-
const wRe = D0, NRe =
|
|
53222
|
+
const wRe = D0, NRe = Bu, FRe = dc, LRe = B2;
|
|
53226
53223
|
function IRe(t) {
|
|
53227
53224
|
return t instanceof NRe.Filter || t instanceof FRe.Limit || t instanceof LRe.PartitionBy || t instanceof wRe.FunctionOrdering;
|
|
53228
53225
|
}
|
|
@@ -53240,7 +53237,7 @@ B4.isFieldPropStatement = IRe;
|
|
|
53240
53237
|
for (var s in r)
|
|
53241
53238
|
s !== "default" && !Object.prototype.hasOwnProperty.call(i, s) && e(i, r, s);
|
|
53242
53239
|
};
|
|
53243
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), n(zg, t), n(dh, t), n(hh, t), n(uo, t), n(R3, t), n(Vo, t), n(bC, t), n(TC, t), n(OC, t), n(L3, t), n(wC, t), n(NC, t), n(So, t), n(C2, t), n(b2, t), n(R0, t), n(T2, t), n(R2, t), n(LC, t), n(L2, t), n(IC, t), n(D0, t), n(BC, t), n(bl, t), n($C, t), n(I2, t), n(kC, t), n(PC, t), n(MC, t), n(Ga, t), n(jC, t), n(UC, t), n(qC, t), n(q3, t), n(U3, t), n(Nx, t), n(HC, t), n(zC, t), n(QC, t), n(GC, t), n(WC, t), n(VC, t), n(YC, t), n(d0, t), n(KC, t), n(JC, t), n(XC, t), n(ZC, t), n(e4, t), n(t4, t), n(n4, t), n(i4, t), n(tr, t), n(l4, t), n(B2, t), n(gh, t), n(mh, t), n(c4, t), n(Uf, t), n(xc, t), n(f4, t), n(H3, t), n(h0, t), n(Wg, t), n(x4, t), n(d4, t), n(h4, t), n(D2, t), n(O2, t), n(pc, t), n(p4, t), n(g4, t), n(m4, t), n(y4, t), n(pn, t), n(ht, t), n(C4, t), n(b4, t), n(cc, t), n(Z3, t), n(Wg, t), n(
|
|
53240
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), n(zg, t), n(dh, t), n(hh, t), n(uo, t), n(R3, t), n(Vo, t), n(bC, t), n(TC, t), n(OC, t), n(L3, t), n(wC, t), n(NC, t), n(So, t), n(C2, t), n(b2, t), n(R0, t), n(T2, t), n(R2, t), n(LC, t), n(L2, t), n(IC, t), n(D0, t), n(BC, t), n(bl, t), n($C, t), n(I2, t), n(kC, t), n(PC, t), n(MC, t), n(Ga, t), n(jC, t), n(UC, t), n(qC, t), n(q3, t), n(U3, t), n(Nx, t), n(HC, t), n(zC, t), n(QC, t), n(GC, t), n(WC, t), n(VC, t), n(YC, t), n(d0, t), n(KC, t), n(JC, t), n(XC, t), n(ZC, t), n(e4, t), n(t4, t), n(n4, t), n(i4, t), n(tr, t), n(l4, t), n(B2, t), n(gh, t), n(mh, t), n(c4, t), n(Uf, t), n(xc, t), n(f4, t), n(H3, t), n(h0, t), n(Wg, t), n(x4, t), n(d4, t), n(h4, t), n(D2, t), n(O2, t), n(pc, t), n(p4, t), n(g4, t), n(m4, t), n(y4, t), n(pn, t), n(ht, t), n(C4, t), n(b4, t), n(cc, t), n(Z3, t), n(Wg, t), n(Bu, t), n(X3, t), n(K3, t), n(ki, t), n(b3, t), n(dc, t), n(ey, t), n(zg, t), n(T4, t), n(qf, t), n(R4, t), n(Y3, t), n(J3, t), n(w2, t), n(wx, t), n(M3, t), n(p0, t), n(O4, t), n(T0, t), n(Oo, t), n(D4, t), n(w4, t), n(ct, t), n(N4, t), n(hc, t), n(Ye, t), n(F4, t), n(qX, t), n(L4, t), n(I4, t), n(B4, t);
|
|
53244
53241
|
})(EC);
|
|
53245
53242
|
var $4 = {}, yh = {};
|
|
53246
53243
|
Object.defineProperty(yh, "__esModule", { value: !0 });
|
|
@@ -53327,7 +53324,7 @@ var kRe = T && T.__createBinding || (Object.create ? function(t, e, n, r) {
|
|
|
53327
53324
|
};
|
|
53328
53325
|
Object.defineProperty($4, "__esModule", { value: !0 });
|
|
53329
53326
|
$4.MalloyToAST = void 0;
|
|
53330
|
-
const Xj = US, jRe = Im, te = MRe(EC), gR = AC, Zj = dr, URe = EC, Ln = xn, mR = Ke, qRe = Mo, HRe = yh, zRe =
|
|
53327
|
+
const Xj = US, jRe = Im, te = MRe(EC), gR = AC, Zj = dr, URe = EC, Ln = xn, mR = Ke, qRe = Mo, HRe = yh, zRe = Iu;
|
|
53331
53328
|
class eU extends te.SourceQueryElement {
|
|
53332
53329
|
constructor() {
|
|
53333
53330
|
super(...arguments), this.elementType = "parseErrorSourceQuery";
|
|
@@ -54725,7 +54722,7 @@ j4.walkForDocumentHelpContext = oOe;
|
|
|
54725
54722
|
var U4 = {};
|
|
54726
54723
|
Object.defineProperty(U4, "__esModule", { value: !0 });
|
|
54727
54724
|
U4.ReferenceList = void 0;
|
|
54728
|
-
const uOe =
|
|
54725
|
+
const uOe = Iu;
|
|
54729
54726
|
class aOe {
|
|
54730
54727
|
constructor(e) {
|
|
54731
54728
|
this.sourceURL = e, this.references = [];
|
|
@@ -54838,9 +54835,9 @@ var gOe = T && T.__createBinding || (Object.create ? function(t, e, n, r) {
|
|
|
54838
54835
|
n !== "default" && Object.prototype.hasOwnProperty.call(t, n) && gOe(e, t, n);
|
|
54839
54836
|
return mOe(e, t), e;
|
|
54840
54837
|
};
|
|
54841
|
-
Object.defineProperty(
|
|
54842
|
-
|
|
54843
|
-
const nU = US, EOe = Ke, AOe = JS, vOe = F, zX = yOe(EC), _Oe = $4, UD = AC, SOe = Wa, ER = k4, COe = P4, bOe = M4, TOe = j4, ROe = U4, $v = q4, OOe =
|
|
54838
|
+
Object.defineProperty(yu, "__esModule", { value: !0 });
|
|
54839
|
+
yu.MalloyParserErrorHandler = yu.MalloyTranslator = yu.MalloyChildTranslator = yu.MalloyTranslation = void 0;
|
|
54840
|
+
const nU = US, EOe = Ke, AOe = JS, vOe = F, zX = yOe(EC), _Oe = $4, UD = AC, SOe = Wa, ER = k4, COe = P4, bOe = M4, TOe = j4, ROe = U4, $v = q4, OOe = Iu, QX = Mo, DOe = H4, wOe = z4;
|
|
54844
54841
|
class NOe extends AOe.MalloyLexer {
|
|
54845
54842
|
popMode() {
|
|
54846
54843
|
return this._modeStack.isEmpty ? this._mode : super.popMode();
|
|
@@ -55394,13 +55391,13 @@ ${i}` : e = i;
|
|
|
55394
55391
|
return n !== void 0 && (n.bare() || n.has("dialect", e));
|
|
55395
55392
|
}
|
|
55396
55393
|
}
|
|
55397
|
-
|
|
55394
|
+
yu.MalloyTranslation = UF;
|
|
55398
55395
|
class GX extends UF {
|
|
55399
55396
|
constructor(e, n) {
|
|
55400
55397
|
super(e), this.root = n;
|
|
55401
55398
|
}
|
|
55402
55399
|
}
|
|
55403
|
-
|
|
55400
|
+
yu.MalloyChildTranslator = GX;
|
|
55404
55401
|
class UOe extends UF {
|
|
55405
55402
|
constructor(e, n = null, r = null, i = null) {
|
|
55406
55403
|
super(e, n), this.eventStream = i, this.schemaZone = new ER.Zone(), this.importZone = new ER.Zone(), this.pretranslatedModels = /* @__PURE__ */ new Map(), this.sqlQueryZone = new ER.Zone(), this.root = this, this.logger = new UD.BaseMessageLogger(i), r && this.update(r);
|
|
@@ -55415,7 +55412,7 @@ class UOe extends UF {
|
|
|
55415
55412
|
return this.logger.log((0, UD.makeLogMessage)(e, n, { severity: "error", ...r })), e;
|
|
55416
55413
|
}
|
|
55417
55414
|
}
|
|
55418
|
-
|
|
55415
|
+
yu.MalloyTranslator = UOe;
|
|
55419
55416
|
class WX {
|
|
55420
55417
|
constructor(e, n) {
|
|
55421
55418
|
this.translator = e, this.messages = n;
|
|
@@ -55430,7 +55427,7 @@ class WX {
|
|
|
55430
55427
|
});
|
|
55431
55428
|
}
|
|
55432
55429
|
}
|
|
55433
|
-
|
|
55430
|
+
yu.MalloyParserErrorHandler = WX;
|
|
55434
55431
|
function VX(t) {
|
|
55435
55432
|
return [
|
|
55436
55433
|
...Object.keys(t),
|
|
@@ -55469,7 +55466,7 @@ function HOe(t, e) {
|
|
|
55469
55466
|
Eh.exploreQueryWalkerBuilder = HOe;
|
|
55470
55467
|
(function(t) {
|
|
55471
55468
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.exploreQueryWalkerBuilder = t.MalloyTranslation = t.MalloyTranslator = void 0;
|
|
55472
|
-
var e =
|
|
55469
|
+
var e = yu;
|
|
55473
55470
|
Object.defineProperty(t, "MalloyTranslator", { enumerable: !0, get: function() {
|
|
55474
55471
|
return e.MalloyTranslator;
|
|
55475
55472
|
} }), Object.defineProperty(t, "MalloyTranslation", { enumerable: !0, get: function() {
|
|
@@ -56396,10 +56393,10 @@ class hs extends qF {
|
|
|
56396
56393
|
}
|
|
56397
56394
|
}
|
|
56398
56395
|
we.Explore = hs;
|
|
56399
|
-
var
|
|
56396
|
+
var au;
|
|
56400
56397
|
(function(t) {
|
|
56401
56398
|
t.String = "string", t.Number = "number", t.Boolean = "boolean", t.Date = "date", t.Timestamp = "timestamp", t.Json = "json", t.NativeUnsupported = "sql native", t.Error = "error";
|
|
56402
|
-
})(
|
|
56399
|
+
})(au || (we.AtomicFieldType = au = {}));
|
|
56403
56400
|
class mc extends qF {
|
|
56404
56401
|
constructor(e, n, r) {
|
|
56405
56402
|
super(e.as || e.name, n, r), this.fieldTypeDef = e, this.parent = n;
|
|
@@ -56407,21 +56404,21 @@ class mc extends qF {
|
|
|
56407
56404
|
get type() {
|
|
56408
56405
|
switch (this.fieldTypeDef.type) {
|
|
56409
56406
|
case "string":
|
|
56410
|
-
return
|
|
56407
|
+
return au.String;
|
|
56411
56408
|
case "boolean":
|
|
56412
|
-
return
|
|
56409
|
+
return au.Boolean;
|
|
56413
56410
|
case "date":
|
|
56414
|
-
return
|
|
56411
|
+
return au.Date;
|
|
56415
56412
|
case "timestamp":
|
|
56416
|
-
return
|
|
56413
|
+
return au.Timestamp;
|
|
56417
56414
|
case "number":
|
|
56418
|
-
return
|
|
56415
|
+
return au.Number;
|
|
56419
56416
|
case "json":
|
|
56420
|
-
return
|
|
56417
|
+
return au.Json;
|
|
56421
56418
|
case "sql native":
|
|
56422
|
-
return
|
|
56419
|
+
return au.NativeUnsupported;
|
|
56423
56420
|
case "error":
|
|
56424
|
-
return
|
|
56421
|
+
return au.Error;
|
|
56425
56422
|
case "record":
|
|
56426
56423
|
case "array":
|
|
56427
56424
|
throw new Error(`MTOY TODO IMPLEMENT Atomic ${this.fieldTypeDef.type}`);
|
|
@@ -56523,10 +56520,10 @@ var Vc;
|
|
|
56523
56520
|
(function(t) {
|
|
56524
56521
|
t.Day = "day", t.Week = "week", t.Month = "month", t.Quarter = "quarter", t.Year = "year";
|
|
56525
56522
|
})(Vc || (we.DateTimeframe = Vc = {}));
|
|
56526
|
-
var
|
|
56523
|
+
var lu;
|
|
56527
56524
|
(function(t) {
|
|
56528
56525
|
t.Day = "day", t.Week = "week", t.Month = "month", t.Quarter = "quarter", t.Year = "year", t.Second = "second", t.Hour = "hour", t.Minute = "minute";
|
|
56529
|
-
})(
|
|
56526
|
+
})(lu || (we.TimestampTimeframe = lu = {}));
|
|
56530
56527
|
class HF extends mc {
|
|
56531
56528
|
constructor(e, n, r) {
|
|
56532
56529
|
super(e, n, r), this.fieldDateDef = e;
|
|
@@ -56556,21 +56553,21 @@ class zF extends mc {
|
|
|
56556
56553
|
if (this.fieldTimestampDef.timeframe !== void 0)
|
|
56557
56554
|
switch (this.fieldTimestampDef.timeframe) {
|
|
56558
56555
|
case "day":
|
|
56559
|
-
return
|
|
56556
|
+
return lu.Day;
|
|
56560
56557
|
case "week":
|
|
56561
|
-
return
|
|
56558
|
+
return lu.Week;
|
|
56562
56559
|
case "month":
|
|
56563
|
-
return
|
|
56560
|
+
return lu.Month;
|
|
56564
56561
|
case "quarter":
|
|
56565
|
-
return
|
|
56562
|
+
return lu.Quarter;
|
|
56566
56563
|
case "year":
|
|
56567
|
-
return
|
|
56564
|
+
return lu.Year;
|
|
56568
56565
|
case "second":
|
|
56569
|
-
return
|
|
56566
|
+
return lu.Second;
|
|
56570
56567
|
case "hour":
|
|
56571
|
-
return
|
|
56568
|
+
return lu.Hour;
|
|
56572
56569
|
case "minute":
|
|
56573
|
-
return
|
|
56570
|
+
return lu.Minute;
|
|
56574
56571
|
}
|
|
56575
56572
|
}
|
|
56576
56573
|
}
|
|
@@ -57391,7 +57388,7 @@ class V4 {
|
|
|
57391
57388
|
return !0;
|
|
57392
57389
|
}
|
|
57393
57390
|
}
|
|
57394
|
-
class
|
|
57391
|
+
class la extends V4 {
|
|
57395
57392
|
constructor(e, n, r, i) {
|
|
57396
57393
|
super(n, r, i), this._value = e, this._field = n;
|
|
57397
57394
|
}
|
|
@@ -57402,10 +57399,10 @@ class aa extends V4 {
|
|
|
57402
57399
|
return this._field;
|
|
57403
57400
|
}
|
|
57404
57401
|
isScalar() {
|
|
57405
|
-
return this instanceof
|
|
57402
|
+
return this instanceof la;
|
|
57406
57403
|
}
|
|
57407
57404
|
}
|
|
57408
|
-
class sZ extends
|
|
57405
|
+
class sZ extends la {
|
|
57409
57406
|
constructor(e, n, r, i) {
|
|
57410
57407
|
super(e, n, r, i), this._field = n;
|
|
57411
57408
|
}
|
|
@@ -57419,7 +57416,7 @@ class sZ extends aa {
|
|
|
57419
57416
|
return this.value.toLocaleLowerCase().localeCompare(e.value.toLocaleLowerCase());
|
|
57420
57417
|
}
|
|
57421
57418
|
}
|
|
57422
|
-
class oZ extends
|
|
57419
|
+
class oZ extends la {
|
|
57423
57420
|
constructor(e, n, r, i) {
|
|
57424
57421
|
super(e, n, r, i), this._field = n;
|
|
57425
57422
|
}
|
|
@@ -57433,7 +57430,7 @@ class oZ extends aa {
|
|
|
57433
57430
|
return 0;
|
|
57434
57431
|
}
|
|
57435
57432
|
}
|
|
57436
|
-
class uZ extends
|
|
57433
|
+
class uZ extends la {
|
|
57437
57434
|
constructor(e, n, r, i) {
|
|
57438
57435
|
super(e, n, r, i), this._field = n;
|
|
57439
57436
|
}
|
|
@@ -57447,7 +57444,7 @@ class uZ extends aa {
|
|
|
57447
57444
|
return this.value === e.value ? 0 : this.value ? 1 : -1;
|
|
57448
57445
|
}
|
|
57449
57446
|
}
|
|
57450
|
-
class YOe extends
|
|
57447
|
+
class YOe extends la {
|
|
57451
57448
|
constructor(e, n, r, i) {
|
|
57452
57449
|
super(e, n, r, i), this._field = n;
|
|
57453
57450
|
}
|
|
@@ -57462,7 +57459,7 @@ class YOe extends aa {
|
|
|
57462
57459
|
return n === r ? 0 : n > r ? 1 : -1;
|
|
57463
57460
|
}
|
|
57464
57461
|
}
|
|
57465
|
-
class aZ extends
|
|
57462
|
+
class aZ extends la {
|
|
57466
57463
|
constructor(e, n, r, i) {
|
|
57467
57464
|
super(e, n, r, i), this._field = n;
|
|
57468
57465
|
}
|
|
@@ -57491,7 +57488,7 @@ function lZ(t) {
|
|
|
57491
57488
|
return n.isValid || (n = rU.DateTime.fromSQL(t, { zone: "UTC" })), n.toJSDate();
|
|
57492
57489
|
}
|
|
57493
57490
|
}
|
|
57494
|
-
class cZ extends
|
|
57491
|
+
class cZ extends la {
|
|
57495
57492
|
constructor(e, n, r, i) {
|
|
57496
57493
|
super(e, n, r, i), this._field = n;
|
|
57497
57494
|
}
|
|
@@ -57508,7 +57505,7 @@ class cZ extends aa {
|
|
|
57508
57505
|
return this.value > e.value ? 1 : this.value < e.value ? -1 : 0;
|
|
57509
57506
|
}
|
|
57510
57507
|
}
|
|
57511
|
-
class fZ extends
|
|
57508
|
+
class fZ extends la {
|
|
57512
57509
|
constructor(e, n, r, i) {
|
|
57513
57510
|
super(e, n, r, i), this._field = n;
|
|
57514
57511
|
}
|
|
@@ -57525,7 +57522,7 @@ class fZ extends aa {
|
|
|
57525
57522
|
return this.value > e.value ? 1 : this.value < e.value ? -1 : 0;
|
|
57526
57523
|
}
|
|
57527
57524
|
}
|
|
57528
|
-
class KOe extends
|
|
57525
|
+
class KOe extends la {
|
|
57529
57526
|
get key() {
|
|
57530
57527
|
return this.value.toString();
|
|
57531
57528
|
}
|
|
@@ -60011,7 +60008,7 @@ function oee(t, e) {
|
|
|
60011
60008
|
function uee(t) {
|
|
60012
60009
|
return t == null || t === "" ? null : t + "";
|
|
60013
60010
|
}
|
|
60014
|
-
function
|
|
60011
|
+
function ku(t) {
|
|
60015
60012
|
const e = {}, n = t.length;
|
|
60016
60013
|
for (let r = 0; r < n; ++r)
|
|
60017
60014
|
e[t[r]] = !0;
|
|
@@ -60931,28 +60928,28 @@ const em = Yn((t) => {
|
|
|
60931
60928
|
t.setUTCMonth(t.getUTCMonth() + e);
|
|
60932
60929
|
}, (t, e) => e.getUTCMonth() - t.getUTCMonth() + (e.getUTCFullYear() - t.getUTCFullYear()) * 12, (t) => t.getUTCMonth());
|
|
60933
60930
|
em.range;
|
|
60934
|
-
const
|
|
60931
|
+
const Pu = Yn((t) => {
|
|
60935
60932
|
t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
|
|
60936
60933
|
}, (t, e) => {
|
|
60937
60934
|
t.setFullYear(t.getFullYear() + e);
|
|
60938
60935
|
}, (t, e) => e.getFullYear() - t.getFullYear(), (t) => t.getFullYear());
|
|
60939
|
-
|
|
60936
|
+
Pu.every = (t) => !isFinite(t = Math.floor(t)) || !(t > 0) ? null : Yn((e) => {
|
|
60940
60937
|
e.setFullYear(Math.floor(e.getFullYear() / t) * t), e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
|
|
60941
60938
|
}, (e, n) => {
|
|
60942
60939
|
e.setFullYear(e.getFullYear() + n * t);
|
|
60943
60940
|
});
|
|
60944
|
-
|
|
60945
|
-
const
|
|
60941
|
+
Pu.range;
|
|
60942
|
+
const Mu = Yn((t) => {
|
|
60946
60943
|
t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
|
|
60947
60944
|
}, (t, e) => {
|
|
60948
60945
|
t.setUTCFullYear(t.getUTCFullYear() + e);
|
|
60949
60946
|
}, (t, e) => e.getUTCFullYear() - t.getUTCFullYear(), (t) => t.getUTCFullYear());
|
|
60950
|
-
|
|
60947
|
+
Mu.every = (t) => !isFinite(t = Math.floor(t)) || !(t > 0) ? null : Yn((e) => {
|
|
60951
60948
|
e.setUTCFullYear(Math.floor(e.getUTCFullYear() / t) * t), e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
|
|
60952
60949
|
}, (e, n) => {
|
|
60953
60950
|
e.setUTCFullYear(e.getUTCFullYear() + n * t);
|
|
60954
60951
|
});
|
|
60955
|
-
|
|
60952
|
+
Mu.range;
|
|
60956
60953
|
function Ree(t, e, n, r, i, s) {
|
|
60957
60954
|
const o = [
|
|
60958
60955
|
[ka, 1, Ba],
|
|
@@ -60991,7 +60988,7 @@ function Ree(t, e, n, r, i, s) {
|
|
|
60991
60988
|
}
|
|
60992
60989
|
return [u, a];
|
|
60993
60990
|
}
|
|
60994
|
-
const [A8e, v8e] = Ree(
|
|
60991
|
+
const [A8e, v8e] = Ree(Mu, em, H2, Tee, sb, rb), [_8e, S8e] = Ree(Pu, Zg, q2, Ya, ib, nb), Gr = "year", As = "quarter", pi = "month", ir = "week", vs = "date", li = "day", ll = "dayofyear", Xs = "hours", Zs = "minutes", $o = "seconds", ju = "milliseconds", Oee = [Gr, As, pi, ir, vs, li, ll, Xs, Zs, $o, ju], OR = Oee.reduce((t, e, n) => (t[e] = 1 + n, t), {});
|
|
60995
60992
|
function Dee(t) {
|
|
60996
60993
|
const e = je(t).slice(), n = {};
|
|
60997
60994
|
return e.length || _e("Missing time unit."), e.forEach((i) => {
|
|
@@ -61009,7 +61006,7 @@ const C8e = {
|
|
|
61009
61006
|
[Xs]: "%H:00",
|
|
61010
61007
|
[Zs]: "00:%M",
|
|
61011
61008
|
[$o]: ":%S",
|
|
61012
|
-
[
|
|
61009
|
+
[ju]: ".%L",
|
|
61013
61010
|
[`${Gr}-${pi}`]: "%Y-%m ",
|
|
61014
61011
|
[`${Gr}-${pi}-${vs}`]: "%Y-%m-%d ",
|
|
61015
61012
|
[`${Xs}-${Zs}`]: "%H:%M"
|
|
@@ -61076,7 +61073,7 @@ function N8e(t, e, n, r, i, s, o) {
|
|
|
61076
61073
|
return new Date(Date.UTC(t, e, n, r, i, s, o));
|
|
61077
61074
|
}
|
|
61078
61075
|
function Fee(t, e, n, r, i) {
|
|
61079
|
-
const s = e || 1, o = Ot(t), u = (y, E, A) => (A = A || y, F8e(n[A], r[A], y === o && s, E)), a = /* @__PURE__ */ new Date(), l =
|
|
61076
|
+
const s = e || 1, o = Ot(t), u = (y, E, A) => (A = A || y, F8e(n[A], r[A], y === o && s, E)), a = /* @__PURE__ */ new Date(), l = ku(t), c = l[Gr] ? u(Gr) : vi(2012), f = l[pi] ? u(pi) : l[As] ? u(As) : Kc, x = l[ir] && l[li] ? u(li, 1, ir + li) : l[ir] ? u(ir, 1) : l[li] ? u(li, 1) : l[vs] ? u(vs, 1) : l[ll] ? u(ll, 1) : ny, h = l[Xs] ? u(Xs) : Kc, p = l[Zs] ? u(Zs) : Kc, m = l[$o] ? u($o) : Kc, g = l[ju] ? u(ju) : Kc;
|
|
61080
61077
|
return function(y) {
|
|
61081
61078
|
a.setTime(+y);
|
|
61082
61079
|
const E = c(a);
|
|
@@ -61098,7 +61095,7 @@ const L8e = {
|
|
|
61098
61095
|
[Xs]: (t) => t.getHours(),
|
|
61099
61096
|
[Zs]: (t) => t.getMinutes(),
|
|
61100
61097
|
[$o]: (t) => t.getSeconds(),
|
|
61101
|
-
[
|
|
61098
|
+
[ju]: (t) => t.getMilliseconds(),
|
|
61102
61099
|
[ll]: (t) => wee(t),
|
|
61103
61100
|
[ir]: (t) => XD(t),
|
|
61104
61101
|
[ir + li]: (t, e) => Th(XD(t), t.getDay(), ZD(e)),
|
|
@@ -61118,7 +61115,7 @@ const $8e = {
|
|
|
61118
61115
|
[Xs]: (t) => t.getUTCHours(),
|
|
61119
61116
|
[Zs]: (t) => t.getUTCMinutes(),
|
|
61120
61117
|
[$o]: (t) => t.getUTCSeconds(),
|
|
61121
|
-
[
|
|
61118
|
+
[ju]: (t) => t.getUTCMilliseconds(),
|
|
61122
61119
|
[ll]: (t) => Nee(t),
|
|
61123
61120
|
[ir]: (t) => e7(t),
|
|
61124
61121
|
[li]: (t, e) => Th(1, t.getUTCDay(), t7(e)),
|
|
@@ -61131,7 +61128,7 @@ function P8e(t, e) {
|
|
|
61131
61128
|
return Fee(t, e || 1, $8e, k8e, N8e);
|
|
61132
61129
|
}
|
|
61133
61130
|
const M8e = {
|
|
61134
|
-
[Gr]:
|
|
61131
|
+
[Gr]: Pu,
|
|
61135
61132
|
[As]: Zg.every(3),
|
|
61136
61133
|
[pi]: Zg,
|
|
61137
61134
|
[ir]: q2,
|
|
@@ -61141,9 +61138,9 @@ const M8e = {
|
|
|
61141
61138
|
[Xs]: ib,
|
|
61142
61139
|
[Zs]: nb,
|
|
61143
61140
|
[$o]: ka,
|
|
61144
|
-
[
|
|
61141
|
+
[ju]: Sh
|
|
61145
61142
|
}, j8e = {
|
|
61146
|
-
[Gr]:
|
|
61143
|
+
[Gr]: Mu,
|
|
61147
61144
|
[As]: em.every(3),
|
|
61148
61145
|
[pi]: em,
|
|
61149
61146
|
[ir]: H2,
|
|
@@ -61153,7 +61150,7 @@ const M8e = {
|
|
|
61153
61150
|
[Xs]: sb,
|
|
61154
61151
|
[Zs]: rb,
|
|
61155
61152
|
[$o]: ka,
|
|
61156
|
-
[
|
|
61153
|
+
[ju]: Sh
|
|
61157
61154
|
};
|
|
61158
61155
|
function sy(t) {
|
|
61159
61156
|
return M8e[t];
|
|
@@ -61179,7 +61176,7 @@ function H8e(t, e, n, r) {
|
|
|
61179
61176
|
function z8e(t, e, n, r) {
|
|
61180
61177
|
return Iee(oy(t), e, n, r);
|
|
61181
61178
|
}
|
|
61182
|
-
const Q1 = 1e3, G1 = Q1 * 60, W1 = G1 * 60, ob = W1 * 24, Q8e = ob * 7, DU = ob * 30, n7 = ob * 365, Bee = [Gr, pi, vs, Xs, Zs, $o,
|
|
61179
|
+
const Q1 = 1e3, G1 = Q1 * 60, W1 = G1 * 60, ob = W1 * 24, Q8e = ob * 7, DU = ob * 30, n7 = ob * 365, Bee = [Gr, pi, vs, Xs, Zs, $o, ju], V1 = Bee.slice(0, -1), Y1 = V1.slice(0, -1), K1 = Y1.slice(0, -1), G8e = K1.slice(0, -1), W8e = [Gr, ir], wU = [Gr, pi], $ee = [Gr], g1 = [[V1, 1, Q1], [V1, 5, 5 * Q1], [V1, 15, 15 * Q1], [V1, 30, 30 * Q1], [Y1, 1, G1], [Y1, 5, 5 * G1], [Y1, 15, 15 * G1], [Y1, 30, 30 * G1], [K1, 1, W1], [K1, 3, 3 * W1], [K1, 6, 6 * W1], [K1, 12, 12 * W1], [G8e, 1, ob], [W8e, 1, Q8e], [wU, 1, DU], [wU, 3, 3 * DU], [$ee, 1, n7]];
|
|
61183
61180
|
function V8e(t) {
|
|
61184
61181
|
const e = t.extent, n = t.maxbins || 40, r = Math.abs(eb(e)) / n;
|
|
61185
61182
|
let i = iy((u) => u[2]).right(g1, r), s, o;
|
|
@@ -61541,7 +61538,7 @@ function pFe(t, e) {
|
|
|
61541
61538
|
return $t(t.getHours() % 12 || 12, e, 2);
|
|
61542
61539
|
}
|
|
61543
61540
|
function gFe(t, e) {
|
|
61544
|
-
return $t(1 + Ya.count(
|
|
61541
|
+
return $t(1 + Ya.count(Pu(t), t), e, 3);
|
|
61545
61542
|
}
|
|
61546
61543
|
function Pee(t, e) {
|
|
61547
61544
|
return $t(t.getMilliseconds(), e, 3);
|
|
@@ -61563,20 +61560,20 @@ function vFe(t) {
|
|
|
61563
61560
|
return e === 0 ? 7 : e;
|
|
61564
61561
|
}
|
|
61565
61562
|
function _Fe(t, e) {
|
|
61566
|
-
return $t(q2.count(
|
|
61563
|
+
return $t(q2.count(Pu(t) - 1, t), e, 2);
|
|
61567
61564
|
}
|
|
61568
61565
|
function Mee(t) {
|
|
61569
61566
|
var e = t.getDay();
|
|
61570
61567
|
return e >= 4 || e === 0 ? Ch(t) : Ch.ceil(t);
|
|
61571
61568
|
}
|
|
61572
61569
|
function SFe(t, e) {
|
|
61573
|
-
return t = Mee(t), $t(Ch.count(
|
|
61570
|
+
return t = Mee(t), $t(Ch.count(Pu(t), t) + (Pu(t).getDay() === 4), e, 2);
|
|
61574
61571
|
}
|
|
61575
61572
|
function CFe(t) {
|
|
61576
61573
|
return t.getDay();
|
|
61577
61574
|
}
|
|
61578
61575
|
function bFe(t, e) {
|
|
61579
|
-
return $t(Hv.count(
|
|
61576
|
+
return $t(Hv.count(Pu(t) - 1, t), e, 2);
|
|
61580
61577
|
}
|
|
61581
61578
|
function TFe(t, e) {
|
|
61582
61579
|
return $t(t.getFullYear() % 100, e, 2);
|
|
@@ -61605,7 +61602,7 @@ function FFe(t, e) {
|
|
|
61605
61602
|
return $t(t.getUTCHours() % 12 || 12, e, 2);
|
|
61606
61603
|
}
|
|
61607
61604
|
function LFe(t, e) {
|
|
61608
|
-
return $t(1 + g0.count(
|
|
61605
|
+
return $t(1 + g0.count(Mu(t), t), e, 3);
|
|
61609
61606
|
}
|
|
61610
61607
|
function jee(t, e) {
|
|
61611
61608
|
return $t(t.getUTCMilliseconds(), e, 3);
|
|
@@ -61627,20 +61624,20 @@ function PFe(t) {
|
|
|
61627
61624
|
return e === 0 ? 7 : e;
|
|
61628
61625
|
}
|
|
61629
61626
|
function MFe(t, e) {
|
|
61630
|
-
return $t(H2.count(
|
|
61627
|
+
return $t(H2.count(Mu(t) - 1, t), e, 2);
|
|
61631
61628
|
}
|
|
61632
61629
|
function Uee(t) {
|
|
61633
61630
|
var e = t.getUTCDay();
|
|
61634
61631
|
return e >= 4 || e === 0 ? bh(t) : bh.ceil(t);
|
|
61635
61632
|
}
|
|
61636
61633
|
function jFe(t, e) {
|
|
61637
|
-
return t = Uee(t), $t(bh.count(
|
|
61634
|
+
return t = Uee(t), $t(bh.count(Mu(t), t) + (Mu(t).getUTCDay() === 4), e, 2);
|
|
61638
61635
|
}
|
|
61639
61636
|
function UFe(t) {
|
|
61640
61637
|
return t.getUTCDay();
|
|
61641
61638
|
}
|
|
61642
61639
|
function qFe(t, e) {
|
|
61643
|
-
return $t(zv.count(
|
|
61640
|
+
return $t(zv.count(Mu(t) - 1, t), e, 2);
|
|
61644
61641
|
}
|
|
61645
61642
|
function HFe(t, e) {
|
|
61646
61643
|
return $t(t.getUTCFullYear() % 100, e, 2);
|
|
@@ -61775,7 +61772,7 @@ function i7(t) {
|
|
|
61775
61772
|
}
|
|
61776
61773
|
function UU(t, e, n) {
|
|
61777
61774
|
n = n || {}, ze(n) || _e(`Invalid time multi-format specifier: ${n}`);
|
|
61778
|
-
const r = e($o), i = e(Zs), s = e(Xs), o = e(vs), u = e(ir), a = e(pi), l = e(As), c = e(Gr), f = t(n[
|
|
61775
|
+
const r = e($o), i = e(Zs), s = e(Xs), o = e(vs), u = e(ir), a = e(pi), l = e(As), c = e(Gr), f = t(n[ju] || ".%L"), x = t(n[$o] || ":%S"), h = t(n[Zs] || "%I:%M"), p = t(n[Xs] || "%I %p"), m = t(n[vs] || n[li] || "%a %d"), g = t(n[ir] || "%b %d"), y = t(n[pi] || "%B"), E = t(n[As] || "%B"), A = t(n[Gr] || "%Y");
|
|
61779
61776
|
return (v) => (r(v) < v ? f : i(v) < v ? x : s(v) < v ? h : o(v) < v ? p : a(v) < v ? u(v) < v ? m : g : c(v) < v ? l(v) < v ? y : E : A)(v);
|
|
61780
61777
|
}
|
|
61781
61778
|
function Gee(t) {
|
|
@@ -62471,7 +62468,7 @@ function z9e(t) {
|
|
|
62471
62468
|
for (i = r.length; --i >= 0; )
|
|
62472
62469
|
e.push(n = r[i]), n === t && _e("Cycle detected in dataflow graph.");
|
|
62473
62470
|
}
|
|
62474
|
-
const Gv = {},
|
|
62471
|
+
const Gv = {}, fu = 1, Yl = 2, Ra = 4, Q9e = fu | Yl, GU = fu | Ra, sd = fu | Yl | Ra, WU = 8, A1 = 16, VU = 32, YU = 64;
|
|
62475
62472
|
function pf(t, e, n) {
|
|
62476
62473
|
this.dataflow = t, this.stamp = e ?? -1, this.add = [], this.rem = [], this.mod = [], this.fields = null, this.encode = n || null;
|
|
62477
62474
|
}
|
|
@@ -62496,7 +62493,7 @@ pf.prototype = {
|
|
|
62496
62493
|
/**
|
|
62497
62494
|
* Boolean flag indicating ADD (added) tuples.
|
|
62498
62495
|
*/
|
|
62499
|
-
ADD:
|
|
62496
|
+
ADD: fu,
|
|
62500
62497
|
/**
|
|
62501
62498
|
* Boolean flag indicating REM (removed) tuples.
|
|
62502
62499
|
*/
|
|
@@ -62591,7 +62588,7 @@ pf.prototype = {
|
|
|
62591
62588
|
*/
|
|
62592
62589
|
init(t, e) {
|
|
62593
62590
|
const n = this;
|
|
62594
|
-
return n.stamp = t.stamp, n.encode = t.encode, t.fields && !(e & YU) && (n.fields = t.fields), e &
|
|
62591
|
+
return n.stamp = t.stamp, n.encode = t.encode, t.fields && !(e & YU) && (n.fields = t.fields), e & fu ? (n.addF = t.addF, n.add = t.add) : (n.addF = null, n.add = []), e & Yl ? (n.remF = t.remF, n.rem = t.rem) : (n.remF = null, n.rem = []), e & Ra ? (n.modF = t.modF, n.mod = t.mod) : (n.modF = null, n.mod = []), e & VU ? (n.srcF = null, n.source = null) : (n.srcF = t.srcF, n.source = t.source, t.cleans && (n.cleans = t.cleans)), n;
|
|
62595
62592
|
},
|
|
62596
62593
|
/**
|
|
62597
62594
|
* Schedules a function to run after pulse propagation completes.
|
|
@@ -62609,7 +62606,7 @@ pf.prototype = {
|
|
|
62609
62606
|
*/
|
|
62610
62607
|
changed(t) {
|
|
62611
62608
|
const e = t || sd;
|
|
62612
|
-
return e &
|
|
62609
|
+
return e & fu && this.add.length || e & Yl && this.rem.length || e & Ra && this.mod.length;
|
|
62613
62610
|
},
|
|
62614
62611
|
/**
|
|
62615
62612
|
* Forces a "reflow" of tuple values, such that all tuples in the backing
|
|
@@ -62622,7 +62619,7 @@ pf.prototype = {
|
|
|
62622
62619
|
if (t)
|
|
62623
62620
|
return this.fork(sd).reflow();
|
|
62624
62621
|
const e = this.add.length, n = this.source && this.source.length;
|
|
62625
|
-
return n && n !== e && (this.mod = this.source, e && this.filter(Ra, KU(this,
|
|
62622
|
+
return n && n !== e && (this.mod = this.source, e && this.filter(Ra, KU(this, fu))), this;
|
|
62626
62623
|
},
|
|
62627
62624
|
/**
|
|
62628
62625
|
* Get/set metadata to pulse requesting garbage collection
|
|
@@ -62671,7 +62668,7 @@ pf.prototype = {
|
|
|
62671
62668
|
*/
|
|
62672
62669
|
filter(t, e) {
|
|
62673
62670
|
const n = this;
|
|
62674
|
-
return t &
|
|
62671
|
+
return t & fu && (n.addF = SE(n.addF, e)), t & Yl && (n.remF = SE(n.remF, e)), t & Ra && (n.modF = SE(n.modF, e)), t & A1 && (n.srcF = SE(n.srcF, e)), n;
|
|
62675
62672
|
},
|
|
62676
62673
|
/**
|
|
62677
62674
|
* Materialize one or more tuple sets in this pulse. If the tuple set(s) have
|
|
@@ -62683,7 +62680,7 @@ pf.prototype = {
|
|
|
62683
62680
|
materialize(t) {
|
|
62684
62681
|
t = t || sd;
|
|
62685
62682
|
const e = this;
|
|
62686
|
-
return t &
|
|
62683
|
+
return t & fu && e.addF && (e.add = FR(e.add, e.addF), e.addF = null), t & Yl && e.remF && (e.rem = FR(e.rem, e.remF), e.remF = null), t & Ra && e.modF && (e.mod = FR(e.mod, e.modF), e.modF = null), t & A1 && e.srcF && (e.source = e.source.filter(e.srcF), e.srcF = null), e;
|
|
62687
62684
|
},
|
|
62688
62685
|
/**
|
|
62689
62686
|
* Visit one or more tuple sets in this pulse.
|
|
@@ -62697,7 +62694,7 @@ pf.prototype = {
|
|
|
62697
62694
|
const n = this, r = e;
|
|
62698
62695
|
if (t & A1)
|
|
62699
62696
|
return zc(n.source, n.srcF, r), n;
|
|
62700
|
-
t &
|
|
62697
|
+
t & fu && zc(n.add, n.addF, r), t & Yl && zc(n.rem, n.remF, r), t & Ra && zc(n.mod, n.modF, r);
|
|
62701
62698
|
const i = n.source;
|
|
62702
62699
|
if (t & WU && i) {
|
|
62703
62700
|
const s = n.add.length + n.mod.length;
|
|
@@ -66762,7 +66759,7 @@ function m0(t, e) {
|
|
|
66762
66759
|
return null;
|
|
66763
66760
|
}
|
|
66764
66761
|
const zIe = () => typeof Image < "u" ? Image : null;
|
|
66765
|
-
function
|
|
66762
|
+
function ca(t, e) {
|
|
66766
66763
|
switch (arguments.length) {
|
|
66767
66764
|
case 0:
|
|
66768
66765
|
break;
|
|
@@ -66815,7 +66812,7 @@ function Z9() {
|
|
|
66815
66812
|
return arguments.length ? (r = s, i) : r;
|
|
66816
66813
|
}, i.copy = function() {
|
|
66817
66814
|
return Z9(e, n).unknown(r);
|
|
66818
|
-
},
|
|
66815
|
+
}, ca.apply(i, arguments), i;
|
|
66819
66816
|
}
|
|
66820
66817
|
function G2(t, e, n) {
|
|
66821
66818
|
t.prototype = e.prototype = n, n.constructor = t;
|
|
@@ -66828,7 +66825,7 @@ function cy(t, e) {
|
|
|
66828
66825
|
}
|
|
66829
66826
|
function Ec() {
|
|
66830
66827
|
}
|
|
66831
|
-
var Qf = 0.7, Oh = 1 / Qf, jd = "\\s*([+-]?\\d+)\\s*", im = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",
|
|
66828
|
+
var Qf = 0.7, Oh = 1 / Qf, jd = "\\s*([+-]?\\d+)\\s*", im = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Cu = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", QIe = /^#([0-9a-f]{3,8})$/, GIe = new RegExp(`^rgb\\(${jd},${jd},${jd}\\)$`), WIe = new RegExp(`^rgb\\(${Cu},${Cu},${Cu}\\)$`), VIe = new RegExp(`^rgba\\(${jd},${jd},${jd},${im}\\)$`), YIe = new RegExp(`^rgba\\(${Cu},${Cu},${Cu},${im}\\)$`), KIe = new RegExp(`^hsl\\(${im},${Cu},${Cu}\\)$`), JIe = new RegExp(`^hsla\\(${im},${Cu},${Cu},${im}\\)$`), uq = {
|
|
66832
66829
|
aliceblue: 15792383,
|
|
66833
66830
|
antiquewhite: 16444375,
|
|
66834
66831
|
aqua: 65535,
|
|
@@ -67124,26 +67121,26 @@ function kR(t, e, n) {
|
|
|
67124
67121
|
}
|
|
67125
67122
|
const pne = Math.PI / 180, gne = 180 / Math.PI, Zv = 18, mne = 0.96422, yne = 1, Ene = 0.82521, Ane = 4 / 29, Ud = 6 / 29, vne = 3 * Ud * Ud, tBe = Ud * Ud * Ud;
|
|
67126
67123
|
function _ne(t) {
|
|
67127
|
-
if (t instanceof
|
|
67128
|
-
return new
|
|
67124
|
+
if (t instanceof bu)
|
|
67125
|
+
return new bu(t.l, t.a, t.b, t.opacity);
|
|
67129
67126
|
if (t instanceof Pa)
|
|
67130
67127
|
return Sne(t);
|
|
67131
67128
|
t instanceof sr || (t = eL(t));
|
|
67132
67129
|
var e = UR(t.r), n = UR(t.g), r = UR(t.b), i = PR((0.2225045 * e + 0.7168786 * n + 0.0606169 * r) / yne), s, o;
|
|
67133
|
-
return e === n && n === r ? s = o = i : (s = PR((0.4360747 * e + 0.3850649 * n + 0.1430804 * r) / mne), o = PR((0.0139322 * e + 0.0971045 * n + 0.7141733 * r) / Ene)), new
|
|
67130
|
+
return e === n && n === r ? s = o = i : (s = PR((0.4360747 * e + 0.3850649 * n + 0.1430804 * r) / mne), o = PR((0.0139322 * e + 0.0971045 * n + 0.7141733 * r) / Ene)), new bu(116 * i - 16, 500 * (s - i), 200 * (i - o), t.opacity);
|
|
67134
67131
|
}
|
|
67135
67132
|
function e_(t, e, n, r) {
|
|
67136
|
-
return arguments.length === 1 ? _ne(t) : new
|
|
67133
|
+
return arguments.length === 1 ? _ne(t) : new bu(t, e, n, r ?? 1);
|
|
67137
67134
|
}
|
|
67138
|
-
function
|
|
67135
|
+
function bu(t, e, n, r) {
|
|
67139
67136
|
this.l = +t, this.a = +e, this.b = +n, this.opacity = +r;
|
|
67140
67137
|
}
|
|
67141
|
-
G2(
|
|
67138
|
+
G2(bu, e_, cy(Ec, {
|
|
67142
67139
|
brighter(t) {
|
|
67143
|
-
return new
|
|
67140
|
+
return new bu(this.l + Zv * (t ?? 1), this.a, this.b, this.opacity);
|
|
67144
67141
|
},
|
|
67145
67142
|
darker(t) {
|
|
67146
|
-
return new
|
|
67143
|
+
return new bu(this.l - Zv * (t ?? 1), this.a, this.b, this.opacity);
|
|
67147
67144
|
},
|
|
67148
67145
|
rgb() {
|
|
67149
67146
|
var t = (this.l + 16) / 116, e = isNaN(this.a) ? t : t + this.a / 500, n = isNaN(this.b) ? t : t - this.b / 200;
|
|
@@ -67170,7 +67167,7 @@ function UR(t) {
|
|
|
67170
67167
|
function nBe(t) {
|
|
67171
67168
|
if (t instanceof Pa)
|
|
67172
67169
|
return new Pa(t.h, t.c, t.l, t.opacity);
|
|
67173
|
-
if (t instanceof
|
|
67170
|
+
if (t instanceof bu || (t = _ne(t)), t.a === 0 && t.b === 0)
|
|
67174
67171
|
return new Pa(NaN, 0 < t.l && t.l < 100 ? 0 : NaN, t.l, t.opacity);
|
|
67175
67172
|
var e = Math.atan2(t.b, t.a) * gne;
|
|
67176
67173
|
return new Pa(e < 0 ? e + 360 : e, Math.sqrt(t.a * t.a + t.b * t.b), t.l, t.opacity);
|
|
@@ -67183,9 +67180,9 @@ function Pa(t, e, n, r) {
|
|
|
67183
67180
|
}
|
|
67184
67181
|
function Sne(t) {
|
|
67185
67182
|
if (isNaN(t.h))
|
|
67186
|
-
return new
|
|
67183
|
+
return new bu(t.l, 0, 0, t.opacity);
|
|
67187
67184
|
var e = t.h * pne;
|
|
67188
|
-
return new
|
|
67185
|
+
return new bu(t.l, Math.cos(e) * t.c, Math.sin(e) * t.c, t.opacity);
|
|
67189
67186
|
}
|
|
67190
67187
|
G2(Pa, t_, cy(Ec, {
|
|
67191
67188
|
brighter(t) {
|
|
@@ -67690,7 +67687,7 @@ function qne() {
|
|
|
67690
67687
|
var t = jne();
|
|
67691
67688
|
return t.copy = function() {
|
|
67692
67689
|
return xy(t, qne());
|
|
67693
|
-
},
|
|
67690
|
+
}, ca.apply(t, arguments), Mx(t);
|
|
67694
67691
|
}
|
|
67695
67692
|
function Hne(t) {
|
|
67696
67693
|
var e;
|
|
@@ -67788,7 +67785,7 @@ function sL(t) {
|
|
|
67788
67785
|
}
|
|
67789
67786
|
function Qne() {
|
|
67790
67787
|
const t = sL(mb()).domain([1, 10]);
|
|
67791
|
-
return t.copy = () => xy(t, Qne()).base(t.base()),
|
|
67788
|
+
return t.copy = () => xy(t, Qne()).base(t.base()), ca.apply(t, arguments), t;
|
|
67792
67789
|
}
|
|
67793
67790
|
function Cq(t) {
|
|
67794
67791
|
return function(e) {
|
|
@@ -67810,7 +67807,7 @@ function Gne() {
|
|
|
67810
67807
|
var t = oL(mb());
|
|
67811
67808
|
return t.copy = function() {
|
|
67812
67809
|
return xy(t, Gne()).constant(t.constant());
|
|
67813
|
-
},
|
|
67810
|
+
}, ca.apply(t, arguments);
|
|
67814
67811
|
}
|
|
67815
67812
|
function Tq(t) {
|
|
67816
67813
|
return function(e) {
|
|
@@ -67836,7 +67833,7 @@ function aL() {
|
|
|
67836
67833
|
var t = uL(mb());
|
|
67837
67834
|
return t.copy = function() {
|
|
67838
67835
|
return xy(t, aL()).exponent(t.exponent());
|
|
67839
|
-
},
|
|
67836
|
+
}, ca.apply(t, arguments), t;
|
|
67840
67837
|
}
|
|
67841
67838
|
function UBe() {
|
|
67842
67839
|
return aL.apply(null, arguments).exponent(0.5);
|
|
@@ -67873,7 +67870,7 @@ function Wne() {
|
|
|
67873
67870
|
return n.slice();
|
|
67874
67871
|
}, s.copy = function() {
|
|
67875
67872
|
return Wne().domain(t).range(e).unknown(r);
|
|
67876
|
-
},
|
|
67873
|
+
}, ca.apply(s, arguments);
|
|
67877
67874
|
}
|
|
67878
67875
|
function Vne() {
|
|
67879
67876
|
var t = 0, e = 1, n = 1, r = [0.5], i = [0, 1], s;
|
|
@@ -67899,7 +67896,7 @@ function Vne() {
|
|
|
67899
67896
|
return r.slice();
|
|
67900
67897
|
}, o.copy = function() {
|
|
67901
67898
|
return Vne().domain([t, e]).range(i).unknown(s);
|
|
67902
|
-
},
|
|
67899
|
+
}, ca.apply(Mx(o), arguments);
|
|
67903
67900
|
}
|
|
67904
67901
|
function Yne() {
|
|
67905
67902
|
var t = [0.5], e = [0, 1], n, r = 1;
|
|
@@ -67917,7 +67914,7 @@ function Yne() {
|
|
|
67917
67914
|
return arguments.length ? (n = s, i) : n;
|
|
67918
67915
|
}, i.copy = function() {
|
|
67919
67916
|
return Yne().domain(t).range(e).unknown(n);
|
|
67920
|
-
},
|
|
67917
|
+
}, ca.apply(i, arguments);
|
|
67921
67918
|
}
|
|
67922
67919
|
function qBe(t) {
|
|
67923
67920
|
return new Date(t);
|
|
@@ -67947,10 +67944,10 @@ function lL(t, e, n, r, i, s, o, u, a, l) {
|
|
|
67947
67944
|
}, c;
|
|
67948
67945
|
}
|
|
67949
67946
|
function zBe() {
|
|
67950
|
-
return
|
|
67947
|
+
return ca.apply(lL(_8e, S8e, Pu, Zg, q2, Ya, ib, nb, ka, u9).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
|
|
67951
67948
|
}
|
|
67952
67949
|
function QBe() {
|
|
67953
|
-
return
|
|
67950
|
+
return ca.apply(lL(A8e, v8e, Mu, em, H2, g0, sb, rb, ka, a9).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
|
|
67954
67951
|
}
|
|
67955
67952
|
function yb() {
|
|
67956
67953
|
var t = 0, e = 1, n, r, i, s, o = ji, u = !1, a;
|
|
@@ -68061,7 +68058,7 @@ function dL(t, e, n) {
|
|
|
68061
68058
|
const r = t - e + n * 2;
|
|
68062
68059
|
return t ? r > 0 ? r : 1 : 0;
|
|
68063
68060
|
}
|
|
68064
|
-
const VBe = "identity", Dh = "linear", fl = "log", dy = "pow", hy = "sqrt", Ab = "symlog", Gf = "time", Wf = "utc",
|
|
68061
|
+
const VBe = "identity", Dh = "linear", fl = "log", dy = "pow", hy = "sqrt", Ab = "symlog", Gf = "time", Wf = "utc", Tu = "sequential", W2 = "diverging", wh = "quantile", vb = "quantize", _b = "threshold", hL = "ordinal", m7 = "point", tre = "band", pL = "bin-ordinal", Kn = "continuous", py = "discrete", gy = "discretizing", ao = "interpolating", gL = "temporal";
|
|
68065
68062
|
function YBe(t) {
|
|
68066
68063
|
return function(e) {
|
|
68067
68064
|
let n = e[0], r = e[1], i;
|
|
@@ -68164,7 +68161,7 @@ function n$e(t, e, n) {
|
|
|
68164
68161
|
const s = e();
|
|
68165
68162
|
return s.invertRange || (s.invertRange = s.invert ? YBe(s) : s.invertExtent ? KBe(s) : void 0), s.type = t, sre(s);
|
|
68166
68163
|
};
|
|
68167
|
-
return r.metadata =
|
|
68164
|
+
return r.metadata = ku(je(n)), r;
|
|
68168
68165
|
}
|
|
68169
68166
|
function kt(t, e, n) {
|
|
68170
68167
|
return arguments.length > 1 ? (n_.set(t, n$e(t, e, n)), this) : ore(t) ? n_.get(t) : void 0;
|
|
@@ -68177,12 +68174,12 @@ kt(hy, UBe, Kn);
|
|
|
68177
68174
|
kt(Ab, Gne, Kn);
|
|
68178
68175
|
kt(Gf, zBe, [Kn, gL]);
|
|
68179
68176
|
kt(Wf, QBe, [Kn, gL]);
|
|
68180
|
-
kt(
|
|
68181
|
-
kt(`${
|
|
68182
|
-
kt(`${
|
|
68183
|
-
kt(`${
|
|
68184
|
-
kt(`${
|
|
68185
|
-
kt(`${
|
|
68177
|
+
kt(Tu, cL, [Kn, ao]);
|
|
68178
|
+
kt(`${Tu}-${Dh}`, cL, [Kn, ao]);
|
|
68179
|
+
kt(`${Tu}-${fl}`, Kne, [Kn, ao, fl]);
|
|
68180
|
+
kt(`${Tu}-${dy}`, fL, [Kn, ao]);
|
|
68181
|
+
kt(`${Tu}-${hy}`, GBe, [Kn, ao]);
|
|
68182
|
+
kt(`${Tu}-${Ab}`, Jne, [Kn, ao]);
|
|
68186
68183
|
kt(`${W2}-${Dh}`, Xne, [Kn, ao]);
|
|
68187
68184
|
kt(`${W2}-${fl}`, Zne, [Kn, ao, fl]);
|
|
68188
68185
|
kt(`${W2}-${dy}`, xL, [Kn, ao]);
|
|
@@ -68587,7 +68584,7 @@ function N$e(t, e, n) {
|
|
|
68587
68584
|
}
|
|
68588
68585
|
return r;
|
|
68589
68586
|
}
|
|
68590
|
-
const k0 = Math.PI / 180, F$e = 1e-14, Xc = Math.PI / 2,
|
|
68587
|
+
const k0 = Math.PI / 180, F$e = 1e-14, Xc = Math.PI / 2, hu = Math.PI * 2, od = Math.sqrt(3) / 2;
|
|
68591
68588
|
var HR = {}, zR = {}, Cre = [].join;
|
|
68592
68589
|
function L$e(t, e, n, r, i, s, o, u, a) {
|
|
68593
68590
|
const l = Cre.call(arguments);
|
|
@@ -68605,7 +68602,7 @@ function L$e(t, e, n, r, i, s, o, u, a) {
|
|
|
68605
68602
|
s == i && (L = -L);
|
|
68606
68603
|
const I = 0.5 * (v + S) - L * (C - _), P = 0.5 * (_ + C) + L * (S - v), q = Math.atan2(_ - P, v - I);
|
|
68607
68604
|
let G = Math.atan2(C - P, S - I) - q;
|
|
68608
|
-
G < 0 && s === 1 ? G +=
|
|
68605
|
+
G < 0 && s === 1 ? G += hu : G > 0 && s === 0 && (G -= hu);
|
|
68609
68606
|
const ue = Math.ceil(Math.abs(G / (Xc + 1e-3))), he = [];
|
|
68610
68607
|
for (let pe = 0; pe < ue; ++pe) {
|
|
68611
68608
|
const ae = q + pe * G / ue, fe = q + (pe + 1) * G / ue;
|
|
@@ -68741,7 +68738,7 @@ const Fq = 0.5773502691896257, Lq = {
|
|
|
68741
68738
|
circle: {
|
|
68742
68739
|
draw: function(t, e) {
|
|
68743
68740
|
const n = Math.sqrt(e) / 2;
|
|
68744
|
-
t.moveTo(n, 0), t.arc(0, 0, n, 0,
|
|
68741
|
+
t.moveTo(n, 0), t.arc(0, 0, n, 0, hu);
|
|
68745
68742
|
}
|
|
68746
68743
|
},
|
|
68747
68744
|
cross: {
|
|
@@ -68839,14 +68836,14 @@ function j$e(t) {
|
|
|
68839
68836
|
function U$e(t) {
|
|
68840
68837
|
return t.height;
|
|
68841
68838
|
}
|
|
68842
|
-
function
|
|
68839
|
+
function Sa(t) {
|
|
68843
68840
|
return typeof t == "function" ? t : () => +t;
|
|
68844
68841
|
}
|
|
68845
68842
|
function DE(t, e, n) {
|
|
68846
68843
|
return Math.max(e, Math.min(t, n));
|
|
68847
68844
|
}
|
|
68848
68845
|
function q$e() {
|
|
68849
|
-
var t = P$e, e = M$e, n = j$e, r = U$e, i =
|
|
68846
|
+
var t = P$e, e = M$e, n = j$e, r = U$e, i = Sa(0), s = i, o = i, u = i, a = null;
|
|
68850
68847
|
function l(c, f, x) {
|
|
68851
68848
|
var h, p = f ?? +t.call(this, c), m = x ?? +e.call(this, c), g = +n.call(this, c), y = +r.call(this, c), E = Math.min(g, y) / 2, A = DE(+i.call(this, c), 0, E), v = DE(+s.call(this, c), 0, E), _ = DE(+o.call(this, c), 0, E), S = DE(+u.call(this, c), 0, E);
|
|
68852
68849
|
if (a || (a = h = W9()), A <= 0 && v <= 0 && _ <= 0 && S <= 0)
|
|
@@ -68859,15 +68856,15 @@ function q$e() {
|
|
|
68859
68856
|
return a = null, h + "" || null;
|
|
68860
68857
|
}
|
|
68861
68858
|
return l.x = function(c) {
|
|
68862
|
-
return arguments.length ? (t =
|
|
68859
|
+
return arguments.length ? (t = Sa(c), l) : t;
|
|
68863
68860
|
}, l.y = function(c) {
|
|
68864
|
-
return arguments.length ? (e =
|
|
68861
|
+
return arguments.length ? (e = Sa(c), l) : e;
|
|
68865
68862
|
}, l.width = function(c) {
|
|
68866
|
-
return arguments.length ? (n =
|
|
68863
|
+
return arguments.length ? (n = Sa(c), l) : n;
|
|
68867
68864
|
}, l.height = function(c) {
|
|
68868
|
-
return arguments.length ? (r =
|
|
68865
|
+
return arguments.length ? (r = Sa(c), l) : r;
|
|
68869
68866
|
}, l.cornerRadius = function(c, f, x, h) {
|
|
68870
|
-
return arguments.length ? (i =
|
|
68867
|
+
return arguments.length ? (i = Sa(c), s = f != null ? Sa(f) : i, u = x != null ? Sa(x) : i, o = h != null ? Sa(h) : s, l) : i;
|
|
68871
68868
|
}, l.context = function(c) {
|
|
68872
68869
|
return arguments.length ? (a = c ?? null, l) : a;
|
|
68873
68870
|
}, l;
|
|
@@ -68882,7 +68879,7 @@ function H$e() {
|
|
|
68882
68879
|
var y = Math.sqrt(m * m + g * g), E = (m /= y) * a, A = (g /= y) * a, v = Math.atan2(g, m);
|
|
68883
68880
|
i.moveTo(o - E, u - A), i.lineTo(f - m * p, x - g * p), i.arc(f, x, p, v - Math.PI, v), i.lineTo(o + E, u + A), i.arc(o, u, a, v, v + Math.PI);
|
|
68884
68881
|
} else
|
|
68885
|
-
i.arc(f, x, p, 0,
|
|
68882
|
+
i.arc(f, x, p, 0, hu);
|
|
68886
68883
|
i.closePath();
|
|
68887
68884
|
} else
|
|
68888
68885
|
s = 1;
|
|
@@ -69083,7 +69080,7 @@ function _c(t, e, n) {
|
|
|
69083
69080
|
function vke(t, e) {
|
|
69084
69081
|
return t.strokeJoin && t.strokeJoin !== "miter" ? 0 : e;
|
|
69085
69082
|
}
|
|
69086
|
-
const _ke =
|
|
69083
|
+
const _ke = hu - 1e-8;
|
|
69087
69084
|
let Cb, AA, vA, of, A7, _A, v7, _7;
|
|
69088
69085
|
const r0 = (t, e) => Cb.add(t, e), SA = (t, e) => r0(AA = t, vA = e), Bq = (t) => r0(t, Cb.y1), $q = (t) => r0(Cb.x1, t), Zc = (t, e) => A7 * t + v7 * e, ef = (t, e) => _A * t + _7 * e, GR = (t, e) => r0(Zc(t, e), ef(t, e)), WR = (t, e) => SA(Zc(t, e), ef(t, e));
|
|
69089
69086
|
function bb(t, e) {
|
|
@@ -69114,8 +69111,8 @@ const Ske = {
|
|
|
69114
69111
|
const o = (l) => r0(n * Math.cos(l) + t, n * Math.sin(l) + e);
|
|
69115
69112
|
let u, a;
|
|
69116
69113
|
if (o(r), o(i), i !== r)
|
|
69117
|
-
if (r = r %
|
|
69118
|
-
for (i -=
|
|
69114
|
+
if (r = r % hu, r < 0 && (r += hu), i = i % hu, i < 0 && (i += hu), i < r && (s = !s, u = r, r = i, i = u), s)
|
|
69115
|
+
for (i -= hu, u = r - r % Xc, a = 0; a < 4 && u > i; ++a, u -= Xc)
|
|
69119
69116
|
o(u);
|
|
69120
69117
|
else
|
|
69121
69118
|
for (u = r - r % Xc + Xc, a = 0; a < 4 && u < i; ++a, u = u + Xc)
|
|
@@ -69240,7 +69237,7 @@ function wre(t) {
|
|
|
69240
69237
|
r = e[i], r.index = i, r.zindex && n.push(r);
|
|
69241
69238
|
return t.zdirty = !1, t.zitems = n.sort(Rke);
|
|
69242
69239
|
}
|
|
69243
|
-
function
|
|
69240
|
+
function Uu(t, e) {
|
|
69244
69241
|
var n = t.items, r, i;
|
|
69245
69242
|
if (!n || !n.length)
|
|
69246
69243
|
return;
|
|
@@ -69270,7 +69267,7 @@ function C7(t, e) {
|
|
|
69270
69267
|
}
|
|
69271
69268
|
function OL(t) {
|
|
69272
69269
|
return function(e, n, r) {
|
|
69273
|
-
|
|
69270
|
+
Uu(n, (i) => {
|
|
69274
69271
|
(!r || r.intersects(i.bounds)) && Nre(t, e, i, i);
|
|
69275
69272
|
});
|
|
69276
69273
|
};
|
|
@@ -69432,9 +69429,9 @@ function um(t, e, n, r) {
|
|
|
69432
69429
|
}
|
|
69433
69430
|
const Hke = Ay(um), zke = Ay(um, !1), Qke = Ay(um, !0);
|
|
69434
69431
|
function Gke(t, e, n) {
|
|
69435
|
-
|
|
69432
|
+
Uu(e, (r) => {
|
|
69436
69433
|
const i = r.x || 0, s = r.y || 0, o = r.strokeForeground, u = r.opacity == null ? 1 : r.opacity;
|
|
69437
|
-
(r.stroke || r.fill) && u && (um(t, r, i, s), Fh(t, r), r.fill && s_(t, r, u) && t.fill(), r.stroke && !o && Lh(t, r, u) && t.stroke()), t.save(), t.translate(i, s), r.clip && Lre(t, r), n && n.translate(-i, -s),
|
|
69434
|
+
(r.stroke || r.fill) && u && (um(t, r, i, s), Fh(t, r), r.fill && s_(t, r, u) && t.fill(), r.stroke && !o && Lh(t, r, u) && t.stroke()), t.save(), t.translate(i, s), r.clip && Lre(t, r), n && n.translate(-i, -s), Uu(r, (a) => {
|
|
69438
69435
|
this.draw(t, a, n);
|
|
69439
69436
|
}), n && n.translate(i, s), t.restore(), o && r.stroke && u && (um(t, r, i, s), Fh(t, r), Lh(t, r, u) && t.stroke());
|
|
69440
69437
|
});
|
|
@@ -69509,7 +69506,7 @@ function Jke(t, e) {
|
|
|
69509
69506
|
return t.set(s, o, s + r, o + i);
|
|
69510
69507
|
}
|
|
69511
69508
|
function Xke(t, e, n) {
|
|
69512
|
-
|
|
69509
|
+
Uu(e, (r) => {
|
|
69513
69510
|
if (n && !n.intersects(r.bounds))
|
|
69514
69511
|
return;
|
|
69515
69512
|
const i = LL(r, this);
|
|
@@ -69590,7 +69587,7 @@ function $re(t, e, n) {
|
|
|
69590
69587
|
return e.stroke && Lh(t, e, n) ? (r = e.x || 0, i = e.y || 0, s = e.x2 != null ? e.x2 : r, o = e.y2 != null ? e.y2 : i, t.beginPath(), t.moveTo(r, i), t.lineTo(s, o), !0) : !1;
|
|
69591
69588
|
}
|
|
69592
69589
|
function lPe(t, e, n) {
|
|
69593
|
-
|
|
69590
|
+
Uu(e, (r) => {
|
|
69594
69591
|
if (!(n && !n.intersects(r.bounds))) {
|
|
69595
69592
|
var i = r.opacity == null ? 1 : r.opacity;
|
|
69596
69593
|
i && $re(t, r, i) && (Fh(t, r), t.stroke());
|
|
@@ -69611,7 +69608,7 @@ var fPe = {
|
|
|
69611
69608
|
isect: Cke
|
|
69612
69609
|
}, xPe = NL("shape", mke), dPe = NL("symbol", yke, Rre);
|
|
69613
69610
|
const qq = DNe();
|
|
69614
|
-
var
|
|
69611
|
+
var Ru = {
|
|
69615
69612
|
height: Ol,
|
|
69616
69613
|
measureWidth: $L,
|
|
69617
69614
|
estimateWidth: b7,
|
|
@@ -69620,7 +69617,7 @@ var Tu = {
|
|
|
69620
69617
|
};
|
|
69621
69618
|
kre(!0);
|
|
69622
69619
|
function kre(t) {
|
|
69623
|
-
|
|
69620
|
+
Ru.width = t && y0 ? $L : b7;
|
|
69624
69621
|
}
|
|
69625
69622
|
function b7(t, e) {
|
|
69626
69623
|
return Pre(P0(t, e), Ol(t));
|
|
@@ -69657,7 +69654,7 @@ function P0(t, e) {
|
|
|
69657
69654
|
return t.limit > 0 && n.length ? gPe(t, n) : n;
|
|
69658
69655
|
}
|
|
69659
69656
|
function pPe(t) {
|
|
69660
|
-
if (
|
|
69657
|
+
if (Ru.width === $L) {
|
|
69661
69658
|
const e = kL(t);
|
|
69662
69659
|
return (n) => Mre(n, e);
|
|
69663
69660
|
} else {
|
|
@@ -69705,15 +69702,15 @@ function yPe(t, e) {
|
|
|
69705
69702
|
t("text-anchor", mPe[e.align] || "start"), u ? (a = yf(s, o) + " " + wL(u), (n || r) && (a += " " + yf(n, r))) : a = yf(s + n, o + r), t("transform", a);
|
|
69706
69703
|
}
|
|
69707
69704
|
function ML(t, e, n) {
|
|
69708
|
-
var r =
|
|
69709
|
-
if (Ce(c) ? (r += Vf(e) * (c.length - 1), f = c.reduce((x, h) => Math.max(x,
|
|
69705
|
+
var r = Ru.height(e), i = e.align, s = wb(e), o = s.x1, u = s.y1, a = e.dx || 0, l = (e.dy || 0) + PL(e) - Math.round(0.8 * r), c = vy(e), f;
|
|
69706
|
+
if (Ce(c) ? (r += Vf(e) * (c.length - 1), f = c.reduce((x, h) => Math.max(x, Ru.width(e, h)), 0)) : f = Ru.width(e, c), i === "center" ? a -= f / 2 : i === "right" && (a -= f), t.set(a += o, l += u, a + f, l + r), e.angle && !n)
|
|
69710
69707
|
t.rotate(e.angle * k0, o, u);
|
|
69711
69708
|
else if (n === 2)
|
|
69712
69709
|
return t.rotatedPoints(e.angle * k0, o, u);
|
|
69713
69710
|
return t;
|
|
69714
69711
|
}
|
|
69715
69712
|
function EPe(t, e, n) {
|
|
69716
|
-
|
|
69713
|
+
Uu(e, (r) => {
|
|
69717
69714
|
var i = r.opacity == null ? 1 : r.opacity, s, o, u, a, l, c, f;
|
|
69718
69715
|
if (!(n && !n.intersects(r.bounds) || // bounds check
|
|
69719
69716
|
i === 0 || r.fontSize <= 0 || r.text == null || r.text.length === 0)) {
|
|
@@ -69922,7 +69919,7 @@ function us(t, e, n, r) {
|
|
|
69922
69919
|
var i = t.childNodes[e], s;
|
|
69923
69920
|
return (!i || i.tagName.toLowerCase() !== n.toLowerCase()) && (s = i || null, i = uf(t.ownerDocument, n, r), t.insertBefore(i, s)), i;
|
|
69924
69921
|
}
|
|
69925
|
-
function
|
|
69922
|
+
function pu(t, e) {
|
|
69926
69923
|
for (var n = t.childNodes, r = n.length; r > e; )
|
|
69927
69924
|
t.removeChild(n[--r]);
|
|
69928
69925
|
return t;
|
|
@@ -70344,7 +70341,7 @@ function HPe(t, e, n) {
|
|
|
70344
70341
|
}
|
|
70345
70342
|
Ne(D7, Dl, {
|
|
70346
70343
|
initialize(t, e, n, r, i, s) {
|
|
70347
|
-
return this._options = s || {}, this._canvas = this._options.externalContext ? null : m0(1, 1, this._options.type), t && this._canvas && (
|
|
70344
|
+
return this._options = s || {}, this._canvas = this._options.externalContext ? null : m0(1, 1, this._options.type), t && this._canvas && (pu(t, 0).appendChild(this._canvas), this._canvas.setAttribute("class", "marks")), Vq.initialize.call(this, t, e, n, r, i);
|
|
70348
70345
|
},
|
|
70349
70346
|
resize(t, e, n, r) {
|
|
70350
70347
|
if (Vq.resize.call(this, t, e, n, r), this._canvas)
|
|
@@ -70427,7 +70424,7 @@ const Jre = "aria-hidden", UL = "aria-label", qL = "role", HL = "aria-roledescri
|
|
|
70427
70424
|
[qL]: t,
|
|
70428
70425
|
[HL]: e,
|
|
70429
70426
|
[UL]: n || void 0
|
|
70430
|
-
}), zPe =
|
|
70427
|
+
}), zPe = ku(["axis-domain", "axis-grid", "axis-label", "axis-tick", "axis-title", "legend-band", "legend-entry", "legend-gradient", "legend-label", "legend-title", "legend-symbol", "title"]), Yq = {
|
|
70431
70428
|
axis: {
|
|
70432
70429
|
desc: "axis",
|
|
70433
70430
|
caption: WPe
|
|
@@ -70574,7 +70571,7 @@ Ne(uie, Dl, {
|
|
|
70574
70571
|
* @return {SVGRenderer} - This renderer instance.
|
|
70575
70572
|
*/
|
|
70576
70573
|
initialize(t, e, n, r, i) {
|
|
70577
|
-
return this._defs = {}, this._clearDefs(), t && (this._svg = us(t, 0, "svg", Hn), this._svg.setAttributeNS(Xq, "xmlns", Hn), this._svg.setAttributeNS(Xq, "xmlns:xlink", am["xmlns:xlink"]), this._svg.setAttribute("version", am.version), this._svg.setAttribute("class", "marks"),
|
|
70574
|
+
return this._defs = {}, this._clearDefs(), t && (this._svg = us(t, 0, "svg", Hn), this._svg.setAttributeNS(Xq, "xmlns", Hn), this._svg.setAttributeNS(Xq, "xmlns:xlink", am["xmlns:xlink"]), this._svg.setAttribute("version", am.version), this._svg.setAttribute("class", "marks"), pu(t, 1), this._root = us(this._svg, C1, "g", Hn), i0(this._root, oie), pu(this._svg, C1 + 1)), this.background(this._bgcolor), VR.initialize.call(this, t, e, n, r, i);
|
|
70578
70575
|
},
|
|
70579
70576
|
/**
|
|
70580
70577
|
* Get / set the background color.
|
|
@@ -70628,7 +70625,7 @@ Ne(uie, Dl, {
|
|
|
70628
70625
|
* @param {object} scene - The root mark of a scenegraph to render.
|
|
70629
70626
|
*/
|
|
70630
70627
|
_render(t) {
|
|
70631
|
-
return this._dirtyCheck() && (this._dirtyAll && this._clearDefs(), this.mark(this._root, t),
|
|
70628
|
+
return this._dirtyCheck() && (this._dirtyAll && this._clearDefs(), this.mark(this._root, t), pu(this._root, 1)), this.defs(), this._dirty = [], ++this._dirtyID, this;
|
|
70632
70629
|
},
|
|
70633
70630
|
// -- Manage rendering of items marked as dirty --
|
|
70634
70631
|
/**
|
|
@@ -70689,7 +70686,7 @@ Ne(uie, Dl, {
|
|
|
70689
70686
|
const h = this.isDirty(x), p = eH(x, u, l, i.tag, r);
|
|
70690
70687
|
h && (this._update(i, p, x), o && tMe(this, p, x)), l = p, ++c;
|
|
70691
70688
|
};
|
|
70692
|
-
return i.nested ? e.items.length && f(e.items[0]) :
|
|
70689
|
+
return i.nested ? e.items.length && f(e.items[0]) : Uu(e, f), pu(u, c), u;
|
|
70693
70690
|
},
|
|
70694
70691
|
/**
|
|
70695
70692
|
* Update the attributes of an SVG element for a mark item.
|
|
@@ -70732,7 +70729,7 @@ Ne(uie, Dl, {
|
|
|
70732
70729
|
n || (e.el = n = us(t, C1 + 1, "defs", Hn)), r = ZPe(n, e.gradient[i], r);
|
|
70733
70730
|
for (const i in e.clipping)
|
|
70734
70731
|
n || (e.el = n = us(t, C1 + 1, "defs", Hn)), r = eMe(n, e.clipping[i], r);
|
|
70735
|
-
n && (r === 0 ? (t.removeChild(n), e.el = null) :
|
|
70732
|
+
n && (r === 0 ? (t.removeChild(n), e.el = null) : pu(n, r));
|
|
70736
70733
|
},
|
|
70737
70734
|
/**
|
|
70738
70735
|
* Clear defs caches.
|
|
@@ -70782,7 +70779,7 @@ function ZPe(t, e, n) {
|
|
|
70782
70779
|
});
|
|
70783
70780
|
for (r = 0, i = e.stops.length; r < i; ++r)
|
|
70784
70781
|
s = us(t, r, "stop", Hn), s.setAttribute("offset", e.stops[r].offset), s.setAttribute("stop-color", e.stops[r].color);
|
|
70785
|
-
return
|
|
70782
|
+
return pu(t, r), n;
|
|
70786
70783
|
}
|
|
70787
70784
|
function eMe(t, e, n) {
|
|
70788
70785
|
let r;
|
|
@@ -70791,14 +70788,14 @@ function eMe(t, e, n) {
|
|
|
70791
70788
|
y: 0,
|
|
70792
70789
|
width: e.width,
|
|
70793
70790
|
height: e.height
|
|
70794
|
-
})),
|
|
70791
|
+
})), pu(t, 1), n + 1;
|
|
70795
70792
|
}
|
|
70796
70793
|
function tMe(t, e, n) {
|
|
70797
70794
|
e = e.lastChild.previousSibling;
|
|
70798
70795
|
let r, i = 0;
|
|
70799
|
-
|
|
70796
|
+
Uu(n, (s) => {
|
|
70800
70797
|
r = t.mark(e, s, r), ++i;
|
|
70801
|
-
}),
|
|
70798
|
+
}), pu(e, 1 + i);
|
|
70802
70799
|
}
|
|
70803
70800
|
function eH(t, e, n, r, i) {
|
|
70804
70801
|
let s = t._svg, o;
|
|
@@ -70840,7 +70837,7 @@ const rMe = {
|
|
|
70840
70837
|
const r = vy(n);
|
|
70841
70838
|
let i, s, o, u;
|
|
70842
70839
|
Ce(r) ? (s = r.map((a) => P0(n, a)), i = s.join(`
|
|
70843
|
-
`), i !== jr.text && (
|
|
70840
|
+
`), i !== jr.text && (pu(e, 0), o = e.ownerDocument, u = Vf(n), s.forEach((a, l) => {
|
|
70844
70841
|
const c = uf(o, "tspan", Hn);
|
|
70845
70842
|
c.__data__ = n, c.textContent = a, l && (c.setAttribute("x", 0), c.setAttribute("dy", u)), e.appendChild(c);
|
|
70846
70843
|
}), jr.text = i)) : (s = P0(n, r), s !== jr.text && (e.textContent = s, jr.text = s)), ti(e, "font-family", Db(n)), ti(e, "font-size", Ol(n) + "px"), ti(e, "font-style", n.fontStyle), ti(e, "font-variant", n.fontVariant), ti(e, "font-weight", n.fontWeight);
|
|
@@ -70929,11 +70926,11 @@ Ne(lie, Dl, {
|
|
|
70929
70926
|
t.text(P0(o, a));
|
|
70930
70927
|
} else if (r === "g") {
|
|
70931
70928
|
const a = o.strokeForeground, l = o.fill, c = o.stroke;
|
|
70932
|
-
a && c && (o.stroke = null), t.open("path", this.attr(e, o, n.background, "bgrect")).close(), t.open("g", this.attr(e, o, n.content)),
|
|
70929
|
+
a && c && (o.stroke = null), t.open("path", this.attr(e, o, n.background, "bgrect")).close(), t.open("g", this.attr(e, o, n.content)), Uu(o, (f) => this.mark(t, f)), t.close(), a && c ? (l && (o.fill = null), o.stroke = c, t.open("path", this.attr(e, o, n.foreground, "bgrect")).close(), l && (o.fill = l)) : t.open("path", this.attr(e, o, n.foreground, "bgfore")).close();
|
|
70933
70930
|
}
|
|
70934
70931
|
t.close(), u && t.close();
|
|
70935
70932
|
};
|
|
70936
|
-
return n.nested ? e.items && e.items.length && s(e.items[0]) :
|
|
70933
|
+
return n.nested ? e.items && e.items.length && s(e.items[0]) : Uu(e, s), t.close();
|
|
70937
70934
|
},
|
|
70938
70935
|
/**
|
|
70939
70936
|
* Get href attributes for a hyperlinked mark item.
|
|
@@ -71949,9 +71946,9 @@ function uje(t) {
|
|
|
71949
71946
|
return !t.bins && (e === Dh || e === dy || e === hy);
|
|
71950
71947
|
}
|
|
71951
71948
|
function jie(t) {
|
|
71952
|
-
return yL(t) && t !==
|
|
71949
|
+
return yL(t) && t !== Tu;
|
|
71953
71950
|
}
|
|
71954
|
-
const aje =
|
|
71951
|
+
const aje = ku(["set", "modified", "clear", "type", "scheme", "schemeExtent", "schemeCount", "domain", "domainMin", "domainMid", "domainMax", "domainRaw", "domainImplicit", "nice", "zero", "bins", "range", "rangeStep", "round", "reverse", "interpolate", "interpolateGamma"]);
|
|
71955
71952
|
function Uie(t) {
|
|
71956
71953
|
Ee.call(this, null, t), this.modified(!0);
|
|
71957
71954
|
}
|
|
@@ -71970,7 +71967,7 @@ Ne(Uie, Ee, {
|
|
|
71970
71967
|
});
|
|
71971
71968
|
function lje(t) {
|
|
71972
71969
|
var e = t.type, n = "", r;
|
|
71973
|
-
return e ===
|
|
71970
|
+
return e === Tu ? Tu + "-" + Dh : (cje(t) && (r = t.rawDomain ? t.rawDomain.length : t.domain ? t.domain.length + +(t.domainMid != null) : 0, n = r === 2 ? Tu + "-" : r === 3 ? W2 + "-" : ""), (n + e || Dh).toLowerCase());
|
|
71974
71971
|
}
|
|
71975
71972
|
function cje(t) {
|
|
71976
71973
|
const e = t.type;
|
|
@@ -72195,12 +72192,12 @@ function pH(t, e) {
|
|
|
72195
72192
|
function Fa(t, e) {
|
|
72196
72193
|
t && dH.hasOwnProperty(t.type) ? dH[t.type](t, e) : g_(t, e);
|
|
72197
72194
|
}
|
|
72198
|
-
var m_ = new hi(), y_ = new hi(), Yie, Kie, $7, k7, P7,
|
|
72195
|
+
var m_ = new hi(), y_ = new hi(), Yie, Kie, $7, k7, P7, qu = {
|
|
72199
72196
|
point: Ar,
|
|
72200
72197
|
lineStart: Ar,
|
|
72201
72198
|
lineEnd: Ar,
|
|
72202
72199
|
polygonStart: function() {
|
|
72203
|
-
m_ = new hi(),
|
|
72200
|
+
m_ = new hi(), qu.lineStart = Sje, qu.lineEnd = Cje;
|
|
72204
72201
|
},
|
|
72205
72202
|
polygonEnd: function() {
|
|
72206
72203
|
var t = +m_;
|
|
@@ -72211,13 +72208,13 @@ var m_ = new hi(), y_ = new hi(), Yie, Kie, $7, k7, P7, Uu = {
|
|
|
72211
72208
|
}
|
|
72212
72209
|
};
|
|
72213
72210
|
function Sje() {
|
|
72214
|
-
|
|
72211
|
+
qu.point = bje;
|
|
72215
72212
|
}
|
|
72216
72213
|
function Cje() {
|
|
72217
72214
|
Jie(Yie, Kie);
|
|
72218
72215
|
}
|
|
72219
72216
|
function bje(t, e) {
|
|
72220
|
-
|
|
72217
|
+
qu.point = Jie, Yie = t, Kie = e, t *= yt, e *= yt, $7 = t, k7 = st(e = e / 2 + h_), P7 = et(e);
|
|
72221
72218
|
}
|
|
72222
72219
|
function Jie(t, e) {
|
|
72223
72220
|
t *= yt, e *= yt, e = e / 2 + h_;
|
|
@@ -72225,7 +72222,7 @@ function Jie(t, e) {
|
|
|
72225
72222
|
m_.add(to(l, a)), $7 = t, k7 = s, P7 = o;
|
|
72226
72223
|
}
|
|
72227
72224
|
function Tje(t) {
|
|
72228
|
-
return y_ = new hi(), Fa(t,
|
|
72225
|
+
return y_ = new hi(), Fa(t, qu), y_ * 2;
|
|
72229
72226
|
}
|
|
72230
72227
|
function E_(t) {
|
|
72231
72228
|
return [to(t[1], t[0]), zi(t[2])];
|
|
@@ -72255,10 +72252,10 @@ var hn, Li, _n, os, Gc, Xie, Zie, qd, bg, Kl, xl, Oa = {
|
|
|
72255
72252
|
lineStart: gH,
|
|
72256
72253
|
lineEnd: mH,
|
|
72257
72254
|
polygonStart: function() {
|
|
72258
|
-
Oa.point = tse, Oa.lineStart = Rje, Oa.lineEnd = Oje, bg = new hi(),
|
|
72255
|
+
Oa.point = tse, Oa.lineStart = Rje, Oa.lineEnd = Oje, bg = new hi(), qu.polygonStart();
|
|
72259
72256
|
},
|
|
72260
72257
|
polygonEnd: function() {
|
|
72261
|
-
|
|
72258
|
+
qu.polygonEnd(), Oa.point = M7, Oa.lineStart = gH, Oa.lineEnd = mH, m_ < 0 ? (hn = -(_n = 180), Li = -(os = 90)) : bg > rt ? os = 90 : bg < -rt && (Li = -90), xl[0] = hn, xl[1] = _n;
|
|
72262
72259
|
},
|
|
72263
72260
|
sphere: function() {
|
|
72264
72261
|
hn = -(_n = 180), Li = -(os = 90);
|
|
@@ -72290,13 +72287,13 @@ function tse(t, e) {
|
|
|
72290
72287
|
bg.add(St(n) > 180 ? n + (n > 0 ? 360 : -360) : n);
|
|
72291
72288
|
} else
|
|
72292
72289
|
Xie = t, Zie = e;
|
|
72293
|
-
|
|
72290
|
+
qu.point(t, e), ese(t, e);
|
|
72294
72291
|
}
|
|
72295
72292
|
function Rje() {
|
|
72296
|
-
|
|
72293
|
+
qu.lineStart();
|
|
72297
72294
|
}
|
|
72298
72295
|
function Oje() {
|
|
72299
|
-
tse(Xie, Zie),
|
|
72296
|
+
tse(Xie, Zie), qu.lineEnd(), St(bg) > rt && (hn = -(_n = 180)), xl[0] = hn, xl[1] = _n, qd = null;
|
|
72300
72297
|
}
|
|
72301
72298
|
function is(t, e) {
|
|
72302
72299
|
return (e -= t) < 0 ? e + 360 : e;
|
|
@@ -72914,7 +72911,7 @@ var kh = 1 / 0, O_ = kh, fm = -kh, D_ = fm, w_ = {
|
|
|
72914
72911
|
function Jje(t, e) {
|
|
72915
72912
|
t < kh && (kh = t), t > fm && (fm = t), e < O_ && (O_ = e), e > D_ && (D_ = e);
|
|
72916
72913
|
}
|
|
72917
|
-
var V7 = 0, Y7 = 0, tg = 0, N_ = 0, F_ = 0, Fd = 0, K7 = 0, J7 = 0, ng = 0, dse, hse,
|
|
72914
|
+
var V7 = 0, Y7 = 0, tg = 0, N_ = 0, F_ = 0, Fd = 0, K7 = 0, J7 = 0, ng = 0, dse, hse, gu, mu, Ms = {
|
|
72918
72915
|
point: Jf,
|
|
72919
72916
|
lineStart: DH,
|
|
72920
72917
|
lineEnd: wH,
|
|
@@ -72936,11 +72933,11 @@ function DH() {
|
|
|
72936
72933
|
Ms.point = Xje;
|
|
72937
72934
|
}
|
|
72938
72935
|
function Xje(t, e) {
|
|
72939
|
-
Ms.point = Zje, Jf(
|
|
72936
|
+
Ms.point = Zje, Jf(gu = t, mu = e);
|
|
72940
72937
|
}
|
|
72941
72938
|
function Zje(t, e) {
|
|
72942
|
-
var n = t -
|
|
72943
|
-
N_ += i * (
|
|
72939
|
+
var n = t - gu, r = e - mu, i = Si(n * n + r * r);
|
|
72940
|
+
N_ += i * (gu + t) / 2, F_ += i * (mu + e) / 2, Fd += i, Jf(gu = t, mu = e);
|
|
72944
72941
|
}
|
|
72945
72942
|
function wH() {
|
|
72946
72943
|
Ms.point = Jf;
|
|
@@ -72952,11 +72949,11 @@ function tUe() {
|
|
|
72952
72949
|
pse(dse, hse);
|
|
72953
72950
|
}
|
|
72954
72951
|
function nUe(t, e) {
|
|
72955
|
-
Ms.point = pse, Jf(dse =
|
|
72952
|
+
Ms.point = pse, Jf(dse = gu = t, hse = mu = e);
|
|
72956
72953
|
}
|
|
72957
72954
|
function pse(t, e) {
|
|
72958
|
-
var n = t -
|
|
72959
|
-
N_ += i * (
|
|
72955
|
+
var n = t - gu, r = e - mu, i = Si(n * n + r * r);
|
|
72956
|
+
N_ += i * (gu + t) / 2, F_ += i * (mu + e) / 2, Fd += i, i = mu * t - gu * e, K7 += i * (gu + t), J7 += i * (mu + e), ng += i * 3, Jf(gu = t, mu = e);
|
|
72960
72957
|
}
|
|
72961
72958
|
function gse(t) {
|
|
72962
72959
|
this._context = t;
|
|
@@ -73266,7 +73263,7 @@ function kH(t, e, n, r, i, s) {
|
|
|
73266
73263
|
return [r * (c * m - f * g + x), i * (h - f * m - c * g)];
|
|
73267
73264
|
}, p;
|
|
73268
73265
|
}
|
|
73269
|
-
function
|
|
73266
|
+
function fa(t) {
|
|
73270
73267
|
return _se(function() {
|
|
73271
73268
|
return t;
|
|
73272
73269
|
})();
|
|
@@ -73450,7 +73447,7 @@ bse.invert = Sy(function(t) {
|
|
|
73450
73447
|
return 2 * zi(t / 2);
|
|
73451
73448
|
});
|
|
73452
73449
|
function pUe() {
|
|
73453
|
-
return
|
|
73450
|
+
return fa(bse).scale(124.75).clipAngle(180 - 1e-3);
|
|
73454
73451
|
}
|
|
73455
73452
|
var Tse = Cse(function(t) {
|
|
73456
73453
|
return (t = Vie(t)) && t / et(t);
|
|
@@ -73459,7 +73456,7 @@ Tse.invert = Sy(function(t) {
|
|
|
73459
73456
|
return t;
|
|
73460
73457
|
});
|
|
73461
73458
|
function gUe() {
|
|
73462
|
-
return
|
|
73459
|
+
return fa(Tse).scale(79.4188).clipAngle(180 - 1e-3);
|
|
73463
73460
|
}
|
|
73464
73461
|
function Bb(t, e) {
|
|
73465
73462
|
return [t, p_(nI((Cn + e) / 2))];
|
|
@@ -73471,7 +73468,7 @@ function mUe() {
|
|
|
73471
73468
|
return Rse(Bb).scale(961 / _i);
|
|
73472
73469
|
}
|
|
73473
73470
|
function Rse(t) {
|
|
73474
|
-
var e =
|
|
73471
|
+
var e = fa(t), n = e.center, r = e.scale, i = e.translate, s = e.clipExtent, o = null, u, a, l;
|
|
73475
73472
|
e.scale = function(f) {
|
|
73476
73473
|
return arguments.length ? (r(f), c()) : r();
|
|
73477
73474
|
}, e.translate = function(f) {
|
|
@@ -73512,7 +73509,7 @@ function B_(t, e) {
|
|
|
73512
73509
|
}
|
|
73513
73510
|
B_.invert = B_;
|
|
73514
73511
|
function AUe() {
|
|
73515
|
-
return
|
|
73512
|
+
return fa(B_).scale(152.63);
|
|
73516
73513
|
}
|
|
73517
73514
|
function vUe(t, e) {
|
|
73518
73515
|
var n = st(t), r = t === e ? et(t) : (n - st(e)) / (e - t), i = n / r + t;
|
|
@@ -73547,7 +73544,7 @@ Ose.invert = function(t, e) {
|
|
|
73547
73544
|
];
|
|
73548
73545
|
};
|
|
73549
73546
|
function CUe() {
|
|
73550
|
-
return
|
|
73547
|
+
return fa(Ose).scale(177.158);
|
|
73551
73548
|
}
|
|
73552
73549
|
function Dse(t, e) {
|
|
73553
73550
|
var n = st(e), r = st(t) * n;
|
|
@@ -73555,7 +73552,7 @@ function Dse(t, e) {
|
|
|
73555
73552
|
}
|
|
73556
73553
|
Dse.invert = Sy(Y2);
|
|
73557
73554
|
function bUe() {
|
|
73558
|
-
return
|
|
73555
|
+
return fa(Dse).scale(144.049).clipAngle(60);
|
|
73559
73556
|
}
|
|
73560
73557
|
function TUe() {
|
|
73561
73558
|
var t = 1, e = 0, n = 0, r = 1, i = 1, s = 0, o, u, a = null, l, c, f, x = 1, h = 1, p = Lb({
|
|
@@ -73627,14 +73624,14 @@ wse.invert = function(t, e) {
|
|
|
73627
73624
|
];
|
|
73628
73625
|
};
|
|
73629
73626
|
function RUe() {
|
|
73630
|
-
return
|
|
73627
|
+
return fa(wse).scale(175.295);
|
|
73631
73628
|
}
|
|
73632
73629
|
function Nse(t, e) {
|
|
73633
73630
|
return [st(e) * et(t), et(e)];
|
|
73634
73631
|
}
|
|
73635
73632
|
Nse.invert = Sy(zi);
|
|
73636
73633
|
function OUe() {
|
|
73637
|
-
return
|
|
73634
|
+
return fa(Nse).scale(249.5).clipAngle(90 + rt);
|
|
73638
73635
|
}
|
|
73639
73636
|
function Fse(t, e) {
|
|
73640
73637
|
var n = st(e), r = 1 + st(t) * n;
|
|
@@ -73644,7 +73641,7 @@ Fse.invert = Sy(function(t) {
|
|
|
73644
73641
|
return 2 * Y2(t);
|
|
73645
73642
|
});
|
|
73646
73643
|
function DUe() {
|
|
73647
|
-
return
|
|
73644
|
+
return fa(Fse).scale(250).clipAngle(142);
|
|
73648
73645
|
}
|
|
73649
73646
|
function Lse(t, e) {
|
|
73650
73647
|
return [p_(nI((Cn + e) / 2)), -t];
|
|
@@ -73684,7 +73681,7 @@ function BUe(t, e, n) {
|
|
|
73684
73681
|
}
|
|
73685
73682
|
var $Ue = BUe(PH / tw, PH, Ise);
|
|
73686
73683
|
function kUe() {
|
|
73687
|
-
return
|
|
73684
|
+
return fa($Ue).scale(169.529);
|
|
73688
73685
|
}
|
|
73689
73686
|
const PUe = vse(), nw = [
|
|
73690
73687
|
// standard properties in d3-geo
|
|
@@ -73752,7 +73749,7 @@ for (const t in P_)
|
|
|
73752
73749
|
Bse(t, P_[t]);
|
|
73753
73750
|
function jUe() {
|
|
73754
73751
|
}
|
|
73755
|
-
const
|
|
73752
|
+
const Ca = [[], [[[1, 1.5], [0.5, 1]]], [[[1.5, 1], [1, 1.5]]], [[[1.5, 1], [0.5, 1]]], [[[1, 0.5], [1.5, 1]]], [[[1, 1.5], [0.5, 1]], [[1, 0.5], [1.5, 1]]], [[[1, 0.5], [1, 1.5]]], [[[1, 0.5], [0.5, 1]]], [[[0.5, 1], [1, 0.5]]], [[[1, 1.5], [1, 0.5]]], [[[0.5, 1], [1, 0.5]], [[1.5, 1], [1, 1.5]]], [[[1.5, 1], [1, 0.5]]], [[[0.5, 1], [1.5, 1]]], [[[1, 1.5], [1.5, 1]]], [[[0.5, 1], [1, 1.5]]], []];
|
|
73756
73753
|
function kse() {
|
|
73757
73754
|
var t = 1, e = 1, n = u;
|
|
73758
73755
|
function r(a, l) {
|
|
@@ -73776,16 +73773,16 @@ function kse() {
|
|
|
73776
73773
|
}
|
|
73777
73774
|
function s(a, l, c) {
|
|
73778
73775
|
var f = new Array(), x = new Array(), h, p, m, g, y, E;
|
|
73779
|
-
for (h = p = -1, g = a[0] >= l,
|
|
73780
|
-
m = g, g = a[h + 1] >= l,
|
|
73781
|
-
for (
|
|
73782
|
-
for (h = -1, g = a[p * t + t] >= l, y = a[p * t] >= l,
|
|
73783
|
-
m = g, g = a[p * t + t + h + 1] >= l, E = y, y = a[p * t + h + 1] >= l,
|
|
73784
|
-
|
|
73785
|
-
}
|
|
73786
|
-
for (h = -1, y = a[p * t] >= l,
|
|
73787
|
-
E = y, y = a[p * t + h + 1] >= l,
|
|
73788
|
-
|
|
73776
|
+
for (h = p = -1, g = a[0] >= l, Ca[g << 1].forEach(A); ++h < t - 1; )
|
|
73777
|
+
m = g, g = a[h + 1] >= l, Ca[m | g << 1].forEach(A);
|
|
73778
|
+
for (Ca[g << 0].forEach(A); ++p < e - 1; ) {
|
|
73779
|
+
for (h = -1, g = a[p * t + t] >= l, y = a[p * t] >= l, Ca[g << 1 | y << 2].forEach(A); ++h < t - 1; )
|
|
73780
|
+
m = g, g = a[p * t + t + h + 1] >= l, E = y, y = a[p * t + h + 1] >= l, Ca[m | g << 1 | y << 2 | E << 3].forEach(A);
|
|
73781
|
+
Ca[g | y << 3].forEach(A);
|
|
73782
|
+
}
|
|
73783
|
+
for (h = -1, y = a[p * t] >= l, Ca[y << 2].forEach(A); ++h < t - 1; )
|
|
73784
|
+
E = y, y = a[p * t + h + 1] >= l, Ca[y << 2 | E << 3].forEach(A);
|
|
73785
|
+
Ca[y << 3].forEach(A);
|
|
73789
73786
|
function A(v) {
|
|
73790
73787
|
var _ = [v[0][0] + h, v[0][1] + p], S = [v[1][0] + h, v[1][1] + p], C = o(_), b = o(S), N, L;
|
|
73791
73788
|
(N = x[C]) ? (L = f[b]) ? (delete x[N.end], delete f[L.start], N === L ? (N.ring.push(S), c(N.ring)) : f[N.start] = x[L.end] = {
|
|
@@ -74415,7 +74412,7 @@ function tqe(t, e) {
|
|
|
74415
74412
|
function qse(t) {
|
|
74416
74413
|
if (!gt(t))
|
|
74417
74414
|
return !1;
|
|
74418
|
-
const e =
|
|
74415
|
+
const e = ku(di(t));
|
|
74419
74416
|
return e.$x || e.$y || e.$value || e.$max;
|
|
74420
74417
|
}
|
|
74421
74418
|
function nqe(t, e, n, r) {
|
|
@@ -76451,7 +76448,7 @@ function cze(t) {
|
|
|
76451
76448
|
fillOpacity: 0
|
|
76452
76449
|
} : e;
|
|
76453
76450
|
}
|
|
76454
|
-
const
|
|
76451
|
+
const ba = 5, Zr = 31, hm = 32, Jl = new Uint32Array(hm + 1), Ao = new Uint32Array(hm + 1);
|
|
76455
76452
|
Ao[0] = 0;
|
|
76456
76453
|
Jl[0] = ~Ao[0];
|
|
76457
76454
|
for (let t = 1; t <= hm; ++t)
|
|
@@ -76468,20 +76465,20 @@ function fze(t, e) {
|
|
|
76468
76465
|
array: n,
|
|
76469
76466
|
get: (s, o) => {
|
|
76470
76467
|
const u = o * t + s;
|
|
76471
|
-
return n[u >>>
|
|
76468
|
+
return n[u >>> ba] & 1 << (u & Zr);
|
|
76472
76469
|
},
|
|
76473
76470
|
set: (s, o) => {
|
|
76474
76471
|
const u = o * t + s;
|
|
76475
|
-
r(u >>>
|
|
76472
|
+
r(u >>> ba, 1 << (u & Zr));
|
|
76476
76473
|
},
|
|
76477
76474
|
clear: (s, o) => {
|
|
76478
76475
|
const u = o * t + s;
|
|
76479
|
-
i(u >>>
|
|
76476
|
+
i(u >>> ba, ~(1 << (u & Zr)));
|
|
76480
76477
|
},
|
|
76481
76478
|
getRange: (s, o, u, a) => {
|
|
76482
76479
|
let l = a, c, f, x, h;
|
|
76483
76480
|
for (; l >= o; --l)
|
|
76484
|
-
if (c = l * t + s, f = l * t + u, x = c >>>
|
|
76481
|
+
if (c = l * t + s, f = l * t + u, x = c >>> ba, h = f >>> ba, x === h) {
|
|
76485
76482
|
if (n[x] & Jl[c & Zr] & Ao[(f & Zr) + 1])
|
|
76486
76483
|
return !0;
|
|
76487
76484
|
} else {
|
|
@@ -76496,7 +76493,7 @@ function fze(t, e) {
|
|
|
76496
76493
|
setRange: (s, o, u, a) => {
|
|
76497
76494
|
let l, c, f, x, h;
|
|
76498
76495
|
for (; o <= a; ++o)
|
|
76499
|
-
if (l = o * t + s, c = o * t + u, f = l >>>
|
|
76496
|
+
if (l = o * t + s, c = o * t + u, f = l >>> ba, x = c >>> ba, f === x)
|
|
76500
76497
|
r(f, Jl[l & Zr] & Ao[(c & Zr) + 1]);
|
|
76501
76498
|
else
|
|
76502
76499
|
for (r(f, Jl[l & Zr]), r(x, Ao[(c & Zr) + 1]), h = f + 1; h < x; ++h)
|
|
@@ -76505,7 +76502,7 @@ function fze(t, e) {
|
|
|
76505
76502
|
clearRange: (s, o, u, a) => {
|
|
76506
76503
|
let l, c, f, x, h;
|
|
76507
76504
|
for (; o <= a; ++o)
|
|
76508
|
-
if (l = o * t + s, c = o * t + u, f = l >>>
|
|
76505
|
+
if (l = o * t + s, c = o * t + u, f = l >>> ba, x = c >>> ba, f === x)
|
|
76509
76506
|
i(f, Ao[l & Zr] | Jl[(c & Zr) + 1]);
|
|
76510
76507
|
else
|
|
76511
76508
|
for (i(f, Ao[l & Zr]), i(x, Jl[(c & Zr) + 1]), h = f + 1; h < x; ++h)
|
|
@@ -76521,7 +76518,7 @@ function xze(t, e, n) {
|
|
|
76521
76518
|
function dze(t, e, n, r) {
|
|
76522
76519
|
const i = t.width, s = t.height;
|
|
76523
76520
|
return function(o) {
|
|
76524
|
-
const u = o.datum.datum.items[r].items, a = u.length, l = o.datum.fontSize, c =
|
|
76521
|
+
const u = o.datum.datum.items[r].items, a = u.length, l = o.datum.fontSize, c = Ru.width(o.datum, o.datum.text);
|
|
76525
76522
|
let f = 0, x, h, p, m, g, y, E;
|
|
76526
76523
|
for (let A = 0; A < a; ++A)
|
|
76527
76524
|
x = u[A].x, p = u[A].y, h = u[A].x2 === void 0 ? x : u[A].x2, m = u[A].y2 === void 0 ? p : u[A].y2, g = (x + h) / 2, y = (p + m) / 2, E = Math.abs(h - x + m - p), E >= f && (f = E, o.x = g, o.y = y);
|
|
@@ -76549,7 +76546,7 @@ function hze(t, e, n, r) {
|
|
|
76549
76546
|
}
|
|
76550
76547
|
}
|
|
76551
76548
|
return function(l) {
|
|
76552
|
-
const c = l.datum.datum.items[r].items, f = c.length, x = l.datum.fontSize, h =
|
|
76549
|
+
const c = l.datum.datum.items[r].items, f = c.length, x = l.datum.fontSize, h = Ru.width(l.datum, l.datum.text);
|
|
76553
76550
|
let p = n ? x : 0, m = !1, g = !1, y = 0, E, A, v, _, S, C, b, N, L, I, P, q, X, G, ue, he, pe;
|
|
76554
76551
|
for (let ae = 0; ae < f; ++ae) {
|
|
76555
76552
|
for (E = c[ae].x, v = c[ae].y, A = c[ae].x2 === void 0 ? E : c[ae].x2, _ = c[ae].y2 === void 0 ? v : c[ae].y2, E > A && (pe = E, E = A, A = pe), v > _ && (pe = v, v = _, _ = pe), L = t(E), P = t(A), I = ~~((L + P) / 2), q = t(v), G = t(_), X = ~~((q + G) / 2), b = I; b >= L; --b)
|
|
@@ -76567,7 +76564,7 @@ const pze = [-1, -1, 1, 1], gze = [-1, 1, -1, 1];
|
|
|
76567
76564
|
function mze(t, e, n, r) {
|
|
76568
76565
|
const i = t.width, s = t.height, o = e[0], u = e[1], a = t.bitmap();
|
|
76569
76566
|
return function(l) {
|
|
76570
|
-
const c = l.datum.datum.items[r].items, f = c.length, x = l.datum.fontSize, h =
|
|
76567
|
+
const c = l.datum.datum.items[r].items, f = c.length, x = l.datum.fontSize, h = Ru.width(l.datum, l.datum.text), p = [];
|
|
76571
76568
|
let m = n ? x : 0, g = !1, y = !1, E = 0, A, v, _, S, C, b, N, L, I, P, q, X;
|
|
76572
76569
|
for (let G = 0; G < f; ++G) {
|
|
76573
76570
|
for (A = c[G].x, _ = c[G].y, v = c[G].x2 === void 0 ? A : c[G].x2, S = c[G].y2 === void 0 ? _ : c[G].y2, p.push([t((A + v) / 2), t((_ + S) / 2)]); p.length; )
|
|
@@ -76597,7 +76594,7 @@ function Aze(t, e, n, r) {
|
|
|
76597
76594
|
for (let P = 0; P < a; ++P) {
|
|
76598
76595
|
if (h = (n[P] & 3) - 1, p = (n[P] >>> 2 & 3) - 1, m = h === 0 && p === 0 || r[P] < 0, g = h && p ? Math.SQRT1_2 : 1, y = r[P] < 0 ? -1 : 1, E = c[1 + h] + r[P] * h * g, C = c[4 + p] + y * f * p / 2 + r[P] * p * g, v = C - f / 2, _ = C + f / 2, b = t(E), L = t(v), I = t(_), !x)
|
|
76599
76596
|
if (sz(b, b, L, I, o, u, E, E, v, _, c, m))
|
|
76600
|
-
x =
|
|
76597
|
+
x = Ru.width(l.datum, l.datum.text);
|
|
76601
76598
|
else
|
|
76602
76599
|
continue;
|
|
76603
76600
|
if (S = E + y * x * h / 2, E = S - x / 2, A = S + x / 2, b = t(E), N = t(A), sz(b, N, L, I, o, u, E, A, v, _, c, m))
|
|
@@ -76630,7 +76627,7 @@ function Sze(t, e, n, r, i, s, o, u, a, l, c) {
|
|
|
76630
76627
|
const f = Math.max(r.length, i.length), x = Cze(r, f), h = bze(i, f), p = Tze(t[0].datum), m = p === "group" && t[0].datum.items[a].marktype, g = m === "area", y = Rze(p, m, u, a), E = l === null || l === 1 / 0, A = g && c === "naive";
|
|
76631
76628
|
let v = -1, _ = -1;
|
|
76632
76629
|
const S = t.map((L) => {
|
|
76633
|
-
const I = E ?
|
|
76630
|
+
const I = E ? Ru.width(L, L.text) : void 0;
|
|
76634
76631
|
return v = Math.max(v, I), _ = Math.max(_, L.fontSize), {
|
|
76635
76632
|
datum: L,
|
|
76636
76633
|
opacity: 0,
|
|
@@ -78300,17 +78297,17 @@ function RQe(t) {
|
|
|
78300
78297
|
return [];
|
|
78301
78298
|
}
|
|
78302
78299
|
}
|
|
78303
|
-
var
|
|
78304
|
-
|
|
78305
|
-
|
|
78306
|
-
|
|
78307
|
-
|
|
78308
|
-
|
|
78309
|
-
|
|
78310
|
-
|
|
78311
|
-
|
|
78312
|
-
|
|
78313
|
-
|
|
78300
|
+
var xa, Ve, ve, Wr, Qt, Pb = 1, Ty = 2, ex = 3, Sc = 4, Mb = 5, Ux = 6, Ni = 7, Ry = 8, OQe = 9;
|
|
78301
|
+
xa = {};
|
|
78302
|
+
xa[Pb] = "Boolean";
|
|
78303
|
+
xa[Ty] = "<end>";
|
|
78304
|
+
xa[ex] = "Identifier";
|
|
78305
|
+
xa[Sc] = "Keyword";
|
|
78306
|
+
xa[Mb] = "Null";
|
|
78307
|
+
xa[Ux] = "Numeric";
|
|
78308
|
+
xa[Ni] = "Punctuator";
|
|
78309
|
+
xa[Ry] = "String";
|
|
78310
|
+
xa[OQe] = "RegularExpression";
|
|
78314
78311
|
var DQe = "ArrayExpression", wQe = "BinaryExpression", NQe = "CallExpression", FQe = "ConditionalExpression", coe = "Identifier", LQe = "Literal", IQe = "LogicalExpression", BQe = "MemberExpression", $Qe = "ObjectExpression", kQe = "Property", PQe = "UnaryExpression", ur = "Unexpected token %0", MQe = "Unexpected number", jQe = "Unexpected string", UQe = "Unexpected identifier", qQe = "Unexpected reserved word", HQe = "Unexpected end of input", pw = "Invalid regular expression", yO = "Invalid regular expression: missing /", foe = "Octal literals are not allowed in strict mode.", zQe = "Duplicate data property in object literal not allowed in strict mode", vr = "ILLEGAL", pm = "Disabled.", QQe = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"), GQe = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B2\\u08E4-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD0\\u0BD7\\u0BE6-\\u0BEF\\u0C00-\\u0C03\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C58\\u0C59\\u0C60-\\u0C63\\u0C66-\\u0C6F\\u0C81-\\u0C83\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBC-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CDE\\u0CE0-\\u0CE3\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D01-\\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D57\\u0D60-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19D9\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFC-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u2E2F\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA69D\\uA69F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C4\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2D\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]");
|
|
78315
78312
|
function jb(t, e) {
|
|
78316
78313
|
if (!t)
|
|
@@ -79050,7 +79047,7 @@ function SGe(t) {
|
|
|
79050
79047
|
}
|
|
79051
79048
|
function CGe(t) {
|
|
79052
79049
|
t = t || {};
|
|
79053
|
-
const e = t.allowed ?
|
|
79050
|
+
const e = t.allowed ? ku(t.allowed) : {}, n = t.forbidden ? ku(t.forbidden) : {}, r = t.constants || moe, i = (t.functions || yoe)(f), s = t.globalvar, o = t.fieldvar, u = gt(s) ? s : (p) => `${s}["${p}"]`;
|
|
79054
79051
|
let a = {}, l = {}, c = 0;
|
|
79055
79052
|
function f(p) {
|
|
79056
79053
|
if (qe(p))
|
|
@@ -79158,7 +79155,7 @@ function wGe(...t) {
|
|
|
79158
79155
|
e.add(r);
|
|
79159
79156
|
return e;
|
|
79160
79157
|
}
|
|
79161
|
-
const qI = "intersect", Az = "union", NGe = "vlMulti", FGe = "vlPoint", vz = "or", LGe = "and",
|
|
79158
|
+
const qI = "intersect", Az = "union", NGe = "vlMulti", FGe = "vlPoint", vz = "or", LGe = "and", du = "_vgsid_", mm = Es(du), IGe = "E", BGe = "R", $Ge = "R-E", kGe = "R-LE", PGe = "R-RE", Q_ = "index:unit";
|
|
79162
79159
|
function _z(t, e) {
|
|
79163
79160
|
for (var n = e.fields, r = e.values, i = n.length, s = 0, o, u; s < i; ++s)
|
|
79164
79161
|
if (u = n[s], u.getter = Es.getter || Es(u.field), o = u.getter(t), df(o) && (o = fi(o)), df(r[s]) && (r[s] = fi(r[s])), df(r[s][0]) && (r[s] = r[s].map(fi)), u.type === IGe) {
|
|
@@ -79207,7 +79204,7 @@ function HGe(t, e) {
|
|
|
79207
79204
|
return t.map((n) => pt(e.fields ? {
|
|
79208
79205
|
values: e.fields.map((r) => (r.getter || (r.getter = Es(r.field)))(n.datum))
|
|
79209
79206
|
} : {
|
|
79210
|
-
[
|
|
79207
|
+
[du]: mm(n.datum)
|
|
79211
79208
|
}, e));
|
|
79212
79209
|
}
|
|
79213
79210
|
function zGe(t, e, n, r) {
|
|
@@ -79217,10 +79214,10 @@ function zGe(t, e, n, r) {
|
|
|
79217
79214
|
h = c[_], m = o[h.field] || (o[h.field] = {}), g = m[x] || (m[x] = []), a[h.field] = y = h.type.charAt(0), E = _O[`${y}_union`], m[x] = E(g, je(f[_]));
|
|
79218
79215
|
n && (g = u[x] || (u[x] = []), g.push(je(f).reduce((C, b, N) => (C[c[N].field] = b, C), {})));
|
|
79219
79216
|
} else
|
|
79220
|
-
h =
|
|
79221
|
-
[
|
|
79217
|
+
h = du, p = mm(l), m = o[h] || (o[h] = {}), g = m[x] || (m[x] = []), g.push(p), n && (g = u[x] || (u[x] = []), g.push({
|
|
79218
|
+
[du]: p
|
|
79222
79219
|
}));
|
|
79223
|
-
if (e = e || Az, o[
|
|
79220
|
+
if (e = e || Az, o[du] ? o[du] = _O[`${du}_${e}`](...Object.values(o[du])) : Object.keys(o).forEach((C) => {
|
|
79224
79221
|
o[C] = Object.keys(o[C]).map((b) => o[C][b]).reduce((b, N) => b === void 0 ? N : _O[`${a[C]}_${e}`](b, N));
|
|
79225
79222
|
}), s = Object.keys(u), n && s.length) {
|
|
79226
79223
|
const C = r ? FGe : NGe;
|
|
@@ -79235,8 +79232,8 @@ function zGe(t, e, n, r) {
|
|
|
79235
79232
|
return o;
|
|
79236
79233
|
}
|
|
79237
79234
|
var _O = {
|
|
79238
|
-
[`${
|
|
79239
|
-
[`${
|
|
79235
|
+
[`${du}_union`]: wGe,
|
|
79236
|
+
[`${du}_intersect`]: OGe,
|
|
79240
79237
|
E_union: function(t, e) {
|
|
79241
79238
|
if (!t.length)
|
|
79242
79239
|
return e;
|
|
@@ -79741,7 +79738,7 @@ Gt("vlSelectionTest", MGe, HI);
|
|
|
79741
79738
|
Gt("vlSelectionIdTest", qGe, HI);
|
|
79742
79739
|
Gt("vlSelectionResolve", zGe, HI);
|
|
79743
79740
|
Gt("vlSelectionTuples", HGe);
|
|
79744
|
-
function
|
|
79741
|
+
function Hu(t, e) {
|
|
79745
79742
|
const n = {};
|
|
79746
79743
|
let r;
|
|
79747
79744
|
try {
|
|
@@ -79773,7 +79770,7 @@ function JWe(t) {
|
|
|
79773
79770
|
const e = this, n = t.operators || [];
|
|
79774
79771
|
return t.background && (e.background = t.background), t.eventConfig && (e.eventConfig = t.eventConfig), t.locale && (e.locale = t.locale), n.forEach((r) => e.parseOperator(r)), n.forEach((r) => e.parseOperatorParameters(r)), (t.streams || []).forEach((r) => e.parseStream(r)), (t.updates || []).forEach((r) => e.parseUpdate(r)), e.resolve();
|
|
79775
79772
|
}
|
|
79776
|
-
const XWe =
|
|
79773
|
+
const XWe = ku(["rule"]), Tz = ku(["group", "image", "rect"]);
|
|
79777
79774
|
function ZWe(t, e) {
|
|
79778
79775
|
let n = "";
|
|
79779
79776
|
return XWe[e] || (t.x2 && (t.x ? (Tz[e] && (n += "if(o.x>o.x2)$=o.x,o.x=o.x2,o.x2=$;"), n += "o.width=o.x2-o.x;") : n += "o.x=o.x2-(o.width||0);"), t.xc && (n += "o.x=o.xc-(o.width||0)/2;"), t.y2 && (t.y ? (Tz[e] && (n += "if(o.y>o.y2)$=o.y,o.y=o.y2,o.y2=$;"), n += "o.height=o.y2-o.y;") : n += "o.y=o.y2-(o.height||0);"), t.yc && (n += "o.y=o.yc-(o.height||0)/2;")), n;
|
|
@@ -80195,7 +80192,7 @@ function IVe(t) {
|
|
|
80195
80192
|
defaults: {}
|
|
80196
80193
|
}, t), n = (r, i) => {
|
|
80197
80194
|
i.forEach((s) => {
|
|
80198
|
-
Ce(r[s]) && (r[s] =
|
|
80195
|
+
Ce(r[s]) && (r[s] = ku(r[s]));
|
|
80199
80196
|
});
|
|
80200
80197
|
};
|
|
80201
80198
|
return n(e.defaults, ["prevent", "allow"]), n(e, ["view", "window", "selector"]), e;
|
|
@@ -80973,7 +80970,7 @@ function KYe(t) {
|
|
|
80973
80970
|
return Ce(t) ? VYe(t) : Qb(t);
|
|
80974
80971
|
}
|
|
80975
80972
|
function JYe(t, e, n, r) {
|
|
80976
|
-
const i =
|
|
80973
|
+
const i = Hu(t, e);
|
|
80977
80974
|
return i.$fields.forEach((s) => r[s] = 1), pt(n, i.$params), i.$expr;
|
|
80978
80975
|
}
|
|
80979
80976
|
const XYe = "outer", ZYe = ["value", "update", "init", "react", "bind"];
|
|
@@ -81089,7 +81086,7 @@ function aKe(t, e) {
|
|
|
81089
81086
|
}
|
|
81090
81087
|
function sB(t, e, n) {
|
|
81091
81088
|
let r = e.between;
|
|
81092
|
-
return r && (r.length !== 2 && _e('Stream "between" parameter must have 2 entries: ' + Fe(e)), t.between = [Am(r[0], n), Am(r[1], n)]), r = e.filter ? [].concat(e.filter) : [], (e.marktype || e.markname || e.markrole) && r.push(lKe(e.marktype, e.markname, e.markrole)), e.source === iB && r.push("inScope(event.item)"), r.length && (t.filter =
|
|
81089
|
+
return r && (r.length !== 2 && _e('Stream "between" parameter must have 2 entries: ' + Fe(e)), t.between = [Am(r[0], n), Am(r[1], n)]), r = e.filter ? [].concat(e.filter) : [], (e.marktype || e.markname || e.markrole) && r.push(lKe(e.marktype, e.markname, e.markrole)), e.source === iB && r.push("inScope(event.item)"), r.length && (t.filter = Hu("(" + r.join(")&&(") + ")", n).$expr), (r = e.throttle) != null && (t.throttle = +r), (r = e.debounce) != null && (t.debounce = +r), e.consume && (t.consume = !0), t;
|
|
81093
81090
|
}
|
|
81094
81091
|
function lKe(t, e, n) {
|
|
81095
81092
|
const r = "event.item";
|
|
@@ -81109,7 +81106,7 @@ function fKe(t, e, n) {
|
|
|
81109
81106
|
let s = t.events, o = t.update, u = [];
|
|
81110
81107
|
s || _e("Signal update missing events specification."), qe(s) && (s = qx(s, e.isSubscope() ? iB : Cw)), s = je(s).filter((a) => a.signal || a.scale ? (u.push(a), 0) : 1), u.length > 1 && (u = [dKe(u)]), s.length && u.push(s.length > 1 ? {
|
|
81111
81108
|
merge: s
|
|
81112
|
-
} : s[0]), r != null && (o && _e("Signal encode and update are mutually exclusive."), o = "encode(item()," + Fe(r) + ")"), i.update = qe(o) ?
|
|
81109
|
+
} : s[0]), r != null && (o && _e("Signal encode and update are mutually exclusive."), o = "encode(item()," + Fe(r) + ")"), i.update = qe(o) ? Hu(o, e) : o.expr != null ? Hu(o.expr, e) : o.value != null ? o.value : o.signal != null ? {
|
|
81113
81110
|
$expr: cKe,
|
|
81114
81111
|
$params: {
|
|
81115
81112
|
$value: e.signalRef(o.signal)
|
|
@@ -81131,7 +81128,7 @@ function dKe(t) {
|
|
|
81131
81128
|
function hKe(t, e) {
|
|
81132
81129
|
const n = e.getSignal(t.name);
|
|
81133
81130
|
let r = t.update;
|
|
81134
|
-
t.init && (r ? _e("Signals can not include both init and update expressions.") : (r = t.init, n.initonly = !0)), r && (r =
|
|
81131
|
+
t.init && (r ? _e("Signals can not include both init and update expressions.") : (r = t.init, n.initonly = !0)), r && (r = Hu(r, e), n.update = r.$expr, n.params = r.$params), t.on && t.on.forEach((i) => fKe(i, e, n.id));
|
|
81135
81132
|
}
|
|
81136
81133
|
const Vt = (t) => (e, n, r) => Gb(t, n, e || void 0, r), nue = Vt("aggregate"), pKe = Vt("axisticks"), rue = Vt("bound"), Ko = Vt("collect"), qz = Vt("compare"), gKe = Vt("datajoin"), iue = Vt("encode"), mKe = Vt("expression"), yKe = Vt("facet"), EKe = Vt("field"), AKe = Vt("key"), vKe = Vt("legendentries"), _Ke = Vt("load"), SKe = Vt("mark"), CKe = Vt("multiextent"), bKe = Vt("multivalues"), TKe = Vt("overlap"), RKe = Vt("params"), sue = Vt("prefacet"), OKe = Vt("projection"), DKe = Vt("proxy"), wKe = Vt("relay"), oue = Vt("render"), NKe = Vt("scale"), Hx = Vt("sieve"), FKe = Vt("sortitems"), uue = Vt("viewlayout"), LKe = Vt("values");
|
|
81137
81134
|
let IKe = 0;
|
|
@@ -81743,7 +81740,7 @@ function Gz(t, e, n) {
|
|
|
81743
81740
|
return Vz(r) ? _e("Expression references can not be signals.") : RO(r) ? n.fieldRef(e) : Yz(r) ? n.compareRef(e) : n.signalRef(e.signal);
|
|
81744
81741
|
{
|
|
81745
81742
|
const i = t.expr || RO(r);
|
|
81746
|
-
return i && NJe(e) ? n.exprRef(e.expr, e.as) : i && FJe(e) ? Em(e.field, e.as) : Vz(r) ?
|
|
81743
|
+
return i && NJe(e) ? n.exprRef(e.expr, e.as) : i && FJe(e) ? Em(e.field, e.as) : Vz(r) ? Hu(e, n) : LJe(r) ? Ze(n.getData(e).values) : RO(r) ? Em(e) : Yz(r) ? n.compareRef(e) : e;
|
|
81747
81744
|
}
|
|
81748
81745
|
}
|
|
81749
81746
|
function DJe(t, e, n) {
|
|
@@ -81884,7 +81881,7 @@ function $Je(t, e, n) {
|
|
|
81884
81881
|
};
|
|
81885
81882
|
}
|
|
81886
81883
|
function Eue(t, e, n) {
|
|
81887
|
-
const r = t.remove, i = t.insert, s = t.toggle, o = t.modify, u = t.values, a = e.add(K_()), l = "if(" + t.trigger + ',modify("' + n + '",' + [i, r, s, o, u].map((f) => f ?? "null").join(",") + "),0)", c =
|
|
81884
|
+
const r = t.remove, i = t.insert, s = t.toggle, o = t.modify, u = t.values, a = e.add(K_()), l = "if(" + t.trigger + ',modify("' + n + '",' + [i, r, s, o, u].map((f) => f ?? "null").join(",") + "),0)", c = Hu(l, e);
|
|
81888
81885
|
a.update = c.$expr, a.params = c.$params;
|
|
81889
81886
|
}
|
|
81890
81887
|
function Xb(t, e) {
|
|
@@ -82036,7 +82033,7 @@ function UJe(t, e, n) {
|
|
|
82036
82033
|
}
|
|
82037
82034
|
function qJe(t, e, n) {
|
|
82038
82035
|
const r = Ef(Jz("size", t, n)), i = Ef(Jz("strokeWidth", t, n)), s = Ef(HJe(n[1].encode, e, wy));
|
|
82039
|
-
return
|
|
82036
|
+
return Hu(`max(ceil(sqrt(${r})+${i}),${s})`, e);
|
|
82040
82037
|
}
|
|
82041
82038
|
function Jz(t, e, n) {
|
|
82042
82039
|
return e[t] ? `scale("${e[t]}",datum)` : hue(t, n[0].encode);
|
|
@@ -82861,7 +82858,7 @@ Cue.prototype = nQ.prototype = {
|
|
|
82861
82858
|
parseLambdas() {
|
|
82862
82859
|
const t = Object.keys(this.lambdas);
|
|
82863
82860
|
for (let e = 0, n = t.length; e < n; ++e) {
|
|
82864
|
-
const r = t[e], i =
|
|
82861
|
+
const r = t[e], i = Hu(r, this), s = this.lambdas[r];
|
|
82865
82862
|
s.params = i.$params, s.update = i.$expr;
|
|
82866
82863
|
}
|
|
82867
82864
|
},
|
|
@@ -82873,7 +82870,7 @@ Cue.prototype = nQ.prototype = {
|
|
|
82873
82870
|
},
|
|
82874
82871
|
exprRef(t, e) {
|
|
82875
82872
|
const n = {
|
|
82876
|
-
expr:
|
|
82873
|
+
expr: Hu(t, this)
|
|
82877
82874
|
};
|
|
82878
82875
|
return e && (n.expr.$name = e), Ze(this.add(mKe(n)));
|
|
82879
82876
|
},
|
|
@@ -83569,8 +83566,8 @@ function kXe(t) {
|
|
|
83569
83566
|
}
|
|
83570
83567
|
const X_ = Symbol("store-raw"), zd = Symbol("store-node"), wa = Symbol("store-has"), Rue = Symbol("store-self");
|
|
83571
83568
|
function Oue(t) {
|
|
83572
|
-
let e = t[
|
|
83573
|
-
if (!e && (Object.defineProperty(t,
|
|
83569
|
+
let e = t[Nu];
|
|
83570
|
+
if (!e && (Object.defineProperty(t, Nu, {
|
|
83574
83571
|
value: e = new Proxy(t, jXe)
|
|
83575
83572
|
}), !Array.isArray(t))) {
|
|
83576
83573
|
const n = Object.keys(t), r = Object.getOwnPropertyDescriptors(t);
|
|
@@ -83584,15 +83581,15 @@ function Oue(t) {
|
|
|
83584
83581
|
}
|
|
83585
83582
|
return e;
|
|
83586
83583
|
}
|
|
83587
|
-
function
|
|
83584
|
+
function zu(t) {
|
|
83588
83585
|
let e;
|
|
83589
|
-
return t != null && typeof t == "object" && (t[
|
|
83586
|
+
return t != null && typeof t == "object" && (t[Nu] || !(e = Object.getPrototypeOf(t)) || e === Object.prototype || Array.isArray(t));
|
|
83590
83587
|
}
|
|
83591
83588
|
function dl(t, e = /* @__PURE__ */ new Set()) {
|
|
83592
83589
|
let n, r, i, s;
|
|
83593
83590
|
if (n = t != null && t[X_])
|
|
83594
83591
|
return n;
|
|
83595
|
-
if (!
|
|
83592
|
+
if (!zu(t) || e.has(t))
|
|
83596
83593
|
return t;
|
|
83597
83594
|
if (Array.isArray(t)) {
|
|
83598
83595
|
Object.isFrozen(t) ? t = t.slice(0) : e.add(t);
|
|
@@ -83623,7 +83620,7 @@ function _m(t, e, n) {
|
|
|
83623
83620
|
}
|
|
83624
83621
|
function PXe(t, e) {
|
|
83625
83622
|
const n = Reflect.getOwnPropertyDescriptor(t, e);
|
|
83626
|
-
return !n || n.get || !n.configurable || e ===
|
|
83623
|
+
return !n || n.get || !n.configurable || e === Nu || e === zd || (delete n.value, delete n.writable, n.get = () => t[Nu][e]), n;
|
|
83627
83624
|
}
|
|
83628
83625
|
function Due(t) {
|
|
83629
83626
|
zO() && _m(Z_(t, zd), Rue)();
|
|
@@ -83635,7 +83632,7 @@ const jXe = {
|
|
|
83635
83632
|
get(t, e, n) {
|
|
83636
83633
|
if (e === X_)
|
|
83637
83634
|
return t;
|
|
83638
|
-
if (e ===
|
|
83635
|
+
if (e === Nu)
|
|
83639
83636
|
return n;
|
|
83640
83637
|
if (e === HO)
|
|
83641
83638
|
return Due(t), n;
|
|
@@ -83647,10 +83644,10 @@ const jXe = {
|
|
|
83647
83644
|
const o = Object.getOwnPropertyDescriptor(t, e);
|
|
83648
83645
|
zO() && (typeof s != "function" || t.hasOwnProperty(e)) && !(o && o.get) && (s = _m(r, e, s)());
|
|
83649
83646
|
}
|
|
83650
|
-
return
|
|
83647
|
+
return zu(s) ? Oue(s) : s;
|
|
83651
83648
|
},
|
|
83652
83649
|
has(t, e) {
|
|
83653
|
-
return e === X_ || e ===
|
|
83650
|
+
return e === X_ || e === Nu || e === HO || e === zd || e === wa || e === "__proto__" ? !0 : (zO() && _m(Z_(t, wa), e)(), e in t);
|
|
83654
83651
|
},
|
|
83655
83652
|
set() {
|
|
83656
83653
|
return !0;
|
|
@@ -83719,7 +83716,7 @@ function fg(t, e, n = []) {
|
|
|
83719
83716
|
i = t[r], n = [r].concat(n);
|
|
83720
83717
|
}
|
|
83721
83718
|
let s = e[0];
|
|
83722
|
-
typeof s == "function" && (s = s(i, n), s === i) || r === void 0 && s == null || (s = dl(s), r === void 0 ||
|
|
83719
|
+
typeof s == "function" && (s = s(i, n), s === i) || r === void 0 && s == null || (s = dl(s), r === void 0 || zu(i) && zu(s) && !Array.isArray(s) ? wue(i, s) : wi(t, r, s));
|
|
83723
83720
|
}
|
|
83724
83721
|
function eT(...[t, e]) {
|
|
83725
83722
|
const n = dl(t || {}), r = Array.isArray(n), i = Oue(n);
|
|
@@ -83736,7 +83733,7 @@ function Td(t, e, n, r, i) {
|
|
|
83736
83733
|
if (t === s)
|
|
83737
83734
|
return;
|
|
83738
83735
|
const o = Array.isArray(t);
|
|
83739
|
-
if (n !== Dw && (!
|
|
83736
|
+
if (n !== Dw && (!zu(t) || !zu(s) || o !== Array.isArray(s) || i && t[i] !== s[i])) {
|
|
83740
83737
|
wi(e, n, t);
|
|
83741
83738
|
return;
|
|
83742
83739
|
}
|
|
@@ -83778,7 +83775,7 @@ function Td(t, e, n, r, i) {
|
|
|
83778
83775
|
function qXe(t, e = {}) {
|
|
83779
83776
|
const { merge: n, key: r = "id" } = e, i = dl(t);
|
|
83780
83777
|
return (s) => {
|
|
83781
|
-
if (!
|
|
83778
|
+
if (!zu(s) || !zu(i))
|
|
83782
83779
|
return i;
|
|
83783
83780
|
const o = Td(
|
|
83784
83781
|
i,
|
|
@@ -83798,7 +83795,7 @@ const e5 = /* @__PURE__ */ new WeakMap(), Nue = {
|
|
|
83798
83795
|
return t;
|
|
83799
83796
|
const n = t[e];
|
|
83800
83797
|
let r;
|
|
83801
|
-
return
|
|
83798
|
+
return zu(n) ? e5.get(n) || (e5.set(n, r = new Proxy(n, Nue)), r) : n;
|
|
83802
83799
|
},
|
|
83803
83800
|
set(t, e, n) {
|
|
83804
83801
|
return wi(t, e, dl(n)), !0;
|
|
@@ -83809,7 +83806,7 @@ const e5 = /* @__PURE__ */ new WeakMap(), Nue = {
|
|
|
83809
83806
|
};
|
|
83810
83807
|
function MA(t) {
|
|
83811
83808
|
return (e) => {
|
|
83812
|
-
if (
|
|
83809
|
+
if (zu(e)) {
|
|
83813
83810
|
let n;
|
|
83814
83811
|
(n = e5.get(e)) || e5.set(e, n = new Proxy(e, Nue)), t(n);
|
|
83815
83812
|
}
|
|
@@ -84114,7 +84111,7 @@ function nZe(t) {
|
|
|
84114
84111
|
return v();
|
|
84115
84112
|
},
|
|
84116
84113
|
get children() {
|
|
84117
|
-
return Qe(YXe,
|
|
84114
|
+
return Qe(YXe, Au({
|
|
84118
84115
|
onClose: () => _(!1)
|
|
84119
84116
|
}, t, {
|
|
84120
84117
|
devMode: !0
|
|
@@ -84896,7 +84893,7 @@ function gZe({
|
|
|
84896
84893
|
return { startIndex: s, endIndex: o };
|
|
84897
84894
|
}
|
|
84898
84895
|
function mZe(t) {
|
|
84899
|
-
const e =
|
|
84896
|
+
const e = Au(t), n = new pZe(e), [r, i] = eT(n.getVirtualItems()), [s, o] = yr(n.getTotalSize()), u = {
|
|
84900
84897
|
get(l, c) {
|
|
84901
84898
|
switch (c) {
|
|
84902
84899
|
case "getVirtualItems":
|
|
@@ -84912,7 +84909,7 @@ function mZe(t) {
|
|
|
84912
84909
|
const l = a._didMount();
|
|
84913
84910
|
a._willUpdate(), Bg(l);
|
|
84914
84911
|
}), pce(() => {
|
|
84915
|
-
a.setOptions(
|
|
84912
|
+
a.setOptions(Au(e, t, {
|
|
84916
84913
|
onChange: (l, c) => {
|
|
84917
84914
|
var f;
|
|
84918
84915
|
l._willUpdate(), i(qXe(l.getVirtualItems(), {
|
|
@@ -84923,7 +84920,7 @@ function mZe(t) {
|
|
|
84923
84920
|
}), a;
|
|
84924
84921
|
}
|
|
84925
84922
|
function Pue(t) {
|
|
84926
|
-
return mZe(
|
|
84923
|
+
return mZe(Au({
|
|
84927
84924
|
observeElementRect: cZe,
|
|
84928
84925
|
observeElementOffset: xZe,
|
|
84929
84926
|
scrollToFn: hZe
|
|
@@ -85075,7 +85072,7 @@ const OZe = navigator.userAgent.toLowerCase().indexOf("chrome") >= 0, DZe = OZe,
|
|
|
85075
85072
|
})();
|
|
85076
85073
|
}, wZe = (t) => {
|
|
85077
85074
|
var fe;
|
|
85078
|
-
const e =
|
|
85075
|
+
const e = Au({
|
|
85079
85076
|
rowLimit: 1 / 0
|
|
85080
85077
|
}, t), n = ix(), r = U0();
|
|
85081
85078
|
let i = !1;
|
|
@@ -85388,7 +85385,7 @@ const OZe = navigator.userAgent.toLowerCase().indexOf("chrome") >= 0, DZe = OZe,
|
|
|
85388
85385
|
};
|
|
85389
85386
|
});
|
|
85390
85387
|
r().root && io().addCSSToShadowRoot(sZe);
|
|
85391
|
-
const i = io().tableConfig, s = () =>
|
|
85388
|
+
const i = io().tableConfig, s = () => Au(t, {
|
|
85392
85389
|
disableVirtualization: typeof t.disableVirtualization == "boolean" ? t.disableVirtualization : i().disableVirtualization,
|
|
85393
85390
|
rowLimit: typeof t.rowLimit == "number" ? t.rowLimit : i().rowLimit,
|
|
85394
85391
|
shouldFillWidth: typeof t.shouldFillWidth == "boolean" ? t.shouldFillWidth : i().shouldFillWidth
|
|
@@ -85398,7 +85395,7 @@ const OZe = navigator.userAgent.toLowerCase().indexOf("chrome") >= 0, DZe = OZe,
|
|
|
85398
85395
|
return r();
|
|
85399
85396
|
},
|
|
85400
85397
|
get children() {
|
|
85401
|
-
return Qe(wZe,
|
|
85398
|
+
return Qe(wZe, Au(s));
|
|
85402
85399
|
}
|
|
85403
85400
|
});
|
|
85404
85401
|
};
|
|
@@ -86151,7 +86148,7 @@ var Fy = function(t, e) {
|
|
|
86151
86148
|
e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
|
|
86152
86149
|
return n;
|
|
86153
86150
|
};
|
|
86154
|
-
const Ja = "row", Xa = "column", nT = "facet", vn = "x", fr = "y", Xo = "x2",
|
|
86151
|
+
const Ja = "row", Xa = "column", nT = "facet", vn = "x", fr = "y", Xo = "x2", da = "y2", Cc = "xOffset", Z2 = "yOffset", ha = "radius", Fl = "radius2", Zo = "theta", Ll = "theta2", pa = "latitude", ga = "longitude", eu = "latitude2", no = "longitude2", Qi = "color", ma = "fill", ya = "stroke", Gi = "shape", Il = "size", Qx = "angle", Bl = "opacity", bc = "fillOpacity", Tc = "strokeOpacity", Rc = "strokeWidth", Oc = "strokeDash", Ly = "text", Iy = "order", By = "detail", rT = "key", ox = "tooltip", iT = "href", sT = "url", oT = "description", ret = {
|
|
86155
86152
|
x: 1,
|
|
86156
86153
|
y: 1,
|
|
86157
86154
|
x2: 1,
|
|
@@ -86173,11 +86170,11 @@ const _B = {
|
|
|
86173
86170
|
};
|
|
86174
86171
|
function iet(t) {
|
|
86175
86172
|
switch (t) {
|
|
86176
|
-
case
|
|
86173
|
+
case pa:
|
|
86177
86174
|
return "y";
|
|
86178
86175
|
case eu:
|
|
86179
86176
|
return "y2";
|
|
86180
|
-
case
|
|
86177
|
+
case ga:
|
|
86181
86178
|
return "x";
|
|
86182
86179
|
case no:
|
|
86183
86180
|
return "x2";
|
|
@@ -86213,7 +86210,7 @@ const oet = De(_B), SB = Object.assign(Object.assign(Object.assign(Object.assign
|
|
|
86213
86210
|
description: 1
|
|
86214
86211
|
});
|
|
86215
86212
|
function Gd(t) {
|
|
86216
|
-
return t === Qi || t ===
|
|
86213
|
+
return t === Qi || t === ma || t === ya;
|
|
86217
86214
|
}
|
|
86218
86215
|
const Vue = {
|
|
86219
86216
|
row: 1,
|
|
@@ -86226,7 +86223,7 @@ function fet(t) {
|
|
|
86226
86223
|
function Yue(t) {
|
|
86227
86224
|
return !!CB[t];
|
|
86228
86225
|
}
|
|
86229
|
-
const xet = [Xo,
|
|
86226
|
+
const xet = [Xo, da, eu, no, Ll, Fl];
|
|
86230
86227
|
function Kue(t) {
|
|
86231
86228
|
return Gx(t) !== t;
|
|
86232
86229
|
}
|
|
@@ -86234,16 +86231,16 @@ function Gx(t) {
|
|
|
86234
86231
|
switch (t) {
|
|
86235
86232
|
case Xo:
|
|
86236
86233
|
return vn;
|
|
86237
|
-
case
|
|
86234
|
+
case da:
|
|
86238
86235
|
return fr;
|
|
86239
86236
|
case eu:
|
|
86240
|
-
return ha;
|
|
86241
|
-
case no:
|
|
86242
86237
|
return pa;
|
|
86238
|
+
case no:
|
|
86239
|
+
return ga;
|
|
86243
86240
|
case Ll:
|
|
86244
86241
|
return Zo;
|
|
86245
86242
|
case Fl:
|
|
86246
|
-
return
|
|
86243
|
+
return ha;
|
|
86247
86244
|
}
|
|
86248
86245
|
return t;
|
|
86249
86246
|
}
|
|
@@ -86254,7 +86251,7 @@ function q0(t) {
|
|
|
86254
86251
|
return "startAngle";
|
|
86255
86252
|
case Ll:
|
|
86256
86253
|
return "endAngle";
|
|
86257
|
-
case
|
|
86254
|
+
case ha:
|
|
86258
86255
|
return "outerRadius";
|
|
86259
86256
|
case Fl:
|
|
86260
86257
|
return "innerRadius";
|
|
@@ -86266,14 +86263,14 @@ function $l(t) {
|
|
|
86266
86263
|
case vn:
|
|
86267
86264
|
return Xo;
|
|
86268
86265
|
case fr:
|
|
86269
|
-
return
|
|
86270
|
-
case ha:
|
|
86271
|
-
return eu;
|
|
86266
|
+
return da;
|
|
86272
86267
|
case pa:
|
|
86268
|
+
return eu;
|
|
86269
|
+
case ga:
|
|
86273
86270
|
return no;
|
|
86274
86271
|
case Zo:
|
|
86275
86272
|
return Ll;
|
|
86276
|
-
case
|
|
86273
|
+
case ha:
|
|
86277
86274
|
return Fl;
|
|
86278
86275
|
}
|
|
86279
86276
|
}
|
|
@@ -86283,7 +86280,7 @@ function Wi(t) {
|
|
|
86283
86280
|
case Xo:
|
|
86284
86281
|
return "width";
|
|
86285
86282
|
case fr:
|
|
86286
|
-
case
|
|
86283
|
+
case da:
|
|
86287
86284
|
return "height";
|
|
86288
86285
|
}
|
|
86289
86286
|
}
|
|
@@ -86295,11 +86292,11 @@ function det(t) {
|
|
|
86295
86292
|
return "yOffset";
|
|
86296
86293
|
case Xo:
|
|
86297
86294
|
return "x2Offset";
|
|
86298
|
-
case
|
|
86295
|
+
case da:
|
|
86299
86296
|
return "y2Offset";
|
|
86300
86297
|
case Zo:
|
|
86301
86298
|
return "thetaOffset";
|
|
86302
|
-
case
|
|
86299
|
+
case ha:
|
|
86303
86300
|
return "radiusOffset";
|
|
86304
86301
|
case Ll:
|
|
86305
86302
|
return "theta2Offset";
|
|
@@ -86326,7 +86323,7 @@ function Xue(t) {
|
|
|
86326
86323
|
const het = De(SB), bB = Fy(SB, ["x", "y", "x2", "y2", "xOffset", "yOffset", "latitude", "longitude", "latitude2", "longitude2", "theta", "theta2", "radius", "radius2"]), pet = De(bB), TB = {
|
|
86327
86324
|
x: 1,
|
|
86328
86325
|
y: 1
|
|
86329
|
-
},
|
|
86326
|
+
}, Ea = De(TB);
|
|
86330
86327
|
function Or(t) {
|
|
86331
86328
|
return t in TB;
|
|
86332
86329
|
}
|
|
@@ -86348,8 +86345,8 @@ function yet(t) {
|
|
|
86348
86345
|
function Eet(t) {
|
|
86349
86346
|
switch (t) {
|
|
86350
86347
|
case Qi:
|
|
86351
|
-
case ga:
|
|
86352
86348
|
case ma:
|
|
86349
|
+
case ya:
|
|
86353
86350
|
case Il:
|
|
86354
86351
|
case Gi:
|
|
86355
86352
|
case Bl:
|
|
@@ -86389,8 +86386,8 @@ const nae = {
|
|
|
86389
86386
|
function _et(t) {
|
|
86390
86387
|
switch (t) {
|
|
86391
86388
|
case Qi:
|
|
86392
|
-
case ga:
|
|
86393
86389
|
case ma:
|
|
86390
|
+
case ya:
|
|
86394
86391
|
case oT:
|
|
86395
86392
|
case By:
|
|
86396
86393
|
case rT:
|
|
@@ -86409,11 +86406,11 @@ function _et(t) {
|
|
|
86409
86406
|
case fr:
|
|
86410
86407
|
case Cc:
|
|
86411
86408
|
case Z2:
|
|
86412
|
-
case ha:
|
|
86413
86409
|
case pa:
|
|
86410
|
+
case ga:
|
|
86414
86411
|
return vet;
|
|
86415
86412
|
case Xo:
|
|
86416
|
-
case
|
|
86413
|
+
case da:
|
|
86417
86414
|
case eu:
|
|
86418
86415
|
case no:
|
|
86419
86416
|
return {
|
|
@@ -86462,7 +86459,7 @@ function _et(t) {
|
|
|
86462
86459
|
return { image: "always" };
|
|
86463
86460
|
case Zo:
|
|
86464
86461
|
return { text: "always", arc: "always" };
|
|
86465
|
-
case
|
|
86462
|
+
case ha:
|
|
86466
86463
|
return { text: "always", arc: "always" };
|
|
86467
86464
|
case Ll:
|
|
86468
86465
|
case Fl:
|
|
@@ -86474,7 +86471,7 @@ function FO(t) {
|
|
|
86474
86471
|
case vn:
|
|
86475
86472
|
case fr:
|
|
86476
86473
|
case Zo:
|
|
86477
|
-
case
|
|
86474
|
+
case ha:
|
|
86478
86475
|
case Cc:
|
|
86479
86476
|
case Z2:
|
|
86480
86477
|
case Il:
|
|
@@ -86484,7 +86481,7 @@ function FO(t) {
|
|
|
86484
86481
|
case bc:
|
|
86485
86482
|
case Tc:
|
|
86486
86483
|
case Xo:
|
|
86487
|
-
case
|
|
86484
|
+
case da:
|
|
86488
86485
|
case Ll:
|
|
86489
86486
|
case Fl:
|
|
86490
86487
|
return;
|
|
@@ -86500,11 +86497,11 @@ function FO(t) {
|
|
|
86500
86497
|
case oT:
|
|
86501
86498
|
return "discrete";
|
|
86502
86499
|
case Qi:
|
|
86503
|
-
case ga:
|
|
86504
86500
|
case ma:
|
|
86501
|
+
case ya:
|
|
86505
86502
|
return "flexible";
|
|
86506
|
-
case ha:
|
|
86507
86503
|
case pa:
|
|
86504
|
+
case ga:
|
|
86508
86505
|
case eu:
|
|
86509
86506
|
case no:
|
|
86510
86507
|
case By:
|
|
@@ -86599,8 +86596,8 @@ function pQ(t) {
|
|
|
86599
86596
|
case Xa:
|
|
86600
86597
|
case Il:
|
|
86601
86598
|
case Qi:
|
|
86602
|
-
case ga:
|
|
86603
86599
|
case ma:
|
|
86600
|
+
case ya:
|
|
86604
86601
|
case Rc:
|
|
86605
86602
|
case Bl:
|
|
86606
86603
|
case bc:
|
|
@@ -87657,7 +87654,7 @@ function Snt(t, e, n = !1) {
|
|
|
87657
87654
|
case Cc:
|
|
87658
87655
|
case Z2:
|
|
87659
87656
|
case Zo:
|
|
87660
|
-
case
|
|
87657
|
+
case ha:
|
|
87661
87658
|
return Ro(e) || e === "band" ? !0 : e === "point" ? !n : !1;
|
|
87662
87659
|
case Il:
|
|
87663
87660
|
case Rc:
|
|
@@ -87667,8 +87664,8 @@ function Snt(t, e, n = !1) {
|
|
|
87667
87664
|
case Qx:
|
|
87668
87665
|
return Ro(e) || Qh(e) || wt(["band", "point", "ordinal"], e);
|
|
87669
87666
|
case Qi:
|
|
87670
|
-
case ga:
|
|
87671
87667
|
case ma:
|
|
87668
|
+
case ya:
|
|
87672
87669
|
return e !== "band";
|
|
87673
87670
|
case Oc:
|
|
87674
87671
|
case Gi:
|
|
@@ -87704,7 +87701,7 @@ function kae(t) {
|
|
|
87704
87701
|
].includes(t);
|
|
87705
87702
|
}
|
|
87706
87703
|
const Rnt = new Set(De(Oi));
|
|
87707
|
-
function
|
|
87704
|
+
function Qu(t) {
|
|
87708
87705
|
return t.type;
|
|
87709
87706
|
}
|
|
87710
87707
|
const Ont = [
|
|
@@ -87769,7 +87766,7 @@ const Bnt = {
|
|
|
87769
87766
|
thickness: 1
|
|
87770
87767
|
};
|
|
87771
87768
|
function Mnt(t) {
|
|
87772
|
-
return
|
|
87769
|
+
return Qu(t) ? t.type : t;
|
|
87773
87770
|
}
|
|
87774
87771
|
function YB(t) {
|
|
87775
87772
|
const { channel: e, channelDef: n, markDef: r, scale: i, config: s } = t, o = JB(t);
|
|
@@ -87804,7 +87801,7 @@ function qnt(t) {
|
|
|
87804
87801
|
}
|
|
87805
87802
|
function Af(t, e, n, r) {
|
|
87806
87803
|
const i = {};
|
|
87807
|
-
if (e && (i.scale = e),
|
|
87804
|
+
if (e && (i.scale = e), Aa(t)) {
|
|
87808
87805
|
const { datum: s } = t;
|
|
87809
87806
|
Vx(s) ? i.signal = bm(s) : Xe(s) ? i.signal = s.signal : $y(s) ? i.signal = s.expr : i.value = s;
|
|
87810
87807
|
} else
|
|
@@ -87853,7 +87850,7 @@ function JB({ channel: t, channelDef: e, channel2Def: n, markDef: r, config: i,
|
|
|
87853
87850
|
bandPosition: c,
|
|
87854
87851
|
offset: a
|
|
87855
87852
|
});
|
|
87856
|
-
Oe(yae(t === vn ? Xo :
|
|
87853
|
+
Oe(yae(t === vn ? Xo : da));
|
|
87857
87854
|
}
|
|
87858
87855
|
}
|
|
87859
87856
|
return Af(
|
|
@@ -87985,7 +87982,7 @@ function wQ(t) {
|
|
|
87985
87982
|
function Gae(t) {
|
|
87986
87983
|
return !!t && !!t.encoding;
|
|
87987
87984
|
}
|
|
87988
|
-
function
|
|
87985
|
+
function Ou(t) {
|
|
87989
87986
|
return !!t && (t.op === "count" || !!t.field);
|
|
87990
87987
|
}
|
|
87991
87988
|
function Wae(t) {
|
|
@@ -88074,17 +88071,17 @@ function Ie(t) {
|
|
|
88074
88071
|
function $w(t) {
|
|
88075
88072
|
return t && t.type;
|
|
88076
88073
|
}
|
|
88077
|
-
function
|
|
88074
|
+
function Aa(t) {
|
|
88078
88075
|
return t && "datum" in t;
|
|
88079
88076
|
}
|
|
88080
|
-
function
|
|
88077
|
+
function Eu(t) {
|
|
88081
88078
|
return ro(t) && !u5(t) || kw(t);
|
|
88082
88079
|
}
|
|
88083
88080
|
function kw(t) {
|
|
88084
|
-
return
|
|
88081
|
+
return Aa(t) && ln(t.datum);
|
|
88085
88082
|
}
|
|
88086
88083
|
function lt(t) {
|
|
88087
|
-
return Ie(t) ||
|
|
88084
|
+
return Ie(t) || Aa(t);
|
|
88088
88085
|
}
|
|
88089
88086
|
function ro(t) {
|
|
88090
88087
|
return t && ("field" in t || t.aggregate === "count") && "type" in t;
|
|
@@ -88252,7 +88249,7 @@ function rrt(t, e) {
|
|
|
88252
88249
|
}
|
|
88253
88250
|
return "nominal";
|
|
88254
88251
|
}
|
|
88255
|
-
function
|
|
88252
|
+
function Gu(t) {
|
|
88256
88253
|
if (Ie(t))
|
|
88257
88254
|
return t;
|
|
88258
88255
|
if (ET(t))
|
|
@@ -88353,8 +88350,8 @@ function srt(t, e) {
|
|
|
88353
88350
|
case Cc:
|
|
88354
88351
|
case Z2:
|
|
88355
88352
|
case Qi:
|
|
88356
|
-
case ga:
|
|
88357
88353
|
case ma:
|
|
88354
|
+
case ya:
|
|
88358
88355
|
case Ly:
|
|
88359
88356
|
case By:
|
|
88360
88357
|
case rT:
|
|
@@ -88363,12 +88360,12 @@ function srt(t, e) {
|
|
|
88363
88360
|
case sT:
|
|
88364
88361
|
case Qx:
|
|
88365
88362
|
case Zo:
|
|
88366
|
-
case
|
|
88363
|
+
case ha:
|
|
88367
88364
|
case oT:
|
|
88368
88365
|
return pd;
|
|
88369
|
-
case
|
|
88366
|
+
case ga:
|
|
88370
88367
|
case no:
|
|
88371
|
-
case
|
|
88368
|
+
case pa:
|
|
88372
88369
|
case eu:
|
|
88373
88370
|
return n !== ax ? {
|
|
88374
88371
|
compatible: !1,
|
|
@@ -88382,7 +88379,7 @@ function srt(t, e) {
|
|
|
88382
88379
|
case Ll:
|
|
88383
88380
|
case Fl:
|
|
88384
88381
|
case Xo:
|
|
88385
|
-
case
|
|
88382
|
+
case da:
|
|
88386
88383
|
return n === "nominal" && !t.sort ? {
|
|
88387
88384
|
compatible: !1,
|
|
88388
88385
|
warning: `Channel ${e} should not be used with an unsorted discrete field.`
|
|
@@ -88719,12 +88716,12 @@ function vf(t, e) {
|
|
|
88719
88716
|
}
|
|
88720
88717
|
function ule(t, e) {
|
|
88721
88718
|
const n = t && t[e];
|
|
88722
|
-
return n ? Ce(n) ? Uh(n, (r) => !!r.field) : Ie(n) ||
|
|
88719
|
+
return n ? Ce(n) ? Uh(n, (r) => !!r.field) : Ie(n) || Aa(n) || My(n) : !1;
|
|
88723
88720
|
}
|
|
88724
88721
|
function Pw(t, e) {
|
|
88725
88722
|
if (Or(e)) {
|
|
88726
88723
|
const n = t[e];
|
|
88727
|
-
if ((Ie(n) ||
|
|
88724
|
+
if ((Ie(n) || Aa(n)) && Rae(n.type)) {
|
|
88728
88725
|
const r = Jue(e);
|
|
88729
88726
|
return ule(t, r);
|
|
88730
88727
|
}
|
|
@@ -88738,7 +88735,7 @@ function o$(t) {
|
|
|
88738
88735
|
if (Ce(n))
|
|
88739
88736
|
return Uh(n, (r) => !!r.aggregate);
|
|
88740
88737
|
{
|
|
88741
|
-
const r =
|
|
88738
|
+
const r = Gu(n);
|
|
88742
88739
|
return r && !!r.aggregate;
|
|
88743
88740
|
}
|
|
88744
88741
|
}
|
|
@@ -88830,7 +88827,7 @@ function xrt(t, e, n, r) {
|
|
|
88830
88827
|
continue;
|
|
88831
88828
|
}
|
|
88832
88829
|
if (s === Il && e === "line") {
|
|
88833
|
-
const u =
|
|
88830
|
+
const u = Gu(t[s]);
|
|
88834
88831
|
if (u != null && u.aggregate) {
|
|
88835
88832
|
Oe(att);
|
|
88836
88833
|
continue;
|
|
@@ -88845,7 +88842,7 @@ function xrt(t, e, n, r) {
|
|
|
88845
88842
|
else {
|
|
88846
88843
|
if (s === ox && o === null)
|
|
88847
88844
|
i[s] = null;
|
|
88848
|
-
else if (!Ie(o) && !
|
|
88845
|
+
else if (!Ie(o) && !Aa(o) && !Po(o) && !yT(o) && !Xe(o)) {
|
|
88849
88846
|
Oe(Fw(o, s));
|
|
88850
88847
|
continue;
|
|
88851
88848
|
}
|
|
@@ -88898,15 +88895,15 @@ function lle(t, e) {
|
|
|
88898
88895
|
case oT:
|
|
88899
88896
|
case sT:
|
|
88900
88897
|
case Xo:
|
|
88901
|
-
case
|
|
88898
|
+
case da:
|
|
88902
88899
|
case Cc:
|
|
88903
88900
|
case Z2:
|
|
88904
88901
|
case Zo:
|
|
88905
88902
|
case Ll:
|
|
88906
|
-
case da:
|
|
88907
|
-
case Fl:
|
|
88908
88903
|
case ha:
|
|
88904
|
+
case Fl:
|
|
88909
88905
|
case pa:
|
|
88906
|
+
case ga:
|
|
88910
88907
|
case eu:
|
|
88911
88908
|
case no:
|
|
88912
88909
|
case Ly:
|
|
@@ -88929,14 +88926,14 @@ function lle(t, e) {
|
|
|
88929
88926
|
if (t === "trail")
|
|
88930
88927
|
return n;
|
|
88931
88928
|
case Qi:
|
|
88932
|
-
case ga:
|
|
88933
88929
|
case ma:
|
|
88930
|
+
case ya:
|
|
88934
88931
|
case Bl:
|
|
88935
88932
|
case bc:
|
|
88936
88933
|
case Tc:
|
|
88937
88934
|
case Oc:
|
|
88938
88935
|
case Rc: {
|
|
88939
|
-
const i =
|
|
88936
|
+
const i = Gu(e[r]);
|
|
88940
88937
|
return i && !i.aggregate && n.push($e(i, {})), n;
|
|
88941
88938
|
}
|
|
88942
88939
|
}
|
|
@@ -89004,7 +89001,7 @@ function l$(t, e, n, r, i) {
|
|
|
89004
89001
|
function fle(t, e, n, r) {
|
|
89005
89002
|
const { clip: i, color: s, opacity: o } = t, u = t.type;
|
|
89006
89003
|
return t[e] || t[e] === void 0 && n[e] ? [
|
|
89007
|
-
Object.assign(Object.assign({}, r), { mark: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, n[e]), i ? { clip: i } : {}), s ? { color: s } : {}), o ? { opacity: o } : {}),
|
|
89004
|
+
Object.assign(Object.assign({}, r), { mark: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, n[e]), i ? { clip: i } : {}), s ? { color: s } : {}), o ? { opacity: o } : {}), Qu(r.mark) ? r.mark : { type: r.mark }), { style: `${u}-${e}` }), U2(t[e]) ? {} : t[e]) })
|
|
89008
89005
|
] : [];
|
|
89009
89006
|
}
|
|
89010
89007
|
function xle(t, e, n) {
|
|
@@ -89026,10 +89023,10 @@ function YE(t, e) {
|
|
|
89026
89023
|
}
|
|
89027
89024
|
function dle(t, e) {
|
|
89028
89025
|
const { mark: n, encoding: r } = t, { x: i, y: s } = r;
|
|
89029
|
-
if (
|
|
89026
|
+
if (Qu(n) && n.orient)
|
|
89030
89027
|
return n.orient;
|
|
89031
|
-
if (
|
|
89032
|
-
if (
|
|
89028
|
+
if (Eu(i)) {
|
|
89029
|
+
if (Eu(s)) {
|
|
89033
89030
|
const o = Ie(i) && i.aggregate, u = Ie(s) && s.aggregate;
|
|
89034
89031
|
if (!o && u === e)
|
|
89035
89032
|
return "vertical";
|
|
@@ -89041,7 +89038,7 @@ function dle(t, e) {
|
|
|
89041
89038
|
}
|
|
89042
89039
|
return "horizontal";
|
|
89043
89040
|
} else {
|
|
89044
|
-
if (
|
|
89041
|
+
if (Eu(s))
|
|
89045
89042
|
return "vertical";
|
|
89046
89043
|
throw new Error(`Need a valid continuous axis for ${e}s`);
|
|
89047
89044
|
}
|
|
@@ -89062,7 +89059,7 @@ function hle(t) {
|
|
|
89062
89059
|
function ple(t, { config: e }) {
|
|
89063
89060
|
var n, r;
|
|
89064
89061
|
t = Object.assign(Object.assign({}, t), { encoding: ST(t.encoding, e) });
|
|
89065
|
-
const { mark: i, encoding: s, params: o, projection: u } = t, a = qA(t, ["mark", "encoding", "params", "projection"]), l =
|
|
89062
|
+
const { mark: i, encoding: s, params: o, projection: u } = t, a = qA(t, ["mark", "encoding", "params", "projection"]), l = Qu(i) ? i : { type: i };
|
|
89066
89063
|
o && Oe(dae("boxplot"));
|
|
89067
89064
|
const c = (n = l.extent) !== null && n !== void 0 ? n : e.boxplot.extent, f = qt(
|
|
89068
89065
|
"size",
|
|
@@ -89305,11 +89302,11 @@ function vrt(t, e) {
|
|
|
89305
89302
|
if (lt(u) && lt(a))
|
|
89306
89303
|
throw new Error(`${e} cannot have both x2 and y2`);
|
|
89307
89304
|
if (lt(u)) {
|
|
89308
|
-
if (
|
|
89305
|
+
if (Eu(s))
|
|
89309
89306
|
return { orient: "horizontal", inputType: "aggregated-upper-lower" };
|
|
89310
89307
|
throw new Error(`Both x and x2 have to be quantitative in ${e}`);
|
|
89311
89308
|
} else if (lt(a)) {
|
|
89312
|
-
if (
|
|
89309
|
+
if (Eu(o))
|
|
89313
89310
|
return { orient: "vertical", inputType: "aggregated-upper-lower" };
|
|
89314
89311
|
throw new Error(`Both y and y2 have to be quantitative in ${e}`);
|
|
89315
89312
|
}
|
|
@@ -89323,11 +89320,11 @@ function vrt(t, e) {
|
|
|
89323
89320
|
if (lt(u) && lt(l))
|
|
89324
89321
|
throw new Error(`${e} cannot have both xError and yError with both are quantiative`);
|
|
89325
89322
|
if (lt(u)) {
|
|
89326
|
-
if (
|
|
89323
|
+
if (Eu(s))
|
|
89327
89324
|
return { orient: "horizontal", inputType: "aggregated-error" };
|
|
89328
89325
|
throw new Error("All x, xError, and xError2 (if exist) have to be quantitative");
|
|
89329
89326
|
} else if (lt(l)) {
|
|
89330
|
-
if (
|
|
89327
|
+
if (Eu(o))
|
|
89331
89328
|
return { orient: "vertical", inputType: "aggregated-error" };
|
|
89332
89329
|
throw new Error("All y, yError, and yError2 (if exist) have to be quantitative");
|
|
89333
89330
|
}
|
|
@@ -89345,7 +89342,7 @@ function Crt(t) {
|
|
|
89345
89342
|
}
|
|
89346
89343
|
function yle(t, e, n) {
|
|
89347
89344
|
var r;
|
|
89348
|
-
const { mark: i, encoding: s, params: o, projection: u } = t, a = IQ(t, ["mark", "encoding", "params", "projection"]), l =
|
|
89345
|
+
const { mark: i, encoding: s, params: o, projection: u } = t, a = IQ(t, ["mark", "encoding", "params", "projection"]), l = Qu(i) ? i : { type: i };
|
|
89349
89346
|
o && Oe(dae(e));
|
|
89350
89347
|
const { orient: c, inputType: f } = vrt(t, e), { continuousAxisChannelDef: x, continuousAxisChannelDef2: h, continuousAxisChannelDefError: p, continuousAxisChannelDefError2: m, continuousAxis: g } = xle(t, c, e), { errorBarSpecificAggregate: y, postAggregateCalculates: E, tooltipSummary: A, tooltipTitleWithFieldName: v } = brt(l, x, h, p, m, f, e, n), _ = s, S = g;
|
|
89351
89348
|
_[S];
|
|
@@ -89678,7 +89675,7 @@ function Tle({ step: t, offsetIsDiscrete: e }) {
|
|
|
89678
89675
|
var n;
|
|
89679
89676
|
return e ? (n = t.for) !== null && n !== void 0 ? n : "offset" : "position";
|
|
89680
89677
|
}
|
|
89681
|
-
function
|
|
89678
|
+
function Wu(t) {
|
|
89682
89679
|
return ze(t) && t.step !== void 0;
|
|
89683
89680
|
}
|
|
89684
89681
|
function $Q(t) {
|
|
@@ -89722,7 +89719,7 @@ function jw(t, e) {
|
|
|
89722
89719
|
}
|
|
89723
89720
|
function f5(t, e) {
|
|
89724
89721
|
const n = x5(t, e);
|
|
89725
|
-
return
|
|
89722
|
+
return Wu(n) ? n.step : Rle;
|
|
89726
89723
|
}
|
|
89727
89724
|
function x5(t, e) {
|
|
89728
89725
|
var n;
|
|
@@ -89786,7 +89783,7 @@ const Rle = 20, qrt = {
|
|
|
89786
89783
|
title: {},
|
|
89787
89784
|
facet: { spacing: kQ },
|
|
89788
89785
|
concat: { spacing: kQ }
|
|
89789
|
-
},
|
|
89786
|
+
}, Ta = [
|
|
89790
89787
|
"#4c78a8",
|
|
89791
89788
|
"#f58518",
|
|
89792
89789
|
"#e45756",
|
|
@@ -89804,15 +89801,15 @@ const Rle = 20, qrt = {
|
|
|
89804
89801
|
groupTitle: 13,
|
|
89805
89802
|
groupSubtitle: 12
|
|
89806
89803
|
}, MQ = {
|
|
89807
|
-
blue:
|
|
89808
|
-
orange:
|
|
89809
|
-
red:
|
|
89810
|
-
teal:
|
|
89811
|
-
green:
|
|
89812
|
-
yellow:
|
|
89813
|
-
purple:
|
|
89814
|
-
pink:
|
|
89815
|
-
brown:
|
|
89804
|
+
blue: Ta[0],
|
|
89805
|
+
orange: Ta[1],
|
|
89806
|
+
red: Ta[2],
|
|
89807
|
+
teal: Ta[3],
|
|
89808
|
+
green: Ta[4],
|
|
89809
|
+
yellow: Ta[5],
|
|
89810
|
+
purple: Ta[6],
|
|
89811
|
+
pink: Ta[7],
|
|
89812
|
+
brown: Ta[8],
|
|
89816
89813
|
gray0: "#000",
|
|
89817
89814
|
gray1: "#111",
|
|
89818
89815
|
gray2: "#222",
|
|
@@ -90149,7 +90146,7 @@ function ait(t) {
|
|
|
90149
90146
|
}
|
|
90150
90147
|
function wle(t, e, n = {}) {
|
|
90151
90148
|
var r, i;
|
|
90152
|
-
const s =
|
|
90149
|
+
const s = Qu(t) ? t.type : t;
|
|
90153
90150
|
if (!oit.has(s))
|
|
90154
90151
|
return null;
|
|
90155
90152
|
const o = jQ(e, "x") || jQ(e, "theta");
|
|
@@ -90166,7 +90163,7 @@ function wle(t, e, n = {}) {
|
|
|
90166
90163
|
if (m !== "tooltip" && vf(e, m)) {
|
|
90167
90164
|
const g = e[m];
|
|
90168
90165
|
for (const y of je(g)) {
|
|
90169
|
-
const E =
|
|
90166
|
+
const E = Gu(y);
|
|
90170
90167
|
if (E.aggregate)
|
|
90171
90168
|
continue;
|
|
90172
90169
|
const A = $e(E, {});
|
|
@@ -90227,7 +90224,7 @@ class fit {
|
|
|
90227
90224
|
}
|
|
90228
90225
|
hasMatchingType(e, n) {
|
|
90229
90226
|
if (kl(e)) {
|
|
90230
|
-
const { mark: r, encoding: i } = e, s =
|
|
90227
|
+
const { mark: r, encoding: i } = e, s = Qu(r) ? r : { type: r };
|
|
90231
90228
|
switch (s.type) {
|
|
90232
90229
|
case "line":
|
|
90233
90230
|
case "rule":
|
|
@@ -90243,7 +90240,7 @@ class fit {
|
|
|
90243
90240
|
return !1;
|
|
90244
90241
|
}
|
|
90245
90242
|
run(e, n, r) {
|
|
90246
|
-
const { config: i } = n, { params: s, projection: o, mark: u, encoding: a } = e, l = Nle(e, ["params", "projection", "mark", "encoding"]), c = ST(a, i), f =
|
|
90243
|
+
const { config: i } = n, { params: s, projection: o, mark: u, encoding: a } = e, l = Nle(e, ["params", "projection", "mark", "encoding"]), c = ST(a, i), f = Qu(u) ? u : { type: u }, x = BO(f, i[f.type], c), h = f.type === "area" && UQ(f, i[f.type]), p = [
|
|
90247
90244
|
Object.assign(Object.assign({}, s ? { params: s } : {}), {
|
|
90248
90245
|
mark: lit(Object.assign(Object.assign({}, f.type === "area" && f.opacity === void 0 && f.fillOpacity === void 0 ? { opacity: 0.7 } : {}), f)),
|
|
90249
90246
|
// drop shape from encoding as this might be used to trigger point overlay
|
|
@@ -90287,7 +90284,7 @@ function Fle(t, e) {
|
|
|
90287
90284
|
if (t = Uw("field", t, e), t !== void 0) {
|
|
90288
90285
|
if (t === null)
|
|
90289
90286
|
return null;
|
|
90290
|
-
if (t$(t) &&
|
|
90287
|
+
if (t$(t) && Ou(t.sort)) {
|
|
90291
90288
|
const n = Uw("field", t.sort, e);
|
|
90292
90289
|
t = Object.assign(Object.assign({}, t), n ? { sort: n } : {});
|
|
90293
90290
|
}
|
|
@@ -90338,10 +90335,10 @@ class hit {
|
|
|
90338
90335
|
hasMatchingType(e) {
|
|
90339
90336
|
if (kl(e)) {
|
|
90340
90337
|
const { encoding: n, mark: r } = e;
|
|
90341
|
-
if (r === "line" ||
|
|
90338
|
+
if (r === "line" || Qu(r) && r.type === "line")
|
|
90342
90339
|
for (const i of xet) {
|
|
90343
90340
|
const s = Gx(i), o = n[s];
|
|
90344
|
-
if (n[i] && (Ie(o) && !ai(o.bin) ||
|
|
90341
|
+
if (n[i] && (Ie(o) && !ai(o.bin) || Aa(o)))
|
|
90345
90342
|
return !0;
|
|
90346
90343
|
}
|
|
90347
90344
|
}
|
|
@@ -90764,7 +90761,7 @@ class Pl {
|
|
|
90764
90761
|
}
|
|
90765
90762
|
}
|
|
90766
90763
|
}
|
|
90767
|
-
function
|
|
90764
|
+
function xu(t) {
|
|
90768
90765
|
return {
|
|
90769
90766
|
explicit: !0,
|
|
90770
90767
|
value: t
|
|
@@ -91042,12 +91039,12 @@ var YQ = function(t, e) {
|
|
|
91042
91039
|
e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
|
|
91043
91040
|
return n;
|
|
91044
91041
|
};
|
|
91045
|
-
class
|
|
91042
|
+
class Du extends Yt {
|
|
91046
91043
|
constructor(e, n) {
|
|
91047
91044
|
super(e), this.formula = n;
|
|
91048
91045
|
}
|
|
91049
91046
|
clone() {
|
|
91050
|
-
return new
|
|
91047
|
+
return new Du(null, dt(this.formula));
|
|
91051
91048
|
}
|
|
91052
91049
|
static makeFromEncoding(e, n) {
|
|
91053
91050
|
const r = n.reduceFieldDef((i, s) => {
|
|
@@ -91066,11 +91063,11 @@ class Ou extends Yt {
|
|
|
91066
91063
|
}
|
|
91067
91064
|
return i;
|
|
91068
91065
|
}, {});
|
|
91069
|
-
return Xt(r) ? null : new
|
|
91066
|
+
return Xt(r) ? null : new Du(e, r);
|
|
91070
91067
|
}
|
|
91071
91068
|
static makeFromTransform(e, n) {
|
|
91072
91069
|
const r = Object.assign({}, n), { timeUnit: i } = r, s = YQ(r, ["timeUnit"]), o = Ci(i), u = Object.assign(Object.assign({}, s), { timeUnit: o });
|
|
91073
|
-
return new
|
|
91070
|
+
return new Du(e, {
|
|
91074
91071
|
[Dt(u)]: u
|
|
91075
91072
|
});
|
|
91076
91073
|
}
|
|
@@ -91186,7 +91183,7 @@ const tst = {
|
|
|
91186
91183
|
const g = { type: "E", field: m };
|
|
91187
91184
|
g.signals = Object.assign({}, l(g, "data")), s.items.push(g), s.hasField[m] = g;
|
|
91188
91185
|
}
|
|
91189
|
-
x && (e.init = x.map((m) => s.items.map((g) => ze(m) ? m[g.channel] !== void 0 ? m[g.channel] : m[g.field] : m))), Xt(u) || (s.timeUnit = new
|
|
91186
|
+
x && (e.init = x.map((m) => s.items.map((g) => ze(m) ? m[g.channel] !== void 0 ? m[g.channel] : m[g.field] : m))), Xt(u) || (s.timeUnit = new Du(null, u));
|
|
91190
91187
|
},
|
|
91191
91188
|
signals: (t, e, n) => {
|
|
91192
91189
|
const r = e.name + qy;
|
|
@@ -91455,7 +91452,7 @@ function Gle(t, e, n, { reactiveGeom: r } = {}) {
|
|
|
91455
91452
|
}), h = x.title || i$(x, n), p = je(h).join(", ");
|
|
91456
91453
|
let m;
|
|
91457
91454
|
if (Or(c)) {
|
|
91458
|
-
const g = c === "x" ? "x2" : "y2", y =
|
|
91455
|
+
const g = c === "x" ? "x2" : "y2", y = Gu(t[g]);
|
|
91459
91456
|
if (ai(x.bin) && y) {
|
|
91460
91457
|
const E = $e(x, { expr: s }), A = $e(y, { expr: s }), { format: v, formatType: _ } = a5(x);
|
|
91461
91458
|
m = pT(E, A, v, _, n), i[g] = !0;
|
|
@@ -91924,7 +91921,7 @@ function Ast(t, { invalid: e = !1, channels: n }) {
|
|
|
91924
91921
|
function S$(t) {
|
|
91925
91922
|
const { config: e, markDef: n } = t;
|
|
91926
91923
|
if (qt("invalid", n, e)) {
|
|
91927
|
-
const i = vst(t, { channels:
|
|
91924
|
+
const i = vst(t, { channels: Ea });
|
|
91928
91925
|
if (i)
|
|
91929
91926
|
return { defined: { signal: i } };
|
|
91930
91927
|
}
|
|
@@ -92406,7 +92403,7 @@ function xg(t, e, n, r = { header: !1 }) {
|
|
|
92406
92403
|
}
|
|
92407
92404
|
function c0e(t) {
|
|
92408
92405
|
const { axes: e } = t.component, n = [];
|
|
92409
|
-
for (const r of
|
|
92406
|
+
for (const r of Ea)
|
|
92410
92407
|
if (e[r]) {
|
|
92411
92408
|
for (const i of e[r])
|
|
92412
92409
|
if (!i.get("disable") && !i.get("gridScale")) {
|
|
@@ -92740,7 +92737,7 @@ function zst(t, e) {
|
|
|
92740
92737
|
function Qst(t, e) {
|
|
92741
92738
|
var n;
|
|
92742
92739
|
const { sort: r } = t;
|
|
92743
|
-
return
|
|
92740
|
+
return Ou(r) ? {
|
|
92744
92741
|
field: $e(r, { expr: "datum" }),
|
|
92745
92742
|
order: (n = r.order) !== null && n !== void 0 ? n : "ascending"
|
|
92746
92743
|
} : Ce(r) ? {
|
|
@@ -93357,7 +93354,7 @@ function _ot(t) {
|
|
|
93357
93354
|
function Sot(t) {
|
|
93358
93355
|
const e = [], { encoding: n } = t;
|
|
93359
93356
|
for (const r of [
|
|
93360
|
-
[
|
|
93357
|
+
[ga, pa],
|
|
93361
93358
|
[no, eu]
|
|
93362
93359
|
])
|
|
93363
93360
|
(Qn(n[r[0]]) || Qn(n[r[1]])) && e.push({
|
|
@@ -93454,12 +93451,12 @@ function aG(t, e, n) {
|
|
|
93454
93451
|
const l = Object.assign(Object.assign(Object.assign({ bin: s, field: t.field, as: [r] }, u ? { signal: u } : {}), a ? { extentSignal: a } : {}), i ? { span: i } : {});
|
|
93455
93452
|
return { key: o, binComponent: l };
|
|
93456
93453
|
}
|
|
93457
|
-
class
|
|
93454
|
+
class wu extends Yt {
|
|
93458
93455
|
constructor(e, n) {
|
|
93459
93456
|
super(e), this.bins = n;
|
|
93460
93457
|
}
|
|
93461
93458
|
clone() {
|
|
93462
|
-
return new
|
|
93459
|
+
return new wu(null, dt(this.bins));
|
|
93463
93460
|
}
|
|
93464
93461
|
static makeFromEncoding(e, n) {
|
|
93465
93462
|
const r = n.reduceFieldDef((i, s, o) => {
|
|
@@ -93469,7 +93466,7 @@ class Du extends Yt {
|
|
|
93469
93466
|
}
|
|
93470
93467
|
return i;
|
|
93471
93468
|
}, {});
|
|
93472
|
-
return Xt(r) ? null : new
|
|
93469
|
+
return Xt(r) ? null : new wu(e, r);
|
|
93473
93470
|
}
|
|
93474
93471
|
/**
|
|
93475
93472
|
* Creates a bin node from BinTransform.
|
|
@@ -93477,7 +93474,7 @@ class Du extends Yt {
|
|
|
93477
93474
|
*/
|
|
93478
93475
|
static makeFromTransform(e, n, r) {
|
|
93479
93476
|
const { key: i, binComponent: s } = aG(n, n.bin, r);
|
|
93480
|
-
return new
|
|
93477
|
+
return new wu(e, {
|
|
93481
93478
|
[i]: s
|
|
93482
93479
|
});
|
|
93483
93480
|
}
|
|
@@ -93641,7 +93638,7 @@ class sp extends Yt {
|
|
|
93641
93638
|
const o = n.facet[s];
|
|
93642
93639
|
if (o) {
|
|
93643
93640
|
const { bin: u, sort: a } = o;
|
|
93644
|
-
this[s] = Object.assign({ name: n.getName(`${s}_domain`), fields: [$e(o), ...sn(u) ? [$e(o, { binSuffix: "end" })] : []] },
|
|
93641
|
+
this[s] = Object.assign({ name: n.getName(`${s}_domain`), fields: [$e(o), ...sn(u) ? [$e(o, { binSuffix: "end" })] : []] }, Ou(a) ? { sortField: a } : Ce(a) ? { sortIndexField: Jh(o, s) } : {});
|
|
93645
93642
|
}
|
|
93646
93643
|
}
|
|
93647
93644
|
this.childModel = n.child;
|
|
@@ -93676,7 +93673,7 @@ class sp extends Yt {
|
|
|
93676
93673
|
}
|
|
93677
93674
|
getChildIndependentFieldsWithStep() {
|
|
93678
93675
|
const e = {};
|
|
93679
|
-
for (const n of
|
|
93676
|
+
for (const n of Ea) {
|
|
93680
93677
|
const r = this.childModel.component.scales[n];
|
|
93681
93678
|
if (r && !r.merged) {
|
|
93682
93679
|
const i = r.get("type"), s = r.get("range");
|
|
@@ -93806,7 +93803,7 @@ function Lot(t) {
|
|
|
93806
93803
|
function Iot(t) {
|
|
93807
93804
|
const e = {};
|
|
93808
93805
|
function n(r) {
|
|
93809
|
-
Gh(r) ? e[r.field] = "date" : r.type === "quantitative" && Ret(r.aggregate) ? e[r.field] = "number" : Cm(r.field) > 1 ? r.field in e || (e[r.field] = "flatten") : Yx(r) &&
|
|
93806
|
+
Gh(r) ? e[r.field] = "date" : r.type === "quantitative" && Ret(r.aggregate) ? e[r.field] = "number" : Cm(r.field) > 1 ? r.field in e || (e[r.field] = "flatten") : Yx(r) && Ou(r.sort) && Cm(r.sort.field) > 1 && (r.sort.field in e || (e[r.sort.field] = "flatten"));
|
|
93810
93807
|
}
|
|
93811
93808
|
if ((kn(t) || Fo(t)) && t.forEachFieldDef((r, i) => {
|
|
93812
93809
|
if (ro(r))
|
|
@@ -94109,7 +94106,7 @@ class Mot extends N$ {
|
|
|
94109
94106
|
}
|
|
94110
94107
|
run(e, n) {
|
|
94111
94108
|
let r = /* @__PURE__ */ new Set();
|
|
94112
|
-
e instanceof
|
|
94109
|
+
e instanceof Du && (r = e.producedFields(), que(r, n) && (this.setModified(), e.removeFormulas(n), e.producedFields.length === 0 && e.remove()));
|
|
94113
94110
|
for (const i of e.children)
|
|
94114
94111
|
this.run(i, /* @__PURE__ */ new Set([...n, ...r]));
|
|
94115
94112
|
}
|
|
@@ -94169,7 +94166,7 @@ class Hot extends Kx {
|
|
|
94169
94166
|
}
|
|
94170
94167
|
class zot extends Kx {
|
|
94171
94168
|
run(e) {
|
|
94172
|
-
const n = e.children.filter((i) => i instanceof
|
|
94169
|
+
const n = e.children.filter((i) => i instanceof Du), r = n.pop();
|
|
94173
94170
|
for (const i of n)
|
|
94174
94171
|
this.setModified(), r.merge(i);
|
|
94175
94172
|
}
|
|
@@ -94198,12 +94195,12 @@ class Got extends Kx {
|
|
|
94198
94195
|
run(e) {
|
|
94199
94196
|
const n = !(w$(e) || e instanceof ip || e instanceof zr || e instanceof W0), r = [], i = [];
|
|
94200
94197
|
for (const s of e.children)
|
|
94201
|
-
s instanceof
|
|
94198
|
+
s instanceof wu && (n && !Hue(e.producedFields(), s.dependentFields()) ? r.push(s) : i.push(s));
|
|
94202
94199
|
if (r.length > 0) {
|
|
94203
94200
|
const s = r.pop();
|
|
94204
94201
|
for (const o of r)
|
|
94205
94202
|
s.merge(o, this.model.renameSignal.bind(this.model));
|
|
94206
|
-
this.setModified(), e instanceof
|
|
94203
|
+
this.setModified(), e instanceof wu ? e.merge(s, this.model.renameSignal.bind(this.model)) : s.swapWithParent();
|
|
94207
94204
|
}
|
|
94208
94205
|
if (i.length > 1) {
|
|
94209
94206
|
const s = i.pop();
|
|
@@ -94319,7 +94316,7 @@ class el extends Yt {
|
|
|
94319
94316
|
return null;
|
|
94320
94317
|
const { groupbyChannels: s, fieldChannel: o, offset: u, impute: a } = r, l = s.map((h) => {
|
|
94321
94318
|
const p = i[h];
|
|
94322
|
-
return
|
|
94319
|
+
return Gu(p);
|
|
94323
94320
|
}).filter((h) => !!h), c = Vot(n), f = n.encoding.order;
|
|
94324
94321
|
let x;
|
|
94325
94322
|
return Ce(f) || Ie(f) ? x = lae(f) : x = c.reduce((h, p) => (h.field.push(p), h.order.push(o === "y" ? "descending" : "ascending"), h), { field: [], order: [] }), new el(e, {
|
|
@@ -94596,12 +94593,12 @@ function Wl(t, e, n, r) {
|
|
|
94596
94593
|
const { encoding: i } = n, s = Qn(i[r]), { type: o } = s, u = s.timeUnit;
|
|
94597
94594
|
if (mnt(e)) {
|
|
94598
94595
|
const f = Wl(t, void 0, n, r), x = MO(e.unionWith, o, u);
|
|
94599
|
-
return
|
|
94596
|
+
return xu([...f.value, ...x]);
|
|
94600
94597
|
} else {
|
|
94601
94598
|
if (Xe(e))
|
|
94602
|
-
return
|
|
94599
|
+
return xu([e]);
|
|
94603
94600
|
if (e && e !== "unaggregated" && !Fae(e))
|
|
94604
|
-
return
|
|
94601
|
+
return xu(MO(e, o, u));
|
|
94605
94602
|
}
|
|
94606
94603
|
const a = n.stack;
|
|
94607
94604
|
if (a && r === a.fieldChannel) {
|
|
@@ -94620,7 +94617,7 @@ function Wl(t, e, n, r) {
|
|
|
94620
94617
|
]);
|
|
94621
94618
|
}
|
|
94622
94619
|
const l = Dc(r) && Ie(s) ? sut(n, r, t) : void 0;
|
|
94623
|
-
if (
|
|
94620
|
+
if (Aa(s)) {
|
|
94624
94621
|
const f = MO([s.datum], o, u);
|
|
94625
94622
|
return rs(f);
|
|
94626
94623
|
}
|
|
@@ -94723,7 +94720,7 @@ function sut(t, e, n) {
|
|
|
94723
94720
|
order: "ascending"
|
|
94724
94721
|
};
|
|
94725
94722
|
const { stack: s } = t, o = s ? /* @__PURE__ */ new Set([...s.groupbyFields, ...s.stackBy.map((u) => u.fieldDef.field)]) : void 0;
|
|
94726
|
-
if (
|
|
94723
|
+
if (Ou(i)) {
|
|
94727
94724
|
const u = s && !o.has(i.field);
|
|
94728
94725
|
return jO(i, u);
|
|
94729
94726
|
} else if (Gae(i)) {
|
|
@@ -94916,7 +94913,7 @@ function fut(t, e) {
|
|
|
94916
94913
|
const p = n.range;
|
|
94917
94914
|
if (Ce(p)) {
|
|
94918
94915
|
if (Or(t))
|
|
94919
|
-
return
|
|
94916
|
+
return xu(p.map((m) => {
|
|
94920
94917
|
if (m === "width" || m === "height") {
|
|
94921
94918
|
const g = e.getName(m), y = e.getSignalName.bind(e);
|
|
94922
94919
|
return Hi.fromName(y, g);
|
|
@@ -94924,24 +94921,24 @@ function fut(t, e) {
|
|
|
94924
94921
|
return m;
|
|
94925
94922
|
}));
|
|
94926
94923
|
} else if (ze(p))
|
|
94927
|
-
return
|
|
94924
|
+
return xu({
|
|
94928
94925
|
data: e.requestDataName(nn.Main),
|
|
94929
94926
|
field: p.field,
|
|
94930
94927
|
sort: { op: "min", field: e.vgField(t) }
|
|
94931
94928
|
});
|
|
94932
|
-
return
|
|
94929
|
+
return xu(p);
|
|
94933
94930
|
}
|
|
94934
94931
|
case "scheme":
|
|
94935
|
-
return
|
|
94932
|
+
return xu(xut(n[f]));
|
|
94936
94933
|
}
|
|
94937
94934
|
}
|
|
94938
94935
|
const o = t === vn || t === "xOffset" ? "width" : "height", u = r[o];
|
|
94939
|
-
if (
|
|
94936
|
+
if (Wu(u)) {
|
|
94940
94937
|
if (Or(t))
|
|
94941
94938
|
if (xr(s)) {
|
|
94942
94939
|
const f = $0e(u, e, t);
|
|
94943
94940
|
if (f)
|
|
94944
|
-
return
|
|
94941
|
+
return xu({ step: f });
|
|
94945
94942
|
} else
|
|
94946
94943
|
Oe(mae(o));
|
|
94947
94944
|
else if (ep(t)) {
|
|
@@ -94949,13 +94946,13 @@ function fut(t, e) {
|
|
|
94949
94946
|
if (e.getScaleComponent(f).get("type") === "band") {
|
|
94950
94947
|
const p = k0e(u, s);
|
|
94951
94948
|
if (p)
|
|
94952
|
-
return
|
|
94949
|
+
return xu(p);
|
|
94953
94950
|
}
|
|
94954
94951
|
}
|
|
94955
94952
|
}
|
|
94956
94953
|
const { rangeMin: a, rangeMax: l } = n, c = dut(t, e);
|
|
94957
94954
|
return (a !== void 0 || l !== void 0) && // it's ok to check just rangeMin's compatibility since rangeMin/rangeMax are the same
|
|
94958
|
-
Iw(s, "rangeMin") && Ce(c) && c.length === 2 ?
|
|
94955
|
+
Iw(s, "rangeMin") && Ce(c) && c.length === 2 ? xu([a ?? c[0], l ?? c[1]]) : rs(c);
|
|
94959
94956
|
}
|
|
94960
94957
|
function xut(t) {
|
|
94961
94958
|
return gnt(t) ? Object.assign({ scheme: t.name }, Js(t, ["name"])) : { scheme: t };
|
|
@@ -94967,7 +94964,7 @@ function dut(t, e) {
|
|
|
94967
94964
|
case fr: {
|
|
94968
94965
|
if (wt(["point", "band"], l)) {
|
|
94969
94966
|
const p = P0e(t, n, r.view);
|
|
94970
|
-
if (
|
|
94967
|
+
if (Wu(p))
|
|
94971
94968
|
return { step: $0e(p, e, t) };
|
|
94972
94969
|
}
|
|
94973
94970
|
const x = Wi(t), h = e.getName(x);
|
|
@@ -94984,7 +94981,7 @@ function dut(t, e) {
|
|
|
94984
94981
|
return [0, Math.PI * 2];
|
|
94985
94982
|
case Qx:
|
|
94986
94983
|
return [0, 360];
|
|
94987
|
-
case
|
|
94984
|
+
case ha:
|
|
94988
94985
|
return [
|
|
94989
94986
|
0,
|
|
94990
94987
|
new Hi(() => {
|
|
@@ -95006,8 +95003,8 @@ function dut(t, e) {
|
|
|
95006
95003
|
case Gi:
|
|
95007
95004
|
return "symbol";
|
|
95008
95005
|
case Qi:
|
|
95009
|
-
case ga:
|
|
95010
95006
|
case ma:
|
|
95007
|
+
case ya:
|
|
95011
95008
|
return l === "ordinal" ? u === "nominal" ? "category" : "ordinal" : f !== void 0 ? "diverging" : i === "rect" || i === "geoshape" ? "heatmap" : "ramp";
|
|
95012
95009
|
case Bl:
|
|
95013
95010
|
case bc:
|
|
@@ -95040,7 +95037,7 @@ function hut(t, e, n) {
|
|
|
95040
95037
|
const r = t === Cc ? "x" : "y", s = e.getScaleComponent(r).get("type"), o = e.scaleName(r);
|
|
95041
95038
|
if (s === "band") {
|
|
95042
95039
|
const u = P0e(r, e.size, e.config.view);
|
|
95043
|
-
if (
|
|
95040
|
+
if (Wu(u)) {
|
|
95044
95041
|
const a = k0e(u, n);
|
|
95045
95042
|
if (a)
|
|
95046
95043
|
return a;
|
|
@@ -95122,7 +95119,7 @@ function mut(t, e, n, r) {
|
|
|
95122
95119
|
throw new Error(cT("size", t));
|
|
95123
95120
|
}
|
|
95124
95121
|
function gG(t, e, n) {
|
|
95125
|
-
const r =
|
|
95122
|
+
const r = Wu(t.width) ? t.width.step : f5(n, "width"), i = Wu(t.height) ? t.height.step : f5(n, "height");
|
|
95126
95123
|
return e.x || e.y ? new Hi(() => `min(${[
|
|
95127
95124
|
e.x ? e.x.signal : r,
|
|
95128
95125
|
e.y ? e.y.signal : i
|
|
@@ -95214,12 +95211,12 @@ function Eut(t, e) {
|
|
|
95214
95211
|
};
|
|
95215
95212
|
}
|
|
95216
95213
|
function Aut(t, e) {
|
|
95217
|
-
if (wt([Qi,
|
|
95214
|
+
if (wt([Qi, ma, ya], t) && e !== "nominal")
|
|
95218
95215
|
return "hcl";
|
|
95219
95216
|
}
|
|
95220
95217
|
function vut(t, e, n, r, i, s) {
|
|
95221
95218
|
var o;
|
|
95222
|
-
if (!(!((o =
|
|
95219
|
+
if (!(!((o = Gu(s)) === null || o === void 0) && o.bin || Ce(n) || i != null || r != null || wt([qi.TIME, qi.UTC], t)))
|
|
95223
95220
|
return Or(e) ? !0 : void 0;
|
|
95224
95221
|
}
|
|
95225
95222
|
function _ut(t, e, n, r, i, s) {
|
|
@@ -95284,7 +95281,7 @@ function Tut(t, e, n, r, i) {
|
|
|
95284
95281
|
}
|
|
95285
95282
|
if (t === "size" && e.type === "quantitative" && !Qh(i))
|
|
95286
95283
|
return !0;
|
|
95287
|
-
if (!(Ie(e) && e.bin) && wt([...
|
|
95284
|
+
if (!(Ie(e) && e.bin) && wt([...Ea, ...get], t)) {
|
|
95288
95285
|
const { orient: o, type: u } = r;
|
|
95289
95286
|
return !(wt(["bar", "area", "line", "trail"], u) && (o === "horizontal" && t === "y" || o === "vertical" && t === "x"));
|
|
95290
95287
|
}
|
|
@@ -95634,13 +95631,13 @@ class z0e extends B$ {
|
|
|
95634
95631
|
}
|
|
95635
95632
|
reduceFieldDef(e, n) {
|
|
95636
95633
|
return hrt(this.getMapping(), (r, i, s) => {
|
|
95637
|
-
const o =
|
|
95634
|
+
const o = Gu(i);
|
|
95638
95635
|
return o ? e(r, o, s) : r;
|
|
95639
95636
|
}, n);
|
|
95640
95637
|
}
|
|
95641
95638
|
forEachFieldDef(e, n) {
|
|
95642
95639
|
u$(this.getMapping(), (r, i) => {
|
|
95643
|
-
const s =
|
|
95640
|
+
const s = Gu(r);
|
|
95644
95641
|
s && e(s, i);
|
|
95645
95642
|
}, n);
|
|
95646
95643
|
}
|
|
@@ -95793,12 +95790,12 @@ class Yd extends Yt {
|
|
|
95793
95790
|
return e;
|
|
95794
95791
|
let r = 0;
|
|
95795
95792
|
for (const i of [
|
|
95796
|
-
[
|
|
95793
|
+
[ga, pa],
|
|
95797
95794
|
[no, eu]
|
|
95798
95795
|
]) {
|
|
95799
95796
|
const s = i.map((o) => {
|
|
95800
95797
|
const u = Qn(n.encoding[o]);
|
|
95801
|
-
return Ie(u) ? u.field :
|
|
95798
|
+
return Ie(u) ? u.field : Aa(u) ? { expr: `${u.datum}` } : Po(u) ? { expr: `${u.value}` } : void 0;
|
|
95802
95799
|
});
|
|
95803
95800
|
(s[0] || s[1]) && (e = new Yd(e, s, null, n.getName(`geojson_${r++}`)));
|
|
95804
95801
|
}
|
|
@@ -95842,12 +95839,12 @@ class wm extends Yt {
|
|
|
95842
95839
|
if (!n.projectionName())
|
|
95843
95840
|
return e;
|
|
95844
95841
|
for (const r of [
|
|
95845
|
-
[
|
|
95842
|
+
[ga, pa],
|
|
95846
95843
|
[no, eu]
|
|
95847
95844
|
]) {
|
|
95848
95845
|
const i = r.map((o) => {
|
|
95849
95846
|
const u = Qn(n.encoding[o]);
|
|
95850
|
-
return Ie(u) ? u.field :
|
|
95847
|
+
return Ie(u) ? u.field : Aa(u) ? { expr: `${u.datum}` } : Po(u) ? { expr: `${u.value}` } : void 0;
|
|
95851
95848
|
}), s = r[0] === no ? "2" : "";
|
|
95852
95849
|
(i[0] || i[1]) && (e = new wm(e, n.projectionName(), i, [
|
|
95853
95850
|
n.getName(`x${s}`),
|
|
@@ -96135,7 +96132,7 @@ function Q0e(t) {
|
|
|
96135
96132
|
i.name || (i.name = `data_${e++}`), !i.source || i.transform.length > 0 ? (t.push(i), r.data = i.name) : r.data = i.source, t.push(...r.assemble());
|
|
96136
96133
|
return;
|
|
96137
96134
|
}
|
|
96138
|
-
switch ((r instanceof Hy || r instanceof zy || r instanceof Dm || r instanceof ip || r instanceof Kh || r instanceof wm || r instanceof No || r instanceof Nm || r instanceof op || r instanceof Jx || r instanceof IT || r instanceof LT || r instanceof FT || r instanceof BT || r instanceof $T || r instanceof kT || r instanceof W0 || r instanceof MT || r instanceof PT) && i.transform.push(r.assemble()), (r instanceof
|
|
96135
|
+
switch ((r instanceof Hy || r instanceof zy || r instanceof Dm || r instanceof ip || r instanceof Kh || r instanceof wm || r instanceof No || r instanceof Nm || r instanceof op || r instanceof Jx || r instanceof IT || r instanceof LT || r instanceof FT || r instanceof BT || r instanceof $T || r instanceof kT || r instanceof W0 || r instanceof MT || r instanceof PT) && i.transform.push(r.assemble()), (r instanceof wu || r instanceof Du || r instanceof _f || r instanceof el || r instanceof Yd) && i.transform.push(...r.assemble()), r instanceof mi && (i.source && i.transform.length === 0 ? r.setSource(i.source) : r.parent instanceof mi ? r.setSource(i.name) : (i.name || (i.name = `data_${e++}`), r.setSource(i.name), r.numChildren() === 1 && (t.push(i), i = {
|
|
96139
96136
|
name: null,
|
|
96140
96137
|
source: i.name,
|
|
96141
96138
|
transform: []
|
|
@@ -96286,11 +96283,11 @@ function g5(t, e) {
|
|
|
96286
96283
|
}
|
|
96287
96284
|
function zut(t) {
|
|
96288
96285
|
const { size: e, component: n } = t;
|
|
96289
|
-
for (const r of
|
|
96286
|
+
for (const r of Ea) {
|
|
96290
96287
|
const i = Wi(r);
|
|
96291
96288
|
if (e[i]) {
|
|
96292
96289
|
const s = e[i];
|
|
96293
|
-
n.layoutSize.set(i,
|
|
96290
|
+
n.layoutSize.set(i, Wu(s) ? "step" : s, !0);
|
|
96294
96291
|
} else {
|
|
96295
96292
|
const s = Qut(t, i);
|
|
96296
96293
|
n.layoutSize.set(i, s, !1);
|
|
@@ -96303,7 +96300,7 @@ function Qut(t, e) {
|
|
|
96303
96300
|
const s = i.get("type"), o = i.get("range");
|
|
96304
96301
|
if (xr(s)) {
|
|
96305
96302
|
const u = x5(r.view, e);
|
|
96306
|
-
return Nc(o) ||
|
|
96303
|
+
return Nc(o) || Wu(u) ? "step" : u;
|
|
96307
96304
|
} else
|
|
96308
96305
|
return jw(r.view, e);
|
|
96309
96306
|
} else {
|
|
@@ -96311,7 +96308,7 @@ function Qut(t, e) {
|
|
|
96311
96308
|
return jw(r.view, e);
|
|
96312
96309
|
{
|
|
96313
96310
|
const s = x5(r.view, e);
|
|
96314
|
-
return
|
|
96311
|
+
return Wu(s) ? s.step : s;
|
|
96315
96312
|
}
|
|
96316
96313
|
}
|
|
96317
96314
|
}
|
|
@@ -96430,7 +96427,7 @@ class Ig extends z0e {
|
|
|
96430
96427
|
e.push(i), n.push("distinct"), r.push(`distinct_${i}`);
|
|
96431
96428
|
}
|
|
96432
96429
|
} else
|
|
96433
|
-
for (const i of
|
|
96430
|
+
for (const i of Ea) {
|
|
96434
96431
|
const s = this.child.component.scales[i];
|
|
96435
96432
|
if (s && !s.merged) {
|
|
96436
96433
|
const o = s.get("type"), u = s.get("range");
|
|
@@ -96449,7 +96446,7 @@ class Ig extends z0e {
|
|
|
96449
96446
|
if (f) {
|
|
96450
96447
|
a.push($e(f));
|
|
96451
96448
|
const { bin: x, sort: h } = f;
|
|
96452
|
-
if (sn(x) && a.push($e(f, { binSuffix: "end" })),
|
|
96449
|
+
if (sn(x) && a.push($e(f, { binSuffix: "end" })), Ou(h)) {
|
|
96453
96450
|
const { field: p, op: m = gT } = h, g = nN(f, h);
|
|
96454
96451
|
r && i ? (s.push(g), o.push("max"), u.push(g)) : (s.push(p), o.push(m), u.push(g));
|
|
96455
96452
|
} else if (Ce(h)) {
|
|
@@ -96469,13 +96466,13 @@ class Ig extends z0e {
|
|
|
96469
96466
|
}
|
|
96470
96467
|
facetSortFields(e) {
|
|
96471
96468
|
const { facet: n } = this, r = n[e];
|
|
96472
|
-
return r ?
|
|
96469
|
+
return r ? Ou(r.sort) ? [nN(r, r.sort, { expr: "datum" })] : Ce(r.sort) ? [Jh(r, e, { expr: "datum" })] : [$e(r, { expr: "datum" })] : [];
|
|
96473
96470
|
}
|
|
96474
96471
|
facetSortOrder(e) {
|
|
96475
96472
|
const { facet: n } = this, r = n[e];
|
|
96476
96473
|
if (r) {
|
|
96477
96474
|
const { sort: i } = r;
|
|
96478
|
-
return [(
|
|
96475
|
+
return [(Ou(i) ? i.order : !Ce(i) && i) || "ascending"];
|
|
96479
96476
|
}
|
|
96480
96477
|
return [];
|
|
96481
96478
|
}
|
|
@@ -96517,7 +96514,7 @@ function Gut(t, e) {
|
|
|
96517
96514
|
if (n && r) {
|
|
96518
96515
|
let i = null;
|
|
96519
96516
|
for (const s of [n, r])
|
|
96520
|
-
if (
|
|
96517
|
+
if (Ou(s.sort)) {
|
|
96521
96518
|
const { field: o, op: u = gT } = s.sort;
|
|
96522
96519
|
t = i = new Jx(t, {
|
|
96523
96520
|
joinaggregate: [
|
|
@@ -96587,9 +96584,9 @@ function Vut(t, e, n) {
|
|
|
96587
96584
|
const l = Lot(o);
|
|
96588
96585
|
a = t = (r = zr.makeWithAncestors(t, {}, l, n)) !== null && r !== void 0 ? r : t, t = new ip(t, e, o.filter);
|
|
96589
96586
|
} else if (Ble(o))
|
|
96590
|
-
a = t =
|
|
96587
|
+
a = t = wu.makeFromTransform(t, o, e), u = "number";
|
|
96591
96588
|
else if (wit(o))
|
|
96592
|
-
u = "date", n.getWithExplicit(o.field).value === void 0 && (t = new zr(t, { [o.field]: u }), n.set(o.field, u, !1)), a = t =
|
|
96589
|
+
u = "date", n.getWithExplicit(o.field).value === void 0 && (t = new zr(t, { [o.field]: u }), n.set(o.field, u, !1)), a = t = Du.makeFromTransform(t, o);
|
|
96593
96590
|
else if (Nit(o))
|
|
96594
96591
|
a = t = No.makeFromTransform(t, o), u = "number", C$(e) && (t = new W0(t));
|
|
96595
96592
|
else if (Ile(o))
|
|
@@ -96634,9 +96631,9 @@ function jT(t) {
|
|
|
96634
96631
|
const { outputNodes: x, outputNodeRefCounts: h } = t.component.data, p = t.data, g = !(p && (A0(p) || Wh(p) || Rm(p))) && t.parent ? t.parent.component.data.ancestorParse.clone() : new Qit();
|
|
96635
96632
|
A0(p) ? (Ule(p) ? f = new zy(f, p.sequence) : E$(p) && (f = new Hy(f, p.graticule)), g.parseNothing = !0) : ((e = p == null ? void 0 : p.format) === null || e === void 0 ? void 0 : e.parse) === null && (g.parseNothing = !0), f = (n = zr.makeExplicit(f, t, g)) !== null && n !== void 0 ? n : f, f = new W0(f);
|
|
96636
96633
|
const y = t.parent && up(t.parent);
|
|
96637
|
-
(kn(t) || Fo(t)) && y && (f = (r =
|
|
96634
|
+
(kn(t) || Fo(t)) && y && (f = (r = wu.makeFromEncoding(f, t)) !== null && r !== void 0 ? r : f), t.transforms.length > 0 && (f = Vut(f, t, g));
|
|
96638
96635
|
const E = Bot(t), A = Iot(t);
|
|
96639
|
-
f = (i = zr.makeWithAncestors(f, {}, Object.assign(Object.assign({}, E), A), g)) !== null && i !== void 0 ? i : f, kn(t) && (f = Yd.parseAll(f, t), f = wm.parseAll(f, t)), (kn(t) || Fo(t)) && (y || (f = (s =
|
|
96636
|
+
f = (i = zr.makeWithAncestors(f, {}, Object.assign(Object.assign({}, E), A), g)) !== null && i !== void 0 ? i : f, kn(t) && (f = Yd.parseAll(f, t), f = wm.parseAll(f, t)), (kn(t) || Fo(t)) && (y || (f = (s = wu.makeFromEncoding(f, t)) !== null && s !== void 0 ? s : f), f = (o = Du.makeFromEncoding(f, t)) !== null && o !== void 0 ? o : f, f = Kh.parseAllForSortIndex(f, t));
|
|
96640
96637
|
const v = t.getDataName(nn.Raw), _ = new mi(f, v, nn.Raw, h);
|
|
96641
96638
|
if (x[v] = _, f = _, kn(t)) {
|
|
96642
96639
|
const N = No.makeFromEncoding(f, t);
|
|
@@ -96756,7 +96753,7 @@ function Xut(t, e, n) {
|
|
|
96756
96753
|
}) }, n) : n;
|
|
96757
96754
|
}
|
|
96758
96755
|
function Zut(t) {
|
|
96759
|
-
return
|
|
96756
|
+
return Ea.reduce((e, n) => (t.component.scales[n] && (e[n] = [oat(n, t)]), e), {});
|
|
96760
96757
|
}
|
|
96761
96758
|
const eat = {
|
|
96762
96759
|
bottom: "top",
|
|
@@ -96772,7 +96769,7 @@ function tat(t) {
|
|
|
96772
96769
|
for (const o of De(s.component.axes))
|
|
96773
96770
|
r.axis[o] = O$(t.component.resolve, o), r.axis[o] === "shared" && (n[o] = nat(n[o], s.component.axes[o]), n[o] || (r.axis[o] = "independent", delete n[o]));
|
|
96774
96771
|
}
|
|
96775
|
-
for (const s of
|
|
96772
|
+
for (const s of Ea) {
|
|
96776
96773
|
for (const o of t.children)
|
|
96777
96774
|
if (o.component.axes[s]) {
|
|
96778
96775
|
if (r.axis[s] === "independent") {
|
|
@@ -96912,9 +96909,9 @@ function oat(t, e) {
|
|
|
96912
96909
|
return Xt(y) || o.set("encode", y, !!s.encoding || s.labelAngle !== void 0), o;
|
|
96913
96910
|
}
|
|
96914
96911
|
function uat({ encoding: t, size: e }) {
|
|
96915
|
-
for (const n of
|
|
96912
|
+
for (const n of Ea) {
|
|
96916
96913
|
const r = Wi(n);
|
|
96917
|
-
|
|
96914
|
+
Wu(e[r]) && Eu(t[n]) && (delete e[r], Oe(mae(r)));
|
|
96918
96915
|
}
|
|
96919
96916
|
return e;
|
|
96920
96917
|
}
|
|
@@ -96985,7 +96982,7 @@ function xat(t, e, n) {
|
|
|
96985
96982
|
}
|
|
96986
96983
|
case dT:
|
|
96987
96984
|
case GB: {
|
|
96988
|
-
const u =
|
|
96985
|
+
const u = Eu(r), a = Eu(i);
|
|
96989
96986
|
if (n)
|
|
96990
96987
|
return n;
|
|
96991
96988
|
if (u && !a)
|
|
@@ -97342,7 +97339,7 @@ function Iat(t) {
|
|
|
97342
97339
|
return {
|
|
97343
97340
|
field: $e(l, { prefix: a, suffix: "sort_index", expr: "datum" })
|
|
97344
97341
|
};
|
|
97345
|
-
if (
|
|
97342
|
+
if (Ou(c))
|
|
97346
97343
|
return {
|
|
97347
97344
|
field: $e({
|
|
97348
97345
|
// FIXME: this op might not already exist?
|
|
@@ -97403,7 +97400,7 @@ class Y0e extends z0e {
|
|
|
97403
97400
|
constructor(e, n, r, i = {}, s) {
|
|
97404
97401
|
var o;
|
|
97405
97402
|
super(e, "unit", n, r, s, void 0, $Q(e) ? e.view : void 0), this.specifiedScales = {}, this.specifiedAxes = {}, this.specifiedLegends = {}, this.specifiedProjection = {}, this.selection = [], this.children = [];
|
|
97406
|
-
const u =
|
|
97403
|
+
const u = Qu(e.mark) ? Object.assign({}, e.mark) : { type: e.mark }, a = u.type;
|
|
97407
97404
|
u.filled === void 0 && (u.filled = fat(u, s, {
|
|
97408
97405
|
graticule: e.data && E$(e.data)
|
|
97409
97406
|
}));
|
|
@@ -97443,7 +97440,7 @@ class Y0e extends z0e {
|
|
|
97443
97440
|
return Ce(n) && (i.domain = n.map(as)), Ce(r) && (i.range = r.map(as)), i;
|
|
97444
97441
|
}
|
|
97445
97442
|
initAxes(e) {
|
|
97446
|
-
return
|
|
97443
|
+
return Ea.reduce((n, r) => {
|
|
97447
97444
|
const i = e[r];
|
|
97448
97445
|
if (lt(i) || r === vn && lt(e.x2) || r === fr && lt(e.y2)) {
|
|
97449
97446
|
const s = lt(i) ? i.axis : void 0;
|
|
@@ -97523,7 +97520,7 @@ class Y0e extends z0e {
|
|
|
97523
97520
|
}
|
|
97524
97521
|
fieldDef(e) {
|
|
97525
97522
|
const n = this.encoding[e];
|
|
97526
|
-
return
|
|
97523
|
+
return Gu(n);
|
|
97527
97524
|
}
|
|
97528
97525
|
typedFieldDef(e) {
|
|
97529
97526
|
const n = this.fieldDef(e);
|
|
@@ -150133,7 +150130,7 @@ function V0(t) {
|
|
|
150133
150130
|
break;
|
|
150134
150131
|
}
|
|
150135
150132
|
case "chart": {
|
|
150136
|
-
o = Qe(nZe,
|
|
150133
|
+
o = Qe(nZe, Au({
|
|
150137
150134
|
field: e,
|
|
150138
150135
|
get data() {
|
|
150139
150136
|
return r.getData(n);
|
|
@@ -150144,7 +150141,7 @@ function V0(t) {
|
|
|
150144
150141
|
}
|
|
150145
150142
|
case "dashboard": {
|
|
150146
150143
|
if (n.isArray())
|
|
150147
|
-
o = Qe(UZe,
|
|
150144
|
+
o = Qe(UZe, Au({
|
|
150148
150145
|
data: n
|
|
150149
150146
|
}, u));
|
|
150150
150147
|
else
|
|
@@ -150165,7 +150162,7 @@ function V0(t) {
|
|
|
150165
150162
|
}
|
|
150166
150163
|
case "table": {
|
|
150167
150164
|
if (n.isArrayOrRecord())
|
|
150168
|
-
o = Qe(NZe,
|
|
150165
|
+
o = Qe(NZe, Au({
|
|
150169
150166
|
data: n
|
|
150170
150167
|
}, u));
|
|
150171
150168
|
else
|