locust-ui 2.41.6 → 2.41.7-next-18562655738
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/lib/types/lib.d.ts +40 -40
- package/lib/webui.js +458 -461
- package/package.json +3 -2
package/lib/webui.js
CHANGED
|
@@ -137,14 +137,14 @@ function wE() {
|
|
|
137
137
|
}
|
|
138
138
|
return null;
|
|
139
139
|
}
|
|
140
|
-
var P = Object.assign, N = 0, L, U, j,
|
|
140
|
+
var P = Object.assign, N = 0, L, U, j, G, k, B, F;
|
|
141
141
|
function H() {
|
|
142
142
|
}
|
|
143
143
|
H.__reactDisabledLog = !0;
|
|
144
144
|
function Y() {
|
|
145
145
|
{
|
|
146
146
|
if (N === 0) {
|
|
147
|
-
L = console.log, U = console.info, j = console.warn,
|
|
147
|
+
L = console.log, U = console.info, j = console.warn, G = console.error, k = console.group, B = console.groupCollapsed, F = console.groupEnd;
|
|
148
148
|
var O = {
|
|
149
149
|
configurable: !0,
|
|
150
150
|
enumerable: !0,
|
|
@@ -183,7 +183,7 @@ function wE() {
|
|
|
183
183
|
value: j
|
|
184
184
|
}),
|
|
185
185
|
error: P({}, O, {
|
|
186
|
-
value:
|
|
186
|
+
value: G
|
|
187
187
|
}),
|
|
188
188
|
group: P({}, O, {
|
|
189
189
|
value: k
|
|
@@ -401,7 +401,7 @@ function wE() {
|
|
|
401
401
|
function er(O, $) {
|
|
402
402
|
typeof O.ref == "string" && fo.current;
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function Wt(O, $) {
|
|
405
405
|
{
|
|
406
406
|
var K = function() {
|
|
407
407
|
ho || (ho = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", $));
|
|
@@ -465,7 +465,7 @@ function wE() {
|
|
|
465
465
|
}
|
|
466
466
|
if (be || wt) {
|
|
467
467
|
var rt = typeof O == "function" ? O.displayName || O.name || "Unknown" : O;
|
|
468
|
-
be &&
|
|
468
|
+
be && Wt(we, rt), wt && cf(we, rt);
|
|
469
469
|
}
|
|
470
470
|
return kT(O, be, wt, De, he, fo.current, we);
|
|
471
471
|
}
|
|
@@ -613,13 +613,13 @@ Check the top-level render call using <` + K + ">.");
|
|
|
613
613
|
return HT !== "key";
|
|
614
614
|
}), pf = It.length > 0 ? "{key: someKey, " + It.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
615
615
|
if (!Ig[ei + pf]) {
|
|
616
|
-
var
|
|
616
|
+
var GT = It.length > 0 ? "{" + It.join(": ..., ") + ": ...}" : "{}";
|
|
617
617
|
y(`A props object containing a "key" prop is being spread into JSX:
|
|
618
618
|
let props = %s;
|
|
619
619
|
<%s {...props} />
|
|
620
620
|
React keys must be passed directly to JSX without using spread:
|
|
621
621
|
let props = %s;
|
|
622
|
-
<%s key={someKey} {...props} />`, pf, ei,
|
|
622
|
+
<%s key={someKey} {...props} />`, pf, ei, GT, ei), Ig[ei + pf] = !0;
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
625
|
return O === n ? FT(rt) : VT(rt), rt;
|
|
@@ -631,8 +631,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
631
631
|
function jT(O, $, K) {
|
|
632
632
|
return Pg(O, $, K, !1);
|
|
633
633
|
}
|
|
634
|
-
var $T = jT,
|
|
635
|
-
go.Fragment = n, go.jsx = $T, go.jsxs =
|
|
634
|
+
var $T = jT, WT = zT;
|
|
635
|
+
go.Fragment = n, go.jsx = $T, go.jsxs = WT;
|
|
636
636
|
}()), go;
|
|
637
637
|
}
|
|
638
638
|
var Bg;
|
|
@@ -764,7 +764,7 @@ function EE() {
|
|
|
764
764
|
}
|
|
765
765
|
}
|
|
766
766
|
var S = u, w = l, C = s, E = o, A = t, x = c, D = n, M = p, I = d, P = r, N = a, L = i, U = f, j = !1;
|
|
767
|
-
function
|
|
767
|
+
function G(z) {
|
|
768
768
|
return j || (j = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), k(z) || b(z) === u;
|
|
769
769
|
}
|
|
770
770
|
function k(z) {
|
|
@@ -803,7 +803,7 @@ function EE() {
|
|
|
803
803
|
function ee(z) {
|
|
804
804
|
return b(z) === f;
|
|
805
805
|
}
|
|
806
|
-
Me.AsyncMode = S, Me.ConcurrentMode = w, Me.ContextConsumer = C, Me.ContextProvider = E, Me.Element = A, Me.ForwardRef = x, Me.Fragment = D, Me.Lazy = M, Me.Memo = I, Me.Portal = P, Me.Profiler = N, Me.StrictMode = L, Me.Suspense = U, Me.isAsyncMode =
|
|
806
|
+
Me.AsyncMode = S, Me.ConcurrentMode = w, Me.ContextConsumer = C, Me.ContextProvider = E, Me.Element = A, Me.ForwardRef = x, Me.Fragment = D, Me.Lazy = M, Me.Memo = I, Me.Portal = P, Me.Profiler = N, Me.StrictMode = L, Me.Suspense = U, Me.isAsyncMode = G, Me.isConcurrentMode = k, Me.isContextConsumer = B, Me.isContextProvider = F, Me.isElement = H, Me.isForwardRef = Y, Me.isFragment = ae, Me.isLazy = X, Me.isMemo = re, Me.isPortal = le, Me.isProfiler = oe, Me.isStrictMode = ne, Me.isSuspense = ee, Me.isValidElementType = _, Me.typeOf = b;
|
|
807
807
|
}()), Me;
|
|
808
808
|
}
|
|
809
809
|
var zg;
|
|
@@ -868,14 +868,14 @@ function Vp() {
|
|
|
868
868
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
869
869
|
return mf = e, mf;
|
|
870
870
|
}
|
|
871
|
-
var yf,
|
|
871
|
+
var yf, Wg;
|
|
872
872
|
function hb() {
|
|
873
|
-
return
|
|
873
|
+
return Wg || (Wg = 1, yf = Function.call.bind(Object.prototype.hasOwnProperty)), yf;
|
|
874
874
|
}
|
|
875
|
-
var _f,
|
|
875
|
+
var _f, Gg;
|
|
876
876
|
function AE() {
|
|
877
|
-
if (
|
|
878
|
-
|
|
877
|
+
if (Gg) return _f;
|
|
878
|
+
Gg = 1;
|
|
879
879
|
var e = function() {
|
|
880
880
|
};
|
|
881
881
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -1056,7 +1056,7 @@ function ME() {
|
|
|
1056
1056
|
function w(k) {
|
|
1057
1057
|
function B(F, H, Y, ae, X) {
|
|
1058
1058
|
if (!(F[H] instanceof k)) {
|
|
1059
|
-
var re = k.name || h, le =
|
|
1059
|
+
var re = k.name || h, le = G(F[H]);
|
|
1060
1060
|
return new v("Invalid " + ae + " `" + X + "` of type " + ("`" + le + "` supplied to `" + Y + "`, expected ") + ("instance of `" + re + "`."));
|
|
1061
1061
|
}
|
|
1062
1062
|
return null;
|
|
@@ -1236,7 +1236,7 @@ Valid keys: ` + JSON.stringify(Object.keys(k), null, " ")
|
|
|
1236
1236
|
return B;
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1239
|
+
function G(k) {
|
|
1240
1240
|
return !k.constructor || !k.constructor.name ? h : k.constructor.name;
|
|
1241
1241
|
}
|
|
1242
1242
|
return d.checkPropTypes = i, d.resetWarningCache = i.resetWarningCache, d.PropTypes = d, d;
|
|
@@ -1301,14 +1301,14 @@ function OE() {
|
|
|
1301
1301
|
return gu.exports;
|
|
1302
1302
|
}
|
|
1303
1303
|
var IE = /* @__PURE__ */ OE();
|
|
1304
|
-
const
|
|
1305
|
-
function
|
|
1304
|
+
const W = /* @__PURE__ */ SE(IE);
|
|
1305
|
+
function Gn(e, ...t) {
|
|
1306
1306
|
const r = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
1307
1307
|
return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`;
|
|
1308
1308
|
}
|
|
1309
1309
|
function Vi(e) {
|
|
1310
1310
|
if (typeof e != "string")
|
|
1311
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." :
|
|
1311
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Gn(7));
|
|
1312
1312
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
1313
1313
|
}
|
|
1314
1314
|
var yu = { exports: {} }, Ne = {};
|
|
@@ -1495,7 +1495,7 @@ function is(e, t) {
|
|
|
1495
1495
|
// No need to clone deep, it's way faster.
|
|
1496
1496
|
}) : e;
|
|
1497
1497
|
}
|
|
1498
|
-
const Qn = process.env.NODE_ENV !== "production" ?
|
|
1498
|
+
const Qn = process.env.NODE_ENV !== "production" ? W.oneOfType([W.number, W.string, W.object, W.array]) : {};
|
|
1499
1499
|
function LE(e, t) {
|
|
1500
1500
|
if (!e.containerQueries)
|
|
1501
1501
|
return t;
|
|
@@ -1519,7 +1519,7 @@ function VE(e, t) {
|
|
|
1519
1519
|
if (!r) {
|
|
1520
1520
|
if (process.env.NODE_ENV !== "production")
|
|
1521
1521
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
1522
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` :
|
|
1522
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : Gn(18, `(${t})`));
|
|
1523
1523
|
return null;
|
|
1524
1524
|
}
|
|
1525
1525
|
const [, n, i] = r, a = Number.isNaN(+n) ? n || 0 : +n;
|
|
@@ -1635,11 +1635,11 @@ function tt(e) {
|
|
|
1635
1635
|
[t]: Qn
|
|
1636
1636
|
} : {}, a.filterProps = [t], a;
|
|
1637
1637
|
}
|
|
1638
|
-
function
|
|
1638
|
+
function WE(e) {
|
|
1639
1639
|
const t = {};
|
|
1640
1640
|
return (r) => (t[r] === void 0 && (t[r] = e(r)), t[r]);
|
|
1641
1641
|
}
|
|
1642
|
-
const
|
|
1642
|
+
const GE = {
|
|
1643
1643
|
m: "margin",
|
|
1644
1644
|
p: "padding"
|
|
1645
1645
|
}, HE = {
|
|
@@ -1654,13 +1654,13 @@ const WE = {
|
|
|
1654
1654
|
marginY: "my",
|
|
1655
1655
|
paddingX: "px",
|
|
1656
1656
|
paddingY: "py"
|
|
1657
|
-
}, UE =
|
|
1657
|
+
}, UE = WE((e) => {
|
|
1658
1658
|
if (e.length > 2)
|
|
1659
1659
|
if (Qg[e])
|
|
1660
1660
|
e = Qg[e];
|
|
1661
1661
|
else
|
|
1662
1662
|
return [e];
|
|
1663
|
-
const [t, r] = e.split(""), n =
|
|
1663
|
+
const [t, r] = e.split(""), n = GE[t], i = HE[r] || "";
|
|
1664
1664
|
return Array.isArray(i) ? i.map((a) => n + a) : [n + i];
|
|
1665
1665
|
}), pc = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], vc = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], YE = [...pc, ...vc];
|
|
1666
1666
|
function Ys(e, t, r, n) {
|
|
@@ -2438,8 +2438,8 @@ function jp(e) {
|
|
|
2438
2438
|
});
|
|
2439
2439
|
}
|
|
2440
2440
|
process.env.NODE_ENV !== "production" && (jp.propTypes = {
|
|
2441
|
-
defaultTheme:
|
|
2442
|
-
styles:
|
|
2441
|
+
defaultTheme: W.object,
|
|
2442
|
+
styles: W.oneOfType([W.array, W.string, W.object, W.func])
|
|
2443
2443
|
});
|
|
2444
2444
|
/**
|
|
2445
2445
|
* @mui/styled-engine v7.1.1
|
|
@@ -2582,15 +2582,15 @@ function $p(e = {}, ...t) {
|
|
|
2582
2582
|
});
|
|
2583
2583
|
}, l;
|
|
2584
2584
|
}
|
|
2585
|
-
function
|
|
2585
|
+
function WD(e) {
|
|
2586
2586
|
return Object.keys(e).length === 0;
|
|
2587
2587
|
}
|
|
2588
2588
|
function mb(e = null) {
|
|
2589
2589
|
const t = ve.useContext(cb);
|
|
2590
|
-
return !t ||
|
|
2590
|
+
return !t || WD(t) ? e : t;
|
|
2591
2591
|
}
|
|
2592
|
-
const
|
|
2593
|
-
function HD(e =
|
|
2592
|
+
const GD = $p();
|
|
2593
|
+
function HD(e = GD) {
|
|
2594
2594
|
return mb(e);
|
|
2595
2595
|
}
|
|
2596
2596
|
function yb({
|
|
@@ -2611,15 +2611,15 @@ process.env.NODE_ENV !== "production" && (yb.propTypes = {
|
|
|
2611
2611
|
/**
|
|
2612
2612
|
* @ignore
|
|
2613
2613
|
*/
|
|
2614
|
-
defaultTheme:
|
|
2614
|
+
defaultTheme: W.object,
|
|
2615
2615
|
/**
|
|
2616
2616
|
* @ignore
|
|
2617
2617
|
*/
|
|
2618
|
-
styles:
|
|
2618
|
+
styles: W.oneOfType([W.array, W.func, W.number, W.object, W.string, W.bool]),
|
|
2619
2619
|
/**
|
|
2620
2620
|
* @ignore
|
|
2621
2621
|
*/
|
|
2622
|
-
themeId:
|
|
2622
|
+
themeId: W.string
|
|
2623
2623
|
});
|
|
2624
2624
|
const im = (e) => e, UD = () => {
|
|
2625
2625
|
let e = im;
|
|
@@ -2662,14 +2662,14 @@ const ZD = {
|
|
|
2662
2662
|
required: "required",
|
|
2663
2663
|
selected: "selected"
|
|
2664
2664
|
};
|
|
2665
|
-
function
|
|
2665
|
+
function Wp(e, t, r = "Mui") {
|
|
2666
2666
|
const n = ZD[t];
|
|
2667
2667
|
return n ? `${r}-${n}` : `${YD.generate(e)}-${t}`;
|
|
2668
2668
|
}
|
|
2669
2669
|
function XD(e, t, r = "Mui") {
|
|
2670
2670
|
const n = {};
|
|
2671
2671
|
return t.forEach((i) => {
|
|
2672
|
-
n[i] =
|
|
2672
|
+
n[i] = Wp(e, i, r);
|
|
2673
2673
|
}), n;
|
|
2674
2674
|
}
|
|
2675
2675
|
function bb(e, t = "") {
|
|
@@ -2891,7 +2891,7 @@ const o2 = typeof window < "u" ? ve.useLayoutEffect : ve.useEffect;
|
|
|
2891
2891
|
function s2(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
2892
2892
|
return Math.max(t, Math.min(e, r));
|
|
2893
2893
|
}
|
|
2894
|
-
function
|
|
2894
|
+
function Gp(e, t = 0, r = 1) {
|
|
2895
2895
|
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), s2(e, t, r);
|
|
2896
2896
|
}
|
|
2897
2897
|
function u2(e) {
|
|
@@ -2908,12 +2908,12 @@ function Hn(e) {
|
|
|
2908
2908
|
const t = e.indexOf("("), r = e.substring(0, t);
|
|
2909
2909
|
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(r))
|
|
2910
2910
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
2911
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` :
|
|
2911
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : Gn(9, e));
|
|
2912
2912
|
let n = e.substring(t + 1, e.length - 1), i;
|
|
2913
2913
|
if (r === "color") {
|
|
2914
2914
|
if (n = n.split(" "), i = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(i))
|
|
2915
2915
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${i}\` color space.
|
|
2916
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` :
|
|
2916
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : Gn(10, i));
|
|
2917
2917
|
} else
|
|
2918
2918
|
n = n.split(",");
|
|
2919
2919
|
return n = n.map((a) => parseFloat(a)), {
|
|
@@ -2925,7 +2925,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
2925
2925
|
const l2 = (e) => {
|
|
2926
2926
|
const t = Hn(e);
|
|
2927
2927
|
return t.values.slice(0, 3).map((r, n) => t.type.includes("hsl") && n !== 0 ? `${r}%` : r).join(" ");
|
|
2928
|
-
},
|
|
2928
|
+
}, Go = (e, t) => {
|
|
2929
2929
|
try {
|
|
2930
2930
|
return l2(e);
|
|
2931
2931
|
} catch {
|
|
@@ -2964,7 +2964,7 @@ function om(e, t) {
|
|
|
2964
2964
|
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
2965
2965
|
}
|
|
2966
2966
|
function c2(e, t) {
|
|
2967
|
-
return e = Hn(e), t =
|
|
2967
|
+
return e = Hn(e), t = Gp(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, xc(e);
|
|
2968
2968
|
}
|
|
2969
2969
|
function _u(e, t, r) {
|
|
2970
2970
|
try {
|
|
@@ -2974,7 +2974,7 @@ function _u(e, t, r) {
|
|
|
2974
2974
|
}
|
|
2975
2975
|
}
|
|
2976
2976
|
function Hp(e, t) {
|
|
2977
|
-
if (e = Hn(e), t =
|
|
2977
|
+
if (e = Hn(e), t = Gp(t), e.type.includes("hsl"))
|
|
2978
2978
|
e.values[2] *= 1 - t;
|
|
2979
2979
|
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
2980
2980
|
for (let r = 0; r < 3; r += 1)
|
|
@@ -2989,7 +2989,7 @@ function Fe(e, t, r) {
|
|
|
2989
2989
|
}
|
|
2990
2990
|
}
|
|
2991
2991
|
function Up(e, t) {
|
|
2992
|
-
if (e = Hn(e), t =
|
|
2992
|
+
if (e = Hn(e), t = Gp(t), e.type.includes("hsl"))
|
|
2993
2993
|
e.values[2] += (100 - e.values[2]) * t;
|
|
2994
2994
|
else if (e.type.includes("rgb"))
|
|
2995
2995
|
for (let r = 0; r < 3; r += 1)
|
|
@@ -3066,11 +3066,11 @@ process.env.NODE_ENV !== "production" && (Rl.propTypes = {
|
|
|
3066
3066
|
/**
|
|
3067
3067
|
* Your component tree.
|
|
3068
3068
|
*/
|
|
3069
|
-
children:
|
|
3069
|
+
children: W.node,
|
|
3070
3070
|
/**
|
|
3071
3071
|
* A theme object. You can provide a function to extend the outer theme.
|
|
3072
3072
|
*/
|
|
3073
|
-
theme:
|
|
3073
|
+
theme: W.oneOfType([W.object, W.func]).isRequired
|
|
3074
3074
|
});
|
|
3075
3075
|
process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && (Rl.propTypes = Tb(Rl.propTypes));
|
|
3076
3076
|
const g2 = /* @__PURE__ */ ve.createContext();
|
|
@@ -3084,8 +3084,8 @@ function Eb({
|
|
|
3084
3084
|
});
|
|
3085
3085
|
}
|
|
3086
3086
|
process.env.NODE_ENV !== "production" && (Eb.propTypes = {
|
|
3087
|
-
children:
|
|
3088
|
-
value:
|
|
3087
|
+
children: W.node,
|
|
3088
|
+
value: W.bool
|
|
3089
3089
|
});
|
|
3090
3090
|
const Db = /* @__PURE__ */ ve.createContext(void 0);
|
|
3091
3091
|
function Ab({
|
|
@@ -3105,11 +3105,11 @@ process.env.NODE_ENV !== "production" && (Ab.propTypes = {
|
|
|
3105
3105
|
/**
|
|
3106
3106
|
* @ignore
|
|
3107
3107
|
*/
|
|
3108
|
-
children:
|
|
3108
|
+
children: W.node,
|
|
3109
3109
|
/**
|
|
3110
3110
|
* @ignore
|
|
3111
3111
|
*/
|
|
3112
|
-
value:
|
|
3112
|
+
value: W.object
|
|
3113
3113
|
});
|
|
3114
3114
|
function m2(e) {
|
|
3115
3115
|
const {
|
|
@@ -3186,15 +3186,15 @@ process.env.NODE_ENV !== "production" && (bs.propTypes = {
|
|
|
3186
3186
|
/**
|
|
3187
3187
|
* Your component tree.
|
|
3188
3188
|
*/
|
|
3189
|
-
children:
|
|
3189
|
+
children: W.node,
|
|
3190
3190
|
/**
|
|
3191
3191
|
* A theme object. You can provide a function to extend the outer theme.
|
|
3192
3192
|
*/
|
|
3193
|
-
theme:
|
|
3193
|
+
theme: W.oneOfType([W.func, W.object]).isRequired,
|
|
3194
3194
|
/**
|
|
3195
3195
|
* The design system's unique id for getting the corresponded theme when there are multiple design systems.
|
|
3196
3196
|
*/
|
|
3197
|
-
themeId:
|
|
3197
|
+
themeId: W.string
|
|
3198
3198
|
});
|
|
3199
3199
|
process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && (bs.propTypes = Tb(bs.propTypes));
|
|
3200
3200
|
const lm = {
|
|
@@ -3472,7 +3472,7 @@ function D2(e) {
|
|
|
3472
3472
|
defaultMode: I = "system",
|
|
3473
3473
|
forceThemeRerender: P = !1,
|
|
3474
3474
|
noSsr: N
|
|
3475
|
-
} = m, L = ve.useRef(!1), U = qp(), j = ve.useContext(l),
|
|
3475
|
+
} = m, L = ve.useRef(!1), U = qp(), j = ve.useContext(l), G = !!j && !D, k = ve.useMemo(() => _ || (typeof r == "function" ? r() : r), [_]), B = k[t], F = B || k, {
|
|
3476
3476
|
colorSchemes: H = f,
|
|
3477
3477
|
components: Y = h,
|
|
3478
3478
|
cssVarPrefix: ae
|
|
@@ -3496,7 +3496,7 @@ function D2(e) {
|
|
|
3496
3496
|
noSsr: N
|
|
3497
3497
|
});
|
|
3498
3498
|
let Ji = ee, pt = Or;
|
|
3499
|
-
|
|
3499
|
+
G && (Ji = j.mode, pt = j.colorScheme), process.env.NODE_ENV !== "production" && P && !F.vars && console.warn(["MUI: The `forceThemeRerender` prop should only be used with CSS theme variables.", "Note that it will slow down the app when changing between modes, so only do this when you cannot find a better solution."].join(`
|
|
3500
3500
|
`));
|
|
3501
3501
|
let ea = pt || F.defaultColorScheme;
|
|
3502
3502
|
F.vars && !P && (ea = F.defaultColorScheme);
|
|
@@ -3511,11 +3511,11 @@ function D2(e) {
|
|
|
3511
3511
|
};
|
|
3512
3512
|
if (typeof qe.generateSpacing == "function" && (qe.spacing = qe.generateSpacing()), ea) {
|
|
3513
3513
|
const er = H[ea];
|
|
3514
|
-
er && typeof er == "object" && Object.keys(er).forEach((
|
|
3515
|
-
er[
|
|
3516
|
-
...qe[
|
|
3517
|
-
...er[
|
|
3518
|
-
} : qe[
|
|
3514
|
+
er && typeof er == "object" && Object.keys(er).forEach((Wt) => {
|
|
3515
|
+
er[Wt] && typeof er[Wt] == "object" ? qe[Wt] = {
|
|
3516
|
+
...qe[Wt],
|
|
3517
|
+
...er[Wt]
|
|
3518
|
+
} : qe[Wt] = er[Wt];
|
|
3519
3519
|
});
|
|
3520
3520
|
}
|
|
3521
3521
|
return s ? s(qe) : qe;
|
|
@@ -3529,10 +3529,10 @@ function D2(e) {
|
|
|
3529
3529
|
else {
|
|
3530
3530
|
const Kr = qe.replace("%s", pt).match(/\[([^\]]+)\]/);
|
|
3531
3531
|
if (Kr) {
|
|
3532
|
-
const [er,
|
|
3533
|
-
|
|
3532
|
+
const [er, Wt] = Kr[1].split("=");
|
|
3533
|
+
Wt || re.forEach((cf) => {
|
|
3534
3534
|
x.removeAttribute(er.replace(pt, cf));
|
|
3535
|
-
}), x.setAttribute(er,
|
|
3535
|
+
}), x.setAttribute(er, Wt ? Wt.replace(/"|'/g, "") : "");
|
|
3536
3536
|
} else
|
|
3537
3537
|
x.setAttribute(qe, pt);
|
|
3538
3538
|
}
|
|
@@ -3565,7 +3565,7 @@ function D2(e) {
|
|
|
3565
3565
|
systemMode: Ye
|
|
3566
3566
|
}), [re, pt, $t, $e, Ji, uo, z, Ye, bn.colorSchemeSelector]);
|
|
3567
3567
|
let du = !0;
|
|
3568
|
-
(M || F.cssVariables === !1 ||
|
|
3568
|
+
(M || F.cssVariables === !1 || G && (U == null ? void 0 : U.cssVarPrefix) === ae) && (du = !1);
|
|
3569
3569
|
const lo = /* @__PURE__ */ T.jsxs(ve.Fragment, {
|
|
3570
3570
|
children: [/* @__PURE__ */ T.jsx(bs, {
|
|
3571
3571
|
themeId: B ? t : void 0,
|
|
@@ -3575,7 +3575,7 @@ function D2(e) {
|
|
|
3575
3575
|
styles: ((ho = bn.generateStyleSheets) == null ? void 0 : ho.call(bn)) || []
|
|
3576
3576
|
})]
|
|
3577
3577
|
});
|
|
3578
|
-
return
|
|
3578
|
+
return G ? lo : /* @__PURE__ */ T.jsx(l.Provider, {
|
|
3579
3579
|
value: lf,
|
|
3580
3580
|
children: lo
|
|
3581
3581
|
});
|
|
@@ -3584,65 +3584,65 @@ function D2(e) {
|
|
|
3584
3584
|
/**
|
|
3585
3585
|
* The component tree.
|
|
3586
3586
|
*/
|
|
3587
|
-
children:
|
|
3587
|
+
children: W.node,
|
|
3588
3588
|
/**
|
|
3589
3589
|
* The node used to attach the color-scheme attribute
|
|
3590
3590
|
*/
|
|
3591
|
-
colorSchemeNode:
|
|
3591
|
+
colorSchemeNode: W.any,
|
|
3592
3592
|
/**
|
|
3593
3593
|
* localStorage key used to store `colorScheme`
|
|
3594
3594
|
*/
|
|
3595
|
-
colorSchemeStorageKey:
|
|
3595
|
+
colorSchemeStorageKey: W.string,
|
|
3596
3596
|
/**
|
|
3597
3597
|
* The default mode when the storage is empty,
|
|
3598
3598
|
* require the theme to have `colorSchemes` with light and dark.
|
|
3599
3599
|
*/
|
|
3600
|
-
defaultMode:
|
|
3600
|
+
defaultMode: W.string,
|
|
3601
3601
|
/**
|
|
3602
3602
|
* If `true`, the provider creates its own context and generate stylesheet as if it is a root `CssVarsProvider`.
|
|
3603
3603
|
*/
|
|
3604
|
-
disableNestedContext:
|
|
3604
|
+
disableNestedContext: W.bool,
|
|
3605
3605
|
/**
|
|
3606
3606
|
* If `true`, the style sheet won't be generated.
|
|
3607
3607
|
*
|
|
3608
3608
|
* This is useful for controlling nested CssVarsProvider behavior.
|
|
3609
3609
|
*/
|
|
3610
|
-
disableStyleSheetGeneration:
|
|
3610
|
+
disableStyleSheetGeneration: W.bool,
|
|
3611
3611
|
/**
|
|
3612
3612
|
* Disable CSS transitions when switching between modes or color schemes.
|
|
3613
3613
|
*/
|
|
3614
|
-
disableTransitionOnChange:
|
|
3614
|
+
disableTransitionOnChange: W.bool,
|
|
3615
3615
|
/**
|
|
3616
3616
|
* The document to attach the attribute to.
|
|
3617
3617
|
*/
|
|
3618
|
-
documentNode:
|
|
3618
|
+
documentNode: W.any,
|
|
3619
3619
|
/**
|
|
3620
3620
|
* If `true`, theme values are recalculated when the mode changes.
|
|
3621
3621
|
*/
|
|
3622
|
-
forceThemeRerender:
|
|
3622
|
+
forceThemeRerender: W.bool,
|
|
3623
3623
|
/**
|
|
3624
3624
|
* The key in the local storage used to store current color scheme.
|
|
3625
3625
|
*/
|
|
3626
|
-
modeStorageKey:
|
|
3626
|
+
modeStorageKey: W.string,
|
|
3627
3627
|
/**
|
|
3628
3628
|
* If `true`, the mode will be the same value as the storage without an extra rerendering after the hydration.
|
|
3629
3629
|
* You should use this option in conjuction with `InitColorSchemeScript` component.
|
|
3630
3630
|
*/
|
|
3631
|
-
noSsr:
|
|
3631
|
+
noSsr: W.bool,
|
|
3632
3632
|
/**
|
|
3633
3633
|
* The storage manager to be used for storing the mode and color scheme
|
|
3634
3634
|
* @default using `window.localStorage`
|
|
3635
3635
|
*/
|
|
3636
|
-
storageManager:
|
|
3636
|
+
storageManager: W.func,
|
|
3637
3637
|
/**
|
|
3638
3638
|
* The window that attaches the 'storage' event listener.
|
|
3639
3639
|
* @default window
|
|
3640
3640
|
*/
|
|
3641
|
-
storageWindow:
|
|
3641
|
+
storageWindow: W.any,
|
|
3642
3642
|
/**
|
|
3643
3643
|
* The calculated theme object that will be passed through context.
|
|
3644
3644
|
*/
|
|
3645
|
-
theme:
|
|
3645
|
+
theme: W.object
|
|
3646
3646
|
});
|
|
3647
3647
|
const p = typeof o == "string" ? o : o.light, v = typeof o == "string" ? o : o.dark;
|
|
3648
3648
|
return {
|
|
@@ -4062,7 +4062,7 @@ function Kp(e) {
|
|
|
4062
4062
|
...v
|
|
4063
4063
|
}, !v.main && v[m] && (v.main = v[m]), !v.hasOwnProperty("main"))
|
|
4064
4064
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${g ? ` (${g})` : ""} provided to augmentColor(color) is invalid.
|
|
4065
|
-
The color object needs to have a \`main\` property or a \`${m}\` property.` :
|
|
4065
|
+
The color object needs to have a \`main\` property or a \`${m}\` property.` : Gn(11, g ? ` (${g})` : "", m));
|
|
4066
4066
|
if (typeof v.main != "string")
|
|
4067
4067
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${g ? ` (${g})` : ""} provided to augmentColor(color) is invalid.
|
|
4068
4068
|
\`color.main\` should be a string, but \`${JSON.stringify(v.main)}\` was provided instead.
|
|
@@ -4077,7 +4077,7 @@ const theme1 = createTheme({ palette: {
|
|
|
4077
4077
|
|
|
4078
4078
|
const theme2 = createTheme({ palette: {
|
|
4079
4079
|
primary: { main: green[500] },
|
|
4080
|
-
} });` :
|
|
4080
|
+
} });` : Gn(12, g ? ` (${g})` : "", JSON.stringify(v.main)));
|
|
4081
4081
|
return dm(v, "light", y, n), dm(v, "dark", _, n), v.contrastText || (v.contrastText = f(v.main)), v;
|
|
4082
4082
|
};
|
|
4083
4083
|
let d;
|
|
@@ -4162,7 +4162,7 @@ function $2(e, t) {
|
|
|
4162
4162
|
...t
|
|
4163
4163
|
};
|
|
4164
4164
|
}
|
|
4165
|
-
function
|
|
4165
|
+
function W2(e) {
|
|
4166
4166
|
return Math.round(e * 1e5) / 1e5;
|
|
4167
4167
|
}
|
|
4168
4168
|
const pm = {
|
|
@@ -4196,7 +4196,7 @@ function Ib(e, t) {
|
|
|
4196
4196
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
4197
4197
|
// across font-families can cause issues with the kerning.
|
|
4198
4198
|
...r === vm ? {
|
|
4199
|
-
letterSpacing: `${
|
|
4199
|
+
letterSpacing: `${W2(_ / m)}em`
|
|
4200
4200
|
} : {},
|
|
4201
4201
|
...b,
|
|
4202
4202
|
...l
|
|
@@ -4238,11 +4238,11 @@ function Ib(e, t) {
|
|
|
4238
4238
|
// No need to clone deep
|
|
4239
4239
|
});
|
|
4240
4240
|
}
|
|
4241
|
-
const
|
|
4242
|
-
function
|
|
4243
|
-
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${
|
|
4241
|
+
const G2 = 0.2, H2 = 0.14, U2 = 0.12;
|
|
4242
|
+
function We(...e) {
|
|
4243
|
+
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${G2})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${H2})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${U2})`].join(",");
|
|
4244
4244
|
}
|
|
4245
|
-
const Y2 = ["none",
|
|
4245
|
+
const Y2 = ["none", We(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), We(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), We(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), We(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), We(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), We(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), We(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), We(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), We(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), We(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), We(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), We(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), We(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), We(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), We(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), We(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), We(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), We(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), We(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), We(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), We(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), We(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), We(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), We(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], q2 = {
|
|
4246
4246
|
// This is the most common easing curve.
|
|
4247
4247
|
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
4248
4248
|
// Objects enter the screen at full velocity from off-screen and
|
|
@@ -4352,7 +4352,7 @@ function ud(e = {}, ...t) {
|
|
|
4352
4352
|
if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
|
|
4353
4353
|
// `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
|
|
4354
4354
|
e.generateThemeVars === void 0)
|
|
4355
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." :
|
|
4355
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : Gn(20));
|
|
4356
4356
|
const c = Kp(a), f = $p(e);
|
|
4357
4357
|
let h = qt(f, {
|
|
4358
4358
|
mixins: $2(f.breakpoints, n),
|
|
@@ -4372,7 +4372,7 @@ function ud(e = {}, ...t) {
|
|
|
4372
4372
|
const y = v[m];
|
|
4373
4373
|
if (d.includes(m) && Object.keys(y).length > 0) {
|
|
4374
4374
|
if (process.env.NODE_ENV !== "production") {
|
|
4375
|
-
const _ =
|
|
4375
|
+
const _ = Wp("", m);
|
|
4376
4376
|
console.error([`MUI: The \`${g}\` component increases the CSS specificity of the \`${m}\` internal state.`, "You can not override it like this: ", JSON.stringify(v, null, 2), "", `Instead, you need to use the '&.${_}' syntax:`, JSON.stringify({
|
|
4377
4377
|
root: {
|
|
4378
4378
|
[`&.${_}`]: y
|
|
@@ -4494,7 +4494,7 @@ function Ho(e) {
|
|
|
4494
4494
|
return typeof e != "string" || !e.startsWith("hsl") ? e : Cb(e);
|
|
4495
4495
|
}
|
|
4496
4496
|
function Qr(e, t) {
|
|
4497
|
-
`${t}Channel` in e || (e[`${t}Channel`] =
|
|
4497
|
+
`${t}Channel` in e || (e[`${t}Channel`] = Go(Ho(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
4498
4498
|
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
|
|
4499
4499
|
}
|
|
4500
4500
|
function sA(e) {
|
|
@@ -4563,7 +4563,7 @@ function lA(e = {}, ...t) {
|
|
|
4563
4563
|
};
|
|
4564
4564
|
let y = d;
|
|
4565
4565
|
if ((f === "dark" && !("dark" in r) || f === "light" && !("light" in r)) && (y = !0), !y)
|
|
4566
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${f}\` option is either missing or invalid.` :
|
|
4566
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${f}\` option is either missing or invalid.` : Gn(21, f));
|
|
4567
4567
|
const _ = Ef(m, y, l, f);
|
|
4568
4568
|
p && !m.light && Ef(m, p, void 0, "light"), v && !m.dark && Ef(m, v, void 0, "dark");
|
|
4569
4569
|
let b = {
|
|
@@ -4597,7 +4597,7 @@ function lA(e = {}, ...t) {
|
|
|
4597
4597
|
}
|
|
4598
4598
|
Qr(x.background, "default"), Qr(x.background, "paper"), Qr(x.common, "background"), Qr(x.common, "onBackground"), Qr(x, "divider"), Object.keys(x).forEach((M) => {
|
|
4599
4599
|
const I = x[M];
|
|
4600
|
-
M !== "tonalOffset" && I && typeof I == "object" && (I.main && V(x[M], "mainChannel",
|
|
4600
|
+
M !== "tonalOffset" && I && typeof I == "object" && (I.main && V(x[M], "mainChannel", Go(Ho(I.main))), I.light && V(x[M], "lightChannel", Go(Ho(I.light))), I.dark && V(x[M], "darkChannel", Go(Ho(I.dark))), I.contrastText && V(x[M], "contrastTextChannel", Go(Ho(I.contrastText))), M === "text" && (Qr(x[M], "primary"), Qr(x[M], "secondary")), M === "action" && (I.active && Qr(x[M], "active"), I.selected && Qr(x[M], "selected")));
|
|
4601
4601
|
});
|
|
4602
4602
|
}), b = t.reduce((A, x) => qt(A, x), b);
|
|
4603
4603
|
const S = {
|
|
@@ -4694,7 +4694,7 @@ process.env.NODE_ENV !== "production" && (Vb.propTypes = {
|
|
|
4694
4694
|
/**
|
|
4695
4695
|
* The styles you want to apply globally.
|
|
4696
4696
|
*/
|
|
4697
|
-
styles:
|
|
4697
|
+
styles: W.oneOfType([W.array, W.func, W.number, W.object, W.string, W.bool])
|
|
4698
4698
|
});
|
|
4699
4699
|
function cA(e) {
|
|
4700
4700
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
@@ -4717,7 +4717,7 @@ function Fb(e) {
|
|
|
4717
4717
|
);
|
|
4718
4718
|
};
|
|
4719
4719
|
}
|
|
4720
|
-
process.env.NODE_ENV !== "production" && (
|
|
4720
|
+
process.env.NODE_ENV !== "production" && (W.node, W.object.isRequired);
|
|
4721
4721
|
function zb(e) {
|
|
4722
4722
|
return y2(e);
|
|
4723
4723
|
}
|
|
@@ -4829,14 +4829,14 @@ process.env.NODE_ENV !== "production" && ($b.propTypes = {
|
|
|
4829
4829
|
/**
|
|
4830
4830
|
* You can wrap a node.
|
|
4831
4831
|
*/
|
|
4832
|
-
children:
|
|
4832
|
+
children: W.node,
|
|
4833
4833
|
/**
|
|
4834
4834
|
* Enable `color-scheme` CSS property to use `theme.palette.mode`.
|
|
4835
4835
|
* For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
|
|
4836
4836
|
* For browser support, check out https://caniuse.com/?search=color-scheme
|
|
4837
4837
|
* @default false
|
|
4838
4838
|
*/
|
|
4839
|
-
enableColorScheme:
|
|
4839
|
+
enableColorScheme: W.bool
|
|
4840
4840
|
});
|
|
4841
4841
|
function mA({
|
|
4842
4842
|
theme: e,
|
|
@@ -4855,7 +4855,7 @@ const Su = {
|
|
|
4855
4855
|
defaultDarkColorScheme: "dark",
|
|
4856
4856
|
modeStorageKey: "mui-mode"
|
|
4857
4857
|
};
|
|
4858
|
-
process.env.NODE_ENV !== "production" && (
|
|
4858
|
+
process.env.NODE_ENV !== "production" && (W.string, W.string, W.string, W.string, W.string, W.oneOf(["dark", "light", "system"]), W.string, W.string);
|
|
4859
4859
|
const {
|
|
4860
4860
|
CssVarsProvider: yA
|
|
4861
4861
|
} = D2({
|
|
@@ -4906,7 +4906,7 @@ function bA({
|
|
|
4906
4906
|
}
|
|
4907
4907
|
const SA = _2;
|
|
4908
4908
|
function xA(e) {
|
|
4909
|
-
return
|
|
4909
|
+
return Wp("MuiSvgIcon", e);
|
|
4910
4910
|
}
|
|
4911
4911
|
XD("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
4912
4912
|
const wA = (e) => {
|
|
@@ -5071,15 +5071,15 @@ process.env.NODE_ENV !== "production" && (Ol.propTypes = {
|
|
|
5071
5071
|
/**
|
|
5072
5072
|
* Node passed into the SVG element.
|
|
5073
5073
|
*/
|
|
5074
|
-
children:
|
|
5074
|
+
children: W.node,
|
|
5075
5075
|
/**
|
|
5076
5076
|
* Override or extend the styles applied to the component.
|
|
5077
5077
|
*/
|
|
5078
|
-
classes:
|
|
5078
|
+
classes: W.object,
|
|
5079
5079
|
/**
|
|
5080
5080
|
* @ignore
|
|
5081
5081
|
*/
|
|
5082
|
-
className:
|
|
5082
|
+
className: W.string,
|
|
5083
5083
|
/**
|
|
5084
5084
|
* The color of the component.
|
|
5085
5085
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
@@ -5087,21 +5087,21 @@ process.env.NODE_ENV !== "production" && (Ol.propTypes = {
|
|
|
5087
5087
|
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
|
5088
5088
|
* @default 'inherit'
|
|
5089
5089
|
*/
|
|
5090
|
-
color:
|
|
5090
|
+
color: W.oneOfType([W.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), W.string]),
|
|
5091
5091
|
/**
|
|
5092
5092
|
* The component used for the root node.
|
|
5093
5093
|
* Either a string to use a HTML element or a component.
|
|
5094
5094
|
*/
|
|
5095
|
-
component:
|
|
5095
|
+
component: W.elementType,
|
|
5096
5096
|
/**
|
|
5097
5097
|
* The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
|
|
5098
5098
|
* @default 'medium'
|
|
5099
5099
|
*/
|
|
5100
|
-
fontSize:
|
|
5100
|
+
fontSize: W.oneOfType([W.oneOf(["inherit", "large", "medium", "small"]), W.string]),
|
|
5101
5101
|
/**
|
|
5102
5102
|
* Applies a color attribute to the SVG element.
|
|
5103
5103
|
*/
|
|
5104
|
-
htmlColor:
|
|
5104
|
+
htmlColor: W.string,
|
|
5105
5105
|
/**
|
|
5106
5106
|
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
|
|
5107
5107
|
* prop will be ignored.
|
|
@@ -5109,22 +5109,22 @@ process.env.NODE_ENV !== "production" && (Ol.propTypes = {
|
|
|
5109
5109
|
* `component`'s viewBox to the root node.
|
|
5110
5110
|
* @default false
|
|
5111
5111
|
*/
|
|
5112
|
-
inheritViewBox:
|
|
5112
|
+
inheritViewBox: W.bool,
|
|
5113
5113
|
/**
|
|
5114
5114
|
* The shape-rendering attribute. The behavior of the different options is described on the
|
|
5115
5115
|
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
|
|
5116
5116
|
* If you are having issues with blurry icons you should investigate this prop.
|
|
5117
5117
|
*/
|
|
5118
|
-
shapeRendering:
|
|
5118
|
+
shapeRendering: W.string,
|
|
5119
5119
|
/**
|
|
5120
5120
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
5121
5121
|
*/
|
|
5122
|
-
sx:
|
|
5122
|
+
sx: W.oneOfType([W.arrayOf(W.oneOfType([W.func, W.object, W.bool])), W.func, W.object]),
|
|
5123
5123
|
/**
|
|
5124
5124
|
* Provides a human-readable title for the element that contains it.
|
|
5125
5125
|
* https://www.w3.org/TR/SVG-access/#Equivalent
|
|
5126
5126
|
*/
|
|
5127
|
-
titleAccess:
|
|
5127
|
+
titleAccess: W.string,
|
|
5128
5128
|
/**
|
|
5129
5129
|
* Allows you to redefine what the coordinates without units mean inside an SVG element.
|
|
5130
5130
|
* For example, if the SVG element is 500 (width) by 200 (height),
|
|
@@ -5133,7 +5133,7 @@ process.env.NODE_ENV !== "production" && (Ol.propTypes = {
|
|
|
5133
5133
|
* to bottom right (50,20) and each unit will be worth 10px.
|
|
5134
5134
|
* @default '0 0 24 24'
|
|
5135
5135
|
*/
|
|
5136
|
-
viewBox:
|
|
5136
|
+
viewBox: W.string
|
|
5137
5137
|
});
|
|
5138
5138
|
Ol.muiName = "SvgIcon";
|
|
5139
5139
|
function xt(e, t) {
|
|
@@ -5455,9 +5455,9 @@ function jA(e) {
|
|
|
5455
5455
|
}
|
|
5456
5456
|
if (Array.isArray(e))
|
|
5457
5457
|
return "array";
|
|
5458
|
-
if (WA(e))
|
|
5459
|
-
return "date";
|
|
5460
5458
|
if (GA(e))
|
|
5459
|
+
return "date";
|
|
5460
|
+
if (WA(e))
|
|
5461
5461
|
return "error";
|
|
5462
5462
|
const r = $A(e);
|
|
5463
5463
|
switch (r) {
|
|
@@ -5474,17 +5474,17 @@ function jA(e) {
|
|
|
5474
5474
|
function $A(e) {
|
|
5475
5475
|
return typeof e.constructor == "function" ? e.constructor.name : null;
|
|
5476
5476
|
}
|
|
5477
|
-
function
|
|
5477
|
+
function WA(e) {
|
|
5478
5478
|
return e instanceof Error || typeof e.message == "string" && e.constructor && typeof e.constructor.stackTraceLimit == "number";
|
|
5479
5479
|
}
|
|
5480
|
-
function
|
|
5480
|
+
function GA(e) {
|
|
5481
5481
|
return e instanceof Date ? !0 : typeof e.toDateString == "function" && typeof e.getDate == "function" && typeof e.setDate == "function";
|
|
5482
5482
|
}
|
|
5483
5483
|
function In(e) {
|
|
5484
5484
|
let t = typeof e;
|
|
5485
5485
|
return process.env.NODE_ENV !== "production" && (t = jA(e)), t;
|
|
5486
5486
|
}
|
|
5487
|
-
function
|
|
5487
|
+
function Wb(e, t, r) {
|
|
5488
5488
|
if (typeof e != "function")
|
|
5489
5489
|
throw new Error(process.env.NODE_ENV === "production" ? lt(2) : `Expected the root reducer to be a function. Instead, received: '${In(e)}'`);
|
|
5490
5490
|
if (typeof t == "function" && typeof r == "function" || typeof r == "function" && typeof arguments[3] == "function")
|
|
@@ -5492,7 +5492,7 @@ function Gb(e, t, r) {
|
|
|
5492
5492
|
if (typeof t == "function" && typeof r > "u" && (r = t, t = void 0), typeof r < "u") {
|
|
5493
5493
|
if (typeof r != "function")
|
|
5494
5494
|
throw new Error(process.env.NODE_ENV === "production" ? lt(1) : `Expected the enhancer to be a function. Instead, received: '${In(r)}'`);
|
|
5495
|
-
return r(
|
|
5495
|
+
return r(Wb)(e, t);
|
|
5496
5496
|
}
|
|
5497
5497
|
let n = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, u = !1;
|
|
5498
5498
|
function l() {
|
|
@@ -5672,7 +5672,7 @@ function YA(...e) {
|
|
|
5672
5672
|
function ev(e) {
|
|
5673
5673
|
return yr(e) && "type" in e && typeof e.type == "string";
|
|
5674
5674
|
}
|
|
5675
|
-
var tv = Symbol.for("immer-nothing"), as = Symbol.for("immer-draftable"), Ft = Symbol.for("immer-state"),
|
|
5675
|
+
var tv = Symbol.for("immer-nothing"), as = Symbol.for("immer-draftable"), Ft = Symbol.for("immer-state"), Gb = process.env.NODE_ENV !== "production" ? [
|
|
5676
5676
|
// All error codes, starting by 0:
|
|
5677
5677
|
function(e) {
|
|
5678
5678
|
return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`;
|
|
@@ -5705,7 +5705,7 @@ var tv = Symbol.for("immer-nothing"), as = Symbol.for("immer-draftable"), Ft = S
|
|
|
5705
5705
|
] : [];
|
|
5706
5706
|
function nt(e, ...t) {
|
|
5707
5707
|
if (process.env.NODE_ENV !== "production") {
|
|
5708
|
-
const r =
|
|
5708
|
+
const r = Gb[e], n = typeof r == "function" ? r.apply(null, t) : r;
|
|
5709
5709
|
throw new Error(`[Immer] ${n}`);
|
|
5710
5710
|
}
|
|
5711
5711
|
throw new Error(
|
|
@@ -6135,7 +6135,7 @@ function Xb(e) {
|
|
|
6135
6135
|
}), t && (t.finalized_ = !1), r;
|
|
6136
6136
|
}
|
|
6137
6137
|
function iM() {
|
|
6138
|
-
process.env.NODE_ENV !== "production" &&
|
|
6138
|
+
process.env.NODE_ENV !== "production" && Gb.push(
|
|
6139
6139
|
'Sets cannot have "replace" patches.',
|
|
6140
6140
|
function(h) {
|
|
6141
6141
|
return "Unsupported patch operation: " + h;
|
|
@@ -6969,7 +6969,7 @@ function uS(e) {
|
|
|
6969
6969
|
throw new Error(process.env.NODE_ENV === "production" ? Se(7) : "each enhancer provided to configureStore must be a function");
|
|
6970
6970
|
!Sn && u.length && !h.includes(c) && console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");
|
|
6971
6971
|
const d = l(...h);
|
|
6972
|
-
return
|
|
6972
|
+
return Wb(s, a, d);
|
|
6973
6973
|
}
|
|
6974
6974
|
function lS(e) {
|
|
6975
6975
|
const t = {}, r = [];
|
|
@@ -7245,7 +7245,7 @@ function jM({
|
|
|
7245
7245
|
if (!a)
|
|
7246
7246
|
throw new Error(process.env.NODE_ENV === "production" ? Se(11) : "`name` is a required option for createSlice");
|
|
7247
7247
|
typeof process < "u" && process.env.NODE_ENV === "development" && i.initialState === void 0 && console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");
|
|
7248
|
-
const s = (typeof i.reducers == "function" ? i.reducers(
|
|
7248
|
+
const s = (typeof i.reducers == "function" ? i.reducers(WM()) : i.reducers) || {}, u = Object.keys(s), l = {
|
|
7249
7249
|
sliceCaseReducersByName: {},
|
|
7250
7250
|
sliceCaseReducersByType: {},
|
|
7251
7251
|
actionCreators: {},
|
|
@@ -7278,7 +7278,7 @@ function jM({
|
|
|
7278
7278
|
type: zM(a, _),
|
|
7279
7279
|
createNotation: typeof i.reducers == "function"
|
|
7280
7280
|
};
|
|
7281
|
-
HM(b) ? YM(S, b, c, t) :
|
|
7281
|
+
HM(b) ? YM(S, b, c, t) : GM(S, b, c);
|
|
7282
7282
|
});
|
|
7283
7283
|
function f() {
|
|
7284
7284
|
if (process.env.NODE_ENV !== "production" && typeof i.extraReducers == "object")
|
|
@@ -7376,7 +7376,7 @@ function $M(e, t, r, n) {
|
|
|
7376
7376
|
return i.unwrapped = e, i;
|
|
7377
7377
|
}
|
|
7378
7378
|
var fr = /* @__PURE__ */ jM();
|
|
7379
|
-
function
|
|
7379
|
+
function WM() {
|
|
7380
7380
|
function e(t, r) {
|
|
7381
7381
|
return {
|
|
7382
7382
|
_reducerDefinitionType: "asyncThunk",
|
|
@@ -7407,7 +7407,7 @@ function GM() {
|
|
|
7407
7407
|
asyncThunk: e
|
|
7408
7408
|
};
|
|
7409
7409
|
}
|
|
7410
|
-
function
|
|
7410
|
+
function GM({
|
|
7411
7411
|
type: e,
|
|
7412
7412
|
reducerName: t,
|
|
7413
7413
|
createNotation: r
|
|
@@ -7899,8 +7899,8 @@ function SR({
|
|
|
7899
7899
|
} finally {
|
|
7900
7900
|
j && clearTimeout(j);
|
|
7901
7901
|
}
|
|
7902
|
-
const
|
|
7903
|
-
b.response =
|
|
7902
|
+
const G = L.clone();
|
|
7903
|
+
b.response = G;
|
|
7904
7904
|
let k, B = "";
|
|
7905
7905
|
try {
|
|
7906
7906
|
let F;
|
|
@@ -7908,7 +7908,7 @@ function SR({
|
|
|
7908
7908
|
f(L, E).then((H) => k = H, (H) => F = H),
|
|
7909
7909
|
// see https://github.com/node-fetch/node-fetch/issues/665#issuecomment-538995182
|
|
7910
7910
|
// we *have* to "use up" both streams at the same time or they will stop running in node-fetch scenarios
|
|
7911
|
-
|
|
7911
|
+
G.text().then((H) => B = H, () => {
|
|
7912
7912
|
})
|
|
7913
7913
|
]), F)
|
|
7914
7914
|
throw F;
|
|
@@ -8060,11 +8060,11 @@ You must add the middleware for RTK-Query to function correctly!`);
|
|
|
8060
8060
|
const {
|
|
8061
8061
|
requestId: U,
|
|
8062
8062
|
abort: j
|
|
8063
|
-
} = N,
|
|
8063
|
+
} = N, G = L.requestId !== U, k = (H = a.get(x)) == null ? void 0 : H[M], B = () => P(D()), F = Object.assign(E ? (
|
|
8064
8064
|
// a query has been forced (upsertQueryData)
|
|
8065
8065
|
// -> we want to resolve it once data has been written with the data that will be written
|
|
8066
8066
|
N.then(B)
|
|
8067
|
-
) :
|
|
8067
|
+
) : G && !k ? (
|
|
8068
8068
|
// a query has been skipped due to a condition and we do not have any currently running query
|
|
8069
8069
|
// -> we want to resolve it immediately with the current data
|
|
8070
8070
|
Promise.resolve(L)
|
|
@@ -8103,7 +8103,7 @@ You must add the middleware for RTK-Query to function correctly!`);
|
|
|
8103
8103
|
}));
|
|
8104
8104
|
}
|
|
8105
8105
|
});
|
|
8106
|
-
if (!k && !
|
|
8106
|
+
if (!k && !G && !E) {
|
|
8107
8107
|
const Y = a.get(x) || {};
|
|
8108
8108
|
Y[M] = F, a.set(x, Y), F.then(() => {
|
|
8109
8109
|
delete Y[M], Pa(Y) || a.delete(x);
|
|
@@ -8154,7 +8154,7 @@ You must add the middleware for RTK-Query to function correctly!`);
|
|
|
8154
8154
|
};
|
|
8155
8155
|
}
|
|
8156
8156
|
}
|
|
8157
|
-
function
|
|
8157
|
+
function Wm(e) {
|
|
8158
8158
|
return e;
|
|
8159
8159
|
}
|
|
8160
8160
|
function ER({
|
|
@@ -8231,7 +8231,7 @@ function ER({
|
|
|
8231
8231
|
}) => {
|
|
8232
8232
|
const x = r[y.endpointName];
|
|
8233
8233
|
try {
|
|
8234
|
-
let D =
|
|
8234
|
+
let D = Wm, M;
|
|
8235
8235
|
const I = {
|
|
8236
8236
|
signal: _,
|
|
8237
8237
|
abort: b,
|
|
@@ -8274,7 +8274,7 @@ function ER({
|
|
|
8274
8274
|
} catch (D) {
|
|
8275
8275
|
let M = D;
|
|
8276
8276
|
if (M instanceof jm) {
|
|
8277
|
-
let I =
|
|
8277
|
+
let I = Wm;
|
|
8278
8278
|
x.query && x.transformErrorResponse && (I = x.transformErrorResponse);
|
|
8279
8279
|
try {
|
|
8280
8280
|
return S(await I(M.value, M.meta, y.originalArgs), {
|
|
@@ -8374,7 +8374,7 @@ function Tu(e, t, r) {
|
|
|
8374
8374
|
function As(e) {
|
|
8375
8375
|
return ("arg" in e ? e.arg.fixedCacheKey : e.fixedCacheKey) ?? e.requestId;
|
|
8376
8376
|
}
|
|
8377
|
-
function
|
|
8377
|
+
function Gm(e, t, r) {
|
|
8378
8378
|
const n = e[As(t)];
|
|
8379
8379
|
n && r(n);
|
|
8380
8380
|
}
|
|
@@ -8530,7 +8530,7 @@ function DR({
|
|
|
8530
8530
|
payload: S,
|
|
8531
8531
|
meta: w
|
|
8532
8532
|
}) => {
|
|
8533
|
-
w.arg.track &&
|
|
8533
|
+
w.arg.track && Gm(b, w, (C) => {
|
|
8534
8534
|
C.requestId === w.requestId && (C.status = "fulfilled", C.data = S, C.fulfilledTimeStamp = w.fulfilledTimeStamp);
|
|
8535
8535
|
});
|
|
8536
8536
|
}).addCase(r.rejected, (b, {
|
|
@@ -8538,7 +8538,7 @@ function DR({
|
|
|
8538
8538
|
error: w,
|
|
8539
8539
|
meta: C
|
|
8540
8540
|
}) => {
|
|
8541
|
-
C.arg.track &&
|
|
8541
|
+
C.arg.track && Gm(b, C, (E) => {
|
|
8542
8542
|
E.requestId === C.requestId && (E.status = "rejected", E.error = S ?? w);
|
|
8543
8543
|
});
|
|
8544
8544
|
}).addMatcher(o, (b, S) => {
|
|
@@ -9455,14 +9455,14 @@ var Zm = /* @__PURE__ */ Symbol(), CS = ({
|
|
|
9455
9455
|
getRunningQueriesThunk: L
|
|
9456
9456
|
}), {
|
|
9457
9457
|
name: Zm,
|
|
9458
|
-
injectEndpoint(j,
|
|
9458
|
+
injectEndpoint(j, G) {
|
|
9459
9459
|
var B;
|
|
9460
9460
|
const k = t;
|
|
9461
|
-
(B = k.endpoints)[j] ?? (B[j] = {}), bS(
|
|
9461
|
+
(B = k.endpoints)[j] ?? (B[j] = {}), bS(G) ? xn(k.endpoints[j], {
|
|
9462
9462
|
name: j,
|
|
9463
|
-
select: E(j,
|
|
9464
|
-
initiate: M(j,
|
|
9465
|
-
}, _(d, j)) : xR(
|
|
9463
|
+
select: E(j, G),
|
|
9464
|
+
initiate: M(j, G)
|
|
9465
|
+
}, _(d, j)) : xR(G) && xn(k.endpoints[j], {
|
|
9466
9466
|
name: j,
|
|
9467
9467
|
select: A(),
|
|
9468
9468
|
initiate: I(j)
|
|
@@ -9519,7 +9519,7 @@ function kf(e) {
|
|
|
9519
9519
|
ns(t.current, e) || (t.current = e);
|
|
9520
9520
|
}, [e]), ns(t.current, e) ? t.current : e;
|
|
9521
9521
|
}
|
|
9522
|
-
var
|
|
9522
|
+
var WR = () => typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", GR = /* @__PURE__ */ WR(), HR = () => typeof navigator < "u" && navigator.product === "ReactNative", UR = /* @__PURE__ */ HR(), YR = () => GR || UR ? qT : Oe, qR = /* @__PURE__ */ YR(), ZR = (e) => e.isUninitialized ? {
|
|
9523
9523
|
...e,
|
|
9524
9524
|
isUninitialized: !1,
|
|
9525
9525
|
isFetching: !0,
|
|
@@ -9621,15 +9621,15 @@ function XR({
|
|
|
9621
9621
|
requestId: U
|
|
9622
9622
|
} = N.current || {}, j = !1;
|
|
9623
9623
|
L && U && (j = D.current.isRequestSubscribed(L, U));
|
|
9624
|
-
const
|
|
9624
|
+
const G = !j && P.current;
|
|
9625
9625
|
return l(() => {
|
|
9626
9626
|
P.current = j;
|
|
9627
9627
|
}), l(() => {
|
|
9628
|
-
|
|
9629
|
-
}, [
|
|
9628
|
+
G && (N.current = void 0);
|
|
9629
|
+
}, [G]), l(() => {
|
|
9630
9630
|
var F;
|
|
9631
9631
|
const k = N.current;
|
|
9632
|
-
if (typeof process < "u" && process.env.NODE_ENV === "removeMeOnCompilation" && console.log(
|
|
9632
|
+
if (typeof process < "u" && process.env.NODE_ENV === "removeMeOnCompilation" && console.log(G), M === Mi) {
|
|
9633
9633
|
k == null || k.unsubscribe(), N.current = void 0;
|
|
9634
9634
|
return;
|
|
9635
9635
|
}
|
|
@@ -9642,7 +9642,7 @@ function XR({
|
|
|
9642
9642
|
}));
|
|
9643
9643
|
N.current = H;
|
|
9644
9644
|
} else I !== B && k.updateSubscriptionOptions(I);
|
|
9645
|
-
}, [x, A, S, M, I,
|
|
9645
|
+
}, [x, A, S, M, I, G]), Oe(() => () => {
|
|
9646
9646
|
var k;
|
|
9647
9647
|
(k = N.current) == null || k.unsubscribe(), N.current = void 0;
|
|
9648
9648
|
}, []), ct(() => ({
|
|
@@ -9789,7 +9789,7 @@ function XR({
|
|
|
9789
9789
|
isLoading: L,
|
|
9790
9790
|
isSuccess: U,
|
|
9791
9791
|
isError: j,
|
|
9792
|
-
error:
|
|
9792
|
+
error: G
|
|
9793
9793
|
} = x;
|
|
9794
9794
|
kg({
|
|
9795
9795
|
endpointName: I,
|
|
@@ -9798,7 +9798,7 @@ function XR({
|
|
|
9798
9798
|
isLoading: L,
|
|
9799
9799
|
isSuccess: U,
|
|
9800
9800
|
isError: j,
|
|
9801
|
-
error:
|
|
9801
|
+
error: G
|
|
9802
9802
|
});
|
|
9803
9803
|
const k = ct(() => ({
|
|
9804
9804
|
...x,
|
|
@@ -9893,10 +9893,12 @@ const tO = (e, t, r) => SR(
|
|
|
9893
9893
|
} : void 0
|
|
9894
9894
|
)(e, t, r), Ms = eO({
|
|
9895
9895
|
baseQuery: tO,
|
|
9896
|
+
tagTypes: ["stats"],
|
|
9896
9897
|
endpoints: (e) => ({
|
|
9897
9898
|
getStats: e.query({
|
|
9898
9899
|
query: () => "stats/requests",
|
|
9899
|
-
transformResponse: wa
|
|
9900
|
+
transformResponse: wa,
|
|
9901
|
+
providesTags: ["stats"]
|
|
9900
9902
|
}),
|
|
9901
9903
|
getTasks: e.query({
|
|
9902
9904
|
query: () => "tasks",
|
|
@@ -9930,16 +9932,11 @@ const tO = (e, t, r) => SR(
|
|
|
9930
9932
|
})
|
|
9931
9933
|
}),
|
|
9932
9934
|
resetStats: e.mutation({
|
|
9933
|
-
query: () => ({
|
|
9934
|
-
|
|
9935
|
-
method: "GET"
|
|
9936
|
-
})
|
|
9935
|
+
query: () => ({ url: "stats/reset" }),
|
|
9936
|
+
invalidatesTags: ["stats"]
|
|
9937
9937
|
}),
|
|
9938
9938
|
stopSwarm: e.mutation({
|
|
9939
|
-
query: () => ({
|
|
9940
|
-
url: "stop",
|
|
9941
|
-
method: "GET"
|
|
9942
|
-
})
|
|
9939
|
+
query: () => ({ url: "stop" })
|
|
9943
9940
|
})
|
|
9944
9941
|
})
|
|
9945
9942
|
}), {
|
|
@@ -10148,7 +10145,7 @@ function SO({
|
|
|
10148
10145
|
userCount: B.userCount,
|
|
10149
10146
|
profile: B.profile
|
|
10150
10147
|
}) : A(F ? F.message : "An unknown error occured."), S && S(B);
|
|
10151
|
-
},
|
|
10148
|
+
}, G = (B) => {
|
|
10152
10149
|
E && A(""), b && b(B);
|
|
10153
10150
|
}, k = (B) => {
|
|
10154
10151
|
if (!o) {
|
|
@@ -10168,7 +10165,7 @@ function SO({
|
|
|
10168
10165
|
setSelectedUserClasses: D
|
|
10169
10166
|
}
|
|
10170
10167
|
) }),
|
|
10171
|
-
/* @__PURE__ */ T.jsx(Qp, { onChange:
|
|
10168
|
+
/* @__PURE__ */ T.jsx(Qp, { onChange: G, onSubmit: j, children: /* @__PURE__ */ T.jsxs(
|
|
10172
10169
|
fe,
|
|
10173
10170
|
{
|
|
10174
10171
|
sx: {
|
|
@@ -10627,13 +10624,13 @@ const $O = ({
|
|
|
10627
10624
|
})) : null,
|
|
10628
10625
|
rows: i ? i.data : []
|
|
10629
10626
|
};
|
|
10630
|
-
},
|
|
10627
|
+
}, WO = Jt($O)(jO), GO = [
|
|
10631
10628
|
{ key: "count", title: "# occurrences" },
|
|
10632
10629
|
{ key: "msg", title: "Message" },
|
|
10633
10630
|
{ key: "traceback", title: "Traceback" }
|
|
10634
10631
|
];
|
|
10635
10632
|
function HO({ exceptions: e }) {
|
|
10636
|
-
return /* @__PURE__ */ T.jsx(nu, { rows: e, structure:
|
|
10633
|
+
return /* @__PURE__ */ T.jsx(nu, { rows: e, structure: GO });
|
|
10637
10634
|
}
|
|
10638
10635
|
const UO = ({ ui: { exceptions: e } }) => ({ exceptions: e }), YO = Jt(UO)(HO), qO = {
|
|
10639
10636
|
totalRps: 0,
|
|
@@ -11279,7 +11276,7 @@ function q(e, t) {
|
|
|
11279
11276
|
}
|
|
11280
11277
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
11281
11278
|
}
|
|
11282
|
-
var yv = 12, DI = "sans-serif",
|
|
11279
|
+
var yv = 12, DI = "sans-serif", Wi = yv + "px " + DI, AI = 20, MI = 100, RI = "007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";
|
|
11283
11280
|
function OI(e) {
|
|
11284
11281
|
var t = {};
|
|
11285
11282
|
if (typeof JSON > "u")
|
|
@@ -11302,8 +11299,8 @@ var II = OI(RI), to = {
|
|
|
11302
11299
|
e = i && i.getContext("2d");
|
|
11303
11300
|
}
|
|
11304
11301
|
if (e)
|
|
11305
|
-
return t !== n && (t = e.font = n ||
|
|
11306
|
-
r = r || "", n = n ||
|
|
11302
|
+
return t !== n && (t = e.font = n || Wi), e.measureText(r);
|
|
11303
|
+
r = r || "", n = n || Wi;
|
|
11307
11304
|
var a = /((?:\d+)?\.?\d*)px/.exec(n), o = a && +a[1] || yv, s = 0;
|
|
11308
11305
|
if (n.indexOf("mono") >= 0)
|
|
11309
11306
|
s = o * r.length;
|
|
@@ -11373,7 +11370,7 @@ function ge(e) {
|
|
|
11373
11370
|
t[n] = e[n];
|
|
11374
11371
|
}
|
|
11375
11372
|
}
|
|
11376
|
-
} else if (!BS[r] && !ss(e) && !
|
|
11373
|
+
} else if (!BS[r] && !ss(e) && !Gi(e)) {
|
|
11377
11374
|
t = {};
|
|
11378
11375
|
for (var o in e)
|
|
11379
11376
|
e.hasOwnProperty(o) && o !== bv && (t[o] = ge(e[o]));
|
|
@@ -11386,7 +11383,7 @@ function ye(e, t, r) {
|
|
|
11386
11383
|
for (var n in t)
|
|
11387
11384
|
if (t.hasOwnProperty(n) && n !== bv) {
|
|
11388
11385
|
var i = e[n], a = t[n];
|
|
11389
|
-
ie(a) && ie(i) && !Q(a) && !Q(i) && !
|
|
11386
|
+
ie(a) && ie(i) && !Q(a) && !Q(i) && !Gi(a) && !Gi(i) && !ey(a) && !ey(i) && !ss(a) && !ss(i) ? ye(i, a, r) : (r || !(n in e)) && (e[n] = ge(t[n]));
|
|
11390
11387
|
}
|
|
11391
11388
|
return e;
|
|
11392
11389
|
}
|
|
@@ -11399,7 +11396,7 @@ function Z(e, t) {
|
|
|
11399
11396
|
return e;
|
|
11400
11397
|
}
|
|
11401
11398
|
function Ce(e, t, r) {
|
|
11402
|
-
for (var n =
|
|
11399
|
+
for (var n = Ge(t), i = 0; i < n.length; i++) {
|
|
11403
11400
|
var a = n[i];
|
|
11404
11401
|
e[a] == null && (e[a] = t[a]);
|
|
11405
11402
|
}
|
|
@@ -11476,7 +11473,7 @@ function bt(e, t, r) {
|
|
|
11476
11473
|
t.call(r, e[i], i, e) && n.push(e[i]);
|
|
11477
11474
|
return n;
|
|
11478
11475
|
}
|
|
11479
|
-
function
|
|
11476
|
+
function Ge(e) {
|
|
11480
11477
|
if (!e)
|
|
11481
11478
|
return [];
|
|
11482
11479
|
if (Object.keys)
|
|
@@ -11526,7 +11523,7 @@ function ey(e) {
|
|
|
11526
11523
|
function Rt(e) {
|
|
11527
11524
|
return !!VS[ro.call(e)];
|
|
11528
11525
|
}
|
|
11529
|
-
function
|
|
11526
|
+
function Gi(e) {
|
|
11530
11527
|
return typeof e == "object" && typeof e.nodeType == "number" && typeof e.ownerDocument == "object";
|
|
11531
11528
|
}
|
|
11532
11529
|
function Ac(e) {
|
|
@@ -11593,7 +11590,7 @@ var jI = function() {
|
|
|
11593
11590
|
}, e.prototype.set = function(t, r) {
|
|
11594
11591
|
return this.data[t] = r, this;
|
|
11595
11592
|
}, e.prototype.keys = function() {
|
|
11596
|
-
return
|
|
11593
|
+
return Ge(this.data);
|
|
11597
11594
|
}, e.prototype.forEach = function(t) {
|
|
11598
11595
|
var r = this.data;
|
|
11599
11596
|
for (var n in r)
|
|
@@ -11603,7 +11600,7 @@ var jI = function() {
|
|
|
11603
11600
|
function $I() {
|
|
11604
11601
|
return $S ? /* @__PURE__ */ new Map() : new jI();
|
|
11605
11602
|
}
|
|
11606
|
-
var
|
|
11603
|
+
var WI = function() {
|
|
11607
11604
|
function e(t) {
|
|
11608
11605
|
var r = Q(t);
|
|
11609
11606
|
this.data = $I();
|
|
@@ -11631,9 +11628,9 @@ var GI = function() {
|
|
|
11631
11628
|
}, e;
|
|
11632
11629
|
}();
|
|
11633
11630
|
function pe(e) {
|
|
11634
|
-
return new
|
|
11631
|
+
return new WI(e);
|
|
11635
11632
|
}
|
|
11636
|
-
function
|
|
11633
|
+
function GI(e, t) {
|
|
11637
11634
|
for (var r = new e.constructor(e.length + t.length), n = 0; n < e.length; n++)
|
|
11638
11635
|
r[n] = e[n];
|
|
11639
11636
|
for (var i = e.length, n = 0; n < t.length; n++)
|
|
@@ -11651,7 +11648,7 @@ function Mc(e, t) {
|
|
|
11651
11648
|
}
|
|
11652
11649
|
return t && Z(r, t), r;
|
|
11653
11650
|
}
|
|
11654
|
-
function
|
|
11651
|
+
function WS(e) {
|
|
11655
11652
|
var t = e.style;
|
|
11656
11653
|
t.webkitUserSelect = "none", t.userSelect = "none", t.webkitTapHighlightColor = "rgba(0,0,0,0)", t["-webkit-touch-callout"] = "none";
|
|
11657
11654
|
}
|
|
@@ -11678,7 +11675,7 @@ function qI(e, t) {
|
|
|
11678
11675
|
var s = document.documentElement.style;
|
|
11679
11676
|
t.transform3dSupported = (r.ie && "transition" in s || r.edge || "WebKitCSSMatrix" in window && "m11" in new WebKitCSSMatrix() || "MozPerspective" in s) && !("OTransition" in s), t.transformSupported = t.transform3dSupported || r.ie && +r.version >= 9;
|
|
11680
11677
|
}
|
|
11681
|
-
var ZI = ".", ti = "___EC__COMPONENT__CONTAINER___",
|
|
11678
|
+
var ZI = ".", ti = "___EC__COMPONENT__CONTAINER___", GS = "___EC__EXTENDED_CLASS___";
|
|
11682
11679
|
function Fr(e) {
|
|
11683
11680
|
var t = {
|
|
11684
11681
|
main: "",
|
|
@@ -11694,7 +11691,7 @@ function XI(e) {
|
|
|
11694
11691
|
se(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e), 'componentType "' + e + '" illegal');
|
|
11695
11692
|
}
|
|
11696
11693
|
function KI(e) {
|
|
11697
|
-
return !!(e && e[
|
|
11694
|
+
return !!(e && e[GS]);
|
|
11698
11695
|
}
|
|
11699
11696
|
function xv(e, t) {
|
|
11700
11697
|
e.$constructor = e, e.extend = function(r) {
|
|
@@ -11711,7 +11708,7 @@ function xv(e, t) {
|
|
|
11711
11708
|
return o;
|
|
11712
11709
|
}(n) : (i = function() {
|
|
11713
11710
|
(r.$constructor || n).apply(this, arguments);
|
|
11714
|
-
}, BI(i, this)), Z(i.prototype, r), i[
|
|
11711
|
+
}, BI(i, this)), Z(i.prototype, r), i[GS] = !0, i.extend = this.extend, i.superCall = tP, i.superApply = rP, i.superClass = n, i;
|
|
11715
11712
|
};
|
|
11716
11713
|
}
|
|
11717
11714
|
function QI(e) {
|
|
@@ -12046,7 +12043,7 @@ var Be = function() {
|
|
|
12046
12043
|
}, e;
|
|
12047
12044
|
}(), ry = {};
|
|
12048
12045
|
function Zt(e, t) {
|
|
12049
|
-
t = t ||
|
|
12046
|
+
t = t || Wi;
|
|
12050
12047
|
var r = ry[t];
|
|
12051
12048
|
r || (r = ry[t] = new iu(500));
|
|
12052
12049
|
var n = r.get(e);
|
|
@@ -12233,8 +12230,8 @@ function vP(e, t) {
|
|
|
12233
12230
|
}
|
|
12234
12231
|
s < e.length && Bf(r, e.substring(s, e.length), t, o);
|
|
12235
12232
|
var c = [], f = 0, h = 0, d = t.padding, p = a === "truncate", v = t.lineOverflow === "truncate";
|
|
12236
|
-
function g(j,
|
|
12237
|
-
j.width =
|
|
12233
|
+
function g(j, G, k) {
|
|
12234
|
+
j.width = G, j.lineHeight = k, f += k, h = Math.max(h, G);
|
|
12238
12235
|
}
|
|
12239
12236
|
e: for (var m = 0; m < r.lines.length; m++) {
|
|
12240
12237
|
for (var y = r.lines[m], _ = 0, b = 0, S = 0; S < y.tokens.length; S++) {
|
|
@@ -13060,7 +13057,7 @@ var Ad = Array.prototype.slice;
|
|
|
13060
13057
|
function nn(e, t, r) {
|
|
13061
13058
|
return (t - e) * r + e;
|
|
13062
13059
|
}
|
|
13063
|
-
function
|
|
13060
|
+
function Wf(e, t, r, n) {
|
|
13064
13061
|
for (var i = t.length, a = 0; a < i; a++)
|
|
13065
13062
|
e[a] = nn(t[a], r[a], n);
|
|
13066
13063
|
return e;
|
|
@@ -13225,7 +13222,7 @@ var wo = [0, 0, 0, 0], $P = function() {
|
|
|
13225
13222
|
if ((Lu(a) || l) && !y && (y = this._additiveValue = []), this.discrete)
|
|
13226
13223
|
t[u] = m < 1 ? d.rawValue : p.rawValue;
|
|
13227
13224
|
else if (Lu(a))
|
|
13228
|
-
a === vl ?
|
|
13225
|
+
a === vl ? Wf(y, d[i], p[i], m) : VP(y, d[i], p[i], m);
|
|
13229
13226
|
else if (my(a)) {
|
|
13230
13227
|
var _ = d[i], b = p[i], S = a === Md;
|
|
13231
13228
|
t[u] = {
|
|
@@ -13236,13 +13233,13 @@ var wo = [0, 0, 0, 0], $P = function() {
|
|
|
13236
13233
|
var A = b.colorStops[E];
|
|
13237
13234
|
return {
|
|
13238
13235
|
offset: nn(C.offset, A.offset, m),
|
|
13239
|
-
color: pl(
|
|
13236
|
+
color: pl(Wf([], C.color, A.color, m))
|
|
13240
13237
|
};
|
|
13241
13238
|
}),
|
|
13242
13239
|
global: b.global
|
|
13243
13240
|
}, S ? (t[u].x2 = nn(_.x2, b.x2, m), t[u].y2 = nn(_.y2, b.y2, m)) : t[u].r = nn(_.r, b.r, m);
|
|
13244
13241
|
} else if (l)
|
|
13245
|
-
|
|
13242
|
+
Wf(y, d[i], p[i], m), n || (t[u] = pl(y));
|
|
13246
13243
|
else {
|
|
13247
13244
|
var w = nn(d[i], p[i], m);
|
|
13248
13245
|
n ? this._additiveValue = w : t[u] = w;
|
|
@@ -13273,7 +13270,7 @@ var wo = [0, 0, 0, 0], $P = function() {
|
|
|
13273
13270
|
}, e.prototype.changeTarget = function(t) {
|
|
13274
13271
|
this._target = t;
|
|
13275
13272
|
}, e.prototype.when = function(t, r, n) {
|
|
13276
|
-
return this.whenWithKeys(t, r,
|
|
13273
|
+
return this.whenWithKeys(t, r, Ge(r), n);
|
|
13277
13274
|
}, e.prototype.whenWithKeys = function(t, r, n, i) {
|
|
13278
13275
|
for (var a = this._tracks, o = 0; o < n.length; o++) {
|
|
13279
13276
|
var s = n[o], u = a[s];
|
|
@@ -13414,7 +13411,7 @@ var wo = [0, 0, 0, 0], $P = function() {
|
|
|
13414
13411
|
}
|
|
13415
13412
|
}
|
|
13416
13413
|
}, e.prototype.__changeFinalValue = function(t, r) {
|
|
13417
|
-
r = r ||
|
|
13414
|
+
r = r || Ge(t);
|
|
13418
13415
|
for (var n = 0; n < r.length; n++) {
|
|
13419
13416
|
var i = r[n], a = this._tracks[i];
|
|
13420
13417
|
if (a) {
|
|
@@ -13521,7 +13518,7 @@ var wo = [0, 0, 0, 0], $P = function() {
|
|
|
13521
13518
|
}, e;
|
|
13522
13519
|
}(), ox = 1;
|
|
13523
13520
|
de.hasGlobalWindow && (ox = Math.max(window.devicePixelRatio || window.screen && window.screen.deviceXDPI / window.screen.logicalXDPI || 1, 1));
|
|
13524
|
-
var zl = ox, Od = 0.4, Id = "#333", Pd = "#ccc",
|
|
13521
|
+
var zl = ox, Od = 0.4, Id = "#333", Pd = "#ccc", WP = "#eee", $r = 1, gl = 2, Xo = 4, Gf = "__zr_normal__", Hf = Is.concat(["ignore"]), GP = no(Is, function(e, t) {
|
|
13525
13522
|
return e[t] = !0, e;
|
|
13526
13523
|
}, { ignore: !1 }), la = {}, HP = new Ee(0, 0, 0, 0), kc = function() {
|
|
13527
13524
|
function e(t) {
|
|
@@ -13591,7 +13588,7 @@ var zl = ox, Od = 0.4, Id = "#333", Pd = "#ccc", GP = "#eee", $r = 1, gl = 2, Xo
|
|
|
13591
13588
|
if (typeof t == "string")
|
|
13592
13589
|
this.attrKV(t, r);
|
|
13593
13590
|
else if (ie(t))
|
|
13594
|
-
for (var n = t, i =
|
|
13591
|
+
for (var n = t, i = Ge(n), a = 0; a < i.length; a++) {
|
|
13595
13592
|
var o = i[a];
|
|
13596
13593
|
this.attrKV(o, t[o]);
|
|
13597
13594
|
}
|
|
@@ -13600,7 +13597,7 @@ var zl = ox, Od = 0.4, Id = "#333", Pd = "#ccc", GP = "#eee", $r = 1, gl = 2, Xo
|
|
|
13600
13597
|
this._innerSaveToNormal(t);
|
|
13601
13598
|
for (var r = this._normalState, n = 0; n < this.animators.length; n++) {
|
|
13602
13599
|
var i = this.animators[n], a = i.__fromStateTransition;
|
|
13603
|
-
if (!(i.getLoop() || a && a !==
|
|
13600
|
+
if (!(i.getLoop() || a && a !== Gf)) {
|
|
13604
13601
|
var o = i.targetName, s = o ? r[o] : r;
|
|
13605
13602
|
i.saveTo(s);
|
|
13606
13603
|
}
|
|
@@ -13621,9 +13618,9 @@ var zl = ox, Od = 0.4, Id = "#333", Pd = "#ccc", GP = "#eee", $r = 1, gl = 2, Xo
|
|
|
13621
13618
|
var r = this.states;
|
|
13622
13619
|
return r[t] || (r[t] = {}), r[t];
|
|
13623
13620
|
}, e.prototype.clearStates = function(t) {
|
|
13624
|
-
this.useState(
|
|
13621
|
+
this.useState(Gf, !1, t);
|
|
13625
13622
|
}, e.prototype.useState = function(t, r, n, i) {
|
|
13626
|
-
var a = t ===
|
|
13623
|
+
var a = t === Gf, o = this.hasState();
|
|
13627
13624
|
if (!(!o && a)) {
|
|
13628
13625
|
var s = this.currentStates, u = this.stateTransition;
|
|
13629
13626
|
if (!(xe(s, t) >= 0 && (r || s.length === 1))) {
|
|
@@ -13699,7 +13696,7 @@ var zl = ox, Od = 0.4, Id = "#333", Pd = "#ccc", GP = "#eee", $r = 1, gl = 2, Xo
|
|
|
13699
13696
|
var s = !(r && i);
|
|
13700
13697
|
r && r.textConfig ? (this.textConfig = Z({}, i ? this.textConfig : n.textConfig), Z(this.textConfig, r.textConfig)) : s && n.textConfig && (this.textConfig = n.textConfig);
|
|
13701
13698
|
for (var u = {}, l = !1, c = 0; c < Hf.length; c++) {
|
|
13702
|
-
var f = Hf[c], h = a &&
|
|
13699
|
+
var f = Hf[c], h = a && GP[f];
|
|
13703
13700
|
r && r[f] != null ? h ? (l = !0, u[f] = r[f]) : this[f] = r[f] : s && n[f] != null && (h ? (l = !0, u[f] = n[f]) : this[f] = n[f]);
|
|
13704
13701
|
}
|
|
13705
13702
|
if (!a)
|
|
@@ -13914,7 +13911,7 @@ function ZP(e, t) {
|
|
|
13914
13911
|
return !0;
|
|
13915
13912
|
}
|
|
13916
13913
|
function sx(e, t, r, n, i, a, o, s) {
|
|
13917
|
-
for (var u =
|
|
13914
|
+
for (var u = Ge(n), l = i.duration, c = i.delay, f = i.additive, h = i.setToFinal, d = !ie(a), p = e.animators, v = [], g = 0; g < u.length; g++) {
|
|
13918
13915
|
var m = u[g], y = n[m];
|
|
13919
13916
|
if (y != null && r[m] != null && (d || a[m]))
|
|
13920
13917
|
if (ie(y) && !zt(y) && !Ac(y)) {
|
|
@@ -13985,7 +13982,7 @@ var yy = ["z", "z2", "invisible"], XP = ["invisible"], au = function(e) {
|
|
|
13985
13982
|
return e.call(this, r) || this;
|
|
13986
13983
|
}
|
|
13987
13984
|
return t.prototype._init = function(r) {
|
|
13988
|
-
for (var n =
|
|
13985
|
+
for (var n = Ge(r), i = 0; i < n.length; i++) {
|
|
13989
13986
|
var a = n[i];
|
|
13990
13987
|
a === "style" ? this.useStyle(r[a]) : e.prototype.attrKV.call(this, a, r[a]);
|
|
13991
13988
|
}
|
|
@@ -14063,11 +14060,11 @@ var yy = ["z", "z2", "invisible"], XP = ["invisible"], au = function(e) {
|
|
|
14063
14060
|
if (o) {
|
|
14064
14061
|
var c = this.style;
|
|
14065
14062
|
if (this.style = this.createStyle(u ? {} : c), u)
|
|
14066
|
-
for (var f =
|
|
14063
|
+
for (var f = Ge(c), h = 0; h < f.length; h++) {
|
|
14067
14064
|
var d = f[h];
|
|
14068
14065
|
d in l && (l[d] = l[d], this.style[d] = c[d]);
|
|
14069
14066
|
}
|
|
14070
|
-
for (var p =
|
|
14067
|
+
for (var p = Ge(l), h = 0; h < p.length; h++) {
|
|
14071
14068
|
var d = p[h];
|
|
14072
14069
|
this.style[d] = this.style[d];
|
|
14073
14070
|
}
|
|
@@ -14353,17 +14350,17 @@ var Yi = function() {
|
|
|
14353
14350
|
break;
|
|
14354
14351
|
}
|
|
14355
14352
|
case Re.C: {
|
|
14356
|
-
var P = n[w++], N = n[w++], L = n[w++], U = n[w++], j = n[w++],
|
|
14353
|
+
var P = n[w++], N = n[w++], L = n[w++], U = n[w++], j = n[w++], G = n[w++];
|
|
14357
14354
|
if (d) {
|
|
14358
14355
|
var D = p[m++];
|
|
14359
14356
|
if (g + D > y) {
|
|
14360
14357
|
var M = (y - g) / D;
|
|
14361
|
-
Bl(l, P, L, j, M, li), Bl(c, N, U,
|
|
14358
|
+
Bl(l, P, L, j, M, li), Bl(c, N, U, G, M, ci), t.bezierCurveTo(li[1], ci[1], li[2], ci[2], li[3], ci[3]);
|
|
14362
14359
|
break e;
|
|
14363
14360
|
}
|
|
14364
14361
|
g += D;
|
|
14365
14362
|
}
|
|
14366
|
-
t.bezierCurveTo(P, N, L, U, j,
|
|
14363
|
+
t.bezierCurveTo(P, N, L, U, j, G), l = j, c = G;
|
|
14367
14364
|
break;
|
|
14368
14365
|
}
|
|
14369
14366
|
case Re.Q: {
|
|
@@ -14680,7 +14677,7 @@ var lx = Ce({
|
|
|
14680
14677
|
}, t.prototype.getDecalElement = function() {
|
|
14681
14678
|
return this._decalEl;
|
|
14682
14679
|
}, t.prototype._init = function(r) {
|
|
14683
|
-
var n =
|
|
14680
|
+
var n = Ge(r);
|
|
14684
14681
|
this.shape = this.getDefaultShape();
|
|
14685
14682
|
var i = this.getDefaultStyle();
|
|
14686
14683
|
i && this.useStyle(i);
|
|
@@ -14700,7 +14697,7 @@ var lx = Ce({
|
|
|
14700
14697
|
if (r !== "none") {
|
|
14701
14698
|
if (J(r)) {
|
|
14702
14699
|
var n = Fl(r, 0);
|
|
14703
|
-
return n > 0.5 ? Id : n > 0.2 ?
|
|
14700
|
+
return n > 0.5 ? Id : n > 0.2 ? WP : Pd;
|
|
14704
14701
|
} else if (r)
|
|
14705
14702
|
return Pd;
|
|
14706
14703
|
}
|
|
@@ -14787,7 +14784,7 @@ var lx = Ce({
|
|
|
14787
14784
|
if (n && n.shape ? o ? a ? l = n.shape : (l = Z({}, i.shape), Z(l, n.shape)) : (l = Z({}, a ? this.shape : i.shape), Z(l, n.shape)) : u && (l = i.shape), l)
|
|
14788
14785
|
if (o) {
|
|
14789
14786
|
this.shape = Z({}, this.shape);
|
|
14790
|
-
for (var c = {}, f =
|
|
14787
|
+
for (var c = {}, f = Ge(l), h = 0; h < f.length; h++) {
|
|
14791
14788
|
var d = f[h];
|
|
14792
14789
|
typeof l[d] == "object" ? this.shape[d] = l[d] : c[d] = l[d];
|
|
14793
14790
|
}
|
|
@@ -14828,7 +14825,7 @@ var lx = Ce({
|
|
|
14828
14825
|
}(), t;
|
|
14829
14826
|
}(au), pk = Ce({
|
|
14830
14827
|
strokeFirst: !0,
|
|
14831
|
-
font:
|
|
14828
|
+
font: Wi,
|
|
14832
14829
|
x: 0,
|
|
14833
14830
|
y: 0,
|
|
14834
14831
|
textAlign: "left",
|
|
@@ -15043,7 +15040,7 @@ var wy = {
|
|
|
15043
15040
|
var i = n.rich, a = r.rich || i && {};
|
|
15044
15041
|
return Z(r, n), i && a ? (this._mergeRich(a, i), r.rich = a) : a && (r.rich = a), r;
|
|
15045
15042
|
}, t.prototype._mergeRich = function(r, n) {
|
|
15046
|
-
for (var i =
|
|
15043
|
+
for (var i = Ge(n), a = 0; a < i.length; a++) {
|
|
15047
15044
|
var o = i[a];
|
|
15048
15045
|
r[o] = r[o] || {}, Z(r[o], n[o]);
|
|
15049
15046
|
}
|
|
@@ -15053,7 +15050,7 @@ var wy = {
|
|
|
15053
15050
|
var n = this._children[this._childCursor];
|
|
15054
15051
|
return (!n || !(n instanceof r)) && (n = new r()), this._children[this._childCursor++] = n, n.__zr = this.__zr, n.parent = this, n;
|
|
15055
15052
|
}, t.prototype._updatePlainTexts = function() {
|
|
15056
|
-
var r = this.style, n = r.font ||
|
|
15053
|
+
var r = this.style, n = r.font || Wi, i = r.padding, a = Oy(r), o = hP(a, r), s = nh(r), u = !!r.backgroundColor, l = o.outerHeight, c = o.outerWidth, f = o.contentWidth, h = o.lines, d = o.lineHeight, p = this._defaultStyle, v = r.x || 0, g = r.y || 0, m = r.align || p.align || "left", y = r.verticalAlign || p.verticalAlign || "top", _ = v, b = Ca(g, o.contentHeight, y);
|
|
15057
15054
|
if (s || i) {
|
|
15058
15055
|
var S = qo(v, c, m), w = Ca(g, l, y);
|
|
15059
15056
|
s && this._renderBackground(r, r, S, w, c, l);
|
|
@@ -15089,7 +15086,7 @@ var wy = {
|
|
|
15089
15086
|
var v = this._getOrCreateChild(jl), g = v.createStyle();
|
|
15090
15087
|
v.useStyle(g);
|
|
15091
15088
|
var m = this._defaultStyle, y = !1, _ = 0, b = My("fill" in l ? l.fill : "fill" in n ? n.fill : (y = !0, m.fill)), S = Ay("stroke" in l ? l.stroke : "stroke" in n ? n.stroke : !d && !u && (!m.autoStroke || y) ? (_ = Cy, m.stroke) : null), w = l.textShadowBlur > 0 || n.textShadowBlur > 0;
|
|
15092
|
-
g.text = r.text, g.x = o, g.y = f, w && (g.shadowBlur = l.textShadowBlur || n.textShadowBlur || 0, g.shadowColor = l.textShadowColor || n.textShadowColor || "transparent", g.shadowOffsetX = l.textShadowOffsetX || n.textShadowOffsetX || 0, g.shadowOffsetY = l.textShadowOffsetY || n.textShadowOffsetY || 0), g.textAlign = s, g.textBaseline = "middle", g.font = r.font ||
|
|
15089
|
+
g.text = r.text, g.x = o, g.y = f, w && (g.shadowBlur = l.textShadowBlur || n.textShadowBlur || 0, g.shadowColor = l.textShadowColor || n.textShadowColor || "transparent", g.shadowOffsetX = l.textShadowOffsetX || n.textShadowOffsetX || 0, g.shadowOffsetY = l.textShadowOffsetY || n.textShadowOffsetY || 0), g.textAlign = s, g.textBaseline = "middle", g.font = r.font || Wi, g.opacity = Na(l.opacity, n.opacity, 1), Ey(g, l), S && (g.lineWidth = Na(l.lineWidth, n.lineWidth, _), g.lineDash = me(l.lineDash, n.lineDash), g.lineDashOffset = n.lineDashOffset || 0, g.stroke = S), b && (g.fill = b);
|
|
15093
15090
|
var C = r.contentWidth, E = r.contentHeight;
|
|
15094
15091
|
v.setBoundingRect(new Ee(qo(g.x, C, g.textAlign), Ca(g.y, E, g.textBaseline), C, E));
|
|
15095
15092
|
}, t.prototype._renderBackground = function(r, n, i, a, o, s) {
|
|
@@ -15279,12 +15276,12 @@ function vx(e, t) {
|
|
|
15279
15276
|
var r = Lc(e), n = Math.pow(10, r), i = e / n, a;
|
|
15280
15277
|
return i < 1.5 ? a = 1 : i < 2.5 ? a = 2 : i < 4 ? a = 3 : i < 7 ? a = 5 : a = 10, e = a * n, r >= -20 ? +e.toFixed(r < 0 ? -r : 0) : e;
|
|
15281
15278
|
}
|
|
15282
|
-
function
|
|
15279
|
+
function Wl(e) {
|
|
15283
15280
|
var t = parseFloat(e);
|
|
15284
15281
|
return t == e && (t !== 0 || !J(e) || e.indexOf("x") <= 0) ? t : NaN;
|
|
15285
15282
|
}
|
|
15286
15283
|
function gx(e) {
|
|
15287
|
-
return !isNaN(
|
|
15284
|
+
return !isNaN(Wl(e));
|
|
15288
15285
|
}
|
|
15289
15286
|
function mx() {
|
|
15290
15287
|
return Math.round(Math.random() * 9);
|
|
@@ -15321,7 +15318,7 @@ function Ar(e) {
|
|
|
15321
15318
|
function ut(e, t, r) {
|
|
15322
15319
|
process.env.NODE_ENV !== "production" && Ar((r ? "[" + r + "]" : "") + (e + " is deprecated, use " + t + " instead."));
|
|
15323
15320
|
}
|
|
15324
|
-
function
|
|
15321
|
+
function Gl() {
|
|
15325
15322
|
for (var e = [], t = 0; t < arguments.length; t++)
|
|
15326
15323
|
e[t] = arguments[t];
|
|
15327
15324
|
var r = "";
|
|
@@ -15483,15 +15480,15 @@ function $k(e) {
|
|
|
15483
15480
|
});
|
|
15484
15481
|
}
|
|
15485
15482
|
function Sx(e, t, r) {
|
|
15486
|
-
var n =
|
|
15483
|
+
var n = Wr(t[e], null), i = Wr(r[e], null);
|
|
15487
15484
|
return n != null && i != null && n === i;
|
|
15488
15485
|
}
|
|
15489
15486
|
function cs(e) {
|
|
15490
15487
|
if (process.env.NODE_ENV !== "production" && e == null)
|
|
15491
15488
|
throw new Error();
|
|
15492
|
-
return
|
|
15489
|
+
return Wr(e, "");
|
|
15493
15490
|
}
|
|
15494
|
-
function
|
|
15491
|
+
function Wr(e, t) {
|
|
15495
15492
|
return e == null ? t : J(e) ? e : He(e) || Nl(e) ? e + "" : t;
|
|
15496
15493
|
}
|
|
15497
15494
|
function By(e) {
|
|
@@ -15507,10 +15504,10 @@ function Mv(e) {
|
|
|
15507
15504
|
function Ya(e) {
|
|
15508
15505
|
return e && e.id != null && cs(e.id).indexOf(bx) === 0;
|
|
15509
15506
|
}
|
|
15510
|
-
function
|
|
15507
|
+
function Wk(e) {
|
|
15511
15508
|
return bx + e;
|
|
15512
15509
|
}
|
|
15513
|
-
function
|
|
15510
|
+
function Gk(e, t, r) {
|
|
15514
15511
|
R(e, function(n) {
|
|
15515
15512
|
var i = n.newOption;
|
|
15516
15513
|
ie(i) && (n.keyInfo.mainType = t, n.keyInfo.subType = Hk(t, i, n.existing, r));
|
|
@@ -15673,7 +15670,7 @@ function yn(e, t, r) {
|
|
|
15673
15670
|
$y(n, t, r);
|
|
15674
15671
|
});
|
|
15675
15672
|
}
|
|
15676
|
-
function
|
|
15673
|
+
function Wy(e, t) {
|
|
15677
15674
|
switch (t) {
|
|
15678
15675
|
case "emphasis":
|
|
15679
15676
|
e.hoverState = Fc;
|
|
@@ -15752,7 +15749,7 @@ function oN(e) {
|
|
|
15752
15749
|
var t = e.getTextContent(), r = e.getTextGuideLine();
|
|
15753
15750
|
t && (t.stateProxy = ih), r && (r.stateProxy = ih);
|
|
15754
15751
|
}
|
|
15755
|
-
function
|
|
15752
|
+
function Gy(e, t) {
|
|
15756
15753
|
!Ox(e, t) && !e.__highByOuter && yn(e, Tx);
|
|
15757
15754
|
}
|
|
15758
15755
|
function Hy(e, t) {
|
|
@@ -15815,7 +15812,7 @@ function Bd(e, t, r, n) {
|
|
|
15815
15812
|
}), zt(t))
|
|
15816
15813
|
a(l.getData(), t);
|
|
15817
15814
|
else if (ie(t))
|
|
15818
|
-
for (var p =
|
|
15815
|
+
for (var p = Ge(t), v = 0; v < p.length; v++)
|
|
15819
15816
|
a(l.getData(p[v]), t[p[v]]);
|
|
15820
15817
|
u.push(l), Ov(l).isBlured = !0;
|
|
15821
15818
|
}
|
|
@@ -15886,8 +15883,8 @@ function lN(e, t, r) {
|
|
|
15886
15883
|
process.env.NODE_ENV !== "production" && !Xa(e) && St("param should be highDownDispatcher");
|
|
15887
15884
|
var n = Ie(e), i = kv(n.componentMainType, n.componentIndex, n.componentHighDownName, r), a = i.dispatchers, o = i.focusSelf;
|
|
15888
15885
|
a ? (o && Vd(n.componentMainType, n.componentIndex, r), R(a, function(s) {
|
|
15889
|
-
return
|
|
15890
|
-
})) : (Bd(n.seriesIndex, n.focus, n.blurScope, r), n.focus === "self" && Vd(n.componentMainType, n.componentIndex, r),
|
|
15886
|
+
return Gy(s, t);
|
|
15887
|
+
})) : (Bd(n.seriesIndex, n.focus, n.blurScope, r), n.focus === "self" && Vd(n.componentMainType, n.componentIndex, r), Gy(e, t));
|
|
15891
15888
|
}
|
|
15892
15889
|
function cN(e, t, r) {
|
|
15893
15890
|
process.env.NODE_ENV !== "production" && !Xa(e) && St("param should be highDownDispatcher"), Ix(r);
|
|
@@ -16288,7 +16285,7 @@ function RN(e, t, r, n, i, a, o, s) {
|
|
|
16288
16285
|
if (!(h * h < xr))
|
|
16289
16286
|
return h = (c * (t - a) - f * (e - i)) / h, [e + h * u, t + h * l];
|
|
16290
16287
|
}
|
|
16291
|
-
function
|
|
16288
|
+
function Wu(e, t, r, n, i, a, o) {
|
|
16292
16289
|
var s = e - r, u = t - n, l = (o ? a : -a) / ps(s * s + u * u), c = l * u, f = -l * s, h = e + c, d = t + f, p = r + c, v = n + f, g = (h + p) / 2, m = (d + v) / 2, y = p - h, _ = v - d, b = y * y + _ * _, S = i - a, w = h * v - p * d, C = (_ < 0 ? -1 : 1) * ps(Qo(0, S * S * b - w * w)), E = (w * _ - y * C) / b, A = (-w * y - _ * C) / b, x = (w * _ + y * C) / b, D = (-w * y + _ * C) / b, M = E - g, I = A - m, P = x - g, N = D - m;
|
|
16293
16290
|
return M * M + I * I > P * P + N * N && (E = x, A = D), {
|
|
16294
16291
|
cx: E,
|
|
@@ -16325,8 +16322,8 @@ function IN(e, t) {
|
|
|
16325
16322
|
else if (d > oh - xr)
|
|
16326
16323
|
e.moveTo(c + n * da(u), f + n * vi(u)), e.arc(c, f, n, u, l, !h), i > xr && (e.moveTo(c + i * da(l), f + i * vi(l)), e.arc(c, f, i, l, u, h));
|
|
16327
16324
|
else {
|
|
16328
|
-
var v = void 0, g = void 0, m = void 0, y = void 0, _ = void 0, b = void 0, S = void 0, w = void 0, C = void 0, E = void 0, A = void 0, x = void 0, D = void 0, M = void 0, I = void 0, P = void 0, N = n * da(u), L = n * vi(u), U = i * da(l), j = i * vi(l),
|
|
16329
|
-
if (
|
|
16325
|
+
var v = void 0, g = void 0, m = void 0, y = void 0, _ = void 0, b = void 0, S = void 0, w = void 0, C = void 0, E = void 0, A = void 0, x = void 0, D = void 0, M = void 0, I = void 0, P = void 0, N = n * da(u), L = n * vi(u), U = i * da(l), j = i * vi(l), G = d > xr;
|
|
16326
|
+
if (G) {
|
|
16330
16327
|
var k = t.cornerRadius;
|
|
16331
16328
|
k && (r = ON(k), v = r[0], g = r[1], m = r[2], y = r[3]);
|
|
16332
16329
|
var B = e0(n - i) / 2;
|
|
@@ -16338,17 +16335,17 @@ function IN(e, t) {
|
|
|
16338
16335
|
}
|
|
16339
16336
|
}
|
|
16340
16337
|
}
|
|
16341
|
-
if (!
|
|
16338
|
+
if (!G)
|
|
16342
16339
|
e.moveTo(c + N, f + L);
|
|
16343
16340
|
else if (A > xr) {
|
|
16344
|
-
var oe = Lr(m, A), ne = Lr(y, A), ee =
|
|
16341
|
+
var oe = Lr(m, A), ne = Lr(y, A), ee = Wu(I, P, N, L, n, oe, h), z = Wu(D, M, U, j, n, ne, h);
|
|
16345
16342
|
e.moveTo(c + ee.cx + ee.x0, f + ee.cy + ee.y0), A < C && oe === ne ? e.arc(c + ee.cx, f + ee.cy, A, vt(ee.y0, ee.x0), vt(z.y0, z.x0), !h) : (oe > 0 && e.arc(c + ee.cx, f + ee.cy, oe, vt(ee.y0, ee.x0), vt(ee.y1, ee.x1), !h), e.arc(c, f, n, vt(ee.cy + ee.y1, ee.cx + ee.x1), vt(z.cy + z.y1, z.cx + z.x1), !h), ne > 0 && e.arc(c + z.cx, f + z.cy, ne, vt(z.y1, z.x1), vt(z.y0, z.x0), !h));
|
|
16346
16343
|
} else
|
|
16347
16344
|
e.moveTo(c + N, f + L), e.arc(c, f, n, u, l, !h);
|
|
16348
|
-
if (!(i > xr) || !
|
|
16345
|
+
if (!(i > xr) || !G)
|
|
16349
16346
|
e.lineTo(c + U, f + j);
|
|
16350
16347
|
else if (x > xr) {
|
|
16351
|
-
var oe = Lr(v, x), ne = Lr(g, x), ee =
|
|
16348
|
+
var oe = Lr(v, x), ne = Lr(g, x), ee = Wu(U, j, D, M, i, -ne, h), z = Wu(N, L, I, P, i, -oe, h);
|
|
16352
16349
|
e.lineTo(c + ee.cx + ee.x0, f + ee.cy + ee.y0), x < E && oe === ne ? e.arc(c + ee.cx, f + ee.cy, x, vt(ee.y0, ee.x0), vt(z.y0, z.x0), !h) : (ne > 0 && e.arc(c + ee.cx, f + ee.cy, ne, vt(ee.y0, ee.x0), vt(ee.y1, ee.x1), !h), e.arc(c, f, i, vt(ee.cy + ee.y1, ee.cx + ee.x1), vt(z.cy + z.y1, z.cx + z.x1), h), oe > 0 && e.arc(c + z.cx, f + z.cy, oe, vt(z.y1, z.x1), vt(z.y0, z.x0), !h));
|
|
16353
16350
|
} else
|
|
16354
16351
|
e.lineTo(c + U, f + j), e.arc(c, f, i, l, u, h);
|
|
@@ -16555,7 +16552,7 @@ var jN = /* @__PURE__ */ function() {
|
|
|
16555
16552
|
this.cx = 0, this.cy = 0, this.r = 0, this.startAngle = 0, this.endAngle = Math.PI * 2, this.clockwise = !0;
|
|
16556
16553
|
}
|
|
16557
16554
|
return e;
|
|
16558
|
-
}(),
|
|
16555
|
+
}(), Wc = function(e) {
|
|
16559
16556
|
q(t, e);
|
|
16560
16557
|
function t(r) {
|
|
16561
16558
|
return e.call(this, r) || this;
|
|
@@ -16572,7 +16569,7 @@ var jN = /* @__PURE__ */ function() {
|
|
|
16572
16569
|
r.moveTo(c * o + i, f * o + a), r.arc(i, a, o, s, u, !l);
|
|
16573
16570
|
}, t;
|
|
16574
16571
|
}(je);
|
|
16575
|
-
|
|
16572
|
+
Wc.prototype.type = "arc";
|
|
16576
16573
|
var $N = function(e) {
|
|
16577
16574
|
q(t, e);
|
|
16578
16575
|
function t() {
|
|
@@ -16613,14 +16610,14 @@ var $N = function(e) {
|
|
|
16613
16610
|
return u.x = r ?? 0, u.y = n ?? 0, u.x2 = i ?? 1, u.y2 = a ?? 0, u.type = "linear", u.global = s || !1, u;
|
|
16614
16611
|
}
|
|
16615
16612
|
return t;
|
|
16616
|
-
}(Fx),
|
|
16613
|
+
}(Fx), WN = function(e) {
|
|
16617
16614
|
q(t, e);
|
|
16618
16615
|
function t(r, n, i, a, o) {
|
|
16619
16616
|
var s = e.call(this, a) || this;
|
|
16620
16617
|
return s.x = r ?? 0.5, s.y = n ?? 0.5, s.r = i ?? 0.5, s.type = "radial", s.global = o || !1, s;
|
|
16621
16618
|
}
|
|
16622
16619
|
return t;
|
|
16623
|
-
}(Fx), gi = [0, 0], mi = [0, 0],
|
|
16620
|
+
}(Fx), gi = [0, 0], mi = [0, 0], Gu = new Be(), Hu = new Be(), Ul = function() {
|
|
16624
16621
|
function e(t, r) {
|
|
16625
16622
|
this._corners = [], this._axes = [], this._origin = [0, 0];
|
|
16626
16623
|
for (var n = 0; n < 4; n++)
|
|
@@ -16639,7 +16636,7 @@ var $N = function(e) {
|
|
|
16639
16636
|
this._origin[l] = i[l].dot(n[0]);
|
|
16640
16637
|
}, e.prototype.intersect = function(t, r) {
|
|
16641
16638
|
var n = !0, i = !r;
|
|
16642
|
-
return
|
|
16639
|
+
return Gu.set(1 / 0, 1 / 0), Hu.set(0, 0), !this._intersectCheckOneSide(this, t, Gu, Hu, i, 1) && (n = !1, i) || !this._intersectCheckOneSide(t, this, Gu, Hu, i, -1) && (n = !1, i) || i || Be.copy(r, n ? Gu : Hu), n;
|
|
16643
16640
|
}, e.prototype._intersectCheckOneSide = function(t, r, n, i, a, o) {
|
|
16644
16641
|
for (var s = !0, u = 0; u < 2; u++) {
|
|
16645
16642
|
var l = this._axes[u];
|
|
@@ -16661,7 +16658,7 @@ var $N = function(e) {
|
|
|
16661
16658
|
}
|
|
16662
16659
|
n[0] = s, n[1] = u;
|
|
16663
16660
|
}, e;
|
|
16664
|
-
}(),
|
|
16661
|
+
}(), GN = [], HN = function(e) {
|
|
16665
16662
|
q(t, e);
|
|
16666
16663
|
function t() {
|
|
16667
16664
|
var r = e !== null && e.apply(this, arguments) || this;
|
|
@@ -16708,7 +16705,7 @@ var $N = function(e) {
|
|
|
16708
16705
|
if (!this._rect) {
|
|
16709
16706
|
for (var r = new Ee(1 / 0, 1 / 0, -1 / 0, -1 / 0), n = 0; n < this._displayables.length; n++) {
|
|
16710
16707
|
var i = this._displayables[n], a = i.getBoundingRect().clone();
|
|
16711
|
-
i.needLocalTransform() && a.applyTransform(i.getLocalTransform(
|
|
16708
|
+
i.needLocalTransform() && a.applyTransform(i.getLocalTransform(GN)), r.union(a);
|
|
16712
16709
|
}
|
|
16713
16710
|
this._rect = r;
|
|
16714
16711
|
}
|
|
@@ -16820,7 +16817,7 @@ function JN(e) {
|
|
|
16820
16817
|
}
|
|
16821
16818
|
function Fv(e, t, r, n) {
|
|
16822
16819
|
var i = CN(e, t);
|
|
16823
|
-
return r && (n === "center" && (r = $x(r, i.getBoundingRect())),
|
|
16820
|
+
return r && (n === "center" && (r = $x(r, i.getBoundingRect())), Wx(i, r)), i;
|
|
16824
16821
|
}
|
|
16825
16822
|
function jx(e, t, r) {
|
|
16826
16823
|
var n = new Jn({
|
|
@@ -16855,7 +16852,7 @@ function $x(e, t) {
|
|
|
16855
16852
|
};
|
|
16856
16853
|
}
|
|
16857
16854
|
var eL = EN;
|
|
16858
|
-
function
|
|
16855
|
+
function Wx(e, t) {
|
|
16859
16856
|
if (e.applyTransform) {
|
|
16860
16857
|
var r = e.getBoundingRect(), n = r.calculateTransform(t);
|
|
16861
16858
|
e.applyTransform(n);
|
|
@@ -16870,7 +16867,7 @@ function tL(e) {
|
|
|
16870
16867
|
return fx(e.shape, e.shape, e.style), e;
|
|
16871
16868
|
}
|
|
16872
16869
|
var rL = Ri;
|
|
16873
|
-
function
|
|
16870
|
+
function Gc(e, t) {
|
|
16874
16871
|
for (var r = wv([]); e && e !== t; )
|
|
16875
16872
|
Ba(r, e.getLocalTransform(), r), e = e.parent;
|
|
16876
16873
|
return r;
|
|
@@ -16888,7 +16885,7 @@ function n0(e) {
|
|
|
16888
16885
|
function nL(e) {
|
|
16889
16886
|
return e.shape != null;
|
|
16890
16887
|
}
|
|
16891
|
-
function
|
|
16888
|
+
function Gx(e, t, r) {
|
|
16892
16889
|
if (!e || !t)
|
|
16893
16890
|
return;
|
|
16894
16891
|
function n(o) {
|
|
@@ -16982,7 +16979,7 @@ function Uc(e) {
|
|
|
16982
16979
|
};
|
|
16983
16980
|
s[a + "Index"] = o;
|
|
16984
16981
|
var u = e.formatterParamsExtra;
|
|
16985
|
-
u && R(
|
|
16982
|
+
u && R(Ge(u), function(c) {
|
|
16986
16983
|
Ua(s, c) || (s[c] = u[c], s.$vars.push(c));
|
|
16987
16984
|
});
|
|
16988
16985
|
var l = Ie(e.el);
|
|
@@ -17016,10 +17013,10 @@ Rr("polyline", lu);
|
|
|
17016
17013
|
Rr("rect", Ue);
|
|
17017
17014
|
Rr("line", Yn);
|
|
17018
17015
|
Rr("bezierCurve", Bv);
|
|
17019
|
-
Rr("arc",
|
|
17016
|
+
Rr("arc", Wc);
|
|
17020
17017
|
const sL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17021
17018
|
__proto__: null,
|
|
17022
|
-
Arc:
|
|
17019
|
+
Arc: Wc,
|
|
17023
17020
|
BezierCurve: Bv,
|
|
17024
17021
|
BoundingRect: Ee,
|
|
17025
17022
|
Circle: jc,
|
|
@@ -17035,7 +17032,7 @@ const sL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17035
17032
|
Point: Be,
|
|
17036
17033
|
Polygon: uu,
|
|
17037
17034
|
Polyline: lu,
|
|
17038
|
-
RadialGradient:
|
|
17035
|
+
RadialGradient: WN,
|
|
17039
17036
|
Rect: Ue,
|
|
17040
17037
|
Ring: Lv,
|
|
17041
17038
|
Sector: $c,
|
|
@@ -17047,8 +17044,8 @@ const sL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17047
17044
|
extendPath: QN,
|
|
17048
17045
|
extendShape: XN,
|
|
17049
17046
|
getShapeClass: JN,
|
|
17050
|
-
getTransform:
|
|
17051
|
-
groupTransition:
|
|
17047
|
+
getTransform: Gc,
|
|
17048
|
+
groupTransition: Gx,
|
|
17052
17049
|
initProps: cu,
|
|
17053
17050
|
isElementRemoved: vs,
|
|
17054
17051
|
lineLineIntersect: Ux,
|
|
@@ -17059,7 +17056,7 @@ const sL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17059
17056
|
registerShape: Rr,
|
|
17060
17057
|
removeElement: Yl,
|
|
17061
17058
|
removeElementWithFadeOut: qN,
|
|
17062
|
-
resizePath:
|
|
17059
|
+
resizePath: Wx,
|
|
17063
17060
|
setTooltipConfig: Uc,
|
|
17064
17061
|
subPixelOptimize: rL,
|
|
17065
17062
|
subPixelOptimizeLine: Ps,
|
|
@@ -17123,7 +17120,7 @@ function $v(e, t, r, n) {
|
|
|
17123
17120
|
} else u && (u.ignore = !0);
|
|
17124
17121
|
e.dirty();
|
|
17125
17122
|
}
|
|
17126
|
-
function
|
|
17123
|
+
function Wv(e, t) {
|
|
17127
17124
|
t = t || "label";
|
|
17128
17125
|
for (var r = {
|
|
17129
17126
|
normal: e.getModel(t)
|
|
@@ -17164,7 +17161,7 @@ function cL(e) {
|
|
|
17164
17161
|
var r = (e.option || Yc).rich;
|
|
17165
17162
|
if (r) {
|
|
17166
17163
|
t = t || {};
|
|
17167
|
-
for (var n =
|
|
17164
|
+
for (var n = Ge(r), i = 0; i < n.length; i++) {
|
|
17168
17165
|
var a = n[i];
|
|
17169
17166
|
t[a] = 1;
|
|
17170
17167
|
}
|
|
@@ -17348,7 +17345,7 @@ function Do(e) {
|
|
|
17348
17345
|
function f0(e) {
|
|
17349
17346
|
return e;
|
|
17350
17347
|
}
|
|
17351
|
-
var
|
|
17348
|
+
var Gv = (
|
|
17352
17349
|
/** @class */
|
|
17353
17350
|
function() {
|
|
17354
17351
|
function e(t, r, n, i, a, o) {
|
|
@@ -17418,7 +17415,7 @@ var Wv = (
|
|
|
17418
17415
|
}
|
|
17419
17416
|
}, e;
|
|
17420
17417
|
}()
|
|
17421
|
-
),
|
|
17418
|
+
), Wd = pe(["tooltip", "label", "itemName", "itemId", "itemGroupId", "itemChildGroupId", "seriesName"]), br = "original", jt = "arrayRows", Yr = "objectRows", _n = "keyedColumns", fn = "typedArray", Kx = "unknown", hn = "column", ao = "row", Ht = {
|
|
17422
17419
|
Must: 1,
|
|
17423
17420
|
Might: 2,
|
|
17424
17421
|
Not: 3
|
|
@@ -17558,7 +17555,7 @@ var qc = (
|
|
|
17558
17555
|
function Hv(e) {
|
|
17559
17556
|
return e instanceof qc;
|
|
17560
17557
|
}
|
|
17561
|
-
function
|
|
17558
|
+
function Gd(e, t, r) {
|
|
17562
17559
|
r = r || rw(e);
|
|
17563
17560
|
var n = t.seriesLayoutBy, i = xL(e, r, n, t.sourceHeader, t.dimensions), a = new qc({
|
|
17564
17561
|
data: e,
|
|
@@ -17649,7 +17646,7 @@ function wL(e) {
|
|
|
17649
17646
|
for (var t = 0, r; t < e.length && !(r = e[t++]); )
|
|
17650
17647
|
;
|
|
17651
17648
|
if (r)
|
|
17652
|
-
return
|
|
17649
|
+
return Ge(r);
|
|
17653
17650
|
}
|
|
17654
17651
|
function h0(e) {
|
|
17655
17652
|
if (e) {
|
|
@@ -17872,11 +17869,11 @@ function AL(e, t) {
|
|
|
17872
17869
|
R(e.dimensions, function(h) {
|
|
17873
17870
|
var d = e.getDimensionInfo(h), p = d.coordDim;
|
|
17874
17871
|
if (p) {
|
|
17875
|
-
process.env.NODE_ENV !== "production" && se(
|
|
17872
|
+
process.env.NODE_ENV !== "production" && se(Wd.get(p) == null);
|
|
17876
17873
|
var v = d.coordDimIndex;
|
|
17877
17874
|
fh(n, p)[v] = h, d.isExtraCoord || (i.set(p, 1), RL(d.type) && (a[0] = h), fh(s, p)[v] = e.getDimensionIndex(d.name)), d.defaultTooltip && o.push(h);
|
|
17878
17875
|
}
|
|
17879
|
-
|
|
17876
|
+
Wd.each(function(g, m) {
|
|
17880
17877
|
var y = fh(n, m), _ = d.otherDims[m];
|
|
17881
17878
|
_ != null && _ !== !1 && (y[_] = d.name);
|
|
17882
17879
|
});
|
|
@@ -17934,7 +17931,7 @@ var OL = (
|
|
|
17934
17931
|
this._resultLT = n ? 1 : -1, r == null && (r = n ? "min" : "max"), this._incomparable = r === "min" ? -1 / 0 : 1 / 0;
|
|
17935
17932
|
}
|
|
17936
17933
|
return e.prototype.evaluate = function(t, r) {
|
|
17937
|
-
var n = He(t) ? t :
|
|
17934
|
+
var n = He(t) ? t : Wl(t), i = He(r) ? r : Wl(r), a = isNaN(n), o = isNaN(i);
|
|
17938
17935
|
if (a && (n = this._incomparable), o && (i = this._incomparable), a && o) {
|
|
17939
17936
|
var s = J(t), u = J(r);
|
|
17940
17937
|
s && (n = u ? t : 0), u && (i = s ? r : 0);
|
|
@@ -18167,7 +18164,7 @@ var Hd = (
|
|
|
18167
18164
|
var r = this.clone(), n = r._count;
|
|
18168
18165
|
if (!n)
|
|
18169
18166
|
return this;
|
|
18170
|
-
var i =
|
|
18167
|
+
var i = Ge(t), a = i.length;
|
|
18171
18168
|
if (!a)
|
|
18172
18169
|
return this;
|
|
18173
18170
|
var o = r.count(), s = Ao(r._rawCount), u = new s(o), l = 0, c = i[0], f = t[c][0], h = t[c][1], d = r._chunks, p = !1;
|
|
@@ -18539,9 +18536,9 @@ var Mo = ie, Tn = te, BL = typeof Int32Array > "u" ? Array : Int32Array, VL = "e
|
|
|
18539
18536
|
var f = i.getItem(c, l);
|
|
18540
18537
|
if (!this.hasItemOption && Nk(f) && (this.hasItemOption = !0), f) {
|
|
18541
18538
|
var h = f.name;
|
|
18542
|
-
a[c] == null && h != null && (a[c] =
|
|
18539
|
+
a[c] == null && h != null && (a[c] = Wr(h, null));
|
|
18543
18540
|
var d = f.id;
|
|
18544
|
-
o[c] == null && d != null && (o[c] =
|
|
18541
|
+
o[c] == null && d != null && (o[c] = Wr(d, null));
|
|
18545
18542
|
}
|
|
18546
18543
|
}
|
|
18547
18544
|
if (this._shouldMakeIdFromName())
|
|
@@ -18619,7 +18616,7 @@ var Mo = ie, Tn = te, BL = typeof Int32Array > "u" ? Array : Int32Array, VL = "e
|
|
|
18619
18616
|
var i = n || this, a = Tn(va(t), this._getStoreDimIndex, this);
|
|
18620
18617
|
return this._store = this._store.filter(a, i ? _e(r, i) : r), this;
|
|
18621
18618
|
}, e.prototype.selectRange = function(t) {
|
|
18622
|
-
var r = this, n = {}, i =
|
|
18619
|
+
var r = this, n = {}, i = Ge(t);
|
|
18623
18620
|
return R(i, function(a) {
|
|
18624
18621
|
var o = r._getStoreDimIndex(a);
|
|
18625
18622
|
n[o] = t[a];
|
|
@@ -18654,7 +18651,7 @@ var Mo = ie, Tn = te, BL = typeof Int32Array > "u" ? Array : Int32Array, VL = "e
|
|
|
18654
18651
|
return new Ze(n, r, r && r.ecModel);
|
|
18655
18652
|
}, e.prototype.diff = function(t) {
|
|
18656
18653
|
var r = this;
|
|
18657
|
-
return new
|
|
18654
|
+
return new Gv(t ? t.getStore().getIndices() : [], this.getStore().getIndices(), function(n) {
|
|
18658
18655
|
return Uu(t, n);
|
|
18659
18656
|
}, function(n) {
|
|
18660
18657
|
return Uu(r, n);
|
|
@@ -18720,7 +18717,7 @@ var Mo = ie, Tn = te, BL = typeof Int32Array > "u" ? Array : Int32Array, VL = "e
|
|
|
18720
18717
|
}
|
|
18721
18718
|
});
|
|
18722
18719
|
}, Ro = function(t, r, n) {
|
|
18723
|
-
return
|
|
18720
|
+
return Wr(t._getCategory(r, n), null);
|
|
18724
18721
|
}, Uu = function(t, r) {
|
|
18725
18722
|
var n = t._idList[r];
|
|
18726
18723
|
return n == null && t._idDimIdx != null && (n = Ro(t, t._idDimIdx, r)), n == null && (n = VL + r), n;
|
|
@@ -18747,7 +18744,7 @@ var Mo = ie, Tn = te, BL = typeof Int32Array > "u" ? Array : Int32Array, VL = "e
|
|
|
18747
18744
|
);
|
|
18748
18745
|
function $L(e, t) {
|
|
18749
18746
|
Hv(e) || (e = tw(e)), t = t || {};
|
|
18750
|
-
var r = t.coordDimensions || [], n = t.dimensionsDefine || e.dimensionsDefine || [], i = pe(), a = [], o =
|
|
18747
|
+
var r = t.coordDimensions || [], n = t.dimensionsDefine || e.dimensionsDefine || [], i = pe(), a = [], o = GL(e, r, n, t.dimensionsCount), s = t.canOmitUnusedDimensions && pw(o), u = n === e.dimensionsDefine, l = u ? dw(e) : hw(n), c = t.encodeDefine;
|
|
18751
18748
|
!c && t.encodeDefaulter && (c = t.encodeDefaulter(e, o));
|
|
18752
18749
|
for (var f = pe(c), h = new uw(o), d = 0; d < h.length; d++)
|
|
18753
18750
|
h[d] = -1;
|
|
@@ -18797,19 +18794,19 @@ function $L(e, t) {
|
|
|
18797
18794
|
v < o && N.push(v++);
|
|
18798
18795
|
}
|
|
18799
18796
|
R(N, function(U, j) {
|
|
18800
|
-
var
|
|
18801
|
-
if (u && I.type != null && (
|
|
18797
|
+
var G = p(U);
|
|
18798
|
+
if (u && I.type != null && (G.type = I.type), g(Ce(G, I), x, j), G.name == null && D) {
|
|
18802
18799
|
var k = D[j];
|
|
18803
18800
|
!ie(k) && (k = {
|
|
18804
18801
|
name: k
|
|
18805
|
-
}),
|
|
18802
|
+
}), G.name = G.displayName = k.name, G.defaultTooltip = k.defaultTooltip;
|
|
18806
18803
|
}
|
|
18807
|
-
M && Ce(
|
|
18804
|
+
M && Ce(G.otherDims, M);
|
|
18808
18805
|
});
|
|
18809
18806
|
}
|
|
18810
18807
|
});
|
|
18811
18808
|
function g(A, x, D) {
|
|
18812
|
-
|
|
18809
|
+
Wd.get(x) != null ? A.otherDims[x] = D : (A.coordDim = x, A.coordDimIndex = D, i.set(x, !0));
|
|
18813
18810
|
}
|
|
18814
18811
|
var m = t.generateCoord, y = t.generateCoordCount, _ = y != null;
|
|
18815
18812
|
y = m ? y || 1 : 0;
|
|
@@ -18828,20 +18825,20 @@ function $L(e, t) {
|
|
|
18828
18825
|
var C = p(w), E = C.coordDim;
|
|
18829
18826
|
E == null && (C.coordDim = HL(b, i, _), C.coordDimIndex = 0, (!m || y <= 0) && (C.isExtraCoord = !0), y--), S(C), C.type == null && (ew(e, w) === Ht.Must || C.isExtraCoord && (C.otherDims.itemName != null || C.otherDims.seriesName != null)) && (C.type = "ordinal");
|
|
18830
18827
|
}
|
|
18831
|
-
return
|
|
18828
|
+
return WL(a), new cw({
|
|
18832
18829
|
source: e,
|
|
18833
18830
|
dimensions: a,
|
|
18834
18831
|
fullDimensionCount: o,
|
|
18835
18832
|
dimensionOmitted: s
|
|
18836
18833
|
});
|
|
18837
18834
|
}
|
|
18838
|
-
function
|
|
18835
|
+
function WL(e) {
|
|
18839
18836
|
for (var t = pe(), r = 0; r < e.length; r++) {
|
|
18840
18837
|
var n = e[r], i = n.name, a = t.get(i) || 0;
|
|
18841
18838
|
a > 0 && (n.name = i + (a - 1)), a++, t.set(i, a);
|
|
18842
18839
|
}
|
|
18843
18840
|
}
|
|
18844
|
-
function
|
|
18841
|
+
function GL(e, t, r, n) {
|
|
18845
18842
|
var i = Math.max(e.dimensionsDetectedCount || 1, t.length, r.length, n || 0);
|
|
18846
18843
|
return R(t, function(a) {
|
|
18847
18844
|
var o;
|
|
@@ -19075,7 +19072,7 @@ function a5(e, t) {
|
|
|
19075
19072
|
}
|
|
19076
19073
|
R(h, function() {
|
|
19077
19074
|
var y = "";
|
|
19078
|
-
throw process.env.NODE_ENV !== "production" && (y =
|
|
19075
|
+
throw process.env.NODE_ENV !== "production" && (y = Gl("Circular dependency may exists: ", h, a, o)), new Error(y);
|
|
19079
19076
|
});
|
|
19080
19077
|
function g(y) {
|
|
19081
19078
|
c[y].entryCount--, c[y].entryCount === 0 && f.push(y);
|
|
@@ -19643,7 +19640,7 @@ function qd(e, t, r) {
|
|
|
19643
19640
|
}
|
|
19644
19641
|
if (t === "ordinal")
|
|
19645
19642
|
return Nl(e) ? i(e) : He(e) && a(e) ? e + "" : "-";
|
|
19646
|
-
var l =
|
|
19643
|
+
var l = Wl(e);
|
|
19647
19644
|
return a(l) ? Dw(l) : Nl(e) ? i(e) : typeof e == "boolean" ? e + "" : "-";
|
|
19648
19645
|
}
|
|
19649
19646
|
var D0 = ["a", "b", "c", "d", "e", "f", "g"], yh = function(e, t) {
|
|
@@ -19720,7 +19717,7 @@ function Jv(e, t, r, n, i) {
|
|
|
19720
19717
|
u.newline || (u.x = a, u.y = o, u.markRedraw(), e === "horizontal" ? a = d + r : o = p + r);
|
|
19721
19718
|
});
|
|
19722
19719
|
}
|
|
19723
|
-
var
|
|
19720
|
+
var Wa = Jv;
|
|
19724
19721
|
Pe(Jv, "vertical");
|
|
19725
19722
|
Pe(Jv, "horizontal");
|
|
19726
19723
|
function Zn(e, t, r) {
|
|
@@ -19975,7 +19972,7 @@ var R5 = /\{@(.+?)\}/g, O5 = (
|
|
|
19975
19972
|
);
|
|
19976
19973
|
function R0(e) {
|
|
19977
19974
|
var t, r;
|
|
19978
|
-
return ie(e) ? e.type ? r = e : process.env.NODE_ENV !== "production" && console.warn("The return type of `formatTooltip` is not supported: " +
|
|
19975
|
+
return ie(e) ? e.type ? r = e : process.env.NODE_ENV !== "production" && console.warn("The return type of `formatTooltip` is not supported: " + Gl(e)) : t = e, {
|
|
19979
19976
|
text: t,
|
|
19980
19977
|
// markers: markers || markersExisting,
|
|
19981
19978
|
frag: r
|
|
@@ -20196,7 +20193,7 @@ function j5(e, t, r, n) {
|
|
|
20196
20193
|
if (process.env.NODE_ENV !== "production" && e.print) {
|
|
20197
20194
|
var l = te(u, function(c) {
|
|
20198
20195
|
var f = n != null ? " === pipe index: " + n : "";
|
|
20199
|
-
return ["=== dataset index: " + r.datasetIndex + f + " ===", "- transform result data:",
|
|
20196
|
+
return ["=== dataset index: " + r.datasetIndex + f + " ===", "- transform result data:", Gl(c.data), "- transform result dimensions:", Gl(c.dimensions)].join(`
|
|
20200
20197
|
`);
|
|
20201
20198
|
}).join(`
|
|
20202
20199
|
`);
|
|
@@ -20221,7 +20218,7 @@ function j5(e, t, r, n) {
|
|
|
20221
20218
|
sourceHeader: 0,
|
|
20222
20219
|
dimensions: c.dimensions
|
|
20223
20220
|
};
|
|
20224
|
-
return
|
|
20221
|
+
return Gd(c.data, p, null);
|
|
20225
20222
|
});
|
|
20226
20223
|
}
|
|
20227
20224
|
function tg(e) {
|
|
@@ -20252,7 +20249,7 @@ var $5 = (
|
|
|
20252
20249
|
} else
|
|
20253
20250
|
s = o.get("data", !0), u = Rt(s) ? fn : br, a = [];
|
|
20254
20251
|
var f = this._getSourceMetaRawOption() || {}, h = l && l.metaRawOption || {}, d = me(f.seriesLayoutBy, h.seriesLayoutBy) || null, p = me(f.sourceHeader, h.sourceHeader), v = me(f.dimensions, h.dimensions), g = d !== h.seriesLayoutBy || !!p != !!h.sourceHeader || v;
|
|
20255
|
-
i = g ? [
|
|
20252
|
+
i = g ? [Gd(s, {
|
|
20256
20253
|
seriesLayoutBy: d,
|
|
20257
20254
|
sourceHeader: p,
|
|
20258
20255
|
dimensions: v
|
|
@@ -20264,7 +20261,7 @@ var $5 = (
|
|
|
20264
20261
|
i = y.sourceList, a = y.upstreamSignList;
|
|
20265
20262
|
} else {
|
|
20266
20263
|
var _ = m.get("source", !0);
|
|
20267
|
-
i = [
|
|
20264
|
+
i = [Gd(_, this._getSourceMetaRawOption(), null)], a = [];
|
|
20268
20265
|
}
|
|
20269
20266
|
}
|
|
20270
20267
|
process.env.NODE_ENV !== "production" && se(i && a), this._setLocalSource(i, a);
|
|
@@ -20370,7 +20367,7 @@ function Iw(e, t) {
|
|
|
20370
20367
|
}
|
|
20371
20368
|
};
|
|
20372
20369
|
}
|
|
20373
|
-
var
|
|
20370
|
+
var W5 = [0, 10, 20, 30], G5 = ["", `
|
|
20374
20371
|
`, `
|
|
20375
20372
|
|
|
20376
20373
|
`, `
|
|
@@ -20457,8 +20454,8 @@ function P0(e, t, r, n, i, a) {
|
|
|
20457
20454
|
}
|
|
20458
20455
|
function Y5(e) {
|
|
20459
20456
|
return {
|
|
20460
|
-
html:
|
|
20461
|
-
richText:
|
|
20457
|
+
html: W5[e],
|
|
20458
|
+
richText: G5[e]
|
|
20462
20459
|
};
|
|
20463
20460
|
}
|
|
20464
20461
|
function Xd(e, t) {
|
|
@@ -20698,7 +20695,7 @@ var e3 = "__universalTransitionEnabled", Xn = (
|
|
|
20698
20695
|
}, t.prototype.getSelectedDataIndices = function() {
|
|
20699
20696
|
if (this.option.selectedMap === "all")
|
|
20700
20697
|
return [].slice.call(this.getData().getIndices());
|
|
20701
|
-
for (var r = this._selectedDataIndicesMap, n =
|
|
20698
|
+
for (var r = this._selectedDataIndicesMap, n = Ge(r), i = [], a = 0; a < n.length; a++) {
|
|
20702
20699
|
var o = r[n[a]];
|
|
20703
20700
|
o >= 0 && i.push(o);
|
|
20704
20701
|
}
|
|
@@ -20771,7 +20768,7 @@ function i3(e, t) {
|
|
|
20771
20768
|
t.outputData && e.end > t.outputData.count() && t.model.getRawData().cloneShallow(t.outputData);
|
|
20772
20769
|
}
|
|
20773
20770
|
function N0(e, t) {
|
|
20774
|
-
R(
|
|
20771
|
+
R(GI(e.CHANGABLE_METHODS, e.DOWNSAMPLE_METHODS), function(r) {
|
|
20775
20772
|
e.wrapMethod(r, Pe(a3, t));
|
|
20776
20773
|
});
|
|
20777
20774
|
}
|
|
@@ -21101,7 +21098,7 @@ var rg = (
|
|
|
21101
21098
|
var s = this.childAt(0), u = r.hostModel, l, c, f, h, d, p, v, g, m;
|
|
21102
21099
|
if (a && (l = a.emphasisItemStyle, c = a.blurItemStyle, f = a.selectItemStyle, h = a.focus, d = a.blurScope, v = a.labelStatesModels, g = a.hoverScale, m = a.cursorStyle, p = a.emphasisDisabled), !a || r.hasItemOption) {
|
|
21103
21100
|
var y = a && a.itemModel ? a.itemModel : r.getItemModel(n), _ = y.getModel("emphasis");
|
|
21104
|
-
l = _.getModel("itemStyle").getItemStyle(), f = y.getModel(["select", "itemStyle"]).getItemStyle(), c = y.getModel(["blur", "itemStyle"]).getItemStyle(), h = _.get("focus"), d = _.get("blurScope"), p = _.get("disabled"), v =
|
|
21101
|
+
l = _.getModel("itemStyle").getItemStyle(), f = y.getModel(["select", "itemStyle"]).getItemStyle(), c = y.getModel(["blur", "itemStyle"]).getItemStyle(), h = _.get("focus"), d = _.get("blurScope"), p = _.get("disabled"), v = Wv(y), g = _.getShallow("scale"), m = y.getShallow("cursor");
|
|
21105
21102
|
}
|
|
21106
21103
|
var b = r.getItemVisual(n, "symbolRotate");
|
|
21107
21104
|
s.attr("rotation", (b || 0) * Math.PI / 180 || 0);
|
|
@@ -21194,7 +21191,7 @@ function B0(e) {
|
|
|
21194
21191
|
blurScope: r.get("blurScope"),
|
|
21195
21192
|
emphasisDisabled: r.get("disabled"),
|
|
21196
21193
|
hoverScale: r.get("scale"),
|
|
21197
|
-
labelStatesModels:
|
|
21194
|
+
labelStatesModels: Wv(t),
|
|
21198
21195
|
cursorStyle: t.get("cursor")
|
|
21199
21196
|
};
|
|
21200
21197
|
}
|
|
@@ -21354,14 +21351,14 @@ function x3(e, t, r, n, i, a, o, s) {
|
|
|
21354
21351
|
p.sort(function(ae, X) {
|
|
21355
21352
|
return v[ae] - v[X];
|
|
21356
21353
|
});
|
|
21357
|
-
for (var L = l.length, U = Ra(L), j = Ra(L),
|
|
21354
|
+
for (var L = l.length, U = Ra(L), j = Ra(L), G = Ra(L), k = Ra(L), B = [], _ = 0; _ < p.length; _++) {
|
|
21358
21355
|
var F = p[_], H = _ * 2, Y = F * 2;
|
|
21359
|
-
U[H] = l[Y], U[H + 1] = l[Y + 1], j[H] = c[Y], j[H + 1] = c[Y + 1],
|
|
21356
|
+
U[H] = l[Y], U[H + 1] = l[Y + 1], j[H] = c[Y], j[H + 1] = c[Y + 1], G[H] = f[Y], G[H + 1] = f[Y + 1], k[H] = h[Y], k[H + 1] = h[Y + 1], B[_] = d[F];
|
|
21360
21357
|
}
|
|
21361
21358
|
return {
|
|
21362
21359
|
current: U,
|
|
21363
21360
|
next: j,
|
|
21364
|
-
stackedOnCurrent:
|
|
21361
|
+
stackedOnCurrent: G,
|
|
21365
21362
|
stackedOnNext: k,
|
|
21366
21363
|
status: B
|
|
21367
21364
|
};
|
|
@@ -21402,17 +21399,17 @@ function Qd(e, t, r, n, i, a, o, s, u) {
|
|
|
21402
21399
|
d = m, p = y;
|
|
21403
21400
|
else {
|
|
21404
21401
|
x = w - l, D = C - c;
|
|
21405
|
-
var P = m - l, N = w - m, L = y - c, U = C - y, j = void 0,
|
|
21402
|
+
var P = m - l, N = w - m, L = y - c, U = C - y, j = void 0, G = void 0;
|
|
21406
21403
|
if (s === "x") {
|
|
21407
|
-
j = Math.abs(P),
|
|
21404
|
+
j = Math.abs(P), G = Math.abs(N);
|
|
21408
21405
|
var k = x > 0 ? 1 : -1;
|
|
21409
|
-
d = m - k * j * o, p = y, M = m + k *
|
|
21406
|
+
d = m - k * j * o, p = y, M = m + k * G * o, I = y;
|
|
21410
21407
|
} else if (s === "y") {
|
|
21411
|
-
j = Math.abs(L),
|
|
21408
|
+
j = Math.abs(L), G = Math.abs(U);
|
|
21412
21409
|
var B = D > 0 ? 1 : -1;
|
|
21413
|
-
d = m, p = y - B * j * o, M = m, I = y + B *
|
|
21410
|
+
d = m, p = y - B * j * o, M = m, I = y + B * G * o;
|
|
21414
21411
|
} else
|
|
21415
|
-
j = Math.sqrt(P * P + L * L),
|
|
21412
|
+
j = Math.sqrt(P * P + L * L), G = Math.sqrt(N * N + U * U), A = G / (G + j), d = m - x * o * (1 - A), p = y - D * o * (1 - A), M = m + x * o * A, I = y + D * o * A, M = An(M, Mn(w, m)), I = An(I, Mn(C, y)), M = Mn(M, An(w, m)), I = Mn(I, An(C, y)), x = M - m, D = I - y, d = m - x * j / G, p = y - D * j / G, d = An(d, Mn(l, m)), p = An(p, Mn(c, y)), d = Mn(d, An(l, m)), p = Mn(p, An(c, y)), x = m - d, D = y - p, M = m + x * G / j, I = y + D * G / j;
|
|
21416
21413
|
}
|
|
21417
21414
|
e.bezierCurveTo(f, h, d, p, m, y), f = M, h = I;
|
|
21418
21415
|
} else
|
|
@@ -21521,14 +21518,14 @@ var $w = (
|
|
|
21521
21518
|
}, t;
|
|
21522
21519
|
}(je)
|
|
21523
21520
|
);
|
|
21524
|
-
function
|
|
21521
|
+
function Ww() {
|
|
21525
21522
|
var e = at();
|
|
21526
21523
|
return function(t) {
|
|
21527
21524
|
var r = e(t), n = t.pipelineContext, i = !!r.large, a = !!r.progressiveRender, o = r.large = !!(n && n.large), s = r.progressiveRender = !!(n && n.progressiveRender);
|
|
21528
21525
|
return (i !== o || a !== s) && "reset";
|
|
21529
21526
|
};
|
|
21530
21527
|
}
|
|
21531
|
-
var
|
|
21528
|
+
var Gw = at(), E3 = Ww(), Gr = (
|
|
21532
21529
|
/** @class */
|
|
21533
21530
|
function() {
|
|
21534
21531
|
function e() {
|
|
@@ -21569,7 +21566,7 @@ var Ww = at(), E3 = Gw(), Wr = (
|
|
|
21569
21566
|
}, e.prototype.eachRendered = function(t) {
|
|
21570
21567
|
jv(this.group, t);
|
|
21571
21568
|
}, e.markUpdateMethod = function(t, r) {
|
|
21572
|
-
|
|
21569
|
+
Gw(t).updateMethod = r;
|
|
21573
21570
|
}, e.protoInitialize = function() {
|
|
21574
21571
|
var t = e.prototype;
|
|
21575
21572
|
t.type = "chart";
|
|
@@ -21587,13 +21584,13 @@ function F0(e, t, r) {
|
|
|
21587
21584
|
V0(a, r, i);
|
|
21588
21585
|
});
|
|
21589
21586
|
}
|
|
21590
|
-
xv(
|
|
21591
|
-
Rc(
|
|
21587
|
+
xv(Gr, ["dispose"]);
|
|
21588
|
+
Rc(Gr);
|
|
21592
21589
|
function D3(e) {
|
|
21593
21590
|
return E3(e.model);
|
|
21594
21591
|
}
|
|
21595
21592
|
function A3(e) {
|
|
21596
|
-
var t = e.model, r = e.ecModel, n = e.api, i = e.payload, a = t.pipelineContext.progressiveRender, o = e.view, s = i &&
|
|
21593
|
+
var t = e.model, r = e.ecModel, n = e.api, i = e.payload, a = t.pipelineContext.progressiveRender, o = e.view, s = i && Gw(i).updateMethod, u = a ? "incrementalPrepareRender" : s && o[s] ? s : "render";
|
|
21597
21594
|
return u !== "render" && o[u](t, r, n, i), M3[u];
|
|
21598
21595
|
}
|
|
21599
21596
|
var M3 = {
|
|
@@ -21686,7 +21683,7 @@ function $0(e, t) {
|
|
|
21686
21683
|
var r = j0(e), n = r[0], i = r[1], a = j0(t), o = a[0], s = a[1];
|
|
21687
21684
|
return Math.max(Math.abs(n[0] - o[0]), Math.abs(n[1] - o[1]), Math.abs(i[0] - s[0]), Math.abs(i[1] - s[1]));
|
|
21688
21685
|
}
|
|
21689
|
-
function
|
|
21686
|
+
function W0(e) {
|
|
21690
21687
|
return He(e) ? e : e ? 0.5 : 0;
|
|
21691
21688
|
}
|
|
21692
21689
|
function P3(e, t, r) {
|
|
@@ -21820,7 +21817,7 @@ function F3(e) {
|
|
|
21820
21817
|
;
|
|
21821
21818
|
return t - 1;
|
|
21822
21819
|
}
|
|
21823
|
-
function
|
|
21820
|
+
function G0(e, t) {
|
|
21824
21821
|
return [e[t * 2], e[t * 2 + 1]];
|
|
21825
21822
|
}
|
|
21826
21823
|
function z3(e, t, r) {
|
|
@@ -21930,7 +21927,7 @@ var $3 = (
|
|
|
21930
21927
|
stackedOnPoints: w
|
|
21931
21928
|
})));
|
|
21932
21929
|
}
|
|
21933
|
-
var L = r.getModel("emphasis"), U = L.get("focus"), j = L.get("blurScope"),
|
|
21930
|
+
var L = r.getModel("emphasis"), U = L.get("focus"), j = L.get("blurScope"), G = L.get("disabled");
|
|
21934
21931
|
if (v.useStyle(Ce(
|
|
21935
21932
|
// Use color in lineStyle first
|
|
21936
21933
|
l.getLineStyle(),
|
|
@@ -21943,8 +21940,8 @@ var $3 = (
|
|
|
21943
21940
|
var k = v.getState("emphasis").style;
|
|
21944
21941
|
k.lineWidth = +v.style.lineWidth + 1;
|
|
21945
21942
|
}
|
|
21946
|
-
Ie(v).seriesIndex = r.seriesIndex, Fd(v, U, j,
|
|
21947
|
-
var B =
|
|
21943
|
+
Ie(v).seriesIndex = r.seriesIndex, Fd(v, U, j, G);
|
|
21944
|
+
var B = W0(r.get("smooth")), F = r.get("smoothMonotone");
|
|
21948
21945
|
if (v.setShape({
|
|
21949
21946
|
smooth: B,
|
|
21950
21947
|
smoothMonotone: F,
|
|
@@ -21956,12 +21953,12 @@ var $3 = (
|
|
|
21956
21953
|
opacity: 0.7,
|
|
21957
21954
|
lineJoin: "bevel",
|
|
21958
21955
|
decal: u.getVisual("style").decal
|
|
21959
|
-
})), H && (Y =
|
|
21956
|
+
})), H && (Y = W0(H.get("smooth"))), g.setShape({
|
|
21960
21957
|
smooth: B,
|
|
21961
21958
|
stackedOnSmooth: Y,
|
|
21962
21959
|
smoothMonotone: F,
|
|
21963
21960
|
connectNulls: E
|
|
21964
|
-
}), qy(g, r, "areaStyle"), Ie(g).seriesIndex = r.seriesIndex, Fd(g, U, j,
|
|
21961
|
+
}), qy(g, r, "areaStyle"), Ie(g).seriesIndex = r.seriesIndex, Fd(g, U, j, G);
|
|
21965
21962
|
}
|
|
21966
21963
|
var ae = function(X) {
|
|
21967
21964
|
a._changePolyState(X);
|
|
@@ -21993,17 +21990,17 @@ var $3 = (
|
|
|
21993
21990
|
}
|
|
21994
21991
|
l.highlight();
|
|
21995
21992
|
} else
|
|
21996
|
-
|
|
21993
|
+
Gr.prototype.highlight.call(this, r, n, i, a);
|
|
21997
21994
|
}, t.prototype.downplay = function(r, n, i, a) {
|
|
21998
21995
|
var o = r.getData(), s = qi(o, a);
|
|
21999
21996
|
if (this._changePolyState("normal"), s != null && s >= 0) {
|
|
22000
21997
|
var u = o.getItemGraphicEl(s);
|
|
22001
21998
|
u && (u.__temp ? (o.setItemGraphicEl(s, null), this.group.remove(u)) : u.downplay());
|
|
22002
21999
|
} else
|
|
22003
|
-
|
|
22000
|
+
Gr.prototype.downplay.call(this, r, n, i, a);
|
|
22004
22001
|
}, t.prototype._changePolyState = function(r) {
|
|
22005
22002
|
var n = this._polygon;
|
|
22006
|
-
|
|
22003
|
+
Wy(this._polyline, r), n && Wy(n, r);
|
|
22007
22004
|
}, t.prototype._newPolyline = function(r) {
|
|
22008
22005
|
var n = this._polyline;
|
|
22009
22006
|
return n && this._lineGroup.remove(n), n = new w3({
|
|
@@ -22077,7 +22074,7 @@ var $3 = (
|
|
|
22077
22074
|
// should be higher than item symbol
|
|
22078
22075
|
}), l.ignoreClip = !0, s.setTextContent(this._endLabel), s.disableLabelAnimation = !0);
|
|
22079
22076
|
var c = F3(u);
|
|
22080
|
-
c >= 0 && ($v(s,
|
|
22077
|
+
c >= 0 && ($v(s, Wv(r, "endLabel"), {
|
|
22081
22078
|
inheritColor: i,
|
|
22082
22079
|
labelFetcher: r,
|
|
22083
22080
|
labelDataIndex: c,
|
|
@@ -22094,7 +22091,7 @@ var $3 = (
|
|
|
22094
22091
|
var f = i.getLayout("points"), h = i.hostModel, d = h.get("connectNulls"), p = s.get("precision"), v = s.get("distance") || 0, g = u.getBaseAxis(), m = g.isHorizontal(), y = g.inverse, _ = n.shape, b = y ? m ? _.x : _.y + _.height : m ? _.x + _.width : _.y, S = (m ? v : 0) * (y ? -1 : 1), w = (m ? 0 : -v) * (y ? -1 : 1), C = m ? "x" : "y", E = z3(f, b, C), A = E.range, x = A[1] - A[0], D = void 0;
|
|
22095
22092
|
if (x >= 1) {
|
|
22096
22093
|
if (x > 1 && !d) {
|
|
22097
|
-
var M =
|
|
22094
|
+
var M = G0(f, A[0]);
|
|
22098
22095
|
l.attr({
|
|
22099
22096
|
x: M[0] + S,
|
|
22100
22097
|
y: M[1] + w
|
|
@@ -22110,7 +22107,7 @@ var $3 = (
|
|
|
22110
22107
|
}
|
|
22111
22108
|
a.lastFrameIndex = A[0];
|
|
22112
22109
|
} else {
|
|
22113
|
-
var N = r === 1 || a.lastFrameIndex > 0 ? A[0] : 0, M =
|
|
22110
|
+
var N = r === 1 || a.lastFrameIndex > 0 ? A[0] : 0, M = G0(f, N);
|
|
22114
22111
|
o && (D = h.getRawValue(N)), l.attr({
|
|
22115
22112
|
x: M[0] + S,
|
|
22116
22113
|
y: M[1] + w
|
|
@@ -22171,12 +22168,12 @@ var $3 = (
|
|
|
22171
22168
|
a.__temp && (n.remove(a), i.setItemGraphicEl(o, null));
|
|
22172
22169
|
}), this._polyline = this._polygon = this._coordSys = this._points = this._stackedOnPoints = this._endLabel = this._data = null;
|
|
22173
22170
|
}, t.type = "line", t;
|
|
22174
|
-
}(
|
|
22171
|
+
}(Gr)
|
|
22175
22172
|
);
|
|
22176
|
-
function
|
|
22173
|
+
function W3(e, t) {
|
|
22177
22174
|
return {
|
|
22178
22175
|
seriesType: e,
|
|
22179
|
-
plan:
|
|
22176
|
+
plan: Ww(),
|
|
22180
22177
|
reset: function(r) {
|
|
22181
22178
|
var n = r.getData(), i = r.coordinateSystem;
|
|
22182
22179
|
if (r.pipelineContext, !!i) {
|
|
@@ -22203,7 +22200,7 @@ function G3(e, t) {
|
|
|
22203
22200
|
}
|
|
22204
22201
|
};
|
|
22205
22202
|
}
|
|
22206
|
-
var
|
|
22203
|
+
var G3 = {
|
|
22207
22204
|
average: function(e) {
|
|
22208
22205
|
for (var t = 0, r = 0, n = 0; n < e.length; n++)
|
|
22209
22206
|
isNaN(e[n]) || (t += e[n], r++);
|
|
@@ -22251,14 +22248,14 @@ function U3(e) {
|
|
|
22251
22248
|
if (isFinite(d) && d > 1) {
|
|
22252
22249
|
a === "lttb" && t.setData(i.lttbDownSample(i.mapDimension(l.dim), 1 / d));
|
|
22253
22250
|
var p = void 0;
|
|
22254
|
-
J(a) ? p =
|
|
22251
|
+
J(a) ? p = G3[a] : ue(a) && (p = a), p && t.setData(i.downSample(i.mapDimension(l.dim), 1 / d, p, H3));
|
|
22255
22252
|
}
|
|
22256
22253
|
}
|
|
22257
22254
|
}
|
|
22258
22255
|
};
|
|
22259
22256
|
}
|
|
22260
22257
|
function Y3(e) {
|
|
22261
|
-
e.registerChartView($3), e.registerSeriesModel(v3), e.registerLayout(
|
|
22258
|
+
e.registerChartView($3), e.registerSeriesModel(v3), e.registerLayout(W3("line")), e.registerVisual({
|
|
22262
22259
|
seriesType: "line",
|
|
22263
22260
|
reset: function(t) {
|
|
22264
22261
|
var r = t.getData(), n = t.getModel("lineStyle").getLineStyle();
|
|
@@ -22370,7 +22367,7 @@ function J3(e) {
|
|
|
22370
22367
|
r[i] = {};
|
|
22371
22368
|
var a = n.stacks, o = n.bandWidth, s = n.categoryGap;
|
|
22372
22369
|
if (s == null) {
|
|
22373
|
-
var u =
|
|
22370
|
+
var u = Ge(a).length;
|
|
22374
22371
|
s = Math.max(35 - u * 4, 15) + "%";
|
|
22375
22372
|
}
|
|
22376
22373
|
var l = ht(s, o), c = ht(n.gap, 1), f = n.remainedWidth, h = n.autoWidthCount, d = (f - l) / (h + (h - 1) * c);
|
|
@@ -23441,7 +23438,7 @@ var IB = function() {
|
|
|
23441
23438
|
var i = this;
|
|
23442
23439
|
this._sleepAfterStill = 10, this._stillFrameAccum = 0, this._needsRefresh = !0, this._needsRefreshHover = !0, this._darkMode = !1, n = n || {}, this.dom = r, this.id = t;
|
|
23443
23440
|
var a = new SB(), o = n.renderer || "canvas";
|
|
23444
|
-
if (es[o] || (o =
|
|
23441
|
+
if (es[o] || (o = Ge(es)[0]), process.env.NODE_ENV !== "production" && !es[o])
|
|
23445
23442
|
throw new Error("Renderer '" + o + "' is not imported. Please import it first.");
|
|
23446
23443
|
n.useDirtyRect = n.useDirtyRect == null ? !1 : n.useDirtyRect;
|
|
23447
23444
|
var s = new es[o](r, a, n, t), u = n.ssr || s.ssrOnly;
|
|
@@ -23735,7 +23732,7 @@ var ag = (
|
|
|
23735
23732
|
// `!oldCmptList` means init. See the comment in `mappingToExists`
|
|
23736
23733
|
d ? l && l.get(f) ? "replaceMerge" : "normalMerge" : "replaceAll"
|
|
23737
23734
|
), v = Lk(d, h, p);
|
|
23738
|
-
|
|
23735
|
+
Gk(v, f, Te), i[f] = null, a.set(f, null), o.set(f, 0);
|
|
23739
23736
|
var g = [], m = [], y = 0, _, b;
|
|
23740
23737
|
R(v, function(S, w) {
|
|
23741
23738
|
var C = S.existing, E = S.newOption;
|
|
@@ -23853,7 +23850,7 @@ echarts.use([` + M + "]);" : "Unknown series " + D));
|
|
|
23853
23850
|
c && n.call(i, c, c.componentIndex);
|
|
23854
23851
|
}
|
|
23855
23852
|
}, t.prototype.getSeriesByName = function(r) {
|
|
23856
|
-
var n =
|
|
23853
|
+
var n = Wr(r, null);
|
|
23857
23854
|
return bt(this._componentsMap.get("series"), function(i) {
|
|
23858
23855
|
return !!i && n != null && i.name === n;
|
|
23859
23856
|
});
|
|
@@ -23942,14 +23939,14 @@ function o_(e, t, r) {
|
|
|
23942
23939
|
var n = pe();
|
|
23943
23940
|
return R(t, function(a) {
|
|
23944
23941
|
if (a != null) {
|
|
23945
|
-
var o =
|
|
23942
|
+
var o = Wr(a, null);
|
|
23946
23943
|
o != null && n.set(a, !0);
|
|
23947
23944
|
}
|
|
23948
23945
|
}), bt(r, function(a) {
|
|
23949
23946
|
return a && n.get(a[e]);
|
|
23950
23947
|
});
|
|
23951
23948
|
} else {
|
|
23952
|
-
var i =
|
|
23949
|
+
var i = Wr(t, null);
|
|
23953
23950
|
return bt(r, function(a) {
|
|
23954
23951
|
return a && i != null && a[e] === i;
|
|
23955
23952
|
});
|
|
@@ -23998,7 +23995,7 @@ var $B = [
|
|
|
23998
23995
|
}
|
|
23999
23996
|
return e;
|
|
24000
23997
|
}()
|
|
24001
|
-
),
|
|
23998
|
+
), WB = /^(min|max)?(.+)$/, GB = (
|
|
24002
23999
|
/** @class */
|
|
24003
24000
|
function() {
|
|
24004
24001
|
function e(t) {
|
|
@@ -24066,7 +24063,7 @@ function UB(e, t, r) {
|
|
|
24066
24063
|
// lower case for convenience.
|
|
24067
24064
|
}, i = !0;
|
|
24068
24065
|
return R(e, function(a, o) {
|
|
24069
|
-
var s = o.match(
|
|
24066
|
+
var s = o.match(WB);
|
|
24070
24067
|
if (!(!s || !s[1] || !s[2])) {
|
|
24071
24068
|
var u = s[1], l = s[2].toLowerCase();
|
|
24072
24069
|
YB(n[l], a, u) || (i = !1);
|
|
@@ -24455,7 +24452,7 @@ function uV(e, t) {
|
|
|
24455
24452
|
});
|
|
24456
24453
|
r.add(a);
|
|
24457
24454
|
var o;
|
|
24458
|
-
return t.showSpinner && (o = new
|
|
24455
|
+
return t.showSpinner && (o = new Wc({
|
|
24459
24456
|
shape: {
|
|
24460
24457
|
startAngle: -Qu / 2,
|
|
24461
24458
|
endAngle: -Qu / 2 + 0.1,
|
|
@@ -24951,7 +24948,7 @@ var _V = (
|
|
|
24951
24948
|
symbolKeepAspect: e.get("symbolKeepAspect")
|
|
24952
24949
|
}, n)), t.isSeriesFiltered(e))
|
|
24953
24950
|
return;
|
|
24954
|
-
var l =
|
|
24951
|
+
var l = Ge(i);
|
|
24955
24952
|
function c(f, h) {
|
|
24956
24953
|
for (var d = e.getRawValue(h), p = e.getDataParams(h), v = 0; v < l.length; v++) {
|
|
24957
24954
|
var g = l[v];
|
|
@@ -25161,7 +25158,7 @@ function PV(e, t, r) {
|
|
|
25161
25158
|
function kV(e, t, r) {
|
|
25162
25159
|
var n, i = r.text;
|
|
25163
25160
|
if (i != null && (i += ""), i) {
|
|
25164
|
-
e.font = r.font ||
|
|
25161
|
+
e.font = r.font || Wi, e.textAlign = r.textAlign, e.textBaseline = r.textBaseline;
|
|
25165
25162
|
var a = void 0, o = void 0;
|
|
25166
25163
|
e.setLineDash && r.lineDash && (n = fC(t), a = n[0], o = n[1]), a && (e.setLineDash(a), e.lineDashOffset = o), r.strokeFirst ? (ic(r) && e.strokeText(i, r.x, r.y), ac(r) && e.fillText(i, r.x, r.y)) : (ac(r) && e.fillText(i, r.x, r.y), ic(r) && e.strokeText(i, r.x, r.y)), a && e.setLineDash([]);
|
|
25167
25164
|
}
|
|
@@ -25347,16 +25344,16 @@ function sp(e, t) {
|
|
|
25347
25344
|
return;
|
|
25348
25345
|
for (var I = -b, P = 0, N = 0, L = 0; I < C.height; ) {
|
|
25349
25346
|
if (P % 2 === 0) {
|
|
25350
|
-
for (var U = N / 2 % y.length, j = 0,
|
|
25347
|
+
for (var U = N / 2 % y.length, j = 0, G = 0, k = 0; j < C.width * 2; ) {
|
|
25351
25348
|
for (var B = 0, M = 0; M < g[L].length; ++M)
|
|
25352
25349
|
B += g[L][M];
|
|
25353
25350
|
if (B <= 0)
|
|
25354
25351
|
break;
|
|
25355
|
-
if (
|
|
25356
|
-
var F = (1 - o.symbolSize) * 0.5, H = j + g[L][
|
|
25352
|
+
if (G % 2 === 0) {
|
|
25353
|
+
var F = (1 - o.symbolSize) * 0.5, H = j + g[L][G] * F, Y = I + m[P] * F, ae = g[L][G] * o.symbolSize, X = m[P] * o.symbolSize, re = k / 2 % y[U].length;
|
|
25357
25354
|
le(H, Y, ae, X, y[U][re]);
|
|
25358
25355
|
}
|
|
25359
|
-
j += g[L][
|
|
25356
|
+
j += g[L][G], ++k, ++G, G === g[L].length && (G = 0);
|
|
25360
25357
|
}
|
|
25361
25358
|
++L, L === g.length && (L = 0);
|
|
25362
25359
|
}
|
|
@@ -25457,10 +25454,10 @@ function $V(e, t) {
|
|
|
25457
25454
|
});
|
|
25458
25455
|
}
|
|
25459
25456
|
var Cr = new Mr(), oc = {};
|
|
25460
|
-
function
|
|
25457
|
+
function WV(e, t) {
|
|
25461
25458
|
process.env.NODE_ENV !== "production" && oc[e] && St("Already has an implementation of " + e + "."), oc[e] = t;
|
|
25462
25459
|
}
|
|
25463
|
-
function
|
|
25460
|
+
function GV(e) {
|
|
25464
25461
|
return process.env.NODE_ENV !== "production" && (oc[e] || St("Implementation of " + e + " doesn't exists.")), oc[e];
|
|
25465
25462
|
}
|
|
25466
25463
|
var HV = 1, UV = 800, YV = 900, qV = 1e3, ZV = 2e3, XV = 5e3, yC = 1e3, KV = 1100, og = 2e3, _C = 3e3, QV = 4e3, rf = 4500, JV = 4600, e4 = 5e3, t4 = 6e3, bC = 7e3, r4 = {
|
|
@@ -25487,7 +25484,7 @@ function SC(e) {
|
|
|
25487
25484
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
25488
25485
|
t[r] = arguments[r];
|
|
25489
25486
|
if (this.isDisposed()) {
|
|
25490
|
-
|
|
25487
|
+
Gt(this.id);
|
|
25491
25488
|
return;
|
|
25492
25489
|
}
|
|
25493
25490
|
return wC(this, e, t);
|
|
@@ -25585,12 +25582,12 @@ var ba, Vh, rl, On, Fh, zh, jh, Bo, Vo, k_, N_, $h, L_, nl, B_, EC, nr, V_, sc =
|
|
|
25585
25582
|
return;
|
|
25586
25583
|
}
|
|
25587
25584
|
if (this._disposed) {
|
|
25588
|
-
|
|
25585
|
+
Gt(this.id);
|
|
25589
25586
|
return;
|
|
25590
25587
|
}
|
|
25591
25588
|
var a, o, s;
|
|
25592
25589
|
if (ie(n) && (i = n.lazyUpdate, a = n.silent, o = n.replaceMerge, s = n.transition, n = n.notMerge), this[gt] = !0, !this._model || n) {
|
|
25593
|
-
var u = new
|
|
25590
|
+
var u = new GB(this._api), l = this._theme, c = this._model = new ag();
|
|
25594
25591
|
c.scheduler = this._scheduler, c.ssr = this._ssr, c.init(null, null, null, l, this._locale, u);
|
|
25595
25592
|
}
|
|
25596
25593
|
this._model.setOption(r, {
|
|
@@ -25653,7 +25650,7 @@ var ba, Vh, rl, On, Fh, zh, jh, Bo, Vo, k_, N_, $h, L_, nl, B_, EC, nr, V_, sc =
|
|
|
25653
25650
|
}
|
|
25654
25651
|
}, t.prototype.getDataURL = function(r) {
|
|
25655
25652
|
if (this._disposed) {
|
|
25656
|
-
|
|
25653
|
+
Gt(this.id);
|
|
25657
25654
|
return;
|
|
25658
25655
|
}
|
|
25659
25656
|
r = r || {};
|
|
@@ -25672,13 +25669,13 @@ var ba, Vh, rl, On, Fh, zh, jh, Bo, Vo, k_, N_, $h, L_, nl, B_, EC, nr, V_, sc =
|
|
|
25672
25669
|
}), s;
|
|
25673
25670
|
}, t.prototype.getConnectedDataURL = function(r) {
|
|
25674
25671
|
if (this._disposed) {
|
|
25675
|
-
|
|
25672
|
+
Gt(this.id);
|
|
25676
25673
|
return;
|
|
25677
25674
|
}
|
|
25678
25675
|
var n = r.type === "svg", i = this.group, a = Math.min, o = Math.max, s = 1 / 0;
|
|
25679
25676
|
if (fp[i]) {
|
|
25680
25677
|
var u = s, l = s, c = -s, f = -s, h = [], d = r && r.pixelRatio || this.getDevicePixelRatio();
|
|
25681
|
-
R(
|
|
25678
|
+
R(Ga, function(_, b) {
|
|
25682
25679
|
if (_.group === i) {
|
|
25683
25680
|
var S = n ? _.getZr().painter.getSvgDom().innerHTML : _.renderToCanvas(ge(r)), w = _.getDom().getBoundingClientRect();
|
|
25684
25681
|
u = a(w.left, u), l = a(w.top, l), c = o(w.right, c), f = o(w.bottom, f), h.push({
|
|
@@ -25729,7 +25726,7 @@ var ba, Vh, rl, On, Fh, zh, jh, Bo, Vo, k_, N_, $h, L_, nl, B_, EC, nr, V_, sc =
|
|
|
25729
25726
|
return Fh(this, "convertFromPixel", r, n);
|
|
25730
25727
|
}, t.prototype.containPixel = function(r, n) {
|
|
25731
25728
|
if (this._disposed) {
|
|
25732
|
-
|
|
25729
|
+
Gt(this.id);
|
|
25733
25730
|
return;
|
|
25734
25731
|
}
|
|
25735
25732
|
var i = this._model, a, o = fs(i, r);
|
|
@@ -25794,7 +25791,7 @@ var ba, Vh, rl, On, Fh, zh, jh, Bo, Vo, k_, N_, $h, L_, nl, B_, EC, nr, V_, sc =
|
|
|
25794
25791
|
return this._disposed;
|
|
25795
25792
|
}, t.prototype.clear = function() {
|
|
25796
25793
|
if (this._disposed) {
|
|
25797
|
-
|
|
25794
|
+
Gt(this.id);
|
|
25798
25795
|
return;
|
|
25799
25796
|
}
|
|
25800
25797
|
this.setOption({
|
|
@@ -25802,7 +25799,7 @@ var ba, Vh, rl, On, Fh, zh, jh, Bo, Vo, k_, N_, $h, L_, nl, B_, EC, nr, V_, sc =
|
|
|
25802
25799
|
}, !0);
|
|
25803
25800
|
}, t.prototype.dispose = function() {
|
|
25804
25801
|
if (this._disposed) {
|
|
25805
|
-
|
|
25802
|
+
Gt(this.id);
|
|
25806
25803
|
return;
|
|
25807
25804
|
}
|
|
25808
25805
|
this._disposed = !0;
|
|
@@ -25813,14 +25810,14 @@ var ba, Vh, rl, On, Fh, zh, jh, Bo, Vo, k_, N_, $h, L_, nl, B_, EC, nr, V_, sc =
|
|
|
25813
25810
|
o.dispose(a, i);
|
|
25814
25811
|
}), R(n._chartsViews, function(o) {
|
|
25815
25812
|
o.dispose(a, i);
|
|
25816
|
-
}), n._zr.dispose(), n._dom = n._model = n._chartsMap = n._componentsMap = n._chartsViews = n._componentsViews = n._scheduler = n._api = n._zr = n._throttledZrFlush = n._theme = n._coordSysMgr = n._messageCenter = null, delete
|
|
25813
|
+
}), n._zr.dispose(), n._dom = n._model = n._chartsMap = n._componentsMap = n._chartsViews = n._componentsViews = n._scheduler = n._api = n._zr = n._throttledZrFlush = n._theme = n._coordSysMgr = n._messageCenter = null, delete Ga[n.id];
|
|
25817
25814
|
}, t.prototype.resize = function(r) {
|
|
25818
25815
|
if (this[gt]) {
|
|
25819
25816
|
process.env.NODE_ENV !== "production" && St("`resize` should not be called during main process.");
|
|
25820
25817
|
return;
|
|
25821
25818
|
}
|
|
25822
25819
|
if (this._disposed) {
|
|
25823
|
-
|
|
25820
|
+
Gt(this.id);
|
|
25824
25821
|
return;
|
|
25825
25822
|
}
|
|
25826
25823
|
this._zr.resize(r);
|
|
@@ -25843,7 +25840,7 @@ var ba, Vh, rl, On, Fh, zh, jh, Bo, Vo, k_, N_, $h, L_, nl, B_, EC, nr, V_, sc =
|
|
|
25843
25840
|
}
|
|
25844
25841
|
}, t.prototype.showLoading = function(r, n) {
|
|
25845
25842
|
if (this._disposed) {
|
|
25846
|
-
|
|
25843
|
+
Gt(this.id);
|
|
25847
25844
|
return;
|
|
25848
25845
|
}
|
|
25849
25846
|
if (ie(r) && (n = r, r = ""), r = r || "default", this.hideLoading(), !cp[r]) {
|
|
@@ -25854,7 +25851,7 @@ var ba, Vh, rl, On, Fh, zh, jh, Bo, Vo, k_, N_, $h, L_, nl, B_, EC, nr, V_, sc =
|
|
|
25854
25851
|
this._loadingFX = i, a.add(i);
|
|
25855
25852
|
}, t.prototype.hideLoading = function() {
|
|
25856
25853
|
if (this._disposed) {
|
|
25857
|
-
|
|
25854
|
+
Gt(this.id);
|
|
25858
25855
|
return;
|
|
25859
25856
|
}
|
|
25860
25857
|
this._loadingFX && this._zr.remove(this._loadingFX), this._loadingFX = null;
|
|
@@ -25863,7 +25860,7 @@ var ba, Vh, rl, On, Fh, zh, jh, Bo, Vo, k_, N_, $h, L_, nl, B_, EC, nr, V_, sc =
|
|
|
25863
25860
|
return n.type = ys[r.type], n;
|
|
25864
25861
|
}, t.prototype.dispatchAction = function(r, n) {
|
|
25865
25862
|
if (this._disposed) {
|
|
25866
|
-
|
|
25863
|
+
Gt(this.id);
|
|
25867
25864
|
return;
|
|
25868
25865
|
}
|
|
25869
25866
|
if (ie(n) || (n = {
|
|
@@ -25886,7 +25883,7 @@ var ba, Vh, rl, On, Fh, zh, jh, Bo, Vo, k_, N_, $h, L_, nl, B_, EC, nr, V_, sc =
|
|
|
25886
25883
|
});
|
|
25887
25884
|
}, t.prototype.appendData = function(r) {
|
|
25888
25885
|
if (this._disposed) {
|
|
25889
|
-
|
|
25886
|
+
Gt(this.id);
|
|
25890
25887
|
return;
|
|
25891
25888
|
}
|
|
25892
25889
|
var n = r.seriesIndex, i = this.getModel(), a = i.getSeriesByIndex(n);
|
|
@@ -25912,7 +25909,7 @@ var ba, Vh, rl, On, Fh, zh, jh, Bo, Vo, k_, N_, $h, L_, nl, B_, EC, nr, V_, sc =
|
|
|
25912
25909
|
// For backward compat, still support a chart type declared as only subType
|
|
25913
25910
|
// like "liquidfill", but recommend "series.liquidfill"
|
|
25914
25911
|
// But need a base class to make a type series.
|
|
25915
|
-
|
|
25912
|
+
Gr.getClass(x.sub)
|
|
25916
25913
|
);
|
|
25917
25914
|
process.env.NODE_ENV !== "production" && se(D, x.sub + " does not exist."), A = new D(), A.init(d, y), g[E] = A, v.push(A), m.add(A.group);
|
|
25918
25915
|
}
|
|
@@ -25940,7 +25937,7 @@ var ba, Vh, rl, On, Fh, zh, jh, Bo, Vo, k_, N_, $h, L_, nl, B_, EC, nr, V_, sc =
|
|
|
25940
25937
|
v && (y.subType = v);
|
|
25941
25938
|
var _ = d.excludeSeriesId, b;
|
|
25942
25939
|
_ != null && (b = pe(), R(Mt(_), function(w) {
|
|
25943
|
-
var C =
|
|
25940
|
+
var C = Wr(w, null);
|
|
25944
25941
|
C != null && b.set(C, !0);
|
|
25945
25942
|
})), g && g.eachComponent(y, function(w) {
|
|
25946
25943
|
var C = b && b.get(w.id) != null;
|
|
@@ -26011,7 +26008,7 @@ var ba, Vh, rl, On, Fh, zh, jh, Bo, Vo, k_, N_, $h, L_, nl, B_, EC, nr, V_, sc =
|
|
|
26011
26008
|
},
|
|
26012
26009
|
updateView: function(f) {
|
|
26013
26010
|
var h = this._model;
|
|
26014
|
-
h && (h.setUpdatePayload(f),
|
|
26011
|
+
h && (h.setUpdatePayload(f), Gr.markUpdateMethod(f, "updateView"), r(h), this._scheduler.performVisualTasks(h, f, {
|
|
26015
26012
|
setDirty: !0
|
|
26016
26013
|
}), $h(this, h, this._api, f, {}), Cr.trigger("afterupdate", h, this._api));
|
|
26017
26014
|
},
|
|
@@ -26019,7 +26016,7 @@ var ba, Vh, rl, On, Fh, zh, jh, Bo, Vo, k_, N_, $h, L_, nl, B_, EC, nr, V_, sc =
|
|
|
26019
26016
|
var h = this, d = this._model;
|
|
26020
26017
|
d && (d.setUpdatePayload(f), d.eachSeries(function(p) {
|
|
26021
26018
|
p.getData().clearAllVisual();
|
|
26022
|
-
}),
|
|
26019
|
+
}), Gr.markUpdateMethod(f, "updateVisual"), r(d), this._scheduler.performVisualTasks(d, f, {
|
|
26023
26020
|
visualType: "visual",
|
|
26024
26021
|
setDirty: !0
|
|
26025
26022
|
}), d.eachComponent(function(p, v) {
|
|
@@ -26037,7 +26034,7 @@ var ba, Vh, rl, On, Fh, zh, jh, Bo, Vo, k_, N_, $h, L_, nl, B_, EC, nr, V_, sc =
|
|
|
26037
26034
|
}
|
|
26038
26035
|
}, Fh = function(f, h, d, p) {
|
|
26039
26036
|
if (f._disposed) {
|
|
26040
|
-
|
|
26037
|
+
Gt(f.id);
|
|
26041
26038
|
return;
|
|
26042
26039
|
}
|
|
26043
26040
|
for (var v = f._model, g = f._coordSysMgr.getCoordinateSystems(), m, y = fs(v, d), _ = 0; _ < g.length; _++) {
|
|
@@ -26312,7 +26309,7 @@ var ba, Vh, rl, On, Fh, zh, jh, Bo, Vo, k_, N_, $h, L_, nl, B_, EC, nr, V_, sc =
|
|
|
26312
26309
|
if (v && v.escapeConnect)
|
|
26313
26310
|
return;
|
|
26314
26311
|
var g = f.makeActionFromEvent(v), m = [];
|
|
26315
|
-
R(
|
|
26312
|
+
R(Ga, function(y) {
|
|
26316
26313
|
y !== f && y.group === f.group && m.push(y);
|
|
26317
26314
|
}), h(m, P_), R(m, function(y) {
|
|
26318
26315
|
y[Bh] !== n4 && y.dispatchAction(g);
|
|
@@ -26337,10 +26334,10 @@ sg.one = function(e, t, r) {
|
|
|
26337
26334
|
this.on.call(this, e, i, r);
|
|
26338
26335
|
};
|
|
26339
26336
|
var a4 = ["click", "dblclick", "mouseover", "mouseout", "mousemove", "mousedown", "mouseup", "globalout", "contextmenu"];
|
|
26340
|
-
function
|
|
26337
|
+
function Gt(e) {
|
|
26341
26338
|
process.env.NODE_ENV !== "production" && Lt("Instance " + e + " has been disposed");
|
|
26342
26339
|
}
|
|
26343
|
-
var uc = {}, ys = {}, up = [], lp = [], lc = [], DC = {}, cp = {},
|
|
26340
|
+
var uc = {}, ys = {}, up = [], lp = [], lc = [], DC = {}, cp = {}, Ga = {}, fp = {}, o4 = +/* @__PURE__ */ new Date() - 0, s4 = +/* @__PURE__ */ new Date() - 0, ug = "_echarts_instance_";
|
|
26344
26341
|
function u4(e, t, r) {
|
|
26345
26342
|
{
|
|
26346
26343
|
if (process.env.NODE_ENV !== "production" && !e)
|
|
@@ -26348,10 +26345,10 @@ function u4(e, t, r) {
|
|
|
26348
26345
|
var n = AC(e);
|
|
26349
26346
|
if (n)
|
|
26350
26347
|
return process.env.NODE_ENV !== "production" && Lt("There is a chart instance already initialized on the dom."), n;
|
|
26351
|
-
process.env.NODE_ENV !== "production" &&
|
|
26348
|
+
process.env.NODE_ENV !== "production" && Gi(e) && e.nodeName.toUpperCase() !== "CANVAS" && (!e.clientWidth || !e.clientHeight) && Lt("Can't get DOM width or height. Please check dom.clientWidth and dom.clientHeight. They should not be 0.For example, you may need to call this in the callback of window.onload.");
|
|
26352
26349
|
}
|
|
26353
26350
|
var i = new sc(e, t, r);
|
|
26354
|
-
return i.id = "ec_" + o4++,
|
|
26351
|
+
return i.id = "ec_" + o4++, Ga[i.id] = i, xx(e, ug, i.id), EC(i), Cr.trigger("afterinit", i), i;
|
|
26355
26352
|
}
|
|
26356
26353
|
function l4(e) {
|
|
26357
26354
|
if (Q(e)) {
|
|
@@ -26365,10 +26362,10 @@ function l4(e) {
|
|
|
26365
26362
|
return fp[e] = !0, e;
|
|
26366
26363
|
}
|
|
26367
26364
|
function c4(e) {
|
|
26368
|
-
J(e) ? e =
|
|
26365
|
+
J(e) ? e = Ga[e] : e instanceof sc || (e = AC(e)), e instanceof sc && !e.isDisposed() && e.dispose();
|
|
26369
26366
|
}
|
|
26370
26367
|
function AC(e) {
|
|
26371
|
-
return
|
|
26368
|
+
return Ga[qk(e, ug)];
|
|
26372
26369
|
}
|
|
26373
26370
|
function MC(e, t) {
|
|
26374
26371
|
DC[e] = t;
|
|
@@ -26426,7 +26423,7 @@ function IC(e, t) {
|
|
|
26426
26423
|
cp[e] = t;
|
|
26427
26424
|
}
|
|
26428
26425
|
function v4(e, t, r) {
|
|
26429
|
-
var n =
|
|
26426
|
+
var n = GV("registerMap");
|
|
26430
26427
|
n && n(e, t, r);
|
|
26431
26428
|
}
|
|
26432
26429
|
var g4 = F5;
|
|
@@ -26479,12 +26476,12 @@ var z_ = [], m4 = {
|
|
|
26479
26476
|
registerTransform: g4,
|
|
26480
26477
|
registerLoading: IC,
|
|
26481
26478
|
registerMap: v4,
|
|
26482
|
-
registerImpl:
|
|
26479
|
+
registerImpl: WV,
|
|
26483
26480
|
PRIORITY: r4,
|
|
26484
26481
|
ComponentModel: Te,
|
|
26485
26482
|
ComponentView: Qt,
|
|
26486
26483
|
SeriesModel: Xn,
|
|
26487
|
-
ChartView:
|
|
26484
|
+
ChartView: Gr,
|
|
26488
26485
|
// TODO Use ComponentModel and SeriesModel instead of Constructor
|
|
26489
26486
|
registerComponentModel: function(e) {
|
|
26490
26487
|
Te.registerClass(e);
|
|
@@ -26496,7 +26493,7 @@ var z_ = [], m4 = {
|
|
|
26496
26493
|
Xn.registerClass(e);
|
|
26497
26494
|
},
|
|
26498
26495
|
registerChartView: function(e) {
|
|
26499
|
-
|
|
26496
|
+
Gr.registerClass(e);
|
|
26500
26497
|
},
|
|
26501
26498
|
registerSubTypeDefaulter: function(e, t) {
|
|
26502
26499
|
Te.registerSubTypeDefaulter(e, t);
|
|
@@ -26828,18 +26825,18 @@ function A4(e, t, r, n) {
|
|
|
26828
26825
|
var s = i.intervalPrecision = kC(o), u = i.niceTickExtent = [it(Math.ceil(e[0] / o) * o, s), it(Math.floor(e[1] / o) * o, s)];
|
|
26829
26826
|
return M4(u, e), i;
|
|
26830
26827
|
}
|
|
26831
|
-
function
|
|
26828
|
+
function Wh(e) {
|
|
26832
26829
|
var t = Math.pow(10, Lc(e)), r = e / t;
|
|
26833
26830
|
return r ? r === 2 ? r = 3 : r === 3 ? r = 5 : r *= 2 : r = 1, it(r * t);
|
|
26834
26831
|
}
|
|
26835
26832
|
function kC(e) {
|
|
26836
26833
|
return sn(e) + 2;
|
|
26837
26834
|
}
|
|
26838
|
-
function
|
|
26835
|
+
function W_(e, t, r) {
|
|
26839
26836
|
e[t] = Math.max(Math.min(e[t], r[1]), r[0]);
|
|
26840
26837
|
}
|
|
26841
26838
|
function M4(e, t) {
|
|
26842
|
-
!isFinite(e[0]) && (e[0] = t[0]), !isFinite(e[1]) && (e[1] = t[1]),
|
|
26839
|
+
!isFinite(e[0]) && (e[0] = t[0]), !isFinite(e[1]) && (e[1] = t[1]), W_(e, 0, t), W_(e, 1, t), e[0] > e[1] && (e[0] = e[1]);
|
|
26843
26840
|
}
|
|
26844
26841
|
function nf(e, t) {
|
|
26845
26842
|
return e >= t[0] && e <= t[1];
|
|
@@ -27124,7 +27121,7 @@ function P4(e) {
|
|
|
27124
27121
|
function k4(e) {
|
|
27125
27122
|
return e /= gs, e > 12 ? 12 : e > 6 ? 6 : e > 3.5 ? 4 : e > 2 ? 2 : 1;
|
|
27126
27123
|
}
|
|
27127
|
-
function
|
|
27124
|
+
function G_(e, t) {
|
|
27128
27125
|
return e /= t ? Kv : Xv, e > 30 ? 30 : e > 20 ? 20 : e > 15 ? 15 : e > 10 ? 10 : e > 5 ? 5 : e > 2 ? 2 : 1;
|
|
27129
27126
|
}
|
|
27130
27127
|
function N4(e) {
|
|
@@ -27150,10 +27147,10 @@ function L4(e, t, r) {
|
|
|
27150
27147
|
function B4(e, t, r, n) {
|
|
27151
27148
|
var i = 1e4, a = _w, o = 0;
|
|
27152
27149
|
function s(x, D, M, I, P, N, L) {
|
|
27153
|
-
for (var U = new Date(D), j = D,
|
|
27150
|
+
for (var U = new Date(D), j = D, G = U[I](); j < M && j <= n[1]; )
|
|
27154
27151
|
L.push({
|
|
27155
27152
|
value: j
|
|
27156
|
-
}),
|
|
27153
|
+
}), G += x, U[P](G), j = U.getTime();
|
|
27157
27154
|
L.push({
|
|
27158
27155
|
value: j,
|
|
27159
27156
|
notAdd: !0
|
|
@@ -27171,38 +27168,38 @@ function B4(e, t, r, n) {
|
|
|
27171
27168
|
for (var N = 0; N < D.length - 1; N++) {
|
|
27172
27169
|
var L = D[N].value, U = D[N + 1].value;
|
|
27173
27170
|
if (L !== U) {
|
|
27174
|
-
var j = void 0,
|
|
27171
|
+
var j = void 0, G = void 0, k = void 0, B = !1;
|
|
27175
27172
|
switch (x) {
|
|
27176
27173
|
case "year":
|
|
27177
|
-
j = Math.max(1, Math.round(t / vr / 365)),
|
|
27174
|
+
j = Math.max(1, Math.round(t / vr / 365)), G = Qv(r), k = b5(r);
|
|
27178
27175
|
break;
|
|
27179
27176
|
case "half-year":
|
|
27180
27177
|
case "quarter":
|
|
27181
27178
|
case "month":
|
|
27182
|
-
j = P4(t),
|
|
27179
|
+
j = P4(t), G = $a(r), k = Sw(r);
|
|
27183
27180
|
break;
|
|
27184
27181
|
case "week":
|
|
27185
27182
|
// PENDING If week is added. Ignore day.
|
|
27186
27183
|
case "half-week":
|
|
27187
27184
|
case "day":
|
|
27188
|
-
j = I4(t),
|
|
27185
|
+
j = I4(t), G = Kc(r), k = xw(r), B = !0;
|
|
27189
27186
|
break;
|
|
27190
27187
|
case "half-day":
|
|
27191
27188
|
case "quarter-day":
|
|
27192
27189
|
case "hour":
|
|
27193
|
-
j = k4(t),
|
|
27190
|
+
j = k4(t), G = Ls(r), k = ww(r);
|
|
27194
27191
|
break;
|
|
27195
27192
|
case "minute":
|
|
27196
|
-
j =
|
|
27193
|
+
j = G_(t, !0), G = Qc(r), k = Cw(r);
|
|
27197
27194
|
break;
|
|
27198
27195
|
case "second":
|
|
27199
|
-
j =
|
|
27196
|
+
j = G_(t, !1), G = Jc(r), k = Tw(r);
|
|
27200
27197
|
break;
|
|
27201
27198
|
case "millisecond":
|
|
27202
|
-
j = N4(t),
|
|
27199
|
+
j = N4(t), G = ef(r), k = Ew(r);
|
|
27203
27200
|
break;
|
|
27204
27201
|
}
|
|
27205
|
-
s(j, L, U,
|
|
27202
|
+
s(j, L, U, G, k, B, I), x === "year" && M.length > 1 && N === 0 && M.unshift({
|
|
27206
27203
|
value: M[0].value - j
|
|
27207
27204
|
});
|
|
27208
27205
|
}
|
|
@@ -27355,7 +27352,7 @@ var j4 = (
|
|
|
27355
27352
|
isBlank: f
|
|
27356
27353
|
};
|
|
27357
27354
|
}, e.prototype.modifyDataMinMax = function(t, r) {
|
|
27358
|
-
process.env.NODE_ENV !== "production" && se(!this.frozen), this[
|
|
27355
|
+
process.env.NODE_ENV !== "production" && se(!this.frozen), this[W4[t]] = r;
|
|
27359
27356
|
}, e.prototype.setDeterminedMinMax = function(t, r) {
|
|
27360
27357
|
var n = $4[t];
|
|
27361
27358
|
process.env.NODE_ENV !== "production" && se(!this.frozen && this[n] == null), this[n] = r;
|
|
@@ -27366,7 +27363,7 @@ var j4 = (
|
|
|
27366
27363
|
), $4 = {
|
|
27367
27364
|
min: "_determinedMin",
|
|
27368
27365
|
max: "_determinedMax"
|
|
27369
|
-
},
|
|
27366
|
+
}, W4 = {
|
|
27370
27367
|
min: "_dataMin",
|
|
27371
27368
|
max: "_dataMax"
|
|
27372
27369
|
};
|
|
@@ -27386,7 +27383,7 @@ function VC(e, t) {
|
|
|
27386
27383
|
if (R(s, function(f) {
|
|
27387
27384
|
u = u || f.getBaseAxis() === t.axis;
|
|
27388
27385
|
}), u) {
|
|
27389
|
-
var l = Q3(s), c =
|
|
27386
|
+
var l = Q3(s), c = G4(i, a, t, l);
|
|
27390
27387
|
i = c.min, a = c.max;
|
|
27391
27388
|
}
|
|
27392
27389
|
}
|
|
@@ -27398,7 +27395,7 @@ function VC(e, t) {
|
|
|
27398
27395
|
fixMax: n.maxFixed
|
|
27399
27396
|
};
|
|
27400
27397
|
}
|
|
27401
|
-
function
|
|
27398
|
+
function G4(e, t, r, n) {
|
|
27402
27399
|
var i = r.axis.getExtent(), a = i[1] - i[0], o = eB(n, r.axis);
|
|
27403
27400
|
if (o === void 0)
|
|
27404
27401
|
return {
|
|
@@ -27508,7 +27505,7 @@ function zC(e, t) {
|
|
|
27508
27505
|
var r = {};
|
|
27509
27506
|
return R(e.mapDimensionsAll(t), function(n) {
|
|
27510
27507
|
r[KL(e, n)] = !0;
|
|
27511
|
-
}),
|
|
27508
|
+
}), Ge(r);
|
|
27512
27509
|
}
|
|
27513
27510
|
function Z4(e, t, r) {
|
|
27514
27511
|
t && R(zC(t, r), function(n) {
|
|
@@ -27637,7 +27634,7 @@ function eF(e) {
|
|
|
27637
27634
|
} : r;
|
|
27638
27635
|
}
|
|
27639
27636
|
function $C(e, t) {
|
|
27640
|
-
var r =
|
|
27637
|
+
var r = WC(e, "labels"), n = vg(t), i = GC(r, n);
|
|
27641
27638
|
if (i)
|
|
27642
27639
|
return i;
|
|
27643
27640
|
var a, o;
|
|
@@ -27647,7 +27644,7 @@ function $C(e, t) {
|
|
|
27647
27644
|
});
|
|
27648
27645
|
}
|
|
27649
27646
|
function tF(e, t) {
|
|
27650
|
-
var r =
|
|
27647
|
+
var r = WC(e, "ticks"), n = vg(t), i = GC(r, n);
|
|
27651
27648
|
if (i)
|
|
27652
27649
|
return i;
|
|
27653
27650
|
var a, o;
|
|
@@ -27678,10 +27675,10 @@ function rF(e) {
|
|
|
27678
27675
|
})
|
|
27679
27676
|
};
|
|
27680
27677
|
}
|
|
27681
|
-
function
|
|
27678
|
+
function WC(e, t) {
|
|
27682
27679
|
return $s(e)[t] || ($s(e)[t] = []);
|
|
27683
27680
|
}
|
|
27684
|
-
function
|
|
27681
|
+
function GC(e, t) {
|
|
27685
27682
|
for (var r = 0; r < e.length; r++)
|
|
27686
27683
|
if (e[r].key === t)
|
|
27687
27684
|
return e[r].value;
|
|
@@ -27913,12 +27910,12 @@ function K_(e) {
|
|
|
27913
27910
|
t[n] = a;
|
|
27914
27911
|
}), t;
|
|
27915
27912
|
}
|
|
27916
|
-
var
|
|
27913
|
+
var Gh = Math.log;
|
|
27917
27914
|
function lF(e, t, r) {
|
|
27918
27915
|
var n = oo.prototype, i = n.getTicks.call(r), a = n.getTicks.call(r, !0), o = i.length - 1, s = n.getInterval.call(r), u = VC(e, t), l = u.extent, c = u.fixMin, f = u.fixMax;
|
|
27919
27916
|
if (e.type === "log") {
|
|
27920
|
-
var h =
|
|
27921
|
-
l = [
|
|
27917
|
+
var h = Gh(e.base);
|
|
27918
|
+
l = [Gh(l[0]) / h, Gh(l[1]) / h];
|
|
27922
27919
|
}
|
|
27923
27920
|
e.setExtent(l[0], l[1]), e.calcNiceExtent({
|
|
27924
27921
|
splitNumber: o,
|
|
@@ -27932,13 +27929,13 @@ function lF(e, t, r) {
|
|
|
27932
27929
|
p = (g - v) / o;
|
|
27933
27930
|
else if (c)
|
|
27934
27931
|
for (g = l[0] + p * o; g < l[1] && isFinite(g) && isFinite(l[1]); )
|
|
27935
|
-
p =
|
|
27932
|
+
p = Wh(p), g = l[0] + p * o;
|
|
27936
27933
|
else if (f)
|
|
27937
27934
|
for (v = l[1] - p * o; v > l[0] && isFinite(v) && isFinite(l[0]); )
|
|
27938
|
-
p =
|
|
27935
|
+
p = Wh(p), v = l[1] - p * o;
|
|
27939
27936
|
else {
|
|
27940
27937
|
var m = e.getTicks().length - 1;
|
|
27941
|
-
m > o && (p =
|
|
27938
|
+
m > o && (p = Wh(p));
|
|
27942
27939
|
var y = p * o;
|
|
27943
27940
|
g = Math.ceil(l[1] / p) * p, v = it(g - y), v < 0 && l[0] >= 0 ? (v = 0, g = it(y)) : g > 0 && l[1] <= 0 && (g = 0, v = -it(y));
|
|
27944
27941
|
}
|
|
@@ -27963,7 +27960,7 @@ var cF = (
|
|
|
27963
27960
|
var n = this._axesMap;
|
|
27964
27961
|
this._updateScale(t, this.model);
|
|
27965
27962
|
function i(o) {
|
|
27966
|
-
var s, u =
|
|
27963
|
+
var s, u = Ge(o), l = u.length;
|
|
27967
27964
|
if (l) {
|
|
27968
27965
|
for (var c = [], f = l - 1; f >= 0; f--) {
|
|
27969
27966
|
var h = +u[f], d = o[h], p = d.model, v = d.scale;
|
|
@@ -28172,7 +28169,7 @@ function fF(e, t) {
|
|
|
28172
28169
|
return n - i + t;
|
|
28173
28170
|
};
|
|
28174
28171
|
}
|
|
28175
|
-
var Vn = Math.PI,
|
|
28172
|
+
var Vn = Math.PI, Wn = (
|
|
28176
28173
|
/** @class */
|
|
28177
28174
|
function() {
|
|
28178
28175
|
function e(t, r) {
|
|
@@ -28291,7 +28288,7 @@ var Vn = Math.PI, Gn = (
|
|
|
28291
28288
|
], h, d = t.get("nameRotate");
|
|
28292
28289
|
d != null && (d = d * Vn / 180);
|
|
28293
28290
|
var p;
|
|
28294
|
-
r1(a) ? h =
|
|
28291
|
+
r1(a) ? h = Wn.innerTextLayout(
|
|
28295
28292
|
e.rotation,
|
|
28296
28293
|
d ?? e.rotation,
|
|
28297
28294
|
// Adapt to axis.
|
|
@@ -28301,7 +28298,7 @@ var Vn = Math.PI, Gn = (
|
|
|
28301
28298
|
x: f[0],
|
|
28302
28299
|
y: f[1],
|
|
28303
28300
|
rotation: h.rotation,
|
|
28304
|
-
silent:
|
|
28301
|
+
silent: Wn.isLabelSilent(t),
|
|
28305
28302
|
style: gn(s, {
|
|
28306
28303
|
text: i,
|
|
28307
28304
|
font: v,
|
|
@@ -28319,7 +28316,7 @@ var Vn = Math.PI, Gn = (
|
|
|
28319
28316
|
componentModel: t,
|
|
28320
28317
|
itemName: i
|
|
28321
28318
|
}), _.__fullText = i, _.anid = "name", t.get("triggerEvent")) {
|
|
28322
|
-
var b =
|
|
28319
|
+
var b = Wn.makeAxisEventDataBase(t);
|
|
28323
28320
|
b.targetType = "axisName", b.name = i, Ie(_).eventData = b;
|
|
28324
28321
|
}
|
|
28325
28322
|
n.add(_), _.updateTransform(), r.add(_), _.decomposeTransform();
|
|
@@ -28400,7 +28397,7 @@ function vF(e, t, r, n) {
|
|
|
28400
28397
|
function gF(e, t, r, n) {
|
|
28401
28398
|
var i = r.axis, a = Hi(n.axisLabelShow, r.get(["axisLabel", "show"]));
|
|
28402
28399
|
if (!(!a || i.scale.isBlank())) {
|
|
28403
|
-
var o = r.getModel("axisLabel"), s = o.get("margin"), u = i.getViewLabels(), l = (Hi(n.labelRotate, o.get("rotate")) || 0) * Vn / 180, c =
|
|
28400
|
+
var o = r.getModel("axisLabel"), s = o.get("margin"), u = i.getViewLabels(), l = (Hi(n.labelRotate, o.get("rotate")) || 0) * Vn / 180, c = Wn.innerTextLayout(n.rotation, l, n.labelDirection), f = r.getCategories && r.getCategories(!0), h = [], d = Wn.isLabelSilent(r), p = r.get("triggerEvent");
|
|
28404
28401
|
return R(u, function(v, g) {
|
|
28405
28402
|
var m = i.scale.type === "ordinal" ? i.scale.getRawOrdinalNumber(v.tickValue) : v.tickValue, y = v.formattedLabel, _ = v.rawLabel, b = o;
|
|
28406
28403
|
if (f && f[m]) {
|
|
@@ -28431,7 +28428,7 @@ function gF(e, t, r, n) {
|
|
|
28431
28428
|
})
|
|
28432
28429
|
});
|
|
28433
28430
|
if (P.anid = "label_" + m, p) {
|
|
28434
|
-
var N =
|
|
28431
|
+
var N = Wn.makeAxisEventDataBase(r);
|
|
28435
28432
|
N.targetType = "axisLabel", N.value = _, N.tickIndex = g, i.type === "category" && (N.dataIndex = m), Ie(P).eventData = N;
|
|
28436
28433
|
}
|
|
28437
28434
|
t.add(P), P.updateTransform(), h.push(P), e.add(P), P.decomposeTransform();
|
|
@@ -28470,7 +28467,7 @@ function yF(e, t, r) {
|
|
|
28470
28467
|
R(r.getCoordinateSystems(), function(s) {
|
|
28471
28468
|
if (!s.axisPointerEnabled)
|
|
28472
28469
|
return;
|
|
28473
|
-
var u =
|
|
28470
|
+
var u = Ws(s.model), l = e.coordSysAxesInfo[u] = {};
|
|
28474
28471
|
e.coordSysMap[u] = s;
|
|
28475
28472
|
var c = s.model, f = c.getModel("tooltip", n);
|
|
28476
28473
|
if (R(s.getAxes(), Pe(v, !1, null)), s.getTooltipAxes && n && f.get("show")) {
|
|
@@ -28481,7 +28478,7 @@ function yF(e, t, r) {
|
|
|
28481
28478
|
var _ = y.model.getModel("axisPointer", i), b = _.get("show");
|
|
28482
28479
|
if (!(!b || b === "auto" && !g && !mp(_))) {
|
|
28483
28480
|
m == null && (m = _.get("triggerTooltip")), _ = g ? _F(y, f, i, t, g, m) : _;
|
|
28484
|
-
var S = _.get("snap"), w = _.get("triggerEmphasis"), C =
|
|
28481
|
+
var S = _.get("snap"), w = _.get("triggerEmphasis"), C = Ws(y.model), E = m || S || y.type === "category", A = e.axesInfo[C] = {
|
|
28485
28482
|
key: C,
|
|
28486
28483
|
axis: y,
|
|
28487
28484
|
coordSys: s,
|
|
@@ -28524,7 +28521,7 @@ function _F(e, t, r, n, i, a) {
|
|
|
28524
28521
|
function bF(e, t) {
|
|
28525
28522
|
t.eachSeries(function(r) {
|
|
28526
28523
|
var n = r.coordinateSystem, i = r.get(["tooltip", "trigger"], !0), a = r.get(["tooltip", "show"], !0);
|
|
28527
|
-
!n || i === "none" || i === !1 || i === "item" || a === !1 || r.get(["axisPointer", "show"], !0) === !1 || R(e.coordSysAxesInfo[
|
|
28524
|
+
!n || i === "none" || i === !1 || i === "item" || a === !1 || r.get(["axisPointer", "show"], !0) === !1 || R(e.coordSysAxesInfo[Ws(n.model)], function(o) {
|
|
28528
28525
|
var s = o.axis;
|
|
28529
28526
|
n.getAxis(s.dim) === s && (o.seriesModels.push(r), o.seriesDataCount == null && (o.seriesDataCount = 0), o.seriesDataCount += r.getData().count());
|
|
28530
28527
|
});
|
|
@@ -28554,7 +28551,7 @@ function xF(e) {
|
|
|
28554
28551
|
}
|
|
28555
28552
|
function gg(e) {
|
|
28556
28553
|
var t = (e.ecModel.getComponent("axisPointer") || {}).coordSysAxesInfo;
|
|
28557
|
-
return t && t.axesInfo[
|
|
28554
|
+
return t && t.axesInfo[Ws(e)];
|
|
28558
28555
|
}
|
|
28559
28556
|
function wF(e) {
|
|
28560
28557
|
var t = gg(e);
|
|
@@ -28563,7 +28560,7 @@ function wF(e) {
|
|
|
28563
28560
|
function mp(e) {
|
|
28564
28561
|
return !!e.get(["handle", "show"]);
|
|
28565
28562
|
}
|
|
28566
|
-
function
|
|
28563
|
+
function Ws(e) {
|
|
28567
28564
|
return e.type + "||" + e.id;
|
|
28568
28565
|
}
|
|
28569
28566
|
var Yh = {}, ZC = (
|
|
@@ -28657,7 +28654,7 @@ var EF = ["axisLine", "axisTickLabel", "axisName"], DF = ["splitArea", "splitLin
|
|
|
28657
28654
|
this.group.removeAll();
|
|
28658
28655
|
var o = this._axisGroup;
|
|
28659
28656
|
if (this._axisGroup = new et(), this.group.add(this._axisGroup), !!r.get("show")) {
|
|
28660
|
-
var s = r.getCoordSysModel(), u = gp(s, r), l = new
|
|
28657
|
+
var s = r.getCoordSysModel(), u = gp(s, r), l = new Wn(r, Z({
|
|
28661
28658
|
handleAutoShown: function(f) {
|
|
28662
28659
|
for (var h = s.coordinateSystem.getCartesians(), d = 0; d < h.length; d++)
|
|
28663
28660
|
if (pp(h[d].getOtherAxis(r.axis).scale))
|
|
@@ -28669,7 +28666,7 @@ var EF = ["axisLine", "axisTickLabel", "axisName"], DF = ["splitArea", "splitLin
|
|
|
28669
28666
|
r.get([f, "show"]) && AF[f](this, this._axisGroup, r, s);
|
|
28670
28667
|
}, this);
|
|
28671
28668
|
var c = a && a.type === "changeAxisOrder" && a.isInitSort;
|
|
28672
|
-
c ||
|
|
28669
|
+
c || Gx(o, this._axisGroup, r), e.prototype.render.call(this, r, n, i, a);
|
|
28673
28670
|
}
|
|
28674
28671
|
}, t.prototype.remove = function() {
|
|
28675
28672
|
TF(this);
|
|
@@ -28829,7 +28826,7 @@ function qh(e, t) {
|
|
|
28829
28826
|
function Sa(e, t) {
|
|
28830
28827
|
return Math.min(t[1] != null ? t[1] : 1 / 0, Math.max(t[0] != null ? t[0] : -1 / 0, e));
|
|
28831
28828
|
}
|
|
28832
|
-
var Xi = !0,
|
|
28829
|
+
var Xi = !0, Gs = Math.min, Ja = Math.max, LF = Math.pow, BF = 1e4, VF = 6, FF = 6, a1 = "globalPan", zF = {
|
|
28833
28830
|
w: [0, 0],
|
|
28834
28831
|
e: [0, 1],
|
|
28835
28832
|
n: [1, 0],
|
|
@@ -28852,7 +28849,7 @@ var Xi = !0, Ws = Math.min, Ja = Math.max, LF = Math.pow, BF = 1e4, VF = 6, FF =
|
|
|
28852
28849
|
transformable: !0,
|
|
28853
28850
|
brushMode: "single",
|
|
28854
28851
|
removeOnClick: !1
|
|
28855
|
-
}, $F = 0,
|
|
28852
|
+
}, $F = 0, WF = (
|
|
28856
28853
|
/** @class */
|
|
28857
28854
|
function(e) {
|
|
28858
28855
|
q(t, e);
|
|
@@ -28898,7 +28895,7 @@ var Xi = !0, Ws = Math.min, Ja = Math.max, LF = Math.pow, BF = 1e4, VF = 6, FF =
|
|
|
28898
28895
|
return ye(ge(o1), h, !0);
|
|
28899
28896
|
});
|
|
28900
28897
|
var n = "\0-brush-index-", i = this._covers, a = this._covers = [], o = this, s = this._creatingCover;
|
|
28901
|
-
return new
|
|
28898
|
+
return new Gv(i, r, l, u).add(c).update(c).remove(f).execute(), this;
|
|
28902
28899
|
function u(h, d) {
|
|
28903
28900
|
return (h.id != null ? h.id : n + d) + "-" + h.brushType;
|
|
28904
28901
|
}
|
|
@@ -28986,7 +28983,7 @@ function Ki(e, t) {
|
|
|
28986
28983
|
removeOnClick: !!t.removeOnClick
|
|
28987
28984
|
});
|
|
28988
28985
|
}
|
|
28989
|
-
function
|
|
28986
|
+
function GF(e) {
|
|
28990
28987
|
var t = e._track;
|
|
28991
28988
|
if (!t.length)
|
|
28992
28989
|
return !1;
|
|
@@ -29053,7 +29050,7 @@ function Sg(e) {
|
|
|
29053
29050
|
}, e.brushStyle);
|
|
29054
29051
|
}
|
|
29055
29052
|
function sT(e, t, r, n) {
|
|
29056
|
-
var i = [
|
|
29053
|
+
var i = [Gs(e, r), Gs(t, n)], a = [Ja(e, r), Ja(t, n)];
|
|
29057
29054
|
return [
|
|
29058
29055
|
[i[0], a[0]],
|
|
29059
29056
|
[i[1], a[1]]
|
|
@@ -29061,7 +29058,7 @@ function sT(e, t, r, n) {
|
|
|
29061
29058
|
];
|
|
29062
29059
|
}
|
|
29063
29060
|
function HF(e) {
|
|
29064
|
-
return
|
|
29061
|
+
return Gc(e.group);
|
|
29065
29062
|
}
|
|
29066
29063
|
function Sp(e, t) {
|
|
29067
29064
|
var r = {
|
|
@@ -29107,7 +29104,7 @@ function xg(e, t, r) {
|
|
|
29107
29104
|
return n && n !== Xi ? n.clipPath(r, e._transform) : ge(r);
|
|
29108
29105
|
}
|
|
29109
29106
|
function qF(e) {
|
|
29110
|
-
var t =
|
|
29107
|
+
var t = Gs(e[0][0], e[1][0]), r = Gs(e[0][1], e[1][1]), n = Ja(e[0][0], e[1][0]), i = Ja(e[0][1], e[1][1]);
|
|
29111
29108
|
return {
|
|
29112
29109
|
x: t,
|
|
29113
29110
|
y: r,
|
|
@@ -29139,7 +29136,7 @@ function wp(e, t, r) {
|
|
|
29139
29136
|
}
|
|
29140
29137
|
function lT(e, t, r, n) {
|
|
29141
29138
|
var i = e._creatingCover, a = e._creatingPanel, o = e._brushOption, s;
|
|
29142
|
-
if (e._track.push(r.slice()),
|
|
29139
|
+
if (e._track.push(r.slice()), GF(e) || i) {
|
|
29143
29140
|
if (a && !i) {
|
|
29144
29141
|
o.brushMode === "single" && _p(e);
|
|
29145
29142
|
var u = ge(o);
|
|
@@ -29263,7 +29260,7 @@ function c1(e) {
|
|
|
29263
29260
|
}, t, r, [[["w"], ["e"]], [["n"], ["s"]]][e]);
|
|
29264
29261
|
},
|
|
29265
29262
|
getCreatingRange: function(t) {
|
|
29266
|
-
var r = iT(t), n =
|
|
29263
|
+
var r = iT(t), n = Gs(r[0][e], r[1][e]), i = Ja(r[0][e], r[1][e]);
|
|
29267
29264
|
return [n, i];
|
|
29268
29265
|
},
|
|
29269
29266
|
updateCoverShape: function(t, r, n, i) {
|
|
@@ -29535,7 +29532,7 @@ function hT(e, t, r) {
|
|
|
29535
29532
|
return Cv(n, n, r.rotation), Cd(n, n, r.position), ks([e.dataToCoord(t), (r.labelOffset || 0) + (r.labelDirection || 1) * (r.labelMargin || 0)], n);
|
|
29536
29533
|
}
|
|
29537
29534
|
function az(e, t, r, n, i, a) {
|
|
29538
|
-
var o =
|
|
29535
|
+
var o = Wn.innerTextLayout(r.rotation, 0, r.labelDirection);
|
|
29539
29536
|
r.labelMargin = i.get(["label", "margin"]), nz(t, n, i, a, {
|
|
29540
29537
|
position: hT(n.axis, e, r),
|
|
29541
29538
|
align: o.textAlign,
|
|
@@ -29904,7 +29901,7 @@ function _z(e, t, r, n) {
|
|
|
29904
29901
|
function bz(e, t, r, n) {
|
|
29905
29902
|
var i = r.payloadBatch, a = t.axis, o = a.model, s = t.axisPointerModel;
|
|
29906
29903
|
if (!(!t.triggerTooltip || !i.length)) {
|
|
29907
|
-
var u = t.coordSys.model, l =
|
|
29904
|
+
var u = t.coordSys.model, l = Ws(u), c = e.map[l];
|
|
29908
29905
|
c || (c = e.map[l] = {
|
|
29909
29906
|
coordSysId: u.id,
|
|
29910
29907
|
coordSysIndex: u.componentIndex,
|
|
@@ -30552,7 +30549,7 @@ function Vz(e, t, r) {
|
|
|
30552
30549
|
width: r.getWidth(),
|
|
30553
30550
|
height: r.getHeight()
|
|
30554
30551
|
}, o = Zn(n, a, i);
|
|
30555
|
-
|
|
30552
|
+
Wa(t.get("orient"), e, t.get("itemGap"), o.width, o.height), w5(e, n, a, i);
|
|
30556
30553
|
}
|
|
30557
30554
|
function bT(e, t) {
|
|
30558
30555
|
var r = tf(t.get("padding")), n = t.getItemStyle(["color", "opacity"]);
|
|
@@ -30583,7 +30580,7 @@ var Fz = (
|
|
|
30583
30580
|
var s = +r.get("itemSize"), u = r.get("orient") === "vertical", l = r.get("feature") || {}, c = this._features || (this._features = {}), f = [];
|
|
30584
30581
|
R(l, function(p, v) {
|
|
30585
30582
|
f.push(v);
|
|
30586
|
-
}), new
|
|
30583
|
+
}), new Gv(this._featureNames || [], f).add(h).update(h).remove(Pe(h, null)).execute(), this._featureNames = f;
|
|
30587
30584
|
function h(p, v) {
|
|
30588
30585
|
var g = f[p], m = f[v], y = l[g], _ = new Ze(y, r, r.ecModel), b;
|
|
30589
30586
|
if (a && a.newTitle != null && a.featureName === g && (y.title = a.newTitle), g && !m) {
|
|
@@ -30755,7 +30752,7 @@ var jz = (
|
|
|
30755
30752
|
return n;
|
|
30756
30753
|
}, t;
|
|
30757
30754
|
}(Tr)
|
|
30758
|
-
), T1 = "__ec_magicType_stack__", $z = [["line", "bar"], ["stack"]],
|
|
30755
|
+
), T1 = "__ec_magicType_stack__", $z = [["line", "bar"], ["stack"]], Wz = (
|
|
30759
30756
|
/** @class */
|
|
30760
30757
|
function(e) {
|
|
30761
30758
|
q(t, e);
|
|
@@ -30871,7 +30868,7 @@ qr({
|
|
|
30871
30868
|
t.mergeOption(e.newOption);
|
|
30872
30869
|
});
|
|
30873
30870
|
var uf = new Array(60).join("-"), eo = " ";
|
|
30874
|
-
function
|
|
30871
|
+
function Gz(e) {
|
|
30875
30872
|
var t = {}, r = [], n = [];
|
|
30876
30873
|
return e.eachRawSeries(function(i) {
|
|
30877
30874
|
var a = i.coordinateSystem;
|
|
@@ -30938,7 +30935,7 @@ function Uz(e) {
|
|
|
30938
30935
|
`);
|
|
30939
30936
|
}
|
|
30940
30937
|
function Yz(e) {
|
|
30941
|
-
var t =
|
|
30938
|
+
var t = Gz(e);
|
|
30942
30939
|
return {
|
|
30943
30940
|
value: bt([Hz(t.seriesGroupByCategoryAxis), Uz(t.other)], function(r) {
|
|
30944
30941
|
return !!r.replace(/[\n\t\s]/g, "");
|
|
@@ -31038,7 +31035,7 @@ var Qz = (
|
|
|
31038
31035
|
var f = a.get("optionToContent"), h = a.get("contentToOption"), d = Yz(r);
|
|
31039
31036
|
if (ue(f)) {
|
|
31040
31037
|
var p = f(n.getOption());
|
|
31041
|
-
J(p) ? l.innerHTML = p :
|
|
31038
|
+
J(p) ? l.innerHTML = p : Gi(p) && l.appendChild(p);
|
|
31042
31039
|
} else {
|
|
31043
31040
|
c.readOnly = a.get("readOnly");
|
|
31044
31041
|
var v = c.style;
|
|
@@ -31343,7 +31340,7 @@ var oj = {
|
|
|
31343
31340
|
},
|
|
31344
31341
|
geo: function() {
|
|
31345
31342
|
var e = this.coordSys, t = e.getBoundingRect().clone();
|
|
31346
|
-
return t.applyTransform(
|
|
31343
|
+
return t.applyTransform(Gc(e)), t;
|
|
31347
31344
|
}
|
|
31348
31345
|
}, Qh = {
|
|
31349
31346
|
lineX: Pe(R1, 0),
|
|
@@ -31398,7 +31395,7 @@ function sj(e, t) {
|
|
|
31398
31395
|
function P1(e) {
|
|
31399
31396
|
return e ? [e[0][1] - e[0][0], e[1][1] - e[1][0]] : [NaN, NaN];
|
|
31400
31397
|
}
|
|
31401
|
-
var Ap = R, uj =
|
|
31398
|
+
var Ap = R, uj = Wk("toolbox-dataZoom_"), lj = (
|
|
31402
31399
|
/** @class */
|
|
31403
31400
|
function(e) {
|
|
31404
31401
|
q(t, e);
|
|
@@ -31406,7 +31403,7 @@ var Ap = R, uj = Gk("toolbox-dataZoom_"), lj = (
|
|
|
31406
31403
|
return e !== null && e.apply(this, arguments) || this;
|
|
31407
31404
|
}
|
|
31408
31405
|
return t.prototype.render = function(r, n, i, a) {
|
|
31409
|
-
this._brushController || (this._brushController = new
|
|
31406
|
+
this._brushController || (this._brushController = new WF(i.getZr()), this._brushController.on("brush", _e(this._onBrush, this)).mount()), hj(r, n, this, a, i), fj(r, n);
|
|
31410
31407
|
}, t.prototype.onclick = function(r, n, i) {
|
|
31411
31408
|
cj[i].call(this);
|
|
31412
31409
|
}, t.prototype.remove = function(r, n) {
|
|
@@ -31539,7 +31536,7 @@ NB("dataZoom", function(e) {
|
|
|
31539
31536
|
return i;
|
|
31540
31537
|
});
|
|
31541
31538
|
function dj(e) {
|
|
31542
|
-
e.registerComponentModel(Bz), e.registerComponentView(Fz), Fo("saveAsImage", jz), Fo("magicType",
|
|
31539
|
+
e.registerComponentModel(Bz), e.registerComponentView(Fz), Fo("saveAsImage", jz), Fo("magicType", Wz), Fo("dataView", Qz), Fo("dataZoom", lj), Fo("restore", ij), mn(Lz);
|
|
31543
31540
|
}
|
|
31544
31541
|
var pj = (
|
|
31545
31542
|
/** @class */
|
|
@@ -31704,7 +31701,7 @@ var Cj = (
|
|
|
31704
31701
|
return null;
|
|
31705
31702
|
var n = document.createElement("div");
|
|
31706
31703
|
n.domBelongToZr = !0, this.el = n;
|
|
31707
|
-
var i = this._zr = t.getZr(), a = r.appendTo, o = a && (J(a) ? document.querySelector(a) :
|
|
31704
|
+
var i = this._zr = t.getZr(), a = r.appendTo, o = a && (J(a) ? document.querySelector(a) : Gi(a) ? a : ue(a) && a(t.getDom()));
|
|
31708
31705
|
N1(this._styleCoord, i, o, t.getWidth() / 2, t.getHeight() / 2), (o || t.getDom()).appendChild(n), this._api = t, this._container = o;
|
|
31709
31706
|
var s = this;
|
|
31710
31707
|
n.onmouseenter = function() {
|
|
@@ -31741,7 +31738,7 @@ var Cj = (
|
|
|
31741
31738
|
else if (t) {
|
|
31742
31739
|
o.innerHTML = "", Q(t) || (t = [t]);
|
|
31743
31740
|
for (var u = 0; u < t.length; u++)
|
|
31744
|
-
|
|
31741
|
+
Gi(t[u]) && t[u].parentNode !== o && o.appendChild(t[u]);
|
|
31745
31742
|
if (s && o.childNodes.length) {
|
|
31746
31743
|
var l = document.createElement("div");
|
|
31747
31744
|
l.innerHTML = s, o.appendChild(l);
|
|
@@ -32704,10 +32701,10 @@ var Lj = function(e, t) {
|
|
|
32704
32701
|
}), I.silent = !f, this.getContentGroup().add(S), Hl(S), S.__legendDataIndex = i, S;
|
|
32705
32702
|
}, t.prototype.layoutInner = function(r, n, i, a, o, s) {
|
|
32706
32703
|
var u = this.getContentGroup(), l = this.getSelectorGroup();
|
|
32707
|
-
|
|
32704
|
+
Wa(r.get("orient"), u, r.get("itemGap"), i.width, i.height);
|
|
32708
32705
|
var c = u.getBoundingRect(), f = [-c.x, -c.y];
|
|
32709
32706
|
if (l.markRedraw(), u.markRedraw(), o) {
|
|
32710
|
-
|
|
32707
|
+
Wa(
|
|
32711
32708
|
// Buttons in selectorGroup always layout horizontally
|
|
32712
32709
|
"horizontal",
|
|
32713
32710
|
l,
|
|
@@ -32902,7 +32899,7 @@ var $1 = et, Jh = ["width", "height"], ed = ["x", "y"], $j = (
|
|
|
32902
32899
|
}
|
|
32903
32900
|
}, t.prototype.layoutInner = function(r, n, i, a, o, s) {
|
|
32904
32901
|
var u = this.getSelectorGroup(), l = r.getOrient().index, c = Jh[l], f = ed[l], h = Jh[1 - l], d = ed[1 - l];
|
|
32905
|
-
o &&
|
|
32902
|
+
o && Wa(
|
|
32906
32903
|
// Buttons in selectorGroup always layout horizontally
|
|
32907
32904
|
"horizontal",
|
|
32908
32905
|
u,
|
|
@@ -32923,7 +32920,7 @@ var $1 = et, Jh = ["width", "height"], ed = ["x", "y"], $j = (
|
|
|
32923
32920
|
return y;
|
|
32924
32921
|
}, t.prototype._layoutContentAndController = function(r, n, i, a, o, s, u, l) {
|
|
32925
32922
|
var c = this.getContentGroup(), f = this._containerGroup, h = this._controllerGroup;
|
|
32926
|
-
|
|
32923
|
+
Wa(r.get("orient"), c, r.get("itemGap"), a ? i.width : null, a ? null : i.height), Wa(
|
|
32927
32924
|
// Buttons in controller are layout always horizontally.
|
|
32928
32925
|
"horizontal",
|
|
32929
32926
|
h,
|
|
@@ -33029,7 +33026,7 @@ var $1 = et, Jh = ["width", "height"], ed = ["x", "y"], $j = (
|
|
|
33029
33026
|
}, t.type = "legend.scroll", t;
|
|
33030
33027
|
}(AT)
|
|
33031
33028
|
);
|
|
33032
|
-
function
|
|
33029
|
+
function Wj(e) {
|
|
33033
33030
|
e.registerAction("legendScroll", "legendscroll", function(t, r) {
|
|
33034
33031
|
var n = t.scrollDataIndex;
|
|
33035
33032
|
n != null && r.eachComponent({
|
|
@@ -33041,11 +33038,11 @@ function Gj(e) {
|
|
|
33041
33038
|
});
|
|
33042
33039
|
});
|
|
33043
33040
|
}
|
|
33044
|
-
function
|
|
33045
|
-
mn(RT), e.registerComponentModel(jj), e.registerComponentView($j),
|
|
33041
|
+
function Gj(e) {
|
|
33042
|
+
mn(RT), e.registerComponentModel(jj), e.registerComponentView($j), Wj(e);
|
|
33046
33043
|
}
|
|
33047
33044
|
function Hj(e) {
|
|
33048
|
-
mn(RT), mn(
|
|
33045
|
+
mn(RT), mn(Gj);
|
|
33049
33046
|
}
|
|
33050
33047
|
var Uj = (
|
|
33051
33048
|
/** @class */
|
|
@@ -33124,7 +33121,7 @@ var Uj = (
|
|
|
33124
33121
|
}
|
|
33125
33122
|
}), t;
|
|
33126
33123
|
}(Tp)
|
|
33127
|
-
), $o = Ue,
|
|
33124
|
+
), $o = Ue, W1 = 7, Yj = 1, td = 30, qj = 7, Wo = "horizontal", G1 = "vertical", Zj = 5, Xj = ["line", "bar", "candlestick", "scatter"], Kj = {
|
|
33128
33125
|
easing: "cubicOut",
|
|
33129
33126
|
duration: 100,
|
|
33130
33127
|
delay: 0
|
|
@@ -33163,15 +33160,15 @@ var Uj = (
|
|
|
33163
33160
|
var r = this.dataZoomModel, n = this.api, i = r.get("brushSelect"), a = i ? qj : 0, o = this._findCoordRect(), s = {
|
|
33164
33161
|
width: n.getWidth(),
|
|
33165
33162
|
height: n.getHeight()
|
|
33166
|
-
}, u = this._orient ===
|
|
33163
|
+
}, u = this._orient === Wo ? {
|
|
33167
33164
|
// Why using 'right', because right should be used in vertical,
|
|
33168
33165
|
// and it is better to be consistent for dealing with position param merge.
|
|
33169
33166
|
right: s.width - o.x - o.width,
|
|
33170
|
-
top: s.height - td -
|
|
33167
|
+
top: s.height - td - W1 - a,
|
|
33171
33168
|
width: o.width,
|
|
33172
33169
|
height: td
|
|
33173
33170
|
} : {
|
|
33174
|
-
right:
|
|
33171
|
+
right: W1,
|
|
33175
33172
|
top: o.y,
|
|
33176
33173
|
width: td,
|
|
33177
33174
|
height: o.height
|
|
@@ -33183,16 +33180,16 @@ var Uj = (
|
|
|
33183
33180
|
this._location = {
|
|
33184
33181
|
x: c.x,
|
|
33185
33182
|
y: c.y
|
|
33186
|
-
}, this._size = [c.width, c.height], this._orient ===
|
|
33183
|
+
}, this._size = [c.width, c.height], this._orient === G1 && this._size.reverse();
|
|
33187
33184
|
}, t.prototype._positionGroup = function() {
|
|
33188
33185
|
var r = this.group, n = this._location, i = this._orient, a = this.dataZoomModel.getFirstTargetAxisModel(), o = a && a.get("inverse"), s = this._displayables.sliderGroup, u = (this._dataShadowInfo || {}).otherAxisInverse;
|
|
33189
|
-
s.attr(i ===
|
|
33186
|
+
s.attr(i === Wo && !o ? {
|
|
33190
33187
|
scaleY: u ? 1 : -1,
|
|
33191
33188
|
scaleX: 1
|
|
33192
|
-
} : i ===
|
|
33189
|
+
} : i === Wo && o ? {
|
|
33193
33190
|
scaleY: u ? 1 : -1,
|
|
33194
33191
|
scaleX: -1
|
|
33195
|
-
} : i ===
|
|
33192
|
+
} : i === G1 && !o ? {
|
|
33196
33193
|
scaleY: u ? -1 : 1,
|
|
33197
33194
|
scaleX: 1,
|
|
33198
33195
|
rotation: Math.PI / 2
|
|
@@ -33450,12 +33447,12 @@ var Uj = (
|
|
|
33450
33447
|
var h = Ko(this._handleEnds.slice());
|
|
33451
33448
|
d.call(this, 0), d.call(this, 1);
|
|
33452
33449
|
function d(p) {
|
|
33453
|
-
var v =
|
|
33450
|
+
var v = Gc(i.handles[p].parent, this.group), g = zv(p === 0 ? "right" : "left", v), m = this._handleWidth / 2 + Zj, y = ks([h[p] + (p === 0 ? -m : m), this._size[1] / 2], v);
|
|
33454
33451
|
a[p].setStyle({
|
|
33455
33452
|
x: y[0],
|
|
33456
33453
|
y: y[1],
|
|
33457
|
-
verticalAlign: o ===
|
|
33458
|
-
align: o ===
|
|
33454
|
+
verticalAlign: o === Wo ? "middle" : g,
|
|
33455
|
+
align: o === Wo ? g : "center",
|
|
33459
33456
|
text: s[p]
|
|
33460
33457
|
});
|
|
33461
33458
|
}
|
|
@@ -33570,7 +33567,7 @@ var rd = function(e) {
|
|
|
33570
33567
|
var o;
|
|
33571
33568
|
i = i || zl, typeof r == "string" ? o = U1(r, n, i) : ie(r) && (o = r, r = o.id), a.id = r, a.dom = o;
|
|
33572
33569
|
var s = o.style;
|
|
33573
|
-
return s && (
|
|
33570
|
+
return s && (WS(o), o.onselectstart = function() {
|
|
33574
33571
|
return !1;
|
|
33575
33572
|
}, s.padding = "0", s.margin = "0", s.borderWidth = "0"), a.painter = n, a.dpr = i, a;
|
|
33576
33573
|
}
|
|
@@ -33700,7 +33697,7 @@ var i$ = function() {
|
|
|
33700
33697
|
var a = !t.nodeName || t.nodeName.toUpperCase() === "CANVAS";
|
|
33701
33698
|
this._opts = n = Z({}, n || {}), this.dpr = n.devicePixelRatio || zl, this._singleCanvas = a, this.root = t;
|
|
33702
33699
|
var o = t.style;
|
|
33703
|
-
o && (
|
|
33700
|
+
o && (WS(t), t.innerHTML = ""), this.storage = r;
|
|
33704
33701
|
var s = this._zlevelList;
|
|
33705
33702
|
this._prevDisplayList = [];
|
|
33706
33703
|
var u = this._layers;
|
|
@@ -34393,7 +34390,7 @@ function V$({ currentTabIndexFromQuery: e, notification: t, setNotification: r,
|
|
|
34393
34390
|
}
|
|
34394
34391
|
) }),
|
|
34395
34392
|
i.map(
|
|
34396
|
-
({ component: u =
|
|
34393
|
+
({ component: u = WO }, l) => a === l && /* @__PURE__ */ T.jsx(u, {}, `tabpabel-${l}`)
|
|
34397
34394
|
)
|
|
34398
34395
|
] });
|
|
34399
34396
|
}
|
|
@@ -34435,14 +34432,14 @@ const F$ = (e, { tabs: t, extendedTabs: r }) => {
|
|
|
34435
34432
|
}
|
|
34436
34433
|
}
|
|
34437
34434
|
});
|
|
34438
|
-
function
|
|
34435
|
+
function W$() {
|
|
34439
34436
|
const e = Ot(({ theme: { isDarkMode: r } }) => r);
|
|
34440
34437
|
return ct(
|
|
34441
34438
|
() => $$(e ? zr.DARK : zr.LIGHT),
|
|
34442
34439
|
[e]
|
|
34443
34440
|
);
|
|
34444
34441
|
}
|
|
34445
|
-
const
|
|
34442
|
+
const G$ = 2e3;
|
|
34446
34443
|
function H$() {
|
|
34447
34444
|
const e = gr(tu.setSwarm), t = gr(ka.setUi), r = gr(ka.updateCharts), n = gr(ka.updateChartMarkers), i = Ot(({ swarm: f }) => f), a = lr(i.state), [o, s] = ke(!1), { data: u, refetch: l } = rO(), c = i.state === dt.SPAWNING || i.state == dt.RUNNING;
|
|
34448
34445
|
Oe(() => {
|
|
@@ -34486,7 +34483,7 @@ function H$() {
|
|
|
34486
34483
|
workers: _,
|
|
34487
34484
|
userCount: S
|
|
34488
34485
|
}), r(M), e({ state: f, workerCount: b });
|
|
34489
|
-
}, [u]), ru(l,
|
|
34486
|
+
}, [u]), ru(l, G$, {
|
|
34490
34487
|
shouldRunInterval: c
|
|
34491
34488
|
}), Oe(() => {
|
|
34492
34489
|
i.state === dt.RUNNING && a.current === dt.STOPPED && s(!0), a.current = i.state;
|
|
@@ -34503,7 +34500,7 @@ function Y$() {
|
|
|
34503
34500
|
}
|
|
34504
34501
|
function q$({ swarmState: e, tabs: t, extendedTabs: r }) {
|
|
34505
34502
|
H$(), Y$(), BO();
|
|
34506
|
-
const n =
|
|
34503
|
+
const n = W$();
|
|
34507
34504
|
return /* @__PURE__ */ T.jsxs(bA, { theme: n, children: [
|
|
34508
34505
|
/* @__PURE__ */ T.jsx($b, {}),
|
|
34509
34506
|
/* @__PURE__ */ T.jsx(MO, { children: e === dt.READY ? /* @__PURE__ */ T.jsx(pv, {}) : /* @__PURE__ */ T.jsx(j$, { extendedTabs: r, tabs: t }) })
|
|
@@ -34566,7 +34563,7 @@ export {
|
|
|
34566
34563
|
I$ as pushQuery,
|
|
34567
34564
|
Yo as roundToDecimalPlaces,
|
|
34568
34565
|
rn as tabConfig,
|
|
34569
|
-
|
|
34566
|
+
W$ as useCreateTheme,
|
|
34570
34567
|
QO as useFetchExceptions,
|
|
34571
34568
|
H$ as useFetchStats,
|
|
34572
34569
|
T$ as useFetchTasks,
|