@malloydata/render 0.0.226-dev250113232339 → 0.0.226
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 +657 -657
- package/dist/module/index.umd.js +50 -50
- package/dist/register/register.mjs +686 -686
- package/dist/register/register.umd.js +52 -52
- package/dist/webcomponent/malloy-render.mjs +686 -686
- package/dist/webcomponent/malloy-render.umd.js +52 -52
- package/package.json +2 -2
package/dist/module/index.mjs
CHANGED
|
@@ -4655,9 +4655,9 @@ d5.MySQLDialect = $ce;
|
|
|
4655
4655
|
};
|
|
4656
4656
|
Object.defineProperty(t, "__esModule", { value: !0 }), n(d5, t);
|
|
4657
4657
|
})(QN);
|
|
4658
|
-
var
|
|
4659
|
-
Object.defineProperty(
|
|
4660
|
-
|
|
4658
|
+
var su = {};
|
|
4659
|
+
Object.defineProperty(su, "__esModule", { value: !0 });
|
|
4660
|
+
su.getDialects = su.registerDialect = su.getDialect = void 0;
|
|
4661
4661
|
const kce = qN, Pce = UN, Mce = HN, jce = MN, eG = zN, Uce = QN, GN = /* @__PURE__ */ new Map();
|
|
4662
4662
|
function qce(t) {
|
|
4663
4663
|
const e = GN.get(t);
|
|
@@ -4665,15 +4665,15 @@ function qce(t) {
|
|
|
4665
4665
|
throw new Error(`Unknown Dialect ${t}`);
|
|
4666
4666
|
return e;
|
|
4667
4667
|
}
|
|
4668
|
-
|
|
4668
|
+
su.getDialect = qce;
|
|
4669
4669
|
function b0(t) {
|
|
4670
4670
|
GN.set(t.name, t);
|
|
4671
4671
|
}
|
|
4672
|
-
|
|
4672
|
+
su.registerDialect = b0;
|
|
4673
4673
|
function Hce() {
|
|
4674
4674
|
return [...GN.values()];
|
|
4675
4675
|
}
|
|
4676
|
-
|
|
4676
|
+
su.getDialects = Hce;
|
|
4677
4677
|
b0(new Pce.PostgresDialect());
|
|
4678
4678
|
b0(new jce.StandardSQLDialect());
|
|
4679
4679
|
b0(new kce.DuckDBDialect());
|
|
@@ -4739,7 +4739,7 @@ b0(new Uce.MySQLDialect());
|
|
|
4739
4739
|
Object.defineProperty(t, "MySQLDialect", { enumerable: !0, get: function() {
|
|
4740
4740
|
return a.MySQLDialect;
|
|
4741
4741
|
} });
|
|
4742
|
-
var l =
|
|
4742
|
+
var l = su;
|
|
4743
4743
|
Object.defineProperty(t, "getDialect", { enumerable: !0, get: function() {
|
|
4744
4744
|
return l.getDialect;
|
|
4745
4745
|
} }), Object.defineProperty(t, "registerDialect", { enumerable: !0, get: function() {
|
|
@@ -5055,7 +5055,7 @@ var Kt = {}, Va = {};
|
|
|
5055
5055
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
5056
5056
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
5057
5057
|
*/
|
|
5058
|
-
var
|
|
5058
|
+
var Nu = T && T.__decorate || function(t, e, n, r) {
|
|
5059
5059
|
var i = arguments.length, s = i < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, n) : r, o;
|
|
5060
5060
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
|
|
5061
5061
|
s = Reflect.decorate(t, e, n, r);
|
|
@@ -5066,7 +5066,7 @@ var Du = T && T.__decorate || function(t, e, n, r) {
|
|
|
5066
5066
|
};
|
|
5067
5067
|
Object.defineProperty(bo, "__esModule", { value: !0 });
|
|
5068
5068
|
bo.TerminalNode = void 0;
|
|
5069
|
-
const Vce = ar,
|
|
5069
|
+
const Vce = ar, wu = Ee, Yce = Kt;
|
|
5070
5070
|
class To {
|
|
5071
5071
|
constructor(e) {
|
|
5072
5072
|
this._symbol = e;
|
|
@@ -5106,35 +5106,35 @@ class To {
|
|
|
5106
5106
|
return this._symbol.type === Yce.Token.EOF ? "<EOF>" : this._symbol.text || "";
|
|
5107
5107
|
}
|
|
5108
5108
|
}
|
|
5109
|
-
|
|
5110
|
-
|
|
5109
|
+
Nu([
|
|
5110
|
+
wu.Override
|
|
5111
5111
|
], To.prototype, "getChild", null);
|
|
5112
|
-
|
|
5113
|
-
|
|
5112
|
+
Nu([
|
|
5113
|
+
wu.Override
|
|
5114
5114
|
], To.prototype, "parent", null);
|
|
5115
|
-
|
|
5116
|
-
|
|
5115
|
+
Nu([
|
|
5116
|
+
wu.Override
|
|
5117
5117
|
], To.prototype, "setParent", null);
|
|
5118
|
-
|
|
5119
|
-
|
|
5118
|
+
Nu([
|
|
5119
|
+
wu.Override
|
|
5120
5120
|
], To.prototype, "payload", null);
|
|
5121
|
-
|
|
5122
|
-
|
|
5121
|
+
Nu([
|
|
5122
|
+
wu.Override
|
|
5123
5123
|
], To.prototype, "sourceInterval", null);
|
|
5124
|
-
|
|
5125
|
-
|
|
5124
|
+
Nu([
|
|
5125
|
+
wu.Override
|
|
5126
5126
|
], To.prototype, "childCount", null);
|
|
5127
|
-
|
|
5128
|
-
|
|
5127
|
+
Nu([
|
|
5128
|
+
wu.Override
|
|
5129
5129
|
], To.prototype, "accept", null);
|
|
5130
|
-
|
|
5131
|
-
|
|
5130
|
+
Nu([
|
|
5131
|
+
wu.Override
|
|
5132
5132
|
], To.prototype, "text", null);
|
|
5133
|
-
|
|
5134
|
-
|
|
5133
|
+
Nu([
|
|
5134
|
+
wu.Override
|
|
5135
5135
|
], To.prototype, "toStringTree", null);
|
|
5136
|
-
|
|
5137
|
-
|
|
5136
|
+
Nu([
|
|
5137
|
+
wu.Override
|
|
5138
5138
|
], To.prototype, "toString", null);
|
|
5139
5139
|
bo.TerminalNode = To;
|
|
5140
5140
|
/*!
|
|
@@ -8433,7 +8433,7 @@ BG([
|
|
|
8433
8433
|
$G.Override
|
|
8434
8434
|
], J1.prototype, "equals", null);
|
|
8435
8435
|
Mf.ArrayEqualityComparator = J1;
|
|
8436
|
-
var jf = {},
|
|
8436
|
+
var jf = {}, Fu = {}, Lu = {};
|
|
8437
8437
|
(function(t) {
|
|
8438
8438
|
/*!
|
|
8439
8439
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -8543,20 +8543,20 @@ var jf = {}, wu = {}, Fu = {};
|
|
|
8543
8543
|
], r.prototype, "toString", null), t.ATNState = r, function(i) {
|
|
8544
8544
|
i.INVALID_STATE_NUMBER = -1;
|
|
8545
8545
|
}(r = t.ATNState || (t.ATNState = {}));
|
|
8546
|
-
})(
|
|
8546
|
+
})(Lu);
|
|
8547
8547
|
/*!
|
|
8548
8548
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
8549
8549
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
8550
8550
|
*/
|
|
8551
|
-
Object.defineProperty(
|
|
8552
|
-
|
|
8553
|
-
const Jxe =
|
|
8551
|
+
Object.defineProperty(Fu, "__esModule", { value: !0 });
|
|
8552
|
+
Fu.DecisionState = void 0;
|
|
8553
|
+
const Jxe = Lu;
|
|
8554
8554
|
class Xxe extends Jxe.ATNState {
|
|
8555
8555
|
constructor() {
|
|
8556
8556
|
super(...arguments), this.decision = -1, this.nonGreedy = !1, this.sll = !1;
|
|
8557
8557
|
}
|
|
8558
8558
|
}
|
|
8559
|
-
|
|
8559
|
+
Fu.DecisionState = Xxe;
|
|
8560
8560
|
var PT = {}, C5 = {};
|
|
8561
8561
|
(function(t) {
|
|
8562
8562
|
/*!
|
|
@@ -9506,7 +9506,7 @@ var Bn = T && T.__decorate || function(t, e, n, r) {
|
|
|
9506
9506
|
};
|
|
9507
9507
|
Object.defineProperty(jf, "__esModule", { value: !0 });
|
|
9508
9508
|
jf.ATNConfig = void 0;
|
|
9509
|
-
const ide = Ya, sde =
|
|
9509
|
+
const ide = Ya, sde = Fu, ra = Cn, Yt = Ee, ode = ps, mk = Oo(), yc = Uf, yk = fi(), jT = 2147483648;
|
|
9510
9510
|
let xi = class Jp {
|
|
9511
9511
|
constructor(e, n, r) {
|
|
9512
9512
|
typeof n == "number" ? (yk((n & 16777215) === n), this._state = e, this.altAndOuterContextDepth = n, this._context = r) : (this._state = e, this.altAndOuterContextDepth = n.altAndOuterContextDepth, this._context = r);
|
|
@@ -9640,8 +9640,8 @@ let xi = class Jp {
|
|
|
9640
9640
|
return this === e ? !0 : e instanceof Jp ? 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 && ode.ObjectEqualityComparator.INSTANCE.equals(this.lexerActionExecutor, e.lexerActionExecutor) : !1;
|
|
9641
9641
|
}
|
|
9642
9642
|
hashCode() {
|
|
9643
|
-
let e =
|
|
9644
|
-
return e =
|
|
9643
|
+
let e = ra.MurmurHash.initialize(7);
|
|
9644
|
+
return e = ra.MurmurHash.update(e, this.state.stateNumber), e = ra.MurmurHash.update(e, this.alt), e = ra.MurmurHash.update(e, this.reachesIntoOuterContext ? 1 : 0), e = ra.MurmurHash.update(e, this.context), e = ra.MurmurHash.update(e, this.semanticContext), e = ra.MurmurHash.update(e, this.hasPassedThroughNonGreedyDecision ? 1 : 0), e = ra.MurmurHash.update(e, this.lexerActionExecutor), e = ra.MurmurHash.finish(e, 7), e;
|
|
9645
9645
|
}
|
|
9646
9646
|
/**
|
|
9647
9647
|
* Returns a graphical representation of the current `ATNConfig` in Graphviz format. The graph can be stored to a
|
|
@@ -10721,7 +10721,7 @@ Ah.ProxyErrorListener = PG;
|
|
|
10721
10721
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
10722
10722
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
10723
10723
|
*/
|
|
10724
|
-
var
|
|
10724
|
+
var Iu = T && T.__decorate || function(t, e, n, r) {
|
|
10725
10725
|
var i = arguments.length, s = i < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, n) : r, o;
|
|
10726
10726
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
|
|
10727
10727
|
s = Reflect.decorate(t, e, n, r);
|
|
@@ -10875,37 +10875,37 @@ class Pn {
|
|
|
10875
10875
|
Pn.EOF = -1;
|
|
10876
10876
|
Pn.tokenTypeMapCache = /* @__PURE__ */ new WeakMap();
|
|
10877
10877
|
Pn.ruleIndexMapCache = /* @__PURE__ */ new WeakMap();
|
|
10878
|
-
|
|
10878
|
+
Iu([
|
|
10879
10879
|
us.SuppressWarnings("serial"),
|
|
10880
10880
|
us.NotNull
|
|
10881
10881
|
], Pn.prototype, "_listeners", void 0);
|
|
10882
|
-
|
|
10882
|
+
Iu([
|
|
10883
10883
|
us.NotNull
|
|
10884
10884
|
], Pn.prototype, "getTokenTypeMap", null);
|
|
10885
|
-
|
|
10885
|
+
Iu([
|
|
10886
10886
|
us.NotNull
|
|
10887
10887
|
], Pn.prototype, "getRuleIndexMap", null);
|
|
10888
|
-
|
|
10888
|
+
Iu([
|
|
10889
10889
|
us.NotNull
|
|
10890
10890
|
], Pn.prototype, "serializedATN", null);
|
|
10891
|
-
|
|
10891
|
+
Iu([
|
|
10892
10892
|
us.NotNull
|
|
10893
10893
|
], Pn.prototype, "atn", null);
|
|
10894
|
-
|
|
10894
|
+
Iu([
|
|
10895
10895
|
us.NotNull,
|
|
10896
10896
|
T5(0, us.NotNull)
|
|
10897
10897
|
], Pn.prototype, "interpreter", null);
|
|
10898
|
-
|
|
10898
|
+
Iu([
|
|
10899
10899
|
us.NotNull,
|
|
10900
10900
|
T5(0, us.NotNull)
|
|
10901
10901
|
], Pn.prototype, "getErrorHeader", null);
|
|
10902
|
-
|
|
10902
|
+
Iu([
|
|
10903
10903
|
T5(0, us.NotNull)
|
|
10904
10904
|
], Pn.prototype, "addErrorListener", null);
|
|
10905
|
-
|
|
10905
|
+
Iu([
|
|
10906
10906
|
T5(0, us.NotNull)
|
|
10907
10907
|
], Pn.prototype, "removeErrorListener", null);
|
|
10908
|
-
|
|
10908
|
+
Iu([
|
|
10909
10909
|
us.NotNull
|
|
10910
10910
|
], Pn.prototype, "getErrorListeners", null);
|
|
10911
10911
|
D0.Recognizer = Pn;
|
|
@@ -11155,7 +11155,7 @@ var gde = T && T.__decorate || function(t, e, n, r) {
|
|
|
11155
11155
|
};
|
|
11156
11156
|
Object.defineProperty(_h, "__esModule", { value: !0 });
|
|
11157
11157
|
_h.StarLoopEntryState = void 0;
|
|
11158
|
-
const mde = lr, yde = Do, Ede =
|
|
11158
|
+
const mde = lr, yde = Do, Ede = Fu, Ade = Ee;
|
|
11159
11159
|
class jG extends Ede.DecisionState {
|
|
11160
11160
|
constructor() {
|
|
11161
11161
|
super(...arguments), this.precedenceRuleDecision = !1, this.precedenceLoopbackStates = new yde.BitSet();
|
|
@@ -12200,7 +12200,7 @@ var QG = T && T.__decorate || function(t, e, n, r) {
|
|
|
12200
12200
|
};
|
|
12201
12201
|
Object.defineProperty(F0, "__esModule", { value: !0 });
|
|
12202
12202
|
F0.RuleStopState = void 0;
|
|
12203
|
-
const Bde =
|
|
12203
|
+
const Bde = Lu, $de = lr, GG = Ee;
|
|
12204
12204
|
class a8 extends Bde.ATNState {
|
|
12205
12205
|
get nonStopStateNumber() {
|
|
12206
12206
|
return -1;
|
|
@@ -13216,7 +13216,7 @@ var kde = T && T.__decorate || function(t, e, n, r) {
|
|
|
13216
13216
|
};
|
|
13217
13217
|
Object.defineProperty(rm, "__esModule", { value: !0 });
|
|
13218
13218
|
rm.BasicState = void 0;
|
|
13219
|
-
const Pde =
|
|
13219
|
+
const Pde = Lu, Mde = lr, jde = Ee;
|
|
13220
13220
|
class WG extends Pde.ATNState {
|
|
13221
13221
|
get stateType() {
|
|
13222
13222
|
return Mde.ATNStateType.BASIC;
|
|
@@ -14020,7 +14020,7 @@ var L5 = {}, Wf = {};
|
|
|
14020
14020
|
*/
|
|
14021
14021
|
Object.defineProperty(Wf, "__esModule", { value: !0 });
|
|
14022
14022
|
Wf.BlockStartState = void 0;
|
|
14023
|
-
const she =
|
|
14023
|
+
const she = Fu;
|
|
14024
14024
|
class ohe extends she.DecisionState {
|
|
14025
14025
|
}
|
|
14026
14026
|
Wf.BlockStartState = ohe;
|
|
@@ -14065,7 +14065,7 @@ var fhe = T && T.__decorate || function(t, e, n, r) {
|
|
|
14065
14065
|
};
|
|
14066
14066
|
Object.defineProperty(I5, "__esModule", { value: !0 });
|
|
14067
14067
|
I5.BlockEndState = void 0;
|
|
14068
|
-
const xhe =
|
|
14068
|
+
const xhe = Lu, dhe = lr, hhe = Ee;
|
|
14069
14069
|
class XG extends xhe.ATNState {
|
|
14070
14070
|
get stateType() {
|
|
14071
14071
|
return dhe.ATNStateType.BLOCK_END;
|
|
@@ -14857,7 +14857,7 @@ var vhe = T && T.__decorate || function(t, e, n, r) {
|
|
|
14857
14857
|
};
|
|
14858
14858
|
Object.defineProperty(hm, "__esModule", { value: !0 });
|
|
14859
14859
|
hm.LoopEndState = void 0;
|
|
14860
|
-
const Che =
|
|
14860
|
+
const Che = Lu, She = lr, bhe = Ee;
|
|
14861
14861
|
class nW extends Che.ATNState {
|
|
14862
14862
|
get stateType() {
|
|
14863
14863
|
return She.ATNStateType.LOOP_END;
|
|
@@ -15419,7 +15419,7 @@ function Dh() {
|
|
|
15419
15419
|
};
|
|
15420
15420
|
};
|
|
15421
15421
|
Object.defineProperty(z2, "__esModule", { value: !0 }), z2.ParserATNSimulator = void 0;
|
|
15422
|
-
const n = em, r = um, i = Ro, s = C5, o = wo(), u = jf, a = Jg(), l = b5(), c = lr, f = cm, x = Do, h = U5, p =
|
|
15422
|
+
const n = em, r = um, i = Ro, s = C5, o = wo(), u = jf, a = Jg(), l = b5(), c = lr, f = cm, x = Do, h = U5, p = Fu, m = S5(), g = vh, y = ar, E = Va, A = Ee, _ = c8(), v = gm(), C = ps, S = Gs(), b = Oo(), O = i8(), F = uW, B = F0, U = Sh, z = Uf, X = l8(), W = aW(), ue = Kt, ge = gs, he = fi(), oe = 65535, ce = -(1 << 31 >>> 0);
|
|
15423
15423
|
let pe = class lt extends l.ATNSimulator {
|
|
15424
15424
|
constructor(L, N) {
|
|
15425
15425
|
super(L), this.predictionMode = F.PredictionMode.LL, this.force_global_context = !1, this.always_try_local_context = !0, this.enable_global_context_dfa = !1, this.optimize_unique_closure = !0, this.optimize_ll1 = !0, this.optimize_tail_calls = !0, this.tail_call_preserves_sll = !0, this.treat_sllk1_conflict_as_ambiguity = !1, this.reportAmbiguities = !1, this.userWantsCtxSensitive = !0, this._parser = N;
|
|
@@ -16562,7 +16562,7 @@ var whe = T && T.__decorate || function(t, e, n, r) {
|
|
|
16562
16562
|
};
|
|
16563
16563
|
Object.defineProperty(H5, "__esModule", { value: !0 });
|
|
16564
16564
|
H5.PlusLoopbackState = void 0;
|
|
16565
|
-
const Fhe = lr, Lhe =
|
|
16565
|
+
const Fhe = lr, Lhe = Fu, Ihe = Ee;
|
|
16566
16566
|
class cW extends Lhe.DecisionState {
|
|
16567
16567
|
get stateType() {
|
|
16568
16568
|
return Fhe.ATNStateType.PLUS_LOOP_BACK;
|
|
@@ -16759,7 +16759,7 @@ var zhe = T && T.__decorate || function(t, e, n, r) {
|
|
|
16759
16759
|
};
|
|
16760
16760
|
Object.defineProperty(G5, "__esModule", { value: !0 });
|
|
16761
16761
|
G5.RuleStartState = void 0;
|
|
16762
|
-
const Qhe =
|
|
16762
|
+
const Qhe = Lu, Ghe = lr, Whe = Ee;
|
|
16763
16763
|
class fW extends Qhe.ATNState {
|
|
16764
16764
|
constructor() {
|
|
16765
16765
|
super(...arguments), this.isPrecedenceRule = !1, this.leftFactored = !1;
|
|
@@ -16814,7 +16814,7 @@ var Xhe = T && T.__decorate || function(t, e, n, r) {
|
|
|
16814
16814
|
};
|
|
16815
16815
|
Object.defineProperty(V5, "__esModule", { value: !0 });
|
|
16816
16816
|
V5.StarLoopbackState = void 0;
|
|
16817
|
-
const Zhe =
|
|
16817
|
+
const Zhe = Lu, e2e = lr, t2e = Ee;
|
|
16818
16818
|
class dW extends Zhe.ATNState {
|
|
16819
16819
|
get loopEntryState() {
|
|
16820
16820
|
return this.transition(0).target;
|
|
@@ -16843,7 +16843,7 @@ var n2e = T && T.__decorate || function(t, e, n, r) {
|
|
|
16843
16843
|
};
|
|
16844
16844
|
Object.defineProperty(Y5, "__esModule", { value: !0 });
|
|
16845
16845
|
Y5.TokensStartState = void 0;
|
|
16846
|
-
const r2e = lr, i2e =
|
|
16846
|
+
const r2e = lr, i2e = Fu, s2e = Ee;
|
|
16847
16847
|
class hW extends i2e.DecisionState {
|
|
16848
16848
|
get stateType() {
|
|
16849
16849
|
return r2e.ATNStateType.TOKEN_START;
|
|
@@ -16905,7 +16905,7 @@ function Nh() {
|
|
|
16905
16905
|
};
|
|
16906
16906
|
};
|
|
16907
16907
|
Object.defineProperty(q2, "__esModule", { value: !0 }), q2.ATNDeserializer = void 0;
|
|
16908
|
-
const n = um, r = Ro, i = wo(), s = om, o = lr, u = cm, a = L5, l = rm, c = Do, f = I5, x = Wf, h =
|
|
16908
|
+
const n = um, r = Ro, i = wo(), s = om, o = lr, u = cm, a = L5, l = rm, c = Do, f = I5, x = Wf, h = Fu, p = UG(), m = B5, g = Gf(), y = nm, E = $5, A = k5, _ = P5, v = ZG, C = eW, S = M5, b = tW, O = j5, F = hm, B = Ee, U = c8(), z = Dh(), X = q5, W = H5, ue = z5, ge = Em, he = Q5, oe = G5, ce = F0, pe = Sh, Ce = l8(), L = W5, N = V5, w = _h, P = Kt, G = Y5, H = K5, R = sm;
|
|
16909
16909
|
var $;
|
|
16910
16910
|
(function(Q) {
|
|
16911
16911
|
Q[Q.UNICODE_BMP = 0] = "UNICODE_BMP", Q[Q.UNICODE_SMP = 1] = "UNICODE_SMP";
|
|
@@ -17623,7 +17623,7 @@ function f8() {
|
|
|
17623
17623
|
};
|
|
17624
17624
|
};
|
|
17625
17625
|
Object.defineProperty(Y2, "__esModule", { value: !0 }), Y2.DefaultErrorStrategy = void 0;
|
|
17626
|
-
const n =
|
|
17626
|
+
const n = Lu, r = lr, i = I0, s = Vf, o = Gf(), u = gm(), a = Oo(), l = Kt, c = Ee;
|
|
17627
17627
|
let f = class {
|
|
17628
17628
|
constructor() {
|
|
17629
17629
|
this.errorRecoveryMode = !1, this.lastErrorIndex = -1, this.nextTokensState = n.ATNState.INVALID_STATE_NUMBER;
|
|
@@ -18620,7 +18620,7 @@ var Sm = {};
|
|
|
18620
18620
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
18621
18621
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
18622
18622
|
*/
|
|
18623
|
-
var
|
|
18623
|
+
var Bu = T && T.__decorate || function(t, e, n, r) {
|
|
18624
18624
|
var i = arguments.length, s = i < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, n) : r, o;
|
|
18625
18625
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
|
|
18626
18626
|
s = Reflect.decorate(t, e, n, r);
|
|
@@ -18631,7 +18631,7 @@ var Iu = T && T.__decorate || function(t, e, n, r) {
|
|
|
18631
18631
|
};
|
|
18632
18632
|
Object.defineProperty(Sm, "__esModule", { value: !0 });
|
|
18633
18633
|
Sm.CodePointCharStream = void 0;
|
|
18634
|
-
const Gk = fi(), dy = Va, A2e = ar,
|
|
18634
|
+
const Gk = fi(), dy = Va, A2e = ar, $u = Ee;
|
|
18635
18635
|
class ms {
|
|
18636
18636
|
// Use the factory method {@link #fromBuffer(CodePointBuffer)} to
|
|
18637
18637
|
// construct instances of this type.
|
|
@@ -18688,35 +18688,35 @@ class ms {
|
|
|
18688
18688
|
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)));
|
|
18689
18689
|
}
|
|
18690
18690
|
}
|
|
18691
|
-
|
|
18692
|
-
|
|
18691
|
+
Bu([
|
|
18692
|
+
$u.Override
|
|
18693
18693
|
], ms.prototype, "consume", null);
|
|
18694
|
-
|
|
18695
|
-
|
|
18694
|
+
Bu([
|
|
18695
|
+
$u.Override
|
|
18696
18696
|
], ms.prototype, "index", null);
|
|
18697
|
-
|
|
18698
|
-
|
|
18697
|
+
Bu([
|
|
18698
|
+
$u.Override
|
|
18699
18699
|
], ms.prototype, "size", null);
|
|
18700
|
-
|
|
18701
|
-
|
|
18700
|
+
Bu([
|
|
18701
|
+
$u.Override
|
|
18702
18702
|
], ms.prototype, "mark", null);
|
|
18703
|
-
|
|
18704
|
-
|
|
18703
|
+
Bu([
|
|
18704
|
+
$u.Override
|
|
18705
18705
|
], ms.prototype, "release", null);
|
|
18706
|
-
|
|
18707
|
-
|
|
18706
|
+
Bu([
|
|
18707
|
+
$u.Override
|
|
18708
18708
|
], ms.prototype, "seek", null);
|
|
18709
|
-
|
|
18710
|
-
|
|
18709
|
+
Bu([
|
|
18710
|
+
$u.Override
|
|
18711
18711
|
], ms.prototype, "sourceName", null);
|
|
18712
|
-
|
|
18713
|
-
|
|
18712
|
+
Bu([
|
|
18713
|
+
$u.Override
|
|
18714
18714
|
], ms.prototype, "toString", null);
|
|
18715
|
-
|
|
18716
|
-
|
|
18715
|
+
Bu([
|
|
18716
|
+
$u.Override
|
|
18717
18717
|
], ms.prototype, "LA", null);
|
|
18718
|
-
|
|
18719
|
-
|
|
18718
|
+
Bu([
|
|
18719
|
+
$u.Override
|
|
18720
18720
|
], ms.prototype, "getText", null);
|
|
18721
18721
|
Sm.CodePointCharStream = ms;
|
|
18722
18722
|
(function(t) {
|
|
@@ -19372,7 +19372,7 @@ function _W() {
|
|
|
19372
19372
|
};
|
|
19373
19373
|
};
|
|
19374
19374
|
Object.defineProperty(X2, "__esModule", { value: !0 }), X2.ParserInterpreter = void 0;
|
|
19375
|
-
const n =
|
|
19375
|
+
const n = Lu, r = lr, i = Do, s = I0, o = Vf, u = AW(), a = hm, l = Ee, c = Ee, f = Lh(), x = Dh(), h = Qs, p = _h, m = Kt;
|
|
19376
19376
|
let g = class bO extends f.Parser {
|
|
19377
19377
|
constructor(E, A, _, v, C) {
|
|
19378
19378
|
if (super(E instanceof bO ? E.inputStream : C), this._parentContextStack = [], this.overrideDecision = -1, this.overrideDecisionInputIndex = -1, this.overrideDecisionAlt = -1, this.overrideDecisionReached = !1, this._overrideDecisionRoot = void 0, E instanceof bO) {
|
|
@@ -22521,7 +22521,7 @@ var wt = {}, tpe = T && T.__createBinding || (Object.create ? function(t, e, n,
|
|
|
22521
22521
|
};
|
|
22522
22522
|
Object.defineProperty(wt, "__esModule", { value: !0 });
|
|
22523
22523
|
wt.PropertiesContext = wt.ArrayValueContext = wt.ReferenceContext = wt.ArrayElementContext = wt.EqValueContext = wt.PropNameContext = wt.IdentifierContext = wt.StringContext = wt.TagDefContext = wt.TagUpdatePropertiesContext = wt.TagReplacePropertiesContext = wt.TagEqContext = wt.TagSpecContext = wt.TagLineContext = wt.MalloyTagParser = void 0;
|
|
22524
|
-
const ipe = wo(), spe = Nh(), ope = I0, ZT = gm(), upe = Lh(),
|
|
22524
|
+
const ipe = wo(), spe = Nh(), ope = I0, ZT = gm(), upe = Lh(), ku = Gs(), ape = Dh(), qo = Qs, OP = Kt, lpe = gs, cpe = rpe(pn);
|
|
22525
22525
|
class me extends upe.Parser {
|
|
22526
22526
|
// @Override
|
|
22527
22527
|
// @NotNull
|
|
@@ -22571,7 +22571,7 @@ class me extends upe.Parser {
|
|
|
22571
22571
|
}
|
|
22572
22572
|
// @RuleVersion(0)
|
|
22573
22573
|
tagSpec() {
|
|
22574
|
-
let e = new
|
|
22574
|
+
let e = new pu(this._ctx, this.state);
|
|
22575
22575
|
this.enterRule(e, 2, me.RULE_tagSpec);
|
|
22576
22576
|
let n;
|
|
22577
22577
|
try {
|
|
@@ -22913,12 +22913,12 @@ Z\v
|
|
|
22913
22913
|
KM LELILJLKMNO\x07\x07OP
|
|
22914
22914
|
PQ\x07\bQRS\x07\vSX\bTU\x07\fUW\bVTWZXVXYY\\ZX[]\x07\f\\[\\]]^^_\x07\r_\`h\x07 ai\x07bdcbdgeceffigehaheijjk\x07
|
|
22915
22915
|
k"'/2=CGLX\\eh`;
|
|
22916
|
-
class SW extends
|
|
22916
|
+
class SW extends ku.ParserRuleContext {
|
|
22917
22917
|
EOF() {
|
|
22918
22918
|
return this.getToken(me.EOF, 0);
|
|
22919
22919
|
}
|
|
22920
22920
|
tagSpec(e) {
|
|
22921
|
-
return e === void 0 ? this.getRuleContexts(
|
|
22921
|
+
return e === void 0 ? this.getRuleContexts(pu) : this.getRuleContext(e, pu);
|
|
22922
22922
|
}
|
|
22923
22923
|
constructor(e, n) {
|
|
22924
22924
|
super(e, n);
|
|
@@ -22933,7 +22933,7 @@ class SW extends $u.ParserRuleContext {
|
|
|
22933
22933
|
}
|
|
22934
22934
|
}
|
|
22935
22935
|
wt.TagLineContext = SW;
|
|
22936
|
-
class
|
|
22936
|
+
class pu extends ku.ParserRuleContext {
|
|
22937
22937
|
constructor(e, n) {
|
|
22938
22938
|
super(e, n);
|
|
22939
22939
|
}
|
|
@@ -22945,8 +22945,8 @@ class hu extends $u.ParserRuleContext {
|
|
|
22945
22945
|
super.copyFrom(e);
|
|
22946
22946
|
}
|
|
22947
22947
|
}
|
|
22948
|
-
wt.TagSpecContext =
|
|
22949
|
-
class bW extends
|
|
22948
|
+
wt.TagSpecContext = pu;
|
|
22949
|
+
class bW extends pu {
|
|
22950
22950
|
propName() {
|
|
22951
22951
|
return this.getRuleContext(0, Kf);
|
|
22952
22952
|
}
|
|
@@ -22968,7 +22968,7 @@ class bW extends hu {
|
|
|
22968
22968
|
}
|
|
22969
22969
|
}
|
|
22970
22970
|
wt.TagEqContext = bW;
|
|
22971
|
-
class TW extends
|
|
22971
|
+
class TW extends pu {
|
|
22972
22972
|
propName() {
|
|
22973
22973
|
return this.getRuleContext(0, Kf);
|
|
22974
22974
|
}
|
|
@@ -22990,7 +22990,7 @@ class TW extends hu {
|
|
|
22990
22990
|
}
|
|
22991
22991
|
}
|
|
22992
22992
|
wt.TagReplacePropertiesContext = TW;
|
|
22993
|
-
class RW extends
|
|
22993
|
+
class RW extends pu {
|
|
22994
22994
|
propName() {
|
|
22995
22995
|
return this.getRuleContext(0, Kf);
|
|
22996
22996
|
}
|
|
@@ -23006,7 +23006,7 @@ class RW extends hu {
|
|
|
23006
23006
|
}
|
|
23007
23007
|
}
|
|
23008
23008
|
wt.TagUpdatePropertiesContext = RW;
|
|
23009
|
-
class OW extends
|
|
23009
|
+
class OW extends pu {
|
|
23010
23010
|
propName() {
|
|
23011
23011
|
return this.getRuleContext(0, Kf);
|
|
23012
23012
|
}
|
|
@@ -23022,7 +23022,7 @@ class OW extends hu {
|
|
|
23022
23022
|
}
|
|
23023
23023
|
}
|
|
23024
23024
|
wt.TagDefContext = OW;
|
|
23025
|
-
let r4 = class extends
|
|
23025
|
+
let r4 = class extends ku.ParserRuleContext {
|
|
23026
23026
|
SQ_STRING() {
|
|
23027
23027
|
return this.tryGetToken(me.SQ_STRING, 0);
|
|
23028
23028
|
}
|
|
@@ -23048,7 +23048,7 @@ let r4 = class extends $u.ParserRuleContext {
|
|
|
23048
23048
|
}
|
|
23049
23049
|
};
|
|
23050
23050
|
wt.StringContext = r4;
|
|
23051
|
-
class lA extends
|
|
23051
|
+
class lA extends ku.ParserRuleContext {
|
|
23052
23052
|
BQ_STRING() {
|
|
23053
23053
|
return this.tryGetToken(me.BQ_STRING, 0);
|
|
23054
23054
|
}
|
|
@@ -23068,7 +23068,7 @@ class lA extends $u.ParserRuleContext {
|
|
|
23068
23068
|
}
|
|
23069
23069
|
}
|
|
23070
23070
|
wt.IdentifierContext = lA;
|
|
23071
|
-
class Kf extends
|
|
23071
|
+
class Kf extends ku.ParserRuleContext {
|
|
23072
23072
|
identifier(e) {
|
|
23073
23073
|
return e === void 0 ? this.getRuleContexts(lA) : this.getRuleContext(e, lA);
|
|
23074
23074
|
}
|
|
@@ -23088,7 +23088,7 @@ class Kf extends $u.ParserRuleContext {
|
|
|
23088
23088
|
}
|
|
23089
23089
|
}
|
|
23090
23090
|
wt.PropNameContext = Kf;
|
|
23091
|
-
class y8 extends
|
|
23091
|
+
class y8 extends ku.ParserRuleContext {
|
|
23092
23092
|
string() {
|
|
23093
23093
|
return this.tryGetRuleContext(0, r4);
|
|
23094
23094
|
}
|
|
@@ -23111,7 +23111,7 @@ class y8 extends $u.ParserRuleContext {
|
|
|
23111
23111
|
}
|
|
23112
23112
|
}
|
|
23113
23113
|
wt.EqValueContext = y8;
|
|
23114
|
-
class cA extends
|
|
23114
|
+
class cA extends ku.ParserRuleContext {
|
|
23115
23115
|
string() {
|
|
23116
23116
|
return this.tryGetRuleContext(0, r4);
|
|
23117
23117
|
}
|
|
@@ -23137,7 +23137,7 @@ class cA extends $u.ParserRuleContext {
|
|
|
23137
23137
|
}
|
|
23138
23138
|
}
|
|
23139
23139
|
wt.ArrayElementContext = cA;
|
|
23140
|
-
class i4 extends
|
|
23140
|
+
class i4 extends ku.ParserRuleContext {
|
|
23141
23141
|
RF_BEG() {
|
|
23142
23142
|
return this.getToken(me.RF_BEG, 0);
|
|
23143
23143
|
}
|
|
@@ -23160,7 +23160,7 @@ class i4 extends $u.ParserRuleContext {
|
|
|
23160
23160
|
}
|
|
23161
23161
|
}
|
|
23162
23162
|
wt.ReferenceContext = i4;
|
|
23163
|
-
class s4 extends
|
|
23163
|
+
class s4 extends ku.ParserRuleContext {
|
|
23164
23164
|
AR_BEG() {
|
|
23165
23165
|
return this.getToken(me.AR_BEG, 0);
|
|
23166
23166
|
}
|
|
@@ -23186,7 +23186,7 @@ class s4 extends $u.ParserRuleContext {
|
|
|
23186
23186
|
}
|
|
23187
23187
|
}
|
|
23188
23188
|
wt.ArrayValueContext = s4;
|
|
23189
|
-
class Ih extends
|
|
23189
|
+
class Ih extends ku.ParserRuleContext {
|
|
23190
23190
|
PR_BEG() {
|
|
23191
23191
|
return this.getToken(me.PR_BEG, 0);
|
|
23192
23192
|
}
|
|
@@ -23197,7 +23197,7 @@ class Ih extends $u.ParserRuleContext {
|
|
|
23197
23197
|
return this.tryGetToken(me.DOTTY, 0);
|
|
23198
23198
|
}
|
|
23199
23199
|
tagSpec(e) {
|
|
23200
|
-
return e === void 0 ? this.getRuleContexts(
|
|
23200
|
+
return e === void 0 ? this.getRuleContexts(pu) : this.getRuleContext(e, pu);
|
|
23201
23201
|
}
|
|
23202
23202
|
constructor(e, n) {
|
|
23203
23203
|
super(e, n);
|
|
@@ -23229,7 +23229,7 @@ var u4 = {};
|
|
|
23229
23229
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
23230
23230
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
23231
23231
|
*/
|
|
23232
|
-
var
|
|
23232
|
+
var Pu = T && T.__decorate || function(t, e, n, r) {
|
|
23233
23233
|
var i = arguments.length, s = i < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, n) : r, o;
|
|
23234
23234
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
|
|
23235
23235
|
s = Reflect.decorate(t, e, n, r);
|
|
@@ -23240,7 +23240,7 @@ var ku = T && T.__decorate || function(t, e, n, r) {
|
|
|
23240
23240
|
};
|
|
23241
23241
|
Object.defineProperty(u4, "__esModule", { value: !0 });
|
|
23242
23242
|
u4.ANTLRInputStream = void 0;
|
|
23243
|
-
const fpe = fi(),
|
|
23243
|
+
const fpe = fi(), Mu = Ee, hy = Va;
|
|
23244
23244
|
class Fo {
|
|
23245
23245
|
/** Copy data in string to a local char array */
|
|
23246
23246
|
constructor(e) {
|
|
@@ -23304,35 +23304,35 @@ class Fo {
|
|
|
23304
23304
|
return this.data;
|
|
23305
23305
|
}
|
|
23306
23306
|
}
|
|
23307
|
-
|
|
23308
|
-
|
|
23307
|
+
Pu([
|
|
23308
|
+
Mu.Override
|
|
23309
23309
|
], Fo.prototype, "consume", null);
|
|
23310
|
-
|
|
23311
|
-
|
|
23310
|
+
Pu([
|
|
23311
|
+
Mu.Override
|
|
23312
23312
|
], Fo.prototype, "LA", null);
|
|
23313
|
-
|
|
23314
|
-
|
|
23313
|
+
Pu([
|
|
23314
|
+
Mu.Override
|
|
23315
23315
|
], Fo.prototype, "index", null);
|
|
23316
|
-
|
|
23317
|
-
|
|
23316
|
+
Pu([
|
|
23317
|
+
Mu.Override
|
|
23318
23318
|
], Fo.prototype, "size", null);
|
|
23319
|
-
|
|
23320
|
-
|
|
23319
|
+
Pu([
|
|
23320
|
+
Mu.Override
|
|
23321
23321
|
], Fo.prototype, "mark", null);
|
|
23322
|
-
|
|
23323
|
-
|
|
23322
|
+
Pu([
|
|
23323
|
+
Mu.Override
|
|
23324
23324
|
], Fo.prototype, "release", null);
|
|
23325
|
-
|
|
23326
|
-
|
|
23325
|
+
Pu([
|
|
23326
|
+
Mu.Override
|
|
23327
23327
|
], Fo.prototype, "seek", null);
|
|
23328
|
-
|
|
23329
|
-
|
|
23328
|
+
Pu([
|
|
23329
|
+
Mu.Override
|
|
23330
23330
|
], Fo.prototype, "getText", null);
|
|
23331
|
-
|
|
23332
|
-
|
|
23331
|
+
Pu([
|
|
23332
|
+
Mu.Override
|
|
23333
23333
|
], Fo.prototype, "sourceName", null);
|
|
23334
|
-
|
|
23335
|
-
|
|
23334
|
+
Pu([
|
|
23335
|
+
Mu.Override
|
|
23336
23336
|
], Fo.prototype, "toString", null);
|
|
23337
23337
|
u4.ANTLRInputStream = Fo;
|
|
23338
23338
|
var wW = {};
|
|
@@ -23477,7 +23477,7 @@ var $0 = T && T.__decorate || function(t, e, n, r) {
|
|
|
23477
23477
|
Object.defineProperty(l4, "__esModule", { value: !0 });
|
|
23478
23478
|
l4.LexerInterpreter = void 0;
|
|
23479
23479
|
const hpe = Ka(), ppe = tm(), LW = Ee, $h = Ee;
|
|
23480
|
-
let
|
|
23480
|
+
let gu = class extends hpe.Lexer {
|
|
23481
23481
|
constructor(e, n, r, i, s, o, u) {
|
|
23482
23482
|
if (super(u), o.grammarType !== 0)
|
|
23483
23483
|
throw new Error("IllegalArgumentException: The ATN must be a lexer ATN.");
|
|
@@ -23504,29 +23504,29 @@ let pu = class extends hpe.Lexer {
|
|
|
23504
23504
|
};
|
|
23505
23505
|
$0([
|
|
23506
23506
|
LW.NotNull
|
|
23507
|
-
],
|
|
23507
|
+
], gu.prototype, "_vocabulary", void 0);
|
|
23508
23508
|
$0([
|
|
23509
23509
|
$h.Override
|
|
23510
|
-
],
|
|
23510
|
+
], gu.prototype, "atn", null);
|
|
23511
23511
|
$0([
|
|
23512
23512
|
$h.Override
|
|
23513
|
-
],
|
|
23513
|
+
], gu.prototype, "grammarFileName", null);
|
|
23514
23514
|
$0([
|
|
23515
23515
|
$h.Override
|
|
23516
|
-
],
|
|
23516
|
+
], gu.prototype, "ruleNames", null);
|
|
23517
23517
|
$0([
|
|
23518
23518
|
$h.Override
|
|
23519
|
-
],
|
|
23519
|
+
], gu.prototype, "channelNames", null);
|
|
23520
23520
|
$0([
|
|
23521
23521
|
$h.Override
|
|
23522
|
-
],
|
|
23522
|
+
], gu.prototype, "modeNames", null);
|
|
23523
23523
|
$0([
|
|
23524
23524
|
$h.Override
|
|
23525
|
-
],
|
|
23526
|
-
|
|
23525
|
+
], gu.prototype, "vocabulary", null);
|
|
23526
|
+
gu = $0([
|
|
23527
23527
|
dpe(1, LW.NotNull)
|
|
23528
|
-
],
|
|
23529
|
-
l4.LexerInterpreter =
|
|
23528
|
+
], gu);
|
|
23529
|
+
l4.LexerInterpreter = gu;
|
|
23530
23530
|
var IW = {};
|
|
23531
23531
|
/*!
|
|
23532
23532
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -24994,7 +24994,7 @@ class Yr {
|
|
|
24994
24994
|
return this.analyticalSQL === void 0 ? this.getSQL() : e && this.partitionSQL ? this.partitionSQL : this.analyticalSQL;
|
|
24995
24995
|
}
|
|
24996
24996
|
}
|
|
24997
|
-
class
|
|
24997
|
+
class Yo {
|
|
24998
24998
|
constructor(e, n) {
|
|
24999
24999
|
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];
|
|
25000
25000
|
}
|
|
@@ -25096,7 +25096,7 @@ class Vo {
|
|
|
25096
25096
|
structs() {
|
|
25097
25097
|
const e = [];
|
|
25098
25098
|
for (const n of this.allFields.values())
|
|
25099
|
-
n instanceof
|
|
25099
|
+
n instanceof Yo && e.push(n);
|
|
25100
25100
|
return e;
|
|
25101
25101
|
}
|
|
25102
25102
|
// return a list of structs that match the criteria
|
|
@@ -25174,7 +25174,7 @@ class Vo {
|
|
|
25174
25174
|
e.assignFieldsToGroups();
|
|
25175
25175
|
}
|
|
25176
25176
|
}
|
|
25177
|
-
class Gpe extends
|
|
25177
|
+
class Gpe extends Yo {
|
|
25178
25178
|
constructor(e) {
|
|
25179
25179
|
super(e, void 0), this.joins = /* @__PURE__ */ new Map(), this.havings = new dn.AndChain(), this.isComplexQuery = !1, this.queryUsesPartitioning = !1, this.computeOnlyGroups = [], this.elimatedComputeGroups = !1;
|
|
25180
25180
|
}
|
|
@@ -25364,7 +25364,7 @@ class es extends A8 {
|
|
|
25364
25364
|
if (s instanceof es) {
|
|
25365
25365
|
if (this.firstSegment.type === "project")
|
|
25366
25366
|
throw new Error(`Nested views cannot be used in select - '${s.fieldDef.name}'`);
|
|
25367
|
-
const o = new
|
|
25367
|
+
const o = new Yo(s.fieldDef, e);
|
|
25368
25368
|
this.expandFields(o), e.add(i, o);
|
|
25369
25369
|
} else if (s instanceof ys) {
|
|
25370
25370
|
if (e.addField(i, s, {
|
|
@@ -25442,7 +25442,7 @@ class es extends A8 {
|
|
|
25442
25442
|
} : void 0;
|
|
25443
25443
|
}
|
|
25444
25444
|
return;
|
|
25445
|
-
} else if (e instanceof
|
|
25445
|
+
} else if (e instanceof Yo) {
|
|
25446
25446
|
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, Le.isRawSegment)(s) ? void 0 : s.limit;
|
|
25447
25447
|
let u;
|
|
25448
25448
|
if ((0, Le.isQuerySegment)(s) && (u = s.orderBy), n)
|
|
@@ -25464,7 +25464,7 @@ class es extends A8 {
|
|
|
25464
25464
|
let s = 0;
|
|
25465
25465
|
for (const [u, a] of e.allFields) {
|
|
25466
25466
|
const l = this.getResultMetadata(a);
|
|
25467
|
-
if (a instanceof
|
|
25467
|
+
if (a instanceof Yo) {
|
|
25468
25468
|
const { structDef: c } = this.generateTurtlePipelineSQL(a, new xA(!0, void 0), "<nosource>");
|
|
25469
25469
|
if (a.getRepeatedResultType() === "nested") {
|
|
25470
25470
|
const f = {
|
|
@@ -25717,7 +25717,7 @@ ${(0, dn.indent)(h)}) AS ${n.alias}
|
|
|
25717
25717
|
} else
|
|
25718
25718
|
gy(l.f) && (n.sql.push(`${f} as ${c}`), n.fieldIndex++);
|
|
25719
25719
|
}
|
|
25720
|
-
} else if (l instanceof
|
|
25720
|
+
} else if (l instanceof Yo) {
|
|
25721
25721
|
if (l.firstSegment.type === "reduce")
|
|
25722
25722
|
this.generateStage0Fields(l, n, r);
|
|
25723
25723
|
else if (l.firstSegment.type === "project") {
|
|
@@ -25814,7 +25814,7 @@ WHERE NOT (${s.sqlOr()})`);
|
|
|
25814
25814
|
r.sql.push(`${l} as ${a}`), r.fieldIndex++;
|
|
25815
25815
|
}
|
|
25816
25816
|
}
|
|
25817
|
-
} else if (u instanceof
|
|
25817
|
+
} else if (u instanceof Yo && !(u.depth > e))
|
|
25818
25818
|
if (u.depth === e) {
|
|
25819
25819
|
const l = this.generateTurtleSQL(u, i, a, r.outputPipelinedSQL);
|
|
25820
25820
|
r.groupsAggregated.push({
|
|
@@ -25859,7 +25859,7 @@ WHERE NOT (${s.sqlOr()})`);
|
|
|
25859
25859
|
const o = [], u = [];
|
|
25860
25860
|
for (const [l, c] of this.rootResult.allFields) {
|
|
25861
25861
|
const f = this.parent.dialect.sqlMaybeQuoteIdentifier(l);
|
|
25862
|
-
c instanceof Yr ? c.fieldUsage.type === "result" && (xr(c.f) ? (i.push(this.parent.dialect.sqlMaybeQuoteIdentifier(`${l}__${this.rootResult.groupSet}`) + ` as ${f}`), u.push(s++)) : gy(c.f) && (i.push(this.parent.dialect.sqlAnyValueLastTurtle(this.parent.dialect.sqlMaybeQuoteIdentifier(`${l}__${this.rootResult.groupSet}`), this.rootResult.groupSet, f)), s++)) : c instanceof
|
|
25862
|
+
c instanceof Yr ? c.fieldUsage.type === "result" && (xr(c.f) ? (i.push(this.parent.dialect.sqlMaybeQuoteIdentifier(`${l}__${this.rootResult.groupSet}`) + ` as ${f}`), u.push(s++)) : gy(c.f) && (i.push(this.parent.dialect.sqlAnyValueLastTurtle(this.parent.dialect.sqlMaybeQuoteIdentifier(`${l}__${this.rootResult.groupSet}`), this.rootResult.groupSet, f)), s++)) : c instanceof Yo && (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++));
|
|
25863
25863
|
}
|
|
25864
25864
|
r += (0, dn.indent)(i.join(`,
|
|
25865
25865
|
`)) + `
|
|
@@ -25876,7 +25876,7 @@ FROM ${n}
|
|
|
25876
25876
|
const n = [];
|
|
25877
25877
|
for (const [r, i] of e.allFields) {
|
|
25878
25878
|
const s = this.parent.dialect.sqlMaybeQuoteIdentifier(r);
|
|
25879
|
-
if (e.firstSegment.type === "reduce" && i instanceof
|
|
25879
|
+
if (e.firstSegment.type === "reduce" && i instanceof Yo) {
|
|
25880
25880
|
const o = {
|
|
25881
25881
|
type: "struct",
|
|
25882
25882
|
sqlExpression: this.parent.dialect.sqlMaybeQuoteIdentifier(`${r}__${e.groupSet}`),
|
|
@@ -26678,7 +26678,7 @@ Zc.QueryModel = XW;
|
|
|
26678
26678
|
return i.composeSQLExpr;
|
|
26679
26679
|
} });
|
|
26680
26680
|
})(hs);
|
|
26681
|
-
var S8 = {},
|
|
26681
|
+
var S8 = {}, ru = {}, g4 = {}, e1e = T && T.__createBinding || (Object.create ? function(t, e, n, r) {
|
|
26682
26682
|
r === void 0 && (r = n);
|
|
26683
26683
|
var i = Object.getOwnPropertyDescriptor(e, n);
|
|
26684
26684
|
(!i || ("get" in i ? !e.__esModule : i.writable || i.configurable)) && (i = { enumerable: !0, get: function() {
|
|
@@ -28587,7 +28587,7 @@ class d extends x1e.Parser {
|
|
|
28587
28587
|
}
|
|
28588
28588
|
// @RuleVersion(0)
|
|
28589
28589
|
accessLabel() {
|
|
28590
|
-
let e = new
|
|
28590
|
+
let e = new ju(this._ctx, this.state);
|
|
28591
28591
|
this.enterRule(e, 70, d.RULE_accessLabel);
|
|
28592
28592
|
let n;
|
|
28593
28593
|
try {
|
|
@@ -30671,7 +30671,7 @@ class d extends x1e.Parser {
|
|
|
30671
30671
|
}
|
|
30672
30672
|
// @RuleVersion(0)
|
|
30673
30673
|
string() {
|
|
30674
|
-
let e = new
|
|
30674
|
+
let e = new Uu(this._ctx, this.state);
|
|
30675
30675
|
this.enterRule(e, 224, d.RULE_string);
|
|
30676
30676
|
try {
|
|
30677
30677
|
switch (this.state = 1158, this._errHandler.sync(this), this._input.LA(1)) {
|
|
@@ -30731,7 +30731,7 @@ class d extends x1e.Parser {
|
|
|
30731
30731
|
}
|
|
30732
30732
|
// @RuleVersion(0)
|
|
30733
30733
|
literal() {
|
|
30734
|
-
let e = new
|
|
30734
|
+
let e = new qu(this._ctx, this.state);
|
|
30735
30735
|
this.enterRule(e, 230, d.RULE_literal);
|
|
30736
30736
|
let n;
|
|
30737
30737
|
try {
|
|
@@ -30782,7 +30782,7 @@ class d extends x1e.Parser {
|
|
|
30782
30782
|
}
|
|
30783
30783
|
// @RuleVersion(0)
|
|
30784
30784
|
dateLiteral() {
|
|
30785
|
-
let e = new
|
|
30785
|
+
let e = new Hu(this._ctx, this.state);
|
|
30786
30786
|
this.enterRule(e, 232, d.RULE_dateLiteral);
|
|
30787
30787
|
try {
|
|
30788
30788
|
switch (this.state = 1180, this._errHandler.sync(this), this._input.LA(1)) {
|
|
@@ -31656,7 +31656,7 @@ class d extends x1e.Parser {
|
|
|
31656
31656
|
}
|
|
31657
31657
|
// @RuleVersion(0)
|
|
31658
31658
|
fieldPath() {
|
|
31659
|
-
let e = new
|
|
31659
|
+
let e = new zu(this._ctx, this.state);
|
|
31660
31660
|
this.enterRule(e, 284, d.RULE_fieldPath);
|
|
31661
31661
|
try {
|
|
31662
31662
|
let n;
|
|
@@ -33337,7 +33337,7 @@ class pA extends de.ParserRuleContext {
|
|
|
33337
33337
|
D.ImportItemContext = pA;
|
|
33338
33338
|
class D8 extends de.ParserRuleContext {
|
|
33339
33339
|
string() {
|
|
33340
|
-
return this.getRuleContext(0,
|
|
33340
|
+
return this.getRuleContext(0, Uu);
|
|
33341
33341
|
}
|
|
33342
33342
|
constructor(e, n) {
|
|
33343
33343
|
super(e, n);
|
|
@@ -34154,7 +34154,7 @@ class hV extends qr {
|
|
|
34154
34154
|
return this.getRuleContext(0, U8);
|
|
34155
34155
|
}
|
|
34156
34156
|
accessLabel() {
|
|
34157
|
-
return this.tryGetRuleContext(0,
|
|
34157
|
+
return this.tryGetRuleContext(0, ju);
|
|
34158
34158
|
}
|
|
34159
34159
|
constructor(e) {
|
|
34160
34160
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -34214,7 +34214,7 @@ class gV extends qr {
|
|
|
34214
34214
|
return this.tryGetToken(d.VIEW, 0);
|
|
34215
34215
|
}
|
|
34216
34216
|
accessLabel() {
|
|
34217
|
-
return this.tryGetRuleContext(0,
|
|
34217
|
+
return this.tryGetRuleContext(0, ju);
|
|
34218
34218
|
}
|
|
34219
34219
|
constructor(e) {
|
|
34220
34220
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -34296,7 +34296,7 @@ class EV extends qr {
|
|
|
34296
34296
|
}
|
|
34297
34297
|
}
|
|
34298
34298
|
D.DefIgnoreModel_stubContext = EV;
|
|
34299
|
-
class
|
|
34299
|
+
class ju extends de.ParserRuleContext {
|
|
34300
34300
|
PUBLIC_KW() {
|
|
34301
34301
|
return this.tryGetToken(d.PUBLIC_KW, 0);
|
|
34302
34302
|
}
|
|
@@ -34326,7 +34326,7 @@ class Mu extends de.ParserRuleContext {
|
|
|
34326
34326
|
return e.visitAccessLabel ? e.visitAccessLabel(this) : e.visitChildren(this);
|
|
34327
34327
|
}
|
|
34328
34328
|
}
|
|
34329
|
-
D.AccessLabelContext =
|
|
34329
|
+
D.AccessLabelContext = ju;
|
|
34330
34330
|
class AV extends de.ParserRuleContext {
|
|
34331
34331
|
fieldNameList() {
|
|
34332
34332
|
return this.tryGetRuleContext(0, wd);
|
|
@@ -34369,7 +34369,7 @@ class v4 extends de.ParserRuleContext {
|
|
|
34369
34369
|
return this.getRuleContext(0, Nm);
|
|
34370
34370
|
}
|
|
34371
34371
|
accessLabel() {
|
|
34372
|
-
return this.tryGetRuleContext(0,
|
|
34372
|
+
return this.tryGetRuleContext(0, ju);
|
|
34373
34373
|
}
|
|
34374
34374
|
constructor(e, n) {
|
|
34375
34375
|
super(e, n);
|
|
@@ -34403,7 +34403,7 @@ class C4 extends de.ParserRuleContext {
|
|
|
34403
34403
|
return this.getRuleContext(0, Nm);
|
|
34404
34404
|
}
|
|
34405
34405
|
accessLabel() {
|
|
34406
|
-
return this.tryGetRuleContext(0,
|
|
34406
|
+
return this.tryGetRuleContext(0, ju);
|
|
34407
34407
|
}
|
|
34408
34408
|
constructor(e, n) {
|
|
34409
34409
|
super(e, n);
|
|
@@ -34602,7 +34602,7 @@ class wm extends de.ParserRuleContext {
|
|
|
34602
34602
|
return this.getRuleContext(0, Nm);
|
|
34603
34603
|
}
|
|
34604
34604
|
accessLabel() {
|
|
34605
|
-
return this.tryGetRuleContext(0,
|
|
34605
|
+
return this.tryGetRuleContext(0, ju);
|
|
34606
34606
|
}
|
|
34607
34607
|
constructor(e, n) {
|
|
34608
34608
|
super(e, n);
|
|
@@ -34649,7 +34649,7 @@ class _V extends nl {
|
|
|
34649
34649
|
return this.getRuleContext(0, Fm);
|
|
34650
34650
|
}
|
|
34651
34651
|
accessLabel() {
|
|
34652
|
-
return this.tryGetRuleContext(0,
|
|
34652
|
+
return this.tryGetRuleContext(0, ju);
|
|
34653
34653
|
}
|
|
34654
34654
|
constructor(e) {
|
|
34655
34655
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -34679,7 +34679,7 @@ class vV extends nl {
|
|
|
34679
34679
|
return this.getRuleContext(0, Fm);
|
|
34680
34680
|
}
|
|
34681
34681
|
accessLabel() {
|
|
34682
|
-
return this.tryGetRuleContext(0,
|
|
34682
|
+
return this.tryGetRuleContext(0, ju);
|
|
34683
34683
|
}
|
|
34684
34684
|
constructor(e) {
|
|
34685
34685
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -34709,7 +34709,7 @@ class CV extends nl {
|
|
|
34709
34709
|
return this.getRuleContext(0, Fm);
|
|
34710
34710
|
}
|
|
34711
34711
|
accessLabel() {
|
|
34712
|
-
return this.tryGetRuleContext(0,
|
|
34712
|
+
return this.tryGetRuleContext(0, ju);
|
|
34713
34713
|
}
|
|
34714
34714
|
constructor(e) {
|
|
34715
34715
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -35396,7 +35396,7 @@ class ts extends de.ParserRuleContext {
|
|
|
35396
35396
|
D.SegExprContext = ts;
|
|
35397
35397
|
class IV extends ts {
|
|
35398
35398
|
fieldPath() {
|
|
35399
|
-
return this.getRuleContext(0,
|
|
35399
|
+
return this.getRuleContext(0, zu);
|
|
35400
35400
|
}
|
|
35401
35401
|
constructor(e) {
|
|
35402
35402
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -36816,7 +36816,7 @@ class pw extends de.ParserRuleContext {
|
|
|
36816
36816
|
D.TopStatementContext = pw;
|
|
36817
36817
|
class wA extends de.ParserRuleContext {
|
|
36818
36818
|
fieldPath() {
|
|
36819
|
-
return this.tryGetRuleContext(0,
|
|
36819
|
+
return this.tryGetRuleContext(0, zu);
|
|
36820
36820
|
}
|
|
36821
36821
|
DOT() {
|
|
36822
36822
|
return this.tryGetToken(d.DOT, 0);
|
|
@@ -36940,7 +36940,7 @@ class w4 extends de.ParserRuleContext {
|
|
|
36940
36940
|
return this.getToken(d.TIMEZONE, 0);
|
|
36941
36941
|
}
|
|
36942
36942
|
string() {
|
|
36943
|
-
return this.getRuleContext(0,
|
|
36943
|
+
return this.getRuleContext(0, Uu);
|
|
36944
36944
|
}
|
|
36945
36945
|
constructor(e, n) {
|
|
36946
36946
|
super(e, n);
|
|
@@ -37142,7 +37142,7 @@ class F4 extends de.ParserRuleContext {
|
|
|
37142
37142
|
}
|
|
37143
37143
|
}
|
|
37144
37144
|
D.CompareOpContext = F4;
|
|
37145
|
-
class
|
|
37145
|
+
class Uu extends de.ParserRuleContext {
|
|
37146
37146
|
shortString() {
|
|
37147
37147
|
return this.tryGetRuleContext(0, L4);
|
|
37148
37148
|
}
|
|
@@ -37169,7 +37169,7 @@ class ju extends de.ParserRuleContext {
|
|
|
37169
37169
|
return e.visitString ? e.visitString(this) : e.visitChildren(this);
|
|
37170
37170
|
}
|
|
37171
37171
|
}
|
|
37172
|
-
D.StringContext =
|
|
37172
|
+
D.StringContext = Uu;
|
|
37173
37173
|
class L4 extends de.ParserRuleContext {
|
|
37174
37174
|
SQ_STRING() {
|
|
37175
37175
|
return this.tryGetToken(d.SQ_STRING, 0);
|
|
@@ -37226,7 +37226,7 @@ class _w extends de.ParserRuleContext {
|
|
|
37226
37226
|
}
|
|
37227
37227
|
}
|
|
37228
37228
|
D.NumericLiteralContext = _w;
|
|
37229
|
-
class
|
|
37229
|
+
class qu extends de.ParserRuleContext {
|
|
37230
37230
|
constructor(e, n) {
|
|
37231
37231
|
super(e, n);
|
|
37232
37232
|
}
|
|
@@ -37238,10 +37238,10 @@ class Uu extends de.ParserRuleContext {
|
|
|
37238
37238
|
super.copyFrom(e);
|
|
37239
37239
|
}
|
|
37240
37240
|
}
|
|
37241
|
-
D.LiteralContext =
|
|
37242
|
-
class QV extends
|
|
37241
|
+
D.LiteralContext = qu;
|
|
37242
|
+
class QV extends qu {
|
|
37243
37243
|
string() {
|
|
37244
|
-
return this.getRuleContext(0,
|
|
37244
|
+
return this.getRuleContext(0, Uu);
|
|
37245
37245
|
}
|
|
37246
37246
|
constructor(e) {
|
|
37247
37247
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -37260,7 +37260,7 @@ class QV extends Uu {
|
|
|
37260
37260
|
}
|
|
37261
37261
|
}
|
|
37262
37262
|
D.ExprStringContext = QV;
|
|
37263
|
-
class GV extends
|
|
37263
|
+
class GV extends qu {
|
|
37264
37264
|
numericLiteral() {
|
|
37265
37265
|
return this.getRuleContext(0, _w);
|
|
37266
37266
|
}
|
|
@@ -37281,9 +37281,9 @@ class GV extends Uu {
|
|
|
37281
37281
|
}
|
|
37282
37282
|
}
|
|
37283
37283
|
D.ExprNumberContext = GV;
|
|
37284
|
-
class WV extends
|
|
37284
|
+
class WV extends qu {
|
|
37285
37285
|
dateLiteral() {
|
|
37286
|
-
return this.getRuleContext(0,
|
|
37286
|
+
return this.getRuleContext(0, Hu);
|
|
37287
37287
|
}
|
|
37288
37288
|
constructor(e) {
|
|
37289
37289
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -37302,7 +37302,7 @@ class WV extends Uu {
|
|
|
37302
37302
|
}
|
|
37303
37303
|
}
|
|
37304
37304
|
D.ExprTimeContext = WV;
|
|
37305
|
-
class VV extends
|
|
37305
|
+
class VV extends qu {
|
|
37306
37306
|
NULL() {
|
|
37307
37307
|
return this.getToken(d.NULL, 0);
|
|
37308
37308
|
}
|
|
@@ -37323,7 +37323,7 @@ class VV extends Uu {
|
|
|
37323
37323
|
}
|
|
37324
37324
|
}
|
|
37325
37325
|
D.ExprNULLContext = VV;
|
|
37326
|
-
class YV extends
|
|
37326
|
+
class YV extends qu {
|
|
37327
37327
|
TRUE() {
|
|
37328
37328
|
return this.tryGetToken(d.TRUE, 0);
|
|
37329
37329
|
}
|
|
@@ -37347,7 +37347,7 @@ class YV extends Uu {
|
|
|
37347
37347
|
}
|
|
37348
37348
|
}
|
|
37349
37349
|
D.ExprBoolContext = YV;
|
|
37350
|
-
class KV extends
|
|
37350
|
+
class KV extends qu {
|
|
37351
37351
|
HACKY_REGEX() {
|
|
37352
37352
|
return this.getToken(d.HACKY_REGEX, 0);
|
|
37353
37353
|
}
|
|
@@ -37368,7 +37368,7 @@ class KV extends Uu {
|
|
|
37368
37368
|
}
|
|
37369
37369
|
}
|
|
37370
37370
|
D.ExprRegexContext = KV;
|
|
37371
|
-
class JV extends
|
|
37371
|
+
class JV extends qu {
|
|
37372
37372
|
NOW() {
|
|
37373
37373
|
return this.getToken(d.NOW, 0);
|
|
37374
37374
|
}
|
|
@@ -37389,7 +37389,7 @@ class JV extends Uu {
|
|
|
37389
37389
|
}
|
|
37390
37390
|
}
|
|
37391
37391
|
D.ExprNowContext = JV;
|
|
37392
|
-
class
|
|
37392
|
+
class Hu extends de.ParserRuleContext {
|
|
37393
37393
|
constructor(e, n) {
|
|
37394
37394
|
super(e, n);
|
|
37395
37395
|
}
|
|
@@ -37401,8 +37401,8 @@ class qu extends de.ParserRuleContext {
|
|
|
37401
37401
|
super.copyFrom(e);
|
|
37402
37402
|
}
|
|
37403
37403
|
}
|
|
37404
|
-
D.DateLiteralContext =
|
|
37405
|
-
class XV extends
|
|
37404
|
+
D.DateLiteralContext = Hu;
|
|
37405
|
+
class XV extends Hu {
|
|
37406
37406
|
LITERAL_TIMESTAMP() {
|
|
37407
37407
|
return this.getToken(d.LITERAL_TIMESTAMP, 0);
|
|
37408
37408
|
}
|
|
@@ -37423,7 +37423,7 @@ class XV extends qu {
|
|
|
37423
37423
|
}
|
|
37424
37424
|
}
|
|
37425
37425
|
D.LiteralTimestampContext = XV;
|
|
37426
|
-
class ZV extends
|
|
37426
|
+
class ZV extends Hu {
|
|
37427
37427
|
LITERAL_HOUR() {
|
|
37428
37428
|
return this.getToken(d.LITERAL_HOUR, 0);
|
|
37429
37429
|
}
|
|
@@ -37444,7 +37444,7 @@ class ZV extends qu {
|
|
|
37444
37444
|
}
|
|
37445
37445
|
}
|
|
37446
37446
|
D.LiteralHourContext = ZV;
|
|
37447
|
-
class eY extends
|
|
37447
|
+
class eY extends Hu {
|
|
37448
37448
|
LITERAL_DAY() {
|
|
37449
37449
|
return this.getToken(d.LITERAL_DAY, 0);
|
|
37450
37450
|
}
|
|
@@ -37465,7 +37465,7 @@ class eY extends qu {
|
|
|
37465
37465
|
}
|
|
37466
37466
|
}
|
|
37467
37467
|
D.LiteralDayContext = eY;
|
|
37468
|
-
class tY extends
|
|
37468
|
+
class tY extends Hu {
|
|
37469
37469
|
LITERAL_WEEK() {
|
|
37470
37470
|
return this.getToken(d.LITERAL_WEEK, 0);
|
|
37471
37471
|
}
|
|
@@ -37486,7 +37486,7 @@ class tY extends qu {
|
|
|
37486
37486
|
}
|
|
37487
37487
|
}
|
|
37488
37488
|
D.LiteralWeekContext = tY;
|
|
37489
|
-
class nY extends
|
|
37489
|
+
class nY extends Hu {
|
|
37490
37490
|
LITERAL_MONTH() {
|
|
37491
37491
|
return this.getToken(d.LITERAL_MONTH, 0);
|
|
37492
37492
|
}
|
|
@@ -37507,7 +37507,7 @@ class nY extends qu {
|
|
|
37507
37507
|
}
|
|
37508
37508
|
}
|
|
37509
37509
|
D.LiteralMonthContext = nY;
|
|
37510
|
-
class rY extends
|
|
37510
|
+
class rY extends Hu {
|
|
37511
37511
|
LITERAL_QUARTER() {
|
|
37512
37512
|
return this.getToken(d.LITERAL_QUARTER, 0);
|
|
37513
37513
|
}
|
|
@@ -37528,7 +37528,7 @@ class rY extends qu {
|
|
|
37528
37528
|
}
|
|
37529
37529
|
}
|
|
37530
37530
|
D.LiteralQuarterContext = rY;
|
|
37531
|
-
class iY extends
|
|
37531
|
+
class iY extends Hu {
|
|
37532
37532
|
LITERAL_YEAR() {
|
|
37533
37533
|
return this.getToken(d.LITERAL_YEAR, 0);
|
|
37534
37534
|
}
|
|
@@ -37551,7 +37551,7 @@ class iY extends qu {
|
|
|
37551
37551
|
D.LiteralYearContext = iY;
|
|
37552
37552
|
class vw extends de.ParserRuleContext {
|
|
37553
37553
|
string() {
|
|
37554
|
-
return this.getRuleContext(0,
|
|
37554
|
+
return this.getRuleContext(0, Uu);
|
|
37555
37555
|
}
|
|
37556
37556
|
constructor(e, n) {
|
|
37557
37557
|
super(e, n);
|
|
@@ -37576,7 +37576,7 @@ class vw extends de.ParserRuleContext {
|
|
|
37576
37576
|
D.TablePathContext = vw;
|
|
37577
37577
|
class Cw extends de.ParserRuleContext {
|
|
37578
37578
|
string() {
|
|
37579
|
-
return this.getRuleContext(0,
|
|
37579
|
+
return this.getRuleContext(0, Uu);
|
|
37580
37580
|
}
|
|
37581
37581
|
constructor(e, n) {
|
|
37582
37582
|
super(e, n);
|
|
@@ -37706,7 +37706,7 @@ class I4 extends de.ParserRuleContext {
|
|
|
37706
37706
|
return this.tryGetRuleContext(0, Bm);
|
|
37707
37707
|
}
|
|
37708
37708
|
string() {
|
|
37709
|
-
return this.tryGetRuleContext(0,
|
|
37709
|
+
return this.tryGetRuleContext(0, Uu);
|
|
37710
37710
|
}
|
|
37711
37711
|
constructor(e, n) {
|
|
37712
37712
|
super(e, n);
|
|
@@ -37744,7 +37744,7 @@ class Se extends de.ParserRuleContext {
|
|
|
37744
37744
|
D.FieldExprContext = Se;
|
|
37745
37745
|
class sY extends Se {
|
|
37746
37746
|
fieldPath() {
|
|
37747
|
-
return this.getRuleContext(0,
|
|
37747
|
+
return this.getRuleContext(0, zu);
|
|
37748
37748
|
}
|
|
37749
37749
|
constructor(e) {
|
|
37750
37750
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -37765,7 +37765,7 @@ class sY extends Se {
|
|
|
37765
37765
|
D.ExprFieldPathContext = sY;
|
|
37766
37766
|
class oY extends Se {
|
|
37767
37767
|
literal() {
|
|
37768
|
-
return this.getRuleContext(0,
|
|
37768
|
+
return this.getRuleContext(0, qu);
|
|
37769
37769
|
}
|
|
37770
37770
|
constructor(e) {
|
|
37771
37771
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -38452,7 +38452,7 @@ class DY extends Se {
|
|
|
38452
38452
|
D.ExprPathlessAggregateContext = DY;
|
|
38453
38453
|
class NY extends Se {
|
|
38454
38454
|
fieldPath() {
|
|
38455
|
-
return this.getRuleContext(0,
|
|
38455
|
+
return this.getRuleContext(0, zu);
|
|
38456
38456
|
}
|
|
38457
38457
|
DOT() {
|
|
38458
38458
|
return this.getToken(d.DOT, 0);
|
|
@@ -38515,7 +38515,7 @@ class wY extends Se {
|
|
|
38515
38515
|
D.ExprExprContext = wY;
|
|
38516
38516
|
class FY extends Se {
|
|
38517
38517
|
fieldPath() {
|
|
38518
|
-
return this.getRuleContext(0,
|
|
38518
|
+
return this.getRuleContext(0, zu);
|
|
38519
38519
|
}
|
|
38520
38520
|
DOT() {
|
|
38521
38521
|
return this.getToken(d.DOT, 0);
|
|
@@ -38963,7 +38963,7 @@ class Nd extends de.ParserRuleContext {
|
|
|
38963
38963
|
D.RecordElementContext = Nd;
|
|
38964
38964
|
class kY extends Nd {
|
|
38965
38965
|
fieldPath() {
|
|
38966
|
-
return this.getRuleContext(0,
|
|
38966
|
+
return this.getRuleContext(0, zu);
|
|
38967
38967
|
}
|
|
38968
38968
|
constructor(e) {
|
|
38969
38969
|
super(e.parent, e.invokingState), this.copyFrom(e);
|
|
@@ -39098,7 +39098,7 @@ class $m extends de.ParserRuleContext {
|
|
|
39098
39098
|
return this.getToken(d.STAR, 0);
|
|
39099
39099
|
}
|
|
39100
39100
|
fieldPath() {
|
|
39101
|
-
return this.tryGetRuleContext(0,
|
|
39101
|
+
return this.tryGetRuleContext(0, zu);
|
|
39102
39102
|
}
|
|
39103
39103
|
DOT() {
|
|
39104
39104
|
return this.tryGetToken(d.DOT, 0);
|
|
@@ -39169,7 +39169,7 @@ class k4 extends de.ParserRuleContext {
|
|
|
39169
39169
|
return this.getRuleContext(0, Ut);
|
|
39170
39170
|
}
|
|
39171
39171
|
fieldPath() {
|
|
39172
|
-
return this.getRuleContext(0,
|
|
39172
|
+
return this.getRuleContext(0, zu);
|
|
39173
39173
|
}
|
|
39174
39174
|
refExpr() {
|
|
39175
39175
|
return this.tryGetRuleContext(0, Fw);
|
|
@@ -39263,7 +39263,7 @@ class IA extends de.ParserRuleContext {
|
|
|
39263
39263
|
}
|
|
39264
39264
|
}
|
|
39265
39265
|
D.CollectionMemberContext = IA;
|
|
39266
|
-
class
|
|
39266
|
+
class zu extends de.ParserRuleContext {
|
|
39267
39267
|
fieldName(e) {
|
|
39268
39268
|
return e === void 0 ? this.getRuleContexts(Ar) : this.getRuleContext(e, Ar);
|
|
39269
39269
|
}
|
|
@@ -39290,7 +39290,7 @@ class Hu extends de.ParserRuleContext {
|
|
|
39290
39290
|
return e.visitFieldPath ? e.visitFieldPath(this) : e.visitChildren(this);
|
|
39291
39291
|
}
|
|
39292
39292
|
}
|
|
39293
|
-
D.FieldPathContext =
|
|
39293
|
+
D.FieldPathContext = zu;
|
|
39294
39294
|
class MY extends de.ParserRuleContext {
|
|
39295
39295
|
id() {
|
|
39296
39296
|
return this.getRuleContext(0, mn);
|
|
@@ -39393,7 +39393,7 @@ class UY extends de.ParserRuleContext {
|
|
|
39393
39393
|
D.NameSQLBlockContext = UY;
|
|
39394
39394
|
class qY extends de.ParserRuleContext {
|
|
39395
39395
|
string() {
|
|
39396
|
-
return this.getRuleContext(0,
|
|
39396
|
+
return this.getRuleContext(0, Uu);
|
|
39397
39397
|
}
|
|
39398
39398
|
constructor(e, n) {
|
|
39399
39399
|
super(e, n);
|
|
@@ -39480,7 +39480,7 @@ class Lw extends de.ParserRuleContext {
|
|
|
39480
39480
|
return this.getToken(d.OBRACK, 0);
|
|
39481
39481
|
}
|
|
39482
39482
|
string() {
|
|
39483
|
-
return this.getRuleContext(0,
|
|
39483
|
+
return this.getRuleContext(0, Uu);
|
|
39484
39484
|
}
|
|
39485
39485
|
CBRACK() {
|
|
39486
39486
|
return this.getToken(d.CBRACK, 0);
|
|
@@ -39543,20 +39543,20 @@ function g1e(t, e) {
|
|
|
39543
39543
|
return r && e.logError("ambiguous-view-type", {}), n;
|
|
39544
39544
|
}
|
|
39545
39545
|
kh.detectAndRemovePartialStages = g1e;
|
|
39546
|
-
var km = {}, Ge = {}, M4 = {}, it = {},
|
|
39547
|
-
Object.defineProperty(
|
|
39548
|
-
|
|
39546
|
+
var km = {}, Ge = {}, M4 = {}, it = {}, mu = {};
|
|
39547
|
+
Object.defineProperty(mu, "__esModule", { value: !0 });
|
|
39548
|
+
mu.isNotUndefined = mu.locationContainsPosition = void 0;
|
|
39549
39549
|
function m1e(t, e) {
|
|
39550
39550
|
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);
|
|
39551
39551
|
}
|
|
39552
|
-
|
|
39552
|
+
mu.locationContainsPosition = m1e;
|
|
39553
39553
|
function y1e(t) {
|
|
39554
39554
|
return t !== void 0;
|
|
39555
39555
|
}
|
|
39556
|
-
|
|
39556
|
+
mu.isNotUndefined = y1e;
|
|
39557
39557
|
Object.defineProperty(it, "__esModule", { value: !0 });
|
|
39558
39558
|
it.compositeFieldUsageJoinPaths = it.joinedCompositeFieldUsage = it.compositeFieldUsageDifference = it.emptyCompositeFieldUsage = it.mergeCompositeFieldUsage = it.unique = it.formatCompositeFieldUsage = it.compositeFieldUsageIsPlural = it.isEmptyCompositeFieldUsage = it.formatCompositeFieldUsages = it.compositeFieldUsagePaths = it.resolveCompositeSources = it.narrowCompositeFieldResolution = it.emptyNarrowedCompositeFieldResolution = void 0;
|
|
39559
|
-
const $P =
|
|
39559
|
+
const $P = mu, n6 = We;
|
|
39560
39560
|
function BA(t, e, n, r = void 0) {
|
|
39561
39561
|
var i, s, o, u, a, l, c;
|
|
39562
39562
|
let f = { ...e }, x;
|
|
@@ -39927,7 +39927,7 @@ j4.DialectNameSpace = w1e;
|
|
|
39927
39927
|
var Fd = {};
|
|
39928
39928
|
Object.defineProperty(Fd, "__esModule", { value: !0 });
|
|
39929
39929
|
Fd.getDialectFunctions = Fd.GlobalNameSpace = void 0;
|
|
39930
|
-
const F1e = yh, L1e =
|
|
39930
|
+
const F1e = yh, L1e = su, I1e = hs;
|
|
39931
39931
|
class B1e {
|
|
39932
39932
|
constructor() {
|
|
39933
39933
|
this.entries = XY();
|
|
@@ -40007,7 +40007,7 @@ gr.extendNoteHelper = ZY;
|
|
|
40007
40007
|
Object.defineProperty(Ge, "__esModule", { value: !0 });
|
|
40008
40008
|
Ge.Document = Ge.DocStatementList = Ge.ListOf = Ge.isDocStatementOrDocStatementList = Ge.isDocStatement = Ge.ExperimentalExperiment = Ge.ModelEntryReference = Ge.Unimplemented = Ge.MalloyElement = void 0;
|
|
40009
40009
|
const kP = yh, bE = We, M1e = So, j1e = M4, U1e = Es, q1e = j4, H1e = Fd, PP = gr, z1e = Zv;
|
|
40010
|
-
class
|
|
40010
|
+
class ou {
|
|
40011
40011
|
/**
|
|
40012
40012
|
* @param kids All children passed to the constructor are not optional
|
|
40013
40013
|
*/
|
|
@@ -40023,7 +40023,7 @@ class su {
|
|
|
40023
40023
|
for (const n in e) {
|
|
40024
40024
|
const r = e[n];
|
|
40025
40025
|
if (r !== void 0)
|
|
40026
|
-
if (this.children[n] = r, r instanceof
|
|
40026
|
+
if (this.children[n] = r, r instanceof ou)
|
|
40027
40027
|
r.parent = this;
|
|
40028
40028
|
else
|
|
40029
40029
|
for (const i of r)
|
|
@@ -40142,7 +40142,7 @@ class su {
|
|
|
40142
40142
|
let i = `${r}${e}<${this.elementType}>${this.varInfo()}`;
|
|
40143
40143
|
for (const s of Object.keys(this.children)) {
|
|
40144
40144
|
const o = this.children[s];
|
|
40145
|
-
o instanceof
|
|
40145
|
+
o instanceof ou ? i += `
|
|
40146
40146
|
` + o.stringify(`${s}: `, n + 2) : (i += `
|
|
40147
40147
|
${r} ${s}: [`, o.length > 0 && (i += `
|
|
40148
40148
|
` + o.map((u) => u.stringify("", n + 4)).join(`
|
|
@@ -40154,7 +40154,7 @@ ${r} `), i += "]");
|
|
|
40154
40154
|
*walk() {
|
|
40155
40155
|
for (const e of Object.keys(this.children)) {
|
|
40156
40156
|
const n = this.children[e];
|
|
40157
|
-
if (n instanceof
|
|
40157
|
+
if (n instanceof ou)
|
|
40158
40158
|
yield n;
|
|
40159
40159
|
else
|
|
40160
40160
|
for (const r of n)
|
|
@@ -40183,14 +40183,14 @@ ${r} `), i += "]");
|
|
|
40183
40183
|
return i && (i.bare() || i.has(e)) ? !0 : (n || this.logError("experiment-not-enabled", { experimentId: e }), !1);
|
|
40184
40184
|
}
|
|
40185
40185
|
}
|
|
40186
|
-
Ge.MalloyElement =
|
|
40187
|
-
class Q1e extends
|
|
40186
|
+
Ge.MalloyElement = ou;
|
|
40187
|
+
class Q1e extends ou {
|
|
40188
40188
|
constructor() {
|
|
40189
40189
|
super(...arguments), this.elementType = "unimplemented", this.reported = !1;
|
|
40190
40190
|
}
|
|
40191
40191
|
}
|
|
40192
40192
|
Ge.Unimplemented = Q1e;
|
|
40193
|
-
class RO extends
|
|
40193
|
+
class RO extends ou {
|
|
40194
40194
|
constructor(e) {
|
|
40195
40195
|
super(), this.name = e, this.elementType = "modelEntryReference";
|
|
40196
40196
|
}
|
|
@@ -40206,7 +40206,7 @@ class RO extends su {
|
|
|
40206
40206
|
}
|
|
40207
40207
|
}
|
|
40208
40208
|
Ge.ModelEntryReference = RO;
|
|
40209
|
-
class G1e extends
|
|
40209
|
+
class G1e extends ou {
|
|
40210
40210
|
constructor(e) {
|
|
40211
40211
|
super(), this.id = e, this.elementType = "experimentalExperiment";
|
|
40212
40212
|
}
|
|
@@ -40223,7 +40223,7 @@ function W1e(t) {
|
|
|
40223
40223
|
return t instanceof Pm || eK(t);
|
|
40224
40224
|
}
|
|
40225
40225
|
Ge.isDocStatementOrDocStatementList = W1e;
|
|
40226
|
-
class tK extends
|
|
40226
|
+
class tK extends ou {
|
|
40227
40227
|
constructor(e) {
|
|
40228
40228
|
super(), this.elements = e, this.newContents();
|
|
40229
40229
|
}
|
|
@@ -40282,7 +40282,7 @@ function Y1e(t) {
|
|
|
40282
40282
|
const e = nK(t).join("");
|
|
40283
40283
|
return (0, z1e.v5)(e, V1e);
|
|
40284
40284
|
}
|
|
40285
|
-
class OO extends
|
|
40285
|
+
class OO extends ou {
|
|
40286
40286
|
constructor(e) {
|
|
40287
40287
|
super(), this.elementType = "document", this.globalNameSpace = new H1e.GlobalNameSpace(), this.documentModel = {}, this.queryList = [], this.didInitModel = !1, this.annotation = {}, this.experiments = new M1e.Tag({}), this.modelAnnotationTodoList = [], this.dialectNameSpaces = /* @__PURE__ */ new Map(), this.statements = new Pm(e), this.has({ statements: e });
|
|
40288
40288
|
}
|
|
@@ -40799,7 +40799,7 @@ function wge(t, e) {
|
|
|
40799
40799
|
return r.push(...e), r;
|
|
40800
40800
|
}
|
|
40801
40801
|
t0.mergeFields = wge;
|
|
40802
|
-
var jm = {}, mr = {},
|
|
40802
|
+
var jm = {}, mr = {}, uu = {}, Fge = T && T.__createBinding || (Object.create ? function(t, e, n, r) {
|
|
40803
40803
|
r === void 0 && (r = n);
|
|
40804
40804
|
var i = Object.getOwnPropertyDescriptor(e, n);
|
|
40805
40805
|
(!i || ("get" in i ? !e.__esModule : i.writable || i.configurable)) && (i = { enumerable: !0, get: function() {
|
|
@@ -40820,15 +40820,15 @@ var jm = {}, mr = {}, ou = {}, Fge = T && T.__createBinding || (Object.create ?
|
|
|
40820
40820
|
n !== "default" && Object.prototype.hasOwnProperty.call(t, n) && Fge(e, t, n);
|
|
40821
40821
|
return Lge(e, t), e;
|
|
40822
40822
|
};
|
|
40823
|
-
Object.defineProperty(
|
|
40824
|
-
|
|
40823
|
+
Object.defineProperty(uu, "__esModule", { value: !0 });
|
|
40824
|
+
uu.DefinedParameter = uu.AbstractParameter = uu.SpaceParam = void 0;
|
|
40825
40825
|
const Bge = e0, sK = Ige(Ht), oK = it;
|
|
40826
40826
|
class kw extends Bge.SpaceEntry {
|
|
40827
40827
|
constructor() {
|
|
40828
40828
|
super(...arguments), this.refType = "parameter";
|
|
40829
40829
|
}
|
|
40830
40830
|
}
|
|
40831
|
-
|
|
40831
|
+
uu.SpaceParam = kw;
|
|
40832
40832
|
class $ge extends kw {
|
|
40833
40833
|
constructor(e) {
|
|
40834
40834
|
super(), this.astParam = e, this._parameter = void 0;
|
|
@@ -40848,7 +40848,7 @@ class $ge extends kw {
|
|
|
40848
40848
|
return this.parameter().type;
|
|
40849
40849
|
}
|
|
40850
40850
|
}
|
|
40851
|
-
|
|
40851
|
+
uu.AbstractParameter = $ge;
|
|
40852
40852
|
class kge extends kw {
|
|
40853
40853
|
constructor(e) {
|
|
40854
40854
|
super(), this.paramDef = e;
|
|
@@ -40870,7 +40870,7 @@ class kge extends kw {
|
|
|
40870
40870
|
return this.paramDef.type;
|
|
40871
40871
|
}
|
|
40872
40872
|
}
|
|
40873
|
-
|
|
40873
|
+
uu.DefinedParameter = kge;
|
|
40874
40874
|
var tx = {}, Pge = T && T.__createBinding || (Object.create ? function(t, e, n, r) {
|
|
40875
40875
|
r === void 0 && (r = n);
|
|
40876
40876
|
var i = Object.getOwnPropertyDescriptor(e, n);
|
|
@@ -40971,7 +40971,7 @@ class Vge extends Wge.ViewField {
|
|
|
40971
40971
|
H4.IRViewField = Vge;
|
|
40972
40972
|
Object.defineProperty(mr, "__esModule", { value: !0 });
|
|
40973
40973
|
mr.StaticSourceSpace = mr.StructSpaceField = mr.StaticSpace = void 0;
|
|
40974
|
-
const Yge =
|
|
40974
|
+
const Yge = su, Hx = We, Kge = uu, Jge = Cr, t1 = tx, Xge = Um, Zge = H4;
|
|
40975
40975
|
class Pw {
|
|
40976
40976
|
constructor(e, n) {
|
|
40977
40977
|
this.type = "fieldSpace", this.fromStruct = e, this.structDialect = n;
|
|
@@ -41113,7 +41113,7 @@ jm.JoinSpaceField = tme;
|
|
|
41113
41113
|
var jh = {};
|
|
41114
41114
|
Object.defineProperty(jh, "__esModule", { value: !0 });
|
|
41115
41115
|
jh.ParameterSpace = void 0;
|
|
41116
|
-
const nme =
|
|
41116
|
+
const nme = uu;
|
|
41117
41117
|
class rme {
|
|
41118
41118
|
constructor(e) {
|
|
41119
41119
|
this.type = "fieldSpace", this._map = {};
|
|
@@ -41198,7 +41198,7 @@ var ime = T && T.__createBinding || (Object.create ? function(t, e, n, r) {
|
|
|
41198
41198
|
};
|
|
41199
41199
|
Object.defineProperty(q4, "__esModule", { value: !0 });
|
|
41200
41200
|
q4.DynamicSpace = void 0;
|
|
41201
|
-
const ume = ome(We), ame = t0, lme = Qr, cme = Cr, fme = jm, xme = Ph, zP =
|
|
41201
|
+
const ume = ome(We), ame = t0, lme = Qr, cme = Cr, fme = jm, xme = Ph, zP = uu, dme = mr, hme = tx, pme = jh;
|
|
41202
41202
|
class gme extends dme.StaticSpace {
|
|
41203
41203
|
constructor(e) {
|
|
41204
41204
|
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;
|
|
@@ -41404,10 +41404,10 @@ class Rme extends bme.DefinitionList {
|
|
|
41404
41404
|
}
|
|
41405
41405
|
}
|
|
41406
41406
|
P0.DeclareFields = Rme;
|
|
41407
|
-
var
|
|
41408
|
-
Object.defineProperty(
|
|
41409
|
-
|
|
41410
|
-
const GP = We, Ome =
|
|
41407
|
+
var yu = {};
|
|
41408
|
+
Object.defineProperty(yu, "__esModule", { value: !0 });
|
|
41409
|
+
yu.Filter = yu.FilterElement = void 0;
|
|
41410
|
+
const GP = We, Ome = mu, aK = Ge, r6 = On;
|
|
41411
41411
|
class Dme extends aK.MalloyElement {
|
|
41412
41412
|
constructor(e, n) {
|
|
41413
41413
|
super({ expr: e }), this.expr = e, this.exprSrc = n, this.elementType = "filterElement";
|
|
@@ -41429,7 +41429,7 @@ class Dme extends aK.MalloyElement {
|
|
|
41429
41429
|
};
|
|
41430
41430
|
}
|
|
41431
41431
|
}
|
|
41432
|
-
|
|
41432
|
+
yu.FilterElement = Dme;
|
|
41433
41433
|
let Nme = class extends aK.ListOf {
|
|
41434
41434
|
constructor() {
|
|
41435
41435
|
super(...arguments), this.elementType = "filter", this.forceQueryClass = void 0, this.queryRefinementStage = r6.LegalRefinementStage.Head;
|
|
@@ -41465,7 +41465,7 @@ let Nme = class extends aK.ListOf {
|
|
|
41465
41465
|
}
|
|
41466
41466
|
}
|
|
41467
41467
|
};
|
|
41468
|
-
|
|
41468
|
+
yu.Filter = Nme;
|
|
41469
41469
|
var Uh = {};
|
|
41470
41470
|
Object.defineProperty(Uh, "__esModule", { value: !0 });
|
|
41471
41471
|
Uh.FieldListEdit = void 0;
|
|
@@ -42102,7 +42102,7 @@ class F3e extends m3e.DefinitionList {
|
|
|
42102
42102
|
ft.FieldReferences = F3e;
|
|
42103
42103
|
Object.defineProperty(Mm, "__esModule", { value: !0 });
|
|
42104
42104
|
Mm.RefinedSource = void 0;
|
|
42105
|
-
const L3e = We, I3e = Mh, B3e = P0, $3e =
|
|
42105
|
+
const L3e = We, I3e = Mh, B3e = P0, $3e = yu, k3e = Uh, P3e = qh, M3e = Hh, j3e = Ws, U3e = zh, q3e = n0, H3e = r0, z3e = jh, Q3e = Oi, KP = uo, i6 = ft;
|
|
42106
42106
|
class G3e extends j3e.Source {
|
|
42107
42107
|
constructor(e, n, r) {
|
|
42108
42108
|
super({ source: e, refinement: n }), this.source = e, this.refinement = n, this.includeList = r, this.elementType = "refinedSource", r && this.has({ includeList: r });
|
|
@@ -45020,13 +45020,13 @@ EC.ExprSum = Mve;
|
|
|
45020
45020
|
var AC = {};
|
|
45021
45021
|
Object.defineProperty(AC, "__esModule", { value: !0 });
|
|
45022
45022
|
AC.ExprTimeExtract = void 0;
|
|
45023
|
-
const
|
|
45023
|
+
const ia = We, Cy = Pt, x6 = at, jve = j0;
|
|
45024
45024
|
class sg extends x6.ExpressionDef {
|
|
45025
45025
|
static extractor(e) {
|
|
45026
45026
|
const n = sg.pluralMap[e];
|
|
45027
45027
|
if (n)
|
|
45028
45028
|
return n;
|
|
45029
|
-
if ((0,
|
|
45029
|
+
if ((0, ia.isExtractUnit)(e))
|
|
45030
45030
|
return e;
|
|
45031
45031
|
}
|
|
45032
45032
|
constructor(e, n) {
|
|
@@ -45046,12 +45046,12 @@ class sg extends x6.ExpressionDef {
|
|
|
45046
45046
|
error: "extract from error",
|
|
45047
45047
|
from: [i, s]
|
|
45048
45048
|
});
|
|
45049
|
-
if (!(0,
|
|
45049
|
+
if (!(0, ia.isTemporalType)(i.type))
|
|
45050
45050
|
return r.first.loggedErrorExpr("invalid-type-for-time-extraction", `Can't extract ${n} from '${i.type}'`);
|
|
45051
|
-
if (!(0,
|
|
45051
|
+
if (!(0, ia.isTemporalType)(s.type))
|
|
45052
45052
|
return r.last.loggedErrorExpr("invalid-type-for-time-extraction", `Cannot extract ${n} from '${s.type}'`);
|
|
45053
45053
|
let o = i.type;
|
|
45054
|
-
if (!
|
|
45054
|
+
if (!ia.TD.eq(i, s)) {
|
|
45055
45055
|
let u = !0;
|
|
45056
45056
|
if (o = "timestamp", i.type === "date") {
|
|
45057
45057
|
const a = (0, x6.getMorphicValue)(i, "timestamp");
|
|
@@ -45063,25 +45063,25 @@ class sg extends x6.ExpressionDef {
|
|
|
45063
45063
|
if (u)
|
|
45064
45064
|
return r.first.loggedErrorExpr("invalid-types-for-time-measurement", `Cannot measure from ${i.type} to ${s.type}`);
|
|
45065
45065
|
}
|
|
45066
|
-
return ["week", "month", "quarter", "year"].includes(n) ? this.loggedErrorExpr("invalid-timeframe-for-time-measurement", `Cannot measure interval using '${n}'`) : (0,
|
|
45066
|
+
return ["week", "month", "quarter", "year"].includes(n) ? this.loggedErrorExpr("invalid-timeframe-for-time-measurement", `Cannot measure interval using '${n}'`) : (0, ia.isTimestampUnit)(n) ? (0, Cy.computedExprValue)({
|
|
45067
45067
|
dataType: { type: "number", numberType: "integer" },
|
|
45068
45068
|
value: {
|
|
45069
45069
|
node: "timeDiff",
|
|
45070
45070
|
units: n,
|
|
45071
45071
|
kids: {
|
|
45072
|
-
left: (0,
|
|
45073
|
-
right: (0,
|
|
45072
|
+
left: (0, ia.mkTemporal)(i.value, o),
|
|
45073
|
+
right: (0, ia.mkTemporal)(s.value, o)
|
|
45074
45074
|
}
|
|
45075
45075
|
},
|
|
45076
45076
|
from: [i, s]
|
|
45077
45077
|
}) : this.loggedErrorExpr("invalid-time-extraction-unit", `Cannot extract ${n} from a range`);
|
|
45078
45078
|
} else {
|
|
45079
45079
|
const i = r.getExpression(e);
|
|
45080
|
-
return (0,
|
|
45080
|
+
return (0, ia.isTemporalType)(i.type) ? (0, Cy.computedExprValue)({
|
|
45081
45081
|
dataType: { type: "number", numberType: "integer" },
|
|
45082
45082
|
value: {
|
|
45083
45083
|
node: "extract",
|
|
45084
|
-
e: (0,
|
|
45084
|
+
e: (0, ia.mkTemporal)(i.value, i.type),
|
|
45085
45085
|
units: n
|
|
45086
45086
|
},
|
|
45087
45087
|
from: [i]
|
|
@@ -45160,7 +45160,7 @@ var zve = T && T.__createBinding || (Object.create ? function(t, e, n, r) {
|
|
|
45160
45160
|
};
|
|
45161
45161
|
Object.defineProperty(ho, "__esModule", { value: !0 });
|
|
45162
45162
|
ho.ReduceFieldSpace = ho.QuerySpace = ho.QueryOperationSpace = void 0;
|
|
45163
|
-
const kA = Gve(We), d6 = t0, RK = q0, yM = Cr, Wve = ft, Vve = Mh, Yve = Um, Kve = mr, Jve = vC,
|
|
45163
|
+
const kA = Gve(We), d6 = t0, RK = q0, yM = Cr, Wve = ft, Vve = Mh, Yve = Um, Kve = mr, Jve = vC, Go = it, Xve = tx;
|
|
45164
45164
|
class OK extends Vve.RefinedSpace {
|
|
45165
45165
|
get compositeFieldUsage() {
|
|
45166
45166
|
if (this._compositeFieldUsage === void 0)
|
|
@@ -45230,14 +45230,14 @@ class OK extends Vve.RefinedSpace {
|
|
|
45230
45230
|
this.astEl.has({ reference: r });
|
|
45231
45231
|
const i = this.exprSpace.lookup(r);
|
|
45232
45232
|
if (i.found && i.found instanceof Xve.StructSpaceFieldBase)
|
|
45233
|
-
return (n = i.found.fieldDef().onCompositeFieldUsage) !== null && n !== void 0 ? n : (0,
|
|
45233
|
+
return (0, Go.joinedCompositeFieldUsage)(e.slice(0, -1), (n = i.found.fieldDef().onCompositeFieldUsage) !== null && n !== void 0 ? n : (0, Go.emptyCompositeFieldUsage)());
|
|
45234
45234
|
throw new Error("Unexpected join lookup was not found or not a struct");
|
|
45235
45235
|
}
|
|
45236
45236
|
getCompositeFieldUsageIncludingJoinOns(e) {
|
|
45237
45237
|
let n = e;
|
|
45238
|
-
const r = (0,
|
|
45238
|
+
const r = (0, Go.compositeFieldUsageJoinPaths)(e);
|
|
45239
45239
|
for (const i of r)
|
|
45240
|
-
n = (0,
|
|
45240
|
+
n = (0, Go.mergeCompositeFieldUsage)(this.getJoinOnCompositeFieldUsage(i), n);
|
|
45241
45241
|
return n;
|
|
45242
45242
|
}
|
|
45243
45243
|
addCompositeFieldUserFromFilter(e, n) {
|
|
@@ -45248,9 +45248,9 @@ class OK extends Vve.RefinedSpace {
|
|
|
45248
45248
|
}
|
|
45249
45249
|
applyNextCompositeFieldUsage(e, n, r, i, s) {
|
|
45250
45250
|
if (i) {
|
|
45251
|
-
const o = this.getCompositeFieldUsageIncludingJoinOns((0,
|
|
45252
|
-
if (n = (0,
|
|
45253
|
-
const u = (0,
|
|
45251
|
+
const o = this.getCompositeFieldUsageIncludingJoinOns((0, Go.compositeFieldUsageDifference)(i, n));
|
|
45252
|
+
if (n = (0, Go.mergeCompositeFieldUsage)(n, o), !(0, Go.isEmptyCompositeFieldUsage)(o)) {
|
|
45253
|
+
const u = (0, Go.narrowCompositeFieldResolution)(e, n, r);
|
|
45254
45254
|
u.error ? (s ?? this).logError("invalid-composite-field-usage", {
|
|
45255
45255
|
newUsage: o,
|
|
45256
45256
|
allUsage: n
|
|
@@ -45290,7 +45290,7 @@ class DK extends OK {
|
|
|
45290
45290
|
}
|
|
45291
45291
|
queryFieldDefs() {
|
|
45292
45292
|
const e = [];
|
|
45293
|
-
let n = (0,
|
|
45293
|
+
let n = (0, Go.emptyCompositeFieldUsage)(), r = (0, Go.emptyNarrowedCompositeFieldResolution)();
|
|
45294
45294
|
const i = this.inputSpace().structDef();
|
|
45295
45295
|
for (const s of this.compositeFieldUsers) {
|
|
45296
45296
|
let o;
|
|
@@ -46297,13 +46297,13 @@ function M5e(t, e) {
|
|
|
46297
46297
|
return r;
|
|
46298
46298
|
}
|
|
46299
46299
|
let Ty = {};
|
|
46300
|
-
class
|
|
46300
|
+
class Eu extends Zh {
|
|
46301
46301
|
/**
|
|
46302
46302
|
* @param {string} name - Zone name
|
|
46303
46303
|
* @return {IANAZone}
|
|
46304
46304
|
*/
|
|
46305
46305
|
static create(e) {
|
|
46306
|
-
return Ty[e] || (Ty[e] = new
|
|
46306
|
+
return Ty[e] || (Ty[e] = new Eu(e)), Ty[e];
|
|
46307
46307
|
}
|
|
46308
46308
|
/**
|
|
46309
46309
|
* Reset local caches. Should only be necessary in testing scenarios.
|
|
@@ -46341,7 +46341,7 @@ class yu extends Zh {
|
|
|
46341
46341
|
}
|
|
46342
46342
|
}
|
|
46343
46343
|
constructor(e) {
|
|
46344
|
-
super(), this.zoneName = e, this.valid =
|
|
46344
|
+
super(), this.zoneName = e, this.valid = Eu.isValidZone(e);
|
|
46345
46345
|
}
|
|
46346
46346
|
/** @override **/
|
|
46347
46347
|
get type() {
|
|
@@ -46509,7 +46509,7 @@ function wl(t, e) {
|
|
|
46509
46509
|
return t;
|
|
46510
46510
|
if (E5e(t)) {
|
|
46511
46511
|
const n = t.toLowerCase();
|
|
46512
|
-
return n === "local" || n === "system" ? e : n === "utc" || n === "gmt" ? $r.utcInstance : $r.parseSpecifier(n) ||
|
|
46512
|
+
return n === "local" || n === "system" ? e : n === "utc" || n === "gmt" ? $r.utcInstance : $r.parseSpecifier(n) || Eu.create(t);
|
|
46513
46513
|
} else
|
|
46514
46514
|
return Uc(t) ? $r.instance(t) : typeof t == "object" && t.offset && typeof t.offset == "number" ? t : new uJ(t);
|
|
46515
46515
|
}
|
|
@@ -46609,7 +46609,7 @@ class wn {
|
|
|
46609
46609
|
* @return {void}
|
|
46610
46610
|
*/
|
|
46611
46611
|
static resetCaches() {
|
|
46612
|
-
hn.resetCache(),
|
|
46612
|
+
hn.resetCache(), Eu.resetCache();
|
|
46613
46613
|
}
|
|
46614
46614
|
}
|
|
46615
46615
|
let wM = {};
|
|
@@ -46707,7 +46707,7 @@ class K5e {
|
|
|
46707
46707
|
let i;
|
|
46708
46708
|
if (e.zone.isUniversal) {
|
|
46709
46709
|
const o = -1 * (e.offset / 60), u = o >= 0 ? `Etc/GMT+${o}` : `Etc/GMT${o}`;
|
|
46710
|
-
e.offset !== 0 &&
|
|
46710
|
+
e.offset !== 0 && Eu.create(u).valid ? (i = u, this.dt = e) : (i = "UTC", r.timeZoneName ? this.dt = e : this.dt = e.offset === 0 ? e : ut.fromMillis(e.ts + e.offset * 60 * 1e3));
|
|
46711
46711
|
} else
|
|
46712
46712
|
e.zone.type === "system" ? this.dt = e : (this.dt = e, i = e.zone.name);
|
|
46713
46713
|
const s = { ...this.opts };
|
|
@@ -46894,7 +46894,7 @@ function r3(t, e) {
|
|
|
46894
46894
|
return [{}, i, e + 3];
|
|
46895
46895
|
}
|
|
46896
46896
|
function i3(t, e) {
|
|
46897
|
-
const n = t[e] ?
|
|
46897
|
+
const n = t[e] ? Eu.create(t[e]) : null;
|
|
46898
46898
|
return [{}, n, e + 1];
|
|
46899
46899
|
}
|
|
46900
46900
|
const u4e = RegExp(`^T?${Xw.source}$`), a4e = /^-?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)?)?)$/;
|
|
@@ -48128,7 +48128,7 @@ let i1 = class {
|
|
|
48128
48128
|
* @return {boolean}
|
|
48129
48129
|
*/
|
|
48130
48130
|
static isValidIANAZone(e) {
|
|
48131
|
-
return
|
|
48131
|
+
return Eu.isValidZone(e);
|
|
48132
48132
|
}
|
|
48133
48133
|
/**
|
|
48134
48134
|
* Converts the input into a {@link Zone} instance.
|
|
@@ -48587,7 +48587,7 @@ function tCe(t) {
|
|
|
48587
48587
|
}
|
|
48588
48588
|
};
|
|
48589
48589
|
let n = null, r;
|
|
48590
|
-
return vt(t.z) || (n =
|
|
48590
|
+
return vt(t.z) || (n = Eu.create(t.z)), vt(t.Z) || (n || (n = new $r(t.Z)), r = t.Z), vt(t.q) || (t.M = (t.q - 1) * 3 + 1), vt(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), vt(t.u) || (t.S = Yw(t.u)), [Object.keys(t).reduce((s, o) => {
|
|
48591
48591
|
const u = e(o);
|
|
48592
48592
|
return u && (s[u] = t[o]), s;
|
|
48593
48593
|
}, {}), n, r];
|
|
@@ -50260,7 +50260,7 @@ const xCe = "2.5.2", dCe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
|
|
|
50260
50260
|
DateTime: ut,
|
|
50261
50261
|
Duration: Ct,
|
|
50262
50262
|
FixedOffsetZone: $r,
|
|
50263
|
-
IANAZone:
|
|
50263
|
+
IANAZone: Eu,
|
|
50264
50264
|
Info: i1,
|
|
50265
50265
|
Interval: cn,
|
|
50266
50266
|
InvalidZone: uJ,
|
|
@@ -51278,7 +51278,7 @@ class PSe extends BSe.QueryOperationSpace {
|
|
|
51278
51278
|
MC.IndexFieldSpace = PSe;
|
|
51279
51279
|
Object.defineProperty(PC, "__esModule", { value: !0 });
|
|
51280
51280
|
PC.IndexBuilder = void 0;
|
|
51281
|
-
const T6 = We, MSe = Qr, jSe =
|
|
51281
|
+
const T6 = We, MSe = Qr, jSe = yu, USe = a3, qSe = U0, HSe = l3, zSe = MC, R6 = it;
|
|
51282
51282
|
class QSe {
|
|
51283
51283
|
constructor(e, n, r, i) {
|
|
51284
51284
|
this.filters = [], this.alwaysJoins = [], this.type = "index", this.resultFS = new zSe.IndexFieldSpace(e, n, r, i), this.inputFS = this.resultFS.inputSpace();
|
|
@@ -52019,7 +52019,7 @@ VC.SourceDesc = fTe;
|
|
|
52019
52019
|
var YC = {};
|
|
52020
52020
|
Object.defineProperty(YC, "__esModule", { value: !0 });
|
|
52021
52021
|
YC.isSourceProperty = void 0;
|
|
52022
|
-
const xTe =
|
|
52022
|
+
const xTe = yu, dTe = P0, hTe = Uh, pTe = r0, gTe = qh, mTe = Hh, yTe = zh, ETe = n0, ATe = Oi;
|
|
52023
52023
|
function _Te(t) {
|
|
52024
52024
|
return t instanceof xTe.Filter || t instanceof ATe.JoinStatement || t instanceof dTe.DeclareFields || t instanceof hTe.FieldListEdit || t instanceof pTe.Renames || t instanceof gTe.PrimaryKey || t instanceof ETe.ObjectAnnotation || t instanceof mTe.Views || t instanceof yTe.TimezoneStatement;
|
|
52025
52025
|
}
|
|
@@ -52060,7 +52060,7 @@ ZC.isQueryExtendProperty = LTe;
|
|
|
52060
52060
|
var eS = {};
|
|
52061
52061
|
Object.defineProperty(eS, "__esModule", { value: !0 });
|
|
52062
52062
|
eS.isFieldPropStatement = void 0;
|
|
52063
|
-
const ITe = s0, BTe =
|
|
52063
|
+
const ITe = s0, BTe = yu, $Te = U0, kTe = Xh;
|
|
52064
52064
|
function PTe(t) {
|
|
52065
52065
|
return t instanceof BTe.Filter || t instanceof $Te.Limit || t instanceof kTe.PartitionBy || t instanceof ITe.FunctionOrdering;
|
|
52066
52066
|
}
|
|
@@ -52078,7 +52078,7 @@ eS.isFieldPropStatement = PTe;
|
|
|
52078
52078
|
for (var s in r)
|
|
52079
52079
|
s !== "default" && !Object.prototype.hasOwnProperty.call(i, s) && e(i, r, s);
|
|
52080
52080
|
};
|
|
52081
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), n(rg, t), n(Ld, t), n(Id, t), n(Ws, t), n(Mm, t), n(Lo, t), n(z4, t), n(Q4, t), n(W4, t), n(Qm, t), n(Y4, t), n(K4, t), n(uo, t), n(Uh, t), n(qh, t), n(r0, t), n(Hh, t), n(zh, t), n(X4, t), n(Kh, t), n(Z4, t), n(s0, t), n(eC, t), n(rl, t), n(tC, t), n(Jh, t), n(nC, t), n(rC, t), n(iC, t), n(Ta, t), n(sC, t), n(oC, t), n(uC, t), n(e3, t), n(Zm, t), n(rx, t), n(aC, t), n(lC, t), n(cC, t), n(fC, t), n(xC, t), n(dC, t), n(hC, t), n(Hl, t), n(pC, t), n(gC, t), n(mC, t), n(yC, t), n(EC, t), n(AC, t), n(_C, t), n(CC, t), n(Yn, t), n(OC, t), n(Xh, t), n($d, t), n(kd, t), n(DC, t), n(gf, t), n(j0, t), n(NC, t), n(t3, t), n(zl, t), n(og, t), n(wC, t), n(FC, t), n(LC, t), n(Gh, t), n(Qh, t), n(H0, t), n(IC, t), n(BC, t), n($C, t), n(kC, t), n(xn, t), n(ft, t), n(HC, t), n(zC, t), n(P0, t), n(f3, t), n(og, t), n(
|
|
52081
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), n(rg, t), n(Ld, t), n(Id, t), n(Ws, t), n(Mm, t), n(Lo, t), n(z4, t), n(Q4, t), n(W4, t), n(Qm, t), n(Y4, t), n(K4, t), n(uo, t), n(Uh, t), n(qh, t), n(r0, t), n(Hh, t), n(zh, t), n(X4, t), n(Kh, t), n(Z4, t), n(s0, t), n(eC, t), n(rl, t), n(tC, t), n(Jh, t), n(nC, t), n(rC, t), n(iC, t), n(Ta, t), n(sC, t), n(oC, t), n(uC, t), n(e3, t), n(Zm, t), n(rx, t), n(aC, t), n(lC, t), n(cC, t), n(fC, t), n(xC, t), n(dC, t), n(hC, t), n(Hl, t), n(pC, t), n(gC, t), n(mC, t), n(yC, t), n(EC, t), n(AC, t), n(_C, t), n(CC, t), n(Yn, t), n(OC, t), n(Xh, t), n($d, t), n(kd, t), n(DC, t), n(gf, t), n(j0, t), n(NC, t), n(t3, t), n(zl, t), n(og, t), n(wC, t), n(FC, t), n(LC, t), n(Gh, t), n(Qh, t), n(H0, t), n(IC, t), n(BC, t), n($C, t), n(kC, t), n(xn, t), n(ft, t), n(HC, t), n(zC, t), n(P0, t), n(f3, t), n(og, t), n(yu, t), n(c3, t), n(a3, t), n(Oi, t), n(km, t), n(U0, t), n(x3, t), n(rg, t), n(QC, t), n(mf, t), n(GC, t), n(u3, t), n(l3, t), n(Wh, t), n(nx, t), n(Jm, t), n(Ql, t), n(WC, t), n(n0, t), n(xo, t), n(VC, t), n(YC, t), n(at, t), n(KC, t), n(q0, t), n(Ge, t), n(JC, t), n(UJ, t), n(XC, t), n(ZC, t), n(eS, t);
|
|
52082
52082
|
})(P4);
|
|
52083
52083
|
var tS = {}, Pd = {};
|
|
52084
52084
|
Object.defineProperty(Pd, "__esModule", { value: !0 });
|
|
@@ -52165,7 +52165,7 @@ var UTe = T && T.__createBinding || (Object.create ? function(t, e, n, r) {
|
|
|
52165
52165
|
};
|
|
52166
52166
|
Object.defineProperty(tS, "__esModule", { value: !0 });
|
|
52167
52167
|
tS.MalloyToAST = void 0;
|
|
52168
|
-
const pj = o4, zTe = Gg, ee = HTe(P4), w6 = M4, gj = ar, QTe = P4, Nn = an, F6 = We, GTe = So, WTe = Pd, VTe =
|
|
52168
|
+
const pj = o4, zTe = Gg, ee = HTe(P4), w6 = M4, gj = ar, QTe = P4, Nn = an, F6 = We, GTe = So, WTe = Pd, VTe = mu;
|
|
52169
52169
|
class mj extends ee.SourceQueryElement {
|
|
52170
52170
|
constructor() {
|
|
52171
52171
|
super(...arguments), this.elementType = "parseErrorSourceQuery";
|
|
@@ -53563,7 +53563,7 @@ sS.walkForDocumentHelpContext = c6e;
|
|
|
53563
53563
|
var oS = {};
|
|
53564
53564
|
Object.defineProperty(oS, "__esModule", { value: !0 });
|
|
53565
53565
|
oS.ReferenceList = void 0;
|
|
53566
|
-
const f6e =
|
|
53566
|
+
const f6e = mu;
|
|
53567
53567
|
class x6e {
|
|
53568
53568
|
constructor(e) {
|
|
53569
53569
|
this.sourceURL = e, this.references = [];
|
|
@@ -53676,9 +53676,9 @@ var A6e = T && T.__createBinding || (Object.create ? function(t, e, n, r) {
|
|
|
53676
53676
|
n !== "default" && Object.prototype.hasOwnProperty.call(t, n) && A6e(e, t, n);
|
|
53677
53677
|
return _6e(e, t), e;
|
|
53678
53678
|
};
|
|
53679
|
-
Object.defineProperty(
|
|
53680
|
-
|
|
53681
|
-
const Ej = o4, C6e = We, S6e = g4, b6e = D, HJ = v6e(P4), T6e = tS, KO = M4, R6e = Ra, I6 = nS, O6e = rS, D6e = iS, N6e = sS, w6e = oS, UA = uS, F6e =
|
|
53679
|
+
Object.defineProperty(ru, "__esModule", { value: !0 });
|
|
53680
|
+
ru.MalloyParserErrorHandler = ru.MalloyTranslator = ru.MalloyChildTranslator = ru.MalloyTranslation = void 0;
|
|
53681
|
+
const Ej = o4, C6e = We, S6e = g4, b6e = D, HJ = v6e(P4), T6e = tS, KO = M4, R6e = Ra, I6 = nS, O6e = rS, D6e = iS, N6e = sS, w6e = oS, UA = uS, F6e = mu, zJ = So, L6e = aS, I6e = lS;
|
|
53682
53682
|
class B6e extends S6e.MalloyLexer {
|
|
53683
53683
|
popMode() {
|
|
53684
53684
|
return this._modeStack.isEmpty ? this._mode : super.popMode();
|
|
@@ -54232,13 +54232,13 @@ ${i}` : e = i;
|
|
|
54232
54232
|
return n !== void 0 && (n.bare() || n.has("dialect", e));
|
|
54233
54233
|
}
|
|
54234
54234
|
}
|
|
54235
|
-
|
|
54235
|
+
ru.MalloyTranslation = xF;
|
|
54236
54236
|
class QJ extends xF {
|
|
54237
54237
|
constructor(e, n) {
|
|
54238
54238
|
super(e), this.root = n;
|
|
54239
54239
|
}
|
|
54240
54240
|
}
|
|
54241
|
-
|
|
54241
|
+
ru.MalloyChildTranslator = QJ;
|
|
54242
54242
|
class Q6e extends xF {
|
|
54243
54243
|
constructor(e, n = null, r = null, i = null) {
|
|
54244
54244
|
super(e, n), this.eventStream = i, this.schemaZone = new I6.Zone(), this.importZone = new I6.Zone(), this.pretranslatedModels = /* @__PURE__ */ new Map(), this.sqlQueryZone = new I6.Zone(), this.root = this, this.logger = new KO.BaseMessageLogger(i), r && this.update(r);
|
|
@@ -54253,7 +54253,7 @@ class Q6e extends xF {
|
|
|
54253
54253
|
return this.logger.log((0, KO.makeLogMessage)(e, n, { severity: "error", ...r })), e;
|
|
54254
54254
|
}
|
|
54255
54255
|
}
|
|
54256
|
-
|
|
54256
|
+
ru.MalloyTranslator = Q6e;
|
|
54257
54257
|
class GJ {
|
|
54258
54258
|
constructor(e, n) {
|
|
54259
54259
|
this.translator = e, this.messages = n;
|
|
@@ -54268,7 +54268,7 @@ class GJ {
|
|
|
54268
54268
|
});
|
|
54269
54269
|
}
|
|
54270
54270
|
}
|
|
54271
|
-
|
|
54271
|
+
ru.MalloyParserErrorHandler = GJ;
|
|
54272
54272
|
function WJ(t) {
|
|
54273
54273
|
return [
|
|
54274
54274
|
...Object.keys(t),
|
|
@@ -54307,7 +54307,7 @@ function W6e(t, e) {
|
|
|
54307
54307
|
Md.exploreQueryWalkerBuilder = W6e;
|
|
54308
54308
|
(function(t) {
|
|
54309
54309
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.exploreQueryWalkerBuilder = t.MalloyTranslation = t.MalloyTranslator = void 0;
|
|
54310
|
-
var e =
|
|
54310
|
+
var e = ru;
|
|
54311
54311
|
Object.defineProperty(t, "MalloyTranslator", { enumerable: !0, get: function() {
|
|
54312
54312
|
return e.MalloyTranslator;
|
|
54313
54313
|
} }), Object.defineProperty(t, "MalloyTranslation", { enumerable: !0, get: function() {
|
|
@@ -55234,10 +55234,10 @@ class is extends dF {
|
|
|
55234
55234
|
}
|
|
55235
55235
|
}
|
|
55236
55236
|
Oe.Explore = is;
|
|
55237
|
-
var
|
|
55237
|
+
var Wo;
|
|
55238
55238
|
(function(t) {
|
|
55239
55239
|
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";
|
|
55240
|
-
})(
|
|
55240
|
+
})(Wo || (Oe.AtomicFieldType = Wo = {}));
|
|
55241
55241
|
class Q0 extends dF {
|
|
55242
55242
|
constructor(e, n, r) {
|
|
55243
55243
|
super(e.as || e.name, n, r), this.fieldTypeDef = e, this.parent = n;
|
|
@@ -55245,21 +55245,21 @@ class Q0 extends dF {
|
|
|
55245
55245
|
get type() {
|
|
55246
55246
|
switch (this.fieldTypeDef.type) {
|
|
55247
55247
|
case "string":
|
|
55248
|
-
return
|
|
55248
|
+
return Wo.String;
|
|
55249
55249
|
case "boolean":
|
|
55250
|
-
return
|
|
55250
|
+
return Wo.Boolean;
|
|
55251
55251
|
case "date":
|
|
55252
|
-
return
|
|
55252
|
+
return Wo.Date;
|
|
55253
55253
|
case "timestamp":
|
|
55254
|
-
return
|
|
55254
|
+
return Wo.Timestamp;
|
|
55255
55255
|
case "number":
|
|
55256
|
-
return
|
|
55256
|
+
return Wo.Number;
|
|
55257
55257
|
case "json":
|
|
55258
|
-
return
|
|
55258
|
+
return Wo.Json;
|
|
55259
55259
|
case "sql native":
|
|
55260
|
-
return
|
|
55260
|
+
return Wo.NativeUnsupported;
|
|
55261
55261
|
case "error":
|
|
55262
|
-
return
|
|
55262
|
+
return Wo.Error;
|
|
55263
55263
|
case "record":
|
|
55264
55264
|
case "array":
|
|
55265
55265
|
throw new Error(`MTOY TODO IMPLEMENT Atomic ${this.fieldTypeDef.type}`);
|
|
@@ -55361,10 +55361,10 @@ var Sc;
|
|
|
55361
55361
|
(function(t) {
|
|
55362
55362
|
t.Day = "day", t.Week = "week", t.Month = "month", t.Quarter = "quarter", t.Year = "year";
|
|
55363
55363
|
})(Sc || (Oe.DateTimeframe = Sc = {}));
|
|
55364
|
-
var
|
|
55364
|
+
var Vo;
|
|
55365
55365
|
(function(t) {
|
|
55366
55366
|
t.Day = "day", t.Week = "week", t.Month = "month", t.Quarter = "quarter", t.Year = "year", t.Second = "second", t.Hour = "hour", t.Minute = "minute";
|
|
55367
|
-
})(
|
|
55367
|
+
})(Vo || (Oe.TimestampTimeframe = Vo = {}));
|
|
55368
55368
|
class hF extends Q0 {
|
|
55369
55369
|
constructor(e, n, r) {
|
|
55370
55370
|
super(e, n, r), this.fieldDateDef = e;
|
|
@@ -55394,21 +55394,21 @@ class pF extends Q0 {
|
|
|
55394
55394
|
if (this.fieldTimestampDef.timeframe !== void 0)
|
|
55395
55395
|
switch (this.fieldTimestampDef.timeframe) {
|
|
55396
55396
|
case "day":
|
|
55397
|
-
return
|
|
55397
|
+
return Vo.Day;
|
|
55398
55398
|
case "week":
|
|
55399
|
-
return
|
|
55399
|
+
return Vo.Week;
|
|
55400
55400
|
case "month":
|
|
55401
|
-
return
|
|
55401
|
+
return Vo.Month;
|
|
55402
55402
|
case "quarter":
|
|
55403
|
-
return
|
|
55403
|
+
return Vo.Quarter;
|
|
55404
55404
|
case "year":
|
|
55405
|
-
return
|
|
55405
|
+
return Vo.Year;
|
|
55406
55406
|
case "second":
|
|
55407
|
-
return
|
|
55407
|
+
return Vo.Second;
|
|
55408
55408
|
case "hour":
|
|
55409
|
-
return
|
|
55409
|
+
return Vo.Hour;
|
|
55410
55410
|
case "minute":
|
|
55411
|
-
return
|
|
55411
|
+
return Vo.Minute;
|
|
55412
55412
|
}
|
|
55413
55413
|
}
|
|
55414
55414
|
}
|
|
@@ -56229,7 +56229,7 @@ class dS {
|
|
|
56229
56229
|
return !0;
|
|
56230
56230
|
}
|
|
56231
56231
|
}
|
|
56232
|
-
class
|
|
56232
|
+
class Qu extends dS {
|
|
56233
56233
|
constructor(e, n, r, i) {
|
|
56234
56234
|
super(n, r, i), this._value = e, this._field = n;
|
|
56235
56235
|
}
|
|
@@ -56240,10 +56240,10 @@ class zu extends dS {
|
|
|
56240
56240
|
return this._field;
|
|
56241
56241
|
}
|
|
56242
56242
|
isScalar() {
|
|
56243
|
-
return this instanceof
|
|
56243
|
+
return this instanceof Qu;
|
|
56244
56244
|
}
|
|
56245
56245
|
}
|
|
56246
|
-
class iX extends
|
|
56246
|
+
class iX extends Qu {
|
|
56247
56247
|
constructor(e, n, r, i) {
|
|
56248
56248
|
super(e, n, r, i), this._field = n;
|
|
56249
56249
|
}
|
|
@@ -56257,7 +56257,7 @@ class iX extends zu {
|
|
|
56257
56257
|
return this.value.toLocaleLowerCase().localeCompare(e.value.toLocaleLowerCase());
|
|
56258
56258
|
}
|
|
56259
56259
|
}
|
|
56260
|
-
class sX extends
|
|
56260
|
+
class sX extends Qu {
|
|
56261
56261
|
constructor(e, n, r, i) {
|
|
56262
56262
|
super(e, n, r, i), this._field = n;
|
|
56263
56263
|
}
|
|
@@ -56271,7 +56271,7 @@ class sX extends zu {
|
|
|
56271
56271
|
return 0;
|
|
56272
56272
|
}
|
|
56273
56273
|
}
|
|
56274
|
-
class oX extends
|
|
56274
|
+
class oX extends Qu {
|
|
56275
56275
|
constructor(e, n, r, i) {
|
|
56276
56276
|
super(e, n, r, i), this._field = n;
|
|
56277
56277
|
}
|
|
@@ -56285,7 +56285,7 @@ class oX extends zu {
|
|
|
56285
56285
|
return this.value === e.value ? 0 : this.value ? 1 : -1;
|
|
56286
56286
|
}
|
|
56287
56287
|
}
|
|
56288
|
-
class Z6e extends
|
|
56288
|
+
class Z6e extends Qu {
|
|
56289
56289
|
constructor(e, n, r, i) {
|
|
56290
56290
|
super(e, n, r, i), this._field = n;
|
|
56291
56291
|
}
|
|
@@ -56300,7 +56300,7 @@ class Z6e extends zu {
|
|
|
56300
56300
|
return n === r ? 0 : n > r ? 1 : -1;
|
|
56301
56301
|
}
|
|
56302
56302
|
}
|
|
56303
|
-
class uX extends
|
|
56303
|
+
class uX extends Qu {
|
|
56304
56304
|
constructor(e, n, r, i) {
|
|
56305
56305
|
super(e, n, r, i), this._field = n;
|
|
56306
56306
|
}
|
|
@@ -56329,7 +56329,7 @@ function aX(t) {
|
|
|
56329
56329
|
return n.isValid || (n = Aj.DateTime.fromSQL(t, { zone: "UTC" })), n.toJSDate();
|
|
56330
56330
|
}
|
|
56331
56331
|
}
|
|
56332
|
-
class lX extends
|
|
56332
|
+
class lX extends Qu {
|
|
56333
56333
|
constructor(e, n, r, i) {
|
|
56334
56334
|
super(e, n, r, i), this._field = n;
|
|
56335
56335
|
}
|
|
@@ -56346,7 +56346,7 @@ class lX extends zu {
|
|
|
56346
56346
|
return this.value > e.value ? 1 : this.value < e.value ? -1 : 0;
|
|
56347
56347
|
}
|
|
56348
56348
|
}
|
|
56349
|
-
class cX extends
|
|
56349
|
+
class cX extends Qu {
|
|
56350
56350
|
constructor(e, n, r, i) {
|
|
56351
56351
|
super(e, n, r, i), this._field = n;
|
|
56352
56352
|
}
|
|
@@ -56363,7 +56363,7 @@ class cX extends zu {
|
|
|
56363
56363
|
return this.value > e.value ? 1 : this.value < e.value ? -1 : 0;
|
|
56364
56364
|
}
|
|
56365
56365
|
}
|
|
56366
|
-
class eRe extends
|
|
56366
|
+
class eRe extends Qu {
|
|
56367
56367
|
get key() {
|
|
56368
56368
|
return this.value.toString();
|
|
56369
56369
|
}
|
|
@@ -111075,7 +111075,7 @@ function oZ(t, e) {
|
|
|
111075
111075
|
function uZ(t) {
|
|
111076
111076
|
return t == null || t === "" ? null : t + "";
|
|
111077
111077
|
}
|
|
111078
|
-
function
|
|
111078
|
+
function Au(t) {
|
|
111079
111079
|
const e = {}, n = t.length;
|
|
111080
111080
|
for (let r = 0; r < n; ++r)
|
|
111081
111081
|
e[t[r]] = !0;
|
|
@@ -111509,7 +111509,7 @@ var m3 = function(t, e) {
|
|
|
111509
111509
|
e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
|
|
111510
111510
|
return n;
|
|
111511
111511
|
};
|
|
111512
|
-
const Oa = "row", Da = "column", CS = "facet", yn = "x", or = "y", Io = "x2",
|
|
111512
|
+
const Oa = "row", Da = "column", CS = "facet", yn = "x", or = "y", Io = "x2", Gu = "y2", W0 = "xOffset", s2 = "yOffset", Wu = "radius", sl = "radius2", Bo = "theta", ol = "theta2", Vu = "latitude", Yu = "longitude", $o = "latitude2", Ms = "longitude2", Bi = "color", Ku = "fill", Ju = "stroke", $i = "shape", ul = "size", ux = "angle", al = "opacity", V0 = "fillOpacity", Y0 = "strokeOpacity", K0 = "strokeWidth", J0 = "strokeDash", y3 = "text", E3 = "order", A3 = "detail", SS = "key", Af = "tooltip", bS = "href", TS = "url", RS = "description", fNe = {
|
|
111513
111513
|
x: 1,
|
|
111514
111514
|
y: 1,
|
|
111515
111515
|
x2: 1,
|
|
@@ -111531,11 +111531,11 @@ const LF = {
|
|
|
111531
111531
|
};
|
|
111532
111532
|
function xNe(t) {
|
|
111533
111533
|
switch (t) {
|
|
111534
|
-
case
|
|
111534
|
+
case Vu:
|
|
111535
111535
|
return "y";
|
|
111536
111536
|
case $o:
|
|
111537
111537
|
return "y2";
|
|
111538
|
-
case
|
|
111538
|
+
case Yu:
|
|
111539
111539
|
return "x";
|
|
111540
111540
|
case Ms:
|
|
111541
111541
|
return "x2";
|
|
@@ -111571,7 +111571,7 @@ const hNe = Te(LF), IF = Object.assign(Object.assign(Object.assign(Object.assign
|
|
|
111571
111571
|
description: 1
|
|
111572
111572
|
});
|
|
111573
111573
|
function ad(t) {
|
|
111574
|
-
return t === Bi || t ===
|
|
111574
|
+
return t === Bi || t === Ku || t === Ju;
|
|
111575
111575
|
}
|
|
111576
111576
|
const gZ = {
|
|
111577
111577
|
row: 1,
|
|
@@ -111584,7 +111584,7 @@ function yNe(t) {
|
|
|
111584
111584
|
function mZ(t) {
|
|
111585
111585
|
return !!BF[t];
|
|
111586
111586
|
}
|
|
111587
|
-
const ENe = [Io,
|
|
111587
|
+
const ENe = [Io, Gu, $o, Ms, ol, sl];
|
|
111588
111588
|
function yZ(t) {
|
|
111589
111589
|
return ax(t) !== t;
|
|
111590
111590
|
}
|
|
@@ -111592,16 +111592,16 @@ function ax(t) {
|
|
|
111592
111592
|
switch (t) {
|
|
111593
111593
|
case Io:
|
|
111594
111594
|
return yn;
|
|
111595
|
-
case
|
|
111595
|
+
case Gu:
|
|
111596
111596
|
return or;
|
|
111597
111597
|
case $o:
|
|
111598
|
-
return Wu;
|
|
111599
|
-
case Ms:
|
|
111600
111598
|
return Vu;
|
|
111599
|
+
case Ms:
|
|
111600
|
+
return Yu;
|
|
111601
111601
|
case ol:
|
|
111602
111602
|
return Bo;
|
|
111603
111603
|
case sl:
|
|
111604
|
-
return
|
|
111604
|
+
return Wu;
|
|
111605
111605
|
}
|
|
111606
111606
|
return t;
|
|
111607
111607
|
}
|
|
@@ -111612,7 +111612,7 @@ function a0(t) {
|
|
|
111612
111612
|
return "startAngle";
|
|
111613
111613
|
case ol:
|
|
111614
111614
|
return "endAngle";
|
|
111615
|
-
case
|
|
111615
|
+
case Wu:
|
|
111616
111616
|
return "outerRadius";
|
|
111617
111617
|
case sl:
|
|
111618
111618
|
return "innerRadius";
|
|
@@ -111624,14 +111624,14 @@ function ll(t) {
|
|
|
111624
111624
|
case yn:
|
|
111625
111625
|
return Io;
|
|
111626
111626
|
case or:
|
|
111627
|
-
return
|
|
111628
|
-
case Wu:
|
|
111629
|
-
return $o;
|
|
111627
|
+
return Gu;
|
|
111630
111628
|
case Vu:
|
|
111629
|
+
return $o;
|
|
111630
|
+
case Yu:
|
|
111631
111631
|
return Ms;
|
|
111632
111632
|
case Bo:
|
|
111633
111633
|
return ol;
|
|
111634
|
-
case
|
|
111634
|
+
case Wu:
|
|
111635
111635
|
return sl;
|
|
111636
111636
|
}
|
|
111637
111637
|
}
|
|
@@ -111641,7 +111641,7 @@ function ki(t) {
|
|
|
111641
111641
|
case Io:
|
|
111642
111642
|
return "width";
|
|
111643
111643
|
case or:
|
|
111644
|
-
case
|
|
111644
|
+
case Gu:
|
|
111645
111645
|
return "height";
|
|
111646
111646
|
}
|
|
111647
111647
|
}
|
|
@@ -111653,11 +111653,11 @@ function ANe(t) {
|
|
|
111653
111653
|
return "yOffset";
|
|
111654
111654
|
case Io:
|
|
111655
111655
|
return "x2Offset";
|
|
111656
|
-
case
|
|
111656
|
+
case Gu:
|
|
111657
111657
|
return "y2Offset";
|
|
111658
111658
|
case Bo:
|
|
111659
111659
|
return "thetaOffset";
|
|
111660
|
-
case
|
|
111660
|
+
case Wu:
|
|
111661
111661
|
return "radiusOffset";
|
|
111662
111662
|
case ol:
|
|
111663
111663
|
return "theta2Offset";
|
|
@@ -111684,7 +111684,7 @@ function AZ(t) {
|
|
|
111684
111684
|
const _Ne = Te(IF), $F = m3(IF, ["x", "y", "x2", "y2", "xOffset", "yOffset", "latitude", "longitude", "latitude2", "longitude2", "theta", "theta2", "radius", "radius2"]), vNe = Te($F), kF = {
|
|
111685
111685
|
x: 1,
|
|
111686
111686
|
y: 1
|
|
111687
|
-
},
|
|
111687
|
+
}, Xu = Te(kF);
|
|
111688
111688
|
function _r(t) {
|
|
111689
111689
|
return t in kF;
|
|
111690
111690
|
}
|
|
@@ -111706,8 +111706,8 @@ function bNe(t) {
|
|
|
111706
111706
|
function TNe(t) {
|
|
111707
111707
|
switch (t) {
|
|
111708
111708
|
case Bi:
|
|
111709
|
-
case Yu:
|
|
111710
111709
|
case Ku:
|
|
111710
|
+
case Ju:
|
|
111711
111711
|
case ul:
|
|
111712
111712
|
case $i:
|
|
111713
111713
|
case al:
|
|
@@ -111747,8 +111747,8 @@ const SZ = {
|
|
|
111747
111747
|
function DNe(t) {
|
|
111748
111748
|
switch (t) {
|
|
111749
111749
|
case Bi:
|
|
111750
|
-
case Yu:
|
|
111751
111750
|
case Ku:
|
|
111751
|
+
case Ju:
|
|
111752
111752
|
case RS:
|
|
111753
111753
|
case A3:
|
|
111754
111754
|
case SS:
|
|
@@ -111767,11 +111767,11 @@ function DNe(t) {
|
|
|
111767
111767
|
case or:
|
|
111768
111768
|
case W0:
|
|
111769
111769
|
case s2:
|
|
111770
|
-
case Wu:
|
|
111771
111770
|
case Vu:
|
|
111771
|
+
case Yu:
|
|
111772
111772
|
return ONe;
|
|
111773
111773
|
case Io:
|
|
111774
|
-
case
|
|
111774
|
+
case Gu:
|
|
111775
111775
|
case $o:
|
|
111776
111776
|
case Ms:
|
|
111777
111777
|
return {
|
|
@@ -111820,7 +111820,7 @@ function DNe(t) {
|
|
|
111820
111820
|
return { image: "always" };
|
|
111821
111821
|
case Bo:
|
|
111822
111822
|
return { text: "always", arc: "always" };
|
|
111823
|
-
case
|
|
111823
|
+
case Wu:
|
|
111824
111824
|
return { text: "always", arc: "always" };
|
|
111825
111825
|
case ol:
|
|
111826
111826
|
case sl:
|
|
@@ -111832,7 +111832,7 @@ function P6(t) {
|
|
|
111832
111832
|
case yn:
|
|
111833
111833
|
case or:
|
|
111834
111834
|
case Bo:
|
|
111835
|
-
case
|
|
111835
|
+
case Wu:
|
|
111836
111836
|
case W0:
|
|
111837
111837
|
case s2:
|
|
111838
111838
|
case ul:
|
|
@@ -111842,7 +111842,7 @@ function P6(t) {
|
|
|
111842
111842
|
case V0:
|
|
111843
111843
|
case Y0:
|
|
111844
111844
|
case Io:
|
|
111845
|
-
case
|
|
111845
|
+
case Gu:
|
|
111846
111846
|
case ol:
|
|
111847
111847
|
case sl:
|
|
111848
111848
|
return;
|
|
@@ -111858,11 +111858,11 @@ function P6(t) {
|
|
|
111858
111858
|
case RS:
|
|
111859
111859
|
return "discrete";
|
|
111860
111860
|
case Bi:
|
|
111861
|
-
case Yu:
|
|
111862
111861
|
case Ku:
|
|
111862
|
+
case Ju:
|
|
111863
111863
|
return "flexible";
|
|
111864
|
-
case Wu:
|
|
111865
111864
|
case Vu:
|
|
111865
|
+
case Yu:
|
|
111866
111866
|
case $o:
|
|
111867
111867
|
case Ms:
|
|
111868
111868
|
case A3:
|
|
@@ -111957,8 +111957,8 @@ function jj(t) {
|
|
|
111957
111957
|
case Da:
|
|
111958
111958
|
case ul:
|
|
111959
111959
|
case Bi:
|
|
111960
|
-
case Yu:
|
|
111961
111960
|
case Ku:
|
|
111961
|
+
case Ju:
|
|
111962
111962
|
case K0:
|
|
111963
111963
|
case al:
|
|
111964
111964
|
case V0:
|
|
@@ -113616,28 +113616,28 @@ const mg = Hn((t) => {
|
|
|
113616
113616
|
t.setUTCMonth(t.getUTCMonth() + e);
|
|
113617
113617
|
}, (t, e) => e.getUTCMonth() - t.getUTCMonth() + (e.getUTCFullYear() - t.getUTCFullYear()) * 12, (t) => t.getUTCMonth());
|
|
113618
113618
|
mg.range;
|
|
113619
|
-
const
|
|
113619
|
+
const _u = Hn((t) => {
|
|
113620
113620
|
t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
|
|
113621
113621
|
}, (t, e) => {
|
|
113622
113622
|
t.setFullYear(t.getFullYear() + e);
|
|
113623
113623
|
}, (t, e) => e.getFullYear() - t.getFullYear(), (t) => t.getFullYear());
|
|
113624
|
-
|
|
113624
|
+
_u.every = (t) => !isFinite(t = Math.floor(t)) || !(t > 0) ? null : Hn((e) => {
|
|
113625
113625
|
e.setFullYear(Math.floor(e.getFullYear() / t) * t), e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
|
|
113626
113626
|
}, (e, n) => {
|
|
113627
113627
|
e.setFullYear(e.getFullYear() + n * t);
|
|
113628
113628
|
});
|
|
113629
|
-
|
|
113630
|
-
const
|
|
113629
|
+
_u.range;
|
|
113630
|
+
const vu = Hn((t) => {
|
|
113631
113631
|
t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
|
|
113632
113632
|
}, (t, e) => {
|
|
113633
113633
|
t.setUTCFullYear(t.getUTCFullYear() + e);
|
|
113634
113634
|
}, (t, e) => e.getUTCFullYear() - t.getUTCFullYear(), (t) => t.getUTCFullYear());
|
|
113635
|
-
|
|
113635
|
+
vu.every = (t) => !isFinite(t = Math.floor(t)) || !(t > 0) ? null : Hn((e) => {
|
|
113636
113636
|
e.setUTCFullYear(Math.floor(e.getUTCFullYear() / t) * t), e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
|
|
113637
113637
|
}, (e, n) => {
|
|
113638
113638
|
e.setUTCFullYear(e.getUTCFullYear() + n * t);
|
|
113639
113639
|
});
|
|
113640
|
-
|
|
113640
|
+
vu.range;
|
|
113641
113641
|
function hee(t, e, n, r, i, s) {
|
|
113642
113642
|
const o = [
|
|
113643
113643
|
[_a, 1, Ea],
|
|
@@ -113676,7 +113676,7 @@ function hee(t, e, n, r, i, s) {
|
|
|
113676
113676
|
}
|
|
113677
113677
|
return [u, a];
|
|
113678
113678
|
}
|
|
113679
|
-
const [eFe, tFe] = hee(
|
|
113679
|
+
const [eFe, tFe] = hee(vu, mg, a2, dee, $S, IS), [nFe, rFe] = hee(_u, gg, u2, Fa, BS, LS), Mr = "year", cs = "quarter", li = "month", Zn = "week", fs = "date", ni = "day", za = "dayofyear", js = "hours", Us = "minutes", vo = "seconds", Cu = "milliseconds", pee = [Mr, cs, li, Zn, fs, ni, za, js, Us, vo, Cu], G6 = pee.reduce((t, e, n) => (t[e] = 1 + n, t), {});
|
|
113680
113680
|
function gee(t) {
|
|
113681
113681
|
const e = ke(t).slice(), n = {};
|
|
113682
113682
|
return e.length || _e("Missing time unit."), e.forEach((i) => {
|
|
@@ -113694,7 +113694,7 @@ const iFe = {
|
|
|
113694
113694
|
[js]: "%H:00",
|
|
113695
113695
|
[Us]: "00:%M",
|
|
113696
113696
|
[vo]: ":%S",
|
|
113697
|
-
[
|
|
113697
|
+
[Cu]: ".%L",
|
|
113698
113698
|
[`${Mr}-${li}`]: "%Y-%m ",
|
|
113699
113699
|
[`${Mr}-${li}-${fs}`]: "%Y-%m-%d ",
|
|
113700
113700
|
[`${js}-${Us}`]: "%H:%M"
|
|
@@ -113761,7 +113761,7 @@ function fFe(t, e, n, r, i, s, o) {
|
|
|
113761
113761
|
return new Date(Date.UTC(t, e, n, r, i, s, o));
|
|
113762
113762
|
}
|
|
113763
113763
|
function Eee(t, e, n, r, i) {
|
|
113764
|
-
const s = e || 1, o = bt(t), u = (y, E, A) => (A = A || y, xFe(n[A], r[A], y === o && s, E)), a = /* @__PURE__ */ new Date(), l =
|
|
113764
|
+
const s = e || 1, o = bt(t), u = (y, E, A) => (A = A || y, xFe(n[A], r[A], y === o && s, E)), a = /* @__PURE__ */ new Date(), l = Au(t), c = l[Mr] ? u(Mr) : hi(2012), f = l[li] ? u(li) : l[cs] ? u(cs) : bc, x = l[Zn] && l[ni] ? u(ni, 1, Zn + ni) : l[Zn] ? u(Zn, 1) : l[ni] ? u(ni, 1) : l[fs] ? u(fs, 1) : l[za] ? u(za, 1) : p3, h = l[js] ? u(js) : bc, p = l[Us] ? u(Us) : bc, m = l[vo] ? u(vo) : bc, g = l[Cu] ? u(Cu) : bc;
|
|
113765
113765
|
return function(y) {
|
|
113766
113766
|
a.setTime(+y);
|
|
113767
113767
|
const E = c(a);
|
|
@@ -113783,7 +113783,7 @@ const dFe = {
|
|
|
113783
113783
|
[js]: (t) => t.getHours(),
|
|
113784
113784
|
[Us]: (t) => t.getMinutes(),
|
|
113785
113785
|
[vo]: (t) => t.getSeconds(),
|
|
113786
|
-
[
|
|
113786
|
+
[Cu]: (t) => t.getMilliseconds(),
|
|
113787
113787
|
[za]: (t) => mee(t),
|
|
113788
113788
|
[Zn]: (t) => dD(t),
|
|
113789
113789
|
[Zn + ni]: (t, e) => Vd(dD(t), t.getDay(), hD(e)),
|
|
@@ -113803,7 +113803,7 @@ const gFe = {
|
|
|
113803
113803
|
[js]: (t) => t.getUTCHours(),
|
|
113804
113804
|
[Us]: (t) => t.getUTCMinutes(),
|
|
113805
113805
|
[vo]: (t) => t.getUTCSeconds(),
|
|
113806
|
-
[
|
|
113806
|
+
[Cu]: (t) => t.getUTCMilliseconds(),
|
|
113807
113807
|
[za]: (t) => yee(t),
|
|
113808
113808
|
[Zn]: (t) => pD(t),
|
|
113809
113809
|
[ni]: (t, e) => Vd(1, t.getUTCDay(), gD(e)),
|
|
@@ -113816,7 +113816,7 @@ function yFe(t, e) {
|
|
|
113816
113816
|
return Eee(t, e || 1, gFe, mFe, fFe);
|
|
113817
113817
|
}
|
|
113818
113818
|
const EFe = {
|
|
113819
|
-
[Mr]:
|
|
113819
|
+
[Mr]: _u,
|
|
113820
113820
|
[cs]: gg.every(3),
|
|
113821
113821
|
[li]: gg,
|
|
113822
113822
|
[Zn]: u2,
|
|
@@ -113826,9 +113826,9 @@ const EFe = {
|
|
|
113826
113826
|
[js]: BS,
|
|
113827
113827
|
[Us]: LS,
|
|
113828
113828
|
[vo]: _a,
|
|
113829
|
-
[
|
|
113829
|
+
[Cu]: Qd
|
|
113830
113830
|
}, AFe = {
|
|
113831
|
-
[Mr]:
|
|
113831
|
+
[Mr]: vu,
|
|
113832
113832
|
[cs]: mg.every(3),
|
|
113833
113833
|
[li]: mg,
|
|
113834
113834
|
[Zn]: a2,
|
|
@@ -113838,7 +113838,7 @@ const EFe = {
|
|
|
113838
113838
|
[js]: $S,
|
|
113839
113839
|
[Us]: IS,
|
|
113840
113840
|
[vo]: _a,
|
|
113841
|
-
[
|
|
113841
|
+
[Cu]: Qd
|
|
113842
113842
|
};
|
|
113843
113843
|
function C3(t) {
|
|
113844
113844
|
return EFe[t];
|
|
@@ -113864,7 +113864,7 @@ function CFe(t, e, n, r) {
|
|
|
113864
113864
|
function SFe(t, e, n, r) {
|
|
113865
113865
|
return _ee(S3(t), e, n, r);
|
|
113866
113866
|
}
|
|
113867
|
-
const o1 = 1e3, u1 = o1 * 60, a1 = u1 * 60, kS = a1 * 24, bFe = kS * 7, aU = kS * 30, mD = kS * 365, vee = [Mr, li, fs, js, Us, vo,
|
|
113867
|
+
const o1 = 1e3, u1 = o1 * 60, a1 = u1 * 60, kS = a1 * 24, bFe = kS * 7, aU = kS * 30, mD = kS * 365, vee = [Mr, li, fs, js, Us, vo, Cu], l1 = vee.slice(0, -1), c1 = l1.slice(0, -1), f1 = c1.slice(0, -1), TFe = f1.slice(0, -1), RFe = [Mr, Zn], lU = [Mr, li], Cee = [Mr], Lp = [[l1, 1, o1], [l1, 5, 5 * o1], [l1, 15, 15 * o1], [l1, 30, 30 * o1], [c1, 1, u1], [c1, 5, 5 * u1], [c1, 15, 15 * u1], [c1, 30, 30 * u1], [f1, 1, a1], [f1, 3, 3 * a1], [f1, 6, 6 * a1], [f1, 12, 12 * a1], [TFe, 1, kS], [RFe, 1, bFe], [lU, 1, aU], [lU, 3, 3 * aU], [Cee, 1, mD]];
|
|
113868
113868
|
function OFe(t) {
|
|
113869
113869
|
const e = t.extent, n = t.maxbins || 40, r = Math.abs(_S(e)) / n;
|
|
113870
113870
|
let i = v3((u) => u[2]).right(Lp, r), s, o;
|
|
@@ -114226,7 +114226,7 @@ function YFe(t, e) {
|
|
|
114226
114226
|
return Lt(t.getHours() % 12 || 12, e, 2);
|
|
114227
114227
|
}
|
|
114228
114228
|
function KFe(t, e) {
|
|
114229
|
-
return Lt(1 + Fa.count(
|
|
114229
|
+
return Lt(1 + Fa.count(_u(t), t), e, 3);
|
|
114230
114230
|
}
|
|
114231
114231
|
function bee(t, e) {
|
|
114232
114232
|
return Lt(t.getMilliseconds(), e, 3);
|
|
@@ -114248,20 +114248,20 @@ function t9e(t) {
|
|
|
114248
114248
|
return e === 0 ? 7 : e;
|
|
114249
114249
|
}
|
|
114250
114250
|
function n9e(t, e) {
|
|
114251
|
-
return Lt(u2.count(
|
|
114251
|
+
return Lt(u2.count(_u(t) - 1, t), e, 2);
|
|
114252
114252
|
}
|
|
114253
114253
|
function Tee(t) {
|
|
114254
114254
|
var e = t.getDay();
|
|
114255
114255
|
return e >= 4 || e === 0 ? Gd(t) : Gd.ceil(t);
|
|
114256
114256
|
}
|
|
114257
114257
|
function r9e(t, e) {
|
|
114258
|
-
return t = Tee(t), Lt(Gd.count(
|
|
114258
|
+
return t = Tee(t), Lt(Gd.count(_u(t), t) + (_u(t).getDay() === 4), e, 2);
|
|
114259
114259
|
}
|
|
114260
114260
|
function i9e(t) {
|
|
114261
114261
|
return t.getDay();
|
|
114262
114262
|
}
|
|
114263
114263
|
function s9e(t, e) {
|
|
114264
|
-
return Lt(n_.count(
|
|
114264
|
+
return Lt(n_.count(_u(t) - 1, t), e, 2);
|
|
114265
114265
|
}
|
|
114266
114266
|
function o9e(t, e) {
|
|
114267
114267
|
return Lt(t.getFullYear() % 100, e, 2);
|
|
@@ -114290,7 +114290,7 @@ function x9e(t, e) {
|
|
|
114290
114290
|
return Lt(t.getUTCHours() % 12 || 12, e, 2);
|
|
114291
114291
|
}
|
|
114292
114292
|
function d9e(t, e) {
|
|
114293
|
-
return Lt(1 + Gl.count(
|
|
114293
|
+
return Lt(1 + Gl.count(vu(t), t), e, 3);
|
|
114294
114294
|
}
|
|
114295
114295
|
function Ree(t, e) {
|
|
114296
114296
|
return Lt(t.getUTCMilliseconds(), e, 3);
|
|
@@ -114312,20 +114312,20 @@ function y9e(t) {
|
|
|
114312
114312
|
return e === 0 ? 7 : e;
|
|
114313
114313
|
}
|
|
114314
114314
|
function E9e(t, e) {
|
|
114315
|
-
return Lt(a2.count(
|
|
114315
|
+
return Lt(a2.count(vu(t) - 1, t), e, 2);
|
|
114316
114316
|
}
|
|
114317
114317
|
function Oee(t) {
|
|
114318
114318
|
var e = t.getUTCDay();
|
|
114319
114319
|
return e >= 4 || e === 0 ? Wd(t) : Wd.ceil(t);
|
|
114320
114320
|
}
|
|
114321
114321
|
function A9e(t, e) {
|
|
114322
|
-
return t = Oee(t), Lt(Wd.count(
|
|
114322
|
+
return t = Oee(t), Lt(Wd.count(vu(t), t) + (vu(t).getUTCDay() === 4), e, 2);
|
|
114323
114323
|
}
|
|
114324
114324
|
function _9e(t) {
|
|
114325
114325
|
return t.getUTCDay();
|
|
114326
114326
|
}
|
|
114327
114327
|
function v9e(t, e) {
|
|
114328
|
-
return Lt(r_.count(
|
|
114328
|
+
return Lt(r_.count(vu(t) - 1, t), e, 2);
|
|
114329
114329
|
}
|
|
114330
114330
|
function C9e(t, e) {
|
|
114331
114331
|
return Lt(t.getUTCFullYear() % 100, e, 2);
|
|
@@ -114460,7 +114460,7 @@ function ED(t) {
|
|
|
114460
114460
|
}
|
|
114461
114461
|
function AU(t, e, n) {
|
|
114462
114462
|
n = n || {}, He(n) || _e(`Invalid time multi-format specifier: ${n}`);
|
|
114463
|
-
const r = e(vo), i = e(Us), s = e(js), o = e(fs), u = e(Zn), a = e(li), l = e(cs), c = e(Mr), f = t(n[
|
|
114463
|
+
const r = e(vo), i = e(Us), s = e(js), o = e(fs), u = e(Zn), a = e(li), l = e(cs), c = e(Mr), f = t(n[Cu] || ".%L"), x = t(n[vo] || ":%S"), h = t(n[Us] || "%I:%M"), p = t(n[js] || "%I %p"), m = t(n[fs] || n[ni] || "%a %d"), g = t(n[Zn] || "%b %d"), y = t(n[li] || "%B"), E = t(n[cs] || "%B"), A = t(n[Mr] || "%Y");
|
|
114464
114464
|
return (_) => (r(_) < _ ? f : i(_) < _ ? x : s(_) < _ ? h : o(_) < _ ? p : a(_) < _ ? u(_) < _ ? m : g : c(_) < _ ? l(_) < _ ? y : E : A)(_);
|
|
114465
114465
|
}
|
|
114466
114466
|
function Lee(t) {
|
|
@@ -115156,7 +115156,7 @@ function bLe(t) {
|
|
|
115156
115156
|
for (i = r.length; --i >= 0; )
|
|
115157
115157
|
e.push(n = r[i]), n === t && _e("Cycle detected in dataflow graph.");
|
|
115158
115158
|
}
|
|
115159
|
-
const s_ = {},
|
|
115159
|
+
const s_ = {}, Ko = 1, Rl = 2, la = 4, TLe = Ko | Rl, bU = Ko | la, Dx = Ko | Rl | la, TU = 8, kp = 16, RU = 32, OU = 64;
|
|
115160
115160
|
function zc(t, e, n) {
|
|
115161
115161
|
this.dataflow = t, this.stamp = e ?? -1, this.add = [], this.rem = [], this.mod = [], this.fields = null, this.encode = n || null;
|
|
115162
115162
|
}
|
|
@@ -115181,7 +115181,7 @@ zc.prototype = {
|
|
|
115181
115181
|
/**
|
|
115182
115182
|
* Boolean flag indicating ADD (added) tuples.
|
|
115183
115183
|
*/
|
|
115184
|
-
ADD:
|
|
115184
|
+
ADD: Ko,
|
|
115185
115185
|
/**
|
|
115186
115186
|
* Boolean flag indicating REM (removed) tuples.
|
|
115187
115187
|
*/
|
|
@@ -115276,7 +115276,7 @@ zc.prototype = {
|
|
|
115276
115276
|
*/
|
|
115277
115277
|
init(t, e) {
|
|
115278
115278
|
const n = this;
|
|
115279
|
-
return n.stamp = t.stamp, n.encode = t.encode, t.fields && !(e & OU) && (n.fields = t.fields), e &
|
|
115279
|
+
return n.stamp = t.stamp, n.encode = t.encode, t.fields && !(e & OU) && (n.fields = t.fields), e & Ko ? (n.addF = t.addF, n.add = t.add) : (n.addF = null, n.add = []), e & Rl ? (n.remF = t.remF, n.rem = t.rem) : (n.remF = null, n.rem = []), e & la ? (n.modF = t.modF, n.mod = t.mod) : (n.modF = null, n.mod = []), e & RU ? (n.srcF = null, n.source = null) : (n.srcF = t.srcF, n.source = t.source, t.cleans && (n.cleans = t.cleans)), n;
|
|
115280
115280
|
},
|
|
115281
115281
|
/**
|
|
115282
115282
|
* Schedules a function to run after pulse propagation completes.
|
|
@@ -115294,7 +115294,7 @@ zc.prototype = {
|
|
|
115294
115294
|
*/
|
|
115295
115295
|
changed(t) {
|
|
115296
115296
|
const e = t || Dx;
|
|
115297
|
-
return e &
|
|
115297
|
+
return e & Ko && this.add.length || e & Rl && this.rem.length || e & la && this.mod.length;
|
|
115298
115298
|
},
|
|
115299
115299
|
/**
|
|
115300
115300
|
* Forces a "reflow" of tuple values, such that all tuples in the backing
|
|
@@ -115307,7 +115307,7 @@ zc.prototype = {
|
|
|
115307
115307
|
if (t)
|
|
115308
115308
|
return this.fork(Dx).reflow();
|
|
115309
115309
|
const e = this.add.length, n = this.source && this.source.length;
|
|
115310
|
-
return n && n !== e && (this.mod = this.source, e && this.filter(la, DU(this,
|
|
115310
|
+
return n && n !== e && (this.mod = this.source, e && this.filter(la, DU(this, Ko))), this;
|
|
115311
115311
|
},
|
|
115312
115312
|
/**
|
|
115313
115313
|
* Get/set metadata to pulse requesting garbage collection
|
|
@@ -115356,7 +115356,7 @@ zc.prototype = {
|
|
|
115356
115356
|
*/
|
|
115357
115357
|
filter(t, e) {
|
|
115358
115358
|
const n = this;
|
|
115359
|
-
return t &
|
|
115359
|
+
return t & Ko && (n.addF = $y(n.addF, e)), t & Rl && (n.remF = $y(n.remF, e)), t & la && (n.modF = $y(n.modF, e)), t & kp && (n.srcF = $y(n.srcF, e)), n;
|
|
115360
115360
|
},
|
|
115361
115361
|
/**
|
|
115362
115362
|
* Materialize one or more tuple sets in this pulse. If the tuple set(s) have
|
|
@@ -115368,7 +115368,7 @@ zc.prototype = {
|
|
|
115368
115368
|
materialize(t) {
|
|
115369
115369
|
t = t || Dx;
|
|
115370
115370
|
const e = this;
|
|
115371
|
-
return t &
|
|
115371
|
+
return t & Ko && e.addF && (e.add = K6(e.add, e.addF), e.addF = null), t & Rl && e.remF && (e.rem = K6(e.rem, e.remF), e.remF = null), t & la && e.modF && (e.mod = K6(e.mod, e.modF), e.modF = null), t & kp && e.srcF && (e.source = e.source.filter(e.srcF), e.srcF = null), e;
|
|
115372
115372
|
},
|
|
115373
115373
|
/**
|
|
115374
115374
|
* Visit one or more tuple sets in this pulse.
|
|
@@ -115382,7 +115382,7 @@ zc.prototype = {
|
|
|
115382
115382
|
const n = this, r = e;
|
|
115383
115383
|
if (t & kp)
|
|
115384
115384
|
return Ac(n.source, n.srcF, r), n;
|
|
115385
|
-
t &
|
|
115385
|
+
t & Ko && Ac(n.add, n.addF, r), t & Rl && Ac(n.rem, n.remF, r), t & la && Ac(n.mod, n.modF, r);
|
|
115386
115386
|
const i = n.source;
|
|
115387
115387
|
if (t & TU && i) {
|
|
115388
115388
|
const s = n.add.length + n.mod.length;
|
|
@@ -119447,7 +119447,7 @@ function Wl(t, e) {
|
|
|
119447
119447
|
return null;
|
|
119448
119448
|
}
|
|
119449
119449
|
const bBe = () => typeof Image < "u" ? Image : null;
|
|
119450
|
-
function
|
|
119450
|
+
function Zu(t, e) {
|
|
119451
119451
|
switch (arguments.length) {
|
|
119452
119452
|
case 0:
|
|
119453
119453
|
break;
|
|
@@ -119500,7 +119500,7 @@ function J9() {
|
|
|
119500
119500
|
return arguments.length ? (r = s, i) : r;
|
|
119501
119501
|
}, i.copy = function() {
|
|
119502
119502
|
return J9(e, n).unknown(r);
|
|
119503
|
-
},
|
|
119503
|
+
}, Zu.apply(i, arguments), i;
|
|
119504
119504
|
}
|
|
119505
119505
|
function f2(t, e, n) {
|
|
119506
119506
|
t.prototype = e.prototype = n, n.constructor = t;
|
|
@@ -119513,7 +119513,7 @@ function O3(t, e) {
|
|
|
119513
119513
|
}
|
|
119514
119514
|
function nc() {
|
|
119515
119515
|
}
|
|
119516
|
-
var Cf = 0.7, Kd = 1 / Cf, ld = "\\s*([+-]?\\d+)\\s*", _g = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",
|
|
119516
|
+
var Cf = 0.7, Kd = 1 / Cf, ld = "\\s*([+-]?\\d+)\\s*", _g = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", au = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", TBe = /^#([0-9a-f]{3,8})$/, RBe = new RegExp(`^rgb\\(${ld},${ld},${ld}\\)$`), OBe = new RegExp(`^rgb\\(${au},${au},${au}\\)$`), DBe = new RegExp(`^rgba\\(${ld},${ld},${ld},${_g}\\)$`), NBe = new RegExp(`^rgba\\(${au},${au},${au},${_g}\\)$`), wBe = new RegExp(`^hsl\\(${_g},${au},${au}\\)$`), FBe = new RegExp(`^hsla\\(${_g},${au},${au},${_g}\\)$`), jU = {
|
|
119517
119517
|
aliceblue: 15792383,
|
|
119518
119518
|
antiquewhite: 16444375,
|
|
119519
119519
|
aqua: 65535,
|
|
@@ -119809,26 +119809,26 @@ function tR(t, e, n) {
|
|
|
119809
119809
|
}
|
|
119810
119810
|
const tne = Math.PI / 180, nne = 180 / Math.PI, x_ = 18, rne = 0.96422, ine = 1, sne = 0.82521, one = 4 / 29, cd = 6 / 29, une = 3 * cd * cd, $Be = cd * cd * cd;
|
|
119811
119811
|
function ane(t) {
|
|
119812
|
-
if (t instanceof
|
|
119813
|
-
return new
|
|
119812
|
+
if (t instanceof lu)
|
|
119813
|
+
return new lu(t.l, t.a, t.b, t.opacity);
|
|
119814
119814
|
if (t instanceof va)
|
|
119815
119815
|
return lne(t);
|
|
119816
119816
|
t instanceof er || (t = X9(t));
|
|
119817
119817
|
var e = sR(t.r), n = sR(t.g), r = sR(t.b), i = nR((0.2225045 * e + 0.7168786 * n + 0.0606169 * r) / ine), s, o;
|
|
119818
|
-
return e === n && n === r ? s = o = i : (s = nR((0.4360747 * e + 0.3850649 * n + 0.1430804 * r) / rne), o = nR((0.0139322 * e + 0.0971045 * n + 0.7141733 * r) / sne)), new
|
|
119818
|
+
return e === n && n === r ? s = o = i : (s = nR((0.4360747 * e + 0.3850649 * n + 0.1430804 * r) / rne), o = nR((0.0139322 * e + 0.0971045 * n + 0.7141733 * r) / sne)), new lu(116 * i - 16, 500 * (s - i), 200 * (i - o), t.opacity);
|
|
119819
119819
|
}
|
|
119820
119820
|
function d_(t, e, n, r) {
|
|
119821
|
-
return arguments.length === 1 ? ane(t) : new
|
|
119821
|
+
return arguments.length === 1 ? ane(t) : new lu(t, e, n, r ?? 1);
|
|
119822
119822
|
}
|
|
119823
|
-
function
|
|
119823
|
+
function lu(t, e, n, r) {
|
|
119824
119824
|
this.l = +t, this.a = +e, this.b = +n, this.opacity = +r;
|
|
119825
119825
|
}
|
|
119826
|
-
f2(
|
|
119826
|
+
f2(lu, d_, O3(nc, {
|
|
119827
119827
|
brighter(t) {
|
|
119828
|
-
return new
|
|
119828
|
+
return new lu(this.l + x_ * (t ?? 1), this.a, this.b, this.opacity);
|
|
119829
119829
|
},
|
|
119830
119830
|
darker(t) {
|
|
119831
|
-
return new
|
|
119831
|
+
return new lu(this.l - x_ * (t ?? 1), this.a, this.b, this.opacity);
|
|
119832
119832
|
},
|
|
119833
119833
|
rgb() {
|
|
119834
119834
|
var t = (this.l + 16) / 116, e = isNaN(this.a) ? t : t + this.a / 500, n = isNaN(this.b) ? t : t - this.b / 200;
|
|
@@ -119855,7 +119855,7 @@ function sR(t) {
|
|
|
119855
119855
|
function kBe(t) {
|
|
119856
119856
|
if (t instanceof va)
|
|
119857
119857
|
return new va(t.h, t.c, t.l, t.opacity);
|
|
119858
|
-
if (t instanceof
|
|
119858
|
+
if (t instanceof lu || (t = ane(t)), t.a === 0 && t.b === 0)
|
|
119859
119859
|
return new va(NaN, 0 < t.l && t.l < 100 ? 0 : NaN, t.l, t.opacity);
|
|
119860
119860
|
var e = Math.atan2(t.b, t.a) * nne;
|
|
119861
119861
|
return new va(e < 0 ? e + 360 : e, Math.sqrt(t.a * t.a + t.b * t.b), t.l, t.opacity);
|
|
@@ -119868,9 +119868,9 @@ function va(t, e, n, r) {
|
|
|
119868
119868
|
}
|
|
119869
119869
|
function lne(t) {
|
|
119870
119870
|
if (isNaN(t.h))
|
|
119871
|
-
return new
|
|
119871
|
+
return new lu(t.l, 0, 0, t.opacity);
|
|
119872
119872
|
var e = t.h * tne;
|
|
119873
|
-
return new
|
|
119873
|
+
return new lu(t.l, Math.cos(e) * t.c, Math.sin(e) * t.c, t.opacity);
|
|
119874
119874
|
}
|
|
119875
119875
|
f2(va, h_, O3(nc, {
|
|
119876
119876
|
brighter(t) {
|
|
@@ -120375,7 +120375,7 @@ function One() {
|
|
|
120375
120375
|
var t = Tne();
|
|
120376
120376
|
return t.copy = function() {
|
|
120377
120377
|
return N3(t, One());
|
|
120378
|
-
},
|
|
120378
|
+
}, Zu.apply(t, arguments), hx(t);
|
|
120379
120379
|
}
|
|
120380
120380
|
function Dne(t) {
|
|
120381
120381
|
var e;
|
|
@@ -120473,7 +120473,7 @@ function rL(t) {
|
|
|
120473
120473
|
}
|
|
120474
120474
|
function wne() {
|
|
120475
120475
|
const t = rL(VS()).domain([1, 10]);
|
|
120476
|
-
return t.copy = () => N3(t, wne()).base(t.base()),
|
|
120476
|
+
return t.copy = () => N3(t, wne()).base(t.base()), Zu.apply(t, arguments), t;
|
|
120477
120477
|
}
|
|
120478
120478
|
function rq(t) {
|
|
120479
120479
|
return function(e) {
|
|
@@ -120495,7 +120495,7 @@ function Fne() {
|
|
|
120495
120495
|
var t = iL(VS());
|
|
120496
120496
|
return t.copy = function() {
|
|
120497
120497
|
return N3(t, Fne()).constant(t.constant());
|
|
120498
|
-
},
|
|
120498
|
+
}, Zu.apply(t, arguments);
|
|
120499
120499
|
}
|
|
120500
120500
|
function sq(t) {
|
|
120501
120501
|
return function(e) {
|
|
@@ -120521,7 +120521,7 @@ function oL() {
|
|
|
120521
120521
|
var t = sL(VS());
|
|
120522
120522
|
return t.copy = function() {
|
|
120523
120523
|
return N3(t, oL()).exponent(t.exponent());
|
|
120524
|
-
},
|
|
120524
|
+
}, Zu.apply(t, arguments), t;
|
|
120525
120525
|
}
|
|
120526
120526
|
function v$e() {
|
|
120527
120527
|
return oL.apply(null, arguments).exponent(0.5);
|
|
@@ -120558,7 +120558,7 @@ function Lne() {
|
|
|
120558
120558
|
return n.slice();
|
|
120559
120559
|
}, s.copy = function() {
|
|
120560
120560
|
return Lne().domain(t).range(e).unknown(r);
|
|
120561
|
-
},
|
|
120561
|
+
}, Zu.apply(s, arguments);
|
|
120562
120562
|
}
|
|
120563
120563
|
function Ine() {
|
|
120564
120564
|
var t = 0, e = 1, n = 1, r = [0.5], i = [0, 1], s;
|
|
@@ -120584,7 +120584,7 @@ function Ine() {
|
|
|
120584
120584
|
return r.slice();
|
|
120585
120585
|
}, o.copy = function() {
|
|
120586
120586
|
return Ine().domain([t, e]).range(i).unknown(s);
|
|
120587
|
-
},
|
|
120587
|
+
}, Zu.apply(hx(o), arguments);
|
|
120588
120588
|
}
|
|
120589
120589
|
function Bne() {
|
|
120590
120590
|
var t = [0.5], e = [0, 1], n, r = 1;
|
|
@@ -120602,7 +120602,7 @@ function Bne() {
|
|
|
120602
120602
|
return arguments.length ? (n = s, i) : n;
|
|
120603
120603
|
}, i.copy = function() {
|
|
120604
120604
|
return Bne().domain(t).range(e).unknown(n);
|
|
120605
|
-
},
|
|
120605
|
+
}, Zu.apply(i, arguments);
|
|
120606
120606
|
}
|
|
120607
120607
|
function C$e(t) {
|
|
120608
120608
|
return new Date(t);
|
|
@@ -120632,10 +120632,10 @@ function uL(t, e, n, r, i, s, o, u, a, l) {
|
|
|
120632
120632
|
}, c;
|
|
120633
120633
|
}
|
|
120634
120634
|
function b$e() {
|
|
120635
|
-
return
|
|
120635
|
+
return Zu.apply(uL(nFe, rFe, _u, gg, u2, Fa, BS, LS, _a, s9).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
|
|
120636
120636
|
}
|
|
120637
120637
|
function T$e() {
|
|
120638
|
-
return
|
|
120638
|
+
return Zu.apply(uL(eFe, tFe, vu, mg, a2, Gl, $S, IS, _a, o9).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
|
|
120639
120639
|
}
|
|
120640
120640
|
function YS() {
|
|
120641
120641
|
var t = 0, e = 1, n, r, i, s, o = wi, u = !1, a;
|
|
@@ -120746,7 +120746,7 @@ function fL(t, e, n) {
|
|
|
120746
120746
|
const r = t - e + n * 2;
|
|
120747
120747
|
return t ? r > 0 ? r : 1 : 0;
|
|
120748
120748
|
}
|
|
120749
|
-
const D$e = "identity", Jd = "linear", Ga = "log", w3 = "pow", F3 = "sqrt", JS = "symlog", Sf = "time", bf = "utc",
|
|
120749
|
+
const D$e = "identity", Jd = "linear", Ga = "log", w3 = "pow", F3 = "sqrt", JS = "symlog", Sf = "time", bf = "utc", cu = "sequential", x2 = "diverging", Xd = "quantile", XS = "quantize", ZS = "threshold", xL = "ordinal", FD = "point", Une = "band", dL = "bin-ordinal", zn = "continuous", L3 = "discrete", I3 = "discretizing", Vs = "interpolating", hL = "temporal";
|
|
120750
120750
|
function N$e(t) {
|
|
120751
120751
|
return function(e) {
|
|
120752
120752
|
let n = e[0], r = e[1], i;
|
|
@@ -120849,7 +120849,7 @@ function k$e(t, e, n) {
|
|
|
120849
120849
|
const s = e();
|
|
120850
120850
|
return s.invertRange || (s.invertRange = s.invert ? N$e(s) : s.invertExtent ? w$e(s) : void 0), s.type = t, Qne(s);
|
|
120851
120851
|
};
|
|
120852
|
-
return r.metadata =
|
|
120852
|
+
return r.metadata = Au(ke(n)), r;
|
|
120853
120853
|
}
|
|
120854
120854
|
function Bt(t, e, n) {
|
|
120855
120855
|
return arguments.length > 1 ? (p_.set(t, k$e(t, e, n)), this) : Gne(t) ? p_.get(t) : void 0;
|
|
@@ -120862,12 +120862,12 @@ Bt(F3, v$e, zn);
|
|
|
120862
120862
|
Bt(JS, Fne, zn);
|
|
120863
120863
|
Bt(Sf, b$e, [zn, hL]);
|
|
120864
120864
|
Bt(bf, T$e, [zn, hL]);
|
|
120865
|
-
Bt(
|
|
120866
|
-
Bt(`${
|
|
120867
|
-
Bt(`${
|
|
120868
|
-
Bt(`${
|
|
120869
|
-
Bt(`${
|
|
120870
|
-
Bt(`${
|
|
120865
|
+
Bt(cu, aL, [zn, Vs]);
|
|
120866
|
+
Bt(`${cu}-${Jd}`, aL, [zn, Vs]);
|
|
120867
|
+
Bt(`${cu}-${Ga}`, $ne, [zn, Vs, Ga]);
|
|
120868
|
+
Bt(`${cu}-${w3}`, lL, [zn, Vs]);
|
|
120869
|
+
Bt(`${cu}-${F3}`, R$e, [zn, Vs]);
|
|
120870
|
+
Bt(`${cu}-${JS}`, kne, [zn, Vs]);
|
|
120871
120871
|
Bt(`${x2}-${Jd}`, Pne, [zn, Vs]);
|
|
120872
120872
|
Bt(`${x2}-${Ga}`, Mne, [zn, Vs, Ga]);
|
|
120873
120873
|
Bt(`${x2}-${w3}`, cL, [zn, Vs]);
|
|
@@ -121272,7 +121272,7 @@ function xke(t, e, n) {
|
|
|
121272
121272
|
}
|
|
121273
121273
|
return r;
|
|
121274
121274
|
}
|
|
121275
|
-
const h0 = Math.PI / 180, dke = 1e-14, Rc = Math.PI / 2,
|
|
121275
|
+
const h0 = Math.PI / 180, dke = 1e-14, Rc = Math.PI / 2, Zo = Math.PI * 2, Nx = Math.sqrt(3) / 2;
|
|
121276
121276
|
var uR = {}, aR = {}, cre = [].join;
|
|
121277
121277
|
function hke(t, e, n, r, i, s, o, u, a) {
|
|
121278
121278
|
const l = cre.call(arguments);
|
|
@@ -121290,7 +121290,7 @@ function hke(t, e, n, r, i, s, o, u, a) {
|
|
|
121290
121290
|
s == i && (F = -F);
|
|
121291
121291
|
const B = 0.5 * (_ + C) - F * (S - v), U = 0.5 * (v + S) + F * (C - _), z = Math.atan2(v - U, _ - B);
|
|
121292
121292
|
let W = Math.atan2(S - U, C - B) - z;
|
|
121293
|
-
W < 0 && s === 1 ? W +=
|
|
121293
|
+
W < 0 && s === 1 ? W += Zo : W > 0 && s === 0 && (W -= Zo);
|
|
121294
121294
|
const ue = Math.ceil(Math.abs(W / (Rc + 1e-3))), ge = [];
|
|
121295
121295
|
for (let he = 0; he < ue; ++he) {
|
|
121296
121296
|
const oe = z + he * W / ue, ce = z + (he + 1) * W / ue;
|
|
@@ -121426,7 +121426,7 @@ const fq = 0.5773502691896257, xq = {
|
|
|
121426
121426
|
circle: {
|
|
121427
121427
|
draw: function(t, e) {
|
|
121428
121428
|
const n = Math.sqrt(e) / 2;
|
|
121429
|
-
t.moveTo(n, 0), t.arc(0, 0, n, 0,
|
|
121429
|
+
t.moveTo(n, 0), t.arc(0, 0, n, 0, Zo);
|
|
121430
121430
|
}
|
|
121431
121431
|
},
|
|
121432
121432
|
cross: {
|
|
@@ -121524,14 +121524,14 @@ function _ke(t) {
|
|
|
121524
121524
|
function vke(t) {
|
|
121525
121525
|
return t.height;
|
|
121526
121526
|
}
|
|
121527
|
-
function
|
|
121527
|
+
function sa(t) {
|
|
121528
121528
|
return typeof t == "function" ? t : () => +t;
|
|
121529
121529
|
}
|
|
121530
121530
|
function qy(t, e, n) {
|
|
121531
121531
|
return Math.max(e, Math.min(t, n));
|
|
121532
121532
|
}
|
|
121533
121533
|
function Cke() {
|
|
121534
|
-
var t = Eke, e = Ake, n = _ke, r = vke, i =
|
|
121534
|
+
var t = Eke, e = Ake, n = _ke, r = vke, i = sa(0), s = i, o = i, u = i, a = null;
|
|
121535
121535
|
function l(c, f, x) {
|
|
121536
121536
|
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 = qy(+i.call(this, c), 0, E), _ = qy(+s.call(this, c), 0, E), v = qy(+o.call(this, c), 0, E), C = qy(+u.call(this, c), 0, E);
|
|
121537
121537
|
if (a || (a = h = Q9()), A <= 0 && _ <= 0 && v <= 0 && C <= 0)
|
|
@@ -121544,15 +121544,15 @@ function Cke() {
|
|
|
121544
121544
|
return a = null, h + "" || null;
|
|
121545
121545
|
}
|
|
121546
121546
|
return l.x = function(c) {
|
|
121547
|
-
return arguments.length ? (t =
|
|
121547
|
+
return arguments.length ? (t = sa(c), l) : t;
|
|
121548
121548
|
}, l.y = function(c) {
|
|
121549
|
-
return arguments.length ? (e =
|
|
121549
|
+
return arguments.length ? (e = sa(c), l) : e;
|
|
121550
121550
|
}, l.width = function(c) {
|
|
121551
|
-
return arguments.length ? (n =
|
|
121551
|
+
return arguments.length ? (n = sa(c), l) : n;
|
|
121552
121552
|
}, l.height = function(c) {
|
|
121553
|
-
return arguments.length ? (r =
|
|
121553
|
+
return arguments.length ? (r = sa(c), l) : r;
|
|
121554
121554
|
}, l.cornerRadius = function(c, f, x, h) {
|
|
121555
|
-
return arguments.length ? (i =
|
|
121555
|
+
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;
|
|
121556
121556
|
}, l.context = function(c) {
|
|
121557
121557
|
return arguments.length ? (a = c ?? null, l) : a;
|
|
121558
121558
|
}, l;
|
|
@@ -121567,7 +121567,7 @@ function Ske() {
|
|
|
121567
121567
|
var y = Math.sqrt(m * m + g * g), E = (m /= y) * a, A = (g /= y) * a, _ = Math.atan2(g, m);
|
|
121568
121568
|
i.moveTo(o - E, u - A), i.lineTo(f - m * p, x - g * p), i.arc(f, x, p, _ - Math.PI, _), i.lineTo(o + E, u + A), i.arc(o, u, a, _, _ + Math.PI);
|
|
121569
121569
|
} else
|
|
121570
|
-
i.arc(f, x, p, 0,
|
|
121570
|
+
i.arc(f, x, p, 0, Zo);
|
|
121571
121571
|
i.closePath();
|
|
121572
121572
|
} else
|
|
121573
121573
|
s = 1;
|
|
@@ -121768,7 +121768,7 @@ function sc(t, e, n) {
|
|
|
121768
121768
|
function nPe(t, e) {
|
|
121769
121769
|
return t.strokeJoin && t.strokeJoin !== "miter" ? 0 : e;
|
|
121770
121770
|
}
|
|
121771
|
-
const rPe =
|
|
121771
|
+
const rPe = Zo - 1e-8;
|
|
121772
121772
|
let tb, IE, BE, Bc, BD, $E, $D, kD;
|
|
121773
121773
|
const Il = (t, e) => tb.add(t, e), kE = (t, e) => Il(IE = t, BE = e), hq = (t) => Il(t, tb.y1), pq = (t) => Il(tb.x1, t), Oc = (t, e) => BD * t + $D * e, Dc = (t, e) => $E * t + kD * e, cR = (t, e) => Il(Oc(t, e), Dc(t, e)), fR = (t, e) => kE(Oc(t, e), Dc(t, e));
|
|
121774
121774
|
function nb(t, e) {
|
|
@@ -121799,8 +121799,8 @@ const iPe = {
|
|
|
121799
121799
|
const o = (l) => Il(n * Math.cos(l) + t, n * Math.sin(l) + e);
|
|
121800
121800
|
let u, a;
|
|
121801
121801
|
if (o(r), o(i), i !== r)
|
|
121802
|
-
if (r = r %
|
|
121803
|
-
for (i -=
|
|
121802
|
+
if (r = r % Zo, r < 0 && (r += Zo), i = i % Zo, i < 0 && (i += Zo), i < r && (s = !s, u = r, r = i, i = u), s)
|
|
121803
|
+
for (i -= Zo, u = r - r % Rc, a = 0; a < 4 && u > i; ++a, u -= Rc)
|
|
121804
121804
|
o(u);
|
|
121805
121805
|
else
|
|
121806
121806
|
for (u = r - r % Rc + Rc, a = 0; a < 4 && u < i; ++a, u = u + Rc)
|
|
@@ -121925,7 +121925,7 @@ function gre(t) {
|
|
|
121925
121925
|
r = e[i], r.index = i, r.zindex && n.push(r);
|
|
121926
121926
|
return t.zdirty = !1, t.zitems = n.sort(aPe);
|
|
121927
121927
|
}
|
|
121928
|
-
function
|
|
121928
|
+
function Su(t, e) {
|
|
121929
121929
|
var n = t.items, r, i;
|
|
121930
121930
|
if (!n || !n.length)
|
|
121931
121931
|
return;
|
|
@@ -121955,7 +121955,7 @@ function MD(t, e) {
|
|
|
121955
121955
|
}
|
|
121956
121956
|
function TL(t) {
|
|
121957
121957
|
return function(e, n, r) {
|
|
121958
|
-
|
|
121958
|
+
Su(n, (i) => {
|
|
121959
121959
|
(!r || r.intersects(i.bounds)) && mre(t, e, i, i);
|
|
121960
121960
|
});
|
|
121961
121961
|
};
|
|
@@ -122117,9 +122117,9 @@ function Sg(t, e, n, r) {
|
|
|
122117
122117
|
}
|
|
122118
122118
|
const SPe = P3(Sg), bPe = P3(Sg, !1), TPe = P3(Sg, !0);
|
|
122119
122119
|
function RPe(t, e, n) {
|
|
122120
|
-
|
|
122120
|
+
Su(e, (r) => {
|
|
122121
122121
|
const i = r.x || 0, s = r.y || 0, o = r.strokeForeground, u = r.opacity == null ? 1 : r.opacity;
|
|
122122
|
-
(r.stroke || r.fill) && u && (Sg(t, r, i, s), eh(t, r), r.fill && y_(t, r, u) && t.fill(), r.stroke && !o && th(t, r, u) && t.stroke()), t.save(), t.translate(i, s), r.clip && Ere(t, r), n && n.translate(-i, -s),
|
|
122122
|
+
(r.stroke || r.fill) && u && (Sg(t, r, i, s), eh(t, r), r.fill && y_(t, r, u) && t.fill(), r.stroke && !o && th(t, r, u) && t.stroke()), t.save(), t.translate(i, s), r.clip && Ere(t, r), n && n.translate(-i, -s), Su(r, (a) => {
|
|
122123
122123
|
this.draw(t, a, n);
|
|
122124
122124
|
}), n && n.translate(i, s), t.restore(), o && r.stroke && u && (Sg(t, r, i, s), eh(t, r), th(t, r, u) && t.stroke());
|
|
122125
122125
|
});
|
|
@@ -122194,7 +122194,7 @@ function FPe(t, e) {
|
|
|
122194
122194
|
return t.set(s, o, s + r, o + i);
|
|
122195
122195
|
}
|
|
122196
122196
|
function LPe(t, e, n) {
|
|
122197
|
-
|
|
122197
|
+
Su(e, (r) => {
|
|
122198
122198
|
if (n && !n.intersects(r.bounds))
|
|
122199
122199
|
return;
|
|
122200
122200
|
const i = wL(r, this);
|
|
@@ -122275,7 +122275,7 @@ function vre(t, e, n) {
|
|
|
122275
122275
|
return e.stroke && th(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;
|
|
122276
122276
|
}
|
|
122277
122277
|
function zPe(t, e, n) {
|
|
122278
|
-
|
|
122278
|
+
Su(e, (r) => {
|
|
122279
122279
|
if (!(n && !n.intersects(r.bounds))) {
|
|
122280
122280
|
var i = r.opacity == null ? 1 : r.opacity;
|
|
122281
122281
|
i && vre(t, r, i) && (eh(t, r), t.stroke());
|
|
@@ -122296,7 +122296,7 @@ var GPe = {
|
|
|
122296
122296
|
isect: sPe
|
|
122297
122297
|
}, WPe = DL("shape", Xke), VPe = DL("symbol", Zke, dre);
|
|
122298
122298
|
const _q = Q7e();
|
|
122299
|
-
var
|
|
122299
|
+
var fu = {
|
|
122300
122300
|
height: cl,
|
|
122301
122301
|
measureWidth: IL,
|
|
122302
122302
|
estimateWidth: jD,
|
|
@@ -122305,7 +122305,7 @@ var cu = {
|
|
|
122305
122305
|
};
|
|
122306
122306
|
Cre(!0);
|
|
122307
122307
|
function Cre(t) {
|
|
122308
|
-
|
|
122308
|
+
fu.width = t && Vl ? IL : jD;
|
|
122309
122309
|
}
|
|
122310
122310
|
function jD(t, e) {
|
|
122311
122311
|
return Sre(p0(t, e), cl(t));
|
|
@@ -122342,7 +122342,7 @@ function p0(t, e) {
|
|
|
122342
122342
|
return t.limit > 0 && n.length ? JPe(t, n) : n;
|
|
122343
122343
|
}
|
|
122344
122344
|
function KPe(t) {
|
|
122345
|
-
if (
|
|
122345
|
+
if (fu.width === IL) {
|
|
122346
122346
|
const e = BL(t);
|
|
122347
122347
|
return (n) => bre(n, e);
|
|
122348
122348
|
} else {
|
|
@@ -122390,15 +122390,15 @@ function ZPe(t, e) {
|
|
|
122390
122390
|
t("text-anchor", XPe[e.align] || "start"), u ? (a = Wc(s, o) + " " + OL(u), (n || r) && (a += " " + Wc(n, r))) : a = Wc(s + n, o + r), t("transform", a);
|
|
122391
122391
|
}
|
|
122392
122392
|
function kL(t, e, n) {
|
|
122393
|
-
var r =
|
|
122394
|
-
if (ve(c) ? (r += Tf(e) * (c.length - 1), f = c.reduce((x, h) => Math.max(x,
|
|
122393
|
+
var r = fu.height(e), i = e.align, s = ub(e), o = s.x1, u = s.y1, a = e.dx || 0, l = (e.dy || 0) + $L(e) - Math.round(0.8 * r), c = M3(e), f;
|
|
122394
|
+
if (ve(c) ? (r += Tf(e) * (c.length - 1), f = c.reduce((x, h) => Math.max(x, fu.width(e, h)), 0)) : f = fu.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)
|
|
122395
122395
|
t.rotate(e.angle * h0, o, u);
|
|
122396
122396
|
else if (n === 2)
|
|
122397
122397
|
return t.rotatedPoints(e.angle * h0, o, u);
|
|
122398
122398
|
return t;
|
|
122399
122399
|
}
|
|
122400
122400
|
function eMe(t, e, n) {
|
|
122401
|
-
|
|
122401
|
+
Su(e, (r) => {
|
|
122402
122402
|
var i = r.opacity == null ? 1 : r.opacity, s, o, u, a, l, c, f;
|
|
122403
122403
|
if (!(n && !n.intersects(r.bounds) || // bounds check
|
|
122404
122404
|
i === 0 || r.fontSize <= 0 || r.text == null || r.text.length === 0)) {
|
|
@@ -122607,7 +122607,7 @@ function Xi(t, e, n, r) {
|
|
|
122607
122607
|
var i = t.childNodes[e], s;
|
|
122608
122608
|
return (!i || i.tagName.toLowerCase() !== n.toLowerCase()) && (s = i || null, i = $c(t.ownerDocument, n, r), t.insertBefore(i, s)), i;
|
|
122609
122609
|
}
|
|
122610
|
-
function
|
|
122610
|
+
function eu(t, e) {
|
|
122611
122611
|
for (var n = t.childNodes, r = n.length; r > e; )
|
|
122612
122612
|
t.removeChild(n[--r]);
|
|
122613
122613
|
return t;
|
|
@@ -123029,7 +123029,7 @@ function SMe(t, e, n) {
|
|
|
123029
123029
|
}
|
|
123030
123030
|
De(zD, fl, {
|
|
123031
123031
|
initialize(t, e, n, r, i, s) {
|
|
123032
|
-
return this._options = s || {}, this._canvas = this._options.externalContext ? null : Wl(1, 1, this._options.type), t && this._canvas && (
|
|
123032
|
+
return this._options = s || {}, this._canvas = this._options.externalContext ? null : Wl(1, 1, this._options.type), t && this._canvas && (eu(t, 0).appendChild(this._canvas), this._canvas.setAttribute("class", "marks")), Rq.initialize.call(this, t, e, n, r, i);
|
|
123033
123033
|
},
|
|
123034
123034
|
resize(t, e, n, r) {
|
|
123035
123035
|
if (Rq.resize.call(this, t, e, n, r), this._canvas)
|
|
@@ -123112,7 +123112,7 @@ const kre = "aria-hidden", ML = "aria-label", jL = "role", UL = "aria-roledescri
|
|
|
123112
123112
|
[jL]: t,
|
|
123113
123113
|
[UL]: e,
|
|
123114
123114
|
[ML]: n || void 0
|
|
123115
|
-
}), bMe =
|
|
123115
|
+
}), bMe = Au(["axis-domain", "axis-grid", "axis-label", "axis-tick", "axis-title", "legend-band", "legend-entry", "legend-gradient", "legend-label", "legend-title", "legend-symbol", "title"]), Oq = {
|
|
123116
123116
|
axis: {
|
|
123117
123117
|
desc: "axis",
|
|
123118
123118
|
caption: OMe
|
|
@@ -123259,7 +123259,7 @@ De(Wre, fl, {
|
|
|
123259
123259
|
* @return {SVGRenderer} - This renderer instance.
|
|
123260
123260
|
*/
|
|
123261
123261
|
initialize(t, e, n, r, i) {
|
|
123262
|
-
return this._defs = {}, this._clearDefs(), t && (this._svg = Xi(t, 0, "svg", kn), this._svg.setAttributeNS(wq, "xmlns", kn), this._svg.setAttributeNS(wq, "xmlns:xlink", bg["xmlns:xlink"]), this._svg.setAttribute("version", bg.version), this._svg.setAttribute("class", "marks"),
|
|
123262
|
+
return this._defs = {}, this._clearDefs(), t && (this._svg = Xi(t, 0, "svg", kn), this._svg.setAttributeNS(wq, "xmlns", kn), this._svg.setAttributeNS(wq, "xmlns:xlink", bg["xmlns:xlink"]), this._svg.setAttribute("version", bg.version), this._svg.setAttribute("class", "marks"), eu(t, 1), this._root = Xi(this._svg, Up, "g", kn), Bl(this._root, Gre), eu(this._svg, Up + 1)), this.background(this._bgcolor), xR.initialize.call(this, t, e, n, r, i);
|
|
123263
123263
|
},
|
|
123264
123264
|
/**
|
|
123265
123265
|
* Get / set the background color.
|
|
@@ -123313,7 +123313,7 @@ De(Wre, fl, {
|
|
|
123313
123313
|
* @param {object} scene - The root mark of a scenegraph to render.
|
|
123314
123314
|
*/
|
|
123315
123315
|
_render(t) {
|
|
123316
|
-
return this._dirtyCheck() && (this._dirtyAll && this._clearDefs(), this.mark(this._root, t),
|
|
123316
|
+
return this._dirtyCheck() && (this._dirtyAll && this._clearDefs(), this.mark(this._root, t), eu(this._root, 1)), this.defs(), this._dirty = [], ++this._dirtyID, this;
|
|
123317
123317
|
},
|
|
123318
123318
|
// -- Manage rendering of items marked as dirty --
|
|
123319
123319
|
/**
|
|
@@ -123374,7 +123374,7 @@ De(Wre, fl, {
|
|
|
123374
123374
|
const h = this.isDirty(x), p = Lq(x, u, l, i.tag, r);
|
|
123375
123375
|
h && (this._update(i, p, x), o && $Me(this, p, x)), l = p, ++c;
|
|
123376
123376
|
};
|
|
123377
|
-
return i.nested ? e.items.length && f(e.items[0]) :
|
|
123377
|
+
return i.nested ? e.items.length && f(e.items[0]) : Su(e, f), eu(u, c), u;
|
|
123378
123378
|
},
|
|
123379
123379
|
/**
|
|
123380
123380
|
* Update the attributes of an SVG element for a mark item.
|
|
@@ -123417,7 +123417,7 @@ De(Wre, fl, {
|
|
|
123417
123417
|
n || (e.el = n = Xi(t, Up + 1, "defs", kn)), r = IMe(n, e.gradient[i], r);
|
|
123418
123418
|
for (const i in e.clipping)
|
|
123419
123419
|
n || (e.el = n = Xi(t, Up + 1, "defs", kn)), r = BMe(n, e.clipping[i], r);
|
|
123420
|
-
n && (r === 0 ? (t.removeChild(n), e.el = null) :
|
|
123420
|
+
n && (r === 0 ? (t.removeChild(n), e.el = null) : eu(n, r));
|
|
123421
123421
|
},
|
|
123422
123422
|
/**
|
|
123423
123423
|
* Clear defs caches.
|
|
@@ -123467,7 +123467,7 @@ function IMe(t, e, n) {
|
|
|
123467
123467
|
});
|
|
123468
123468
|
for (r = 0, i = e.stops.length; r < i; ++r)
|
|
123469
123469
|
s = Xi(t, r, "stop", kn), s.setAttribute("offset", e.stops[r].offset), s.setAttribute("stop-color", e.stops[r].color);
|
|
123470
|
-
return
|
|
123470
|
+
return eu(t, r), n;
|
|
123471
123471
|
}
|
|
123472
123472
|
function BMe(t, e, n) {
|
|
123473
123473
|
let r;
|
|
@@ -123476,14 +123476,14 @@ function BMe(t, e, n) {
|
|
|
123476
123476
|
y: 0,
|
|
123477
123477
|
width: e.width,
|
|
123478
123478
|
height: e.height
|
|
123479
|
-
})),
|
|
123479
|
+
})), eu(t, 1), n + 1;
|
|
123480
123480
|
}
|
|
123481
123481
|
function $Me(t, e, n) {
|
|
123482
123482
|
e = e.lastChild.previousSibling;
|
|
123483
123483
|
let r, i = 0;
|
|
123484
|
-
|
|
123484
|
+
Su(n, (s) => {
|
|
123485
123485
|
r = t.mark(e, s, r), ++i;
|
|
123486
|
-
}),
|
|
123486
|
+
}), eu(e, 1 + i);
|
|
123487
123487
|
}
|
|
123488
123488
|
function Lq(t, e, n, r, i) {
|
|
123489
123489
|
let s = t._svg, o;
|
|
@@ -123525,7 +123525,7 @@ const PMe = {
|
|
|
123525
123525
|
const r = M3(n);
|
|
123526
123526
|
let i, s, o, u;
|
|
123527
123527
|
ve(r) ? (s = r.map((a) => p0(n, a)), i = s.join(`
|
|
123528
|
-
`), i !== Br.text && (
|
|
123528
|
+
`), i !== Br.text && (eu(e, 0), o = e.ownerDocument, u = Tf(n), s.forEach((a, l) => {
|
|
123529
123529
|
const c = $c(o, "tspan", kn);
|
|
123530
123530
|
c.__data__ = n, c.textContent = a, l && (c.setAttribute("x", 0), c.setAttribute("dy", u)), e.appendChild(c);
|
|
123531
123531
|
}), Br.text = i)) : (s = p0(n, r), s !== Br.text && (e.textContent = s, Br.text = s)), Vr(e, "font-family", ob(n)), Vr(e, "font-size", cl(n) + "px"), Vr(e, "font-style", n.fontStyle), Vr(e, "font-variant", n.fontVariant), Vr(e, "font-weight", n.fontWeight);
|
|
@@ -123614,11 +123614,11 @@ De(Yre, fl, {
|
|
|
123614
123614
|
t.text(p0(o, a));
|
|
123615
123615
|
} else if (r === "g") {
|
|
123616
123616
|
const a = o.strokeForeground, l = o.fill, c = o.stroke;
|
|
123617
|
-
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)),
|
|
123617
|
+
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)), Su(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();
|
|
123618
123618
|
}
|
|
123619
123619
|
t.close(), u && t.close();
|
|
123620
123620
|
};
|
|
123621
|
-
return n.nested ? e.items && e.items.length && s(e.items[0]) :
|
|
123621
|
+
return n.nested ? e.items && e.items.length && s(e.items[0]) : Su(e, s), t.close();
|
|
123622
123622
|
},
|
|
123623
123623
|
/**
|
|
123624
123624
|
* Get href attributes for a hyperlinked mark item.
|
|
@@ -124634,9 +124634,9 @@ function qje(t) {
|
|
|
124634
124634
|
return !t.bins && (e === Jd || e === w3 || e === F3);
|
|
124635
124635
|
}
|
|
124636
124636
|
function Tie(t) {
|
|
124637
|
-
return gL(t) && t !==
|
|
124637
|
+
return gL(t) && t !== cu;
|
|
124638
124638
|
}
|
|
124639
|
-
const Hje =
|
|
124639
|
+
const Hje = Au(["set", "modified", "clear", "type", "scheme", "schemeExtent", "schemeCount", "domain", "domainMin", "domainMid", "domainMax", "domainRaw", "domainImplicit", "nice", "zero", "bins", "range", "rangeStep", "round", "reverse", "interpolate", "interpolateGamma"]);
|
|
124640
124640
|
function Rie(t) {
|
|
124641
124641
|
ye.call(this, null, t), this.modified(!0);
|
|
124642
124642
|
}
|
|
@@ -124655,7 +124655,7 @@ De(Rie, ye, {
|
|
|
124655
124655
|
});
|
|
124656
124656
|
function zje(t) {
|
|
124657
124657
|
var e = t.type, n = "", r;
|
|
124658
|
-
return e ===
|
|
124658
|
+
return e === cu ? cu + "-" + Jd : (Qje(t) && (r = t.rawDomain ? t.rawDomain.length : t.domain ? t.domain.length + +(t.domainMid != null) : 0, n = r === 2 ? cu + "-" : r === 3 ? x2 + "-" : ""), (n + e || Jd).toLowerCase());
|
|
124659
124659
|
}
|
|
124660
124660
|
function Qje(t) {
|
|
124661
124661
|
const e = t.type;
|
|
@@ -124880,12 +124880,12 @@ function Vq(t, e) {
|
|
|
124880
124880
|
function da(t, e) {
|
|
124881
124881
|
t && Gq.hasOwnProperty(t.type) ? Gq[t.type](t, e) : D_(t, e);
|
|
124882
124882
|
}
|
|
124883
|
-
var N_ = new ai(), w_ = new ai(), Bie, $ie, JD, XD, ZD,
|
|
124883
|
+
var N_ = new ai(), w_ = new ai(), Bie, $ie, JD, XD, ZD, bu = {
|
|
124884
124884
|
point: hr,
|
|
124885
124885
|
lineStart: hr,
|
|
124886
124886
|
lineEnd: hr,
|
|
124887
124887
|
polygonStart: function() {
|
|
124888
|
-
N_ = new ai(),
|
|
124888
|
+
N_ = new ai(), bu.lineStart = iUe, bu.lineEnd = sUe;
|
|
124889
124889
|
},
|
|
124890
124890
|
polygonEnd: function() {
|
|
124891
124891
|
var t = +N_;
|
|
@@ -124896,13 +124896,13 @@ var N_ = new ai(), w_ = new ai(), Bie, $ie, JD, XD, ZD, Su = {
|
|
|
124896
124896
|
}
|
|
124897
124897
|
};
|
|
124898
124898
|
function iUe() {
|
|
124899
|
-
|
|
124899
|
+
bu.point = oUe;
|
|
124900
124900
|
}
|
|
124901
124901
|
function sUe() {
|
|
124902
124902
|
kie(Bie, $ie);
|
|
124903
124903
|
}
|
|
124904
124904
|
function oUe(t, e) {
|
|
124905
|
-
|
|
124905
|
+
bu.point = kie, Bie = t, $ie = e, t *= pt, e *= pt, JD = t, XD = tt(e = e / 2 + R_), ZD = Ke(e);
|
|
124906
124906
|
}
|
|
124907
124907
|
function kie(t, e) {
|
|
124908
124908
|
t *= pt, e *= pt, e = e / 2 + R_;
|
|
@@ -124910,7 +124910,7 @@ function kie(t, e) {
|
|
|
124910
124910
|
N_.add(Hs(l, a)), JD = t, XD = s, ZD = o;
|
|
124911
124911
|
}
|
|
124912
124912
|
function uUe(t) {
|
|
124913
|
-
return w_ = new ai(), da(t,
|
|
124913
|
+
return w_ = new ai(), da(t, bu), w_ * 2;
|
|
124914
124914
|
}
|
|
124915
124915
|
function F_(t) {
|
|
124916
124916
|
return [Hs(t[1], t[0]), Pi(t[2])];
|
|
@@ -124940,10 +124940,10 @@ var fn, bi, En, Ki, vc, Pie, Mie, fd, P1, Ol, Wa, ca = {
|
|
|
124940
124940
|
lineStart: Yq,
|
|
124941
124941
|
lineEnd: Kq,
|
|
124942
124942
|
polygonStart: function() {
|
|
124943
|
-
ca.point = Uie, ca.lineStart = aUe, ca.lineEnd = lUe, P1 = new ai(),
|
|
124943
|
+
ca.point = Uie, ca.lineStart = aUe, ca.lineEnd = lUe, P1 = new ai(), bu.polygonStart();
|
|
124944
124944
|
},
|
|
124945
124945
|
polygonEnd: function() {
|
|
124946
|
-
|
|
124946
|
+
bu.polygonEnd(), ca.point = e7, ca.lineStart = Yq, ca.lineEnd = Kq, N_ < 0 ? (fn = -(En = 180), bi = -(Ki = 90)) : P1 > Ze ? Ki = 90 : P1 < -Ze && (bi = -90), Wa[0] = fn, Wa[1] = En;
|
|
124947
124947
|
},
|
|
124948
124948
|
sphere: function() {
|
|
124949
124949
|
fn = -(En = 180), bi = -(Ki = 90);
|
|
@@ -124975,13 +124975,13 @@ function Uie(t, e) {
|
|
|
124975
124975
|
P1.add(At(n) > 180 ? n + (n > 0 ? 360 : -360) : n);
|
|
124976
124976
|
} else
|
|
124977
124977
|
Pie = t, Mie = e;
|
|
124978
|
-
|
|
124978
|
+
bu.point(t, e), jie(t, e);
|
|
124979
124979
|
}
|
|
124980
124980
|
function aUe() {
|
|
124981
|
-
|
|
124981
|
+
bu.lineStart();
|
|
124982
124982
|
}
|
|
124983
124983
|
function lUe() {
|
|
124984
|
-
Uie(Pie, Mie),
|
|
124984
|
+
Uie(Pie, Mie), bu.lineEnd(), At(P1) > Ze && (fn = -(En = 180)), Wa[0] = fn, Wa[1] = En, fd = null;
|
|
124985
124985
|
}
|
|
124986
124986
|
function Yi(t, e) {
|
|
124987
124987
|
return (e -= t) < 0 ? e + 360 : e;
|
|
@@ -125599,7 +125599,7 @@ var sh = 1 / 0, U_ = sh, Og = -sh, q_ = Og, H_ = {
|
|
|
125599
125599
|
function FUe(t, e) {
|
|
125600
125600
|
t < sh && (sh = t), t > Og && (Og = t), e < U_ && (U_ = e), e > q_ && (q_ = e);
|
|
125601
125601
|
}
|
|
125602
|
-
var l7 = 0, c7 = 0, g1 = 0, z_ = 0, Q_ = 0, Zx = 0, f7 = 0, x7 = 0, m1 = 0, Zie, ese,
|
|
125602
|
+
var l7 = 0, c7 = 0, g1 = 0, z_ = 0, Q_ = 0, Zx = 0, f7 = 0, x7 = 0, m1 = 0, Zie, ese, tu, nu, Os = {
|
|
125603
125603
|
point: Df,
|
|
125604
125604
|
lineStart: aH,
|
|
125605
125605
|
lineEnd: lH,
|
|
@@ -125621,11 +125621,11 @@ function aH() {
|
|
|
125621
125621
|
Os.point = LUe;
|
|
125622
125622
|
}
|
|
125623
125623
|
function LUe(t, e) {
|
|
125624
|
-
Os.point = IUe, Df(
|
|
125624
|
+
Os.point = IUe, Df(tu = t, nu = e);
|
|
125625
125625
|
}
|
|
125626
125626
|
function IUe(t, e) {
|
|
125627
|
-
var n = t -
|
|
125628
|
-
z_ += i * (
|
|
125627
|
+
var n = t - tu, r = e - nu, i = mi(n * n + r * r);
|
|
125628
|
+
z_ += i * (tu + t) / 2, Q_ += i * (nu + e) / 2, Zx += i, Df(tu = t, nu = e);
|
|
125629
125629
|
}
|
|
125630
125630
|
function lH() {
|
|
125631
125631
|
Os.point = Df;
|
|
@@ -125637,11 +125637,11 @@ function $Ue() {
|
|
|
125637
125637
|
tse(Zie, ese);
|
|
125638
125638
|
}
|
|
125639
125639
|
function kUe(t, e) {
|
|
125640
|
-
Os.point = tse, Df(Zie =
|
|
125640
|
+
Os.point = tse, Df(Zie = tu = t, ese = nu = e);
|
|
125641
125641
|
}
|
|
125642
125642
|
function tse(t, e) {
|
|
125643
|
-
var n = t -
|
|
125644
|
-
z_ += i * (
|
|
125643
|
+
var n = t - tu, r = e - nu, i = mi(n * n + r * r);
|
|
125644
|
+
z_ += i * (tu + t) / 2, Q_ += i * (nu + e) / 2, Zx += i, i = nu * t - tu * e, f7 += i * (tu + t), x7 += i * (nu + e), m1 += i * 3, Df(tu = t, nu = e);
|
|
125645
125645
|
}
|
|
125646
125646
|
function nse(t) {
|
|
125647
125647
|
this._context = t;
|
|
@@ -125951,7 +125951,7 @@ function gH(t, e, n, r, i, s) {
|
|
|
125951
125951
|
return [r * (c * m - f * g + x), i * (h - f * m - c * g)];
|
|
125952
125952
|
}, p;
|
|
125953
125953
|
}
|
|
125954
|
-
function
|
|
125954
|
+
function ea(t) {
|
|
125955
125955
|
return ase(function() {
|
|
125956
125956
|
return t;
|
|
125957
125957
|
})();
|
|
@@ -126135,7 +126135,7 @@ fse.invert = U3(function(t) {
|
|
|
126135
126135
|
return 2 * Pi(t / 2);
|
|
126136
126136
|
});
|
|
126137
126137
|
function KUe() {
|
|
126138
|
-
return
|
|
126138
|
+
return ea(fse).scale(124.75).clipAngle(180 - 1e-3);
|
|
126139
126139
|
}
|
|
126140
126140
|
var xse = cse(function(t) {
|
|
126141
126141
|
return (t = Iie(t)) && t / Ke(t);
|
|
@@ -126144,7 +126144,7 @@ xse.invert = U3(function(t) {
|
|
|
126144
126144
|
return t;
|
|
126145
126145
|
});
|
|
126146
126146
|
function JUe() {
|
|
126147
|
-
return
|
|
126147
|
+
return ea(xse).scale(79.4188).clipAngle(180 - 1e-3);
|
|
126148
126148
|
}
|
|
126149
126149
|
function xb(t, e) {
|
|
126150
126150
|
return [t, O_(eI((_n + e) / 2))];
|
|
@@ -126156,7 +126156,7 @@ function XUe() {
|
|
|
126156
126156
|
return dse(xb).scale(961 / gi);
|
|
126157
126157
|
}
|
|
126158
126158
|
function dse(t) {
|
|
126159
|
-
var e =
|
|
126159
|
+
var e = ea(t), n = e.center, r = e.scale, i = e.translate, s = e.clipExtent, o = null, u, a, l;
|
|
126160
126160
|
e.scale = function(f) {
|
|
126161
126161
|
return arguments.length ? (r(f), c()) : r();
|
|
126162
126162
|
}, e.translate = function(f) {
|
|
@@ -126197,7 +126197,7 @@ function V_(t, e) {
|
|
|
126197
126197
|
}
|
|
126198
126198
|
V_.invert = V_;
|
|
126199
126199
|
function tqe() {
|
|
126200
|
-
return
|
|
126200
|
+
return ea(V_).scale(152.63);
|
|
126201
126201
|
}
|
|
126202
126202
|
function nqe(t, e) {
|
|
126203
126203
|
var n = tt(t), r = t === e ? Ke(t) : (n - tt(e)) / (e - t), i = n / r + t;
|
|
@@ -126232,7 +126232,7 @@ hse.invert = function(t, e) {
|
|
|
126232
126232
|
];
|
|
126233
126233
|
};
|
|
126234
126234
|
function sqe() {
|
|
126235
|
-
return
|
|
126235
|
+
return ea(hse).scale(177.158);
|
|
126236
126236
|
}
|
|
126237
126237
|
function pse(t, e) {
|
|
126238
126238
|
var n = tt(e), r = tt(t) * n;
|
|
@@ -126240,7 +126240,7 @@ function pse(t, e) {
|
|
|
126240
126240
|
}
|
|
126241
126241
|
pse.invert = U3(h2);
|
|
126242
126242
|
function oqe() {
|
|
126243
|
-
return
|
|
126243
|
+
return ea(pse).scale(144.049).clipAngle(60);
|
|
126244
126244
|
}
|
|
126245
126245
|
function uqe() {
|
|
126246
126246
|
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 = cb({
|
|
@@ -126312,14 +126312,14 @@ gse.invert = function(t, e) {
|
|
|
126312
126312
|
];
|
|
126313
126313
|
};
|
|
126314
126314
|
function aqe() {
|
|
126315
|
-
return
|
|
126315
|
+
return ea(gse).scale(175.295);
|
|
126316
126316
|
}
|
|
126317
126317
|
function mse(t, e) {
|
|
126318
126318
|
return [tt(e) * Ke(t), Ke(e)];
|
|
126319
126319
|
}
|
|
126320
126320
|
mse.invert = U3(Pi);
|
|
126321
126321
|
function lqe() {
|
|
126322
|
-
return
|
|
126322
|
+
return ea(mse).scale(249.5).clipAngle(90 + Ze);
|
|
126323
126323
|
}
|
|
126324
126324
|
function yse(t, e) {
|
|
126325
126325
|
var n = tt(e), r = 1 + tt(t) * n;
|
|
@@ -126329,7 +126329,7 @@ yse.invert = U3(function(t) {
|
|
|
126329
126329
|
return 2 * h2(t);
|
|
126330
126330
|
});
|
|
126331
126331
|
function cqe() {
|
|
126332
|
-
return
|
|
126332
|
+
return ea(yse).scale(250).clipAngle(142);
|
|
126333
126333
|
}
|
|
126334
126334
|
function Ese(t, e) {
|
|
126335
126335
|
return [O_(eI((_n + e) / 2)), -t];
|
|
@@ -126369,7 +126369,7 @@ function gqe(t, e, n) {
|
|
|
126369
126369
|
}
|
|
126370
126370
|
var mqe = gqe(mH / g7, mH, Ase);
|
|
126371
126371
|
function yqe() {
|
|
126372
|
-
return
|
|
126372
|
+
return ea(mqe).scale(169.529);
|
|
126373
126373
|
}
|
|
126374
126374
|
const Eqe = use(), m7 = [
|
|
126375
126375
|
// standard properties in d3-geo
|
|
@@ -126437,7 +126437,7 @@ for (const t in J_)
|
|
|
126437
126437
|
_se(t, J_[t]);
|
|
126438
126438
|
function _qe() {
|
|
126439
126439
|
}
|
|
126440
|
-
const
|
|
126440
|
+
const oa = [[], [[[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]]], []];
|
|
126441
126441
|
function Cse() {
|
|
126442
126442
|
var t = 1, e = 1, n = u;
|
|
126443
126443
|
function r(a, l) {
|
|
@@ -126461,16 +126461,16 @@ function Cse() {
|
|
|
126461
126461
|
}
|
|
126462
126462
|
function s(a, l, c) {
|
|
126463
126463
|
var f = new Array(), x = new Array(), h, p, m, g, y, E;
|
|
126464
|
-
for (h = p = -1, g = a[0] >= l,
|
|
126465
|
-
m = g, g = a[h + 1] >= l,
|
|
126466
|
-
for (
|
|
126467
|
-
for (h = -1, g = a[p * t + t] >= l, y = a[p * t] >= l,
|
|
126468
|
-
m = g, g = a[p * t + t + h + 1] >= l, E = y, y = a[p * t + h + 1] >= l,
|
|
126469
|
-
|
|
126470
|
-
}
|
|
126471
|
-
for (h = -1, y = a[p * t] >= l,
|
|
126472
|
-
E = y, y = a[p * t + h + 1] >= l,
|
|
126473
|
-
|
|
126464
|
+
for (h = p = -1, g = a[0] >= l, oa[g << 1].forEach(A); ++h < t - 1; )
|
|
126465
|
+
m = g, g = a[h + 1] >= l, oa[m | g << 1].forEach(A);
|
|
126466
|
+
for (oa[g << 0].forEach(A); ++p < e - 1; ) {
|
|
126467
|
+
for (h = -1, g = a[p * t + t] >= l, y = a[p * t] >= l, oa[g << 1 | y << 2].forEach(A); ++h < t - 1; )
|
|
126468
|
+
m = g, g = a[p * t + t + h + 1] >= l, E = y, y = a[p * t + h + 1] >= l, oa[m | g << 1 | y << 2 | E << 3].forEach(A);
|
|
126469
|
+
oa[g | y << 3].forEach(A);
|
|
126470
|
+
}
|
|
126471
|
+
for (h = -1, y = a[p * t] >= l, oa[y << 2].forEach(A); ++h < t - 1; )
|
|
126472
|
+
E = y, y = a[p * t + h + 1] >= l, oa[y << 2 | E << 3].forEach(A);
|
|
126473
|
+
oa[y << 3].forEach(A);
|
|
126474
126474
|
function A(_) {
|
|
126475
126475
|
var v = [_[0][0] + h, _[0][1] + p], C = [_[1][0] + h, _[1][1] + p], S = o(v), b = o(C), O, F;
|
|
126476
126476
|
(O = x[S]) ? (F = f[b]) ? (delete x[O.end], delete f[F.start], O === F ? (O.ring.push(C), c(O.ring)) : f[O.start] = x[F.end] = {
|
|
@@ -127100,7 +127100,7 @@ function $qe(t, e) {
|
|
|
127100
127100
|
function Ose(t) {
|
|
127101
127101
|
if (!dt(t))
|
|
127102
127102
|
return !1;
|
|
127103
|
-
const e =
|
|
127103
|
+
const e = Au(oi(t));
|
|
127104
127104
|
return e.$x || e.$y || e.$value || e.$max;
|
|
127105
127105
|
}
|
|
127106
127106
|
function kqe(t, e, n, r) {
|
|
@@ -129136,7 +129136,7 @@ function Qze(t) {
|
|
|
129136
129136
|
fillOpacity: 0
|
|
129137
129137
|
} : e;
|
|
129138
129138
|
}
|
|
129139
|
-
const
|
|
129139
|
+
const ua = 5, Gr = 31, wg = 32, Dl = new Uint32Array(wg + 1), io = new Uint32Array(wg + 1);
|
|
129140
129140
|
io[0] = 0;
|
|
129141
129141
|
Dl[0] = ~io[0];
|
|
129142
129142
|
for (let t = 1; t <= wg; ++t)
|
|
@@ -129153,20 +129153,20 @@ function Gze(t, e) {
|
|
|
129153
129153
|
array: n,
|
|
129154
129154
|
get: (s, o) => {
|
|
129155
129155
|
const u = o * t + s;
|
|
129156
|
-
return n[u >>>
|
|
129156
|
+
return n[u >>> ua] & 1 << (u & Gr);
|
|
129157
129157
|
},
|
|
129158
129158
|
set: (s, o) => {
|
|
129159
129159
|
const u = o * t + s;
|
|
129160
|
-
r(u >>>
|
|
129160
|
+
r(u >>> ua, 1 << (u & Gr));
|
|
129161
129161
|
},
|
|
129162
129162
|
clear: (s, o) => {
|
|
129163
129163
|
const u = o * t + s;
|
|
129164
|
-
i(u >>>
|
|
129164
|
+
i(u >>> ua, ~(1 << (u & Gr)));
|
|
129165
129165
|
},
|
|
129166
129166
|
getRange: (s, o, u, a) => {
|
|
129167
129167
|
let l = a, c, f, x, h;
|
|
129168
129168
|
for (; l >= o; --l)
|
|
129169
|
-
if (c = l * t + s, f = l * t + u, x = c >>>
|
|
129169
|
+
if (c = l * t + s, f = l * t + u, x = c >>> ua, h = f >>> ua, x === h) {
|
|
129170
129170
|
if (n[x] & Dl[c & Gr] & io[(f & Gr) + 1])
|
|
129171
129171
|
return !0;
|
|
129172
129172
|
} else {
|
|
@@ -129181,7 +129181,7 @@ function Gze(t, e) {
|
|
|
129181
129181
|
setRange: (s, o, u, a) => {
|
|
129182
129182
|
let l, c, f, x, h;
|
|
129183
129183
|
for (; o <= a; ++o)
|
|
129184
|
-
if (l = o * t + s, c = o * t + u, f = l >>>
|
|
129184
|
+
if (l = o * t + s, c = o * t + u, f = l >>> ua, x = c >>> ua, f === x)
|
|
129185
129185
|
r(f, Dl[l & Gr] & io[(c & Gr) + 1]);
|
|
129186
129186
|
else
|
|
129187
129187
|
for (r(f, Dl[l & Gr]), r(x, io[(c & Gr) + 1]), h = f + 1; h < x; ++h)
|
|
@@ -129190,7 +129190,7 @@ function Gze(t, e) {
|
|
|
129190
129190
|
clearRange: (s, o, u, a) => {
|
|
129191
129191
|
let l, c, f, x, h;
|
|
129192
129192
|
for (; o <= a; ++o)
|
|
129193
|
-
if (l = o * t + s, c = o * t + u, f = l >>>
|
|
129193
|
+
if (l = o * t + s, c = o * t + u, f = l >>> ua, x = c >>> ua, f === x)
|
|
129194
129194
|
i(f, io[l & Gr] | Dl[(c & Gr) + 1]);
|
|
129195
129195
|
else
|
|
129196
129196
|
for (i(f, io[l & Gr]), i(x, Dl[(c & Gr) + 1]), h = f + 1; h < x; ++h)
|
|
@@ -129206,7 +129206,7 @@ function Wze(t, e, n) {
|
|
|
129206
129206
|
function Vze(t, e, n, r) {
|
|
129207
129207
|
const i = t.width, s = t.height;
|
|
129208
129208
|
return function(o) {
|
|
129209
|
-
const u = o.datum.datum.items[r].items, a = u.length, l = o.datum.fontSize, c =
|
|
129209
|
+
const u = o.datum.datum.items[r].items, a = u.length, l = o.datum.fontSize, c = fu.width(o.datum, o.datum.text);
|
|
129210
129210
|
let f = 0, x, h, p, m, g, y, E;
|
|
129211
129211
|
for (let A = 0; A < a; ++A)
|
|
129212
129212
|
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);
|
|
@@ -129234,7 +129234,7 @@ function Yze(t, e, n, r) {
|
|
|
129234
129234
|
}
|
|
129235
129235
|
}
|
|
129236
129236
|
return function(l) {
|
|
129237
|
-
const c = l.datum.datum.items[r].items, f = c.length, x = l.datum.fontSize, h =
|
|
129237
|
+
const c = l.datum.datum.items[r].items, f = c.length, x = l.datum.fontSize, h = fu.width(l.datum, l.datum.text);
|
|
129238
129238
|
let p = n ? x : 0, m = !1, g = !1, y = 0, E, A, _, v, C, S, b, O, F, B, U, z, X, W, ue, ge, he;
|
|
129239
129239
|
for (let oe = 0; oe < f; ++oe) {
|
|
129240
129240
|
for (E = c[oe].x, _ = c[oe].y, A = c[oe].x2 === void 0 ? E : c[oe].x2, v = c[oe].y2 === void 0 ? _ : c[oe].y2, E > A && (he = E, E = A, A = he), _ > v && (he = _, _ = v, v = he), F = t(E), U = t(A), B = ~~((F + U) / 2), z = t(_), W = t(v), X = ~~((z + W) / 2), b = B; b >= F; --b)
|
|
@@ -129252,7 +129252,7 @@ const Kze = [-1, -1, 1, 1], Jze = [-1, 1, -1, 1];
|
|
|
129252
129252
|
function Xze(t, e, n, r) {
|
|
129253
129253
|
const i = t.width, s = t.height, o = e[0], u = e[1], a = t.bitmap();
|
|
129254
129254
|
return function(l) {
|
|
129255
|
-
const c = l.datum.datum.items[r].items, f = c.length, x = l.datum.fontSize, h =
|
|
129255
|
+
const c = l.datum.datum.items[r].items, f = c.length, x = l.datum.fontSize, h = fu.width(l.datum, l.datum.text), p = [];
|
|
129256
129256
|
let m = n ? x : 0, g = !1, y = !1, E = 0, A, _, v, C, S, b, O, F, B, U, z, X;
|
|
129257
129257
|
for (let W = 0; W < f; ++W) {
|
|
129258
129258
|
for (A = c[W].x, v = c[W].y, _ = c[W].x2 === void 0 ? A : c[W].x2, C = c[W].y2 === void 0 ? v : c[W].y2, p.push([t((A + _) / 2), t((v + C) / 2)]); p.length; )
|
|
@@ -129282,7 +129282,7 @@ function tQe(t, e, n, r) {
|
|
|
129282
129282
|
for (let U = 0; U < a; ++U) {
|
|
129283
129283
|
if (h = (n[U] & 3) - 1, p = (n[U] >>> 2 & 3) - 1, m = h === 0 && p === 0 || r[U] < 0, g = h && p ? Math.SQRT1_2 : 1, y = r[U] < 0 ? -1 : 1, E = c[1 + h] + r[U] * h * g, S = c[4 + p] + y * f * p / 2 + r[U] * p * g, _ = S - f / 2, v = S + f / 2, b = t(E), F = t(_), B = t(v), !x)
|
|
129284
129284
|
if (PH(b, b, F, B, o, u, E, E, _, v, c, m))
|
|
129285
|
-
x =
|
|
129285
|
+
x = fu.width(l.datum, l.datum.text);
|
|
129286
129286
|
else
|
|
129287
129287
|
continue;
|
|
129288
129288
|
if (C = E + y * x * h / 2, E = C - x / 2, A = C + x / 2, b = t(E), O = t(A), PH(b, O, F, B, o, u, E, A, _, v, c, m))
|
|
@@ -129315,7 +129315,7 @@ function iQe(t, e, n, r, i, s, o, u, a, l, c) {
|
|
|
129315
129315
|
const f = Math.max(r.length, i.length), x = sQe(r, f), h = oQe(i, f), p = uQe(t[0].datum), m = p === "group" && t[0].datum.items[a].marktype, g = m === "area", y = aQe(p, m, u, a), E = l === null || l === 1 / 0, A = g && c === "naive";
|
|
129316
129316
|
let _ = -1, v = -1;
|
|
129317
129317
|
const C = t.map((F) => {
|
|
129318
|
-
const B = E ?
|
|
129318
|
+
const B = E ? fu.width(F, F.text) : void 0;
|
|
129319
129319
|
return _ = Math.max(_, B), v = Math.max(v, F.fontSize), {
|
|
129320
129320
|
datum: F,
|
|
129321
129321
|
opacity: 0,
|
|
@@ -130985,17 +130985,17 @@ function aGe(t) {
|
|
|
130985
130985
|
return [];
|
|
130986
130986
|
}
|
|
130987
130987
|
}
|
|
130988
|
-
var
|
|
130989
|
-
|
|
130990
|
-
|
|
130991
|
-
|
|
130992
|
-
|
|
130993
|
-
|
|
130994
|
-
|
|
130995
|
-
|
|
130996
|
-
|
|
130997
|
-
|
|
130998
|
-
|
|
130988
|
+
var ta, Qe, Ae, jr, qt, pb = 1, z3 = 2, Ff = 3, oc = 4, gb = 5, gx = 6, Ci = 7, Q3 = 8, lGe = 9;
|
|
130989
|
+
ta = {};
|
|
130990
|
+
ta[pb] = "Boolean";
|
|
130991
|
+
ta[z3] = "<end>";
|
|
130992
|
+
ta[Ff] = "Identifier";
|
|
130993
|
+
ta[oc] = "Keyword";
|
|
130994
|
+
ta[gb] = "Null";
|
|
130995
|
+
ta[gx] = "Numeric";
|
|
130996
|
+
ta[Ci] = "Punctuator";
|
|
130997
|
+
ta[Q3] = "String";
|
|
130998
|
+
ta[lGe] = "RegularExpression";
|
|
130999
130999
|
var cGe = "ArrayExpression", fGe = "BinaryExpression", xGe = "CallExpression", dGe = "ConditionalExpression", Kse = "Identifier", hGe = "Literal", pGe = "LogicalExpression", gGe = "MemberExpression", mGe = "ObjectExpression", yGe = "Property", EGe = "UnaryExpression", nr = "Unexpected token %0", AGe = "Unexpected number", _Ge = "Unexpected string", vGe = "Unexpected identifier", CGe = "Unexpected reserved word", SGe = "Unexpected end of input", N7 = "Invalid regular expression", $R = "Invalid regular expression: missing /", Jse = "Octal literals are not allowed in strict mode.", bGe = "Duplicate data property in object literal not allowed in strict mode", pr = "ILLEGAL", Fg = "Disabled.", TGe = 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]"), RGe = 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]");
|
|
131000
131000
|
function mb(t, e) {
|
|
131001
131001
|
if (!t)
|
|
@@ -131735,7 +131735,7 @@ function iWe(t) {
|
|
|
131735
131735
|
}
|
|
131736
131736
|
function sWe(t) {
|
|
131737
131737
|
t = t || {};
|
|
131738
|
-
const e = t.allowed ?
|
|
131738
|
+
const e = t.allowed ? Au(t.allowed) : {}, n = t.forbidden ? Au(t.forbidden) : {}, r = t.constants || roe, i = (t.functions || ioe)(f), s = t.globalvar, o = t.fieldvar, u = dt(s) ? s : (p) => `${s}["${p}"]`;
|
|
131739
131739
|
let a = {}, l = {}, c = 0;
|
|
131740
131740
|
function f(p) {
|
|
131741
131741
|
if (Ue(p))
|
|
@@ -131843,7 +131843,7 @@ function fWe(...t) {
|
|
|
131843
131843
|
e.add(r);
|
|
131844
131844
|
return e;
|
|
131845
131845
|
}
|
|
131846
|
-
const jI = "intersect", ZH = "union", xWe = "vlMulti", dWe = "vlPoint", ez = "or", hWe = "and",
|
|
131846
|
+
const jI = "intersect", ZH = "union", xWe = "vlMulti", dWe = "vlPoint", ez = "or", hWe = "and", Xo = "_vgsid_", Ig = ls(Xo), pWe = "E", gWe = "R", mWe = "R-E", yWe = "R-LE", EWe = "R-RE", iv = "index:unit";
|
|
131847
131847
|
function tz(t, e) {
|
|
131848
131848
|
for (var n = e.fields, r = e.values, i = n.length, s = 0, o, u; s < i; ++s)
|
|
131849
131849
|
if (u = n[s], u.getter = ls.getter || ls(u.field), o = u.getter(t), qc(o) && (o = ii(o)), qc(r[s]) && (r[s] = ii(r[s])), qc(r[s][0]) && (r[s] = r[s].map(ii)), u.type === pWe) {
|
|
@@ -131892,7 +131892,7 @@ function SWe(t, e) {
|
|
|
131892
131892
|
return t.map((n) => xt(e.fields ? {
|
|
131893
131893
|
values: e.fields.map((r) => (r.getter || (r.getter = ls(r.field)))(n.datum))
|
|
131894
131894
|
} : {
|
|
131895
|
-
[
|
|
131895
|
+
[Xo]: Ig(n.datum)
|
|
131896
131896
|
}, e));
|
|
131897
131897
|
}
|
|
131898
131898
|
function bWe(t, e, n, r) {
|
|
@@ -131902,10 +131902,10 @@ function bWe(t, e, n, r) {
|
|
|
131902
131902
|
h = c[v], m = o[h.field] || (o[h.field] = {}), g = m[x] || (m[x] = []), a[h.field] = y = h.type.charAt(0), E = jR[`${y}_union`], m[x] = E(g, ke(f[v]));
|
|
131903
131903
|
n && (g = u[x] || (u[x] = []), g.push(ke(f).reduce((S, b, O) => (S[c[O].field] = b, S), {})));
|
|
131904
131904
|
} else
|
|
131905
|
-
h =
|
|
131906
|
-
[
|
|
131905
|
+
h = Xo, p = Ig(l), m = o[h] || (o[h] = {}), g = m[x] || (m[x] = []), g.push(p), n && (g = u[x] || (u[x] = []), g.push({
|
|
131906
|
+
[Xo]: p
|
|
131907
131907
|
}));
|
|
131908
|
-
if (e = e || ZH, o[
|
|
131908
|
+
if (e = e || ZH, o[Xo] ? o[Xo] = jR[`${Xo}_${e}`](...Object.values(o[Xo])) : Object.keys(o).forEach((S) => {
|
|
131909
131909
|
o[S] = Object.keys(o[S]).map((b) => o[S][b]).reduce((b, O) => b === void 0 ? O : jR[`${a[S]}_${e}`](b, O));
|
|
131910
131910
|
}), s = Object.keys(u), n && s.length) {
|
|
131911
131911
|
const S = r ? dWe : xWe;
|
|
@@ -131920,8 +131920,8 @@ function bWe(t, e, n, r) {
|
|
|
131920
131920
|
return o;
|
|
131921
131921
|
}
|
|
131922
131922
|
var jR = {
|
|
131923
|
-
[`${
|
|
131924
|
-
[`${
|
|
131923
|
+
[`${Xo}_union`]: fWe,
|
|
131924
|
+
[`${Xo}_intersect`]: lWe,
|
|
131925
131925
|
E_union: function(t, e) {
|
|
131926
131926
|
if (!t.length)
|
|
131927
131927
|
return e;
|
|
@@ -132426,7 +132426,7 @@ Qn("vlSelectionTest", AWe, UI);
|
|
|
132426
132426
|
Qn("vlSelectionIdTest", CWe, UI);
|
|
132427
132427
|
Qn("vlSelectionResolve", bWe, UI);
|
|
132428
132428
|
Qn("vlSelectionTuples", SWe);
|
|
132429
|
-
function
|
|
132429
|
+
function Tu(t, e) {
|
|
132430
132430
|
const n = {};
|
|
132431
132431
|
let r;
|
|
132432
132432
|
try {
|
|
@@ -132458,7 +132458,7 @@ function FVe(t) {
|
|
|
132458
132458
|
const e = this, n = t.operators || [];
|
|
132459
132459
|
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();
|
|
132460
132460
|
}
|
|
132461
|
-
const LVe =
|
|
132461
|
+
const LVe = Au(["rule"]), sz = Au(["group", "image", "rect"]);
|
|
132462
132462
|
function IVe(t, e) {
|
|
132463
132463
|
let n = "";
|
|
132464
132464
|
return LVe[e] || (t.x2 && (t.x ? (sz[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 ? (sz[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;
|
|
@@ -132880,7 +132880,7 @@ function pYe(t) {
|
|
|
132880
132880
|
defaults: {}
|
|
132881
132881
|
}, t), n = (r, i) => {
|
|
132882
132882
|
i.forEach((s) => {
|
|
132883
|
-
ve(r[s]) && (r[s] =
|
|
132883
|
+
ve(r[s]) && (r[s] = Au(r[s]));
|
|
132884
132884
|
});
|
|
132885
132885
|
};
|
|
132886
132886
|
return n(e.defaults, ["prevent", "allow"]), n(e, ["view", "window", "selector"]), e;
|
|
@@ -133658,7 +133658,7 @@ function wKe(t) {
|
|
|
133658
133658
|
return ve(t) ? DKe(t) : vb(t);
|
|
133659
133659
|
}
|
|
133660
133660
|
function FKe(t, e, n, r) {
|
|
133661
|
-
const i =
|
|
133661
|
+
const i = Tu(t, e);
|
|
133662
133662
|
return i.$fields.forEach((s) => r[s] = 1), xt(n, i.$params), i.$expr;
|
|
133663
133663
|
}
|
|
133664
133664
|
const LKe = "outer", IKe = ["value", "update", "init", "react", "bind"];
|
|
@@ -133774,7 +133774,7 @@ function HKe(t, e) {
|
|
|
133774
133774
|
}
|
|
133775
133775
|
function nB(t, e, n) {
|
|
133776
133776
|
let r = e.between;
|
|
133777
|
-
return r && (r.length !== 2 && _e('Stream "between" parameter must have 2 entries: ' + Ne(e)), t.between = [kg(r[0], n), kg(r[1], n)]), r = e.filter ? [].concat(e.filter) : [], (e.marktype || e.markname || e.markrole) && r.push(zKe(e.marktype, e.markname, e.markrole)), e.source === tB && r.push("inScope(event.item)"), r.length && (t.filter =
|
|
133777
|
+
return r && (r.length !== 2 && _e('Stream "between" parameter must have 2 entries: ' + Ne(e)), t.between = [kg(r[0], n), kg(r[1], n)]), r = e.filter ? [].concat(e.filter) : [], (e.marktype || e.markname || e.markrole) && r.push(zKe(e.marktype, e.markname, e.markrole)), e.source === tB && r.push("inScope(event.item)"), r.length && (t.filter = Tu("(" + r.join(")&&(") + ")", n).$expr), (r = e.throttle) != null && (t.throttle = +r), (r = e.debounce) != null && (t.debounce = +r), e.consume && (t.consume = !0), t;
|
|
133778
133778
|
}
|
|
133779
133779
|
function zKe(t, e, n) {
|
|
133780
133780
|
const r = "event.item";
|
|
@@ -133794,7 +133794,7 @@ function GKe(t, e, n) {
|
|
|
133794
133794
|
let s = t.events, o = t.update, u = [];
|
|
133795
133795
|
s || _e("Signal update missing events specification."), Ue(s) && (s = mx(s, e.isSubscope() ? tB : M7)), s = ke(s).filter((a) => a.signal || a.scale ? (u.push(a), 0) : 1), u.length > 1 && (u = [VKe(u)]), s.length && u.push(s.length > 1 ? {
|
|
133796
133796
|
merge: s
|
|
133797
|
-
} : s[0]), r != null && (o && _e("Signal encode and update are mutually exclusive."), o = "encode(item()," + Ne(r) + ")"), i.update = Ue(o) ?
|
|
133797
|
+
} : s[0]), r != null && (o && _e("Signal encode and update are mutually exclusive."), o = "encode(item()," + Ne(r) + ")"), i.update = Ue(o) ? Tu(o, e) : o.expr != null ? Tu(o.expr, e) : o.value != null ? o.value : o.signal != null ? {
|
|
133798
133798
|
$expr: QKe,
|
|
133799
133799
|
$params: {
|
|
133800
133800
|
$value: e.signalRef(o.signal)
|
|
@@ -133816,7 +133816,7 @@ function VKe(t) {
|
|
|
133816
133816
|
function YKe(t, e) {
|
|
133817
133817
|
const n = e.getSignal(t.name);
|
|
133818
133818
|
let r = t.update;
|
|
133819
|
-
t.init && (r ? _e("Signals can not include both init and update expressions.") : (r = t.init, n.initonly = !0)), r && (r =
|
|
133819
|
+
t.init && (r ? _e("Signals can not include both init and update expressions.") : (r = t.init, n.initonly = !0)), r && (r = Tu(r, e), n.update = r.$expr, n.params = r.$params), t.on && t.on.forEach((i) => GKe(i, e, n.id));
|
|
133820
133820
|
}
|
|
133821
133821
|
const zt = (t) => (e, n, r) => Cb(t, n, e || void 0, r), Hoe = zt("aggregate"), KKe = zt("axisticks"), zoe = zt("bound"), Po = zt("collect"), _z = zt("compare"), JKe = zt("datajoin"), Qoe = zt("encode"), XKe = zt("expression"), ZKe = zt("facet"), eJe = zt("field"), tJe = zt("key"), nJe = zt("legendentries"), rJe = zt("load"), iJe = zt("mark"), sJe = zt("multiextent"), oJe = zt("multivalues"), uJe = zt("overlap"), aJe = zt("params"), Goe = zt("prefacet"), lJe = zt("projection"), cJe = zt("proxy"), fJe = zt("relay"), Woe = zt("render"), xJe = zt("scale"), yx = zt("sieve"), dJe = zt("sortitems"), Voe = zt("viewlayout"), hJe = zt("values");
|
|
133822
133822
|
let pJe = 0;
|
|
@@ -134428,7 +134428,7 @@ function bz(t, e, n) {
|
|
|
134428
134428
|
return Rz(r) ? _e("Expression references can not be signals.") : QR(r) ? n.fieldRef(e) : Oz(r) ? n.compareRef(e) : n.signalRef(e.signal);
|
|
134429
134429
|
{
|
|
134430
134430
|
const i = t.expr || QR(r);
|
|
134431
|
-
return i && xXe(e) ? n.exprRef(e.expr, e.as) : i && dXe(e) ? $g(e.field, e.as) : Rz(r) ?
|
|
134431
|
+
return i && xXe(e) ? n.exprRef(e.expr, e.as) : i && dXe(e) ? $g(e.field, e.as) : Rz(r) ? Tu(e, n) : hXe(r) ? Ye(n.getData(e).values) : QR(r) ? $g(e) : Oz(r) ? n.compareRef(e) : e;
|
|
134432
134432
|
}
|
|
134433
134433
|
}
|
|
134434
134434
|
function cXe(t, e, n) {
|
|
@@ -134569,7 +134569,7 @@ function mXe(t, e, n) {
|
|
|
134569
134569
|
};
|
|
134570
134570
|
}
|
|
134571
134571
|
function oue(t, e, n) {
|
|
134572
|
-
const r = t.remove, i = t.insert, s = t.toggle, o = t.modify, u = t.values, a = e.add(lv()), l = "if(" + t.trigger + ',modify("' + n + '",' + [i, r, s, o, u].map((f) => f ?? "null").join(",") + "),0)", c =
|
|
134572
|
+
const r = t.remove, i = t.insert, s = t.toggle, o = t.modify, u = t.values, a = e.add(lv()), l = "if(" + t.trigger + ',modify("' + n + '",' + [i, r, s, o, u].map((f) => f ?? "null").join(",") + "),0)", c = Tu(l, e);
|
|
134573
134573
|
a.update = c.$expr, a.params = c.$params;
|
|
134574
134574
|
}
|
|
134575
134575
|
function Db(t, e) {
|
|
@@ -134721,7 +134721,7 @@ function vXe(t, e, n) {
|
|
|
134721
134721
|
}
|
|
134722
134722
|
function CXe(t, e, n) {
|
|
134723
134723
|
const r = Vc(Nz("size", t, n)), i = Vc(Nz("strokeWidth", t, n)), s = Vc(SXe(n[1].encode, e, V3));
|
|
134724
|
-
return
|
|
134724
|
+
return Tu(`max(ceil(sqrt(${r})+${i}),${s})`, e);
|
|
134725
134725
|
}
|
|
134726
134726
|
function Nz(t, e, n) {
|
|
134727
134727
|
return e[t] ? `scale("${e[t]}",datum)` : tue(t, n[0].encode);
|
|
@@ -135546,7 +135546,7 @@ fue.prototype = Bz.prototype = {
|
|
|
135546
135546
|
parseLambdas() {
|
|
135547
135547
|
const t = Object.keys(this.lambdas);
|
|
135548
135548
|
for (let e = 0, n = t.length; e < n; ++e) {
|
|
135549
|
-
const r = t[e], i =
|
|
135549
|
+
const r = t[e], i = Tu(r, this), s = this.lambdas[r];
|
|
135550
135550
|
s.params = i.$params, s.update = i.$expr;
|
|
135551
135551
|
}
|
|
135552
135552
|
},
|
|
@@ -135558,7 +135558,7 @@ fue.prototype = Bz.prototype = {
|
|
|
135558
135558
|
},
|
|
135559
135559
|
exprRef(t, e) {
|
|
135560
135560
|
const n = {
|
|
135561
|
-
expr:
|
|
135561
|
+
expr: Tu(t, this)
|
|
135562
135562
|
};
|
|
135563
135563
|
return e && (n.expr.$name = e), Ye(this.add(XKe(n)));
|
|
135564
135564
|
},
|
|
@@ -136139,7 +136139,7 @@ function EZe(t, e, n = !1) {
|
|
|
136139
136139
|
case W0:
|
|
136140
136140
|
case s2:
|
|
136141
136141
|
case Bo:
|
|
136142
|
-
case
|
|
136142
|
+
case Wu:
|
|
136143
136143
|
return fo(e) || e === "band" ? !0 : e === "point" ? !n : !1;
|
|
136144
136144
|
case ul:
|
|
136145
136145
|
case K0:
|
|
@@ -136149,8 +136149,8 @@ function EZe(t, e, n = !1) {
|
|
|
136149
136149
|
case ux:
|
|
136150
136150
|
return fo(e) || ch(e) || Rt(["band", "point", "ordinal"], e);
|
|
136151
136151
|
case Bi:
|
|
136152
|
-
case Yu:
|
|
136153
136152
|
case Ku:
|
|
136153
|
+
case Ju:
|
|
136154
136154
|
return e !== "band";
|
|
136155
136155
|
case J0:
|
|
136156
136156
|
case $i:
|
|
@@ -136186,7 +136186,7 @@ function vue(t) {
|
|
|
136186
136186
|
].includes(t);
|
|
136187
136187
|
}
|
|
136188
136188
|
const CZe = new Set(Te(_i));
|
|
136189
|
-
function
|
|
136189
|
+
function Ru(t) {
|
|
136190
136190
|
return t.type;
|
|
136191
136191
|
}
|
|
136192
136192
|
const SZe = [
|
|
@@ -136251,7 +136251,7 @@ const wZe = {
|
|
|
136251
136251
|
thickness: 1
|
|
136252
136252
|
};
|
|
136253
136253
|
function BZe(t) {
|
|
136254
|
-
return
|
|
136254
|
+
return Ru(t) ? t.type : t;
|
|
136255
136255
|
}
|
|
136256
136256
|
function yB(t) {
|
|
136257
136257
|
const { channel: e, channelDef: n, markDef: r, scale: i, config: s } = t, o = AB(t);
|
|
@@ -136286,7 +136286,7 @@ function PZe(t) {
|
|
|
136286
136286
|
}
|
|
136287
136287
|
function Yc(t, e, n, r) {
|
|
136288
136288
|
const i = {};
|
|
136289
|
-
if (e && (i.scale = e),
|
|
136289
|
+
if (e && (i.scale = e), na(t)) {
|
|
136290
136290
|
const { datum: s } = t;
|
|
136291
136291
|
cx(s) ? i.signal = pg(s) : Ve(s) ? i.signal = s.signal : _3(s) ? i.signal = s.expr : i.value = s;
|
|
136292
136292
|
} else
|
|
@@ -136335,7 +136335,7 @@ function AB({ channel: t, channelDef: e, channel2Def: n, markDef: r, config: i,
|
|
|
136335
136335
|
bandPosition: c,
|
|
136336
136336
|
offset: a
|
|
136337
136337
|
});
|
|
136338
|
-
be(jZ(t === yn ? Io :
|
|
136338
|
+
be(jZ(t === yn ? Io : Gu));
|
|
136339
136339
|
}
|
|
136340
136340
|
}
|
|
136341
136341
|
return Yc(
|
|
@@ -136467,7 +136467,7 @@ function Mz(t) {
|
|
|
136467
136467
|
function wue(t) {
|
|
136468
136468
|
return !!t && !!t.encoding;
|
|
136469
136469
|
}
|
|
136470
|
-
function
|
|
136470
|
+
function xu(t) {
|
|
136471
136471
|
return !!t && (t.op === "count" || !!t.field);
|
|
136472
136472
|
}
|
|
136473
136473
|
function Fue(t) {
|
|
@@ -136556,17 +136556,17 @@ function Fe(t) {
|
|
|
136556
136556
|
function W7(t) {
|
|
136557
136557
|
return t && t.type;
|
|
136558
136558
|
}
|
|
136559
|
-
function
|
|
136559
|
+
function na(t) {
|
|
136560
136560
|
return t && "datum" in t;
|
|
136561
136561
|
}
|
|
136562
|
-
function
|
|
136562
|
+
function iu(t) {
|
|
136563
136563
|
return zs(t) && !xv(t) || V7(t);
|
|
136564
136564
|
}
|
|
136565
136565
|
function V7(t) {
|
|
136566
|
-
return
|
|
136566
|
+
return na(t) && on(t.datum);
|
|
136567
136567
|
}
|
|
136568
136568
|
function ot(t) {
|
|
136569
|
-
return Fe(t) ||
|
|
136569
|
+
return Fe(t) || na(t);
|
|
136570
136570
|
}
|
|
136571
136571
|
function zs(t) {
|
|
136572
136572
|
return t && ("field" in t || t.aggregate === "count") && "type" in t;
|
|
@@ -136734,7 +136734,7 @@ function ZZe(t, e) {
|
|
|
136734
136734
|
}
|
|
136735
136735
|
return "nominal";
|
|
136736
136736
|
}
|
|
136737
|
-
function
|
|
136737
|
+
function Ou(t) {
|
|
136738
136738
|
if (Fe(t))
|
|
136739
136739
|
return t;
|
|
136740
136740
|
if (Mb(t))
|
|
@@ -136835,8 +136835,8 @@ function tet(t, e) {
|
|
|
136835
136835
|
case W0:
|
|
136836
136836
|
case s2:
|
|
136837
136837
|
case Bi:
|
|
136838
|
-
case Yu:
|
|
136839
136838
|
case Ku:
|
|
136839
|
+
case Ju:
|
|
136840
136840
|
case y3:
|
|
136841
136841
|
case A3:
|
|
136842
136842
|
case SS:
|
|
@@ -136845,12 +136845,12 @@ function tet(t, e) {
|
|
|
136845
136845
|
case TS:
|
|
136846
136846
|
case ux:
|
|
136847
136847
|
case Bo:
|
|
136848
|
-
case
|
|
136848
|
+
case Wu:
|
|
136849
136849
|
case RS:
|
|
136850
136850
|
return kx;
|
|
136851
|
-
case
|
|
136851
|
+
case Yu:
|
|
136852
136852
|
case Ms:
|
|
136853
|
-
case
|
|
136853
|
+
case Vu:
|
|
136854
136854
|
case $o:
|
|
136855
136855
|
return n !== Bf ? {
|
|
136856
136856
|
compatible: !1,
|
|
@@ -136864,7 +136864,7 @@ function tet(t, e) {
|
|
|
136864
136864
|
case ol:
|
|
136865
136865
|
case sl:
|
|
136866
136866
|
case Io:
|
|
136867
|
-
case
|
|
136867
|
+
case Gu:
|
|
136868
136868
|
return n === "nominal" && !t.sort ? {
|
|
136869
136869
|
compatible: !1,
|
|
136870
136870
|
warning: `Channel ${e} should not be used with an unsorted discrete field.`
|
|
@@ -137201,12 +137201,12 @@ function Kc(t, e) {
|
|
|
137201
137201
|
}
|
|
137202
137202
|
function Gue(t, e) {
|
|
137203
137203
|
const n = t && t[e];
|
|
137204
|
-
return n ? ve(n) ? Ud(n, (r) => !!r.field) : Fe(n) ||
|
|
137204
|
+
return n ? ve(n) ? Ud(n, (r) => !!r.field) : Fe(n) || na(n) || X3(n) : !1;
|
|
137205
137205
|
}
|
|
137206
137206
|
function Y7(t, e) {
|
|
137207
137207
|
if (_r(e)) {
|
|
137208
137208
|
const n = t[e];
|
|
137209
|
-
if ((Fe(n) ||
|
|
137209
|
+
if ((Fe(n) || na(n)) && xue(n.type)) {
|
|
137210
137210
|
const r = EZ(e);
|
|
137211
137211
|
return Gue(t, r);
|
|
137212
137212
|
}
|
|
@@ -137220,7 +137220,7 @@ function DB(t) {
|
|
|
137220
137220
|
if (ve(n))
|
|
137221
137221
|
return Ud(n, (r) => !!r.aggregate);
|
|
137222
137222
|
{
|
|
137223
|
-
const r =
|
|
137223
|
+
const r = Ou(n);
|
|
137224
137224
|
return r && !!r.aggregate;
|
|
137225
137225
|
}
|
|
137226
137226
|
}
|
|
@@ -137312,7 +137312,7 @@ function aet(t, e, n, r) {
|
|
|
137312
137312
|
continue;
|
|
137313
137313
|
}
|
|
137314
137314
|
if (s === ul && e === "line") {
|
|
137315
|
-
const u =
|
|
137315
|
+
const u = Ou(t[s]);
|
|
137316
137316
|
if (u != null && u.aggregate) {
|
|
137317
137317
|
be(h8e);
|
|
137318
137318
|
continue;
|
|
@@ -137327,7 +137327,7 @@ function aet(t, e, n, r) {
|
|
|
137327
137327
|
else {
|
|
137328
137328
|
if (s === Af && o === null)
|
|
137329
137329
|
i[s] = null;
|
|
137330
|
-
else if (!Fe(o) && !
|
|
137330
|
+
else if (!Fe(o) && !na(o) && !Co(o) && !Pb(o) && !Ve(o)) {
|
|
137331
137331
|
be(uD(o, s));
|
|
137332
137332
|
continue;
|
|
137333
137333
|
}
|
|
@@ -137380,15 +137380,15 @@ function Vue(t, e) {
|
|
|
137380
137380
|
case RS:
|
|
137381
137381
|
case TS:
|
|
137382
137382
|
case Io:
|
|
137383
|
-
case
|
|
137383
|
+
case Gu:
|
|
137384
137384
|
case W0:
|
|
137385
137385
|
case s2:
|
|
137386
137386
|
case Bo:
|
|
137387
137387
|
case ol:
|
|
137388
|
-
case Gu:
|
|
137389
|
-
case sl:
|
|
137390
137388
|
case Wu:
|
|
137389
|
+
case sl:
|
|
137391
137390
|
case Vu:
|
|
137391
|
+
case Yu:
|
|
137392
137392
|
case $o:
|
|
137393
137393
|
case Ms:
|
|
137394
137394
|
case y3:
|
|
@@ -137411,14 +137411,14 @@ function Vue(t, e) {
|
|
|
137411
137411
|
if (t === "trail")
|
|
137412
137412
|
return n;
|
|
137413
137413
|
case Bi:
|
|
137414
|
-
case Yu:
|
|
137415
137414
|
case Ku:
|
|
137415
|
+
case Ju:
|
|
137416
137416
|
case al:
|
|
137417
137417
|
case V0:
|
|
137418
137418
|
case Y0:
|
|
137419
137419
|
case J0:
|
|
137420
137420
|
case K0: {
|
|
137421
|
-
const i =
|
|
137421
|
+
const i = Ou(e[r]);
|
|
137422
137422
|
return i && !i.aggregate && n.push(Ie(i, {})), n;
|
|
137423
137423
|
}
|
|
137424
137424
|
}
|
|
@@ -137486,7 +137486,7 @@ function FB(t, e, n, r, i) {
|
|
|
137486
137486
|
function Kue(t, e, n, r) {
|
|
137487
137487
|
const { clip: i, color: s, opacity: o } = t, u = t.type;
|
|
137488
137488
|
return t[e] || t[e] === void 0 && n[e] ? [
|
|
137489
|
-
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 } : {}),
|
|
137489
|
+
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 } : {}), Ru(r.mark) ? r.mark : { type: r.mark }), { style: `${u}-${e}` }), i2(t[e]) ? {} : t[e]) })
|
|
137490
137490
|
] : [];
|
|
137491
137491
|
}
|
|
137492
137492
|
function Jue(t, e, n) {
|
|
@@ -137508,10 +137508,10 @@ function aE(t, e) {
|
|
|
137508
137508
|
}
|
|
137509
137509
|
function Xue(t, e) {
|
|
137510
137510
|
const { mark: n, encoding: r } = t, { x: i, y: s } = r;
|
|
137511
|
-
if (
|
|
137511
|
+
if (Ru(n) && n.orient)
|
|
137512
137512
|
return n.orient;
|
|
137513
|
-
if (
|
|
137514
|
-
if (
|
|
137513
|
+
if (iu(i)) {
|
|
137514
|
+
if (iu(s)) {
|
|
137515
137515
|
const o = Fe(i) && i.aggregate, u = Fe(s) && s.aggregate;
|
|
137516
137516
|
if (!o && u === e)
|
|
137517
137517
|
return "vertical";
|
|
@@ -137523,7 +137523,7 @@ function Xue(t, e) {
|
|
|
137523
137523
|
}
|
|
137524
137524
|
return "horizontal";
|
|
137525
137525
|
} else {
|
|
137526
|
-
if (
|
|
137526
|
+
if (iu(s))
|
|
137527
137527
|
return "vertical";
|
|
137528
137528
|
throw new Error(`Need a valid continuous axis for ${e}s`);
|
|
137529
137529
|
}
|
|
@@ -137544,7 +137544,7 @@ function Zue(t) {
|
|
|
137544
137544
|
function eae(t, { config: e }) {
|
|
137545
137545
|
var n, r;
|
|
137546
137546
|
t = Object.assign(Object.assign({}, t), { encoding: Hb(t.encoding, e) });
|
|
137547
|
-
const { mark: i, encoding: s, params: o, projection: u } = t, a = ZE(t, ["mark", "encoding", "params", "projection"]), l =
|
|
137547
|
+
const { mark: i, encoding: s, params: o, projection: u } = t, a = ZE(t, ["mark", "encoding", "params", "projection"]), l = Ru(i) ? i : { type: i };
|
|
137548
137548
|
o && be(BZ("boxplot"));
|
|
137549
137549
|
const c = (n = l.extent) !== null && n !== void 0 ? n : e.boxplot.extent, f = Mt(
|
|
137550
137550
|
"size",
|
|
@@ -137787,11 +137787,11 @@ function yet(t, e) {
|
|
|
137787
137787
|
if (ot(u) && ot(a))
|
|
137788
137788
|
throw new Error(`${e} cannot have both x2 and y2`);
|
|
137789
137789
|
if (ot(u)) {
|
|
137790
|
-
if (
|
|
137790
|
+
if (iu(s))
|
|
137791
137791
|
return { orient: "horizontal", inputType: "aggregated-upper-lower" };
|
|
137792
137792
|
throw new Error(`Both x and x2 have to be quantitative in ${e}`);
|
|
137793
137793
|
} else if (ot(a)) {
|
|
137794
|
-
if (
|
|
137794
|
+
if (iu(o))
|
|
137795
137795
|
return { orient: "vertical", inputType: "aggregated-upper-lower" };
|
|
137796
137796
|
throw new Error(`Both y and y2 have to be quantitative in ${e}`);
|
|
137797
137797
|
}
|
|
@@ -137805,11 +137805,11 @@ function yet(t, e) {
|
|
|
137805
137805
|
if (ot(u) && ot(l))
|
|
137806
137806
|
throw new Error(`${e} cannot have both xError and yError with both are quantiative`);
|
|
137807
137807
|
if (ot(u)) {
|
|
137808
|
-
if (
|
|
137808
|
+
if (iu(s))
|
|
137809
137809
|
return { orient: "horizontal", inputType: "aggregated-error" };
|
|
137810
137810
|
throw new Error("All x, xError, and xError2 (if exist) have to be quantitative");
|
|
137811
137811
|
} else if (ot(l)) {
|
|
137812
|
-
if (
|
|
137812
|
+
if (iu(o))
|
|
137813
137813
|
return { orient: "vertical", inputType: "aggregated-error" };
|
|
137814
137814
|
throw new Error("All y, yError, and yError2 (if exist) have to be quantitative");
|
|
137815
137815
|
}
|
|
@@ -137827,7 +137827,7 @@ function _et(t) {
|
|
|
137827
137827
|
}
|
|
137828
137828
|
function rae(t, e, n) {
|
|
137829
137829
|
var r;
|
|
137830
|
-
const { mark: i, encoding: s, params: o, projection: u } = t, a = Hz(t, ["mark", "encoding", "params", "projection"]), l =
|
|
137830
|
+
const { mark: i, encoding: s, params: o, projection: u } = t, a = Hz(t, ["mark", "encoding", "params", "projection"]), l = Ru(i) ? i : { type: i };
|
|
137831
137831
|
o && be(BZ(e));
|
|
137832
137832
|
const { orient: c, inputType: f } = yet(t, e), { continuousAxisChannelDef: x, continuousAxisChannelDef2: h, continuousAxisChannelDefError: p, continuousAxisChannelDefError2: m, continuousAxis: g } = Jue(t, c, e), { errorBarSpecificAggregate: y, postAggregateCalculates: E, tooltipSummary: A, tooltipTitleWithFieldName: _ } = vet(l, x, h, p, m, f, e, n), v = s, C = g;
|
|
137833
137833
|
v[C];
|
|
@@ -138160,7 +138160,7 @@ function fae({ step: t, offsetIsDiscrete: e }) {
|
|
|
138160
138160
|
var n;
|
|
138161
138161
|
return e ? (n = t.for) !== null && n !== void 0 ? n : "offset" : "position";
|
|
138162
138162
|
}
|
|
138163
|
-
function
|
|
138163
|
+
function Du(t) {
|
|
138164
138164
|
return He(t) && t.step !== void 0;
|
|
138165
138165
|
}
|
|
138166
138166
|
function Qz(t) {
|
|
@@ -138204,7 +138204,7 @@ function J7(t, e) {
|
|
|
138204
138204
|
}
|
|
138205
138205
|
function gv(t, e) {
|
|
138206
138206
|
const n = mv(t, e);
|
|
138207
|
-
return
|
|
138207
|
+
return Du(n) ? n.step : xae;
|
|
138208
138208
|
}
|
|
138209
138209
|
function mv(t, e) {
|
|
138210
138210
|
var n;
|
|
@@ -138268,7 +138268,7 @@ const xae = 20, jet = {
|
|
|
138268
138268
|
title: {},
|
|
138269
138269
|
facet: { spacing: Gz },
|
|
138270
138270
|
concat: { spacing: Gz }
|
|
138271
|
-
},
|
|
138271
|
+
}, aa = [
|
|
138272
138272
|
"#4c78a8",
|
|
138273
138273
|
"#f58518",
|
|
138274
138274
|
"#e45756",
|
|
@@ -138286,15 +138286,15 @@ const xae = 20, jet = {
|
|
|
138286
138286
|
groupTitle: 13,
|
|
138287
138287
|
groupSubtitle: 12
|
|
138288
138288
|
}, Vz = {
|
|
138289
|
-
blue:
|
|
138290
|
-
orange:
|
|
138291
|
-
red:
|
|
138292
|
-
teal:
|
|
138293
|
-
green:
|
|
138294
|
-
yellow:
|
|
138295
|
-
purple:
|
|
138296
|
-
pink:
|
|
138297
|
-
brown:
|
|
138289
|
+
blue: aa[0],
|
|
138290
|
+
orange: aa[1],
|
|
138291
|
+
red: aa[2],
|
|
138292
|
+
teal: aa[3],
|
|
138293
|
+
green: aa[4],
|
|
138294
|
+
yellow: aa[5],
|
|
138295
|
+
purple: aa[6],
|
|
138296
|
+
pink: aa[7],
|
|
138297
|
+
brown: aa[8],
|
|
138298
138298
|
gray0: "#000",
|
|
138299
138299
|
gray1: "#111",
|
|
138300
138300
|
gray2: "#222",
|
|
@@ -138631,7 +138631,7 @@ function ott(t) {
|
|
|
138631
138631
|
}
|
|
138632
138632
|
function pae(t, e, n = {}) {
|
|
138633
138633
|
var r, i;
|
|
138634
|
-
const s =
|
|
138634
|
+
const s = Ru(t) ? t.type : t;
|
|
138635
138635
|
if (!itt.has(s))
|
|
138636
138636
|
return null;
|
|
138637
138637
|
const o = Yz(e, "x") || Yz(e, "theta");
|
|
@@ -138648,7 +138648,7 @@ function pae(t, e, n = {}) {
|
|
|
138648
138648
|
if (m !== "tooltip" && Kc(e, m)) {
|
|
138649
138649
|
const g = e[m];
|
|
138650
138650
|
for (const y of ke(g)) {
|
|
138651
|
-
const E =
|
|
138651
|
+
const E = Ou(y);
|
|
138652
138652
|
if (E.aggregate)
|
|
138653
138653
|
continue;
|
|
138654
138654
|
const A = Ie(E, {});
|
|
@@ -138709,7 +138709,7 @@ class ltt {
|
|
|
138709
138709
|
}
|
|
138710
138710
|
hasMatchingType(e, n) {
|
|
138711
138711
|
if (hl(e)) {
|
|
138712
|
-
const { mark: r, encoding: i } = e, s =
|
|
138712
|
+
const { mark: r, encoding: i } = e, s = Ru(r) ? r : { type: r };
|
|
138713
138713
|
switch (s.type) {
|
|
138714
138714
|
case "line":
|
|
138715
138715
|
case "rule":
|
|
@@ -138725,7 +138725,7 @@ class ltt {
|
|
|
138725
138725
|
return !1;
|
|
138726
138726
|
}
|
|
138727
138727
|
run(e, n, r) {
|
|
138728
|
-
const { config: i } = n, { params: s, projection: o, mark: u, encoding: a } = e, l = gae(e, ["params", "projection", "mark", "encoding"]), c = Hb(a, i), f =
|
|
138728
|
+
const { config: i } = n, { params: s, projection: o, mark: u, encoding: a } = e, l = gae(e, ["params", "projection", "mark", "encoding"]), c = Hb(a, i), f = Ru(u) ? u : { type: u }, x = VR(f, i[f.type], c), h = f.type === "area" && Kz(f, i[f.type]), p = [
|
|
138729
138729
|
Object.assign(Object.assign({}, s ? { params: s } : {}), {
|
|
138730
138730
|
mark: utt(Object.assign(Object.assign({}, f.type === "area" && f.opacity === void 0 && f.fillOpacity === void 0 ? { opacity: 0.7 } : {}), f)),
|
|
138731
138731
|
// drop shape from encoding as this might be used to trigger point overlay
|
|
@@ -138769,7 +138769,7 @@ function mae(t, e) {
|
|
|
138769
138769
|
if (t = X7("field", t, e), t !== void 0) {
|
|
138770
138770
|
if (t === null)
|
|
138771
138771
|
return null;
|
|
138772
|
-
if (SB(t) &&
|
|
138772
|
+
if (SB(t) && xu(t.sort)) {
|
|
138773
138773
|
const n = X7("field", t.sort, e);
|
|
138774
138774
|
t = Object.assign(Object.assign({}, t), n ? { sort: n } : {});
|
|
138775
138775
|
}
|
|
@@ -138820,10 +138820,10 @@ class xtt {
|
|
|
138820
138820
|
hasMatchingType(e) {
|
|
138821
138821
|
if (hl(e)) {
|
|
138822
138822
|
const { encoding: n, mark: r } = e;
|
|
138823
|
-
if (r === "line" ||
|
|
138823
|
+
if (r === "line" || Ru(r) && r.type === "line")
|
|
138824
138824
|
for (const i of ENe) {
|
|
138825
138825
|
const s = ax(i), o = n[s];
|
|
138826
|
-
if (n[i] && (Fe(o) && !Xr(o.bin) ||
|
|
138826
|
+
if (n[i] && (Fe(o) && !Xr(o.bin) || na(o)))
|
|
138827
138827
|
return !0;
|
|
138828
138828
|
}
|
|
138829
138829
|
}
|
|
@@ -139246,7 +139246,7 @@ class pl {
|
|
|
139246
139246
|
}
|
|
139247
139247
|
}
|
|
139248
139248
|
}
|
|
139249
|
-
function
|
|
139249
|
+
function Jo(t) {
|
|
139250
139250
|
return {
|
|
139251
139251
|
explicit: !0,
|
|
139252
139252
|
value: t
|
|
@@ -139524,12 +139524,12 @@ var iQ = function(t, e) {
|
|
|
139524
139524
|
e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
|
|
139525
139525
|
return n;
|
|
139526
139526
|
};
|
|
139527
|
-
class
|
|
139527
|
+
class du extends Qt {
|
|
139528
139528
|
constructor(e, n) {
|
|
139529
139529
|
super(e), this.formula = n;
|
|
139530
139530
|
}
|
|
139531
139531
|
clone() {
|
|
139532
|
-
return new
|
|
139532
|
+
return new du(null, ct(this.formula));
|
|
139533
139533
|
}
|
|
139534
139534
|
static makeFromEncoding(e, n) {
|
|
139535
139535
|
const r = n.reduceFieldDef((i, s) => {
|
|
@@ -139548,11 +139548,11 @@ class xu extends Qt {
|
|
|
139548
139548
|
}
|
|
139549
139549
|
return i;
|
|
139550
139550
|
}, {});
|
|
139551
|
-
return Vt(r) ? null : new
|
|
139551
|
+
return Vt(r) ? null : new du(e, r);
|
|
139552
139552
|
}
|
|
139553
139553
|
static makeFromTransform(e, n) {
|
|
139554
139554
|
const r = Object.assign({}, n), { timeUnit: i } = r, s = iQ(r, ["timeUnit"]), o = pi(i), u = Object.assign(Object.assign({}, s), { timeUnit: o });
|
|
139555
|
-
return new
|
|
139555
|
+
return new du(e, {
|
|
139556
139556
|
[Tt(u)]: u
|
|
139557
139557
|
});
|
|
139558
139558
|
}
|
|
@@ -139668,7 +139668,7 @@ const Ztt = {
|
|
|
139668
139668
|
const g = { type: "E", field: m };
|
|
139669
139669
|
g.signals = Object.assign({}, l(g, "data")), s.items.push(g), s.hasField[m] = g;
|
|
139670
139670
|
}
|
|
139671
|
-
x && (e.init = x.map((m) => s.items.map((g) => He(m) ? m[g.channel] !== void 0 ? m[g.channel] : m[g.field] : m))), Vt(u) || (s.timeUnit = new
|
|
139671
|
+
x && (e.init = x.map((m) => s.items.map((g) => He(m) ? m[g.channel] !== void 0 ? m[g.channel] : m[g.field] : m))), Vt(u) || (s.timeUnit = new du(null, u));
|
|
139672
139672
|
},
|
|
139673
139673
|
signals: (t, e, n) => {
|
|
139674
139674
|
const r = e.name + ty;
|
|
@@ -139937,7 +139937,7 @@ function wae(t, e, n, { reactiveGeom: r } = {}) {
|
|
|
139937
139937
|
}), h = x.title || RB(x, n), p = ke(h).join(", ");
|
|
139938
139938
|
let m;
|
|
139939
139939
|
if (_r(c)) {
|
|
139940
|
-
const g = c === "x" ? "x2" : "y2", y =
|
|
139940
|
+
const g = c === "x" ? "x2" : "y2", y = Ou(t[g]);
|
|
139941
139941
|
if (Xr(x.bin) && y) {
|
|
139942
139942
|
const E = Ie(x, { expr: s }), A = Ie(y, { expr: s }), { format: _, formatType: v } = dv(x);
|
|
139943
139943
|
m = Bb(E, A, _, v, n), i[g] = !0;
|
|
@@ -140406,7 +140406,7 @@ function ynt(t, { invalid: e = !1, channels: n }) {
|
|
|
140406
140406
|
function GB(t) {
|
|
140407
140407
|
const { config: e, markDef: n } = t;
|
|
140408
140408
|
if (Mt("invalid", n, e)) {
|
|
140409
|
-
const i = Ent(t, { channels:
|
|
140409
|
+
const i = Ent(t, { channels: Xu });
|
|
140410
140410
|
if (i)
|
|
140411
140411
|
return { defined: { signal: i } };
|
|
140412
140412
|
}
|
|
@@ -140888,7 +140888,7 @@ function T1(t, e, n, r = { header: !1 }) {
|
|
|
140888
140888
|
}
|
|
140889
140889
|
function Yae(t) {
|
|
140890
140890
|
const { axes: e } = t.component, n = [];
|
|
140891
|
-
for (const r of
|
|
140891
|
+
for (const r of Xu)
|
|
140892
140892
|
if (e[r]) {
|
|
140893
140893
|
for (const i of e[r])
|
|
140894
140894
|
if (!i.get("disable") && !i.get("gridScale")) {
|
|
@@ -141222,7 +141222,7 @@ function qnt(t, e) {
|
|
|
141222
141222
|
function Hnt(t, e) {
|
|
141223
141223
|
var n;
|
|
141224
141224
|
const { sort: r } = t;
|
|
141225
|
-
return
|
|
141225
|
+
return xu(r) ? {
|
|
141226
141226
|
field: Ie(r, { expr: "datum" }),
|
|
141227
141227
|
order: (n = r.order) !== null && n !== void 0 ? n : "ascending"
|
|
141228
141228
|
} : ve(r) ? {
|
|
@@ -141839,7 +141839,7 @@ function Art(t) {
|
|
|
141839
141839
|
function _rt(t) {
|
|
141840
141840
|
const e = [], { encoding: n } = t;
|
|
141841
141841
|
for (const r of [
|
|
141842
|
-
[
|
|
141842
|
+
[Yu, Vu],
|
|
141843
141843
|
[Ms, $o]
|
|
141844
141844
|
])
|
|
141845
141845
|
(Mn(n[r[0]]) || Mn(n[r[1]])) && e.push({
|
|
@@ -141936,12 +141936,12 @@ function mQ(t, e, n) {
|
|
|
141936
141936
|
const l = Object.assign(Object.assign(Object.assign({ bin: s, field: t.field, as: [r] }, u ? { signal: u } : {}), a ? { extentSignal: a } : {}), i ? { span: i } : {});
|
|
141937
141937
|
return { key: o, binComponent: l };
|
|
141938
141938
|
}
|
|
141939
|
-
class
|
|
141939
|
+
class hu extends Qt {
|
|
141940
141940
|
constructor(e, n) {
|
|
141941
141941
|
super(e), this.bins = n;
|
|
141942
141942
|
}
|
|
141943
141943
|
clone() {
|
|
141944
|
-
return new
|
|
141944
|
+
return new hu(null, ct(this.bins));
|
|
141945
141945
|
}
|
|
141946
141946
|
static makeFromEncoding(e, n) {
|
|
141947
141947
|
const r = n.reduceFieldDef((i, s, o) => {
|
|
@@ -141951,7 +141951,7 @@ class du extends Qt {
|
|
|
141951
141951
|
}
|
|
141952
141952
|
return i;
|
|
141953
141953
|
}, {});
|
|
141954
|
-
return Vt(r) ? null : new
|
|
141954
|
+
return Vt(r) ? null : new hu(e, r);
|
|
141955
141955
|
}
|
|
141956
141956
|
/**
|
|
141957
141957
|
* Creates a bin node from BinTransform.
|
|
@@ -141959,7 +141959,7 @@ class du extends Qt {
|
|
|
141959
141959
|
*/
|
|
141960
141960
|
static makeFromTransform(e, n, r) {
|
|
141961
141961
|
const { key: i, binComponent: s } = mQ(n, n.bin, r);
|
|
141962
|
-
return new
|
|
141962
|
+
return new hu(e, {
|
|
141963
141963
|
[i]: s
|
|
141964
141964
|
});
|
|
141965
141965
|
}
|
|
@@ -142123,7 +142123,7 @@ class v2 extends Qt {
|
|
|
142123
142123
|
const o = n.facet[s];
|
|
142124
142124
|
if (o) {
|
|
142125
142125
|
const { bin: u, sort: a } = o;
|
|
142126
|
-
this[s] = Object.assign({ name: n.getName(`${s}_domain`), fields: [Ie(o), ...en(u) ? [Ie(o, { binSuffix: "end" })] : []] },
|
|
142126
|
+
this[s] = Object.assign({ name: n.getName(`${s}_domain`), fields: [Ie(o), ...en(u) ? [Ie(o, { binSuffix: "end" })] : []] }, xu(a) ? { sortField: a } : ve(a) ? { sortIndexField: gh(o, s) } : {});
|
|
142127
142127
|
}
|
|
142128
142128
|
}
|
|
142129
142129
|
this.childModel = n.child;
|
|
@@ -142158,7 +142158,7 @@ class v2 extends Qt {
|
|
|
142158
142158
|
}
|
|
142159
142159
|
getChildIndependentFieldsWithStep() {
|
|
142160
142160
|
const e = {};
|
|
142161
|
-
for (const n of
|
|
142161
|
+
for (const n of Xu) {
|
|
142162
142162
|
const r = this.childModel.component.scales[n];
|
|
142163
142163
|
if (r && !r.merged) {
|
|
142164
142164
|
const i = r.get("type"), s = r.get("range");
|
|
@@ -142288,7 +142288,7 @@ function wrt(t) {
|
|
|
142288
142288
|
function Frt(t) {
|
|
142289
142289
|
const e = {};
|
|
142290
142290
|
function n(r) {
|
|
142291
|
-
fh(r) ? e[r.field] = "date" : r.type === "quantitative" && LNe(r.aggregate) ? e[r.field] = "number" : hg(r.field) > 1 ? r.field in e || (e[r.field] = "flatten") : Ax(r) &&
|
|
142291
|
+
fh(r) ? e[r.field] = "date" : r.type === "quantitative" && LNe(r.aggregate) ? e[r.field] = "number" : hg(r.field) > 1 ? r.field in e || (e[r.field] = "flatten") : Ax(r) && xu(r.sort) && hg(r.sort.field) > 1 && (r.sort.field in e || (e[r.sort.field] = "flatten"));
|
|
142292
142292
|
}
|
|
142293
142293
|
if ((In(t) || mo(t)) && t.forEachFieldDef((r, i) => {
|
|
142294
142294
|
if (zs(r))
|
|
@@ -142591,7 +142591,7 @@ class krt extends e$ {
|
|
|
142591
142591
|
}
|
|
142592
142592
|
run(e, n) {
|
|
142593
142593
|
let r = /* @__PURE__ */ new Set();
|
|
142594
|
-
e instanceof
|
|
142594
|
+
e instanceof du && (r = e.producedFields(), cZ(r, n) && (this.setModified(), e.removeFormulas(n), e.producedFields.length === 0 && e.remove()));
|
|
142595
142595
|
for (const i of e.children)
|
|
142596
142596
|
this.run(i, /* @__PURE__ */ new Set([...n, ...r]));
|
|
142597
142597
|
}
|
|
@@ -142651,7 +142651,7 @@ class Urt extends _x {
|
|
|
142651
142651
|
}
|
|
142652
142652
|
class qrt extends _x {
|
|
142653
142653
|
run(e) {
|
|
142654
|
-
const n = e.children.filter((i) => i instanceof
|
|
142654
|
+
const n = e.children.filter((i) => i instanceof du), r = n.pop();
|
|
142655
142655
|
for (const i of n)
|
|
142656
142656
|
this.setModified(), r.merge(i);
|
|
142657
142657
|
}
|
|
@@ -142680,12 +142680,12 @@ class zrt extends _x {
|
|
|
142680
142680
|
run(e) {
|
|
142681
142681
|
const n = !(ZB(e) || e instanceof _2 || e instanceof Pr || e instanceof v0), r = [], i = [];
|
|
142682
142682
|
for (const s of e.children)
|
|
142683
|
-
s instanceof
|
|
142683
|
+
s instanceof hu && (n && !fZ(e.producedFields(), s.dependentFields()) ? r.push(s) : i.push(s));
|
|
142684
142684
|
if (r.length > 0) {
|
|
142685
142685
|
const s = r.pop();
|
|
142686
142686
|
for (const o of r)
|
|
142687
142687
|
s.merge(o, this.model.renameSignal.bind(this.model));
|
|
142688
|
-
this.setModified(), e instanceof
|
|
142688
|
+
this.setModified(), e instanceof hu ? e.merge(s, this.model.renameSignal.bind(this.model)) : s.swapWithParent();
|
|
142689
142689
|
}
|
|
142690
142690
|
if (i.length > 1) {
|
|
142691
142691
|
const s = i.pop();
|
|
@@ -142801,7 +142801,7 @@ class Ia extends Qt {
|
|
|
142801
142801
|
return null;
|
|
142802
142802
|
const { groupbyChannels: s, fieldChannel: o, offset: u, impute: a } = r, l = s.map((h) => {
|
|
142803
142803
|
const p = i[h];
|
|
142804
|
-
return
|
|
142804
|
+
return Ou(p);
|
|
142805
142805
|
}).filter((h) => !!h), c = Grt(n), f = n.encoding.order;
|
|
142806
142806
|
let x;
|
|
142807
142807
|
return ve(f) || Fe(f) ? x = wZ(f) : x = c.reduce((h, p) => (h.field.push(p), h.order.push(o === "y" ? "descending" : "ascending"), h), { field: [], order: [] }), new Ia(e, {
|
|
@@ -143078,12 +143078,12 @@ function Sl(t, e, n, r) {
|
|
|
143078
143078
|
const { encoding: i } = n, s = Mn(i[r]), { type: o } = s, u = s.timeUnit;
|
|
143079
143079
|
if (dZe(e)) {
|
|
143080
143080
|
const f = Sl(t, void 0, n, r), x = XR(e.unionWith, o, u);
|
|
143081
|
-
return
|
|
143081
|
+
return Jo([...f.value, ...x]);
|
|
143082
143082
|
} else {
|
|
143083
143083
|
if (Ve(e))
|
|
143084
|
-
return
|
|
143084
|
+
return Jo([e]);
|
|
143085
143085
|
if (e && e !== "unaggregated" && !mue(e))
|
|
143086
|
-
return
|
|
143086
|
+
return Jo(XR(e, o, u));
|
|
143087
143087
|
}
|
|
143088
143088
|
const a = n.stack;
|
|
143089
143089
|
if (a && r === a.fieldChannel) {
|
|
@@ -143102,7 +143102,7 @@ function Sl(t, e, n, r) {
|
|
|
143102
143102
|
]);
|
|
143103
143103
|
}
|
|
143104
143104
|
const l = X0(r) && Fe(s) ? rit(n, r, t) : void 0;
|
|
143105
|
-
if (
|
|
143105
|
+
if (na(s)) {
|
|
143106
143106
|
const f = XR([s.datum], o, u);
|
|
143107
143107
|
return Vi(f);
|
|
143108
143108
|
}
|
|
@@ -143205,7 +143205,7 @@ function rit(t, e, n) {
|
|
|
143205
143205
|
order: "ascending"
|
|
143206
143206
|
};
|
|
143207
143207
|
const { stack: s } = t, o = s ? /* @__PURE__ */ new Set([...s.groupbyFields, ...s.stackBy.map((u) => u.fieldDef.field)]) : void 0;
|
|
143208
|
-
if (
|
|
143208
|
+
if (xu(i)) {
|
|
143209
143209
|
const u = s && !o.has(i.field);
|
|
143210
143210
|
return ZR(i, u);
|
|
143211
143211
|
} else if (wue(i)) {
|
|
@@ -143398,7 +143398,7 @@ function lit(t, e) {
|
|
|
143398
143398
|
const p = n.range;
|
|
143399
143399
|
if (ve(p)) {
|
|
143400
143400
|
if (_r(t))
|
|
143401
|
-
return
|
|
143401
|
+
return Jo(p.map((m) => {
|
|
143402
143402
|
if (m === "width" || m === "height") {
|
|
143403
143403
|
const g = e.getName(m), y = e.getSignalName.bind(e);
|
|
143404
143404
|
return Ii.fromName(y, g);
|
|
@@ -143406,24 +143406,24 @@ function lit(t, e) {
|
|
|
143406
143406
|
return m;
|
|
143407
143407
|
}));
|
|
143408
143408
|
} else if (He(p))
|
|
143409
|
-
return
|
|
143409
|
+
return Jo({
|
|
143410
143410
|
data: e.requestDataName(Xt.Main),
|
|
143411
143411
|
field: p.field,
|
|
143412
143412
|
sort: { op: "min", field: e.vgField(t) }
|
|
143413
143413
|
});
|
|
143414
|
-
return
|
|
143414
|
+
return Jo(p);
|
|
143415
143415
|
}
|
|
143416
143416
|
case "scheme":
|
|
143417
|
-
return
|
|
143417
|
+
return Jo(cit(n[f]));
|
|
143418
143418
|
}
|
|
143419
143419
|
}
|
|
143420
143420
|
const o = t === yn || t === "xOffset" ? "width" : "height", u = r[o];
|
|
143421
|
-
if (
|
|
143421
|
+
if (Du(u)) {
|
|
143422
143422
|
if (_r(t))
|
|
143423
143423
|
if (ur(s)) {
|
|
143424
143424
|
const f = _le(u, e, t);
|
|
143425
143425
|
if (f)
|
|
143426
|
-
return
|
|
143426
|
+
return Jo({ step: f });
|
|
143427
143427
|
} else
|
|
143428
143428
|
be(MZ(o));
|
|
143429
143429
|
else if (o2(t)) {
|
|
@@ -143431,13 +143431,13 @@ function lit(t, e) {
|
|
|
143431
143431
|
if (e.getScaleComponent(f).get("type") === "band") {
|
|
143432
143432
|
const p = vle(u, s);
|
|
143433
143433
|
if (p)
|
|
143434
|
-
return
|
|
143434
|
+
return Jo(p);
|
|
143435
143435
|
}
|
|
143436
143436
|
}
|
|
143437
143437
|
}
|
|
143438
143438
|
const { rangeMin: a, rangeMax: l } = n, c = fit(t, e);
|
|
143439
143439
|
return (a !== void 0 || l !== void 0) && // it's ok to check just rangeMin's compatibility since rangeMin/rangeMax are the same
|
|
143440
|
-
Q7(s, "rangeMin") && ve(c) && c.length === 2 ?
|
|
143440
|
+
Q7(s, "rangeMin") && ve(c) && c.length === 2 ? Jo([a ?? c[0], l ?? c[1]]) : Vi(c);
|
|
143441
143441
|
}
|
|
143442
143442
|
function cit(t) {
|
|
143443
143443
|
return xZe(t) ? Object.assign({ scheme: t.name }, $s(t, ["name"])) : { scheme: t };
|
|
@@ -143449,7 +143449,7 @@ function fit(t, e) {
|
|
|
143449
143449
|
case or: {
|
|
143450
143450
|
if (Rt(["point", "band"], l)) {
|
|
143451
143451
|
const p = Cle(t, n, r.view);
|
|
143452
|
-
if (
|
|
143452
|
+
if (Du(p))
|
|
143453
143453
|
return { step: _le(p, e, t) };
|
|
143454
143454
|
}
|
|
143455
143455
|
const x = ki(t), h = e.getName(x);
|
|
@@ -143466,7 +143466,7 @@ function fit(t, e) {
|
|
|
143466
143466
|
return [0, Math.PI * 2];
|
|
143467
143467
|
case ux:
|
|
143468
143468
|
return [0, 360];
|
|
143469
|
-
case
|
|
143469
|
+
case Wu:
|
|
143470
143470
|
return [
|
|
143471
143471
|
0,
|
|
143472
143472
|
new Ii(() => {
|
|
@@ -143488,8 +143488,8 @@ function fit(t, e) {
|
|
|
143488
143488
|
case $i:
|
|
143489
143489
|
return "symbol";
|
|
143490
143490
|
case Bi:
|
|
143491
|
-
case Yu:
|
|
143492
143491
|
case Ku:
|
|
143492
|
+
case Ju:
|
|
143493
143493
|
return l === "ordinal" ? u === "nominal" ? "category" : "ordinal" : f !== void 0 ? "diverging" : i === "rect" || i === "geoshape" ? "heatmap" : "ramp";
|
|
143494
143494
|
case al:
|
|
143495
143495
|
case V0:
|
|
@@ -143522,7 +143522,7 @@ function xit(t, e, n) {
|
|
|
143522
143522
|
const r = t === W0 ? "x" : "y", s = e.getScaleComponent(r).get("type"), o = e.scaleName(r);
|
|
143523
143523
|
if (s === "band") {
|
|
143524
143524
|
const u = Cle(r, e.size, e.config.view);
|
|
143525
|
-
if (
|
|
143525
|
+
if (Du(u)) {
|
|
143526
143526
|
const a = vle(u, n);
|
|
143527
143527
|
if (a)
|
|
143528
143528
|
return a;
|
|
@@ -143604,7 +143604,7 @@ function pit(t, e, n, r) {
|
|
|
143604
143604
|
throw new Error(wS("size", t));
|
|
143605
143605
|
}
|
|
143606
143606
|
function bQ(t, e, n) {
|
|
143607
|
-
const r =
|
|
143607
|
+
const r = Du(t.width) ? t.width.step : gv(n, "width"), i = Du(t.height) ? t.height.step : gv(n, "height");
|
|
143608
143608
|
return e.x || e.y ? new Ii(() => `min(${[
|
|
143609
143609
|
e.x ? e.x.signal : r,
|
|
143610
143610
|
e.y ? e.y.signal : i
|
|
@@ -143696,12 +143696,12 @@ function mit(t, e) {
|
|
|
143696
143696
|
};
|
|
143697
143697
|
}
|
|
143698
143698
|
function yit(t, e) {
|
|
143699
|
-
if (Rt([Bi,
|
|
143699
|
+
if (Rt([Bi, Ku, Ju], t) && e !== "nominal")
|
|
143700
143700
|
return "hcl";
|
|
143701
143701
|
}
|
|
143702
143702
|
function Eit(t, e, n, r, i, s) {
|
|
143703
143703
|
var o;
|
|
143704
|
-
if (!(!((o =
|
|
143704
|
+
if (!(!((o = Ou(s)) === null || o === void 0) && o.bin || ve(n) || i != null || r != null || Rt([Li.TIME, Li.UTC], t)))
|
|
143705
143705
|
return _r(e) ? !0 : void 0;
|
|
143706
143706
|
}
|
|
143707
143707
|
function Ait(t, e, n, r, i, s) {
|
|
@@ -143766,7 +143766,7 @@ function Sit(t, e, n, r, i) {
|
|
|
143766
143766
|
}
|
|
143767
143767
|
if (t === "size" && e.type === "quantitative" && !ch(i))
|
|
143768
143768
|
return !0;
|
|
143769
|
-
if (!(Fe(e) && e.bin) && Rt([...
|
|
143769
|
+
if (!(Fe(e) && e.bin) && Rt([...Xu, ...CNe], t)) {
|
|
143770
143770
|
const { orient: o, type: u } = r;
|
|
143771
143771
|
return !(Rt(["bar", "area", "line", "trail"], u) && (o === "horizontal" && t === "y" || o === "vertical" && t === "x"));
|
|
143772
143772
|
}
|
|
@@ -144116,13 +144116,13 @@ class Dle extends i$ {
|
|
|
144116
144116
|
}
|
|
144117
144117
|
reduceFieldDef(e, n) {
|
|
144118
144118
|
return fet(this.getMapping(), (r, i, s) => {
|
|
144119
|
-
const o =
|
|
144119
|
+
const o = Ou(i);
|
|
144120
144120
|
return o ? e(r, o, s) : r;
|
|
144121
144121
|
}, n);
|
|
144122
144122
|
}
|
|
144123
144123
|
forEachFieldDef(e, n) {
|
|
144124
144124
|
NB(this.getMapping(), (r, i) => {
|
|
144125
|
-
const s =
|
|
144125
|
+
const s = Ou(r);
|
|
144126
144126
|
s && e(s, i);
|
|
144127
144127
|
}, n);
|
|
144128
144128
|
}
|
|
@@ -144275,12 +144275,12 @@ class pd extends Qt {
|
|
|
144275
144275
|
return e;
|
|
144276
144276
|
let r = 0;
|
|
144277
144277
|
for (const i of [
|
|
144278
|
-
[
|
|
144278
|
+
[Yu, Vu],
|
|
144279
144279
|
[Ms, $o]
|
|
144280
144280
|
]) {
|
|
144281
144281
|
const s = i.map((o) => {
|
|
144282
144282
|
const u = Mn(n.encoding[o]);
|
|
144283
|
-
return Fe(u) ? u.field :
|
|
144283
|
+
return Fe(u) ? u.field : na(u) ? { expr: `${u.datum}` } : Co(u) ? { expr: `${u.value}` } : void 0;
|
|
144284
144284
|
});
|
|
144285
144285
|
(s[0] || s[1]) && (e = new pd(e, s, null, n.getName(`geojson_${r++}`)));
|
|
144286
144286
|
}
|
|
@@ -144324,12 +144324,12 @@ class Hg extends Qt {
|
|
|
144324
144324
|
if (!n.projectionName())
|
|
144325
144325
|
return e;
|
|
144326
144326
|
for (const r of [
|
|
144327
|
-
[
|
|
144327
|
+
[Yu, Vu],
|
|
144328
144328
|
[Ms, $o]
|
|
144329
144329
|
]) {
|
|
144330
144330
|
const i = r.map((o) => {
|
|
144331
144331
|
const u = Mn(n.encoding[o]);
|
|
144332
|
-
return Fe(u) ? u.field :
|
|
144332
|
+
return Fe(u) ? u.field : na(u) ? { expr: `${u.datum}` } : Co(u) ? { expr: `${u.value}` } : void 0;
|
|
144333
144333
|
}), s = r[0] === Ms ? "2" : "";
|
|
144334
144334
|
(i[0] || i[1]) && (e = new Hg(e, n.projectionName(), i, [
|
|
144335
144335
|
n.getName(`x${s}`),
|
|
@@ -144617,7 +144617,7 @@ function Nle(t) {
|
|
|
144617
144617
|
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());
|
|
144618
144618
|
return;
|
|
144619
144619
|
}
|
|
144620
|
-
switch ((r instanceof ny || r instanceof ry || r instanceof qg || r instanceof _2 || r instanceof ph || r instanceof Hg || r instanceof go || r instanceof zg || r instanceof C2 || r instanceof vx || r instanceof eT || r instanceof Zb || r instanceof Xb || r instanceof tT || r instanceof nT || r instanceof rT || r instanceof v0 || r instanceof sT || r instanceof iT) && i.transform.push(r.assemble()), (r instanceof
|
|
144620
|
+
switch ((r instanceof ny || r instanceof ry || r instanceof qg || r instanceof _2 || r instanceof ph || r instanceof Hg || r instanceof go || r instanceof zg || r instanceof C2 || r instanceof vx || r instanceof eT || r instanceof Zb || r instanceof Xb || r instanceof tT || r instanceof nT || r instanceof rT || r instanceof v0 || r instanceof sT || r instanceof iT) && i.transform.push(r.assemble()), (r instanceof hu || r instanceof du || r instanceof Jc || r instanceof Ia || r instanceof pd) && i.transform.push(...r.assemble()), r instanceof ci && (i.source && i.transform.length === 0 ? r.setSource(i.source) : r.parent instanceof ci ? r.setSource(i.name) : (i.name || (i.name = `data_${e++}`), r.setSource(i.name), r.numChildren() === 1 && (t.push(i), i = {
|
|
144621
144621
|
name: null,
|
|
144622
144622
|
source: i.name,
|
|
144623
144623
|
transform: []
|
|
@@ -144768,11 +144768,11 @@ function _v(t, e) {
|
|
|
144768
144768
|
}
|
|
144769
144769
|
function qit(t) {
|
|
144770
144770
|
const { size: e, component: n } = t;
|
|
144771
|
-
for (const r of
|
|
144771
|
+
for (const r of Xu) {
|
|
144772
144772
|
const i = ki(r);
|
|
144773
144773
|
if (e[i]) {
|
|
144774
144774
|
const s = e[i];
|
|
144775
|
-
n.layoutSize.set(i,
|
|
144775
|
+
n.layoutSize.set(i, Du(s) ? "step" : s, !0);
|
|
144776
144776
|
} else {
|
|
144777
144777
|
const s = Hit(t, i);
|
|
144778
144778
|
n.layoutSize.set(i, s, !1);
|
|
@@ -144785,7 +144785,7 @@ function Hit(t, e) {
|
|
|
144785
144785
|
const s = i.get("type"), o = i.get("range");
|
|
144786
144786
|
if (ur(s)) {
|
|
144787
144787
|
const u = mv(r.view, e);
|
|
144788
|
-
return ec(o) ||
|
|
144788
|
+
return ec(o) || Du(u) ? "step" : u;
|
|
144789
144789
|
} else
|
|
144790
144790
|
return J7(r.view, e);
|
|
144791
144791
|
} else {
|
|
@@ -144793,7 +144793,7 @@ function Hit(t, e) {
|
|
|
144793
144793
|
return J7(r.view, e);
|
|
144794
144794
|
{
|
|
144795
144795
|
const s = mv(r.view, e);
|
|
144796
|
-
return
|
|
144796
|
+
return Du(s) ? s.step : s;
|
|
144797
144797
|
}
|
|
144798
144798
|
}
|
|
144799
144799
|
}
|
|
@@ -144912,7 +144912,7 @@ class W1 extends Dle {
|
|
|
144912
144912
|
e.push(i), n.push("distinct"), r.push(`distinct_${i}`);
|
|
144913
144913
|
}
|
|
144914
144914
|
} else
|
|
144915
|
-
for (const i of
|
|
144915
|
+
for (const i of Xu) {
|
|
144916
144916
|
const s = this.child.component.scales[i];
|
|
144917
144917
|
if (s && !s.merged) {
|
|
144918
144918
|
const o = s.get("type"), u = s.get("range");
|
|
@@ -144931,7 +144931,7 @@ class W1 extends Dle {
|
|
|
144931
144931
|
if (f) {
|
|
144932
144932
|
a.push(Ie(f));
|
|
144933
144933
|
const { bin: x, sort: h } = f;
|
|
144934
|
-
if (en(x) && a.push(Ie(f, { binSuffix: "end" })),
|
|
144934
|
+
if (en(x) && a.push(Ie(f, { binSuffix: "end" })), xu(h)) {
|
|
144935
144935
|
const { field: p, op: m = $b } = h, g = dN(f, h);
|
|
144936
144936
|
r && i ? (s.push(g), o.push("max"), u.push(g)) : (s.push(p), o.push(m), u.push(g));
|
|
144937
144937
|
} else if (ve(h)) {
|
|
@@ -144951,13 +144951,13 @@ class W1 extends Dle {
|
|
|
144951
144951
|
}
|
|
144952
144952
|
facetSortFields(e) {
|
|
144953
144953
|
const { facet: n } = this, r = n[e];
|
|
144954
|
-
return r ?
|
|
144954
|
+
return r ? xu(r.sort) ? [dN(r, r.sort, { expr: "datum" })] : ve(r.sort) ? [gh(r, e, { expr: "datum" })] : [Ie(r, { expr: "datum" })] : [];
|
|
144955
144955
|
}
|
|
144956
144956
|
facetSortOrder(e) {
|
|
144957
144957
|
const { facet: n } = this, r = n[e];
|
|
144958
144958
|
if (r) {
|
|
144959
144959
|
const { sort: i } = r;
|
|
144960
|
-
return [(
|
|
144960
|
+
return [(xu(i) ? i.order : !ve(i) && i) || "ascending"];
|
|
144961
144961
|
}
|
|
144962
144962
|
return [];
|
|
144963
144963
|
}
|
|
@@ -144999,7 +144999,7 @@ function zit(t, e) {
|
|
|
144999
144999
|
if (n && r) {
|
|
145000
145000
|
let i = null;
|
|
145001
145001
|
for (const s of [n, r])
|
|
145002
|
-
if (
|
|
145002
|
+
if (xu(s.sort)) {
|
|
145003
145003
|
const { field: o, op: u = $b } = s.sort;
|
|
145004
145004
|
t = i = new vx(t, {
|
|
145005
145005
|
joinaggregate: [
|
|
@@ -145069,9 +145069,9 @@ function Git(t, e, n) {
|
|
|
145069
145069
|
const l = wrt(o);
|
|
145070
145070
|
a = t = (r = Pr.makeWithAncestors(t, {}, l, n)) !== null && r !== void 0 ? r : t, t = new _2(t, e, o.filter);
|
|
145071
145071
|
} else if (Aae(o))
|
|
145072
|
-
a = t =
|
|
145072
|
+
a = t = hu.makeFromTransform(t, o, e), u = "number";
|
|
145073
145073
|
else if (Ott(o))
|
|
145074
|
-
u = "date", n.getWithExplicit(o.field).value === void 0 && (t = new Pr(t, { [o.field]: u }), n.set(o.field, u, !1)), a = t =
|
|
145074
|
+
u = "date", n.getWithExplicit(o.field).value === void 0 && (t = new Pr(t, { [o.field]: u }), n.set(o.field, u, !1)), a = t = du.makeFromTransform(t, o);
|
|
145075
145075
|
else if (Dtt(o))
|
|
145076
145076
|
a = t = go.makeFromTransform(t, o), u = "number", WB(e) && (t = new v0(t));
|
|
145077
145077
|
else if (Eae(o))
|
|
@@ -145116,9 +145116,9 @@ function oT(t) {
|
|
|
145116
145116
|
const { outputNodes: x, outputNodeRefCounts: h } = t.component.data, p = t.data, g = !(p && (Kl(p) || xh(p) || jg(p))) && t.parent ? t.parent.component.data.ancestorParse.clone() : new Htt();
|
|
145117
145117
|
Kl(p) ? (Tae(p) ? f = new ry(f, p.sequence) : qB(p) && (f = new ny(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 = Pr.makeExplicit(f, t, g)) !== null && n !== void 0 ? n : f, f = new v0(f);
|
|
145118
145118
|
const y = t.parent && S2(t.parent);
|
|
145119
|
-
(In(t) || mo(t)) && y && (f = (r =
|
|
145119
|
+
(In(t) || mo(t)) && y && (f = (r = hu.makeFromEncoding(f, t)) !== null && r !== void 0 ? r : f), t.transforms.length > 0 && (f = Git(f, t, g));
|
|
145120
145120
|
const E = Lrt(t), A = Frt(t);
|
|
145121
|
-
f = (i = Pr.makeWithAncestors(f, {}, Object.assign(Object.assign({}, E), A), g)) !== null && i !== void 0 ? i : f, In(t) && (f = pd.parseAll(f, t), f = Hg.parseAll(f, t)), (In(t) || mo(t)) && (y || (f = (s =
|
|
145121
|
+
f = (i = Pr.makeWithAncestors(f, {}, Object.assign(Object.assign({}, E), A), g)) !== null && i !== void 0 ? i : f, In(t) && (f = pd.parseAll(f, t), f = Hg.parseAll(f, t)), (In(t) || mo(t)) && (y || (f = (s = hu.makeFromEncoding(f, t)) !== null && s !== void 0 ? s : f), f = (o = du.makeFromEncoding(f, t)) !== null && o !== void 0 ? o : f, f = ph.parseAllForSortIndex(f, t));
|
|
145122
145122
|
const _ = t.getDataName(Xt.Raw), v = new ci(f, _, Xt.Raw, h);
|
|
145123
145123
|
if (x[_] = v, f = v, In(t)) {
|
|
145124
145124
|
const O = go.makeFromEncoding(f, t);
|
|
@@ -145238,7 +145238,7 @@ function Kit(t, e, n) {
|
|
|
145238
145238
|
}) }, n) : n;
|
|
145239
145239
|
}
|
|
145240
145240
|
function Jit(t) {
|
|
145241
|
-
return
|
|
145241
|
+
return Xu.reduce((e, n) => (t.component.scales[n] && (e[n] = [ist(n, t)]), e), {});
|
|
145242
145242
|
}
|
|
145243
145243
|
const Xit = {
|
|
145244
145244
|
bottom: "top",
|
|
@@ -145254,7 +145254,7 @@ function Zit(t) {
|
|
|
145254
145254
|
for (const o of Te(s.component.axes))
|
|
145255
145255
|
r.axis[o] = JB(t.component.resolve, o), r.axis[o] === "shared" && (n[o] = est(n[o], s.component.axes[o]), n[o] || (r.axis[o] = "independent", delete n[o]));
|
|
145256
145256
|
}
|
|
145257
|
-
for (const s of
|
|
145257
|
+
for (const s of Xu) {
|
|
145258
145258
|
for (const o of t.children)
|
|
145259
145259
|
if (o.component.axes[s]) {
|
|
145260
145260
|
if (r.axis[s] === "independent") {
|
|
@@ -145394,9 +145394,9 @@ function ist(t, e) {
|
|
|
145394
145394
|
return Vt(y) || o.set("encode", y, !!s.encoding || s.labelAngle !== void 0), o;
|
|
145395
145395
|
}
|
|
145396
145396
|
function sst({ encoding: t, size: e }) {
|
|
145397
|
-
for (const n of
|
|
145397
|
+
for (const n of Xu) {
|
|
145398
145398
|
const r = ki(n);
|
|
145399
|
-
|
|
145399
|
+
Du(e[r]) && iu(t[n]) && (delete e[r], be(MZ(r)));
|
|
145400
145400
|
}
|
|
145401
145401
|
return e;
|
|
145402
145402
|
}
|
|
@@ -145467,7 +145467,7 @@ function cst(t, e, n) {
|
|
|
145467
145467
|
}
|
|
145468
145468
|
case Lb:
|
|
145469
145469
|
case pB: {
|
|
145470
|
-
const u =
|
|
145470
|
+
const u = iu(r), a = iu(i);
|
|
145471
145471
|
if (n)
|
|
145472
145472
|
return n;
|
|
145473
145473
|
if (u && !a)
|
|
@@ -145824,7 +145824,7 @@ function Fst(t) {
|
|
|
145824
145824
|
return {
|
|
145825
145825
|
field: Ie(l, { prefix: a, suffix: "sort_index", expr: "datum" })
|
|
145826
145826
|
};
|
|
145827
|
-
if (
|
|
145827
|
+
if (xu(c))
|
|
145828
145828
|
return {
|
|
145829
145829
|
field: Ie({
|
|
145830
145830
|
// FIXME: this op might not already exist?
|
|
@@ -145885,7 +145885,7 @@ class Ile extends Dle {
|
|
|
145885
145885
|
constructor(e, n, r, i = {}, s) {
|
|
145886
145886
|
var o;
|
|
145887
145887
|
super(e, "unit", n, r, s, void 0, Qz(e) ? e.view : void 0), this.specifiedScales = {}, this.specifiedAxes = {}, this.specifiedLegends = {}, this.specifiedProjection = {}, this.selection = [], this.children = [];
|
|
145888
|
-
const u =
|
|
145888
|
+
const u = Ru(e.mark) ? Object.assign({}, e.mark) : { type: e.mark }, a = u.type;
|
|
145889
145889
|
u.filled === void 0 && (u.filled = lst(u, s, {
|
|
145890
145890
|
graticule: e.data && qB(e.data)
|
|
145891
145891
|
}));
|
|
@@ -145925,7 +145925,7 @@ class Ile extends Dle {
|
|
|
145925
145925
|
return ve(n) && (i.domain = n.map(Ji)), ve(r) && (i.range = r.map(Ji)), i;
|
|
145926
145926
|
}
|
|
145927
145927
|
initAxes(e) {
|
|
145928
|
-
return
|
|
145928
|
+
return Xu.reduce((n, r) => {
|
|
145929
145929
|
const i = e[r];
|
|
145930
145930
|
if (ot(i) || r === yn && ot(e.x2) || r === or && ot(e.y2)) {
|
|
145931
145931
|
const s = ot(i) ? i.axis : void 0;
|
|
@@ -146005,7 +146005,7 @@ class Ile extends Dle {
|
|
|
146005
146005
|
}
|
|
146006
146006
|
fieldDef(e) {
|
|
146007
146007
|
const n = this.encoding[e];
|
|
146008
|
-
return
|
|
146008
|
+
return Ou(n);
|
|
146009
146009
|
}
|
|
146010
146010
|
typedFieldDef(e) {
|
|
146011
146011
|
const n = this.fieldDef(e);
|