@asgard-js/react 0.0.43-canary.4 → 0.0.43-canary.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1700,7 +1700,7 @@ function Pk(e) {
|
|
|
1700
1700
|
function Uk(e) {
|
|
1701
1701
|
return e && typeof e == "number" ? e : 1;
|
|
1702
1702
|
}
|
|
1703
|
-
class
|
|
1703
|
+
class hr extends Error {
|
|
1704
1704
|
/**
|
|
1705
1705
|
* Create a message for `reason`.
|
|
1706
1706
|
*
|
|
@@ -1774,19 +1774,19 @@ class pr extends Error {
|
|
|
1774
1774
|
this.ancestors = a.ancestors || void 0, this.cause = a.cause || void 0, this.column = s ? s.column : void 0, this.fatal = void 0, this.file = "", this.message = i, this.line = s ? s.line : void 0, this.name = Ud(a.place) || "1:1", this.place = a.place || void 0, this.reason = this.message, this.ruleId = a.ruleId || void 0, this.source = a.source || void 0, this.stack = o && a.cause && typeof a.cause.stack == "string" ? a.cause.stack : "", this.actual = void 0, this.expected = void 0, this.note = void 0, this.url = void 0;
|
|
1775
1775
|
}
|
|
1776
1776
|
}
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1777
|
+
hr.prototype.file = "";
|
|
1778
|
+
hr.prototype.name = "";
|
|
1779
|
+
hr.prototype.reason = "";
|
|
1780
|
+
hr.prototype.message = "";
|
|
1781
|
+
hr.prototype.stack = "";
|
|
1782
|
+
hr.prototype.column = void 0;
|
|
1783
|
+
hr.prototype.line = void 0;
|
|
1784
|
+
hr.prototype.ancestors = void 0;
|
|
1785
|
+
hr.prototype.cause = void 0;
|
|
1786
|
+
hr.prototype.fatal = void 0;
|
|
1787
|
+
hr.prototype.place = void 0;
|
|
1788
|
+
hr.prototype.ruleId = void 0;
|
|
1789
|
+
hr.prototype.source = void 0;
|
|
1790
1790
|
const I6 = {}.hasOwnProperty, aX = /* @__PURE__ */ new Map(), oX = /[A-Z]/g, sX = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), lX = /* @__PURE__ */ new Set(["td", "th"]), tR = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
|
|
1791
1791
|
function uX(e, t) {
|
|
1792
1792
|
if (!t || t.Fragment === void 0)
|
|
@@ -2009,7 +2009,7 @@ function wX(e, t) {
|
|
|
2009
2009
|
const r = (
|
|
2010
2010
|
/** @type {Error} */
|
|
2011
2011
|
n
|
|
2012
|
-
), i = new
|
|
2012
|
+
), i = new hr("Cannot parse `style` attribute", {
|
|
2013
2013
|
ancestors: e.ancestors,
|
|
2014
2014
|
cause: r,
|
|
2015
2015
|
ruleId: "style",
|
|
@@ -2050,7 +2050,7 @@ function iR(e, t, n) {
|
|
|
2050
2050
|
uh(e);
|
|
2051
2051
|
}
|
|
2052
2052
|
function uh(e, t) {
|
|
2053
|
-
const n = new
|
|
2053
|
+
const n = new hr(
|
|
2054
2054
|
"Cannot handle MDX estrees without `createEvaluater`",
|
|
2055
2055
|
{
|
|
2056
2056
|
ancestors: e.ancestors,
|
|
@@ -2143,7 +2143,7 @@ function bi(e, t, n, r) {
|
|
|
2143
2143
|
for (n && e.splice(t, n); a < r.length; )
|
|
2144
2144
|
o = r.slice(a, a + 1e4), o.unshift(t, 0), e.splice(...o), a += 1e4, t += 1e4;
|
|
2145
2145
|
}
|
|
2146
|
-
function
|
|
2146
|
+
function Ri(e, t) {
|
|
2147
2147
|
return e.length > 0 ? (bi(e, e.length, 0, t), e) : t;
|
|
2148
2148
|
}
|
|
2149
2149
|
const jk = {}.hasOwnProperty;
|
|
@@ -2194,7 +2194,7 @@ function sR(e, t) {
|
|
|
2194
2194
|
function ya(e) {
|
|
2195
2195
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
2196
2196
|
}
|
|
2197
|
-
const Ar = Dl(/[A-Za-z]/),
|
|
2197
|
+
const Ar = Dl(/[A-Za-z]/), nr = Dl(/[\dA-Za-z]/), MX = Dl(/[#-'*+\--9=?A-Z^-~]/);
|
|
2198
2198
|
function W1(e) {
|
|
2199
2199
|
return (
|
|
2200
2200
|
// Special whitespace codes (which have negative values), C0 and Control
|
|
@@ -2225,7 +2225,7 @@ function l0(e) {
|
|
|
2225
2225
|
for (; ++n < e.length; ) {
|
|
2226
2226
|
const a = e.charCodeAt(n);
|
|
2227
2227
|
let o = "";
|
|
2228
|
-
if (a === 37 &&
|
|
2228
|
+
if (a === 37 && nr(e.charCodeAt(n + 1)) && nr(e.charCodeAt(n + 2)))
|
|
2229
2229
|
i = 2;
|
|
2230
2230
|
else if (a < 128)
|
|
2231
2231
|
/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a)) || (o = String.fromCharCode(a));
|
|
@@ -2468,7 +2468,7 @@ function LX(e, t) {
|
|
|
2468
2468
|
...o.start
|
|
2469
2469
|
}, e[n][1].start = {
|
|
2470
2470
|
...s.end
|
|
2471
|
-
}, u = [], e[r][1].end.offset - e[r][1].start.offset && (u =
|
|
2471
|
+
}, u = [], e[r][1].end.offset - e[r][1].start.offset && (u = Ri(u, [["enter", e[r][1], t], ["exit", e[r][1], t]])), u = Ri(u, [["enter", i, t], ["enter", o, t], ["exit", o, t], ["enter", a, t]]), u = Ri(u, qy(t.parser.constructs.insideSpan.null, e.slice(r + 1, n), t)), u = Ri(u, [["exit", a, t], ["enter", s, t], ["exit", s, t], ["exit", i, t]]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, u = Ri(u, [["enter", e[n][1], t], ["exit", e[n][1], t]])) : c = 0, bi(e, r - 1, n - r + 3, u), n = r + u.length - c - 2;
|
|
2472
2472
|
break;
|
|
2473
2473
|
}
|
|
2474
2474
|
}
|
|
@@ -2507,10 +2507,10 @@ function PX(e, t, n) {
|
|
|
2507
2507
|
return Ar(h) ? (e.consume(h), o) : h === 64 ? n(h) : u(h);
|
|
2508
2508
|
}
|
|
2509
2509
|
function o(h) {
|
|
2510
|
-
return h === 43 || h === 45 || h === 46 ||
|
|
2510
|
+
return h === 43 || h === 45 || h === 46 || nr(h) ? (r = 1, s(h)) : u(h);
|
|
2511
2511
|
}
|
|
2512
2512
|
function s(h) {
|
|
2513
|
-
return h === 58 ? (e.consume(h), r = 0, l) : (h === 43 || h === 45 || h === 46 ||
|
|
2513
|
+
return h === 58 ? (e.consume(h), r = 0, l) : (h === 43 || h === 45 || h === 46 || nr(h)) && r++ < 32 ? (e.consume(h), s) : (r = 0, u(h));
|
|
2514
2514
|
}
|
|
2515
2515
|
function l(h) {
|
|
2516
2516
|
return h === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.exit("autolink"), t) : h === null || h === 32 || h === 60 || W1(h) ? n(h) : (e.consume(h), l);
|
|
@@ -2519,13 +2519,13 @@ function PX(e, t, n) {
|
|
|
2519
2519
|
return h === 64 ? (e.consume(h), c) : MX(h) ? (e.consume(h), u) : n(h);
|
|
2520
2520
|
}
|
|
2521
2521
|
function c(h) {
|
|
2522
|
-
return
|
|
2522
|
+
return nr(h) ? f(h) : n(h);
|
|
2523
2523
|
}
|
|
2524
2524
|
function f(h) {
|
|
2525
2525
|
return h === 46 ? (e.consume(h), r = 0, c) : h === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.exit("autolink"), t) : d(h);
|
|
2526
2526
|
}
|
|
2527
2527
|
function d(h) {
|
|
2528
|
-
if ((h === 45 ||
|
|
2528
|
+
if ((h === 45 || nr(h)) && r++ < 63) {
|
|
2529
2529
|
const p = h === 45 ? d : f;
|
|
2530
2530
|
return e.consume(h), p;
|
|
2531
2531
|
}
|
|
@@ -2607,7 +2607,7 @@ function GX(e, t, n) {
|
|
|
2607
2607
|
return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(f), e.exit("characterReferenceMarker"), l;
|
|
2608
2608
|
}
|
|
2609
2609
|
function l(f) {
|
|
2610
|
-
return f === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(f), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), a = 31, o =
|
|
2610
|
+
return f === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(f), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), a = 31, o = nr, c(f));
|
|
2611
2611
|
}
|
|
2612
2612
|
function u(f) {
|
|
2613
2613
|
return f === 88 || f === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(f), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), a = 6, o = NX, c) : (e.enter("characterReferenceValue"), a = 7, o = Wx, c(f));
|
|
@@ -2615,7 +2615,7 @@ function GX(e, t, n) {
|
|
|
2615
2615
|
function c(f) {
|
|
2616
2616
|
if (f === 59 && i) {
|
|
2617
2617
|
const d = e.exit("characterReferenceValue");
|
|
2618
|
-
return o ===
|
|
2618
|
+
return o === nr && !P6(r.sliceSerialize(d)) ? n(f) : (e.enter("characterReferenceMarker"), e.consume(f), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
|
|
2619
2619
|
}
|
|
2620
2620
|
return o(f) && i++ < a ? (e.consume(f), c) : n(f);
|
|
2621
2621
|
}
|
|
@@ -3367,7 +3367,7 @@ function _K(e, t, n) {
|
|
|
3367
3367
|
const ae = F === 47, ie = o.toLowerCase();
|
|
3368
3368
|
return !ae && !a && Xk.includes(ie) ? (i = 1, r.interrupt ? t(F) : z(F)) : bK.includes(o.toLowerCase()) ? (i = 6, ae ? (e.consume(F), y) : r.interrupt ? t(F) : z(F)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(F) : a ? b(F) : v(F));
|
|
3369
3369
|
}
|
|
3370
|
-
return F === 45 ||
|
|
3370
|
+
return F === 45 || nr(F) ? (e.consume(F), o += String.fromCharCode(F), g) : n(F);
|
|
3371
3371
|
}
|
|
3372
3372
|
function y(F) {
|
|
3373
3373
|
return F === 62 ? (e.consume(F), r.interrupt ? t : z) : n(F);
|
|
@@ -3379,7 +3379,7 @@ function _K(e, t, n) {
|
|
|
3379
3379
|
return F === 47 ? (e.consume(F), T) : F === 58 || F === 95 || Ar(F) ? (e.consume(F), w) : st(F) ? (e.consume(F), v) : T(F);
|
|
3380
3380
|
}
|
|
3381
3381
|
function w(F) {
|
|
3382
|
-
return F === 45 || F === 46 || F === 58 || F === 95 ||
|
|
3382
|
+
return F === 45 || F === 46 || F === 58 || F === 95 || nr(F) ? (e.consume(F), w) : E(F);
|
|
3383
3383
|
}
|
|
3384
3384
|
function E(F) {
|
|
3385
3385
|
return F === 61 ? (e.consume(F), _) : st(F) ? (e.consume(F), E) : v(F);
|
|
@@ -3511,19 +3511,19 @@ function CK(e, t, n) {
|
|
|
3511
3511
|
return Ar(A) ? (e.consume(A), _) : n(A);
|
|
3512
3512
|
}
|
|
3513
3513
|
function _(A) {
|
|
3514
|
-
return A === 45 ||
|
|
3514
|
+
return A === 45 || nr(A) ? (e.consume(A), _) : S(A);
|
|
3515
3515
|
}
|
|
3516
3516
|
function S(A) {
|
|
3517
3517
|
return Fe(A) ? (o = S, U(A)) : st(A) ? (e.consume(A), S) : $(A);
|
|
3518
3518
|
}
|
|
3519
3519
|
function N(A) {
|
|
3520
|
-
return A === 45 ||
|
|
3520
|
+
return A === 45 || nr(A) ? (e.consume(A), N) : A === 47 || A === 62 || $t(A) ? M(A) : n(A);
|
|
3521
3521
|
}
|
|
3522
3522
|
function M(A) {
|
|
3523
3523
|
return A === 47 ? (e.consume(A), $) : A === 58 || A === 95 || Ar(A) ? (e.consume(A), T) : Fe(A) ? (o = M, U(A)) : st(A) ? (e.consume(A), M) : $(A);
|
|
3524
3524
|
}
|
|
3525
3525
|
function T(A) {
|
|
3526
|
-
return A === 45 || A === 46 || A === 58 || A === 95 ||
|
|
3526
|
+
return A === 45 || A === 46 || A === 58 || A === 95 || nr(A) ? (e.consume(A), T) : O(A);
|
|
3527
3527
|
}
|
|
3528
3528
|
function O(A) {
|
|
3529
3529
|
return A === 61 ? (e.consume(A), z) : Fe(A) ? (o = O, U(A)) : st(A) ? (e.consume(A), O) : M(A);
|
|
@@ -3615,7 +3615,7 @@ function OK(e, t) {
|
|
|
3615
3615
|
...e[o - 2][1].start
|
|
3616
3616
|
}
|
|
3617
3617
|
};
|
|
3618
|
-
return s = [["enter", l, t], ["enter", u, t]], s =
|
|
3618
|
+
return s = [["enter", l, t], ["enter", u, t]], s = Ri(s, e.slice(a + 1, a + r + 3)), s = Ri(s, [["enter", c, t]]), s = Ri(s, qy(t.parser.constructs.insideSpan.null, e.slice(a + r + 4, o - 3), t)), s = Ri(s, [["exit", c, t], e[o - 2], e[o - 1], ["exit", u, t]]), s = Ri(s, e.slice(o + 1)), s = Ri(s, [["exit", l, t]]), bi(e, a, e.length, s), e;
|
|
3619
3619
|
}
|
|
3620
3620
|
function RK(e, t, n) {
|
|
3621
3621
|
const r = this;
|
|
@@ -4107,7 +4107,7 @@ function pZ(e, t, n) {
|
|
|
4107
4107
|
let c = t.tokenize.call(u, l);
|
|
4108
4108
|
return t.resolveAll && a.push(t), u;
|
|
4109
4109
|
function f(O) {
|
|
4110
|
-
return o =
|
|
4110
|
+
return o = Ri(o, O), g(), o[o.length - 1] !== null ? [] : (N(t, 0), u.events = qy(a, u.events, u), u.events);
|
|
4111
4111
|
}
|
|
4112
4112
|
function d(O, z) {
|
|
4113
4113
|
return gZ(h(O), z);
|
|
@@ -4375,7 +4375,7 @@ function kZ(e) {
|
|
|
4375
4375
|
transforms: [],
|
|
4376
4376
|
canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
|
|
4377
4377
|
enter: {
|
|
4378
|
-
autolink: a(
|
|
4378
|
+
autolink: a(mr),
|
|
4379
4379
|
autolinkProtocol: M,
|
|
4380
4380
|
autolinkEmail: M,
|
|
4381
4381
|
atxHeading: a(Je),
|
|
@@ -4403,7 +4403,7 @@ function kZ(e) {
|
|
|
4403
4403
|
htmlTextData: M,
|
|
4404
4404
|
image: a(De),
|
|
4405
4405
|
label: o,
|
|
4406
|
-
link: a(
|
|
4406
|
+
link: a(mr),
|
|
4407
4407
|
listItem: a(bt),
|
|
4408
4408
|
listItemValue: d,
|
|
4409
4409
|
listOrdered: a(Xt, f),
|
|
@@ -4414,7 +4414,7 @@ function kZ(e) {
|
|
|
4414
4414
|
resourceDestinationString: o,
|
|
4415
4415
|
resourceTitleString: o,
|
|
4416
4416
|
setextHeading: a(Je),
|
|
4417
|
-
strong: a(
|
|
4417
|
+
strong: a(Ti),
|
|
4418
4418
|
thematicBreak: a(Rs)
|
|
4419
4419
|
},
|
|
4420
4420
|
exit: {
|
|
@@ -4522,7 +4522,7 @@ function kZ(e) {
|
|
|
4522
4522
|
return K;
|
|
4523
4523
|
}
|
|
4524
4524
|
function i(j, K, ge) {
|
|
4525
|
-
let Ce = K - 1, Ve = -1, Ht = !1,
|
|
4525
|
+
let Ce = K - 1, Ve = -1, Ht = !1, Mi, Pr, $s, Fs;
|
|
4526
4526
|
for (; ++Ce <= ge; ) {
|
|
4527
4527
|
const Xn = j[Ce];
|
|
4528
4528
|
switch (Xn[1].type) {
|
|
@@ -4533,7 +4533,7 @@ function kZ(e) {
|
|
|
4533
4533
|
break;
|
|
4534
4534
|
}
|
|
4535
4535
|
case "lineEndingBlank": {
|
|
4536
|
-
Xn[0] === "enter" && (
|
|
4536
|
+
Xn[0] === "enter" && (Mi && !Fs && !Ve && !$s && ($s = Ce), Fs = void 0);
|
|
4537
4537
|
break;
|
|
4538
4538
|
}
|
|
4539
4539
|
case "linePrefix":
|
|
@@ -4546,16 +4546,16 @@ function kZ(e) {
|
|
|
4546
4546
|
Fs = void 0;
|
|
4547
4547
|
}
|
|
4548
4548
|
if (!Ve && Xn[0] === "enter" && Xn[1].type === "listItemPrefix" || Ve === -1 && Xn[0] === "exit" && (Xn[1].type === "listUnordered" || Xn[1].type === "listOrdered")) {
|
|
4549
|
-
if (
|
|
4549
|
+
if (Mi) {
|
|
4550
4550
|
let Lo = Ce;
|
|
4551
4551
|
for (Pr = void 0; Lo--; ) {
|
|
4552
|
-
const
|
|
4553
|
-
if (
|
|
4554
|
-
if (
|
|
4555
|
-
Pr && (j[Pr][1].type = "lineEndingBlank", Ht = !0),
|
|
4556
|
-
} else if (!(
|
|
4552
|
+
const Ni = j[Lo];
|
|
4553
|
+
if (Ni[1].type === "lineEnding" || Ni[1].type === "lineEndingBlank") {
|
|
4554
|
+
if (Ni[0] === "exit") continue;
|
|
4555
|
+
Pr && (j[Pr][1].type = "lineEndingBlank", Ht = !0), Ni[1].type = "lineEnding", Pr = Lo;
|
|
4556
|
+
} else if (!(Ni[1].type === "linePrefix" || Ni[1].type === "blockQuotePrefix" || Ni[1].type === "blockQuotePrefixWhitespace" || Ni[1].type === "blockQuoteMarker" || Ni[1].type === "listItemIndent")) break;
|
|
4557
4557
|
}
|
|
4558
|
-
$s && (!Pr || $s < Pr) && (
|
|
4558
|
+
$s && (!Pr || $s < Pr) && (Mi._spread = !0), Mi.end = Object.assign({}, Pr ? j[Pr][1].start : Xn[1].end), j.splice(Pr || Ce, 0, ["exit", Mi, Xn[2]]), Ce++, ge++;
|
|
4559
4559
|
}
|
|
4560
4560
|
if (Xn[1].type === "listItemPrefix") {
|
|
4561
4561
|
const Lo = {
|
|
@@ -4565,7 +4565,7 @@ function kZ(e) {
|
|
|
4565
4565
|
// @ts-expect-error: we’ll add `end` in a second.
|
|
4566
4566
|
end: void 0
|
|
4567
4567
|
};
|
|
4568
|
-
|
|
4568
|
+
Mi = Lo, j.splice(Ce, 0, ["enter", Lo, Xn[2]]), Ce++, ge++, $s = void 0, Fs = !0;
|
|
4569
4569
|
}
|
|
4570
4570
|
}
|
|
4571
4571
|
}
|
|
@@ -4837,7 +4837,7 @@ function kZ(e) {
|
|
|
4837
4837
|
alt: null
|
|
4838
4838
|
};
|
|
4839
4839
|
}
|
|
4840
|
-
function
|
|
4840
|
+
function mr() {
|
|
4841
4841
|
return {
|
|
4842
4842
|
type: "link",
|
|
4843
4843
|
title: null,
|
|
@@ -4868,7 +4868,7 @@ function kZ(e) {
|
|
|
4868
4868
|
children: []
|
|
4869
4869
|
};
|
|
4870
4870
|
}
|
|
4871
|
-
function
|
|
4871
|
+
function Ti() {
|
|
4872
4872
|
return {
|
|
4873
4873
|
type: "strong",
|
|
4874
4874
|
children: []
|
|
@@ -6407,7 +6407,7 @@ class CR {
|
|
|
6407
6407
|
* Message.
|
|
6408
6408
|
*/
|
|
6409
6409
|
message(t, n, r) {
|
|
6410
|
-
const i = new
|
|
6410
|
+
const i = new hr(
|
|
6411
6411
|
// @ts-expect-error: the overloads are fine.
|
|
6412
6412
|
t,
|
|
6413
6413
|
n,
|
|
@@ -8333,7 +8333,7 @@ function See(e, t, n) {
|
|
|
8333
8333
|
return Zx(f) ? (e.consume(f), s) : f === 64 ? (e.consume(f), l) : n(f);
|
|
8334
8334
|
}
|
|
8335
8335
|
function l(f) {
|
|
8336
|
-
return f === 46 ? e.check(_ee, c, u)(f) : f === 45 || f === 95 ||
|
|
8336
|
+
return f === 46 ? e.check(_ee, c, u)(f) : f === 45 || f === 95 || nr(f) ? (a = !0, e.consume(f), l) : c(f);
|
|
8337
8337
|
}
|
|
8338
8338
|
function u(f) {
|
|
8339
8339
|
return e.consume(f), i = !0, l;
|
|
@@ -8437,7 +8437,7 @@ function Oee(e, t, n) {
|
|
|
8437
8437
|
return e.consume(a), i;
|
|
8438
8438
|
}
|
|
8439
8439
|
function i(a) {
|
|
8440
|
-
return
|
|
8440
|
+
return nr(a) ? n(a) : t(a);
|
|
8441
8441
|
}
|
|
8442
8442
|
}
|
|
8443
8443
|
function XR(e) {
|
|
@@ -8450,7 +8450,7 @@ function ZR(e) {
|
|
|
8450
8450
|
return !(e === 47 || Zx(e));
|
|
8451
8451
|
}
|
|
8452
8452
|
function Zx(e) {
|
|
8453
|
-
return e === 43 || e === 45 || e === 46 || e === 95 ||
|
|
8453
|
+
return e === 43 || e === 45 || e === 46 || e === 95 || nr(e);
|
|
8454
8454
|
}
|
|
8455
8455
|
function K6(e) {
|
|
8456
8456
|
let t = e.length, n = !1;
|
|
@@ -9279,7 +9279,7 @@ class fi {
|
|
|
9279
9279
|
return n ? !t || !t.loc || !n.loc || t.loc.lexer !== n.loc.lexer ? null : new fi(t.loc.lexer, t.loc.start, n.loc.end) : t && t.loc;
|
|
9280
9280
|
}
|
|
9281
9281
|
}
|
|
9282
|
-
class
|
|
9282
|
+
class qi {
|
|
9283
9283
|
// don't expand the token
|
|
9284
9284
|
// used in \noexpand
|
|
9285
9285
|
constructor(t, n) {
|
|
@@ -9290,7 +9290,7 @@ class Ui {
|
|
|
9290
9290
|
* the whole input range enclosed by these two.
|
|
9291
9291
|
*/
|
|
9292
9292
|
range(t, n) {
|
|
9293
|
-
return new
|
|
9293
|
+
return new qi(n, fi.range(this, t));
|
|
9294
9294
|
}
|
|
9295
9295
|
}
|
|
9296
9296
|
class de {
|
|
@@ -9561,7 +9561,7 @@ class Ls {
|
|
|
9561
9561
|
return this.size >= 2;
|
|
9562
9562
|
}
|
|
9563
9563
|
}
|
|
9564
|
-
var Q6 = 0, X1 = 1, ff = 2, ns = 3, fh = 4,
|
|
9564
|
+
var Q6 = 0, X1 = 1, ff = 2, ns = 3, fh = 4, Li = 5, _f = 6, Tr = 7, Ga = [new Ls(Q6, 0, !1), new Ls(X1, 0, !0), new Ls(ff, 1, !1), new Ls(ns, 1, !0), new Ls(fh, 2, !1), new Ls(Li, 2, !0), new Ls(_f, 3, !1), new Ls(Tr, 3, !0)], Ete = [fh, Li, fh, Li, _f, Tr, _f, Tr], _te = [Li, Li, Li, Li, Tr, Tr, Tr, Tr], kte = [ff, ns, fh, Li, _f, Tr, _f, Tr], Ste = [ns, ns, Li, Li, Tr, Tr, Tr, Tr], Ate = [X1, X1, ns, ns, Li, Li, Tr, Tr], Cte = [Q6, X1, ff, ns, ff, ns, ff, ns], je = {
|
|
9565
9565
|
DISPLAY: Ga[Q6],
|
|
9566
9566
|
TEXT: Ga[ff],
|
|
9567
9567
|
SCRIPT: Ga[fh],
|
|
@@ -12723,7 +12723,7 @@ var Wte = {
|
|
|
12723
12723
|
// 'ī': '\u0131\u0304', // enable when we add Extended Latin
|
|
12724
12724
|
ì: "ı̀"
|
|
12725
12725
|
};
|
|
12726
|
-
class
|
|
12726
|
+
class Wi {
|
|
12727
12727
|
constructor(t, n, r, i, a, o, s, l) {
|
|
12728
12728
|
this.text = void 0, this.height = void 0, this.depth = void 0, this.italic = void 0, this.skew = void 0, this.width = void 0, this.maxFontSize = void 0, this.classes = void 0, this.style = void 0, this.text = t, this.height = n || 0, this.depth = r || 0, this.italic = i || 0, this.skew = a || 0, this.width = o || 0, this.classes = s || [], this.style = l || {}, this.maxFontSize = 0;
|
|
12729
12729
|
var u = Tte(this.text.charCodeAt(0));
|
|
@@ -12810,7 +12810,7 @@ class e3 {
|
|
|
12810
12810
|
}
|
|
12811
12811
|
}
|
|
12812
12812
|
function DS(e) {
|
|
12813
|
-
if (e instanceof
|
|
12813
|
+
if (e instanceof Wi)
|
|
12814
12814
|
return e;
|
|
12815
12815
|
throw new Error("Expected symbolNode but got " + String(e) + ".");
|
|
12816
12816
|
}
|
|
@@ -13474,9 +13474,9 @@ x(oe, L, H, "Z", "ℤ");
|
|
|
13474
13474
|
x(k, C, qe, "h", "ℎ");
|
|
13475
13475
|
x(oe, C, qe, "h", "ℎ");
|
|
13476
13476
|
var Ge = "";
|
|
13477
|
-
for (var
|
|
13478
|
-
var tn = K1.charAt(
|
|
13479
|
-
Ge = String.fromCharCode(55349, 56320 +
|
|
13477
|
+
for (var gr = 0; gr < K1.length; gr++) {
|
|
13478
|
+
var tn = K1.charAt(gr);
|
|
13479
|
+
Ge = String.fromCharCode(55349, 56320 + gr), x(k, C, qe, tn, Ge), x(oe, C, H, tn, Ge), Ge = String.fromCharCode(55349, 56372 + gr), x(k, C, qe, tn, Ge), x(oe, C, H, tn, Ge), Ge = String.fromCharCode(55349, 56424 + gr), x(k, C, qe, tn, Ge), x(oe, C, H, tn, Ge), Ge = String.fromCharCode(55349, 56580 + gr), x(k, C, qe, tn, Ge), x(oe, C, H, tn, Ge), Ge = String.fromCharCode(55349, 56684 + gr), x(k, C, qe, tn, Ge), x(oe, C, H, tn, Ge), Ge = String.fromCharCode(55349, 56736 + gr), x(k, C, qe, tn, Ge), x(oe, C, H, tn, Ge), Ge = String.fromCharCode(55349, 56788 + gr), x(k, C, qe, tn, Ge), x(oe, C, H, tn, Ge), Ge = String.fromCharCode(55349, 56840 + gr), x(k, C, qe, tn, Ge), x(oe, C, H, tn, Ge), Ge = String.fromCharCode(55349, 56944 + gr), x(k, C, qe, tn, Ge), x(oe, C, H, tn, Ge), gr < 26 && (Ge = String.fromCharCode(55349, 56632 + gr), x(k, C, qe, tn, Ge), x(oe, C, H, tn, Ge), Ge = String.fromCharCode(55349, 56476 + gr), x(k, C, qe, tn, Ge), x(oe, C, H, tn, Ge));
|
|
13480
13480
|
}
|
|
13481
13481
|
Ge = "𝕜";
|
|
13482
13482
|
x(k, C, qe, "k", Ge);
|
|
@@ -13583,9 +13583,9 @@ var am = [
|
|
|
13583
13583
|
var l;
|
|
13584
13584
|
if (s) {
|
|
13585
13585
|
var u = s.italic;
|
|
13586
|
-
(r === "text" || i && i.font === "mathit") && (u = 0), l = new
|
|
13586
|
+
(r === "text" || i && i.font === "mathit") && (u = 0), l = new Wi(t, s.height, s.depth, u, s.skew, s.width, a);
|
|
13587
13587
|
} else
|
|
13588
|
-
typeof console < "u" && console.warn("No character metrics " + ("for '" + t + "' in style '" + n + "' and mode '" + r + "'")), l = new
|
|
13588
|
+
typeof console < "u" && console.warn("No character metrics " + ("for '" + t + "' in style '" + n + "' and mode '" + r + "'")), l = new Wi(t, 0, 0, 0, 0, 0, a);
|
|
13589
13589
|
if (i) {
|
|
13590
13590
|
l.maxFontSize = i.sizeMultiplier, i.style.isTight() && l.classes.push("mtight");
|
|
13591
13591
|
var c = i.getColor();
|
|
@@ -13654,7 +13654,7 @@ var am = [
|
|
|
13654
13654
|
}, ene = (e) => {
|
|
13655
13655
|
for (var t = 0; t < e.length - 1; t++) {
|
|
13656
13656
|
var n = e[t], r = e[t + 1];
|
|
13657
|
-
n instanceof
|
|
13657
|
+
n instanceof Wi && r instanceof Wi && Jte(n, r) && (n.text += r.text, n.height = Math.max(n.height, r.height), n.depth = Math.max(n.depth, r.depth), n.italic = r.italic, e.splice(t + 1, 1), t--);
|
|
13658
13658
|
}
|
|
13659
13659
|
return e;
|
|
13660
13660
|
}, t7 = function(t) {
|
|
@@ -13745,7 +13745,7 @@ var am = [
|
|
|
13745
13745
|
if (f < 0) {
|
|
13746
13746
|
var _ = Hr([], []), S = Hr(["vlist"], [_]);
|
|
13747
13747
|
S.style.height = ve(-f);
|
|
13748
|
-
var N = Hr(["vlist-s"], [new
|
|
13748
|
+
var N = Hr(["vlist-s"], [new Wi("")]);
|
|
13749
13749
|
E = [Hr(["vlist-r"], [w, N]), Hr(["vlist-r"], [S])];
|
|
13750
13750
|
} else
|
|
13751
13751
|
E = [Hr(["vlist-r"], [w])];
|
|
@@ -14222,7 +14222,7 @@ var ue = {
|
|
|
14222
14222
|
TextNode: Qa,
|
|
14223
14223
|
SpaceNode: mne,
|
|
14224
14224
|
newDocumentFragment: f$
|
|
14225
|
-
},
|
|
14225
|
+
}, Gi = function(t, n, r) {
|
|
14226
14226
|
return Lt[n][t] && Lt[n][t].replace && t.charCodeAt(0) !== 55349 && !(i$.hasOwnProperty(t) && r && (r.fontFamily && r.fontFamily.slice(4, 6) === "tt" || r.font && r.font.slice(4, 6) === "tt")) && (t = Lt[n][t].replace), new ue.TextNode(t);
|
|
14227
14227
|
}, n7 = function(t) {
|
|
14228
14228
|
return t.length === 1 ? t[0] : new ue.MathNode("mrow", t);
|
|
@@ -14617,7 +14617,7 @@ var a7 = (e, t) => {
|
|
|
14617
14617
|
var y = Y.makeSpan(["mord", "accent"], [d], t);
|
|
14618
14618
|
return i ? (i.children[0] = y, i.height = Math.max(y.height, i.height), i.classes[0] = "mord", i) : y;
|
|
14619
14619
|
}, p$ = (e, t) => {
|
|
14620
|
-
var n = e.isStretchy ? ps.mathMLnode(e.label) : new ue.MathNode("mo", [
|
|
14620
|
+
var n = e.isStretchy ? ps.mathMLnode(e.label) : new ue.MathNode("mo", [Gi(e.label, e.mode)]), r = new ue.MathNode("mover", [Ft(e.base, t), n]);
|
|
14621
14621
|
return r.setAttribute("accent", "true"), r;
|
|
14622
14622
|
}, kne = new RegExp(["\\acute", "\\grave", "\\ddot", "\\tilde", "\\bar", "\\breve", "\\check", "\\hat", "\\vec", "\\dot", "\\mathring"].map((e) => "\\" + e).join("|"));
|
|
14623
14623
|
ke({
|
|
@@ -15675,7 +15675,7 @@ ke({
|
|
|
15675
15675
|
htmlBuilder: (e, t) => e.delim === "." ? Y.makeSpan([e.mclass]) : rs.sizedDelim(e.delim, e.size, t, e.mode, [e.mclass]),
|
|
15676
15676
|
mathmlBuilder: (e) => {
|
|
15677
15677
|
var t = [];
|
|
15678
|
-
e.delim !== "." && t.push(
|
|
15678
|
+
e.delim !== "." && t.push(Gi(e.delim, e.mode));
|
|
15679
15679
|
var n = new ue.MathNode("mo", t);
|
|
15680
15680
|
e.mclass === "mopen" || e.mclass === "mclose" ? n.setAttribute("fence", "true") : n.setAttribute("fence", "false"), n.setAttribute("stretchy", "true");
|
|
15681
15681
|
var r = ve(rs.sizeToMaxHeight[e.size]);
|
|
@@ -15752,11 +15752,11 @@ ke({
|
|
|
15752
15752
|
qS(e);
|
|
15753
15753
|
var n = ai(e.body, t);
|
|
15754
15754
|
if (e.left !== ".") {
|
|
15755
|
-
var r = new ue.MathNode("mo", [
|
|
15755
|
+
var r = new ue.MathNode("mo", [Gi(e.left, e.mode)]);
|
|
15756
15756
|
r.setAttribute("fence", "true"), n.unshift(r);
|
|
15757
15757
|
}
|
|
15758
15758
|
if (e.right !== ".") {
|
|
15759
|
-
var i = new ue.MathNode("mo", [
|
|
15759
|
+
var i = new ue.MathNode("mo", [Gi(e.right, e.mode)]);
|
|
15760
15760
|
i.setAttribute("fence", "true"), e.rightColor && i.setAttribute("mathcolor", e.rightColor), n.push(i);
|
|
15761
15761
|
}
|
|
15762
15762
|
return n7(n);
|
|
@@ -15794,7 +15794,7 @@ ke({
|
|
|
15794
15794
|
return n;
|
|
15795
15795
|
},
|
|
15796
15796
|
mathmlBuilder: (e, t) => {
|
|
15797
|
-
var n = e.delim === "\\vert" || e.delim === "|" ?
|
|
15797
|
+
var n = e.delim === "\\vert" || e.delim === "|" ? Gi("|", "text") : Gi(e.delim, e.mode), r = new ue.MathNode("mo", [n]);
|
|
15798
15798
|
return r.setAttribute("fence", "true"), r.setAttribute("lspace", "0.05em"), r.setAttribute("rspace", "0.05em"), r;
|
|
15799
15799
|
}
|
|
15800
15800
|
});
|
|
@@ -16084,7 +16084,7 @@ function Ol(e, t, n) {
|
|
|
16084
16084
|
l && e.gullet.macros.set("\\@eqnsw", "1", !0);
|
|
16085
16085
|
}
|
|
16086
16086
|
function w() {
|
|
16087
|
-
b && (e.gullet.macros.get("\\df@tag") ? (b.push(e.subparse([new
|
|
16087
|
+
b && (e.gullet.macros.get("\\df@tag") ? (b.push(e.subparse([new qi("\\df@tag")])), e.gullet.macros.set("\\df@tag", void 0, !0)) : b.push(!!l && e.gullet.macros.get("\\@eqnsw") === "1"));
|
|
16088
16088
|
}
|
|
16089
16089
|
for (v(), y.push(HS(e)); ; ) {
|
|
16090
16090
|
var E = e.parseExpression(!1, u ? "\\end" : "\\\\");
|
|
@@ -16150,10 +16150,10 @@ var xo = function(t, n) {
|
|
|
16150
16150
|
unit: "ex"
|
|
16151
16151
|
}, n) : 12 * f, m = 3 * f, g = t.arraystretch * p, y = 0.7 * g, b = 0.3 * g, v = 0;
|
|
16152
16152
|
function w(De) {
|
|
16153
|
-
for (var
|
|
16154
|
-
|
|
16153
|
+
for (var mr = 0; mr < De.length; ++mr)
|
|
16154
|
+
mr > 0 && (v += 0.25), u.push({
|
|
16155
16155
|
pos: v,
|
|
16156
|
-
isDashed: De[
|
|
16156
|
+
isDashed: De[mr]
|
|
16157
16157
|
});
|
|
16158
16158
|
}
|
|
16159
16159
|
for (w(o[0]), r = 0; r < t.body.length; ++r) {
|
|
@@ -17682,23 +17682,23 @@ var I$ = (e, t, n, r, i, a, o) => {
|
|
|
17682
17682
|
}
|
|
17683
17683
|
} else if (a.body) {
|
|
17684
17684
|
var h = kn(a.body, t, !0);
|
|
17685
|
-
h.length === 1 && h[0] instanceof
|
|
17685
|
+
h.length === 1 && h[0] instanceof Wi ? (l = h[0], l.classes[0] = "mop") : l = Y.makeSpan(["mop"], h, t);
|
|
17686
17686
|
} else {
|
|
17687
17687
|
for (var p = [], m = 1; m < a.name.length; m++)
|
|
17688
17688
|
p.push(Y.mathsym(a.name[m], a.mode, t));
|
|
17689
17689
|
l = Y.makeSpan(["mop"], p, t);
|
|
17690
17690
|
}
|
|
17691
17691
|
var g = 0, y = 0;
|
|
17692
|
-
return (l instanceof
|
|
17692
|
+
return (l instanceof Wi || a.name === "\\oiint" || a.name === "\\oiiint") && !a.suppressBaseShift && (g = (l.height - l.depth) / 2 - t.fontMetrics().axisHeight, y = l.italic), i ? I$(l, n, r, t, o, y, g) : (g && (l.style.position = "relative", l.style.top = ve(g)), l);
|
|
17693
17693
|
}, ep = (e, t) => {
|
|
17694
17694
|
var n;
|
|
17695
17695
|
if (e.symbol)
|
|
17696
|
-
n = new hi("mo", [
|
|
17696
|
+
n = new hi("mo", [Gi(e.name, e.mode)]), Pe.contains(L$, e.name) && n.setAttribute("largeop", "false");
|
|
17697
17697
|
else if (e.body)
|
|
17698
17698
|
n = new hi("mo", ai(e.body, t));
|
|
17699
17699
|
else {
|
|
17700
17700
|
n = new hi("mi", [new Qa(e.name.slice(1))]);
|
|
17701
|
-
var r = new hi("mo", [
|
|
17701
|
+
var r = new hi("mo", [Gi("", "text")]);
|
|
17702
17702
|
e.parentIsSupSub ? n = new hi("mrow", [n, r]) : n = f$([n, r]);
|
|
17703
17703
|
}
|
|
17704
17704
|
return n;
|
|
@@ -17853,7 +17853,7 @@ var z$ = (e, t) => {
|
|
|
17853
17853
|
} : f;
|
|
17854
17854
|
}), l = kn(s, t.withFont("mathrm"), !0), u = 0; u < l.length; u++) {
|
|
17855
17855
|
var c = l[u];
|
|
17856
|
-
c instanceof
|
|
17856
|
+
c instanceof Wi && (c.text = c.text.replace(/\u2212/, "-").replace(/\u2217/, "*"));
|
|
17857
17857
|
}
|
|
17858
17858
|
o = Y.makeSpan(["mop"], l, t);
|
|
17859
17859
|
} else
|
|
@@ -17887,7 +17887,7 @@ var z$ = (e, t) => {
|
|
|
17887
17887
|
}
|
|
17888
17888
|
var l = new ue.MathNode("mi", n);
|
|
17889
17889
|
l.setAttribute("mathvariant", "normal");
|
|
17890
|
-
var u = new ue.MathNode("mo", [
|
|
17890
|
+
var u = new ue.MathNode("mo", [Gi("", "text")]);
|
|
17891
17891
|
return e.parentIsSupSub ? new ue.MathNode("mrow", [l, u]) : ue.newDocumentFragment([l, u]);
|
|
17892
17892
|
};
|
|
17893
17893
|
ke({
|
|
@@ -18391,7 +18391,7 @@ uc({
|
|
|
18391
18391
|
var g = t.sizeMultiplier, y = ve(0.5 / u.ptPerEm / g), b = null;
|
|
18392
18392
|
if (l) {
|
|
18393
18393
|
var v = e.base && e.base.type === "op" && e.base.name && (e.base.name === "\\oiint" || e.base.name === "\\oiiint");
|
|
18394
|
-
(o instanceof
|
|
18394
|
+
(o instanceof Wi || v) && (b = ve(-o.italic));
|
|
18395
18395
|
}
|
|
18396
18396
|
var w;
|
|
18397
18397
|
if (s && l) {
|
|
@@ -18475,7 +18475,7 @@ uc({
|
|
|
18475
18475
|
return Y.mathsym(e.text, e.mode, t, ["m" + e.family]);
|
|
18476
18476
|
},
|
|
18477
18477
|
mathmlBuilder(e, t) {
|
|
18478
|
-
var n = new ue.MathNode("mo", [
|
|
18478
|
+
var n = new ue.MathNode("mo", [Gi(e.text, e.mode)]);
|
|
18479
18479
|
if (e.family === "bin") {
|
|
18480
18480
|
var r = r7(e, t);
|
|
18481
18481
|
r === "bold-italic" && n.setAttribute("mathvariant", r);
|
|
@@ -18494,7 +18494,7 @@ uc({
|
|
|
18494
18494
|
return Y.makeOrd(e, t, "mathord");
|
|
18495
18495
|
},
|
|
18496
18496
|
mathmlBuilder(e, t) {
|
|
18497
|
-
var n = new ue.MathNode("mi", [
|
|
18497
|
+
var n = new ue.MathNode("mi", [Gi(e.text, e.mode, t)]), r = r7(e, t) || "italic";
|
|
18498
18498
|
return r !== P$[n.type] && n.setAttribute("mathvariant", r), n;
|
|
18499
18499
|
}
|
|
18500
18500
|
});
|
|
@@ -18504,7 +18504,7 @@ uc({
|
|
|
18504
18504
|
return Y.makeOrd(e, t, "textord");
|
|
18505
18505
|
},
|
|
18506
18506
|
mathmlBuilder(e, t) {
|
|
18507
|
-
var n =
|
|
18507
|
+
var n = Gi(e.text, e.mode, t), r = r7(e, t) || "normal", i;
|
|
18508
18508
|
return e.mode === "text" ? i = new ue.MathNode("mtext", [n]) : /[0-9]/.test(e.text) ? i = new ue.MathNode("mn", [n]) : e.text === "\\prime" ? i = new ue.MathNode("mo", [n]) : i = new ue.MathNode("mi", [n]), r !== P$[i.type] && i.setAttribute("mathvariant", r), i;
|
|
18509
18509
|
}
|
|
18510
18510
|
});
|
|
@@ -18761,17 +18761,17 @@ class nA {
|
|
|
18761
18761
|
lex() {
|
|
18762
18762
|
var t = this.input, n = this.tokenRegex.lastIndex;
|
|
18763
18763
|
if (n === t.length)
|
|
18764
|
-
return new
|
|
18764
|
+
return new qi("EOF", new fi(this, n, n));
|
|
18765
18765
|
var r = this.tokenRegex.exec(t);
|
|
18766
18766
|
if (r === null || r.index !== n)
|
|
18767
|
-
throw new de("Unexpected character: '" + t[n] + "'", new
|
|
18767
|
+
throw new de("Unexpected character: '" + t[n] + "'", new qi(t[n], new fi(this, n, n + 1)));
|
|
18768
18768
|
var i = r[6] || r[3] || (r[2] ? "\\ " : " ");
|
|
18769
18769
|
if (this.catcodes[i] === 14) {
|
|
18770
18770
|
var a = t.indexOf(`
|
|
18771
18771
|
`, this.tokenRegex.lastIndex);
|
|
18772
18772
|
return a === -1 ? (this.tokenRegex.lastIndex = t.length, this.settings.reportNonstrict("commentAtEnd", "% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")) : this.tokenRegex.lastIndex = a + 1, this.lex();
|
|
18773
18773
|
}
|
|
18774
|
-
return new
|
|
18774
|
+
return new qi(i, new fi(this, n, this.tokenRegex.lastIndex));
|
|
18775
18775
|
}
|
|
18776
18776
|
}
|
|
18777
18777
|
class rre {
|
|
@@ -19517,7 +19517,7 @@ class are {
|
|
|
19517
19517
|
start: n,
|
|
19518
19518
|
end: r
|
|
19519
19519
|
} = this.consumeArg());
|
|
19520
|
-
return this.pushToken(new
|
|
19520
|
+
return this.pushToken(new qi("EOF", r.loc)), this.pushTokens(i), n.range(r, "");
|
|
19521
19521
|
}
|
|
19522
19522
|
/**
|
|
19523
19523
|
* Consume all following space tokens, without expansion.
|
|
@@ -19659,7 +19659,7 @@ class are {
|
|
|
19659
19659
|
* tokens, or return `undefined` if no such macro is defined.
|
|
19660
19660
|
*/
|
|
19661
19661
|
expandMacro(t) {
|
|
19662
|
-
return this.macros.has(t) ? this.expandTokens([new
|
|
19662
|
+
return this.macros.has(t) ? this.expandTokens([new qi(t)]) : void 0;
|
|
19663
19663
|
}
|
|
19664
19664
|
/**
|
|
19665
19665
|
* Fully expand the given token stream and return the resulting list of
|
|
@@ -20277,7 +20277,7 @@ class Qy {
|
|
|
20277
20277
|
*/
|
|
20278
20278
|
subparse(t) {
|
|
20279
20279
|
var n = this.nextToken;
|
|
20280
|
-
this.consume(), this.gullet.pushToken(new
|
|
20280
|
+
this.consume(), this.gullet.pushToken(new qi("}")), this.gullet.pushTokens(t);
|
|
20281
20281
|
var r = this.parseExpression(!1);
|
|
20282
20282
|
return this.expect("}"), this.nextToken = n, r;
|
|
20283
20283
|
}
|
|
@@ -20419,11 +20419,11 @@ class Qy {
|
|
|
20419
20419
|
};
|
|
20420
20420
|
} else if (cm[a.text]) {
|
|
20421
20421
|
var u = aA.test(a.text), c = [];
|
|
20422
|
-
for (c.push(new
|
|
20422
|
+
for (c.push(new qi(cm[a.text])), this.consume(); ; ) {
|
|
20423
20423
|
var f = this.fetch().text;
|
|
20424
20424
|
if (!cm[f] || aA.test(f) !== u)
|
|
20425
20425
|
break;
|
|
20426
|
-
c.unshift(new
|
|
20426
|
+
c.unshift(new qi(cm[f])), this.consume();
|
|
20427
20427
|
}
|
|
20428
20428
|
var d = this.subparse(c);
|
|
20429
20429
|
u ? i = {
|
|
@@ -20810,7 +20810,7 @@ var m7 = function(t, n) {
|
|
|
20810
20810
|
type: "tag",
|
|
20811
20811
|
mode: "text",
|
|
20812
20812
|
body: i,
|
|
20813
|
-
tag: r.subparse([new
|
|
20813
|
+
tag: r.subparse([new qi("\\df@tag")])
|
|
20814
20814
|
}];
|
|
20815
20815
|
}
|
|
20816
20816
|
return i;
|
|
@@ -20831,7 +20831,7 @@ var ore = function(t, n) {
|
|
|
20831
20831
|
}, G$ = function(t, n, r) {
|
|
20832
20832
|
if (r.throwOnError || !(t instanceof de))
|
|
20833
20833
|
throw t;
|
|
20834
|
-
var i = Y.makeSpan(["katex-error"], [new
|
|
20834
|
+
var i = Y.makeSpan(["katex-error"], [new Wi(n)]);
|
|
20835
20835
|
return i.setAttribute("title", t.toString()), i.setAttribute("style", "color:" + r.errorColor), i;
|
|
20836
20836
|
}, g7 = function(t, n) {
|
|
20837
20837
|
var r = new Z6(n);
|
|
@@ -20852,7 +20852,7 @@ var ore = function(t, n) {
|
|
|
20852
20852
|
}, ure = "0.16.22", cre = {
|
|
20853
20853
|
Span: Jh,
|
|
20854
20854
|
Anchor: e7,
|
|
20855
|
-
SymbolNode:
|
|
20855
|
+
SymbolNode: Wi,
|
|
20856
20856
|
SvgNode: ds,
|
|
20857
20857
|
PathNode: pl,
|
|
20858
20858
|
LineNode: e3
|
|
@@ -32386,7 +32386,7 @@ function zie(e) {
|
|
|
32386
32386
|
]
|
|
32387
32387
|
};
|
|
32388
32388
|
for (const Ie of M.variants) {
|
|
32389
|
-
const _t = Ie.contains.find((
|
|
32389
|
+
const _t = Ie.contains.find((mr) => mr.label === "interpol");
|
|
32390
32390
|
_t.keywords = u;
|
|
32391
32391
|
const De = [
|
|
32392
32392
|
...c,
|
|
@@ -34556,8 +34556,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), A = $, W = U), q ===
|
|
|
34556
34556
|
ge += bt.substring(j, K.index);
|
|
34557
34557
|
const Ce = Je.case_insensitive ? K[0].toLowerCase() : K[0], Ve = V(De, Ce);
|
|
34558
34558
|
if (Ve) {
|
|
34559
|
-
const [Ht,
|
|
34560
|
-
if (Xt.addText(ge), ge = "", A[Ce] = (A[Ce] || 0) + 1, A[Ce] <= Lae && (Io +=
|
|
34559
|
+
const [Ht, Mi] = Ve;
|
|
34560
|
+
if (Xt.addText(ge), ge = "", A[Ce] = (A[Ce] || 0) + 1, A[Ce] <= Lae && (Io += Mi), Ht.startsWith("_"))
|
|
34561
34561
|
ge += K[0];
|
|
34562
34562
|
else {
|
|
34563
34563
|
const Pr = Je.classNameAliases[Ht] || Ht;
|
|
@@ -34577,7 +34577,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), A = $, W = U), q ===
|
|
|
34577
34577
|
Xt.addText(bt);
|
|
34578
34578
|
return;
|
|
34579
34579
|
}
|
|
34580
|
-
j = f(De.subLanguage, bt, !0,
|
|
34580
|
+
j = f(De.subLanguage, bt, !0, mr[De.subLanguage]), mr[De.subLanguage] = /** @type {CompiledMode} */
|
|
34581
34581
|
j._top;
|
|
34582
34582
|
} else
|
|
34583
34583
|
j = h(bt, De.subLanguage.length ? De.subLanguage : null);
|
|
@@ -34681,21 +34681,21 @@ https://github.com/highlightjs/highlight.js/issues/2277`), A = $, W = U), q ===
|
|
|
34681
34681
|
throw Su(a.replace("{}", $)), new Error('Unknown language: "' + $ + '"');
|
|
34682
34682
|
const Ie = Rae(Je);
|
|
34683
34683
|
let _t = "", De = W || Ie;
|
|
34684
|
-
const
|
|
34684
|
+
const mr = {}, Xt = new s.__emitter(s);
|
|
34685
34685
|
G();
|
|
34686
|
-
let bt = "", Io = 0,
|
|
34686
|
+
let bt = "", Io = 0, Ti = 0, Os = 0, Rs = !1;
|
|
34687
34687
|
try {
|
|
34688
34688
|
if (Je.__emitTokens)
|
|
34689
34689
|
Je.__emitTokens(U, Xt);
|
|
34690
34690
|
else {
|
|
34691
34691
|
for (De.matcher.considerAll(); ; ) {
|
|
34692
|
-
Os++, Rs ? Rs = !1 : De.matcher.considerAll(), De.matcher.lastIndex =
|
|
34692
|
+
Os++, Rs ? Rs = !1 : De.matcher.considerAll(), De.matcher.lastIndex = Ti;
|
|
34693
34693
|
const j = De.matcher.exec(U);
|
|
34694
34694
|
if (!j) break;
|
|
34695
|
-
const K = U.substring(
|
|
34696
|
-
|
|
34695
|
+
const K = U.substring(Ti, j.index), ge = We(K, j);
|
|
34696
|
+
Ti = j.index + ge;
|
|
34697
34697
|
}
|
|
34698
|
-
We(U.substring(
|
|
34698
|
+
We(U.substring(Ti));
|
|
34699
34699
|
}
|
|
34700
34700
|
return Xt.finalize(), _t = Xt.toHTML(), {
|
|
34701
34701
|
language: $,
|
|
@@ -34714,8 +34714,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), A = $, W = U), q ===
|
|
|
34714
34714
|
relevance: 0,
|
|
34715
34715
|
_illegalBy: {
|
|
34716
34716
|
message: j.message,
|
|
34717
|
-
index:
|
|
34718
|
-
context: U.slice(
|
|
34717
|
+
index: Ti,
|
|
34718
|
+
context: U.slice(Ti - 100, Ti + 100),
|
|
34719
34719
|
mode: j.mode,
|
|
34720
34720
|
resultSoFar: _t
|
|
34721
34721
|
},
|
|
@@ -35469,7 +35469,7 @@ function coe(e) {
|
|
|
35469
35469
|
});
|
|
35470
35470
|
};
|
|
35471
35471
|
}
|
|
35472
|
-
const foe = "_text_1ooxl_1", doe = "_md_container_1ooxl_11", hoe = "_content_1ooxl_31", poe = "_dot_1ooxl_42", moe = "_blink_1ooxl_1", goe = "_table_container_1ooxl_60",
|
|
35472
|
+
const foe = "_text_1ooxl_1", doe = "_md_container_1ooxl_11", hoe = "_content_1ooxl_31", poe = "_dot_1ooxl_42", moe = "_blink_1ooxl_1", goe = "_table_container_1ooxl_60", $i = {
|
|
35473
35473
|
text: foe,
|
|
35474
35474
|
md_container: doe,
|
|
35475
35475
|
"text--user": "_text--user_1ooxl_19",
|
|
@@ -35552,8 +35552,8 @@ function _oe(e) {
|
|
|
35552
35552
|
`) && e.trim().length > 0;
|
|
35553
35553
|
return r && s || l && s;
|
|
35554
35554
|
}
|
|
35555
|
-
const koe = ({ children: e, ...t }) => /* @__PURE__ */ Q("div", { className:
|
|
35556
|
-
const { defaultLinkTarget: r } = _7(), { botMessage: i } =
|
|
35555
|
+
const koe = ({ children: e, ...t }) => /* @__PURE__ */ Q("div", { className: $i.table_container, children: /* @__PURE__ */ Q("table", { ...t, children: e }) }), Soe = ({ children: e, className: t, ...n }) => /* @__PURE__ */ Q("code", { className: `hljs ${t || ""}`, ...n, children: e }), Aoe = ({ children: e, href: t, ...n }) => {
|
|
35556
|
+
const { defaultLinkTarget: r } = _7(), { botMessage: i } = pr(), a = Wt(
|
|
35557
35557
|
(o) => {
|
|
35558
35558
|
o.preventDefault(), t && DF(t, r || "_blank");
|
|
35559
35559
|
},
|
|
@@ -35644,7 +35644,7 @@ function OF(e, t = 100) {
|
|
|
35644
35644
|
}, t);
|
|
35645
35645
|
return () => clearTimeout(c);
|
|
35646
35646
|
}, [e, t, s, l]), {
|
|
35647
|
-
htmlBlocks: fn(() => /* @__PURE__ */ Q("div", { className:
|
|
35647
|
+
htmlBlocks: fn(() => /* @__PURE__ */ Q("div", { className: $i.md_container, children: n }), [n]),
|
|
35648
35648
|
lastTypingText: i
|
|
35649
35649
|
};
|
|
35650
35650
|
}
|
|
@@ -35811,7 +35811,7 @@ function MA(e) {
|
|
|
35811
35811
|
data: { annotations: r }
|
|
35812
35812
|
} = $F(), i = Wt(
|
|
35813
35813
|
function() {
|
|
35814
|
-
var f, d, h, p, m, g, y, b, v, w, E, _, S, N, M, T, O, z, P, I, R, $, U, q, W, A, V, X, F, ae, ie, be, Ne, Me, re, fe, Te, G, Ke, We, Je, Ie, _t, De,
|
|
35814
|
+
var f, d, h, p, m, g, y, b, v, w, E, _, S, N, M, T, O, z, P, I, R, $, U, q, W, A, V, X, F, ae, ie, be, Ne, Me, re, fe, Te, G, Ke, We, Je, Ie, _t, De, mr, Xt, bt, Io, Ti, Os, Rs, j, K, ge, Ce, Ve, Ht, Mi, Pr, $s, Fs, Xn, Lo, Ni, ek, tk, nk, rk, ik, ak, ok, sk, lk, uk, ck, fk, dk, hk, pk, mk, gk, yk, bk, vk, xk, wk, Ek, _k, kk;
|
|
35815
35815
|
const s = ((f = r == null ? void 0 : r.embedConfig) == null ? void 0 : f.theme) ?? {
|
|
35816
35816
|
chatbot: {},
|
|
35817
35817
|
botMessage: {},
|
|
@@ -35926,7 +35926,7 @@ function MA(e) {
|
|
|
35926
35926
|
}
|
|
35927
35927
|
}
|
|
35928
35928
|
}), u = n;
|
|
35929
|
-
if (((De = u.chatbot) == null ? void 0 : De.primaryComponent) || ((
|
|
35929
|
+
if (((De = u.chatbot) == null ? void 0 : De.primaryComponent) || ((mr = u.chatbot) == null ? void 0 : mr.backgroundColor) || u.botMessage || u.userMessage) {
|
|
35930
35930
|
const ZV = tf(u3, {
|
|
35931
35931
|
chatbot: {
|
|
35932
35932
|
backgroundColor: (Xt = u.chatbot) == null ? void 0 : Xt.backgroundColor,
|
|
@@ -35937,7 +35937,7 @@ function MA(e) {
|
|
|
35937
35937
|
},
|
|
35938
35938
|
title: {
|
|
35939
35939
|
style: {
|
|
35940
|
-
color: (Os = (
|
|
35940
|
+
color: (Os = (Ti = u.chatbot) == null ? void 0 : Ti.primaryComponent) == null ? void 0 : Os.secondaryColor
|
|
35941
35941
|
}
|
|
35942
35942
|
},
|
|
35943
35943
|
actionButton: {
|
|
@@ -35967,7 +35967,7 @@ function MA(e) {
|
|
|
35967
35967
|
},
|
|
35968
35968
|
submitButton: {
|
|
35969
35969
|
style: {
|
|
35970
|
-
color: (
|
|
35970
|
+
color: (Mi = (Ht = u.chatbot) == null ? void 0 : Ht.primaryComponent) == null ? void 0 : Mi.secondaryColor
|
|
35971
35971
|
}
|
|
35972
35972
|
},
|
|
35973
35973
|
speechInputButton: {
|
|
@@ -35981,7 +35981,7 @@ function MA(e) {
|
|
|
35981
35981
|
backgroundColor: (Fs = u.botMessage) == null ? void 0 : Fs.backgroundColor,
|
|
35982
35982
|
color: (Xn = u.botMessage) == null ? void 0 : Xn.color,
|
|
35983
35983
|
linkColor: (Lo = u.botMessage) != null && Lo.backgroundColor ? Ak(u.botMessage.backgroundColor, 0.2) : void 0,
|
|
35984
|
-
unsentBackgroundColor: (
|
|
35984
|
+
unsentBackgroundColor: (Ni = u.botMessage) != null && Ni.backgroundColor ? `color-mix(in srgb, ${u.botMessage.backgroundColor} 20%, transparent)` : void 0,
|
|
35985
35985
|
quickReplyBackgroundColor: (ek = u.botMessage) != null && ek.backgroundColor ? `color-mix(in srgb, ${u.botMessage.backgroundColor} 20%, transparent)` : void 0
|
|
35986
35986
|
},
|
|
35987
35987
|
userMessage: {
|
|
@@ -36047,7 +36047,7 @@ function MA(e) {
|
|
|
36047
36047
|
), a = fn(() => i(), [i]);
|
|
36048
36048
|
return /* @__PURE__ */ Q(FF.Provider, { value: a, children: t });
|
|
36049
36049
|
}
|
|
36050
|
-
function
|
|
36050
|
+
function pr() {
|
|
36051
36051
|
return zy(FF);
|
|
36052
36052
|
}
|
|
36053
36053
|
const IF = Ly({
|
|
@@ -36120,7 +36120,7 @@ function NA(e) {
|
|
|
36120
36120
|
serviceContext: w
|
|
36121
36121
|
})), /* @__PURE__ */ Q(IF.Provider, { value: w, children: n });
|
|
36122
36122
|
}
|
|
36123
|
-
function
|
|
36123
|
+
function Ci() {
|
|
36124
36124
|
return zy(IF);
|
|
36125
36125
|
}
|
|
36126
36126
|
function LF(e) {
|
|
@@ -36136,25 +36136,41 @@ function qt() {
|
|
|
36136
36136
|
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = LF(e)) && (r && (r += " "), r += t);
|
|
36137
36137
|
return r;
|
|
36138
36138
|
}
|
|
36139
|
-
const
|
|
36140
|
-
|
|
36141
|
-
|
|
36142
|
-
|
|
36143
|
-
|
|
36144
|
-
|
|
36145
|
-
|
|
36146
|
-
|
|
36147
|
-
|
|
36148
|
-
|
|
36149
|
-
|
|
36150
|
-
|
|
36151
|
-
|
|
36152
|
-
|
|
36153
|
-
|
|
36154
|
-
|
|
36155
|
-
|
|
36139
|
+
const Ooe = (e) => /* @__PURE__ */ ln.createElement("svg", { width: 33, height: 32, viewBox: "0 0 33 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ ln.createElement("g", { clipPath: "url(#clip0_3084_29383)" }, /* @__PURE__ */ ln.createElement("path", { d: "M0.410645 16C0.410645 7.16344 7.57409 0 16.4106 0C25.2472 0 32.4106 7.16344 32.4106 16C32.4106 24.8366 25.2472 32 16.4106 32C7.57409 32 0.410645 24.8366 0.410645 16Z", fill: "#333333" }), /* @__PURE__ */ ln.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M16.5788 6.33398C19.8925 6.33398 22.5788 9.02028 22.5788 12.334C22.5788 14.2211 21.7075 15.9048 20.3453 17.0047C23.6487 18.3735 26.0607 21.6974 26.4106 25.6673H24.4569C24.0206 21.6274 20.9742 18.4911 17.2591 18.3397L16.9776 18.334H16.5788H15.8437C12.0019 18.334 8.81164 21.5258 8.36437 25.6673H6.41064C6.76857 21.607 9.28344 18.2225 12.7029 16.9143C11.4036 15.8137 10.5788 14.1701 10.5788 12.334C10.5788 9.02028 13.265 6.33398 16.5788 6.33398ZM16.5788 16.334C18.7879 16.334 20.5788 14.5431 20.5788 12.334C20.5788 10.1248 18.7879 8.33398 16.5788 8.33398C14.3696 8.33398 12.5788 10.1248 12.5788 12.334C12.5788 14.5431 14.3696 16.334 16.5788 16.334Z", fill: "#8C8C8C" })), /* @__PURE__ */ ln.createElement("defs", null, /* @__PURE__ */ ln.createElement("clipPath", { id: "clip0_3084_29383" }, /* @__PURE__ */ ln.createElement("path", { d: "M0.410645 16C0.410645 7.16344 7.57409 0 16.4106 0C25.2472 0 32.4106 7.16344 32.4106 16C32.4106 24.8366 25.2472 32 16.4106 32C7.57409 32 0.410645 24.8366 0.410645 16Z", fill: "white" }))));
|
|
36140
|
+
function zF(e) {
|
|
36141
|
+
const { avatar: t } = e;
|
|
36142
|
+
return t ? /* @__PURE__ */ Q(
|
|
36143
|
+
"img",
|
|
36144
|
+
{
|
|
36145
|
+
src: t,
|
|
36146
|
+
alt: "avatar",
|
|
36147
|
+
style: {
|
|
36148
|
+
width: 33,
|
|
36149
|
+
height: 32,
|
|
36150
|
+
borderRadius: "50%"
|
|
36151
|
+
}
|
|
36152
|
+
}
|
|
36153
|
+
) : /* @__PURE__ */ Q(Ooe, {});
|
|
36154
|
+
}
|
|
36155
|
+
const Roe = "_container_8s5aq_1", $oe = "_header_8s5aq_9", Foe = "_icon_8s5aq_17", Ioe = "_title_8s5aq_22", Loe = "_form_8s5aq_29", zoe = "_label_8s5aq_36", Boe = "_inputWrapper_8s5aq_43", Poe = "_input_8s5aq_43", Uoe = "_error_8s5aq_69", qoe = "_disabled_8s5aq_73", Hoe = "_toggleButton_8s5aq_78", joe = "_toggleIcon_8s5aq_103", Woe = "_errorMessage_8s5aq_108", Goe = "_submitButton_8s5aq_114", Voe = "_loading_8s5aq_139", Yoe = "_spin_8s5aq_1", yr = {
|
|
36156
|
+
container: Roe,
|
|
36157
|
+
header: $oe,
|
|
36158
|
+
icon: Foe,
|
|
36159
|
+
title: Ioe,
|
|
36160
|
+
form: Loe,
|
|
36161
|
+
label: zoe,
|
|
36162
|
+
inputWrapper: Boe,
|
|
36163
|
+
input: Poe,
|
|
36164
|
+
error: Uoe,
|
|
36165
|
+
disabled: qoe,
|
|
36166
|
+
toggleButton: Hoe,
|
|
36167
|
+
toggleIcon: joe,
|
|
36168
|
+
errorMessage: Woe,
|
|
36169
|
+
submitButton: Goe,
|
|
36170
|
+
loading: Voe,
|
|
36171
|
+
spin: Yoe
|
|
36156
36172
|
};
|
|
36157
|
-
function
|
|
36173
|
+
function Xoe({
|
|
36158
36174
|
onSubmit: e,
|
|
36159
36175
|
loading: t = !1,
|
|
36160
36176
|
error: n,
|
|
@@ -36163,40 +36179,40 @@ function Yoe({
|
|
|
36163
36179
|
showToggle: a = !0,
|
|
36164
36180
|
className: o
|
|
36165
36181
|
}) {
|
|
36166
|
-
const [s, l] = gn(""), [u, c] = gn(!1), { chatbot: f } =
|
|
36167
|
-
|
|
36168
|
-
},
|
|
36169
|
-
l(
|
|
36170
|
-
},
|
|
36182
|
+
const [s, l] = gn(""), [u, c] = gn(!1), { chatbot: f } = pr(), { avatar: d } = Ci(), h = (g) => {
|
|
36183
|
+
g.preventDefault(), s.trim() && !t && e(s.trim());
|
|
36184
|
+
}, p = (g) => {
|
|
36185
|
+
l(g.target.value);
|
|
36186
|
+
}, m = () => {
|
|
36171
36187
|
c(!u);
|
|
36172
36188
|
};
|
|
36173
36189
|
return /* @__PURE__ */ ot(
|
|
36174
36190
|
"div",
|
|
36175
36191
|
{
|
|
36176
|
-
className: qt(
|
|
36192
|
+
className: qt(yr.container, o),
|
|
36177
36193
|
style: {
|
|
36178
36194
|
backgroundColor: f.backgroundColor,
|
|
36179
36195
|
borderColor: f.borderColor
|
|
36180
36196
|
},
|
|
36181
36197
|
children: [
|
|
36182
|
-
/* @__PURE__ */ ot("div", { className:
|
|
36183
|
-
/* @__PURE__ */ Q(zF, {
|
|
36184
|
-
/* @__PURE__ */ Q("h2", { className:
|
|
36198
|
+
/* @__PURE__ */ ot("div", { className: yr.header, children: [
|
|
36199
|
+
/* @__PURE__ */ Q(zF, { avatar: d }),
|
|
36200
|
+
/* @__PURE__ */ Q("h2", { className: yr.title, children: i })
|
|
36185
36201
|
] }),
|
|
36186
|
-
/* @__PURE__ */ ot("form", { onSubmit:
|
|
36187
|
-
/* @__PURE__ */ ot("div", { className:
|
|
36188
|
-
/* @__PURE__ */ Q("label", { className:
|
|
36189
|
-
/* @__PURE__ */ ot("div", { className:
|
|
36202
|
+
/* @__PURE__ */ ot("form", { onSubmit: h, className: yr.form, children: [
|
|
36203
|
+
/* @__PURE__ */ ot("div", { className: yr.inputGroup, children: [
|
|
36204
|
+
/* @__PURE__ */ Q("label", { className: yr.label, children: "Key" }),
|
|
36205
|
+
/* @__PURE__ */ ot("div", { className: yr.inputWrapper, children: [
|
|
36190
36206
|
/* @__PURE__ */ Q(
|
|
36191
36207
|
"input",
|
|
36192
36208
|
{
|
|
36193
36209
|
type: u ? "text" : "password",
|
|
36194
36210
|
value: s,
|
|
36195
|
-
onChange:
|
|
36211
|
+
onChange: p,
|
|
36196
36212
|
placeholder: r,
|
|
36197
|
-
className: qt(
|
|
36198
|
-
[
|
|
36199
|
-
[
|
|
36213
|
+
className: qt(yr.input, {
|
|
36214
|
+
[yr.error]: n,
|
|
36215
|
+
[yr.disabled]: t
|
|
36200
36216
|
}),
|
|
36201
36217
|
disabled: t,
|
|
36202
36218
|
autoComplete: "off"
|
|
@@ -36206,14 +36222,14 @@ function Yoe({
|
|
|
36206
36222
|
"button",
|
|
36207
36223
|
{
|
|
36208
36224
|
type: "button",
|
|
36209
|
-
onClick:
|
|
36210
|
-
className:
|
|
36225
|
+
onClick: m,
|
|
36226
|
+
className: yr.toggleButton,
|
|
36211
36227
|
disabled: t,
|
|
36212
36228
|
"aria-label": u ? "Hide password" : "Show password",
|
|
36213
36229
|
children: /* @__PURE__ */ Q(
|
|
36214
36230
|
"svg",
|
|
36215
36231
|
{
|
|
36216
|
-
className:
|
|
36232
|
+
className: yr.toggleIcon,
|
|
36217
36233
|
width: "16",
|
|
36218
36234
|
height: "16",
|
|
36219
36235
|
viewBox: "0 0 24 24",
|
|
@@ -36234,15 +36250,15 @@ function Yoe({
|
|
|
36234
36250
|
}
|
|
36235
36251
|
)
|
|
36236
36252
|
] }),
|
|
36237
|
-
n && /* @__PURE__ */ Q("div", { className:
|
|
36253
|
+
n && /* @__PURE__ */ Q("div", { className: yr.errorMessage, children: n })
|
|
36238
36254
|
] }),
|
|
36239
36255
|
/* @__PURE__ */ Q(
|
|
36240
36256
|
"button",
|
|
36241
36257
|
{
|
|
36242
36258
|
type: "submit",
|
|
36243
36259
|
disabled: !s.trim() || t,
|
|
36244
|
-
className: qt(
|
|
36245
|
-
[
|
|
36260
|
+
className: qt(yr.submitButton, {
|
|
36261
|
+
[yr.loading]: t
|
|
36246
36262
|
}),
|
|
36247
36263
|
children: t ? "Loading..." : "Continue"
|
|
36248
36264
|
}
|
|
@@ -36252,28 +36268,12 @@ function Yoe({
|
|
|
36252
36268
|
}
|
|
36253
36269
|
);
|
|
36254
36270
|
}
|
|
36255
|
-
const
|
|
36256
|
-
chatbot_header:
|
|
36257
|
-
chatbot_header__content:
|
|
36258
|
-
chatbot_header__title:
|
|
36259
|
-
chatbot_header__extra:
|
|
36260
|
-
};
|
|
36261
|
-
function Joe(e) {
|
|
36262
|
-
const { avatar: t } = e;
|
|
36263
|
-
return t ? /* @__PURE__ */ Q(
|
|
36264
|
-
"img",
|
|
36265
|
-
{
|
|
36266
|
-
src: t,
|
|
36267
|
-
alt: "avatar",
|
|
36268
|
-
style: {
|
|
36269
|
-
width: 33,
|
|
36270
|
-
height: 32,
|
|
36271
|
-
borderRadius: "50%"
|
|
36272
|
-
}
|
|
36273
|
-
}
|
|
36274
|
-
) : /* @__PURE__ */ Q(zF, {});
|
|
36275
|
-
}
|
|
36276
|
-
const ese = (e) => /* @__PURE__ */ ln.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ ln.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.49453 2.3352C6.44049 -0.226723 10.9105 -0.106316 13.7142 2.69633C16.6428 5.62613 16.6428 10.3739 13.7144 13.3035C10.7846 16.2322 6.03581 16.2322 3.1073 13.3036C2.30873 12.505 1.71132 11.5536 1.34188 10.5109L1.78892 10.3525L1.34171 10.5106L1.22791 10.162C1.01752 9.46018 0.910643 8.73159 0.910643 7.9997H2.4542L2.46382 8.33865C2.49584 8.9024 2.60763 9.46037 2.79674 9.99539L2.7968 9.99536L2.90116 10.2683C3.19714 10.9887 3.63414 11.6475 4.19876 12.2121C6.52451 14.5379 10.2961 14.5379 12.6229 12.212C14.9486 9.88539 14.9486 6.11464 12.6227 3.78781C10.3306 1.49653 6.63579 1.46263 4.30292 3.68622L6.68087 3.68698V5.22954H3.49394H1.95141V3.68698V0.5H3.49394L3.49453 2.3352Z", fill: "currentColor" })), BF = (e) => /* @__PURE__ */ ln.createElement("svg", { width: 15, height: 14, viewBox: "0 0 15 14", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ ln.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.3496 0L7.41062 5.938L1.47162 0L0.411621 1.06L6.34962 6.999L0.411621 12.938L1.47162 13.999L7.41062 8.059L13.3496 13.999L14.4096 12.938L8.47162 6.999L14.4096 1.06L13.3496 0Z", fill: "currentColor" }));
|
|
36271
|
+
const Koe = "_chatbot_header_luxt4_1", Zoe = "_chatbot_header__content_luxt4_4", Qoe = "_chatbot_header__title_luxt4_12", Joe = "_chatbot_header__extra_luxt4_23", ym = {
|
|
36272
|
+
chatbot_header: Koe,
|
|
36273
|
+
chatbot_header__content: Zoe,
|
|
36274
|
+
chatbot_header__title: Qoe,
|
|
36275
|
+
chatbot_header__extra: Joe
|
|
36276
|
+
}, ese = (e) => /* @__PURE__ */ ln.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ ln.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.49453 2.3352C6.44049 -0.226723 10.9105 -0.106316 13.7142 2.69633C16.6428 5.62613 16.6428 10.3739 13.7144 13.3035C10.7846 16.2322 6.03581 16.2322 3.1073 13.3036C2.30873 12.505 1.71132 11.5536 1.34188 10.5109L1.78892 10.3525L1.34171 10.5106L1.22791 10.162C1.01752 9.46018 0.910643 8.73159 0.910643 7.9997H2.4542L2.46382 8.33865C2.49584 8.9024 2.60763 9.46037 2.79674 9.99539L2.7968 9.99536L2.90116 10.2683C3.19714 10.9887 3.63414 11.6475 4.19876 12.2121C6.52451 14.5379 10.2961 14.5379 12.6229 12.212C14.9486 9.88539 14.9486 6.11464 12.6227 3.78781C10.3306 1.49653 6.63579 1.46263 4.30292 3.68622L6.68087 3.68698V5.22954H3.49394H1.95141V3.68698V0.5H3.49394L3.49453 2.3352Z", fill: "currentColor" })), BF = (e) => /* @__PURE__ */ ln.createElement("svg", { width: 15, height: 14, viewBox: "0 0 15 14", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ ln.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.3496 0L7.41062 5.938L1.47162 0L0.411621 1.06L6.34962 6.999L0.411621 12.938L1.47162 13.999L7.41062 8.059L13.3496 13.999L14.4096 12.938L8.47162 6.999L14.4096 1.06L13.3496 0Z", fill: "currentColor" }));
|
|
36277
36277
|
function DA(e) {
|
|
36278
36278
|
var m, g, y, b, v, w;
|
|
36279
36279
|
const {
|
|
@@ -36282,9 +36282,9 @@ function DA(e) {
|
|
|
36282
36282
|
onClose: r,
|
|
36283
36283
|
customActions: i,
|
|
36284
36284
|
maintainConnectionWhenClosed: a
|
|
36285
|
-
} = e, { chatbot: o } =
|
|
36285
|
+
} = e, { chatbot: o } = pr(), {
|
|
36286
36286
|
data: { annotations: s }
|
|
36287
|
-
} = $F(), { avatar: l, isResetting: u, resetChannel: c, closeChannel: f } =
|
|
36287
|
+
} = $F(), { avatar: l, isResetting: u, resetChannel: c, closeChannel: f } = Ci(), d = fn(
|
|
36288
36288
|
() => ({
|
|
36289
36289
|
maxWidth: (o == null ? void 0 : o.contentMaxWidth) ?? "1200px",
|
|
36290
36290
|
borderBottomColor: o == null ? void 0 : o.borderColor
|
|
@@ -36308,7 +36308,7 @@ function DA(e) {
|
|
|
36308
36308
|
style: (m = o == null ? void 0 : o.header) == null ? void 0 : m.style,
|
|
36309
36309
|
children: /* @__PURE__ */ ot("div", { className: ym.chatbot_header__content, style: d, children: [
|
|
36310
36310
|
/* @__PURE__ */ ot("div", { className: ym.chatbot_header__title, children: [
|
|
36311
|
-
/* @__PURE__ */ Q(
|
|
36311
|
+
/* @__PURE__ */ Q(zF, { avatar: l }),
|
|
36312
36312
|
/* @__PURE__ */ Q("h4", { style: (y = (g = o == null ? void 0 : o.header) == null ? void 0 : g.title) == null ? void 0 : y.style, children: ((b = s == null ? void 0 : s.embedConfig) == null ? void 0 : b.title) || t || "Bot" })
|
|
36313
36313
|
] }),
|
|
36314
36314
|
/* @__PURE__ */ ot(
|
|
@@ -36369,7 +36369,7 @@ const ise = "_template_box_content_fs2wk_1", ase = "_content_fs2wk_8", RA = {
|
|
|
36369
36369
|
};
|
|
36370
36370
|
function lse(e) {
|
|
36371
36371
|
var s;
|
|
36372
|
-
const { quickReplies: t } = e, { template: n, botMessage: r } =
|
|
36372
|
+
const { quickReplies: t } = e, { template: n, botMessage: r } = pr(), { sendMessage: i, isConnecting: a } = Ci(), o = Wt(
|
|
36373
36373
|
(l) => i == null ? void 0 : i({ text: l }),
|
|
36374
36374
|
[i]
|
|
36375
36375
|
);
|
|
@@ -36411,7 +36411,7 @@ const use = "_time_rgg92_1", cse = {
|
|
|
36411
36411
|
};
|
|
36412
36412
|
function e2(e) {
|
|
36413
36413
|
var a, o;
|
|
36414
|
-
const { time: t, className: n } = e, { template: r } =
|
|
36414
|
+
const { time: t, className: n } = e, { template: r } = pr(), i = fn(
|
|
36415
36415
|
() => {
|
|
36416
36416
|
var s, l;
|
|
36417
36417
|
return {
|
|
@@ -36469,7 +36469,7 @@ const fse = "_bot_avatar_xrs9x_1", FA = {
|
|
|
36469
36469
|
};
|
|
36470
36470
|
function PF(e) {
|
|
36471
36471
|
var u;
|
|
36472
|
-
const { template: t, customStyle: n } = e, { sendMessage: r } =
|
|
36472
|
+
const { template: t, customStyle: n } = e, { sendMessage: r } = Ci(), { onTemplateBtnClick: i, defaultLinkTarget: a } = _7(), o = fn(() => {
|
|
36473
36473
|
var c;
|
|
36474
36474
|
return ((c = t == null ? void 0 : t.thumbnailImageUrl) == null ? void 0 : c.replace(/^http:/, "").replace(/^https:/, "")) || "https://via.assets.so/img.jpg?w=200&h=270&tc=white&bg=#eeeeee";
|
|
36475
36475
|
}, [t]), s = fn(() => {
|
|
@@ -36550,7 +36550,7 @@ function PF(e) {
|
|
|
36550
36550
|
}
|
|
36551
36551
|
function bse(e) {
|
|
36552
36552
|
var a, o, s;
|
|
36553
|
-
const { message: t } = e, { template: n } =
|
|
36553
|
+
const { message: t } = e, { template: n } = pr(), { avatar: r } = Ci(), i = t.message.template;
|
|
36554
36554
|
return /* @__PURE__ */ ot(
|
|
36555
36555
|
Lu,
|
|
36556
36556
|
{
|
|
@@ -36584,7 +36584,7 @@ function bse(e) {
|
|
|
36584
36584
|
}
|
|
36585
36585
|
function IA(e) {
|
|
36586
36586
|
var u, c, f, d;
|
|
36587
|
-
const { message: t } = e, { avatar: n } =
|
|
36587
|
+
const { message: t } = e, { avatar: n } = Ci(), r = pr(), { botMessage: i } = r, { htmlBlocks: a, lastTypingText: o } = OF(
|
|
36588
36588
|
((u = t == null ? void 0 : t.message) == null ? void 0 : u.text) || "",
|
|
36589
36589
|
20
|
|
36590
36590
|
), s = (f = (c = r == null ? void 0 : r.template) == null ? void 0 : c.TextMessageTemplate) == null ? void 0 : f.style, l = fn(() => {
|
|
@@ -36618,7 +36618,7 @@ function IA(e) {
|
|
|
36618
36618
|
/* @__PURE__ */ Q(
|
|
36619
36619
|
"div",
|
|
36620
36620
|
{
|
|
36621
|
-
className: qt(
|
|
36621
|
+
className: qt($i.text, $i["text--user"]),
|
|
36622
36622
|
style: l,
|
|
36623
36623
|
children: t.text
|
|
36624
36624
|
}
|
|
@@ -36643,7 +36643,7 @@ function IA(e) {
|
|
|
36643
36643
|
children: /* @__PURE__ */ ot(
|
|
36644
36644
|
"div",
|
|
36645
36645
|
{
|
|
36646
|
-
className: qt(
|
|
36646
|
+
className: qt($i.text, $i["text--bot"]),
|
|
36647
36647
|
style: l,
|
|
36648
36648
|
children: [
|
|
36649
36649
|
a,
|
|
@@ -36658,7 +36658,7 @@ function IA(e) {
|
|
|
36658
36658
|
);
|
|
36659
36659
|
}
|
|
36660
36660
|
function UF(e) {
|
|
36661
|
-
const { isTyping: t, typingText: n } = e, { messageBoxBottomRef: r, avatar: i } =
|
|
36661
|
+
const { isTyping: t, typingText: n } = e, { messageBoxBottomRef: r, avatar: i } = Ci(), a = pr(), o = so(null), s = Wt(() => {
|
|
36662
36662
|
var h;
|
|
36663
36663
|
(h = r.current) == null || h.scrollIntoView({ behavior: "smooth" });
|
|
36664
36664
|
}, [r]);
|
|
@@ -36696,15 +36696,15 @@ function UF(e) {
|
|
|
36696
36696
|
"div",
|
|
36697
36697
|
{
|
|
36698
36698
|
ref: o,
|
|
36699
|
-
className: qt(
|
|
36699
|
+
className: qt($i.text, $i["text--bot"]),
|
|
36700
36700
|
style: f,
|
|
36701
36701
|
children: /* @__PURE__ */ ot("span", { children: [
|
|
36702
36702
|
u,
|
|
36703
36703
|
c ?? "",
|
|
36704
|
-
l && /* @__PURE__ */ ot("span", { className:
|
|
36705
|
-
/* @__PURE__ */ Q("div", { className:
|
|
36706
|
-
/* @__PURE__ */ Q("div", { className:
|
|
36707
|
-
/* @__PURE__ */ Q("div", { className:
|
|
36704
|
+
l && /* @__PURE__ */ ot("span", { className: $i["typing-indicator"], children: [
|
|
36705
|
+
/* @__PURE__ */ Q("div", { className: $i.dot, style: d }),
|
|
36706
|
+
/* @__PURE__ */ Q("div", { className: $i.dot, style: d }),
|
|
36707
|
+
/* @__PURE__ */ Q("div", { className: $i.dot, style: d })
|
|
36708
36708
|
] })
|
|
36709
36709
|
] })
|
|
36710
36710
|
}
|
|
@@ -36714,7 +36714,7 @@ function UF(e) {
|
|
|
36714
36714
|
) : null;
|
|
36715
36715
|
}
|
|
36716
36716
|
function vse(e) {
|
|
36717
|
-
const { placeholder: t } = e, { isConnecting: n, messages: r } =
|
|
36717
|
+
const { placeholder: t } = e, { isConnecting: n, messages: r } = Ci(), i = fn(
|
|
36718
36718
|
() => Array.from((r == null ? void 0 : r.values()) ?? []).some(
|
|
36719
36719
|
(a) => a.type === "bot" && a.isTyping
|
|
36720
36720
|
),
|
|
@@ -36728,7 +36728,7 @@ const xse = "_carousel_root_sv1hc_1", wse = "_carousel_time_sv1hc_12", LA = {
|
|
|
36728
36728
|
};
|
|
36729
36729
|
function Ese(e) {
|
|
36730
36730
|
var a, o;
|
|
36731
|
-
const { message: t } = e, { template: n } =
|
|
36731
|
+
const { message: t } = e, { template: n } = pr(), { avatar: r } = Ci(), i = t.message.template;
|
|
36732
36732
|
return /* @__PURE__ */ ot(
|
|
36733
36733
|
Lu,
|
|
36734
36734
|
{
|
|
@@ -36764,7 +36764,7 @@ const _se = "_hint_root_1hmle_1", kse = "_hint_root__error_1hmle_14", Sse = "_er
|
|
|
36764
36764
|
};
|
|
36765
36765
|
function zA(e) {
|
|
36766
36766
|
var s, l;
|
|
36767
|
-
const { message: t } = e, { template: n } =
|
|
36767
|
+
const { message: t } = e, { template: n } = pr(), { onErrorClick: r, errorMessageRenderer: i } = _7(), a = Wt(() => {
|
|
36768
36768
|
r == null || r(t);
|
|
36769
36769
|
}, [t, r]);
|
|
36770
36770
|
if (t.type === "user") return null;
|
|
@@ -38759,7 +38759,7 @@ function oi(e, t, n) {
|
|
|
38759
38759
|
function on(e) {
|
|
38760
38760
|
return e == null ? null : e.fname;
|
|
38761
38761
|
}
|
|
38762
|
-
function
|
|
38762
|
+
function ar(e) {
|
|
38763
38763
|
return e == null ? null : e.fields;
|
|
38764
38764
|
}
|
|
38765
38765
|
function tI(e) {
|
|
@@ -38797,11 +38797,11 @@ function Eo(e) {
|
|
|
38797
38797
|
}
|
|
38798
38798
|
return i && te("Access path missing closing bracket: " + e), r && te("Access path missing closing quote: " + e), s > o && (s++, u()), t;
|
|
38799
38799
|
}
|
|
38800
|
-
function
|
|
38800
|
+
function Vi(e, t, n) {
|
|
38801
38801
|
const r = Eo(e);
|
|
38802
38802
|
return e = r.length === 1 ? r[0] : e, oi((n && n.get || tI)(r), [e], t || e);
|
|
38803
38803
|
}
|
|
38804
|
-
const np =
|
|
38804
|
+
const np = Vi("id"), fr = oi((e) => e, [], "identity"), Ys = oi(() => 0, [], "zero"), p0 = oi(() => 1, [], "one"), Yi = oi(() => !0, [], "true"), Ps = oi(() => !1, [], "false");
|
|
38805
38805
|
function Yce(e, t, n) {
|
|
38806
38806
|
const r = [t].concat([].slice.call(n));
|
|
38807
38807
|
console[e].apply(console, r);
|
|
@@ -38869,7 +38869,7 @@ function Xce(e, t) {
|
|
|
38869
38869
|
function ct(e) {
|
|
38870
38870
|
return e[e.length - 1];
|
|
38871
38871
|
}
|
|
38872
|
-
function
|
|
38872
|
+
function rr(e) {
|
|
38873
38873
|
return e == null || e === "" ? null : +e;
|
|
38874
38874
|
}
|
|
38875
38875
|
const aI = (e) => (t) => e * Math.exp(t), oI = (e) => (t) => Math.log(e * t), sI = (e) => (t) => Math.sign(t) * Math.log1p(Math.abs(t / e)), lI = (e) => (t) => Math.sign(t) * Math.expm1(Math.abs(t)) * e, og = (e) => (t) => t < 0 ? -Math.pow(-t, e) : Math.pow(t, e);
|
|
@@ -38878,7 +38878,7 @@ function s2(e, t, n, r) {
|
|
|
38878
38878
|
return [r(i - o), r(a - o)];
|
|
38879
38879
|
}
|
|
38880
38880
|
function uI(e, t) {
|
|
38881
|
-
return s2(e, t,
|
|
38881
|
+
return s2(e, t, rr, fr);
|
|
38882
38882
|
}
|
|
38883
38883
|
function cI(e, t) {
|
|
38884
38884
|
var n = Math.sign(e[0]);
|
|
@@ -38895,7 +38895,7 @@ function l2(e, t, n, r, i) {
|
|
|
38895
38895
|
return [i(s + (a - s) * n), i(s + (o - s) * n)];
|
|
38896
38896
|
}
|
|
38897
38897
|
function z7(e, t, n) {
|
|
38898
|
-
return l2(e, t, n,
|
|
38898
|
+
return l2(e, t, n, rr, fr);
|
|
38899
38899
|
}
|
|
38900
38900
|
function B7(e, t, n) {
|
|
38901
38901
|
const r = Math.sign(e[0]);
|
|
@@ -38928,7 +38928,7 @@ function U7(e, t, n) {
|
|
|
38928
38928
|
n = n || {}, t = we(t) || [];
|
|
38929
38929
|
const r = [], i = [], a = {}, o = n.comparator || Zce;
|
|
38930
38930
|
return we(e).forEach((s, l) => {
|
|
38931
|
-
s != null && (r.push(t[l] === Kce ? -1 : 1), i.push(s = Qe(s) ? s :
|
|
38931
|
+
s != null && (r.push(t[l] === Kce ? -1 : 1), i.push(s = Qe(s) ? s : Vi(s, null, n)), (ar(s) || []).forEach((u) => a[u] = 1));
|
|
38932
38932
|
}), i.length === 0 ? null : oi(o(i, r), Object.keys(a));
|
|
38933
38933
|
}
|
|
38934
38934
|
const rp = (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), Zce = (e, t) => e.length === 1 ? Qce(e[0], t[0]) : Jce(e, t, e.length), Qce = (e, t) => function(n, r) {
|
|
@@ -38939,7 +38939,7 @@ const rp = (e, t) => (e < t || e == null) && t != null ? -1 : (e > t || t == nul
|
|
|
38939
38939
|
a = e[s], o = rp(a(r), a(i));
|
|
38940
38940
|
return o * t[s];
|
|
38941
38941
|
});
|
|
38942
|
-
function
|
|
38942
|
+
function dr(e) {
|
|
38943
38943
|
return Qe(e) ? e : () => e;
|
|
38944
38944
|
}
|
|
38945
38945
|
function q7(e, t) {
|
|
@@ -39954,7 +39954,7 @@ Af.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ?
|
|
|
39954
39954
|
t.setTime(+t + n * e);
|
|
39955
39955
|
}, (t, n) => (n - t) / e) : Af);
|
|
39956
39956
|
Af.range;
|
|
39957
|
-
const Ko = 1e3,
|
|
39957
|
+
const Ko = 1e3, zi = Ko * 60, Zo = zi * 60, ms = Zo * 24, K7 = ms * 7, AC = ms * 30, pv = ms * 365, Qo = Sn((e) => {
|
|
39958
39958
|
e.setTime(e - e.getMilliseconds());
|
|
39959
39959
|
}, (e, t) => {
|
|
39960
39960
|
e.setTime(+e + t * Ko);
|
|
@@ -39963,17 +39963,17 @@ Qo.range;
|
|
|
39963
39963
|
const c2 = Sn((e) => {
|
|
39964
39964
|
e.setTime(e - e.getMilliseconds() - e.getSeconds() * Ko);
|
|
39965
39965
|
}, (e, t) => {
|
|
39966
|
-
e.setTime(+e + t *
|
|
39967
|
-
}, (e, t) => (t - e) /
|
|
39966
|
+
e.setTime(+e + t * zi);
|
|
39967
|
+
}, (e, t) => (t - e) / zi, (e) => e.getMinutes());
|
|
39968
39968
|
c2.range;
|
|
39969
39969
|
const f2 = Sn((e) => {
|
|
39970
39970
|
e.setUTCSeconds(0, 0);
|
|
39971
39971
|
}, (e, t) => {
|
|
39972
|
-
e.setTime(+e + t *
|
|
39973
|
-
}, (e, t) => (t - e) /
|
|
39972
|
+
e.setTime(+e + t * zi);
|
|
39973
|
+
}, (e, t) => (t - e) / zi, (e) => e.getUTCMinutes());
|
|
39974
39974
|
f2.range;
|
|
39975
39975
|
const d2 = Sn((e) => {
|
|
39976
|
-
e.setTime(e - e.getMilliseconds() - e.getSeconds() * Ko - e.getMinutes() *
|
|
39976
|
+
e.setTime(e - e.getMilliseconds() - e.getSeconds() * Ko - e.getMinutes() * zi);
|
|
39977
39977
|
}, (e, t) => {
|
|
39978
39978
|
e.setTime(+e + t * Zo);
|
|
39979
39979
|
}, (e, t) => (t - e) / Zo, (e) => e.getHours());
|
|
@@ -39987,7 +39987,7 @@ h2.range;
|
|
|
39987
39987
|
const as = Sn(
|
|
39988
39988
|
(e) => e.setHours(0, 0, 0, 0),
|
|
39989
39989
|
(e, t) => e.setDate(e.getDate() + t),
|
|
39990
|
-
(e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) *
|
|
39990
|
+
(e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * zi) / ms,
|
|
39991
39991
|
(e) => e.getDate() - 1
|
|
39992
39992
|
);
|
|
39993
39993
|
as.range;
|
|
@@ -40008,7 +40008,7 @@ function dc(e) {
|
|
|
40008
40008
|
t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
|
|
40009
40009
|
}, (t, n) => {
|
|
40010
40010
|
t.setDate(t.getDate() + n * 7);
|
|
40011
|
-
}, (t, n) => (n - t - (n.getTimezoneOffset() - t.getTimezoneOffset()) *
|
|
40011
|
+
}, (t, n) => (n - t - (n.getTimezoneOffset() - t.getTimezoneOffset()) * zi) / K7);
|
|
40012
40012
|
}
|
|
40013
40013
|
const v0 = dc(0), fg = dc(1), Lfe = dc(2), zfe = dc(3), Cf = dc(4), Bfe = dc(5), Pfe = dc(6);
|
|
40014
40014
|
v0.range;
|
|
@@ -40073,10 +40073,10 @@ function HI(e, t, n, r, i, a) {
|
|
|
40073
40073
|
[Qo, 5, 5 * Ko],
|
|
40074
40074
|
[Qo, 15, 15 * Ko],
|
|
40075
40075
|
[Qo, 30, 30 * Ko],
|
|
40076
|
-
[a, 1,
|
|
40077
|
-
[a, 5, 5 *
|
|
40078
|
-
[a, 15, 15 *
|
|
40079
|
-
[a, 30, 30 *
|
|
40076
|
+
[a, 1, zi],
|
|
40077
|
+
[a, 5, 5 * zi],
|
|
40078
|
+
[a, 15, 15 * zi],
|
|
40079
|
+
[a, 30, 30 * zi],
|
|
40080
40080
|
[i, 1, Zo],
|
|
40081
40081
|
[i, 3, 3 * Zo],
|
|
40082
40082
|
[i, 6, 6 * Zo],
|
|
@@ -40103,27 +40103,27 @@ function HI(e, t, n, r, i, a) {
|
|
|
40103
40103
|
}
|
|
40104
40104
|
return [s, l];
|
|
40105
40105
|
}
|
|
40106
|
-
const [Wfe, Gfe] = HI(co, yh, x0, qI, h2, f2), [Vfe, Yfe] = HI(uo, gh, v0, as, d2, c2), Wn = "year", Qr = "quarter",
|
|
40106
|
+
const [Wfe, Gfe] = HI(co, yh, x0, qI, h2, f2), [Vfe, Yfe] = HI(uo, gh, v0, as, d2, c2), Wn = "year", Qr = "quarter", or = "month", wn = "week", Jr = "date", tr = "day", fo = "dayofyear", Ei = "hours", _i = "minutes", Xi = "seconds", wa = "milliseconds", Z7 = [Wn, Qr, or, wn, Jr, tr, fo, Ei, _i, Xi, wa], mv = Z7.reduce((e, t, n) => (e[t] = 1 + n, e), {});
|
|
40107
40107
|
function Q7(e) {
|
|
40108
40108
|
const t = we(e).slice(), n = {};
|
|
40109
40109
|
return t.length || te("Missing time unit."), t.forEach((i) => {
|
|
40110
40110
|
Se(mv, i) ? n[i] = 1 : te(`Invalid time unit: ${i}.`);
|
|
40111
|
-
}), (n[wn] || n[
|
|
40111
|
+
}), (n[wn] || n[tr] ? 1 : 0) + (n[Qr] || n[or] || n[Jr] ? 1 : 0) + (n[fo] ? 1 : 0) > 1 && te(`Incompatible time units: ${e}`), t.sort((i, a) => mv[i] - mv[a]), t;
|
|
40112
40112
|
}
|
|
40113
40113
|
const Xfe = {
|
|
40114
40114
|
[Wn]: "%Y ",
|
|
40115
40115
|
[Qr]: "Q%q ",
|
|
40116
|
-
[
|
|
40116
|
+
[or]: "%b ",
|
|
40117
40117
|
[Jr]: "%d ",
|
|
40118
40118
|
[wn]: "W%U ",
|
|
40119
|
-
[
|
|
40119
|
+
[tr]: "%a ",
|
|
40120
40120
|
[fo]: "%j ",
|
|
40121
40121
|
[Ei]: "%H:00",
|
|
40122
40122
|
[_i]: "00:%M",
|
|
40123
|
-
[
|
|
40123
|
+
[Xi]: ":%S",
|
|
40124
40124
|
[wa]: ".%L",
|
|
40125
|
-
[`${Wn}-${
|
|
40126
|
-
[`${Wn}-${
|
|
40125
|
+
[`${Wn}-${or}`]: "%Y-%m ",
|
|
40126
|
+
[`${Wn}-${or}-${Jr}`]: "%Y-%m-%d ",
|
|
40127
40127
|
[`${Ei}-${_i}`]: "%H:%M"
|
|
40128
40128
|
};
|
|
40129
40129
|
function jI(e, t) {
|
|
@@ -40188,7 +40188,7 @@ function Zfe(e, t, n, r, i, a, o) {
|
|
|
40188
40188
|
return new Date(Date.UTC(e, t, n, r, i, a, o));
|
|
40189
40189
|
}
|
|
40190
40190
|
function ZI(e, t, n, r, i) {
|
|
40191
|
-
const a = t || 1, o = ct(e), s = (y, b, v) => (v = v || y, Qfe(n[v], r[v], y === o && a, b)), l = /* @__PURE__ */ new Date(), u = xa(e), c = u[Wn] ? s(Wn) :
|
|
40191
|
+
const a = t || 1, o = ct(e), s = (y, b, v) => (v = v || y, Qfe(n[v], r[v], y === o && a, b)), l = /* @__PURE__ */ new Date(), u = xa(e), c = u[Wn] ? s(Wn) : dr(2012), f = u[or] ? s(or) : u[Qr] ? s(Qr) : Ys, d = u[wn] && u[tr] ? s(tr, 1, wn + tr) : u[wn] ? s(wn, 1) : u[tr] ? s(tr, 1) : u[Jr] ? s(Jr, 1) : u[fo] ? s(fo, 1) : p0, h = u[Ei] ? s(Ei) : Ys, p = u[_i] ? s(_i) : Ys, m = u[Xi] ? s(Xi) : Ys, g = u[wa] ? s(wa) : Ys;
|
|
40192
40192
|
return function(y) {
|
|
40193
40193
|
l.setTime(+y);
|
|
40194
40194
|
const b = c(l);
|
|
@@ -40205,16 +40205,16 @@ function Mf(e, t, n) {
|
|
|
40205
40205
|
const Jfe = {
|
|
40206
40206
|
[Wn]: (e) => e.getFullYear(),
|
|
40207
40207
|
[Qr]: (e) => Math.floor(e.getMonth() / 3),
|
|
40208
|
-
[
|
|
40208
|
+
[or]: (e) => e.getMonth(),
|
|
40209
40209
|
[Jr]: (e) => e.getDate(),
|
|
40210
40210
|
[Ei]: (e) => e.getHours(),
|
|
40211
40211
|
[_i]: (e) => e.getMinutes(),
|
|
40212
|
-
[
|
|
40212
|
+
[Xi]: (e) => e.getSeconds(),
|
|
40213
40213
|
[wa]: (e) => e.getMilliseconds(),
|
|
40214
40214
|
[fo]: (e) => VI(e),
|
|
40215
40215
|
[wn]: (e) => k3(e),
|
|
40216
|
-
[wn +
|
|
40217
|
-
[
|
|
40216
|
+
[wn + tr]: (e, t) => Mf(k3(e), e.getDay(), S3(t)),
|
|
40217
|
+
[tr]: (e, t) => Mf(1, e.getDay(), S3(t))
|
|
40218
40218
|
}, e0e = {
|
|
40219
40219
|
[Qr]: (e) => 3 * e,
|
|
40220
40220
|
[wn]: (e, t) => Mf(e, 0, S3(t))
|
|
@@ -40225,16 +40225,16 @@ function QI(e, t) {
|
|
|
40225
40225
|
const t0e = {
|
|
40226
40226
|
[Wn]: (e) => e.getUTCFullYear(),
|
|
40227
40227
|
[Qr]: (e) => Math.floor(e.getUTCMonth() / 3),
|
|
40228
|
-
[
|
|
40228
|
+
[or]: (e) => e.getUTCMonth(),
|
|
40229
40229
|
[Jr]: (e) => e.getUTCDate(),
|
|
40230
40230
|
[Ei]: (e) => e.getUTCHours(),
|
|
40231
40231
|
[_i]: (e) => e.getUTCMinutes(),
|
|
40232
|
-
[
|
|
40232
|
+
[Xi]: (e) => e.getUTCSeconds(),
|
|
40233
40233
|
[wa]: (e) => e.getUTCMilliseconds(),
|
|
40234
40234
|
[fo]: (e) => KI(e),
|
|
40235
40235
|
[wn]: (e) => A3(e),
|
|
40236
|
-
[
|
|
40237
|
-
[wn +
|
|
40236
|
+
[tr]: (e, t) => Mf(1, e.getUTCDay(), C3(t)),
|
|
40237
|
+
[wn + tr]: (e, t) => Mf(A3(e), e.getUTCDay(), C3(t))
|
|
40238
40238
|
}, n0e = {
|
|
40239
40239
|
[Qr]: (e) => 3 * e,
|
|
40240
40240
|
[wn]: (e, t) => Mf(e, 0, C3(t))
|
|
@@ -40245,26 +40245,26 @@ function JI(e, t) {
|
|
|
40245
40245
|
const r0e = {
|
|
40246
40246
|
[Wn]: uo,
|
|
40247
40247
|
[Qr]: gh.every(3),
|
|
40248
|
-
[
|
|
40248
|
+
[or]: gh,
|
|
40249
40249
|
[wn]: v0,
|
|
40250
40250
|
[Jr]: as,
|
|
40251
|
-
[
|
|
40251
|
+
[tr]: as,
|
|
40252
40252
|
[fo]: as,
|
|
40253
40253
|
[Ei]: d2,
|
|
40254
40254
|
[_i]: c2,
|
|
40255
|
-
[
|
|
40255
|
+
[Xi]: Qo,
|
|
40256
40256
|
[wa]: Af
|
|
40257
40257
|
}, i0e = {
|
|
40258
40258
|
[Wn]: co,
|
|
40259
40259
|
[Qr]: yh.every(3),
|
|
40260
|
-
[
|
|
40260
|
+
[or]: yh,
|
|
40261
40261
|
[wn]: x0,
|
|
40262
40262
|
[Jr]: ll,
|
|
40263
|
-
[
|
|
40263
|
+
[tr]: ll,
|
|
40264
40264
|
[fo]: ll,
|
|
40265
40265
|
[Ei]: h2,
|
|
40266
40266
|
[_i]: f2,
|
|
40267
|
-
[
|
|
40267
|
+
[Xi]: Qo,
|
|
40268
40268
|
[wa]: Af
|
|
40269
40269
|
};
|
|
40270
40270
|
function w0(e) {
|
|
@@ -40291,7 +40291,7 @@ function iL(e, t, n, r) {
|
|
|
40291
40291
|
function aL(e, t, n, r) {
|
|
40292
40292
|
return rL(E0(e), t, n, r);
|
|
40293
40293
|
}
|
|
40294
|
-
const yd = 1e3, bd = yd * 60, vd = bd * 60, p2 = vd * 24, a0e = p2 * 7, CC = p2 * 30, T3 = p2 * 365, oL = [Wn,
|
|
40294
|
+
const yd = 1e3, bd = yd * 60, vd = bd * 60, p2 = vd * 24, a0e = p2 * 7, CC = p2 * 30, T3 = p2 * 365, oL = [Wn, or, Jr, Ei, _i, Xi, wa], xd = oL.slice(0, -1), wd = xd.slice(0, -1), Ed = wd.slice(0, -1), o0e = Ed.slice(0, -1), s0e = [Wn, wn], TC = [Wn, or], sL = [Wn], G0 = [[xd, 1, yd], [xd, 5, 5 * yd], [xd, 15, 15 * yd], [xd, 30, 30 * yd], [wd, 1, bd], [wd, 5, 5 * bd], [wd, 15, 15 * bd], [wd, 30, 30 * bd], [Ed, 1, vd], [Ed, 3, 3 * vd], [Ed, 6, 6 * vd], [Ed, 12, 12 * vd], [o0e, 1, p2], [s0e, 1, a0e], [TC, 1, CC], [TC, 3, 3 * CC], [sL, 1, T3]];
|
|
40295
40295
|
function lL(e) {
|
|
40296
40296
|
const t = e.extent, n = e.maxbins || 40, r = Math.abs(ip(t)) / n;
|
|
40297
40297
|
let i = b0((s) => s[2]).right(G0, r), a, o;
|
|
@@ -40876,7 +40876,7 @@ function hg(e) {
|
|
|
40876
40876
|
}
|
|
40877
40877
|
function BC(e, t, n) {
|
|
40878
40878
|
n = n || {}, Ee(n) || te(`Invalid time multi-format specifier: ${n}`);
|
|
40879
|
-
const r = t(
|
|
40879
|
+
const r = t(Xi), i = t(_i), a = t(Ei), o = t(Jr), s = t(wn), l = t(or), u = t(Qr), c = t(Wn), f = e(n[wa] || ".%L"), d = e(n[Xi] || ":%S"), h = e(n[_i] || "%I:%M"), p = e(n[Ei] || "%I %p"), m = e(n[Jr] || n[tr] || "%a %d"), g = e(n[wn] || "%b %d"), y = e(n[or] || "%B"), b = e(n[Qr] || "%B"), v = e(n[Wn] || "%Y");
|
|
40880
40880
|
return (w) => (r(w) < w ? f : i(w) < w ? d : a(w) < w ? h : o(w) < w ? p : l(w) < w ? s(w) < w ? m : g : c(w) < w ? u(w) < w ? y : b : v)(w);
|
|
40881
40881
|
}
|
|
40882
40882
|
function vL(e) {
|
|
@@ -40965,11 +40965,11 @@ async function xde() {
|
|
|
40965
40965
|
}
|
|
40966
40966
|
const wde = (e) => e != null && e === e, Ede = (e) => e === "true" || e === "false" || e === !0 || e === !1, _de = (e) => !Number.isNaN(Date.parse(e)), _L = (e) => !Number.isNaN(+e) && !(e instanceof Date), kde = (e) => _L(e) && Number.isInteger(+e), O3 = {
|
|
40967
40967
|
boolean: W7,
|
|
40968
|
-
integer:
|
|
40969
|
-
number:
|
|
40968
|
+
integer: rr,
|
|
40969
|
+
number: rr,
|
|
40970
40970
|
date: G7,
|
|
40971
40971
|
string: V7,
|
|
40972
|
-
unknown:
|
|
40972
|
+
unknown: fr
|
|
40973
40973
|
}, Cm = [Ede, kde, _L, _de], Sde = ["boolean", "integer", "number", "date"];
|
|
40974
40974
|
function kL(e, t) {
|
|
40975
40975
|
if (!e || !e.length) return "unknown";
|
|
@@ -41001,7 +41001,7 @@ function Ade(e) {
|
|
|
41001
41001
|
return typeof Buffer == "function" && Qe(Buffer.isBuffer) ? Buffer.isBuffer(e) : !1;
|
|
41002
41002
|
}
|
|
41003
41003
|
function iw(e, t) {
|
|
41004
|
-
const n = t && t.property ?
|
|
41004
|
+
const n = t && t.property ? Vi(t.property) : fr;
|
|
41005
41005
|
return Ee(e) && !Ade(e) ? Cde(n(e), t) : n(JSON.parse(e));
|
|
41006
41006
|
}
|
|
41007
41007
|
iw.responseType = "json";
|
|
@@ -41062,7 +41062,7 @@ const m2 = pde(
|
|
|
41062
41062
|
// no file system access
|
|
41063
41063
|
);
|
|
41064
41064
|
function g2(e) {
|
|
41065
|
-
const t = e ||
|
|
41065
|
+
const t = e || fr, n = [], r = {};
|
|
41066
41066
|
return n.add = (i) => {
|
|
41067
41067
|
const a = t(i);
|
|
41068
41068
|
return r[a] || (r[a] = 1, n.push(i)), n;
|
|
@@ -41134,7 +41134,7 @@ function mc() {
|
|
|
41134
41134
|
modify(s, l, u) {
|
|
41135
41135
|
const c = {
|
|
41136
41136
|
field: l,
|
|
41137
|
-
value:
|
|
41137
|
+
value: dr(u)
|
|
41138
41138
|
};
|
|
41139
41139
|
return Qe(s) ? (c.filter = s, i.push(c)) : (c.tuple = s, n.push(c)), this;
|
|
41140
41140
|
},
|
|
@@ -41413,8 +41413,8 @@ function Us(e, t, n) {
|
|
|
41413
41413
|
return new x2(e, t, n);
|
|
41414
41414
|
}
|
|
41415
41415
|
x2.prototype = {
|
|
41416
|
-
_filter:
|
|
41417
|
-
_apply:
|
|
41416
|
+
_filter: Yi,
|
|
41417
|
+
_apply: fr,
|
|
41418
41418
|
targets() {
|
|
41419
41419
|
return this._targets || (this._targets = g2(np));
|
|
41420
41420
|
},
|
|
@@ -41462,7 +41462,7 @@ x2.prototype = {
|
|
|
41462
41462
|
return e.targets().add(Us(null, null, () => n = !0)), t.targets().add(Us(null, null, () => n = !1)), this.filter(() => n);
|
|
41463
41463
|
},
|
|
41464
41464
|
detach() {
|
|
41465
|
-
this._filter =
|
|
41465
|
+
this._filter = Yi, this._targets = null;
|
|
41466
41466
|
}
|
|
41467
41467
|
};
|
|
41468
41468
|
function Bde(e, t, n, r) {
|
|
@@ -41515,7 +41515,7 @@ async function Hde(e, t, n) {
|
|
|
41515
41515
|
const r = this, i = r._pending || jde(r);
|
|
41516
41516
|
i.requests += 1;
|
|
41517
41517
|
const a = await r.request(t, n);
|
|
41518
|
-
return r.pulse(e, r.changeset().remove(
|
|
41518
|
+
return r.pulse(e, r.changeset().remove(Yi).insert(a.data || [])), i.done(), a;
|
|
41519
41519
|
}
|
|
41520
41520
|
function jde(e) {
|
|
41521
41521
|
let t;
|
|
@@ -41533,7 +41533,7 @@ function Gde(e, t, n, r, i) {
|
|
|
41533
41533
|
function Vde(e, t, n, r, i, a) {
|
|
41534
41534
|
const o = Ze({}, a, Wde);
|
|
41535
41535
|
let s, l;
|
|
41536
|
-
Qe(n) || (n =
|
|
41536
|
+
Qe(n) || (n = dr(n)), r === void 0 ? s = (u) => e.touch(n(u)) : Qe(r) ? (l = new Rt(null, r, i, !1), s = (u) => {
|
|
41537
41537
|
l.evaluate(u);
|
|
41538
41538
|
const c = n(u), f = l.value;
|
|
41539
41539
|
OL(f) ? e.pulse(c, f, a) : e.update(c, f, o);
|
|
@@ -41548,7 +41548,7 @@ function Yde(e, t, n, r, i, a) {
|
|
|
41548
41548
|
}
|
|
41549
41549
|
}
|
|
41550
41550
|
function Xde(e, t) {
|
|
41551
|
-
return t = Qe(t) ? t :
|
|
41551
|
+
return t = Qe(t) ? t : dr(t), e ? function(n, r) {
|
|
41552
41552
|
const i = t(n, r);
|
|
41553
41553
|
return e.skip() || (e.skip(i !== this.value).value = i), i;
|
|
41554
41554
|
} : t;
|
|
@@ -42184,9 +42184,9 @@ function zL(e) {
|
|
|
42184
42184
|
step: s
|
|
42185
42185
|
};
|
|
42186
42186
|
}
|
|
42187
|
-
var
|
|
42187
|
+
var Ki = Math.random;
|
|
42188
42188
|
function fhe(e) {
|
|
42189
|
-
|
|
42189
|
+
Ki = e;
|
|
42190
42190
|
}
|
|
42191
42191
|
function BL(e, t, n, r) {
|
|
42192
42192
|
if (!e.length) return [void 0, void 0];
|
|
@@ -42194,7 +42194,7 @@ function BL(e, t, n, r) {
|
|
|
42194
42194
|
let s, l, u, c;
|
|
42195
42195
|
for (u = 0, c = Array(o); u < o; ++u) {
|
|
42196
42196
|
for (s = 0, l = 0; l < a; ++l)
|
|
42197
|
-
s += i[~~(
|
|
42197
|
+
s += i[~~(Ki() * a)];
|
|
42198
42198
|
c[u] = s / a;
|
|
42199
42199
|
}
|
|
42200
42200
|
return c.sort(is), [_3(c, n / 2), _3(c, 1 - n / 2)];
|
|
@@ -42243,7 +42243,7 @@ function phe(e, t) {
|
|
|
42243
42243
|
return arguments.length ? (r = o || 0, i = r - n, a) : r;
|
|
42244
42244
|
},
|
|
42245
42245
|
sample() {
|
|
42246
|
-
return n + Math.floor(i *
|
|
42246
|
+
return n + Math.floor(i * Ki());
|
|
42247
42247
|
},
|
|
42248
42248
|
pdf(o) {
|
|
42249
42249
|
return o === Math.floor(o) && o >= n && o < r ? 1 / i : 0;
|
|
@@ -42267,7 +42267,7 @@ function w2(e, t) {
|
|
|
42267
42267
|
n = Q0, Q0 = NaN;
|
|
42268
42268
|
else {
|
|
42269
42269
|
do
|
|
42270
|
-
n =
|
|
42270
|
+
n = Ki() * 2 - 1, r = Ki() * 2 - 1, i = n * n + r * r;
|
|
42271
42271
|
while (i === 0 || i > 1);
|
|
42272
42272
|
a = Math.sqrt(-2 * Math.log(i) / i), n *= a, Q0 = r * a;
|
|
42273
42273
|
}
|
|
@@ -42325,7 +42325,7 @@ function pw(e, t) {
|
|
|
42325
42325
|
return arguments.length ? (t = a, !t && e && (t = fw(e)), i) : t;
|
|
42326
42326
|
},
|
|
42327
42327
|
sample() {
|
|
42328
|
-
return e[~~(
|
|
42328
|
+
return e[~~(Ki() * r)] + t * n.sample();
|
|
42329
42329
|
},
|
|
42330
42330
|
pdf(a) {
|
|
42331
42331
|
let o = 0, s = 0;
|
|
@@ -42395,7 +42395,7 @@ function HL(e, t) {
|
|
|
42395
42395
|
return arguments.length ? (o ? (n = o.length, e = o) : (n = 0, e = []), a.weights(t)) : e;
|
|
42396
42396
|
},
|
|
42397
42397
|
sample() {
|
|
42398
|
-
const o =
|
|
42398
|
+
const o = Ki();
|
|
42399
42399
|
let s = e[n - 1], l = r[0], u = 0;
|
|
42400
42400
|
for (; u < n - 1; l += r[++u])
|
|
42401
42401
|
if (o < l) {
|
|
@@ -42423,7 +42423,7 @@ function HL(e, t) {
|
|
|
42423
42423
|
return a.distributions(e).weights(t);
|
|
42424
42424
|
}
|
|
42425
42425
|
function vw(e, t) {
|
|
42426
|
-
return t == null && (t = e ?? 1, e = 0), e + (t - e) *
|
|
42426
|
+
return t == null && (t = e ?? 1, e = 0), e + (t - e) * Ki();
|
|
42427
42427
|
}
|
|
42428
42428
|
function xw(e, t, n) {
|
|
42429
42429
|
return n == null && (n = t ?? 1, t = 0), e >= t && e <= n ? 1 / (n - t) : 0;
|
|
@@ -42917,14 +42917,14 @@ function Ohe(e) {
|
|
|
42917
42917
|
return this._out.forEach((t) => e[t.out] = t.value(this)), e;
|
|
42918
42918
|
}
|
|
42919
42919
|
function JL(e, t) {
|
|
42920
|
-
const n = t ||
|
|
42920
|
+
const n = t || fr, r = The(e), i = e.slice().sort(QL);
|
|
42921
42921
|
function a(o) {
|
|
42922
42922
|
this._ops = r, this._out = i, this.cell = o, this.init();
|
|
42923
42923
|
}
|
|
42924
42924
|
return a.prototype.init = Mhe, a.prototype.add = Nhe, a.prototype.rem = Dhe, a.prototype.set = Ohe, a.prototype.get = n, a.fields = e.map((o) => o.out), a;
|
|
42925
42925
|
}
|
|
42926
42926
|
function Aw(e) {
|
|
42927
|
-
this._key = e ?
|
|
42927
|
+
this._key = e ? Vi(e) : ze, this.reset();
|
|
42928
42928
|
}
|
|
42929
42929
|
const Yn = Aw.prototype;
|
|
42930
42930
|
Yn.reset = function() {
|
|
@@ -43067,7 +43067,7 @@ ye(bl, Z, {
|
|
|
43067
43067
|
init(e) {
|
|
43068
43068
|
const t = this._inputs = [], n = this._outputs = [], r = {};
|
|
43069
43069
|
function i(b) {
|
|
43070
|
-
const v = we(
|
|
43070
|
+
const v = we(ar(b)), w = v.length;
|
|
43071
43071
|
let E = 0, _;
|
|
43072
43072
|
for (; E < w; ++E)
|
|
43073
43073
|
r[_ = v[E]] || (r[_] = 1, t.push(_));
|
|
@@ -43234,7 +43234,7 @@ ye(Cw, Z, {
|
|
|
43234
43234
|
transform(e, t) {
|
|
43235
43235
|
const n = e.interval !== !1, r = this._bins(e), i = r.start, a = r.step, o = e.as || ["bin0", "bin1"], s = o[0], l = o[1];
|
|
43236
43236
|
let u;
|
|
43237
|
-
return e.modified() ? (t = t.reflow(!0), u = t.SOURCE) : u = t.modified(
|
|
43237
|
+
return e.modified() ? (t = t.reflow(!0), u = t.SOURCE) : u = t.modified(ar(e.field)) ? t.ADD_MOD : t.ADD, t.visit(u, n ? (c) => {
|
|
43238
43238
|
const f = r(c);
|
|
43239
43239
|
c[s] = f, c[l] = f == null ? null : i + a * (1 + (f - i) / a);
|
|
43240
43240
|
} : (c) => c[s] = r(c)), t.modifies(n ? o : s);
|
|
@@ -43246,10 +43246,10 @@ ye(Cw, Z, {
|
|
|
43246
43246
|
let i = n.start, a = i + Math.ceil((n.stop - i) / r) * r, o, s;
|
|
43247
43247
|
(o = e.anchor) != null && (s = o - (i + r * Math.floor((o - i) / r)), i += s, a += s);
|
|
43248
43248
|
const l = function(u) {
|
|
43249
|
-
let c =
|
|
43249
|
+
let c = rr(t(u));
|
|
43250
43250
|
return c == null ? null : c < i ? -1 / 0 : c > a ? 1 / 0 : (c = Math.max(i, Math.min(c, a - r)), i + r * Math.floor(Rhe + (c - i) / r));
|
|
43251
43251
|
};
|
|
43252
|
-
return l.start = i, l.stop = n.stop, l.step = r, this.value = oi(l,
|
|
43252
|
+
return l.start = i, l.stop = n.stop, l.step = r, this.value = oi(l, ar(t), e.name || "bin_" + on(t));
|
|
43253
43253
|
}
|
|
43254
43254
|
});
|
|
43255
43255
|
function ez(e, t, n) {
|
|
@@ -43376,7 +43376,7 @@ ye(Nw, Z, {
|
|
|
43376
43376
|
transform(e, t) {
|
|
43377
43377
|
const n = t.fork(t.NO_SOURCE), r = e.as || ["a", "b"], i = r[0], a = r[1], o = !this.value || t.changed(t.ADD_REM) || e.modified("as") || e.modified("filter");
|
|
43378
43378
|
let s = this.value;
|
|
43379
|
-
return o ? (s && (n.rem = s), s = t.materialize(t.SOURCE).source, n.add = this.value = Ihe(s, i, a, e.filter ||
|
|
43379
|
+
return o ? (s && (n.rem = s), s = t.materialize(t.SOURCE).source, n.add = this.value = Ihe(s, i, a, e.filter || Yi)) : n.mod = s, n.source = this.value, n.modifies(r);
|
|
43380
43380
|
}
|
|
43381
43381
|
});
|
|
43382
43382
|
function Ihe(e, t, n, r) {
|
|
@@ -43577,7 +43577,7 @@ ye(Rw, Z, {
|
|
|
43577
43577
|
transform(e, t) {
|
|
43578
43578
|
if (this.value && !(e.modified() || t.changed()))
|
|
43579
43579
|
return t;
|
|
43580
|
-
const n = t.materialize(t.SOURCE).source, r = Ow(t.source, e.groupby,
|
|
43580
|
+
const n = t.materialize(t.SOURCE).source, r = Ow(t.source, e.groupby, fr), i = e.smooth || !1, a = e.field, o = e.step || Uhe(n, a), s = pc((p, m) => a(p) - a(m)), l = e.as || az, u = r.length;
|
|
43581
43581
|
let c = 1 / 0, f = -1 / 0, d = 0, h;
|
|
43582
43582
|
for (; d < u; ++d) {
|
|
43583
43583
|
const p = r[d].sort(s);
|
|
@@ -43598,7 +43598,7 @@ function oz(e) {
|
|
|
43598
43598
|
ye(oz, Rt);
|
|
43599
43599
|
function qhe(e) {
|
|
43600
43600
|
const t = e.expr;
|
|
43601
|
-
return this.value && !e.modified("expr") ? this.value : oi((n) => t(n, e),
|
|
43601
|
+
return this.value && !e.modified("expr") ? this.value : oi((n) => t(n, e), ar(t), on(t));
|
|
43602
43602
|
}
|
|
43603
43603
|
function $w(e) {
|
|
43604
43604
|
Z.call(this, [void 0, void 0], e);
|
|
@@ -43617,7 +43617,7 @@ ye($w, Z, {
|
|
|
43617
43617
|
const n = this.value, r = e.field, i = t.changed() || t.modified(r.fields) || e.modified("field");
|
|
43618
43618
|
let a = n[0], o = n[1];
|
|
43619
43619
|
if ((i || a == null) && (a = 1 / 0, o = -1 / 0), t.visit(i ? t.SOURCE : t.ADD, (s) => {
|
|
43620
|
-
const l =
|
|
43620
|
+
const l = rr(r(s));
|
|
43621
43621
|
l != null && (l < a && (a = l), l > o && (o = l));
|
|
43622
43622
|
}), !Number.isFinite(a) || !Number.isFinite(o)) {
|
|
43623
43623
|
let s = on(r);
|
|
@@ -43741,7 +43741,7 @@ function sz(e) {
|
|
|
43741
43741
|
}
|
|
43742
43742
|
ye(sz, Rt);
|
|
43743
43743
|
function Hhe(e) {
|
|
43744
|
-
return this.value && !e.modified() ? this.value : ne(e.name) ? we(e.name).map((t) =>
|
|
43744
|
+
return this.value && !e.modified() ? this.value : ne(e.name) ? we(e.name).map((t) => Vi(t)) : Vi(e.name, e.as);
|
|
43745
43745
|
}
|
|
43746
43746
|
function Iw(e) {
|
|
43747
43747
|
Z.call(this, y0(), e);
|
|
@@ -44226,7 +44226,7 @@ ye(jw, bl, {
|
|
|
44226
44226
|
}
|
|
44227
44227
|
});
|
|
44228
44228
|
function Qhe(e, t) {
|
|
44229
|
-
const n = e.field, r = e.value, i = (e.op === "count" ? "__count__" : e.op) || "sum", a =
|
|
44229
|
+
const n = e.field, r = e.value, i = (e.op === "count" ? "__count__" : e.op) || "sum", a = ar(n).concat(ar(r)), o = epe(n, e.limit || 0, t);
|
|
44230
44230
|
return t.changed() && e.set("__pivot__", null, null, !0), {
|
|
44231
44231
|
key: e.key,
|
|
44232
44232
|
groupby: e.groupby,
|
|
@@ -44252,7 +44252,7 @@ function pz(e) {
|
|
|
44252
44252
|
ye(pz, A2, {
|
|
44253
44253
|
transform(e, t) {
|
|
44254
44254
|
const n = e.subflow, r = e.field, i = (a) => this.subflow(ze(a), n, t, a);
|
|
44255
|
-
return (e.modified("field") || r && t.modified(
|
|
44255
|
+
return (e.modified("field") || r && t.modified(ar(r))) && te("PreFacet does not support field modification."), this.initTargets(), r ? (t.visit(t.MOD, (a) => {
|
|
44256
44256
|
const o = i(a);
|
|
44257
44257
|
r(a).forEach((s) => o.mod(s));
|
|
44258
44258
|
}), t.visit(t.ADD, (a) => {
|
|
@@ -44400,7 +44400,7 @@ ye(Vw, Z, {
|
|
|
44400
44400
|
let o = this.value, s = this.count, l = 0;
|
|
44401
44401
|
function u(c) {
|
|
44402
44402
|
let f, d;
|
|
44403
|
-
o.length < i ? o.push(c) : (d = ~~((s + 1) *
|
|
44403
|
+
o.length < i ? o.push(c) : (d = ~~((s + 1) * Ki()), d < o.length && d >= l && (f = o[d], a[ze(f)] && n.rem.push(f), o[d] = c)), ++s;
|
|
44404
44404
|
}
|
|
44405
44405
|
if (t.rem.length && (t.visit(t.REM, (c) => {
|
|
44406
44406
|
const f = ze(c);
|
|
@@ -44514,7 +44514,7 @@ ye(Xw, Z, {
|
|
|
44514
44514
|
transform(e, t) {
|
|
44515
44515
|
const n = e.field, r = e.interval !== !1, i = e.timezone === "utc", a = this._floor(e, t), o = (i ? E0 : w0)(a.unit).offset, s = e.as || bz, l = s[0], u = s[1], c = a.step;
|
|
44516
44516
|
let f = a.start || 1 / 0, d = a.stop || -1 / 0, h = t.ADD;
|
|
44517
|
-
return (e.modified() || t.changed(t.REM) || t.modified(
|
|
44517
|
+
return (e.modified() || t.changed(t.REM) || t.modified(ar(n))) && (t = t.reflow(!0), h = t.SOURCE, f = 1 / 0, d = -1 / 0), t.visit(h, (p) => {
|
|
44518
44518
|
const m = n(p);
|
|
44519
44519
|
let g, y;
|
|
44520
44520
|
m == null ? (p[l] = null, r && (p[u] = null)) : (p[l] = g = y = a(m), r && (p[u] = y = o(g, c)), g < f && (f = g), y > d && (d = y));
|
|
@@ -44682,7 +44682,7 @@ function wz(e) {
|
|
|
44682
44682
|
const t = we(e.ops), n = we(e.fields), r = we(e.params), i = we(e.aggregate_params), a = we(e.as), o = this.outputs = [], s = this.windows = [], l = {}, u = {}, c = [], f = [];
|
|
44683
44683
|
let d = !0;
|
|
44684
44684
|
function h(p) {
|
|
44685
|
-
we(
|
|
44685
|
+
we(ar(p)).forEach((m) => l[m] = 1);
|
|
44686
44686
|
}
|
|
44687
44687
|
h(e.sort), t.forEach((p, m) => {
|
|
44688
44688
|
const g = n[m], y = r[m], b = i[m] || null, v = on(g), w = KL(p, v, a[m]);
|
|
@@ -44822,7 +44822,7 @@ function spe(e, t, n, r) {
|
|
|
44822
44822
|
p1: 0,
|
|
44823
44823
|
index: 0,
|
|
44824
44824
|
data: s,
|
|
44825
|
-
compare: i ||
|
|
44825
|
+
compare: i || dr(-1)
|
|
44826
44826
|
};
|
|
44827
44827
|
t.init();
|
|
44828
44828
|
for (let f = 0; f < l; ++f)
|
|
@@ -44883,7 +44883,7 @@ function Et(e) {
|
|
|
44883
44883
|
return e;
|
|
44884
44884
|
};
|
|
44885
44885
|
}
|
|
44886
|
-
const QC = Math.abs,
|
|
44886
|
+
const QC = Math.abs, Kn = Math.atan2, Jl = Math.cos, fpe = Math.max, wv = Math.min, za = Math.sin, xu = Math.sqrt, Qn = 1e-12, Df = Math.PI, mg = Df / 2, _z = 2 * Df;
|
|
44887
44887
|
function dpe(e) {
|
|
44888
44888
|
return e > 1 ? 0 : e < -1 ? Df : Math.acos(e);
|
|
44889
44889
|
}
|
|
@@ -44986,7 +44986,7 @@ function vpe(e) {
|
|
|
44986
44986
|
}
|
|
44987
44987
|
function xpe(e, t, n, r, i, a, o, s) {
|
|
44988
44988
|
var l = n - e, u = r - t, c = o - i, f = s - a, d = f * l - c * u;
|
|
44989
|
-
if (!(d * d <
|
|
44989
|
+
if (!(d * d < Qn))
|
|
44990
44990
|
return d = (c * (t - a) - f * (e - i)) / d, [e + d * l, t + d * u];
|
|
44991
44991
|
}
|
|
44992
44992
|
function Nm(e, t, n, r, i, a, o) {
|
|
@@ -45004,17 +45004,17 @@ function wpe() {
|
|
|
45004
45004
|
var e = mpe, t = gpe, n = Et(0), r = null, i = ype, a = bpe, o = vpe, s = null, l = T2(u);
|
|
45005
45005
|
function u() {
|
|
45006
45006
|
var c, f, d = +e.apply(this, arguments), h = +t.apply(this, arguments), p = i.apply(this, arguments) - mg, m = a.apply(this, arguments) - mg, g = QC(m - p), y = m > p;
|
|
45007
|
-
if (s || (s = c = l()), h < d && (f = h, h = d, d = f), !(h >
|
|
45008
|
-
else if (g > _z -
|
|
45009
|
-
s.moveTo(h * Jl(p), h * za(p)), s.arc(0, 0, h, p, m, !y), d >
|
|
45007
|
+
if (s || (s = c = l()), h < d && (f = h, h = d, d = f), !(h > Qn)) s.moveTo(0, 0);
|
|
45008
|
+
else if (g > _z - Qn)
|
|
45009
|
+
s.moveTo(h * Jl(p), h * za(p)), s.arc(0, 0, h, p, m, !y), d > Qn && (s.moveTo(d * Jl(m), d * za(m)), s.arc(0, 0, d, m, p, y));
|
|
45010
45010
|
else {
|
|
45011
|
-
var b = p, v = m, w = p, E = m, _ = g, S = g, N = o.apply(this, arguments) / 2, M = N >
|
|
45012
|
-
if (M >
|
|
45011
|
+
var b = p, v = m, w = p, E = m, _ = g, S = g, N = o.apply(this, arguments) / 2, M = N > Qn && (r ? +r.apply(this, arguments) : xu(d * d + h * h)), T = wv(QC(h - d) / 2, +n.apply(this, arguments)), O = T, z = T, P, I;
|
|
45012
|
+
if (M > Qn) {
|
|
45013
45013
|
var R = JC(M / d * za(N)), $ = JC(M / h * za(N));
|
|
45014
|
-
(_ -= R * 2) >
|
|
45014
|
+
(_ -= R * 2) > Qn ? (R *= y ? 1 : -1, w += R, E -= R) : (_ = 0, w = E = (p + m) / 2), (S -= $ * 2) > Qn ? ($ *= y ? 1 : -1, b += $, v -= $) : (S = 0, b = v = (p + m) / 2);
|
|
45015
45015
|
}
|
|
45016
45016
|
var U = h * Jl(b), q = h * za(b), W = d * Jl(E), A = d * za(E);
|
|
45017
|
-
if (T >
|
|
45017
|
+
if (T > Qn) {
|
|
45018
45018
|
var V = h * Jl(v), X = h * za(v), F = d * Jl(w), ae = d * za(w), ie;
|
|
45019
45019
|
if (g < Df)
|
|
45020
45020
|
if (ie = xpe(U, q, F, ae, V, X, W, A)) {
|
|
@@ -45023,7 +45023,7 @@ function wpe() {
|
|
|
45023
45023
|
} else
|
|
45024
45024
|
O = z = 0;
|
|
45025
45025
|
}
|
|
45026
|
-
S >
|
|
45026
|
+
S > Qn ? z > Qn ? (P = Nm(F, ae, U, q, h, z, y), I = Nm(V, X, W, A, h, z, y), s.moveTo(P.cx + P.x01, P.cy + P.y01), z < T ? s.arc(P.cx, P.cy, z, Kn(P.y01, P.x01), Kn(I.y01, I.x01), !y) : (s.arc(P.cx, P.cy, z, Kn(P.y01, P.x01), Kn(P.y11, P.x11), !y), s.arc(0, 0, h, Kn(P.cy + P.y11, P.cx + P.x11), Kn(I.cy + I.y11, I.cx + I.x11), !y), s.arc(I.cx, I.cy, z, Kn(I.y11, I.x11), Kn(I.y01, I.x01), !y))) : (s.moveTo(U, q), s.arc(0, 0, h, b, v, !y)) : s.moveTo(U, q), !(d > Qn) || !(_ > Qn) ? s.lineTo(W, A) : O > Qn ? (P = Nm(W, A, V, X, d, -O, y), I = Nm(U, q, F, ae, d, -O, y), s.lineTo(P.cx + P.x01, P.cy + P.y01), O < T ? s.arc(P.cx, P.cy, O, Kn(P.y01, P.x01), Kn(I.y01, I.x01), !y) : (s.arc(P.cx, P.cy, O, Kn(P.y01, P.x01), Kn(P.y11, P.x11), !y), s.arc(0, 0, d, Kn(P.cy + P.y11, P.cx + P.x11), Kn(I.cy + I.y11, I.cx + I.x11), y), s.arc(I.cx, I.cy, O, Kn(I.y11, I.x11), Kn(I.y01, I.x01), !y))) : s.arc(0, 0, d, E, w, y);
|
|
45027
45027
|
}
|
|
45028
45028
|
if (s.closePath(), c) return s = null, c + "" || null;
|
|
45029
45029
|
}
|
|
@@ -45505,11 +45505,11 @@ const Npe = function e(t) {
|
|
|
45505
45505
|
}(0);
|
|
45506
45506
|
function n8(e, t, n) {
|
|
45507
45507
|
var r = e._x1, i = e._y1, a = e._x2, o = e._y2;
|
|
45508
|
-
if (e._l01_a >
|
|
45508
|
+
if (e._l01_a > Qn) {
|
|
45509
45509
|
var s = 2 * e._l01_2a + 3 * e._l01_a * e._l12_a + e._l12_2a, l = 3 * e._l01_a * (e._l01_a + e._l12_a);
|
|
45510
45510
|
r = (r * s - e._x0 * e._l12_2a + e._x2 * e._l01_2a) / l, i = (i * s - e._y0 * e._l12_2a + e._y2 * e._l01_2a) / l;
|
|
45511
45511
|
}
|
|
45512
|
-
if (e._l23_a >
|
|
45512
|
+
if (e._l23_a > Qn) {
|
|
45513
45513
|
var u = 2 * e._l23_2a + 3 * e._l23_a * e._l12_a + e._l12_2a, c = 3 * e._l23_a * (e._l23_a + e._l12_a);
|
|
45514
45514
|
a = (a * u + e._x1 * e._l23_2a - t * e._l12_2a) / c, o = (o * u + e._y1 * e._l23_2a - n * e._l12_2a) / c;
|
|
45515
45515
|
}
|
|
@@ -47216,7 +47216,7 @@ function i1e() {
|
|
|
47216
47216
|
}
|
|
47217
47217
|
var a1e = Array.prototype.map;
|
|
47218
47218
|
function o1e(e) {
|
|
47219
|
-
return a1e.call(e,
|
|
47219
|
+
return a1e.call(e, rr);
|
|
47220
47220
|
}
|
|
47221
47221
|
const s1e = Array.prototype.slice;
|
|
47222
47222
|
function NB() {
|
|
@@ -47323,7 +47323,7 @@ function zB(e, t) {
|
|
|
47323
47323
|
function BB(e, t, n) {
|
|
47324
47324
|
const r = n - t;
|
|
47325
47325
|
let i, a, o;
|
|
47326
|
-
return !r || !Number.isFinite(r) ?
|
|
47326
|
+
return !r || !Number.isFinite(r) ? dr(0.5) : (i = (a = e.type).indexOf("-"), a = i < 0 ? a : a.slice(i + 1), o = yt(a)().domain([t, n]).range([0, 1]), c1e.forEach((s) => e[s] ? o[s](e[s]()) : 0), o);
|
|
47327
47327
|
}
|
|
47328
47328
|
function _8(e, t) {
|
|
47329
47329
|
const n = Ame[f1e(e)];
|
|
@@ -47705,19 +47705,19 @@ function L1e(e) {
|
|
|
47705
47705
|
const c = u * o, f = -l * s, d = l * o, h = u * s, p = Math.cos(i), m = Math.sin(i), g = Math.cos(a), y = Math.sin(a), b = 0.5 * (a - i), v = Math.sin(b * 0.5), w = 8 / 3 * v * v / Math.sin(b), E = n + p - w * m, _ = r + m + w * p, S = n + g, N = r + y, M = S + w * y, T = N - w * g;
|
|
47706
47706
|
return Nv[t] = [c * E + f * _, d * E + h * _, c * M + f * T, d * M + h * T, c * S + f * N, d * S + h * N];
|
|
47707
47707
|
}
|
|
47708
|
-
const
|
|
47708
|
+
const Di = ["l", 0, 0, 0, 0, 0, 0, 0];
|
|
47709
47709
|
function z1e(e, t, n) {
|
|
47710
|
-
const r =
|
|
47710
|
+
const r = Di[0] = e[0];
|
|
47711
47711
|
if (r === "a" || r === "A")
|
|
47712
|
-
|
|
47712
|
+
Di[1] = t * e[1], Di[2] = n * e[2], Di[3] = e[3], Di[4] = e[4], Di[5] = e[5], Di[6] = t * e[6], Di[7] = n * e[7];
|
|
47713
47713
|
else if (r === "h" || r === "H")
|
|
47714
|
-
|
|
47714
|
+
Di[1] = t * e[1];
|
|
47715
47715
|
else if (r === "v" || r === "V")
|
|
47716
|
-
|
|
47716
|
+
Di[1] = n * e[1];
|
|
47717
47717
|
else
|
|
47718
47718
|
for (var i = 1, a = e.length; i < a; ++i)
|
|
47719
|
-
|
|
47720
|
-
return
|
|
47719
|
+
Di[i] = (i % 2 == 1 ? t : n) * e[i];
|
|
47720
|
+
return Di;
|
|
47721
47721
|
}
|
|
47722
47722
|
function kh(e, t, n, r, i, a) {
|
|
47723
47723
|
var o, s = null, l = 0, u = 0, c = 0, f = 0, d, h, p, m, g = 0, y = 0;
|
|
@@ -48361,7 +48361,7 @@ function lP(e, t, n, r) {
|
|
|
48361
48361
|
i !== 0 && (e(t, r) || (Lf(t, n), n.fill && Ag(t, n, i) && t.fill(), n.stroke && zf(t, n, i) && t.stroke()));
|
|
48362
48362
|
}
|
|
48363
48363
|
function W2(e) {
|
|
48364
|
-
return e = e ||
|
|
48364
|
+
return e = e || Yi, function(t, n, r, i, a, o) {
|
|
48365
48365
|
return r *= t.pixelRatio, i *= t.pixelRatio, Cg(n, (s) => {
|
|
48366
48366
|
const l = s.bounds;
|
|
48367
48367
|
if (!(l && !l.contains(a, o) || !l) && e(t, s, r, i, a, o))
|
|
@@ -48600,7 +48600,7 @@ var Zge = {
|
|
|
48600
48600
|
bound: Xge,
|
|
48601
48601
|
draw: Kge,
|
|
48602
48602
|
pick: W2(),
|
|
48603
|
-
isect:
|
|
48603
|
+
isect: Yi,
|
|
48604
48604
|
// bounds check is sufficient
|
|
48605
48605
|
get: B8,
|
|
48606
48606
|
xOffset: G2,
|
|
@@ -48990,7 +48990,7 @@ function xn(e, t, n, r) {
|
|
|
48990
48990
|
var i = e.childNodes[t], a;
|
|
48991
48991
|
return (!i || i.tagName.toLowerCase() !== n.toLowerCase()) && (a = i || null, i = Js(e.ownerDocument, n, r), e.insertBefore(i, a)), i;
|
|
48992
48992
|
}
|
|
48993
|
-
function
|
|
48993
|
+
function Fi(e, t) {
|
|
48994
48994
|
for (var n = e.childNodes, r = n.length; r > t; ) e.removeChild(n[--r]);
|
|
48995
48995
|
return e;
|
|
48996
48996
|
}
|
|
@@ -49426,7 +49426,7 @@ class Fg extends Ep {
|
|
|
49426
49426
|
super(t), this._options = {}, this._redraw = !1, this._dirty = new yn(), this._tempb = new yn();
|
|
49427
49427
|
}
|
|
49428
49428
|
initialize(t, n, r, i, a, o) {
|
|
49429
|
-
return this._options = o || {}, this._canvas = this._options.externalContext ? null : cl(1, 1, this._options.type), t && this._canvas && (
|
|
49429
|
+
return this._options = o || {}, this._canvas = this._options.externalContext ? null : cl(1, 1, this._options.type), t && this._canvas && (Fi(t, 0).appendChild(this._canvas), this._canvas.setAttribute("class", "marks")), super.initialize(t, n, r, i, a);
|
|
49430
49430
|
}
|
|
49431
49431
|
resize(t, n, r, i) {
|
|
49432
49432
|
if (super.resize(t, n, r, i), this._canvas)
|
|
@@ -49659,7 +49659,7 @@ class J8 extends Ep {
|
|
|
49659
49659
|
* @return {SVGRenderer} - This renderer instance.
|
|
49660
49660
|
*/
|
|
49661
49661
|
initialize(t, n, r, i, a) {
|
|
49662
|
-
return this._defs = {}, this._clearDefs(), t && (this._svg = xn(t, 0, "svg", vn), this._svg.setAttributeNS(XT, "xmlns", vn), this._svg.setAttributeNS(XT, "xmlns:xlink", Ah["xmlns:xlink"]), this._svg.setAttribute("version", Ah.version), this._svg.setAttribute("class", "marks"),
|
|
49662
|
+
return this._defs = {}, this._clearDefs(), t && (this._svg = xn(t, 0, "svg", vn), this._svg.setAttributeNS(XT, "xmlns", vn), this._svg.setAttributeNS(XT, "xmlns:xlink", Ah["xmlns:xlink"]), this._svg.setAttribute("version", Ah.version), this._svg.setAttribute("class", "marks"), Fi(t, 1), this._root = xn(this._svg, ed, "g", vn), el(this._root, BP), Fi(this._svg, ed + 1)), this.background(this._bgcolor), super.initialize(t, n, r, i, a);
|
|
49663
49663
|
}
|
|
49664
49664
|
/**
|
|
49665
49665
|
* Get / set the background color.
|
|
@@ -49714,7 +49714,7 @@ class J8 extends Ep {
|
|
|
49714
49714
|
* If undefined, render all mark types
|
|
49715
49715
|
*/
|
|
49716
49716
|
_render(t, n) {
|
|
49717
|
-
return this._dirtyCheck() && (this._dirtyAll && this._clearDefs(), this.mark(this._root, t, void 0, n),
|
|
49717
|
+
return this._dirtyCheck() && (this._dirtyAll && this._clearDefs(), this.mark(this._root, t, void 0, n), Fi(this._root, 1)), this.defs(), this._dirty = [], ++this._dirtyID, this;
|
|
49718
49718
|
}
|
|
49719
49719
|
// -- Manage rendering of items marked as dirty --
|
|
49720
49720
|
/**
|
|
@@ -49767,7 +49767,7 @@ class J8 extends Ep {
|
|
|
49767
49767
|
return n._svg;
|
|
49768
49768
|
const a = this._svg, o = n.marktype, s = ki[o], l = n.interactive === !1 ? "none" : null, u = s.tag === "g", c = ZT(n, t, r, "g", a);
|
|
49769
49769
|
if (o !== "group" && i != null && !i.includes(o))
|
|
49770
|
-
return
|
|
49770
|
+
return Fi(c, 0), n._svg;
|
|
49771
49771
|
c.setAttribute("class", EP(n));
|
|
49772
49772
|
const f = $P(n);
|
|
49773
49773
|
for (const m in f) wr(c, m, f[m]);
|
|
@@ -49777,7 +49777,7 @@ class J8 extends Ep {
|
|
|
49777
49777
|
const g = this.isDirty(m), y = ZT(m, c, d, s.tag, a);
|
|
49778
49778
|
g && (this._update(s, y, m), u && Xye(this, y, m, i)), d = y, ++h;
|
|
49779
49779
|
};
|
|
49780
|
-
return s.nested ? n.items.length && p(n.items[0]) : Ea(n, p),
|
|
49780
|
+
return s.nested ? n.items.length && p(n.items[0]) : Ea(n, p), Fi(c, h), c;
|
|
49781
49781
|
}
|
|
49782
49782
|
/**
|
|
49783
49783
|
* Update the attributes of an SVG element for a mark item.
|
|
@@ -49786,7 +49786,7 @@ class J8 extends Ep {
|
|
|
49786
49786
|
* @param {Item} item - The mark item.
|
|
49787
49787
|
*/
|
|
49788
49788
|
_update(t, n, r) {
|
|
49789
|
-
es = n,
|
|
49789
|
+
es = n, er = n.__values__, RP(Vd, r), t.attr(Vd, r, this);
|
|
49790
49790
|
const i = Zye[t.type];
|
|
49791
49791
|
i && i.call(this, t, n, r), es && this.style(es, r);
|
|
49792
49792
|
}
|
|
@@ -49799,9 +49799,9 @@ class J8 extends Ep {
|
|
|
49799
49799
|
if (n != null) {
|
|
49800
49800
|
for (const r in Ig) {
|
|
49801
49801
|
let i = r === "font" ? wp(n) : n[r];
|
|
49802
|
-
if (i ===
|
|
49802
|
+
if (i === er[r]) continue;
|
|
49803
49803
|
const a = Ig[r];
|
|
49804
|
-
i == null ? t.removeAttribute(a) : (C8(i) && (i = KB(i, this._defs.gradient, PP())), t.setAttribute(a, i + "")),
|
|
49804
|
+
i == null ? t.removeAttribute(a) : (C8(i) && (i = KB(i, this._defs.gradient, PP())), t.setAttribute(a, i + "")), er[r] = i;
|
|
49805
49805
|
}
|
|
49806
49806
|
for (const r in Lg)
|
|
49807
49807
|
T1(t, Lg[r], n[r]);
|
|
@@ -49819,7 +49819,7 @@ class J8 extends Ep {
|
|
|
49819
49819
|
r || (n.el = r = xn(t, ed + 1, "defs", vn)), i = Vye(r, n.gradient[a], i);
|
|
49820
49820
|
for (const a in n.clipping)
|
|
49821
49821
|
r || (n.el = r = xn(t, ed + 1, "defs", vn)), i = Yye(r, n.clipping[a], i);
|
|
49822
|
-
r && (i === 0 ? (t.removeChild(r), n.el = null) :
|
|
49822
|
+
r && (i === 0 ? (t.removeChild(r), n.el = null) : Fi(r, i));
|
|
49823
49823
|
}
|
|
49824
49824
|
/**
|
|
49825
49825
|
* Clear defs caches.
|
|
@@ -49868,7 +49868,7 @@ function Vye(e, t, n) {
|
|
|
49868
49868
|
});
|
|
49869
49869
|
for (r = 0, i = t.stops.length; r < i; ++r)
|
|
49870
49870
|
a = xn(e, r, "stop", vn), a.setAttribute("offset", t.stops[r].offset), a.setAttribute("stop-color", t.stops[r].color);
|
|
49871
|
-
return
|
|
49871
|
+
return Fi(e, r), n;
|
|
49872
49872
|
}
|
|
49873
49873
|
function Yye(e, t, n) {
|
|
49874
49874
|
let r;
|
|
@@ -49877,14 +49877,14 @@ function Yye(e, t, n) {
|
|
|
49877
49877
|
y: 0,
|
|
49878
49878
|
width: t.width,
|
|
49879
49879
|
height: t.height
|
|
49880
|
-
})),
|
|
49880
|
+
})), Fi(e, 1), n + 1;
|
|
49881
49881
|
}
|
|
49882
49882
|
function Xye(e, t, n, r) {
|
|
49883
49883
|
t = t.lastChild.previousSibling;
|
|
49884
49884
|
let i, a = 0;
|
|
49885
49885
|
Ea(n, (o) => {
|
|
49886
49886
|
i = e.mark(t, o, i, r), ++a;
|
|
49887
|
-
}),
|
|
49887
|
+
}), Fi(t, 1 + a);
|
|
49888
49888
|
}
|
|
49889
49889
|
function ZT(e, t, n, r, i) {
|
|
49890
49890
|
let a = e._svg, o;
|
|
@@ -49905,17 +49905,17 @@ function ZT(e, t, n, r, i) {
|
|
|
49905
49905
|
function Kye(e, t) {
|
|
49906
49906
|
return e.parentNode && e.parentNode.childNodes.length > 1 && e.previousSibling != t;
|
|
49907
49907
|
}
|
|
49908
|
-
let es = null,
|
|
49908
|
+
let es = null, er = null;
|
|
49909
49909
|
const Zye = {
|
|
49910
49910
|
group(e, t, n) {
|
|
49911
49911
|
const r = es = t.childNodes[2];
|
|
49912
|
-
|
|
49912
|
+
er = r.__values__, e.foreground(Vd, n, this), er = t.__values__, es = t.childNodes[1], e.content(Vd, n, this);
|
|
49913
49913
|
const i = es = t.childNodes[0];
|
|
49914
49914
|
e.background(Vd, n, this);
|
|
49915
49915
|
const a = n.mark.interactive === !1 ? "none" : null;
|
|
49916
|
-
if (a !==
|
|
49916
|
+
if (a !== er.events && (wr(r, "pointer-events", a), wr(i, "pointer-events", a), er.events = a), n.strokeForeground && n.stroke) {
|
|
49917
49917
|
const o = n.fill;
|
|
49918
|
-
wr(r, "display", null), this.style(i, n), wr(i, "stroke", null), o && (n.fill = null),
|
|
49918
|
+
wr(r, "display", null), this.style(i, n), wr(i, "stroke", null), o && (n.fill = null), er = r.__values__, this.style(r, n), o && (n.fill = o), es = null;
|
|
49919
49919
|
} else
|
|
49920
49920
|
wr(r, "display", "none");
|
|
49921
49921
|
},
|
|
@@ -49926,17 +49926,17 @@ const Zye = {
|
|
|
49926
49926
|
const r = xp(n);
|
|
49927
49927
|
let i, a, o, s;
|
|
49928
49928
|
ne(r) ? (a = r.map((l) => _l(n, l)), i = a.join(`
|
|
49929
|
-
`), i !==
|
|
49929
|
+
`), i !== er.text && (Fi(t, 0), o = t.ownerDocument, s = El(n), a.forEach((l, u) => {
|
|
49930
49930
|
const c = Js(o, "tspan", vn);
|
|
49931
49931
|
c.__data__ = n, c.textContent = l, u && (c.setAttribute("x", 0), c.setAttribute("dy", s)), t.appendChild(c);
|
|
49932
|
-
}),
|
|
49932
|
+
}), er.text = i)) : (a = _l(n, r), a !== er.text && (t.textContent = a, er.text = a)), wr(t, "font-family", wp(n)), wr(t, "font-size", So(n) + "px"), wr(t, "font-style", n.fontStyle), wr(t, "font-variant", n.fontVariant), wr(t, "font-weight", n.fontWeight);
|
|
49933
49933
|
}
|
|
49934
49934
|
};
|
|
49935
49935
|
function Vd(e, t, n) {
|
|
49936
|
-
t !==
|
|
49936
|
+
t !== er[e] && (n ? Qye(es, e, t, n) : wr(es, e, t), er[e] = t);
|
|
49937
49937
|
}
|
|
49938
49938
|
function T1(e, t, n) {
|
|
49939
|
-
n !==
|
|
49939
|
+
n !== er[t] && (n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n + ""), er[t] = n);
|
|
49940
49940
|
}
|
|
49941
49941
|
function el(e, t) {
|
|
49942
49942
|
for (const n in t)
|
|
@@ -50416,7 +50416,7 @@ ye(hU, Z, {
|
|
|
50416
50416
|
}
|
|
50417
50417
|
}
|
|
50418
50418
|
});
|
|
50419
|
-
const
|
|
50419
|
+
const Jn = new yn();
|
|
50420
50420
|
function of(e, t, n) {
|
|
50421
50421
|
return e[t] === n ? 0 : (e[t] = n, 1);
|
|
50422
50422
|
}
|
|
@@ -50437,7 +50437,7 @@ function w2e(e) {
|
|
|
50437
50437
|
}
|
|
50438
50438
|
function E2e(e, t, n, r) {
|
|
50439
50439
|
var i = t.items[0], a = i.datum, o = i.translate != null ? i.translate : 0.5, s = i.orient, l = w2e(a), u = i.range, c = i.offset, f = i.position, d = i.minExtent, h = i.maxExtent, p = a.title && i.items[l[2]].items[0], m = i.titlePadding, g = i.bounds, y = p && H8(p), b = 0, v = 0, w, E;
|
|
50440
|
-
switch (
|
|
50440
|
+
switch (Jn.clear().union(g), g.clear(), (w = l[0]) > -1 && g.union(i.items[w].bounds), (w = l[1]) > -1 && g.union(i.items[w].bounds), s) {
|
|
50441
50441
|
case Bf:
|
|
50442
50442
|
b = f || 0, v = -c, E = Math.max(d, Math.min(h, -g.y1)), g.add(0, -E).add(u, 0), p && Lm(e, p, E, m, y, 0, -1, g);
|
|
50443
50443
|
break;
|
|
@@ -50453,7 +50453,7 @@ function E2e(e, t, n, r) {
|
|
|
50453
50453
|
default:
|
|
50454
50454
|
b = i.x, v = i.y;
|
|
50455
50455
|
}
|
|
50456
|
-
return _s(g.translate(b, v), i), of(i, "x", b + o) | of(i, "y", v + o) && (i.bounds =
|
|
50456
|
+
return _s(g.translate(b, v), i), of(i, "x", b + o) | of(i, "y", v + o) && (i.bounds = Jn, e.dirty(i), i.bounds = g, e.dirty(i)), i.mark.bounds.clear().union(g);
|
|
50457
50457
|
}
|
|
50458
50458
|
function Lm(e, t, n, r, i, a, o, s) {
|
|
50459
50459
|
const l = t.bounds;
|
|
@@ -50521,7 +50521,7 @@ function aM(e) {
|
|
|
50521
50521
|
return e < 0 ? Math.ceil(-e) : 0;
|
|
50522
50522
|
}
|
|
50523
50523
|
function pU(e, t, n) {
|
|
50524
|
-
var r = !n.nodirty, i = n.bounds === oE ? k2e : S2e, a =
|
|
50524
|
+
var r = !n.nodirty, i = n.bounds === oE ? k2e : S2e, a = Jn.set(0, 0, 0, 0), o = jt(n.align, nl), s = jt(n.align, rl), l = jt(n.padding, nl), u = jt(n.padding, rl), c = n.columns || t.length, f = c <= 0 ? 1 : Math.ceil(t.length / c), d = t.length, h = Array(d), p = Array(c), m = 0, g = Array(d), y = Array(f), b = 0, v = Array(d), w = Array(d), E = Array(d), _, S, N, M, T, O, z, P, I, R, $;
|
|
50525
50525
|
for (S = 0; S < c; ++S) p[S] = 0;
|
|
50526
50526
|
for (S = 0; S < f; ++S) y[S] = 0;
|
|
50527
50527
|
for (S = 0; S < d; ++S)
|
|
@@ -50773,18 +50773,18 @@ function I2e(e, t, n, r, i) {
|
|
|
50773
50773
|
y = -f.bounds.width() - c;
|
|
50774
50774
|
break;
|
|
50775
50775
|
}
|
|
50776
|
-
|
|
50776
|
+
Jn.clear().union(d.bounds), Jn.translate(y - (d.x || 0), b - (d.y || 0)), of(d, "x", y) | of(d, "y", b) && (e.dirty(d), d.bounds.clear().union(Jn), d.mark.bounds.clear().union(Jn), e.dirty(d)), Jn.clear().union(d.bounds);
|
|
50777
50777
|
} else
|
|
50778
|
-
|
|
50779
|
-
switch (
|
|
50778
|
+
Jn.clear();
|
|
50779
|
+
switch (Jn.union(f.bounds), s) {
|
|
50780
50780
|
case Bf:
|
|
50781
|
-
m = v, g = i.y1 -
|
|
50781
|
+
m = v, g = i.y1 - Jn.height() - u;
|
|
50782
50782
|
break;
|
|
50783
50783
|
case da:
|
|
50784
|
-
m = i.x1 -
|
|
50784
|
+
m = i.x1 - Jn.width() - u, g = v;
|
|
50785
50785
|
break;
|
|
50786
50786
|
case ha:
|
|
50787
|
-
m = i.x2 +
|
|
50787
|
+
m = i.x2 + Jn.width() + u, g = v;
|
|
50788
50788
|
break;
|
|
50789
50789
|
case kl:
|
|
50790
50790
|
m = v, g = i.y2 + u;
|
|
@@ -50792,7 +50792,7 @@ function I2e(e, t, n, r, i) {
|
|
|
50792
50792
|
default:
|
|
50793
50793
|
m = a.x, g = a.y;
|
|
50794
50794
|
}
|
|
50795
|
-
return of(a, "x", m) | of(a, "y", g) && (
|
|
50795
|
+
return of(a, "x", m) | of(a, "y", g) && (Jn.translate(m, g), e.dirty(a), a.bounds.clear().union(Jn), t.bounds.clear().union(Jn), e.dirty(a)), a.bounds;
|
|
50796
50796
|
}
|
|
50797
50797
|
function mU(e) {
|
|
50798
50798
|
Z.call(this, null, e);
|
|
@@ -50966,7 +50966,7 @@ ye(vU, Z, {
|
|
|
50966
50966
|
if (this.value != null && !e.modified())
|
|
50967
50967
|
return t.StopPropagation;
|
|
50968
50968
|
var n = t.dataflow.locale(), r = t.fork(t.NO_SOURCE | t.NO_FIELDS), i = this.value, a = e.type || x1, o = e.scale, s = +e.limit, l = S8(o, e.count == null ? 5 : e.count, e.minstep), u = !!e.values || a === x1, c = e.format || VB(n, o, l, a, e.formatSpecifier, e.formatType, u), f = e.values || GB(o, l), d, h, p, m, g;
|
|
50969
|
-
return i && (r.rem = i), a === x1 ? (s && f.length > s ? (t.dataflow.warn("Symbol legend count exceeds limit, filtering items."), i = f.slice(0, s - 1), g = !0) : i = f, Qe(p = e.size) ? (!e.values && o(i[0]) === 0 && (i = i.slice(1)), m = i.reduce((y, b) => Math.max(y, p(b, e)), 0)) : p =
|
|
50969
|
+
return i && (r.rem = i), a === x1 ? (s && f.length > s ? (t.dataflow.warn("Symbol legend count exceeds limit, filtering items."), i = f.slice(0, s - 1), g = !0) : i = f, Qe(p = e.size) ? (!e.values && o(i[0]) === 0 && (i = i.slice(1)), m = i.reduce((y, b) => Math.max(y, p(b, e)), 0)) : p = dr(m = p || 8), i = i.map((y, b) => vt({
|
|
50970
50970
|
index: b,
|
|
50971
50971
|
label: c(y, b, i),
|
|
50972
50972
|
value: y,
|
|
@@ -51296,7 +51296,7 @@ const bbe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
51296
51296
|
sortitems: AU,
|
|
51297
51297
|
stack: cE
|
|
51298
51298
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
51299
|
-
var He = 1e-6, a5 = 1e-12, rt = Math.PI, an = rt / 2, zg = rt / 4, Rr = rt * 2, sn = 180 / rt, nt = rt / 180, ut = Math.abs, C0 = Math.atan,
|
|
51299
|
+
var He = 1e-6, a5 = 1e-12, rt = Math.PI, an = rt / 2, zg = rt / 4, Rr = rt * 2, sn = 180 / rt, nt = rt / 180, ut = Math.abs, C0 = Math.atan, Zi = Math.atan2, Ue = Math.cos, Bm = Math.ceil, NU = Math.exp, o5 = Math.hypot, Bg = Math.log, Iv = Math.pow, Be = Math.sin, Bi = Math.sign || function(e) {
|
|
51300
51300
|
return e > 0 ? 1 : e < 0 ? -1 : 0;
|
|
51301
51301
|
}, $r = Math.sqrt, fE = Math.tan;
|
|
51302
51302
|
function DU(e) {
|
|
@@ -51383,13 +51383,13 @@ function wbe(e, t) {
|
|
|
51383
51383
|
function $U(e, t) {
|
|
51384
51384
|
e *= nt, t *= nt, t = t / 2 + zg;
|
|
51385
51385
|
var n = e - l5, r = n >= 0 ? 1 : -1, i = r * n, a = Ue(t), o = Be(t), s = c5 * o, l = u5 * a + s * Ue(i), u = s * r * Be(i);
|
|
51386
|
-
Ug.add(
|
|
51386
|
+
Ug.add(Zi(u, l)), l5 = e, u5 = a, c5 = o;
|
|
51387
51387
|
}
|
|
51388
51388
|
function Ebe(e) {
|
|
51389
51389
|
return qg = new Dr(), Yo(e, ho), qg * 2;
|
|
51390
51390
|
}
|
|
51391
51391
|
function Hg(e) {
|
|
51392
|
-
return [
|
|
51392
|
+
return [Zi(e[1], e[0]), ei(e[2])];
|
|
51393
51393
|
}
|
|
51394
51394
|
function Hu(e) {
|
|
51395
51395
|
var t = e[0], n = e[1], r = Ue(n);
|
|
@@ -51508,7 +51508,7 @@ function Cbe(e, t) {
|
|
|
51508
51508
|
}
|
|
51509
51509
|
function Tbe(e, t) {
|
|
51510
51510
|
e *= nt, t *= nt;
|
|
51511
|
-
var n = Ue(t), r = n * Ue(e), i = n * Be(e), a = Be(t), o =
|
|
51511
|
+
var n = Ue(t), r = n * Ue(e), i = n * Be(e), a = Be(t), o = Zi($r((o = kr * a - Sr * i) * o + (o = Sr * r - _r * a) * o + (o = _r * i - kr * r) * o), _r * r + kr * i + Sr * a);
|
|
51512
51512
|
Wg += o, Xg += o * (_r + (_r = r)), Kg += o * (kr + (kr = i)), Zg += o * (Sr + (Sr = a)), kp(_r, kr, Sr);
|
|
51513
51513
|
}
|
|
51514
51514
|
function yM() {
|
|
@@ -51533,7 +51533,7 @@ function UU(e, t) {
|
|
|
51533
51533
|
function Obe(e) {
|
|
51534
51534
|
Sd = Wg = Gg = Vg = Yg = Xg = Kg = Zg = 0, d5 = new Dr(), h5 = new Dr(), p5 = new Dr(), Yo(e, pa);
|
|
51535
51535
|
var t = +d5, n = +h5, r = +p5, i = o5(t, n, r);
|
|
51536
|
-
return i < a5 && (t = Xg, n = Kg, r = Zg, Wg < He && (t = Gg, n = Vg, r = Yg), i = o5(t, n, r), i < a5) ? [NaN, NaN] : [
|
|
51536
|
+
return i < a5 && (t = Xg, n = Kg, r = Zg, Wg < He && (t = Gg, n = Vg, r = Yg), i = o5(t, n, r), i < a5) ? [NaN, NaN] : [Zi(n, t) * sn, ei(r / i) * sn];
|
|
51537
51537
|
}
|
|
51538
51538
|
function m5(e, t) {
|
|
51539
51539
|
function n(r, i) {
|
|
@@ -51564,14 +51564,14 @@ function xM(e, t) {
|
|
|
51564
51564
|
function o(s, l) {
|
|
51565
51565
|
var u = Ue(l), c = Ue(s) * u, f = Be(s) * u, d = Be(l), h = d * n + c * r;
|
|
51566
51566
|
return [
|
|
51567
|
-
|
|
51567
|
+
Zi(f * i - h * a, c * n - d * r),
|
|
51568
51568
|
ei(h * i + f * a)
|
|
51569
51569
|
];
|
|
51570
51570
|
}
|
|
51571
51571
|
return o.invert = function(s, l) {
|
|
51572
51572
|
var u = Ue(l), c = Ue(s) * u, f = Be(s) * u, d = Be(l), h = d * i - f * a;
|
|
51573
51573
|
return [
|
|
51574
|
-
|
|
51574
|
+
Zi(f * i + d * a, c * n + h * r),
|
|
51575
51575
|
ei(h * n - c * r)
|
|
51576
51576
|
];
|
|
51577
51577
|
}, o;
|
|
@@ -51672,7 +51672,7 @@ function EM(e) {
|
|
|
51672
51672
|
}
|
|
51673
51673
|
}
|
|
51674
51674
|
function zv(e) {
|
|
51675
|
-
return ut(e[0]) <= rt ? e[0] :
|
|
51675
|
+
return ut(e[0]) <= rt ? e[0] : Bi(e[0]) * ((ut(e[0]) + rt) % Rr - rt);
|
|
51676
51676
|
}
|
|
51677
51677
|
function Fbe(e, t) {
|
|
51678
51678
|
var n = zv(t), r = t[1], i = Be(r), a = [Be(n), -Ue(n), 0], o = 0, s = 0, l = new Dr();
|
|
@@ -51681,7 +51681,7 @@ function Fbe(e, t) {
|
|
|
51681
51681
|
if (d = (f = e[u]).length)
|
|
51682
51682
|
for (var f, d, h = f[d - 1], p = zv(h), m = h[1] / 2 + zg, g = Be(m), y = Ue(m), b = 0; b < d; ++b, p = w, g = _, y = S, h = v) {
|
|
51683
51683
|
var v = f[b], w = zv(v), E = v[1] / 2 + zg, _ = Be(E), S = Ue(E), N = w - p, M = N >= 0 ? 1 : -1, T = M * N, O = T > rt, z = g * _;
|
|
51684
|
-
if (l.add(
|
|
51684
|
+
if (l.add(Zi(z * M * Be(T), y * S + z * Ue(T))), o += O ? N + M * Rr : N, O ^ p >= n ^ w >= n) {
|
|
51685
51685
|
var P = Pf(Hu(h), Hu(v));
|
|
51686
51686
|
jg(P);
|
|
51687
51687
|
var I = Pf(a, P);
|
|
@@ -52058,15 +52058,15 @@ var Uf = 1 / 0, Qg = Uf, Th = -Uf, Jg = Th, ey = {
|
|
|
52058
52058
|
function Vbe(e, t) {
|
|
52059
52059
|
e < Uf && (Uf = e), e > Th && (Th = e), t < Qg && (Qg = t), t > Jg && (Jg = t);
|
|
52060
52060
|
}
|
|
52061
|
-
var x5 = 0, w5 = 0, Ad = 0, ty = 0, ny = 0, sf = 0, E5 = 0, _5 = 0, Cd = 0, KU, ZU, Xa, Ka,
|
|
52061
|
+
var x5 = 0, w5 = 0, Ad = 0, ty = 0, ny = 0, sf = 0, E5 = 0, _5 = 0, Cd = 0, KU, ZU, Xa, Ka, Ii = {
|
|
52062
52062
|
point: ju,
|
|
52063
52063
|
lineStart: AM,
|
|
52064
52064
|
lineEnd: CM,
|
|
52065
52065
|
polygonStart: function() {
|
|
52066
|
-
|
|
52066
|
+
Ii.lineStart = Kbe, Ii.lineEnd = Zbe;
|
|
52067
52067
|
},
|
|
52068
52068
|
polygonEnd: function() {
|
|
52069
|
-
|
|
52069
|
+
Ii.point = ju, Ii.lineStart = AM, Ii.lineEnd = CM;
|
|
52070
52070
|
},
|
|
52071
52071
|
result: function() {
|
|
52072
52072
|
var e = Cd ? [E5 / Cd, _5 / Cd] : sf ? [ty / sf, ny / sf] : Ad ? [x5 / Ad, w5 / Ad] : [NaN, NaN];
|
|
@@ -52077,26 +52077,26 @@ function ju(e, t) {
|
|
|
52077
52077
|
x5 += e, w5 += t, ++Ad;
|
|
52078
52078
|
}
|
|
52079
52079
|
function AM() {
|
|
52080
|
-
|
|
52080
|
+
Ii.point = Ybe;
|
|
52081
52081
|
}
|
|
52082
52082
|
function Ybe(e, t) {
|
|
52083
|
-
|
|
52083
|
+
Ii.point = Xbe, ju(Xa = e, Ka = t);
|
|
52084
52084
|
}
|
|
52085
52085
|
function Xbe(e, t) {
|
|
52086
52086
|
var n = e - Xa, r = t - Ka, i = $r(n * n + r * r);
|
|
52087
52087
|
ty += i * (Xa + e) / 2, ny += i * (Ka + t) / 2, sf += i, ju(Xa = e, Ka = t);
|
|
52088
52088
|
}
|
|
52089
52089
|
function CM() {
|
|
52090
|
-
|
|
52090
|
+
Ii.point = ju;
|
|
52091
52091
|
}
|
|
52092
52092
|
function Kbe() {
|
|
52093
|
-
|
|
52093
|
+
Ii.point = Qbe;
|
|
52094
52094
|
}
|
|
52095
52095
|
function Zbe() {
|
|
52096
52096
|
QU(KU, ZU);
|
|
52097
52097
|
}
|
|
52098
52098
|
function Qbe(e, t) {
|
|
52099
|
-
|
|
52099
|
+
Ii.point = QU, ju(KU = Xa = e, ZU = Ka = t);
|
|
52100
52100
|
}
|
|
52101
52101
|
function QU(e, t) {
|
|
52102
52102
|
var n = e - Xa, r = t - Ka, i = $r(n * n + r * r);
|
|
@@ -52243,7 +52243,7 @@ function iq(e, t) {
|
|
|
52243
52243
|
}, o.bounds = function(s) {
|
|
52244
52244
|
return Yo(s, i(ey)), ey.result();
|
|
52245
52245
|
}, o.centroid = function(s) {
|
|
52246
|
-
return Yo(s, i(
|
|
52246
|
+
return Yo(s, i(Ii)), Ii.result();
|
|
52247
52247
|
}, o.projection = function(s) {
|
|
52248
52248
|
return arguments.length ? (i = s == null ? (e = null, Ch) : (e = s).stream, o) : e;
|
|
52249
52249
|
}, o.context = function(s) {
|
|
@@ -52331,7 +52331,7 @@ function r4e(e, t) {
|
|
|
52331
52331
|
function n(r, i, a, o, s, l, u, c, f, d, h, p, m, g) {
|
|
52332
52332
|
var y = u - r, b = c - i, v = y * y + b * b;
|
|
52333
52333
|
if (v > 4 * t && m--) {
|
|
52334
|
-
var w = o + d, E = s + h, _ = l + p, S = $r(w * w + E * E + _ * _), N = ei(_ /= S), M = ut(ut(_) - 1) < He || ut(a - f) < He ? (a + f) / 2 :
|
|
52334
|
+
var w = o + d, E = s + h, _ = l + p, S = $r(w * w + E * E + _ * _), N = ei(_ /= S), M = ut(ut(_) - 1) < He || ut(a - f) < He ? (a + f) / 2 : Zi(E, w), T = e(M, N), O = T[0], z = T[1], P = O - r, I = z - i, R = b * P - y * I;
|
|
52335
52335
|
(R * R / v > t || ut((y * P + b * I) / v - 0.5) > 0.3 || o * d + s * h + l * p < t4e) && (n(r, i, a, o, s, l, O, z, M, w /= S, E /= S, _, m, g), g.point(O, z), n(O, z, M, w, E, _, u, c, f, d, h, p, m, g));
|
|
52336
52336
|
}
|
|
52337
52337
|
}
|
|
@@ -52486,8 +52486,8 @@ function l4e(e, t) {
|
|
|
52486
52486
|
return [u * Be(s *= r), a - u * Ue(s)];
|
|
52487
52487
|
}
|
|
52488
52488
|
return o.invert = function(s, l) {
|
|
52489
|
-
var u = a - l, c =
|
|
52490
|
-
return u * r < 0 && (c -= rt *
|
|
52489
|
+
var u = a - l, c = Zi(s, ut(u)) * Bi(u);
|
|
52490
|
+
return u * r < 0 && (c -= rt * Bi(s) * Bi(u)), [c / r, ei((i - (s * s + u * u) * r * r) / (2 * r))];
|
|
52491
52491
|
}, o;
|
|
52492
52492
|
}
|
|
52493
52493
|
function iy() {
|
|
@@ -52567,7 +52567,7 @@ function Sp(e) {
|
|
|
52567
52567
|
return function(t, n) {
|
|
52568
52568
|
var r = $r(t * t + n * n), i = e(r), a = Be(i), o = Ue(i);
|
|
52569
52569
|
return [
|
|
52570
|
-
|
|
52570
|
+
Zi(t * a, r * o),
|
|
52571
52571
|
ei(r && n * a / r)
|
|
52572
52572
|
];
|
|
52573
52573
|
};
|
|
@@ -52628,8 +52628,8 @@ function p4e(e, t) {
|
|
|
52628
52628
|
return [l * Be(r * o), i - l * Ue(r * o)];
|
|
52629
52629
|
}
|
|
52630
52630
|
return a.invert = function(o, s) {
|
|
52631
|
-
var l = i - s, u =
|
|
52632
|
-
return l * r < 0 && (c -= rt *
|
|
52631
|
+
var l = i - s, u = Bi(r) * $r(o * o + l * l), c = Zi(o, ut(l)) * Bi(l);
|
|
52632
|
+
return l * r < 0 && (c -= rt * Bi(o) * Bi(l)), [c / r, 2 * C0(Iv(i / u, 1 / r)) - an];
|
|
52633
52633
|
}, a;
|
|
52634
52634
|
}
|
|
52635
52635
|
function m4e() {
|
|
@@ -52650,8 +52650,8 @@ function y4e(e, t) {
|
|
|
52650
52650
|
return [l * Be(u), i - l * Ue(u)];
|
|
52651
52651
|
}
|
|
52652
52652
|
return a.invert = function(o, s) {
|
|
52653
|
-
var l = i - s, u =
|
|
52654
|
-
return l * r < 0 && (u -= rt *
|
|
52653
|
+
var l = i - s, u = Zi(o, ut(l)) * Bi(l);
|
|
52654
|
+
return l * r < 0 && (u -= rt * Bi(o) * Bi(l)), [u / r, i - Bi(r) * $r(o * o + l * l)];
|
|
52655
52655
|
}, a;
|
|
52656
52656
|
}
|
|
52657
52657
|
function b4e() {
|
|
@@ -53034,7 +53034,7 @@ ye(vE, Z, {
|
|
|
53034
53034
|
transform(e, t) {
|
|
53035
53035
|
if (this.value && !t.changed() && !e.modified())
|
|
53036
53036
|
return t.StopPropagation;
|
|
53037
|
-
var n = t.fork(t.NO_SOURCE | t.NO_FIELDS), r = t.materialize(t.SOURCE).source, i = e.field ||
|
|
53037
|
+
var n = t.fork(t.NO_SOURCE | t.NO_FIELDS), r = t.materialize(t.SOURCE).source, i = e.field || fr, a = vq().smooth(e.smooth !== !1), o = e.thresholds || H4e(r, i, e), s = e.as === null ? null : e.as || "contour", l = [];
|
|
53038
53038
|
return r.forEach((u) => {
|
|
53039
53039
|
const c = i(u), f = a.size([c.width, c.height])(c.values, ne(o) ? o : o(c.values));
|
|
53040
53040
|
j4e(f, c, u, e), f.forEach((d) => {
|
|
@@ -53075,7 +53075,7 @@ function LM(e, t, n) {
|
|
|
53075
53075
|
return Math.round((Math.sqrt(4 * r * r + 1) - 1) / 2);
|
|
53076
53076
|
}
|
|
53077
53077
|
function Uv(e) {
|
|
53078
|
-
return Qe(e) ? e :
|
|
53078
|
+
return Qe(e) ? e : dr(+e);
|
|
53079
53079
|
}
|
|
53080
53080
|
function Eq() {
|
|
53081
53081
|
var e = (l) => l[0], t = (l) => l[1], n = p0, r = [-1, -1], i = 960, a = 500, o = 2;
|
|
@@ -53277,8 +53277,8 @@ _E.Definition = {
|
|
|
53277
53277
|
};
|
|
53278
53278
|
ye(_E, Z, {
|
|
53279
53279
|
transform(e, t) {
|
|
53280
|
-
var n = this._features, r = this._points, i = e.fields, a = i && i[0], o = i && i[1], s = e.geojson || !i &&
|
|
53281
|
-
u = e.modified() || t.changed(t.REM) || t.modified(
|
|
53280
|
+
var n = this._features, r = this._points, i = e.fields, a = i && i[0], o = i && i[1], s = e.geojson || !i && fr, l = t.ADD, u;
|
|
53281
|
+
u = e.modified() || t.changed(t.REM) || t.modified(ar(s)) || a && t.modified(ar(a)) || o && t.modified(ar(o)), (!this.value || u) && (l = t.SOURCE, this._features = n = [], this._points = r = []), s && t.visit(l, (c) => n.push(s(c))), a && o && (t.visit(l, (c) => {
|
|
53282
53282
|
var f = a(c), d = o(c);
|
|
53283
53283
|
f != null && d != null && (f = +f) === f && (d = +d) === d && r.push([f, d]);
|
|
53284
53284
|
}), n = n.concat({
|
|
@@ -53319,8 +53319,8 @@ kE.Definition = {
|
|
|
53319
53319
|
};
|
|
53320
53320
|
ye(kE, Z, {
|
|
53321
53321
|
transform(e, t) {
|
|
53322
|
-
var n = t.fork(t.ALL), r = this.value, i = e.field ||
|
|
53323
|
-
!r || e.modified() ? (this.value = r = bq(e.projection), n.materialize().reflow()) : o = i ===
|
|
53322
|
+
var n = t.fork(t.ALL), r = this.value, i = e.field || fr, a = e.as || "path", o = n.SOURCE;
|
|
53323
|
+
!r || e.modified() ? (this.value = r = bq(e.projection), n.materialize().reflow()) : o = i === fr || t.modified(i.fields) ? n.ADD_MOD : n.ADD;
|
|
53324
53324
|
const s = Y4e(r, e.pointRadius);
|
|
53325
53325
|
return n.visit(o, (l) => l[a] = r(i(l))), r.pointRadius(s), n.modifies(a);
|
|
53326
53326
|
}
|
|
@@ -53394,7 +53394,7 @@ AE.Definition = {
|
|
|
53394
53394
|
ye(AE, Z, {
|
|
53395
53395
|
transform(e, t) {
|
|
53396
53396
|
var n = t.fork(t.ALL), r = this.value, i = e.as || "shape", a = n.ADD;
|
|
53397
|
-
return (!r || e.modified()) && (this.value = r = X4e(bq(e.projection), e.field ||
|
|
53397
|
+
return (!r || e.modified()) && (this.value = r = X4e(bq(e.projection), e.field || Vi("datum"), e.pointRadius), n.materialize().reflow(), a = n.SOURCE), n.visit(a, (o) => o[i] = r), n.modifies(i);
|
|
53398
53398
|
}
|
|
53399
53399
|
});
|
|
53400
53400
|
function X4e(e, t, n) {
|
|
@@ -53509,7 +53509,7 @@ ye(TE, Z, {
|
|
|
53509
53509
|
transform(e, t) {
|
|
53510
53510
|
if (!t.changed() && !e.modified())
|
|
53511
53511
|
return t.StopPropagation;
|
|
53512
|
-
var n = t.materialize(t.SOURCE).source, r = e.resolve === "shared", i = e.field ||
|
|
53512
|
+
var n = t.materialize(t.SOURCE).source, r = e.resolve === "shared", i = e.field || fr, a = Z4e(e.opacity, e), o = K4e(e.color, e), s = e.as || "image", l = {
|
|
53513
53513
|
$x: 0,
|
|
53514
53514
|
$y: 0,
|
|
53515
53515
|
$value: 0,
|
|
@@ -53517,21 +53517,21 @@ ye(TE, Z, {
|
|
|
53517
53517
|
};
|
|
53518
53518
|
return n.forEach((u) => {
|
|
53519
53519
|
const c = i(u), f = Ze({}, u, l);
|
|
53520
|
-
r || (f.$max = Cu(c.values || [])), u[s] = Q4e(c, f, o.dep ? o :
|
|
53520
|
+
r || (f.$max = Cu(c.values || [])), u[s] = Q4e(c, f, o.dep ? o : dr(o(f)), a.dep ? a : dr(a(f)));
|
|
53521
53521
|
}), t.reflow(!0).modifies(s);
|
|
53522
53522
|
}
|
|
53523
53523
|
});
|
|
53524
53524
|
function K4e(e, t) {
|
|
53525
53525
|
let n;
|
|
53526
|
-
return Qe(e) ? (n = (r) => xl(e(r, t)), n.dep = kq(e)) : n =
|
|
53526
|
+
return Qe(e) ? (n = (r) => xl(e(r, t)), n.dep = kq(e)) : n = dr(xl(e || "#888")), n;
|
|
53527
53527
|
}
|
|
53528
53528
|
function Z4e(e, t) {
|
|
53529
53529
|
let n;
|
|
53530
|
-
return Qe(e) ? (n = (r) => e(r, t), n.dep = kq(e)) : e ? n =
|
|
53530
|
+
return Qe(e) ? (n = (r) => e(r, t), n.dep = kq(e)) : e ? n = dr(e) : (n = (r) => r.$value / r.$max || 0, n.dep = !0), n;
|
|
53531
53531
|
}
|
|
53532
53532
|
function kq(e) {
|
|
53533
53533
|
if (!Qe(e)) return !1;
|
|
53534
|
-
const t = xa(
|
|
53534
|
+
const t = xa(ar(e));
|
|
53535
53535
|
return t.$x || t.$y || t.$value || t.$max;
|
|
53536
53536
|
}
|
|
53537
53537
|
function Q4e(e, t, n, r) {
|
|
@@ -54405,7 +54405,7 @@ function Oq(e, t, n, r) {
|
|
|
54405
54405
|
function Yve(e, t) {
|
|
54406
54406
|
var n, r;
|
|
54407
54407
|
for (n in e)
|
|
54408
|
-
if (Qe(r = e[n]) && t.modified(
|
|
54408
|
+
if (Qe(r = e[n]) && t.modified(ar(r))) return 1;
|
|
54409
54409
|
return 0;
|
|
54410
54410
|
}
|
|
54411
54411
|
function Xve(e) {
|
|
@@ -55263,7 +55263,7 @@ ye(LE, Z, {
|
|
|
55263
55263
|
t.source || te("Stratify transform requires an upstream data source.");
|
|
55264
55264
|
let n = this.value;
|
|
55265
55265
|
const r = e.modified(), i = t.fork(t.ALL).materialize(t.SOURCE), a = !n || r || t.changed(t.ADD_REM) || t.modified(e.key.fields) || t.modified(e.parentKey.fields);
|
|
55266
|
-
return i.source = i.source.slice(), a && (n = i.source.length ? R5(QM().id(e.key).parentId(e.parentKey)(i.source), e.key,
|
|
55266
|
+
return i.source = i.source.slice(), a && (n = i.source.length ? R5(QM().id(e.key).parentId(e.parentKey)(i.source), e.key, Yi) : R5(QM()([{}]), e.key, e.key)), i.source.root = this.value = n, i;
|
|
55267
55267
|
}
|
|
55268
55268
|
});
|
|
55269
55269
|
const eN = {
|
|
@@ -55946,7 +55946,7 @@ const A3e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
55946
55946
|
__proto__: null,
|
|
55947
55947
|
loess: qE,
|
|
55948
55948
|
regression: HE
|
|
55949
|
-
}, Symbol.toStringTag, { value: "Module" })), os = 11102230246251565e-32,
|
|
55949
|
+
}, Symbol.toStringTag, { value: "Module" })), os = 11102230246251565e-32, Zn = 134217729, C3e = (3 + 8 * os) * os;
|
|
55950
55950
|
function tx(e, t, n, r, i) {
|
|
55951
55951
|
let a, o, s, l, u = t[0], c = r[0], f = 0, d = 0;
|
|
55952
55952
|
c > u == c > -u ? (a = u, u = t[++f]) : (a = c, c = r[++d]);
|
|
@@ -55972,14 +55972,14 @@ const M3e = (3 + 16 * os) * os, N3e = (2 + 12 * os) * os, D3e = (9 + 64 * os) *
|
|
|
55972
55972
|
function O3e(e, t, n, r, i, a, o) {
|
|
55973
55973
|
let s, l, u, c, f, d, h, p, m, g, y, b, v, w, E, _, S, N;
|
|
55974
55974
|
const M = e - i, T = n - i, O = t - a, z = r - a;
|
|
55975
|
-
w = M * z, d =
|
|
55975
|
+
w = M * z, d = Zn * M, h = d - (d - M), p = M - h, d = Zn * z, m = d - (d - z), g = z - m, E = p * g - (w - h * m - p * m - h * g), _ = O * T, d = Zn * O, h = d - (d - O), p = O - h, d = Zn * T, m = d - (d - T), g = T - m, S = p * g - (_ - h * m - p * m - h * g), y = E - S, f = E - y, Hc[0] = E - (y + f) + (f - S), b = w + y, f = b - w, v = w - (b - f) + (y - f), y = v - _, f = v - y, Hc[1] = v - (y + f) + (f - _), N = b + y, f = N - b, Hc[2] = b - (N - f) + (y - f), Hc[3] = N;
|
|
55976
55976
|
let P = T3e(4, Hc), I = N3e * o;
|
|
55977
55977
|
if (P >= I || -P >= I || (f = e - M, s = e - (M + f) + (f - i), f = n - T, u = n - (T + f) + (f - i), f = t - O, l = t - (O + f) + (f - a), f = r - z, c = r - (z + f) + (f - a), s === 0 && l === 0 && u === 0 && c === 0) || (I = D3e * o + C3e * Math.abs(P), P += M * c + z * s - (O * u + T * l), P >= I || -P >= I)) return P;
|
|
55978
|
-
w = s * z, d =
|
|
55978
|
+
w = s * z, d = Zn * s, h = d - (d - s), p = s - h, d = Zn * z, m = d - (d - z), g = z - m, E = p * g - (w - h * m - p * m - h * g), _ = l * T, d = Zn * l, h = d - (d - l), p = l - h, d = Zn * T, m = d - (d - T), g = T - m, S = p * g - (_ - h * m - p * m - h * g), y = E - S, f = E - y, vr[0] = E - (y + f) + (f - S), b = w + y, f = b - w, v = w - (b - f) + (y - f), y = v - _, f = v - y, vr[1] = v - (y + f) + (f - _), N = b + y, f = N - b, vr[2] = b - (N - f) + (y - f), vr[3] = N;
|
|
55979
55979
|
const R = tx(4, Hc, 4, vr, rN);
|
|
55980
|
-
w = M * c, d =
|
|
55980
|
+
w = M * c, d = Zn * M, h = d - (d - M), p = M - h, d = Zn * c, m = d - (d - c), g = c - m, E = p * g - (w - h * m - p * m - h * g), _ = O * u, d = Zn * O, h = d - (d - O), p = O - h, d = Zn * u, m = d - (d - u), g = u - m, S = p * g - (_ - h * m - p * m - h * g), y = E - S, f = E - y, vr[0] = E - (y + f) + (f - S), b = w + y, f = b - w, v = w - (b - f) + (y - f), y = v - _, f = v - y, vr[1] = v - (y + f) + (f - _), N = b + y, f = N - b, vr[2] = b - (N - f) + (y - f), vr[3] = N;
|
|
55981
55981
|
const $ = tx(R, rN, 4, vr, iN);
|
|
55982
|
-
w = s * c, d =
|
|
55982
|
+
w = s * c, d = Zn * s, h = d - (d - s), p = s - h, d = Zn * c, m = d - (d - c), g = c - m, E = p * g - (w - h * m - p * m - h * g), _ = l * u, d = Zn * l, h = d - (d - l), p = l - h, d = Zn * u, m = d - (d - u), g = u - m, S = p * g - (_ - h * m - p * m - h * g), y = E - S, f = E - y, vr[0] = E - (y + f) + (f - S), b = w + y, f = b - w, v = w - (b - f) + (y - f), y = v - _, f = v - y, vr[1] = v - (y + f) + (f - _), N = b + y, f = N - b, vr[2] = b - (N - f) + (y - f), vr[3] = N;
|
|
55983
55983
|
const U = tx($, iN, 4, vr, aN);
|
|
55984
55984
|
return aN[U - 1];
|
|
55985
55985
|
}
|
|
@@ -56927,14 +56927,14 @@ ye(GE, Z, {
|
|
|
56927
56927
|
if (!(r || t.changed(t.ADD_REM) || a5e.some(n))) return;
|
|
56928
56928
|
const i = t.materialize(t.SOURCE).source, a = this.value, o = e.as || jq;
|
|
56929
56929
|
let s = e.fontSize || 14, l;
|
|
56930
|
-
if (Qe(s) ? l = e.fontSizeRange : s =
|
|
56930
|
+
if (Qe(s) ? l = e.fontSizeRange : s = dr(s), l) {
|
|
56931
56931
|
const p = s, m = yt("sqrt")().domain(lo(i, p)).range(l);
|
|
56932
56932
|
s = (g) => m(p(g));
|
|
56933
56933
|
}
|
|
56934
56934
|
i.forEach((p) => {
|
|
56935
56935
|
p[o[0]] = NaN, p[o[1]] = NaN, p[o[3]] = 0;
|
|
56936
56936
|
});
|
|
56937
|
-
const u = a.words(i).text(e.text).size(e.size || [500, 500]).padding(e.padding || 1).spiral(e.spiral || "archimedean").rotate(e.rotate || 0).font(e.font || "sans-serif").fontStyle(e.fontStyle || "normal").fontWeight(e.fontWeight || "normal").fontSize(s).random(
|
|
56937
|
+
const u = a.words(i).text(e.text).size(e.size || [500, 500]).padding(e.padding || 1).spiral(e.spiral || "archimedean").rotate(e.rotate || 0).font(e.font || "sans-serif").fontStyle(e.fontStyle || "normal").fontWeight(e.fontWeight || "normal").fontSize(s).random(Ki).layout(), c = a.size(), f = c[0] >> 1, d = c[1] >> 1, h = u.length;
|
|
56938
56938
|
for (let p = 0, m, g; p < h; ++p)
|
|
56939
56939
|
m = u[p], g = m.datum, g[o[0]] = m.x + f, g[o[1]] = m.y + d, g[o[2]] = m.font, g[o[3]] = m.size, g[o[4]] = m.style, g[o[5]] = m.weight, g[o[6]] = m.rotate;
|
|
56940
56940
|
return t.reflow(r).modifies(o);
|
|
@@ -57271,7 +57271,7 @@ function k5e(e) {
|
|
|
57271
57271
|
return [];
|
|
57272
57272
|
}
|
|
57273
57273
|
}
|
|
57274
|
-
var Co, Oe, J,
|
|
57274
|
+
var Co, Oe, J, sr, St, ib = 1, Tp = 2, Vu = 3, zl = 4, ab = 5, bc = 6, jr = 7, Mp = 8, S5e = 9;
|
|
57275
57275
|
Co = {};
|
|
57276
57276
|
Co[ib] = "Boolean";
|
|
57277
57277
|
Co[Tp] = "<end>";
|
|
@@ -57362,7 +57362,7 @@ const W5e = {
|
|
|
57362
57362
|
implements: 1
|
|
57363
57363
|
};
|
|
57364
57364
|
function Yq() {
|
|
57365
|
-
for (; J <
|
|
57365
|
+
for (; J < sr; ) {
|
|
57366
57366
|
const e = Oe.charCodeAt(J);
|
|
57367
57367
|
if (j5e(e) || Rh(e))
|
|
57368
57368
|
++J;
|
|
@@ -57373,24 +57373,24 @@ function Yq() {
|
|
|
57373
57373
|
function q5(e) {
|
|
57374
57374
|
var t, n, r, i = 0;
|
|
57375
57375
|
for (n = e === "u" ? 4 : 2, t = 0; t < n; ++t)
|
|
57376
|
-
J <
|
|
57376
|
+
J < sr && XE(Oe[J]) ? (r = Oe[J++], i = i * 16 + "0123456789abcdef".indexOf(r.toLowerCase())) : ht({}, Nn, Hn);
|
|
57377
57377
|
return String.fromCharCode(i);
|
|
57378
57378
|
}
|
|
57379
57379
|
function G5e() {
|
|
57380
57380
|
var e, t, n, r;
|
|
57381
|
-
for (e = Oe[J], t = 0, e === "}" && ht({}, Nn, Hn); J <
|
|
57381
|
+
for (e = Oe[J], t = 0, e === "}" && ht({}, Nn, Hn); J < sr && (e = Oe[J++], !!XE(e)); )
|
|
57382
57382
|
t = t * 16 + "0123456789abcdef".indexOf(e.toLowerCase());
|
|
57383
57383
|
return (t > 1114111 || e !== "}") && ht({}, Nn, Hn), t <= 65535 ? String.fromCharCode(t) : (n = (t - 65536 >> 10) + 55296, r = (t - 65536 & 1023) + 56320, String.fromCharCode(n, r));
|
|
57384
57384
|
}
|
|
57385
57385
|
function Xq() {
|
|
57386
57386
|
var e, t;
|
|
57387
|
-
for (e = Oe.charCodeAt(J++), t = String.fromCharCode(e), e === 92 && (Oe.charCodeAt(J) !== 117 && ht({}, Nn, Hn), ++J, e = q5("u"), (!e || e === "\\" || !Np(e.charCodeAt(0))) && ht({}, Nn, Hn), t = e); J <
|
|
57387
|
+
for (e = Oe.charCodeAt(J++), t = String.fromCharCode(e), e === 92 && (Oe.charCodeAt(J) !== 117 && ht({}, Nn, Hn), ++J, e = q5("u"), (!e || e === "\\" || !Np(e.charCodeAt(0))) && ht({}, Nn, Hn), t = e); J < sr && (e = Oe.charCodeAt(J), !!py(e)); )
|
|
57388
57388
|
++J, t += String.fromCharCode(e), e === 92 && (t = t.substr(0, t.length - 1), Oe.charCodeAt(J) !== 117 && ht({}, Nn, Hn), ++J, e = q5("u"), (!e || e === "\\" || !py(e.charCodeAt(0))) && ht({}, Nn, Hn), t += e);
|
|
57389
57389
|
return t;
|
|
57390
57390
|
}
|
|
57391
57391
|
function V5e() {
|
|
57392
57392
|
var e, t;
|
|
57393
|
-
for (e = J++; J <
|
|
57393
|
+
for (e = J++; J < sr; ) {
|
|
57394
57394
|
if (t = Oe.charCodeAt(J), t === 92)
|
|
57395
57395
|
return J = e, Xq();
|
|
57396
57396
|
if (py(t))
|
|
@@ -57491,7 +57491,7 @@ function ax() {
|
|
|
57491
57491
|
}
|
|
57492
57492
|
function X5e(e) {
|
|
57493
57493
|
let t = "";
|
|
57494
|
-
for (; J <
|
|
57494
|
+
for (; J < sr && XE(Oe[J]); )
|
|
57495
57495
|
t += Oe[J++];
|
|
57496
57496
|
return t.length === 0 && ht({}, Nn, Hn), Np(Oe.charCodeAt(J)) && ht({}, Nn, Hn), {
|
|
57497
57497
|
type: bc,
|
|
@@ -57502,7 +57502,7 @@ function X5e(e) {
|
|
|
57502
57502
|
}
|
|
57503
57503
|
function K5e(e) {
|
|
57504
57504
|
let t = "0" + Oe[J++];
|
|
57505
|
-
for (; J <
|
|
57505
|
+
for (; J < sr && eh(Oe[J]); )
|
|
57506
57506
|
t += Oe[J++];
|
|
57507
57507
|
return (Np(Oe.charCodeAt(J)) || Go(Oe.charCodeAt(J))) && ht({}, Nn, Hn), {
|
|
57508
57508
|
type: bc,
|
|
@@ -57546,7 +57546,7 @@ function cN() {
|
|
|
57546
57546
|
}
|
|
57547
57547
|
function Z5e() {
|
|
57548
57548
|
var e = "", t, n, r, i, a = !1;
|
|
57549
|
-
for (t = Oe[J], ob(t === "'" || t === '"', "String literal must starts with a quote"), n = J, ++J; J <
|
|
57549
|
+
for (t = Oe[J], ob(t === "'" || t === '"', "String literal must starts with a quote"), n = J, ++J; J < sr; )
|
|
57550
57550
|
if (r = Oe[J++], r === t) {
|
|
57551
57551
|
t = "";
|
|
57552
57552
|
break;
|
|
@@ -57577,7 +57577,7 @@ function Z5e() {
|
|
|
57577
57577
|
e += "\v";
|
|
57578
57578
|
break;
|
|
57579
57579
|
default:
|
|
57580
|
-
eh(r) ? (i = "01234567".indexOf(r), i !== 0 && (a = !0), J <
|
|
57580
|
+
eh(r) ? (i = "01234567".indexOf(r), i !== 0 && (a = !0), J < sr && eh(Oe[J]) && (a = !0, i = i * 8 + "01234567".indexOf(Oe[J++]), "0123".includes(r) && J < sr && eh(Oe[J]) && (i = i * 8 + "01234567".indexOf(Oe[J++]))), e += String.fromCharCode(i)) : e += r;
|
|
57581
57581
|
break;
|
|
57582
57582
|
}
|
|
57583
57583
|
else
|
|
@@ -57616,7 +57616,7 @@ function Q5e(e, t) {
|
|
|
57616
57616
|
}
|
|
57617
57617
|
function J5e() {
|
|
57618
57618
|
var e, t, n, r, i;
|
|
57619
|
-
for (e = Oe[J], ob(e === "/", "Regular expression literal must start with a slash"), t = Oe[J++], n = !1, r = !1; J <
|
|
57619
|
+
for (e = Oe[J], ob(e === "/", "Regular expression literal must start with a slash"), t = Oe[J++], n = !1, r = !1; J < sr; )
|
|
57620
57620
|
if (e = Oe[J++], t += e, e === "\\")
|
|
57621
57621
|
e = Oe[J++], Rh(e.charCodeAt(0)) && ht({}, ix), t += e;
|
|
57622
57622
|
else if (Rh(e.charCodeAt(0)))
|
|
@@ -57634,8 +57634,8 @@ function J5e() {
|
|
|
57634
57634
|
}
|
|
57635
57635
|
function e6e() {
|
|
57636
57636
|
var e, t, n;
|
|
57637
|
-
for (t = "", n = ""; J <
|
|
57638
|
-
++J, e === "\\" && J <
|
|
57637
|
+
for (t = "", n = ""; J < sr && (e = Oe[J], !!py(e.charCodeAt(0))); )
|
|
57638
|
+
++J, e === "\\" && J < sr ? ht({}, Nn, Hn) : (n += e, t += e);
|
|
57639
57639
|
return n.search(/[^gimuy]/g) >= 0 && ht({}, U5, n), {
|
|
57640
57640
|
value: n,
|
|
57641
57641
|
literal: t
|
|
@@ -57658,7 +57658,7 @@ function n6e(e) {
|
|
|
57658
57658
|
return e.type === Vu || e.type === zl || e.type === ib || e.type === ab;
|
|
57659
57659
|
}
|
|
57660
57660
|
function Kq() {
|
|
57661
|
-
if (Yq(), J >=
|
|
57661
|
+
if (Yq(), J >= sr)
|
|
57662
57662
|
return {
|
|
57663
57663
|
type: Tp,
|
|
57664
57664
|
start: J,
|
|
@@ -57722,7 +57722,7 @@ function ht(e, t) {
|
|
|
57722
57722
|
function sb(e) {
|
|
57723
57723
|
e.type === Tp && ht(e, P5e), e.type === bc && ht(e, I5e), e.type === Mp && ht(e, L5e), e.type === Vu && ht(e, z5e), e.type === zl && ht(e, B5e), ht(e, Nn, e.value);
|
|
57724
57724
|
}
|
|
57725
|
-
function
|
|
57725
|
+
function lr(e) {
|
|
57726
57726
|
const t = Vr();
|
|
57727
57727
|
(t.type !== jr || t.value !== e) && sb(t);
|
|
57728
57728
|
}
|
|
@@ -57734,8 +57734,8 @@ function ox(e) {
|
|
|
57734
57734
|
}
|
|
57735
57735
|
function l6e() {
|
|
57736
57736
|
const e = [];
|
|
57737
|
-
for (J = St.start,
|
|
57738
|
-
Bt(",") ? (Vr(), e.push(null)) : (e.push(Yu()), Bt("]") ||
|
|
57737
|
+
for (J = St.start, lr("["); !Bt("]"); )
|
|
57738
|
+
Bt(",") ? (Vr(), e.push(null)) : (e.push(Yu()), Bt("]") || lr(","));
|
|
57739
57739
|
return Vr(), r6e(e);
|
|
57740
57740
|
}
|
|
57741
57741
|
function pN() {
|
|
@@ -57746,22 +57746,22 @@ function pN() {
|
|
|
57746
57746
|
function u6e() {
|
|
57747
57747
|
var e, t, n, r;
|
|
57748
57748
|
if (J = St.start, e = St, e.type === Vu)
|
|
57749
|
-
return n = pN(),
|
|
57749
|
+
return n = pN(), lr(":"), r = Yu(), hN("init", n, r);
|
|
57750
57750
|
if (e.type === Tp || e.type === jr)
|
|
57751
57751
|
sb(e);
|
|
57752
57752
|
else
|
|
57753
|
-
return t = pN(),
|
|
57753
|
+
return t = pN(), lr(":"), r = Yu(), hN("init", t, r);
|
|
57754
57754
|
}
|
|
57755
57755
|
function c6e() {
|
|
57756
57756
|
var e = [], t, n, r, i = {}, a = String;
|
|
57757
|
-
for (J = St.start,
|
|
57758
|
-
t = u6e(), t.key.type === Gq ? n = t.key.name : n = a(t.key.value), r = "$" + n, Object.prototype.hasOwnProperty.call(i, r) ? ht({}, U5e) : i[r] = !0, e.push(t), Bt("}") ||
|
|
57759
|
-
return
|
|
57757
|
+
for (J = St.start, lr("{"); !Bt("}"); )
|
|
57758
|
+
t = u6e(), t.key.type === Gq ? n = t.key.name : n = a(t.key.value), r = "$" + n, Object.prototype.hasOwnProperty.call(i, r) ? ht({}, U5e) : i[r] = !0, e.push(t), Bt("}") || lr(",");
|
|
57759
|
+
return lr("}"), o6e(e);
|
|
57760
57760
|
}
|
|
57761
57761
|
function f6e() {
|
|
57762
|
-
|
|
57762
|
+
lr("(");
|
|
57763
57763
|
const e = ZE();
|
|
57764
|
-
return
|
|
57764
|
+
return lr(")"), e;
|
|
57765
57765
|
}
|
|
57766
57766
|
const d6e = {
|
|
57767
57767
|
if: 1
|
|
@@ -57787,10 +57787,10 @@ function h6e() {
|
|
|
57787
57787
|
}
|
|
57788
57788
|
function p6e() {
|
|
57789
57789
|
const e = [];
|
|
57790
|
-
if (
|
|
57791
|
-
for (; J <
|
|
57792
|
-
|
|
57793
|
-
return
|
|
57790
|
+
if (lr("("), !Bt(")"))
|
|
57791
|
+
for (; J < sr && (e.push(Yu()), !Bt(")")); )
|
|
57792
|
+
lr(",");
|
|
57793
|
+
return lr(")"), e;
|
|
57794
57794
|
}
|
|
57795
57795
|
function m6e() {
|
|
57796
57796
|
J = St.start;
|
|
@@ -57798,12 +57798,12 @@ function m6e() {
|
|
|
57798
57798
|
return n6e(e) || sb(e), KE(e.value);
|
|
57799
57799
|
}
|
|
57800
57800
|
function g6e() {
|
|
57801
|
-
return
|
|
57801
|
+
return lr("."), m6e();
|
|
57802
57802
|
}
|
|
57803
57803
|
function y6e() {
|
|
57804
|
-
|
|
57804
|
+
lr("[");
|
|
57805
57805
|
const e = ZE();
|
|
57806
|
-
return
|
|
57806
|
+
return lr("]"), e;
|
|
57807
57807
|
}
|
|
57808
57808
|
function b6e() {
|
|
57809
57809
|
var e, t, n;
|
|
@@ -57907,7 +57907,7 @@ function v6e() {
|
|
|
57907
57907
|
}
|
|
57908
57908
|
function Yu() {
|
|
57909
57909
|
var e, t, n;
|
|
57910
|
-
return e = v6e(), Bt("?") && (Vr(), t = Yu(),
|
|
57910
|
+
return e = v6e(), Bt("?") && (Vr(), t = Yu(), lr(":"), n = Yu(), e = a6e(e, t, n)), e;
|
|
57911
57911
|
}
|
|
57912
57912
|
function ZE() {
|
|
57913
57913
|
const e = Yu();
|
|
@@ -57916,7 +57916,7 @@ function ZE() {
|
|
|
57916
57916
|
return e;
|
|
57917
57917
|
}
|
|
57918
57918
|
function Qq(e) {
|
|
57919
|
-
Oe = e, J = 0,
|
|
57919
|
+
Oe = e, J = 0, sr = Oe.length, St = null, Zq();
|
|
57920
57920
|
const t = ZE();
|
|
57921
57921
|
if (St.type !== Tp)
|
|
57922
57922
|
throw new Error("Unexpect token after expression.");
|
|
@@ -58072,12 +58072,12 @@ function tH(e) {
|
|
|
58072
58072
|
}
|
|
58073
58073
|
const yN = Symbol("vega_selection_getter");
|
|
58074
58074
|
function nH(e) {
|
|
58075
|
-
return (!e.getter || !e.getter[yN]) && (e.getter =
|
|
58075
|
+
return (!e.getter || !e.getter[yN]) && (e.getter = Vi(e.field), e.getter[yN] = !0), e.getter;
|
|
58076
58076
|
}
|
|
58077
|
-
const QE = "intersect", bN = "union", w6e = "vlMulti", E6e = "vlPoint", vN = "or", _6e = "and", Va = "_vgsid_", $h =
|
|
58077
|
+
const QE = "intersect", bN = "union", w6e = "vlMulti", E6e = "vlPoint", vN = "or", _6e = "and", Va = "_vgsid_", $h = Vi(Va), k6e = "E", S6e = "R", A6e = "R-E", C6e = "R-LE", T6e = "R-RE", M6e = "E-LT", N6e = "E-LTE", D6e = "E-GT", O6e = "E-GTE", R6e = "E-VALID", $6e = "E-ONE", my = "index:unit";
|
|
58078
58078
|
function xN(e, t) {
|
|
58079
58079
|
for (var n = t.fields, r = t.values, i = n.length, a = 0, o, s; a < i; ++a)
|
|
58080
|
-
if (s = n[a], o = nH(s)(e), sl(o) && (o =
|
|
58080
|
+
if (s = n[a], o = nH(s)(e), sl(o) && (o = rr(o)), sl(r[a]) && (r[a] = rr(r[a])), ne(r[a]) && sl(r[a][0]) && (r[a] = r[a].map(rr)), s.type === k6e) {
|
|
58081
58081
|
if (ne(r[a]) ? !r[a].includes(o) : o !== r[a])
|
|
58082
58082
|
return !1;
|
|
58083
58083
|
} else if (s.type === S6e) {
|
|
@@ -58164,11 +58164,11 @@ var sx = {
|
|
|
58164
58164
|
return e.length ? e.filter((n) => t.includes(n)) : t;
|
|
58165
58165
|
},
|
|
58166
58166
|
R_union: function(e, t) {
|
|
58167
|
-
var n =
|
|
58167
|
+
var n = rr(t[0]), r = rr(t[1]);
|
|
58168
58168
|
return n > r && (n = t[1], r = t[0]), e.length ? (e[0] > n && (e[0] = n), e[1] < r && (e[1] = r), e) : [n, r];
|
|
58169
58169
|
},
|
|
58170
58170
|
R_intersect: function(e, t) {
|
|
58171
|
-
var n =
|
|
58171
|
+
var n = rr(t[0]), r = rr(t[1]);
|
|
58172
58172
|
return n > r && (n = t[1], r = t[0]), e.length ? r < e[0] || e[1] < n ? [] : (e[0] < n && (e[0] = n), e[1] > r && (e[1] = r), e) : [n, r];
|
|
58173
58173
|
}
|
|
58174
58174
|
};
|
|
@@ -58188,7 +58188,7 @@ function H6e(e, t, n) {
|
|
|
58188
58188
|
}
|
|
58189
58189
|
function j6e(e, t) {
|
|
58190
58190
|
const n = this.context.dataflow, r = this.context.data[e], i = r.input;
|
|
58191
|
-
return n.pulse(i, n.changeset().remove(
|
|
58191
|
+
return n.pulse(i, n.changeset().remove(Yi).insert(t)), 1;
|
|
58192
58192
|
}
|
|
58193
58193
|
function W6e(e, t, n) {
|
|
58194
58194
|
if (e) {
|
|
@@ -58344,7 +58344,7 @@ function m7e(e, t, n, r, i, a) {
|
|
|
58344
58344
|
return 0;
|
|
58345
58345
|
if ((!c || c.stamp < u) && (s.changes = c = o.changeset(), c.stamp = u, o.runAfter(() => {
|
|
58346
58346
|
s.modified = !0, o.pulse(l, c).run();
|
|
58347
|
-
}, !0, 1)), n && (f = n === !0 ?
|
|
58347
|
+
}, !0, 1)), n && (f = n === !0 ? Yi : ne(n) || y2(n) ? n : EN(n), c.remove(f)), t && c.insert(t), r && (f = EN(r), l.value.some(f) ? c.remove(f) : c.insert(r)), i)
|
|
58348
58348
|
for (d in a)
|
|
58349
58349
|
c.modify(i, d, a[d]);
|
|
58350
58350
|
return 1;
|
|
@@ -58359,7 +58359,7 @@ function y7e(e) {
|
|
|
58359
58359
|
}
|
|
58360
58360
|
const _N = {};
|
|
58361
58361
|
function b7e(e, t) {
|
|
58362
|
-
const n = _N[t] || (_N[t] =
|
|
58362
|
+
const n = _N[t] || (_N[t] = Vi(t));
|
|
58363
58363
|
return ne(e) ? e.map(n) : n(e);
|
|
58364
58364
|
}
|
|
58365
58365
|
function ub(e) {
|
|
@@ -58427,7 +58427,7 @@ function O7e(e, t, n) {
|
|
|
58427
58427
|
function R7e(e, t, n, r, i) {
|
|
58428
58428
|
e = To(e, (i || this).context);
|
|
58429
58429
|
const a = ZB(t, n);
|
|
58430
|
-
let o = e.domain(), s = o[0], l = ct(o), u =
|
|
58430
|
+
let o = e.domain(), s = o[0], l = ct(o), u = fr;
|
|
58431
58431
|
return l - s ? u = BB(e, s, l) : e = (e.interpolator ? yt("sequential")().interpolator(e.interpolator()) : yt("linear")().interpolate(e.interpolate()).range(e.range())).domain([s = 0, l = 1]), e.ticks && (o = e.ticks(+r || 15), s !== o[0] && o.unshift(s), l !== ct(o) && o.push(l)), o.forEach((c) => a.stop(u(c), e(c))), a;
|
|
58432
58432
|
}
|
|
58433
58433
|
function $7e(e, t, n) {
|
|
@@ -58513,7 +58513,7 @@ function W7e(e, t, n) {
|
|
|
58513
58513
|
}
|
|
58514
58514
|
const Fh = {
|
|
58515
58515
|
random() {
|
|
58516
|
-
return
|
|
58516
|
+
return Ki();
|
|
58517
58517
|
},
|
|
58518
58518
|
// override default
|
|
58519
58519
|
cumulativeNormal: E2,
|
|
@@ -58547,7 +58547,7 @@ const Fh = {
|
|
|
58547
58547
|
return G7(e);
|
|
58548
58548
|
},
|
|
58549
58549
|
// suppress extra arguments
|
|
58550
|
-
toNumber:
|
|
58550
|
+
toNumber: rr,
|
|
58551
58551
|
toString: V7,
|
|
58552
58552
|
indexof: x7e,
|
|
58553
58553
|
join: v7e,
|
|
@@ -58842,7 +58842,7 @@ function swe(e, t) {
|
|
|
58842
58842
|
function lwe(e, t) {
|
|
58843
58843
|
if (!e.$field) return null;
|
|
58844
58844
|
const n = "f:" + e.$field + "_" + e.$name;
|
|
58845
|
-
return t.fn[n] || (t.fn[n] =
|
|
58845
|
+
return t.fn[n] || (t.fn[n] = Vi(e.$field, e.$name, t.expr.codegen));
|
|
58846
58846
|
}
|
|
58847
58847
|
function uwe(e, t) {
|
|
58848
58848
|
const n = "c:" + e.$compare + "_" + e.$order, r = we(e.$compare).map((i) => i && i.$tupleid ? ze : i);
|
|
@@ -58903,7 +58903,7 @@ function bwe(e) {
|
|
|
58903
58903
|
Object.keys(i || {}).forEach((a) => {
|
|
58904
58904
|
n.update(t.signals[a], i[a], gwe);
|
|
58905
58905
|
}), Object.keys(r || {}).forEach((a) => {
|
|
58906
|
-
n.pulse(t.data[a].input, n.changeset().remove(
|
|
58906
|
+
n.pulse(t.data[a].input, n.changeset().remove(Yi).insert(r[a]));
|
|
58907
58907
|
}), (e.subcontext || []).forEach((a, o) => {
|
|
58908
58908
|
const s = t.subcontext[o];
|
|
58909
58909
|
s && s.setState(a);
|
|
@@ -59033,7 +59033,7 @@ function gy(e, t) {
|
|
|
59033
59033
|
return Se(n, t) || te("Unrecognized data set: " + t), n[t];
|
|
59034
59034
|
}
|
|
59035
59035
|
function Ewe(e, t) {
|
|
59036
|
-
return arguments.length < 2 ? gy(this, e).values.value : cb.call(this, e, mc().remove(
|
|
59036
|
+
return arguments.length < 2 ? gy(this, e).values.value : cb.call(this, e, mc().remove(Yi).insert(t));
|
|
59037
59037
|
}
|
|
59038
59038
|
function cb(e, t) {
|
|
59039
59039
|
OL(t) || te("Second argument to changes must be a changeset.");
|
|
@@ -59094,8 +59094,8 @@ function Cwe(e, t, n) {
|
|
|
59094
59094
|
return s;
|
|
59095
59095
|
}
|
|
59096
59096
|
return {
|
|
59097
|
-
view:
|
|
59098
|
-
item:
|
|
59097
|
+
view: dr(e),
|
|
59098
|
+
item: dr(t || {}),
|
|
59099
59099
|
group: i,
|
|
59100
59100
|
xy: a,
|
|
59101
59101
|
x: (o) => a(o)[0],
|
|
@@ -60070,13 +60070,13 @@ function $Ee(e, t) {
|
|
|
60070
60070
|
let r;
|
|
60071
60071
|
n.domain = KH(e.domain, e, t), e.range != null && (n.range = QH(e, t, n)), e.interpolate != null && jEe(e.interpolate, n), e.nice != null && (n.nice = HEe(e.nice, t)), e.bins != null && (n.bins = qEe(e.bins, t));
|
|
60072
60072
|
for (r in e)
|
|
60073
|
-
Se(n, r) || r === "name" || (n[r] =
|
|
60073
|
+
Se(n, r) || r === "name" || (n[r] = Pi(e[r], t));
|
|
60074
60074
|
}
|
|
60075
|
-
function
|
|
60075
|
+
function Pi(e, t) {
|
|
60076
60076
|
return Ee(e) ? e.signal ? t.signalRef(e.signal) : te("Unsupported object: " + me(e)) : e;
|
|
60077
60077
|
}
|
|
60078
60078
|
function z1(e, t) {
|
|
60079
|
-
return e.signal ? t.signalRef(e.signal) : e.map((n) =>
|
|
60079
|
+
return e.signal ? t.signalRef(e.signal) : e.map((n) => Pi(n, t));
|
|
60080
60080
|
}
|
|
60081
60081
|
function mb(e) {
|
|
60082
60082
|
te("Can not find data set: " + me(e));
|
|
@@ -60089,7 +60089,7 @@ function KH(e, t, n) {
|
|
|
60089
60089
|
return e.signal ? n.signalRef(e.signal) : (ne(e) ? FEe : e.fields ? LEe : IEe)(e, t, n);
|
|
60090
60090
|
}
|
|
60091
60091
|
function FEe(e, t, n) {
|
|
60092
|
-
return e.map((r) =>
|
|
60092
|
+
return e.map((r) => Pi(r, n));
|
|
60093
60093
|
}
|
|
60094
60094
|
function IEe(e, t, n) {
|
|
60095
60095
|
const r = n.getData(e.data);
|
|
@@ -60165,12 +60165,12 @@ function qEe(e, t) {
|
|
|
60165
60165
|
}
|
|
60166
60166
|
function HEe(e, t) {
|
|
60167
60167
|
return e.signal ? t.signalRef(e.signal) : Ee(e) ? {
|
|
60168
|
-
interval:
|
|
60169
|
-
step:
|
|
60170
|
-
} :
|
|
60168
|
+
interval: Pi(e.interval),
|
|
60169
|
+
step: Pi(e.step)
|
|
60170
|
+
} : Pi(e);
|
|
60171
60171
|
}
|
|
60172
60172
|
function jEe(e, t) {
|
|
60173
|
-
t.interpolate =
|
|
60173
|
+
t.interpolate = Pi(e.type || e), e.gamma != null && (t.interpolateGamma = Pi(e.gamma));
|
|
60174
60174
|
}
|
|
60175
60175
|
function QH(e, t, n) {
|
|
60176
60176
|
const r = t.config.range;
|
|
@@ -60190,17 +60190,17 @@ function QH(e, t, n) {
|
|
|
60190
60190
|
signal: "height"
|
|
60191
60191
|
}, 0] : te("Unrecognized scale range value: " + me(i));
|
|
60192
60192
|
} else if (i.scheme) {
|
|
60193
|
-
n.scheme = ne(i.scheme) ? z1(i.scheme, t) :
|
|
60193
|
+
n.scheme = ne(i.scheme) ? z1(i.scheme, t) : Pi(i.scheme, t), i.extent && (n.schemeExtent = z1(i.extent, t)), i.count && (n.schemeCount = Pi(i.count, t));
|
|
60194
60194
|
return;
|
|
60195
60195
|
} else if (i.step) {
|
|
60196
|
-
n.rangeStep =
|
|
60196
|
+
n.rangeStep = Pi(i.step, t);
|
|
60197
60197
|
return;
|
|
60198
60198
|
} else {
|
|
60199
60199
|
if (Ff(e.type) && !ne(i))
|
|
60200
60200
|
return KH(i, e, t);
|
|
60201
60201
|
ne(i) || te("Unsupported range type: " + me(i));
|
|
60202
60202
|
}
|
|
60203
|
-
return i.map((a) => (ne(a) ? z1 :
|
|
60203
|
+
return i.map((a) => (ne(a) ? z1 : Pi)(a, t));
|
|
60204
60204
|
}
|
|
60205
60205
|
function WEe(e, t) {
|
|
60206
60206
|
const n = t.config.projection || {}, r = {};
|
|
@@ -60213,13 +60213,13 @@ function WEe(e, t) {
|
|
|
60213
60213
|
function K5(e, t, n) {
|
|
60214
60214
|
return ne(e) ? e.map((r) => K5(r, t, n)) : Ee(e) ? e.signal ? n.signalRef(e.signal) : t === "fit" ? e : te("Unsupported parameter object: " + me(e)) : e;
|
|
60215
60215
|
}
|
|
60216
|
-
const Da = "top", M0 = "left", N0 = "right", Sl = "bottom", JH = "center", GEe = "vertical", VEe = "start", YEe = "middle", XEe = "end", Z5 = "index", p9 = "label", KEe = "offset", jf = "perc", ZEe = "perc2",
|
|
60216
|
+
const Da = "top", M0 = "left", N0 = "right", Sl = "bottom", JH = "center", GEe = "vertical", VEe = "start", YEe = "middle", XEe = "end", Z5 = "index", p9 = "label", KEe = "offset", jf = "perc", ZEe = "perc2", Hi = "value", Op = "guide-label", m9 = "guide-title", QEe = "group-title", JEe = "group-subtitle", UN = "symbol", B1 = "gradient", Q5 = "discrete", J5 = "size", e9e = "shape", t9e = "fill", n9e = "stroke", r9e = "strokeWidth", i9e = "strokeDash", a9e = "opacity", g9 = [J5, e9e, t9e, n9e, r9e, i9e, a9e], Rp = {
|
|
60217
60217
|
name: 1,
|
|
60218
60218
|
style: 1,
|
|
60219
60219
|
interactive: 1
|
|
60220
60220
|
}, ft = {
|
|
60221
60221
|
value: 0
|
|
60222
|
-
},
|
|
60222
|
+
}, ji = {
|
|
60223
60223
|
value: 1
|
|
60224
60224
|
}, gb = "group", ej = "rect", y9 = "rule", o9e = "symbol", xc = "text";
|
|
60225
60225
|
function zh(e) {
|
|
@@ -60280,7 +60280,7 @@ function u9e(e, t, n, r) {
|
|
|
60280
60280
|
height: Dn(d)
|
|
60281
60281
|
},
|
|
60282
60282
|
update: Ze({}, l, {
|
|
60283
|
-
opacity:
|
|
60283
|
+
opacity: ji,
|
|
60284
60284
|
fill: {
|
|
60285
60285
|
gradient: t,
|
|
60286
60286
|
start: u,
|
|
@@ -60311,7 +60311,7 @@ function c9e(e, t, n, r, i) {
|
|
|
60311
60311
|
opacity: ft,
|
|
60312
60312
|
fill: {
|
|
60313
60313
|
scale: t,
|
|
60314
|
-
field:
|
|
60314
|
+
field: Hi
|
|
60315
60315
|
}
|
|
60316
60316
|
};
|
|
60317
60317
|
p[u] = {
|
|
@@ -60324,7 +60324,7 @@ function c9e(e, t, n, r, i) {
|
|
|
60324
60324
|
const m = {
|
|
60325
60325
|
enter: p,
|
|
60326
60326
|
update: Ze({}, p, {
|
|
60327
|
-
opacity:
|
|
60327
|
+
opacity: ji
|
|
60328
60328
|
}),
|
|
60329
60329
|
exit: {
|
|
60330
60330
|
opacity: ft
|
|
@@ -60339,7 +60339,7 @@ function c9e(e, t, n, r, i) {
|
|
|
60339
60339
|
}), Si({
|
|
60340
60340
|
type: ej,
|
|
60341
60341
|
role: $8e,
|
|
60342
|
-
key:
|
|
60342
|
+
key: Hi,
|
|
60343
60343
|
from: i,
|
|
60344
60344
|
encode: m
|
|
60345
60345
|
}, r);
|
|
@@ -60353,7 +60353,7 @@ function qN(e, t, n, r) {
|
|
|
60353
60353
|
opacity: ft
|
|
60354
60354
|
},
|
|
60355
60355
|
update: c = {
|
|
60356
|
-
opacity:
|
|
60356
|
+
opacity: ji,
|
|
60357
60357
|
text: {
|
|
60358
60358
|
field: p9
|
|
60359
60359
|
}
|
|
@@ -60389,7 +60389,7 @@ function qN(e, t, n, r) {
|
|
|
60389
60389
|
type: xc,
|
|
60390
60390
|
role: LH,
|
|
60391
60391
|
style: Op,
|
|
60392
|
-
key:
|
|
60392
|
+
key: Hi,
|
|
60393
60393
|
from: r,
|
|
60394
60394
|
encode: p,
|
|
60395
60395
|
overlap: l
|
|
@@ -60413,7 +60413,7 @@ function h9e(e, t, n, r, i) {
|
|
|
60413
60413
|
y: h
|
|
60414
60414
|
},
|
|
60415
60415
|
update: b = {
|
|
60416
|
-
opacity:
|
|
60416
|
+
opacity: ji,
|
|
60417
60417
|
x: y.x,
|
|
60418
60418
|
y: y.y
|
|
60419
60419
|
},
|
|
@@ -60436,13 +60436,13 @@ function h9e(e, t, n, r, i) {
|
|
|
60436
60436
|
}), g9.forEach((T) => {
|
|
60437
60437
|
e[T] && (b[T] = y[T] = {
|
|
60438
60438
|
scale: e[T],
|
|
60439
|
-
field:
|
|
60439
|
+
field: Hi
|
|
60440
60440
|
});
|
|
60441
60441
|
});
|
|
60442
60442
|
const S = Si({
|
|
60443
60443
|
type: o9e,
|
|
60444
60444
|
role: L8e,
|
|
60445
|
-
key:
|
|
60445
|
+
key: Hi,
|
|
60446
60446
|
from: f,
|
|
60447
60447
|
clip: u ? !0 : void 0,
|
|
60448
60448
|
encode: g
|
|
@@ -60457,7 +60457,7 @@ function h9e(e, t, n, r, i) {
|
|
|
60457
60457
|
y: h
|
|
60458
60458
|
},
|
|
60459
60459
|
update: b = {
|
|
60460
|
-
opacity:
|
|
60460
|
+
opacity: ji,
|
|
60461
60461
|
text: {
|
|
60462
60462
|
field: p9
|
|
60463
60463
|
},
|
|
@@ -60482,7 +60482,7 @@ function h9e(e, t, n, r, i) {
|
|
|
60482
60482
|
type: xc,
|
|
60483
60483
|
role: LH,
|
|
60484
60484
|
style: Op,
|
|
60485
|
-
key:
|
|
60485
|
+
key: Hi,
|
|
60486
60486
|
from: f,
|
|
60487
60487
|
encode: g
|
|
60488
60488
|
}, n.labels);
|
|
@@ -60500,7 +60500,7 @@ function h9e(e, t, n, r, i) {
|
|
|
60500
60500
|
opacity: ft
|
|
60501
60501
|
},
|
|
60502
60502
|
update: b = {
|
|
60503
|
-
opacity:
|
|
60503
|
+
opacity: ji,
|
|
60504
60504
|
row: {
|
|
60505
60505
|
signal: null
|
|
60506
60506
|
},
|
|
@@ -60550,7 +60550,7 @@ function E9e(e, t, n, r) {
|
|
|
60550
60550
|
opacity: ft
|
|
60551
60551
|
},
|
|
60552
60552
|
update: {
|
|
60553
|
-
opacity:
|
|
60553
|
+
opacity: ji,
|
|
60554
60554
|
x: {
|
|
60555
60555
|
field: {
|
|
60556
60556
|
group: "padding"
|
|
@@ -61228,7 +61228,7 @@ function a_e(e, t, n, r) {
|
|
|
61228
61228
|
opacity: ft
|
|
61229
61229
|
},
|
|
61230
61230
|
update: s = {
|
|
61231
|
-
opacity:
|
|
61231
|
+
opacity: ji
|
|
61232
61232
|
},
|
|
61233
61233
|
exit: {
|
|
61234
61234
|
opacity: ft
|
|
@@ -61264,7 +61264,7 @@ function o_e(e, t, n, r, i) {
|
|
|
61264
61264
|
opacity: ft
|
|
61265
61265
|
},
|
|
61266
61266
|
update: d = {
|
|
61267
|
-
opacity:
|
|
61267
|
+
opacity: ji
|
|
61268
61268
|
},
|
|
61269
61269
|
exit: f = {
|
|
61270
61270
|
opacity: ft
|
|
@@ -61280,7 +61280,7 @@ function o_e(e, t, n, r, i) {
|
|
|
61280
61280
|
});
|
|
61281
61281
|
const p = {
|
|
61282
61282
|
scale: e.scale,
|
|
61283
|
-
field:
|
|
61283
|
+
field: Hi,
|
|
61284
61284
|
band: i.band,
|
|
61285
61285
|
extra: i.extra,
|
|
61286
61286
|
offset: i.offset,
|
|
@@ -61309,7 +61309,7 @@ function o_e(e, t, n, r, i) {
|
|
|
61309
61309
|
return c.x = d.x = On(o, p, g), c.y = d.y = ba(o, p, g), c.x2 = d.x2 = ba(o, y), c.y2 = d.y2 = On(o, y), f.x = On(o, p), f.y = ba(o, p), Si({
|
|
61310
61310
|
type: y9,
|
|
61311
61311
|
role: M8e,
|
|
61312
|
-
key:
|
|
61312
|
+
key: Hi,
|
|
61313
61313
|
from: r,
|
|
61314
61314
|
encode: h
|
|
61315
61315
|
}, n);
|
|
@@ -61340,7 +61340,7 @@ function l_e(e, t, n, r, i, a) {
|
|
|
61340
61340
|
opacity: ft
|
|
61341
61341
|
},
|
|
61342
61342
|
update: f = {
|
|
61343
|
-
opacity:
|
|
61343
|
+
opacity: ji
|
|
61344
61344
|
},
|
|
61345
61345
|
exit: c = {
|
|
61346
61346
|
opacity: ft
|
|
@@ -61358,7 +61358,7 @@ function l_e(e, t, n, r, i, a) {
|
|
|
61358
61358
|
h.mult = l;
|
|
61359
61359
|
const p = {
|
|
61360
61360
|
scale: e.scale,
|
|
61361
|
-
field:
|
|
61361
|
+
field: Hi,
|
|
61362
61362
|
band: a.band,
|
|
61363
61363
|
extra: a.extra,
|
|
61364
61364
|
offset: a.offset,
|
|
@@ -61367,7 +61367,7 @@ function l_e(e, t, n, r, i, a) {
|
|
|
61367
61367
|
return f.y = u.y = On(s, ft, p), f.y2 = u.y2 = On(s, h), c.x = On(s, p), f.x = u.x = ba(s, ft, p), f.x2 = u.x2 = ba(s, h), c.y = ba(s, p), Si({
|
|
61368
61368
|
type: y9,
|
|
61369
61369
|
role: D8e,
|
|
61370
|
-
key:
|
|
61370
|
+
key: Hi,
|
|
61371
61371
|
from: r,
|
|
61372
61372
|
encode: d
|
|
61373
61373
|
}, n);
|
|
@@ -61384,7 +61384,7 @@ function u_e(e, t, n, r, i, a) {
|
|
|
61384
61384
|
g.mult = u, g.offset = Dn(o("labelPadding") || 0), g.offset.mult = u;
|
|
61385
61385
|
const y = {
|
|
61386
61386
|
scale: l,
|
|
61387
|
-
field:
|
|
61387
|
+
field: Hi,
|
|
61388
61388
|
band: 0.5,
|
|
61389
61389
|
offset: nj(a.offset, o("labelOffset"))
|
|
61390
61390
|
}, b = On(s, p ? hx(l, c, '"left"', '"right"', '"center"') : {
|
|
@@ -61400,7 +61400,7 @@ function u_e(e, t, n, r, i, a) {
|
|
|
61400
61400
|
}, _ = {
|
|
61401
61401
|
enter: E,
|
|
61402
61402
|
update: m = {
|
|
61403
|
-
opacity:
|
|
61403
|
+
opacity: ji,
|
|
61404
61404
|
text: {
|
|
61405
61405
|
field: p9
|
|
61406
61406
|
},
|
|
@@ -61447,7 +61447,7 @@ function u_e(e, t, n, r, i, a) {
|
|
|
61447
61447
|
type: xc,
|
|
61448
61448
|
role: N8e,
|
|
61449
61449
|
style: Op,
|
|
61450
|
-
key:
|
|
61450
|
+
key: Hi,
|
|
61451
61451
|
from: r,
|
|
61452
61452
|
encode: _,
|
|
61453
61453
|
overlap: N
|
|
@@ -61465,7 +61465,7 @@ function c_e(e, t, n, r) {
|
|
|
61465
61465
|
}
|
|
61466
61466
|
},
|
|
61467
61467
|
update: l = Ze({}, s, {
|
|
61468
|
-
opacity:
|
|
61468
|
+
opacity: ji,
|
|
61469
61469
|
text: Dn(e.title)
|
|
61470
61470
|
}),
|
|
61471
61471
|
exit: {
|
|
@@ -62075,7 +62075,7 @@ const E_e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
62075
62075
|
CanvasHandler: _p,
|
|
62076
62076
|
CanvasRenderer: Fg,
|
|
62077
62077
|
DATE: Jr,
|
|
62078
|
-
DAY:
|
|
62078
|
+
DAY: tr,
|
|
62079
62079
|
DAYOFYEAR: fo,
|
|
62080
62080
|
Dataflow: df,
|
|
62081
62081
|
Debug: iI,
|
|
@@ -62091,7 +62091,7 @@ const E_e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
62091
62091
|
Item: q2,
|
|
62092
62092
|
MILLISECONDS: wa,
|
|
62093
62093
|
MINUTES: _i,
|
|
62094
|
-
MONTH:
|
|
62094
|
+
MONTH: or,
|
|
62095
62095
|
Marks: ki,
|
|
62096
62096
|
MultiPulse: sw,
|
|
62097
62097
|
None: nI,
|
|
@@ -62102,7 +62102,7 @@ const E_e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
62102
62102
|
RenderType: tl,
|
|
62103
62103
|
Renderer: Ep,
|
|
62104
62104
|
ResourceLoader: iP,
|
|
62105
|
-
SECONDS:
|
|
62105
|
+
SECONDS: Xi,
|
|
62106
62106
|
SVGHandler: MP,
|
|
62107
62107
|
SVGRenderer: J8,
|
|
62108
62108
|
SVGStringRenderer: UP,
|
|
@@ -62114,7 +62114,7 @@ const E_e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
62114
62114
|
Warn: I7,
|
|
62115
62115
|
YEAR: Wn,
|
|
62116
62116
|
accessor: oi,
|
|
62117
|
-
accessorFields:
|
|
62117
|
+
accessorFields: ar,
|
|
62118
62118
|
accessorName: on,
|
|
62119
62119
|
array: we,
|
|
62120
62120
|
ascending: rp,
|
|
@@ -62130,7 +62130,7 @@ const E_e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
62130
62130
|
clampRange: mI,
|
|
62131
62131
|
codegenExpression: tH,
|
|
62132
62132
|
compare: U7,
|
|
62133
|
-
constant:
|
|
62133
|
+
constant: dr,
|
|
62134
62134
|
cumulativeLogNormal: yw,
|
|
62135
62135
|
cumulativeNormal: E2,
|
|
62136
62136
|
cumulativeUniform: ww,
|
|
@@ -62142,7 +62142,7 @@ const E_e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
62142
62142
|
densityNormal: dw,
|
|
62143
62143
|
densityUniform: xw,
|
|
62144
62144
|
domChild: xn,
|
|
62145
|
-
domClear:
|
|
62145
|
+
domClear: Fi,
|
|
62146
62146
|
domCreate: Js,
|
|
62147
62147
|
domFind: G8,
|
|
62148
62148
|
dotbin: PL,
|
|
@@ -62153,7 +62153,7 @@ const E_e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
62153
62153
|
extentIndex: gI,
|
|
62154
62154
|
falsy: Ps,
|
|
62155
62155
|
fastmap: y0,
|
|
62156
|
-
field:
|
|
62156
|
+
field: Vi,
|
|
62157
62157
|
flush: yI,
|
|
62158
62158
|
font: Y2,
|
|
62159
62159
|
fontFamily: wp,
|
|
@@ -62163,7 +62163,7 @@ const E_e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
62163
62163
|
formats: aw,
|
|
62164
62164
|
hasOwnProperty: Se,
|
|
62165
62165
|
id: np,
|
|
62166
|
-
identity:
|
|
62166
|
+
identity: fr,
|
|
62167
62167
|
inferType: kL,
|
|
62168
62168
|
inferTypes: SL,
|
|
62169
62169
|
ingest: vt,
|
|
@@ -62226,7 +62226,7 @@ const E_e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
62226
62226
|
quarter: hI,
|
|
62227
62227
|
quartiles: cw,
|
|
62228
62228
|
get random() {
|
|
62229
|
-
return
|
|
62229
|
+
return Ki;
|
|
62230
62230
|
},
|
|
62231
62231
|
randomInteger: phe,
|
|
62232
62232
|
randomKDE: pw,
|
|
@@ -62280,13 +62280,13 @@ const E_e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
62280
62280
|
timeUnits: Q7,
|
|
62281
62281
|
toBoolean: W7,
|
|
62282
62282
|
toDate: G7,
|
|
62283
|
-
toNumber:
|
|
62283
|
+
toNumber: rr,
|
|
62284
62284
|
toSet: xa,
|
|
62285
62285
|
toString: V7,
|
|
62286
62286
|
transform: IL,
|
|
62287
62287
|
transforms: Nf,
|
|
62288
62288
|
truncate: _I,
|
|
62289
|
-
truthy:
|
|
62289
|
+
truthy: Yi,
|
|
62290
62290
|
tupleid: ze,
|
|
62291
62291
|
typeParsers: O3,
|
|
62292
62292
|
utcFloor: JI,
|
|
@@ -62616,7 +62616,7 @@ function kt(e) {
|
|
|
62616
62616
|
function X_e(e) {
|
|
62617
62617
|
return e.replace(/(\[|\]|\.|'|")/g, "\\$1");
|
|
62618
62618
|
}
|
|
62619
|
-
function
|
|
62619
|
+
function Qi(e) {
|
|
62620
62620
|
return `${Eo(e).map(X_e).join("\\.")}`;
|
|
62621
62621
|
}
|
|
62622
62622
|
function Ku(e, t, n) {
|
|
@@ -62746,7 +62746,7 @@ function Dt(e) {
|
|
|
62746
62746
|
function le(e, t) {
|
|
62747
62747
|
return Ee(e) && Se(e, t) && e[t] !== void 0;
|
|
62748
62748
|
}
|
|
62749
|
-
const ss = "row", ls = "column", Eb = "facet", Vt = "x", Ln = "y", Oa = "x2", Mo = "y2", Pl = "xOffset", O0 = "yOffset", Ra = "radius", Ss = "radius2", ta = "theta", As = "theta2", $a = "latitude", Fa = "longitude", Ia = "latitude2",
|
|
62749
|
+
const ss = "row", ls = "column", Eb = "facet", Vt = "x", Ln = "y", Oa = "x2", Mo = "y2", Pl = "xOffset", O0 = "yOffset", Ra = "radius", Ss = "radius2", ta = "theta", As = "theta2", $a = "latitude", Fa = "longitude", Ia = "latitude2", Ji = "longitude2", Ul = "time", ti = "color", No = "fill", Do = "stroke", ni = "shape", Cs = "size", wc = "angle", Ts = "opacity", ql = "fillOpacity", Hl = "strokeOpacity", jl = "strokeWidth", Wl = "strokeDash", Fp = "text", Yf = "order", Ip = "detail", _b = "key", Zu = "tooltip", kb = "href", Sb = "url", Ab = "description", Z_e = {
|
|
62750
62750
|
x: 1,
|
|
62751
62751
|
y: 1,
|
|
62752
62752
|
x2: 1,
|
|
@@ -62774,7 +62774,7 @@ function Ej(e) {
|
|
|
62774
62774
|
return "y2";
|
|
62775
62775
|
case Fa:
|
|
62776
62776
|
return "x";
|
|
62777
|
-
case
|
|
62777
|
+
case Ji:
|
|
62778
62778
|
return "x2";
|
|
62779
62779
|
}
|
|
62780
62780
|
}
|
|
@@ -62819,7 +62819,7 @@ const kj = {
|
|
|
62819
62819
|
row: 1,
|
|
62820
62820
|
column: 1,
|
|
62821
62821
|
facet: 1
|
|
62822
|
-
},
|
|
62822
|
+
}, Ui = se(kj), R9 = {
|
|
62823
62823
|
...O9,
|
|
62824
62824
|
...kj
|
|
62825
62825
|
}, J_e = se(R9), { order: KFe, detail: ZFe, tooltip: QFe, ...eke } = R9, { row: JFe, column: eIe, facet: tIe, ...tke } = eke;
|
|
@@ -62829,7 +62829,7 @@ function nke(e) {
|
|
|
62829
62829
|
function Sj(e) {
|
|
62830
62830
|
return Se(R9, e);
|
|
62831
62831
|
}
|
|
62832
|
-
const rke = [Oa, Mo, Ia,
|
|
62832
|
+
const rke = [Oa, Mo, Ia, Ji, As, Ss];
|
|
62833
62833
|
function Aj(e) {
|
|
62834
62834
|
return Ec(e) !== e;
|
|
62835
62835
|
}
|
|
@@ -62841,7 +62841,7 @@ function Ec(e) {
|
|
|
62841
62841
|
return Ln;
|
|
62842
62842
|
case Ia:
|
|
62843
62843
|
return $a;
|
|
62844
|
-
case
|
|
62844
|
+
case Ji:
|
|
62845
62845
|
return Fa;
|
|
62846
62846
|
case As:
|
|
62847
62847
|
return ta;
|
|
@@ -62873,7 +62873,7 @@ function Oo(e) {
|
|
|
62873
62873
|
case $a:
|
|
62874
62874
|
return Ia;
|
|
62875
62875
|
case Fa:
|
|
62876
|
-
return
|
|
62876
|
+
return Ji;
|
|
62877
62877
|
case ta:
|
|
62878
62878
|
return As;
|
|
62879
62879
|
case Ra:
|
|
@@ -63064,7 +63064,7 @@ function pke(e) {
|
|
|
63064
63064
|
case Oa:
|
|
63065
63065
|
case Mo:
|
|
63066
63066
|
case Ia:
|
|
63067
|
-
case
|
|
63067
|
+
case Ji:
|
|
63068
63068
|
return {
|
|
63069
63069
|
area: "always",
|
|
63070
63070
|
bar: "always",
|
|
@@ -63156,7 +63156,7 @@ function mx(e) {
|
|
|
63156
63156
|
case $a:
|
|
63157
63157
|
case Fa:
|
|
63158
63158
|
case Ia:
|
|
63159
|
-
case
|
|
63159
|
+
case Ji:
|
|
63160
63160
|
case Ip:
|
|
63161
63161
|
case _b:
|
|
63162
63162
|
case Yf:
|
|
@@ -64943,7 +64943,7 @@ function xe(e, t = {}) {
|
|
|
64943
64943
|
}
|
|
64944
64944
|
o && (n = n ? `${o}_${n}` : o);
|
|
64945
64945
|
}
|
|
64946
|
-
return i && (n = `${n}_${i}`), r && (n = `${r}_${n}`), t.forAs ? D0(n) : t.expr ? mj(n, t.expr) + a :
|
|
64946
|
+
return i && (n = `${n}_${i}`), r && (n = `${r}_${n}`), t.forAs ? D0(n) : t.expr ? mj(n, t.expr) + a : Qi(n) + a;
|
|
64947
64947
|
}
|
|
64948
64948
|
function Ay(e) {
|
|
64949
64949
|
switch (e.type) {
|
|
@@ -65195,7 +65195,7 @@ function eCe(e, t) {
|
|
|
65195
65195
|
case Ab:
|
|
65196
65196
|
return Gc;
|
|
65197
65197
|
case Fa:
|
|
65198
|
-
case
|
|
65198
|
+
case Ji:
|
|
65199
65199
|
case $a:
|
|
65200
65200
|
case Ia:
|
|
65201
65201
|
return n !== ec ? {
|
|
@@ -65755,7 +65755,7 @@ function qW(e, t) {
|
|
|
65755
65755
|
case $a:
|
|
65756
65756
|
case Fa:
|
|
65757
65757
|
case Ia:
|
|
65758
|
-
case
|
|
65758
|
+
case Ji:
|
|
65759
65759
|
case Fp:
|
|
65760
65760
|
case ni:
|
|
65761
65761
|
case wc:
|
|
@@ -68148,7 +68148,7 @@ class io extends Ct {
|
|
|
68148
68148
|
if (wx(n)) {
|
|
68149
68149
|
const { field: a, as: o } = n, { unit: s, utc: l, ...u } = i, c = [o, `${o}_end`];
|
|
68150
68150
|
t.push({
|
|
68151
|
-
field:
|
|
68151
|
+
field: Qi(a),
|
|
68152
68152
|
type: "timeunit",
|
|
68153
68153
|
...s ? { units: Db(s) } : {},
|
|
68154
68154
|
...l ? { timezone: "utc" } : {},
|
|
@@ -68351,9 +68351,9 @@ const HTe = {
|
|
|
68351
68351
|
};
|
|
68352
68352
|
function AG(e) {
|
|
68353
68353
|
const { signals: t, hasLegend: n, index: r, ...i } = e;
|
|
68354
|
-
return i.field =
|
|
68354
|
+
return i.field = Qi(i.field), i;
|
|
68355
68355
|
}
|
|
68356
|
-
function rc(e, t = !0, n =
|
|
68356
|
+
function rc(e, t = !0, n = fr) {
|
|
68357
68357
|
if (ne(e)) {
|
|
68358
68358
|
const r = e.map((i) => rc(i, t, n));
|
|
68359
68359
|
return t ? `[${r.join(", ")}]` : r;
|
|
@@ -68483,10 +68483,10 @@ const cs = {
|
|
|
68483
68483
|
const i = n.find((o) => o.name === t.name);
|
|
68484
68484
|
let a = i.update;
|
|
68485
68485
|
if (a.includes(HG))
|
|
68486
|
-
i.update = `{${r.map((o) => `${me(
|
|
68486
|
+
i.update = `{${r.map((o) => `${me(Qi(o.field))}: ${o.signals.data}`).join(", ")}}`;
|
|
68487
68487
|
else {
|
|
68488
68488
|
for (const o of r) {
|
|
68489
|
-
const s = `${me(
|
|
68489
|
+
const s = `${me(Qi(o.field))}: ${o.signals.data}`;
|
|
68490
68490
|
a.includes(s) || (a = `${a.substring(0, a.length - 1)}, ${s}}`);
|
|
68491
68491
|
}
|
|
68492
68492
|
i.update = a;
|
|
@@ -69570,7 +69570,7 @@ function $u(e, { escape: t } = { escape: !0 }) {
|
|
|
69570
69570
|
const r = wMe(e);
|
|
69571
69571
|
if (r) {
|
|
69572
69572
|
const { facet: i } = r;
|
|
69573
|
-
for (const a of
|
|
69573
|
+
for (const a of Ui)
|
|
69574
69574
|
i[a] && (n += ` + '__facet_${a}_' + (facet[${me(r.vgField(a))}])`);
|
|
69575
69575
|
}
|
|
69576
69576
|
return n;
|
|
@@ -69621,7 +69621,7 @@ function $Me(e) {
|
|
|
69621
69621
|
return [];
|
|
69622
69622
|
}
|
|
69623
69623
|
}
|
|
69624
|
-
var Fo, Re, ee,
|
|
69624
|
+
var Fo, Re, ee, ur, At, Zb = 1, Vp = 2, ac = 3, Yl = 4, Qb = 5, Tc = 6, Wr = 7, Yp = 8, FMe = 9;
|
|
69625
69625
|
Fo = {};
|
|
69626
69626
|
Fo[Zb] = "Boolean";
|
|
69627
69627
|
Fo[Vp] = "<end>";
|
|
@@ -69712,7 +69712,7 @@ const tNe = {
|
|
|
69712
69712
|
implements: 1
|
|
69713
69713
|
};
|
|
69714
69714
|
function VG() {
|
|
69715
|
-
for (; ee <
|
|
69715
|
+
for (; ee < ur; ) {
|
|
69716
69716
|
const e = Re.charCodeAt(ee);
|
|
69717
69717
|
if (eNe(e) || jh(e))
|
|
69718
69718
|
++ee;
|
|
@@ -69723,24 +69723,24 @@ function VG() {
|
|
|
69723
69723
|
function b6(e) {
|
|
69724
69724
|
var t, n, r, i = 0;
|
|
69725
69725
|
for (n = e === "u" ? 4 : 2, t = 0; t < n; ++t)
|
|
69726
|
-
ee <
|
|
69726
|
+
ee < ur && R_(Re[ee]) ? (r = Re[ee++], i = i * 16 + "0123456789abcdef".indexOf(r.toLowerCase())) : pt({}, Rn, jn);
|
|
69727
69727
|
return String.fromCharCode(i);
|
|
69728
69728
|
}
|
|
69729
69729
|
function nNe() {
|
|
69730
69730
|
var e, t, n, r;
|
|
69731
|
-
for (e = Re[ee], t = 0, e === "}" && pt({}, Rn, jn); ee <
|
|
69731
|
+
for (e = Re[ee], t = 0, e === "}" && pt({}, Rn, jn); ee < ur && (e = Re[ee++], !!R_(e)); )
|
|
69732
69732
|
t = t * 16 + "0123456789abcdef".indexOf(e.toLowerCase());
|
|
69733
69733
|
return (t > 1114111 || e !== "}") && pt({}, Rn, jn), t <= 65535 ? String.fromCharCode(t) : (n = (t - 65536 >> 10) + 55296, r = (t - 65536 & 1023) + 56320, String.fromCharCode(n, r));
|
|
69734
69734
|
}
|
|
69735
69735
|
function YG() {
|
|
69736
69736
|
var e, t;
|
|
69737
|
-
for (e = Re.charCodeAt(ee++), t = String.fromCharCode(e), e === 92 && (Re.charCodeAt(ee) !== 117 && pt({}, Rn, jn), ++ee, e = b6("u"), (!e || e === "\\" || !Xp(e.charCodeAt(0))) && pt({}, Rn, jn), t = e); ee <
|
|
69737
|
+
for (e = Re.charCodeAt(ee++), t = String.fromCharCode(e), e === 92 && (Re.charCodeAt(ee) !== 117 && pt({}, Rn, jn), ++ee, e = b6("u"), (!e || e === "\\" || !Xp(e.charCodeAt(0))) && pt({}, Rn, jn), t = e); ee < ur && (e = Re.charCodeAt(ee), !!Ry(e)); )
|
|
69738
69738
|
++ee, t += String.fromCharCode(e), e === 92 && (t = t.substr(0, t.length - 1), Re.charCodeAt(ee) !== 117 && pt({}, Rn, jn), ++ee, e = b6("u"), (!e || e === "\\" || !Ry(e.charCodeAt(0))) && pt({}, Rn, jn), t += e);
|
|
69739
69739
|
return t;
|
|
69740
69740
|
}
|
|
69741
69741
|
function rNe() {
|
|
69742
69742
|
var e, t;
|
|
69743
|
-
for (e = ee++; ee <
|
|
69743
|
+
for (e = ee++; ee < ur; ) {
|
|
69744
69744
|
if (t = Re.charCodeAt(ee), t === 92)
|
|
69745
69745
|
return ee = e, YG();
|
|
69746
69746
|
if (Ry(t))
|
|
@@ -69841,7 +69841,7 @@ function Ax() {
|
|
|
69841
69841
|
}
|
|
69842
69842
|
function aNe(e) {
|
|
69843
69843
|
let t = "";
|
|
69844
|
-
for (; ee <
|
|
69844
|
+
for (; ee < ur && R_(Re[ee]); )
|
|
69845
69845
|
t += Re[ee++];
|
|
69846
69846
|
return t.length === 0 && pt({}, Rn, jn), Xp(Re.charCodeAt(ee)) && pt({}, Rn, jn), {
|
|
69847
69847
|
type: Tc,
|
|
@@ -69852,7 +69852,7 @@ function aNe(e) {
|
|
|
69852
69852
|
}
|
|
69853
69853
|
function oNe(e) {
|
|
69854
69854
|
let t = "0" + Re[ee++];
|
|
69855
|
-
for (; ee <
|
|
69855
|
+
for (; ee < ur && ih(Re[ee]); )
|
|
69856
69856
|
t += Re[ee++];
|
|
69857
69857
|
return (Xp(Re.charCodeAt(ee)) || Vo(Re.charCodeAt(ee))) && pt({}, Rn, jn), {
|
|
69858
69858
|
type: Tc,
|
|
@@ -69896,7 +69896,7 @@ function VD() {
|
|
|
69896
69896
|
}
|
|
69897
69897
|
function sNe() {
|
|
69898
69898
|
var e = "", t, n, r, i, a = !1;
|
|
69899
|
-
for (t = Re[ee], Jb(t === "'" || t === '"', "String literal must starts with a quote"), n = ee, ++ee; ee <
|
|
69899
|
+
for (t = Re[ee], Jb(t === "'" || t === '"', "String literal must starts with a quote"), n = ee, ++ee; ee < ur; )
|
|
69900
69900
|
if (r = Re[ee++], r === t) {
|
|
69901
69901
|
t = "";
|
|
69902
69902
|
break;
|
|
@@ -69927,7 +69927,7 @@ function sNe() {
|
|
|
69927
69927
|
e += "\v";
|
|
69928
69928
|
break;
|
|
69929
69929
|
default:
|
|
69930
|
-
ih(r) ? (i = "01234567".indexOf(r), i !== 0 && (a = !0), ee <
|
|
69930
|
+
ih(r) ? (i = "01234567".indexOf(r), i !== 0 && (a = !0), ee < ur && ih(Re[ee]) && (a = !0, i = i * 8 + "01234567".indexOf(Re[ee++]), "0123".includes(r) && ee < ur && ih(Re[ee]) && (i = i * 8 + "01234567".indexOf(Re[ee++]))), e += String.fromCharCode(i)) : e += r;
|
|
69931
69931
|
break;
|
|
69932
69932
|
}
|
|
69933
69933
|
else
|
|
@@ -69966,7 +69966,7 @@ function lNe(e, t) {
|
|
|
69966
69966
|
}
|
|
69967
69967
|
function uNe() {
|
|
69968
69968
|
var e, t, n, r, i;
|
|
69969
|
-
for (e = Re[ee], Jb(e === "/", "Regular expression literal must start with a slash"), t = Re[ee++], n = !1, r = !1; ee <
|
|
69969
|
+
for (e = Re[ee], Jb(e === "/", "Regular expression literal must start with a slash"), t = Re[ee++], n = !1, r = !1; ee < ur; )
|
|
69970
69970
|
if (e = Re[ee++], t += e, e === "\\")
|
|
69971
69971
|
e = Re[ee++], jh(e.charCodeAt(0)) && pt({}, Sx), t += e;
|
|
69972
69972
|
else if (jh(e.charCodeAt(0)))
|
|
@@ -69984,8 +69984,8 @@ function uNe() {
|
|
|
69984
69984
|
}
|
|
69985
69985
|
function cNe() {
|
|
69986
69986
|
var e, t, n;
|
|
69987
|
-
for (t = "", n = ""; ee <
|
|
69988
|
-
++ee, e === "\\" && ee <
|
|
69987
|
+
for (t = "", n = ""; ee < ur && (e = Re[ee], !!Ry(e.charCodeAt(0))); )
|
|
69988
|
+
++ee, e === "\\" && ee < ur ? pt({}, Rn, jn) : (n += e, t += e);
|
|
69989
69989
|
return n.search(/[^gimuy]/g) >= 0 && pt({}, y6, n), {
|
|
69990
69990
|
value: n,
|
|
69991
69991
|
literal: t
|
|
@@ -70008,7 +70008,7 @@ function dNe(e) {
|
|
|
70008
70008
|
return e.type === ac || e.type === Yl || e.type === Zb || e.type === Qb;
|
|
70009
70009
|
}
|
|
70010
70010
|
function XG() {
|
|
70011
|
-
if (VG(), ee >=
|
|
70011
|
+
if (VG(), ee >= ur)
|
|
70012
70012
|
return {
|
|
70013
70013
|
type: Vp,
|
|
70014
70014
|
start: ee,
|
|
@@ -70072,7 +70072,7 @@ function pt(e, t) {
|
|
|
70072
70072
|
function e4(e) {
|
|
70073
70073
|
e.type === Vp && pt(e, KMe), e.type === Tc && pt(e, GMe), e.type === Yp && pt(e, VMe), e.type === ac && pt(e, YMe), e.type === Yl && pt(e, XMe), pt(e, Rn, e.value);
|
|
70074
70074
|
}
|
|
70075
|
-
function
|
|
70075
|
+
function cr(e) {
|
|
70076
70076
|
const t = Yr();
|
|
70077
70077
|
(t.type !== Wr || t.value !== e) && e4(t);
|
|
70078
70078
|
}
|
|
@@ -70084,8 +70084,8 @@ function Cx(e) {
|
|
|
70084
70084
|
}
|
|
70085
70085
|
function bNe() {
|
|
70086
70086
|
const e = [];
|
|
70087
|
-
for (ee = At.start,
|
|
70088
|
-
Ut(",") ? (Yr(), e.push(null)) : (e.push(oc()), Ut("]") ||
|
|
70087
|
+
for (ee = At.start, cr("["); !Ut("]"); )
|
|
70088
|
+
Ut(",") ? (Yr(), e.push(null)) : (e.push(oc()), Ut("]") || cr(","));
|
|
70089
70089
|
return Yr(), hNe(e);
|
|
70090
70090
|
}
|
|
70091
70091
|
function ZD() {
|
|
@@ -70096,22 +70096,22 @@ function ZD() {
|
|
|
70096
70096
|
function vNe() {
|
|
70097
70097
|
var e, t, n, r;
|
|
70098
70098
|
if (ee = At.start, e = At, e.type === ac)
|
|
70099
|
-
return n = ZD(),
|
|
70099
|
+
return n = ZD(), cr(":"), r = oc(), KD("init", n, r);
|
|
70100
70100
|
if (e.type === Vp || e.type === Wr)
|
|
70101
70101
|
e4(e);
|
|
70102
70102
|
else
|
|
70103
|
-
return t = ZD(),
|
|
70103
|
+
return t = ZD(), cr(":"), r = oc(), KD("init", t, r);
|
|
70104
70104
|
}
|
|
70105
70105
|
function xNe() {
|
|
70106
70106
|
var e = [], t, n, r, i = {}, a = String;
|
|
70107
|
-
for (ee = At.start,
|
|
70108
|
-
t = vNe(), t.key.type === WG ? n = t.key.name : n = a(t.key.value), r = "$" + n, Object.prototype.hasOwnProperty.call(i, r) ? pt({}, ZMe) : i[r] = !0, e.push(t), Ut("}") ||
|
|
70109
|
-
return
|
|
70107
|
+
for (ee = At.start, cr("{"); !Ut("}"); )
|
|
70108
|
+
t = vNe(), t.key.type === WG ? n = t.key.name : n = a(t.key.value), r = "$" + n, Object.prototype.hasOwnProperty.call(i, r) ? pt({}, ZMe) : i[r] = !0, e.push(t), Ut("}") || cr(",");
|
|
70109
|
+
return cr("}"), gNe(e);
|
|
70110
70110
|
}
|
|
70111
70111
|
function wNe() {
|
|
70112
|
-
|
|
70112
|
+
cr("(");
|
|
70113
70113
|
const e = F_();
|
|
70114
|
-
return
|
|
70114
|
+
return cr(")"), e;
|
|
70115
70115
|
}
|
|
70116
70116
|
const ENe = {
|
|
70117
70117
|
if: 1
|
|
@@ -70137,10 +70137,10 @@ function _Ne() {
|
|
|
70137
70137
|
}
|
|
70138
70138
|
function kNe() {
|
|
70139
70139
|
const e = [];
|
|
70140
|
-
if (
|
|
70141
|
-
for (; ee <
|
|
70142
|
-
|
|
70143
|
-
return
|
|
70140
|
+
if (cr("("), !Ut(")"))
|
|
70141
|
+
for (; ee < ur && (e.push(oc()), !Ut(")")); )
|
|
70142
|
+
cr(",");
|
|
70143
|
+
return cr(")"), e;
|
|
70144
70144
|
}
|
|
70145
70145
|
function SNe() {
|
|
70146
70146
|
ee = At.start;
|
|
@@ -70148,12 +70148,12 @@ function SNe() {
|
|
|
70148
70148
|
return dNe(e) || e4(e), $_(e.value);
|
|
70149
70149
|
}
|
|
70150
70150
|
function ANe() {
|
|
70151
|
-
return
|
|
70151
|
+
return cr("."), SNe();
|
|
70152
70152
|
}
|
|
70153
70153
|
function CNe() {
|
|
70154
|
-
|
|
70154
|
+
cr("[");
|
|
70155
70155
|
const e = F_();
|
|
70156
|
-
return
|
|
70156
|
+
return cr("]"), e;
|
|
70157
70157
|
}
|
|
70158
70158
|
function TNe() {
|
|
70159
70159
|
var e, t, n;
|
|
@@ -70257,7 +70257,7 @@ function MNe() {
|
|
|
70257
70257
|
}
|
|
70258
70258
|
function oc() {
|
|
70259
70259
|
var e, t, n;
|
|
70260
|
-
return e = MNe(), Ut("?") && (Yr(), t = oc(),
|
|
70260
|
+
return e = MNe(), Ut("?") && (Yr(), t = oc(), cr(":"), n = oc(), e = mNe(e, t, n)), e;
|
|
70261
70261
|
}
|
|
70262
70262
|
function F_() {
|
|
70263
70263
|
const e = oc();
|
|
@@ -70266,7 +70266,7 @@ function F_() {
|
|
|
70266
70266
|
return e;
|
|
70267
70267
|
}
|
|
70268
70268
|
function NNe(e) {
|
|
70269
|
-
Re = e, ee = 0,
|
|
70269
|
+
Re = e, ee = 0, ur = Re.length, At = null, KG();
|
|
70270
70270
|
const t = F_();
|
|
70271
70271
|
if (At.type !== Vp)
|
|
70272
70272
|
throw new Error("Unexpect token after expression.");
|
|
@@ -70364,7 +70364,7 @@ function eV(e, t, n) {
|
|
|
70364
70364
|
const s = o.project.items.filter((l) => l.channel === i);
|
|
70365
70365
|
!s.length || s.length > 1 ? (a = o.project.items[0].field, ce(qke(s, i, n, a))) : a = s[0].field;
|
|
70366
70366
|
}
|
|
70367
|
-
return `${o.name}[${me(
|
|
70367
|
+
return `${o.name}[${me(Qi(a))}]`;
|
|
70368
70368
|
}
|
|
70369
70369
|
function ONe(e, t) {
|
|
70370
70370
|
for (const [n, r] of Al(e.component.selection ?? {})) {
|
|
@@ -70896,7 +70896,7 @@ function QNe(e, t) {
|
|
|
70896
70896
|
}
|
|
70897
70897
|
function JNe(e, t) {
|
|
70898
70898
|
const n = {};
|
|
70899
|
-
for (const r of
|
|
70899
|
+
for (const r of Ui) {
|
|
70900
70900
|
const i = e[r];
|
|
70901
70901
|
if (i != null && i.facetFieldDef) {
|
|
70902
70902
|
const { titleAnchor: a, titleOrient: o } = n4(["titleAnchor", "titleOrient"], i.facetFieldDef.header, t, r), s = t4(r, o), l = QNe(a, s);
|
|
@@ -71473,7 +71473,7 @@ function ADe(e) {
|
|
|
71473
71473
|
const t = [], { encoding: n } = e;
|
|
71474
71474
|
for (const r of [
|
|
71475
71475
|
[Fa, $a],
|
|
71476
|
-
[
|
|
71476
|
+
[Ji, Ia]
|
|
71477
71477
|
])
|
|
71478
71478
|
(En(n[r[0]]) || En(n[r[1]])) && t.push({
|
|
71479
71479
|
signal: e.getName(`geojson_${t.length}`)
|
|
@@ -71619,7 +71619,7 @@ class oo extends Ct {
|
|
|
71619
71619
|
return Gn(this.bins).flatMap((t) => {
|
|
71620
71620
|
const n = [], [r, ...i] = t.as, { extent: a, ...o } = t.bin, s = {
|
|
71621
71621
|
type: "bin",
|
|
71622
|
-
field:
|
|
71622
|
+
field: Qi(t.field),
|
|
71623
71623
|
as: r,
|
|
71624
71624
|
signal: t.signal,
|
|
71625
71625
|
...Mb(a) ? { extent: null } : { extent: a },
|
|
@@ -71628,7 +71628,7 @@ class oo extends Ct {
|
|
|
71628
71628
|
};
|
|
71629
71629
|
!a && t.extentSignal && (n.push({
|
|
71630
71630
|
type: "extent",
|
|
71631
|
-
field:
|
|
71631
|
+
field: Qi(t.field),
|
|
71632
71632
|
signal: t.extentSignal
|
|
71633
71633
|
}), s.extent = { signal: t.extentSignal }), n.push(s);
|
|
71634
71634
|
for (const l of i)
|
|
@@ -71741,10 +71741,10 @@ class va extends Ct {
|
|
|
71741
71741
|
for (const a of se(this.measures))
|
|
71742
71742
|
for (const o of se(this.measures[a]))
|
|
71743
71743
|
for (const s of this.measures[a][o])
|
|
71744
|
-
r.push(s), t.push(o), n.push(a === "*" ? null :
|
|
71744
|
+
r.push(s), t.push(o), n.push(a === "*" ? null : Qi(a));
|
|
71745
71745
|
return {
|
|
71746
71746
|
type: "aggregate",
|
|
71747
|
-
groupby: [...this.dimensions].map(
|
|
71747
|
+
groupby: [...this.dimensions].map(Qi),
|
|
71748
71748
|
ops: t,
|
|
71749
71749
|
fields: n,
|
|
71750
71750
|
as: r
|
|
@@ -71759,7 +71759,7 @@ class I0 extends Ct {
|
|
|
71759
71759
|
*/
|
|
71760
71760
|
constructor(t, n, r, i) {
|
|
71761
71761
|
super(t), this.model = n, this.name = r, this.data = i;
|
|
71762
|
-
for (const a of
|
|
71762
|
+
for (const a of Ui) {
|
|
71763
71763
|
const o = n.facet[a];
|
|
71764
71764
|
if (o) {
|
|
71765
71765
|
const { bin: s, sort: l } = o;
|
|
@@ -71774,20 +71774,20 @@ class I0 extends Ct {
|
|
|
71774
71774
|
}
|
|
71775
71775
|
hash() {
|
|
71776
71776
|
let t = "Facet";
|
|
71777
|
-
for (const n of
|
|
71777
|
+
for (const n of Ui)
|
|
71778
71778
|
this[n] && (t += ` ${n.charAt(0)}:${lt(this[n])}`);
|
|
71779
71779
|
return t;
|
|
71780
71780
|
}
|
|
71781
71781
|
get fields() {
|
|
71782
71782
|
var n;
|
|
71783
71783
|
const t = [];
|
|
71784
|
-
for (const r of
|
|
71784
|
+
for (const r of Ui)
|
|
71785
71785
|
(n = this[r]) != null && n.fields && t.push(...this[r].fields);
|
|
71786
71786
|
return t;
|
|
71787
71787
|
}
|
|
71788
71788
|
dependentFields() {
|
|
71789
71789
|
const t = new Set(this.fields);
|
|
71790
|
-
for (const n of
|
|
71790
|
+
for (const n of Ui)
|
|
71791
71791
|
this[n] && (this[n].sortField && t.add(this[n].sortField.field), this[n].sortIndexField && t.add(this[n].sortIndexField));
|
|
71792
71792
|
return t;
|
|
71793
71793
|
}
|
|
@@ -71965,9 +71965,9 @@ function LDe(e) {
|
|
|
71965
71965
|
}
|
|
71966
71966
|
return t;
|
|
71967
71967
|
}
|
|
71968
|
-
class
|
|
71968
|
+
class ir extends Ct {
|
|
71969
71969
|
clone() {
|
|
71970
|
-
return new
|
|
71970
|
+
return new ir(null, Ye(this._parse));
|
|
71971
71971
|
}
|
|
71972
71972
|
constructor(t, n) {
|
|
71973
71973
|
super(t), this._parse = n;
|
|
@@ -72003,7 +72003,7 @@ class ar extends Ct {
|
|
|
72003
72003
|
const l = a.get(s);
|
|
72004
72004
|
l !== null && (o[s] = l);
|
|
72005
72005
|
}
|
|
72006
|
-
return se(o).length === 0 || i.parseNothing ? null : new
|
|
72006
|
+
return se(o).length === 0 || i.parseNothing ? null : new ir(t, o);
|
|
72007
72007
|
}
|
|
72008
72008
|
get parse() {
|
|
72009
72009
|
return this._parse;
|
|
@@ -72233,7 +72233,7 @@ class PDe extends H_ {
|
|
|
72233
72233
|
super(), this.requiresSelectionId = t && O_(t);
|
|
72234
72234
|
}
|
|
72235
72235
|
run(t) {
|
|
72236
|
-
t instanceof Nl && (this.requiresSelectionId && (U_(t.parent) || t.parent instanceof va || t.parent instanceof
|
|
72236
|
+
t instanceof Nl && (this.requiresSelectionId && (U_(t.parent) || t.parent instanceof va || t.parent instanceof ir) || (this.setModified(), t.remove()));
|
|
72237
72237
|
}
|
|
72238
72238
|
}
|
|
72239
72239
|
class UDe extends q_ {
|
|
@@ -72259,8 +72259,8 @@ class HDe extends Mc {
|
|
|
72259
72259
|
run(t) {
|
|
72260
72260
|
if (!U_(t) && !(t.numChildren() > 1)) {
|
|
72261
72261
|
for (const n of t.children)
|
|
72262
|
-
if (n instanceof
|
|
72263
|
-
if (t instanceof
|
|
72262
|
+
if (n instanceof ir)
|
|
72263
|
+
if (t instanceof ir)
|
|
72264
72264
|
this.setModified(), t.merge(n);
|
|
72265
72265
|
else {
|
|
72266
72266
|
if (M9(t.producedFields(), n.dependentFields()))
|
|
@@ -72272,7 +72272,7 @@ class HDe extends Mc {
|
|
|
72272
72272
|
}
|
|
72273
72273
|
class jDe extends Mc {
|
|
72274
72274
|
run(t) {
|
|
72275
|
-
const n = [...t.children], r = t.children.filter((i) => i instanceof
|
|
72275
|
+
const n = [...t.children], r = t.children.filter((i) => i instanceof ir);
|
|
72276
72276
|
if (t.numChildren() > 1 && r.length >= 1) {
|
|
72277
72277
|
const i = {}, a = /* @__PURE__ */ new Set();
|
|
72278
72278
|
for (const o of r) {
|
|
@@ -72284,12 +72284,12 @@ class jDe extends Mc {
|
|
|
72284
72284
|
delete i[o];
|
|
72285
72285
|
if (!Nt(i)) {
|
|
72286
72286
|
this.setModified();
|
|
72287
|
-
const o = new
|
|
72287
|
+
const o = new ir(t, i);
|
|
72288
72288
|
for (const s of n) {
|
|
72289
|
-
if (s instanceof
|
|
72289
|
+
if (s instanceof ir)
|
|
72290
72290
|
for (const l of se(i))
|
|
72291
72291
|
delete s.parse[l];
|
|
72292
|
-
t.removeChild(s), s.parent = o, s instanceof
|
|
72292
|
+
t.removeChild(s), s.parent = o, s instanceof ir && se(s.parse).length === 0 && s.remove();
|
|
72293
72293
|
}
|
|
72294
72294
|
}
|
|
72295
72295
|
}
|
|
@@ -72329,7 +72329,7 @@ class YDe extends Mc {
|
|
|
72329
72329
|
super(), this.model = t;
|
|
72330
72330
|
}
|
|
72331
72331
|
run(t) {
|
|
72332
|
-
const n = !(U_(t) || t instanceof F0 || t instanceof
|
|
72332
|
+
const n = !(U_(t) || t instanceof F0 || t instanceof ir || t instanceof Nl), r = [], i = [];
|
|
72333
72333
|
for (const a of t.children)
|
|
72334
72334
|
a instanceof oo && (n && !M9(t.producedFields(), a.dependentFields()) ? r.push(a) : i.push(a));
|
|
72335
72335
|
if (r.length > 0) {
|
|
@@ -72902,7 +72902,7 @@ function Nx(e, t) {
|
|
|
72902
72902
|
// Apply default op
|
|
72903
72903
|
op: n ?? (t ? "sum" : Lb),
|
|
72904
72904
|
// flatten nested fields
|
|
72905
|
-
...r ? { field:
|
|
72905
|
+
...r ? { field: Qi(r) } : {},
|
|
72906
72906
|
...i ? { order: i } : {}
|
|
72907
72907
|
};
|
|
72908
72908
|
}
|
|
@@ -73754,7 +73754,7 @@ class G_ {
|
|
|
73754
73754
|
assembleHeaderMarks() {
|
|
73755
73755
|
const { layoutHeaders: t } = this.component;
|
|
73756
73756
|
let n = [];
|
|
73757
|
-
for (const r of
|
|
73757
|
+
for (const r of Ui)
|
|
73758
73758
|
t[r].title && n.push(VNe(this, r));
|
|
73759
73759
|
for (const r of I_)
|
|
73760
73760
|
n = n.concat(YNe(this, r));
|
|
@@ -74038,7 +74038,7 @@ class wf extends Ct {
|
|
|
74038
74038
|
let r = 0;
|
|
74039
74039
|
for (const i of [
|
|
74040
74040
|
[Fa, $a],
|
|
74041
|
-
[
|
|
74041
|
+
[Ji, Ia]
|
|
74042
74042
|
]) {
|
|
74043
74043
|
const a = i.map((o) => {
|
|
74044
74044
|
const s = En(n.encoding[o]);
|
|
@@ -74094,12 +74094,12 @@ class Wh extends Ct {
|
|
|
74094
74094
|
return t;
|
|
74095
74095
|
for (const r of [
|
|
74096
74096
|
[Fa, $a],
|
|
74097
|
-
[
|
|
74097
|
+
[Ji, Ia]
|
|
74098
74098
|
]) {
|
|
74099
74099
|
const i = r.map((o) => {
|
|
74100
74100
|
const s = En(n.encoding[o]);
|
|
74101
74101
|
return he(s) ? s.field : $o(s) ? { expr: `${s.datum}` } : ka(s) ? { expr: `${s.value}` } : void 0;
|
|
74102
|
-
}), a = r[0] ===
|
|
74102
|
+
}), a = r[0] === Ji ? "2" : "";
|
|
74103
74103
|
(i[0] || i[1]) && (t = new Wh(t, n.projectionName(), i, [
|
|
74104
74104
|
n.getName(`x${a}`),
|
|
74105
74105
|
n.getName(`y${a}`)
|
|
@@ -74400,7 +74400,7 @@ function IV(e) {
|
|
|
74400
74400
|
name: null,
|
|
74401
74401
|
source: i.name,
|
|
74402
74402
|
transform: []
|
|
74403
|
-
}), r instanceof
|
|
74403
|
+
}), r instanceof ir && (r.parent instanceof sc && !i.source ? (i.format = {
|
|
74404
74404
|
...i.format,
|
|
74405
74405
|
parse: r.assembleFormatParse()
|
|
74406
74406
|
}, i.transform.push(...r.assembleTransforms(!0))) : i.transform.push(...r.assembleTransforms())), r instanceof I0) {
|
|
@@ -74468,7 +74468,7 @@ function IOe(e) {
|
|
|
74468
74468
|
return e === "top" || e === "left" || $e(e) ? "header" : "footer";
|
|
74469
74469
|
}
|
|
74470
74470
|
function LOe(e) {
|
|
74471
|
-
for (const t of
|
|
74471
|
+
for (const t of Ui)
|
|
74472
74472
|
zOe(e, t);
|
|
74473
74473
|
gO(e, "x"), gO(e, "y");
|
|
74474
74474
|
}
|
|
@@ -74645,7 +74645,7 @@ class ah extends FV {
|
|
|
74645
74645
|
}
|
|
74646
74646
|
getHeaderLayoutMixins() {
|
|
74647
74647
|
const t = {};
|
|
74648
|
-
for (const n of
|
|
74648
|
+
for (const n of Ui)
|
|
74649
74649
|
for (const r of L_) {
|
|
74650
74650
|
const i = this.component.layoutHeaders[n], a = i[r], { facetFieldDef: o } = i;
|
|
74651
74651
|
if (o) {
|
|
@@ -74720,7 +74720,7 @@ class ah extends FV {
|
|
|
74720
74720
|
}
|
|
74721
74721
|
assembleFacet() {
|
|
74722
74722
|
const { name: t, data: n } = this.component.data.facetRoot, { row: r, column: i } = this.facet, { fields: a, ops: o, as: s } = this.getCardinalityAggregateForChild(), l = [];
|
|
74723
|
-
for (const c of
|
|
74723
|
+
for (const c of Ui) {
|
|
74724
74724
|
const f = this.facet[c];
|
|
74725
74725
|
if (f) {
|
|
74726
74726
|
l.push(xe(f));
|
|
@@ -74787,8 +74787,8 @@ class ah extends FV {
|
|
|
74787
74787
|
},
|
|
74788
74788
|
// TODO: move this to after data
|
|
74789
74789
|
sort: {
|
|
74790
|
-
field:
|
|
74791
|
-
order:
|
|
74790
|
+
field: Ui.map((l) => this.facetSortFields(l)).flat(),
|
|
74791
|
+
order: Ui.map((l) => this.facetSortOrder(l)).flat()
|
|
74792
74792
|
},
|
|
74793
74793
|
...r.length > 0 ? { data: r } : {},
|
|
74794
74794
|
...i ? { encode: { update: i } } : {},
|
|
@@ -74871,11 +74871,11 @@ function WOe(e, t, n) {
|
|
|
74871
74871
|
o = e = new n0(e, i), a = "derived";
|
|
74872
74872
|
else if (A_(i)) {
|
|
74873
74873
|
const s = FDe(i);
|
|
74874
|
-
o = e =
|
|
74874
|
+
o = e = ir.makeWithAncestors(e, {}, s, n) ?? e, e = new F0(e, t, i.filter);
|
|
74875
74875
|
} else if (hG(i))
|
|
74876
74876
|
o = e = oo.makeFromTransform(e, i, t), a = "number";
|
|
74877
74877
|
else if (kTe(i))
|
|
74878
|
-
a = "date", n.getWithExplicit(i.field).value === void 0 && (e = new
|
|
74878
|
+
a = "date", n.getWithExplicit(i.field).value === void 0 && (e = new ir(e, { [i.field]: a }), n.set(i.field, a, !1)), o = e = io.makeFromTransform(e, i);
|
|
74879
74879
|
else if (STe(i))
|
|
74880
74880
|
o = e = va.makeFromTransform(e, i), a = "number", O_(t) && (e = new Nl(e));
|
|
74881
74881
|
else if (dG(i))
|
|
@@ -74920,11 +74920,11 @@ function h4(e) {
|
|
|
74920
74920
|
var g;
|
|
74921
74921
|
let t = jOe(e, e.component.data.sources);
|
|
74922
74922
|
const { outputNodes: n, outputNodeRefCounts: r } = e.component.data, i = e.data, o = !(i && (dl(i) || e0(i) || qh(i))) && e.parent ? e.parent.component.data.ancestorParse.clone() : new PTe();
|
|
74923
|
-
dl(i) ? (vG(i) ? t = new Zp(t, i.sequence) : C_(i) && (t = new Kp(t, i.graticule)), o.parseNothing = !0) : ((g = i == null ? void 0 : i.format) == null ? void 0 : g.parse) === null && (o.parseNothing = !0), t =
|
|
74923
|
+
dl(i) ? (vG(i) ? t = new Zp(t, i.sequence) : C_(i) && (t = new Kp(t, i.graticule)), o.parseNothing = !0) : ((g = i == null ? void 0 : i.format) == null ? void 0 : g.parse) === null && (o.parseNothing = !0), t = ir.makeExplicit(t, e, o) ?? t, t = new Nl(t);
|
|
74924
74924
|
const s = e.parent && z0(e.parent);
|
|
74925
74925
|
(Qt(e) || wi(e)) && s && (t = oo.makeFromEncoding(t, e) ?? t), e.transforms.length > 0 && (t = WOe(t, e, o));
|
|
74926
74926
|
const l = LDe(e), u = IDe(e);
|
|
74927
|
-
t =
|
|
74927
|
+
t = ir.makeWithAncestors(t, {}, { ...l, ...u }, o) ?? t, Qt(e) && (t = wf.parseAll(t, e), t = Wh.parseAll(t, e)), (Qt(e) || wi(e)) && (s || (t = oo.makeFromEncoding(t, e) ?? t), t = io.makeFromEncoding(t, e) ?? t, t = n0.parseAllForSortIndex(t, e));
|
|
74928
74928
|
const c = t = a1(en.Raw, e, t);
|
|
74929
74929
|
if (Qt(e)) {
|
|
74930
74930
|
const y = va.makeFromEncoding(t, e);
|
|
@@ -76053,7 +76053,7 @@ const ORe = G_e.version, RRe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obj
|
|
|
76053
76053
|
prefixGenerator: t6,
|
|
76054
76054
|
removePathFromField: D0,
|
|
76055
76055
|
replaceAll: Ku,
|
|
76056
|
-
replacePathInField:
|
|
76056
|
+
replacePathInField: Qi,
|
|
76057
76057
|
resetIdCounter: K_e,
|
|
76058
76058
|
setEqual: pj,
|
|
76059
76059
|
some: Gf,
|
|
@@ -76517,7 +76517,7 @@ const Yc = "#fff", vO = "#888", e$e = {
|
|
|
76517
76517
|
range: {
|
|
76518
76518
|
category: ["#3e5c69", "#6793a6", "#182429", "#0570b0", "#3690c0", "#74a9cf", "#a6bddb", "#e2ddf2"]
|
|
76519
76519
|
}
|
|
76520
|
-
},
|
|
76520
|
+
}, Oi = "#1696d2", AO = "#000000", d$e = "#FFFFFF", l1 = "Lato", $x = "Lato", h$e = "Lato", p$e = "#DEDDDD", m$e = 18, fd = {
|
|
76521
76521
|
"main-colors": ["#1696d2", "#d2d2d2", "#000000", "#fdbf11", "#ec008b", "#55b748", "#5c5859", "#db2b27"],
|
|
76522
76522
|
"shades-blue": ["#CFE8F3", "#A2D4EC", "#73BFE2", "#46ABDB", "#1696D2", "#12719E", "#0A4C6A", "#062635"],
|
|
76523
76523
|
"shades-gray": ["#F5F5F5", "#ECECEC", "#E3E3E3", "#DCDBDB", "#D2D2D2", "#9D9D9D", "#696969", "#353535"],
|
|
@@ -76602,24 +76602,24 @@ const Yc = "#fff", vO = "#888", e$e = {
|
|
|
76602
76602
|
ramp: fd["shades-blue"]
|
|
76603
76603
|
},
|
|
76604
76604
|
area: {
|
|
76605
|
-
fill:
|
|
76605
|
+
fill: Oi
|
|
76606
76606
|
},
|
|
76607
76607
|
rect: {
|
|
76608
|
-
fill:
|
|
76608
|
+
fill: Oi
|
|
76609
76609
|
},
|
|
76610
76610
|
line: {
|
|
76611
|
-
color:
|
|
76612
|
-
stroke:
|
|
76611
|
+
color: Oi,
|
|
76612
|
+
stroke: Oi,
|
|
76613
76613
|
strokeWidth: 5
|
|
76614
76614
|
},
|
|
76615
76615
|
trail: {
|
|
76616
|
-
color:
|
|
76617
|
-
stroke:
|
|
76616
|
+
color: Oi,
|
|
76617
|
+
stroke: Oi,
|
|
76618
76618
|
strokeWidth: 0,
|
|
76619
76619
|
size: 1
|
|
76620
76620
|
},
|
|
76621
76621
|
path: {
|
|
76622
|
-
stroke:
|
|
76622
|
+
stroke: Oi,
|
|
76623
76623
|
strokeWidth: 0.5
|
|
76624
76624
|
},
|
|
76625
76625
|
point: {
|
|
@@ -76627,7 +76627,7 @@ const Yc = "#fff", vO = "#888", e$e = {
|
|
|
76627
76627
|
},
|
|
76628
76628
|
text: {
|
|
76629
76629
|
font: h$e,
|
|
76630
|
-
color:
|
|
76630
|
+
color: Oi,
|
|
76631
76631
|
fontSize: 11,
|
|
76632
76632
|
align: "center",
|
|
76633
76633
|
fontWeight: 400,
|
|
@@ -76635,18 +76635,18 @@ const Yc = "#fff", vO = "#888", e$e = {
|
|
|
76635
76635
|
},
|
|
76636
76636
|
style: {
|
|
76637
76637
|
bar: {
|
|
76638
|
-
fill:
|
|
76638
|
+
fill: Oi,
|
|
76639
76639
|
stroke: null
|
|
76640
76640
|
}
|
|
76641
76641
|
},
|
|
76642
76642
|
arc: {
|
|
76643
|
-
fill:
|
|
76643
|
+
fill: Oi
|
|
76644
76644
|
},
|
|
76645
76645
|
shape: {
|
|
76646
|
-
stroke:
|
|
76646
|
+
stroke: Oi
|
|
76647
76647
|
},
|
|
76648
76648
|
symbol: {
|
|
76649
|
-
fill:
|
|
76649
|
+
fill: Oi,
|
|
76650
76650
|
size: 30
|
|
76651
76651
|
}
|
|
76652
76652
|
}, lu = "#3366CC", CO = "#ccc", u1 = "Arial, sans-serif", y$e = {
|
|
@@ -77648,7 +77648,7 @@ const dFe = "_text_we7dz_1", hFe = "_md_container_we7dz_11", pFe = "_chart_time_
|
|
|
77648
77648
|
};
|
|
77649
77649
|
function yFe(e) {
|
|
77650
77650
|
var f, d, h;
|
|
77651
|
-
const { message: t } = e, n = t.message.template, { template: r, botMessage: i } =
|
|
77651
|
+
const { message: t } = e, n = t.message.template, { template: r, botMessage: i } = pr(), { avatar: a } = Ci(), [o, s] = gn(
|
|
77652
77652
|
(n == null ? void 0 : n.defaultChart) ?? ((d = (f = n == null ? void 0 : n.chartOptions) == null ? void 0 : f[0]) == null ? void 0 : d.type)
|
|
77653
77653
|
), l = fn(() => n.chartOptions, [n]), u = fn(
|
|
77654
77654
|
() => {
|
|
@@ -77702,7 +77702,7 @@ const bFe = "_image_box_8cz9p_1", vFe = "_time_8cz9p_14", xFe = "_quick_replies_
|
|
|
77702
77702
|
};
|
|
77703
77703
|
function SFe(e) {
|
|
77704
77704
|
var u;
|
|
77705
|
-
const { message: t } = e, n = t.message.template, { previewImageUrl: r, originalContentUrl: i } = n, { template: a } =
|
|
77705
|
+
const { message: t } = e, n = t.message.template, { previewImageUrl: r, originalContentUrl: i } = n, { template: a } = pr(), { avatar: o } = Ci(), [s, l] = gn(!1);
|
|
77706
77706
|
return s ? /* @__PURE__ */ ot(
|
|
77707
77707
|
"div",
|
|
77708
77708
|
{
|
|
@@ -77774,7 +77774,7 @@ function AFe(e) {
|
|
|
77774
77774
|
}
|
|
77775
77775
|
function CFe() {
|
|
77776
77776
|
var a;
|
|
77777
|
-
const { chatbot: e } =
|
|
77777
|
+
const { chatbot: e } = pr(), { messages: t, messageBoxBottomRef: n, botTypingPlaceholder: r } = Ci();
|
|
77778
77778
|
un(() => {
|
|
77779
77779
|
var o;
|
|
77780
77780
|
(o = n.current) == null || o.scrollIntoView({ behavior: "smooth" });
|
|
@@ -77879,7 +77879,7 @@ function IFe(e) {
|
|
|
77879
77879
|
}
|
|
77880
77880
|
function LFe() {
|
|
77881
77881
|
var p, m, g, y, b, v, w, E;
|
|
77882
|
-
const { sendMessage: e, isConnecting: t, inputPlaceholder: n } =
|
|
77882
|
+
const { sendMessage: e, isConnecting: t, inputPlaceholder: n } = Ci(), { chatbot: r } = pr(), [i, a] = gn(""), [o, s] = gn(!1), l = so(null), u = fn(
|
|
77883
77883
|
() => t || !i.trim(),
|
|
77884
77884
|
[t, i]
|
|
77885
77885
|
), c = fn(
|
|
@@ -77968,7 +77968,7 @@ const zFe = "_chatbot_root_z7j5t_2", BFe = "_full_screen_z7j5t_125", PFe = "_cha
|
|
|
77968
77968
|
screen_keyboard_open: UFe
|
|
77969
77969
|
};
|
|
77970
77970
|
function qFe(e) {
|
|
77971
|
-
const { children: t } = e, n = so(null), r =
|
|
77971
|
+
const { children: t } = e, n = so(null), r = pr();
|
|
77972
77972
|
hY(n), dY();
|
|
77973
77973
|
const [, i] = cY() ?? [], a = fY(), o = fn(() => {
|
|
77974
77974
|
var s, l;
|
|
@@ -78003,7 +78003,7 @@ function BO(e) {
|
|
|
78003
78003
|
footer: u,
|
|
78004
78004
|
...c
|
|
78005
78005
|
}
|
|
78006
|
-
} =
|
|
78006
|
+
} = pr();
|
|
78007
78007
|
return /* @__PURE__ */ Q(
|
|
78008
78008
|
"div",
|
|
78009
78009
|
{
|
|
@@ -78067,7 +78067,7 @@ const DIe = eY(function(t, n) {
|
|
|
78067
78067
|
flex: 1,
|
|
78068
78068
|
padding: "20px"
|
|
78069
78069
|
}, children: /* @__PURE__ */ Q(
|
|
78070
|
-
|
|
78070
|
+
Xoe,
|
|
78071
78071
|
{
|
|
78072
78072
|
title: r,
|
|
78073
78073
|
onSubmit: O || (() => {
|
|
@@ -78208,10 +78208,10 @@ export {
|
|
|
78208
78208
|
u3 as defaultAsgardThemeContextValue,
|
|
78209
78209
|
Eoe as manageCacheSize,
|
|
78210
78210
|
$F as useAsgardAppInitializationContext,
|
|
78211
|
-
|
|
78211
|
+
Ci as useAsgardContext,
|
|
78212
78212
|
oY as useAsgardServiceClient,
|
|
78213
78213
|
_7 as useAsgardTemplateContext,
|
|
78214
|
-
|
|
78214
|
+
pr as useAsgardThemeContext,
|
|
78215
78215
|
sY as useChannel,
|
|
78216
78216
|
lY as useDebounce,
|
|
78217
78217
|
Tk as useDeepCompareMemo,
|