@asgard-js/react 0.0.23 → 0.0.24
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/README.md +8 -2
- package/dist/hooks/use-asgard-service-client.d.ts.map +1 -1
- package/dist/index.js +675 -673
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7,8 +7,8 @@ var G = (e, t, n) => iK(e, typeof t != "symbol" ? t + "" : t, n), Rw = (e, t, n)
|
|
|
7
7
|
var Aw = (e, t, n) => (Rw(e, t, "read from private field"), n ? n.call(e) : t.get(e)), Nw = (e, t, n) => t.has(e) ? Cw("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), pb = (e, t, n, r) => (Rw(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
|
|
8
8
|
import { jsx as X, jsxs as Et, Fragment as aK } from "react/jsx-runtime";
|
|
9
9
|
import * as Gt from "react";
|
|
10
|
-
import ml, { useRef as Aa, useEffect as
|
|
11
|
-
import { AsgardServiceClient as cK, EventType as
|
|
10
|
+
import ml, { useRef as Aa, useEffect as Vt, useState as ln, useCallback as Pt, useMemo as nn, useLayoutEffect as GG, createContext as kh, useContext as Ph, useImperativeHandle as oK, memo as sK, forwardRef as lK } from "react";
|
|
11
|
+
import { AsgardServiceClient as cK, EventType as Cc, Conversation as uK, Channel as dK, MessageTemplateType as tl } from "@asgard-js/core";
|
|
12
12
|
function Ow(e) {
|
|
13
13
|
return e !== null && typeof e == "object" && !Array.isArray(e);
|
|
14
14
|
}
|
|
@@ -51,20 +51,22 @@ const fK = (e) => JSON.parse(e.annotations["asgard-ai.com/additional-annotation"
|
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
53
|
function pK(e) {
|
|
54
|
-
const { config: t } = e, { onRunInit: n, onProcess: r, onMessage: i,
|
|
55
|
-
return
|
|
56
|
-
|
|
57
|
-
}, []),
|
|
58
|
-
!
|
|
59
|
-
}, [n]),
|
|
60
|
-
!
|
|
61
|
-
}, [r]),
|
|
62
|
-
!
|
|
63
|
-
}, [i]),
|
|
64
|
-
!
|
|
65
|
-
}, [a]),
|
|
66
|
-
!
|
|
67
|
-
}, [o]),
|
|
54
|
+
const { config: t } = e, { onRunInit: n, onProcess: r, onMessage: i, onToolCall: a, onRunDone: o, onRunError: s } = t, l = Aa(null);
|
|
55
|
+
return l.current || (l.current = new cK(t)), Vt(() => () => {
|
|
56
|
+
l.current && (l.current.close(), l.current = null);
|
|
57
|
+
}, []), Vt(() => {
|
|
58
|
+
!l.current || !n || l.current.on(Cc.INIT, n);
|
|
59
|
+
}, [n]), Vt(() => {
|
|
60
|
+
!l.current || !r || l.current.on(Cc.PROCESS, r);
|
|
61
|
+
}, [r]), Vt(() => {
|
|
62
|
+
!l.current || !i || l.current.on(Cc.MESSAGE, i);
|
|
63
|
+
}, [i]), Vt(() => {
|
|
64
|
+
!l.current || !a || l.current.on(Cc.TOOL_CALL, a);
|
|
65
|
+
}, [a]), Vt(() => {
|
|
66
|
+
!l.current || !o || l.current.on(Cc.DONE, o);
|
|
67
|
+
}, [o]), Vt(() => {
|
|
68
|
+
!l.current || !s || l.current.on(Cc.ERROR, s);
|
|
69
|
+
}, [s]), l.current;
|
|
68
70
|
}
|
|
69
71
|
function mK(e) {
|
|
70
72
|
const {
|
|
@@ -122,9 +124,9 @@ function mK(e) {
|
|
|
122
124
|
(b) => l == null ? void 0 : l.sendMessage(b),
|
|
123
125
|
[l]
|
|
124
126
|
);
|
|
125
|
-
return
|
|
127
|
+
return Vt(() => {
|
|
126
128
|
!l && u && E(r);
|
|
127
|
-
}, [l, u, E, r]),
|
|
129
|
+
}, [l, u, E, r]), Vt(() => () => S(), [S]), nn(
|
|
128
130
|
() => ({
|
|
129
131
|
isOpen: u,
|
|
130
132
|
isResetting: f,
|
|
@@ -147,7 +149,7 @@ function mK(e) {
|
|
|
147
149
|
}
|
|
148
150
|
function gK(e, t) {
|
|
149
151
|
const [n, r] = ln(e);
|
|
150
|
-
return
|
|
152
|
+
return Vt(() => {
|
|
151
153
|
const i = window.setTimeout(() => {
|
|
152
154
|
r(e);
|
|
153
155
|
}, t ?? 300);
|
|
@@ -165,7 +167,7 @@ function EK() {
|
|
|
165
167
|
(i) => i && i[0] === r[0] && i[1] === r[1] ? i : r
|
|
166
168
|
);
|
|
167
169
|
}, []);
|
|
168
|
-
return mb == null || mb(n, [n]),
|
|
170
|
+
return mb == null || mb(n, [n]), Vt(() => {
|
|
169
171
|
var i;
|
|
170
172
|
function r() {
|
|
171
173
|
n(), setTimeout(n, 1e3);
|
|
@@ -183,7 +185,7 @@ function xw(e) {
|
|
|
183
185
|
}
|
|
184
186
|
function SK() {
|
|
185
187
|
const [e, t] = ln(!1);
|
|
186
|
-
return
|
|
188
|
+
return Vt(() => {
|
|
187
189
|
function n(i) {
|
|
188
190
|
if (!i.target) return;
|
|
189
191
|
const a = i.target;
|
|
@@ -200,7 +202,7 @@ function SK() {
|
|
|
200
202
|
}, []), e;
|
|
201
203
|
}
|
|
202
204
|
function bK() {
|
|
203
|
-
|
|
205
|
+
Vt(() => {
|
|
204
206
|
function e() {
|
|
205
207
|
window.scrollTo(0, 0);
|
|
206
208
|
}
|
|
@@ -217,7 +219,7 @@ function YG(e) {
|
|
|
217
219
|
return YG(t);
|
|
218
220
|
}
|
|
219
221
|
function TK(e) {
|
|
220
|
-
|
|
222
|
+
Vt(() => {
|
|
221
223
|
const t = e.current;
|
|
222
224
|
if (!t) return;
|
|
223
225
|
let n;
|
|
@@ -255,7 +257,7 @@ function yK(e) {
|
|
|
255
257
|
const n = window.innerHeight * 0.01;
|
|
256
258
|
e.current && e.current.style.setProperty("--vh", `${n}px`);
|
|
257
259
|
}, [e]);
|
|
258
|
-
gb == null || gb(t, [t]),
|
|
260
|
+
gb == null || gb(t, [t]), Vt(() => {
|
|
259
261
|
function n() {
|
|
260
262
|
t(), setTimeout(t, 1e3);
|
|
261
263
|
}
|
|
@@ -266,7 +268,7 @@ function yK(e) {
|
|
|
266
268
|
}
|
|
267
269
|
function vK(e) {
|
|
268
270
|
const { ref: t, onResize: n } = e;
|
|
269
|
-
|
|
271
|
+
Vt(() => {
|
|
270
272
|
const r = new ResizeObserver((i) => {
|
|
271
273
|
for (const a of i) {
|
|
272
274
|
const { width: o, height: s } = a.contentRect;
|
|
@@ -2423,7 +2425,7 @@ const zw = {}, gl = (e) => {
|
|
|
2423
2425
|
console.error(e);
|
|
2424
2426
|
}, qw = (e, ...t) => {
|
|
2425
2427
|
console.log(`WARN: ${e}`, ...t);
|
|
2426
|
-
},
|
|
2428
|
+
}, Rc = (e, t) => {
|
|
2427
2429
|
zw[`${e}/${t}`] || (console.log(`Deprecated as of ${e}. ${t}`), zw[`${e}/${t}`] = !0);
|
|
2428
2430
|
}, Jm = new Error();
|
|
2429
2431
|
function f3(e, t, { key: n }) {
|
|
@@ -2610,7 +2612,7 @@ const hb = i3, Hw = Ko, Vw = Symbol("nomatch"), eX = 7, p3 = function(e) {
|
|
|
2610
2612
|
}
|
|
2611
2613
|
function u(A, D, B) {
|
|
2612
2614
|
let U = "", M = "";
|
|
2613
|
-
typeof D == "object" ? (U = A, B = D.ignoreIllegals, M = D.language) : (
|
|
2615
|
+
typeof D == "object" ? (U = A, B = D.ignoreIllegals, M = D.language) : (Rc("10.7.0", "highlight(lang, code, ...args) has been deprecated."), Rc("10.7.0", `Please use highlight(code, options) instead.
|
|
2614
2616
|
https://github.com/highlightjs/highlight.js/issues/2277`), M = A, U = D), B === void 0 && (B = !0);
|
|
2615
2617
|
const $ = {
|
|
2616
2618
|
code: U,
|
|
@@ -2879,10 +2881,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), M = A, U = D), B ===
|
|
|
2879
2881
|
s = Hw(s, A);
|
|
2880
2882
|
}
|
|
2881
2883
|
const h = () => {
|
|
2882
|
-
T(),
|
|
2884
|
+
T(), Rc("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
|
|
2883
2885
|
};
|
|
2884
2886
|
function E() {
|
|
2885
|
-
T(),
|
|
2887
|
+
T(), Rc("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
|
|
2886
2888
|
}
|
|
2887
2889
|
let S = !1;
|
|
2888
2890
|
function T() {
|
|
@@ -2953,7 +2955,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), M = A, U = D), B ===
|
|
|
2953
2955
|
});
|
|
2954
2956
|
}
|
|
2955
2957
|
function O(A) {
|
|
2956
|
-
return
|
|
2958
|
+
return Rc("10.7.0", "highlightBlock will be removed entirely in v12.0"), Rc("10.7.0", "Please use highlightElement now."), m(A);
|
|
2957
2959
|
}
|
|
2958
2960
|
Object.assign(e, {
|
|
2959
2961
|
highlight: u,
|
|
@@ -2988,11 +2990,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), M = A, U = D), B ===
|
|
|
2988
2990
|
for (const A in Np)
|
|
2989
2991
|
typeof Np[A] == "object" && r3(Np[A]);
|
|
2990
2992
|
return Object.assign(e, Np), e;
|
|
2991
|
-
},
|
|
2992
|
-
|
|
2993
|
-
var tX =
|
|
2994
|
-
|
|
2995
|
-
|
|
2993
|
+
}, lu = p3({});
|
|
2994
|
+
lu.newInstance = () => p3({});
|
|
2995
|
+
var tX = lu;
|
|
2996
|
+
lu.HighlightJS = lu;
|
|
2997
|
+
lu.default = lu;
|
|
2996
2998
|
var Eb, Ww;
|
|
2997
2999
|
function nX() {
|
|
2998
3000
|
if (Ww) return Eb;
|
|
@@ -51528,14 +51530,14 @@ function S3() {
|
|
|
51528
51530
|
const Gs = Ge({}, ["title", "style", "font", "a", "script"]);
|
|
51529
51531
|
let Jr = null;
|
|
51530
51532
|
const yp = ["application/xhtml+xml", "text/html"], _w = "text/html";
|
|
51531
|
-
let
|
|
51533
|
+
let Xt = null, Ys = null;
|
|
51532
51534
|
const pw = n.createElement("form"), tb = function(L) {
|
|
51533
51535
|
return L instanceof RegExp || L instanceof Function;
|
|
51534
51536
|
}, vp = function() {
|
|
51535
51537
|
let L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
51536
51538
|
if (!(Ys && Ys === L)) {
|
|
51537
51539
|
if ((!L || typeof L != "object") && (L = {}), L = nl(L), Jr = // eslint-disable-next-line unicorn/prefer-includes
|
|
51538
|
-
yp.indexOf(L.PARSER_MEDIA_TYPE) === -1 ? _w : L.PARSER_MEDIA_TYPE,
|
|
51540
|
+
yp.indexOf(L.PARSER_MEDIA_TYPE) === -1 ? _w : L.PARSER_MEDIA_TYPE, Xt = Jr === "application/xhtml+xml" ? Kv : Tm, $ = xi(L, "ALLOWED_TAGS") ? Ge({}, L.ALLOWED_TAGS, Xt) : Q, K = xi(L, "ALLOWED_ATTR") ? Ge({}, L.ALLOWED_ATTR, Xt) : j, yc = xi(L, "ALLOWED_NAMESPACES") ? Ge({}, L.ALLOWED_NAMESPACES, Kv) : Tp, bt = xi(L, "ADD_URI_SAFE_ATTR") ? Ge(nl(Wn), L.ADD_URI_SAFE_ATTR, Xt) : Wn, we = xi(L, "ADD_DATA_URI_TAGS") ? Ge(nl(Ye), L.ADD_DATA_URI_TAGS, Xt) : Ye, ie = xi(L, "FORBID_CONTENTS") ? Ge({}, L.FORBID_CONTENTS, Xt) : fe, se = xi(L, "FORBID_TAGS") ? Ge({}, L.FORBID_TAGS, Xt) : {}, le = xi(L, "FORBID_ATTR") ? Ge({}, L.FORBID_ATTR, Xt) : {}, In = xi(L, "USE_PROFILES") ? L.USE_PROFILES : !1, ue = L.ALLOW_ARIA_ATTR !== !1, q = L.ALLOW_DATA_ATTR !== !1, J = L.ALLOW_UNKNOWN_PROTOCOLS || !1, ce = L.ALLOW_SELF_CLOSE_IN_ATTR !== !1, P = L.SAFE_FOR_TEMPLATES || !1, xe = L.SAFE_FOR_XML !== !1, Oe = L.WHOLE_DOCUMENT || !1, Rt = L.RETURN_DOM || !1, ve = L.RETURN_DOM_FRAGMENT || !1, aa = L.RETURN_TRUSTED_TYPE || !1, mt = L.FORCE_BODY || !1, It = L.SANITIZE_DOM !== !1, Ve = L.SANITIZE_NAMED_PROPS || !1, hr = L.KEEP_CONTENT !== !1, jr = L.IN_PLACE || !1, M = L.ALLOWED_URI_REGEXP || h3, ja = L.NAMESPACE || Zr, $s = L.MATHML_TEXT_INTEGRATION_POINTS || $s, je = L.HTML_INTEGRATION_POINTS || je, z = L.CUSTOM_ELEMENT_HANDLING || {}, L.CUSTOM_ELEMENT_HANDLING && tb(L.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (z.tagNameCheck = L.CUSTOM_ELEMENT_HANDLING.tagNameCheck), L.CUSTOM_ELEMENT_HANDLING && tb(L.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (z.attributeNameCheck = L.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), L.CUSTOM_ELEMENT_HANDLING && typeof L.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (z.allowCustomizedBuiltInElements = L.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), P && (q = !1), ve && (Rt = !0), In && ($ = Ge({}, OP), K = [], In.html === !0 && (Ge($, NP), Ge(K, xP)), In.svg === !0 && (Ge($, Qv), Ge(K, Zv), Ge(K, xp)), In.svgFilters === !0 && (Ge($, Xv), Ge(K, Zv), Ge(K, xp)), In.mathMl === !0 && (Ge($, jv), Ge(K, IP), Ge(K, xp))), L.ADD_TAGS && ($ === Q && ($ = nl($)), Ge($, L.ADD_TAGS, Xt)), L.ADD_ATTR && (K === j && (K = nl(K)), Ge(K, L.ADD_ATTR, Xt)), L.ADD_URI_SAFE_ATTR && Ge(bt, L.ADD_URI_SAFE_ATTR, Xt), L.FORBID_CONTENTS && (ie === fe && (ie = nl(ie)), Ge(ie, L.FORBID_CONTENTS, Xt)), hr && ($["#text"] = !0), Oe && Ge($, ["html", "head", "body"]), $.table && (Ge($, ["tbody"]), delete se.tbody), L.TRUSTED_TYPES_POLICY) {
|
|
51539
51541
|
if (typeof L.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
51540
51542
|
throw Cd('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
51541
51543
|
if (typeof L.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -51562,7 +51564,7 @@ function S3() {
|
|
|
51562
51564
|
} catch {
|
|
51563
51565
|
g(L);
|
|
51564
51566
|
}
|
|
51565
|
-
},
|
|
51567
|
+
}, Sd = function(L, re) {
|
|
51566
51568
|
try {
|
|
51567
51569
|
yd(t.removed, {
|
|
51568
51570
|
attribute: re.getAttributeNode(L),
|
|
@@ -51631,7 +51633,7 @@ function S3() {
|
|
|
51631
51633
|
let re = null;
|
|
51632
51634
|
if (sa(N.beforeSanitizeElements, L, null), Cp(L))
|
|
51633
51635
|
return Ci(L), !0;
|
|
51634
|
-
const me =
|
|
51636
|
+
const me = Xt(L.nodeName);
|
|
51635
51637
|
if (sa(N.uponSanitizeElement, L, {
|
|
51636
51638
|
tagName: me,
|
|
51637
51639
|
allowedTags: $
|
|
@@ -51706,22 +51708,22 @@ function S3() {
|
|
|
51706
51708
|
name: on,
|
|
51707
51709
|
namespaceURI: Kn,
|
|
51708
51710
|
value: Ri
|
|
51709
|
-
} = Sn, vc =
|
|
51711
|
+
} = Sn, vc = Xt(on);
|
|
51710
51712
|
let Dn = on === "value" ? Ri : UJ(Ri);
|
|
51711
|
-
if (me.attrName = vc, me.attrValue = Dn, me.keepAttr = !0, me.forceKeepAttr = void 0, sa(N.uponSanitizeAttribute, L, me), Dn = me.attrValue, Ve && (vc === "id" || vc === "name") && (
|
|
51712
|
-
|
|
51713
|
+
if (me.attrName = vc, me.attrValue = Dn, me.keepAttr = !0, me.forceKeepAttr = void 0, sa(N.uponSanitizeAttribute, L, me), Dn = me.attrValue, Ve && (vc === "id" || vc === "name") && (Sd(on, L), Dn = Qa + Dn), xe && Qn(/((--!?|])>)|<\/(style|title)/i, Dn)) {
|
|
51714
|
+
Sd(on, L);
|
|
51713
51715
|
continue;
|
|
51714
51716
|
}
|
|
51715
|
-
if (me.forceKeepAttr || (
|
|
51717
|
+
if (me.forceKeepAttr || (Sd(on, L), !me.keepAttr))
|
|
51716
51718
|
continue;
|
|
51717
51719
|
if (!ce && Qn(/\/>/i, Dn)) {
|
|
51718
|
-
|
|
51720
|
+
Sd(on, L);
|
|
51719
51721
|
continue;
|
|
51720
51722
|
}
|
|
51721
51723
|
P && Op([F, k, I], (fb) => {
|
|
51722
51724
|
Dn = vd(Dn, fb, " ");
|
|
51723
51725
|
});
|
|
51724
|
-
const db =
|
|
51726
|
+
const db = Xt(L.nodeName);
|
|
51725
51727
|
if (lb(db, vc, Dn)) {
|
|
51726
51728
|
if (T && typeof _ == "object" && typeof _.getAttributeType == "function" && !Kn)
|
|
51727
51729
|
switch (_.getAttributeType(db, vc)) {
|
|
@@ -51760,7 +51762,7 @@ function S3() {
|
|
|
51760
51762
|
return Se;
|
|
51761
51763
|
if (Fe || vp(L), t.removed = [], typeof Se == "string" && (jr = !1), jr) {
|
|
51762
51764
|
if (Se.nodeName) {
|
|
51763
|
-
const Ri =
|
|
51765
|
+
const Ri = Xt(Se.nodeName);
|
|
51764
51766
|
if (!$[Ri] || se[Ri])
|
|
51765
51767
|
throw Cd("root node is forbidden and cannot be sanitized in-place");
|
|
51766
51768
|
}
|
|
@@ -51799,7 +51801,7 @@ function S3() {
|
|
|
51799
51801
|
Ys = null, Fe = !1;
|
|
51800
51802
|
}, t.isValidAttribute = function(Se, L, re) {
|
|
51801
51803
|
Ys || vp({});
|
|
51802
|
-
const me =
|
|
51804
|
+
const me = Xt(Se), Tt = Xt(L);
|
|
51803
51805
|
return lb(me, Tt, re);
|
|
51804
51806
|
}, t.addHook = function(Se, L) {
|
|
51805
51807
|
typeof L == "function" && yd(N[Se], L);
|
|
@@ -51844,7 +51846,7 @@ function lee(e) {
|
|
|
51844
51846
|
}
|
|
51845
51847
|
function b3(e, t = 100) {
|
|
51846
51848
|
const [n, r] = ln([]), [i, a] = ln(""), o = Aa(/* @__PURE__ */ new Map()), s = Pt((c) => (c == null ? void 0 : c.raw) || c.text || "", []);
|
|
51847
|
-
return
|
|
51849
|
+
return Vt(() => {
|
|
51848
51850
|
if (!e) {
|
|
51849
51851
|
r([]), a(""), o.current.clear();
|
|
51850
51852
|
return;
|
|
@@ -51929,7 +51931,7 @@ const T3 = kh({
|
|
|
51929
51931
|
), [s, l] = ln(
|
|
51930
51932
|
{}
|
|
51931
51933
|
), [c, u] = ln(!0), [d, f] = ln(null);
|
|
51932
|
-
return
|
|
51934
|
+
return Vt(() => {
|
|
51933
51935
|
let _ = !0;
|
|
51934
51936
|
if (t)
|
|
51935
51937
|
return u(!0), Promise.all(
|
|
@@ -52212,7 +52214,7 @@ function yee(e) {
|
|
|
52212
52214
|
const vee = "_chatbot_body_f6sqm_1", Cee = "_chatbot_body__content_f6sqm_5", MP = {
|
|
52213
52215
|
chatbot_body: vee,
|
|
52214
52216
|
chatbot_body__content: Cee
|
|
52215
|
-
}, Ree = "_template_box_1ozig_1",
|
|
52217
|
+
}, Ree = "_template_box_1ozig_1", Ac = {
|
|
52216
52218
|
template_box: Ree,
|
|
52217
52219
|
"template_box--bot": "_template_box--bot_1ozig_7",
|
|
52218
52220
|
"template_box--horizontal": "_template_box--horizontal_1ozig_7",
|
|
@@ -52223,13 +52225,13 @@ function Ol(e) {
|
|
|
52223
52225
|
const { type: t, direction: n = "horizontal", children: r, style: i, className: a } = e, o = nn(() => {
|
|
52224
52226
|
switch (t) {
|
|
52225
52227
|
case "user":
|
|
52226
|
-
return Bt(
|
|
52228
|
+
return Bt(Ac.template_box, Ac["template_box--user"]);
|
|
52227
52229
|
case "bot":
|
|
52228
52230
|
default:
|
|
52229
52231
|
return Bt(
|
|
52230
|
-
|
|
52231
|
-
|
|
52232
|
-
n === "horizontal" ?
|
|
52232
|
+
Ac.template_box,
|
|
52233
|
+
Ac["template_box--bot"],
|
|
52234
|
+
n === "horizontal" ? Ac["template_box--horizontal"] : Ac["template_box--vertical"]
|
|
52233
52235
|
);
|
|
52234
52236
|
}
|
|
52235
52237
|
}, [n, t]);
|
|
@@ -52292,7 +52294,7 @@ function $h(e) {
|
|
|
52292
52294
|
const { time: t, className: n } = e;
|
|
52293
52295
|
return t ? /* @__PURE__ */ X("div", { className: Bt("asgard-time", wee.time, n), children: i0(t) }) : null;
|
|
52294
52296
|
}
|
|
52295
|
-
function
|
|
52297
|
+
function qu(e) {
|
|
52296
52298
|
const { quickReplies: t, time: n, children: r } = e;
|
|
52297
52299
|
return /* @__PURE__ */ Et(
|
|
52298
52300
|
"div",
|
|
@@ -52313,7 +52315,7 @@ function zu(e) {
|
|
|
52313
52315
|
}
|
|
52314
52316
|
const Mee = "_bot_avatar_xrs9x_1", PP = {
|
|
52315
52317
|
bot_avatar: Mee
|
|
52316
|
-
}, Lee = (e) => /* @__PURE__ */ Gt.createElement("svg", { viewBox: "0 0 25 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Gt.createElement("path", { d: "M0.40625 12C0.40625 5.37258 5.77883 0 12.4062 0C19.0337 0 24.4062 5.37258 24.4062 12C24.4062 18.6274 19.0337 24 12.4062 24C5.77883 24 0.40625 18.6274 0.40625 12Z", fill: "#585858" }), /* @__PURE__ */ Gt.createElement("path", { d: "M6.40625 18.75V15C6.40625 14.5875 6.55313 14.2344 6.84688 13.9406C7.14063 13.6469 7.49375 13.5 7.90625 13.5H16.9062C17.3188 13.5 17.6719 13.6469 17.9656 13.9406C18.2594 14.2344 18.4062 14.5875 18.4062 15V18.75H6.40625ZM10.1562 12.75C9.11875 12.75 8.23438 12.3844 7.50312 11.6531C6.77187 10.9219 6.40625 10.0375 6.40625 9C6.40625 7.9625 6.77187 7.07812 7.50312 6.34687C8.23438 5.61562 9.11875 5.25 10.1562 5.25H14.6562C15.6938 5.25 16.5781 5.61562 17.3094 6.34687C18.0406 7.07812 18.4062 7.9625 18.4062 9C18.4062 10.0375 18.0406 10.9219 17.3094 11.6531C16.5781 12.3844 15.6938 12.75 14.6562 12.75H10.1562ZM7.90625 17.25H16.9062V15H7.90625V17.25ZM10.1562 11.25H14.6562C15.2812 11.25 15.8125 11.0312 16.25 10.5938C16.6875 10.1562 16.9062 9.625 16.9062 9C16.9062 8.375 16.6875 7.84375 16.25 7.40625C15.8125 6.96875 15.2812 6.75 14.6562 6.75H10.1562C9.53125 6.75 9 6.96875 8.5625 7.40625C8.125 7.84375 7.90625 8.375 7.90625 9C7.90625 9.625 8.125 10.1562 8.5625 10.5938C9 11.0312 9.53125 11.25 10.1562 11.25ZM10.1562 9.75C10.3688 9.75 10.5469 9.67812 10.6906 9.53438C10.8344 9.39062 10.9062 9.2125 10.9062 9C10.9062 8.7875 10.8344 8.60938 10.6906 8.46562C10.5469 8.32187 10.3688 8.25 10.1562 8.25C9.94375 8.25 9.76562 8.32187 9.62187 8.46562C9.47812 8.60938 9.40625 8.7875 9.40625 9C9.40625 9.2125 9.47812 9.39062 9.62187 9.53438C9.76562 9.67812 9.94375 9.75 10.1562 9.75ZM14.6562 9.75C14.8687 9.75 15.0469 9.67812 15.1906 9.53438C15.3344 9.39062 15.4062 9.2125 15.4062 9C15.4062 8.7875 15.3344 8.60938 15.1906 8.46562C15.0469 8.32187 14.8687 8.25 14.6562 8.25C14.4438 8.25 14.2656 8.32187 14.1219 8.46562C13.9781 8.60938 13.9062 8.7875 13.9062 9C13.9062 9.2125 13.9781 9.39062 14.1219 9.53438C14.2656 9.67812 14.4438 9.75 14.6562 9.75Z", fill: "white" })),
|
|
52318
|
+
}, Lee = (e) => /* @__PURE__ */ Gt.createElement("svg", { viewBox: "0 0 25 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Gt.createElement("path", { d: "M0.40625 12C0.40625 5.37258 5.77883 0 12.4062 0C19.0337 0 24.4062 5.37258 24.4062 12C24.4062 18.6274 19.0337 24 12.4062 24C5.77883 24 0.40625 18.6274 0.40625 12Z", fill: "#585858" }), /* @__PURE__ */ Gt.createElement("path", { d: "M6.40625 18.75V15C6.40625 14.5875 6.55313 14.2344 6.84688 13.9406C7.14063 13.6469 7.49375 13.5 7.90625 13.5H16.9062C17.3188 13.5 17.6719 13.6469 17.9656 13.9406C18.2594 14.2344 18.4062 14.5875 18.4062 15V18.75H6.40625ZM10.1562 12.75C9.11875 12.75 8.23438 12.3844 7.50312 11.6531C6.77187 10.9219 6.40625 10.0375 6.40625 9C6.40625 7.9625 6.77187 7.07812 7.50312 6.34687C8.23438 5.61562 9.11875 5.25 10.1562 5.25H14.6562C15.6938 5.25 16.5781 5.61562 17.3094 6.34687C18.0406 7.07812 18.4062 7.9625 18.4062 9C18.4062 10.0375 18.0406 10.9219 17.3094 11.6531C16.5781 12.3844 15.6938 12.75 14.6562 12.75H10.1562ZM7.90625 17.25H16.9062V15H7.90625V17.25ZM10.1562 11.25H14.6562C15.2812 11.25 15.8125 11.0312 16.25 10.5938C16.6875 10.1562 16.9062 9.625 16.9062 9C16.9062 8.375 16.6875 7.84375 16.25 7.40625C15.8125 6.96875 15.2812 6.75 14.6562 6.75H10.1562C9.53125 6.75 9 6.96875 8.5625 7.40625C8.125 7.84375 7.90625 8.375 7.90625 9C7.90625 9.625 8.125 10.1562 8.5625 10.5938C9 11.0312 9.53125 11.25 10.1562 11.25ZM10.1562 9.75C10.3688 9.75 10.5469 9.67812 10.6906 9.53438C10.8344 9.39062 10.9062 9.2125 10.9062 9C10.9062 8.7875 10.8344 8.60938 10.6906 8.46562C10.5469 8.32187 10.3688 8.25 10.1562 8.25C9.94375 8.25 9.76562 8.32187 9.62187 8.46562C9.47812 8.60938 9.40625 8.7875 9.40625 9C9.40625 9.2125 9.47812 9.39062 9.62187 9.53438C9.76562 9.67812 9.94375 9.75 10.1562 9.75ZM14.6562 9.75C14.8687 9.75 15.0469 9.67812 15.1906 9.53438C15.3344 9.39062 15.4062 9.2125 15.4062 9C15.4062 8.7875 15.3344 8.60938 15.1906 8.46562C15.0469 8.32187 14.8687 8.25 14.6562 8.25C14.4438 8.25 14.2656 8.32187 14.1219 8.46562C13.9781 8.60938 13.9062 8.7875 13.9062 9C13.9062 9.2125 13.9781 9.39062 14.1219 9.53438C14.2656 9.67812 14.4438 9.75 14.6562 9.75Z", fill: "white" })), Hu = sK((e) => {
|
|
52317
52319
|
const { avatar: t } = e;
|
|
52318
52320
|
return t ? /* @__PURE__ */ X(
|
|
52319
52321
|
"img",
|
|
@@ -52398,9 +52400,9 @@ function $ee(e) {
|
|
|
52398
52400
|
direction: "horizontal",
|
|
52399
52401
|
style: (a = n == null ? void 0 : n.ButtonMessageTemplate) == null ? void 0 : a.style,
|
|
52400
52402
|
children: [
|
|
52401
|
-
/* @__PURE__ */ X(
|
|
52403
|
+
/* @__PURE__ */ X(Hu, { avatar: r }),
|
|
52402
52404
|
/* @__PURE__ */ X(
|
|
52403
|
-
|
|
52405
|
+
qu,
|
|
52404
52406
|
{
|
|
52405
52407
|
time: t.time,
|
|
52406
52408
|
quickReplies: i == null ? void 0 : i.quickReplies,
|
|
@@ -52460,9 +52462,9 @@ function FP(e) {
|
|
|
52460
52462
|
direction: "horizontal",
|
|
52461
52463
|
style: o,
|
|
52462
52464
|
children: [
|
|
52463
|
-
/* @__PURE__ */ X(
|
|
52465
|
+
/* @__PURE__ */ X(Hu, { avatar: n }),
|
|
52464
52466
|
/* @__PURE__ */ X(
|
|
52465
|
-
|
|
52467
|
+
qu,
|
|
52466
52468
|
{
|
|
52467
52469
|
time: t.time,
|
|
52468
52470
|
quickReplies: (d = t.message.template) == null ? void 0 : d.quickReplies,
|
|
@@ -52517,8 +52519,8 @@ function I3(e) {
|
|
|
52517
52519
|
type: "bot",
|
|
52518
52520
|
direction: "horizontal",
|
|
52519
52521
|
children: [
|
|
52520
|
-
/* @__PURE__ */ X(
|
|
52521
|
-
/* @__PURE__ */ X(
|
|
52522
|
+
/* @__PURE__ */ X(Hu, { avatar: i }),
|
|
52523
|
+
/* @__PURE__ */ X(qu, { time: /* @__PURE__ */ new Date(), children: /* @__PURE__ */ X(
|
|
52522
52524
|
"div",
|
|
52523
52525
|
{
|
|
52524
52526
|
ref: o,
|
|
@@ -52563,14 +52565,14 @@ function qee(e) {
|
|
|
52563
52565
|
direction: "vertical",
|
|
52564
52566
|
style: (a = n == null ? void 0 : n.CarouselMessageTemplate) == null ? void 0 : a.style,
|
|
52565
52567
|
children: [
|
|
52566
|
-
/* @__PURE__ */ X(
|
|
52567
|
-
/* @__PURE__ */ X(
|
|
52568
|
+
/* @__PURE__ */ X(Hu, { avatar: r }),
|
|
52569
|
+
/* @__PURE__ */ X(qu, { quickReplies: i.quickReplies, children: /* @__PURE__ */ X("div", { className: BP.carousel_root, children: (o = i.columns) == null ? void 0 : o.map((s, l) => /* @__PURE__ */ X(x3, { template: s }, l)) }) }),
|
|
52568
52570
|
/* @__PURE__ */ X($h, { className: BP.carousel_time, time: t.time })
|
|
52569
52571
|
]
|
|
52570
52572
|
}
|
|
52571
52573
|
);
|
|
52572
52574
|
}
|
|
52573
|
-
const Hee = "_hint_root_iy66i_1", Vee = "_hint_root__error_iy66i_14", Wee = "_error_hint_title_iy66i_17", Kee = "_error_hint_message_iy66i_23", Qee = "_time_iy66i_32",
|
|
52575
|
+
const Hee = "_hint_root_iy66i_1", Vee = "_hint_root__error_iy66i_14", Wee = "_error_hint_title_iy66i_17", Kee = "_error_hint_message_iy66i_23", Qee = "_time_iy66i_32", Nc = {
|
|
52574
52576
|
hint_root: Hee,
|
|
52575
52577
|
hint_root__error: Vee,
|
|
52576
52578
|
error_hint_title: Wee,
|
|
@@ -52589,17 +52591,17 @@ function UP(e) {
|
|
|
52589
52591
|
{
|
|
52590
52592
|
className: Bt(
|
|
52591
52593
|
"asgard-hint-template asgard-hint-template--error",
|
|
52592
|
-
|
|
52594
|
+
Nc.hint_root
|
|
52593
52595
|
),
|
|
52594
52596
|
children: (i == null ? void 0 : i(t)) ?? /* @__PURE__ */ Et(aK, { children: [
|
|
52595
|
-
/* @__PURE__ */ Et("div", { className:
|
|
52596
|
-
/* @__PURE__ */ X("span", { className:
|
|
52597
|
+
/* @__PURE__ */ Et("div", { className: Nc.error_hint_title, children: [
|
|
52598
|
+
/* @__PURE__ */ X("span", { className: Nc.time, children: i0(t.time) }),
|
|
52597
52599
|
/* @__PURE__ */ X("span", { children: "Unexpected error" })
|
|
52598
52600
|
] }),
|
|
52599
52601
|
r && /* @__PURE__ */ Et(
|
|
52600
52602
|
"div",
|
|
52601
52603
|
{
|
|
52602
|
-
className:
|
|
52604
|
+
className: Nc.error_hint_message,
|
|
52603
52605
|
onClick: a,
|
|
52604
52606
|
children: [
|
|
52605
52607
|
"Click ",
|
|
@@ -52617,17 +52619,17 @@ function UP(e) {
|
|
|
52617
52619
|
{
|
|
52618
52620
|
className: Bt(
|
|
52619
52621
|
"asgard-hint-template asgard-hint-template--hint",
|
|
52620
|
-
|
|
52622
|
+
Nc.hint_root
|
|
52621
52623
|
),
|
|
52622
52624
|
style: (s = n == null ? void 0 : n.HintMessageTemplate) == null ? void 0 : s.style,
|
|
52623
52625
|
children: [
|
|
52624
|
-
/* @__PURE__ */ X("div", { className:
|
|
52626
|
+
/* @__PURE__ */ X("div", { className: Nc.time, children: i0(t.time) }),
|
|
52625
52627
|
o.text
|
|
52626
52628
|
]
|
|
52627
52629
|
}
|
|
52628
52630
|
);
|
|
52629
52631
|
}
|
|
52630
|
-
const Xee = "_text_we7dz_1", jee = "_md_container_we7dz_11", Zee = "_chart_time_we7dz_30", Jee = "_quick_replies_box_we7dz_34", ete = "_quick_reply_we7dz_40",
|
|
52632
|
+
const Xee = "_text_we7dz_1", jee = "_md_container_we7dz_11", Zee = "_chart_time_we7dz_30", Jee = "_quick_replies_box_we7dz_34", ete = "_quick_reply_we7dz_40", Oc = {
|
|
52631
52633
|
text: Xee,
|
|
52632
52634
|
md_container: jee,
|
|
52633
52635
|
"text--user": "_text--user_we7dz_18",
|
|
@@ -53401,7 +53403,7 @@ function _i(e, t, n) {
|
|
|
53401
53403
|
const r = Gh(e);
|
|
53402
53404
|
return e = r.length === 1 ? r[0] : e, wr((n && n.get || M3)(r), [e], t || e);
|
|
53403
53405
|
}
|
|
53404
|
-
const R_ = _i("id"), dr = wr((e) => e, [], "identity"), Wo = wr(() => 0, [], "zero"),
|
|
53406
|
+
const R_ = _i("id"), dr = wr((e) => e, [], "identity"), Wo = wr(() => 0, [], "zero"), Vu = wr(() => 1, [], "one"), pi = wr(() => !0, [], "true"), Uo = wr(() => !1, [], "false");
|
|
53405
53407
|
function _te(e, t, n) {
|
|
53406
53408
|
const r = [t].concat([].slice.call(n));
|
|
53407
53409
|
console[e].apply(console, r);
|
|
@@ -53531,12 +53533,12 @@ function WN(e, t, n) {
|
|
|
53531
53533
|
s != null && (r.push(t[l] === mte ? -1 : 1), i.push(s = Pe(s) ? s : _i(s, null, n)), ($n(s) || []).forEach((c) => a[c] = 1));
|
|
53532
53534
|
}), i.length === 0 ? null : wr(o(i, r), Object.keys(a));
|
|
53533
53535
|
}
|
|
53534
|
-
const
|
|
53535
|
-
return
|
|
53536
|
+
const Wu = (e, t) => (e < t || e == null) && t != null ? -1 : (e > t || t == null) && e != null ? 1 : (t = t instanceof Date ? +t : t, (e = e instanceof Date ? +e : e) !== e && t === t ? -1 : t !== t && e === e ? 1 : 0), gte = (e, t) => e.length === 1 ? hte(e[0], t[0]) : Ete(e, t, e.length), hte = (e, t) => function(n, r) {
|
|
53537
|
+
return Wu(e(n), e(r)) * t;
|
|
53536
53538
|
}, Ete = (e, t, n) => (t.push(0), function(r, i) {
|
|
53537
53539
|
let a, o = 0, s = -1;
|
|
53538
53540
|
for (; o === 0 && ++s < n; )
|
|
53539
|
-
a = e[s], o =
|
|
53541
|
+
a = e[s], o = Wu(a(r), a(i));
|
|
53540
53542
|
return o * t[s];
|
|
53541
53543
|
});
|
|
53542
53544
|
function Vn(e) {
|
|
@@ -53598,7 +53600,7 @@ function Ne(e, t) {
|
|
|
53598
53600
|
return Object.hasOwn(e, t);
|
|
53599
53601
|
}
|
|
53600
53602
|
const wp = {};
|
|
53601
|
-
function
|
|
53603
|
+
function Ku(e) {
|
|
53602
53604
|
let t = {}, n;
|
|
53603
53605
|
function r(a) {
|
|
53604
53606
|
return Ne(t, a) && t[a] !== wp;
|
|
@@ -53654,7 +53656,7 @@ function ae(e, t, n) {
|
|
|
53654
53656
|
configurable: !0
|
|
53655
53657
|
}), ke(r, n);
|
|
53656
53658
|
}
|
|
53657
|
-
function
|
|
53659
|
+
function qc(e, t, n, r) {
|
|
53658
53660
|
let i = t[0], a = t[t.length - 1], o;
|
|
53659
53661
|
return i > a && (o = i, i = a, a = o), n = n === void 0 || n, r = r === void 0 || r, (n ? i <= e : i < e) && (r ? e <= a : e < a);
|
|
53660
53662
|
}
|
|
@@ -54053,7 +54055,7 @@ function mo(e, t) {
|
|
|
54053
54055
|
function Mte(e, t) {
|
|
54054
54056
|
return e == null || t == null ? NaN : t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
|
|
54055
54057
|
}
|
|
54056
|
-
function
|
|
54058
|
+
function Qu(e) {
|
|
54057
54059
|
let t, n, r;
|
|
54058
54060
|
e.length !== 2 ? (t = mo, n = (s, l) => mo(e(s), l), r = (s, l) => e(s) - l) : (t = e === mo || e === Mte ? e : Lte, n = e, r = e);
|
|
54059
54061
|
function i(s, l, c = 0, u = s.length) {
|
|
@@ -54098,8 +54100,8 @@ function* kte(e, t) {
|
|
|
54098
54100
|
(r = t(r, ++n, e)) != null && (r = +r) >= r && (yield r);
|
|
54099
54101
|
}
|
|
54100
54102
|
}
|
|
54101
|
-
const sY =
|
|
54102
|
-
|
|
54103
|
+
const sY = Qu(mo), ds = sY.right, Pte = sY.left;
|
|
54104
|
+
Qu(oY).center;
|
|
54103
54105
|
function Fte(e, t) {
|
|
54104
54106
|
let n = 0, r, i = 0, a = 0;
|
|
54105
54107
|
if (t === void 0)
|
|
@@ -54353,7 +54355,7 @@ function ig(e, t) {
|
|
|
54353
54355
|
+e.slice(n + 1)
|
|
54354
54356
|
];
|
|
54355
54357
|
}
|
|
54356
|
-
function
|
|
54358
|
+
function cu(e) {
|
|
54357
54359
|
return e = ig(Math.abs(e)), e ? e[1] : NaN;
|
|
54358
54360
|
}
|
|
54359
54361
|
function Xte(e, t) {
|
|
@@ -54488,7 +54490,7 @@ function EY(e) {
|
|
|
54488
54490
|
}, x;
|
|
54489
54491
|
}
|
|
54490
54492
|
function u(d, f) {
|
|
54491
|
-
var _ = c((d = xl(d), d.type = "f", d)), p = Math.max(-8, Math.min(8, Math.floor(
|
|
54493
|
+
var _ = c((d = xl(d), d.type = "f", d)), p = Math.max(-8, Math.min(8, Math.floor(cu(f) / 3))) * 3, m = Math.pow(10, -p), g = oF[8 + p / 3];
|
|
54492
54494
|
return function(h) {
|
|
54493
54495
|
return _(m * h) + g;
|
|
54494
54496
|
};
|
|
@@ -54508,13 +54510,13 @@ function tne(e) {
|
|
|
54508
54510
|
return Mp = EY(e), Vh = Mp.format, nO = Mp.formatPrefix, Mp;
|
|
54509
54511
|
}
|
|
54510
54512
|
function SY(e) {
|
|
54511
|
-
return Math.max(0, -
|
|
54513
|
+
return Math.max(0, -cu(Math.abs(e)));
|
|
54512
54514
|
}
|
|
54513
54515
|
function bY(e, t) {
|
|
54514
|
-
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(
|
|
54516
|
+
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(cu(t) / 3))) * 3 - cu(Math.abs(e)));
|
|
54515
54517
|
}
|
|
54516
54518
|
function TY(e, t) {
|
|
54517
|
-
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0,
|
|
54519
|
+
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, cu(t) - cu(e)) + 1;
|
|
54518
54520
|
}
|
|
54519
54521
|
const cC = /* @__PURE__ */ new Date(), uC = /* @__PURE__ */ new Date();
|
|
54520
54522
|
function rn(e, t, n, r) {
|
|
@@ -54544,16 +54546,16 @@ function rn(e, t, n, r) {
|
|
|
54544
54546
|
;
|
|
54545
54547
|
}), n && (i.count = (a, o) => (cC.setTime(+a), uC.setTime(+o), e(cC), e(uC), Math.floor(n(cC, uC))), i.every = (a) => (a = Math.floor(a), !isFinite(a) || !(a > 0) ? null : a > 1 ? i.filter(r ? (o) => r(o) % a === 0 : (o) => i.count(0, o) % a === 0) : i)), i;
|
|
54546
54548
|
}
|
|
54547
|
-
const
|
|
54549
|
+
const uu = rn(() => {
|
|
54548
54550
|
}, (e, t) => {
|
|
54549
54551
|
e.setTime(+e + t);
|
|
54550
54552
|
}, (e, t) => t - e);
|
|
54551
|
-
|
|
54553
|
+
uu.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? rn((t) => {
|
|
54552
54554
|
t.setTime(Math.floor(t / e) * e);
|
|
54553
54555
|
}, (t, n) => {
|
|
54554
54556
|
t.setTime(+t + n * e);
|
|
54555
|
-
}, (t, n) => (n - t) / e) :
|
|
54556
|
-
|
|
54557
|
+
}, (t, n) => (n - t) / e) : uu);
|
|
54558
|
+
uu.range;
|
|
54557
54559
|
const lo = 1e3, oi = lo * 60, co = oi * 60, vo = co * 24, rO = vo * 7, sF = vo * 30, dC = vo * 365, uo = rn((e) => {
|
|
54558
54560
|
e.setTime(e - e.getMilliseconds());
|
|
54559
54561
|
}, (e, t) => {
|
|
@@ -54610,12 +54612,12 @@ function tc(e) {
|
|
|
54610
54612
|
t.setDate(t.getDate() + n * 7);
|
|
54611
54613
|
}, (t, n) => (n - t - (n.getTimezoneOffset() - t.getTimezoneOffset()) * oi) / rO);
|
|
54612
54614
|
}
|
|
54613
|
-
const
|
|
54614
|
-
|
|
54615
|
+
const Xu = tc(0), ag = tc(1), nne = tc(2), rne = tc(3), du = tc(4), ine = tc(5), ane = tc(6);
|
|
54616
|
+
Xu.range;
|
|
54615
54617
|
ag.range;
|
|
54616
54618
|
nne.range;
|
|
54617
54619
|
rne.range;
|
|
54618
|
-
|
|
54620
|
+
du.range;
|
|
54619
54621
|
ine.range;
|
|
54620
54622
|
ane.range;
|
|
54621
54623
|
function nc(e) {
|
|
@@ -54625,12 +54627,12 @@ function nc(e) {
|
|
|
54625
54627
|
t.setUTCDate(t.getUTCDate() + n * 7);
|
|
54626
54628
|
}, (t, n) => (n - t) / rO);
|
|
54627
54629
|
}
|
|
54628
|
-
const
|
|
54629
|
-
|
|
54630
|
+
const ju = nc(0), og = nc(1), one = nc(2), sne = nc(3), fu = nc(4), lne = nc(5), cne = nc(6);
|
|
54631
|
+
ju.range;
|
|
54630
54632
|
og.range;
|
|
54631
54633
|
one.range;
|
|
54632
54634
|
sne.range;
|
|
54633
|
-
|
|
54635
|
+
fu.range;
|
|
54634
54636
|
lne.range;
|
|
54635
54637
|
cne.range;
|
|
54636
54638
|
const Hf = rn((e) => {
|
|
@@ -54695,15 +54697,15 @@ function vY(e, t, n, r, i, a) {
|
|
|
54695
54697
|
return f ? p.reverse() : p;
|
|
54696
54698
|
}
|
|
54697
54699
|
function l(c, u, d) {
|
|
54698
|
-
const f = Math.abs(u - c) / d, _ =
|
|
54700
|
+
const f = Math.abs(u - c) / d, _ = Qu(([, , g]) => g).right(o, f);
|
|
54699
54701
|
if (_ === o.length) return e.every(fs(c / dC, u / dC, d));
|
|
54700
|
-
if (_ === 0) return
|
|
54702
|
+
if (_ === 0) return uu.every(Math.max(fs(c, u, d), 1));
|
|
54701
54703
|
const [p, m] = o[f / o[_ - 1][2] < o[_][2] / f ? _ - 1 : _];
|
|
54702
54704
|
return p.every(m);
|
|
54703
54705
|
}
|
|
54704
54706
|
return [s, l];
|
|
54705
54707
|
}
|
|
54706
|
-
const [une, dne] = vY(xa, Vf,
|
|
54708
|
+
const [une, dne] = vY(xa, Vf, ju, yY, Xh, Kh), [fne, _ne] = vY(Oa, Hf, Xu, go, Qh, Wh), Nn = "year", Ar = "quarter", Gn = "month", Jt = "week", Nr = "date", Fn = "day", Ia = "dayofyear", Vr = "hours", Wr = "minutes", mi = "seconds", qi = "milliseconds", iO = [Nn, Ar, Gn, Jt, Nr, Fn, Ia, Vr, Wr, mi, qi], fC = iO.reduce((e, t, n) => (e[t] = 1 + n, e), {});
|
|
54707
54709
|
function aO(e) {
|
|
54708
54710
|
const t = Ce(e).slice(), n = {};
|
|
54709
54711
|
return t.length || W("Missing time unit."), t.forEach((i) => {
|
|
@@ -54751,7 +54753,7 @@ function NY(e) {
|
|
|
54751
54753
|
return go.count(oO(e.getFullYear()) - 1, e);
|
|
54752
54754
|
}
|
|
54753
54755
|
function f0(e) {
|
|
54754
|
-
return
|
|
54756
|
+
return Xu.count(oO(e.getFullYear()) - 1, e);
|
|
54755
54757
|
}
|
|
54756
54758
|
function _0(e) {
|
|
54757
54759
|
return oO(e).getDay();
|
|
@@ -54775,7 +54777,7 @@ function IY(e) {
|
|
|
54775
54777
|
}
|
|
54776
54778
|
function p0(e) {
|
|
54777
54779
|
const t = Date.UTC(e.getUTCFullYear(), 0, 1);
|
|
54778
|
-
return
|
|
54780
|
+
return ju.count(t - 1, e);
|
|
54779
54781
|
}
|
|
54780
54782
|
function m0(e) {
|
|
54781
54783
|
return ol.setTime(Date.UTC(e, 0, 1)), ol.getUTCDay();
|
|
@@ -54788,7 +54790,7 @@ function gne(e, t, n, r, i, a, o) {
|
|
|
54788
54790
|
return new Date(Date.UTC(e, t, n, r, i, a, o));
|
|
54789
54791
|
}
|
|
54790
54792
|
function DY(e, t, n, r, i) {
|
|
54791
|
-
const a = t || 1, o = He(e), s = (h, E, S) => (S = S || h, hne(n[S], r[S], h === o && a, E)), l = /* @__PURE__ */ new Date(), c = zi(e), u = c[Nn] ? s(Nn) : Vn(2012), d = c[Gn] ? s(Gn) : c[Ar] ? s(Ar) : Wo, f = c[Jt] && c[Fn] ? s(Fn, 1, Jt + Fn) : c[Jt] ? s(Jt, 1) : c[Fn] ? s(Fn, 1) : c[Nr] ? s(Nr, 1) : c[Ia] ? s(Ia, 1) :
|
|
54793
|
+
const a = t || 1, o = He(e), s = (h, E, S) => (S = S || h, hne(n[S], r[S], h === o && a, E)), l = /* @__PURE__ */ new Date(), c = zi(e), u = c[Nn] ? s(Nn) : Vn(2012), d = c[Gn] ? s(Gn) : c[Ar] ? s(Ar) : Wo, f = c[Jt] && c[Fn] ? s(Fn, 1, Jt + Fn) : c[Jt] ? s(Jt, 1) : c[Fn] ? s(Fn, 1) : c[Nr] ? s(Nr, 1) : c[Ia] ? s(Ia, 1) : Vu, _ = c[Vr] ? s(Vr) : Wo, p = c[Wr] ? s(Wr) : Wo, m = c[mi] ? s(mi) : Wo, g = c[qi] ? s(qi) : Wo;
|
|
54792
54794
|
return function(h) {
|
|
54793
54795
|
l.setTime(+h);
|
|
54794
54796
|
const E = u(l);
|
|
@@ -54799,7 +54801,7 @@ function hne(e, t, n, r) {
|
|
|
54799
54801
|
const i = n <= 1 ? e : r ? (a, o) => r + n * Math.floor((e(a, o) - r) / n) : (a, o) => n * Math.floor(e(a, o) / n);
|
|
54800
54802
|
return t ? (a, o) => t(i(a, o), o) : i;
|
|
54801
54803
|
}
|
|
54802
|
-
function
|
|
54804
|
+
function _u(e, t, n) {
|
|
54803
54805
|
return t + e * 7 - (n + 6) % 7;
|
|
54804
54806
|
}
|
|
54805
54807
|
const Ene = {
|
|
@@ -54813,11 +54815,11 @@ const Ene = {
|
|
|
54813
54815
|
[qi]: (e) => e.getMilliseconds(),
|
|
54814
54816
|
[Ia]: (e) => NY(e),
|
|
54815
54817
|
[Jt]: (e) => f0(e),
|
|
54816
|
-
[Jt + Fn]: (e, t) =>
|
|
54817
|
-
[Fn]: (e, t) =>
|
|
54818
|
+
[Jt + Fn]: (e, t) => _u(f0(e), e.getDay(), _0(t)),
|
|
54819
|
+
[Fn]: (e, t) => _u(1, e.getDay(), _0(t))
|
|
54818
54820
|
}, Sne = {
|
|
54819
54821
|
[Ar]: (e) => 3 * e,
|
|
54820
|
-
[Jt]: (e, t) =>
|
|
54822
|
+
[Jt]: (e, t) => _u(e, 0, _0(t))
|
|
54821
54823
|
};
|
|
54822
54824
|
function wY(e, t) {
|
|
54823
54825
|
return DY(e, t || 1, Ene, Sne, mne);
|
|
@@ -54833,11 +54835,11 @@ const bne = {
|
|
|
54833
54835
|
[qi]: (e) => e.getUTCMilliseconds(),
|
|
54834
54836
|
[Ia]: (e) => IY(e),
|
|
54835
54837
|
[Jt]: (e) => p0(e),
|
|
54836
|
-
[Fn]: (e, t) =>
|
|
54837
|
-
[Jt + Fn]: (e, t) =>
|
|
54838
|
+
[Fn]: (e, t) => _u(1, e.getUTCDay(), m0(t)),
|
|
54839
|
+
[Jt + Fn]: (e, t) => _u(p0(e), e.getUTCDay(), m0(t))
|
|
54838
54840
|
}, Tne = {
|
|
54839
54841
|
[Ar]: (e) => 3 * e,
|
|
54840
|
-
[Jt]: (e, t) =>
|
|
54842
|
+
[Jt]: (e, t) => _u(e, 0, m0(t))
|
|
54841
54843
|
};
|
|
54842
54844
|
function MY(e, t) {
|
|
54843
54845
|
return DY(e, t || 1, bne, Tne, gne);
|
|
@@ -54846,55 +54848,55 @@ const yne = {
|
|
|
54846
54848
|
[Nn]: Oa,
|
|
54847
54849
|
[Ar]: Hf.every(3),
|
|
54848
54850
|
[Gn]: Hf,
|
|
54849
|
-
[Jt]:
|
|
54851
|
+
[Jt]: Xu,
|
|
54850
54852
|
[Nr]: go,
|
|
54851
54853
|
[Fn]: go,
|
|
54852
54854
|
[Ia]: go,
|
|
54853
54855
|
[Vr]: Qh,
|
|
54854
54856
|
[Wr]: Wh,
|
|
54855
54857
|
[mi]: uo,
|
|
54856
|
-
[qi]:
|
|
54858
|
+
[qi]: uu
|
|
54857
54859
|
}, vne = {
|
|
54858
54860
|
[Nn]: xa,
|
|
54859
54861
|
[Ar]: Vf.every(3),
|
|
54860
54862
|
[Gn]: Vf,
|
|
54861
|
-
[Jt]:
|
|
54863
|
+
[Jt]: ju,
|
|
54862
54864
|
[Nr]: as,
|
|
54863
54865
|
[Fn]: as,
|
|
54864
54866
|
[Ia]: as,
|
|
54865
54867
|
[Vr]: Xh,
|
|
54866
54868
|
[Wr]: Kh,
|
|
54867
54869
|
[mi]: uo,
|
|
54868
|
-
[qi]:
|
|
54870
|
+
[qi]: uu
|
|
54869
54871
|
};
|
|
54870
|
-
function
|
|
54872
|
+
function Zu(e) {
|
|
54871
54873
|
return yne[e];
|
|
54872
54874
|
}
|
|
54873
|
-
function
|
|
54875
|
+
function Ju(e) {
|
|
54874
54876
|
return vne[e];
|
|
54875
54877
|
}
|
|
54876
54878
|
function LY(e, t, n) {
|
|
54877
54879
|
return e ? e.offset(t, n) : void 0;
|
|
54878
54880
|
}
|
|
54879
54881
|
function kY(e, t, n) {
|
|
54880
|
-
return LY(
|
|
54882
|
+
return LY(Zu(e), t, n);
|
|
54881
54883
|
}
|
|
54882
54884
|
function PY(e, t, n) {
|
|
54883
|
-
return LY(
|
|
54885
|
+
return LY(Ju(e), t, n);
|
|
54884
54886
|
}
|
|
54885
54887
|
function FY(e, t, n, r) {
|
|
54886
54888
|
return e ? e.range(t, n, r) : void 0;
|
|
54887
54889
|
}
|
|
54888
54890
|
function BY(e, t, n, r) {
|
|
54889
|
-
return FY(
|
|
54891
|
+
return FY(Zu(e), t, n, r);
|
|
54890
54892
|
}
|
|
54891
54893
|
function UY(e, t, n, r) {
|
|
54892
|
-
return FY(
|
|
54894
|
+
return FY(Ju(e), t, n, r);
|
|
54893
54895
|
}
|
|
54894
54896
|
const ef = 1e3, tf = ef * 60, nf = tf * 60, jh = nf * 24, Cne = jh * 7, lF = jh * 30, g0 = jh * 365, $Y = [Nn, Gn, Nr, Vr, Wr, mi, qi], rf = $Y.slice(0, -1), af = rf.slice(0, -1), of = af.slice(0, -1), Rne = of.slice(0, -1), Ane = [Nn, Jt], cF = [Nn, Gn], GY = [Nn], Id = [[rf, 1, ef], [rf, 5, 5 * ef], [rf, 15, 15 * ef], [rf, 30, 30 * ef], [af, 1, tf], [af, 5, 5 * tf], [af, 15, 15 * tf], [af, 30, 30 * tf], [of, 1, nf], [of, 3, 3 * nf], [of, 6, 6 * nf], [of, 12, 12 * nf], [Rne, 1, jh], [Ane, 1, Cne], [cF, 1, lF], [cF, 3, 3 * lF], [GY, 1, g0]];
|
|
54895
54897
|
function YY(e) {
|
|
54896
54898
|
const t = e.extent, n = e.maxbins || 40, r = Math.abs(A_(t)) / n;
|
|
54897
|
-
let i =
|
|
54899
|
+
let i = Qu((s) => s[2]).right(Id, r), a, o;
|
|
54898
54900
|
return i === Id.length ? (a = GY, o = fs(t[0] / g0, t[1] / g0, n)) : i ? (i = Id[r / Id[i - 1][2] < Id[i][2] / r ? i - 1 : i], a = i[0], o = i[1]) : (a = $Y, o = Math.max(fs(t[0], t[1], n), 1)), {
|
|
54899
54901
|
units: a,
|
|
54900
54902
|
step: o
|
|
@@ -55268,14 +55270,14 @@ function Jne(e) {
|
|
|
55268
55270
|
return t === 0 ? 7 : t;
|
|
55269
55271
|
}
|
|
55270
55272
|
function ere(e, t) {
|
|
55271
|
-
return et(
|
|
55273
|
+
return et(Xu.count(Oa(e) - 1, e), t, 2);
|
|
55272
55274
|
}
|
|
55273
55275
|
function HY(e) {
|
|
55274
55276
|
var t = e.getDay();
|
|
55275
|
-
return t >= 4 || t === 0 ?
|
|
55277
|
+
return t >= 4 || t === 0 ? du(e) : du.ceil(e);
|
|
55276
55278
|
}
|
|
55277
55279
|
function tre(e, t) {
|
|
55278
|
-
return e = HY(e), et(
|
|
55280
|
+
return e = HY(e), et(du.count(Oa(e), e) + (Oa(e).getDay() === 4), t, 2);
|
|
55279
55281
|
}
|
|
55280
55282
|
function nre(e) {
|
|
55281
55283
|
return e.getDay();
|
|
@@ -55294,7 +55296,7 @@ function ore(e, t) {
|
|
|
55294
55296
|
}
|
|
55295
55297
|
function sre(e, t) {
|
|
55296
55298
|
var n = e.getDay();
|
|
55297
|
-
return e = n >= 4 || n === 0 ?
|
|
55299
|
+
return e = n >= 4 || n === 0 ? du(e) : du.ceil(e), et(e.getFullYear() % 1e4, t, 4);
|
|
55298
55300
|
}
|
|
55299
55301
|
function lre(e) {
|
|
55300
55302
|
var t = e.getTimezoneOffset();
|
|
@@ -55332,14 +55334,14 @@ function gre(e) {
|
|
|
55332
55334
|
return t === 0 ? 7 : t;
|
|
55333
55335
|
}
|
|
55334
55336
|
function hre(e, t) {
|
|
55335
|
-
return et(
|
|
55337
|
+
return et(ju.count(xa(e) - 1, e), t, 2);
|
|
55336
55338
|
}
|
|
55337
55339
|
function WY(e) {
|
|
55338
55340
|
var t = e.getUTCDay();
|
|
55339
|
-
return t >= 4 || t === 0 ?
|
|
55341
|
+
return t >= 4 || t === 0 ? fu(e) : fu.ceil(e);
|
|
55340
55342
|
}
|
|
55341
55343
|
function Ere(e, t) {
|
|
55342
|
-
return e = WY(e), et(
|
|
55344
|
+
return e = WY(e), et(fu.count(xa(e), e) + (xa(e).getUTCDay() === 4), t, 2);
|
|
55343
55345
|
}
|
|
55344
55346
|
function Sre(e) {
|
|
55345
55347
|
return e.getUTCDay();
|
|
@@ -55358,7 +55360,7 @@ function vre(e, t) {
|
|
|
55358
55360
|
}
|
|
55359
55361
|
function Cre(e, t) {
|
|
55360
55362
|
var n = e.getUTCDay();
|
|
55361
|
-
return e = n >= 4 || n === 0 ?
|
|
55363
|
+
return e = n >= 4 || n === 0 ? fu(e) : fu.ceil(e), et(e.getUTCFullYear() % 1e4, t, 4);
|
|
55362
55364
|
}
|
|
55363
55365
|
function Rre() {
|
|
55364
55366
|
return "+0000";
|
|
@@ -55372,7 +55374,7 @@ function EF(e) {
|
|
|
55372
55374
|
function SF(e) {
|
|
55373
55375
|
return Math.floor(+e / 1e3);
|
|
55374
55376
|
}
|
|
55375
|
-
var
|
|
55377
|
+
var xc, sO, KY, lO, QY;
|
|
55376
55378
|
Are({
|
|
55377
55379
|
dateTime: "%x, %X",
|
|
55378
55380
|
date: "%-m/%-d/%Y",
|
|
@@ -55384,7 +55386,7 @@ Are({
|
|
|
55384
55386
|
shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
|
|
55385
55387
|
});
|
|
55386
55388
|
function Are(e) {
|
|
55387
|
-
return
|
|
55389
|
+
return xc = zY(e), sO = xc.format, KY = xc.parse, lO = xc.utcFormat, QY = xc.utcParse, xc;
|
|
55388
55390
|
}
|
|
55389
55391
|
function sf(e) {
|
|
55390
55392
|
const t = {};
|
|
@@ -55482,8 +55484,8 @@ function bF(e, t, n) {
|
|
|
55482
55484
|
function JY(e) {
|
|
55483
55485
|
const t = sf(e.format), n = sf(e.utcFormat);
|
|
55484
55486
|
return {
|
|
55485
|
-
timeFormat: (r) => Ke(r) ? t(r) : bF(t,
|
|
55486
|
-
utcFormat: (r) => Ke(r) ? n(r) : bF(n,
|
|
55487
|
+
timeFormat: (r) => Ke(r) ? t(r) : bF(t, Zu, r),
|
|
55488
|
+
utcFormat: (r) => Ke(r) ? n(r) : bF(n, Ju, r),
|
|
55487
55489
|
timeParse: sf(e.parse),
|
|
55488
55490
|
utcParse: sf(e.utcParse)
|
|
55489
55491
|
};
|
|
@@ -56164,7 +56166,7 @@ function gie(e) {
|
|
|
56164
56166
|
for (i = r.length; --i >= 0; )
|
|
56165
56167
|
t.push(n = r[i]), n === e && W("Cycle detected in dataflow graph.");
|
|
56166
56168
|
}
|
|
56167
|
-
const lg = {}, fa = 1, zo = 2, no = 4, hie = fa | zo, CF = fa | no,
|
|
56169
|
+
const lg = {}, fa = 1, zo = 2, no = 4, hie = fa | zo, CF = fa | no, Ic = fa | zo | no, RF = 8, Ld = 16, AF = 32, NF = 64;
|
|
56168
56170
|
function os(e, t, n) {
|
|
56169
56171
|
this.dataflow = e, this.stamp = t ?? -1, this.add = [], this.rem = [], this.mod = [], this.fields = null, this.encode = n || null;
|
|
56170
56172
|
}
|
|
@@ -56209,7 +56211,7 @@ os.prototype = {
|
|
|
56209
56211
|
/**
|
|
56210
56212
|
* Boolean flag indicating ADD, REM and MOD tuples.
|
|
56211
56213
|
*/
|
|
56212
|
-
ALL:
|
|
56214
|
+
ALL: Ic,
|
|
56213
56215
|
/**
|
|
56214
56216
|
* Boolean flag indicating all tuples in a data source
|
|
56215
56217
|
* except for the ADD, REM and MOD tuples.
|
|
@@ -56252,8 +56254,8 @@ os.prototype = {
|
|
|
56252
56254
|
* @see init
|
|
56253
56255
|
*/
|
|
56254
56256
|
clone() {
|
|
56255
|
-
const e = this.fork(
|
|
56256
|
-
return e.add = e.add.slice(), e.rem = e.rem.slice(), e.mod = e.mod.slice(), e.source && (e.source = e.source.slice()), e.materialize(
|
|
56257
|
+
const e = this.fork(Ic);
|
|
56258
|
+
return e.add = e.add.slice(), e.rem = e.rem.slice(), e.mod = e.mod.slice(), e.source && (e.source = e.source.slice()), e.materialize(Ic | Ld);
|
|
56257
56259
|
},
|
|
56258
56260
|
/**
|
|
56259
56261
|
* Returns a pulse that adds all tuples from a backing source. This is
|
|
@@ -56301,7 +56303,7 @@ os.prototype = {
|
|
|
56301
56303
|
* changed, false otherwise.
|
|
56302
56304
|
*/
|
|
56303
56305
|
changed(e) {
|
|
56304
|
-
const t = e ||
|
|
56306
|
+
const t = e || Ic;
|
|
56305
56307
|
return t & fa && this.add.length || t & zo && this.rem.length || t & no && this.mod.length;
|
|
56306
56308
|
},
|
|
56307
56309
|
/**
|
|
@@ -56312,7 +56314,7 @@ os.prototype = {
|
|
|
56312
56314
|
* @return {Pulse} - The reflowed pulse instance.
|
|
56313
56315
|
*/
|
|
56314
56316
|
reflow(e) {
|
|
56315
|
-
if (e) return this.fork(
|
|
56317
|
+
if (e) return this.fork(Ic).reflow();
|
|
56316
56318
|
const t = this.add.length, n = this.source && this.source.length;
|
|
56317
56319
|
return n && n !== t && (this.mod = this.source, t && this.filter(no, OF(this, fa))), this;
|
|
56318
56320
|
},
|
|
@@ -56373,7 +56375,7 @@ os.prototype = {
|
|
|
56373
56375
|
* @return {Pulse} - Returns this pulse instance.
|
|
56374
56376
|
*/
|
|
56375
56377
|
materialize(e) {
|
|
56376
|
-
e = e ||
|
|
56378
|
+
e = e || Ic;
|
|
56377
56379
|
const t = this;
|
|
56378
56380
|
return e & fa && t.addF && (t.add = mC(t.add, t.addF), t.addF = null), e & zo && t.remF && (t.rem = mC(t.rem, t.remF), t.remF = null), e & no && t.modF && (t.mod = mC(t.mod, t.modF), t.modF = null), e & Ld && t.srcF && (t.source = t.source.filter(t.srcF), t.srcF = null), t;
|
|
56379
56381
|
},
|
|
@@ -56568,7 +56570,7 @@ function xie(e, t, n) {
|
|
|
56568
56570
|
s = o + 1, s < i && n(e[o], e[s]) >= 0 && (o = s), e[t] = e[o], t = o, o = (t << 1) + 1;
|
|
56569
56571
|
return e[t] = a, pz(e, r, t, n);
|
|
56570
56572
|
}
|
|
56571
|
-
function
|
|
56573
|
+
function jc() {
|
|
56572
56574
|
this.logger(B3()), this.logLevel(zN), this._clock = 0, this._rank = 0, this._locale = cO();
|
|
56573
56575
|
try {
|
|
56574
56576
|
this._loader = Zh();
|
|
@@ -56581,7 +56583,7 @@ function kd(e) {
|
|
|
56581
56583
|
return this._log[e].apply(this, arguments);
|
|
56582
56584
|
};
|
|
56583
56585
|
}
|
|
56584
|
-
|
|
56586
|
+
jc.prototype = {
|
|
56585
56587
|
/**
|
|
56586
56588
|
* The current timestamp of this dataflow. This value reflects the
|
|
56587
56589
|
* timestamp of the previous dataflow run. The dataflow is initialized
|
|
@@ -56732,13 +56734,13 @@ ae(Y, gt, {
|
|
|
56732
56734
|
transform() {
|
|
56733
56735
|
}
|
|
56734
56736
|
});
|
|
56735
|
-
const
|
|
56737
|
+
const pu = {};
|
|
56736
56738
|
function mz(e) {
|
|
56737
56739
|
const t = gz(e);
|
|
56738
56740
|
return t && t.Definition || null;
|
|
56739
56741
|
}
|
|
56740
56742
|
function gz(e) {
|
|
56741
|
-
return e = e && e.toLowerCase(), Ne(
|
|
56743
|
+
return e = e && e.toLowerCase(), Ne(pu, e) ? pu[e] : null;
|
|
56742
56744
|
}
|
|
56743
56745
|
function* hz(e, t) {
|
|
56744
56746
|
if (t == null)
|
|
@@ -57084,7 +57086,7 @@ function O_(e, t, n, r) {
|
|
|
57084
57086
|
for (const s of e)
|
|
57085
57087
|
a = t(s), o = n(s), a != null && (a = +a) >= a && o != null && (o = +o) >= o && r(a, o, ++i);
|
|
57086
57088
|
}
|
|
57087
|
-
function
|
|
57089
|
+
function ed(e, t, n, r, i) {
|
|
57088
57090
|
let a = 0, o = 0;
|
|
57089
57091
|
return O_(e, t, n, (s, l) => {
|
|
57090
57092
|
const c = l - i(s), u = l - r;
|
|
@@ -57100,7 +57102,7 @@ function DO(e, t, n) {
|
|
|
57100
57102
|
return {
|
|
57101
57103
|
coef: l,
|
|
57102
57104
|
predict: c,
|
|
57103
|
-
rSquared:
|
|
57105
|
+
rSquared: ed(e, t, n, i, c)
|
|
57104
57106
|
};
|
|
57105
57107
|
}
|
|
57106
57108
|
function Rz(e, t, n) {
|
|
@@ -57112,7 +57114,7 @@ function Rz(e, t, n) {
|
|
|
57112
57114
|
return {
|
|
57113
57115
|
coef: l,
|
|
57114
57116
|
predict: c,
|
|
57115
|
-
rSquared:
|
|
57117
|
+
rSquared: ed(e, t, n, i, c)
|
|
57116
57118
|
};
|
|
57117
57119
|
}
|
|
57118
57120
|
function Az(e, t, n) {
|
|
@@ -57125,7 +57127,7 @@ function Az(e, t, n) {
|
|
|
57125
57127
|
return {
|
|
57126
57128
|
coef: [Math.exp(m - g * a), g],
|
|
57127
57129
|
predict: h,
|
|
57128
|
-
rSquared:
|
|
57130
|
+
rSquared: ed(e, t, n, o, h)
|
|
57129
57131
|
};
|
|
57130
57132
|
}
|
|
57131
57133
|
function Nz(e, t, n) {
|
|
@@ -57138,7 +57140,7 @@ function Nz(e, t, n) {
|
|
|
57138
57140
|
return c[0] = Math.exp(c[0]), {
|
|
57139
57141
|
coef: c,
|
|
57140
57142
|
predict: u,
|
|
57141
|
-
rSquared:
|
|
57143
|
+
rSquared: ed(e, t, n, s, u)
|
|
57142
57144
|
};
|
|
57143
57145
|
}
|
|
57144
57146
|
function wO(e, t, n) {
|
|
@@ -57150,7 +57152,7 @@ function wO(e, t, n) {
|
|
|
57150
57152
|
return {
|
|
57151
57153
|
coef: [b - T * a + S * a * a + o, T - 2 * S * a, S],
|
|
57152
57154
|
predict: v,
|
|
57153
|
-
rSquared:
|
|
57155
|
+
rSquared: ed(e, t, n, o, v)
|
|
57154
57156
|
};
|
|
57155
57157
|
}
|
|
57156
57158
|
function Oz(e, t, n, r) {
|
|
@@ -57179,7 +57181,7 @@ function Oz(e, t, n, r) {
|
|
|
57179
57181
|
return {
|
|
57180
57182
|
coef: Pie(d, h, -o, s),
|
|
57181
57183
|
predict: E,
|
|
57182
|
-
rSquared:
|
|
57184
|
+
rSquared: ed(e, t, n, s, E)
|
|
57183
57185
|
};
|
|
57184
57186
|
}
|
|
57185
57187
|
function Pie(e, t, n, r) {
|
|
@@ -58276,7 +58278,7 @@ ae(YO, gt, {
|
|
|
58276
58278
|
}
|
|
58277
58279
|
});
|
|
58278
58280
|
function cE(e) {
|
|
58279
|
-
Y.call(this, {}, e), this._keys =
|
|
58281
|
+
Y.call(this, {}, e), this._keys = Ku();
|
|
58280
58282
|
const t = this._targets = [];
|
|
58281
58283
|
t.active = 0, t.forEach = (n) => {
|
|
58282
58284
|
for (let r = 0, i = t.active; r < i; ++r)
|
|
@@ -58344,7 +58346,7 @@ function lae(e) {
|
|
|
58344
58346
|
return this.value && !e.modified() ? this.value : Ee(e.name) ? Ce(e.name).map((t) => _i(t)) : _i(e.name, e.as);
|
|
58345
58347
|
}
|
|
58346
58348
|
function zO(e) {
|
|
58347
|
-
Y.call(this,
|
|
58349
|
+
Y.call(this, Ku(), e);
|
|
58348
58350
|
}
|
|
58349
58351
|
zO.Definition = {
|
|
58350
58352
|
type: "Filter",
|
|
@@ -58844,7 +58846,7 @@ function Sae(e, t, n) {
|
|
|
58844
58846
|
return n.visit(n.SOURCE, (a) => {
|
|
58845
58847
|
const o = e(a);
|
|
58846
58848
|
r[o] || (r[o] = 1, i.push(o));
|
|
58847
|
-
}), i.sort(
|
|
58849
|
+
}), i.sort(Wu), t ? i.slice(0, t) : i;
|
|
58848
58850
|
}
|
|
58849
58851
|
function Kz(e) {
|
|
58850
58852
|
cE.call(this, e);
|
|
@@ -59112,7 +59114,7 @@ nx.Definition = {
|
|
|
59112
59114
|
};
|
|
59113
59115
|
ae(nx, Y, {
|
|
59114
59116
|
transform(e, t) {
|
|
59115
|
-
const n = e.field, r = e.interval !== !1, i = e.timezone === "utc", a = this._floor(e, t), o = (i ?
|
|
59117
|
+
const n = e.field, r = e.interval !== !1, i = e.timezone === "utc", a = this._floor(e, t), o = (i ? Ju : Zu)(a.unit).offset, s = e.as || Zz, l = s[0], c = s[1], u = a.step;
|
|
59116
59118
|
let d = a.start || 1 / 0, f = a.stop || -1 / 0, _ = t.ADD;
|
|
59117
59119
|
return (e.modified() || t.changed(t.REM) || t.modified($n(n))) && (t = t.reflow(!0), _ = t.SOURCE, d = 1 / 0, f = -1 / 0), t.visit(_, (p) => {
|
|
59118
59120
|
const m = n(p);
|
|
@@ -59135,7 +59137,7 @@ ae(nx, Y, {
|
|
|
59135
59137
|
}
|
|
59136
59138
|
});
|
|
59137
59139
|
function Jz(e) {
|
|
59138
|
-
Y.call(this,
|
|
59140
|
+
Y.call(this, Ku(), e);
|
|
59139
59141
|
}
|
|
59140
59142
|
ae(Jz, Y, {
|
|
59141
59143
|
transform(e, t) {
|
|
@@ -59415,7 +59417,7 @@ ae(rx, Y, {
|
|
|
59415
59417
|
}
|
|
59416
59418
|
});
|
|
59417
59419
|
function Aae(e, t, n, r) {
|
|
59418
|
-
const i = r.sort, a = i && !r.ignorePeers, o = r.frame || [null, 0], s = e.data(n), l = s.length, c = a ?
|
|
59420
|
+
const i = r.sort, a = i && !r.ignorePeers, o = r.frame || [null, 0], s = e.data(n), l = s.length, c = a ? Qu(i) : null, u = {
|
|
59419
59421
|
i0: 0,
|
|
59420
59422
|
i1: 0,
|
|
59421
59423
|
p0: 0,
|
|
@@ -59483,9 +59485,9 @@ function at(e) {
|
|
|
59483
59485
|
return e;
|
|
59484
59486
|
};
|
|
59485
59487
|
}
|
|
59486
|
-
const MF = Math.abs, wn = Math.atan2, zs = Math.cos, Iae = Math.max, EC = Math.min, la = Math.sin, dl = Math.sqrt, Ln = 1e-12,
|
|
59488
|
+
const MF = Math.abs, wn = Math.atan2, zs = Math.cos, Iae = Math.max, EC = Math.min, la = Math.sin, dl = Math.sqrt, Ln = 1e-12, mu = Math.PI, cg = mu / 2, rq = 2 * mu;
|
|
59487
59489
|
function Dae(e) {
|
|
59488
|
-
return e > 1 ? 0 : e < -1 ?
|
|
59490
|
+
return e > 1 ? 0 : e < -1 ? mu : Math.acos(e);
|
|
59489
59491
|
}
|
|
59490
59492
|
function LF(e) {
|
|
59491
59493
|
return e >= 1 ? cg : e <= -1 ? -cg : Math.asin(e);
|
|
@@ -59616,7 +59618,7 @@ function $ae() {
|
|
|
59616
59618
|
var D = _ * zs(E), B = _ * la(E), U = f * zs(b), M = f * la(b);
|
|
59617
59619
|
if (x > Ln) {
|
|
59618
59620
|
var $ = _ * zs(S), Q = _ * la(S), K = f * zs(T), j = f * la(T), z;
|
|
59619
|
-
if (g <
|
|
59621
|
+
if (g < mu)
|
|
59620
59622
|
if (z = Uae(D, B, K, j, $, Q, U, M)) {
|
|
59621
59623
|
var se = D - z[0], le = B - z[1], ue = $ - z[0], q = Q - z[1], J = 1 / la(Dae((se * ue + le * q) / (dl(se * se + le * le) * dl(ue * ue + q * q))) / 2), ce = dl(z[0] * z[0] + z[1] * z[1]);
|
|
59622
59624
|
N = EC(x, (f - ce) / (J - 1)), F = EC(x, (_ - ce) / (J + 1));
|
|
@@ -59628,7 +59630,7 @@ function $ae() {
|
|
|
59628
59630
|
if (s.closePath(), u) return s = null, u + "" || null;
|
|
59629
59631
|
}
|
|
59630
59632
|
return c.centroid = function() {
|
|
59631
|
-
var u = (+e.apply(this, arguments) + +t.apply(this, arguments)) / 2, d = (+i.apply(this, arguments) + +a.apply(this, arguments)) / 2 -
|
|
59633
|
+
var u = (+e.apply(this, arguments) + +t.apply(this, arguments)) / 2, d = (+i.apply(this, arguments) + +a.apply(this, arguments)) / 2 - mu / 2;
|
|
59632
59634
|
return [zs(d) * u, la(d) * u];
|
|
59633
59635
|
}, c.innerRadius = function(u) {
|
|
59634
59636
|
return arguments.length ? (e = typeof u == "function" ? u : at(+u), c) : e;
|
|
@@ -59759,7 +59761,7 @@ function uq(e, t, n) {
|
|
|
59759
59761
|
}
|
|
59760
59762
|
const Gae = {
|
|
59761
59763
|
draw(e, t) {
|
|
59762
|
-
const n = dl(t /
|
|
59764
|
+
const n = dl(t / mu);
|
|
59763
59765
|
e.moveTo(n, 0), e.arc(0, 0, n, 0, rq);
|
|
59764
59766
|
}
|
|
59765
59767
|
};
|
|
@@ -60524,7 +60526,7 @@ function ux() {
|
|
|
60524
60526
|
return ux(t, n).unknown(r);
|
|
60525
60527
|
}, Pa.apply(i, arguments), i;
|
|
60526
60528
|
}
|
|
60527
|
-
function
|
|
60529
|
+
function td(e, t, n) {
|
|
60528
60530
|
e.prototype = t.prototype = n, n.constructor = e;
|
|
60529
60531
|
}
|
|
60530
60532
|
function I_(e, t) {
|
|
@@ -60534,7 +60536,7 @@ function I_(e, t) {
|
|
|
60534
60536
|
}
|
|
60535
60537
|
function Ns() {
|
|
60536
60538
|
}
|
|
60537
|
-
var Il = 0.7,
|
|
60539
|
+
var Il = 0.7, gu = 1 / Il, Zc = "\\s*([+-]?\\d+)\\s*", Xf = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", ba = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", soe = /^#([0-9a-f]{3,8})$/, loe = new RegExp(`^rgb\\(${Zc},${Zc},${Zc}\\)$`), coe = new RegExp(`^rgb\\(${ba},${ba},${ba}\\)$`), uoe = new RegExp(`^rgba\\(${Zc},${Zc},${Zc},${Xf}\\)$`), doe = new RegExp(`^rgba\\(${ba},${ba},${ba},${Xf}\\)$`), foe = new RegExp(`^hsl\\(${Xf},${ba},${ba}\\)$`), _oe = new RegExp(`^hsla\\(${Xf},${ba},${ba},${Xf}\\)$`), UF = {
|
|
60538
60540
|
aliceblue: 15792383,
|
|
60539
60541
|
antiquewhite: 16444375,
|
|
60540
60542
|
aqua: 65535,
|
|
@@ -60684,7 +60686,7 @@ var Il = 0.7, mu = 1 / Il, jc = "\\s*([+-]?\\d+)\\s*", Xf = "\\s*([+-]?(?:\\d*\\
|
|
|
60684
60686
|
yellow: 16776960,
|
|
60685
60687
|
yellowgreen: 10145074
|
|
60686
60688
|
};
|
|
60687
|
-
|
|
60689
|
+
td(Ns, jf, {
|
|
60688
60690
|
copy(e) {
|
|
60689
60691
|
return Object.assign(new this.constructor(), this, e);
|
|
60690
60692
|
},
|
|
@@ -60730,9 +60732,9 @@ function ms(e, t, n, r) {
|
|
|
60730
60732
|
function cn(e, t, n, r) {
|
|
60731
60733
|
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
|
|
60732
60734
|
}
|
|
60733
|
-
|
|
60735
|
+
td(cn, ms, I_(Ns, {
|
|
60734
60736
|
brighter(e) {
|
|
60735
|
-
return e = e == null ?
|
|
60737
|
+
return e = e == null ? gu : Math.pow(gu, e), new cn(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
60736
60738
|
},
|
|
60737
60739
|
darker(e) {
|
|
60738
60740
|
return e = e == null ? Il : Math.pow(Il, e), new cn(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
@@ -60789,9 +60791,9 @@ function pg(e, t, n, r) {
|
|
|
60789
60791
|
function ki(e, t, n, r) {
|
|
60790
60792
|
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
|
|
60791
60793
|
}
|
|
60792
|
-
|
|
60794
|
+
td(ki, pg, I_(Ns, {
|
|
60793
60795
|
brighter(e) {
|
|
60794
|
-
return e = e == null ?
|
|
60796
|
+
return e = e == null ? gu : Math.pow(gu, e), new ki(this.h, this.s, this.l * e, this.opacity);
|
|
60795
60797
|
},
|
|
60796
60798
|
darker(e) {
|
|
60797
60799
|
return e = e == null ? Il : Math.pow(Il, e), new ki(this.h, this.s, this.l * e, this.opacity);
|
|
@@ -60825,7 +60827,7 @@ function Up(e) {
|
|
|
60825
60827
|
function bC(e, t, n) {
|
|
60826
60828
|
return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
|
|
60827
60829
|
}
|
|
60828
|
-
const yq = Math.PI / 180, vq = 180 / Math.PI, mg = 18, Cq = 0.96422, Rq = 1, Aq = 0.82521, Nq = 4 / 29,
|
|
60830
|
+
const yq = Math.PI / 180, vq = 180 / Math.PI, mg = 18, Cq = 0.96422, Rq = 1, Aq = 0.82521, Nq = 4 / 29, Jc = 6 / 29, Oq = 3 * Jc * Jc, hoe = Jc * Jc * Jc;
|
|
60829
60831
|
function xq(e) {
|
|
60830
60832
|
if (e instanceof Ta) return new Ta(e.l, e.a, e.b, e.opacity);
|
|
60831
60833
|
if (e instanceof fo) return Iq(e);
|
|
@@ -60839,7 +60841,7 @@ function gg(e, t, n, r) {
|
|
|
60839
60841
|
function Ta(e, t, n, r) {
|
|
60840
60842
|
this.l = +e, this.a = +t, this.b = +n, this.opacity = +r;
|
|
60841
60843
|
}
|
|
60842
|
-
|
|
60844
|
+
td(Ta, gg, I_(Ns, {
|
|
60843
60845
|
brighter(e) {
|
|
60844
60846
|
return new Ta(this.l + mg * (e ?? 1), this.a, this.b, this.opacity);
|
|
60845
60847
|
},
|
|
@@ -60860,7 +60862,7 @@ function TC(e) {
|
|
|
60860
60862
|
return e > hoe ? Math.pow(e, 1 / 3) : e / Oq + Nq;
|
|
60861
60863
|
}
|
|
60862
60864
|
function yC(e) {
|
|
60863
|
-
return e >
|
|
60865
|
+
return e > Jc ? e * e * e : Oq * (e - Nq);
|
|
60864
60866
|
}
|
|
60865
60867
|
function vC(e) {
|
|
60866
60868
|
return 255 * (e <= 31308e-7 ? 12.92 * e : 1.055 * Math.pow(e, 1 / 2.4) - 0.055);
|
|
@@ -60885,7 +60887,7 @@ function Iq(e) {
|
|
|
60885
60887
|
var t = e.h * yq;
|
|
60886
60888
|
return new Ta(e.l, Math.cos(t) * e.c, Math.sin(t) * e.c, e.opacity);
|
|
60887
60889
|
}
|
|
60888
|
-
|
|
60890
|
+
td(fo, hg, I_(Ns, {
|
|
60889
60891
|
brighter(e) {
|
|
60890
60892
|
return new fo(this.h, this.c, this.l + mg * (e ?? 1), this.opacity);
|
|
60891
60893
|
},
|
|
@@ -60909,9 +60911,9 @@ function R0(e, t, n, r) {
|
|
|
60909
60911
|
function Sl(e, t, n, r) {
|
|
60910
60912
|
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
|
|
60911
60913
|
}
|
|
60912
|
-
|
|
60914
|
+
td(Sl, R0, I_(Ns, {
|
|
60913
60915
|
brighter(e) {
|
|
60914
|
-
return e = e == null ?
|
|
60916
|
+
return e = e == null ? gu : Math.pow(gu, e), new Sl(this.h, this.s, this.l * e, this.opacity);
|
|
60915
60917
|
},
|
|
60916
60918
|
darker(e) {
|
|
60917
60919
|
return e = e == null ? Il : Math.pow(Il, e), new Sl(this.h, this.s, this.l * e, this.opacity);
|
|
@@ -61625,10 +61627,10 @@ function bx(e, t, n, r, i, a, o, s, l, c) {
|
|
|
61625
61627
|
}, u;
|
|
61626
61628
|
}
|
|
61627
61629
|
function ose() {
|
|
61628
|
-
return Pa.apply(bx(fne, _ne, Oa, Hf,
|
|
61630
|
+
return Pa.apply(bx(fne, _ne, Oa, Hf, Xu, go, Qh, Wh, uo, sO).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
|
|
61629
61631
|
}
|
|
61630
61632
|
function sse() {
|
|
61631
|
-
return Pa.apply(bx(une, dne, xa, Vf,
|
|
61633
|
+
return Pa.apply(bx(une, dne, xa, Vf, ju, as, Xh, Kh, uo, lO).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
|
|
61632
61634
|
}
|
|
61633
61635
|
function EE() {
|
|
61634
61636
|
var e = 0, t = 1, n, r, i, a, o = Cr, s = !1, l;
|
|
@@ -61744,7 +61746,7 @@ function Cx(e, t, n) {
|
|
|
61744
61746
|
const r = e - t + n * 2;
|
|
61745
61747
|
return e ? r > 0 ? r : 1 : 0;
|
|
61746
61748
|
}
|
|
61747
|
-
const bse = "identity",
|
|
61749
|
+
const bse = "identity", hu = "linear", Co = "log", M_ = "pow", L_ = "sqrt", bE = "symlog", Dl = "time", wl = "utc", ya = "sequential", nd = "diverging", Eu = "quantile", TE = "quantize", yE = "threshold", Rx = "ordinal", D0 = "point", l6 = "band", Ax = "bin-ordinal", an = "continuous", k_ = "discrete", P_ = "discretizing", Ti = "interpolating", Nx = "temporal";
|
|
61748
61750
|
function Tse(e) {
|
|
61749
61751
|
return function(t) {
|
|
61750
61752
|
let n = t[0], r = t[1], i;
|
|
@@ -61852,7 +61854,7 @@ function tt(e, t, n) {
|
|
|
61852
61854
|
return arguments.length > 1 ? (Eg.set(e, Nse(e, t, n)), this) : _6(e) ? Eg.get(e) : void 0;
|
|
61853
61855
|
}
|
|
61854
61856
|
tt(bse, Xq);
|
|
61855
|
-
tt(
|
|
61857
|
+
tt(hu, Qq, an);
|
|
61856
61858
|
tt(Co, Zq, [an, Co]);
|
|
61857
61859
|
tt(M_, Sx, an);
|
|
61858
61860
|
tt(L_, rse, an);
|
|
@@ -61860,17 +61862,17 @@ tt(bE, Jq, an);
|
|
|
61860
61862
|
tt(Dl, ose, [an, Nx]);
|
|
61861
61863
|
tt(wl, sse, [an, Nx]);
|
|
61862
61864
|
tt(ya, Tx, [an, Ti]);
|
|
61863
|
-
tt(`${ya}-${
|
|
61865
|
+
tt(`${ya}-${hu}`, Tx, [an, Ti]);
|
|
61864
61866
|
tt(`${ya}-${Co}`, r6, [an, Ti, Co]);
|
|
61865
61867
|
tt(`${ya}-${M_}`, yx, [an, Ti]);
|
|
61866
61868
|
tt(`${ya}-${L_}`, lse, [an, Ti]);
|
|
61867
61869
|
tt(`${ya}-${bE}`, i6, [an, Ti]);
|
|
61868
|
-
tt(`${
|
|
61869
|
-
tt(`${
|
|
61870
|
-
tt(`${
|
|
61871
|
-
tt(`${
|
|
61872
|
-
tt(`${
|
|
61873
|
-
tt(
|
|
61870
|
+
tt(`${nd}-${hu}`, a6, [an, Ti]);
|
|
61871
|
+
tt(`${nd}-${Co}`, o6, [an, Ti, Co]);
|
|
61872
|
+
tt(`${nd}-${M_}`, vx, [an, Ti]);
|
|
61873
|
+
tt(`${nd}-${L_}`, cse, [an, Ti]);
|
|
61874
|
+
tt(`${nd}-${bE}`, s6, [an, Ti]);
|
|
61875
|
+
tt(Eu, e6, [P_, Eu]);
|
|
61874
61876
|
tt(TE, t6, P_);
|
|
61875
61877
|
tt(yE, n6, P_);
|
|
61876
61878
|
tt(Ax, u6, [k_, P_]);
|
|
@@ -61887,7 +61889,7 @@ function oc(e, t) {
|
|
|
61887
61889
|
function xx(e) {
|
|
61888
61890
|
return oc(e, an);
|
|
61889
61891
|
}
|
|
61890
|
-
function
|
|
61892
|
+
function Su(e) {
|
|
61891
61893
|
return oc(e, k_);
|
|
61892
61894
|
}
|
|
61893
61895
|
function w0(e) {
|
|
@@ -61903,7 +61905,7 @@ function m6(e) {
|
|
|
61903
61905
|
return oc(e, Ti);
|
|
61904
61906
|
}
|
|
61905
61907
|
function g6(e) {
|
|
61906
|
-
return oc(e,
|
|
61908
|
+
return oc(e, Eu);
|
|
61907
61909
|
}
|
|
61908
61910
|
const xse = ["clamp", "base", "constant", "exponent"];
|
|
61909
61911
|
function h6(e, t) {
|
|
@@ -62022,7 +62024,7 @@ function Dx(e, t) {
|
|
|
62022
62024
|
const Rm = "symbol", Mse = "discrete", Lse = "gradient", kse = (e) => Ee(e) ? e.map((t) => String(t)) : String(e), Pse = (e, t) => e[1] - t[1], Fse = (e, t) => t[1] - e[1];
|
|
62023
62025
|
function wx(e, t, n) {
|
|
62024
62026
|
let r;
|
|
62025
|
-
return us(t) && (e.bins && (t = Math.max(t, e.bins.length)), n != null && (t = Math.min(t, Math.floor(A_(e.domain()) / n || 1) + 1))), De(t) && (r = t.step, t = t.interval), Ke(t) && (t = e.type === Dl ?
|
|
62027
|
+
return us(t) && (e.bins && (t = Math.max(t, e.bins.length)), n != null && (t = Math.min(t, Math.floor(A_(e.domain()) / n || 1) + 1))), De(t) && (r = t.step, t = t.interval), Ke(t) && (t = e.type === Dl ? Zu(t) : e.type == wl ? Ju(t) : W("Only time and utc scales accept interval strings."), r && (t = t.every(r))), t;
|
|
62026
62028
|
}
|
|
62027
62029
|
function y6(e, t, n) {
|
|
62028
62030
|
let r = e.range(), i = r[0], a = He(r), o = Pse;
|
|
@@ -62066,11 +62068,11 @@ function C6(e, t, n) {
|
|
|
62066
62068
|
return n ? r.filter(s) : s;
|
|
62067
62069
|
}
|
|
62068
62070
|
const M0 = {
|
|
62069
|
-
[
|
|
62071
|
+
[Eu]: "quantiles",
|
|
62070
62072
|
[TE]: "thresholds",
|
|
62071
62073
|
[yE]: "domain"
|
|
62072
62074
|
}, R6 = {
|
|
62073
|
-
[
|
|
62075
|
+
[Eu]: "quantiles",
|
|
62074
62076
|
[TE]: "domain"
|
|
62075
62077
|
};
|
|
62076
62078
|
function A6(e, t) {
|
|
@@ -62119,7 +62121,7 @@ function O6(e, t, n) {
|
|
|
62119
62121
|
if (w0(t.type)) {
|
|
62120
62122
|
const a = A6(t).slice(1).map(i), o = a.length;
|
|
62121
62123
|
return `${o} boundar${o === 1 ? "y" : "ies"}: ${a.join(", ")}`;
|
|
62122
|
-
} else if (
|
|
62124
|
+
} else if (Su(t.type)) {
|
|
62123
62125
|
const a = t.domain(), o = a.length, s = o > r ? a.slice(0, r - 2).map(i).join(", ") + ", ending with " + a.slice(-1).map(i) : a.map(i).join(", ");
|
|
62124
62126
|
return `${o} value${o === 1 ? "" : "s"}: ${s}`;
|
|
62125
62127
|
} else {
|
|
@@ -62244,7 +62246,7 @@ const Kse = {
|
|
|
62244
62246
|
t: 2,
|
|
62245
62247
|
a: 7
|
|
62246
62248
|
}, Qse = /[mlhvzcsqta]([^mlhvzcsqta]+|$)/gi, Xse = /^[+-]?(([0-9]*\.[0-9]+)|([0-9]+\.)|([0-9]+))([eE][+-]?[0-9]+)?/, jse = /^((\s+,?\s*)|(,\s*))/, Zse = /^[01]/;
|
|
62247
|
-
function
|
|
62249
|
+
function bu(e) {
|
|
62248
62250
|
const t = [];
|
|
62249
62251
|
return (e.match(Qse) || []).forEach((r) => {
|
|
62250
62252
|
let i = r[0];
|
|
@@ -62271,7 +62273,7 @@ function Jse(e, t, n) {
|
|
|
62271
62273
|
}
|
|
62272
62274
|
return r;
|
|
62273
62275
|
}
|
|
62274
|
-
const gs = Math.PI / 180, ele = 1e-14, sl = Math.PI / 2, ma = Math.PI * 2,
|
|
62276
|
+
const gs = Math.PI / 180, ele = 1e-14, sl = Math.PI / 2, ma = Math.PI * 2, Dc = Math.sqrt(3) / 2;
|
|
62275
62277
|
var AC = {}, NC = {}, w6 = [].join;
|
|
62276
62278
|
function tle(e, t, n, r, i, a, o, s, l) {
|
|
62277
62279
|
const c = w6.call(arguments);
|
|
@@ -62454,37 +62456,37 @@ const d2 = 0.5773502691896257, f2 = {
|
|
|
62454
62456
|
},
|
|
62455
62457
|
wedge: {
|
|
62456
62458
|
draw: function(e, t) {
|
|
62457
|
-
var n = Math.sqrt(t) / 2, r =
|
|
62459
|
+
var n = Math.sqrt(t) / 2, r = Dc * n, i = r - n * d2, a = n / 4;
|
|
62458
62460
|
e.moveTo(0, -r - i), e.lineTo(-a, r - i), e.lineTo(a, r - i), e.closePath();
|
|
62459
62461
|
}
|
|
62460
62462
|
},
|
|
62461
62463
|
triangle: {
|
|
62462
62464
|
draw: function(e, t) {
|
|
62463
|
-
var n = Math.sqrt(t) / 2, r =
|
|
62465
|
+
var n = Math.sqrt(t) / 2, r = Dc * n, i = r - n * d2;
|
|
62464
62466
|
e.moveTo(0, -r - i), e.lineTo(-n, r - i), e.lineTo(n, r - i), e.closePath();
|
|
62465
62467
|
}
|
|
62466
62468
|
},
|
|
62467
62469
|
"triangle-up": {
|
|
62468
62470
|
draw: function(e, t) {
|
|
62469
|
-
var n = Math.sqrt(t) / 2, r =
|
|
62471
|
+
var n = Math.sqrt(t) / 2, r = Dc * n;
|
|
62470
62472
|
e.moveTo(0, -r), e.lineTo(-n, r), e.lineTo(n, r), e.closePath();
|
|
62471
62473
|
}
|
|
62472
62474
|
},
|
|
62473
62475
|
"triangle-down": {
|
|
62474
62476
|
draw: function(e, t) {
|
|
62475
|
-
var n = Math.sqrt(t) / 2, r =
|
|
62477
|
+
var n = Math.sqrt(t) / 2, r = Dc * n;
|
|
62476
62478
|
e.moveTo(0, r), e.lineTo(-n, -r), e.lineTo(n, -r), e.closePath();
|
|
62477
62479
|
}
|
|
62478
62480
|
},
|
|
62479
62481
|
"triangle-right": {
|
|
62480
62482
|
draw: function(e, t) {
|
|
62481
|
-
var n = Math.sqrt(t) / 2, r =
|
|
62483
|
+
var n = Math.sqrt(t) / 2, r = Dc * n;
|
|
62482
62484
|
e.moveTo(r, 0), e.lineTo(-r, -n), e.lineTo(-r, n), e.closePath();
|
|
62483
62485
|
}
|
|
62484
62486
|
},
|
|
62485
62487
|
"triangle-left": {
|
|
62486
62488
|
draw: function(e, t) {
|
|
62487
|
-
var n = Math.sqrt(t) / 2, r =
|
|
62489
|
+
var n = Math.sqrt(t) / 2, r = Dc * n;
|
|
62488
62490
|
e.moveTo(-r, 0), e.lineTo(r, -n), e.lineTo(r, n), e.closePath();
|
|
62489
62491
|
}
|
|
62490
62492
|
},
|
|
@@ -62501,7 +62503,7 @@ function M6(e) {
|
|
|
62501
62503
|
var OC = {};
|
|
62502
62504
|
function ile(e) {
|
|
62503
62505
|
if (!Ne(OC, e)) {
|
|
62504
|
-
const t =
|
|
62506
|
+
const t = bu(e);
|
|
62505
62507
|
OC[e] = {
|
|
62506
62508
|
draw: function(n, r) {
|
|
62507
62509
|
Jf(n, t, 0, 0, Math.sqrt(r) / 2);
|
|
@@ -62609,7 +62611,7 @@ function kle(e, t) {
|
|
|
62609
62611
|
const n = t[0], r = n.interpolate || "linear";
|
|
62610
62612
|
return xle.curve(kx(r, n.orient, n.tension)).context(e)(t);
|
|
62611
62613
|
}
|
|
62612
|
-
function
|
|
62614
|
+
function rd(e, t, n, r) {
|
|
62613
62615
|
return Ile.context(e)(t, n, r);
|
|
62614
62616
|
}
|
|
62615
62617
|
function Ple(e, t) {
|
|
@@ -62629,14 +62631,14 @@ function Fx(e, t, n) {
|
|
|
62629
62631
|
var r = t.clip, i = e._defs, a = t.clip_id || (t.clip_id = "clip" + P6++), o = i.clipping[a] || (i.clipping[a] = {
|
|
62630
62632
|
id: a
|
|
62631
62633
|
});
|
|
62632
|
-
return Pe(r) ? o.path = r(null) : Px(n) ? o.path =
|
|
62634
|
+
return Pe(r) ? o.path = r(null) : Px(n) ? o.path = rd(null, n, 0, 0) : (o.width = n.width || 0, o.height = n.height || 0), "url(#" + a + ")";
|
|
62633
62635
|
}
|
|
62634
|
-
function
|
|
62636
|
+
function Qt(e) {
|
|
62635
62637
|
this.clear(), e && this.union(e);
|
|
62636
62638
|
}
|
|
62637
|
-
|
|
62639
|
+
Qt.prototype = {
|
|
62638
62640
|
clone() {
|
|
62639
|
-
return new
|
|
62641
|
+
return new Qt(this);
|
|
62640
62642
|
},
|
|
62641
62643
|
clear() {
|
|
62642
62644
|
return this.x1 = +Number.MAX_VALUE, this.y1 = +Number.MAX_VALUE, this.x2 = -Number.MAX_VALUE, this.y2 = -Number.MAX_VALUE, this;
|
|
@@ -62704,7 +62706,7 @@ Kt.prototype = {
|
|
|
62704
62706
|
}
|
|
62705
62707
|
};
|
|
62706
62708
|
function RE(e) {
|
|
62707
|
-
this.mark = e, this.bounds = this.bounds || new
|
|
62709
|
+
this.mark = e, this.bounds = this.bounds || new Qt();
|
|
62708
62710
|
}
|
|
62709
62711
|
function AE(e) {
|
|
62710
62712
|
RE.call(this, e), this.items = this.items || [];
|
|
@@ -62821,7 +62823,7 @@ function E2(e, t, n, r, i) {
|
|
|
62821
62823
|
return o * a * t + 3 * o * e * n + 3 * a * s * r + s * e * i;
|
|
62822
62824
|
}
|
|
62823
62825
|
var ls = (ls = ss(1, 1)) ? ls.getContext("2d") : null;
|
|
62824
|
-
const F0 = new
|
|
62826
|
+
const F0 = new Qt();
|
|
62825
62827
|
function Bx(e) {
|
|
62826
62828
|
return function(t, n) {
|
|
62827
62829
|
if (!ls) return !0;
|
|
@@ -62848,9 +62850,9 @@ function U6(e, t) {
|
|
|
62848
62850
|
}
|
|
62849
62851
|
function $6(e, t) {
|
|
62850
62852
|
const n = e.x || 0, r = e.y || 0, i = e.x2 != null ? e.x2 : n, a = e.y2 != null ? e.y2 : r;
|
|
62851
|
-
return
|
|
62853
|
+
return Hc(t, n, r, i, a);
|
|
62852
62854
|
}
|
|
62853
|
-
function
|
|
62855
|
+
function Hc(e, t, n, r, i) {
|
|
62854
62856
|
const {
|
|
62855
62857
|
x1: a,
|
|
62856
62858
|
y1: o,
|
|
@@ -62870,7 +62872,7 @@ function qc(e, t, n, r, i) {
|
|
|
62870
62872
|
}
|
|
62871
62873
|
return !0;
|
|
62872
62874
|
}
|
|
62873
|
-
function
|
|
62875
|
+
function Tu(e, t) {
|
|
62874
62876
|
e.globalCompositeOperation = t.blend || "source-over";
|
|
62875
62877
|
}
|
|
62876
62878
|
function Ni(e, t) {
|
|
@@ -62905,7 +62907,7 @@ function bg(e, t, n) {
|
|
|
62905
62907
|
return n *= t.fillOpacity == null ? 1 : t.fillOpacity, n > 0 ? (e.globalAlpha = n, e.fillStyle = G6(e, t, t.fill), !0) : !1;
|
|
62906
62908
|
}
|
|
62907
62909
|
var zle = [];
|
|
62908
|
-
function
|
|
62910
|
+
function yu(e, t, n) {
|
|
62909
62911
|
var r = (r = t.strokeWidth) != null ? r : 1;
|
|
62910
62912
|
return r <= 0 ? !1 : (n *= t.strokeOpacity == null ? 1 : t.strokeOpacity, n > 0 ? (e.globalAlpha = n, e.strokeStyle = G6(e, t, t.stroke), e.lineWidth = r, e.lineCap = t.strokeCap || "butt", e.lineJoin = t.strokeJoin || "miter", e.miterLimit = t.strokeMiterLimit || 10, e.setLineDash && (e.setLineDash(t.strokeDash || zle), e.lineDashOffset = t.strokeDashOffset || 0), !0) : !1);
|
|
62911
62913
|
}
|
|
@@ -62958,7 +62960,7 @@ function Hle(e) {
|
|
|
62958
62960
|
}
|
|
62959
62961
|
function Y6(e, t, n, r) {
|
|
62960
62962
|
var i = n.opacity == null ? 1 : n.opacity;
|
|
62961
|
-
i !== 0 && (e(t, r) || (
|
|
62963
|
+
i !== 0 && (e(t, r) || (Tu(t, n), n.fill && bg(t, n, i) && t.fill(), n.stroke && yu(t, n, i) && t.stroke()));
|
|
62962
62964
|
}
|
|
62963
62965
|
function OE(e) {
|
|
62964
62966
|
return e = e || pi, function(t, n, r, i, a, o) {
|
|
@@ -63071,7 +63073,7 @@ function ece(e, t) {
|
|
|
63071
63073
|
e.save(), Pe(n) ? (e.beginPath(), n(e), e.clip()) : q6(e, t.group);
|
|
63072
63074
|
}
|
|
63073
63075
|
function q6(e, t) {
|
|
63074
|
-
e.beginPath(), Px(t) ?
|
|
63076
|
+
e.beginPath(), Px(t) ? rd(e, t, 0, 0) : e.rect(0, 0, t.width || 0, t.height || 0), e.clip();
|
|
63075
63077
|
}
|
|
63076
63078
|
function H6(e) {
|
|
63077
63079
|
const t = Ni(e.strokeWidth, 1);
|
|
@@ -63082,7 +63084,7 @@ function tce(e, t) {
|
|
|
63082
63084
|
}
|
|
63083
63085
|
function V6(e, t) {
|
|
63084
63086
|
const n = H6(t);
|
|
63085
|
-
e("d",
|
|
63087
|
+
e("d", rd(null, t, n, n));
|
|
63086
63088
|
}
|
|
63087
63089
|
function nce(e, t) {
|
|
63088
63090
|
e("class", "background"), e("aria-hidden", !0), V6(e, t);
|
|
@@ -63104,15 +63106,15 @@ function ace(e, t) {
|
|
|
63104
63106
|
}
|
|
63105
63107
|
function e_(e, t, n, r) {
|
|
63106
63108
|
const i = H6(t);
|
|
63107
|
-
e.beginPath(),
|
|
63109
|
+
e.beginPath(), rd(e, t, (n || 0) + i, (r || 0) + i);
|
|
63108
63110
|
}
|
|
63109
63111
|
const oce = G_(e_), sce = G_(e_, !1), lce = G_(e_, !0);
|
|
63110
63112
|
function cce(e, t, n, r) {
|
|
63111
63113
|
Hi(t, (i) => {
|
|
63112
63114
|
const a = i.x || 0, o = i.y || 0, s = i.strokeForeground, l = i.opacity == null ? 1 : i.opacity;
|
|
63113
|
-
(i.stroke || i.fill) && l && (e_(e, i, a, o),
|
|
63115
|
+
(i.stroke || i.fill) && l && (e_(e, i, a, o), Tu(e, i), i.fill && bg(e, i, l) && e.fill(), i.stroke && !s && yu(e, i, l) && e.stroke()), e.save(), e.translate(a, o), i.clip && q6(e, i), n && n.translate(-a, -o), Hi(i, (c) => {
|
|
63114
63116
|
(c.marktype === "group" || r == null || r.includes(c.marktype)) && this.draw(e, c, n, r);
|
|
63115
|
-
}), n && n.translate(a, o), e.restore(), s && i.stroke && l && (e_(e, i, a, o),
|
|
63117
|
+
}), n && n.translate(a, o), e.restore(), s && i.stroke && l && (e_(e, i, a, o), Tu(e, i), yu(e, i, l) && e.stroke());
|
|
63116
63118
|
});
|
|
63117
63119
|
}
|
|
63118
63120
|
function uce(e, t, n, r, i, a) {
|
|
@@ -63189,7 +63191,7 @@ function mce(e, t, n) {
|
|
|
63189
63191
|
let a = Wx(r, i), o = Kx(r, i);
|
|
63190
63192
|
if (a === 0 || o === 0) return;
|
|
63191
63193
|
let s = (r.x || 0) - xE(r.align, a), l = (r.y || 0) - IE(r.baseline, o), c, u, d, f;
|
|
63192
|
-
r.aspect !== !1 && (u = i.width / i.height, d = r.width / r.height, u === u && d === d && u !== d && (d < u ? (f = a / u, l += (o - f) / 2, o = f) : (f = o * u, s += (a - f) / 2, a = f))), (i.complete || i.toDataURL) && (
|
|
63194
|
+
r.aspect !== !1 && (u = i.width / i.height, d = r.width / r.height, u === u && d === d && u !== d && (d < u ? (f = a / u, l += (o - f) / 2, o = f) : (f = o * u, s += (a - f) / 2, a = f))), (i.complete || i.toDataURL) && (Tu(e, r), e.globalAlpha = (c = r.opacity) != null ? c : 1, e.imageSmoothingEnabled = r.smooth !== !1, e.drawImage(i, s, l, a, o));
|
|
63193
63195
|
});
|
|
63194
63196
|
}
|
|
63195
63197
|
var gce = {
|
|
@@ -63214,7 +63216,7 @@ function Im(e, t) {
|
|
|
63214
63216
|
var n = t.path;
|
|
63215
63217
|
if (n == null) return !0;
|
|
63216
63218
|
var r = t.x || 0, i = t.y || 0, a = t.scaleX || 1, o = t.scaleY || 1, s = (t.angle || 0) * gs, l = t.pathCache;
|
|
63217
|
-
(!l || l.path !== n) && ((t.pathCache = l =
|
|
63219
|
+
(!l || l.path !== n) && ((t.pathCache = l = bu(n)).path = n), s && e.rotate && e.translate ? (e.translate(r, i), e.rotate(s), Jf(e, l, 0, 0, a, o), e.rotate(-s), e.translate(-r, -i)) : Jf(e, l, r, i, a, o);
|
|
63218
63220
|
}
|
|
63219
63221
|
function Sce(e, t) {
|
|
63220
63222
|
return Im($_(e, t.angle), t) ? e.set(0, 0, 0, 0) : xo(e, t, !0);
|
|
@@ -63230,14 +63232,14 @@ var bce = {
|
|
|
63230
63232
|
isect: Bx(Im)
|
|
63231
63233
|
};
|
|
63232
63234
|
function Tce(e, t) {
|
|
63233
|
-
e("d",
|
|
63235
|
+
e("d", rd(null, t));
|
|
63234
63236
|
}
|
|
63235
63237
|
function yce(e, t) {
|
|
63236
63238
|
var n, r;
|
|
63237
63239
|
return xo(e.set(n = t.x || 0, r = t.y || 0, n + t.width || 0, r + t.height || 0), t);
|
|
63238
63240
|
}
|
|
63239
63241
|
function b2(e, t) {
|
|
63240
|
-
e.beginPath(),
|
|
63242
|
+
e.beginPath(), rd(e, t);
|
|
63241
63243
|
}
|
|
63242
63244
|
var vce = {
|
|
63243
63245
|
type: "rect",
|
|
@@ -63258,13 +63260,13 @@ function Rce(e, t) {
|
|
|
63258
63260
|
}
|
|
63259
63261
|
function W6(e, t, n) {
|
|
63260
63262
|
var r, i, a, o;
|
|
63261
|
-
return t.stroke &&
|
|
63263
|
+
return t.stroke && yu(e, t, n) ? (r = t.x || 0, i = t.y || 0, a = t.x2 != null ? t.x2 : r, o = t.y2 != null ? t.y2 : i, e.beginPath(), e.moveTo(r, i), e.lineTo(a, o), !0) : !1;
|
|
63262
63264
|
}
|
|
63263
63265
|
function Ace(e, t, n) {
|
|
63264
63266
|
Hi(t, (r) => {
|
|
63265
63267
|
if (!(n && !n.intersects(r.bounds))) {
|
|
63266
63268
|
var i = r.opacity == null ? 1 : r.opacity;
|
|
63267
|
-
i && W6(e, r, i) && (
|
|
63269
|
+
i && W6(e, r, i) && (Tu(e, r), e.stroke());
|
|
63268
63270
|
}
|
|
63269
63271
|
});
|
|
63270
63272
|
}
|
|
@@ -63366,7 +63368,7 @@ const Lce = {
|
|
|
63366
63368
|
left: "start",
|
|
63367
63369
|
center: "middle",
|
|
63368
63370
|
right: "end"
|
|
63369
|
-
}, Af = new
|
|
63371
|
+
}, Af = new Qt();
|
|
63370
63372
|
function wE(e) {
|
|
63371
63373
|
var t = e.x || 0, n = e.y || 0, r = e.radius || 0, i;
|
|
63372
63374
|
return r && (i = (e.theta || 0) - sl, t += r * Math.cos(i), n += r * Math.sin(i)), Af.x1 = t, Af.y1 = n, Af;
|
|
@@ -63388,11 +63390,11 @@ function Pce(e, t, n) {
|
|
|
63388
63390
|
var i = r.opacity == null ? 1 : r.opacity, a, o, s, l, c, u, d;
|
|
63389
63391
|
if (!(n && !n.intersects(r.bounds) || // bounds check
|
|
63390
63392
|
i === 0 || r.fontSize <= 0 || r.text == null || r.text.length === 0)) {
|
|
63391
|
-
if (e.font = DE(r), e.textAlign = r.align || "left", a = wE(r), o = a.x1, s = a.y1, r.angle && (e.save(), e.translate(o, s), e.rotate(r.angle * gs), o = s = 0), o += r.dx || 0, s += (r.dy || 0) + jx(r), u = Y_(r),
|
|
63393
|
+
if (e.font = DE(r), e.textAlign = r.align || "left", a = wE(r), o = a.x1, s = a.y1, r.angle && (e.save(), e.translate(o, s), e.rotate(r.angle * gs), o = s = 0), o += r.dx || 0, s += (r.dy || 0) + jx(r), u = Y_(r), Tu(e, r), Ee(u))
|
|
63392
63394
|
for (c = hs(r), l = 0; l < u.length; ++l)
|
|
63393
|
-
d = Es(r, u[l]), r.fill && bg(e, r, i) && e.fillText(d, o, s), r.stroke &&
|
|
63395
|
+
d = Es(r, u[l]), r.fill && bg(e, r, i) && e.fillText(d, o, s), r.stroke && yu(e, r, i) && e.strokeText(d, o, s), s += c;
|
|
63394
63396
|
else
|
|
63395
|
-
d = Es(r, u), r.fill && bg(e, r, i) && e.fillText(d, o, s), r.stroke &&
|
|
63397
|
+
d = Es(r, u), r.fill && bg(e, r, i) && e.fillText(d, o, s), r.stroke && yu(e, r, i) && e.strokeText(d, o, s);
|
|
63396
63398
|
r.angle && e.restore();
|
|
63397
63399
|
}
|
|
63398
63400
|
});
|
|
@@ -63405,7 +63407,7 @@ function Fce(e, t, n, r, i, a) {
|
|
|
63405
63407
|
}
|
|
63406
63408
|
function Bce(e, t) {
|
|
63407
63409
|
const n = Zx(Af, e, 2);
|
|
63408
|
-
return
|
|
63410
|
+
return Hc(t, n[0], n[1], n[2], n[3]) || Hc(t, n[0], n[1], n[4], n[5]) || Hc(t, n[4], n[5], n[6], n[7]) || Hc(t, n[2], n[3], n[6], n[7]);
|
|
63409
63411
|
}
|
|
63410
63412
|
var Uce = {
|
|
63411
63413
|
type: "text",
|
|
@@ -63432,7 +63434,7 @@ var Uce = {
|
|
|
63432
63434
|
};
|
|
63433
63435
|
function B0(e, t, n) {
|
|
63434
63436
|
var r = Kr[e.mark.marktype], i = t || r.bound;
|
|
63435
|
-
return r.nested && (e = e.mark), i(e.bounds || (e.bounds = new
|
|
63437
|
+
return r.nested && (e = e.mark), i(e.bounds || (e.bounds = new Qt()), e, n);
|
|
63436
63438
|
}
|
|
63437
63439
|
var y2 = {
|
|
63438
63440
|
mark: null
|
|
@@ -63441,7 +63443,7 @@ function j6(e, t, n) {
|
|
|
63441
63443
|
var r = Kr[e.marktype], i = r.bound, a = e.items, o = a && a.length, s, l, c, u;
|
|
63442
63444
|
if (r.nested)
|
|
63443
63445
|
return o ? c = a[0] : (y2.mark = e, c = y2), u = B0(c, i, n), t = t && t.union(u) || u, t;
|
|
63444
|
-
if (t = t || e.bounds && e.bounds.clear() || new
|
|
63446
|
+
if (t = t || e.bounds && e.bounds.clear() || new Qt(), o)
|
|
63445
63447
|
for (s = 0, l = a.length; s < l; ++s)
|
|
63446
63448
|
t.union(B0(a[s], i, n));
|
|
63447
63449
|
return e.bounds = t;
|
|
@@ -63566,7 +63568,7 @@ class tH {
|
|
|
63566
63568
|
}
|
|
63567
63569
|
function v2(e, t) {
|
|
63568
63570
|
const n = {
|
|
63569
|
-
bounds: new
|
|
63571
|
+
bounds: new Qt(),
|
|
63570
63572
|
clip: !!e.clip,
|
|
63571
63573
|
group: t,
|
|
63572
63574
|
interactive: e.interactive !== !1,
|
|
@@ -64023,7 +64025,7 @@ function tue(e, t, n, r, i, a) {
|
|
|
64023
64025
|
}
|
|
64024
64026
|
class xg extends q_ {
|
|
64025
64027
|
constructor(t) {
|
|
64026
|
-
super(t), this._options = {}, this._redraw = !1, this._dirty = new
|
|
64028
|
+
super(t), this._options = {}, this._redraw = !1, this._dirty = new Qt(), this._tempb = new Qt();
|
|
64027
64029
|
}
|
|
64028
64030
|
initialize(t, n, r, i, a, o) {
|
|
64029
64031
|
return this._options = o || {}, this._canvas = this._options.externalContext ? null : ss(1, 1, this._options.type), t && this._canvas && (ri(t, 0).appendChild(this._canvas), this._canvas.setAttribute("class", "marks")), super.initialize(t, n, r, i, a);
|
|
@@ -64067,7 +64069,7 @@ class xg extends q_ {
|
|
|
64067
64069
|
a.type !== "pdf" && !a.externalContext && o.clearRect(t, n, r, i), this._bgcolor != null && (o.fillStyle = this._bgcolor, o.fillRect(t, n, r, i));
|
|
64068
64070
|
}
|
|
64069
64071
|
}
|
|
64070
|
-
const nue = (e, t, n) => new
|
|
64072
|
+
const nue = (e, t, n) => new Qt().set(0, 0, t, n).translate(-e[0], -e[1]);
|
|
64071
64073
|
function rue(e, t, n) {
|
|
64072
64074
|
return t.expand(1).round(), e.pixelRatio % 1 && t.scale(e.pixelRatio).round().scale(1 / e.pixelRatio), t.translate(-(n[0] % 1), -(n[1] % 1)), e.beginPath(), e.rect(t.x1, t.y1, t.width(), t.height()), e.clip(), t;
|
|
64073
64075
|
}
|
|
@@ -64168,7 +64170,7 @@ function x2(e) {
|
|
|
64168
64170
|
}
|
|
64169
64171
|
function sue(e) {
|
|
64170
64172
|
const t = e.datum, n = e.orient, r = t.title ? mH(e) : null, i = e.context, a = i.scales[t.scale].value, o = i.dataflow.locale(), s = a.type;
|
|
64171
|
-
return `${n === "left" || n === "right" ? "Y" : "X"}-axis` + (r ? ` titled '${r}'` : "") + ` for a ${
|
|
64173
|
+
return `${n === "left" || n === "right" ? "Y" : "X"}-axis` + (r ? ` titled '${r}'` : "") + ` for a ${Su(s) ? "discrete" : s} scale with ${O6(o, a, e)}`;
|
|
64172
64174
|
}
|
|
64173
64175
|
function lue(e) {
|
|
64174
64176
|
const t = e.datum, n = t.title ? mH(e) : null, r = `${t.type || ""} legend`.trim(), i = t.scales, a = Object.keys(i), o = e.context, s = o.scales[i[a[0]]].value, l = o.dataflow.locale();
|
|
@@ -64825,7 +64827,7 @@ function LE(e, t) {
|
|
|
64825
64827
|
return e = String(e || "").toLowerCase(), arguments.length > 1 ? (Ml[e] = t, this) : Ml[e];
|
|
64826
64828
|
}
|
|
64827
64829
|
function OH(e, t, n) {
|
|
64828
|
-
const r = [], i = new
|
|
64830
|
+
const r = [], i = new Qt().union(t), a = e.marktype;
|
|
64829
64831
|
return a ? xH(e, i, n, r) : a === "group" ? IH(e, i, n, r) : W("Intersect scene must be mark node or group item.");
|
|
64830
64832
|
}
|
|
64831
64833
|
function xH(e, t, n, r) {
|
|
@@ -64862,7 +64864,7 @@ function DH(e, t, n) {
|
|
|
64862
64864
|
const r = e.bounds;
|
|
64863
64865
|
return t.encloses(r) || t.intersects(r) && n(e, t);
|
|
64864
64866
|
}
|
|
64865
|
-
const wC = new
|
|
64867
|
+
const wC = new Qt();
|
|
64866
64868
|
function wH(e) {
|
|
64867
64869
|
const t = e.clip;
|
|
64868
64870
|
if (Pe(t))
|
|
@@ -64877,7 +64879,7 @@ function sI(e, t, n) {
|
|
|
64877
64879
|
return e === t ? !0 : n === "path" ? MH(e, t) : e instanceof Date && t instanceof Date ? +e == +t : us(e) && us(t) ? Math.abs(e - t) <= Tue : !e || !t || !De(e) && !De(t) ? e == t : yue(e, t);
|
|
64878
64880
|
}
|
|
64879
64881
|
function MH(e, t) {
|
|
64880
|
-
return sI(
|
|
64882
|
+
return sI(bu(e), bu(t));
|
|
64881
64883
|
}
|
|
64882
64884
|
function yue(e, t) {
|
|
64883
64885
|
var n = Object.keys(e), r = Object.keys(t), i, a;
|
|
@@ -64891,7 +64893,7 @@ function yue(e, t) {
|
|
|
64891
64893
|
function vue() {
|
|
64892
64894
|
F6(), Wse();
|
|
64893
64895
|
}
|
|
64894
|
-
const
|
|
64896
|
+
const vu = "top", Pi = "left", Fi = "right", Ss = "bottom", Cue = "top-left", Rue = "top-right", Aue = "bottom-left", Nue = "bottom-right", lI = "start", q0 = "middle", Jn = "end", Oue = "x", xue = "y", kE = "group", cI = "axis", uI = "title", Iue = "frame", Due = "scope", dI = "legend", LH = "row-header", kH = "row-footer", PH = "row-title", FH = "column-header", BH = "column-footer", UH = "column-title", wue = "padding", Mue = "symbol", $H = "fit", GH = "fit-x", YH = "fit-y", Lue = "pad", fI = "none", Yp = "all", H0 = "each", _I = "flush", Jo = "column", es = "row";
|
|
64895
64897
|
function zH(e) {
|
|
64896
64898
|
Y.call(this, null, e);
|
|
64897
64899
|
}
|
|
@@ -64978,8 +64980,8 @@ const L2 = {
|
|
|
64978
64980
|
const t = e.bounds;
|
|
64979
64981
|
return t.width() > 1 && t.height() > 1;
|
|
64980
64982
|
}, Bue = (e, t, n) => {
|
|
64981
|
-
var r = e.range(), i = new
|
|
64982
|
-
return t ===
|
|
64983
|
+
var r = e.range(), i = new Qt();
|
|
64984
|
+
return t === vu || t === Ss ? i.set(r[0], -1 / 0, r[1], 1 / 0) : i.set(-1 / 0, r[0], 1 / 0, r[1]), i.expand(n || 1), (a) => i.encloses(a.bounds);
|
|
64983
64985
|
}, P2 = (e) => (e.forEach((t) => t.opacity = 1), e), F2 = (e, t) => e.reflow(t.modified()).modifies("opacity");
|
|
64984
64986
|
ae(HH, Y, {
|
|
64985
64987
|
transform(e, t) {
|
|
@@ -65016,8 +65018,8 @@ ae(WH, Y, {
|
|
|
65016
65018
|
}
|
|
65017
65019
|
}
|
|
65018
65020
|
});
|
|
65019
|
-
const kn = new
|
|
65020
|
-
function
|
|
65021
|
+
const kn = new Qt();
|
|
65022
|
+
function Vc(e, t, n) {
|
|
65021
65023
|
return e[t] === n ? 0 : (e[t] = n, 1);
|
|
65022
65024
|
}
|
|
65023
65025
|
function Uue(e) {
|
|
@@ -65038,7 +65040,7 @@ function $ue(e) {
|
|
|
65038
65040
|
function Gue(e, t, n, r) {
|
|
65039
65041
|
var i = t.items[0], a = i.datum, o = i.translate != null ? i.translate : 0.5, s = i.orient, l = $ue(a), c = i.range, u = i.offset, d = i.position, f = i.minExtent, _ = i.maxExtent, p = a.title && i.items[l[2]].items[0], m = i.titlePadding, g = i.bounds, h = p && Xx(p), E = 0, S = 0, T, b;
|
|
65040
65042
|
switch (kn.clear().union(g), g.clear(), (T = l[0]) > -1 && g.union(i.items[T].bounds), (T = l[1]) > -1 && g.union(i.items[T].bounds), s) {
|
|
65041
|
-
case
|
|
65043
|
+
case vu:
|
|
65042
65044
|
E = d || 0, S = -u, b = Math.max(f, Math.min(_, -g.y1)), g.add(0, -b).add(c, 0), p && qp(e, p, b, m, h, 0, -1, g);
|
|
65043
65045
|
break;
|
|
65044
65046
|
case Pi:
|
|
@@ -65053,7 +65055,7 @@ function Gue(e, t, n, r) {
|
|
|
65053
65055
|
default:
|
|
65054
65056
|
E = i.x, S = i.y;
|
|
65055
65057
|
}
|
|
65056
|
-
return xo(g.translate(E, S), i),
|
|
65058
|
+
return xo(g.translate(E, S), i), Vc(i, "x", E + o) | Vc(i, "y", S + o) && (i.bounds = kn, e.dirty(i), i.bounds = g, e.dirty(i)), i.mark.bounds.clear().union(g);
|
|
65057
65059
|
}
|
|
65058
65060
|
function qp(e, t, n, r, i, a, o, s) {
|
|
65059
65061
|
const l = t.bounds;
|
|
@@ -65107,7 +65109,7 @@ function Yue(e) {
|
|
|
65107
65109
|
return o;
|
|
65108
65110
|
}
|
|
65109
65111
|
function zue(e) {
|
|
65110
|
-
return new
|
|
65112
|
+
return new Qt().set(0, 0, e.width || 0, e.height || 0);
|
|
65111
65113
|
}
|
|
65112
65114
|
function que(e) {
|
|
65113
65115
|
const t = e.bounds.clone();
|
|
@@ -65260,7 +65262,7 @@ function Xue(e, t, n, r, i, a, o) {
|
|
|
65260
65262
|
row: c
|
|
65261
65263
|
};
|
|
65262
65264
|
break;
|
|
65263
|
-
case
|
|
65265
|
+
case vu:
|
|
65264
65266
|
d.anchor = {
|
|
65265
65267
|
y: Math.floor(i.y1) - l,
|
|
65266
65268
|
row: Jn,
|
|
@@ -65331,21 +65333,21 @@ function Jue(e, t, n) {
|
|
|
65331
65333
|
}
|
|
65332
65334
|
switch ((i || a) && Ud(e, n, i, a), o.orient) {
|
|
65333
65335
|
case Pi:
|
|
65334
|
-
u +=
|
|
65336
|
+
u += wc(t, n, o, s, 1, 1);
|
|
65335
65337
|
break;
|
|
65336
65338
|
case Fi:
|
|
65337
|
-
c +=
|
|
65339
|
+
c += wc(t, n, o, Jn, 0, 0) + l, u += wc(t, n, o, s, 1, 1);
|
|
65338
65340
|
break;
|
|
65339
65341
|
case Ss:
|
|
65340
|
-
c +=
|
|
65342
|
+
c += wc(t, n, o, s, 0, 0), u += wc(t, n, o, Jn, -1, 0, 1) + l;
|
|
65341
65343
|
break;
|
|
65342
65344
|
default:
|
|
65343
|
-
c +=
|
|
65345
|
+
c += wc(t, n, o, s, 0, 0);
|
|
65344
65346
|
}
|
|
65345
65347
|
(c || u) && Ud(e, o, c, u), (c = Math.round(o.bounds.x1 - r)) < 0 && (Ud(e, n, -c, 0), Ud(e, o, -c, 0));
|
|
65346
65348
|
}
|
|
65347
65349
|
}
|
|
65348
|
-
function
|
|
65350
|
+
function wc(e, t, n, r, i, a, o) {
|
|
65349
65351
|
const s = e.datum.type !== "symbol", l = n.datum.vgrad, c = s && (a || !l) && !o ? t.items[0] : t, u = c.bounds[i ? "y2" : "x2"] - e.padding, d = l && a ? u : 0, f = l && a ? 0 : u, _ = i <= 0 ? 0 : Xx(n);
|
|
65350
65352
|
return Math.round(r === lI ? d : r === Jn ? f - _ : 0.5 * (u - _));
|
|
65351
65353
|
}
|
|
@@ -65362,7 +65364,7 @@ function tde(e, t, n, r, i) {
|
|
|
65362
65364
|
var a = t.items[0], o = a.frame, s = a.orient, l = a.anchor, c = a.offset, u = a.padding, d = a.items[0].items[0], f = a.items[1] && a.items[1].items[0], _ = s === Pi || s === Fi ? r : n, p = 0, m = 0, g = 0, h = 0, E = 0, S;
|
|
65363
65365
|
if (o !== kE ? s === Pi ? (p = i.y2, _ = i.y1) : s === Fi ? (p = i.y1, _ = i.y2) : (p = i.x1, _ = i.x2) : s === Pi && (p = r, _ = 0), S = l === lI ? p : l === Jn ? _ : (p + _) / 2, f && f.text) {
|
|
65364
65366
|
switch (s) {
|
|
65365
|
-
case
|
|
65367
|
+
case vu:
|
|
65366
65368
|
case Ss:
|
|
65367
65369
|
E = d.bounds.height() + u;
|
|
65368
65370
|
break;
|
|
@@ -65373,11 +65375,11 @@ function tde(e, t, n, r, i) {
|
|
|
65373
65375
|
h = -d.bounds.width() - u;
|
|
65374
65376
|
break;
|
|
65375
65377
|
}
|
|
65376
|
-
kn.clear().union(f.bounds), kn.translate(h - (f.x || 0), E - (f.y || 0)),
|
|
65378
|
+
kn.clear().union(f.bounds), kn.translate(h - (f.x || 0), E - (f.y || 0)), Vc(f, "x", h) | Vc(f, "y", E) && (e.dirty(f), f.bounds.clear().union(kn), f.mark.bounds.clear().union(kn), e.dirty(f)), kn.clear().union(f.bounds);
|
|
65377
65379
|
} else
|
|
65378
65380
|
kn.clear();
|
|
65379
65381
|
switch (kn.union(d.bounds), s) {
|
|
65380
|
-
case
|
|
65382
|
+
case vu:
|
|
65381
65383
|
m = S, g = i.y1 - kn.height() - c;
|
|
65382
65384
|
break;
|
|
65383
65385
|
case Pi:
|
|
@@ -65392,7 +65394,7 @@ function tde(e, t, n, r, i) {
|
|
|
65392
65394
|
default:
|
|
65393
65395
|
m = a.x, g = a.y;
|
|
65394
65396
|
}
|
|
65395
|
-
return
|
|
65397
|
+
return Vc(a, "x", m) | Vc(a, "y", g) && (kn.translate(m, g), e.dirty(a), a.bounds.clear().union(kn), t.bounds.clear().union(kn), e.dirty(a)), a.bounds;
|
|
65396
65398
|
}
|
|
65397
65399
|
function QH(e) {
|
|
65398
65400
|
Y.call(this, null, e);
|
|
@@ -65409,7 +65411,7 @@ function nde(e) {
|
|
|
65409
65411
|
return e && e.mark.role !== "legend-entry";
|
|
65410
65412
|
}
|
|
65411
65413
|
function rde(e, t, n) {
|
|
65412
|
-
var r = t.items, i = Math.max(0, t.width || 0), a = Math.max(0, t.height || 0), o = new
|
|
65414
|
+
var r = t.items, i = Math.max(0, t.width || 0), a = Math.max(0, t.height || 0), o = new Qt().set(0, 0, i, a), s = o.clone(), l = o.clone(), c = [], u, d, f, _, p, m;
|
|
65413
65415
|
for (p = 0, m = r.length; p < m; ++p)
|
|
65414
65416
|
switch (d = r[p], d.role) {
|
|
65415
65417
|
case cI:
|
|
@@ -65451,7 +65453,7 @@ function rde(e, t, n) {
|
|
|
65451
65453
|
case Fi:
|
|
65452
65454
|
o.add(E.x1, 0).add(E.x2, 0);
|
|
65453
65455
|
break;
|
|
65454
|
-
case
|
|
65456
|
+
case vu:
|
|
65455
65457
|
case Ss:
|
|
65456
65458
|
o.add(0, E.y1).add(0, E.y2);
|
|
65457
65459
|
}
|
|
@@ -65509,7 +65511,7 @@ function ode() {
|
|
|
65509
65511
|
return nt({});
|
|
65510
65512
|
}
|
|
65511
65513
|
function sde(e) {
|
|
65512
|
-
const t =
|
|
65514
|
+
const t = Ku().test((n) => n.exit);
|
|
65513
65515
|
return t.lookup = (n) => t.get(e(n)), t;
|
|
65514
65516
|
}
|
|
65515
65517
|
ae(jH, Y, {
|
|
@@ -65662,7 +65664,7 @@ const e5 = (e, t, n, r) => "M" + e + "," + t + "L" + n + "," + r, fde = (e, t, n
|
|
|
65662
65664
|
}, bde = (e, t, n, r) => {
|
|
65663
65665
|
const i = Math.cos(e), a = Math.sin(e), o = Math.cos(n), s = Math.sin(n), l = (t + r) / 2;
|
|
65664
65666
|
return "M" + t * i + "," + t * a + "C" + l * i + "," + l * a + " " + l * o + "," + l * s + " " + r * o + "," + r * s;
|
|
65665
|
-
}, Y2 =
|
|
65667
|
+
}, Y2 = Ku({
|
|
65666
65668
|
line: e5,
|
|
65667
65669
|
"line-radial": fde,
|
|
65668
65670
|
arc: t5,
|
|
@@ -65709,7 +65711,7 @@ gI.Definition = {
|
|
|
65709
65711
|
};
|
|
65710
65712
|
ae(gI, Y, {
|
|
65711
65713
|
transform(e, t) {
|
|
65712
|
-
var n = e.as || ["startAngle", "endAngle"], r = n[0], i = n[1], a = e.field ||
|
|
65714
|
+
var n = e.as || ["startAngle", "endAngle"], r = n[0], i = n[1], a = e.field || Vu, o = e.startAngle || 0, s = e.endAngle != null ? e.endAngle : 2 * Math.PI, l = t.source, c = l.map(a), u = c.length, d = o, f = (s - o) / gY(c), _ = Ur(u), p, m, g;
|
|
65713
65715
|
for (e.sort && _.sort((h, E) => c[h] - c[E]), p = 0; p < u; ++p)
|
|
65714
65716
|
g = c[_[p]], m = l[_[p]], m[r] = d, m[i] = d += g * f;
|
|
65715
65717
|
return this.value = c, t.reflow(e.modified()).modifies(n);
|
|
@@ -65718,7 +65720,7 @@ ae(gI, Y, {
|
|
|
65718
65720
|
const Tde = 5;
|
|
65719
65721
|
function yde(e) {
|
|
65720
65722
|
const t = e.type;
|
|
65721
|
-
return !e.bins && (t ===
|
|
65723
|
+
return !e.bins && (t === hu || t === M_ || t === L_);
|
|
65722
65724
|
}
|
|
65723
65725
|
function r5(e) {
|
|
65724
65726
|
return xx(e) && e !== ya;
|
|
@@ -65740,7 +65742,7 @@ ae(i5, Y, {
|
|
|
65740
65742
|
});
|
|
65741
65743
|
function Cde(e) {
|
|
65742
65744
|
var t = e.type, n = "", r;
|
|
65743
|
-
return t === ya ? ya + "-" +
|
|
65745
|
+
return t === ya ? ya + "-" + hu : (Rde(e) && (r = e.rawDomain ? e.rawDomain.length : e.domain ? e.domain.length + +(e.domainMid != null) : 0, n = r === 2 ? ya + "-" : r === 3 ? nd + "-" : ""), (n + t || hu).toLowerCase());
|
|
65744
65746
|
}
|
|
65745
65747
|
function Rde(e) {
|
|
65746
65748
|
const t = e.type;
|
|
@@ -65801,7 +65803,7 @@ function Dde(e, t, n) {
|
|
|
65801
65803
|
}
|
|
65802
65804
|
function wde(e, t, n) {
|
|
65803
65805
|
var r = t.schemeExtent, i, a;
|
|
65804
|
-
return Ee(t.scheme) ? a = vE(t.scheme, t.interpolate, t.interpolateGamma) : (i = t.scheme.toLowerCase(), a = Dx(i), a || W(`Unrecognized scheme name: ${t.scheme}`)), n = e === yE ? n + 1 : e === Ax ? n - 1 : e ===
|
|
65806
|
+
return Ee(t.scheme) ? a = vE(t.scheme, t.interpolate, t.interpolateGamma) : (i = t.scheme.toLowerCase(), a = Dx(i), a || W(`Unrecognized scheme name: ${t.scheme}`)), n = e === yE ? n + 1 : e === Ax ? n - 1 : e === Eu || e === TE ? +t.schemeCount || Tde : n, m6(e) ? z2(a, r, t.reverse) : Pe(a) ? E6(z2(a, r), n) : e === Rx ? a : a.slice(0, n);
|
|
65805
65807
|
}
|
|
65806
65808
|
function z2(e, t, n) {
|
|
65807
65809
|
return Pe(e) && (t || n) ? h6(e, V0(t || [0, 1], n)) : e;
|
|
@@ -65852,7 +65854,7 @@ hI.Definition = {
|
|
|
65852
65854
|
};
|
|
65853
65855
|
ae(hI, Y, {
|
|
65854
65856
|
transform(e, t) {
|
|
65855
|
-
var n = e.as || c5, r = n[0], i = n[1], a = rc(e.sort), o = e.field ||
|
|
65857
|
+
var n = e.as || c5, r = n[0], i = n[1], a = rc(e.sort), o = e.field || Vu, s = e.offset === s5 ? Mde : e.offset === l5 ? Lde : kde, l, c, u, d;
|
|
65856
65858
|
for (l = Pde(t.source, e.groupby, a, o), c = 0, u = l.length, d = l.max; c < u; ++c)
|
|
65857
65859
|
s(l[c], d, o, r, i);
|
|
65858
65860
|
return t.reflow(e.modified()).modifies(n);
|
|
@@ -65896,7 +65898,7 @@ const Fde = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
65896
65898
|
sortitems: o5,
|
|
65897
65899
|
stack: hI
|
|
65898
65900
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
65899
|
-
var Ae = 1e-6, W0 = 1e-12, Ue = Math.PI, Ft = Ue / 2, wg = Ue / 4, fr = Ue * 2, $t = 180 / Ue, Be = Ue / 180, qe = Math.abs,
|
|
65901
|
+
var Ae = 1e-6, W0 = 1e-12, Ue = Math.PI, Ft = Ue / 2, wg = Ue / 4, fr = Ue * 2, $t = 180 / Ue, Be = Ue / 180, qe = Math.abs, id = Math.atan, hi = Math.atan2, Re = Math.cos, Vp = Math.ceil, u5 = Math.exp, K0 = Math.hypot, Mg = Math.log, MC = Math.pow, ye = Math.sin, si = Math.sign || function(e) {
|
|
65900
65902
|
return e > 0 ? 1 : e < 0 ? -1 : 0;
|
|
65901
65903
|
}, _r = Math.sqrt, EI = Math.tan;
|
|
65902
65904
|
function d5(e) {
|
|
@@ -65998,7 +66000,7 @@ function Ll(e) {
|
|
|
65998
66000
|
function Wp(e, t) {
|
|
65999
66001
|
return e[0] * t[0] + e[1] * t[1] + e[2] * t[2];
|
|
66000
66002
|
}
|
|
66001
|
-
function
|
|
66003
|
+
function Cu(e, t) {
|
|
66002
66004
|
return [e[1] * t[2] - e[2] * t[1], e[2] * t[0] - e[0] * t[2], e[0] * t[1] - e[1] * t[0]];
|
|
66003
66005
|
}
|
|
66004
66006
|
function LC(e, t) {
|
|
@@ -66011,7 +66013,7 @@ function Bg(e) {
|
|
|
66011
66013
|
var t = _r(e[0] * e[0] + e[1] * e[1] + e[2] * e[2]);
|
|
66012
66014
|
e[0] /= t, e[1] /= t, e[2] /= t;
|
|
66013
66015
|
}
|
|
66014
|
-
var Dt, Tr, Lt, Pr, il, m5, g5,
|
|
66016
|
+
var Dt, Tr, Lt, Pr, il, m5, g5, eu, xf, qo, Ro, ro = {
|
|
66015
66017
|
point: J0,
|
|
66016
66018
|
lineStart: K2,
|
|
66017
66019
|
lineEnd: Q2,
|
|
@@ -66030,23 +66032,23 @@ function J0(e, t) {
|
|
|
66030
66032
|
}
|
|
66031
66033
|
function h5(e, t) {
|
|
66032
66034
|
var n = Ll([e * Be, t * Be]);
|
|
66033
|
-
if (
|
|
66034
|
-
var r =
|
|
66035
|
+
if (eu) {
|
|
66036
|
+
var r = Cu(eu, n), i = [r[1], -r[0], 0], a = Cu(i, r);
|
|
66035
66037
|
Bg(a), a = Fg(a);
|
|
66036
66038
|
var o = e - il, s = o > 0 ? 1 : -1, l = a[0] * $t * s, c, u = qe(o) > 180;
|
|
66037
66039
|
u ^ (s * il < l && l < s * e) ? (c = a[1] * $t, c > Pr && (Pr = c)) : (l = (l + 360) % 360 - 180, u ^ (s * il < l && l < s * e) ? (c = -a[1] * $t, c < Tr && (Tr = c)) : (t < Tr && (Tr = t), t > Pr && (Pr = t))), u ? e < il ? kr(Dt, e) > kr(Dt, Lt) && (Lt = e) : kr(e, Lt) > kr(Dt, Lt) && (Dt = e) : Lt >= Dt ? (e < Dt && (Dt = e), e > Lt && (Lt = e)) : e > il ? kr(Dt, e) > kr(Dt, Lt) && (Lt = e) : kr(e, Lt) > kr(Dt, Lt) && (Dt = e);
|
|
66038
66040
|
} else
|
|
66039
66041
|
qo.push(Ro = [Dt = e, Lt = e]);
|
|
66040
|
-
t < Tr && (Tr = t), t > Pr && (Pr = t),
|
|
66042
|
+
t < Tr && (Tr = t), t > Pr && (Pr = t), eu = n, il = e;
|
|
66041
66043
|
}
|
|
66042
66044
|
function K2() {
|
|
66043
66045
|
ro.point = h5;
|
|
66044
66046
|
}
|
|
66045
66047
|
function Q2() {
|
|
66046
|
-
Ro[0] = Dt, Ro[1] = Lt, ro.point = J0,
|
|
66048
|
+
Ro[0] = Dt, Ro[1] = Lt, ro.point = J0, eu = null;
|
|
66047
66049
|
}
|
|
66048
66050
|
function E5(e, t) {
|
|
66049
|
-
if (
|
|
66051
|
+
if (eu) {
|
|
66050
66052
|
var n = e - il;
|
|
66051
66053
|
xf.add(qe(n) > 180 ? n + (n > 0 ? 360 : -360) : n);
|
|
66052
66054
|
} else
|
|
@@ -66057,7 +66059,7 @@ function Yde() {
|
|
|
66057
66059
|
Da.lineStart();
|
|
66058
66060
|
}
|
|
66059
66061
|
function zde() {
|
|
66060
|
-
E5(m5, g5), Da.lineEnd(), qe(xf) > Ae && (Dt = -(Lt = 180)), Ro[0] = Dt, Ro[1] = Lt,
|
|
66062
|
+
E5(m5, g5), Da.lineEnd(), qe(xf) > Ae && (Dt = -(Lt = 180)), Ro[0] = Dt, Ro[1] = Lt, eu = null;
|
|
66061
66063
|
}
|
|
66062
66064
|
function kr(e, t) {
|
|
66063
66065
|
return (t -= e) < 0 ? t + 360 : t;
|
|
@@ -66282,9 +66284,9 @@ function efe(e, t) {
|
|
|
66282
66284
|
for (var d, f, _ = d[f - 1], p = kC(_), m = _[1] / 2 + wg, g = ye(m), h = Re(m), E = 0; E < f; ++E, p = T, g = v, h = y, _ = S) {
|
|
66283
66285
|
var S = d[E], T = kC(S), b = S[1] / 2 + wg, v = ye(b), y = Re(b), C = T - p, R = C >= 0 ? 1 : -1, x = R * C, N = x > Ue, F = g * v;
|
|
66284
66286
|
if (l.add(hi(F * R * ye(x), h * y + F * Re(x))), o += N ? C + R * fr : C, N ^ p >= n ^ T >= n) {
|
|
66285
|
-
var k =
|
|
66287
|
+
var k = Cu(Ll(_), Ll(S));
|
|
66286
66288
|
Bg(k);
|
|
66287
|
-
var I =
|
|
66289
|
+
var I = Cu(a, k);
|
|
66288
66290
|
Bg(I);
|
|
66289
66291
|
var O = (N ^ C >= 0 ? -1 : 1) * Or(I[2]);
|
|
66290
66292
|
(r > O || r === O && (k[0] || k[1])) && (s += N ^ C >= 0 ? 1 : -1);
|
|
@@ -66379,7 +66381,7 @@ function rfe(e) {
|
|
|
66379
66381
|
}
|
|
66380
66382
|
function ife(e, t, n, r) {
|
|
66381
66383
|
var i, a, o = ye(e - n);
|
|
66382
|
-
return qe(o) > Ae ?
|
|
66384
|
+
return qe(o) > Ae ? id((ye(t) * (a = Re(r)) * ye(n) - ye(r) * (i = Re(t)) * ye(e)) / (i * a * o)) : (t + r) / 2;
|
|
66383
66385
|
}
|
|
66384
66386
|
function afe(e, t, n, r) {
|
|
66385
66387
|
var i;
|
|
@@ -66426,9 +66428,9 @@ function ofe(e) {
|
|
|
66426
66428
|
};
|
|
66427
66429
|
}
|
|
66428
66430
|
function l(u, d, f) {
|
|
66429
|
-
var _ = Ll(u), p = Ll(d), m = [1, 0, 0], g =
|
|
66431
|
+
var _ = Ll(u), p = Ll(d), m = [1, 0, 0], g = Cu(_, p), h = Wp(g, g), E = g[0], S = h - E * E;
|
|
66430
66432
|
if (!S) return !f && u;
|
|
66431
|
-
var T = t * h / S, b = -t * E / S, v =
|
|
66433
|
+
var T = t * h / S, b = -t * E / S, v = Cu(m, g), y = Kp(m, T), C = Kp(g, b);
|
|
66432
66434
|
LC(y, C);
|
|
66433
66435
|
var R = v, x = Wp(y, R), N = Wp(R, R), F = x * x - N * (Wp(y, y) - 1);
|
|
66434
66436
|
if (!(F < 0)) {
|
|
@@ -66644,21 +66646,21 @@ function x5(e, t) {
|
|
|
66644
66646
|
function dfe() {
|
|
66645
66647
|
x5(N5, O5);
|
|
66646
66648
|
}
|
|
66647
|
-
var
|
|
66649
|
+
var Ru = 1 / 0, Vg = Ru, r_ = -Ru, Wg = r_, Kg = {
|
|
66648
66650
|
point: ffe,
|
|
66649
66651
|
lineStart: Cn,
|
|
66650
66652
|
lineEnd: Cn,
|
|
66651
66653
|
polygonStart: Cn,
|
|
66652
66654
|
polygonEnd: Cn,
|
|
66653
66655
|
result: function() {
|
|
66654
|
-
var e = [[
|
|
66655
|
-
return r_ = Wg = -(Vg =
|
|
66656
|
+
var e = [[Ru, Vg], [r_, Wg]];
|
|
66657
|
+
return r_ = Wg = -(Vg = Ru = 1 / 0), e;
|
|
66656
66658
|
}
|
|
66657
66659
|
};
|
|
66658
66660
|
function ffe(e, t) {
|
|
66659
|
-
e <
|
|
66661
|
+
e < Ru && (Ru = e), e > r_ && (r_ = e), t < Vg && (Vg = t), t > Wg && (Wg = t);
|
|
66660
66662
|
}
|
|
66661
|
-
var lA = 0, cA = 0, uf = 0, Qg = 0, Xg = 0,
|
|
66663
|
+
var lA = 0, cA = 0, uf = 0, Qg = 0, Xg = 0, Wc = 0, uA = 0, dA = 0, df = 0, I5, D5, ga, ha, ii = {
|
|
66662
66664
|
point: kl,
|
|
66663
66665
|
lineStart: sB,
|
|
66664
66666
|
lineEnd: lB,
|
|
@@ -66669,8 +66671,8 @@ var lA = 0, cA = 0, uf = 0, Qg = 0, Xg = 0, Vc = 0, uA = 0, dA = 0, df = 0, I5,
|
|
|
66669
66671
|
ii.point = kl, ii.lineStart = sB, ii.lineEnd = lB;
|
|
66670
66672
|
},
|
|
66671
66673
|
result: function() {
|
|
66672
|
-
var e = df ? [uA / df, dA / df] :
|
|
66673
|
-
return lA = cA = uf = Qg = Xg =
|
|
66674
|
+
var e = df ? [uA / df, dA / df] : Wc ? [Qg / Wc, Xg / Wc] : uf ? [lA / uf, cA / uf] : [NaN, NaN];
|
|
66675
|
+
return lA = cA = uf = Qg = Xg = Wc = uA = dA = df = 0, e;
|
|
66674
66676
|
}
|
|
66675
66677
|
};
|
|
66676
66678
|
function kl(e, t) {
|
|
@@ -66684,7 +66686,7 @@ function _fe(e, t) {
|
|
|
66684
66686
|
}
|
|
66685
66687
|
function pfe(e, t) {
|
|
66686
66688
|
var n = e - ga, r = t - ha, i = _r(n * n + r * r);
|
|
66687
|
-
Qg += i * (ga + e) / 2, Xg += i * (ha + t) / 2,
|
|
66689
|
+
Qg += i * (ga + e) / 2, Xg += i * (ha + t) / 2, Wc += i, kl(ga = e, ha = t);
|
|
66688
66690
|
}
|
|
66689
66691
|
function lB() {
|
|
66690
66692
|
ii.point = kl;
|
|
@@ -66700,7 +66702,7 @@ function hfe(e, t) {
|
|
|
66700
66702
|
}
|
|
66701
66703
|
function w5(e, t) {
|
|
66702
66704
|
var n = e - ga, r = t - ha, i = _r(n * n + r * r);
|
|
66703
|
-
Qg += i * (ga + e) / 2, Xg += i * (ha + t) / 2,
|
|
66705
|
+
Qg += i * (ga + e) / 2, Xg += i * (ha + t) / 2, Wc += i, i = ha * e - ga * t, uA += i * (ga + e), dA += i * (ha + t), df += i * 3, kl(ga = e, ha = t);
|
|
66704
66706
|
}
|
|
66705
66707
|
function M5(e) {
|
|
66706
66708
|
this._context = e;
|
|
@@ -67194,7 +67196,7 @@ function BE(e, t) {
|
|
|
67194
67196
|
return [e, Mg(EI((Ft + t) / 2))];
|
|
67195
67197
|
}
|
|
67196
67198
|
BE.invert = function(e, t) {
|
|
67197
|
-
return [e, 2 *
|
|
67199
|
+
return [e, 2 * id(u5(t)) - Ft];
|
|
67198
67200
|
};
|
|
67199
67201
|
function wfe() {
|
|
67200
67202
|
return q5(BE).scale(961 / fr);
|
|
@@ -67229,7 +67231,7 @@ function Mfe(e, t) {
|
|
|
67229
67231
|
}
|
|
67230
67232
|
return a.invert = function(o, s) {
|
|
67231
67233
|
var l = i - s, c = si(r) * _r(o * o + l * l), u = hi(o, qe(l)) * si(l);
|
|
67232
|
-
return l * r < 0 && (u -= Ue * si(o) * si(l)), [u / r, 2 *
|
|
67234
|
+
return l * r < 0 && (u -= Ue * si(o) * si(l)), [u / r, 2 * id(MC(i / c, 1 / r)) - Ft];
|
|
67233
67235
|
}, a;
|
|
67234
67236
|
}
|
|
67235
67237
|
function Lfe() {
|
|
@@ -67280,7 +67282,7 @@ function V5(e, t) {
|
|
|
67280
67282
|
var n = Re(t), r = Re(e) * n;
|
|
67281
67283
|
return [n * ye(e) / r, ye(t) / r];
|
|
67282
67284
|
}
|
|
67283
|
-
V5.invert = W_(
|
|
67285
|
+
V5.invert = W_(id);
|
|
67284
67286
|
function $fe() {
|
|
67285
67287
|
return Ua(V5).scale(144.049).clipAngle(60);
|
|
67286
67288
|
}
|
|
@@ -67368,7 +67370,7 @@ function Q5(e, t) {
|
|
|
67368
67370
|
return [n * ye(e) / r, ye(t) / r];
|
|
67369
67371
|
}
|
|
67370
67372
|
Q5.invert = W_(function(e) {
|
|
67371
|
-
return 2 *
|
|
67373
|
+
return 2 * id(e);
|
|
67372
67374
|
});
|
|
67373
67375
|
function qfe() {
|
|
67374
67376
|
return Ua(Q5).scale(250).clipAngle(142);
|
|
@@ -67377,7 +67379,7 @@ function X5(e, t) {
|
|
|
67377
67379
|
return [Mg(EI((Ft + t) / 2)), -e];
|
|
67378
67380
|
}
|
|
67379
67381
|
X5.invert = function(e, t) {
|
|
67380
|
-
return [-t, 2 *
|
|
67382
|
+
return [-t, 2 * id(u5(e)) - Ft];
|
|
67381
67383
|
};
|
|
67382
67384
|
function Hfe() {
|
|
67383
67385
|
var e = q5(X5), t = e.center, n = e.rotate;
|
|
@@ -67678,14 +67680,14 @@ function BC(e) {
|
|
|
67678
67680
|
return Pe(e) ? e : Vn(+e);
|
|
67679
67681
|
}
|
|
67680
67682
|
function n9() {
|
|
67681
|
-
var e = (l) => l[0], t = (l) => l[1], n =
|
|
67683
|
+
var e = (l) => l[0], t = (l) => l[1], n = Vu, r = [-1, -1], i = 960, a = 500, o = 2;
|
|
67682
67684
|
function s(l, c) {
|
|
67683
67685
|
const u = EB(r[0], l, e) >> o, d = EB(r[1], l, t) >> o, f = u ? u + 2 : 0, _ = d ? d + 2 : 0, p = 2 * f + (i >> o), m = 2 * _ + (a >> o), g = new Float32Array(p * m), h = new Float32Array(p * m);
|
|
67684
67686
|
let E = g;
|
|
67685
67687
|
l.forEach((T) => {
|
|
67686
67688
|
const b = f + (+e(T) >> o), v = _ + (+t(T) >> o);
|
|
67687
67689
|
b >= 0 && b < p && v >= 0 && v < m && (g[b + v * p] += +n(T));
|
|
67688
|
-
}), u > 0 && d > 0 ? (
|
|
67690
|
+
}), u > 0 && d > 0 ? (Mc(p, m, g, h, u), Lc(p, m, h, g, d), Mc(p, m, g, h, u), Lc(p, m, h, g, d), Mc(p, m, g, h, u), Lc(p, m, h, g, d)) : u > 0 ? (Mc(p, m, g, h, u), Mc(p, m, h, g, u), Mc(p, m, g, h, u), E = h) : d > 0 && (Lc(p, m, g, h, d), Lc(p, m, h, g, d), Lc(p, m, g, h, d), E = h);
|
|
67689
67691
|
const S = c ? Math.pow(2, -2 * o) : 1 / gY(E);
|
|
67690
67692
|
for (let T = 0, b = p * m; T < b; ++T) E[T] *= S;
|
|
67691
67693
|
return {
|
|
@@ -67715,13 +67717,13 @@ function n9() {
|
|
|
67715
67717
|
return arguments.length ? (l = Ce(l), l.length === 1 && (l = [+l[0], +l[0]]), l.length !== 2 && W("invalid bandwidth"), r = l, s) : r;
|
|
67716
67718
|
}, s;
|
|
67717
67719
|
}
|
|
67718
|
-
function
|
|
67720
|
+
function Mc(e, t, n, r, i) {
|
|
67719
67721
|
const a = (i << 1) + 1;
|
|
67720
67722
|
for (let o = 0; o < t; ++o)
|
|
67721
67723
|
for (let s = 0, l = 0; s < e + i; ++s)
|
|
67722
67724
|
s < e && (l += n[s + o * e]), s >= i && (s >= a && (l -= n[s - a + o * e]), r[s - i + o * e] = l / Math.min(s + 1, e - 1 + a - s, a));
|
|
67723
67725
|
}
|
|
67724
|
-
function
|
|
67726
|
+
function Lc(e, t, n, r, i) {
|
|
67725
67727
|
const a = (i << 1) + 1;
|
|
67726
67728
|
for (let o = 0; o < e; ++o)
|
|
67727
67729
|
for (let s = 0, l = 0; s < t + i; ++s)
|
|
@@ -68565,7 +68567,7 @@ function yB(e, t, n) {
|
|
|
68565
68567
|
}
|
|
68566
68568
|
return n != null && e.push({ name: t, value: n }), e;
|
|
68567
68569
|
}
|
|
68568
|
-
var
|
|
68570
|
+
var Au = 0, pf = 0, $d = 0, l9 = 1e3, rh, mf, ih = 0, Pl = 0, UE = 0, a_ = typeof performance == "object" && performance.now ? performance : Date, c9 = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
|
|
68569
68571
|
setTimeout(e, 17);
|
|
68570
68572
|
};
|
|
68571
68573
|
function BI() {
|
|
@@ -68592,17 +68594,17 @@ function u9(e, t, n) {
|
|
|
68592
68594
|
return r.restart(e, t, n), r;
|
|
68593
68595
|
}
|
|
68594
68596
|
function Q_e() {
|
|
68595
|
-
BI(), ++
|
|
68597
|
+
BI(), ++Au;
|
|
68596
68598
|
for (var e = rh, t; e; )
|
|
68597
68599
|
(t = Pl - e._time) >= 0 && e._call.call(void 0, t), e = e._next;
|
|
68598
|
-
--
|
|
68600
|
+
--Au;
|
|
68599
68601
|
}
|
|
68600
68602
|
function vB() {
|
|
68601
|
-
Pl = (ih = a_.now()) + UE,
|
|
68603
|
+
Pl = (ih = a_.now()) + UE, Au = pf = 0;
|
|
68602
68604
|
try {
|
|
68603
68605
|
Q_e();
|
|
68604
68606
|
} finally {
|
|
68605
|
-
|
|
68607
|
+
Au = 0, j_e(), Pl = 0;
|
|
68606
68608
|
}
|
|
68607
68609
|
}
|
|
68608
68610
|
function X_e() {
|
|
@@ -68615,10 +68617,10 @@ function j_e() {
|
|
|
68615
68617
|
mf = e, EA(r);
|
|
68616
68618
|
}
|
|
68617
68619
|
function EA(e) {
|
|
68618
|
-
if (!
|
|
68620
|
+
if (!Au) {
|
|
68619
68621
|
pf && (pf = clearTimeout(pf));
|
|
68620
68622
|
var t = e - Pl;
|
|
68621
|
-
t > 24 ? (e < 1 / 0 && (pf = setTimeout(vB, e - a_.now() - UE)), $d && ($d = clearInterval($d))) : ($d || (ih = a_.now(), $d = setInterval(X_e, l9)),
|
|
68623
|
+
t > 24 ? (e < 1 / 0 && (pf = setTimeout(vB, e - a_.now() - UE)), $d && ($d = clearInterval($d))) : ($d || (ih = a_.now(), $d = setInterval(X_e, l9)), Au = 1, c9(vB));
|
|
68622
68624
|
}
|
|
68623
68625
|
}
|
|
68624
68626
|
function Z_e(e, t, n) {
|
|
@@ -69161,10 +69163,10 @@ function* Upe() {
|
|
|
69161
69163
|
}
|
|
69162
69164
|
function $I(e, t) {
|
|
69163
69165
|
e instanceof Map ? (e = [void 0, e], t === void 0 && (t = Ype)) : t === void 0 && (t = Gpe);
|
|
69164
|
-
for (var n = new
|
|
69166
|
+
for (var n = new Nu(e), r, i = [n], a, o, s, l; r = i.pop(); )
|
|
69165
69167
|
if ((o = t(r.data)) && (l = (o = Array.from(o)).length))
|
|
69166
69168
|
for (r.children = o, s = l - 1; s >= 0; --s)
|
|
69167
|
-
i.push(a = o[s] = new
|
|
69169
|
+
i.push(a = o[s] = new Nu(o[s])), a.parent = r, a.depth = r.depth + 1;
|
|
69168
69170
|
return n.eachBefore(_9);
|
|
69169
69171
|
}
|
|
69170
69172
|
function $pe() {
|
|
@@ -69185,11 +69187,11 @@ function _9(e) {
|
|
|
69185
69187
|
e.height = t;
|
|
69186
69188
|
while ((e = e.parent) && e.height < ++t);
|
|
69187
69189
|
}
|
|
69188
|
-
function
|
|
69190
|
+
function Nu(e) {
|
|
69189
69191
|
this.data = e, this.depth = this.height = 0, this.parent = null;
|
|
69190
69192
|
}
|
|
69191
|
-
|
|
69192
|
-
constructor:
|
|
69193
|
+
Nu.prototype = $I.prototype = {
|
|
69194
|
+
constructor: Nu,
|
|
69193
69195
|
count: Ape,
|
|
69194
69196
|
each: Npe,
|
|
69195
69197
|
eachAfter: xpe,
|
|
@@ -69215,7 +69217,7 @@ function p9(e) {
|
|
|
69215
69217
|
function ul() {
|
|
69216
69218
|
return 0;
|
|
69217
69219
|
}
|
|
69218
|
-
function
|
|
69220
|
+
function Gc(e) {
|
|
69219
69221
|
return function() {
|
|
69220
69222
|
return e;
|
|
69221
69223
|
};
|
|
@@ -69358,7 +69360,7 @@ function tme() {
|
|
|
69358
69360
|
}, i.size = function(a) {
|
|
69359
69361
|
return arguments.length ? (t = +a[0], n = +a[1], i) : [t, n];
|
|
69360
69362
|
}, i.padding = function(a) {
|
|
69361
|
-
return arguments.length ? (r = typeof a == "function" ? a :
|
|
69363
|
+
return arguments.length ? (r = typeof a == "function" ? a : Gc(+a), i) : r;
|
|
69362
69364
|
}, i;
|
|
69363
69365
|
}
|
|
69364
69366
|
function IB(e) {
|
|
@@ -69428,7 +69430,7 @@ function MB() {
|
|
|
69428
69430
|
o = (T, b) => h[b], s = (T, b) => E[b];
|
|
69429
69431
|
}
|
|
69430
69432
|
for (u = 0, l = a.length; u < l; ++u)
|
|
69431
|
-
c = a[u], _ = a[u] = new
|
|
69433
|
+
c = a[u], _ = a[u] = new Nu(c), (p = o(c, u, i)) != null && (p += "") && (m = _.id = p, g.set(m, g.has(m) ? wB : _)), (p = s(c, u, i)) != null && (p += "") && (_.parent = p);
|
|
69432
69434
|
for (u = 0; u < l; ++u)
|
|
69433
69435
|
if (_ = a[u], p = _.parent) {
|
|
69434
69436
|
if (f = g.get(p), !f) throw new Error("missing: " + p);
|
|
@@ -69502,7 +69504,7 @@ function ume(e, t, n) {
|
|
|
69502
69504
|
function Fm(e, t) {
|
|
69503
69505
|
this._ = e, this.parent = null, this.children = null, this.A = null, this.a = this, this.z = 0, this.m = 0, this.c = 0, this.s = 0, this.t = null, this.i = t;
|
|
69504
69506
|
}
|
|
69505
|
-
Fm.prototype = Object.create(
|
|
69507
|
+
Fm.prototype = Object.create(Nu.prototype);
|
|
69506
69508
|
function dme(e) {
|
|
69507
69509
|
for (var t = new Fm(e, 0), n, r = [t], i, a, o, s; n = r.pop(); )
|
|
69508
69510
|
if (a = n._.children)
|
|
@@ -69606,17 +69608,17 @@ function _me() {
|
|
|
69606
69608
|
}, u.padding = function(f) {
|
|
69607
69609
|
return arguments.length ? u.paddingInner(f).paddingOuter(f) : u.paddingInner();
|
|
69608
69610
|
}, u.paddingInner = function(f) {
|
|
69609
|
-
return arguments.length ? (a = typeof f == "function" ? f :
|
|
69611
|
+
return arguments.length ? (a = typeof f == "function" ? f : Gc(+f), u) : a;
|
|
69610
69612
|
}, u.paddingOuter = function(f) {
|
|
69611
69613
|
return arguments.length ? u.paddingTop(f).paddingRight(f).paddingBottom(f).paddingLeft(f) : u.paddingTop();
|
|
69612
69614
|
}, u.paddingTop = function(f) {
|
|
69613
|
-
return arguments.length ? (o = typeof f == "function" ? f :
|
|
69615
|
+
return arguments.length ? (o = typeof f == "function" ? f : Gc(+f), u) : o;
|
|
69614
69616
|
}, u.paddingRight = function(f) {
|
|
69615
|
-
return arguments.length ? (s = typeof f == "function" ? f :
|
|
69617
|
+
return arguments.length ? (s = typeof f == "function" ? f : Gc(+f), u) : s;
|
|
69616
69618
|
}, u.paddingBottom = function(f) {
|
|
69617
|
-
return arguments.length ? (l = typeof f == "function" ? f :
|
|
69619
|
+
return arguments.length ? (l = typeof f == "function" ? f : Gc(+f), u) : l;
|
|
69618
69620
|
}, u.paddingLeft = function(f) {
|
|
69619
|
-
return arguments.length ? (c = typeof f == "function" ? f :
|
|
69621
|
+
return arguments.length ? (c = typeof f == "function" ? f : Gc(+f), u) : c;
|
|
69620
69622
|
}, u;
|
|
69621
69623
|
}
|
|
69622
69624
|
function pme(e, t, n, r, i) {
|
|
@@ -69737,7 +69739,7 @@ ae(Io, Y, {
|
|
|
69737
69739
|
transform(e, t) {
|
|
69738
69740
|
(!t.source || !t.source.root) && W(this.constructor.name + " transform requires a backing tree data source.");
|
|
69739
69741
|
const n = this.layout(e.method), r = this.fields, i = t.source.root, a = e.as || r;
|
|
69740
|
-
e.field ? i.sum(e.field) : i.count(), e.sort && i.sort(rc(e.sort, (o) => o.data)), bme(n, this.params, e), n.separation && n.separation(e.separation !== !1 ? Sme :
|
|
69742
|
+
e.field ? i.sum(e.field) : i.count(), e.sort && i.sort(rc(e.sort, (o) => o.data)), bme(n, this.params, e), n.separation && n.separation(e.separation !== !1 ? Sme : Vu);
|
|
69741
69743
|
try {
|
|
69742
69744
|
this.value = n(i);
|
|
69743
69745
|
} catch (o) {
|
|
@@ -70568,15 +70570,15 @@ function Wme(e, t) {
|
|
|
70568
70570
|
function Q_(e) {
|
|
70569
70571
|
return new Float64Array(e);
|
|
70570
70572
|
}
|
|
70571
|
-
const Kme = (3 + 16 * ho) * ho, Qme = (2 + 12 * ho) * ho, Xme = (9 + 64 * ho) * ho * ho,
|
|
70573
|
+
const Kme = (3 + 16 * ho) * ho, Qme = (2 + 12 * ho) * ho, Xme = (9 + 64 * ho) * ho * ho, kc = Q_(4), BB = Q_(8), UB = Q_(12), $B = Q_(16), jn = Q_(4);
|
|
70572
70574
|
function jme(e, t, n, r, i, a, o) {
|
|
70573
70575
|
let s, l, c, u, d, f, _, p, m, g, h, E, S, T, b, v, y, C;
|
|
70574
70576
|
const R = e - i, x = n - i, N = t - a, F = r - a;
|
|
70575
|
-
T = R * F, f = Mn * R, _ = f - (f - R), p = R - _, f = Mn * F, m = f - (f - F), g = F - m, b = p * g - (T - _ * m - p * m - _ * g), v = N * x, f = Mn * N, _ = f - (f - N), p = N - _, f = Mn * x, m = f - (f - x), g = x - m, y = p * g - (v - _ * m - p * m - _ * g), h = b - y, d = b - h,
|
|
70576
|
-
let k = Wme(4,
|
|
70577
|
+
T = R * F, f = Mn * R, _ = f - (f - R), p = R - _, f = Mn * F, m = f - (f - F), g = F - m, b = p * g - (T - _ * m - p * m - _ * g), v = N * x, f = Mn * N, _ = f - (f - N), p = N - _, f = Mn * x, m = f - (f - x), g = x - m, y = p * g - (v - _ * m - p * m - _ * g), h = b - y, d = b - h, kc[0] = b - (h + d) + (d - y), E = T + h, d = E - T, S = T - (E - d) + (h - d), h = S - v, d = S - h, kc[1] = S - (h + d) + (d - v), C = E + h, d = C - E, kc[2] = E - (C - d) + (h - d), kc[3] = C;
|
|
70578
|
+
let k = Wme(4, kc), I = Qme * o;
|
|
70577
70579
|
if (k >= I || -k >= I || (d = e - R, s = e - (R + d) + (d - i), d = n - x, c = n - (x + d) + (d - i), d = t - N, l = t - (N + d) + (d - a), d = r - F, u = r - (F + d) + (d - a), s === 0 && l === 0 && c === 0 && u === 0) || (I = Xme * o + Vme * Math.abs(k), k += R * u + F * s - (N * c + x * l), k >= I || -k >= I)) return k;
|
|
70578
70580
|
T = s * F, f = Mn * s, _ = f - (f - s), p = s - _, f = Mn * F, m = f - (f - F), g = F - m, b = p * g - (T - _ * m - p * m - _ * g), v = l * x, f = Mn * l, _ = f - (f - l), p = l - _, f = Mn * x, m = f - (f - x), g = x - m, y = p * g - (v - _ * m - p * m - _ * g), h = b - y, d = b - h, jn[0] = b - (h + d) + (d - y), E = T + h, d = E - T, S = T - (E - d) + (h - d), h = S - v, d = S - h, jn[1] = S - (h + d) + (d - v), C = E + h, d = C - E, jn[2] = E - (C - d) + (h - d), jn[3] = C;
|
|
70579
|
-
const O = ZC(4,
|
|
70581
|
+
const O = ZC(4, kc, 4, jn, BB);
|
|
70580
70582
|
T = R * u, f = Mn * R, _ = f - (f - R), p = R - _, f = Mn * u, m = f - (f - u), g = u - m, b = p * g - (T - _ * m - p * m - _ * g), v = N * c, f = Mn * N, _ = f - (f - N), p = N - _, f = Mn * c, m = f - (f - c), g = c - m, y = p * g - (v - _ * m - p * m - _ * g), h = b - y, d = b - h, jn[0] = b - (h + d) + (d - y), E = T + h, d = E - T, S = T - (E - d) + (h - d), h = S - v, d = S - h, jn[1] = S - (h + d) + (d - v), C = E + h, d = C - E, jn[2] = E - (C - d) + (h - d), jn[3] = C;
|
|
70581
70583
|
const A = ZC(O, BB, 4, jn, UB);
|
|
70582
70584
|
T = s * u, f = Mn * s, _ = f - (f - s), p = s - _, f = Mn * u, m = f - (f - u), g = u - m, b = p * g - (T - _ * m - p * m - _ * g), v = l * c, f = Mn * l, _ = f - (f - l), p = l - _, f = Mn * c, m = f - (f - c), g = c - m, y = p * g - (v - _ * m - p * m - _ * g), h = b - y, d = b - h, jn[0] = b - (h + d) + (d - y), E = T + h, d = E - T, S = T - (E - d) + (h - d), h = S - v, d = S - h, jn[1] = S - (h + d) + (d - v), C = E + h, d = C - E, jn[2] = E - (C - d) + (h - d), jn[3] = C;
|
|
@@ -70633,7 +70635,7 @@ class sh {
|
|
|
70633
70635
|
if (T === 1 / 0) {
|
|
70634
70636
|
for (let N = 0; N < o; N++)
|
|
70635
70637
|
this._dists[N] = t[2 * N] - t[0] || t[2 * N + 1] - t[1];
|
|
70636
|
-
|
|
70638
|
+
Kc(this._ids, this._dists, 0, o - 1);
|
|
70637
70639
|
const R = new Uint32Array(o);
|
|
70638
70640
|
let x = 0;
|
|
70639
70641
|
for (let N = 0, F = -1 / 0; N < o; N++) {
|
|
@@ -70651,7 +70653,7 @@ class sh {
|
|
|
70651
70653
|
this._cx = y.x, this._cy = y.y;
|
|
70652
70654
|
for (let R = 0; R < o; R++)
|
|
70653
70655
|
this._dists[R] = JC(t[2 * R], t[2 * R + 1], y.x, y.y);
|
|
70654
|
-
|
|
70656
|
+
Kc(this._ids, this._dists, 0, o - 1), this._hullStart = _;
|
|
70655
70657
|
let C = 3;
|
|
70656
70658
|
r[_] = n[m] = p, r[p] = n[_] = m, r[m] = n[p] = _, i[_] = 0, i[p] = 1, i[m] = 2, a.fill(-1), a[this._hashKey(g, h)] = _, a[this._hashKey(E, S)] = p, a[this._hashKey(b, v)] = m, this.trianglesLen = 0, this._addTriangle(_, p, m, -1, -1, -1);
|
|
70657
70659
|
for (let R = 0, x, N; R < this._ids.length; R++) {
|
|
@@ -70758,7 +70760,7 @@ function tge(e, t, n, r, i, a) {
|
|
|
70758
70760
|
const o = n - e, s = r - t, l = i - e, c = a - t, u = o * o + s * s, d = l * l + c * c, f = 0.5 / (o * c - s * l), _ = e + (c * u - s * d) * f, p = t + (o * d - l * u) * f;
|
|
70759
70761
|
return { x: _, y: p };
|
|
70760
70762
|
}
|
|
70761
|
-
function
|
|
70763
|
+
function Kc(e, t, n, r) {
|
|
70762
70764
|
if (r - n <= 20)
|
|
70763
70765
|
for (let i = n + 1; i <= r; i++) {
|
|
70764
70766
|
const a = e[i], o = t[a];
|
|
@@ -70781,7 +70783,7 @@ function Wc(e, t, n, r) {
|
|
|
70781
70783
|
if (o < a) break;
|
|
70782
70784
|
Gd(e, a, o);
|
|
70783
70785
|
}
|
|
70784
|
-
e[n + 1] = e[o], e[o] = s, r - a + 1 >= o - n ? (
|
|
70786
|
+
e[n + 1] = e[o], e[o] = s, r - a + 1 >= o - n ? (Kc(e, t, a, r), Kc(e, t, n, o - 1)) : (Kc(e, t, n, o - 1), Kc(e, t, a, r));
|
|
70785
70787
|
}
|
|
70786
70788
|
}
|
|
70787
70789
|
function Gd(e, t, n) {
|
|
@@ -71064,7 +71066,7 @@ let ige = class {
|
|
|
71064
71066
|
return t;
|
|
71065
71067
|
}
|
|
71066
71068
|
};
|
|
71067
|
-
const age = 2 * Math.PI,
|
|
71069
|
+
const age = 2 * Math.PI, Pc = Math.pow;
|
|
71068
71070
|
function oge(e) {
|
|
71069
71071
|
return e[0];
|
|
71070
71072
|
}
|
|
@@ -71145,15 +71147,15 @@ class jI {
|
|
|
71145
71147
|
_step(t, n, r) {
|
|
71146
71148
|
const { inedges: i, hull: a, _hullIndex: o, halfedges: s, triangles: l, points: c } = this;
|
|
71147
71149
|
if (i[t] === -1 || !c.length) return (t + 1) % (c.length >> 1);
|
|
71148
|
-
let u = t, d =
|
|
71150
|
+
let u = t, d = Pc(n - c[t * 2], 2) + Pc(r - c[t * 2 + 1], 2);
|
|
71149
71151
|
const f = i[t];
|
|
71150
71152
|
let _ = f;
|
|
71151
71153
|
do {
|
|
71152
71154
|
let p = l[_];
|
|
71153
|
-
const m =
|
|
71155
|
+
const m = Pc(n - c[p * 2], 2) + Pc(r - c[p * 2 + 1], 2);
|
|
71154
71156
|
if (m < d && (d = m, u = p), _ = _ % 3 === 2 ? _ - 2 : _ + 1, l[_] !== t) break;
|
|
71155
71157
|
if (_ = s[_], _ === -1) {
|
|
71156
|
-
if (_ = a[(o[t] + 1) % a.length], _ !== p &&
|
|
71158
|
+
if (_ = a[(o[t] + 1) % a.length], _ !== p && Pc(n - c[_ * 2], 2) + Pc(r - c[_ * 2 + 1], 2) < d)
|
|
71157
71159
|
return _;
|
|
71158
71160
|
break;
|
|
71159
71161
|
}
|
|
@@ -72681,13 +72683,13 @@ function tU(e, t) {
|
|
|
72681
72683
|
if (Ee(r[a]) ? !r[a].includes(o) : o !== r[a])
|
|
72682
72684
|
return !1;
|
|
72683
72685
|
} else if (s.type === qhe) {
|
|
72684
|
-
if (!
|
|
72686
|
+
if (!qc(o, r[a])) return !1;
|
|
72685
72687
|
} else if (s.type === Whe) {
|
|
72686
|
-
if (!
|
|
72688
|
+
if (!qc(o, r[a], !0, !1)) return !1;
|
|
72687
72689
|
} else if (s.type === Hhe) {
|
|
72688
|
-
if (!
|
|
72690
|
+
if (!qc(o, r[a], !1, !1)) return !1;
|
|
72689
72691
|
} else if (s.type === Vhe) {
|
|
72690
|
-
if (!
|
|
72692
|
+
if (!qc(o, r[a], !1, !0)) return !1;
|
|
72691
72693
|
} else if (s.type === Khe) {
|
|
72692
72694
|
if (o >= r[a]) return !1;
|
|
72693
72695
|
} else if (s.type === Qhe) {
|
|
@@ -72711,7 +72713,7 @@ function eEe(e, t, n) {
|
|
|
72711
72713
|
} else if (_ = tU(t, c), o ^ _) return _;
|
|
72712
72714
|
return s && o;
|
|
72713
72715
|
}
|
|
72714
|
-
const F9 =
|
|
72716
|
+
const F9 = Qu(c_), tEe = F9.left, nEe = F9.right;
|
|
72715
72717
|
function rEe(e, t, n) {
|
|
72716
72718
|
const r = this.context.data[e], i = r ? r.values.value : [], a = r ? r[ch] && r[ch].value : void 0, o = n === a1, s = c_(t), l = tEe(i, s);
|
|
72717
72719
|
if (l === i.length || c_(i[l]) !== s) return !1;
|
|
@@ -72995,7 +72997,7 @@ function zEe(e) {
|
|
|
72995
72997
|
return VE(e).slice().reverse();
|
|
72996
72998
|
}
|
|
72997
72999
|
function qEe(e) {
|
|
72998
|
-
return VE(e).slice().sort(
|
|
73000
|
+
return VE(e).slice().sort(Wu);
|
|
72999
73001
|
}
|
|
73000
73002
|
function HEe(e, t, n) {
|
|
73001
73003
|
return Cx(e || 0, t || 0, n || 0);
|
|
@@ -73039,7 +73041,7 @@ function JEe(e, t, n) {
|
|
|
73039
73041
|
function eSe(e) {
|
|
73040
73042
|
let t = null;
|
|
73041
73043
|
return function(n) {
|
|
73042
|
-
return n ? Jf(n, t = t ||
|
|
73044
|
+
return n ? Jf(n, t = t || bu(e)) : e;
|
|
73043
73045
|
};
|
|
73044
73046
|
}
|
|
73045
73047
|
const z9 = (e) => e.data;
|
|
@@ -73070,7 +73072,7 @@ function aSe() {
|
|
|
73070
73072
|
}
|
|
73071
73073
|
function V9(e, t, n) {
|
|
73072
73074
|
if (!e) return [];
|
|
73073
|
-
const [r, i] = e, a = new
|
|
73075
|
+
const [r, i] = e, a = new Qt().set(r[0], r[1], i[0], i[1]), o = n || this.context.dataflow.scenegraph().root;
|
|
73074
73076
|
return OH(o, a, oSe(t));
|
|
73075
73077
|
}
|
|
73076
73078
|
function oSe(e) {
|
|
@@ -73098,7 +73100,7 @@ function cSe(e, t, n) {
|
|
|
73098
73100
|
x: r,
|
|
73099
73101
|
y: i,
|
|
73100
73102
|
mark: a
|
|
73101
|
-
} = n, o = new
|
|
73103
|
+
} = n, o = new Qt().set(Number.MAX_SAFE_INTEGER, Number.MAX_SAFE_INTEGER, Number.MIN_SAFE_INTEGER, Number.MIN_SAFE_INTEGER);
|
|
73102
73104
|
for (const [l, c] of t)
|
|
73103
73105
|
l < o.x1 && (o.x1 = l), l > o.x2 && (o.x2 = l), c < o.y1 && (o.y1 = c), c > o.y2 && (o.y2 = c);
|
|
73104
73106
|
return o.translate(r, i), V9([[o.x1, o.y1], [o.x2, o.y2]], e, a).filter((l) => uSe(l.x, l.y, t));
|
|
@@ -73163,7 +73165,7 @@ const u_ = {
|
|
|
73163
73165
|
peek: He,
|
|
73164
73166
|
pluck: FEe,
|
|
73165
73167
|
span: A_,
|
|
73166
|
-
inrange:
|
|
73168
|
+
inrange: qc,
|
|
73167
73169
|
truncate: rY,
|
|
73168
73170
|
rgb: ms,
|
|
73169
73171
|
lab: gg,
|
|
@@ -73990,7 +73992,7 @@ async function Sbe(e) {
|
|
|
73990
73992
|
return (await p1(this, Zo.SVG, e)).svg();
|
|
73991
73993
|
}
|
|
73992
73994
|
function bbe(e, t, n) {
|
|
73993
|
-
return X9(e,
|
|
73995
|
+
return X9(e, pu, u_, n).parse(t);
|
|
73994
73996
|
}
|
|
73995
73997
|
function Tbe(e) {
|
|
73996
73998
|
var t = this._runtime.scales;
|
|
@@ -74043,7 +74045,7 @@ function Rbe(e, t) {
|
|
|
74043
74045
|
return t.modified && Ee(t.input.value) && !e.startsWith("_:vega:_");
|
|
74044
74046
|
}
|
|
74045
74047
|
function Abe(e, t) {
|
|
74046
|
-
return !(e === "parent" || t instanceof
|
|
74048
|
+
return !(e === "parent" || t instanceof pu.proxy);
|
|
74047
74049
|
}
|
|
74048
74050
|
function Nbe(e) {
|
|
74049
74051
|
return this.runAsync(null, (t) => {
|
|
@@ -74096,7 +74098,7 @@ function wbe() {
|
|
|
74096
74098
|
}
|
|
74097
74099
|
function c4(e, t) {
|
|
74098
74100
|
const n = this;
|
|
74099
|
-
if (t = t || {},
|
|
74101
|
+
if (t = t || {}, jc.call(n), t.loader && n.loader(t.loader), t.logger && n.logger(t.logger), t.logLevel != null && n.logLevel(t.logLevel), t.locale || e.locale) {
|
|
74100
74102
|
const a = ke({}, e.locale, t.locale);
|
|
74101
74103
|
n.locale(nz(a.number, a.time));
|
|
74102
74104
|
}
|
|
@@ -74124,10 +74126,10 @@ function gU(e, t, n) {
|
|
|
74124
74126
|
const r = u4(t, n);
|
|
74125
74127
|
return r && t._targets.remove(r), e;
|
|
74126
74128
|
}
|
|
74127
|
-
ae(c4,
|
|
74129
|
+
ae(c4, jc, {
|
|
74128
74130
|
// -- DATAFLOW / RENDERING ----
|
|
74129
74131
|
async evaluate(e, t, n) {
|
|
74130
|
-
if (await
|
|
74132
|
+
if (await jc.prototype.evaluate.call(this, e, t), this._redraw || this._resize)
|
|
74131
74133
|
try {
|
|
74132
74134
|
this._renderer && (this._resize && (this._resize = 0, qSe(this)), await this._renderer.renderAsync(this._scenegraph.root)), this._redraw = !1;
|
|
74133
74135
|
} catch (r) {
|
|
@@ -74181,7 +74183,7 @@ ae(c4, Xc, {
|
|
|
74181
74183
|
return arguments.length ? (e !== this._tooltip && (this._tooltip = e, this._resetRenderer()), this) : this._tooltip;
|
|
74182
74184
|
},
|
|
74183
74185
|
loader(e) {
|
|
74184
|
-
return arguments.length ? (e !== this._loader && (
|
|
74186
|
+
return arguments.length ? (e !== this._loader && (jc.prototype.loader.call(this, e), this._resetRenderer()), this) : this._loader;
|
|
74185
74187
|
},
|
|
74186
74188
|
resize() {
|
|
74187
74189
|
return this._autosize = 1, this.touch(om(this, "autosize"));
|
|
@@ -74390,25 +74392,25 @@ function On(e, t, n) {
|
|
|
74390
74392
|
for (const r in n)
|
|
74391
74393
|
hU(e, r, n[r], "update");
|
|
74392
74394
|
}
|
|
74393
|
-
function
|
|
74395
|
+
function ad(e, t, n) {
|
|
74394
74396
|
for (const r in t)
|
|
74395
74397
|
n && Ne(n, r) || (e[r] = ke(e[r] || {}, t[r]));
|
|
74396
74398
|
return e;
|
|
74397
74399
|
}
|
|
74398
|
-
function
|
|
74400
|
+
function Yc(e, t) {
|
|
74399
74401
|
return t && (t.enter && t.enter[e] || t.update && t.update[e]);
|
|
74400
74402
|
}
|
|
74401
74403
|
const g1 = "mark", h1 = "frame", E1 = "scope", Vbe = "axis", Wbe = "axis-domain", Kbe = "axis-grid", Qbe = "axis-label", Xbe = "axis-tick", jbe = "axis-title", Zbe = "legend", Jbe = "legend-band", eTe = "legend-entry", tTe = "legend-gradient", E4 = "legend-label", nTe = "legend-symbol", rTe = "legend-title", iTe = "title", aTe = "title-text", oTe = "title-subtitle";
|
|
74402
74404
|
function sTe(e, t, n, r, i) {
|
|
74403
74405
|
const a = {}, o = {};
|
|
74404
74406
|
let s, l, c, u;
|
|
74405
|
-
l = "lineBreak", t === "text" && i[l] != null && !
|
|
74407
|
+
l = "lineBreak", t === "text" && i[l] != null && !Yc(l, e) && lR(a, l, i[l]), (n == "legend" || String(n).startsWith("axis")) && (n = null), u = n === h1 ? i.group : n === g1 ? ke({}, i.mark, i[t]) : null;
|
|
74406
74408
|
for (l in u)
|
|
74407
|
-
c =
|
|
74409
|
+
c = Yc(l, e) || (l === "fill" || l === "stroke") && (Yc("fill", e) || Yc("stroke", e)), c || lR(a, l, u[l]);
|
|
74408
74410
|
Ce(r).forEach((d) => {
|
|
74409
74411
|
const f = i.style && i.style[d];
|
|
74410
74412
|
for (const _ in f)
|
|
74411
|
-
|
|
74413
|
+
Yc(_, e) || lR(a, _, f[_]);
|
|
74412
74414
|
}), e = ke({}, e);
|
|
74413
74415
|
for (l in a)
|
|
74414
74416
|
u = a[l], u.signal ? (s = s || {})[l] = u : o[l] = u;
|
|
@@ -74693,14 +74695,14 @@ function eye(e, t, n) {
|
|
|
74693
74695
|
}
|
|
74694
74696
|
function tye(e, t, n) {
|
|
74695
74697
|
const r = n.getData(e.data);
|
|
74696
|
-
return r || ZE(e.data),
|
|
74698
|
+
return r || ZE(e.data), Su(t.type) ? r.valuesRef(n, e.field, w4(e.sort, !1)) : g6(t.type) ? r.domainRef(n, e.field) : r.extentRef(n, e.field);
|
|
74697
74699
|
}
|
|
74698
74700
|
function nye(e, t, n) {
|
|
74699
74701
|
const r = e.data, i = e.fields.reduce((a, o) => (o = Ke(o) ? {
|
|
74700
74702
|
data: r,
|
|
74701
74703
|
field: o
|
|
74702
74704
|
} : Ee(o) || o.signal ? rye(o, n) : o, a.push(o), a), []);
|
|
74703
|
-
return (
|
|
74705
|
+
return (Su(t.type) ? iye : g6(t.type) ? aye : oye)(e, n, i);
|
|
74704
74706
|
}
|
|
74705
74707
|
function rye(e, t) {
|
|
74706
74708
|
const n = "_:vega:_" + jTe++, r = ji({});
|
|
@@ -74784,7 +74786,7 @@ function M4(e, t, n) {
|
|
|
74784
74786
|
}), M4(e, t, n);
|
|
74785
74787
|
i === "width" ? i = [0, {
|
|
74786
74788
|
signal: "width"
|
|
74787
|
-
}] : i === "height" ? i =
|
|
74789
|
+
}] : i === "height" ? i = Su(e.type) ? [0, {
|
|
74788
74790
|
signal: "height"
|
|
74789
74791
|
}] : [{
|
|
74790
74792
|
signal: "height"
|
|
@@ -74796,7 +74798,7 @@ function M4(e, t, n) {
|
|
|
74796
74798
|
n.rangeStep = li(i.step, t);
|
|
74797
74799
|
return;
|
|
74798
74800
|
} else {
|
|
74799
|
-
if (
|
|
74801
|
+
if (Su(e.type) && !Ee(i))
|
|
74800
74802
|
return D4(i, e, t);
|
|
74801
74803
|
Ee(i) || W("Unsupported range type: " + he(i));
|
|
74802
74804
|
}
|
|
@@ -74813,7 +74815,7 @@ function uye(e, t) {
|
|
|
74813
74815
|
function BA(e, t, n) {
|
|
74814
74816
|
return Ee(e) ? e.map((r) => BA(r, t, n)) : De(e) ? e.signal ? n.signalRef(e.signal) : t === "fit" ? e : W("Unsupported parameter object: " + he(e)) : e;
|
|
74815
74817
|
}
|
|
74816
|
-
const Zi = "top",
|
|
74818
|
+
const Zi = "top", od = "left", sd = "right", bs = "bottom", L4 = "center", dye = "vertical", fye = "start", _ye = "middle", pye = "end", UA = "index", T1 = "label", mye = "offset", Ou = "perc", gye = "perc2", ui = "value", ep = "guide-label", y1 = "guide-title", hye = "group-title", Eye = "group-subtitle", yU = "symbol", qm = "gradient", $A = "discrete", GA = "size", Sye = "shape", bye = "fill", Tye = "stroke", yye = "strokeWidth", vye = "strokeDash", Cye = "opacity", v1 = [GA, Sye, bye, Tye, yye, vye, Cye], tp = {
|
|
74817
74819
|
name: 1,
|
|
74818
74820
|
style: 1,
|
|
74819
74821
|
interactive: 1
|
|
@@ -74840,7 +74842,7 @@ function Aye(e, t, n) {
|
|
|
74840
74842
|
function eS(e, t, n) {
|
|
74841
74843
|
return `item.anchor === '${fye}' ? ${e} : item.anchor === '${pye}' ? ${t} : ${n}`;
|
|
74842
74844
|
}
|
|
74843
|
-
const R1 = eS(he(
|
|
74845
|
+
const R1 = eS(he(od), he(sd), he(L4));
|
|
74844
74846
|
function Nye(e) {
|
|
74845
74847
|
const t = e("tickBand");
|
|
74846
74848
|
let n = e("tickOffset"), r, i;
|
|
@@ -74865,7 +74867,7 @@ function F4(e, t) {
|
|
|
74865
74867
|
} : t : e;
|
|
74866
74868
|
}
|
|
74867
74869
|
function Qr(e, t) {
|
|
74868
|
-
return t ? (e.name = t.name, e.style = t.style || e.style, e.interactive = !!t.interactive, e.encode =
|
|
74870
|
+
return t ? (e.name = t.name, e.style = t.style || e.style, e.interactive = !!t.interactive, e.encode = ad(e.encode, t, tp)) : e.interactive = !1, e;
|
|
74869
74871
|
}
|
|
74870
74872
|
function Oye(e, t, n, r) {
|
|
74871
74873
|
const i = Mr(e, n), a = i.isVertical(), o = i.gradientThickness(), s = i.gradientLength();
|
|
@@ -74915,7 +74917,7 @@ function xye(e, t, n, r, i) {
|
|
|
74915
74917
|
}
|
|
74916
74918
|
};
|
|
74917
74919
|
p[c] = {
|
|
74918
|
-
signal: _ + "datum." +
|
|
74920
|
+
signal: _ + "datum." + Ou,
|
|
74919
74921
|
mult: l
|
|
74920
74922
|
}, p[u] = We, p[d] = {
|
|
74921
74923
|
signal: _ + "datum." + gye,
|
|
@@ -74944,7 +74946,7 @@ function xye(e, t, n, r, i) {
|
|
|
74944
74946
|
encode: m
|
|
74945
74947
|
}, r);
|
|
74946
74948
|
}
|
|
74947
|
-
const Iye = `datum.${
|
|
74949
|
+
const Iye = `datum.${Ou}<=0?"${od}":datum.${Ou}>=1?"${sd}":"${L4}"`, Dye = `datum.${Ou}<=0?"${bs}":datum.${Ou}>=1?"${Zi}":"${_ye}"`;
|
|
74948
74950
|
function vU(e, t, n, r) {
|
|
74949
74951
|
const i = Mr(e, t), a = i.isVertical(), o = fn(i.gradientThickness()), s = i.gradientLength();
|
|
74950
74952
|
let l = i("labelOverlap"), c, u, d, f, _ = "";
|
|
@@ -74979,7 +74981,7 @@ function vU(e, t, n, r) {
|
|
|
74979
74981
|
}, c.baseline = {
|
|
74980
74982
|
value: "top"
|
|
74981
74983
|
}, d = "x", f = "y"), c[d] = u[d] = {
|
|
74982
|
-
signal: _ + "datum." +
|
|
74984
|
+
signal: _ + "datum." + Ou,
|
|
74983
74985
|
mult: s
|
|
74984
74986
|
}, c[f] = u[f] = o, o.offset = wi(e.labelOffset, t.gradientLabelOffset) || 0, l = l ? {
|
|
74985
74987
|
separation: i("labelSeparation"),
|
|
@@ -75121,7 +75123,7 @@ function wye(e, t, n, r, i) {
|
|
|
75121
75123
|
}, __({
|
|
75122
75124
|
role: E1,
|
|
75123
75125
|
from: r,
|
|
75124
|
-
encode:
|
|
75126
|
+
encode: ad(g, o, tp),
|
|
75125
75127
|
marks: [y, R],
|
|
75126
75128
|
name: l,
|
|
75127
75129
|
interactive: s,
|
|
@@ -75511,7 +75513,7 @@ function tve(e, t) {
|
|
|
75511
75513
|
})], m.title && _.push(Gye(e, n, r.title, g)), nS(__({
|
|
75512
75514
|
role: Zbe,
|
|
75513
75515
|
from: g,
|
|
75514
|
-
encode:
|
|
75516
|
+
encode: ad(ive(i, e, n), a, tp),
|
|
75515
75517
|
marks: _,
|
|
75516
75518
|
aria: i("aria"),
|
|
75517
75519
|
description: i("description"),
|
|
@@ -75560,7 +75562,7 @@ function IU(e, t, n) {
|
|
|
75560
75562
|
function ove(e, t, n) {
|
|
75561
75563
|
return P4("fontSize", e) || Aye("fontSize", t, n);
|
|
75562
75564
|
}
|
|
75563
|
-
const sve = `item.orient==="${
|
|
75565
|
+
const sve = `item.orient==="${od}"?-90:item.orient==="${sd}"?90:0`;
|
|
75564
75566
|
function lve(e, t) {
|
|
75565
75567
|
e = Ke(e) ? {
|
|
75566
75568
|
text: e
|
|
@@ -75605,7 +75607,7 @@ function uve(e, t) {
|
|
|
75605
75607
|
frame: e("frame"),
|
|
75606
75608
|
offset: e("offset") || 0,
|
|
75607
75609
|
padding: e("subtitlePadding")
|
|
75608
|
-
}),
|
|
75610
|
+
}), ad(n, t, tp);
|
|
75609
75611
|
}
|
|
75610
75612
|
function dve(e, t, n, r) {
|
|
75611
75613
|
const i = {
|
|
@@ -75743,33 +75745,33 @@ function DU(e, t) {
|
|
|
75743
75745
|
format: e.objectProperty(t.format)
|
|
75744
75746
|
});
|
|
75745
75747
|
}
|
|
75746
|
-
const Y4 = (e) => e === bs || e === Zi, rS = (e, t, n) => tn(e) ? Eve(e.signal, t, n) : e ===
|
|
75748
|
+
const Y4 = (e) => e === bs || e === Zi, rS = (e, t, n) => tn(e) ? Eve(e.signal, t, n) : e === od || e === Zi ? t : n, _n = (e, t, n) => tn(e) ? gve(e.signal, t, n) : Y4(e) ? t : n, Gi = (e, t, n) => tn(e) ? hve(e.signal, t, n) : Y4(e) ? n : t, z4 = (e, t, n) => tn(e) ? Sve(e.signal, t, n) : e === Zi ? {
|
|
75747
75749
|
value: t
|
|
75748
75750
|
} : {
|
|
75749
75751
|
value: n
|
|
75750
|
-
}, mve = (e, t, n) => tn(e) ? bve(e.signal, t, n) : e ===
|
|
75752
|
+
}, mve = (e, t, n) => tn(e) ? bve(e.signal, t, n) : e === sd ? {
|
|
75751
75753
|
value: t
|
|
75752
75754
|
} : {
|
|
75753
75755
|
value: n
|
|
75754
|
-
}, gve = (e, t, n) => q4(`${e} === '${Zi}' || ${e} === '${bs}'`, t, n), hve = (e, t, n) => q4(`${e} !== '${Zi}' && ${e} !== '${bs}'`, t, n), Eve = (e, t, n) => x1(`${e} === '${
|
|
75756
|
+
}, gve = (e, t, n) => q4(`${e} === '${Zi}' || ${e} === '${bs}'`, t, n), hve = (e, t, n) => q4(`${e} !== '${Zi}' && ${e} !== '${bs}'`, t, n), Eve = (e, t, n) => x1(`${e} === '${od}' || ${e} === '${Zi}'`, t, n), Sve = (e, t, n) => x1(`${e} === '${Zi}'`, t, n), bve = (e, t, n) => x1(`${e} === '${sd}'`, t, n), q4 = (e, t, n) => (t = t != null ? fn(t) : t, n = n != null ? fn(n) : n, wU(t) && wU(n) ? (t = t ? t.signal || he(t.value) : null, n = n ? n.signal || he(n.value) : null, {
|
|
75755
75757
|
signal: `${e} ? (${t}) : (${n})`
|
|
75756
75758
|
}) : [ke({
|
|
75757
75759
|
test: e
|
|
75758
75760
|
}, t)].concat(n || [])), wU = (e) => e == null || Object.keys(e).length === 1, x1 = (e, t, n) => ({
|
|
75759
|
-
signal: `${e} ? (${
|
|
75761
|
+
signal: `${e} ? (${Qc(t)}) : (${Qc(n)})`
|
|
75760
75762
|
}), Tve = (e, t, n, r, i) => ({
|
|
75761
|
-
signal: (r != null ? `${e} === '${
|
|
75762
|
-
}),
|
|
75763
|
+
signal: (r != null ? `${e} === '${od}' ? (${Qc(r)}) : ` : "") + (n != null ? `${e} === '${bs}' ? (${Qc(n)}) : ` : "") + (i != null ? `${e} === '${sd}' ? (${Qc(i)}) : ` : "") + (t != null ? `${e} === '${Zi}' ? (${Qc(t)}) : ` : "") + "(null)"
|
|
75764
|
+
}), Qc = (e) => tn(e) ? e.signal : e == null ? null : he(e), yve = (e, t) => t === 0 ? 0 : tn(e) ? {
|
|
75763
75765
|
signal: `(${e.signal}) * ${t}`
|
|
75764
75766
|
} : {
|
|
75765
75767
|
value: e * t
|
|
75766
|
-
},
|
|
75768
|
+
}, tu = (e, t) => {
|
|
75767
75769
|
const n = e.signal;
|
|
75768
75770
|
return n && n.endsWith("(null)") ? {
|
|
75769
75771
|
signal: n.slice(0, -6) + t.signal
|
|
75770
75772
|
} : e;
|
|
75771
75773
|
};
|
|
75772
|
-
function
|
|
75774
|
+
function Fc(e, t, n, r) {
|
|
75773
75775
|
let i;
|
|
75774
75776
|
if (t && Ne(t, e))
|
|
75775
75777
|
return t[e];
|
|
@@ -75812,10 +75814,10 @@ function vve(e, t) {
|
|
|
75812
75814
|
const d = MU([n.axisX, n.axisY]), f = MU([n.axisTop, n.axisBottom, n.axisLeft, n.axisRight]);
|
|
75813
75815
|
s = {};
|
|
75814
75816
|
for (c of d)
|
|
75815
|
-
s[c] = _n(o,
|
|
75817
|
+
s[c] = _n(o, Fc(c, n.axisX, i, r), Fc(c, n.axisY, i, r));
|
|
75816
75818
|
l = {};
|
|
75817
75819
|
for (c of f)
|
|
75818
|
-
l[c] = Tve(o.signal,
|
|
75820
|
+
l[c] = Tve(o.signal, Fc(c, n.axisTop, i, r), Fc(c, n.axisBottom, i, r), Fc(c, n.axisLeft, i, r), Fc(c, n.axisRight, i, r));
|
|
75819
75821
|
} else
|
|
75820
75822
|
s = o === Zi || o === bs ? n.axisX : n.axisY, l = n["axis" + o[0].toUpperCase() + o.slice(1)];
|
|
75821
75823
|
return s || l || a ? ke({}, i, s, l, a) : i;
|
|
@@ -76043,7 +76045,7 @@ function Ove(e, t, n, r, i, a) {
|
|
|
76043
76045
|
orient: s,
|
|
76044
76046
|
tolerance: y
|
|
76045
76047
|
} : null
|
|
76046
|
-
} : void 0, m.align !== E && (m.align =
|
|
76048
|
+
} : void 0, m.align !== E && (m.align = tu(m.align, E)), m.baseline !== S && (m.baseline = tu(m.baseline, S)), Qr({
|
|
76047
76049
|
type: cc,
|
|
76048
76050
|
role: Qbe,
|
|
76049
76051
|
style: ep,
|
|
@@ -76090,7 +76092,7 @@ function xve(e, t, n, r) {
|
|
|
76090
76092
|
align: i("titleAlign"),
|
|
76091
76093
|
angle: i("titleAngle"),
|
|
76092
76094
|
baseline: i("titleBaseline")
|
|
76093
|
-
}), Ive(i, a, c, n), c.update.align =
|
|
76095
|
+
}), Ive(i, a, c, n), c.update.align = tu(c.update.align, s.align), c.update.angle = tu(c.update.angle, s.angle), c.update.baseline = tu(c.update.baseline, s.baseline), Qr({
|
|
76094
76096
|
type: cc,
|
|
76095
76097
|
role: jbe,
|
|
76096
76098
|
style: y1,
|
|
@@ -76099,7 +76101,7 @@ function xve(e, t, n, r) {
|
|
|
76099
76101
|
}, n);
|
|
76100
76102
|
}
|
|
76101
76103
|
function Ive(e, t, n, r) {
|
|
76102
|
-
const i = (s, l) => s != null ? (n.update[l] =
|
|
76104
|
+
const i = (s, l) => s != null ? (n.update[l] = tu(fn(s), n.update[l]), !1) : !Yc(l, r), a = i(e("titleX"), "x"), o = i(e("titleY"), "y");
|
|
76103
76105
|
n.enter.auto = o === a ? fn(o) : _n(t, fn(o), fn(a));
|
|
76104
76106
|
}
|
|
76105
76107
|
function Dve(e, t) {
|
|
@@ -76123,7 +76125,7 @@ function Dve(e, t) {
|
|
|
76123
76125
|
return u.grid && _.push(Rve(e, n, r.grid, f, c)), u.ticks && (p = l("tickSize"), _.push(Nve(e, n, r.ticks, f, p, c))), u.labels && (p = u.ticks ? p : 0, _.push(Ove(e, n, r.labels, f, p, c))), u.domain && _.push(Cve(e, n, r.domain, d)), u.title && _.push(xve(e, n, r.title, d)), nS(__({
|
|
76124
76126
|
role: Vbe,
|
|
76125
76127
|
from: d,
|
|
76126
|
-
encode:
|
|
76128
|
+
encode: ad(wve(l, e), i, tp),
|
|
76127
76129
|
marks: _,
|
|
76128
76130
|
aria: l("aria"),
|
|
76129
76131
|
description: l("description"),
|
|
@@ -76158,7 +76160,7 @@ function H4(e, t, n) {
|
|
|
76158
76160
|
const r = Ce(e.signals), i = Ce(e.scales);
|
|
76159
76161
|
return n || r.forEach((a) => v4(a, t)), Ce(e.projections).forEach((a) => uye(a, t)), i.forEach((a) => ZTe(a, t)), Ce(e.data).forEach((a) => _ve(a, t)), i.forEach((a) => JTe(a, t)), (n || r).forEach((a) => DTe(a, t)), Ce(e.axes).forEach((a) => Dve(a, t)), Ce(e.marks).forEach((a) => nS(a, t)), Ce(e.legends).forEach((a) => tve(a, t)), e.title && lve(e.title, t), t.parseLambdas(), t;
|
|
76160
76162
|
}
|
|
76161
|
-
const Mve = (e) =>
|
|
76163
|
+
const Mve = (e) => ad({
|
|
76162
76164
|
enter: {
|
|
76163
76165
|
x: {
|
|
76164
76166
|
value: 0
|
|
@@ -76668,16 +76670,16 @@ function Uve(e, t, n) {
|
|
|
76668
76670
|
return De(e) || W("Input Vega specification must be an object."), t = Yh(Bve(), t, e.config), Lve(e, new V4(t, n)).toRuntime();
|
|
76669
76671
|
}
|
|
76670
76672
|
var $ve = "5.33.0";
|
|
76671
|
-
ke(
|
|
76673
|
+
ke(pu, xae, ade, Fde, y_e, gpe, zme, yme, Hme, mge, Rge, wge);
|
|
76672
76674
|
const Gve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
76673
76675
|
__proto__: null,
|
|
76674
|
-
Bounds:
|
|
76676
|
+
Bounds: Qt,
|
|
76675
76677
|
CanvasHandler: H_,
|
|
76676
76678
|
CanvasRenderer: xg,
|
|
76677
76679
|
DATE: Nr,
|
|
76678
76680
|
DAY: Fn,
|
|
76679
76681
|
DAYOFYEAR: Ia,
|
|
76680
|
-
Dataflow:
|
|
76682
|
+
Dataflow: jc,
|
|
76681
76683
|
Debug: F3,
|
|
76682
76684
|
Error: zN,
|
|
76683
76685
|
EventStream: rE,
|
|
@@ -76717,7 +76719,7 @@ const Gve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76717
76719
|
accessorFields: $n,
|
|
76718
76720
|
accessorName: Ut,
|
|
76719
76721
|
array: Ce,
|
|
76720
|
-
ascending:
|
|
76722
|
+
ascending: Wu,
|
|
76721
76723
|
bandwidthNRD: EO,
|
|
76722
76724
|
bin: Ez,
|
|
76723
76725
|
bootstrapCI: Sz,
|
|
@@ -76752,7 +76754,7 @@ const Gve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76752
76754
|
extent: Na,
|
|
76753
76755
|
extentIndex: X3,
|
|
76754
76756
|
falsy: Uo,
|
|
76755
|
-
fastmap:
|
|
76757
|
+
fastmap: Ku,
|
|
76756
76758
|
field: _i,
|
|
76757
76759
|
flush: j3,
|
|
76758
76760
|
font: DE,
|
|
@@ -76768,12 +76770,12 @@ const Gve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76768
76770
|
inferTypes: az,
|
|
76769
76771
|
ingest: nt,
|
|
76770
76772
|
inherits: ae,
|
|
76771
|
-
inrange:
|
|
76773
|
+
inrange: qc,
|
|
76772
76774
|
interpolate: Ix,
|
|
76773
76775
|
interpolateColors: vE,
|
|
76774
76776
|
interpolateRange: h6,
|
|
76775
76777
|
intersect: OH,
|
|
76776
|
-
intersectBoxLine:
|
|
76778
|
+
intersectBoxLine: Hc,
|
|
76777
76779
|
intersectPath: Bx,
|
|
76778
76780
|
intersectPoint: Ux,
|
|
76779
76781
|
intersectRule: $6,
|
|
@@ -76798,7 +76800,7 @@ const Gve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76798
76800
|
merge: tY,
|
|
76799
76801
|
mergeConfig: Yh,
|
|
76800
76802
|
multiLineOffset: Xx,
|
|
76801
|
-
one:
|
|
76803
|
+
one: Vu,
|
|
76802
76804
|
pad: nY,
|
|
76803
76805
|
panLinear: z3,
|
|
76804
76806
|
panLog: q3,
|
|
@@ -76810,7 +76812,7 @@ const Gve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76810
76812
|
path: uE,
|
|
76811
76813
|
pathCurves: kx,
|
|
76812
76814
|
pathEqual: MH,
|
|
76813
|
-
pathParse:
|
|
76815
|
+
pathParse: bu,
|
|
76814
76816
|
pathRectangle: L6,
|
|
76815
76817
|
pathRender: Jf,
|
|
76816
76818
|
pathSymbols: M6,
|
|
@@ -76873,7 +76875,7 @@ const Gve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76873
76875
|
timeBin: YY,
|
|
76874
76876
|
timeFloor: wY,
|
|
76875
76877
|
timeFormatLocale: Wf,
|
|
76876
|
-
timeInterval:
|
|
76878
|
+
timeInterval: Zu,
|
|
76877
76879
|
timeOffset: kY,
|
|
76878
76880
|
timeSequence: BY,
|
|
76879
76881
|
timeUnitSpecifier: CY,
|
|
@@ -76884,13 +76886,13 @@ const Gve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76884
76886
|
toSet: zi,
|
|
76885
76887
|
toString: eO,
|
|
76886
76888
|
transform: gz,
|
|
76887
|
-
transforms:
|
|
76889
|
+
transforms: pu,
|
|
76888
76890
|
truncate: rY,
|
|
76889
76891
|
truthy: pi,
|
|
76890
76892
|
tupleid: Te,
|
|
76891
76893
|
typeParsers: b0,
|
|
76892
76894
|
utcFloor: MY,
|
|
76893
|
-
utcInterval:
|
|
76895
|
+
utcInterval: Ju,
|
|
76894
76896
|
utcOffset: PY,
|
|
76895
76897
|
utcSequence: UY,
|
|
76896
76898
|
utcdayofyear: OY,
|
|
@@ -77012,7 +77014,7 @@ var Kve = {
|
|
|
77012
77014
|
return Vs("slice", arguments);
|
|
77013
77015
|
},
|
|
77014
77016
|
reverse: (e) => e.slice().reverse(),
|
|
77015
|
-
sort: (e) => e.slice().sort(
|
|
77017
|
+
sort: (e) => e.slice().sort(Wu),
|
|
77016
77018
|
// string functions
|
|
77017
77019
|
parseFloat,
|
|
77018
77020
|
parseInt,
|
|
@@ -77126,7 +77128,7 @@ var jve = {
|
|
|
77126
77128
|
};
|
|
77127
77129
|
}
|
|
77128
77130
|
};
|
|
77129
|
-
function
|
|
77131
|
+
function ld(e, t, n) {
|
|
77130
77132
|
return e.fields = t || [], e.fname = n, e;
|
|
77131
77133
|
}
|
|
77132
77134
|
function Zve(e) {
|
|
@@ -77166,14 +77168,14 @@ function uc(e) {
|
|
|
77166
77168
|
}
|
|
77167
77169
|
function tCe(e, t, n) {
|
|
77168
77170
|
const r = uc(e);
|
|
77169
|
-
return e = r.length === 1 ? r[0] : e,
|
|
77171
|
+
return e = r.length === 1 ? r[0] : e, ld(Zve(r), [e], e);
|
|
77170
77172
|
}
|
|
77171
77173
|
tCe("id");
|
|
77172
|
-
const nCe =
|
|
77173
|
-
|
|
77174
|
-
|
|
77175
|
-
|
|
77176
|
-
|
|
77174
|
+
const nCe = ld((e) => e, [], "identity");
|
|
77175
|
+
ld(() => 0, [], "zero");
|
|
77176
|
+
ld(() => 1, [], "one");
|
|
77177
|
+
ld(() => !0, [], "true");
|
|
77178
|
+
ld(() => !1, [], "false");
|
|
77177
77179
|
function rCe(e, t, n) {
|
|
77178
77180
|
const r = [t].concat([].slice.call(n));
|
|
77179
77181
|
console[e].apply(console, r);
|
|
@@ -77244,7 +77246,7 @@ function Yt(e) {
|
|
|
77244
77246
|
function cCe(e) {
|
|
77245
77247
|
return typeof e == "function";
|
|
77246
77248
|
}
|
|
77247
|
-
function
|
|
77249
|
+
function Wt(e, t) {
|
|
77248
77250
|
return Object.hasOwn(e, t);
|
|
77249
77251
|
}
|
|
77250
77252
|
function np(e) {
|
|
@@ -77279,7 +77281,7 @@ const uCe = "view", mh = "[", gh = "]", Q4 = "{", X4 = "}", dCe = ":", j4 = ",",
|
|
|
77279
77281
|
trail: 1
|
|
77280
77282
|
};
|
|
77281
77283
|
let Z4, J4;
|
|
77282
|
-
function
|
|
77284
|
+
function cd(e, t, n) {
|
|
77283
77285
|
return Z4 = t || uCe, J4 = mCe, eV(e.trim()).map(zA);
|
|
77284
77286
|
}
|
|
77285
77287
|
function gCe(e) {
|
|
@@ -78071,17 +78073,17 @@ function Wm(e, t) {
|
|
|
78071
78073
|
else
|
|
78072
78074
|
t(e);
|
|
78073
78075
|
}
|
|
78074
|
-
function
|
|
78075
|
-
return P1(e) ? { not:
|
|
78076
|
+
function nu(e, t) {
|
|
78077
|
+
return P1(e) ? { not: nu(e.not, t) } : k1(e) ? { and: e.and.map((n) => nu(n, t)) } : L1(e) ? { or: e.or.map((n) => nu(n, t)) } : t(e);
|
|
78076
78078
|
}
|
|
78077
78079
|
const Ie = structuredClone;
|
|
78078
78080
|
function sV(e) {
|
|
78079
78081
|
throw new Error(e);
|
|
78080
78082
|
}
|
|
78081
|
-
function
|
|
78083
|
+
function xu(e, t) {
|
|
78082
78084
|
const n = {};
|
|
78083
78085
|
for (const r of t)
|
|
78084
|
-
|
|
78086
|
+
Wt(e, r) && (n[r] = e[r]);
|
|
78085
78087
|
return n;
|
|
78086
78088
|
}
|
|
78087
78089
|
function qr(e, t) {
|
|
@@ -78112,7 +78114,7 @@ function VA(e) {
|
|
|
78112
78114
|
function $e(e, t) {
|
|
78113
78115
|
return e.includes(t);
|
|
78114
78116
|
}
|
|
78115
|
-
function
|
|
78117
|
+
function Iu(e, t) {
|
|
78116
78118
|
let n = 0;
|
|
78117
78119
|
for (const [r, i] of e.entries())
|
|
78118
78120
|
if (t(i, r, n++))
|
|
@@ -78180,7 +78182,7 @@ function U1(e, t) {
|
|
|
78180
78182
|
function ht(e) {
|
|
78181
78183
|
return Z(e).length === 0;
|
|
78182
78184
|
}
|
|
78183
|
-
const Z = Object.keys,
|
|
78185
|
+
const Z = Object.keys, Kt = Object.values, Ts = Object.entries;
|
|
78184
78186
|
function g_(e) {
|
|
78185
78187
|
return e === !0 || e === !1;
|
|
78186
78188
|
}
|
|
@@ -78223,10 +78225,10 @@ function Ei(e) {
|
|
|
78223
78225
|
function zl(e, t, n) {
|
|
78224
78226
|
return e.replace(new RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&"), "g"), n);
|
|
78225
78227
|
}
|
|
78226
|
-
function
|
|
78228
|
+
function ud(e) {
|
|
78227
78229
|
return `${uc(e).join(".")}`;
|
|
78228
78230
|
}
|
|
78229
|
-
function
|
|
78231
|
+
function Du(e) {
|
|
78230
78232
|
return e ? uc(e).length : 0;
|
|
78231
78233
|
}
|
|
78232
78234
|
function zt(...e) {
|
|
@@ -78345,9 +78347,9 @@ function ot(e) {
|
|
|
78345
78347
|
}(e);
|
|
78346
78348
|
}
|
|
78347
78349
|
function ee(e, t) {
|
|
78348
|
-
return Xe(e) &&
|
|
78350
|
+
return Xe(e) && Wt(e, t) && e[t] !== void 0;
|
|
78349
78351
|
}
|
|
78350
|
-
const Eo = "row", So = "column", uS = "facet", xt = "x", En = "y", ea = "x2", za = "y2", ws = "xOffset",
|
|
78352
|
+
const Eo = "row", So = "column", uS = "facet", xt = "x", En = "y", ea = "x2", za = "y2", ws = "xOffset", dd = "yOffset", ta = "radius", Do = "radius2", yi = "theta", wo = "theta2", na = "latitude", ra = "longitude", ia = "latitude2", Si = "longitude2", Ms = "time", xr = "color", qa = "fill", Ha = "stroke", Ir = "shape", Mo = "size", fc = "angle", Lo = "opacity", Ls = "fillOpacity", ks = "strokeOpacity", Ps = "strokeWidth", Fs = "strokeDash", sp = "text", wu = "order", lp = "detail", dS = "key", ql = "tooltip", fS = "href", _S = "url", pS = "description", kRe = {
|
|
78351
78353
|
x: 1,
|
|
78352
78354
|
y: 1,
|
|
78353
78355
|
x2: 1,
|
|
@@ -78359,7 +78361,7 @@ const Eo = "row", So = "column", uS = "facet", xt = "x", En = "y", ea = "x2", za
|
|
|
78359
78361
|
radius2: 1
|
|
78360
78362
|
};
|
|
78361
78363
|
function gV(e) {
|
|
78362
|
-
return
|
|
78364
|
+
return Wt(mV, e);
|
|
78363
78365
|
}
|
|
78364
78366
|
const G1 = {
|
|
78365
78367
|
longitude: 1,
|
|
@@ -78380,7 +78382,7 @@ function hV(e) {
|
|
|
78380
78382
|
}
|
|
78381
78383
|
}
|
|
78382
78384
|
function EV(e) {
|
|
78383
|
-
return
|
|
78385
|
+
return Wt(G1, e);
|
|
78384
78386
|
}
|
|
78385
78387
|
const PRe = Z(G1), Y1 = {
|
|
78386
78388
|
...kRe,
|
|
@@ -78413,7 +78415,7 @@ const PRe = Z(G1), Y1 = {
|
|
|
78413
78415
|
url: 1,
|
|
78414
78416
|
description: 1
|
|
78415
78417
|
};
|
|
78416
|
-
function
|
|
78418
|
+
function ru(e) {
|
|
78417
78419
|
return e === xr || e === qa || e === Ha;
|
|
78418
78420
|
}
|
|
78419
78421
|
const SV = {
|
|
@@ -78425,10 +78427,10 @@ const SV = {
|
|
|
78425
78427
|
...SV
|
|
78426
78428
|
}, FRe = Z(z1), { order: pke, detail: mke, tooltip: gke, ...BRe } = z1, { row: hke, column: Eke, facet: Ske, ...URe } = BRe;
|
|
78427
78429
|
function $Re(e) {
|
|
78428
|
-
return
|
|
78430
|
+
return Wt(URe, e);
|
|
78429
78431
|
}
|
|
78430
78432
|
function bV(e) {
|
|
78431
|
-
return
|
|
78433
|
+
return Wt(z1, e);
|
|
78432
78434
|
}
|
|
78433
78435
|
const GRe = [ea, za, ia, Si, wo, Do];
|
|
78434
78436
|
function TV(e) {
|
|
@@ -78551,7 +78553,7 @@ const zRe = Z(Y1), {
|
|
|
78551
78553
|
y: 1
|
|
78552
78554
|
}, ko = Z(V1);
|
|
78553
78555
|
function qt(e) {
|
|
78554
|
-
return
|
|
78556
|
+
return Wt(V1, e);
|
|
78555
78557
|
}
|
|
78556
78558
|
const W1 = {
|
|
78557
78559
|
theta: 1,
|
|
@@ -78562,7 +78564,7 @@ function mS(e) {
|
|
|
78562
78564
|
}
|
|
78563
78565
|
const vV = { xOffset: 1, yOffset: 1 };
|
|
78564
78566
|
function cp(e) {
|
|
78565
|
-
return
|
|
78567
|
+
return Wt(vV, e);
|
|
78566
78568
|
}
|
|
78567
78569
|
const VRe = {
|
|
78568
78570
|
time: 1
|
|
@@ -78586,7 +78588,7 @@ const {
|
|
|
78586
78588
|
...CV
|
|
78587
78589
|
} = H1, WRe = Z(CV);
|
|
78588
78590
|
function KRe(e) {
|
|
78589
|
-
return
|
|
78591
|
+
return Wt(H1, e);
|
|
78590
78592
|
}
|
|
78591
78593
|
function QRe(e) {
|
|
78592
78594
|
switch (e) {
|
|
@@ -78613,7 +78615,7 @@ const RV = {
|
|
|
78613
78615
|
...CV
|
|
78614
78616
|
}, K1 = Z(RV);
|
|
78615
78617
|
function Wa(e) {
|
|
78616
|
-
return
|
|
78618
|
+
return Wt(RV, e);
|
|
78617
78619
|
}
|
|
78618
78620
|
function XRe(e, t) {
|
|
78619
78621
|
return ZRe(e)[t];
|
|
@@ -78645,7 +78647,7 @@ function ZRe(e) {
|
|
|
78645
78647
|
case dS:
|
|
78646
78648
|
case ql:
|
|
78647
78649
|
case fS:
|
|
78648
|
-
case
|
|
78650
|
+
case wu:
|
|
78649
78651
|
case Lo:
|
|
78650
78652
|
case Ls:
|
|
78651
78653
|
case ks:
|
|
@@ -78657,7 +78659,7 @@ function ZRe(e) {
|
|
|
78657
78659
|
case xt:
|
|
78658
78660
|
case En:
|
|
78659
78661
|
case ws:
|
|
78660
|
-
case
|
|
78662
|
+
case dd:
|
|
78661
78663
|
case na:
|
|
78662
78664
|
case ra:
|
|
78663
78665
|
case Ms:
|
|
@@ -78726,7 +78728,7 @@ function gR(e) {
|
|
|
78726
78728
|
case yi:
|
|
78727
78729
|
case ta:
|
|
78728
78730
|
case ws:
|
|
78729
|
-
case
|
|
78731
|
+
case dd:
|
|
78730
78732
|
case Mo:
|
|
78731
78733
|
case fc:
|
|
78732
78734
|
case Ps:
|
|
@@ -78760,7 +78762,7 @@ function gR(e) {
|
|
|
78760
78762
|
case Si:
|
|
78761
78763
|
case lp:
|
|
78762
78764
|
case dS:
|
|
78763
|
-
case
|
|
78765
|
+
case wu:
|
|
78764
78766
|
return;
|
|
78765
78767
|
}
|
|
78766
78768
|
}
|
|
@@ -78802,7 +78804,7 @@ function Bs(e) {
|
|
|
78802
78804
|
return ee(e, "argmax");
|
|
78803
78805
|
}
|
|
78804
78806
|
function Q1(e) {
|
|
78805
|
-
return Le(e) &&
|
|
78807
|
+
return Le(e) && Wt(JRe, e);
|
|
78806
78808
|
}
|
|
78807
78809
|
const t0e = /* @__PURE__ */ new Set([
|
|
78808
78810
|
"count",
|
|
@@ -78914,7 +78916,7 @@ function OV(e) {
|
|
|
78914
78916
|
...f ? { subtitleFontWeight: f } : {},
|
|
78915
78917
|
..._ ? { subtitleLineHeight: _ } : {},
|
|
78916
78918
|
...p ? { subtitlePadding: p } : {}
|
|
78917
|
-
}, S =
|
|
78919
|
+
}, S = xu(e, ["align", "baseline", "dx", "dy", "limit"]);
|
|
78918
78920
|
return { titleMarkConfig: g, subtitleMarkConfig: S, nonMarkTitleProperties: h, subtitle: E };
|
|
78919
78921
|
}
|
|
78920
78922
|
function Vo(e) {
|
|
@@ -79682,7 +79684,7 @@ function UAe(e) {
|
|
|
79682
79684
|
function e8(e) {
|
|
79683
79685
|
return e === "ordinal" || e === "nominal";
|
|
79684
79686
|
}
|
|
79685
|
-
const Wl = dp.quantitative, uD = dp.ordinal,
|
|
79687
|
+
const Wl = dp.quantitative, uD = dp.ordinal, Mu = dp.temporal, dD = dp.nominal, fd = dp.geojson;
|
|
79686
79688
|
function $Ae(e) {
|
|
79687
79689
|
if (e)
|
|
79688
79690
|
switch (e = e.toLowerCase(), e) {
|
|
@@ -79690,7 +79692,7 @@ function $Ae(e) {
|
|
|
79690
79692
|
case Wl:
|
|
79691
79693
|
return "quantitative";
|
|
79692
79694
|
case "t":
|
|
79693
|
-
case
|
|
79695
|
+
case Mu:
|
|
79694
79696
|
return "temporal";
|
|
79695
79697
|
case "o":
|
|
79696
79698
|
case uD:
|
|
@@ -79698,7 +79700,7 @@ function $Ae(e) {
|
|
|
79698
79700
|
case "n":
|
|
79699
79701
|
case dD:
|
|
79700
79702
|
return "nominal";
|
|
79701
|
-
case
|
|
79703
|
+
case fd:
|
|
79702
79704
|
return "geojson";
|
|
79703
79705
|
}
|
|
79704
79706
|
}
|
|
@@ -79800,7 +79802,7 @@ function Vi(e) {
|
|
|
79800
79802
|
function Sa(e) {
|
|
79801
79803
|
return n8.has(e);
|
|
79802
79804
|
}
|
|
79803
|
-
function
|
|
79805
|
+
function Lu(e) {
|
|
79804
79806
|
return i8.has(e);
|
|
79805
79807
|
}
|
|
79806
79808
|
const HAe = {
|
|
@@ -79925,7 +79927,7 @@ function o8(e, t) {
|
|
|
79925
79927
|
case "interpolate":
|
|
79926
79928
|
case "scheme":
|
|
79927
79929
|
case "domainMid":
|
|
79928
|
-
return
|
|
79930
|
+
return ru(e) ? void 0 : W0e(t);
|
|
79929
79931
|
case "align":
|
|
79930
79932
|
case "type":
|
|
79931
79933
|
case "bins":
|
|
@@ -79951,7 +79953,7 @@ function o8(e, t) {
|
|
|
79951
79953
|
}
|
|
79952
79954
|
}
|
|
79953
79955
|
function ZAe(e, t) {
|
|
79954
|
-
return $e([uD, dD], t) ? e === void 0 || gn(e) : t ===
|
|
79956
|
+
return $e([uD, dD], t) ? e === void 0 || gn(e) : t === Mu ? $e([yn.TIME, yn.UTC, void 0], e) : t === Wl ? r8(e) || Lu(e) || e === void 0 : !0;
|
|
79955
79957
|
}
|
|
79956
79958
|
function JAe(e, t, n = !1) {
|
|
79957
79959
|
if (!Wa(e))
|
|
@@ -79960,7 +79962,7 @@ function JAe(e, t, n = !1) {
|
|
|
79960
79962
|
case xt:
|
|
79961
79963
|
case En:
|
|
79962
79964
|
case ws:
|
|
79963
|
-
case
|
|
79965
|
+
case dd:
|
|
79964
79966
|
case yi:
|
|
79965
79967
|
case ta:
|
|
79966
79968
|
return Sa(t) || t === "band" ? !0 : t === "point" ? !n : !1;
|
|
@@ -79972,14 +79974,14 @@ function JAe(e, t, n = !1) {
|
|
|
79972
79974
|
case Ls:
|
|
79973
79975
|
case ks:
|
|
79974
79976
|
case fc:
|
|
79975
|
-
return Sa(t) ||
|
|
79977
|
+
return Sa(t) || Lu(t) || $e(["band", "point", "ordinal"], t);
|
|
79976
79978
|
case xr:
|
|
79977
79979
|
case qa:
|
|
79978
79980
|
case Ha:
|
|
79979
79981
|
return t !== "band";
|
|
79980
79982
|
case Fs:
|
|
79981
79983
|
case Ir:
|
|
79982
|
-
return t === "ordinal" ||
|
|
79984
|
+
return t === "ordinal" || Lu(t);
|
|
79983
79985
|
}
|
|
79984
79986
|
}
|
|
79985
79987
|
function eNe(e) {
|
|
@@ -80197,7 +80199,7 @@ function ED({ channel: e, channelDef: t, channel2Def: n, markDef: r, config: i,
|
|
|
80197
80199
|
config: i
|
|
80198
80200
|
}));
|
|
80199
80201
|
const { bin: f, timeUnit: _, type: p } = t;
|
|
80200
|
-
if (St(f) || u && _ && p ===
|
|
80202
|
+
if (St(f) || u && _ && p === Mu)
|
|
80201
80203
|
return s != null && s.impute ? yl(t, a, { binSuffix: "mid" }, { offset: l }) : u && !gn(d) ? Th({ scaleName: a, fieldOrDatumDef: t, bandPosition: u, offset: l }) : yl(t, a, gp(t, e) ? { binSuffix: "range" } : {}, {
|
|
80202
80204
|
offset: l
|
|
80203
80205
|
});
|
|
@@ -80255,7 +80257,7 @@ function SD({ fieldOrDatumDef: e, format: t, formatType: n, expr: r, normalizeSt
|
|
|
80255
80257
|
expr: r,
|
|
80256
80258
|
config: a
|
|
80257
80259
|
});
|
|
80258
|
-
const o = m8(e, r, i), s =
|
|
80260
|
+
const o = m8(e, r, i), s = ku(e);
|
|
80259
80261
|
if (t === void 0 && n === void 0 && a.customFormatTypes) {
|
|
80260
80262
|
if (s === "quantitative") {
|
|
80261
80263
|
if (i && a.normalizedNumberFormatType)
|
|
@@ -80284,7 +80286,7 @@ function SD({ fieldOrDatumDef: e, format: t, formatType: n, expr: r, normalizeSt
|
|
|
80284
80286
|
config: a
|
|
80285
80287
|
});
|
|
80286
80288
|
}
|
|
80287
|
-
if (
|
|
80289
|
+
if (Fu(e)) {
|
|
80288
80290
|
const u = vNe({
|
|
80289
80291
|
field: o,
|
|
80290
80292
|
timeUnit: ne(e) ? (l = mn(e.timeUnit)) == null ? void 0 : l.unit : void 0,
|
|
@@ -80300,7 +80302,7 @@ function SD({ fieldOrDatumDef: e, format: t, formatType: n, expr: r, normalizeSt
|
|
|
80300
80302
|
return {
|
|
80301
80303
|
signal: fp(o, u, t, n, a)
|
|
80302
80304
|
};
|
|
80303
|
-
} else return t ||
|
|
80305
|
+
} else return t || ku(e) === "quantitative" ? {
|
|
80304
80306
|
signal: `${E8(o, t)}`
|
|
80305
80307
|
} : { signal: `isValid(${o}) ? ${o} : ""+${o}` };
|
|
80306
80308
|
}
|
|
@@ -80322,14 +80324,14 @@ function $i({ fieldOrDatumDef: e, format: t, formatType: n, expr: r, normalizeSt
|
|
|
80322
80324
|
}
|
|
80323
80325
|
function g8(e, t, n, r, i, a) {
|
|
80324
80326
|
var o;
|
|
80325
|
-
if (!(Le(r) && Ql(r)) && !(n === void 0 && r === void 0 && i.customFormatTypes &&
|
|
80326
|
-
if (
|
|
80327
|
+
if (!(Le(r) && Ql(r)) && !(n === void 0 && r === void 0 && i.customFormatTypes && ku(e) === "quantitative" && (i.normalizedNumberFormatType && Pu(e) && e.stack === "normalize" || i.numberFormatType))) {
|
|
80328
|
+
if (Pu(e) && e.stack === "normalize" && i.normalizedNumberFormat)
|
|
80327
80329
|
return JA({
|
|
80328
80330
|
type: "quantitative",
|
|
80329
80331
|
config: i,
|
|
80330
80332
|
normalizeStack: !0
|
|
80331
80333
|
});
|
|
80332
|
-
if (
|
|
80334
|
+
if (Fu(e)) {
|
|
80333
80335
|
const s = ne(e) ? (o = mn(e.timeUnit)) == null ? void 0 : o.unit : void 0;
|
|
80334
80336
|
return s === void 0 && i.customFormatTypes && i.timeFormatType ? void 0 : yNe({ specifiedFormat: n, timeUnit: s, config: i, omitTimeFormatConfig: a });
|
|
80335
80337
|
}
|
|
@@ -80340,7 +80342,7 @@ function h8(e, t, n) {
|
|
|
80340
80342
|
var r;
|
|
80341
80343
|
if (e && (ge(e) || e === "number" || e === "time"))
|
|
80342
80344
|
return e;
|
|
80343
|
-
if (
|
|
80345
|
+
if (Fu(t) && n !== "time" && n !== "utc")
|
|
80344
80346
|
return ne(t) && ((r = mn(t == null ? void 0 : t.timeUnit)) != null && r.utc) ? "utc" : "time";
|
|
80345
80347
|
}
|
|
80346
80348
|
function JA({ type: e, specifiedFormat: t, config: n, normalizeStack: r }) {
|
|
@@ -80384,7 +80386,7 @@ const RS = "min", CNe = {
|
|
|
80384
80386
|
text: 1
|
|
80385
80387
|
};
|
|
80386
80388
|
function o$(e) {
|
|
80387
|
-
return
|
|
80389
|
+
return Wt(CNe, e);
|
|
80388
80390
|
}
|
|
80389
80391
|
function RNe(e) {
|
|
80390
80392
|
return ee(e, "encoding");
|
|
@@ -80474,7 +80476,7 @@ function ONe(e) {
|
|
|
80474
80476
|
function ne(e) {
|
|
80475
80477
|
return ee(e, "field") || (e == null ? void 0 : e.aggregate) === "count";
|
|
80476
80478
|
}
|
|
80477
|
-
function
|
|
80479
|
+
function ku(e) {
|
|
80478
80480
|
return e == null ? void 0 : e.type;
|
|
80479
80481
|
}
|
|
80480
80482
|
function Ka(e) {
|
|
@@ -80501,7 +80503,7 @@ function Wi(e) {
|
|
|
80501
80503
|
function Ec(e) {
|
|
80502
80504
|
return ee(e, "scale") || ee(e, "sort");
|
|
80503
80505
|
}
|
|
80504
|
-
function
|
|
80506
|
+
function Pu(e) {
|
|
80505
80507
|
return ee(e, "axis") || ee(e, "stack") || ee(e, "impute");
|
|
80506
80508
|
}
|
|
80507
80509
|
function v8(e) {
|
|
@@ -80533,7 +80535,7 @@ function oe(e, t = {}) {
|
|
|
80533
80535
|
}
|
|
80534
80536
|
o && (n = n ? `${o}_${n}` : o);
|
|
80535
80537
|
}
|
|
80536
|
-
return i && (n = `${n}_${i}`), r && (n = `${r}_${n}`), t.forAs ?
|
|
80538
|
+
return i && (n = `${n}_${i}`), r && (n = `${r}_${n}`), t.forAs ? ud(n) : t.expr ? uV(n, t.expr) + a : Ei(n) + a;
|
|
80537
80539
|
}
|
|
80538
80540
|
function vh(e) {
|
|
80539
80541
|
switch (e.type) {
|
|
@@ -80550,7 +80552,7 @@ function vh(e) {
|
|
|
80550
80552
|
}
|
|
80551
80553
|
function DNe(e) {
|
|
80552
80554
|
var t;
|
|
80553
|
-
return Ec(e) &&
|
|
80555
|
+
return Ec(e) && Lu((t = e.scale) == null ? void 0 : t.type);
|
|
80554
80556
|
}
|
|
80555
80557
|
function wNe(e) {
|
|
80556
80558
|
return e.aggregate === "count";
|
|
@@ -80596,7 +80598,7 @@ function N8(e) {
|
|
|
80596
80598
|
function kNe() {
|
|
80597
80599
|
N8(R8);
|
|
80598
80600
|
}
|
|
80599
|
-
function
|
|
80601
|
+
function iu(e, t, { allowDisabling: n, includeDefault: r = !0 }) {
|
|
80600
80602
|
var s;
|
|
80601
80603
|
const i = (s = yD(e)) == null ? void 0 : s.title;
|
|
80602
80604
|
if (!ne(e))
|
|
@@ -80605,7 +80607,7 @@ function ru(e, t, { allowDisabling: n, includeDefault: r = !0 }) {
|
|
|
80605
80607
|
return n ? zt(i, a.title, o) : i ?? a.title ?? o;
|
|
80606
80608
|
}
|
|
80607
80609
|
function yD(e) {
|
|
80608
|
-
if (
|
|
80610
|
+
if (Pu(e) && e.axis)
|
|
80609
80611
|
return e.axis;
|
|
80610
80612
|
if (v8(e) && e.legend)
|
|
80611
80613
|
return e.legend;
|
|
@@ -80685,7 +80687,7 @@ function Rh(e, t, n, r) {
|
|
|
80685
80687
|
if (Ql(a) && !n.customFormatTypes)
|
|
80686
80688
|
return te(e$(t)), Rh(o, t, n, r);
|
|
80687
80689
|
} else {
|
|
80688
|
-
const i =
|
|
80690
|
+
const i = Pu(e) ? "axis" : v8(e) ? "legend" : bD(e) ? "header" : null;
|
|
80689
80691
|
if (i && e[i]) {
|
|
80690
80692
|
const { format: a, formatType: o, ...s } = e[i];
|
|
80691
80693
|
if (Ql(o) && !n.customFormatTypes)
|
|
@@ -80750,7 +80752,7 @@ function OS(e, t) {
|
|
|
80750
80752
|
binned: !0
|
|
80751
80753
|
} : !e.maxbins && !e.step ? { ...e, maxbins: HU(t) } : e;
|
|
80752
80754
|
}
|
|
80753
|
-
const
|
|
80755
|
+
const Bc = { compatible: !0 };
|
|
80754
80756
|
function BNe(e, t) {
|
|
80755
80757
|
const n = e.type;
|
|
80756
80758
|
if (n === "geojson" && t !== "shape")
|
|
@@ -80762,14 +80764,14 @@ function BNe(e, t) {
|
|
|
80762
80764
|
case Eo:
|
|
80763
80765
|
case So:
|
|
80764
80766
|
case uS:
|
|
80765
|
-
return vh(e) ?
|
|
80767
|
+
return vh(e) ? Bc : {
|
|
80766
80768
|
compatible: !1,
|
|
80767
80769
|
warning: G0e(t)
|
|
80768
80770
|
};
|
|
80769
80771
|
case xt:
|
|
80770
80772
|
case En:
|
|
80771
80773
|
case ws:
|
|
80772
|
-
case
|
|
80774
|
+
case dd:
|
|
80773
80775
|
case xr:
|
|
80774
80776
|
case qa:
|
|
80775
80777
|
case Ha:
|
|
@@ -80783,7 +80785,7 @@ function BNe(e, t) {
|
|
|
80783
80785
|
case yi:
|
|
80784
80786
|
case ta:
|
|
80785
80787
|
case pS:
|
|
80786
|
-
return
|
|
80788
|
+
return Bc;
|
|
80787
80789
|
case ra:
|
|
80788
80790
|
case Si:
|
|
80789
80791
|
case na:
|
|
@@ -80791,7 +80793,7 @@ function BNe(e, t) {
|
|
|
80791
80793
|
return n !== Wl ? {
|
|
80792
80794
|
compatible: !1,
|
|
80793
80795
|
warning: `Channel ${t} should be used with a quantitative field only, not ${e.type} field.`
|
|
80794
|
-
} :
|
|
80796
|
+
} : Bc;
|
|
80795
80797
|
case Lo:
|
|
80796
80798
|
case Ls:
|
|
80797
80799
|
case ks:
|
|
@@ -80805,21 +80807,21 @@ function BNe(e, t) {
|
|
|
80805
80807
|
return n === "nominal" && !e.sort ? {
|
|
80806
80808
|
compatible: !1,
|
|
80807
80809
|
warning: `Channel ${t} should not be used with an unsorted discrete field.`
|
|
80808
|
-
} :
|
|
80810
|
+
} : Bc;
|
|
80809
80811
|
case Ir:
|
|
80810
80812
|
case Fs:
|
|
80811
80813
|
return !vh(e) && !DNe(e) ? {
|
|
80812
80814
|
compatible: !1,
|
|
80813
80815
|
warning: Y0e(t)
|
|
80814
|
-
} :
|
|
80815
|
-
case
|
|
80816
|
+
} : Bc;
|
|
80817
|
+
case wu:
|
|
80816
80818
|
return e.type === "nominal" && !("sort" in e) ? {
|
|
80817
80819
|
compatible: !1,
|
|
80818
80820
|
warning: "Channel order is inappropriate for nominal field, which has no inherent order."
|
|
80819
|
-
} :
|
|
80821
|
+
} : Bc;
|
|
80820
80822
|
}
|
|
80821
80823
|
}
|
|
80822
|
-
function
|
|
80824
|
+
function Fu(e) {
|
|
80823
80825
|
const { formatType: t } = Ch(e);
|
|
80824
80826
|
return t === "time" || !t && UNe(e);
|
|
80825
80827
|
}
|
|
@@ -81098,7 +81100,7 @@ const I8 = ["domain", "grid", "labels", "ticks", "title"], $Ne = {
|
|
|
81098
81100
|
encoding: 1
|
|
81099
81101
|
};
|
|
81100
81102
|
function u$(e) {
|
|
81101
|
-
return
|
|
81103
|
+
return Wt(GNe, e);
|
|
81102
81104
|
}
|
|
81103
81105
|
const YNe = {
|
|
81104
81106
|
axis: 1,
|
|
@@ -81139,11 +81141,11 @@ class IS {
|
|
|
81139
81141
|
}
|
|
81140
81142
|
function vl(e, t) {
|
|
81141
81143
|
const n = e == null ? void 0 : e[t];
|
|
81142
|
-
return n ? de(n) ?
|
|
81144
|
+
return n ? de(n) ? Iu(n, (r) => !!r.field) : ne(n) || NS(n) : !1;
|
|
81143
81145
|
}
|
|
81144
81146
|
function M8(e, t) {
|
|
81145
81147
|
const n = e == null ? void 0 : e[t];
|
|
81146
|
-
return n ? de(n) ?
|
|
81148
|
+
return n ? de(n) ? Iu(n, (r) => !!r.field) : ne(n) || Ka(n) || mp(n) : !1;
|
|
81147
81149
|
}
|
|
81148
81150
|
function L8(e, t) {
|
|
81149
81151
|
if (qt(t)) {
|
|
@@ -81156,11 +81158,11 @@ function L8(e, t) {
|
|
|
81156
81158
|
return !1;
|
|
81157
81159
|
}
|
|
81158
81160
|
function k8(e) {
|
|
81159
|
-
return
|
|
81161
|
+
return Iu(FRe, (t) => {
|
|
81160
81162
|
if (vl(e, t)) {
|
|
81161
81163
|
const n = e[t];
|
|
81162
81164
|
if (de(n))
|
|
81163
|
-
return
|
|
81165
|
+
return Iu(n, (r) => !!r.aggregate);
|
|
81164
81166
|
{
|
|
81165
81167
|
const r = Ki(n);
|
|
81166
81168
|
return r && !!r.aggregate;
|
|
@@ -81179,7 +81181,7 @@ function P8(e, t) {
|
|
|
81179
81181
|
let g = oe(s, { forAs: !0 });
|
|
81180
81182
|
const h = {
|
|
81181
81183
|
// Only add title if it doesn't exist
|
|
81182
|
-
...m ? [] : { title:
|
|
81184
|
+
...m ? [] : { title: iu(s, t, { allowDisabling: !0 }) },
|
|
81183
81185
|
..._,
|
|
81184
81186
|
// Always overwrite field
|
|
81185
81187
|
field: g
|
|
@@ -81207,7 +81209,7 @@ function P8(e, t) {
|
|
|
81207
81209
|
field: c,
|
|
81208
81210
|
as: g
|
|
81209
81211
|
});
|
|
81210
|
-
const E = pr(s) && s.type !==
|
|
81212
|
+
const E = pr(s) && s.type !== Mu && "time";
|
|
81211
81213
|
E && (l === sp || l === ql ? h.formatType = E : KRe(l) ? h.legend = {
|
|
81212
81214
|
formatType: E,
|
|
81213
81215
|
...h.legend
|
|
@@ -81269,9 +81271,9 @@ function qNe(e, t, n, r) {
|
|
|
81269
81271
|
te(BV("encoding", { fill: "fill" in e, stroke: "stroke" in e }));
|
|
81270
81272
|
continue;
|
|
81271
81273
|
}
|
|
81272
|
-
if (a === lp || a ===
|
|
81274
|
+
if (a === lp || a === wu && !de(o) && !Wi(o) || a === ql && de(o)) {
|
|
81273
81275
|
if (o) {
|
|
81274
|
-
if (a ===
|
|
81276
|
+
if (a === wu) {
|
|
81275
81277
|
const s = e[a];
|
|
81276
81278
|
if (y8(s)) {
|
|
81277
81279
|
i[a] = s;
|
|
@@ -81338,7 +81340,7 @@ function F8(e, t) {
|
|
|
81338
81340
|
case ea:
|
|
81339
81341
|
case za:
|
|
81340
81342
|
case ws:
|
|
81341
|
-
case
|
|
81343
|
+
case dd:
|
|
81342
81344
|
case yi:
|
|
81343
81345
|
case wo:
|
|
81344
81346
|
case ta:
|
|
@@ -81353,7 +81355,7 @@ function F8(e, t) {
|
|
|
81353
81355
|
case fc:
|
|
81354
81356
|
case ql:
|
|
81355
81357
|
return n;
|
|
81356
|
-
case
|
|
81358
|
+
case wu:
|
|
81357
81359
|
if (e === "line" || e === "trail")
|
|
81358
81360
|
return n;
|
|
81359
81361
|
case lp:
|
|
@@ -81490,7 +81492,7 @@ function $8(e, t) {
|
|
|
81490
81492
|
return "horizontal";
|
|
81491
81493
|
if (o === t && s === t)
|
|
81492
81494
|
throw new Error("Both x and y cannot have aggregate");
|
|
81493
|
-
return
|
|
81495
|
+
return Fu(a) && !Fu(i) ? "horizontal" : "vertical";
|
|
81494
81496
|
}
|
|
81495
81497
|
return "horizontal";
|
|
81496
81498
|
} else {
|
|
@@ -81515,7 +81517,7 @@ function Y8(e, { config: t }) {
|
|
|
81515
81517
|
s,
|
|
81516
81518
|
// TODO: https://github.com/vega/vega-lite/issues/6245
|
|
81517
81519
|
t
|
|
81518
|
-
), u = s.invalid, d = G8(l), { bins: f, timeUnits: _, transform: p, continuousAxisChannelDef: m, continuousAxis: g, groupby: h, aggregate: E, encodingWithoutContinuousAxis: S, ticksOrient: T, boxOrient: b, customTooltipWithoutAggregatedField: v } = XNe(e, l, t), y =
|
|
81520
|
+
), u = s.invalid, d = G8(l), { bins: f, timeUnits: _, transform: p, continuousAxisChannelDef: m, continuousAxis: g, groupby: h, aggregate: E, encodingWithoutContinuousAxis: S, ticksOrient: T, boxOrient: b, customTooltipWithoutAggregatedField: v } = XNe(e, l, t), y = ud(m.field), { color: C, size: R, ...x } = S, N = (Rt) => ND(s, g, m, Rt, t.boxplot), F = N(x), k = N(S), I = (Xe(t.boxplot.box) ? t.boxplot.box.color : t.mark.color) || "#4c78a8", O = N({
|
|
81519
81521
|
...x,
|
|
81520
81522
|
...R ? { size: R } : {},
|
|
81521
81523
|
color: {
|
|
@@ -81669,7 +81671,7 @@ function Y8(e, { config: t }) {
|
|
|
81669
81671
|
};
|
|
81670
81672
|
}
|
|
81671
81673
|
function z8(e) {
|
|
81672
|
-
const t =
|
|
81674
|
+
const t = ud(e);
|
|
81673
81675
|
return [
|
|
81674
81676
|
{
|
|
81675
81677
|
op: "q1",
|
|
@@ -81684,7 +81686,7 @@ function z8(e) {
|
|
|
81684
81686
|
];
|
|
81685
81687
|
}
|
|
81686
81688
|
function XNe(e, t, n) {
|
|
81687
|
-
const r = $8(e, Ah), { continuousAxisChannelDef: i, continuousAxis: a } = U8(e, r, Ah), o = i.field, s =
|
|
81689
|
+
const r = $8(e, Ah), { continuousAxisChannelDef: i, continuousAxis: a } = U8(e, r, Ah), o = i.field, s = ud(o), l = G8(t), c = [
|
|
81688
81690
|
...z8(o),
|
|
81689
81691
|
{
|
|
81690
81692
|
op: "median",
|
|
@@ -81891,19 +81893,19 @@ function rOe(e, t, n, r, i, a, o, s) {
|
|
|
81891
81893
|
], d = [
|
|
81892
81894
|
{
|
|
81893
81895
|
fieldPrefix: "upper_",
|
|
81894
|
-
titlePrefix:
|
|
81896
|
+
titlePrefix: iu({ field: u, aggregate: h, type: "quantitative" }, s, {
|
|
81895
81897
|
allowDisabling: !1
|
|
81896
81898
|
})
|
|
81897
81899
|
},
|
|
81898
81900
|
{
|
|
81899
81901
|
fieldPrefix: "lower_",
|
|
81900
|
-
titlePrefix:
|
|
81902
|
+
titlePrefix: iu({ field: u, aggregate: g, type: "quantitative" }, s, {
|
|
81901
81903
|
allowDisabling: !1
|
|
81902
81904
|
})
|
|
81903
81905
|
},
|
|
81904
81906
|
{
|
|
81905
81907
|
fieldPrefix: "center_",
|
|
81906
|
-
titlePrefix:
|
|
81908
|
+
titlePrefix: iu({ field: u, aggregate: m, type: "quantitative" }, s, {
|
|
81907
81909
|
allowDisabling: !1
|
|
81908
81910
|
})
|
|
81909
81911
|
}
|
|
@@ -82617,16 +82619,16 @@ const MOe = {
|
|
|
82617
82619
|
normalize: 1
|
|
82618
82620
|
};
|
|
82619
82621
|
function LOe(e) {
|
|
82620
|
-
return
|
|
82622
|
+
return Wt(MOe, e);
|
|
82621
82623
|
}
|
|
82622
82624
|
const kOe = /* @__PURE__ */ new Set([s8, yS, TS, bh, CS, _D, pD, vS, l8, fD]), POe = /* @__PURE__ */ new Set([yS, TS, s8]);
|
|
82623
|
-
function
|
|
82624
|
-
return ne(e) &&
|
|
82625
|
+
function Uc(e) {
|
|
82626
|
+
return ne(e) && ku(e) === "quantitative" && !e.bin;
|
|
82625
82627
|
}
|
|
82626
82628
|
function g$(e, t, { orient: n, type: r }) {
|
|
82627
82629
|
const i = t === "x" ? "y" : "radius", a = t === "x" && ["bar", "area"].includes(r), o = e[t], s = e[i];
|
|
82628
82630
|
if (ne(o) && ne(s))
|
|
82629
|
-
if (
|
|
82631
|
+
if (Uc(o) && Uc(s)) {
|
|
82630
82632
|
if (o.stack)
|
|
82631
82633
|
return t;
|
|
82632
82634
|
if (s.stack)
|
|
@@ -82641,15 +82643,15 @@ function g$(e, t, { orient: n, type: r }) {
|
|
|
82641
82643
|
return t;
|
|
82642
82644
|
}
|
|
82643
82645
|
} else {
|
|
82644
|
-
if (
|
|
82646
|
+
if (Uc(o))
|
|
82645
82647
|
return t;
|
|
82646
|
-
if (
|
|
82648
|
+
if (Uc(s))
|
|
82647
82649
|
return i;
|
|
82648
82650
|
}
|
|
82649
82651
|
else {
|
|
82650
|
-
if (
|
|
82652
|
+
if (Uc(o))
|
|
82651
82653
|
return a && n === "vertical" ? void 0 : t;
|
|
82652
|
-
if (
|
|
82654
|
+
if (Uc(s))
|
|
82653
82655
|
return a && n === "horizontal" ? void 0 : i;
|
|
82654
82656
|
}
|
|
82655
82657
|
}
|
|
@@ -82783,7 +82785,7 @@ function GOe(e, t, n) {
|
|
|
82783
82785
|
if (s && l)
|
|
82784
82786
|
return "vertical";
|
|
82785
82787
|
{
|
|
82786
|
-
const c = pr(r) && r.type ===
|
|
82788
|
+
const c = pr(r) && r.type === Mu, u = pr(i) && i.type === Mu;
|
|
82787
82789
|
if (c && !u)
|
|
82788
82790
|
return "vertical";
|
|
82789
82791
|
if (!c && u)
|
|
@@ -82863,7 +82865,7 @@ class qOe {
|
|
|
82863
82865
|
...o ? { projection: o } : {},
|
|
82864
82866
|
mark: {
|
|
82865
82867
|
type: "line",
|
|
82866
|
-
...
|
|
82868
|
+
...xu(f, ["clip", "interpolate", "tension", "tooltip"]),
|
|
82867
82869
|
...p
|
|
82868
82870
|
},
|
|
82869
82871
|
encoding: h
|
|
@@ -82873,7 +82875,7 @@ class qOe {
|
|
|
82873
82875
|
type: "point",
|
|
82874
82876
|
opacity: 1,
|
|
82875
82877
|
filled: !0,
|
|
82876
|
-
...
|
|
82878
|
+
...xu(f, ["clip", "tooltip"]),
|
|
82877
82879
|
..._
|
|
82878
82880
|
},
|
|
82879
82881
|
encoding: h
|
|
@@ -83239,7 +83241,7 @@ function fxe(e) {
|
|
|
83239
83241
|
}
|
|
83240
83242
|
function _xe(e) {
|
|
83241
83243
|
return e.map((t) => PD(t) ? {
|
|
83242
|
-
filter:
|
|
83244
|
+
filter: nu(t.filter, BAe)
|
|
83243
83245
|
} : t);
|
|
83244
83246
|
}
|
|
83245
83247
|
class pxe extends kD {
|
|
@@ -83262,7 +83264,7 @@ class pxe extends kD {
|
|
|
83262
83264
|
params: Ts(r).map(([a, o]) => {
|
|
83263
83265
|
const { init: s, bind: l, empty: c, ...u } = o;
|
|
83264
83266
|
u.type === "single" ? (u.type = "point", u.toggle = !1) : u.type === "multi" && (u.type = "point"), n.emptySelections[a] = c !== "none";
|
|
83265
|
-
for (const d of
|
|
83267
|
+
for (const d of Kt(n.selectionPredicates[a] ?? {}))
|
|
83266
83268
|
d.empty = c !== "none";
|
|
83267
83269
|
return { name: a, value: s, select: u, bind: l };
|
|
83268
83270
|
})
|
|
@@ -83324,12 +83326,12 @@ function uW(e) {
|
|
|
83324
83326
|
return e;
|
|
83325
83327
|
}
|
|
83326
83328
|
function iN(e, t) {
|
|
83327
|
-
const n = (r) =>
|
|
83329
|
+
const n = (r) => nu(r, (i) => {
|
|
83328
83330
|
var s;
|
|
83329
83331
|
const a = t.emptySelections[i] ?? !0, o = { param: i, empty: a };
|
|
83330
83332
|
return (s = t.selectionPredicates)[i] ?? (s[i] = []), t.selectionPredicates[i].push(o), o;
|
|
83331
83333
|
});
|
|
83332
|
-
return e.selection ? n(e.selection) :
|
|
83334
|
+
return e.selection ? n(e.selection) : nu(e.test || e.filter, (r) => r.selection ? n(r.selection) : r);
|
|
83333
83335
|
}
|
|
83334
83336
|
class aN extends kD {
|
|
83335
83337
|
map(t, n) {
|
|
@@ -83497,14 +83499,14 @@ class Cxe extends Fo {
|
|
|
83497
83499
|
return n.parseNothing = this.parseNothing, n;
|
|
83498
83500
|
}
|
|
83499
83501
|
}
|
|
83500
|
-
function
|
|
83502
|
+
function Bu(e) {
|
|
83501
83503
|
return ee(e, "url");
|
|
83502
83504
|
}
|
|
83503
83505
|
function S_(e) {
|
|
83504
83506
|
return ee(e, "values");
|
|
83505
83507
|
}
|
|
83506
83508
|
function _W(e) {
|
|
83507
|
-
return ee(e, "name") && !
|
|
83509
|
+
return ee(e, "name") && !Bu(e) && !S_(e) && !cs(e);
|
|
83508
83510
|
}
|
|
83509
83511
|
function cs(e) {
|
|
83510
83512
|
return e && (pW(e) || mW(e) || FD(e));
|
|
@@ -83740,17 +83742,17 @@ class va extends dt {
|
|
|
83740
83742
|
this.timeUnits = r;
|
|
83741
83743
|
}
|
|
83742
83744
|
producedFields() {
|
|
83743
|
-
return new Set(
|
|
83745
|
+
return new Set(Kt(this.timeUnits).map((n) => yR(n) ? n.as : R$(n.field)));
|
|
83744
83746
|
}
|
|
83745
83747
|
dependentFields() {
|
|
83746
|
-
return new Set(
|
|
83748
|
+
return new Set(Kt(this.timeUnits).map((n) => n.field));
|
|
83747
83749
|
}
|
|
83748
83750
|
hash() {
|
|
83749
83751
|
return `TimeUnit ${ze(this.timeUnits)}`;
|
|
83750
83752
|
}
|
|
83751
83753
|
assemble() {
|
|
83752
83754
|
const n = [];
|
|
83753
|
-
for (const r of
|
|
83755
|
+
for (const r of Kt(this.timeUnits)) {
|
|
83754
83756
|
const { rectBandPosition: i } = r, a = mn(r.timeUnit);
|
|
83755
83757
|
if (yR(r)) {
|
|
83756
83758
|
const { field: o, as: s } = r, { unit: l, utc: c, ...u } = a, d = [s, `${s}_end`];
|
|
@@ -83878,12 +83880,12 @@ const Nxe = {
|
|
|
83878
83880
|
value: t.project.items.map(TW)
|
|
83879
83881
|
});
|
|
83880
83882
|
}
|
|
83881
|
-
}, EW = "_curr", Km = "anim_value",
|
|
83883
|
+
}, EW = "_curr", Km = "anim_value", zc = "anim_clock", oN = "eased_anim_clock", SW = "min_extent", bW = "max_range_extent", vR = "last_tick_at", CR = "is_playing", Oxe = 1 / 60 * 1e3, xxe = (e, t) => [
|
|
83882
83884
|
// timer signals
|
|
83883
83885
|
{
|
|
83884
83886
|
name: oN,
|
|
83885
83887
|
// update: 'easeLinear(anim_clock / max_range_extent) * max_range_extent'
|
|
83886
|
-
update:
|
|
83888
|
+
update: zc
|
|
83887
83889
|
// TODO: replace with above once easing functions are implemented in vega-functions
|
|
83888
83890
|
},
|
|
83889
83891
|
// scale signals
|
|
@@ -83898,19 +83900,19 @@ const Nxe = {
|
|
|
83898
83900
|
defined: (e) => e.type === "point",
|
|
83899
83901
|
topLevelSignals: (e, t, n) => (Ca(t) && (n = n.concat([
|
|
83900
83902
|
{
|
|
83901
|
-
name:
|
|
83903
|
+
name: zc,
|
|
83902
83904
|
init: "0",
|
|
83903
83905
|
on: [
|
|
83904
83906
|
{
|
|
83905
83907
|
events: { type: "timer", throttle: Oxe },
|
|
83906
|
-
update: `${CR} ? (${
|
|
83908
|
+
update: `${CR} ? (${zc} + (now() - ${vR}) > ${bW} ? 0 : ${zc} + (now() - ${vR})) : ${zc}`
|
|
83907
83909
|
}
|
|
83908
83910
|
]
|
|
83909
83911
|
},
|
|
83910
83912
|
{
|
|
83911
83913
|
name: vR,
|
|
83912
83914
|
init: "now()",
|
|
83913
|
-
on: [{ events: [{ signal:
|
|
83915
|
+
on: [{ events: [{ signal: zc }, { signal: CR }], update: "now()" }]
|
|
83914
83916
|
},
|
|
83915
83917
|
{
|
|
83916
83918
|
name: CR,
|
|
@@ -83918,7 +83920,7 @@ const Nxe = {
|
|
|
83918
83920
|
}
|
|
83919
83921
|
])), n),
|
|
83920
83922
|
signals: (e, t, n) => {
|
|
83921
|
-
const r = t.name, i = r + Ep, a = t.project, o = "(item().isVoronoi ? datum.datum : datum)", s =
|
|
83923
|
+
const r = t.name, i = r + Ep, a = t.project, o = "(item().isVoronoi ? datum.datum : datum)", s = Kt(e.component.selection ?? {}).reduce((u, d) => d.type === "interval" ? u.concat(d.name + au) : u, []).map((u) => `indexof(item().mark.name, '${u}') < 0`).join(" && "), l = `datum && item().mark.marktype !== 'group' && indexof(item().mark.role, 'legend') < 0${s ? ` && ${s}` : ""}`;
|
|
83922
83924
|
let c = `unit: ${Cl(e)}, `;
|
|
83923
83925
|
if (t.project.hasSelectionId)
|
|
83924
83926
|
c += `${Qi}: ${o}[${Qe(Qi)}]`;
|
|
@@ -83974,7 +83976,7 @@ function Xl(e, t = !0, n = nCe) {
|
|
|
83974
83976
|
return t ? n(ot(e)) : e;
|
|
83975
83977
|
}
|
|
83976
83978
|
function Dxe(e, t) {
|
|
83977
|
-
for (const n of
|
|
83979
|
+
for (const n of Kt(e.component.selection ?? {})) {
|
|
83978
83980
|
const r = n.name;
|
|
83979
83981
|
let i = `${r}${Oo}, ${n.resolve === "global" ? "true" : `{unit: ${Cl(e)}}`}`;
|
|
83980
83982
|
for (const a of BS)
|
|
@@ -83999,7 +84001,7 @@ function wxe(e, t) {
|
|
|
83999
84001
|
value: {},
|
|
84000
84002
|
on: [
|
|
84001
84003
|
{
|
|
84002
|
-
events:
|
|
84004
|
+
events: cd("pointermove", "scope"),
|
|
84003
84005
|
update: `isTuple(facet) ? facet : group(${n}).datum`
|
|
84004
84006
|
}
|
|
84005
84007
|
]
|
|
@@ -84009,7 +84011,7 @@ function wxe(e, t) {
|
|
|
84009
84011
|
}
|
|
84010
84012
|
function Mxe(e, t) {
|
|
84011
84013
|
let n = !1;
|
|
84012
|
-
for (const r of
|
|
84014
|
+
for (const r of Kt(e.component.selection ?? {})) {
|
|
84013
84015
|
const i = r.name, a = Qe(i + jl);
|
|
84014
84016
|
if (t.filter((s) => s.name === i).length === 0) {
|
|
84015
84017
|
const s = r.resolve === "global" ? "union" : r.resolve, l = r.type === "point" ? ", true, true)" : ")";
|
|
@@ -84030,7 +84032,7 @@ function Mxe(e, t) {
|
|
|
84030
84032
|
}
|
|
84031
84033
|
function Lxe(e, t) {
|
|
84032
84034
|
const n = [], r = [], i = Cl(e, { escape: !1 });
|
|
84033
|
-
for (const a of
|
|
84035
|
+
for (const a of Kt(e.component.selection ?? {})) {
|
|
84034
84036
|
const o = { name: a.name + jl };
|
|
84035
84037
|
if (a.project.hasSelectionId && (o.transform = [{ type: "collect", sort: { field: Qi } }]), a.init) {
|
|
84036
84038
|
const l = a.project.items.map(TW);
|
|
@@ -84053,7 +84055,7 @@ function Lxe(e, t) {
|
|
|
84053
84055
|
return n.concat(t, r);
|
|
84054
84056
|
}
|
|
84055
84057
|
function yW(e, t) {
|
|
84056
|
-
for (const n of
|
|
84058
|
+
for (const n of Kt(e.component.selection ?? {}))
|
|
84057
84059
|
for (const r of BS)
|
|
84058
84060
|
r.defined(n) && r.marks && (t = r.marks(e, n, t));
|
|
84059
84061
|
return t;
|
|
@@ -84118,9 +84120,9 @@ function sN(e, t) {
|
|
|
84118
84120
|
return `domain(${Qe(e.scaleName(t))})`;
|
|
84119
84121
|
}
|
|
84120
84122
|
function lN(e) {
|
|
84121
|
-
return e.parent &&
|
|
84123
|
+
return e.parent && hd(e.parent) && (!e.parent.parent || lN(e.parent.parent));
|
|
84122
84124
|
}
|
|
84123
|
-
const
|
|
84125
|
+
const au = "_brush", vW = "_scale_trigger", Kd = "geo_interval_init_tick", CW = "_init", Fxe = "_center", Bxe = {
|
|
84124
84126
|
defined: (e) => e.type === "interval",
|
|
84125
84127
|
parse: (e, t, n) => {
|
|
84126
84128
|
var r;
|
|
@@ -84129,7 +84131,7 @@ const iu = "_brush", vW = "_scale_trigger", Kd = "geo_interval_init_tick", CW =
|
|
|
84129
84131
|
i.fields = [Qi], i.encodings || (i.encodings = n.value ? Z(n.value) : [ra, na]), n.select = { type: "interval", ...i };
|
|
84130
84132
|
}
|
|
84131
84133
|
if (t.translate && !To.defined(t)) {
|
|
84132
|
-
const i = `!event.item || event.item.mark.name !== ${Qe(t.name +
|
|
84134
|
+
const i = `!event.item || event.item.mark.name !== ${Qe(t.name + au)}`;
|
|
84133
84135
|
for (const a of t.events) {
|
|
84134
84136
|
if (!a.between) {
|
|
84135
84137
|
te(`${a} is not an ordered event stream for interval selections.`);
|
|
@@ -84141,7 +84143,7 @@ const iu = "_brush", vW = "_scale_trigger", Kd = "geo_interval_init_tick", CW =
|
|
|
84141
84143
|
}
|
|
84142
84144
|
},
|
|
84143
84145
|
signals: (e, t, n) => {
|
|
84144
|
-
const r = t.name, i = r + Oo, a =
|
|
84146
|
+
const r = t.name, i = r + Oo, a = Kt(t.project.hasChannel).filter((s) => s.channel === xt || s.channel === En), o = t.init ? t.init[0] : null;
|
|
84145
84147
|
if (n.push(...a.reduce((s, l) => s.concat(Uxe(e, t, l, o == null ? void 0 : o[l.index])), [])), e.hasProjection) {
|
|
84146
84148
|
const s = Qe(e.projectionName()), l = e.projectionName() + Fxe, { x: c, y: u } = t.project.hasChannel, d = c == null ? void 0 : c.signals.visual, f = u == null ? void 0 : u.signals.visual, _ = c ? o == null ? void 0 : o[c.index] : `${l}[0]`, p = u ? o == null ? void 0 : o[u.index] : `${l}[1]`, m = (b) => e.getSizeSignalRef(b).signal, g = `[[${d ? `${d}[0]` : "0"}, ${f ? `${f}[0]` : "0"}],[${d ? `${d}[1]` : m("width")}, ${f ? `${f}[1]` : m("height")}]]`;
|
|
84147
84149
|
o && (n.unshift({
|
|
@@ -84238,7 +84240,7 @@ const iu = "_brush", vW = "_scale_trigger", Kd = "geo_interval_init_tick", CW =
|
|
|
84238
84240
|
], g), {}), m = f ?? (t.translate ? "move" : null);
|
|
84239
84241
|
return [
|
|
84240
84242
|
{
|
|
84241
|
-
name: `${r +
|
|
84243
|
+
name: `${r + au}_bg`,
|
|
84242
84244
|
type: "rect",
|
|
84243
84245
|
clip: !0,
|
|
84244
84246
|
encode: {
|
|
@@ -84251,7 +84253,7 @@ const iu = "_brush", vW = "_scale_trigger", Kd = "geo_interval_init_tick", CW =
|
|
|
84251
84253
|
},
|
|
84252
84254
|
...n,
|
|
84253
84255
|
{
|
|
84254
|
-
name: r +
|
|
84256
|
+
name: r + au,
|
|
84255
84257
|
type: "rect",
|
|
84256
84258
|
clip: !0,
|
|
84257
84259
|
encode: {
|
|
@@ -84297,7 +84299,7 @@ function Uxe(e, t, n, r) {
|
|
|
84297
84299
|
return [{ name: o, ...p, on: d }];
|
|
84298
84300
|
}
|
|
84299
84301
|
}
|
|
84300
|
-
function
|
|
84302
|
+
function _d({ model: e, channelDef: t, vgChannel: n, invalidValueRef: r, mainRefFn: i }) {
|
|
84301
84303
|
const a = pp(t) && t.condition;
|
|
84302
84304
|
let o = [];
|
|
84303
84305
|
a && (o = Yt(a).map((c) => {
|
|
@@ -84313,7 +84315,7 @@ function fd({ model: e, channelDef: t, vgChannel: n, invalidValueRef: r, mainRef
|
|
|
84313
84315
|
}
|
|
84314
84316
|
function UD(e, t = "text") {
|
|
84315
84317
|
const n = e.encoding[t];
|
|
84316
|
-
return
|
|
84318
|
+
return _d({
|
|
84317
84319
|
model: e,
|
|
84318
84320
|
channelDef: n,
|
|
84319
84321
|
vgChannel: t,
|
|
@@ -84338,7 +84340,7 @@ function RW(e, t = {}) {
|
|
|
84338
84340
|
return { tooltip: O$({ tooltip: o }, a, i, t) };
|
|
84339
84341
|
{
|
|
84340
84342
|
const s = t.reactiveGeom ? "datum.datum" : "datum";
|
|
84341
|
-
return
|
|
84343
|
+
return _d({
|
|
84342
84344
|
model: e,
|
|
84343
84345
|
channelDef: o,
|
|
84344
84346
|
vgChannel: "tooltip",
|
|
@@ -84413,12 +84415,12 @@ function Gxe(e) {
|
|
|
84413
84415
|
if (r.aria === !1)
|
|
84414
84416
|
return {};
|
|
84415
84417
|
const i = _t("ariaRoleDescription", n, r);
|
|
84416
|
-
return i != null ? { ariaRoleDescription: { value: i } } :
|
|
84418
|
+
return i != null ? { ariaRoleDescription: { value: i } } : Wt(c0e, t) ? {} : { ariaRoleDescription: { value: t } };
|
|
84417
84419
|
}
|
|
84418
84420
|
function Yxe(e) {
|
|
84419
84421
|
const { encoding: t, markDef: n, config: r, stack: i } = e, a = t.description;
|
|
84420
84422
|
if (a)
|
|
84421
|
-
return
|
|
84423
|
+
return _d({
|
|
84422
84424
|
model: e,
|
|
84423
84425
|
channelDef: a,
|
|
84424
84426
|
vgChannel: "description",
|
|
@@ -84461,7 +84463,7 @@ function vn(e, t, n = {}) {
|
|
|
84461
84463
|
scaleChannel: e,
|
|
84462
84464
|
channelDef: c
|
|
84463
84465
|
});
|
|
84464
|
-
return
|
|
84466
|
+
return _d({
|
|
84465
84467
|
model: t,
|
|
84466
84468
|
channelDef: c,
|
|
84467
84469
|
vgChannel: o ?? e,
|
|
@@ -84503,7 +84505,7 @@ function NW(e, t = { filled: void 0 }) {
|
|
|
84503
84505
|
}
|
|
84504
84506
|
function zxe(e) {
|
|
84505
84507
|
const { encoding: t, mark: n } = e, r = t.order;
|
|
84506
|
-
return !Us(n) && Wi(r) ?
|
|
84508
|
+
return !Us(n) && Wi(r) ? _d({
|
|
84507
84509
|
model: e,
|
|
84508
84510
|
channelDef: r,
|
|
84509
84511
|
vgChannel: "zindex",
|
|
@@ -84512,7 +84514,7 @@ function zxe(e) {
|
|
|
84512
84514
|
// zindex encoding doesn't have continuous scales and thus can't have invalid values
|
|
84513
84515
|
}) : {};
|
|
84514
84516
|
}
|
|
84515
|
-
function
|
|
84517
|
+
function Uu({ channel: e, markDef: t, encoding: n = {}, model: r, bandPosition: i }) {
|
|
84516
84518
|
const a = `${e}Offset`, o = t[a], s = n[a];
|
|
84517
84519
|
if ((a === "xOffset" || a === "yOffset") && s)
|
|
84518
84520
|
return { offsetType: "encoding", offset: ED({
|
|
@@ -84530,7 +84532,7 @@ function Bu({ channel: e, markDef: t, encoding: n = {}, model: r, bandPosition:
|
|
|
84530
84532
|
return l ? { offsetType: "visual", offset: l } : {};
|
|
84531
84533
|
}
|
|
84532
84534
|
function or(e, t, { defaultPos: n, vgChannel: r }) {
|
|
84533
|
-
const { encoding: i, markDef: a, config: o, stack: s } = t, l = i[e], c = i[Va(e)], u = t.scaleName(e), d = t.getScaleComponent(e), { offset: f, offsetType: _ } =
|
|
84535
|
+
const { encoding: i, markDef: a, config: o, stack: s } = t, l = i[e], c = i[Va(e)], u = t.scaleName(e), d = t.getScaleComponent(e), { offset: f, offsetType: _ } = Uu({
|
|
84534
84536
|
channel: e,
|
|
84535
84537
|
markDef: a,
|
|
84536
84538
|
encoding: i,
|
|
@@ -84655,7 +84657,7 @@ function xW(e, t, { defaultPos: n, defaultPos2: r }) {
|
|
|
84655
84657
|
};
|
|
84656
84658
|
}
|
|
84657
84659
|
function Wxe(e, t, n) {
|
|
84658
|
-
const { encoding: r, mark: i, markDef: a, stack: o, config: s } = e, l = _c(n), c = Dr(n), u = ys(n), d = r[l], f = e.scaleName(l), _ = e.getScaleComponent(l), { offset: p } = n in r || n in a ?
|
|
84660
|
+
const { encoding: r, mark: i, markDef: a, stack: o, config: s } = e, l = _c(n), c = Dr(n), u = ys(n), d = r[l], f = e.scaleName(l), _ = e.getScaleComponent(l), { offset: p } = n in r || n in a ? Uu({ channel: n, markDef: a, encoding: r, model: e }) : Uu({ channel: l, markDef: a, encoding: r, model: e });
|
|
84659
84661
|
if (!d && (n === "x2" || n === "y2") && (r.latitude || r.longitude)) {
|
|
84660
84662
|
const g = Dr(n), h = e.markDef[g];
|
|
84661
84663
|
return h != null ? {
|
|
@@ -84784,7 +84786,7 @@ function Xxe(e, t, n) {
|
|
|
84784
84786
|
g = g || {
|
|
84785
84787
|
[u]: Qxe(u, _ || l, p || c, a, E, !!e, r.type)
|
|
84786
84788
|
};
|
|
84787
|
-
const S = ((x = c || p) == null ? void 0 : x.get("type")) === "band" && Kl(E) && !h ? "top" : "middle", T = OW(t, r, a, S), b = T === "xc" || T === "yc", { offset: v, offsetType: y } =
|
|
84789
|
+
const S = ((x = c || p) == null ? void 0 : x.get("type")) === "band" && Kl(E) && !h ? "top" : "middle", T = OW(t, r, a, S), b = T === "xc" || T === "yc", { offset: v, offsetType: y } = Uu({ channel: t, markDef: r, encoding: i, model: n, bandPosition: b ? 0.5 : 0 }), C = hD({
|
|
84788
84790
|
channel: t,
|
|
84789
84791
|
channelDef: e,
|
|
84790
84792
|
markDef: r,
|
|
@@ -84824,7 +84826,7 @@ function I$(e, t, n, r, i, a, o) {
|
|
|
84824
84826
|
}
|
|
84825
84827
|
function jxe({ fieldDef: e, fieldDef2: t, channel: n, model: r }) {
|
|
84826
84828
|
var x;
|
|
84827
|
-
const { config: i, markDef: a, encoding: o } = r, s = r.getScaleComponent(n), l = r.scaleName(n), c = s ? s.get("type") : void 0, u = s.get("reverse"), d = b8({ channel: n, fieldDef: e, markDef: a, config: i, scaleType: c }), f = (x = r.component.axes[n]) == null ? void 0 : x[0], _ = (f == null ? void 0 : f.get("translate")) ?? 0.5, p = qt(n) ? _t("binSpacing", a, i) ?? 0 : 0, m = Va(n), g = ys(n), h = ys(m), E = Ma("minBandSize", a, i), { offset: S } =
|
|
84829
|
+
const { config: i, markDef: a, encoding: o } = r, s = r.getScaleComponent(n), l = r.scaleName(n), c = s ? s.get("type") : void 0, u = s.get("reverse"), d = b8({ channel: n, fieldDef: e, markDef: a, config: i, scaleType: c }), f = (x = r.component.axes[n]) == null ? void 0 : x[0], _ = (f == null ? void 0 : f.get("translate")) ?? 0.5, p = qt(n) ? _t("binSpacing", a, i) ?? 0 : 0, m = Va(n), g = ys(n), h = ys(m), E = Ma("minBandSize", a, i), { offset: S } = Uu({ channel: n, markDef: a, encoding: o, model: r, bandPosition: 0 }), { offset: T } = Uu({ channel: m, markDef: a, encoding: o, model: r, bandPosition: 0 }), b = bNe({ fieldDef: e, scaleName: l }), v = I$(n, p, u, _, S, E, b), y = I$(m, p, u, _, T ?? S, E, b), C = ge(d) ? { signal: `(1-${d.signal})/2` } : Kl(d) ? (1 - d.band) / 2 : 0.5, R = vs({ fieldDef: e, fieldDef2: t, markDef: a, config: i });
|
|
84828
84830
|
if (St(e.bin) || e.timeUnit) {
|
|
84829
84831
|
const N = e.timeUnit && R !== 0.5;
|
|
84830
84832
|
return {
|
|
@@ -85001,7 +85003,7 @@ const RR = "voronoi", IW = {
|
|
|
85001
85003
|
}, eIe = {
|
|
85002
85004
|
defined: (e) => e.clear !== void 0 && e.clear !== !1 && !Ca(e),
|
|
85003
85005
|
parse: (e, t) => {
|
|
85004
|
-
t.clear && (t.clear = Le(t.clear) ?
|
|
85006
|
+
t.clear && (t.clear = Le(t.clear) ? cd(t.clear, "view") : t.clear);
|
|
85005
85007
|
},
|
|
85006
85008
|
topLevelSignals: (e, t, n) => {
|
|
85007
85009
|
if (DW.defined(t))
|
|
@@ -85041,7 +85043,7 @@ const RR = "voronoi", IW = {
|
|
|
85041
85043
|
for (const s of t.events)
|
|
85042
85044
|
s.filter = Yt(s.filter ?? []), s.filter.includes(o) || s.filter.push(o);
|
|
85043
85045
|
}
|
|
85044
|
-
const i = SR(t.bind) ? t.bind.legend : "click", a = Le(i) ?
|
|
85046
|
+
const i = SR(t.bind) ? t.bind.legend : "click", a = Le(i) ? cd(i, "view") : Yt(i);
|
|
85045
85047
|
t.bind = { legend: { merge: a } };
|
|
85046
85048
|
},
|
|
85047
85049
|
topLevelSignals: (e, t, n) => {
|
|
@@ -85085,7 +85087,7 @@ const RR = "voronoi", IW = {
|
|
|
85085
85087
|
function tIe(e, t, n) {
|
|
85086
85088
|
var i;
|
|
85087
85089
|
const r = (i = e.fieldDef(t)) == null ? void 0 : i.field;
|
|
85088
|
-
for (const a of
|
|
85090
|
+
for (const a of Kt(e.component.selection ?? {})) {
|
|
85089
85091
|
const o = a.project.hasField[r] ?? a.project.hasChannel[t];
|
|
85090
85092
|
if (o && MW.defined(a)) {
|
|
85091
85093
|
const s = n.get("selections") ?? [];
|
|
@@ -85097,8 +85099,8 @@ const LW = "_translate_anchor", kW = "_translate_delta", nIe = {
|
|
|
85097
85099
|
defined: (e) => e.type === "interval" && e.translate,
|
|
85098
85100
|
signals: (e, t, n) => {
|
|
85099
85101
|
const r = t.name, i = To.defined(t), a = r + LW, { x: o, y: s } = t.project.hasChannel;
|
|
85100
|
-
let l =
|
|
85101
|
-
return i || (l = l.map((c) => (c.between[0].markname = r +
|
|
85102
|
+
let l = cd(t.translate, "scope");
|
|
85103
|
+
return i || (l = l.map((c) => (c.between[0].markname = r + au, c))), n.push({
|
|
85102
85104
|
name: a,
|
|
85103
85105
|
value: {},
|
|
85104
85106
|
on: [
|
|
@@ -85130,8 +85132,8 @@ const PW = "_zoom_anchor", FW = "_zoom_delta", rIe = {
|
|
|
85130
85132
|
defined: (e) => e.type === "interval" && e.zoom,
|
|
85131
85133
|
signals: (e, t, n) => {
|
|
85132
85134
|
const r = t.name, i = To.defined(t), a = r + FW, { x: o, y: s } = t.project.hasChannel, l = Qe(e.scaleName(xt)), c = Qe(e.scaleName(En));
|
|
85133
|
-
let u =
|
|
85134
|
-
return i || (u = u.map((d) => (d.markname = r +
|
|
85135
|
+
let u = cd(t.zoom, "scope");
|
|
85136
|
+
return i || (u = u.map((d) => (d.markname = r + au, d))), n.push({
|
|
85135
85137
|
name: r + PW,
|
|
85136
85138
|
on: [
|
|
85137
85139
|
{
|
|
@@ -85189,7 +85191,7 @@ function Cl(e, { escape: t } = { escape: !0 }) {
|
|
|
85189
85191
|
return n;
|
|
85190
85192
|
}
|
|
85191
85193
|
function YD(e) {
|
|
85192
|
-
return
|
|
85194
|
+
return Kt(e.component.selection ?? {}).reduce((t, n) => t || n.project.hasSelectionId, !1);
|
|
85193
85195
|
}
|
|
85194
85196
|
function UW(e, t) {
|
|
85195
85197
|
(Ke(t.select) || !t.select.on) && delete e.events, (Ke(t.select) || !t.select.clear) && delete e.clear, (Ke(t.select) || !t.select.toggle) && delete e.toggle;
|
|
@@ -85211,7 +85213,7 @@ function GW(e) {
|
|
|
85211
85213
|
r.type === "MemberExpression" && $W(r) && n.add(cN(r).slice(1).join("."));
|
|
85212
85214
|
}), n;
|
|
85213
85215
|
}
|
|
85214
|
-
class
|
|
85216
|
+
class pd extends dt {
|
|
85215
85217
|
constructor(n, r, i) {
|
|
85216
85218
|
super(n);
|
|
85217
85219
|
G(this, "model");
|
|
@@ -85221,7 +85223,7 @@ class _d extends dt {
|
|
|
85221
85223
|
this.model = r, this.filter = i, this.expr = Ih(this.model, this.filter, this), this._dependentFields = GW(this.expr);
|
|
85222
85224
|
}
|
|
85223
85225
|
clone() {
|
|
85224
|
-
return new
|
|
85226
|
+
return new pd(null, this.model, Ie(this.filter));
|
|
85225
85227
|
}
|
|
85226
85228
|
dependentFields() {
|
|
85227
85229
|
return this._dependentFields;
|
|
@@ -85254,7 +85256,7 @@ function oIe(e, t) {
|
|
|
85254
85256
|
type: l,
|
|
85255
85257
|
init: a.value,
|
|
85256
85258
|
bind: a.bind,
|
|
85257
|
-
events: Le(c.on) ?
|
|
85259
|
+
events: Le(c.on) ? cd(c.on, "scope") : Yt(Ie(c.on))
|
|
85258
85260
|
};
|
|
85259
85261
|
if (Ca(d) && (i++, i > 1)) {
|
|
85260
85262
|
delete n[o];
|
|
@@ -85300,7 +85302,7 @@ function zW(e, t, n) {
|
|
|
85300
85302
|
function sIe(e, t) {
|
|
85301
85303
|
for (const [n, r] of Ts(e.component.selection ?? {})) {
|
|
85302
85304
|
const i = e.getName(`lookup_${n}`);
|
|
85303
|
-
e.component.data.outputNodes[i] = r.materialized = new Rr(new
|
|
85305
|
+
e.component.data.outputNodes[i] = r.materialized = new Rr(new pd(t, e, { param: n }), i, Mt.Lookup, e.component.data.outputNodeRefCounts);
|
|
85304
85306
|
}
|
|
85305
85307
|
}
|
|
85306
85308
|
function Ih(e, t, n) {
|
|
@@ -85649,7 +85651,7 @@ function bIe(e, t) {
|
|
|
85649
85651
|
function TIe(e, t) {
|
|
85650
85652
|
return e === "rect" && vh(t) ? 1 : 0;
|
|
85651
85653
|
}
|
|
85652
|
-
class
|
|
85654
|
+
class $u extends dt {
|
|
85653
85655
|
constructor(n, r) {
|
|
85654
85656
|
super(n);
|
|
85655
85657
|
G(this, "transform");
|
|
@@ -85657,15 +85659,15 @@ class Uu extends dt {
|
|
|
85657
85659
|
this.transform = r, this._dependentFields = GW(this.transform.calculate);
|
|
85658
85660
|
}
|
|
85659
85661
|
clone() {
|
|
85660
|
-
return new
|
|
85662
|
+
return new $u(null, Ie(this.transform));
|
|
85661
85663
|
}
|
|
85662
85664
|
static parseAllForSortIndex(n, r) {
|
|
85663
85665
|
return r.forEachFieldDef((i, a) => {
|
|
85664
85666
|
if (Ec(i) && S8(i.sort)) {
|
|
85665
85667
|
const { field: o, timeUnit: s } = i, l = i.sort, c = l.map((u, d) => `${JV({ field: o, timeUnit: s, equal: u })} ? ${d} : `).join("") + l.length;
|
|
85666
|
-
n = new
|
|
85668
|
+
n = new $u(n, {
|
|
85667
85669
|
calculate: c,
|
|
85668
|
-
as:
|
|
85670
|
+
as: Gu(i, a, { forAs: !0 })
|
|
85669
85671
|
});
|
|
85670
85672
|
}
|
|
85671
85673
|
}), n;
|
|
@@ -85687,20 +85689,20 @@ class Uu extends dt {
|
|
|
85687
85689
|
return `Calculate ${ze(this.transform)}`;
|
|
85688
85690
|
}
|
|
85689
85691
|
}
|
|
85690
|
-
function
|
|
85692
|
+
function Gu(e, t, n) {
|
|
85691
85693
|
return oe(e, { prefix: t, suffix: "sort_index", ...n });
|
|
85692
85694
|
}
|
|
85693
85695
|
function US(e, t) {
|
|
85694
85696
|
return $e(["top", "bottom"], t) ? "column" : $e(["left", "right"], t) || e === "row" ? "row" : "column";
|
|
85695
85697
|
}
|
|
85696
|
-
function
|
|
85698
|
+
function Yu(e, t, n, r) {
|
|
85697
85699
|
const i = r === "row" ? n.headerRow : r === "column" ? n.headerColumn : n.headerFacet;
|
|
85698
85700
|
return zt((t || {})[e], i[e], n.header[e]);
|
|
85699
85701
|
}
|
|
85700
85702
|
function $S(e, t, n, r) {
|
|
85701
85703
|
const i = {};
|
|
85702
85704
|
for (const a of e) {
|
|
85703
|
-
const o =
|
|
85705
|
+
const o = Yu(a, t || {}, n, r);
|
|
85704
85706
|
o !== void 0 && (i[a] = o);
|
|
85705
85707
|
}
|
|
85706
85708
|
return i;
|
|
@@ -85752,7 +85754,7 @@ function CIe(e, t) {
|
|
|
85752
85754
|
field: oe(n, { expr: "datum" }),
|
|
85753
85755
|
order: n.order ?? "ascending"
|
|
85754
85756
|
} : de(n) ? {
|
|
85755
|
-
field:
|
|
85757
|
+
field: Gu(e, t, { expr: "datum" }),
|
|
85756
85758
|
order: "ascending"
|
|
85757
85759
|
} : {
|
|
85758
85760
|
field: oe(e, { expr: "datum" }),
|
|
@@ -85844,7 +85846,7 @@ function XW(e, t, n, r, i) {
|
|
|
85844
85846
|
for (const o of r) {
|
|
85845
85847
|
if (!i[o])
|
|
85846
85848
|
continue;
|
|
85847
|
-
const s =
|
|
85849
|
+
const s = Yu(o, t == null ? void 0 : t.header, e, n);
|
|
85848
85850
|
s !== void 0 && (a[i[o]] = s);
|
|
85849
85851
|
}
|
|
85850
85852
|
return a;
|
|
@@ -85911,7 +85913,7 @@ function ZW(e) {
|
|
|
85911
85913
|
function JW(e, t) {
|
|
85912
85914
|
return Z(e).reduce((n, r) => ({
|
|
85913
85915
|
...n,
|
|
85914
|
-
...
|
|
85916
|
+
..._d({
|
|
85915
85917
|
model: t,
|
|
85916
85918
|
channelDef: e[r],
|
|
85917
85919
|
vgChannel: r,
|
|
@@ -85924,7 +85926,7 @@ function JW(e, t) {
|
|
|
85924
85926
|
function e7(e, t) {
|
|
85925
85927
|
if (Hr(t))
|
|
85926
85928
|
return e === "theta" ? "independent" : "shared";
|
|
85927
|
-
if (
|
|
85929
|
+
if (hd(t))
|
|
85928
85930
|
return "shared";
|
|
85929
85931
|
if (ZD(t))
|
|
85930
85932
|
return qt(e) || e === "theta" || e === "radius" ? "independent" : "shared";
|
|
@@ -86072,9 +86074,9 @@ const $$ = {
|
|
|
86072
86074
|
},
|
|
86073
86075
|
labelOverlap: ({ legend: e, legendConfig: t, scaleType: n }) => e.labelOverlap ?? t.labelOverlap ?? YIe(n),
|
|
86074
86076
|
symbolType: ({ legend: e, markDef: t, channel: n, encoding: r }) => e.symbolType ?? PIe(t.type, n, r.shape, t.shape),
|
|
86075
|
-
title: ({ fieldOrDatumDef: e, config: t }) =>
|
|
86077
|
+
title: ({ fieldOrDatumDef: e, config: t }) => iu(e, t, { allowDisabling: !0 }),
|
|
86076
86078
|
type: ({ legendType: e, scaleType: t, channel: n }) => {
|
|
86077
|
-
if (
|
|
86079
|
+
if (ru(n) && Sa(t)) {
|
|
86078
86080
|
if (e === "gradient")
|
|
86079
86081
|
return;
|
|
86080
86082
|
} else if (e === "symbol")
|
|
@@ -86122,7 +86124,7 @@ function FIe(e) {
|
|
|
86122
86124
|
return zt(t.type, BIe(e));
|
|
86123
86125
|
}
|
|
86124
86126
|
function BIe({ channel: e, timeUnit: t, scaleType: n }) {
|
|
86125
|
-
if (
|
|
86127
|
+
if (ru(e)) {
|
|
86126
86128
|
if ($e(["quarter", "month", "day"], t))
|
|
86127
86129
|
return "symbol";
|
|
86128
86130
|
if (Sa(n))
|
|
@@ -86167,7 +86169,7 @@ function zIe(e) {
|
|
|
86167
86169
|
const { encoding: t } = e, n = {};
|
|
86168
86170
|
for (const r of [xr, ...j8]) {
|
|
86169
86171
|
const i = en(t[r]);
|
|
86170
|
-
!i || !e.getScaleComponent(r) || r === Ir && ne(i) && i.type ===
|
|
86172
|
+
!i || !e.getScaleComponent(r) || r === Ir && ne(i) && i.type === fd || (n[r] = VIe(e, r));
|
|
86171
86173
|
}
|
|
86172
86174
|
return n;
|
|
86173
86175
|
}
|
|
@@ -86296,7 +86298,7 @@ function s7(e) {
|
|
|
86296
86298
|
else
|
|
86297
86299
|
n[o] = [t[i].clone()];
|
|
86298
86300
|
}
|
|
86299
|
-
return
|
|
86301
|
+
return Kt(n).flat().map((i) => XIe(i, e.config)).filter((i) => i !== void 0);
|
|
86300
86302
|
}
|
|
86301
86303
|
function XIe(e, t) {
|
|
86302
86304
|
var o, s, l;
|
|
@@ -86316,7 +86318,7 @@ function XIe(e, t) {
|
|
|
86316
86318
|
}
|
|
86317
86319
|
}
|
|
86318
86320
|
function jIe(e) {
|
|
86319
|
-
return
|
|
86321
|
+
return hd(e) || ZD(e) ? ZIe(e) : l7(e);
|
|
86320
86322
|
}
|
|
86321
86323
|
function ZIe(e) {
|
|
86322
86324
|
return e.children.reduce((t, n) => t.concat(n.assembleProjections()), l7(e));
|
|
@@ -86416,12 +86418,12 @@ function t1e(e) {
|
|
|
86416
86418
|
(en(n[r[0]]) || en(n[r[1]])) && t.push({
|
|
86417
86419
|
signal: e.getName(`geojson_${t.length}`)
|
|
86418
86420
|
});
|
|
86419
|
-
return e.channelHasField(Ir) && e.typedFieldDef(Ir).type ===
|
|
86421
|
+
return e.channelHasField(Ir) && e.typedFieldDef(Ir).type === fd && t.push({
|
|
86420
86422
|
signal: e.getName(`geojson_${t.length}`)
|
|
86421
86423
|
}), t.length === 0 && t.push(e.requestDataName(Mt.Main)), t;
|
|
86422
86424
|
}
|
|
86423
86425
|
function n1e(e, t) {
|
|
86424
|
-
const n = F1(JIe, (i) => !!(!
|
|
86426
|
+
const n = F1(JIe, (i) => !!(!Wt(e.explicit, i) && !Wt(t.explicit, i) || Wt(e.explicit, i) && Wt(t.explicit, i) && // some properties might be signals or objects and require hashing for comparison
|
|
86425
86427
|
$r(e.get(i), t.get(i))));
|
|
86426
86428
|
if ($r(e.size, t.size)) {
|
|
86427
86429
|
if (n)
|
|
@@ -86547,16 +86549,16 @@ class Ra extends dt {
|
|
|
86547
86549
|
n.remove();
|
|
86548
86550
|
}
|
|
86549
86551
|
producedFields() {
|
|
86550
|
-
return new Set(
|
|
86552
|
+
return new Set(Kt(this.bins).map((n) => n.as).flat(2));
|
|
86551
86553
|
}
|
|
86552
86554
|
dependentFields() {
|
|
86553
|
-
return new Set(
|
|
86555
|
+
return new Set(Kt(this.bins).map((n) => n.field));
|
|
86554
86556
|
}
|
|
86555
86557
|
hash() {
|
|
86556
86558
|
return `Bin ${ze(this.bins)}`;
|
|
86557
86559
|
}
|
|
86558
86560
|
assemble() {
|
|
86559
|
-
return
|
|
86561
|
+
return Kt(this.bins).flatMap((n) => {
|
|
86560
86562
|
const r = [], [i, ...a] = n.as, { extent: o, ...s } = n.bin, l = {
|
|
86561
86563
|
type: "bin",
|
|
86562
86564
|
field: Ei(n.field),
|
|
@@ -86694,7 +86696,7 @@ class Yi extends dt {
|
|
|
86694
86696
|
};
|
|
86695
86697
|
}
|
|
86696
86698
|
}
|
|
86697
|
-
class
|
|
86699
|
+
class md extends dt {
|
|
86698
86700
|
/**
|
|
86699
86701
|
* @param model The facet model.
|
|
86700
86702
|
* @param name The name that this facet source will have.
|
|
@@ -86717,7 +86719,7 @@ class pd extends dt {
|
|
|
86717
86719
|
this[o] = {
|
|
86718
86720
|
name: r.getName(`${o}_domain`),
|
|
86719
86721
|
fields: [oe(s), ...St(l) ? [oe(s, { binSuffix: "end" })] : []],
|
|
86720
|
-
...bo(c) ? { sortField: c } : de(c) ? { sortIndexField:
|
|
86722
|
+
...bo(c) ? { sortField: c } : de(c) ? { sortIndexField: Gu(s, o) } : {}
|
|
86721
86723
|
};
|
|
86722
86724
|
}
|
|
86723
86725
|
}
|
|
@@ -86884,7 +86886,7 @@ function u1e(e) {
|
|
|
86884
86886
|
function d1e(e) {
|
|
86885
86887
|
const t = {};
|
|
86886
86888
|
function n(r) {
|
|
86887
|
-
|
|
86889
|
+
Fu(r) ? t[r.field] = "date" : r.type === "quantitative" && n0e(r.aggregate) ? t[r.field] = "number" : Du(r.field) > 1 ? r.field in t || (t[r.field] = "flatten") : Ec(r) && bo(r.sort) && Du(r.sort.field) > 1 && (r.sort.field in t || (t[r.sort.field] = "flatten"));
|
|
86888
86890
|
}
|
|
86889
86891
|
if ((wt(e) || Hr(e)) && e.forEachFieldDef((r, i) => {
|
|
86890
86892
|
if (pr(r))
|
|
@@ -86912,7 +86914,7 @@ function f1e(e) {
|
|
|
86912
86914
|
for (const n of Z(e.component.selection)) {
|
|
86913
86915
|
const r = e.component.selection[n];
|
|
86914
86916
|
for (const i of r.project.items)
|
|
86915
|
-
!i.channel &&
|
|
86917
|
+
!i.channel && Du(i.field) > 1 && (t[i.field] = "flatten");
|
|
86916
86918
|
}
|
|
86917
86919
|
return t;
|
|
86918
86920
|
}
|
|
@@ -86971,7 +86973,7 @@ class Un extends dt {
|
|
|
86971
86973
|
const n = {};
|
|
86972
86974
|
for (const r of Z(this._parse)) {
|
|
86973
86975
|
const i = this._parse[r];
|
|
86974
|
-
|
|
86976
|
+
Du(r) === 1 && (n[r] = i);
|
|
86975
86977
|
}
|
|
86976
86978
|
return n;
|
|
86977
86979
|
}
|
|
@@ -86983,12 +86985,12 @@ class Un extends dt {
|
|
|
86983
86985
|
return new Set(Z(this._parse));
|
|
86984
86986
|
}
|
|
86985
86987
|
assembleTransforms(n = !1) {
|
|
86986
|
-
return Z(this._parse).filter((r) => n ?
|
|
86988
|
+
return Z(this._parse).filter((r) => n ? Du(r) > 1 : !0).map((r) => {
|
|
86987
86989
|
const i = c1e(r, this._parse[r]);
|
|
86988
86990
|
return i ? {
|
|
86989
86991
|
type: "formula",
|
|
86990
86992
|
expr: i,
|
|
86991
|
-
as:
|
|
86993
|
+
as: ud(r)
|
|
86992
86994
|
// Vega output is always flattened
|
|
86993
86995
|
} : null;
|
|
86994
86996
|
}).filter((r) => r !== null);
|
|
@@ -87073,7 +87075,7 @@ class Zl extends dt {
|
|
|
87073
87075
|
let r;
|
|
87074
87076
|
if (cs(n) || (r = n.format ? { ...qr(n.format, ["parse"]) } : {}), S_(n))
|
|
87075
87077
|
this._data = { values: n.values };
|
|
87076
|
-
else if (
|
|
87078
|
+
else if (Bu(n)) {
|
|
87077
87079
|
if (this._data = { url: n.url }, !r.type) {
|
|
87078
87080
|
let i = /(?:\.([^.]+))?$/.exec(n.url)[1];
|
|
87079
87081
|
$e(["json", "csv", "tsv", "dsv", "topojson"], i) || (i = "json"), r.type = i;
|
|
@@ -87121,21 +87123,21 @@ class Zl extends dt {
|
|
|
87121
87123
|
function KD(e) {
|
|
87122
87124
|
return e instanceof Zl || e instanceof Sp || e instanceof bp;
|
|
87123
87125
|
}
|
|
87124
|
-
var
|
|
87126
|
+
var su;
|
|
87125
87127
|
class QD {
|
|
87126
87128
|
constructor() {
|
|
87127
|
-
Nw(this,
|
|
87128
|
-
pb(this,
|
|
87129
|
+
Nw(this, su);
|
|
87130
|
+
pb(this, su, !1);
|
|
87129
87131
|
}
|
|
87130
87132
|
// Once true, #modified is never set to false
|
|
87131
87133
|
setModified() {
|
|
87132
|
-
pb(this,
|
|
87134
|
+
pb(this, su, !0);
|
|
87133
87135
|
}
|
|
87134
87136
|
get modifiedFlag() {
|
|
87135
|
-
return Aw(this,
|
|
87137
|
+
return Aw(this, su);
|
|
87136
87138
|
}
|
|
87137
87139
|
}
|
|
87138
|
-
|
|
87140
|
+
su = new WeakMap();
|
|
87139
87141
|
class Sc extends QD {
|
|
87140
87142
|
/**
|
|
87141
87143
|
* Compute a map of node depths that we can use to determine a topological sort order.
|
|
@@ -87252,7 +87254,7 @@ class E1e extends Sc {
|
|
|
87252
87254
|
}
|
|
87253
87255
|
class S1e extends Sc {
|
|
87254
87256
|
run(t) {
|
|
87255
|
-
t instanceof Rr || t.numChildren() > 0 || t instanceof
|
|
87257
|
+
t instanceof Rr || t.numChildren() > 0 || t instanceof md || t instanceof Zl || (this.setModified(), t.remove());
|
|
87256
87258
|
}
|
|
87257
87259
|
}
|
|
87258
87260
|
class b1e extends Sc {
|
|
@@ -87286,7 +87288,7 @@ class y1e extends Sc {
|
|
|
87286
87288
|
this.model = n;
|
|
87287
87289
|
}
|
|
87288
87290
|
run(n) {
|
|
87289
|
-
const r = !(KD(n) || n instanceof
|
|
87291
|
+
const r = !(KD(n) || n instanceof pd || n instanceof Un || n instanceof Rs), i = [], a = [];
|
|
87290
87292
|
for (const o of n.children)
|
|
87291
87293
|
o instanceof Ra && (r && !U1(n.producedFields(), o.dependentFields()) ? i.push(o) : a.push(o));
|
|
87292
87294
|
if (i.length > 0) {
|
|
@@ -87306,7 +87308,7 @@ class y1e extends Sc {
|
|
|
87306
87308
|
class v1e extends Sc {
|
|
87307
87309
|
run(t) {
|
|
87308
87310
|
const n = [...t.children];
|
|
87309
|
-
if (!
|
|
87311
|
+
if (!Iu(n, (o) => o instanceof Rr) || t.numChildren() <= 1)
|
|
87310
87312
|
return;
|
|
87311
87313
|
const i = [];
|
|
87312
87314
|
let a;
|
|
@@ -87369,14 +87371,14 @@ class bc extends dt {
|
|
|
87369
87371
|
};
|
|
87370
87372
|
}
|
|
87371
87373
|
}
|
|
87372
|
-
class
|
|
87374
|
+
class zu extends dt {
|
|
87373
87375
|
constructor(n, r) {
|
|
87374
87376
|
super(n);
|
|
87375
87377
|
G(this, "filter");
|
|
87376
87378
|
this.filter = r;
|
|
87377
87379
|
}
|
|
87378
87380
|
clone() {
|
|
87379
|
-
return new
|
|
87381
|
+
return new zu(null, { ...this.filter });
|
|
87380
87382
|
}
|
|
87381
87383
|
static make(n, r, i) {
|
|
87382
87384
|
const { config: a, markDef: o } = r, { marks: s, scales: l } = i;
|
|
@@ -87396,7 +87398,7 @@ class Yu extends dt {
|
|
|
87396
87398
|
}
|
|
87397
87399
|
return u;
|
|
87398
87400
|
}, {});
|
|
87399
|
-
return Z(c).length ? new
|
|
87401
|
+
return Z(c).length ? new zu(n, c) : null;
|
|
87400
87402
|
}
|
|
87401
87403
|
dependentFields() {
|
|
87402
87404
|
return new Set(Z(this.filter));
|
|
@@ -87547,14 +87549,14 @@ class yo extends dt {
|
|
|
87547
87549
|
}), n;
|
|
87548
87550
|
}
|
|
87549
87551
|
}
|
|
87550
|
-
class
|
|
87552
|
+
class gd extends dt {
|
|
87551
87553
|
constructor(n, r) {
|
|
87552
87554
|
super(n);
|
|
87553
87555
|
G(this, "transform");
|
|
87554
87556
|
this.transform = r;
|
|
87555
87557
|
}
|
|
87556
87558
|
clone() {
|
|
87557
|
-
return new
|
|
87559
|
+
return new gd(null, Ie(this.transform));
|
|
87558
87560
|
}
|
|
87559
87561
|
addDimensions(n) {
|
|
87560
87562
|
this.transform.groupby = Ea(this.transform.groupby.concat(n), (r) => r);
|
|
@@ -87608,12 +87610,12 @@ class md extends dt {
|
|
|
87608
87610
|
}
|
|
87609
87611
|
function A1e(e) {
|
|
87610
87612
|
function t(n) {
|
|
87611
|
-
if (!(n instanceof
|
|
87613
|
+
if (!(n instanceof md)) {
|
|
87612
87614
|
const r = n.clone();
|
|
87613
87615
|
if (r instanceof Rr) {
|
|
87614
87616
|
const i = gN + r.getSource();
|
|
87615
87617
|
r.setSource(i), e.model.component.data.outputNodes[i] = r;
|
|
87616
|
-
} else (r instanceof Yi || r instanceof yo || r instanceof
|
|
87618
|
+
} else (r instanceof Yi || r instanceof yo || r instanceof gd || r instanceof bc) && r.addDimensions(e.fields);
|
|
87617
87619
|
for (const i of n.children.flatMap(t))
|
|
87618
87620
|
i.parent = r;
|
|
87619
87621
|
return [r];
|
|
@@ -87623,10 +87625,10 @@ function A1e(e) {
|
|
|
87623
87625
|
return t;
|
|
87624
87626
|
}
|
|
87625
87627
|
function mN(e) {
|
|
87626
|
-
if (e instanceof
|
|
87628
|
+
if (e instanceof md)
|
|
87627
87629
|
if (e.numChildren() === 1 && !(e.children[0] instanceof Rr)) {
|
|
87628
87630
|
const t = e.children[0];
|
|
87629
|
-
(t instanceof Yi || t instanceof yo || t instanceof
|
|
87631
|
+
(t instanceof Yi || t instanceof yo || t instanceof gd || t instanceof bc) && t.addDimensions(e.fields), t.swapWithParent(), mN(e);
|
|
87630
87632
|
} else {
|
|
87631
87633
|
const t = e.model.component.data.main;
|
|
87632
87634
|
f7(t);
|
|
@@ -87640,7 +87642,7 @@ function mN(e) {
|
|
|
87640
87642
|
function f7(e) {
|
|
87641
87643
|
if (e instanceof Rr && e.type === Mt.Main && e.numChildren() === 1) {
|
|
87642
87644
|
const t = e.children[0];
|
|
87643
|
-
t instanceof
|
|
87645
|
+
t instanceof md || (t.swapWithParent(), f7(e));
|
|
87644
87646
|
}
|
|
87645
87647
|
}
|
|
87646
87648
|
const gN = "scale_", dm = 5;
|
|
@@ -87885,7 +87887,7 @@ function L1e(e, t, n) {
|
|
|
87885
87887
|
if (S8(i))
|
|
87886
87888
|
return {
|
|
87887
87889
|
op: "min",
|
|
87888
|
-
field:
|
|
87890
|
+
field: Gu(r, t),
|
|
87889
87891
|
order: "ascending"
|
|
87890
87892
|
};
|
|
87891
87893
|
const { stack: a } = e, o = a ? /* @__PURE__ */ new Set([...a.groupbyFields, ...a.stackBy.map((s) => s.fieldDef.field)]) : void 0;
|
|
@@ -87971,7 +87973,7 @@ function k1e(e) {
|
|
|
87971
87973
|
}
|
|
87972
87974
|
return o;
|
|
87973
87975
|
}
|
|
87974
|
-
const r = Ea(n.map((o) => g_(o) || !("op" in o) || Le(o.op) &&
|
|
87976
|
+
const r = Ea(n.map((o) => g_(o) || !("op" in o) || Le(o.op) && Wt(e0e, o.op) ? o : (te(iAe(o)), !0)), ze);
|
|
87975
87977
|
let i;
|
|
87976
87978
|
r.length === 1 ? i = r[0] : r.length > 1 && (te(t$), i = !0);
|
|
87977
87979
|
const a = Ea(e.map((o) => po(o) ? o.data : null), (o) => o);
|
|
@@ -88005,7 +88007,7 @@ function GS(e, t) {
|
|
|
88005
88007
|
return k1e(r);
|
|
88006
88008
|
}
|
|
88007
88009
|
function p7(e) {
|
|
88008
|
-
return
|
|
88010
|
+
return hd(e) || ZD(e) ? e.children.reduce((t, n) => t.concat(p7(n)), V$(e)) : V$(e);
|
|
88009
88011
|
}
|
|
88010
88012
|
function V$(e) {
|
|
88011
88013
|
return Z(e.component.scales).reduce((t, n) => {
|
|
@@ -88197,11 +88199,11 @@ function G1e(e, t) {
|
|
|
88197
88199
|
return g7(e, t, l);
|
|
88198
88200
|
}
|
|
88199
88201
|
case ws:
|
|
88200
|
-
case
|
|
88202
|
+
case dd:
|
|
88201
88203
|
return Y1e(e, t, l);
|
|
88202
88204
|
case Mo: {
|
|
88203
88205
|
const d = H1e(i, r), f = V1e(i, n, t, r);
|
|
88204
|
-
return
|
|
88206
|
+
return Lu(l) ? q1e(d, f, z1e(l, r, c, e)) : [d, f];
|
|
88205
88207
|
}
|
|
88206
88208
|
case yi:
|
|
88207
88209
|
return [0, Math.PI * 2];
|
|
@@ -88522,7 +88524,7 @@ function tDe(e, t, n, r, i, a, o) {
|
|
|
88522
88524
|
}
|
|
88523
88525
|
return !1;
|
|
88524
88526
|
}
|
|
88525
|
-
if (e === "size" && t.type === "quantitative" && !
|
|
88527
|
+
if (e === "size" && t.type === "quantitative" && !Lu(i))
|
|
88526
88528
|
return !0;
|
|
88527
88529
|
if (!(ne(t) && t.bin) && $e([...ko, ...HRe], e)) {
|
|
88528
88530
|
const { orient: l, type: c } = r;
|
|
@@ -88539,7 +88541,7 @@ function rDe(e, t, n, r) {
|
|
|
88539
88541
|
switch (t.type) {
|
|
88540
88542
|
case "nominal":
|
|
88541
88543
|
case "ordinal": {
|
|
88542
|
-
if (
|
|
88544
|
+
if (ru(e) || gR(e) === "discrete")
|
|
88543
88545
|
return e === "shape" && t.type === "ordinal" && te(hR(e, "ordinal")), "ordinal";
|
|
88544
88546
|
if (mR(e))
|
|
88545
88547
|
return "band";
|
|
@@ -88549,12 +88551,12 @@ function rDe(e, t, n, r) {
|
|
|
88549
88551
|
} else if (n.type === "arc" && e in W1)
|
|
88550
88552
|
return "band";
|
|
88551
88553
|
const a = n[Dr(e)];
|
|
88552
|
-
return Kl(a) ||
|
|
88554
|
+
return Kl(a) || Pu(t) && ((i = t.axis) != null && i.tickBand) ? "band" : "point";
|
|
88553
88555
|
}
|
|
88554
88556
|
case "temporal":
|
|
88555
|
-
return
|
|
88557
|
+
return ru(e) ? "time" : gR(e) === "discrete" ? (te(hR(e, "temporal")), "ordinal") : ne(t) && t.timeUnit && mn(t.timeUnit).utc ? "utc" : mR(e) ? "band" : "time";
|
|
88556
88558
|
case "quantitative":
|
|
88557
|
-
return
|
|
88559
|
+
return ru(e) ? ne(t) && St(t.bin) ? "bin-ordinal" : "linear" : gR(e) === "discrete" ? (te(hR(e, "quantitative")), "ordinal") : mR(e) ? "band" : "linear";
|
|
88558
88560
|
case "geojson":
|
|
88559
88561
|
return;
|
|
88560
88562
|
}
|
|
@@ -88573,7 +88575,7 @@ function aDe(e) {
|
|
|
88573
88575
|
const { encoding: t, mark: n, markDef: r } = e, i = {};
|
|
88574
88576
|
for (const a of K1) {
|
|
88575
88577
|
const o = en(t[a]);
|
|
88576
|
-
if (o && n === c8 && a === Ir && o.type ===
|
|
88578
|
+
if (o && n === c8 && a === Ir && o.type === fd)
|
|
88577
88579
|
continue;
|
|
88578
88580
|
let s = o && o.scale;
|
|
88579
88581
|
if (o && s !== null && s !== !1) {
|
|
@@ -88635,7 +88637,7 @@ function Hr(e) {
|
|
|
88635
88637
|
function ZD(e) {
|
|
88636
88638
|
return (e == null ? void 0 : e.type) === "concat";
|
|
88637
88639
|
}
|
|
88638
|
-
function
|
|
88640
|
+
function hd(e) {
|
|
88639
88641
|
return (e == null ? void 0 : e.type) === "layer";
|
|
88640
88642
|
}
|
|
88641
88643
|
class JD {
|
|
@@ -89023,7 +89025,7 @@ class HS extends dt {
|
|
|
89023
89025
|
};
|
|
89024
89026
|
}
|
|
89025
89027
|
}
|
|
89026
|
-
class
|
|
89028
|
+
class ou extends dt {
|
|
89027
89029
|
constructor(n, r, i, a) {
|
|
89028
89030
|
super(n);
|
|
89029
89031
|
G(this, "fields");
|
|
@@ -89032,7 +89034,7 @@ class au extends dt {
|
|
|
89032
89034
|
this.fields = r, this.geojson = i, this.signal = a;
|
|
89033
89035
|
}
|
|
89034
89036
|
clone() {
|
|
89035
|
-
return new
|
|
89037
|
+
return new ou(null, Ie(this.fields), this.geojson, this.signal);
|
|
89036
89038
|
}
|
|
89037
89039
|
static parseAll(n, r) {
|
|
89038
89040
|
if (r.component.projection && !r.component.projection.isFit)
|
|
@@ -89046,11 +89048,11 @@ class au extends dt {
|
|
|
89046
89048
|
const l = en(r.encoding[s]);
|
|
89047
89049
|
return ne(l) ? l.field : Ka(l) ? { expr: `${l.datum}` } : Wi(l) ? { expr: `${l.value}` } : void 0;
|
|
89048
89050
|
});
|
|
89049
|
-
(o[0] || o[1]) && (n = new
|
|
89051
|
+
(o[0] || o[1]) && (n = new ou(n, o, null, r.getName(`geojson_${i++}`)));
|
|
89050
89052
|
}
|
|
89051
89053
|
if (r.channelHasField(Ir)) {
|
|
89052
89054
|
const a = r.typedFieldDef(Ir);
|
|
89053
|
-
a.type ===
|
|
89055
|
+
a.type === fd && (n = new ou(n, null, a.field, r.getName(`geojson_${i++}`)));
|
|
89054
89056
|
}
|
|
89055
89057
|
return n;
|
|
89056
89058
|
}
|
|
@@ -89414,18 +89416,18 @@ class XS extends dt {
|
|
|
89414
89416
|
function R7(e) {
|
|
89415
89417
|
let t = 0;
|
|
89416
89418
|
function n(r, i) {
|
|
89417
|
-
if (r instanceof Zl && !r.isGenerator && !
|
|
89419
|
+
if (r instanceof Zl && !r.isGenerator && !Bu(r.data) && (e.push(i), i = {
|
|
89418
89420
|
name: null,
|
|
89419
89421
|
source: i.name,
|
|
89420
89422
|
transform: []
|
|
89421
89423
|
}), r instanceof Un && (r.parent instanceof Zl && !i.source ? (i.format = {
|
|
89422
89424
|
...i.format,
|
|
89423
89425
|
parse: r.assembleFormatParse()
|
|
89424
|
-
}, i.transform.push(...r.assembleTransforms(!0))) : i.transform.push(...r.assembleTransforms())), r instanceof
|
|
89426
|
+
}, i.transform.push(...r.assembleTransforms(!0))) : i.transform.push(...r.assembleTransforms())), r instanceof md) {
|
|
89425
89427
|
i.name || (i.name = `data_${t++}`), !i.source || i.transform.length > 0 ? (e.push(i), r.data = i.name) : r.data = i.source, e.push(...r.assemble());
|
|
89426
89428
|
return;
|
|
89427
89429
|
}
|
|
89428
|
-
switch ((r instanceof Sp || r instanceof bp || r instanceof
|
|
89430
|
+
switch ((r instanceof Sp || r instanceof bp || r instanceof zu || r instanceof pd || r instanceof $u || r instanceof b_ || r instanceof Yi || r instanceof T_ || r instanceof gd || r instanceof bc || r instanceof HS || r instanceof qS || r instanceof YS || r instanceof VS || r instanceof WS || r instanceof KS || r instanceof Rs || r instanceof XS || r instanceof QS || r instanceof zS) && i.transform.push(r.assemble()), (r instanceof Ra || r instanceof va || r instanceof Rl || r instanceof yo || r instanceof ou) && i.transform.push(...r.assemble()), r instanceof Rr && (i.source && i.transform.length === 0 ? r.setSource(i.source) : r.parent instanceof Rr ? r.setSource(i.name) : (i.name || (i.name = `data_${t++}`), r.setSource(i.name), r.numChildren() === 1 && (e.push(i), i = {
|
|
89429
89431
|
name: null,
|
|
89430
89432
|
source: i.name,
|
|
89431
89433
|
transform: []
|
|
@@ -89494,13 +89496,13 @@ function fDe(e, t) {
|
|
|
89494
89496
|
var o;
|
|
89495
89497
|
const { facet: n, config: r, child: i, component: a } = e;
|
|
89496
89498
|
if (e.channelHasField(t)) {
|
|
89497
|
-
const s = n[t], l =
|
|
89498
|
-
let c =
|
|
89499
|
+
const s = n[t], l = Yu("title", null, r, t);
|
|
89500
|
+
let c = iu(s, r, {
|
|
89499
89501
|
allowDisabling: !0,
|
|
89500
89502
|
includeDefault: l === void 0 || !!l
|
|
89501
89503
|
});
|
|
89502
89504
|
i.component.layoutHeaders[t].title && (c = de(c) ? c.join(", ") : c, c += ` / ${i.component.layoutHeaders[t].title}`, i.component.layoutHeaders[t].title = null);
|
|
89503
|
-
const u =
|
|
89505
|
+
const u = Yu("labelOrient", s.header, r, t), d = s.header !== null ? zt((o = s.header) == null ? void 0 : o.labels, r.header.labels, !0) : !1, f = $e(["bottom", "right"], u) ? "footer" : "header";
|
|
89504
89506
|
a.layoutHeaders[t] = {
|
|
89505
89507
|
title: s.header !== null ? c : null,
|
|
89506
89508
|
facetFieldDef: s,
|
|
@@ -89648,7 +89650,7 @@ class Gf extends C7 {
|
|
|
89648
89650
|
ew(this);
|
|
89649
89651
|
}
|
|
89650
89652
|
parseSelections() {
|
|
89651
|
-
this.child.parseSelections(), this.component.selection = this.child.component.selection,
|
|
89653
|
+
this.child.parseSelections(), this.component.selection = this.child.component.selection, Kt(this.component.selection).some((n) => Ca(n)) && J1(Z1);
|
|
89652
89654
|
}
|
|
89653
89655
|
parseMarkGroup() {
|
|
89654
89656
|
this.child.parseMarkGroup();
|
|
@@ -89671,7 +89673,7 @@ class Gf extends C7 {
|
|
|
89671
89673
|
for (const i of qD) {
|
|
89672
89674
|
const a = this.component.layoutHeaders[r], o = a[i], { facetFieldDef: s } = a;
|
|
89673
89675
|
if (s) {
|
|
89674
|
-
const l =
|
|
89676
|
+
const l = Yu("titleOrient", s.header, this.config, r);
|
|
89675
89677
|
if (["right", "bottom"].includes(l)) {
|
|
89676
89678
|
const c = US(r, l);
|
|
89677
89679
|
n.titleAnchor ?? (n.titleAnchor = {}), n.titleAnchor[c] = "end";
|
|
@@ -89751,7 +89753,7 @@ class Gf extends C7 {
|
|
|
89751
89753
|
const { field: m, op: g = RS } = p, h = SN(f, p);
|
|
89752
89754
|
i && a ? (o.push(h), s.push("max"), l.push(h)) : (o.push(m), s.push(g), l.push(h));
|
|
89753
89755
|
} else if (de(p)) {
|
|
89754
|
-
const m =
|
|
89756
|
+
const m = Gu(f, d);
|
|
89755
89757
|
o.push(m), s.push("max"), l.push(m);
|
|
89756
89758
|
}
|
|
89757
89759
|
}
|
|
@@ -89771,7 +89773,7 @@ class Gf extends C7 {
|
|
|
89771
89773
|
}
|
|
89772
89774
|
facetSortFields(n) {
|
|
89773
89775
|
const { facet: r } = this, i = r[n];
|
|
89774
|
-
return i ? bo(i.sort) ? [SN(i, i.sort, { expr: "datum" })] : de(i.sort) ? [
|
|
89776
|
+
return i ? bo(i.sort) ? [SN(i, i.sort, { expr: "datum" })] : de(i.sort) ? [Gu(i, n, { expr: "datum" })] : [oe(i, { expr: "datum" })] : [];
|
|
89775
89777
|
}
|
|
89776
89778
|
facetSortOrder(n) {
|
|
89777
89779
|
const { facet: r } = this, i = r[n];
|
|
@@ -89792,7 +89794,7 @@ class Gf extends C7 {
|
|
|
89792
89794
|
};
|
|
89793
89795
|
for (const o of zD)
|
|
89794
89796
|
if (n[o]) {
|
|
89795
|
-
const s =
|
|
89797
|
+
const s = Yu("labelOrient", (a = n[o]) == null ? void 0 : a.header, r, o);
|
|
89796
89798
|
if (i[o].includes(s))
|
|
89797
89799
|
return fN(n[o], o, r);
|
|
89798
89800
|
}
|
|
@@ -89860,7 +89862,7 @@ function N7(e, t) {
|
|
|
89860
89862
|
if (S_(e) && S_(s)) {
|
|
89861
89863
|
if ($r(e.values, s.values))
|
|
89862
89864
|
return o;
|
|
89863
|
-
} else if (
|
|
89865
|
+
} else if (Bu(e) && Bu(s)) {
|
|
89864
89866
|
if (e.url === s.url)
|
|
89865
89867
|
return o;
|
|
89866
89868
|
} else if (_W(e) && e.name === o.dataName)
|
|
@@ -89890,10 +89892,10 @@ function SDe(e, t, n) {
|
|
|
89890
89892
|
for (const i of t.transforms) {
|
|
89891
89893
|
let a, o;
|
|
89892
89894
|
if (oxe(i))
|
|
89893
|
-
o = e = new
|
|
89895
|
+
o = e = new $u(e, i), a = "derived";
|
|
89894
89896
|
else if (PD(i)) {
|
|
89895
89897
|
const s = u1e(i);
|
|
89896
|
-
o = e = Un.makeWithAncestors(e, {}, s, n) ?? e, e = new
|
|
89898
|
+
o = e = Un.makeWithAncestors(e, {}, s, n) ?? e, e = new pd(e, t, i.filter);
|
|
89897
89899
|
} else if (lW(i))
|
|
89898
89900
|
o = e = Ra.makeFromTransform(e, i, t), a = "number";
|
|
89899
89901
|
else if (lxe(i))
|
|
@@ -89903,7 +89905,7 @@ function SDe(e, t, n) {
|
|
|
89903
89905
|
else if (sW(i))
|
|
89904
89906
|
o = e = T_.make(e, t, i, r++), a = "derived";
|
|
89905
89907
|
else if (rxe(i))
|
|
89906
|
-
o = e = new
|
|
89908
|
+
o = e = new gd(e, i), a = "number";
|
|
89907
89909
|
else if (ixe(i))
|
|
89908
89910
|
o = e = new bc(e, i), a = "number";
|
|
89909
89911
|
else if (uxe(i))
|
|
@@ -89941,12 +89943,12 @@ function SDe(e, t, n) {
|
|
|
89941
89943
|
function jS(e) {
|
|
89942
89944
|
var g;
|
|
89943
89945
|
let t = EDe(e, e.component.data.sources);
|
|
89944
|
-
const { outputNodes: n, outputNodeRefCounts: r } = e.component.data, i = e.data, o = !(i && (cs(i) ||
|
|
89946
|
+
const { outputNodes: n, outputNodeRefCounts: r } = e.component.data, i = e.data, o = !(i && (cs(i) || Bu(i) || S_(i))) && e.parent ? e.parent.component.data.ancestorParse.clone() : new Cxe();
|
|
89945
89947
|
cs(i) ? (pW(i) ? t = new bp(t, i.sequence) : FD(i) && (t = new Sp(t, i.graticule)), o.parseNothing = !0) : ((g = i == null ? void 0 : i.format) == null ? void 0 : g.parse) === null && (o.parseNothing = !0), t = Un.makeExplicit(t, e, o) ?? t, t = new Rs(t);
|
|
89946
|
-
const s = e.parent &&
|
|
89948
|
+
const s = e.parent && hd(e.parent);
|
|
89947
89949
|
(wt(e) || Hr(e)) && s && (t = Ra.makeFromEncoding(t, e) ?? t), e.transforms.length > 0 && (t = SDe(t, e, o));
|
|
89948
89950
|
const l = f1e(e), c = d1e(e);
|
|
89949
|
-
t = Un.makeWithAncestors(t, {}, { ...l, ...c }, o) ?? t, wt(e) && (t =
|
|
89951
|
+
t = Un.makeWithAncestors(t, {}, { ...l, ...c }, o) ?? t, wt(e) && (t = ou.parseAll(t, e), t = b_.parseAll(t, e)), (wt(e) || Hr(e)) && (s || (t = Ra.makeFromEncoding(t, e) ?? t), t = va.makeFromEncoding(t, e) ?? t, t = $u.parseAllForSortIndex(t, e));
|
|
89950
89952
|
const u = t = fm(Mt.Raw, e, t);
|
|
89951
89953
|
if (wt(e)) {
|
|
89952
89954
|
const h = Yi.makeFromEncoding(t, e);
|
|
@@ -89958,19 +89960,19 @@ function jS(e) {
|
|
|
89958
89960
|
invalid: T,
|
|
89959
89961
|
isPath: Us(E)
|
|
89960
89962
|
});
|
|
89961
|
-
b !== v && v === "include-invalid-values" && (d = t = fm(Mt.PreFilterInvalid, e, t)), b === "exclude-invalid-values" && (t =
|
|
89963
|
+
b !== v && v === "include-invalid-values" && (d = t = fm(Mt.PreFilterInvalid, e, t)), b === "exclude-invalid-values" && (t = zu.make(t, e, f) ?? t);
|
|
89962
89964
|
}
|
|
89963
89965
|
const _ = t = fm(Mt.Main, e, t);
|
|
89964
89966
|
let p;
|
|
89965
89967
|
if (wt(e) && f) {
|
|
89966
89968
|
const { marks: h, scales: E } = f;
|
|
89967
|
-
h === "include-invalid-values" && E === "exclude-invalid-values" && (t =
|
|
89969
|
+
h === "include-invalid-values" && E === "exclude-invalid-values" && (t = zu.make(t, e, f) ?? t, p = t = fm(Mt.PostFilterInvalid, e, t));
|
|
89968
89970
|
}
|
|
89969
89971
|
wt(e) && sIe(e, _);
|
|
89970
89972
|
let m = null;
|
|
89971
89973
|
if (Hr(e)) {
|
|
89972
89974
|
const h = e.getName("facet");
|
|
89973
|
-
t = hDe(t, e.facet) ?? t, m = new
|
|
89975
|
+
t = hDe(t, e.facet) ?? t, m = new md(t, e, h, _.getSource()), n[h] = m;
|
|
89974
89976
|
}
|
|
89975
89977
|
return {
|
|
89976
89978
|
...e.component.data,
|
|
@@ -90007,7 +90009,7 @@ class bDe extends JD {
|
|
|
90007
90009
|
for (const r of Z(n.component.selection))
|
|
90008
90010
|
this.component.selection[r] = n.component.selection[r];
|
|
90009
90011
|
}
|
|
90010
|
-
|
|
90012
|
+
Kt(this.component.selection).some((n) => Ca(n)) && J1(Z1);
|
|
90011
90013
|
}
|
|
90012
90014
|
parseMarkGroup() {
|
|
90013
90015
|
for (const n of this.children)
|
|
@@ -90109,8 +90111,8 @@ function vDe(e, t, n) {
|
|
|
90109
90111
|
...n
|
|
90110
90112
|
};
|
|
90111
90113
|
if (s === void 0 && l === void 0 && i.customFormatTypes) {
|
|
90112
|
-
if (
|
|
90113
|
-
if (
|
|
90114
|
+
if (ku(a) === "quantitative") {
|
|
90115
|
+
if (Pu(a) && a.stack === "normalize" && i.normalizedNumberFormatType)
|
|
90114
90116
|
return {
|
|
90115
90117
|
text: $i({
|
|
90116
90118
|
fieldOrDatumDef: a,
|
|
@@ -90133,7 +90135,7 @@ function vDe(e, t, n) {
|
|
|
90133
90135
|
...n
|
|
90134
90136
|
};
|
|
90135
90137
|
}
|
|
90136
|
-
if (
|
|
90138
|
+
if (ku(a) === "temporal" && i.timeFormatType && ne(a) && !a.timeUnit)
|
|
90137
90139
|
return {
|
|
90138
90140
|
text: $i({
|
|
90139
90141
|
fieldOrDatumDef: a,
|
|
@@ -90385,7 +90387,7 @@ const MDe = {
|
|
|
90385
90387
|
type: "geoshape",
|
|
90386
90388
|
projection: e.projectionName(),
|
|
90387
90389
|
// as: 'shape',
|
|
90388
|
-
...n && ne(n) && n.type ===
|
|
90390
|
+
...n && ne(n) && n.type === fd ? { field: oe(n, { expr: "datum" }) } : {}
|
|
90389
90391
|
}];
|
|
90390
90392
|
}
|
|
90391
90393
|
}, FDe = {
|
|
@@ -90637,7 +90639,7 @@ function ZDe(e) {
|
|
|
90637
90639
|
};
|
|
90638
90640
|
let a, o;
|
|
90639
90641
|
e.stack.fieldChannel === "x" ? (a = {
|
|
90640
|
-
...
|
|
90642
|
+
...xu(t.encode.update, ["y", "yc", "y2", "height", ...KA]),
|
|
90641
90643
|
x: { signal: i("min", "datum") },
|
|
90642
90644
|
x2: { signal: i("max", "datum") },
|
|
90643
90645
|
clip: { value: !0 }
|
|
@@ -90648,7 +90650,7 @@ function ZDe(e) {
|
|
|
90648
90650
|
...qr(t.encode.update, ["y", "yc", "y2"]),
|
|
90649
90651
|
height: { field: { group: "height" } }
|
|
90650
90652
|
}) : (a = {
|
|
90651
|
-
...
|
|
90653
|
+
...xu(t.encode.update, ["x", "xc", "x2", "width"]),
|
|
90652
90654
|
y: { signal: i("min", "datum") },
|
|
90653
90655
|
y2: { signal: i("max", "datum") },
|
|
90654
90656
|
clip: { value: !0 }
|
|
@@ -90891,7 +90893,7 @@ class x7 extends C7 {
|
|
|
90891
90893
|
}
|
|
90892
90894
|
assembleMarks() {
|
|
90893
90895
|
let n = this.component.mark ?? [];
|
|
90894
|
-
return (!this.parent || !
|
|
90896
|
+
return (!this.parent || !hd(this.parent)) && (n = yW(this, n)), n.map(this.correctDataNames);
|
|
90895
90897
|
}
|
|
90896
90898
|
assembleGroupStyle() {
|
|
90897
90899
|
const { style: n } = this.view || {};
|
|
@@ -90949,7 +90951,7 @@ class iw extends JD {
|
|
|
90949
90951
|
for (const r of Z(n.component.selection))
|
|
90950
90952
|
this.component.selection[r] = n.component.selection[r];
|
|
90951
90953
|
}
|
|
90952
|
-
|
|
90954
|
+
Kt(this.component.selection).some((n) => Ca(n)) && J1(Z1);
|
|
90953
90955
|
}
|
|
90954
90956
|
parseMarkGroup() {
|
|
90955
90957
|
for (const n of this.children)
|
|
@@ -91063,7 +91065,7 @@ function awe(e, t, n = {}, r) {
|
|
|
91063
91065
|
}
|
|
91064
91066
|
const owe = IRe.version, swe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91065
91067
|
__proto__: null,
|
|
91066
|
-
accessPathDepth:
|
|
91068
|
+
accessPathDepth: Du,
|
|
91067
91069
|
accessPathWithDatum: $1,
|
|
91068
91070
|
accessWithDatumToUnescapedPath: lt,
|
|
91069
91071
|
compile: rwe,
|
|
@@ -91093,19 +91095,19 @@ const owe = IRe.version, swe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obj
|
|
|
91093
91095
|
normalize: dW,
|
|
91094
91096
|
normalizeAngle: h_,
|
|
91095
91097
|
omit: qr,
|
|
91096
|
-
pick:
|
|
91098
|
+
pick: xu,
|
|
91097
91099
|
prefixGenerator: WA,
|
|
91098
|
-
removePathFromField:
|
|
91100
|
+
removePathFromField: ud,
|
|
91099
91101
|
replaceAll: zl,
|
|
91100
91102
|
replacePathInField: Ei,
|
|
91101
91103
|
resetIdCounter: LRe,
|
|
91102
91104
|
setEqual: cV,
|
|
91103
|
-
some:
|
|
91105
|
+
some: Iu,
|
|
91104
91106
|
stringify: ot,
|
|
91105
91107
|
titleCase: op,
|
|
91106
91108
|
unique: Ea,
|
|
91107
91109
|
uniqueId: fV,
|
|
91108
|
-
vals:
|
|
91110
|
+
vals: Kt,
|
|
91109
91111
|
varName: Nt,
|
|
91110
91112
|
version: owe
|
|
91111
91113
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -91192,27 +91194,27 @@ var lwe = "vega-themes", cwe = "2.15.0", uwe = "Themes for stylized Vega and Veg
|
|
|
91192
91194
|
peerDependencies: Cwe,
|
|
91193
91195
|
dependencies: Rwe
|
|
91194
91196
|
};
|
|
91195
|
-
const
|
|
91197
|
+
const $c = "#fff", eG = "#888", Nwe = {
|
|
91196
91198
|
background: "#333",
|
|
91197
91199
|
view: {
|
|
91198
91200
|
stroke: eG
|
|
91199
91201
|
},
|
|
91200
91202
|
title: {
|
|
91201
|
-
color:
|
|
91202
|
-
subtitleColor:
|
|
91203
|
+
color: $c,
|
|
91204
|
+
subtitleColor: $c
|
|
91203
91205
|
},
|
|
91204
91206
|
style: {
|
|
91205
91207
|
"guide-label": {
|
|
91206
|
-
fill:
|
|
91208
|
+
fill: $c
|
|
91207
91209
|
},
|
|
91208
91210
|
"guide-title": {
|
|
91209
|
-
fill:
|
|
91211
|
+
fill: $c
|
|
91210
91212
|
}
|
|
91211
91213
|
},
|
|
91212
91214
|
axis: {
|
|
91213
|
-
domainColor:
|
|
91215
|
+
domainColor: $c,
|
|
91214
91216
|
gridColor: eG,
|
|
91215
|
-
tickColor:
|
|
91217
|
+
tickColor: $c
|
|
91216
91218
|
}
|
|
91217
91219
|
}, Ws = "#4572a7", Owe = {
|
|
91218
91220
|
background: "#fff",
|
|
@@ -92272,7 +92274,7 @@ var B7 = (
|
|
|
92272
92274
|
}
|
|
92273
92275
|
return t;
|
|
92274
92276
|
}(Error)
|
|
92275
|
-
), kt = B7, yMe = Gr,
|
|
92277
|
+
), kt = B7, yMe = Gr, Xc = {
|
|
92276
92278
|
add: function(e, t, n) {
|
|
92277
92279
|
return e[t] = this.value, { newDocument: n };
|
|
92278
92280
|
},
|
|
@@ -92312,10 +92314,10 @@ var B7 = (
|
|
|
92312
92314
|
var r = e[t];
|
|
92313
92315
|
return e[t] = this.value, { newDocument: n, removed: r };
|
|
92314
92316
|
},
|
|
92315
|
-
move:
|
|
92316
|
-
copy:
|
|
92317
|
-
test:
|
|
92318
|
-
_get:
|
|
92317
|
+
move: Xc.move,
|
|
92318
|
+
copy: Xc.copy,
|
|
92319
|
+
test: Xc.test,
|
|
92320
|
+
_get: Xc._get
|
|
92319
92321
|
};
|
|
92320
92322
|
function wh(e, t) {
|
|
92321
92323
|
if (t == "")
|
|
@@ -92368,7 +92370,7 @@ function Al(e, t, n, r, i, a) {
|
|
|
92368
92370
|
return o;
|
|
92369
92371
|
}
|
|
92370
92372
|
} else if (u >= d) {
|
|
92371
|
-
var o =
|
|
92373
|
+
var o = Xc[t.op].call(t, c, _, e);
|
|
92372
92374
|
if (o.test === !1)
|
|
92373
92375
|
throw new kt("Test operation failed", "TEST_OPERATION_FAILED", a, t, e);
|
|
92374
92376
|
return o;
|
|
@@ -92395,7 +92397,7 @@ function CMe(e, t, n) {
|
|
|
92395
92397
|
function Mh(e, t, n, r) {
|
|
92396
92398
|
if (typeof e != "object" || e === null || Array.isArray(e))
|
|
92397
92399
|
throw new kt("Operation is not an object", "OPERATION_NOT_AN_OBJECT", t, e, n);
|
|
92398
|
-
if (
|
|
92400
|
+
if (Xc[e.op]) {
|
|
92399
92401
|
if (typeof e.path != "string")
|
|
92400
92402
|
throw new kt("Operation `path` property is not a string", "OPERATION_PATH_INVALID", t, e, n);
|
|
92401
92403
|
if (e.path.indexOf("/") !== 0 && e.path.length > 0)
|
|
@@ -92832,7 +92834,7 @@ function fw() {
|
|
|
92832
92834
|
return $R = s, $R;
|
|
92833
92835
|
}
|
|
92834
92836
|
var GR, RG;
|
|
92835
|
-
function
|
|
92837
|
+
function Ed() {
|
|
92836
92838
|
if (RG) return GR;
|
|
92837
92839
|
RG = 1;
|
|
92838
92840
|
const e = fw();
|
|
@@ -92842,42 +92844,42 @@ var YR, AG;
|
|
|
92842
92844
|
function BMe() {
|
|
92843
92845
|
if (AG) return YR;
|
|
92844
92846
|
AG = 1;
|
|
92845
|
-
const e =
|
|
92847
|
+
const e = Ed();
|
|
92846
92848
|
return YR = (n, r, i) => e(n, r, i) === 0, YR;
|
|
92847
92849
|
}
|
|
92848
92850
|
var zR, NG;
|
|
92849
92851
|
function UMe() {
|
|
92850
92852
|
if (NG) return zR;
|
|
92851
92853
|
NG = 1;
|
|
92852
|
-
const e =
|
|
92854
|
+
const e = Ed();
|
|
92853
92855
|
return zR = (n, r, i) => e(n, r, i) !== 0, zR;
|
|
92854
92856
|
}
|
|
92855
92857
|
var qR, OG;
|
|
92856
92858
|
function $Me() {
|
|
92857
92859
|
if (OG) return qR;
|
|
92858
92860
|
OG = 1;
|
|
92859
|
-
const e =
|
|
92861
|
+
const e = Ed();
|
|
92860
92862
|
return qR = (n, r, i) => e(n, r, i) > 0, qR;
|
|
92861
92863
|
}
|
|
92862
92864
|
var HR, xG;
|
|
92863
92865
|
function GMe() {
|
|
92864
92866
|
if (xG) return HR;
|
|
92865
92867
|
xG = 1;
|
|
92866
|
-
const e =
|
|
92868
|
+
const e = Ed();
|
|
92867
92869
|
return HR = (n, r, i) => e(n, r, i) >= 0, HR;
|
|
92868
92870
|
}
|
|
92869
92871
|
var VR, IG;
|
|
92870
92872
|
function YMe() {
|
|
92871
92873
|
if (IG) return VR;
|
|
92872
92874
|
IG = 1;
|
|
92873
|
-
const e =
|
|
92875
|
+
const e = Ed();
|
|
92874
92876
|
return VR = (n, r, i) => e(n, r, i) < 0, VR;
|
|
92875
92877
|
}
|
|
92876
92878
|
var WR, DG;
|
|
92877
92879
|
function zMe() {
|
|
92878
92880
|
if (DG) return WR;
|
|
92879
92881
|
DG = 1;
|
|
92880
|
-
const e =
|
|
92882
|
+
const e = Ed();
|
|
92881
92883
|
return WR = (n, r, i) => e(n, r, i) <= 0, WR;
|
|
92882
92884
|
}
|
|
92883
92885
|
var KR, wG;
|
|
@@ -93698,22 +93700,22 @@ function gLe(e) {
|
|
|
93698
93700
|
direction: "vertical",
|
|
93699
93701
|
style: (d = r == null ? void 0 : r.ChartMessageTemplate) == null ? void 0 : d.style,
|
|
93700
93702
|
children: [
|
|
93701
|
-
/* @__PURE__ */ X(
|
|
93702
|
-
/* @__PURE__ */ Et("div", { className: Bt(
|
|
93703
|
+
/* @__PURE__ */ X(Hu, { avatar: i }),
|
|
93704
|
+
/* @__PURE__ */ Et("div", { className: Bt(Oc.text, Oc["text--bot"]), style: Oc, children: [
|
|
93703
93705
|
/* @__PURE__ */ X("div", { children: n.title }),
|
|
93704
93706
|
/* @__PURE__ */ X("div", { children: n.text })
|
|
93705
93707
|
] }),
|
|
93706
|
-
s.length > 1 && /* @__PURE__ */ X("div", { className:
|
|
93708
|
+
s.length > 1 && /* @__PURE__ */ X("div", { className: Oc.quick_replies_box, children: s.map((f) => /* @__PURE__ */ X(
|
|
93707
93709
|
"button",
|
|
93708
93710
|
{
|
|
93709
|
-
className:
|
|
93711
|
+
className: Oc.quick_reply,
|
|
93710
93712
|
onClick: () => o(f.type),
|
|
93711
93713
|
children: f.title
|
|
93712
93714
|
},
|
|
93713
93715
|
f.type
|
|
93714
93716
|
)) }),
|
|
93715
|
-
/* @__PURE__ */ X(
|
|
93716
|
-
/* @__PURE__ */ X($h, { className:
|
|
93717
|
+
/* @__PURE__ */ X(qu, { quickReplies: n == null ? void 0 : n.quickReplies, children: /* @__PURE__ */ X(mLe, { spec: l }) }),
|
|
93718
|
+
/* @__PURE__ */ X($h, { className: Oc.chart_time, time: t.time })
|
|
93717
93719
|
]
|
|
93718
93720
|
}
|
|
93719
93721
|
);
|
|
@@ -93754,9 +93756,9 @@ function CLe(e) {
|
|
|
93754
93756
|
direction: "horizontal",
|
|
93755
93757
|
style: (c = a == null ? void 0 : a.ImageMessageTemplate) == null ? void 0 : c.style,
|
|
93756
93758
|
children: [
|
|
93757
|
-
/* @__PURE__ */ X(
|
|
93759
|
+
/* @__PURE__ */ X(Hu, { avatar: o }),
|
|
93758
93760
|
/* @__PURE__ */ X(
|
|
93759
|
-
|
|
93761
|
+
qu,
|
|
93760
93762
|
{
|
|
93761
93763
|
quickReplies: n.quickReplies,
|
|
93762
93764
|
time: t.time,
|
|
@@ -93802,7 +93804,7 @@ function RLe(e) {
|
|
|
93802
93804
|
function ALe() {
|
|
93803
93805
|
var a;
|
|
93804
93806
|
const { chatbot: e } = Xr(), { messages: t, messageBoxBottomRef: n, botTypingPlaceholder: r } = bi();
|
|
93805
|
-
|
|
93807
|
+
Vt(() => {
|
|
93806
93808
|
var o;
|
|
93807
93809
|
(o = n.current) == null || o.scrollIntoView({ behavior: "smooth" });
|
|
93808
93810
|
}, [t, n]);
|
|
@@ -93845,7 +93847,7 @@ const NLe = "_chatbot_footer_1slg7_1", OLe = "_chatbot_footer__content_1slg7_4",
|
|
|
93845
93847
|
}, wLe = (e) => /* @__PURE__ */ Gt.createElement("svg", { width: 15, height: 12, viewBox: "0 0 15 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Gt.createElement("path", { d: "M0.823242 11.6953V0.945312L14.3328 6.32031L0.823242 11.6953ZM1.90658 10.0911L11.3649 6.32031L1.90658 2.54948V4.98052L5.92574 6.32031L1.90658 7.6601V10.0911Z", fill: "white" })), MLe = (e) => /* @__PURE__ */ Gt.createElement("svg", { width: 11, height: 16, viewBox: "0 0 11 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Gt.createElement("path", { d: "M5.40658 9.90397C4.82435 9.90397 4.33158 9.7023 3.92824 9.29897C3.52491 8.89564 3.32324 8.40286 3.32324 7.82064V2.82064C3.32324 2.23842 3.52491 1.74564 3.92824 1.3423C4.33158 0.938971 4.82435 0.737305 5.40658 0.737305C5.9888 0.737305 6.48158 0.938971 6.88491 1.3423C7.28824 1.74564 7.48991 2.23842 7.48991 2.82064V7.82064C7.48991 8.40286 7.28824 8.89564 6.88491 9.29897C6.48158 9.7023 5.9888 9.90397 5.40658 9.90397ZM4.86491 15.1123V12.8654C3.56213 12.7208 2.47949 12.1724 1.61699 11.2202C0.754492 10.2679 0.323242 9.13467 0.323242 7.82064H1.40658C1.40658 8.92731 1.79706 9.87064 2.57803 10.6506C3.35887 11.4306 4.30331 11.8206 5.41137 11.8206C6.51928 11.8206 7.46213 11.4306 8.23991 10.6506C9.01769 9.87064 9.40658 8.92731 9.40658 7.82064H10.4899C10.4899 9.13467 10.0587 10.2679 9.19616 11.2202C8.33366 12.1724 7.25102 12.7208 5.94824 12.8654V15.1123H4.86491ZM5.40658 8.82064C5.68991 8.82064 5.92741 8.7248 6.11908 8.53314C6.31074 8.34147 6.40658 8.10397 6.40658 7.82064V2.82064C6.40658 2.5373 6.31074 2.2998 6.11908 2.10814C5.92741 1.91647 5.68991 1.82064 5.40658 1.82064C5.12324 1.82064 4.88574 1.91647 4.69408 2.10814C4.50241 2.2998 4.40658 2.5373 4.40658 2.82064V7.82064C4.40658 8.10397 4.50241 8.34147 4.69408 8.53314C4.88574 8.7248 5.12324 8.82064 5.40658 8.82064Z", fill: "white" })), LLe = (e) => /* @__PURE__ */ Gt.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Gt.createElement("circle", { cx: 20, cy: 20, r: 18, fill: "#D04444" }), /* @__PURE__ */ Gt.createElement("rect", { x: 12, y: 12, width: 16, height: 16, fill: "#FFFFFF", rx: 2, ry: 2 }));
|
|
93846
93848
|
function kLe(e) {
|
|
93847
93849
|
const { setValue: t, className: n, style: r } = e, [i, a] = ln(!1), o = Aa(null);
|
|
93848
|
-
|
|
93850
|
+
Vt(() => {
|
|
93849
93851
|
const _ = window.SpeechRecognition || window.webkitSpeechRecognition;
|
|
93850
93852
|
if (!_) return;
|
|
93851
93853
|
const p = new _();
|
|
@@ -94137,7 +94139,7 @@ export {
|
|
|
94137
94139
|
CLe as ImageTemplate,
|
|
94138
94140
|
Iee as QuickReplies,
|
|
94139
94141
|
Ol as TemplateBox,
|
|
94140
|
-
|
|
94142
|
+
qu as TemplateBoxContent,
|
|
94141
94143
|
FP as TextTemplate,
|
|
94142
94144
|
y3 as defaultAsgardThemeContextValue,
|
|
94143
94145
|
dee as useAsgardAppInitializationContext,
|