@deep-eye/core 1.2.75 → 1.2.76
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/CHANGELOG.md +6 -0
- package/dist/components/chat/components/MessageBubble.vue.d.ts.map +1 -1
- package/dist/index.cjs +27 -27
- package/dist/index.js +885 -890
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -820,14 +820,14 @@ const BL = {
|
|
|
820
820
|
getBackgroundStyle: I
|
|
821
821
|
} = $R(() => i.theme, i.nodeStyle, i.linkStyle), f = J(() => `toolbar-${i.toolbarPosition}`), d = J(() => I());
|
|
822
822
|
let B = null, Q = ke.zoomIdentity, p = !1, E = !1, v = null, y = !1, D = null, b = { vx: 0, vy: 0 }, k = "", S = !1, x = !1, F = null, L = null, O = !0, z = !1;
|
|
823
|
-
const
|
|
823
|
+
const V = /* @__PURE__ */ new Set(), q = /* @__PURE__ */ new Map(), rA = /* @__PURE__ */ new Map(), nA = gA(null), U = gA(null), iA = gA(1), W = J(() => Math.round(iA.value * 100)), X = (Z) => i.expandable ? (Z == null ? void 0 : Z.expanded) !== !1 : !0, oA = (Z) => i.expandable && Z.expanded === !1 ? null : Z.children, CA = J(() => {
|
|
824
824
|
if (!U.value) return 0;
|
|
825
825
|
let Z = 0;
|
|
826
826
|
const eA = (dA, sA = !0) => {
|
|
827
827
|
sA && (dA.parent && dA.parent.data && !X(dA.parent.data) || (Z++, dA.children && X(dA.data) && dA.children.forEach((DA) => eA(DA, !0))));
|
|
828
828
|
};
|
|
829
829
|
return eA(U.value, !0), Z;
|
|
830
|
-
}),
|
|
830
|
+
}), _A = J(() => {
|
|
831
831
|
if (!nA.value) return !0;
|
|
832
832
|
const Z = (eA) => eA.children && eA.children.length > 0 ? eA.expanded === !1 ? !1 : eA.children.every((dA) => Z(dA)) : !0;
|
|
833
833
|
return Z(nA.value);
|
|
@@ -956,7 +956,7 @@ const BL = {
|
|
|
956
956
|
Z.select(".expand-button").attr("cx", DA), Z.select(".expand-symbol").attr("x", DA).text(eA.data.expanded !== !1 ? "<" : ">"), Z.select(".expand-button").style("fill", l(eA.data, eA.depth));
|
|
957
957
|
}
|
|
958
958
|
}, Ve = (Z) => {
|
|
959
|
-
tL(Z, q,
|
|
959
|
+
tL(Z, q, V);
|
|
960
960
|
}, ft = () => {
|
|
961
961
|
iL(U.value, q);
|
|
962
962
|
}, gi = () => 52, We = (Z) => {
|
|
@@ -1157,7 +1157,7 @@ const BL = {
|
|
|
1157
1157
|
return h(H, LA);
|
|
1158
1158
|
};
|
|
1159
1159
|
sA.forEach((H) => {
|
|
1160
|
-
H.parent ? (H.x0 === void 0 || H.y0 === void 0 ||
|
|
1160
|
+
H.parent ? (H.x0 === void 0 || H.y0 === void 0 || V.has(H.data.id)) && (H.x0 = H.parent.x, H.y0 = H.parent.y) : (H.x0 === void 0 && (H.x0 = H.x), H.y0 === void 0 && (H.y0 = H.y));
|
|
1161
1161
|
});
|
|
1162
1162
|
const fe = (H, LA) => {
|
|
1163
1163
|
var Cr;
|
|
@@ -1254,7 +1254,7 @@ const BL = {
|
|
|
1254
1254
|
return (Ar) => `translate(${cn(Ar)},${Ks(Ar)}) scale(${Vs(Ar)})`;
|
|
1255
1255
|
}).on("end", function(H) {
|
|
1256
1256
|
var LA, ge;
|
|
1257
|
-
H.x0 = H.x, H.y0 = H.y, (LA = H.data) != null && LA.id && q.set(H.data.id, { x: H.x, y: H.y }), (ge = H.data) != null && ge.id &&
|
|
1257
|
+
H.x0 = H.x, H.y0 = H.y, (LA = H.data) != null && LA.id && q.set(H.data.id, { x: H.x, y: H.y }), (ge = H.data) != null && ge.id && V.delete(H.data.id), ke.select(this).style("will-change", "auto");
|
|
1258
1258
|
}), rt.select(".node-name").text((H) => H.data.topic), rt.attr("aria-level", (H) => H.depth + 1), rt.select("rect").attr("width", (H) => {
|
|
1259
1259
|
const LA = u(H.data, H.depth), ge = `${LA.fontSize} ${LA.fontFamily}`, $e = hQ(H.data.topic, ge), dt = Math.max($e + 36, 100);
|
|
1260
1260
|
return H.data._nodeWidth = dt, dt;
|
|
@@ -1280,7 +1280,7 @@ const BL = {
|
|
|
1280
1280
|
sA
|
|
1281
1281
|
), Xe != null && Xe.activated && rt.classed("is-dragging", (H) => H.data.id === (Xe == null ? void 0 : Xe.node.data.id));
|
|
1282
1282
|
}, kA = (Z) => {
|
|
1283
|
-
i.expandable && Z.data && (x || (S && L && (L.kill(), L = null, S = !1), F && (clearTimeout(F), F = null),
|
|
1283
|
+
i.expandable && Z.data && (x || (S && L && (L.kill(), L = null, S = !1), F && (clearTimeout(F), F = null), V.clear(), F = setTimeout(() => {
|
|
1284
1284
|
if (x) return;
|
|
1285
1285
|
x = !0, p = !0;
|
|
1286
1286
|
const eA = Z.data.expanded !== !1;
|
|
@@ -1313,7 +1313,7 @@ const BL = {
|
|
|
1313
1313
|
const ve = (fe) => {
|
|
1314
1314
|
fe.children && fe.children.forEach((gt) => {
|
|
1315
1315
|
var Ci;
|
|
1316
|
-
(Ci = gt.data) != null && Ci.id &&
|
|
1316
|
+
(Ci = gt.data) != null && Ci.id && V.add(gt.data.id), ve(gt);
|
|
1317
1317
|
});
|
|
1318
1318
|
};
|
|
1319
1319
|
ve(Z), sA(Z);
|
|
@@ -1431,7 +1431,7 @@ const BL = {
|
|
|
1431
1431
|
}
|
|
1432
1432
|
});
|
|
1433
1433
|
}, te = (Z) => {
|
|
1434
|
-
E = !0, q.clear(),
|
|
1434
|
+
E = !0, q.clear(), V.clear();
|
|
1435
1435
|
try {
|
|
1436
1436
|
pA(Z, {
|
|
1437
1437
|
resetCollapse: !0,
|
|
@@ -1519,11 +1519,11 @@ const BL = {
|
|
|
1519
1519
|
}
|
|
1520
1520
|
}, $i = (Z) => {
|
|
1521
1521
|
if (!i.expandable || !nA.value || !U.value || x) return;
|
|
1522
|
-
if (x = !0, p = !0,
|
|
1522
|
+
if (x = !0, p = !0, V.clear(), Zy(U.value), rA.clear(), q.forEach((sA, DA) => rA.set(DA, { ...sA })), Z) {
|
|
1523
1523
|
const sA = (DA) => {
|
|
1524
1524
|
DA.children && DA.children.forEach((SA) => {
|
|
1525
1525
|
var oe;
|
|
1526
|
-
SA.x0 = void 0, SA.y0 = void 0, (oe = SA.data) != null && oe.id &&
|
|
1526
|
+
SA.x0 = void 0, SA.y0 = void 0, (oe = SA.data) != null && oe.id && V.add(SA.data.id), sA(SA);
|
|
1527
1527
|
});
|
|
1528
1528
|
};
|
|
1529
1529
|
sA(U.value);
|
|
@@ -1592,7 +1592,7 @@ const BL = {
|
|
|
1592
1592
|
treeData: U.value,
|
|
1593
1593
|
nodeData: nA.value
|
|
1594
1594
|
}), ya = () => {
|
|
1595
|
-
$i(!
|
|
1595
|
+
$i(!_A.value);
|
|
1596
1596
|
}, ue = () => {
|
|
1597
1597
|
r("download");
|
|
1598
1598
|
}, j = async (Z = "png", eA) => {
|
|
@@ -1658,7 +1658,7 @@ const BL = {
|
|
|
1658
1658
|
});
|
|
1659
1659
|
});
|
|
1660
1660
|
}), Ui(() => {
|
|
1661
|
-
B && n.value && ke.select(n.value).on(".zoom", null), B = null, v == null || v.kill(), v = null, L == null || L.kill(), L = null, F && (clearTimeout(F), F = null),
|
|
1661
|
+
B && n.value && ke.select(n.value).on(".zoom", null), B = null, v == null || v.kill(), v = null, L == null || L.kill(), L = null, F && (clearTimeout(F), F = null), V.clear(), q.clear(), rA.clear();
|
|
1662
1662
|
});
|
|
1663
1663
|
const EA = () => {
|
|
1664
1664
|
Nt();
|
|
@@ -1723,7 +1723,7 @@ const BL = {
|
|
|
1723
1723
|
p = !0, ft(), dA.children.splice(DA, 1), eA.each((oe) => {
|
|
1724
1724
|
var ve;
|
|
1725
1725
|
const VA = (ve = oe.data) == null ? void 0 : ve.id;
|
|
1726
|
-
VA && (q.delete(VA),
|
|
1726
|
+
VA && (q.delete(VA), V.delete(VA));
|
|
1727
1727
|
});
|
|
1728
1728
|
const SA = Xg(nA.value);
|
|
1729
1729
|
return We(SA), Ve(SA), U.value = SA, cA(), r("change", lt()), Hi(), xt(), Oe(() => {
|
|
@@ -1849,7 +1849,7 @@ const BL = {
|
|
|
1849
1849
|
})
|
|
1850
1850
|
], -1)
|
|
1851
1851
|
])]),
|
|
1852
|
-
e.showScale ? (N(), Y("div", BL, uA(
|
|
1852
|
+
e.showScale ? (N(), Y("div", BL, uA(W.value) + "%", 1)) : BA("", !0),
|
|
1853
1853
|
M("button", {
|
|
1854
1854
|
class: "toolbar-btn",
|
|
1855
1855
|
title: "放大",
|
|
@@ -1878,10 +1878,10 @@ const BL = {
|
|
|
1878
1878
|
e.expandable ? (N(), Y("button", {
|
|
1879
1879
|
key: 2,
|
|
1880
1880
|
class: "toolbar-btn",
|
|
1881
|
-
title:
|
|
1881
|
+
title: _A.value ? "全部收起" : "全部展开",
|
|
1882
1882
|
onClick: ya
|
|
1883
1883
|
}, [
|
|
1884
|
-
|
|
1884
|
+
_A.value ? (N(), Y("svg", vL, [...eA[5] || (eA[5] = [
|
|
1885
1885
|
M("polyline", { points: "4 14 10 14 10 20" }, null, -1),
|
|
1886
1886
|
M("polyline", { points: "20 10 14 10 14 4" }, null, -1),
|
|
1887
1887
|
M("line", {
|
|
@@ -9609,22 +9609,22 @@ let iB = class G7 extends su {
|
|
|
9609
9609
|
if (a === "center")
|
|
9610
9610
|
B = d((A.top + A.bottom) / 2 + 0.5);
|
|
9611
9611
|
else if (ot(a)) {
|
|
9612
|
-
const z = Object.keys(a)[0],
|
|
9613
|
-
B = d(this.chart.scales[z].getPixelForValue(
|
|
9612
|
+
const z = Object.keys(a)[0], V = a[z];
|
|
9613
|
+
B = d(this.chart.scales[z].getPixelForValue(V));
|
|
9614
9614
|
}
|
|
9615
9615
|
S = A.top, F = A.bottom, y = B + f, b = y + h;
|
|
9616
9616
|
} else if (t === "y") {
|
|
9617
9617
|
if (a === "center")
|
|
9618
9618
|
B = d((A.left + A.right) / 2);
|
|
9619
9619
|
else if (ot(a)) {
|
|
9620
|
-
const z = Object.keys(a)[0],
|
|
9621
|
-
B = d(this.chart.scales[z].getPixelForValue(
|
|
9620
|
+
const z = Object.keys(a)[0], V = a[z];
|
|
9621
|
+
B = d(this.chart.scales[z].getPixelForValue(V));
|
|
9622
9622
|
}
|
|
9623
9623
|
v = B - f, D = v - h, k = A.left, x = A.right;
|
|
9624
9624
|
}
|
|
9625
9625
|
const L = at(r.ticks.maxTicksLimit, c), O = Math.max(1, Math.ceil(c / L));
|
|
9626
9626
|
for (Q = 0; Q < c; Q += O) {
|
|
9627
|
-
const z = this.getContext(Q),
|
|
9627
|
+
const z = this.getContext(Q), V = n.setContext(z), q = o.setContext(z), rA = V.lineWidth, nA = V.color, U = q.dash || [], iA = q.dashOffset, W = V.tickWidth, X = V.tickColor, oA = V.tickBorderDash || [], CA = V.tickBorderDashOffset;
|
|
9628
9628
|
p = $O(this, Q, s), p !== void 0 && (E = js(i, p, rA), l ? v = D = k = x = E : y = b = S = F = E, u.push({
|
|
9629
9629
|
tx1: v,
|
|
9630
9630
|
ty1: y,
|
|
@@ -9638,7 +9638,7 @@ let iB = class G7 extends su {
|
|
|
9638
9638
|
color: nA,
|
|
9639
9639
|
borderDash: U,
|
|
9640
9640
|
borderDashOffset: iA,
|
|
9641
|
-
tickWidth:
|
|
9641
|
+
tickWidth: W,
|
|
9642
9642
|
tickColor: X,
|
|
9643
9643
|
tickBorderDash: oA,
|
|
9644
9644
|
tickBorderDashOffset: CA
|
|
@@ -9682,19 +9682,19 @@ let iB = class G7 extends su {
|
|
|
9682
9682
|
Q = o[d], p = Q.label;
|
|
9683
9683
|
const O = n.setContext(this.getContext(d));
|
|
9684
9684
|
D = this.getPixelForTick(d) + n.labelOffset, b = this._resolveTickFontOptions(d), k = b.lineHeight, S = Vi(p) ? p.length : 1;
|
|
9685
|
-
const z = S / 2,
|
|
9685
|
+
const z = S / 2, V = O.color, q = O.textStrokeColor, rA = O.textStrokeWidth;
|
|
9686
9686
|
let nA = y;
|
|
9687
9687
|
a ? (E = D, y === "inner" && (d === B - 1 ? nA = this.options.reverse ? "left" : "right" : d === 0 ? nA = this.options.reverse ? "right" : "left" : nA = "center"), r === "top" ? l === "near" || I !== 0 ? x = -S * k + k / 2 : l === "center" ? x = -L.highest.height / 2 - z * k + k : x = -L.highest.height + k / 2 : l === "near" || I !== 0 ? x = k / 2 : l === "center" ? x = L.highest.height / 2 - z * k : x = L.highest.height - S * k, c && (x *= -1), I !== 0 && !O.showLabelBackdrop && (E += k / 2 * Math.sin(I))) : (v = D, x = (1 - S) * k / 2);
|
|
9688
9688
|
let U;
|
|
9689
9689
|
if (O.showLabelBackdrop) {
|
|
9690
|
-
const iA = ha(O.backdropPadding),
|
|
9690
|
+
const iA = ha(O.backdropPadding), W = L.heights[d], X = L.widths[d];
|
|
9691
9691
|
let oA = x - iA.top, CA = 0 - iA.left;
|
|
9692
9692
|
switch (F) {
|
|
9693
9693
|
case "middle":
|
|
9694
|
-
oA -=
|
|
9694
|
+
oA -= W / 2;
|
|
9695
9695
|
break;
|
|
9696
9696
|
case "bottom":
|
|
9697
|
-
oA -=
|
|
9697
|
+
oA -= W;
|
|
9698
9698
|
break;
|
|
9699
9699
|
}
|
|
9700
9700
|
switch (y) {
|
|
@@ -9712,7 +9712,7 @@ let iB = class G7 extends su {
|
|
|
9712
9712
|
left: CA,
|
|
9713
9713
|
top: oA,
|
|
9714
9714
|
width: X + iA.width,
|
|
9715
|
-
height:
|
|
9715
|
+
height: W + iA.height,
|
|
9716
9716
|
color: O.backdropColor
|
|
9717
9717
|
};
|
|
9718
9718
|
}
|
|
@@ -9722,7 +9722,7 @@ let iB = class G7 extends su {
|
|
|
9722
9722
|
textOffset: x,
|
|
9723
9723
|
options: {
|
|
9724
9724
|
rotation: I,
|
|
9725
|
-
color:
|
|
9725
|
+
color: V,
|
|
9726
9726
|
strokeColor: q,
|
|
9727
9727
|
strokeWidth: rA,
|
|
9728
9728
|
textAlign: nA,
|
|
@@ -10936,7 +10936,7 @@ function Yf(e, A, t, i, r, n) {
|
|
|
10936
10936
|
let u = 0;
|
|
10937
10937
|
const C = r - s;
|
|
10938
10938
|
if (i) {
|
|
10939
|
-
const O = g > 0 ? g - i : 0, z = c > 0 ? c - i : 0,
|
|
10939
|
+
const O = g > 0 ? g - i : 0, z = c > 0 ? c - i : 0, V = (O + z) / 2, q = V !== 0 ? C * V / (V + i) : C;
|
|
10940
10940
|
u = (C - q) / 2;
|
|
10941
10941
|
}
|
|
10942
10942
|
const I = Math.max(1e-3, C * c - t / Zt) / c, f = (C - I) / 2, d = s + f + u, B = r - f - u, { outerStart: Q, outerEnd: p, innerStart: E, innerEnd: v } = xH(A, h, c, B - d), y = c - Q, D = c - p, b = d + Q / y, k = B - p / D, S = h + E, x = h + v, F = d + E / S, L = B - v / x;
|
|
@@ -10951,8 +10951,8 @@ function Yf(e, A, t, i, r, n) {
|
|
|
10951
10951
|
const rA = wg(x, L, a, o);
|
|
10952
10952
|
e.arc(rA.x, rA.y, v, B + Yi, L + Math.PI);
|
|
10953
10953
|
}
|
|
10954
|
-
const
|
|
10955
|
-
if (e.arc(a, o, h, B - v / h,
|
|
10954
|
+
const V = (B - v / h + (d + E / h)) / 2;
|
|
10955
|
+
if (e.arc(a, o, h, B - v / h, V, !0), e.arc(a, o, h, V, d + E / h, !0), E > 0) {
|
|
10956
10956
|
const rA = wg(S, F, a, o);
|
|
10957
10957
|
e.arc(rA.x, rA.y, E, F + Math.PI, d - Yi);
|
|
10958
10958
|
}
|
|
@@ -10965,8 +10965,8 @@ function Yf(e, A, t, i, r, n) {
|
|
|
10965
10965
|
e.moveTo(a, o);
|
|
10966
10966
|
const O = Math.cos(b) * c + a, z = Math.sin(b) * c + o;
|
|
10967
10967
|
e.lineTo(O, z);
|
|
10968
|
-
const
|
|
10969
|
-
e.lineTo(
|
|
10968
|
+
const V = Math.cos(k) * c + a, q = Math.sin(k) * c + o;
|
|
10969
|
+
e.lineTo(V, q);
|
|
10970
10970
|
}
|
|
10971
10971
|
e.closePath();
|
|
10972
10972
|
}
|
|
@@ -13909,14 +13909,14 @@ const Qq = ["data-tool-call-id", "data-state", "aria-label", "aria-busy"], pq =
|
|
|
13909
13909
|
const IA = (JA = S.value) == null ? void 0 : JA.trim();
|
|
13910
13910
|
return IA ? [IA] : [];
|
|
13911
13911
|
}), O = J(() => f.value || B.value || s.value !== "running" && s.value !== "pending" ? !1 : c.value.trim().length > 0), z = J(() => s.value === "error" ? "error" : s.value === "cancelled" || s.value === "denied" ? "warning" : "icon");
|
|
13912
|
-
function
|
|
13912
|
+
function V(IA) {
|
|
13913
13913
|
return u.value ? !1 : IA === "requires-approval" || IA === "requires-action";
|
|
13914
13914
|
}
|
|
13915
|
-
const q = gA(
|
|
13915
|
+
const q = gA(V(s.value)), rA = gA(!1), nA = gA(!1), U = gA(null), iA = gA(), W = gA(0);
|
|
13916
13916
|
let X;
|
|
13917
13917
|
function oA() {
|
|
13918
13918
|
const IA = iA.value;
|
|
13919
|
-
IA && (
|
|
13919
|
+
IA && (W.value = IA.scrollHeight);
|
|
13920
13920
|
}
|
|
13921
13921
|
Ue(
|
|
13922
13922
|
iA,
|
|
@@ -13926,11 +13926,11 @@ const Qq = ["data-tool-call-id", "data-state", "aria-label", "aria-busy"], pq =
|
|
|
13926
13926
|
{ immediate: !0, flush: "post" }
|
|
13927
13927
|
), Ui(() => X == null ? void 0 : X.disconnect());
|
|
13928
13928
|
const CA = J(() => ({
|
|
13929
|
-
height: q.value ? `${
|
|
13930
|
-
})),
|
|
13929
|
+
height: q.value ? `${W.value}px` : "0px"
|
|
13930
|
+
})), _A = gA();
|
|
13931
13931
|
let UA;
|
|
13932
13932
|
function Ae() {
|
|
13933
|
-
const IA =
|
|
13933
|
+
const IA = _A.value;
|
|
13934
13934
|
if (!IA) {
|
|
13935
13935
|
nA.value = !1;
|
|
13936
13936
|
return;
|
|
@@ -13938,7 +13938,7 @@ const Qq = ["data-tool-call-id", "data-state", "aria-label", "aria-busy"], pq =
|
|
|
13938
13938
|
rA.value || (nA.value = IA.scrollHeight > Oq + 1);
|
|
13939
13939
|
}
|
|
13940
13940
|
Ue(
|
|
13941
|
-
|
|
13941
|
+
_A,
|
|
13942
13942
|
(IA) => {
|
|
13943
13943
|
UA == null || UA.disconnect(), UA = void 0, IA && (Ae(), typeof ResizeObserver < "u" && (UA = new ResizeObserver(Ae), UA.observe(IA)));
|
|
13944
13944
|
},
|
|
@@ -13987,7 +13987,7 @@ const Qq = ["data-tool-call-id", "data-state", "aria-label", "aria-busy"], pq =
|
|
|
13987
13987
|
return /[\\/]|\.[a-zA-Z0-9]{1,8}$/.test(IA);
|
|
13988
13988
|
}
|
|
13989
13989
|
return Ue(s, (IA) => {
|
|
13990
|
-
q.value =
|
|
13990
|
+
q.value = V(IA), U.value = null, V(IA) || (rA.value = !1);
|
|
13991
13991
|
}), Ue(u, (IA) => {
|
|
13992
13992
|
IA && (q.value = !1, rA.value = !1);
|
|
13993
13993
|
}), Ue(
|
|
@@ -14090,7 +14090,7 @@ const Qq = ["data-tool-call-id", "data-state", "aria-label", "aria-busy"], pq =
|
|
|
14090
14090
|
}, [
|
|
14091
14091
|
M("pre", {
|
|
14092
14092
|
ref_key: "detailsPreRef",
|
|
14093
|
-
ref:
|
|
14093
|
+
ref: _A,
|
|
14094
14094
|
class: ce(["tool-call-part__streaming-arguments", {
|
|
14095
14095
|
"tool-call-part__streaming-arguments--streaming": O.value
|
|
14096
14096
|
}])
|
|
@@ -15150,7 +15150,7 @@ function st(e, A, t) {
|
|
|
15150
15150
|
}
|
|
15151
15151
|
return e;
|
|
15152
15152
|
}
|
|
15153
|
-
function
|
|
15153
|
+
function xA(e, A) {
|
|
15154
15154
|
if (Object.assign)
|
|
15155
15155
|
Object.assign(e, A);
|
|
15156
15156
|
else
|
|
@@ -15424,7 +15424,7 @@ function lB(e, A) {
|
|
|
15424
15424
|
};
|
|
15425
15425
|
i.prototype = e, t = new i();
|
|
15426
15426
|
}
|
|
15427
|
-
return A &&
|
|
15427
|
+
return A && xA(t, A), t;
|
|
15428
15428
|
}
|
|
15429
15429
|
function l6(e) {
|
|
15430
15430
|
var A = e.style;
|
|
@@ -17191,7 +17191,7 @@ function E3(e) {
|
|
|
17191
17191
|
var A = p3.get(e);
|
|
17192
17192
|
return A || (A = Q3(e, -0.1), p3.put(e, A)), A;
|
|
17193
17193
|
} else if (sB(e)) {
|
|
17194
|
-
var t =
|
|
17194
|
+
var t = xA({}, e);
|
|
17195
17195
|
return t.colorStops = zA(e.colorStops, function(i) {
|
|
17196
17196
|
return {
|
|
17197
17197
|
offset: i.offset,
|
|
@@ -17326,7 +17326,7 @@ var Gu = [0, 0, 0, 0], OV = function() {
|
|
|
17326
17326
|
g && (s = g, o = v0);
|
|
17327
17327
|
}
|
|
17328
17328
|
else if (sB(t)) {
|
|
17329
|
-
var c =
|
|
17329
|
+
var c = xA({}, s);
|
|
17330
17330
|
c.colorStops = zA(t.colorStops, function(u) {
|
|
17331
17331
|
return {
|
|
17332
17332
|
offset: u.offset,
|
|
@@ -18096,7 +18096,7 @@ var jQ = "__zr_normal__", $Q = cB.concat(["ignore"]), $V = Ns(cB, function(e, A)
|
|
|
18096
18096
|
return i[3] = 1, vo(i, "rgba");
|
|
18097
18097
|
}, e.prototype.traverse = function(A, t) {
|
|
18098
18098
|
}, e.prototype.attrKV = function(A, t) {
|
|
18099
|
-
A === "textConfig" ? this.setTextConfig(t) : A === "textContent" ? this.setTextContent(t) : A === "clipPath" ? this.setClipPath(t) : A === "extra" ? (this.extra = this.extra || {},
|
|
18099
|
+
A === "textConfig" ? this.setTextConfig(t) : A === "textContent" ? this.setTextContent(t) : A === "clipPath" ? this.setClipPath(t) : A === "extra" ? (this.extra = this.extra || {}, xA(this.extra, t)) : this[A] = t;
|
|
18100
18100
|
}, e.prototype.hide = function() {
|
|
18101
18101
|
this.ignore = !0, this.markRedraw();
|
|
18102
18102
|
}, e.prototype.show = function() {
|
|
@@ -18205,13 +18205,13 @@ var jQ = "__zr_normal__", $Q = cB.concat(["ignore"]), $V = Ns(cB, function(e, A)
|
|
|
18205
18205
|
}, e.prototype._mergeStates = function(A) {
|
|
18206
18206
|
for (var t = {}, i, r = 0; r < A.length; r++) {
|
|
18207
18207
|
var n = A[r];
|
|
18208
|
-
|
|
18208
|
+
xA(t, n), n.textConfig && (i = i || {}, xA(i, n.textConfig));
|
|
18209
18209
|
}
|
|
18210
18210
|
return i && (t.textConfig = i), t;
|
|
18211
18211
|
}, e.prototype._applyStateObj = function(A, t, i, r, n, a) {
|
|
18212
18212
|
if (this.__inHover !== hB) {
|
|
18213
18213
|
var o = !(t && r);
|
|
18214
|
-
t && t.textConfig ? (this.textConfig =
|
|
18214
|
+
t && t.textConfig ? (this.textConfig = xA({}, r ? this.textConfig : i.textConfig), xA(this.textConfig, t.textConfig)) : o && i.textConfig && (this.textConfig = i.textConfig);
|
|
18215
18215
|
for (var s = {}, l = !1, g = 0; g < $Q.length; g++) {
|
|
18216
18216
|
var c = $Q[g], h = n && $V[c];
|
|
18217
18217
|
t && t[c] != null ? h ? (l = !0, s[c] = t[c]) : this[c] = t[c] : o && i[c] != null && (h ? (l = !0, s[c] = i[c]) : this[c] = i[c]);
|
|
@@ -18255,7 +18255,7 @@ var jQ = "__zr_normal__", $Q = cB.concat(["ignore"]), $V = Ns(cB, function(e, A)
|
|
|
18255
18255
|
A.innerTransformable = new lg(), this._attachComponent(A), this._textContent = A, this.markRedraw();
|
|
18256
18256
|
}
|
|
18257
18257
|
}, e.prototype.setTextConfig = function(A) {
|
|
18258
|
-
this.textConfig || (this.textConfig = {}),
|
|
18258
|
+
this.textConfig || (this.textConfig = {}), xA(this.textConfig, A), this.markRedraw();
|
|
18259
18259
|
}, e.prototype.removeTextConfig = function() {
|
|
18260
18260
|
this.textConfig = null, this.markRedraw();
|
|
18261
18261
|
}, e.prototype.removeTextContent = function() {
|
|
@@ -19383,7 +19383,7 @@ function A2(e, A) {
|
|
|
19383
19383
|
return a;
|
|
19384
19384
|
}(i) : (r = function() {
|
|
19385
19385
|
(t.$constructor || i).apply(this, arguments);
|
|
19386
|
-
}, FK(r, this)),
|
|
19386
|
+
}, FK(r, this)), xA(r.prototype, t), r[V6] = !0, r.extend = this.extend, r.superCall = zW, r.superApply = XW, r.superClass = i, r;
|
|
19387
19387
|
};
|
|
19388
19388
|
}
|
|
19389
19389
|
function KW(e) {
|
|
@@ -19531,7 +19531,7 @@ function tz(e, A, t, i, r, n) {
|
|
|
19531
19531
|
}
|
|
19532
19532
|
function X6(e, A, t, i) {
|
|
19533
19533
|
i = i || {};
|
|
19534
|
-
var r =
|
|
19534
|
+
var r = xA({}, i);
|
|
19535
19535
|
t = se(t, "..."), r.maxIterations = se(i.maxIterations, 2);
|
|
19536
19536
|
var n = r.minChar = se(i.minChar, 0), a = r.fontMeasureInfo = qa(A), o = a.asciiCharWidth;
|
|
19537
19537
|
r.placeholder = se(i.placeholder, "");
|
|
@@ -19631,13 +19631,13 @@ function oz(e, A, t, i, r) {
|
|
|
19631
19631
|
}
|
|
19632
19632
|
C < a.length && rp(n, a.substring(C, a.length), A, u);
|
|
19633
19633
|
var d = [], B = 0, Q = 0, p = h === "truncate", E = A.lineOverflow === "truncate", v = {};
|
|
19634
|
-
function y(CA,
|
|
19635
|
-
CA.width =
|
|
19634
|
+
function y(CA, _A, UA) {
|
|
19635
|
+
CA.width = _A, CA.lineHeight = UA, B += UA, Q = Math.max(Q, _A);
|
|
19636
19636
|
}
|
|
19637
19637
|
A: for (var D = 0; D < n.lines.length; D++) {
|
|
19638
19638
|
for (var b = n.lines[D], k = 0, S = 0, x = 0; x < b.tokens.length; x++) {
|
|
19639
|
-
var F = b.tokens[x], L = F.styleName && A.rich[F.styleName] || {}, O = F.textPadding = L.padding, z = O ? O[1] + O[3] : 0,
|
|
19640
|
-
F.contentHeight = uB(
|
|
19639
|
+
var F = b.tokens[x], L = F.styleName && A.rich[F.styleName] || {}, O = F.textPadding = L.padding, z = O ? O[1] + O[3] : 0, V = F.font = L.font || A.font;
|
|
19640
|
+
F.contentHeight = uB(V);
|
|
19641
19641
|
var q = se(L.height, F.contentHeight);
|
|
19642
19642
|
if (F.innerHeight = q, O && (q += O[0] + O[2]), F.height = q, F.lineHeight = Za(L.lineHeight, A.lineHeight, q), F.align = L && L.align || r, F.verticalAlign = L && L.verticalAlign || "middle", E && c != null && B + F.lineHeight > c) {
|
|
19643
19643
|
var rA = n.lines.length;
|
|
@@ -19646,14 +19646,14 @@ function oz(e, A, t, i, r) {
|
|
|
19646
19646
|
}
|
|
19647
19647
|
var nA = L.width, U = nA == null || nA === "auto";
|
|
19648
19648
|
if (typeof nA == "string" && nA.charAt(nA.length - 1) === "%")
|
|
19649
|
-
F.percentWidth = nA, d.push(F), F.contentWidth = Pa(qa(
|
|
19649
|
+
F.percentWidth = nA, d.push(F), F.contentWidth = Pa(qa(V), F.text);
|
|
19650
19650
|
else {
|
|
19651
19651
|
if (U) {
|
|
19652
|
-
var iA = L.backgroundColor,
|
|
19653
|
-
|
|
19652
|
+
var iA = L.backgroundColor, W = iA && iA.image;
|
|
19653
|
+
W && (W = ez(W), BB(W) && (F.width = Math.max(F.width, W.width * q / W.height)));
|
|
19654
19654
|
}
|
|
19655
19655
|
var X = p && g != null ? g - S : null;
|
|
19656
|
-
X != null && X < F.width ? !U || X < z ? (F.text = "", F.width = F.contentWidth = 0) : (tz(v, F.text, X - z,
|
|
19656
|
+
X != null && X < F.width ? !U || X < z ? (F.text = "", F.width = F.contentWidth = 0) : (tz(v, F.text, X - z, V, A.ellipsis, { minChar: A.truncateMinChar }), F.text = v.text, n.isTruncated = n.isTruncated || v.isTruncated, F.width = F.contentWidth = Pa(qa(V), F.text)) : F.contentWidth = Pa(qa(V), F.text);
|
|
19657
19657
|
}
|
|
19658
19658
|
F.width += z, S += F.width, L && (k = Math.max(k, F.lineHeight));
|
|
19659
19659
|
}
|
|
@@ -19820,7 +19820,7 @@ var z3 = ["z", "z2", "invisible"], uz = ["invisible"], Vh = function(e) {
|
|
|
19820
19820
|
}, A.prototype.attrKV = function(t, i) {
|
|
19821
19821
|
t !== "style" ? e.prototype.attrKV.call(this, t, i) : this.style ? this.setStyle(i) : this.useStyle(i);
|
|
19822
19822
|
}, A.prototype.setStyle = function(t, i) {
|
|
19823
|
-
return typeof t == "string" ? this.style[t] = i :
|
|
19823
|
+
return typeof t == "string" ? this.style[t] = i : xA(this.style, t), this.dirtyStyle(), this;
|
|
19824
19824
|
}, A.prototype.dirtyStyle = function(t) {
|
|
19825
19825
|
t || this.markRedraw(), this.__dirty |= E0, this._rect && (this._rect = null);
|
|
19826
19826
|
}, A.prototype.dirty = function() {
|
|
@@ -19873,7 +19873,7 @@ var z3 = ["z", "z2", "invisible"], uz = ["invisible"], Vh = function(e) {
|
|
|
19873
19873
|
}
|
|
19874
19874
|
return r && (i.style = r), i;
|
|
19875
19875
|
}, A.prototype._mergeStyle = function(t, i) {
|
|
19876
|
-
return
|
|
19876
|
+
return xA(t, i), t;
|
|
19877
19877
|
}, A.prototype.getAnimationStyleProps = function() {
|
|
19878
19878
|
return QB;
|
|
19879
19879
|
}, A.initDefaultProps = function() {
|
|
@@ -20146,42 +20146,42 @@ var eg = function() {
|
|
|
20146
20146
|
break;
|
|
20147
20147
|
}
|
|
20148
20148
|
case vt.C: {
|
|
20149
|
-
var L = i[v++], O = i[v++], z = i[v++],
|
|
20149
|
+
var L = i[v++], O = i[v++], z = i[v++], V = i[v++], q = i[v++], rA = i[v++];
|
|
20150
20150
|
if (u) {
|
|
20151
20151
|
var S = C[d++];
|
|
20152
20152
|
if (f + S > B) {
|
|
20153
20153
|
var x = (B - f) / S;
|
|
20154
|
-
Pf(l, L, z, q, x, sl), Pf(g, O,
|
|
20154
|
+
Pf(l, L, z, q, x, sl), Pf(g, O, V, rA, x, ll), A.bezierCurveTo(sl[1], ll[1], sl[2], ll[2], sl[3], ll[3]);
|
|
20155
20155
|
break A;
|
|
20156
20156
|
}
|
|
20157
20157
|
f += S;
|
|
20158
20158
|
}
|
|
20159
|
-
A.bezierCurveTo(L, O, z,
|
|
20159
|
+
A.bezierCurveTo(L, O, z, V, q, rA), l = q, g = rA;
|
|
20160
20160
|
break;
|
|
20161
20161
|
}
|
|
20162
20162
|
case vt.Q: {
|
|
20163
|
-
var L = i[v++], O = i[v++], z = i[v++],
|
|
20163
|
+
var L = i[v++], O = i[v++], z = i[v++], V = i[v++];
|
|
20164
20164
|
if (u) {
|
|
20165
20165
|
var S = C[d++];
|
|
20166
20166
|
if (f + S > B) {
|
|
20167
20167
|
var x = (B - f) / S;
|
|
20168
|
-
Kf(l, L, z, x, sl), Kf(g, O,
|
|
20168
|
+
Kf(l, L, z, x, sl), Kf(g, O, V, x, ll), A.quadraticCurveTo(sl[1], ll[1], sl[2], ll[2]);
|
|
20169
20169
|
break A;
|
|
20170
20170
|
}
|
|
20171
20171
|
f += S;
|
|
20172
20172
|
}
|
|
20173
|
-
A.quadraticCurveTo(L, O, z,
|
|
20173
|
+
A.quadraticCurveTo(L, O, z, V), l = z, g = V;
|
|
20174
20174
|
break;
|
|
20175
20175
|
}
|
|
20176
20176
|
case vt.A:
|
|
20177
|
-
var nA = i[v++], U = i[v++], iA = i[v++],
|
|
20177
|
+
var nA = i[v++], U = i[v++], iA = i[v++], W = i[v++], X = i[v++], oA = i[v++], CA = i[v++], _A = !i[v++], UA = iA > W ? iA : W, Ae = io(iA - W) > 1e-3, OA = X + oA, ie = !1;
|
|
20178
20178
|
if (u) {
|
|
20179
20179
|
var S = C[d++];
|
|
20180
20180
|
f + S > B && (OA = X + oA * (B - f) / S, ie = !0), f += S;
|
|
20181
20181
|
}
|
|
20182
|
-
if (Ae && A.ellipse ? A.ellipse(nA, U, iA,
|
|
20182
|
+
if (Ae && A.ellipse ? A.ellipse(nA, U, iA, W, CA, X, OA, _A) : A.arc(nA, U, UA, X, OA, _A), ie)
|
|
20183
20183
|
break A;
|
|
20184
|
-
D && (o = gl(X) * iA + nA, s = cl(X) *
|
|
20184
|
+
D && (o = gl(X) * iA + nA, s = cl(X) * W + U), l = gl(OA) * iA + nA, g = cl(OA) * W + U;
|
|
20185
20185
|
break;
|
|
20186
20186
|
case vt.R:
|
|
20187
20187
|
o = l = i[v], s = g = i[v + 1], c = i[v++], h = i[v++];
|
|
@@ -20481,7 +20481,7 @@ var t9 = ze({
|
|
|
20481
20481
|
r && this.useStyle(r);
|
|
20482
20482
|
for (var n = 0; n < i.length; n++) {
|
|
20483
20483
|
var a = i[n], o = t[a];
|
|
20484
|
-
a === "style" ? this.style ?
|
|
20484
|
+
a === "style" ? this.style ? xA(this.style, o) : this.useStyle(o) : a === "shape" ? xA(this.shape, o) : e.prototype.attrKV.call(this, a, o);
|
|
20485
20485
|
}
|
|
20486
20486
|
this.style || this.useStyle({});
|
|
20487
20487
|
}, A.prototype.getDefaultStyle = function() {
|
|
@@ -20567,7 +20567,7 @@ var t9 = ze({
|
|
|
20567
20567
|
t === "shape" ? this.setShape(i) : e.prototype.attrKV.call(this, t, i);
|
|
20568
20568
|
}, A.prototype.setShape = function(t, i) {
|
|
20569
20569
|
var r = this.shape;
|
|
20570
|
-
return r || (r = this.shape = {}), typeof t == "string" ? r[t] = i :
|
|
20570
|
+
return r || (r = this.shape = {}), typeof t == "string" ? r[t] = i : xA(r, t), this.dirtyShape(), this;
|
|
20571
20571
|
}, A.prototype.shapeChanged = function() {
|
|
20572
20572
|
return !!(this.__dirty & tc);
|
|
20573
20573
|
}, A.prototype.createStyle = function(t) {
|
|
@@ -20575,13 +20575,13 @@ var t9 = ze({
|
|
|
20575
20575
|
}, A.prototype._innerSaveToNormal = function(t) {
|
|
20576
20576
|
e.prototype._innerSaveToNormal.call(this, t);
|
|
20577
20577
|
var i = this._normalState;
|
|
20578
|
-
t.shape && !i.shape && (i.shape =
|
|
20578
|
+
t.shape && !i.shape && (i.shape = xA({}, this.shape));
|
|
20579
20579
|
}, A.prototype._applyStateObj = function(t, i, r, n, a, o) {
|
|
20580
20580
|
if (e.prototype._applyStateObj.call(this, t, i, r, n, a, o), this.__inHover !== hB) {
|
|
20581
20581
|
var s = !(i && n), l;
|
|
20582
|
-
if (i && i.shape ? a ? n ? l = i.shape : (l =
|
|
20582
|
+
if (i && i.shape ? a ? n ? l = i.shape : (l = xA({}, r.shape), xA(l, i.shape)) : (l = xA({}, n ? this.shape : r.shape), xA(l, i.shape)) : s && (l = r.shape), l)
|
|
20583
20583
|
if (a) {
|
|
20584
|
-
this.shape =
|
|
20584
|
+
this.shape = xA({}, this.shape);
|
|
20585
20585
|
for (var g = {}, c = St(l), h = 0; h < c.length; h++) {
|
|
20586
20586
|
var u = c[h];
|
|
20587
20587
|
typeof l[u] == "object" ? this.shape[u] = l[u] : g[u] = l[u];
|
|
@@ -20825,11 +20825,11 @@ var eD = {
|
|
|
20825
20825
|
if (!i)
|
|
20826
20826
|
return t;
|
|
20827
20827
|
var r = i.rich, n = t.rich || r && {};
|
|
20828
|
-
return
|
|
20828
|
+
return xA(t, i), r && n ? (this._mergeRich(n, r), t.rich = n) : n && (t.rich = n), t;
|
|
20829
20829
|
}, A.prototype._mergeRich = function(t, i) {
|
|
20830
20830
|
for (var r = St(i), n = 0; n < r.length; n++) {
|
|
20831
20831
|
var a = r[n];
|
|
20832
|
-
t[a] = t[a] || {},
|
|
20832
|
+
t[a] = t[a] || {}, xA(t[a], i[a]);
|
|
20833
20833
|
}
|
|
20834
20834
|
}, A.prototype.getAnimationStyleProps = function() {
|
|
20835
20835
|
return Lz;
|
|
@@ -21064,11 +21064,11 @@ function Vz(e, A, t, i) {
|
|
|
21064
21064
|
if (Fg(o) || Fg(s)) {
|
|
21065
21065
|
i = i || {};
|
|
21066
21066
|
var l = i.style || {};
|
|
21067
|
-
l.fill === "inherit" ? (n = !0, i =
|
|
21067
|
+
l.fill === "inherit" ? (n = !0, i = xA({}, i), l = xA({}, l), l.fill = o) : !Fg(l.fill) && Fg(o) ? (n = !0, i = xA({}, i), l = xA({}, l), l.fill = E3(o)) : !Fg(l.stroke) && Fg(s) && (n || (i = xA({}, i), l = xA({}, l)), l.stroke = E3(s)), i.style = l;
|
|
21068
21068
|
}
|
|
21069
21069
|
}
|
|
21070
21070
|
if (i && i.z2 == null) {
|
|
21071
|
-
n || (i =
|
|
21071
|
+
n || (i = xA({}, i));
|
|
21072
21072
|
var g = e.z2EmphasisLift;
|
|
21073
21073
|
i.z2 = e.z2 + (g ?? Hz);
|
|
21074
21074
|
}
|
|
@@ -21076,7 +21076,7 @@ function Vz(e, A, t, i) {
|
|
|
21076
21076
|
}
|
|
21077
21077
|
function Wz(e, A, t) {
|
|
21078
21078
|
if (t && t.z2 == null) {
|
|
21079
|
-
t =
|
|
21079
|
+
t = xA({}, t);
|
|
21080
21080
|
var i = e.z2SelectLift;
|
|
21081
21081
|
t.z2 = e.z2 + (i ?? Zz);
|
|
21082
21082
|
}
|
|
@@ -21088,7 +21088,7 @@ function zz(e, A, t) {
|
|
|
21088
21088
|
});
|
|
21089
21089
|
t = t || {};
|
|
21090
21090
|
var a = t.style || {};
|
|
21091
|
-
return a.opacity == null && (t =
|
|
21091
|
+
return a.opacity == null && (t = xA({}, t), a = xA({
|
|
21092
21092
|
// Already being applied 'emphasis'. DON'T mul opacity multiple times.
|
|
21093
21093
|
opacity: i ? r : n.opacity * 0.1
|
|
21094
21094
|
}, a), t.style = a), t;
|
|
@@ -21475,7 +21475,7 @@ function Q9(e) {
|
|
|
21475
21475
|
return e.setData != null;
|
|
21476
21476
|
}
|
|
21477
21477
|
function p9(e, A) {
|
|
21478
|
-
var t = CX(e), i =
|
|
21478
|
+
var t = CX(e), i = xA({}, A);
|
|
21479
21479
|
return i.buildPath = function(r) {
|
|
21480
21480
|
var n = Q9(r);
|
|
21481
21481
|
if (n && r.canSave()) {
|
|
@@ -21596,33 +21596,33 @@ function mX(e, A) {
|
|
|
21596
21596
|
else if (u > dp - ra)
|
|
21597
21597
|
e.moveTo(g + i * Rg(s), c + i * Cl(s)), e.arc(g, c, i, s, l, !h), r > ra && (e.moveTo(g + r * Rg(l), c + r * Cl(l)), e.arc(g, c, r, l, s, h));
|
|
21598
21598
|
else {
|
|
21599
|
-
var I = void 0, f = void 0, d = void 0, B = void 0, Q = void 0, p = void 0, E = void 0, v = void 0, y = void 0, D = void 0, b = void 0, k = void 0, S = void 0, x = void 0, F = void 0, L = void 0, O = i * Rg(s), z = i * Cl(s),
|
|
21599
|
+
var I = void 0, f = void 0, d = void 0, B = void 0, Q = void 0, p = void 0, E = void 0, v = void 0, y = void 0, D = void 0, b = void 0, k = void 0, S = void 0, x = void 0, F = void 0, L = void 0, O = i * Rg(s), z = i * Cl(s), V = r * Rg(l), q = r * Cl(l), rA = u > ra;
|
|
21600
21600
|
if (rA) {
|
|
21601
21601
|
var nA = A.cornerRadius;
|
|
21602
21602
|
nA && (t = vX(nA), I = t[0], f = t[1], d = t[2], B = t[3]);
|
|
21603
21603
|
var U = mD(i - r) / 2;
|
|
21604
21604
|
if (Q = Na(U, d), p = Na(U, B), E = Na(U, I), v = Na(U, f), b = y = y0(Q, p), k = D = y0(E, v), (y > ra || D > ra) && (S = i * Rg(l), x = i * Cl(l), F = r * Rg(s), L = r * Cl(s), u < E9)) {
|
|
21605
|
-
var iA = EX(O, z, F, L, S, x,
|
|
21605
|
+
var iA = EX(O, z, F, L, S, x, V, q);
|
|
21606
21606
|
if (iA) {
|
|
21607
|
-
var
|
|
21608
|
-
b = Na(y, (i - UA) / (
|
|
21607
|
+
var W = O - iA[0], X = z - iA[1], oA = S - iA[0], CA = x - iA[1], _A = 1 / Cl(pX((W * oA + X * CA) / (q0(W * W + X * X) * q0(oA * oA + CA * CA))) / 2), UA = q0(iA[0] * iA[0] + iA[1] * iA[1]);
|
|
21608
|
+
b = Na(y, (i - UA) / (_A + 1)), k = Na(D, (r - UA) / (_A - 1));
|
|
21609
21609
|
}
|
|
21610
21610
|
}
|
|
21611
21611
|
}
|
|
21612
21612
|
if (!rA)
|
|
21613
21613
|
e.moveTo(g + O, c + z);
|
|
21614
21614
|
else if (b > ra) {
|
|
21615
|
-
var Ae = Na(d, b), OA = Na(B, b), ie = qC(F, L, O, z, i, Ae, h), ZA = qC(S, x,
|
|
21615
|
+
var Ae = Na(d, b), OA = Na(B, b), ie = qC(F, L, O, z, i, Ae, h), ZA = qC(S, x, V, q, i, OA, h);
|
|
21616
21616
|
e.moveTo(g + ie.cx + ie.x0, c + ie.cy + ie.y0), b < y && Ae === OA ? e.arc(g + ie.cx, c + ie.cy, b, Ir(ie.y0, ie.x0), Ir(ZA.y0, ZA.x0), !h) : (Ae > 0 && e.arc(g + ie.cx, c + ie.cy, Ae, Ir(ie.y0, ie.x0), Ir(ie.y1, ie.x1), !h), e.arc(g, c, i, Ir(ie.cy + ie.y1, ie.cx + ie.x1), Ir(ZA.cy + ZA.y1, ZA.cx + ZA.x1), !h), OA > 0 && e.arc(g + ZA.cx, c + ZA.cy, OA, Ir(ZA.y1, ZA.x1), Ir(ZA.y0, ZA.x0), !h));
|
|
21617
21617
|
} else
|
|
21618
21618
|
e.moveTo(g + O, c + z), e.arc(g, c, i, s, l, !h);
|
|
21619
21619
|
if (!(r > ra) || !rA)
|
|
21620
|
-
e.lineTo(g +
|
|
21620
|
+
e.lineTo(g + V, c + q);
|
|
21621
21621
|
else if (k > ra) {
|
|
21622
|
-
var Ae = Na(I, k), OA = Na(f, k), ie = qC(
|
|
21622
|
+
var Ae = Na(I, k), OA = Na(f, k), ie = qC(V, q, S, x, r, -OA, h), ZA = qC(O, z, F, L, r, -Ae, h);
|
|
21623
21623
|
e.lineTo(g + ie.cx + ie.x0, c + ie.cy + ie.y0), k < D && Ae === OA ? e.arc(g + ie.cx, c + ie.cy, k, Ir(ie.y0, ie.x0), Ir(ZA.y0, ZA.x0), !h) : (OA > 0 && e.arc(g + ie.cx, c + ie.cy, OA, Ir(ie.y0, ie.x0), Ir(ie.y1, ie.x1), !h), e.arc(g, c, r, Ir(ie.cy + ie.y1, ie.cx + ie.x1), Ir(ZA.cy + ZA.y1, ZA.cx + ZA.x1), h), Ae > 0 && e.arc(g + ZA.cx, c + ZA.cy, Ae, Ir(ZA.y1, ZA.x1), Ir(ZA.y0, ZA.x0), !h));
|
|
21624
21624
|
} else
|
|
21625
|
-
e.lineTo(g +
|
|
21625
|
+
e.lineTo(g + V, c + q), e.arc(g, c, r, l, s, h);
|
|
21626
21626
|
}
|
|
21627
21627
|
e.closePath();
|
|
21628
21628
|
}
|
|
@@ -22208,7 +22208,7 @@ function XX(e, A) {
|
|
|
22208
22208
|
};
|
|
22209
22209
|
}
|
|
22210
22210
|
function h2(e, A, t) {
|
|
22211
|
-
var i =
|
|
22211
|
+
var i = xA({
|
|
22212
22212
|
rectHover: !0
|
|
22213
22213
|
}, A), r = i.style = {
|
|
22214
22214
|
strokeNoScale: !0
|
|
@@ -22504,7 +22504,7 @@ function ja(e, A) {
|
|
|
22504
22504
|
}
|
|
22505
22505
|
function sr(e, A, t, i, r) {
|
|
22506
22506
|
var n = {};
|
|
22507
|
-
return tj(n, e, t, i, r), A &&
|
|
22507
|
+
return tj(n, e, t, i, r), A && xA(n, A), n;
|
|
22508
22508
|
}
|
|
22509
22509
|
function kD(e, A, t) {
|
|
22510
22510
|
A = A || {};
|
|
@@ -23694,7 +23694,7 @@ var TA = {
|
|
|
23694
23694
|
transparent: "rgba(0,0,0,0)",
|
|
23695
23695
|
highlight: "rgba(255,231,130,0.8)"
|
|
23696
23696
|
};
|
|
23697
|
-
|
|
23697
|
+
xA(di, {
|
|
23698
23698
|
primary: di.neutral80,
|
|
23699
23699
|
secondary: di.neutral70,
|
|
23700
23700
|
tertiary: di.neutral60,
|
|
@@ -24164,10 +24164,10 @@ echarts.use([` + x + "]);" : "Unknown series " + S));
|
|
|
24164
24164
|
if (y && y.constructor === k)
|
|
24165
24165
|
y.name = E.keyInfo.name, y.mergeOption(D, this), y.optionUpdated(D, !1);
|
|
24166
24166
|
else {
|
|
24167
|
-
var F =
|
|
24167
|
+
var F = xA({
|
|
24168
24168
|
componentIndex: v
|
|
24169
24169
|
}, E.keyInfo);
|
|
24170
|
-
y = new k(D, this, this, F),
|
|
24170
|
+
y = new k(D, this, this, F), xA(y, F), E.brandNew && (y.__requireNewView = !0), y.init(D, this, this), y.optionUpdated(null, !0);
|
|
24171
24171
|
}
|
|
24172
24172
|
}
|
|
24173
24173
|
y ? (f.push(y.option), d.push(y), B++) : (f.push(void 0), d.push(void 0));
|
|
@@ -24857,7 +24857,7 @@ var Bl, Ql, pl, El, XD, jD, u_ = (
|
|
|
24857
24857
|
var A;
|
|
24858
24858
|
jD = function(a, o, s) {
|
|
24859
24859
|
var l = s.sourceFormat, g = s.seriesLayoutBy, c = s.startIndex, h = s.dimensionsDefine, u = XD[sd(l, g)];
|
|
24860
|
-
if (process.env.NODE_ENV !== "production" && vA(u, "Invalide sourceFormat: " + l),
|
|
24860
|
+
if (process.env.NODE_ENV !== "production" && vA(u, "Invalide sourceFormat: " + l), xA(a, u), l === mo)
|
|
24861
24861
|
a.getItem = t, a.count = r, a.fillStorage = i;
|
|
24862
24862
|
else {
|
|
24863
24863
|
var C = h_(l, g);
|
|
@@ -25270,7 +25270,7 @@ function L$(e) {
|
|
|
25270
25270
|
return r;
|
|
25271
25271
|
} else if (A === ea) {
|
|
25272
25272
|
for (var r = [], n = 0, a = t.length; n < a; n++)
|
|
25273
|
-
r.push(
|
|
25273
|
+
r.push(xA({}, t[n]));
|
|
25274
25274
|
return r;
|
|
25275
25275
|
}
|
|
25276
25276
|
}
|
|
@@ -25952,7 +25952,7 @@ function V$(e, A, t, i) {
|
|
|
25952
25952
|
G(o, function(I, f) {
|
|
25953
25953
|
var d = A.valueFormatter, B = y_(I)(
|
|
25954
25954
|
// Inherit valueFormatter
|
|
25955
|
-
d ?
|
|
25955
|
+
d ? xA(xA({}, e), {
|
|
25956
25956
|
valueFormatter: d
|
|
25957
25957
|
}) : e,
|
|
25958
25958
|
I,
|
|
@@ -26047,8 +26047,8 @@ var Sp = (
|
|
|
26047
26047
|
}, e.prototype.wrapRichTextStyle = function(A, t) {
|
|
26048
26048
|
var i = {};
|
|
26049
26049
|
GA(t) ? G(t, function(n) {
|
|
26050
|
-
return
|
|
26051
|
-
}) :
|
|
26050
|
+
return xA(i, n);
|
|
26051
|
+
}) : xA(i, t);
|
|
26052
26052
|
var r = this._generateStyleName();
|
|
26053
26053
|
return this.richTextStyles[r] = i, "{" + r + "|" + A + "}";
|
|
26054
26054
|
}, e;
|
|
@@ -26516,7 +26516,7 @@ var hAA = {
|
|
|
26516
26516
|
if (t.setVisual("style", a), t.setVisual("drawType", s), !A.isSeriesFiltered(e) && g)
|
|
26517
26517
|
return t.setVisual("colorFromPalette", !1), {
|
|
26518
26518
|
dataEach: function(u, C) {
|
|
26519
|
-
var I = e.getDataParams(C), f =
|
|
26519
|
+
var I = e.getDataParams(C), f = xA({}, a);
|
|
26520
26520
|
f[s] = g(I), u.setItemVisual(C, "style", f);
|
|
26521
26521
|
}
|
|
26522
26522
|
};
|
|
@@ -26532,7 +26532,7 @@ var hAA = {
|
|
|
26532
26532
|
if (s && s[i]) {
|
|
26533
26533
|
Zu.option = s[i];
|
|
26534
26534
|
var l = r(Zu), g = a.ensureUniqueItemVisual(o, "style");
|
|
26535
|
-
|
|
26535
|
+
xA(g, l), Zu.option.decal && (a.setItemVisual(o, "decal", Zu.option.decal), Zu.option.decal.dirty = !0), n in l && a.setItemVisual(o, "colorFromPalette", !1);
|
|
26536
26536
|
}
|
|
26537
26537
|
} : null
|
|
26538
26538
|
};
|
|
@@ -27213,7 +27213,7 @@ var DAA = (
|
|
|
27213
27213
|
var o = s1[a], s = e.get(o);
|
|
27214
27214
|
ye(s) ? (n = !0, r[o] = s) : i[o] = s;
|
|
27215
27215
|
}
|
|
27216
|
-
if (i.symbol = i.symbol || e.defaultSymbol, t.setVisual(
|
|
27216
|
+
if (i.symbol = i.symbol || e.defaultSymbol, t.setVisual(xA({
|
|
27217
27217
|
legendIcon: e.legendIcon || i.symbol,
|
|
27218
27218
|
symbolKeepAspect: e.get("symbolKeepAspect")
|
|
27219
27219
|
}, i)), A.isSeriesFiltered(e))
|
|
@@ -27309,7 +27309,7 @@ function _AA(e, A) {
|
|
|
27309
27309
|
}
|
|
27310
27310
|
G([[e + "ToggleSelect", "toggleSelect"], [e + "Select", "select"], [e + "UnSelect", "unselect"]], function(i) {
|
|
27311
27311
|
A(i[0], function(r, n, a) {
|
|
27312
|
-
r =
|
|
27312
|
+
r = xA({}, r), process.env.NODE_ENV !== "production" && Ti(r.type, i[1]), a.dispatchAction(xA(r, {
|
|
27313
27313
|
type: i[1],
|
|
27314
27314
|
seriesIndex: t(n, r)
|
|
27315
27315
|
}));
|
|
@@ -27329,7 +27329,7 @@ function Tg(e, A, t, i, r) {
|
|
|
27329
27329
|
type: n,
|
|
27330
27330
|
seriesId: a.id,
|
|
27331
27331
|
name: GA(h) ? c.getName(h[0]) : c.getName(h),
|
|
27332
|
-
selected: XA(s) ? s :
|
|
27332
|
+
selected: XA(s) ? s : xA({}, s)
|
|
27333
27333
|
});
|
|
27334
27334
|
}
|
|
27335
27335
|
}));
|
|
@@ -27818,8 +27818,8 @@ function u1(e, A) {
|
|
|
27818
27818
|
S *= L;
|
|
27819
27819
|
var O = p * Q.length * B.length;
|
|
27820
27820
|
if (process.env.NODE_ENV !== "production") {
|
|
27821
|
-
var z = function(
|
|
27822
|
-
console.warn("Calculated decal size is greater than " +
|
|
27821
|
+
var z = function(V) {
|
|
27822
|
+
console.warn("Calculated decal size is greater than " + V + " due to decal option settings so " + V + " is used for the decal size. Please consider changing the decal option to make a smaller decal or set " + V + " to be larger to avoid incontinuity.");
|
|
27823
27823
|
};
|
|
27824
27824
|
S > a.maxTileWidth && z("maxTileWidth"), O > a.maxTileHeight && z("maxTileHeight");
|
|
27825
27825
|
}
|
|
@@ -27836,14 +27836,14 @@ function u1(e, A) {
|
|
|
27836
27836
|
return;
|
|
27837
27837
|
for (var F = -p, L = 0, O = 0, z = 0; F < y.height; ) {
|
|
27838
27838
|
if (L % 2 === 0) {
|
|
27839
|
-
for (var
|
|
27839
|
+
for (var V = O / 2 % B.length, q = 0, rA = 0, nA = 0; q < y.width * 2; ) {
|
|
27840
27840
|
for (var U = 0, x = 0; x < f[z].length; ++x)
|
|
27841
27841
|
U += f[z][x];
|
|
27842
27842
|
if (U <= 0)
|
|
27843
27843
|
break;
|
|
27844
27844
|
if (rA % 2 === 0) {
|
|
27845
|
-
var iA = (1 - a.symbolSize) * 0.5,
|
|
27846
|
-
UA(
|
|
27845
|
+
var iA = (1 - a.symbolSize) * 0.5, W = q + f[z][rA] * iA, X = F + d[L] * iA, oA = f[z][rA] * a.symbolSize, CA = d[L] * a.symbolSize, _A = nA / 2 % B[V].length;
|
|
27846
|
+
UA(W, X, oA, CA, B[V][_A]);
|
|
27847
27847
|
}
|
|
27848
27848
|
q += f[z][rA], ++nA, ++rA, rA === f[z].length && (rA = 0);
|
|
27849
27849
|
}
|
|
@@ -28273,7 +28273,7 @@ var vl, Fp, nI, no, aI, Mp, Rp, Yg, Ug, M5, R5, Lp, L5, oI, G5, ix, Sn, T5, Jg,
|
|
|
28273
28273
|
var d = f.dataModel || o.getSeriesByIndex(f.seriesIndex);
|
|
28274
28274
|
return l = d && d.getDataParams(f.dataIndex, f.dataType, s) || {}, !0;
|
|
28275
28275
|
} else if (f.eventData)
|
|
28276
|
-
return l =
|
|
28276
|
+
return l = xA({}, f.eventData), !0;
|
|
28277
28277
|
}, !0), l) {
|
|
28278
28278
|
var c = l.componentType, h = l.componentIndex;
|
|
28279
28279
|
(c === "markLine" || c === "markPoint" || c === "markArea") && (c = "series", h = l.seriesIndex);
|
|
@@ -28335,7 +28335,7 @@ var vl, Fp, nI, no, aI, Mp, Rp, Yg, Ug, M5, R5, Lp, L5, oI, G5, ix, Sn, T5, Jg,
|
|
|
28335
28335
|
try {
|
|
28336
28336
|
r && vl(this), no.update.call(this, {
|
|
28337
28337
|
type: "resize",
|
|
28338
|
-
animation:
|
|
28338
|
+
animation: xA({
|
|
28339
28339
|
// Disable animation
|
|
28340
28340
|
duration: 0
|
|
28341
28341
|
}, t && t.animation)
|
|
@@ -28363,7 +28363,7 @@ var vl, Fp, nI, no, aI, Mp, Rp, Yg, Ug, M5, R5, Lp, L5, oI, G5, ix, Sn, T5, Jg,
|
|
|
28363
28363
|
}
|
|
28364
28364
|
this._loadingFX && this._zr.remove(this._loadingFX), this._loadingFX = null;
|
|
28365
28365
|
}, A.prototype.makeActionFromEvent = function(t) {
|
|
28366
|
-
var i =
|
|
28366
|
+
var i = xA({}, t);
|
|
28367
28367
|
return i.type = Id[t.type], i;
|
|
28368
28368
|
}, A.prototype.dispatchAction = function(t, i) {
|
|
28369
28369
|
if (this._disposed) {
|
|
@@ -28564,12 +28564,12 @@ var vl, Fp, nI, no, aI, Mp, Rp, Yg, Ug, M5, R5, Lp, L5, oI, G5, ix, Sn, T5, Jg,
|
|
|
28564
28564
|
this[Si] = !0, Jg(this);
|
|
28565
28565
|
var E = [c], v = !1;
|
|
28566
28566
|
c.batch && (v = !0, E = zA(c.batch, function(z) {
|
|
28567
|
-
return z = ze(
|
|
28567
|
+
return z = ze(xA({}, z), c), z.batch = null, z;
|
|
28568
28568
|
}));
|
|
28569
28569
|
var y = [], D, b = [], k = d.nonRefinedEventType, S = Kv(c), x = BD(c);
|
|
28570
28570
|
if (x && d9(this._api), G(E, function(z) {
|
|
28571
|
-
var
|
|
28572
|
-
if (d.refineEvent ? b.push(
|
|
28571
|
+
var V = d.action(z, C, u._api);
|
|
28572
|
+
if (d.refineEvent ? b.push(V) : D = V, D = D || xA({}, z), D.type = k, y.push(D), x) {
|
|
28573
28573
|
var q = zm(c), rA = q.queryOptionMap, nA = q.mainTypeSpecified, U = nA ? rA.keys()[0] : "series";
|
|
28574
28574
|
nI(u, Q, z, U), Sn(u);
|
|
28575
28575
|
} else S ? (nI(u, Q, z, "series"), Sn(u)) : p && nI(u, Q, z, p.main, p.sub);
|
|
@@ -28670,7 +28670,7 @@ var vl, Fp, nI, no, aI, Mp, Rp, Yg, Ug, M5, R5, Lp, L5, oI, G5, ix, Sn, T5, Jg,
|
|
|
28670
28670
|
});
|
|
28671
28671
|
}, oI = function(c, h, u, C, I, f) {
|
|
28672
28672
|
var d = c._scheduler;
|
|
28673
|
-
I =
|
|
28673
|
+
I = xA(I || {}, {
|
|
28674
28674
|
updatedSeries: h.getSeries()
|
|
28675
28675
|
}), xn.trigger("series:beforeupdate", h, u, I);
|
|
28676
28676
|
var B = !1;
|
|
@@ -29114,7 +29114,7 @@ var Bf = (
|
|
|
29114
29114
|
/** @class */
|
|
29115
29115
|
/* @__PURE__ */ function() {
|
|
29116
29116
|
function e(A) {
|
|
29117
|
-
this.otherDims = {}, A != null &&
|
|
29117
|
+
this.otherDims = {}, A != null && xA(this, A);
|
|
29118
29118
|
}
|
|
29119
29119
|
return e;
|
|
29120
29120
|
}()
|
|
@@ -29325,7 +29325,7 @@ var Ku = ne, As = zA, OeA = typeof Int32Array > "u" ? Array : Int32Array, HeA =
|
|
|
29325
29325
|
}, e.prototype.getCalculationInfo = function(A) {
|
|
29326
29326
|
return this._calculationInfo[A];
|
|
29327
29327
|
}, e.prototype.setCalculationInfo = function(A, t) {
|
|
29328
|
-
Ku(A) ?
|
|
29328
|
+
Ku(A) ? xA(this._calculationInfo, A) : this._calculationInfo[A] = t;
|
|
29329
29329
|
}, e.prototype.getName = function(A) {
|
|
29330
29330
|
var t = this.getRawIndex(A), i = this._nameList[t];
|
|
29331
29331
|
return i == null && this._nameDimIdx != null && (i = Vu(this, this._nameDimIdx, t)), i == null && (i = ""), i;
|
|
@@ -29433,7 +29433,7 @@ var Ku = ne, As = zA, OeA = typeof Int32Array > "u" ? Array : Int32Array, HeA =
|
|
|
29433
29433
|
var t = this._visual;
|
|
29434
29434
|
return t && t[A];
|
|
29435
29435
|
}, e.prototype.setVisual = function(A, t) {
|
|
29436
|
-
this._visual = this._visual || {}, Ku(A) ?
|
|
29436
|
+
this._visual = this._visual || {}, Ku(A) ? xA(this._visual, A) : this._visual[A] = t;
|
|
29437
29437
|
}, e.prototype.getItemVisual = function(A, t) {
|
|
29438
29438
|
var i = this._itemVisuals[A], r = i && i[t];
|
|
29439
29439
|
return r ?? this.getVisual(t);
|
|
@@ -29443,20 +29443,20 @@ var Ku = ne, As = zA, OeA = typeof Int32Array > "u" ? Array : Int32Array, HeA =
|
|
|
29443
29443
|
var i = this._itemVisuals, r = i[A];
|
|
29444
29444
|
r || (r = i[A] = {});
|
|
29445
29445
|
var n = r[t];
|
|
29446
|
-
return n == null && (n = this.getVisual(t), GA(n) ? n = n.slice() : Ku(n) && (n =
|
|
29446
|
+
return n == null && (n = this.getVisual(t), GA(n) ? n = n.slice() : Ku(n) && (n = xA({}, n)), r[t] = n), n;
|
|
29447
29447
|
}, e.prototype.setItemVisual = function(A, t, i) {
|
|
29448
29448
|
var r = this._itemVisuals[A] || {};
|
|
29449
|
-
this._itemVisuals[A] = r, Ku(t) ?
|
|
29449
|
+
this._itemVisuals[A] = r, Ku(t) ? xA(r, t) : r[t] = i;
|
|
29450
29450
|
}, e.prototype.clearAllVisual = function() {
|
|
29451
29451
|
this._visual = {}, this._itemVisuals = [];
|
|
29452
29452
|
}, e.prototype.setLayout = function(A, t) {
|
|
29453
|
-
Ku(A) ?
|
|
29453
|
+
Ku(A) ? xA(this._layout, A) : this._layout[A] = t;
|
|
29454
29454
|
}, e.prototype.getLayout = function(A) {
|
|
29455
29455
|
return this._layout[A];
|
|
29456
29456
|
}, e.prototype.getItemLayout = function(A) {
|
|
29457
29457
|
return this._itemLayouts[A];
|
|
29458
29458
|
}, e.prototype.setItemLayout = function(A, t, i) {
|
|
29459
|
-
this._itemLayouts[A] = i ?
|
|
29459
|
+
this._itemLayouts[A] = i ? xA(this._itemLayouts[A] || {}, t) : t;
|
|
29460
29460
|
}, e.prototype.clearItemLayouts = function() {
|
|
29461
29461
|
this._itemLayouts.length = 0;
|
|
29462
29462
|
}, e.prototype.setItemGraphicEl = function(A, t) {
|
|
@@ -29504,7 +29504,7 @@ var Ku = ne, As = zA, OeA = typeof Int32Array > "u" ? Array : Int32Array, HeA =
|
|
|
29504
29504
|
t.hasOwnProperty(i) && (A[i] = t[i]);
|
|
29505
29505
|
}), A.__wrappedMethods = t.__wrappedMethods, G(qeA, function(i) {
|
|
29506
29506
|
A[i] = Se(t[i]);
|
|
29507
|
-
}), A._calculationInfo =
|
|
29507
|
+
}), A._calculationInfo = xA({}, t._calculationInfo);
|
|
29508
29508
|
}, Yp = function(A, t) {
|
|
29509
29509
|
var i = A._nameList, r = A._idList, n = A._nameDimIdx, a = A._idDimIdx, o = i[t], s = r[t];
|
|
29510
29510
|
if (o == null && n != null && (i[t] = o = Vu(A, n, t)), s == null && a != null && (r[t] = s = Vu(A, a, t)), s == null && o != null) {
|
|
@@ -29556,7 +29556,7 @@ function H2(e, A) {
|
|
|
29556
29556
|
else {
|
|
29557
29557
|
F = b, k = F.name;
|
|
29558
29558
|
var L = F.ordinalMeta;
|
|
29559
|
-
F.ordinalMeta = null, F =
|
|
29559
|
+
F.ordinalMeta = null, F = xA({}, F), F.ordinalMeta = L, S = F.dimsDef, x = F.otherDims, F.name = F.coordDim = F.coordDimIndex = F.dimsDef = F.otherDims = null;
|
|
29560
29560
|
}
|
|
29561
29561
|
var O = c.get(k);
|
|
29562
29562
|
if (O !== !1) {
|
|
@@ -29566,8 +29566,8 @@ function H2(e, A) {
|
|
|
29566
29566
|
I++;
|
|
29567
29567
|
I < a && O.push(I++);
|
|
29568
29568
|
}
|
|
29569
|
-
G(O, function(
|
|
29570
|
-
var rA = C(
|
|
29569
|
+
G(O, function(V, q) {
|
|
29570
|
+
var rA = C(V);
|
|
29571
29571
|
if (s && F.type != null && (rA.type = F.type), f(ze(rA, F), k, q), rA.name == null && S) {
|
|
29572
29572
|
var nA = S[q];
|
|
29573
29573
|
!ne(nA) && (nA = {
|
|
@@ -29895,7 +29895,7 @@ function LB(e) {
|
|
|
29895
29895
|
}
|
|
29896
29896
|
function ltA(e, A) {
|
|
29897
29897
|
var t = e || {}, i = [];
|
|
29898
|
-
return t._extents = i, i[Hn] = A ? A.slice() : Gn(),
|
|
29898
|
+
return t._extents = i, i[Hn] = A ? A.slice() : Gn(), xA(t, gtA), t;
|
|
29899
29899
|
}
|
|
29900
29900
|
var gtA = {
|
|
29901
29901
|
needTransform: function() {
|
|
@@ -30283,8 +30283,8 @@ function ptA(e, A) {
|
|
|
30283
30283
|
}
|
|
30284
30284
|
function EtA(e, A, t, i, r, n) {
|
|
30285
30285
|
var a = 3e3, o = mj, s = 0;
|
|
30286
|
-
function l(z,
|
|
30287
|
-
for (var
|
|
30286
|
+
function l(z, V, q, rA, nA, U, iA) {
|
|
30287
|
+
for (var W = ptA(nA, z), X = V, oA = new Date(X); X < q && X <= i[1]; ) {
|
|
30288
30288
|
if (iA.push({
|
|
30289
30289
|
value: X
|
|
30290
30290
|
}), s++ > a) {
|
|
@@ -30292,7 +30292,7 @@ function EtA(e, A, t, i, r, n) {
|
|
|
30292
30292
|
break;
|
|
30293
30293
|
}
|
|
30294
30294
|
if (oA[nA](oA[rA]() + z), X = oA.getTime(), n) {
|
|
30295
|
-
var CA = n.calcNiceTickMultiple(X,
|
|
30295
|
+
var CA = n.calcNiceTickMultiple(X, W);
|
|
30296
30296
|
CA > 0 && (oA[nA](oA[rA]() + CA * z), X = oA.getTime());
|
|
30297
30297
|
}
|
|
30298
30298
|
}
|
|
@@ -30302,18 +30302,18 @@ function EtA(e, A, t, i, r, n) {
|
|
|
30302
30302
|
notAdd: X > i[1]
|
|
30303
30303
|
});
|
|
30304
30304
|
}
|
|
30305
|
-
function g(z,
|
|
30306
|
-
var rA = [], nA = !
|
|
30305
|
+
function g(z, V, q) {
|
|
30306
|
+
var rA = [], nA = !V.length;
|
|
30307
30307
|
if (!CtA(W0(z), i[0], i[1], t)) {
|
|
30308
|
-
nA && (
|
|
30308
|
+
nA && (V = [{
|
|
30309
30309
|
value: QtA(i[0], z, t)
|
|
30310
30310
|
}, {
|
|
30311
30311
|
value: i[1]
|
|
30312
30312
|
}]);
|
|
30313
|
-
for (var U = 0; U <
|
|
30314
|
-
var iA =
|
|
30315
|
-
if (iA !==
|
|
30316
|
-
var X = void 0, oA = void 0, CA = void 0,
|
|
30313
|
+
for (var U = 0; U < V.length - 1; U++) {
|
|
30314
|
+
var iA = V[U].value, W = V[U + 1].value;
|
|
30315
|
+
if (iA !== W) {
|
|
30316
|
+
var X = void 0, oA = void 0, CA = void 0, _A = !1;
|
|
30317
30317
|
switch (z) {
|
|
30318
30318
|
case "year":
|
|
30319
30319
|
X = Math.max(1, Math.round(A / On / 365)), oA = Z9(t), CA = Sj(t);
|
|
@@ -30326,7 +30326,7 @@ function EtA(e, A, t, i, r, n) {
|
|
|
30326
30326
|
case "week":
|
|
30327
30327
|
case "half-week":
|
|
30328
30328
|
case "day":
|
|
30329
|
-
X = ItA(A), oA = m2(t), CA = P9(t),
|
|
30329
|
+
X = ItA(A), oA = m2(t), CA = P9(t), _A = !0;
|
|
30330
30330
|
break;
|
|
30331
30331
|
case "half-day":
|
|
30332
30332
|
case "quarter-day":
|
|
@@ -30343,7 +30343,7 @@ function EtA(e, A, t, i, r, n) {
|
|
|
30343
30343
|
X = BtA(A), oA = b2(t), CA = z9(t);
|
|
30344
30344
|
break;
|
|
30345
30345
|
}
|
|
30346
|
-
|
|
30346
|
+
W >= i[0] && iA <= i[1] && l(X, iA, W, oA, CA, _A, rA), z === "year" && q.length > 1 && U === 0 && q.unshift({
|
|
30347
30347
|
value: q[0].value - X
|
|
30348
30348
|
});
|
|
30349
30349
|
}
|
|
@@ -30359,8 +30359,8 @@ function EtA(e, A, t, i, r, n) {
|
|
|
30359
30359
|
var d = o[I + 1] ? W0(o[I + 1]) : null;
|
|
30360
30360
|
if (f !== d) {
|
|
30361
30361
|
if (h.length) {
|
|
30362
|
-
C = u, h.sort(function(z,
|
|
30363
|
-
return z.value -
|
|
30362
|
+
C = u, h.sort(function(z, V) {
|
|
30363
|
+
return z.value - V.value;
|
|
30364
30364
|
});
|
|
30365
30365
|
for (var B = [], Q = 0; Q < h.length; ++Q) {
|
|
30366
30366
|
var p = h[Q].value;
|
|
@@ -30375,8 +30375,8 @@ function EtA(e, A, t, i, r, n) {
|
|
|
30375
30375
|
}
|
|
30376
30376
|
}
|
|
30377
30377
|
for (var v = ar(zA(c, function(z) {
|
|
30378
|
-
return ar(z, function(
|
|
30379
|
-
return
|
|
30378
|
+
return ar(z, function(V) {
|
|
30379
|
+
return V.value >= i[0] && V.value <= i[1] && !V.notAdd;
|
|
30380
30380
|
});
|
|
30381
30381
|
}), function(z) {
|
|
30382
30382
|
return z.length > 0;
|
|
@@ -30392,8 +30392,8 @@ function EtA(e, A, t, i, r, n) {
|
|
|
30392
30392
|
}
|
|
30393
30393
|
});
|
|
30394
30394
|
}
|
|
30395
|
-
Xm(D, JW, null), D.sort(function(z,
|
|
30396
|
-
return z.value -
|
|
30395
|
+
Xm(D, JW, null), D.sort(function(z, V) {
|
|
30396
|
+
return z.value - V.value;
|
|
30397
30397
|
});
|
|
30398
30398
|
var x = D[0], F = D[D.length - 1], L = hf(i[0], t), O = hf(i[1], t);
|
|
30399
30399
|
return (!x || x.value > i[0]) && D.unshift({
|
|
@@ -31949,8 +31949,8 @@ var $iA = KA({
|
|
|
31949
31949
|
x.setOption(z, rA), E = void 0;
|
|
31950
31950
|
return;
|
|
31951
31951
|
}
|
|
31952
|
-
const
|
|
31953
|
-
x.setOption(
|
|
31952
|
+
const V = ViA(E, z), q = v(V.plan);
|
|
31953
|
+
x.setOption(V.option, q), E = V.signature;
|
|
31954
31954
|
}
|
|
31955
31955
|
Object.keys(A).filter((x) => zx(x)).forEach((x) => {
|
|
31956
31956
|
if (x.indexOf("Native:") === 2) {
|
|
@@ -31970,10 +31970,10 @@ var $iA = KA({
|
|
|
31970
31970
|
function D() {
|
|
31971
31971
|
if (!r.value) return;
|
|
31972
31972
|
const x = n.value = beA(r.value, u.value, C.value);
|
|
31973
|
-
e.group && (x.group = e.group), B.forEach((O, { zr: z, once:
|
|
31973
|
+
e.group && (x.group = e.group), B.forEach((O, { zr: z, once: V, event: q }) => {
|
|
31974
31974
|
if (!O) return;
|
|
31975
31975
|
const rA = z ? x.getZr() : x;
|
|
31976
|
-
if (
|
|
31976
|
+
if (V) {
|
|
31977
31977
|
const nA = O;
|
|
31978
31978
|
let U = !1;
|
|
31979
31979
|
O = (...iA) => {
|
|
@@ -32342,7 +32342,7 @@ var j2 = (
|
|
|
32342
32342
|
var v = t.getItemVisual(i, "style"), y = v.fill;
|
|
32343
32343
|
if (o instanceof Aa) {
|
|
32344
32344
|
var D = o.style;
|
|
32345
|
-
o.useStyle(
|
|
32345
|
+
o.useStyle(xA({
|
|
32346
32346
|
// TODO other properties like x, y ?
|
|
32347
32347
|
image: D.image,
|
|
32348
32348
|
x: D.x,
|
|
@@ -32351,7 +32351,7 @@ var j2 = (
|
|
|
32351
32351
|
height: D.height
|
|
32352
32352
|
}, v));
|
|
32353
32353
|
} else
|
|
32354
|
-
o.__isEmptyBrush ? o.useStyle(
|
|
32354
|
+
o.__isEmptyBrush ? o.useStyle(xA({}, v)) : o.useStyle(v), o.style.decal = null, o.setColor(y, a && a.symbolInnerColor), o.style.strokeNoScale = !0;
|
|
32355
32355
|
var b = t.getItemVisual(i, "liftZ"), k = this._z2;
|
|
32356
32356
|
b != null ? k == null && (this._z2 = o.z2, o.z2 += b) : k != null && (o.z2 = k, this._z2 = null);
|
|
32357
32357
|
var S = a && a.useNameLabel;
|
|
@@ -32615,12 +32615,12 @@ function mrA(e, A, t, i, r, n, a, o) {
|
|
|
32615
32615
|
C.sort(function(oA, CA) {
|
|
32616
32616
|
return I[oA] - I[CA];
|
|
32617
32617
|
});
|
|
32618
|
-
for (var z = l.length,
|
|
32619
|
-
var iA = C[Q],
|
|
32620
|
-
W
|
|
32618
|
+
for (var z = l.length, V = Bo(z), q = Bo(z), rA = Bo(z), nA = Bo(z), U = [], Q = 0; Q < C.length; Q++) {
|
|
32619
|
+
var iA = C[Q], W = Q * 2, X = iA * 2;
|
|
32620
|
+
V[W] = l[X], V[W + 1] = l[X + 1], q[W] = g[X], q[W + 1] = g[X + 1], rA[W] = c[X], rA[W + 1] = c[X + 1], nA[W] = h[X], nA[W + 1] = h[X + 1], U[Q] = u[iA];
|
|
32621
32621
|
}
|
|
32622
32622
|
return {
|
|
32623
|
-
current:
|
|
32623
|
+
current: V,
|
|
32624
32624
|
next: q,
|
|
32625
32625
|
stackedOnCurrent: rA,
|
|
32626
32626
|
stackedOnNext: nA,
|
|
@@ -32660,17 +32660,17 @@ function w1(e, A, t, i, r, n, a, o, s) {
|
|
|
32660
32660
|
u = d, C = B;
|
|
32661
32661
|
else {
|
|
32662
32662
|
k = v - l, S = y - g;
|
|
32663
|
-
var L = d - l, O = v - d, z = B - g,
|
|
32663
|
+
var L = d - l, O = v - d, z = B - g, V = y - B, q = void 0, rA = void 0;
|
|
32664
32664
|
if (o === "x") {
|
|
32665
32665
|
q = Math.abs(L), rA = Math.abs(O);
|
|
32666
32666
|
var nA = k > 0 ? 1 : -1;
|
|
32667
32667
|
u = d - nA * q * a, C = B, x = d + nA * rA * a, F = B;
|
|
32668
32668
|
} else if (o === "y") {
|
|
32669
|
-
q = Math.abs(z), rA = Math.abs(
|
|
32669
|
+
q = Math.abs(z), rA = Math.abs(V);
|
|
32670
32670
|
var U = S > 0 ? 1 : -1;
|
|
32671
32671
|
u = d, C = B - U * q * a, x = d, F = B + U * rA * a;
|
|
32672
32672
|
} else
|
|
32673
|
-
q = Math.sqrt(L * L + z * z), rA = Math.sqrt(O * O +
|
|
32673
|
+
q = Math.sqrt(L * L + z * z), rA = Math.sqrt(O * O + V * V), b = rA / (rA + q), u = d - k * a * (1 - b), C = B - S * a * (1 - b), x = d + k * a * b, F = B + S * a * b, x = ts(x, is(v, d)), F = ts(F, is(y, B)), x = is(x, ts(v, d)), F = is(F, ts(y, B)), k = x - d, S = F - B, u = d - k * q / rA, C = B - S * q / rA, u = ts(u, is(l, d)), C = ts(C, is(g, B)), u = is(u, ts(l, d)), C = is(C, ts(g, B)), k = d - u, S = B - C, x = d + k * rA / q, F = B + S * rA / q;
|
|
32674
32674
|
}
|
|
32675
32675
|
e.bezierCurveTo(c, h, u, C, d, B), c = x, h = F;
|
|
32676
32676
|
} else
|
|
@@ -33119,7 +33119,7 @@ var TrA = (
|
|
|
33119
33119
|
stackedOnPoints: E
|
|
33120
33120
|
})));
|
|
33121
33121
|
}
|
|
33122
|
-
var O = t.getModel("emphasis"), z = O.get("focus"),
|
|
33122
|
+
var O = t.getModel("emphasis"), z = O.get("focus"), V = O.get("blurScope"), q = O.get("disabled");
|
|
33123
33123
|
if (C.useStyle(ze(
|
|
33124
33124
|
// Use color in lineStyle first
|
|
33125
33125
|
s.getLineStyle(),
|
|
@@ -33132,25 +33132,25 @@ var TrA = (
|
|
|
33132
33132
|
var rA = C.getState("emphasis").style;
|
|
33133
33133
|
rA.lineWidth = +C.style.lineWidth + 1;
|
|
33134
33134
|
}
|
|
33135
|
-
je(C).seriesIndex = t.seriesIndex, Ca(C, z,
|
|
33135
|
+
je(C).seriesIndex = t.seriesIndex, Ca(C, z, V, q);
|
|
33136
33136
|
var nA = fb(t.get("smooth")), U = t.get("smoothMonotone");
|
|
33137
33137
|
if (C.setShape({
|
|
33138
33138
|
smooth: nA,
|
|
33139
33139
|
smoothMonotone: U,
|
|
33140
33140
|
connectNulls: y
|
|
33141
33141
|
}), I) {
|
|
33142
|
-
var iA = o.getCalculationInfo("stackedOnSeries"),
|
|
33142
|
+
var iA = o.getCalculationInfo("stackedOnSeries"), W = 0;
|
|
33143
33143
|
I.useStyle(ze(l.getAreaStyle(), {
|
|
33144
33144
|
fill: x,
|
|
33145
33145
|
opacity: 0.7,
|
|
33146
33146
|
lineJoin: "bevel",
|
|
33147
33147
|
decal: o.getVisual("style").decal
|
|
33148
|
-
})), iA && (
|
|
33148
|
+
})), iA && (W = fb(iA.get("smooth"))), I.setShape({
|
|
33149
33149
|
smooth: nA,
|
|
33150
|
-
stackedOnSmooth:
|
|
33150
|
+
stackedOnSmooth: W,
|
|
33151
33151
|
smoothMonotone: U,
|
|
33152
33152
|
connectNulls: y
|
|
33153
|
-
}), Wa(I, t, "areaStyle"), je(I).seriesIndex = t.seriesIndex, Ca(I, z,
|
|
33153
|
+
}), Wa(I, t, "areaStyle"), je(I).seriesIndex = t.seriesIndex, Ca(I, z, V, q);
|
|
33154
33154
|
}
|
|
33155
33155
|
var X = this._changePolyState;
|
|
33156
33156
|
o.eachItemGraphicEl(function(Ae) {
|
|
@@ -33158,8 +33158,8 @@ var TrA = (
|
|
|
33158
33158
|
}), this._polyline.onHoverStateChange = X, this._data = o, this._coordSys = n, this._stackedOnPoints = E, this._points = g, this._step = k, this._valueOrigin = Q;
|
|
33159
33159
|
var oA = t.get("triggerEvent"), CA = t.get("triggerLineEvent");
|
|
33160
33160
|
process.env.NODE_ENV !== "production" && CA && SrA("triggerLineEvent", "Use the `triggerEvent` option instead.");
|
|
33161
|
-
var
|
|
33162
|
-
this.packEventData(t, C,
|
|
33161
|
+
var _A = CA === !0 || oA === !0 || oA === "line", UA = CA === !0 || oA === !0 || oA === "area";
|
|
33162
|
+
this.packEventData(t, C, _A), I && this.packEventData(t, I, UA);
|
|
33163
33163
|
}, A.prototype.packEventData = function(t, i, r) {
|
|
33164
33164
|
je(i).eventData = r ? {
|
|
33165
33165
|
componentType: "series",
|
|
@@ -33615,7 +33615,7 @@ var yo = (
|
|
|
33615
33615
|
if (s === "auto" && (s = !0, e.raw.axisLineAutoShow != null && (s = !!e.raw.axisLineAutoShow)), !!s) {
|
|
33616
33616
|
var l = i.axis.getExtent(), g = n.transform, c = [l[0], 0], h = [l[1], 0], u = c[0] > h[0];
|
|
33617
33617
|
g && (Br(c, c, g), Br(h, h, g));
|
|
33618
|
-
var C =
|
|
33618
|
+
var C = xA({
|
|
33619
33619
|
lineCap: "round"
|
|
33620
33620
|
}, i.getModel(["axisLine", "lineStyle"]).getLineStyle()), I = {
|
|
33621
33621
|
strokeContainThreshold: e.raw.strokeContainThreshold || 5,
|
|
@@ -33626,7 +33626,7 @@ var yo = (
|
|
|
33626
33626
|
if (i.get(["axisLine", "breakLine"]) && tg(i.axis.scale))
|
|
33627
33627
|
HrA().buildAxisBreakLine(i, r, n, I);
|
|
33628
33628
|
else {
|
|
33629
|
-
var f = new Xa(
|
|
33629
|
+
var f = new Xa(xA({
|
|
33630
33630
|
shape: {
|
|
33631
33631
|
x1: c[0],
|
|
33632
33632
|
y1: c[1],
|
|
@@ -33910,7 +33910,7 @@ function enA(e, A, t, i, r, n) {
|
|
|
33910
33910
|
var x = C[S];
|
|
33911
33911
|
ne(x) && x.textStyle && (k = new qt(x.textStyle, g, r.ecModel));
|
|
33912
33912
|
}
|
|
33913
|
-
var F = k.getTextColor() || r.get(["axisLine", "lineStyle", "color"]), L = k.getShallow("align", !0) || u.textAlign, O = se(k.getShallow("alignMinLabel", !0), L), z = se(k.getShallow("alignMaxLabel", !0), L),
|
|
33913
|
+
var F = k.getTextColor() || r.get(["axisLine", "lineStyle", "color"]), L = k.getShallow("align", !0) || u.textAlign, O = se(k.getShallow("alignMinLabel", !0), L), z = se(k.getShallow("alignMaxLabel", !0), L), V = k.getShallow("verticalAlign", !0) || k.getShallow("baseline", !0) || u.textVerticalAlign, q = se(k.getShallow("verticalAlignMinLabel", !0), V), rA = se(k.getShallow("verticalAlignMaxLabel", !0), V), nA = 10 + (((v = y.time) === null || v === void 0 ? void 0 : v.level) || 0);
|
|
33914
33914
|
d = Math.min(d, nA), B = Math.max(B, nA);
|
|
33915
33915
|
var U = new Ut({
|
|
33916
33916
|
// --- transform props start ---
|
|
@@ -33926,7 +33926,7 @@ function enA(e, A, t, i, r, n) {
|
|
|
33926
33926
|
style: sr(k, {
|
|
33927
33927
|
text: D,
|
|
33928
33928
|
align: E === 0 ? O : E === c.length - 1 ? z : L,
|
|
33929
|
-
verticalAlign: E === 0 ? q : E === c.length - 1 ? rA :
|
|
33929
|
+
verticalAlign: E === 0 ? q : E === c.length - 1 ? rA : V,
|
|
33930
33930
|
fill: ye(F) ? F(
|
|
33931
33931
|
// (1) In category axis with data zoom, tick is not the original
|
|
33932
33932
|
// index of axis.data. So tick should not be exposed to user
|
|
@@ -33954,18 +33954,18 @@ function enA(e, A, t, i, r, n) {
|
|
|
33954
33954
|
tickIndex: E
|
|
33955
33955
|
}
|
|
33956
33956
|
}), f) {
|
|
33957
|
-
var
|
|
33958
|
-
|
|
33957
|
+
var W = yo.makeAxisEventDataBase(r);
|
|
33958
|
+
W.targetType = "axisLabel", W.value = b, W.tickIndex = E;
|
|
33959
33959
|
var X = p.tick.break;
|
|
33960
33960
|
if (X) {
|
|
33961
33961
|
var oA = X.parsedBreak;
|
|
33962
|
-
|
|
33962
|
+
W.break = {
|
|
33963
33963
|
// type: labelItem.break.type,
|
|
33964
33964
|
start: oA.vmin,
|
|
33965
33965
|
end: oA.vmax
|
|
33966
33966
|
};
|
|
33967
33967
|
}
|
|
33968
|
-
a.type === "category" && (
|
|
33968
|
+
a.type === "category" && (W.dataIndex = S), je(U).eventData = W, X && rnA(r, n, U, X);
|
|
33969
33969
|
}
|
|
33970
33970
|
I.push(U), s.add(U);
|
|
33971
33971
|
});
|
|
@@ -34298,15 +34298,15 @@ function vnA(e) {
|
|
|
34298
34298
|
return {
|
|
34299
34299
|
progress: function(Q, p) {
|
|
34300
34300
|
for (var E = Q.count, v = C && Bo(E * 3), y = C && s && Bo(E * 3), D = C && Bo(E), b = i.master.getRect(), k = h ? b.width : b.height, S, x = p.getStore(), F = 0; (S = Q.next()) != null; ) {
|
|
34301
|
-
var L = x.get(c ? f : a, S), O = x.get(o, S), z = u,
|
|
34302
|
-
c && (
|
|
34301
|
+
var L = x.get(c ? f : a, S), O = x.get(o, S), z = u, V = void 0;
|
|
34302
|
+
c && (V = +L - x.get(a, S));
|
|
34303
34303
|
var q = void 0, rA = void 0, nA = void 0, U = void 0;
|
|
34304
34304
|
if (h) {
|
|
34305
34305
|
var iA = i.dataToPoint([L, O]);
|
|
34306
|
-
c && (z = i.dataToPoint([
|
|
34306
|
+
c && (z = i.dataToPoint([V, O])[0]), q = z, rA = iA[1] + B, nA = iA[0] - z, U = d, pi(nA) < I && (nA = (nA < 0 ? -1 : 1) * I);
|
|
34307
34307
|
} else {
|
|
34308
34308
|
var iA = i.dataToPoint([O, L]);
|
|
34309
|
-
c && (z = i.dataToPoint([O,
|
|
34309
|
+
c && (z = i.dataToPoint([O, V])[1]), q = iA[0] + B, rA = z, nA = d, U = iA[1] - z, pi(U) < I && (U = (U <= 0 ? -1 : 1) * I);
|
|
34310
34310
|
}
|
|
34311
34311
|
C ? (v[F] = q, v[F + 1] = rA, v[F + 2] = h ? nA : U, y && (y[F] = h ? b.x : q, y[F + 1] = h ? rA : b.y, y[F + 2] = k), D[S] = S) : p.setItemLayout(S, {
|
|
34312
34312
|
x: q,
|
|
@@ -34643,9 +34643,9 @@ var qp = Math.max, Pp = Math.min, SnA = (
|
|
|
34643
34643
|
if (d) {
|
|
34644
34644
|
var O = void 0;
|
|
34645
34645
|
E.length === 0 ? O = D(x) : (O = E[x], O.useStyle(B.getItemStyle()), l.type === "cartesian2d" ? O.setShape("r", Q) : O.setShape("cornerRadius", Q), p[S] = O);
|
|
34646
|
-
var z = dI[l.type](o, S),
|
|
34646
|
+
var z = dI[l.type](o, S), V = pN(c, z, l);
|
|
34647
34647
|
Di(O, {
|
|
34648
|
-
shape:
|
|
34648
|
+
shape: V
|
|
34649
34649
|
}, h, S);
|
|
34650
34650
|
}
|
|
34651
34651
|
var q = s.getItemGraphicEl(x);
|
|
@@ -34793,7 +34793,7 @@ var qp = Math.max, Pp = Math.min, SnA = (
|
|
|
34793
34793
|
}, Eb = {
|
|
34794
34794
|
cartesian2d: function(e, A, t, i, r, n, a, o, s) {
|
|
34795
34795
|
var l = new yt({
|
|
34796
|
-
shape:
|
|
34796
|
+
shape: xA({}, i),
|
|
34797
34797
|
z2: 1
|
|
34798
34798
|
});
|
|
34799
34799
|
if (l.__dataIndex = t, l.name = "item", n) {
|
|
@@ -34916,7 +34916,7 @@ function wb(e, A, t, i, r, n, a, o) {
|
|
|
34916
34916
|
if (o) {
|
|
34917
34917
|
if (!n.get("roundCap")) {
|
|
34918
34918
|
var g = e.shape, c = k0(i.getModel("itemStyle"), g, !0);
|
|
34919
|
-
|
|
34919
|
+
xA(g, c), e.setShape(g);
|
|
34920
34920
|
}
|
|
34921
34921
|
} else {
|
|
34922
34922
|
var l = i.get(["itemStyle", "borderRadius"]) || 0;
|
|
@@ -35092,7 +35092,7 @@ function EN(e) {
|
|
|
35092
35092
|
function ty(e, A, t) {
|
|
35093
35093
|
A = GA(A) && {
|
|
35094
35094
|
coordDimensions: A
|
|
35095
|
-
} ||
|
|
35095
|
+
} || xA({
|
|
35096
35096
|
encodeDefine: e.getEncode()
|
|
35097
35097
|
}, A);
|
|
35098
35098
|
var i = e.getSource(), r = H2(i, A).dimensions, n = new Bd(r, e);
|
|
@@ -35360,8 +35360,8 @@ function qnA(e) {
|
|
|
35360
35360
|
return !1;
|
|
35361
35361
|
}
|
|
35362
35362
|
A.each(function(v) {
|
|
35363
|
-
var y = A.getItemGraphicEl(v), D = y.shape, b = y.getTextContent(), k = y.getTextGuideLine(), S = A.getItemModel(v), x = S.getModel("label"), F = x.get("position") || S.get(["emphasis", "label", "position"]), L = x.get("distanceToLabelLine"), O = x.get("alignTo"), z = xe(x.get("edgeDistance"), l),
|
|
35364
|
-
|
|
35363
|
+
var y = A.getItemGraphicEl(v), D = y.shape, b = y.getTextContent(), k = y.getTextGuideLine(), S = A.getItemModel(v), x = S.getModel("label"), F = x.get("position") || S.get(["emphasis", "label", "position"]), L = x.get("distanceToLabelLine"), O = x.get("alignTo"), z = xe(x.get("edgeDistance"), l), V = x.get("bleedMargin");
|
|
35364
|
+
V == null && (V = Math.min(l, h) > 200 ? 10 : 2);
|
|
35365
35365
|
var q = S.getModel("labelLine"), rA = q.get("length");
|
|
35366
35366
|
rA = xe(rA, l);
|
|
35367
35367
|
var nA = q.get("length2");
|
|
@@ -35370,18 +35370,18 @@ function qnA(e) {
|
|
|
35370
35370
|
return;
|
|
35371
35371
|
}
|
|
35372
35372
|
if (C(b)) {
|
|
35373
|
-
var U = (D.startAngle + D.endAngle) / 2, iA = Math.cos(U),
|
|
35373
|
+
var U = (D.startAngle + D.endAngle) / 2, iA = Math.cos(U), W = Math.sin(U), X, oA, CA, _A;
|
|
35374
35374
|
i = D.cx, r = D.cy;
|
|
35375
35375
|
var UA = F === "inside" || F === "inner";
|
|
35376
35376
|
if (F === "center")
|
|
35377
|
-
X = D.cx, oA = D.cy,
|
|
35377
|
+
X = D.cx, oA = D.cy, _A = "center";
|
|
35378
35378
|
else {
|
|
35379
|
-
var Ae = (UA ? (D.r + D.r0) / 2 * iA : D.r * iA) + i, OA = (UA ? (D.r + D.r0) / 2 *
|
|
35380
|
-
if (X = Ae + iA * 3, oA = OA +
|
|
35381
|
-
var ie = Ae + iA * (rA + s - D.r), ZA = OA +
|
|
35379
|
+
var Ae = (UA ? (D.r + D.r0) / 2 * iA : D.r * iA) + i, OA = (UA ? (D.r + D.r0) / 2 * W : D.r * W) + r;
|
|
35380
|
+
if (X = Ae + iA * 3, oA = OA + W * 3, !UA) {
|
|
35381
|
+
var ie = Ae + iA * (rA + s - D.r), ZA = OA + W * (rA + s - D.r), Le = ie + (iA < 0 ? -1 : 1) * nA, pe = ZA;
|
|
35382
35382
|
O === "edge" ? X = iA < 0 ? g + z : g + l - z : X = Le + (iA < 0 ? -L : L), oA = pe, CA = [[Ae, OA], [ie, ZA], [Le, pe]];
|
|
35383
35383
|
}
|
|
35384
|
-
|
|
35384
|
+
_A = UA ? "center" : O === "edge" ? iA > 0 ? "right" : "left" : iA > 0 ? "left" : "right";
|
|
35385
35385
|
}
|
|
35386
35386
|
var Pe = Math.PI, MA = 0, ae = x.get("rotate");
|
|
35387
35387
|
if (ut(ae))
|
|
@@ -35392,16 +35392,16 @@ function qnA(e) {
|
|
|
35392
35392
|
var $A = iA < 0 ? -U + Pe : -U;
|
|
35393
35393
|
MA = $A;
|
|
35394
35394
|
} else if (ae === "tangential" || ae === "tangential-noflip" && F !== "outside" && F !== "outer") {
|
|
35395
|
-
var IA = Math.atan2(iA,
|
|
35395
|
+
var IA = Math.atan2(iA, W);
|
|
35396
35396
|
IA < 0 && (IA = Pe * 2 + IA);
|
|
35397
|
-
var JA =
|
|
35397
|
+
var JA = W > 0;
|
|
35398
35398
|
JA && ae !== "tangential-noflip" && (IA = Pe + IA), MA = IA - Pe;
|
|
35399
35399
|
}
|
|
35400
35400
|
if (n = !!MA, b.x = X, b.y = oA, b.rotation = MA, b.setStyle({
|
|
35401
35401
|
verticalAlign: "middle"
|
|
35402
35402
|
}), UA) {
|
|
35403
35403
|
b.setStyle({
|
|
35404
|
-
align:
|
|
35404
|
+
align: _A
|
|
35405
35405
|
});
|
|
35406
35406
|
var Ve = b.states.select;
|
|
35407
35407
|
Ve && (Ve.x += b.x, Ve.y += b.y);
|
|
@@ -35415,13 +35415,13 @@ function qnA(e) {
|
|
|
35415
35415
|
len2: nA,
|
|
35416
35416
|
minTurnAngle: q.get("minTurnAngle"),
|
|
35417
35417
|
maxSurfaceAngle: q.get("maxSurfaceAngle"),
|
|
35418
|
-
surfaceNormal: new Ye(iA,
|
|
35418
|
+
surfaceNormal: new Ye(iA, W),
|
|
35419
35419
|
linePoints: CA,
|
|
35420
|
-
textAlign:
|
|
35420
|
+
textAlign: _A,
|
|
35421
35421
|
labelDistance: L,
|
|
35422
35422
|
labelAlignTo: O,
|
|
35423
35423
|
edgeDistance: z,
|
|
35424
|
-
bleedMargin:
|
|
35424
|
+
bleedMargin: V,
|
|
35425
35425
|
rect: Fe,
|
|
35426
35426
|
unconstrainedWidth: Fe.width,
|
|
35427
35427
|
labelStyleWidth: b.style.width
|
|
@@ -35470,10 +35470,10 @@ function KnA(e, A) {
|
|
|
35470
35470
|
if (i.setLayout({
|
|
35471
35471
|
viewRect: g,
|
|
35472
35472
|
r: s
|
|
35473
|
-
}), i.each(r, function(z,
|
|
35473
|
+
}), i.each(r, function(z, V) {
|
|
35474
35474
|
var q;
|
|
35475
35475
|
if (isNaN(z)) {
|
|
35476
|
-
i.setItemLayout(
|
|
35476
|
+
i.setItemLayout(V, {
|
|
35477
35477
|
angle: NaN,
|
|
35478
35478
|
startAngle: NaN,
|
|
35479
35479
|
endAngle: NaN,
|
|
@@ -35487,7 +35487,7 @@ function KnA(e, A) {
|
|
|
35487
35487
|
}
|
|
35488
35488
|
p !== "area" ? q = d === 0 && E ? B : z * B : q = S / f, q < I ? (q = I, x -= I) : F += z;
|
|
35489
35489
|
var rA = L + y * q, nA = 0, U = 0;
|
|
35490
|
-
u > q ? (nA = L + y * q / 2, U = nA) : (nA = L + b, U = rA - b), i.setItemLayout(
|
|
35490
|
+
u > q ? (nA = L + y * q / 2, U = nA) : (nA = L + b, U = rA - b), i.setItemLayout(V, {
|
|
35491
35491
|
angle: q,
|
|
35492
35492
|
startAngle: nA,
|
|
35493
35493
|
endAngle: U,
|
|
@@ -35500,18 +35500,18 @@ function KnA(e, A) {
|
|
|
35500
35500
|
}), x < xb && f)
|
|
35501
35501
|
if (x <= 1e-3) {
|
|
35502
35502
|
var O = S / f;
|
|
35503
|
-
i.each(r, function(z,
|
|
35503
|
+
i.each(r, function(z, V) {
|
|
35504
35504
|
if (!isNaN(z)) {
|
|
35505
|
-
var q = i.getItemLayout(
|
|
35505
|
+
var q = i.getItemLayout(V);
|
|
35506
35506
|
q.angle = O;
|
|
35507
35507
|
var rA = 0, nA = 0;
|
|
35508
|
-
O < u ? (rA = c + y * (
|
|
35508
|
+
O < u ? (rA = c + y * (V + 1 / 2) * O, nA = rA) : (rA = c + y * V * O + b, nA = c + y * (V + 1) * O - b), q.startAngle = rA, q.endAngle = nA;
|
|
35509
35509
|
}
|
|
35510
35510
|
});
|
|
35511
35511
|
} else
|
|
35512
|
-
B = x / F, L = c, i.each(r, function(z,
|
|
35512
|
+
B = x / F, L = c, i.each(r, function(z, V) {
|
|
35513
35513
|
if (!isNaN(z)) {
|
|
35514
|
-
var q = i.getItemLayout(
|
|
35514
|
+
var q = i.getItemLayout(V), rA = q.angle === I ? I : z * B, nA = 0, U = 0;
|
|
35515
35515
|
rA < u ? (nA = L + y * rA / 2, U = nA) : (nA = L + b, U = L + y * rA - b), q.startAngle = nA, q.endAngle = U, L += y * rA;
|
|
35516
35516
|
}
|
|
35517
35517
|
});
|
|
@@ -35528,7 +35528,7 @@ var DN = It(), VnA = (
|
|
|
35528
35528
|
return n.setTextContent(a), n.updateData(t, i, r, !0), n;
|
|
35529
35529
|
}
|
|
35530
35530
|
return A.prototype.updateData = function(t, i, r, n) {
|
|
35531
|
-
var a = this, o = t.hostModel, s = t.getItemModel(i), l = s.getModel("emphasis"), g = t.getItemLayout(i), c =
|
|
35531
|
+
var a = this, o = t.hostModel, s = t.getItemModel(i), l = s.getModel("emphasis"), g = t.getItemLayout(i), c = xA(k0(s.getModel("itemStyle"), g, !0), g);
|
|
35532
35532
|
if (isNaN(c.startAngle)) {
|
|
35533
35533
|
a.setShape(c);
|
|
35534
35534
|
return;
|
|
@@ -35565,20 +35565,20 @@ var DN = It(), VnA = (
|
|
|
35565
35565
|
}, o, i);
|
|
35566
35566
|
a.useStyle(t.getItemVisual(i, "style")), Wa(a, s);
|
|
35567
35567
|
var u = (g.startAngle + g.endAngle) / 2, C = o.get("selectedOffset"), I = Math.cos(u) * C, f = Math.sin(u) * C, d = s.getShallow("cursor");
|
|
35568
|
-
d && a.attr("cursor", d), this._updateLabel(o, t, i), a.ensureState("emphasis").shape =
|
|
35568
|
+
d && a.attr("cursor", d), this._updateLabel(o, t, i), a.ensureState("emphasis").shape = xA({
|
|
35569
35569
|
r: g.r + (l.get("scale") && l.get("scaleSize") || 0)
|
|
35570
|
-
}, k0(l.getModel("itemStyle"), g)),
|
|
35570
|
+
}, k0(l.getModel("itemStyle"), g)), xA(a.ensureState("select"), {
|
|
35571
35571
|
x: I,
|
|
35572
35572
|
y: f,
|
|
35573
35573
|
shape: k0(s.getModel(["select", "itemStyle"]), g)
|
|
35574
|
-
}),
|
|
35574
|
+
}), xA(a.ensureState("blur"), {
|
|
35575
35575
|
shape: k0(s.getModel(["blur", "itemStyle"]), g)
|
|
35576
35576
|
});
|
|
35577
35577
|
var B = a.getTextGuideLine(), Q = a.getTextContent();
|
|
35578
|
-
B &&
|
|
35578
|
+
B && xA(B.ensureState("select"), {
|
|
35579
35579
|
x: I,
|
|
35580
35580
|
y: f
|
|
35581
|
-
}),
|
|
35581
|
+
}), xA(Q.ensureState("select"), {
|
|
35582
35582
|
x: I,
|
|
35583
35583
|
y: f
|
|
35584
35584
|
}), Ca(this, l.get("focus"), l.get("blurScope"), l.get("disabled"));
|
|
@@ -36240,9 +36240,9 @@ function _N(e, A) {
|
|
|
36240
36240
|
process.env.NODE_ENV !== "production" && vA(C >= 1);
|
|
36241
36241
|
var B = r.zoomFixMM, Q = B[0] || B[1], p = [r.fixMM[0] || Q, r.fixMM[1] || Q], E = t.getExtent(), v = o.getExtent(), y = dx(v, p), D, b, k, S, x, F;
|
|
36242
36242
|
function L(iA) {
|
|
36243
|
-
for (var
|
|
36243
|
+
for (var W = 50, X = 0; X < W && !iA(); X++)
|
|
36244
36244
|
k = n ? k * ct(s, 2) : ctA(k), S = rg(k);
|
|
36245
|
-
process.env.NODE_ENV !== "production" && X >=
|
|
36245
|
+
process.env.NODE_ENV !== "production" && X >= W && Ki("incorrect impl in `scaleCalcAlign`.");
|
|
36246
36246
|
}
|
|
36247
36247
|
function O() {
|
|
36248
36248
|
D = tt(F - k * h, S);
|
|
@@ -36250,7 +36250,7 @@ function _N(e, A) {
|
|
|
36250
36250
|
function z() {
|
|
36251
36251
|
b = tt(x + k * u, S);
|
|
36252
36252
|
}
|
|
36253
|
-
function
|
|
36253
|
+
function V() {
|
|
36254
36254
|
F = h ? tt(D + k * h, S) : D;
|
|
36255
36255
|
}
|
|
36256
36256
|
function q() {
|
|
@@ -36259,11 +36259,11 @@ function _N(e, A) {
|
|
|
36259
36259
|
if (p[0] && p[1]) {
|
|
36260
36260
|
D = y[0], b = y[1], k = (b - D) / (C + h + u);
|
|
36261
36261
|
var rA = e.getExtent(), nA = pi(rA[1] - rA[0]);
|
|
36262
|
-
S = fW([b, D], nA, 0.5 / C),
|
|
36262
|
+
S = fW([b, D], nA, 0.5 / C), V(), q(), In(S) && (k = tt(k, S));
|
|
36263
36263
|
} else {
|
|
36264
36264
|
var U = y[1] - y[0];
|
|
36265
36265
|
k = n ? ct(M6(U), 1) : Km(U / C, R6), S = rg(k), p[0] ? (D = y[0], L(function() {
|
|
36266
|
-
if (
|
|
36266
|
+
if (V(), x = tt(F + k * C, S), z(), b >= y[1])
|
|
36267
36267
|
return !0;
|
|
36268
36268
|
})) : p[1] ? (b = y[1], L(function() {
|
|
36269
36269
|
if (q(), F = tt(x - k * C, S), O(), D <= y[0])
|
|
@@ -36272,14 +36272,14 @@ function _N(e, A) {
|
|
|
36272
36272
|
F = tt(Ph(y[0] / k) * k, S), x = tt($l(y[1] / k) * k, S);
|
|
36273
36273
|
var iA = Fo((x - F) / k);
|
|
36274
36274
|
if (iA <= C) {
|
|
36275
|
-
var
|
|
36275
|
+
var W = C - iA, X = void 0, oA = r.incl0 || n;
|
|
36276
36276
|
if (oA && y[0] === 0)
|
|
36277
|
-
X = [0,
|
|
36277
|
+
X = [0, W];
|
|
36278
36278
|
else if (oA && y[1] === 0)
|
|
36279
|
-
X = [
|
|
36279
|
+
X = [W, 0];
|
|
36280
36280
|
else {
|
|
36281
|
-
var CA = $l(
|
|
36282
|
-
X =
|
|
36281
|
+
var CA = $l(W / 2);
|
|
36282
|
+
X = W % 2 === 0 ? [CA, CA] : D + b < y[0] + y[1] ? [CA, CA + 1] : [CA + 1, CA];
|
|
36283
36283
|
}
|
|
36284
36284
|
if (F = tt(F - k * X[0], S), x = tt(x + k * X[1], S), O(), z(), D <= y[0] && b >= y[1])
|
|
36285
36285
|
return !0;
|
|
@@ -37135,7 +37135,7 @@ var _h = "radar", _aA = (
|
|
|
37135
37135
|
d.eachChild(function(y) {
|
|
37136
37136
|
if (y instanceof Aa) {
|
|
37137
37137
|
var D = y.style;
|
|
37138
|
-
y.useStyle(
|
|
37138
|
+
y.useStyle(xA({
|
|
37139
37139
|
// TODO other properties like x, y ?
|
|
37140
37140
|
image: D.image,
|
|
37141
37141
|
x: D.x,
|
|
@@ -37273,8 +37273,8 @@ var FaA = (
|
|
|
37273
37273
|
if (!r.length)
|
|
37274
37274
|
return;
|
|
37275
37275
|
var n = t.get("shape"), a = t.getModel("splitLine"), o = t.getModel("splitArea"), s = a.getModel("lineStyle"), l = o.getModel("areaStyle"), g = a.get("show"), c = o.get("show"), h = s.get("color"), u = l.get("color"), C = GA(h) ? h : [h], I = GA(u) ? u : [u], f = [], d = [];
|
|
37276
|
-
function B(O, z,
|
|
37277
|
-
var q =
|
|
37276
|
+
function B(O, z, V) {
|
|
37277
|
+
var q = V % z.length;
|
|
37278
37278
|
return O[q] = O[q] || [], q;
|
|
37279
37279
|
}
|
|
37280
37280
|
if (n === "circle")
|
|
@@ -37303,8 +37303,8 @@ var FaA = (
|
|
|
37303
37303
|
}
|
|
37304
37304
|
else
|
|
37305
37305
|
for (var D, b = zA(r, function(O, z) {
|
|
37306
|
-
var
|
|
37307
|
-
return D = D == null ?
|
|
37306
|
+
var V = O.getTicksCoords();
|
|
37307
|
+
return D = D == null ? V.length - 1 : Math.min(V.length - 1, D), zA(V, function(q) {
|
|
37308
37308
|
return i.coordToPoint(q.coord, z);
|
|
37309
37309
|
});
|
|
37310
37310
|
}), k = [], v = 0; v <= D; v++) {
|
|
@@ -37507,8 +37507,8 @@ var HaA = (
|
|
|
37507
37507
|
zlevel: C,
|
|
37508
37508
|
// By default roam controller is the lowest z2 comparing to other elememts in a component.
|
|
37509
37509
|
z2: se(c.z2, -1 / 0)
|
|
37510
|
-
}, f =
|
|
37511
|
-
this._opt = ze(
|
|
37510
|
+
}, f = xA({}, g.triggerInfo);
|
|
37511
|
+
this._opt = ze(xA({}, g), {
|
|
37512
37512
|
zoomOnMouseWheel: !0,
|
|
37513
37513
|
moveOnMouseMove: !0,
|
|
37514
37514
|
// By default, wheel do not trigger move.
|
|
@@ -37942,7 +37942,7 @@ function foA(e) {
|
|
|
37942
37942
|
}
|
|
37943
37943
|
function doA(e, A) {
|
|
37944
37944
|
if (voA(this)) {
|
|
37945
|
-
var t =
|
|
37945
|
+
var t = xA({}, Vn(this).datas);
|
|
37946
37946
|
t[this.dataType] = A, KN(A, t, e);
|
|
37947
37947
|
} else
|
|
37948
37948
|
ay(A, this.dataType, Vn(this).mainData, e);
|
|
@@ -38571,12 +38571,12 @@ var NoA = (
|
|
|
38571
38571
|
}, A.prototype._renderTicks = function(t, i, r, n, a, o, s, l, g) {
|
|
38572
38572
|
for (var c = this.group, h = a.cx, u = a.cy, C = a.r, I = +t.get("min"), f = +t.get("max"), d = t.getModel("splitLine"), B = t.getModel("axisTick"), Q = t.getModel("axisLabel"), p = t.get("splitNumber"), E = B.get("splitNumber"), v = xe(d.get("length"), C), y = xe(B.get("length"), C), D = o, b = (s - o) / p, k = b / E, S = d.getModel("lineStyle").getLineStyle(), x = B.getModel("lineStyle").getLineStyle(), F = d.get("distance"), L, O, z = 0; z <= p; z++) {
|
|
38573
38573
|
if (L = Math.cos(D), O = Math.sin(D), d.get("show")) {
|
|
38574
|
-
var
|
|
38574
|
+
var V = F ? F + g : g, q = new Xa({
|
|
38575
38575
|
shape: {
|
|
38576
|
-
x1: L * (C -
|
|
38577
|
-
y1: O * (C -
|
|
38578
|
-
x2: L * (C - v -
|
|
38579
|
-
y2: O * (C - v -
|
|
38576
|
+
x1: L * (C - V) + h,
|
|
38577
|
+
y1: O * (C - V) + u,
|
|
38578
|
+
x2: L * (C - v - V) + h,
|
|
38579
|
+
y2: O * (C - v - V) + u
|
|
38580
38580
|
},
|
|
38581
38581
|
style: S,
|
|
38582
38582
|
silent: !0
|
|
@@ -38586,12 +38586,12 @@ var NoA = (
|
|
|
38586
38586
|
}), c.add(q);
|
|
38587
38587
|
}
|
|
38588
38588
|
if (Q.get("show")) {
|
|
38589
|
-
var
|
|
38589
|
+
var V = Q.get("distance") + F, rA = wI(
|
|
38590
38590
|
// multiply firstly to avoid rounding error.
|
|
38591
38591
|
tt(z * (f - I) / p + I, lW),
|
|
38592
38592
|
Q.get("formatter")
|
|
38593
|
-
), nA = n(z / p), U = L * (C - v -
|
|
38594
|
-
|
|
38593
|
+
), nA = n(z / p), U = L * (C - v - V) + h, iA = O * (C - v - V) + u, W = Q.get("rotate"), X = 0;
|
|
38594
|
+
W === "radial" ? (X = -D + 2 * Math.PI, X > Math.PI / 2 && (X += Math.PI)) : W === "tangential" ? X = -D - Math.PI / 2 : ut(W) && (X = W * Math.PI / 180), X === 0 ? c.add(new Ut({
|
|
38595
38595
|
style: sr(Q, {
|
|
38596
38596
|
text: rA,
|
|
38597
38597
|
x: U,
|
|
@@ -38619,16 +38619,16 @@ var NoA = (
|
|
|
38619
38619
|
}));
|
|
38620
38620
|
}
|
|
38621
38621
|
if (B.get("show") && z !== p) {
|
|
38622
|
-
var
|
|
38623
|
-
|
|
38622
|
+
var V = B.get("distance");
|
|
38623
|
+
V = V ? V + g : g;
|
|
38624
38624
|
for (var oA = 0; oA <= E; oA++) {
|
|
38625
38625
|
L = Math.cos(D), O = Math.sin(D);
|
|
38626
38626
|
var CA = new Xa({
|
|
38627
38627
|
shape: {
|
|
38628
|
-
x1: L * (C -
|
|
38629
|
-
y1: O * (C -
|
|
38630
|
-
x2: L * (C - y -
|
|
38631
|
-
y2: O * (C - y -
|
|
38628
|
+
x1: L * (C - V) + h,
|
|
38629
|
+
y1: O * (C - V) + u,
|
|
38630
|
+
x2: L * (C - y - V) + h,
|
|
38631
|
+
y2: O * (C - y - V) + u
|
|
38632
38632
|
},
|
|
38633
38633
|
silent: !0,
|
|
38634
38634
|
style: x
|
|
@@ -38644,7 +38644,7 @@ var NoA = (
|
|
|
38644
38644
|
}, A.prototype._renderPointer = function(t, i, r, n, a, o, s, l, g) {
|
|
38645
38645
|
var c = this.group, h = this._data, u = this._progressEls, C = [], I = t.get(["pointer", "show"]), f = t.getModel("progress"), d = f.get("show"), B = t.getData(), Q = B.mapDimension("value"), p = +t.get("min"), E = +t.get("max"), v = [p, E], y = [o, s];
|
|
38646
38646
|
function D(k, S) {
|
|
38647
|
-
var x = B.getItemModel(k), F = x.getModel("pointer"), L = xe(F.get("width"), a.r), O = xe(F.get("length"), a.r), z = t.get(["pointer", "icon"]),
|
|
38647
|
+
var x = B.getItemModel(k), F = x.getModel("pointer"), L = xe(F.get("width"), a.r), O = xe(F.get("length"), a.r), z = t.get(["pointer", "icon"]), V = F.get("offsetCenter"), q = xe(V[0], a.r), rA = xe(V[1], a.r), nA = F.get("keepAspect"), U;
|
|
38648
38648
|
return z ? U = fn(z, q - L / 2, rA - O, L, O, null, nA) : U = new _oA({
|
|
38649
38649
|
shape: {
|
|
38650
38650
|
angle: -Math.PI / 2,
|
|
@@ -38656,7 +38656,7 @@ var NoA = (
|
|
|
38656
38656
|
}), U.rotation = -(S + Math.PI / 2), U.x = a.cx, U.y = a.cy, U;
|
|
38657
38657
|
}
|
|
38658
38658
|
function b(k, S) {
|
|
38659
|
-
var x = f.get("roundCap"), F = x ? Rd : za, L = f.get("overlap"), O = L ? f.get("width") : g / B.count(), z = L ? a.r - O : a.r - (k + 1) * O,
|
|
38659
|
+
var x = f.get("roundCap"), F = x ? Rd : za, L = f.get("overlap"), O = L ? f.get("width") : g / B.count(), z = L ? a.r - O : a.r - (k + 1) * O, V = L ? a.r : a.r - k * O, q = new F({
|
|
38660
38660
|
shape: {
|
|
38661
38661
|
startAngle: o,
|
|
38662
38662
|
endAngle: S,
|
|
@@ -38664,7 +38664,7 @@ var NoA = (
|
|
|
38664
38664
|
cy: a.cy,
|
|
38665
38665
|
clockwise: l,
|
|
38666
38666
|
r0: z,
|
|
38667
|
-
r:
|
|
38667
|
+
r: V
|
|
38668
38668
|
}
|
|
38669
38669
|
});
|
|
38670
38670
|
return L && (q.z2 = nr(B.get(Q, k), [p, E], [100, 0], !0)), q;
|
|
@@ -38694,7 +38694,7 @@ var NoA = (
|
|
|
38694
38694
|
}, t), c.add(O), B.setItemGraphicEl(k, O);
|
|
38695
38695
|
}
|
|
38696
38696
|
if (d) {
|
|
38697
|
-
var z = u[S],
|
|
38697
|
+
var z = u[S], V = z ? z.shape.endAngle : o, q = b(k, V), rA = f.get("clip");
|
|
38698
38698
|
Di(q, {
|
|
38699
38699
|
shape: {
|
|
38700
38700
|
endAngle: nr(x, v, y, rA)
|
|
@@ -38704,10 +38704,10 @@ var NoA = (
|
|
|
38704
38704
|
}).execute(), B.each(function(k) {
|
|
38705
38705
|
var S = B.getItemModel(k), x = S.getModel("emphasis"), F = x.get("focus"), L = x.get("blurScope"), O = x.get("disabled"), z = n(nr(B.get(Q, k), v, [0, 1], !0));
|
|
38706
38706
|
if (I) {
|
|
38707
|
-
var
|
|
38708
|
-
if (
|
|
38709
|
-
var nA =
|
|
38710
|
-
|
|
38707
|
+
var V = B.getItemGraphicEl(k), q = B.getItemVisual(k, "style"), rA = q.fill;
|
|
38708
|
+
if (V instanceof Aa) {
|
|
38709
|
+
var nA = V.style;
|
|
38710
|
+
V.useStyle(xA({
|
|
38711
38711
|
image: nA.image,
|
|
38712
38712
|
x: nA.x,
|
|
38713
38713
|
y: nA.y,
|
|
@@ -38715,8 +38715,8 @@ var NoA = (
|
|
|
38715
38715
|
height: nA.height
|
|
38716
38716
|
}, q));
|
|
38717
38717
|
} else
|
|
38718
|
-
|
|
38719
|
-
|
|
38718
|
+
V.useStyle(q), V.type !== "pointer" && V.setColor(rA);
|
|
38719
|
+
V.setStyle(S.getModel(["pointer", "itemStyle"]).getItemStyle()), V.style.fill === "auto" && V.setStyle("fill", z), V.z2EmphasisLift = 0, Wa(V, S), Ca(V, F, L, O);
|
|
38720
38720
|
}
|
|
38721
38721
|
if (d) {
|
|
38722
38722
|
var U = C[k];
|
|
@@ -38758,7 +38758,7 @@ var NoA = (
|
|
|
38758
38758
|
}
|
|
38759
38759
|
var S = B.getModel("detail");
|
|
38760
38760
|
if (S.get("show")) {
|
|
38761
|
-
var x = S.get("offsetCenter"), F = a.cx + xe(x[0], a.r), L = a.cy + xe(x[1], a.r), O = xe(S.get("width"), a.r), z = xe(S.get("height"), a.r),
|
|
38761
|
+
var x = S.get("offsetCenter"), F = a.cx + xe(x[0], a.r), L = a.cy + xe(x[1], a.r), O = xe(S.get("width"), a.r), z = xe(S.get("height"), a.r), V = t.get(["progress", "show"]) ? s.getItemVisual(d, "style").fill : E, k = C[d], q = S.get("formatter");
|
|
38762
38762
|
k.attr({
|
|
38763
38763
|
z2: f ? 0 : 2,
|
|
38764
38764
|
style: sr(S, {
|
|
@@ -38770,14 +38770,14 @@ var NoA = (
|
|
|
38770
38770
|
align: "center",
|
|
38771
38771
|
verticalAlign: "middle"
|
|
38772
38772
|
}, {
|
|
38773
|
-
inheritColor:
|
|
38773
|
+
inheritColor: V
|
|
38774
38774
|
})
|
|
38775
38775
|
}), T9(k, {
|
|
38776
38776
|
normal: S
|
|
38777
38777
|
}, Q, function(nA) {
|
|
38778
38778
|
return wI(nA, q);
|
|
38779
38779
|
}), I && nj(k, d, s, t, {
|
|
38780
|
-
getFormattedLabel: function(nA, U, iA,
|
|
38780
|
+
getFormattedLabel: function(nA, U, iA, W, X, oA) {
|
|
38781
38781
|
return wI(oA ? oA.interpolatedValue : Q, q);
|
|
38782
38782
|
}
|
|
38783
38783
|
}), p.add(k);
|
|
@@ -39115,26 +39115,26 @@ var To = "sankey", LoA = (
|
|
|
39115
39115
|
a.removeAll(), a.x = o.x, a.y = o.y, this._updateViewCoordSys(t, r), uoA(t, r, this._controller, hoA(a)), n.eachEdge(function(u) {
|
|
39116
39116
|
var C = new ToA(), I = je(C);
|
|
39117
39117
|
I.dataIndex = u.dataIndex, I.seriesIndex = t.seriesIndex, I.dataType = "edge";
|
|
39118
|
-
var f = u.getModel(), d = f.getModel("lineStyle"), B = d.get("curveness"), Q = u.node1.getLayout(), p = u.node1.getModel(), E = p.get("localX"), v = p.get("localY"), y = u.node2.getLayout(), D = u.node2.getModel(), b = D.get("localX"), k = D.get("localY"), S = u.getLayout(), x, F, L, O, z,
|
|
39119
|
-
C.shape.extent = Math.max(1, S.dy), C.shape.orient = h, h === "vertical" ? (x = (E != null ? E * s : Q.x) + S.sy, F = (v != null ? v * l : Q.y) + Q.dy, L = (b != null ? b * s : y.x) + S.ty, O = k != null ? k * l : y.y, z = x,
|
|
39118
|
+
var f = u.getModel(), d = f.getModel("lineStyle"), B = d.get("curveness"), Q = u.node1.getLayout(), p = u.node1.getModel(), E = p.get("localX"), v = p.get("localY"), y = u.node2.getLayout(), D = u.node2.getModel(), b = D.get("localX"), k = D.get("localY"), S = u.getLayout(), x, F, L, O, z, V, q, rA;
|
|
39119
|
+
C.shape.extent = Math.max(1, S.dy), C.shape.orient = h, h === "vertical" ? (x = (E != null ? E * s : Q.x) + S.sy, F = (v != null ? v * l : Q.y) + Q.dy, L = (b != null ? b * s : y.x) + S.ty, O = k != null ? k * l : y.y, z = x, V = F * (1 - B) + O * B, q = L, rA = F * B + O * (1 - B)) : (x = (E != null ? E * s : Q.x) + Q.dx, F = (v != null ? v * l : Q.y) + S.sy, L = b != null ? b * s : y.x, O = (k != null ? k * l : y.y) + S.ty, z = x * (1 - B) + L * B, V = F, q = x * B + L * (1 - B), rA = O), C.setShape({
|
|
39120
39120
|
x1: x,
|
|
39121
39121
|
y1: F,
|
|
39122
39122
|
x2: L,
|
|
39123
39123
|
y2: O,
|
|
39124
39124
|
cpx1: z,
|
|
39125
|
-
cpy1:
|
|
39125
|
+
cpy1: V,
|
|
39126
39126
|
cpx2: q,
|
|
39127
39127
|
cpy2: rA
|
|
39128
39128
|
}), C.useStyle(d.getItemStyle()), t8(C.style, h, u);
|
|
39129
39129
|
var nA = "" + f.get("value"), U = ja(f, "edgeLabel");
|
|
39130
39130
|
Lo(C, U, {
|
|
39131
39131
|
labelFetcher: {
|
|
39132
|
-
getFormattedLabel: function(X, oA, CA,
|
|
39132
|
+
getFormattedLabel: function(X, oA, CA, _A, UA, Ae) {
|
|
39133
39133
|
return t.getFormattedLabel(
|
|
39134
39134
|
X,
|
|
39135
39135
|
oA,
|
|
39136
39136
|
"edge",
|
|
39137
|
-
|
|
39137
|
+
_A,
|
|
39138
39138
|
// ensure edgeLabel formatter is provided
|
|
39139
39139
|
// to prevent the inheritance from `label.formatter` of the series
|
|
39140
39140
|
Za(UA, U.normal && U.normal.get("formatter"), nA),
|
|
@@ -39152,8 +39152,8 @@ var To = "sankey", LoA = (
|
|
|
39152
39152
|
var oA = X.getItemStyle();
|
|
39153
39153
|
return t8(oA, h, u), oA;
|
|
39154
39154
|
}), a.add(C), c.setItemGraphicEl(u.dataIndex, C);
|
|
39155
|
-
var
|
|
39156
|
-
Ca(C,
|
|
39155
|
+
var W = iA.get("focus");
|
|
39156
|
+
Ca(C, W === "adjacency" ? u.getAdjacentDataIndices() : W === "trajectory" ? u.getTrajectoryDataIndices() : W, iA.get("blurScope"), iA.get("disabled"));
|
|
39157
39157
|
}), n.eachNode(function(u) {
|
|
39158
39158
|
var C = u.getLayout(), I = u.getModel(), f = I.get("localX"), d = I.get("localY"), B = I.getModel("emphasis"), Q = I.get(["itemStyle", "borderRadius"]) || 0, p = new yt({
|
|
39159
39159
|
shape: {
|
|
@@ -39671,11 +39671,11 @@ var usA = (
|
|
|
39671
39671
|
var O = d.get(S[0], x), z = d.get(S[1], x);
|
|
39672
39672
|
if (isNaN(d.get(S[2], x)) || isNaN(O) || isNaN(z) || O < h[0] || O > h[1] || z < u[0] || z > u[1])
|
|
39673
39673
|
continue;
|
|
39674
|
-
var
|
|
39674
|
+
var V = o.dataToPoint([O, z]);
|
|
39675
39675
|
F = new yt({
|
|
39676
39676
|
shape: {
|
|
39677
|
-
x:
|
|
39678
|
-
y:
|
|
39677
|
+
x: V[0] - g / 2,
|
|
39678
|
+
y: V[1] - c / 2,
|
|
39679
39679
|
width: g,
|
|
39680
39680
|
height: c
|
|
39681
39681
|
},
|
|
@@ -39707,12 +39707,12 @@ var usA = (
|
|
|
39707
39707
|
B = U.getModel("itemStyle").getItemStyle(), Q = nA.getModel(["blur", "itemStyle"]).getItemStyle(), p = nA.getModel(["select", "itemStyle"]).getItemStyle(), E = nA.get(["itemStyle", "borderRadius"]), D = U.get("focus"), b = U.get("blurScope"), k = U.get("disabled"), v = ja(nA);
|
|
39708
39708
|
}
|
|
39709
39709
|
F.shape.r = E;
|
|
39710
|
-
var iA = t.getRawValue(x),
|
|
39711
|
-
iA && iA[2] != null && (
|
|
39710
|
+
var iA = t.getRawValue(x), W = "-";
|
|
39711
|
+
iA && iA[2] != null && (W = iA[2] + ""), Lo(F, v, {
|
|
39712
39712
|
labelFetcher: t,
|
|
39713
39713
|
labelDataIndex: x,
|
|
39714
39714
|
defaultOpacity: L.opacity,
|
|
39715
|
-
defaultText:
|
|
39715
|
+
defaultText: W
|
|
39716
39716
|
}), F.ensureState("emphasis").style = B, F.ensureState("blur").style = Q, F.ensureState("select").style = p, Ca(F, D, b, k), F.incremental = jm(t, a), a && (F.states.emphasis.hoverLayer = DB), f.add(F), d.setItemGraphicEl(x, F), this._progressiveEls && this._progressiveEls.push(F);
|
|
39717
39717
|
}
|
|
39718
39718
|
}, A.prototype._renderOnGeo = function(t, i, r, n) {
|
|
@@ -40339,7 +40339,7 @@ function g8(e, A, t, i, r) {
|
|
|
40339
40339
|
return;
|
|
40340
40340
|
}
|
|
40341
40341
|
var a = MsA(A, e), o = a.payloadBatch, s = a.snapToValue;
|
|
40342
|
-
o[0] && r.seriesIndex == null &&
|
|
40342
|
+
o[0] && r.seriesIndex == null && xA(r, o[0]), !i && e.snap && n.containData(s) && s != null && (A = s), t.showPointer(e, A, o), t.showTooltip(e, a, s);
|
|
40343
40343
|
}
|
|
40344
40344
|
}
|
|
40345
40345
|
function MsA(e, A) {
|
|
@@ -41027,7 +41027,7 @@ var elA = new yt({
|
|
|
41027
41027
|
var L = e5(S.formatTooltip(x, !0, null)), O = L.frag;
|
|
41028
41028
|
if (O) {
|
|
41029
41029
|
var z = r0([S], n).get("valueFormatter");
|
|
41030
|
-
b.blocks.push(z ?
|
|
41030
|
+
b.blocks.push(z ? xA({
|
|
41031
41031
|
valueFormatter: z
|
|
41032
41032
|
}, O) : O);
|
|
41033
41033
|
}
|
|
@@ -41052,7 +41052,7 @@ var elA = new yt({
|
|
|
41052
41052
|
if (!(f != null && f !== "item")) {
|
|
41053
41053
|
var d = l.getDataParams(g, c), B = new Sp();
|
|
41054
41054
|
d.marker = B.makeTooltipMarker("item", ig(d.color), u);
|
|
41055
|
-
var Q = e5(l.formatTooltip(g, !1, c)), p = I.get("order"), E = I.get("valueFormatter"), v = Q.frag, y = v ? o5(E ?
|
|
41055
|
+
var Q = e5(l.formatTooltip(g, !1, c)), p = I.get("order"), E = I.get("valueFormatter"), v = Q.frag, y = v ? o5(E ? xA({
|
|
41056
41056
|
valueFormatter: E
|
|
41057
41057
|
}, v) : v, B, u, p, n.get("useUTC"), I.get("textStyle")) : Q.text, D = "item_" + l.name + "_" + g;
|
|
41058
41058
|
this._showOrMove(I, function() {
|
|
@@ -41671,15 +41671,15 @@ var hlA = function(e, A) {
|
|
|
41671
41671
|
if (!S.containName(d))
|
|
41672
41672
|
return;
|
|
41673
41673
|
var x = S.indexOfName(d), F = S.getItemVisual(x, "style"), L = S.getItemVisual(x, "legendIcon"), O = qn(F.fill);
|
|
41674
|
-
O && O[3] === 0 && (O[3] = 0.2, F =
|
|
41674
|
+
O && O[3] === 0 && (O[3] = 0.2, F = xA(xA({}, F), {
|
|
41675
41675
|
fill: vo(O, "rgba")
|
|
41676
41676
|
}));
|
|
41677
41677
|
var z = this._createItem(b, d, I, C, i, t, {}, F, L, c, n);
|
|
41678
|
-
z.on("click", Pg(E8, null, d, n, u)).on("mouseover", Pg(L1, null, d, n, u)).on("mouseout", Pg(G1, null, d, n, u)), r.ssr && z.eachChild(function(
|
|
41679
|
-
var q = je(
|
|
41678
|
+
z.on("click", Pg(E8, null, d, n, u)).on("mouseover", Pg(L1, null, d, n, u)).on("mouseout", Pg(G1, null, d, n, u)), r.ssr && z.eachChild(function(V) {
|
|
41679
|
+
var q = je(V);
|
|
41680
41680
|
q.seriesIndex = b.seriesIndex, q.dataIndex = I, q.ssrType = "legend";
|
|
41681
|
-
}), h && z.eachChild(function(
|
|
41682
|
-
k.packEventData(
|
|
41681
|
+
}), h && z.eachChild(function(V) {
|
|
41682
|
+
k.packEventData(V, i, b, I, d);
|
|
41683
41683
|
}), g.set(d, !0);
|
|
41684
41684
|
}
|
|
41685
41685
|
}, this);
|
|
@@ -42626,7 +42626,7 @@ var Ma = nr, _lA = G, S8 = Math.min, gE = Math.max, xlA = 12, NlA = 6, FlA = (
|
|
|
42626
42626
|
var l = t.getModel("indicatorStyle").getItemStyle();
|
|
42627
42627
|
if (s instanceof Aa) {
|
|
42628
42628
|
var g = s.style;
|
|
42629
|
-
s.useStyle(
|
|
42629
|
+
s.useStyle(xA({
|
|
42630
42630
|
// TODO other properties like x, y ?
|
|
42631
42631
|
image: g.image,
|
|
42632
42632
|
x: g.x,
|
|
@@ -43509,7 +43509,7 @@ var Ah = 1, T1 = 2, fF = 4, kI = Ah | fF, AgA = function() {
|
|
|
43509
43509
|
layers: []
|
|
43510
43510
|
};
|
|
43511
43511
|
var n = !A.nodeName || A.nodeName.toUpperCase() === "CANVAS";
|
|
43512
|
-
this._opts = i =
|
|
43512
|
+
this._opts = i = xA({}, i || {}), this.dpr = i.devicePixelRatio || Wf, this._singleCanvas = n, this.root = A;
|
|
43513
43513
|
var a = A.style;
|
|
43514
43514
|
if (a && (l6(A), A.innerHTML = ""), this.storage = t, this._prevDisplayList = [], n) {
|
|
43515
43515
|
var s = A, l = s.width, g = s.height;
|
|
@@ -48005,7 +48005,7 @@ async function BIA(e) {
|
|
|
48005
48005
|
const { instance: i } = await WebAssembly.instantiate(t, hIA);
|
|
48006
48006
|
dk(i);
|
|
48007
48007
|
}
|
|
48008
|
-
class
|
|
48008
|
+
class NA extends Error {
|
|
48009
48009
|
// Error start position based on passed-in Token or ParseNode.
|
|
48010
48010
|
// Length of affected text based on passed-in Token or ParseNode.
|
|
48011
48011
|
// The underlying error message without any context added.
|
|
@@ -48019,7 +48019,7 @@ class xA extends Error {
|
|
|
48019
48019
|
var g;
|
|
48020
48020
|
n + 15 < o.length ? g = o.slice(n, n + 15) + "…" : g = o.slice(n), i += l + s + g;
|
|
48021
48021
|
}
|
|
48022
|
-
super(i), this.name = "ParseError", Object.setPrototypeOf(this,
|
|
48022
|
+
super(i), this.name = "ParseError", Object.setPrototypeOf(this, NA.prototype), this.position = r, r != null && n != null && (this.length = n - r), this.rawMessage = A;
|
|
48023
48023
|
}
|
|
48024
48024
|
}
|
|
48025
48025
|
var QIA = /([A-Z])/g, dy = (e) => e.replace(QIA, "-$1").toLowerCase(), pIA = {
|
|
@@ -48151,7 +48151,7 @@ class By {
|
|
|
48151
48151
|
var r = this.strict;
|
|
48152
48152
|
if (typeof r == "function" && (r = r(A, t, i)), !(!r || r === "ignore")) {
|
|
48153
48153
|
if (r === !0 || r === "error")
|
|
48154
|
-
throw new
|
|
48154
|
+
throw new NA("LaTeX-incompatible input and strict mode is set to 'error': " + (t + " [" + A + "]"), i);
|
|
48155
48155
|
r === "warn" ? typeof console < "u" && console.warn("LaTeX-incompatible input and strict mode is set to 'warn': " + (t + " [" + A + "]")) : typeof console < "u" && console.warn("LaTeX-incompatible input and strict mode is set to " + ("unrecognized '" + r + "': " + t + " [" + A + "]"));
|
|
48156
48156
|
}
|
|
48157
48157
|
}
|
|
@@ -48818,7 +48818,7 @@ var q1 = {
|
|
|
48818
48818
|
else if (A.unit === "em")
|
|
48819
48819
|
i = r.fontMetrics().quad;
|
|
48820
48820
|
else
|
|
48821
|
-
throw new
|
|
48821
|
+
throw new NA("Invalid unit: '" + A.unit + "'");
|
|
48822
48822
|
r !== t && (i *= r.sizeMultiplier / t.sizeMultiplier);
|
|
48823
48823
|
}
|
|
48824
48824
|
return Math.min(A.number * i, t.maxSize);
|
|
@@ -48851,7 +48851,7 @@ var q1 = {
|
|
|
48851
48851
|
i && (t += ' style="' + Er(i) + '"');
|
|
48852
48852
|
for (var n of Object.keys(this.attributes)) {
|
|
48853
48853
|
if (HIA.test(n))
|
|
48854
|
-
throw new
|
|
48854
|
+
throw new NA("Invalid attribute name '" + n + "'");
|
|
48855
48855
|
t += " " + n + '="' + Er(this.attributes[n]) + '"';
|
|
48856
48856
|
}
|
|
48857
48857
|
t += ">";
|
|
@@ -51304,31 +51304,31 @@ function m(e, A, t, i, r, n) {
|
|
|
51304
51304
|
replace: i
|
|
51305
51305
|
}, n && i && (Vt[e][i] = Vt[e][r]);
|
|
51306
51306
|
}
|
|
51307
|
-
var w = "math", mA = "text", _ = "main", P = "ams", jt = "accent-token", jA = "bin", Or = "close", vu = "inner", me = "mathord", Ri = "op-token", pn = "open", aC = "punct",
|
|
51308
|
-
m(w, _,
|
|
51309
|
-
m(w, _,
|
|
51310
|
-
m(w, _,
|
|
51311
|
-
m(w, _,
|
|
51312
|
-
m(w, _,
|
|
51313
|
-
m(w, _,
|
|
51314
|
-
m(w, _,
|
|
51315
|
-
m(w, _,
|
|
51316
|
-
m(w, _,
|
|
51317
|
-
m(w, _,
|
|
51318
|
-
m(w, _,
|
|
51319
|
-
m(w, _,
|
|
51320
|
-
m(w, _,
|
|
51321
|
-
m(w, _,
|
|
51322
|
-
m(w, _,
|
|
51323
|
-
m(w, _,
|
|
51324
|
-
m(w, _,
|
|
51325
|
-
m(w, _,
|
|
51326
|
-
m(w, _,
|
|
51327
|
-
m(w, _,
|
|
51328
|
-
m(w, _,
|
|
51329
|
-
m(w, _,
|
|
51330
|
-
m(w, _,
|
|
51331
|
-
m(w, _,
|
|
51307
|
+
var w = "math", mA = "text", _ = "main", P = "ams", jt = "accent-token", jA = "bin", Or = "close", vu = "inner", me = "mathord", Ri = "op-token", pn = "open", aC = "punct", K = "rel", qo = "spacing", tA = "textord";
|
|
51308
|
+
m(w, _, K, "≡", "\\equiv", !0);
|
|
51309
|
+
m(w, _, K, "≺", "\\prec", !0);
|
|
51310
|
+
m(w, _, K, "≻", "\\succ", !0);
|
|
51311
|
+
m(w, _, K, "∼", "\\sim", !0);
|
|
51312
|
+
m(w, _, K, "⊥", "\\perp");
|
|
51313
|
+
m(w, _, K, "⪯", "\\preceq", !0);
|
|
51314
|
+
m(w, _, K, "⪰", "\\succeq", !0);
|
|
51315
|
+
m(w, _, K, "≃", "\\simeq", !0);
|
|
51316
|
+
m(w, _, K, "∣", "\\mid", !0);
|
|
51317
|
+
m(w, _, K, "≪", "\\ll", !0);
|
|
51318
|
+
m(w, _, K, "≫", "\\gg", !0);
|
|
51319
|
+
m(w, _, K, "≍", "\\asymp", !0);
|
|
51320
|
+
m(w, _, K, "∥", "\\parallel");
|
|
51321
|
+
m(w, _, K, "⋈", "\\bowtie", !0);
|
|
51322
|
+
m(w, _, K, "⌣", "\\smile", !0);
|
|
51323
|
+
m(w, _, K, "⊑", "\\sqsubseteq", !0);
|
|
51324
|
+
m(w, _, K, "⊒", "\\sqsupseteq", !0);
|
|
51325
|
+
m(w, _, K, "≐", "\\doteq", !0);
|
|
51326
|
+
m(w, _, K, "⌢", "\\frown", !0);
|
|
51327
|
+
m(w, _, K, "∋", "\\ni", !0);
|
|
51328
|
+
m(w, _, K, "∝", "\\propto", !0);
|
|
51329
|
+
m(w, _, K, "⊢", "\\vdash", !0);
|
|
51330
|
+
m(w, _, K, "⊣", "\\dashv", !0);
|
|
51331
|
+
m(w, _, K, "∋", "\\owns");
|
|
51332
51332
|
m(w, _, aC, ".", "\\ldotp");
|
|
51333
51333
|
m(w, _, aC, "⋅", "\\cdotp");
|
|
51334
51334
|
m(w, _, aC, "⋅", "·");
|
|
@@ -51379,88 +51379,88 @@ m(w, _, jA, "‡", "\\ddagger");
|
|
|
51379
51379
|
m(w, _, jA, "≀", "\\wr", !0);
|
|
51380
51380
|
m(w, _, jA, "⨿", "\\amalg");
|
|
51381
51381
|
m(w, _, jA, "&", "\\And");
|
|
51382
|
-
m(w, _,
|
|
51383
|
-
m(w, _,
|
|
51384
|
-
m(w, _,
|
|
51385
|
-
m(w, _,
|
|
51386
|
-
m(w, _,
|
|
51387
|
-
m(w, _,
|
|
51388
|
-
m(w, _,
|
|
51389
|
-
m(w, _,
|
|
51390
|
-
m(w, _,
|
|
51391
|
-
m(w, _,
|
|
51392
|
-
m(w, _,
|
|
51393
|
-
m(w, _,
|
|
51394
|
-
m(w, _,
|
|
51395
|
-
m(w, _,
|
|
51396
|
-
m(w, _,
|
|
51397
|
-
m(w, _,
|
|
51398
|
-
m(w, _,
|
|
51399
|
-
m(w, _,
|
|
51400
|
-
m(w, _,
|
|
51401
|
-
m(w, _,
|
|
51402
|
-
m(w, _,
|
|
51403
|
-
m(w, _,
|
|
51404
|
-
m(w, _,
|
|
51405
|
-
m(w, P,
|
|
51406
|
-
m(w, P,
|
|
51407
|
-
m(w, P,
|
|
51408
|
-
m(w, P,
|
|
51409
|
-
m(w, P,
|
|
51410
|
-
m(w, P,
|
|
51411
|
-
m(w, P,
|
|
51412
|
-
m(w, P,
|
|
51413
|
-
m(w, P,
|
|
51414
|
-
m(w, P,
|
|
51415
|
-
m(w, P,
|
|
51416
|
-
m(w, P,
|
|
51417
|
-
m(w, P,
|
|
51418
|
-
m(w, P,
|
|
51419
|
-
m(w, P,
|
|
51420
|
-
m(w, P,
|
|
51421
|
-
m(w, P,
|
|
51422
|
-
m(w, P,
|
|
51423
|
-
m(w, P,
|
|
51424
|
-
m(w, P,
|
|
51425
|
-
m(w, P,
|
|
51426
|
-
m(w, P,
|
|
51427
|
-
m(w, P,
|
|
51428
|
-
m(w, P,
|
|
51429
|
-
m(w, P,
|
|
51430
|
-
m(w, P,
|
|
51431
|
-
m(w, P,
|
|
51432
|
-
m(w, P,
|
|
51433
|
-
m(w, P,
|
|
51434
|
-
m(w, P,
|
|
51435
|
-
m(w, P,
|
|
51436
|
-
m(w, P,
|
|
51437
|
-
m(w, P,
|
|
51438
|
-
m(w, P,
|
|
51439
|
-
m(w, P,
|
|
51440
|
-
m(w, P,
|
|
51441
|
-
m(w, P,
|
|
51442
|
-
m(w, P,
|
|
51443
|
-
m(w, P,
|
|
51444
|
-
m(w, P,
|
|
51445
|
-
m(w, P,
|
|
51446
|
-
m(w, P,
|
|
51447
|
-
m(w, P,
|
|
51448
|
-
m(w, P,
|
|
51449
|
-
m(w, P,
|
|
51450
|
-
m(w, P,
|
|
51451
|
-
m(w, P,
|
|
51452
|
-
m(w, P,
|
|
51453
|
-
m(w, P,
|
|
51454
|
-
m(w, P,
|
|
51382
|
+
m(w, _, K, "⟵", "\\longleftarrow", !0);
|
|
51383
|
+
m(w, _, K, "⇐", "\\Leftarrow", !0);
|
|
51384
|
+
m(w, _, K, "⟸", "\\Longleftarrow", !0);
|
|
51385
|
+
m(w, _, K, "⟶", "\\longrightarrow", !0);
|
|
51386
|
+
m(w, _, K, "⇒", "\\Rightarrow", !0);
|
|
51387
|
+
m(w, _, K, "⟹", "\\Longrightarrow", !0);
|
|
51388
|
+
m(w, _, K, "↔", "\\leftrightarrow", !0);
|
|
51389
|
+
m(w, _, K, "⟷", "\\longleftrightarrow", !0);
|
|
51390
|
+
m(w, _, K, "⇔", "\\Leftrightarrow", !0);
|
|
51391
|
+
m(w, _, K, "⟺", "\\Longleftrightarrow", !0);
|
|
51392
|
+
m(w, _, K, "↦", "\\mapsto", !0);
|
|
51393
|
+
m(w, _, K, "⟼", "\\longmapsto", !0);
|
|
51394
|
+
m(w, _, K, "↗", "\\nearrow", !0);
|
|
51395
|
+
m(w, _, K, "↩", "\\hookleftarrow", !0);
|
|
51396
|
+
m(w, _, K, "↪", "\\hookrightarrow", !0);
|
|
51397
|
+
m(w, _, K, "↘", "\\searrow", !0);
|
|
51398
|
+
m(w, _, K, "↼", "\\leftharpoonup", !0);
|
|
51399
|
+
m(w, _, K, "⇀", "\\rightharpoonup", !0);
|
|
51400
|
+
m(w, _, K, "↙", "\\swarrow", !0);
|
|
51401
|
+
m(w, _, K, "↽", "\\leftharpoondown", !0);
|
|
51402
|
+
m(w, _, K, "⇁", "\\rightharpoondown", !0);
|
|
51403
|
+
m(w, _, K, "↖", "\\nwarrow", !0);
|
|
51404
|
+
m(w, _, K, "⇌", "\\rightleftharpoons", !0);
|
|
51405
|
+
m(w, P, K, "≮", "\\nless", !0);
|
|
51406
|
+
m(w, P, K, "", "\\@nleqslant");
|
|
51407
|
+
m(w, P, K, "", "\\@nleqq");
|
|
51408
|
+
m(w, P, K, "⪇", "\\lneq", !0);
|
|
51409
|
+
m(w, P, K, "≨", "\\lneqq", !0);
|
|
51410
|
+
m(w, P, K, "", "\\@lvertneqq");
|
|
51411
|
+
m(w, P, K, "⋦", "\\lnsim", !0);
|
|
51412
|
+
m(w, P, K, "⪉", "\\lnapprox", !0);
|
|
51413
|
+
m(w, P, K, "⊀", "\\nprec", !0);
|
|
51414
|
+
m(w, P, K, "⋠", "\\npreceq", !0);
|
|
51415
|
+
m(w, P, K, "⋨", "\\precnsim", !0);
|
|
51416
|
+
m(w, P, K, "⪹", "\\precnapprox", !0);
|
|
51417
|
+
m(w, P, K, "≁", "\\nsim", !0);
|
|
51418
|
+
m(w, P, K, "", "\\@nshortmid");
|
|
51419
|
+
m(w, P, K, "∤", "\\nmid", !0);
|
|
51420
|
+
m(w, P, K, "⊬", "\\nvdash", !0);
|
|
51421
|
+
m(w, P, K, "⊭", "\\nvDash", !0);
|
|
51422
|
+
m(w, P, K, "⋪", "\\ntriangleleft");
|
|
51423
|
+
m(w, P, K, "⋬", "\\ntrianglelefteq", !0);
|
|
51424
|
+
m(w, P, K, "⊊", "\\subsetneq", !0);
|
|
51425
|
+
m(w, P, K, "", "\\@varsubsetneq");
|
|
51426
|
+
m(w, P, K, "⫋", "\\subsetneqq", !0);
|
|
51427
|
+
m(w, P, K, "", "\\@varsubsetneqq");
|
|
51428
|
+
m(w, P, K, "≯", "\\ngtr", !0);
|
|
51429
|
+
m(w, P, K, "", "\\@ngeqslant");
|
|
51430
|
+
m(w, P, K, "", "\\@ngeqq");
|
|
51431
|
+
m(w, P, K, "⪈", "\\gneq", !0);
|
|
51432
|
+
m(w, P, K, "≩", "\\gneqq", !0);
|
|
51433
|
+
m(w, P, K, "", "\\@gvertneqq");
|
|
51434
|
+
m(w, P, K, "⋧", "\\gnsim", !0);
|
|
51435
|
+
m(w, P, K, "⪊", "\\gnapprox", !0);
|
|
51436
|
+
m(w, P, K, "⊁", "\\nsucc", !0);
|
|
51437
|
+
m(w, P, K, "⋡", "\\nsucceq", !0);
|
|
51438
|
+
m(w, P, K, "⋩", "\\succnsim", !0);
|
|
51439
|
+
m(w, P, K, "⪺", "\\succnapprox", !0);
|
|
51440
|
+
m(w, P, K, "≆", "\\ncong", !0);
|
|
51441
|
+
m(w, P, K, "", "\\@nshortparallel");
|
|
51442
|
+
m(w, P, K, "∦", "\\nparallel", !0);
|
|
51443
|
+
m(w, P, K, "⊯", "\\nVDash", !0);
|
|
51444
|
+
m(w, P, K, "⋫", "\\ntriangleright");
|
|
51445
|
+
m(w, P, K, "⋭", "\\ntrianglerighteq", !0);
|
|
51446
|
+
m(w, P, K, "", "\\@nsupseteqq");
|
|
51447
|
+
m(w, P, K, "⊋", "\\supsetneq", !0);
|
|
51448
|
+
m(w, P, K, "", "\\@varsupsetneq");
|
|
51449
|
+
m(w, P, K, "⫌", "\\supsetneqq", !0);
|
|
51450
|
+
m(w, P, K, "", "\\@varsupsetneqq");
|
|
51451
|
+
m(w, P, K, "⊮", "\\nVdash", !0);
|
|
51452
|
+
m(w, P, K, "⪵", "\\precneqq", !0);
|
|
51453
|
+
m(w, P, K, "⪶", "\\succneqq", !0);
|
|
51454
|
+
m(w, P, K, "", "\\@nsubseteqq");
|
|
51455
51455
|
m(w, P, jA, "⊴", "\\unlhd");
|
|
51456
51456
|
m(w, P, jA, "⊵", "\\unrhd");
|
|
51457
|
-
m(w, P,
|
|
51458
|
-
m(w, P,
|
|
51459
|
-
m(w, P,
|
|
51460
|
-
m(w, P,
|
|
51461
|
-
m(w, P,
|
|
51462
|
-
m(w, P,
|
|
51463
|
-
m(w, P,
|
|
51457
|
+
m(w, P, K, "↚", "\\nleftarrow", !0);
|
|
51458
|
+
m(w, P, K, "↛", "\\nrightarrow", !0);
|
|
51459
|
+
m(w, P, K, "⇍", "\\nLeftarrow", !0);
|
|
51460
|
+
m(w, P, K, "⇏", "\\nRightarrow", !0);
|
|
51461
|
+
m(w, P, K, "↮", "\\nleftrightarrow", !0);
|
|
51462
|
+
m(w, P, K, "⇎", "\\nLeftrightarrow", !0);
|
|
51463
|
+
m(w, P, K, "△", "\\vartriangle");
|
|
51464
51464
|
m(w, P, tA, "ℏ", "\\hslash");
|
|
51465
51465
|
m(w, P, tA, "▽", "\\triangledown");
|
|
51466
51466
|
m(w, P, tA, "◊", "\\lozenge");
|
|
@@ -51500,79 +51500,79 @@ m(w, P, pn, "┌", "\\@ulcorner", !0);
|
|
|
51500
51500
|
m(w, P, Or, "┐", "\\@urcorner", !0);
|
|
51501
51501
|
m(w, P, pn, "└", "\\@llcorner", !0);
|
|
51502
51502
|
m(w, P, Or, "┘", "\\@lrcorner", !0);
|
|
51503
|
-
m(w, P,
|
|
51504
|
-
m(w, P,
|
|
51505
|
-
m(w, P,
|
|
51506
|
-
m(w, P,
|
|
51507
|
-
m(w, P,
|
|
51508
|
-
m(w, P,
|
|
51503
|
+
m(w, P, K, "≦", "\\leqq", !0);
|
|
51504
|
+
m(w, P, K, "⩽", "\\leqslant", !0);
|
|
51505
|
+
m(w, P, K, "⪕", "\\eqslantless", !0);
|
|
51506
|
+
m(w, P, K, "≲", "\\lesssim", !0);
|
|
51507
|
+
m(w, P, K, "⪅", "\\lessapprox", !0);
|
|
51508
|
+
m(w, P, K, "≊", "\\approxeq", !0);
|
|
51509
51509
|
m(w, P, jA, "⋖", "\\lessdot");
|
|
51510
|
-
m(w, P,
|
|
51511
|
-
m(w, P,
|
|
51512
|
-
m(w, P,
|
|
51513
|
-
m(w, P,
|
|
51514
|
-
m(w, P,
|
|
51515
|
-
m(w, P,
|
|
51516
|
-
m(w, P,
|
|
51517
|
-
m(w, P,
|
|
51518
|
-
m(w, P,
|
|
51519
|
-
m(w, P,
|
|
51520
|
-
m(w, P,
|
|
51521
|
-
m(w, P,
|
|
51522
|
-
m(w, P,
|
|
51523
|
-
m(w, P,
|
|
51524
|
-
m(w, P,
|
|
51525
|
-
m(w, P,
|
|
51526
|
-
m(w, P,
|
|
51527
|
-
m(w, P,
|
|
51528
|
-
m(w, P,
|
|
51529
|
-
m(w, P,
|
|
51530
|
-
m(w, P,
|
|
51531
|
-
m(w, P,
|
|
51532
|
-
m(w, P,
|
|
51533
|
-
m(w, P,
|
|
51534
|
-
m(w, P,
|
|
51535
|
-
m(w, P,
|
|
51536
|
-
m(w, P,
|
|
51537
|
-
m(w, P,
|
|
51538
|
-
m(w, P,
|
|
51510
|
+
m(w, P, K, "⋘", "\\lll", !0);
|
|
51511
|
+
m(w, P, K, "≶", "\\lessgtr", !0);
|
|
51512
|
+
m(w, P, K, "⋚", "\\lesseqgtr", !0);
|
|
51513
|
+
m(w, P, K, "⪋", "\\lesseqqgtr", !0);
|
|
51514
|
+
m(w, P, K, "≑", "\\doteqdot");
|
|
51515
|
+
m(w, P, K, "≓", "\\risingdotseq", !0);
|
|
51516
|
+
m(w, P, K, "≒", "\\fallingdotseq", !0);
|
|
51517
|
+
m(w, P, K, "∽", "\\backsim", !0);
|
|
51518
|
+
m(w, P, K, "⋍", "\\backsimeq", !0);
|
|
51519
|
+
m(w, P, K, "⫅", "\\subseteqq", !0);
|
|
51520
|
+
m(w, P, K, "⋐", "\\Subset", !0);
|
|
51521
|
+
m(w, P, K, "⊏", "\\sqsubset", !0);
|
|
51522
|
+
m(w, P, K, "≼", "\\preccurlyeq", !0);
|
|
51523
|
+
m(w, P, K, "⋞", "\\curlyeqprec", !0);
|
|
51524
|
+
m(w, P, K, "≾", "\\precsim", !0);
|
|
51525
|
+
m(w, P, K, "⪷", "\\precapprox", !0);
|
|
51526
|
+
m(w, P, K, "⊲", "\\vartriangleleft");
|
|
51527
|
+
m(w, P, K, "⊴", "\\trianglelefteq");
|
|
51528
|
+
m(w, P, K, "⊨", "\\vDash", !0);
|
|
51529
|
+
m(w, P, K, "⊪", "\\Vvdash", !0);
|
|
51530
|
+
m(w, P, K, "⌣", "\\smallsmile");
|
|
51531
|
+
m(w, P, K, "⌢", "\\smallfrown");
|
|
51532
|
+
m(w, P, K, "≏", "\\bumpeq", !0);
|
|
51533
|
+
m(w, P, K, "≎", "\\Bumpeq", !0);
|
|
51534
|
+
m(w, P, K, "≧", "\\geqq", !0);
|
|
51535
|
+
m(w, P, K, "⩾", "\\geqslant", !0);
|
|
51536
|
+
m(w, P, K, "⪖", "\\eqslantgtr", !0);
|
|
51537
|
+
m(w, P, K, "≳", "\\gtrsim", !0);
|
|
51538
|
+
m(w, P, K, "⪆", "\\gtrapprox", !0);
|
|
51539
51539
|
m(w, P, jA, "⋗", "\\gtrdot");
|
|
51540
|
-
m(w, P,
|
|
51541
|
-
m(w, P,
|
|
51542
|
-
m(w, P,
|
|
51543
|
-
m(w, P,
|
|
51544
|
-
m(w, P,
|
|
51545
|
-
m(w, P,
|
|
51546
|
-
m(w, P,
|
|
51547
|
-
m(w, P,
|
|
51548
|
-
m(w, P,
|
|
51549
|
-
m(w, P,
|
|
51550
|
-
m(w, P,
|
|
51551
|
-
m(w, P,
|
|
51552
|
-
m(w, P,
|
|
51553
|
-
m(w, P,
|
|
51554
|
-
m(w, P,
|
|
51555
|
-
m(w, P,
|
|
51556
|
-
m(w, P,
|
|
51557
|
-
m(w, P,
|
|
51558
|
-
m(w, P,
|
|
51559
|
-
m(w, P,
|
|
51560
|
-
m(w, P,
|
|
51561
|
-
m(w, P,
|
|
51562
|
-
m(w, P,
|
|
51563
|
-
m(w, P,
|
|
51564
|
-
m(w, P,
|
|
51565
|
-
m(w, P,
|
|
51566
|
-
m(w, P,
|
|
51567
|
-
m(w, P,
|
|
51568
|
-
m(w, P,
|
|
51569
|
-
m(w, P,
|
|
51570
|
-
m(w, P,
|
|
51540
|
+
m(w, P, K, "⋙", "\\ggg", !0);
|
|
51541
|
+
m(w, P, K, "≷", "\\gtrless", !0);
|
|
51542
|
+
m(w, P, K, "⋛", "\\gtreqless", !0);
|
|
51543
|
+
m(w, P, K, "⪌", "\\gtreqqless", !0);
|
|
51544
|
+
m(w, P, K, "≖", "\\eqcirc", !0);
|
|
51545
|
+
m(w, P, K, "≗", "\\circeq", !0);
|
|
51546
|
+
m(w, P, K, "≜", "\\triangleq", !0);
|
|
51547
|
+
m(w, P, K, "∼", "\\thicksim");
|
|
51548
|
+
m(w, P, K, "≈", "\\thickapprox");
|
|
51549
|
+
m(w, P, K, "⫆", "\\supseteqq", !0);
|
|
51550
|
+
m(w, P, K, "⋑", "\\Supset", !0);
|
|
51551
|
+
m(w, P, K, "⊐", "\\sqsupset", !0);
|
|
51552
|
+
m(w, P, K, "≽", "\\succcurlyeq", !0);
|
|
51553
|
+
m(w, P, K, "⋟", "\\curlyeqsucc", !0);
|
|
51554
|
+
m(w, P, K, "≿", "\\succsim", !0);
|
|
51555
|
+
m(w, P, K, "⪸", "\\succapprox", !0);
|
|
51556
|
+
m(w, P, K, "⊳", "\\vartriangleright");
|
|
51557
|
+
m(w, P, K, "⊵", "\\trianglerighteq");
|
|
51558
|
+
m(w, P, K, "⊩", "\\Vdash", !0);
|
|
51559
|
+
m(w, P, K, "∣", "\\shortmid");
|
|
51560
|
+
m(w, P, K, "∥", "\\shortparallel");
|
|
51561
|
+
m(w, P, K, "≬", "\\between", !0);
|
|
51562
|
+
m(w, P, K, "⋔", "\\pitchfork", !0);
|
|
51563
|
+
m(w, P, K, "∝", "\\varpropto");
|
|
51564
|
+
m(w, P, K, "◀", "\\blacktriangleleft");
|
|
51565
|
+
m(w, P, K, "∴", "\\therefore", !0);
|
|
51566
|
+
m(w, P, K, "∍", "\\backepsilon");
|
|
51567
|
+
m(w, P, K, "▶", "\\blacktriangleright");
|
|
51568
|
+
m(w, P, K, "∵", "\\because", !0);
|
|
51569
|
+
m(w, P, K, "⋘", "\\llless");
|
|
51570
|
+
m(w, P, K, "⋙", "\\gggtr");
|
|
51571
51571
|
m(w, P, jA, "⊲", "\\lhd");
|
|
51572
51572
|
m(w, P, jA, "⊳", "\\rhd");
|
|
51573
|
-
m(w, P,
|
|
51574
|
-
m(w, _,
|
|
51575
|
-
m(w, P,
|
|
51573
|
+
m(w, P, K, "≂", "\\eqsim", !0);
|
|
51574
|
+
m(w, _, K, "⋈", "\\Join");
|
|
51575
|
+
m(w, P, K, "≑", "\\Doteq", !0);
|
|
51576
51576
|
m(w, P, jA, "∔", "\\dotplus", !0);
|
|
51577
51577
|
m(w, P, jA, "∖", "\\smallsetminus");
|
|
51578
51578
|
m(w, P, jA, "⋒", "\\Cap", !0);
|
|
@@ -51594,40 +51594,40 @@ m(w, P, jA, "⊺", "\\intercal", !0);
|
|
|
51594
51594
|
m(w, P, jA, "⋒", "\\doublecap");
|
|
51595
51595
|
m(w, P, jA, "⋓", "\\doublecup");
|
|
51596
51596
|
m(w, P, jA, "⊠", "\\boxtimes", !0);
|
|
51597
|
-
m(w, P,
|
|
51598
|
-
m(w, P,
|
|
51599
|
-
m(w, P,
|
|
51600
|
-
m(w, P,
|
|
51601
|
-
m(w, P,
|
|
51602
|
-
m(w, P,
|
|
51603
|
-
m(w, P,
|
|
51604
|
-
m(w, P,
|
|
51605
|
-
m(w, P,
|
|
51606
|
-
m(w, P,
|
|
51607
|
-
m(w, P,
|
|
51608
|
-
m(w, P,
|
|
51609
|
-
m(w, P,
|
|
51610
|
-
m(w, P,
|
|
51611
|
-
m(w, P,
|
|
51612
|
-
m(w, _,
|
|
51613
|
-
m(w, _,
|
|
51614
|
-
m(w, P,
|
|
51615
|
-
m(w, P,
|
|
51616
|
-
m(w, P,
|
|
51617
|
-
m(w, P,
|
|
51618
|
-
m(w, P,
|
|
51619
|
-
m(w, P,
|
|
51620
|
-
m(w, P,
|
|
51621
|
-
m(w, P,
|
|
51622
|
-
m(w, P,
|
|
51623
|
-
m(w, P,
|
|
51624
|
-
m(w, P,
|
|
51625
|
-
m(w, P,
|
|
51626
|
-
m(w, P,
|
|
51627
|
-
m(w, P,
|
|
51628
|
-
m(w, P,
|
|
51629
|
-
m(w, P,
|
|
51630
|
-
m(w, P,
|
|
51597
|
+
m(w, P, K, "⇢", "\\dashrightarrow", !0);
|
|
51598
|
+
m(w, P, K, "⇠", "\\dashleftarrow", !0);
|
|
51599
|
+
m(w, P, K, "⇇", "\\leftleftarrows", !0);
|
|
51600
|
+
m(w, P, K, "⇆", "\\leftrightarrows", !0);
|
|
51601
|
+
m(w, P, K, "⇚", "\\Lleftarrow", !0);
|
|
51602
|
+
m(w, P, K, "↞", "\\twoheadleftarrow", !0);
|
|
51603
|
+
m(w, P, K, "↢", "\\leftarrowtail", !0);
|
|
51604
|
+
m(w, P, K, "↫", "\\looparrowleft", !0);
|
|
51605
|
+
m(w, P, K, "⇋", "\\leftrightharpoons", !0);
|
|
51606
|
+
m(w, P, K, "↶", "\\curvearrowleft", !0);
|
|
51607
|
+
m(w, P, K, "↺", "\\circlearrowleft", !0);
|
|
51608
|
+
m(w, P, K, "↰", "\\Lsh", !0);
|
|
51609
|
+
m(w, P, K, "⇈", "\\upuparrows", !0);
|
|
51610
|
+
m(w, P, K, "↿", "\\upharpoonleft", !0);
|
|
51611
|
+
m(w, P, K, "⇃", "\\downharpoonleft", !0);
|
|
51612
|
+
m(w, _, K, "⊶", "\\origof", !0);
|
|
51613
|
+
m(w, _, K, "⊷", "\\imageof", !0);
|
|
51614
|
+
m(w, P, K, "⊸", "\\multimap", !0);
|
|
51615
|
+
m(w, P, K, "↭", "\\leftrightsquigarrow", !0);
|
|
51616
|
+
m(w, P, K, "⇉", "\\rightrightarrows", !0);
|
|
51617
|
+
m(w, P, K, "⇄", "\\rightleftarrows", !0);
|
|
51618
|
+
m(w, P, K, "↠", "\\twoheadrightarrow", !0);
|
|
51619
|
+
m(w, P, K, "↣", "\\rightarrowtail", !0);
|
|
51620
|
+
m(w, P, K, "↬", "\\looparrowright", !0);
|
|
51621
|
+
m(w, P, K, "↷", "\\curvearrowright", !0);
|
|
51622
|
+
m(w, P, K, "↻", "\\circlearrowright", !0);
|
|
51623
|
+
m(w, P, K, "↱", "\\Rsh", !0);
|
|
51624
|
+
m(w, P, K, "⇊", "\\downdownarrows", !0);
|
|
51625
|
+
m(w, P, K, "↾", "\\upharpoonright", !0);
|
|
51626
|
+
m(w, P, K, "⇂", "\\downharpoonright", !0);
|
|
51627
|
+
m(w, P, K, "⇝", "\\rightsquigarrow", !0);
|
|
51628
|
+
m(w, P, K, "⇝", "\\leadsto");
|
|
51629
|
+
m(w, P, K, "⇛", "\\Rrightarrow", !0);
|
|
51630
|
+
m(w, P, K, "↾", "\\restriction");
|
|
51631
51631
|
m(w, _, tA, "‘", "`");
|
|
51632
51632
|
m(w, _, tA, "$", "\\$");
|
|
51633
51633
|
m(mA, _, tA, "$", "\\$");
|
|
@@ -51725,31 +51725,31 @@ m(w, _, Or, "!", "!");
|
|
|
51725
51725
|
m(w, _, Or, "⟩", "\\rangle", !0);
|
|
51726
51726
|
m(w, _, Or, "∣", "\\rvert");
|
|
51727
51727
|
m(w, _, Or, "∥", "\\rVert");
|
|
51728
|
-
m(w, _,
|
|
51729
|
-
m(w, _,
|
|
51730
|
-
m(w, _,
|
|
51731
|
-
m(w, _,
|
|
51732
|
-
m(w, _,
|
|
51733
|
-
m(w, _,
|
|
51734
|
-
m(w, _,
|
|
51735
|
-
m(w, _,
|
|
51736
|
-
m(w, _,
|
|
51737
|
-
m(w, _,
|
|
51738
|
-
m(w, _,
|
|
51739
|
-
m(w, _,
|
|
51740
|
-
m(w, _,
|
|
51741
|
-
m(w, _,
|
|
51742
|
-
m(w, P,
|
|
51743
|
-
m(w, P,
|
|
51744
|
-
m(w, _,
|
|
51745
|
-
m(w, _,
|
|
51746
|
-
m(w, _,
|
|
51747
|
-
m(w, _,
|
|
51748
|
-
m(w, _,
|
|
51749
|
-
m(w, _,
|
|
51750
|
-
m(w, _,
|
|
51751
|
-
m(w, P,
|
|
51752
|
-
m(w, P,
|
|
51728
|
+
m(w, _, K, "=", "=");
|
|
51729
|
+
m(w, _, K, ":", ":");
|
|
51730
|
+
m(w, _, K, "≈", "\\approx", !0);
|
|
51731
|
+
m(w, _, K, "≅", "\\cong", !0);
|
|
51732
|
+
m(w, _, K, "≥", "\\ge");
|
|
51733
|
+
m(w, _, K, "≥", "\\geq", !0);
|
|
51734
|
+
m(w, _, K, "←", "\\gets");
|
|
51735
|
+
m(w, _, K, ">", "\\gt", !0);
|
|
51736
|
+
m(w, _, K, "∈", "\\in", !0);
|
|
51737
|
+
m(w, _, K, "", "\\@not");
|
|
51738
|
+
m(w, _, K, "⊂", "\\subset", !0);
|
|
51739
|
+
m(w, _, K, "⊃", "\\supset", !0);
|
|
51740
|
+
m(w, _, K, "⊆", "\\subseteq", !0);
|
|
51741
|
+
m(w, _, K, "⊇", "\\supseteq", !0);
|
|
51742
|
+
m(w, P, K, "⊈", "\\nsubseteq", !0);
|
|
51743
|
+
m(w, P, K, "⊉", "\\nsupseteq", !0);
|
|
51744
|
+
m(w, _, K, "⊨", "\\models");
|
|
51745
|
+
m(w, _, K, "←", "\\leftarrow", !0);
|
|
51746
|
+
m(w, _, K, "≤", "\\le");
|
|
51747
|
+
m(w, _, K, "≤", "\\leq", !0);
|
|
51748
|
+
m(w, _, K, "<", "\\lt", !0);
|
|
51749
|
+
m(w, _, K, "→", "\\rightarrow", !0);
|
|
51750
|
+
m(w, _, K, "→", "\\to");
|
|
51751
|
+
m(w, P, K, "≱", "\\ngeq", !0);
|
|
51752
|
+
m(w, P, K, "≰", "\\nleq", !0);
|
|
51753
51753
|
m(w, _, qo, " ", "\\ ");
|
|
51754
51754
|
m(w, _, qo, " ", "\\space");
|
|
51755
51755
|
m(w, _, qo, " ", "\\nobreakspace");
|
|
@@ -51807,12 +51807,12 @@ m(mA, _, tA, "∥", "\\textbardbl");
|
|
|
51807
51807
|
m(mA, _, tA, "~", "\\textasciitilde");
|
|
51808
51808
|
m(mA, _, tA, "\\", "\\textbackslash");
|
|
51809
51809
|
m(mA, _, tA, "^", "\\textasciicircum");
|
|
51810
|
-
m(w, _,
|
|
51811
|
-
m(w, _,
|
|
51812
|
-
m(w, _,
|
|
51813
|
-
m(w, _,
|
|
51814
|
-
m(w, _,
|
|
51815
|
-
m(w, _,
|
|
51810
|
+
m(w, _, K, "↑", "\\uparrow", !0);
|
|
51811
|
+
m(w, _, K, "⇑", "\\Uparrow", !0);
|
|
51812
|
+
m(w, _, K, "↓", "\\downarrow", !0);
|
|
51813
|
+
m(w, _, K, "⇓", "\\Downarrow", !0);
|
|
51814
|
+
m(w, _, K, "↕", "\\updownarrow", !0);
|
|
51815
|
+
m(w, _, K, "⇕", "\\Updownarrow", !0);
|
|
51816
51816
|
m(w, _, Ri, "∐", "\\coprod");
|
|
51817
51817
|
m(w, _, Ri, "⋁", "\\bigvee");
|
|
51818
51818
|
m(w, _, Ri, "⋀", "\\bigwedge");
|
|
@@ -52033,7 +52033,7 @@ var RI = [
|
|
|
52033
52033
|
return [RI[0][2], RI[0][n]];
|
|
52034
52034
|
if (120486 < r && r < 120782)
|
|
52035
52035
|
return ["", ""];
|
|
52036
|
-
throw new
|
|
52036
|
+
throw new NA("Unsupported character: " + e);
|
|
52037
52037
|
}
|
|
52038
52038
|
}, WB = function(A, t, i) {
|
|
52039
52039
|
if (Vt[i][A]) {
|
|
@@ -52535,7 +52535,7 @@ var Kd = function(A) {
|
|
|
52535
52535
|
}
|
|
52536
52536
|
return r;
|
|
52537
52537
|
} else
|
|
52538
|
-
throw new
|
|
52538
|
+
throw new NA("Got group of unknown type: '" + A.type + "'");
|
|
52539
52539
|
};
|
|
52540
52540
|
function GI(e, A) {
|
|
52541
52541
|
var t = wA(["base"], e, A), i = wA(["strut"]);
|
|
@@ -52565,7 +52565,7 @@ function j1(e, A) {
|
|
|
52565
52565
|
function sM(e) {
|
|
52566
52566
|
return new pu(e);
|
|
52567
52567
|
}
|
|
52568
|
-
class
|
|
52568
|
+
class FA {
|
|
52569
52569
|
constructor(A, t, i) {
|
|
52570
52570
|
this.type = A, this.attributes = {}, this.children = t || [], this.classes = i || [];
|
|
52571
52571
|
}
|
|
@@ -52675,7 +52675,7 @@ class lM {
|
|
|
52675
52675
|
var gfA = /* @__PURE__ */ new Set(["\\imath", "\\jmath"]), cfA = /* @__PURE__ */ new Set(["mrow", "mtable"]), jn = function(A, t, i) {
|
|
52676
52676
|
return Vt[t][A] && Vt[t][A].replace && A.charCodeAt(0) !== 55349 && !(eM.hasOwnProperty(A) && i && (i.fontFamily && i.fontFamily.slice(4, 6) === "tt" || i.font && i.font.slice(4, 6) === "tt")) && (A = Vt[t][A].replace), new Ni(A);
|
|
52677
52677
|
}, my = function(A) {
|
|
52678
|
-
return A.length === 1 ? A[0] : new
|
|
52678
|
+
return A.length === 1 ? A[0] : new FA("mrow", A);
|
|
52679
52679
|
}, yy = function(A, t) {
|
|
52680
52680
|
if (t.fontFamily === "texttt")
|
|
52681
52681
|
return "monospace";
|
|
@@ -52734,11 +52734,11 @@ function mE(e) {
|
|
|
52734
52734
|
var En = function(A, t, i) {
|
|
52735
52735
|
if (A.length === 1) {
|
|
52736
52736
|
var r = Gt(A[0], t);
|
|
52737
|
-
return i && r instanceof
|
|
52737
|
+
return i && r instanceof FA && r.type === "mo" && (r.setAttribute("lspace", "0em"), r.setAttribute("rspace", "0em")), [r];
|
|
52738
52738
|
}
|
|
52739
52739
|
for (var n = [], a, o = 0; o < A.length; o++) {
|
|
52740
52740
|
var s = Gt(A[o], t);
|
|
52741
|
-
if (s instanceof
|
|
52741
|
+
if (s instanceof FA && a instanceof FA) {
|
|
52742
52742
|
if (s.type === "mtext" && a.type === "mtext" && s.getAttribute("mathvariant") === a.getAttribute("mathvariant")) {
|
|
52743
52743
|
a.children.push(...s.children);
|
|
52744
52744
|
continue;
|
|
@@ -52752,7 +52752,7 @@ var En = function(A, t, i) {
|
|
|
52752
52752
|
s.children = [...a.children, ...s.children], n.pop();
|
|
52753
52753
|
else if ((s.type === "msup" || s.type === "msub") && s.children.length >= 1 && (a.type === "mn" || mE(a))) {
|
|
52754
52754
|
var l = s.children[0];
|
|
52755
|
-
l instanceof
|
|
52755
|
+
l instanceof FA && l.type === "mn" && (l.children = [...a.children, ...l.children], n.pop());
|
|
52756
52756
|
} else if (a.type === "mi" && a.children.length === 1) {
|
|
52757
52757
|
var g = a.children[0];
|
|
52758
52758
|
if (g instanceof Ni && g.text === "̸" && (s.type === "mo" || s.type === "mi" || s.type === "mn")) {
|
|
@@ -52768,19 +52768,19 @@ var En = function(A, t, i) {
|
|
|
52768
52768
|
return my(En(A, t, i));
|
|
52769
52769
|
}, Gt = function(A, t) {
|
|
52770
52770
|
if (!A)
|
|
52771
|
-
return new
|
|
52771
|
+
return new FA("mrow");
|
|
52772
52772
|
if (Pd[A.type]) {
|
|
52773
52773
|
var i = Pd[A.type](A, t);
|
|
52774
52774
|
return i;
|
|
52775
52775
|
} else
|
|
52776
|
-
throw new
|
|
52776
|
+
throw new NA("Got group of unknown type: '" + A.type + "'");
|
|
52777
52777
|
};
|
|
52778
52778
|
function wk(e, A, t, i, r) {
|
|
52779
52779
|
var n = En(e, t), a;
|
|
52780
|
-
n.length === 1 && n[0] instanceof
|
|
52781
|
-
var o = new
|
|
52780
|
+
n.length === 1 && n[0] instanceof FA && cfA.has(n[0].type) ? a = n[0] : a = new FA("mrow", n);
|
|
52781
|
+
var o = new FA("annotation", [new Ni(A)]);
|
|
52782
52782
|
o.setAttribute("encoding", "application/x-tex");
|
|
52783
|
-
var s = new
|
|
52783
|
+
var s = new FA("semantics", [a, o]), l = new FA("math", [s]);
|
|
52784
52784
|
l.setAttribute("xmlns", "http://www.w3.org/1998/Math/MathML"), i && l.setAttribute("display", "block");
|
|
52785
52785
|
var g = r ? "katex" : "katex-mathml";
|
|
52786
52786
|
return wA([g], [l]);
|
|
@@ -53070,7 +53070,7 @@ var gM = function(A) {
|
|
|
53070
53070
|
"\\cdleftarrow": "←",
|
|
53071
53071
|
"\\cdlongequal": "="
|
|
53072
53072
|
}, XB = function(A) {
|
|
53073
|
-
var t = new
|
|
53073
|
+
var t = new FA("mo", [new Ni(IfA[A.replace(/^\\/, "")])]);
|
|
53074
53074
|
return t.setAttribute("stretchy", "true"), t;
|
|
53075
53075
|
}, ffA = {
|
|
53076
53076
|
// path(s), minWidth, height, align
|
|
@@ -53283,7 +53283,7 @@ var uM = (e) => {
|
|
|
53283
53283
|
var d = wA(["mord", "accent"], [h], A);
|
|
53284
53284
|
return r ? (r.children[0] = d, r.height = Math.max(d.height, r.height), r.classes[0] = "mord", r) : d;
|
|
53285
53285
|
}, hM = (e, A) => {
|
|
53286
|
-
var t = e.isStretchy ? XB(e.label) : new
|
|
53286
|
+
var t = e.isStretchy ? XB(e.label) : new FA("mo", [jn(e.label, e.mode)]), i = new FA("mover", [Gt(e.base, A), t]);
|
|
53287
53287
|
return i.setAttribute("accent", "true"), i;
|
|
53288
53288
|
}, QfA = new RegExp(["\\acute", "\\grave", "\\ddot", "\\tilde", "\\bar", "\\breve", "\\check", "\\hat", "\\vec", "\\dot", "\\mathring"].map((e) => "\\" + e).join("|"));
|
|
53289
53289
|
PA({
|
|
@@ -53367,12 +53367,12 @@ PA({
|
|
|
53367
53367
|
return wA(["mord", "accentunder"], [n], A);
|
|
53368
53368
|
},
|
|
53369
53369
|
mathmlBuilder: (e, A) => {
|
|
53370
|
-
var t = XB(e.label), i = new
|
|
53370
|
+
var t = XB(e.label), i = new FA("munder", [Gt(e.base, A), t]);
|
|
53371
53371
|
return i.setAttribute("accentunder", "true"), i;
|
|
53372
53372
|
}
|
|
53373
53373
|
});
|
|
53374
53374
|
var TI = (e) => {
|
|
53375
|
-
var A = new
|
|
53375
|
+
var A = new FA("mpadded", e ? [e] : []);
|
|
53376
53376
|
return A.setAttribute("width", "+0.6em"), A.setAttribute("lspace", "0.3em"), A;
|
|
53377
53377
|
};
|
|
53378
53378
|
PA({
|
|
@@ -53473,14 +53473,14 @@ PA({
|
|
|
53473
53473
|
var r = TI(Gt(e.body, A));
|
|
53474
53474
|
if (e.below) {
|
|
53475
53475
|
var n = TI(Gt(e.below, A));
|
|
53476
|
-
i = new
|
|
53476
|
+
i = new FA("munderover", [t, n, r]);
|
|
53477
53477
|
} else
|
|
53478
|
-
i = new
|
|
53478
|
+
i = new FA("mover", [t, r]);
|
|
53479
53479
|
} else if (e.below) {
|
|
53480
53480
|
var a = TI(Gt(e.below, A));
|
|
53481
|
-
i = new
|
|
53481
|
+
i = new FA("munder", [t, a]);
|
|
53482
53482
|
} else
|
|
53483
|
-
i = TI(), i = new
|
|
53483
|
+
i = TI(), i = new FA("mover", [t, i]);
|
|
53484
53484
|
return i;
|
|
53485
53485
|
}
|
|
53486
53486
|
});
|
|
@@ -53490,7 +53490,7 @@ function CM(e, A) {
|
|
|
53490
53490
|
}
|
|
53491
53491
|
function IM(e, A) {
|
|
53492
53492
|
var t, i = En(e.body, A);
|
|
53493
|
-
return e.mclass === "minner" ? t = new
|
|
53493
|
+
return e.mclass === "minner" ? t = new FA("mpadded", i) : e.mclass === "mord" ? e.isCharacterBox ? (t = i[0], t.type = "mi") : t = new FA("mi", i) : (e.isCharacterBox ? (t = i[0], t.type = "mo") : t = new FA("mo", i), e.mclass === "mbin" ? (t.attributes.lspace = "0.22em", t.attributes.rspace = "0.22em") : e.mclass === "mpunct" ? (t.attributes.lspace = "0em", t.attributes.rspace = "0.17em") : e.mclass === "mopen" || e.mclass === "mclose" ? (t.attributes.lspace = "0em", t.attributes.rspace = "0em") : e.mclass === "minner" && (t.attributes.lspace = "0.0556em", t.attributes.width = "+0.1111em")), t;
|
|
53494
53494
|
}
|
|
53495
53495
|
PA({
|
|
53496
53496
|
type: "mclass",
|
|
@@ -53601,7 +53601,7 @@ PA({
|
|
|
53601
53601
|
return i.style.textShadow = "0.02em 0.01em 0.04px", i;
|
|
53602
53602
|
},
|
|
53603
53603
|
mathmlBuilder(e, A) {
|
|
53604
|
-
var t = En(e.body, A), i = new
|
|
53604
|
+
var t = En(e.body, A), i = new FA("mstyle", t);
|
|
53605
53605
|
return i.setAttribute("style", "text-shadow: 0.02em 0.01em 0.04px"), i;
|
|
53606
53606
|
}
|
|
53607
53607
|
});
|
|
@@ -53668,7 +53668,7 @@ function mfA(e) {
|
|
|
53668
53668
|
A[A.length - 1].length === 0 && A.pop();
|
|
53669
53669
|
break;
|
|
53670
53670
|
} else
|
|
53671
|
-
throw new
|
|
53671
|
+
throw new NA("Expected \\\\ or \\cr or \\end", e.nextToken);
|
|
53672
53672
|
}
|
|
53673
53673
|
for (var i = [], r = [i], n = 0; n < A.length; n++) {
|
|
53674
53674
|
for (var a = A[n], o = kk(), s = 0; s < a.length; s++)
|
|
@@ -53693,14 +53693,14 @@ function mfA(e) {
|
|
|
53693
53693
|
break;
|
|
53694
53694
|
}
|
|
53695
53695
|
if (Sk(a[u]))
|
|
53696
|
-
throw new
|
|
53696
|
+
throw new NA("Missing a " + l + " character to complete a CD arrow.", a[u]);
|
|
53697
53697
|
g[c].body.push(a[u]);
|
|
53698
53698
|
}
|
|
53699
53699
|
if (h)
|
|
53700
|
-
throw new
|
|
53700
|
+
throw new NA("Missing a " + l + " character to complete a CD arrow.", a[s]);
|
|
53701
53701
|
}
|
|
53702
53702
|
else
|
|
53703
|
-
throw new
|
|
53703
|
+
throw new NA('Expected one of "<>AV=|." after @', a[s]);
|
|
53704
53704
|
var C = vfA(l, g, e), I = {
|
|
53705
53705
|
type: "styling",
|
|
53706
53706
|
body: [C],
|
|
@@ -53756,8 +53756,8 @@ PA({
|
|
|
53756
53756
|
return i.classes.push("cd-label-" + e.side), i.style.bottom = RA(0.8 - i.depth), i.height = 0, i.depth = 0, i;
|
|
53757
53757
|
},
|
|
53758
53758
|
mathmlBuilder(e, A) {
|
|
53759
|
-
var t = new
|
|
53760
|
-
return t = new
|
|
53759
|
+
var t = new FA("mrow", [Gt(e.label, A)]);
|
|
53760
|
+
return t = new FA("mpadded", [t]), t.setAttribute("width", "0"), e.side === "left" && t.setAttribute("lspace", "-1width"), t.setAttribute("voffset", "0.7em"), t = new FA("mstyle", [t]), t.setAttribute("displaystyle", "false"), t.setAttribute("scriptlevel", "1"), t;
|
|
53761
53761
|
}
|
|
53762
53762
|
});
|
|
53763
53763
|
PA({
|
|
@@ -53781,7 +53781,7 @@ PA({
|
|
|
53781
53781
|
return t.classes.push("cd-vert-arrow"), t;
|
|
53782
53782
|
},
|
|
53783
53783
|
mathmlBuilder(e, A) {
|
|
53784
|
-
return new
|
|
53784
|
+
return new FA("mrow", [Gt(e.fragment, A)]);
|
|
53785
53785
|
}
|
|
53786
53786
|
});
|
|
53787
53787
|
PA({
|
|
@@ -53800,9 +53800,9 @@ PA({
|
|
|
53800
53800
|
}
|
|
53801
53801
|
var s = parseInt(n), l;
|
|
53802
53802
|
if (isNaN(s))
|
|
53803
|
-
throw new
|
|
53803
|
+
throw new NA("\\@char has non-numeric argument " + n);
|
|
53804
53804
|
if (s < 0 || s >= 1114111)
|
|
53805
|
-
throw new
|
|
53805
|
+
throw new NA("\\@char with invalid code point " + n);
|
|
53806
53806
|
return s <= 65535 ? l = String.fromCharCode(s) : (s -= 65536, l = String.fromCharCode((s >> 10) + 55296, (s & 1023) + 56320)), {
|
|
53807
53807
|
type: "textord",
|
|
53808
53808
|
mode: t.mode,
|
|
@@ -53814,7 +53814,7 @@ var fM = (e, A) => {
|
|
|
53814
53814
|
var t = Oi(e.body, A.withColor(e.color), !1);
|
|
53815
53815
|
return Po(t);
|
|
53816
53816
|
}, dM = (e, A) => {
|
|
53817
|
-
var t = En(e.body, A.withColor(e.color)), i = new
|
|
53817
|
+
var t = En(e.body, A.withColor(e.color)), i = new FA("mstyle", t);
|
|
53818
53818
|
return i.setAttribute("mathcolor", e.color), i;
|
|
53819
53819
|
};
|
|
53820
53820
|
PA({
|
|
@@ -53890,7 +53890,7 @@ PA({
|
|
|
53890
53890
|
return e.newLine && (t.classes.push("newline"), e.size && (t.style.marginTop = RA(ai(e.size, A)))), t;
|
|
53891
53891
|
},
|
|
53892
53892
|
mathmlBuilder(e, A) {
|
|
53893
|
-
var t = new
|
|
53893
|
+
var t = new FA("mspace");
|
|
53894
53894
|
return e.newLine && (t.setAttribute("linebreak", "newline"), e.size && t.setAttribute("height", RA(ai(e.size, A)))), t;
|
|
53895
53895
|
}
|
|
53896
53896
|
});
|
|
@@ -53907,7 +53907,7 @@ var $1 = {
|
|
|
53907
53907
|
}, BM = (e) => {
|
|
53908
53908
|
var A = e.text;
|
|
53909
53909
|
if (/^(?:[\\{}$&#^_]|EOF)$/.test(A))
|
|
53910
|
-
throw new
|
|
53910
|
+
throw new NA("Expected a control sequence", e);
|
|
53911
53911
|
return A;
|
|
53912
53912
|
}, yfA = (e) => {
|
|
53913
53913
|
var A = e.gullet.popToken();
|
|
@@ -53942,7 +53942,7 @@ PA({
|
|
|
53942
53942
|
var i = A.fetch();
|
|
53943
53943
|
if ($1[i.text])
|
|
53944
53944
|
return (t === "\\global" || t === "\\\\globallong") && (i.text = $1[i.text]), Ze(A.parseFunction(), "internal");
|
|
53945
|
-
throw new
|
|
53945
|
+
throw new NA("Invalid token after macro prefix", i);
|
|
53946
53946
|
}
|
|
53947
53947
|
});
|
|
53948
53948
|
PA({
|
|
@@ -53959,7 +53959,7 @@ PA({
|
|
|
53959
53959
|
funcName: t
|
|
53960
53960
|
} = e, i = A.gullet.popToken(), r = i.text;
|
|
53961
53961
|
if (/^(?:[\\{}$&#^_]|EOF)$/.test(r))
|
|
53962
|
-
throw new
|
|
53962
|
+
throw new NA("Expected a control sequence", i);
|
|
53963
53963
|
for (var n = 0, a, o = [[]]; A.gullet.future().text !== "{"; )
|
|
53964
53964
|
if (i = A.gullet.popToken(), i.text === "#") {
|
|
53965
53965
|
if (A.gullet.future().text === "{") {
|
|
@@ -53967,13 +53967,13 @@ PA({
|
|
|
53967
53967
|
break;
|
|
53968
53968
|
}
|
|
53969
53969
|
if (i = A.gullet.popToken(), !/^[1-9]$/.test(i.text))
|
|
53970
|
-
throw new
|
|
53970
|
+
throw new NA('Invalid argument number "' + i.text + '"');
|
|
53971
53971
|
if (parseInt(i.text) !== n + 1)
|
|
53972
|
-
throw new
|
|
53972
|
+
throw new NA('Argument number "' + i.text + '" out of order');
|
|
53973
53973
|
n++, o.push([]);
|
|
53974
53974
|
} else {
|
|
53975
53975
|
if (i.text === "EOF")
|
|
53976
|
-
throw new
|
|
53976
|
+
throw new NA("Expected a macro definition");
|
|
53977
53977
|
o[n].push(i.text);
|
|
53978
53978
|
}
|
|
53979
53979
|
var {
|
|
@@ -54094,12 +54094,12 @@ var x0 = function(A, t, i) {
|
|
|
54094
54094
|
i && (k *= r.sizeMultiplier);
|
|
54095
54095
|
var S = b / 2 - k, x = [];
|
|
54096
54096
|
if (c.length > 0) {
|
|
54097
|
-
var F = b - I - Q, L = Math.round(b * 1e3), O = JIA(c, Math.round(F * 1e3)), z = new Ys(c, O),
|
|
54098
|
-
width:
|
|
54097
|
+
var F = b - I - Q, L = Math.round(b * 1e3), O = JIA(c, Math.round(F * 1e3)), z = new Ys(c, O), V = RA(h / 1e3), q = RA(L / 1e3), rA = new Yo([z], {
|
|
54098
|
+
width: V,
|
|
54099
54099
|
height: q,
|
|
54100
54100
|
viewBox: "0 0 " + h + " " + L
|
|
54101
54101
|
}), nA = Us([], [rA], r);
|
|
54102
|
-
nA.height = L / 1e3, nA.style.width =
|
|
54102
|
+
nA.height = L / 1e3, nA.style.width = V, nA.style.height = q, x.push({
|
|
54103
54103
|
type: "elem",
|
|
54104
54104
|
elem: nA
|
|
54105
54105
|
});
|
|
@@ -54113,12 +54113,12 @@ var x0 = function(A, t, i) {
|
|
|
54113
54113
|
}
|
|
54114
54114
|
x.push(YI), x.push(yE(o, u, n));
|
|
54115
54115
|
}
|
|
54116
|
-
var
|
|
54116
|
+
var W = r.havingBaseStyle(Ge.TEXT), X = Qt({
|
|
54117
54117
|
positionType: "bottom",
|
|
54118
54118
|
positionData: S,
|
|
54119
54119
|
children: x
|
|
54120
54120
|
});
|
|
54121
|
-
return Dy(wA(["delimsizing", "mult"], [X],
|
|
54121
|
+
return Dy(wA(["delimsizing", "mult"], [X], W), Ge.TEXT, r, a);
|
|
54122
54122
|
}, DE = 80, bE = 0.08, kE = function(A, t, i, r, n) {
|
|
54123
54123
|
var a = YIA(A, r, i), o = new Ys(A, a), s = new Yo([o], {
|
|
54124
54124
|
// Note: 1000:1 ratio of viewBox to document em width.
|
|
@@ -54144,7 +54144,7 @@ var x0 = function(A, t, i) {
|
|
|
54144
54144
|
return EM(A, t, !1, i, r, n);
|
|
54145
54145
|
if (_fA.has(A))
|
|
54146
54146
|
return vM(A, eh[t], !1, i, r, n);
|
|
54147
|
-
throw new
|
|
54147
|
+
throw new NA("Illegal delimiter: '" + A + "'");
|
|
54148
54148
|
}, xfA = [{
|
|
54149
54149
|
type: "small",
|
|
54150
54150
|
style: Ge.SCRIPTSCRIPT
|
|
@@ -54314,7 +54314,7 @@ function tQ(e, A) {
|
|
|
54314
54314
|
var t = AQ(e);
|
|
54315
54315
|
if (t && MfA.has(t.text))
|
|
54316
54316
|
return t;
|
|
54317
|
-
throw t ? new
|
|
54317
|
+
throw t ? new NA("Invalid delimiter '" + t.text + "' after '" + A.funcName + "'", e) : new NA("Invalid delimiter type '" + e.type + "'", e);
|
|
54318
54318
|
}
|
|
54319
54319
|
PA({
|
|
54320
54320
|
type: "delimsizing",
|
|
@@ -54337,7 +54337,7 @@ PA({
|
|
|
54337
54337
|
mathmlBuilder: (e) => {
|
|
54338
54338
|
var A = [];
|
|
54339
54339
|
e.delim !== "." && A.push(jn(e.delim, e.mode));
|
|
54340
|
-
var t = new
|
|
54340
|
+
var t = new FA("mo", A);
|
|
54341
54341
|
e.mclass === "mopen" || e.mclass === "mclose" ? t.setAttribute("fence", "true") : t.setAttribute("fence", "false"), t.setAttribute("stretchy", "true");
|
|
54342
54342
|
var i = RA(eh[e.size]);
|
|
54343
54343
|
return t.setAttribute("minsize", i), t.setAttribute("maxsize", i), t;
|
|
@@ -54357,7 +54357,7 @@ PA({
|
|
|
54357
54357
|
handler: (e, A) => {
|
|
54358
54358
|
var t = e.parser.gullet.macros.get("\\current@color");
|
|
54359
54359
|
if (t && typeof t != "string")
|
|
54360
|
-
throw new
|
|
54360
|
+
throw new NA("\\current@color set to non-string in \\right");
|
|
54361
54361
|
return {
|
|
54362
54362
|
type: "leftright-right",
|
|
54363
54363
|
mode: e.parser.mode,
|
|
@@ -54413,11 +54413,11 @@ PA({
|
|
|
54413
54413
|
xk(e);
|
|
54414
54414
|
var t = En(e.body, A);
|
|
54415
54415
|
if (e.left !== ".") {
|
|
54416
|
-
var i = new
|
|
54416
|
+
var i = new FA("mo", [jn(e.left, e.mode)]);
|
|
54417
54417
|
i.setAttribute("fence", "true"), t.unshift(i);
|
|
54418
54418
|
}
|
|
54419
54419
|
if (e.right !== ".") {
|
|
54420
|
-
var r = new
|
|
54420
|
+
var r = new FA("mo", [jn(e.right, e.mode)]);
|
|
54421
54421
|
r.setAttribute("fence", "true"), e.rightColor && r.setAttribute("mathcolor", e.rightColor), t.push(r);
|
|
54422
54422
|
}
|
|
54423
54423
|
return my(t);
|
|
@@ -54433,7 +54433,7 @@ PA({
|
|
|
54433
54433
|
handler: (e, A) => {
|
|
54434
54434
|
var t = tQ(A[0], e);
|
|
54435
54435
|
if (!e.parser.leftrightDepth)
|
|
54436
|
-
throw new
|
|
54436
|
+
throw new NA("\\middle without preceding \\left", t);
|
|
54437
54437
|
return {
|
|
54438
54438
|
type: "middle",
|
|
54439
54439
|
mode: e.parser.mode,
|
|
@@ -54455,7 +54455,7 @@ PA({
|
|
|
54455
54455
|
return t;
|
|
54456
54456
|
},
|
|
54457
54457
|
mathmlBuilder: (e, A) => {
|
|
54458
|
-
var t = e.delim === "\\vert" || e.delim === "|" ? jn("|", "text") : jn(e.delim, e.mode), i = new
|
|
54458
|
+
var t = e.delim === "\\vert" || e.delim === "|" ? jn("|", "text") : jn(e.delim, e.mode), i = new FA("mo", [t]);
|
|
54459
54459
|
return i.setAttribute("fence", "true"), i.setAttribute("lspace", "0.05em"), i.setAttribute("rspace", "0.05em"), i;
|
|
54460
54460
|
}
|
|
54461
54461
|
});
|
|
@@ -54530,7 +54530,7 @@ var iQ = (e, A) => {
|
|
|
54530
54530
|
}
|
|
54531
54531
|
return /cancel/.test(i) && (B.height = t.height, B.depth = t.depth), /cancel/.test(i) && !o ? wA(["mord", "cancel-lap"], [B], A) : wA(["mord"], [B], A);
|
|
54532
54532
|
}, rQ = (e, A) => {
|
|
54533
|
-
var t = 0, i = new
|
|
54533
|
+
var t = 0, i = new FA(e.label.includes("colorbox") ? "mpadded" : "menclose", [Gt(e.body, A)]);
|
|
54534
54534
|
switch (e.label) {
|
|
54535
54535
|
case "\\cancel":
|
|
54536
54536
|
i.setAttribute("notation", "updiagonalstrike");
|
|
@@ -54769,7 +54769,7 @@ function Nk(e) {
|
|
|
54769
54769
|
var nQ = (e) => {
|
|
54770
54770
|
var A = e.parser.settings;
|
|
54771
54771
|
if (!A.displayMode)
|
|
54772
|
-
throw new
|
|
54772
|
+
throw new NA("{" + e.envName + "} can be used only in display mode.");
|
|
54773
54773
|
}, RfA = /* @__PURE__ */ new Set(["gather", "gather*"]);
|
|
54774
54774
|
function by(e) {
|
|
54775
54775
|
if (!e.includes("ed"))
|
|
@@ -54793,7 +54793,7 @@ function Ps(e, A, t) {
|
|
|
54793
54793
|
if (u == null)
|
|
54794
54794
|
a = 1;
|
|
54795
54795
|
else if (a = parseFloat(u), !a || a < 0)
|
|
54796
|
-
throw new
|
|
54796
|
+
throw new NA("Invalid \\arraystretch: " + u);
|
|
54797
54797
|
}
|
|
54798
54798
|
e.gullet.beginGroup();
|
|
54799
54799
|
var C = [], I = [C], f = [], d = [], B = s != null ? [] : void 0;
|
|
@@ -54821,7 +54821,7 @@ function Ps(e, A, t) {
|
|
|
54821
54821
|
if (y === "&") {
|
|
54822
54822
|
if (c && C.length === c) {
|
|
54823
54823
|
if (l || o)
|
|
54824
|
-
throw new
|
|
54824
|
+
throw new NA("Too many tab characters: &", e.nextToken);
|
|
54825
54825
|
e.settings.reportNonstrict("textEnv", "Too few columns specified in the {array} column argument.");
|
|
54826
54826
|
}
|
|
54827
54827
|
e.consume();
|
|
@@ -54833,7 +54833,7 @@ function Ps(e, A, t) {
|
|
|
54833
54833
|
var D = void 0;
|
|
54834
54834
|
e.gullet.future().text !== " " && (D = e.parseSizeGroup(!0)), f.push(D ? D.value : null), p(), d.push(Nk(e)), C = [], I.push(C), Q();
|
|
54835
54835
|
} else
|
|
54836
|
-
throw new
|
|
54836
|
+
throw new NA("Expected & or \\\\ or \\cr or \\end", e.nextToken);
|
|
54837
54837
|
}
|
|
54838
54838
|
return e.gullet.endGroup(), e.gullet.endGroup(), {
|
|
54839
54839
|
type: "array",
|
|
@@ -54885,11 +54885,11 @@ var Ao = function(A, t) {
|
|
|
54885
54885
|
var k = A.rowGaps[i], S = 0;
|
|
54886
54886
|
k && (S = ai(k, t), S > 0 && (S += B, y < S && (y = S), S = 0)), A.addJot && i < A.body.length - 1 && (y += I), D.height = v, D.depth = y, Q += v, D.pos = Q, Q += y + S, s[i] = D, p(a[i + 1]);
|
|
54887
54887
|
}
|
|
54888
|
-
var x = Q / 2 + t.fontMetrics().axisHeight, F = A.cols || [], L = [], O, z,
|
|
54888
|
+
var x = Q / 2 + t.fontMetrics().axisHeight, F = A.cols || [], L = [], O, z, V = [];
|
|
54889
54889
|
if (A.tags && A.tags.some((Ei) => Ei))
|
|
54890
54890
|
for (i = 0; i < n; ++i) {
|
|
54891
54891
|
var q = s[i], rA = q.pos - x, nA = A.tags[i], U = void 0;
|
|
54892
|
-
nA === !0 ? U = wA(["eqn-num"], [], t) : nA === !1 ? U = wA([], [], t) : U = wA([], Oi(nA, t, !0), t), U.depth = q.depth, U.height = q.height,
|
|
54892
|
+
nA === !0 ? U = wA(["eqn-num"], [], t) : nA === !1 ? U = wA([], [], t) : U = wA([], Oi(nA, t, !0), t), U.depth = q.depth, U.height = q.height, V.push({
|
|
54893
54893
|
type: "elem",
|
|
54894
54894
|
elem: U,
|
|
54895
54895
|
shift: rA
|
|
@@ -54902,22 +54902,22 @@ var Ao = function(A, t) {
|
|
|
54902
54902
|
r < o || z < F.length;
|
|
54903
54903
|
++r, ++z
|
|
54904
54904
|
) {
|
|
54905
|
-
for (var iA,
|
|
54905
|
+
for (var iA, W = F[z], X = !0; ((oA = W) == null ? void 0 : oA.type) === "separator"; ) {
|
|
54906
54906
|
var oA;
|
|
54907
|
-
if (X || (O = wA(["arraycolsep"], []), O.style.width = RA(t.fontMetrics().doubleRuleSep), L.push(O)),
|
|
54908
|
-
var CA =
|
|
54909
|
-
|
|
54907
|
+
if (X || (O = wA(["arraycolsep"], []), O.style.width = RA(t.fontMetrics().doubleRuleSep), L.push(O)), W.separator === "|" || W.separator === ":") {
|
|
54908
|
+
var CA = W.separator === "|" ? "solid" : "dashed", _A = wA(["vertical-separator"], [], t);
|
|
54909
|
+
_A.style.height = RA(Q), _A.style.borderRightWidth = RA(g), _A.style.borderRightStyle = CA, _A.style.margin = "0 " + RA(-g / 2);
|
|
54910
54910
|
var UA = Q - x;
|
|
54911
|
-
UA && (
|
|
54911
|
+
UA && (_A.style.verticalAlign = RA(-UA)), L.push(_A);
|
|
54912
54912
|
} else
|
|
54913
|
-
throw new
|
|
54914
|
-
z++,
|
|
54913
|
+
throw new NA("Invalid separator type: " + W.separator);
|
|
54914
|
+
z++, W = F[z], X = !1;
|
|
54915
54915
|
}
|
|
54916
54916
|
if (!(r >= o)) {
|
|
54917
54917
|
var Ae = void 0;
|
|
54918
54918
|
if (r > 0 || A.hskipBeforeAndAfter) {
|
|
54919
54919
|
var OA, ie;
|
|
54920
|
-
Ae = (OA = (ie =
|
|
54920
|
+
Ae = (OA = (ie = W) == null ? void 0 : ie.pregap) != null ? OA : h, Ae !== 0 && (O = wA(["arraycolsep"], []), O.style.width = RA(Ae), L.push(O));
|
|
54921
54921
|
}
|
|
54922
54922
|
var ZA = [];
|
|
54923
54923
|
for (i = 0; i < n; ++i) {
|
|
@@ -54934,10 +54934,10 @@ var Ao = function(A, t) {
|
|
|
54934
54934
|
var MA = Qt({
|
|
54935
54935
|
positionType: "individualShift",
|
|
54936
54936
|
children: ZA
|
|
54937
|
-
}), ae = wA(["col-align-" + (((iA =
|
|
54937
|
+
}), ae = wA(["col-align-" + (((iA = W) == null ? void 0 : iA.align) || "c")], [MA]);
|
|
54938
54938
|
if (L.push(ae), r < o - 1 || A.hskipBeforeAndAfter) {
|
|
54939
54939
|
var $A, IA;
|
|
54940
|
-
Ae = ($A = (IA =
|
|
54940
|
+
Ae = ($A = (IA = W) == null ? void 0 : IA.postgap) != null ? $A : h, Ae !== 0 && (O = wA(["arraycolsep"], []), O.style.width = RA(Ae), L.push(O));
|
|
54941
54941
|
}
|
|
54942
54942
|
}
|
|
54943
54943
|
}
|
|
@@ -54964,11 +54964,11 @@ var Ao = function(A, t) {
|
|
|
54964
54964
|
children: ft
|
|
54965
54965
|
});
|
|
54966
54966
|
}
|
|
54967
|
-
if (
|
|
54967
|
+
if (V.length === 0)
|
|
54968
54968
|
return wA(["mord"], [JA], t);
|
|
54969
54969
|
var $t = Qt({
|
|
54970
54970
|
positionType: "individualShift",
|
|
54971
|
-
children:
|
|
54971
|
+
children: V
|
|
54972
54972
|
}), Xe = wA(["tag"], [$t], t);
|
|
54973
54973
|
return Po([JA, Xe]);
|
|
54974
54974
|
}, LfA = {
|
|
@@ -54976,12 +54976,12 @@ var Ao = function(A, t) {
|
|
|
54976
54976
|
l: "left ",
|
|
54977
54977
|
r: "right "
|
|
54978
54978
|
}, eo = function(A, t) {
|
|
54979
|
-
for (var i = [], r = new
|
|
54979
|
+
for (var i = [], r = new FA("mtd", [], ["mtr-glue"]), n = new FA("mtd", [], ["mml-eqn-num"]), a = 0; a < A.body.length; a++) {
|
|
54980
54980
|
for (var o = A.body[a], s = [], l = 0; l < o.length; l++)
|
|
54981
|
-
s.push(new
|
|
54982
|
-
A.tags && A.tags[a] && (s.unshift(r), s.push(r), A.leqno ? s.unshift(n) : s.push(n)), i.push(new
|
|
54981
|
+
s.push(new FA("mtd", [Gt(o[l], t)]));
|
|
54982
|
+
A.tags && A.tags[a] && (s.unshift(r), s.push(r), A.leqno ? s.unshift(n) : s.push(n)), i.push(new FA("mtr", s));
|
|
54983
54983
|
}
|
|
54984
|
-
var g = new
|
|
54984
|
+
var g = new FA("mtable", i), c = A.arraystretch === 0.5 ? 0.1 : 0.16 + A.arraystretch - 1 + (A.addJot ? 0.09 : 0);
|
|
54985
54985
|
g.setAttribute("rowspacing", RA(c));
|
|
54986
54986
|
var h = "", u = "";
|
|
54987
54987
|
if (A.cols && A.cols.length > 0) {
|
|
@@ -55002,7 +55002,7 @@ var Ao = function(A, t) {
|
|
|
55002
55002
|
h += b[0].length > 0 ? "left " : "", h += b[b.length - 1].length > 0 ? "right " : "";
|
|
55003
55003
|
for (var k = 1; k < b.length - 1; k++)
|
|
55004
55004
|
D += b[k].length === 0 ? "none " : b[k][0] ? "dashed " : "solid ";
|
|
55005
|
-
return /[sd]/.test(D) && g.setAttribute("rowlines", D.trim()), h !== "" && (g = new
|
|
55005
|
+
return /[sd]/.test(D) && g.setAttribute("rowlines", D.trim()), h !== "" && (g = new FA("menclose", [g]), g.setAttribute("notation", h.trim())), A.arraystretch && A.arraystretch < 1 && (g = new FA("mstyle", [g]), g.setAttribute("scriptlevel", "1")), g;
|
|
55006
55006
|
}, _M = function(A, t) {
|
|
55007
55007
|
A.envName.includes("ed") || nQ(A);
|
|
55008
55008
|
var i = [], r = A.envName.includes("at") ? "alignat" : "align", n = A.envName === "split", a = Ps(A.parser, {
|
|
@@ -55036,7 +55036,7 @@ var Ao = function(A, t) {
|
|
|
55036
55036
|
else {
|
|
55037
55037
|
var E = d.length / 2;
|
|
55038
55038
|
if (o < E)
|
|
55039
|
-
throw new
|
|
55039
|
+
throw new NA("Too many math in a row: " + ("expected " + o + ", but got " + E), d[0]);
|
|
55040
55040
|
}
|
|
55041
55041
|
});
|
|
55042
55042
|
for (var C = 0; C < s; ++C) {
|
|
@@ -55074,7 +55074,7 @@ $a({
|
|
|
55074
55074
|
type: "separator",
|
|
55075
55075
|
separator: ":"
|
|
55076
55076
|
};
|
|
55077
|
-
throw new
|
|
55077
|
+
throw new NA("Unknown column alignment: " + s, a);
|
|
55078
55078
|
}), n = {
|
|
55079
55079
|
cols: r,
|
|
55080
55080
|
hskipBeforeAndAfter: !0,
|
|
@@ -55111,7 +55111,7 @@ $a({
|
|
|
55111
55111
|
var r = e.parser;
|
|
55112
55112
|
if (r.consumeSpaces(), r.fetch().text === "[") {
|
|
55113
55113
|
if (r.consume(), r.consumeSpaces(), t = r.fetch().text, !"lcr".includes(t))
|
|
55114
|
-
throw new
|
|
55114
|
+
throw new NA("Expected l or c or r", r.nextToken);
|
|
55115
55115
|
r.consume(), r.consumeSpaces(), r.expect("]"), r.consume(), i.cols = [{
|
|
55116
55116
|
type: "align",
|
|
55117
55117
|
align: t
|
|
@@ -55164,17 +55164,17 @@ $a({
|
|
|
55164
55164
|
type: "align",
|
|
55165
55165
|
align: l
|
|
55166
55166
|
};
|
|
55167
|
-
throw new
|
|
55167
|
+
throw new NA("Unknown column alignment: " + l, o);
|
|
55168
55168
|
});
|
|
55169
55169
|
if (r.length > 1)
|
|
55170
|
-
throw new
|
|
55170
|
+
throw new NA("{subarray} can contain only one column");
|
|
55171
55171
|
var n = {
|
|
55172
55172
|
cols: r,
|
|
55173
55173
|
hskipBeforeAndAfter: !1,
|
|
55174
55174
|
arraystretch: 0.5
|
|
55175
55175
|
}, a = Ps(e.parser, n, "script");
|
|
55176
55176
|
if (a.body.length > 0 && a.body[0].length > 1)
|
|
55177
|
-
throw new
|
|
55177
|
+
throw new NA("{subarray} can contain only one column");
|
|
55178
55178
|
return a;
|
|
55179
55179
|
},
|
|
55180
55180
|
htmlBuilder: Ao,
|
|
@@ -55306,7 +55306,7 @@ PA({
|
|
|
55306
55306
|
allowedInMath: !0
|
|
55307
55307
|
},
|
|
55308
55308
|
handler(e, A) {
|
|
55309
|
-
throw new
|
|
55309
|
+
throw new NA(e.funcName + " valid only within array environment");
|
|
55310
55310
|
}
|
|
55311
55311
|
});
|
|
55312
55312
|
var Fk = kM;
|
|
@@ -55323,12 +55323,12 @@ PA({
|
|
|
55323
55323
|
funcName: i
|
|
55324
55324
|
} = e, r = A[0];
|
|
55325
55325
|
if (r.type !== "ordgroup")
|
|
55326
|
-
throw new
|
|
55326
|
+
throw new NA("Invalid environment name", r);
|
|
55327
55327
|
for (var n = "", a = 0; a < r.body.length; ++a)
|
|
55328
55328
|
n += Ze(r.body[a], "textord").text;
|
|
55329
55329
|
if (i === "\\begin") {
|
|
55330
55330
|
if (!Fk.hasOwnProperty(n))
|
|
55331
|
-
throw new
|
|
55331
|
+
throw new NA("No such environment: " + n, r);
|
|
55332
55332
|
var o = Fk[n], {
|
|
55333
55333
|
args: s,
|
|
55334
55334
|
optArgs: l
|
|
@@ -55340,7 +55340,7 @@ PA({
|
|
|
55340
55340
|
t.expect("\\end", !1);
|
|
55341
55341
|
var h = t.nextToken, u = Ze(t.parseFunction(), "environment");
|
|
55342
55342
|
if (u.name !== n)
|
|
55343
|
-
throw new
|
|
55343
|
+
throw new NA("Mismatch: \\begin{" + n + "} matched by \\end{" + u.name + "}", h);
|
|
55344
55344
|
return c;
|
|
55345
55345
|
}
|
|
55346
55346
|
return {
|
|
@@ -55511,7 +55511,7 @@ var GfA = (e, A) => {
|
|
|
55511
55511
|
var E, v;
|
|
55512
55512
|
return e.leftDelim == null ? E = Gh(A, ["mopen"]) : E = em(e.leftDelim, p, !0, A.havingStyle(t), e.mode, ["mopen"]), e.continued ? v = wA([]) : e.rightDelim == null ? v = Gh(A, ["mclose"]) : v = em(e.rightDelim, p, !0, A.havingStyle(t), e.mode, ["mclose"]), wA(["mord"].concat(n.sizingClasses(A)), [E, wA(["mfrac"], [f]), v], A);
|
|
55513
55513
|
}, TfA = (e, A) => {
|
|
55514
|
-
var t = new
|
|
55514
|
+
var t = new FA("mfrac", [Gt(e.numer, A), Gt(e.denom, A)]);
|
|
55515
55515
|
if (!e.hasBarLine)
|
|
55516
55516
|
t.setAttribute("linethickness", "0px");
|
|
55517
55517
|
else if (e.barSize) {
|
|
@@ -55521,11 +55521,11 @@ var GfA = (e, A) => {
|
|
|
55521
55521
|
if (e.leftDelim != null || e.rightDelim != null) {
|
|
55522
55522
|
var r = [];
|
|
55523
55523
|
if (e.leftDelim != null) {
|
|
55524
|
-
var n = new
|
|
55524
|
+
var n = new FA("mo", [new Ni(e.leftDelim.replace("\\", ""))]);
|
|
55525
55525
|
n.setAttribute("fence", "true"), r.push(n);
|
|
55526
55526
|
}
|
|
55527
55527
|
if (r.push(t), e.rightDelim != null) {
|
|
55528
|
-
var a = new
|
|
55528
|
+
var a = new FA("mo", [new Ni(e.rightDelim.replace("\\", ""))]);
|
|
55529
55529
|
a.setAttribute("fence", "true"), r.push(a);
|
|
55530
55530
|
}
|
|
55531
55531
|
return my(r);
|
|
@@ -55797,7 +55797,7 @@ var MM = (e, A) => {
|
|
|
55797
55797
|
return wA(["minner", r.isOver ? "mover" : "munder"], [o], A);
|
|
55798
55798
|
}, YfA = (e, A) => {
|
|
55799
55799
|
var t = XB(e.label);
|
|
55800
|
-
return new
|
|
55800
|
+
return new FA(e.isOver ? "mover" : "munder", [Gt(e.base, A), t]);
|
|
55801
55801
|
};
|
|
55802
55802
|
PA({
|
|
55803
55803
|
type: "horizBrace",
|
|
@@ -55849,7 +55849,7 @@ PA({
|
|
|
55849
55849
|
},
|
|
55850
55850
|
mathmlBuilder: (e, A) => {
|
|
55851
55851
|
var t = Js(e.body, A);
|
|
55852
|
-
return t instanceof
|
|
55852
|
+
return t instanceof FA || (t = new FA("mrow", [t])), t.setAttribute("href", e.href), t;
|
|
55853
55853
|
}
|
|
55854
55854
|
});
|
|
55855
55855
|
PA({
|
|
@@ -55915,7 +55915,7 @@ PA({
|
|
|
55915
55915
|
return Po(t);
|
|
55916
55916
|
},
|
|
55917
55917
|
mathmlBuilder(e, A) {
|
|
55918
|
-
return new
|
|
55918
|
+
return new FA("mrow", En(e.body, A));
|
|
55919
55919
|
}
|
|
55920
55920
|
});
|
|
55921
55921
|
PA({
|
|
@@ -55957,7 +55957,7 @@ PA({
|
|
|
55957
55957
|
for (var l = n.split(","), g = 0; g < l.length; g++) {
|
|
55958
55958
|
var c = l[g], h = c.indexOf("=");
|
|
55959
55959
|
if (h < 0)
|
|
55960
|
-
throw new
|
|
55960
|
+
throw new NA("\\htmlData key/value '" + c + "' missing equals sign");
|
|
55961
55961
|
var u = c.slice(0, h), C = c.slice(h + 1);
|
|
55962
55962
|
s["data-" + u.trim()] = C;
|
|
55963
55963
|
}
|
|
@@ -56020,14 +56020,14 @@ var _E = function(A) {
|
|
|
56020
56020
|
};
|
|
56021
56021
|
var t = /([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(A);
|
|
56022
56022
|
if (!t)
|
|
56023
|
-
throw new
|
|
56023
|
+
throw new NA("Invalid size: '" + A + "' in \\includegraphics");
|
|
56024
56024
|
var i = {
|
|
56025
56025
|
number: +(t[1] + t[2]),
|
|
56026
56026
|
// sign + magnitude, cast to number
|
|
56027
56027
|
unit: t[3]
|
|
56028
56028
|
};
|
|
56029
56029
|
if (!XF(i))
|
|
56030
|
-
throw new
|
|
56030
|
+
throw new NA("Invalid unit: '" + i.unit + "' in \\includegraphics.");
|
|
56031
56031
|
return i;
|
|
56032
56032
|
};
|
|
56033
56033
|
PA({
|
|
@@ -56071,7 +56071,7 @@ PA({
|
|
|
56071
56071
|
a = _E(h);
|
|
56072
56072
|
break;
|
|
56073
56073
|
default:
|
|
56074
|
-
throw new
|
|
56074
|
+
throw new NA("Invalid key: '" + c[0] + "' in \\includegraphics.");
|
|
56075
56075
|
}
|
|
56076
56076
|
}
|
|
56077
56077
|
}
|
|
@@ -56102,7 +56102,7 @@ PA({
|
|
|
56102
56102
|
return a.height = t, a.depth = i, a;
|
|
56103
56103
|
},
|
|
56104
56104
|
mathmlBuilder: (e, A) => {
|
|
56105
|
-
var t = new
|
|
56105
|
+
var t = new FA("mglyph", []);
|
|
56106
56106
|
t.setAttribute("alt", e.alt);
|
|
56107
56107
|
var i = ai(e.height, A), r = 0;
|
|
56108
56108
|
if (e.totalheight.number > 0 && (r = ai(e.totalheight, A) - i, t.setAttribute("valign", RA(-r))), t.setAttribute("height", RA(i + r)), e.width.number > 0) {
|
|
@@ -56170,7 +56170,7 @@ PA({
|
|
|
56170
56170
|
return n.style.height = RA(r.height + r.depth), r.depth && (n.style.verticalAlign = RA(-r.depth)), r.children.unshift(n), r = wA(["thinbox"], [r], A), wA(["mord", "vbox"], [r], A);
|
|
56171
56171
|
},
|
|
56172
56172
|
mathmlBuilder: (e, A) => {
|
|
56173
|
-
var t = new
|
|
56173
|
+
var t = new FA("mpadded", [Gt(e.body, A)]);
|
|
56174
56174
|
if (e.alignment !== "rlap") {
|
|
56175
56175
|
var i = e.alignment === "llap" ? "-1" : "-0.5";
|
|
56176
56176
|
t.setAttribute("lspace", i + "width");
|
|
@@ -56211,7 +56211,7 @@ PA({
|
|
|
56211
56211
|
allowedInMath: !1
|
|
56212
56212
|
},
|
|
56213
56213
|
handler(e, A) {
|
|
56214
|
-
throw new
|
|
56214
|
+
throw new NA("Mismatched " + e.funcName);
|
|
56215
56215
|
}
|
|
56216
56216
|
});
|
|
56217
56217
|
var Gk = (e, A) => {
|
|
@@ -56389,13 +56389,13 @@ var RM = (e, A, t, i, r, n, a) => {
|
|
|
56389
56389
|
}, oC = (e, A) => {
|
|
56390
56390
|
var t;
|
|
56391
56391
|
if (e.symbol)
|
|
56392
|
-
t = new
|
|
56392
|
+
t = new FA("mo", [jn(e.name, e.mode)]), LM.has(e.name) && t.setAttribute("largeop", "false");
|
|
56393
56393
|
else if (e.body)
|
|
56394
|
-
t = new
|
|
56394
|
+
t = new FA("mo", En(e.body, A));
|
|
56395
56395
|
else {
|
|
56396
|
-
t = new
|
|
56397
|
-
var i = new
|
|
56398
|
-
e.parentIsSupSub ? t = new
|
|
56396
|
+
t = new FA("mi", [new Ni(e.name.slice(1))]);
|
|
56397
|
+
var i = new FA("mo", [jn("", "text")]);
|
|
56398
|
+
e.parentIsSupSub ? t = new FA("mrow", [t, i]) : t = sM([t, i]);
|
|
56399
56399
|
}
|
|
56400
56400
|
return t;
|
|
56401
56401
|
}, UfA = {
|
|
@@ -56559,7 +56559,7 @@ var GM = (e, A) => {
|
|
|
56559
56559
|
}, OfA = (e, A) => {
|
|
56560
56560
|
for (var t = En(e.body, A.withFont("mathrm")), i = !0, r = 0; r < t.length; r++) {
|
|
56561
56561
|
var n = t[r];
|
|
56562
|
-
if (!(n instanceof lM)) if (n instanceof
|
|
56562
|
+
if (!(n instanceof lM)) if (n instanceof FA)
|
|
56563
56563
|
switch (n.type) {
|
|
56564
56564
|
case "mi":
|
|
56565
56565
|
case "mn":
|
|
@@ -56581,10 +56581,10 @@ var GM = (e, A) => {
|
|
|
56581
56581
|
var o = t.map((g) => g.toText()).join("");
|
|
56582
56582
|
t = [new Ni(o)];
|
|
56583
56583
|
}
|
|
56584
|
-
var s = new
|
|
56584
|
+
var s = new FA("mi", t);
|
|
56585
56585
|
s.setAttribute("mathvariant", "normal");
|
|
56586
|
-
var l = new
|
|
56587
|
-
return e.parentIsSupSub ? new
|
|
56586
|
+
var l = new FA("mo", [jn("", "text")]);
|
|
56587
|
+
return e.parentIsSupSub ? new FA("mrow", [s, l]) : sM([s, l]);
|
|
56588
56588
|
};
|
|
56589
56589
|
PA({
|
|
56590
56590
|
type: "operatorname",
|
|
@@ -56655,9 +56655,9 @@ PA({
|
|
|
56655
56655
|
return wA(["mord", "overline"], [n], A);
|
|
56656
56656
|
},
|
|
56657
56657
|
mathmlBuilder(e, A) {
|
|
56658
|
-
var t = new
|
|
56658
|
+
var t = new FA("mo", [new Ni("‾")]);
|
|
56659
56659
|
t.setAttribute("stretchy", "true");
|
|
56660
|
-
var i = new
|
|
56660
|
+
var i = new FA("mover", [Gt(e.body, A), t]);
|
|
56661
56661
|
return i.setAttribute("accent", "true"), i;
|
|
56662
56662
|
}
|
|
56663
56663
|
});
|
|
@@ -56684,7 +56684,7 @@ PA({
|
|
|
56684
56684
|
},
|
|
56685
56685
|
mathmlBuilder: (e, A) => {
|
|
56686
56686
|
var t = En(e.body, A);
|
|
56687
|
-
return new
|
|
56687
|
+
return new FA("mphantom", t);
|
|
56688
56688
|
}
|
|
56689
56689
|
});
|
|
56690
56690
|
R("\\hphantom", "\\smash{\\phantom{#1}}");
|
|
@@ -56710,7 +56710,7 @@ PA({
|
|
|
56710
56710
|
return wA(["mord", "rlap"], [t, i], A);
|
|
56711
56711
|
},
|
|
56712
56712
|
mathmlBuilder: (e, A) => {
|
|
56713
|
-
var t = En(xi(e.body), A), i = new
|
|
56713
|
+
var t = En(xi(e.body), A), i = new FA("mphantom", t), r = new FA("mpadded", [i]);
|
|
56714
56714
|
return r.setAttribute("width", "0px"), r;
|
|
56715
56715
|
}
|
|
56716
56716
|
});
|
|
@@ -56745,7 +56745,7 @@ PA({
|
|
|
56745
56745
|
});
|
|
56746
56746
|
},
|
|
56747
56747
|
mathmlBuilder(e, A) {
|
|
56748
|
-
var t = new
|
|
56748
|
+
var t = new FA("mpadded", [Gt(e.body, A)]), i = e.dy.number + e.dy.unit;
|
|
56749
56749
|
return t.setAttribute("voffset", i), t;
|
|
56750
56750
|
}
|
|
56751
56751
|
});
|
|
@@ -56794,9 +56794,9 @@ PA({
|
|
|
56794
56794
|
return t.style.borderRightWidth = RA(i), t.style.borderTopWidth = RA(r), t.style.bottom = RA(n), t.width = i, t.height = r + n, t.depth = -n, t.maxFontSize = r * 1.125 * A.sizeMultiplier, t;
|
|
56795
56795
|
},
|
|
56796
56796
|
mathmlBuilder(e, A) {
|
|
56797
|
-
var t = ai(e.width, A), i = ai(e.height, A), r = e.shift ? ai(e.shift, A) : 0, n = A.color && A.getColor() || "black", a = new
|
|
56797
|
+
var t = ai(e.width, A), i = ai(e.height, A), r = e.shift ? ai(e.shift, A) : 0, n = A.color && A.getColor() || "black", a = new FA("mspace");
|
|
56798
56798
|
a.setAttribute("mathbackground", n), a.setAttribute("width", RA(t)), a.setAttribute("height", RA(i));
|
|
56799
|
-
var o = new
|
|
56799
|
+
var o = new FA("mpadded", [a]);
|
|
56800
56800
|
return r >= 0 ? o.setAttribute("height", RA(r)) : (o.setAttribute("height", RA(r)), o.setAttribute("depth", RA(-r))), o.setAttribute("voffset", RA(r)), o;
|
|
56801
56801
|
}
|
|
56802
56802
|
});
|
|
@@ -56834,7 +56834,7 @@ PA({
|
|
|
56834
56834
|
},
|
|
56835
56835
|
htmlBuilder: HfA,
|
|
56836
56836
|
mathmlBuilder: (e, A) => {
|
|
56837
|
-
var t = A.havingSize(e.size), i = En(e.body, t), r = new
|
|
56837
|
+
var t = A.havingSize(e.size), i = En(e.body, t), r = new FA("mstyle", i);
|
|
56838
56838
|
return r.setAttribute("mathsize", RA(t.sizeMultiplier)), r;
|
|
56839
56839
|
}
|
|
56840
56840
|
});
|
|
@@ -56892,7 +56892,7 @@ PA({
|
|
|
56892
56892
|
return wA(["mord"], [r], A);
|
|
56893
56893
|
},
|
|
56894
56894
|
mathmlBuilder: (e, A) => {
|
|
56895
|
-
var t = new
|
|
56895
|
+
var t = new FA("mpadded", [Gt(e.body, A)]);
|
|
56896
56896
|
return e.smashHeight && t.setAttribute("height", "0px"), e.smashDepth && t.setAttribute("depth", "0px"), t;
|
|
56897
56897
|
}
|
|
56898
56898
|
});
|
|
@@ -56962,7 +56962,7 @@ PA({
|
|
|
56962
56962
|
body: t,
|
|
56963
56963
|
index: i
|
|
56964
56964
|
} = e;
|
|
56965
|
-
return i ? new
|
|
56965
|
+
return i ? new FA("mroot", [Gt(t, A), Gt(i, A)]) : new FA("msqrt", [Gt(t, A)]);
|
|
56966
56966
|
}
|
|
56967
56967
|
});
|
|
56968
56968
|
var Yk = {
|
|
@@ -56999,7 +56999,7 @@ PA({
|
|
|
56999
56999
|
return TM(e.body, i, A);
|
|
57000
57000
|
},
|
|
57001
57001
|
mathmlBuilder(e, A) {
|
|
57002
|
-
var t = Yk[e.style], i = A.havingStyle(t), r = En(e.body, i), n = new
|
|
57002
|
+
var t = Yk[e.style], i = A.havingStyle(t), r = En(e.body, i), n = new FA("mstyle", r), a = {
|
|
57003
57003
|
display: ["0", "true"],
|
|
57004
57004
|
text: ["0", "false"],
|
|
57005
57005
|
script: ["1", "false"],
|
|
@@ -57127,7 +57127,7 @@ Bg({
|
|
|
57127
57127
|
var o = e.base;
|
|
57128
57128
|
o && o.type === "op" && o.limits && (A.style === Ge.DISPLAY || o.alwaysHandleSupSub) || o && o.type === "operatorname" && o.alwaysHandleSupSub && (o.limits || A.style === Ge.DISPLAY) ? a = "mover" : a = "msup";
|
|
57129
57129
|
}
|
|
57130
|
-
return new
|
|
57130
|
+
return new FA(a, n);
|
|
57131
57131
|
}
|
|
57132
57132
|
});
|
|
57133
57133
|
Bg({
|
|
@@ -57136,7 +57136,7 @@ Bg({
|
|
|
57136
57136
|
return Ey(e.text, e.mode, A, ["m" + e.family]);
|
|
57137
57137
|
},
|
|
57138
57138
|
mathmlBuilder(e, A) {
|
|
57139
|
-
var t = new
|
|
57139
|
+
var t = new FA("mo", [jn(e.text, e.mode)]);
|
|
57140
57140
|
if (e.family === "bin") {
|
|
57141
57141
|
var i = yy(e, A);
|
|
57142
57142
|
i === "bold-italic" && t.setAttribute("mathvariant", i);
|
|
@@ -57155,7 +57155,7 @@ Bg({
|
|
|
57155
57155
|
return zB(e, A, "mathord");
|
|
57156
57156
|
},
|
|
57157
57157
|
mathmlBuilder(e, A) {
|
|
57158
|
-
var t = new
|
|
57158
|
+
var t = new FA("mi", [jn(e.text, e.mode, A)]), i = yy(e, A) || "italic";
|
|
57159
57159
|
return i !== YM[t.type] && t.setAttribute("mathvariant", i), t;
|
|
57160
57160
|
}
|
|
57161
57161
|
});
|
|
@@ -57166,7 +57166,7 @@ Bg({
|
|
|
57166
57166
|
},
|
|
57167
57167
|
mathmlBuilder(e, A) {
|
|
57168
57168
|
var t = jn(e.text, e.mode, A), i = yy(e, A) || "normal", r;
|
|
57169
|
-
return e.mode === "text" ? r = new
|
|
57169
|
+
return e.mode === "text" ? r = new FA("mtext", [t]) : /[0-9]/.test(e.text) ? r = new FA("mn", [t]) : e.text === "\\prime" ? r = new FA("mo", [t]) : r = new FA("mi", [t]), i !== YM[r.type] && r.setAttribute("mathvariant", i), r;
|
|
57170
57170
|
}
|
|
57171
57171
|
});
|
|
57172
57172
|
var xE = {
|
|
@@ -57196,29 +57196,29 @@ Bg({
|
|
|
57196
57196
|
} else {
|
|
57197
57197
|
if (xE.hasOwnProperty(e.text))
|
|
57198
57198
|
return wA(["mspace", xE[e.text]], [], A);
|
|
57199
|
-
throw new
|
|
57199
|
+
throw new NA('Unknown type of space "' + e.text + '"');
|
|
57200
57200
|
}
|
|
57201
57201
|
},
|
|
57202
57202
|
mathmlBuilder(e, A) {
|
|
57203
57203
|
var t;
|
|
57204
57204
|
if (NE.hasOwnProperty(e.text))
|
|
57205
|
-
t = new
|
|
57205
|
+
t = new FA("mtext", [new Ni(" ")]);
|
|
57206
57206
|
else {
|
|
57207
57207
|
if (xE.hasOwnProperty(e.text))
|
|
57208
|
-
return new
|
|
57209
|
-
throw new
|
|
57208
|
+
return new FA("mspace");
|
|
57209
|
+
throw new NA('Unknown type of space "' + e.text + '"');
|
|
57210
57210
|
}
|
|
57211
57211
|
return t;
|
|
57212
57212
|
}
|
|
57213
57213
|
});
|
|
57214
57214
|
var Uk = () => {
|
|
57215
|
-
var e = new
|
|
57215
|
+
var e = new FA("mtd", []);
|
|
57216
57216
|
return e.setAttribute("width", "50%"), e;
|
|
57217
57217
|
};
|
|
57218
57218
|
Bg({
|
|
57219
57219
|
type: "tag",
|
|
57220
57220
|
mathmlBuilder(e, A) {
|
|
57221
|
-
var t = new
|
|
57221
|
+
var t = new FA("mtable", [new FA("mtr", [Uk(), new FA("mtd", [Js(e.body, A)]), Uk(), new FA("mtd", [Js(e.tag, A)])])]);
|
|
57222
57222
|
return t.setAttribute("width", "100%"), t;
|
|
57223
57223
|
}
|
|
57224
57224
|
});
|
|
@@ -57328,9 +57328,9 @@ PA({
|
|
|
57328
57328
|
return wA(["mord", "underline"], [n], A);
|
|
57329
57329
|
},
|
|
57330
57330
|
mathmlBuilder(e, A) {
|
|
57331
|
-
var t = new
|
|
57331
|
+
var t = new FA("mo", [new Ni("‾")]);
|
|
57332
57332
|
t.setAttribute("stretchy", "true");
|
|
57333
|
-
var i = new
|
|
57333
|
+
var i = new FA("munder", [Gt(e.body, A), t]);
|
|
57334
57334
|
return i.setAttribute("accentunder", "true"), i;
|
|
57335
57335
|
}
|
|
57336
57336
|
});
|
|
@@ -57365,8 +57365,8 @@ PA({
|
|
|
57365
57365
|
});
|
|
57366
57366
|
},
|
|
57367
57367
|
mathmlBuilder(e, A) {
|
|
57368
|
-
var t = new
|
|
57369
|
-
return new
|
|
57368
|
+
var t = new FA("mpadded", [Gt(e.body, A)], ["vcenter"]);
|
|
57369
|
+
return new FA("mrow", [t]);
|
|
57370
57370
|
}
|
|
57371
57371
|
});
|
|
57372
57372
|
PA({
|
|
@@ -57377,7 +57377,7 @@ PA({
|
|
|
57377
57377
|
allowedInText: !0
|
|
57378
57378
|
},
|
|
57379
57379
|
handler(e, A, t) {
|
|
57380
|
-
throw new
|
|
57380
|
+
throw new NA("\\verb ended by end of line instead of matching delimiter");
|
|
57381
57381
|
},
|
|
57382
57382
|
htmlBuilder(e, A) {
|
|
57383
57383
|
for (var t = Zk(e), i = [], r = A.havingStyle(A.style.text()), n = 0; n < t.length; n++) {
|
|
@@ -57387,7 +57387,7 @@ PA({
|
|
|
57387
57387
|
return wA(["mord", "text"].concat(r.sizingClasses(A)), tM(i), r);
|
|
57388
57388
|
},
|
|
57389
57389
|
mathmlBuilder(e, A) {
|
|
57390
|
-
var t = new Ni(Zk(e)), i = new
|
|
57390
|
+
var t = new Ni(Zk(e)), i = new FA("mtext", [t]);
|
|
57391
57391
|
return i.setAttribute("mathvariant", "monospace"), i;
|
|
57392
57392
|
}
|
|
57393
57393
|
});
|
|
@@ -57426,7 +57426,7 @@ class qk {
|
|
|
57426
57426
|
return new Cn("EOF", new Wr(this, t, t));
|
|
57427
57427
|
var i = this.tokenRegex.exec(A);
|
|
57428
57428
|
if (i === null || i.index !== t)
|
|
57429
|
-
throw new
|
|
57429
|
+
throw new NA("Unexpected character: '" + A[t] + "'", new Cn(A[t], new Wr(this, t, t + 1)));
|
|
57430
57430
|
var r = i[6] || i[3] || (i[2] ? "\\ " : " ");
|
|
57431
57431
|
if (this.catcodes[r] === 14) {
|
|
57432
57432
|
var n = A.indexOf(`
|
|
@@ -57457,7 +57457,7 @@ class jfA {
|
|
|
57457
57457
|
*/
|
|
57458
57458
|
endGroup() {
|
|
57459
57459
|
if (this.undefStack.length === 0)
|
|
57460
|
-
throw new
|
|
57460
|
+
throw new NA("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");
|
|
57461
57461
|
var A = this.undefStack.pop();
|
|
57462
57462
|
for (var t in A)
|
|
57463
57463
|
A.hasOwnProperty(t) && (A[t] == null ? delete this.current[t] : this.current[t] = A[t]);
|
|
@@ -57594,14 +57594,14 @@ R("\\char", function(e) {
|
|
|
57594
57594
|
i = A.text.charCodeAt(1);
|
|
57595
57595
|
else {
|
|
57596
57596
|
if (A.text === "EOF")
|
|
57597
|
-
throw new
|
|
57597
|
+
throw new NA("\\char` missing argument");
|
|
57598
57598
|
i = A.text.charCodeAt(0);
|
|
57599
57599
|
}
|
|
57600
57600
|
else
|
|
57601
57601
|
t = 10;
|
|
57602
57602
|
if (t) {
|
|
57603
57603
|
if (i = Pk[A.text], i == null || i >= t)
|
|
57604
|
-
throw new
|
|
57604
|
+
throw new NA("Invalid base-" + t + " digit " + A.text);
|
|
57605
57605
|
for (var r; (r = Pk[e.future().text]) != null && r < t; )
|
|
57606
57606
|
i *= t, i += r, e.popToken();
|
|
57607
57607
|
}
|
|
@@ -57610,18 +57610,18 @@ R("\\char", function(e) {
|
|
|
57610
57610
|
var Sy = (e, A, t, i) => {
|
|
57611
57611
|
var r = e.consumeArg().tokens;
|
|
57612
57612
|
if (r.length !== 1)
|
|
57613
|
-
throw new
|
|
57613
|
+
throw new NA("\\newcommand's first argument must be a macro name");
|
|
57614
57614
|
var n = r[0].text, a = e.isDefined(n);
|
|
57615
57615
|
if (a && !A)
|
|
57616
|
-
throw new
|
|
57616
|
+
throw new NA("\\newcommand{" + n + "} attempting to redefine " + (n + "; use \\renewcommand"));
|
|
57617
57617
|
if (!a && !t)
|
|
57618
|
-
throw new
|
|
57618
|
+
throw new NA("\\renewcommand{" + n + "} when command " + n + " does not yet exist; use \\newcommand");
|
|
57619
57619
|
var o = 0;
|
|
57620
57620
|
if (r = e.consumeArg().tokens, r.length === 1 && r[0].text === "[") {
|
|
57621
57621
|
for (var s = "", l = e.expandNextToken(); l.text !== "]" && l.text !== "EOF"; )
|
|
57622
57622
|
s += l.text, l = e.expandNextToken();
|
|
57623
57623
|
if (!s.match(/^\s*[0-9]+\s*$/))
|
|
57624
|
-
throw new
|
|
57624
|
+
throw new NA("Invalid number of arguments: " + s);
|
|
57625
57625
|
o = parseInt(s), r = e.consumeArg().tokens;
|
|
57626
57626
|
}
|
|
57627
57627
|
return a && i || e.macros.set(n, {
|
|
@@ -57840,7 +57840,7 @@ R("\\tag", "\\@ifstar\\tag@literal\\tag@paren");
|
|
|
57840
57840
|
R("\\tag@paren", "\\tag@literal{({#1})}");
|
|
57841
57841
|
R("\\tag@literal", (e) => {
|
|
57842
57842
|
if (e.macros.get("\\df@tag"))
|
|
57843
|
-
throw new
|
|
57843
|
+
throw new NA("Multiple \\tag");
|
|
57844
57844
|
return "\\gdef\\df@tag{\\text{#1}}";
|
|
57845
57845
|
});
|
|
57846
57846
|
R("\\bmod", "\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");
|
|
@@ -58204,9 +58204,9 @@ class edA {
|
|
|
58204
58204
|
++a;
|
|
58205
58205
|
else if (n.text === "}") {
|
|
58206
58206
|
if (--a, a === -1)
|
|
58207
|
-
throw new
|
|
58207
|
+
throw new NA("Extra }", n);
|
|
58208
58208
|
} else if (n.text === "EOF")
|
|
58209
|
-
throw new
|
|
58209
|
+
throw new NA("Unexpected end of input in a macro argument, expected '" + (A && i ? A[o] : "}") + "'", n);
|
|
58210
58210
|
if (A && i)
|
|
58211
58211
|
if ((a === 0 || a === 1 && A[o] === "{") && n.text === A[o]) {
|
|
58212
58212
|
if (++o, o === A.length) {
|
|
@@ -58229,11 +58229,11 @@ class edA {
|
|
|
58229
58229
|
consumeArgs(A, t) {
|
|
58230
58230
|
if (t) {
|
|
58231
58231
|
if (t.length !== A + 1)
|
|
58232
|
-
throw new
|
|
58232
|
+
throw new NA("The length of delimiters doesn't match the number of args!");
|
|
58233
58233
|
for (var i = t[0], r = 0; r < i.length; r++) {
|
|
58234
58234
|
var n = this.popToken();
|
|
58235
58235
|
if (i[r] !== n.text)
|
|
58236
|
-
throw new
|
|
58236
|
+
throw new NA("Use of the macro doesn't match its definition", n);
|
|
58237
58237
|
}
|
|
58238
58238
|
}
|
|
58239
58239
|
for (var a = [], o = 0; o < A; o++)
|
|
@@ -58246,7 +58246,7 @@ class edA {
|
|
|
58246
58246
|
*/
|
|
58247
58247
|
countExpansion(A) {
|
|
58248
58248
|
if (this.expansionCount += A, this.expansionCount > this.settings.maxExpand)
|
|
58249
|
-
throw new
|
|
58249
|
+
throw new NA("Too many expansions: infinite loop or need to increase maxExpand setting");
|
|
58250
58250
|
}
|
|
58251
58251
|
/**
|
|
58252
58252
|
* Expand the next token only once if possible.
|
|
@@ -58271,7 +58271,7 @@ class edA {
|
|
|
58271
58271
|
var t = this.popToken(), i = t.text, r = t.noexpand ? null : this._getExpansion(i);
|
|
58272
58272
|
if (r == null || A && r.unexpandable) {
|
|
58273
58273
|
if (A && r == null && i[0] === "\\" && !this.isDefined(i))
|
|
58274
|
-
throw new
|
|
58274
|
+
throw new NA("Undefined control sequence: " + i);
|
|
58275
58275
|
return this.pushToken(t), !1;
|
|
58276
58276
|
}
|
|
58277
58277
|
this.countExpansion(1);
|
|
@@ -58282,13 +58282,13 @@ class edA {
|
|
|
58282
58282
|
var s = n[o];
|
|
58283
58283
|
if (s.text === "#") {
|
|
58284
58284
|
if (o === 0)
|
|
58285
|
-
throw new
|
|
58285
|
+
throw new NA("Incomplete placeholder at end of macro body", s);
|
|
58286
58286
|
if (s = n[--o], s.text === "#")
|
|
58287
58287
|
n.splice(o + 1, 1);
|
|
58288
58288
|
else if (/^[1-9]$/.test(s.text))
|
|
58289
58289
|
n.splice(o, 2, ...a[+s.text - 1]);
|
|
58290
58290
|
else
|
|
58291
|
-
throw new
|
|
58291
|
+
throw new NA("Not a valid argument number", s);
|
|
58292
58292
|
}
|
|
58293
58293
|
}
|
|
58294
58294
|
}
|
|
@@ -58895,7 +58895,7 @@ class aQ {
|
|
|
58895
58895
|
*/
|
|
58896
58896
|
expect(A, t) {
|
|
58897
58897
|
if (t === void 0 && (t = !0), this.fetch().text !== A)
|
|
58898
|
-
throw new
|
|
58898
|
+
throw new NA("Expected '" + A + "', got '" + this.fetch().text + "'", this.fetch());
|
|
58899
58899
|
t && this.consume();
|
|
58900
58900
|
}
|
|
58901
58901
|
/**
|
|
@@ -58978,7 +58978,7 @@ class aQ {
|
|
|
58978
58978
|
var n = A[r];
|
|
58979
58979
|
if (n.type === "infix") {
|
|
58980
58980
|
if (t !== -1)
|
|
58981
|
-
throw new
|
|
58981
|
+
throw new NA("only one infix operator per group", n.token);
|
|
58982
58982
|
t = r, i = n.replaceWith;
|
|
58983
58983
|
}
|
|
58984
58984
|
}
|
|
@@ -59010,7 +59010,7 @@ class aQ {
|
|
|
59010
59010
|
r = this.parseGroup(A);
|
|
59011
59011
|
} while (((n = r) == null ? void 0 : n.type) === "internal");
|
|
59012
59012
|
if (!r)
|
|
59013
|
-
throw new
|
|
59013
|
+
throw new NA("Expected group after '" + i + "'", t);
|
|
59014
59014
|
return r;
|
|
59015
59015
|
}
|
|
59016
59016
|
/**
|
|
@@ -59053,19 +59053,19 @@ class aQ {
|
|
|
59053
59053
|
} else if (t && t.type === "operatorname")
|
|
59054
59054
|
t.alwaysHandleSupSub && (t.limits = n.text === "\\limits");
|
|
59055
59055
|
else
|
|
59056
|
-
throw new
|
|
59056
|
+
throw new NA("Limit controls must follow a math operator", n);
|
|
59057
59057
|
this.consume();
|
|
59058
59058
|
} else if (n.text === "^") {
|
|
59059
59059
|
if (i)
|
|
59060
|
-
throw new
|
|
59060
|
+
throw new NA("Double superscript", n);
|
|
59061
59061
|
i = this.handleSupSubscript("superscript");
|
|
59062
59062
|
} else if (n.text === "_") {
|
|
59063
59063
|
if (r)
|
|
59064
|
-
throw new
|
|
59064
|
+
throw new NA("Double subscript", n);
|
|
59065
59065
|
r = this.handleSupSubscript("subscript");
|
|
59066
59066
|
} else if (n.text === "'") {
|
|
59067
59067
|
if (i)
|
|
59068
|
-
throw new
|
|
59068
|
+
throw new NA("Double superscript", n);
|
|
59069
59069
|
var o = {
|
|
59070
59070
|
type: "textord",
|
|
59071
59071
|
mode: this.mode,
|
|
@@ -59115,11 +59115,11 @@ class aQ {
|
|
|
59115
59115
|
if (!n)
|
|
59116
59116
|
return null;
|
|
59117
59117
|
if (this.consume(), t && t !== "atom" && !n.allowedInArgument)
|
|
59118
|
-
throw new
|
|
59118
|
+
throw new NA("Got function '" + r + "' with no arguments" + (t ? " as " + t : ""), i);
|
|
59119
59119
|
if (this.mode === "text" && !n.allowedInText)
|
|
59120
|
-
throw new
|
|
59120
|
+
throw new NA("Can't use function '" + r + "' in text mode", i);
|
|
59121
59121
|
if (this.mode === "math" && n.allowedInMath === !1)
|
|
59122
|
-
throw new
|
|
59122
|
+
throw new NA("Can't use function '" + r + "' in math mode", i);
|
|
59123
59123
|
var {
|
|
59124
59124
|
args: a,
|
|
59125
59125
|
optArgs: o
|
|
@@ -59138,7 +59138,7 @@ class aQ {
|
|
|
59138
59138
|
}, o = Es[A];
|
|
59139
59139
|
if (o && o.handler)
|
|
59140
59140
|
return o.handler(a, t, i);
|
|
59141
|
-
throw new
|
|
59141
|
+
throw new NA("No function handler for " + A);
|
|
59142
59142
|
}
|
|
59143
59143
|
/**
|
|
59144
59144
|
* Parses the arguments of a function or environment
|
|
@@ -59160,7 +59160,7 @@ class aQ {
|
|
|
59160
59160
|
else if (l != null)
|
|
59161
59161
|
r.push(l);
|
|
59162
59162
|
else
|
|
59163
|
-
throw new
|
|
59163
|
+
throw new NA("Null argument, please report this as a bug");
|
|
59164
59164
|
}
|
|
59165
59165
|
return {
|
|
59166
59166
|
args: r,
|
|
@@ -59201,10 +59201,10 @@ class aQ {
|
|
|
59201
59201
|
}
|
|
59202
59202
|
case "primitive": {
|
|
59203
59203
|
if (i)
|
|
59204
|
-
throw new
|
|
59204
|
+
throw new NA("A primitive argument cannot be optional");
|
|
59205
59205
|
var a = this.parseGroup(A);
|
|
59206
59206
|
if (a == null)
|
|
59207
|
-
throw new
|
|
59207
|
+
throw new NA("Expected group as " + A, this.fetch());
|
|
59208
59208
|
return a;
|
|
59209
59209
|
}
|
|
59210
59210
|
case "original":
|
|
@@ -59212,7 +59212,7 @@ class aQ {
|
|
|
59212
59212
|
case void 0:
|
|
59213
59213
|
return this.parseArgumentGroup(i);
|
|
59214
59214
|
default:
|
|
59215
|
-
throw new
|
|
59215
|
+
throw new NA("Unknown group type as " + A, this.fetch());
|
|
59216
59216
|
}
|
|
59217
59217
|
}
|
|
59218
59218
|
/**
|
|
@@ -59243,7 +59243,7 @@ class aQ {
|
|
|
59243
59243
|
for (var i = this.fetch(), r = i, n = "", a; (a = this.fetch()).text !== "EOF" && A.test(n + a.text); )
|
|
59244
59244
|
r = a, n += r.text, this.consume();
|
|
59245
59245
|
if (n === "")
|
|
59246
|
-
throw new
|
|
59246
|
+
throw new NA("Invalid " + t + ": '" + i.text + "'", i);
|
|
59247
59247
|
return i.range(r, n);
|
|
59248
59248
|
}
|
|
59249
59249
|
/**
|
|
@@ -59255,7 +59255,7 @@ class aQ {
|
|
|
59255
59255
|
return null;
|
|
59256
59256
|
var i = /^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);
|
|
59257
59257
|
if (!i)
|
|
59258
|
-
throw new
|
|
59258
|
+
throw new NA("Invalid color: '" + t.text + "'", t);
|
|
59259
59259
|
var r = i[0];
|
|
59260
59260
|
return /^[0-9a-f]{6}$/i.test(r) && (r = "#" + r), {
|
|
59261
59261
|
type: "color-token",
|
|
@@ -59273,14 +59273,14 @@ class aQ {
|
|
|
59273
59273
|
!A && t.text.length === 0 && (t.text = "0pt", i = !0);
|
|
59274
59274
|
var r = /([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);
|
|
59275
59275
|
if (!r)
|
|
59276
|
-
throw new
|
|
59276
|
+
throw new NA("Invalid size: '" + t.text + "'", t);
|
|
59277
59277
|
var n = {
|
|
59278
59278
|
number: +(r[1] + r[2]),
|
|
59279
59279
|
// sign + magnitude, cast to number
|
|
59280
59280
|
unit: r[3]
|
|
59281
59281
|
};
|
|
59282
59282
|
if (!XF(n))
|
|
59283
|
-
throw new
|
|
59283
|
+
throw new NA("Invalid unit: '" + n.unit + "'", t);
|
|
59284
59284
|
return {
|
|
59285
59285
|
type: "size",
|
|
59286
59286
|
mode: this.mode,
|
|
@@ -59349,7 +59349,7 @@ class aQ {
|
|
|
59349
59349
|
};
|
|
59350
59350
|
} else if (n = this.parseFunction(t, A) || this.parseSymbol(), n == null && r[0] === "\\" && !HM.hasOwnProperty(r)) {
|
|
59351
59351
|
if (this.settings.throwOnError)
|
|
59352
|
-
throw new
|
|
59352
|
+
throw new NA("Undefined control sequence: " + r, i);
|
|
59353
59353
|
n = this.formatUnsupportedCmd(r), this.consume();
|
|
59354
59354
|
}
|
|
59355
59355
|
return n;
|
|
@@ -59402,7 +59402,7 @@ class aQ {
|
|
|
59402
59402
|
this.consume();
|
|
59403
59403
|
var i = t.slice(5), r = i.charAt(0) === "*";
|
|
59404
59404
|
if (r && (i = i.slice(1)), i.length < 2 || i.charAt(0) !== i.slice(-1))
|
|
59405
|
-
throw new
|
|
59405
|
+
throw new NA(`\\verb assertion failed --
|
|
59406
59406
|
please report what input caused this bug`);
|
|
59407
59407
|
return i = i.slice(1, -1), {
|
|
59408
59408
|
type: "verb",
|
|
@@ -59448,10 +59448,10 @@ class aQ {
|
|
|
59448
59448
|
for (var c = 0; c < n[0].length; c++) {
|
|
59449
59449
|
var h = n[0][c];
|
|
59450
59450
|
if (!FE[h])
|
|
59451
|
-
throw new
|
|
59451
|
+
throw new NA("Unknown accent ' " + h + "'", A);
|
|
59452
59452
|
var u = FE[h][this.mode] || FE[h].text;
|
|
59453
59453
|
if (!u)
|
|
59454
|
-
throw new
|
|
59454
|
+
throw new NA("Accent " + h + " unsupported in " + this.mode + " mode", A);
|
|
59455
59455
|
a = {
|
|
59456
59456
|
type: "accent",
|
|
59457
59457
|
mode: this.mode,
|
|
@@ -59475,7 +59475,7 @@ var xy = function(A, t) {
|
|
|
59475
59475
|
var r = i.parse();
|
|
59476
59476
|
if (delete i.gullet.macros.current["\\current@color"], delete i.gullet.macros.current["\\color"], i.gullet.macros.get("\\df@tag")) {
|
|
59477
59477
|
if (!t.displayMode)
|
|
59478
|
-
throw new
|
|
59478
|
+
throw new NA("\\tag works only in display equations");
|
|
59479
59479
|
r = [{
|
|
59480
59480
|
type: "tag",
|
|
59481
59481
|
mode: "text",
|
|
@@ -59490,7 +59490,7 @@ var xy = function(A, t) {
|
|
|
59490
59490
|
t.appendChild(r);
|
|
59491
59491
|
};
|
|
59492
59492
|
typeof document < "u" && document.compatMode !== "CSS1Compat" && (typeof console < "u" && console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."), ZM = function() {
|
|
59493
|
-
throw new
|
|
59493
|
+
throw new NA("KaTeX doesn't work in quirks mode.");
|
|
59494
59494
|
});
|
|
59495
59495
|
var tdA = function(A, t) {
|
|
59496
59496
|
var i = Ny(A, t).toMarkup();
|
|
@@ -59499,7 +59499,7 @@ var tdA = function(A, t) {
|
|
|
59499
59499
|
var i = new By(t);
|
|
59500
59500
|
return xy(A, i);
|
|
59501
59501
|
}, qM = function(A, t, i) {
|
|
59502
|
-
if (i.throwOnError || !(A instanceof
|
|
59502
|
+
if (i.throwOnError || !(A instanceof NA))
|
|
59503
59503
|
throw A;
|
|
59504
59504
|
var r = wA(["katex-error"], [new dn(t)]);
|
|
59505
59505
|
return r.setAttribute("title", A.toString()), r.setAttribute("style", "color:" + i.errorColor), r;
|
|
@@ -59544,7 +59544,7 @@ var tdA = function(A, t) {
|
|
|
59544
59544
|
/**
|
|
59545
59545
|
* KaTeX error, usually during parsing.
|
|
59546
59546
|
*/
|
|
59547
|
-
ParseError:
|
|
59547
|
+
ParseError: NA,
|
|
59548
59548
|
/**
|
|
59549
59549
|
* The schema of Settings
|
|
59550
59550
|
*/
|
|
@@ -59845,7 +59845,7 @@ function WM() {
|
|
|
59845
59845
|
TMPLIT_EXPR: L,
|
|
59846
59846
|
DATA_ATTR: O,
|
|
59847
59847
|
ARIA_ATTR: z,
|
|
59848
|
-
IS_SCRIPT_OR_DATA:
|
|
59848
|
+
IS_SCRIPT_OR_DATA: V,
|
|
59849
59849
|
ATTR_WHITESPACE: q,
|
|
59850
59850
|
CUSTOM_ELEMENT: rA
|
|
59851
59851
|
} = oS;
|
|
@@ -59853,7 +59853,7 @@ function WM() {
|
|
|
59853
59853
|
IS_ALLOWED_URI: nA
|
|
59854
59854
|
} = oS, U = null;
|
|
59855
59855
|
const iA = He({}, [...iS, ...RE, ...LE, ...GE, ...rS]);
|
|
59856
|
-
let
|
|
59856
|
+
let W = null;
|
|
59857
59857
|
const X = He({}, [...nS, ...TE, ...aS, ...OI]);
|
|
59858
59858
|
let oA = Object.seal(rc(null, {
|
|
59859
59859
|
tagNameCheck: {
|
|
@@ -59874,7 +59874,7 @@ function WM() {
|
|
|
59874
59874
|
enumerable: !0,
|
|
59875
59875
|
value: !1
|
|
59876
59876
|
}
|
|
59877
|
-
})), CA = null,
|
|
59877
|
+
})), CA = null, _A = null;
|
|
59878
59878
|
const UA = Object.seal(rc(null, {
|
|
59879
59879
|
tagCheck: {
|
|
59880
59880
|
writable: !0,
|
|
@@ -59911,9 +59911,9 @@ function WM() {
|
|
|
59911
59911
|
if (Ai && Ai === j)
|
|
59912
59912
|
return;
|
|
59913
59913
|
(!j || typeof j != "object") && (j = {}), j = Vr(j), xt = // eslint-disable-next-line unicorn/prefer-includes
|
|
59914
|
-
Hi.indexOf(j.PARSER_MEDIA_TYPE) === -1 ? yn : j.PARSER_MEDIA_TYPE, et = xt === "application/xhtml+xml" ? ME : N0, U = fi(j, "ALLOWED_TAGS") && kr(j.ALLOWED_TAGS) ? He({}, j.ALLOWED_TAGS, et) : iA,
|
|
59914
|
+
Hi.indexOf(j.PARSER_MEDIA_TYPE) === -1 ? yn : j.PARSER_MEDIA_TYPE, et = xt === "application/xhtml+xml" ? ME : N0, U = fi(j, "ALLOWED_TAGS") && kr(j.ALLOWED_TAGS) ? He({}, j.ALLOWED_TAGS, et) : iA, W = fi(j, "ALLOWED_ATTR") && kr(j.ALLOWED_ATTR) ? He({}, j.ALLOWED_ATTR, et) : X, Pt = fi(j, "ALLOWED_NAMESPACES") && kr(j.ALLOWED_NAMESPACES) ? He({}, j.ALLOWED_NAMESPACES, ME) : lt, cr = fi(j, "ADD_URI_SAFE_ATTR") && kr(j.ADD_URI_SAFE_ATTR) ? He(Vr(vn), j.ADD_URI_SAFE_ATTR, et) : vn, Li = fi(j, "ADD_DATA_URI_TAGS") && kr(j.ADD_DATA_URI_TAGS) ? He(Vr(ln), j.ADD_DATA_URI_TAGS, et) : ln, Xe = fi(j, "FORBID_CONTENTS") && kr(j.FORBID_CONTENTS) ? He({}, j.FORBID_CONTENTS, et) : Ei, CA = fi(j, "FORBID_TAGS") && kr(j.FORBID_TAGS) ? He({}, j.FORBID_TAGS, et) : Vr({}), _A = fi(j, "FORBID_ATTR") && kr(j.FORBID_ATTR) ? He({}, j.FORBID_ATTR, et) : Vr({}), $t = fi(j, "USE_PROFILES") ? j.USE_PROFILES && typeof j.USE_PROFILES == "object" ? Vr(j.USE_PROFILES) : j.USE_PROFILES : !1, Ae = j.ALLOW_ARIA_ATTR !== !1, OA = j.ALLOW_DATA_ATTR !== !1, ie = j.ALLOW_UNKNOWN_PROTOCOLS || !1, ZA = j.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Le = j.SAFE_FOR_TEMPLATES || !1, pe = j.SAFE_FOR_XML !== !1, Pe = j.WHOLE_DOCUMENT || !1, $A = j.RETURN_DOM || !1, IA = j.RETURN_DOM_FRAGMENT || !1, JA = j.RETURN_TRUSTED_TYPE || !1, ae = j.FORCE_BODY || !1, Fe = j.SANITIZE_DOM !== !1, Ve = j.SANITIZE_NAMED_PROPS || !1, gi = j.KEEP_CONTENT !== !1, We = j.IN_PLACE || !1, nA = mdA(j.ALLOWED_URI_REGEXP) ? j.ALLOWED_URI_REGEXP : KM, cA = typeof j.NAMESPACE == "string" ? j.NAMESPACE : aA, vi = fi(j, "MATHML_TEXT_INTEGRATION_POINTS") && j.MATHML_TEXT_INTEGRATION_POINTS && typeof j.MATHML_TEXT_INTEGRATION_POINTS == "object" ? Vr(j.MATHML_TEXT_INTEGRATION_POINTS) : He({}, ["mi", "mo", "mn", "ms", "mtext"]), ci = fi(j, "HTML_INTEGRATION_POINTS") && j.HTML_INTEGRATION_POINTS && typeof j.HTML_INTEGRATION_POINTS == "object" ? Vr(j.HTML_INTEGRATION_POINTS) : He({}, ["annotation-xml"]);
|
|
59915
59915
|
const EA = fi(j, "CUSTOM_ELEMENT_HANDLING") && j.CUSTOM_ELEMENT_HANDLING && typeof j.CUSTOM_ELEMENT_HANDLING == "object" ? Vr(j.CUSTOM_ELEMENT_HANDLING) : rc(null);
|
|
59916
|
-
if (oA = rc(null), fi(EA, "tagNameCheck") && AA(EA.tagNameCheck) && (oA.tagNameCheck = EA.tagNameCheck), fi(EA, "attributeNameCheck") && AA(EA.attributeNameCheck) && (oA.attributeNameCheck = EA.attributeNameCheck), fi(EA, "allowCustomizedBuiltInElements") && typeof EA.allowCustomizedBuiltInElements == "boolean" && (oA.allowCustomizedBuiltInElements = EA.allowCustomizedBuiltInElements), Le && (OA = !1), IA && ($A = !0), $t && (U = He({}, rS),
|
|
59916
|
+
if (oA = rc(null), fi(EA, "tagNameCheck") && AA(EA.tagNameCheck) && (oA.tagNameCheck = EA.tagNameCheck), fi(EA, "attributeNameCheck") && AA(EA.attributeNameCheck) && (oA.attributeNameCheck = EA.attributeNameCheck), fi(EA, "allowCustomizedBuiltInElements") && typeof EA.allowCustomizedBuiltInElements == "boolean" && (oA.allowCustomizedBuiltInElements = EA.allowCustomizedBuiltInElements), Le && (OA = !1), IA && ($A = !0), $t && (U = He({}, rS), W = rc(null), $t.html === !0 && (He(U, iS), He(W, nS)), $t.svg === !0 && (He(U, RE), He(W, TE), He(W, OI)), $t.svgFilters === !0 && (He(U, LE), He(W, TE), He(W, OI)), $t.mathMl === !0 && (He(U, GE), He(W, aS), He(W, OI))), UA.tagCheck = null, UA.attributeCheck = null, fi(j, "ADD_TAGS") && (typeof j.ADD_TAGS == "function" ? UA.tagCheck = j.ADD_TAGS : kr(j.ADD_TAGS) && (U === iA && (U = Vr(U)), He(U, j.ADD_TAGS, et))), fi(j, "ADD_ATTR") && (typeof j.ADD_ATTR == "function" ? UA.attributeCheck = j.ADD_ATTR : kr(j.ADD_ATTR) && (W === X && (W = Vr(W)), He(W, j.ADD_ATTR, et))), fi(j, "ADD_URI_SAFE_ATTR") && kr(j.ADD_URI_SAFE_ATTR) && He(cr, j.ADD_URI_SAFE_ATTR, et), fi(j, "FORBID_CONTENTS") && kr(j.FORBID_CONTENTS) && (Xe === Ei && (Xe = Vr(Xe)), He(Xe, j.FORBID_CONTENTS, et)), fi(j, "ADD_FORBID_CONTENTS") && kr(j.ADD_FORBID_CONTENTS) && (Xe === Ei && (Xe = Vr(Xe)), He(Xe, j.ADD_FORBID_CONTENTS, et)), gi && (U["#text"] = !0), Pe && He(U, ["html", "head", "body"]), U.table && (He(U, ["tbody"]), delete CA.tbody), j.TRUSTED_TYPES_POLICY) {
|
|
59917
59917
|
if (typeof j.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
59918
59918
|
throw JI('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
59919
59919
|
if (typeof j.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -60035,12 +60035,12 @@ function WM() {
|
|
|
60035
60035
|
element: j.cloneNode()
|
|
60036
60036
|
}), j.textContent = EA)), yr(S.afterSanitizeElements, j, null), !1);
|
|
60037
60037
|
}, ma = function(j, EA, qA) {
|
|
60038
|
-
if (
|
|
60038
|
+
if (_A[EA] || Fe && (EA === "id" || EA === "name") && (qA in t || qA in ur))
|
|
60039
60039
|
return !1;
|
|
60040
|
-
const Et =
|
|
60041
|
-
if (!(OA && !
|
|
60040
|
+
const Et = W[EA] || UA.attributeCheck instanceof Function && UA.attributeCheck(EA, j);
|
|
60041
|
+
if (!(OA && !_A[EA] && er(O, EA))) {
|
|
60042
60042
|
if (!(Ae && er(z, EA))) {
|
|
60043
|
-
if (!Et ||
|
|
60043
|
+
if (!Et || _A[EA]) {
|
|
60044
60044
|
if (
|
|
60045
60045
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
60046
60046
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
@@ -60052,7 +60052,7 @@ function WM() {
|
|
|
60052
60052
|
} else if (!cr[EA]) {
|
|
60053
60053
|
if (!er(nA, Wg(qA, q, ""))) {
|
|
60054
60054
|
if (!((EA === "src" || EA === "xlink:href" || EA === "href") && j !== "script" && AS(qA, "data:") === 0 && Li[j])) {
|
|
60055
|
-
if (!(ie && !er(
|
|
60055
|
+
if (!(ie && !er(V, Wg(qA, q, "")))) {
|
|
60056
60056
|
if (qA)
|
|
60057
60057
|
return !1;
|
|
60058
60058
|
}
|
|
@@ -60075,7 +60075,7 @@ function WM() {
|
|
|
60075
60075
|
attrName: "",
|
|
60076
60076
|
attrValue: "",
|
|
60077
60077
|
keepAttr: !0,
|
|
60078
|
-
allowedAttributes:
|
|
60078
|
+
allowedAttributes: W,
|
|
60079
60079
|
forceKeepAttr: void 0
|
|
60080
60080
|
};
|
|
60081
60081
|
let Et = EA.length;
|
|
@@ -60179,7 +60179,7 @@ function WM() {
|
|
|
60179
60179
|
hi.appendChild(EA.firstChild);
|
|
60180
60180
|
else
|
|
60181
60181
|
hi = EA;
|
|
60182
|
-
return (
|
|
60182
|
+
return (W.shadowroot || W.shadowrootmode) && (hi = k.call(i, hi, !0)), hi;
|
|
60183
60183
|
}
|
|
60184
60184
|
let bi = Pe ? EA.outerHTML : EA.innerHTML;
|
|
60185
60185
|
return Pe && U["!doctype"] && EA.ownerDocument && EA.ownerDocument.doctype && EA.ownerDocument.doctype.name && er(VM, EA.ownerDocument.doctype.name) && (bi = "<!DOCTYPE " + EA.ownerDocument.doctype.name + `>
|
|
@@ -60717,31 +60717,31 @@ const gS = /* @__PURE__ */ KA({
|
|
|
60717
60717
|
var X;
|
|
60718
60718
|
if (l.value)
|
|
60719
60719
|
return hv((X = g.value) == null ? void 0 : X.content);
|
|
60720
|
-
const
|
|
60721
|
-
return typeof
|
|
60720
|
+
const W = t.message.content;
|
|
60721
|
+
return typeof W == "string" ? W : Array.isArray(W) ? W.filter((oA) => oA.type === "text").map((oA) => oA.text).join("") : "";
|
|
60722
60722
|
}), u = J(() => {
|
|
60723
|
-
var
|
|
60724
|
-
return ((X = (
|
|
60723
|
+
var W, X;
|
|
60724
|
+
return ((X = (W = g.value) == null ? void 0 : W.reasoning_content) == null ? void 0 : X.trim()) ?? "";
|
|
60725
60725
|
}), C = J(() => h.value), I = J(() => l.value && !!u.value), f = J(() => {
|
|
60726
|
-
var
|
|
60727
|
-
return ((
|
|
60726
|
+
var W;
|
|
60727
|
+
return ((W = g.value) == null ? void 0 : W.steps) ?? [];
|
|
60728
60728
|
}), d = J(() => {
|
|
60729
60729
|
if (t.message.role !== "user" && t.message.role !== "system") return !1;
|
|
60730
|
-
const
|
|
60731
|
-
return typeof
|
|
60730
|
+
const W = t.message.content;
|
|
60731
|
+
return typeof W == "string" ? W.trim().length > 0 : W.some((X) => X.type === "text" ? X.text.trim().length > 0 : !0);
|
|
60732
60732
|
}), B = J(() => a.value || o.value ? d.value : !!C.value.trim()), Q = J(() => C.value), p = J(
|
|
60733
60733
|
() => {
|
|
60734
|
-
var
|
|
60735
|
-
return l.value && t.streaming && !B.value && !I.value && !((X = (
|
|
60734
|
+
var W, X;
|
|
60735
|
+
return l.value && t.streaming && !B.value && !I.value && !((X = (W = g.value) == null ? void 0 : W.tool_calls) != null && X.length);
|
|
60736
60736
|
}
|
|
60737
60737
|
), E = J(() => I.value || p.value), v = J(
|
|
60738
60738
|
() => l.value && !t.streaming && Q.value.trim().length > 0
|
|
60739
60739
|
), y = J(() => !l.value || !t.showFollowUps || t.streaming ? [] : t.followUps ?? []), D = J(() => y.value.length > 0);
|
|
60740
|
-
function b(
|
|
60740
|
+
function b(W) {
|
|
60741
60741
|
i("action", {
|
|
60742
60742
|
type: "submit",
|
|
60743
|
-
value:
|
|
60744
|
-
label:
|
|
60743
|
+
value: W,
|
|
60744
|
+
label: W,
|
|
60745
60745
|
source: "follow-up"
|
|
60746
60746
|
});
|
|
60747
60747
|
}
|
|
@@ -60750,68 +60750,63 @@ const gS = /* @__PURE__ */ KA({
|
|
|
60750
60750
|
), S = J(
|
|
60751
60751
|
() => a.value && (!!t.userAvatar || !!r["user-avatar"])
|
|
60752
60752
|
), x = J(() => {
|
|
60753
|
-
var
|
|
60754
|
-
return ((
|
|
60753
|
+
var W;
|
|
60754
|
+
return ((W = g.value) == null ? void 0 : W.tool_calls) ?? [];
|
|
60755
60755
|
}), F = J(() => {
|
|
60756
|
-
var
|
|
60756
|
+
var W;
|
|
60757
60757
|
if (!(f.value.length > 0))
|
|
60758
|
-
return X4((
|
|
60758
|
+
return X4((W = g.value) == null ? void 0 : W.content) || void 0;
|
|
60759
60759
|
}), L = J(() => {
|
|
60760
|
-
const
|
|
60760
|
+
const W = [];
|
|
60761
60761
|
let X = !1, oA = "";
|
|
60762
60762
|
for (const CA of f.value) {
|
|
60763
60763
|
if (CA.type === "reasoning") {
|
|
60764
|
-
|
|
60764
|
+
W.push(CA);
|
|
60765
60765
|
continue;
|
|
60766
60766
|
}
|
|
60767
60767
|
if (CA.type === "tool_calls") {
|
|
60768
60768
|
if (CA.tool_calls.length === 0) continue;
|
|
60769
|
-
|
|
60769
|
+
W.push({
|
|
60770
60770
|
...CA,
|
|
60771
60771
|
...oA ? { summary: oA } : {}
|
|
60772
60772
|
}), oA = "";
|
|
60773
60773
|
continue;
|
|
60774
60774
|
}
|
|
60775
|
-
const
|
|
60776
|
-
|
|
60775
|
+
const _A = X4(CA.content);
|
|
60776
|
+
_A && (oA = _A);
|
|
60777
60777
|
const UA = hv(CA.content);
|
|
60778
|
-
UA.trim() && (X = !0,
|
|
60779
|
-
}
|
|
60780
|
-
return !X && C.value.trim() &&
|
|
60781
|
-
}), O = J(() => f.value.length > 0)
|
|
60782
|
-
|
|
60783
|
-
var K;
|
|
60784
|
-
for (let X = L.value.length - 1; X >= 0; X -= 1)
|
|
60785
|
-
if (((K = L.value[X]) == null ? void 0 : K.type) === "content") return X;
|
|
60786
|
-
return -1;
|
|
60787
|
-
});
|
|
60788
|
-
const z = J(() => {
|
|
60789
|
-
let K = O.value ? bP(L.value) : kP({
|
|
60778
|
+
UA.trim() && (X = !0, W.push({ type: "content", content: UA }));
|
|
60779
|
+
}
|
|
60780
|
+
return !X && C.value.trim() && W.push({ type: "content", content: C.value }), W;
|
|
60781
|
+
}), O = J(() => f.value.length > 0), z = J(() => {
|
|
60782
|
+
let W = O.value ? bP(L.value) : kP({
|
|
60790
60783
|
reasoningContent: E.value ? u.value : void 0,
|
|
60791
60784
|
toolCalls: x.value,
|
|
60792
60785
|
providerSummary: F.value,
|
|
60793
60786
|
answerContent: B.value ? C.value : void 0,
|
|
60794
60787
|
includeEmptyProcessGroup: p.value
|
|
60795
60788
|
});
|
|
60796
|
-
return l.value && r.content && t.streaming && !
|
|
60797
|
-
}),
|
|
60798
|
-
var
|
|
60789
|
+
return l.value && r.content && t.streaming && !W.some((X) => X.kind === "content") && (W = [...W, { kind: "content", content: C.value, contentIndex: 0 }]), W;
|
|
60790
|
+
}), V = J(() => {
|
|
60791
|
+
var W;
|
|
60799
60792
|
for (let X = z.value.length - 1; X >= 0; X -= 1)
|
|
60800
|
-
if (((
|
|
60793
|
+
if (((W = z.value[X]) == null ? void 0 : W.kind) === "process_group") return X;
|
|
60801
60794
|
return -1;
|
|
60802
60795
|
}), q = J(() => {
|
|
60803
|
-
var
|
|
60796
|
+
var W;
|
|
60804
60797
|
for (let X = z.value.length - 1; X >= 0; X -= 1)
|
|
60805
|
-
if (((
|
|
60798
|
+
if (((W = z.value[X]) == null ? void 0 : W.kind) === "content") return X;
|
|
60806
60799
|
return -1;
|
|
60807
60800
|
});
|
|
60808
|
-
function rA(
|
|
60809
|
-
|
|
60801
|
+
function rA(W) {
|
|
60802
|
+
if (!t.streaming || W !== V.value) return !1;
|
|
60803
|
+
const X = z.value[W];
|
|
60804
|
+
return (X == null ? void 0 : X.kind) !== "process_group" ? !1 : !!(X.steps.length === 0 || X.steps.some((_A) => _A.type === "tool_calls") || X.steps.some((_A) => _A.type === "reasoning") && !B.value && x.value.length === 0);
|
|
60810
60805
|
}
|
|
60811
60806
|
const nA = J(() => t.message.role === "user" || t.message.role === "system" ? t.message.content : ""), U = J(
|
|
60812
60807
|
() => t.message.role === "user" ? t.message.resource_files ?? [] : []
|
|
60813
60808
|
), iA = J(() => !a.value || B.value);
|
|
60814
|
-
return (
|
|
60809
|
+
return (W, X) => (N(), Y("article", {
|
|
60815
60810
|
class: ce(["conversation-message", {
|
|
60816
60811
|
"conversation-message--user": a.value,
|
|
60817
60812
|
"conversation-message--system": o.value,
|
|
@@ -60827,7 +60822,7 @@ const gS = /* @__PURE__ */ KA({
|
|
|
60827
60822
|
}, [
|
|
60828
60823
|
M("div", aBA, [
|
|
60829
60824
|
k.value ? (N(), Y("span", oBA, [
|
|
60830
|
-
Be(
|
|
60825
|
+
Be(W.$slots, "assistant-avatar", {}, () => [
|
|
60831
60826
|
e.assistantAvatar ? (N(), Y("img", {
|
|
60832
60827
|
key: 0,
|
|
60833
60828
|
class: "conversation-message__mark-img",
|
|
@@ -60845,7 +60840,7 @@ const gS = /* @__PURE__ */ KA({
|
|
|
60845
60840
|
}, null, 8, ["resources"])) : BA("", !0),
|
|
60846
60841
|
iA.value ? (N(), Y("div", gBA, [
|
|
60847
60842
|
l.value ? (N(!0), Y(he, { key: 0 }, qe(z.value, (oA, CA) => {
|
|
60848
|
-
var
|
|
60843
|
+
var _A;
|
|
60849
60844
|
return N(), Y(he, {
|
|
60850
60845
|
key: `segment-${oA.kind}-${CA}`
|
|
60851
60846
|
}, [
|
|
@@ -60856,21 +60851,21 @@ const gS = /* @__PURE__ */ KA({
|
|
|
60856
60851
|
"provider-summary": oA.providerSummary,
|
|
60857
60852
|
"tool-messages": e.toolMessages,
|
|
60858
60853
|
"tool-states": e.toolStates,
|
|
60859
|
-
"message-id": (
|
|
60854
|
+
"message-id": (_A = g.value) == null ? void 0 : _A.id,
|
|
60860
60855
|
"group-index": oA.segmentIndex,
|
|
60861
60856
|
streaming: rA(CA),
|
|
60862
60857
|
"data-testid": p.value && oA.steps.length === 0 ? "conversation-streaming-indicator" : void 0,
|
|
60863
60858
|
onToolAction: X[1] || (X[1] = (UA) => i("tool-action", UA))
|
|
60864
60859
|
}, vs({ _: 2 }, [
|
|
60865
|
-
|
|
60860
|
+
W.$slots.tool ? {
|
|
60866
60861
|
name: "tool",
|
|
60867
60862
|
fn: _e((UA) => [
|
|
60868
|
-
Be(
|
|
60863
|
+
Be(W.$slots, "tool", po({ ref_for: !0 }, UA), void 0, !0)
|
|
60869
60864
|
]),
|
|
60870
60865
|
key: "0"
|
|
60871
60866
|
} : void 0
|
|
60872
60867
|
]), 1032, ["steps", "provider-summary", "tool-messages", "tool-states", "message-id", "group-index", "streaming", "data-testid"])) : (N(), Y("div", cBA, [
|
|
60873
|
-
Be(
|
|
60868
|
+
Be(W.$slots, "content", {
|
|
60874
60869
|
message: n.value,
|
|
60875
60870
|
content: oA.content,
|
|
60876
60871
|
isStreaming: e.streaming && CA === q.value
|
|
@@ -60885,8 +60880,8 @@ const gS = /* @__PURE__ */ KA({
|
|
|
60885
60880
|
]))
|
|
60886
60881
|
], 64);
|
|
60887
60882
|
}), 128)) : (N(), Y(he, { key: 1 }, [
|
|
60888
|
-
B.value ||
|
|
60889
|
-
Be(
|
|
60883
|
+
B.value || W.$slots.content ? (N(), Y("div", uBA, [
|
|
60884
|
+
Be(W.$slots, "content", {
|
|
60890
60885
|
message: n.value,
|
|
60891
60886
|
content: C.value,
|
|
60892
60887
|
isStreaming: e.streaming
|
|
@@ -60913,10 +60908,10 @@ const gS = /* @__PURE__ */ KA({
|
|
|
60913
60908
|
onFeedback: X[5] || (X[5] = (oA) => i("feedback", oA)),
|
|
60914
60909
|
onBranch: X[6] || (X[6] = (oA) => i("branch", oA))
|
|
60915
60910
|
}, vs({ _: 2 }, [
|
|
60916
|
-
|
|
60911
|
+
W.$slots.actionbar ? {
|
|
60917
60912
|
name: "default",
|
|
60918
60913
|
fn: _e((oA) => [
|
|
60919
|
-
Be(
|
|
60914
|
+
Be(W.$slots, "actionbar", Rn(oa(oA)), void 0, !0)
|
|
60920
60915
|
]),
|
|
60921
60916
|
key: "0"
|
|
60922
60917
|
} : void 0
|
|
@@ -60928,7 +60923,7 @@ const gS = /* @__PURE__ */ KA({
|
|
|
60928
60923
|
}, null, 8, ["questions"])) : BA("", !0)
|
|
60929
60924
|
]),
|
|
60930
60925
|
S.value ? (N(), Y("span", CBA, [
|
|
60931
|
-
Be(
|
|
60926
|
+
Be(W.$slots, "user-avatar", {}, () => [
|
|
60932
60927
|
e.userAvatar ? (N(), Y("img", {
|
|
60933
60928
|
key: 0,
|
|
60934
60929
|
class: "conversation-message__mark-img",
|
|
@@ -60940,7 +60935,7 @@ const gS = /* @__PURE__ */ KA({
|
|
|
60940
60935
|
])
|
|
60941
60936
|
], 10, nBA));
|
|
60942
60937
|
}
|
|
60943
|
-
}), dBA = /* @__PURE__ */ Qe(fBA, [["__scopeId", "data-v-
|
|
60938
|
+
}), dBA = /* @__PURE__ */ Qe(fBA, [["__scopeId", "data-v-c0748fd8"]]), BBA = /* @__PURE__ */ KA({
|
|
60944
60939
|
name: "ChatMessage",
|
|
60945
60940
|
__name: "ChatMessage",
|
|
60946
60941
|
props: {
|
|
@@ -61517,7 +61512,7 @@ function qBA(e) {
|
|
|
61517
61512
|
l.value = [{ deviceId: "default", label: "默认麦克风", active: !0 }];
|
|
61518
61513
|
}
|
|
61519
61514
|
function k() {
|
|
61520
|
-
u.value = !0, s.value = null, A.value &&
|
|
61515
|
+
u.value = !0, s.value = null, A.value && V();
|
|
61521
61516
|
}
|
|
61522
61517
|
function S() {
|
|
61523
61518
|
u.value = !1;
|
|
@@ -61556,7 +61551,7 @@ function qBA(e) {
|
|
|
61556
61551
|
var MA, ae;
|
|
61557
61552
|
if (!L()) {
|
|
61558
61553
|
if (A.value)
|
|
61559
|
-
|
|
61554
|
+
V();
|
|
61560
61555
|
else {
|
|
61561
61556
|
if (A.value = !0, (MA = e.onMenuOpen) == null || MA.call(e), await q(), u.value) return;
|
|
61562
61557
|
await rA();
|
|
@@ -61564,7 +61559,7 @@ function qBA(e) {
|
|
|
61564
61559
|
(ae = e.onVoiceClick) == null || ae.call(e);
|
|
61565
61560
|
}
|
|
61566
61561
|
}
|
|
61567
|
-
function
|
|
61562
|
+
function V() {
|
|
61568
61563
|
A.value = !1, n.value || U();
|
|
61569
61564
|
}
|
|
61570
61565
|
async function q() {
|
|
@@ -61620,7 +61615,7 @@ function qBA(e) {
|
|
|
61620
61615
|
var MA;
|
|
61621
61616
|
L() || i.value || (n.value ? await UA(!1) : await CA(), (MA = e.onVoiceRecord) == null || MA.call(e));
|
|
61622
61617
|
}
|
|
61623
|
-
async function
|
|
61618
|
+
async function W() {
|
|
61624
61619
|
L() || !i.value || (o.value = !0, y(), v = setTimeout(() => {
|
|
61625
61620
|
v = null, !(!o.value || !i.value || n.value) && CA();
|
|
61626
61621
|
}, E));
|
|
@@ -61645,7 +61640,7 @@ function qBA(e) {
|
|
|
61645
61640
|
try {
|
|
61646
61641
|
B && (Le(B), B = null);
|
|
61647
61642
|
const $A = await O(MA);
|
|
61648
|
-
B = $A, nA($A),
|
|
61643
|
+
B = $A, nA($A), _A(), typeof MediaRecorder < "u" && (C = new MediaRecorder($A), C.start()), n.value = !0, A.value && V(), S(), s.value = null, (ae = e.onVoiceStart) == null || ae.call(e);
|
|
61649
61644
|
} catch ($A) {
|
|
61650
61645
|
if (console.error("无法访问麦克风:", $A), HI($A)) {
|
|
61651
61646
|
k();
|
|
@@ -61654,7 +61649,7 @@ function qBA(e) {
|
|
|
61654
61649
|
s.value = "无法访问麦克风,请检查浏览器权限";
|
|
61655
61650
|
}
|
|
61656
61651
|
}
|
|
61657
|
-
function
|
|
61652
|
+
function _A() {
|
|
61658
61653
|
const MA = window, ae = MA.SpeechRecognition ?? MA.webkitSpeechRecognition;
|
|
61659
61654
|
if (!ae) return;
|
|
61660
61655
|
const $A = new ae();
|
|
@@ -61738,9 +61733,9 @@ function qBA(e) {
|
|
|
61738
61733
|
isSpeechSupported: h,
|
|
61739
61734
|
isMicPermissionDenied: u,
|
|
61740
61735
|
toggleVoiceMenu: z,
|
|
61741
|
-
closeVoiceMenu:
|
|
61736
|
+
closeVoiceMenu: V,
|
|
61742
61737
|
handleVoiceRecord: iA,
|
|
61743
|
-
handleMouseDown:
|
|
61738
|
+
handleMouseDown: W,
|
|
61744
61739
|
handleMouseUp: X,
|
|
61745
61740
|
handleMouseLeave: oA,
|
|
61746
61741
|
selectAudioDevice: OA,
|
|
@@ -62175,7 +62170,7 @@ const gQA = {
|
|
|
62175
62170
|
visibility: "visible"
|
|
62176
62171
|
};
|
|
62177
62172
|
}
|
|
62178
|
-
function
|
|
62173
|
+
function V() {
|
|
62179
62174
|
if (!B.value || i.triggerMenuPlacement === "custom") {
|
|
62180
62175
|
h.value = void 0;
|
|
62181
62176
|
return;
|
|
@@ -62197,17 +62192,17 @@ const gQA = {
|
|
|
62197
62192
|
), nA = J(() => ({ ...C.theme.value, ...i.theme })), U = J(() => {
|
|
62198
62193
|
const T = nA.value, $ = {};
|
|
62199
62194
|
return T.inputBg && ($["--chat-sender-bg"] = T.inputBg), T.inputBorder && ($["--chat-sender-border"] = T.inputBorder), T.inputFocusBorder && ($["--chat-sender-focus-border"] = T.inputFocusBorder), T.buttonPrimaryBg && ($["--chat-sender-send-active-bg"] = T.buttonPrimaryBg), T.buttonPrimaryColor && ($["--chat-sender-send-active-color"] = T.buttonPrimaryColor), T.buttonSecondaryBg && ($["--chat-sender-btn-hover-bg"] = T.buttonSecondaryBg), T.buttonSecondaryColor && ($["--chat-sender-icon-color"] = T.buttonSecondaryColor), $;
|
|
62200
|
-
}), iA = ["5.13px", "8.44px", "14.17px", "8.44px", "5.13px"],
|
|
62195
|
+
}), iA = ["5.13px", "8.44px", "14.17px", "8.44px", "5.13px"], W = gA(!1), X = gA(!1), oA = gA(null), CA = J({
|
|
62201
62196
|
get: () => i.activeQuickAction === void 0 ? oA.value : i.activeQuickAction,
|
|
62202
62197
|
set: (T) => {
|
|
62203
62198
|
i.activeQuickAction === void 0 && (oA.value = T), r("update:activeQuickAction", T);
|
|
62204
62199
|
}
|
|
62205
|
-
}),
|
|
62200
|
+
}), _A = J(
|
|
62206
62201
|
() => i.quickActions.find((T) => T.id === CA.value)
|
|
62207
62202
|
), UA = J(
|
|
62208
62203
|
() => {
|
|
62209
62204
|
var T;
|
|
62210
|
-
return ((T =
|
|
62205
|
+
return ((T = _A.value) == null ? void 0 : T.placeholder) ?? i.placeholder;
|
|
62211
62206
|
}
|
|
62212
62207
|
);
|
|
62213
62208
|
function Ae(T) {
|
|
@@ -62642,16 +62637,16 @@ const gQA = {
|
|
|
62642
62637
|
!$ || fe($) || ve();
|
|
62643
62638
|
}
|
|
62644
62639
|
function wr() {
|
|
62645
|
-
|
|
62640
|
+
W.value = !0;
|
|
62646
62641
|
}
|
|
62647
62642
|
function ki(T) {
|
|
62648
62643
|
const $ = g.value, hA = T.relatedTarget;
|
|
62649
62644
|
$ && hA && $.contains(hA) || requestAnimationFrame(() => {
|
|
62650
62645
|
if ($ != null && $.contains(document.activeElement)) {
|
|
62651
|
-
|
|
62646
|
+
W.value = !0;
|
|
62652
62647
|
return;
|
|
62653
62648
|
}
|
|
62654
|
-
|
|
62649
|
+
W.value = !1;
|
|
62655
62650
|
});
|
|
62656
62651
|
}
|
|
62657
62652
|
function Zr(T) {
|
|
@@ -62700,7 +62695,7 @@ const gQA = {
|
|
|
62700
62695
|
B.value = { triggerId: re.triggerId, query: fA, range: YA.range }, nt && r("trigger-query", { triggerId: YA.trigger.id, query: fA });
|
|
62701
62696
|
}
|
|
62702
62697
|
Oe(() => {
|
|
62703
|
-
ti(),
|
|
62698
|
+
ti(), V();
|
|
62704
62699
|
});
|
|
62705
62700
|
}
|
|
62706
62701
|
function H(T) {
|
|
@@ -62922,18 +62917,18 @@ const gQA = {
|
|
|
62922
62917
|
Ve.value && !$.closest(".chat-sender__voice-wrapper") && !$.closest(".chat-sender__voice-menu") && ji(), X.value && !$.closest(".chat-sender__attachment-wrapper") && (X.value = !1), MA.value && !$.closest(".chat-sender__model-selector") && JA();
|
|
62923
62918
|
}
|
|
62924
62919
|
return Tr(() => {
|
|
62925
|
-
document.addEventListener("click", Ty), document.addEventListener("selectionchange", j), window.addEventListener("resize",
|
|
62920
|
+
document.addEventListener("click", Ty), document.addEventListener("selectionchange", j), window.addEventListener("resize", V), window.addEventListener("scroll", V, !0), window.addEventListener("resize", Ee), window.addEventListener("scroll", Ee, !0), Ly && i.showAttachment && (bu = Ly.register(Ko));
|
|
62926
62921
|
}), lm(() => {
|
|
62927
|
-
document.removeEventListener("click", Ty), document.removeEventListener("selectionchange", j), window.removeEventListener("resize",
|
|
62922
|
+
document.removeEventListener("click", Ty), document.removeEventListener("selectionchange", j), window.removeEventListener("resize", V), window.removeEventListener("scroll", V, !0), window.removeEventListener("resize", Ee), window.removeEventListener("scroll", Ee, !0), pA(), bi(), bu == null || bu(), bu = void 0, gQ(), ya.dispose();
|
|
62928
62923
|
}), (T, $) => {
|
|
62929
62924
|
var hA, YA;
|
|
62930
62925
|
return N(), Y("div", {
|
|
62931
62926
|
ref_key: "rootRef",
|
|
62932
62927
|
ref: g,
|
|
62933
62928
|
class: ce(["chat-sender", {
|
|
62934
|
-
"chat-sender--focused":
|
|
62929
|
+
"chat-sender--focused": W.value,
|
|
62935
62930
|
"chat-sender--disabled": i.disabled,
|
|
62936
|
-
"chat-sender--mode-active":
|
|
62931
|
+
"chat-sender--mode-active": _A.value,
|
|
62937
62932
|
"chat-sender--drag-over": Eg.value
|
|
62938
62933
|
}]),
|
|
62939
62934
|
style: ni(U.value),
|
|
@@ -63109,14 +63104,14 @@ const gQA = {
|
|
|
63109
63104
|
], 40, vQA))), 128)),
|
|
63110
63105
|
i.quickActions.length > 0 ? (N(), Y(he, { key: 2 }, [
|
|
63111
63106
|
x.value ? (N(), Y("span", yQA)) : BA("", !0),
|
|
63112
|
-
|
|
63113
|
-
|
|
63107
|
+
_A.value ? (N(), Y("div", bQA, [
|
|
63108
|
+
_A.value.icon ? (N(), WA(la(_A.value.icon), {
|
|
63114
63109
|
key: 0,
|
|
63115
63110
|
size: 14,
|
|
63116
63111
|
"stroke-width": 1.75,
|
|
63117
63112
|
"aria-hidden": "true"
|
|
63118
63113
|
})) : BA("", !0),
|
|
63119
|
-
M("span", null, uA(
|
|
63114
|
+
M("span", null, uA(_A.value.label), 1),
|
|
63120
63115
|
M("button", {
|
|
63121
63116
|
type: "button",
|
|
63122
63117
|
class: "chat-sender__quick-action-remove",
|
|
@@ -63564,12 +63559,12 @@ const gQA = {
|
|
|
63564
63559
|
}
|
|
63565
63560
|
function F(iA) {
|
|
63566
63561
|
var X;
|
|
63567
|
-
const
|
|
63562
|
+
const W = [];
|
|
63568
63563
|
for (const oA of iA.selected) {
|
|
63569
|
-
const CA = B.value.find((
|
|
63570
|
-
|
|
63564
|
+
const CA = B.value.find((_A) => _A.value === oA);
|
|
63565
|
+
W.push((CA == null ? void 0 : CA.label) ?? oA);
|
|
63571
63566
|
}
|
|
63572
|
-
return (X = iA.custom) != null && X.trim() &&
|
|
63567
|
+
return (X = iA.custom) != null && X.trim() && W.push(iA.custom.trim()), W.join(", ") || "(跳过)";
|
|
63573
63568
|
}
|
|
63574
63569
|
function L(iA) {
|
|
63575
63570
|
if (g.value) {
|
|
@@ -63577,15 +63572,15 @@ const gQA = {
|
|
|
63577
63572
|
return;
|
|
63578
63573
|
}
|
|
63579
63574
|
n.value = "", a.value = [iA.value];
|
|
63580
|
-
const
|
|
63575
|
+
const W = b();
|
|
63581
63576
|
if (u.value) {
|
|
63582
|
-
i("answerChange",
|
|
63577
|
+
i("answerChange", W), S();
|
|
63583
63578
|
return;
|
|
63584
63579
|
}
|
|
63585
|
-
x(
|
|
63580
|
+
x(W);
|
|
63586
63581
|
}
|
|
63587
63582
|
function O(iA) {
|
|
63588
|
-
a.value.includes(iA) ? a.value = a.value.filter((
|
|
63583
|
+
a.value.includes(iA) ? a.value = a.value.filter((W) => W !== iA) : a.value = [...a.value, iA], u.value && k();
|
|
63589
63584
|
}
|
|
63590
63585
|
function z() {
|
|
63591
63586
|
if (!D()) return;
|
|
@@ -63596,7 +63591,7 @@ const gQA = {
|
|
|
63596
63591
|
}
|
|
63597
63592
|
x(iA);
|
|
63598
63593
|
}
|
|
63599
|
-
function
|
|
63594
|
+
function V() {
|
|
63600
63595
|
!g.value && n.value.trim() && (a.value = []), u.value && k();
|
|
63601
63596
|
}
|
|
63602
63597
|
function q() {
|
|
@@ -63611,12 +63606,12 @@ const gQA = {
|
|
|
63611
63606
|
return;
|
|
63612
63607
|
}
|
|
63613
63608
|
a.value = [];
|
|
63614
|
-
const
|
|
63609
|
+
const W = { id: l.value, selected: [], custom: iA };
|
|
63615
63610
|
if (u.value) {
|
|
63616
|
-
i("answerChange",
|
|
63611
|
+
i("answerChange", W), S();
|
|
63617
63612
|
return;
|
|
63618
63613
|
}
|
|
63619
|
-
x(
|
|
63614
|
+
x(W);
|
|
63620
63615
|
}
|
|
63621
63616
|
function rA() {
|
|
63622
63617
|
if (!C.value) return;
|
|
@@ -63634,7 +63629,7 @@ const gQA = {
|
|
|
63634
63629
|
function U(iA) {
|
|
63635
63630
|
return a.value.includes(iA);
|
|
63636
63631
|
}
|
|
63637
|
-
return (iA,
|
|
63632
|
+
return (iA, W) => r.value ? BA("", !0) : (N(), Y("div", {
|
|
63638
63633
|
key: 0,
|
|
63639
63634
|
class: "ask-form",
|
|
63640
63635
|
"data-ask-user-input-banner": "true",
|
|
@@ -63705,14 +63700,14 @@ const gQA = {
|
|
|
63705
63700
|
}, [
|
|
63706
63701
|
M("span", bpA, uA(B.value.length + 1), 1),
|
|
63707
63702
|
jd(M("input", {
|
|
63708
|
-
"onUpdate:modelValue":
|
|
63703
|
+
"onUpdate:modelValue": W[0] || (W[0] = (X) => n.value = X),
|
|
63709
63704
|
class: "ask-form__other-input",
|
|
63710
63705
|
type: "text",
|
|
63711
63706
|
placeholder: "其他",
|
|
63712
63707
|
autocomplete: "off",
|
|
63713
|
-
onFocus:
|
|
63714
|
-
onBlur:
|
|
63715
|
-
onInput:
|
|
63708
|
+
onFocus: W[1] || (W[1] = (X) => o.value = !0),
|
|
63709
|
+
onBlur: W[2] || (W[2] = (X) => o.value = !1),
|
|
63710
|
+
onInput: V,
|
|
63716
63711
|
onKeyup: JR(q, ["enter"])
|
|
63717
63712
|
}, null, 544), [
|
|
63718
63713
|
[sm, n.value]
|
|
@@ -63727,7 +63722,7 @@ const gQA = {
|
|
|
63727
63722
|
class: "ask-form__icon-btn",
|
|
63728
63723
|
disabled: !f.value,
|
|
63729
63724
|
"aria-label": "上一题",
|
|
63730
|
-
onClick:
|
|
63725
|
+
onClick: W[3] || (W[3] = (X) => i("previous"))
|
|
63731
63726
|
}, [
|
|
63732
63727
|
ee(bA(JL), { size: 14 })
|
|
63733
63728
|
], 8, _pA),
|
|
@@ -63737,12 +63732,12 @@ const gQA = {
|
|
|
63737
63732
|
class: "ask-form__icon-btn",
|
|
63738
63733
|
disabled: !d.value,
|
|
63739
63734
|
"aria-label": "下一题",
|
|
63740
|
-
onClick:
|
|
63735
|
+
onClick: W[4] || (W[4] = (X) => i("next"))
|
|
63741
63736
|
}, [
|
|
63742
63737
|
ee(bA(OL), { size: 14 })
|
|
63743
63738
|
], 8, NpA)
|
|
63744
63739
|
]),
|
|
63745
|
-
|
|
63740
|
+
W[5] || (W[5] = M("div", {
|
|
63746
63741
|
class: "ask-form__feedback",
|
|
63747
63742
|
role: "status"
|
|
63748
63743
|
}, null, -1)),
|
|
@@ -63802,7 +63797,7 @@ class bt extends Error {
|
|
|
63802
63797
|
}
|
|
63803
63798
|
}
|
|
63804
63799
|
async function JpA(e, A) {
|
|
63805
|
-
var F, L, O, z,
|
|
63800
|
+
var F, L, O, z, V, q, rA, nA;
|
|
63806
63801
|
if ((F = A.signal) != null && F.aborted) return { status: "aborted", response: null };
|
|
63807
63802
|
const t = [];
|
|
63808
63803
|
let i = 0, r = null, n = null;
|
|
@@ -63825,10 +63820,10 @@ async function JpA(e, A) {
|
|
|
63825
63820
|
status: s ?? "completed",
|
|
63826
63821
|
response: r ? Object.assign({}, r, { output: OE(t) }) : null
|
|
63827
63822
|
}), B = (U, iA) => {
|
|
63828
|
-
var
|
|
63823
|
+
var W, X, oA;
|
|
63829
63824
|
switch (U.type) {
|
|
63830
63825
|
case "response.created":
|
|
63831
|
-
h(), r = qE(U.response), (
|
|
63826
|
+
h(), r = qE(U.response), (W = r.output) != null && W.length && u(r.output);
|
|
63832
63827
|
break;
|
|
63833
63828
|
case "response.in_progress":
|
|
63834
63829
|
r = qE(U.response), (X = r.output) != null && X.length && u(r.output);
|
|
@@ -63839,25 +63834,25 @@ async function JpA(e, A) {
|
|
|
63839
63834
|
break;
|
|
63840
63835
|
}
|
|
63841
63836
|
case "response.output_item.done": {
|
|
63842
|
-
const CA = c(U.output_index),
|
|
63837
|
+
const CA = c(U.output_index), _A = vS(U.item);
|
|
63843
63838
|
t[CA] = Lc(
|
|
63844
|
-
U.resource_files !== void 0 ? { ...
|
|
63839
|
+
U.resource_files !== void 0 ? { ..._A, resource_files: U.resource_files } : _A
|
|
63845
63840
|
), l = bl(t);
|
|
63846
63841
|
break;
|
|
63847
63842
|
}
|
|
63848
63843
|
case "response.content_part.added":
|
|
63849
63844
|
case "response.content_part.done": {
|
|
63850
|
-
const CA = HE(t, c(U.output_index), U.item_id),
|
|
63851
|
-
CA.content[
|
|
63845
|
+
const CA = HE(t, c(U.output_index), U.item_id), _A = Ga(U.content_index, "content_index");
|
|
63846
|
+
CA.content[_A] = qpA(Yh(U.part, "part")), l = bl(t);
|
|
63852
63847
|
break;
|
|
63853
63848
|
}
|
|
63854
63849
|
case "response.output_text.delta": {
|
|
63855
|
-
const CA = HE(t, c(U.output_index), U.item_id),
|
|
63850
|
+
const CA = HE(t, c(U.output_index), U.item_id), _A = Ga(U.content_index, "content_index"), UA = pS(CA, _A), Ae = Fr(U.delta, "delta");
|
|
63856
63851
|
UA.text += Ae, C(Ae);
|
|
63857
63852
|
break;
|
|
63858
63853
|
}
|
|
63859
63854
|
case "response.output_text.done": {
|
|
63860
|
-
const CA = HE(t, c(U.output_index), U.item_id),
|
|
63855
|
+
const CA = HE(t, c(U.output_index), U.item_id), _A = Ga(U.content_index, "content_index"), UA = pS(CA, _A);
|
|
63861
63856
|
UA.text = Fr(U.text, "text"), l = bl(t);
|
|
63862
63857
|
break;
|
|
63863
63858
|
}
|
|
@@ -63867,8 +63862,8 @@ async function JpA(e, A) {
|
|
|
63867
63862
|
t,
|
|
63868
63863
|
c(U.output_index),
|
|
63869
63864
|
U.item_id
|
|
63870
|
-
),
|
|
63871
|
-
(CA.summary ?? (CA.summary = []))[
|
|
63865
|
+
), _A = Ga(U.summary_index, "summary_index");
|
|
63866
|
+
(CA.summary ?? (CA.summary = []))[_A] = ZpA(
|
|
63872
63867
|
Yh(U.part, "part")
|
|
63873
63868
|
);
|
|
63874
63869
|
break;
|
|
@@ -63878,7 +63873,7 @@ async function JpA(e, A) {
|
|
|
63878
63873
|
t,
|
|
63879
63874
|
c(U.output_index),
|
|
63880
63875
|
U.item_id
|
|
63881
|
-
),
|
|
63876
|
+
), _A = Ga(U.summary_index, "summary_index"), UA = ES(CA, _A), Ae = Fr(U.delta, "delta");
|
|
63882
63877
|
UA.text += Ae, C(Ae);
|
|
63883
63878
|
break;
|
|
63884
63879
|
}
|
|
@@ -63887,13 +63882,13 @@ async function JpA(e, A) {
|
|
|
63887
63882
|
t,
|
|
63888
63883
|
c(U.output_index),
|
|
63889
63884
|
U.item_id
|
|
63890
|
-
),
|
|
63885
|
+
), _A = Ga(U.summary_index, "summary_index"), UA = ES(CA, _A);
|
|
63891
63886
|
UA.text = Fr(U.text, "text"), l = bl(t);
|
|
63892
63887
|
break;
|
|
63893
63888
|
}
|
|
63894
63889
|
case "response.function_call_arguments.delta": {
|
|
63895
|
-
const CA = QS(t, c(U.output_index), U.item_id),
|
|
63896
|
-
CA.arguments +=
|
|
63890
|
+
const CA = QS(t, c(U.output_index), U.item_id), _A = Fr(U.delta, "delta");
|
|
63891
|
+
CA.arguments += _A, C(_A);
|
|
63897
63892
|
break;
|
|
63898
63893
|
}
|
|
63899
63894
|
case "response.function_call_arguments.done": {
|
|
@@ -63925,10 +63920,10 @@ async function JpA(e, A) {
|
|
|
63925
63920
|
U.code ?? void 0
|
|
63926
63921
|
);
|
|
63927
63922
|
}, Q = () => {
|
|
63928
|
-
const U = [...a.keys()].sort((iA,
|
|
63923
|
+
const U = [...a.keys()].sort((iA, W) => iA - W);
|
|
63929
63924
|
for (const iA of U) {
|
|
63930
|
-
const
|
|
63931
|
-
|
|
63925
|
+
const W = a.get(iA);
|
|
63926
|
+
W && (a.delete(iA), B(W.event, W.frame), n = iA + 1);
|
|
63932
63927
|
}
|
|
63933
63928
|
}, p = () => {
|
|
63934
63929
|
if (n !== null)
|
|
@@ -63938,18 +63933,18 @@ async function JpA(e, A) {
|
|
|
63938
63933
|
a.delete(n), B(U.event, U.frame), n += 1;
|
|
63939
63934
|
}
|
|
63940
63935
|
}, E = (U, iA) => {
|
|
63941
|
-
const
|
|
63942
|
-
if (!(typeof
|
|
63936
|
+
const W = U.sequence_number;
|
|
63937
|
+
if (!(typeof W == "number" && Number.isSafeInteger(W) && W >= 0)) {
|
|
63943
63938
|
Q(), B(U, iA);
|
|
63944
63939
|
return;
|
|
63945
63940
|
}
|
|
63946
63941
|
if (U.type === "response.created")
|
|
63947
|
-
Q(), n =
|
|
63942
|
+
Q(), n = W;
|
|
63948
63943
|
else if (n === null)
|
|
63949
|
-
n =
|
|
63950
|
-
else if (
|
|
63944
|
+
n = W;
|
|
63945
|
+
else if (W < n)
|
|
63951
63946
|
return;
|
|
63952
|
-
a.set(
|
|
63947
|
+
a.set(W, { event: U, frame: iA }), p(), YpA.has(U.type) && a.size > 0 && Q();
|
|
63953
63948
|
}, v = (U) => {
|
|
63954
63949
|
const iA = OpA(U);
|
|
63955
63950
|
iA && E(iA, U);
|
|
@@ -63957,8 +63952,8 @@ async function JpA(e, A) {
|
|
|
63957
63952
|
if (((U) => {
|
|
63958
63953
|
if (U != null && U.length) {
|
|
63959
63954
|
for (const iA of U)
|
|
63960
|
-
for (const
|
|
63961
|
-
if (v(
|
|
63955
|
+
for (const W of HpA(iA))
|
|
63956
|
+
if (v(W), s) return;
|
|
63962
63957
|
a.size > 0 && Q();
|
|
63963
63958
|
}
|
|
63964
63959
|
})(A.replay), f(), (L = A.signal) != null && L.aborted) return { status: "aborted", response: r };
|
|
@@ -63982,9 +63977,9 @@ async function JpA(e, A) {
|
|
|
63982
63977
|
if ((z = A.signal) != null && z.aborted) return { status: "aborted", response: r };
|
|
63983
63978
|
if (U.done) break;
|
|
63984
63979
|
const iA = k.decode(U.value, { stream: !0 });
|
|
63985
|
-
for (const
|
|
63986
|
-
if (v(
|
|
63987
|
-
if (f(), (
|
|
63980
|
+
for (const W of S.push(iA))
|
|
63981
|
+
if (v(W), s) break;
|
|
63982
|
+
if (f(), (V = A.signal) != null && V.aborted) return { status: "aborted", response: r };
|
|
63988
63983
|
}
|
|
63989
63984
|
if (!s && !((q = A.signal) != null && q.aborted)) {
|
|
63990
63985
|
const U = k.decode();
|
|
@@ -64449,7 +64444,7 @@ const PpA = ["aria-busy"], KpA = { class: "ai-conversation__ask-dock-inner" }, P
|
|
|
64449
64444
|
)
|
|
64450
64445
|
), O = J(() => i.status === "streaming"), z = J(
|
|
64451
64446
|
() => i.responseError ? cR(i.responseError) : null
|
|
64452
|
-
),
|
|
64447
|
+
), V = J(() => {
|
|
64453
64448
|
var AA, lA;
|
|
64454
64449
|
for (let pA = u.value.length - 1; pA >= 0; pA -= 1) {
|
|
64455
64450
|
const te = u.value[pA];
|
|
@@ -64506,8 +64501,8 @@ const PpA = ["aria-busy"], KpA = { class: "ai-conversation__ask-dock-inner" }, P
|
|
|
64506
64501
|
"--ai-conversation-shadow-sm": "var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.04))",
|
|
64507
64502
|
"--ai-conversation-return-shadow": "var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.04))",
|
|
64508
64503
|
"--ai-conversation-ask-dock-height": `${nA.value}px`
|
|
64509
|
-
})), iA = gA(),
|
|
64510
|
-
let oA, CA = 0,
|
|
64504
|
+
})), iA = gA(), W = gA(), X = gA(!0);
|
|
64505
|
+
let oA, CA = 0, _A = 0, UA = !1, Ae = "compact";
|
|
64511
64506
|
function OA(AA) {
|
|
64512
64507
|
let lA = 0;
|
|
64513
64508
|
for (const pA of AA)
|
|
@@ -64571,7 +64566,7 @@ const PpA = ["aria-busy"], KpA = { class: "ai-conversation__ask-dock-inner" }, P
|
|
|
64571
64566
|
return Math.max(0, Le(lA, AA) - IA(AA));
|
|
64572
64567
|
}
|
|
64573
64568
|
function We() {
|
|
64574
|
-
const AA = iA.value, lA =
|
|
64569
|
+
const AA = iA.value, lA = W.value;
|
|
64575
64570
|
if (!AA || !lA || f.value.length === 0)
|
|
64576
64571
|
return lA && (lA.style.height = "0px"), "compact";
|
|
64577
64572
|
if (ft(AA, lA))
|
|
@@ -64586,13 +64581,13 @@ const PpA = ["aria-busy"], KpA = { class: "ai-conversation__ask-dock-inner" }, P
|
|
|
64586
64581
|
return lA.style.height = `${Ee}px`, Ee > 0 ? "anchored" : "following";
|
|
64587
64582
|
}
|
|
64588
64583
|
function $t() {
|
|
64589
|
-
const AA = iA.value, lA =
|
|
64584
|
+
const AA = iA.value, lA = W.value;
|
|
64590
64585
|
if (lA && (lA.style.height = "0px"), Ae = "compact", Xe(), !AA) return;
|
|
64591
64586
|
const pA = ZA(AA);
|
|
64592
64587
|
AA.scrollTop > pA && (AA.scrollTop = pA), X.value = !0;
|
|
64593
64588
|
}
|
|
64594
64589
|
function Xe() {
|
|
64595
|
-
|
|
64590
|
+
_A && (cancelAnimationFrame(_A), _A = 0), UA = !1;
|
|
64596
64591
|
}
|
|
64597
64592
|
function Ei(AA) {
|
|
64598
64593
|
return 1 - Math.pow(1 - AA, 3);
|
|
@@ -64621,18 +64616,18 @@ const PpA = ["aria-busy"], KpA = { class: "ai-conversation__ask-dock-inner" }, P
|
|
|
64621
64616
|
Xe();
|
|
64622
64617
|
return;
|
|
64623
64618
|
}
|
|
64624
|
-
if (ft(Nt,
|
|
64619
|
+
if (ft(Nt, W.value)) {
|
|
64625
64620
|
Xe(), $t();
|
|
64626
64621
|
return;
|
|
64627
64622
|
}
|
|
64628
64623
|
const ui = Math.min(1, (Kt - we) / VpA), $i = Li(Nt);
|
|
64629
64624
|
if (AA.scrollTop = te + ($i - te) * Ei(ui), ui < 1) {
|
|
64630
|
-
|
|
64625
|
+
_A = requestAnimationFrame(Ee);
|
|
64631
64626
|
return;
|
|
64632
64627
|
}
|
|
64633
|
-
|
|
64628
|
+
_A = 0, AA.scrollTop = Li(Nt), UA = !1, X.value = !0;
|
|
64634
64629
|
};
|
|
64635
|
-
|
|
64630
|
+
_A = requestAnimationFrame(Ee);
|
|
64636
64631
|
}
|
|
64637
64632
|
function cr() {
|
|
64638
64633
|
const AA = iA.value;
|
|
@@ -64642,7 +64637,7 @@ const PpA = ["aria-busy"], KpA = { class: "ai-conversation__ask-dock-inner" }, P
|
|
|
64642
64637
|
r("retry");
|
|
64643
64638
|
}
|
|
64644
64639
|
function ji(AA) {
|
|
64645
|
-
const lA = iA.value, pA =
|
|
64640
|
+
const lA = iA.value, pA = W.value;
|
|
64646
64641
|
if (!lA || !pA) return;
|
|
64647
64642
|
if (ft(lA, pA)) {
|
|
64648
64643
|
$t();
|
|
@@ -64670,7 +64665,7 @@ const PpA = ["aria-busy"], KpA = { class: "ai-conversation__ask-dock-inner" }, P
|
|
|
64670
64665
|
UA || (X.value = cr());
|
|
64671
64666
|
}
|
|
64672
64667
|
function kA() {
|
|
64673
|
-
|
|
64668
|
+
_A && (Xe(), X.value = cr());
|
|
64674
64669
|
}
|
|
64675
64670
|
function Pt() {
|
|
64676
64671
|
X.value = !0, Oe(() => ji({ intent: "return", smooth: !0 }));
|
|
@@ -64684,18 +64679,18 @@ const PpA = ["aria-busy"], KpA = { class: "ai-conversation__ask-dock-inner" }, P
|
|
|
64684
64679
|
}
|
|
64685
64680
|
oA.disconnect(), oA.observe(AA);
|
|
64686
64681
|
for (const te of AA.children)
|
|
64687
|
-
te !==
|
|
64682
|
+
te !== W.value && oA.observe(te);
|
|
64688
64683
|
rA.value && oA.observe(rA.value), nA.value = ((pA = rA.value) == null ? void 0 : pA.offsetHeight) ?? 0;
|
|
64689
64684
|
}
|
|
64690
64685
|
function vi() {
|
|
64691
64686
|
var pA;
|
|
64692
64687
|
nA.value = ((pA = rA.value) == null ? void 0 : pA.offsetHeight) ?? 0;
|
|
64693
|
-
const AA = iA.value, lA =
|
|
64688
|
+
const AA = iA.value, lA = W.value;
|
|
64694
64689
|
if (AA && lA && ft(AA, lA)) {
|
|
64695
64690
|
$t();
|
|
64696
64691
|
return;
|
|
64697
64692
|
}
|
|
64698
|
-
if (
|
|
64693
|
+
if (_A) {
|
|
64699
64694
|
We();
|
|
64700
64695
|
return;
|
|
64701
64696
|
}
|
|
@@ -64705,7 +64700,7 @@ const PpA = ["aria-busy"], KpA = { class: "ai-conversation__ask-dock-inner" }, P
|
|
|
64705
64700
|
Oe(() => {
|
|
64706
64701
|
lt(), requestAnimationFrame(() => {
|
|
64707
64702
|
requestAnimationFrame(() => {
|
|
64708
|
-
const pA = iA.value, te =
|
|
64703
|
+
const pA = iA.value, te = W.value;
|
|
64709
64704
|
if (!(!pA || !te)) {
|
|
64710
64705
|
if (ft(pA, te)) {
|
|
64711
64706
|
$t();
|
|
@@ -64818,7 +64813,7 @@ const PpA = ["aria-busy"], KpA = { class: "ai-conversation__ask-dock-inner" }, P
|
|
|
64818
64813
|
});
|
|
64819
64814
|
return;
|
|
64820
64815
|
}
|
|
64821
|
-
if (
|
|
64816
|
+
if (_A) {
|
|
64822
64817
|
Oe(() => {
|
|
64823
64818
|
lt(), We();
|
|
64824
64819
|
});
|
|
@@ -64960,13 +64955,13 @@ const PpA = ["aria-busy"], KpA = { class: "ai-conversation__ask-dock-inner" }, P
|
|
|
64960
64955
|
key: 1,
|
|
64961
64956
|
error: e.responseError,
|
|
64962
64957
|
info: z.value,
|
|
64963
|
-
hasPartialContent:
|
|
64958
|
+
hasPartialContent: V.value,
|
|
64964
64959
|
retry: vn
|
|
64965
64960
|
}, void 0, !0) : BA("", !0),
|
|
64966
64961
|
Be(AA.$slots, "append", {}, void 0, !0),
|
|
64967
64962
|
M("div", {
|
|
64968
64963
|
ref_key: "turnSpacerRef",
|
|
64969
|
-
ref:
|
|
64964
|
+
ref: W,
|
|
64970
64965
|
class: "ai-conversation__turn-spacer",
|
|
64971
64966
|
"aria-hidden": "true",
|
|
64972
64967
|
"data-testid": "conversation-turn-spacer"
|
|
@@ -65378,11 +65373,11 @@ const gEA = {
|
|
|
65378
65373
|
const t = e, i = A, r = gA("preview"), n = gA(!1), a = gA(!1), o = gA(!1), s = ZR(), l = gA(), g = gA(), c = gA(), h = gA(), u = gA();
|
|
65379
65374
|
let C;
|
|
65380
65375
|
const I = J(() => {
|
|
65381
|
-
var
|
|
65382
|
-
return ((
|
|
65376
|
+
var V;
|
|
65377
|
+
return ((V = t.artifact.title) == null ? void 0 : V.trim()) || "Artifact card";
|
|
65383
65378
|
}), f = J(() => {
|
|
65384
|
-
var
|
|
65385
|
-
return ((
|
|
65379
|
+
var V;
|
|
65380
|
+
return ((V = t.artifact.artifactType) == null ? void 0 : V.trim()) || "text";
|
|
65386
65381
|
}), d = J(() => f.value === "code" && t.artifact.language ? t.artifact.language.toUpperCase() : f.value.toUpperCase()), B = J(() => t.artifact.content ?? ""), Q = J(() => B.value.length > 0), p = J(
|
|
65387
65382
|
() => Hc(f.value) && !!t.artifact.content || !!t.artifact.src
|
|
65388
65383
|
), E = J(
|
|
@@ -65400,13 +65395,13 @@ const gEA = {
|
|
|
65400
65395
|
r.value = "preview", n.value = !1, a.value = !1, o.value = !1, C && clearTimeout(C);
|
|
65401
65396
|
}
|
|
65402
65397
|
);
|
|
65403
|
-
function b(
|
|
65404
|
-
r.value =
|
|
65398
|
+
function b(V) {
|
|
65399
|
+
r.value = V;
|
|
65405
65400
|
}
|
|
65406
|
-
async function k(
|
|
65407
|
-
if (!["ArrowLeft", "ArrowRight", "Home", "End"].includes(
|
|
65408
|
-
|
|
65409
|
-
const q =
|
|
65401
|
+
async function k(V) {
|
|
65402
|
+
if (!["ArrowLeft", "ArrowRight", "Home", "End"].includes(V.key)) return;
|
|
65403
|
+
V.preventDefault();
|
|
65404
|
+
const q = V.key === "ArrowRight" || V.key === "End" ? "code" : "preview";
|
|
65410
65405
|
r.value = q, await Oe();
|
|
65411
65406
|
const rA = q === "preview" ? l.value : g.value;
|
|
65412
65407
|
rA == null || rA.focus();
|
|
@@ -65424,16 +65419,16 @@ const gEA = {
|
|
|
65424
65419
|
}, 1600);
|
|
65425
65420
|
}
|
|
65426
65421
|
}
|
|
65427
|
-
async function x(
|
|
65422
|
+
async function x(V) {
|
|
65428
65423
|
var rA;
|
|
65429
65424
|
if (typeof navigator < "u" && ((rA = navigator.clipboard) != null && rA.writeText))
|
|
65430
65425
|
try {
|
|
65431
|
-
return await navigator.clipboard.writeText(
|
|
65426
|
+
return await navigator.clipboard.writeText(V), !0;
|
|
65432
65427
|
} catch {
|
|
65433
65428
|
}
|
|
65434
65429
|
if (typeof document > "u") return !1;
|
|
65435
65430
|
const q = document.createElement("textarea");
|
|
65436
|
-
q.value =
|
|
65431
|
+
q.value = V, q.setAttribute("readonly", ""), q.style.position = "fixed", q.style.opacity = "0", document.body.append(q), q.select();
|
|
65437
65432
|
try {
|
|
65438
65433
|
return document.execCommand("copy");
|
|
65439
65434
|
} finally {
|
|
@@ -65441,8 +65436,8 @@ const gEA = {
|
|
|
65441
65436
|
}
|
|
65442
65437
|
}
|
|
65443
65438
|
async function F() {
|
|
65444
|
-
var
|
|
65445
|
-
o.value = !o.value, o.value && (await Oe(), (
|
|
65439
|
+
var V;
|
|
65440
|
+
o.value = !o.value, o.value && (await Oe(), (V = u.value) == null || V.focus());
|
|
65446
65441
|
}
|
|
65447
65442
|
function L() {
|
|
65448
65443
|
p.value && (Lm({
|
|
@@ -65453,19 +65448,19 @@ const gEA = {
|
|
|
65453
65448
|
src: t.artifact.src
|
|
65454
65449
|
}), o.value = !1);
|
|
65455
65450
|
}
|
|
65456
|
-
function O(
|
|
65451
|
+
function O(V) {
|
|
65457
65452
|
var q;
|
|
65458
|
-
!o.value || (q = c.value) != null && q.contains(
|
|
65453
|
+
!o.value || (q = c.value) != null && q.contains(V.target) || (o.value = !1);
|
|
65459
65454
|
}
|
|
65460
|
-
function z(
|
|
65455
|
+
function z(V) {
|
|
65461
65456
|
var q;
|
|
65462
|
-
|
|
65457
|
+
V.key !== "Escape" || !o.value || (o.value = !1, (q = h.value) == null || q.focus());
|
|
65463
65458
|
}
|
|
65464
65459
|
return Tr(() => {
|
|
65465
65460
|
document.addEventListener("pointerdown", O), document.addEventListener("keydown", z);
|
|
65466
65461
|
}), Ui(() => {
|
|
65467
65462
|
document.removeEventListener("pointerdown", O), document.removeEventListener("keydown", z), C && clearTimeout(C);
|
|
65468
|
-
}), (
|
|
65463
|
+
}), (V, q) => (N(), Y("section", {
|
|
65469
65464
|
class: "artifact-preview",
|
|
65470
65465
|
"aria-label": `${I.value} preview`
|
|
65471
65466
|
}, [
|
|
@@ -66352,7 +66347,7 @@ const qvA = ["data-chat-color-mode"], PvA = { class: "chat-bot__main" }, KvA = {
|
|
|
66352
66347
|
), z = J(() => ({
|
|
66353
66348
|
...n.previewRenderers.value,
|
|
66354
66349
|
...i.previewRenderers
|
|
66355
|
-
})),
|
|
66350
|
+
})), V = J(() => ({
|
|
66356
66351
|
...n.toolRenderers.value,
|
|
66357
66352
|
...i.toolRenderers
|
|
66358
66353
|
})), q = J(() => ({
|
|
@@ -66372,7 +66367,7 @@ const qvA = ["data-chat-color-mode"], PvA = { class: "chat-bot__main" }, KvA = {
|
|
|
66372
66367
|
limits: O,
|
|
66373
66368
|
theme: x,
|
|
66374
66369
|
previewRenderers: z,
|
|
66375
|
-
toolRenderers:
|
|
66370
|
+
toolRenderers: V
|
|
66376
66371
|
}), Ue(
|
|
66377
66372
|
() => i.messages,
|
|
66378
66373
|
(aA) => {
|
|
@@ -66385,7 +66380,7 @@ const qvA = ["data-chat-color-mode"], PvA = { class: "chat-bot__main" }, KvA = {
|
|
|
66385
66380
|
},
|
|
66386
66381
|
{ deep: !0 }
|
|
66387
66382
|
), Ue(s, (aA) => {
|
|
66388
|
-
r("status-change", aA), aA === "completed" && Oe(
|
|
66383
|
+
r("status-change", aA), aA === "completed" && Oe(W);
|
|
66389
66384
|
}), Tr(() => {
|
|
66390
66385
|
Ve(i.messages, a) || r("update:messages", IA(a));
|
|
66391
66386
|
});
|
|
@@ -66407,7 +66402,7 @@ const qvA = ["data-chat-color-mode"], PvA = { class: "chat-bot__main" }, KvA = {
|
|
|
66407
66402
|
function iA(aA) {
|
|
66408
66403
|
D.value = aA, $A([...o.value, Fe(aA.message)]), r("send", aA);
|
|
66409
66404
|
}
|
|
66410
|
-
function
|
|
66405
|
+
function W() {
|
|
66411
66406
|
const aA = y.value[0];
|
|
66412
66407
|
!aA || s.value === "streaming" || (X(y.value.slice(1)), iA(aA.payload));
|
|
66413
66408
|
}
|
|
@@ -66420,7 +66415,7 @@ const qvA = ["data-chat-color-mode"], PvA = { class: "chat-bot__main" }, KvA = {
|
|
|
66420
66415
|
function CA(aA) {
|
|
66421
66416
|
X(DvA(y.value, aA));
|
|
66422
66417
|
}
|
|
66423
|
-
function
|
|
66418
|
+
function _A(aA, cA) {
|
|
66424
66419
|
X(bvA(y.value, aA, cA));
|
|
66425
66420
|
}
|
|
66426
66421
|
function UA(aA) {
|
|
@@ -66599,7 +66594,7 @@ const qvA = ["data-chat-color-mode"], PvA = { class: "chat-bot__main" }, KvA = {
|
|
|
66599
66594
|
consume: ie,
|
|
66600
66595
|
abort: ZA,
|
|
66601
66596
|
scrollToBottom: Pe,
|
|
66602
|
-
sendNextQueued:
|
|
66597
|
+
sendNextQueued: W,
|
|
66603
66598
|
addFiles: ln,
|
|
66604
66599
|
setMessages: MA,
|
|
66605
66600
|
hydrateHistory: ae,
|
|
@@ -66708,7 +66703,7 @@ const qvA = ["data-chat-color-mode"], PvA = { class: "chat-bot__main" }, KvA = {
|
|
|
66708
66703
|
items: y.value,
|
|
66709
66704
|
onEdit: oA,
|
|
66710
66705
|
onRemove: CA,
|
|
66711
|
-
onReorder:
|
|
66706
|
+
onReorder: _A
|
|
66712
66707
|
}, null, 8, ["items"])) : BA("", !0),
|
|
66713
66708
|
Be(aA.$slots, "sender", {}, () => [
|
|
66714
66709
|
ee(apA, po({
|