@graphysdk/react 1.9.0-beta.1791545054682 → 1.9.0-beta.1791545910919
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/editable.browser.mjs +587 -584
- package/dist/index.browser.mjs +9 -6
- package/package.json +6 -6
|
@@ -4334,10 +4334,10 @@ var ks = (e, t) => {
|
|
|
4334
4334
|
if (i !== void 0 && r(i)) return o;
|
|
4335
4335
|
}
|
|
4336
4336
|
return -1;
|
|
4337
|
-
},
|
|
4337
|
+
}, ek = (e, t, n) => {
|
|
4338
4338
|
const r = nm(e, t, n);
|
|
4339
4339
|
return e.filter((o, i) => i !== r);
|
|
4340
|
-
},
|
|
4340
|
+
}, tk = (e, t, n) => {
|
|
4341
4341
|
const r = K8(t, n);
|
|
4342
4342
|
let o;
|
|
4343
4343
|
for (const i of e)
|
|
@@ -4346,7 +4346,7 @@ var ks = (e, t) => {
|
|
|
4346
4346
|
for (const [a, s] of Object.entries(i.declarations)) s !== void 0 && (o[a] = s);
|
|
4347
4347
|
}
|
|
4348
4348
|
return o;
|
|
4349
|
-
}, Lw = (e, t, n) =>
|
|
4349
|
+
}, Lw = (e, t, n) => tk(e, t, n), _w = (e, t) => zl(e) === zl(t), K8 = (e, t) => {
|
|
4350
4350
|
const n = zl(e), r = jR(e) !== void 0;
|
|
4351
4351
|
return (o) => {
|
|
4352
4352
|
const i = jR(o);
|
|
@@ -4365,13 +4365,13 @@ var ks = (e, t) => {
|
|
|
4365
4365
|
e.when?.state ?? null,
|
|
4366
4366
|
n
|
|
4367
4367
|
]);
|
|
4368
|
-
},
|
|
4368
|
+
}, nk = (e, t) => [.../* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])].every((n) => lse(e[n], t[n])), Wl = (e, t) => ({ select: {
|
|
4369
4369
|
target: "geom",
|
|
4370
4370
|
kind: e,
|
|
4371
4371
|
layer: t
|
|
4372
|
-
} }),
|
|
4372
|
+
} }), rk = (e) => e.select.target === "geom", db = (e, t, n) => {
|
|
4373
4373
|
const r = ui(e, t, n);
|
|
4374
|
-
if (!(r === void 0 || !
|
|
4374
|
+
if (!(r === void 0 || !rk(r)))
|
|
4375
4375
|
return r.declarations;
|
|
4376
4376
|
}, jR = (e) => e.select.coord, lse = (e, t) => e === t ? !0 : sc(e) ? sc(t) && e.light === t.light && e.dark === t.dark : oy(e) ? oy(t) && e.token === t.token : !1;
|
|
4377
4377
|
var fb = !0, cse = (e) => {
|
|
@@ -4397,7 +4397,7 @@ var fb = !0, cse = (e) => {
|
|
|
4397
4397
|
e = null;
|
|
4398
4398
|
}
|
|
4399
4399
|
});
|
|
4400
|
-
},
|
|
4400
|
+
}, ok = () => {
|
|
4401
4401
|
const e = /* @__PURE__ */ new WeakMap();
|
|
4402
4402
|
return Object.assign((r, o, i) => {
|
|
4403
4403
|
if (!fb)
|
|
@@ -4432,7 +4432,7 @@ var fb = !0, cse = (e) => {
|
|
|
4432
4432
|
return !0;
|
|
4433
4433
|
}, zs = class {
|
|
4434
4434
|
constructor() {
|
|
4435
|
-
this.memo =
|
|
4435
|
+
this.memo = ok(), this.singletonKey = {};
|
|
4436
4436
|
}
|
|
4437
4437
|
get stats() {
|
|
4438
4438
|
return this.memo.stats;
|
|
@@ -4556,11 +4556,11 @@ var zo = (e, t) => {
|
|
|
4556
4556
|
function t7(e) {
|
|
4557
4557
|
return e.length > 0 && e.every((t) => t.data.size() === 0);
|
|
4558
4558
|
}
|
|
4559
|
-
function
|
|
4559
|
+
function ik(e, t) {
|
|
4560
4560
|
return t !== null && e.data.hasVariable(t) ? e.data.getValueFormat(t) : fse;
|
|
4561
4561
|
}
|
|
4562
4562
|
function hse(e) {
|
|
4563
|
-
return
|
|
4563
|
+
return ik(e, pe(e.mapping.y));
|
|
4564
4564
|
}
|
|
4565
4565
|
function n7(e, t) {
|
|
4566
4566
|
const n = qR(t);
|
|
@@ -4586,7 +4586,7 @@ function o7(e, t) {
|
|
|
4586
4586
|
}), r = pe(n), o = r === ue.yRaw ? pe(e.mapping.y) : r;
|
|
4587
4587
|
return {
|
|
4588
4588
|
read: Sc(e.data, n),
|
|
4589
|
-
valueFormat:
|
|
4589
|
+
valueFormat: ik(e, o)
|
|
4590
4590
|
};
|
|
4591
4591
|
}
|
|
4592
4592
|
var i7 = (e) => {
|
|
@@ -4833,7 +4833,7 @@ var Sse = (e, t, n, r, o, i, a) => {
|
|
|
4833
4833
|
y: 1 - t.y - t.height,
|
|
4834
4834
|
width: t.width,
|
|
4835
4835
|
height: t.height
|
|
4836
|
-
},
|
|
4836
|
+
}, ak = (e, t, n) => Dw(e, t, n)?.point ?? null, Dw = ({ container: e, layers: t, coordSystem: n, parsingLocale: r }, o, i) => {
|
|
4837
4837
|
for (const a of t) {
|
|
4838
4838
|
const s = e.geomRegistry.get(a.geom), { resolveAnchorPosition: l } = s;
|
|
4839
4839
|
if (l === void 0 || o.layerId !== void 0 && a.id !== o.layerId || o.layerId === void 0 && !a.interactive) continue;
|
|
@@ -4921,7 +4921,7 @@ var Sse = (e, t, n, r, o, i, a) => {
|
|
|
4921
4921
|
}
|
|
4922
4922
|
};
|
|
4923
4923
|
case "observation":
|
|
4924
|
-
return
|
|
4924
|
+
return ak(e, Pse(t), n);
|
|
4925
4925
|
}
|
|
4926
4926
|
}, Ese = (e, t, n) => {
|
|
4927
4927
|
if (t === void 0 || n.type === "polar") return e;
|
|
@@ -5141,7 +5141,7 @@ var Sse = (e, t, n, r, o, i, a) => {
|
|
|
5141
5141
|
}, Vse = (e, t) => {
|
|
5142
5142
|
const n = [];
|
|
5143
5143
|
for (const r of t) {
|
|
5144
|
-
const o =
|
|
5144
|
+
const o = ak(e, r.at, "pin");
|
|
5145
5145
|
if (o === null) {
|
|
5146
5146
|
Vi(e.warnings, "pinnedNumber", r.id, "matches no observation");
|
|
5147
5147
|
continue;
|
|
@@ -5155,7 +5155,7 @@ var Sse = (e, t, n, r, o, i, a) => {
|
|
|
5155
5155
|
}, Hse = (e, t) => {
|
|
5156
5156
|
const n = [];
|
|
5157
5157
|
for (const r of t) {
|
|
5158
|
-
const o =
|
|
5158
|
+
const o = ak(e, r.at, "pin");
|
|
5159
5159
|
if (o === null) {
|
|
5160
5160
|
Vi(e.warnings, "comment", r.id, "matches no observation");
|
|
5161
5161
|
continue;
|
|
@@ -5757,7 +5757,7 @@ var Zse = class extends zs {
|
|
|
5757
5757
|
}
|
|
5758
5758
|
}, Rc = class {
|
|
5759
5759
|
constructor() {
|
|
5760
|
-
this.perLayerMemo =
|
|
5760
|
+
this.perLayerMemo = ok(), this.listMemo = Y8();
|
|
5761
5761
|
}
|
|
5762
5762
|
get stats() {
|
|
5763
5763
|
return q8(this.perLayerMemo.stats, this.listMemo.stats);
|
|
@@ -6293,7 +6293,7 @@ sy.every = function(e) {
|
|
|
6293
6293
|
return (n - t) / e;
|
|
6294
6294
|
}) : sy;
|
|
6295
6295
|
};
|
|
6296
|
-
var Ust = sy.range, Oa = 1e3, Io = Oa * 60, La = Io * 60, uc = La * 24,
|
|
6296
|
+
var Ust = sy.range, Oa = 1e3, Io = Oa * 60, La = Io * 60, uc = La * 24, sk = uc * 7, nI = uc * 30, Mx = uc * 365, Ou = Qn(function(e) {
|
|
6297
6297
|
e.setTime(e - e.getMilliseconds());
|
|
6298
6298
|
}, function(e, t) {
|
|
6299
6299
|
e.setTime(+e + t * Oa);
|
|
@@ -6324,10 +6324,10 @@ function Ic(e) {
|
|
|
6324
6324
|
}, function(t, n) {
|
|
6325
6325
|
t.setDate(t.getDate() + n * 7);
|
|
6326
6326
|
}, function(t, n) {
|
|
6327
|
-
return (n - t - (n.getTimezoneOffset() - t.getTimezoneOffset()) * Io) /
|
|
6327
|
+
return (n - t - (n.getTimezoneOffset() - t.getTimezoneOffset()) * Io) / sk;
|
|
6328
6328
|
});
|
|
6329
6329
|
}
|
|
6330
|
-
var
|
|
6330
|
+
var lk = Ic(0), ly = Ic(1), Wle = Ic(2), Gle = Ic(3), ad = Ic(4), Ule = Ic(5), jle = Ic(6), Xst = lk.range, Jst = ly.range, Qst = Wle.range, Zst = Gle.range, elt = ad.range, tlt = Ule.range, nlt = jle.range, A7 = Qn(function(e) {
|
|
6331
6331
|
e.setDate(1), e.setHours(0, 0, 0, 0);
|
|
6332
6332
|
}, function(e, t) {
|
|
6333
6333
|
e.setMonth(e.getMonth() + t);
|
|
@@ -6351,7 +6351,7 @@ Ds.every = function(e) {
|
|
|
6351
6351
|
t.setFullYear(t.getFullYear() + n * e);
|
|
6352
6352
|
});
|
|
6353
6353
|
};
|
|
6354
|
-
var olt = Ds.range,
|
|
6354
|
+
var olt = Ds.range, ck = Qn(function(e) {
|
|
6355
6355
|
e.setUTCSeconds(0, 0);
|
|
6356
6356
|
}, function(e, t) {
|
|
6357
6357
|
e.setTime(+e + t * Io);
|
|
@@ -6359,7 +6359,7 @@ var olt = Ds.range, c2 = Qn(function(e) {
|
|
|
6359
6359
|
return (t - e) / Io;
|
|
6360
6360
|
}, function(e) {
|
|
6361
6361
|
return e.getUTCMinutes();
|
|
6362
|
-
}), ilt =
|
|
6362
|
+
}), ilt = ck.range, yb = Qn(function(e) {
|
|
6363
6363
|
e.setUTCMinutes(0, 0, 0);
|
|
6364
6364
|
}, function(e, t) {
|
|
6365
6365
|
e.setTime(+e + t * La);
|
|
@@ -6382,7 +6382,7 @@ function Oc(e) {
|
|
|
6382
6382
|
}, function(t, n) {
|
|
6383
6383
|
t.setUTCDate(t.getUTCDate() + n * 7);
|
|
6384
6384
|
}, function(t, n) {
|
|
6385
|
-
return (n - t) /
|
|
6385
|
+
return (n - t) / sk;
|
|
6386
6386
|
});
|
|
6387
6387
|
}
|
|
6388
6388
|
var bb = Oc(0), ep = Oc(1), Kle = Oc(2), Yle = Oc(3), sd = Oc(4), qle = Oc(5), Xle = Oc(6), llt = bb.range, clt = ep.range, ult = Kle.range, dlt = Yle.range, flt = sd.range, hlt = qle.range, plt = Xle.range, xb = Qn(function(e) {
|
|
@@ -6413,7 +6413,7 @@ var glt = Ji.range;
|
|
|
6413
6413
|
function C7(e, t) {
|
|
6414
6414
|
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
|
|
6415
6415
|
}
|
|
6416
|
-
function
|
|
6416
|
+
function uk(e) {
|
|
6417
6417
|
let t = e, n = e;
|
|
6418
6418
|
e.length === 1 && (t = (a, s) => e(a) - s, n = Jle(e));
|
|
6419
6419
|
function r(a, s, l, c) {
|
|
@@ -6447,7 +6447,7 @@ function Jle(e) {
|
|
|
6447
6447
|
function Qle(e) {
|
|
6448
6448
|
return e === null ? NaN : +e;
|
|
6449
6449
|
}
|
|
6450
|
-
var k7 =
|
|
6450
|
+
var k7 = uk(C7), Zle = k7.right, vlt = k7.left, ylt = uk(Qle).center, rI = class extends Map {
|
|
6451
6451
|
constructor(e, t = nce) {
|
|
6452
6452
|
if (super(), Object.defineProperties(this, {
|
|
6453
6453
|
_intern: { value: /* @__PURE__ */ new Map() },
|
|
@@ -6585,7 +6585,7 @@ function M7(e, t, n, r, o, i) {
|
|
|
6585
6585
|
[
|
|
6586
6586
|
n,
|
|
6587
6587
|
1,
|
|
6588
|
-
|
|
6588
|
+
sk
|
|
6589
6589
|
],
|
|
6590
6590
|
[
|
|
6591
6591
|
t,
|
|
@@ -6610,7 +6610,7 @@ function M7(e, t, n, r, o, i) {
|
|
|
6610
6610
|
return f ? p.reverse() : p;
|
|
6611
6611
|
}
|
|
6612
6612
|
function l(c, u, d) {
|
|
6613
|
-
const f = Math.abs(u - c) / d, h =
|
|
6613
|
+
const f = Math.abs(u - c) / d, h = uk(([, , v]) => v).right(a, f);
|
|
6614
6614
|
if (h === a.length) return e.every(zw(c / Mx, u / Mx, d));
|
|
6615
6615
|
if (h === 0) return sy.every(Math.max(zw(c, u, d), 1));
|
|
6616
6616
|
const [p, g] = a[f / a[h - 1][2] < a[h][2] / f ? h - 1 : h];
|
|
@@ -6618,7 +6618,7 @@ function M7(e, t, n, r, o, i) {
|
|
|
6618
6618
|
}
|
|
6619
6619
|
return [s, l];
|
|
6620
6620
|
}
|
|
6621
|
-
var [oce, ice] = M7(Ji, xb, bb, Nd, yb,
|
|
6621
|
+
var [oce, ice] = M7(Ji, xb, bb, Nd, yb, ck), [blt, xlt] = M7(Ds, A7, lk, vb, T7, w7), ace = [
|
|
6622
6622
|
{
|
|
6623
6623
|
unit: "year",
|
|
6624
6624
|
step: 1e3
|
|
@@ -6967,14 +6967,14 @@ function O7({ layers: e, aesthetics: t, layerFilter: n }) {
|
|
|
6967
6967
|
}
|
|
6968
6968
|
return (o) => r.get(Rt(o));
|
|
6969
6969
|
}
|
|
6970
|
-
var
|
|
6970
|
+
var dk = (e) => {
|
|
6971
6971
|
if (e.kind === "identity") return !1;
|
|
6972
6972
|
const t = e.spec.scaleType;
|
|
6973
6973
|
return t !== "continuous" && t !== "datetime";
|
|
6974
6974
|
};
|
|
6975
6975
|
function Ece({ scales: e, layers: t, valueLabels: n }) {
|
|
6976
6976
|
const r = e.color;
|
|
6977
|
-
if (r === void 0 || !
|
|
6977
|
+
if (r === void 0 || !dk(r)) return [];
|
|
6978
6978
|
if (!t.some((s) => he(s.mapping.color))) return [];
|
|
6979
6979
|
const o = lc(t, "color");
|
|
6980
6980
|
if (L7({
|
|
@@ -7010,7 +7010,7 @@ function Mce(e, t, n) {
|
|
|
7010
7010
|
for (const r of pb) {
|
|
7011
7011
|
if (r === "color") continue;
|
|
7012
7012
|
const o = e[r];
|
|
7013
|
-
if (!(o === void 0 || !
|
|
7013
|
+
if (!(o === void 0 || !dk(o)) && lc(t, r) === n)
|
|
7014
7014
|
return !0;
|
|
7015
7015
|
}
|
|
7016
7016
|
return !1;
|
|
@@ -7183,7 +7183,7 @@ function om(e, t) {
|
|
|
7183
7183
|
function Sb(e, t) {
|
|
7184
7184
|
return t.filter((n) => n !== e && !n.interactive && q4(e.mapping, n.mapping));
|
|
7185
7185
|
}
|
|
7186
|
-
function
|
|
7186
|
+
function fk(e, t) {
|
|
7187
7187
|
return t.find((n) => n.interactive && om(e, [n])) ?? e;
|
|
7188
7188
|
}
|
|
7189
7189
|
function N7(e) {
|
|
@@ -7198,7 +7198,7 @@ function B7({ legendPosition: e, coordSystem: t, layers: n }) {
|
|
|
7198
7198
|
const r = F7(n);
|
|
7199
7199
|
return r.length === 1 && r[0]?.supportsDirectLabels === !0;
|
|
7200
7200
|
}
|
|
7201
|
-
var uI = ["cartesian", "polar"],
|
|
7201
|
+
var uI = ["cartesian", "polar"], hk = [
|
|
7202
7202
|
"kind",
|
|
7203
7203
|
"edge",
|
|
7204
7204
|
"axis",
|
|
@@ -7210,7 +7210,7 @@ var dI = Object.freeze({
|
|
|
7210
7210
|
light: "#F5F1E9",
|
|
7211
7211
|
dark: "#1F1E1C"
|
|
7212
7212
|
}), zce = "#ffffff";
|
|
7213
|
-
var
|
|
7213
|
+
var pk = {
|
|
7214
7214
|
top: 24,
|
|
7215
7215
|
right: 24,
|
|
7216
7216
|
bottom: 24,
|
|
@@ -8268,7 +8268,7 @@ var W7 = (e = Object.values(_t)) => {
|
|
|
8268
8268
|
}
|
|
8269
8269
|
}, U7 = (e) => {
|
|
8270
8270
|
let t = e.target;
|
|
8271
|
-
for (const n of
|
|
8271
|
+
for (const n of hk) {
|
|
8272
8272
|
const r = e[n];
|
|
8273
8273
|
r !== void 0 && (t += `\0${n}:${r}`);
|
|
8274
8274
|
}
|
|
@@ -8484,7 +8484,7 @@ function gue(e) {
|
|
|
8484
8484
|
]);
|
|
8485
8485
|
}
|
|
8486
8486
|
function vue(e, t) {
|
|
8487
|
-
return
|
|
8487
|
+
return dk(t) ? "discrete" : `continuous:${e}`;
|
|
8488
8488
|
}
|
|
8489
8489
|
function yue(e) {
|
|
8490
8490
|
if (!e) return /* @__PURE__ */ new Map();
|
|
@@ -8545,12 +8545,12 @@ var bue = class extends zs {
|
|
|
8545
8545
|
case "series":
|
|
8546
8546
|
return Sue(t);
|
|
8547
8547
|
case "x-value":
|
|
8548
|
-
return
|
|
8548
|
+
return mk(t, n);
|
|
8549
8549
|
}
|
|
8550
8550
|
}, im = (e) => {
|
|
8551
8551
|
const t = Jp(e);
|
|
8552
8552
|
return t === "" ? null : t;
|
|
8553
|
-
}, Sue = (e) => Rt([sr(e)]),
|
|
8553
|
+
}, Sue = (e) => Rt([sr(e)]), mk = (e, t) => Rt([t !== null ? e[t] ?? null : null]);
|
|
8554
8554
|
function wue(e) {
|
|
8555
8555
|
return e === null ? null : {
|
|
8556
8556
|
strategy: e,
|
|
@@ -8672,10 +8672,10 @@ function kue(e) {
|
|
|
8672
8672
|
}
|
|
8673
8673
|
return r;
|
|
8674
8674
|
}
|
|
8675
|
-
var
|
|
8675
|
+
var gk = (e, t) => {
|
|
8676
8676
|
const n = pe(t.x);
|
|
8677
8677
|
return !n || !["numeric", "temporal"].includes(e.getType(n)) ? e : e.orderBy(n, "asc");
|
|
8678
|
-
},
|
|
8678
|
+
}, vk = (e, { coordSystem: t }) => {
|
|
8679
8679
|
const n = Ct(e), r = xt(e);
|
|
8680
8680
|
return !Pt(n) || !Pt(r) ? null : t.type === "polar" ? kl(n, r) : {
|
|
8681
8681
|
x: n,
|
|
@@ -8705,12 +8705,12 @@ var Mue = () => ({
|
|
|
8705
8705
|
},
|
|
8706
8706
|
dashPresets: fo.line,
|
|
8707
8707
|
parts: {}
|
|
8708
|
-
}), q7 = "y",
|
|
8708
|
+
}), q7 = "y", yk = {
|
|
8709
8709
|
kind: "group",
|
|
8710
8710
|
name: q7
|
|
8711
8711
|
};
|
|
8712
8712
|
function Pue({ contract: e, entries: t, mapping: n, derivedVariables: r }) {
|
|
8713
|
-
const o = e.map(J7), i = o.some((c) => !cd(c)), a = i ? o : [...o,
|
|
8713
|
+
const o = e.map(J7), i = o.some((c) => !cd(c)), a = i ? o : [...o, yk], s = [];
|
|
8714
8714
|
for (const [c, u] of Object.entries(t)) {
|
|
8715
8715
|
const d = a.findIndex((h) => X7(h, c)), f = d === -1 ? Iue(c, n, r) : a.splice(d, 1)[0];
|
|
8716
8716
|
f === void 0 || u === !1 || s.push(u === !0 ? f : Oue(f, u));
|
|
@@ -8722,7 +8722,7 @@ function Pue({ contract: e, entries: t, mapping: n, derivedVariables: r }) {
|
|
|
8722
8722
|
};
|
|
8723
8723
|
}
|
|
8724
8724
|
function Rue({ layerId: e, contract: t, entries: n, mapping: r, derivedVariables: o }) {
|
|
8725
|
-
const i = t.map(J7), a = i.some((l) => !cd(l)) ? i : [...i,
|
|
8725
|
+
const i = t.map(J7), a = i.some((l) => !cd(l)) ? i : [...i, yk], s = (l) => a.some((c) => X7(c, l)) || r[l] !== void 0 || o.includes(l);
|
|
8726
8726
|
return Object.keys(n).filter((l) => !s(l)).map((l) => ({
|
|
8727
8727
|
code: "UNKNOWN_TOOLTIP_FIELD",
|
|
8728
8728
|
message: `Layer '${e}' has no tooltip field '${l}'; its tooltip entry is ignored.`,
|
|
@@ -9042,7 +9042,7 @@ function eF(e, t) {
|
|
|
9042
9042
|
}
|
|
9043
9043
|
var Wue = /* @__PURE__ */ new Set(["label", "group"]), Gue = class {
|
|
9044
9044
|
constructor(e, t, n, r) {
|
|
9045
|
-
this.container = e, this.transformCompiler = t, this.statRegistry = n, this.layerCompiler = r, this.attachedLayerMemo =
|
|
9045
|
+
this.container = e, this.transformCompiler = t, this.statRegistry = n, this.layerCompiler = r, this.attachedLayerMemo = ok(), this.resolvedLayersMemo = Y8();
|
|
9046
9046
|
}
|
|
9047
9047
|
get stats() {
|
|
9048
9048
|
return q8(this.layerCompiler.stats, this.attachedLayerMemo.stats, this.resolvedLayersMemo.stats);
|
|
@@ -9317,7 +9317,7 @@ var Uue = (e) => e.observation?.aesthetics ?? _t.geom.aesthetics, tF = (e) => e.
|
|
|
9317
9317
|
y: 0,
|
|
9318
9318
|
width: e.width,
|
|
9319
9319
|
height: e.height
|
|
9320
|
-
}),
|
|
9320
|
+
}), bk = (e) => e === "panel-end" ? "end" : e === "panel-start" ? "start" : e, sm = ({ box: e, panel: t, orientation: n, placement: r, justify: o, align: i, offset: a, alignOffset: s, labelWidth: l, labelHeight: c }) => {
|
|
9321
9321
|
const u = o === "panel-start" || o === "panel-end", d = (n.valueAxis === "x" ? e.height : e.width) === 0, f = {
|
|
9322
9322
|
anchor: Kue(o, n.valueDirectionSign),
|
|
9323
9323
|
placement: u ? "inside" : r,
|
|
@@ -9408,7 +9408,7 @@ var Uue = (e) => e.observation?.aesthetics ?? _t.geom.aesthetics, tF = (e) => e.
|
|
|
9408
9408
|
align: "center"
|
|
9409
9409
|
} : {
|
|
9410
9410
|
placement: t,
|
|
9411
|
-
justify: gb(e.data, e.mapping) ?
|
|
9411
|
+
justify: gb(e.data, e.mapping) ? bk(n) : n,
|
|
9412
9412
|
align: r
|
|
9413
9413
|
};
|
|
9414
9414
|
}, Zue = class extends ia {
|
|
@@ -9485,7 +9485,7 @@ var Uue = (e) => e.observation?.aesthetics ?? _t.geom.aesthetics, tF = (e) => e.
|
|
|
9485
9485
|
identity: !0,
|
|
9486
9486
|
fill: !0
|
|
9487
9487
|
}
|
|
9488
|
-
}, this.highlightStrategy = "overlay-anchor", this.spatialKind = "filled-buckets", this.resolveAnchorPosition =
|
|
9488
|
+
}, this.highlightStrategy = "overlay-anchor", this.spatialKind = "filled-buckets", this.resolveAnchorPosition = vk, this.getDataLabelPlacements = (t) => que(t);
|
|
9489
9489
|
}
|
|
9490
9490
|
resolveParams(e) {
|
|
9491
9491
|
const t = super.resolveParams(e);
|
|
@@ -9495,7 +9495,7 @@ var Uue = (e) => e.observation?.aesthetics ?? _t.geom.aesthetics, tF = (e) => e.
|
|
|
9495
9495
|
} : t;
|
|
9496
9496
|
}
|
|
9497
9497
|
compile({ data: e, mapping: t }) {
|
|
9498
|
-
return e =
|
|
9498
|
+
return e = gk(e, t), e.hasVariable(ue.yMin) || (e = e.addConstantVariable(ue.yMin, "numeric", 0)), {
|
|
9499
9499
|
data: e,
|
|
9500
9500
|
mapping: {}
|
|
9501
9501
|
};
|
|
@@ -9503,7 +9503,7 @@ var Uue = (e) => e.observation?.aesthetics ?? _t.geom.aesthetics, tF = (e) => e.
|
|
|
9503
9503
|
}, ede = 0.7, tde = 0.1, nde = 0.03, rde = 0.05, rF = (e) => {
|
|
9504
9504
|
const t = e[nb.role];
|
|
9505
9505
|
return t ?? "solo";
|
|
9506
|
-
},
|
|
9506
|
+
}, xk = (e, t, n) => {
|
|
9507
9507
|
const r = {}, o = (i) => {
|
|
9508
9508
|
const a = r[i];
|
|
9509
9509
|
if (a !== void 0) return a;
|
|
@@ -9521,7 +9521,7 @@ var Uue = (e) => e.observation?.aesthetics ?? _t.geom.aesthetics, tF = (e) => e.
|
|
|
9521
9521
|
return o("outside");
|
|
9522
9522
|
}
|
|
9523
9523
|
};
|
|
9524
|
-
},
|
|
9524
|
+
}, Sk = (e, t, n = e.get("fill", t)) => {
|
|
9525
9525
|
if (n === void 0) return;
|
|
9526
9526
|
const r = e.get("alpha", t) * (e.get("fillAlpha", t) ?? 1);
|
|
9527
9527
|
return P4(Ut(n), r);
|
|
@@ -9565,7 +9565,7 @@ var Uue = (e) => e.observation?.aesthetics ?? _t.geom.aesthetics, tF = (e) => e.
|
|
|
9565
9565
|
isRotated: l.isRotated,
|
|
9566
9566
|
role: "observation",
|
|
9567
9567
|
position: l.position,
|
|
9568
|
-
...l.position === "inside" ? { backdropColor:
|
|
9568
|
+
...l.position === "inside" ? { backdropColor: Sk(e.styleReaders, s.observation) } : {}
|
|
9569
9569
|
});
|
|
9570
9570
|
}
|
|
9571
9571
|
}
|
|
@@ -9593,7 +9593,7 @@ var Uue = (e) => e.observation?.aesthetics ?? _t.geom.aesthetics, tF = (e) => e.
|
|
|
9593
9593
|
if (d === null) continue;
|
|
9594
9594
|
const f = o(u);
|
|
9595
9595
|
if (f === "") continue;
|
|
9596
|
-
const h =
|
|
9596
|
+
const h = xk(r, "observation", f), p = wk(d, n);
|
|
9597
9597
|
l && h.inside.width > p.width && (s = !0);
|
|
9598
9598
|
const g = c === null ? null : u[c], v = Pt(g) && g < 0;
|
|
9599
9599
|
a.push({
|
|
@@ -9608,7 +9608,7 @@ var Uue = (e) => e.observation?.aesthetics ?? _t.geom.aesthetics, tF = (e) => e.
|
|
|
9608
9608
|
entries: a,
|
|
9609
9609
|
shouldRotate: !i && s
|
|
9610
9610
|
};
|
|
9611
|
-
},
|
|
9611
|
+
}, wk = (e, t) => ({
|
|
9612
9612
|
x: e.x * t.width,
|
|
9613
9613
|
y: e.y * t.height,
|
|
9614
9614
|
width: e.width * t.width,
|
|
@@ -9695,7 +9695,7 @@ var Uue = (e) => e.observation?.aesthetics ?? _t.geom.aesthetics, tF = (e) => e.
|
|
|
9695
9695
|
if (f === null) continue;
|
|
9696
9696
|
const h = e.formatCategory(d);
|
|
9697
9697
|
if (h === null || h === "") continue;
|
|
9698
|
-
const p =
|
|
9698
|
+
const p = xk(e.measureDataLabel, "category", h), g = p[s], v = wk(f, e.panelRect), y = u === null ? null : d[u], b = Pt(y) && y < 0, S = sm({
|
|
9699
9699
|
box: v,
|
|
9700
9700
|
panel: c,
|
|
9701
9701
|
orientation: aF(l, b),
|
|
@@ -9794,7 +9794,7 @@ var Uue = (e) => e.observation?.aesthetics ?? _t.geom.aesthetics, tF = (e) => e.
|
|
|
9794
9794
|
if (a === void 0 || a.length === 0) return i;
|
|
9795
9795
|
const s = t === "y";
|
|
9796
9796
|
for (const l of a) {
|
|
9797
|
-
const c =
|
|
9797
|
+
const c = wk(lde(t, l), n), u = o(l.total), { width: d, height: f } = r("aggregate", "outside", u), h = l.anchor.direction === "positive";
|
|
9798
9798
|
let p, g;
|
|
9799
9799
|
s ? (p = h ? c.x + c.width + ig + d / 2 : c.x - ig - d / 2, g = c.y + c.height / 2) : (p = c.x + c.width / 2, g = h ? c.y - ig - f / 2 : c.y + c.height + ig + f / 2), i.push({
|
|
9800
9800
|
layerId: e.id,
|
|
@@ -9810,7 +9810,7 @@ var Uue = (e) => e.observation?.aesthetics ?? _t.geom.aesthetics, tF = (e) => e.
|
|
|
9810
9810
|
}
|
|
9811
9811
|
return i;
|
|
9812
9812
|
};
|
|
9813
|
-
function
|
|
9813
|
+
function Tk(e) {
|
|
9814
9814
|
return {
|
|
9815
9815
|
startAngle: e[ue.xMin],
|
|
9816
9816
|
endAngle: e[ue.xMax]
|
|
@@ -9830,7 +9830,7 @@ var yde = " · ", Ia = 2, bde = (e) => {
|
|
|
9830
9830
|
};
|
|
9831
9831
|
const { position: n, justify: r, align: o, offset: i, showCategoryLabels: a } = e.layer.dataLabels, s = e.coordSystem.bandAxis === "y", l = e.panelRect.width / 2, c = e.panelRect.height / 2, u = Math.min(e.panelRect.width, e.panelRect.height) / 2, d = e.styleReaders;
|
|
9832
9832
|
for (const f of e.layer.data) {
|
|
9833
|
-
const { startAngle: h, endAngle: p } =
|
|
9833
|
+
const { startAngle: h, endAngle: p } = Tk(f), { innerRadius: g, outerRadius: v } = wb(f);
|
|
9834
9834
|
if (h === null || p === null || v === null) continue;
|
|
9835
9835
|
const y = e.formatLabel(f);
|
|
9836
9836
|
if (y === "") continue;
|
|
@@ -9879,11 +9879,11 @@ var yde = " · ", Ia = 2, bde = (e) => {
|
|
|
9879
9879
|
}) && (A = D, T = L);
|
|
9880
9880
|
}
|
|
9881
9881
|
} else {
|
|
9882
|
-
const k =
|
|
9882
|
+
const k = xk(e.measureDataLabel, "observation", S), _ = k[n];
|
|
9883
9883
|
A = Ade({
|
|
9884
9884
|
wedge: w,
|
|
9885
9885
|
placement: n,
|
|
9886
|
-
justify:
|
|
9886
|
+
justify: bk(r),
|
|
9887
9887
|
align: o,
|
|
9888
9888
|
offset: i,
|
|
9889
9889
|
labelWidth: _.width,
|
|
@@ -9901,7 +9901,7 @@ var yde = " · ", Ia = 2, bde = (e) => {
|
|
|
9901
9901
|
isRotated: !1,
|
|
9902
9902
|
role: "observation",
|
|
9903
9903
|
position: A.position,
|
|
9904
|
-
...A.position === "inside" ? { backdropColor:
|
|
9904
|
+
...A.position === "inside" ? { backdropColor: Sk(d, f) } : {}
|
|
9905
9905
|
});
|
|
9906
9906
|
}
|
|
9907
9907
|
return {
|
|
@@ -10096,7 +10096,7 @@ var yde = " · ", Ia = 2, bde = (e) => {
|
|
|
10096
10096
|
}
|
|
10097
10097
|
compile({ data: e, mapping: t, params: n, coordType: r }) {
|
|
10098
10098
|
const o = qw(n, r);
|
|
10099
|
-
e =
|
|
10099
|
+
e = gk(e, t), e.hasVariable(ue.yMin) || (e = e.addConstantVariable(ue.yMin, "numeric", 0));
|
|
10100
10100
|
const i = o / 2;
|
|
10101
10101
|
return e = e.addConstantVariable(ue.xMin, "numeric", -i).addConstantVariable(ue.xMax, "numeric", i), {
|
|
10102
10102
|
data: e,
|
|
@@ -10185,7 +10185,7 @@ var yde = " · ", Ia = 2, bde = (e) => {
|
|
|
10185
10185
|
align: "center"
|
|
10186
10186
|
} : {
|
|
10187
10187
|
placement: t,
|
|
10188
|
-
justify: gb(e.data, e.mapping) ?
|
|
10188
|
+
justify: gb(e.data, e.mapping) ? bk(n) : n,
|
|
10189
10189
|
align: r
|
|
10190
10190
|
};
|
|
10191
10191
|
}, Rde = class extends ia {
|
|
@@ -10252,11 +10252,11 @@ var yde = " · ", Ia = 2, bde = (e) => {
|
|
|
10252
10252
|
identity: !0,
|
|
10253
10253
|
fill: !0
|
|
10254
10254
|
}
|
|
10255
|
-
}, this.highlightStrategy = "overlay-anchor", this.spatialKind = "buckets", this.resolveAnchorPosition =
|
|
10255
|
+
}, this.highlightStrategy = "overlay-anchor", this.spatialKind = "buckets", this.resolveAnchorPosition = vk, this.getDataLabelPlacements = (t) => Mde(t);
|
|
10256
10256
|
}
|
|
10257
10257
|
compile(e) {
|
|
10258
10258
|
return {
|
|
10259
|
-
data:
|
|
10259
|
+
data: gk(e.data, e.mapping),
|
|
10260
10260
|
mapping: {}
|
|
10261
10261
|
};
|
|
10262
10262
|
}
|
|
@@ -10365,7 +10365,7 @@ var yde = " · ", Ia = 2, bde = (e) => {
|
|
|
10365
10365
|
kind: "visual",
|
|
10366
10366
|
name: "alpha"
|
|
10367
10367
|
}
|
|
10368
|
-
], this.summaries = { perGroupHeadline: !0 }, this.highlightStrategy = "overlay-anchor", this.dataLabelCoordTypes = ["cartesian", "flip"], this.resolveAnchorPosition =
|
|
10368
|
+
], this.summaries = { perGroupHeadline: !0 }, this.highlightStrategy = "overlay-anchor", this.dataLabelCoordTypes = ["cartesian", "flip"], this.resolveAnchorPosition = vk, this.resolveValueSource = (t, n) => {
|
|
10369
10369
|
if (n !== "label") return null;
|
|
10370
10370
|
const r = pe(t.size);
|
|
10371
10371
|
return r !== null ? { variable: r } : null;
|
|
@@ -10483,10 +10483,10 @@ var yde = " · ", Ia = 2, bde = (e) => {
|
|
|
10483
10483
|
function sF(e) {
|
|
10484
10484
|
return e[Ka.color];
|
|
10485
10485
|
}
|
|
10486
|
-
function
|
|
10486
|
+
function Ak(e) {
|
|
10487
10487
|
return e[Ka.alpha];
|
|
10488
10488
|
}
|
|
10489
|
-
function
|
|
10489
|
+
function Ck(e) {
|
|
10490
10490
|
return e[Ka.size];
|
|
10491
10491
|
}
|
|
10492
10492
|
function Dde(e) {
|
|
@@ -10538,7 +10538,7 @@ var Nde = (e) => {
|
|
|
10538
10538
|
isRotated: !1,
|
|
10539
10539
|
role: "observation",
|
|
10540
10540
|
position: "inside",
|
|
10541
|
-
backdropColor:
|
|
10541
|
+
backdropColor: Sk(n, r)
|
|
10542
10542
|
});
|
|
10543
10543
|
}
|
|
10544
10544
|
return {
|
|
@@ -11764,7 +11764,7 @@ function Cb() {
|
|
|
11764
11764
|
return Cb(t, n).unknown(r);
|
|
11765
11765
|
}, Bd.apply(o, arguments), o;
|
|
11766
11766
|
}
|
|
11767
|
-
function
|
|
11767
|
+
function kk() {
|
|
11768
11768
|
var e = Cb().unknown(void 0), t = e.domain, n = e.range, r = 0, o = 1, i, a, s = !1, l = 0, c = 0, u = 0.5;
|
|
11769
11769
|
delete e.unknown;
|
|
11770
11770
|
function d() {
|
|
@@ -11796,7 +11796,7 @@ function k2() {
|
|
|
11796
11796
|
}, e.align = function(f) {
|
|
11797
11797
|
return arguments.length ? (u = Math.max(0, Math.min(1, f)), d()) : u;
|
|
11798
11798
|
}, e.copy = function() {
|
|
11799
|
-
return
|
|
11799
|
+
return kk(t(), [r, o]).round(s).paddingInner(l).paddingOuter(c).align(u);
|
|
11800
11800
|
}, Bd.apply(d(), arguments);
|
|
11801
11801
|
}
|
|
11802
11802
|
function lm(e, t, n) {
|
|
@@ -12367,7 +12367,7 @@ function mhe(e, t, n) {
|
|
|
12367
12367
|
function Pb(e, t) {
|
|
12368
12368
|
return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
|
|
12369
12369
|
}
|
|
12370
|
-
function
|
|
12370
|
+
function Ek() {
|
|
12371
12371
|
var e = GI, t = GI, n = Mb, r, o, i, a = _i, s, l, c;
|
|
12372
12372
|
function u() {
|
|
12373
12373
|
var f = Math.min(e.length, t.length);
|
|
@@ -12395,7 +12395,7 @@ function E2() {
|
|
|
12395
12395
|
};
|
|
12396
12396
|
}
|
|
12397
12397
|
function FF() {
|
|
12398
|
-
return
|
|
12398
|
+
return Ek()(_i, _i);
|
|
12399
12399
|
}
|
|
12400
12400
|
function ghe(e) {
|
|
12401
12401
|
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
|
|
@@ -12426,7 +12426,7 @@ var bhe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])
|
|
|
12426
12426
|
function ap(e) {
|
|
12427
12427
|
if (!(t = bhe.exec(e))) throw new Error("invalid format: " + e);
|
|
12428
12428
|
var t;
|
|
12429
|
-
return new
|
|
12429
|
+
return new Mk({
|
|
12430
12430
|
fill: t[1],
|
|
12431
12431
|
align: t[2],
|
|
12432
12432
|
sign: t[3],
|
|
@@ -12439,11 +12439,11 @@ function ap(e) {
|
|
|
12439
12439
|
type: t[10]
|
|
12440
12440
|
});
|
|
12441
12441
|
}
|
|
12442
|
-
ap.prototype =
|
|
12443
|
-
function
|
|
12442
|
+
ap.prototype = Mk.prototype;
|
|
12443
|
+
function Mk(e) {
|
|
12444
12444
|
this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";
|
|
12445
12445
|
}
|
|
12446
|
-
|
|
12446
|
+
Mk.prototype.toString = function() {
|
|
12447
12447
|
return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
|
|
12448
12448
|
};
|
|
12449
12449
|
function xhe(e) {
|
|
@@ -12566,14 +12566,14 @@ function whe(e) {
|
|
|
12566
12566
|
formatPrefix: u
|
|
12567
12567
|
};
|
|
12568
12568
|
}
|
|
12569
|
-
var cg,
|
|
12569
|
+
var cg, Pk, VF;
|
|
12570
12570
|
The({
|
|
12571
12571
|
thousands: ",",
|
|
12572
12572
|
grouping: [3],
|
|
12573
12573
|
currency: ["$", ""]
|
|
12574
12574
|
});
|
|
12575
12575
|
function The(e) {
|
|
12576
|
-
return cg = whe(e),
|
|
12576
|
+
return cg = whe(e), Pk = cg.format, VF = cg.formatPrefix, cg;
|
|
12577
12577
|
}
|
|
12578
12578
|
function Ahe(e) {
|
|
12579
12579
|
return Math.max(0, -ud(Math.abs(e)));
|
|
@@ -12602,7 +12602,7 @@ function Ehe(e, t, n, r) {
|
|
|
12602
12602
|
r.precision == null && !isNaN(i = Ahe(o)) && (r.precision = i - (r.type === "%") * 2);
|
|
12603
12603
|
break;
|
|
12604
12604
|
}
|
|
12605
|
-
return
|
|
12605
|
+
return Pk(r);
|
|
12606
12606
|
}
|
|
12607
12607
|
function HF(e) {
|
|
12608
12608
|
var t = e.domain;
|
|
@@ -12697,7 +12697,7 @@ function Lhe(e) {
|
|
|
12697
12697
|
} else y = $w(f, h, Math.min(h - f, v)).map(i);
|
|
12698
12698
|
return d ? y.reverse() : y;
|
|
12699
12699
|
}, t.tickFormat = (s, l) => {
|
|
12700
|
-
if (s == null && (s = 10), l == null && (l = r === 10 ? "s" : ","), typeof l != "function" && (!(r % 1) && (l = ap(l)).precision == null && (l.trim = !0), l =
|
|
12700
|
+
if (s == null && (s = 10), l == null && (l = r === 10 ? "s" : ","), typeof l != "function" && (!(r % 1) && (l = ap(l)).precision == null && (l.trim = !0), l = Pk(l)), s === 1 / 0) return l;
|
|
12701
12701
|
const c = Math.max(1, r * s / t.ticks().length);
|
|
12702
12702
|
return (u) => {
|
|
12703
12703
|
let d = u / i(Math.round(o(u)));
|
|
@@ -12709,7 +12709,7 @@ function Lhe(e) {
|
|
|
12709
12709
|
})), t;
|
|
12710
12710
|
}
|
|
12711
12711
|
function zF() {
|
|
12712
|
-
const e = Lhe(
|
|
12712
|
+
const e = Lhe(Ek()).domain([1, 10]);
|
|
12713
12713
|
return e.copy = () => Pb(e, zF()).base(e.base()), Bd.apply(e, arguments), e;
|
|
12714
12714
|
}
|
|
12715
12715
|
function ZI(e) {
|
|
@@ -12733,7 +12733,7 @@ function Nhe(e) {
|
|
|
12733
12733
|
}, HF(t);
|
|
12734
12734
|
}
|
|
12735
12735
|
function WF() {
|
|
12736
|
-
var e = Nhe(
|
|
12736
|
+
var e = Nhe(Ek());
|
|
12737
12737
|
return e.copy = function() {
|
|
12738
12738
|
return Pb(e, WF()).exponent(e.exponent());
|
|
12739
12739
|
}, Bd.apply(e, arguments), e;
|
|
@@ -13119,7 +13119,7 @@ function dpe(e) {
|
|
|
13119
13119
|
return t === 0 ? 7 : t;
|
|
13120
13120
|
}
|
|
13121
13121
|
function fpe(e, t) {
|
|
13122
|
-
return Lt(
|
|
13122
|
+
return Lt(lk.count(Ds(e) - 1, e), t, 2);
|
|
13123
13123
|
}
|
|
13124
13124
|
function UF(e) {
|
|
13125
13125
|
var t = e.getDay();
|
|
@@ -13307,7 +13307,7 @@ function qF(e, t, n, r, o, i, a, s, l, c) {
|
|
|
13307
13307
|
}, u;
|
|
13308
13308
|
}
|
|
13309
13309
|
function Gpe() {
|
|
13310
|
-
return Bd.apply(qF(oce, ice, Ji, xb, bb, Nd, yb,
|
|
13310
|
+
return Bd.apply(qF(oce, ice, Ji, xb, bb, Nd, yb, ck, Ou, YF).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
|
|
13311
13311
|
}
|
|
13312
13312
|
var Rb = class {
|
|
13313
13313
|
}, Upe = class extends Rb {
|
|
@@ -13328,7 +13328,7 @@ var Rb = class {
|
|
|
13328
13328
|
data: e,
|
|
13329
13329
|
mapping: {}
|
|
13330
13330
|
};
|
|
13331
|
-
const r = e.size(), o = e.getValues(St.group, { type: "categorical" }), i = jpe(e) ?? [-0.7 / 2, 0.7 / 2], a = n.length > 1 ? tde : 0, s =
|
|
13331
|
+
const r = e.size(), o = e.getValues(St.group, { type: "categorical" }), i = jpe(e) ?? [-0.7 / 2, 0.7 / 2], a = n.length > 1 ? tde : 0, s = kk().domain(n.map(String)).range(i).paddingInner(a).paddingOuter(0), l = s.bandwidth(), c = new Array(r).fill(null), u = new Array(r).fill(null);
|
|
13332
13332
|
for (let d = 0; d < r; d++) {
|
|
13333
13333
|
const f = o[d];
|
|
13334
13334
|
if (!he(f)) continue;
|
|
@@ -14331,7 +14331,7 @@ var oge = class extends cm {
|
|
|
14331
14331
|
return this.buildVisualScale(o, e, i);
|
|
14332
14332
|
}
|
|
14333
14333
|
buildPositionScale(e, t) {
|
|
14334
|
-
const n = e.map(String), r = t.padding ?? Ul.padding, o = t.reverse ? [1, 0] : [0, 1], i =
|
|
14334
|
+
const n = e.map(String), r = t.padding ?? Ul.padding, o = t.reverse ? [1, 0] : [0, 1], i = kk().domain(n).range(o).paddingInner(r).paddingOuter(r / 2), a = i.bandwidth() / 2;
|
|
14335
14335
|
return this.createPositionScale(t, {
|
|
14336
14336
|
map: (s) => (i(String(s)) ?? NaN) + a,
|
|
14337
14337
|
domain: e,
|
|
@@ -14545,7 +14545,7 @@ function zu(e, t) {
|
|
|
14545
14545
|
options: t
|
|
14546
14546
|
};
|
|
14547
14547
|
}
|
|
14548
|
-
function
|
|
14548
|
+
function Rk(e, t = {}) {
|
|
14549
14549
|
return {
|
|
14550
14550
|
type: "scale",
|
|
14551
14551
|
scaledAesthetic: e,
|
|
@@ -14583,7 +14583,7 @@ var tB = {
|
|
|
14583
14583
|
"discrete-only": "discrete"
|
|
14584
14584
|
}
|
|
14585
14585
|
};
|
|
14586
|
-
function
|
|
14586
|
+
function Ik(e, t) {
|
|
14587
14587
|
const { data: n, layers: r, mapping: o, customPalettes: i } = t;
|
|
14588
14588
|
return {
|
|
14589
14589
|
container: e,
|
|
@@ -14652,13 +14652,13 @@ function Lb(e, t) {
|
|
|
14652
14652
|
}
|
|
14653
14653
|
}
|
|
14654
14654
|
function vge(e, t) {
|
|
14655
|
-
const { scales: n, layers: r, coords: o } = t, i =
|
|
14655
|
+
const { scales: n, layers: r, coords: o } = t, i = Ik(e, t), a = Cge(Age(n, r), i.demands), s = /* @__PURE__ */ new Map();
|
|
14656
14656
|
for (const c of a) s.set(c.scaledAesthetic, c);
|
|
14657
14657
|
const l = [...s.values()].map((c) => {
|
|
14658
14658
|
const u = yge(i, c);
|
|
14659
14659
|
return Lb(i, u);
|
|
14660
14660
|
});
|
|
14661
|
-
return o.coordType === "polar" ? l.map(
|
|
14661
|
+
return o.coordType === "polar" ? l.map(Ok) : l;
|
|
14662
14662
|
}
|
|
14663
14663
|
function iT(e, t) {
|
|
14664
14664
|
const n = t?.bandPadding[e.scaledAesthetic];
|
|
@@ -14672,7 +14672,7 @@ function iT(e, t) {
|
|
|
14672
14672
|
reverse: e.reverse ?? bge(e.scaledAesthetic, t)
|
|
14673
14673
|
};
|
|
14674
14674
|
}
|
|
14675
|
-
var
|
|
14675
|
+
var Ok = (e) => e.scaleType === "discrete" ? {
|
|
14676
14676
|
...e,
|
|
14677
14677
|
padding: 0
|
|
14678
14678
|
} : e;
|
|
@@ -14708,7 +14708,7 @@ function xge({ data: e, layers: t, mapping: n, demands: r }, o) {
|
|
|
14708
14708
|
case "discrete":
|
|
14709
14709
|
return Ur(o.scaledAesthetic, o.options);
|
|
14710
14710
|
case "palette":
|
|
14711
|
-
return
|
|
14711
|
+
return Rk(o.scaledAesthetic);
|
|
14712
14712
|
case "datetime":
|
|
14713
14713
|
return Sv(o.scaledAesthetic, o.options);
|
|
14714
14714
|
case "continuous":
|
|
@@ -14753,7 +14753,7 @@ function Age(e, t) {
|
|
|
14753
14753
|
return !t.some((n) => n.yScaleType === "secondary") || e.some((n) => n.scaledAesthetic === "ySecondary") ? e : [...e, zu("ySecondary")];
|
|
14754
14754
|
}
|
|
14755
14755
|
function Cge(e, t) {
|
|
14756
|
-
return e.some((n) => n.scaledAesthetic === "color") ? e : [...e, t.inferredColor ? zu("color") :
|
|
14756
|
+
return e.some((n) => n.scaledAesthetic === "color") ? e : [...e, t.inferredColor ? zu("color") : Rk("color")];
|
|
14757
14757
|
}
|
|
14758
14758
|
var nB = class extends zs {
|
|
14759
14759
|
constructor(e) {
|
|
@@ -14768,13 +14768,13 @@ var nB = class extends zs {
|
|
|
14768
14768
|
run(e) {
|
|
14769
14769
|
return e.transforms.reduce((t, n) => this.registry.get(n.transformType).apply(t, n), e.data);
|
|
14770
14770
|
}
|
|
14771
|
-
}, rB = new vF(), kge = new nB(rB),
|
|
14771
|
+
}, rB = new vF(), kge = new nB(rB), Lk = (e, t) => {
|
|
14772
14772
|
const n = t.every((r) => rB.has(r.transformType));
|
|
14773
14773
|
return t.length === 0 || !n ? e : kge.compile({
|
|
14774
14774
|
data: e,
|
|
14775
14775
|
transforms: t
|
|
14776
14776
|
});
|
|
14777
|
-
},
|
|
14777
|
+
}, _k = { labelCrossPosition: 0.5 }, aT = {
|
|
14778
14778
|
kind: "rectangle",
|
|
14779
14779
|
zOrder: "foreground"
|
|
14780
14780
|
}, mO = {
|
|
@@ -14931,7 +14931,7 @@ var Rge = {
|
|
|
14931
14931
|
];
|
|
14932
14932
|
for (const r of n) for (const o of r ?? []) o.id !== void 0 && t.add(o.id);
|
|
14933
14933
|
return t;
|
|
14934
|
-
},
|
|
14934
|
+
}, Dk = (e, t, n, r) => {
|
|
14935
14935
|
if (n.has(t)) return !0;
|
|
14936
14936
|
const o = r === void 0 ? "An annotation" : `Annotation "${r}"`;
|
|
14937
14937
|
return e.diagnostics.addWarning({
|
|
@@ -14959,7 +14959,7 @@ var Rge = {
|
|
|
14959
14959
|
start: r,
|
|
14960
14960
|
end: o,
|
|
14961
14961
|
label: t.label,
|
|
14962
|
-
labelCrossPosition: t.labelCrossPosition ??
|
|
14962
|
+
labelCrossPosition: t.labelCrossPosition ?? _k.labelCrossPosition
|
|
14963
14963
|
};
|
|
14964
14964
|
}, lp = (e, t, n) => {
|
|
14965
14965
|
const r = t.align !== void 0 ? { align: t.align } : {};
|
|
@@ -14984,7 +14984,7 @@ var Rge = {
|
|
|
14984
14984
|
suggestion: "Reference an existing layer id, or omit layerId to anchor against the data directly."
|
|
14985
14985
|
}), null);
|
|
14986
14986
|
}, vy = (e, t, n, r, o) => {
|
|
14987
|
-
if (t.anchorType === "annotation") return
|
|
14987
|
+
if (t.anchorType === "annotation") return Dk(e, t.ref, r, o) ? t : null;
|
|
14988
14988
|
if (t.anchorType === "panel" || t.anchorType === "axis" || t.anchorType === "selection") return t;
|
|
14989
14989
|
const i = lp(e, t, n);
|
|
14990
14990
|
return i === null ? null : {
|
|
@@ -15012,12 +15012,12 @@ var Rge = {
|
|
|
15012
15012
|
at: r,
|
|
15013
15013
|
content: t.content
|
|
15014
15014
|
};
|
|
15015
|
-
}, $ge = (e, t, n) => t.region.anchorType === "annotation" && !
|
|
15015
|
+
}, $ge = (e, t, n) => t.region.anchorType === "annotation" && !Dk(e, t.region.ref, n, t.id) ? null : {
|
|
15016
15016
|
id: t.id ?? io(),
|
|
15017
15017
|
kind: t.kind ?? aT.kind,
|
|
15018
15018
|
zOrder: t.zOrder ?? aT.zOrder,
|
|
15019
15019
|
region: Wge(t.region)
|
|
15020
|
-
}, zge = (e, t, n) => t.region.anchorType === "annotation" && !
|
|
15020
|
+
}, zge = (e, t, n) => t.region.anchorType === "annotation" && !Dk(e, t.region.ref, n, t.id) ? null : {
|
|
15021
15021
|
id: t.id ?? io(),
|
|
15022
15022
|
src: t.src,
|
|
15023
15023
|
zOrder: t.zOrder ?? mO.zOrder,
|
|
@@ -15415,7 +15415,7 @@ var iB = (e, t, n, r) => r.label !== void 0 ? r.label : r7({
|
|
|
15415
15415
|
};
|
|
15416
15416
|
function ave(e, t, n) {
|
|
15417
15417
|
const r = lT(t.coords), o = eve(e.geomRegistry, t.mapping, r.coordType, t.layers, e.diagnostics), i = vge(e, {
|
|
15418
|
-
data:
|
|
15418
|
+
data: Lk(t.data, t.transforms),
|
|
15419
15419
|
scales: t.scales,
|
|
15420
15420
|
layers: o,
|
|
15421
15421
|
mapping: t.mapping,
|
|
@@ -15563,12 +15563,12 @@ var um = {
|
|
|
15563
15563
|
if (r) return r;
|
|
15564
15564
|
}
|
|
15565
15565
|
return null;
|
|
15566
|
-
}, dm = (e, t) => e[um[t]],
|
|
15566
|
+
}, dm = (e, t) => e[um[t]], Nk = (e, t, n) => ({
|
|
15567
15567
|
...e,
|
|
15568
15568
|
[um[t]]: n
|
|
15569
15569
|
}), cB = (e, t) => {
|
|
15570
15570
|
const n = dm(e, t.kind);
|
|
15571
|
-
return
|
|
15571
|
+
return Nk(e, t.kind, [...n.slice(0, t.index), ...n.slice(t.index + 1)]);
|
|
15572
15572
|
}, hve = (e, t, n) => {
|
|
15573
15573
|
const r = dm(e, t), o = r.findIndex((a) => a.id === n), i = r[o];
|
|
15574
15574
|
return i === void 0 ? null : {
|
|
@@ -15658,15 +15658,15 @@ var um = {
|
|
|
15658
15658
|
tokens: Object.freeze(pve),
|
|
15659
15659
|
defaults: Object.freeze(mve),
|
|
15660
15660
|
overrides: Object.freeze([])
|
|
15661
|
-
}), uB = Object.fromEntries(Object.entries(_t).map(([e, t]) => [e,
|
|
15661
|
+
}), uB = Object.fromEntries(Object.entries(_t).map(([e, t]) => [e, Fk(t)]));
|
|
15662
15662
|
function dB(e) {
|
|
15663
15663
|
return {
|
|
15664
15664
|
type: "styles",
|
|
15665
15665
|
...e
|
|
15666
15666
|
};
|
|
15667
15667
|
}
|
|
15668
|
-
function
|
|
15669
|
-
const t = Object.fromEntries(Object.entries(e.children ?? {}).map(([o, i]) => [o,
|
|
15668
|
+
function Fk(e) {
|
|
15669
|
+
const t = Object.fromEntries(Object.entries(e.children ?? {}).map(([o, i]) => [o, Fk(i)]));
|
|
15670
15670
|
if (Object.keys(e.vocabulary).length === 0) return t;
|
|
15671
15671
|
const n = yve(e);
|
|
15672
15672
|
return Object.assign((o, i) => ({
|
|
@@ -15680,14 +15680,14 @@ var Oo = (e) => Object.keys(e.children ?? {}), gve = Oo(_t.dataLabel), Clt = Oo(
|
|
|
15680
15680
|
differenceArrow: Oo(_t.annotation.children.differenceArrow),
|
|
15681
15681
|
pinnedNumber: Oo(_t.annotation.children.pinnedNumber),
|
|
15682
15682
|
comment: Oo(_t.annotation.children.comment)
|
|
15683
|
-
},
|
|
15683
|
+
}, Bk = (e, t) => {
|
|
15684
15684
|
const n = [], r = /* @__PURE__ */ new Set(), o = (i) => {
|
|
15685
15685
|
const a = i.select[t];
|
|
15686
15686
|
a !== void 0 && !r.has(a) && (r.add(a), n.push(a));
|
|
15687
15687
|
for (const s of Object.values(i.children ?? {})) o(s);
|
|
15688
15688
|
};
|
|
15689
15689
|
return o(e), n;
|
|
15690
|
-
}, vve =
|
|
15690
|
+
}, vve = Bk(_t.dataLabel, "position"), Llt = Bk(_t.headlineItem, "part"), _lt = Bk(_t.legend, "part");
|
|
15691
15691
|
function yve(e) {
|
|
15692
15692
|
return new Set(e.options ?? []);
|
|
15693
15693
|
}
|
|
@@ -15793,7 +15793,7 @@ var Sve = class extends Rc {
|
|
|
15793
15793
|
actual: String(f),
|
|
15794
15794
|
...d
|
|
15795
15795
|
},
|
|
15796
|
-
suggestion: `Set 'target' to one of ${[...
|
|
15796
|
+
suggestion: `Set 'target' to one of ${[...Vk].map((S) => `'${S}'`).join(", ")}.`
|
|
15797
15797
|
});
|
|
15798
15798
|
return;
|
|
15799
15799
|
}
|
|
@@ -15826,7 +15826,7 @@ var Sve = class extends Rc {
|
|
|
15826
15826
|
return;
|
|
15827
15827
|
}
|
|
15828
15828
|
const p = h.node;
|
|
15829
|
-
if (s.when !== void 0 && !
|
|
15829
|
+
if (s.when !== void 0 && !Hk(p)) {
|
|
15830
15830
|
r.push({
|
|
15831
15831
|
code: "INVALID_STYLE_RULE",
|
|
15832
15832
|
message: `Style ${c} ignored: chrome entries take no conditions.`,
|
|
@@ -16012,9 +16012,9 @@ var Sve = class extends Rc {
|
|
|
16012
16012
|
};
|
|
16013
16013
|
for (const n of Object.values(_t)) t(n);
|
|
16014
16014
|
return e;
|
|
16015
|
-
},
|
|
16015
|
+
}, Vk = Ive(), hB = (e) => e !== "geom" && Vk.has(e), Ove = () => {
|
|
16016
16016
|
const e = {};
|
|
16017
|
-
for (const t of
|
|
16017
|
+
for (const t of Vk)
|
|
16018
16018
|
hB(t) && (e[t] = {
|
|
16019
16019
|
defaults: [],
|
|
16020
16020
|
overrides: []
|
|
@@ -16040,7 +16040,7 @@ var Sve = class extends Rc {
|
|
|
16040
16040
|
const n = tp({ target: e.target });
|
|
16041
16041
|
if (n === void 0) return { status: "unknown-target" };
|
|
16042
16042
|
let r = n;
|
|
16043
|
-
for (const o of
|
|
16043
|
+
for (const o of hk) {
|
|
16044
16044
|
const i = e[o];
|
|
16045
16045
|
if (i === void 0) continue;
|
|
16046
16046
|
const a = r.children === void 0 ? void 0 : Object.values(r.children).find((s) => s.select[o] === i);
|
|
@@ -16059,7 +16059,7 @@ var Sve = class extends Rc {
|
|
|
16059
16059
|
status: "found",
|
|
16060
16060
|
node: r
|
|
16061
16061
|
};
|
|
16062
|
-
},
|
|
16062
|
+
}, Hk = (e) => {
|
|
16063
16063
|
const t = e.options ?? [];
|
|
16064
16064
|
return t.includes("where") || t.includes("state");
|
|
16065
16065
|
}, _ve = (e, t) => {
|
|
@@ -16084,7 +16084,7 @@ var Sve = class extends Rc {
|
|
|
16084
16084
|
return r === void 0 ? i : Dve(i.children, r);
|
|
16085
16085
|
}, Nve = (e, t) => {
|
|
16086
16086
|
const n = up(e, () => t);
|
|
16087
|
-
return n === void 0 ||
|
|
16087
|
+
return n === void 0 || Hk(n);
|
|
16088
16088
|
}, gB = (e, t) => [e, t].filter((n) => n !== void 0).join(" "), Fve = (e, t) => {
|
|
16089
16089
|
const n = up({ kind: e }, () => t), r = {};
|
|
16090
16090
|
for (const o of Object.values(n?.children ?? {})) o.select.part !== void 0 && (r[o.select.part] = {
|
|
@@ -16268,7 +16268,7 @@ var Sve = class extends Rc {
|
|
|
16268
16268
|
suggestion: jve(r, o, l)
|
|
16269
16269
|
};
|
|
16270
16270
|
}
|
|
16271
|
-
if (e.when !== void 0 && !
|
|
16271
|
+
if (e.when !== void 0 && !Hk(a)) {
|
|
16272
16272
|
const s = gB(r, o);
|
|
16273
16273
|
return {
|
|
16274
16274
|
code: "INVALID_STYLE_RULE",
|
|
@@ -16404,7 +16404,7 @@ var Sve = class extends Rc {
|
|
|
16404
16404
|
if (!he(l) || !he(c) || !he(u) || !he(d) || !he(f) || !he(h)) continue;
|
|
16405
16405
|
const p = h >= 0;
|
|
16406
16406
|
if (Math.abs(h) === 0) continue;
|
|
16407
|
-
const g =
|
|
16407
|
+
const g = mk(s, n), v = {
|
|
16408
16408
|
xMin: d,
|
|
16409
16409
|
xMax: f,
|
|
16410
16410
|
yMin: c,
|
|
@@ -16629,7 +16629,7 @@ var nye = (e) => ({
|
|
|
16629
16629
|
}
|
|
16630
16630
|
reResolveInferredScalesIfNeeded(e, t) {
|
|
16631
16631
|
if (e.size() !== 0 || t.data.size() === 0 || t.scales.filter((r) => r.inferredFrom !== void 0).length === 0) return t;
|
|
16632
|
-
const n =
|
|
16632
|
+
const n = Ik(this.container, {
|
|
16633
16633
|
data: t.data,
|
|
16634
16634
|
layers: t.layers,
|
|
16635
16635
|
mapping: t.mapping,
|
|
@@ -16639,7 +16639,7 @@ var nye = (e) => ({
|
|
|
16639
16639
|
const o = r.inferredFrom;
|
|
16640
16640
|
if (o === void 0) return r;
|
|
16641
16641
|
const i = Lb(n, o);
|
|
16642
|
-
return t.coords.coordType === "polar" ?
|
|
16642
|
+
return t.coords.coordType === "polar" ? Ok(i) : i;
|
|
16643
16643
|
}) });
|
|
16644
16644
|
}
|
|
16645
16645
|
runCompile(e) {
|
|
@@ -16738,7 +16738,7 @@ var nye = (e) => ({
|
|
|
16738
16738
|
spec: e
|
|
16739
16739
|
};
|
|
16740
16740
|
}
|
|
16741
|
-
}, $
|
|
16741
|
+
}, $k = [
|
|
16742
16742
|
"data",
|
|
16743
16743
|
"transform",
|
|
16744
16744
|
"constantMapping",
|
|
@@ -16766,11 +16766,11 @@ var by = [
|
|
|
16766
16766
|
"grouped-bars",
|
|
16767
16767
|
"stacked-bars",
|
|
16768
16768
|
"lines"
|
|
16769
|
-
],
|
|
16769
|
+
], zk = {
|
|
16770
16770
|
"grouped-bars": "dodge",
|
|
16771
16771
|
"stacked-bars": "stack",
|
|
16772
16772
|
lines: null
|
|
16773
|
-
}, TB = (e) => e === "identity" ? "grouped-bars" : by.find((t) =>
|
|
16773
|
+
}, TB = (e) => e === "identity" ? "grouped-bars" : by.find((t) => zk[t] === e) ?? null;
|
|
16774
16774
|
function aye(e) {
|
|
16775
16775
|
return {
|
|
16776
16776
|
type: "config",
|
|
@@ -16863,7 +16863,7 @@ var fye = {
|
|
|
16863
16863
|
color: {
|
|
16864
16864
|
continuous: (e) => ur("color", e),
|
|
16865
16865
|
discrete: (e) => Ur("color", e),
|
|
16866
|
-
palette: (e) =>
|
|
16866
|
+
palette: (e) => Rk("color", e)
|
|
16867
16867
|
},
|
|
16868
16868
|
size: {
|
|
16869
16869
|
continuous: (e) => ur("size", e),
|
|
@@ -16994,7 +16994,7 @@ function gye(e, t) {
|
|
|
16994
16994
|
annotations: n
|
|
16995
16995
|
};
|
|
16996
16996
|
}
|
|
16997
|
-
var
|
|
16997
|
+
var Wk = {
|
|
16998
16998
|
identity: yye,
|
|
16999
16999
|
count: bye,
|
|
17000
17000
|
smooth: vye,
|
|
@@ -17079,7 +17079,7 @@ function CB(e) {
|
|
|
17079
17079
|
...n.geom
|
|
17080
17080
|
},
|
|
17081
17081
|
stat: {
|
|
17082
|
-
...
|
|
17082
|
+
...Wk,
|
|
17083
17083
|
...n.stat
|
|
17084
17084
|
},
|
|
17085
17085
|
transform: {
|
|
@@ -17109,7 +17109,7 @@ function Pye() {
|
|
|
17109
17109
|
}
|
|
17110
17110
|
function kB(e) {
|
|
17111
17111
|
const t = {};
|
|
17112
|
-
for (const n of e) n.styleTarget !== void 0 && (t[n.type] =
|
|
17112
|
+
for (const n of e) n.styleTarget !== void 0 && (t[n.type] = Fk(nF(n.type, n.styleTarget)));
|
|
17113
17113
|
return t;
|
|
17114
17114
|
}
|
|
17115
17115
|
function Rye(e) {
|
|
@@ -17130,7 +17130,7 @@ function Rye(e) {
|
|
|
17130
17130
|
style: kB(t)
|
|
17131
17131
|
};
|
|
17132
17132
|
}
|
|
17133
|
-
var Wx = "…",
|
|
17133
|
+
var Wx = "…", Gk = (e, t, n) => {
|
|
17134
17134
|
if (t <= 0 || e.length === 0) return "";
|
|
17135
17135
|
if (n(e) <= t) return e;
|
|
17136
17136
|
if (n(Wx) > t) return "";
|
|
@@ -17148,7 +17148,7 @@ var br = { timeZone: "UTC" }, lr = (e) => (t) => {
|
|
|
17148
17148
|
} catch {
|
|
17149
17149
|
return "n/a";
|
|
17150
17150
|
}
|
|
17151
|
-
}, Gs = (e) => (t) => Pt(t) ? e(t) : "–",
|
|
17151
|
+
}, Gs = (e) => (t) => Pt(t) ? e(t) : "–", Uk = (e) => (t) => tb(t) ? t : "–", Iye = /* @__PURE__ */ zr(((e, t) => {
|
|
17152
17152
|
(function() {
|
|
17153
17153
|
var n = Object.assign || function(x) {
|
|
17154
17154
|
for (var k, _ = 1; _ < arguments.length; _++) {
|
|
@@ -17936,7 +17936,7 @@ var br = { timeZone: "UTC" }, lr = (e) => (t) => {
|
|
|
17936
17936
|
ms: () => "ms"
|
|
17937
17937
|
} }
|
|
17938
17938
|
}), Db = { signDisplay: "negative" }, PB = ({ valueFormat: e, locale: t, numberFormat: n, intlOptions: r }) => Gs((o) => {
|
|
17939
|
-
const i = typeof n.decimals == "number" ? n.decimals : 2, a =
|
|
17939
|
+
const i = typeof n.decimals == "number" ? n.decimals : 2, a = Yk(o, i), { base: s, suffix: l } = Kk(o, n.abbreviation);
|
|
17940
17940
|
return `${pm(t, {
|
|
17941
17941
|
...a,
|
|
17942
17942
|
...Db,
|
|
@@ -17948,13 +17948,13 @@ var br = { timeZone: "UTC" }, lr = (e) => (t) => {
|
|
|
17948
17948
|
...r
|
|
17949
17949
|
}).format(s)}${l}`;
|
|
17950
17950
|
}), RB = ({ locale: e, numberFormat: t, intlOptions: n }) => Gs((r) => {
|
|
17951
|
-
const { base: o, suffix: i } =
|
|
17951
|
+
const { base: o, suffix: i } = Kk(r, t.abbreviation);
|
|
17952
17952
|
return `${pm(e, {
|
|
17953
|
-
...
|
|
17953
|
+
...Yk(o, t.decimals),
|
|
17954
17954
|
...Db,
|
|
17955
17955
|
...n
|
|
17956
17956
|
}).format(o)}${i}`;
|
|
17957
|
-
}),
|
|
17957
|
+
}), jk = (e) => Gs((t) => {
|
|
17958
17958
|
const n = Lye(Math.abs(t));
|
|
17959
17959
|
return t < 0 ? `-${n}` : n;
|
|
17960
17960
|
}), IB = ({ locale: e, intlOptions: t }) => {
|
|
@@ -17965,11 +17965,11 @@ var br = { timeZone: "UTC" }, lr = (e) => (t) => {
|
|
|
17965
17965
|
});
|
|
17966
17966
|
return Gs((r) => n.format(r));
|
|
17967
17967
|
}, OB = ({ locale: e, numberFormat: t, intlOptions: n }) => Gs((r) => pm(e, {
|
|
17968
|
-
...
|
|
17968
|
+
...Yk(r, t.decimals),
|
|
17969
17969
|
...Db,
|
|
17970
17970
|
...n,
|
|
17971
17971
|
style: "percent"
|
|
17972
|
-
}).format(r)),
|
|
17972
|
+
}).format(r)), Kk = (e, t = "none") => {
|
|
17973
17973
|
switch (t) {
|
|
17974
17974
|
case "none":
|
|
17975
17975
|
return {
|
|
@@ -17978,7 +17978,7 @@ var br = { timeZone: "UTC" }, lr = (e) => (t) => {
|
|
|
17978
17978
|
};
|
|
17979
17979
|
case "auto": {
|
|
17980
17980
|
const n = _ye(e);
|
|
17981
|
-
return
|
|
17981
|
+
return Kk(e, n);
|
|
17982
17982
|
}
|
|
17983
17983
|
default:
|
|
17984
17984
|
return {
|
|
@@ -17986,7 +17986,7 @@ var br = { timeZone: "UTC" }, lr = (e) => (t) => {
|
|
|
17986
17986
|
suffix: t
|
|
17987
17987
|
};
|
|
17988
17988
|
}
|
|
17989
|
-
},
|
|
17989
|
+
}, Yk = (e, t) => {
|
|
17990
17990
|
if (typeof t == "number") return {
|
|
17991
17991
|
minimumFractionDigits: t,
|
|
17992
17992
|
maximumFractionDigits: t
|
|
@@ -18029,7 +18029,7 @@ var br = { timeZone: "UTC" }, lr = (e) => (t) => {
|
|
|
18029
18029
|
...t
|
|
18030
18030
|
});
|
|
18031
18031
|
return lr((r) => n.format(r));
|
|
18032
|
-
},
|
|
18032
|
+
}, qk = ({ locale: e, intlOptions: t }) => {
|
|
18033
18033
|
const n = xr(e, {
|
|
18034
18034
|
month: "short",
|
|
18035
18035
|
year: "numeric",
|
|
@@ -18037,7 +18037,7 @@ var br = { timeZone: "UTC" }, lr = (e) => (t) => {
|
|
|
18037
18037
|
...t
|
|
18038
18038
|
});
|
|
18039
18039
|
return lr((r) => n.format(r));
|
|
18040
|
-
},
|
|
18040
|
+
}, Xk = (e) => lr((t) => `Q${Math.floor(t.getUTCMonth() / 3) + 1} ${t.getUTCFullYear()}`), DB = ({ locale: e, intlOptions: t }) => {
|
|
18041
18041
|
const n = xr(e, {
|
|
18042
18042
|
day: "numeric",
|
|
18043
18043
|
month: "long",
|
|
@@ -18053,7 +18053,7 @@ var br = { timeZone: "UTC" }, lr = (e) => (t) => {
|
|
|
18053
18053
|
...t
|
|
18054
18054
|
});
|
|
18055
18055
|
return lr((r) => n.formatRange(r, BB(r, 6)));
|
|
18056
|
-
},
|
|
18056
|
+
}, Jk = ({ locale: e, intlOptions: t }) => {
|
|
18057
18057
|
const n = xr(e, {
|
|
18058
18058
|
year: "numeric",
|
|
18059
18059
|
...br,
|
|
@@ -18072,7 +18072,7 @@ var br = { timeZone: "UTC" }, lr = (e) => (t) => {
|
|
|
18072
18072
|
return e.map((r, o) => o === t && n?.type === "literal" && n.value === ", " ? " • " : r.value).join("");
|
|
18073
18073
|
}, EO = 1e3, Vye = ({ valueFormat: e, locale: t, tickValues: n, intlOptions: r }) => Gs((o) => {
|
|
18074
18074
|
const i = {
|
|
18075
|
-
...
|
|
18075
|
+
...Zk(o, n),
|
|
18076
18076
|
notation: "compact",
|
|
18077
18077
|
...y8(e) ? {
|
|
18078
18078
|
style: "currency",
|
|
@@ -18081,27 +18081,27 @@ var br = { timeZone: "UTC" }, lr = (e) => (t) => {
|
|
|
18081
18081
|
} : {},
|
|
18082
18082
|
...r
|
|
18083
18083
|
};
|
|
18084
|
-
return
|
|
18084
|
+
return Qk(o, t, i);
|
|
18085
18085
|
}), Hye = ({ locale: e, tickValues: t, intlOptions: n }) => Gs((r) => {
|
|
18086
18086
|
const o = {
|
|
18087
|
-
...
|
|
18087
|
+
...Zk(r, t),
|
|
18088
18088
|
notation: "compact",
|
|
18089
18089
|
...n
|
|
18090
18090
|
};
|
|
18091
|
-
return
|
|
18091
|
+
return Qk(r, e, o);
|
|
18092
18092
|
}), $ye = ({ locale: e, tickValues: t, intlOptions: n }) => Gs((r) => {
|
|
18093
18093
|
const o = {
|
|
18094
|
-
...
|
|
18094
|
+
...Zk(r, t),
|
|
18095
18095
|
notation: "compact",
|
|
18096
18096
|
...n,
|
|
18097
18097
|
style: "percent"
|
|
18098
18098
|
};
|
|
18099
|
-
return
|
|
18100
|
-
}),
|
|
18099
|
+
return Qk(r, e, o);
|
|
18100
|
+
}), Qk = (e, t, n) => pm(t, n).formatToParts(e).map((r) => r.type === "compact" ? r.value.toLowerCase() : r.value).join(""), VB = (e) => Math.abs(e) > EO ? VB(e / EO) : Number.isInteger(e), zye = (e) => {
|
|
18101
18101
|
if (e.length < 2) return !1;
|
|
18102
18102
|
const [t, n] = e;
|
|
18103
18103
|
return typeof t != "number" || typeof n != "number" ? !1 : Math.abs(n - t) < 1;
|
|
18104
|
-
},
|
|
18104
|
+
}, Zk = (e, t) => VB(e) ? {
|
|
18105
18105
|
minimumFractionDigits: 0,
|
|
18106
18106
|
maximumFractionDigits: 0
|
|
18107
18107
|
} : zye(t) ? {
|
|
@@ -18174,7 +18174,7 @@ var br = { timeZone: "UTC" }, lr = (e) => (t) => {
|
|
|
18174
18174
|
const t = /* @__PURE__ */ new Set();
|
|
18175
18175
|
for (const n of e) t.add(`${n.getUTCFullYear()}-${n.getUTCMonth()}-${n.getUTCDate()}`);
|
|
18176
18176
|
return t;
|
|
18177
|
-
},
|
|
18177
|
+
}, e2 = (e) => {
|
|
18178
18178
|
const { valueFormat: t } = e;
|
|
18179
18179
|
switch (t.type) {
|
|
18180
18180
|
case "currency":
|
|
@@ -18191,23 +18191,23 @@ var br = { timeZone: "UTC" }, lr = (e) => (t) => {
|
|
|
18191
18191
|
case "integer":
|
|
18192
18192
|
return Hye(e);
|
|
18193
18193
|
case "duration":
|
|
18194
|
-
return
|
|
18194
|
+
return jk(e);
|
|
18195
18195
|
case "month":
|
|
18196
18196
|
return Uye(e);
|
|
18197
18197
|
case "month_year":
|
|
18198
|
-
return
|
|
18198
|
+
return qk(e);
|
|
18199
18199
|
case "percentage":
|
|
18200
18200
|
return $ye(e);
|
|
18201
18201
|
case "quarter":
|
|
18202
|
-
return
|
|
18202
|
+
return Xk(e);
|
|
18203
18203
|
case "text":
|
|
18204
|
-
return
|
|
18204
|
+
return Uk(e);
|
|
18205
18205
|
case "time":
|
|
18206
18206
|
return Yye(e);
|
|
18207
18207
|
case "year":
|
|
18208
|
-
return
|
|
18208
|
+
return Jk(e);
|
|
18209
18209
|
case "lookup":
|
|
18210
|
-
return
|
|
18210
|
+
return e2({
|
|
18211
18211
|
...e,
|
|
18212
18212
|
valueFormat: t.fallback
|
|
18213
18213
|
});
|
|
@@ -18281,7 +18281,7 @@ var br = { timeZone: "UTC" }, lr = (e) => (t) => {
|
|
|
18281
18281
|
const o = (i) => r(i).width;
|
|
18282
18282
|
return e.map((i, a) => (t[a] ?? 0) <= n ? i : {
|
|
18283
18283
|
...i,
|
|
18284
|
-
formattedLabel:
|
|
18284
|
+
formattedLabel: Gk(i.formattedLabel, n, o)
|
|
18285
18285
|
});
|
|
18286
18286
|
}, fT = (e) => Math.max(0, Math.floor(e)), o0e = (e, t, n, r, o) => {
|
|
18287
18287
|
if (e === 0) return !0;
|
|
@@ -18368,25 +18368,25 @@ var br = { timeZone: "UTC" }, lr = (e) => (t) => {
|
|
|
18368
18368
|
case "decimal":
|
|
18369
18369
|
return RB(e);
|
|
18370
18370
|
case "duration":
|
|
18371
|
-
return
|
|
18371
|
+
return jk(e);
|
|
18372
18372
|
case "integer":
|
|
18373
18373
|
return IB(e);
|
|
18374
18374
|
case "month":
|
|
18375
18375
|
return _B(e);
|
|
18376
18376
|
case "month_year":
|
|
18377
|
-
return
|
|
18377
|
+
return qk(e);
|
|
18378
18378
|
case "percentage":
|
|
18379
18379
|
return OB(e);
|
|
18380
18380
|
case "quarter":
|
|
18381
|
-
return
|
|
18381
|
+
return Xk(e);
|
|
18382
18382
|
case "text":
|
|
18383
|
-
return
|
|
18383
|
+
return Uk(e);
|
|
18384
18384
|
case "weekly_date_range":
|
|
18385
18385
|
return DB(e);
|
|
18386
18386
|
case "weekly_date_range_with_year":
|
|
18387
18387
|
return NB(e);
|
|
18388
18388
|
case "year":
|
|
18389
|
-
return
|
|
18389
|
+
return Jk(e);
|
|
18390
18390
|
case "time":
|
|
18391
18391
|
return FB(e);
|
|
18392
18392
|
case "lookup":
|
|
@@ -18400,7 +18400,7 @@ var br = { timeZone: "UTC" }, lr = (e) => (t) => {
|
|
|
18400
18400
|
}
|
|
18401
18401
|
}
|
|
18402
18402
|
};
|
|
18403
|
-
function
|
|
18403
|
+
function t2({ layer: e, numberFormat: t, locale: n }) {
|
|
18404
18404
|
return In({
|
|
18405
18405
|
valueFormat: hse(e),
|
|
18406
18406
|
locale: n,
|
|
@@ -18417,7 +18417,7 @@ var f0e = (e, t) => {
|
|
|
18417
18417
|
variable: St.group
|
|
18418
18418
|
};
|
|
18419
18419
|
}, $B = ({ layer: e, coordSystem: t, axes: n, numberFormat: r, panelRect: o, measureDataLabel: i, readers: a, formattingLocale: s, percentageValueStrategy: l }) => {
|
|
18420
|
-
const c =
|
|
18420
|
+
const c = t2({
|
|
18421
18421
|
layer: e,
|
|
18422
18422
|
numberFormat: r,
|
|
18423
18423
|
locale: s
|
|
@@ -18478,7 +18478,7 @@ var f0e = (e, t) => {
|
|
|
18478
18478
|
}
|
|
18479
18479
|
const a = o[t];
|
|
18480
18480
|
if (a == null) return null;
|
|
18481
|
-
const s = n?.get(
|
|
18481
|
+
const s = n?.get(mk(o, t));
|
|
18482
18482
|
return s === void 0 ? null : s.total;
|
|
18483
18483
|
};
|
|
18484
18484
|
}, g0e = (e, t) => {
|
|
@@ -18544,7 +18544,7 @@ var f0e = (e, t) => {
|
|
|
18544
18544
|
cartesian: ["cartesian", "flip"],
|
|
18545
18545
|
polar: ["polar"]
|
|
18546
18546
|
}, w0e = null;
|
|
18547
|
-
function
|
|
18547
|
+
function n2(e = []) {
|
|
18548
18548
|
const t = T0e(e), n = (r, o) => {
|
|
18549
18549
|
if (!t.has(r)) return null;
|
|
18550
18550
|
const i = t.get(r);
|
|
@@ -18560,7 +18560,7 @@ function nk(e = []) {
|
|
|
18560
18560
|
};
|
|
18561
18561
|
}
|
|
18562
18562
|
function WB() {
|
|
18563
|
-
return w0e ??=
|
|
18563
|
+
return w0e ??= n2();
|
|
18564
18564
|
}
|
|
18565
18565
|
function T0e(e) {
|
|
18566
18566
|
const t = new Fd();
|
|
@@ -18753,7 +18753,7 @@ var Gx = {
|
|
|
18753
18753
|
return Object.assign(() => c, l);
|
|
18754
18754
|
};
|
|
18755
18755
|
return Object.fromEntries(Object.entries(_t).map(([s, l]) => [s, s === "geom" ? t : a(l)]));
|
|
18756
|
-
}, RO = (e) => e.list === "builtin" || e.list === "theme" ? e.list : "authored",
|
|
18756
|
+
}, RO = (e) => e.list === "builtin" || e.list === "theme" ? e.list : "authored", r2 = (e) => e === "theme" || e === "authored", IO = (e, t) => {
|
|
18757
18757
|
const n = /* @__PURE__ */ new Map();
|
|
18758
18758
|
return new Proxy(e, { get: (r, o, i) => {
|
|
18759
18759
|
if (typeof o != "string" || o in r) return Reflect.get(r, o, i);
|
|
@@ -18773,7 +18773,7 @@ var Gx = {
|
|
|
18773
18773
|
return (i) => {
|
|
18774
18774
|
const a = i.select;
|
|
18775
18775
|
if (a.target !== r.target) return !1;
|
|
18776
|
-
for (const s of
|
|
18776
|
+
for (const s of hk) {
|
|
18777
18777
|
const l = r[s], c = a[s];
|
|
18778
18778
|
if (s === "part" && o) {
|
|
18779
18779
|
if (c !== l) return !1;
|
|
@@ -18913,7 +18913,7 @@ var Gx = {
|
|
|
18913
18913
|
const t = e.directLabel();
|
|
18914
18914
|
return {
|
|
18915
18915
|
...t.resolve(),
|
|
18916
|
-
isTextColorAuthored:
|
|
18916
|
+
isTextColorAuthored: r2(t.getSource("textColor"))
|
|
18917
18917
|
};
|
|
18918
18918
|
}, Tv = (e, t) => {
|
|
18919
18919
|
const n = e.headlineItem, r = n.number().resolve(), o = {
|
|
@@ -19087,7 +19087,7 @@ var J0e = (e) => {
|
|
|
19087
19087
|
}, QB = {
|
|
19088
19088
|
outer: dd,
|
|
19089
19089
|
inner: dd
|
|
19090
|
-
}, nbe = (e, t, n, r = dd, o = QB, i =
|
|
19090
|
+
}, nbe = (e, t, n, r = dd, o = QB, i = pk, a, s) => {
|
|
19091
19091
|
const l = {
|
|
19092
19092
|
top: o.inner.top + r.top,
|
|
19093
19093
|
right: o.inner.right + r.right,
|
|
@@ -19467,7 +19467,7 @@ var pT = [
|
|
|
19467
19467
|
panelBorder: e.panelBorder ?? dd,
|
|
19468
19468
|
headline: e.headline,
|
|
19469
19469
|
locale: e.formattingLocale ?? e.parsingLocale,
|
|
19470
|
-
padding: e.padding ??
|
|
19470
|
+
padding: e.padding ?? pk,
|
|
19471
19471
|
margins: e.margins
|
|
19472
19472
|
}).pipe(({ axes: t, numberFormat: n, locale: r }) => ({ axisBundles: t.map((o) => ({
|
|
19473
19473
|
axis: o,
|
|
@@ -19697,7 +19697,7 @@ var pT = [
|
|
|
19697
19697
|
return (o) => {
|
|
19698
19698
|
const i = r.get(o);
|
|
19699
19699
|
if (i) return i;
|
|
19700
|
-
const a =
|
|
19700
|
+
const a = e2({
|
|
19701
19701
|
valueFormat: o.valueFormat ?? e.valueFormat,
|
|
19702
19702
|
locale: t,
|
|
19703
19703
|
numberFormat: n,
|
|
@@ -20006,7 +20006,7 @@ var De = (e) => `${Number.parseFloat((e * 100).toFixed(4))}%`, Vo = (e, t) => {
|
|
|
20006
20006
|
if (n <= 0) return "";
|
|
20007
20007
|
const { start: r, end: o } = t, i = e === "start" ? r.x : o.x, a = e === "start" ? r.y : o.y, s = e === "start" ? Math.atan2(r.y - o.y, r.x - o.x) : Math.atan2(o.y - r.y, o.x - r.x);
|
|
20008
20008
|
return `M ${i} ${a} L ${i - n * Math.cos(s - vg)} ${a - n * Math.sin(s - vg)} M ${i} ${a} L ${i - n * Math.cos(s + vg)} ${a - n * Math.sin(s + vg)}`;
|
|
20009
|
-
}, Nbe = 64,
|
|
20009
|
+
}, Nbe = 64, o2 = ({ arrow: e, style: t, panelWidth: n, panelHeight: r }) => {
|
|
20010
20010
|
const o = {
|
|
20011
20011
|
width: n,
|
|
20012
20012
|
height: r
|
|
@@ -20289,7 +20289,7 @@ var Jbe = ({ layers: e, coordSystem: t, axes: n, numberFormat: r, parsingLocale:
|
|
|
20289
20289
|
}, o9 = (e) => {
|
|
20290
20290
|
const t = UC(e) ? zo(e.data, e.mapping) : [], n = GC(e), r = n === null ? t : [...t, n], o = Od(e);
|
|
20291
20291
|
return o === St.group ? [...new Set(r)] : [.../* @__PURE__ */ new Set([o, ...r])];
|
|
20292
|
-
},
|
|
20292
|
+
}, i2 = (e) => e !== "data-point", o1e = (e, t) => {
|
|
20293
20293
|
switch (t) {
|
|
20294
20294
|
case "series": {
|
|
20295
20295
|
const n = zo(e.data, e.mapping);
|
|
@@ -20314,14 +20314,14 @@ var Jbe = ({ layers: e, coordSystem: t, axes: n, numberFormat: r, parsingLocale:
|
|
|
20314
20314
|
} : e.identityKey === "index" ? null : {
|
|
20315
20315
|
variables: o9(e),
|
|
20316
20316
|
allowNull: !1
|
|
20317
|
-
}, vh = [], tL = /* @__PURE__ */ new WeakMap(), i9 = (e, t, n) => n < 0 || n >= e.data.size() ? null : t === "data-point" ? String(n) : hp(e, t).keyByRow[n] ?? null,
|
|
20317
|
+
}, vh = [], tL = /* @__PURE__ */ new WeakMap(), i9 = (e, t, n) => n < 0 || n >= e.data.size() ? null : t === "data-point" ? String(n) : hp(e, t).keyByRow[n] ?? null, a2 = (e, t, n) => {
|
|
20318
20318
|
if (t === "data-point") {
|
|
20319
20319
|
const r = Number(n);
|
|
20320
20320
|
return Number.isInteger(r) && r >= 0 && r < e.data.size() ? [r] : vh;
|
|
20321
20321
|
}
|
|
20322
20322
|
return hp(e, t).rowsByKey.get(n) ?? vh;
|
|
20323
20323
|
}, i1e = (e, t) => hp(e, t).keyByRow, a1e = (e, t, n, r) => {
|
|
20324
|
-
if (n !== "data-point") return
|
|
20324
|
+
if (n !== "data-point") return a2(e, n, r);
|
|
20325
20325
|
const o = Number(r);
|
|
20326
20326
|
if (!Number.isInteger(o) || o < 0 || o >= t.data.size()) return vh;
|
|
20327
20327
|
const i = hp(t, "vertex").keyByRow[o];
|
|
@@ -20387,9 +20387,9 @@ var Jbe = ({ layers: e, coordSystem: t, axes: n, numberFormat: r, parsingLocale:
|
|
|
20387
20387
|
if (Bi(e.predicate, t.data).length > 0) return !1;
|
|
20388
20388
|
const i = Fi(e.predicate, _d(t, o));
|
|
20389
20389
|
if (i(n)) return !0;
|
|
20390
|
-
if (!
|
|
20390
|
+
if (!i2(e.scope)) return !1;
|
|
20391
20391
|
const a = i9(t, e.scope, r);
|
|
20392
|
-
return a === null ? !1 :
|
|
20392
|
+
return a === null ? !1 : a2(t, e.scope, a).some((s) => {
|
|
20393
20393
|
const l = t.data.getAt(s);
|
|
20394
20394
|
return l !== null && i(l);
|
|
20395
20395
|
});
|
|
@@ -20432,7 +20432,7 @@ var Jbe = ({ layers: e, coordSystem: t, axes: n, numberFormat: r, parsingLocale:
|
|
|
20432
20432
|
cursor: e.target.cursor,
|
|
20433
20433
|
tooltip: { kind: "cursor" },
|
|
20434
20434
|
priority: y1e
|
|
20435
|
-
}),
|
|
20435
|
+
}), s2 = (e, t) => l9(e, {
|
|
20436
20436
|
kind: "circle",
|
|
20437
20437
|
center: t.center,
|
|
20438
20438
|
radius: t.radius
|
|
@@ -20442,7 +20442,7 @@ var Jbe = ({ layers: e, coordSystem: t, axes: n, numberFormat: r, parsingLocale:
|
|
|
20442
20442
|
return t.filter((a) => {
|
|
20443
20443
|
if (a.layerId !== void 0 && a.layerId !== e.id || Bi(a.predicate, e.data).length > 0) return !1;
|
|
20444
20444
|
const s = Fi(a.predicate, o);
|
|
20445
|
-
return s(n) ? !0 :
|
|
20445
|
+
return s(n) ? !0 : i2(a.scope) && i(a.scope).some(s);
|
|
20446
20446
|
});
|
|
20447
20447
|
}, T1e = (e, t) => {
|
|
20448
20448
|
const n = im(e.mapping), r = /* @__PURE__ */ new Map();
|
|
@@ -20563,7 +20563,7 @@ var Jbe = ({ layers: e, coordSystem: t, axes: n, numberFormat: r, parsingLocale:
|
|
|
20563
20563
|
layer: n,
|
|
20564
20564
|
observation: r
|
|
20565
20565
|
};
|
|
20566
|
-
}, mm = (e) =>
|
|
20566
|
+
}, mm = (e) => Lk(e.data, e.transforms), m9 = (e, t) => {
|
|
20567
20567
|
const n = e.layers.map((u) => ({
|
|
20568
20568
|
...u,
|
|
20569
20569
|
mapping: {
|
|
@@ -20572,7 +20572,7 @@ var Jbe = ({ layers: e, coordSystem: t, axes: n, numberFormat: r, parsingLocale:
|
|
|
20572
20572
|
}
|
|
20573
20573
|
})), r = It(n, t.layerId);
|
|
20574
20574
|
if (r === void 0) return null;
|
|
20575
|
-
const o =
|
|
20575
|
+
const o = fk(r, n), i = Sb(o, n), a = o.mapping;
|
|
20576
20576
|
if (I1e([o, ...i], t.scope) || O1e(o, t.scope) || [o, ...i].some((u) => R1e(e, u))) return null;
|
|
20577
20577
|
const s = L1e(t, a) ? void 0 : t.predicate, l = oL(o, s);
|
|
20578
20578
|
if (l === null) return null;
|
|
@@ -20589,7 +20589,7 @@ var Jbe = ({ layers: e, coordSystem: t, axes: n, numberFormat: r, parsingLocale:
|
|
|
20589
20589
|
...t.mapping
|
|
20590
20590
|
}.color);
|
|
20591
20591
|
if (n === null) return !1;
|
|
20592
|
-
const r =
|
|
20592
|
+
const r = Lk(mm(e), t.transforms);
|
|
20593
20593
|
return r.hasVariable(n) ? r.getType(n) !== "categorical" : !0;
|
|
20594
20594
|
}, I1e = (e, t) => (t === "x-value" || t === "data-point") && e.some((n) => N7(n.geom)), O1e = (e, t) => t === "x-value" && vr(e.position) && !N7(e.geom), L1e = (e, t) => {
|
|
20595
20595
|
if (e.scope !== "series") return !1;
|
|
@@ -20620,16 +20620,16 @@ var Jbe = ({ layers: e, coordSystem: t, axes: n, numberFormat: r, parsingLocale:
|
|
|
20620
20620
|
if (t === void 0) return null;
|
|
20621
20621
|
const n = Object.entries(t).find(([, r]) => r === "color")?.[0];
|
|
20622
20622
|
return n === "fill" || n === "stroke" ? n : null;
|
|
20623
|
-
}, N1e = (e) => e?.kind === "visual" && e.paletteBeforeOverrides !== void 0 ? e.paletteBeforeOverrides : Ob, F1e = /* @__PURE__ */ new Set(["line", "rule"]),
|
|
20623
|
+
}, N1e = (e) => e?.kind === "visual" && e.paletteBeforeOverrides !== void 0 ? e.paletteBeforeOverrides : Ob, F1e = /* @__PURE__ */ new Set(["line", "rule"]), l2 = (e) => F1e.has(e), Us = (e, t, n, r) => {
|
|
20624
20624
|
const o = e.geom(t);
|
|
20625
|
-
if (
|
|
20625
|
+
if (l2(t.geom)) return o.get("stroke", n, r);
|
|
20626
20626
|
const i = o.get("fill", n, r);
|
|
20627
20627
|
return i === void 0 ? o.get("stroke", n, r) : Ut(i);
|
|
20628
20628
|
}, xy = ({ layer: e, target: t, parsingLocale: n, host: r }) => {
|
|
20629
20629
|
if (t.layerId !== (r ?? e).id) return [];
|
|
20630
20630
|
const o = g9(e, t, n);
|
|
20631
20631
|
if (o === null) return [];
|
|
20632
|
-
if (
|
|
20632
|
+
if (i2(t.scope)) return V1e(e, o, t.scope);
|
|
20633
20633
|
const i = v9(e, o), a = i[B1e(t, i, r, n)];
|
|
20634
20634
|
return a === void 0 ? i : [a];
|
|
20635
20635
|
}, B1e = (e, t, n, r) => {
|
|
@@ -20653,7 +20653,7 @@ var Jbe = ({ layers: e, coordSystem: t, axes: n, numberFormat: r, parsingLocale:
|
|
|
20653
20653
|
}, H1e = ({ readers: e, layers: t, target: n, parsingLocale: r }) => {
|
|
20654
20654
|
const o = It(t, n.layerId);
|
|
20655
20655
|
if (o === void 0) return null;
|
|
20656
|
-
const i =
|
|
20656
|
+
const i = fk(o, t);
|
|
20657
20657
|
let a;
|
|
20658
20658
|
for (const s of [i, ...Sb(i, t)]) {
|
|
20659
20659
|
const l = xy({
|
|
@@ -20790,7 +20790,7 @@ var X1e = ({ headline: e, show: t, numberFormat: n, parsingLocale: r, formatting
|
|
|
20790
20790
|
valueFormat: s.groupLabelFormat,
|
|
20791
20791
|
locale: n,
|
|
20792
20792
|
numberFormat: r
|
|
20793
|
-
}), u =
|
|
20793
|
+
}), u = e2({
|
|
20794
20794
|
valueFormat: s.mainValueFormat,
|
|
20795
20795
|
locale: n,
|
|
20796
20796
|
numberFormat: r,
|
|
@@ -20837,7 +20837,7 @@ var X1e = ({ headline: e, show: t, numberFormat: n, parsingLocale: r, formatting
|
|
|
20837
20837
|
};
|
|
20838
20838
|
})
|
|
20839
20839
|
});
|
|
20840
|
-
function
|
|
20840
|
+
function c2(e, t) {
|
|
20841
20841
|
return e.axes.find((n) => n.scaleAestheticKey === t) ?? null;
|
|
20842
20842
|
}
|
|
20843
20843
|
var ixe = ({ guides: e, numberFormat: t, layer: n, locale: r }) => {
|
|
@@ -20845,7 +20845,7 @@ var ixe = ({ guides: e, numberFormat: t, layer: n, locale: r }) => {
|
|
|
20845
20845
|
if (!o) return null;
|
|
20846
20846
|
const i = n.mapping.y !== void 0, a = (i ? X4 : Id)(n.data, n.mapping)(o);
|
|
20847
20847
|
return a === null ? null : In({
|
|
20848
|
-
valueFormat:
|
|
20848
|
+
valueFormat: c2(e, i ? _s(n.yScaleType) : "x")?.valueFormat ?? { type: "decimal" },
|
|
20849
20849
|
locale: r,
|
|
20850
20850
|
numberFormat: t
|
|
20851
20851
|
})(a);
|
|
@@ -20922,7 +20922,7 @@ function pxe(e) {
|
|
|
20922
20922
|
for (let o = 1, i = r.length; o < i; ++o) this._ += Math.round(arguments[o] * n) / n + r[o];
|
|
20923
20923
|
};
|
|
20924
20924
|
}
|
|
20925
|
-
var
|
|
20925
|
+
var u2 = class {
|
|
20926
20926
|
constructor(e) {
|
|
20927
20927
|
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? S9 : pxe(e);
|
|
20928
20928
|
}
|
|
@@ -20964,10 +20964,10 @@ var uk = class {
|
|
|
20964
20964
|
}
|
|
20965
20965
|
};
|
|
20966
20966
|
function mxe() {
|
|
20967
|
-
return new
|
|
20967
|
+
return new u2();
|
|
20968
20968
|
}
|
|
20969
|
-
mxe.prototype =
|
|
20970
|
-
function
|
|
20969
|
+
mxe.prototype = u2.prototype;
|
|
20970
|
+
function d2(e) {
|
|
20971
20971
|
let t = 3;
|
|
20972
20972
|
return e.digits = function(n) {
|
|
20973
20973
|
if (!arguments.length) return t;
|
|
@@ -20978,7 +20978,7 @@ function dk(e) {
|
|
|
20978
20978
|
t = r;
|
|
20979
20979
|
}
|
|
20980
20980
|
return e;
|
|
20981
|
-
}, () => new
|
|
20981
|
+
}, () => new u2(t);
|
|
20982
20982
|
}
|
|
20983
20983
|
var Flt = Array.prototype.slice;
|
|
20984
20984
|
function w9(e) {
|
|
@@ -21013,7 +21013,7 @@ T9.prototype = {
|
|
|
21013
21013
|
}
|
|
21014
21014
|
}
|
|
21015
21015
|
};
|
|
21016
|
-
function
|
|
21016
|
+
function f2(e) {
|
|
21017
21017
|
return new T9(e);
|
|
21018
21018
|
}
|
|
21019
21019
|
function A9(e) {
|
|
@@ -21022,8 +21022,8 @@ function A9(e) {
|
|
|
21022
21022
|
function C9(e) {
|
|
21023
21023
|
return e[1];
|
|
21024
21024
|
}
|
|
21025
|
-
function
|
|
21026
|
-
var n = Sn(!0), r = null, o =
|
|
21025
|
+
function h2(e, t) {
|
|
21026
|
+
var n = Sn(!0), r = null, o = f2, i = null, a = d2(s);
|
|
21027
21027
|
e = typeof e == "function" ? e : e === void 0 ? A9 : Sn(e), t = typeof t == "function" ? t : t === void 0 ? C9 : Sn(t);
|
|
21028
21028
|
function s(l) {
|
|
21029
21029
|
var c, u = (l = w9(l)).length, d, f = !1, h;
|
|
@@ -21044,7 +21044,7 @@ function hk(e, t) {
|
|
|
21044
21044
|
}, s;
|
|
21045
21045
|
}
|
|
21046
21046
|
function k9(e, t, n) {
|
|
21047
|
-
var r = null, o = Sn(!0), i = null, a =
|
|
21047
|
+
var r = null, o = Sn(!0), i = null, a = f2, s = null, l = d2(c);
|
|
21048
21048
|
e = typeof e == "function" ? e : e === void 0 ? A9 : Sn(+e), t = typeof t == "function" ? t : Sn(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? C9 : Sn(+n);
|
|
21049
21049
|
function c(d) {
|
|
21050
21050
|
var f, h, p, g = (d = w9(d)).length, v, y = !1, b, S = new Array(g), w = new Array(g);
|
|
@@ -21060,7 +21060,7 @@ function k9(e, t, n) {
|
|
|
21060
21060
|
if (b) return s = null, b + "" || null;
|
|
21061
21061
|
}
|
|
21062
21062
|
function u() {
|
|
21063
|
-
return
|
|
21063
|
+
return h2().defined(o).curve(a).context(i);
|
|
21064
21064
|
}
|
|
21065
21065
|
return c.x = function(d) {
|
|
21066
21066
|
return arguments.length ? (e = typeof d == "function" ? d : Sn(+d), r = null, c) : e;
|
|
@@ -21116,7 +21116,7 @@ var E9 = { draw(e, t) {
|
|
|
21116
21116
|
e.moveTo(r, o), e.lineTo(i, a), e.lineTo(s, l), e.lineTo(Ao * r - Co * o, Co * r + Ao * o), e.lineTo(Ao * i - Co * a, Co * i + Ao * a), e.lineTo(Ao * s - Co * l, Co * s + Ao * l), e.lineTo(Ao * r + Co * o, Ao * o - Co * r), e.lineTo(Ao * i + Co * a, Ao * a - Co * i), e.lineTo(Ao * s + Co * l, Ao * l - Co * s), e.closePath();
|
|
21117
21117
|
} };
|
|
21118
21118
|
function R9(e, t) {
|
|
21119
|
-
let n = null, r =
|
|
21119
|
+
let n = null, r = d2(o);
|
|
21120
21120
|
e = typeof e == "function" ? e : Sn(e || E9), t = typeof t == "function" ? t : Sn(t === void 0 ? 64 : +t);
|
|
21121
21121
|
function o() {
|
|
21122
21122
|
let i;
|
|
@@ -21133,10 +21133,10 @@ function R9(e, t) {
|
|
|
21133
21133
|
function iL(e, t, n) {
|
|
21134
21134
|
e._context.bezierCurveTo(e._x1 + e._k * (e._x2 - e._x0), e._y1 + e._k * (e._y2 - e._y0), e._x2 + e._k * (e._x1 - t), e._y2 + e._k * (e._y1 - n), e._x2, e._y2);
|
|
21135
21135
|
}
|
|
21136
|
-
function
|
|
21136
|
+
function p2(e, t) {
|
|
21137
21137
|
this._context = e, this._k = (1 - t) / 6;
|
|
21138
21138
|
}
|
|
21139
|
-
|
|
21139
|
+
p2.prototype = {
|
|
21140
21140
|
areaStart: function() {
|
|
21141
21141
|
this._line = 0;
|
|
21142
21142
|
},
|
|
@@ -21176,7 +21176,7 @@ pk.prototype = {
|
|
|
21176
21176
|
};
|
|
21177
21177
|
var Blt = (function e(t) {
|
|
21178
21178
|
function n(r) {
|
|
21179
|
-
return new
|
|
21179
|
+
return new p2(r, t);
|
|
21180
21180
|
}
|
|
21181
21181
|
return n.tension = function(r) {
|
|
21182
21182
|
return e(+r);
|
|
@@ -21241,13 +21241,13 @@ I9.prototype = {
|
|
|
21241
21241
|
};
|
|
21242
21242
|
var Mxe = (function e(t) {
|
|
21243
21243
|
function n(r) {
|
|
21244
|
-
return t ? new I9(r, t) : new
|
|
21244
|
+
return t ? new I9(r, t) : new p2(r, 0);
|
|
21245
21245
|
}
|
|
21246
21246
|
return n.alpha = function(r) {
|
|
21247
21247
|
return e(+r);
|
|
21248
21248
|
}, n;
|
|
21249
|
-
})(0.5),
|
|
21250
|
-
const n =
|
|
21249
|
+
})(0.5), m2 = (e) => e === "smooth" ? Mxe : f2, g2 = (e, t) => {
|
|
21250
|
+
const n = m2(t.curve), r = k9().curve(n), o = h2().curve(n);
|
|
21251
21251
|
if (e.mainAxis === "y") {
|
|
21252
21252
|
const i = (l) => ai(xt(l) ?? 0), a = (l) => Zr(l) ?? 0, s = (l) => mr(l) ?? Ct(l) ?? 0;
|
|
21253
21253
|
r.y(i).x0(a).x1(s), o.y(i).x(s);
|
|
@@ -21263,7 +21263,7 @@ var Mxe = (function e(t) {
|
|
|
21263
21263
|
lineGenerator: o,
|
|
21264
21264
|
areaGenerator: r
|
|
21265
21265
|
};
|
|
21266
|
-
},
|
|
21266
|
+
}, v2 = (e, t) => t !== "connect" ? e : e.filter((n) => Ct(n) !== null && xt(n) !== null), O9 = {
|
|
21267
21267
|
none: 0,
|
|
21268
21268
|
xs: 2,
|
|
21269
21269
|
sm: 4,
|
|
@@ -21335,13 +21335,13 @@ var Mxe = (function e(t) {
|
|
|
21335
21335
|
x: r,
|
|
21336
21336
|
y: 0
|
|
21337
21337
|
};
|
|
21338
|
-
}, D9 = (e) => e.cornerRadius === "full",
|
|
21339
|
-
const t =
|
|
21338
|
+
}, D9 = (e) => e.cornerRadius === "full", y2 = (e) => {
|
|
21339
|
+
const t = h2().x((n) => Ct(n) ?? 0).y((n) => ai(xt(n) ?? 0)).curve(m2(e.curve));
|
|
21340
21340
|
return e.missingValues === "gap" && t.defined(N9), t;
|
|
21341
21341
|
}, Ixe = (e) => {
|
|
21342
|
-
const t = k9().x((n) => Ct(n) ?? 0).y0(() => 1).y1((n) => ai(xt(n) ?? 0)).curve(
|
|
21342
|
+
const t = k9().x((n) => Ct(n) ?? 0).y0(() => 1).y1((n) => ai(xt(n) ?? 0)).curve(m2(e.curve));
|
|
21343
21343
|
return e.missingValues === "gap" && t.defined(N9), t;
|
|
21344
|
-
},
|
|
21344
|
+
}, b2 = (e, t) => t !== "connect" ? e : e.filter((n) => Ct(n) !== null && xt(n) !== null), N9 = (e) => Ct(e) !== null && xt(e) !== null, x2 = {
|
|
21345
21345
|
circle: E9,
|
|
21346
21346
|
square: bxe,
|
|
21347
21347
|
diamond: yxe,
|
|
@@ -21351,11 +21351,11 @@ var Mxe = (function e(t) {
|
|
|
21351
21351
|
wye: kxe
|
|
21352
21352
|
}, Oxe = (e, t) => {
|
|
21353
21353
|
const n = t / 2;
|
|
21354
|
-
return R9(
|
|
21354
|
+
return R9(x2[e], Math.PI * n * n)() ?? "";
|
|
21355
21355
|
}, Lxe = (e, t, n) => {
|
|
21356
21356
|
const r = F9[e], o = Math.max(0, Math.min(t / r.width, n / r.height));
|
|
21357
21357
|
return {
|
|
21358
|
-
path: R9(
|
|
21358
|
+
path: R9(x2[e], o * o)() ?? "",
|
|
21359
21359
|
offsetX: -r.centerX * o,
|
|
21360
21360
|
offsetY: -r.centerY * o
|
|
21361
21361
|
};
|
|
@@ -21393,7 +21393,7 @@ var Mxe = (function e(t) {
|
|
|
21393
21393
|
centerY: (n + o) / 2,
|
|
21394
21394
|
outerRadius: i
|
|
21395
21395
|
};
|
|
21396
|
-
}, F9 = Object.fromEntries(Object.entries(
|
|
21396
|
+
}, F9 = Object.fromEntries(Object.entries(x2).map(([e, t]) => [e, Dxe(t)])), Nxe = {
|
|
21397
21397
|
centerX: 0,
|
|
21398
21398
|
centerY: 0,
|
|
21399
21399
|
radius: 1,
|
|
@@ -21555,7 +21555,7 @@ var Mxe = (function e(t) {
|
|
|
21555
21555
|
scaleLength: (a) => i(a * n)
|
|
21556
21556
|
};
|
|
21557
21557
|
}, V9 = (e, t, n = "light") => {
|
|
21558
|
-
const r =
|
|
21558
|
+
const r = l2(e.geom) ? "stroke" : "fill", o = pe(e.mapping.color), i = e.styles.overrides;
|
|
21559
21559
|
for (let a = i.length - 1; a >= 0; a -= 1) {
|
|
21560
21560
|
const s = i[a];
|
|
21561
21561
|
if (!(s === void 0 || !Kxe(s)) && Yxe(s.where, o, t) && s.declarations[r] !== void 0)
|
|
@@ -21593,7 +21593,7 @@ var Mxe = (function e(t) {
|
|
|
21593
21593
|
}
|
|
21594
21594
|
return e.data.getFirst() ?? void 0;
|
|
21595
21595
|
}, zb = (e, t, n, r) => {
|
|
21596
|
-
const o = e(t), i = Wu(t, "line") ? o.get("strokeAlpha", n) : o.get("fillAlpha", n) ?? o.get("strokeAlpha", n), a = o.get("alpha", n) * i, s =
|
|
21596
|
+
const o = e(t), i = Wu(t, "line") ? o.get("strokeAlpha", n) : o.get("fillAlpha", n) ?? o.get("strokeAlpha", n), a = o.get("alpha", n) * i, s = l2(t.geom) ? void 0 : Qxe(e, t, n), l = s === void 0 ? { alpha: a } : {
|
|
21597
21597
|
alpha: a,
|
|
21598
21598
|
fill: s
|
|
21599
21599
|
};
|
|
@@ -21631,7 +21631,7 @@ function Zxe(e, t, n) {
|
|
|
21631
21631
|
function Cy(e, t) {
|
|
21632
21632
|
return e.on.map((n) => Rt(t[n] ?? null)).join("\0");
|
|
21633
21633
|
}
|
|
21634
|
-
function
|
|
21634
|
+
function S2(e, t) {
|
|
21635
21635
|
let n = 0, r = e;
|
|
21636
21636
|
for (; n < r; ) {
|
|
21637
21637
|
const o = n + r >>> 1;
|
|
@@ -21640,18 +21640,18 @@ function Sk(e, t) {
|
|
|
21640
21640
|
return n;
|
|
21641
21641
|
}
|
|
21642
21642
|
function $9(e, t, n) {
|
|
21643
|
-
return
|
|
21643
|
+
return S2(e.length, (r) => {
|
|
21644
21644
|
const o = e[r];
|
|
21645
21645
|
return o !== void 0 && n(o) > t;
|
|
21646
21646
|
});
|
|
21647
21647
|
}
|
|
21648
21648
|
function z9(e, t, n) {
|
|
21649
|
-
return
|
|
21649
|
+
return S2(e.length, (r) => {
|
|
21650
21650
|
const o = e[r];
|
|
21651
21651
|
return o !== void 0 && n(o) >= t;
|
|
21652
21652
|
});
|
|
21653
21653
|
}
|
|
21654
|
-
function
|
|
21654
|
+
function w2(e, t, n, r) {
|
|
21655
21655
|
const o = e === "x";
|
|
21656
21656
|
return {
|
|
21657
21657
|
mainDistance: Math.abs(t) * (o ? r : 1),
|
|
@@ -21747,7 +21747,7 @@ function xT(e) {
|
|
|
21747
21747
|
function W9(e, t, n, r) {
|
|
21748
21748
|
const { main: o, cross: i } = od(e.mainAxis, n), { main: a, cross: s } = od(e.mainAxis, t);
|
|
21749
21749
|
return {
|
|
21750
|
-
...
|
|
21750
|
+
...w2(e.mainAxis, a - o, s - i, r),
|
|
21751
21751
|
hit: {
|
|
21752
21752
|
anchored: !0,
|
|
21753
21753
|
layerId: e.layerId,
|
|
@@ -21778,7 +21778,7 @@ function j9(e, t, n) {
|
|
|
21778
21778
|
}
|
|
21779
21779
|
function K9(e, t, n) {
|
|
21780
21780
|
if (e.length === 0) return -1;
|
|
21781
|
-
const r =
|
|
21781
|
+
const r = S2(e.length, (a) => {
|
|
21782
21782
|
const s = e[a];
|
|
21783
21783
|
return s !== void 0 && n(s) >= t;
|
|
21784
21784
|
}), o = e[r - 1], i = e[r];
|
|
@@ -21822,7 +21822,7 @@ function cSe(e, t, n) {
|
|
|
21822
21822
|
function uSe(e, t, n) {
|
|
21823
21823
|
const r = [];
|
|
21824
21824
|
for (const o of t.rects)
|
|
21825
|
-
o.pointIndex !== n && r.push(
|
|
21825
|
+
o.pointIndex !== n && r.push(T2(e, o));
|
|
21826
21826
|
return r;
|
|
21827
21827
|
}
|
|
21828
21828
|
function dSe(e, t, n, r) {
|
|
@@ -21830,7 +21830,7 @@ function dSe(e, t, n, r) {
|
|
|
21830
21830
|
if (!o) return [];
|
|
21831
21831
|
const i = [];
|
|
21832
21832
|
for (const a of o.columns) for (const s of a.rects)
|
|
21833
|
-
s.pointIndex !== r && i.push(
|
|
21833
|
+
s.pointIndex !== r && i.push(T2(t, s));
|
|
21834
21834
|
return i;
|
|
21835
21835
|
}
|
|
21836
21836
|
function fSe(e, t) {
|
|
@@ -21878,7 +21878,7 @@ function pSe(e, t, n) {
|
|
|
21878
21878
|
const o = aSe(t, Nr(t.mainAxis, r));
|
|
21879
21879
|
if (!o) return;
|
|
21880
21880
|
const i = Cv(e, t.layerId);
|
|
21881
|
-
for (const a of o.columns) for (const s of a.rects) i.push(
|
|
21881
|
+
for (const a of o.columns) for (const s of a.rects) i.push(T2(t.layerId, s));
|
|
21882
21882
|
return;
|
|
21883
21883
|
}
|
|
21884
21884
|
case "points": {
|
|
@@ -21908,7 +21908,7 @@ function Cv(e, t) {
|
|
|
21908
21908
|
let n = e.get(t);
|
|
21909
21909
|
return n || (n = [], e.set(t, n)), n;
|
|
21910
21910
|
}
|
|
21911
|
-
function
|
|
21911
|
+
function T2(e, t) {
|
|
21912
21912
|
return {
|
|
21913
21913
|
anchored: !0,
|
|
21914
21914
|
layerId: e,
|
|
@@ -23051,7 +23051,7 @@ function nwe(e, t, n, r) {
|
|
|
23051
23051
|
crossDistance: Number.POSITIVE_INFINITY
|
|
23052
23052
|
};
|
|
23053
23053
|
const { main: i, cross: a } = od(e.mainAxis, n), s = di(i, o.mainMin, o.mainMax), l = di(a, o.crossMin, o.crossMax);
|
|
23054
|
-
return
|
|
23054
|
+
return w2(e.mainAxis, s, l, r);
|
|
23055
23055
|
}
|
|
23056
23056
|
function rwe(e, t, n) {
|
|
23057
23057
|
const r = Ls(n, t);
|
|
@@ -23083,7 +23083,7 @@ function swe(e, t, n) {
|
|
|
23083
23083
|
const l = sV(s.filter((g) => dwe(e, g.entry, r, o)), (g) => g.entry), { entry: c } = l ?? Ho(s, (g) => Math.abs(g.crossAtCursor - o)), u = Wb(c.x - t.x, c.y - t.y, n), d = (g) => ({
|
|
23084
23084
|
x: g.x * n,
|
|
23085
23085
|
y: g.y
|
|
23086
|
-
}), f = Gb(e, c).map(d), h = aV(d(t), d(c), f, u), p =
|
|
23086
|
+
}), f = Gb(e, c).map(d), h = aV(d(t), d(c), f, u), p = w2(e.mainAxis, Nr(e.mainAxis, c) - r, iV(a.span, Ls(e.mainAxis, c), o), n);
|
|
23087
23087
|
return {
|
|
23088
23088
|
hit: {
|
|
23089
23089
|
anchored: !0,
|
|
@@ -23766,7 +23766,7 @@ var Ub = 0.5, Ywe = 0.3, qwe = 0.4, Xwe = 10, Jwe = ({ layer: e, coordSystem: t,
|
|
|
23766
23766
|
keys: [l]
|
|
23767
23767
|
});
|
|
23768
23768
|
}
|
|
23769
|
-
return
|
|
23769
|
+
return A2([...o.values()], n);
|
|
23770
23770
|
}, iTe = (e, t) => {
|
|
23771
23771
|
const n = yo(e.data, e.mapping, e.id), r = [];
|
|
23772
23772
|
for (const o of e.data) {
|
|
@@ -23776,15 +23776,15 @@ var Ub = 0.5, Ywe = 0.3, qwe = 0.4, Xwe = 10, Jwe = ({ layer: e, coordSystem: t,
|
|
|
23776
23776
|
keys: [n(o)]
|
|
23777
23777
|
});
|
|
23778
23778
|
}
|
|
23779
|
-
return
|
|
23779
|
+
return A2(r, t);
|
|
23780
23780
|
}, aTe = (e, t) => {
|
|
23781
23781
|
if (t === "main-axis") return Ct(e);
|
|
23782
|
-
const n =
|
|
23782
|
+
const n = Ck(e) ?? Ct(e);
|
|
23783
23783
|
return n === null ? null : t === "value-descending" ? -n : n;
|
|
23784
23784
|
}, sTe = (e, t, n) => {
|
|
23785
23785
|
const r = yo(e.data, e.mapping, e.id), o = /* @__PURE__ */ new Map();
|
|
23786
23786
|
for (const i of e.data) {
|
|
23787
|
-
const { startAngle: a, endAngle: s } =
|
|
23787
|
+
const { startAngle: a, endAngle: s } = Tk(i), { innerRadius: l, outerRadius: c } = wb(i);
|
|
23788
23788
|
if (a === null || s === null || l === null || c === null) continue;
|
|
23789
23789
|
const u = $b(t.bandAxis, {
|
|
23790
23790
|
startAngle: a,
|
|
@@ -23797,8 +23797,8 @@ var Ub = 0.5, Ywe = 0.3, qwe = 0.4, Xwe = 10, Jwe = ({ layer: e, coordSystem: t,
|
|
|
23797
23797
|
keys: [d]
|
|
23798
23798
|
});
|
|
23799
23799
|
}
|
|
23800
|
-
return
|
|
23801
|
-
},
|
|
23800
|
+
return A2([...o.values()], n);
|
|
23801
|
+
}, A2 = (e, t) => {
|
|
23802
23802
|
const n = {};
|
|
23803
23803
|
if (e.length === 0) return n;
|
|
23804
23804
|
const r = [...e].sort((s, l) => s.position - l.position), o = Math.ceil(r.length / Xwe), i = Math.ceil(r.length / o), a = qwe * t.durationScale / i;
|
|
@@ -24044,19 +24044,19 @@ var Ub = 0.5, Ywe = 0.3, qwe = 0.4, Xwe = 10, Jwe = ({ layer: e, coordSystem: t,
|
|
|
24044
24044
|
case "decimal":
|
|
24045
24045
|
return RB(e);
|
|
24046
24046
|
case "duration":
|
|
24047
|
-
return
|
|
24047
|
+
return jk(e);
|
|
24048
24048
|
case "integer":
|
|
24049
24049
|
return IB(e);
|
|
24050
24050
|
case "month":
|
|
24051
24051
|
return _B(e);
|
|
24052
24052
|
case "month_year":
|
|
24053
|
-
return
|
|
24053
|
+
return qk(e);
|
|
24054
24054
|
case "percentage":
|
|
24055
24055
|
return OB(e);
|
|
24056
24056
|
case "quarter":
|
|
24057
|
-
return
|
|
24057
|
+
return Xk(e);
|
|
24058
24058
|
case "text":
|
|
24059
|
-
return
|
|
24059
|
+
return Uk(e);
|
|
24060
24060
|
case "time":
|
|
24061
24061
|
return FB(e);
|
|
24062
24062
|
case "weekly_date_range":
|
|
@@ -24064,7 +24064,7 @@ var Ub = 0.5, Ywe = 0.3, qwe = 0.4, Xwe = 10, Jwe = ({ layer: e, coordSystem: t,
|
|
|
24064
24064
|
case "weekly_date_range_with_year":
|
|
24065
24065
|
return NB(e);
|
|
24066
24066
|
case "year":
|
|
24067
|
-
return
|
|
24067
|
+
return Jk(e);
|
|
24068
24068
|
case "lookup":
|
|
24069
24069
|
return Ey({
|
|
24070
24070
|
...e,
|
|
@@ -24079,7 +24079,7 @@ var Ub = 0.5, Ywe = 0.3, qwe = 0.4, Xwe = 10, Jwe = ({ layer: e, coordSystem: t,
|
|
|
24079
24079
|
}, mV = {
|
|
24080
24080
|
text: null,
|
|
24081
24081
|
group: null
|
|
24082
|
-
},
|
|
24082
|
+
}, C2 = " · ", xTe = ({ layers: e, coordSystem: t, scales: n, guides: r, numberFormat: o, parsingLocale: i, hover: a, mode: s, readers: l, formattingLocale: c, comments: u, activeCalloutId: d }) => {
|
|
24083
24083
|
const { primary: f } = a;
|
|
24084
24084
|
if (f === null) return null;
|
|
24085
24085
|
const h = c ?? i, p = wTe(u, d);
|
|
@@ -24130,7 +24130,7 @@ function wTe(e, t) {
|
|
|
24130
24130
|
function TTe(e) {
|
|
24131
24131
|
const t = e.layers.find((i) => i.id === e.primary.layerId);
|
|
24132
24132
|
if (!t) return mV;
|
|
24133
|
-
const n = e.mode === "observation" ?
|
|
24133
|
+
const n = e.mode === "observation" ? k2(t, e.primary, e.resolveColorLabel) : null, r = t.tooltip.fields.find(cd);
|
|
24134
24134
|
if (r !== void 0) {
|
|
24135
24135
|
const i = vV(t, r, e.primary, e);
|
|
24136
24136
|
return {
|
|
@@ -24143,13 +24143,13 @@ function TTe(e) {
|
|
|
24143
24143
|
text: o,
|
|
24144
24144
|
group: null
|
|
24145
24145
|
} : {
|
|
24146
|
-
text: `${o}${
|
|
24146
|
+
text: `${o}${C2}${n}`,
|
|
24147
24147
|
group: n
|
|
24148
24148
|
};
|
|
24149
24149
|
}
|
|
24150
24150
|
function ATe(e, t) {
|
|
24151
24151
|
if (t.coordSystem.type === "polar" && t.coordSystem.bandAxis === null) return null;
|
|
24152
|
-
const n =
|
|
24152
|
+
const n = c2(t.guides, "x");
|
|
24153
24153
|
if (!n) return null;
|
|
24154
24154
|
const r = pe(e.mapping.x);
|
|
24155
24155
|
if (!he(r)) return null;
|
|
@@ -24160,7 +24160,7 @@ function ATe(e, t) {
|
|
|
24160
24160
|
numberFormat: t.numberFormat
|
|
24161
24161
|
})(o) : null;
|
|
24162
24162
|
}
|
|
24163
|
-
function
|
|
24163
|
+
function k2(e, t, n) {
|
|
24164
24164
|
if (pe(e.mapping.color) === null) return null;
|
|
24165
24165
|
const r = WC(e.data, e.mapping)(t.observation);
|
|
24166
24166
|
return r === null ? null : n(r);
|
|
@@ -24188,7 +24188,7 @@ function kTe(e) {
|
|
|
24188
24188
|
});
|
|
24189
24189
|
if (i === void 0) {
|
|
24190
24190
|
const s = n.tooltip.fields.filter((l) => l.kind === "group");
|
|
24191
|
-
return (s.length > 0 || n.tooltip.hidesDefaultRows ? s : [
|
|
24191
|
+
return (s.length > 0 || n.tooltip.hidesDefaultRows ? s : [yk]).flatMap((l) => IL(e, n, l, r, o));
|
|
24192
24192
|
}
|
|
24193
24193
|
const a = bV({
|
|
24194
24194
|
hits: r,
|
|
@@ -24242,7 +24242,7 @@ function MTe(e) {
|
|
|
24242
24242
|
}
|
|
24243
24243
|
return e.map(({ row: n, qualifier: r }) => (t.get(n.label)?.size ?? 0) > 1 && r !== null && r !== "" ? {
|
|
24244
24244
|
...n,
|
|
24245
|
-
label: `${n.label}${
|
|
24245
|
+
label: `${n.label}${C2}${r}`
|
|
24246
24246
|
} : n);
|
|
24247
24247
|
}
|
|
24248
24248
|
function gV(e, t, n) {
|
|
@@ -24260,7 +24260,7 @@ function IL(e, t, n, r, o) {
|
|
|
24260
24260
|
layer: t,
|
|
24261
24261
|
colorScale: e.scales.color ?? null,
|
|
24262
24262
|
colorValueReader: i
|
|
24263
|
-
}), s = n.format === void 0 ?
|
|
24263
|
+
}), s = n.format === void 0 ? t2({
|
|
24264
24264
|
layer: t,
|
|
24265
24265
|
numberFormat: e.numberFormat,
|
|
24266
24266
|
locale: e.locale
|
|
@@ -24270,7 +24270,7 @@ function IL(e, t, n, r, o) {
|
|
|
24270
24270
|
numberFormat: e.numberFormat
|
|
24271
24271
|
}), l = n.title ?? _Te(e.guides, t), c = Zp(t);
|
|
24272
24272
|
return a.map((u) => {
|
|
24273
|
-
const d = zb(e.readers.geom, t, u.observation, pV), { label: f, qualifier: h } = gV(
|
|
24273
|
+
const d = zb(e.readers.geom, t, u.observation, pV), { label: f, qualifier: h } = gV(k2(t, u, e.resolveColorLabel), l, e.headingGroup), p = c(u.observation);
|
|
24274
24274
|
return {
|
|
24275
24275
|
row: {
|
|
24276
24276
|
swatchColor: Us(e.readers, t, u.observation) ?? null,
|
|
@@ -24321,7 +24321,7 @@ function PTe({ input: e, layer: t, field: n, hit: r, key: o, namesGroup: i, isPr
|
|
|
24321
24321
|
}
|
|
24322
24322
|
function vV(e, t, n, r) {
|
|
24323
24323
|
const o = (l, c) => he(c) ? In({
|
|
24324
|
-
valueFormat: t.format ??
|
|
24324
|
+
valueFormat: t.format ?? ik(e, l),
|
|
24325
24325
|
locale: r.locale,
|
|
24326
24326
|
numberFormat: r.numberFormat
|
|
24327
24327
|
})(c, n.observation) : null, i = (l) => {
|
|
@@ -24335,9 +24335,9 @@ function vV(e, t, n, r) {
|
|
|
24335
24335
|
}
|
|
24336
24336
|
function RTe(e, t, n, r) {
|
|
24337
24337
|
if (t.kind === "range") {
|
|
24338
|
-
const o = gV(
|
|
24338
|
+
const o = gV(k2(e, n, r.resolveColorLabel), TT(e, t, r), r.headingGroup);
|
|
24339
24339
|
return t.title === void 0 || o.qualifier === null ? o : {
|
|
24340
|
-
label: `${o.label}${
|
|
24340
|
+
label: `${o.label}${C2}${t.title}`,
|
|
24341
24341
|
qualifier: null
|
|
24342
24342
|
};
|
|
24343
24343
|
}
|
|
@@ -24410,11 +24410,11 @@ function _Te(e, t) {
|
|
|
24410
24410
|
var Kb = (e, t) => ({
|
|
24411
24411
|
...e.annotation.arrow(t).resolve(),
|
|
24412
24412
|
outline: e.annotation.arrow.outline(t).resolve()
|
|
24413
|
-
}),
|
|
24413
|
+
}), E2 = (e, t) => {
|
|
24414
24414
|
const n = e.annotation.differenceArrow(t);
|
|
24415
24415
|
return {
|
|
24416
24416
|
...n.resolve(),
|
|
24417
|
-
isStrokeAuthored:
|
|
24417
|
+
isStrokeAuthored: r2(n.getSource("stroke")),
|
|
24418
24418
|
label: e.annotation.differenceArrow.label(t).resolve()
|
|
24419
24419
|
};
|
|
24420
24420
|
}, AT = (e, t, n) => {
|
|
@@ -24422,7 +24422,7 @@ var Kb = (e, t) => ({
|
|
|
24422
24422
|
return {
|
|
24423
24423
|
marker: {
|
|
24424
24424
|
...r.resolve(),
|
|
24425
|
-
isFillAuthored:
|
|
24425
|
+
isFillAuthored: r2(r.getSource("fill"))
|
|
24426
24426
|
},
|
|
24427
24427
|
label: {
|
|
24428
24428
|
...o.resolve(),
|
|
@@ -24438,7 +24438,7 @@ var Kb = (e, t) => ({
|
|
|
24438
24438
|
},
|
|
24439
24439
|
cornerRadius: e.panelBorder().get("cornerRadius")
|
|
24440
24440
|
}), NTe = (e) => ({
|
|
24441
|
-
...
|
|
24441
|
+
...pk,
|
|
24442
24442
|
...e.graph().get("padding")
|
|
24443
24443
|
}), so = (e) => {
|
|
24444
24444
|
let t = {
|
|
@@ -24477,14 +24477,14 @@ var Kb = (e, t) => ({
|
|
|
24477
24477
|
selected: e.editOutline.selected().resolve()
|
|
24478
24478
|
}), VTe = {
|
|
24479
24479
|
color: sF,
|
|
24480
|
-
alpha:
|
|
24480
|
+
alpha: Ak,
|
|
24481
24481
|
strokeWidth: Dde,
|
|
24482
24482
|
lineType: lF,
|
|
24483
|
-
size:
|
|
24483
|
+
size: Ck
|
|
24484
24484
|
}, OL = {
|
|
24485
24485
|
vocabulary: {},
|
|
24486
24486
|
aesthetics: {}
|
|
24487
|
-
}, LL = /* @__PURE__ */ new WeakMap(),
|
|
24487
|
+
}, LL = /* @__PURE__ */ new WeakMap(), M2 = (e = {}) => {
|
|
24488
24488
|
const t = e.colorScheme ?? "light", n = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), o = (l, c) => {
|
|
24489
24489
|
let u = n.get(l);
|
|
24490
24490
|
u === void 0 && (u = /* @__PURE__ */ new Map(), n.set(l, u));
|
|
@@ -24796,7 +24796,7 @@ var Bc = class {
|
|
|
24796
24796
|
annotation: r
|
|
24797
24797
|
}), a = i === null ? t.annotations : cB(t.annotations, i), s = dm(a, n), l = o ?? s.length, c = Math.min(Math.max(l, 0), s.length);
|
|
24798
24798
|
return {
|
|
24799
|
-
spec: cn(t, { annotations:
|
|
24799
|
+
spec: cn(t, { annotations: Nk(a, n, [
|
|
24800
24800
|
...s.slice(0, c),
|
|
24801
24801
|
r,
|
|
24802
24802
|
...s.slice(c)
|
|
@@ -24812,14 +24812,14 @@ var Bc = class {
|
|
|
24812
24812
|
const n = TV(t);
|
|
24813
24813
|
return n === null ? null : AV(e, n);
|
|
24814
24814
|
}, nAe = (e, t) => {
|
|
24815
|
-
const n =
|
|
24815
|
+
const n = P2(e);
|
|
24816
24816
|
return n === null ? null : RV(n.points, t);
|
|
24817
|
-
}, rAe = (e) =>
|
|
24818
|
-
const n =
|
|
24817
|
+
}, rAe = (e) => P2(e) !== null, oAe = (e, t) => {
|
|
24818
|
+
const n = P2(e);
|
|
24819
24819
|
if (n === null) return null;
|
|
24820
24820
|
const r = RV(n.points, t);
|
|
24821
24821
|
return r.x === 0 && r.y === 0 ? null : n.createPatch(r);
|
|
24822
|
-
},
|
|
24822
|
+
}, P2 = (e) => {
|
|
24823
24823
|
const t = aAe[e.kind];
|
|
24824
24824
|
return t === null ? null : t(e.annotation);
|
|
24825
24825
|
}, NL = (e, t) => e.anchorType !== "panel" ? null : {
|
|
@@ -24887,7 +24887,7 @@ var Bc = class {
|
|
|
24887
24887
|
...o.slice(t.index + 1)
|
|
24888
24888
|
];
|
|
24889
24889
|
return {
|
|
24890
|
-
spec: cn(e, { annotations:
|
|
24890
|
+
spec: cn(e, { annotations: Nk(e.annotations, t.kind, a) }),
|
|
24891
24891
|
inverse: lAe(r, n)
|
|
24892
24892
|
};
|
|
24893
24893
|
}, sAe = (e, t) => {
|
|
@@ -24996,7 +24996,7 @@ var Bc = class {
|
|
|
24996
24996
|
};
|
|
24997
24997
|
}
|
|
24998
24998
|
if (s !== void 0) {
|
|
24999
|
-
if (
|
|
24999
|
+
if (nk(s.declarations, l)) return null;
|
|
25000
25000
|
const p = {
|
|
25001
25001
|
...s,
|
|
25002
25002
|
declarations: l
|
|
@@ -25087,7 +25087,7 @@ var Bc = class {
|
|
|
25087
25087
|
"polar",
|
|
25088
25088
|
"flip"
|
|
25089
25089
|
], to = new Fd(), _V = (e) => to.has(e) ? to.get(e) : null;
|
|
25090
|
-
function
|
|
25090
|
+
function R2(e, t) {
|
|
25091
25091
|
const n = t.some((i) => i.yScaleType === "secondary"), r = e.find((i) => i.scaledAesthetic === "ySecondary");
|
|
25092
25092
|
if (!n) return r === void 0 ? e : e.filter((i) => i !== r);
|
|
25093
25093
|
if (r !== void 0) return e;
|
|
@@ -25097,25 +25097,25 @@ function Rk(e, t) {
|
|
|
25097
25097
|
scaledAesthetic: "ySecondary"
|
|
25098
25098
|
}];
|
|
25099
25099
|
}
|
|
25100
|
-
function
|
|
25100
|
+
function I2(e, t) {
|
|
25101
25101
|
return e.scales.find((n) => n.scaledAesthetic === t);
|
|
25102
25102
|
}
|
|
25103
|
-
function
|
|
25103
|
+
function O2(e, t, n) {
|
|
25104
25104
|
const r = e.scales.findIndex((o) => o.scaledAesthetic === t);
|
|
25105
25105
|
return r === -1 ? e : cn(e, { scales: $8(e.scales, r, n) });
|
|
25106
25106
|
}
|
|
25107
|
-
function
|
|
25107
|
+
function L2(e) {
|
|
25108
25108
|
const t = e.replace(/([A-Z])/g, " $1").toLowerCase();
|
|
25109
25109
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
25110
25110
|
}
|
|
25111
25111
|
function ET(e, t, n) {
|
|
25112
|
-
const r = Lb(
|
|
25112
|
+
const r = Lb(Ik(wB(to), {
|
|
25113
25113
|
data: mm(e),
|
|
25114
25114
|
layers: e.layers,
|
|
25115
25115
|
mapping: n,
|
|
25116
25116
|
customPalettes: {}
|
|
25117
25117
|
}), zu(t));
|
|
25118
|
-
return e.coords.coordType === "polar" ?
|
|
25118
|
+
return e.coords.coordType === "polar" ? Ok(r) : r;
|
|
25119
25119
|
}
|
|
25120
25120
|
var DV = class NV {
|
|
25121
25121
|
constructor(t, n = {}) {
|
|
@@ -25144,9 +25144,9 @@ var DV = class NV {
|
|
|
25144
25144
|
"area",
|
|
25145
25145
|
"point",
|
|
25146
25146
|
"tile"
|
|
25147
|
-
],
|
|
25147
|
+
], _2 = "tile", mAe = ["y", "color"], gAe = Object.values(uh), vAe = {
|
|
25148
25148
|
coordType: "cartesian",
|
|
25149
|
-
geom:
|
|
25149
|
+
geom: _2,
|
|
25150
25150
|
position: "identity"
|
|
25151
25151
|
}, oi = (e) => e.coordType === "cartesian" && "comboType" in e && by.includes(e.comboType), BV = (e) => {
|
|
25152
25152
|
const t = e.layers.filter(sa), [n] = t;
|
|
@@ -25213,7 +25213,7 @@ var DV = class NV {
|
|
|
25213
25213
|
return {
|
|
25214
25214
|
coords: i,
|
|
25215
25215
|
layers: s,
|
|
25216
|
-
scales:
|
|
25216
|
+
scales: R2(oH(n, s, i.coordType), s),
|
|
25217
25217
|
mapping: a
|
|
25218
25218
|
};
|
|
25219
25219
|
}, CAe = (e, t) => {
|
|
@@ -25229,7 +25229,7 @@ var DV = class NV {
|
|
|
25229
25229
|
return {
|
|
25230
25230
|
coords: i,
|
|
25231
25231
|
layers: l,
|
|
25232
|
-
scales:
|
|
25232
|
+
scales: R2(oH(e, l, i.coordType), l),
|
|
25233
25233
|
mapping: a
|
|
25234
25234
|
};
|
|
25235
25235
|
}, kAe = (e) => VV(e) !== null, EAe = (e) => {
|
|
@@ -25266,7 +25266,7 @@ var DV = class NV {
|
|
|
25266
25266
|
}, xm = (e) => Jp(e.mapping) || jne(e.data), RAe = (e, t, n) => {
|
|
25267
25267
|
const { numeric: r } = e.data.groupVariableNamesByType(), o = Yb(e, r), i = o.at(-1);
|
|
25268
25268
|
if (o.length < 2 || i === void 0) return null;
|
|
25269
|
-
const a = Y4(e.data, xm(e)), s =
|
|
25269
|
+
const a = Y4(e.data, xm(e)), s = zk[n] === null ? uh.line : uh.bar, l = IAe(t, VL(o.slice(0, -1), a, s)), c = Dc(to, e.mapping, e.coords.coordType, {
|
|
25270
25270
|
type: "layer",
|
|
25271
25271
|
id: WV(i, new Set(e.layers.map((u) => u.id))),
|
|
25272
25272
|
geom: "line",
|
|
@@ -25316,7 +25316,7 @@ var DV = class NV {
|
|
|
25316
25316
|
...e.mapping,
|
|
25317
25317
|
x: r
|
|
25318
25318
|
};
|
|
25319
|
-
}, KV = (e) => e.coordType === "polar" && e.theta === "y" && e.position === "fill", OAe = (e) => !oi(e) && e.geom ===
|
|
25319
|
+
}, KV = (e) => e.coordType === "polar" && e.theta === "y" && e.position === "fill", OAe = (e) => !oi(e) && e.geom === _2, LAe = (e) => e.layers.filter(sa).some((t) => t.geom === _2), YV = (e, t) => {
|
|
25320
25320
|
const n = OAe(t);
|
|
25321
25321
|
return n === LAe(e) ? e : n ? _Ae({
|
|
25322
25322
|
...e,
|
|
@@ -25411,7 +25411,7 @@ var DV = class NV {
|
|
|
25411
25411
|
const n = {
|
|
25412
25412
|
geom: "line",
|
|
25413
25413
|
position: "identity"
|
|
25414
|
-
}, r =
|
|
25414
|
+
}, r = zk[t], o = e.map((i, a) => r === null || a === e.length - 1 ? [i.id, n] : [i.id, {
|
|
25415
25415
|
geom: "bar",
|
|
25416
25416
|
position: GAe(i, t, r)
|
|
25417
25417
|
}]);
|
|
@@ -25629,8 +25629,8 @@ var DV = class NV {
|
|
|
25629
25629
|
if (o === null && !qa(n) || o !== null && !mm(e).hasVariable(o)) return t;
|
|
25630
25630
|
const a = ET(e, n, r);
|
|
25631
25631
|
return uCe(i, a) ? t : Ec(t, (s) => s.scaledAesthetic === n ? a : s);
|
|
25632
|
-
}, uCe = (e, t) => e.scaleType === t.scaleType || HL(e) && HL(t), HL = (e) => e.scaleType === "discrete" || e.scaleType === "palette",
|
|
25633
|
-
function
|
|
25632
|
+
}, uCe = (e, t) => e.scaleType === t.scaleType || HL(e) && HL(t), HL = (e) => e.scaleType === "discrete" || e.scaleType === "palette", D2 = (e) => e === "both" ? ["x", "y"] : [e], lH = (e) => e === "both" ? "the" : `${e} axis`;
|
|
25633
|
+
function N2(e, t) {
|
|
25634
25634
|
return Sm(e) ? e[t] : e;
|
|
25635
25635
|
}
|
|
25636
25636
|
function dCe(e, t) {
|
|
@@ -25866,7 +25866,7 @@ var fH = class hH {
|
|
|
25866
25866
|
spec: a,
|
|
25867
25867
|
previous: i
|
|
25868
25868
|
} : null;
|
|
25869
|
-
}, vCe = (e, t) => e === "both" && !Sm(t) ? [void 0] :
|
|
25869
|
+
}, vCe = (e, t) => e === "both" && !Sm(t) ? [void 0] : D2(e), yCe = (e, t) => t === void 0 ? Sm(e) ? e.x : e : N2(e, t), bCe = (e, t, n) => t.length === 1 ? eS(e, t[0], n) : {
|
|
25870
25870
|
x: eS(e, "x", n),
|
|
25871
25871
|
y: eS(e, "y", n)
|
|
25872
25872
|
}, eS = (e, t, n) => EH(e, t)?.[n] ?? null, xCe = (e, t, n) => n === null || t === "strokeWidth" ? n : (e === void 0 ? ["x", "y"] : [e]).every((r) => kH(_t.gridLine.children[r].rest[t], n)) ? null : n, kH = (e, t) => Array.isArray(e) && Array.isArray(t) ? t9(e, t) : e === t, SCe = (e, t, n, r) => {
|
|
@@ -25915,7 +25915,7 @@ var fH = class hH {
|
|
|
25915
25915
|
};
|
|
25916
25916
|
}
|
|
25917
25917
|
}, ECe = ({ axis: e, lineStyle: t }) => {
|
|
25918
|
-
const n =
|
|
25918
|
+
const n = D2(e).map((r) => N2(t, r) ?? "(theme)");
|
|
25919
25919
|
return [...new Set(n)].join(" and ");
|
|
25920
25920
|
}, MCe = (e) => e === null ? null : fo.gridLine[e], PCe = (e) => e === null ? null : fp(e), zL = (e, t) => Sm(e) ? {
|
|
25921
25921
|
x: t(e.x),
|
|
@@ -25952,7 +25952,7 @@ var fH = class hH {
|
|
|
25952
25952
|
x: tS(e.x),
|
|
25953
25953
|
y: tS(e.y)
|
|
25954
25954
|
} : tS(e), tS = (e) => e === null || !Number.isFinite(e) ? null : Math.max(0, e), OCe = (e, t) => {
|
|
25955
|
-
const n =
|
|
25955
|
+
const n = D2(e).map((r) => N2(t, r) ?? "(theme)");
|
|
25956
25956
|
return [...new Set(n)].join(" and ");
|
|
25957
25957
|
}, PT = class RH {
|
|
25958
25958
|
constructor(t, n = {}) {
|
|
@@ -26052,9 +26052,9 @@ var fH = class hH {
|
|
|
26052
26052
|
}, RT = {
|
|
26053
26053
|
select: { target: "geom" },
|
|
26054
26054
|
when: { state: "dimmed" }
|
|
26055
|
-
}, DH = (e) =>
|
|
26055
|
+
}, DH = (e) => tk(e.styles.overrides, RT, Vn(e))?.saturation === 0 ? "desaturate" : "dim", FCe = (e) => {
|
|
26056
26056
|
const t = Vn(e);
|
|
26057
|
-
return
|
|
26057
|
+
return tk(ek(e.styles.overrides, RT, t), RT, t)?.saturation === 0;
|
|
26058
26058
|
}, BCe = (e, t) => e === "desaturate" ? gh.geom({
|
|
26059
26059
|
saturation: 0,
|
|
26060
26060
|
alpha: 0.6
|
|
@@ -26294,7 +26294,7 @@ var GCe = class WH {
|
|
|
26294
26294
|
};
|
|
26295
26295
|
}
|
|
26296
26296
|
};
|
|
26297
|
-
function
|
|
26297
|
+
function F2(e, t) {
|
|
26298
26298
|
return {
|
|
26299
26299
|
...e,
|
|
26300
26300
|
params: {
|
|
@@ -26312,14 +26312,14 @@ function Xb(e, t) {
|
|
|
26312
26312
|
}
|
|
26313
26313
|
};
|
|
26314
26314
|
}
|
|
26315
|
-
function
|
|
26315
|
+
function B2(e, t) {
|
|
26316
26316
|
return cn(e, { layers: [...e.layers, t] });
|
|
26317
26317
|
}
|
|
26318
26318
|
function gi(e, t, n) {
|
|
26319
26319
|
const r = e.layers.findIndex((o) => o.id === t);
|
|
26320
26320
|
return r === -1 ? e : cn(e, { layers: $8(e.layers, r, n) });
|
|
26321
26321
|
}
|
|
26322
|
-
function
|
|
26322
|
+
function V2(e, t) {
|
|
26323
26323
|
const n = e.layers.findIndex((r) => r.id === t);
|
|
26324
26324
|
return n === -1 || e.layers.length <= 1 ? e : cn(e, { layers: e.layers.filter((r, o) => o !== n) });
|
|
26325
26325
|
}
|
|
@@ -26389,7 +26389,7 @@ var YCe = class qH {
|
|
|
26389
26389
|
if (!oa(n, "bar")) return null;
|
|
26390
26390
|
const r = n.params.width;
|
|
26391
26391
|
return r === this.params.width ? null : {
|
|
26392
|
-
spec: gi(t, n.id,
|
|
26392
|
+
spec: gi(t, n.id, F2(n, { width: this.params.width })),
|
|
26393
26393
|
revert: new qH({
|
|
26394
26394
|
layerId: n.id,
|
|
26395
26395
|
width: r
|
|
@@ -26444,7 +26444,7 @@ var YCe = class qH {
|
|
|
26444
26444
|
yScaleType: this.params.yScaleType
|
|
26445
26445
|
});
|
|
26446
26446
|
return {
|
|
26447
|
-
spec: cn(o, { scales: this.params.previousScales === void 0 ?
|
|
26447
|
+
spec: cn(o, { scales: this.params.previousScales === void 0 ? R2(o.scales, o.layers) : this.params.previousScales }),
|
|
26448
26448
|
revert: new QH({
|
|
26449
26449
|
layerId: n.id,
|
|
26450
26450
|
yScaleType: r,
|
|
@@ -26470,7 +26470,7 @@ var YCe = class qH {
|
|
|
26470
26470
|
if (!oa(n, "line", "area")) return null;
|
|
26471
26471
|
const r = n.params.curve;
|
|
26472
26472
|
return r === this.params.curve ? null : {
|
|
26473
|
-
spec: gi(t, n.id,
|
|
26473
|
+
spec: gi(t, n.id, F2(n, { curve: this.params.curve })),
|
|
26474
26474
|
revert: new ZH({
|
|
26475
26475
|
layerId: n.id,
|
|
26476
26476
|
curve: r
|
|
@@ -26495,7 +26495,7 @@ var YCe = class qH {
|
|
|
26495
26495
|
if (!oa(n, "line", "area")) return null;
|
|
26496
26496
|
const r = n.params.missingValues;
|
|
26497
26497
|
return r === this.params.missingValues ? null : {
|
|
26498
|
-
spec: gi(t, n.id,
|
|
26498
|
+
spec: gi(t, n.id, F2(n, { missingValues: this.params.missingValues })),
|
|
26499
26499
|
revert: new e$({
|
|
26500
26500
|
layerId: n.id,
|
|
26501
26501
|
missingValues: r
|
|
@@ -26566,7 +26566,7 @@ var YCe = class qH {
|
|
|
26566
26566
|
list: "overrides",
|
|
26567
26567
|
rule: {
|
|
26568
26568
|
...o,
|
|
26569
|
-
declarations:
|
|
26569
|
+
declarations: eke(i, r)
|
|
26570
26570
|
}
|
|
26571
26571
|
}).apply(t);
|
|
26572
26572
|
return s ? {
|
|
@@ -26577,13 +26577,13 @@ var YCe = class qH {
|
|
|
26577
26577
|
}, this.metadata)
|
|
26578
26578
|
} : null;
|
|
26579
26579
|
}
|
|
26580
|
-
},
|
|
26580
|
+
}, eke = (e, t) => {
|
|
26581
26581
|
const { size: n, ...r } = e ?? {};
|
|
26582
26582
|
return t !== null ? {
|
|
26583
26583
|
...r,
|
|
26584
26584
|
size: t
|
|
26585
26585
|
} : Object.keys(r).length === 0 ? null : r;
|
|
26586
|
-
},
|
|
26586
|
+
}, tke = class r$ {
|
|
26587
26587
|
constructor(t, n = {}) {
|
|
26588
26588
|
this.type = "set-rule-label", this.params = t, this.metadata = He({
|
|
26589
26589
|
...n,
|
|
@@ -26616,7 +26616,7 @@ var YCe = class qH {
|
|
|
26616
26616
|
}, this.metadata)
|
|
26617
26617
|
};
|
|
26618
26618
|
}
|
|
26619
|
-
},
|
|
26619
|
+
}, nke = class o$ {
|
|
26620
26620
|
constructor(t, n = {}) {
|
|
26621
26621
|
this.type = "set-rule-value", this.params = t, this.metadata = He({
|
|
26622
26622
|
...n,
|
|
@@ -26649,11 +26649,11 @@ var YCe = class qH {
|
|
|
26649
26649
|
}, this.metadata)
|
|
26650
26650
|
};
|
|
26651
26651
|
}
|
|
26652
|
-
},
|
|
26652
|
+
}, rke = class i$ {
|
|
26653
26653
|
constructor(t, n = {}) {
|
|
26654
26654
|
this.type = "set-stat-line", this.params = t, this.metadata = He({
|
|
26655
26655
|
...n,
|
|
26656
|
-
description:
|
|
26656
|
+
description: uke(t.line)
|
|
26657
26657
|
});
|
|
26658
26658
|
}
|
|
26659
26659
|
get target() {
|
|
@@ -26663,8 +26663,8 @@ var YCe = class qH {
|
|
|
26663
26663
|
};
|
|
26664
26664
|
}
|
|
26665
26665
|
apply(t) {
|
|
26666
|
-
const n =
|
|
26667
|
-
if (this.params.line !== "none" && r === null || n === void 0 && r === null || n !== void 0 && r !== null &&
|
|
26666
|
+
const n = ike(t), r = this.buildStatLine(t, n?.line === this.params.line ? n.layer.id : void 0);
|
|
26667
|
+
if (this.params.line !== "none" && r === null || n === void 0 && r === null || n !== void 0 && r !== null && cke(n.layer, r)) return null;
|
|
26668
26668
|
const o = new i$({
|
|
26669
26669
|
line: n?.line ?? "none",
|
|
26670
26670
|
...n !== void 0 && { removedLayer: n.layer },
|
|
@@ -26674,16 +26674,16 @@ var YCe = class qH {
|
|
|
26674
26674
|
spec: gi(t, n.layer.id, r),
|
|
26675
26675
|
revert: o
|
|
26676
26676
|
};
|
|
26677
|
-
const i = n === void 0 ? t :
|
|
26677
|
+
const i = n === void 0 ? t : V2(t, n.layer.id);
|
|
26678
26678
|
return r === null && i === t ? null : {
|
|
26679
|
-
spec: r === null ? i :
|
|
26679
|
+
spec: r === null ? i : B2(i, r),
|
|
26680
26680
|
revert: o
|
|
26681
26681
|
};
|
|
26682
26682
|
}
|
|
26683
26683
|
buildStatLine(t, n) {
|
|
26684
26684
|
if (this.params.line === "none") return null;
|
|
26685
26685
|
if (this.params.removedLayer !== void 0) return this.params.removedLayer;
|
|
26686
|
-
const r = this.params.line === "trend" ?
|
|
26686
|
+
const r = this.params.line === "trend" ? ake(this.params) : ske(t, this.params);
|
|
26687
26687
|
if (r === null) return null;
|
|
26688
26688
|
const o = Dc(to, t.mapping, t.coords.coordType, r);
|
|
26689
26689
|
return n === void 0 ? o : {
|
|
@@ -26691,7 +26691,7 @@ var YCe = class qH {
|
|
|
26691
26691
|
id: n
|
|
26692
26692
|
};
|
|
26693
26693
|
}
|
|
26694
|
-
},
|
|
26694
|
+
}, oke = "linear", ike = (e) => {
|
|
26695
26695
|
const t = kV(e.layers);
|
|
26696
26696
|
if (t !== void 0) return {
|
|
26697
26697
|
line: "trend",
|
|
@@ -26702,12 +26702,12 @@ var YCe = class qH {
|
|
|
26702
26702
|
line: "average",
|
|
26703
26703
|
layer: n
|
|
26704
26704
|
};
|
|
26705
|
-
},
|
|
26705
|
+
}, ake = ({ method: e }) => tm.line({
|
|
26706
26706
|
aes: { lineType: { value: "dashed" } },
|
|
26707
|
-
stat:
|
|
26707
|
+
stat: Wk.smooth({ method: e ?? oke }),
|
|
26708
26708
|
interactive: !1
|
|
26709
|
-
}),
|
|
26710
|
-
const r =
|
|
26709
|
+
}), ske = (e, { group: t, label: n }) => {
|
|
26710
|
+
const r = lke(e), o = pe(r?.mapping.y ?? e.mapping.y);
|
|
26711
26711
|
if (o === null) return null;
|
|
26712
26712
|
const i = pe(r?.mapping.color ?? e.mapping.color), a = i !== null && t !== void 0;
|
|
26713
26713
|
return tm.rule({
|
|
@@ -26717,7 +26717,7 @@ var YCe = class qH {
|
|
|
26717
26717
|
group: void 0,
|
|
26718
26718
|
lineType: void 0
|
|
26719
26719
|
},
|
|
26720
|
-
stat:
|
|
26720
|
+
stat: Wk.mean(),
|
|
26721
26721
|
transforms: a ? [_b.filter({
|
|
26722
26722
|
variableName: i,
|
|
26723
26723
|
operator: "eq",
|
|
@@ -26730,13 +26730,13 @@ var YCe = class qH {
|
|
|
26730
26730
|
yScaleType: r?.yScaleType,
|
|
26731
26731
|
interactive: !1
|
|
26732
26732
|
});
|
|
26733
|
-
},
|
|
26733
|
+
}, lke = (e) => e.layers.find((t) => t.geom !== "rule" && t.stat.type !== "smooth"), cke = (e, t) => $s({
|
|
26734
26734
|
...e,
|
|
26735
26735
|
id: ""
|
|
26736
26736
|
}, {
|
|
26737
26737
|
...t,
|
|
26738
26738
|
id: ""
|
|
26739
|
-
}),
|
|
26739
|
+
}), uke = (e) => e === "none" ? "Hide stat line" : `Show ${e} line`, a$ = class s$ {
|
|
26740
26740
|
constructor(t, n = {}) {
|
|
26741
26741
|
this.type = "toggle-category-labels", this.params = t, this.metadata = He({
|
|
26742
26742
|
...n,
|
|
@@ -26786,7 +26786,7 @@ var YCe = class qH {
|
|
|
26786
26786
|
}, this.metadata)
|
|
26787
26787
|
};
|
|
26788
26788
|
}
|
|
26789
|
-
},
|
|
26789
|
+
}, dke = class OT {
|
|
26790
26790
|
constructor(t, n = {}) {
|
|
26791
26791
|
this.type = "toggle-goal-line", this.params = t, this.metadata = He({
|
|
26792
26792
|
...n,
|
|
@@ -26803,7 +26803,7 @@ var YCe = class qH {
|
|
|
26803
26803
|
const n = CV(t.layers);
|
|
26804
26804
|
if (!this.params.showGoalLine) {
|
|
26805
26805
|
if (n === void 0) return null;
|
|
26806
|
-
const o =
|
|
26806
|
+
const o = V2(t, n.id);
|
|
26807
26807
|
return o === t ? null : {
|
|
26808
26808
|
spec: o,
|
|
26809
26809
|
revert: new OT({
|
|
@@ -26815,7 +26815,7 @@ var YCe = class qH {
|
|
|
26815
26815
|
if (n !== void 0) return null;
|
|
26816
26816
|
const r = this.params.removedLayer ?? this.buildGoalLine(t);
|
|
26817
26817
|
return {
|
|
26818
|
-
spec:
|
|
26818
|
+
spec: B2(t, r),
|
|
26819
26819
|
revert: new OT({
|
|
26820
26820
|
showGoalLine: !1,
|
|
26821
26821
|
layerId: r.id
|
|
@@ -26825,7 +26825,7 @@ var YCe = class qH {
|
|
|
26825
26825
|
buildGoalLine(t) {
|
|
26826
26826
|
const n = t.coords.coordType === "flip" ? "end" : "start";
|
|
26827
26827
|
return Dc(to, t.mapping, t.coords.coordType, tm.rule({
|
|
26828
|
-
aes: { y: { value: this.params.value ??
|
|
26828
|
+
aes: { y: { value: this.params.value ?? fke } },
|
|
26829
26829
|
params: {
|
|
26830
26830
|
labelPosition: n,
|
|
26831
26831
|
...this.params.label !== void 0 && { label: this.params.label }
|
|
@@ -26833,7 +26833,7 @@ var YCe = class qH {
|
|
|
26833
26833
|
interactive: !1
|
|
26834
26834
|
}));
|
|
26835
26835
|
}
|
|
26836
|
-
},
|
|
26836
|
+
}, fke = 0, hke = class {
|
|
26837
26837
|
constructor(e, t = {}) {
|
|
26838
26838
|
this.type = "toggle-line-fill", this.params = e, this.metadata = He({
|
|
26839
26839
|
...t,
|
|
@@ -26849,24 +26849,24 @@ var YCe = class qH {
|
|
|
26849
26849
|
apply(e) {
|
|
26850
26850
|
const { layerId: t, showFill: n, fillAlpha: r } = this.params;
|
|
26851
26851
|
if (!oa(It(e.layers, t), "line")) return null;
|
|
26852
|
-
const o = Wl("line", t), i = Vn(e), a = db(e.styles.overrides, o, i), s = Lw(
|
|
26852
|
+
const o = Wl("line", t), i = Vn(e), a = db(e.styles.overrides, o, i), s = Lw(ek(e.styles.overrides, o, i), o, i);
|
|
26853
26853
|
if (YL(a?.fillAlpha ?? s?.fillAlpha) === n) return null;
|
|
26854
|
-
const l =
|
|
26854
|
+
const l = mke(n, r, YL(s?.fillAlpha));
|
|
26855
26855
|
return new Fr({
|
|
26856
26856
|
list: "overrides",
|
|
26857
26857
|
rule: {
|
|
26858
26858
|
...o,
|
|
26859
|
-
declarations:
|
|
26859
|
+
declarations: gke(a, l)
|
|
26860
26860
|
}
|
|
26861
26861
|
}, this.metadata).apply(e);
|
|
26862
26862
|
}
|
|
26863
|
-
},
|
|
26863
|
+
}, pke = 0.2, YL = (e) => (e ?? 0) > 0, mke = (e, t, n) => e ? t ?? (n ? null : pke) : n ? 0 : null, gke = (e, t) => {
|
|
26864
26864
|
const { fillAlpha: n, ...r } = e ?? {};
|
|
26865
26865
|
return t !== null ? {
|
|
26866
26866
|
...r,
|
|
26867
26867
|
fillAlpha: t
|
|
26868
26868
|
} : Object.keys(r).length === 0 ? null : r;
|
|
26869
|
-
},
|
|
26869
|
+
}, vke = class LT {
|
|
26870
26870
|
constructor(t, n = {}) {
|
|
26871
26871
|
this.type = "toggle-line-points", this.params = t, this.metadata = He({
|
|
26872
26872
|
...n,
|
|
@@ -26885,7 +26885,7 @@ var YCe = class qH {
|
|
|
26885
26885
|
}
|
|
26886
26886
|
addPointLayer(t, n) {
|
|
26887
26887
|
return this.findAssociatedPointLayer(t, n) ? null : {
|
|
26888
|
-
spec:
|
|
26888
|
+
spec: B2(t, this.params.removedLayer ?? Dc(to, t.mapping, t.coords.coordType, tm.point({
|
|
26889
26889
|
aes: { ...n.mapping },
|
|
26890
26890
|
position: n.position,
|
|
26891
26891
|
yScaleType: n.yScaleType,
|
|
@@ -26901,7 +26901,7 @@ var YCe = class qH {
|
|
|
26901
26901
|
removePointLayer(t, n) {
|
|
26902
26902
|
const r = this.findAssociatedPointLayer(t, n);
|
|
26903
26903
|
return r ? {
|
|
26904
|
-
spec:
|
|
26904
|
+
spec: V2(t, r.id),
|
|
26905
26905
|
revert: new LT({
|
|
26906
26906
|
layerId: n.id,
|
|
26907
26907
|
showPoints: !0,
|
|
@@ -26941,7 +26941,7 @@ var YCe = class qH {
|
|
|
26941
26941
|
constructor(t, n = {}) {
|
|
26942
26942
|
this.type = "set-scale-domain", this.params = t, this.metadata = He({
|
|
26943
26943
|
...n,
|
|
26944
|
-
description: `Set ${
|
|
26944
|
+
description: `Set ${L2(t.scaledAesthetic)} scale domain`
|
|
26945
26945
|
});
|
|
26946
26946
|
}
|
|
26947
26947
|
get target() {
|
|
@@ -26951,7 +26951,7 @@ var YCe = class qH {
|
|
|
26951
26951
|
};
|
|
26952
26952
|
}
|
|
26953
26953
|
apply(t) {
|
|
26954
|
-
const n =
|
|
26954
|
+
const n = I2(t, this.params.scaledAesthetic);
|
|
26955
26955
|
if (!n || n.scaleType !== "continuous" && n.scaleType !== "datetime") return null;
|
|
26956
26956
|
const r = {
|
|
26957
26957
|
min: n.domainMin ?? null,
|
|
@@ -26962,17 +26962,17 @@ var YCe = class qH {
|
|
|
26962
26962
|
...n,
|
|
26963
26963
|
...this.params.domainMin !== void 0 && { domainMin: this.params.domainMin },
|
|
26964
26964
|
...this.params.domainMax !== void 0 && { domainMax: this.params.domainMax }
|
|
26965
|
-
}, s =
|
|
26965
|
+
}, s = O2(t, this.params.scaledAesthetic, a), l = { scaledAesthetic: this.params.scaledAesthetic };
|
|
26966
26966
|
return this.params.domainMin !== void 0 && (l.domainMin = r.min), this.params.domainMax !== void 0 && (l.domainMax = r.max), {
|
|
26967
26967
|
spec: s,
|
|
26968
26968
|
revert: new f$(l, this.metadata)
|
|
26969
26969
|
};
|
|
26970
26970
|
}
|
|
26971
|
-
},
|
|
26971
|
+
}, yke = class h$ {
|
|
26972
26972
|
constructor(t, n = {}) {
|
|
26973
26973
|
this.type = "set-scale-reverse", this.params = t, this.metadata = He({
|
|
26974
26974
|
...n,
|
|
26975
|
-
description: `Set ${
|
|
26975
|
+
description: `Set ${L2(t.scaledAesthetic)} scale reverse to ${t.reverse}`
|
|
26976
26976
|
});
|
|
26977
26977
|
}
|
|
26978
26978
|
get target() {
|
|
@@ -26982,11 +26982,11 @@ var YCe = class qH {
|
|
|
26982
26982
|
};
|
|
26983
26983
|
}
|
|
26984
26984
|
apply(t) {
|
|
26985
|
-
const n =
|
|
26986
|
-
if (!n || !
|
|
26985
|
+
const n = I2(t, this.params.scaledAesthetic);
|
|
26986
|
+
if (!n || !bke(n)) return null;
|
|
26987
26987
|
const r = n.reverse;
|
|
26988
26988
|
return r === this.params.reverse ? null : {
|
|
26989
|
-
spec:
|
|
26989
|
+
spec: O2(t, this.params.scaledAesthetic, {
|
|
26990
26990
|
...n,
|
|
26991
26991
|
reverse: this.params.reverse
|
|
26992
26992
|
}),
|
|
@@ -26997,10 +26997,10 @@ var YCe = class qH {
|
|
|
26997
26997
|
};
|
|
26998
26998
|
}
|
|
26999
26999
|
};
|
|
27000
|
-
function
|
|
27000
|
+
function bke(e) {
|
|
27001
27001
|
return e.scaleType === "continuous" || e.scaleType === "datetime" || e.scaleType === "discrete";
|
|
27002
27002
|
}
|
|
27003
|
-
var
|
|
27003
|
+
var H2 = class p$ {
|
|
27004
27004
|
constructor(t, n = {}) {
|
|
27005
27005
|
this.type = "sequence";
|
|
27006
27006
|
const r = [...t.commands], [o] = r;
|
|
@@ -27030,7 +27030,7 @@ var Hk = class p$ {
|
|
|
27030
27030
|
constructor(t, n = {}) {
|
|
27031
27031
|
this.type = "set-scale-transform", this.params = t, this.metadata = He({
|
|
27032
27032
|
...n,
|
|
27033
|
-
description: `Set ${
|
|
27033
|
+
description: `Set ${L2(t.scaledAesthetic)} scale transform to ${t.transform}`
|
|
27034
27034
|
});
|
|
27035
27035
|
}
|
|
27036
27036
|
get target() {
|
|
@@ -27040,11 +27040,11 @@ var Hk = class p$ {
|
|
|
27040
27040
|
};
|
|
27041
27041
|
}
|
|
27042
27042
|
apply(t) {
|
|
27043
|
-
const n =
|
|
27043
|
+
const n = I2(t, this.params.scaledAesthetic);
|
|
27044
27044
|
if (!n || n.scaleType !== "continuous") return null;
|
|
27045
27045
|
const r = n.transform;
|
|
27046
27046
|
if (r === this.params.transform) return null;
|
|
27047
|
-
const o = this.params.transform === "log" && n.domainMin !== null, i =
|
|
27047
|
+
const o = this.params.transform === "log" && n.domainMin !== null, i = O2(t, this.params.scaledAesthetic, {
|
|
27048
27048
|
...n,
|
|
27049
27049
|
transform: this.params.transform,
|
|
27050
27050
|
...o ? { domainMin: null } : {}
|
|
@@ -27054,13 +27054,13 @@ var Hk = class p$ {
|
|
|
27054
27054
|
}, this.metadata);
|
|
27055
27055
|
return {
|
|
27056
27056
|
spec: i,
|
|
27057
|
-
revert: o ? new
|
|
27057
|
+
revert: o ? new H2({ commands: [a, new Ts({
|
|
27058
27058
|
scaledAesthetic: this.params.scaledAesthetic,
|
|
27059
27059
|
domainMin: n.domainMin
|
|
27060
27060
|
}, this.metadata)] }, this.metadata) : a
|
|
27061
27061
|
};
|
|
27062
27062
|
}
|
|
27063
|
-
},
|
|
27063
|
+
}, xke = class {
|
|
27064
27064
|
constructor(e, t = {}) {
|
|
27065
27065
|
this.type = "set-observations-color", this.params = e, this.metadata = He({
|
|
27066
27066
|
...t,
|
|
@@ -27081,8 +27081,8 @@ var Hk = class p$ {
|
|
|
27081
27081
|
l && (r = l.spec, n.push(l.revert));
|
|
27082
27082
|
}
|
|
27083
27083
|
};
|
|
27084
|
-
if (this.params.color !== null) for (const a of t) for (const s of
|
|
27085
|
-
for (const a of t) o(
|
|
27084
|
+
if (this.params.color !== null) for (const a of t) for (const s of wke(r, a)) o(Ske(r, s, a.property));
|
|
27085
|
+
for (const a of t) o(Ake(r, a, this.params.color));
|
|
27086
27086
|
if (n.length === 0 || $s(r, e)) return null;
|
|
27087
27087
|
const [i] = n;
|
|
27088
27088
|
return n.length === 1 && i !== void 0 ? {
|
|
@@ -27090,25 +27090,25 @@ var Hk = class p$ {
|
|
|
27090
27090
|
revert: i
|
|
27091
27091
|
} : {
|
|
27092
27092
|
spec: r,
|
|
27093
|
-
revert: new
|
|
27093
|
+
revert: new H2({ commands: [...n].reverse() }, this.metadata)
|
|
27094
27094
|
};
|
|
27095
27095
|
}
|
|
27096
|
-
},
|
|
27096
|
+
}, Ske = (e, t, n) => {
|
|
27097
27097
|
const r = t[t.length - 1];
|
|
27098
|
-
if (r === void 0 || !t.some((a) =>
|
|
27098
|
+
if (r === void 0 || !t.some((a) => Tke(a.declarations, n))) return [];
|
|
27099
27099
|
const o = y$(v$(t), n, null);
|
|
27100
27100
|
if (t.length === 1)
|
|
27101
|
-
return o !== null &&
|
|
27101
|
+
return o !== null && nk(o, r.declarations) ? [] : [xs(r, o)];
|
|
27102
27102
|
const i = [xs(r, null)];
|
|
27103
27103
|
if (o !== null) {
|
|
27104
27104
|
const a = nm(e.styles.overrides, r, Vn(e));
|
|
27105
27105
|
i.push(xs(r, o, a - (t.length - 1)));
|
|
27106
27106
|
}
|
|
27107
27107
|
return i;
|
|
27108
|
-
},
|
|
27108
|
+
}, wke = (e, t) => {
|
|
27109
27109
|
const n = [], r = /* @__PURE__ */ new Map();
|
|
27110
27110
|
for (const o of e.styles.overrides) {
|
|
27111
|
-
if (o.when?.state !== void 0 || !
|
|
27111
|
+
if (o.when?.state !== void 0 || !kke(o, t) || !Eke(o.when?.where, t.where)) continue;
|
|
27112
27112
|
const i = zl(o), a = r.get(i);
|
|
27113
27113
|
if (a === void 0) {
|
|
27114
27114
|
r.set(i, n.length), n.push([o]);
|
|
@@ -27120,13 +27120,13 @@ var Hk = class p$ {
|
|
|
27120
27120
|
}, v$ = (e) => e.reduce((t, n) => ({
|
|
27121
27121
|
...t,
|
|
27122
27122
|
...n.declarations
|
|
27123
|
-
}), {}),
|
|
27124
|
-
const r = e.styles.overrides, o =
|
|
27123
|
+
}), {}), Tke = (e, t) => Object.entries(e).some(([n]) => n === t), Ake = (e, t, n) => {
|
|
27124
|
+
const r = e.styles.overrides, o = Cke(t), i = r.filter((d) => _w(d, o)), a = nm(r, o, Vn(e)), s = a === -1 ? void 0 : r[a], l = y$(i.length === 0 ? {} : v$(i), t.property, n);
|
|
27125
27125
|
if (s === void 0) return l === null ? [] : [xs(o, l)];
|
|
27126
|
-
if (!
|
|
27126
|
+
if (!rk(s)) return [];
|
|
27127
27127
|
if (l === null) return [xs(s, null)];
|
|
27128
27128
|
const c = a === r.length - 1;
|
|
27129
|
-
if (c && i.length === 1 &&
|
|
27129
|
+
if (c && i.length === 1 && nk(s.declarations, l)) return [];
|
|
27130
27130
|
if (c && i.length === 1) return [xs(s, l)];
|
|
27131
27131
|
const u = c ? a - (i.length - 1) : void 0;
|
|
27132
27132
|
return [xs(s, null), xs(s, l, u)];
|
|
@@ -27137,14 +27137,14 @@ var Hk = class p$ {
|
|
|
27137
27137
|
declarations: t
|
|
27138
27138
|
},
|
|
27139
27139
|
...n === void 0 ? {} : { index: n }
|
|
27140
|
-
}),
|
|
27140
|
+
}), Cke = (e) => ({
|
|
27141
27141
|
select: {
|
|
27142
27142
|
target: "geom",
|
|
27143
27143
|
kind: e.geomKind,
|
|
27144
27144
|
layer: e.layerId
|
|
27145
27145
|
},
|
|
27146
27146
|
...e.where === void 0 ? {} : { when: { where: e.where } }
|
|
27147
|
-
}),
|
|
27147
|
+
}), kke = (e, t) => rk(e) && e.select.kind === t.geomKind && e.select.layer === t.layerId && e.select.part === void 0, Eke = (e, t) => {
|
|
27148
27148
|
const n = qL(e);
|
|
27149
27149
|
if (n === null) return !1;
|
|
27150
27150
|
const r = t === void 0 ? [] : qL(t);
|
|
@@ -27210,7 +27210,7 @@ var Hk = class p$ {
|
|
|
27210
27210
|
default:
|
|
27211
27211
|
throw new ut({ message: `Unhandled edit target kind: ${e.kind}` });
|
|
27212
27212
|
}
|
|
27213
|
-
},
|
|
27213
|
+
}, Mke = class {
|
|
27214
27214
|
constructor(e = {}) {
|
|
27215
27215
|
this.undoStack = [], this.redoStack = [], this.listeners = /* @__PURE__ */ new Set(), this.isEmitting = !1, this.cachedSnapshot = null, this.hasOpenRun = !1, this.maxHistorySize = e.maxHistorySize ?? 100;
|
|
27216
27216
|
}
|
|
@@ -27297,7 +27297,7 @@ var Hk = class p$ {
|
|
|
27297
27297
|
};
|
|
27298
27298
|
}
|
|
27299
27299
|
push(e, t, n, r) {
|
|
27300
|
-
const o = this.undoStack.length - 1, i = this.undoStack[o], a = this.hasOpenRun && i !== void 0 &&
|
|
27300
|
+
const o = this.undoStack.length - 1, i = this.undoStack[o], a = this.hasOpenRun && i !== void 0 && Rke(i.command, e);
|
|
27301
27301
|
if (r && a) {
|
|
27302
27302
|
this.undoStack[o] = {
|
|
27303
27303
|
command: e,
|
|
@@ -27331,7 +27331,7 @@ var Hk = class p$ {
|
|
|
27331
27331
|
console.error("CommandStack listener error:", n);
|
|
27332
27332
|
}
|
|
27333
27333
|
}
|
|
27334
|
-
},
|
|
27334
|
+
}, Pke = Object.freeze([]), Rke = (e, t) => e.type === t.type && zi(e.target, t.target), XL = (e) => e.length === 0 ? Pke : e.map((t) => t.command.metadata), Ike = class {
|
|
27335
27335
|
constructor(e) {
|
|
27336
27336
|
this.history = e, this.frame = null;
|
|
27337
27337
|
}
|
|
@@ -27345,9 +27345,9 @@ var Hk = class p$ {
|
|
|
27345
27345
|
const e = this.history.commit(), t = this.frame;
|
|
27346
27346
|
return this.frame = null, e ? t : null;
|
|
27347
27347
|
}
|
|
27348
|
-
},
|
|
27348
|
+
}, Oke = class {
|
|
27349
27349
|
constructor(e) {
|
|
27350
|
-
this.compiler = e, this.history = new
|
|
27350
|
+
this.compiler = e, this.history = new Mke(), this.current = null, this.last = null, this.hostSpec = null, this.run = new Ike(this.history);
|
|
27351
27351
|
}
|
|
27352
27352
|
get scene() {
|
|
27353
27353
|
return this.current;
|
|
@@ -27485,21 +27485,21 @@ var Hk = class p$ {
|
|
|
27485
27485
|
absorb(e) {
|
|
27486
27486
|
return e.ok && (this.current = e.scene), e;
|
|
27487
27487
|
}
|
|
27488
|
-
},
|
|
27488
|
+
}, Lke = /* @__PURE__ */ new Set(["x", "y"]), JL = [
|
|
27489
27489
|
"numeric",
|
|
27490
27490
|
"categorical",
|
|
27491
27491
|
"temporal"
|
|
27492
|
-
], QL = ["numeric"],
|
|
27492
|
+
], QL = ["numeric"], _ke = (e, t) => {
|
|
27493
27493
|
const n = e.layers.map((o) => _V(o.geom)).filter(he), r = mm(e);
|
|
27494
|
-
return t.filter((o) =>
|
|
27494
|
+
return t.filter((o) => Dke(e, n, o)).map((o) => ({
|
|
27495
27495
|
aesthetic: o,
|
|
27496
|
-
variables:
|
|
27497
|
-
isRequired:
|
|
27496
|
+
variables: Nke(r, n, o),
|
|
27497
|
+
isRequired: Lke.has(o)
|
|
27498
27498
|
}));
|
|
27499
|
-
},
|
|
27499
|
+
}, Dke = (e, t, n) => {
|
|
27500
27500
|
switch (n) {
|
|
27501
27501
|
case "x":
|
|
27502
|
-
return !
|
|
27502
|
+
return !Vke(e.coords);
|
|
27503
27503
|
case "y":
|
|
27504
27504
|
return !0;
|
|
27505
27505
|
case "label":
|
|
@@ -27507,10 +27507,10 @@ var Hk = class p$ {
|
|
|
27507
27507
|
default:
|
|
27508
27508
|
return t.some((r) => r.aesthetics.some((o) => o.kind === "visual" && o.name === n));
|
|
27509
27509
|
}
|
|
27510
|
-
},
|
|
27511
|
-
const r =
|
|
27510
|
+
}, Nke = (e, t, n) => {
|
|
27511
|
+
const r = Fke(t, n);
|
|
27512
27512
|
return e.getVariableNames().filter((o) => !qp(o) && r.includes(e.getType(o)));
|
|
27513
|
-
},
|
|
27513
|
+
}, Fke = (e, t) => t === "size" ? QL : t !== "x" && t !== "y" ? JL : Bke(e, t) ? QL : JL, Bke = (e, t) => e.some((n) => n.positionRoles.some((r) => x7.has(r.role) && r.aes === t && !(r.role === "scalar" && r.aes === r.axis))), Vke = (e) => e.coordType === "polar" && e.params.theta === "y";
|
|
27514
27514
|
var Pl = {
|
|
27515
27515
|
thin: 100,
|
|
27516
27516
|
hairline: 100,
|
|
@@ -27529,7 +27529,7 @@ var Pl = {
|
|
|
27529
27529
|
heavy: 900,
|
|
27530
27530
|
extraBlack: 950,
|
|
27531
27531
|
ultraBlack: 950
|
|
27532
|
-
},
|
|
27532
|
+
}, Hke = (e) => {
|
|
27533
27533
|
const t = e.style ?? "normal", n = e.weight ?? 500, r = e.family.includes(",") ? e.family : `'${e.family}'`;
|
|
27534
27534
|
return `${t} ${n} ${e.size}px ${r}`;
|
|
27535
27535
|
}, b$ = (e) => typeof e != "string" ? e ?? 500 : Pl[e], Hd = (e, t) => {
|
|
@@ -27543,7 +27543,7 @@ var Pl = {
|
|
|
27543
27543
|
default:
|
|
27544
27544
|
return e;
|
|
27545
27545
|
}
|
|
27546
|
-
}, x$ = (e, t) => t === void 0 || t === 0 ? 0 : t * [...e].length, $
|
|
27546
|
+
}, x$ = (e, t) => t === void 0 || t === 0 ? 0 : t * [...e].length, $ke = "\0", ZL = class {
|
|
27547
27547
|
constructor(e) {
|
|
27548
27548
|
this.inner = e, this.cache = /* @__PURE__ */ new Map();
|
|
27549
27549
|
}
|
|
@@ -27562,9 +27562,9 @@ var Pl = {
|
|
|
27562
27562
|
t.letterSpacing ?? 0,
|
|
27563
27563
|
t.textTransform ?? "none",
|
|
27564
27564
|
e
|
|
27565
|
-
].join($
|
|
27565
|
+
].join($ke);
|
|
27566
27566
|
}
|
|
27567
|
-
},
|
|
27567
|
+
}, zke = {
|
|
27568
27568
|
" ": 0.25,
|
|
27569
27569
|
"!": 0.27,
|
|
27570
27570
|
'"': 0.36,
|
|
@@ -27661,13 +27661,13 @@ var Pl = {
|
|
|
27661
27661
|
"}": 0.33,
|
|
27662
27662
|
"~": 0.56
|
|
27663
27663
|
};
|
|
27664
|
-
var
|
|
27664
|
+
var Wke = 1.05, Gke = 0.84, Uke = 0.21, jke = class {
|
|
27665
27665
|
measureText(e, t) {
|
|
27666
27666
|
const n = Hd(e, t.textTransform);
|
|
27667
27667
|
let r = x$(n, t.letterSpacing);
|
|
27668
|
-
for (const a of n) r += (
|
|
27669
|
-
b$(t.weight) >= Pl.semiBold && (r *=
|
|
27670
|
-
const o =
|
|
27668
|
+
for (const a of n) r += (zke[a] ?? 0.55) * t.size;
|
|
27669
|
+
b$(t.weight) >= Pl.semiBold && (r *= Wke);
|
|
27670
|
+
const o = Gke * t.size, i = Uke * t.size;
|
|
27671
27671
|
return {
|
|
27672
27672
|
width: r,
|
|
27673
27673
|
height: o + i,
|
|
@@ -27680,8 +27680,8 @@ function vp(e) {
|
|
|
27680
27680
|
const t = Oe(null);
|
|
27681
27681
|
return t.current === null && (t.current = e()), t.current;
|
|
27682
27682
|
}
|
|
27683
|
-
var w$ = typeof window < "u", T$ = w$ ? Bo : we, $
|
|
27684
|
-
function
|
|
27683
|
+
var w$ = typeof window < "u", T$ = w$ ? Bo : we, $2 = /* @__PURE__ */ wt(null);
|
|
27684
|
+
function z2(e, t) {
|
|
27685
27685
|
e.indexOf(t) === -1 && e.push(t);
|
|
27686
27686
|
}
|
|
27687
27687
|
function hd(e, t) {
|
|
@@ -27700,15 +27700,15 @@ function E$(e) {
|
|
|
27700
27700
|
let t;
|
|
27701
27701
|
return () => (t === void 0 && (t = e()), t);
|
|
27702
27702
|
}
|
|
27703
|
-
var Do = /* @__NO_SIDE_EFFECTS__ */ (e) => e,
|
|
27703
|
+
var Do = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Kke = (e, t) => (n) => t(e(n)), wm = (...e) => e.reduce(Kke), pd = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
|
|
27704
27704
|
const r = t - e;
|
|
27705
27705
|
return r === 0 ? 1 : (n - e) / r;
|
|
27706
|
-
},
|
|
27706
|
+
}, W2 = class {
|
|
27707
27707
|
constructor() {
|
|
27708
27708
|
this.subscriptions = [];
|
|
27709
27709
|
}
|
|
27710
27710
|
add(e) {
|
|
27711
|
-
return
|
|
27711
|
+
return z2(this.subscriptions, e), () => hd(this.subscriptions, e);
|
|
27712
27712
|
}
|
|
27713
27713
|
notify(e, t, n) {
|
|
27714
27714
|
const r = this.subscriptions.length;
|
|
@@ -27729,44 +27729,44 @@ var Do = /* @__NO_SIDE_EFFECTS__ */ (e) => e, K2e = (e, t) => (n) => t(e(n)), wm
|
|
|
27729
27729
|
function M$(e, t) {
|
|
27730
27730
|
return t ? e * (1e3 / t) : 0;
|
|
27731
27731
|
}
|
|
27732
|
-
var
|
|
27732
|
+
var Yke = (e, t, n) => {
|
|
27733
27733
|
const r = t - e;
|
|
27734
27734
|
return ((n - e) % r + r) % r + e;
|
|
27735
|
-
}, P$ = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e,
|
|
27736
|
-
function
|
|
27735
|
+
}, P$ = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, qke = 1e-7, Xke = 12;
|
|
27736
|
+
function Jke(e, t, n, r, o) {
|
|
27737
27737
|
let i, a, s = 0;
|
|
27738
27738
|
do
|
|
27739
27739
|
a = t + (n - t) / 2, i = P$(a, r, o) - e, i > 0 ? n = a : t = a;
|
|
27740
|
-
while (Math.abs(i) >
|
|
27740
|
+
while (Math.abs(i) > qke && ++s < Xke);
|
|
27741
27741
|
return a;
|
|
27742
27742
|
}
|
|
27743
27743
|
function Tm(e, t, n, r) {
|
|
27744
27744
|
if (e === t && n === r) return Do;
|
|
27745
|
-
const o = (i) =>
|
|
27745
|
+
const o = (i) => Jke(i, 0, 1, e, n);
|
|
27746
27746
|
return (i) => i === 0 || i === 1 ? i : P$(o(i), t, r);
|
|
27747
27747
|
}
|
|
27748
|
-
var R$ = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, I$ = (e) => (t) => 1 - e(1 - t), O$ = /* @__PURE__ */ Tm(0.33, 1.53, 0.69, 0.99),
|
|
27748
|
+
var R$ = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, I$ = (e) => (t) => 1 - e(1 - t), O$ = /* @__PURE__ */ Tm(0.33, 1.53, 0.69, 0.99), G2 = /* @__PURE__ */ I$(O$), L$ = /* @__PURE__ */ R$(G2), _$ = (e) => (e *= 2) < 1 ? 0.5 * G2(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), U2 = (e) => 1 - Math.sin(Math.acos(e)), D$ = I$(U2), N$ = R$(U2), Qke = /* @__PURE__ */ Tm(0.42, 0, 1, 1), Zke = /* @__PURE__ */ Tm(0, 0, 0.58, 1), F$ = /* @__PURE__ */ Tm(0.42, 0, 0.58, 1), B$ = (e) => Array.isArray(e) && typeof e[0] != "number";
|
|
27749
27749
|
function V$(e, t) {
|
|
27750
|
-
return B$(e) ? e[
|
|
27750
|
+
return B$(e) ? e[Yke(0, e.length, t)] : e;
|
|
27751
27751
|
}
|
|
27752
27752
|
var H$ = (e) => Array.isArray(e) && typeof e[0] == "number", e5 = {
|
|
27753
27753
|
linear: Do,
|
|
27754
|
-
easeIn:
|
|
27754
|
+
easeIn: Qke,
|
|
27755
27755
|
easeInOut: F$,
|
|
27756
|
-
easeOut:
|
|
27757
|
-
circIn:
|
|
27756
|
+
easeOut: Zke,
|
|
27757
|
+
circIn: U2,
|
|
27758
27758
|
circInOut: N$,
|
|
27759
27759
|
circOut: D$,
|
|
27760
|
-
backIn:
|
|
27760
|
+
backIn: G2,
|
|
27761
27761
|
backInOut: L$,
|
|
27762
27762
|
backOut: O$,
|
|
27763
27763
|
anticipate: _$
|
|
27764
|
-
},
|
|
27764
|
+
}, e2e = (e) => typeof e == "string", t5 = (e) => {
|
|
27765
27765
|
if (H$(e)) {
|
|
27766
27766
|
Fs(e.length === 4, "Cubic bezier arrays must contain four numerical values.", "cubic-bezier-length");
|
|
27767
27767
|
const [t, n, r, o] = e;
|
|
27768
27768
|
return Tm(t, n, r, o);
|
|
27769
|
-
} else if (
|
|
27769
|
+
} else if (e2e(e))
|
|
27770
27770
|
return Fs(e5[e] !== void 0, `Invalid easing type '${e}'`, "invalid-easing-type"), e5[e];
|
|
27771
27771
|
return e;
|
|
27772
27772
|
}, wg = [
|
|
@@ -27782,7 +27782,7 @@ var H$ = (e) => Array.isArray(e) && typeof e[0] == "number", e5 = {
|
|
|
27782
27782
|
value: null,
|
|
27783
27783
|
addProjectionMetrics: null
|
|
27784
27784
|
};
|
|
27785
|
-
function
|
|
27785
|
+
function t2e(e, t) {
|
|
27786
27786
|
let n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), o = !1, i = !1;
|
|
27787
27787
|
const a = /* @__PURE__ */ new WeakSet();
|
|
27788
27788
|
let s = {
|
|
@@ -27811,16 +27811,16 @@ function tke(e, t) {
|
|
|
27811
27811
|
};
|
|
27812
27812
|
return u;
|
|
27813
27813
|
}
|
|
27814
|
-
var
|
|
27814
|
+
var n2e = 40;
|
|
27815
27815
|
function $$(e, t) {
|
|
27816
27816
|
let n = !1, r = !0;
|
|
27817
27817
|
const o = {
|
|
27818
27818
|
delta: 0,
|
|
27819
27819
|
timestamp: 0,
|
|
27820
27820
|
isProcessing: !1
|
|
27821
|
-
}, i = () => n = !0, a = wg.reduce((S, w) => (S[w] =
|
|
27821
|
+
}, i = () => n = !0, a = wg.reduce((S, w) => (S[w] = t2e(i, t ? w : void 0), S), {}), { setup: s, read: l, resolveKeyframes: c, preUpdate: u, update: d, preRender: f, render: h, postRender: p } = a, g = () => {
|
|
27822
27822
|
const S = Xa.useManualTiming ? o.timestamp : performance.now();
|
|
27823
|
-
n = !1, Xa.useManualTiming || (o.delta = r ? 1e3 / 60 : Math.max(Math.min(S - o.timestamp,
|
|
27823
|
+
n = !1, Xa.useManualTiming || (o.delta = r ? 1e3 / 60 : Math.max(Math.min(S - o.timestamp, n2e), 1)), o.timestamp = S, o.isProcessing = !0, s.process(o), l.process(o), c.process(o), u.process(o), d.process(o), f.process(o), h.process(o), p.process(o), o.isProcessing = !1, n && t && (r = !1, e(g));
|
|
27824
27824
|
}, v = () => {
|
|
27825
27825
|
n = !0, r = !0, o.isProcessing || e(g);
|
|
27826
27826
|
};
|
|
@@ -27837,19 +27837,19 @@ function $$(e, t) {
|
|
|
27837
27837
|
};
|
|
27838
27838
|
}
|
|
27839
27839
|
var { schedule: Kt, cancel: Ja, state: tr, steps: rS } = /* @__PURE__ */ $$(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Do, !0), Ev;
|
|
27840
|
-
function
|
|
27840
|
+
function r2e() {
|
|
27841
27841
|
Ev = void 0;
|
|
27842
27842
|
}
|
|
27843
27843
|
var Rr = {
|
|
27844
27844
|
now: () => (Ev === void 0 && Rr.set(tr.isProcessing || Xa.useManualTiming ? tr.timestamp : performance.now()), Ev),
|
|
27845
27845
|
set: (e) => {
|
|
27846
|
-
Ev = e, queueMicrotask(
|
|
27846
|
+
Ev = e, queueMicrotask(r2e);
|
|
27847
27847
|
}
|
|
27848
27848
|
}, jl = {
|
|
27849
27849
|
layout: 0,
|
|
27850
27850
|
mainThread: 0,
|
|
27851
27851
|
waapi: 0
|
|
27852
|
-
}, z$ = (e) => (t) => typeof t == "string" && t.startsWith(e), W$ = /* @__PURE__ */ z$("--"),
|
|
27852
|
+
}, z$ = (e) => (t) => typeof t == "string" && t.startsWith(e), W$ = /* @__PURE__ */ z$("--"), o2e = /* @__PURE__ */ z$("var(--"), j2 = (e) => o2e(e) ? i2e.test(e.split("/*")[0].trim()) : !1, i2e = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
|
|
27853
27853
|
function n5(e) {
|
|
27854
27854
|
return typeof e != "string" ? !1 : e.split("/*")[0].includes("var(--");
|
|
27855
27855
|
}
|
|
@@ -27863,28 +27863,28 @@ var $d = {
|
|
|
27863
27863
|
}, Tg = {
|
|
27864
27864
|
...$d,
|
|
27865
27865
|
default: 1
|
|
27866
|
-
}, yh = (e) => Math.round(e * 1e5) / 1e5,
|
|
27867
|
-
function
|
|
27866
|
+
}, yh = (e) => Math.round(e * 1e5) / 1e5, K2 = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
|
|
27867
|
+
function a2e(e) {
|
|
27868
27868
|
return e == null;
|
|
27869
27869
|
}
|
|
27870
|
-
var
|
|
27870
|
+
var s2e = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Y2 = (e, t) => (n) => !!(typeof n == "string" && s2e.test(n) && n.startsWith(e) || t && !a2e(n) && Object.prototype.hasOwnProperty.call(n, t)), G$ = (e, t, n) => (r) => {
|
|
27871
27871
|
if (typeof r != "string") return r;
|
|
27872
|
-
const [o, i, a, s] = r.match(
|
|
27872
|
+
const [o, i, a, s] = r.match(K2);
|
|
27873
27873
|
return {
|
|
27874
27874
|
[e]: parseFloat(o),
|
|
27875
27875
|
[t]: parseFloat(i),
|
|
27876
27876
|
[n]: parseFloat(a),
|
|
27877
27877
|
alpha: s !== void 0 ? parseFloat(s) : 1
|
|
27878
27878
|
};
|
|
27879
|
-
},
|
|
27879
|
+
}, l2e = (e) => Qi(0, 255, e), oS = {
|
|
27880
27880
|
...$d,
|
|
27881
|
-
transform: (e) => Math.round(
|
|
27881
|
+
transform: (e) => Math.round(l2e(e))
|
|
27882
27882
|
}, Ll = {
|
|
27883
|
-
test: /* @__PURE__ */
|
|
27883
|
+
test: /* @__PURE__ */ Y2("rgb", "red"),
|
|
27884
27884
|
parse: /* @__PURE__ */ G$("red", "green", "blue"),
|
|
27885
27885
|
transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + oS.transform(e) + ", " + oS.transform(t) + ", " + oS.transform(n) + ", " + yh(yp.transform(r)) + ")"
|
|
27886
27886
|
};
|
|
27887
|
-
function
|
|
27887
|
+
function c2e(e) {
|
|
27888
27888
|
let t = "", n = "", r = "", o = "";
|
|
27889
27889
|
return e.length > 5 ? (t = e.substring(1, 3), n = e.substring(3, 5), r = e.substring(5, 7), o = e.substring(7, 9)) : (t = e.substring(1, 2), n = e.substring(2, 3), r = e.substring(3, 4), o = e.substring(4, 5), t += t, n += n, r += r, o += o), {
|
|
27890
27890
|
red: parseInt(t, 16),
|
|
@@ -27894,19 +27894,19 @@ function cke(e) {
|
|
|
27894
27894
|
};
|
|
27895
27895
|
}
|
|
27896
27896
|
var _T = {
|
|
27897
|
-
test: /* @__PURE__ */
|
|
27898
|
-
parse:
|
|
27897
|
+
test: /* @__PURE__ */ Y2("#"),
|
|
27898
|
+
parse: c2e,
|
|
27899
27899
|
transform: Ll.transform
|
|
27900
27900
|
}, Am = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
|
|
27901
27901
|
test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
|
|
27902
27902
|
parse: parseFloat,
|
|
27903
27903
|
transform: (t) => `${t}${e}`
|
|
27904
|
-
}), fs = /* @__PURE__ */ Am("deg"), Wi = /* @__PURE__ */ Am("%"), Re = /* @__PURE__ */ Am("px"),
|
|
27904
|
+
}), fs = /* @__PURE__ */ Am("deg"), Wi = /* @__PURE__ */ Am("%"), Re = /* @__PURE__ */ Am("px"), u2e = /* @__PURE__ */ Am("vh"), d2e = /* @__PURE__ */ Am("vw"), r5 = {
|
|
27905
27905
|
...Wi,
|
|
27906
27906
|
parse: (e) => Wi.parse(e) / 100,
|
|
27907
27907
|
transform: (e) => Wi.transform(e * 100)
|
|
27908
27908
|
}, _u = {
|
|
27909
|
-
test: /* @__PURE__ */
|
|
27909
|
+
test: /* @__PURE__ */ Y2("hsl", "hue"),
|
|
27910
27910
|
parse: /* @__PURE__ */ G$("hue", "saturation", "lightness"),
|
|
27911
27911
|
transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Wi.transform(yh(t)) + ", " + Wi.transform(yh(n)) + ", " + yh(yp.transform(r)) + ")"
|
|
27912
27912
|
}, Bn = {
|
|
@@ -27917,11 +27917,11 @@ var _T = {
|
|
|
27917
27917
|
const t = Bn.parse(e);
|
|
27918
27918
|
return t.alpha = 0, Bn.transform(t);
|
|
27919
27919
|
}
|
|
27920
|
-
},
|
|
27921
|
-
function
|
|
27922
|
-
return isNaN(e) && typeof e == "string" && (e.match(
|
|
27920
|
+
}, f2e = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
|
|
27921
|
+
function h2e(e) {
|
|
27922
|
+
return isNaN(e) && typeof e == "string" && (e.match(K2)?.length || 0) + (e.match(f2e)?.length || 0) > 0;
|
|
27923
27923
|
}
|
|
27924
|
-
var U$ = "number", j$ = "color",
|
|
27924
|
+
var U$ = "number", j$ = "color", p2e = "var", m2e = "var(", o5 = "${}", g2e = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
|
|
27925
27925
|
function bp(e) {
|
|
27926
27926
|
const t = e.toString(), n = [], r = {
|
|
27927
27927
|
color: [],
|
|
@@ -27931,7 +27931,7 @@ function bp(e) {
|
|
|
27931
27931
|
let i = 0;
|
|
27932
27932
|
return {
|
|
27933
27933
|
values: n,
|
|
27934
|
-
split: t.replace(
|
|
27934
|
+
split: t.replace(g2e, (a) => (Bn.test(a) ? (r.color.push(i), o.push(j$), n.push(Bn.parse(a))) : a.startsWith(m2e) ? (r.var.push(i), o.push(p2e), n.push(a)) : (r.number.push(i), o.push(U$), n.push(parseFloat(a))), ++i, o5)).split(o5),
|
|
27935
27935
|
indexes: r,
|
|
27936
27936
|
types: o
|
|
27937
27937
|
};
|
|
@@ -27951,21 +27951,21 @@ function Y$(e) {
|
|
|
27951
27951
|
return i;
|
|
27952
27952
|
};
|
|
27953
27953
|
}
|
|
27954
|
-
var
|
|
27955
|
-
function
|
|
27954
|
+
var v2e = (e) => typeof e == "number" ? 0 : Bn.test(e) ? Bn.getAnimatableNone(e) : e;
|
|
27955
|
+
function y2e(e) {
|
|
27956
27956
|
const t = K$(e);
|
|
27957
|
-
return Y$(e)(t.map(
|
|
27957
|
+
return Y$(e)(t.map(v2e));
|
|
27958
27958
|
}
|
|
27959
27959
|
var si = {
|
|
27960
|
-
test:
|
|
27960
|
+
test: h2e,
|
|
27961
27961
|
parse: K$,
|
|
27962
27962
|
createTransformer: Y$,
|
|
27963
|
-
getAnimatableNone:
|
|
27963
|
+
getAnimatableNone: y2e
|
|
27964
27964
|
};
|
|
27965
27965
|
function iS(e, t, n) {
|
|
27966
27966
|
return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
|
|
27967
27967
|
}
|
|
27968
|
-
function
|
|
27968
|
+
function b2e({ hue: e, saturation: t, lightness: n, alpha: r }) {
|
|
27969
27969
|
e /= 360, t /= 100, n /= 100;
|
|
27970
27970
|
let o = 0, i = 0, a = 0;
|
|
27971
27971
|
if (!t) o = i = a = n;
|
|
@@ -27986,16 +27986,16 @@ function Py(e, t) {
|
|
|
27986
27986
|
var ln = (e, t, n) => e + (t - e) * n, aS = (e, t, n) => {
|
|
27987
27987
|
const r = e * e, o = n * (t * t - r) + r;
|
|
27988
27988
|
return o < 0 ? 0 : Math.sqrt(o);
|
|
27989
|
-
},
|
|
27989
|
+
}, x2e = [
|
|
27990
27990
|
_T,
|
|
27991
27991
|
Ll,
|
|
27992
27992
|
_u
|
|
27993
|
-
],
|
|
27993
|
+
], S2e = (e) => x2e.find((t) => t.test(e));
|
|
27994
27994
|
function i5(e) {
|
|
27995
|
-
const t =
|
|
27995
|
+
const t = S2e(e);
|
|
27996
27996
|
if (Jb(!!t, `'${e}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable"), !t) return !1;
|
|
27997
27997
|
let n = t.parse(e);
|
|
27998
|
-
return t === _u && (n =
|
|
27998
|
+
return t === _u && (n = b2e(n)), n;
|
|
27999
27999
|
}
|
|
28000
28000
|
var a5 = (e, t) => {
|
|
28001
28001
|
const n = i5(e), r = i5(t);
|
|
@@ -28003,34 +28003,34 @@ var a5 = (e, t) => {
|
|
|
28003
28003
|
const o = { ...n };
|
|
28004
28004
|
return (i) => (o.red = aS(n.red, r.red, i), o.green = aS(n.green, r.green, i), o.blue = aS(n.blue, r.blue, i), o.alpha = ln(n.alpha, r.alpha, i), Ll.transform(o));
|
|
28005
28005
|
}, DT = /* @__PURE__ */ new Set(["none", "hidden"]);
|
|
28006
|
-
function
|
|
28006
|
+
function w2e(e, t) {
|
|
28007
28007
|
return DT.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
|
|
28008
28008
|
}
|
|
28009
|
-
function
|
|
28009
|
+
function T2e(e, t) {
|
|
28010
28010
|
return (n) => ln(e, t, n);
|
|
28011
28011
|
}
|
|
28012
|
-
function
|
|
28013
|
-
return typeof e == "number" ?
|
|
28012
|
+
function q2(e) {
|
|
28013
|
+
return typeof e == "number" ? T2e : typeof e == "string" ? j2(e) ? Py : Bn.test(e) ? a5 : k2e : Array.isArray(e) ? q$ : typeof e == "object" ? Bn.test(e) ? a5 : A2e : Py;
|
|
28014
28014
|
}
|
|
28015
28015
|
function q$(e, t) {
|
|
28016
|
-
const n = [...e], r = n.length, o = e.map((i, a) =>
|
|
28016
|
+
const n = [...e], r = n.length, o = e.map((i, a) => q2(i)(i, t[a]));
|
|
28017
28017
|
return (i) => {
|
|
28018
28018
|
for (let a = 0; a < r; a++) n[a] = o[a](i);
|
|
28019
28019
|
return n;
|
|
28020
28020
|
};
|
|
28021
28021
|
}
|
|
28022
|
-
function
|
|
28022
|
+
function A2e(e, t) {
|
|
28023
28023
|
const n = {
|
|
28024
28024
|
...e,
|
|
28025
28025
|
...t
|
|
28026
28026
|
}, r = {};
|
|
28027
|
-
for (const o in n) e[o] !== void 0 && t[o] !== void 0 && (r[o] =
|
|
28027
|
+
for (const o in n) e[o] !== void 0 && t[o] !== void 0 && (r[o] = q2(e[o])(e[o], t[o]));
|
|
28028
28028
|
return (o) => {
|
|
28029
28029
|
for (const i in r) n[i] = r[i](o);
|
|
28030
28030
|
return n;
|
|
28031
28031
|
};
|
|
28032
28032
|
}
|
|
28033
|
-
function
|
|
28033
|
+
function C2e(e, t) {
|
|
28034
28034
|
const n = [], r = {
|
|
28035
28035
|
color: 0,
|
|
28036
28036
|
var: 0,
|
|
@@ -28042,14 +28042,14 @@ function Cke(e, t) {
|
|
|
28042
28042
|
}
|
|
28043
28043
|
return n;
|
|
28044
28044
|
}
|
|
28045
|
-
var
|
|
28045
|
+
var k2e = (e, t) => {
|
|
28046
28046
|
const n = si.createTransformer(t), r = bp(e), o = bp(t);
|
|
28047
|
-
return r.indexes.var.length === o.indexes.var.length && r.indexes.color.length === o.indexes.color.length && r.indexes.number.length >= o.indexes.number.length ? DT.has(e) && !o.values.length || DT.has(t) && !r.values.length ?
|
|
28047
|
+
return r.indexes.var.length === o.indexes.var.length && r.indexes.color.length === o.indexes.color.length && r.indexes.number.length >= o.indexes.number.length ? DT.has(e) && !o.values.length || DT.has(t) && !r.values.length ? w2e(e, t) : wm(q$(C2e(r, o), o.values), n) : (Jb(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"), Py(e, t));
|
|
28048
28048
|
};
|
|
28049
28049
|
function X$(e, t, n) {
|
|
28050
|
-
return typeof e == "number" && typeof t == "number" && typeof n == "number" ? ln(e, t, n) :
|
|
28050
|
+
return typeof e == "number" && typeof t == "number" && typeof n == "number" ? ln(e, t, n) : q2(e)(e, t);
|
|
28051
28051
|
}
|
|
28052
|
-
var
|
|
28052
|
+
var E2e = (e) => {
|
|
28053
28053
|
const t = ({ timestamp: n }) => e(n);
|
|
28054
28054
|
return {
|
|
28055
28055
|
start: (n = !0) => Kt.update(t, n),
|
|
@@ -28062,7 +28062,7 @@ var Eke = (e) => {
|
|
|
28062
28062
|
for (let i = 0; i < o; i++) r += Math.round(e(i / (o - 1)) * 1e4) / 1e4 + ", ";
|
|
28063
28063
|
return `linear(${r.substring(0, r.length - 2)})`;
|
|
28064
28064
|
}, Q$ = 2e4;
|
|
28065
|
-
function
|
|
28065
|
+
function X2(e) {
|
|
28066
28066
|
let t = 0;
|
|
28067
28067
|
const n = 50;
|
|
28068
28068
|
let r = e.next(t);
|
|
@@ -28074,16 +28074,16 @@ function Z$(e, t = 100, n) {
|
|
|
28074
28074
|
const r = n({
|
|
28075
28075
|
...e,
|
|
28076
28076
|
keyframes: [0, t]
|
|
28077
|
-
}), o = Math.min(
|
|
28077
|
+
}), o = Math.min(X2(r), Q$);
|
|
28078
28078
|
return {
|
|
28079
28079
|
type: "keyframes",
|
|
28080
28080
|
ease: (i) => r.next(o * i).value / t,
|
|
28081
28081
|
duration: Lo(o)
|
|
28082
28082
|
};
|
|
28083
28083
|
}
|
|
28084
|
-
var
|
|
28084
|
+
var M2e = 5;
|
|
28085
28085
|
function ez(e, t, n) {
|
|
28086
|
-
const r = Math.max(t -
|
|
28086
|
+
const r = Math.max(t - M2e, 0);
|
|
28087
28087
|
return M$(n - e(r), t - r);
|
|
28088
28088
|
}
|
|
28089
28089
|
var fn = {
|
|
@@ -28107,7 +28107,7 @@ var fn = {
|
|
|
28107
28107
|
minDamping: 0.05,
|
|
28108
28108
|
maxDamping: 1
|
|
28109
28109
|
}, s5 = 1e-3;
|
|
28110
|
-
function
|
|
28110
|
+
function P2e({ duration: e = fn.duration, bounce: t = fn.bounce, velocity: n = fn.velocity, mass: r = fn.mass }) {
|
|
28111
28111
|
let o, i;
|
|
28112
28112
|
Jb(e <= po(fn.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
|
|
28113
28113
|
let a = 1 - t;
|
|
@@ -28118,7 +28118,7 @@ function Pke({ duration: e = fn.duration, bounce: t = fn.bounce, velocity: n = f
|
|
|
28118
28118
|
const u = c * a * e, d = u * n + n, f = Math.pow(a, 2) * Math.pow(c, 2) * e, h = Math.exp(-u), p = NT(Math.pow(c, 2), a);
|
|
28119
28119
|
return (-o(c) + s5 > 0 ? -1 : 1) * ((d - f) * h) / p;
|
|
28120
28120
|
}) : (o = (c) => -1e-3 + Math.exp(-c * e) * ((c - n) * e + 1), i = (c) => Math.exp(-c * e) * ((n - c) * (e * e)));
|
|
28121
|
-
const s = 5 / e, l =
|
|
28121
|
+
const s = 5 / e, l = I2e(o, i, s);
|
|
28122
28122
|
if (e = po(e), isNaN(l)) return {
|
|
28123
28123
|
stiffness: fn.stiffness,
|
|
28124
28124
|
damping: fn.damping,
|
|
@@ -28133,16 +28133,16 @@ function Pke({ duration: e = fn.duration, bounce: t = fn.bounce, velocity: n = f
|
|
|
28133
28133
|
};
|
|
28134
28134
|
}
|
|
28135
28135
|
}
|
|
28136
|
-
var
|
|
28137
|
-
function
|
|
28136
|
+
var R2e = 12;
|
|
28137
|
+
function I2e(e, t, n) {
|
|
28138
28138
|
let r = n;
|
|
28139
|
-
for (let o = 1; o <
|
|
28139
|
+
for (let o = 1; o < R2e; o++) r = r - e(r) / t(r);
|
|
28140
28140
|
return r;
|
|
28141
28141
|
}
|
|
28142
28142
|
function NT(e, t) {
|
|
28143
28143
|
return e * Math.sqrt(1 - t * t);
|
|
28144
28144
|
}
|
|
28145
|
-
var
|
|
28145
|
+
var O2e = ["duration", "bounce"], L2e = [
|
|
28146
28146
|
"stiffness",
|
|
28147
28147
|
"damping",
|
|
28148
28148
|
"mass"
|
|
@@ -28150,7 +28150,7 @@ var Oke = ["duration", "bounce"], Lke = [
|
|
|
28150
28150
|
function l5(e, t) {
|
|
28151
28151
|
return t.some((n) => e[n] !== void 0);
|
|
28152
28152
|
}
|
|
28153
|
-
function
|
|
28153
|
+
function _2e(e) {
|
|
28154
28154
|
let t = {
|
|
28155
28155
|
velocity: fn.velocity,
|
|
28156
28156
|
stiffness: fn.stiffness,
|
|
@@ -28159,7 +28159,7 @@ function _ke(e) {
|
|
|
28159
28159
|
isResolvedFromDuration: !1,
|
|
28160
28160
|
...e
|
|
28161
28161
|
};
|
|
28162
|
-
if (!l5(e,
|
|
28162
|
+
if (!l5(e, L2e) && l5(e, O2e)) if (e.visualDuration) {
|
|
28163
28163
|
const n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), o = r * r, i = 2 * Qi(0.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(o);
|
|
28164
28164
|
t = {
|
|
28165
28165
|
...t,
|
|
@@ -28168,7 +28168,7 @@ function _ke(e) {
|
|
|
28168
28168
|
damping: i
|
|
28169
28169
|
};
|
|
28170
28170
|
} else {
|
|
28171
|
-
const n =
|
|
28171
|
+
const n = P2e(e);
|
|
28172
28172
|
t = {
|
|
28173
28173
|
...t,
|
|
28174
28174
|
...n,
|
|
@@ -28187,7 +28187,7 @@ function xp(e = fn.visualDuration, t = fn.bounce) {
|
|
|
28187
28187
|
const i = n.keyframes[0], a = n.keyframes[n.keyframes.length - 1], s = {
|
|
28188
28188
|
done: !1,
|
|
28189
28189
|
value: i
|
|
28190
|
-
}, { stiffness: l, damping: c, mass: u, duration: d, velocity: f, isResolvedFromDuration: h } =
|
|
28190
|
+
}, { stiffness: l, damping: c, mass: u, duration: d, velocity: f, isResolvedFromDuration: h } = _2e({
|
|
28191
28191
|
...n,
|
|
28192
28192
|
velocity: -Lo(n.velocity || 0)
|
|
28193
28193
|
}), p = f || 0, g = c / (2 * Math.sqrt(l * u)), v = a - i, y = Lo(Math.sqrt(l / u)), b = Math.abs(v) < 5;
|
|
@@ -28222,7 +28222,7 @@ function xp(e = fn.visualDuration, t = fn.bounce) {
|
|
|
28222
28222
|
return s.value = s.done ? a : T, s;
|
|
28223
28223
|
},
|
|
28224
28224
|
toString: () => {
|
|
28225
|
-
const A = Math.min(
|
|
28225
|
+
const A = Math.min(X2(w), Q$), T = J$((P) => w.next(A * P).value, A, 30);
|
|
28226
28226
|
return A + "ms " + T;
|
|
28227
28227
|
},
|
|
28228
28228
|
toTransition: () => {
|
|
@@ -28265,7 +28265,7 @@ function FT({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
|
|
|
28265
28265
|
}
|
|
28266
28266
|
};
|
|
28267
28267
|
}
|
|
28268
|
-
function
|
|
28268
|
+
function D2e(e, t, n) {
|
|
28269
28269
|
const r = [], o = n || Xa.mix || X$, i = e.length - 1;
|
|
28270
28270
|
for (let a = 0; a < i; a++) {
|
|
28271
28271
|
let s = o(e[a], e[a + 1]);
|
|
@@ -28279,7 +28279,7 @@ function tz(e, t, { clamp: n = !0, ease: r, mixer: o } = {}) {
|
|
|
28279
28279
|
if (i === 2 && t[0] === t[1]) return () => t[1];
|
|
28280
28280
|
const a = e[0] === e[1];
|
|
28281
28281
|
e[0] > e[i - 1] && (e = [...e].reverse(), t = [...t].reverse());
|
|
28282
|
-
const s =
|
|
28282
|
+
const s = D2e(t, r, o), l = s.length, c = (u) => {
|
|
28283
28283
|
if (a && u < e[0]) return t[0];
|
|
28284
28284
|
let d = 0;
|
|
28285
28285
|
if (l > 1)
|
|
@@ -28300,28 +28300,28 @@ function rz(e) {
|
|
|
28300
28300
|
const t = [0];
|
|
28301
28301
|
return nz(t, e.length - 1), t;
|
|
28302
28302
|
}
|
|
28303
|
-
function
|
|
28303
|
+
function N2e(e, t) {
|
|
28304
28304
|
return e.map((n) => n * t);
|
|
28305
28305
|
}
|
|
28306
|
-
function
|
|
28306
|
+
function F2e(e, t) {
|
|
28307
28307
|
return e.map(() => t || F$).splice(0, e.length - 1);
|
|
28308
28308
|
}
|
|
28309
28309
|
function bh({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
|
|
28310
28310
|
const o = B$(r) ? r.map(t5) : t5(r), i = {
|
|
28311
28311
|
done: !1,
|
|
28312
28312
|
value: t[0]
|
|
28313
|
-
}, a = tz(
|
|
28313
|
+
}, a = tz(N2e(n && n.length === t.length ? n : rz(t), e), t, { ease: Array.isArray(o) ? o : F2e(t, o) });
|
|
28314
28314
|
return {
|
|
28315
28315
|
calculatedDuration: e,
|
|
28316
28316
|
next: (s) => (i.value = a(s), i.done = s >= e, i)
|
|
28317
28317
|
};
|
|
28318
28318
|
}
|
|
28319
|
-
var
|
|
28320
|
-
function
|
|
28321
|
-
const i = e.filter(
|
|
28319
|
+
var B2e = (e) => e !== null;
|
|
28320
|
+
function J2(e, { repeat: t, repeatType: n = "loop" }, r, o = 1) {
|
|
28321
|
+
const i = e.filter(B2e), a = o < 0 || t && n !== "loop" && t % 2 === 1 ? 0 : i.length - 1;
|
|
28322
28322
|
return !a || r === void 0 ? i[a] : r;
|
|
28323
28323
|
}
|
|
28324
|
-
var
|
|
28324
|
+
var V2e = {
|
|
28325
28325
|
decay: FT,
|
|
28326
28326
|
inertia: FT,
|
|
28327
28327
|
tween: bh,
|
|
@@ -28329,9 +28329,9 @@ var Vke = {
|
|
|
28329
28329
|
spring: xp
|
|
28330
28330
|
};
|
|
28331
28331
|
function oz(e) {
|
|
28332
|
-
typeof e.type == "string" && (e.type =
|
|
28332
|
+
typeof e.type == "string" && (e.type = V2e[e.type]);
|
|
28333
28333
|
}
|
|
28334
|
-
var
|
|
28334
|
+
var Q2 = class {
|
|
28335
28335
|
constructor() {
|
|
28336
28336
|
this.updateFinished();
|
|
28337
28337
|
}
|
|
@@ -28349,7 +28349,7 @@ var Qk = class {
|
|
|
28349
28349
|
then(e, t) {
|
|
28350
28350
|
return this.finished.then(e, t);
|
|
28351
28351
|
}
|
|
28352
|
-
},
|
|
28352
|
+
}, H2e = (e) => e / 100, Z2 = class extends Q2 {
|
|
28353
28353
|
constructor(e) {
|
|
28354
28354
|
super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.stop = () => {
|
|
28355
28355
|
const { motionValue: t } = this.options;
|
|
@@ -28362,7 +28362,7 @@ var Qk = class {
|
|
|
28362
28362
|
const { type: t = bh, repeat: n = 0, repeatDelay: r = 0, repeatType: o, velocity: i = 0 } = e;
|
|
28363
28363
|
let { keyframes: a } = e;
|
|
28364
28364
|
const s = t || bh;
|
|
28365
|
-
s !== bh && typeof a[0] != "number" && (this.mixKeyframes = wm(
|
|
28365
|
+
s !== bh && typeof a[0] != "number" && (this.mixKeyframes = wm(H2e, X$(a[0], a[1])), a = [0, 100]);
|
|
28366
28366
|
const l = s({
|
|
28367
28367
|
...e,
|
|
28368
28368
|
keyframes: a
|
|
@@ -28371,7 +28371,7 @@ var Qk = class {
|
|
|
28371
28371
|
...e,
|
|
28372
28372
|
keyframes: [...a].reverse(),
|
|
28373
28373
|
velocity: -i
|
|
28374
|
-
})), l.calculatedDuration === null && (l.calculatedDuration =
|
|
28374
|
+
})), l.calculatedDuration === null && (l.calculatedDuration = X2(l));
|
|
28375
28375
|
const { calculatedDuration: c } = l;
|
|
28376
28376
|
this.calculatedDuration = c, this.resolvedDuration = c + r, this.totalDuration = this.resolvedDuration * (n + 1) - r, this.generator = l;
|
|
28377
28377
|
}
|
|
@@ -28400,7 +28400,7 @@ var Qk = class {
|
|
|
28400
28400
|
let { done: A } = w;
|
|
28401
28401
|
!y && s !== null && (A = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);
|
|
28402
28402
|
const T = this.holdTime === null && (this.state === "finished" || this.state === "running" && A);
|
|
28403
|
-
return T && h !== FT && (w.value =
|
|
28403
|
+
return T && h !== FT && (w.value = J2(c, this.options, g, this.speed)), p && p(w.value), T && this.finish(), w;
|
|
28404
28404
|
}
|
|
28405
28405
|
then(e, t) {
|
|
28406
28406
|
return this.finished.then(e, t);
|
|
@@ -28428,7 +28428,7 @@ var Qk = class {
|
|
|
28428
28428
|
}
|
|
28429
28429
|
play() {
|
|
28430
28430
|
if (this.isStopped) return;
|
|
28431
|
-
const { driver: e =
|
|
28431
|
+
const { driver: e = E2e, startTime: t } = this.options;
|
|
28432
28432
|
this.driver || (this.driver = e((r) => this.tick(r))), this.options.onPlay?.();
|
|
28433
28433
|
const n = this.driver.now();
|
|
28434
28434
|
this.state === "finished" ? (this.updateFinished(), this.startTime = n) : this.holdTime !== null ? this.startTime = n - this.holdTime : this.startTime || (this.startTime = t ?? n), this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();
|
|
@@ -28458,13 +28458,13 @@ var Qk = class {
|
|
|
28458
28458
|
return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), e.observe(this);
|
|
28459
28459
|
}
|
|
28460
28460
|
};
|
|
28461
|
-
function $
|
|
28461
|
+
function $2e(e) {
|
|
28462
28462
|
for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);
|
|
28463
28463
|
}
|
|
28464
28464
|
var _l = (e) => e * 180 / Math.PI, BT = (e) => {
|
|
28465
28465
|
const t = _l(Math.atan2(e[1], e[0]));
|
|
28466
28466
|
return VT(t);
|
|
28467
|
-
},
|
|
28467
|
+
}, z2e = {
|
|
28468
28468
|
x: 4,
|
|
28469
28469
|
y: 5,
|
|
28470
28470
|
translateX: 4,
|
|
@@ -28477,7 +28477,7 @@ var _l = (e) => e * 180 / Math.PI, BT = (e) => {
|
|
|
28477
28477
|
skewX: (e) => _l(Math.atan(e[1])),
|
|
28478
28478
|
skewY: (e) => _l(Math.atan(e[2])),
|
|
28479
28479
|
skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2
|
|
28480
|
-
}, VT = (e) => (e = e % 360, e < 0 && (e += 360), e), c5 = BT, u5 = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), d5 = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]),
|
|
28480
|
+
}, VT = (e) => (e = e % 360, e < 0 && (e += 360), e), c5 = BT, u5 = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), d5 = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), W2e = {
|
|
28481
28481
|
x: 12,
|
|
28482
28482
|
y: 13,
|
|
28483
28483
|
z: 14,
|
|
@@ -28503,20 +28503,20 @@ function $T(e, t) {
|
|
|
28503
28503
|
const n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);
|
|
28504
28504
|
let r, o;
|
|
28505
28505
|
if (n)
|
|
28506
|
-
r =
|
|
28506
|
+
r = W2e, o = n;
|
|
28507
28507
|
else {
|
|
28508
28508
|
const s = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);
|
|
28509
|
-
r =
|
|
28509
|
+
r = z2e, o = s;
|
|
28510
28510
|
}
|
|
28511
28511
|
if (!o) return HT(t);
|
|
28512
|
-
const i = r[t], a = o[1].split(",").map(
|
|
28512
|
+
const i = r[t], a = o[1].split(",").map(U2e);
|
|
28513
28513
|
return typeof i == "function" ? i(a) : a[i];
|
|
28514
28514
|
}
|
|
28515
|
-
var
|
|
28515
|
+
var G2e = (e, t) => {
|
|
28516
28516
|
const { transform: n = "none" } = getComputedStyle(e);
|
|
28517
28517
|
return $T(n, t);
|
|
28518
28518
|
};
|
|
28519
|
-
function
|
|
28519
|
+
function U2e(e) {
|
|
28520
28520
|
return parseFloat(e.trim());
|
|
28521
28521
|
}
|
|
28522
28522
|
var zd = [
|
|
@@ -28537,14 +28537,14 @@ var zd = [
|
|
|
28537
28537
|
"skew",
|
|
28538
28538
|
"skewX",
|
|
28539
28539
|
"skewY"
|
|
28540
|
-
], Wd = new Set(zd), f5 = (e) => e === $d || e === Re,
|
|
28540
|
+
], Wd = new Set(zd), f5 = (e) => e === $d || e === Re, j2e = /* @__PURE__ */ new Set([
|
|
28541
28541
|
"x",
|
|
28542
28542
|
"y",
|
|
28543
28543
|
"z"
|
|
28544
|
-
]),
|
|
28545
|
-
function
|
|
28544
|
+
]), K2e = zd.filter((e) => !j2e.has(e));
|
|
28545
|
+
function Y2e(e) {
|
|
28546
28546
|
const t = [];
|
|
28547
|
-
return
|
|
28547
|
+
return K2e.forEach((n) => {
|
|
28548
28548
|
const r = e.getValue(n);
|
|
28549
28549
|
r !== void 0 && (t.push([n, r.get()]), r.set(n.startsWith("scale") ? 1 : 0));
|
|
28550
28550
|
}), t;
|
|
@@ -28566,7 +28566,7 @@ function iz() {
|
|
|
28566
28566
|
if (WT) {
|
|
28567
28567
|
const e = Array.from(Kl).filter((r) => r.needsMeasurement), t = new Set(e.map((r) => r.element)), n = /* @__PURE__ */ new Map();
|
|
28568
28568
|
t.forEach((r) => {
|
|
28569
|
-
const o =
|
|
28569
|
+
const o = Y2e(r);
|
|
28570
28570
|
o.length && (n.set(r, o), r.render());
|
|
28571
28571
|
}), e.forEach((r) => r.measureInitialState()), t.forEach((r) => {
|
|
28572
28572
|
r.render();
|
|
@@ -28585,7 +28585,7 @@ function az() {
|
|
|
28585
28585
|
e.readKeyframes(), e.needsMeasurement && (WT = !0);
|
|
28586
28586
|
});
|
|
28587
28587
|
}
|
|
28588
|
-
function
|
|
28588
|
+
function q2e() {
|
|
28589
28589
|
GT = !0, az(), iz(), GT = !1;
|
|
28590
28590
|
}
|
|
28591
28591
|
var eE = class {
|
|
@@ -28606,7 +28606,7 @@ var eE = class {
|
|
|
28606
28606
|
}
|
|
28607
28607
|
e[0] === void 0 && (e[0] = i), r && o === void 0 && r.set(e[0]);
|
|
28608
28608
|
}
|
|
28609
|
-
$
|
|
28609
|
+
$2e(e);
|
|
28610
28610
|
}
|
|
28611
28611
|
setFinalKeyframe() {
|
|
28612
28612
|
}
|
|
@@ -28625,16 +28625,16 @@ var eE = class {
|
|
|
28625
28625
|
resume() {
|
|
28626
28626
|
this.state === "pending" && this.scheduleResolve();
|
|
28627
28627
|
}
|
|
28628
|
-
},
|
|
28629
|
-
function
|
|
28630
|
-
|
|
28628
|
+
}, X2e = (e) => e.startsWith("--");
|
|
28629
|
+
function J2e(e, t, n) {
|
|
28630
|
+
X2e(t) ? e.style.setProperty(t, n) : e.style[t] = n;
|
|
28631
28631
|
}
|
|
28632
|
-
var
|
|
28632
|
+
var Q2e = {};
|
|
28633
28633
|
function sz(e, t) {
|
|
28634
28634
|
const n = /* @__PURE__ */ E$(e);
|
|
28635
|
-
return () =>
|
|
28635
|
+
return () => Q2e[t] ?? n();
|
|
28636
28636
|
}
|
|
28637
|
-
var
|
|
28637
|
+
var Z2e = /* @__PURE__ */ sz(() => window.ScrollTimeline !== void 0, "scrollTimeline"), lz = /* @__PURE__ */ sz(() => {
|
|
28638
28638
|
try {
|
|
28639
28639
|
document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
|
|
28640
28640
|
} catch {
|
|
@@ -28700,7 +28700,7 @@ function tE(e) {
|
|
|
28700
28700
|
function tEe({ type: e, ...t }) {
|
|
28701
28701
|
return tE(e) && lz() ? e.applyToOptions(t) : (t.duration ?? (t.duration = 300), t.ease ?? (t.ease = "easeOut"), t);
|
|
28702
28702
|
}
|
|
28703
|
-
var uz = class extends
|
|
28703
|
+
var uz = class extends Q2 {
|
|
28704
28704
|
constructor(e) {
|
|
28705
28705
|
if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;
|
|
28706
28706
|
const { element: t, name: n, keyframes: r, pseudoElement: o, allowFlatten: i = !1, finalKeyframe: a, onComplete: s } = e;
|
|
@@ -28708,8 +28708,8 @@ var uz = class extends Qk {
|
|
|
28708
28708
|
const l = tEe(e);
|
|
28709
28709
|
this.animation = eEe(t, n, r, l, o), l.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
|
|
28710
28710
|
if (this.finishedTime = this.time, !o) {
|
|
28711
|
-
const c =
|
|
28712
|
-
this.updateMotionValue ? this.updateMotionValue(c) :
|
|
28711
|
+
const c = J2(r, this.options, a, this.speed);
|
|
28712
|
+
this.updateMotionValue ? this.updateMotionValue(c) : J2e(t, n, c), this.animation.cancel();
|
|
28713
28713
|
}
|
|
28714
28714
|
s?.(), this.notifyFinished();
|
|
28715
28715
|
};
|
|
@@ -28769,7 +28769,7 @@ var uz = class extends Qk {
|
|
|
28769
28769
|
this.manualStartTime = this.animation.startTime = e;
|
|
28770
28770
|
}
|
|
28771
28771
|
attachTimeline({ timeline: e, observe: t }) {
|
|
28772
|
-
return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e &&
|
|
28772
|
+
return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Z2e() ? (this.animation.timeline = e, Do) : t(this);
|
|
28773
28773
|
}
|
|
28774
28774
|
}, dz = {
|
|
28775
28775
|
anticipate: _$,
|
|
@@ -28793,7 +28793,7 @@ var sS = 10, oEe = class extends uz {
|
|
|
28793
28793
|
t.set(e);
|
|
28794
28794
|
return;
|
|
28795
28795
|
}
|
|
28796
|
-
const a = new
|
|
28796
|
+
const a = new Z2({
|
|
28797
28797
|
...i,
|
|
28798
28798
|
autoplay: !1
|
|
28799
28799
|
}), s = Math.max(sS, Rr.now() - this.startTime), l = Qi(0, sS, s - sS);
|
|
@@ -28827,7 +28827,7 @@ function cEe(e) {
|
|
|
28827
28827
|
const { onUpdate: s, transformTemplate: l } = t.owner.getProps();
|
|
28828
28828
|
return lEe() && n && sEe.has(n) && (n !== "transform" || !l) && !s && !r && o !== "mirror" && i !== 0 && a !== "inertia";
|
|
28829
28829
|
}
|
|
28830
|
-
var uEe = 40, dEe = class extends
|
|
28830
|
+
var uEe = 40, dEe = class extends Q2 {
|
|
28831
28831
|
constructor({ autoplay: e = !0, delay: t = 0, type: n = "keyframes", repeat: r = 0, repeatDelay: o = 0, repeatType: i = "loop", keyframes: a, name: s, motionValue: l, element: c, ...u }) {
|
|
28832
28832
|
super(), this.stop = () => {
|
|
28833
28833
|
this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
|
|
@@ -28849,7 +28849,7 @@ var uEe = 40, dEe = class extends Qk {
|
|
|
28849
28849
|
onKeyframesResolved(e, t, n, r) {
|
|
28850
28850
|
this.keyframeResolver = void 0;
|
|
28851
28851
|
const { name: o, type: i, velocity: a, delay: s, isHandoff: l, onUpdate: c } = n;
|
|
28852
|
-
this.resolvedAt = Rr.now(), aEe(e, o, i, a) || ((Xa.instantAnimations || !s) && c?.(
|
|
28852
|
+
this.resolvedAt = Rr.now(), aEe(e, o, i, a) || ((Xa.instantAnimations || !s) && c?.(J2(e, n, t)), e[0] = e[e.length - 1], UT(n), n.repeat = 0);
|
|
28853
28853
|
const u = {
|
|
28854
28854
|
startTime: r ? this.resolvedAt ? this.resolvedAt - this.createdAt > uEe ? this.resolvedAt : this.createdAt : this.createdAt : void 0,
|
|
28855
28855
|
finalKeyframe: t,
|
|
@@ -28858,7 +28858,7 @@ var uEe = 40, dEe = class extends Qk {
|
|
|
28858
28858
|
}, d = !l && cEe(u), f = u.motionValue?.owner?.current, h = d ? new oEe({
|
|
28859
28859
|
...u,
|
|
28860
28860
|
element: f
|
|
28861
|
-
}) : new
|
|
28861
|
+
}) : new Z2(u);
|
|
28862
28862
|
h.finished.then(() => {
|
|
28863
28863
|
this.notifyFinished();
|
|
28864
28864
|
}).catch(Do), this.pendingTimeline && (this.stopTimeline = h.attachTimeline(this.pendingTimeline), this.pendingTimeline = void 0), this._animation = h;
|
|
@@ -28871,7 +28871,7 @@ var uEe = 40, dEe = class extends Qk {
|
|
|
28871
28871
|
});
|
|
28872
28872
|
}
|
|
28873
28873
|
get animation() {
|
|
28874
|
-
return this._animation || (this.keyframeResolver?.resume(),
|
|
28874
|
+
return this._animation || (this.keyframeResolver?.resume(), q2e()), this._animation;
|
|
28875
28875
|
}
|
|
28876
28876
|
get duration() {
|
|
28877
28877
|
return this.animation.duration;
|
|
@@ -29008,7 +29008,7 @@ function hz(e, t, n = 1) {
|
|
|
29008
29008
|
const a = i.trim();
|
|
29009
29009
|
return A$(a) ? parseFloat(a) : a;
|
|
29010
29010
|
}
|
|
29011
|
-
return
|
|
29011
|
+
return j2(o) ? hz(o, t, n + 1) : o;
|
|
29012
29012
|
}
|
|
29013
29013
|
var vEe = {
|
|
29014
29014
|
type: "spring",
|
|
@@ -29085,7 +29085,7 @@ var rE = (e, t, n, r = {}, o, i) => (a) => {
|
|
|
29085
29085
|
return;
|
|
29086
29086
|
}
|
|
29087
29087
|
}
|
|
29088
|
-
return s.isSync ? new
|
|
29088
|
+
return s.isSync ? new Z2(u) : new dEe(u);
|
|
29089
29089
|
};
|
|
29090
29090
|
function g5(e) {
|
|
29091
29091
|
const t = [{}, {}];
|
|
@@ -29134,7 +29134,7 @@ var mz = /* @__PURE__ */ new Set([
|
|
|
29134
29134
|
return this.on("change", e);
|
|
29135
29135
|
}
|
|
29136
29136
|
on(e, t) {
|
|
29137
|
-
this.events[e] || (this.events[e] = new
|
|
29137
|
+
this.events[e] || (this.events[e] = new W2());
|
|
29138
29138
|
const n = this.events[e].add(t);
|
|
29139
29139
|
return e === "change" ? () => {
|
|
29140
29140
|
n(), Kt.read(() => {
|
|
@@ -29321,8 +29321,8 @@ var DEe = {
|
|
|
29321
29321
|
Re,
|
|
29322
29322
|
Wi,
|
|
29323
29323
|
fs,
|
|
29324
|
-
|
|
29325
|
-
|
|
29324
|
+
d2e,
|
|
29325
|
+
u2e,
|
|
29326
29326
|
DEe
|
|
29327
29327
|
], y5 = (e) => bz.find(yz(e));
|
|
29328
29328
|
function NEe(e) {
|
|
@@ -29337,7 +29337,7 @@ var FEe = /* @__PURE__ */ new Set([
|
|
|
29337
29337
|
function BEe(e) {
|
|
29338
29338
|
const [t, n] = e.slice(0, -1).split("(");
|
|
29339
29339
|
if (t === "drop-shadow") return e;
|
|
29340
|
-
const [r] = n.match(
|
|
29340
|
+
const [r] = n.match(K2) || [];
|
|
29341
29341
|
if (!r) return e;
|
|
29342
29342
|
const o = n.replace(r, "");
|
|
29343
29343
|
let i = FEe.has(t) ? 1 : 0;
|
|
@@ -29486,7 +29486,7 @@ var UEe = class extends eE {
|
|
|
29486
29486
|
super.readKeyframes();
|
|
29487
29487
|
for (let s = 0; s < e.length; s++) {
|
|
29488
29488
|
let l = e[s];
|
|
29489
|
-
if (typeof l == "string" && (l = l.trim(),
|
|
29489
|
+
if (typeof l == "string" && (l = l.trim(), j2(l))) {
|
|
29490
29490
|
const c = hz(l, t.current);
|
|
29491
29491
|
c !== void 0 && (e[s] = c), s === e.length - 1 && (this.finalKeyframe = l);
|
|
29492
29492
|
}
|
|
@@ -29970,7 +29970,7 @@ var Iz = class {
|
|
|
29970
29970
|
return r !== void 0 && !jn(r) ? r : this.initialValues[e] !== void 0 && n === void 0 ? void 0 : this.baseTarget[e];
|
|
29971
29971
|
}
|
|
29972
29972
|
on(e, t) {
|
|
29973
|
-
return this.events[e] || (this.events[e] = new
|
|
29973
|
+
return this.events[e] || (this.events[e] = new W2()), this.events[e].add(t);
|
|
29974
29974
|
}
|
|
29975
29975
|
notify(e, ...t) {
|
|
29976
29976
|
this.events[e] && this.events[e].notify(...t);
|
|
@@ -30206,7 +30206,7 @@ var Vz = class extends Oz {
|
|
|
30206
30206
|
super(...arguments), this.type = "html", this.renderInstance = Fz;
|
|
30207
30207
|
}
|
|
30208
30208
|
readValueFromInstance(e, t) {
|
|
30209
|
-
if (Wd.has(t)) return this.projection?.isProjecting ? HT(t) :
|
|
30209
|
+
if (Wd.has(t)) return this.projection?.isProjecting ? HT(t) : G2e(e, t);
|
|
30210
30210
|
{
|
|
30211
30211
|
const n = CMe(e), r = (W$(t) ? n.getPropertyValue(t) : n[t]) || 0;
|
|
30212
30212
|
return typeof r == "string" ? r.trim() : r;
|
|
@@ -30621,7 +30621,7 @@ var ePe = (e, t) => e.depth - t.depth, tPe = class {
|
|
|
30621
30621
|
this.children = [], this.isDirty = !1;
|
|
30622
30622
|
}
|
|
30623
30623
|
add(e) {
|
|
30624
|
-
|
|
30624
|
+
z2(this.children, e), this.isDirty = !0;
|
|
30625
30625
|
}
|
|
30626
30626
|
remove(e) {
|
|
30627
30627
|
hd(this.children, e), this.isDirty = !0;
|
|
@@ -30645,7 +30645,7 @@ var rPe = class {
|
|
|
30645
30645
|
this.members = [];
|
|
30646
30646
|
}
|
|
30647
30647
|
add(e) {
|
|
30648
|
-
|
|
30648
|
+
z2(this.members, e);
|
|
30649
30649
|
for (let t = this.members.length - 1; t >= 0; t--) {
|
|
30650
30650
|
const n = this.members[t];
|
|
30651
30651
|
if (n === e || n === this.lead || n === this.prevLead) continue;
|
|
@@ -30744,7 +30744,7 @@ function Zz({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
30744
30744
|
this.root === this && (this.nodes = new tPe());
|
|
30745
30745
|
}
|
|
30746
30746
|
addEventListener(a, s) {
|
|
30747
|
-
return this.eventHandlers.has(a) || this.eventHandlers.set(a, new
|
|
30747
|
+
return this.eventHandlers.has(a) || this.eventHandlers.set(a, new W2()), this.eventHandlers.get(a).add(s);
|
|
30748
30748
|
}
|
|
30749
30749
|
notifyListeners(a, ...s) {
|
|
30750
30750
|
const l = this.eventHandlers.get(a);
|
|
@@ -31289,7 +31289,7 @@ var SPe = Zz({
|
|
|
31289
31289
|
reducedMotion: "never"
|
|
31290
31290
|
});
|
|
31291
31291
|
function wPe(e = !0) {
|
|
31292
|
-
const t = je($
|
|
31292
|
+
const t = je($2);
|
|
31293
31293
|
if (t === null) return [!0, null];
|
|
31294
31294
|
const { isPresent: n, onExitComplete: r, register: o } = t, i = Yt();
|
|
31295
31295
|
we(() => {
|
|
@@ -31570,7 +31570,7 @@ function HPe(e, t, n, r) {
|
|
|
31570
31570
|
return o;
|
|
31571
31571
|
}
|
|
31572
31572
|
var sW = (e) => (t, n) => {
|
|
31573
|
-
const r = je(t1), o = je($
|
|
31573
|
+
const r = je(t1), o = je($2), i = () => VPe(e, t, r, o);
|
|
31574
31574
|
return n ? i() : vp(i);
|
|
31575
31575
|
}, $Pe = /* @__PURE__ */ sW({
|
|
31576
31576
|
scrapeMotionValuesFromProps: mE,
|
|
@@ -31600,7 +31600,7 @@ function yu(e) {
|
|
|
31600
31600
|
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
|
|
31601
31601
|
}
|
|
31602
31602
|
function UPe(e, t, n, r, o, i) {
|
|
31603
|
-
const { visualElement: a } = je(t1), s = je(nW), l = je($
|
|
31603
|
+
const { visualElement: a } = je(t1), s = je(nW), l = je($2), c = je(gE), u = c.reducedMotion, d = c.skipAnimations, f = Oe(null), h = Oe(!1);
|
|
31604
31604
|
r = r || s.renderer, !f.current && r && (f.current = r(e, {
|
|
31605
31605
|
visualState: t,
|
|
31606
31606
|
parent: a,
|
|
@@ -37336,7 +37336,7 @@ var Kd = (e) => e === "none" ? "none" : `${e.offsetX}px ${e.offsetY}px ${e.blur}
|
|
|
37336
37336
|
}, KLe = 2, YLe = 0.7, Zs = ({ hit: e, project: t = hc }) => {
|
|
37337
37337
|
const n = eG(e.layerId), r = tG(e) ?? "#B84737";
|
|
37338
37338
|
if (!e.anchored) return null;
|
|
37339
|
-
const o = (
|
|
37339
|
+
const o = (Ak(e.observation) ?? 1) * YLe, i = n?.get("size", e.observation) ?? 8, a = n?.get("stroke", e.observation, "hovered") ?? "#ffffff", s = t(e.x, e.y);
|
|
37340
37340
|
return /* @__PURE__ */ m(u1, {
|
|
37341
37341
|
symbol: n?.get("symbol", e.observation) ?? "circle",
|
|
37342
37342
|
cx: De(s.x),
|
|
@@ -37413,7 +37413,7 @@ var K_ = 10 ** 2, nr = (e) => Math.round(e * K_) / K_, qLe = (e) => e.map(({ x:
|
|
|
37413
37413
|
size: n
|
|
37414
37414
|
}));
|
|
37415
37415
|
}, rG = (e, t, { origin: n, scaleX: r, scaleY: o }) => `${nr(n.x + e * r)},${nr(n.y + t * o)}`, QLe = ({ layer: e, coordSystem: t, panelRect: n, shouldAnimateTransitions: r }) => {
|
|
37416
|
-
const { areaGenerator: o } =
|
|
37416
|
+
const { areaGenerator: o } = g2(t, e.params), i = {
|
|
37417
37417
|
origin: {
|
|
37418
37418
|
x: 0,
|
|
37419
37419
|
y: 0
|
|
@@ -37424,7 +37424,7 @@ var K_ = 10 ** 2, nr = (e) => Math.round(e * K_) / K_, qLe = (e) => e.map(({ x:
|
|
|
37424
37424
|
let a = "";
|
|
37425
37425
|
const s = [];
|
|
37426
37426
|
e.data.groupBy(St.group).forEach((c) => {
|
|
37427
|
-
const u =
|
|
37427
|
+
const u = v2([...c], e.params.missingValues), [d] = u;
|
|
37428
37428
|
if (d !== void 0) {
|
|
37429
37429
|
if (u.length === 1) {
|
|
37430
37430
|
const f = ZLe(d, t, n);
|
|
@@ -37887,10 +37887,10 @@ var Rp = (e, t, n) => {
|
|
|
37887
37887
|
style: e,
|
|
37888
37888
|
children: /* @__PURE__ */ m("svg", { ...t })
|
|
37889
37889
|
}), x5e = vo(function({ layer: t, coordSystem: n, shouldAnimateTransitions: r, intro: o }) {
|
|
37890
|
-
const i = o?.type === "wipe" ? o : null, { lineGenerator: a, areaGenerator: s } = Z(() =>
|
|
37890
|
+
const i = o?.type === "wipe" ? o : null, { lineGenerator: a, areaGenerator: s } = Z(() => g2(n, t.params), [t.params, n]), l = Jt(t), c = Z(() => {
|
|
37891
37891
|
const u = yo(t.data, t.mapping, t.id), d = [];
|
|
37892
37892
|
return t.data.groupBy(St.group).forEach((f) => {
|
|
37893
|
-
const h =
|
|
37893
|
+
const h = v2([...f], t.params.missingValues), p = s(h), g = a(h);
|
|
37894
37894
|
if (!p || !g) return;
|
|
37895
37895
|
const v = h[0];
|
|
37896
37896
|
if (!v) return;
|
|
@@ -37958,7 +37958,7 @@ var Rp = (e, t, n) => {
|
|
|
37958
37958
|
}), cG = 1, w5e = 0.4, T5e = 0.2, A5e = 1, C5e = 0.5, k5e = 2.25, qd = ({ hit: e, project: t = hc, ...n }) => {
|
|
37959
37959
|
const r = eG(e.layerId), o = tG(e) ?? "#B84737";
|
|
37960
37960
|
if (!e.anchored) return null;
|
|
37961
|
-
const i =
|
|
37961
|
+
const i = Ak(e.observation) ?? 1, a = r?.get("stroke", e.observation, "hovered") ?? "#ffffff", s = r?.get("symbol", e.observation) ?? "circle", l = t(e.x, e.y), c = De(l.x), u = De(l.y), d = E5e(e.observation, r), { ringRadius: f, ringWidth: h } = M5e(d, _xe(s, d * 2)), p = r ? wr(Sr(r, e.observation, "hovered")) : void 0;
|
|
37962
37962
|
return /* @__PURE__ */ B("g", {
|
|
37963
37963
|
...n,
|
|
37964
37964
|
style: p,
|
|
@@ -37981,7 +37981,7 @@ var Rp = (e, t, n) => {
|
|
|
37981
37981
|
})]
|
|
37982
37982
|
});
|
|
37983
37983
|
}, E5e = (e, t) => {
|
|
37984
|
-
const n = t?.get("size", e), r =
|
|
37984
|
+
const n = t?.get("size", e), r = Ck(e) ?? null;
|
|
37985
37985
|
return r !== null ? (n ?? r) / k5e : (n ?? 12) / 2;
|
|
37986
37986
|
}, M5e = (e, t) => {
|
|
37987
37987
|
const n = Math.max(A5e, e * w5e), r = Math.max(C5e, e * T5e);
|
|
@@ -37990,12 +37990,12 @@ var Rp = (e, t, n) => {
|
|
|
37990
37990
|
ringWidth: n
|
|
37991
37991
|
};
|
|
37992
37992
|
}, P5e = ({ layer: e, coordSystem: t, primary: n, companions: r }) => {
|
|
37993
|
-
const o = Jt(e), i = sr(n.observation), a = Z(() =>
|
|
37993
|
+
const o = Jt(e), i = sr(n.observation), a = Z(() => v2([...e.data.filter(St.group, "eq", i)], e.params.missingValues), [
|
|
37994
37994
|
e.data,
|
|
37995
37995
|
e.params.missingValues,
|
|
37996
37996
|
i
|
|
37997
37997
|
]), { areaPath: s, linePath: l } = Z(() => {
|
|
37998
|
-
const { lineGenerator: b, areaGenerator: S } =
|
|
37998
|
+
const { lineGenerator: b, areaGenerator: S } = g2(t, e.params);
|
|
37999
37999
|
return {
|
|
38000
38000
|
areaPath: S(a) ?? "",
|
|
38001
38001
|
linePath: b(a) ?? ""
|
|
@@ -38848,7 +38848,7 @@ var CS = 3, n_e = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
|
|
|
38848
38848
|
renderHoverCompanions: () => null,
|
|
38849
38849
|
getEditOutlineShapes: j5e
|
|
38850
38850
|
}, o_e = ({ layer: e, panelRect: t, styleReaders: n, shouldAnimateTransitions: r }) => {
|
|
38851
|
-
const o =
|
|
38851
|
+
const o = y2(e.params), i = {
|
|
38852
38852
|
origin: {
|
|
38853
38853
|
x: 0,
|
|
38854
38854
|
y: 0
|
|
@@ -38857,7 +38857,7 @@ var CS = 3, n_e = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
|
|
|
38857
38857
|
scaleY: t.height
|
|
38858
38858
|
}, a = [], s = [];
|
|
38859
38859
|
return e.data.groupBy(St.group).forEach((l) => {
|
|
38860
|
-
const c =
|
|
38860
|
+
const c = b2([...l], e.params.missingValues), [u] = c;
|
|
38861
38861
|
if (u === void 0) return;
|
|
38862
38862
|
if (c.length === 1) {
|
|
38863
38863
|
const f = i_e(u, t);
|
|
@@ -38881,10 +38881,10 @@ var CS = 3, n_e = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
|
|
|
38881
38881
|
const n = Ct(e), r = xt(e);
|
|
38882
38882
|
return n === null || r === null ? null : Hy(hc(n, r), t);
|
|
38883
38883
|
}, a_e = vo(function({ layer: t, shouldAnimateTransitions: n, intro: r }) {
|
|
38884
|
-
const o = r?.type === "wipe" ? r : null, i = Z(() =>
|
|
38884
|
+
const o = r?.type === "wipe" ? r : null, i = Z(() => y2(t.params), [t.params]), a = Z(() => Ixe(t.params), [t.params]), s = Jt(t), l = Z(() => {
|
|
38885
38885
|
const c = yo(t.data, t.mapping, t.id), u = [];
|
|
38886
38886
|
return t.data.groupBy(St.group).forEach((d) => {
|
|
38887
|
-
const f =
|
|
38887
|
+
const f = b2([...d], t.params.missingValues), h = i(f);
|
|
38888
38888
|
if (!h) return;
|
|
38889
38889
|
const p = f[0];
|
|
38890
38890
|
if (!p) return;
|
|
@@ -39022,11 +39022,11 @@ var CS = 3, n_e = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
|
|
|
39022
39022
|
vectorEffect: "non-scaling-stroke"
|
|
39023
39023
|
});
|
|
39024
39024
|
}, u_e = ({ layer: e, primary: t, companions: n }) => {
|
|
39025
|
-
const r = Jt(e), o = sr(t.observation), i = Z(() =>
|
|
39025
|
+
const r = Jt(e), o = sr(t.observation), i = Z(() => b2([...e.data.filter(St.group, "eq", o)], e.params.missingValues), [
|
|
39026
39026
|
e.data,
|
|
39027
39027
|
e.params.missingValues,
|
|
39028
39028
|
o
|
|
39029
|
-
]), a = Z(() =>
|
|
39029
|
+
]), a = Z(() => y2(e.params)(i), [e.params, i]);
|
|
39030
39030
|
if (!a) return null;
|
|
39031
39031
|
const s = r.get("stroke", t.observation, "hovered"), l = r.get("alpha", t.observation, "hovered"), c = r.get("strokeAlpha", t.observation, "hovered"), u = r.get("strokeWidth", t.observation, "hovered"), d = Wo(r.get("dashArray", t.observation, "hovered"), u), f = r.get("lineCap", t.observation, "hovered"), h = r.get("lineJoin", t.observation, "hovered");
|
|
39032
39032
|
return /* @__PURE__ */ B("g", {
|
|
@@ -39662,7 +39662,7 @@ var CS = 3, n_e = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
|
|
|
39662
39662
|
return typeof document < "u" && "fonts" in document && await document.fonts.ready, new LG();
|
|
39663
39663
|
}
|
|
39664
39664
|
measureText(t, n) {
|
|
39665
|
-
const r = Hd(t, n.textTransform), o =
|
|
39665
|
+
const r = Hd(t, n.textTransform), o = Hke(n);
|
|
39666
39666
|
this.setFont(o);
|
|
39667
39667
|
const { width: i, fontBoundingBoxAscent: a, fontBoundingBoxDescent: s } = this.ctx.measureText(r);
|
|
39668
39668
|
let l = i + x$(r, n.letterSpacing);
|
|
@@ -39733,7 +39733,7 @@ var CS = 3, n_e = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
|
|
|
39733
39733
|
try {
|
|
39734
39734
|
return new ZL(new L_e());
|
|
39735
39735
|
} catch {
|
|
39736
|
-
return new ZL(new
|
|
39736
|
+
return new ZL(new jke());
|
|
39737
39737
|
}
|
|
39738
39738
|
}, V_e = 11.7, H_e = 0.75, iD = 21.6, $_e = "0 0 10 18", z_e = "M2.48935 16.9323L9.07098 9.82964C9.51595 9.34944 9.51504 8.60728 9.0689 8.12818L2.48866 1.06172C1.85811 0.384586 0.974477 0 0.049217 0H0V18H0.0443689C0.972463 18 1.85854 17.6131 2.48935 16.9323Z", W_e = "cartesian-rule_group__1d0mbae0", G_e = (e, t) => e.mapping.y !== void 0 != (t.mainAxis === "y"), U_e = (e, t) => {
|
|
39739
39739
|
const n = De(e ? 1 - t : t);
|
|
@@ -40177,7 +40177,7 @@ var vDe = pee((() => {
|
|
|
40177
40177
|
c,
|
|
40178
40178
|
r,
|
|
40179
40179
|
t
|
|
40180
|
-
]), { fonts: y } = Hc(), b = Ke(), S = ht(j0e, b.geom.rule.label(t), b.graph()), w = Z(() => eo(S, y.familyDefault), [S, y.familyDefault]), A = Z(() => v === null ? null :
|
|
40180
|
+
]), { fonts: y } = Hc(), b = Ke(), S = ht(j0e, b.geom.rule.label(t), b.graph()), w = Z(() => eo(S, y.familyDefault), [S, y.familyDefault]), A = Z(() => v === null ? null : Gk(v, q_e(i, h !== null), (M) => a.measureText(M, w).width), [
|
|
40181
40181
|
v,
|
|
40182
40182
|
i,
|
|
40183
40183
|
h,
|
|
@@ -40560,7 +40560,7 @@ var vDe = pee((() => {
|
|
|
40560
40560
|
};
|
|
40561
40561
|
}
|
|
40562
40562
|
}, FE = (e) => {
|
|
40563
|
-
const { startAngle: t, endAngle: n } =
|
|
40563
|
+
const { startAngle: t, endAngle: n } = Tk(e), { innerRadius: r, outerRadius: o } = wb(e);
|
|
40564
40564
|
return t === null || n === null || r === null || o === null ? null : {
|
|
40565
40565
|
startAngle: t,
|
|
40566
40566
|
endAngle: n,
|
|
@@ -41737,7 +41737,7 @@ var Gy = {
|
|
|
41737
41737
|
children: e.value
|
|
41738
41738
|
})
|
|
41739
41739
|
]
|
|
41740
|
-
}), uU = wt(null), Y3e = uU.Provider, q3e = null, ef = () => je(uU) ?? (q3e ??=
|
|
41740
|
+
}), uU = wt(null), Y3e = uU.Provider, q3e = null, ef = () => je(uU) ?? (q3e ??= n2()), dU = (e) => ({
|
|
41741
41741
|
x: e.axisLabel.x().resolve(),
|
|
41742
41742
|
y: e.axisLabel.y().resolve()
|
|
41743
41743
|
}), fU = (e) => ({
|
|
@@ -41922,7 +41922,7 @@ var Gy = {
|
|
|
41922
41922
|
r
|
|
41923
41923
|
]);
|
|
41924
41924
|
}, hNe = ({ measurer: e, axes: t, numberFormat: n, parsingLocale: r, formattedLegends: o, containerSize: i, externalMeasurements: a, headline: s, formattingLocale: l, annotations: c, layers: u, coordSystem: d, overflowStrategy: f, panelBorder: h, padding: p, margins: g }) => {
|
|
41925
|
-
const v = Ke(), y = ef(), b = Z(() => (S) =>
|
|
41925
|
+
const v = Ke(), y = ef(), b = Z(() => (S) => E2(v, S), [v]);
|
|
41926
41926
|
return Z(() => e ? new bbe(e).compile({
|
|
41927
41927
|
axes: t,
|
|
41928
41928
|
numberFormat: n,
|
|
@@ -42152,7 +42152,7 @@ var CU = wt(null), FNe = ({ panelRect: e, children: t }) => {
|
|
|
42152
42152
|
f,
|
|
42153
42153
|
u
|
|
42154
42154
|
]), p = Z(() => VNe(n, r.familyDefault), [n, r.familyDefault]), g = Z(() => s.map((v) => {
|
|
42155
|
-
const y =
|
|
42155
|
+
const y = E2(a, v.id), b = TD(v, y, h, p);
|
|
42156
42156
|
return {
|
|
42157
42157
|
...b,
|
|
42158
42158
|
arrow: v,
|
|
@@ -43535,7 +43535,7 @@ var T4e = ({ edge: e, indexedLegends: t, containerWidth: n, containerHeight: r }
|
|
|
43535
43535
|
}
|
|
43536
43536
|
}, Q4e = ({ panelRect: e, isEditable: t }) => {
|
|
43537
43537
|
const { arrows: n } = qo(e), r = T1(), o = Ke(), i = Z(() => n.filter((a) => a.id !== r).flatMap((a) => {
|
|
43538
|
-
const s = Kb(o, a.id), l =
|
|
43538
|
+
const s = Kb(o, a.id), l = o2({
|
|
43539
43539
|
arrow: a,
|
|
43540
43540
|
style: s,
|
|
43541
43541
|
panelWidth: e.width,
|
|
@@ -43877,7 +43877,7 @@ function b8e(e) {
|
|
|
43877
43877
|
a
|
|
43878
43878
|
]);
|
|
43879
43879
|
}
|
|
43880
|
-
var x8e = (e, t, n, r) => t !== "comment" ? n :
|
|
43880
|
+
var x8e = (e, t, n, r) => t !== "comment" ? n : Gk(n, 140, (o) => e.measureText(o, r).width), ID = "callouts", S8e = ({ panelRect: e }) => {
|
|
43881
43881
|
const { pinnedNumbers: t, comments: n } = Te(Ln((p) => ({
|
|
43882
43882
|
pinnedNumbers: p.annotations.pinnedNumbers,
|
|
43883
43883
|
comments: p.annotations.comments
|
|
@@ -44489,13 +44489,15 @@ var I8e = "data-labels_overlay__15wb5l30", O8e = "data-labels_background__15wb5l
|
|
|
44489
44489
|
style: { overflow: "visible" },
|
|
44490
44490
|
children: e.map((u) => {
|
|
44491
44491
|
if (u.geometry !== "linear" || !u.gridVisible) return null;
|
|
44492
|
-
const d =
|
|
44492
|
+
const d = rn(u.scaleAestheticKey) === "x" ? a : s;
|
|
44493
|
+
if (d.strokeWidth <= 0) return null;
|
|
44494
|
+
const f = u.position === "bottom" || u.position === "top", h = Wo(d.dashArray, d.strokeWidth);
|
|
44493
44495
|
return /* @__PURE__ */ m("g", { children: u.ticks.map((p, g) => {
|
|
44494
|
-
const v = r7e(
|
|
44496
|
+
const v = r7e(f, p.position);
|
|
44495
44497
|
if (v !== null && t[v] > 0) return null;
|
|
44496
|
-
const y =
|
|
44498
|
+
const y = f ? p.position : 1 - p.position;
|
|
44497
44499
|
let b;
|
|
44498
|
-
if (
|
|
44500
|
+
if (f) {
|
|
44499
44501
|
const w = y * r.width + l;
|
|
44500
44502
|
b = {
|
|
44501
44503
|
x1: w,
|
|
@@ -44516,8 +44518,8 @@ var I8e = "data-labels_overlay__15wb5l30", O8e = "data-labels_background__15wb5l
|
|
|
44516
44518
|
...b,
|
|
44517
44519
|
...sj,
|
|
44518
44520
|
strokeDasharray: h,
|
|
44519
|
-
strokeWidth:
|
|
44520
|
-
stroke:
|
|
44521
|
+
strokeWidth: d.strokeWidth,
|
|
44522
|
+
stroke: d.stroke
|
|
44521
44523
|
});
|
|
44522
44524
|
return i ? /* @__PURE__ */ B("g", {
|
|
44523
44525
|
...$U(u.scaleAestheticKey),
|
|
@@ -44711,6 +44713,7 @@ var lj = (e, t) => {
|
|
|
44711
44713
|
]
|
|
44712
44714
|
});
|
|
44713
44715
|
}, PS = ({ axis: e, lineStyle: t, isHitTestable: n, draw: r }) => {
|
|
44716
|
+
if (t.strokeWidth <= 0) return null;
|
|
44714
44717
|
const o = r({
|
|
44715
44718
|
stroke: t.stroke,
|
|
44716
44719
|
strokeWidth: t.strokeWidth
|
|
@@ -44955,7 +44958,7 @@ var w7e = 4, T7e = ({ renderer: e, layer: t, matchedLayer: n, overlayCandidates:
|
|
|
44955
44958
|
t,
|
|
44956
44959
|
o,
|
|
44957
44960
|
r
|
|
44958
|
-
]), { colorScheme: u } = qe(), d = Jt(t), f = Ke(), h = Z(() => Zp(t), [t]), p = Z(() =>
|
|
44961
|
+
]), { colorScheme: u } = qe(), d = Jt(t), f = Ke(), h = Z(() => Zp(t), [t]), p = Z(() => t2({
|
|
44959
44962
|
layer: t,
|
|
44960
44963
|
numberFormat: l,
|
|
44961
44964
|
locale: s
|
|
@@ -68103,7 +68106,7 @@ var cYe, uYe = typeof window < "u" ? Bo : we, dYe = function() {
|
|
|
68103
68106
|
process: n6,
|
|
68104
68107
|
validate: i
|
|
68105
68108
|
}));
|
|
68106
|
-
}, bYe = "data-graphy-chart-chrome", xYe = "data-graphy-chart-menu", wP = { [xYe]: "" }, rx = (e) => ({ [bYe]: e }), Kv = (e, t) => e instanceof Element && e.closest(`[data-graphy-chart-chrome="${CSS.escape(t)}"]`) !== null, bJ = (e) => e instanceof Element && e.closest("[data-graphy-chart-menu]") !== null, yC = (e) => e instanceof Element && e.closest("[data-graphy-chart-chrome]") !== null, xJ = (e, t, n) => n !== null &&
|
|
68109
|
+
}, bYe = "data-graphy-chart-chrome", xYe = "data-graphy-chart-menu", wP = { [xYe]: "" }, rx = (e) => ({ [bYe]: e }), Kv = (e, t) => e instanceof Element && e.closest(`[data-graphy-chart-chrome="${CSS.escape(t)}"]`) !== null, bJ = (e) => e instanceof Element && e.closest("[data-graphy-chart-menu]") !== null, yC = (e) => e instanceof Element && e.closest("[data-graphy-chart-chrome]") !== null, xJ = (e, t, n) => n !== null && s2({
|
|
68107
68110
|
x: e.clientX - t.x,
|
|
68108
68111
|
y: e.clientY - t.y
|
|
68109
68112
|
}, n), Gh = (e, t, n) => e instanceof Node && (t.contains(e) || Kv(e, n)), SYe = "chart-chrome-portal_chromeRoot__kb5ue50", SJ = wt(null), wYe = ({ children: e }) => {
|
|
@@ -74002,7 +74005,7 @@ var YQ = (e, t, n) => e.filter((r) => r.interactive).map((r) => ({
|
|
|
74002
74005
|
const o = wo(), { Switch: i } = Nt();
|
|
74003
74006
|
if (t.length === 0) return null;
|
|
74004
74007
|
const a = (s) => {
|
|
74005
|
-
o.dispatch(new
|
|
74008
|
+
o.dispatch(new H2({ commands: t.map((l) => r(l.id, s)) }));
|
|
74006
74009
|
};
|
|
74007
74010
|
return /* @__PURE__ */ m(ke, {
|
|
74008
74011
|
label: e,
|
|
@@ -74027,7 +74030,7 @@ var YQ = (e, t, n) => e.filter((r) => r.interactive).map((r) => ({
|
|
|
74027
74030
|
]);
|
|
74028
74031
|
if (s === null) return null;
|
|
74029
74032
|
const u = (d, f) => {
|
|
74030
|
-
t.dispatch(new
|
|
74033
|
+
t.dispatch(new xke({
|
|
74031
74034
|
target: e,
|
|
74032
74035
|
color: d
|
|
74033
74036
|
}), f ? { transient: !0 } : void 0);
|
|
@@ -74052,7 +74055,7 @@ lh.hasRows = (e, { scene: t }) => qQ(e, t) !== null;
|
|
|
74052
74055
|
var qQ = (e, t) => It(t.layers, e.layerId) === void 0 ? null : m9(t.spec, e), lZe = (e, t) => t === null || e.some((n) => mJ(n, t)) ? e : [...e, t], cZe = (e, t) => {
|
|
74053
74056
|
const n = It(t.layers, e);
|
|
74054
74057
|
if (n === void 0) return null;
|
|
74055
|
-
const r = It(t.spec.layers, e), o = r === void 0 ? null :
|
|
74058
|
+
const r = It(t.spec.layers, e), o = r === void 0 ? null : fk(r, t.spec.layers), i = o !== null && o.id !== n.id ? o : n;
|
|
74056
74059
|
return {
|
|
74057
74060
|
geom: i.geom,
|
|
74058
74061
|
coord: t.spec.coords.coordType,
|
|
@@ -74331,7 +74334,7 @@ var O6 = (e, t) => {
|
|
|
74331
74334
|
}, xZe = (e, t, n, r) => {
|
|
74332
74335
|
const o = [{
|
|
74333
74336
|
layer: t,
|
|
74334
|
-
rows:
|
|
74337
|
+
rows: a2(t, n, r)
|
|
74335
74338
|
}];
|
|
74336
74339
|
for (const i of Sb(t, e)) {
|
|
74337
74340
|
const a = a1e(i, t, n, r);
|
|
@@ -75128,7 +75131,7 @@ var O6 = (e, t) => {
|
|
|
75128
75131
|
return "editor.overlayMenu.thisPoint";
|
|
75129
75132
|
}
|
|
75130
75133
|
}, net = (e, t, n, r) => In({
|
|
75131
|
-
valueFormat:
|
|
75134
|
+
valueFormat: c2(e.guides, "x")?.valueFormat ?? { type: "text" },
|
|
75132
75135
|
locale: r,
|
|
75133
75136
|
numberFormat: e.config.numberFormat
|
|
75134
75137
|
})(Id(t.data, t.mapping)(n), n), ret = (e, t, n, r) => {
|
|
@@ -76064,7 +76067,7 @@ var uZ = "menu_positioner__1czcnoo0", dZ = "menu_popup__1czcnoo1", Xc = "menu_it
|
|
|
76064
76067
|
o(new Da({
|
|
76065
76068
|
kind: "differenceArrow",
|
|
76066
76069
|
annotation: {
|
|
76067
|
-
...
|
|
76070
|
+
..._k,
|
|
76068
76071
|
...a,
|
|
76069
76072
|
label: Jet
|
|
76070
76073
|
}
|
|
@@ -76731,7 +76734,7 @@ var ett = (e) => {
|
|
|
76731
76734
|
if (t === null) return null;
|
|
76732
76735
|
const o = n.find((s) => s.id === t.annotationId);
|
|
76733
76736
|
if (o === void 0) return null;
|
|
76734
|
-
const i = Kb(r, o.id), a =
|
|
76737
|
+
const i = Kb(r, o.id), a = o2({
|
|
76735
76738
|
arrow: BP(o, t),
|
|
76736
76739
|
style: i,
|
|
76737
76740
|
panelWidth: e.width,
|
|
@@ -77488,7 +77491,7 @@ var mnt = [
|
|
|
77488
77491
|
key: "graph.annotations.differenceArrowToolbar.size.large"
|
|
77489
77492
|
}
|
|
77490
77493
|
], bnt = ({ arrow: e, color: t, labelBox: n, panelRect: r, frameWidth: o, frameHeight: i, frameElement: a }) => {
|
|
77491
|
-
const s = ze(), { commands: l } = qe(), c = Te((I) => I.spec.styles.overrides), u = Te((I) => Vn(I.spec)), d = ux(), f = ynt(e), h =
|
|
77494
|
+
const s = ze(), { commands: l } = qe(), c = Te((I) => I.spec.styles.overrides), u = Te((I) => Vn(I.spec)), d = ux(), f = ynt(e), h = E2(Ke(), e.id), p = Z(() => ({
|
|
77492
77495
|
target: "annotation",
|
|
77493
77496
|
kind: "differenceArrow",
|
|
77494
77497
|
annotation: e.id
|
|
@@ -78088,7 +78091,7 @@ var Vnt = {
|
|
|
78088
78091
|
}
|
|
78089
78092
|
return null;
|
|
78090
78093
|
}, jnt = ({ arrow: e, panelSize: t }) => {
|
|
78091
|
-
const n = Kb(Ke(), e.id), r =
|
|
78094
|
+
const n = Kb(Ke(), e.id), r = o2({
|
|
78092
78095
|
arrow: e,
|
|
78093
78096
|
style: n,
|
|
78094
78097
|
panelWidth: t.width,
|
|
@@ -79073,7 +79076,7 @@ var jrt = "observation-menu-trigger_trigger__7alwr62", Krt = {
|
|
|
79073
79076
|
parsingLocale: n
|
|
79074
79077
|
});
|
|
79075
79078
|
}, GZ = (e, t) => {
|
|
79076
|
-
const { target: n, clientX: r, clientY: o } = e, { frameElement: i, captureRect: a, menuTrigger: s, panelOrigin: l, resolvesObservations: c, scene: u } = t, d = s !== null &&
|
|
79079
|
+
const { target: n, clientX: r, clientY: o } = e, { frameElement: i, captureRect: a, menuTrigger: s, panelOrigin: l, resolvesObservations: c, scene: u } = t, d = s !== null && s2({
|
|
79077
79080
|
x: r - l.x,
|
|
79078
79081
|
y: o - l.y
|
|
79079
79082
|
}, s);
|
|
@@ -79473,7 +79476,7 @@ var jrt = "observation-menu-trigger_trigger__7alwr62", Krt = {
|
|
|
79473
79476
|
if (l = null, c === null) return;
|
|
79474
79477
|
const w = r.getState();
|
|
79475
79478
|
if (mv(w.standingInteraction)) {
|
|
79476
|
-
const P = w.menuTrigger !== null &&
|
|
79479
|
+
const P = w.menuTrigger !== null && s2({
|
|
79477
79480
|
x: c.clientX - a.current.x,
|
|
79478
79481
|
y: c.clientY - a.current.y
|
|
79479
79482
|
}, w.menuTrigger), x = w.editTargetUnderPointer;
|
|
@@ -79874,7 +79877,7 @@ var Got = "section_chevron__141oj688", kn = ({ title: e, layout: t = "fixed", pr
|
|
|
79874
79877
|
tickMode: V === "edges" ? "edges" : "auto"
|
|
79875
79878
|
}));
|
|
79876
79879
|
}, ie = (V) => {
|
|
79877
|
-
o.commands.dispatch(new
|
|
79880
|
+
o.commands.dispatch(new yke({
|
|
79878
79881
|
scaledAesthetic: e,
|
|
79879
79882
|
reverse: V === "yes"
|
|
79880
79883
|
}));
|
|
@@ -80141,7 +80144,7 @@ var Got = "section_chevron__141oj688", kn = ({ title: e, layout: t = "fixed", pr
|
|
|
80141
80144
|
})] })
|
|
80142
80145
|
});
|
|
80143
80146
|
}, fx = (e) => {
|
|
80144
|
-
const { colorScheme: t } = $c(), n = Z(() =>
|
|
80147
|
+
const { colorScheme: t } = $c(), n = Z(() => M2({ colorScheme: t }), [t]);
|
|
80145
80148
|
return Z(() => e === null ? null : n.readers(e), [e, n]);
|
|
80146
80149
|
}, UP = (e, t, n) => {
|
|
80147
80150
|
const r = fx(e);
|
|
@@ -80459,7 +80462,7 @@ var Got = "section_chevron__141oj688", kn = ({ title: e, layout: t = "fixed", pr
|
|
|
80459
80462
|
f !== null && r.commands.dispatch(new Da({
|
|
80460
80463
|
kind: "differenceArrow",
|
|
80461
80464
|
annotation: {
|
|
80462
|
-
...
|
|
80465
|
+
..._k,
|
|
80463
80466
|
...f,
|
|
80464
80467
|
label: Sit
|
|
80465
80468
|
}
|
|
@@ -80535,7 +80538,7 @@ var Got = "section_chevron__141oj688", kn = ({ title: e, layout: t = "fixed", pr
|
|
|
80535
80538
|
const n = sn(), r = un(n), o = ze(), { NumberField: i, TextField: a } = Nt();
|
|
80536
80539
|
if (!r || r.coordSystem.type === "polar") return null;
|
|
80537
80540
|
const s = CV(r.spec.layers), l = e ?? o("editor.annotationsPanel.goalSection.title"), c = gr(s?.mapping.y), u = typeof c == "number" ? c : null, d = (p) => {
|
|
80538
|
-
const g = new
|
|
80541
|
+
const g = new dke({
|
|
80539
80542
|
showGoalLine: p,
|
|
80540
80543
|
value: Cit(r),
|
|
80541
80544
|
...s !== void 0 && { layerId: s.id }
|
|
@@ -80543,14 +80546,14 @@ var Got = "section_chevron__141oj688", kn = ({ title: e, layout: t = "fixed", pr
|
|
|
80543
80546
|
n.commands.dispatch(g);
|
|
80544
80547
|
}, f = (p) => {
|
|
80545
80548
|
if (s === void 0) return;
|
|
80546
|
-
const g = new
|
|
80549
|
+
const g = new tke({
|
|
80547
80550
|
layerId: s.id,
|
|
80548
80551
|
label: p === "" ? null : p
|
|
80549
80552
|
});
|
|
80550
80553
|
n.commands.dispatch(g, { transient: !0 });
|
|
80551
80554
|
}, h = (p) => {
|
|
80552
80555
|
if (s === void 0 || p === null) return;
|
|
80553
|
-
const g = new
|
|
80556
|
+
const g = new nke({
|
|
80554
80557
|
layerId: s.id,
|
|
80555
80558
|
value: p
|
|
80556
80559
|
});
|
|
@@ -81724,7 +81727,7 @@ var Sw = [
|
|
|
81724
81727
|
], Rdt = ({ title: e, layout: t = "collapsible", preview: n }) => {
|
|
81725
81728
|
const r = sn(), o = un(r), i = ze(), { Select: a, Slider: s, Switch: l, ToggleGroup: c } = Nt(), u = o?.spec.layers ?? [], d = Ws(u, "line", "area"), f = UP(o, d?.id ?? null, "line");
|
|
81726
81729
|
if (!o || !d) return null;
|
|
81727
|
-
const h = o.coordSystem.type === "polar", p = pat(i, d), g = hat(d, u), v = Wl(d.geom, d.id), y = Vn(o.spec), b = o.spec.styles.overrides, S = Lw(b, v, y), w = Lw(
|
|
81730
|
+
const h = o.coordSystem.type === "polar", p = pat(i, d), g = hat(d, u), v = Wl(d.geom, d.id), y = Vn(o.spec), b = o.spec.styles.overrides, S = Lw(b, v, y), w = Lw(ek(b, v, y), v, y), A = S?.strokeWidth, T = typeof A == "number", P = w?.strokeWidth !== void 0, x = d.geom === "line" ? d : void 0, k = [{
|
|
81728
81731
|
value: "auto",
|
|
81729
81732
|
label: i("editor.graphPanel.numberFormat.options.auto"),
|
|
81730
81733
|
isDisabled: P
|
|
@@ -81732,12 +81735,12 @@ var Sw = [
|
|
|
81732
81735
|
value: "custom",
|
|
81733
81736
|
label: i("editor.graphPanel.numberFormat.options.custom")
|
|
81734
81737
|
}], _ = (R) => {
|
|
81735
|
-
r.commands.dispatch(new
|
|
81738
|
+
r.commands.dispatch(new vke({
|
|
81736
81739
|
layerId: d.id,
|
|
81737
81740
|
showPoints: R
|
|
81738
81741
|
}));
|
|
81739
81742
|
}, E = (R) => {
|
|
81740
|
-
x && r.commands.dispatch(new
|
|
81743
|
+
x && r.commands.dispatch(new hke({
|
|
81741
81744
|
layerId: x.id,
|
|
81742
81745
|
showFill: R
|
|
81743
81746
|
}));
|
|
@@ -81849,7 +81852,7 @@ var Sw = [
|
|
|
81849
81852
|
size: "editor.graphPanel.mappingSection.size",
|
|
81850
81853
|
label: "editor.graphPanel.mappingSection.label"
|
|
81851
81854
|
}, Idt = ({ title: e, layout: t = "collapsible" }) => {
|
|
81852
|
-
const n = sn(), r = un(n), o = ze(), { Select: i } = Nt(), a = o("editor.graphPanel.mappingSection.none"), s = r?.spec, l = Z(() => s === void 0 ? [] :
|
|
81855
|
+
const n = sn(), r = un(n), o = ze(), { Select: i } = Nt(), a = o("editor.graphPanel.mappingSection.none"), s = r?.spec, l = Z(() => s === void 0 ? [] : _ke(s, mat).map(({ aesthetic: c, variables: u, isRequired: d }) => {
|
|
81853
81856
|
const f = aH(s.mapping, c);
|
|
81854
81857
|
return {
|
|
81855
81858
|
aesthetic: c,
|
|
@@ -82084,7 +82087,7 @@ var Sw = [
|
|
|
82084
82087
|
value: w,
|
|
82085
82088
|
label: i(`editor.annotationsPanel.trendType.options.${w}`)
|
|
82086
82089
|
})), g = (w, A = {}) => {
|
|
82087
|
-
const T = u ?? d, P = new
|
|
82090
|
+
const T = u ?? d, P = new rke({
|
|
82088
82091
|
line: w,
|
|
82089
82092
|
...A,
|
|
82090
82093
|
...T !== void 0 && { layerId: T.id },
|
|
@@ -82264,7 +82267,7 @@ var Bat = class extends y4 {
|
|
|
82264
82267
|
};
|
|
82265
82268
|
function qat(e, t) {
|
|
82266
82269
|
let n;
|
|
82267
|
-
return e.layers.flatMap((r, o) => Om(t(r.geom, e.coordSystem.type)) ? nst(r) ? (n ??=
|
|
82270
|
+
return e.layers.flatMap((r, o) => Om(t(r.geom, e.coordSystem.type)) ? nst(r) ? (n ??= M2().readers(e), rst(r, n.geom(r)) ? [{
|
|
82268
82271
|
kind: "user-input",
|
|
82269
82272
|
severity: "warning",
|
|
82270
82273
|
code: "INVALID_STYLE_RULE",
|
|
@@ -82463,7 +82466,7 @@ var ist = (e) => jd((t) => ({
|
|
|
82463
82466
|
theme: i
|
|
82464
82467
|
});
|
|
82465
82468
|
return {
|
|
82466
|
-
session: new
|
|
82469
|
+
session: new Oke(H),
|
|
82467
82470
|
compileBus: Gat(H)
|
|
82468
82471
|
};
|
|
82469
82472
|
}), [v] = Ne(() => {
|
|
@@ -82587,7 +82590,7 @@ var ist = (e) => jd((t) => ({
|
|
|
82587
82590
|
notify: () => e.forEach((t) => t())
|
|
82588
82591
|
};
|
|
82589
82592
|
}, oee = ({ data: e, spec: t, plugins: n = [], theme: r, formattingLocale: o, handleRef: i, onSpecChange: a, onError: s, onWarnings: l, customPalettes: c, colorScheme: u = "light", children: d }) => {
|
|
82590
|
-
const [f] = Ne(() => r), h = f?.colorScheme ?? u, [p] = Ne(() => QG([...f?.plugins ?? [], ...n].filter(nee))), g = Yt(), [v] = Ne(() => wbe(n)), [y] = Ne(() =>
|
|
82593
|
+
const [f] = Ne(() => r), h = f?.colorScheme ?? u, [p] = Ne(() => QG([...f?.plugins ?? [], ...n].filter(nee))), g = Yt(), [v] = Ne(() => wbe(n)), [y] = Ne(() => n2(n)), [b] = Ne(() => $at()), [S] = Ne(() => SNe()), w = Z(() => M2({ colorScheme: h }), [h]), { store: A, dispatch: T, commit: P, history: x, subscribe: k, getScene: _, compileBus: E, compileErrors: I } = ast({
|
|
82591
82594
|
spec: t,
|
|
82592
82595
|
data: e,
|
|
82593
82596
|
customPalettes: c,
|
|
@@ -82869,7 +82872,7 @@ var Est = "dev-tools-panel_theadRow__58flceh", Mst = "dev-tools-panel_historyHea
|
|
|
82869
82872
|
children: "total hit"
|
|
82870
82873
|
})
|
|
82871
82874
|
]
|
|
82872
|
-
}) }), /* @__PURE__ */ m("tbody", { children: $
|
|
82875
|
+
}) }), /* @__PURE__ */ m("tbody", { children: $k.map((r) => {
|
|
82873
82876
|
const o = e?.[r], i = Ist(o);
|
|
82874
82877
|
return /* @__PURE__ */ B("tr", {
|
|
82875
82878
|
className: Tst,
|
|
@@ -82914,7 +82917,7 @@ var Est = "dev-tools-panel_theadRow__58flceh", Mst = "dev-tools-panel_historyHea
|
|
|
82914
82917
|
className: Mst,
|
|
82915
82918
|
children: "recent compiles"
|
|
82916
82919
|
}), e.map((t) => {
|
|
82917
|
-
const n = Ost(t.stages, (i) => i.misses > 0), r = $
|
|
82920
|
+
const n = Ost(t.stages, (i) => i.misses > 0), r = $k.length;
|
|
82918
82921
|
return /* @__PURE__ */ B("div", {
|
|
82919
82922
|
className: bst,
|
|
82920
82923
|
children: [
|
|
@@ -82942,7 +82945,7 @@ var Est = "dev-tools-panel_theadRow__58flceh", Mst = "dev-tools-panel_historyHea
|
|
|
82942
82945
|
})]
|
|
82943
82946
|
}), Ist = (e) => !e || e.hits === 0 && e.misses === 0 ? "untouched" : e.misses > 0 ? "ran" : "cached", Ost = (e, t) => {
|
|
82944
82947
|
let n = 0;
|
|
82945
|
-
for (const r of $
|
|
82948
|
+
for (const r of $k) t(e[r]) && (n += 1);
|
|
82946
82949
|
return n;
|
|
82947
82950
|
}, jP = (e) => e < 0.1 ? "<0.1ms" : e >= 10 ? `${e.toFixed(0)}ms` : `${e.toFixed(2)}ms`, Wdt = () => {
|
|
82948
82951
|
const { history: e } = qe(), { stack: t, undo: n, redo: r } = e, o = Ye((s) => t.subscribe(s), [t]), i = Ye(() => t.getSnapshot(), [t]), a = w4(o, i, i);
|
|
@@ -83103,22 +83106,22 @@ export {
|
|
|
83103
83106
|
YR as composePoint,
|
|
83104
83107
|
aye as config,
|
|
83105
83108
|
sye as coord,
|
|
83106
|
-
|
|
83109
|
+
g2 as createAreaPathGenerators,
|
|
83107
83110
|
Kdt as createGraphyKit,
|
|
83108
|
-
|
|
83111
|
+
y2 as createLinePathGenerator,
|
|
83109
83112
|
hye as createSpec,
|
|
83110
83113
|
Vlt as createStableBandKeyGenerator,
|
|
83111
83114
|
Xxe as createStableCellKeyGenerator,
|
|
83112
83115
|
yo as createStableKeyGenerator,
|
|
83113
|
-
|
|
83116
|
+
M2 as createStyleResolver,
|
|
83114
83117
|
In as createValueFormatter,
|
|
83115
83118
|
p3e as darkTheme,
|
|
83116
83119
|
$ut as defineGeomRenderer,
|
|
83117
83120
|
Slt as defineGeomStyleTarget,
|
|
83118
83121
|
Zxe as findAttachedHit,
|
|
83119
83122
|
tm as geom,
|
|
83120
|
-
|
|
83121
|
-
|
|
83123
|
+
Ak as getAlpha,
|
|
83124
|
+
Tk as getAngleExtent,
|
|
83122
83125
|
ym as getBarRectBounds,
|
|
83123
83126
|
sF as getColor,
|
|
83124
83127
|
sr as getGroup,
|
|
@@ -83127,7 +83130,7 @@ export {
|
|
|
83127
83130
|
Tb as getPaintedTileRect,
|
|
83128
83131
|
wb as getRadiusExtent,
|
|
83129
83132
|
Gst as getScaledAesthetic,
|
|
83130
|
-
|
|
83133
|
+
Ck as getSize,
|
|
83131
83134
|
rF as getStackRole,
|
|
83132
83135
|
Dde as getStrokeWidth,
|
|
83133
83136
|
Nde as getTileRectBounds,
|
|
@@ -83146,11 +83149,11 @@ export {
|
|
|
83146
83149
|
dye as mapping,
|
|
83147
83150
|
pye as pipe,
|
|
83148
83151
|
Ni as polarToUnit,
|
|
83149
|
-
|
|
83150
|
-
|
|
83152
|
+
v2 as prepareAreaObservations,
|
|
83153
|
+
b2 as prepareLineObservations,
|
|
83151
83154
|
hc as projectPointCartesian,
|
|
83152
83155
|
Vat as pruneSelection,
|
|
83153
|
-
|
|
83156
|
+
Sk as readBackdropColor,
|
|
83154
83157
|
Pc as readMainAxis,
|
|
83155
83158
|
pe as readVariableName,
|
|
83156
83159
|
sm as resolveAnchoredLabelCenter,
|
|
@@ -83161,7 +83164,7 @@ export {
|
|
|
83161
83164
|
ZE as stampAxisEditTarget,
|
|
83162
83165
|
$U as stampGridEditTarget,
|
|
83163
83166
|
eM as stampLegendEditTarget,
|
|
83164
|
-
|
|
83167
|
+
Wk as stat,
|
|
83165
83168
|
gh as style,
|
|
83166
83169
|
dB as styles,
|
|
83167
83170
|
Ut as toPaintColor,
|