@malloydata/render 0.0.218-dev241203023241 → 0.0.218
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.
|
@@ -14250,7 +14250,7 @@ function M2e() {
|
|
|
14250
14250
|
};
|
|
14251
14251
|
Object.defineProperty(xp, "__esModule", { value: !0 }), xp.LL1Analyzer = void 0;
|
|
14252
14252
|
const n = Kh, r = Po, i = ox, s = jo, o = xx(), u = Ee, a = C8(), l = As, c = Mo(), f = J0, x = Xh, d = Xt, p = Mm;
|
|
14253
|
-
let m = class
|
|
14253
|
+
let m = class eD {
|
|
14254
14254
|
constructor(y) {
|
|
14255
14255
|
this.atn = y;
|
|
14256
14256
|
}
|
|
@@ -14272,7 +14272,7 @@ function M2e() {
|
|
|
14272
14272
|
let A = new o.IntervalSet();
|
|
14273
14273
|
E[v] = A;
|
|
14274
14274
|
let _ = new r.Array2DHashSet(l.ObjectEqualityComparator.INSTANCE);
|
|
14275
|
-
this._LOOK(y.transition(v).target, void 0, c.PredictionContext.EMPTY_LOCAL, A, _, new s.BitSet(), !1, !1), (A.size === 0 || A.contains(
|
|
14275
|
+
this._LOOK(y.transition(v).target, void 0, c.PredictionContext.EMPTY_LOCAL, A, _, new s.BitSet(), !1, !1), (A.size === 0 || A.contains(eD.HIT_PRED)) && (A = void 0, E[v] = A);
|
|
14276
14276
|
}
|
|
14277
14277
|
return E;
|
|
14278
14278
|
}
|
|
@@ -14361,7 +14361,7 @@ function M2e() {
|
|
|
14361
14361
|
S.clear(j.ruleIndex);
|
|
14362
14362
|
}
|
|
14363
14363
|
} else if (j instanceof n.AbstractPredicateTransition)
|
|
14364
|
-
b ? this._LOOK(j.target, E, v, A, _, S, b, C) : A.add(
|
|
14364
|
+
b ? this._LOOK(j.target, E, v, A, _, S, b, C) : A.add(eD.HIT_PRED);
|
|
14365
14365
|
else if (j.isEpsilon)
|
|
14366
14366
|
this._LOOK(j.target, E, v, A, _, S, b, C);
|
|
14367
14367
|
else if (j instanceof p.WildcardTransition)
|
|
@@ -15816,12 +15816,12 @@ function io() {
|
|
|
15816
15816
|
};
|
|
15817
15817
|
Object.defineProperty(vp, "__esModule", { value: !0 }), vp.ParserRuleContext = void 0;
|
|
15818
15818
|
const e = G0, n = fr, r = Ee, i = IW(), s = Bo;
|
|
15819
|
-
let o = class
|
|
15819
|
+
let o = class tD extends i.RuleContext {
|
|
15820
15820
|
constructor(a, l) {
|
|
15821
15821
|
l == null ? super() : super(a, l);
|
|
15822
15822
|
}
|
|
15823
15823
|
static emptyContext() {
|
|
15824
|
-
return
|
|
15824
|
+
return tD.EMPTY;
|
|
15825
15825
|
}
|
|
15826
15826
|
/**
|
|
15827
15827
|
* COPY a ctx (I'm deliberately not using copy constructor) to avoid
|
|
@@ -15895,7 +15895,7 @@ function io() {
|
|
|
15895
15895
|
}
|
|
15896
15896
|
get parent() {
|
|
15897
15897
|
let a = super.parent;
|
|
15898
|
-
if (a === void 0 || a instanceof
|
|
15898
|
+
if (a === void 0 || a instanceof tD)
|
|
15899
15899
|
return a;
|
|
15900
15900
|
throw new TypeError("Invalid parent type for ParserRuleContext");
|
|
15901
15901
|
}
|
|
@@ -18282,15 +18282,15 @@ var Jpe = T && T.__decorate || function(t, e, n, r) {
|
|
|
18282
18282
|
Object.defineProperty(hx, "__esModule", { value: !0 });
|
|
18283
18283
|
hx.InputMismatchException = void 0;
|
|
18284
18284
|
const e1e = ro, t1e = Ee;
|
|
18285
|
-
let
|
|
18285
|
+
let nD = class extends e1e.RecognitionException {
|
|
18286
18286
|
constructor(e, n, r) {
|
|
18287
18287
|
r === void 0 && (r = e.context), super(e, e.inputStream, r), n !== void 0 && this.setOffendingState(n), this.setOffendingToken(e, e.currentToken);
|
|
18288
18288
|
}
|
|
18289
18289
|
};
|
|
18290
|
-
|
|
18290
|
+
nD = Jpe([
|
|
18291
18291
|
Zpe(0, t1e.NotNull)
|
|
18292
|
-
],
|
|
18293
|
-
hx.InputMismatchException =
|
|
18292
|
+
], nD);
|
|
18293
|
+
hx.InputMismatchException = nD;
|
|
18294
18294
|
var nP;
|
|
18295
18295
|
function T8() {
|
|
18296
18296
|
if (nP)
|
|
@@ -20064,9 +20064,9 @@ function YW() {
|
|
|
20064
20064
|
};
|
|
20065
20065
|
Object.defineProperty(Tp, "__esModule", { value: !0 }), Tp.ParserInterpreter = void 0;
|
|
20066
20066
|
const n = Vu, r = xr, i = jo, s = ec, o = hx, u = VW(), a = Vm, l = Ee, c = Ee, f = o2(), x = n2(), d = ro, p = Vh, m = Xt;
|
|
20067
|
-
let g = class
|
|
20067
|
+
let g = class rD extends f.Parser {
|
|
20068
20068
|
constructor(E, v, A, _, S) {
|
|
20069
|
-
if (super(E instanceof
|
|
20069
|
+
if (super(E instanceof rD ? E.inputStream : S), this._parentContextStack = [], this.overrideDecision = -1, this.overrideDecisionInputIndex = -1, this.overrideDecisionAlt = -1, this.overrideDecisionReached = !1, this._overrideDecisionRoot = void 0, E instanceof rD) {
|
|
20070
20070
|
let b = E;
|
|
20071
20071
|
this._grammarFileName = b._grammarFileName, this._atn = b._atn, this.pushRecursionContextStates = b.pushRecursionContextStates, this._ruleNames = b._ruleNames, this._vocabulary = b._vocabulary, this.interpreter = new x.ParserATNSimulator(this._atn, this);
|
|
20072
20072
|
} else {
|
|
@@ -31220,7 +31220,7 @@ class h extends Jge.Parser {
|
|
|
31220
31220
|
i = new ZY(i), this._ctx = i, s = i, this.state = 1101, this.match(h.NOT), this.state = 1102, this.fieldExpr(13);
|
|
31221
31221
|
break;
|
|
31222
31222
|
case 7:
|
|
31223
|
-
i = new
|
|
31223
|
+
i = new iD(i), this._ctx = i, s = i, this.state = 1103, this.match(h.CAST), this.state = 1104, this.match(h.OPAREN), this.state = 1105, this.fieldExpr(0), this.state = 1106, this.match(h.AS), this.state = 1107, this.malloyOrSQLType(), this.state = 1108, this.match(h.CPAREN);
|
|
31224
31224
|
break;
|
|
31225
31225
|
case 8:
|
|
31226
31226
|
{
|
|
@@ -31409,7 +31409,7 @@ class h extends Jge.Parser {
|
|
|
31409
31409
|
break;
|
|
31410
31410
|
case 12:
|
|
31411
31411
|
{
|
|
31412
|
-
if (i = new
|
|
31412
|
+
if (i = new iD(new Se(n, r)), this.pushNewRecursionContext(i, o, h.RULE_fieldExpr), this.state = 1211, !this.precpred(this._ctx, 27))
|
|
31413
31413
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 27)");
|
|
31414
31414
|
this.state = 1212, this.match(h.DOUBLECOLON), this.state = 1213, this.malloyOrSQLType();
|
|
31415
31415
|
}
|
|
@@ -37711,7 +37711,7 @@ class MY extends Se {
|
|
|
37711
37711
|
}
|
|
37712
37712
|
}
|
|
37713
37713
|
L.ExprTimeTruncContext = MY;
|
|
37714
|
-
class
|
|
37714
|
+
class iD extends Se {
|
|
37715
37715
|
fieldExpr() {
|
|
37716
37716
|
return this.getRuleContext(0, Se);
|
|
37717
37717
|
}
|
|
@@ -37749,7 +37749,7 @@ class i7 extends Se {
|
|
|
37749
37749
|
return e.visitExprCast ? e.visitExprCast(this) : e.visitChildren(this);
|
|
37750
37750
|
}
|
|
37751
37751
|
}
|
|
37752
|
-
L.ExprCastContext =
|
|
37752
|
+
L.ExprCastContext = iD;
|
|
37753
37753
|
class jY extends Se {
|
|
37754
37754
|
fieldExpr() {
|
|
37755
37755
|
return this.getRuleContext(0, Se);
|
|
@@ -39520,10 +39520,10 @@ class Eu {
|
|
|
39520
39520
|
}
|
|
39521
39521
|
document() {
|
|
39522
39522
|
var e;
|
|
39523
|
-
return this instanceof
|
|
39523
|
+
return this instanceof oD ? this : (e = this.parent) === null || e === void 0 ? void 0 : e.document();
|
|
39524
39524
|
}
|
|
39525
39525
|
namespace() {
|
|
39526
|
-
if (this instanceof
|
|
39526
|
+
if (this instanceof oD)
|
|
39527
39527
|
return this;
|
|
39528
39528
|
if (this.parent)
|
|
39529
39529
|
return this.parent.namespace();
|
|
@@ -39535,8 +39535,8 @@ class Eu {
|
|
|
39535
39535
|
}
|
|
39536
39536
|
modelEntry(e) {
|
|
39537
39537
|
var n;
|
|
39538
|
-
const r = e instanceof
|
|
39539
|
-
return e instanceof
|
|
39538
|
+
const r = e instanceof sD ? e.name : e, i = (n = this.namespace()) === null || n === void 0 ? void 0 : n.getEntry(r);
|
|
39539
|
+
return e instanceof sD && ((i == null ? void 0 : i.entry.type) === "query" ? this.addReference({
|
|
39540
39540
|
type: "queryReference",
|
|
39541
39541
|
text: r,
|
|
39542
39542
|
definition: i.entry,
|
|
@@ -39662,7 +39662,7 @@ class Eme extends Eu {
|
|
|
39662
39662
|
}
|
|
39663
39663
|
}
|
|
39664
39664
|
Ye.Unimplemented = Eme;
|
|
39665
|
-
class
|
|
39665
|
+
class sD extends Eu {
|
|
39666
39666
|
constructor(e) {
|
|
39667
39667
|
super(), this.name = e, this.elementType = "modelEntryReference";
|
|
39668
39668
|
}
|
|
@@ -39677,7 +39677,7 @@ class s7 extends Eu {
|
|
|
39677
39677
|
return (e = this.modelEntry(this)) === null || e === void 0 ? void 0 : e.entry;
|
|
39678
39678
|
}
|
|
39679
39679
|
}
|
|
39680
|
-
Ye.ModelEntryReference =
|
|
39680
|
+
Ye.ModelEntryReference = sD;
|
|
39681
39681
|
class vme extends Eu {
|
|
39682
39682
|
constructor(e) {
|
|
39683
39683
|
super(), this.id = e, this.elementType = "experimentalExperiment";
|
|
@@ -39754,7 +39754,7 @@ function Sme(t) {
|
|
|
39754
39754
|
const e = SK(t).join("");
|
|
39755
39755
|
return (0, yme.v5)(e, _me);
|
|
39756
39756
|
}
|
|
39757
|
-
class
|
|
39757
|
+
class oD extends Eu {
|
|
39758
39758
|
constructor(e) {
|
|
39759
39759
|
super(), this.elementType = "document", this.globalNameSpace = new mme.GlobalNameSpace(), this.documentModel = {}, this.queryList = [], this.sqlBlocks = [], this.didInitModel = !1, this.annotation = {}, this.experiments = new dme.Tag({}), this.modelAnnotationTodoList = [], this.dialectNameSpaces = /* @__PURE__ */ new Map(), this.statements = new m3(e), this.has({ statements: e });
|
|
39760
39760
|
}
|
|
@@ -39852,7 +39852,7 @@ class o7 extends Eu {
|
|
|
39852
39852
|
return this.dialectNameSpaces.set(e, r), r;
|
|
39853
39853
|
}
|
|
39854
39854
|
}
|
|
39855
|
-
Ye.Document =
|
|
39855
|
+
Ye.Document = oD;
|
|
39856
39856
|
var cb = {}, f2 = {}, nn = {};
|
|
39857
39857
|
(function(t) {
|
|
39858
39858
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.atomicDef = t.inspect = t.typeEq = t.typeIn = t.eq = t.any = t.anyAtomicT = t.aggregateBoolT = t.viewT = t.errorT = t.boolT = t.timestampT = t.dateT = t.stringT = t.numberT = t.nullT = void 0;
|
|
@@ -40270,15 +40270,15 @@ so.Source = i3e;
|
|
|
40270
40270
|
var y3 = {}, x2 = {}, fb = {}, v0 = {};
|
|
40271
40271
|
Object.defineProperty(v0, "__esModule", { value: !0 });
|
|
40272
40272
|
v0.mergeFields = v0.nameFromDef = void 0;
|
|
40273
|
-
function
|
|
40273
|
+
function uD(t) {
|
|
40274
40274
|
var e;
|
|
40275
40275
|
return t.type === "fieldref" ? t.path[t.path.length - 1] : (e = t.as) !== null && e !== void 0 ? e : t.name;
|
|
40276
40276
|
}
|
|
40277
|
-
v0.nameFromDef =
|
|
40277
|
+
v0.nameFromDef = uD;
|
|
40278
40278
|
function s3e(t, e) {
|
|
40279
40279
|
if (t === void 0)
|
|
40280
40280
|
return e;
|
|
40281
|
-
const n = new Set(e.map((i) =>
|
|
40281
|
+
const n = new Set(e.map((i) => uD(i))), r = t.filter((i) => !n.has(uD(i)));
|
|
40282
40282
|
return r.push(...e), r;
|
|
40283
40283
|
}
|
|
40284
40284
|
v0.mergeFields = s3e;
|
|
@@ -40987,7 +40987,7 @@ _0.Renames = yye;
|
|
|
40987
40987
|
var Ii = {};
|
|
40988
40988
|
Object.defineProperty(Ii, "__esModule", { value: !0 });
|
|
40989
40989
|
Ii.JoinStatement = Ii.ExpressionJoin = Ii.KeyJoin = Ii.Join = void 0;
|
|
40990
|
-
const
|
|
40990
|
+
const aD = Xe, Eye = E3, vye = Cs, Aye = Ye, _ye = qr, FK = Kr, Sye = Nn;
|
|
40991
40991
|
class VN extends Aye.MalloyElement {
|
|
40992
40992
|
constructor() {
|
|
40993
40993
|
super(...arguments), this.isNoteableObj = !0, this.extendNote = _ye.extendNoteMethod;
|
|
@@ -41008,7 +41008,7 @@ class bye extends VN {
|
|
|
41008
41008
|
structDef(e) {
|
|
41009
41009
|
var n;
|
|
41010
41010
|
const r = this.getStructDefFromExpr(e);
|
|
41011
|
-
if (!(0,
|
|
41011
|
+
if (!(0, aD.isJoinable)(r))
|
|
41012
41012
|
throw this.internalError(`Cannot join struct type '${r.type}'`);
|
|
41013
41013
|
const i = {
|
|
41014
41014
|
...r,
|
|
@@ -41022,7 +41022,7 @@ class bye extends VN {
|
|
|
41022
41022
|
}
|
|
41023
41023
|
fixupJoinOn(e, n) {
|
|
41024
41024
|
const r = this.keyExpr.getExpression(e);
|
|
41025
|
-
if ((0,
|
|
41025
|
+
if ((0, aD.isSourceDef)(n) && n.primaryKey) {
|
|
41026
41026
|
const i = n.fields.find((s) => (s.as || s.name) === n.primaryKey);
|
|
41027
41027
|
if (i)
|
|
41028
41028
|
if (i.type === r.type) {
|
|
@@ -41073,7 +41073,7 @@ class Cye extends VN {
|
|
|
41073
41073
|
return this.sourceExpr.sqLog("invalid-join-source", "Cannot create a source to join from"), FK.ErrorFactory.joinDef;
|
|
41074
41074
|
const i = r.getSourceDef(e);
|
|
41075
41075
|
let s = "left";
|
|
41076
|
-
if (this.inExperiment("join_types", !0) && (s = this.matrixOperation), !(0,
|
|
41076
|
+
if (this.inExperiment("join_types", !0) && (s = this.matrixOperation), !(0, aD.isJoinable)(i))
|
|
41077
41077
|
throw this.internalError(`Can't join struct type ${i.type}`);
|
|
41078
41078
|
const o = {
|
|
41079
41079
|
...i,
|
|
@@ -41498,10 +41498,10 @@ ct.applyBinary = ct.getMorphicValue = ct.ExprDuration = ct.ExpressionDef = ct.AT
|
|
|
41498
41498
|
const S0 = Xe, Kc = SEe(nn), JN = bs, rl = Qt, bEe = $i, $K = A2, CEe = Ye, Bg = Co;
|
|
41499
41499
|
class TEe extends Error {
|
|
41500
41500
|
}
|
|
41501
|
-
var
|
|
41501
|
+
var lD;
|
|
41502
41502
|
(function(t) {
|
|
41503
41503
|
t[t.And = 0] = "And", t[t.Or = 1] = "Or", t[t.Value = 2] = "Value", t[t.Partial = 3] = "Partial";
|
|
41504
|
-
})(
|
|
41504
|
+
})(lD || (ct.ATNodeType = lD = {}));
|
|
41505
41505
|
class BK extends CEe.MalloyElement {
|
|
41506
41506
|
constructor() {
|
|
41507
41507
|
super(...arguments), this.legalChildTypes = Kc.anyAtomicT;
|
|
@@ -41557,14 +41557,14 @@ class BK extends CEe.MalloyElement {
|
|
|
41557
41557
|
return (0, S0.expressionIsAggregate)(e.expressionType);
|
|
41558
41558
|
}
|
|
41559
41559
|
atNodeType() {
|
|
41560
|
-
return
|
|
41560
|
+
return lD.Value;
|
|
41561
41561
|
}
|
|
41562
41562
|
atExpr() {
|
|
41563
41563
|
return this;
|
|
41564
41564
|
}
|
|
41565
41565
|
}
|
|
41566
41566
|
ct.ExpressionDef = BK;
|
|
41567
|
-
class
|
|
41567
|
+
class cD extends BK {
|
|
41568
41568
|
constructor(e, n) {
|
|
41569
41569
|
super({ n: e }), this.n = e, this.timeframe = n, this.elementType = "duration", this.legalChildTypes = [Kc.timestampT, Kc.dateT];
|
|
41570
41570
|
}
|
|
@@ -41593,7 +41593,7 @@ class c7 extends BK {
|
|
|
41593
41593
|
});
|
|
41594
41594
|
}
|
|
41595
41595
|
}
|
|
41596
|
-
ct.ExprDuration =
|
|
41596
|
+
ct.ExprDuration = cD;
|
|
41597
41597
|
function aM(t, e) {
|
|
41598
41598
|
return t.type === e ? t.value : t.morphic && t.morphic[e];
|
|
41599
41599
|
}
|
|
@@ -41726,9 +41726,9 @@ function FEe(t, e, n, r) {
|
|
|
41726
41726
|
let l = r;
|
|
41727
41727
|
if (s.type !== "duration")
|
|
41728
41728
|
if ((0, $K.isGranularResult)(i))
|
|
41729
|
-
l = new
|
|
41729
|
+
l = new cD(r, i.timeframe);
|
|
41730
41730
|
else if (i.type === "date")
|
|
41731
|
-
l = new
|
|
41731
|
+
l = new cD(r, "day");
|
|
41732
41732
|
else
|
|
41733
41733
|
return e.loggedErrorExpr("time-offset-type-mismatch", `Can not offset time by '${s.type}'`);
|
|
41734
41734
|
return l.apply(t, n, e);
|
|
@@ -43095,7 +43095,7 @@ class d_e extends c_e.ExpressionDef {
|
|
|
43095
43095
|
if (!(u.type === "error")) {
|
|
43096
43096
|
const f = this.getJoinUsage(s), x = this.source !== void 0 || this.explicitSource;
|
|
43097
43097
|
if (o && !(!this.source && f.every((p) => p.length === 0)) && !this.isSymmetricFunction()) {
|
|
43098
|
-
const p =
|
|
43098
|
+
const p = xD(l, f), m = dD(this.elementType, p), g = x ? m == null ? void 0 : m.message : "Join path is required for this calculation";
|
|
43099
43099
|
if (g) {
|
|
43100
43100
|
const y = p_e(g, f, o, this.elementType), E = (i = m == null ? void 0 : m.code) !== null && i !== void 0 ? i : "bad-join-usage";
|
|
43101
43101
|
m ? this.logError(E, y) : this.logWarning(E, y);
|
|
@@ -43127,11 +43127,11 @@ class d_e extends c_e.ExpressionDef {
|
|
|
43127
43127
|
const n = [];
|
|
43128
43128
|
if (this.source && this.source.getField(e).found) {
|
|
43129
43129
|
const i = { node: "field", path: this.source.path };
|
|
43130
|
-
n.push(...
|
|
43130
|
+
n.push(...fD(e, i));
|
|
43131
43131
|
}
|
|
43132
43132
|
if (this.expr) {
|
|
43133
43133
|
const r = this.expr.getExpression(e).value;
|
|
43134
|
-
n.push(...
|
|
43134
|
+
n.push(...fD(e, r));
|
|
43135
43135
|
}
|
|
43136
43136
|
return n;
|
|
43137
43137
|
}
|
|
@@ -43146,7 +43146,7 @@ function h_e(t, e) {
|
|
|
43146
43146
|
return !1;
|
|
43147
43147
|
return !0;
|
|
43148
43148
|
}
|
|
43149
|
-
function
|
|
43149
|
+
function fD(t, e) {
|
|
43150
43150
|
const n = [], r = (i, s) => {
|
|
43151
43151
|
const o = s[0], u = s.slice(1), a = i.entry(o);
|
|
43152
43152
|
if (a === void 0)
|
|
@@ -43176,7 +43176,7 @@ function f7(t, e) {
|
|
|
43176
43176
|
const s = r(t, i.path), o = s.def;
|
|
43177
43177
|
if ((0, og.isAtomic)(o) && !(0, og.isJoined)(o))
|
|
43178
43178
|
if ((0, og.hasExpression)(o)) {
|
|
43179
|
-
const u =
|
|
43179
|
+
const u = fD(s.fs, o.e);
|
|
43180
43180
|
n.push(...u.map((a) => [...s.joinPath, ...a]));
|
|
43181
43181
|
} else
|
|
43182
43182
|
n.push(s.joinPath);
|
|
@@ -43188,7 +43188,7 @@ function f7(t, e) {
|
|
|
43188
43188
|
n.push([]);
|
|
43189
43189
|
return n;
|
|
43190
43190
|
}
|
|
43191
|
-
function
|
|
43191
|
+
function xD(t, e) {
|
|
43192
43192
|
const n = [];
|
|
43193
43193
|
for (const r of e) {
|
|
43194
43194
|
let i = 0;
|
|
@@ -43202,7 +43202,7 @@ function x7(t, e) {
|
|
|
43202
43202
|
}
|
|
43203
43203
|
return n;
|
|
43204
43204
|
}
|
|
43205
|
-
function
|
|
43205
|
+
function dD(t, e) {
|
|
43206
43206
|
for (const n of e)
|
|
43207
43207
|
for (const r of n) {
|
|
43208
43208
|
if (r.joinType === "cross")
|
|
@@ -43234,7 +43234,7 @@ function p_e(t, e, n, r) {
|
|
|
43234
43234
|
break;
|
|
43235
43235
|
}
|
|
43236
43236
|
}
|
|
43237
|
-
const s =
|
|
43237
|
+
const s = xD(i, e), o = dD(r, s), u = i.slice().reverse().findIndex((p) => p.joinType === "many" || p.joinType === "cross"), a = u === -1 ? 0 : i.length - u, l = i.slice(0, a), c = xD(l, e), f = dD(r, c), x = i.length > 0 ? i.map((p) => p.name).join(".") : "source", d = l.length > 0 ? l.map((p) => p.name).join(".") : "source";
|
|
43238
43238
|
if (o)
|
|
43239
43239
|
return "Aggregated dimensional expression contains multiple join paths; rewrite, for example `sum(first_join.field + second_join.field)` as `first_join.field.sum() + second_join.field.sum()`";
|
|
43240
43240
|
{
|
|
@@ -43247,7 +43247,7 @@ var Cb = {};
|
|
|
43247
43247
|
Object.defineProperty(Cb, "__esModule", { value: !0 });
|
|
43248
43248
|
Cb.ExprAlternationTree = void 0;
|
|
43249
43249
|
const EM = Qt, Rd = ct, g_e = Co;
|
|
43250
|
-
function
|
|
43250
|
+
function hD(t) {
|
|
43251
43251
|
const e = t.atExpr();
|
|
43252
43252
|
switch (e.atNodeType()) {
|
|
43253
43253
|
case Rd.ATNodeType.And:
|
|
@@ -43255,9 +43255,9 @@ function h7(t) {
|
|
|
43255
43255
|
return;
|
|
43256
43256
|
case Rd.ATNodeType.Or: {
|
|
43257
43257
|
if (e instanceof QK) {
|
|
43258
|
-
const n =
|
|
43258
|
+
const n = hD(e.left);
|
|
43259
43259
|
if (n) {
|
|
43260
|
-
const r =
|
|
43260
|
+
const r = hD(e.right);
|
|
43261
43261
|
if (r)
|
|
43262
43262
|
return [...n, ...r];
|
|
43263
43263
|
}
|
|
@@ -43273,7 +43273,7 @@ class QK extends Rd.ExpressionDef {
|
|
|
43273
43273
|
super({ left: e, right: r }), this.left = e, this.op = n, this.right = r, this.elementType = "alternation", this.elementType = `${n}alternation${n}`;
|
|
43274
43274
|
}
|
|
43275
43275
|
equalityList() {
|
|
43276
|
-
return this.inList === void 0 && (this.inList =
|
|
43276
|
+
return this.inList === void 0 && (this.inList = hD(this) || []), this.inList;
|
|
43277
43277
|
}
|
|
43278
43278
|
apply(e, n, r, i) {
|
|
43279
43279
|
if ((0, g_e.isEquality)(n)) {
|
|
@@ -44662,7 +44662,7 @@ class Pl extends bx {
|
|
|
44662
44662
|
super("Zone is an abstract class");
|
|
44663
44663
|
}
|
|
44664
44664
|
}
|
|
44665
|
-
const Ue = "numeric", No = "short", cs = "long",
|
|
44665
|
+
const Ue = "numeric", No = "short", cs = "long", pD = {
|
|
44666
44666
|
year: Ue,
|
|
44667
44667
|
month: Ue,
|
|
44668
44668
|
day: Ue
|
|
@@ -44873,7 +44873,7 @@ function AA(t) {
|
|
|
44873
44873
|
const e = (t + Math.floor(t / 4) - Math.floor(t / 100) + Math.floor(t / 400)) % 7, n = t - 1, r = (n + Math.floor(n / 4) - Math.floor(n / 100) + Math.floor(n / 400)) % 7;
|
|
44874
44874
|
return e === 4 || r === 3 ? 53 : 52;
|
|
44875
44875
|
}
|
|
44876
|
-
function
|
|
44876
|
+
function gD(t) {
|
|
44877
44877
|
return t > 99 ? t : t > 60 ? 1900 + t : 2e3 + t;
|
|
44878
44878
|
}
|
|
44879
44879
|
function gX(t, e, n, r = null) {
|
|
@@ -45020,7 +45020,7 @@ function LM(t, e) {
|
|
|
45020
45020
|
return n;
|
|
45021
45021
|
}
|
|
45022
45022
|
const ibe = {
|
|
45023
|
-
D:
|
|
45023
|
+
D: pD,
|
|
45024
45024
|
DD: KK,
|
|
45025
45025
|
DDD: XK,
|
|
45026
45026
|
DDDD: JK,
|
|
@@ -45806,26 +45806,26 @@ function lbe(t, e = {}) {
|
|
|
45806
45806
|
let r = jM[n];
|
|
45807
45807
|
return r || (r = new Intl.ListFormat(t, e), jM[n] = r), r;
|
|
45808
45808
|
}
|
|
45809
|
-
let
|
|
45810
|
-
function
|
|
45809
|
+
let mD = {};
|
|
45810
|
+
function yD(t, e = {}) {
|
|
45811
45811
|
const n = JSON.stringify([t, e]);
|
|
45812
|
-
let r =
|
|
45813
|
-
return r || (r = new Intl.DateTimeFormat(t, e),
|
|
45812
|
+
let r = mD[n];
|
|
45813
|
+
return r || (r = new Intl.DateTimeFormat(t, e), mD[n] = r), r;
|
|
45814
45814
|
}
|
|
45815
|
-
let
|
|
45815
|
+
let ED = {};
|
|
45816
45816
|
function cbe(t, e = {}) {
|
|
45817
45817
|
const n = JSON.stringify([t, e]);
|
|
45818
|
-
let r =
|
|
45819
|
-
return r || (r = new Intl.NumberFormat(t, e),
|
|
45818
|
+
let r = ED[n];
|
|
45819
|
+
return r || (r = new Intl.NumberFormat(t, e), ED[n] = r), r;
|
|
45820
45820
|
}
|
|
45821
|
-
let
|
|
45821
|
+
let vD = {};
|
|
45822
45822
|
function fbe(t, e = {}) {
|
|
45823
45823
|
const {
|
|
45824
45824
|
base: n,
|
|
45825
45825
|
...r
|
|
45826
45826
|
} = e, i = JSON.stringify([t, r]);
|
|
45827
|
-
let s =
|
|
45828
|
-
return s || (s = new Intl.RelativeTimeFormat(t, e),
|
|
45827
|
+
let s = vD[i];
|
|
45828
|
+
return s || (s = new Intl.RelativeTimeFormat(t, e), vD[i] = s), s;
|
|
45829
45829
|
}
|
|
45830
45830
|
let F1 = null;
|
|
45831
45831
|
function xbe() {
|
|
@@ -45839,9 +45839,9 @@ function dbe(t) {
|
|
|
45839
45839
|
let n;
|
|
45840
45840
|
const r = t.substring(0, e);
|
|
45841
45841
|
try {
|
|
45842
|
-
n =
|
|
45842
|
+
n = yD(t).resolvedOptions();
|
|
45843
45843
|
} catch {
|
|
45844
|
-
n =
|
|
45844
|
+
n = yD(r).resolvedOptions();
|
|
45845
45845
|
}
|
|
45846
45846
|
const {
|
|
45847
45847
|
numberingSystem: i,
|
|
@@ -45914,7 +45914,7 @@ class Ebe {
|
|
|
45914
45914
|
const s = {
|
|
45915
45915
|
...this.opts
|
|
45916
45916
|
};
|
|
45917
|
-
i && (s.timeZone = i), this.dtf =
|
|
45917
|
+
i && (s.timeZone = i), this.dtf = yD(n, s);
|
|
45918
45918
|
}
|
|
45919
45919
|
format() {
|
|
45920
45920
|
return this.dtf.format(this.dt.toJSDate());
|
|
@@ -45949,7 +45949,7 @@ class mn {
|
|
|
45949
45949
|
return new mn(o, u, a, s);
|
|
45950
45950
|
}
|
|
45951
45951
|
static resetCache() {
|
|
45952
|
-
F1 = null,
|
|
45952
|
+
F1 = null, mD = {}, ED = {}, vD = {};
|
|
45953
45953
|
}
|
|
45954
45954
|
static fromObject({
|
|
45955
45955
|
locale: e,
|
|
@@ -46144,7 +46144,7 @@ const Lbe = {
|
|
|
46144
46144
|
};
|
|
46145
46145
|
function oF(t, e, n, r, i, s, o) {
|
|
46146
46146
|
const u = {
|
|
46147
|
-
year: e.length === 2 ?
|
|
46147
|
+
year: e.length === 2 ? gD(Ql(e)) : Ql(e),
|
|
46148
46148
|
month: EX.indexOf(n) + 1,
|
|
46149
46149
|
day: Ql(r),
|
|
46150
46150
|
hour: Ql(i),
|
|
@@ -47632,7 +47632,7 @@ function E5e(t, e) {
|
|
|
47632
47632
|
case "y":
|
|
47633
47633
|
return Pt(l);
|
|
47634
47634
|
case "yy":
|
|
47635
|
-
return Pt(f,
|
|
47635
|
+
return Pt(f, gD);
|
|
47636
47636
|
case "yyyy":
|
|
47637
47637
|
return Pt(s);
|
|
47638
47638
|
case "yyyyy":
|
|
@@ -47698,7 +47698,7 @@ function E5e(t, e) {
|
|
|
47698
47698
|
case "kkkk":
|
|
47699
47699
|
return Pt(s);
|
|
47700
47700
|
case "kk":
|
|
47701
|
-
return Pt(f,
|
|
47701
|
+
return Pt(f, gD);
|
|
47702
47702
|
case "W":
|
|
47703
47703
|
return Pt(u);
|
|
47704
47704
|
case "WW":
|
|
@@ -47907,7 +47907,7 @@ function UX(t, e) {
|
|
|
47907
47907
|
day: i
|
|
47908
47908
|
};
|
|
47909
47909
|
}
|
|
47910
|
-
function
|
|
47910
|
+
function AD(t) {
|
|
47911
47911
|
const {
|
|
47912
47912
|
year: e,
|
|
47913
47913
|
month: n,
|
|
@@ -47993,7 +47993,7 @@ function oE(t) {
|
|
|
47993
47993
|
return new Ao("unsupported zone", `the zone "${t.name}" is not supported`);
|
|
47994
47994
|
}
|
|
47995
47995
|
function V6(t) {
|
|
47996
|
-
return t.weekData === null && (t.weekData =
|
|
47996
|
+
return t.weekData === null && (t.weekData = AD(t.c)), t.weekData;
|
|
47997
47997
|
}
|
|
47998
47998
|
function t1(t, e) {
|
|
47999
47999
|
const n = {
|
|
@@ -48370,7 +48370,7 @@ class xt {
|
|
|
48370
48370
|
throw new N1("Can't mix ordinal dates with month/day");
|
|
48371
48371
|
const d = f || o.weekday && !c;
|
|
48372
48372
|
let p, m, g = YM(i, s);
|
|
48373
|
-
d ? (p = L5e, m = N5e, g =
|
|
48373
|
+
d ? (p = L5e, m = N5e, g = AD(g)) : u ? (p = I5e, m = F5e, g = G6(g)) : (p = GX, m = QX);
|
|
48374
48374
|
let y = !1;
|
|
48375
48375
|
for (const C of p) {
|
|
48376
48376
|
const w = o[C];
|
|
@@ -48945,7 +48945,7 @@ class xt {
|
|
|
48945
48945
|
throw new N1("Can't mix ordinal dates with month/day");
|
|
48946
48946
|
let l;
|
|
48947
48947
|
r ? l = GM({
|
|
48948
|
-
...
|
|
48948
|
+
...AD(this.c),
|
|
48949
48949
|
...n
|
|
48950
48950
|
}) : Ct(n.ordinal) ? (l = {
|
|
48951
48951
|
...this.toObject(),
|
|
@@ -49078,7 +49078,7 @@ class xt {
|
|
|
49078
49078
|
* @example DateTime.now().toLocaleString({ hour: '2-digit', minute: '2-digit', hourCycle: 'h23' }); //=> '11:32'
|
|
49079
49079
|
* @return {string}
|
|
49080
49080
|
*/
|
|
49081
|
-
toLocaleString(e =
|
|
49081
|
+
toLocaleString(e = pD, n = {}) {
|
|
49082
49082
|
return this.isValid ? Bi.create(this.loc.clone(n), e).formatDateTime(this) : W6;
|
|
49083
49083
|
}
|
|
49084
49084
|
/**
|
|
@@ -49482,7 +49482,7 @@ class xt {
|
|
|
49482
49482
|
* @type {Object}
|
|
49483
49483
|
*/
|
|
49484
49484
|
static get DATE_SHORT() {
|
|
49485
|
-
return
|
|
49485
|
+
return pD;
|
|
49486
49486
|
}
|
|
49487
49487
|
/**
|
|
49488
49488
|
* {@link DateTime#toLocaleString} format like 'Oct 14, 1983'
|
|
@@ -49655,7 +49655,7 @@ Yi.VERSION = $5e;
|
|
|
49655
49655
|
Yi.Zone = T2;
|
|
49656
49656
|
Object.defineProperty(er, "__esModule", { value: !0 });
|
|
49657
49657
|
er.LiteralYear = er.LiteralQuarter = er.LiteralMonth = er.LiteralWeek = er.LiteralDay = er.LiteralHour = er.LiteralTimestamp = er.TimeFormatError = void 0;
|
|
49658
|
-
const C0 = Yi, k5e = Xe, P5e = Qt, M5e = sc, nj = _2,
|
|
49658
|
+
const C0 = Yi, k5e = Xe, P5e = Qt, M5e = sc, nj = _2, _D = ct;
|
|
49659
49659
|
class j5e extends Error {
|
|
49660
49660
|
}
|
|
49661
49661
|
er.TimeFormatError = j5e;
|
|
@@ -49671,8 +49671,8 @@ function Cx(t, e) {
|
|
|
49671
49671
|
}
|
|
49672
49672
|
return { text: n };
|
|
49673
49673
|
}
|
|
49674
|
-
const WX = "yyyy", VX = `${WX}-LL`, Hs = `${VX}-dd`, YX = `${Hs} HH`, KX = `${YX}:mm`,
|
|
49675
|
-
class XX extends
|
|
49674
|
+
const WX = "yyyy", VX = `${WX}-LL`, Hs = `${VX}-dd`, YX = `${Hs} HH`, KX = `${YX}:mm`, SD = `${KX}:ss`;
|
|
49675
|
+
class XX extends _D.ExpressionDef {
|
|
49676
49676
|
constructor(e, n, r) {
|
|
49677
49677
|
super(), this.units = n, this.timeType = r, this.literalPart = e.text, e.tzSpec && (this.timeZone = e.tzSpec);
|
|
49678
49678
|
}
|
|
@@ -49713,12 +49713,12 @@ class aF extends XX {
|
|
|
49713
49713
|
e = r.text, e[10] === "T" && (e = e.slice(0, 10) + " " + e.slice(11), r.text = e);
|
|
49714
49714
|
const i = e.match(/^([^.,]+)[,.](\d+)$/);
|
|
49715
49715
|
i && (e = i[1]);
|
|
49716
|
-
let s = C0.DateTime.fromFormat(e,
|
|
49716
|
+
let s = C0.DateTime.fromFormat(e, SD);
|
|
49717
49717
|
if (s.isValid)
|
|
49718
49718
|
return new aF(r, n);
|
|
49719
49719
|
if (s = C0.DateTime.fromFormat(e, KX), s.isValid) {
|
|
49720
49720
|
r.text = r.text + ":00", n = "minute";
|
|
49721
|
-
const o = s.plus({ minute: 1 }).toFormat(
|
|
49721
|
+
const o = s.plus({ minute: 1 }).toFormat(SD);
|
|
49722
49722
|
return new lF(r, n, "timestamp", o);
|
|
49723
49723
|
}
|
|
49724
49724
|
}
|
|
@@ -49733,7 +49733,7 @@ class lF extends XX {
|
|
|
49733
49733
|
if (s) {
|
|
49734
49734
|
const o = r.getExpression(e);
|
|
49735
49735
|
if (o.type === "timestamp") {
|
|
49736
|
-
const u = (0,
|
|
49736
|
+
const u = (0, _D.getMorphicValue)(i, "timestamp"), a = (0, _D.getMorphicValue)(s, "timestamp");
|
|
49737
49737
|
if (u && a)
|
|
49738
49738
|
i = u, s = a;
|
|
49739
49739
|
else
|
|
@@ -49756,7 +49756,7 @@ class cF extends lF {
|
|
|
49756
49756
|
let r = n.text;
|
|
49757
49757
|
const i = C0.DateTime.fromFormat(n.text, YX);
|
|
49758
49758
|
if (i.isValid)
|
|
49759
|
-
return n.text = n.text + ":00:00", r = i.plus({ hour: 1 }).toFormat(
|
|
49759
|
+
return n.text = n.text + ":00:00", r = i.plus({ hour: 1 }).toFormat(SD), new cF(n, r);
|
|
49760
49760
|
}
|
|
49761
49761
|
}
|
|
49762
49762
|
er.LiteralHour = cF;
|
|
@@ -50859,7 +50859,7 @@ class cc extends WTe.MalloyElement {
|
|
|
50859
50859
|
super({ expr: e }), this.expr = e, this.defineName = n, this.exprSrc = r, this.isNoteableObj = !0, this.extendNote = VTe.extendNoteMethod;
|
|
50860
50860
|
}
|
|
50861
50861
|
fieldDef(e, n) {
|
|
50862
|
-
return this.queryFieldDef(new
|
|
50862
|
+
return this.queryFieldDef(new bD(e, this), n);
|
|
50863
50863
|
}
|
|
50864
50864
|
executesInOutputSpace() {
|
|
50865
50865
|
return !1;
|
|
@@ -50930,7 +50930,7 @@ class cc extends WTe.MalloyElement {
|
|
|
50930
50930
|
}
|
|
50931
50931
|
return r.expressionType && (u.expressionType = r.expressionType), this.exprSrc && (u.code = this.exprSrc), this.note && (u.annotation = this.note), u;
|
|
50932
50932
|
}
|
|
50933
|
-
if (!(e instanceof
|
|
50933
|
+
if (!(e instanceof bD && e.foundCircle) && r.type !== "error") {
|
|
50934
50934
|
const u = QTe.inspect(r);
|
|
50935
50935
|
this.logError("invalid-type-for-field-definition", `Cannot define '${n}', unexpected type: ${u}`);
|
|
50936
50936
|
}
|
|
@@ -51010,7 +51010,7 @@ class n6e extends cc {
|
|
|
51010
51010
|
}
|
|
51011
51011
|
}
|
|
51012
51012
|
pn.DimensionFieldDeclaration = n6e;
|
|
51013
|
-
class
|
|
51013
|
+
class bD {
|
|
51014
51014
|
constructor(e, n) {
|
|
51015
51015
|
this.realFS = e, this.circular = n, this.type = "fieldSpace", this.foundCircle = !1;
|
|
51016
51016
|
}
|
|
@@ -51055,7 +51055,7 @@ class b7 {
|
|
|
51055
51055
|
throw new Error("Not a query field space");
|
|
51056
51056
|
}
|
|
51057
51057
|
}
|
|
51058
|
-
pn.DefSpace =
|
|
51058
|
+
pn.DefSpace = bD;
|
|
51059
51059
|
class tJ extends YTe.SpaceField {
|
|
51060
51060
|
constructor(e, n) {
|
|
51061
51061
|
super(), this.space = e, this.exprDef = n, this.fieldName = n.defineName;
|
|
@@ -51156,14 +51156,14 @@ m5.ProjectStatement = p6e;
|
|
|
51156
51156
|
var c0 = {}, za = {};
|
|
51157
51157
|
Object.defineProperty(za, "__esModule", { value: !0 });
|
|
51158
51158
|
za.findReferences = za.deprecatedParseTableURI = za.constructTableKey = void 0;
|
|
51159
|
-
const g6e = W0,
|
|
51159
|
+
const g6e = W0, CD = fn;
|
|
51160
51160
|
function rO(t) {
|
|
51161
|
-
const e = (0,
|
|
51161
|
+
const e = (0, CD.getStringIfShort)(t);
|
|
51162
51162
|
if (e)
|
|
51163
51163
|
return e;
|
|
51164
51164
|
const n = [], r = t.string().sqlString();
|
|
51165
51165
|
if (r) {
|
|
51166
|
-
for (const i of (0,
|
|
51166
|
+
for (const i of (0, CD.getStringParts)(r))
|
|
51167
51167
|
typeof i == "string" && n.push(i);
|
|
51168
51168
|
return n.join("");
|
|
51169
51169
|
}
|
|
@@ -51182,7 +51182,7 @@ class m6e {
|
|
|
51182
51182
|
});
|
|
51183
51183
|
}
|
|
51184
51184
|
enterTableMethod(e) {
|
|
51185
|
-
const n = (0,
|
|
51185
|
+
const n = (0, CD.getId)(e.connectionId()), r = rO(e.tablePath()), i = this.trans.rangeFromContext(e);
|
|
51186
51186
|
this.registerTableReference(n, r, i);
|
|
51187
51187
|
}
|
|
51188
51188
|
enterTableFunction(e) {
|
|
@@ -52907,7 +52907,7 @@ var IOe = T && T.__createBinding || (Object.create ? function(t, e, n, r) {
|
|
|
52907
52907
|
};
|
|
52908
52908
|
Object.defineProperty(pu, "__esModule", { value: !0 });
|
|
52909
52909
|
pu.MalloyParserErrorHandler = pu.MalloyTranslator = pu.MalloyChildTranslator = pu.MalloyTranslation = void 0;
|
|
52910
|
-
const Cj = w4, kOe = Xe, POe = j4, MOe = L, aJ = BOe(ub), jOe = T5,
|
|
52910
|
+
const Cj = w4, kOe = Xe, POe = j4, MOe = L, aJ = BOe(ub), jOe = T5, TD = ab, UOe = za, uO = O5, qOe = R5, zOe = D5, HOe = w5, QOe = N5, SA = F5, GOe = Xa, lJ = Hu, WOe = L5, VOe = I5;
|
|
52911
52911
|
class YOe extends POe.MalloyLexer {
|
|
52912
52912
|
popMode() {
|
|
52913
52913
|
return this._modeStack.isEmpty ? this._mode : super.popMode();
|
|
@@ -53432,14 +53432,14 @@ class cJ extends yF {
|
|
|
53432
53432
|
pu.MalloyChildTranslator = cJ;
|
|
53433
53433
|
class sRe extends yF {
|
|
53434
53434
|
constructor(e, n = null, r = null, i = null) {
|
|
53435
|
-
super(e, n), this.eventStream = i, this.schemaZone = new uO.Zone(), this.importZone = new uO.Zone(), this.sqlQueryZone = new uO.Zone(), this.root = this, this.logger = new
|
|
53435
|
+
super(e, n), this.eventStream = i, this.schemaZone = new uO.Zone(), this.importZone = new uO.Zone(), this.sqlQueryZone = new uO.Zone(), this.root = this, this.logger = new TD.BaseMessageLogger(i), r && this.update(r);
|
|
53436
53436
|
}
|
|
53437
53437
|
update(e) {
|
|
53438
53438
|
var n, r, i;
|
|
53439
53439
|
this.schemaZone.updateFrom(e.tables, (n = e.errors) === null || n === void 0 ? void 0 : n.tables), this.importZone.updateFrom(e.urls, (r = e.errors) === null || r === void 0 ? void 0 : r.urls), this.sqlQueryZone.updateFrom(e.compileSQL, (i = e.errors) === null || i === void 0 ? void 0 : i.compileSQL);
|
|
53440
53440
|
}
|
|
53441
53441
|
logError(e, n, r) {
|
|
53442
|
-
return this.logger.log((0,
|
|
53442
|
+
return this.logger.log((0, TD.makeLogMessage)(e, n, { severity: "error", ...r })), e;
|
|
53443
53443
|
}
|
|
53444
53444
|
}
|
|
53445
53445
|
pu.MalloyTranslator = sRe;
|
|
@@ -53448,7 +53448,7 @@ class fJ {
|
|
|
53448
53448
|
this.translator = e, this.messages = n;
|
|
53449
53449
|
}
|
|
53450
53450
|
logError(e, n, r) {
|
|
53451
|
-
return this.messages.log((0,
|
|
53451
|
+
return this.messages.log((0, TD.makeLogMessage)(e, n, { severity: "error", ...r })), e;
|
|
53452
53452
|
}
|
|
53453
53453
|
syntaxError(e, n, r, i, s, o) {
|
|
53454
53454
|
const u = { line: r - 1, character: i }, a = n ? this.translator.rangeFromToken(n) : { start: u, end: u };
|
|
@@ -53982,11 +53982,11 @@ class fh {
|
|
|
53982
53982
|
* Construct a DocumentRange from JSON.
|
|
53983
53983
|
*/
|
|
53984
53984
|
static fromJSON(e) {
|
|
53985
|
-
return new fh(new
|
|
53985
|
+
return new fh(new OD(e.start.line, e.start.character), new OD(e.end.line, e.end.character));
|
|
53986
53986
|
}
|
|
53987
53987
|
}
|
|
53988
53988
|
Ne.DocumentRange = fh;
|
|
53989
|
-
class
|
|
53989
|
+
class OD {
|
|
53990
53990
|
constructor(e, n) {
|
|
53991
53991
|
this._line = e, this._character = n;
|
|
53992
53992
|
}
|
|
@@ -54009,7 +54009,7 @@ class O7 {
|
|
|
54009
54009
|
return { line: this.line, character: this.character };
|
|
54010
54010
|
}
|
|
54011
54011
|
}
|
|
54012
|
-
Ne.DocumentPosition =
|
|
54012
|
+
Ne.DocumentPosition = OD;
|
|
54013
54013
|
class B5 {
|
|
54014
54014
|
constructor(e) {
|
|
54015
54015
|
this._range = fh.fromJSON(e.range), this._lensRange = e.lensRange ? fh.fromJSON(e.lensRange) : void 0, this._type = e.type, this._name = e.name, this._children = e.children.map((n) => new B5(n));
|
|
@@ -54295,7 +54295,7 @@ class fs extends EF {
|
|
|
54295
54295
|
this._fieldMap = new Map(this.structDef.fields.map((r) => {
|
|
54296
54296
|
const i = r.as || r.name, s = n.get(r.name);
|
|
54297
54297
|
if ((0, yr.isJoined)(r))
|
|
54298
|
-
return [i, new
|
|
54298
|
+
return [i, new RD(r, this, s)];
|
|
54299
54299
|
if (r.type === "turtle")
|
|
54300
54300
|
return [i, new TF(r, this, s)];
|
|
54301
54301
|
if (r.type === "string")
|
|
@@ -54368,7 +54368,7 @@ class fs extends EF {
|
|
|
54368
54368
|
return this._parentExplore;
|
|
54369
54369
|
}
|
|
54370
54370
|
hasParentExplore() {
|
|
54371
|
-
return this instanceof
|
|
54371
|
+
return this instanceof RD;
|
|
54372
54372
|
}
|
|
54373
54373
|
// TODO wrapper type for FilterCondition
|
|
54374
54374
|
get filters() {
|
|
@@ -54672,7 +54672,7 @@ var Ad;
|
|
|
54672
54672
|
(function(t) {
|
|
54673
54673
|
t.OneToOne = "one_to_one", t.OneToMany = "one_to_many", t.ManyToOne = "many_to_one";
|
|
54674
54674
|
})(Ad || (Ne.JoinRelationship = Ad = {}));
|
|
54675
|
-
class
|
|
54675
|
+
class RD extends fs {
|
|
54676
54676
|
constructor(e, n, r) {
|
|
54677
54677
|
super(e, n, r), this._parentExplore = n;
|
|
54678
54678
|
}
|
|
@@ -54713,7 +54713,7 @@ class R7 extends fs {
|
|
|
54713
54713
|
return e ? [e] : [];
|
|
54714
54714
|
}
|
|
54715
54715
|
}
|
|
54716
|
-
Ne.ExploreField =
|
|
54716
|
+
Ne.ExploreField = RD;
|
|
54717
54717
|
class OF {
|
|
54718
54718
|
constructor(...e) {
|
|
54719
54719
|
this.isTestRuntime = !1;
|
|
@@ -57238,105 +57238,105 @@ function VRe(t) {
|
|
|
57238
57238
|
return WRe.call(t);
|
|
57239
57239
|
}
|
|
57240
57240
|
var YRe = VRe, Dj = wF, KRe = QRe, XRe = YRe, JRe = "[object Null]", ZRe = "[object Undefined]", wj = Dj ? Dj.toStringTag : void 0;
|
|
57241
|
-
function
|
|
57241
|
+
function eDe(t) {
|
|
57242
57242
|
return t == null ? t === void 0 ? ZRe : JRe : wj && wj in Object(t) ? KRe(t) : XRe(t);
|
|
57243
57243
|
}
|
|
57244
|
-
var
|
|
57245
|
-
function
|
|
57244
|
+
var tDe = eDe;
|
|
57245
|
+
function nDe(t) {
|
|
57246
57246
|
return t != null && typeof t == "object";
|
|
57247
57247
|
}
|
|
57248
|
-
var
|
|
57249
|
-
function
|
|
57250
|
-
return typeof t == "symbol" ||
|
|
57248
|
+
var rDe = nDe, iDe = tDe, sDe = rDe, oDe = "[object Symbol]";
|
|
57249
|
+
function uDe(t) {
|
|
57250
|
+
return typeof t == "symbol" || sDe(t) && iDe(t) == oDe;
|
|
57251
57251
|
}
|
|
57252
|
-
var
|
|
57252
|
+
var aDe = uDe, Nj = wF, lDe = MRe, cDe = URe, fDe = aDe, xDe = 1 / 0, Fj = Nj ? Nj.prototype : void 0, Lj = Fj ? Fj.toString : void 0;
|
|
57253
57253
|
function PJ(t) {
|
|
57254
57254
|
if (typeof t == "string")
|
|
57255
57255
|
return t;
|
|
57256
|
-
if (
|
|
57257
|
-
return
|
|
57258
|
-
if (
|
|
57256
|
+
if (cDe(t))
|
|
57257
|
+
return lDe(t, PJ) + "";
|
|
57258
|
+
if (fDe(t))
|
|
57259
57259
|
return Lj ? Lj.call(t) : "";
|
|
57260
57260
|
var e = t + "";
|
|
57261
|
-
return e == "0" && 1 / t == -
|
|
57261
|
+
return e == "0" && 1 / t == -xDe ? "-0" : e;
|
|
57262
57262
|
}
|
|
57263
|
-
var
|
|
57264
|
-
function
|
|
57265
|
-
return t == null ? "" :
|
|
57263
|
+
var dDe = PJ, hDe = dDe;
|
|
57264
|
+
function pDe(t) {
|
|
57265
|
+
return t == null ? "" : hDe(t);
|
|
57266
57266
|
}
|
|
57267
|
-
var NF =
|
|
57268
|
-
function
|
|
57269
|
-
return t =
|
|
57267
|
+
var NF = pDe, gDe = DRe, mDe = NF, yDe = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, EDe = "\\u0300-\\u036f", vDe = "\\ufe20-\\ufe2f", ADe = "\\u20d0-\\u20ff", _De = EDe + vDe + ADe, SDe = "[" + _De + "]", bDe = RegExp(SDe, "g");
|
|
57268
|
+
function CDe(t) {
|
|
57269
|
+
return t = mDe(t), t && t.replace(yDe, gDe).replace(bDe, "");
|
|
57270
57270
|
}
|
|
57271
|
-
var
|
|
57272
|
-
function
|
|
57273
|
-
return t.match(
|
|
57271
|
+
var TDe = CDe, ODe = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
57272
|
+
function RDe(t) {
|
|
57273
|
+
return t.match(ODe) || [];
|
|
57274
57274
|
}
|
|
57275
|
-
var
|
|
57276
|
-
function
|
|
57277
|
-
return
|
|
57275
|
+
var DDe = RDe, wDe = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
57276
|
+
function NDe(t) {
|
|
57277
|
+
return wDe.test(t);
|
|
57278
57278
|
}
|
|
57279
|
-
var
|
|
57279
|
+
var FDe = NDe, MJ = "\\ud800-\\udfff", LDe = "\\u0300-\\u036f", IDe = "\\ufe20-\\ufe2f", $De = "\\u20d0-\\u20ff", BDe = LDe + IDe + $De, jJ = "\\u2700-\\u27bf", UJ = "a-z\\xdf-\\xf6\\xf8-\\xff", kDe = "\\xac\\xb1\\xd7\\xf7", PDe = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", MDe = "\\u2000-\\u206f", jDe = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", qJ = "A-Z\\xc0-\\xd6\\xd8-\\xde", UDe = "\\ufe0e\\ufe0f", zJ = kDe + PDe + MDe + jDe, HJ = "['’]", Ij = "[" + zJ + "]", qDe = "[" + BDe + "]", QJ = "\\d+", zDe = "[" + jJ + "]", GJ = "[" + UJ + "]", WJ = "[^" + MJ + zJ + QJ + jJ + UJ + qJ + "]", HDe = "\\ud83c[\\udffb-\\udfff]", QDe = "(?:" + qDe + "|" + HDe + ")", GDe = "[^" + MJ + "]", VJ = "(?:\\ud83c[\\udde6-\\uddff]){2}", YJ = "[\\ud800-\\udbff][\\udc00-\\udfff]", hd = "[" + qJ + "]", WDe = "\\u200d", $j = "(?:" + GJ + "|" + WJ + ")", VDe = "(?:" + hd + "|" + WJ + ")", Bj = "(?:" + HJ + "(?:d|ll|m|re|s|t|ve))?", kj = "(?:" + HJ + "(?:D|LL|M|RE|S|T|VE))?", KJ = QDe + "?", XJ = "[" + UDe + "]?", YDe = "(?:" + WDe + "(?:" + [GDe, VJ, YJ].join("|") + ")" + XJ + KJ + ")*", KDe = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", XDe = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", JDe = XJ + KJ + YDe, ZDe = "(?:" + [zDe, VJ, YJ].join("|") + ")" + JDe, e7e = RegExp([
|
|
57280
57280
|
hd + "?" + GJ + "+" + Bj + "(?=" + [Ij, hd, "$"].join("|") + ")",
|
|
57281
|
-
|
|
57281
|
+
VDe + "+" + kj + "(?=" + [Ij, hd + $j, "$"].join("|") + ")",
|
|
57282
57282
|
hd + "?" + $j + "+" + Bj,
|
|
57283
57283
|
hd + "+" + kj,
|
|
57284
|
-
|
|
57285
|
-
|
|
57284
|
+
XDe,
|
|
57285
|
+
KDe,
|
|
57286
57286
|
QJ,
|
|
57287
|
-
|
|
57287
|
+
ZDe
|
|
57288
57288
|
].join("|"), "g");
|
|
57289
|
-
function
|
|
57290
|
-
return t.match(
|
|
57289
|
+
function t7e(t) {
|
|
57290
|
+
return t.match(e7e) || [];
|
|
57291
57291
|
}
|
|
57292
|
-
var
|
|
57293
|
-
function
|
|
57294
|
-
return t =
|
|
57292
|
+
var n7e = t7e, r7e = DDe, i7e = FDe, s7e = NF, o7e = n7e;
|
|
57293
|
+
function u7e(t, e, n) {
|
|
57294
|
+
return t = s7e(t), e = n ? void 0 : e, e === void 0 ? i7e(t) ? o7e(t) : r7e(t) : t.match(e) || [];
|
|
57295
57295
|
}
|
|
57296
|
-
var
|
|
57297
|
-
function
|
|
57296
|
+
var a7e = u7e, l7e = SRe, c7e = TDe, f7e = a7e, x7e = "['’]", d7e = RegExp(x7e, "g");
|
|
57297
|
+
function h7e(t) {
|
|
57298
57298
|
return function(e) {
|
|
57299
|
-
return
|
|
57299
|
+
return l7e(f7e(c7e(e).replace(d7e, "")), t, "");
|
|
57300
57300
|
};
|
|
57301
57301
|
}
|
|
57302
|
-
var
|
|
57303
|
-
function
|
|
57302
|
+
var p7e = h7e;
|
|
57303
|
+
function g7e(t, e, n) {
|
|
57304
57304
|
var r = -1, i = t.length;
|
|
57305
57305
|
e < 0 && (e = -e > i ? 0 : i + e), n = n > i ? i : n, n < 0 && (n += i), i = e > n ? 0 : n - e >>> 0, e >>>= 0;
|
|
57306
57306
|
for (var s = Array(i); ++r < i; )
|
|
57307
57307
|
s[r] = t[r + e];
|
|
57308
57308
|
return s;
|
|
57309
57309
|
}
|
|
57310
|
-
var
|
|
57311
|
-
function
|
|
57310
|
+
var m7e = g7e, y7e = m7e;
|
|
57311
|
+
function E7e(t, e, n) {
|
|
57312
57312
|
var r = t.length;
|
|
57313
|
-
return n = n === void 0 ? r : n, !e && n >= r ? t :
|
|
57313
|
+
return n = n === void 0 ? r : n, !e && n >= r ? t : y7e(t, e, n);
|
|
57314
57314
|
}
|
|
57315
|
-
var
|
|
57316
|
-
function
|
|
57317
|
-
return
|
|
57315
|
+
var v7e = E7e, A7e = "\\ud800-\\udfff", _7e = "\\u0300-\\u036f", S7e = "\\ufe20-\\ufe2f", b7e = "\\u20d0-\\u20ff", C7e = _7e + S7e + b7e, T7e = "\\ufe0e\\ufe0f", O7e = "\\u200d", R7e = RegExp("[" + O7e + A7e + C7e + T7e + "]");
|
|
57316
|
+
function D7e(t) {
|
|
57317
|
+
return R7e.test(t);
|
|
57318
57318
|
}
|
|
57319
|
-
var JJ =
|
|
57320
|
-
function
|
|
57319
|
+
var JJ = D7e;
|
|
57320
|
+
function w7e(t) {
|
|
57321
57321
|
return t.split("");
|
|
57322
57322
|
}
|
|
57323
|
-
var
|
|
57324
|
-
function
|
|
57325
|
-
return t.match(
|
|
57323
|
+
var N7e = w7e, ZJ = "\\ud800-\\udfff", F7e = "\\u0300-\\u036f", L7e = "\\ufe20-\\ufe2f", I7e = "\\u20d0-\\u20ff", $7e = F7e + L7e + I7e, B7e = "\\ufe0e\\ufe0f", k7e = "[" + ZJ + "]", DD = "[" + $7e + "]", wD = "\\ud83c[\\udffb-\\udfff]", P7e = "(?:" + DD + "|" + wD + ")", eZ = "[^" + ZJ + "]", tZ = "(?:\\ud83c[\\udde6-\\uddff]){2}", nZ = "[\\ud800-\\udbff][\\udc00-\\udfff]", M7e = "\\u200d", rZ = P7e + "?", iZ = "[" + B7e + "]?", j7e = "(?:" + M7e + "(?:" + [eZ, tZ, nZ].join("|") + ")" + iZ + rZ + ")*", U7e = iZ + rZ + j7e, q7e = "(?:" + [eZ + DD + "?", DD, tZ, nZ, k7e].join("|") + ")", z7e = RegExp(wD + "(?=" + wD + ")|" + q7e + U7e, "g");
|
|
57324
|
+
function H7e(t) {
|
|
57325
|
+
return t.match(z7e) || [];
|
|
57326
57326
|
}
|
|
57327
|
-
var
|
|
57328
|
-
function
|
|
57329
|
-
return
|
|
57327
|
+
var Q7e = H7e, G7e = N7e, W7e = JJ, V7e = Q7e;
|
|
57328
|
+
function Y7e(t) {
|
|
57329
|
+
return W7e(t) ? V7e(t) : G7e(t);
|
|
57330
57330
|
}
|
|
57331
|
-
var
|
|
57331
|
+
var K7e = Y7e, X7e = v7e, J7e = JJ, Z7e = K7e, ewe = NF;
|
|
57332
57332
|
function twe(t) {
|
|
57333
57333
|
return function(e) {
|
|
57334
57334
|
e = ewe(e);
|
|
57335
|
-
var n =
|
|
57335
|
+
var n = J7e(e) ? Z7e(e) : void 0, r = n ? n[0] : e.charAt(0), i = n ? X7e(n, 1).join("") : e.slice(1);
|
|
57336
57336
|
return r[t]() + i;
|
|
57337
57337
|
};
|
|
57338
57338
|
}
|
|
57339
|
-
var nwe = twe, rwe = nwe, iwe = rwe("toUpperCase"), swe = iwe, owe =
|
|
57339
|
+
var nwe = twe, rwe = nwe, iwe = rwe("toUpperCase"), swe = iwe, owe = p7e, uwe = swe, awe = owe(function(t, e, n) {
|
|
57340
57340
|
return t + (n ? " " : "") + uwe(e);
|
|
57341
57341
|
}), lwe = awe;
|
|
57342
57342
|
const cwe = /* @__PURE__ */ mS(lwe);
|
|
@@ -57749,7 +57749,7 @@ function mZ(t, e, n) {
|
|
|
57749
57749
|
const r = Math.sign(t[0]);
|
|
57750
57750
|
return z5(t, e, n, dZ(r), xZ(r));
|
|
57751
57751
|
}
|
|
57752
|
-
function
|
|
57752
|
+
function ND(t, e, n, r) {
|
|
57753
57753
|
return z5(t, e, n, TA(r), TA(1 / r));
|
|
57754
57754
|
}
|
|
57755
57755
|
function yZ(t, e, n, r) {
|
|
@@ -58424,10 +58424,10 @@ class Qj extends Map {
|
|
|
58424
58424
|
this.set(r, i);
|
|
58425
58425
|
}
|
|
58426
58426
|
get(e) {
|
|
58427
|
-
return super.get(
|
|
58427
|
+
return super.get(FD(this, e));
|
|
58428
58428
|
}
|
|
58429
58429
|
has(e) {
|
|
58430
|
-
return super.has(
|
|
58430
|
+
return super.has(FD(this, e));
|
|
58431
58431
|
}
|
|
58432
58432
|
set(e, n) {
|
|
58433
58433
|
return super.set(DZ(this, e), n);
|
|
@@ -58443,7 +58443,7 @@ class OA extends Set {
|
|
|
58443
58443
|
this.add(r);
|
|
58444
58444
|
}
|
|
58445
58445
|
has(e) {
|
|
58446
|
-
return super.has(
|
|
58446
|
+
return super.has(FD(this, e));
|
|
58447
58447
|
}
|
|
58448
58448
|
add(e) {
|
|
58449
58449
|
return super.add(DZ(this, e));
|
|
@@ -58452,7 +58452,7 @@ class OA extends Set {
|
|
|
58452
58452
|
return super.delete(wZ(this, e));
|
|
58453
58453
|
}
|
|
58454
58454
|
}
|
|
58455
|
-
function
|
|
58455
|
+
function FD({ _intern: t, _key: e }, n) {
|
|
58456
58456
|
const r = e(n);
|
|
58457
58457
|
return t.has(r) ? t.get(r) : n;
|
|
58458
58458
|
}
|
|
@@ -58489,7 +58489,7 @@ function RA(t, e, n) {
|
|
|
58489
58489
|
let u, a, l;
|
|
58490
58490
|
return i < 0 ? (l = Math.pow(10, -i) / o, u = Math.round(t * l), a = Math.round(e * l), u / l < t && ++u, a / l > e && --a, l = -l) : (l = Math.pow(10, i) * o, u = Math.round(t / l), a = Math.round(e / l), u * l < t && ++u, a * l > e && --a), a < u && 0.5 <= n && n < 2 ? RA(t, e, n * 2) : [u, a, l];
|
|
58491
58491
|
}
|
|
58492
|
-
function
|
|
58492
|
+
function LD(t, e, n) {
|
|
58493
58493
|
if (e = +e, t = +t, n = +n, !(n > 0))
|
|
58494
58494
|
return [];
|
|
58495
58495
|
if (t === e)
|
|
@@ -58513,12 +58513,12 @@ function L7(t, e, n) {
|
|
|
58513
58513
|
a[l] = (i + l) * o;
|
|
58514
58514
|
return a;
|
|
58515
58515
|
}
|
|
58516
|
-
function
|
|
58516
|
+
function ID(t, e, n) {
|
|
58517
58517
|
return e = +e, t = +t, n = +n, RA(t, e, n)[2];
|
|
58518
58518
|
}
|
|
58519
58519
|
function R0(t, e, n) {
|
|
58520
58520
|
e = +e, t = +t, n = +n;
|
|
58521
|
-
const r = e < t, i = r ?
|
|
58521
|
+
const r = e < t, i = r ? ID(e, t, n) : ID(t, e, n);
|
|
58522
58522
|
return (r ? -1 : 1) * (i < 0 ? 1 / -i : i);
|
|
58523
58523
|
}
|
|
58524
58524
|
function af(t, e) {
|
|
@@ -58533,7 +58533,7 @@ function af(t, e) {
|
|
|
58533
58533
|
}
|
|
58534
58534
|
return n;
|
|
58535
58535
|
}
|
|
58536
|
-
function $
|
|
58536
|
+
function $D(t, e) {
|
|
58537
58537
|
let n;
|
|
58538
58538
|
if (e === void 0)
|
|
58539
58539
|
for (const r of t)
|
|
@@ -58569,13 +58569,13 @@ function o1(t, e, n) {
|
|
|
58569
58569
|
const r = t[e];
|
|
58570
58570
|
t[e] = t[n], t[n] = r;
|
|
58571
58571
|
}
|
|
58572
|
-
function
|
|
58572
|
+
function BD(t, e, n) {
|
|
58573
58573
|
if (t = Float64Array.from(f8e(t, n)), !(!(r = t.length) || isNaN(e = +e))) {
|
|
58574
58574
|
if (e <= 0 || r < 2)
|
|
58575
|
-
return $
|
|
58575
|
+
return $D(t);
|
|
58576
58576
|
if (e >= 1)
|
|
58577
58577
|
return af(t);
|
|
58578
|
-
var r, i = (r - 1) * e, s = Math.floor(i), o = af(LZ(t, s).subarray(0, s + 1)), u = $
|
|
58578
|
+
var r, i = (r - 1) * e, s = Math.floor(i), o = af(LZ(t, s).subarray(0, s + 1)), u = $D(t.subarray(s + 1));
|
|
58579
58579
|
return o + (u - o) * (i - s);
|
|
58580
58580
|
}
|
|
58581
58581
|
}
|
|
@@ -58603,7 +58603,7 @@ function v8e(t, e) {
|
|
|
58603
58603
|
return r / n;
|
|
58604
58604
|
}
|
|
58605
58605
|
function $Z(t, e) {
|
|
58606
|
-
return
|
|
58606
|
+
return BD(t, 0.5, e);
|
|
58607
58607
|
}
|
|
58608
58608
|
function* A8e(t) {
|
|
58609
58609
|
for (const e of t)
|
|
@@ -59040,15 +59040,15 @@ function z8e(t) {
|
|
|
59040
59040
|
return WZ(new Date(t));
|
|
59041
59041
|
}
|
|
59042
59042
|
function H8e(t) {
|
|
59043
|
-
return
|
|
59043
|
+
return kD(new Date(t));
|
|
59044
59044
|
}
|
|
59045
59045
|
function WZ(t) {
|
|
59046
59046
|
return Qa.count(kF(t.getFullYear()) - 1, t);
|
|
59047
59047
|
}
|
|
59048
|
-
function
|
|
59048
|
+
function kD(t) {
|
|
59049
59049
|
return F2.count(kF(t.getFullYear()) - 1, t);
|
|
59050
59050
|
}
|
|
59051
|
-
function
|
|
59051
|
+
function PD(t) {
|
|
59052
59052
|
return kF(t).getDay();
|
|
59053
59053
|
}
|
|
59054
59054
|
function Q8e(t, e, n, r, i, s, o) {
|
|
@@ -59062,17 +59062,17 @@ function G8e(t) {
|
|
|
59062
59062
|
return VZ(new Date(t));
|
|
59063
59063
|
}
|
|
59064
59064
|
function W8e(t) {
|
|
59065
|
-
return
|
|
59065
|
+
return MD(new Date(t));
|
|
59066
59066
|
}
|
|
59067
59067
|
function VZ(t) {
|
|
59068
59068
|
const e = Date.UTC(t.getUTCFullYear(), 0, 1);
|
|
59069
59069
|
return f0.count(e - 1, t);
|
|
59070
59070
|
}
|
|
59071
|
-
function
|
|
59071
|
+
function MD(t) {
|
|
59072
59072
|
const e = Date.UTC(t.getUTCFullYear(), 0, 1);
|
|
59073
59073
|
return L2.count(e - 1, t);
|
|
59074
59074
|
}
|
|
59075
|
-
function
|
|
59075
|
+
function jD(t) {
|
|
59076
59076
|
return Qc.setTime(Date.UTC(t, 0, 1)), Qc.getUTCDay();
|
|
59077
59077
|
}
|
|
59078
59078
|
function V8e(t, e, n, r, i, s, o) {
|
|
@@ -59107,12 +59107,12 @@ const K8e = {
|
|
|
59107
59107
|
[Lo]: (t) => t.getSeconds(),
|
|
59108
59108
|
[Bu]: (t) => t.getMilliseconds(),
|
|
59109
59109
|
[ol]: (t) => WZ(t),
|
|
59110
|
-
[nr]: (t) =>
|
|
59111
|
-
[nr + oi]: (t, e) => mh(
|
|
59112
|
-
[oi]: (t, e) => mh(1, t.getDay(),
|
|
59110
|
+
[nr]: (t) => kD(t),
|
|
59111
|
+
[nr + oi]: (t, e) => mh(kD(t), t.getDay(), PD(e)),
|
|
59112
|
+
[oi]: (t, e) => mh(1, t.getDay(), PD(e))
|
|
59113
59113
|
}, X8e = {
|
|
59114
59114
|
[ms]: (t) => 3 * t,
|
|
59115
|
-
[nr]: (t, e) => mh(t, 0,
|
|
59115
|
+
[nr]: (t, e) => mh(t, 0, PD(e))
|
|
59116
59116
|
};
|
|
59117
59117
|
function J8e(t, e) {
|
|
59118
59118
|
return YZ(t, e || 1, K8e, X8e, Q8e);
|
|
@@ -59127,12 +59127,12 @@ const Z8e = {
|
|
|
59127
59127
|
[Lo]: (t) => t.getUTCSeconds(),
|
|
59128
59128
|
[Bu]: (t) => t.getUTCMilliseconds(),
|
|
59129
59129
|
[ol]: (t) => VZ(t),
|
|
59130
|
-
[nr]: (t) =>
|
|
59131
|
-
[oi]: (t, e) => mh(1, t.getUTCDay(),
|
|
59132
|
-
[nr + oi]: (t, e) => mh(
|
|
59130
|
+
[nr]: (t) => MD(t),
|
|
59131
|
+
[oi]: (t, e) => mh(1, t.getUTCDay(), jD(e)),
|
|
59132
|
+
[nr + oi]: (t, e) => mh(MD(t), t.getUTCDay(), jD(e))
|
|
59133
59133
|
}, eNe = {
|
|
59134
59134
|
[ms]: (t) => 3 * t,
|
|
59135
|
-
[nr]: (t, e) => mh(t, 0,
|
|
59135
|
+
[nr]: (t, e) => mh(t, 0, jD(e))
|
|
59136
59136
|
};
|
|
59137
59137
|
function tNe(t, e) {
|
|
59138
59138
|
return YZ(t, e || 1, Z8e, eNe, V8e);
|
|
@@ -59186,11 +59186,11 @@ function oNe(t, e, n, r) {
|
|
|
59186
59186
|
function uNe(t, e, n, r) {
|
|
59187
59187
|
return XZ(K3(t), e, n, r);
|
|
59188
59188
|
}
|
|
59189
|
-
const $1 = 1e3, B1 = $1 * 60, k1 = B1 * 60, K5 = k1 * 24, aNe = K5 * 7, Jj = K5 * 30,
|
|
59189
|
+
const $1 = 1e3, B1 = $1 * 60, k1 = B1 * 60, K5 = k1 * 24, aNe = K5 * 7, Jj = K5 * 30, UD = K5 * 365, JZ = [zr, xi, ys, Ys, Ks, Lo, Bu], P1 = JZ.slice(0, -1), M1 = P1.slice(0, -1), j1 = M1.slice(0, -1), lNe = j1.slice(0, -1), cNe = [zr, nr], Zj = [zr, xi], ZZ = [zr], u1 = [[P1, 1, $1], [P1, 5, 5 * $1], [P1, 15, 15 * $1], [P1, 30, 30 * $1], [M1, 1, B1], [M1, 5, 5 * B1], [M1, 15, 15 * B1], [M1, 30, 30 * B1], [j1, 1, k1], [j1, 3, 3 * k1], [j1, 6, 6 * k1], [j1, 12, 12 * k1], [lNe, 1, K5], [cNe, 1, aNe], [Zj, 1, Jj], [Zj, 3, 3 * Jj], [ZZ, 1, UD]];
|
|
59190
59190
|
function fNe(t) {
|
|
59191
59191
|
const e = t.extent, n = t.maxbins || 40, r = Math.abs(H5(e)) / n;
|
|
59192
59192
|
let i = V3((u) => u[2]).right(u1, r), s, o;
|
|
59193
|
-
return i === u1.length ? (s = ZZ, o = R0(e[0] /
|
|
59193
|
+
return i === u1.length ? (s = ZZ, o = R0(e[0] / UD, e[1] / UD, n)) : i ? (i = u1[r / u1[i - 1][2] < u1[i][2] / r ? i - 1 : i], s = i[0], o = i[1]) : (s = JZ, o = Math.max(R0(e[0], e[1], n), 1)), {
|
|
59194
59194
|
units: s,
|
|
59195
59195
|
step: o
|
|
59196
59196
|
};
|
|
@@ -59766,10 +59766,10 @@ function uee(t) {
|
|
|
59766
59766
|
}
|
|
59767
59767
|
};
|
|
59768
59768
|
}
|
|
59769
|
-
let
|
|
59769
|
+
let qD;
|
|
59770
59770
|
hFe();
|
|
59771
59771
|
function hFe() {
|
|
59772
|
-
return
|
|
59772
|
+
return qD = uee({
|
|
59773
59773
|
format: Q5,
|
|
59774
59774
|
formatPrefix: $F
|
|
59775
59775
|
});
|
|
@@ -59777,8 +59777,8 @@ function hFe() {
|
|
|
59777
59777
|
function aee(t) {
|
|
59778
59778
|
return uee(MZ(t));
|
|
59779
59779
|
}
|
|
59780
|
-
function
|
|
59781
|
-
return arguments.length ?
|
|
59780
|
+
function zD(t) {
|
|
59781
|
+
return arguments.length ? qD = aee(t) : qD;
|
|
59782
59782
|
}
|
|
59783
59783
|
function cU(t, e, n) {
|
|
59784
59784
|
n = n || {}, Qe(n) || Ae(`Invalid time multi-format specifier: ${n}`);
|
|
@@ -59794,10 +59794,10 @@ function lee(t) {
|
|
|
59794
59794
|
utcParse: U1(t.utcParse)
|
|
59795
59795
|
};
|
|
59796
59796
|
}
|
|
59797
|
-
let
|
|
59797
|
+
let HD;
|
|
59798
59798
|
pFe();
|
|
59799
59799
|
function pFe() {
|
|
59800
|
-
return
|
|
59800
|
+
return HD = lee({
|
|
59801
59801
|
format: PF,
|
|
59802
59802
|
parse: see,
|
|
59803
59803
|
utcFormat: MF,
|
|
@@ -59808,16 +59808,16 @@ function cee(t) {
|
|
|
59808
59808
|
return lee(eee(t));
|
|
59809
59809
|
}
|
|
59810
59810
|
function FA(t) {
|
|
59811
|
-
return arguments.length ?
|
|
59811
|
+
return arguments.length ? HD = cee(t) : HD;
|
|
59812
59812
|
}
|
|
59813
|
-
const
|
|
59813
|
+
const QD = (t, e) => ht({}, t, e);
|
|
59814
59814
|
function fee(t, e) {
|
|
59815
|
-
const n = t ? aee(t) :
|
|
59816
|
-
return
|
|
59815
|
+
const n = t ? aee(t) : zD(), r = e ? cee(e) : FA();
|
|
59816
|
+
return QD(n, r);
|
|
59817
59817
|
}
|
|
59818
59818
|
function gFe(t, e) {
|
|
59819
59819
|
const n = arguments.length;
|
|
59820
|
-
return n && n !== 2 && Ae("defaultLocale expects either zero or two arguments."), n ?
|
|
59820
|
+
return n && n !== 2 && Ae("defaultLocale expects either zero or two arguments."), n ? QD(zD(t), FA(e)) : QD(zD(), FA());
|
|
59821
59821
|
}
|
|
59822
59822
|
const mFe = /^(data:|([A-Za-z]+:)?\/\/)/, yFe = /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp|file|data):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i, EFe = /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g, fU = "file://";
|
|
59823
59823
|
function vFe(t, e) {
|
|
@@ -61114,7 +61114,7 @@ function b9e(t, e, n, r) {
|
|
|
61114
61114
|
u += i[~~(ul() * s)];
|
|
61115
61115
|
c[l] = u / s;
|
|
61116
61116
|
}
|
|
61117
|
-
return c.sort(Ha), [
|
|
61117
|
+
return c.sort(Ha), [BD(c, n / 2), BD(c, 1 - n / 2)];
|
|
61118
61118
|
}
|
|
61119
61119
|
function C9e(t, e, n, r) {
|
|
61120
61120
|
r = r || ((x) => x);
|
|
@@ -61580,7 +61580,7 @@ function Q9e(t) {
|
|
|
61580
61580
|
return i;
|
|
61581
61581
|
};
|
|
61582
61582
|
}
|
|
61583
|
-
function
|
|
61583
|
+
function GD(t) {
|
|
61584
61584
|
return !t || !t.length ? function() {
|
|
61585
61585
|
return "";
|
|
61586
61586
|
} : t.length === 1 ? t[0] : Q9e(t);
|
|
@@ -61942,7 +61942,7 @@ Fe(D0, ye, {
|
|
|
61942
61942
|
this._dims = je(t.groupby), this._dnames = this._dims.map((g) => {
|
|
61943
61943
|
const y = wn(g);
|
|
61944
61944
|
return i(g), n.push(y), y;
|
|
61945
|
-
}), this.cellkey = t.key ? t.key :
|
|
61945
|
+
}), this.cellkey = t.key ? t.key : GD(this._dims), this._countOnly = !0, this._counts = [], this._measures = [];
|
|
61946
61946
|
const s = t.fields || [null], o = t.ops || ["count"], u = t.as || [], a = s.length, l = {};
|
|
61947
61947
|
let c, f, x, d, p, m;
|
|
61948
61948
|
for (a !== o.length && Ae("Unmatched number of fields and aggregate ops."), m = 0; m < a; ++m) {
|
|
@@ -61955,7 +61955,7 @@ Fe(D0, ye, {
|
|
|
61955
61955
|
return this._measures = this._measures.map((g) => zee(g, g.field)), {};
|
|
61956
61956
|
},
|
|
61957
61957
|
// -- Cell Management -----
|
|
61958
|
-
cellkey:
|
|
61958
|
+
cellkey: GD(),
|
|
61959
61959
|
cell(t, e) {
|
|
61960
61960
|
let n = this.value[t];
|
|
61961
61961
|
return n ? n.num === 0 && this._drop && n.stamp < this.stamp ? (n.stamp = this.stamp, this._adds[this._alen++] = n) : n.stamp < this.stamp && (n.stamp = this.stamp, this._mods[this._mlen++] = n) : (n = this.value[t] = this.newcell(t, e), this._adds[this._alen++] = n), n;
|
|
@@ -62757,7 +62757,7 @@ const pE = {
|
|
|
62757
62757
|
value: "value",
|
|
62758
62758
|
median: $Z,
|
|
62759
62759
|
mean: v8e,
|
|
62760
|
-
min: $
|
|
62760
|
+
min: $D,
|
|
62761
62761
|
max: af
|
|
62762
62762
|
}, cLe = [];
|
|
62763
62763
|
function x9(t) {
|
|
@@ -63684,7 +63684,7 @@ _9.Definition = {
|
|
|
63684
63684
|
Fe(_9, ye, {
|
|
63685
63685
|
transform(t, e) {
|
|
63686
63686
|
this.stamp = e.stamp;
|
|
63687
|
-
const n = t.modified(), r = wx(t.sort), i =
|
|
63687
|
+
const n = t.modified(), r = wx(t.sort), i = GD(t.groupby), s = (u) => this.group(i(u));
|
|
63688
63688
|
let o = this.state;
|
|
63689
63689
|
(!o || n) && (o = this.state = new fte(t)), n || e.modified(o.inputs) ? (this.value = {}, e.visit(e.SOURCE, (u) => s(u).add(u))) : (e.visit(e.REM, (u) => s(u).remove(u)), e.visit(e.ADD, (u) => s(u).add(u)));
|
|
63690
63690
|
for (let u = 0, a = this._mlen; u < a; ++u)
|
|
@@ -63772,7 +63772,7 @@ function FLe(t) {
|
|
|
63772
63772
|
function CU(t) {
|
|
63773
63773
|
return t >= 1 ? IA : t <= -1 ? -IA : Math.asin(t);
|
|
63774
63774
|
}
|
|
63775
|
-
const
|
|
63775
|
+
const WD = Math.PI, VD = 2 * WD, Mc = 1e-6, LLe = VD - Mc;
|
|
63776
63776
|
function hte(t) {
|
|
63777
63777
|
this._ += t[0];
|
|
63778
63778
|
for (let e = 1, n = t.length; e < n; ++e)
|
|
@@ -63821,7 +63821,7 @@ let S9 = class {
|
|
|
63821
63821
|
if (!(Math.abs(f * a - l * c) > Mc) || !s)
|
|
63822
63822
|
this._append`L${this._x1 = e},${this._y1 = n}`;
|
|
63823
63823
|
else {
|
|
63824
|
-
let d = r - o, p = i - u, m = a * a + l * l, g = d * d + p * p, y = Math.sqrt(m), E = Math.sqrt(x), v = s * Math.tan((
|
|
63824
|
+
let d = r - o, p = i - u, m = a * a + l * l, g = d * d + p * p, y = Math.sqrt(m), E = Math.sqrt(x), v = s * Math.tan((WD - Math.acos((m + x - g) / (2 * y * E))) / 2), A = v / E, _ = v / y;
|
|
63825
63825
|
Math.abs(A - 1) > Mc && this._append`L${e + A * c},${n + A * f}`, this._append`A${s},${s},0,0,${+(f * d > c * p)},${this._x1 = e + _ * a},${this._y1 = n + _ * l}`;
|
|
63826
63826
|
}
|
|
63827
63827
|
}
|
|
@@ -63829,7 +63829,7 @@ let S9 = class {
|
|
|
63829
63829
|
if (e = +e, n = +n, r = +r, o = !!o, r < 0)
|
|
63830
63830
|
throw new Error(`negative radius: ${r}`);
|
|
63831
63831
|
let u = r * Math.cos(i), a = r * Math.sin(i), l = e + u, c = n + a, f = 1 ^ o, x = o ? i - s : s - i;
|
|
63832
|
-
this._x1 === null ? this._append`M${l},${c}` : (Math.abs(this._x1 - l) > Mc || Math.abs(this._y1 - c) > Mc) && this._append`L${l},${c}`, r && (x < 0 && (x = x %
|
|
63832
|
+
this._x1 === null ? this._append`M${l},${c}` : (Math.abs(this._x1 - l) > Mc || Math.abs(this._y1 - c) > Mc) && this._append`L${l},${c}`, r && (x < 0 && (x = x % VD + VD), x > LLe ? this._append`A${r},${r},0,1,${f},${e - u},${n - a}A${r},${r},0,1,${f},${this._x1 = l},${this._y1 = c}` : x > Mc && this._append`A${r},${r},0,${+(x >= WD)},${f},${this._x1 = e + r * Math.cos(s)},${this._y1 = n + r * Math.sin(s)}`);
|
|
63833
63833
|
}
|
|
63834
63834
|
rect(e, n, r, i) {
|
|
63835
63835
|
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +n}h${r = +r}v${+i}h${-r}Z`;
|
|
@@ -64797,13 +64797,13 @@ function xc(t, e) {
|
|
|
64797
64797
|
}
|
|
64798
64798
|
return this;
|
|
64799
64799
|
}
|
|
64800
|
-
const
|
|
64800
|
+
const YD = Symbol("implicit");
|
|
64801
64801
|
function w9() {
|
|
64802
|
-
var t = new Qj(), e = [], n = [], r =
|
|
64802
|
+
var t = new Qj(), e = [], n = [], r = YD;
|
|
64803
64803
|
function i(s) {
|
|
64804
64804
|
let o = t.get(s);
|
|
64805
64805
|
if (o === void 0) {
|
|
64806
|
-
if (r !==
|
|
64806
|
+
if (r !== YD)
|
|
64807
64807
|
return r;
|
|
64808
64808
|
t.set(s, o = e.push(s) - 1);
|
|
64809
64809
|
}
|
|
@@ -65213,13 +65213,13 @@ function vIe(t) {
|
|
|
65213
65213
|
var e = t.r / 255, n = t.g / 255, r = t.b / 255, i = (jU * r + PU * e - MU * n) / (jU + PU - MU), s = r - i, o = (Xg * (n - i) - L9 * s) / iC, u = Math.sqrt(o * o + s * s) / (Xg * i * (1 - i)), a = u ? Math.atan2(o, s) * Lte - 120 : NaN;
|
|
65214
65214
|
return new ff(a < 0 ? a + 360 : a, u, i, t.opacity);
|
|
65215
65215
|
}
|
|
65216
|
-
function
|
|
65216
|
+
function KD(t, e, n, r) {
|
|
65217
65217
|
return arguments.length === 1 ? vIe(t) : new ff(t, e, n, r ?? 1);
|
|
65218
65218
|
}
|
|
65219
65219
|
function ff(t, e, n, r) {
|
|
65220
65220
|
this.h = +t, this.s = +e, this.l = +n, this.opacity = +r;
|
|
65221
65221
|
}
|
|
65222
|
-
B2(ff,
|
|
65222
|
+
B2(ff, KD, ey(dc, {
|
|
65223
65223
|
brighter(t) {
|
|
65224
65224
|
return t = t == null ? Eh : Math.pow(Eh, t), new ff(this.h, this.s, this.l * t, this.opacity);
|
|
65225
65225
|
},
|
|
@@ -65278,7 +65278,7 @@ function ir(t, e) {
|
|
|
65278
65278
|
var n = e - t;
|
|
65279
65279
|
return n ? Qte(t, n) : sC(isNaN(t) ? e : t);
|
|
65280
65280
|
}
|
|
65281
|
-
const
|
|
65281
|
+
const XD = function t(e) {
|
|
65282
65282
|
var n = _Ie(e);
|
|
65283
65283
|
function r(i, s) {
|
|
65284
65284
|
var o = n((i = N0(i)).r, (s = N0(s)).r), u = n(i.g, s.g), a = n(i.b, s.b), l = ir(i.opacity, s.opacity);
|
|
@@ -65348,7 +65348,7 @@ function Kte(t, e) {
|
|
|
65348
65348
|
return r;
|
|
65349
65349
|
};
|
|
65350
65350
|
}
|
|
65351
|
-
var
|
|
65351
|
+
var JD = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, wO = new RegExp(JD.source, "g");
|
|
65352
65352
|
function TIe(t) {
|
|
65353
65353
|
return function() {
|
|
65354
65354
|
return t;
|
|
@@ -65360,8 +65360,8 @@ function OIe(t) {
|
|
|
65360
65360
|
};
|
|
65361
65361
|
}
|
|
65362
65362
|
function Xte(t, e) {
|
|
65363
|
-
var n =
|
|
65364
|
-
for (t = t + "", e = e + ""; (r =
|
|
65363
|
+
var n = JD.lastIndex = wO.lastIndex = 0, r, i, s, o = -1, u = [], a = [];
|
|
65364
|
+
for (t = t + "", e = e + ""; (r = JD.exec(t)) && (i = wO.exec(e)); )
|
|
65365
65365
|
(s = i.index) > n && (s = e.slice(n, s), u[o] ? u[o] += s : u[++o] = s), (r = r[0]) === (i = i[0]) ? u[o] ? u[o] += i : u[++o] = i : (u[++o] = null, a.push({ i: o, x: mo(r, i) })), n = wO.lastIndex;
|
|
65366
65366
|
return n < e.length && (s = e.slice(n), u[o] ? u[o] += s : u[++o] = s), u.length < 2 ? a[0] ? OIe(a[0].x) : TIe(e) : (e = a.length, function(l) {
|
|
65367
65367
|
for (var c = 0, f; c < e; ++c)
|
|
@@ -65371,7 +65371,7 @@ function Xte(t, e) {
|
|
|
65371
65371
|
}
|
|
65372
65372
|
function hc(t, e) {
|
|
65373
65373
|
var n = typeof e, r;
|
|
65374
|
-
return e == null || n === "boolean" ? sC(e) : (n === "number" ? mo : n === "string" ? (r = Kg(e)) ? (e = r,
|
|
65374
|
+
return e == null || n === "boolean" ? sC(e) : (n === "number" ? mo : n === "string" ? (r = Kg(e)) ? (e = r, XD) : Xte : e instanceof Kg ? XD : e instanceof Date ? Yte : Wte(e) ? I9 : Array.isArray(e) ? Vte : typeof e.valueOf != "function" && typeof e.toString != "function" || isNaN(e) ? Kte : mo)(t, e);
|
|
65375
65375
|
}
|
|
65376
65376
|
function RIe(t) {
|
|
65377
65377
|
var e = t.length;
|
|
@@ -65391,7 +65391,7 @@ function ty(t, e) {
|
|
|
65391
65391
|
return Math.round(t * (1 - n) + e * n);
|
|
65392
65392
|
};
|
|
65393
65393
|
}
|
|
65394
|
-
var UU = 180 / Math.PI,
|
|
65394
|
+
var UU = 180 / Math.PI, ZD = {
|
|
65395
65395
|
translateX: 0,
|
|
65396
65396
|
translateY: 0,
|
|
65397
65397
|
rotate: 0,
|
|
@@ -65413,10 +65413,10 @@ function Jte(t, e, n, r, i, s) {
|
|
|
65413
65413
|
var EE;
|
|
65414
65414
|
function wIe(t) {
|
|
65415
65415
|
const e = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(t + "");
|
|
65416
|
-
return e.isIdentity ?
|
|
65416
|
+
return e.isIdentity ? ZD : Jte(e.a, e.b, e.c, e.d, e.e, e.f);
|
|
65417
65417
|
}
|
|
65418
65418
|
function NIe(t) {
|
|
65419
|
-
return t == null || (EE || (EE = document.createElementNS("http://www.w3.org/2000/svg", "g")), EE.setAttribute("transform", t), !(t = EE.transform.baseVal.consolidate())) ?
|
|
65419
|
+
return t == null || (EE || (EE = document.createElementNS("http://www.w3.org/2000/svg", "g")), EE.setAttribute("transform", t), !(t = EE.transform.baseVal.consolidate())) ? ZD : (t = t.matrix, Jte(t.a, t.b, t.c, t.d, t.e, t.f));
|
|
65420
65420
|
}
|
|
65421
65421
|
function Zte(t, e, n, r) {
|
|
65422
65422
|
function i(l) {
|
|
@@ -65520,7 +65520,7 @@ function nne(t) {
|
|
|
65520
65520
|
return function e(n) {
|
|
65521
65521
|
n = +n;
|
|
65522
65522
|
function r(i, s) {
|
|
65523
|
-
var o = t((i =
|
|
65523
|
+
var o = t((i = KD(i)).h, (s = KD(s)).h), u = ir(i.s, s.s), a = ir(i.l, s.l), l = ir(i.opacity, s.opacity);
|
|
65524
65524
|
return function(c) {
|
|
65525
65525
|
return i.h = o(c), i.s = u(c), i.l = a(Math.pow(c, n)), i.opacity = l(c), i + "";
|
|
65526
65526
|
};
|
|
@@ -65563,7 +65563,7 @@ const GIe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
65563
65563
|
interpolateNumber: mo,
|
|
65564
65564
|
interpolateNumberArray: I9,
|
|
65565
65565
|
interpolateObject: Kte,
|
|
65566
|
-
interpolateRgb:
|
|
65566
|
+
interpolateRgb: XD,
|
|
65567
65567
|
interpolateRgbBasis: SIe,
|
|
65568
65568
|
interpolateRgbBasisClosed: bIe,
|
|
65569
65569
|
interpolateRound: ty,
|
|
@@ -65579,14 +65579,14 @@ function WIe(t) {
|
|
|
65579
65579
|
return t;
|
|
65580
65580
|
};
|
|
65581
65581
|
}
|
|
65582
|
-
function
|
|
65582
|
+
function e7(t) {
|
|
65583
65583
|
return +t;
|
|
65584
65584
|
}
|
|
65585
65585
|
var zU = [0, 1];
|
|
65586
65586
|
function ki(t) {
|
|
65587
65587
|
return t;
|
|
65588
65588
|
}
|
|
65589
|
-
function
|
|
65589
|
+
function t7(t, e) {
|
|
65590
65590
|
return (e -= t = +t) ? function(n) {
|
|
65591
65591
|
return (n - t) / e;
|
|
65592
65592
|
} : WIe(isNaN(e) ? NaN : 0.5);
|
|
@@ -65599,14 +65599,14 @@ function VIe(t, e) {
|
|
|
65599
65599
|
}
|
|
65600
65600
|
function YIe(t, e, n) {
|
|
65601
65601
|
var r = t[0], i = t[1], s = e[0], o = e[1];
|
|
65602
|
-
return i < r ? (r =
|
|
65602
|
+
return i < r ? (r = t7(i, r), s = n(o, s)) : (r = t7(r, i), s = n(s, o)), function(u) {
|
|
65603
65603
|
return s(r(u));
|
|
65604
65604
|
};
|
|
65605
65605
|
}
|
|
65606
65606
|
function KIe(t, e, n) {
|
|
65607
65607
|
var r = Math.min(t.length, e.length) - 1, i = new Array(r), s = new Array(r), o = -1;
|
|
65608
65608
|
for (t[r] < t[0] && (t = t.slice().reverse(), e = e.slice().reverse()); ++o < r; )
|
|
65609
|
-
i[o] =
|
|
65609
|
+
i[o] = t7(t[o], t[o + 1]), s[o] = n(e[o], e[o + 1]);
|
|
65610
65610
|
return function(u) {
|
|
65611
65611
|
var a = O0(t, u, 1, r) - 1;
|
|
65612
65612
|
return s[a](i[a](u));
|
|
@@ -65627,7 +65627,7 @@ function uC() {
|
|
|
65627
65627
|
return f.invert = function(x) {
|
|
65628
65628
|
return o(i((l || (l = u(e, t.map(r), mo)))(x)));
|
|
65629
65629
|
}, f.domain = function(x) {
|
|
65630
|
-
return arguments.length ? (t = Array.from(x,
|
|
65630
|
+
return arguments.length ? (t = Array.from(x, e7), c()) : t.slice();
|
|
65631
65631
|
}, f.range = function(x) {
|
|
65632
65632
|
return arguments.length ? (e = Array.from(x), c()) : e.slice();
|
|
65633
65633
|
}, f.rangeRound = function(x) {
|
|
@@ -65672,7 +65672,7 @@ function Nx(t) {
|
|
|
65672
65672
|
var e = t.domain;
|
|
65673
65673
|
return t.ticks = function(n) {
|
|
65674
65674
|
var r = e();
|
|
65675
|
-
return
|
|
65675
|
+
return LD(r[0], r[r.length - 1], n ?? 10);
|
|
65676
65676
|
}, t.tickFormat = function(n, r) {
|
|
65677
65677
|
var i = e();
|
|
65678
65678
|
return ine(i[0], i[i.length - 1], n ?? 10, r);
|
|
@@ -65680,7 +65680,7 @@ function Nx(t) {
|
|
|
65680
65680
|
n == null && (n = 10);
|
|
65681
65681
|
var r = e(), i = 0, s = r.length - 1, o = r[i], u = r[s], a, l, c = 10;
|
|
65682
65682
|
for (u < o && (l = o, o = u, u = l, l = i, i = s, s = l); c-- > 0; ) {
|
|
65683
|
-
if (l =
|
|
65683
|
+
if (l = ID(o, u, n), l === a)
|
|
65684
65684
|
return r[i] = o, r[s] = u, e(r);
|
|
65685
65685
|
if (l > 0)
|
|
65686
65686
|
o = Math.floor(o / l) * l, u = Math.ceil(u / l) * l;
|
|
@@ -65705,12 +65705,12 @@ function one(t) {
|
|
|
65705
65705
|
return r == null || isNaN(r = +r) ? e : r;
|
|
65706
65706
|
}
|
|
65707
65707
|
return n.invert = n, n.domain = n.range = function(r) {
|
|
65708
|
-
return arguments.length ? (t = Array.from(r,
|
|
65708
|
+
return arguments.length ? (t = Array.from(r, e7), n) : t.slice();
|
|
65709
65709
|
}, n.unknown = function(r) {
|
|
65710
65710
|
return arguments.length ? (e = r, n) : e;
|
|
65711
65711
|
}, n.copy = function() {
|
|
65712
65712
|
return one(t).unknown(e);
|
|
65713
|
-
}, t = arguments.length ? Array.from(t,
|
|
65713
|
+
}, t = arguments.length ? Array.from(t, e7) : [0, 1], Nx(n);
|
|
65714
65714
|
}
|
|
65715
65715
|
function une(t, e) {
|
|
65716
65716
|
t = t.slice();
|
|
@@ -65776,9 +65776,9 @@ function B9(t) {
|
|
|
65776
65776
|
break;
|
|
65777
65777
|
y.push(m);
|
|
65778
65778
|
}
|
|
65779
|
-
y.length * 2 < g && (y =
|
|
65779
|
+
y.length * 2 < g && (y = LD(l, c, g));
|
|
65780
65780
|
} else
|
|
65781
|
-
y =
|
|
65781
|
+
y = LD(x, d, Math.min(d - x, g)).map(s);
|
|
65782
65782
|
return f ? y.reverse() : y;
|
|
65783
65783
|
}, e.tickFormat = (u, a) => {
|
|
65784
65784
|
if (u == null && (u = 10), a == null && (a = r === 10 ? "s" : ","), typeof a != "function" && (!(r % 1) && (a = Bf(a)).precision == null && (a.trim = !0), a = Q5(a)), u === 1 / 0)
|
|
@@ -66068,7 +66068,7 @@ function H9(t, e, n) {
|
|
|
66068
66068
|
const r = t - e + n * 2;
|
|
66069
66069
|
return t ? r > 0 ? r : 1 : 0;
|
|
66070
66070
|
}
|
|
66071
|
-
const f$e = "identity", vh = "linear", al = "log", ry = "pow", iy = "sqrt", cC = "symlog", Pf = "time", Mf = "utc", Su = "sequential", k2 = "diverging", Ah = "quantile", fC = "quantize", xC = "threshold", Q9 = "ordinal",
|
|
66071
|
+
const f$e = "identity", vh = "linear", al = "log", ry = "pow", iy = "sqrt", cC = "symlog", Pf = "time", Mf = "utc", Su = "sequential", k2 = "diverging", Ah = "quantile", fC = "quantize", xC = "threshold", Q9 = "ordinal", n7 = "point", yne = "band", G9 = "bin-ordinal", Yn = "continuous", sy = "discrete", oy = "discretizing", oo = "interpolating", W9 = "temporal";
|
|
66072
66072
|
function x$e(t) {
|
|
66073
66073
|
return function(e) {
|
|
66074
66074
|
let n = e[0], r = e[1], i;
|
|
@@ -66201,7 +66201,7 @@ kt(xC, xne, oy);
|
|
|
66201
66201
|
kt(G9, vne, [sy, oy]);
|
|
66202
66202
|
kt(Q9, w9, sy);
|
|
66203
66203
|
kt(yne, V9, sy);
|
|
66204
|
-
kt(
|
|
66204
|
+
kt(n7, h$e, sy);
|
|
66205
66205
|
function Sne(t) {
|
|
66206
66206
|
return zA.has(t);
|
|
66207
66207
|
}
|
|
@@ -66215,7 +66215,7 @@ function Y9(t) {
|
|
|
66215
66215
|
function _h(t) {
|
|
66216
66216
|
return Fx(t, sy);
|
|
66217
66217
|
}
|
|
66218
|
-
function
|
|
66218
|
+
function r7(t) {
|
|
66219
66219
|
return Fx(t, oy);
|
|
66220
66220
|
}
|
|
66221
66221
|
function bne(t) {
|
|
@@ -66391,7 +66391,7 @@ function Ine(t, e, n) {
|
|
|
66391
66391
|
};
|
|
66392
66392
|
return n ? r.filter(u) : u;
|
|
66393
66393
|
}
|
|
66394
|
-
const
|
|
66394
|
+
const i7 = {
|
|
66395
66395
|
[Ah]: "quantiles",
|
|
66396
66396
|
[fC]: "thresholds",
|
|
66397
66397
|
[xC]: "domain"
|
|
@@ -66400,7 +66400,7 @@ const iD = {
|
|
|
66400
66400
|
[fC]: "domain"
|
|
66401
66401
|
};
|
|
66402
66402
|
function Bne(t, e) {
|
|
66403
|
-
return t.bins ? I$e(t.bins) : t.type === al ? Ine(t, e, !0) :
|
|
66403
|
+
return t.bins ? I$e(t.bins) : t.type === al ? Ine(t, e, !0) : i7[t.type] ? L$e(t[i7[t.type]]()) : J9(t, e);
|
|
66404
66404
|
}
|
|
66405
66405
|
function F$e(t, e, n) {
|
|
66406
66406
|
const r = e[$ne[e.type]](), i = r.length;
|
|
@@ -66417,7 +66417,7 @@ function I$e(t) {
|
|
|
66417
66417
|
const e = t.slice(0, -1);
|
|
66418
66418
|
return e.max = Rt(t), e;
|
|
66419
66419
|
}
|
|
66420
|
-
const $$e = (t) =>
|
|
66420
|
+
const $$e = (t) => i7[t.type] || t.bins;
|
|
66421
66421
|
function kne(t, e, n, r, i, s, o) {
|
|
66422
66422
|
const u = $ne[e.type] && s !== Pf && s !== Mf ? F$e(t, e, i) : Lne(t, e, n, i, s, o);
|
|
66423
66423
|
return r === cv && $$e(e) ? B$e(u) : r === O$e ? k$e(u) : P$e(u);
|
|
@@ -66442,7 +66442,7 @@ function j$e(t, e, n, r) {
|
|
|
66442
66442
|
function Pne(t, e, n) {
|
|
66443
66443
|
n = n || {};
|
|
66444
66444
|
const r = Math.max(3, n.maxlen || 7), i = j$e(t, e, n.format, n.formatType);
|
|
66445
|
-
if (
|
|
66445
|
+
if (r7(e.type)) {
|
|
66446
66446
|
const s = Bne(e).slice(1).map(i), o = s.length;
|
|
66447
66447
|
return `${o} boundar${o === 1 ? "y" : "ies"}: ${s.join(", ")}`;
|
|
66448
66448
|
} else if (_h(e.type)) {
|
|
@@ -67091,10 +67091,10 @@ function PBe(t, e) {
|
|
|
67091
67091
|
return t.strokeJoin && t.strokeJoin !== "miter" ? 0 : e;
|
|
67092
67092
|
}
|
|
67093
67093
|
const MBe = fu - 1e-8;
|
|
67094
|
-
let hC, fv, xv, Zc,
|
|
67095
|
-
const e0 = (t, e) => hC.add(t, e), hv = (t, e) => e0(fv = t, xv = e), iq = (t) => e0(t, hC.y1), sq = (t) => e0(hC.x1, t), Wc = (t, e) =>
|
|
67094
|
+
let hC, fv, xv, Zc, s7, dv, o7, u7;
|
|
67095
|
+
const e0 = (t, e) => hC.add(t, e), hv = (t, e) => e0(fv = t, xv = e), iq = (t) => e0(t, hC.y1), sq = (t) => e0(hC.x1, t), Wc = (t, e) => s7 * t + o7 * e, Vc = (t, e) => dv * t + u7 * e, IO = (t, e) => e0(Wc(t, e), Vc(t, e)), $O = (t, e) => hv(Wc(t, e), Vc(t, e));
|
|
67096
67096
|
function pC(t, e) {
|
|
67097
|
-
return hC = t, e ? (Zc = e * F0,
|
|
67097
|
+
return hC = t, e ? (Zc = e * F0, s7 = u7 = Math.cos(Zc), dv = Math.sin(Zc), o7 = -dv) : (s7 = u7 = 1, Zc = dv = o7 = 0), jBe;
|
|
67098
67098
|
}
|
|
67099
67099
|
const jBe = {
|
|
67100
67100
|
beginPath() {
|
|
@@ -67144,18 +67144,18 @@ function aq(t, e, n, r, i) {
|
|
|
67144
67144
|
return o * s * e + 3 * o * t * n + 3 * s * u * r + u * t * i;
|
|
67145
67145
|
}
|
|
67146
67146
|
var d0 = (d0 = x0(1, 1)) ? d0.getContext("2d") : null;
|
|
67147
|
-
const
|
|
67147
|
+
const a7 = new Gn();
|
|
67148
67148
|
function zne(t) {
|
|
67149
67149
|
return function(e, n) {
|
|
67150
67150
|
if (!d0)
|
|
67151
67151
|
return !0;
|
|
67152
|
-
t(d0, e),
|
|
67152
|
+
t(d0, e), a7.clear().union(e.bounds).intersect(n).round();
|
|
67153
67153
|
const {
|
|
67154
67154
|
x1: r,
|
|
67155
67155
|
y1: i,
|
|
67156
67156
|
x2: s,
|
|
67157
67157
|
y2: o
|
|
67158
|
-
} =
|
|
67158
|
+
} = a7;
|
|
67159
67159
|
for (let u = i; u <= o; ++u)
|
|
67160
67160
|
for (let a = r; a <= s; ++a)
|
|
67161
67161
|
if (d0.isPointInPath(a, u))
|
|
@@ -67168,7 +67168,7 @@ function Hne(t, e) {
|
|
|
67168
67168
|
}
|
|
67169
67169
|
function Qne(t, e) {
|
|
67170
67170
|
const n = t.x || 0, r = t.y || 0, i = t.width || 0, s = t.height || 0;
|
|
67171
|
-
return e.intersects(
|
|
67171
|
+
return e.intersects(a7.set(n, r, n + i, r + s));
|
|
67172
67172
|
}
|
|
67173
67173
|
function UBe(t, e) {
|
|
67174
67174
|
const n = t.x || 0, r = t.y || 0, i = t.x2 != null ? t.x2 : n, s = t.y2 != null ? t.y2 : r;
|
|
@@ -67260,7 +67260,7 @@ function ku(t, e) {
|
|
|
67260
67260
|
for (r = 0, i = n.length; r < i; ++r)
|
|
67261
67261
|
e(n[r]);
|
|
67262
67262
|
}
|
|
67263
|
-
function
|
|
67263
|
+
function l7(t, e) {
|
|
67264
67264
|
var n = t.items, r, i;
|
|
67265
67265
|
if (!n || !n.length)
|
|
67266
67266
|
return null;
|
|
@@ -67293,7 +67293,7 @@ function Vne(t, e, n, r) {
|
|
|
67293
67293
|
}
|
|
67294
67294
|
function gC(t) {
|
|
67295
67295
|
return t = t || Fo, function(e, n, r, i, s, o) {
|
|
67296
|
-
return r *= e.pixelRatio, i *= e.pixelRatio,
|
|
67296
|
+
return r *= e.pixelRatio, i *= e.pixelRatio, l7(n, (u) => {
|
|
67297
67297
|
const a = u.bounds;
|
|
67298
67298
|
if (!(a && !a.contains(s, o) || !a) && t(e, u, r, i, s, o))
|
|
67299
67299
|
return u;
|
|
@@ -67450,7 +67450,7 @@ function cke(t, e, n, r, i, s) {
|
|
|
67450
67450
|
if (e.bounds && !e.bounds.contains(i, s) || !e.items)
|
|
67451
67451
|
return null;
|
|
67452
67452
|
const o = n * t.pixelRatio, u = r * t.pixelRatio;
|
|
67453
|
-
return
|
|
67453
|
+
return l7(e, (a) => {
|
|
67454
67454
|
let l, c, f;
|
|
67455
67455
|
const x = a.bounds;
|
|
67456
67456
|
if (x && !x.contains(i, s))
|
|
@@ -67462,7 +67462,7 @@ function cke(t, e, n, r, i, s) {
|
|
|
67462
67462
|
if (t.save(), t.translate(c, f), c = i - c, f = s - f, m && tL(a) && !ake(t, a, o, u))
|
|
67463
67463
|
return t.restore(), null;
|
|
67464
67464
|
const g = a.strokeForeground, y = e.interactive !== !1;
|
|
67465
|
-
return y && g && a.stroke && uke(t, a, o, u) ? (t.restore(), a) : (l =
|
|
67465
|
+
return y && g && a.stroke && uke(t, a, o, u) ? (t.restore(), a) : (l = l7(a, (E) => fke(E, c, f) ? this.pick(E, n, r, c, f) : null), !l && y && (a.fill || !g && a.stroke) && oke(t, a, o, u) && (l = a), t.restore(), l || null);
|
|
67466
67466
|
});
|
|
67467
67467
|
}
|
|
67468
67468
|
function fke(t, e, n) {
|
|
@@ -67621,15 +67621,15 @@ const fq = Gwe();
|
|
|
67621
67621
|
var bu = {
|
|
67622
67622
|
height: bl,
|
|
67623
67623
|
measureWidth: dL,
|
|
67624
|
-
estimateWidth:
|
|
67625
|
-
width:
|
|
67624
|
+
estimateWidth: c7,
|
|
67625
|
+
width: c7,
|
|
67626
67626
|
canvas: ere
|
|
67627
67627
|
};
|
|
67628
67628
|
ere(!0);
|
|
67629
67629
|
function ere(t) {
|
|
67630
|
-
bu.width = t && d0 ? dL :
|
|
67630
|
+
bu.width = t && d0 ? dL : c7;
|
|
67631
67631
|
}
|
|
67632
|
-
function
|
|
67632
|
+
function c7(t, e) {
|
|
67633
67633
|
return tre(L0(t, e), bl(t));
|
|
67634
67634
|
}
|
|
67635
67635
|
function tre(t, e) {
|
|
@@ -68239,7 +68239,7 @@ Cl.prototype = {
|
|
|
68239
68239
|
return this._load("loadImage", t);
|
|
68240
68240
|
}
|
|
68241
68241
|
};
|
|
68242
|
-
const Wke = "keydown", Vke = "keypress", Yke = "keyup", lre = "dragenter", gv = "dragleave", cre = "dragover",
|
|
68242
|
+
const Wke = "keydown", Vke = "keypress", Yke = "keyup", lre = "dragenter", gv = "dragleave", cre = "dragover", f7 = "mousedown", Kke = "mouseup", WA = "mousemove", dg = "mouseout", fre = "mouseover", VA = "click", Xke = "dblclick", Jke = "wheel", xre = "mousewheel", YA = "touchstart", KA = "touchmove", XA = "touchend", Zke = [Wke, Vke, Yke, lre, gv, cre, f7, Kke, WA, dg, fre, VA, Xke, Jke, xre, YA, KA, XA], x7 = WA, em = dg, d7 = VA;
|
|
68243
68243
|
function AC(t, e) {
|
|
68244
68244
|
Uf.call(this, t, e), this._down = null, this._touch = null, this._first = !0, this._events = {};
|
|
68245
68245
|
}
|
|
@@ -68264,7 +68264,7 @@ function gq(t) {
|
|
|
68264
68264
|
}
|
|
68265
68265
|
Fe(AC, Uf, {
|
|
68266
68266
|
initialize(t, e, n) {
|
|
68267
|
-
return this._canvas = t && ure(t, "canvas"), [VA,
|
|
68267
|
+
return this._canvas = t && ure(t, "canvas"), [VA, f7, WA, dg, gv].forEach((r) => hq(this, r)), Uf.prototype.initialize.call(this, t, e, n);
|
|
68268
68268
|
},
|
|
68269
68269
|
// return the backing canvas instance
|
|
68270
68270
|
canvas() {
|
|
@@ -68285,7 +68285,7 @@ Fe(AC, Uf, {
|
|
|
68285
68285
|
mouseout: gq(dg),
|
|
68286
68286
|
dragleave: gq(gv),
|
|
68287
68287
|
mousedown(t) {
|
|
68288
|
-
this._down = this._active, this.fire(
|
|
68288
|
+
this._down = this._active, this.fire(f7, t);
|
|
68289
68289
|
},
|
|
68290
68290
|
click(t) {
|
|
68291
68291
|
this._down === this._active && (this.fire(VA, t), this._down = null);
|
|
@@ -68302,7 +68302,7 @@ Fe(AC, Uf, {
|
|
|
68302
68302
|
// fire an event
|
|
68303
68303
|
fire(t, e, n) {
|
|
68304
68304
|
const r = n ? this._touch : this._active, i = this._handlers[t];
|
|
68305
|
-
if (e.vegaType = t, t ===
|
|
68305
|
+
if (e.vegaType = t, t === d7 && r && r.href ? this.handleHref(e, r, r.href) : (t === x7 || t === em) && this.handleTooltip(e, r, t !== em), i)
|
|
68306
68306
|
for (let s = 0, o = i.length; s < o; ++s)
|
|
68307
68307
|
i[s].handler.call(this._obj, e, r);
|
|
68308
68308
|
},
|
|
@@ -68342,14 +68342,14 @@ function iPe(t, e, n, r, i, s) {
|
|
|
68342
68342
|
u[l] = s[l];
|
|
68343
68343
|
return o && a !== 1 && (t.style.width = e + "px", t.style.height = n + "px"), u.pixelRatio = a, u.setTransform(a, 0, 0, a, a * r[0], a * r[1]), t;
|
|
68344
68344
|
}
|
|
68345
|
-
function
|
|
68345
|
+
function h7(t) {
|
|
68346
68346
|
Cl.call(this, t), this._options = {}, this._redraw = !1, this._dirty = new Gn(), this._tempb = new Gn();
|
|
68347
68347
|
}
|
|
68348
68348
|
const mq = Cl.prototype, sPe = (t, e, n) => new Gn().set(0, 0, e, n).translate(-t[0], -t[1]);
|
|
68349
68349
|
function oPe(t, e, n) {
|
|
68350
68350
|
return e.expand(1).round(), t.pixelRatio % 1 && e.scale(t.pixelRatio).round().scale(1 / t.pixelRatio), e.translate(-(n[0] % 1), -(n[1] % 1)), t.beginPath(), t.rect(e.x1, e.y1, e.width(), e.height()), t.clip(), e;
|
|
68351
68351
|
}
|
|
68352
|
-
Fe(
|
|
68352
|
+
Fe(h7, Cl, {
|
|
68353
68353
|
initialize(t, e, n, r, i, s) {
|
|
68354
68354
|
return this._options = s || {}, this._canvas = this._options.externalContext ? null : x0(1, 1, this._options.type), t && this._canvas && (xu(t, 0).appendChild(this._canvas), this._canvas.setAttribute("class", "marks")), mq.initialize.call(this, t, e, n, r, i);
|
|
68355
68355
|
},
|
|
@@ -68393,20 +68393,20 @@ Fe(hD, Cl, {
|
|
|
68393
68393
|
function dre(t, e) {
|
|
68394
68394
|
Uf.call(this, t, e);
|
|
68395
68395
|
const n = this;
|
|
68396
|
-
n._hrefHandler =
|
|
68396
|
+
n._hrefHandler = p7(n, (r, i) => {
|
|
68397
68397
|
i && i.href && n.handleHref(r, i, i.href);
|
|
68398
|
-
}), n._tooltipHandler =
|
|
68398
|
+
}), n._tooltipHandler = p7(n, (r, i) => {
|
|
68399
68399
|
n.handleTooltip(r, i, r.type !== em);
|
|
68400
68400
|
});
|
|
68401
68401
|
}
|
|
68402
|
-
const
|
|
68402
|
+
const p7 = (t, e) => (n) => {
|
|
68403
68403
|
let r = n.target.__data__;
|
|
68404
68404
|
r = Array.isArray(r) ? r[0] : r, n.vegaType = n.type, e.call(t._obj, n, r);
|
|
68405
68405
|
};
|
|
68406
68406
|
Fe(dre, Uf, {
|
|
68407
68407
|
initialize(t, e, n) {
|
|
68408
68408
|
let r = this._svg;
|
|
68409
|
-
return r && (r.removeEventListener(
|
|
68409
|
+
return r && (r.removeEventListener(d7, this._hrefHandler), r.removeEventListener(x7, this._tooltipHandler), r.removeEventListener(em, this._tooltipHandler)), this._svg = r = t && ure(t, "svg"), r && (r.addEventListener(d7, this._hrefHandler), r.addEventListener(x7, this._tooltipHandler), r.addEventListener(em, this._tooltipHandler)), Uf.prototype.initialize.call(this, t, e, n);
|
|
68410
68410
|
},
|
|
68411
68411
|
canvas() {
|
|
68412
68412
|
return this._svg;
|
|
@@ -68418,7 +68418,7 @@ Fe(dre, Uf, {
|
|
|
68418
68418
|
const s = {
|
|
68419
68419
|
type: t,
|
|
68420
68420
|
handler: e,
|
|
68421
|
-
listener:
|
|
68421
|
+
listener: p7(this, e)
|
|
68422
68422
|
};
|
|
68423
68423
|
(r[n] || (r[n] = [])).push(s), this._svg && this._svg.addEventListener(n, s.listener);
|
|
68424
68424
|
}
|
|
@@ -69055,8 +69055,8 @@ const Ore = "canvas", Rre = "png", Dre = "svg", wre = "none", tf = {
|
|
|
69055
69055
|
None: wre
|
|
69056
69056
|
}, Ch = {};
|
|
69057
69057
|
Ch[Ore] = Ch[Rre] = {
|
|
69058
|
-
renderer:
|
|
69059
|
-
headless:
|
|
69058
|
+
renderer: h7,
|
|
69059
|
+
headless: h7,
|
|
69060
69060
|
handler: AC
|
|
69061
69061
|
};
|
|
69062
69062
|
Ch[Dre] = {
|
|
@@ -69117,7 +69117,7 @@ function CPe(t) {
|
|
|
69117
69117
|
return;
|
|
69118
69118
|
t.bounds.intersect(kO);
|
|
69119
69119
|
}
|
|
69120
|
-
const Th = "top", vo = "left", _o = "right", I0 = "bottom", TPe = "top-left", OPe = "top-right", RPe = "bottom-left", DPe = "bottom-right", SL = "start",
|
|
69120
|
+
const Th = "top", vo = "left", _o = "right", I0 = "bottom", TPe = "top-left", OPe = "top-right", RPe = "bottom-left", DPe = "bottom-right", SL = "start", g7 = "middle", ti = "end", wPe = "x", NPe = "y", _C = "group", bL = "axis", CL = "title", FPe = "frame", LPe = "scope", TL = "legend", Ire = "row-header", $re = "row-footer", Bre = "row-title", kre = "column-header", Pre = "column-footer", Mre = "column-title", IPe = "padding", $Pe = "symbol", jre = "fit", Ure = "fit-x", qre = "fit-y", BPe = "pad", OL = "none", AE = "all", m7 = "each", RL = "flush", n0 = "column", r0 = "row";
|
|
69121
69121
|
function zre(t) {
|
|
69122
69122
|
ye.call(this, null, t);
|
|
69123
69123
|
}
|
|
@@ -69359,7 +69359,7 @@ function Vre(t, e, n) {
|
|
|
69359
69359
|
F = e[b], I = _[b] = i(F), F.x = F.x || 0, v[b] = 0, F.y = F.y || 0, A[b] = 0, C = b % c, w = ~~(b / c), m = Math.max(m, j = Math.ceil(I.x2)), E = Math.max(E, q = Math.ceil(I.y2)), p[C] = Math.max(p[C], j), y[w] = Math.max(y[w], q), d[b] = a + Nq(I.x1), g[b] = l + Nq(I.y1), r && t.dirty(e[b]);
|
|
69360
69360
|
for (b = 0; b < x; ++b)
|
|
69361
69361
|
b % c === 0 && (d[b] = 0), b < c && (g[b] = 0);
|
|
69362
|
-
if (o ===
|
|
69362
|
+
if (o === m7)
|
|
69363
69363
|
for (C = 1; C < c; ++C) {
|
|
69364
69364
|
for (ae = 0, b = C; b < x; b += c)
|
|
69365
69365
|
ae < d[b] && (ae = d[b]);
|
|
@@ -69375,7 +69375,7 @@ function Vre(t, e, n) {
|
|
|
69375
69375
|
for (o = !1, C = 1; C < c; ++C)
|
|
69376
69376
|
for (b = C; b < x; b += c)
|
|
69377
69377
|
d[b] += p[C - 1];
|
|
69378
|
-
if (u ===
|
|
69378
|
+
if (u === m7)
|
|
69379
69379
|
for (w = 1; w < f; ++w) {
|
|
69380
69380
|
for (ae = 0, b = w * c, S = b + c; b < S; ++b)
|
|
69381
69381
|
ae < g[b] && (ae = g[b]);
|
|
@@ -69408,14 +69408,14 @@ function Vre(t, e, n) {
|
|
|
69408
69408
|
case ti:
|
|
69409
69409
|
K -= s.width();
|
|
69410
69410
|
break;
|
|
69411
|
-
case
|
|
69411
|
+
case g7:
|
|
69412
69412
|
K -= s.width() / 2;
|
|
69413
69413
|
}
|
|
69414
69414
|
switch (ln(n.anchor, r0)) {
|
|
69415
69415
|
case ti:
|
|
69416
69416
|
V -= s.height();
|
|
69417
69417
|
break;
|
|
69418
|
-
case
|
|
69418
|
+
case g7:
|
|
69419
69419
|
V -= s.height() / 2;
|
|
69420
69420
|
}
|
|
69421
69421
|
for (K = Math.round(K), V = Math.round(V), s.clear(), b = 0; b < x; ++b)
|
|
@@ -69470,8 +69470,8 @@ function XPe(t, e) {
|
|
|
69470
69470
|
}), n > -1 / 0 ? n : e;
|
|
69471
69471
|
}
|
|
69472
69472
|
function JPe(t, e, n, r, i, s, o) {
|
|
69473
|
-
const u = KPe(n, e), a = XPe(t, u("offset", 0)), l = u("anchor", SL), c = l === ti ? 1 : l ===
|
|
69474
|
-
align:
|
|
69473
|
+
const u = KPe(n, e), a = XPe(t, u("offset", 0)), l = u("anchor", SL), c = l === ti ? 1 : l === g7 ? 0.5 : 0, f = {
|
|
69474
|
+
align: m7,
|
|
69475
69475
|
bounds: u("bounds", RL),
|
|
69476
69476
|
columns: u("direction") === "vertical" ? 1 : t.length,
|
|
69477
69477
|
padding: u("margin", 8),
|
|
@@ -69995,13 +69995,13 @@ function RMe(t, e, n) {
|
|
|
69995
69995
|
const l = a > i[u] ? u + 1 : a < i[0] ? 0 : u;
|
|
69996
69996
|
l !== u && n.warn("Scale domainMid exceeds domain min or max.", a), i.splice(l, 0, a);
|
|
69997
69997
|
}
|
|
69998
|
-
return t.domain(sie(s, i, n)), s === Q9 && t.unknown(e.domainImplicit ?
|
|
69998
|
+
return t.domain(sie(s, i, n)), s === Q9 && t.unknown(e.domainImplicit ? YD : void 0), e.nice && t.nice && t.nice(e.nice !== !0 && X9(t, e.nice) || null), i.length;
|
|
69999
69999
|
}
|
|
70000
70000
|
function DMe(t, e, n) {
|
|
70001
70001
|
return e ? (t.domain(sie(t.type, e, n)), e.length) : -1;
|
|
70002
70002
|
}
|
|
70003
70003
|
function wMe(t, e, n, r, i, s) {
|
|
70004
|
-
var o = Math.abs(Rt(n) - n[0]), u = o / (o - 2 * r), a = t === al ? mZ(e, null, u) : t === iy ?
|
|
70004
|
+
var o = Math.abs(Rt(n) - n[0]), u = o / (o - 2 * r), a = t === al ? mZ(e, null, u) : t === iy ? ND(e, null, u, 0.5) : t === ry ? ND(e, null, u, i || 1) : t === cC ? yZ(e, null, u, s || 1) : gZ(e, null, u);
|
|
70005
70005
|
return e = e.slice(), e[0] = a[0], e[e.length - 1] = a[1], e;
|
|
70006
70006
|
}
|
|
70007
70007
|
function sie(t, e, n) {
|
|
@@ -70030,12 +70030,12 @@ function FMe(t, e, n) {
|
|
|
70030
70030
|
Ae(`Scale type ${r} does not support interpolating color schemes.`);
|
|
70031
70031
|
}
|
|
70032
70032
|
if (s && Cne(r))
|
|
70033
|
-
return t.interpolator(K9(
|
|
70034
|
-
s && e.interpolate && t.interpolate ? t.interpolate(Rne(e.interpolate, e.interpolateGamma)) : pt(t.round) ? t.round(i) : pt(t.rangeRound) && t.interpolate(i ? ty : hc), s && t.range(
|
|
70033
|
+
return t.interpolator(K9(y7(s, e.reverse), e.interpolate, e.interpolateGamma));
|
|
70034
|
+
s && e.interpolate && t.interpolate ? t.interpolate(Rne(e.interpolate, e.interpolateGamma)) : pt(t.round) ? t.round(i) : pt(t.rangeRound) && t.interpolate(i ? ty : hc), s && t.range(y7(s, e.reverse));
|
|
70035
70035
|
}
|
|
70036
70036
|
function LMe(t, e, n) {
|
|
70037
|
-
t !== yne && t !==
|
|
70038
|
-
var r = (e.paddingOuter != null ? e.paddingOuter : e.padding) || 0, i = t ===
|
|
70037
|
+
t !== yne && t !== n7 && Ae("Only band and point scales support rangeStep.");
|
|
70038
|
+
var r = (e.paddingOuter != null ? e.paddingOuter : e.padding) || 0, i = t === n7 ? 1 : (e.paddingInner != null ? e.paddingInner : e.padding) || 0;
|
|
70039
70039
|
return [0, e.rangeStep * H9(n, i, r)];
|
|
70040
70040
|
}
|
|
70041
70041
|
function IMe(t, e, n) {
|
|
@@ -70043,9 +70043,9 @@ function IMe(t, e, n) {
|
|
|
70043
70043
|
return _e(e.scheme) ? s = K9(e.scheme, e.interpolate, e.interpolateGamma) : (i = e.scheme.toLowerCase(), s = Nne(i), s || Ae(`Unrecognized scheme name: ${e.scheme}`)), n = t === xC ? n + 1 : t === G9 ? n - 1 : t === Ah || t === fC ? +e.schemeCount || SMe : n, Cne(t) ? Iq(s, r, e.reverse) : pt(s) ? S$e(Iq(s, r), n) : t === Q9 ? s : s.slice(0, n);
|
|
70044
70044
|
}
|
|
70045
70045
|
function Iq(t, e, n) {
|
|
70046
|
-
return pt(t) && (e || n) ? _$e(t,
|
|
70046
|
+
return pt(t) && (e || n) ? _$e(t, y7(e || [0, 1], n)) : t;
|
|
70047
70047
|
}
|
|
70048
|
-
function
|
|
70048
|
+
function y7(t, e) {
|
|
70049
70049
|
return e ? t.slice().reverse() : t;
|
|
70050
70050
|
}
|
|
70051
70051
|
function oie(t) {
|
|
@@ -70135,7 +70135,7 @@ const MMe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
70135
70135
|
sortitems: oie,
|
|
70136
70136
|
stack: FL
|
|
70137
70137
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
70138
|
-
var rt = 1e-6, e_ = 1e-12, vt = Math.PI, bn = vt / 2, t_ = vt / 4, vi = vt * 2, Rn = 180 / vt, mt = vt / 180, St = Math.abs, M2 = Math.atan, Js = Math.atan2, it = Math.cos, CE = Math.ceil, cie = Math.exp,
|
|
70138
|
+
var rt = 1e-6, e_ = 1e-12, vt = Math.PI, bn = vt / 2, t_ = vt / 4, vi = vt * 2, Rn = 180 / vt, mt = vt / 180, St = Math.abs, M2 = Math.atan, Js = Math.atan2, it = Math.cos, CE = Math.ceil, cie = Math.exp, E7 = Math.hypot, n_ = Math.log, PO = Math.pow, et = Math.sin, Ps = Math.sign || function(t) {
|
|
70139
70139
|
return t > 0 ? 1 : t < 0 ? -1 : 0;
|
|
70140
70140
|
}, Ai = Math.sqrt, LL = Math.tan;
|
|
70141
70141
|
function fie(t) {
|
|
@@ -70169,11 +70169,11 @@ var Bq = {
|
|
|
70169
70169
|
t = n[r], e.point(t[0], t[1], t[2]);
|
|
70170
70170
|
},
|
|
70171
70171
|
LineString: function(t, e) {
|
|
70172
|
-
|
|
70172
|
+
v7(t.coordinates, e, 0);
|
|
70173
70173
|
},
|
|
70174
70174
|
MultiLineString: function(t, e) {
|
|
70175
70175
|
for (var n = t.coordinates, r = -1, i = n.length; ++r < i; )
|
|
70176
|
-
|
|
70176
|
+
v7(n[r], e, 0);
|
|
70177
70177
|
},
|
|
70178
70178
|
Polygon: function(t, e) {
|
|
70179
70179
|
Pq(t.coordinates, e);
|
|
@@ -70187,7 +70187,7 @@ var Bq = {
|
|
|
70187
70187
|
r_(n[r], e);
|
|
70188
70188
|
}
|
|
70189
70189
|
};
|
|
70190
|
-
function
|
|
70190
|
+
function v7(t, e, n) {
|
|
70191
70191
|
var r = -1, i = t.length - n, s;
|
|
70192
70192
|
for (e.lineStart(); ++r < i; )
|
|
70193
70193
|
s = t[r], e.point(s[0], s[1], s[2]);
|
|
@@ -70196,13 +70196,13 @@ function vD(t, e, n) {
|
|
|
70196
70196
|
function Pq(t, e) {
|
|
70197
70197
|
var n = -1, r = t.length;
|
|
70198
70198
|
for (e.polygonStart(); ++n < r; )
|
|
70199
|
-
|
|
70199
|
+
v7(t[n], e, 1);
|
|
70200
70200
|
e.polygonEnd();
|
|
70201
70201
|
}
|
|
70202
70202
|
function Ra(t, e) {
|
|
70203
70203
|
t && Bq.hasOwnProperty(t.type) ? Bq[t.type](t, e) : r_(t, e);
|
|
70204
70204
|
}
|
|
70205
|
-
var i_ = new fi(), s_ = new fi(), xie, die,
|
|
70205
|
+
var i_ = new fi(), s_ = new fi(), xie, die, A7, _7, S7, Pu = {
|
|
70206
70206
|
point: Er,
|
|
70207
70207
|
lineStart: Er,
|
|
70208
70208
|
lineEnd: Er,
|
|
@@ -70224,12 +70224,12 @@ function UMe() {
|
|
|
70224
70224
|
hie(xie, die);
|
|
70225
70225
|
}
|
|
70226
70226
|
function qMe(t, e) {
|
|
70227
|
-
Pu.point = hie, xie = t, die = e, t *= mt, e *= mt,
|
|
70227
|
+
Pu.point = hie, xie = t, die = e, t *= mt, e *= mt, A7 = t, _7 = it(e = e / 2 + t_), S7 = et(e);
|
|
70228
70228
|
}
|
|
70229
70229
|
function hie(t, e) {
|
|
70230
70230
|
t *= mt, e *= mt, e = e / 2 + t_;
|
|
70231
|
-
var n = t -
|
|
70232
|
-
i_.add(Js(l, a)),
|
|
70231
|
+
var n = t - A7, r = n >= 0 ? 1 : -1, i = r * n, s = it(e), o = et(e), u = S7 * o, a = _7 * s + u * it(i), l = u * r * et(i);
|
|
70232
|
+
i_.add(Js(l, a)), A7 = t, _7 = s, S7 = o;
|
|
70233
70233
|
}
|
|
70234
70234
|
function zMe(t) {
|
|
70235
70235
|
return s_ = new fi(), Ra(t, Pu), s_ * 2;
|
|
@@ -70258,20 +70258,20 @@ function u_(t) {
|
|
|
70258
70258
|
t[0] /= e, t[1] /= e, t[2] /= e;
|
|
70259
70259
|
}
|
|
70260
70260
|
var hn, wi, _n, is, jc, pie, gie, Ld, pg, Wl, ll, Ca = {
|
|
70261
|
-
point:
|
|
70261
|
+
point: b7,
|
|
70262
70262
|
lineStart: Mq,
|
|
70263
70263
|
lineEnd: jq,
|
|
70264
70264
|
polygonStart: function() {
|
|
70265
70265
|
Ca.point = yie, Ca.lineStart = HMe, Ca.lineEnd = QMe, pg = new fi(), Pu.polygonStart();
|
|
70266
70266
|
},
|
|
70267
70267
|
polygonEnd: function() {
|
|
70268
|
-
Pu.polygonEnd(), Ca.point =
|
|
70268
|
+
Pu.polygonEnd(), Ca.point = b7, Ca.lineStart = Mq, Ca.lineEnd = jq, i_ < 0 ? (hn = -(_n = 180), wi = -(is = 90)) : pg > rt ? is = 90 : pg < -rt && (wi = -90), ll[0] = hn, ll[1] = _n;
|
|
70269
70269
|
},
|
|
70270
70270
|
sphere: function() {
|
|
70271
70271
|
hn = -(_n = 180), wi = -(is = 90);
|
|
70272
70272
|
}
|
|
70273
70273
|
};
|
|
70274
|
-
function
|
|
70274
|
+
function b7(t, e) {
|
|
70275
70275
|
Wl.push(ll = [hn = t, _n = t]), e < wi && (wi = e), e > is && (is = e);
|
|
70276
70276
|
}
|
|
70277
70277
|
function mie(t, e) {
|
|
@@ -70289,7 +70289,7 @@ function Mq() {
|
|
|
70289
70289
|
Ca.point = mie;
|
|
70290
70290
|
}
|
|
70291
70291
|
function jq() {
|
|
70292
|
-
ll[0] = hn, ll[1] = _n, Ca.point =
|
|
70292
|
+
ll[0] = hn, ll[1] = _n, Ca.point = b7, Ld = null;
|
|
70293
70293
|
}
|
|
70294
70294
|
function yie(t, e) {
|
|
70295
70295
|
if (Ld) {
|
|
@@ -70324,7 +70324,7 @@ function WMe(t) {
|
|
|
70324
70324
|
}
|
|
70325
70325
|
return Wl = ll = null, hn === 1 / 0 || wi === 1 / 0 ? [[NaN, NaN], [NaN, NaN]] : [[hn, wi], [_n, is]];
|
|
70326
70326
|
}
|
|
70327
|
-
var z1, a_, l_, c_, f_, x_, d_, h_,
|
|
70327
|
+
var z1, a_, l_, c_, f_, x_, d_, h_, C7, T7, O7, Eie, vie, ni, ri, ii, So = {
|
|
70328
70328
|
sphere: Er,
|
|
70329
70329
|
point: IL,
|
|
70330
70330
|
lineStart: qq,
|
|
@@ -70373,15 +70373,15 @@ function JMe(t, e) {
|
|
|
70373
70373
|
}
|
|
70374
70374
|
function Aie(t, e) {
|
|
70375
70375
|
t *= mt, e *= mt;
|
|
70376
|
-
var n = it(e), r = n * it(t), i = n * et(t), s = et(e), o = ri * s - ii * i, u = ii * r - ni * s, a = ni * i - ri * r, l =
|
|
70377
|
-
|
|
70376
|
+
var n = it(e), r = n * it(t), i = n * et(t), s = et(e), o = ri * s - ii * i, u = ii * r - ni * s, a = ni * i - ri * r, l = E7(o, u, a), c = qi(l), f = l && -c / l;
|
|
70377
|
+
C7.add(f * o), T7.add(f * u), O7.add(f * a), a_ += c, x_ += c * (ni + (ni = r)), d_ += c * (ri + (ri = i)), h_ += c * (ii + (ii = s)), xy(ni, ri, ii);
|
|
70378
70378
|
}
|
|
70379
70379
|
function ZMe(t) {
|
|
70380
|
-
z1 = a_ = l_ = c_ = f_ = x_ = d_ = h_ = 0,
|
|
70381
|
-
var e = +
|
|
70382
|
-
return i < e_ && (e = x_, n = d_, r = h_, a_ < rt && (e = l_, n = c_, r = f_), i =
|
|
70380
|
+
z1 = a_ = l_ = c_ = f_ = x_ = d_ = h_ = 0, C7 = new fi(), T7 = new fi(), O7 = new fi(), Ra(t, So);
|
|
70381
|
+
var e = +C7, n = +T7, r = +O7, i = E7(e, n, r);
|
|
70382
|
+
return i < e_ && (e = x_, n = d_, r = h_, a_ < rt && (e = l_, n = c_, r = f_), i = E7(e, n, r), i < e_) ? [NaN, NaN] : [Js(n, e) * Rn, qi(r / i) * Rn];
|
|
70383
70383
|
}
|
|
70384
|
-
function
|
|
70384
|
+
function R7(t, e) {
|
|
70385
70385
|
function n(r, i) {
|
|
70386
70386
|
return r = t(r, i), e(r[0], r[1]);
|
|
70387
70387
|
}
|
|
@@ -70389,12 +70389,12 @@ function RD(t, e) {
|
|
|
70389
70389
|
return r = e.invert(r, i), r && t.invert(r[0], r[1]);
|
|
70390
70390
|
}), n;
|
|
70391
70391
|
}
|
|
70392
|
-
function
|
|
70392
|
+
function D7(t, e) {
|
|
70393
70393
|
return St(t) > vt && (t -= Math.round(t / vi) * vi), [t, e];
|
|
70394
70394
|
}
|
|
70395
|
-
|
|
70395
|
+
D7.invert = D7;
|
|
70396
70396
|
function _ie(t, e, n) {
|
|
70397
|
-
return (t %= vi) ? e || n ?
|
|
70397
|
+
return (t %= vi) ? e || n ? R7(Qq(t), Gq(e, n)) : Qq(t) : e || n ? Gq(e, n) : D7;
|
|
70398
70398
|
}
|
|
70399
70399
|
function Hq(t) {
|
|
70400
70400
|
return function(e, n) {
|
|
@@ -70880,7 +70880,7 @@ function cje() {
|
|
|
70880
70880
|
}, y.extentMajor([[-180, -90 + rt], [180, 90 - rt]]).extentMinor([[-180, -80 - rt], [180, 80 + rt]]);
|
|
70881
70881
|
}
|
|
70882
70882
|
const tm = (t) => t;
|
|
70883
|
-
var UO = new fi(),
|
|
70883
|
+
var UO = new fi(), w7 = new fi(), Oie, Rie, N7, F7, Da = {
|
|
70884
70884
|
point: Er,
|
|
70885
70885
|
lineStart: Er,
|
|
70886
70886
|
lineEnd: Er,
|
|
@@ -70888,7 +70888,7 @@ var UO = new fi(), wD = new fi(), Oie, Rie, ND, FD, Da = {
|
|
|
70888
70888
|
Da.lineStart = fje, Da.lineEnd = dje;
|
|
70889
70889
|
},
|
|
70890
70890
|
polygonEnd: function() {
|
|
70891
|
-
Da.lineStart = Da.lineEnd = Da.point = Er, UO.add(St(
|
|
70891
|
+
Da.lineStart = Da.lineEnd = Da.point = Er, UO.add(St(w7)), w7 = new fi();
|
|
70892
70892
|
},
|
|
70893
70893
|
result: function() {
|
|
70894
70894
|
var t = UO / 2;
|
|
@@ -70899,10 +70899,10 @@ function fje() {
|
|
|
70899
70899
|
Da.point = xje;
|
|
70900
70900
|
}
|
|
70901
70901
|
function xje(t, e) {
|
|
70902
|
-
Da.point = Die, Oie =
|
|
70902
|
+
Da.point = Die, Oie = N7 = t, Rie = F7 = e;
|
|
70903
70903
|
}
|
|
70904
70904
|
function Die(t, e) {
|
|
70905
|
-
|
|
70905
|
+
w7.add(F7 * t - N7 * e), N7 = t, F7 = e;
|
|
70906
70906
|
}
|
|
70907
70907
|
function dje() {
|
|
70908
70908
|
Die(Oie, Rie);
|
|
@@ -70921,7 +70921,7 @@ var Rh = 1 / 0, p_ = Rh, nm = -Rh, g_ = nm, m_ = {
|
|
|
70921
70921
|
function hje(t, e) {
|
|
70922
70922
|
t < Rh && (Rh = t), t > nm && (nm = t), e < p_ && (p_ = e), e > g_ && (g_ = e);
|
|
70923
70923
|
}
|
|
70924
|
-
var
|
|
70924
|
+
var L7 = 0, I7 = 0, Q1 = 0, y_ = 0, E_ = 0, Sd = 0, $7 = 0, B7 = 0, G1 = 0, wie, Nie, du, hu, $s = {
|
|
70925
70925
|
point: zf,
|
|
70926
70926
|
lineStart: Jq,
|
|
70927
70927
|
lineEnd: Zq,
|
|
@@ -70932,12 +70932,12 @@ var LD = 0, ID = 0, Q1 = 0, y_ = 0, E_ = 0, Sd = 0, $D = 0, BD = 0, G1 = 0, wie,
|
|
|
70932
70932
|
$s.point = zf, $s.lineStart = Jq, $s.lineEnd = Zq;
|
|
70933
70933
|
},
|
|
70934
70934
|
result: function() {
|
|
70935
|
-
var t = G1 ? [$
|
|
70936
|
-
return
|
|
70935
|
+
var t = G1 ? [$7 / G1, B7 / G1] : Sd ? [y_ / Sd, E_ / Sd] : Q1 ? [L7 / Q1, I7 / Q1] : [NaN, NaN];
|
|
70936
|
+
return L7 = I7 = Q1 = y_ = E_ = Sd = $7 = B7 = G1 = 0, t;
|
|
70937
70937
|
}
|
|
70938
70938
|
};
|
|
70939
70939
|
function zf(t, e) {
|
|
70940
|
-
|
|
70940
|
+
L7 += t, I7 += e, ++Q1;
|
|
70941
70941
|
}
|
|
70942
70942
|
function Jq() {
|
|
70943
70943
|
$s.point = pje;
|
|
@@ -70963,7 +70963,7 @@ function Eje(t, e) {
|
|
|
70963
70963
|
}
|
|
70964
70964
|
function Fie(t, e) {
|
|
70965
70965
|
var n = t - du, r = e - hu, i = Ai(n * n + r * r);
|
|
70966
|
-
y_ += i * (du + t) / 2, E_ += i * (hu + e) / 2, Sd += i, i = hu * t - du * e, $
|
|
70966
|
+
y_ += i * (du + t) / 2, E_ += i * (hu + e) / 2, Sd += i, i = hu * t - du * e, $7 += i * (du + t), B7 += i * (hu + e), G1 += i * 3, zf(du = t, hu = e);
|
|
70967
70967
|
}
|
|
70968
70968
|
function Lie(t) {
|
|
70969
70969
|
this._context = t;
|
|
@@ -71003,7 +71003,7 @@ Lie.prototype = {
|
|
|
71003
71003
|
},
|
|
71004
71004
|
result: Er
|
|
71005
71005
|
};
|
|
71006
|
-
var
|
|
71006
|
+
var k7 = new fi(), qO, Iie, $ie, W1, V1, rm = {
|
|
71007
71007
|
point: Er,
|
|
71008
71008
|
lineStart: function() {
|
|
71009
71009
|
rm.point = vje;
|
|
@@ -71018,15 +71018,15 @@ var kD = new fi(), qO, Iie, $ie, W1, V1, rm = {
|
|
|
71018
71018
|
qO = null;
|
|
71019
71019
|
},
|
|
71020
71020
|
result: function() {
|
|
71021
|
-
var t = +
|
|
71022
|
-
return
|
|
71021
|
+
var t = +k7;
|
|
71022
|
+
return k7 = new fi(), t;
|
|
71023
71023
|
}
|
|
71024
71024
|
};
|
|
71025
71025
|
function vje(t, e) {
|
|
71026
71026
|
rm.point = Bie, Iie = W1 = t, $ie = V1 = e;
|
|
71027
71027
|
}
|
|
71028
71028
|
function Bie(t, e) {
|
|
71029
|
-
W1 -= t, V1 -= e,
|
|
71029
|
+
W1 -= t, V1 -= e, k7.add(Ai(W1 * W1 + V1 * V1)), W1 = t, V1 = e;
|
|
71030
71030
|
}
|
|
71031
71031
|
let ez, v_, tz, nz;
|
|
71032
71032
|
class rz {
|
|
@@ -71131,16 +71131,16 @@ function Pie(t, e) {
|
|
|
71131
71131
|
}
|
|
71132
71132
|
function SC(t) {
|
|
71133
71133
|
return function(e) {
|
|
71134
|
-
var n = new
|
|
71134
|
+
var n = new P7();
|
|
71135
71135
|
for (var r in t)
|
|
71136
71136
|
n[r] = t[r];
|
|
71137
71137
|
return n.stream = e, n;
|
|
71138
71138
|
};
|
|
71139
71139
|
}
|
|
71140
|
-
function
|
|
71140
|
+
function P7() {
|
|
71141
71141
|
}
|
|
71142
|
-
|
|
71143
|
-
constructor:
|
|
71142
|
+
P7.prototype = {
|
|
71143
|
+
constructor: P7,
|
|
71144
71144
|
point: function(t, e) {
|
|
71145
71145
|
this.stream.point(t, e);
|
|
71146
71146
|
},
|
|
@@ -71323,7 +71323,7 @@ function Mie(t) {
|
|
|
71323
71323
|
};
|
|
71324
71324
|
function q() {
|
|
71325
71325
|
var V = oz(n, 0, 0, x, d, f).apply(null, e(s, o)), ae = oz(n, r - V[0], i - V[1], x, d, f);
|
|
71326
|
-
return c = _ie(u, a, l), b =
|
|
71326
|
+
return c = _ie(u, a, l), b = R7(e, ae), C = R7(c, b), S = sz(b, _), K();
|
|
71327
71327
|
}
|
|
71328
71328
|
function K() {
|
|
71329
71329
|
return w = I = null, F;
|
|
@@ -71667,9 +71667,9 @@ function Wje() {
|
|
|
71667
71667
|
return arguments.length ? n([r[0], r[1], r.length > 2 ? r[2] + 90 : 90]) : (r = n(), [r[0], r[1], r[2] - 90]);
|
|
71668
71668
|
}, n([0, 0, 90]).scale(159.155);
|
|
71669
71669
|
}
|
|
71670
|
-
var Vje = Math.abs,
|
|
71670
|
+
var Vje = Math.abs, M7 = Math.cos, b_ = Math.sin, Yje = 1e-6, Xie = Math.PI, j7 = Xie / 2, uz = Kje(2);
|
|
71671
71671
|
function az(t) {
|
|
71672
|
-
return t > 1 ?
|
|
71672
|
+
return t > 1 ? j7 : t < -1 ? -j7 : Math.asin(t);
|
|
71673
71673
|
}
|
|
71674
71674
|
function Kje(t) {
|
|
71675
71675
|
return t > 0 ? Math.sqrt(t) : 0;
|
|
@@ -71677,23 +71677,23 @@ function Kje(t) {
|
|
|
71677
71677
|
function Xje(t, e) {
|
|
71678
71678
|
var n = t * b_(e), r = 30, i;
|
|
71679
71679
|
do
|
|
71680
|
-
e -= i = (e + b_(e) - n) / (1 +
|
|
71680
|
+
e -= i = (e + b_(e) - n) / (1 + M7(e));
|
|
71681
71681
|
while (Vje(i) > Yje && --r > 0);
|
|
71682
71682
|
return e / 2;
|
|
71683
71683
|
}
|
|
71684
71684
|
function Jje(t, e, n) {
|
|
71685
71685
|
function r(i, s) {
|
|
71686
|
-
return [t * i *
|
|
71686
|
+
return [t * i * M7(s = Xje(n, s)), e * b_(s)];
|
|
71687
71687
|
}
|
|
71688
71688
|
return r.invert = function(i, s) {
|
|
71689
|
-
return s = az(s / e), [i / (t *
|
|
71689
|
+
return s = az(s / e), [i / (t * M7(s)), az((2 * s + b_(2 * s)) / n)];
|
|
71690
71690
|
}, r;
|
|
71691
71691
|
}
|
|
71692
|
-
var Zje = Jje(uz /
|
|
71692
|
+
var Zje = Jje(uz / j7, uz, Xie);
|
|
71693
71693
|
function eUe() {
|
|
71694
71694
|
return ua(Zje).scale(169.529);
|
|
71695
71695
|
}
|
|
71696
|
-
const tUe = Pie(),
|
|
71696
|
+
const tUe = Pie(), U7 = [
|
|
71697
71697
|
// standard properties in d3-geo
|
|
71698
71698
|
"clipAngle",
|
|
71699
71699
|
"clipExtent",
|
|
@@ -71721,7 +71721,7 @@ function nUe(t, e) {
|
|
|
71721
71721
|
const r = e();
|
|
71722
71722
|
return r.type = t, r.path = Pie().projection(r), r.copy = r.copy || function() {
|
|
71723
71723
|
const i = n();
|
|
71724
|
-
return
|
|
71724
|
+
return U7.forEach((s) => {
|
|
71725
71725
|
r[s] && i[s](r[s]());
|
|
71726
71726
|
}), i.path.pointRadius(r.path.pointRadius()), i;
|
|
71727
71727
|
}, _ne(r);
|
|
@@ -72148,7 +72148,7 @@ Fe(qL, ye, {
|
|
|
72148
72148
|
return i || (i = e.materialize(e.SOURCE).source, u = ise(rse(), t)(i, !0), a = nse(u, u.scale || 1, u.scale || 1, 0, 0), o = [u.width, u.height], i = u.values), s = _e(s) ? s : s(i), i = r.size(o)(i, s), a && i.forEach(a), this.value && (n.rem = this.value), this.value = n.source = n.add = (i || []).map(jt), n;
|
|
72149
72149
|
}
|
|
72150
72150
|
});
|
|
72151
|
-
const
|
|
72151
|
+
const q7 = "Feature", zL = "FeatureCollection", hUe = "MultiPoint";
|
|
72152
72152
|
function HL(t) {
|
|
72153
72153
|
ye.call(this, null, t);
|
|
72154
72154
|
}
|
|
@@ -72172,7 +72172,7 @@ Fe(HL, ye, {
|
|
|
72172
72172
|
var f = s(c), x = o(c);
|
|
72173
72173
|
f != null && x != null && (f = +f) === f && (x = +x) === x && r.push([f, x]);
|
|
72174
72174
|
}), n = n.concat({
|
|
72175
|
-
type:
|
|
72175
|
+
type: q7,
|
|
72176
72176
|
geometry: {
|
|
72177
72177
|
type: hUe,
|
|
72178
72178
|
coordinates: r
|
|
@@ -72443,9 +72443,9 @@ function ose(t) {
|
|
|
72443
72443
|
Fe(ose, ye, {
|
|
72444
72444
|
transform(t, e) {
|
|
72445
72445
|
let n = this.value;
|
|
72446
|
-
return !n || t.modified("type") ? (this.value = n = AUe(t.type),
|
|
72446
|
+
return !n || t.modified("type") ? (this.value = n = AUe(t.type), U7.forEach((r) => {
|
|
72447
72447
|
t[r] != null && cz(n, r, t[r]);
|
|
72448
|
-
})) :
|
|
72448
|
+
})) : U7.forEach((r) => {
|
|
72449
72449
|
t.modified(r) && cz(n, r, t[r]);
|
|
72450
72450
|
}), t.pointRadius != null && n.path.pointRadius(t.pointRadius), t.fit && vUe(n, t), e.fork(e.NO_SOURCE | e.NO_FIELDS);
|
|
72451
72451
|
}
|
|
@@ -72468,8 +72468,8 @@ function _Ue(t) {
|
|
|
72468
72468
|
};
|
|
72469
72469
|
}
|
|
72470
72470
|
function SUe(t) {
|
|
72471
|
-
return t.type === zL ? t.features : je(t).filter((e) => e != null).map((e) => e.type ===
|
|
72472
|
-
type:
|
|
72471
|
+
return t.type === zL ? t.features : je(t).filter((e) => e != null).map((e) => e.type === q7 ? e : {
|
|
72472
|
+
type: q7,
|
|
72473
72473
|
geometry: e
|
|
72474
72474
|
});
|
|
72475
72475
|
}
|
|
@@ -72910,10 +72910,10 @@ R_.prototype = fse.prototype = {
|
|
|
72910
72910
|
restart: function(t, e, n) {
|
|
72911
72911
|
if (typeof t != "function")
|
|
72912
72912
|
throw new TypeError("callback is not a function");
|
|
72913
|
-
n = (n == null ? JL() : +n) + (e == null ? 0 : +e), !this._next && K1 !== this && (K1 ? K1._next = this : T_ = this, K1 = this), this._call = t, this._time = n,
|
|
72913
|
+
n = (n == null ? JL() : +n) + (e == null ? 0 : +e), !this._next && K1 !== this && (K1 ? K1._next = this : T_ = this, K1 = this), this._call = t, this._time = n, z7();
|
|
72914
72914
|
},
|
|
72915
72915
|
stop: function() {
|
|
72916
|
-
this._call && (this._call = null, this._time = 1 / 0,
|
|
72916
|
+
this._call && (this._call = null, this._time = 1 / 0, z7());
|
|
72917
72917
|
}
|
|
72918
72918
|
};
|
|
72919
72919
|
function fse(t, e, n) {
|
|
@@ -72941,9 +72941,9 @@ function JUe() {
|
|
|
72941
72941
|
function ZUe() {
|
|
72942
72942
|
for (var t, e = T_, n, r = 1 / 0; e; )
|
|
72943
72943
|
e._call ? (r > e._time && (r = e._time), t = e, e = e._next) : (n = e._next, e._next = null, e = t ? t._next = n : T_ = n);
|
|
72944
|
-
K1 = t,
|
|
72944
|
+
K1 = t, z7(r);
|
|
72945
72945
|
}
|
|
72946
|
-
function
|
|
72946
|
+
function z7(t) {
|
|
72947
72947
|
if (!Dh) {
|
|
72948
72948
|
Y1 && (Y1 = clearTimeout(Y1));
|
|
72949
72949
|
var e = t - Hf;
|
|
@@ -73145,7 +73145,7 @@ const gz = {
|
|
|
73145
73145
|
link: GUe,
|
|
73146
73146
|
x: cqe,
|
|
73147
73147
|
y: fqe
|
|
73148
|
-
}, X1 = "forces",
|
|
73148
|
+
}, X1 = "forces", H7 = ["alpha", "alphaMin", "alphaTarget", "velocityDecay", "forces"], xqe = ["static", "iterations"], xse = ["x", "y", "vx", "vy"];
|
|
73149
73149
|
function ZL(t) {
|
|
73150
73150
|
ye.call(this, null, t);
|
|
73151
73151
|
}
|
|
@@ -73295,7 +73295,7 @@ ZL.Definition = {
|
|
|
73295
73295
|
};
|
|
73296
73296
|
Fe(ZL, ye, {
|
|
73297
73297
|
transform(t, e) {
|
|
73298
|
-
var n = this.value, r = e.changed(e.ADD_REM), i = t.modified(
|
|
73298
|
+
var n = this.value, r = e.changed(e.ADD_REM), i = t.modified(H7), s = t.iterations || 300;
|
|
73299
73299
|
if (n ? (r && (e.modifies("index"), n.nodes(e.source)), (i || e.changed(e.MOD)) && dse(n, t, 0, e)) : (this.value = n = hqe(e.source, t), n.on("tick", dqe(e.dataflow, this)), t.static || (r = !0, n.tick()), e.modifies("index")), i || r || t.modified(xqe) || e.changed() && t.restart) {
|
|
73300
73300
|
if (n.alpha(Math.max(n.alpha(), t.alpha || 1)).alphaDecay(1 - Math.pow(n.alphaMin(), 1 / s)), t.static)
|
|
73301
73301
|
for (n.stop(); --s >= 0; )
|
|
@@ -73328,8 +73328,8 @@ function hqe(t, e) {
|
|
|
73328
73328
|
}
|
|
73329
73329
|
function dse(t, e, n, r) {
|
|
73330
73330
|
var i = je(e.forces), s, o, u, a;
|
|
73331
|
-
for (s = 0, o =
|
|
73332
|
-
u =
|
|
73331
|
+
for (s = 0, o = H7.length; s < o; ++s)
|
|
73332
|
+
u = H7[s], u !== X1 && e.modified(u) && t[u](e[u]);
|
|
73333
73333
|
for (s = 0, o = i.length; s < o; ++s)
|
|
73334
73334
|
a = X1 + s, u = n || e.modified(X1, s) ? gqe(i[s]) : r && pqe(i[s], r) ? t.force(a) : null, u && t.force(a, u);
|
|
73335
73335
|
for (o = t.numForces || 0; s < o; ++s)
|
|
@@ -73820,17 +73820,17 @@ function bz() {
|
|
|
73820
73820
|
function aze(t) {
|
|
73821
73821
|
t = `${t}`;
|
|
73822
73822
|
let e = t.length;
|
|
73823
|
-
return
|
|
73823
|
+
return Q7(t, e - 1) && !Q7(t, e - 2) && (t = t.slice(0, -1)), t[0] === "/" ? t : `/${t}`;
|
|
73824
73824
|
}
|
|
73825
73825
|
function Cz(t) {
|
|
73826
73826
|
let e = t.length;
|
|
73827
73827
|
if (e < 2)
|
|
73828
73828
|
return "";
|
|
73829
|
-
for (; --e > 1 && !
|
|
73829
|
+
for (; --e > 1 && !Q7(t, e); )
|
|
73830
73830
|
;
|
|
73831
73831
|
return t.slice(0, e);
|
|
73832
73832
|
}
|
|
73833
|
-
function
|
|
73833
|
+
function Q7(t, e) {
|
|
73834
73834
|
if (t[e] === "/") {
|
|
73835
73835
|
let n = 0;
|
|
73836
73836
|
for (; e > 0 && t[--e] === "\\"; )
|
|
@@ -74028,7 +74028,7 @@ const yze = function t(e) {
|
|
|
74028
74028
|
return t((r = +r) > 1 ? r : 1);
|
|
74029
74029
|
}, n;
|
|
74030
74030
|
}(Ese);
|
|
74031
|
-
function
|
|
74031
|
+
function G7(t, e, n) {
|
|
74032
74032
|
const r = {};
|
|
74033
74033
|
return t.each((i) => {
|
|
74034
74034
|
const s = i.data;
|
|
@@ -74064,7 +74064,7 @@ Fe(tI, ye, {
|
|
|
74064
74064
|
values: je(t.keys).reduce((o, u) => (o.key(u), o), vze()).entries(i.source)
|
|
74065
74065
|
}, Eze), n && s.each((o) => {
|
|
74066
74066
|
o.children && (o = jt(o.data), i.add.push(o), i.source.push(o));
|
|
74067
|
-
}),
|
|
74067
|
+
}), G7(s, tt, tt)), i.source.root = s, i;
|
|
74068
74068
|
}
|
|
74069
74069
|
});
|
|
74070
74070
|
function vze() {
|
|
@@ -74123,7 +74123,7 @@ function Sze(t, e, n) {
|
|
|
74123
74123
|
r[n[s]] = t[e[s]];
|
|
74124
74124
|
r[n[i]] = t.children ? t.children.length : 0;
|
|
74125
74125
|
}
|
|
74126
|
-
const
|
|
74126
|
+
const W7 = ["x", "y", "r", "depth", "children"];
|
|
74127
74127
|
function nI(t) {
|
|
74128
74128
|
Tl.call(this, t);
|
|
74129
74129
|
}
|
|
@@ -74156,16 +74156,16 @@ nI.Definition = {
|
|
|
74156
74156
|
name: "as",
|
|
74157
74157
|
type: "string",
|
|
74158
74158
|
array: !0,
|
|
74159
|
-
length:
|
|
74160
|
-
default:
|
|
74159
|
+
length: W7.length,
|
|
74160
|
+
default: W7
|
|
74161
74161
|
}]
|
|
74162
74162
|
};
|
|
74163
74163
|
Fe(nI, Tl, {
|
|
74164
74164
|
layout: rze,
|
|
74165
74165
|
params: ["radius", "size", "padding"],
|
|
74166
|
-
fields:
|
|
74166
|
+
fields: W7
|
|
74167
74167
|
});
|
|
74168
|
-
const
|
|
74168
|
+
const V7 = ["x0", "y0", "x1", "y1", "depth", "children"];
|
|
74169
74169
|
function rI(t) {
|
|
74170
74170
|
Tl.call(this, t);
|
|
74171
74171
|
}
|
|
@@ -74198,14 +74198,14 @@ rI.Definition = {
|
|
|
74198
74198
|
name: "as",
|
|
74199
74199
|
type: "string",
|
|
74200
74200
|
array: !0,
|
|
74201
|
-
length:
|
|
74202
|
-
default:
|
|
74201
|
+
length: V7.length,
|
|
74202
|
+
default: V7
|
|
74203
74203
|
}]
|
|
74204
74204
|
};
|
|
74205
74205
|
Fe(rI, Tl, {
|
|
74206
74206
|
layout: ize,
|
|
74207
74207
|
params: ["size", "round", "padding"],
|
|
74208
|
-
fields:
|
|
74208
|
+
fields: V7
|
|
74209
74209
|
});
|
|
74210
74210
|
function iI(t) {
|
|
74211
74211
|
ye.call(this, null, t);
|
|
@@ -74230,13 +74230,13 @@ Fe(iI, ye, {
|
|
|
74230
74230
|
e.source || Ae("Stratify transform requires an upstream data source.");
|
|
74231
74231
|
let n = this.value;
|
|
74232
74232
|
const r = t.modified(), i = e.fork(e.ALL).materialize(e.SOURCE), s = !n || r || e.changed(e.ADD_REM) || e.modified(t.key.fields) || e.modified(t.parentKey.fields);
|
|
74233
|
-
return i.source = i.source.slice(), s && (n = i.source.length ?
|
|
74233
|
+
return i.source = i.source.slice(), s && (n = i.source.length ? G7(bz().id(t.key).parentId(t.parentKey)(i.source), t.key, Fo) : G7(bz()([{}]), t.key, t.key)), i.source.root = this.value = n, i;
|
|
74234
74234
|
}
|
|
74235
74235
|
});
|
|
74236
74236
|
const Tz = {
|
|
74237
74237
|
tidy: hze,
|
|
74238
74238
|
cluster: Tqe
|
|
74239
|
-
},
|
|
74239
|
+
}, Y7 = ["x", "y", "depth", "children"];
|
|
74240
74240
|
function sI(t) {
|
|
74241
74241
|
Tl.call(this, t);
|
|
74242
74242
|
}
|
|
@@ -74275,8 +74275,8 @@ sI.Definition = {
|
|
|
74275
74275
|
name: "as",
|
|
74276
74276
|
type: "string",
|
|
74277
74277
|
array: !0,
|
|
74278
|
-
length:
|
|
74279
|
-
default:
|
|
74278
|
+
length: Y7.length,
|
|
74279
|
+
default: Y7
|
|
74280
74280
|
}]
|
|
74281
74281
|
};
|
|
74282
74282
|
Fe(sI, Tl, {
|
|
@@ -74290,7 +74290,7 @@ Fe(sI, Tl, {
|
|
|
74290
74290
|
Ae("Unrecognized Tree layout method: " + e);
|
|
74291
74291
|
},
|
|
74292
74292
|
params: ["size", "nodeSize"],
|
|
74293
|
-
fields:
|
|
74293
|
+
fields: Y7
|
|
74294
74294
|
});
|
|
74295
74295
|
function oI(t) {
|
|
74296
74296
|
ye.call(this, [], t);
|
|
@@ -74325,7 +74325,7 @@ const Oz = {
|
|
|
74325
74325
|
slicedice: mze,
|
|
74326
74326
|
squarify: Ase,
|
|
74327
74327
|
resquarify: yze
|
|
74328
|
-
},
|
|
74328
|
+
}, K7 = ["x0", "y0", "x1", "y1", "depth", "children"];
|
|
74329
74329
|
function uI(t) {
|
|
74330
74330
|
Tl.call(this, t);
|
|
74331
74331
|
}
|
|
@@ -74391,8 +74391,8 @@ uI.Definition = {
|
|
|
74391
74391
|
name: "as",
|
|
74392
74392
|
type: "string",
|
|
74393
74393
|
array: !0,
|
|
74394
|
-
length:
|
|
74395
|
-
default:
|
|
74394
|
+
length: K7.length,
|
|
74395
|
+
default: K7
|
|
74396
74396
|
}]
|
|
74397
74397
|
};
|
|
74398
74398
|
Fe(uI, Tl, {
|
|
@@ -74410,7 +74410,7 @@ Fe(uI, Tl, {
|
|
|
74410
74410
|
}, t;
|
|
74411
74411
|
},
|
|
74412
74412
|
params: ["method", "ratio", "size", "round", "padding", "paddingInner", "paddingOuter", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft"],
|
|
74413
|
-
fields:
|
|
74413
|
+
fields: K7
|
|
74414
74414
|
});
|
|
74415
74415
|
const bze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
74416
74416
|
__proto__: null,
|
|
@@ -74695,7 +74695,7 @@ function Hze(t, e, n, r) {
|
|
|
74695
74695
|
return [o.x1, (o.x1 + o.x2) / 2, o.x2, o.y1, (o.y1 + o.y2) / 2, o.y2];
|
|
74696
74696
|
} : i;
|
|
74697
74697
|
}
|
|
74698
|
-
const
|
|
74698
|
+
const X7 = ["x", "y", "opacity", "align", "baseline"], _se = ["top-left", "left", "bottom-left", "top", "bottom", "top-right", "right", "bottom-right"];
|
|
74699
74699
|
function aI(t) {
|
|
74700
74700
|
ye.call(this, null, t);
|
|
74701
74701
|
}
|
|
@@ -74753,8 +74753,8 @@ aI.Definition = {
|
|
|
74753
74753
|
name: "as",
|
|
74754
74754
|
type: "string",
|
|
74755
74755
|
array: !0,
|
|
74756
|
-
length:
|
|
74757
|
-
default:
|
|
74756
|
+
length: X7.length,
|
|
74757
|
+
default: X7
|
|
74758
74758
|
}]
|
|
74759
74759
|
};
|
|
74760
74760
|
Fe(aI, ye, {
|
|
@@ -74767,7 +74767,7 @@ Fe(aI, ye, {
|
|
|
74767
74767
|
if (!(r || e.changed(e.ADD_REM) || n("sort")))
|
|
74768
74768
|
return;
|
|
74769
74769
|
(!t.size || t.size.length !== 2) && Ae("Size parameter should be specified as a [width, height] array.");
|
|
74770
|
-
const i = t.as ||
|
|
74770
|
+
const i = t.as || X7;
|
|
74771
74771
|
return jze(e.materialize(e.SOURCE).source || [], t.size, t.sort, je(t.offset == null ? 1 : t.offset), je(t.anchor || _se), t.avoidMarks || [], t.avoidBaseMark !== !1, t.lineAnchor || "end", t.markIndex || 0, t.padding === void 0 ? 0 : t.padding, t.method || "naive").forEach((s) => {
|
|
74772
74772
|
const o = s.datum;
|
|
74773
74773
|
o[i[0]] = s.x, o[i[1]] = s.y, o[i[2]] = s.opacity, o[i[3]] = s.align, o[i[4]] = s.baseline;
|
|
@@ -74836,7 +74836,7 @@ Fe(lI, ye, {
|
|
|
74836
74836
|
return n;
|
|
74837
74837
|
}
|
|
74838
74838
|
});
|
|
74839
|
-
const
|
|
74839
|
+
const J7 = {
|
|
74840
74840
|
linear: Pee,
|
|
74841
74841
|
log: F9e,
|
|
74842
74842
|
exp: L9e,
|
|
@@ -74868,7 +74868,7 @@ cI.Definition = {
|
|
|
74868
74868
|
name: "method",
|
|
74869
74869
|
type: "string",
|
|
74870
74870
|
default: "linear",
|
|
74871
|
-
values: Object.keys(
|
|
74871
|
+
values: Object.keys(J7)
|
|
74872
74872
|
}, {
|
|
74873
74873
|
name: "order",
|
|
74874
74874
|
type: "number",
|
|
@@ -74892,9 +74892,9 @@ Fe(cI, ye, {
|
|
|
74892
74892
|
transform(t, e) {
|
|
74893
74893
|
const n = e.fork(e.NO_SOURCE | e.NO_FIELDS);
|
|
74894
74894
|
if (!this.value || e.changed() || t.modified()) {
|
|
74895
|
-
const r = e.materialize(e.SOURCE).source, i = Sse(r, t.groupby), s = (t.groupby || []).map(wn), o = t.method || "linear", u = t.order || 3, a = Gze(o, u), l = t.as || [wn(t.x), wn(t.y)], c =
|
|
74895
|
+
const r = e.materialize(e.SOURCE).source, i = Sse(r, t.groupby), s = (t.groupby || []).map(wn), o = t.method || "linear", u = t.order || 3, a = Gze(o, u), l = t.as || [wn(t.x), wn(t.y)], c = J7[o], f = [];
|
|
74896
74896
|
let x = t.extent;
|
|
74897
|
-
nt(
|
|
74897
|
+
nt(J7, o) || Ae("Invalid regression method: " + o), x != null && o === "log" && x[0] <= 0 && (e.dataflow.warn("Ignoring extent with values <= 0 for log regression."), x = null), i.forEach((d) => {
|
|
74898
74898
|
if (d.length <= a) {
|
|
74899
74899
|
e.dataflow.warn("Skipping regression with more parameters than data points.");
|
|
74900
74900
|
return;
|
|
@@ -75216,7 +75216,7 @@ class nf {
|
|
|
75216
75216
|
return this._ || null;
|
|
75217
75217
|
}
|
|
75218
75218
|
}
|
|
75219
|
-
class
|
|
75219
|
+
class Z7 {
|
|
75220
75220
|
constructor() {
|
|
75221
75221
|
this._ = [];
|
|
75222
75222
|
}
|
|
@@ -75311,7 +75311,7 @@ let oHe = class {
|
|
|
75311
75311
|
}
|
|
75312
75312
|
}
|
|
75313
75313
|
cellPolygon(e) {
|
|
75314
|
-
const n = new
|
|
75314
|
+
const n = new Z7();
|
|
75315
75315
|
return this.renderCell(e, n), n.value();
|
|
75316
75316
|
}
|
|
75317
75317
|
_renderSegment(e, n, r, i, s) {
|
|
@@ -75611,7 +75611,7 @@ class fI {
|
|
|
75611
75611
|
return e.closePath(), n && n.value();
|
|
75612
75612
|
}
|
|
75613
75613
|
hullPolygon() {
|
|
75614
|
-
const e = new
|
|
75614
|
+
const e = new Z7();
|
|
75615
75615
|
return this.renderHull(e), e.value();
|
|
75616
75616
|
}
|
|
75617
75617
|
renderTriangle(e, n) {
|
|
@@ -75624,7 +75624,7 @@ class fI {
|
|
|
75624
75624
|
yield this.trianglePolygon(n);
|
|
75625
75625
|
}
|
|
75626
75626
|
trianglePolygon(e) {
|
|
75627
|
-
const n = new
|
|
75627
|
+
const n = new Z7();
|
|
75628
75628
|
return this.renderTriangle(e, n), n.value();
|
|
75629
75629
|
}
|
|
75630
75630
|
}
|
|
@@ -77703,7 +77703,7 @@ const lm = {
|
|
|
77703
77703
|
panSymlog: Nwe,
|
|
77704
77704
|
zoomLinear: gZ,
|
|
77705
77705
|
zoomLog: mZ,
|
|
77706
|
-
zoomPow:
|
|
77706
|
+
zoomPow: ND,
|
|
77707
77707
|
zoomSymlog: yZ,
|
|
77708
77708
|
encode: xGe,
|
|
77709
77709
|
modify: $Ge,
|
|
@@ -80014,7 +80014,7 @@ function tXe(t, e) {
|
|
|
80014
80014
|
}
|
|
80015
80015
|
function nXe(t, e) {
|
|
80016
80016
|
let n = t.type || xH;
|
|
80017
|
-
return !t.type && rXe(t) === 1 && (t.fill || t.stroke) && (n = Y9(e) ? Rv :
|
|
80017
|
+
return !t.type && rXe(t) === 1 && (t.fill || t.stroke) && (n = Y9(e) ? Rv : r7(e) ? xw : xH), n !== Rv ? n : r7(e) ? xw : Rv;
|
|
80018
80018
|
}
|
|
80019
80019
|
function rXe(t) {
|
|
80020
80020
|
return MI.reduce((e, n) => e + (t[n] ? 1 : 0), 0);
|
|
@@ -149823,12 +149823,14 @@ function Iat() {
|
|
|
149823
149823
|
return {
|
|
149824
149824
|
get: (e) => {
|
|
149825
149825
|
if (!t.has(e) && e.isArray()) {
|
|
149826
|
-
const n = [];
|
|
149827
|
-
for (const
|
|
149828
|
-
const
|
|
149829
|
-
|
|
149830
|
-
|
|
149831
|
-
|
|
149826
|
+
const n = [], r = e.field.allFields;
|
|
149827
|
+
for (const i of e) {
|
|
149828
|
+
const s = { __malloyDataRecord: i };
|
|
149829
|
+
for (const o of r) {
|
|
149830
|
+
const u = i.cell(o).value;
|
|
149831
|
+
s[o.name] = u instanceof Date ? u.valueOf() : i.cell(o).value;
|
|
149832
|
+
}
|
|
149833
|
+
n.push(s);
|
|
149832
149834
|
}
|
|
149833
149835
|
t.set(e, n);
|
|
149834
149836
|
}
|