From 451bec84a5c29f47b348bc63baad40a83f9df60a Mon Sep 17 00:00:00 2001 From: priyanshu-09 Date: Mon, 2 Sep 2024 16:28:14 +0530 Subject: [PATCH] Added antdTheme as an export, added handleStartChat as an optional callback to Start New Chat --- package-dist/AppThemeProvider.d.ts | 3 +- package-dist/chatScreen/ChatScreenPA.d.ts | 9 +- package-dist/getAntdTheme.d.ts | 4 + package-dist/index.d.ts | 1 + package-dist/ui-gallery.es.js | 7622 ++++++++++---------- package-dist/ui-gallery.umd.js | 292 +- package-dist/useThemeManager.d.ts | 11 +- package.json | 2 +- src/components/AppThemeProvider.tsx | 45 +- src/components/chatScreen/ChatScreenPA.tsx | 68 +- src/components/getAntdTheme.ts | 38 + src/components/index.ts | 2 + 12 files changed, 4054 insertions(+), 4043 deletions(-) create mode 100644 package-dist/getAntdTheme.d.ts create mode 100644 src/components/getAntdTheme.ts diff --git a/package-dist/AppThemeProvider.d.ts b/package-dist/AppThemeProvider.d.ts index 28592f5..4f84d2d 100644 --- a/package-dist/AppThemeProvider.d.ts +++ b/package-dist/AppThemeProvider.d.ts @@ -1,7 +1,7 @@ import { ReactNode } from 'react'; export type AppThemeModeType = "light" | "dark"; -type Theme = { +export type Theme = { "--primary-color": string; "--cta-text": string; "--background": string; @@ -22,4 +22,3 @@ export type AppThemeProviderProps = { appTheme?: Record; }; export default function AppThemeProvider({ children, appTheme, }: AppThemeProviderProps): import("react/jsx-runtime").JSX.Element; -export {}; diff --git a/package-dist/chatScreen/ChatScreenPA.d.ts b/package-dist/chatScreen/ChatScreenPA.d.ts index 8f0370b..e75f1ad 100644 --- a/package-dist/chatScreen/ChatScreenPA.d.ts +++ b/package-dist/chatScreen/ChatScreenPA.d.ts @@ -2,10 +2,10 @@ import { ReactNode } from 'react'; export interface BaseMessage { content: any; - type: 'ai' | 'human'; + type: "ai" | "human"; } export interface CustomMessageComponentProp { - type: 'ai' | 'human'; + type: "ai" | "human"; component: ({ index, messages, handleSendFollowupMessage, }: { messages: T[]; index: number; @@ -18,11 +18,12 @@ export interface ChatScreenPAProps { isMessageLoading: boolean; setMessages: React.Dispatch>; showMessageActionCard?: boolean; - hideActionCardItems?: ('copy' | 'regenerate')[]; + hideActionCardItems?: ("copy" | "regenerate")[]; customMessageComponent?: CustomMessageComponentProp; customMessageActionCardItem?: ReactNode[]; hideNewChatButton?: boolean; emptyChatComponent?: ReactNode; disableScrollNewMessageToTop?: boolean; + handleStartNewChat?: () => void; } -export declare function ChatScreenPA({ messages, handleSendFollowupMessage, isMessageLoading, setMessages, showMessageActionCard, hideActionCardItems, customMessageComponent, customMessageActionCardItem, hideNewChatButton, emptyChatComponent, disableScrollNewMessageToTop }: ChatScreenPAProps): import("react/jsx-runtime").JSX.Element; +export declare function ChatScreenPA({ messages, handleSendFollowupMessage, isMessageLoading, setMessages, showMessageActionCard, hideActionCardItems, customMessageComponent, customMessageActionCardItem, hideNewChatButton, emptyChatComponent, disableScrollNewMessageToTop, handleStartNewChat, }: ChatScreenPAProps): import("react/jsx-runtime").JSX.Element; diff --git a/package-dist/getAntdTheme.d.ts b/package-dist/getAntdTheme.d.ts new file mode 100644 index 0000000..f3bd983 --- /dev/null +++ b/package-dist/getAntdTheme.d.ts @@ -0,0 +1,4 @@ +import { ThemeConfig } from 'antd'; +import { Theme } from './AppThemeProvider'; + +export declare const getAntdTheme: (themeColors: Theme) => ThemeConfig; diff --git a/package-dist/index.d.ts b/package-dist/index.d.ts index 895b7d0..159f50a 100644 --- a/package-dist/index.d.ts +++ b/package-dist/index.d.ts @@ -21,6 +21,7 @@ export { HousewareBranding } from './common/HousewareBranding'; export { ThemeToggle } from './common/ThemeToggle'; export { default as AppThemeProvider } from './AppThemeProvider'; export type { AppThemeProviderProps } from './AppThemeProvider'; +export { getAntdTheme } from './getAntdTheme'; export { useThemeManager } from './useThemeManager'; export { SpotlightGrid } from './welcomeScreen/SpotlightGrid'; export { default as Piechart } from './charts/Piechart/Piechart'; diff --git a/package-dist/ui-gallery.es.js b/package-dist/ui-gallery.es.js index c161651..04a6cb9 100644 --- a/package-dist/ui-gallery.es.js +++ b/package-dist/ui-gallery.es.js @@ -41936,7 +41936,41 @@ function tRe(e, t) { function rRe(e) { return tRe(e, JEe); } -const nRe = { +const nRe = (e) => ({ + token: { + colorPrimary: e["--primary-color"], + colorBgBase: e["--background"], + colorText: e["--primary-text"], + colorTextDescription: e["--secondary-text"], + colorTextHeading: e["--primary-text"], + colorTextSecondary: e["--secondary-text"], + fontFamily: "HousewareFont", + colorLink: e["--primary-color"], + colorBorder: e["--border"], + colorBorderSecondary: e["--border"], + colorSplit: e["--border"] + }, + components: { + Card: { + colorBgContainer: e["--foreground"], + colorBorder: e["--border"] + }, + Input: { + colorTextPlaceholder: e["--secondary-text"] + }, + Button: { + primaryColor: e["--cta-text"], + primaryShadow: "none", + defaultHoverColor: e["--cta-text"] + }, + Layout: { + bodyBg: e["--background"] + }, + Progress: { + defaultColor: e["--primary-color"] + } + } +}), iRe = { light: { "--primary-color": "#49a5aa", // Always keep this in hex format @@ -41986,16 +42020,18 @@ const nRe = { }, DU = eRe( void 0 ); -function Urt({ +function Krt({ children: e, - appTheme: t = nRe + appTheme: t = iRe }) { const r = (localStorage == null ? void 0 : localStorage.getItem("appThemeMode")) || "light", [n, i] = Ie(r), o = t[n]; - return Ht(() => { - Object.entries(o).forEach(([a, s]) => { - typeof s == "string" && document.documentElement.style.setProperty(`${a}`, s); + Ht(() => { + Object.entries(o).forEach(([s, l]) => { + typeof l == "string" && document.documentElement.style.setProperty(`${s}`, l); }); - }, [o]), /* @__PURE__ */ Y.jsx( + }, [o]); + const a = nRe(o); + return /* @__PURE__ */ Y.jsx( DU.Provider, { value: { @@ -42003,57 +42039,17 @@ function Urt({ setAppThemeMode: i, themeColors: o }, - children: /* @__PURE__ */ Y.jsx( - ds, - { - theme: { - token: { - colorPrimary: o["--primary-color"], - colorBgBase: o["--background"], - colorText: o["--primary-text"], - colorTextDescription: o["--secondary-text"], - colorTextHeading: o["--primary-text"], - colorTextSecondary: o["--secondary-text"], - fontFamily: "HousewareFont", - colorLink: o["--primary-color"], - colorBorder: o["--border"], - colorBorderSecondary: o["--border"], - colorSplit: o["--border"] - }, - components: { - Card: { - colorBgContainer: o["--foreground"], - colorBorder: o["--border"] - }, - Input: { - colorTextPlaceholder: o["--secondary-text"] - }, - Button: { - primaryColor: o["--cta-text"], - primaryShadow: "none", - defaultHoverColor: o["--cta-text"] - }, - Layout: { - bodyBg: o["--background"] - }, - Progress: { - defaultColor: o["--primary-color"] - } - } - }, - children: e - } - ) + children: /* @__PURE__ */ Y.jsx(ds, { theme: a, children: e }) } ); } -const iRe = () => { +const oRe = () => { const e = rRe(DU); if (!e) throw new Error("useTheme must be used within a ThemeProvider"); return e; }, Bm = () => { - const { appThemeMode: e, setAppThemeMode: t, themeColors: r } = iRe(); + const { appThemeMode: e, setAppThemeMode: t, themeColors: r } = oRe(); return { currentTheme: e, themeColors: r, @@ -42101,7 +42097,7 @@ const iRe = () => { window.removeEventListener("mousemove", d), window.removeEventListener("resize", h); }; }, [e, o]), /* @__PURE__ */ Y.jsx("div", { style: { position: "absolute", top: 0, left: 0 }, children: /* @__PURE__ */ Y.jsx("canvas", { ref: r, className: "absolute inset-0" }) }); -}, Krt = ({ +}, Zrt = ({ suggestions: e, handleSendMessage: t, heading: r, @@ -42253,7 +42249,7 @@ const iRe = () => { ] } ); -}, oRe = ({ +}, aRe = ({ inputRef: e, userQuery: t, setUserQuery: r, @@ -42424,7 +42420,7 @@ const iRe = () => { ) } ); -}, Zrt = ({ +}, Yrt = ({ handleSendMessage: e, heading: t, subHeading: r, @@ -42483,7 +42479,7 @@ const iRe = () => { } ), /* @__PURE__ */ Y.jsx( - oRe, + aRe, { inputRef: f, userQuery: d, @@ -42504,7 +42500,7 @@ const iRe = () => { } ); }; -function aRe() { +function sRe() { var t; const e = ((t = window == null ? void 0 : window.location) == null ? void 0 : t.hostname) === "localhost" ? "" : `${location.href.replace(location.search, "")}`; return /* @__PURE__ */ Y.jsxs(dt, { style: { width: "90%" }, align: "flex-start", gap: 8, children: [ @@ -42524,22 +42520,22 @@ function aRe() { /* @__PURE__ */ Y.jsx(el, { active: !0 }) ] }); } -function sRe(e, t) { +function lRe(e, t) { const r = {}; return (e[e.length - 1] === "" ? [...e, ""] : e).join( (r.padRight ? " " : "") + "," + (r.padLeft === !1 ? "" : " ") ).trim(); } -const lRe = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, cRe = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, uRe = {}; +const cRe = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, uRe = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, dRe = {}; function V4(e, t) { - return (uRe.jsx ? cRe : lRe).test(e); + return (dRe.jsx ? uRe : cRe).test(e); } -const dRe = /[ \t\n\f\r]/g; -function hRe(e) { +const hRe = /[ \t\n\f\r]/g; +function fRe(e) { return typeof e == "object" ? e.type === "text" ? B4(e.value) : !1 : B4(e); } function B4(e) { - return e.replace(dRe, "") === ""; + return e.replace(hRe, "") === ""; } class Hm { /** @@ -42585,10 +42581,10 @@ Ma.prototype.spaceSeparated = !1; Ma.prototype.commaOrSpaceSeparated = !1; Ma.prototype.mustUseProperty = !1; Ma.prototype.defined = !1; -let fRe = 0; +let pRe = 0; const fr = jd(), Zn = jd(), OU = jd(), ot = jd(), vn = jd(), pf = jd(), Ao = jd(); function jd() { - return 2 ** ++fRe; + return 2 ** ++pRe; } const JP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, @@ -42621,12 +42617,12 @@ iI.prototype.defined = !0; function H4(e, t, r) { r && (e[t] = r); } -const pRe = {}.hasOwnProperty; +const gRe = {}.hasOwnProperty; function sp(e) { const t = {}, r = {}; let n; for (n in e.properties) - if (pRe.call(e.properties, n)) { + if (gRe.call(e.properties, n)) { const i = e.properties[n], o = new iI( n, e.transform(e.attributes || {}, n), @@ -42724,7 +42720,7 @@ const $U = sp({ ariaValueText: null, role: null } -}), gRe = sp({ +}), vRe = sp({ space: "html", attributes: { acceptcharset: "accept-charset", @@ -43085,7 +43081,7 @@ const $U = sp({ security: null, unselectable: null } -}), vRe = sp({ +}), mRe = sp({ space: "svg", attributes: { accentHeight: "accent-height", @@ -43644,20 +43640,20 @@ const $U = sp({ z: null, zoomAndPan: null } -}), mRe = /^data[-\w.:]+$/i, z4 = /-[a-z]/g, yRe = /[A-Z]/g; -function CRe(e, t) { +}), yRe = /^data[-\w.:]+$/i, z4 = /-[a-z]/g, CRe = /[A-Z]/g; +function bRe(e, t) { const r = QP(t); let n = t, i = Ma; if (r in e.normal) return e.property[e.normal[r]]; - if (r.length > 4 && r.slice(0, 4) === "data" && mRe.test(t)) { + if (r.length > 4 && r.slice(0, 4) === "data" && yRe.test(t)) { if (t.charAt(4) === "-") { - const o = t.slice(5).replace(z4, SRe); + const o = t.slice(5).replace(z4, wRe); n = "data" + o.charAt(0).toUpperCase() + o.slice(1); } else { const o = t.slice(4); if (!z4.test(o)) { - let a = o.replace(yRe, bRe); + let a = o.replace(CRe, SRe); a.charAt(0) !== "-" && (a = "-" + a), t = "data" + a; } } @@ -43665,13 +43661,13 @@ function CRe(e, t) { } return new i(n, t); } -function bRe(e) { +function SRe(e) { return "-" + e.toLowerCase(); } -function SRe(e) { +function wRe(e) { return e.charAt(1).toUpperCase(); } -const wRe = { +const xRe = { classId: "classID", dataType: "datatype", itemId: "itemID", @@ -43689,21 +43685,21 @@ const wRe = { xLinkTitle: "xlinkTitle", xLinkType: "xlinkType", xmlnsXLink: "xmlnsXlink" -}, xRe = AU([FU, LU, $U, VU, gRe], "html"), oI = AU([FU, LU, $U, VU, vRe], "svg"); -function ERe(e) { +}, ERe = AU([FU, LU, $U, VU, vRe], "html"), oI = AU([FU, LU, $U, VU, mRe], "svg"); +function RRe(e) { return e.join(" ").trim(); } -var BU = {}, G4 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, RRe = /\n/g, PRe = /^\s*/, TRe = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, _Re = /^:\s*/, MRe = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, DRe = /^[;\s]*/, IRe = /^\s+|\s+$/g, ARe = ` -`, W4 = "/", j4 = "*", zu = "", ORe = "comment", LRe = "declaration", FRe = function(e, t) { +var BU = {}, G4 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, PRe = /\n/g, TRe = /^\s*/, _Re = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, MRe = /^:\s*/, DRe = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, IRe = /^[;\s]*/, ARe = /^\s+|\s+$/g, ORe = ` +`, W4 = "/", j4 = "*", zu = "", LRe = "comment", FRe = "declaration", NRe = function(e, t) { if (typeof e != "string") throw new TypeError("First argument must be a string"); if (!e) return []; t = t || {}; var r = 1, n = 1; function i(p) { - var g = p.match(RRe); + var g = p.match(PRe); g && (r += g.length); - var v = p.lastIndexOf(ARe); + var v = p.lastIndexOf(ORe); n = ~v ? p.length - v : n + p.length; } function o() { @@ -43730,7 +43726,7 @@ var BU = {}, G4 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, RRe = /\n/g, PRe = /^\s*/, } } function c() { - l(PRe); + l(TRe); } function u(p) { var g; @@ -43747,21 +43743,21 @@ var BU = {}, G4 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, RRe = /\n/g, PRe = /^\s*/, return s("End of comment missing"); var v = e.slice(2, g - 2); return n += 2, i(v), e = e.slice(g), n += 2, p({ - type: ORe, + type: LRe, comment: v }); } } function h() { - var p = o(), g = l(TRe); + var p = o(), g = l(_Re); if (g) { - if (d(), !l(_Re)) return s("property missing ':'"); - var v = l(MRe), m = p({ - type: LRe, + if (d(), !l(MRe)) return s("property missing ':'"); + var v = l(DRe), m = p({ + type: FRe, property: U4(g[0].replace(G4, zu)), value: v ? U4(v[0].replace(G4, zu)) : zu }); - return l(DRe), m; + return l(IRe), m; } } function f() { @@ -43774,18 +43770,18 @@ var BU = {}, G4 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, RRe = /\n/g, PRe = /^\s*/, return c(), f(); }; function U4(e) { - return e ? e.replace(IRe, zu) : zu; + return e ? e.replace(ARe, zu) : zu; } -var NRe = GC && GC.__importDefault || function(e) { +var kRe = GC && GC.__importDefault || function(e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(BU, "__esModule", { value: !0 }); -var kRe = NRe(FRe); -function $Re(e, t) { +var $Re = kRe(NRe); +function VRe(e, t) { var r = null; if (!e || typeof e != "string") return r; - var n = (0, kRe.default)(e), i = typeof t == "function"; + var n = (0, $Re.default)(e), i = typeof t == "function"; return n.forEach(function(o) { if (o.type === "declaration") { var a = o.property, s = o.value; @@ -43793,8 +43789,8 @@ function $Re(e, t) { } }), r; } -var K4 = BU.default = $Re; -const VRe = K4.default || K4, HU = zU("end"), aI = zU("start"); +var K4 = BU.default = VRe; +const BRe = K4.default || K4, HU = zU("end"), aI = zU("start"); function zU(e) { return t; function t(r) { @@ -43807,7 +43803,7 @@ function zU(e) { }; } } -function BRe(e) { +function HRe(e) { const t = aI(e), r = HU(e); if (t && r) return { start: t, end: r }; @@ -43911,8 +43907,8 @@ Hi.prototype.fatal = void 0; Hi.prototype.place = void 0; Hi.prototype.ruleId = void 0; Hi.prototype.source = void 0; -const sI = {}.hasOwnProperty, HRe = /* @__PURE__ */ new Map(), zRe = /[A-Z]/g, GRe = /-([a-z])/g, WRe = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), jRe = /* @__PURE__ */ new Set(["td", "th"]), GU = "https://github.com/syntax-tree/hast-util-to-jsx-runtime"; -function URe(e, t) { +const sI = {}.hasOwnProperty, zRe = /* @__PURE__ */ new Map(), GRe = /[A-Z]/g, WRe = /-([a-z])/g, jRe = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), URe = /* @__PURE__ */ new Set(["td", "th"]), GU = "https://github.com/syntax-tree/hast-util-to-jsx-runtime"; +function KRe(e, t) { if (!t || t.Fragment === void 0) throw new TypeError("Expected `Fragment` in options"); const r = t.filePath || void 0; @@ -43922,13 +43918,13 @@ function URe(e, t) { throw new TypeError( "Expected `jsxDEV` in options when `development: true`" ); - n = e2e(r, t.jsxDEV); + n = t2e(r, t.jsxDEV); } else { if (typeof t.jsx != "function") throw new TypeError("Expected `jsx` in production options"); if (typeof t.jsxs != "function") throw new TypeError("Expected `jsxs` in production options"); - n = JRe(r, t.jsx, t.jsxs); + n = e2e(r, t.jsx, t.jsxs); } const i = { Fragment: t.Fragment, @@ -43941,7 +43937,7 @@ function URe(e, t) { ignoreInvalidStyle: t.ignoreInvalidStyle || !1, passKeys: t.passKeys !== !1, passNode: t.passNode || !1, - schema: t.space === "svg" ? oI : xRe, + schema: t.space === "svg" ? oI : ERe, stylePropertyNameCase: t.stylePropertyNameCase || "dom", tableCellAlignToStyle: t.tableCellAlignToStyle !== !1 }, o = WU(i, e, void 0); @@ -43954,29 +43950,29 @@ function URe(e, t) { } function WU(e, t, r) { if (t.type === "element") - return KRe(e, t, r); + return ZRe(e, t, r); if (t.type === "mdxFlowExpression" || t.type === "mdxTextExpression") - return ZRe(e, t); + return YRe(e, t); if (t.type === "mdxJsxFlowElement" || t.type === "mdxJsxTextElement") - return qRe(e, t, r); + return XRe(e, t, r); if (t.type === "mdxjsEsm") - return YRe(e, t); + return qRe(e, t); if (t.type === "root") - return XRe(e, t, r); + return QRe(e, t, r); if (t.type === "text") - return QRe(e, t); + return JRe(e, t); } -function KRe(e, t, r) { +function ZRe(e, t, r) { const n = e.schema; let i = n; t.tagName.toLowerCase() === "svg" && n.space === "html" && (i = oI, e.schema = i), e.ancestors.push(t); - const o = UU(e, t.tagName, !1), a = t2e(e, t); + const o = UU(e, t.tagName, !1), a = r2e(e, t); let s = cI(e, t); - return WRe.has(t.tagName) && (s = s.filter(function(l) { - return typeof l == "string" ? !hRe(l) : !0; + return jRe.has(t.tagName) && (s = s.filter(function(l) { + return typeof l == "string" ? !fRe(l) : !0; })), jU(e, a, o, t), lI(a, s), e.ancestors.pop(), e.schema = n, e.create(t, o, a, r); } -function ZRe(e, t) { +function YRe(e, t) { if (t.data && t.data.estree && e.evaluater) { const n = t.data.estree.body[0]; return n.type, /** @type {Child | undefined} */ @@ -43984,7 +43980,7 @@ function ZRe(e, t) { } Fv(e, t.position); } -function YRe(e, t) { +function qRe(e, t) { if (t.data && t.data.estree && e.evaluater) return ( /** @type {Child | undefined} */ @@ -43992,18 +43988,18 @@ function YRe(e, t) { ); Fv(e, t.position); } -function qRe(e, t, r) { +function XRe(e, t, r) { const n = e.schema; let i = n; t.name === "svg" && n.space === "html" && (i = oI, e.schema = i), e.ancestors.push(t); - const o = t.name === null ? e.Fragment : UU(e, t.name, !0), a = r2e(e, t), s = cI(e, t); + const o = t.name === null ? e.Fragment : UU(e, t.name, !0), a = n2e(e, t), s = cI(e, t); return jU(e, a, o, t), lI(a, s), e.ancestors.pop(), e.schema = n, e.create(t, o, a, r); } -function XRe(e, t, r) { +function QRe(e, t, r) { const n = {}; return lI(n, cI(e, t)), e.create(t, e.Fragment, n, r); } -function QRe(e, t) { +function JRe(e, t) { return t.value; } function jU(e, t, r, n) { @@ -44015,14 +44011,14 @@ function lI(e, t) { r && (e.children = r); } } -function JRe(e, t, r) { +function e2e(e, t, r) { return n; function n(i, o, a, s) { const c = Array.isArray(a.children) ? r : t; return s ? c(o, a, s) : c(o, a); } } -function e2e(e, t) { +function t2e(e, t) { return r; function r(n, i, o, a) { const s = Array.isArray(o.children), l = aI(n); @@ -44040,15 +44036,15 @@ function e2e(e, t) { ); } } -function t2e(e, t) { +function r2e(e, t) { const r = {}; let n, i; for (i in t.properties) if (i !== "children" && sI.call(t.properties, i)) { - const o = n2e(e, i, t.properties[i]); + const o = i2e(e, i, t.properties[i]); if (o) { const [a, s] = o; - e.tableCellAlignToStyle && a === "align" && typeof s == "string" && jRe.has(t.tagName) ? n = s : r[a] = s; + e.tableCellAlignToStyle && a === "align" && typeof s == "string" && URe.has(t.tagName) ? n = s : r[a] = s; } } if (n) { @@ -44060,7 +44056,7 @@ function t2e(e, t) { } return r; } -function r2e(e, t) { +function n2e(e, t) { const r = {}; for (const n of t.attributes) if (n.type === "mdxJsxExpressionAttribute") @@ -44095,7 +44091,7 @@ function r2e(e, t) { function cI(e, t) { const r = []; let n = -1; - const i = e.passKeys ? /* @__PURE__ */ new Map() : HRe; + const i = e.passKeys ? /* @__PURE__ */ new Map() : zRe; for (; ++n < t.children.length; ) { const o = t.children[n]; let a; @@ -44111,23 +44107,23 @@ function cI(e, t) { } return r; } -function n2e(e, t, r) { - const n = CRe(e.schema, t); +function i2e(e, t, r) { + const n = bRe(e.schema, t); if (!(r == null || typeof r == "number" && Number.isNaN(r))) { - if (Array.isArray(r) && (r = n.commaSeparated ? sRe(r) : ERe(r)), n.property === "style") { - let i = typeof r == "object" ? r : i2e(e, String(r)); - return e.stylePropertyNameCase === "css" && (i = o2e(i)), ["style", i]; + if (Array.isArray(r) && (r = n.commaSeparated ? lRe(r) : RRe(r)), n.property === "style") { + let i = typeof r == "object" ? r : o2e(e, String(r)); + return e.stylePropertyNameCase === "css" && (i = a2e(i)), ["style", i]; } return [ - e.elementAttributeNameCase === "react" && n.space ? wRe[n.property] || n.property : n.attribute, + e.elementAttributeNameCase === "react" && n.space ? xRe[n.property] || n.property : n.attribute, r ]; } } -function i2e(e, t) { +function o2e(e, t) { const r = {}; try { - VRe(t, n); + BRe(t, n); } catch (i) { if (!e.ignoreInvalidStyle) { const o = ( @@ -44145,7 +44141,7 @@ function i2e(e, t) { return r; function n(i, o) { let a = i; - a.slice(0, 2) !== "--" && (a.slice(0, 4) === "-ms-" && (a = "ms-" + a.slice(4)), a = a.replace(GRe, s2e)), r[a] = o; + a.slice(0, 2) !== "--" && (a.slice(0, 4) === "-ms-" && (a = "ms-" + a.slice(4)), a = a.replace(WRe, l2e)), r[a] = o; } } function UU(e, t, r) { @@ -44191,21 +44187,21 @@ function Fv(e, t) { ); throw r.file = e.filePath || void 0, r.url = GU + "#cannot-handle-mdx-estrees-without-createevaluater", r; } -function o2e(e) { +function a2e(e) { const t = {}; let r; for (r in e) - sI.call(e, r) && (t[a2e(r)] = e[r]); + sI.call(e, r) && (t[s2e(r)] = e[r]); return t; } -function a2e(e) { - let t = e.replace(zRe, l2e); +function s2e(e) { + let t = e.replace(GRe, c2e); return t.slice(0, 3) === "ms-" && (t = "-" + t), t; } -function s2e(e, t) { +function l2e(e, t) { return t.toUpperCase(); } -function l2e(e) { +function c2e(e) { return "-" + e.toLowerCase(); } const vx = { @@ -44230,13 +44226,13 @@ const vx = { "track", "video" ] -}, c2e = {}; -function u2e(e, t) { - const r = c2e, n = typeof r.includeImageAlt == "boolean" ? r.includeImageAlt : !0, i = typeof r.includeHtml == "boolean" ? r.includeHtml : !0; +}, u2e = {}; +function d2e(e, t) { + const r = u2e, n = typeof r.includeImageAlt == "boolean" ? r.includeImageAlt : !0, i = typeof r.includeHtml == "boolean" ? r.includeHtml : !0; return KU(e, n, i); } function KU(e, t, r) { - if (d2e(e)) { + if (h2e(e)) { if ("value" in e) return e.type === "html" && !r ? "" : e.value; if (t && "alt" in e && e.alt) @@ -44253,7 +44249,7 @@ function q4(e, t, r) { n[i] = KU(e[i], t, r); return n.join(""); } -function d2e(e) { +function h2e(e) { return !!(e && typeof e == "object"); } const X4 = document.createElement("i"); @@ -44276,14 +44272,14 @@ function da(e, t) { return e.length > 0 ? (Bl(e, e.length, 0, t), e) : t; } const Q4 = {}.hasOwnProperty; -function h2e(e) { +function f2e(e) { const t = {}; let r = -1; for (; ++r < e.length; ) - f2e(t, e[r]); + p2e(t, e[r]); return t; } -function f2e(e, t) { +function p2e(e, t) { let r; for (r in t) { const i = (Q4.call(e, r) ? e[r] : void 0) || (e[r] = {}), o = t[r]; @@ -44292,7 +44288,7 @@ function f2e(e, t) { for (a in o) { Q4.call(i, a) || (i[a] = []); const s = o[a]; - p2e( + g2e( // @ts-expect-error Looks like a list. i[a], Array.isArray(s) ? s : s ? [s] : [] @@ -44300,7 +44296,7 @@ function f2e(e, t) { } } } -function p2e(e, t) { +function g2e(e, t) { let r = -1; const n = []; for (; ++r < t.length; ) @@ -44323,7 +44319,7 @@ function ZU(e, t) { function gf(e) { return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase(); } -const Ms = Qc(/[A-Za-z]/), Vo = Qc(/[\dA-Za-z]/), g2e = Qc(/[#-'*+\--9=?A-Z^-~]/); +const Ms = Qc(/[A-Za-z]/), Vo = Qc(/[\dA-Za-z]/), v2e = Qc(/[#-'*+\--9=?A-Z^-~]/); function tT(e) { return ( // Special whitespace codes (which have negative values), C0 and Control @@ -44331,7 +44327,7 @@ function tT(e) { e !== null && (e < 32 || e === 127) ); } -const rT = Qc(/\d/), v2e = Qc(/[\dA-Fa-f]/), m2e = Qc(/[!-/:-@[-`{-~]/); +const rT = Qc(/\d/), m2e = Qc(/[\dA-Fa-f]/), y2e = Qc(/[!-/:-@[-`{-~]/); function ir(e) { return e !== null && e < -2; } @@ -44341,7 +44337,7 @@ function So(e) { function Zr(e) { return e === -2 || e === -1 || e === 32; } -const y2e = Qc(new RegExp("\\p{P}|\\p{S}", "u")), C2e = Qc(/\s/); +const C2e = Qc(new RegExp("\\p{P}|\\p{S}", "u")), b2e = Qc(/\s/); function Qc(e) { return t; function t(r) { @@ -44378,10 +44374,10 @@ function mn(e, t, r, n) { return Zr(l) && o++ < i ? (e.consume(l), s) : (e.exit(r), t(l)); } } -const b2e = { - tokenize: S2e +const S2e = { + tokenize: w2e }; -function S2e(e) { +function w2e(e) { const t = e.attempt( this.parser.constructs.contentInitial, n, @@ -44414,12 +44410,12 @@ function S2e(e) { return ir(s) ? (e.consume(s), e.exit("chunkText"), o) : (e.consume(s), a); } } -const w2e = { - tokenize: x2e -}, J4 = { +const x2e = { tokenize: E2e +}, J4 = { + tokenize: R2e }; -function x2e(e) { +function E2e(e) { const t = this, r = []; let n = 0, i, o, a; return s; @@ -44549,7 +44545,7 @@ function x2e(e) { i.write([null]), o = void 0, i = void 0, t.containerState._closeFlow = void 0; } } -function E2e(e, t, r) { +function R2e(e, t, r) { return mn( e, e.attempt(this.parser.constructs.document, t, r), @@ -44558,9 +44554,9 @@ function E2e(e, t, r) { ); } function e$(e) { - if (e === null || So(e) || C2e(e)) + if (e === null || So(e) || b2e(e)) return 1; - if (y2e(e)) + if (C2e(e)) return 2; } function dI(e, t, r) { @@ -44574,10 +44570,10 @@ function dI(e, t, r) { } const nT = { name: "attention", - tokenize: P2e, - resolveAll: R2e + tokenize: T2e, + resolveAll: P2e }; -function R2e(e, t) { +function P2e(e, t) { let r = -1, n, i, o, a, s, l, c, u; for (; ++r < e.length; ) if (e[r][0] === "enter" && e[r][1].type === "attentionSequence" && e[r][1]._close) { @@ -44612,7 +44608,7 @@ function R2e(e, t) { e[r][1].type === "attentionSequence" && (e[r][1].type = "data"); return e; } -function P2e(e, t) { +function T2e(e, t) { const r = this.parser.constructs.attentionMarkers.null, n = this.previous, i = e$(n); let o; return a; @@ -44629,11 +44625,11 @@ function P2e(e, t) { function t$(e, t) { e.column += t, e.offset += t, e._bufferIndex += t; } -const T2e = { +const _2e = { name: "autolink", - tokenize: _2e + tokenize: M2e }; -function _2e(e, t, r) { +function M2e(e, t, r) { let n = 0; return i; function i(f) { @@ -44652,7 +44648,7 @@ function _2e(e, t, r) { return f === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.exit("autolink"), t) : f === null || f === 32 || f === 60 || tT(f) ? r(f) : (e.consume(f), l); } function c(f) { - return f === 64 ? (e.consume(f), u) : g2e(f) ? (e.consume(f), c) : r(f); + return f === 64 ? (e.consume(f), u) : v2e(f) ? (e.consume(f), c) : r(f); } function u(f) { return Vo(f) ? d(f) : r(f); @@ -44669,10 +44665,10 @@ function _2e(e, t, r) { } } const p1 = { - tokenize: M2e, + tokenize: D2e, partial: !0 }; -function M2e(e, t, r) { +function D2e(e, t, r) { return n; function n(o) { return Zr(o) ? mn(e, i, "linePrefix")(o) : i(o); @@ -44683,13 +44679,13 @@ function M2e(e, t, r) { } const YU = { name: "blockQuote", - tokenize: D2e, + tokenize: I2e, continuation: { - tokenize: I2e + tokenize: A2e }, - exit: A2e + exit: O2e }; -function D2e(e, t, r) { +function I2e(e, t, r) { const n = this; return i; function i(a) { @@ -44705,7 +44701,7 @@ function D2e(e, t, r) { return Zr(a) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(a), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(a)); } } -function I2e(e, t, r) { +function A2e(e, t, r) { const n = this; return i; function i(a) { @@ -44715,27 +44711,27 @@ function I2e(e, t, r) { return e.attempt(YU, t, r)(a); } } -function A2e(e) { +function O2e(e) { e.exit("blockQuote"); } const qU = { name: "characterEscape", - tokenize: O2e + tokenize: L2e }; -function O2e(e, t, r) { +function L2e(e, t, r) { return n; function n(o) { return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(o), e.exit("escapeMarker"), i; } function i(o) { - return m2e(o) ? (e.enter("characterEscapeValue"), e.consume(o), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : r(o); + return y2e(o) ? (e.enter("characterEscapeValue"), e.consume(o), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : r(o); } } const XU = { name: "characterReference", - tokenize: L2e + tokenize: F2e }; -function L2e(e, t, r) { +function F2e(e, t, r) { const n = this; let i = 0, o, a; return s; @@ -44746,7 +44742,7 @@ function L2e(e, t, r) { return d === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(d), e.exit("characterReferenceMarkerNumeric"), c) : (e.enter("characterReferenceValue"), o = 31, a = Vo, u(d)); } function c(d) { - return d === 88 || d === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(d), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, a = v2e, u) : (e.enter("characterReferenceValue"), o = 7, a = rT, u(d)); + return d === 88 || d === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(d), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, a = m2e, u) : (e.enter("characterReferenceValue"), o = 7, a = rT, u(d)); } function u(d) { if (d === 59 && i) { @@ -44757,14 +44753,14 @@ function L2e(e, t, r) { } } const r$ = { - tokenize: N2e, + tokenize: k2e, partial: !0 }, n$ = { name: "codeFenced", - tokenize: F2e, + tokenize: N2e, concrete: !0 }; -function F2e(e, t, r) { +function N2e(e, t, r) { const n = this, i = { tokenize: w, partial: !0 @@ -44835,7 +44831,7 @@ function F2e(e, t, r) { } } } -function N2e(e, t, r) { +function k2e(e, t, r) { const n = this; return i; function i(a) { @@ -44847,12 +44843,12 @@ function N2e(e, t, r) { } const mx = { name: "codeIndented", - tokenize: $2e -}, k2e = { - tokenize: V2e, + tokenize: V2e +}, $2e = { + tokenize: B2e, partial: !0 }; -function $2e(e, t, r) { +function V2e(e, t, r) { const n = this; return i; function i(c) { @@ -44863,7 +44859,7 @@ function $2e(e, t, r) { return u && u[1].type === "linePrefix" && u[2].sliceSerialize(u[1], !0).length >= 4 ? a(c) : r(c); } function a(c) { - return c === null ? l(c) : ir(c) ? e.attempt(k2e, a, l)(c) : (e.enter("codeFlowValue"), s(c)); + return c === null ? l(c) : ir(c) ? e.attempt($2e, a, l)(c) : (e.enter("codeFlowValue"), s(c)); } function s(c) { return c === null || ir(c) ? (e.exit("codeFlowValue"), a(c)) : (e.consume(c), s); @@ -44872,7 +44868,7 @@ function $2e(e, t, r) { return e.exit("codeIndented"), t(c); } } -function V2e(e, t, r) { +function B2e(e, t, r) { const n = this; return i; function i(a) { @@ -44883,13 +44879,13 @@ function V2e(e, t, r) { return s && s[1].type === "linePrefix" && s[2].sliceSerialize(s[1], !0).length >= 4 ? t(a) : ir(a) ? i(a) : r(a); } } -const B2e = { +const H2e = { name: "codeText", - tokenize: G2e, - resolve: H2e, - previous: z2e + tokenize: W2e, + resolve: z2e, + previous: G2e }; -function H2e(e) { +function z2e(e) { let t = e.length - 4, r = 3, n, i; if ((e[r][1].type === "lineEnding" || e[r][1].type === "space") && (e[t][1].type === "lineEnding" || e[t][1].type === "space")) { for (n = r; ++n < t; ) @@ -44902,10 +44898,10 @@ function H2e(e) { i === void 0 ? n !== t && e[n][1].type !== "lineEnding" && (i = n) : (n === t || e[n][1].type === "lineEnding") && (e[i][1].type = "codeTextData", n !== i + 2 && (e[i][1].end = e[n - 1][1].end, e.splice(i + 2, n - i - 2), t -= n - i - 2, n = i + 2), i = void 0); return e; } -function z2e(e) { +function G2e(e) { return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape"; } -function G2e(e, t, r) { +function W2e(e, t, r) { let n = 0, i, o; return a; function a(d) { @@ -44924,7 +44920,7 @@ function G2e(e, t, r) { return d === 96 ? (e.consume(d), i++, u) : i === n ? (e.exit("codeTextSequence"), e.exit("codeText"), t(d)) : (o.type = "codeTextData", c(d)); } } -class W2e { +class j2e { /** * @param {ReadonlyArray | null | undefined} [initial] * Initial items (optional). @@ -45099,7 +45095,7 @@ function Bp(e, t) { function QU(e) { const t = {}; let r = -1, n, i, o, a, s, l, c; - const u = new W2e(e); + const u = new j2e(e); for (; ++r < u.length; ) { for (; r in t; ) r = t[r]; @@ -45107,7 +45103,7 @@ function QU(e) { for (; ++o < l.length && l[o][1].type !== "content"; ) l[o][1].type === "chunkText" && (l[o][1]._isInFirstContentOfListItem = !0, o++); if (n[0] === "enter") - n[1].contentType && (Object.assign(t, j2e(u, r)), r = t[r], c = !0); + n[1].contentType && (Object.assign(t, U2e(u, r)), r = t[r], c = !0); else if (n[1]._container) { for (o = r, i = void 0; o-- && (a = u.get(o), a[1].type === "lineEnding" || a[1].type === "lineEndingBlank"); ) a[0] === "enter" && (i && (u.get(i)[1].type = "lineEndingBlank"), a[1].type = "lineEnding", i = o); @@ -45116,7 +45112,7 @@ function QU(e) { } return Bl(e, 0, Number.POSITIVE_INFINITY, u.slice(0)), !c; } -function j2e(e, t) { +function U2e(e, t) { const r = e.get(t)[1], n = e.get(t)[2]; let i = t - 1; const o = [], a = r._tokenizer || n.parser[r.contentType](r.start), s = a.events, l = [], c = {}; @@ -45138,17 +45134,17 @@ function j2e(e, t) { c[p + l[h][0]] = p + l[h][1], p += l[h][1] - l[h][0] - 1; return c; } -const U2e = { - tokenize: Y2e, - resolve: Z2e -}, K2e = { +const K2e = { tokenize: q2e, + resolve: Y2e +}, Z2e = { + tokenize: X2e, partial: !0 }; -function Z2e(e) { +function Y2e(e) { return QU(e), e; } -function Y2e(e, t) { +function q2e(e, t) { let r; return n; function n(s) { @@ -45157,7 +45153,7 @@ function Y2e(e, t) { }), i(s); } function i(s) { - return s === null ? o(s) : ir(s) ? e.check(K2e, a, o)(s) : (e.consume(s), i); + return s === null ? o(s) : ir(s) ? e.check(Z2e, a, o)(s) : (e.consume(s), i); } function o(s) { return e.exit("chunkContent"), e.exit("content"), t(s); @@ -45169,7 +45165,7 @@ function Y2e(e, t) { }), r = r.next, i; } } -function q2e(e, t, r) { +function X2e(e, t, r) { const n = this; return i; function i(a) { @@ -45265,14 +45261,14 @@ function Zg(e, t) { )(i) : t(i); } } -const X2e = { +const Q2e = { name: "definition", - tokenize: J2e -}, Q2e = { - tokenize: ePe, + tokenize: ePe +}, J2e = { + tokenize: tPe, partial: !0 }; -function J2e(e, t, r) { +function ePe(e, t, r) { const n = this; let i; return o; @@ -45311,7 +45307,7 @@ function J2e(e, t, r) { )(f); } function u(f) { - return e.attempt(Q2e, d, d)(f); + return e.attempt(J2e, d, d)(f); } function d(f) { return Zr(f) ? mn(e, h, "whitespace")(f) : h(f); @@ -45320,7 +45316,7 @@ function J2e(e, t, r) { return f === null || ir(f) ? (e.exit("definition"), n.parser.defined.push(i), t(f)) : r(f); } } -function ePe(e, t, r) { +function tPe(e, t, r) { return n; function n(s) { return So(s) ? Zg(e, i)(s) : r(s); @@ -45335,11 +45331,11 @@ function ePe(e, t, r) { return s === null || ir(s) ? t(s) : r(s); } } -const tPe = { +const rPe = { name: "hardBreakEscape", - tokenize: rPe + tokenize: nPe }; -function rPe(e, t, r) { +function nPe(e, t, r) { return n; function n(o) { return e.enter("hardBreakEscape"), e.consume(o), i; @@ -45348,12 +45344,12 @@ function rPe(e, t, r) { return ir(o) ? (e.exit("hardBreakEscape"), t(o)) : r(o); } } -const nPe = { +const iPe = { name: "headingAtx", - tokenize: oPe, - resolve: iPe + tokenize: aPe, + resolve: oPe }; -function iPe(e, t) { +function oPe(e, t) { let r = e.length - 2, n = 3, i, o; return e[n][1].type === "whitespace" && (n += 2), r - 2 > n && e[r][1].type === "whitespace" && (r -= 2), e[r][1].type === "atxHeadingSequence" && (n === r - 1 || r - 4 > n && e[r - 2][1].type === "whitespace") && (r -= n + 1 === r ? 2 : 4), r > n && (i = { type: "atxHeadingText", @@ -45366,7 +45362,7 @@ function iPe(e, t) { contentType: "text" }, Bl(e, n, r - n + 1, [["enter", i, t], ["enter", o, t], ["exit", o, t], ["exit", i, t]])), e; } -function oPe(e, t, r) { +function aPe(e, t, r) { let n = 0; return i; function i(u) { @@ -45388,7 +45384,7 @@ function oPe(e, t, r) { return u === null || u === 35 || So(u) ? (e.exit("atxHeadingText"), s(u)) : (e.consume(u), c); } } -const aPe = [ +const sPe = [ "address", "article", "aside", @@ -45451,25 +45447,25 @@ const aPe = [ "tr", "track", "ul" -], i$ = ["pre", "script", "style", "textarea"], sPe = { +], i$ = ["pre", "script", "style", "textarea"], lPe = { name: "htmlFlow", - tokenize: dPe, - resolveTo: uPe, + tokenize: hPe, + resolveTo: dPe, concrete: !0 -}, lPe = { - tokenize: fPe, - partial: !0 }, cPe = { - tokenize: hPe, + tokenize: pPe, + partial: !0 +}, uPe = { + tokenize: fPe, partial: !0 }; -function uPe(e) { +function dPe(e) { let t = e.length; for (; t-- && !(e[t][0] === "enter" && e[t][1].type === "htmlFlow"); ) ; return t > 1 && e[t - 2][1].type === "linePrefix" && (e[t][1].start = e[t - 2][1].start, e[t + 1][1].start = e[t - 2][1].start, e.splice(t - 2, 2)), e; } -function dPe(e, t, r) { +function hPe(e, t, r) { const n = this; let i, o, a, s, l; return c; @@ -45498,7 +45494,7 @@ function dPe(e, t, r) { function v(V) { if (V === null || V === 47 || V === 62 || So(V)) { const W = V === 47, j = a.toLowerCase(); - return !W && !o && i$.includes(j) ? (i = 1, n.interrupt ? t(V) : D(V)) : aPe.includes(a.toLowerCase()) ? (i = 6, W ? (e.consume(V), m) : n.interrupt ? t(V) : D(V)) : (i = 7, n.interrupt && !n.parser.lazy[n.now().line] ? r(V) : o ? y(V) : C(V)); + return !W && !o && i$.includes(j) ? (i = 1, n.interrupt ? t(V) : D(V)) : sPe.includes(a.toLowerCase()) ? (i = 6, W ? (e.consume(V), m) : n.interrupt ? t(V) : D(V)) : (i = 7, n.interrupt && !n.parser.lazy[n.now().line] ? r(V) : o ? y(V) : C(V)); } return V === 45 || Vo(V) ? (e.consume(V), a += String.fromCharCode(V), v) : r(V); } @@ -45536,10 +45532,10 @@ function dPe(e, t, r) { return V === null || ir(V) ? D(V) : Zr(V) ? (e.consume(V), _) : r(V); } function D(V) { - return V === 45 && i === 2 ? (e.consume(V), F) : V === 60 && i === 1 ? (e.consume(V), k) : V === 62 && i === 4 ? (e.consume(V), B) : V === 63 && i === 3 ? (e.consume(V), I) : V === 93 && i === 5 ? (e.consume(V), $) : ir(V) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(lPe, H, A)(V)) : V === null || ir(V) ? (e.exit("htmlFlowData"), A(V)) : (e.consume(V), D); + return V === 45 && i === 2 ? (e.consume(V), F) : V === 60 && i === 1 ? (e.consume(V), k) : V === 62 && i === 4 ? (e.consume(V), B) : V === 63 && i === 3 ? (e.consume(V), I) : V === 93 && i === 5 ? (e.consume(V), $) : ir(V) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(cPe, H, A)(V)) : V === null || ir(V) ? (e.exit("htmlFlowData"), A(V)) : (e.consume(V), D); } function A(V) { - return e.check(cPe, M, H)(V); + return e.check(uPe, M, H)(V); } function M(V) { return e.enter("lineEnding"), e.consume(V), e.exit("lineEnding"), O; @@ -45573,7 +45569,7 @@ function dPe(e, t, r) { return e.exit("htmlFlow"), t(V); } } -function hPe(e, t, r) { +function fPe(e, t, r) { const n = this; return i; function i(a) { @@ -45583,17 +45579,17 @@ function hPe(e, t, r) { return n.parser.lazy[n.now().line] ? r(a) : t(a); } } -function fPe(e, t, r) { +function pPe(e, t, r) { return n; function n(i) { return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), e.attempt(p1, t, r); } } -const pPe = { +const gPe = { name: "htmlText", - tokenize: gPe + tokenize: vPe }; -function gPe(e, t, r) { +function vPe(e, t, r) { const n = this; let i, o, a; return s; @@ -45688,17 +45684,17 @@ function gPe(e, t, r) { } const hI = { name: "labelEnd", - tokenize: SPe, - resolveTo: bPe, - resolveAll: CPe -}, vPe = { - tokenize: wPe + tokenize: wPe, + resolveTo: SPe, + resolveAll: bPe }, mPe = { tokenize: xPe }, yPe = { tokenize: EPe +}, CPe = { + tokenize: RPe }; -function CPe(e) { +function bPe(e) { let t = -1; for (; ++t < e.length; ) { const r = e[t][1]; @@ -45706,7 +45702,7 @@ function CPe(e) { } return e; } -function bPe(e, t) { +function SPe(e, t) { let r = e.length, n = 0, i, o, a, s; for (; r--; ) if (i = e[r][1], o) { @@ -45734,7 +45730,7 @@ function bPe(e, t) { }; return s = [["enter", l, t], ["enter", c, t]], s = da(s, e.slice(o + 1, o + n + 3)), s = da(s, [["enter", u, t]]), s = da(s, dI(t.parser.constructs.insideSpan.null, e.slice(o + n + 4, a - 3), t)), s = da(s, [["exit", u, t], e[a - 2], e[a - 1], ["exit", c, t]]), s = da(s, e.slice(a + 1)), s = da(s, [["exit", l, t]]), Bl(e, o, e.length, s), e; } -function SPe(e, t, r) { +function wPe(e, t, r) { const n = this; let i = n.events.length, o, a; for (; i--; ) @@ -45750,10 +45746,10 @@ function SPe(e, t, r) { }))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(h), e.exit("labelMarker"), e.exit("labelEnd"), l) : r(h); } function l(h) { - return h === 40 ? e.attempt(vPe, u, a ? u : d)(h) : h === 91 ? e.attempt(mPe, u, a ? c : d)(h) : a ? u(h) : d(h); + return h === 40 ? e.attempt(mPe, u, a ? u : d)(h) : h === 91 ? e.attempt(yPe, u, a ? c : d)(h) : a ? u(h) : d(h); } function c(h) { - return e.attempt(yPe, u, d)(h); + return e.attempt(CPe, u, d)(h); } function u(h) { return t(h); @@ -45762,7 +45758,7 @@ function SPe(e, t, r) { return o._balanced = !0, r(h); } } -function wPe(e, t, r) { +function xPe(e, t, r) { return n; function n(d) { return e.enter("resource"), e.enter("resourceMarker"), e.consume(d), e.exit("resourceMarker"), i; @@ -45789,7 +45785,7 @@ function wPe(e, t, r) { return d === 41 ? (e.enter("resourceMarker"), e.consume(d), e.exit("resourceMarker"), e.exit("resource"), t) : r(d); } } -function xPe(e, t, r) { +function EPe(e, t, r) { const n = this; return i; function i(s) { @@ -45802,7 +45798,7 @@ function xPe(e, t, r) { return r(s); } } -function EPe(e, t, r) { +function RPe(e, t, r) { return n; function n(o) { return e.enter("reference"), e.enter("referenceMarker"), e.consume(o), e.exit("referenceMarker"), i; @@ -45811,12 +45807,12 @@ function EPe(e, t, r) { return o === 93 ? (e.enter("referenceMarker"), e.consume(o), e.exit("referenceMarker"), e.exit("reference"), t) : r(o); } } -const RPe = { +const PPe = { name: "labelStartImage", - tokenize: PPe, + tokenize: TPe, resolveAll: hI.resolveAll }; -function PPe(e, t, r) { +function TPe(e, t, r) { const n = this; return i; function i(s) { @@ -45829,12 +45825,12 @@ function PPe(e, t, r) { return s === 94 && "_hiddenFootnoteSupport" in n.parser.constructs ? r(s) : t(s); } } -const TPe = { +const _Pe = { name: "labelStartLink", - tokenize: _Pe, + tokenize: MPe, resolveAll: hI.resolveAll }; -function _Pe(e, t, r) { +function MPe(e, t, r) { const n = this; return i; function i(a) { @@ -45846,9 +45842,9 @@ function _Pe(e, t, r) { } const yx = { name: "lineEnding", - tokenize: MPe + tokenize: DPe }; -function MPe(e, t) { +function DPe(e, t) { return r; function r(n) { return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), mn(e, t, "linePrefix"); @@ -45856,9 +45852,9 @@ function MPe(e, t) { } const mC = { name: "thematicBreak", - tokenize: DPe + tokenize: IPe }; -function DPe(e, t, r) { +function IPe(e, t, r) { let n = 0, i; return o; function o(c) { @@ -45876,19 +45872,19 @@ function DPe(e, t, r) { } const po = { name: "list", - tokenize: OPe, + tokenize: LPe, continuation: { - tokenize: LPe + tokenize: FPe }, - exit: NPe -}, IPe = { - tokenize: kPe, - partial: !0 + exit: kPe }, APe = { - tokenize: FPe, + tokenize: $Pe, + partial: !0 +}, OPe = { + tokenize: NPe, partial: !0 }; -function OPe(e, t, r) { +function LPe(e, t, r) { const n = this, i = n.events[n.events.length - 1]; let o = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, a = 0; return s; @@ -45912,7 +45908,7 @@ function OPe(e, t, r) { p1, // Can’t be empty when interrupting. n.interrupt ? r : u, - e.attempt(IPe, h, d) + e.attempt(APe, h, d) ); } function u(f) { @@ -45925,20 +45921,20 @@ function OPe(e, t, r) { return n.containerState.size = o + n.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(f); } } -function LPe(e, t, r) { +function FPe(e, t, r) { const n = this; return n.containerState._closeFlow = void 0, e.check(p1, i, o); function i(s) { return n.containerState.furtherBlankLines = n.containerState.furtherBlankLines || n.containerState.initialBlankLine, mn(e, t, "listItemIndent", n.containerState.size + 1)(s); } function o(s) { - return n.containerState.furtherBlankLines || !Zr(s) ? (n.containerState.furtherBlankLines = void 0, n.containerState.initialBlankLine = void 0, a(s)) : (n.containerState.furtherBlankLines = void 0, n.containerState.initialBlankLine = void 0, e.attempt(APe, t, a)(s)); + return n.containerState.furtherBlankLines || !Zr(s) ? (n.containerState.furtherBlankLines = void 0, n.containerState.initialBlankLine = void 0, a(s)) : (n.containerState.furtherBlankLines = void 0, n.containerState.initialBlankLine = void 0, e.attempt(OPe, t, a)(s)); } function a(s) { return n.containerState._closeFlow = !0, n.interrupt = void 0, mn(e, e.attempt(po, t, r), "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(s); } } -function FPe(e, t, r) { +function NPe(e, t, r) { const n = this; return mn(e, i, "listItemIndent", n.containerState.size + 1); function i(o) { @@ -45946,10 +45942,10 @@ function FPe(e, t, r) { return a && a[1].type === "listItemIndent" && a[2].sliceSerialize(a[1], !0).length === n.containerState.size ? t(o) : r(o); } } -function NPe(e) { +function kPe(e) { e.exit(this.containerState.type); } -function kPe(e, t, r) { +function $Pe(e, t, r) { const n = this; return mn(e, i, "listItemPrefixWhitespace", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5); function i(o) { @@ -45959,10 +45955,10 @@ function kPe(e, t, r) { } const o$ = { name: "setextUnderline", - tokenize: VPe, - resolveTo: $Pe + tokenize: BPe, + resolveTo: VPe }; -function $Pe(e, t) { +function VPe(e, t) { let r = e.length, n, i, o; for (; r--; ) if (e[r][0] === "enter") { @@ -45980,7 +45976,7 @@ function $Pe(e, t) { }; return e[i][1].type = "setextHeadingText", o ? (e.splice(i, 0, ["enter", a, t]), e.splice(o + 1, 0, ["exit", e[n][1], t]), e[n][1].end = Object.assign({}, e[o][1].end)) : e[n][1] = a, e.push(["exit", a, t]), e; } -function VPe(e, t, r) { +function BPe(e, t, r) { const n = this; let i; return o; @@ -46003,10 +45999,10 @@ function VPe(e, t, r) { return c === null || ir(c) ? (e.exit("setextHeadingLine"), t(c)) : r(c); } } -const BPe = { - tokenize: HPe +const HPe = { + tokenize: zPe }; -function HPe(e) { +function zPe(e) { const t = this, r = e.attempt( // Try to parse a blank line. p1, @@ -46020,7 +46016,7 @@ function HPe(e) { e.attempt( this.parser.constructs.flow, i, - e.attempt(U2e, i) + e.attempt(K2e, i) ), "linePrefix" ) @@ -46042,14 +46038,14 @@ function HPe(e) { return e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), t.currentConstruct = void 0, r; } } -const zPe = { +const GPe = { resolveAll: nK() -}, GPe = rK("string"), WPe = rK("text"); +}, WPe = rK("string"), jPe = rK("text"); function rK(e) { return { tokenize: t, resolveAll: nK( - e === "text" ? jPe : void 0 + e === "text" ? UPe : void 0 ) }; function t(r) { @@ -46092,7 +46088,7 @@ function nK(e) { return e ? e(r, n) : r; } } -function jPe(e, t) { +function UPe(e, t) { let r = 0; for (; ++r <= e.length; ) if ((r === e.length || e[r][1].type === "lineEnding") && e[r - 1][1].type === "data") { @@ -46135,7 +46131,7 @@ function jPe(e, t) { } return e; } -function UPe(e, t, r) { +function KPe(e, t, r) { let n = Object.assign( r ? Object.assign({}, r) : { line: 1, @@ -46176,10 +46172,10 @@ function UPe(e, t, r) { return a = da(a, _), v(), a[a.length - 1] !== null ? [] : (R(t, 0), c.events = dI(o, c.events, c), c.events); } function h(_, D) { - return ZPe(f(_), D); + return YPe(f(_), D); } function f(_) { - return KPe(a, _); + return ZPe(a, _); } function p() { const { line: _, column: D, offset: A, _index: M, _bufferIndex: O } = n; @@ -46292,7 +46288,7 @@ function UPe(e, t, r) { n.line in i && n.column < 2 && (n.column = i[n.line], n.offset += i[n.line] - 1); } } -function KPe(e, t) { +function ZPe(e, t) { const r = t.start._index, n = t.start._bufferIndex, i = t.end._index, o = t.end._bufferIndex; let a; if (r === i) @@ -46306,7 +46302,7 @@ function KPe(e, t) { } return a; } -function ZPe(e, t) { +function YPe(e, t) { let r = -1; const n = []; let i; @@ -46347,7 +46343,7 @@ function ZPe(e, t) { } return n.join(""); } -const YPe = { +const qPe = { 42: po, 43: po, 45: po, @@ -46362,84 +46358,84 @@ const YPe = { 56: po, 57: po, 62: YU -}, qPe = { - 91: X2e }, XPe = { + 91: Q2e +}, QPe = { [-2]: mx, [-1]: mx, 32: mx -}, QPe = { - 35: nPe, +}, JPe = { + 35: iPe, 42: mC, 45: [o$, mC], - 60: sPe, + 60: lPe, 61: o$, 95: mC, 96: n$, 126: n$ -}, JPe = { +}, eTe = { 38: XU, 92: qU -}, eTe = { +}, tTe = { [-5]: yx, [-4]: yx, [-3]: yx, - 33: RPe, + 33: PPe, 38: XU, 42: nT, - 60: [T2e, pPe], - 91: TPe, - 92: [tPe, qU], + 60: [_2e, gPe], + 91: _Pe, + 92: [rPe, qU], 93: hI, 95: nT, - 96: B2e -}, tTe = { - null: [nT, zPe] + 96: H2e }, rTe = { - null: [42, 95] + null: [nT, GPe] }, nTe = { + null: [42, 95] +}, iTe = { null: [] -}, iTe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +}, oTe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - attentionMarkers: rTe, - contentInitial: qPe, - disable: nTe, - document: YPe, - flow: QPe, - flowInitial: XPe, - insideSpan: tTe, - string: JPe, - text: eTe + attentionMarkers: nTe, + contentInitial: XPe, + disable: iTe, + document: qPe, + flow: JPe, + flowInitial: QPe, + insideSpan: rTe, + string: eTe, + text: tTe }, Symbol.toStringTag, { value: "Module" })); -function oTe(e) { +function aTe(e) { const r = ( /** @type {FullNormalizedExtension} */ - h2e([iTe, ...(e || {}).extensions || []]) + f2e([oTe, ...(e || {}).extensions || []]) ), n = { defined: [], lazy: {}, constructs: r, - content: i(b2e), - document: i(w2e), - flow: i(BPe), - string: i(GPe), - text: i(WPe) + content: i(S2e), + document: i(x2e), + flow: i(HPe), + string: i(WPe), + text: i(jPe) }; return n; function i(o) { return a; function a(s) { - return UPe(n, o, s); + return KPe(n, o, s); } } } -function aTe(e) { +function sTe(e) { for (; !QU(e); ) ; return e; } const a$ = /[\0\t\n\r]/g; -function sTe() { +function lTe() { let e = 1, t = "", r = !0, n; return i; function i(o, a, s) { @@ -46474,11 +46470,11 @@ function sTe() { return s && (n && l.push(-5), t && l.push(t), l.push(null)), l; } } -const lTe = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi; -function cTe(e) { - return e.replace(lTe, uTe); +const cTe = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi; +function uTe(e) { + return e.replace(cTe, dTe); } -function uTe(e, t, r) { +function dTe(e, t, r) { if (t) return t; if (r.charCodeAt(0) === 35) { @@ -46488,10 +46484,10 @@ function uTe(e, t, r) { return uI(r) || e; } const iK = {}.hasOwnProperty; -function dTe(e, t, r) { - return typeof t != "string" && (r = t, t = void 0), hTe(r)(aTe(oTe(r).document().write(sTe()(e, t, !0)))); +function hTe(e, t, r) { + return typeof t != "string" && (r = t, t = void 0), fTe(r)(sTe(aTe(r).document().write(lTe()(e, t, !0)))); } -function hTe(e) { +function fTe(e) { const t = { transforms: [], canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"], @@ -46728,7 +46724,7 @@ function hTe(e) { Ne.position.end = rc(oe.end); } function u() { - return u2e(this.stack.pop()); + return d2e(this.stack.pop()); } function d() { this.data.expectingFirstListItemValue = !0; @@ -46844,7 +46840,7 @@ function hTe(e) { } function N(oe) { const ye = this.sliceSerialize(oe), Ne = this.stack[this.stack.length - 2]; - Ne.label = cTe(ye), Ne.identifier = gf(ye).toLowerCase(); + Ne.label = uTe(ye), Ne.identifier = gf(ye).toLowerCase(); } function $() { const oe = this.stack[this.stack.length - 1], ye = this.resume(), Ne = this.stack[this.stack.length - 1]; @@ -47018,10 +47014,10 @@ function oK(e, t) { let r = -1; for (; ++r < t.length; ) { const n = t[r]; - Array.isArray(n) ? oK(e, n) : fTe(e, n); + Array.isArray(n) ? oK(e, n) : pTe(e, n); } } -function fTe(e, t) { +function pTe(e, t) { let r; for (r in t) if (iK.call(t, r)) @@ -47056,11 +47052,11 @@ function s$(e, t) { end: t.end }) + ") is still open"); } -function pTe(e) { +function gTe(e) { const t = this; t.parser = r; function r(n) { - return dTe(n, { + return hTe(n, { ...t.data("settings"), ...e, // Note: these options are not in the readme. @@ -47071,7 +47067,7 @@ function pTe(e) { }); } } -function gTe(e, t) { +function vTe(e, t) { const r = { type: "element", tagName: "blockquote", @@ -47080,12 +47076,12 @@ function gTe(e, t) { }; return e.patch(t, r), e.applyData(t, r); } -function vTe(e, t) { +function mTe(e, t) { const r = { type: "element", tagName: "br", properties: {}, children: [] }; return e.patch(t, r), [e.applyData(t, r), { type: "text", value: ` ` }]; } -function mTe(e, t) { +function yTe(e, t) { const r = t.value ? t.value + ` ` : "", n = {}; t.lang && (n.className = ["language-" + t.lang]); @@ -47097,7 +47093,7 @@ function mTe(e, t) { }; return t.meta && (i.data = { meta: t.meta }), e.patch(t, i), i = e.applyData(t, i), i = { type: "element", tagName: "pre", properties: {}, children: [i] }, e.patch(t, i), i; } -function yTe(e, t) { +function CTe(e, t) { const r = { type: "element", tagName: "del", @@ -47106,7 +47102,7 @@ function yTe(e, t) { }; return e.patch(t, r), e.applyData(t, r); } -function CTe(e, t) { +function bTe(e, t) { const r = { type: "element", tagName: "em", @@ -47115,7 +47111,7 @@ function CTe(e, t) { }; return e.patch(t, r), e.applyData(t, r); } -function bTe(e, t) { +function STe(e, t) { const r = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", n = String(t.identifier).toUpperCase(), i = lp(n.toLowerCase()), o = e.footnoteOrder.indexOf(n); let a, s = e.footnoteCounts.get(n); s === void 0 ? (s = 0, e.footnoteOrder.push(n), a = e.footnoteOrder.length) : a = o + 1, s += 1, e.footnoteCounts.set(n, s); @@ -47139,7 +47135,7 @@ function bTe(e, t) { }; return e.patch(t, c), e.applyData(t, c); } -function STe(e, t) { +function wTe(e, t) { const r = { type: "element", tagName: "h" + t.depth, @@ -47148,7 +47144,7 @@ function STe(e, t) { }; return e.patch(t, r), e.applyData(t, r); } -function wTe(e, t) { +function xTe(e, t) { if (e.options.allowDangerousHtml) { const r = { type: "raw", value: t.value }; return e.patch(t, r), e.applyData(t, r); @@ -47164,7 +47160,7 @@ function aK(e, t) { const a = i[i.length - 1]; return a && a.type === "text" ? a.value += n : i.push({ type: "text", value: n }), i; } -function xTe(e, t) { +function ETe(e, t) { const r = String(t.identifier).toUpperCase(), n = e.definitionById.get(r); if (!n) return aK(e, t); @@ -47173,13 +47169,13 @@ function xTe(e, t) { const o = { type: "element", tagName: "img", properties: i, children: [] }; return e.patch(t, o), e.applyData(t, o); } -function ETe(e, t) { +function RTe(e, t) { const r = { src: lp(t.url) }; t.alt !== null && t.alt !== void 0 && (r.alt = t.alt), t.title !== null && t.title !== void 0 && (r.title = t.title); const n = { type: "element", tagName: "img", properties: r, children: [] }; return e.patch(t, n), e.applyData(t, n); } -function RTe(e, t) { +function PTe(e, t) { const r = { type: "text", value: t.value.replace(/\r?\n|\r/g, " ") }; e.patch(t, r); const n = { @@ -47190,7 +47186,7 @@ function RTe(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -function PTe(e, t) { +function TTe(e, t) { const r = String(t.identifier).toUpperCase(), n = e.definitionById.get(r); if (!n) return aK(e, t); @@ -47204,7 +47200,7 @@ function PTe(e, t) { }; return e.patch(t, o), e.applyData(t, o); } -function TTe(e, t) { +function _Te(e, t) { const r = { href: lp(t.url) }; t.title !== null && t.title !== void 0 && (r.title = t.title); const n = { @@ -47215,8 +47211,8 @@ function TTe(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -function _Te(e, t, r) { - const n = e.all(t), i = r ? MTe(r) : sK(t), o = {}, a = []; +function MTe(e, t, r) { + const n = e.all(t), i = r ? DTe(r) : sK(t), o = {}, a = []; if (typeof t.checked == "boolean") { const u = n[0]; let d; @@ -47239,7 +47235,7 @@ function _Te(e, t, r) { const c = { type: "element", tagName: "li", properties: o, children: a }; return e.patch(t, c), e.applyData(t, c); } -function MTe(e) { +function DTe(e) { let t = !1; if (e.type === "list") { t = e.spread || !1; @@ -47254,7 +47250,7 @@ function sK(e) { const t = e.spread; return t ?? e.children.length > 1; } -function DTe(e, t) { +function ITe(e, t) { const r = {}, n = e.all(t); let i = -1; for (typeof t.start == "number" && t.start !== 1 && (r.start = t.start); ++i < n.length; ) { @@ -47272,7 +47268,7 @@ function DTe(e, t) { }; return e.patch(t, o), e.applyData(t, o); } -function ITe(e, t) { +function ATe(e, t) { const r = { type: "element", tagName: "p", @@ -47281,11 +47277,11 @@ function ITe(e, t) { }; return e.patch(t, r), e.applyData(t, r); } -function ATe(e, t) { +function OTe(e, t) { const r = { type: "root", children: e.wrap(e.all(t)) }; return e.patch(t, r), e.applyData(t, r); } -function OTe(e, t) { +function LTe(e, t) { const r = { type: "element", tagName: "strong", @@ -47294,7 +47290,7 @@ function OTe(e, t) { }; return e.patch(t, r), e.applyData(t, r); } -function LTe(e, t) { +function FTe(e, t) { const r = e.all(t), n = r.shift(), i = []; if (n) { const a = { @@ -47322,7 +47318,7 @@ function LTe(e, t) { }; return e.patch(t, o), e.applyData(t, o); } -function FTe(e, t, r) { +function NTe(e, t, r) { const n = r ? r.children : void 0, o = (n ? n.indexOf(t) : 1) === 0 ? "th" : "td", a = r && r.type === "table" ? r.align : void 0, s = a ? a.length : t.children.length; let l = -1; const c = []; @@ -47340,7 +47336,7 @@ function FTe(e, t, r) { }; return e.patch(t, u), e.applyData(t, u); } -function NTe(e, t) { +function kTe(e, t) { const r = { type: "element", tagName: "td", @@ -47351,7 +47347,7 @@ function NTe(e, t) { return e.patch(t, r), e.applyData(t, r); } const l$ = 9, c$ = 32; -function kTe(e) { +function $Te(e) { const t = String(e), r = /\r?\n|\r/g; let n = r.exec(t), i = 0; const o = []; @@ -47376,11 +47372,11 @@ function u$(e, t, r) { } return i > n ? e.slice(n, i) : ""; } -function $Te(e, t) { - const r = { type: "text", value: kTe(String(t.value)) }; +function VTe(e, t) { + const r = { type: "text", value: $Te(String(t.value)) }; return e.patch(t, r), e.applyData(t, r); } -function VTe(e, t) { +function BTe(e, t) { const r = { type: "element", tagName: "hr", @@ -47389,31 +47385,31 @@ function VTe(e, t) { }; return e.patch(t, r), e.applyData(t, r); } -const BTe = { - blockquote: gTe, - break: vTe, - code: mTe, - delete: yTe, - emphasis: CTe, - footnoteReference: bTe, - heading: STe, - html: wTe, - imageReference: xTe, - image: ETe, - inlineCode: RTe, - linkReference: PTe, - link: TTe, - listItem: _Te, - list: DTe, - paragraph: ITe, +const HTe = { + blockquote: vTe, + break: mTe, + code: yTe, + delete: CTe, + emphasis: bTe, + footnoteReference: STe, + heading: wTe, + html: xTe, + imageReference: ETe, + image: RTe, + inlineCode: PTe, + linkReference: TTe, + link: _Te, + listItem: MTe, + list: ITe, + paragraph: ATe, // @ts-expect-error: root is different, but hard to type. - root: ATe, - strong: OTe, - table: LTe, - tableCell: NTe, - tableRow: FTe, - text: $Te, - thematicBreak: VTe, + root: OTe, + strong: LTe, + table: FTe, + tableCell: kTe, + tableRow: NTe, + text: VTe, + thematicBreak: BTe, toml: Hy, yaml: Hy, definition: Hy, @@ -47421,7 +47417,7 @@ const BTe = { }; function Hy() { } -const lK = -1, g1 = 0, pb = 1, gb = 2, fI = 3, pI = 4, gI = 5, vI = 6, cK = 7, uK = 8, d$ = typeof self == "object" ? self : globalThis, HTe = (e, t) => { +const lK = -1, g1 = 0, pb = 1, gb = 2, fI = 3, pI = 4, gI = 5, vI = 6, cK = 7, uK = 8, d$ = typeof self == "object" ? self : globalThis, zTe = (e, t) => { const r = (i, o) => (e.set(o, i), i), n = (i) => { if (e.has(i)) return e.get(i); @@ -47472,11 +47468,11 @@ const lK = -1, g1 = 0, pb = 1, gb = 2, fI = 3, pI = 4, gI = 5, vI = 6, cK = 7, u return r(new d$[o](a), i); }; return n; -}, h$ = (e) => HTe(/* @__PURE__ */ new Map(), e)(0), mh = "", { toString: zTe } = {}, { keys: GTe } = Object, Hp = (e) => { +}, h$ = (e) => zTe(/* @__PURE__ */ new Map(), e)(0), mh = "", { toString: GTe } = {}, { keys: WTe } = Object, Hp = (e) => { const t = typeof e; if (t !== "object" || !e) return [g1, t]; - const r = zTe.call(e).slice(8, -1); + const r = GTe.call(e).slice(8, -1); switch (r) { case "Array": return [pb, mh]; @@ -47492,7 +47488,7 @@ const lK = -1, g1 = 0, pb = 1, gb = 2, fI = 3, pI = 4, gI = 5, vI = 6, cK = 7, u return [vI, mh]; } return r.includes("Array") ? [pb, r] : r.includes("Error") ? [cK, r] : [gb, r]; -}, zy = ([e, t]) => e === g1 && (t === "function" || t === "symbol"), WTe = (e, t, r, n) => { +}, zy = ([e, t]) => e === g1 && (t === "function" || t === "symbol"), jTe = (e, t, r, n) => { const i = (a, s) => { const l = n.push(a) - 1; return r.set(s, l), l; @@ -47539,7 +47535,7 @@ const lK = -1, g1 = 0, pb = 1, gb = 2, fI = 3, pI = 4, gI = 5, vI = 6, cK = 7, u if (t && "toJSON" in a) return o(a.toJSON()); const u = [], d = i([s, u], a); - for (const h of GTe(a)) + for (const h of WTe(a)) (e || !zy(Hp(a[h]))) && u.push([o(h), o(a[h])]); return d; } @@ -47568,12 +47564,12 @@ const lK = -1, g1 = 0, pb = 1, gb = 2, fI = 3, pI = 4, gI = 5, vI = 6, cK = 7, u return o; }, f$ = (e, { json: t, lossy: r } = {}) => { const n = []; - return WTe(!(t || r), !!t, /* @__PURE__ */ new Map(), n)(e), n; + return jTe(!(t || r), !!t, /* @__PURE__ */ new Map(), n)(e), n; }, vb = typeof structuredClone == "function" ? ( /* c8 ignore start */ (e, t) => t && ("json" in t || "lossy" in t) ? h$(f$(e, t)) : structuredClone(e) ) : (e, t) => h$(f$(e, t)); -function jTe(e, t) { +function UTe(e, t) { const r = [{ type: "text", value: "↩" }]; return t > 1 && r.push({ type: "element", @@ -47582,11 +47578,11 @@ function jTe(e, t) { children: [{ type: "text", value: String(t) }] }), r; } -function UTe(e, t) { +function KTe(e, t) { return "Back to reference " + (e + 1) + (t > 1 ? "-" + t : ""); } -function KTe(e) { - const t = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", r = e.options.footnoteBackContent || jTe, n = e.options.footnoteBackLabel || UTe, i = e.options.footnoteLabel || "Footnotes", o = e.options.footnoteLabelTagName || "h2", a = e.options.footnoteLabelProperties || { +function ZTe(e) { + const t = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", r = e.options.footnoteBackContent || UTe, n = e.options.footnoteBackLabel || KTe, i = e.options.footnoteLabel || "Footnotes", o = e.options.footnoteLabelTagName || "h2", a = e.options.footnoteLabelProperties || { className: ["sr-only"] }, s = []; let l = -1; @@ -47673,17 +47669,17 @@ const dK = ( */ function(e) { if (e == null) - return XTe; + return QTe; if (typeof e == "function") return v1(e); if (typeof e == "object") - return Array.isArray(e) ? ZTe(e) : YTe(e); + return Array.isArray(e) ? YTe(e) : qTe(e); if (typeof e == "string") - return qTe(e); + return XTe(e); throw new Error("Expected function, string, or object as test"); } ); -function ZTe(e) { +function YTe(e) { const t = []; let r = -1; for (; ++r < e.length; ) @@ -47696,7 +47692,7 @@ function ZTe(e) { return !1; } } -function YTe(e) { +function qTe(e) { const t = ( /** @type {Record} */ e @@ -47714,7 +47710,7 @@ function YTe(e) { return !0; } } -function qTe(e) { +function XTe(e) { return v1(t); function t(r) { return r && r.type === e; @@ -47723,7 +47719,7 @@ function qTe(e) { function v1(e) { return t; function t(r, n, i) { - return !!(QTe(r) && e.call( + return !!(JTe(r) && e.call( this, r, typeof n == "number" ? n : void 0, @@ -47731,14 +47727,14 @@ function v1(e) { )); } } -function XTe() { +function QTe() { return !0; } -function QTe(e) { +function JTe(e) { return e !== null && typeof e == "object" && "type" in e; } -const hK = [], JTe = !0, p$ = !1, e_e = "skip"; -function t_e(e, t, r, n) { +const hK = [], e_e = !0, p$ = !1, t_e = "skip"; +function r_e(e, t, r, n) { let i; typeof t == "function" && typeof r != "function" ? (n = r, r = t) : i = t; const o = dK(i), a = n ? -1 : 1; @@ -47763,14 +47759,14 @@ function t_e(e, t, r, n) { return h; function h() { let f = hK, p, g, v; - if ((!t || o(l, c, u[u.length - 1] || void 0)) && (f = r_e(r(l, u)), f[0] === p$)) + if ((!t || o(l, c, u[u.length - 1] || void 0)) && (f = n_e(r(l, u)), f[0] === p$)) return f; if ("children" in l && l.children) { const m = ( /** @type {UnistParent} */ l ); - if (m.children && f[0] !== e_e) + if (m.children && f[0] !== t_e) for (g = (n ? m.children.length : -1) + a, v = u.concat(m); g > -1 && g < m.children.length; ) { const y = m.children[g]; if (p = s(y, g, v)(), p[0] === p$) @@ -47782,22 +47778,22 @@ function t_e(e, t, r, n) { } } } -function r_e(e) { - return Array.isArray(e) ? e : typeof e == "number" ? [JTe, e] : e == null ? hK : [e]; +function n_e(e) { + return Array.isArray(e) ? e : typeof e == "number" ? [e_e, e] : e == null ? hK : [e]; } function fK(e, t, r, n) { let i, o, a; - typeof t == "function" && typeof r != "function" ? (o = void 0, a = t, i = r) : (o = t, a = r, i = n), t_e(e, o, s, i); + typeof t == "function" && typeof r != "function" ? (o = void 0, a = t, i = r) : (o = t, a = r, i = n), r_e(e, o, s, i); function s(l, c) { const u = c[c.length - 1], d = u ? u.children.indexOf(l) : void 0; return a(l, d, u); } } -const iT = {}.hasOwnProperty, n_e = {}; -function i_e(e, t) { - const r = t || n_e, n = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), a = { ...BTe, ...r.handlers }, s = { +const iT = {}.hasOwnProperty, i_e = {}; +function o_e(e, t) { + const r = t || i_e, n = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), a = { ...HTe, ...r.handlers }, s = { all: c, - applyData: a_e, + applyData: s_e, definitionById: n, footnoteById: i, footnoteCounts: o, @@ -47805,8 +47801,8 @@ function i_e(e, t) { handlers: a, one: l, options: r, - patch: o_e, - wrap: l_e + patch: a_e, + wrap: c_e }; return fK(e, function(u) { if (u.type === "definition" || u.type === "footnoteDefinition") { @@ -47825,7 +47821,7 @@ function i_e(e, t) { } return vb(u); } - return (s.options.unknownHandler || s_e)(s, u, d); + return (s.options.unknownHandler || l_e)(s, u, d); } function c(u) { const d = []; @@ -47846,10 +47842,10 @@ function i_e(e, t) { return d; } } -function o_e(e, t) { - e.position && (t.position = BRe(e)); -} function a_e(e, t) { + e.position && (t.position = HRe(e)); +} +function s_e(e, t) { let r = t; if (e && e.data) { const n = e.data.hName, i = e.data.hChildren, o = e.data.hProperties; @@ -47864,7 +47860,7 @@ function a_e(e, t) { } return r; } -function s_e(e, t) { +function l_e(e, t) { const r = t.data || {}, n = "value" in t && !(iT.call(r, "hProperties") || iT.call(r, "hChildren")) ? { type: "text", value: t.value } : { type: "element", tagName: "div", @@ -47873,7 +47869,7 @@ function s_e(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -function l_e(e, t) { +function c_e(e, t) { const r = []; let n = -1; for (t && r.push({ type: "text", value: ` @@ -47890,11 +47886,11 @@ function g$(e) { return e.slice(t); } function v$(e, t) { - const r = i_e(e, t), n = r.one(e, void 0), i = KTe(r), o = Array.isArray(n) ? { type: "root", children: n } : n || { type: "root", children: [] }; + const r = o_e(e, t), n = r.one(e, void 0), i = ZTe(r), o = Array.isArray(n) ? { type: "root", children: n } : n || { type: "root", children: [] }; return i && o.children.push({ type: "text", value: ` ` }, i), o; } -function c_e(e, t) { +function u_e(e, t) { return e && "run" in e ? async function(r, n) { const i = ( /** @type {HastRoot} */ @@ -47938,7 +47934,7 @@ var yC = Object.prototype.hasOwnProperty, pK = Object.prototype.toString, y$ = O return C$(t, r).value; } else return; return t[r]; -}, u_e = function e() { +}, d_e = function e() { var t, r, n, i, o, a, s = arguments[0], l = 1, c = arguments.length, u = !1; for (typeof s == "boolean" && (u = s, s = arguments[1] || {}, l = 2), (s == null || typeof s != "object" && typeof s != "function") && (s = {}); l < c; ++l) if (t = arguments[l], t != null) @@ -47946,14 +47942,14 @@ var yC = Object.prototype.hasOwnProperty, pK = Object.prototype.toString, y$ = O n = x$(s, r), i = x$(t, r), s !== i && (u && i && (S$(i) || (o = b$(i))) ? (o ? (o = !1, a = n && b$(n) ? n : []) : a = n && S$(n) ? n : {}, w$(s, { name: r, newValue: e(u, a, i) })) : typeof i < "u" && w$(s, { name: r, newValue: i })); return s; }; -const Cx = /* @__PURE__ */ qf(u_e); +const Cx = /* @__PURE__ */ qf(d_e); function oT(e) { if (typeof e != "object" || e === null) return !1; const t = Object.getPrototypeOf(e); return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e); } -function d_e() { +function h_e() { const e = [], t = { run: r, use: n }; return t; function r(...i) { @@ -47971,7 +47967,7 @@ function d_e() { } for (; ++d < i.length; ) (c[d] === null || c[d] === void 0) && (c[d] = i[d]); - i = c, u ? h_e(u, s)(...c) : a(null, ...c); + i = c, u ? f_e(u, s)(...c) : a(null, ...c); } } function n(i) { @@ -47982,7 +47978,7 @@ function d_e() { return e.push(i), t; } } -function h_e(e, t) { +function f_e(e, t) { let r; return n; function n(...a) { @@ -48009,8 +48005,8 @@ function h_e(e, t) { i(null, a); } } -const Ps = { basename: f_e, dirname: p_e, extname: g_e, join: v_e, sep: "/" }; -function f_e(e, t) { +const Ps = { basename: p_e, dirname: g_e, extname: v_e, join: m_e, sep: "/" }; +function p_e(e, t) { if (t !== void 0 && typeof t != "string") throw new TypeError('"ext" argument must be a string'); zm(e); @@ -48038,7 +48034,7 @@ function f_e(e, t) { a < 0 && (o = !0, a = i + 1), s > -1 && (e.codePointAt(i) === t.codePointAt(s--) ? s < 0 && (n = i) : (s = -1, n = a)); return r === n ? n = a : n < 0 && (n = e.length), e.slice(r, n); } -function p_e(e) { +function g_e(e) { if (zm(e), e.length === 0) return "."; let t = -1, r = e.length, n; @@ -48051,7 +48047,7 @@ function p_e(e) { } else n || (n = !0); return t < 0 ? e.codePointAt(0) === 47 ? "/" : "." : t === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, t); } -function g_e(e) { +function v_e(e) { zm(e); let t = e.length, r = -1, n = 0, i = -1, o = 0, a; for (; t--; ) { @@ -48069,19 +48065,19 @@ function g_e(e) { o === 0 || // The (right-most) trimmed path component is exactly `..`. o === 1 && i === r - 1 && i === n + 1 ? "" : e.slice(i, r); } -function v_e(...e) { +function m_e(...e) { let t = -1, r; for (; ++t < e.length; ) zm(e[t]), e[t] && (r = r === void 0 ? e[t] : r + "/" + e[t]); - return r === void 0 ? "." : m_e(r); + return r === void 0 ? "." : y_e(r); } -function m_e(e) { +function y_e(e) { zm(e); const t = e.codePointAt(0) === 47; - let r = y_e(e, !t); + let r = C_e(e, !t); return r.length === 0 && !t && (r = "."), r.length > 0 && e.codePointAt(e.length - 1) === 47 && (r += "/"), t ? "/" + r : r; } -function y_e(e, t) { +function C_e(e, t) { let r = "", n = 0, i = -1, o = 0, a = -1, s, l; for (; ++a <= e.length; ) { if (a < e.length) @@ -48118,15 +48114,15 @@ function zm(e) { "Path must be a string. Received " + JSON.stringify(e) ); } -const C_e = { cwd: b_e }; -function b_e() { +const b_e = { cwd: S_e }; +function S_e() { return "/"; } function aT(e) { return !!(e !== null && typeof e == "object" && "href" in e && e.href && "protocol" in e && e.protocol && // @ts-expect-error: indexing is fine. e.auth === void 0); } -function S_e(e) { +function w_e(e) { if (typeof e == "string") e = new URL(e); else if (!aT(e)) { @@ -48139,9 +48135,9 @@ function S_e(e) { const t = new TypeError("The URL must be of scheme file"); throw t.code = "ERR_INVALID_URL_SCHEME", t; } - return w_e(e); + return x_e(e); } -function w_e(e) { +function x_e(e) { if (e.hostname !== "") { const n = new TypeError( 'File URL host must be "localhost" or empty on darwin' @@ -48198,7 +48194,7 @@ class gK { */ constructor(t) { let r; - t ? aT(t) ? r = { path: t } : typeof t == "string" || x_e(t) ? r = { value: t } : r = t : r = {}, this.cwd = C_e.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored; + t ? aT(t) ? r = { path: t } : typeof t == "string" || E_e(t) ? r = { value: t } : r = t : r = {}, this.cwd = b_e.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored; let n = -1; for (; ++n < bx.length; ) { const o = bx[n]; @@ -48306,7 +48302,7 @@ class gK { * Nothing. */ set path(t) { - aT(t) && (t = S_e(t)), xx(t, "path"), this.path !== t && this.history.push(t); + aT(t) && (t = w_e(t)), xx(t, "path"), this.path !== t && this.history.push(t); } /** * Get the stem (basename w/o extname) (example: `'index.min'`). @@ -48557,10 +48553,10 @@ function E$(e, t) { if (!e) throw new Error("Setting `" + t + "` requires `path` to be set too"); } -function x_e(e) { +function E_e(e) { return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e); } -const E_e = ( +const R_e = ( /** * @type {new , Result>(property: string | symbol) => (...parameters: Parameters) => Result} */ @@ -48581,13 +48577,13 @@ const E_e = ( }; return Object.setPrototypeOf(o, n), o; } -), R_e = {}.hasOwnProperty; -class mI extends E_e { +), P_e = {}.hasOwnProperty; +class mI extends R_e { /** * Create a processor. */ constructor() { - super("copy"), this.Compiler = void 0, this.Parser = void 0, this.attachers = [], this.compiler = void 0, this.freezeIndex = -1, this.frozen = void 0, this.namespace = {}, this.parser = void 0, this.transformers = d_e(); + super("copy"), this.Compiler = void 0, this.Parser = void 0, this.attachers = [], this.compiler = void 0, this.freezeIndex = -1, this.frozen = void 0, this.namespace = {}, this.parser = void 0, this.transformers = h_e(); } /** * Copy a processor. @@ -48672,7 +48668,7 @@ class mI extends E_e { * the entire dataset when getting without key. */ data(t, r) { - return typeof t == "string" ? arguments.length === 2 ? (Px("data", this.frozen), this.namespace[t] = r, this) : R_e.call(this.namespace, t) && this.namespace[t] || void 0 : t ? (Px("data", this.frozen), this.namespace = t, this) : this.namespace; + return typeof t == "string" ? arguments.length === 2 ? (Px("data", this.frozen), this.namespace[t] = r, this) : P_e.call(this.namespace, t) && this.namespace[t] || void 0 : t ? (Px("data", this.frozen), this.namespace = t, this) : this.namespace; } /** * Freeze a processor. @@ -48787,7 +48783,7 @@ class mI extends E_e { /** @type {unknown} */ d ), p = n.stringify(f, h); - __e(p) ? h.value = p : h.result = p, c( + M_e(p) ? h.value = p : h.result = p, c( u, /** @type {VFileWithOutput} */ h @@ -49063,7 +49059,7 @@ class mI extends E_e { } } } -const P_e = new mI().freeze(); +const T_e = new mI().freeze(); function Ex(e, t) { if (typeof t != "function") throw new TypeError("Cannot `" + e + "` without `parser`"); @@ -49089,18 +49085,18 @@ function P$(e, t, r) { ); } function Gy(e) { - return T_e(e) ? e : new gK(e); -} -function T_e(e) { - return !!(e && typeof e == "object" && "message" in e && "messages" in e); + return __e(e) ? e : new gK(e); } function __e(e) { - return typeof e == "string" || M_e(e); + return !!(e && typeof e == "object" && "message" in e && "messages" in e); } function M_e(e) { + return typeof e == "string" || D_e(e); +} +function D_e(e) { return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e); } -const D_e = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", T$ = [], _$ = { allowDangerousHtml: !0 }, I_e = /^(https?|ircs?|mailto|xmpp)$/i, A_e = [ +const I_e = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", T$ = [], _$ = { allowDangerousHtml: !0 }, A_e = /^(https?|ircs?|mailto|xmpp)$/i, O_e = [ { from: "astPlugins", id: "remove-buggy-html-in-markdown-parser" }, { from: "allowDangerousHtml", id: "remove-buggy-html-in-markdown-parser" }, { @@ -49134,10 +49130,10 @@ const D_e = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", { from: "transformLinkUri", id: "#add-urltransform", to: "urlTransform" } ]; function Md(e) { - const t = e.allowedElements, r = e.allowElement, n = e.children || "", i = e.className, o = e.components, a = e.disallowedElements, s = e.rehypePlugins || T$, l = e.remarkPlugins || T$, c = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ..._$ } : _$, u = e.skipHtml, d = e.unwrapDisallowed, h = e.urlTransform || O_e, f = P_e().use(pTe).use(l).use(c_e, c).use(s), p = new gK(); + const t = e.allowedElements, r = e.allowElement, n = e.children || "", i = e.className, o = e.components, a = e.disallowedElements, s = e.rehypePlugins || T$, l = e.remarkPlugins || T$, c = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ..._$ } : _$, u = e.skipHtml, d = e.unwrapDisallowed, h = e.urlTransform || L_e, f = T_e().use(gTe).use(l).use(u_e, c).use(s), p = new gK(); typeof n == "string" && (p.value = n); - for (const y of A_e) - Object.hasOwn(e, y.from) && ("" + y.from + (y.to ? "use `" + y.to + "` instead" : "remove it") + D_e + y.id, void 0); + for (const y of O_e) + Object.hasOwn(e, y.from) && ("" + y.from + (y.to ? "use `" + y.to + "` instead" : "remove it") + I_e + y.id, void 0); const g = f.parse(p); let v = f.runSync(g, p); return i && (v = { @@ -49149,7 +49145,7 @@ function Md(e) { /** @type {Array} */ v.type === "root" ? v.children : [v] ) - }), fK(v, m), URe(v, { + }), fK(v, m), KRe(v, { Fragment: Y.Fragment, components: o, ignoreInvalidStyle: !0, @@ -49176,13 +49172,13 @@ function Md(e) { } } } -function O_e(e) { +function L_e(e) { const t = e.indexOf(":"), r = e.indexOf("?"), n = e.indexOf("#"), i = e.indexOf("/"); return ( // If there is no protocol, it’s relative. t < 0 || // If the first colon is after a `?`, `#`, or `/`, it’s not a protocol. i > -1 && t > i || r > -1 && t > r || n > -1 && t > n || // It is a protocol, it should be allowed. - I_e.test(e.slice(0, t)) ? e : "" + A_e.test(e.slice(0, t)) ? e : "" ); } /*! ***************************************************************************** @@ -49252,37 +49248,37 @@ function be(e, t) { } e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r()); } -var L_e = /* @__PURE__ */ function() { +var F_e = /* @__PURE__ */ function() { function e() { this.firefox = !1, this.ie = !1, this.edge = !1, this.newEdge = !1, this.weChat = !1; } return e; -}(), F_e = /* @__PURE__ */ function() { +}(), N_e = /* @__PURE__ */ function() { function e() { - this.browser = new L_e(), this.node = !1, this.wxa = !1, this.worker = !1, this.svgSupported = !1, this.touchEventsSupported = !1, this.pointerEventsSupported = !1, this.domSupported = !1, this.transformSupported = !1, this.transform3dSupported = !1, this.hasGlobalWindow = typeof window < "u"; + this.browser = new F_e(), this.node = !1, this.wxa = !1, this.worker = !1, this.svgSupported = !1, this.touchEventsSupported = !1, this.pointerEventsSupported = !1, this.domSupported = !1, this.transformSupported = !1, this.transform3dSupported = !1, this.hasGlobalWindow = typeof window < "u"; } return e; -}(), Ou = new F_e(); -typeof wx == "object" && typeof wx.getSystemInfoSync == "function" ? (Ou.wxa = !0, Ou.touchEventsSupported = !0) : typeof document > "u" && typeof self < "u" ? Ou.worker = !0 : typeof navigator > "u" || navigator.userAgent.indexOf("Node.js") === 0 ? (Ou.node = !0, Ou.svgSupported = !0) : N_e(navigator.userAgent, Ou); -function N_e(e, t) { +}(), Ou = new N_e(); +typeof wx == "object" && typeof wx.getSystemInfoSync == "function" ? (Ou.wxa = !0, Ou.touchEventsSupported = !0) : typeof document > "u" && typeof self < "u" ? Ou.worker = !0 : typeof navigator > "u" || navigator.userAgent.indexOf("Node.js") === 0 ? (Ou.node = !0, Ou.svgSupported = !0) : k_e(navigator.userAgent, Ou); +function k_e(e, t) { var r = t.browser, n = e.match(/Firefox\/([\d.]+)/), i = e.match(/MSIE\s([\d.]+)/) || e.match(/Trident\/.+?rv:(([\d.]+))/), o = e.match(/Edge?\/([\d.]+)/), a = /micromessenger/i.test(e); n && (r.firefox = !0, r.version = n[1]), i && (r.ie = !0, r.version = i[1]), o && (r.edge = !0, r.version = o[1], r.newEdge = +o[1].split(".")[0] > 18), a && (r.weChat = !0), t.svgSupported = typeof SVGRect < "u", t.touchEventsSupported = "ontouchstart" in window && !r.ie && !r.edge, t.pointerEventsSupported = "onpointerdown" in window && (r.edge || r.ie && +r.version >= 11), t.domSupported = typeof document < "u"; var s = document.documentElement.style; 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; } const pr = Ou; -var yI = 12, mK = "sans-serif", Vc = yI + "px " + mK, k_e = 20, $_e = 100, V_e = "007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"; -function B_e(e) { +var yI = 12, mK = "sans-serif", Vc = yI + "px " + mK, $_e = 20, V_e = 100, B_e = "007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"; +function H_e(e) { var t = {}; if (typeof JSON > "u") return t; for (var r = 0; r < e.length; r++) { - var n = String.fromCharCode(r + 32), i = (e.charCodeAt(r) - k_e) / $_e; + var n = String.fromCharCode(r + 32), i = (e.charCodeAt(r) - $_e) / V_e; t[n] = i; } return t; } -var H_e = B_e(V_e), os = { +var z_e = H_e(B_e), os = { createCanvas: function() { return typeof document < "u" && document.createElement("canvas"); }, @@ -49301,7 +49297,7 @@ var H_e = B_e(V_e), os = { s = a * r.length; else for (var l = 0; l < r.length; l++) { - var c = H_e[r[l]]; + var c = z_e[r[l]]; s += c == null ? a : c * a; } return { width: s }; @@ -49339,10 +49335,10 @@ var CK = Ra([ "Float64" ], function(e, t) { return e["[object " + t + "Array]"] = !0, e; -}, {}), cp = Object.prototype.toString, m1 = Array.prototype, z_e = m1.forEach, G_e = m1.filter, CI = m1.slice, W_e = m1.map, M$ = (function() { -}).constructor, Wy = M$ ? M$.prototype : null, bI = "__proto__", j_e = 2311; +}, {}), cp = Object.prototype.toString, m1 = Array.prototype, G_e = m1.forEach, W_e = m1.filter, CI = m1.slice, j_e = m1.map, M$ = (function() { +}).constructor, Wy = M$ ? M$.prototype : null, bI = "__proto__", U_e = 2311; function SI() { - return j_e++; + return U_e++; } function ya() { for (var e = [], t = 0; t < arguments.length; t++) @@ -49407,7 +49403,7 @@ function xt(e, t, r) { } return e; } -var U_e = os.createCanvas; +var K_e = os.createCanvas; function Yt(e, t) { if (e) { if (e.indexOf) @@ -49441,7 +49437,7 @@ function Ei(e) { } function z(e, t, r) { if (e && t) - if (e.forEach && e.forEach === z_e) + if (e.forEach && e.forEach === G_e) e.forEach(t, r); else if (e.length === +e.length) for (var n = 0, i = e.length; n < i; n++) @@ -49455,7 +49451,7 @@ function Fe(e, t, r) { return []; if (!t) return C1(e); - if (e.map && e.map === W_e) + if (e.map && e.map === j_e) return e.map(t, r); for (var n = [], i = 0, o = e.length; i < o; i++) n.push(t.call(r, e[i], i, e)); @@ -49473,7 +49469,7 @@ function kr(e, t, r) { return []; if (!t) return C1(e); - if (e.filter && e.filter === G_e) + if (e.filter && e.filter === W_e) return e.filter(t, r); for (var n = [], i = 0, o = e.length; i < o; i++) t.call(r, e[i], i, e) && n.push(e[i]); @@ -49496,14 +49492,14 @@ function ar(e) { e.hasOwnProperty(r) && t.push(r); return t; } -function K_e(e, t) { +function Z_e(e, t) { for (var r = [], n = 2; n < arguments.length; n++) r[n - 2] = arguments[n]; return function() { return e.apply(t, r.concat(CI.call(arguments))); }; } -var at = Wy && gt(Wy.bind) ? Wy.call.bind(Wy.bind) : K_e; +var at = Wy && gt(Wy.bind) ? Wy.call.bind(Wy.bind) : Z_e; function Bt(e) { for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]; @@ -49589,7 +49585,7 @@ function kv(e) { function vf(e) { return e[xK]; } -var Z_e = function() { +var Y_e = function() { function e() { this.data = {}; } @@ -49610,13 +49606,13 @@ var Z_e = function() { r.hasOwnProperty(n) && t(r[n], n); }, e; }(), EK = typeof Map == "function"; -function Y_e() { - return EK ? /* @__PURE__ */ new Map() : new Z_e(); +function q_e() { + return EK ? /* @__PURE__ */ new Map() : new Y_e(); } var RK = function() { function e(t) { var r = Ae(t); - this.data = Y_e(); + this.data = q_e(); var n = this; t instanceof e ? t.each(i) : t && z(t, i); function i(o, a) { @@ -49671,7 +49667,7 @@ function lt(e, t) { function An() { } var Yg = 180 / Math.PI; -const q_e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const X_e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, HashMap: RK, RADIAN_TO_DEGREE: Yg, @@ -49679,7 +49675,7 @@ const q_e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty( bind: at, clone: Mt, concatArray: $v, - createCanvas: U_e, + createCanvas: K_e, createHashMap: pt, createObject: Wm, curry: Bt, @@ -49778,18 +49774,18 @@ function Cc(e, t, r) { function Vv(e) { return Math.sqrt(RI(e)); } -var X_e = Vv; +var Q_e = Vv; function RI(e) { return e[0] * e[0] + e[1] * e[1]; } -var Q_e = RI; -function J_e(e, t, r) { +var J_e = RI; +function eMe(e, t, r) { return e[0] = t[0] * r[0], e[1] = t[1] * r[1], e; } -function eMe(e, t, r) { +function tMe(e, t, r) { return e[0] = t[0] / r[0], e[1] = t[1] / r[1], e; } -function tMe(e, t) { +function rMe(e, t) { return e[0] * t[0] + e[1] * t[1]; } function qg(e, t, r) { @@ -49807,7 +49803,7 @@ function TK(e, t) { return (e[0] - t[0]) * (e[0] - t[0]) + (e[1] - t[1]) * (e[1] - t[1]); } var Pc = TK; -function rMe(e, t) { +function nMe(e, t) { return e[0] = -t[0], e[1] = -t[1], e; } function Xg(e, t, r, n) { @@ -49823,7 +49819,7 @@ function El(e, t, r) { function Rl(e, t, r) { return e[0] = Math.max(t[0], r[0]), e[1] = Math.max(t[1], r[1]), e; } -const nMe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const iMe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, add: hT, applyTransform: yi, @@ -49834,17 +49830,17 @@ const nMe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty( distSquare: Pc, distance: yb, distanceSquare: TK, - div: eMe, - dot: tMe, + div: tMe, + dot: rMe, len: Vv, lenSquare: RI, - length: X_e, - lengthSquare: Q_e, + length: Q_e, + lengthSquare: J_e, lerp: Xg, max: Rl, min: El, - mul: J_e, - negate: rMe, + mul: eMe, + negate: nMe, normalize: Ud, scale: qg, scaleAndAdd: mb, @@ -49856,7 +49852,7 @@ var yh = /* @__PURE__ */ function() { this.target = t, this.topTarget = r && r.topTarget; } return e; -}(), iMe = function() { +}(), oMe = function() { function e(t) { this.handler = t, t.on("mousedown", this._dragStart, this), t.on("mousemove", this._drag, this), t.on("mouseup", this._dragEnd, this); } @@ -49969,13 +49965,13 @@ var yh = /* @__PURE__ */ function() { } return o && o.afterTrigger && o.afterTrigger(t), this; }, e; -}(), oMe = Math.log(2); +}(), aMe = Math.log(2); function fT(e, t, r, n, i, o) { var a = n + "-" + i, s = e.length; if (o.hasOwnProperty(a)) return o[a]; if (t === 1) { - var l = Math.round(Math.log((1 << s) - 1 & ~i) / oMe); + var l = Math.round(Math.log((1 << s) - 1 & ~i) / aMe); return e[r][l]; } for (var c = n | 1 << r, u = r + 1; n & 1 << u; ) @@ -50008,18 +50004,18 @@ function D$(e, t) { } } var I$ = "___zrEVENTSAVED", Tx = []; -function aMe(e, t, r, n, i) { +function sMe(e, t, r, n, i) { return pT(Tx, t, n, i, !0) && pT(e, r, Tx[0], Tx[1]); } function pT(e, t, r, n, i) { if (t.getBoundingClientRect && pr.domSupported && !_K(t)) { - var o = t[I$] || (t[I$] = {}), a = sMe(t, o), s = lMe(a, o, i); + var o = t[I$] || (t[I$] = {}), a = lMe(t, o), s = cMe(a, o, i); if (s) return s(e, r, n), !0; } return !1; } -function sMe(e, t) { +function lMe(e, t) { var r = t.markers; if (r) return r; @@ -50044,7 +50040,7 @@ function sMe(e, t) { } return r; } -function lMe(e, t, r) { +function cMe(e, t, r) { for (var n = r ? "invTrans" : "trans", i = t[n], o = t.srcCoords, a = [], s = [], l = !0, c = 0; c < 4; c++) { var u = e[c].getBoundingClientRect(), d = 2 * c, h = u.left, f = u.top; a.push(h, f), l = l && o && h === o[d] && f === o[d + 1], s.push(e[c].offsetLeft, e[c].offsetTop); @@ -50054,7 +50050,7 @@ function lMe(e, t, r) { function _K(e) { return e.nodeName.toUpperCase() === "CANVAS"; } -var cMe = /([&<>"'])/g, uMe = { +var uMe = /([&<>"'])/g, dMe = { "&": "&", "<": "<", ">": ">", @@ -50062,13 +50058,13 @@ var cMe = /([&<>"'])/g, uMe = { "'": "'" }; function Yi(e) { - return e == null ? "" : (e + "").replace(cMe, function(t, r) { - return uMe[r]; + return e == null ? "" : (e + "").replace(uMe, function(t, r) { + return dMe[r]; }); } -var dMe = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, _x = [], hMe = pr.browser.firefox && +pr.browser.version.split(".")[0] < 39; +var hMe = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, _x = [], fMe = pr.browser.firefox && +pr.browser.version.split(".")[0] < 39; function gT(e, t, r, n) { - return r = r || {}, n ? A$(e, t, r) : hMe && t.layerX != null && t.layerX !== t.offsetX ? (r.zrX = t.layerX, r.zrY = t.layerY) : t.offsetX != null ? (r.zrX = t.offsetX, r.zrY = t.offsetY) : A$(e, t, r), r; + return r = r || {}, n ? A$(e, t, r) : fMe && t.layerX != null && t.layerX !== t.offsetX ? (r.zrX = t.layerX, r.zrY = t.layerY) : t.offsetX != null ? (r.zrX = t.offsetX, r.zrY = t.offsetY) : A$(e, t, r), r; } function A$(e, t, r) { if (pr.domSupported && e.getBoundingClientRect) { @@ -50096,13 +50092,13 @@ function aa(e, t, r) { a && gT(e, a, t, r); } else { gT(e, t, t, r); - var o = fMe(t); + var o = pMe(t); t.zrDelta = o ? o / 120 : -(t.detail || 0) / 3; } var s = t.button; - return t.which == null && s !== void 0 && dMe.test(t.type) && (t.which = s & 1 ? 1 : s & 2 ? 3 : s & 4 ? 2 : 0), t; + return t.which == null && s !== void 0 && hMe.test(t.type) && (t.which = s & 1 ? 1 : s & 2 ? 3 : s & 4 ? 2 : 0), t; } -function fMe(e) { +function pMe(e) { var t = e.wheelDelta; if (t) return t; @@ -50115,7 +50111,7 @@ function fMe(e) { function vT(e, t, r, n) { e.addEventListener(t, r, n); } -function pMe(e, t, r, n) { +function gMe(e, t, r, n) { e.removeEventListener(t, r, n); } var Hl = function(e) { @@ -50124,7 +50120,7 @@ var Hl = function(e) { function O$(e) { return e.which === 2 || e.which === 3; } -var gMe = function() { +var vMe = function() { function e() { this._track = []; } @@ -50159,7 +50155,7 @@ function L$(e) { var t = e[1][0] - e[0][0], r = e[1][1] - e[0][1]; return Math.sqrt(t * t + r * r); } -function vMe(e) { +function mMe(e) { return [ (e[0][0] + e[1][0]) / 2, (e[0][1] + e[1][1]) / 2 @@ -50173,7 +50169,7 @@ var Mx = { if (i && i.length > 1 && n && n.length > 1) { var o = L$(n) / L$(i); !isFinite(o) && (o = 1), t.pinchScale = o; - var a = vMe(n); + var a = mMe(n); return t.pinchX = a[0], t.pinchY = a[1], { type: "pinch", target: e[0].target, @@ -50216,7 +50212,7 @@ function MK(e) { var t = wo(); return S1(t, e), t; } -const mMe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const yMe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, clone: MK, copy: S1, @@ -50296,7 +50292,7 @@ var Kt = function() { var o = 1 - i; t.x = o * r.x + i * n.x, t.y = o * r.y + i * n.y; }, e; -}(), jy = Math.min, Uy = Math.max, lu = new Kt(), cu = new Kt(), uu = new Kt(), du = new Kt(), zp = new Kt(), Gp = new Kt(), yMe = function() { +}(), jy = Math.min, Uy = Math.max, lu = new Kt(), cu = new Kt(), uu = new Kt(), du = new Kt(), zp = new Kt(), Gp = new Kt(), CMe = function() { function e(t, r, n, i) { n < 0 && (t = t + n, n = -n), i < 0 && (r = r + i, i = -i), this.x = t, this.y = r, this.width = n, this.height = i; } @@ -50355,9 +50351,9 @@ var Kt = function() { t.width = l - t.x, t.height = c - t.y; }, e; }(); -const Zt = yMe; +const Zt = CMe; var DK = "silent"; -function CMe(e, t, r) { +function bMe(e, t, r) { return { type: e, event: r, @@ -50373,13 +50369,13 @@ function CMe(e, t, r) { wheelDelta: r.zrDelta, zrByTouch: r.zrByTouch, which: r.which, - stop: bMe + stop: SMe }; } -function bMe() { +function SMe() { Hl(this.event); } -var SMe = function(e) { +var wMe = function(e) { dn(t, e); function t() { var r = e !== null && e.apply(this, arguments) || this; @@ -50393,7 +50389,7 @@ var SMe = function(e) { this.x = t, this.y = r; } return e; -}(), wMe = [ +}(), xMe = [ "click", "dblclick", "mousewheel", @@ -50406,10 +50402,10 @@ var SMe = function(e) { dn(t, e); function t(r, n, i, o, a) { var s = e.call(this) || this; - return s._hovered = new Wp(0, 0), s.storage = r, s.painter = n, s.painterRoot = o, s._pointerSize = a, i = i || new SMe(), s.proxy = null, s.setHandlerProxy(i), s._draggingMgr = new iMe(s), s; + return s._hovered = new Wp(0, 0), s.storage = r, s.painter = n, s.painterRoot = o, s._pointerSize = a, i = i || new wMe(), s.proxy = null, s.setHandlerProxy(i), s._draggingMgr = new oMe(s), s; } return t.prototype.setHandlerProxy = function(r) { - this.proxy && this.proxy.dispose(), r && (z(wMe, function(n) { + this.proxy && this.proxy.dispose(), r && (z(xMe, function(n) { r.on && r.on(n, this[n], this); }, this), r.handler = this), this.proxy = r; }, t.prototype.mousemove = function(r) { @@ -50434,7 +50430,7 @@ var SMe = function(e) { r = r || {}; var o = r.target; if (!(o && o.silent)) { - for (var a = "on" + n, s = CMe(n, r, i); o && (o[a] && (s.cancelBubble = !!o[a].call(o, s)), o.trigger(n, s), o = o.__hostTarget ? o.__hostTarget : o.parent, !s.cancelBubble); ) + for (var a = "on" + n, s = bMe(n, r, i); o && (o[a] && (s.cancelBubble = !!o[a].call(o, s)), o.trigger(n, s), o = o.__hostTarget ? o.__hostTarget : o.parent, !s.cancelBubble); ) ; s.cancelBubble || (this.trigger(n, s), this.painter && this.painter.eachOtherLayer && this.painter.eachOtherLayer(function(l) { typeof l[a] == "function" && l[a].call(l, s), l.trigger && l.trigger(n, s); @@ -50457,7 +50453,7 @@ var SMe = function(e) { } return a; }, t.prototype.processGesture = function(r, n) { - this._gestureMgr || (this._gestureMgr = new gMe()); + this._gestureMgr || (this._gestureMgr = new vMe()); var i = this._gestureMgr; n === "start" && i.clear(); var o = i.recognize(r, this.findHover(r.zrX, r.zrY, null).target, this.proxy.dom); @@ -50484,7 +50480,7 @@ z(["click", "mousedown", "mouseup", "mousewheel", "dblclick", "contextmenu"], fu this.dispatchToElement(o, e, t); }; }); -function xMe(e, t, r) { +function EMe(e, t, r) { if (e[e.rectHover ? "rectContain" : "contain"](t, r)) { for (var n = e, i = void 0, o = !1; n; ) { if (n.ignoreClip && (o = !0), !o) { @@ -50503,7 +50499,7 @@ function xMe(e, t, r) { function F$(e, t, r, n, i) { for (var o = e.length - 1; o >= 0; o--) { var a = e[o], s = void 0; - if (a !== i && !a.ignore && (s = xMe(a, r, n)) && (!t.topTarget && (t.topTarget = a), s !== DK)) { + if (a !== i && !a.ignore && (s = EMe(a, r, n)) && (!t.topTarget && (t.topTarget = a), s !== DK)) { t.target = a; break; } @@ -50514,7 +50510,7 @@ function AK(e, t, r) { return t < 0 || t > n.getWidth() || r < 0 || r > n.getHeight(); } var OK = 32, jp = 7; -function EMe(e) { +function RMe(e) { for (var t = 0; e >= OK; ) t |= e & 1, e >>= 1; return e + t; @@ -50526,13 +50522,13 @@ function N$(e, t, r, n) { if (n(e[i++], e[t]) < 0) { for (; i < r && n(e[i], e[i - 1]) < 0; ) i++; - RMe(e, t, i); + PMe(e, t, i); } else for (; i < r && n(e[i], e[i - 1]) >= 0; ) i++; return i - t; } -function RMe(e, t, r) { +function PMe(e, t, r) { for (r--; t < r; ) { var n = e[t]; e[t++] = e[r], e[r--] = n; @@ -50596,7 +50592,7 @@ function Ax(e, t, r, n, i, o) { } return l; } -function PMe(e, t) { +function TMe(e, t) { var r = jp, n, i, o = 0, a = []; n = [], i = []; function s(f, p) { @@ -50785,7 +50781,7 @@ function CC(e, t, r, n) { o = N$(e, r, n, t), k$(e, r, n, r + o, t); return; } - var a = PMe(e, t), s = EMe(i); + var a = TMe(e, t), s = RMe(i); do { if (o = N$(e, r, n, t), o < s) { var l = i; @@ -50803,7 +50799,7 @@ function Ox() { function V$(e, t) { return e.zlevel === t.zlevel ? e.z === t.z ? e.z2 - t.z2 : e.z - t.z : e.zlevel - t.zlevel; } -var TMe = function() { +var _Me = function() { function e() { this._roots = [], this._displayList = [], this._displayListLen = 0, this.displayableSortFunc = V$; } @@ -51041,7 +51037,7 @@ function kK(e, t, r, n, i, o, a, s, l, c, u) { p = d - h, g = d + h, ha[0] = ni(e, r, i, a, p), ha[1] = ni(t, n, o, s, p), v = Pc(ha, Ds), p >= 0 && v < f ? (d = p, f = v) : (mf[0] = ni(e, r, i, a, g), mf[1] = ni(t, n, o, s, g), m = Pc(mf, Ds), g <= 1 && m < f ? (d = g, f = m) : h *= 0.5); return u && (u[0] = ni(e, r, i, a, d), u[1] = ni(t, n, o, s, d)), Tc(f); } -function _Me(e, t, r, n, i, o, a, s, l) { +function MMe(e, t, r, n, i, o, a, s, l) { for (var c = e, u = t, d = 0, h = 1 / l, f = 1; f <= l; f++) { var p = f * h, g = ni(e, r, i, a, p), v = ni(t, n, o, s, p), m = g - c, y = v - u; d += Math.sqrt(m * m + y * y), c = g, u = v; @@ -51055,7 +51051,7 @@ function gi(e, t, r, n) { function mT(e, t, r, n) { return 2 * ((1 - n) * (t - e) + n * (r - t)); } -function MMe(e, t, r, n, i) { +function DMe(e, t, r, n, i) { var o = e - 2 * t + r, a = 2 * (t - e), s = e - n, l = 0; if (bc(o)) { if (FK(a)) { @@ -51105,16 +51101,16 @@ function VK(e, t, r, n, i, o, a, s, l) { } return l && (l[0] = gi(e, r, i, c), l[1] = gi(t, n, o, c)), Tc(d); } -function DMe(e, t, r, n, i, o, a) { +function IMe(e, t, r, n, i, o, a) { for (var s = e, l = t, c = 0, u = 1 / a, d = 1; d <= a; d++) { var h = d * u, f = gi(e, r, i, h), p = gi(t, n, o, h), g = f - s, v = p - l; c += Math.sqrt(g * g + v * v), s = f, l = p; } return c; } -var IMe = /cubic-bezier\(([0-9,\.e ]+)\)/; +var AMe = /cubic-bezier\(([0-9,\.e ]+)\)/; function TI(e) { - var t = e && IMe.exec(e); + var t = e && AMe.exec(e); if (t) { var r = t[1].split(","), n = +ga(r[0]), i = +ga(r[1]), o = +ga(r[2]), a = +ga(r[3]); if (isNaN(n + i + o + a)) @@ -51125,7 +51121,7 @@ function TI(e) { }; } } -var AMe = function() { +var OMe = function() { function e(t) { this._inited = !1, this._startTime = 0, this._pausedTime = 0, this._paused = !1, this._life = t.life || 1e3, this._delay = t.delay || 0, this.loop = t.loop || !1, this.onframe = t.onframe || An, this.ondestroy = t.ondestroy || An, this.onrestart = t.onrestart || An, t.easing && this.setEasing(t.easing); } @@ -51156,7 +51152,7 @@ var AMe = function() { this.value = t; } return e; -}(), OMe = function() { +}(), LMe = function() { function e() { this._len = 0; } @@ -51175,7 +51171,7 @@ var AMe = function() { }, e; }(), Um = function() { function e(t) { - this._list = new OMe(), this._maxSize = 10, this._map = {}, this._maxSize = t; + this._list = new LMe(), this._maxSize = 10, this._map = {}, this._maxSize = t; } return e.prototype.put = function(t, r) { var n = this._list, i = this._map, o = null; @@ -51350,7 +51346,7 @@ var AMe = function() { function Qa(e) { return e = Math.round(e), e < 0 ? 0 : e > 255 ? 255 : e; } -function LMe(e) { +function FMe(e) { return e = Math.round(e), e < 0 ? 0 : e > 360 ? 360 : e; } function Hv(e) { @@ -51445,7 +51441,7 @@ function CT(e, t) { var r = (parseFloat(e[0]) % 360 + 360) % 360 / 360, n = ud(e[1]), i = ud(e[2]), o = i <= 0.5 ? i * (n + 1) : i + n - i * n, a = i * 2 - o; return t = t || [], oa(t, Qa(Fx(a, o, r + 1 / 3) * 255), Qa(Fx(a, o, r) * 255), Qa(Fx(a, o, r - 1 / 3) * 255), 1), e.length === 4 && (t[3] = e[3]), t; } -function FMe(e) { +function NMe(e) { if (e) { var t = e[0] / 255, r = e[1] / 255, n = e[2] / 255, i = Math.min(t, r, n), o = Math.max(t, r, n), a = o - i, s = (o + i) / 2, l, c; if (a === 0) @@ -51467,7 +51463,7 @@ function wb(e, t) { return Ja(r, r.length === 4 ? "rgba" : "rgb"); } } -function NMe(e) { +function kMe(e) { var t = Ji(e); if (t) return ((1 << 24) + (t[0] << 16) + (t[1] << 8) + +t[2]).toString(16).slice(1); @@ -51479,7 +51475,7 @@ function Jg(e, t, r) { return r[0] = Qa(Sc(a[0], s[0], l)), r[1] = Qa(Sc(a[1], s[1], l)), r[2] = Qa(Sc(a[2], s[2], l)), r[3] = Hv(Sc(a[3], s[3], l)), r; } } -var kMe = Jg; +var $Me = Jg; function _I(e, t, r) { if (!(!(t && t.length) || !(e >= 0 && e <= 1))) { var n = e * (t.length - 1), i = Math.floor(n), o = Math.ceil(n), a = Ji(t[i]), s = Ji(t[o]), l = n - i, c = Ja([ @@ -51496,11 +51492,11 @@ function _I(e, t, r) { } : c; } } -var $Me = _I; +var VMe = _I; function yf(e, t, r, n) { var i = Ji(e); if (e) - return i = FMe(i), t != null && (i[0] = LMe(t)), r != null && (i[1] = ud(r)), n != null && (i[2] = ud(n)), Ja(CT(i), "rgba"); + return i = NMe(i), t != null && (i[0] = FMe(t)), r != null && (i[1] = ud(r)), n != null && (i[2] = ud(n)), Ja(CT(i), "rgba"); } function zv(e, t) { var r = Ji(e); @@ -51517,7 +51513,7 @@ function Gv(e, t) { var r = Ji(e); return r ? (0.299 * r[0] + 0.587 * r[1] + 0.114 * r[2]) * r[3] / 255 + (1 - r[3]) * t : 0; } -function VMe() { +function BMe() { return Ja([ Math.round(Math.random() * 255), Math.round(Math.random() * 255), @@ -51540,21 +51536,21 @@ function xb(e) { } return e; } -const BMe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const HMe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, fastLerp: Jg, - fastMapToColor: kMe, + fastMapToColor: $Me, lerp: _I, lift: wb, liftColor: xb, lum: Gv, - mapToColor: $Me, + mapToColor: VMe, modifyAlpha: zv, modifyHSL: yf, parse: Ji, - random: VMe, + random: BMe, stringify: Ja, - toHex: NMe + toHex: kMe }, Symbol.toStringTag, { value: "Module" })); var Eb = Math.round; function Wv(e) { @@ -51580,22 +51576,22 @@ function qy(e) { function bT(e) { return Eb(e * 1e4) / 1e4; } -function HMe(e) { +function zMe(e) { return "matrix(" + qy(e[0]) + "," + qy(e[1]) + "," + qy(e[2]) + "," + qy(e[3]) + "," + bT(e[4]) + "," + bT(e[5]) + ")"; } -var zMe = { +var GMe = { left: "start", right: "end", center: "middle", middle: "middle" }; -function GMe(e, t, r) { +function WMe(e, t, r) { return r === "top" ? e += t / 2 : r === "bottom" && (e -= t / 2), e; } -function WMe(e) { +function jMe(e) { return e && (e.shadowBlur || e.shadowOffsetX || e.shadowOffsetY); } -function jMe(e) { +function UMe(e) { var t = e.style, r = e.getGlobalScale(); return [ t.shadowColor, @@ -51609,11 +51605,11 @@ function jMe(e) { function zK(e) { return e && !!e.image; } -function UMe(e) { +function KMe(e) { return e && !!e.svgElement; } function MI(e) { - return zK(e) || UMe(e); + return zK(e) || KMe(e); } function GK(e) { return e.type === "linear"; @@ -51635,7 +51631,7 @@ function KK(e) { var t = e.x || 0, r = e.y || 0, n = (e.rotation || 0) * Yg, i = $t(e.scaleX, 1), o = $t(e.scaleY, 1), a = e.skewX || 0, s = e.skewY || 0, l = []; return (t || r) && l.push("translate(" + t + "px," + r + "px)"), n && l.push("rotate(" + n + ")"), (i !== 1 || o !== 1) && l.push("scale(" + i + "," + o + ")"), (a || s) && l.push("skew(" + Eb(a * Yg) + "deg, " + Eb(s * Yg) + "deg)"), l.join(" "); } -var KMe = function() { +var ZMe = function() { return pr.hasGlobalWindow && gt(window.btoa) ? function(e) { return window.btoa(unescape(encodeURIComponent(e))); } : typeof Buffer < "u" ? function(e) { @@ -51652,7 +51648,7 @@ function Nx(e, t, r, n) { e[o] = yl(t[o], r[o], n); return e; } -function ZMe(e, t, r, n) { +function YMe(e, t, r, n) { for (var i = t.length, o = i && t[0].length, a = 0; a < i; a++) { e[a] || (e[a] = []); for (var s = 0; s < o; s++) @@ -51673,14 +51669,14 @@ function j$(e, t, r, n) { } return e; } -function YMe(e, t) { +function qMe(e, t) { for (var r = e.length, n = t.length, i = r > n ? t : e, o = Math.min(r, n), a = i[o - 1] || { color: [0, 0, 0, 0], offset: 0 }, s = o; s < Math.max(r, n); s++) i.push({ offset: a.offset, color: a.color.slice() }); } -function qMe(e, t, r) { +function XMe(e, t, r) { var n = e, i = t; if (!(!n.push || !i.push)) { var o = n.length, a = i.length; @@ -51715,7 +51711,7 @@ function ev(e) { function bC(e) { return e[0] = Math.floor(e[0]) || 0, e[1] = Math.floor(e[1]) || 0, e[2] = Math.floor(e[2]) || 0, e[3] = e[3] == null ? 1 : e[3], "rgba(" + e.join(",") + ")"; } -function XMe(e) { +function QMe(e) { return Ei(e && e[0]) ? 2 : 1; } var Qy = 0, SC = 1, ZK = 2, xg = 3, wT = 4, xT = 5, U$ = 6; @@ -51725,7 +51721,7 @@ function K$(e) { function Jy(e) { return e === SC || e === ZK; } -var Up = [0, 0, 0, 0], QMe = function() { +var Up = [0, 0, 0, 0], JMe = function() { function e(t) { this.keyframes = [], this.discrete = !1, this._invalid = !1, this._needsSort = !1, this._lastFr = 0, this._lastFrP = 0, this.propName = t; } @@ -51741,7 +51737,7 @@ var Up = [0, 0, 0, 0], QMe = function() { this._needsSort = !0; var i = this.keyframes, o = i.length, a = !1, s = U$, l = r; if (Ei(r)) { - var c = XMe(r); + var c = QMe(r); s = c, (c === 1 && !br(r[0]) || c === 2 && !br(r[0][0])) && (a = !0); } else if (br(r) && !Hc(r)) s = Qy; @@ -51776,7 +51772,7 @@ var Up = [0, 0, 0, 0], QMe = function() { }); for (var i = this.valType, o = n.length, a = n[o - 1], s = this.discrete, l = Jy(i), c = K$(i), u = 0; u < o; u++) { var d = n[u], h = d.value, f = a.value; - d.percent = d.time / t, s || (l && u !== o - 1 ? qMe(h, f, i) : c && YMe(h.colorStops, f.colorStops)); + d.percent = d.time / t, s || (l && u !== o - 1 ? XMe(h, f, i) : c && qMe(h.colorStops, f.colorStops)); } if (!s && i !== xT && r && this.needsAnimate() && r.needsAnimate() && i === r.valType && !r._finished) { this._additiveTrack = r; @@ -51812,7 +51808,7 @@ var Up = [0, 0, 0, 0], QMe = function() { if ((Jy(o) || c) && !y && (y = this._additiveValue = []), this.discrete) t[l] = m < 1 ? f.rawValue : p.rawValue; else if (Jy(o)) - o === SC ? Nx(y, f[i], p[i], m) : ZMe(y, f[i], p[i], m); + o === SC ? Nx(y, f[i], p[i], m) : YMe(y, f[i], p[i], m); else if (K$(o)) { var C = f[i], S = p[i], w = o === wT; t[l] = { @@ -51865,7 +51861,7 @@ var Up = [0, 0, 0, 0], QMe = function() { for (var o = this._tracks, a = 0; a < n.length; a++) { var s = n[a], l = o[s]; if (!l) { - l = o[s] = new QMe(s); + l = o[s] = new JMe(s); var c = void 0, u = this._getAdditiveTrack(s); if (u) { var d = u.keyframes, h = d[d.length - 1]; @@ -51923,7 +51919,7 @@ var Up = [0, 0, 0, 0], QMe = function() { n.push(s); } if (n.length || this._force) { - var h = new AMe({ + var h = new OMe({ life: i, loop: this._loop, delay: this._delay || 0, @@ -52017,7 +52013,7 @@ var Up = [0, 0, 0, 0], QMe = function() { function rf() { return (/* @__PURE__ */ new Date()).getTime(); } -var JMe = function(e) { +var eDe = function(e) { dn(t, e); function t(r) { var n = e.call(this) || this; @@ -52071,7 +52067,7 @@ var JMe = function(e) { var i = new DI(r, n.loop); return this.addAnimator(i), i; }, t; -}(Da), eDe = 300, kx = pr.domSupported, $x = function() { +}(Da), tDe = 300, kx = pr.domSupported, $x = function() { var e = [ "click", "dblclick", @@ -52108,7 +52104,7 @@ function ET(e) { var t = e.pointerType; return t === "pen" || t === "touch"; } -function tDe(e) { +function rDe(e) { e.touching = !0, e.touchTimer != null && (clearTimeout(e.touchTimer), e.touchTimer = null), e.touchTimer = setTimeout(function() { e.touching = !1, e.touchTimer = null; }, 700); @@ -52116,15 +52112,15 @@ function tDe(e) { function Vx(e) { e && (e.zrByTouch = !0); } -function rDe(e, t) { - return aa(e.dom, new nDe(e, t), !0); +function nDe(e, t) { + return aa(e.dom, new iDe(e, t), !0); } function YK(e, t) { for (var r = t, n = !1; r && r.nodeType !== 9 && !(n = r.domBelongToZr || r !== t && r === e.painterRoot); ) r = r.parentNode; return n; } -var nDe = /* @__PURE__ */ function() { +var iDe = /* @__PURE__ */ function() { function e(t, r) { this.stopPropagation = An, this.stopImmediatePropagation = An, this.preventDefault = An, this.type = r.type, this.target = this.currentTarget = t.dom, this.pointerType = r.pointerType, this.clientX = r.clientX, this.clientY = r.clientY; } @@ -52159,7 +52155,7 @@ var nDe = /* @__PURE__ */ function() { e = aa(this.dom, e), Vx(e), this.handler.processGesture(e, "change"), Ba.mousemove.call(this, e); }, touchend: function(e) { - e = aa(this.dom, e), Vx(e), this.handler.processGesture(e, "end"), Ba.mouseup.call(this, e), +/* @__PURE__ */ new Date() - +this.__lastTouchMoment < eDe && Ba.click.call(this, e); + e = aa(this.dom, e), Vx(e), this.handler.processGesture(e, "end"), Ba.mouseup.call(this, e), +/* @__PURE__ */ new Date() - +this.__lastTouchMoment < tDe && Ba.click.call(this, e); }, pointerdown: function(e) { Ba.mousedown.call(this, e); @@ -52194,7 +52190,7 @@ var RT = { this.__togglePointerCapture(!1), this.trigger("mouseup", e), t && (e.zrEventControl = "only_globalout", this.trigger("mouseout", e)); } }; -function iDe(e, t) { +function oDe(e, t) { var r = t.domHandlers; pr.pointerEventsSupported ? z($x.pointer, function(n) { wC(t, n, function(i) { @@ -52202,7 +52198,7 @@ function iDe(e, t) { }); }) : (pr.touchEventsSupported && z($x.touch, function(n) { wC(t, n, function(i) { - r[n].call(e, i), tDe(t); + r[n].call(e, i), rDe(t); }); }), z($x.mouse, function(n) { wC(t, n, function(i) { @@ -52210,11 +52206,11 @@ function iDe(e, t) { }); })); } -function oDe(e, t) { +function aDe(e, t) { pr.pointerEventsSupported ? z(Z$.pointer, r) : pr.touchEventsSupported || z(Z$.mouse, r); function r(n) { function i(o) { - o = PI(o), YK(e, o.target) || (o = rDe(e, o), t.domHandlers[n].call(e, o)); + o = PI(o), YK(e, o.target) || (o = nDe(e, o), t.domHandlers[n].call(e, o)); } wC(t, n, i, { capture: !0 }); } @@ -52225,7 +52221,7 @@ function wC(e, t, r, n) { function Bx(e) { var t = e.mounted; for (var r in t) - t.hasOwnProperty(r) && pMe(e.domTarget, r, t[r], e.listenerOpts[r]); + t.hasOwnProperty(r) && gMe(e.domTarget, r, t[r], e.listenerOpts[r]); e.mounted = {}; } var q$ = /* @__PURE__ */ function() { @@ -52233,11 +52229,11 @@ var q$ = /* @__PURE__ */ function() { this.mounted = {}, this.listenerOpts = {}, this.touching = !1, this.domTarget = t, this.domHandlers = r; } return e; -}(), aDe = function(e) { +}(), sDe = function(e) { dn(t, e); function t(r, n) { var i = e.call(this) || this; - return i.__pointerCapturing = !1, i.dom = r, i.painterRoot = n, i._localHandlerScope = new q$(r, Ba), kx && (i._globalHandlerScope = new q$(document, RT)), iDe(i, i._localHandlerScope), i; + return i.__pointerCapturing = !1, i.dom = r, i.painterRoot = n, i._localHandlerScope = new q$(r, Ba), kx && (i._globalHandlerScope = new q$(document, RT)), oDe(i, i._localHandlerScope), i; } return t.prototype.dispose = function() { Bx(this._localHandlerScope), kx && Bx(this._globalHandlerScope); @@ -52247,16 +52243,16 @@ var q$ = /* @__PURE__ */ function() { if (this.__mayPointerCapture = null, kx && +this.__pointerCapturing ^ +r) { this.__pointerCapturing = r; var n = this._globalHandlerScope; - r ? oDe(this, n) : Bx(n); + r ? aDe(this, n) : Bx(n); } }, t; }(Da), qK = 1; pr.hasGlobalWindow && (qK = Math.max(window.devicePixelRatio || window.screen && window.screen.deviceXDPI / window.screen.logicalXDPI || 1, 1)); -var Rb = qK, PT = 0.4, TT = "#333", _T = "#ccc", sDe = "#eee", X$ = jm, Q$ = 5e-5; +var Rb = qK, PT = 0.4, TT = "#333", _T = "#ccc", lDe = "#eee", X$ = jm, Q$ = 5e-5; function hu(e) { return e > Q$ || e < -Q$; } -var fu = [], bh = [], Hx = wo(), zx = Math.abs, lDe = function() { +var fu = [], bh = [], Hx = wo(), zx = Math.abs, cDe = function() { function e() { } return e.prototype.getLocalTransform = function(t) { @@ -52350,7 +52346,7 @@ function XK(e, t) { e[n] = t[n]; } } -const Pl = lDe; +const Pl = cDe; var J$ = {}; function Wo(e, t) { t = t || Vc; @@ -52434,9 +52430,9 @@ function Pb(e, t, r) { } return e = e || {}, e.x = l, e.y = c, e.align = u, e.verticalAlign = d, e; } -var Gx = "__zr_normal__", Wx = Us.concat(["ignore"]), cDe = Ra(Us, function(e, t) { +var Gx = "__zr_normal__", Wx = Us.concat(["ignore"]), uDe = Ra(Us, function(e, t) { return e[t] = !0, e; -}, { ignore: !1 }), Sh = {}, uDe = new Zt(0, 0, 0, 0), R1 = function() { +}, { ignore: !1 }), Sh = {}, dDe = new Zt(0, 0, 0, 0), R1 = function() { function e(t) { this.id = SI(), this.animators = [], this.currentStates = [], this.states = {}, this._init(t); } @@ -52465,7 +52461,7 @@ var Gx = "__zr_normal__", Wx = Us.concat(["ignore"]), cDe = Ra(Us, function(e, t o.parent = i ? this : null; var c = !1; if (o.copyTransform(r), n.position != null) { - var u = uDe; + var u = dDe; n.layoutRect ? u.copy(n.layoutRect) : u.copy(this.getBoundingRect()), i || u.applyTransform(this.transform), this.calculateTextPosition ? this.calculateTextPosition(Sh, n, u) : Pb(Sh, n, u), o.x = Sh.x, o.y = Sh.y, a = Sh.align, s = Sh.verticalAlign; var d = n.origin; if (d && n.rotation != null) { @@ -52612,7 +52608,7 @@ var Gx = "__zr_normal__", Wx = Us.concat(["ignore"]), cDe = Ra(Us, function(e, t var s = !(r && i); r && r.textConfig ? (this.textConfig = Pe({}, i ? this.textConfig : n.textConfig), Pe(this.textConfig, r.textConfig)) : s && n.textConfig && (this.textConfig = n.textConfig); for (var l = {}, c = !1, u = 0; u < Wx.length; u++) { - var d = Wx[u], h = o && cDe[d]; + var d = Wx[u], h = o && uDe[d]; r && r[d] != null ? h ? (c = !0, l[d] = r[d]) : this[d] = r[d] : s && n[d] != null && (h ? (c = !0, l[d] = n[d]) : this[d] = n[d]); } if (!o) @@ -52794,17 +52790,17 @@ function Ux(e, t, r) { for (var n = 0; n < r; n++) e[n] = t[n]; } -function dDe(e) { +function hDe(e) { return Ei(e[0]); } -function hDe(e, t, r) { +function fDe(e, t, r) { if (Ei(t[r])) if (Ei(e[r]) || (e[r] = []), Vi(t[r])) { var n = t[r].length; e[r].length !== n && (e[r] = new t[r].constructor(n), Ux(e[r], t[r], n)); } else { var i = t[r], o = e[r], a = i.length; - if (dDe(i)) + if (hDe(i)) for (var s = i[0].length, l = 0; l < a; l++) o[l] ? Ux(o[l], i[l], s) : o[l] = Array.prototype.slice.call(i[l]); else @@ -52814,10 +52810,10 @@ function hDe(e, t, r) { else e[r] = t[r]; } -function fDe(e, t) { - return e === t || Ei(e) && Ei(t) && pDe(e, t); -} function pDe(e, t) { + return e === t || Ei(e) && Ei(t) && gDe(e, t); +} +function gDe(e, t) { var r = e.length; if (r !== t.length) return !1; @@ -52853,7 +52849,7 @@ function QK(e, t, r, n, i, o, a, s) { } } if (i.force || (g = kr(g, function(_) { - return !fDe(n[_], r[_]); + return !pDe(n[_], r[_]); }), C = g.length), C > 0 || i.force && !a.length) { var R = void 0, P = void 0, T = void 0; if (s) { @@ -52866,7 +52862,7 @@ function QK(e, t, r, n, i, o, a, s) { T = {}; for (var S = 0; S < C; S++) { var m = g[S]; - T[m] = ev(r[m]), hDe(r, n, m); + T[m] = ev(r[m]), fDe(r, n, m); } } var w = new DI(r, !1, !1, d ? kr(p, function(D) { @@ -52974,10 +52970,10 @@ const Lt = JK; * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt */ var Rg = {}, Ju = {}; -function gDe(e) { +function vDe(e) { delete Ju[e]; } -function vDe(e) { +function mDe(e) { if (!e) return !1; if (typeof e == "string") @@ -52989,18 +52985,18 @@ function vDe(e) { } return !1; } -var mDe = function() { +var yDe = function() { function e(t, r, n) { var i = this; this._sleepAfterStill = 10, this._stillFrameAccum = 0, this._needsRefresh = !0, this._needsRefreshHover = !0, this._darkMode = !1, n = n || {}, this.dom = r, this.id = t; - var o = new TMe(), a = n.renderer || "canvas"; + var o = new _Me(), a = n.renderer || "canvas"; if (Rg[a] || (a = ar(Rg)[0]), process.env.NODE_ENV !== "production" && !Rg[a]) throw new Error("Renderer '" + a + "' is not imported. Please import it first."); n.useDirtyRect = n.useDirtyRect == null ? !1 : n.useDirtyRect; var s = new Rg[a](r, o, n, t), l = n.ssr || s.ssrOnly; this.storage = o, this.painter = s; - var c = !pr.node && !pr.worker && !l ? new aDe(s.getViewportRoot(), s.root) : null, u = n.useCoarsePointer, d = u == null || u === "auto" ? pr.touchEventsSupported : !!u, h = 44, f; - d && (f = $t(n.pointerSize, h)), this.handler = new IK(o, s, c, s.root, f), this.animation = new JMe({ + var c = !pr.node && !pr.worker && !l ? new sDe(s.getViewportRoot(), s.root) : null, u = n.useCoarsePointer, d = u == null || u === "auto" ? pr.touchEventsSupported : !!u, h = 44, f; + d && (f = $t(n.pointerSize, h)), this.handler = new IK(o, s, c, s.root, f), this.animation = new eDe({ stage: { update: l ? null : function() { return i._flush(!0); @@ -53015,7 +53011,7 @@ var mDe = function() { }, e.prototype.configLayer = function(t, r) { this._disposed || (this.painter.configLayer && this.painter.configLayer(t, r), this.refresh()); }, e.prototype.setBackgroundColor = function(t) { - this._disposed || (this.painter.setBackgroundColor && this.painter.setBackgroundColor(t), this.refresh(), this._backgroundColor = t, this._darkMode = vDe(t)); + this._disposed || (this.painter.setBackgroundColor && this.painter.setBackgroundColor(t), this.refresh(), this._backgroundColor = t, this._darkMode = mDe(t)); }, e.prototype.getBackgroundColor = function() { return this._backgroundColor; }, e.prototype.setDarkMode = function(t) { @@ -53071,22 +53067,22 @@ var mDe = function() { this.storage.delAllRoots(), this.painter.clear(); } }, e.prototype.dispose = function() { - this._disposed || (this.animation.stop(), this.clear(), this.storage.dispose(), this.painter.dispose(), this.handler.dispose(), this.animation = this.storage = this.painter = this.handler = null, this._disposed = !0, gDe(this.id)); + this._disposed || (this.animation.stop(), this.clear(), this.storage.dispose(), this.painter.dispose(), this.handler.dispose(), this.animation = this.storage = this.painter = this.handler = null, this._disposed = !0, vDe(this.id)); }, e; }(); function MT(e, t) { - var r = new mDe(SI(), e, t); + var r = new yDe(SI(), e, t); return Ju[r.id] = r, r; } -function yDe(e) { +function CDe(e) { e.dispose(); } -function CDe() { +function bDe() { for (var e in Ju) Ju.hasOwnProperty(e) && Ju[e].dispose(); Ju = {}; } -function bDe(e) { +function SDe(e) { return Ju[e]; } function eZ(e, t) { @@ -53100,20 +53096,20 @@ function tZ(e) { function rZ(e) { DT = e; } -var SDe = "5.6.0"; -const wDe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +var wDe = "5.6.0"; +const xDe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - dispose: yDe, - disposeAll: CDe, + dispose: CDe, + disposeAll: bDe, getElementSSRData: tZ, - getInstance: bDe, + getInstance: SDe, init: MT, registerPainter: eZ, registerSSRDataGetter: rZ, - version: SDe + version: wDe }, Symbol.toStringTag, { value: "Module" })); var t8 = 1e-4, nZ = 20; -function xDe(e) { +function EDe(e) { return e.replace(/^\s+|\s+$/g, ""); } function Nr(e, t, r, n) { @@ -53155,7 +53151,7 @@ function Xe(e, t) { e = "100%"; break; } - return Je(e) ? xDe(e).match(/%$/) ? parseFloat(e) / 100 * t : parseFloat(e) : e == null ? NaN : +e; + return Je(e) ? EDe(e).match(/%$/) ? parseFloat(e) / 100 * t : parseFloat(e) : e == null ? NaN : +e; } function Rn(e, t, r) { return t == null && (t = 10), t = Math.min(Math.max(0, t), nZ), e = (+e).toFixed(t), r ? e : +e; @@ -53183,7 +53179,7 @@ function II(e, t) { var r = Math.log, n = Math.LN10, i = Math.floor(r(e[1] - e[0]) / n), o = Math.round(r(Math.abs(t[1] - t[0])) / n), a = Math.min(Math.max(-i + o, 0), 20); return isFinite(a) ? a : 20; } -function EDe(e, t, r) { +function RDe(e, t, r) { if (!e[t]) return 0; var n = iZ(e, r); @@ -53212,7 +53208,7 @@ function iZ(e, t) { return f / n; }); } -function RDe(e, t) { +function PDe(e, t) { var r = Math.max(Ka(e), Ka(t)), n = e + t; return r > nZ ? n : Rn(n, r); } @@ -53224,12 +53220,12 @@ function AI(e) { function Ff(e) { return e > -t8 && e < t8; } -var PDe = /^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/; +var TDe = /^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/; function jo(e) { if (e instanceof Date) return e; if (Je(e)) { - var t = PDe.exec(e); + var t = TDe.exec(e); if (!t) return /* @__PURE__ */ new Date(NaN); if (t[8]) { @@ -53288,18 +53284,18 @@ function sZ(e, t) { function r8(e, t) { return e == null ? t : t == null ? e : e * t / sZ(e, t); } -var TDe = "[ECharts] ", n8 = {}, _De = typeof console < "u" && console.warn && console.log; +var _De = "[ECharts] ", n8 = {}, MDe = typeof console < "u" && console.warn && console.log; function T1(e, t, r) { - if (_De) { + if (MDe) { if (r) { if (n8[t]) return; n8[t] = !0; } - console[e](TDe + t); + console[e](_De + t); } } -function MDe(e, t) { +function DDe(e, t) { T1("log", e, t); } function bn(e, t) { @@ -53366,7 +53362,7 @@ var o8 = ["fontStyle", "fontWeight", "fontSize", "fontFamily", "rich", "tag", "c function up(e) { return St(e) && !Ae(e) && !(e instanceof Date) ? e.value : e; } -function DDe(e) { +function IDe(e) { return St(e) && !(e instanceof Array); } function uZ(e, t, r) { @@ -53380,10 +53376,10 @@ function uZ(e, t, r) { } process.env.NODE_ENV !== "production" && (l.id != null && !s8(l.id) && a8(l.id), l.name != null && !s8(l.name) && a8(l.name)); }); - var s = IDe(e, a, r); - return (n || i) && ADe(s, e, a, t), n && ODe(s, t), n || i ? LDe(s, t, i) : o && FDe(s, t), NDe(s), s; + var s = ADe(e, a, r); + return (n || i) && ODe(s, e, a, t), n && LDe(s, t), n || i ? FDe(s, t, i) : o && NDe(s, t), kDe(s), s; } -function IDe(e, t, r) { +function ADe(e, t, r) { var n = []; if (r === "replaceAll") return n; @@ -53398,7 +53394,7 @@ function IDe(e, t, r) { } return n; } -function ADe(e, t, r, n) { +function ODe(e, t, r, n) { z(n, function(i, o) { if (!(!i || i.id == null)) { var a = tv(i.id), s = r.get(a); @@ -53409,7 +53405,7 @@ function ADe(e, t, r, n) { } }); } -function ODe(e, t) { +function LDe(e, t) { z(t, function(r, n) { if (!(!r || r.name == null)) for (var i = 0; i < e.length; i++) { @@ -53421,7 +53417,7 @@ function ODe(e, t) { } }); } -function LDe(e, t, r) { +function FDe(e, t, r) { z(t, function(n) { if (n) { for ( @@ -53440,7 +53436,7 @@ function LDe(e, t, r) { } }); } -function FDe(e, t) { +function NDe(e, t) { z(t, function(r) { e.push({ newOption: r, @@ -53450,7 +53446,7 @@ function FDe(e, t) { }); }); } -function NDe(e) { +function kDe(e) { var t = pt(); z(e, function(r) { var n = r.existing; @@ -53500,20 +53496,20 @@ function LI(e) { function Nf(e) { return e && e.id != null && tv(e.id).indexOf(cZ) === 0; } -function kDe(e) { +function $De(e) { return cZ + e; } -function $De(e, t, r) { +function VDe(e, t, r) { z(e, function(n) { var i = n.newOption; - St(i) && (n.keyInfo.mainType = t, n.keyInfo.subType = VDe(t, i, n.existing, r)); + St(i) && (n.keyInfo.mainType = t, n.keyInfo.subType = BDe(t, i, n.existing, r)); }); } -function VDe(e, t, r, n) { +function BDe(e, t, r, n) { var i = t.type ? t.type : r ? r.subType : n.determineSubType(e, t); return i; } -function BDe(e, t) { +function HDe(e, t) { var r = {}, n = {}; return i(e || [], r), i(t || [], n, r), [o(r), o(n)]; function i(a, s, l) { @@ -53556,12 +53552,12 @@ function Id(e, t) { }) : e.indexOfName(t.name); } function Cr() { - var e = "__ec_inner_" + HDe++; + var e = "__ec_inner_" + zDe++; return function(t) { return t[e] || (t[e] = {}); }; } -var HDe = aZ(); +var zDe = aZ(); function rv(e, t, r) { var n = FI(t, r), i = n.mainTypeSpecified, o = n.queryOptionMap, a = n.others, s = a, l = r ? r.defaultMainType : null; return !i && l && o.set(l, {}), o.each(function(c, u) { @@ -53602,7 +53598,7 @@ var Un = { useDefault: !0, enableAll: !1, enableNone: !1 -}, zDe = { +}, GDe = { useDefault: !1, enableAll: !0, enableNone: !0 @@ -53627,10 +53623,10 @@ function Ym(e, t, r, n) { function hZ(e, t, r) { e.setAttribute ? e.setAttribute(t, r) : e[t] = r; } -function GDe(e, t) { +function WDe(e, t) { return e.getAttribute ? e.getAttribute(t) : e[t]; } -function WDe(e) { +function jDe(e) { return e === "auto" ? pr.domSupported ? "html" : "richText" : e || "html"; } function OT(e, t) { @@ -53665,22 +53661,22 @@ function fZ(e, t, r, n, i) { return s; } } -var jDe = ".", pu = "___EC__COMPONENT__CONTAINER___", pZ = "___EC__EXTENDED_CLASS___"; +var UDe = ".", pu = "___EC__COMPONENT__CONTAINER___", pZ = "___EC__EXTENDED_CLASS___"; function Os(e) { var t = { main: "", sub: "" }; if (e) { - var r = e.split(jDe); + var r = e.split(UDe); t.main = r[0] || "", t.sub = r[1] || ""; } return t; } -function UDe(e) { +function KDe(e) { Et(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e), 'componentType "' + e + '" illegal'); } -function KDe(e) { +function ZDe(e) { return !!(e && e[pZ]); } function NI(e, t) { @@ -53689,7 +53685,7 @@ function NI(e, t) { r[o] || console.warn("Method `" + o + "` should be implemented" + (r.type ? " in " + r.type : "") + "."); }); var n = this, i; - return ZDe(n) ? i = /** @class */ + return YDe(n) ? i = /** @class */ function(o) { be(a, o); function a() { @@ -53698,28 +53694,28 @@ function NI(e, t) { return a; }(n) : (i = function() { (r.$constructor || n).apply(this, arguments); - }, wI(i, this)), Pe(i.prototype, r), i[pZ] = !0, i.extend = this.extend, i.superCall = XDe, i.superApply = QDe, i.superClass = n, i; + }, wI(i, this)), Pe(i.prototype, r), i[pZ] = !0, i.extend = this.extend, i.superCall = QDe, i.superApply = JDe, i.superClass = n, i; }; } -function ZDe(e) { +function YDe(e) { return gt(e) && /^class\s/.test(Function.prototype.toString.call(e)); } function gZ(e, t) { e.extend = t.extend; } -var YDe = Math.round(Math.random() * 10); -function qDe(e) { - var t = ["__\0is_clz", YDe++].join("_"); +var qDe = Math.round(Math.random() * 10); +function XDe(e) { + var t = ["__\0is_clz", qDe++].join("_"); e.prototype[t] = !0, process.env.NODE_ENV !== "production" && Et(!e.isInstance, 'The method "is" can not be defined.'), e.isInstance = function(r) { return !!(r && r[t]); }; } -function XDe(e, t) { +function QDe(e, t) { for (var r = [], n = 2; n < arguments.length; n++) r[n - 2] = arguments[n]; return this.superClass.prototype[t].apply(e, r); } -function QDe(e, t, r) { +function JDe(e, t, r) { return this.superClass.prototype[t].apply(e, r); } function _1(e) { @@ -53727,7 +53723,7 @@ function _1(e) { e.registerClass = function(n) { var i = n.type || n.prototype.type; if (i) { - UDe(i), n.prototype.type = i; + KDe(i), n.prototype.type = i; var o = Os(i); if (!o.sub) process.env.NODE_ENV !== "production" && t[o.main] && console.warn(o.main + " exists."), t[o.main] = n; @@ -53778,7 +53774,7 @@ function Ad(e, t) { return a; }; } -var JDe = [ +var eIe = [ ["fill", "color"], ["shadowBlur"], ["shadowOffsetX"], @@ -53787,17 +53783,17 @@ var JDe = [ ["shadowColor"] // Option decal is in `DecalObject` but style.decal is in `PatternObject`. // So do not transfer decal directly. -], eIe = Ad(JDe), tIe = ( +], tIe = Ad(eIe), rIe = ( /** @class */ function() { function e() { } return e.prototype.getAreaStyle = function(t, r) { - return eIe(this, t, r); + return tIe(this, t, r); }, e; }() ), LT = new Um(50); -function rIe(e) { +function nIe(e) { if (typeof e == "string") { var t = LT.get(e); return t && t.image; @@ -53867,19 +53863,19 @@ function yZ(e, t) { e += t.ellipsis; break; } - var s = a === 0 ? nIe(e, i, t.ascCharWidth, t.cnCharWidth) : o > 0 ? Math.floor(e.length * i / o) : 0; + var s = a === 0 ? iIe(e, i, t.ascCharWidth, t.cnCharWidth) : o > 0 ? Math.floor(e.length * i / o) : 0; e = e.substr(0, s), o = Wo(e, n); } return e === "" && (e = t.placeholder), e; } -function nIe(e, t, r, n) { +function iIe(e, t, r, n) { for (var i = 0, o = 0, a = e.length; o < a && i < t; o++) { var s = e.charCodeAt(o); i += 0 <= s && s <= 127 ? r : n; } return o; } -function iIe(e, t) { +function oIe(e, t) { e != null && (e += ""); var r = t.overflow, n = t.padding, i = t.font, o = r === "truncate", a = E1(i), s = $t(t.lineHeight, a), l = !!t.backgroundColor, c = t.lineOverflow === "truncate", u = t.width, d; u != null && (r === "break" || r === "breakAll") ? d = e ? CZ(e, t.font, u, r === "breakAll", 0).lines : [] : d = e ? e.split(` @@ -53911,7 +53907,7 @@ function iIe(e, t) { width: u }; } -var oIe = /* @__PURE__ */ function() { +var aIe = /* @__PURE__ */ function() { function e() { } return e; @@ -53920,14 +53916,14 @@ var oIe = /* @__PURE__ */ function() { this.tokens = [], t && (this.tokens = t); } return e; -}(), aIe = /* @__PURE__ */ function() { +}(), sIe = /* @__PURE__ */ function() { function e() { this.width = 0, this.height = 0, this.contentWidth = 0, this.contentHeight = 0, this.outerWidth = 0, this.outerHeight = 0, this.lines = []; } return e; }(); -function sIe(e, t) { - var r = new aIe(); +function lIe(e, t) { + var r = new sIe(); if (e != null && (e += ""), !e) return r; for (var n = t.width, i = t.height, o = t.overflow, a = (o === "break" || o === "breakAll") && n != null ? { width: n, accumWidth: 0, breakAll: o === "breakAll" } : null, s = Kx.lastIndex = 0, l; (l = Kx.exec(e)) != null; ) { @@ -53954,7 +53950,7 @@ function sIe(e, t) { else { if (A) { var M = E.backgroundColor, O = M && M.image; - O && (O = rIe(O), M1(O) && (x.width = Math.max(x.width, O.width * _ / O.height))); + O && (O = nIe(O), M1(O) && (x.width = Math.max(x.width, O.width * _ / O.height))); } var F = p && n != null ? n - S : null; F != null && F < x.width ? !A || F < P ? (x.text = "", x.width = x.contentWidth = 0) : (x.text = vZ(x.text, F - P, T, t.ellipsis, { minChar: t.truncateMinChar }), x.width = x.contentWidth = Wo(x.text, T)) : x.contentWidth = Wo(x.text, T); @@ -53986,7 +53982,7 @@ function Zx(e, t, r, n, i) { u = t.split(` `); for (var v = 0; v < u.length; v++) { - var m = u[v], y = new oIe(); + var m = u[v], y = new aIe(); if (y.styleName = i, y.text = m, y.isLineHolder = !m && !o, typeof a.width == "number" ? y.width = a.width : y.width = d ? d[v] : Wo(m, l), !v && !c) { var C = (s[s.length - 1] || (s[0] = new c8())).tokens, S = C.length; S === 1 && C[0].isLineHolder ? C[0] = y : (m || !S || o) && C.push(y); @@ -53994,15 +53990,15 @@ function Zx(e, t, r, n, i) { s.push(new c8([y])); } } -function lIe(e) { +function cIe(e) { var t = e.charCodeAt(0); return t >= 32 && t <= 591 || t >= 880 && t <= 4351 || t >= 4608 && t <= 5119 || t >= 7680 && t <= 8303; } -var cIe = Ra(",&?/;] ".split(""), function(e, t) { +var uIe = Ra(",&?/;] ".split(""), function(e, t) { return e[t] = !0, e; }, {}); -function uIe(e) { - return lIe(e) ? !!cIe[e] : !0; +function dIe(e) { + return cIe(e) ? !!uIe[e] : !0; } function CZ(e, t, r, n, i) { for (var o = [], a = [], s = "", l = "", c = 0, u = 0, d = 0; d < e.length; d++) { @@ -54012,7 +54008,7 @@ function CZ(e, t, r, n, i) { l && (s += l, u += c), o.push(s), a.push(u), s = "", l = "", c = 0, u = 0; continue; } - var f = Wo(h, t), p = n ? !1 : !uIe(h); + var f = Wo(h, t), p = n ? !1 : !dIe(h); if (o.length ? u + f > r : i + u + f > r) { u ? (s || l) && (p ? (s || (s = l, l = "", c = 0, u = c), o.push(s), a.push(u - c), l += h, c += f, s = "", u = c) : (l && (s += l, l = "", c = 0), o.push(s), a.push(u), s = h, u = f)) : p ? (o.push(l), a.push(c), l = h, c = f) : (o.push(h), a.push(f)); continue; @@ -54042,7 +54038,7 @@ var FT = "__zr_style_" + Math.round(Math.random() * 10), dd = { } }; dd[FT] = !0; -var u8 = ["z", "z2", "invisible"], dIe = ["invisible"], hIe = function(e) { +var u8 = ["z", "z2", "invisible"], hIe = ["invisible"], fIe = function(e) { dn(t, e); function t(r) { return e.call(this, r) || this; @@ -54059,7 +54055,7 @@ var u8 = ["z", "z2", "invisible"], dIe = ["invisible"], hIe = function(e) { }, t.prototype.innerAfterBrush = function() { }, t.prototype.shouldBePainted = function(r, n, i, o) { var a = this.transform; - if (this.ignore || this.invisible || this.style.opacity === 0 || this.culling && fIe(this, r, n) || a && !a[0] && !a[3]) + if (this.ignore || this.invisible || this.style.opacity === 0 || this.culling && pIe(this, r, n) || a && !a[0] && !a[3]) return !1; if (i && this.__clipPaths) { for (var s = 0; s < this.__clipPaths.length; ++s) @@ -54139,7 +54135,7 @@ var u8 = ["z", "z2", "invisible"], dIe = ["invisible"], hIe = function(e) { }, s, this.getAnimationStyleProps()); } else this.useStyle(c); - for (var g = this.__inHover ? dIe : u8, h = 0; h < g.length; h++) { + for (var g = this.__inHover ? hIe : u8, h = 0; h < g.length; h++) { var f = g[h]; n && n[f] != null ? this[f] = n[f] : l && i[f] != null && (this[f] = i[f]); } @@ -54158,10 +54154,10 @@ var u8 = ["z", "z2", "invisible"], dIe = ["invisible"], hIe = function(e) { r.type = "displayable", r.invisible = !1, r.z = 0, r.z2 = 0, r.zlevel = 0, r.culling = !1, r.cursor = "pointer", r.rectHover = !1, r.incremental = !1, r._rect = null, r.dirtyRectTolerance = 0, r.__dirty = Fo | wg; }(), t; }(R1), Yx = new Zt(0, 0, 0, 0), qx = new Zt(0, 0, 0, 0); -function fIe(e, t, r) { +function pIe(e, t, r) { return Yx.copy(e.getBoundingRect()), e.transform && Yx.applyTransform(e.transform), qx.width = t, qx.height = r, !Yx.intersect(qx); } -const Ta = hIe; +const Ta = fIe; var vo = Math.min, mo = Math.max, Xx = Math.sin, Qx = Math.cos, gu = Math.PI * 2, e0 = Jc(), t0 = Jc(), r0 = Jc(); function I1(e, t, r) { if (e.length !== 0) { @@ -54174,7 +54170,7 @@ function d8(e, t, r, n, i, o) { i[0] = vo(e, r), i[1] = vo(t, n), o[0] = mo(e, r), o[1] = mo(t, n); } var h8 = [], f8 = []; -function pIe(e, t, r, n, i, o, a, s, l, c) { +function gIe(e, t, r, n, i, o, a, s, l, c) { var u = NK, d = ni, h = u(e, r, i, a, h8); l[0] = 1 / 0, l[1] = 1 / 0, c[0] = -1 / 0, c[1] = -1 / 0; for (var f = 0; f < h; f++) { @@ -54188,11 +54184,11 @@ function pIe(e, t, r, n, i, o, a, s, l, c) { } l[0] = vo(e, l[0]), c[0] = mo(e, c[0]), l[0] = vo(a, l[0]), c[0] = mo(a, c[0]), l[1] = vo(t, l[1]), c[1] = mo(t, c[1]), l[1] = vo(s, l[1]), c[1] = mo(s, c[1]); } -function gIe(e, t, r, n, i, o, a, s) { +function vIe(e, t, r, n, i, o, a, s) { var l = $K, c = gi, u = mo(vo(l(e, r, i), 1), 0), d = mo(vo(l(t, n, o), 1), 0), h = c(e, r, i, u), f = c(t, n, o, d); a[0] = vo(e, i, h), a[1] = vo(t, o, f), s[0] = mo(e, i, h), s[1] = mo(t, o, f); } -function vIe(e, t, r, n, i, o, a, s, l) { +function mIe(e, t, r, n, i, o, a, s, l) { var c = El, u = Rl, d = Math.abs(i - o); if (d % gu < 1e-4 && d > 1e-4) { s[0] = e - r, s[1] = t - n, l[0] = e + r, l[1] = t + n; @@ -54326,16 +54322,16 @@ var Zs = function() { d8(r, n, t[a], t[a + 1], ps, gs), r = t[a++], n = t[a++]; break; case Jr.C: - pIe(r, n, t[a++], t[a++], t[a++], t[a++], t[a], t[a + 1], ps, gs), r = t[a++], n = t[a++]; + gIe(r, n, t[a++], t[a++], t[a++], t[a++], t[a], t[a + 1], ps, gs), r = t[a++], n = t[a++]; break; case Jr.Q: - gIe(r, n, t[a++], t[a++], t[a], t[a + 1], ps, gs), r = t[a++], n = t[a++]; + vIe(r, n, t[a++], t[a++], t[a], t[a + 1], ps, gs), r = t[a++], n = t[a++]; break; case Jr.A: var c = t[a++], u = t[a++], d = t[a++], h = t[a++], f = t[a++], p = t[a++] + f; a += 1; var g = !t[a++]; - l && (i = yu(f) * d + c, o = Cu(f) * h + u), vIe(c, u, d, h, f, p, g, ps, gs), r = yu(p) * d + c, n = Cu(p) * h + u; + l && (i = yu(f) * d + c, o = Cu(f) * h + u), mIe(c, u, d, h, f, p, g, ps, gs), r = yu(p) * d + c, n = Cu(p) * h + u; break; case Jr.R: i = r = t[a++], o = n = t[a++]; @@ -54367,12 +54363,12 @@ var Zs = function() { } case Jr.C: { var S = t[h++], w = t[h++], v = t[h++], m = t[h++], x = t[h++], E = t[h++]; - g = _Me(o, a, S, w, v, m, x, E, 10), o = x, a = E; + g = MMe(o, a, S, w, v, m, x, E, 10), o = x, a = E; break; } case Jr.Q: { var S = t[h++], w = t[h++], v = t[h++], m = t[h++]; - g = DMe(o, a, S, w, v, m, 10), o = v, a = m; + g = IMe(o, a, S, w, v, m, 10), o = v, a = m; break; } case Jr.A: @@ -54509,7 +54505,7 @@ function gc(e, t, r, n, i, o, a) { var u = l * o - a + c, d = u * u / (l * l + 1); return d <= s / 2 * s / 2; } -function mIe(e, t, r, n, i, o, a, s, l, c, u) { +function yIe(e, t, r, n, i, o, a, s, l, c, u) { if (l === 0) return !1; var d = l; @@ -54532,7 +54528,7 @@ function Ho(e) { return e %= p8, e < 0 && (e += p8), e; } var Zp = Math.PI * 2; -function yIe(e, t, r, n, i, o, a, s, l) { +function CIe(e, t, r, n, i, o, a, s, l) { if (a === 0) return !1; var c = a; @@ -54559,16 +54555,16 @@ function Cl(e, t, r, n, i, o) { var l = a * (r - e) + e; return l === i ? 1 / 0 : l > i ? s : 0; } -var ic = Zs.CMD, bu = Math.PI * 2, CIe = 1e-4; -function bIe(e, t) { - return Math.abs(e - t) < CIe; +var ic = Zs.CMD, bu = Math.PI * 2, bIe = 1e-4; +function SIe(e, t) { + return Math.abs(e - t) < bIe; } var Ui = [-1, -1, -1], ca = [-1, -1]; -function SIe() { +function wIe() { var e = ca[0]; ca[0] = ca[1], ca[1] = e; } -function wIe(e, t, r, n, i, o, a, s, l, c) { +function xIe(e, t, r, n, i, o, a, s, l, c) { if (c > t && c > n && c > o && c > s || c < t && c < n && c < o && c < s) return 0; var u = Sb(t, n, o, s, c, Ui); @@ -54576,14 +54572,14 @@ function wIe(e, t, r, n, i, o, a, s, l, c) { return 0; for (var d = 0, h = -1, f = void 0, p = void 0, g = 0; g < u; g++) { var v = Ui[g], m = v === 0 || v === 1 ? 0.5 : 1, y = ni(e, r, i, a, v); - y < l || (h < 0 && (h = NK(t, n, o, s, ca), ca[1] < ca[0] && h > 1 && SIe(), f = ni(t, n, o, s, ca[0]), h > 1 && (p = ni(t, n, o, s, ca[1]))), h === 2 ? v < ca[0] ? d += f < t ? m : -m : v < ca[1] ? d += p < f ? m : -m : d += s < p ? m : -m : v < ca[0] ? d += f < t ? m : -m : d += s < f ? m : -m); + y < l || (h < 0 && (h = NK(t, n, o, s, ca), ca[1] < ca[0] && h > 1 && wIe(), f = ni(t, n, o, s, ca[0]), h > 1 && (p = ni(t, n, o, s, ca[1]))), h === 2 ? v < ca[0] ? d += f < t ? m : -m : v < ca[1] ? d += p < f ? m : -m : d += s < p ? m : -m : v < ca[0] ? d += f < t ? m : -m : d += s < f ? m : -m); } return d; } -function xIe(e, t, r, n, i, o, a, s) { +function EIe(e, t, r, n, i, o, a, s) { if (s > t && s > n && s > o || s < t && s < n && s < o) return 0; - var l = MMe(t, n, o, s, Ui); + var l = DMe(t, n, o, s, Ui); if (l === 0) return 0; var c = $K(t, n, o); @@ -54598,7 +54594,7 @@ function xIe(e, t, r, n, i, o, a, s) { return p < a ? 0 : o < t ? f : -f; } } -function EIe(e, t, r, n, i, o, a, s) { +function RIe(e, t, r, n, i, o, a, s) { if (s -= t, s > r || s < -r) return 0; var l = Math.sqrt(r * r - s * s); @@ -54642,10 +54638,10 @@ function SZ(e, t, r, n, i) { break; case ic.C: if (r) { - if (mIe(l, c, o[p++], o[p++], o[p++], o[p++], o[p], o[p + 1], t, n, i)) + if (yIe(l, c, o[p++], o[p++], o[p++], o[p++], o[p], o[p + 1], t, n, i)) return !0; } else - s += wIe(l, c, o[p++], o[p++], o[p++], o[p++], o[p], o[p + 1], n, i) || 0; + s += xIe(l, c, o[p++], o[p++], o[p++], o[p++], o[p], o[p + 1], n, i) || 0; l = o[p++], c = o[p++]; break; case ic.Q: @@ -54653,7 +54649,7 @@ function SZ(e, t, r, n, i) { if (bZ(l, c, o[p++], o[p++], o[p], o[p + 1], t, n, i)) return !0; } else - s += xIe(l, c, o[p++], o[p++], o[p], o[p + 1], n, i) || 0; + s += EIe(l, c, o[p++], o[p++], o[p], o[p + 1], n, i) || 0; l = o[p++], c = o[p++]; break; case ic.A: @@ -54663,10 +54659,10 @@ function SZ(e, t, r, n, i) { h = Math.cos(w) * C + m, f = Math.sin(w) * S + y, v ? (u = h, d = f) : s += Cl(l, c, h, f, n, i); var R = (n - m) * S / C + m; if (r) { - if (yIe(m, y, S, w, w + x, E, t, R, i)) + if (CIe(m, y, S, w, w + x, E, t, R, i)) return !0; } else - s += EIe(m, y, S, w, w + x, E, R, i); + s += RIe(m, y, S, w, w + x, E, R, i); l = Math.cos(w + x) * C + m, c = Math.sin(w + x) * S + y; break; case ic.R: @@ -54688,12 +54684,12 @@ function SZ(e, t, r, n, i) { break; } } - return !r && !bIe(c, d) && (s += Cl(l, c, u, d, n, i) || 0), s !== 0; + return !r && !SIe(c, d) && (s += Cl(l, c, u, d, n, i) || 0), s !== 0; } -function RIe(e, t, r) { +function PIe(e, t, r) { return SZ(e, 0, !1, t, r); } -function PIe(e, t, r, n) { +function TIe(e, t, r, n) { return SZ(e, t, !0, r, n); } var _b = xt({ @@ -54708,7 +54704,7 @@ var _b = xt({ miterLimit: 10, strokeNoScale: !1, strokeFirst: !1 -}, dd), TIe = { +}, dd), _Ie = { style: xt({ fill: !0, stroke: !0, @@ -54771,7 +54767,7 @@ var _b = xt({ if (r !== "none") { if (Je(r)) { var n = Gv(r, 0); - return n > 0.5 ? TT : n > 0.2 ? sDe : _T; + return n > 0.5 ? TT : n > 0.2 ? lDe : _T; } else if (r) return _T; } @@ -54824,11 +54820,11 @@ var _b = xt({ var s = this.path; if (this.hasStroke()) { var l = a.lineWidth, c = a.strokeNoScale ? this.getLineScale() : 1; - if (c > 1e-10 && (this.hasFill() || (l = Math.max(l, this.strokeContainThreshold)), PIe(s, l / c, r, n))) + if (c > 1e-10 && (this.hasFill() || (l = Math.max(l, this.strokeContainThreshold)), TIe(s, l / c, r, n))) return !0; } if (this.hasFill()) - return RIe(s, r, n); + return PIe(s, r, n); } return !1; }, t.prototype.dirtyShape = function() { @@ -54874,7 +54870,7 @@ var _b = xt({ } return i && (n.shape = i), n; }, t.prototype.getAnimationStyleProps = function() { - return TIe; + return _Ie; }, t.prototype.isZeroArea = function() { return !1; }, t.extend = function(r) { @@ -54897,7 +54893,7 @@ var _b = xt({ var r = t.prototype; r.type = "path", r.strokeContainThreshold = 5, r.segmentIgnoreThreshold = 0, r.subPixelOptimize = !1, r.autoBatch = !1, r.__dirty = Fo | wg | Uh; }(), t; -}(Ta), _Ie = xt({ +}(Ta), MIe = xt({ strokeFirst: !0, font: Vc, x: 0, @@ -54917,7 +54913,7 @@ var _b = xt({ var r = this.style, n = r.fill; return n != null && n !== "none"; }, t.prototype.createStyle = function(r) { - return Wm(_Ie, r); + return Wm(MIe, r); }, t.prototype.setBoundingRect = function(r) { this._rect = r; }, t.prototype.getBoundingRect = function() { @@ -54939,10 +54935,10 @@ var _b = xt({ }(), t; }(Ta); kf.prototype.type = "tspan"; -var MIe = xt({ +var DIe = xt({ x: 0, y: 0 -}, dd), DIe = { +}, dd), IIe = { style: xt({ x: !0, y: !0, @@ -54954,7 +54950,7 @@ var MIe = xt({ sHeight: !0 }, D1.style) }; -function IIe(e) { +function AIe(e) { return !!(e && typeof e != "string" && e.width && e.height); } var wZ = function(e) { @@ -54963,12 +54959,12 @@ var wZ = function(e) { return e !== null && e.apply(this, arguments) || this; } return t.prototype.createStyle = function(r) { - return Wm(MIe, r); + return Wm(DIe, r); }, t.prototype._getSize = function(r) { var n = this.style, i = n[r]; if (i != null) return i; - var o = IIe(n.image) ? n.image : this.__image; + var o = AIe(n.image) ? n.image : this.__image; if (!o) return 0; var a = r === "width" ? "height" : "width", s = n[a]; @@ -54978,7 +54974,7 @@ var wZ = function(e) { }, t.prototype.getHeight = function() { return this._getSize("height"); }, t.prototype.getAnimationStyleProps = function() { - return DIe; + return IIe; }, t.prototype.getBoundingRect = function() { var r = this.style; return this._rect || (this._rect = new Zt(r.x || 0, r.y || 0, this.getWidth(), this.getHeight())), this._rect; @@ -54986,7 +54982,7 @@ var wZ = function(e) { }(Ta); wZ.prototype.type = "image"; const bi = wZ; -function AIe(e, t) { +function OIe(e, t) { var r = t.x, n = t.y, i = t.width, o = t.height, a = t.r, s, l, c, u; i < 0 && (r = r + i, i = -i), o < 0 && (n = n + o, o = -o), typeof a == "number" ? s = l = c = u = a : a instanceof Array ? a.length === 1 ? s = l = c = u = a[0] : a.length === 2 ? (s = c = a[0], l = u = a[1]) : a.length === 3 ? (s = a[0], l = u = a[1], c = a[2]) : (s = a[0], l = a[1], c = a[2], u = a[3]) : s = l = c = u = 0; var d; @@ -55015,26 +55011,26 @@ function ed(e, t, r) { var n = nf(e * 2); return (n + nf(t)) % 2 === 0 ? n / 2 : (n + (r ? 1 : -1)) / 2; } -var OIe = /* @__PURE__ */ function() { +var LIe = /* @__PURE__ */ function() { function e() { this.x = 0, this.y = 0, this.width = 0, this.height = 0; } return e; -}(), LIe = {}, RZ = function(e) { +}(), FIe = {}, RZ = function(e) { dn(t, e); function t(r) { return e.call(this, r) || this; } return t.prototype.getDefaultShape = function() { - return new OIe(); + return new LIe(); }, t.prototype.buildPath = function(r, n) { var i, o, a, s; if (this.subPixelOptimize) { - var l = EZ(LIe, n, this.style); + var l = EZ(FIe, n, this.style); i = l.x, o = l.y, a = l.width, s = l.height, l.r = n.r, n = l; } else i = n.x, o = n.y, a = n.width, s = n.height; - n.r ? AIe(r, n) : r.rect(i, o, a, s); + n.r ? OIe(r, n) : r.rect(i, o, a, s); }, t.prototype.isZeroArea = function() { return !this.shape.width || !this.shape.height; }, t; @@ -55043,7 +55039,7 @@ RZ.prototype.type = "rect"; const vr = RZ; var g8 = { fill: "#000" -}, v8 = 2, FIe = { +}, v8 = 2, NIe = { style: xt({ fill: !0, stroke: !0, @@ -55087,7 +55083,7 @@ var g8 = { }, t.prototype.getComputedTransform = function() { return this.__hostTarget && (this.__hostTarget.getComputedTransform(), this.__hostTarget.updateInnerText(!0)), e.prototype.getComputedTransform.call(this); }, t.prototype._updateSubTexts = function() { - this._childCursor = 0, $Ie(this.style), this.style.rich ? this._updateRichTexts() : this._updatePlainTexts(), this._children.length = this._childCursor, this.styleUpdated(); + this._childCursor = 0, VIe(this.style), this.style.rich ? this._updateRichTexts() : this._updatePlainTexts(), this._children.length = this._childCursor, this.styleUpdated(); }, t.prototype.addSelfToZr = function(r) { e.prototype.addSelfToZr.call(this, r); for (var n = 0; n < this._children.length; n++) @@ -55121,12 +55117,12 @@ var g8 = { r[a] = r[a] || {}, Pe(r[a], n[a]); } }, t.prototype.getAnimationStyleProps = function() { - return FIe; + return NIe; }, t.prototype._getOrCreateChild = function(r) { var n = this._children[this._childCursor]; return (!n || !(n instanceof r)) && (n = new r()), this._children[this._childCursor++] = n, n.__zr = this.__zr, n.parent = this, n; }, t.prototype._updatePlainTexts = function() { - var r = this.style, n = r.font || Vc, i = r.padding, o = x8(r), a = iIe(o, r), s = iE(r), l = !!r.backgroundColor, c = a.outerHeight, u = a.outerWidth, d = a.contentWidth, h = a.lines, f = a.lineHeight, p = this._defaultStyle, g = r.x || 0, v = r.y || 0, m = r.align || p.align || "left", y = r.verticalAlign || p.verticalAlign || "top", C = g, S = Kh(v, a.contentHeight, y); + var r = this.style, n = r.font || Vc, i = r.padding, o = x8(r), a = oIe(o, r), s = iE(r), l = !!r.backgroundColor, c = a.outerHeight, u = a.outerWidth, d = a.contentWidth, h = a.lines, f = a.lineHeight, p = this._defaultStyle, g = r.x || 0, v = r.y || 0, m = r.align || p.align || "left", y = r.verticalAlign || p.verticalAlign || "top", C = g, S = Kh(v, a.contentHeight, y); if (s || i) { var w = Eg(g, u, m), x = Kh(v, c, y); s && this._renderBackground(r, r, w, x, u, c); @@ -55137,7 +55133,7 @@ var g8 = { O.useStyle(F), F.text = h[M], F.x = C, F.y = S, m && (F.textAlign = m), F.textBaseline = "middle", F.opacity = r.opacity, F.strokeFirst = !0, _ && (F.shadowBlur = r.textShadowBlur || 0, F.shadowColor = r.textShadowColor || "transparent", F.shadowOffsetX = r.textShadowOffsetX || 0, F.shadowOffsetY = r.textShadowOffsetY || 0), F.stroke = T, F.fill = P, T && (F.lineWidth = r.lineWidth || E, F.lineDash = r.lineDash, F.lineDashOffset = r.lineDashOffset || 0), F.font = n, y8(F, r), S += f, D && O.setBoundingRect(new Zt(Eg(F.x, r.width, F.textAlign), Kh(F.y, A, F.textBaseline), d, A)); } }, t.prototype._updateRichTexts = function() { - var r = this.style, n = x8(r), i = sIe(n, r), o = i.width, a = i.outerWidth, s = i.outerHeight, l = r.padding, c = r.x || 0, u = r.y || 0, d = this._defaultStyle, h = r.align || d.align, f = r.verticalAlign || d.verticalAlign, p = Eg(c, a, h), g = Kh(u, s, f), v = p, m = g; + var r = this.style, n = x8(r), i = lIe(n, r), o = i.width, a = i.outerWidth, s = i.outerHeight, l = r.padding, c = r.x || 0, u = r.y || 0, d = this._defaultStyle, h = r.align || d.align, f = r.verticalAlign || d.verticalAlign, p = Eg(c, a, h), g = Kh(u, s, f), v = p, m = g; l && (v += l[3], m += l[0]); var y = v + o; iE(r) && this._renderBackground(r, r, p, g, a, s); @@ -55197,7 +55193,7 @@ var g8 = { r.fontFamily || "sans-serif" ].join(" ")), n && ga(n) || r.textFont || r.font; }, t; -}(Ta), NIe = { left: !0, right: 1, center: 1 }, kIe = { top: 1, bottom: 1, middle: 1 }, m8 = ["fontStyle", "fontWeight", "fontSize", "fontFamily"]; +}(Ta), kIe = { left: !0, right: 1, center: 1 }, $Ie = { top: 1, bottom: 1, middle: 1 }, m8 = ["fontStyle", "fontWeight", "fontSize", "fontFamily"]; function TZ(e) { return typeof e == "string" && (e.indexOf("px") !== -1 || e.indexOf("rem") !== -1 || e.indexOf("em") !== -1) ? e : isNaN(+e) ? yI + "px" : e + "px"; } @@ -55210,16 +55206,16 @@ function y8(e, t) { function _Z(e) { return e.fontSize != null || e.fontFamily || e.fontWeight; } -function $Ie(e) { +function VIe(e) { return C8(e), z(e.rich, C8), e; } function C8(e) { if (e) { e.font = PZ.makeFont(e); var t = e.align; - t === "middle" && (t = "center"), e.align = t == null || NIe[t] ? t : "left"; + t === "middle" && (t = "center"), e.align = t == null || kIe[t] ? t : "left"; var r = e.verticalAlign; - r === "center" && (r = "middle"), e.verticalAlign = r == null || kIe[r] ? r : "top"; + r === "center" && (r = "middle"), e.verticalAlign = r == null || $Ie[r] ? r : "top"; var n = e.padding; n && (e.padding = b1(e.padding)); } @@ -55249,7 +55245,7 @@ var Nt = Cr(), kT = function(e, t, r, n) { a.seriesIndex = e, a.dataIndex = r, a.dataType = t, a.ssrType = "chart"; }); } -}, E8 = 1, R8 = {}, MZ = Cr(), VI = Cr(), BI = 0, qm = 1, A1 = 2, oo = ["emphasis", "blur", "select"], jv = ["normal", "emphasis", "blur", "select"], dp = 10, VIe = 9, hd = "highlight", EC = "downplay", nv = "select", RC = "unselect", iv = "toggleSelect"; +}, E8 = 1, R8 = {}, MZ = Cr(), VI = Cr(), BI = 0, qm = 1, A1 = 2, oo = ["emphasis", "blur", "select"], jv = ["normal", "emphasis", "blur", "select"], dp = 10, BIe = 9, hd = "highlight", EC = "downplay", nv = "select", RC = "unselect", iv = "toggleSelect"; function wh(e) { return e != null && e !== "none"; } @@ -55268,10 +55264,10 @@ function HI(e) { function AZ(e) { e.hoverState === qm && O1(e, "normal", BI); } -function BIe(e) { +function HIe(e) { e.selected = !0; } -function HIe(e) { +function zIe(e) { e.selected = !1; } function P8(e, t, r) { @@ -55297,7 +55293,7 @@ function Mb(e, t) { e.selected = !0; } } -function zIe(e, t, r, n) { +function GIe(e, t, r, n) { for (var i = e.style, o = {}, a = 0; a < t.length; a++) { var s = t[a], l = i[s]; o[s] = l ?? (n && n[s]); @@ -55308,7 +55304,7 @@ function zIe(e, t, r, n) { } return o; } -function GIe(e, t, r, n) { +function WIe(e, t, r, n) { var i = r && Yt(r, "select") >= 0, o = !1; if (e instanceof nr) { var a = MZ(e), s = i && a.selectFill || a.normalFill, l = i && a.selectStroke || a.normalStroke; @@ -55325,16 +55321,16 @@ function GIe(e, t, r, n) { } return n; } -function WIe(e, t, r) { +function jIe(e, t, r) { if (r && r.z2 == null) { r = Pe({}, r); var n = e.z2SelectLift; - r.z2 = e.z2 + (n ?? VIe); + r.z2 = e.z2 + (n ?? BIe); } return r; } -function jIe(e, t, r) { - var n = Yt(e.currentStates, t) >= 0, i = e.style.opacity, o = n ? null : zIe(e, ["opacity"], t, { +function UIe(e, t, r) { + var n = Yt(e.currentStates, t) >= 0, i = e.style.opacity, o = n ? null : GIe(e, ["opacity"], t, { opacity: 1 }); r = r || {}; @@ -55348,11 +55344,11 @@ function oE(e, t) { var r = this.states[e]; if (this.style) { if (e === "emphasis") - return GIe(this, e, t, r); + return WIe(this, e, t, r); if (e === "blur") - return jIe(this, e, r); + return UIe(this, e, r); if (e === "select") - return WIe(this, e, r); + return jIe(this, e, r); } return r; } @@ -55380,10 +55376,10 @@ function zI(e) { Xl(e, AZ); } function LZ(e) { - Xl(e, BIe); + Xl(e, HIe); } function FZ(e) { - Xl(e, HIe); + Xl(e, zIe); } function NZ(e, t) { return e.__highDownSilentOnTouch && t.zrByTouch; @@ -55448,7 +55444,7 @@ function VT(e, t, r) { } } } -function UIe(e, t, r) { +function KIe(e, t, r) { var n = e.seriesIndex, i = e.getData(t.dataType); if (!i) { process.env.NODE_ENV !== "production" && Ri("Unknown dataType " + t.dataType); @@ -55491,21 +55487,21 @@ function GI(e, t, r, n) { dispatchers: s }; } -function KIe(e, t, r) { +function ZIe(e, t, r) { process.env.NODE_ENV !== "production" && !Gc(e) && Ri("param should be highDownDispatcher"); var n = Nt(e), i = GI(n.componentMainType, n.componentIndex, n.componentHighDownName, r), o = i.dispatchers, a = i.focusSelf; o ? (a && VT(n.componentMainType, n.componentIndex, r), z(o, function(s) { return T8(s, t); })) : ($T(n.seriesIndex, n.focus, n.blurScope, r), n.focus === "self" && VT(n.componentMainType, n.componentIndex, r), T8(e, t)); } -function ZIe(e, t, r) { +function YIe(e, t, r) { process.env.NODE_ENV !== "production" && !Gc(e) && Ri("param should be highDownDispatcher"), kZ(r); var n = Nt(e), i = GI(n.componentMainType, n.componentIndex, n.componentHighDownName, r).dispatchers; i ? z(i, function(o) { return _8(o, t); }) : _8(e, t); } -function YIe(e, t, r) { +function qIe(e, t, r) { if (HT(t)) { var n = t.dataType, i = e.getData(n), o = Id(i, t); Ae(o) || (o = [o]), e[t.type === iv ? "toggleSelect" : t.type === nv ? "select" : "unselect"](o, n); @@ -55520,7 +55516,7 @@ function M8(e) { }); }); } -function qIe(e) { +function XIe(e) { var t = []; return e.eachSeries(function(r) { var n = r.getAllData(); @@ -55540,17 +55536,17 @@ function qIe(e) { function _c(e, t, r) { td(e, !0), Xl(e, Od), BT(e, t, r); } -function XIe(e) { +function QIe(e) { td(e, !1); } function Pn(e, t, r, n) { - n ? XIe(e) : _c(e, t, r); + n ? QIe(e) : _c(e, t, r); } function BT(e, t, r) { var n = Nt(e); t != null ? (n.focus = t, n.blurScope = r) : n.focus && (n.focus = null); } -var D8 = ["emphasis", "blur", "select"], QIe = { +var D8 = ["emphasis", "blur", "select"], JIe = { itemStyle: "getItemStyle", lineStyle: "getLineStyle", areaStyle: "getAreaStyle" @@ -55559,7 +55555,7 @@ function Pi(e, t, r, n) { r = r || "itemStyle"; for (var i = 0; i < D8.length; i++) { var o = D8[i], a = t.getModel([o, r]), s = e.ensureState(o); - s.style = n ? n(a) : a[QIe[r]](); + s.style = n ? n(a) : a[JIe[r]](); } } function td(e, t) { @@ -55569,11 +55565,11 @@ function td(e, t) { function Gc(e) { return !!(e && e.__highDownDispatcher); } -function JIe(e, t, r) { +function eAe(e, t, r) { var n = Nt(e); n.componentMainType = t.mainType, n.componentIndex = t.componentIndex, n.componentHighDownName = r; } -function eAe(e) { +function tAe(e) { var t = R8[e]; return t == null && E8 <= 32 && (t = R8[e] = E8++), t; } @@ -55585,13 +55581,13 @@ function I8(e) { var t = e.type; return t === hd || t === EC; } -function tAe(e) { +function rAe(e) { var t = MZ(e); t.normalFill = e.style.fill, t.normalStroke = e.style.stroke; var r = e.states.select || {}; t.selectFill = r.style && r.style.fill || null, t.selectStroke = r.style && r.style.stroke || null; } -var xh = Zs.CMD, rAe = [[], [], []], A8 = Math.sqrt, nAe = Math.atan2; +var xh = Zs.CMD, nAe = [[], [], []], A8 = Math.sqrt, iAe = Math.atan2; function $Z(e, t) { if (t) { var r = e.data, n = e.len(), i, o, a, s, l, c, u = xh.M, d = xh.C, h = xh.L, f = xh.R, p = xh.A, g = xh.Q; @@ -55610,14 +55606,14 @@ function $Z(e, t) { o = 2; break; case p: - var v = t[4], m = t[5], y = A8(t[0] * t[0] + t[1] * t[1]), C = A8(t[2] * t[2] + t[3] * t[3]), S = nAe(-t[1] / C, t[0] / y); + var v = t[4], m = t[5], y = A8(t[0] * t[0] + t[1] * t[1]), C = A8(t[2] * t[2] + t[3] * t[3]), S = iAe(-t[1] / C, t[0] / y); r[a] *= y, r[a++] += v, r[a] *= C, r[a++] += m, r[a++] *= y, r[a++] *= C, r[a++] += S, r[a++] += S, a += 2, s = a; break; case f: c[0] = r[a++], c[1] = r[a++], yi(c, c, t), r[s++] = c[0], r[s++] = c[1], c[0] += r[a++], c[1] += r[a++], yi(c, c, t), r[s++] = c[0], r[s++] = c[1]; } for (l = 0; l < o; l++) { - var w = rAe[l]; + var w = nAe[l]; w[0] = r[a++], w[1] = r[a++], yi(w, w, t), r[s++] = w[0], r[s++] = w[1]; } } @@ -55644,16 +55640,16 @@ function F8(e, t, r, n, i, o, a, s, l, c, u) { } u.addData(c, y, C, a, s, S, E, d, o); } -var iAe = /([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig, oAe = /-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g; -function aAe(e) { +var oAe = /([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig, aAe = /-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g; +function sAe(e) { var t = new Zs(); if (!e) return t; - var r = 0, n = 0, i = r, o = n, a, s = Zs.CMD, l = e.match(iAe); + var r = 0, n = 0, i = r, o = n, a, s = Zs.CMD, l = e.match(oAe); if (!l) return t; for (var c = 0; c < l.length; c++) { - for (var u = l[c], d = u.charAt(0), h = void 0, f = u.match(oAe) || [], p = f.length, g = 0; g < p; g++) + for (var u = l[c], d = u.charAt(0), h = void 0, f = u.match(aAe) || [], p = f.length, g = 0; g < p; g++) f[g] = parseFloat(f[g]); for (var v = 0; v < p; ) { var m = void 0, y = void 0, C = void 0, S = void 0, w = void 0, x = void 0, E = void 0, R = r, P = n, T = void 0, _ = void 0; @@ -55730,7 +55726,7 @@ function BZ(e) { return e.setData != null; } function HZ(e, t) { - var r = aAe(e), n = Pe({}, t); + var r = sAe(e), n = Pe({}, t); return n.buildPath = function(i) { if (BZ(i)) { i.setData(r.data); @@ -55747,7 +55743,7 @@ function HZ(e, t) { function zZ(e, t) { return new VZ(HZ(e, t)); } -function sAe(e, t) { +function lAe(e, t) { var r = HZ(e, t), n = function(i) { dn(o, i); function o(a) { @@ -55758,7 +55754,7 @@ function sAe(e, t) { }(VZ); return n; } -function lAe(e, t) { +function cAe(e, t) { for (var r = [], n = e.length, i = 0; i < n; i++) { var o = e[i]; r.push(o.getUpdatedPathProxy(!0)); @@ -55777,7 +55773,7 @@ function WI(e, t) { var r = new nr(); return e.shape && r.setShape(e.shape), r.setStyle(e.style), t.bakeTransform ? $Z(r.path, e.getComputedTransform()) : t.toLocal ? r.setLocalTransform(e.getComputedTransform()) : r.copyTransform(e), r.buildPath = e.buildPath, r.applyTransform = r.applyTransform, r.z = e.z, r.z2 = e.z2, r.zlevel = e.zlevel, r; } -var cAe = /* @__PURE__ */ function() { +var uAe = /* @__PURE__ */ function() { function e() { this.cx = 0, this.cy = 0, this.r = 0; } @@ -55788,14 +55784,14 @@ var cAe = /* @__PURE__ */ function() { return e.call(this, r) || this; } return t.prototype.getDefaultShape = function() { - return new cAe(); + return new uAe(); }, t.prototype.buildPath = function(r, n) { r.moveTo(n.cx + n.r, n.cy), r.arc(n.cx, n.cy, n.r, 0, Math.PI * 2); }, t; }(nr); GZ.prototype.type = "circle"; const Ql = GZ; -var uAe = /* @__PURE__ */ function() { +var dAe = /* @__PURE__ */ function() { function e() { this.cx = 0, this.cy = 0, this.rx = 0, this.ry = 0; } @@ -55806,7 +55802,7 @@ var uAe = /* @__PURE__ */ function() { return e.call(this, r) || this; } return t.prototype.getDefaultShape = function() { - return new uAe(); + return new dAe(); }, t.prototype.buildPath = function(r, n) { var i = 0.5522848, o = n.cx, a = n.cy, s = n.rx, l = n.ry, c = s * i, u = l * i; r.moveTo(o - s, a), r.bezierCurveTo(o - s, a - u, o - c, a - l, o, a - l), r.bezierCurveTo(o + c, a - l, o + s, a - u, o + s, a), r.bezierCurveTo(o + s, a + u, o + c, a + l, o, a + l), r.bezierCurveTo(o - c, a + l, o - s, a + u, o - s, a), r.closePath(); @@ -55814,8 +55810,8 @@ var uAe = /* @__PURE__ */ function() { }(nr); WZ.prototype.type = "ellipse"; const L1 = WZ; -var jZ = Math.PI, sE = jZ * 2, Su = Math.sin, Eh = Math.cos, dAe = Math.acos, _i = Math.atan2, N8 = Math.abs, ov = Math.sqrt, Pg = Math.max, vs = Math.min, Va = 1e-4; -function hAe(e, t, r, n, i, o, a, s) { +var jZ = Math.PI, sE = jZ * 2, Su = Math.sin, Eh = Math.cos, hAe = Math.acos, _i = Math.atan2, N8 = Math.abs, ov = Math.sqrt, Pg = Math.max, vs = Math.min, Va = 1e-4; +function fAe(e, t, r, n, i, o, a, s) { var l = r - e, c = n - t, u = a - i, d = s - o, h = d * l - u * c; if (!(h * h < Va)) return h = (u * (t - o) - d * (e - i)) / h, [e + h * l, t + h * c]; @@ -55831,7 +55827,7 @@ function o0(e, t, r, n, i, o, a) { y1: P * (i / w - 1) }; } -function fAe(e) { +function pAe(e) { var t; if (Ae(e)) { var r = e.length; @@ -55842,7 +55838,7 @@ function fAe(e) { t = [e, e, e, e]; return t; } -function pAe(e, t) { +function gAe(e, t) { var r, n = Pg(t.r, 0), i = Pg(t.r0 || 0, 0), o = n > 0, a = i > 0; if (!(!o && !a)) { if (o || (n = i, i = 0), i > n) { @@ -55860,12 +55856,12 @@ function pAe(e, t) { var g = void 0, v = void 0, m = void 0, y = void 0, C = void 0, S = void 0, w = void 0, x = void 0, E = void 0, R = void 0, P = void 0, T = void 0, _ = void 0, D = void 0, A = void 0, M = void 0, O = n * Eh(l), F = n * Su(l), k = i * Eh(c), N = i * Su(c), $ = f > Va; if ($) { var I = t.cornerRadius; - I && (r = fAe(I), g = r[0], v = r[1], m = r[2], y = r[3]); + I && (r = pAe(I), g = r[0], v = r[1], m = r[2], y = r[3]); var B = N8(n - i) / 2; if (C = vs(B, m), S = vs(B, y), w = vs(B, g), x = vs(B, v), P = E = Pg(C, S), T = R = Pg(w, x), (E > Va || R > Va) && (_ = n * Eh(c), D = n * Su(c), A = i * Eh(l), M = i * Su(l), f < jZ)) { - var H = hAe(O, F, A, M, _, D, k, N); + var H = fAe(O, F, A, M, _, D, k, N); if (H) { - var V = O - H[0], W = F - H[1], j = _ - H[0], X = D - H[1], q = 1 / Su(dAe((V * j + W * X) / (ov(V * V + W * W) * ov(j * j + X * X))) / 2), ee = ov(H[0] * H[0] + H[1] * H[1]); + var V = O - H[0], W = F - H[1], j = _ - H[0], X = D - H[1], q = 1 / Su(hAe((V * j + W * X) / (ov(V * V + W * W) * ov(j * j + X * X))) / 2), ee = ov(H[0] * H[0] + H[1] * H[1]); P = vs(E, (n - ee) / (q + 1)), T = vs(R, (i - ee) / (q - 1)); } } @@ -55889,7 +55885,7 @@ function pAe(e, t) { } } } -var gAe = /* @__PURE__ */ function() { +var vAe = /* @__PURE__ */ function() { function e() { this.cx = 0, this.cy = 0, this.r0 = 0, this.r = 0, this.startAngle = 0, this.endAngle = Math.PI * 2, this.clockwise = !0, this.cornerRadius = 0; } @@ -55900,16 +55896,16 @@ var gAe = /* @__PURE__ */ function() { return e.call(this, r) || this; } return t.prototype.getDefaultShape = function() { - return new gAe(); + return new vAe(); }, t.prototype.buildPath = function(r, n) { - pAe(r, n); + gAe(r, n); }, t.prototype.isZeroArea = function() { return this.shape.startAngle === this.shape.endAngle || this.shape.r === this.shape.r0; }, t; }(nr); UZ.prototype.type = "sector"; const ao = UZ; -var vAe = /* @__PURE__ */ function() { +var mAe = /* @__PURE__ */ function() { function e() { this.cx = 0, this.cy = 0, this.r = 0, this.r0 = 0; } @@ -55920,7 +55916,7 @@ var vAe = /* @__PURE__ */ function() { return e.call(this, r) || this; } return t.prototype.getDefaultShape = function() { - return new vAe(); + return new mAe(); }, t.prototype.buildPath = function(r, n) { var i = n.cx, o = n.cy, a = Math.PI * 2; r.moveTo(i + n.r, o), r.arc(i, o, n.r, 0, a, !1), r.moveTo(i + n.r0, o), r.arc(i, o, n.r0, 0, a, !0); @@ -55928,7 +55924,7 @@ var vAe = /* @__PURE__ */ function() { }(nr); KZ.prototype.type = "ring"; const Xm = KZ; -function mAe(e, t, r, n) { +function yAe(e, t, r, n) { var i = [], o = [], a = [], s = [], l, c, u, d; if (n) { u = [1 / 0, 1 / 0], d = [-1 / 0, -1 / 0]; @@ -55957,7 +55953,7 @@ function ZZ(e, t, r) { var n = t.smooth, i = t.points; if (i && i.length >= 2) { if (n) { - var o = mAe(i, n, r, t.smoothConstraint); + var o = yAe(i, n, r, t.smoothConstraint); e.moveTo(i[0][0], i[0][1]); for (var a = i.length, s = 0; s < (r ? a : a - 1); s++) { var l = o[s * 2], c = o[s * 2 + 1], u = i[(s + 1) % a]; @@ -55971,7 +55967,7 @@ function ZZ(e, t, r) { r && e.closePath(); } } -var yAe = /* @__PURE__ */ function() { +var CAe = /* @__PURE__ */ function() { function e() { this.points = null, this.smooth = 0, this.smoothConstraint = null; } @@ -55982,14 +55978,14 @@ var yAe = /* @__PURE__ */ function() { return e.call(this, r) || this; } return t.prototype.getDefaultShape = function() { - return new yAe(); + return new CAe(); }, t.prototype.buildPath = function(r, n) { ZZ(r, n, !0); }, t; }(nr); YZ.prototype.type = "polygon"; const so = YZ; -var CAe = /* @__PURE__ */ function() { +var bAe = /* @__PURE__ */ function() { function e() { this.points = null, this.percent = 1, this.smooth = 0, this.smoothConstraint = null; } @@ -56005,14 +56001,14 @@ var CAe = /* @__PURE__ */ function() { fill: null }; }, t.prototype.getDefaultShape = function() { - return new CAe(); + return new bAe(); }, t.prototype.buildPath = function(r, n) { ZZ(r, n, !1); }, t; }(nr); qZ.prototype.type = "polyline"; const lo = qZ; -var bAe = {}, SAe = /* @__PURE__ */ function() { +var SAe = {}, wAe = /* @__PURE__ */ function() { function e() { this.x1 = 0, this.y1 = 0, this.x2 = 0, this.y2 = 0, this.percent = 1; } @@ -56028,11 +56024,11 @@ var bAe = {}, SAe = /* @__PURE__ */ function() { fill: null }; }, t.prototype.getDefaultShape = function() { - return new SAe(); + return new wAe(); }, t.prototype.buildPath = function(r, n) { var i, o, a, s; if (this.subPixelOptimize) { - var l = xZ(bAe, n, this.style); + var l = xZ(SAe, n, this.style); i = l.x1, o = l.y1, a = l.x2, s = l.y2; } else i = n.x1, o = n.y1, a = n.x2, s = n.y2; @@ -56048,7 +56044,7 @@ var bAe = {}, SAe = /* @__PURE__ */ function() { }(nr); XZ.prototype.type = "line"; const ii = XZ; -var uo = [], wAe = /* @__PURE__ */ function() { +var uo = [], xAe = /* @__PURE__ */ function() { function e() { this.x1 = 0, this.y1 = 0, this.x2 = 0, this.y2 = 0, this.cpx1 = 0, this.cpy1 = 0, this.percent = 1; } @@ -56075,7 +56071,7 @@ var QZ = function(e) { fill: null }; }, t.prototype.getDefaultShape = function() { - return new wAe(); + return new xAe(); }, t.prototype.buildPath = function(r, n) { var i = n.x1, o = n.y1, a = n.x2, s = n.y2, l = n.cpx1, c = n.cpy1, u = n.cpx2, d = n.cpy2, h = n.percent; h !== 0 && (r.moveTo(i, o), u == null || d == null ? (h < 1 && (Bv(i, l, a, h, uo), l = uo[1], a = uo[2], Bv(o, c, s, h, uo), c = uo[1], s = uo[2]), r.quadraticCurveTo(l, c, a, s)) : (h < 1 && (zc(i, l, u, a, h, uo), l = uo[1], u = uo[2], a = uo[3], zc(o, c, d, s, h, uo), c = uo[1], d = uo[2], s = uo[3]), r.bezierCurveTo(l, c, u, d, a, s))); @@ -56088,7 +56084,7 @@ var QZ = function(e) { }(nr); QZ.prototype.type = "bezier-curve"; const Qm = QZ; -var xAe = /* @__PURE__ */ function() { +var EAe = /* @__PURE__ */ function() { function e() { this.cx = 0, this.cy = 0, this.r = 0, this.startAngle = 0, this.endAngle = Math.PI * 2, this.clockwise = !0; } @@ -56104,7 +56100,7 @@ var xAe = /* @__PURE__ */ function() { fill: null }; }, t.prototype.getDefaultShape = function() { - return new xAe(); + return new EAe(); }, t.prototype.buildPath = function(r, n) { var i = n.cx, o = n.cy, a = Math.max(n.r, 0), s = n.startAngle, l = n.endAngle, c = n.clockwise, u = Math.cos(s), d = Math.sin(s); r.moveTo(u * a + i, d * a + o), r.arc(i, o, a, s, l, !c); @@ -56112,7 +56108,7 @@ var xAe = /* @__PURE__ */ function() { }(nr); JZ.prototype.type = "arc"; const F1 = JZ; -var EAe = function(e) { +var RAe = function(e) { dn(t, e); function t() { var r = e !== null && e.apply(this, arguments) || this; @@ -56136,7 +56132,7 @@ var EAe = function(e) { return this._updatePathDirty.call(this), nr.prototype.getBoundingRect.call(this); }, t; }(nr); -const N1 = EAe; +const N1 = RAe; var eY = function() { function e(t) { this.colorStops = t || []; @@ -56147,7 +56143,7 @@ var eY = function() { color: r }); }, e; -}(), RAe = function(e) { +}(), PAe = function(e) { dn(t, e); function t(r, n, i, o, a, s) { var l = e.call(this, a) || this; @@ -56155,8 +56151,8 @@ var eY = function() { } return t; }(eY); -const hp = RAe; -var PAe = function(e) { +const hp = PAe; +var TAe = function(e) { dn(t, e); function t(r, n, i, o, a) { var s = e.call(this, o) || this; @@ -56164,8 +56160,8 @@ var PAe = function(e) { } return t; }(eY); -const jI = PAe; -var wu = [0, 0], xu = [0, 0], a0 = new Kt(), s0 = new Kt(), TAe = function() { +const jI = TAe; +var wu = [0, 0], xu = [0, 0], a0 = new Kt(), s0 = new Kt(), _Ae = function() { function e(t, r) { this._corners = [], this._axes = [], this._origin = [0, 0]; for (var n = 0; n < 4; n++) @@ -56207,8 +56203,8 @@ var wu = [0, 0], xu = [0, 0], a0 = new Kt(), s0 = new Kt(), TAe = function() { n[0] = s, n[1] = l; }, e; }(); -const Db = TAe; -var _Ae = [], MAe = function(e) { +const Db = _Ae; +var MAe = [], DAe = function(e) { dn(t, e); function t() { var r = e !== null && e.apply(this, arguments) || this; @@ -56255,7 +56251,7 @@ var _Ae = [], MAe = function(e) { if (!this._rect) { for (var r = new Zt(1 / 0, 1 / 0, -1 / 0, -1 / 0), n = 0; n < this._displayables.length; n++) { var i = this._displayables[n], o = i.getBoundingRect().clone(); - i.needLocalTransform() && o.applyTransform(i.getLocalTransform(_Ae)), r.union(o); + i.needLocalTransform() && o.applyTransform(i.getLocalTransform(MAe)), r.union(o); } this._rect = r; } @@ -56271,7 +56267,7 @@ var _Ae = [], MAe = function(e) { return !1; }, t; }(Ta); -const tY = MAe; +const tY = DAe; var rY = Cr(); function fp(e, t, r, n, i) { var o; @@ -56352,16 +56348,16 @@ function Uv(e, t, r) { function ls(e) { rY(e).oldStyle = e.style; } -function DAe(e) { +function IAe(e) { return rY(e).oldStyle; } var Ib = Math.max, Ab = Math.min, GT = {}; function nY(e) { return nr.extend(e); } -var IAe = sAe; +var AAe = lAe; function iY(e, t) { - return IAe(e, t); + return AAe(e, t); } function Ia(e, t) { GT[e] = t; @@ -56406,7 +56402,7 @@ function oY(e, t) { height: i }; } -var No = lAe; +var No = cAe; function ZI(e, t) { if (e.applyTransform) { var r = e.getBoundingRect(), n = r.calculateTransform(t); @@ -56418,7 +56414,7 @@ function $f(e, t) { lineWidth: t }), e; } -function AAe(e) { +function OAe(e) { return EZ(e.shape, e.shape, e.style), e; } var PC = ed; @@ -56437,7 +56433,7 @@ function $1(e, t, r) { function V8(e) { return !e.isGroup; } -function OAe(e) { +function LAe(e) { return e.shape != null; } function ey(e, t, r) { @@ -56455,7 +56451,7 @@ function ey(e, t, r) { y: a.y, rotation: a.rotation }; - return OAe(a) && (s.shape = Pe({}, a.shape)), s; + return LAe(a) && (s.shape = Pe({}, a.shape)), s; } var o = n(e); t.traverse(function(a) { @@ -56510,7 +56506,7 @@ function Tg(e, t, r, n, i) { } function sY(e, t, r, n, i, o, a, s) { var l = r - e, c = n - t, u = a - i, d = s - o, h = lE(u, d, l, c); - if (LAe(h)) + if (FAe(h)) return !1; var f = e - i, p = t - o, g = lE(f, p, l, c) / h; if (g < 0 || g > 1) @@ -56521,7 +56517,7 @@ function sY(e, t, r, n, i, o, a, s) { function lE(e, t, r, n) { return e * n - r * t; } -function LAe(e) { +function FAe(e) { return e <= 1e-6 && e >= -1e-6; } function gp(e) { @@ -56615,7 +56611,7 @@ const Zd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ setTooltipConfig: gp, subPixelOptimize: PC, subPixelOptimizeLine: $f, - subPixelOptimizeRect: AAe, + subPixelOptimizeRect: OAe, transformDirection: $1, traverseElements: tu, updateProps: wr @@ -56687,16 +56683,16 @@ function ui(e, t) { } function rn(e, t, r, n, i) { var o = {}; - return FAe(o, e, r, n, i), t && Pe(o, t), o; + return NAe(o, e, r, n, i), t && Pe(o, t), o; } function Ob(e, t, r) { t = t || {}; var n = {}, i, o = e.getShallow("rotate"), a = $t(e.getShallow("distance"), r ? null : 5), s = e.getShallow("offset"); return i = e.getShallow("position") || (r ? null : "inside"), i === "outside" && (i = t.defaultOutsidePosition || "top"), i != null && (n.position = i), s != null && (n.offset = s), o != null && (o *= Math.PI / 180, n.rotation = o), a != null && (n.distance = a), n.outsideFill = e.get("color") === "inherit" ? t.inheritColor || null : "auto", n; } -function FAe(e, t, r, n, i) { +function NAe(e, t, r, n, i) { r = r || V1; - var o = t.ecModel, a = o && o.option.textStyle, s = NAe(t), l; + var o = t.ecModel, a = o && o.option.textStyle, s = kAe(t), l; if (s) { l = {}; for (var c in s) @@ -56711,7 +56707,7 @@ function FAe(e, t, r, n, i) { var h = t.get("minMargin"); h != null && (e.margin = h), W8(e, t, a, r, n, i, !0, !1); } -function NAe(e) { +function kAe(e) { for (var t; e && e !== e.ecModel; ) { var r = (e.option || V1).rich; if (r) { @@ -56796,14 +56792,14 @@ function uY(e, t, r, n, i) { percent: 1 }, n, t, null, c); } -var kAe = ["textStyle", "color"], cE = ["fontStyle", "fontWeight", "fontSize", "fontFamily", "padding", "lineHeight", "rich", "width", "height", "overflow"], uE = new gr(), $Ae = ( +var $Ae = ["textStyle", "color"], cE = ["fontStyle", "fontWeight", "fontSize", "fontFamily", "padding", "lineHeight", "rich", "width", "height", "overflow"], uE = new gr(), VAe = ( /** @class */ function() { function e() { } return e.prototype.getTextColor = function(t) { var r = this.ecModel; - return this.getShallow("color") || (!t && r ? r.get(kAe) : null); + return this.getShallow("color") || (!t && r ? r.get($Ae) : null); }, e.prototype.getFont = function() { return qI({ fontStyle: this.getShallow("fontStyle"), @@ -56835,13 +56831,13 @@ var kAe = ["textStyle", "color"], cE = ["fontStyle", "fontWeight", "fontSize", " ["miterLimit"] // Option decal is in `DecalObject` but style.decal is in `PatternObject`. // So do not transfer decal directly. -], VAe = Ad(dY), BAe = ( +], BAe = Ad(dY), HAe = ( /** @class */ function() { function e() { } return e.prototype.getLineStyle = function(t) { - return VAe(this, t); + return BAe(this, t); }, e; }() ), hY = [ @@ -56860,13 +56856,13 @@ var kAe = ["textStyle", "color"], cE = ["fontStyle", "fontWeight", "fontSize", " ["miterLimit", "borderMiterLimit"] // Option decal is in `DecalObject` but style.decal is in `PatternObject`. // So do not transfer decal directly. -], HAe = Ad(hY), zAe = ( +], zAe = Ad(hY), GAe = ( /** @class */ function() { function e() { } return e.prototype.getItemStyle = function(t, r) { - return HAe(this, t, r); + return zAe(this, t, r); }, e; }() ), Yd = ( @@ -56918,17 +56914,17 @@ var kAe = ["textStyle", "color"], cE = ["fontStyle", "fontWeight", "fontSize", " }() ); NI(Yd); -qDe(Yd); -On(Yd, BAe); -On(Yd, zAe); -On(Yd, tIe); -On(Yd, $Ae); +XDe(Yd); +On(Yd, HAe); +On(Yd, GAe); +On(Yd, rIe); +On(Yd, VAe); const Wr = Yd; -var GAe = Math.round(Math.random() * 10); +var WAe = Math.round(Math.random() * 10); function mp(e) { - return [e || "", GAe++].join("_"); + return [e || "", WAe++].join("_"); } -function WAe(e) { +function jAe(e) { var t = {}; e.registerSubTypeDefaulter = function(r, n) { var i = Os(r); @@ -56942,7 +56938,7 @@ function WAe(e) { return i; }; } -function jAe(e, t) { +function UAe(e, t) { e.topologicalTravel = function(o, a, s, l) { if (!o.length) return; @@ -56994,7 +56990,7 @@ function jAe(e, t) { function ru(e, t) { return jt(jt({}, e, !0), t, !0); } -const UAe = { +const KAe = { time: { month: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], monthAbbr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], @@ -57104,7 +57100,7 @@ const UAe = { } } } -}, KAe = { +}, ZAe = { time: { month: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], monthAbbr: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], @@ -57225,7 +57221,7 @@ var Lb = "ZH", XI = "EN", bf = XI, TC = {}, QI = {}, fY = pr.domSupported ? func function JI(e, t) { e = e.toUpperCase(), QI[e] = new Wr(t), TC[e] = t; } -function ZAe(e) { +function YAe(e) { if (Je(e)) { var t = TC[e.toUpperCase()] || {}; return e === Lb || e === XI ? Mt(t) : jt(Mt(t), Mt(TC[bf]), !1); @@ -57235,11 +57231,11 @@ function ZAe(e) { function jT(e) { return QI[e]; } -function YAe() { +function qAe() { return QI[bf]; } -JI(XI, UAe); -JI(Lb, KAe); +JI(XI, KAe); +JI(Lb, ZAe); var eA = 1e3, tA = eA * 60, av = tA * 60, pa = av * 24, j8 = pa * 365, _g = { year: "{yyyy}", month: "{MMM}", @@ -57276,10 +57272,10 @@ function Sf(e) { return e; } } -function qAe(e) { +function XAe(e) { return e === Sf(e); } -function XAe(e) { +function QAe(e) { switch (e) { case "year": case "month": @@ -57291,10 +57287,10 @@ function XAe(e) { } } function ty(e, t, r, n) { - var i = jo(e), o = i[rA(r)](), a = i[wf(r)]() + 1, s = Math.floor((a - 1) / 3) + 1, l = i[B1(r)](), c = i["get" + (r ? "UTC" : "") + "Day"](), u = i[Kv(r)](), d = (u - 1) % 12 + 1, h = i[H1(r)](), f = i[z1(r)](), p = i[G1(r)](), g = u >= 12 ? "pm" : "am", v = g.toUpperCase(), m = n instanceof Wr ? n : jT(n || fY) || YAe(), y = m.getModel("time"), C = y.get("month"), S = y.get("monthAbbr"), w = y.get("dayOfWeek"), x = y.get("dayOfWeekAbbr"); + var i = jo(e), o = i[rA(r)](), a = i[wf(r)]() + 1, s = Math.floor((a - 1) / 3) + 1, l = i[B1(r)](), c = i["get" + (r ? "UTC" : "") + "Day"](), u = i[Kv(r)](), d = (u - 1) % 12 + 1, h = i[H1(r)](), f = i[z1(r)](), p = i[G1(r)](), g = u >= 12 ? "pm" : "am", v = g.toUpperCase(), m = n instanceof Wr ? n : jT(n || fY) || qAe(), y = m.getModel("time"), C = y.get("month"), S = y.get("monthAbbr"), w = y.get("dayOfWeek"), x = y.get("dayOfWeekAbbr"); return (t || "").replace(/{a}/g, g + "").replace(/{A}/g, v + "").replace(/{yyyy}/g, o + "").replace(/{yy}/g, Ki(o % 100 + "", 2)).replace(/{Q}/g, s + "").replace(/{MMMM}/g, C[a - 1]).replace(/{MMM}/g, S[a - 1]).replace(/{MM}/g, Ki(a, 2)).replace(/{M}/g, a + "").replace(/{dd}/g, Ki(l, 2)).replace(/{d}/g, l + "").replace(/{eeee}/g, w[c]).replace(/{ee}/g, x[c]).replace(/{e}/g, c + "").replace(/{HH}/g, Ki(u, 2)).replace(/{H}/g, u + "").replace(/{hh}/g, Ki(d + "", 2)).replace(/{h}/g, d + "").replace(/{mm}/g, Ki(h, 2)).replace(/{m}/g, h + "").replace(/{ss}/g, Ki(f, 2)).replace(/{s}/g, f + "").replace(/{SSS}/g, Ki(p, 3)).replace(/{S}/g, p + ""); } -function QAe(e, t, r, n, i) { +function JAe(e, t, r, n, i) { var o = null; if (Je(r)) o = r; @@ -57375,7 +57371,7 @@ function z1(e) { function G1(e) { return e ? "getUTCMilliseconds" : "getMilliseconds"; } -function JAe(e) { +function eOe(e) { return e ? "setUTCFullYear" : "setFullYear"; } function vY(e) { @@ -57396,7 +57392,7 @@ function bY(e) { function SY(e) { return e ? "setUTCMilliseconds" : "setMilliseconds"; } -function eOe(e, t, r, n, i, o, a, s) { +function tOe(e, t, r, n, i, o, a, s) { var l = new gr({ style: { text: e, @@ -57463,7 +57459,7 @@ function oA(e, t, r) { } return e; } -function tOe(e, t, r) { +function rOe(e, t, r) { return z(t, function(n, i) { e = e.replace("{" + i + "}", n); }), e; @@ -57496,13 +57492,13 @@ function wY(e, t) { } }; } -function rOe(e, t, r) { +function nOe(e, t, r) { process.env.NODE_ENV !== "production" && $n("echarts.format.formatTime", "echarts.time.format"), (e === "week" || e === "month" || e === "quarter" || e === "half-year" || e === "year") && (e = `MM-dd yyyy`); var n = jo(t), i = r ? "getUTC" : "get", o = n[i + "FullYear"](), a = n[i + "Month"]() + 1, s = n[i + "Date"](), l = n[i + "Hours"](), c = n[i + "Minutes"](), u = n[i + "Seconds"](), d = n[i + "Milliseconds"](); return e = e.replace("MM", Ki(a, 2)).replace("M", a).replace("yyyy", o).replace("yy", Ki(o % 100 + "", 2)).replace("dd", Ki(s, 2)).replace("d", s).replace("hh", Ki(l, 2)).replace("h", l).replace("mm", Ki(c, 2)).replace("m", c).replace("ss", Ki(u, 2)).replace("s", u).replace("SSS", Ki(d, 3)), e; } -function nOe(e) { +function iOe(e) { return e && e.charAt(0).toUpperCase() + e.substr(1); } function Ld(e, t) { @@ -57535,7 +57531,7 @@ function aA(e, t, r, n, i) { var fd = aA; Bt(aA, "vertical"); Bt(aA, "horizontal"); -function iOe(e, t, r) { +function oOe(e, t, r) { var n = t.width, i = t.height, o = Xe(e.left, n), a = Xe(e.top, i), s = Xe(e.right, n), l = Xe(e.bottom, i); return (isNaN(o) || isNaN(parseFloat(e.left))) && (o = 0), (isNaN(s) || isNaN(parseFloat(e.right))) && (s = n), (isNaN(a) || isNaN(parseFloat(e.top))) && (a = 0), (isNaN(l) || isNaN(parseFloat(e.bottom))) && (l = i), r = qd(r || 0), { width: Math.max(s - o - r[1] - r[3], 0), @@ -57583,7 +57579,7 @@ function W1(e, t, r, n, i, o) { }, t), r, n), h = a ? d.x - c.x : 0, f = s ? d.y - c.y : 0; return l === "raw" ? (o.x = h, o.y = f) : (o.x += h, o.y += f), o === e && e.markRedraw(), !0; } -function oOe(e, t) { +function aOe(e, t) { return e[rd[t][0]] != null || e[rd[t][1]] != null && e[rd[t][2]] != null; } function Zv(e) { @@ -57638,7 +57634,7 @@ function EY(e, t) { t.hasOwnProperty(r) && (e[r] = t[r]); }), e; } -var aOe = Cr(), Qt = ( +var sOe = Cr(), Qt = ( /** @class */ function(e) { be(t, e); @@ -57658,9 +57654,9 @@ var aOe = Cr(), Qt = ( }, t.prototype.optionUpdated = function(r, n) { }, t.prototype.getDefaultOption = function() { var r = this.constructor; - if (!KDe(r)) + if (!ZDe(r)) return r.defaultOption; - var n = aOe(this); + var n = sOe(this); if (!n.defaultOption) { for (var i = [], o = r; o; ) { var a = o.prototype.defaultOption; @@ -57699,9 +57695,9 @@ var aOe = Cr(), Qt = ( ); gZ(Qt, Wr); _1(Qt); -WAe(Qt); -jAe(Qt, sOe); -function sOe(e) { +jAe(Qt); +UAe(Qt, lOe); +function lOe(e) { var t = []; return z(Qt.getClassesByMainType(e), function(r) { t = t.concat(r.dependencies || r.prototype.dependencies || []); @@ -57712,7 +57708,7 @@ function sOe(e) { var RY = ""; typeof navigator < "u" && (RY = navigator.platform || ""); var Rh = "rgba(0, 0, 0, 0.2)"; -const lOe = { +const cOe = { darkMode: "auto", // backgroundColor: 'rgba(0,0,0,0)', colorBy: "series", @@ -57799,7 +57795,7 @@ var KT = pt(["tooltip", "label", "itemName", "itemId", "itemGroupId", "itemChild Not: 3 // Other cases }, TY = Cr(); -function cOe(e) { +function uOe(e) { TY(e).datasetMap = pt(); } function _Y(e, t, r) { @@ -57876,7 +57872,7 @@ function lA(e) { id: e.get("datasetId", !0) }, Un).models[0]; } -function uOe(e) { +function dOe(e) { return !e.get("transform", !0) && !e.get("fromTransformResult", !0) ? [] : Ym(e.ecModel, "dataset", { index: e.get("fromDatasetIndex", !0), id: e.get("fromDatasetId", !0) @@ -57945,10 +57941,10 @@ function DY(e, t, r, n, i, o) { return Si.Not; } var ZT = pt(); -function dOe(e, t) { +function hOe(e, t) { Et(ZT.get(e) == null && t), ZT.set(e, t); } -function hOe(e, t, r) { +function fOe(e, t, r) { var n = ZT.get(t); if (!n) return r; @@ -57960,7 +57956,7 @@ function hOe(e, t, r) { Et(Nf(i[o])); return r.concat(i); } -var Y8 = Cr(), fOe = Cr(), cA = ( +var Y8 = Cr(), pOe = Cr(), cA = ( /** @class */ function() { function e() { @@ -57969,15 +57965,15 @@ var Y8 = Cr(), fOe = Cr(), cA = ( var i = jr(this.get("color", !0)), o = this.get("colorLayer", !0); return IY(this, Y8, i, o, t, r, n); }, e.prototype.clearColorPalette = function() { - gOe(this, Y8); + vOe(this, Y8); }, e; }() ); function YT(e, t, r, n) { var i = jr(e.get(["aria", "decal", "decals"])); - return IY(e, fOe, i, null, t, r, n); + return IY(e, pOe, i, null, t, r, n); } -function pOe(e, t) { +function gOe(e, t) { for (var r = e.length, n = 0; n < r; n++) if (e[n].length > t) return e[n]; @@ -57988,16 +57984,16 @@ function IY(e, t, r, n, i, o, a) { var s = t(o), l = s.paletteIdx || 0, c = s.paletteNameMap = s.paletteNameMap || {}; if (c.hasOwnProperty(i)) return c[i]; - var u = a == null || !n ? r : pOe(n, a); + var u = a == null || !n ? r : gOe(n, a); if (u = u || r, !(!u || !u.length)) { var d = u[l]; return i && (c[i] = d), s.paletteIdx = (l + 1) % u.length, d; } } -function gOe(e, t) { +function vOe(e, t) { t(e).paletteIdx = 0, t(e).paletteNameMap = {}; } -var c0, qp, q8, fE = "\0_ec_inner", X8 = 1, vOe = { +var c0, qp, q8, fE = "\0_ec_inner", X8 = 1, mOe = { grid: "GridComponent", polar: "PolarComponent", geo: "GeoComponent", @@ -58024,7 +58020,7 @@ var c0, qp, q8, fE = "\0_ec_inner", X8 = 1, vOe = { yAxis: "GridComponent", angleAxis: "PolarComponent", radiusAxis: "PolarComponent" -}, mOe = { +}, yOe = { line: "LineChart", bar: "BarChart", pie: "PieChart", @@ -58048,10 +58044,10 @@ var c0, qp, q8, fE = "\0_ec_inner", X8 = 1, vOe = { sunburst: "SunburstChart", custom: "CustomChart" }, Nb = {}; -function yOe(e) { +function COe(e) { z(e, function(t, r) { if (!Qt.hasClass(r)) { - var n = vOe[r]; + var n = mOe[r]; n && !Nb[n] && (Ri("Component " + r + ` is used but not imported. import { ` + n + ` } from 'echarts/components'; echarts.use([` + n + "]);"), Nb[n] = !0); @@ -58077,7 +58073,7 @@ var uA = ( var i = !1, o = this._optionManager; if (!r || r === "recreate") { var a = o.mountOption(r === "recreate"); - process.env.NODE_ENV !== "production" && yOe(a), !this.option || r === "recreate" ? q8(this, a) : (this.restoreData(), this._mergeOption(a, n)), i = !0; + process.env.NODE_ENV !== "production" && COe(a), !this.option || r === "recreate" ? q8(this, a) : (this.restoreData(), this._mergeOption(a, n)), i = !0; } if ((r === "timeline" || r === "media") && this.restoreData(), !r || r === "recreate" || r === "timeline") { var s = o.getTimelineOption(this); @@ -58094,17 +58090,17 @@ var uA = ( this._mergeOption(r, null); }, t.prototype._mergeOption = function(r, n) { var i = this.option, o = this._componentsMap, a = this._componentsCount, s = [], l = pt(), c = n && n.replaceMergeMainTypeMap; - cOe(this), z(r, function(d, h) { + uOe(this), z(r, function(d, h) { d != null && (Qt.hasClass(h) ? h && (s.push(h), l.set(h, !0)) : i[h] = i[h] == null ? Mt(d) : jt(i[h], d, !0)); }), c && c.each(function(d, h) { Qt.hasClass(h) && !l.get(h) && (s.push(h), l.set(h, !0)); }), Qt.topologicalTravel(s, Qt.getAllClassMainTypes(), u, this); function u(d) { - var h = hOe(this, d, jr(r[d])), f = o.get(d), p = ( + var h = fOe(this, d, jr(r[d])), f = o.get(d), p = ( // `!oldCmptList` means init. See the comment in `mappingToExists` f ? c && c.get(d) ? "replaceMerge" : "normalMerge" : "replaceAll" ), g = uZ(f, h, p); - $De(g, d, Qt), i[d] = null, o.set(d, null), a.set(d, 0); + VDe(g, d, Qt), i[d] = null, o.set(d, null), a.set(d, 0); var v = [], m = [], y = 0, C, S; z(g, function(w, x) { var E = w.existing, R = w.newOption; @@ -58119,7 +58115,7 @@ var uA = ( ); if (!T) { if (process.env.NODE_ENV !== "production") { - var _ = w.keyInfo.subType, D = mOe[_]; + var _ = w.keyInfo.subType, D = yOe[_]; Nb[_] || (Nb[_] = !0, Ri(D ? "Series " + _ + ` is used but not imported. import { ` + D + ` } from 'echarts/charts'; echarts.use([` + D + "]);" : "Unknown series " + _)); @@ -58272,7 +58268,7 @@ echarts.use([` + D + "]);" : "Unknown series " + _)); Qt.hasClass(a) && i.push(a); }), Qt.topologicalTravel(i, Qt.getAllClassMainTypes(), function(o) { z(n.get(o), function(a) { - a && (o !== "series" || !COe(a, r)) && a.restoreData(); + a && (o !== "series" || !bOe(a, r)) && a.restoreData(); }); }); }, t.internalField = function() { @@ -58289,18 +58285,18 @@ echarts.use([` + D + "]);" : "Unknown series " + _)); series: [] }), r._componentsCount = pt(); var i = n.aria; - St(i) && i.enabled == null && (i.enabled = !0), bOe(n, r._theme.option), jt(n, lOe, !1), r._mergeOption(n, null); + St(i) && i.enabled == null && (i.enabled = !0), SOe(n, r._theme.option), jt(n, cOe, !1), r._mergeOption(n, null); }; }(), t; }(Wr) ); -function COe(e, t) { +function bOe(e, t) { if (t) { var r = t.seriesIndex, n = t.seriesId, i = t.seriesName; return r != null && e.componentIndex !== r || n != null && e.id !== n || i != null && e.name !== i; } } -function bOe(e, t) { +function SOe(e, t) { var r = e.color && !e.colorLayer; z(t, function(n, i) { i === "colorLayer" && r || Qt.hasClass(i) || (typeof n == "object" ? e[i] = e[i] ? jt(e[i], n, !1) : Mt(n) : e[i] == null && (e[i] = n)); @@ -58338,7 +58334,7 @@ function e6(e) { }; } On(uA, cA); -var SOe = [ +var wOe = [ "getDom", "getZr", "getWidth", @@ -58361,7 +58357,7 @@ var SOe = [ /** @class */ /* @__PURE__ */ function() { function e(t) { - z(SOe, function(r) { + z(wOe, function(r) { this[r] = at(t[r], t); }, this); } @@ -58391,7 +58387,7 @@ var SOe = [ return pE[t]; }, e; }() -), wOe = /^(min|max)?(.+)$/, xOe = ( +), xOe = /^(min|max)?(.+)$/, EOe = ( /** @class */ function() { function e(t) { @@ -58403,7 +58399,7 @@ var SOe = [ }), z(jr(t.dataset), function(a) { a && a.source && Vi(a.source) && kv(a.source); })), t = Mt(t); - var i = this._optionBackup, o = EOe(t, r, !i); + var i = this._optionBackup, o = ROe(t, r, !i); this._newBaseOption = o.baseOption, i ? (o.timelineOptions.length && (i.timelineOptions = o.timelineOptions), o.mediaList.length && (i.mediaList = o.mediaList), o.mediaDefault && (i.mediaDefault = o.mediaDefault)) : this._optionBackup = o; }, e.prototype.mountOption = function(t) { var r = this._optionBackup; @@ -58423,14 +58419,14 @@ var SOe = [ if (!i.length && !o) return s; for (var l = 0, c = i.length; l < c; l++) - ROe(i[l].query, r, n) && a.push(l); - return !a.length && o && (a = [-1]), a.length && !TOe(a, this._currentMediaIndices) && (s = Fe(a, function(u) { + POe(i[l].query, r, n) && a.push(l); + return !a.length && o && (a = [-1]), a.length && !_Oe(a, this._currentMediaIndices) && (s = Fe(a, function(u) { return Mt(u === -1 ? o.option : i[u].option); })), this._currentMediaIndices = a, s; }, e; }() ); -function EOe(e, t, r) { +function ROe(e, t, r) { var n = [], i, o, a = e.baseOption, s = e.timeline, l = e.options, c = e.media, u = !!e.media, d = !!(l || s || a && a.timeline); a ? (o = a, o.timeline || (o.timeline = s)) : ((d || u) && (e.options = e.media = null), o = e), u && (Ae(c) ? z(c, function(f) { process.env.NODE_ENV !== "production" && f && !f.option && St(f.query) && St(f.query.option) && Ri("Illegal media option. Must be like { media: [ { query: {}, option: {} } ] }"), f && f.option && (f.query ? n.push(f) : i || (i = f)); @@ -58451,7 +58447,7 @@ function EOe(e, t, r) { mediaList: n }; } -function ROe(e, t, r) { +function POe(e, t, r) { var n = { width: t, height: r, @@ -58459,17 +58455,17 @@ function ROe(e, t, r) { // lower case for convenience. }, i = !0; return z(e, function(o, a) { - var s = a.match(wOe); + var s = a.match(xOe); if (!(!s || !s[1] || !s[2])) { var l = s[1], c = s[2].toLowerCase(); - POe(n[c], o, l) || (i = !1); + TOe(n[c], o, l) || (i = !1); } }), i; } -function POe(e, t, r) { +function TOe(e, t, r) { return r === "min" ? e >= t : r === "max" ? e <= t : e === t; } -function TOe(e, t) { +function _Oe(e, t) { return e.join(",") === t.join(","); } var Jo = z, Yv = St, t6 = ["areaStyle", "lineStyle", "nodeStyle", "linkStyle", "chordStyle", "label", "labelLine"]; @@ -58503,7 +58499,7 @@ function jn(e, t) { function sa(e) { e && (Mg(e), jn(e, "label"), e.emphasis && jn(e.emphasis, "label")); } -function _Oe(e) { +function MOe(e) { if (Yv(e)) { gE(e), Mg(e), jn(e, "label"), jn(e, "upperLabel"), jn(e, "edgeLabel"), e.emphasis && (jn(e.emphasis, "label"), jn(e.emphasis, "upperLabel"), jn(e.emphasis, "edgeLabel")); var t = e.markPoint; @@ -58543,9 +58539,9 @@ function hl(e) { function r6(e) { return (Ae(e) ? e[0] : e) || {}; } -function MOe(e, t) { +function DOe(e, t) { Jo(hl(e.series), function(n) { - Yv(n) && _Oe(n); + Yv(n) && MOe(n); }); var r = ["xAxis", "yAxis", "radiusAxis", "angleAxis", "singleAxis", "parallelAxis", "radar"]; t && r.push("valueAxis", "categoryAxis", "logAxis", "timeAxis"), Jo(r, function(n) { @@ -58577,22 +58573,22 @@ function MOe(e, t) { }); }), jn(r6(e.axisPointer), "label"), jn(r6(e.tooltip).axisPointer, "label"); } -function DOe(e, t) { +function IOe(e, t) { for (var r = t.split(","), n = e, i = 0; i < r.length && (n = n && n[r[i]], n != null); i++) ; return n; } -function IOe(e, t, r, n) { +function AOe(e, t, r, n) { for (var i = t.split(","), o = e, a, s = 0; s < i.length - 1; s++) a = i[s], o[a] == null && (o[a] = {}), o = o[a]; o[i[s]] == null && (o[i[s]] = r); } function n6(e) { - e && z(AOe, function(t) { + e && z(OOe, function(t) { t[0] in e && !(t[1] in e) && (e[t[1]] = e[t[0]]); }); } -var AOe = [["x", "left"], ["y", "top"], ["x2", "right"], ["y2", "bottom"]], OOe = ["grid", "geo", "parallel", "legend", "toolbox", "title", "visualMap", "dataZoom", "timeline"], vE = [["borderRadius", "barBorderRadius"], ["borderColor", "barBorderColor"], ["borderWidth", "barBorderWidth"]]; +var OOe = [["x", "left"], ["y", "top"], ["x2", "right"], ["y2", "bottom"]], LOe = ["grid", "geo", "parallel", "legend", "toolbox", "title", "visualMap", "dataZoom", "timeline"], vE = [["borderRadius", "barBorderRadius"], ["borderColor", "barBorderColor"], ["borderWidth", "barBorderWidth"]]; function Xp(e) { var t = e && e.itemStyle; if (t) @@ -58607,7 +58603,7 @@ function i6(e) { function o6(e) { e && e.downplay && !e.blur && (e.blur = e.downplay, process.env.NODE_ENV !== "production" && $n("downplay", "blur", "sunburst")); } -function LOe(e) { +function FOe(e) { e && e.focusNodeAdjacency != null && (e.emphasis = e.emphasis || {}, e.emphasis.focus == null && (process.env.NODE_ENV !== "production" && $n("focusNodeAdjacency", "emphasis: { focus: 'adjacency'}", "graph/sankey"), e.emphasis.focus = "adjacency")); } function OY(e, t) { @@ -58616,7 +58612,7 @@ function OY(e, t) { t(e[r]), e[r] && OY(e[r].children, t); } function LY(e, t) { - MOe(e, t), e.series = jr(e.series), z(e.series, function(r) { + DOe(e, t), e.series = jr(e.series), z(e.series, function(r) { if (St(r)) { var n = r.type; if (n === "line") @@ -58629,8 +58625,8 @@ function LY(e, t) { i6(i[o]); r.hoverOffset != null && (r.emphasis = r.emphasis || {}, (r.emphasis.scaleSize = null) && (process.env.NODE_ENV !== "production" && $n("hoverOffset", "emphasis.scaleSize"), r.emphasis.scaleSize = r.hoverOffset)); } else if (n === "gauge") { - var a = DOe(r, "pointer.color"); - a != null && IOe(r, "itemStyle.color", a); + var a = IOe(r, "pointer.color"); + a != null && AOe(r, "itemStyle.color", a); } else if (n === "bar") { Xp(r), Xp(r.backgroundStyle), Xp(r.emphasis); var i = r.data; @@ -58640,17 +58636,17 @@ function LY(e, t) { } else if (n === "sunburst") { var s = r.highlightPolicy; s && (r.emphasis = r.emphasis || {}, r.emphasis.focus || (r.emphasis.focus = s, process.env.NODE_ENV !== "production" && $n("highlightPolicy", "emphasis.focus", "sunburst"))), o6(r), OY(r.data, o6); - } else n === "graph" || n === "sankey" ? LOe(r) : n === "map" && (r.mapType && !r.map && (process.env.NODE_ENV !== "production" && $n("mapType", "map", "map"), r.map = r.mapType), r.mapLocation && (process.env.NODE_ENV !== "production" && Pa("`mapLocation` is not used anymore."), xt(r, r.mapLocation))); + } else n === "graph" || n === "sankey" ? FOe(r) : n === "map" && (r.mapType && !r.map && (process.env.NODE_ENV !== "production" && $n("mapType", "map", "map"), r.map = r.mapType), r.mapLocation && (process.env.NODE_ENV !== "production" && Pa("`mapLocation` is not used anymore."), xt(r, r.mapLocation))); r.hoverAnimation != null && (r.emphasis = r.emphasis || {}, r.emphasis && r.emphasis.scale == null && (process.env.NODE_ENV !== "production" && $n("hoverAnimation", "emphasis.scale"), r.emphasis.scale = r.hoverAnimation)), n6(r); } - }), e.dataRange && (e.visualMap = e.dataRange), z(OOe, function(r) { + }), e.dataRange && (e.visualMap = e.dataRange), z(LOe, function(r) { var n = e[r]; n && (Ae(n) || (n = [n]), z(n, function(i) { n6(i); })); }); } -function FOe(e) { +function NOe(e) { var t = pt(); e.eachSeries(function(r) { var n = r.get("stack"); @@ -58670,9 +58666,9 @@ function FOe(e) { return; i.length && o.setCalculationInfo("stackedOnSeries", i[i.length - 1].seriesModel), i.push(a); } - }), t.each(NOe); + }), t.each(kOe); } -function NOe(e) { +function kOe(e) { z(e, function(t, r) { var n = [], i = [NaN, NaN], o = [t.stackResultDimension, t.stackedOverDimension], a = t.data, s = t.isStackedByIndex, l = t.seriesModel.get("stackStrategy") || "samesign"; a.modify(o, function(c, u, d) { @@ -58686,7 +58682,7 @@ function NOe(e) { if (s || (p = m.data.rawIndexOf(m.stackedByDimension, f)), p >= 0) { var y = m.data.getByRawIndex(m.stackResultDimension, p); if (l === "all" || l === "positive" && y > 0 || l === "negative" && y < 0 || l === "samesign" && h >= 0 && y > 0 || l === "samesign" && h <= 0 && y < 0) { - h = RDe(h, y), g = y; + h = PDe(h, y), g = y; break; } } @@ -58715,7 +58711,7 @@ function dA(e) { } function qT(e, t, r) { r = r || FY(e); - var n = t.seriesLayoutBy, i = $Oe(e, r, n, t.sourceHeader, t.dimensions), o = new j1({ + var n = t.seriesLayoutBy, i = VOe(e, r, n, t.sourceHeader, t.dimensions), o = new j1({ data: e, sourceFormat: r, seriesLayoutBy: n, @@ -58732,7 +58728,7 @@ function hA(e) { sourceFormat: Vi(e) ? Il : Aa }); } -function kOe(e) { +function $Oe(e) { return new j1({ data: e.data, sourceFormat: e.sourceFormat, @@ -58769,7 +58765,7 @@ function FY(e) { } return t; } -function $Oe(e, t, r, n, i) { +function VOe(e, t, r, n, i) { var o, a; if (!e) return { @@ -58785,7 +58781,7 @@ function $Oe(e, t, r, n, i) { i[u] = c != null ? c + "" : ""; }, r, s, 1 / 0)), o = i ? i.length : r === Cp ? s.length : s[0] ? s[0].length : null; } else if (t === Oa) - i || (i = VOe(e)); + i || (i = BOe(e)); else if (t === rl) i || (i = [], z(e, function(c, u) { i.push(u); @@ -58800,7 +58796,7 @@ function $Oe(e, t, r, n, i) { dimensionsDetectedCount: o }; } -function VOe(e) { +function BOe(e) { for (var t = 0, r; t < e.length && !(r = e[t++]); ) ; if (r) @@ -58934,7 +58930,7 @@ var Eu, Ru, Pu, l6, c6, kY = ( }() ), u6 = function(e, t, r, n) { return e[n]; -}, BOe = (Eu = {}, Eu[Bi + "_" + Bs] = function(e, t, r, n) { +}, HOe = (Eu = {}, Eu[Bi + "_" + Bs] = function(e, t, r, n) { return e[n + t]; }, Eu[Bi + "_" + Cp] = function(e, t, r, n, i) { n += t; @@ -58954,12 +58950,12 @@ var Eu, Ru, Pu, l6, c6, kY = ( return o; }, Eu[Aa] = u6, Eu); function $Y(e, t) { - var r = BOe[fA(e, t)]; + var r = HOe[fA(e, t)]; return process.env.NODE_ENV !== "production" && Et(r, 'Do not support get item on "' + e + '", "' + t + '".'), r; } var d6 = function(e, t, r) { return e.length; -}, HOe = (Ru = {}, Ru[Bi + "_" + Bs] = function(e, t, r) { +}, zOe = (Ru = {}, Ru[Bi + "_" + Bs] = function(e, t, r) { return Math.max(0, e.length - t); }, Ru[Bi + "_" + Cp] = function(e, t, r) { var n = e[0]; @@ -58972,19 +58968,19 @@ var d6 = function(e, t, r) { return i ? i.length : 0; }, Ru[Aa] = d6, Ru); function VY(e, t) { - var r = HOe[fA(e, t)]; + var r = zOe[fA(e, t)]; return process.env.NODE_ENV !== "production" && Et(r, 'Do not support count on "' + e + '", "' + t + '".'), r; } var mE = function(e, t, r) { return e[t]; -}, zOe = (Pu = {}, Pu[Bi] = mE, Pu[Oa] = function(e, t, r) { +}, GOe = (Pu = {}, Pu[Bi] = mE, Pu[Oa] = function(e, t, r) { return e[r]; }, Pu[rl] = mE, Pu[Aa] = function(e, t, r) { var n = up(e); return n instanceof Array ? n[t] : n; }, Pu[Il] = mE, Pu); function BY(e) { - var t = zOe[e]; + var t = GOe[e]; return process.env.NODE_ENV !== "production" && Et(t, 'Do not support get value on "' + e + '".'), t; } function fA(e, t) { @@ -59005,7 +59001,7 @@ function Vf(e, t, r) { } } } -var GOe = /\{@(.+?)\}/g, U1 = ( +var WOe = /\{@(.+?)\}/g, U1 = ( /** @class */ function() { function e() { @@ -59043,7 +59039,7 @@ var GOe = /\{@(.+?)\}/g, U1 = ( return l.status = r, l.dimensionIndex = i, o(l); if (Je(o)) { var u = oA(o, l); - return u.replace(GOe, function(d, h) { + return u.replace(WOe, function(d, h) { var f = h.length, p = h; p.charAt(0) === "[" && p.charAt(f - 1) === "]" && (p = +p.slice(1, f - 1), process.env.NODE_ENV !== "production" && isNaN(p) && Ri("Invalide label formatter: @" + h + ", only support @[0], @[1], @[2], ...")); var g = Vf(s, t, p); @@ -59069,9 +59065,9 @@ function h6(e) { }; } function sv(e) { - return new WOe(e); + return new jOe(e); } -var WOe = ( +var jOe = ( /** @class */ function() { function e(t) { @@ -59158,7 +59154,7 @@ function Dc(e, t) { var r = t && t.type; return r === "ordinal" ? e : (r === "time" && !br(e) && e != null && e !== "-" && (e = +jo(e)), e == null || e === "" ? NaN : Number(e)); } -var jOe = pt({ +var UOe = pt({ number: function(e) { return parseFloat(e); }, @@ -59170,7 +59166,7 @@ var jOe = pt({ } }); function HY(e) { - return jOe.get(e); + return UOe.get(e); } var zY = { lt: function(e, t) { @@ -59185,7 +59181,7 @@ var zY = { gte: function(e, t) { return e >= t; } -}, UOe = ( +}, KOe = ( /** @class */ function() { function e(t, r) { @@ -59215,7 +59211,7 @@ var zY = { return n < i ? this._resultLT : n > i ? -this._resultLT : 0; }, e; }() -), KOe = ( +), ZOe = ( /** @class */ function() { function e(t, r) { @@ -59231,10 +59227,10 @@ var zY = { }, e; }() ); -function ZOe(e, t) { - return e === "eq" || e === "ne" ? new KOe(e === "eq", t) : lt(zY, e) ? new UOe(e, t) : null; +function YOe(e, t) { + return e === "eq" || e === "ne" ? new ZOe(e === "eq", t) : lt(zY, e) ? new KOe(e, t) : null; } -var YOe = ( +var qOe = ( /** @class */ function() { function e() { @@ -59254,8 +59250,8 @@ var YOe = ( }, e; }() ); -function qOe(e, t) { - var r = new YOe(), n = e.data, i = r.sourceFormat = e.sourceFormat, o = e.startIndex, a = ""; +function XOe(e, t) { + var r = new qOe(), n = e.data, i = r.sourceFormat = e.sourceFormat, o = e.startIndex, a = ""; e.seriesLayoutBy !== Bs && (process.env.NODE_ENV !== "production" && (a = '`seriesLayoutBy` of upstream dataset can only be "column" in data transform.'), Ar(a)); var s = [], l = {}, c = e.dimensionsDefine; if (c) @@ -59278,7 +59274,7 @@ function qOe(e, t) { var d = $Y(i, Bs); t.__isBuiltIn && (r.getRawDataItem = function(g) { return d(n, o, s, g); - }, r.getRawData = at(XOe, null, e)), r.cloneRawData = at(QOe, null, e); + }, r.getRawData = at(QOe, null, e)), r.cloneRawData = at(JOe, null, e); var h = VY(i, Bs); r.count = at(h, null, n, o, s); var f = BY(i); @@ -59293,9 +59289,9 @@ function qOe(e, t) { return f(g, v, m.name); } }; - return r.getDimensionInfo = at(JOe, null, s, l), r.cloneAllDimensionInfo = at(eLe, null, s), r; + return r.getDimensionInfo = at(eLe, null, s, l), r.cloneAllDimensionInfo = at(tLe, null, s), r; } -function XOe(e) { +function QOe(e) { var t = e.sourceFormat; if (!pA(t)) { var r = ""; @@ -59303,7 +59299,7 @@ function XOe(e) { } return e.data; } -function QOe(e) { +function JOe(e) { var t = e.sourceFormat, r = e.data; if (!pA(t)) { var n = ""; @@ -59319,7 +59315,7 @@ function QOe(e) { return i; } } -function JOe(e, t, r) { +function eLe(e, t, r) { if (r != null) { if (br(r) || !isNaN(r) && !lt(t, r)) return e[r]; @@ -59327,11 +59323,11 @@ function JOe(e, t, r) { return t[r]; } } -function eLe(e) { +function tLe(e) { return Mt(e); } var WY = pt(); -function tLe(e) { +function rLe(e) { e = Mt(e); var t = e.type, r = ""; t || (process.env.NODE_ENV !== "production" && (r = "Must have a `type` when `registerTransform`."), Ar(r)); @@ -59340,22 +59336,22 @@ function tLe(e) { var i = !1; n[0] === "echarts" && (t = n[1], i = !0), e.__isBuiltIn = i, WY.set(t, e); } -function rLe(e, t, r) { +function nLe(e, t, r) { var n = jr(e), i = n.length, o = ""; i || (process.env.NODE_ENV !== "production" && (o = "If `transform` declared, it should at least contain one transform."), Ar(o)); for (var a = 0, s = i; a < s; a++) { var l = n[a]; - t = nLe(l, t, r, i === 1 ? null : a), a !== s - 1 && (t.length = Math.max(t.length, 1)); + t = iLe(l, t, r, i === 1 ? null : a), a !== s - 1 && (t.length = Math.max(t.length, 1)); } return t; } -function nLe(e, t, r, n) { +function iLe(e, t, r, n) { var i = ""; t.length || (process.env.NODE_ENV !== "production" && (i = "Must have at least one upstream dataset."), Ar(i)), St(e) || (process.env.NODE_ENV !== "production" && (i = "transform declaration must be an object rather than " + typeof e + "."), Ar(i)); var o = e.type, a = WY.get(o); a || (process.env.NODE_ENV !== "production" && (i = 'Can not find transform on type "' + o + '".'), Ar(i)); var s = Fe(t, function(u) { - return qOe(u, a); + return XOe(u, a); }), l = jr(a.transform({ upstream: s[0], upstreamList: s, @@ -59368,7 +59364,7 @@ function nLe(e, t, r, n) { `); }).join(` `); - MDe(c); + DDe(c); } return Fe(l, function(u, d) { var h = ""; @@ -59395,7 +59391,7 @@ function nLe(e, t, r, n) { function pA(e) { return e === Bi || e === Oa; } -var K1 = "undefined", iLe = typeof Uint32Array === K1 ? Array : Uint32Array, oLe = typeof Uint16Array === K1 ? Array : Uint16Array, jY = typeof Int32Array === K1 ? Array : Int32Array, p6 = typeof Float64Array === K1 ? Array : Float64Array, UY = { +var K1 = "undefined", oLe = typeof Uint32Array === K1 ? Array : Uint32Array, aLe = typeof Uint16Array === K1 ? Array : Uint16Array, jY = typeof Int32Array === K1 ? Array : Int32Array, p6 = typeof Float64Array === K1 ? Array : Float64Array, UY = { float: p6, int: jY, // Ordinal data type can be string or int @@ -59404,12 +59400,12 @@ var K1 = "undefined", iLe = typeof Uint32Array === K1 ? Array : Uint32Array, oLe time: p6 }, yE; function Qp(e) { - return e > 65535 ? iLe : oLe; + return e > 65535 ? oLe : aLe; } function Ph() { return [1 / 0, -1 / 0]; } -function aLe(e) { +function sLe(e) { var t = e.constructor; return t === Array ? e.slice() : new t(e); } @@ -59757,7 +59753,7 @@ var XT = ( }, {}); if (o) for (var a = 0; a < i.length; a++) - n._chunks[a] = o[a] ? aLe(i[a]) : i[a]; + n._chunks[a] = o[a] ? sLe(i[a]) : i[a]; else n._chunks = i; return this._copyCommonProps(n), r || (n._indices = this._cloneIndices()), n._updateGetRawIdx(), n; @@ -59854,9 +59850,9 @@ var XT = ( c.prepareSource(); var u = c.getSource(i || 0), d = ""; i != null && !u && (process.env.NODE_ENV !== "production" && (d = "Can not retrieve result by `fromTransformResult`: " + i), m6(d)), s.push(u), l.push(c._getVersionSign()); - }), n ? a = rLe(n, s, { + }), n ? a = nLe(n, s, { datasetIndex: r.componentIndex - }) : i != null && (a = [kOe(s[0])]), { + }) : i != null && (a = [$Oe(s[0])]), { sourceList: a, upstreamSignList: l }; @@ -59899,7 +59895,7 @@ var XT = ( var r = lA(t); return r ? [r.getSourceManager()] : []; } else - return Fe(uOe(t), function(n) { + return Fe(dOe(t), function(n) { return n.getSourceManager(); }); }, e.prototype._getSourceMetaRawOption = function() { @@ -59949,7 +59945,7 @@ function YY(e, t) { } }; } -var sLe = [0, 10, 20, 30], lLe = ["", ` +var lLe = [0, 10, 20, 30], cLe = ["", ` `, ` `, ` @@ -59963,7 +59959,7 @@ function QT(e) { return e.type === "section"; } function qY(e) { - return QT(e) ? cLe : uLe; + return QT(e) ? uLe : dLe; } function XY(e) { if (QT(e)) { @@ -59976,8 +59972,8 @@ function XY(e) { } return 0; } -function cLe(e, t, r, n) { - var i = t.noHeader, o = dLe(XY(t)), a = [], s = t.blocks || []; +function uLe(e, t, r, n) { + var i = t.noHeader, o = hLe(XY(t)), a = [], s = t.blocks || []; Et(!s || Ae(s)), s = s || []; var l = e.orderMode; if (t.sortBlocks && l) { @@ -60011,7 +60007,7 @@ function cLe(e, t, r, n) { var h = UT(t.header, "ordinal", e.useUTC), f = YY(n, e.renderMode).nameStyle; return e.renderMode === "richText" ? QY(e, h, f) + o.richText + d : JT('
' + Yi(h) + "
" + d, r); } -function uLe(e, t, r, n) { +function dLe(e, t, r, n) { var i = e.renderMode, o = t.noName, a = t.noValue, s = !t.markerType, l = t.name, c = e.useUTC, u = t.valueFormatter || e.valueFormatter || function(S) { return S = Ae(S) ? S : [S], Fe(S, function(w, x) { return UT(w, Ae(f) ? f[x] : f, c); @@ -60019,7 +60015,7 @@ function uLe(e, t, r, n) { }; if (!(o && a)) { var d = s ? "" : e.markupStyleCreator.makeTooltipMarker(t.markerType, t.markerColor || "#333", i), h = o ? "" : UT(l, "ordinal", c), f = t.valueType, p = a ? [] : u(t.value, t.dataIndex), g = !s || !o, v = !s && o, m = YY(n, i), y = m.nameStyle, C = m.valueStyle; - return i === "richText" ? (s ? "" : d) + (o ? "" : QY(e, h, y)) + (a ? "" : pLe(e, p, g, v, C)) : JT((s ? "" : d) + (o ? "" : hLe(h, !s, y)) + (a ? "" : fLe(p, g, v, C)), r); + return i === "richText" ? (s ? "" : d) + (o ? "" : QY(e, h, y)) + (a ? "" : gLe(e, p, g, v, C)) : JT((s ? "" : d) + (o ? "" : fLe(h, !s, y)) + (a ? "" : pLe(p, g, v, C)), r); } } function y6(e, t, r, n, i, o) { @@ -60034,21 +60030,21 @@ function y6(e, t, r, n, i, o) { return a(s, e, 0, o); } } -function dLe(e) { +function hLe(e) { return { - html: sLe[e], - richText: lLe[e] + html: lLe[e], + richText: cLe[e] }; } function JT(e, t) { var r = '
', n = "margin: " + t + "px 0 0"; return '
' + e + r + "
"; } -function hLe(e, t, r) { +function fLe(e, t, r) { var n = t ? "margin-left:2px" : ""; return '' + Yi(e) + ""; } -function fLe(e, t, r, n) { +function pLe(e, t, r, n) { var i = r ? "10px" : "20px", o = t ? "float:right;margin-left:" + i : ""; return e = Ae(e) ? e : [e], '' + Fe(e, function(a) { return Yi(a); @@ -60057,7 +60053,7 @@ function fLe(e, t, r, n) { function QY(e, t, r) { return e.markupStyleCreator.wrapRichTextStyle(t, r); } -function pLe(e, t, r, n, i) { +function gLe(e, t, r, n, i) { var o = [i], a = n ? 10 : 20; return r && o.push({ padding: [0, 0, 0, a], @@ -60101,7 +60097,7 @@ var CE = ( function tq(e) { var t = e.series, r = e.dataIndex, n = e.multipleSeries, i = t.getData(), o = i.mapDimensionsAll("defaultedTooltip"), a = o.length, s = t.getRawValue(r), l = Ae(s), c = JY(t, r), u, d, h, f; if (a > 1 || l && !a) { - var p = gLe(s, t, r, o, c); + var p = vLe(s, t, r, o, c); u = p.inlineValues, d = p.inlineValueTypes, h = p.blocks, f = p.inlineValues[0]; } else if (a) { var g = i.getDimensionInfo(o[0]); @@ -60130,7 +60126,7 @@ function tq(e) { })].concat(h || []) }); } -function gLe(e, t, r, n, i) { +function vLe(e, t, r, n, i) { var o = t.getData(), a = Ra(e, function(d, h, f) { var p = o.getDimensionInfo(f); return d = d || p && p.tooltip !== !1 && p.displayName != null; @@ -60168,8 +60164,8 @@ var MC = "__universalTransitionEnabled", Ur = ( } return t.prototype.init = function(r, n, i) { this.seriesIndex = this.componentIndex, this.dataTask = sv({ - count: mLe, - reset: yLe + count: yLe, + reset: CLe }), this.dataTask.context = { model: this }, this.mergeDefaultAndTheme(r, i); @@ -60330,31 +60326,31 @@ On(Ur, cA); gZ(Ur, Qt); function C6(e) { var t = e.name; - LI(e) || (e.name = vLe(e) || t); + LI(e) || (e.name = mLe(e) || t); } -function vLe(e) { +function mLe(e) { var t = e.getRawData(), r = t.mapDimensionsAll("seriesName"), n = []; return z(r, function(i) { var o = t.getDimensionInfo(i); o.displayName && n.push(o.displayName); }), n.join(" "); } -function mLe(e) { +function yLe(e) { return e.model.getRawData().count(); } -function yLe(e) { +function CLe(e) { var t = e.model; - return t.setData(t.getRawData().cloneShallow()), CLe; + return t.setData(t.getRawData().cloneShallow()), bLe; } -function CLe(e, t) { +function bLe(e, t) { t.outputData && e.end > t.outputData.count() && t.model.getRawData().cloneShallow(t.outputData); } function b6(e, t) { z($v(e.CHANGABLE_METHODS, e.DOWNSAMPLE_METHODS), function(r) { - e.wrapMethod(r, Bt(bLe, t)); + e.wrapMethod(r, Bt(SLe, t)); }); } -function bLe(e, t) { +function SLe(e, t) { var r = e_(e); return r && r.setOutputEnd((t || this).count()), t; } @@ -60397,13 +60393,13 @@ function bp() { return (i !== a || o !== s) && "reset"; }; } -var rq = Cr(), SLe = bp(), Vr = ( +var rq = Cr(), wLe = bp(), Vr = ( /** @class */ function() { function e() { this.group = new Lt(), this.uid = mp("viewChart"), this.renderTask = sv({ - plan: wLe, - reset: xLe + plan: xLe, + reset: ELe }), this.renderTask.context = { view: this }; @@ -60449,7 +60445,7 @@ function S6(e, t, r) { e && Gc(e) && (t === "emphasis" ? zl : Gl)(e, r); } function w6(e, t, r) { - var n = Id(e, t), i = t && t.highlightKey != null ? eAe(t.highlightKey) : null; + var n = Id(e, t), i = t && t.highlightKey != null ? tAe(t.highlightKey) : null; n != null ? z(jr(n), function(o) { S6(e.getItemGraphicEl(o), r, i); }) : e.eachItemGraphicEl(function(o) { @@ -60458,14 +60454,14 @@ function w6(e, t, r) { } NI(Vr, ["dispose"]); _1(Vr); -function wLe(e) { - return SLe(e.model); -} function xLe(e) { + return wLe(e.model); +} +function ELe(e) { var t = e.model, r = e.ecModel, n = e.api, i = e.payload, o = t.pipelineContext.progressiveRender, a = e.view, s = i && rq(i).updateMethod, l = o ? "incrementalPrepareRender" : s && a[s] ? s : "render"; - return l !== "render" && a[l](t, r, n, i), ELe[l]; + return l !== "render" && a[l](t, r, n, i), RLe[l]; } -var ELe = { +var RLe = { incrementalPrepareRender: { progress: function(e, t) { t.view.incrementalRender(e, t.model, t.ecModel, t.api, t.payload); @@ -60520,7 +60516,7 @@ function qv(e, t) { var R6 = Cr(), P6 = { itemStyle: Ad(hY, !0), lineStyle: Ad(dY, !0) -}, RLe = { +}, PLe = { lineStyle: "stroke", itemStyle: "fill" }; @@ -60529,10 +60525,10 @@ function nq(e, t) { return r || (console.warn("Unknown style type '" + t + "'."), P6.itemStyle); } function iq(e, t) { - var r = e.visualDrawType || RLe[t]; + var r = e.visualDrawType || PLe[t]; return r || (console.warn("Unknown style type '" + t + "'."), "fill"); } -var PLe = { +var TLe = { createOnAllSeries: !0, performRawSeries: !0, reset: function(e, t) { @@ -60556,7 +60552,7 @@ var PLe = { } }; } -}, eg = new Wr(), TLe = { +}, eg = new Wr(), _Le = { createOnAllSeries: !0, performRawSeries: !0, reset: function(e, t) { @@ -60574,7 +60570,7 @@ var PLe = { }; } } -}, _Le = { +}, MLe = { performRawSeries: !0, overallReset: function(e) { var t = pt(); @@ -60601,7 +60597,7 @@ var PLe = { }); } }, d0 = Math.PI; -function MLe(e, t) { +function DLe(e, t) { t = t || {}, xt(t, { text: "loading", textColor: "#000", @@ -60792,9 +60788,9 @@ var oq = ( t.createOnAllSeries ? n.eachRawSeries(u) : l ? n.eachRawSeriesByType(l, u) : c && c(n, i).each(u); function u(d) { var h = d.uid, f = s.set(h, a && a.get(h) || sv({ - plan: LLe, - reset: FLe, - count: kLe + plan: FLe, + reset: NLe, + count: $Le })); f.context = { model: d, @@ -60809,7 +60805,7 @@ var oq = ( } }, e.prototype._createOverallStageTask = function(t, r, n, i) { var o = this, a = r.overallTask = r.overallTask || sv({ - reset: DLe + reset: ILe }); a.context = { ecModel: n, @@ -60823,8 +60819,8 @@ var oq = ( var v = g.uid, m = l.set(v, s && s.get(v) || // When the result of `getTargetSeries` changed, the overallTask // should be set as dirty and re-performed. (h = !0, sv({ - reset: ILe, - onDirty: OLe + reset: ALe, + onDirty: LLe }))); m.context = { model: g, @@ -60840,34 +60836,34 @@ var oq = ( }, e.wrapStageHandler = function(t, r) { return gt(t) && (t = { overallReset: t, - seriesType: $Le(t) + seriesType: VLe(t) }), t.uid = mp("stageHandler"), r && (t.visualType = r), t; }, e; }() ); -function DLe(e) { +function ILe(e) { e.overallReset(e.ecModel, e.api, e.payload); } -function ILe(e) { - return e.overallProgress && ALe; +function ALe(e) { + return e.overallProgress && OLe; } -function ALe() { +function OLe() { this.agent.dirty(), this.getDownstream().dirty(); } -function OLe() { +function LLe() { this.agent && this.agent.dirty(); } -function LLe(e) { +function FLe(e) { return e.plan ? e.plan(e.model, e.ecModel, e.api, e.payload) : null; } -function FLe(e) { +function NLe(e) { e.useClearVisual && e.data.clearAllVisual(); var t = e.resetDefines = jr(e.reset(e.model, e.ecModel, e.api, e.payload)); return t.length > 1 ? Fe(t, function(r, n) { return aq(n); - }) : NLe; + }) : kLe; } -var NLe = aq(0); +var kLe = aq(0); function aq(e) { return function(t, r) { var n = r.data, i = r.resetDefines[e]; @@ -60877,10 +60873,10 @@ function aq(e) { else i && i.progress && i.progress(t, n); }; } -function kLe(e) { +function $Le(e) { return e.data.count(); } -function $Le(e) { +function VLe(e) { $b = null; try { e(Xv, sq); @@ -60902,7 +60898,7 @@ function lq(e, t) { e[r] = An; } var T6 = ["#37A2DA", "#32C5E9", "#67E0E3", "#9FE6B8", "#FFDB5C", "#ff9f7f", "#fb7293", "#E062AE", "#E690D1", "#e7bcf3", "#9d96f5", "#8378EA", "#96BFFF"]; -const VLe = { +const BLe = { color: T6, colorLayer: [["#37A2DA", "#ffd85c", "#fd7b5f"], ["#37A2DA", "#67E0E3", "#FFDB5C", "#ff9f7f", "#E062AE", "#9d96f5"], ["#37A2DA", "#32C5E9", "#9FE6B8", "#FFDB5C", "#ff9f7f", "#fb7293", "#e7bcf3", "#8378EA", "#96BFFF"], T6] }; @@ -61080,7 +61076,7 @@ var ji = "#B9B8CE", _6 = "#100C2A", h0 = function() { } }; cq.categoryAxis.splitLine.show = !1; -var BLe = ( +var HLe = ( /** @class */ function() { function e() { @@ -61128,7 +61124,7 @@ var BLe = ( this.eventInfo = null; }, e; }() -), t_ = ["symbol", "symbolSize", "symbolRotate", "symbolOffset"], D6 = t_.concat(["symbolKeepAspect"]), HLe = { +), t_ = ["symbol", "symbolSize", "symbolRotate", "symbolOffset"], D6 = t_.concat(["symbolKeepAspect"]), zLe = { createOnAllSeries: !0, // For legend. performRawSeries: !0, @@ -61156,7 +61152,7 @@ var BLe = ( dataEach: o ? u : null }; } -}, zLe = { +}, GLe = { createOnAllSeries: !0, // For legend. performRawSeries: !0, @@ -61261,7 +61257,7 @@ function Th(e, t, r, n, i) { } })); } -function GLe(e, t, r) { +function WLe(e, t, r) { e.on("selectchanged", function(n) { var i = r.getModel(); n.isFromClick ? (Th("map", "selectchanged", t, i, n), Th("pie", "selectchanged", t, i, n)) : n.fromAction === "select" ? (Th("map", "selected", t, i, n), Th("pie", "selected", t, i, n)) : n.fromAction === "unselect" && (Th("map", "unselected", t, i, n), Th("pie", "unselected", t, i, n)); @@ -61272,15 +61268,15 @@ function nd(e, t, r) { e = e.__hostTarget || e.parent; return n; } -var WLe = Math.round(Math.random() * 9), jLe = typeof Object.defineProperty == "function", ULe = function() { +var jLe = Math.round(Math.random() * 9), ULe = typeof Object.defineProperty == "function", KLe = function() { function e() { - this._id = "__ec_inner_" + WLe++; + this._id = "__ec_inner_" + jLe++; } return e.prototype.get = function(t) { return this._guard(t)[this._id]; }, e.prototype.set = function(t, r) { var n = this._guard(t); - return jLe ? Object.defineProperty(n, this._id, { + return ULe ? Object.defineProperty(n, this._id, { value: r, enumerable: !1, configurable: !0 @@ -61294,7 +61290,7 @@ var WLe = Math.round(Math.random() * 9), jLe = typeof Object.defineProperty == " throw TypeError("Value of WeakMap is not a non-null object."); return t; }, e; -}(), KLe = nr.extend({ +}(), ZLe = nr.extend({ type: "triangle", shape: { cx: 0, @@ -61306,7 +61302,7 @@ var WLe = Math.round(Math.random() * 9), jLe = typeof Object.defineProperty == " var r = t.cx, n = t.cy, i = t.width / 2, o = t.height / 2; e.moveTo(r, n - o), e.lineTo(r + i, n + o), e.lineTo(r - i, n + o), e.closePath(); } -}), ZLe = nr.extend({ +}), YLe = nr.extend({ type: "diamond", shape: { cx: 0, @@ -61318,7 +61314,7 @@ var WLe = Math.round(Math.random() * 9), jLe = typeof Object.defineProperty == " var r = t.cx, n = t.cy, i = t.width / 2, o = t.height / 2; e.moveTo(r, n - o), e.lineTo(r + i, n), e.lineTo(r, n + o), e.lineTo(r - i, n), e.closePath(); } -}), YLe = nr.extend({ +}), qLe = nr.extend({ type: "pin", shape: { // x, y on the cusp @@ -61331,7 +61327,7 @@ var WLe = Math.round(Math.random() * 9), jLe = typeof Object.defineProperty == " var r = t.x, n = t.y, i = t.width / 5 * 3, o = Math.max(i, t.height), a = i / 2, s = a * a / (o - a), l = n - o + a + s, c = Math.asin(s / a), u = Math.cos(c) * a, d = Math.sin(c), h = Math.cos(c), f = a * 0.6, p = a * 0.7; e.moveTo(r - u, l + s), e.arc(r, l, a, Math.PI - c, Math.PI * 2 + c), e.bezierCurveTo(r + u - d * f, l + s + h * f, r, n - p, r, n), e.bezierCurveTo(r, n - p, r - u + d * f, l + s + h * f, r - u, l + s), e.closePath(); } -}), qLe = nr.extend({ +}), XLe = nr.extend({ type: "arrow", shape: { x: 0, @@ -61343,17 +61339,17 @@ var WLe = Math.round(Math.random() * 9), jLe = typeof Object.defineProperty == " var r = t.height, n = t.width, i = t.x, o = t.y, a = n / 3 * 2; e.moveTo(i, o), e.lineTo(i + a, o + r), e.lineTo(i, o + r / 4 * 3), e.lineTo(i - a, o + r), e.lineTo(i, o), e.closePath(); } -}), XLe = { +}), QLe = { line: ii, rect: vr, roundRect: vr, square: vr, circle: Ql, - diamond: ZLe, - pin: YLe, - arrow: qLe, - triangle: KLe -}, QLe = { + diamond: YLe, + pin: qLe, + arrow: XLe, + triangle: ZLe +}, JLe = { line: function(e, t, r, n, i) { i.x1 = e, i.y1 = t + n / 2, i.x2 = e + r, i.y2 = t + n / 2; }, @@ -61383,10 +61379,10 @@ var WLe = Math.round(Math.random() * 9), jLe = typeof Object.defineProperty == " i.cx = e + r / 2, i.cy = t + n / 2, i.width = r, i.height = n; } }, Vb = {}; -z(XLe, function(e, t) { +z(QLe, function(e, t) { Vb[t] = new e(); }); -var JLe = nr.extend({ +var eFe = nr.extend({ type: "symbol", shape: { symbolType: "", @@ -61403,11 +61399,11 @@ var JLe = nr.extend({ var n = t.symbolType; if (n !== "none") { var i = Vb[n]; - i || (n = "rect", i = Vb[n]), QLe[n](t.x, t.y, t.width, t.height, i.shape), i.buildPath(e, i.shape, r); + i || (n = "rect", i = Vb[n]), JLe[n](t.x, t.y, t.width, t.height, i.shape), i.buildPath(e, i.shape, r); } } }); -function eFe(e, t) { +function tFe(e, t) { if (this.type !== "image") { var r = this.style; this.__isEmptyBrush ? (r.stroke = e, r.fill = t || "#fff", r.lineWidth = 2) : this.shape.symbolType === "line" ? r.stroke = e : r.fill = e, this.markRedraw(); @@ -61417,7 +61413,7 @@ function Hn(e, t, r, n, i, o, a) { var s = e.indexOf("empty") === 0; s && (e = e.substr(5, 1).toLowerCase() + e.substr(6)); var l; - return e.indexOf("image://") === 0 ? l = KI(e.slice(8), new Zt(t, r, n, i), a ? "center" : "cover") : e.indexOf("path://") === 0 ? l = Jm(e.slice(7), {}, new Zt(t, r, n, i), a ? "center" : "cover") : l = new JLe({ + return e.indexOf("image://") === 0 ? l = KI(e.slice(8), new Zt(t, r, n, i), a ? "center" : "cover") : e.indexOf("path://") === 0 ? l = Jm(e.slice(7), {}, new Zt(t, r, n, i), a ? "center" : "cover") : l = new eFe({ shape: { symbolType: e, x: t, @@ -61425,7 +61421,7 @@ function Hn(e, t, r, n, i, o, a) { width: n, height: i } - }), l.__isEmptyBrush = s, l.setColor = eFe, o && l.setColor(o), l; + }), l.__isEmptyBrush = s, l.setColor = tFe, o && l.setColor(o), l; } function wp(e) { return Ae(e) || (e = [+e, +e]), [e[0] || 0, e[1] || 0]; @@ -61437,24 +61433,24 @@ function Qd(e, t) { function id(e) { return isFinite(e); } -function tFe(e, t, r) { +function rFe(e, t, r) { var n = t.x == null ? 0 : t.x, i = t.x2 == null ? 1 : t.x2, o = t.y == null ? 0 : t.y, a = t.y2 == null ? 0 : t.y2; t.global || (n = n * r.width + r.x, i = i * r.width + r.x, o = o * r.height + r.y, a = a * r.height + r.y), n = id(n) ? n : 0, i = id(i) ? i : 1, o = id(o) ? o : 0, a = id(a) ? a : 0; var s = e.createLinearGradient(n, o, i, a); return s; } -function rFe(e, t, r) { +function nFe(e, t, r) { var n = r.width, i = r.height, o = Math.min(n, i), a = t.x == null ? 0.5 : t.x, s = t.y == null ? 0.5 : t.y, l = t.r == null ? 0.5 : t.r; t.global || (a = a * n + r.x, s = s * i + r.y, l = l * o), a = id(a) ? a : 0.5, s = id(s) ? s : 0.5, l = l >= 0 && id(l) ? l : 0.5; var c = e.createRadialGradient(a, s, 0, a, s, l); return c; } function r_(e, t, r) { - for (var n = t.type === "radial" ? rFe(e, t, r) : tFe(e, t, r), i = t.colorStops, o = 0; o < i.length; o++) + for (var n = t.type === "radial" ? nFe(e, t, r) : rFe(e, t, r), i = t.colorStops, o = 0; o < i.length; o++) n.addColorStop(i[o].offset, i[o].color); return n; } -function nFe(e, t) { +function iFe(e, t) { if (e === t || !e && !t) return !1; if (!e || !t || e.length !== t.length) @@ -61474,11 +61470,11 @@ function of(e, t, r) { var s = document.defaultView.getComputedStyle(e); return (e[i] || f0(s[n]) || f0(e.style[n])) - (f0(s[o]) || 0) - (f0(s[a]) || 0) | 0; } -function iFe(e, t) { +function oFe(e, t) { return !e || e === "solid" || !(t > 0) ? null : e === "dashed" ? [4 * t, 2 * t] : e === "dotted" ? [t] : br(e) ? [e] : Ae(e) ? e : null; } function vA(e) { - var t = e.style, r = t.lineDash && t.lineWidth > 0 && iFe(t.lineDash, t.lineWidth), n = t.lineDashOffset; + var t = e.style, r = t.lineDash && t.lineWidth > 0 && oFe(t.lineDash, t.lineWidth), n = t.lineDashOffset; if (r) { var i = t.strokeNoScale && e.getLineScale ? e.getLineScale() : 1; i && i !== 1 && (r = Fe(r, function(o) { @@ -61487,7 +61483,7 @@ function vA(e) { } return [r, n]; } -var oFe = new Zs(!0); +var aFe = new Zs(!0); function Bb(e) { var t = e.stroke; return !(t == null || t === "none" || !(e.lineWidth > 0)); @@ -61524,10 +61520,10 @@ function n_(e, t, r) { return i; } } -function aFe(e, t, r, n) { +function sFe(e, t, r, n) { var i, o = Bb(r), a = Hb(r), s = r.strokePercent, l = s < 1, c = !t.path; (!t.silent || l) && c && t.createPathProxy(); - var u = t.path || oFe, d = t.__dirty; + var u = t.path || aFe, d = t.__dirty; if (!n) { var h = r.fill, f = r.stroke, p = a && !!h.colorStops, g = o && !!f.colorStops, v = a && !!h.image, m = o && !!f.image, y = void 0, C = void 0, S = void 0, w = void 0, x = void 0; (p || g) && (x = t.getBoundingRect()), p && (y = d ? r_(e, h, x) : t.__canvasFillGradient, t.__canvasFillGradient = y), g && (C = d ? r_(e, f, x) : t.__canvasStrokeGradient, t.__canvasStrokeGradient = C), v && (S = d || !t.__canvasFillPattern ? n_(e, h, t) : t.__canvasFillPattern, t.__canvasFillPattern = S), m && (w = d || !t.__canvasStrokePattern ? n_(e, f, t) : t.__canvasStrokePattern, t.__canvasStrokePattern = S), p ? e.fillStyle = y : v && (S ? e.fillStyle = S : a = !1), g ? e.strokeStyle = C : m && (w ? e.strokeStyle = w : o = !1); @@ -61539,7 +61535,7 @@ function aFe(e, t, r, n) { var T = !0; (c || d & Uh) && (u.setDPR(e.dpr), l ? u.setContext(null) : (u.setContext(e), T = !1), u.reset(), t.buildPath(u, t.shape, n), u.toStatic(), t.pathUpdated()), T && u.rebuildPath(e, l ? s : 1), R && (e.setLineDash(R), e.lineDashOffset = P), n || (r.strokeFirst ? (o && O6(e, r), a && A6(e, r)) : (a && A6(e, r), o && O6(e, r))), R && e.setLineDash([]); } -function sFe(e, t, r) { +function lFe(e, t, r) { var n = t.__image = kI(r.image, t.__image, t, t.onload); if (!(!n || !M1(n))) { var i = r.x || 0, o = r.y || 0, a = t.getWidth(), s = t.getHeight(), l = n.width / n.height; @@ -61553,7 +61549,7 @@ function sFe(e, t, r) { e.drawImage(n, i, o, a, s); } } -function lFe(e, t, r) { +function cFe(e, t, r) { var n, i = r.text; if (i != null && (i += ""), i) { e.font = r.font || Vc, e.textAlign = r.textAlign, e.textBaseline = r.textBaseline; @@ -61597,25 +61593,25 @@ function N6(e, t, r, n, i) { } return s; } -function cFe(e, t, r, n, i) { +function uFe(e, t, r, n, i) { return hq(e, Qv(t, i.inHover), r && Qv(r, i.inHover), n, i); } function fq(e, t) { var r = t.transform, n = e.dpr || 1; r ? e.setTransform(n * r[0], n * r[1], n * r[2], n * r[3], n * r[4], n * r[5]) : e.setTransform(n, 0, 0, n, 0, 0); } -function uFe(e, t, r) { +function dFe(e, t, r) { for (var n = !1, i = 0; i < e.length; i++) { var o = e[i]; n = n || o.isZeroArea(), fq(t, o), t.beginPath(), o.buildPath(t, o.shape), t.clip(); } r.allClipped = n; } -function dFe(e, t) { +function hFe(e, t) { return e && t ? e[0] !== t[0] || e[1] !== t[1] || e[2] !== t[2] || e[3] !== t[3] || e[4] !== t[4] || e[5] !== t[5] : !(!e && !t); } var k6 = 1, $6 = 2, V6 = 3, B6 = 4; -function hFe(e) { +function fFe(e) { var t = Hb(e), r = Bb(e); return !(e.lineDash || !(+t ^ +r) || t && typeof e.fill != "string" || r && typeof e.stroke != "string" || e.strokePercent < 1 || e.strokeOpacity < 1 || e.fillOpacity < 1); } @@ -61635,19 +61631,19 @@ function od(e, t, r, n) { return; } var o = t.__clipPaths, a = r.prevElClipPaths, s = !1, l = !1; - if ((!a || nFe(o, a)) && (a && a.length && (yo(e, r), e.restore(), l = s = !0, r.prevElClipPaths = null, r.allClipped = !1, r.prevEl = null), o && o.length && (yo(e, r), e.save(), uFe(o, e, r), s = !0), r.prevElClipPaths = o), r.allClipped) { + if ((!a || iFe(o, a)) && (a && a.length && (yo(e, r), e.restore(), l = s = !0, r.prevElClipPaths = null, r.allClipped = !1, r.prevEl = null), o && o.length && (yo(e, r), e.save(), dFe(o, e, r), s = !0), r.prevElClipPaths = o), r.allClipped) { t.__isRendered = !1; return; } t.beforeBrush && t.beforeBrush(), t.innerBeforeBrush(); var c = r.prevEl; c || (l = s = !0); - var u = t instanceof nr && t.autoBatch && hFe(t.style); - s || dFe(i, c.transform) ? (yo(e, r), fq(e, t)) : u || yo(e, r); + var u = t instanceof nr && t.autoBatch && fFe(t.style); + s || hFe(i, c.transform) ? (yo(e, r), fq(e, t)) : u || yo(e, r); var d = Qv(t, r.inHover); - t instanceof nr ? (r.lastDrawType !== k6 && (l = !0, r.lastDrawType = k6), N6(e, t, c, l, r), (!u || !r.batchFill && !r.batchStroke) && e.beginPath(), aFe(e, t, d, u), u && (r.batchFill = d.fill || "", r.batchStroke = d.stroke || "")) : t instanceof kf ? (r.lastDrawType !== V6 && (l = !0, r.lastDrawType = V6), N6(e, t, c, l, r), lFe(e, t, d)) : t instanceof bi ? (r.lastDrawType !== $6 && (l = !0, r.lastDrawType = $6), cFe(e, t, c, l, r), sFe(e, t, d)) : t.getTemporalDisplayables && (r.lastDrawType !== B6 && (l = !0, r.lastDrawType = B6), fFe(e, t, r)), u && n && yo(e, r), t.innerAfterBrush(), t.afterBrush && t.afterBrush(), r.prevEl = t, t.__dirty = 0, t.__isRendered = !0; + t instanceof nr ? (r.lastDrawType !== k6 && (l = !0, r.lastDrawType = k6), N6(e, t, c, l, r), (!u || !r.batchFill && !r.batchStroke) && e.beginPath(), sFe(e, t, d, u), u && (r.batchFill = d.fill || "", r.batchStroke = d.stroke || "")) : t instanceof kf ? (r.lastDrawType !== V6 && (l = !0, r.lastDrawType = V6), N6(e, t, c, l, r), cFe(e, t, d)) : t instanceof bi ? (r.lastDrawType !== $6 && (l = !0, r.lastDrawType = $6), uFe(e, t, c, l, r), lFe(e, t, d)) : t.getTemporalDisplayables && (r.lastDrawType !== B6 && (l = !0, r.lastDrawType = B6), pFe(e, t, r)), u && n && yo(e, r), t.innerAfterBrush(), t.afterBrush && t.afterBrush(), r.prevEl = t, t.__dirty = 0, t.__isRendered = !0; } -function fFe(e, t, r) { +function pFe(e, t, r) { var n = t.getDisplayables(), i = t.getTemporalDisplayables(); e.save(); var o = { @@ -61668,7 +61664,7 @@ function fFe(e, t, r) { } t.clearTemporalDisplayables(), t.notClear = !0, e.restore(); } -var bE = new ULe(), H6 = new Um(100), z6 = ["symbol", "symbolSize", "symbolKeepAspect", "color", "backgroundColor", "dashArrayX", "dashArrayY", "maxTileWidth", "maxTileHeight"]; +var bE = new KLe(), H6 = new Um(100), z6 = ["symbol", "symbolSize", "symbolKeepAspect", "color", "backgroundColor", "dashArrayX", "dashArrayY", "maxTileWidth", "maxTileHeight"]; function Bf(e, t) { if (e === "none") return null; @@ -61709,7 +61705,7 @@ function Bf(e, t) { var g = H6.get(p); g && (i ? c.svgElement = g : c.image = g); } - var v = gq(a.dashArrayX), m = pFe(a.dashArrayY), y = pq(a.symbol), C = gFe(v), S = vq(m), w = !i && os.createCanvas(), x = i && { + var v = gq(a.dashArrayX), m = gFe(a.dashArrayY), y = pq(a.symbol), C = vFe(v), S = vq(m), w = !i && os.createCanvas(), x = i && { tag: "g", attrs: {}, key: "dcl", @@ -61810,7 +61806,7 @@ function gq(e) { } return i; } -function pFe(e) { +function gFe(e) { if (!e || typeof e == "object" && e.length === 0) return [0, 0]; if (br(e)) { @@ -61822,7 +61818,7 @@ function pFe(e) { }); return e.length % 2 ? r.concat(r) : r; } -function gFe(e) { +function vFe(e) { return Fe(e, function(t) { return vq(t); }); @@ -61832,7 +61828,7 @@ function vq(e) { t += e[r]; return e.length % 2 === 1 ? t * 2 : t; } -function vFe(e, t) { +function mFe(e, t) { e.eachRawSeries(function(r) { if (!e.isSeriesFiltered(r)) { var n = r.getData(); @@ -61852,33 +61848,33 @@ function vFe(e, t) { }); } var Ha = new Da(), zb = {}; -function mFe(e, t) { +function yFe(e, t) { process.env.NODE_ENV !== "production" && zb[e] && Ri("Already has an implementation of " + e + "."), zb[e] = t; } function mq(e) { return process.env.NODE_ENV !== "production" && (zb[e] || Ri("Implementation of " + e + " doesn't exists.")), zb[e]; } -var yFe = "5.5.1", CFe = { +var CFe = "5.5.1", bFe = { zrender: "5.6.0" -}, bFe = 1, SFe = 800, wFe = 900, xFe = 1e3, EFe = 2e3, RFe = 5e3, yq = 1e3, PFe = 1100, yA = 2e3, Cq = 3e3, TFe = 4e3, Y1 = 4500, _Fe = 4600, MFe = 5e3, DFe = 6e3, bq = 7e3, Sq = { +}, SFe = 1, wFe = 800, xFe = 900, EFe = 1e3, RFe = 2e3, PFe = 5e3, yq = 1e3, TFe = 1100, yA = 2e3, Cq = 3e3, _Fe = 4e3, Y1 = 4500, MFe = 4600, DFe = 5e3, IFe = 6e3, bq = 7e3, Sq = { PROCESSOR: { - FILTER: xFe, - SERIES_FILTER: SFe, - STATISTIC: RFe + FILTER: EFe, + SERIES_FILTER: wFe, + STATISTIC: PFe }, VISUAL: { LAYOUT: yq, - PROGRESSIVE_LAYOUT: PFe, + PROGRESSIVE_LAYOUT: TFe, GLOBAL: yA, CHART: Cq, - POST_CHART_LAYOUT: _Fe, - COMPONENT: TFe, - BRUSH: MFe, + POST_CHART_LAYOUT: MFe, + COMPONENT: _Fe, + BRUSH: DFe, CHART_ITEM: Y1, - ARIA: DFe, + ARIA: IFe, DECAL: bq } -}, Mi = "__flagInMainProcess", ho = "__pendingUpdate", SE = "__needsUpdateStatus", G6 = /^[a-zA-Z0-9_]+$/, wE = "__connectUpdateStatus", W6 = 0, IFe = 1, AFe = 2; +}, Mi = "__flagInMainProcess", ho = "__pendingUpdate", SE = "__needsUpdateStatus", G6 = /^[a-zA-Z0-9_]+$/, wE = "__connectUpdateStatus", W6 = 0, AFe = 1, OFe = 2; function wq(e) { return function() { for (var t = [], r = 0; r < arguments.length; r++) @@ -61917,7 +61913,7 @@ var _h, xE, p0, ac, EE, RE, PE, tg, rg, j6, U6, TE, K6, g0, Z6, Tq, ea, Y6, Gb = function(e) { be(t, e); function t(r, n, i) { - var o = e.call(this, new BLe()) || this; + var o = e.call(this, new HLe()) || this; o._chartsViews = [], o._chartsMap = {}, o._componentsViews = [], o._componentsMap = {}, o._pendingActions = [], i = i || {}, Je(n) && (n = _q[n]), o._dom = r; var a = "canvas", s = "auto", l = !1; if (process.env.NODE_ENV !== "production") { @@ -61944,7 +61940,7 @@ var _h, xE, p0, ac, EE, RE, PE, tg, rg, j6, U6, TE, K6, g0, Z6, Tq, ea, Y6, Gb = useCoarsePointer: $t(i.useCoarsePointer, s), pointerSize: i.pointerSize }); - o._ssr = i.ssr, o._throttledZrFlush = Z1(at(u.flush, u), 17), n = Mt(n), n && LY(n, !0), o._theme = n, o._locale = ZAe(i.locale || fY), o._coordSysMgr = new Xd(); + o._ssr = i.ssr, o._throttledZrFlush = Z1(at(u.flush, u), 17), n = Mt(n), n && LY(n, !0), o._theme = n, o._locale = YAe(i.locale || fY), o._coordSysMgr = new Xd(); var d = o._api = Z6(o); function h(f, p) { return f.__prio - p.__prio; @@ -61965,7 +61961,7 @@ var _h, xE, p0, ac, EE, RE, PE, tg, rg, j6, U6, TE, K6, g0, Z6, Tq, ea, Y6, Gb = } this._zr.flush(), this[Mi] = !1, this[ho] = null, tg.call(this, n), rg.call(this, n); } else if (r.unfinished) { - var i = bFe, o = this._model, a = this._api; + var i = SFe, o = this._model, a = this._api; r.unfinished = !1; do { var s = +/* @__PURE__ */ new Date(); @@ -61993,7 +61989,7 @@ var _h, xE, p0, ac, EE, RE, PE, tg, rg, j6, U6, TE, K6, g0, Z6, Tq, ea, Y6, Gb = } var o, a, s; if (St(n) && (i = n.lazyUpdate, o = n.silent, a = n.replaceMerge, s = n.transition, n = n.notMerge), this[Mi] = !0, !this._model || n) { - var l = new xOe(this._api), c = this._theme, u = this._model = new uA(); + var l = new EOe(this._api), c = this._theme, u = this._model = new uA(); u.scheduler = this._scheduler, u.ssr = this._ssr, u.init(null, null, null, c, this._locale, l); } this._model.setOption(r, { @@ -62161,7 +62157,7 @@ var _h, xE, p0, ac, EE, RE, PE, tg, rg, j6, U6, TE, K6, g0, Z6, Tq, ea, Y6, Gb = return this._chartsMap[r.__viewId]; }, t.prototype._initEvents = function() { var r = this; - z(OFe, function(n) { + z(LFe, function(n) { var i = function(o) { var a = r.getModel(), s = o.target, l, c = n === "globalout"; if (c ? l = {} : s && nd(s, function(p) { @@ -62192,7 +62188,7 @@ var _h, xE, p0, ac, EE, RE, PE, tg, rg, j6, U6, TE, K6, g0, Z6, Tq, ea, Y6, Gb = r._messageCenter.on(n, function(i) { this.trigger(n, i); }, r); - }), GLe(this._messageCenter, this, this._api); + }), WLe(this._messageCenter, this, this._api); }, t.prototype.isDisposed = function() { return this._disposed; }, t.prototype.clear = function() { @@ -62350,14 +62346,14 @@ var _h, xE, p0, ac, EE, RE, PE, tg, rg, j6, U6, TE, K6, g0, Z6, Tq, ea, Y6, Gb = if (!E) if (I8(f)) if (x instanceof Ur) - f.type === hd && !f.notBlur && !x.get(["emphasis", "disabled"]) && UIe(x, f, d._api); + f.type === hd && !f.notBlur && !x.get(["emphasis", "disabled"]) && KIe(x, f, d._api); else { var R = GI(x.mainType, x.componentIndex, f.name, d._api), P = R.focusSelf, T = R.dispatchers; f.type === hd && P && !f.notBlur && VT(x.mainType, x.componentIndex, d._api), T && z(T, function(_) { f.type === hd ? zl(_) : Gl(_); }); } - else HT(f) && x instanceof Ur && (YIe(x, f, d._api), M8(x), ea(d)); + else HT(f) && x instanceof Ur && (qIe(x, f, d._api), M8(x), ea(d)); }, d), v && v.eachComponent(y, function(x) { var E = S && S.get(x.id) != null; E || w(d[p === "series" ? "_chartsMap" : "_componentsMap"][x.__viewId]); @@ -62483,7 +62479,7 @@ var _h, xE, p0, ac, EE, RE, PE, tg, rg, j6, U6, TE, K6, g0, Z6, Tq, ea, Y6, Gb = var A = { type: "selectchanged", escapeConnect: v, - selected: qIe(p), + selected: XIe(p), isFromClick: d.isFromClick || !1, fromAction: d.type, fromActionPayload: d @@ -62508,10 +62504,10 @@ var _h, xE, p0, ac, EE, RE, PE, tg, rg, j6, U6, TE, K6, g0, Z6, Tq, ea, Y6, Gb = }, U6 = function(d, h) { d.on("mouseover", function(f) { var p = f.target, g = nd(p, Gc); - g && (KIe(g, f, h._api), ea(h)); + g && (ZIe(g, f, h._api), ea(h)); }).on("mouseout", function(f) { var p = f.target, g = nd(p, Gc); - g && (ZIe(g, f, h._api), ea(h)); + g && (YIe(g, f, h._api), ea(h)); }).on("click", function(f) { var p = f.target, g = nd(p, function(y) { return Nt(y).dataIndex != null; @@ -62653,7 +62649,7 @@ var _h, xE, p0, ac, EE, RE, PE, tg, rg, j6, U6, TE, K6, g0, Z6, Tq, ea, Y6, Gb = if (m.states && m.states.emphasis) { if (Cf(m)) return; - if (m instanceof nr && tAe(m), m.__dirty) { + if (m instanceof nr && rAe(m), m.__dirty) { var y = m.prevStates; y && m.useStates(y); } @@ -62718,8 +62714,8 @@ var _h, xE, p0, ac, EE, RE, PE, tg, rg, j6, U6, TE, K6, g0, Z6, Tq, ea, Y6, Gb = z(pd, function(y) { y !== d && y.group === d.group && m.push(y); }), h(m, W6), z(m, function(y) { - y[wE] !== IFe && y.dispatchAction(v); - }), h(m, AFe); + y[wE] !== AFe && y.dispatchAction(v); + }), h(m, OFe); } }); }); @@ -62739,12 +62735,12 @@ CA.one = function(e, t, r) { } this.on.call(this, e, i, r); }; -var OFe = ["click", "dblclick", "mouseover", "mouseout", "mousemove", "mousedown", "mouseup", "globalout", "contextmenu"]; +var LFe = ["click", "dblclick", "mouseover", "mouseout", "mousemove", "mousedown", "mouseup", "globalout", "contextmenu"]; function Oo(e) { process.env.NODE_ENV !== "production" && bn("Instance " + e + " has been disposed"); } -var Wb = {}, lv = {}, i_ = [], o_ = [], jb = [], _q = {}, a_ = {}, pd = {}, Ub = {}, LFe = +/* @__PURE__ */ new Date() - 0, FFe = +/* @__PURE__ */ new Date() - 0, bA = "_echarts_instance_"; -function NFe(e, t, r) { +var Wb = {}, lv = {}, i_ = [], o_ = [], jb = [], _q = {}, a_ = {}, pd = {}, Ub = {}, FFe = +/* @__PURE__ */ new Date() - 0, NFe = +/* @__PURE__ */ new Date() - 0, bA = "_echarts_instance_"; +function kFe(e, t, r) { var n = !(r && r.ssr); if (n) { if (process.env.NODE_ENV !== "production" && !e) @@ -62755,14 +62751,14 @@ function NFe(e, t, r) { process.env.NODE_ENV !== "production" && Bc(e) && e.nodeName.toUpperCase() !== "CANVAS" && (!e.clientWidth && (!r || r.width == null) || !e.clientHeight && (!r || r.height == null)) && bn("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."); } var o = new Gb(e, t, r); - return o.id = "ec_" + LFe++, pd[o.id] = o, n && hZ(e, bA, o.id), Tq(o), Ha.trigger("afterinit", o), o; + return o.id = "ec_" + FFe++, pd[o.id] = o, n && hZ(e, bA, o.id), Tq(o), Ha.trigger("afterinit", o), o; } -function kFe(e) { +function $Fe(e) { if (Ae(e)) { var t = e; e = null, z(t, function(r) { r.group != null && (e = r.group); - }), e = e || "g_" + FFe++, z(t, function(r) { + }), e = e || "g_" + NFe++, z(t, function(r) { r.group = e; }); } @@ -62771,14 +62767,14 @@ function kFe(e) { function Mq(e) { Ub[e] = !1; } -var $Fe = Mq; -function VFe(e) { +var VFe = Mq; +function BFe(e) { Je(e) ? e = pd[e] : e instanceof Gb || (e = SA(e)), e instanceof Gb && !e.isDisposed() && e.dispose(); } function SA(e) { - return pd[GDe(e, bA)]; + return pd[WDe(e, bA)]; } -function BFe(e) { +function HFe(e) { return pd[e]; } function wA(e, t) { @@ -62788,7 +62784,7 @@ function xA(e) { Yt(o_, e) < 0 && o_.push(e); } function EA(e, t) { - RA(i_, e, t, EFe); + RA(i_, e, t, RFe); } function Dq(e) { q1("afterinit", e); @@ -62812,7 +62808,7 @@ function hs(e, t, r) { function Aq(e, t) { Xd.register(e, t); } -function HFe(e) { +function zFe(e) { var t = Xd.get(e); if (t) return t.getDimensionsInfo ? t.getDimensionsInfo() : t.dimensions.slice(); @@ -62841,7 +62837,7 @@ function RA(e, t, r, n, i) { function PA(e, t) { a_[e] = t; } -function zFe(e) { +function GFe(e) { process.env.NODE_ENV !== "production" && Pa("setCanvasCreator is deprecated. Use setPlatformAPI({ createCanvas }) instead."), yK({ createCanvas: e }); @@ -62850,20 +62846,20 @@ function Lq(e, t, r) { var n = mq("registerMap"); n && n(e, t, r); } -function GFe(e) { +function WFe(e) { var t = mq("getMap"); return t && t(e); } -var Fq = tLe; -nu(yA, PLe); -nu(Y1, TLe); +var Fq = rLe; +nu(yA, TLe); nu(Y1, _Le); -nu(yA, HLe); -nu(Y1, zLe); -nu(bq, vFe); +nu(Y1, MLe); +nu(yA, zLe); +nu(Y1, GLe); +nu(bq, mFe); xA(LY); -EA(wFe, FOe); -PA("default", MLe); +EA(xFe, NOe); +PA("default", DLe); hs({ type: hd, event: hd, @@ -62889,9 +62885,9 @@ hs({ event: iv, update: iv }, An); -wA("light", VLe); +wA("light", BLe); wA("dark", cq); -var WFe = {}, X6 = [], jFe = { +var jFe = {}, X6 = [], UFe = { registerPreprocessor: xA, registerProcessor: EA, registerPostInit: Dq, @@ -62904,7 +62900,7 @@ var WFe = {}, X6 = [], jFe = { registerTransform: Fq, registerLoading: PA, registerMap: Lq, - registerImpl: mFe, + registerImpl: yFe, PRIORITY: Sq, ComponentModel: Qt, ComponentView: sn, @@ -62939,7 +62935,7 @@ function er(e) { } Yt(X6, e) >= 0 || (X6.push(e), gt(e) && (e = { install: e - }), e.install(jFe)); + }), e.install(UFe)); } function ng(e) { return e == null ? 0 : e.length || 1; @@ -63017,7 +63013,7 @@ var Wl = ( } }, e; }() -), UFe = ( +), KFe = ( /** @class */ function() { function e(t, r) { @@ -63034,14 +63030,14 @@ var Wl = ( }, e; }() ); -function KFe(e, t) { +function ZFe(e, t) { var r = {}, n = r.encode = {}, i = pt(), o = [], a = [], s = {}; z(e.dimensions, function(h) { var f = e.getDimensionInfo(h), p = f.coordDim; if (p) { process.env.NODE_ENV !== "production" && Et(KT.get(p) == null); var g = f.coordDimIndex; - _E(n, p)[g] = h, f.isExtraCoord || (i.set(p, 1), ZFe(f.type) && (o[0] = h), _E(s, p)[g] = e.getDimensionIndex(f.name)), f.defaultTooltip && a.push(h); + _E(n, p)[g] = h, f.isExtraCoord || (i.set(p, 1), YFe(f.type) && (o[0] = h), _E(s, p)[g] = e.getDimensionIndex(f.name)), f.defaultTooltip && a.push(h); } KT.each(function(v, m) { var y = _E(n, m), C = f.otherDims[m]; @@ -63058,7 +63054,7 @@ function KFe(e, t) { var u = n.label; u && u.length && (o = u.slice()); var d = n.tooltip; - return d && d.length ? a = d.slice() : a.length || (a = o.slice()), n.defaultedLabel = o, n.defaultedTooltip = a, r.userOutput = new UFe(s, t), r; + return d && d.length ? a = d.slice() : a.length || (a = o.slice()), n.defaultedLabel = o, n.defaultedTooltip = a, r.userOutput = new KFe(s, t), r; } function _E(e, t) { return e.hasOwnProperty(t) || (e[t] = []), e[t]; @@ -63066,7 +63062,7 @@ function _E(e, t) { function Kb(e) { return e === "category" ? "ordinal" : e === "time" ? "time" : "float"; } -function ZFe(e) { +function YFe(e) { return !(e === "ordinal" || e === "time"); } var DC = ( @@ -63077,7 +63073,7 @@ var DC = ( } return e; }() -), YFe = Cr(), qFe = { +), qFe = Cr(), XFe = { float: "f", int: "i", ordinal: "o", @@ -63112,7 +63108,7 @@ var DC = ( property: l, type: c, ordinalMeta: u - }), r && l != null && (!d || !d.isCalculationCoord) && (i += n ? l.replace(/\`/g, "`1").replace(/\$/g, "`2") : l), i += "$", i += qFe[c] || "f", u && (i += u.uid), i += "$"; + }), r && l != null && (!d || !d.isCalculationCoord) && (i += n ? l.replace(/\`/g, "`1").replace(/\$/g, "`2") : l), i += "$", i += XFe[c] || "f", u && (i += u.uid), i += "$"; } var f = this.source, p = [f.seriesLayoutBy, f.startIndex, i].join("$$"); return { @@ -63147,13 +63143,13 @@ function $q(e) { return t; } function Vq(e) { - var t = YFe(e); + var t = qFe(e); return t.dimNameMap || (t.dimNameMap = $q(e.dimensionsDefine)); } function Bq(e) { return e > 30; } -var ig = St, sc = Fe, XFe = typeof Int32Array > "u" ? Array : Int32Array, QFe = "e\0\0", J6 = -1, JFe = ["hasItemOption", "_nameList", "_idList", "_invertedIndicesMap", "_dimSummary", "userOutput", "_rawData", "_dimValueGetter", "_nameDimIdx", "_idDimIdx", "_nameRepeatCount"], eNe = ["_approximateExtent"], eV, v0, og, Mh, ME, m0, DE, tNe = ( +var ig = St, sc = Fe, QFe = typeof Int32Array > "u" ? Array : Int32Array, JFe = "e\0\0", J6 = -1, eNe = ["hasItemOption", "_nameList", "_idList", "_invertedIndicesMap", "_dimSummary", "userOutput", "_rawData", "_dimValueGetter", "_nameDimIdx", "_idDimIdx", "_nameRepeatCount"], tNe = ["_approximateExtent"], eV, v0, og, Mh, ME, m0, DE, rNe = ( /** @class */ function() { function e(t, r) { @@ -63238,7 +63234,7 @@ var ig = St, sc = Fe, XFe = typeof Int32Array > "u" ? Array : Int32Array, QFe = }); o.initData(s, l, n); } - this._store = o, this._nameList = (r || []).slice(), this._idList = [], this._nameRepeatCount = {}, this._doInit(0, o.count()), this._dimSummary = KFe(this, this._schema), this.userOutput = this._dimSummary.userOutput; + this._store = o, this._nameList = (r || []).slice(), this._idList = [], this._nameRepeatCount = {}, this._doInit(0, o.count()), this._dimSummary = ZFe(this, this._schema), this.userOutput = this._dimSummary.userOutput; }, e.prototype.appendData = function(t) { var r = this._store.appendData(t); this._doInit(r[0], r[1]); @@ -63265,7 +63261,7 @@ var ig = St, sc = Fe, XFe = typeof Int32Array > "u" ? Array : Int32Array, QFe = if (l && !i.pure) for (var c = [], u = t; u < r; u++) { var d = i.getItem(u, c); - if (!this.hasItemOption && DDe(d) && (this.hasItemOption = !0), d) { + if (!this.hasItemOption && IDe(d) && (this.hasItemOption = !0), d) { var h = d.name; o[u] == null && h != null && (o[u] = Xn(h, null)); var f = d.id; @@ -63440,7 +63436,7 @@ var ig = St, sc = Fe, XFe = typeof Int32Array > "u" ? Array : Int32Array, QFe = z(r, function(n, i) { var o = t._dimInfos[i], a = o.ordinalMeta, s = t._store; if (a) { - n = r[i] = new XFe(a.categories.length); + n = r[i] = new QFe(a.categories.length); for (var l = 0; l < n.length; l++) n[l] = J6; for (var l = 0; l < s.count(); l++) @@ -63451,16 +63447,16 @@ var ig = St, sc = Fe, XFe = typeof Int32Array > "u" ? Array : Int32Array, QFe = return Xn(t._getCategory(r, n), null); }, v0 = function(t, r) { var n = t._idList[r]; - return n == null && t._idDimIdx != null && (n = og(t, t._idDimIdx, r)), n == null && (n = QFe + r), n; + return n == null && t._idDimIdx != null && (n = og(t, t._idDimIdx, r)), n == null && (n = JFe + r), n; }, Mh = function(t) { return Ae(t) || (t = t != null ? [t] : []), t; }, m0 = function(t) { var r = new e(t._schema ? t._schema : sc(t.dimensions, t._getDimInfo, t), t.hostModel); return ME(r, t), r; }, ME = function(t, r) { - z(JFe.concat(r.__wrappedMethods || []), function(n) { + z(eNe.concat(r.__wrappedMethods || []), function(n) { r.hasOwnProperty(n) && (t[n] = r[n]); - }), t.__wrappedMethods = r.__wrappedMethods, z(eNe, function(n) { + }), t.__wrappedMethods = r.__wrappedMethods, z(tNe, function(n) { t[n] = Mt(r[n]); }), t._calculationInfo = Pe({}, r._calculationInfo); }, DE = function(t, r) { @@ -63473,13 +63469,13 @@ var ig = St, sc = Fe, XFe = typeof Int32Array > "u" ? Array : Int32Array, QFe = }(), e; }() ); -const Ni = tNe; -function rNe(e, t) { +const Ni = rNe; +function nNe(e, t) { return xp(e, t).dimensions; } function xp(e, t) { dA(e) || (e = hA(e)), t = t || {}; - var r = t.coordDimensions || [], n = t.dimensionsDefine || e.dimensionsDefine || [], i = pt(), o = [], a = iNe(e, r, n, t.dimensionsCount), s = t.canOmitUnusedDimensions && Bq(a), l = n === e.dimensionsDefine, c = l ? Vq(e) : $q(n), u = t.encodeDefine; + var r = t.coordDimensions || [], n = t.dimensionsDefine || e.dimensionsDefine || [], i = pt(), o = [], a = oNe(e, r, n, t.dimensionsCount), s = t.canOmitUnusedDimensions && Bq(a), l = n === e.dimensionsDefine, c = l ? Vq(e) : $q(n), u = t.encodeDefine; !u && t.encodeDefaulter && (u = t.encodeDefaulter(e, a)); for (var d = pt(u), h = new jY(a), f = 0; f < h.length; f++) h[f] = -1; @@ -63558,29 +63554,29 @@ function xp(e, t) { else for (var x = 0; x < a; x++) { var E = p(x), R = E.coordDim; - R == null && (E.coordDim = oNe(S, i, C), E.coordDimIndex = 0, (!m || y <= 0) && (E.isExtraCoord = !0), y--), w(E), E.type == null && (MY(e, x) === Si.Must || E.isExtraCoord && (E.otherDims.itemName != null || E.otherDims.seriesName != null)) && (E.type = "ordinal"); + R == null && (E.coordDim = aNe(S, i, C), E.coordDimIndex = 0, (!m || y <= 0) && (E.isExtraCoord = !0), y--), w(E), E.type == null && (MY(e, x) === Si.Must || E.isExtraCoord && (E.otherDims.itemName != null || E.otherDims.seriesName != null)) && (E.type = "ordinal"); } - return nNe(o), new Nq({ + return iNe(o), new Nq({ source: e, dimensions: o, fullDimensionCount: a, dimensionOmitted: s }); } -function nNe(e) { +function iNe(e) { for (var t = pt(), r = 0; r < e.length; r++) { var n = e[r], i = n.name, o = t.get(i) || 0; o > 0 && (n.name = i + (o - 1)), o++, t.set(i, o); } } -function iNe(e, t, r, n) { +function oNe(e, t, r, n) { var i = Math.max(e.dimensionsDetectedCount || 1, t.length, r.length, n || 0); return z(t, function(o) { var a; St(o) && (a = o.dimsDef) && (i = Math.max(i, a.length)); }), i; } -function oNe(e, t, r) { +function aNe(e, t, r) { if (r || t.hasKey(e)) { for (var n = 0; t.hasKey(e + n); ) n++; @@ -63588,7 +63584,7 @@ function oNe(e, t, r) { } return t.set(e, !0), e; } -var aNe = ( +var sNe = ( /** @class */ /* @__PURE__ */ function() { function e(t) { @@ -63597,12 +63593,12 @@ var aNe = ( return e; }() ); -function sNe(e) { - var t = e.get("coordinateSystem"), r = new aNe(t), n = lNe[t]; +function lNe(e) { + var t = e.get("coordinateSystem"), r = new sNe(t), n = cNe[t]; if (n) return n(e, r, r.axisMap, r.categoryAxisMap), r; } -var lNe = { +var cNe = { cartesian2d: function(e, t, r, n) { var i = e.getReferringComponents("xAxis", Un).models[0], o = e.getReferringComponents("yAxis", Un).models[0]; if (process.env.NODE_ENV !== "production") { @@ -63646,7 +63642,7 @@ function Dh(e) { function Hq(e, t, r) { r = r || {}; var n = r.byIndex, i = r.stackedCoordDimension, o, a, s; - cNe(t) ? o = t : (a = t.schema, o = a.dimensions, s = t.store); + uNe(t) ? o = t : (a = t.schema, o = a.dimensions, s = t.store); var l = !!(e && e.get("stack")), c, u, d, h; if (z(o, function(y, C) { Je(y) && (o[C] = y = { @@ -63687,7 +63683,7 @@ function Hq(e, t, r) { stackResultDimension: d }; } -function cNe(e) { +function uNe(e) { return !kq(e.schema); } function jl(e, t) { @@ -63696,7 +63692,7 @@ function jl(e, t) { function TA(e, t) { return jl(e, t) ? e.getCalculationInfo("stackResultDimension") : t; } -function uNe(e, t) { +function dNe(e, t) { var r = e.get("coordinateSystem"), n = Xd.get(r), i; return t && t.coordSysDims && (i = Fe(t.coordSysDims, function(o) { var a = { @@ -63709,7 +63705,7 @@ function uNe(e, t) { return a; })), i || (i = n && (n.getDimensionsInfo ? n.getDimensionsInfo() : n.dimensions.slice()) || ["x", "y"]), i; } -function dNe(e, t, r) { +function hNe(e, t, r) { var n, i; return r && z(e, function(o, a) { var s = o.coordDim, l = r.categoryAxisMap.get(s); @@ -63720,18 +63716,18 @@ function nl(e, t, r) { r = r || {}; var n = t.getSourceManager(), i, o = !1; e ? (o = !0, i = hA(e)) : (i = n.getSource(), o = i.sourceFormat === Aa); - var a = sNe(t), s = uNe(t, a), l = r.useEncodeDefaulter, c = gt(l) ? l : l ? Bt(_Y, s, t) : null, u = { + var a = lNe(t), s = dNe(t, a), l = r.useEncodeDefaulter, c = gt(l) ? l : l ? Bt(_Y, s, t) : null, u = { coordDimensions: s, generateCoord: r.generateCoord, encodeDefine: t.getEncode(), encodeDefaulter: c, canOmitUnusedDimensions: !o - }, d = xp(i, u), h = dNe(d.dimensions, r.createInvertedIndices, a), f = o ? null : n.getSharedDataStore(d), p = Hq(t, { + }, d = xp(i, u), h = hNe(d.dimensions, r.createInvertedIndices, a), f = o ? null : n.getSharedDataStore(d), p = Hq(t, { schema: d, store: f }), g = new Ni(d, t); g.setCalculationInfo(p); - var v = h != null && hNe(i) ? function(m, y, C, S) { + var v = h != null && fNe(i) ? function(m, y, C, S) { return S === h ? C : this.defaultDimValueGetter(m, y, C, S); } : null; return g.hasItemOption = !1, g.initData( @@ -63741,13 +63737,13 @@ function nl(e, t, r) { v ), g; } -function hNe(e) { +function fNe(e) { if (e.sourceFormat === Aa) { - var t = fNe(e.data || []); + var t = pNe(e.data || []); return !Ae(up(t)); } } -function fNe(e) { +function pNe(e) { for (var t = 0; t < e.length && e[t] == null; ) t++; return e[t]; @@ -63780,14 +63776,14 @@ var il = ( }() ); _1(il); -var pNe = 0, s_ = ( +var gNe = 0, s_ = ( /** @class */ function() { function e(t) { - this.categories = t.categories || [], this._needCollect = t.needCollect, this._deduplication = t.deduplication, this.uid = ++pNe; + this.categories = t.categories || [], this._needCollect = t.needCollect, this._deduplication = t.deduplication, this.uid = ++gNe; } return e.createByAxisModel = function(t) { - var r = t.option, n = r.data, i = n && Fe(n, gNe); + var r = t.option, n = r.data, i = n && Fe(n, vNe); return new e({ categories: i, needCollect: !i, @@ -63809,21 +63805,21 @@ var pNe = 0, s_ = ( }, e; }() ); -function gNe(e) { +function vNe(e) { return St(e) && e.value != null ? e.value : e + ""; } -function vNe(e) { +function mNe(e) { var t = Math.pow(10, Zm(Math.abs(e))), r = Math.abs(e / t); return r === 0 || r === 1 || r === 2 || r === 3 || r === 5; } function l_(e) { return e.type === "interval" || e.type === "log"; } -function mNe(e, t, r, n) { +function yNe(e, t, r, n) { var i = {}, o = e[1] - e[0], a = i.interval = OI(o / t, !0); r != null && a < r && (a = i.interval = r), n != null && a > n && (a = i.interval = n); var s = i.intervalPrecision = zq(a), l = i.niceTickExtent = [Rn(Math.ceil(e[0] / a) * a, s), Rn(Math.floor(e[1] / a) * a, s)]; - return yNe(l, e), i; + return CNe(l, e), i; } function IE(e) { var t = Math.pow(10, Zm(e)), r = e / t; @@ -63835,7 +63831,7 @@ function zq(e) { function tV(e, t, r) { e[t] = Math.max(Math.min(e[t], r[1]), r[0]); } -function yNe(e, t) { +function CNe(e, t) { !isFinite(e[0]) && (e[0] = t[0]), !isFinite(e[1]) && (e[1] = t[1]), tV(e, 0, t), tV(e, 1, t), e[0] > e[1] && (e[0] = e[1]); } function X1(e, t) { @@ -63983,7 +63979,7 @@ var Tu = Rn, Ul = ( var o = this._extent, a = o[1] - o[0]; if (isFinite(a)) { a < 0 && (a = -a, o.reverse()); - var s = mNe(o, r, n, i); + var s = yNe(o, r, n, i); this._intervalPrecision = s.intervalPrecision, this._interval = s.interval, this._niceExtent = s.niceTickExtent; } }, t.prototype.calcNiceExtent = function(r) { @@ -64004,9 +64000,9 @@ var Tu = Rn, Ul = ( }(il) ); il.registerClass(Ul); -var Gq = typeof Float32Array < "u", CNe = Gq ? Float32Array : Array; +var Gq = typeof Float32Array < "u", bNe = Gq ? Float32Array : Array; function Ls(e) { - return Ae(e) ? Gq ? new Float32Array(e) : e : new CNe(e); + return Ae(e) ? Gq ? new Float32Array(e) : e : new bNe(e); } var c_ = "__ec_stack_"; function _A(e) { @@ -64015,7 +64011,7 @@ function _A(e) { function MA(e) { return e.dim + e.index; } -function bNe(e) { +function SNe(e) { var t = [], r = e.axis, n = "axis0"; if (r.type === "category") { for (var i = r.getBandWidth(), o = 0; o < e.count; o++) @@ -64037,7 +64033,7 @@ function Wq(e, t) { Yq(n) && r.push(n); }), r; } -function SNe(e) { +function wNe(e) { var t = {}; z(e, function(l) { var c = l.coordinateSystem, u = c.getBaseAxis(); @@ -64065,7 +64061,7 @@ function SNe(e) { return r; } function jq(e) { - var t = SNe(e), r = []; + var t = wNe(e), r = []; return z(e, function(n) { var i = n.coordinateSystem, o = i.getBaseAxis(), a = o.getExtent(), s; if (o.type === "category") @@ -64156,7 +64152,7 @@ function Uq(e) { }); }), r; } -function wNe(e, t, r) { +function xNe(e, t, r) { if (e && t) { var n = e[MA(t)]; return n != null && r != null ? n[_A(r)] : n; @@ -64179,7 +64175,7 @@ function Zq(e) { plan: bp(), reset: function(t) { if (Yq(t)) { - var r = t.getData(), n = t.coordinateSystem, i = n.getBaseAxis(), o = n.getOtherAxis(i), a = r.getDimensionIndex(r.mapDimension(o.dim)), s = r.getDimensionIndex(r.mapDimension(i.dim)), l = t.get("showBackground", !0), c = r.mapDimension(o.dim), u = r.getCalculationInfo("stackResultDimension"), d = jl(r, c) && !!r.getCalculationInfo("stackedOnSeries"), h = o.isHorizontal(), f = xNe(i, o), p = qq(t), g = t.get("barMinHeight") || 0, v = u && r.getDimensionIndex(u), m = r.getLayout("size"), y = r.getLayout("offset"); + var r = t.getData(), n = t.coordinateSystem, i = n.getBaseAxis(), o = n.getOtherAxis(i), a = r.getDimensionIndex(r.mapDimension(o.dim)), s = r.getDimensionIndex(r.mapDimension(i.dim)), l = t.get("showBackground", !0), c = r.mapDimension(o.dim), u = r.getCalculationInfo("stackResultDimension"), d = jl(r, c) && !!r.getCalculationInfo("stackedOnSeries"), h = o.isHorizontal(), f = ENe(i, o), p = qq(t), g = t.get("barMinHeight") || 0, v = u && r.getDimensionIndex(u), m = r.getLayout("size"), y = r.getLayout("offset"); return { progress: function(C, S) { for (var w = C.count, x = p && Ls(w * 3), E = p && l && Ls(w * 3), R = p && Ls(w), P = n.master.getRect(), T = h ? P.width : P.height, _, D = S.getStore(), A = 0; (_ = C.next()) != null; ) { @@ -64226,11 +64222,11 @@ function Yq(e) { function qq(e) { return e.pipelineContext && e.pipelineContext.large; } -function xNe(e, t) { +function ENe(e, t) { var r = t.model.get("startValue"); return r || (r = 0), t.toGlobalCoord(t.dataToCoord(t.type === "log" ? r > 0 ? r : 1 : r)); } -var ENe = function(e, t, r, n) { +var RNe = function(e, t, r, n) { for (; r < n; ) { var i = r + n >>> 1; e[i][1] < t ? r = i + 1 : n = i; @@ -64246,10 +64242,10 @@ var ENe = function(e, t, r, n) { } return t.prototype.getLabel = function(r) { var n = this.getSetting("useUTC"); - return ty(r.value, U8[XAe(Sf(this._minLevelUnit))] || U8.second, n, this.getSetting("locale")); + return ty(r.value, U8[QAe(Sf(this._minLevelUnit))] || U8.second, n, this.getSetting("locale")); }, t.prototype.getFormattedLabel = function(r, n, i) { var o = this.getSetting("useUTC"), a = this.getSetting("locale"); - return QAe(r, n, i, a, o); + return JAe(r, n, i, a, o); }, t.prototype.getTicks = function() { var r = this._interval, n = this._extent, i = []; if (!r) @@ -64258,7 +64254,7 @@ var ENe = function(e, t, r, n) { value: n[0], level: 0 }); - var o = this.getSetting("useUTC"), a = INe(this._minLevelUnit, this._approxInterval, o, n); + var o = this.getSetting("useUTC"), a = ANe(this._minLevelUnit, this._approxInterval, o, n); return i = i.concat(a), i.push({ value: n[1], level: 0 @@ -64274,7 +64270,7 @@ var ENe = function(e, t, r, n) { r = r || 10; var o = this._extent, a = o[1] - o[0]; this._approxInterval = a / r, n != null && this._approxInterval < n && (this._approxInterval = n), i != null && this._approxInterval > i && (this._approxInterval = i); - var s = y0.length, l = Math.min(ENe(y0, this._approxInterval, 0, s), s - 1); + var s = y0.length, l = Math.min(RNe(y0, this._approxInterval, 0, s), s - 1); this._interval = y0[l][1], this._minLevelUnit = y0[Math.max(l - 1, 0)][0]; }, t.prototype.parse = function(r) { return br(r) ? r : +jo(r); @@ -64302,7 +64298,7 @@ var ENe = function(e, t, r, n) { ["year", j8] // 1Y ]; -function RNe(e, t, r, n) { +function PNe(e, t, r, n) { var i = jo(t), o = jo(r), a = function(p) { return K8(i, p, n) === K8(o, p, n); }, s = function() { @@ -64337,23 +64333,23 @@ function RNe(e, t, r, n) { return f(); } } -function PNe(e, t) { +function TNe(e, t) { return e /= pa, e > 16 ? 16 : e > 7.5 ? 7 : e > 3.5 ? 4 : e > 1.5 ? 2 : 1; } -function TNe(e) { +function _Ne(e) { var t = 30 * pa; return e /= t, e > 6 ? 6 : e > 3 ? 3 : e > 2 ? 2 : 1; } -function _Ne(e) { +function MNe(e) { return e /= av, e > 12 ? 12 : e > 6 ? 6 : e > 3.5 ? 4 : e > 2 ? 2 : 1; } function rV(e, t) { return e /= t ? tA : eA, e > 30 ? 30 : e > 20 ? 20 : e > 15 ? 15 : e > 10 ? 10 : e > 5 ? 5 : e > 2 ? 2 : 1; } -function MNe(e) { +function DNe(e) { return OI(e, !0); } -function DNe(e, t, r) { +function INe(e, t, r) { var n = new Date(e); switch (Sf(t)) { case "year": @@ -64370,7 +64366,7 @@ function DNe(e, t, r) { } return n.getTime(); } -function INe(e, t, r, n) { +function ANe(e, t, r, n) { var i = 1e4, o = pY, a = 0; function s(T, _, D, A, M, O, F) { for (var k = new Date(_), N = _, $ = k[A](); N < D && N <= n[1]; ) @@ -64384,10 +64380,10 @@ function INe(e, t, r, n) { } function l(T, _, D) { var A = [], M = !_.length; - if (!RNe(Sf(T), n[0], n[1], r)) { + if (!PNe(Sf(T), n[0], n[1], r)) { M && (_ = [{ // TODO Optimize. Not include so may ticks. - value: DNe(new Date(n[0]), T, r) + value: INe(new Date(n[0]), T, r) }, { value: n[1] }]); @@ -64397,22 +64393,22 @@ function INe(e, t, r, n) { var N = void 0, $ = void 0, I = void 0, B = !1; switch (T) { case "year": - N = Math.max(1, Math.round(t / pa / 365)), $ = rA(r), I = JAe(r); + N = Math.max(1, Math.round(t / pa / 365)), $ = rA(r), I = eOe(r); break; case "half-year": case "quarter": case "month": - N = TNe(t), $ = wf(r), I = vY(r); + N = _Ne(t), $ = wf(r), I = vY(r); break; case "week": case "half-week": case "day": - N = PNe(t), $ = B1(r), I = mY(r), B = !0; + N = TNe(t), $ = B1(r), I = mY(r), B = !0; break; case "half-day": case "quarter-day": case "hour": - N = _Ne(t), $ = Kv(r), I = yY(r); + N = MNe(t), $ = Kv(r), I = yY(r); break; case "minute": N = rV(t, !0), $ = H1(r), I = CY(r); @@ -64421,7 +64417,7 @@ function INe(e, t, r, n) { N = rV(t, !1), $ = z1(r), I = bY(r); break; case "millisecond": - N = MNe(t), $ = G1(r), I = SY(r); + N = DNe(t), $ = G1(r), I = SY(r); break; } s(N, F, k, $, I, B, A), T === "year" && D.length > 1 && O === 0 && D.unshift({ @@ -64436,7 +64432,7 @@ function INe(e, t, r, n) { } for (var c = [], u = [], d = 0, h = 0, f = 0; f < o.length && a++ < i; ++f) { var p = Sf(o[f]); - if (qAe(o[f])) { + if (XAe(o[f])) { l(o[f], c[c.length - 1] || [], u); var g = o[f + 1] ? Sf(o[f + 1]) : null; if (p !== g) { @@ -64477,7 +64473,7 @@ function INe(e, t, r, n) { return P; } il.registerClass(DA); -var nV = il.prototype, cv = Ul.prototype, ANe = Rn, ONe = Math.floor, LNe = Math.ceil, C0 = Math.pow, Na = Math.log, IA = ( +var nV = il.prototype, cv = Ul.prototype, ONe = Rn, LNe = Math.floor, FNe = Math.ceil, C0 = Math.pow, Na = Math.log, IA = ( /** @class */ function(e) { be(t, e); @@ -64514,7 +64510,7 @@ var nV = il.prototype, cv = Ul.prototype, ANe = Rn, ONe = Math.floor, LNe = Math var o = oZ(i), a = r / i * o; for (a <= 0.5 && (o *= 10); !isNaN(o) && Math.abs(o) < 1 && Math.abs(o) > 0; ) o *= 10; - var s = [Rn(LNe(n[0] / o) * o), Rn(ONe(n[1] / o) * o)]; + var s = [Rn(FNe(n[0] / o) * o), Rn(LNe(n[1] / o) * o)]; this._interval = o, this._niceExtent = s; } }, t.prototype.calcNiceExtent = function(r) { @@ -64533,10 +64529,10 @@ var nV = il.prototype, cv = Ul.prototype, ANe = Rn, ONe = Math.floor, LNe = Math Xq.getMinorTicks = cv.getMinorTicks; Xq.getLabel = cv.getLabel; function b0(e, t) { - return ANe(e, Ka(t)); + return ONe(e, Ka(t)); } il.registerClass(IA); -var FNe = ( +var NNe = ( /** @class */ function() { function e(t, r, n) { @@ -64577,24 +64573,24 @@ var FNe = ( isBlank: d }; }, e.prototype.modifyDataMinMax = function(t, r) { - process.env.NODE_ENV !== "production" && Et(!this.frozen), this[kNe[t]] = r; + process.env.NODE_ENV !== "production" && Et(!this.frozen), this[$Ne[t]] = r; }, e.prototype.setDeterminedMinMax = function(t, r) { - var n = NNe[t]; + var n = kNe[t]; process.env.NODE_ENV !== "production" && Et(!this.frozen && this[n] == null), this[n] = r; }, e.prototype.freeze = function() { this.frozen = !0; }, e; }() -), NNe = { +), kNe = { min: "_determinedMin", max: "_determinedMax" -}, kNe = { +}, $Ne = { min: "_dataMin", max: "_dataMax" }; function Qq(e, t, r) { var n = e.rawExtentInfo; - return n || (n = new FNe(e, t, r), e.rawExtentInfo = n, n); + return n || (n = new NNe(e, t, r), e.rawExtentInfo = n, n); } function S0(e, t) { return t == null ? null : Hc(t) ? NaN : e.parse(t); @@ -64608,7 +64604,7 @@ function Jq(e, t) { if (z(s, function(d) { l = l || d.getBaseAxis() === t.axis; }), l) { - var c = jq(s), u = $Ne(i, o, t, c); + var c = jq(s), u = VNe(i, o, t, c); i = u.min, o = u.max; } } @@ -64620,8 +64616,8 @@ function Jq(e, t) { fixMax: n.maxFixed }; } -function $Ne(e, t, r, n) { - var i = r.axis.getExtent(), o = i[1] - i[0], a = wNe(n, r.axis); +function VNe(e, t, r, n) { + var i = r.axis.getExtent(), o = i[1] - i[0], a = xNe(n, r.axis); if (a === void 0) return { min: e, @@ -64670,7 +64666,7 @@ function ny(e, t) { return new (il.getClass(t) || Ul)(); } } -function VNe(e) { +function BNe(e) { var t = e.scale.getExtent(), r = t[0], n = t[1]; return !(r > 0 && n > 0 || r < 0 && n < 0); } @@ -64698,7 +64694,7 @@ function Ep(e) { function AA(e, t) { return e.type === "category" ? e.scale.getLabel(t) : t.value; } -function BNe(e) { +function HNe(e) { var t = e.model, r = e.scale; if (!(!t.get(["axisLabel", "show"]) || r.isBlank())) { var n, i, o = r.getExtent(); @@ -64708,13 +64704,13 @@ function BNe(e) { for (var u = 0; u < i; u += c) { var d = n ? n[u] : { value: o[0] + u - }, h = s(d, u), f = a.getTextRect(h), p = HNe(f, a.get("rotate") || 0); + }, h = s(d, u), f = a.getTextRect(h), p = zNe(f, a.get("rotate") || 0); l ? l.union(p) : l = p; } return l; } } -function HNe(e, t) { +function zNe(e, t) { var r = t * Math.PI / 180, n = e.width, i = e.height, o = n * Math.abs(Math.cos(r)) + Math.abs(i * Math.sin(r)), a = n * Math.abs(Math.sin(r)) + Math.abs(i * Math.cos(r)), s = new Zt(e.x, e.y, o, a); return s; } @@ -64731,7 +64727,7 @@ function Zb(e, t) { r[TA(e, n)] = !0; }), ar(r); } -function zNe(e, t, r) { +function GNe(e, t, r) { t && z(Zb(t, r), function(n) { var i = t.getApproximateExtent(n); i[0] < e[0] && (e[0] = i[0]), i[1] > e[1] && (e[1] = i[1]); @@ -64749,42 +64745,42 @@ var Rp = ( }, e; }() ); -function GNe(e) { +function WNe(e) { return nl(null, e); } -var WNe = { +var jNe = { isDimensionStacked: jl, enableDataStack: Hq, getStackedDimension: TA }; -function jNe(e, t) { +function UNe(e, t) { var r = t; t instanceof Wr || (r = new Wr(t)); var n = ny(r); return n.setExtent(e[0], e[1]), Fd(n, r), n; } -function UNe(e) { +function KNe(e) { On(e, Rp); } -function KNe(e, t) { +function ZNe(e, t) { return t = t || {}, rn(e, null, null, t.state !== "normal"); } -const ZNe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const YNe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - createDimensions: rNe, - createList: GNe, - createScale: jNe, + createDimensions: nNe, + createList: WNe, + createScale: UNe, createSymbol: Hn, - createTextStyle: KNe, - dataStack: WNe, + createTextStyle: ZNe, + dataStack: jNe, enableHoverEmphasis: _c, getECData: Nt, getLayoutRect: Kn, - mixinAxisModelCommonMethods: UNe + mixinAxisModelCommonMethods: KNe }, Symbol.toStringTag, { value: "Module" })); -var YNe = 1e-8; +var qNe = 1e-8; function iV(e, t) { - return Math.abs(e - t) < YNe; + return Math.abs(e - t) < qNe; } function Gu(e, t, r) { var n = 0, i = e[0]; @@ -64797,7 +64793,7 @@ function Gu(e, t, r) { var s = e[0]; return (!iV(i[0], s[0]) || !iV(i[1], s[1])) && (n += Cl(i[0], i[1], s[0], s[1], t, r)), n !== 0; } -var qNe = []; +var XNe = []; function AE(e, t) { for (var r = 0; r < e.length; r++) yi(e[r], e[r], t); @@ -64808,7 +64804,7 @@ function oV(e, t, r, n) { n && (o = n.project(o)), o && isFinite(o[0]) && isFinite(o[1]) && (El(t, t, o), Rl(r, r, o)); } } -function XNe(e) { +function QNe(e) { for (var t = 0, r = 0, n = 0, i = e.length, o = e[i - 1][0], a = e[i - 1][1], s = 0; s < i; s++) { var l = e[s][0], c = e[s][1], u = o * c - l * a; t += u, r += (o + l) * u, n += (a + c) * u, o = l, a = c; @@ -64858,7 +64854,7 @@ var tX = ( l > i && (n = a, i = l); } if (n) - return XNe(n.exterior); + return QNe(n.exterior); var c = this.getBoundingRect(); return [c.x + c.width / 2, c.y + c.height / 2]; }, t.prototype.getBoundingRect = function(r) { @@ -64906,7 +64902,7 @@ var tX = ( return n._rect = this._rect, n.transformTo = null, n; }, t; }(tX) -), QNe = ( +), JNe = ( /** @class */ function(e) { be(t, e); @@ -64915,13 +64911,13 @@ var tX = ( return i.type = "geoSVG", i._elOnlyForCalculate = n, i; } return t.prototype.calcCenter = function() { - for (var r = this._elOnlyForCalculate, n = r.getBoundingRect(), i = [n.x + n.width / 2, n.y + n.height / 2], o = jm(qNe), a = r; a && !a.isGeoSVGGraphicRoot; ) + for (var r = this._elOnlyForCalculate, n = r.getBoundingRect(), i = [n.x + n.width / 2, n.y + n.height / 2], o = jm(XNe), a = r; a && !a.isGeoSVGGraphicRoot; ) Vs(o, a.getLocalTransform(), o), a = a.parent; return Kd(o, o), yi(i, i, o), i; }, t; }(tX) ); -function JNe(e) { +function eke(e) { if (!e.UTF8Encoding) return e; var t = e, r = t.UTF8Scale; @@ -64959,7 +64955,7 @@ function nX(e, t, r) { return n; } function u_(e, t) { - return e = JNe(e), Fe(kr(e.features, function(r) { + return e = eke(e), Fe(kr(e.features, function(r) { return r.geometry && r.properties && r.geometry.coordinates.length > 0; }), function(r) { var n = r.properties, i = r.geometry, o = []; @@ -64983,11 +64979,11 @@ function u_(e, t) { return s.properties = n, s; }); } -const eke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const tke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, MAX_SAFE_INTEGER: IT, asc: Bo, - getPercentWithPrecision: EDe, + getPercentWithPrecision: RDe, getPixelPrecision: II, getPrecision: Ka, getPrecisionSafe: Tb, @@ -65003,11 +64999,11 @@ const eke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty( reformIntervals: AT, remRadian: AI, round: Rn -}, Symbol.toStringTag, { value: "Module" })), tke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +}, Symbol.toStringTag, { value: "Module" })), rke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, format: ty, parse: jo -}, Symbol.toStringTag, { value: "Module" })), rke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +}, Symbol.toStringTag, { value: "Module" })), nke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, Arc: F1, BezierCurve: Qm, @@ -65041,19 +65037,19 @@ const eke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty( registerShape: Ia, resizePath: ZI, updateProps: wr -}, Symbol.toStringTag, { value: "Module" })), nke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +}, Symbol.toStringTag, { value: "Module" })), ike = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, addCommas: nA, - capitalFirst: nOe, + capitalFirst: iOe, encodeHTML: Yi, - formatTime: rOe, + formatTime: nOe, formatTpl: oA, - getTextRect: eOe, + getTextRect: tOe, getTooltipMarker: wY, normalizeCssArray: qd, toCamelCase: iA, truncateText: vZ -}, Symbol.toStringTag, { value: "Module" })), ike = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +}, Symbol.toStringTag, { value: "Module" })), oke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, bind: at, clone: Mt, @@ -65079,7 +65075,7 @@ function iX(e, t) { }); return e.type === "time" && r.length > 0 && (r.sort(), r.unshift(r[0]), r.push(r[r.length - 1])), r; } -function oke(e) { +function ake(e) { var t = e.getLabelModel().get("customValues"); if (t) { var r = Ep(e); @@ -65096,19 +65092,19 @@ function oke(e) { }) }; } - return e.type === "category" ? ske(e) : cke(e); + return e.type === "category" ? lke(e) : uke(e); } -function ake(e, t) { +function ske(e, t) { var r = e.getTickModel().get("customValues"); return r ? { ticks: iX(e, r) - } : e.type === "category" ? lke(e, t) : { + } : e.type === "category" ? cke(e, t) : { ticks: Fe(e.scale.getTicks(), function(n) { return n.value; }) }; } -function ske(e) { +function lke(e) { var t = e.getLabelModel(), r = oX(e, t); return !t.get("show") || e.scale.isBlank() ? { labels: [], @@ -65120,12 +65116,12 @@ function oX(e, t) { if (i) return i; var o, a; - return gt(n) ? o = uX(e, n) : (a = n === "auto" ? uke(e) : n, o = cX(e, a)), lX(r, n, { + return gt(n) ? o = uX(e, n) : (a = n === "auto" ? dke(e) : n, o = cX(e, a)), lX(r, n, { labels: o, labelCategoryInterval: a }); } -function lke(e, t) { +function cke(e, t) { var r = aX(e, "ticks"), n = OA(t), i = sX(r, n); if (i) return i; @@ -65144,7 +65140,7 @@ function lke(e, t) { tickCategoryInterval: a }); } -function cke(e) { +function uke(e) { var t = e.scale.getTicks(), r = Ep(e); return { labels: Fe(t, function(n, i) { @@ -65171,12 +65167,12 @@ function lX(e, t, r) { value: r }), r; } -function uke(e) { +function dke(e) { var t = Jv(e).autoInterval; return t ?? (Jv(e).autoInterval = e.calculateCategoryInterval()); } -function dke(e) { - var t = hke(e), r = Ep(e), n = (t.axisRotate - t.labelRotate) / 180 * Math.PI, i = e.scale, o = i.getExtent(), a = i.count(); +function hke(e) { + var t = fke(e), r = Ep(e), n = (t.axisRotate - t.labelRotate) / 180 * Math.PI, i = e.scale, o = i.getExtent(), a = i.count(); if (o[1] - o[0] < 1) return 0; var s = 1; @@ -65192,7 +65188,7 @@ function dke(e) { var C = Math.max(0, Math.floor(Math.min(m, y))), S = Jv(e.model), w = e.getExtent(), x = S.lastAutoInterval, E = S.lastTickCount; return x != null && E != null && Math.abs(x - C) <= 1 && Math.abs(E - a) <= 1 && x > C && S.axisExtent0 === w[0] && S.axisExtent1 === w[1] ? C = x : (S.lastTickCount = a, S.lastAutoInterval = C, S.axisExtent0 = w[0], S.axisExtent1 = w[1]), C; } -function hke(e) { +function fke(e) { var t = e.getLabelModel(); return { axisRotate: e.getRotate ? e.getRotate() : e.isHorizontal && !e.isHorizontal() ? 90 : 0, @@ -65231,7 +65227,7 @@ function uX(e, t, r) { }); }), o; } -var lV = [0, 1], fke = ( +var lV = [0, 1], pke = ( /** @class */ function() { function e(t, r, n) { @@ -65260,13 +65256,13 @@ var lV = [0, 1], fke = ( }, e.prototype.pointToData = function(t, r) { }, e.prototype.getTicksCoords = function(t) { t = t || {}; - var r = t.tickModel || this.getTickModel(), n = ake(this, r), i = n.ticks, o = Fe(i, function(s) { + var r = t.tickModel || this.getTickModel(), n = ske(this, r), i = n.ticks, o = Fe(i, function(s) { return { coord: this.dataToCoord(this.scale.type === "ordinal" ? this.scale.getRawOrdinalNumber(s) : s), tickValue: s }; }, this), a = r.get("alignWithLabel"); - return pke(this, o, a, t.clamp), o; + return gke(this, o, a, t.clamp), o; }, e.prototype.getMinorTicksCoords = function() { if (this.scale.type === "ordinal") return []; @@ -65282,7 +65278,7 @@ var lV = [0, 1], fke = ( }, this); return i; }, e.prototype.getViewLabels = function() { - return oke(this).labels; + return ake(this).labels; }, e.prototype.getLabelModel = function() { return this.model.getModel("axisLabel"); }, e.prototype.getTickModel = function() { @@ -65293,7 +65289,7 @@ var lV = [0, 1], fke = ( var i = Math.abs(t[1] - t[0]); return Math.abs(i) / n; }, e.prototype.calculateCategoryInterval = function() { - return dke(this); + return hke(this); }, e; }() ); @@ -65301,7 +65297,7 @@ function cV(e, t) { var r = e[1] - e[0], n = t, i = r / n / 2; e[0] += i, e[1] -= i; } -function pke(e, t, r, n) { +function gke(e, t, r, n) { var i = t.length; if (!e.onBand || r || !i) return; @@ -65330,25 +65326,25 @@ function pke(e, t, r, n) { return f = Rn(f), p = Rn(p), d ? f > p : f < p; } } -const La = fke; -function gke(e) { +const La = pke; +function vke(e) { var t = Qt.extend(e); return Qt.registerClass(t), t; } -function vke(e) { +function mke(e) { var t = sn.extend(e); return sn.registerClass(t), t; } -function mke(e) { +function yke(e) { var t = Ur.extend(e); return Ur.registerClass(t), t; } -function yke(e) { +function Cke(e) { var t = Vr.extend(e); return Vr.registerClass(t), t; } -var ag = Math.PI * 2, _u = Zs.CMD, Cke = ["top", "right", "bottom", "left"]; -function bke(e, t, r, n, i) { +var ag = Math.PI * 2, _u = Zs.CMD, bke = ["top", "right", "bottom", "left"]; +function Ske(e, t, r, n, i) { var o = r.width, a = r.height; switch (e) { case "top": @@ -65365,7 +65361,7 @@ function bke(e, t, r, n, i) { break; } } -function Ske(e, t, r, n, i, o, a, s, l) { +function wke(e, t, r, n, i, o, a, s, l) { a -= e, s -= t; var c = Math.sqrt(a * a + s * s); a /= c, s /= c; @@ -65398,11 +65394,11 @@ function dX(e, t, r, n, i, o, a) { return Math.sqrt((c - i) * (c - i) + (u - o) * (u - o)); } var za = []; -function wke(e, t, r) { +function xke(e, t, r) { var n = dX(t.x, t.y, t.width, t.height, e.x, e.y, za); return r.set(za[0], za[1]), n; } -function xke(e, t, r) { +function Eke(e, t, r) { for (var n = 0, i = 0, o = 0, a = 0, s, l, c = 1 / 0, u = t.data, d = e.x, h = e.y, f = 0; f < u.length; ) { var p = u[f++]; f === 1 && (n = u[f], i = u[f + 1], o = n, a = i); @@ -65426,7 +65422,7 @@ function xke(e, t, r) { var x = !!(1 - u[f++]); s = Math.cos(S) * y + v, l = Math.sin(S) * C + m, f <= 1 && (o = s, a = l); var E = (d - v) * C / y + v; - g = Ske(v, m, C, S, S + w, x, E, h, za), n = Math.cos(S + w) * y + v, i = Math.sin(S + w) * C + m; + g = wke(v, m, C, S, S + w, x, E, h, za), n = Math.cos(S + w) * y + v, i = Math.sin(S + w) * C + m; break; case _u.R: o = n = u[f++], a = i = u[f++]; @@ -65446,14 +65442,14 @@ function uV(e, t) { if (e) { var r = e.getTextGuideLine(), n = e.getTextContent(); if (n && r) { - var i = e.textGuideLineConfig || {}, o = [[0, 0], [0, 0], [0, 0]], a = i.candidates || Cke, s = n.getBoundingRect().clone(); + var i = e.textGuideLineConfig || {}, o = [[0, 0], [0, 0], [0, 0]], a = i.candidates || bke, s = n.getBoundingRect().clone(); s.applyTransform(n.getComputedTransform()); var l = 1 / 0, c = i.anchor, u = e.getComputedTransform(), d = u && Kd([], u), h = t.get("length2") || 0; c && kn.copy(c); for (var f = 0; f < a.length; f++) { var p = a[f]; - bke(p, 0, s, Za, Fs), Kt.scaleAndAdd(on, Za, Fs, h), on.transform(d); - var g = e.getBoundingRect(), v = c ? c.distance(on) : e instanceof nr ? xke(on, e.path, kn) : wke(on, g, kn); + Ske(p, 0, s, Za, Fs), Kt.scaleAndAdd(on, Za, Fs, h), on.transform(d); + var g = e.getBoundingRect(), v = c ? c.distance(on) : e instanceof nr ? Eke(on, e.path, kn) : xke(on, g, kn); v < l && (l = v, on.transform(u), kn.transform(u), kn.toArray(o[0]), on.toArray(o[1]), Za.toArray(o[2])); } hX(o, t.get("minTurnAngle")), r.setShape({ @@ -65481,7 +65477,7 @@ function hX(e, t) { } } } -function Eke(e, t, r) { +function Rke(e, t, r) { if (r <= 180 && r > 0) { r = r / 180 * Math.PI, Za.fromArray(e[0]), on.fromArray(e[1]), kn.fromArray(e[2]), Kt.sub(Fs, on, Za), Kt.sub(Is, kn, on); var n = Fs.len(), i = Is.len(); @@ -65514,7 +65510,7 @@ function LE(e, t, r, n) { var s = n.getModel("lineStyle").getLineStyle(); i ? e.useStyle(s) : o.style = s; } -function Rke(e, t) { +function Pke(e, t) { var r = t.smooth, n = t.points; if (n) if (e.moveTo(n[0][0], n[0][1]), r > 0 && n.length >= 3) { @@ -65550,7 +65546,7 @@ function LA(e, t, r) { if (n) { xt(n.style, r), n.style.fill = null; var g = o.get("showAbove"), v = e.textGuideLineConfig = e.textGuideLineConfig || {}; - v.showAbove = g || !1, n.buildPath = Rke; + v.showAbove = g || !1, n.buildPath = Pke; } } function FA(e, t) { @@ -65651,7 +65647,7 @@ function pX(e, t, r, n, i, o) { } return c; } -function Pke(e, t, r, n) { +function Tke(e, t, r, n) { return pX(e, "x", "width", t, r, n); } function gX(e, t, r, n) { @@ -65689,14 +65685,14 @@ function vX(e) { h ? (n(c), u && n(u)) : (c.attr("ignore", o.defaultAttr.ignore), u && u.attr("ignore", o.defaultAttr.labelGuideIgnore), t.push(o)); } } -function Tke(e) { +function _ke(e) { if (e) { for (var t = [], r = 0; r < e.length; r++) t.push(e[r].slice()); return t; } } -function _ke(e, t) { +function Mke(e, t) { var r = e.label, n = t && t.getTextGuideLine(); return { dataIndex: e.dataIndex, @@ -65709,17 +65705,17 @@ function _ke(e, t) { // y: labelAttr.y, align: r.style.align, verticalAlign: r.style.verticalAlign, - labelLinePoints: Tke(n && n.shape.points) + labelLinePoints: _ke(n && n.shape.points) }; } -var dV = ["align", "verticalAlign", "width", "height", "fontSize"], Wi = new Pl(), FE = Cr(), Mke = Cr(); +var dV = ["align", "verticalAlign", "width", "height", "fontSize"], Wi = new Pl(), FE = Cr(), Dke = Cr(); function w0(e, t, r) { for (var n = 0; n < r.length; n++) { var i = r[n]; t[i] != null && (e[i] = t[i]); } } -var x0 = ["x", "y", "rotation"], Dke = ( +var x0 = ["x", "y", "rotation"], Ike = ( /** @class */ function() { function e() { @@ -65793,7 +65789,7 @@ var x0 = ["x", "y", "rotation"], Dke = ( } for (var o = 0; o < this._labelList.length; o++) { var a = this._labelList[o], s = a.label, l = s.__hostTarget, c = a.defaultAttr, u = void 0; - gt(a.layoutOption) ? u = a.layoutOption(_ke(a, l)) : u = a.layoutOption, u = u || {}, a.computedLayoutOption = u; + gt(a.layoutOption) ? u = a.layoutOption(Mke(a, l)) : u = a.layoutOption, u = u || {}, a.computedLayoutOption = u; var d = Math.PI / 180; l && l.setTextConfig({ // Force to set local false. @@ -65835,7 +65831,7 @@ var x0 = ["x", "y", "rotation"], Dke = ( }), a = kr(i, function(l) { return l.layoutOption.moveOverlap === "shiftY"; }); - Pke(o, 0, r), gX(a, 0, n); + Tke(o, 0, r), gX(a, 0, n); var s = kr(i, function(l) { return l.layoutOption.hideOverlap; }); @@ -65893,7 +65889,7 @@ var x0 = ["x", "y", "rotation"], Dke = ( uY(n, l, u, r, r); } if (i && !i.ignore && !i.invisible) { - var o = Mke(i), a = o.oldLayout, g = { + var o = Dke(i), a = o.oldLayout, g = { points: i.shape.points }; a ? (i.attr({ @@ -65909,10 +65905,10 @@ var x0 = ["x", "y", "rotation"], Dke = ( }, e; }() ), NE = Cr(); -function Ike(e) { +function Ake(e) { e.registerUpdateLifecycle("series:beforeupdate", function(t, r, n) { var i = NE(r).labelManager; - i || (i = NE(r).labelManager = new Dke()), i.clearLabels(); + i || (i = NE(r).labelManager = new Ike()), i.clearLabels(); }), e.registerUpdateLifecycle("series:layoutlabels", function(t, r, n) { var i = NE(r).labelManager; n.updatedSeries.forEach(function(o) { @@ -65920,7 +65916,7 @@ function Ike(e) { }), i.updateLayoutConfig(r), i.layout(r), i.processLabelsOverall(); }); } -var kE = Math.sin, $E = Math.cos, mX = Math.PI, Mu = Math.PI * 2, Ake = 180 / mX, yX = function() { +var kE = Math.sin, $E = Math.cos, mX = Math.PI, Mu = Math.PI * 2, Oke = 180 / mX, yX = function() { function e() { } return e.prototype.reset = function(t) { @@ -65940,7 +65936,7 @@ var kE = Math.sin, $E = Math.cos, mX = Math.PI, Mu = Math.PI * 2, Ake = 180 / mX h ? p = !0 : wc(d) ? p = !1 : p = f >= mX == !!u; var g = t + n * $E(a), v = r + i * kE(a); this._start && this._add("M", g, v); - var m = Math.round(o * Ake); + var m = Math.round(o * Oke); if (h) { var y = 1 / this._p, C = (u ? 1 : -1) * (Mu - y); this._add("A", n, i, m, 1, +u, t + n * $E(a + C), r + i * kE(a + C)), y > 0.01 && this._add("A", n, i, m, 0, +u, g, v); @@ -65967,49 +65963,49 @@ var kE = Math.sin, $E = Math.cos, mX = Math.PI, Mu = Math.PI * 2, Ake = 180 / mX }, e.prototype.getStr = function() { return this._str; }, e; -}(), NA = "none", Oke = Math.round; -function Lke(e) { +}(), NA = "none", Lke = Math.round; +function Fke(e) { var t = e.fill; return t != null && t !== NA; } -function Fke(e) { +function Nke(e) { var t = e.stroke; return t != null && t !== NA; } -var d_ = ["lineCap", "miterLimit", "lineJoin"], Nke = Fe(d_, function(e) { +var d_ = ["lineCap", "miterLimit", "lineJoin"], kke = Fe(d_, function(e) { return "stroke-" + e.toLowerCase(); }); -function kke(e, t, r, n) { +function $ke(e, t, r, n) { var i = t.opacity == null ? 1 : t.opacity; if (r instanceof bi) { e("opacity", i); return; } - if (Lke(t)) { + if (Fke(t)) { var o = Wv(t.fill); e("fill", o.color); var a = t.fillOpacity != null ? t.fillOpacity * o.opacity * i : o.opacity * i; a < 1 && e("fill-opacity", a); } else e("fill", NA); - if (Fke(t)) { + if (Nke(t)) { var s = Wv(t.stroke); e("stroke", s.color); var l = t.strokeNoScale ? r.getLineScale() : 1, c = l ? (t.lineWidth || 0) / l : 0, u = t.strokeOpacity != null ? t.strokeOpacity * s.opacity * i : s.opacity * i, d = t.strokeFirst; if (c !== 1 && e("stroke-width", c), d && e("paint-order", d ? "stroke" : "fill"), u < 1 && e("stroke-opacity", u), t.lineDash) { var h = vA(r), f = h[0], p = h[1]; - f && (p = Oke(p || 0), e("stroke-dasharray", f.join(",")), (p || n) && e("stroke-dashoffset", p)); + f && (p = Lke(p || 0), e("stroke-dasharray", f.join(",")), (p || n) && e("stroke-dashoffset", p)); } for (var g = 0; g < d_.length; g++) { var v = d_[g]; if (t[v] !== _b[v]) { var m = t[v] || _b[v]; - m && e(Nke[g], m); + m && e(kke[g], m); } } } } -var CX = "http://www.w3.org/2000/svg", bX = "http://www.w3.org/1999/xlink", $ke = "http://www.w3.org/2000/xmlns/", Vke = "http://www.w3.org/XML/1998/namespace", hV = "ecmeta_"; +var CX = "http://www.w3.org/2000/svg", bX = "http://www.w3.org/1999/xlink", Vke = "http://www.w3.org/2000/xmlns/", Bke = "http://www.w3.org/XML/1998/namespace", hV = "ecmeta_"; function SX(e) { return document.createElementNS(CX, e); } @@ -66022,7 +66018,7 @@ function oi(e, t, r, n, i) { key: t }; } -function Bke(e, t) { +function Hke(e, t) { var r = []; if (t) for (var n in t) { @@ -66031,7 +66027,7 @@ function Bke(e, t) { } return "<" + e + " " + r.join(" ") + ">"; } -function Hke(e) { +function zke(e) { return ""; } function kA(e, t) { @@ -66040,13 +66036,13 @@ function kA(e, t) { ` : ""; function n(i) { var o = i.children, a = i.tag, s = i.attrs, l = i.text; - return Bke(a, s) + (a !== "style" ? Yi(l) : l || "") + (o ? "" + r + Fe(o, function(c) { + return Hke(a, s) + (a !== "style" ? Yi(l) : l || "") + (o ? "" + r + Fe(o, function(c) { return n(c); - }).join(r) + r : "") + Hke(a); + }).join(r) + r : "") + zke(a); } return n(e); } -function zke(e, t, r) { +function Gke(e, t, r) { r = r || {}; var n = r.newline ? ` ` : "", i = " {" + n, o = n + "}", a = Fe(ar(e), function(l) { @@ -66092,9 +66088,9 @@ function fV(e, t, r, n) { viewBox: n ? "0 0 " + e + " " + t : !1 }, r); } -var Gke = 0; +var Wke = 0; function wX() { - return Gke++; + return Wke++; } var pV = { cubicIn: "0.32,0,0.67,0", @@ -66119,17 +66115,17 @@ var pV = { circularOut: "0,0.55,0.45,1", circularInOut: "0.85,0,0.15,1" }, Lu = "transform-origin"; -function Wke(e, t, r) { +function jke(e, t, r) { var n = Pe({}, e.shape); Pe(n, t), e.buildPath(r, n); var i = new yX(); return i.reset(UK(e)), r.rebuildPath(i, 1), i.generateStr(), i.getStr(); } -function jke(e, t) { +function Uke(e, t) { var r = t.originX, n = t.originY; (r || n) && (e[Lu] = r + "px " + n + "px"); } -var Uke = { +var Kke = { fill: "fill", opacity: "opacity", lineWidth: "stroke-width", @@ -66139,7 +66135,7 @@ function xX(e, t) { var r = t.zrId + "-ani-" + t.cssAnimIdx++; return t.cssAnims[r] = e, r; } -function Kke(e, t, r) { +function Zke(e, t, r) { var n = e.shape.paths, i = {}, o, a; if (z(n, function(l) { var c = h_(r.zrId); @@ -66169,7 +66165,7 @@ function gV(e) { function tw(e, t, r, n) { var i = e.animators, o = i.length, a = []; if (e instanceof N1) { - var s = Kke(e, t, r); + var s = Zke(e, t, r); if (s) a.push(s); else if (!o) @@ -66207,7 +66203,7 @@ function tw(e, t, r, n) { var O = KK(M), F = w[A][R]; E[A] = O ? { transform: O - } : {}, jke(E[A], M), F && (E[A][R] = F); + } : {}, Uke(E[A], M), F && (E[A][R] = F); } var k, N = !0; for (var A in x) { @@ -66215,7 +66211,7 @@ function tw(e, t, r, n) { var $ = !k, F = x[A][R]; $ && (k = new Zs()); var I = k.len(); - k.reset(), E[A].d = Wke(e, x[A], k); + k.reset(), E[A].d = jke(e, x[A], k); var B = k.len(); if (!$ && I !== B) { N = !1; @@ -66230,7 +66226,7 @@ function tw(e, t, r, n) { for (var T = 0; T < S; T++) { var _ = C[T], D = _.targetName; D === "style" && P(_, E, function(Z) { - return Uke[Z]; + return Kke[Z]; }); } for (var H = ar(E), V = !0, W, T = 1; T < H.length; T++) { @@ -66264,7 +66260,7 @@ function tw(e, t, r, n) { }, t.class = m; } } -function Zke(e, t, r) { +function Yke(e, t, r) { if (!e.ignore) if (e.isSilent()) { var n = { @@ -66300,10 +66296,10 @@ function RX(e) { return e && gt(e.toDataURL); } function $A(e, t, r, n) { - kke(function(i, o) { + $ke(function(i, o) { var a = i === "fill" || i === "stroke"; a && jK(o) ? TX(t, e, i, n) : a && MI(o) ? _X(r, e, i, n) : a && o === "none" ? e[i] = "transparent" : e[i] = o; - }, t, r, !1), t4e(r, e, n); + }, t, r, !1), r4e(r, e, n); } function VA(e, t) { var r = tZ(t); @@ -66314,13 +66310,13 @@ function VA(e, t) { function mV(e) { return wc(e[0] - 1) && wc(e[1]) && wc(e[2]) && wc(e[3] - 1); } -function Yke(e) { +function qke(e) { return wc(e[4]) && wc(e[5]); } function BA(e, t, r) { - if (t && !(Yke(t) && mV(t))) { + if (t && !(qke(t) && mV(t))) { var n = 1e4; - e.transform = mV(t) ? "translate(" + em(t[4] * n) / n + " " + em(t[5] * n) / n + ")" : HMe(t); + e.transform = mV(t) ? "translate(" + em(t[4] * n) / n + " " + em(t[5] * n) / n + ")" : zMe(t); } } function yV(e, t, r) { @@ -66331,7 +66327,7 @@ function yV(e, t, r) { function CV(e) { return !e.smooth; } -function qke(e) { +function Xke(e) { var t = Fe(e, function(r) { return typeof r == "string" ? [r, r] : r; }); @@ -66342,20 +66338,20 @@ function qke(e) { } }; } -var Xke = { - circle: [qke(["cx", "cy", "r"])], +var Qke = { + circle: [Xke(["cx", "cy", "r"])], polyline: [yV, CV], polygon: [yV, CV] }; -function Qke(e) { +function Jke(e) { for (var t = e.animators, r = 0; r < t.length; r++) if (t[r].targetName === "shape") return !0; return !1; } function PX(e, t) { - var r = e.style, n = e.shape, i = Xke[e.type], o = {}, a = t.animation, s = "path", l = e.style.strokePercent, c = t.compress && UK(e) || 4; - if (i && !t.willUpdate && !(i[1] && !i[1](n)) && !(a && Qke(e)) && !(l < 1)) { + var r = e.style, n = e.shape, i = Qke[e.type], o = {}, a = t.animation, s = "path", l = e.style.strokePercent, c = t.compress && UK(e) || 4; + if (i && !t.willUpdate && !(i[1] && !i[1](n)) && !(a && Jke(e)) && !(l < 1)) { s = e.type; var u = Math.pow(10, c); i[0](n, o, u); @@ -66367,9 +66363,9 @@ function PX(e, t) { var f = h.getVersion(), p = e, g = p.__svgPathBuilder; (p.__svgPathVersion !== f || !g || l !== p.__svgPathStrokePercent) && (g || (g = p.__svgPathBuilder = new yX()), g.reset(c), h.rebuildPath(g, l), g.generateStr(), p.__svgPathVersion = f, p.__svgPathStrokePercent = l), o.d = g.getStr(); } - return BA(o, e.transform), $A(o, r, e, t), VA(o, e), t.animation && tw(e, o, t), t.emphasis && Zke(e, o, t), oi(s, e.id + "", o); + return BA(o, e.transform), $A(o, r, e, t), VA(o, e), t.animation && tw(e, o, t), t.emphasis && Yke(e, o, t), oi(s, e.id + "", o); } -function Jke(e, t) { +function e4e(e, t) { var r = e.style, n = r.image; if (n && !Je(n) && (EX(n) ? n = n.src : RX(n) && (n = n.toDataURL())), !!n) { var i = r.x || 0, o = r.y || 0, a = r.width, s = r.height, l = { @@ -66380,10 +66376,10 @@ function Jke(e, t) { return i && (l.x = i), o && (l.y = o), BA(l, e.transform), $A(l, r, e, t), VA(l, e), t.animation && tw(e, l, t), oi("image", e.id + "", l); } } -function e4e(e, t) { +function t4e(e, t) { var r = e.style, n = r.text; if (n != null && (n += ""), !(!n || isNaN(r.x) || isNaN(r.y))) { - var i = r.font || Vc, o = r.x || 0, a = GMe(r.y || 0, E1(i), r.textBaseline), s = zMe[r.textAlign] || r.textAlign, l = { + var i = r.font || Vc, o = r.x || 0, a = WMe(r.y || 0, E1(i), r.textBaseline), s = GMe[r.textAlign] || r.textAlign, l = { "dominant-baseline": "central", "text-anchor": s }; @@ -66402,14 +66398,14 @@ function bV(e, t) { if (e instanceof nr) return PX(e, t); if (e instanceof bi) - return Jke(e, t); - if (e instanceof kf) return e4e(e, t); + if (e instanceof kf) + return t4e(e, t); } -function t4e(e, t, r) { +function r4e(e, t, r) { var n = e.style; - if (WMe(n)) { - var i = jMe(e), o = r.shadowCache, a = o[i]; + if (jMe(n)) { + var i = UMe(e), o = r.shadowCache, a = o[i]; if (!a) { var s = e.getGlobalScale(), l = s[0], c = s[1]; if (!l || !c) @@ -66488,7 +66484,7 @@ function _X(e, t, r, n) { P || (P = n.zrId + "-p" + n.patternIdx++, R[E] = P, a.id = P, x = n.defs[P] = oi("pattern", P, a, [d])), t[r] = x1(P); } } -function r4e(e, t, r) { +function n4e(e, t, r) { var n = r.clipPathCache, i = r.defs, o = n[e.id]; if (!o) { o = r.zrId + "-c" + r.clipPathIdx++; @@ -66520,14 +66516,14 @@ function DX(e) { function VE(e, t) { e.textContent = t; } -var EV = 58, n4e = 120, i4e = oi("", ""); +var EV = 58, i4e = 120, o4e = oi("", ""); function f_(e) { return e === void 0; } function Ts(e) { return e !== void 0; } -function o4e(e, t, r) { +function a4e(e, t, r) { for (var n = {}, i = t; i <= r; ++i) { var o = e[i].key; o !== void 0 && (process.env.NODE_ENV !== "production" && n[o] != null && console.error("Duplicate key " + o), n[o] = i); @@ -66542,7 +66538,7 @@ function tm(e) { var t, r = e.children, n = e.tag; if (Ts(n)) { var i = e.elm = SX(n); - if (HA(i4e, e), Ae(r)) + if (HA(o4e, e), Ae(r)) for (t = 0; t < r.length; ++t) { var o = r[t]; o != null && xV(i, tm(o)); @@ -66574,22 +66570,22 @@ function HA(e, t) { if (i !== o) { for (r in o) { var a = o[r], s = i[r]; - s !== a && (a === !0 ? n.setAttribute(r, "") : a === !1 ? n.removeAttribute(r) : r === "style" ? n.style.cssText = a : r.charCodeAt(0) !== n4e ? n.setAttribute(r, a) : r === "xmlns:xlink" || r === "xmlns" ? n.setAttributeNS($ke, r, a) : r.charCodeAt(3) === EV ? n.setAttributeNS(Vke, r, a) : r.charCodeAt(5) === EV ? n.setAttributeNS(bX, r, a) : n.setAttribute(r, a)); + s !== a && (a === !0 ? n.setAttribute(r, "") : a === !1 ? n.removeAttribute(r) : r === "style" ? n.style.cssText = a : r.charCodeAt(0) !== i4e ? n.setAttribute(r, a) : r === "xmlns:xlink" || r === "xmlns" ? n.setAttributeNS(Vke, r, a) : r.charCodeAt(3) === EV ? n.setAttributeNS(Bke, r, a) : r.charCodeAt(5) === EV ? n.setAttributeNS(bX, r, a) : n.setAttribute(r, a)); } for (r in i) r in o || n.removeAttribute(r); } } -function a4e(e, t, r) { +function s4e(e, t, r) { for (var n = 0, i = 0, o = t.length - 1, a = t[0], s = t[o], l = r.length - 1, c = r[0], u = r[l], d, h, f, p; n <= o && i <= l; ) - a == null ? a = t[++n] : s == null ? s = t[--o] : c == null ? c = r[++i] : u == null ? u = r[--l] : Dg(a, c) ? (Zh(a, c), a = t[++n], c = r[++i]) : Dg(s, u) ? (Zh(s, u), s = t[--o], u = r[--l]) : Dg(a, u) ? (Zh(a, u), Wu(e, a.elm, DX(s.elm)), a = t[++n], u = r[--l]) : Dg(s, c) ? (Zh(s, c), Wu(e, s.elm, a.elm), s = t[--o], c = r[++i]) : (f_(d) && (d = o4e(t, n, o)), h = d[c.key], f_(h) ? Wu(e, tm(c), a.elm) : (f = t[h], f.tag !== c.tag ? Wu(e, tm(c), a.elm) : (Zh(f, c), t[h] = void 0, Wu(e, f.elm, a.elm))), c = r[++i]); + a == null ? a = t[++n] : s == null ? s = t[--o] : c == null ? c = r[++i] : u == null ? u = r[--l] : Dg(a, c) ? (Zh(a, c), a = t[++n], c = r[++i]) : Dg(s, u) ? (Zh(s, u), s = t[--o], u = r[--l]) : Dg(a, u) ? (Zh(a, u), Wu(e, a.elm, DX(s.elm)), a = t[++n], u = r[--l]) : Dg(s, c) ? (Zh(s, c), Wu(e, s.elm, a.elm), s = t[--o], c = r[++i]) : (f_(d) && (d = a4e(t, n, o)), h = d[c.key], f_(h) ? Wu(e, tm(c), a.elm) : (f = t[h], f.tag !== c.tag ? Wu(e, tm(c), a.elm) : (Zh(f, c), t[h] = void 0, Wu(e, f.elm, a.elm))), c = r[++i]); (n <= o || i <= l) && (n > o ? (p = r[l + 1] == null ? null : r[l + 1].elm, IX(e, p, r, i, l)) : Xb(e, t, n, o)); } function Zh(e, t) { var r = t.elm = e.elm, n = e.children, i = t.children; - e !== t && (HA(e, t), f_(t.text) ? Ts(n) && Ts(i) ? n !== i && a4e(r, n, i) : Ts(i) ? (Ts(e.text) && VE(r, ""), IX(r, null, i, 0, i.length - 1)) : Ts(n) ? Xb(r, n, 0, n.length - 1) : Ts(e.text) && VE(r, "") : e.text !== t.text && (Ts(n) && Xb(r, n, 0, n.length - 1), VE(r, t.text))); + e !== t && (HA(e, t), f_(t.text) ? Ts(n) && Ts(i) ? n !== i && s4e(r, n, i) : Ts(i) ? (Ts(e.text) && VE(r, ""), IX(r, null, i, 0, i.length - 1)) : Ts(n) ? Xb(r, n, 0, n.length - 1) : Ts(e.text) && VE(r, "") : e.text !== t.text && (Ts(n) && Xb(r, n, 0, n.length - 1), VE(r, t.text))); } -function s4e(e, t) { +function l4e(e, t) { if (Dg(e, t)) Zh(e, t); else { @@ -66598,9 +66594,9 @@ function s4e(e, t) { } return t; } -var l4e = 0, c4e = function() { +var c4e = 0, u4e = function() { function e(t, r, n) { - if (this.type = "svg", this.refreshHover = RV("refreshHover"), this.configLayer = RV("configLayer"), this.storage = r, this._opts = n = Pe({}, n), this.root = t, this._id = "zr" + l4e++, this._oldVNode = fV(n.width, n.height), t && !n.ssr) { + if (this.type = "svg", this.refreshHover = RV("refreshHover"), this.configLayer = RV("configLayer"), this.storage = r, this._opts = n = Pe({}, n), this.root = t, this._id = "zr" + c4e++, this._oldVNode = fV(n.width, n.height), t && !n.ssr) { var i = this._viewport = document.createElement("div"); i.style.cssText = "position:relative;overflow:hidden"; var o = this._svgDom = this._oldVNode.elm = SX("svg"); @@ -66626,7 +66622,7 @@ var l4e = 0, c4e = function() { var t = this.renderToVNode({ willUpdate: !0 }); - t.attrs.style = "position:absolute;left:0;top:0;user-select:none", s4e(this._oldVNode, t), this._oldVNode = t; + t.attrs.style = "position:absolute;left:0;top:0;user-select:none", l4e(this._oldVNode, t), this._oldVNode = t; } }, e.prototype.renderOneToVNode = function(t) { return bV(t, h_(this._id)); @@ -66634,7 +66630,7 @@ var l4e = 0, c4e = function() { t = t || {}; var r = this.storage.getDisplayList(!0), n = this._width, i = this._height, o = h_(this._id); o.animation = t.animation, o.willUpdate = t.willUpdate, o.compress = t.compress, o.emphasis = t.emphasis; - var a = [], s = this._bgVNode = u4e(n, i, this._backgroundColor, o); + var a = [], s = this._bgVNode = d4e(n, i, this._backgroundColor, o); s && a.push(s); var l = t.compress ? null : this._mainVNode = oi("g", "main", {}, []); this._paintList(r, o, l ? l.children : a), l && a.push(l); @@ -66642,7 +66638,7 @@ var l4e = 0, c4e = function() { return o.defs[h]; }); if (c.length && a.push(oi("defs", "defs", {}, c)), t.animation) { - var u = zke(o.cssNodes, o.cssAnims, { newline: !0 }); + var u = Gke(o.cssNodes, o.cssAnims, { newline: !0 }); if (u) { var d = oi("style", "stl", {}, [], u); a.push(d); @@ -66672,7 +66668,7 @@ var l4e = 0, c4e = function() { a--, s = o[a - 1]; for (var m = g + 1; m < f; m++) { var y = {}; - r4e(h[m], y, r); + n4e(h[m], y, r); var C = oi("g", "clip-g-" + c++, y, []); (s ? s.children : n).push(C), o[a++] = C, s = C; } @@ -66707,7 +66703,7 @@ var l4e = 0, c4e = function() { this._svgDom && (this._svgDom.innerHTML = null), this._oldVNode = null; }, e.prototype.toDataURL = function(t) { var r = this.renderToString(), n = "data:image/svg+xml;"; - return t ? (r = KMe(r), r && n + "base64," + r) : n + "charset=UTF-8," + encodeURIComponent(r); + return t ? (r = ZMe(r), r && n + "base64," + r) : n + "charset=UTF-8," + encodeURIComponent(r); }, e; }(); function RV(e) { @@ -66715,7 +66711,7 @@ function RV(e) { process.env.NODE_ENV !== "production" && ya('In SVG mode painter not support method "' + e + '"'); }; } -function u4e(e, t, r, n) { +function d4e(e, t, r, n) { var i; if (r && r !== "none") if (i = oi("rect", "bg", { @@ -66741,8 +66737,8 @@ function u4e(e, t, r, n) { } return i; } -function d4e(e) { - e.registerPainter("svg", c4e); +function h4e(e) { + e.registerPainter("svg", u4e); } function PV(e, t, r) { var n = os.createCanvas(), i = t.getWidth(), o = t.getHeight(), a = n.style; @@ -66865,11 +66861,11 @@ var BE = function(e) { p(g.x * d, g.y * d, g.width * d, g.height * d); }); }, t; -}(Da), TV = 1e5, Du = 314159, E0 = 0.01, h4e = 1e-3; -function f4e(e) { +}(Da), TV = 1e5, Du = 314159, E0 = 0.01, f4e = 1e-3; +function p4e(e) { return e ? e.__builtin__ ? !0 : !(typeof e.resize != "function" || typeof e.refresh != "function") : !1; } -function p4e(e, t) { +function g4e(e, t) { var r = document.createElement("div"); return r.style.cssText = [ "position:relative", @@ -66880,7 +66876,7 @@ function p4e(e, t) { "border-width:0" ].join(";") + ";", r; } -var g4e = function() { +var v4e = function() { function e(t, r, n, i) { this.type = "canvas", this._zlevelList = [], this._prevDisplayList = [], this._layers = {}, this._layerConfig = {}, this._needsManuallyCompositing = !1, this.type = "canvas"; var o = !t.nodeName || t.nodeName.toUpperCase() === "CANVAS"; @@ -66897,7 +66893,7 @@ var g4e = function() { f.__builtin__ = !0, f.initContext(), l[Du] = f, f.zlevel = Du, s.push(Du), this._domRoot = t; } else { this._width = of(t, 0, n), this._height = of(t, 1, n); - var c = this._domRoot = p4e(this._width, this._height); + var c = this._domRoot = g4e(this._width, this._height); t.appendChild(c); } } @@ -67032,7 +67028,7 @@ var g4e = function() { process.env.NODE_ENV !== "production" && ya("ZLevel " + t + " has been used already"); return; } - if (!f4e(r)) { + if (!p4e(r)) { process.env.NODE_ENV !== "production" && ya("Layer of zlevel " + t + " is not valid"); return; } @@ -67083,7 +67079,7 @@ var g4e = function() { var o = null, a = 0, s, l; for (l = 0; l < t.length; l++) { var i = t[l], c = i.zlevel, u = void 0; - s !== c && (s = c, a = 0), i.incremental ? (u = this.getLayer(c + h4e, this._needsManuallyCompositing), u.incremental = !0, a = 1) : u = this.getLayer(c + (a > 0 ? E0 : 0), this._needsManuallyCompositing), u.__builtin__ || ya("ZLevel " + c + " has been used by unkown layer " + u.id), u !== o && (u.__used = !0, u.__startIndex !== l && (u.__dirty = !0), u.__startIndex = l, u.incremental ? u.__drawIndex = -1 : u.__drawIndex = l, r(l), o = u), i.__dirty & Fo && !i.__inHover && (u.__dirty = !0, u.incremental && u.__drawIndex < 0 && (u.__drawIndex = l)); + s !== c && (s = c, a = 0), i.incremental ? (u = this.getLayer(c + f4e, this._needsManuallyCompositing), u.incremental = !0, a = 1) : u = this.getLayer(c + (a > 0 ? E0 : 0), this._needsManuallyCompositing), u.__builtin__ || ya("ZLevel " + c + " has been used by unkown layer " + u.id), u !== o && (u.__used = !0, u.__startIndex !== l && (u.__dirty = !0), u.__startIndex = l, u.incremental ? u.__drawIndex = -1 : u.__drawIndex = l, r(l), o = u), i.__dirty & Fo && !i.__inHover && (u.__dirty = !0, u.incremental && u.__drawIndex < 0 && (u.__drawIndex = l)); } r(l), this.eachBuiltinLayer(function(d, h) { !d.__used && d.getElementCount() > 0 && (d.__dirty = !0, d.__startIndex = d.__endIndex = d.__drawIndex = 0), d.__dirty && d.__drawIndex < 0 && (d.__drawIndex = d.__startIndex); @@ -67162,10 +67158,10 @@ var g4e = function() { return this._height; }, e; }(); -function v4e(e) { - e.registerPainter("canvas", g4e); +function m4e(e) { + e.registerPainter("canvas", v4e); } -var m4e = ( +var y4e = ( /** @class */ function(e) { be(t, e); @@ -67285,7 +67281,7 @@ var iy = ( culling: !0, scaleX: o[0] / 2, scaleY: o[1] / 2 - }), s.drift = y4e, this._symbolType = r, this.add(s); + }), s.drift = C4e, this._symbolType = r, this.add(s); }, t.prototype.stopSymbolAnimation = function(r) { this.childAt(0).stopAnimation(null, r); }, t.prototype.getSymbolType = function() { @@ -67408,7 +67404,7 @@ var iy = ( }, t; }(Lt) ); -function y4e(e, t) { +function C4e(e, t) { this.parent.drift(e, t); } function HE(e, t, r, n) { @@ -67509,7 +67505,7 @@ var oy = ( }() ); function OX(e, t, r) { - var n = e.getBaseAxis(), i = e.getOtherAxis(n), o = C4e(i, r), a = n.dim, s = i.dim, l = t.mapDimension(s), c = t.mapDimension(a), u = s === "x" || s === "radius" ? 1 : 0, d = Fe(e.dimensions, function(p) { + var n = e.getBaseAxis(), i = e.getOtherAxis(n), o = b4e(i, r), a = n.dim, s = i.dim, l = t.mapDimension(s), c = t.mapDimension(a), u = s === "x" || s === "radius" ? 1 : 0, d = Fe(e.dimensions, function(p) { return t.mapDimension(p); }), h = !1, f = t.getCalculationInfo("stackResultDimension"); return jl( @@ -67532,7 +67528,7 @@ function OX(e, t, r) { stackedOverDimension: t.getCalculationInfo("stackedOverDimension") }; } -function C4e(e, t) { +function b4e(e, t) { var r = 0, n = e.scale.getExtent(); return t === "start" ? r = n[0] : t === "end" ? r = n[1] : br(t) && !isNaN(t) ? r = t : n[0] > 0 ? r = n[0] : n[1] < 0 && (r = n[1]), r; } @@ -67542,7 +67538,7 @@ function LX(e, t, r, n) { var o = e.baseDataOffset, a = []; return a[o] = r.get(e.baseDim, n), a[1 - o] = i, t.dataToPoint(a); } -function b4e(e, t) { +function S4e(e, t) { var r = []; return t.diff(e).add(function(n) { r.push({ @@ -67562,8 +67558,8 @@ function b4e(e, t) { }); }).execute(), r; } -function S4e(e, t, r, n, i, o, a, s) { - for (var l = b4e(e, t), c = [], u = [], d = [], h = [], f = [], p = [], g = [], v = OX(i, t, a), m = e.getLayout("points") || [], y = t.getLayout("points") || [], C = 0; C < l.length; C++) { +function w4e(e, t, r, n, i, o, a, s) { + for (var l = S4e(e, t), c = [], u = [], d = [], h = [], f = [], p = [], g = [], v = OX(i, t, a), m = e.getLayout("points") || [], y = t.getLayout("points") || [], C = 0; C < l.length; C++) { var S = l[C], w = !0, x = void 0, E = void 0; switch (S.cmd) { case "=": @@ -67661,7 +67657,7 @@ var FX = ( } return e; }() -), w4e = ( +), x4e = ( /** @class */ function(e) { be(t, e); @@ -67718,7 +67714,7 @@ var FX = ( } }, t; }(nr) -), x4e = ( +), E4e = ( /** @class */ function(e) { be(t, e); @@ -67736,7 +67732,7 @@ var FX = ( return n.type = "ec-polygon", n; } return t.prototype.getDefaultShape = function() { - return new x4e(); + return new E4e(); }, t.prototype.buildPath = function(r, n) { var i = n.points, o = n.stackedOnPoints, a = 0, s = i.length / 2, l = n.smoothMonotone; if (n.connectNulls) { @@ -67837,7 +67833,7 @@ function AV(e, t) { function OV(e) { return br(e) ? e : e ? 0.5 : 0; } -function E4e(e, t, r) { +function R4e(e, t, r) { if (!r.valueDim) return []; for (var n = t.count(), i = Ls(n * 2), o = 0; o < n; o++) { @@ -67867,7 +67863,7 @@ function uc(e, t, r, n) { } return a.push(e[s++], e[s++]), a; } -function R4e(e, t) { +function P4e(e, t) { var r = [], n = e.length, i, o; function a(u, d, h) { var f = u.coord, p = (h - f) / (d.coord - f), g = _I(p, [u.color, d.color]); @@ -67888,7 +67884,7 @@ function R4e(e, t) { } return r; } -function P4e(e, t, r) { +function T4e(e, t, r) { var n = e.getVisual("visualMeta"); if (!(!n || !n.length || !e.count())) { if (t.type !== "cartesian2d") { @@ -67913,7 +67909,7 @@ function P4e(e, t, r) { }; }), u = c.length, d = o.outerColors.slice(); u && c[0].coord > c[u - 1].coord && (c.reverse(), d.reverse()); - var h = R4e(c, i === "x" ? r.getWidth() : r.getHeight()), f = h.length; + var h = P4e(c, i === "x" ? r.getWidth() : r.getHeight()), f = h.length; if (!f && u) return c[0].coord < 0 ? d[1] ? d[1] : c[u - 1].color : d[0] ? d[0] : c[0].color; var p = 10, g = h[0].coord - p, v = h[f - 1].coord + p, m = v - g; @@ -67933,11 +67929,11 @@ function P4e(e, t, r) { return y[i] = g, y[i + "2"] = v, y; } } -function T4e(e, t, r) { +function _4e(e, t, r) { var n = e.get("showAllSymbol"), i = n === "auto"; if (!(n && !i)) { var o = r.getAxesByScale("ordinal")[0]; - if (o && !(i && _4e(o, t))) { + if (o && !(i && M4e(o, t))) { var a = t.mapDimension(o.dim), s = {}; return z(o.getViewLabels(), function(l) { var c = o.scale.getRawOrdinalNumber(l.tickValue); @@ -67948,7 +67944,7 @@ function T4e(e, t, r) { } } } -function _4e(e, t) { +function M4e(e, t) { var r = e.getExtent(), n = Math.abs(r[1] - r[0]) / e.scale.count(); isNaN(n) && (n = 0); for (var i = t.count(), o = Math.max(1, Math.round(i / 5)), a = 0; a < i; a += o) @@ -67960,18 +67956,18 @@ function _4e(e, t) { return !1; return !0; } -function M4e(e, t) { +function D4e(e, t) { return isNaN(e) || isNaN(t); } -function D4e(e) { - for (var t = e.length / 2; t > 0 && M4e(e[t * 2 - 2], e[t * 2 - 1]); t--) +function I4e(e) { + for (var t = e.length / 2; t > 0 && D4e(e[t * 2 - 2], e[t * 2 - 1]); t--) ; return t - 1; } function LV(e, t) { return [e[t * 2], e[t * 2 + 1]]; } -function I4e(e, t, r) { +function A4e(e, t, r) { for (var n = e.length / 2, i = r === "x" ? 0 : 1, o, a, s = 0, l = -1, c = 0; c < n; c++) if (a = e[c * 2 + i], !(isNaN(a) || isNaN(e[c * 2 + 1 - i]))) { if (c === 0) { @@ -68018,7 +68014,7 @@ function zE(e, t, r, n) { } else return process.env.NODE_ENV !== "production" && n.get(["endLabel", "show"]) && console.warn("endLabel is not supported for lines in polar systems."), $X(t, r, n); } -function A4e(e, t) { +function O4e(e, t) { var r = t.getBaseAxis(), n = r.isHorizontal(), i = r.inverse, o = n ? i ? "right" : "left" : "center", a = n ? "middle" : i ? "top" : "bottom"; return { normal: { @@ -68027,7 +68023,7 @@ function A4e(e, t) { } }; } -var O4e = ( +var L4e = ( /** @class */ function(e) { be(t, e); @@ -68038,13 +68034,13 @@ var O4e = ( var r = new Lt(), n = new oy(); this.group.add(n.group), this._symbolDraw = n, this._lineGroup = r; }, t.prototype.render = function(r, n, i) { - var o = this, a = r.coordinateSystem, s = this.group, l = r.getData(), c = r.getModel("lineStyle"), u = r.getModel("areaStyle"), d = l.getLayout("points") || [], h = a.type === "polar", f = this._coordSys, p = this._symbolDraw, g = this._polyline, v = this._polygon, m = this._lineGroup, y = !n.ssr && r.get("animation"), C = !u.isEmpty(), S = u.get("origin"), w = OX(a, l, S), x = C && E4e(a, l, w), E = r.get("showSymbol"), R = r.get("connectNulls"), P = E && !h && T4e(r, l, a), T = this._data; + var o = this, a = r.coordinateSystem, s = this.group, l = r.getData(), c = r.getModel("lineStyle"), u = r.getModel("areaStyle"), d = l.getLayout("points") || [], h = a.type === "polar", f = this._coordSys, p = this._symbolDraw, g = this._polyline, v = this._polygon, m = this._lineGroup, y = !n.ssr && r.get("animation"), C = !u.isEmpty(), S = u.get("origin"), w = OX(a, l, S), x = C && R4e(a, l, w), E = r.get("showSymbol"), R = r.get("connectNulls"), P = E && !h && _4e(r, l, a), T = this._data; T && T.eachItemGraphicEl(function(X, q) { X.__temp && (s.remove(X), T.setItemGraphicEl(q, null)); }), E || p.remove(), s.add(m); var _ = h ? !1 : r.get("step"), D; a && a.getArea && r.get("clip", !0) && (D = a.getArea(), D.width != null ? (D.x -= 0.1, D.y -= 0.1, D.width += 0.2, D.height += 0.2) : D.r0 && (D.r0 -= 0.5, D.r += 0.5)), this._clipShapeForSymbol = D; - var A = P4e(l, a, i) || l.getVisual("style")[l.getVisual("drawType")]; + var A = T4e(l, a, i) || l.getVisual("style")[l.getVisual("drawType")]; if (!(g && f.type === a.type && _ === this._step)) E && p.updateData(l, { isIgnore: P, @@ -68154,7 +68150,7 @@ var O4e = ( Mb(this._polyline, r), n && Mb(n, r); }, t.prototype._newPolyline = function(r) { var n = this._polyline; - return n && this._lineGroup.remove(n), n = new w4e({ + return n && this._lineGroup.remove(n), n = new x4e({ shape: { points: r }, @@ -68224,7 +68220,7 @@ var O4e = ( z2: 200 // should be higher than item symbol }), c.ignoreClip = !0, s.setTextContent(this._endLabel), s.disableLabelAnimation = !0); - var u = D4e(l); + var u = I4e(l); u >= 0 && (Ti(s, ui(r, "endLabel"), { inheritColor: i, labelFetcher: r, @@ -68233,13 +68229,13 @@ var O4e = ( return f != null ? AX(a, f) : Hf(a, d); }, enableTextSetter: !0 - }, A4e(o, n)), s.textConfig.position = null); + }, O4e(o, n)), s.textConfig.position = null); } else this._endLabel && (this._polyline.removeTextContent(), this._endLabel = null); }, t.prototype._endLabelOnDuring = function(r, n, i, o, a, s, l) { var c = this._endLabel, u = this._polyline; if (c) { r < 1 && o.originalX == null && (o.originalX = c.x, o.originalY = c.y); - var d = i.getLayout("points"), h = i.hostModel, f = h.get("connectNulls"), p = s.get("precision"), g = s.get("distance") || 0, v = l.getBaseAxis(), m = v.isHorizontal(), y = v.inverse, C = n.shape, S = y ? m ? C.x : C.y + C.height : m ? C.x + C.width : C.y, w = (m ? g : 0) * (y ? -1 : 1), x = (m ? 0 : -g) * (y ? -1 : 1), E = m ? "x" : "y", R = I4e(d, S, E), P = R.range, T = P[1] - P[0], _ = void 0; + var d = i.getLayout("points"), h = i.hostModel, f = h.get("connectNulls"), p = s.get("precision"), g = s.get("distance") || 0, v = l.getBaseAxis(), m = v.isHorizontal(), y = v.inverse, C = n.shape, S = y ? m ? C.x : C.y + C.height : m ? C.x + C.width : C.y, w = (m ? g : 0) * (y ? -1 : 1), x = (m ? 0 : -g) * (y ? -1 : 1), E = m ? "x" : "y", R = A4e(d, S, E), P = R.range, T = P[1] - P[0], _ = void 0; if (T >= 1) { if (T > 1 && !f) { var D = LV(d, P[0]); @@ -68270,7 +68266,7 @@ var O4e = ( } } }, t.prototype._doUpdateAnimation = function(r, n, i, o, a, s, l) { - var c = this._polyline, u = this._polygon, d = r.hostModel, h = S4e(this._data, r, this._stackedOnPoints, n, this._coordSys, i, this._valueOrigin), f = h.current, p = h.stackedOnCurrent, g = h.next, v = h.stackedOnNext; + var c = this._polyline, u = this._polygon, d = r.hostModel, h = w4e(this._data, r, this._stackedOnPoints, n, this._coordSys, i, this._valueOrigin), f = h.current, p = h.stackedOnCurrent, g = h.next, v = h.stackedOnNext; if (a && (f = uc(h.current, i, a, l), p = uc(h.stackedOnCurrent, i, a, l), g = uc(h.next, i, a, l), v = uc(h.stackedOnNext, i, a, l)), AV(f, g) > 3e3 || u && AV(p, v) > 3e3) { c.stopAnimation(), c.setShape({ points: g @@ -68351,7 +68347,7 @@ function sy(e, t) { } }; } -var L4e = { +var F4e = { average: function(e) { for (var t = 0, r = 0, n = 0; n < e.length; n++) isNaN(e[n]) || (t += e[n], r++); @@ -68384,7 +68380,7 @@ var L4e = { nearest: function(e) { return e[0]; } -}, F4e = function(e) { +}, N4e = function(e) { return Math.round(e.length / 2); }; function BX(e) { @@ -68399,14 +68395,14 @@ function BX(e) { if (isFinite(f) && f > 1) { o === "lttb" && t.setData(i.lttbDownSample(i.mapDimension(c.dim), 1 / f)); var p = void 0; - Je(o) ? p = L4e[o] : gt(o) && (p = o), p && t.setData(i.downSample(i.mapDimension(c.dim), 1 / f, p, F4e)); + Je(o) ? p = F4e[o] : gt(o) && (p = o), p && t.setData(i.downSample(i.mapDimension(c.dim), 1 / f, p, N4e)); } } } }; } -function N4e(e) { - e.registerChartView(O4e), e.registerSeriesModel(m4e), e.registerLayout(sy("line", !0)), e.registerVisual({ +function k4e(e) { + e.registerChartView(L4e), e.registerSeriesModel(y4e), e.registerLayout(sy("line", !0)), e.registerVisual({ seriesType: "line", reset: function(t) { var r = t.getData(), n = t.getModel("lineStyle").getLineStyle(); @@ -68483,7 +68479,7 @@ var rm = ( }(Ur) ); Ur.registerClass(rm); -var k4e = ( +var $4e = ( /** @class */ function(e) { be(t, e); @@ -68529,7 +68525,7 @@ var k4e = ( realtimeSort: !1 }), t; }(rm) -), $4e = ( +), V4e = ( /** @class */ /* @__PURE__ */ function() { function e() { @@ -68546,7 +68542,7 @@ var k4e = ( return n.type = "sausage", n; } return t.prototype.getDefaultShape = function() { - return new $4e(); + return new V4e(); }, t.prototype.buildPath = function(r, n) { var i = n.cx, o = n.cy, a = Math.max(n.r0 || 0, 0), s = Math.max(n.r, 0), l = (s - a) * 0.5, c = a + l, u = n.startAngle, d = n.endAngle, h = n.clockwise, f = Math.PI * 2, p = h ? d - u < f : u - d < f; p || (u = d - (h ? f : -f)); @@ -68555,7 +68551,7 @@ var k4e = ( }, t; }(nr) ); -function V4e(e, t) { +function B4e(e, t) { t = t || {}; var r = t.isRoundCap; return function(n, i, o) { @@ -68597,7 +68593,7 @@ function V4e(e, t) { return n = n || {}, n.x = w, n.y = x, n.align = E, n.verticalAlign = R, n; }; } -function B4e(e, t, r, n) { +function H4e(e, t, r, n) { if (br(n)) { e.setTextConfig({ rotation: n @@ -68658,7 +68654,7 @@ function ad(e, t, r) { }; } var GE = Math.max, WE = Math.min; -function H4e(e, t) { +function z4e(e, t) { var r = e.getArea && e.getArea(); if (Jd(e, "cartesian2d")) { var n = e.getBaseAxis(); @@ -68669,7 +68665,7 @@ function H4e(e, t) { } return r; } -var z4e = ( +var G4e = ( /** @class */ function(e) { be(t, e); @@ -68693,13 +68689,13 @@ var z4e = ( }, t.prototype._renderNormal = function(r, n, i, o) { var a = this.group, s = r.getData(), l = this._data, c = r.coordinateSystem, u = c.getBaseAxis(), d; c.type === "cartesian2d" ? d = u.isHorizontal() : c.type === "polar" && (d = u.dim === "angle"); - var h = r.isAnimationEnabled() ? r : null, f = G4e(r, c); + var h = r.isAnimationEnabled() ? r : null, f = W4e(r, c); f && this._enableRealtimeSort(f, s, i); - var p = r.get("clip", !0) || f, g = H4e(c, s); + var p = r.get("clip", !0) || f, g = z4e(c, s); a.removeClipPath(); var v = r.get("roundCap", !0), m = r.get("showBackground", !0), y = r.getModel("backgroundStyle"), C = y.get("borderRadius") || 0, S = [], w = this._backgroundEls, x = o && o.isInitSort, E = o && o.type === "changeAxisOrder"; function R(_) { - var D = T0[c.type](s, _), A = q4e(c, d, D); + var D = T0[c.type](s, _), A = X4e(c, d, D); return A.useStyle(y.getItemStyle()), c.type === "cartesian2d" ? A.setShape("r", C) : A.setShape("cornerRadius", C), S[_] = A, A; } s.diff(l).add(function(_) { @@ -68882,7 +68878,7 @@ var z4e = ( }); u.name = "item"; var d = HX(i); - if (u.calculateTextPosition = V4e(d, { + if (u.calculateTextPosition = B4e(d, { isRoundCap: c === Qb }), o) { var h = u.shape, f = i ? "r" : "endAngle", p = {}; @@ -68894,7 +68890,7 @@ var z4e = ( return u; } }; -function G4e(e, t) { +function W4e(e, t) { var r = e.get("realtimeSort", !0), n = t.getBaseAxis(); if (process.env.NODE_ENV !== "production" && r && (n.type !== "category" && bn("`realtimeSort` will not work because this bar series is not based on a category axis."), t.type !== "cartesian2d" && bn("`realtimeSort` will not work because this bar series is not on cartesian2d.")), r && n.type === "category" && t.type === "cartesian2d") return { @@ -68930,18 +68926,18 @@ function $V(e, t) { return !0; return !1; } -var W4e = ["x", "y", "width", "height"], j4e = ["cx", "cy", "r", "startAngle", "endAngle"], VV = { +var j4e = ["x", "y", "width", "height"], U4e = ["cx", "cy", "r", "startAngle", "endAngle"], VV = { cartesian2d: function(e) { - return !$V(e, W4e); + return !$V(e, j4e); }, polar: function(e) { - return !$V(e, j4e); + return !$V(e, U4e); } }, T0 = { // itemModel is only used to get borderWidth, which is not needed // when calculating bar background layout. cartesian2d: function(e, t, r) { - var n = e.getItemLayout(t), i = r ? K4e(r, n) : 0, o = n.width > 0 ? 1 : -1, a = n.height > 0 ? 1 : -1; + var n = e.getItemLayout(t), i = r ? Z4e(r, n) : 0, o = n.width > 0 ? 1 : -1, a = n.height > 0 ? 1 : -1; return { x: n.x + o * i / 2, y: n.y + a * i / 2, @@ -68962,7 +68958,7 @@ var W4e = ["x", "y", "width", "height"], j4e = ["cx", "cy", "r", "startAngle", " }; } }; -function U4e(e) { +function K4e(e) { return e.startAngle != null && e.endAngle != null && e.startAngle === e.endAngle; } function HX(e) { @@ -69007,24 +69003,24 @@ function BV(e, t, r, n, i, o, a, s) { var g = e.getTextContent(); if (s && g) { var v = n.get(["label", "position"]); - e.textConfig.inside = v === "middle" ? !0 : null, B4e(e, v === "outside" ? f : v, HX(a), n.get(["label", "rotate"])); + e.textConfig.inside = v === "middle" ? !0 : null, H4e(e, v === "outside" ? f : v, HX(a), n.get(["label", "rotate"])); } cY(g, p, o.getRawValue(r), function(y) { return AX(t, y); }); var m = n.getModel(["emphasis"]); - Pn(e, m.get("focus"), m.get("blurScope"), m.get("disabled")), Pi(e, n), U4e(i) && (e.style.fill = "none", e.style.stroke = "none", z(e.states, function(y) { + Pn(e, m.get("focus"), m.get("blurScope"), m.get("disabled")), Pi(e, n), K4e(i) && (e.style.fill = "none", e.style.stroke = "none", z(e.states, function(y) { y.style && (y.style.fill = y.style.stroke = "none"); })); } -function K4e(e, t) { +function Z4e(e, t) { var r = e.get(["itemStyle", "borderColor"]); if (!r || r === "none") return 0; var n = e.get(["itemStyle", "borderWidth"]) || 0, i = isNaN(t.width) ? Number.MAX_VALUE : Math.abs(t.width), o = isNaN(t.height) ? Number.MAX_VALUE : Math.abs(t.height); return Math.min(n, i, o); } -var Z4e = ( +var Y4e = ( /** @class */ /* @__PURE__ */ function() { function e() { @@ -69040,7 +69036,7 @@ var Z4e = ( return n.type = "largeBar", n; } return t.prototype.getDefaultShape = function() { - return new Z4e(); + return new Y4e(); }, t.prototype.buildPath = function(r, n) { for (var i = n.points, o = this.baseDimIdx, a = 1 - this.baseDimIdx, s = [], l = [], c = this.barWidth, u = 0; u < i.length; u += 3) l[o] = c, l[a] = i[u + 2], s[o] = i[u + o], s[a] = i[u + a], r.rect(s[0], s[1], l[0], l[1]); @@ -69071,10 +69067,10 @@ function zV(e, t, r, n) { d.baseDimIdx = o, d.largeDataIndices = a, d.barWidth = s, t.add(d), d.useStyle(i.getVisual("style")), Nt(d).seriesIndex = e.seriesIndex, e.get("silent") || (d.on("mousedown", GV), d.on("mousemove", GV)), r && r.push(d); } var GV = Z1(function(e) { - var t = this, r = Y4e(t, e.offsetX, e.offsetY); + var t = this, r = q4e(t, e.offsetX, e.offsetY); Nt(t).dataIndex = r >= 0 ? r : null; }, 30, !1); -function Y4e(e, t, r) { +function q4e(e, t, r) { for (var n = e.baseDimIdx, i = 1 - n, o = e.shape.points, a = e.largeDataIndices, s = [], l = [], c = e.barWidth, u = 0, d = o.length / 3; u < d; u++) { var h = u * 3; if (l[n] = c, l[i] = o[h + 2], s[n] = o[h + n], s[i] = o[h + i], l[i] < 0 && (s[i] += l[i], l[i] = -l[i]), t >= s[0] && t <= s[0] + l[0] && r >= s[1] && r <= s[1] + l[1]) @@ -69103,7 +69099,7 @@ function zX(e, t, r) { }; } } -function q4e(e, t, r) { +function X4e(e, t, r) { var n = e.type === "polar" ? ao : vr; return new n({ shape: zX(t, r, e), @@ -69111,8 +69107,8 @@ function q4e(e, t, r) { z2: 0 }); } -function X4e(e) { - e.registerChartView(z4e), e.registerSeriesModel(k4e), e.registerLayout(e.PRIORITY.VISUAL.LAYOUT, Bt(Kq, "bar")), e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT, Zq("bar")), e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC, BX("bar")), e.registerAction({ +function Q4e(e) { + e.registerChartView(G4e), e.registerSeriesModel($4e), e.registerLayout(e.PRIORITY.VISUAL.LAYOUT, Bt(Kq, "bar")), e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT, Zq("bar")), e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC, BX("bar")), e.registerAction({ type: "changeAxisOrder", event: "changeAxisOrder", update: "update" @@ -69149,7 +69145,7 @@ function WX(e, t) { r: c }; } -function Q4e(e, t, r) { +function J4e(e, t, r) { t.eachSeriesByType(e, function(n) { var i = n.getData(), o = i.mapDimension("value"), a = GX(n, r), s = WX(n, r), l = s.cx, c = s.cy, u = s.r, d = s.r0, h = -n.get("startAngle") * _0, f = n.get("endAngle"), p = n.get("padAngle") * _0; f = f === "auto" ? h - WV : -f * _0; @@ -69234,7 +69230,7 @@ function ly(e) { } }; } -var J4e = Math.PI / 180; +var e$e = Math.PI / 180; function jV(e, t, r, n, i, o, a, s, l, c) { if (e.length < 2) return; @@ -69269,7 +69265,7 @@ function jV(e, t, r, n, i, o, a, s, l, c) { } gX(e, l, l + a) && d(e); } -function e$e(e, t, r, n, i, o, a, s) { +function t$e(e, t, r, n, i, o, a, s) { for (var l = [], c = [], u = Number.MAX_VALUE, d = -Number.MAX_VALUE, h = 0; h < e.length; h++) { var f = e[h].label; jE(e[h]) || (f.x < t ? (u = Math.min(u, f.x), l.push(e[h])) : (d = Math.max(d, f.x), c.push(e[h]))); @@ -69319,8 +69315,8 @@ function UX(e, t, r) { function jE(e) { return e.position === "center"; } -function t$e(e) { - var t = e.getData(), r = [], n, i, o = !1, a = (e.get("minShowLabelAngle") || 0) * J4e, s = t.getLayout("viewRect"), l = t.getLayout("r"), c = s.width, u = s.x, d = s.y, h = s.height; +function r$e(e) { + var t = e.getData(), r = [], n, i, o = !1, a = (e.get("minShowLabelAngle") || 0) * e$e, s = t.getLayout("viewRect"), l = t.getLayout("r"), c = s.width, u = s.x, d = s.y, h = s.height; function f(x) { x.ignore = !0; } @@ -69404,7 +69400,7 @@ function t$e(e) { inside: ee }); } - }), !o && e.get("avoidLabelOverlap") && e$e(r, n, i, l, c, h, u, d); + }), !o && e.get("avoidLabelOverlap") && t$e(r, n, i, l, c, h, u, d); for (var g = 0; g < r.length; g++) { var v = r[g], m = v.label, y = v.labelLine, C = isNaN(m.x) || isNaN(m.y); if (m) { @@ -69416,7 +69412,7 @@ function t$e(e) { } if (y) { var w = v.linePoints; - C || !w ? (z(y.states, f), y.ignore = !0) : (hX(w, v.minTurnAngle), Eke(w, v.surfaceNormal, v.maxSurfaceAngle), y.setShape({ + C || !w ? (z(y.states, f), y.ignore = !0) : (hX(w, v.minTurnAngle), Rke(w, v.surfaceNormal, v.maxSurfaceAngle), y.setShape({ points: w }), m.__hostTarget.textGuideLineConfig = { anchor: new Kt(w[0][0], w[0][1]) @@ -69424,7 +69420,7 @@ function t$e(e) { } } } -var r$e = ( +var n$e = ( /** @class */ function(e) { be(t, e); @@ -69518,7 +69514,7 @@ var r$e = ( } }, t; }(ao) -), n$e = ( +), i$e = ( /** @class */ function(e) { be(t, e); @@ -69540,7 +69536,7 @@ var r$e = ( f.useStyle(r.getModel("emptyCircleStyle").getItemStyle()), this._emptyCircleSector = f, l.add(f); } a.diff(s).add(function(p) { - var g = new r$e(a, p, c); + var g = new n$e(a, p, c); a.setItemGraphicEl(p, g), l.add(g); }).update(function(p, g) { var v = s.getItemGraphicEl(g); @@ -69548,7 +69544,7 @@ var r$e = ( }).remove(function(p) { var g = s.getItemGraphicEl(p); Uv(g, r, p); - }).execute(), t$e(r), r.get("animationTypeUpdate") !== "expansion" && (this._data = a); + }).execute(), r$e(r), r.get("animationTypeUpdate") !== "expansion" && (this._data = a); }, t.prototype.dispose = function() { }, t.prototype.containPoint = function(r, n) { var i = n.getData(), o = i.getItemLayout(0); @@ -69588,7 +69584,7 @@ var cy = ( return n.getItemVisual(t, r); }, e; }() -), i$e = Cr(), o$e = ( +), o$e = Cr(), a$e = ( /** @class */ function(e) { be(t, e); @@ -69605,7 +69601,7 @@ var cy = ( encodeDefaulter: Bt(sA, this) }); }, t.prototype.getDataParams = function(r) { - var n = this.getData(), i = i$e(n), o = i.seats; + var n = this.getData(), i = o$e(n), o = i.seats; if (!o) { var a = []; n.each(n.mapDimension("value"), function(l) { @@ -69719,7 +69715,7 @@ var cy = ( }, t; }(Ur) ); -function a$e(e) { +function s$e(e) { return { seriesType: e, reset: function(t, r) { @@ -69731,10 +69727,10 @@ function a$e(e) { } }; } -function s$e(e) { - e.registerChartView(n$e), e.registerSeriesModel(o$e), dq("pie", e.registerAction), e.registerLayout(Bt(Q4e, "pie")), e.registerProcessor(ly("pie")), e.registerProcessor(a$e("pie")); +function l$e(e) { + e.registerChartView(i$e), e.registerSeriesModel(a$e), dq("pie", e.registerAction), e.registerLayout(Bt(J4e, "pie")), e.registerProcessor(ly("pie")), e.registerProcessor(s$e("pie")); } -var l$e = ( +var c$e = ( /** @class */ function(e) { be(t, e); @@ -69788,14 +69784,14 @@ var l$e = ( // progressive: null }, t; }(Ur) -), KX = 4, c$e = ( +), KX = 4, u$e = ( /** @class */ /* @__PURE__ */ function() { function e() { } return e; }() -), u$e = ( +), d$e = ( /** @class */ function(e) { be(t, e); @@ -69804,7 +69800,7 @@ var l$e = ( return n._off = 0, n.hoverDataIdx = -1, n; } return t.prototype.getDefaultShape = function() { - return new c$e(); + return new u$e(); }, t.prototype.reset = function() { this.notClear = !1, this._off = 0; }, t.prototype.buildPath = function(r, n) { @@ -69853,7 +69849,7 @@ var l$e = ( return r; }, t; }(nr) -), d$e = ( +), h$e = ( /** @class */ function() { function e() { @@ -69893,7 +69889,7 @@ var l$e = ( }, e.prototype.eachRendered = function(t) { this._newAdded[0] && t(this._newAdded[0]); }, e.prototype._create = function() { - var t = new u$e({ + var t = new d$e({ cursor: "default" }); return t.ignoreCoarsePointer = !0, this.group.add(t), this._newAdded.push(t), t; @@ -69921,7 +69917,7 @@ var l$e = ( this._newAdded = [], this.group.removeAll(); }, e; }() -), h$e = ( +), f$e = ( /** @class */ function(e) { be(t, e); @@ -69966,13 +69962,13 @@ var l$e = ( } }, t.prototype._updateSymbolDraw = function(r, n) { var i = this._symbolDraw, o = n.pipelineContext, a = o.large; - return (!i || a !== this._isLargeDraw) && (i && i.remove(), i = this._symbolDraw = a ? new d$e() : new oy(), this._isLargeDraw = a, this.group.removeAll()), this.group.add(i.group), i; + return (!i || a !== this._isLargeDraw) && (i && i.remove(), i = this._symbolDraw = a ? new h$e() : new oy(), this._isLargeDraw = a, this.group.removeAll()), this.group.add(i.group), i; }, t.prototype.remove = function(r, n) { this._symbolDraw && this._symbolDraw.remove(!0), this._symbolDraw = null; }, t.prototype.dispose = function() { }, t.type = "scatter", t; }(Vr) -), f$e = ( +), p$e = ( /** @class */ function(e) { be(t, e); @@ -70088,7 +70084,7 @@ var ZX = { color: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"] } } -}, p$e = jt({ +}, g$e = jt({ // The gap at both ends of the axis. For categoryAxis, boolean. boundaryGap: !0, // Set false to faster category collection. @@ -70139,7 +70135,7 @@ var ZX = { width: 1 } } -}, ZX), g$e = jt({ +}, ZX), v$e = jt({ splitNumber: 6, axisLabel: { // To eliminate labels that are not nice @@ -70154,23 +70150,23 @@ var ZX = { splitLine: { show: !1 } -}, zA), v$e = xt({ +}, zA), m$e = xt({ logBase: 10 }, zA); const YX = { - category: p$e, + category: g$e, value: zA, - time: g$e, - log: v$e + time: v$e, + log: m$e }; -var m$e = { +var y$e = { value: 1, category: 1, time: 1, log: 1 }; function zf(e, t, r, n) { - z(m$e, function(i, o) { + z(y$e, function(i, o) { var a = jt(jt({}, YX[o], !0), n, !0), s = ( /** @class */ function(l) { @@ -70200,7 +70196,7 @@ function zf(e, t, r, n) { function UV(e) { return e.type || (e.data ? "category" : "value"); } -var y$e = ( +var C$e = ( /** @class */ function() { function e(t) { @@ -70225,7 +70221,7 @@ var y$e = ( function KV(e) { return e.type === "interval" || e.type === "time"; } -var C$e = ( +var b$e = ( /** @class */ function(e) { be(t, e); @@ -70276,8 +70272,8 @@ var C$e = ( var n = this.getAxis("x").getGlobalExtent(), i = this.getAxis("y").getGlobalExtent(), o = Math.min(n[0], n[1]) - r, a = Math.min(i[0], i[1]) - r, s = Math.max(n[0], n[1]) - o + r, l = Math.max(i[0], i[1]) - a + r; return new Zt(o, a, s, l); }, t; - }(y$e) -), b$e = ( + }(C$e) +), S$e = ( /** @class */ function(e) { be(t, e); @@ -70371,13 +70367,13 @@ function qX(e, t, r) { var C = (i[0].value - o[0].value) / s, S = (i[a].value - o[a].value) / s; if (n.setExtent.call(e, g + p * C, v + p * S), n.setInterval.call(e, p), (C || S) && n.setNiceExtent.call(e, g + p, v - p), process.env.NODE_ENV !== "production") { var w = n.getTicks.call(e); - w[1] && (!vNe(p) || Tb(w[1].value) > Tb(p)) && bn( + w[1] && (!mNe(p) || Tb(w[1].value) > Tb(p)) && bn( // eslint-disable-next-line "The ticks may be not readable when set min: " + t.get("min") + ", max: " + t.get("max") + " and alignTicks: true" ); } } -var S$e = ( +var w$e = ( /** @class */ function() { function e(t, r, n) { @@ -70417,7 +70413,7 @@ var S$e = ( var s = this._axesList; l(), o && (z(s, function(c) { if (!c.model.get(["axisLabel", "inside"])) { - var u = BNe(c); + var u = HNe(c); if (u) { var d = c.isHorizontal() ? "height" : "width", h = c.model.get(["axisLabel", "margin"]); a[d] -= u[d] + h, c.position === "top" ? a.y += u.height + h : c.position === "left" && (a.x += u.width + h); @@ -70429,7 +70425,7 @@ var S$e = ( function l() { z(s, function(c) { var u = c.isHorizontal(), d = u ? [0, a.width] : [0, a.height], h = c.inverse ? 1 : 0; - c.setExtent(d[h], d[1 - h]), w$e(c, u ? a.x : a.y); + c.setExtent(d[h], d[1 - h]), x$e(c, u ? a.x : a.y); }); } }, e.prototype.getAxis = function(t, r) { @@ -70496,7 +70492,7 @@ var S$e = ( } this._axesMap = s, z(s.x, function(u, d) { z(s.y, function(h, f) { - var p = "x" + d + "y" + f, g = new C$e(p); + var p = "x" + d + "y" + f, g = new b$e(p); g.master = i, g.model = t, i._coordsMap[p] = g, i._coordsList.push(g), g.addAxis(u), g.addAxis(h); }); }); @@ -70505,7 +70501,7 @@ var S$e = ( if (KE(d, t)) { var f = d.get("position"); u === "x" ? f !== "top" && f !== "bottom" && (f = a.bottom ? "top" : "bottom") : f !== "left" && f !== "right" && (f = a.left ? "right" : "left"), a[f] = !0; - var p = new b$e(u, ny(d), [0, 0], d.get("type"), f), g = p.type === "category"; + var p = new S$e(u, ny(d), [0, 0], d.get("type"), f), g = p.type === "category"; p.onBand = g && d.get("boundaryGap"), p.inverse = d.get("inverse"), d.axis = p, p.model = d, p.grid = o, p.index = h, o._axesList.push(p), s[u][h] = p, l[u]++; } }; @@ -70584,9 +70580,9 @@ function qV(e, t, r, n) { } } function XV(e) { - return e && e.type !== "category" && e.type !== "time" && VNe(e); + return e && e.type !== "category" && e.type !== "time" && BNe(e); } -function w$e(e, t) { +function x$e(e, t) { var r = e.getExtent(), n = r[0] + r[1]; e.toGlobalCoord = e.dim === "x" ? function(i) { return i + t; @@ -70693,8 +70689,8 @@ var xc = Math.PI, eo = ( } }, axisTickLabel: function(e, t, r, n) { - var i = R$e(r, n, t, e), o = T$e(r, n, t, e); - if (E$e(t, o, i), P$e(r, n, t, e.tickDirection), t.get(["axisLabel", "hideOverlap"])) { + var i = P$e(r, n, t, e), o = _$e(r, n, t, e); + if (R$e(t, o, i), T$e(r, n, t, e.tickDirection), t.get(["axisLabel", "hideOverlap"])) { var a = fX(Fe(o, function(s) { return { label: s, @@ -70722,7 +70718,7 @@ var xc = Math.PI, eo = ( f ?? e.rotation, // Adapt to axis. a - ) : (h = x$e(e.rotation, o, f || 0, c), p = e.axisNameAvailableWidth, p != null && (p = Math.abs(p / Math.sin(h.rotation)), !isFinite(p) && (p = null))); + ) : (h = E$e(e.rotation, o, f || 0, c), p = e.axisNameAvailableWidth, p != null && (p = Math.abs(p / Math.sin(h.rotation)), !isFinite(p) && (p = null))); var g = s.getFont(), v = t.get("nameTruncate", !0) || {}, m = v.ellipsis, y = Bn(e.nameTruncateMaxWidth, v.maxWidth, p), C = new gr({ x: d[0], y: d[1], @@ -70752,7 +70748,7 @@ var xc = Math.PI, eo = ( } } }; -function x$e(e, t, r, n) { +function E$e(e, t, r, n) { var i = AI(r - e), o, a, s = n[0] > n[1], l = t === "start" && !s || t !== "start" && s; return Ff(i - xc / 2) ? (a = l ? "bottom" : "top", o = "center") : Ff(i - xc * 1.5) ? (a = l ? "top" : "bottom", o = "center") : (a = "middle", i < xc * 1.5 && i > xc / 2 ? o = l ? "left" : "right" : o = l ? "right" : "left"), { rotation: i, @@ -70760,7 +70756,7 @@ function x$e(e, t, r, n) { textVerticalAlign: a }; } -function E$e(e, t, r) { +function R$e(e, t, r) { if (!eX(e.axis)) { var n = e.get(["axisLabel", "showMinLabel"]), i = e.get(["axisLabel", "showMaxLabel"]); t = t || [], r = r || []; @@ -70801,7 +70797,7 @@ function XX(e, t, r, n, i) { } return o; } -function R$e(e, t, r, n) { +function P$e(e, t, r, n) { var i = r.axis, o = r.getModel("axisTick"), a = o.get("show"); if (a === "auto" && n.handleAutoShown && (a = n.handleAutoShown("axisTick")), !(!a || i.scale.isBlank())) { for (var s = o.getModel("lineStyle"), l = n.tickDirection * o.get("length"), c = i.getTicksCoords(), u = XX(c, t.transform, l, xt(s.getLineStyle(), { @@ -70811,7 +70807,7 @@ function R$e(e, t, r, n) { return u; } } -function P$e(e, t, r, n) { +function T$e(e, t, r, n) { var i = r.axis, o = r.getModel("minorTick"); if (!(!o.get("show") || i.scale.isBlank())) { var a = i.getMinorTicksCoords(); @@ -70823,7 +70819,7 @@ function P$e(e, t, r, n) { e.add(d[h]); } } -function T$e(e, t, r, n) { +function _$e(e, t, r, n) { var i = r.axis, o = Bn(n.axisLabelShow, r.get(["axisLabel", "show"])); if (!(!o || i.scale.isBlank())) { var a = r.getModel("axisLabel"), s = a.get("margin"), l = i.getViewLabels(), c = (Bn(n.labelRotate, a.get("rotate")) || 0) * xc / 180, u = eo.innerTextLayout(n.rotation, c, n.labelDirection), d = r.getCategories && r.getCategories(!0), h = [], f = eo.isLabelSilent(r), p = r.get("triggerEvent"); @@ -70864,7 +70860,7 @@ function T$e(e, t, r, n) { }), h; } } -function _$e(e, t) { +function M$e(e, t) { var r = { /** * key: makeKey(axis.model) @@ -70889,9 +70885,9 @@ function _$e(e, t) { coordSysAxesInfo: {}, coordSysMap: {} }; - return M$e(r, e, t), r.seriesInvolved && I$e(r, e), r; + return D$e(r, e, t), r.seriesInvolved && A$e(r, e), r; } -function M$e(e, t, r) { +function D$e(e, t, r) { var n = t.getComponent("tooltip"), i = t.getComponent("axisPointer"), o = i.get("link", !0) || [], a = []; z(r.getCoordinateSystems(), function(s) { if (!s.axisPointerEnabled) @@ -70906,7 +70902,7 @@ function M$e(e, t, r) { function g(v, m, y) { var C = y.model.getModel("axisPointer", i), S = C.get("show"); if (!(!S || S === "auto" && !v && !y_(C))) { - m == null && (m = C.get("triggerTooltip")), C = v ? D$e(y, d, i, t, v, m) : C; + m == null && (m = C.get("triggerTooltip")), C = v ? I$e(y, d, i, t, v, m) : C; var w = C.get("snap"), x = C.get("triggerEmphasis"), E = nm(y.model), R = m || w || y.type === "category", P = e.axesInfo[E] = { key: E, axis: y, @@ -70921,7 +70917,7 @@ function M$e(e, t, r) { linkGroup: null }; c[E] = P, e.seriesInvolved = e.seriesInvolved || R; - var T = A$e(o, y); + var T = O$e(o, y); if (T != null) { var _ = a[T] || (a[T] = { axesInfo: {} @@ -70932,7 +70928,7 @@ function M$e(e, t, r) { } }); } -function D$e(e, t, r, n, i, o) { +function I$e(e, t, r, n, i, o) { var a = t.getModel("axisPointer"), s = ["type", "snap", "lineStyle", "shadowStyle", "label", "animation", "animationDurationUpdate", "animationEasingUpdate", "z"], l = {}; z(s, function(h) { l[h] = Mt(a.get(h)); @@ -70947,7 +70943,7 @@ function D$e(e, t, r, n, i, o) { } return e.model.getModel("axisPointer", new Wr(l, r, n)); } -function I$e(e, t) { +function A$e(e, t) { t.eachSeries(function(r) { var n = r.coordinateSystem, i = r.get(["tooltip", "trigger"], !0), o = r.get(["tooltip", "show"], !0); !n || i === "none" || i === !1 || i === "item" || o === !1 || r.get(["axisPointer", "show"], !0) === !1 || z(e.coordSysAxesInfo[nm(n.model)], function(a) { @@ -70956,7 +70952,7 @@ function I$e(e, t) { }); }); } -function A$e(e, t) { +function O$e(e, t) { for (var r = t.model, n = t.dim, i = 0; i < e.length; i++) { var o = e[i] || {}; if (ZE(o[n + "AxisId"], r.id) || ZE(o[n + "AxisIndex"], r.componentIndex) || ZE(o[n + "AxisName"], r.name)) @@ -70966,7 +70962,7 @@ function A$e(e, t) { function ZE(e, t) { return e === "all" || Ae(e) && Yt(e, t) >= 0 || e === t; } -function O$e(e) { +function L$e(e) { var t = GA(e); if (t) { var r = t.axisPointerModel, n = t.axis.scale, i = r.option, o = r.get("status"), a = r.get("value"); @@ -70982,7 +70978,7 @@ function GA(e) { var t = (e.ecModel.getComponent("axisPointer") || {}).coordSysAxesInfo; return t && t.axesInfo[nm(e)]; } -function L$e(e) { +function F$e(e) { var t = GA(e); return t && t.axisPointerModel; } @@ -71001,7 +70997,7 @@ var YE = {}, eh = ( return r.type = t.type, r; } return t.prototype.render = function(r, n, i, o) { - this.axisPointerClass && O$e(r), e.prototype.render.apply(this, arguments), this._doUpdateAxisPointerClass(r, i, !0); + this.axisPointerClass && L$e(r), e.prototype.render.apply(this, arguments), this._doUpdateAxisPointerClass(r, i, !0); }, t.prototype.updateAxisPointer = function(r, n, i, o) { this._doUpdateAxisPointerClass(r, i, !1); }, t.prototype.remove = function(r, n) { @@ -71012,7 +71008,7 @@ var YE = {}, eh = ( }, t.prototype._doUpdateAxisPointerClass = function(r, n, i) { var o = t.getAxisPointerClass(this.axisPointerClass); if (o) { - var a = L$e(r); + var a = F$e(r); a ? (this._axisPointer || (this._axisPointer = new o())).render(r, a, n, i) : this._disposeAxisPointer(n); } }, t.prototype._disposeAxisPointer = function(r) { @@ -71071,7 +71067,7 @@ function QX(e, t, r, n) { function JX(e) { C_(e).splitAreaColors = null; } -var F$e = ["axisLine", "axisTickLabel", "axisName"], N$e = ["splitArea", "splitLine", "minorSplitLine"], eQ = ( +var N$e = ["axisLine", "axisTickLabel", "axisName"], k$e = ["splitArea", "splitLine", "minorSplitLine"], eQ = ( /** @class */ function(e) { be(t, e); @@ -71091,8 +71087,8 @@ var F$e = ["axisLine", "axisTickLabel", "axisName"], N$e = ["splitArea", "splitL return !1; } }, l)); - z(F$e, c.add, c), this._axisGroup.add(c.getGroup()), z(N$e, function(d) { - r.get([d, "show"]) && k$e[d](this, this._axisGroup, r, s); + z(N$e, c.add, c), this._axisGroup.add(c.getGroup()), z(k$e, function(d) { + r.get([d, "show"]) && $$e[d](this, this._axisGroup, r, s); }, this); var u = o && o.type === "changeAxisOrder" && o.isInitSort; u || ey(a, this._axisGroup, r), e.prototype.render.call(this, r, n, i, o); @@ -71101,7 +71097,7 @@ var F$e = ["axisLine", "axisTickLabel", "axisName"], N$e = ["splitArea", "splitL JX(this); }, t.type = "cartesianAxis", t; }(eh) -), k$e = { +), $$e = { splitLine: function(e, t, r, n) { var i = r.axis; if (!i.scale.isBlank()) { @@ -71165,7 +71161,7 @@ var F$e = ["axisLine", "axisTickLabel", "axisName"], N$e = ["splitArea", "splitL } return t.type = "xAxis", t; }(eQ) -), $$e = ( +), V$e = ( /** @class */ function(e) { be(t, e); @@ -71175,7 +71171,7 @@ var F$e = ["axisLine", "axisTickLabel", "axisName"], N$e = ["splitArea", "splitL } return t.type = "yAxis", t; }(eQ) -), V$e = ( +), B$e = ( /** @class */ function(e) { be(t, e); @@ -71200,14 +71196,14 @@ var F$e = ["axisLine", "axisTickLabel", "axisName"], N$e = ["splitArea", "splitL offset: 0 }; function rQ(e) { - e.registerComponentView(V$e), e.registerComponentModel(f$e), e.registerCoordinateSystem("cartesian2d", S$e), zf(e, "x", g_, tB), zf(e, "y", g_, tB), e.registerComponentView(tQ), e.registerComponentView($$e), e.registerPreprocessor(function(t) { + e.registerComponentView(B$e), e.registerComponentModel(p$e), e.registerCoordinateSystem("cartesian2d", w$e), zf(e, "x", g_, tB), zf(e, "y", g_, tB), e.registerComponentView(tQ), e.registerComponentView(V$e), e.registerPreprocessor(function(t) { t.xAxis && t.yAxis && !t.grid && (t.grid = {}); }); } -function B$e(e) { - er(rQ), e.registerSeriesModel(l$e), e.registerChartView(h$e), e.registerLayout(sy("scatter")); -} function H$e(e) { + er(rQ), e.registerSeriesModel(c$e), e.registerChartView(f$e), e.registerLayout(sy("scatter")); +} +function z$e(e) { e.eachSeriesByType("radar", function(t) { var r = t.getData(), n = [], i = t.coordinateSystem; if (i) { @@ -71233,7 +71229,7 @@ function rB(e) { function nB(e) { return [e.cx, e.cy]; } -function z$e(e) { +function G$e(e) { var t = e.polar; if (t) { Ae(t) || (t = [t]); @@ -71246,7 +71242,7 @@ function z$e(e) { n && n.type === "radar" && n.polarIndex && (n.radarIndex = n.polarIndex); }); } -var G$e = ( +var W$e = ( /** @class */ function(e) { be(t, e); @@ -71353,7 +71349,7 @@ var G$e = ( this.group.removeAll(), this._data = null; }, t.type = "radar", t; }(Vr) -), W$e = ( +), j$e = ( /** @class */ function(e) { be(t, e); @@ -71422,7 +71418,7 @@ function M0(e, t) { show: t }, e); } -var j$e = ( +var U$e = ( /** @class */ function(e) { be(t, e); @@ -71495,7 +71491,7 @@ var j$e = ( indicator: [] }, t; }(Qt) -), U$e = ["axisLine", "axisTickLabel", "axisName"], K$e = ( +), K$e = ["axisLine", "axisTickLabel", "axisName"], Z$e = ( /** @class */ function(e) { be(t, e); @@ -71519,7 +71515,7 @@ var j$e = ( return l; }); z(o, function(a) { - z(U$e, a.add, a), this.group.add(a.getGroup()); + z(K$e, a.add, a), this.group.add(a.getGroup()); }, this); }, t.prototype._buildSplitLineAndArea = function(r) { var n = r.coordinateSystem, i = n.getIndicatorAxes(); @@ -71601,7 +71597,7 @@ var j$e = ( }, this); }, t.type = "radar", t; }(sn) -), Z$e = ( +), Y$e = ( /** @class */ function(e) { be(t, e); @@ -71611,12 +71607,12 @@ var j$e = ( } return t; }(La) -), Y$e = ( +), q$e = ( /** @class */ function() { function e(t, r, n) { this.dimensions = [], this._model = t, this._indicatorAxes = Fe(t.getIndicatorModels(), function(i, o) { - var a = "indicator_" + o, s = new Z$e( + var a = "indicator_" + o, s = new Y$e( a, new Ul() // (indicatorModel.get('axisType') === 'log') ? new LogScale() : new IntervalScale() @@ -71682,8 +71678,8 @@ var j$e = ( }, e.dimensions = [], e; }() ); -function q$e(e) { - e.registerCoordinateSystem("radar", Y$e), e.registerComponentModel(j$e), e.registerComponentView(K$e), e.registerVisual({ +function X$e(e) { + e.registerCoordinateSystem("radar", q$e), e.registerComponentModel(U$e), e.registerComponentView(Z$e), e.registerVisual({ seriesType: "radar", reset: function(t) { var r = t.getData(); @@ -71693,15 +71689,15 @@ function q$e(e) { } }); } -function X$e(e) { - er(q$e), e.registerChartView(G$e), e.registerSeriesModel(W$e), e.registerLayout(H$e), e.registerProcessor(ly("radar")), e.registerPreprocessor(z$e); +function Q$e(e) { + er(X$e), e.registerChartView(W$e), e.registerSeriesModel(j$e), e.registerLayout(z$e), e.registerProcessor(ly("radar")), e.registerPreprocessor(G$e); } var iB = "\0_ec_interaction_mutex"; -function Q$e(e, t, r) { +function J$e(e, t, r) { var n = WA(e); n[t] = r; } -function J$e(e, t, r) { +function e8e(e, t, r) { var n = WA(e), i = n[t]; i === r && (n[t] = null); } @@ -71827,14 +71823,14 @@ function UA(e, t, r, n) { var c = a / e.zoom; e.zoom = a, i.x -= (r - i.x) * (c - 1), i.y -= (n - i.y) * (c - 1), i.scaleX *= c, i.scaleY *= c, i.dirty(); } -var e8e = { +var t8e = { axisPointer: 1, tooltip: 1, brush: 1 }; function rw(e, t, r) { var n = t.getComponentByElement(e.topTarget), i = n && n.coordinateSystem; - return n && n !== r && !e8e.hasOwnProperty(n.mainType) && i && i.model !== r; + return n && n !== r && !t8e.hasOwnProperty(n.mainType) && i && i.model !== r; } function iQ(e) { if (Je(e)) { @@ -71868,7 +71864,7 @@ var XE, Jb = { }, aB = ar(Jb), eS = { "alignment-baseline": "textBaseline", "stop-color": "stopColor" -}, sB = ar(eS), t8e = function() { +}, sB = ar(eS), r8e = function() { function e() { this._defs = {}, this._root = null; } @@ -71884,7 +71880,7 @@ var XE, Jb = { isNaN(s) && (s = null), isNaN(l) && (l = null), Mo(n, i, null, !0, !1); for (var c = n.firstChild; c; ) this._parseNode(c, i, o, null, !1, !1), c = c.nextSibling; - i8e(this._defs, this._defsUsePending), this._defsUsePending = []; + o8e(this._defs, this._defsUsePending), this._defsUsePending = []; var u, d; if (a) { var h = nw(a); @@ -71954,7 +71950,7 @@ var XE, Jb = { x: this._textX || 0, y: this._textY || 0 }); - ra(r, n), Mo(t, n, this._defsUsePending, !1, !1), r8e(n, r); + ra(r, n), Mo(t, n, this._defsUsePending, !1, !1), n8e(n, r); var i = n.style, o = i.fontSize; o && o < 9 && (i.fontSize = 9, n.scaleX *= o / 9, n.scaleY *= o / 9); var a = (i.fontSize || i.fontFamily) && [ @@ -72099,7 +72095,7 @@ function dB(e) { } function Mo(e, t, r, n, i) { var o = t, a = o.__inheritedStyle = o.__inheritedStyle || {}, s = {}; - e.nodeType === 1 && (s8e(e, t), oQ(e, a, s), n || l8e(e, a, s)), o.style = o.style || {}, a.fill != null && (o.style.fill = hB(o, "fill", a.fill, r)), a.stroke != null && (o.style.stroke = hB(o, "stroke", a.stroke, r)), z([ + e.nodeType === 1 && (l8e(e, t), oQ(e, a, s), n || c8e(e, a, s)), o.style = o.style || {}, a.fill != null && (o.style.fill = hB(o, "fill", a.fill, r)), a.stroke != null && (o.style.stroke = hB(o, "stroke", a.stroke, r)), z([ "lineWidth", "opacity", "fillOpacity", @@ -72122,7 +72118,7 @@ function Mo(e, t, r, n, i) { return parseFloat(l); })), (a.visibility === "hidden" || a.visibility === "collapse") && (o.invisible = !0), a.display === "none" && (o.ignore = !0); } -function r8e(e, t) { +function n8e(e, t) { var r = t.__selfStyle; if (r) { var n = r.textBaseline, i = n; @@ -72134,9 +72130,9 @@ function r8e(e, t) { a && (a === "middle" && (s = "center"), e.style.textAlign = s); } } -var n8e = /^url\(\s*#(.*?)\)/; +var i8e = /^url\(\s*#(.*?)\)/; function hB(e, t, r, n) { - var i = r && r.match(n8e); + var i = r && r.match(i8e); if (i) { var o = ga(i[1]); n.push([e, t, o]); @@ -72144,23 +72140,23 @@ function hB(e, t, r, n) { } return r === "none" && (r = null), r; } -function i8e(e, t) { +function o8e(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n[0].style[n[1]] = e[n[2]]; } } -var o8e = /-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g; +var a8e = /-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g; function nw(e) { - return e.match(o8e) || []; + return e.match(a8e) || []; } -var a8e = /(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g, QE = Math.PI / 180; -function s8e(e, t) { +var s8e = /(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g, QE = Math.PI / 180; +function l8e(e, t) { var r = e.getAttribute("transform"); if (r) { r = r.replace(/,/g, " "); var n = [], i = null; - r.replace(a8e, function(d, h, f) { + r.replace(s8e, function(d, h, f) { return n.push(h, f), ""; }); for (var o = n.length - 1; o > 0; o -= 2) { @@ -72207,7 +72203,7 @@ function oQ(e, t, r) { } } } -function l8e(e, t, r) { +function c8e(e, t, r) { for (var n = 0; n < aB.length; n++) { var i = aB[n], o = e.getAttribute(i); o != null && (t[Jb[i]] = o); @@ -72225,11 +72221,11 @@ function aQ(e, t) { y: -(e.y + e.height / 2) * i + (t.y + t.height / 2) }; } -function c8e(e, t) { - var r = new t8e(); +function u8e(e, t) { + var r = new r8e(); return r.parse(e, t); } -var u8e = pt([ +var d8e = pt([ "rect", "circle", "line", @@ -72246,7 +72242,7 @@ var u8e = pt([ // expected. So we can put them into a . Thereby only one label // displayed and located based on the bounding rect of the . "g" -]), d8e = ( +]), h8e = ( /** @class */ function() { function e(t, r) { @@ -72256,7 +72252,7 @@ var u8e = pt([ var t = this._firstGraphic; if (!t) { t = this._firstGraphic = this._buildGraphic(this._parsedXML), this._freedGraphics.push(t), this._boundingRect = this._firstGraphic.boundingRect.clone(); - var r = f8e(t.named), n = r.regions, i = r.regionsMap; + var r = p8e(t.named), n = r.regions, i = r.regionsMap; this._regions = n, this._regionsMap = i; } return { @@ -72267,7 +72263,7 @@ var u8e = pt([ }, e.prototype._buildGraphic = function(t) { var r, n; try { - r = t && c8e(t, { + r = t && u8e(t, { ignoreViewBox: !0, ignoreRootClip: !0 }) || {}, n = r.root, Et(n != null); @@ -72295,7 +72291,7 @@ var u8e = pt([ })); var g = []; return z(r.named, function(v) { - u8e.get(v.svgNodeTagLower) != null && (g.push(v), h8e(v.el)); + d8e.get(v.svgNodeTagLower) != null && (g.push(v), f8e(v.el)); }), { root: i, boundingRect: l, @@ -72310,16 +72306,16 @@ var u8e = pt([ }, e; }() ); -function h8e(e) { +function f8e(e) { e.silent = !1, e.isGroup && e.traverse(function(t) { t.silent = !1; }); } -function f8e(e) { +function p8e(e) { var t = [], r = pt(); return z(e, function(n) { if (n.namedFrom == null) { - var i = new QNe(n.name, n.el); + var i = new JNe(n.name, n.el); t.push(i), r.set(n.name, i); } }), { @@ -72331,7 +72327,7 @@ var b_ = [126, 25], pB = "南海诸岛", Fu = [[[0, 3.5], [7, 11.2], [15, 11.9], for (var Iu = 0; Iu < Fu.length; Iu++) for (var Ih = 0; Ih < Fu[Iu].length; Ih++) Fu[Iu][Ih][0] /= 10.5, Fu[Iu][Ih][1] /= -10.5 / 0.75, Fu[Iu][Ih][0] += b_[0], Fu[Iu][Ih][1] += b_[1]; -function p8e(e, t) { +function g8e(e, t) { if (e === "china") { for (var r = 0; r < t.length; r++) if (t[r].name === pB) @@ -72344,7 +72340,7 @@ function p8e(e, t) { }), b_)); } } -var g8e = { +var v8e = { 南海诸岛: [32, 80], // 全国 广东: [0, -10], @@ -72353,36 +72349,36 @@ var g8e = { // '北京': [-10, 0], 天津: [5, 5] }; -function v8e(e, t) { +function m8e(e, t) { if (e === "china") { - var r = g8e[t.name]; + var r = v8e[t.name]; if (r) { var n = t.getCenter(); n[0] += r[0] / 10.5, n[1] += -r[1] / (10.5 / 0.75), t.setCenter(n); } } } -var m8e = [[[123.45165252685547, 25.73527164402261], [123.49731445312499, 25.73527164402261], [123.49731445312499, 25.750734064600884], [123.45165252685547, 25.750734064600884], [123.45165252685547, 25.73527164402261]]]; -function y8e(e, t) { +var y8e = [[[123.45165252685547, 25.73527164402261], [123.49731445312499, 25.73527164402261], [123.49731445312499, 25.750734064600884], [123.45165252685547, 25.750734064600884], [123.45165252685547, 25.73527164402261]]]; +function C8e(e, t) { e === "china" && t.name === "台湾" && t.geometries.push({ type: "polygon", - exterior: m8e[0] + exterior: y8e[0] }); } -var C8e = "name", b8e = ( +var b8e = "name", S8e = ( /** @class */ function() { function e(t, r, n) { - this.type = "geoJSON", this._parsedMap = pt(), this._mapName = t, this._specialAreas = n, this._geoJSON = w8e(r); + this.type = "geoJSON", this._parsedMap = pt(), this._mapName = t, this._specialAreas = n, this._geoJSON = x8e(r); } return e.prototype.load = function(t, r) { - r = r || C8e; + r = r || b8e; var n = this._parsedMap.get(r); if (!n) { var i = this._parseToRegions(r); n = this._parsedMap.set(r, { regions: i, - boundingRect: S8e(i) + boundingRect: w8e(i) }); } var o = pt(), a = []; @@ -72402,9 +72398,9 @@ var C8e = "name", b8e = ( throw new Error(`Invalid geoJson format ` + o.message); } - return p8e(r, i), z(i, function(o) { + return g8e(r, i), z(i, function(o) { var a = o.name; - v8e(r, o), y8e(r, o); + m8e(r, o), C8e(r, o); var s = this._specialAreas && this._specialAreas[a]; s && o.transformTo(s.left, s.top, s.width, s.height); }, this), i; @@ -72420,14 +72416,14 @@ var C8e = "name", b8e = ( }, e; }() ); -function S8e(e) { +function w8e(e) { for (var t, r = 0; r < e.length; r++) { var n = e[r].getBoundingRect(); t = t || n.clone(), t.union(n); } return t; } -function w8e(e) { +function x8e(e) { return Je(e) ? typeof JSON < "u" && JSON.parse ? JSON.parse(e) : new Function("return (" + e + ");")() : e; } var lg = pt(); @@ -72464,12 +72460,12 @@ const Kl = { */ registerMap: function(e, t, r) { if (t.svg) { - var n = new d8e(e, t.svg); + var n = new h8e(e, t.svg); lg.set(e, n); } else { var i = t.geoJson || t.geoJSON; i && !t.features ? r = t.specialAreas : i = t; - var n = new b8e(e, i, r); + var n = new S8e(e, i, r); lg.set(e, n); } }, @@ -72493,7 +72489,7 @@ const Kl = { return n.load(t, r); } }; -var KA = ["rect", "circle", "line", "ellipse", "polygon", "polyline", "path"], x8e = pt(KA), E8e = pt(KA.concat(["g"])), R8e = pt(KA.concat(["g"])), sQ = Cr(); +var KA = ["rect", "circle", "line", "ellipse", "polygon", "polyline", "path"], E8e = pt(KA), R8e = pt(KA.concat(["g"])), P8e = pt(KA.concat(["g"])), sQ = Cr(); function D0(e) { var t = e.getItemStyle(), r = e.get("areaColor"); return r != null && (t.fill = r), t; @@ -72594,7 +72590,7 @@ var lQ = ( var i = this._svgDispatcherMap = pt(), o = !1; z(this._svgGraphicRecord.named, function(a) { var s = a.name, l = t.mapOrGeoModel, c = t.data, u = a.svgNodeTagLower, d = a.el, h = c ? c.indexOfName(s) : null, f = l.getRegionModel(s); - if (x8e.get(u) != null && d instanceof Ta && vB(t, d, h, f), d instanceof Ta && (d.culling = !0), d.z2EmphasisLift = 0, !a.namedFrom && (R8e.get(u) != null && mB(t, d, s, f, l, h, null), yB(t, d, s, f, l, h), CB(t, d, s, f, l), E8e.get(u) != null)) { + if (E8e.get(u) != null && d instanceof Ta && vB(t, d, h, f), d instanceof Ta && (d.culling = !0), d.z2EmphasisLift = 0, !a.namedFrom && (P8e.get(u) != null && mB(t, d, s, f, l, h, null), yB(t, d, s, f, l, h), CB(t, d, s, f, l), R8e.get(u) != null)) { var p = bB(t, d, s, f, l); p === "self" && (o = !0); var g = i.get(s) || i.set(s, []); @@ -72741,7 +72737,7 @@ function CB(e, t, r, n, i) { function bB(e, t, r, n, i) { t.highDownSilentOnTouch = !!i.get("selectedMode"); var o = n.getModel("emphasis"), a = o.get("focus"); - return Pn(t, a, o.get("blurScope"), o.get("disabled")), e.isGeo && JIe(t, i, r), a; + return Pn(t, a, o.get("blurScope"), o.get("disabled")), e.isGeo && eAe(t, i, r), a; } function SB(e, t, r) { var n = [], i; @@ -72769,7 +72765,7 @@ function SB(e, t, r) { s.lineEnd(); }), !r && s.polygonEnd(), n; } -var P8e = ( +var T8e = ( /** @class */ function(e) { be(t, e); @@ -72842,7 +72838,7 @@ var P8e = ( }); }, t.type = "map", t; }(Vr) -), T8e = ( +), _8e = ( /** @class */ function(e) { be(t, e); @@ -72972,7 +72968,7 @@ var P8e = ( }, t; }(Ur) ); -function _8e(e, t) { +function M8e(e, t) { var r = {}; return z(e, function(n) { n.each(n.mapDimension("value"), function(i, o) { @@ -72986,13 +72982,13 @@ function _8e(e, t) { return t === "min" ? d = s : t === "max" ? d = l : t === "average" ? d = a / c : d = a, c === 0 ? NaN : d; }); } -function M8e(e) { +function D8e(e) { var t = {}; e.eachSeriesByType("map", function(r) { var n = r.getHostGeoModel(), i = n ? "o" + n.id : "i" + r.getMapType(); (t[i] = t[i] || []).push(r); }), z(t, function(r, n) { - for (var i = _8e(Fe(r, function(a) { + for (var i = M8e(Fe(r, function(a) { return a.getData(); }), r[0].get("mapValueCalculation")), o = 0; o < r.length; o++) r[o].originalData = r[o].getData(); @@ -73000,7 +72996,7 @@ function M8e(e) { r[o].seriesGroup = r, r[o].needsDrawMap = o === 0 && !r[o].getHostGeoModel(), r[o].setData(i.cloneShallow()), r[o].mainSeries = r[0]; }); } -function D8e(e) { +function I8e(e) { var t = {}; e.eachSeriesByType("map", function(r) { var n = r.getMapType(); @@ -73109,7 +73105,7 @@ function xB(e) { var t = e.seriesModel; return t ? t.coordinateSystem : null; } -var I8e = { +var A8e = { geoJSON: { aspectScale: 0.75, invertLongitute: !0 @@ -73125,7 +73121,7 @@ var I8e = { function t(r, n, i) { var o = e.call(this, r) || this; o.dimensions = cQ, o.type = "geo", o._nameCoordMap = pt(), o.map = n; - var a = i.projection, s = Kl.load(n, i.nameMap, i.nameProperty), l = Kl.getGeoResource(n), c = o.resourceType = l ? l.type : null, u = o.regions = s.regions, d = I8e[l.type]; + var a = i.projection, s = Kl.load(n, i.nameMap, i.nameProperty), l = Kl.getGeoResource(n), c = o.resourceType = l ? l.type : null, u = o.regions = s.regions, d = A8e[l.type]; o._regionsMap = s.regionsMap, o.regions = s.regions, process.env.NODE_ENV !== "production" && a && (c === "geoSVG" && (process.env.NODE_ENV !== "production" && bn("Map " + n + " with SVG source can't use projection. Only GeoJSON source supports projection."), a = null), a.project && a.unproject || (process.env.NODE_ENV !== "production" && bn("project and unproject must be both provided in the projeciton."), a = null)), o.projection = a; var h; if (a) @@ -73220,12 +73216,12 @@ function PB(e, t) { } this.setViewRect(S.x, S.y, S.width, S.height), this.setCenter(e.get("center"), t), this.setZoom(e.get("zoom")); } -function A8e(e, t) { +function O8e(e, t) { z(t.get("geoCoord"), function(r, n) { e.addGeoCoord(n, r); }); } -var O8e = ( +var L8e = ( /** @class */ function() { function e() { @@ -73267,7 +73263,7 @@ var O8e = ( c.zoomLimit = Bn.apply(null, Fe(a, function(u) { return u.get("scaleLimit"); })), n.push(c), c.resize = PB, c.resize(a[0], r), z(a, function(u) { - u.coordinateSystem = c, A8e(c, u); + u.coordinateSystem = c, O8e(c, u); }); }), n; }, e.prototype.getFilledRegions = function(t, r, n, i) { @@ -73282,7 +73278,7 @@ var O8e = ( }), o; }, e; }() -), dQ = new O8e(), L8e = ( +), dQ = new L8e(), F8e = ( /** @class */ function(e) { be(t, e); @@ -73416,7 +73412,7 @@ function ZA(e, t, r, n) { zoom: e.getZoom() }; } -var F8e = ( +var N8e = ( /** @class */ function(e) { be(t, e); @@ -73457,11 +73453,11 @@ var F8e = ( }, t.type = "geo", t; }(sn) ); -function N8e(e, t, r) { +function k8e(e, t, r) { Kl.registerMap(e, t, r); } function hQ(e) { - e.registerCoordinateSystem("geo", dQ), e.registerComponentModel(L8e), e.registerComponentView(F8e), e.registerImpl("registerMap", N8e), e.registerImpl("getMap", function(r) { + e.registerCoordinateSystem("geo", dQ), e.registerComponentModel(F8e), e.registerComponentView(N8e), e.registerImpl("registerMap", k8e), e.registerImpl("getMap", function(r) { return Kl.getMapForUser(r); }); function t(r, n) { @@ -73520,10 +73516,10 @@ function hQ(e) { }); }); } -function k8e(e) { - er(hQ), e.registerChartView(P8e), e.registerSeriesModel(T8e), e.registerLayout(D8e), e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC, M8e), dq("map", e.registerAction); -} function $8e(e) { + er(hQ), e.registerChartView(T8e), e.registerSeriesModel(_8e), e.registerLayout(I8e), e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC, D8e), dq("map", e.registerAction); +} +function V8e(e) { var t = e; t.hierNode = { defaultAncestor: null, @@ -73551,23 +73547,23 @@ function $8e(e) { }, r.push(s); } } -function V8e(e, t) { +function B8e(e, t) { var r = e.isExpand ? e.children : [], n = e.parentNode.children, i = e.hierNode.i ? n[e.hierNode.i - 1] : null; if (r.length) { - z8e(e); + G8e(e); var o = (r[0].hierNode.prelim + r[r.length - 1].hierNode.prelim) / 2; i ? (e.hierNode.prelim = i.hierNode.prelim + t(e, i), e.hierNode.modifier = e.hierNode.prelim - o) : e.hierNode.prelim = o; } else i && (e.hierNode.prelim = i.hierNode.prelim + t(e, i)); - e.parentNode.hierNode.defaultAncestor = G8e(e, i, e.parentNode.hierNode.defaultAncestor || n[0], t); + e.parentNode.hierNode.defaultAncestor = W8e(e, i, e.parentNode.hierNode.defaultAncestor || n[0], t); } -function B8e(e) { +function H8e(e) { var t = e.hierNode.prelim + e.parentNode.hierNode.modifier; e.setLayout({ x: t }, !0), e.hierNode.modifier += e.parentNode.hierNode.modifier; } function _B(e) { - return arguments.length ? e : U8e; + return arguments.length ? e : K8e; } function Ig(e, t) { return e -= Math.PI / 2, { @@ -73575,24 +73571,24 @@ function Ig(e, t) { y: t * Math.sin(e) }; } -function H8e(e, t) { +function z8e(e, t) { return Kn(e.getBoxLayoutParams(), { width: t.getWidth(), height: t.getHeight() }); } -function z8e(e) { +function G8e(e) { for (var t = e.children, r = t.length, n = 0, i = 0; --r >= 0; ) { var o = t[r]; o.hierNode.prelim += n, o.hierNode.modifier += n, i += o.hierNode.change, n += o.hierNode.shift + i; } } -function G8e(e, t, r, n) { +function W8e(e, t, r, n) { if (t) { for (var i = e, o = e, a = o.parentNode.children[0], s = t, l = i.hierNode.modifier, c = o.hierNode.modifier, u = a.hierNode.modifier, d = s.hierNode.modifier; s = JE(s), o = eR(o), s && o; ) { i = JE(i), a = eR(a), i.hierNode.ancestor = e; var h = s.hierNode.prelim + d - o.hierNode.prelim - c + n(s, o); - h > 0 && (j8e(W8e(s, e, r), e, h), c += h, l += h), d += s.hierNode.modifier, c += o.hierNode.modifier, l += i.hierNode.modifier, u += a.hierNode.modifier; + h > 0 && (U8e(j8e(s, e, r), e, h), c += h, l += h), d += s.hierNode.modifier, c += o.hierNode.modifier, l += i.hierNode.modifier, u += a.hierNode.modifier; } s && !JE(i) && (i.hierNode.thread = s, i.hierNode.modifier += d - l), o && !eR(a) && (a.hierNode.thread = o, a.hierNode.modifier += c - u, r = e); } @@ -73606,17 +73602,17 @@ function eR(e) { var t = e.children; return t.length && e.isExpand ? t[0] : e.hierNode.thread; } -function W8e(e, t, r) { +function j8e(e, t, r) { return e.hierNode.ancestor.parentNode === t.parentNode ? e.hierNode.ancestor : r; } -function j8e(e, t, r) { +function U8e(e, t, r) { var n = r / (t.hierNode.i - e.hierNode.i); t.hierNode.change -= n, t.hierNode.shift += r, t.hierNode.modifier += r, t.hierNode.prelim += r, e.hierNode.change += n; } -function U8e(e, t) { +function K8e(e, t) { return e.parentNode === t.parentNode ? 1 : 2; } -var K8e = ( +var Z8e = ( /** @class */ /* @__PURE__ */ function() { function e() { @@ -73624,7 +73620,7 @@ var K8e = ( } return e; }() -), Z8e = ( +), Y8e = ( /** @class */ function(e) { be(t, e); @@ -73637,7 +73633,7 @@ var K8e = ( fill: null }; }, t.prototype.getDefaultShape = function() { - return new K8e(); + return new Z8e(); }, t.prototype.buildPath = function(r, n) { var i = n.childPoints, o = i.length, a = n.parentPoint, s = i[0], l = i[o - 1]; if (o === 1) { @@ -73652,7 +73648,7 @@ var K8e = ( } }, t; }(nr) -), Y8e = ( +), q8e = ( /** @class */ function(e) { be(t, e); @@ -73785,14 +73781,14 @@ function DB(e, t, r, n, i) { }), _.setStyle("verticalAlign", "middle")); } var D = s.get(["emphasis", "focus"]), A = D === "relative" ? $v(a.getAncestorsIndices(), a.getDescendantIndices()) : D === "ancestor" ? a.getAncestorsIndices() : D === "descendant" ? a.getDescendantIndices() : null; - A && (Nt(r).focus = A), q8e(i, a, u, r, p, f, g, n), r.__edge && (r.onHoverStateChange = function(M) { + A && (Nt(r).focus = A), X8e(i, a, u, r, p, f, g, n), r.__edge && (r.onHoverStateChange = function(M) { if (M !== "blur") { var O = a.parentNode && e.getItemGraphicEl(a.parentNode.dataIndex); O && O.hoverState === qm || Mb(r.__edge, M); } }); } -function q8e(e, t, r, n, i, o, a, s) { +function X8e(e, t, r, n, i, o, a, s) { var l = t.getModel(), c = e.get("edgeShape"), u = e.get("layout"), d = e.getOrient(), h = e.get(["lineStyle", "curveness"]), f = e.get("edgeForkPosition"), p = l.getModel("lineStyle").getLineStyle(), g = n.__edge; if (c === "curve") t.parentNode && t.parentNode !== r && (g || (g = n.__edge = new Qm({ @@ -73807,7 +73803,7 @@ function q8e(e, t, r, n, i, o, a, s) { var C = v[y].getLayout(); m.push([C.x, C.y]); } - g || (g = n.__edge = new Z8e({ + g || (g = n.__edge = new Y8e({ shape: { parentPoint: [a.x, a.y], childPoints: [[a.x, a.y]], @@ -73924,33 +73920,33 @@ function pQ(e) { main: "data" }), e.datas = e.mainData = null, gQ(t, r, e), z(r, function(n) { z(t.TRANSFERABLE_METHODS, function(i) { - n.wrapMethod(i, Bt(X8e, e)); + n.wrapMethod(i, Bt(Q8e, e)); }); - }), t.wrapMethod("cloneShallow", Bt(J8e, e)), z(t.CHANGABLE_METHODS, function(n) { - t.wrapMethod(n, Bt(Q8e, e)); + }), t.wrapMethod("cloneShallow", Bt(e6e, e)), z(t.CHANGABLE_METHODS, function(n) { + t.wrapMethod(n, Bt(J8e, e)); }), Et(r[t.dataType] === t); } -function X8e(e, t) { - if (r6e(this)) { +function Q8e(e, t) { + if (n6e(this)) { var r = Pe({}, Ca(this).datas); r[this.dataType] = t, gQ(t, r, e); } else YA(t, this.dataType, Ca(this).mainData, e); return t; } -function Q8e(e, t) { +function J8e(e, t) { return e.struct && e.struct.update(), t; } -function J8e(e, t) { +function e6e(e, t) { return z(Ca(t).datas, function(r, n) { r !== t && YA(r.cloneShallow(), n, t, e); }), t; } -function e6e(e) { +function t6e(e) { var t = Ca(this).mainData; return e == null || t == null ? t : Ca(t).datas[e]; } -function t6e() { +function r6e() { var e = Ca(this).mainData; return e == null ? [{ data: e @@ -73961,7 +73957,7 @@ function t6e() { }; }); } -function r6e(e) { +function n6e(e) { return Ca(e).mainData === e; } function gQ(e, t, r) { @@ -73970,9 +73966,9 @@ function gQ(e, t, r) { }); } function YA(e, t, r, n) { - Ca(r).datas[t] = e, Ca(e).mainData = r, e.dataType = t, n.struct && (e[n.structAttr] = n.struct, n.struct[n.datasAttr[t]] = e), e.getLinkedData = e6e, e.getLinkedDataAll = t6e; + Ca(r).datas[t] = e, Ca(e).mainData = r, e.dataType = t, n.struct && (e[n.structAttr] = n.struct, n.struct[n.datasAttr[t]] = e), e.getLinkedData = t6e, e.getLinkedDataAll = r6e; } -var n6e = ( +var i6e = ( /** @class */ function() { function e(t, r) { @@ -74093,8 +74089,8 @@ var n6e = ( function s(u, d) { var h = u.value; a = Math.max(a, Ae(h) ? h.length : 1), o.push(u); - var f = new n6e(Xn(u.name, ""), i); - d ? i6e(f, d) : i.root = f, i._nodes.push(f); + var f = new i6e(Xn(u.name, ""), i); + d ? o6e(f, d) : i.root = f, i._nodes.push(f); var p = u.children; if (p) for (var g = 0; g < p.length; g++) @@ -74113,7 +74109,7 @@ var n6e = ( }, e; }() ); -function i6e(e, t) { +function o6e(e, t) { var r = t.children; e.parentNode !== t && (r.push(e), e.parentNode = t); } @@ -74151,7 +74147,7 @@ function iw(e, t) { } return r.reverse(), r; } -var o6e = ( +var a6e = ( /** @class */ function(e) { be(t, e); @@ -74242,7 +74238,7 @@ var o6e = ( }, t; }(Ur) ); -function a6e(e, t, r) { +function s6e(e, t, r) { for (var n = [e], i = [], o; o = n.pop(); ) if (i.push(o), o.isExpand) { var a = o.children; @@ -74262,13 +74258,13 @@ function cg(e, t) { r.push(i[o]); } } -function s6e(e, t) { +function l6e(e, t) { e.eachSeriesByType("tree", function(r) { - l6e(r, t); + c6e(r, t); }); } -function l6e(e, t) { - var r = H8e(e, t); +function c6e(e, t) { + var r = z8e(e, t); e.layoutInfo = r; var n = e.get("layout"), i = 0, o = 0, a = null; n === "radial" ? (i = 2 * Math.PI, o = Math.min(r.height, r.width) / 2, a = _B(function(C, S) { @@ -74276,7 +74272,7 @@ function l6e(e, t) { })) : (i = r.width, o = r.height, a = _B()); var s = e.getData().tree.root, l = s.children[0]; if (l) { - $8e(s), a6e(l, V8e, a), s.hierNode.modifier = -l.hierNode.prelim, cg(l, B8e); + V8e(s), s6e(l, B8e, a), s.hierNode.modifier = -l.hierNode.prelim, cg(l, H8e); var c = l, u = l, d = l; cg(l, function(C) { var S = C.getLayout().x; @@ -74310,7 +74306,7 @@ function l6e(e, t) { } } } -function c6e(e) { +function u6e(e) { e.eachSeriesByType("tree", function(t) { var r = t.getData(), n = r.tree; n.eachNode(function(i) { @@ -74319,7 +74315,7 @@ function c6e(e) { }); }); } -function u6e(e) { +function d6e(e) { e.registerAction({ type: "treeExpandAndCollapse", event: "treeExpandAndCollapse", @@ -74352,11 +74348,11 @@ function u6e(e) { }); }); } -function d6e(e) { - e.registerChartView(Y8e), e.registerSeriesModel(o6e), e.registerLayout(s6e), e.registerVisual(c6e), u6e(e); +function h6e(e) { + e.registerChartView(q8e), e.registerSeriesModel(a6e), e.registerLayout(l6e), e.registerVisual(u6e), d6e(e); } var OB = ["treemapZoomToNode", "treemapRender", "treemapMove"]; -function h6e(e) { +function f6e(e) { for (var t = 0; t < OB.length; t++) e.registerAction({ type: OB[t], @@ -74389,7 +74385,7 @@ function mQ(e) { i.setVisual("decal", a); }); } -var f6e = ( +var p6e = ( /** @class */ function(e) { be(t, e); @@ -74406,7 +74402,7 @@ var f6e = ( var o = r.levels || [], a = this.designatedVisualItemStyle = {}, s = new Wr({ itemStyle: a }, this, n); - o = r.levels = p6e(o, n); + o = r.levels = g6e(o, n); var l = Fe(o || [], function(d) { return new Wr(d, s, n); }, this), c = qA.createTree(i, this, u); @@ -74567,7 +74563,7 @@ function yQ(e) { var r = e.value; Ae(r) && (r = r[0]), (r == null || isNaN(r)) && (r = t), r < 0 && (r = 0), Ae(e.value) ? e.value[0] = r : e.value = r; } -function p6e(e, t) { +function g6e(e, t) { var r = jr(t.get("color")), n = jr(t.get(["aria", "decal", "decals"])); if (r) { e = e || []; @@ -74580,7 +74576,7 @@ function p6e(e, t) { return i || (a.color = r.slice()), !o && n && (a.decal = n.slice()), e; } } -var g6e = 8, LB = 8, tR = 5, v6e = ( +var v6e = 8, LB = 8, tR = 5, m6e = ( /** @class */ function() { function e(t) { @@ -74608,7 +74604,7 @@ var g6e = 8, LB = 8, tR = 5, v6e = ( } }, e.prototype._prepare = function(t, r, n) { for (var i = t; i; i = i.parentNode) { - var o = Xn(i.getModel().get("name"), ""), a = n.getTextRect(o), s = Math.max(a.width + g6e * 2, r.emptyItemWidth); + var o = Xn(i.getModel().get("name"), ""), a = n.getTextRect(o), s = Math.max(a.width + v6e * 2, r.emptyItemWidth); r.totalWidth += s + LB, r.renderList.push({ node: i, text: o, @@ -74616,12 +74612,12 @@ var g6e = 8, LB = 8, tR = 5, v6e = ( }); } }, e.prototype._renderContent = function(t, r, n, i, o, a, s) { - for (var l = 0, c = r.emptyItemWidth, u = t.get(["breadcrumb", "height"]), d = iOe(r.pos, r.box), h = r.totalWidth, f = r.renderList, p = i.getModel("itemStyle").getItemStyle(), g = f.length - 1; g >= 0; g--) { + for (var l = 0, c = r.emptyItemWidth, u = t.get(["breadcrumb", "height"]), d = oOe(r.pos, r.box), h = r.totalWidth, f = r.renderList, p = i.getModel("itemStyle").getItemStyle(), g = f.length - 1; g >= 0; g--) { var v = f[g], m = v.node, y = v.width, C = v.text; h > d.width && (h -= y - c, y = c, C = null); var S = new so({ shape: { - points: m6e(l, 0, y, u, g === f.length - 1, g === 0) + points: y6e(l, 0, y, u, g === f.length - 1, g === 0) }, style: xt(n.getItemStyle(), { lineJoin: "bevel" @@ -74639,18 +74635,18 @@ var g6e = 8, LB = 8, tR = 5, v6e = ( }); S.disableLabelAnimation = !0, S.getTextContent().ensureState("emphasis").style = rn(a, { text: C - }), S.ensureState("emphasis").style = p, Pn(S, i.get("focus"), i.get("blurScope"), i.get("disabled")), this.group.add(S), y6e(S, t, m), l += y + LB; + }), S.ensureState("emphasis").style = p, Pn(S, i.get("focus"), i.get("blurScope"), i.get("disabled")), this.group.add(S), C6e(S, t, m), l += y + LB; } }, e.prototype.remove = function() { this.group.removeAll(); }, e; }() ); -function m6e(e, t, r, n, i, o) { +function y6e(e, t, r, n, i, o) { var a = [[i ? e : e - tR, t], [e + r, t], [e + r, t + n], [i ? e : e - tR, t + n]]; return !o && a.splice(2, 0, [e + r + tR, t + n / 2]), !i && a.push([e, t + n / 2]), a; } -function y6e(e, t, r) { +function C6e(e, t, r) { Nt(e).eventData = { componentType: "series", componentSubType: "treemap", @@ -74666,7 +74662,7 @@ function y6e(e, t, r) { treePathInfo: r && iw(r, t) }; } -var C6e = ( +var b6e = ( /** @class */ function() { function e() { @@ -74700,10 +74696,10 @@ var C6e = ( }, e; }() ); -function b6e() { - return new C6e(); +function S6e() { + return new b6e(); } -var w_ = Lt, FB = vr, NB = 3, kB = "label", $B = "upperLabel", S6e = dp * 10, w6e = dp * 2, x6e = dp * 3, Nu = Ad([ +var w_ = Lt, FB = vr, NB = 3, kB = "label", $B = "upperLabel", w6e = dp * 10, x6e = dp * 2, E6e = dp * 3, Nu = Ad([ ["fill", "color"], // `borderColor` and `borderWidth` has been occupied, // so use `stroke` to indicate the stroke of the rect. @@ -74718,7 +74714,7 @@ var w_ = Lt, FB = vr, NB = 3, kB = "label", $B = "upperLabel", S6e = dp * 10, w6 ]), VB = function(e) { var t = Nu(e); return t.stroke = t.fill = t.lineWidth = null, t; -}, tS = Cr(), E6e = ( +}, tS = Cr(), R6e = ( /** @class */ function(e) { be(t, e); @@ -74746,7 +74742,7 @@ var w_ = Lt, FB = vr, NB = 3, kB = "label", $B = "upperLabel", S6e = dp * 10, w6 }, t.prototype._doRender = function(r, n, i) { var o = n.getData().tree, a = this._oldTree, s = ug(), l = ug(), c = this._storage, u = []; function d(y, C, S, w) { - return R6e(n, l, c, i, s, u, y, C, S, w); + return P6e(n, l, c, i, s, u, y, C, S, w); } g(o.root ? [o.root] : [], a && a.root ? [a.root] : [], r, o === a || !a, 0); var h = v(c); @@ -74790,7 +74786,7 @@ var w_ = Lt, FB = vr, NB = 3, kB = "label", $B = "upperLabel", S6e = dp * 10, w6 }); } }, t.prototype._doAnimation = function(r, n, i, o) { - var a = i.get("animationDurationUpdate"), s = i.get("animationEasing"), l = (gt(a) ? 0 : a) || 0, c = (gt(s) ? null : s) || "cubicOut", u = b6e(); + var a = i.get("animationDurationUpdate"), s = i.get("animationEasing"), l = (gt(a) ? 0 : a) || 0, c = (gt(s) ? null : s) || "cubicOut", u = S6e(); z(n.willDeleteEls, function(d, h) { z(d, function(f, p) { if (!f.invisible) { @@ -74938,7 +74934,7 @@ var w_ = Lt, FB = vr, NB = 3, kB = "label", $B = "upperLabel", S6e = dp * 10, w6 node: r.getViewRoot() } : this.findTarget(n.getWidth() / 2, n.getHeight() / 2), i || (i = { node: r.getData().tree.root - })), (this._breadcrumb || (this._breadcrumb = new v6e(this.group))).render(r, n, i.node, function(a) { + })), (this._breadcrumb || (this._breadcrumb = new m6e(this.group))).render(r, n, i.node, function(a) { o._state !== "animating" && (XA(r.getViewRoot(), a) ? o._rootToNode({ node: a }) : o._zoomToNode({ @@ -74992,7 +74988,7 @@ function ug() { content: [] }; } -function R6e(e, t, r, n, i, o, a, s, l, c) { +function P6e(e, t, r, n, i, o, a, s, l, c) { if (!a) return; var u = a.getLayout(), d = e.getData(), h = a.getModel(); @@ -75003,13 +74999,13 @@ function R6e(e, t, r, n, i, o, a, s, l, c) { return; if (l.add(_), _.x = u.x || 0, _.y = u.y || 0, _.markRedraw(), tS(_).nodeWidth = f, tS(_).nodeHeight = p, u.isAboveViewRoot) return _; - var D = W("background", FB, c, w6e); + var D = W("background", FB, c, x6e); D && $(_, D, w && u.upperLabelHeight); var A = h.getModel("emphasis"), M = A.get("focus"), O = A.get("blurScope"), F = A.get("disabled"), k = M === "ancestor" ? a.getAncestorsIndices() : M === "descendant" ? a.getDescendantIndices() : M; if (w) Gc(_) && td(_, !1), D && (td(D, !F), d.setItemGraphicEl(a.dataIndex, D), BT(D, k, O)); else { - var N = W("content", FB, c, x6e); + var N = W("content", FB, c, E6e); N && I(_, N), D.disableMorphing = !0, D && Gc(D) && td(D, !1), td(_, !F), d.setItemGraphicEl(a.dataIndex, _), BT(_, k, O); } return _; @@ -75110,7 +75106,7 @@ function R6e(e, t, r, n, i, o, a, s, l, c) { } function W(q, ee, re, J) { var Z = y != null && r[q][y], K = i[q]; - return Z ? (r[q][y] = null, j(K, Z)) : v || (Z = new ee(), Z instanceof Ta && (Z.z2 = P6e(re, J)), X(K, Z)), t[q][m] = Z; + return Z ? (r[q][y] = null, j(K, Z)) : v || (Z = new ee(), Z instanceof Ta && (Z.z2 = T6e(re, J)), X(K, Z)), t[q][m] = Z; } function j(q, ee) { var re = q[m] = {}; @@ -75130,17 +75126,17 @@ function R6e(e, t, r, n, i, o, a, s, l, c) { re.fadein = !Z; } } -function P6e(e, t) { - return e * S6e + t; +function T6e(e, t) { + return e * w6e + t; } -var om = z, T6e = St, rS = -1, si = ( +var om = z, _6e = St, rS = -1, si = ( /** @class */ function() { function e(t) { var r = t.mappingMethod, n = t.type, i = this.option = Mt(t); - this.type = n, this.mappingMethod = r, this._normalizeData = D6e[r]; + this.type = n, this.mappingMethod = r, this._normalizeData = I6e[r]; var o = e.visualHandlers[n]; - this.applyVisual = o.applyVisual, this.getColorMapper = o.getColorMapper, this._normalizedToVisual = o._normalizedToVisual[r], r === "piecewise" ? (rR(i), _6e(i)) : r === "category" ? i.categories ? M6e(i) : rR(i, !0) : (Et(r !== "linear" || i.dataExtent), rR(i)); + this.applyVisual = o.applyVisual, this.getColorMapper = o.getColorMapper, this._normalizedToVisual = o._normalizedToVisual[r], r === "piecewise" ? (rR(i), M6e(i)) : r === "category" ? i.categories ? D6e(i) : rR(i, !0) : (Et(r !== "linear" || i.dataExtent), rR(i)); } return e.prototype.mapValueToVisual = function(t) { var r = this._normalizeData(t); @@ -75167,7 +75163,7 @@ var om = z, T6e = St, rS = -1, si = ( }, e.prepareVisualTypes = function(t) { if (Ae(t)) t = t.slice(); - else if (T6e(t)) { + else if (_6e(t)) { var r = []; om(t, function(n, i) { r.push(i); @@ -75288,13 +75284,13 @@ var om = z, T6e = St, rS = -1, si = ( }, e; }() ); -function _6e(e) { +function M6e(e) { var t = e.pieceList; e.hasSpecialVisual = !1, z(t, function(r, n) { r.originIndex = n, r.visual != null && (e.hasSpecialVisual = !0); }); } -function M6e(e) { +function D6e(e) { var t = e.categories, r = e.categoryMap = {}, n = e.visual; if (om(t, function(a, s) { r[a] = s; @@ -75371,7 +75367,7 @@ function CQ(e, t) { return !n && process.env.NODE_ENV !== "production" && bn("'" + r + "' is an illegal color, fallback to '#000000'", !0), n || [0, 0, 0, 1]; })), t; } -var D6e = { +var I6e = { linear: function(e) { return Nr(e, this.option.dataExtent, [0, 1], !0); }, @@ -75389,8 +75385,8 @@ var D6e = { function A0(e, t, r) { return e ? t <= r : t < r; } -var I6e = "itemStyle", bQ = Cr(); -const A6e = { +var A6e = "itemStyle", bQ = Cr(); +const O6e = { seriesType: "treemap", reset: function(e) { var t = e.getData().tree, r = t.root; @@ -75406,23 +75402,23 @@ const A6e = { function SQ(e, t, r, n) { var i = e.getModel(), o = e.getLayout(), a = e.hostTree.data; if (!(!o || o.invisible || !o.isInView)) { - var s = i.getModel(I6e), l = O6e(s, t, n), c = a.ensureUniqueItemVisual(e.dataIndex, "style"), u = s.get("borderColor"), d = s.get("borderColorSaturation"), h; - d != null && (h = HB(l), u = L6e(d, h)), c.stroke = u; + var s = i.getModel(A6e), l = L6e(s, t, n), c = a.ensureUniqueItemVisual(e.dataIndex, "style"), u = s.get("borderColor"), d = s.get("borderColorSaturation"), h; + d != null && (h = HB(l), u = F6e(d, h)), c.stroke = u; var f = e.viewChildren; if (!f || !f.length) h = HB(l), c.fill = h; else { - var p = F6e(e, i, o, s, l, f); + var p = N6e(e, i, o, s, l, f); z(f, function(g, v) { if (g.depth >= r.length || g === r[g.depth]) { - var m = N6e(i, l, g, v, p, n); + var m = k6e(i, l, g, v, p, n); SQ(g, m, r, n); } }); } } } -function O6e(e, t, r) { +function L6e(e, t, r) { var n = Pe({}, t), i = r.designatedVisualItemStyle; return z(["color", "colorAlpha", "colorSaturation"], function(o) { i[o] = t[o]; @@ -75437,7 +75433,7 @@ function HB(e) { return n && (t = yf(t, null, null, n)), r && (t = zv(t, r)), t; } } -function L6e(e, t) { +function F6e(e, t) { return t != null ? yf(t, null, null, e) : null; } function nR(e, t) { @@ -75445,7 +75441,7 @@ function nR(e, t) { if (r != null && r !== "none") return r; } -function F6e(e, t, r, n, i, o) { +function N6e(e, t, r, n, i, o) { if (!(!o || !o.length)) { var a = iR(t, "color") || i.color != null && i.color !== "none" && (iR(t, "colorAlpha") || iR(t, "colorSaturation")); if (a) { @@ -75469,7 +75465,7 @@ function iR(e, t) { range: r } : null; } -function N6e(e, t, r, n, i, o) { +function k6e(e, t, r, n, i, o) { var a = Pe({}, t); if (i) { var s = i.type, l = s === "color" && bQ(i).drColorMappingBy, c = l === "index" ? n : l === "id" ? o.mapIdToIndex(r.getId()) : r.getValue(e.get("visualDimension")); @@ -75477,8 +75473,8 @@ function N6e(e, t, r, n, i, o) { } return a; } -var am = Math.max, nS = Math.min, zB = Bn, QA = z, wQ = ["itemStyle", "borderWidth"], k6e = ["itemStyle", "gapWidth"], $6e = ["upperLabel", "show"], V6e = ["upperLabel", "height"]; -const B6e = { +var am = Math.max, nS = Math.min, zB = Bn, QA = z, wQ = ["itemStyle", "borderWidth"], $6e = ["itemStyle", "gapWidth"], V6e = ["upperLabel", "show"], B6e = ["upperLabel", "height"]; +const H6e = { seriesType: "treemap", reset: function(e, t, r, n) { var i = r.getWidth(), o = r.getHeight(), a = e.option, s = Kn(e.getBoxLayoutParams(), { @@ -75486,7 +75482,7 @@ const B6e = { height: r.getHeight() }), l = a.size || [], c = Xe(zB(s.width, l[0]), i), u = Xe(zB(s.height, l[1]), o), d = n && n.type, h = ["treemapZoomToNode", "treemapRootToNode"], f = im(n, h, e), p = d === "treemapRender" || d === "treemapMove" ? n.rootRect : null, g = e.getViewRoot(), v = vQ(g); if (d !== "treemapMove") { - var m = d === "treemapZoomToNode" ? U6e(e, f, g, c, u) : p ? [p.width, p.height] : [c, u], y = a.sort; + var m = d === "treemapZoomToNode" ? K6e(e, f, g, c, u) : p ? [p.width, p.height] : [c, u], y = a.sort; y && y !== "asc" && y !== "desc" && (y = "desc"); var C = { squareRatio: a.squareRatio, @@ -75511,7 +75507,7 @@ const B6e = { }); } var w = e.getData().tree.root; - w.setLayout(K6e(s, p, f), !0), e.setLayoutInfo(s), EQ( + w.setLayout(Z6e(s, p, f), !0), e.setLayoutInfo(s), EQ( w, // Transform to base element coordinate system. new Zt(-s.x, -s.y, i, o), @@ -75526,13 +75522,13 @@ function xQ(e, t, r, n) { if (!e.isRemoved()) { var a = e.getLayout(); i = a.width, o = a.height; - var s = e.getModel(), l = s.get(wQ), c = s.get(k6e) / 2, u = RQ(s), d = Math.max(l, u), h = l - c, f = d - c; + var s = e.getModel(), l = s.get(wQ), c = s.get($6e) / 2, u = RQ(s), d = Math.max(l, u), h = l - c, f = d - c; e.setLayout({ borderWidth: l, upperHeight: d, upperLabelHeight: u }, !0), i = am(i - 2 * h, 0), o = am(o - h - f, 0); - var p = i * o, g = H6e(e, s, p, t, r, n); + var p = i * o, g = z6e(e, s, p, t, r, n); if (g.length) { var v = { x: h, @@ -75544,7 +75540,7 @@ function xQ(e, t, r, n) { for (var S = 0, w = g.length; S < w; ) { var x = g[S]; C.push(x), C.area += x.getLayout().area; - var E = j6e(C, m, t.squareRatio); + var E = U6e(C, m, t.squareRatio); E <= y ? (S++, y = E) : (C.area -= C.pop().getLayout().area, GB(C, m, v, c, !1), m = nS(v.width, v.height), C.length = C.area = 0, y = 1 / 0); } if (C.length && GB(C, m, v, c, !0), !r) { @@ -75556,7 +75552,7 @@ function xQ(e, t, r, n) { } } } -function H6e(e, t, r, n, i, o) { +function z6e(e, t, r, n, i, o) { var a = e.children || [], s = n.sort; s !== "asc" && s !== "desc" && (s = null); var l = n.leafDepth != null && n.leafDepth <= o; @@ -75564,11 +75560,11 @@ function H6e(e, t, r, n, i, o) { return e.viewChildren = []; a = kr(a, function(f) { return !f.isRemoved(); - }), G6e(a, s); - var c = W6e(t, a, s); + }), W6e(a, s); + var c = j6e(t, a, s); if (c.sum === 0) return e.viewChildren = []; - if (c.sum = z6e(t, r, c.sum, s, a), c.sum === 0) + if (c.sum = G6e(t, r, c.sum, s, a), c.sum === 0) return e.viewChildren = []; for (var u = 0, d = a.length; u < d; u++) { var h = a[u].getValue() / c.sum * r; @@ -75582,7 +75578,7 @@ function H6e(e, t, r, n, i, o) { dataExtent: c.dataExtent }, !0), a; } -function z6e(e, t, r, n, i) { +function G6e(e, t, r, n, i) { if (!n) return r; for (var o = e.get("visibleMin"), a = i.length, s = a, l = a - 1; l >= 0; l--) { @@ -75591,13 +75587,13 @@ function z6e(e, t, r, n, i) { } return n === "asc" ? i.splice(0, a - s) : i.splice(s, a - s), r; } -function G6e(e, t) { +function W6e(e, t) { return t && e.sort(function(r, n) { var i = t === "asc" ? r.getValue() - n.getValue() : n.getValue() - r.getValue(); return i === 0 ? t === "asc" ? r.dataIndex - n.dataIndex : n.dataIndex - r.dataIndex : i; }), e; } -function W6e(e, t, r) { +function j6e(e, t, r) { for (var n = 0, i = 0, o = t.length; i < o; i++) n += t[i].getValue(); var a = e.get("visualDimension"), s; @@ -75609,7 +75605,7 @@ function W6e(e, t, r) { dataExtent: s }; } -function j6e(e, t, r) { +function U6e(e, t, r) { for (var n = 0, i = 1 / 0, o = 0, a = void 0, s = e.length; o < s; o++) a = e[o].getLayout().area, a && (a < i && (i = a), a > n && (n = a)); var l = e.area * e.area, c = t * t * r; @@ -75624,7 +75620,7 @@ function GB(e, t, r, n, i) { } r[s[a]] += u, r[l[a]] -= u; } -function U6e(e, t, r, n, i) { +function K6e(e, t, r, n, i) { var o = (t || {}).node, a = [n, i]; if (!o || o === r) return a; @@ -75642,7 +75638,7 @@ function U6e(e, t, r, n, i) { var y = Math.pow(c / l, 0.5); return [n * y, i * y]; } -function K6e(e, t, r) { +function Z6e(e, t, r) { if (t) return { x: t.x, @@ -75684,12 +75680,12 @@ function EQ(e, t, r, n, i) { } } function RQ(e) { - return e.get($6e) ? e.get(V6e) : 0; -} -function Z6e(e) { - e.registerSeriesModel(f6e), e.registerChartView(E6e), e.registerVisual(A6e), e.registerLayout(B6e), h6e(e); + return e.get(V6e) ? e.get(B6e) : 0; } function Y6e(e) { + e.registerSeriesModel(p6e), e.registerChartView(R6e), e.registerVisual(O6e), e.registerLayout(H6e), f6e(e); +} +function q6e(e) { var t = e.findComponents({ mainType: "legend" }); @@ -75707,7 +75703,7 @@ function Y6e(e) { }); }); } -function q6e(e) { +function X6e(e) { var t = {}; e.eachSeriesByType("graph", function(r) { var n = r.getCategoriesData(), i = r.getData(), o = {}; @@ -75735,7 +75731,7 @@ function q6e(e) { function O0(e) { return e instanceof Array || (e = [e, e]), e; } -function X6e(e) { +function Q6e(e) { e.eachSeriesByType("graph", function(t) { var r = t.getGraph(), n = t.getEdgeData(), i = O0(t.get("edgeSymbol")), o = O0(t.get("edgeSymbolSize")); n.setVisual("fromSymbol", i && i[0]), n.setVisual("toSymbol", i && i[1]), n.setVisual("fromSymbolSize", o && o[0]), n.setVisual("toSymbolSize", o && o[1]), n.setVisual("style", t.getModel("lineStyle").getLineStyle()), n.each(function(a) { @@ -75778,20 +75774,20 @@ var R_ = "-->", ow = function(e) { }, TQ = function(e) { var t = e.split(R_); return [t[0], t[2], t[1]].join(R_); -}, Q6e = function(e, t) { +}, J6e = function(e, t) { var r = sm(e.node1, e.node2, t); return t.__edgeMap[r]; -}, J6e = function(e, t) { +}, eVe = function(e, t) { var r = P_(sm(e.node1, e.node2, t), t), n = P_(sm(e.node2, e.node1, t), t); return r + n; }, P_ = function(e, t) { var r = t.__edgeMap; return r[e] ? r[e].length : 0; }; -function eVe(e) { +function tVe(e) { ow(e) && (e.__curvenessList = [], e.__edgeMap = {}, PQ(e)); } -function tVe(e, t, r, n) { +function rVe(e, t, r, n) { if (ow(r)) { var i = sm(e, t, r), o = r.__edgeMap, a = o[TQ(i)]; o[i] && !a ? o[i].isForward = !0 : a && o[i] && (a.isForward = !0, o[i].isForward = !1), o[i] = o[i] || [], o[i].push(n); @@ -75801,7 +75797,7 @@ function JA(e, t, r, n) { var i = ow(t), o = Ae(i); if (!i) return null; - var a = Q6e(e, t); + var a = J6e(e, t); if (!a) return null; for (var s = -1, l = 0; l < a.length; l++) @@ -75809,7 +75805,7 @@ function JA(e, t, r, n) { s = l; break; } - var c = J6e(e, t); + var c = eVe(e, t); PQ(t, c), e.lineStyle = e.lineStyle || {}; var u = sm(e.node1, e.node2, t), d = t.__curvenessList, h = o || c % 2 ? 0 : 1; if (a.isForward) @@ -75833,7 +75829,7 @@ function eO(e, t) { +i && s.push([(o[0] + a[0]) / 2 - (o[1] - a[1]) * i, (o[1] + a[1]) / 2 - (a[0] - o[0]) * i]), r.setLayout(s); }); } -function rVe(e, t) { +function nVe(e, t) { e.eachSeriesByType("graph", function(r) { var n = r.get("layout"), i = r.coordinateSystem; if (i && i.type !== "view") { @@ -75878,14 +75874,14 @@ function tO(e, t, r, n) { var v = e.get(["circular", "rotateLabel"]); MQ(r, v, l, c); } - nVe[t](e, s, a, u, l, c, d), s.eachEdge(function(m, y) { + iVe[t](e, s, a, u, l, c, d), s.eachEdge(function(m, y) { var C = Go(m.getModel().get(["lineStyle", "curveness"]), JA(m, e, y), 0), S = $s(m.node1.getLayout()), w = $s(m.node2.getLayout()), x, E = (S[0] + w[0]) / 2, R = (S[1] + w[1]) / 2; +C && (C *= 3, x = [l * C + E * (1 - C), c * C + R * (1 - C)]), m.setLayout([S, w, x]); }); } } } -var nVe = { +var iVe = { value: function(e, t, r, n, i, o, a) { var s = 0, l = r.getSum("value"), c = Math.PI * 2 / (l || a); t.eachNode(function(u) { @@ -75935,13 +75931,13 @@ function MQ(e, t, r, n) { }); } } -function iVe(e) { +function oVe(e) { e.eachSeriesByType("graph", function(t) { t.get("layout") === "circular" && tO(t, "symbolSize"); }); } var Ah = mb; -function oVe(e, t, r) { +function aVe(e, t, r) { for (var n = e, i = t, o = r.rect, a = o.width, s = o.height, l = [o.x + a / 2, o.y + s / 2], c = r.gravity == null ? 0.1 : r.gravity, u = 0; u < n.length; u++) { var d = n[u]; d.p || (d.p = Jc(a * (Math.random() - 0.5) + l[0], s * (Math.random() - 0.5) + l[1])), d.pp = $s(d.p), d.edges = null; @@ -76009,7 +76005,7 @@ function oVe(e, t, r) { } }; } -function aVe(e) { +function sVe(e) { e.eachSeriesByType("graph", function(t) { var r = t.coordinateSystem; if (!(r && r.type !== "view")) @@ -76040,7 +76036,7 @@ function aVe(e) { curveness: R, ignoreForceLayout: E.get("ignoreForceLayout") }; - }), m = r.getBoundingRect(), y = oVe(g, v, { + }), m = r.getBoundingRect(), y = aVe(g, v, { rect: m, gravity: s.get("gravity"), friction: s.get("friction") @@ -76060,7 +76056,7 @@ function aVe(e) { t.forceLayout = null; }); } -function sVe(e, t, r) { +function lVe(e, t, r) { var n = Pe(e.getBoxLayoutParams(), { aspect: r }); @@ -76069,7 +76065,7 @@ function sVe(e, t, r) { height: t.getHeight() }); } -function lVe(e, t) { +function cVe(e, t) { var r = []; return e.eachSeriesByType("graph", function(n) { var i = n.get("coordinateSystem"); @@ -76079,7 +76075,7 @@ function lVe(e, t) { return [+m.get("x"), +m.get("y")]; }), s = [], l = []; I1(a, s, l), l[0] - s[0] === 0 && (l[0] += 1, s[0] -= 1), l[1] - s[1] === 0 && (l[1] += 1, s[1] -= 1); - var c = (l[0] - s[0]) / (l[1] - s[1]), u = sVe(n, t, c); + var c = (l[0] - s[0]) / (l[1] - s[1]), u = lVe(n, t, c); isNaN(c) && (s = [u.x, u.y], l = [u.x + u.width, u.y + u.height]); var d = l[0] - s[0], h = l[1] - s[1], f = u.width, p = u.height, g = n.coordinateSystem = new dy(); g.zoomLimit = n.get("scaleLimit"), g.setBoundingRect(s[0], s[1], d, h), g.setViewRect(u.x, u.y, f, p), g.setCenter(n.get("center"), t), g.setZoom(n.get("zoom")), r.push(g); @@ -76105,7 +76101,7 @@ var jB = ii.prototype, aR = Qm.prototype, DQ = ( function sR(e) { return isNaN(+e.cpx1) || isNaN(+e.cpy1); } -var cVe = ( +var uVe = ( /** @class */ function(e) { be(t, e); @@ -76147,8 +76143,8 @@ function ZB(e, t, r) { return u.__specifiedRotation = o == null || isNaN(o) ? void 0 : +o * Math.PI / 180 || 0, u.name = e, u; } } -function uVe(e) { - var t = new cVe({ +function dVe(e) { + var t = new uVe({ name: "line", subPixelOptimize: !0 }); @@ -76168,7 +76164,7 @@ var rO = ( return o._createLine(r, n, i), o; } return t.prototype._createLine = function(r, n, i) { - var o = r.hostModel, a = r.getItemLayout(n), s = uVe(a); + var o = r.hostModel, a = r.getItemLayout(n), s = dVe(a); s.shape.percent = 0, un(s, { shape: { percent: 1 @@ -76352,7 +76348,7 @@ var rO = ( }, e.prototype.incrementalUpdate = function(t, r) { this._progressiveEls = []; function n(s) { - !s.isGroup && !dVe(s) && (s.incremental = !0, s.ensureState("emphasis").hoverLayer = !0); + !s.isGroup && !hVe(s) && (s.incremental = !0, s.ensureState("emphasis").hoverLayer = !0); } for (var i = t.start; i < t.end; i++) { var o = r.getItemLayout(i); @@ -76381,7 +76377,7 @@ var rO = ( }, e; }() ); -function dVe(e) { +function hVe(e) { return e.animators && e.animators.length > 0; } function YB(e) { @@ -76453,7 +76449,7 @@ function pR(e, t) { function JB(e) { return e.type === "view"; } -var hVe = ( +var fVe = ( /** @class */ function(e) { be(t, e); @@ -76573,7 +76569,7 @@ var hVe = ( function Lh(e) { return "_EC_" + e; } -var fVe = ( +var pVe = ( /** @class */ function() { function e(t) { @@ -76774,7 +76770,7 @@ function AQ(e, t) { On($u, AQ("hostGraph", "data")); On(IQ, AQ("hostGraph", "edgeData")); function OQ(e, t, r, n, i) { - for (var o = new fVe(n), a = 0; a < e.length; a++) + for (var o = new pVe(n), a = 0; a < e.length; a++) o.addNode(Bn( // Id, name, dataIndex e[a].id, @@ -76812,7 +76808,7 @@ function OQ(e, t, r, n, i) { } }), o.update(), o; } -var pVe = ( +var gVe = ( /** @class */ function(e) { be(t, e); @@ -76834,10 +76830,10 @@ var pVe = ( }, t.prototype.getInitialData = function(r, n) { var i = r.edges || r.links || [], o = r.data || r.nodes || [], a = this; if (o && i) { - eVe(this); + tVe(this); var s = OQ(o, i, this, !0, l); return z(s.edges, function(c) { - tVe(c.node1, c.node2, this, c.dataIndex); + rVe(c.node1, c.node2, this, c.dataIndex); }, this), s.data; } function l(c, u) { @@ -76977,15 +76973,15 @@ var pVe = ( } }, t; }(Ur) -), gVe = { +), vVe = { type: "graphRoam", event: "graphRoam", update: "none" }; -function vVe(e) { - e.registerChartView(hVe), e.registerSeriesModel(pVe), e.registerProcessor(Y6e), e.registerVisual(q6e), e.registerVisual(X6e), e.registerLayout(rVe), e.registerLayout(e.PRIORITY.VISUAL.POST_CHART_LAYOUT, iVe), e.registerLayout(aVe), e.registerCoordinateSystem("graphView", { +function mVe(e) { + e.registerChartView(fVe), e.registerSeriesModel(gVe), e.registerProcessor(q6e), e.registerVisual(X6e), e.registerVisual(Q6e), e.registerLayout(nVe), e.registerLayout(e.PRIORITY.VISUAL.POST_CHART_LAYOUT, oVe), e.registerLayout(sVe), e.registerCoordinateSystem("graphView", { dimensions: dy.dimensions, - create: lVe + create: cVe }), e.registerAction({ type: "focusNodeAdjacency", event: "focusNodeAdjacency", @@ -76994,7 +76990,7 @@ function vVe(e) { type: "unfocusNodeAdjacency", event: "unfocusNodeAdjacency", update: "series:unfocusNodeAdjacency" - }, An), e.registerAction(gVe, function(t, r, n) { + }, An), e.registerAction(vVe, function(t, r, n) { r.eachComponent({ mainType: "series", query: t @@ -77004,7 +77000,7 @@ function vVe(e) { }); }); } -var mVe = ( +var yVe = ( /** @class */ /* @__PURE__ */ function() { function e() { @@ -77012,7 +77008,7 @@ var mVe = ( } return e; }() -), yVe = ( +), CVe = ( /** @class */ function(e) { be(t, e); @@ -77021,14 +77017,14 @@ var mVe = ( return n.type = "pointer", n; } return t.prototype.getDefaultShape = function() { - return new mVe(); + return new yVe(); }, t.prototype.buildPath = function(r, n) { var i = Math.cos, o = Math.sin, a = n.r, s = n.width, l = n.angle, c = n.x - i(l) * s * (s >= a / 3 ? 1 : 2), u = n.y - o(l) * s * (s >= a / 3 ? 1 : 2); l = n.angle - Math.PI / 2, r.moveTo(c, u), r.lineTo(n.x + i(l) * s, n.y + o(l) * s), r.lineTo(n.x + i(n.angle) * a, n.y + o(n.angle) * a), r.lineTo(n.x - i(l) * s, n.y - o(l) * s), r.lineTo(c, u); }, t; }(nr) ); -function CVe(e, t) { +function bVe(e, t) { var r = e.get("center"), n = t.getWidth(), i = t.getHeight(), o = Math.min(n, i), a = Xe(r[0], t.getWidth()), s = Xe(r[1], t.getHeight()), l = Xe(e.get("radius"), o / 2); return { cx: a, @@ -77040,7 +77036,7 @@ function L0(e, t) { var r = e == null ? "" : e + ""; return t && (Je(t) ? r = t.replace("{value}", r) : gt(t) && (r = t(e))), r; } -var bVe = ( +var SVe = ( /** @class */ function(e) { be(t, e); @@ -77050,7 +77046,7 @@ var bVe = ( } return t.prototype.render = function(r, n, i) { this.group.removeAll(); - var o = r.get(["axisLine", "lineStyle", "color"]), a = CVe(r, i); + var o = r.get(["axisLine", "lineStyle", "color"]), a = bVe(r, i); this._renderMain(r, n, i, o, a), this._data = r.getData(); }, t.prototype.dispose = function() { }, t.prototype._renderMain = function(r, n, i, o, a) { @@ -77165,7 +77161,7 @@ var bVe = ( var d = this.group, h = this._data, f = this._progressEls, p = [], g = r.get(["pointer", "show"]), v = r.getModel("progress"), m = v.get("show"), y = r.getData(), C = y.mapDimension("value"), S = +r.get("min"), w = +r.get("max"), x = [S, w], E = [s, l]; function R(T, _) { var D = y.getItemModel(T), A = D.getModel("pointer"), M = Xe(A.get("width"), a.r), O = Xe(A.get("length"), a.r), F = r.get(["pointer", "icon"]), k = A.get("offsetCenter"), N = Xe(k[0], a.r), $ = Xe(k[1], a.r), I = A.get("keepAspect"), B; - return F ? B = Hn(F, N - M / 2, $ - O, M, O, null, I) : B = new yVe({ + return F ? B = Hn(F, N - M / 2, $ - O, M, O, null, I) : B = new CVe({ shape: { angle: -Math.PI / 2, width: M, @@ -77306,7 +77302,7 @@ var bVe = ( }), this.group.add(h), this._titleEls = f, this._detailEls = p; }, t.type = "gauge", t; }(Vr) -), SVe = ( +), wVe = ( /** @class */ function(e) { be(t, e); @@ -77442,10 +77438,10 @@ var bVe = ( }, t; }(Ur) ); -function wVe(e) { - e.registerChartView(bVe), e.registerSeriesModel(SVe); +function xVe(e) { + e.registerChartView(SVe), e.registerSeriesModel(wVe); } -var xVe = ["itemStyle", "opacity"], EVe = ( +var EVe = ["itemStyle", "opacity"], RVe = ( /** @class */ function(e) { be(t, e); @@ -77454,7 +77450,7 @@ var xVe = ["itemStyle", "opacity"], EVe = ( return o.setTextContent(s), i.setTextGuideLine(a), i.updateData(r, n, !0), i; } return t.prototype.updateData = function(r, n, i) { - var o = this, a = r.hostModel, s = r.getItemModel(n), l = r.getItemLayout(n), c = s.getModel("emphasis"), u = s.get(xVe); + var o = this, a = r.hostModel, s = r.getItemModel(n), l = r.getItemLayout(n), c = s.getModel("emphasis"), u = s.get(EVe); u = u ?? 1, i || ls(o), o.useStyle(r.getItemVisual(n, "style")), o.style.lineJoin = "round", i ? (o.setShape({ points: l.points }), o.style.opacity = 0, un(o, { @@ -77515,7 +77511,7 @@ var xVe = ["itemStyle", "opacity"], EVe = ( }); }, t; }(so) -), RVe = ( +), PVe = ( /** @class */ function(e) { be(t, e); @@ -77526,7 +77522,7 @@ var xVe = ["itemStyle", "opacity"], EVe = ( return t.prototype.render = function(r, n, i) { var o = r.getData(), a = this._data, s = this.group; o.diff(a).add(function(l) { - var c = new EVe(o, l); + var c = new RVe(o, l); o.setItemGraphicEl(l, c), s.add(c); }).update(function(l, c) { var u = a.getItemGraphicEl(c); @@ -77540,7 +77536,7 @@ var xVe = ["itemStyle", "opacity"], EVe = ( }, t.prototype.dispose = function() { }, t.type = "funnel", t; }(Vr) -), PVe = ( +), TVe = ( /** @class */ function(e) { be(t, e); @@ -77613,13 +77609,13 @@ var xVe = ["itemStyle", "opacity"], EVe = ( }, t; }(Ur) ); -function TVe(e, t) { +function _Ve(e, t) { return Kn(e.getBoxLayoutParams(), { width: t.getWidth(), height: t.getHeight() }); } -function _Ve(e, t) { +function MVe(e, t) { for (var r = e.mapDimension("value"), n = e.mapArray(r, function(l) { return l; }), i = [], o = t === "ascending", a = 0, s = e.count(); a < s; a++) @@ -77628,7 +77624,7 @@ function _Ve(e, t) { return o ? n[l] - n[c] : n[c] - n[l]; }), i; } -function MVe(e) { +function DVe(e) { var t = e.hostModel, r = t.get("orient"); e.each(function(n) { var i = e.getItemModel(n), o = i.getModel("label"), a = o.get("position"), s = i.getModel("labelLine"), l = e.getItemLayout(n), c = l.points, u = a === "inner" || a === "inside" || a === "center" || a === "insideLeft" || a === "insideRight", d, h, f, p; @@ -77648,9 +77644,9 @@ function MVe(e) { }; }); } -function DVe(e, t) { +function IVe(e, t) { e.eachSeriesByType("funnel", function(r) { - var n = r.getData(), i = n.mapDimension("value"), o = r.get("sort"), a = TVe(r, t), s = r.get("orient"), l = a.width, c = a.height, u = _Ve(n, o), d = a.x, h = a.y, f = s === "horizontal" ? [Xe(r.get("minSize"), c), Xe(r.get("maxSize"), c)] : [Xe(r.get("minSize"), l), Xe(r.get("maxSize"), l)], p = n.getDataExtent(i), g = r.get("min"), v = r.get("max"); + var n = r.getData(), i = n.mapDimension("value"), o = r.get("sort"), a = _Ve(r, t), s = r.get("orient"), l = a.width, c = a.height, u = MVe(n, o), d = a.x, h = a.y, f = s === "horizontal" ? [Xe(r.get("minSize"), c), Xe(r.get("maxSize"), c)] : [Xe(r.get("minSize"), l), Xe(r.get("maxSize"), l)], p = n.getDataExtent(i), g = r.get("min"), v = r.get("max"); g == null && (g = Math.min(p[0], 0)), v == null && (v = p[1]); var m = r.get("funnelAlign"), y = r.get("gap"), C = s === "horizontal" ? l : c, S = (C - y * (n.count() - 1)) / n.count(), w = function(M, O) { if (s === "horizontal") { @@ -77701,13 +77697,13 @@ function DVe(e, t) { }); } } - MVe(n); + DVe(n); }); } -function IVe(e) { - e.registerChartView(RVe), e.registerSeriesModel(PVe), e.registerLayout(DVe), e.registerProcessor(ly("funnel")); +function AVe(e) { + e.registerChartView(PVe), e.registerSeriesModel(TVe), e.registerLayout(IVe), e.registerProcessor(ly("funnel")); } -var AVe = 0.3, OVe = ( +var OVe = 0.3, LVe = ( /** @class */ function(e) { be(t, e); @@ -77739,7 +77735,7 @@ var AVe = 0.3, OVe = ( } if (!this._initialized) { this._initialized = !0; - var g = LVe(c, r, function() { + var g = FVe(c, r, function() { setTimeout(function() { a.removeClipPath(); }); @@ -77759,7 +77755,7 @@ var AVe = 0.3, OVe = ( }, t.type = "parallel", t; }(Vr) ); -function LVe(e, t, r) { +function FVe(e, t, r) { var n = e.model, i = e.getRect(), o = new vr({ shape: { x: i.x, @@ -77778,7 +77774,7 @@ function LVe(e, t, r) { function LQ(e, t, r, n) { for (var i = [], o = 0; o < r.length; o++) { var a = r[o], s = e.get(e.mapDimension(a), t); - FVe(s, n.getAxis(a).type) || i.push(n.dataToPoint(s, a)); + NVe(s, n.getAxis(a).type) || i.push(n.dataToPoint(s, a)); } return i; } @@ -77794,7 +77790,7 @@ function e3(e, t, r, n, i) { } function t3(e) { var t = e.get("smooth", !0); - return t === !0 && (t = AVe), t = Ks(t), Hc(t) && (t = 0), { + return t === !0 && (t = OVe), t = Ks(t), Hc(t) && (t = 0), { smooth: t }; } @@ -77803,10 +77799,10 @@ function gR(e, t, r, n) { var i = t.getItemModel(r), o = i.getModel("emphasis"); Pi(e, i, "lineStyle"), Pn(e, o.get("focus"), o.get("blurScope"), o.get("disabled")); } -function FVe(e, t) { +function NVe(e, t) { return t === "category" ? e == null : e == null || isNaN(e); } -var NVe = ( +var kVe = ( /** @class */ function(e) { be(t, e); @@ -77816,7 +77812,7 @@ var NVe = ( } return t.prototype.getInitialData = function(r, n) { return nl(null, this, { - useEncodeDefaulter: at(kVe, null, this) + useEncodeDefaulter: at($Ve, null, this) }); }, t.prototype.getRawIndicesByActiveState = function(r) { var n = this.coordinateSystem, i = this.getData(), o = []; @@ -77849,20 +77845,20 @@ var NVe = ( }, t; }(Ur) ); -function kVe(e) { +function $Ve(e) { var t = e.ecModel.getComponent("parallel", e.get("parallelIndex")); if (t) { var r = {}; return z(t.dimensions, function(n) { - var i = $Ve(n); + var i = VVe(n); r[n] = i; }), r; } } -function $Ve(e) { +function VVe(e) { return +e.replace("dim", ""); } -var VVe = ["lineStyle", "opacity"], BVe = { +var BVe = ["lineStyle", "opacity"], HVe = { seriesType: "parallel", reset: function(e, t) { var r = e.coordinateSystem, n = { @@ -77875,7 +77871,7 @@ var VVe = ["lineStyle", "opacity"], BVe = { r.eachActiveState(o, function(a, s) { var l = n[a]; if (a === "normal" && o.hasItemOption) { - var c = o.getItemModel(s).get(VVe, !0); + var c = o.getItemModel(s).get(BVe, !0); c != null && (l = c); } var u = o.ensureUniqueItemVisual(s, "style"); @@ -77885,10 +77881,10 @@ var VVe = ["lineStyle", "opacity"], BVe = { }; } }; -function HVe(e) { - zVe(e), GVe(e); -} function zVe(e) { + GVe(e), WVe(e); +} +function GVe(e) { if (!e.parallel) { var t = !1; z(e.series, function(r) { @@ -77896,7 +77892,7 @@ function zVe(e) { }), t && (e.parallel = [{}]); } } -function GVe(e) { +function WVe(e) { var t = jr(e.parallelAxis); z(t, function(r) { if (St(r)) { @@ -77905,7 +77901,7 @@ function GVe(e) { } }); } -var WVe = 5, jVe = ( +var jVe = 5, UVe = ( /** @class */ function(e) { be(t, e); @@ -77914,7 +77910,7 @@ var WVe = 5, jVe = ( return r.type = t.type, r; } return t.prototype.render = function(r, n, i) { - this._model = r, this._api = i, this._handlers || (this._handlers = {}, z(UVe, function(o, a) { + this._model = r, this._api = i, this._handlers || (this._handlers = {}, z(KVe, function(o, a) { i.getZr().on(a, this._handlers[a] = at(o, this)); }, this)), Sp(this, "_throttledDispatchExpand", r.get("axisExpandRate"), "fixRate"); }, t.prototype.dispose = function(r, n) { @@ -77929,7 +77925,7 @@ var WVe = 5, jVe = ( }, r)); }, t.type = "parallel", t; }(sn) -), UVe = { +), KVe = { mousedown: function(e) { vR(this, "click") && (this._mouseDownPoint = [e.offsetX, e.offsetY]); }, @@ -77937,7 +77933,7 @@ var WVe = 5, jVe = ( var t = this._mouseDownPoint; if (vR(this, "click") && t) { var r = [e.offsetX, e.offsetY], n = Math.pow(t[0] - r[0], 2) + Math.pow(t[1] - r[1], 2); - if (n > WVe) + if (n > jVe) return; var i = this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX, e.offsetY]); i.behavior !== "none" && this._dispatchExpand({ @@ -77964,7 +77960,7 @@ function vR(e, t) { var r = e._model; return r.get("axisExpandable") && r.get("axisExpandTriggerOn") === t; } -var KVe = ( +var ZVe = ( /** @class */ function(e) { be(t, e); @@ -78018,7 +78014,7 @@ var KVe = ( parallelAxisDefault: null }, t; }(Qt) -), ZVe = ( +), YVe = ( /** @class */ function(e) { be(t, e); @@ -78056,7 +78052,7 @@ function mR(e, t) { function Fh(e, t) { return Math.min(t[1] != null ? t[1] : 1 / 0, Math.max(t[0] != null ? t[0] : -1 / 0, e)); } -var yR = z, FQ = Math.min, NQ = Math.max, r3 = Math.floor, YVe = Math.ceil, n3 = Rn, qVe = Math.PI, XVe = ( +var yR = z, FQ = Math.min, NQ = Math.max, r3 = Math.floor, qVe = Math.ceil, n3 = Rn, XVe = Math.PI, QVe = ( /** @class */ function() { function e(t, r, n) { @@ -78065,7 +78061,7 @@ var yR = z, FQ = Math.min, NQ = Math.max, r3 = Math.floor, YVe = Math.ceil, n3 = return e.prototype._init = function(t, r, n) { var i = t.dimensions, o = t.parallelAxisIndex; yR(i, function(a, s) { - var l = o[s], c = r.getComponent("parallelAxis", l), u = this._axesMap.set(a, new ZVe(a, ny(c), [0, 0], c.get("type"), l)), d = u.type === "category"; + var l = o[s], c = r.getComponent("parallelAxis", l), u = this._axesMap.set(a, new YVe(a, ny(c), [0, 0], c.get("type"), l)), d = u.type === "category"; u.onBand = d && c.get("boundaryGap"), u.inverse = c.get("inverse"), c.axis = u, u.model = c, u.coordinateSystem = c.coordinateSystem = this; }, this); }, e.prototype.update = function(t, r) { @@ -78103,7 +78099,7 @@ var yR = z, FQ = Math.min, NQ = Math.max, r3 = Math.floor, YVe = Math.ceil, n3 = } var v = (s - p) / (c - d); v < 3 && (v = 0); - var m = [r3(n3(f[0] / u, 1)) + 1, YVe(n3(f[1] / u, 1)) - 1], y = v / u * f[0]; + var m = [r3(n3(f[0] / u, 1)) + 1, qVe(n3(f[1] / u, 1)) - 1], y = v / u * f[0]; return { layout: o, pixelDimIndex: a, @@ -78125,7 +78121,7 @@ var yR = z, FQ = Math.min, NQ = Math.max, r3 = Math.floor, YVe = Math.ceil, n3 = var s = [0, i.axisLength], l = a.inverse ? 1 : 0; a.setExtent(s[l], s[1 - l]); }), yR(n, function(a, s) { - var l = (i.axisExpandable ? JVe : QVe)(s, i), c = { + var l = (i.axisExpandable ? eBe : JVe)(s, i), c = { horizontal: { x: l.position, y: i.axisLength @@ -78135,7 +78131,7 @@ var yR = z, FQ = Math.min, NQ = Math.max, r3 = Math.floor, YVe = Math.ceil, n3 = y: l.position } }, u = { - horizontal: qVe / 2, + horizontal: XVe / 2, vertical: 0 }, d = [c[o].x + t.x, c[o].y + t.y], h = u[o], f = wo(); eu(f, f, h), as(f, f, d), this._axesLayout[a] = { @@ -78208,7 +78204,7 @@ var yR = z, FQ = Math.min, NQ = Math.max, r3 = Math.floor, YVe = Math.ceil, n3 = function F0(e, t) { return FQ(NQ(e, t[0]), t[1]); } -function QVe(e, t) { +function JVe(e, t) { var r = t.layoutLength / (t.axisCount - 1); return { position: r * e, @@ -78216,7 +78212,7 @@ function QVe(e, t) { axisLabelShow: !0 }; } -function JVe(e, t) { +function eBe(e, t) { var r = t.layoutLength, n = t.axisExpandWidth, i = t.axisCount, o = t.axisCollapseWidth, a = t.winInnerIndices, s, l = o, c = !1, u; return e < a[0] ? (s = e * o, u = o) : e <= a[1] ? (s = t.axisExpandWindow0Pos + e * n - t.axisExpandWindow[0], l = n, c = !0) : (s = r - (i - 1 - e) * o, u = o), { position: s, @@ -78225,10 +78221,10 @@ function JVe(e, t) { nameTruncateMaxWidth: u }; } -function eBe(e, t) { +function tBe(e, t) { var r = []; return e.eachComponent("parallel", function(n, i) { - var o = new XVe(n, e, t); + var o = new QVe(n, e, t); o.name = "parallel_" + i, o.resize(n, t), n.coordinateSystem = o, o.model = n, r.push(o); }), e.eachSeries(function(n) { if (n.get("coordinateSystem") === "parallel") { @@ -78237,8 +78233,8 @@ function eBe(e, t) { } }), r; } -var tBe = { - create: eBe +var rBe = { + create: tBe }, __ = ( /** @class */ function(e) { @@ -78281,12 +78277,12 @@ var tBe = { }(Qt) ); On(__, Rp); -var Nd = !0, lm = Math.min, Gf = Math.max, rBe = Math.pow, nBe = 1e4, iBe = 6, oBe = 6, i3 = "globalPan", aBe = { +var Nd = !0, lm = Math.min, Gf = Math.max, nBe = Math.pow, iBe = 1e4, oBe = 6, aBe = 6, i3 = "globalPan", sBe = { w: [0, 0], e: [0, 1], n: [1, 0], s: [1, 1] -}, sBe = { +}, lBe = { w: "ew", e: "ew", n: "ns", @@ -78304,13 +78300,13 @@ var Nd = !0, lm = Math.min, Gf = Math.max, rBe = Math.pow, nBe = 1e4, iBe = 6, o transformable: !0, brushMode: "single", removeOnClick: !1 -}, lBe = 0, iO = ( +}, cBe = 0, iO = ( /** @class */ function(e) { be(t, e); function t(r) { var n = e.call(this) || this; - return n._track = [], n._covers = [], n._handlers = {}, process.env.NODE_ENV !== "production" && Et(r), n._zr = r, n.group = new Lt(), n._uid = "brushController_" + lBe++, z(gBe, function(i, o) { + return n._track = [], n._covers = [], n._handlers = {}, process.env.NODE_ENV !== "production" && Et(r), n._zr = r, n.group = new Lt(), n._uid = "brushController_" + cBe++, z(vBe, function(i, o) { this._handlers[o] = at(i, this); }, n), n; } @@ -78318,12 +78314,12 @@ var Nd = !0, lm = Math.min, Gf = Math.max, rBe = Math.pow, nBe = 1e4, iBe = 6, o return process.env.NODE_ENV !== "production" && Et(this._mounted), this._brushType && this._doDisableBrush(), r.brushType && this._doEnableBrush(r), this; }, t.prototype._doEnableBrush = function(r) { var n = this._zr; - this._enableGlobalPan || Q$e(n, i3, this._uid), z(this._handlers, function(i, o) { + this._enableGlobalPan || J$e(n, i3, this._uid), z(this._handlers, function(i, o) { n.on(o, i); }), this._brushType = r.brushType, this._brushOption = jt(Mt(o3), r, !0); }, t.prototype._doDisableBrush = function() { var r = this._zr; - J$e(r, i3, this._uid), z(this._handlers, function(n, i) { + e8e(r, i3, this._uid), z(this._handlers, function(n, i) { r.off(i, n); }), this._brushType = this._brushOption = null; }, t.prototype.setPanels = function(r) { @@ -78391,7 +78387,7 @@ function VQ(e, t) { } function BQ(e, t) { var r = t.z; - r == null && (r = nBe), e.traverse(function(n) { + r == null && (r = iBe), e.traverse(function(n) { n.z = r, n.z2 = r; }); } @@ -78438,12 +78434,12 @@ function kd(e, t) { removeOnClick: !!t.removeOnClick }); } -function cBe(e) { +function uBe(e) { var t = e._track; if (!t.length) return !1; - var r = t[t.length - 1], n = t[0], i = r[0] - n[0], o = r[1] - n[1], a = rBe(i * i + o * o, 0.5); - return a > iBe; + var r = t[t.length - 1], n = t[0], i = r[0] - n[0], o = r[1] - n[1], a = nBe(i * i + o * o, 0.5); + return a > oBe; } function zQ(e) { var t = e.length - 1; @@ -78478,7 +78474,7 @@ function GQ(e, t, r, n) { }), i; } function WQ(e, t, r, n) { - var i = n.brushStyle.lineWidth || 0, o = Gf(i, oBe), a = r[0][0], s = r[1][0], l = a - i / 2, c = s - i / 2, u = r[0][1], d = r[1][1], h = u - o + i / 2, f = d - o + i / 2, p = u - a, g = d - s, v = p + i, m = g + i; + var i = n.brushStyle.lineWidth || 0, o = Gf(i, aBe), a = r[0][0], s = r[1][0], l = a - i / 2, c = s - i / 2, u = r[0][1], d = r[1][1], h = u - o + i / 2, f = d - o + i / 2, p = u - a, g = d - s, v = p + i, m = g + i; fl(e, t, "main", a, s, p, g), n.transformable && (fl(e, t, "w", l, c, o, m), fl(e, t, "e", h, c, o, m), fl(e, t, "n", l, c, v, o), fl(e, t, "s", l, f, v, o), fl(e, t, "nw", l, c, o, o), fl(e, t, "ne", h, c, o, o), fl(e, t, "sw", l, f, o, o), fl(e, t, "se", h, f, o, o)); } function D_(e, t) { @@ -78487,17 +78483,17 @@ function D_(e, t) { silent: !n, cursor: n ? "move" : "default" }), z([["w"], ["e"], ["n"], ["s"], ["s", "e"], ["s", "w"], ["n", "e"], ["n", "w"]], function(o) { - var a = t.childOfName(o.join("")), s = o.length === 1 ? I_(e, o[0]) : dBe(e, o); + var a = t.childOfName(o.join("")), s = o.length === 1 ? I_(e, o[0]) : hBe(e, o); a && a.attr({ silent: !n, invisible: !n, - cursor: n ? sBe[s] + "-resize" : null + cursor: n ? lBe[s] + "-resize" : null }); }); } function fl(e, t, r, n, i, o, a) { var s = t.childOfName(r); - s && s.setShape(fBe(cO(e, t, [[n, i], [n + o, i + a]]))); + s && s.setShape(pBe(cO(e, t, [[n, i], [n + o, i + a]]))); } function lO(e) { return xt({ @@ -78512,7 +78508,7 @@ function jQ(e, t, r, n) { // y range ]; } -function uBe(e) { +function dBe(e) { return Mc(e.group); } function I_(e, t) { @@ -78526,23 +78522,23 @@ function I_(e, t) { right: "e", top: "n", bottom: "s" - }, i = $1(r[t], uBe(e)); + }, i = $1(r[t], dBe(e)); return n[i]; } -function dBe(e, t) { +function hBe(e, t) { var r = [I_(e, t[0]), I_(e, t[1])]; return (r[0] === "e" || r[0] === "w") && r.reverse(), r.join(""); } function a3(e, t, r, n, i, o) { var a = r.__brushOption, s = e.toRectRange(a.range), l = UQ(t, i, o); z(n, function(c) { - var u = aBe[c]; + var u = sBe[c]; s[u[0]][u[1]] += l[u[0]]; }), a.range = e.fromRectRange(jQ(s[0][0], s[1][0], s[0][1], s[1][1])), oO(t, r), kd(t, { isEnd: !1 }); } -function hBe(e, t, r, n) { +function fBe(e, t, r, n) { var i = t.__brushOption.range, o = UQ(e, r, n); z(i, function(a) { a[0] += o[0], a[1] += o[1]; @@ -78558,7 +78554,7 @@ function cO(e, t, r) { var n = HQ(e, t); return n && n !== Nd ? n.clipPath(r, e._transform) : Mt(r); } -function fBe(e) { +function pBe(e) { var t = lm(e[0][0], e[1][0]), r = lm(e[0][1], e[1][1]), n = Gf(e[0][0], e[1][0]), i = Gf(e[0][1], e[1][1]); return { x: t, @@ -78567,10 +78563,10 @@ function fBe(e) { height: i - r }; } -function pBe(e, t, r) { +function gBe(e, t, r) { if ( // Check active - !(!e._brushType || vBe(e, t.offsetX, t.offsetY)) + !(!e._brushType || mBe(e, t.offsetX, t.offsetY)) ) { var n = e._zr, i = e._covers, o = sO(e, t, r); if (!e._dragging) @@ -78591,7 +78587,7 @@ function O_(e, t, r) { } function KQ(e, t, r, n) { var i = e._creatingCover, o = e._creatingPanel, a = e._brushOption, s; - if (e._track.push(r.slice()), cBe(e) || i) { + if (e._track.push(r.slice()), uBe(e) || i) { if (o && !i) { a.brushMode === "single" && M_(e); var l = Mt(a); @@ -78612,7 +78608,7 @@ function KQ(e, t, r, n) { function s3(e, t) { return e === "auto" ? (process.env.NODE_ENV !== "production" && Et(t && t.defaultBrushType, 'MUST have defaultBrushType when brushType is "atuo"'), t.defaultBrushType) : e; } -var gBe = { +var vBe = { mousedown: function(e) { if (this._dragging) l3(this, e); @@ -78626,7 +78622,7 @@ var gBe = { }, mousemove: function(e) { var t = e.offsetX, r = e.offsetY, n = this.group.transformCoordToLocal(t, r); - if (pBe(this, e, n), this._dragging) { + if (gBe(this, e, n), this._dragging) { A_(e); var i = KQ(this, e, n, !1); i && kd(this, i); @@ -78643,7 +78639,7 @@ function l3(e, t) { e._dragging = !1, e._track = [], e._creatingCover = null, o && kd(e, o); } } -function vBe(e, t, r) { +function mBe(e, t, r) { var n = e._zr; return t < 0 || t > n.getWidth() || r < 0 || r > n.getHeight(); } @@ -78686,7 +78682,7 @@ var aw = { t.remove(t.childAt(0)), t.add(new so({ name: "main", draggable: !0, - drift: Bt(hBe, e, t), + drift: Bt(fBe, e, t), ondragend: Bt(kd, e, { isEnd: !0 }) @@ -78753,7 +78749,7 @@ function qQ(e, t, r) { function uO(e) { return Zt.create(e); } -var mBe = ["axisLine", "axisTickLabel", "axisName"], yBe = ( +var yBe = ["axisLine", "axisTickLabel", "axisName"], CBe = ( /** @class */ function(e) { be(t, e); @@ -78764,14 +78760,14 @@ var mBe = ["axisLine", "axisTickLabel", "axisName"], yBe = ( return t.prototype.init = function(r, n) { e.prototype.init.apply(this, arguments), (this._brushController = new iO(n.getZr())).on("brush", at(this._onBrush, this)); }, t.prototype.render = function(r, n, i, o) { - if (!CBe(r, n, o)) { + if (!bBe(r, n, o)) { this.axisModel = r, this.api = i, this.group.removeAll(); var a = this._axisGroup; if (this._axisGroup = new Lt(), this.group.add(this._axisGroup), !!r.get("show")) { - var s = SBe(r, n), l = s.coordinateSystem, c = r.getAreaSelectStyle(), u = c.width, d = r.axis.dim, h = l.getAxisLayout(d), f = Pe({ + var s = wBe(r, n), l = s.coordinateSystem, c = r.getAreaSelectStyle(), u = c.width, d = r.axis.dim, h = l.getAxisLayout(d), f = Pe({ strokeContainThreshold: u }, h), p = new eo(r, f); - z(mBe, p.add, p), this._axisGroup.add(p.getGroup()), this._refreshBrushController(f, c, r, s, u, i), ey(a, this._axisGroup, r); + z(yBe, p.add, p), this._axisGroup.add(p.getGroup()), this._refreshBrushController(f, c, r, s, u, i), ey(a, this._axisGroup, r); } } }, t.prototype._refreshBrushController = function(r, n, i, o, a, s) { @@ -78795,7 +78791,7 @@ var mBe = ["axisLine", "axisTickLabel", "axisName"], yBe = ( brushType: "lineX", brushStyle: n, removeOnClick: !0 - }).updateCovers(bBe(i)); + }).updateCovers(SBe(i)); }, t.prototype._onBrush = function(r) { var n = r.areas, i = this.axisModel, o = i.axis, a = Fe(n, function(s) { return [o.coordToData(s.range[0], !0), o.coordToData(s.range[1], !0)]; @@ -78810,13 +78806,13 @@ var mBe = ["axisLine", "axisTickLabel", "axisName"], yBe = ( }, t.type = "parallelAxis", t; }(sn) ); -function CBe(e, t, r) { +function bBe(e, t, r) { return r && r.type === "axisAreaSelect" && t.findComponents({ mainType: "parallelAxis", query: r })[0] === e; } -function bBe(e) { +function SBe(e) { var t = e.axis; return Fe(e.activeIntervals, function(r) { return { @@ -78826,16 +78822,16 @@ function bBe(e) { }; }); } -function SBe(e, t) { +function wBe(e, t) { return t.getComponent("parallel", e.get("parallelIndex")); } -var wBe = { +var xBe = { type: "axisAreaSelect", event: "axisAreaSelected" // update: 'updateVisual' }; -function xBe(e) { - e.registerAction(wBe, function(t, r) { +function EBe(e) { + e.registerAction(xBe, function(t, r) { r.eachComponent({ mainType: "parallelAxis", query: t @@ -78851,7 +78847,7 @@ function xBe(e) { }); }); } -var EBe = { +var RBe = { type: "value", areaSelectStyle: { width: 20, @@ -78864,12 +78860,12 @@ var EBe = { z: 10 }; function XQ(e) { - e.registerComponentView(jVe), e.registerComponentModel(KVe), e.registerCoordinateSystem("parallel", tBe), e.registerPreprocessor(HVe), e.registerComponentModel(__), e.registerComponentView(yBe), zf(e, "parallel", __, EBe), xBe(e); + e.registerComponentView(UVe), e.registerComponentModel(ZVe), e.registerCoordinateSystem("parallel", rBe), e.registerPreprocessor(zVe), e.registerComponentModel(__), e.registerComponentView(CBe), zf(e, "parallel", __, RBe), EBe(e); } -function RBe(e) { - er(XQ), e.registerChartView(OVe), e.registerSeriesModel(NVe), e.registerVisual(e.PRIORITY.VISUAL.BRUSH, BVe); +function PBe(e) { + er(XQ), e.registerChartView(LVe), e.registerSeriesModel(kVe), e.registerVisual(e.PRIORITY.VISUAL.BRUSH, HVe); } -var PBe = ( +var TBe = ( /** @class */ /* @__PURE__ */ function() { function e() { @@ -78877,7 +78873,7 @@ var PBe = ( } return e; }() -), TBe = ( +), _Be = ( /** @class */ function(e) { be(t, e); @@ -78885,7 +78881,7 @@ var PBe = ( return e.call(this, r) || this; } return t.prototype.getDefaultShape = function() { - return new PBe(); + return new TBe(); }, t.prototype.buildPath = function(r, n) { var i = n.extent; r.moveTo(n.x1, n.y1), r.bezierCurveTo(n.cpx1, n.cpy1, n.cpx2, n.cpy2, n.x2, n.y2), n.orient === "vertical" ? (r.lineTo(n.x2 + i, n.y2), r.bezierCurveTo(n.cpx2 + i, n.cpy2, n.cpx1 + i, n.cpy1, n.x1 + i, n.y1)) : (r.lineTo(n.x2, n.y2 + i), r.bezierCurveTo(n.cpx2, n.cpy2 + i, n.cpx1, n.cpy1 + i, n.x1, n.y1 + i)), r.closePath(); @@ -78895,7 +78891,7 @@ var PBe = ( Gl(this); }, t; }(nr) -), _Be = ( +), MBe = ( /** @class */ function(e) { be(t, e); @@ -78906,7 +78902,7 @@ var PBe = ( return t.prototype.render = function(r, n, i) { var o = this, a = r.getGraph(), s = this.group, l = r.layoutInfo, c = l.width, u = l.height, d = r.getData(), h = r.getData("edge"), f = r.get("orient"); this._model = r, s.removeAll(), s.x = l.x, s.y = l.y, a.eachEdge(function(p) { - var g = new TBe(), v = Nt(g); + var g = new _Be(), v = Nt(g); v.dataIndex = p.dataIndex, v.seriesIndex = r.seriesIndex, v.dataType = "edge"; var m = p.getModel(), y = m.getModel("lineStyle"), C = y.get("curveness"), S = p.node1.getLayout(), w = p.node1.getModel(), x = w.get("localX"), E = w.get("localY"), R = p.node2.getLayout(), P = p.node2.getModel(), T = P.get("localX"), _ = P.get("localY"), D = p.getLayout(), A, M, O, F, k, N, $, I; g.shape.extent = Math.max(1, D.dy), g.shape.orient = f, f === "vertical" ? (A = (x != null ? x * c : S.x) + D.sy, M = (E != null ? E * u : S.y) + S.dy, O = (T != null ? T * c : R.x) + D.ty, F = _ != null ? _ * u : R.y, k = A, N = M * (1 - C) + F * C, $ = O, I = M * C + F * (1 - C)) : (A = (x != null ? x * c : S.x) + S.dx, M = (E != null ? E * u : S.y) + D.sy, O = T != null ? T * c : R.x, F = (_ != null ? _ * u : R.y) + D.ty, k = A * (1 - C) + O * C, N = M, $ = A * C + O * (1 - C), I = F), g.setShape({ @@ -78983,7 +78979,7 @@ var PBe = ( }, p.ondragend = function() { o._focusAdjacencyDisabled = !1; }, p.draggable = !0, p.cursor = "move"); - }), !this._data && r.isAnimationEnabled() && s.setClipPath(MBe(s.getBoundingRect(), r, function() { + }), !this._data && r.isAnimationEnabled() && s.setClipPath(DBe(s.getBoundingRect(), r, function() { s.removeClipPath(); })), this._data = r.getData(); }, t.prototype.dispose = function() { @@ -79009,7 +79005,7 @@ function u3(e, t, r) { }])); } } -function MBe(e, t, r) { +function DBe(e, t, r) { var n = new vr({ shape: { x: e.x - 10, @@ -79024,7 +79020,7 @@ function MBe(e, t, r) { } }, t, r), n; } -var DBe = ( +var IBe = ( /** @class */ function(e) { be(t, e); @@ -79142,28 +79138,28 @@ var DBe = ( }, t; }(Ur) ); -function IBe(e, t) { +function ABe(e, t) { e.eachSeriesByType("sankey", function(r) { - var n = r.get("nodeWidth"), i = r.get("nodeGap"), o = ABe(r, t); + var n = r.get("nodeWidth"), i = r.get("nodeGap"), o = OBe(r, t); r.layoutInfo = o; var a = o.width, s = o.height, l = r.getGraph(), c = l.nodes, u = l.edges; - LBe(c); + FBe(c); var d = kr(c, function(g) { return g.getLayout().value === 0; }), h = d.length !== 0 ? 0 : r.get("layoutIterations"), f = r.get("orient"), p = r.get("nodeAlign"); - OBe(c, u, n, i, a, s, h, f, p); + LBe(c, u, n, i, a, s, h, f, p); }); } -function ABe(e, t) { +function OBe(e, t) { return Kn(e.getBoxLayoutParams(), { width: t.getWidth(), height: t.getHeight() }); } -function OBe(e, t, r, n, i, o, a, s, l) { - FBe(e, t, r, i, o, s, l), VBe(e, t, o, i, n, a, s), ZBe(e, s); +function LBe(e, t, r, n, i, o, a, s, l) { + NBe(e, t, r, i, o, s, l), BBe(e, t, o, i, n, a, s), YBe(e, s); } -function LBe(e) { +function FBe(e) { z(e, function(t) { var r = Ic(t.outEdges, iS), n = Ic(t.inEdges, iS), i = t.getValue() || 0, o = Math.max(r, n, i); t.setLayout({ @@ -79171,7 +79167,7 @@ function LBe(e) { }, !0); }); } -function FBe(e, t, r, n, i, o, a) { +function NBe(e, t, r, n, i, o, a) { for (var s = [], l = [], c = [], u = [], d = 0, h = 0; h < t.length; h++) s[h] = 1; for (var h = 0; h < e.length; h++) @@ -79199,15 +79195,15 @@ function FBe(e, t, r, n, i, o, a) { if (s[h] === 1) throw new Error("Sankey is a DAG, the original data has cycle!"); var E = f > d - 1 ? f : d - 1; - a && a !== "left" && NBe(e, a, o, E); + a && a !== "left" && kBe(e, a, o, E); var R = o === "vertical" ? (i - r) / E : (n - r) / E; - $Be(e, R, o); + VBe(e, R, o); } function QQ(e) { var t = e.hostGraph.data.getRawDataItem(e.dataIndex); return t.depth != null && t.depth >= 0; } -function NBe(e, t, r, n) { +function kBe(e, t, r, n) { if (t === "right") { for (var i = [], o = e, a = 0; o.length; ) { for (var s = 0; s < o.length; s++) { @@ -79227,16 +79223,16 @@ function NBe(e, t, r, n) { depth: Math.max(0, n - d.getLayout().skNodeHeight) }, !0); }); - } else t === "justify" && kBe(e, n); + } else t === "justify" && $Be(e, n); } -function kBe(e, t) { +function $Be(e, t) { z(e, function(r) { !QQ(r) && !r.outEdges.length && r.setLayout({ depth: t }, !0); }); } -function $Be(e, t, r) { +function VBe(e, t, r) { z(e, function(n) { var i = n.getLayout().depth * t; r === "vertical" ? n.setLayout({ @@ -79246,13 +79242,13 @@ function $Be(e, t, r) { }, !0); }); } -function VBe(e, t, r, n, i, o, a) { - var s = BBe(e, a); - HBe(s, t, r, n, i, a), CR(s, i, r, n, a); +function BBe(e, t, r, n, i, o, a) { + var s = HBe(e, a); + zBe(s, t, r, n, i, a), CR(s, i, r, n, a); for (var l = 1; o > 0; o--) - l *= 0.99, zBe(s, l, a), CR(s, i, r, n, a), KBe(s, l, a), CR(s, i, r, n, a); + l *= 0.99, GBe(s, l, a), CR(s, i, r, n, a), ZBe(s, l, a), CR(s, i, r, n, a); } -function BBe(e, t) { +function HBe(e, t) { var r = [], n = t === "vertical" ? "y" : "x", i = OT(e, function(o) { return o.getLayout()[n]; }); @@ -79262,7 +79258,7 @@ function BBe(e, t) { r.push(i.buckets.get(o)); }), r; } -function HBe(e, t, r, n, i, o) { +function zBe(e, t, r, n, i, o) { var a = 1 / 0; z(e, function(s) { var l = s.length, c = 0; @@ -79319,14 +79315,14 @@ function CR(e, t, r, n, i) { } }); } -function zBe(e, t, r) { +function GBe(e, t, r) { z(e.slice().reverse(), function(n) { z(n, function(i) { if (i.outEdges.length) { - var o = Ic(i.outEdges, GBe, r) / Ic(i.outEdges, iS); + var o = Ic(i.outEdges, WBe, r) / Ic(i.outEdges, iS); if (isNaN(o)) { var a = i.outEdges.length; - o = a ? Ic(i.outEdges, WBe, r) / a : 0; + o = a ? Ic(i.outEdges, jBe, r) / a : 0; } if (r === "vertical") { var s = i.getLayout().x + (o - Uc(i, r)) * t; @@ -79343,16 +79339,16 @@ function zBe(e, t, r) { }); }); } -function GBe(e, t) { +function WBe(e, t) { return Uc(e.node2, t) * e.getValue(); } -function WBe(e, t) { +function jBe(e, t) { return Uc(e.node2, t); } -function jBe(e, t) { +function UBe(e, t) { return Uc(e.node1, t) * e.getValue(); } -function UBe(e, t) { +function KBe(e, t) { return Uc(e.node1, t); } function Uc(e, t) { @@ -79368,14 +79364,14 @@ function Ic(e, t, r) { } return n; } -function KBe(e, t, r) { +function ZBe(e, t, r) { z(e, function(n) { z(n, function(i) { if (i.inEdges.length) { - var o = Ic(i.inEdges, jBe, r) / Ic(i.inEdges, iS); + var o = Ic(i.inEdges, UBe, r) / Ic(i.inEdges, iS); if (isNaN(o)) { var a = i.inEdges.length; - o = a ? Ic(i.inEdges, UBe, r) / a : 0; + o = a ? Ic(i.inEdges, KBe, r) / a : 0; } if (r === "vertical") { var s = i.getLayout().x + (o - Uc(i, r)) * t; @@ -79392,7 +79388,7 @@ function KBe(e, t, r) { }); }); } -function ZBe(e, t) { +function YBe(e, t) { var r = t === "vertical" ? "x" : "y"; z(e, function(n) { n.outEdges.sort(function(i, o) { @@ -79413,7 +79409,7 @@ function ZBe(e, t) { }); }); } -function YBe(e) { +function qBe(e) { e.eachSeriesByType("sankey", function(t) { var r = t.getGraph(), n = r.nodes, i = r.edges; if (n.length) { @@ -79441,8 +79437,8 @@ function YBe(e) { }); }); } -function qBe(e) { - e.registerChartView(_Be), e.registerSeriesModel(DBe), e.registerLayout(IBe), e.registerVisual(YBe), e.registerAction({ +function XBe(e) { + e.registerChartView(MBe), e.registerSeriesModel(IBe), e.registerLayout(ABe), e.registerVisual(qBe), e.registerAction({ type: "dragNode", event: "dragnode", // here can only use 'update' now, other value is not support in echarts. @@ -79546,7 +79542,7 @@ var JQ = ( }(Ur) ); On(eJ, JQ, !0); -var XBe = ( +var QBe = ( /** @class */ function(e) { be(t, e); @@ -79582,14 +79578,14 @@ var XBe = ( }); }, t.type = "boxplot", t; }(Vr) -), QBe = ( +), JBe = ( /** @class */ /* @__PURE__ */ function() { function e() { } return e; }() -), JBe = ( +), e3e = ( /** @class */ function(e) { be(t, e); @@ -79598,7 +79594,7 @@ var XBe = ( return n.type = "boxplotBoxPath", n; } return t.prototype.getDefaultShape = function() { - return new QBe(); + return new JBe(); }, t.prototype.buildPath = function(r, n) { var i = n.points, o = 0; for (r.moveTo(i[o][0], i[o][1]), o++; o < 4; o++) @@ -79609,9 +79605,9 @@ var XBe = ( }(nr) ); function d3(e, t, r, n, i) { - var o = e.ends, a = new JBe({ + var o = e.ends, a = new e3e({ shape: { - points: i ? e3e(o, n, e) : o + points: i ? t3e(o, n, e) : o } }); return tJ(e, a, t, r, i), a; @@ -79626,22 +79622,22 @@ function tJ(e, t, r, n, i) { var s = r.getItemModel(n), l = s.getModel("emphasis"); Pi(t, s), Pn(t, l.get("focus"), l.get("blurScope"), l.get("disabled")); } -function e3e(e, t, r) { +function t3e(e, t, r) { return Fe(e, function(n) { return n = n.slice(), n[t] = r.initBaseline, n; }); } var uv = z; -function t3e(e) { - var t = r3e(e); +function r3e(e) { + var t = n3e(e); uv(t, function(r) { var n = r.seriesModels; - n.length && (n3e(r), uv(n, function(i, o) { - i3e(i, r.boxOffsetList[o], r.boxWidthList[o]); + n.length && (i3e(r), uv(n, function(i, o) { + o3e(i, r.boxOffsetList[o], r.boxWidthList[o]); })); }); } -function r3e(e) { +function n3e(e) { var t = [], r = []; return e.eachSeriesByType("boxplot", function(n) { var i = n.getBaseAxis(), o = Yt(r, i); @@ -79651,7 +79647,7 @@ function r3e(e) { }), t[o].seriesModels.push(n); }), t; } -function n3e(e) { +function i3e(e) { var t = e.axis, r = e.seriesModels, n = r.length, i = e.boxWidthList = [], o = e.boxOffsetList = [], a = [], s; if (t.type === "category") s = t.getBandWidth(); @@ -79672,7 +79668,7 @@ function n3e(e) { o.push(f), f += d + h, i.push(Math.min(Math.max(h, a[g][0]), a[g][1])); }); } -function i3e(e, t, r) { +function o3e(e, t, r) { var n = e.coordinateSystem, i = e.getData(), o = r / 2, a = e.get("layout") === "horizontal" ? 0 : 1, s = 1 - a, l = ["x", "y"], c = i.mapDimension(l[a]), u = i.mapDimensionsAll(l[s]); if (c == null || u.length < 5) return; @@ -79698,7 +79694,7 @@ function i3e(e, t, r) { R[a] -= o, P[a] += o, x.push(R, P); } } -function o3e(e, t) { +function a3e(e, t) { t = t || {}; for (var r = [], n = [], i = t.boundIQR, o = i === "none" || i === 0, a = 0; a < e.length; a++) { var s = Bo(e[a].slice()), l = xC(s, 0.25), c = xC(s, 0.5), u = xC(s, 0.75), d = s[0], h = s[s.length - 1], f = (i ?? 1.5) * (u - l), p = o ? d : Math.max(d, l - f), g = o ? h : Math.min(h, u + f), v = t.itemNameFormatter, m = gt(v) ? v({ @@ -79718,7 +79714,7 @@ function o3e(e, t) { outliers: n }; } -var a3e = { +var s3e = { type: "echarts:boxplot", transform: function(t) { var r = t.upstream; @@ -79726,7 +79722,7 @@ var a3e = { var n = ""; process.env.NODE_ENV !== "production" && (n = io("source data is not applicable for this boxplot transform. Expect number[][].")), Ar(n); } - var i = o3e(r.getRawData(), t.config); + var i = a3e(r.getRawData(), t.config); return [{ dimensions: ["ItemName", "Low", "Q1", "Q2", "Q3", "High"], data: i.boxData @@ -79735,10 +79731,10 @@ var a3e = { }]; } }; -function s3e(e) { - e.registerSeriesModel(eJ), e.registerChartView(XBe), e.registerLayout(t3e), e.registerTransform(a3e); +function l3e(e) { + e.registerSeriesModel(eJ), e.registerChartView(QBe), e.registerLayout(r3e), e.registerTransform(s3e); } -var l3e = ["color", "borderColor"], c3e = ( +var c3e = ["color", "borderColor"], u3e = ( /** @class */ function(e) { be(t, e); @@ -79808,14 +79804,14 @@ var l3e = ["color", "borderColor"], c3e = ( this.group.removeAll(), this._data = null; }, t.type = "candlestick", t; }(Vr) -), u3e = ( +), d3e = ( /** @class */ /* @__PURE__ */ function() { function e() { } return e; }() -), d3e = ( +), h3e = ( /** @class */ function(e) { be(t, e); @@ -79824,7 +79820,7 @@ var l3e = ["color", "borderColor"], c3e = ( return n.type = "normalCandlestickBox", n; } return t.prototype.getDefaultShape = function() { - return new u3e(); + return new d3e(); }, t.prototype.buildPath = function(r, n) { var i = n.points; this.__simpleBox ? (r.moveTo(i[4][0], i[4][1]), r.lineTo(i[6][0], i[6][1])) : (r.moveTo(i[0][0], i[0][1]), r.lineTo(i[1][0], i[1][1]), r.lineTo(i[2][0], i[2][1]), r.lineTo(i[3][0], i[3][1]), r.closePath(), r.moveTo(i[4][0], i[4][1]), r.lineTo(i[5][0], i[5][1]), r.moveTo(i[6][0], i[6][1]), r.lineTo(i[7][0], i[7][1])); @@ -79833,9 +79829,9 @@ var l3e = ["color", "borderColor"], c3e = ( ); function bR(e, t, r) { var n = e.ends; - return new d3e({ + return new h3e({ shape: { - points: r ? h3e(n, e) : n + points: r ? f3e(n, e) : n }, z2: 100 }); @@ -79852,12 +79848,12 @@ function SR(e, t, r, n) { var i = t.getItemModel(r); e.useStyle(t.getItemVisual(r, "style")), e.style.strokeNoScale = !0, e.__simpleBox = n, Pi(e, i); } -function h3e(e, t) { +function f3e(e, t) { return Fe(e, function(r) { return r = r.slice(), r[1] = t.initBaseline, r; }); } -var f3e = ( +var p3e = ( /** @class */ /* @__PURE__ */ function() { function e() { @@ -79873,7 +79869,7 @@ var f3e = ( return n.type = "largeCandlestickBox", n; } return t.prototype.getDefaultShape = function() { - return new f3e(); + return new p3e(); }, t.prototype.buildPath = function(r, n) { for (var i = n.points, o = 0; o < i.length; ) if (this.__sign === i[o++]) { @@ -79913,7 +79909,7 @@ function f3(e, t, r, n) { function xR(e, t, r, n) { var i = r.get(["itemStyle", e > 0 ? "borderColor" : "borderColor0"]) || r.get(["itemStyle", e > 0 ? "color" : "color0"]); e === 0 && (i = r.get(["itemStyle", "borderColorDoji"])); - var o = r.getModel("itemStyle").getItemStyle(l3e); + var o = r.getModel("itemStyle").getItemStyle(c3e); t.useStyle(o), t.style.fill = null, t.style.stroke = i; } var rJ = ( @@ -79980,22 +79976,22 @@ var rJ = ( }(Ur) ); On(rJ, JQ, !0); -function p3e(e) { +function g3e(e) { !e || !Ae(e.series) || z(e.series, function(t) { St(t) && t.type === "k" && (t.type = "candlestick"); }); } -var g3e = ["itemStyle", "borderColor"], v3e = ["itemStyle", "borderColor0"], m3e = ["itemStyle", "borderColorDoji"], y3e = ["itemStyle", "color"], C3e = ["itemStyle", "color0"], b3e = { +var v3e = ["itemStyle", "borderColor"], m3e = ["itemStyle", "borderColor0"], y3e = ["itemStyle", "borderColorDoji"], C3e = ["itemStyle", "color"], b3e = ["itemStyle", "color0"], S3e = { seriesType: "candlestick", plan: bp(), // For legend. performRawSeries: !0, reset: function(e, t) { function r(o, a) { - return a.get(o > 0 ? y3e : C3e); + return a.get(o > 0 ? C3e : b3e); } function n(o, a) { - return a.get(o === 0 ? m3e : o > 0 ? g3e : v3e); + return a.get(o === 0 ? y3e : o > 0 ? v3e : m3e); } if (!t.isSeriesFiltered(e)) { var i = e.pipelineContext.large; @@ -80011,11 +80007,11 @@ var g3e = ["itemStyle", "borderColor"], v3e = ["itemStyle", "borderColor0"], m3e }; } } -}, S3e = { +}, w3e = { seriesType: "candlestick", plan: bp(), reset: function(e) { - var t = e.coordinateSystem, r = e.getData(), n = w3e(e, r), i = 0, o = 1, a = ["x", "y"], s = r.getDimensionIndex(r.mapDimension(a[i])), l = Fe(r.mapDimensionsAll(a[o]), r.getDimensionIndex, r), c = l[0], u = l[1], d = l[2], h = l[3]; + var t = e.coordinateSystem, r = e.getData(), n = x3e(e, r), i = 0, o = 1, a = ["x", "y"], s = r.getDimensionIndex(r.mapDimension(a[i])), l = Fe(r.mapDimensionsAll(a[o]), r.getDimensionIndex, r), c = l[0], u = l[1], d = l[2], h = l[3]; if (r.setLayout({ candleWidth: n, // The value is experimented visually. @@ -80075,12 +80071,12 @@ function p3(e, t, r, n, i, o) { var a; return r > n ? a = -1 : r < n ? a = 1 : a = o ? 0 : t > 0 ? e.get(i, t - 1) <= n ? 1 : -1 : 1, a; } -function w3e(e, t) { +function x3e(e, t) { var r = e.getBaseAxis(), n, i = r.type === "category" ? r.getBandWidth() : (n = r.getExtent(), Math.abs(n[1] - n[0]) / t.count()), o = Xe($t(e.get("barMaxWidth"), i), i), a = Xe($t(e.get("barMinWidth"), 1), i), s = e.get("barWidth"); return s != null ? Xe(s, i) : Math.max(Math.min(i / 2, o), a); } -function x3e(e) { - e.registerChartView(c3e), e.registerSeriesModel(rJ), e.registerPreprocessor(p3e), e.registerVisual(b3e), e.registerLayout(S3e); +function E3e(e) { + e.registerChartView(u3e), e.registerSeriesModel(rJ), e.registerPreprocessor(g3e), e.registerVisual(S3e), e.registerLayout(w3e); } function g3(e, t) { var r = t.rippleEffectColor || t.color; @@ -80095,7 +80091,7 @@ function g3(e, t) { }); }); } -var E3e = ( +var R3e = ( /** @class */ function(e) { be(t, e); @@ -80161,7 +80157,7 @@ var E3e = ( r && r(); }, t; }(Lt) -), R3e = ( +), P3e = ( /** @class */ function(e) { be(t, e); @@ -80170,7 +80166,7 @@ var E3e = ( return r.type = t.type, r; } return t.prototype.init = function() { - this._symbolDraw = new oy(E3e); + this._symbolDraw = new oy(R3e); }, t.prototype.render = function(r, n, i) { var o = r.getData(), a = this._symbolDraw; a.updateData(o, { @@ -80195,7 +80191,7 @@ var E3e = ( this._symbolDraw && this._symbolDraw.remove(!0); }, t.type = "effectScatter", t; }(Vr) -), P3e = ( +), T3e = ( /** @class */ function(e) { be(t, e); @@ -80249,8 +80245,8 @@ var E3e = ( }, t; }(Ur) ); -function T3e(e) { - e.registerChartView(R3e), e.registerSeriesModel(P3e), e.registerLayout(sy("effectScatter")); +function _3e(e) { + e.registerChartView(P3e), e.registerSeriesModel(T3e), e.registerLayout(sy("effectScatter")); } var nJ = ( /** @class */ @@ -80345,7 +80341,7 @@ var nJ = ( i.setShape("points", r.getItemLayout(n)); }, t; }(Lt) -), _3e = ( +), M3e = ( /** @class */ function(e) { be(t, e); @@ -80391,7 +80387,7 @@ var nJ = ( } }, t; }(nJ) -), M3e = ( +), D3e = ( /** @class */ /* @__PURE__ */ function() { function e() { @@ -80399,7 +80395,7 @@ var nJ = ( } return e; }() -), D3e = ( +), I3e = ( /** @class */ function(e) { be(t, e); @@ -80415,7 +80411,7 @@ var nJ = ( fill: null }; }, t.prototype.getDefaultShape = function() { - return new M3e(); + return new D3e(); }, t.prototype.buildPath = function(r, n) { var i = n.segs, o = n.curveness, a; if (n.polyline) @@ -80481,7 +80477,7 @@ var nJ = ( return r; }, t; }(nr) -), I3e = ( +), A3e = ( /** @class */ function() { function e() { @@ -80514,7 +80510,7 @@ var nJ = ( }, e.prototype.eachRendered = function(t) { this._newAdded[0] && t(this._newAdded[0]); }, e.prototype._create = function() { - var t = new D3e({ + var t = new I3e({ cursor: "default", ignoreCoarsePointer: !0 }); @@ -80581,7 +80577,7 @@ var nJ = ( } }; } -}, A3e = ( +}, O3e = ( /** @class */ function(e) { be(t, e); @@ -80620,7 +80616,7 @@ var nJ = ( }, o), this._lineDraw.updateLayout(), this._clearLayer(i); }, t.prototype._updateLineDraw = function(r, n) { var i = this._lineDraw, o = this._showEffect(n), a = !!n.get("polyline"), s = n.pipelineContext, l = s.large; - return process.env.NODE_ENV !== "production" && o && l && console.warn("Large lines not support effect"), (!i || o !== this._hasEffet || a !== this._isPolyline || l !== this._isLargeDraw) && (i && i.remove(), i = this._lineDraw = l ? new I3e() : new nO(a ? o ? _3e : iJ : o ? nJ : rO), this._hasEffet = o, this._isPolyline = a, this._isLargeDraw = l), this.group.add(i.group), i; + return process.env.NODE_ENV !== "production" && o && l && console.warn("Large lines not support effect"), (!i || o !== this._hasEffet || a !== this._isPolyline || l !== this._isLargeDraw) && (i && i.remove(), i = this._lineDraw = l ? new A3e() : new nO(a ? o ? M3e : iJ : o ? nJ : rO), this._hasEffet = o, this._isPolyline = a, this._isLargeDraw = l), this.group.add(i.group), i; }, t.prototype._showEffect = function(r) { return !!r.get(["effect", "show"]); }, t.prototype._clearLayer = function(r) { @@ -80632,7 +80628,7 @@ var nJ = ( this.remove(r, n); }, t.type = "lines", t; }(Vr) -), O3e = typeof Uint32Array > "u" ? Array : Uint32Array, L3e = typeof Float64Array > "u" ? Array : Float64Array; +), L3e = typeof Uint32Array > "u" ? Array : Uint32Array, F3e = typeof Float64Array > "u" ? Array : Float64Array; function v3(e) { var t = e.data; t && t[0] && t[0][0] && t[0][0].coord && (process.env.NODE_ENV !== "production" && console.warn("Lines data configuration has been changed to { coords:[[1,2],[2,3]] }"), e.data = Fe(t, function(r) { @@ -80642,7 +80638,7 @@ function v3(e) { return r[0].name && (i.fromName = r[0].name), r[1].name && (i.toName = r[1].name), y1([i, r[0], r[1]]); })); } -var F3e = ( +var N3e = ( /** @class */ function(e) { be(t, e); @@ -80683,7 +80679,7 @@ var F3e = ( }, t.prototype._processFlatCoordsArray = function(r) { var n = 0; if (this._flatCoords && (n = this._flatCoords.length), br(r[0])) { - for (var i = r.length, o = new O3e(i), a = new L3e(i), s = 0, l = 0, c = 0, u = 0; u < i; ) { + for (var i = r.length, o = new L3e(i), a = new F3e(i), s = 0, l = 0, c = 0, u = 0; u < i; ) { c++; var d = r[u++]; o[l++] = s + n, o[l++] = d; @@ -80779,7 +80775,7 @@ var F3e = ( function N0(e) { return e instanceof Array || (e = [e, e]), e; } -var N3e = { +var k3e = { seriesType: "lines", reset: function(e) { var t = N0(e.get("symbol")), r = N0(e.get("symbolSize")), n = e.getData(); @@ -80793,10 +80789,10 @@ var N3e = { }; } }; -function k3e(e) { - e.registerChartView(A3e), e.registerSeriesModel(F3e), e.registerLayout(oJ), e.registerVisual(N3e); +function $3e(e) { + e.registerChartView(O3e), e.registerSeriesModel(N3e), e.registerLayout(oJ), e.registerVisual(k3e); } -var $3e = 256, V3e = ( +var V3e = 256, B3e = ( /** @class */ function() { function e() { @@ -80817,7 +80813,7 @@ var $3e = 256, V3e = ( if (!d.width || !d.height) return d; for (var S = h.getImageData(0, 0, d.width, d.height), w = S.data, x = 0, E = w.length, R = this.minOpacity, P = this.maxOpacity, T = P - R; x < E; ) { - var C = w[x + 3] / 256, _ = Math.floor(C * ($3e - 1)) * 4; + var C = w[x + 3] / 256, _ = Math.floor(C * (V3e - 1)) * 4; if (C > 0) { var D = a(C) ? l : c; C > 0 && (C = C * T + R), w[x++] = D[_], w[x++] = D[_ + 1], w[x++] = D[_ + 2], w[x++] = D[_ + 3] * C * 256; @@ -80837,7 +80833,7 @@ var $3e = 256, V3e = ( }, e; }() ); -function B3e(e, t, r) { +function H3e(e, t, r) { var n = e[1] - e[0]; t = Fe(t, function(a) { return { @@ -80865,7 +80861,7 @@ function B3e(e, t, r) { return s >= 0 && s < i && r[s]; }; } -function H3e(e, t) { +function z3e(e, t) { var r = e[1] - e[0]; return t = [(t[0] - e[0]) / r, (t[1] - e[0]) / r], function(n) { return n >= t[0] && n <= t[1]; @@ -80875,7 +80871,7 @@ function m3(e) { var t = e.dimensions; return t[0] === "lng" && t[1] === "lat"; } -var z3e = ( +var G3e = ( /** @class */ function(e) { be(t, e); @@ -80952,14 +80948,14 @@ var z3e = ( }), D.ensureState("emphasis").style = m, D.ensureState("blur").style = y, D.ensureState("select").style = C, Pn(D, E, R, P), D.incremental = a, a && (D.states.emphasis.hoverLayer = !0), g.add(D), v.setItemGraphicEl(_, D), this._progressiveEls && this._progressiveEls.push(D); } }, t.prototype._renderOnGeo = function(r, n, i, o) { - var a = i.targetVisuals.inRange, s = i.targetVisuals.outOfRange, l = n.getData(), c = this._hmLayer || this._hmLayer || new V3e(); + var a = i.targetVisuals.inRange, s = i.targetVisuals.outOfRange, l = n.getData(), c = this._hmLayer || this._hmLayer || new B3e(); c.blurSize = n.get("blurSize"), c.pointSize = n.get("pointSize"), c.minOpacity = n.get("minOpacity"), c.maxOpacity = n.get("maxOpacity"); var u = r.getViewRect().clone(), d = r.getRoamTransform(); u.applyTransform(d); var h = Math.max(u.x, 0), f = Math.max(u.y, 0), p = Math.min(u.width + u.x, o.getWidth()), g = Math.min(u.height + u.y, o.getHeight()), v = p - h, m = g - f, y = [l.mapDimension("lng"), l.mapDimension("lat"), l.mapDimension("value")], C = l.mapArray(y, function(E, R, P) { var T = r.dataToPoint([E, R]); return T[0] -= h, T[1] -= f, T.push(P), T; - }), S = i.getExtent(), w = i.type === "visualMap.continuous" ? H3e(S, i.option.range) : B3e(S, i.getPieceList(), i.option.selected); + }), S = i.getExtent(), w = i.type === "visualMap.continuous" ? z3e(S, i.option.range) : H3e(S, i.getPieceList(), i.option.selected); c.update(C, v, m, a.color.getNormalizer(), { inRange: a.color.getColorMapper(), outOfRange: s.color.getColorMapper() @@ -80977,7 +80973,7 @@ var z3e = ( this.group.add(x); }, t.type = "heatmap", t; }(Vr) -), G3e = ( +), W3e = ( /** @class */ function(e) { be(t, e); @@ -81014,10 +81010,10 @@ var z3e = ( }, t; }(Ur) ); -function W3e(e) { - e.registerChartView(z3e), e.registerSeriesModel(G3e); +function j3e(e) { + e.registerChartView(G3e), e.registerSeriesModel(W3e); } -var j3e = ["itemStyle", "borderWidth"], y3 = [{ +var U3e = ["itemStyle", "borderWidth"], y3 = [{ xy: "x", wh: "width", index: 0, @@ -81027,7 +81023,7 @@ var j3e = ["itemStyle", "borderWidth"], y3 = [{ wh: "height", index: 1, posDesc: ["top", "bottom"] -}], ER = new Ql(), U3e = ( +}], ER = new Ql(), K3e = ( /** @class */ function(e) { be(t, e); @@ -81060,7 +81056,7 @@ var j3e = ["itemStyle", "borderWidth"], y3 = [{ return; } var m = b3(a, p), y = C3(a, p, m, h), C = dJ(a, y); - v && C !== v.__pictorialShapeStr && (o.remove(v), a.setItemGraphicEl(p, null), v = null), v ? J3e(v, h, y) : v = S3(a, h, y, !0), a.setItemGraphicEl(p, v), v.__pictorialSymbolMeta = y, o.add(v), x3(v, h, y); + v && C !== v.__pictorialShapeStr && (o.remove(v), a.setItemGraphicEl(p, null), v = null), v ? e5e(v, h, y) : v = S3(a, h, y, !0), a.setItemGraphicEl(p, v), v.__pictorialSymbolMeta = y, o.add(v), x3(v, h, y); }).remove(function(p) { var g = s.getItemGraphicEl(p); g && w3(s, p, g.__pictorialSymbolMeta.animationModel, g); @@ -81091,11 +81087,11 @@ function C3(e, t, r, n) { hoverScale: d && r.get(["emphasis", "scale"]), z2: r.getShallow("z", !0) || 0 }; - K3e(r, o, i, n, h), Z3e(e, t, i, o, a, h.boundingLength, h.pxSign, u, n, h), Y3e(r, h.symbolScale, c, n, h); + Z3e(r, o, i, n, h), Y3e(e, t, i, o, a, h.boundingLength, h.pxSign, u, n, h), q3e(r, h.symbolScale, c, n, h); var f = h.symbolSize, p = Qd(r.get("symbolOffset"), f); - return q3e(r, f, i, o, a, p, s, h.valueLineWidth, h.boundingLength, h.repeatCutLength, n, h), h; + return X3e(r, f, i, o, a, p, s, h.valueLineWidth, h.boundingLength, h.repeatCutLength, n, h), h; } -function K3e(e, t, r, n, i) { +function Z3e(e, t, r, n, i) { var o = n.valueDim, a = e.get("symbolBoundingData"), s = n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()), l = s.toGlobalCoord(s.dataToCoord(0)), c = 1 - +(r[o.wh] <= 0), u; if (Ae(a)) { var d = [RR(s, a[0]) - l, RR(s, a[1]) - l]; @@ -81106,21 +81102,21 @@ function K3e(e, t, r, n, i) { function RR(e, t) { return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t))); } -function Z3e(e, t, r, n, i, o, a, s, l, c) { +function Y3e(e, t, r, n, i, o, a, s, l, c) { var u = l.valueDim, d = l.categoryDim, h = Math.abs(r[d.wh]), f = e.getItemVisual(t, "symbolSize"), p; Ae(f) ? p = f.slice() : f == null ? p = ["100%", "100%"] : p = [f, f], p[d.index] = Xe(p[d.index], h), p[u.index] = Xe(p[u.index], n ? h : Math.abs(o)), c.symbolSize = p; var g = c.symbolScale = [p[0] / s, p[1] / s]; g[u.index] *= (l.isHorizontal ? -1 : 1) * a; } -function Y3e(e, t, r, n, i) { - var o = e.get(j3e) || 0; +function q3e(e, t, r, n, i) { + var o = e.get(U3e) || 0; o && (ER.attr({ scaleX: t[0], scaleY: t[1], rotation: r }), ER.updateTransform(), o /= ER.getLineScale(), o *= t[n.valueDim.index]), i.valueLineWidth = o || 0; } -function q3e(e, t, r, n, i, o, a, s, l, c, u, d) { +function X3e(e, t, r, n, i, o, a, s, l, c, u, d) { var h = u.categoryDim, f = u.valueDim, p = d.pxSign, g = Math.max(t[f.index] + s, 0), v = g; if (n) { var m = Math.abs(l), y = Bn(e.get("symbolMargin"), "15%") + "", C = !1; @@ -81241,22 +81237,22 @@ function uJ(e, t, r, n) { } function b3(e, t) { var r = e.getItemModel(t); - return r.getAnimationDelayParams = X3e, r.isAnimationEnabled = Q3e, r; + return r.getAnimationDelayParams = Q3e, r.isAnimationEnabled = J3e, r; } -function X3e(e) { +function Q3e(e) { return { index: e.__pictorialAnimationIndex, count: e.__pictorialRepeatTimes }; } -function Q3e() { +function J3e() { return this.parentModel.isAnimationEnabled() && !!this.getShallow("animation"); } function S3(e, t, r, n) { var i = new Lt(), o = new Lt(); return i.add(o), i.__pictorialBundle = o, o.x = r.bundlePosition[0], o.y = r.bundlePosition[1], r.symbolRepeat ? sJ(i, t, r) : lJ(i, t, r), cJ(i, r, n), uJ(i, t, r, n), i.__pictorialShapeStr = dJ(e, r), i.__pictorialSymbolMeta = r, i; } -function J3e(e, t, r) { +function e5e(e, t, r) { var n = r.animationModel, i = r.dataIndex, o = e.__pictorialBundle; wr(o, { x: r.bundlePosition[0], @@ -81321,7 +81317,7 @@ function E3(e) { var t = Math.round(e); return Math.abs(e - t) < 1e-4 ? t : Math.ceil(e); } -var e5e = ( +var t5e = ( /** @class */ function(e) { be(t, e); @@ -81363,10 +81359,10 @@ var e5e = ( }), t; }(rm) ); -function t5e(e) { - e.registerChartView(U3e), e.registerSeriesModel(e5e), e.registerLayout(e.PRIORITY.VISUAL.LAYOUT, Bt(Kq, "pictorialBar")), e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT, Zq("pictorialBar")); +function r5e(e) { + e.registerChartView(K3e), e.registerSeriesModel(t5e), e.registerLayout(e.PRIORITY.VISUAL.LAYOUT, Bt(Kq, "pictorialBar")), e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT, Zq("pictorialBar")); } -var r5e = ( +var n5e = ( /** @class */ function(e) { be(t, e); @@ -81404,7 +81400,7 @@ var r5e = ( smoothConstraint: !1 }, z2: 0 - }), N.add(A), s.add(N), r.isAnimationEnabled() && A.setClipPath(n5e(A.getBoundingRect(), r, function() { + }), N.add(A), s.add(N), r.isAnimationEnabled() && A.setClipPath(i5e(A.getBoundingRect(), r, function() { A.removeClipPath(); })); } else { @@ -81436,7 +81432,7 @@ var r5e = ( }, t.type = "themeRiver", t; }(Vr) ); -function n5e(e, t, r) { +function i5e(e, t, r) { var n = new vr({ shape: { x: e.x - 10, @@ -81453,7 +81449,7 @@ function n5e(e, t, r) { } }, t, r), n; } -var PR = 2, i5e = ( +var PR = 2, o5e = ( /** @class */ function(e) { be(t, e); @@ -81563,7 +81559,7 @@ var PR = 2, i5e = ( }, t; }(Ur) ); -function o5e(e, t) { +function a5e(e, t) { e.eachSeriesByType("themeRiver", function(r) { var n = r.getData(), i = r.coordinateSystem, o = {}, a = i.getRect(); o.rect = a; @@ -81587,7 +81583,7 @@ function R3(e, t, r) { var y = n.dataToPoint(e.get(o, m)); return y[1] = e.get(a, m), y; }); - }), l = a5e(s), c = l.y0, u = r / l.max, d = i.length, h = i[0].indices.length, f, p = 0; p < h; ++p) { + }), l = s5e(s), c = l.y0, u = r / l.max, d = i.length, h = i[0].indices.length, f, p = 0; p < h; ++p) { f = c[p] * u, e.setItemLayout(i[0].indices[p], { layerIndex: 0, x: s[0][p][0], @@ -81603,7 +81599,7 @@ function R3(e, t, r) { }); } } -function a5e(e) { +function s5e(e) { for (var t = e.length, r = e[0].length, n = [], i = [], o = 0, a = 0; a < r; ++a) { for (var s = 0, l = 0; l < t; ++l) s += e[l][a][1]; @@ -81621,20 +81617,20 @@ function a5e(e) { max: o }; } -function s5e(e) { - e.registerChartView(r5e), e.registerSeriesModel(i5e), e.registerLayout(o5e), e.registerProcessor(ly("themeRiver")); +function l5e(e) { + e.registerChartView(n5e), e.registerSeriesModel(o5e), e.registerLayout(a5e), e.registerProcessor(ly("themeRiver")); } -var l5e = 2, c5e = 4, P3 = ( +var c5e = 2, u5e = 4, P3 = ( /** @class */ function(e) { be(t, e); function t(r, n, i, o) { var a = e.call(this) || this; - a.z2 = l5e, a.textConfig = { + a.z2 = c5e, a.textConfig = { inside: !0 }, Nt(a).seriesIndex = n.seriesIndex; var s = new gr({ - z2: c5e, + z2: u5e, silent: r.getModel().get(["label", "silent"]) }); return a.setTextContent(s), a.updateData(!0, r, n, i, o), a; @@ -81690,8 +81686,8 @@ var l5e = 2, c5e = 4, P3 = ( h.dirtyStyle(); }, t; }(ao) -), L_ = "sunburstRootToNode", T3 = "sunburstHighlight", u5e = "sunburstUnhighlight"; -function d5e(e) { +), L_ = "sunburstRootToNode", T3 = "sunburstHighlight", d5e = "sunburstUnhighlight"; +function h5e(e) { e.registerAction({ type: L_, update: "updateView" @@ -81725,7 +81721,7 @@ function d5e(e) { type: "highlight" })); }), e.registerAction({ - type: u5e, + type: d5e, update: "updateView" }, function(t, r, n) { t = Pe({}, t), process.env.NODE_ENV !== "production" && $n("sunburstUnhighlight", "downplay"), n.dispatchAction(Pe(t, { @@ -81733,7 +81729,7 @@ function d5e(e) { })); }); } -var h5e = ( +var f5e = ( /** @class */ function(e) { be(t, e); @@ -81815,7 +81811,7 @@ var h5e = ( } }, t.type = "sunburst", t; }(Vr) -), f5e = ( +), p5e = ( /** @class */ function(e) { be(t, e); @@ -81934,7 +81930,7 @@ function hJ(e) { Ae(r) && (r = r[0]), (r == null || isNaN(r)) && (r = t), r < 0 && (r = 0), Ae(e.value) ? e.value[0] = r : e.value = r; } var _3 = Math.PI / 180; -function p5e(e, t, r) { +function g5e(e, t, r) { t.eachSeriesByType(e, function(n) { var i = n.get("center"), o = n.get("radius"); Ae(o) || (o = [0, o]), Ae(i) || (i = [i, i]); @@ -81993,11 +81989,11 @@ function p5e(e, t, r) { } function fJ(e, t) { var r = e.children || []; - e.children = g5e(r, t), r.length && z(e.children, function(n) { + e.children = v5e(r, t), r.length && z(e.children, function(n) { fJ(n, t); }); } -function g5e(e, t) { +function v5e(e, t) { if (gt(t)) { var r = Fe(e, function(i, o) { var a = i.getValue(); @@ -82026,7 +82022,7 @@ function g5e(e, t) { }); } } -function v5e(e) { +function m5e(e) { var t = {}; function r(n, i, o) { for (var a = n; a && a.depth > 1; ) @@ -82044,13 +82040,13 @@ function v5e(e) { }); }); } -function m5e(e) { - e.registerChartView(h5e), e.registerSeriesModel(f5e), e.registerLayout(Bt(p5e, "sunburst")), e.registerProcessor(Bt(ly, "sunburst")), e.registerVisual(v5e), d5e(e); +function y5e(e) { + e.registerChartView(f5e), e.registerSeriesModel(p5e), e.registerLayout(Bt(g5e, "sunburst")), e.registerProcessor(Bt(ly, "sunburst")), e.registerVisual(m5e), h5e(e); } var M3 = { color: "fill", borderColor: "stroke" -}, y5e = { +}, C5e = { symbol: 1, symbolSize: 1, symbolKeepAspect: 1, @@ -82058,7 +82054,7 @@ var M3 = { visualMeta: 1, liftZ: 1, decal: 1 -}, Al = Cr(), C5e = ( +}, Al = Cr(), b5e = ( /** @class */ function(e) { be(t, e); @@ -82092,13 +82088,13 @@ var M3 = { }, t; }(Ur) ); -function b5e(e, t) { +function S5e(e, t) { return t = t || [0, 0], Fe(["x", "y"], function(r, n) { var i = this.getAxis(r), o = t[n], a = e[n] / 2; return i.type === "category" ? i.getBandWidth() : Math.abs(i.dataToCoord(o - a) - i.dataToCoord(o + a)); }, this); } -function S5e(e) { +function w5e(e) { var t = e.master.getRect(); return { coordSys: { @@ -82113,17 +82109,17 @@ function S5e(e) { coord: function(r) { return e.dataToPoint(r); }, - size: at(b5e, e) + size: at(S5e, e) } }; } -function w5e(e, t) { +function x5e(e, t) { return t = t || [0, 0], Fe([0, 1], function(r) { var n = t[r], i = e[r] / 2, o = [], a = []; return o[r] = n - i, a[r] = n + i, o[1 - r] = a[1 - r] = t[1 - r], Math.abs(this.dataToPoint(o)[r] - this.dataToPoint(a)[r]); }, this); } -function x5e(e) { +function E5e(e) { var t = e.getBoundingRect(); return { coordSys: { @@ -82138,15 +82134,15 @@ function x5e(e) { coord: function(r) { return e.dataToPoint(r); }, - size: at(w5e, e) + size: at(x5e, e) } }; } -function E5e(e, t) { +function R5e(e, t) { var r = this.getAxis(), n = t instanceof Array ? t[0] : t, i = (e instanceof Array ? e[0] : e) / 2; return r.type === "category" ? r.getBandWidth() : Math.abs(r.dataToCoord(n - i) - r.dataToCoord(n + i)); } -function R5e(e) { +function P5e(e) { var t = e.getRect(); return { coordSys: { @@ -82160,17 +82156,17 @@ function R5e(e) { coord: function(r) { return e.dataToPoint(r); }, - size: at(E5e, e) + size: at(R5e, e) } }; } -function P5e(e, t) { +function T5e(e, t) { return t = t || [0, 0], Fe(["Radius", "Angle"], function(r, n) { var i = "get" + r + "Axis", o = this[i](), a = t[n], s = e[n] / 2, l = o.type === "category" ? o.getBandWidth() : Math.abs(o.dataToCoord(a - s) - o.dataToCoord(a + s)); return r === "Angle" && (l = l * Math.PI / 180), l; }, this); } -function T5e(e) { +function _5e(e) { var t = e.getRadiusAxis(), r = e.getAngleAxis(), n = t.getExtent(); return n[0] > n[1] && n.reverse(), { coordSys: { @@ -82185,11 +82181,11 @@ function T5e(e) { var o = t.dataToRadius(i[0]), a = r.dataToAngle(i[1]), s = e.coordToPoint([o, a]); return s.push(o, a * Math.PI / 180), s; }, - size: at(P5e, e) + size: at(T5e, e) } }; } -function _5e(e) { +function M5e(e) { var t = e.getRect(), r = e.getRangeInfo(); return { coordSys: { @@ -82274,7 +82270,7 @@ var vJ = { }, {}), N3 = Us.join(", "), aS = ["", "style", "shape", "extra"], Wf = Cr(); function hO(e, t, r, n, i) { var o = e + "Animation", a = fp(e, n, i) || {}, s = Wf(t).userDuring; - return a.duration > 0 && (a.during = s ? at(O5e, { + return a.duration > 0 && (a.during = s ? at(L5e, { el: t, userDuring: s }) : null, a.setToFinal = !0, a.scope = e), Pe(a, r[o]), a; @@ -82284,7 +82280,7 @@ function AC(e, t, r, n) { var i = n.dataIndex, o = n.isInit, a = n.clearStyle, s = r.isAnimationEnabled(), l = Wf(e), c = t.style; l.userDuring = t.during; var u = {}, d = {}; - if (F5e(e, t, d), $3("shape", t, d), $3("extra", t, d), !o && s && (L5e(e, t, u), k3("shape", e, t, u), k3("extra", e, t, u), N5e(e, t, c, u)), d.style = c, M5e(e, d, a), I5e(e, t), s) + if (N5e(e, t, d), $3("shape", t, d), $3("extra", t, d), !o && s && (F5e(e, t, u), k3("shape", e, t, u), k3("extra", e, t, u), k5e(e, t, c, u)), d.style = c, D5e(e, d, a), A5e(e, t), s) if (o) { var h = {}; z(aS, function(p) { @@ -82294,7 +82290,7 @@ function AC(e, t, r, n) { var f = hO("enter", e, t, r, i); f.duration > 0 && e.animateFrom(h, f); } else - D5e(e, t, i || 0, r, u); + I5e(e, t, i || 0, r, u); mJ(e, t), c ? e.dirty() : e.markRedraw(); } function mJ(e, t) { @@ -82318,7 +82314,7 @@ function sw(e, t, r, n) { function vd(e) { return e === "all"; } -function M5e(e, t, r) { +function D5e(e, t, r) { var n = t.style; if (!e.isGroup && n) { if (r) { @@ -82332,16 +82328,16 @@ function M5e(e, t, r) { } t && (t.style = null, t && e.attr(t), t.style = n); } -function D5e(e, t, r, n, i) { +function I5e(e, t, r, n, i) { if (i) { var o = hO("update", e, t, n, r); o.duration > 0 && e.animateFrom(i, o); } } -function I5e(e, t) { +function A5e(e, t) { lt(t, "silent") && (e.silent = t.silent), lt(t, "ignore") && (e.ignore = t.ignore), e instanceof Ta && lt(t, "invisible") && (e.invisible = t.invisible), e instanceof nr && lt(t, "autoBatch") && (e.autoBatch = t.autoBatch); } -var xs = {}, A5e = { +var xs = {}, O5e = { // Usually other props do not need to be changed in animation during. setTransform: function(e, t) { return process.env.NODE_ENV !== "production" && Et(lt(oS, e), "Only " + N3 + " available in `setTransform`."), xs.el[e] = t, this; @@ -82387,7 +82383,7 @@ function Nh(e) { if (process.env.NODE_ENV !== "production" && (e === "transition" || e === "enterFrom" || e === "leaveTo")) throw new Error('key must not be "' + e + '"'); } -function O5e() { +function L5e() { var e = this, t = e.el; if (t) { var r = Wf(t).userDuring, n = e.userDuring; @@ -82395,7 +82391,7 @@ function O5e() { e.el = e.userDuring = null; return; } - xs.el = t, n(A5e); + xs.el = t, n(O5e); } } function k3(e, t, r, n) { @@ -82416,7 +82412,7 @@ function k3(e, t, r, n) { !a && (a = n[e] = {}); for (var f = ar(o), u = 0; u < f.length; u++) { var d = f[u], h = o[d]; - k5e(i[d], h) && (a[d] = h); + $5e(i[d], h) && (a[d] = h); } } } @@ -82430,7 +82426,7 @@ function $3(e, t, r) { i[s] = ev(n[s]); } } -function L5e(e, t, r) { +function F5e(e, t, r) { for (var n = t.transition, i = vd(n) ? Us : jr(n || []), o = 0; o < i.length; o++) { var a = i[o]; if (!(a === "style" || a === "shape" || a === "extra")) { @@ -82439,7 +82435,7 @@ function L5e(e, t, r) { } } } -function F5e(e, t, r) { +function N5e(e, t, r) { for (var n = 0; n < F3.length; n++) { var i = F3[n], o = vJ[i], a = t[i]; a && (r[o[0]] = a[0], r[o[1]] = a[1]); @@ -82449,7 +82445,7 @@ function F5e(e, t, r) { t[s] != null && (r[s] = t[s]); } } -function N5e(e, t, r, n) { +function k5e(e, t, r, n) { if (r) { var i = e.style, o; if (i) { @@ -82477,14 +82473,14 @@ function N5e(e, t, r, n) { } } } -function k5e(e, t) { +function $5e(e, t) { return Ei(e) ? e !== t : e != null && isFinite(e); } var yJ; process.env.NODE_ENV !== "production" && (yJ = function(e, t) { lt(oS, e) || bn("Prop `" + e + "` is not a permitted in `" + t + "`. Only `" + ar(oS).join("`, `") + "` are permitted."); }); -var CJ = Cr(), $5e = ["percent", "easing", "shape", "style", "extra"]; +var CJ = Cr(), V5e = ["percent", "easing", "shape", "style", "extra"]; function bJ(e) { e.stopAnimation("keyframe"), e.attr(CJ(e)); } @@ -82513,7 +82509,7 @@ function sS(e, t, r) { if (process.env.NODE_ENV !== "production" && u.percent >= 1 && (c = !0), !!h) { var f = ar(h); if (s || (f = kr(f, function(v) { - return Yt($5e, v) < 0; + return Yt(V5e, v) < 0; })), !!f.length) { l || (l = e.animate(s, t.loop, !0), l.scope = "keyframe"); for (var p = 0; p < d.length; p++) @@ -82541,17 +82537,17 @@ var Ol = "emphasis", Ec = "normal", fO = "blur", pO = "select", Kc = [Ec, Ol, fO emphasis: [Ol, "label"], blur: [fO, "label"], select: [pO, "label"] -}, V5e = ["x", "y"], B5e = "e\0\0", na = { +}, B5e = ["x", "y"], H5e = "e\0\0", na = { normal: {}, emphasis: {}, blur: {}, select: {} }, V3 = { - cartesian2d: S5e, - geo: x5e, - single: R5e, - polar: T5e, - calendar: _5e + cartesian2d: w5e, + geo: E5e, + single: P5e, + polar: _5e, + calendar: M5e }; function lS(e) { return e instanceof nr; @@ -82559,10 +82555,10 @@ function lS(e) { function F_(e) { return e instanceof Ta; } -function H5e(e, t) { +function z5e(e, t) { t.copyTransform(e), F_(t) && F_(e) && (t.setStyle(e.style), t.z = e.z, t.z2 = e.z2, t.zlevel = e.zlevel, t.invisible = e.invisible, t.ignore = e.ignore, lS(t) && lS(e) && t.setShape(e.shape)); } -var z5e = ( +var G5e = ( /** @class */ function(e) { be(t, e); @@ -82639,7 +82635,7 @@ function gO(e) { function vO(e, t, r, n, i, o, a) { bJ(t); var s = i && i.normal.cfg; - s && t.setTextConfig(s), n && n.transition == null && (n.transition = V5e); + s && t.setTextConfig(s), n && n.transition == null && (n.transition = B5e); var l = n && n.style; if (l) { if (t.type === "text") { @@ -82671,17 +82667,17 @@ function SJ(e, t, r, n, i) { a && (s.textConfig = a), Od(o); } } -function G5e(e, t, r) { +function W5e(e, t, r) { if (!e.isGroup) { var n = e, i = r.currentZ, o = r.currentZLevel; n.z = i, n.zlevel = o; var a = t.z2; a != null && (n.z2 = a || 0); for (var s = 0; s < Kc.length; s++) - W5e(n, t, Kc[s]); + j5e(n, t, Kc[s]); } } -function W5e(e, t, r) { +function j5e(e, t, r) { var n = r === Ec, i = n ? t : cS(t, r), o = i ? i.z2 : null, a; o != null && (a = n ? e : e.ensureState(r), a.z2 = o || 0); } @@ -82711,7 +82707,7 @@ function B3(e, t, r, n) { seriesIndex: e.seriesIndex, coordSys: a.coordSys, dataInsideLength: t.count(), - encode: j5e(e.getData()) + encode: U5e(e.getData()) }, c, u, d = {}, h = {}, f = {}, p = {}, g = 0; g < Kc.length; g++) { var v = Kc[g]; f[v] = e.getModel(TR[v]), p[v] = e.getModel(_R[v]); @@ -82776,13 +82772,13 @@ function B3(e, t, r, n) { var F = t.getItemVisual(O, "style"); return F ? F[M3[M]] : null; } - if (lt(y5e, M)) + if (lt(C5e, M)) return t.getItemVisual(O, M); } function _(M) { if (o.type === "cartesian2d") { var O = o.getBaseAxis(); - return bNe(xt({ + return SNe(xt({ axis: O }, M)); } @@ -82794,7 +82790,7 @@ function B3(e, t, r, n) { return qI(M, r); } } -function j5e(e) { +function U5e(e) { var t = {}; return z(e.dimensions, function(r) { var n = e.getDimensionInfo(r); @@ -82817,7 +82813,7 @@ function mO(e, t, r, n, i, o) { var a = -1, s = t; t && wJ(t, n, i) && (a = Yt(o.childrenRef(), t), t = null); var l = !t, c = t; - c ? c.clearStates() : (c = gO(n), s && H5e(s, c)), n.morph === !1 ? c.disableMorphing = !0 : c.disableMorphing && (c.disableMorphing = !1), na.normal.cfg = na.normal.conOpt = na.emphasis.cfg = na.emphasis.conOpt = na.blur.cfg = na.blur.conOpt = na.select.cfg = na.select.conOpt = null, na.isLegacy = !1, K5e(c, r, n, i, l, na), U5e(c, r, n, i, l), vO(e, c, r, n, na, i, l), lt(n, "info") && (Al(c).info = n.info); + c ? c.clearStates() : (c = gO(n), s && z5e(s, c)), n.morph === !1 ? c.disableMorphing = !0 : c.disableMorphing && (c.disableMorphing = !1), na.normal.cfg = na.normal.conOpt = na.emphasis.cfg = na.emphasis.conOpt = na.blur.cfg = na.blur.conOpt = na.select.cfg = na.select.conOpt = null, na.isLegacy = !1, Z5e(c, r, n, i, l, na), K5e(c, r, n, i, l), vO(e, c, r, n, na, i, l), lt(n, "info") && (Al(c).info = n.info); for (var u = 0; u < Kc.length; u++) { var d = Kc[u]; if (d !== Ec) { @@ -82825,17 +82821,17 @@ function mO(e, t, r, n, i, o) { SJ(d, c, h, f, na); } } - return G5e(c, n, i), n.type === "group" && Z5e(e, c, r, n, i), a >= 0 ? o.replaceAt(c, a) : o.add(c), c; + return W5e(c, n, i), n.type === "group" && Y5e(e, c, r, n, i), a >= 0 ? o.replaceAt(c, a) : o.add(c), c; } function wJ(e, t, r) { var n = Al(e), i = t.type, o = t.shape, a = t.style; return ( // Always create new if universal transition is enabled. // Because we do transition after render. It needs to know what old element is. Replacement will loose it. - r.isUniversalTransitionEnabled() || i != null && i !== n.customGraphicType || i === "path" && Q5e(o) && xJ(o) !== n.customPathData || i === "image" && lt(a, "image") && a.image !== n.customImagePath + r.isUniversalTransitionEnabled() || i != null && i !== n.customGraphicType || i === "path" && J5e(o) && xJ(o) !== n.customPathData || i === "image" && lt(a, "image") && a.image !== n.customImagePath ); } -function U5e(e, t, r, n, i) { +function K5e(e, t, r, n, i) { var o = r.clipPath; if (o === !1) e && e.getClipPath() && e.removeClipPath(); @@ -82844,7 +82840,7 @@ function U5e(e, t, r, n, i) { a && wJ(a, o, n) && (a = null), a || (a = gO(o), process.env.NODE_ENV !== "production" && Et(lS(a), "Only any type of `path` can be used in `clipPath`, rather than " + a.type + "."), e.setClipPath(a)), vO(null, a, t, o, null, n, i); } } -function K5e(e, t, r, n, i, o) { +function Z5e(e, t, r, n, i, o) { if (!e.isGroup) { H3(r, null, o), H3(r, Ol, o); var a = o.normal.conOpt, s = o.emphasis.conOpt, l = o.blur.conOpt, c = o.select.conOpt; @@ -82891,11 +82887,11 @@ function yO(e, t, r) { var n = t && t.style; return n == null && r === Ol && e && (n = e.styleEmphasis), n; } -function Z5e(e, t, r, n, i) { +function Y5e(e, t, r, n, i) { var o = n.children, a = o ? o.length : 0, s = n.$mergeChildren, l = s === "byName" || n.diffChildrenByName, c = s === !1; if (!(!a && !l && !c)) { if (l) { - q5e({ + X5e({ api: e, oldChildren: t.children() || [], newChildren: o || [], @@ -82912,36 +82908,36 @@ function Z5e(e, t, r, n, i) { } for (var f = t.childCount() - 1; f >= u; f--) { var p = t.childAt(f); - Y5e(t, p, i); + q5e(t, p, i); } } } -function Y5e(e, t, r) { +function q5e(e, t, r) { t && sw(t, Al(e).option, r); } -function q5e(e) { - new Wl(e.oldChildren, e.newChildren, z3, z3, e).add(G3).update(G3).remove(X5e).execute(); +function X5e(e) { + new Wl(e.oldChildren, e.newChildren, z3, z3, e).add(G3).update(G3).remove(Q5e).execute(); } function z3(e, t) { var r = e && e.name; - return r ?? B5e + t; + return r ?? H5e + t; } function G3(e, t) { var r = this.context, n = e != null ? r.newChildren[e] : null, i = t != null ? r.oldChildren[t] : null; mO(r.api, i, r.dataIndex, n, r.seriesModel, r.group); } -function X5e(e) { +function Q5e(e) { var t = this.context, r = t.oldChildren[e]; r && sw(r, Al(r).option, t.seriesModel); } function xJ(e) { return e && (e.pathData || e.d); } -function Q5e(e) { +function J5e(e) { return e && (lt(e, "pathData") || lt(e, "d")); } -function J5e(e) { - e.registerChartView(z5e), e.registerSeriesModel(C5e); +function eHe(e) { + e.registerChartView(G5e), e.registerSeriesModel(b5e); } var ju = Cr(), W3 = Mt, DR = at, CO = ( /** @class */ @@ -83126,7 +83122,7 @@ function RJ(e, t, r, n, i) { }), s = r.getModel("label"), l = qd(s.get("padding") || 0), c = s.getFont(), u = Km(a, c), d = i.position, h = u.width + l[1] + l[3], f = u.height + l[0] + l[2], p = i.align; p === "right" && (d[0] -= h), p === "center" && (d[0] -= h / 2); var g = i.verticalAlign; - g === "bottom" && (d[1] -= f), g === "middle" && (d[1] -= f / 2), eHe(d, h, f, n); + g === "bottom" && (d[1] -= f), g === "middle" && (d[1] -= f / 2), tHe(d, h, f, n); var v = s.get("backgroundColor"); (!v || v === "auto") && (v = t.get(["axisLine", "lineStyle", "color"])), e.label = { // shape: {x: 0, y: 0, width: width, height: height, r: labelModel.get('borderRadius')}, @@ -83143,7 +83139,7 @@ function RJ(e, t, r, n, i) { z2: 10 }; } -function eHe(e, t, r, n) { +function tHe(e, t, r, n) { var i = n.getWidth(), o = n.getHeight(); e[0] = Math.min(e[0] + t, i) - t, e[1] = Math.min(e[1] + r, o) - r, e[0] = Math.max(e[0], 0), e[1] = Math.max(e[1], 0); } @@ -83211,7 +83207,7 @@ function Z3(e, t, r, n, i, o) { clockwise: !0 }; } -var tHe = ( +var rHe = ( /** @class */ function(e) { be(t, e); @@ -83221,7 +83217,7 @@ var tHe = ( return t.prototype.makeElOption = function(r, n, i, o, a) { var s = i.axis, l = s.grid, c = o.get("type"), u = Y3(l, s).getOtherAxis(s).getGlobalExtent(), d = s.toGlobalCoord(s.dataToCoord(n, !0)); if (c && c !== "none") { - var h = bO(o), f = rHe[c](s, d, u); + var h = bO(o), f = nHe[c](s, d, u); f.style = h, r.graphicKey = f.type, r.pointer = f; } var p = m_(l.model, i); @@ -83269,7 +83265,7 @@ function Y3(e, t) { var r = {}; return r[t.dim + "AxisIndex"] = t.index, e.getCartesian(r); } -var rHe = { +var nHe = { line: function(e, t, r) { var n = wO([t, r[0]], [t, r[1]], q3(e)); return { @@ -83289,7 +83285,7 @@ var rHe = { function q3(e) { return e.dim === "x" ? 0 : 1; } -var nHe = ( +var iHe = ( /** @class */ function(e) { be(t, e); @@ -83354,39 +83350,39 @@ var nHe = ( } }, t; }(Qt) -), Tl = Cr(), iHe = z; +), Tl = Cr(), oHe = z; function MJ(e, t, r) { if (!pr.node) { var n = t.getZr(); - Tl(n).records || (Tl(n).records = {}), oHe(n, t); + Tl(n).records || (Tl(n).records = {}), aHe(n, t); var i = Tl(n).records[e] || (Tl(n).records[e] = {}); i.handler = r; } } -function oHe(e, t) { +function aHe(e, t) { if (Tl(e).initialized) return; - Tl(e).initialized = !0, r("click", Bt(X3, "click")), r("mousemove", Bt(X3, "mousemove")), r("globalout", sHe); + Tl(e).initialized = !0, r("click", Bt(X3, "click")), r("mousemove", Bt(X3, "mousemove")), r("globalout", lHe); function r(n, i) { e.on(n, function(o) { - var a = lHe(t); - iHe(Tl(e).records, function(s) { + var a = cHe(t); + oHe(Tl(e).records, function(s) { s && i(s, o, a.dispatchAction); - }), aHe(a.pendings, t); + }), sHe(a.pendings, t); }); } } -function aHe(e, t) { +function sHe(e, t) { var r = e.showTip.length, n = e.hideTip.length, i; r ? i = e.showTip[r - 1] : n && (i = e.hideTip[n - 1]), i && (i.dispatchAction = null, t.dispatchAction(i)); } -function sHe(e, t, r) { +function lHe(e, t, r) { e.handler("leave", null, r); } function X3(e, t, r, n) { t.handler(e, r, n); } -function lHe(e) { +function cHe(e) { var t = { showTip: [], hideTip: [] @@ -83405,7 +83401,7 @@ function N_(e, t) { n && (Tl(r).records[e] = null); } } -var cHe = ( +var uHe = ( /** @class */ function(e) { be(t, e); @@ -83462,7 +83458,7 @@ function DJ(e, t) { }; } var Q3 = Cr(); -function uHe(e, t, r) { +function dHe(e, t, r) { var n = e.currTrigger, i = [e.x, e.y], o = e, a = e.dispatchAction || at(r.dispatchAction, r), s = t.getComponent("axisPointer").coordSysAxesInfo; if (s) { OC(i) && (i = DJ({ @@ -83475,13 +83471,13 @@ function uHe(e, t, r) { list: [], map: {} }, g = { - showPointer: Bt(hHe, f), - showTooltip: Bt(fHe, p) + showPointer: Bt(fHe, f), + showTooltip: Bt(pHe, p) }; z(s.coordSysMap, function(m, y) { var C = l || m.containPoint(i); z(s.coordSysAxesInfo[y], function(S, w) { - var x = S.axis, E = mHe(c, S); + var x = S.axis, E = yHe(c, S); if (!d && C && (!c || E)) { var R = E && E.value; R == null && !l && (R = x.pointToData(i)), R != null && J3(S, R, g, !1, h); @@ -83500,7 +83496,7 @@ function uHe(e, t, r) { }); }), z(v, function(m, y) { J3(u[y], m, g, !0, h); - }), pHe(f, u, h), gHe(p, i, e, a), vHe(u, a, r), h; + }), gHe(f, u, h), vHe(p, i, e, a), mHe(u, a, r), h; } } function J3(e, t, r, n, i) { @@ -83510,11 +83506,11 @@ function J3(e, t, r, n, i) { r.showPointer(e, t); return; } - var a = dHe(t, e), s = a.payloadBatch, l = a.snapToValue; + var a = hHe(t, e), s = a.payloadBatch, l = a.snapToValue; s[0] && i.seriesIndex == null && Pe(i, s[0]), !n && e.snap && o.containData(l) && l != null && (t = l), r.showPointer(e, t, s), r.showTooltip(e, a, l); } } -function dHe(e, t) { +function hHe(e, t) { var r = t.axis, n = r.dim, i = e, o = [], a = Number.MAX_VALUE, s = -1; return z(t.seriesModels, function(l, c) { var u = l.getData().mapDimensionsAll(n), d, h; @@ -83548,13 +83544,13 @@ function dHe(e, t) { snapToValue: i }; } -function hHe(e, t, r, n) { +function fHe(e, t, r, n) { e[t.key] = { value: r, payloadBatch: n }; } -function fHe(e, t, r, n) { +function pHe(e, t, r, n) { var i = r.payloadBatch, o = t.axis, a = o.model, s = t.axisPointerModel; if (!(!t.triggerTooltip || !i.length)) { var l = t.coordSys.model, c = nm(l), u = e.map[c]; @@ -83582,7 +83578,7 @@ function fHe(e, t, r, n) { }); } } -function pHe(e, t, r) { +function gHe(e, t, r) { var n = r.axesInfo = []; z(t, function(i, o) { var a = i.axisPointerModel.option, s = e[o]; @@ -83593,7 +83589,7 @@ function pHe(e, t, r) { }); }); } -function gHe(e, t, r, n) { +function vHe(e, t, r, n) { if (OC(t) || !e.list.length) { n({ type: "hideTip" @@ -83614,7 +83610,7 @@ function gHe(e, t, r, n) { dataByCoordSys: e.list }); } -function vHe(e, t, r) { +function mHe(e, t, r) { var n = r.getZr(), i = "axisPointerLastHighlights", o = Q3(n)[i] || {}, a = Q3(n)[i] = {}; z(e, function(c, u) { var d = c.axisPointerModel.option; @@ -83642,7 +83638,7 @@ function vHe(e, t, r) { batch: s }); } -function mHe(e, t) { +function yHe(e, t) { for (var r = 0; r < (e || []).length; r++) { var n = e[r]; if (t.axis.dim === n.axisDim && t.axis.model.componentIndex === n.axisIndex) @@ -83657,24 +83653,24 @@ function OC(e) { return !e || e[0] == null || isNaN(e[0]) || e[1] == null || isNaN(e[1]); } function hy(e) { - eh.registerAxisPointerClass("CartesianAxisPointer", tHe), e.registerComponentModel(nHe), e.registerComponentView(cHe), e.registerPreprocessor(function(t) { + eh.registerAxisPointerClass("CartesianAxisPointer", rHe), e.registerComponentModel(iHe), e.registerComponentView(uHe), e.registerPreprocessor(function(t) { if (t) { (!t.axisPointer || t.axisPointer.length === 0) && (t.axisPointer = {}); var r = t.axisPointer.link; r && !Ae(r) && (t.axisPointer.link = [r]); } }), e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC, function(t, r) { - t.getComponent("axisPointer").coordSysAxesInfo = _$e(t, r); + t.getComponent("axisPointer").coordSysAxesInfo = M$e(t, r); }), e.registerAction({ type: "updateAxisPointer", event: "updateAxisPointer", update: ":updateAxisPointer" - }, uHe); + }, dHe); } -function yHe(e) { +function CHe(e) { er(rQ), er(hy); } -var CHe = ( +var bHe = ( /** @class */ function(e) { be(t, e); @@ -83686,15 +83682,15 @@ var CHe = ( s.dim === "angle" && (this.animationThreshold = Math.PI / 18); var l = s.polar, c = l.getOtherAxis(s), u = c.getExtent(), d = s.dataToCoord(n), h = o.get("type"); if (h && h !== "none") { - var f = bO(o), p = SHe[h](s, l, d, u); + var f = bO(o), p = wHe[h](s, l, d, u); p.style = f, r.graphicKey = p.type, r.pointer = p; } - var g = o.get(["label", "margin"]), v = bHe(n, i, o, l, g); + var g = o.get(["label", "margin"]), v = SHe(n, i, o, l, g); RJ(r, i, o, a, v); }, t; }(CO) ); -function bHe(e, t, r, n, i) { +function SHe(e, t, r, n, i) { var o = t.axis, a = o.dataToCoord(e), s = n.getAngleAxis().getExtent()[0]; s = s / 180 * Math.PI; var l = n.getRadiusAxis().getExtent(), c, u, d; @@ -83715,7 +83711,7 @@ function bHe(e, t, r, n, i) { verticalAlign: d }; } -var SHe = { +var wHe = { line: function(e, t, r, n) { return e.dim === "angle" ? { type: "Line", @@ -83747,7 +83743,7 @@ var SHe = { shape: Z3(t.cx, t.cy, r - i / 2, r + i / 2, 0, Math.PI * 2) }; } -}, wHe = ( +}, xHe = ( /** @class */ function(e) { be(t, e); @@ -83780,7 +83776,7 @@ var SHe = { }(Qt) ); On(xO, Rp); -var xHe = ( +var EHe = ( /** @class */ function(e) { be(t, e); @@ -83790,7 +83786,7 @@ var xHe = ( } return t.type = "angleAxis", t; }(xO) -), EHe = ( +), RHe = ( /** @class */ function(e) { be(t, e); @@ -83814,7 +83810,7 @@ var xHe = ( ); EO.prototype.dataToRadius = La.prototype.dataToCoord; EO.prototype.radiusToData = La.prototype.coordToData; -var RHe = Cr(), RO = ( +var PHe = Cr(), RO = ( /** @class */ function(e) { be(t, e); @@ -83829,14 +83825,14 @@ var RHe = Cr(), RO = ( return 0; var s = o[0], l = r.dataToCoord(s + 1) - r.dataToCoord(s), c = Math.abs(l), u = Km(s == null ? "" : s + "", n.getFont(), "center", "top"), d = Math.max(u.height, 7), h = d / c; isNaN(h) && (h = 1 / 0); - var f = Math.max(0, Math.floor(h)), p = RHe(r.model), g = p.lastAutoInterval, v = p.lastTickCount; + var f = Math.max(0, Math.floor(h)), p = PHe(r.model), g = p.lastAutoInterval, v = p.lastTickCount; return g != null && v != null && Math.abs(g - f) <= 1 && Math.abs(v - a) <= 1 && g > f ? f = g : (p.lastTickCount = a, p.lastAutoInterval = f), f; }, t; }(La) ); RO.prototype.dataToAngle = La.prototype.dataToCoord; RO.prototype.angleToData = La.prototype.coordToData; -var IJ = ["radius", "angle"], PHe = ( +var IJ = ["radius", "angle"], THe = ( /** @class */ function() { function e(t) { @@ -83916,8 +83912,8 @@ function t5(e) { var t = e.seriesModel, r = e.polarModel; return r && r.coordinateSystem || t && t.coordinateSystem; } -const THe = PHe; -function _He(e, t, r) { +const _He = THe; +function MHe(e, t, r) { var n = t.get("center"), i = r.getWidth(), o = r.getHeight(); e.cx = Xe(n[0], i), e.cy = Xe(n[1], o); var a = e.getRadiusAxis(), s = Math.min(i, o) / 2, l = t.get("radius"); @@ -83925,7 +83921,7 @@ function _He(e, t, r) { var c = [Xe(l[0], s), Xe(l[1], s)]; a.inverse ? a.setExtent(c[1], c[0]) : a.setExtent(c[0], c[1]); } -function MHe(e, t) { +function DHe(e, t) { var r = this, n = r.getAngleAxis(), i = r.getRadiusAxis(); if (n.scale.setExtent(1 / 0, -1 / 0), i.scale.setExtent(1 / 0, -1 / 0), e.eachSeries(function(s) { if (s.coordinateSystem === r) { @@ -83941,27 +83937,27 @@ function MHe(e, t) { n.inverse ? o[1] += a : o[1] -= a, n.setExtent(o[0], o[1]); } } -function DHe(e) { +function IHe(e) { return e.mainType === "angleAxis"; } function r5(e, t) { var r; - if (e.type = t.get("type"), e.scale = ny(t), e.onBand = t.get("boundaryGap") && e.type === "category", e.inverse = t.get("inverse"), DHe(t)) { + if (e.type = t.get("type"), e.scale = ny(t), e.onBand = t.get("boundaryGap") && e.type === "category", e.inverse = t.get("inverse"), IHe(t)) { e.inverse = e.inverse !== t.get("clockwise"); var n = t.get("startAngle"), i = (r = t.get("endAngle")) !== null && r !== void 0 ? r : n + (e.inverse ? -360 : 360); e.setExtent(n, i); } t.axis = e, e.model = t; } -var IHe = { +var AHe = { dimensions: IJ, create: function(e, t) { var r = []; return e.eachComponent("polar", function(n, i) { - var o = new THe(i + ""); - o.update = MHe; + var o = new _He(i + ""); + o.update = DHe; var a = o.getRadiusAxis(), s = o.getAngleAxis(), l = n.findAxisModel("radiusAxis"), c = n.findAxisModel("angleAxis"); - r5(a, l), r5(s, c), _He(o, n, t), r.push(o), n.coordinateSystem = o, o.model = n; + r5(a, l), r5(s, c), MHe(o, n, t), r.push(o), n.coordinateSystem = o, o.model = n; }), e.eachSeries(function(n) { if (n.get("coordinateSystem") === "polar") { var i = n.getReferringComponents("polar", Un).models[0]; @@ -83971,7 +83967,7 @@ var IHe = { } }), r; } -}, AHe = ["axisLine", "axisLabel", "axisTick", "minorTick", "splitLine", "minorSplitLine", "splitArea"]; +}, OHe = ["axisLine", "axisLabel", "axisTick", "minorTick", "splitLine", "minorSplitLine", "splitArea"]; function k0(e, t, r) { t[1] > t[0] && (t = t.slice().reverse()); var n = e.coordToPoint([t[0], r]), i = e.coordToPoint([t[1], r]); @@ -83990,7 +83986,7 @@ function n5(e) { var t = e[0], r = e[e.length - 1]; t && r && Math.abs(Math.abs(t.coord - r.coord) - 360) < 1e-4 && e.pop(); } -var OHe = ( +var LHe = ( /** @class */ function(e) { be(t, e); @@ -84005,13 +84001,13 @@ var OHe = ( var d = i.scale, h = d.type === "ordinal" ? d.getRawOrdinalNumber(u.tickValue) : u.tickValue; return u.coord = i.dataToCoord(h), u; }); - n5(c), n5(s), z(AHe, function(u) { - r.get([u, "show"]) && (!i.scale.isBlank() || u === "axisLine") && LHe[u](this.group, r, o, s, l, a, c); + n5(c), n5(s), z(OHe, function(u) { + r.get([u, "show"]) && (!i.scale.isBlank() || u === "axisLine") && FHe[u](this.group, r, o, s, l, a, c); }, this); } }, t.type = "angleAxis", t; }(eh) -), LHe = { +), FHe = { axisLine: function(e, t, r, n, i, o) { var a = t.getModel(["axisLine", "lineStyle"]), s = r.getAngleAxis(), l = Math.PI / 180, c = s.getExtent(), u = $0(r), d = u ? 0 : 1, h, f = Math.abs(c[1] - c[0]) === 360 ? "Circle" : "Arc"; o[d] === 0 ? h = new Zd[f]({ @@ -84149,7 +84145,7 @@ var OHe = ( })); } } -}, FHe = ["axisLine", "axisTickLabel", "axisName"], NHe = ["splitLine", "splitArea", "minorSplitLine"], kHe = ( +}, NHe = ["axisLine", "axisTickLabel", "axisName"], kHe = ["splitLine", "splitArea", "minorSplitLine"], $He = ( /** @class */ function(e) { be(t, e); @@ -84161,14 +84157,14 @@ var OHe = ( if (this.group.removeAll(), !!r.get("show")) { var i = this._axisGroup, o = this._axisGroup = new Lt(); this.group.add(o); - var a = r.axis, s = a.polar, l = s.getAngleAxis(), c = a.getTicksCoords(), u = a.getMinorTicksCoords(), d = l.getExtent()[0], h = a.getExtent(), f = VHe(s, r, d), p = new eo(r, f); - z(FHe, p.add, p), o.add(p.getGroup()), ey(i, o, r), z(NHe, function(g) { - r.get([g, "show"]) && !a.scale.isBlank() && $He[g](this.group, r, s, d, h, c, u); + var a = r.axis, s = a.polar, l = s.getAngleAxis(), c = a.getTicksCoords(), u = a.getMinorTicksCoords(), d = l.getExtent()[0], h = a.getExtent(), f = BHe(s, r, d), p = new eo(r, f); + z(NHe, p.add, p), o.add(p.getGroup()), ey(i, o, r), z(kHe, function(g) { + r.get([g, "show"]) && !a.scale.isBlank() && VHe[g](this.group, r, s, d, h, c, u); }, this); } }, t.type = "radiusAxis", t; }(eh) -), $He = { +), VHe = { splitLine: function(e, t, r, n, i, o) { var a = t.getModel("splitLine"), s = a.getModel("lineStyle"), l = s.get("color"), c = 0, u = r.getAngleAxis(), d = Math.PI / 180, h = u.getExtent(), f = Math.abs(h[1] - h[0]) === 360 ? "Circle" : "Arc"; l = l instanceof Array ? l : [l]; @@ -84242,7 +84238,7 @@ var OHe = ( } } }; -function VHe(e, t, r) { +function BHe(e, t, r) { return { position: [e.cx, e.cy], rotation: r / 180 * Math.PI, @@ -84260,8 +84256,8 @@ function AJ(e) { function OJ(e, t) { return t.dim + e.model.componentIndex; } -function BHe(e, t, r) { - var n = {}, i = HHe(kr(t.getSeriesByType(e), function(o) { +function HHe(e, t, r) { + var n = {}, i = zHe(kr(t.getSeriesByType(e), function(o) { return !t.isSeriesFiltered(o) && o.coordinateSystem && o.coordinateSystem.type === "polar"; })); t.eachSeriesByType(e, function(o) { @@ -84308,7 +84304,7 @@ function BHe(e, t, r) { } }); } -function HHe(e) { +function zHe(e) { var t = {}; z(e, function(n, i) { var o = n.getData(), a = n.coordinateSystem, s = a.getBaseAxis(), l = OJ(a, s), c = s.getExtent(), u = s.type === "category" ? s.getBandWidth() : Math.abs(c[1] - c[0]) / o.count(), d = t[l] || { @@ -84349,16 +84345,16 @@ function HHe(e) { }); }), r; } -var zHe = { +var GHe = { startAngle: 90, clockwise: !0, splitNumber: 12, axisLabel: { rotate: 0 } -}, GHe = { +}, WHe = { splitNumber: 5 -}, WHe = ( +}, jHe = ( /** @class */ function(e) { be(t, e); @@ -84369,8 +84365,8 @@ var zHe = { return t.type = "polar", t; }(sn) ); -function jHe(e) { - er(hy), eh.registerAxisPointerClass("PolarAxisPointer", CHe), e.registerCoordinateSystem("polar", IHe), e.registerComponentModel(wHe), e.registerComponentView(WHe), zf(e, "angle", xHe, zHe), zf(e, "radius", EHe, GHe), e.registerComponentView(OHe), e.registerComponentView(kHe), e.registerLayout(Bt(BHe, "bar")); +function UHe(e) { + er(hy), eh.registerAxisPointerClass("PolarAxisPointer", bHe), e.registerCoordinateSystem("polar", AHe), e.registerComponentModel(xHe), e.registerComponentView(jHe), zf(e, "angle", EHe, GHe), zf(e, "radius", RHe, WHe), e.registerComponentView(LHe), e.registerComponentView($He), e.registerLayout(Bt(HHe, "bar")); } function k_(e, t) { t = t || {}; @@ -84400,7 +84396,7 @@ function k_(e, t) { var h = t.rotate; return h == null && (h = e.get(["axisLabel", "rotate"])), i.labelRotation = o === "top" ? -h : h, i.z2 = 1, i; } -var UHe = ["axisLine", "axisTickLabel", "axisName"], KHe = ["splitArea", "splitLine"], ZHe = ( +var KHe = ["axisLine", "axisTickLabel", "axisName"], ZHe = ["splitArea", "splitLine"], YHe = ( /** @class */ function(e) { be(t, e); @@ -84414,14 +84410,14 @@ var UHe = ["axisLine", "axisTickLabel", "axisName"], KHe = ["splitArea", "splitL var s = this._axisGroup; this._axisGroup = new Lt(); var l = k_(r), c = new eo(r, l); - z(UHe, c.add, c), a.add(this._axisGroup), a.add(c.getGroup()), z(KHe, function(u) { - r.get([u, "show"]) && YHe[u](this, this.group, this._axisGroup, r); + z(KHe, c.add, c), a.add(this._axisGroup), a.add(c.getGroup()), z(ZHe, function(u) { + r.get([u, "show"]) && qHe[u](this, this.group, this._axisGroup, r); }, this), ey(s, this._axisGroup, r), e.prototype.render.call(this, r, n, i, o); }, t.prototype.remove = function() { JX(this); }, t.type = "singleAxis", t; }(eh) -), YHe = { +), qHe = { splitLine: function(e, t, r, n) { var i = n.axis; if (!i.scale.isBlank()) { @@ -84510,7 +84506,7 @@ var UHe = ["axisLine", "axisTickLabel", "axisName"], KHe = ["splitArea", "splitL }(Qt) ); On(LC, Rp.prototype); -var qHe = ( +var XHe = ( /** @class */ function(e) { be(t, e); @@ -84525,14 +84521,14 @@ var qHe = ( return this.coordinateSystem.pointToData(r)[0]; }, t; }(La) -), LJ = ["single"], XHe = ( +), LJ = ["single"], QHe = ( /** @class */ function() { function e(t, r, n) { this.type = "single", this.dimension = "single", this.dimensions = LJ, this.axisPointerEnabled = !0, this.model = t, this._init(t, r, n); } return e.prototype._init = function(t, r, n) { - var i = this.dimension, o = new qHe(i, ny(t), [0, 0], t.get("type"), t.get("position")), a = o.type === "category"; + var i = this.dimension, o = new XHe(i, ny(t), [0, 0], t.get("type"), t.get("position")), a = o.type === "category"; o.onBand = a && t.get("boundaryGap"), o.inverse = t.get("inverse"), o.orient = t.get("orient"), t.axis = o, o.model = t, o.coordinateSystem = this, this._axis = o; }, e.prototype.update = function(t, r) { t.eachSeries(function(n) { @@ -84605,10 +84601,10 @@ function i5(e) { var t = e.seriesModel, r = e.singleAxisModel; return r && r.coordinateSystem || t && t.coordinateSystem; } -function QHe(e, t) { +function JHe(e, t) { var r = []; return e.eachComponent("singleAxis", function(n, i) { - var o = new XHe(n, e, t); + var o = new QHe(n, e, t); o.name = "single_" + i, o.resize(n, t), n.coordinateSystem = o, r.push(o); }), e.eachSeries(function(n) { if (n.get("coordinateSystem") === "singleAxis") { @@ -84617,10 +84613,10 @@ function QHe(e, t) { } }), r; } -var JHe = { - create: QHe, +var eze = { + create: JHe, dimensions: LJ -}, o5 = ["x", "y"], eze = ["width", "height"], tze = ( +}, o5 = ["x", "y"], tze = ["width", "height"], rze = ( /** @class */ function(e) { be(t, e); @@ -84630,7 +84626,7 @@ var JHe = { return t.prototype.makeElOption = function(r, n, i, o, a) { var s = i.axis, l = s.coordinateSystem, c = AR(l, 1 - uS(s)), u = l.dataToPoint(n)[0], d = o.get("type"); if (d && d !== "none") { - var h = bO(o), f = rze[d](s, u, c); + var h = bO(o), f = nze[d](s, u, c); f.style = h, r.graphicKey = f.type, r.pointer = f; } var p = k_(i); @@ -84669,7 +84665,7 @@ var JHe = { }; }, t; }(CO) -), rze = { +), nze = { line: function(e, t, r) { var n = wO([t, r[0]], [t, r[1]], uS(e)); return { @@ -84691,9 +84687,9 @@ function uS(e) { } function AR(e, t) { var r = e.getRect(); - return [r[o5[t]], r[o5[t]] + r[eze[t]]]; + return [r[o5[t]], r[o5[t]] + r[tze[t]]]; } -var nze = ( +var ize = ( /** @class */ function(e) { be(t, e); @@ -84704,10 +84700,10 @@ var nze = ( return t.type = "single", t; }(sn) ); -function ize(e) { - er(hy), eh.registerAxisPointerClass("SingleAxisPointer", tze), e.registerComponentView(nze), e.registerComponentView(ZHe), e.registerComponentModel(LC), zf(e, "single", LC, LC.defaultOption), e.registerCoordinateSystem("single", JHe); +function oze(e) { + er(hy), eh.registerAxisPointerClass("SingleAxisPointer", rze), e.registerComponentView(ize), e.registerComponentView(YHe), e.registerComponentModel(LC), zf(e, "single", LC, LC.defaultOption), e.registerCoordinateSystem("single", eze); } -var oze = ( +var aze = ( /** @class */ function(e) { be(t, e); @@ -84784,14 +84780,14 @@ function a5(e, t) { var r = e.cellSize, n; Ae(r) ? n = r : n = e.cellSize = [r, r], n.length === 1 && (n[1] = n[0]); var i = Fe([0, 1], function(o) { - return oOe(t, o) && (n[o] = "auto"), n[o] != null && n[o] !== "auto"; + return aOe(t, o) && (n[o] = "auto"), n[o] != null && n[o] !== "auto"; }); jc(e, t, { type: "box", ignoreSize: i }); } -var aze = ( +var sze = ( /** @class */ function(e) { be(t, e); @@ -84852,7 +84848,7 @@ var aze = ( } return s; }, t.prototype._formatterLabel = function(r, n) { - return Je(r) && r ? tOe(r, n) : gt(r) ? r(n) : n.nameMap; + return Je(r) && r ? rOe(r, n) : gt(r) ? r(n) : n.nameMap; }, t.prototype._yearTextPositionControl = function(r, n, i, o, a) { var s = n[0], l = n[1], c = ["center", "bottom"]; o === "bottom" ? (l += a, c = ["center", "top"]) : o === "left" ? s -= a : o === "right" ? (s += a, c = ["center", "top"]) : l -= a; @@ -84961,7 +84957,7 @@ var aze = ( } }, t.type = "calendar", t; }(sn) -), OR = 864e5, sze = ( +), OR = 864e5, lze = ( /** @class */ function() { function e(t, r, n) { @@ -85113,10 +85109,10 @@ function s5(e) { var t = e.calendarModel, r = e.seriesModel, n = t ? t.coordinateSystem : r ? r.coordinateSystem : null; return n; } -function lze(e) { - e.registerComponentModel(oze), e.registerComponentView(aze), e.registerCoordinateSystem("calendar", sze); +function cze(e) { + e.registerComponentModel(aze), e.registerComponentView(sze), e.registerCoordinateSystem("calendar", lze); } -function cze(e, t) { +function uze(e, t) { var r = e.existing; if (t.id = e.keyInfo.id, !t.type && r && (t.type = r.type), t.parentId == null) { var n = t.parentOption; @@ -85130,7 +85126,7 @@ function l5(e, t) { e[n] != null && e[n] !== "auto" && (r = !0); }), r; } -function uze(e, t, r) { +function dze(e, t, r) { var n = Pe({}, r), i = e[t], o = r.$action || "merge"; if (o === "merge") if (i) { @@ -85145,15 +85141,15 @@ function uze(e, t, r) { e[t] = n; else o === "replace" ? e[t] = n : o === "remove" && i && (e[t] = null); } -var FJ = ["transition", "enterFrom", "leaveTo"], dze = FJ.concat(["enterAnimation", "updateAnimation", "leaveAnimation"]); +var FJ = ["transition", "enterFrom", "leaveTo"], hze = FJ.concat(["enterAnimation", "updateAnimation", "leaveAnimation"]); function V0(e, t, r) { if (r && (!e[r] && t[r] && (e[r] = {}), e = e[r], t = t[r]), !(!e || !t)) - for (var n = r ? FJ : dze, i = 0; i < n.length; i++) { + for (var n = r ? FJ : hze, i = 0; i < n.length; i++) { var o = n[i]; e[o] == null && t[o] != null && (e[o] = t[o]); } } -function hze(e, t) { +function fze(e, t) { if (e && (e.hv = t.hv = [ // Rigid body, don't care about `width`. l5(t, ["left", "right"]), @@ -85164,7 +85160,7 @@ function hze(e, t) { r.width == null && (r.width = n.width = 0), r.height == null && (r.height = n.height = 0); } } -var fze = ( +var pze = ( /** @class */ function(e) { be(t, e); @@ -85181,7 +85177,7 @@ var fze = ( var l = uZ(a, s, "normalMerge"), c = this._elOptionsToUpdate = []; z(l, function(u, d) { var h = u.newOption; - process.env.NODE_ENV !== "production" && Et(St(h) || u.existing, "Empty graphic option definition"), h && (c.push(h), cze(u, h), uze(a, d, h), hze(a[d], h)); + process.env.NODE_ENV !== "production" && Et(St(h) || u.existing, "Empty graphic option definition"), h && (c.push(h), uze(u, h), dze(a, d, h), fze(a[d], h)); }, this), i.elements = kr(a, function(u) { return u && delete u.$action, u != null; }); @@ -85209,7 +85205,7 @@ var fze = ( group: Lt, image: bi, text: gr -}, ua = Cr(), pze = ( +}, ua = Cr(), gze = ( /** @class */ function(e) { be(t, e); @@ -85233,7 +85229,7 @@ var fze = ( var m = gJ(p, f, !0); !v && m.textConfig && (v = l.textConfig = m.textConfig), !g && m.textContent && (g = m.textContent); } - var y = gze(l); + var y = vze(l); process.env.NODE_ENV !== "production" && u && Et(h === u.parent, "Changing parent is not supported."); var C = l.$action || "merge", S = C === "merge", w = C === "replace"; if (S) { @@ -85267,7 +85263,7 @@ var fze = ( }), sS(A, _.keyframeAnimation, r); } var O = ua(P); - P.setTextConfig(v), O.option = l, vze(P, r, l), gp({ + P.setTextConfig(v), O.option = l, mze(P, r, l), gp({ el: P, componentModel: r, itemName: P.name, @@ -85353,12 +85349,12 @@ function d5(e, t, r, n) { } }), lt(t, "draggable") && (e.draggable = t.draggable), t.name != null && (e.name = t.name), t.id != null && (e.id = t.id); } -function gze(e) { +function vze(e) { return e = Pe({}, e), z(["id", "parentId", "$action", "hv", "bounding", "textContent", "clipPath"].concat(xY), function(t) { delete e[t]; }), e; } -function vze(e, t, r) { +function mze(e, t, r) { var n = Nt(e).eventData; !e.silent && !e.ignore && !n && (n = Nt(e).eventData = { componentType: "graphic", @@ -85366,8 +85362,8 @@ function vze(e, t, r) { name: e.name }), n && (n.info = r.info); } -function mze(e) { - e.registerComponentModel(fze), e.registerComponentView(pze), e.registerPreprocessor(function(t) { +function yze(e) { + e.registerComponentModel(pze), e.registerComponentView(gze), e.registerPreprocessor(function(t) { var r = t.graphic; Ae(r) ? !r[0] || !r[0].elements ? t.graphic = [{ elements: r @@ -85376,15 +85372,15 @@ function mze(e) { }]); }); } -var h5 = ["x", "y", "radius", "angle", "single"], yze = ["cartesian2d", "polar", "singleAxis"]; -function Cze(e) { +var h5 = ["x", "y", "radius", "angle", "single"], Cze = ["cartesian2d", "polar", "singleAxis"]; +function bze(e) { var t = e.get("coordinateSystem"); - return Yt(yze, t) >= 0; + return Yt(Cze, t) >= 0; } function Rc(e) { return process.env.NODE_ENV !== "production" && Et(e), e + "Axis"; } -function bze(e, t) { +function Sze(e, t) { var r = pt(), n = [], i = pt(); e.eachComponent({ mainType: "dataZoom", @@ -85474,7 +85470,7 @@ var LR = ( }, t.prototype._fillSpecifiedTargetAxis = function(r) { var n = !1; return z(h5, function(i) { - var o = this.getReferringComponents(Rc(i), zDe); + var o = this.getReferringComponents(Rc(i), GDe); if (o.specified) { n = !0; var a = new LR(); @@ -85615,7 +85611,7 @@ function f5(e) { e.hasOwnProperty(r) && (t[r] = e[r]); }), t; } -var Sze = ( +var wze = ( /** @class */ function(e) { be(t, e); @@ -85637,7 +85633,7 @@ var Sze = ( this.dataZoomModel = r, this.ecModel = n, this.api = i; }, t.type = "dataZoom", t; }(sn) -), wze = ( +), xze = ( /** @class */ function(e) { be(t, e); @@ -85647,7 +85643,7 @@ var Sze = ( } return t.type = "dataZoom.select", t; }(PO) -), Yh = z, p5 = Bo, xze = ( +), Yh = z, p5 = Bo, Eze = ( /** @class */ function() { function e(t, r, n, i) { @@ -85662,7 +85658,7 @@ var Sze = ( }, e.prototype.getTargetSeriesModels = function() { var t = []; return this.ecModel.eachSeries(function(r) { - if (Cze(r)) { + if (bze(r)) { var n = Rc(this._dimName), i = r.getReferringComponents(n, Un).models[0]; i && this._axisIndex === i.componentIndex && t.push(r); } @@ -85692,7 +85688,7 @@ var Sze = ( }, e.prototype.reset = function(t) { if (t === this._dataZoomModel) { var r = this.getTargetSeriesModels(); - this._dataExtent = Eze(this, this._dimName, r), this._updateMinMaxSpan(); + this._dataExtent = Rze(this, this._dimName, r), this._updateMinMaxSpan(); var n = this.calculateDataWindow(t.settledOption); this._valueWindow = n.valueWindow, this._percentWindow = n.percentWindow, this._setAxisModel(); } @@ -85754,15 +85750,15 @@ var Sze = ( }, e; }() ); -function Eze(e, t, r) { +function Rze(e, t, r) { var n = [1 / 0, -1 / 0]; Yh(r, function(a) { - zNe(n, a.getData(), t); + GNe(n, a.getData(), t); }); var i = e.getAxisModel(), o = Qq(i.axis.scale, i, n).calculate(); return [o.min, o.max]; } -var Rze = { +var Pze = { // `dataZoomProcessor` will only be performed in needed series. Consider if // there is a line series and a pie series, it is better not to update the // line series if only pie series is needed to be updated. @@ -85780,7 +85776,7 @@ var Rze = { }); var r = []; t(function(i, o, a, s) { - a.__dzAxisProxy || (a.__dzAxisProxy = new xze(i, o, s, e), r.push(a.__dzAxisProxy)); + a.__dzAxisProxy || (a.__dzAxisProxy = new Eze(i, o, s, e), r.push(a.__dzAxisProxy)); }); var n = pt(); return z(r, function(i) { @@ -85813,9 +85809,9 @@ var Rze = { }); } }; -function Pze(e) { +function Tze(e) { e.registerAction("dataZoom", function(t, r) { - var n = bze(r, t); + var n = Sze(r, t); z(n, function(i) { i.setRawRange({ start: t.start, @@ -85828,12 +85824,12 @@ function Pze(e) { } var g5 = !1; function TO(e) { - g5 || (g5 = !0, e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER, Rze), Pze(e), e.registerSubTypeDefaulter("dataZoom", function() { + g5 || (g5 = !0, e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER, Pze), Tze(e), e.registerSubTypeDefaulter("dataZoom", function() { return "slider"; })); } -function Tze(e) { - e.registerComponentModel(Sze), e.registerComponentView(wze), TO(e); +function _ze(e) { + e.registerComponentModel(wze), e.registerComponentView(xze), TO(e); } var fa = ( /** @class */ @@ -85849,7 +85845,7 @@ function qh(e, t) { function $J(e) { return kJ[e]; } -var _ze = ( +var Mze = ( /** @class */ function(e) { be(t, e); @@ -85902,7 +85898,7 @@ var _ze = ( }, t; }(Qt) ); -function Mze(e, t, r) { +function Dze(e, t, r) { var n = t.getBoxLayoutParams(), i = t.get("padding"), o = { width: r.getWidth(), height: r.getHeight() @@ -85924,7 +85920,7 @@ function VJ(e, t) { z2: -1 }), e; } -var Dze = ( +var Ize = ( /** @class */ function(e) { be(t, e); @@ -85942,7 +85938,7 @@ var Dze = ( function h(p, g) { var v = d[p], m = d[g], y = c[v], C = new Wr(y, r, r.ecModel), S; if (o && o.newTitle != null && o.featureName === v && (y.title = o.newTitle), v && !m) { - if (Ize(v)) + if (Aze(v)) S = { onclick: C.option.onclick, featureName: v @@ -86021,7 +86017,7 @@ var Dze = ( }), (p.get(["iconStatus", P]) === "emphasis" ? zl : Gl)(T), a.add(T), T.on("click", at(g.onclick, g, n, i, P)), E[P] = T; }); } - Mze(a, r, i), a.add(VJ(a.getBoundingRect(), r)), l || a.eachChild(function(p) { + Dze(a, r, i), a.add(VJ(a.getBoundingRect(), r)), l || a.eachChild(function(p) { var g = p.__title, v = p.ensureState("emphasis"), m = v.textConfig || (v.textConfig = {}), y = p.getTextContent(), C = y && y.ensureState("emphasis"); if (C && !gt(C) && g) { var S = C.style || (C.style = {}), w = Km(g, gr.makeFont(S)), x = p.x + a.x, E = p.y + a.y + s, R = !1; @@ -86045,10 +86041,10 @@ var Dze = ( }, t.type = "toolbox", t; }(sn) ); -function Ize(e) { +function Aze(e) { return e.indexOf("my") === 0; } -var Aze = ( +var Oze = ( /** @class */ function(e) { be(t, e); @@ -86110,7 +86106,7 @@ var Aze = ( return n; }, t; }(fa) -), v5 = "__ec_magicType_stack__", Oze = [["line", "bar"], ["stack"]], Lze = ( +), v5 = "__ec_magicType_stack__", Lze = [["line", "bar"], ["stack"]], Fze = ( /** @class */ function(e) { be(t, e); @@ -86160,7 +86156,7 @@ var Aze = ( } } }; - z(Oze, function(d) { + z(Lze, function(d) { Yt(d, i) >= 0 && z(d, function(h) { o.setIconStatus(h, "normal"); }); @@ -86226,7 +86222,7 @@ hs({ t.mergeOption(e.newOption); }); var lw = new Array(60).join("-"), jf = " "; -function Fze(e) { +function Nze(e) { var t = {}, r = [], n = []; return e.eachRawSeries(function(i) { var o = i.coordinateSystem; @@ -86252,7 +86248,7 @@ function Fze(e) { meta: n }; } -function Nze(e) { +function kze(e) { var t = []; return z(e, function(r, n) { var i = r.categoryAxis, o = r.valueAxis, a = o.dim, s = [" "].concat(Fe(r.series, function(f) { @@ -86277,7 +86273,7 @@ function Nze(e) { `); } -function kze(e) { +function $ze(e) { return Fe(e, function(t) { var r = t.getRawData(), n = [t.name], i = []; return r.each(r.dimensions, function() { @@ -86292,10 +86288,10 @@ function kze(e) { `); } -function $ze(e) { - var t = Fze(e); +function Vze(e) { + var t = Nze(e); return { - value: kr([Nze(t.seriesGroupByCategoryAxis), kze(t.other)], function(r) { + value: kr([kze(t.seriesGroupByCategoryAxis), $ze(t.other)], function(r) { return !!r.replace(/[\n\t\s]/g, ""); }).join(` @@ -86308,14 +86304,14 @@ function $ze(e) { function dS(e) { return e.replace(/^\s\s*/, "").replace(/\s\s*$/, ""); } -function Vze(e) { +function Bze(e) { var t = e.slice(0, e.indexOf(` `)); if (t.indexOf(jf) >= 0) return !0; } var V_ = new RegExp("[" + jf + "]+", "g"); -function Bze(e) { +function Hze(e) { for (var t = e.split(/\n+/g), r = dS(t.shift()).split(V_), n = [], i = Fe(r, function(l) { return { name: l, @@ -86332,7 +86328,7 @@ function Bze(e) { categories: n }; } -function Hze(e) { +function zze(e) { for (var t = e.split(/\n+/g), r = dS(t.shift()), n = [], i = 0; i < t.length; i++) { var o = dS(t[i]); if (o) { @@ -86351,25 +86347,25 @@ function Hze(e) { data: n }; } -function zze(e, t) { +function Gze(e, t) { var r = e.split(new RegExp(` *` + lw + ` *`, "g")), n = { series: [] }; return z(r, function(i, o) { - if (Vze(i)) { - var a = Bze(i), s = t[o], l = s.axisDim + "Axis"; + if (Bze(i)) { + var a = Hze(i), s = t[o], l = s.axisDim + "Axis"; s && (n[l] = n[l] || [], n[l][s.axisIndex] = { data: a.categories }, n.series = n.series.concat(a.series)); } else { - var a = Hze(i); + var a = zze(i); n.series.push(a); } }), n; } -var Gze = ( +var Wze = ( /** @class */ function(e) { be(t, e); @@ -86390,7 +86386,7 @@ var Gze = ( s.innerHTML = l[0] || o.get("title"), s.style.cssText = "margin:10px 20px", s.style.color = o.get("textColor"); var c = document.createElement("div"), u = document.createElement("textarea"); c.style.cssText = "overflow:auto"; - var d = o.get("optionToContent"), h = o.get("contentToOption"), f = $ze(r); + var d = o.get("optionToContent"), h = o.get("contentToOption"), f = Vze(r); if (gt(d)) { var p = d(n.getOption()); Je(p) ? c.innerHTML = p : Bc(p) && c.appendChild(p); @@ -86414,7 +86410,7 @@ var Gze = ( } var E; try { - gt(h) ? E = h(c, n.getOption()) : E = zze(u.value, v); + gt(h) ? E = h(c, n.getOption()) : E = Gze(u.value, v); } catch (R) { throw x(), new Error("Data view format error " + R); } @@ -86448,7 +86444,7 @@ var Gze = ( }, t; }(fa) ); -function Wze(e, t) { +function jze(e, t) { return Fe(e, function(r, n) { var i = t && t[n]; if (St(i) && !Ae(i)) { @@ -86479,7 +86475,7 @@ hs({ var o = i.get("data"); r.push({ name: n.name, - data: Wze(n.data, o) + data: jze(n.data, o) }); } }), t.mergeOption(xt({ @@ -86487,7 +86483,7 @@ hs({ }, e.newOption)); }); var BJ = z, HJ = Cr(); -function jze(e, t) { +function Uze(e, t) { var r = _O(e); BJ(t, function(n, i) { for (var o = r.length - 1; o >= 0; o--) { @@ -86512,7 +86508,7 @@ function jze(e, t) { } }), r.push(t); } -function Uze(e) { +function Kze(e) { var t = _O(e), r = t[t.length - 1]; t.length > 1 && t.pop(); var n = {}; @@ -86524,17 +86520,17 @@ function Uze(e) { } }), n; } -function Kze(e) { +function Zze(e) { HJ(e).snapshots = null; } -function Zze(e) { +function Yze(e) { return _O(e).length; } function _O(e) { var t = HJ(e); return t.snapshots || (t.snapshots = [{}]), t.snapshots; } -var Yze = ( +var qze = ( /** @class */ function(e) { be(t, e); @@ -86542,7 +86538,7 @@ var Yze = ( return e !== null && e.apply(this, arguments) || this; } return t.prototype.onclick = function(r, n) { - Kze(r), n.dispatchAction({ + Zze(r), n.dispatchAction({ type: "restore", from: this.uid }); @@ -86564,14 +86560,14 @@ hs({ }, function(e, t) { t.resetOption("recreate"); }); -var qze = ["grid", "xAxis", "yAxis", "geo", "graph", "polar", "radiusAxis", "angleAxis", "bmap"], MO = ( +var Xze = ["grid", "xAxis", "yAxis", "geo", "graph", "polar", "radiusAxis", "angleAxis", "bmap"], MO = ( /** @class */ function() { function e(t, r, n) { var i = this; this._targetInfoList = []; var o = y5(r, t); - z(Xze, function(a, s) { + z(Qze, function(a, s) { (!n || !n.include || Yt(n.include, s) >= 0) && a(o, i._targetInfoList); }); } @@ -86600,7 +86596,7 @@ var qze = ["grid", "xAxis", "yAxis", "geo", "graph", "polar", "radiusAxis", "ang if (process.env.NODE_ENV !== "production" && (Et(!i || i === !0 || n.coordRange, "coordRange must be specified when coord index specified."), Et(!i || i !== !0 || n.range, "range must be specified in global brush.")), n.range = n.range || [], i && i !== !0) { n.panelId = i.panelId; var o = FR[n.brushType](0, i.coordSys, n.coordRange), a = n.__rangeOffset; - n.range = a ? w5[n.brushType](o.values, a.offset, Qze(o.xyMinMax, a.xyMinMax)) : o.values; + n.range = a ? w5[n.brushType](o.values, a.offset, Jze(o.xyMinMax, a.xyMinMax)) : o.values; } }, this); }, e.prototype.makePanelOpts = function(t, r) { @@ -86637,10 +86633,10 @@ function B_(e) { } function y5(e, t) { return rv(e, t, { - includeMainTypes: qze + includeMainTypes: Xze }); } -var Xze = { +var Qze = { grid: function(e, t) { var r = e.xAxisModels, n = e.yAxisModels, i = e.gridModels, o = pt(), a = {}, s = {}; !r && !n && !i || (z(r, function(l) { @@ -86746,14 +86742,14 @@ var w5 = { function x5(e, t, r, n) { return [t[0] - n[e] * r[0], t[1] - n[e] * r[1]]; } -function Qze(e, t) { +function Jze(e, t) { var r = E5(e), n = E5(t), i = [r[0] / n[0], r[1] / n[1]]; return isNaN(i[0]) && (i[0] = 1), isNaN(i[1]) && (i[1] = 1), i; } function E5(e) { return e ? [e[0][1] - e[0][0], e[1][1] - e[1][0]] : [NaN, NaN]; } -var H_ = z, Jze = kDe("toolbox-dataZoom_"), eGe = ( +var H_ = z, eGe = $De("toolbox-dataZoom_"), tGe = ( /** @class */ function(e) { be(t, e); @@ -86761,9 +86757,9 @@ var H_ = z, Jze = kDe("toolbox-dataZoom_"), eGe = ( return e !== null && e.apply(this, arguments) || this; } return t.prototype.render = function(r, n, i, o) { - this._brushController || (this._brushController = new iO(i.getZr()), this._brushController.on("brush", at(this._onBrush, this)).mount()), nGe(r, n, this, o, i), rGe(r, n); + this._brushController || (this._brushController = new iO(i.getZr()), this._brushController.on("brush", at(this._onBrush, this)).mount()), iGe(r, n, this, o, i), nGe(r, n); }, t.prototype.onclick = function(r, n, i) { - tGe[i].call(this); + rGe[i].call(this); }, t.prototype.remove = function(r, n) { this._brushController && this._brushController.unmount(); }, t.prototype.dispose = function(r, n) { @@ -86785,7 +86781,7 @@ var H_ = z, Jze = kDe("toolbox-dataZoom_"), eGe = ( lineY: "y" }[h], d, u); } - }), jze(o, i), this._dispatchZoomAction(i); + }), Uze(o, i), this._dispatchZoomAction(i); function s(c, u, d) { var h = u.getAxis(c), f = h.model, p = l(c, f, o), g = p.findRepresentativeAxisProxy(f).getMinMaxSpan(); (g.minValueSpan != null || g.maxValueSpan != null) && (d = th(0, d.slice(), h.scale.getExtent(), 0, g.minValueSpan, g.maxValueSpan)), p && (i[p.id] = { @@ -86832,7 +86828,7 @@ var H_ = z, Jze = kDe("toolbox-dataZoom_"), eGe = ( return n; }, t; }(fa) -), tGe = { +), rGe = { zoom: function() { var e = !this._isZoomActive; this.api.dispatchAction({ @@ -86842,7 +86838,7 @@ var H_ = z, Jze = kDe("toolbox-dataZoom_"), eGe = ( }); }, back: function() { - this._dispatchZoomAction(Uze(this.ecModel)); + this._dispatchZoomAction(Kze(this.ecModel)); } }; function DO(e) { @@ -86854,10 +86850,10 @@ function DO(e) { }; return t.xAxisIndex == null && t.xAxisId == null && (t.xAxisIndex = "all"), t.yAxisIndex == null && t.yAxisId == null && (t.yAxisIndex = "all"), t; } -function rGe(e, t) { - e.setIconStatus("back", Zze(t) > 1 ? "emphasis" : "normal"); +function nGe(e, t) { + e.setIconStatus("back", Yze(t) > 1 ? "emphasis" : "normal"); } -function nGe(e, t, r, n, i) { +function iGe(e, t, r, n, i) { var o = r._isZoomActive; n && n.type === "takeGlobalCursor" && (o = n.key === "dataZoomSelect" ? n.dataZoomSelectActive : !1), r._isZoomActive = o, e.setIconStatus("zoom", o ? "emphasis" : "normal"); var a = new MO(DO(e), t, { @@ -86870,7 +86866,7 @@ function nGe(e, t, r, n, i) { brushStyle: e.getModel("brushStyle").getItemStyle() } : !1); } -dOe("dataZoom", function(e) { +hOe("dataZoom", function(e) { var t = e.getComponent("toolbox", 0), r = ["feature", "dataZoom"]; if (!t || t.get(r) == null) return; @@ -86887,16 +86883,16 @@ dOe("dataZoom", function(e) { // Default to be filter filterMode: n.get("filterMode", !0) || "filter", // Id for merge mapping. - id: Jze + c + d + id: eGe + c + d }; h[u] = d, i.push(h); } return i; }); -function iGe(e) { - e.registerComponentModel(_ze), e.registerComponentView(Dze), qh("saveAsImage", Aze), qh("magicType", Lze), qh("dataView", Gze), qh("dataZoom", eGe), qh("restore", Yze), er(Tze); +function oGe(e) { + e.registerComponentModel(Mze), e.registerComponentView(Ize), qh("saveAsImage", Oze), qh("magicType", Fze), qh("dataView", Wze), qh("dataZoom", tGe), qh("restore", qze), er(_ze); } -var oGe = ( +var aGe = ( /** @class */ function(e) { be(t, e); @@ -86984,7 +86980,7 @@ function GJ(e) { return e[r]; } } -var WJ = GJ(["transform", "webkitTransform", "OTransform", "MozTransform", "msTransform"]), aGe = GJ(["webkitTransition", "transition", "OTransition", "MozTransition", "msTransition"]); +var WJ = GJ(["transform", "webkitTransform", "OTransform", "MozTransform", "msTransform"]), sGe = GJ(["webkitTransition", "transition", "OTransition", "MozTransition", "msTransition"]); function jJ(e, t) { if (!e) return t; @@ -86992,29 +86988,29 @@ function jJ(e, t) { var r = e.indexOf(t); return e = r === -1 ? t : "-" + e.slice(0, r) + "-" + t, e.toLowerCase(); } -function sGe(e, t) { +function lGe(e, t) { var r = e.currentStyle || document.defaultView && document.defaultView.getComputedStyle(e); return r ? r[t] : null; } -var lGe = jJ(aGe, "transition"), IO = jJ(WJ, "transform"), cGe = "position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;" + (pr.transform3dSupported ? "will-change:transform;" : ""); -function uGe(e) { +var cGe = jJ(sGe, "transition"), IO = jJ(WJ, "transform"), uGe = "position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;" + (pr.transform3dSupported ? "will-change:transform;" : ""); +function dGe(e) { return e = e === "left" ? "right" : e === "right" ? "left" : e === "top" ? "bottom" : "top", e; } -function dGe(e, t, r) { +function hGe(e, t, r) { if (!Je(r) || r === "inside") return ""; var n = e.get("backgroundColor"), i = e.get("borderWidth"); t = Ld(t); - var o = uGe(r), a = Math.max(Math.round(i) * 1.5, 6), s = "", l = IO + ":", c; + var o = dGe(r), a = Math.max(Math.round(i) * 1.5, 6), s = "", l = IO + ":", c; Yt(["left", "right"], o) > -1 ? (s += "top:50%", l += "translateY(-50%) rotate(" + (c = o === "left" ? -225 : -45) + "deg)") : (s += "left:50%", l += "translateX(-50%) rotate(" + (c = o === "top" ? 225 : 45) + "deg)"); var u = c * Math.PI / 180, d = a + i, h = d * Math.abs(Math.cos(u)) + d * Math.abs(Math.sin(u)), f = Math.round(((h - Math.SQRT2 * i) / 2 + Math.SQRT2 * i - (h - d) / 2) * 100) / 100; s += ";" + o + ":-" + f + "px"; var p = t + " solid " + i + "px;", g = ["position:absolute;width:" + a + "px;height:" + a + "px;z-index:-1;", s + ";" + l + ";", "border-bottom:" + p, "border-right:" + p, "background-color:" + n + ";"]; return '
'; } -function hGe(e, t) { +function fGe(e, t) { var r = "cubic-bezier(0.23,1,0.32,1)", n = " " + e / 2 + "s " + r, i = "opacity" + n + ",visibility" + n; - return t || (n = " " + e + "s " + r, i += pr.transformSupported ? "," + IO + n : ",left" + n + ",top" + n), lGe + ":" + i; + return t || (n = " " + e + "s " + r, i += pr.transformSupported ? "," + IO + n : ",left" + n + ",top" + n), cGe + ":" + i; } function R5(e, t, r) { var n = e.toFixed(0) + "px", i = t.toFixed(0) + "px"; @@ -87023,7 +87019,7 @@ function R5(e, t, r) { var o = pr.transform3dSupported, a = "translate" + (o ? "3d" : "") + "(" + n + "," + i + (o ? ",0" : "") + ")"; return r ? "top:0;left:0;" + IO + ":" + a + ";" : [["top", 0], ["left", 0], [WJ, a]]; } -function fGe(e) { +function pGe(e) { var t = [], r = e.get("fontSize"), n = e.getTextColor(); n && t.push("color:" + n), t.push("font:" + e.getFont()), r && t.push("line-height:" + Math.round(r * 3 / 2) + "px"); var i = e.get("textShadowColor"), o = e.get("textShadowBlur") || 0, a = e.get("textShadowOffsetX") || 0, s = e.get("textShadowOffsetY") || 0; @@ -87032,18 +87028,18 @@ function fGe(e) { c && t.push("text-" + l + ":" + c); }), t.join(";"); } -function pGe(e, t, r) { +function gGe(e, t, r) { var n = [], i = e.get("transitionDuration"), o = e.get("backgroundColor"), a = e.get("shadowBlur"), s = e.get("shadowColor"), l = e.get("shadowOffsetX"), c = e.get("shadowOffsetY"), u = e.getModel("textStyle"), d = eq(e, "html"), h = l + "px " + c + "px " + a + "px " + s; - return n.push("box-shadow:" + h), t && i && n.push(hGe(i, r)), o && n.push("background-color:" + o), z(["width", "color", "radius"], function(f) { + return n.push("box-shadow:" + h), t && i && n.push(fGe(i, r)), o && n.push("background-color:" + o), z(["width", "color", "radius"], function(f) { var p = "border-" + f, g = iA(p), v = e.get(g); v != null && n.push(p + ":" + v + (f === "color" ? "" : "px")); - }), n.push(fGe(u)), d != null && n.push("padding:" + qd(d).join("px ") + "px"), n.join(";") + ";"; + }), n.push(pGe(u)), d != null && n.push("padding:" + qd(d).join("px ") + "px"), n.join(";") + ";"; } function P5(e, t, r, n, i) { var o = t && t.painter; if (r) { var a = o && o.getViewportRoot(); - a && aMe(e, a, r, n, i); + a && sMe(e, a, r, n, i); } else { e[0] = n, e[1] = i; var s = o && o.getViewportRootOffset(); @@ -87051,7 +87047,7 @@ function P5(e, t, r, n, i) { } e[2] = e[0] / t.getWidth(), e[3] = e[1] / t.getHeight(); } -var gGe = ( +var vGe = ( /** @class */ function() { function e(t, r) { @@ -87075,7 +87071,7 @@ var gGe = ( } return e.prototype.update = function(t) { if (!this._container) { - var r = this._api.getDom(), n = sGe(r, "position"), i = r.style; + var r = this._api.getDom(), n = lGe(r, "position"), i = r.style; i.position !== "absolute" && n !== "absolute" && (i.position = "relative"); } var o = t.get("alwaysShowContent"); @@ -87083,7 +87079,7 @@ var gGe = ( }, e.prototype.show = function(t, r) { clearTimeout(this._hideTimeout), clearTimeout(this._longHideTimeout); var n = this.el, i = n.style, o = this._styleCoord; - n.innerHTML ? i.cssText = cGe + pGe(t, !this._firstShow, this._longHide) + R5(o[0], o[1], !0) + ("border-color:" + Ld(r) + ";") + (t.get("extraCssText") || "") + (";pointer-events:" + (this._enterable ? "auto" : "none")) : i.display = "none", this._show = !0, this._firstShow = !1, this._longHide = !1; + n.innerHTML ? i.cssText = uGe + gGe(t, !this._firstShow, this._longHide) + R5(o[0], o[1], !0) + ("border-color:" + Ld(r) + ";") + (t.get("extraCssText") || "") + (";pointer-events:" + (this._enterable ? "auto" : "none")) : i.display = "none", this._show = !0, this._firstShow = !1, this._longHide = !1; }, e.prototype.setContent = function(t, r, n, i, o) { var a = this.el; if (t == null) { @@ -87091,7 +87087,7 @@ var gGe = ( return; } var s = ""; - if (Je(o) && n.get("trigger") === "item" && !zJ(n) && (s = dGe(n, i, o)), Je(t)) + if (Je(o) && n.get("trigger") === "item" && !zJ(n) && (s = hGe(n, i, o)), Je(t)) a.innerHTML = t + s; else if (t) { a.innerHTML = "", Ae(t) || (t = [t]); @@ -87133,7 +87129,7 @@ var gGe = ( t && t.removeChild(this.el), this.el = this._container = null; }, e; }() -), vGe = ( +), mGe = ( /** @class */ function() { function e(t) { @@ -87215,14 +87211,14 @@ function T5(e) { function _5(e, t, r, n) { e[0] = r, e[1] = n, e[2] = e[0] / t.getWidth(), e[3] = e[1] / t.getHeight(); } -var mGe = new vr({ +var yGe = new vr({ shape: { x: -1, y: -1, width: 2, height: 2 } -}), yGe = ( +}), CGe = ( /** @class */ function(e) { be(t, e); @@ -87232,8 +87228,8 @@ var mGe = new vr({ } return t.prototype.init = function(r, n) { if (!(pr.node || !n.getDom())) { - var i = r.getComponent("tooltip"), o = this._renderMode = WDe(i.get("renderMode")); - this._tooltipContent = o === "richText" ? new vGe(n) : new gGe(n, { + var i = r.getComponent("tooltip"), o = this._renderMode = jDe(i.get("renderMode")); + this._tooltipContent = o === "richText" ? new mGe(n) : new vGe(n, { appendTo: i.get("appendToBody", !0) ? "body" : i.get("appendTo", !0) }); } @@ -87264,7 +87260,7 @@ var mGe = new vr({ if (!(o.from === this.uid || pr.node || !i.getDom())) { var a = M5(o, i); this._ticket = ""; - var s = o.dataByCoordSys, l = wGe(o, n, i); + var s = o.dataByCoordSys, l = xGe(o, n, i); if (l) { var c = l.el.getBoundingRect().clone(); c.applyTransform(l.el.transform), this._tryShow({ @@ -87277,7 +87273,7 @@ var mGe = new vr({ positionDefault: "bottom" }, a); } else if (o.tooltip && o.x != null && o.y != null) { - var u = mGe; + var u = yGe; u.x = o.x, u.y = o.y, u.update(), Nt(u).tooltipConfig = { name: null, option: o.tooltip @@ -87495,14 +87491,14 @@ var mGe = new vr({ }); i = v.x, o = v.y, h = null, f = null; } else if (Je(n) && l) { - var m = SGe(n, p, d, r.get("borderWidth")); + var m = wGe(n, p, d, r.get("borderWidth")); i = m[0], o = m[1]; } else { - var m = CGe(i, o, a, c, u, h ? null : 20, f ? null : 20); + var m = bGe(i, o, a, c, u, h ? null : 20, f ? null : 20); i = m[0], o = m[1]; } if (h && (i -= D5(h) ? d[0] / 2 : h === "right" ? d[0] : 0), f && (o -= D5(f) ? d[1] / 2 : f === "bottom" ? d[1] : 0), zJ(r)) { - var m = bGe(i, o, a, c, u); + var m = SGe(i, o, a, c, u); i = m[0], o = m[1]; } a.moveTo(i, o); @@ -87545,15 +87541,15 @@ function hg(e, t, r) { function M5(e, t) { return e.dispatchAction || at(t.dispatchAction, t); } -function CGe(e, t, r, n, i, o, a) { +function bGe(e, t, r, n, i, o, a) { var s = r.getSize(), l = s[0], c = s[1]; return o != null && (e + l + o + 2 > n ? e -= l + o : e += o), a != null && (t + c + a > i ? t -= c + a : t += a), [e, t]; } -function bGe(e, t, r, n, i) { +function SGe(e, t, r, n, i) { var o = r.getSize(), a = o[0], s = o[1]; return e = Math.min(e + a, n) - a, t = Math.min(t + s, i) - s, e = Math.max(e, 0), t = Math.max(t, 0), [e, t]; } -function SGe(e, t, r, n) { +function wGe(e, t, r, n) { var i = r[0], o = r[1], a = Math.ceil(Math.SQRT2 * n) + 8, s = 0, l = 0, c = t.width, u = t.height; switch (e) { case "inside": @@ -87576,7 +87572,7 @@ function SGe(e, t, r, n) { function D5(e) { return e === "center" || e === "middle"; } -function wGe(e, t, r) { +function xGe(e, t, r) { var n = FI(e).queryOptionMap, i = n.keys()[0]; if (!(!i || i === "series")) { var o = Ym(t, i, n.get(i), { @@ -87599,8 +87595,8 @@ function wGe(e, t, r) { } } } -function xGe(e) { - er(hy), e.registerComponentModel(oGe), e.registerComponentView(yGe), e.registerAction({ +function EGe(e) { + er(hy), e.registerComponentModel(aGe), e.registerComponentView(CGe), e.registerAction({ type: "showTip", event: "showTip", update: "tooltip:manuallyShowTip" @@ -87610,8 +87606,8 @@ function xGe(e) { update: "tooltip:manuallyHideTip" }, An); } -var EGe = ["rect", "polygon", "keep", "clear"]; -function RGe(e, t) { +var RGe = ["rect", "polygon", "keep", "clear"]; +function PGe(e, t) { var r = jr(e ? e.brush : []); if (r.length) { var n = []; @@ -87624,10 +87620,10 @@ function RGe(e, t) { feature: {} }, e.toolbox = [i]); var o = i.feature || (i.feature = {}), a = o.brush || (o.brush = {}), s = a.type || (a.type = []); - s.push.apply(s, n), PGe(s), t && !s.length && s.push.apply(s, EGe); + s.push.apply(s, n), TGe(s), t && !s.length && s.push.apply(s, RGe); } } -function PGe(e) { +function TGe(e) { var t = {}; z(e, function(r) { t[r] = 1; @@ -87673,7 +87669,7 @@ function UJ(e, t, r) { t.hasOwnProperty(i) && A5(t[i]) ? e[i] = Mt(t[i]) : delete e[i]; }); } -function TGe(e, t, r, n, i, o) { +function _Ge(e, t, r, n, i, o) { var a = {}; z(e, function(d) { var h = si.prepareVisualTypes(t[d]); @@ -87697,7 +87693,7 @@ function TGe(e, t, r, n, i, o) { } } } -function _Ge(e, t, r, n) { +function MGe(e, t, r, n) { var i = {}; return z(e, function(o) { var a = si.prepareVisualTypes(t[o]); @@ -87723,7 +87719,7 @@ function _Ge(e, t, r, n) { } }; } -function MGe(e) { +function DGe(e) { var t = e.brushType, r = { point: function(n) { return O5[t].point(n, r, e); @@ -87788,7 +87784,7 @@ function KJ(e) { r.setInputRanges(t.areas, e); }); } -function DGe(e, t, r) { +function IGe(e, t, r) { var n = [], i, o; e.eachComponent({ mainType: "brush" @@ -87810,10 +87806,10 @@ function DGe(e, t, r) { var c = a.option, u = c.brushLink, d = [], h = [], f = [], p = !1; s || (i = c.throttleType, o = c.throttleDelay); var g = Fe(a.areas, function(w) { - var x = LGe[w.brushType], E = xt({ + var x = FGe[w.brushType], E = xt({ boundingRect: x ? x(w) : void 0 }, w); - return E.selectors = MGe(E), E; + return E.selectors = DGe(E), E; }), v = z_(a.option, F5, function(w) { w.mappingMethod = "fixed"; }); @@ -87837,7 +87833,7 @@ function DGe(e, t, r) { }); } function S(w, x, E) { - if (!(!w.brushSelector || OGe(a, x)) && (z(g, function(P) { + if (!(!w.brushSelector || LGe(a, x)) && (z(g, function(P) { a.brushTargetManager.controlSeries(P, w, e) && E.push(P), p = p || y(E); }), m(x) && y(E))) { var R = w.getData(); @@ -87859,21 +87855,21 @@ function DGe(e, t, r) { } : function(_) { return N5(w, R, P, _) ? (E.dataIndex.push(P.getRawIndex(_)), "inBrush") : "outOfBrush"; }; - (m(x) ? p : y(R)) && TGe(F5, v, P, T); + (m(x) ? p : y(R)) && _Ge(F5, v, P, T); }); - }), IGe(t, i, o, n, r); + }), AGe(t, i, o, n, r); } -function IGe(e, t, r, n, i) { +function AGe(e, t, r, n, i) { if (i) { var o = e.getZr(); if (!o[G_]) { - o[NR] || (o[NR] = AGe); + o[NR] || (o[NR] = OGe); var a = Sp(o, NR, r, t); a(e, n); } } } -function AGe(e, t) { +function OGe(e, t) { if (!e.isDisposed()) { var r = e.getZr(); r[G_] = !0, e.dispatchAction({ @@ -87889,11 +87885,11 @@ function N5(e, t, r, n) { return !0; } } -function OGe(e, t) { +function LGe(e, t) { var r = e.option.seriesIndex; return r != null && r !== "all" && (Ae(r) ? Yt(r, t) < 0 : t !== r); } -var LGe = { +var FGe = { rect: function(e) { return k5(e.range); }, @@ -87909,7 +87905,7 @@ var LGe = { function k5(e) { return new Zt(e[0][0], e[1][0], e[0][1] - e[0][0], e[1][1] - e[1][0]); } -var FGe = ( +var NGe = ( /** @class */ function(e) { be(t, e); @@ -87946,7 +87942,7 @@ var FGe = ( }); }, t.type = "brush", t; }(sn) -), NGe = "#ddd", kGe = ( +), kGe = "#ddd", $Ge = ( /** @class */ function(e) { be(t, e); @@ -87959,7 +87955,7 @@ var FGe = ( !n && UJ(i, r, ["inBrush", "outOfBrush"]); var o = i.inBrush = i.inBrush || {}; i.outOfBrush = i.outOfBrush || { - color: NGe + color: kGe }, o.hasOwnProperty("liftZ") || (o.liftZ = 5); }, t.prototype.setAreas = function(r) { process.env.NODE_ENV !== "production" && (Et(Ae(r)), z(r, function(n) { @@ -87996,7 +87992,7 @@ function $5(e, t) { z: e.z }, t, !0); } -var $Ge = ["rect", "polygon", "lineX", "lineY", "keep", "clear"], VGe = ( +var VGe = ["rect", "polygon", "lineX", "lineY", "keep", "clear"], BGe = ( /** @class */ function(e) { be(t, e); @@ -88040,7 +88036,7 @@ var $Ge = ["rect", "polygon", "lineX", "lineY", "keep", "clear"], VGe = ( }, t.getDefaultOption = function(r) { var n = { show: !0, - type: $Ge.slice(), + type: VGe.slice(), icon: { /* eslint-disable */ rect: "M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13", @@ -88059,8 +88055,8 @@ var $Ge = ["rect", "polygon", "lineX", "lineY", "keep", "clear"], VGe = ( }, t; }(fa) ); -function BGe(e) { - e.registerComponentView(FGe), e.registerComponentModel(kGe), e.registerPreprocessor(RGe), e.registerVisual(e.PRIORITY.VISUAL.BRUSH, DGe), e.registerAction({ +function HGe(e) { + e.registerComponentView(NGe), e.registerComponentModel($Ge), e.registerPreprocessor(PGe), e.registerVisual(e.PRIORITY.VISUAL.BRUSH, IGe), e.registerAction({ type: "brush", event: "brush", update: "updateVisual" @@ -88079,9 +88075,9 @@ function BGe(e) { type: "brushEnd", event: "brushEnd", update: "none" - }, An), qh("brush", VGe); + }, An), qh("brush", BGe); } -var HGe = ( +var zGe = ( /** @class */ function(e) { be(t, e); @@ -88118,7 +88114,7 @@ var HGe = ( } }, t; }(Qt) -), zGe = ( +), GGe = ( /** @class */ function(e) { be(t, e); @@ -88186,8 +88182,8 @@ var HGe = ( }, t.type = "title", t; }(sn) ); -function GGe(e) { - e.registerComponentModel(HGe), e.registerComponentView(zGe); +function WGe(e) { + e.registerComponentModel(zGe), e.registerComponentView(GGe); } var V5 = ( /** @class */ @@ -88366,7 +88362,7 @@ var V5 = ( }(V5) ); On(ZJ, U1.prototype); -var WGe = ( +var jGe = ( /** @class */ function(e) { be(t, e); @@ -88376,7 +88372,7 @@ var WGe = ( } return t.type = "timeline", t; }(sn) -), jGe = ( +), UGe = ( /** @class */ function(e) { be(t, e); @@ -88390,7 +88386,7 @@ var WGe = ( return this.model.get("orient") === "horizontal"; }, t; }(La) -), kR = Math.PI, B5 = Cr(), UGe = ( +), kR = Math.PI, B5 = Cr(), KGe = ( /** @class */ function(e) { be(t, e); @@ -88421,7 +88417,7 @@ var WGe = ( }, t.prototype.dispose = function() { this._clearTimer(); }, t.prototype._layout = function(r, n) { - var i = r.get(["label", "position"]), o = r.get("orient"), a = ZGe(r, n), s; + var i = r.get(["label", "position"]), o = r.get("orient"), a = YGe(r, n), s; i == null || i === "auto" ? s = o === "horizontal" ? a.y + a.height / 2 < n.getHeight() / 2 ? "-" : "+" : a.x + a.width / 2 < n.getWidth() / 2 ? "+" : "-" : Je(i) ? s = { horizontal: { top: "-", @@ -88490,7 +88486,7 @@ var WGe = ( S[E] += x[E][R] - w[E][R]; } }, t.prototype._createAxis = function(r, n) { - var i = n.getData(), o = n.get("axisType"), a = KGe(n, o); + var i = n.getData(), o = n.get("axisType"), a = ZGe(n, o); a.getTicks = function() { return i.mapArray(["value"], function(c) { return { @@ -88500,7 +88496,7 @@ var WGe = ( }; var s = i.getDataExtent("value"); a.setExtent(s[0], s[1]), a.calcNiceTicks(); - var l = new jGe("value", a, r.axisExtent, o); + var l = new UGe("value", a, r.axisExtent, o); return l.model = n, l; }, t.prototype._createGroup = function(r) { var n = this[r] = new Lt(); @@ -88575,7 +88571,7 @@ var WGe = ( h(r.nextBtnPosition, "next", at(this._changeTimeline, this, d ? "-" : "+")), h(r.prevBtnPosition, "prev", at(this._changeTimeline, this, d ? "+" : "-")), h(r.playPosition, u ? "stop" : "play", at(this._handlePlayClick, this, !u), !0); function h(f, p, g, v) { if (f) { - var m = ss($t(o.get(["controlStyle", p + "BtnSize"]), a), a), y = [0, -m / 2, m, m], C = YGe(o, p + "Icon", y, { + var m = ss($t(o.get(["controlStyle", p + "BtnSize"]), a), a), y = [0, -m / 2, m, m], C = qGe(o, p + "Icon", y, { x: f[0], y: f[1], originX: a / 2, @@ -88648,9 +88644,9 @@ var WGe = ( for (var o = 0; o < i.length; o++) i && i[o] && i[o].toggleState("progress", B5(i[o]).dataIndex <= r); }, t.type = "timeline.slider", t; - }(WGe) + }(jGe) ); -function KGe(e, t) { +function ZGe(e, t) { if (t = t || e.get("type"), t) switch (t) { case "category": @@ -88667,13 +88663,13 @@ function KGe(e, t) { return new Ul(); } } -function ZGe(e, t) { +function YGe(e, t) { return Kn(e.getBoxLayoutParams(), { width: t.getWidth(), height: t.getHeight() }, e.get("padding")); } -function YGe(e, t, r, n) { +function qGe(e, t, r, n) { var i = n.style, o = pp(e.get(["controlStyle", t]), n || {}, new Zt(r[0], r[1], r[2], r[3])); return i && o.setStyle(i), o; } @@ -88725,7 +88721,7 @@ function z5(e, t, r, n, i, o) { } } } -function qGe(e) { +function XGe(e) { e.registerAction({ type: "timelineChange", event: "timelineChanged", @@ -88750,13 +88746,13 @@ function qGe(e) { n && t.playState != null && n.setPlayState(t.playState); }); } -function XGe(e) { +function QGe(e) { var t = e && e.timeline; Ae(t) || (t = t ? [t] : []), z(t, function(r) { - r && QGe(r); + r && JGe(r); }); } -function QGe(e) { +function JGe(e) { var t = e.type, r = { number: "value", time: "time" @@ -88781,10 +88777,10 @@ function G5(e) { function Uu(e, t) { return e.hasOwnProperty(t); } -function JGe(e) { - e.registerComponentModel(ZJ), e.registerComponentView(UGe), e.registerSubTypeDefaulter("timeline", function() { +function eWe(e) { + e.registerComponentModel(ZJ), e.registerComponentView(KGe), e.registerSubTypeDefaulter("timeline", function() { return "slider"; - }), qGe(e), e.registerPreprocessor(XGe); + }), XGe(e), e.registerPreprocessor(QGe); } function AO(e, t) { if (!e) @@ -88858,7 +88854,7 @@ var H0 = Cr(), Zl = ( }(Qt) ); On(Zl, U1.prototype); -var eWe = ( +var tWe = ( /** @class */ function(e) { be(t, e); @@ -88896,7 +88892,7 @@ var eWe = ( function W_(e) { return !(isNaN(parseFloat(e.x)) && isNaN(parseFloat(e.y))); } -function tWe(e) { +function rWe(e) { return !isNaN(parseFloat(e.x)) && !isNaN(parseFloat(e.y)); } function z0(e, t, r, n, i, o) { @@ -88918,7 +88914,7 @@ var $R = { function um(e, t) { if (t) { var r = e.getData(), n = e.coordinateSystem, i = n && n.dimensions; - if (!tWe(t) && !Ae(t.coord) && Ae(i)) { + if (!rWe(t) && !Ae(t.coord) && Ae(i)) { var o = YJ(t, r, n, e); if (t = Mt(t), t.type && $R[t.type] && o.baseAxis && o.valueAxis) { var a = Yt(i, o.baseAxis.dim), s = Yt(i, o.valueAxis.dim), l = $R[t.type](r, o.baseDataDim, o.valueDataDim, a, s); @@ -88936,16 +88932,16 @@ function um(e, t) { } function YJ(e, t, r, n) { var i = {}; - return e.valueIndex != null || e.valueDim != null ? (i.valueDataDim = e.valueIndex != null ? t.getDimension(e.valueIndex) : e.valueDim, i.valueAxis = r.getAxis(rWe(n, i.valueDataDim)), i.baseAxis = r.getOtherAxis(i.valueAxis), i.baseDataDim = t.mapDimension(i.baseAxis.dim)) : (i.baseAxis = n.getBaseAxis(), i.valueAxis = r.getOtherAxis(i.baseAxis), i.baseDataDim = t.mapDimension(i.baseAxis.dim), i.valueDataDim = t.mapDimension(i.valueAxis.dim)), i; + return e.valueIndex != null || e.valueDim != null ? (i.valueDataDim = e.valueIndex != null ? t.getDimension(e.valueIndex) : e.valueDim, i.valueAxis = r.getAxis(nWe(n, i.valueDataDim)), i.baseAxis = r.getOtherAxis(i.valueAxis), i.baseDataDim = t.mapDimension(i.baseAxis.dim)) : (i.baseAxis = n.getBaseAxis(), i.valueAxis = r.getOtherAxis(i.baseAxis), i.baseDataDim = t.mapDimension(i.baseAxis.dim), i.valueDataDim = t.mapDimension(i.valueAxis.dim)), i; } -function rWe(e, t) { +function nWe(e, t) { var r = e.getData().getDimensionInfo(t); return r && r.coordDim; } function dm(e, t) { return e && e.containData && t.coord && !W_(t) ? e.containData(t.coord) : !0; } -function nWe(e, t, r) { +function iWe(e, t, r) { return e && e.containZone && t.coord && r.coord && !W_(t) && !W_(r) ? e.containZone(t.coord, r.coord) : !0; } function qJ(e, t) { @@ -89015,7 +89011,7 @@ function W5(e, t, r) { isNaN(s) || (a[0] = s), isNaN(l) || (a[1] = l), e.setItemLayout(i, a); }); } -var iWe = ( +var oWe = ( /** @class */ function(e) { be(t, e); @@ -89029,7 +89025,7 @@ var iWe = ( a && (W5(a.getData(), o, i), this.markerGroupMap.get(o.id).updateLayout()); }, this); }, t.prototype.renderSeries = function(r, n, i, o) { - var a = r.coordinateSystem, s = r.id, l = r.getData(), c = this.markerGroupMap, u = c.get(s) || c.set(s, new oy()), d = oWe(a, r, n); + var a = r.coordinateSystem, s = r.id, l = r.getData(), c = this.markerGroupMap, u = c.get(s) || c.set(s, new oy()), d = aWe(a, r, n); n.setData(d), W5(n.getData(), r, o), d.each(function(h) { var f = d.getItemModel(h), p = f.getShallow("symbol"), g = f.getShallow("symbolSize"), v = f.getShallow("symbolRotate"), m = f.getShallow("symbolOffset"), y = f.getShallow("symbolKeepAspect"); if (gt(p) || gt(g) || gt(v) || gt(m)) { @@ -89053,7 +89049,7 @@ var iWe = ( }, t.type = "markPoint", t; }(LO) ); -function oWe(e, t, r) { +function aWe(e, t, r) { var n; e ? n = Fe(e && e.dimensions, function(s) { var l = t.getData().getDimensionInfo(t.getData().mapDimension(s)) || {}; @@ -89071,12 +89067,12 @@ function oWe(e, t, r) { var a = qJ(!!e, n); return i.initData(o, null, a), i; } -function aWe(e) { - e.registerComponentModel(eWe), e.registerComponentView(iWe), e.registerPreprocessor(function(t) { +function sWe(e) { + e.registerComponentModel(tWe), e.registerComponentView(oWe), e.registerPreprocessor(function(t) { AO(t.series, "markPoint") && (t.markPoint = t.markPoint || {}); }); } -var sWe = ( +var lWe = ( /** @class */ function(e) { be(t, e); @@ -89116,7 +89112,7 @@ var sWe = ( animationEasing: "linear" }, t; }(Zl) -), G0 = Cr(), lWe = function(e, t, r, n) { +), G0 = Cr(), cWe = function(e, t, r, n) { var i = e.getData(), o; if (Ae(n)) o = n; @@ -89156,7 +89152,7 @@ function j5(e, t, r, n) { var i = 1 - e, o = n.dimensions[e]; return hS(t[i]) && hS(r[i]) && t[e] === r[e] && n.getAxis(o).containData(t[e]); } -function cWe(e, t) { +function uWe(e, t) { if (e.type === "cartesian2d") { var r = t[0].coord, n = t[1].coord; if (r && n && (j5(1, r, n, e) || j5(0, r, n, e))) @@ -89183,7 +89179,7 @@ function BR(e, t, r, n, i) { } e.setItemLayout(t, s); } -var uWe = ( +var dWe = ( /** @class */ function(e) { be(t, e); @@ -89206,7 +89202,7 @@ var uWe = ( }, t.prototype.renderSeries = function(r, n, i, o) { var a = r.coordinateSystem, s = r.id, l = r.getData(), c = this.markerGroupMap, u = c.get(s) || c.set(s, new nO()); this.group.add(u.group); - var d = dWe(a, r, n), h = d.from, f = d.to, p = d.line; + var d = hWe(a, r, n), h = d.from, f = d.to, p = d.line; G0(n).from = h, G0(n).to = f, n.setData(p); var g = n.get("symbol"), v = n.get("symbolSize"), m = n.get("symbolRotate"), y = n.get("symbolOffset"); Ae(g) || (g = [g, g]), Ae(v) || (v = [v, v]), Ae(m) || (m = [m, m]), Ae(y) || (y = [y, y]), d.from.each(function(S) { @@ -89250,7 +89246,7 @@ var uWe = ( }, t.type = "markLine", t; }(LO) ); -function dWe(e, t, r) { +function hWe(e, t, r) { var n; e ? n = Fe(e && e.dimensions, function(c) { var u = t.getData().getDimensionInfo(t.getData().mapDimension(c)) || {}; @@ -89263,8 +89259,8 @@ function dWe(e, t, r) { name: "value", type: "float" }]; - var i = new Ni(n, r), o = new Ni(n, r), a = new Ni([], r), s = Fe(r.get("data"), Bt(lWe, t, e, r)); - e && (s = kr(s, Bt(cWe, e))); + var i = new Ni(n, r), o = new Ni(n, r), a = new Ni([], r), s = Fe(r.get("data"), Bt(cWe, t, e, r)); + e && (s = kr(s, Bt(uWe, e))); var l = qJ(!!e, n); return i.initData(Fe(s, function(c) { return c[0]; @@ -89278,12 +89274,12 @@ function dWe(e, t, r) { line: a }; } -function hWe(e) { - e.registerComponentModel(sWe), e.registerComponentView(uWe), e.registerPreprocessor(function(t) { +function fWe(e) { + e.registerComponentModel(lWe), e.registerComponentView(dWe), e.registerPreprocessor(function(t) { AO(t.series, "markLine") && (t.markLine = t.markLine || {}); }); } -var fWe = ( +var pWe = ( /** @class */ function(e) { be(t, e); @@ -89320,7 +89316,7 @@ var fWe = ( } }, t; }(Zl) -), W0 = Cr(), pWe = function(e, t, r, n) { +), W0 = Cr(), gWe = function(e, t, r, n) { var i = n[0], o = n[1]; if (!(!i || !o)) { var a = um(e, i), s = um(e, o), l = a.coord, c = s.coord; @@ -89336,7 +89332,7 @@ function U5(e, t, r, n) { var i = 1 - e; return fS(t[i]) && fS(r[i]); } -function gWe(e, t) { +function vWe(e, t) { var r = t.coord[0], n = t.coord[1], i = { coord: r, x: t.x0, @@ -89346,7 +89342,7 @@ function gWe(e, t) { x: t.x1, y: t.y1 }; - return Jd(e, "cartesian2d") ? r && n && (U5(1, r, n) || U5(0, r, n)) ? !0 : nWe(e, i, o) : dm(e, i) || dm(e, o); + return Jd(e, "cartesian2d") ? r && n && (U5(1, r, n) || U5(0, r, n)) ? !0 : iWe(e, i, o) : dm(e, i) || dm(e, o); } function K5(e, t, r, n, i) { var o = n.coordinateSystem, a = e.getItemModel(t), s, l = Xe(a.get(r[0]), i.getWidth()), c = Xe(a.get(r[1]), i.getHeight()); @@ -89368,7 +89364,7 @@ function K5(e, t, r, n, i) { } return s; } -var Z5 = [["x0", "y0"], ["x1", "y0"], ["x1", "y1"], ["x0", "y1"]], vWe = ( +var Z5 = [["x0", "y0"], ["x1", "y0"], ["x1", "y1"], ["x0", "y1"]], mWe = ( /** @class */ function(e) { be(t, e); @@ -89396,7 +89392,7 @@ var Z5 = [["x0", "y0"], ["x1", "y0"], ["x1", "y1"], ["x0", "y1"]], vWe = ( group: new Lt() }); this.group.add(u.group), this.markKeep(u); - var d = mWe(a, r, n); + var d = yWe(a, r, n); n.setData(d), d.each(function(h) { var f = Fe(Z5, function(R) { return K5(d, h, R, r, o); @@ -89445,7 +89441,7 @@ var Z5 = [["x0", "y0"], ["x1", "y0"], ["x1", "y1"], ["x0", "y1"]], vWe = ( }, t.type = "markArea", t; }(LO) ); -function mWe(e, t, r) { +function yWe(e, t, r) { var n, i, o = ["x0", "y0", "x1", "y1"]; if (e) { var a = Fe(e && e.dimensions, function(c) { @@ -89467,8 +89463,8 @@ function mWe(e, t, r) { name: "value", type: "float" }], n = new Ni(i, r); - var s = Fe(r.get("data"), Bt(pWe, t, e, r)); - e && (s = kr(s, Bt(gWe, e))); + var s = Fe(r.get("data"), Bt(gWe, t, e, r)); + e && (s = kr(s, Bt(vWe, e))); var l = e ? function(c, u, d, h) { var f = c.coord[Math.floor(h / 2)][h % 2]; return Dc(f, i[h]); @@ -89477,12 +89473,12 @@ function mWe(e, t, r) { }; return n.initData(s, null, l), n.hasItemOption = !0, n; } -function yWe(e) { - e.registerComponentModel(fWe), e.registerComponentView(vWe), e.registerPreprocessor(function(t) { +function CWe(e) { + e.registerComponentModel(pWe), e.registerComponentView(mWe), e.registerPreprocessor(function(t) { AO(t.series, "markArea") && (t.markArea = t.markArea || {}); }); } -var CWe = function(e, t) { +var bWe = function(e, t) { if (t === "all") return { type: "all", @@ -89520,7 +89516,7 @@ var CWe = function(e, t) { n === !0 && (n = r.selector = ["all", "inverse"]), Ae(n) && z(n, function(o, a) { Je(o) && (o = { type: o - }), n[a] = jt(o, CWe(i, o.type)); + }), n[a] = jt(o, bWe(i, o.type)); }); }, t.prototype.optionUpdated = function() { this._updateData(this.ecModel); @@ -89769,7 +89765,7 @@ var CWe = function(e, t) { }, t.prototype._createItem = function(r, n, i, o, a, s, l, c, u, d, h) { var f = r.visualDrawType, p = a.get("itemWidth"), g = a.get("itemHeight"), v = a.isSelected(n), m = o.get("symbolRotate"), y = o.get("symbolKeepAspect"), C = o.get("icon"); u = C || u || "roundRect"; - var S = bWe(u, o, l, c, f, v, h), w = new j0(), x = o.getModel("textStyle"); + var S = SWe(u, o, l, c, f, v, h), w = new j0(), x = o.getModel("textStyle"); if (gt(r.getLegendIcon) && (!C || C === "inherit")) w.add(r.getLegendIcon({ itemWidth: p, @@ -89782,7 +89778,7 @@ var CWe = function(e, t) { })); else { var E = C === "inherit" && r.getData().getVisual("symbol") ? m === "inherit" ? r.getData().getVisual("symbolRotate") : m : 0; - w.add(SWe({ + w.add(wWe({ itemWidth: p, itemHeight: g, icon: u, @@ -89847,7 +89843,7 @@ var CWe = function(e, t) { }, t.type = "legend.plain", t; }(sn) ); -function bWe(e, t, r, n, i, o, a) { +function SWe(e, t, r, n, i, o, a) { function s(v, m) { v.lineWidth === "auto" && (v.lineWidth = m.lineWidth > 0 ? 2 : 0), U_(v, function(y, C) { v[C] === "inherit" && (v[C] = m[C]); @@ -89865,7 +89861,7 @@ function bWe(e, t, r, n, i, o, a) { lineStyle: f }; } -function SWe(e) { +function wWe(e) { var t = e.icon || "roundRect", r = Hn(t, 0, 0, e.itemWidth, e.itemHeight, e.itemStyle.fill, e.symbolKeepAspect); return r.setStyle(e.itemStyle), r.rotation = (e.iconRotate || 0) * Math.PI / 180, r.setOrigin([e.itemWidth / 2, e.itemHeight / 2]), t.indexOf("empty") > -1 && (r.style.stroke = r.style.fill, r.style.fill = "#fff", r.style.lineWidth = 2), r; } @@ -89896,7 +89892,7 @@ function Z_(e, t, r, n) { excludeSeriesId: n }); } -function wWe(e) { +function xWe(e) { var t = e.findComponents({ mainType: "legend" }); @@ -89927,15 +89923,15 @@ function pg(e, t, r) { selected: n }; } -function xWe(e) { +function EWe(e) { e.registerAction("legendToggleSelect", "legendselectchanged", Bt(pg, "toggleSelected")), e.registerAction("legendAllSelect", "legendselectall", Bt(pg, "allSelect")), e.registerAction("legendInverseSelect", "legendinverseselect", Bt(pg, "inverseSelect")), e.registerAction("legendSelect", "legendselected", Bt(pg, "select")), e.registerAction("legendUnSelect", "legendunselected", Bt(pg, "unSelect")); } function JJ(e) { - e.registerComponentModel(j_), e.registerComponentView(XJ), e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER, wWe), e.registerSubTypeDefaulter("legend", function() { + e.registerComponentModel(j_), e.registerComponentView(XJ), e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER, xWe), e.registerSubTypeDefaulter("legend", function() { return "plain"; - }), xWe(e); + }), EWe(e); } -var EWe = ( +var RWe = ( /** @class */ function(e) { be(t, e); @@ -89977,7 +89973,7 @@ function q5(e, t, r) { ignoreSize: !!i }); } -var X5 = Lt, HR = ["width", "height"], zR = ["x", "y"], RWe = ( +var X5 = Lt, HR = ["width", "height"], zR = ["x", "y"], PWe = ( /** @class */ function(e) { be(t, e); @@ -90149,7 +90145,7 @@ var X5 = Lt, HR = ["width", "height"], zR = ["x", "y"], RWe = ( }, t.type = "legend.scroll", t; }(XJ) ); -function PWe(e) { +function TWe(e) { e.registerAction("legendScroll", "legendscroll", function(t, r) { var n = t.scrollDataIndex; n != null && r.eachComponent({ @@ -90161,13 +90157,13 @@ function PWe(e) { }); }); } -function TWe(e) { - er(JJ), e.registerComponentModel(EWe), e.registerComponentView(RWe), PWe(e); -} function _We(e) { - er(JJ), er(TWe); + er(JJ), e.registerComponentModel(RWe), e.registerComponentView(PWe), TWe(e); } -var MWe = ( +function MWe(e) { + er(JJ), er(_We); +} +var DWe = ( /** @class */ function(e) { be(t, e); @@ -90185,13 +90181,13 @@ var MWe = ( }), t; }(cm) ), FO = Cr(); -function DWe(e, t, r) { +function IWe(e, t, r) { FO(e).coordSysRecordMap.each(function(n) { var i = n.dataZoomInfoMap.get(t.uid); i && (i.getRange = r); }); } -function IWe(e, t) { +function AWe(e, t) { for (var r = FO(e).coordSysRecordMap, n = r.keys(), i = 0; i < n.length; i++) { var o = n[i], a = r.get(o), s = a.dataZoomInfoMap; if (s) { @@ -90207,11 +90203,11 @@ function eee(e, t) { r && r.dispose(); } } -function AWe(e, t) { +function OWe(e, t) { var r = { model: t, - containsPoint: Bt(LWe, t), - dispatchAction: Bt(OWe, e), + containsPoint: Bt(FWe, t), + dispatchAction: Bt(LWe, e), dataZoomInfoMap: null, controller: null }, n = r.controller = new uy(e.getZr()); @@ -90231,7 +90227,7 @@ function AWe(e, t) { }); }), r; } -function OWe(e, t) { +function LWe(e, t) { e.isDisposed() || e.dispatchAction({ type: "dataZoom", animation: { @@ -90241,10 +90237,10 @@ function OWe(e, t) { batch: t }); } -function LWe(e, t, r, n) { +function FWe(e, t, r, n) { return e.coordinateSystem.containPoint([r, n]); } -function FWe(e) { +function NWe(e) { var t, r = "type_", n = { type_true: 2, type_move: 1, @@ -90267,7 +90263,7 @@ function FWe(e) { } }; } -function NWe(e) { +function kWe(e) { e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER, function(t, r) { var n = FO(r), i = n.coordSysRecordMap || (n.coordSysRecordMap = pt()); i.each(function(o) { @@ -90278,7 +90274,7 @@ function NWe(e) { }, function(o) { var a = NJ(o); z(a.infoList, function(s) { - var l = s.model.uid, c = i.get(l) || i.set(l, AWe(r, s.model)), u = c.dataZoomInfoMap || (c.dataZoomInfoMap = pt()); + var l = s.model.uid, c = i.get(l) || i.set(l, OWe(r, s.model)), u = c.dataZoomInfoMap || (c.dataZoomInfoMap = pt()); u.set(o.uid, { dzReferCoordSysInfo: s, model: o, @@ -90295,12 +90291,12 @@ function NWe(e) { eee(i, o); return; } - var u = FWe(l); + var u = NWe(l); a.enable(u.controlType, u.opt), a.setPointerChecker(o.containsPoint), Sp(o, "dispatchAction", s.model.get("throttle", !0), "fixRate"); }); }); } -var kWe = ( +var $We = ( /** @class */ function(e) { be(t, e); @@ -90313,7 +90309,7 @@ var kWe = ( this._clear(); return; } - this.range = r.getPercentRange(), DWe(i, r, { + this.range = r.getPercentRange(), IWe(i, r, { pan: at(GR.pan, this), zoom: at(GR.zoom, this), scrollMove: at(GR.scrollMove, this) @@ -90321,7 +90317,7 @@ var kWe = ( }, t.prototype.dispose = function() { this._clear(), e.prototype.dispose.apply(this, arguments); }, t.prototype._clear = function() { - IWe(this.api, this.dataZoomModel), this.range = null; + AWe(this.api, this.dataZoomModel), this.range = null; }, t.type = "dataZoom.inside", t; }(PO) ), GR = { @@ -90369,9 +90365,9 @@ var WR = { } }; function tee(e) { - TO(e), e.registerComponentModel(MWe), e.registerComponentView(kWe), NWe(e); + TO(e), e.registerComponentModel(DWe), e.registerComponentView($We), kWe(e); } -var $We = ( +var VWe = ( /** @class */ function(e) { be(t, e); @@ -90448,11 +90444,11 @@ var $We = ( } }), t; }(cm) -), gg = vr, J5 = 7, VWe = 1, jR = 30, BWe = 7, vg = "horizontal", eH = "vertical", HWe = 5, zWe = ["line", "bar", "candlestick", "scatter"], GWe = { +), gg = vr, J5 = 7, BWe = 1, jR = 30, HWe = 7, vg = "horizontal", eH = "vertical", zWe = 5, GWe = ["line", "bar", "candlestick", "scatter"], WWe = { easing: "cubicOut", duration: 100, delay: 0 -}, WWe = ( +}, jWe = ( /** @class */ function(e) { be(t, e); @@ -90484,7 +90480,7 @@ var $We = ( var n = this._displayables.sliderGroup = new Lt(); this._renderBackground(), this._renderHandle(), this._renderDataShadow(), r.add(n), this._positionGroup(); }, t.prototype._resetLocation = function() { - var r = this.dataZoomModel, n = this.api, i = r.get("brushSelect"), o = i ? BWe : 0, a = this._findCoordRect(), s = { + var r = this.dataZoomModel, n = this.api, i = r.get("brushSelect"), o = i ? HWe : 0, a = this._findCoordRect(), s = { width: n.getWidth(), height: n.getHeight() }, l = this._orient === vg ? { @@ -90612,8 +90608,8 @@ var $We = ( return r.eachTargetAxis(function(a, s) { var l = r.getAxisProxy(a, s).getTargetSeriesModels(); z(l, function(c) { - if (!i && !(n !== !0 && Yt(zWe, c.get("type")) < 0)) { - var u = o.getComponent(Rc(a), s).axis, d = jWe(a), h, f = c.coordinateSystem; + if (!i && !(n !== !0 && Yt(GWe, c.get("type")) < 0)) { + var u = o.getComponent(Rc(a), s).axis, d = UWe(a), h, f = c.coordinateSystem; d != null && f.getOtherAxis && (h = f.getOtherAxis(u).inverse), d = c.getData().mapDimension(d), i = { thisAxis: u, series: c, @@ -90648,7 +90644,7 @@ var $We = ( style: { // deprecated option stroke: l.get("dataBackgroundColor") || l.get("borderColor"), - lineWidth: VWe, + lineWidth: BWe, fill: "rgba(0,0,0,0)" } })), z([0, 1], function(C) { @@ -90774,7 +90770,7 @@ var $We = ( var h = Bo(this._handleEnds.slice()); f.call(this, 0), f.call(this, 1); function f(p) { - var g = Mc(i.handles[p].parent, this.group), v = $1(p === 0 ? "right" : "left", g), m = this._handleWidth / 2 + HWe, y = es([h[p] + (p === 0 ? -m : m), this._size[1] / 2], g); + var g = Mc(i.handles[p].parent, this.group), v = $1(p === 0 ? "right" : "left", g), m = this._handleWidth / 2 + zWe, y = es([h[p] + (p === 0 ? -m : m), this._size[1] / 2], g); o[p].setStyle({ x: y[0], y: y[1], @@ -90844,7 +90840,7 @@ var $We = ( type: "dataZoom", from: this.uid, dataZoomId: this.dataZoomModel.id, - animation: r ? GWe : null, + animation: r ? WWe : null, start: n[0], end: n[1] }); @@ -90867,7 +90863,7 @@ var $We = ( }, t.type = "dataZoom.slider", t; }(PO) ); -function jWe(e) { +function UWe(e) { var t = { x: "y", y: "x", @@ -90880,9 +90876,9 @@ function tH(e) { return e === "vertical" ? "ns-resize" : "ew-resize"; } function ree(e) { - e.registerComponentModel($We), e.registerComponentView(WWe), TO(e); + e.registerComponentModel(VWe), e.registerComponentView(jWe), TO(e); } -function UWe(e) { +function KWe(e) { er(tee), er(ree); } var nee = { @@ -90890,10 +90886,10 @@ var nee = { * @public */ get: function(e, t, r) { - var n = Mt((KWe[e] || {})[t]); + var n = Mt((ZWe[e] || {})[t]); return r && Ae(n) ? n[n.length - 1] : n; } -}, KWe = { +}, ZWe = { color: { active: ["#006edd", "#e0ffff"], inactive: ["rgba(0,0,0,0)"] @@ -90926,7 +90922,7 @@ var nee = { active: [10, 50], inactive: [0, 0] } -}, rH = si.mapVisual, ZWe = si.eachVisual, YWe = Ae, nH = z, qWe = Bo, XWe = Nr, pS = ( +}, rH = si.mapVisual, YWe = si.eachVisual, qWe = Ae, nH = z, XWe = Bo, QWe = Nr, pS = ( /** @class */ function(e) { be(t, e); @@ -90977,7 +90973,7 @@ var nee = { return h === s[0] ? "min" : h === s[1] ? "max" : (+h).toFixed(Math.min(a, 20)); } }, t.prototype.resetExtent = function() { - var r = this.option, n = qWe([r.min, r.max]); + var r = this.option, n = XWe([r.min, r.max]); this._dataExtent = n; }, t.prototype.getDataDimensionIndex = function(r) { var n = this.option.dimension; @@ -90999,7 +90995,7 @@ var nee = { var s = this.isCategory(); l.call(this, o), l.call(this, a), c.call(this, o, "inRange", "outOfRange"), u.call(this, a); function l(d) { - YWe(n.color) && !d.inRange && (d.inRange = { + qWe(n.color) && !d.inRange && (d.inRange = { color: n.color.slice().reverse() }), d.inRange = d.inRange || { color: r.get("gradientColor") @@ -91026,10 +91022,10 @@ var nee = { var S = C.symbolSize; if (S != null) { var w = -1 / 0; - ZWe(S, function(x) { + YWe(S, function(x) { x > w && (w = x); }), C.symbolSize = rH(S, function(x) { - return XWe(x, [0, w], [0, y[0]], !0); + return QWe(x, [0, w], [0, y[0]], !0); }); } }, this); @@ -91075,7 +91071,7 @@ var nee = { } }, t; }(Qt) -), iH = [20, 140], QWe = ( +), iH = [20, 140], JWe = ( /** @class */ function(e) { be(t, e); @@ -91259,7 +91255,7 @@ function NC(e, t) { r.dataIndex != null && (r.dataIndexInside = r.dataIndex, r.dataIndex = null), r.highlightKey = "visualMap" + (t ? t.componentIndex : ""); }), e; } -var Es = Nr, JWe = z, sH = Math.min, UR = Math.max, e7e = 12, t7e = 6, r7e = ( +var Es = Nr, e7e = z, sH = Math.min, UR = Math.max, t7e = 12, r7e = 6, n7e = ( /** @class */ function(e) { be(t, e); @@ -91372,7 +91368,7 @@ var Es = Nr, JWe = z, sH = Math.min, UR = Math.max, e7e = 12, t7e = 6, r7e = ( }) }); this.group.add(h); - var f = [(a === "horizontal" ? o / 2 : t7e) + i[0] / 2, 0], p = this._shapes; + var f = [(a === "horizontal" ? o / 2 : r7e) + i[0] / 2, 0], p = this._shapes; p.indicator = l, p.indicatorLabel = h, p.indicatorLabelPoint = f, this._firstShowIndicator = !0; }, t.prototype._dragHandle = function(r, n, i, o) { if (this._useHandle) { @@ -91461,7 +91457,7 @@ var Es = Nr, JWe = z, sH = Math.min, UR = Math.max, e7e = 12, t7e = 6, r7e = ( }, t.prototype._updateHandle = function(r, n) { if (this._useHandle) { var i = this._shapes, o = this.visualMapModel, a = i.handleThumbs, s = i.handleLabels, l = o.itemSize, c = o.getExtent(); - JWe([0, 1], function(u) { + e7e([0, 1], function(u) { var d = a[u]; d.setStyle("fill", n.handlesColor[u]), d.y = r[u]; var h = Es(r[u], [0, l[1]], c, !0), f = this.getControllerVisual(h, "symbolSize"); @@ -91540,11 +91536,11 @@ var Es = Nr, JWe = z, sH = Math.min, UR = Math.max, e7e = 12, t7e = 6, r7e = ( if (i.option.hoverLink) { var a = [0, o[1]], s = i.getExtent(); r = sH(UR(a[0], r), a[1]); - var l = n7e(i, s, a), c = [r - l, r + l], u = Es(r, a, s, !0), d = [Es(c[0], a, s, !0), Es(c[1], a, s, !0)]; + var l = i7e(i, s, a), c = [r - l, r + l], u = Es(r, a, s, !0), d = [Es(c[0], a, s, !0), Es(c[1], a, s, !0)]; c[0] < a[0] && (d[0] = -1 / 0), c[1] > a[1] && (d[1] = 1 / 0), n && (d[0] === -1 / 0 ? this._showIndicator(u, d[1], "< ", l) : d[1] === 1 / 0 ? this._showIndicator(u, d[0], "> ", l) : this._showIndicator(u, u, "≈ ", l)); var h = this._hoverLinkDataIndices, f = []; (n || cH(i)) && (f = this._hoverLinkDataIndices = i.findTargetDataIndices(d)); - var p = BDe(h, f); + var p = HDe(h, f); this._dispatchHighDown("downplay", NC(p[0], i)), this._dispatchHighDown("highlight", NC(p[1], i)); } }, t.prototype._hoverLinkFromSeriesMouseOver = function(r) { @@ -91602,8 +91598,8 @@ function lH(e, t, r, n) { ondragend: n }); } -function n7e(e, t, r) { - var n = e7e / 2, i = e.get("hoverLinkDataSize"); +function i7e(e, t, r) { + var n = t7e / 2, i = e.get("hoverLinkDataSize"); return i && (n = Es(i, t, r, !0) / 2), n; } function cH(e) { @@ -91613,26 +91609,26 @@ function cH(e) { function uH(e) { return e === "vertical" ? "ns-resize" : "ew-resize"; } -var i7e = { +var o7e = { type: "selectDataRange", event: "dataRangeSelected", // FIXME use updateView appears wrong update: "update" -}, o7e = function(e, t) { +}, a7e = function(e, t) { t.eachComponent({ mainType: "visualMap", query: e }, function(r) { r.setSelected(e.selected); }); -}, a7e = [ +}, s7e = [ { createOnAllSeries: !0, reset: function(e, t) { var r = []; return t.eachComponent("visualMap", function(n) { var i = e.pipelineContext; - !n.isTargetSeries(e) || i && i.large || r.push(_Ge(n.stateList, n.targetVisuals, at(n.getValueState, n), n.getDataDimensionIndex(e.getData()))); + !n.isTargetSeries(e) || i && i.large || r.push(MGe(n.stateList, n.targetVisuals, at(n.getValueState, n), n.getDataDimensionIndex(e.getData()))); }), r; } }, @@ -91643,7 +91639,7 @@ var i7e = { var r = e.getData(), n = []; t.eachComponent("visualMap", function(i) { if (i.isTargetSeries(e)) { - var o = i.getVisualMeta(at(s7e, null, e, i)) || { + var o = i.getVisualMeta(at(l7e, null, e, i)) || { stops: [], outerColors: [] }, a = i.getDataDimensionIndex(r); @@ -91653,7 +91649,7 @@ var i7e = { } } ]; -function s7e(e, t, r, n) { +function l7e(e, t, r, n) { for (var i = t.targetVisuals[n], o = si.prepareVisualTypes(i), a = { color: ry(e.getData(), "color") // default color. @@ -91670,7 +91666,7 @@ function s7e(e, t, r, n) { } } var dH = z; -function l7e(e) { +function c7e(e) { var t = e && e.visualMap; Ae(t) || (t = t ? [t] : []), dH(t, function(r) { if (r) { @@ -91689,14 +91685,14 @@ var hH = !1; function aee(e) { hH || (hH = !0, e.registerSubTypeDefaulter("visualMap", function(t) { return !t.categories && (!(t.pieces ? t.pieces.length > 0 : t.splitNumber > 0) || t.calculable) ? "continuous" : "piecewise"; - }), e.registerAction(i7e, o7e), z(a7e, function(t) { + }), e.registerAction(o7e, a7e), z(s7e, function(t) { e.registerVisual(e.PRIORITY.VISUAL.COMPONENT, t); - }), e.registerPreprocessor(l7e)); + }), e.registerPreprocessor(c7e)); } function see(e) { - e.registerComponentModel(QWe), e.registerComponentView(r7e), aee(e); + e.registerComponentModel(JWe), e.registerComponentView(n7e), aee(e); } -var c7e = ( +var u7e = ( /** @class */ function(e) { be(t, e); @@ -91707,7 +91703,7 @@ var c7e = ( return t.prototype.optionUpdated = function(r, n) { e.prototype.optionUpdated.apply(this, arguments), this.resetExtent(); var i = this._mode = this._determineMode(); - this._pieceList = [], u7e[this._mode].call(this, this._pieceList), this._resetSelected(r, n); + this._pieceList = [], d7e[this._mode].call(this, this._pieceList), this._resetSelected(r, n); var o = this.option.categories; this.resetVisual(function(a, s) { i === "categories" ? (a.mappingMethod = "category", a.categories = Mt(o)) : (a.dataExtent = this.getExtent(), a.mappingMethod = "piecewise", a.pieceList = Fe(this._pieceList, function(l) { @@ -91837,7 +91833,7 @@ var c7e = ( // Enable hover highlight. }), t; }(pS) -), u7e = { +), d7e = { splitNumber: function(e) { var t = this.option, r = Math.min(t.precision, 20), n = this.getExtent(), i = t.splitNumber; i = Math.max(parseInt(i, 10), 1), t.splitNumber = i; @@ -91902,7 +91898,7 @@ function fH(e, t) { var r = e.inverse; (e.orient === "vertical" ? !r : r) && t.reverse(); } -var d7e = ( +var h7e = ( /** @class */ function(e) { be(t, e); @@ -92007,24 +92003,24 @@ var d7e = ( }(iee) ); function lee(e) { - e.registerComponentModel(c7e), e.registerComponentView(d7e), aee(e); + e.registerComponentModel(u7e), e.registerComponentView(h7e), aee(e); } -function h7e(e) { +function f7e(e) { er(see), er(lee); } -var f7e = { +var p7e = { label: { enabled: !0 }, decal: { show: !1 } -}, pH = Cr(), p7e = {}; -function g7e(e, t) { +}, pH = Cr(), g7e = {}; +function v7e(e, t) { var r = e.getModel("aria"); if (!r.get("enabled")) return; - var n = Mt(f7e); + var n = Mt(p7e); jt(n.label, e.getLocaleModel().get("aria"), !1), jt(r.option, n, !1), i(), o(); function i() { var c = r.getModel("decal"), u = c.get("show"); @@ -92044,7 +92040,7 @@ function g7e(e, t) { } var f = h.getData(); if (h.isColorBySeries()) { - var y = YT(h.ecModel, h.name, p7e, e.getSeriesCount()), C = f.getVisual("decal"); + var y = YT(h.ecModel, h.name, g7e, e.getSeriesCount()), C = f.getVisual("decal"); f.setVisual("decal", S(C, y)); } else { var p = h.getRawData(), g = {}, v = pH(h).scope; @@ -92137,7 +92133,7 @@ function g7e(e, t) { return u[c] || u.chart; } } -function v7e(e) { +function m7e(e) { if (!(!e || !e.aria)) { var t = e.aria; t.show != null && (t.enabled = t.show), t.label = t.label || {}, z(["description", "general", "series", "data"], function(r) { @@ -92145,8 +92141,8 @@ function v7e(e) { }); } } -function m7e(e) { - e.registerPreprocessor(v7e), e.registerVisual(e.PRIORITY.VISUAL.ARIA, g7e); +function y7e(e) { + e.registerPreprocessor(m7e), e.registerVisual(e.PRIORITY.VISUAL.ARIA, v7e); } var gH = { value: "eq", @@ -92167,7 +92163,7 @@ var gH = { // ge: 'gte', // le: 'lte', // neq: 'ne', -}, y7e = ( +}, C7e = ( /** @class */ function() { function e(t) { @@ -92182,7 +92178,7 @@ var gH = { return Je(r) ? this._condVal.test(t) : br(r) ? this._condVal.test(t + "") : !1; }, e; }() -), C7e = ( +), b7e = ( /** @class */ function() { function e() { @@ -92191,7 +92187,7 @@ var gH = { return this.value; }, e; }() -), b7e = ( +), S7e = ( /** @class */ function() { function e() { @@ -92203,7 +92199,7 @@ var gH = { return !0; }, e; }() -), S7e = ( +), w7e = ( /** @class */ function() { function e() { @@ -92215,7 +92211,7 @@ var gH = { return !1; }, e; }() -), w7e = ( +), x7e = ( /** @class */ function() { function e() { @@ -92224,7 +92220,7 @@ var gH = { return !this.child.evaluate(); }, e; }() -), x7e = ( +), E7e = ( /** @class */ function() { function e() { @@ -92239,42 +92235,42 @@ var gH = { ); function NO(e, t) { if (e === !0 || e === !1) { - var r = new C7e(); + var r = new b7e(); return r.value = e, r; } var n = ""; - return cee(e) || (process.env.NODE_ENV !== "production" && (n = io("Illegal config. Expect a plain object but actually", e)), Ar(n)), e.and ? vH("and", e, t) : e.or ? vH("or", e, t) : e.not ? E7e(e, t) : R7e(e, t); + return cee(e) || (process.env.NODE_ENV !== "production" && (n = io("Illegal config. Expect a plain object but actually", e)), Ar(n)), e.and ? vH("and", e, t) : e.or ? vH("or", e, t) : e.not ? R7e(e, t) : P7e(e, t); } function vH(e, t, r) { var n = t[e], i = ""; process.env.NODE_ENV !== "production" && (i = io('"and"/"or" condition should only be `' + e + ": [...]` and must not be empty array.", "Illegal condition:", t)), Ae(n) || Ar(i), n.length || Ar(i); - var o = e === "and" ? new b7e() : new S7e(); + var o = e === "and" ? new S7e() : new w7e(); return o.children = Fe(n, function(a) { return NO(a, r); }), o.children.length || Ar(i), o; } -function E7e(e, t) { +function R7e(e, t) { var r = e.not, n = ""; process.env.NODE_ENV !== "production" && (n = io('"not" condition should only be `not: {}`.', "Illegal condition:", e)), cee(r) || Ar(n); - var i = new w7e(); + var i = new x7e(); return i.child = NO(r, t), i.child || Ar(n), i; } -function R7e(e, t) { +function P7e(e, t) { for (var r = "", n = t.prepareGetValue(e), i = [], o = ar(e), a = e.parser, s = a ? HY(a) : null, l = 0; l < o.length; l++) { var c = o[l]; if (!(c === "parser" || t.valueGetterAttrMap.get(c))) { - var u = lt(gH, c) ? gH[c] : c, d = e[c], h = s ? s(d) : d, f = ZOe(u, h) || u === "reg" && new y7e(h); + var u = lt(gH, c) ? gH[c] : c, d = e[c], h = s ? s(d) : d, f = YOe(u, h) || u === "reg" && new C7e(h); f || (process.env.NODE_ENV !== "production" && (r = io('Illegal relational operation: "' + c + '" in condition:', e)), Ar(r)), i.push(f); } } i.length || (process.env.NODE_ENV !== "production" && (r = io("Relational condition must have at least one operator.", "Illegal condition:", e)), Ar(r)); - var p = new x7e(); + var p = new E7e(); return p.valueGetterParam = n, p.valueParser = s, p.getValue = t.getValue, p.subCondList = i, p; } function cee(e) { return St(e) && !Ei(e); } -var P7e = ( +var T7e = ( /** @class */ function() { function e(t, r) { @@ -92285,14 +92281,14 @@ var P7e = ( }, e; }() ); -function T7e(e, t) { - return new P7e(e, t); +function _7e(e, t) { + return new T7e(e, t); } -var _7e = { +var M7e = { type: "echarts:filter", // PENDING: enhance to filter by index rather than create new data transform: function(e) { - for (var t = e.upstream, r, n = T7e(e.config, { + for (var t = e.upstream, r, n = _7e(e.config, { valueGetterAttrMap: pt({ dimension: !0 }), @@ -92318,7 +92314,7 @@ var _7e = { } }, Y_ = ""; process.env.NODE_ENV !== "production" && (Y_ = ["Valid config is like:", '{ dimension: "age", order: "asc" }', 'or [{ dimension: "age", order: "asc"], { dimension: "date", order: "desc" }]'].join(" ")); -var M7e = { +var D7e = { type: "echarts:sort", transform: function(e) { var t = e.upstream, r = e.config, n = "", i = jr(r); @@ -92366,10 +92362,10 @@ var M7e = { }; } }; -function D7e(e) { - e.registerTransform(_7e), e.registerTransform(M7e); +function I7e(e) { + e.registerTransform(M7e), e.registerTransform(D7e); } -var I7e = ( +var A7e = ( /** @class */ function(e) { be(t, e); @@ -92389,7 +92385,7 @@ var I7e = ( seriesLayoutBy: Bs }, t; }(Qt) -), A7e = ( +), O7e = ( /** @class */ function(e) { be(t, e); @@ -92400,8 +92396,8 @@ var I7e = ( return t.type = "dataset", t; }(sn) ); -function O7e(e) { - e.registerComponentModel(I7e), e.registerComponentView(A7e); +function L7e(e) { + e.registerComponentModel(A7e), e.registerComponentView(O7e); } var ms = Zs.CMD; function af(e, t) { @@ -92474,7 +92470,7 @@ function X_(e, t, r, n, i, o, a, s, l, c) { var P = [], T = []; zc(e, r, i, a, 0.5, P), zc(t, n, o, s, 0.5, T), X_(P[0], T[0], P[1], T[1], P[2], T[2], P[3], T[3], l, c), X_(P[4], T[4], P[5], T[5], P[6], T[6], P[7], T[7], l, c); } -function L7e(e, t) { +function F7e(e, t) { var r = q_(e), n = []; t = t || 1; for (var i = 0; i < r.length; i++) { @@ -92506,7 +92502,7 @@ function mH(e, t, r) { u ? (v.startAngle = o + h * f, v.endAngle = o + h * (f + 1), v.r0 = n + p * g, v.r = n + p * (g + 1)) : (v.startAngle = o + p * g, v.endAngle = o + p * (g + 1), v.r0 = n + h * f, v.r = n + h * (f + 1)), v.clockwise = e.clockwise, v.cx = e.cx, v.cy = e.cy, r.push(v); } } -function F7e(e, t, r) { +function N7e(e, t, r) { for (var n = e.width, i = e.height, o = n > i, a = uee([n, i], o ? 0 : 1, t), s = o ? "width" : "height", l = o ? "height" : "width", c = o ? "x" : "y", u = o ? "y" : "x", d = e[s] / a.length, h = 0; h < a.length; h++) for (var f = e[l] / a[h], p = 0; p < a[h]; p++) { var g = {}; @@ -92516,14 +92512,14 @@ function F7e(e, t, r) { function yH(e, t, r, n) { return e * n - r * t; } -function N7e(e, t, r, n, i, o, a, s) { +function k7e(e, t, r, n, i, o, a, s) { var l = r - e, c = n - t, u = a - i, d = s - o, h = yH(u, d, l, c); if (Math.abs(h) < 1e-6) return null; var f = e - i, p = t - o, g = yH(f, p, u, d) / h; return g < 0 || g > 1 ? null : new Kt(g * l + e, g * c + t); } -function k7e(e, t, r) { +function $7e(e, t, r) { var n = new Kt(); Kt.sub(n, r, t), n.normalize(); var i = new Kt(); @@ -92535,11 +92531,11 @@ function Vh(e, t) { var r = e[e.length - 1]; r && r[0] === t[0] && r[1] === t[1] || e.push(t); } -function $7e(e, t, r) { +function V7e(e, t, r) { for (var n = e.length, i = [], o = 0; o < n; o++) { - var a = e[o], s = e[(o + 1) % n], l = N7e(a[0], a[1], s[0], s[1], t.x, t.y, r.x, r.y); + var a = e[o], s = e[(o + 1) % n], l = k7e(a[0], a[1], s[0], s[1], t.x, t.y, r.x, r.y); l && i.push({ - projPt: k7e(l, t, r), + projPt: $7e(l, t, r), pt: l, idx: o }); @@ -92569,7 +92565,7 @@ function CH(e) { var t = e.points, r = [], n = []; I1(t, r, n); var i = new Zt(r[0], r[1], n[0] - r[0], n[1] - r[1]), o = i.width, a = i.height, s = i.x, l = i.y, c = new Kt(), u = new Kt(); - return o > a ? (c.x = u.x = s + o / 2, c.y = l, u.y = l + a) : (c.y = u.y = l + a / 2, c.x = s, u.x = s + o), $7e(t, c, u); + return o > a ? (c.x = u.x = s + o / 2, c.y = l, u.y = l + a) : (c.y = u.y = l + a / 2, c.x = s, u.x = s + o), V7e(t, c, u); } function gS(e, t, r, n) { if (r === 1) @@ -92580,24 +92576,24 @@ function gS(e, t, r, n) { } return n; } -function V7e(e, t) { +function B7e(e, t) { for (var r = [], n = 0; n < t; n++) r.push(WI(e)); return r; } -function B7e(e, t) { +function H7e(e, t) { t.setStyle(e.style), t.z = e.z, t.z2 = e.z2, t.zlevel = e.zlevel; } -function H7e(e) { +function z7e(e) { for (var t = [], r = 0; r < e.length; ) t.push([e[r++], e[r++]]); return t; } -function z7e(e, t) { +function G7e(e, t) { var r = [], n = e.shape, i; switch (e.type) { case "rect": - F7e(n, t, r), i = vr; + N7e(n, t, r), i = vr; break; case "sector": mH(n, t, r), i = ao; @@ -92613,8 +92609,8 @@ function z7e(e, t) { }, t, r), i = ao; break; default: - var o = e.getComputedTransform(), a = o ? Math.sqrt(Math.max(o[0] * o[0] + o[1] * o[1], o[2] * o[2] + o[3] * o[3])) : 1, s = Fe(L7e(e.getUpdatedPathProxy(), a), function(m) { - return H7e(m); + var o = e.getComputedTransform(), a = o ? Math.sqrt(Math.max(o[0] * o[0] + o[1] * o[1], o[2] * o[2] + o[3] * o[3])) : 1, s = Fe(F7e(e.getUpdatedPathProxy(), a), function(m) { + return z7e(m); }), l = s.length; if (l === 0) gS(CH, { @@ -92649,14 +92645,14 @@ function z7e(e, t) { break; } if (!i) - return V7e(e, t); + return B7e(e, t); for (var g = [], c = 0; c < r.length; c++) { var v = new i(); - v.setShape(r[c]), B7e(e, v), g.push(v); + v.setShape(r[c]), H7e(e, v), g.push(v); } return g; } -function G7e(e, t) { +function W7e(e, t) { var r = e.length, n = t.length; if (r === n) return [e, t]; @@ -92679,10 +92675,10 @@ function bH(e, t) { o[a++] = n, o[a++] = i; return o; } -function W7e(e, t) { +function j7e(e, t) { for (var r, n, i, o = [], a = [], s = 0; s < Math.max(e.length, t.length); s++) { var l = e[s], c = t[s], u = void 0, d = void 0; - l ? c ? (r = G7e(l, c), u = r[0], d = r[1], n = u, i = d) : (d = bH(i || l, l), u = l) : (u = bH(n || c, c), d = c), o.push(u), a.push(d); + l ? c ? (r = W7e(l, c), u = r[0], d = r[1], n = u, i = d) : (d = bH(i || l, l), u = l) : (u = bH(n || c, c), d = c), o.push(u), a.push(d); } return [o, a]; } @@ -92693,7 +92689,7 @@ function SH(e) { } return t === 0 ? [e[0] || 0, e[1] || 0] : [r / t / 3, n / t / 3, t]; } -function j7e(e, t, r, n) { +function U7e(e, t, r, n) { for (var i = (e.length - 2) / 6, o = 1 / 0, a = 0, s = e.length, l = s - 2, c = 0; c < i; c++) { for (var u = c * 6, d = 0, h = 0; h < s; h += 2) { var f = h === 0 ? u : (u + h - 2) % l + 2, p = e[f] - r[0], g = e[f + 1] - r[1], v = t[h] - n[0], m = t[h + 1] - n[1], y = v - p, C = m - g; @@ -92703,18 +92699,18 @@ function j7e(e, t, r, n) { } return a; } -function U7e(e) { +function K7e(e) { for (var t = [], r = e.length, n = 0; n < r; n += 2) t[n] = e[r - n - 2], t[n + 1] = e[r - n - 1]; return t; } -function K7e(e, t, r, n) { +function Z7e(e, t, r, n) { for (var i = [], o, a = 0; a < e.length; a++) { var s = e[a], l = t[a], c = SH(s), u = SH(l); o == null && (o = c[2] < 0 != u[2] < 0); var d = [], h = [], f = 0, p = 1 / 0, g = [], v = s.length; - o && (s = U7e(s)); - for (var m = j7e(s, l, c, u) * 6, y = v - 2, C = 0; C < y; C += 2) { + o && (s = K7e(s)); + for (var m = U7e(s, l, c, u) * 6, y = v - 2, C = 0; C < y; C += 2) { var S = (m + C) % y + 2; d[C + 2] = s[S] - c[0], d[C + 3] = s[S + 1] - c[1]; } @@ -92767,12 +92763,12 @@ function wH(e, t) { } } function hee(e, t) { - var r = e.getUpdatedPathProxy(), n = t.getUpdatedPathProxy(), i = W7e(q_(r), q_(n)), o = i[0], a = i[1], s = e.getComputedTransform(), l = t.getComputedTransform(); + var r = e.getUpdatedPathProxy(), n = t.getUpdatedPathProxy(), i = j7e(q_(r), q_(n)), o = i[0], a = i[1], s = e.getComputedTransform(), l = t.getComputedTransform(); function c() { this.transform = null; } s && wH(o, s), l && wH(a, l), mS(t, "updateTransform", { replace: c }), t.transform = null; - var u = K7e(o, a, 10, Math.PI), d = []; + var u = Z7e(o, a, 10, Math.PI), d = []; mS(t, "buildPath", { replace: function(h) { for (var f = t.__morphT, p = 1 - f, g = [], v = 0; v < u.length; v++) { var m = u[v], y = m.from, C = m.to, S = m.rotation * f, w = m.fromCp, x = m.toCp, E = Math.sin(S), R = Math.cos(S); @@ -92809,7 +92805,7 @@ function kO(e, t, r) { } }, r)), t; } -function Z7e(e, t, r, n, i, o) { +function Y7e(e, t, r, n, i, o) { var a = 16; e = i === r ? 0 : Math.round(32767 * (e - r) / (i - r)), t = o === n ? 0 : Math.round(32767 * (t - n) / (o - n)); for (var s = 0, l, c = (1 << a) / 2; c > 0; c /= 2) { @@ -92825,7 +92821,7 @@ function yS(e) { }), a = Fe(o, function(s, l) { return { cp: s, - z: Z7e(s[0], s[1], t, r, n, i), + z: Y7e(s[0], s[1], t, r, n, i), path: e[l] }; }); @@ -92836,7 +92832,7 @@ function yS(e) { }); } function fee(e) { - return z7e(e.path, e.count); + return G7e(e.path, e.count); } function Q_() { return { @@ -92845,7 +92841,7 @@ function Q_() { count: 0 }; } -function Y7e(e, t, r) { +function q7e(e, t, r) { var n = []; function i(w) { for (var x = 0; x < w.length; x++) { @@ -92923,7 +92919,7 @@ function Y7e(e, t, r) { count: m }; } -function q7e(e, t, r) { +function X7e(e, t, r) { var n = t.length, i = [], o = r.dividePath || fee; function a(f) { for (var p = 0; p < f.length; p++) { @@ -92985,7 +92981,7 @@ function EH(e, t) { } return r; } -var X7e = { +var Q7e = { clone: function(e) { for (var t = [], r = 1 - Math.pow(1 - e.path.style.opacity, 1 / e.count), n = 0; n < e.count; n++) { var i = WI(e.path); @@ -93025,11 +93021,11 @@ function KR(e, t, r, n, i, o) { } } else for (var _ = xt({ - dividePath: X7e[r], + dividePath: Q7e[r], individualDelay: s && function(k, N, $, I) { return s(k + C, S); } - }, l), D = y ? Y7e(x, E, _) : q7e(E, x, _), A = D.fromIndividuals, M = D.toIndividuals, O = A.length, F = 0; F < O; F++) { + }, l), D = y ? q7e(x, E, _) : X7e(E, x, _), A = D.fromIndividuals, M = D.toIndividuals, O = A.length, F = 0; F < O; F++) { var T = s ? xt({ delay: s(F, O) }, l) : l; @@ -93054,15 +93050,15 @@ function Vu(e) { i instanceof nr && !i.disableMorphing && !i.invisible && !i.ignore && n.push(i); }), n; } -var pee = 1e4, Q7e = 0, RH = 1, PH = 2, J7e = Cr(); -function e9e(e, t) { +var pee = 1e4, J7e = 0, RH = 1, PH = 2, e9e = Cr(); +function t9e(e, t) { for (var r = e.dimensions, n = 0; n < r.length; n++) { var i = e.getDimensionInfo(r[n]); if (i && i.otherDims[t] === 0) return r[n]; } } -function t9e(e, t, r) { +function r9e(e, t, r) { var n = e.getDimensionInfo(r), i = n && n.ordinalMeta; if (n) { var o = e.get(n.name, t); @@ -93070,9 +93066,9 @@ function t9e(e, t, r) { } } function TH(e, t, r, n) { - var i = n ? "itemChildGroupId" : "itemGroupId", o = e9e(e, i); + var i = n ? "itemChildGroupId" : "itemGroupId", o = t9e(e, i); if (o) { - var a = t9e(e, t, o); + var a = r9e(e, t, o); return a; } var s = e.getRawDataItem(t), l = n ? "childGroupId" : "groupId"; @@ -93122,18 +93118,18 @@ function Bh(e) { t.stopAnimation(); }); } -function r9e(e, t, r) { +function n9e(e, t, r) { var n = fp("update", r, t); n && e.traverse(function(i) { if (i instanceof Ta) { - var o = DAe(i); + var o = IAe(i); o && i.animateFrom({ style: o }, n); } }); } -function n9e(e, t) { +function i9e(e, t) { var r = e.length; if (r !== t.length) return !1; @@ -93151,7 +93147,7 @@ function gee(e, t, r) { style: w && w !== C ? Pe(Pe({}, w.style), C.style) : C.style }, E); } - var a = !1, s = Q7e, l = pt(), c = pt(); + var a = !1, s = J7e, l = pt(), c = pt(); n.forEach(function(C) { C.groupId && l.set(C.groupId, !0), C.childGroupId && c.set(C.childGroupId, !0); }); @@ -93173,7 +93169,7 @@ function gee(e, t, r) { return S ? x.getId(E) : C ? s === RH ? w.childGroupId : w.groupId : s === PH ? w.childGroupId : w.groupId; }; } - var p = n9e(n, i), g = {}; + var p = i9e(n, i), g = {}; if (!p) for (var u = 0; u < i.length; u++) { var v = i[u], m = v.data.getItemGraphicEl(v.dataIndex); @@ -93182,7 +93178,7 @@ function gee(e, t, r) { function y(C, S) { var w = n[S], x = i[C], E = x.data.hostModel, R = w.data.getItemGraphicEl(w.dataIndex), P = x.data.getItemGraphicEl(x.dataIndex); if (R === P) { - P && r9e(P, x.dataIndex, E); + P && n9e(P, x.dataIndex, E); return; } // We can't use the elements that already being morphed @@ -93249,7 +93245,7 @@ function vc(e) { if (e.hostModel) return e.hostModel.getModel("universalTransition").get("divideShape"); } -function i9e(e, t) { +function o9e(e, t) { var r = pt(), n = pt(), i = pt(); z(e.oldSeries, function(a, s) { var l = e.oldDataGroupIds[s], c = e.oldData[s], u = MH(a), d = DH(u); @@ -93329,7 +93325,7 @@ function IH(e, t) { return r; } } -function o9e(e, t, r, n) { +function a9e(e, t, r, n) { var i = [], o = []; z(jr(e.from), function(a) { var s = IH(t.oldSeries, a); @@ -93353,7 +93349,7 @@ function o9e(e, t, r, n) { } }), i.length > 0 && o.length > 0 && gee(i, o, n); } -function a9e(e) { +function s9e(e) { e.registerUpdateLifecycle("series:beforeupdate", function(t, r, n) { z(jr(n.seriesTransition), function(i) { z(jr(i.to), function(o) { @@ -93362,15 +93358,15 @@ function a9e(e) { }); }); }), e.registerUpdateLifecycle("series:transition", function(t, r, n) { - var i = J7e(r); + var i = e9e(r); if (i.oldSeries && n.updatedSeries && n.optionChanged) { var o = n.seriesTransition; if (o) z(jr(o), function(f) { - o9e(f, i, n, r); + a9e(f, i, n, r); }); else { - var a = i9e(i, n); + var a = o9e(i, n); z(a.keys(), function(f) { var p = a.get(f); gee(p.oldSeries, p.newSeries, r); @@ -93386,38 +93382,38 @@ function a9e(e) { } }); } -er([v4e]); -er([d4e]); -er([N4e, X4e, s$e, B$e, X$e, k8e, d6e, Z6e, vVe, wVe, IVe, RBe, qBe, s3e, x3e, T3e, k3e, W3e, t5e, s5e, m5e, J5e]); -er(yHe); -er(jHe); +er([m4e]); +er([h4e]); +er([k4e, Q4e, l$e, H$e, Q$e, $8e, h6e, Y6e, mVe, xVe, AVe, PBe, XBe, l3e, E3e, _3e, $3e, j3e, r5e, l5e, y5e, eHe]); +er(CHe); +er(UHe); er(hQ); -er(ize); +er(oze); er(XQ); -er(lze); -er(mze); -er(iGe); -er(xGe); +er(cze); +er(yze); +er(oGe); +er(EGe); er(hy); -er(BGe); -er(GGe); -er(JGe); -er(aWe); -er(hWe); -er(yWe); -er(_We); -er(UWe); +er(HGe); +er(WGe); +er(eWe); +er(sWe); +er(fWe); +er(CWe); +er(MWe); +er(KWe); er(tee); er(ree); -er(h7e); +er(f7e); er(see); er(lee); -er(m7e); -er(D7e); -er(O7e); -er(a9e); -er(Ike); -const s9e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +er(y7e); +er(I7e); +er(L7e); +er(s9e); +er(Ake); +const l9e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, Axis: La, ChartView: Vr, @@ -93427,29 +93423,29 @@ const s9e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty( Model: Wr, PRIORITY: Sq, SeriesModel: Ur, - color: BMe, - connect: kFe, - dataTool: WFe, - dependencies: CFe, - disConnect: $Fe, + color: HMe, + connect: $Fe, + dataTool: jFe, + dependencies: bFe, + disConnect: VFe, disconnect: Mq, - dispose: VFe, + dispose: BFe, env: pr, - extendChartView: yke, - extendComponentModel: gke, - extendComponentView: vke, - extendSeriesModel: mke, - format: nke, - getCoordinateSystemDimensions: HFe, + extendChartView: Cke, + extendComponentModel: vke, + extendComponentView: mke, + extendSeriesModel: yke, + format: ike, + getCoordinateSystemDimensions: zFe, getInstanceByDom: SA, - getInstanceById: BFe, - getMap: GFe, - graphic: rke, - helper: ZNe, - init: NFe, + getInstanceById: HFe, + getMap: WFe, + graphic: nke, + helper: YNe, + init: kFe, innerDrawElementOnCanvas: mA, - matrix: mMe, - number: eke, + matrix: yMe, + number: tke, parseGeoJSON: u_, parseGeoJson: u_, registerAction: hs, @@ -93466,16 +93462,16 @@ const s9e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty( registerTransform: Fq, registerUpdateLifecycle: q1, registerVisual: nu, - setCanvasCreator: zFe, + setCanvasCreator: GFe, setPlatformAPI: yK, throttle: Z1, - time: tke, + time: rke, use: er, - util: ike, - vector: nMe, - version: yFe, - zrUtil: q_e, - zrender: wDe + util: oke, + vector: iMe, + version: CFe, + zrUtil: X_e, + zrender: xDe }, Symbol.toStringTag, { value: "Module" })); var md = {}, Ac = {}, vee = {}; (function(e) { @@ -93509,28 +93505,28 @@ Object.defineProperty(Hs, "__esModule", { value: !0 }); Hs.SizeSensorId = Hs.SensorTabIndex = Hs.SensorClassName = void 0; -var l9e = "size-sensor-id"; -Hs.SizeSensorId = l9e; -var c9e = "size-sensor-object"; -Hs.SensorClassName = c9e; -var u9e = "-1"; -Hs.SensorTabIndex = u9e; +var c9e = "size-sensor-id"; +Hs.SizeSensorId = c9e; +var u9e = "size-sensor-object"; +Hs.SensorClassName = u9e; +var d9e = "-1"; +Hs.SensorTabIndex = d9e; Object.defineProperty(uw, "__esModule", { value: !0 }); uw.createSensor = void 0; -var d9e = h9e($O), qR = Hs; -function h9e(e) { +var h9e = f9e($O), qR = Hs; +function f9e(e) { return e && e.__esModule ? e : { default: e }; } -var f9e = function(t, r) { +var p9e = function(t, r) { var n = void 0, i = [], o = function() { getComputedStyle(t).position === "static" && (t.style.position = "relative"); var d = document.createElement("object"); return d.onload = function() { d.contentDocument.defaultView.addEventListener("resize", a), a(); }, d.style.display = "block", d.style.position = "absolute", d.style.top = "0", d.style.left = "0", d.style.height = "100%", d.style.width = "100%", d.style.overflow = "hidden", d.style.pointerEvents = "none", d.style.zIndex = "-1", d.style.opacity = "0", d.setAttribute("class", qR.SensorClassName), d.setAttribute("tabindex", qR.SensorTabIndex), d.type = "text/html", t.appendChild(d), d.data = "about:blank", d; - }, a = (0, d9e.default)(function() { + }, a = (0, h9e.default)(function() { i.forEach(function(u) { u(t); }); @@ -93549,18 +93545,18 @@ var f9e = function(t, r) { unbind: c }; }; -uw.createSensor = f9e; +uw.createSensor = p9e; var dw = {}; Object.defineProperty(dw, "__esModule", { value: !0 }); dw.createSensor = void 0; -var p9e = Hs, g9e = v9e($O); -function v9e(e) { +var g9e = Hs, v9e = m9e($O); +function m9e(e) { return e && e.__esModule ? e : { default: e }; } -var m9e = function(t, r) { - var n = void 0, i = [], o = (0, g9e.default)(function() { +var y9e = function(t, r) { + var n = void 0, i = [], o = (0, v9e.default)(function() { i.forEach(function(u) { u(t); }); @@ -93570,7 +93566,7 @@ var m9e = function(t, r) { }, s = function(d) { n || (n = a()), i.indexOf(d) === -1 && i.push(d); }, l = function() { - n.disconnect(), i = [], n = void 0, t.removeAttribute(p9e.SizeSensorId), r && r(); + n.disconnect(), i = [], n = void 0, t.removeAttribute(g9e.SizeSensorId), r && r(); }, c = function(d) { var h = i.indexOf(d); h !== -1 && i.splice(h, 1), i.length === 0 && n && l(); @@ -93582,19 +93578,19 @@ var m9e = function(t, r) { unbind: c }; }; -dw.createSensor = m9e; +dw.createSensor = y9e; Object.defineProperty(cw, "__esModule", { value: !0 }); cw.createSensor = void 0; -var y9e = uw, C9e = dw, b9e = typeof ResizeObserver < "u" ? C9e.createSensor : y9e.createSensor; -cw.createSensor = b9e; +var C9e = uw, b9e = dw, S9e = typeof ResizeObserver < "u" ? b9e.createSensor : C9e.createSensor; +cw.createSensor = S9e; Object.defineProperty(Ac, "__esModule", { value: !0 }); Ac.removeSensor = Ac.getSensor = Ac.Sensors = void 0; -var S9e = x9e(vee), w9e = cw, J_ = Hs; -function x9e(e) { +var w9e = E9e(vee), x9e = cw, J_ = Hs; +function E9e(e) { return e && e.__esModule ? e : { default: e }; } var Ef = {}; @@ -93602,37 +93598,37 @@ Ac.Sensors = Ef; function mee(e) { e && Ef[e] && delete Ef[e]; } -var E9e = function(t) { +var R9e = function(t) { var r = t.getAttribute(J_.SizeSensorId); if (r && Ef[r]) return Ef[r]; - var n = (0, S9e.default)(); + var n = (0, w9e.default)(); t.setAttribute(J_.SizeSensorId, n); - var i = (0, w9e.createSensor)(t, function() { + var i = (0, x9e.createSensor)(t, function() { return mee(n); }); return Ef[n] = i, i; }; -Ac.getSensor = E9e; -var R9e = function(t) { +Ac.getSensor = R9e; +var P9e = function(t) { var r = t.element.getAttribute(J_.SizeSensorId); t.destroy(), mee(r); }; -Ac.removeSensor = R9e; +Ac.removeSensor = P9e; Object.defineProperty(md, "__esModule", { value: !0 }); md.ver = Cee = md.clear = yee = md.bind = void 0; -var eM = Ac, P9e = function(t, r) { +var eM = Ac, T9e = function(t, r) { var n = (0, eM.getSensor)(t); return n.bind(r), function() { n.unbind(r); }; -}, yee = md.bind = P9e, T9e = function(t) { +}, yee = md.bind = T9e, _9e = function(t) { var r = (0, eM.getSensor)(t); (0, eM.removeSensor)(r); -}, Cee = md.clear = T9e, _9e = "1.0.2"; -md.ver = _9e; +}, Cee = md.clear = _9e, M9e = "1.0.2"; +md.ver = M9e; function AH(e, t) { var r = {}; return t.forEach(function(n) { @@ -93642,10 +93638,10 @@ function AH(e, t) { function XR(e) { return typeof e == "function"; } -function M9e(e) { +function D9e(e) { return typeof e == "string"; } -var D9e = function e(t, r) { +var I9e = function e(t, r) { if (t === r) return !0; if (t && r && typeof t == "object" && typeof r == "object") { if (t.constructor !== r.constructor) return !1; @@ -93670,8 +93666,8 @@ var D9e = function e(t, r) { } return t !== t && r !== r; }; -const Hh = /* @__PURE__ */ qf(D9e); -var I9e = ( +const Hh = /* @__PURE__ */ qf(I9e); +var A9e = ( /** @class */ function(e) { vK(t, e); @@ -93711,7 +93707,7 @@ var I9e = ( }); }, t.prototype.bindEvents = function(r, n) { function i(a, s) { - M9e(a) && XR(s) && r.on(a, function(l) { + D9e(a) && XR(s) && r.on(a, function(l) { s(l, r); }); } @@ -93742,10 +93738,10 @@ var I9e = ( vK(t, e); function t(r) { var n = e.call(this, r) || this; - return n.echarts = s9e, n; + return n.echarts = l9e, n; } return t; - }(I9e) + }(A9e) ); Co.extend(S9); function QR(e, t) { @@ -93755,7 +93751,7 @@ function QR(e, t) { const i = e != null && e.cohort ? e.cohort_value ? `${e.cohort}` : `Not in ${e.cohort}` : "", o = [...(e == null ? void 0 : e.dimensions) ?? []], a = o != null && o.length ? o.map((l) => `${l.name} is ${l.value}`).join(" & ") : ""; return (i || a) && (n = `${i}${i && a ? ", " : ""}${a}`), { conversionCriteriaLabel: r, seriesNameToGroupBy: n }; } -const A9e = ({ +const O9e = ({ eventName: e, eventIndex: t, columnFields: r, @@ -93774,7 +93770,7 @@ const A9e = ({ } return ((l = o[t]) == null ? void 0 : l.name) === e && ((u = (c = o[t]) == null ? void 0 : c.label) == null ? void 0 : u.split(i)[0]) || e; }; -function O9e({ +function L9e({ chartData: e, queryConfiguration: t, themeColors: r, @@ -93997,7 +93993,7 @@ function O9e({ stepIndex: l }); }); - const c = A9e({ + const c = O9e({ eventName: e[0].steps[l].event_name, eventIndex: l, funnelsConfiguration: t @@ -94006,14 +94002,14 @@ function O9e({ } return a; } -var L9e = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "defs", attrs: {}, children: [{ tag: "style", attrs: {} }] }, { tag: "path", attrs: { d: "M945 412H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h256c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM811 548H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h122c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM477.3 322.5H434c-6.2 0-11.2 5-11.2 11.2v248c0 3.6 1.7 6.9 4.6 9l148.9 108.6c5 3.6 12 2.6 15.6-2.4l25.7-35.1v-.1c3.6-5 2.5-12-2.5-15.6l-126.7-91.6V333.7c.1-6.2-5-11.2-11.1-11.2z" } }, { tag: "path", attrs: { d: "M804.8 673.9H747c-5.6 0-10.9 2.9-13.9 7.7a321 321 0 01-44.5 55.7 317.17 317.17 0 01-101.3 68.3c-39.3 16.6-81 25-124 25-43.1 0-84.8-8.4-124-25-37.9-16-72-39-101.3-68.3s-52.3-63.4-68.3-101.3c-16.6-39.2-25-80.9-25-124 0-43.1 8.4-84.7 25-124 16-37.9 39-72 68.3-101.3 29.3-29.3 63.4-52.3 101.3-68.3 39.2-16.6 81-25 124-25 43.1 0 84.8 8.4 124 25 37.9 16 72 39 101.3 68.3a321 321 0 0144.5 55.7c3 4.8 8.3 7.7 13.9 7.7h57.8c6.9 0 11.3-7.2 8.2-13.3-65.2-129.7-197.4-214-345-215.7-216.1-2.7-395.6 174.2-396 390.1C71.6 727.5 246.9 903 463.2 903c149.5 0 283.9-84.6 349.8-215.8a9.18 9.18 0 00-8.2-13.3z" } }] }, name: "field-time", theme: "outlined" }, F9e = function(t, r) { +var F9e = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "defs", attrs: {}, children: [{ tag: "style", attrs: {} }] }, { tag: "path", attrs: { d: "M945 412H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h256c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM811 548H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h122c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM477.3 322.5H434c-6.2 0-11.2 5-11.2 11.2v248c0 3.6 1.7 6.9 4.6 9l148.9 108.6c5 3.6 12 2.6 15.6-2.4l25.7-35.1v-.1c3.6-5 2.5-12-2.5-15.6l-126.7-91.6V333.7c.1-6.2-5-11.2-11.1-11.2z" } }, { tag: "path", attrs: { d: "M804.8 673.9H747c-5.6 0-10.9 2.9-13.9 7.7a321 321 0 01-44.5 55.7 317.17 317.17 0 01-101.3 68.3c-39.3 16.6-81 25-124 25-43.1 0-84.8-8.4-124-25-37.9-16-72-39-101.3-68.3s-52.3-63.4-68.3-101.3c-16.6-39.2-25-80.9-25-124 0-43.1 8.4-84.7 25-124 16-37.9 39-72 68.3-101.3 29.3-29.3 63.4-52.3 101.3-68.3 39.2-16.6 81-25 124-25 43.1 0 84.8 8.4 124 25 37.9 16 72 39 101.3 68.3a321 321 0 0144.5 55.7c3 4.8 8.3 7.7 13.9 7.7h57.8c6.9 0 11.3-7.2 8.2-13.3-65.2-129.7-197.4-214-345-215.7-216.1-2.7-395.6 174.2-396 390.1C71.6 727.5 246.9 903 463.2 903c149.5 0 283.9-84.6 349.8-215.8a9.18 9.18 0 00-8.2-13.3z" } }] }, name: "field-time", theme: "outlined" }, N9e = function(t, r) { return /* @__PURE__ */ b.createElement(yr, Te({}, t, { ref: r, - icon: L9e + icon: F9e })); -}, bee = /* @__PURE__ */ b.forwardRef(F9e); +}, bee = /* @__PURE__ */ b.forwardRef(N9e); process.env.NODE_ENV !== "production" && (bee.displayName = "FieldTimeOutlined"); -function N9e(e) { +function k9e(e) { const t = [ { value: 2592e3, name: "month" }, { value: 604800, name: "week" }, @@ -94029,17 +94025,17 @@ function N9e(e) { } return `${e} seconds`; } -function k9e({ +function $9e({ chartResponse: e, queryConfiguration: t }) { var c; - const { themeColors: r, currentTheme: n } = Bm(), i = O9e({ + const { themeColors: r, currentTheme: n } = Bm(), i = L9e({ chartData: e == null ? void 0 : e.data, queryConfiguration: t, themeColors: r, themeMode: n - }), o = t == null ? void 0 : t.start_date, a = t == null ? void 0 : t.end_date, s = (c = t == null ? void 0 : t.conversion) == null ? void 0 : c.window_interval, l = N9e(s); + }), o = t == null ? void 0 : t.start_date, a = t == null ? void 0 : t.end_date, s = (c = t == null ? void 0 : t.conversion) == null ? void 0 : c.window_interval, l = k9e(s); return /* @__PURE__ */ Y.jsxs( dt, { @@ -94090,7 +94086,7 @@ function k9e({ ); } Co.extend(S9); -function $9e({ +function V9e({ chartData: e, queryConfiguration: t, themeColors: r, @@ -94296,7 +94292,7 @@ function $9e({ formatter: (m) => { var S; let y = "
"; - y += `
${V9e( + y += `
${B9e( m[0].name, (S = t == null ? void 0 : t.time) == null ? void 0 : S.granularity )}

`; @@ -94340,15 +94336,15 @@ function OH(e, t, r = !0) { )} - ${Co(e).add(6, "day").format(Fg[t])}` : r ? Co(e).format(Fg[t]).replace(/ /g, ` `) : Co(e).format(Fg[t]); } -function V9e(e, t) { +function B9e(e, t) { return t === "week" ? `${Co(e).format("[Week] WW, Do MMM YYYY")} - ${Co(e).add(6, "day").format("Do MMM YYYY")}` : t === "day" ? Co(e).format("Do MMM YYYY") : Co(e).format(Fg[t]); } -function B9e({ +function H9e({ chartResponse: e, queryConfiguration: t }) { var s, l; - const { themeColors: r, currentTheme: n } = Bm(), i = $9e({ + const { themeColors: r, currentTheme: n } = Bm(), i = V9e({ chartData: (e == null ? void 0 : e.data) ?? [], queryConfiguration: t ?? {}, themeColors: r, @@ -94397,7 +94393,7 @@ function B9e({ } ); } -function H9e({ +function z9e({ index: e, messages: t, handleRegenerateResponse: r, @@ -94485,7 +94481,7 @@ function H9e({ } ); } -function z9e({ +function G9e({ index: e, messages: t, showMessageActionCard: r, @@ -94503,7 +94499,7 @@ function z9e({ return /* @__PURE__ */ Y.jsx(Tt, { children: /* @__PURE__ */ Y.jsx(Md, { children: v }) }); case "trend": return /* @__PURE__ */ Y.jsx( - B9e, + H9e, { chartResponse: l.query_response, queryConfiguration: m @@ -94511,7 +94507,7 @@ function z9e({ ); case "funnel": return /* @__PURE__ */ Y.jsx( - k9e, + $9e, { chartResponse: l.query_response, queryConfiguration: m @@ -94557,7 +94553,7 @@ function z9e({ handleSendFollowupMessage: i }) || h(), u && /* @__PURE__ */ Y.jsx( - H9e, + z9e, { index: e, messages: t, @@ -94574,7 +94570,7 @@ function z9e({ } ); } -function G9e({ +function W9e({ messages: e, index: t, customMessageComponent: r @@ -94609,7 +94605,7 @@ function G9e({ } ) }); } -function Yrt({ +function qrt({ messages: e, handleSendFollowupMessage: t, isMessageLoading: r, @@ -94620,14 +94616,15 @@ function Yrt({ customMessageActionCardItem: s, hideNewChatButton: l = !1, emptyChatComponent: c, - disableScrollNewMessageToTop: u = !1 + disableScrollNewMessageToTop: u = !1, + handleStartNewChat: d }) { - const [d, h] = Ie(""), f = ve(null); + const [h, f] = Ie(""), p = ve(null); Ht(() => { - const g = f.current; - g && !u && (g.scrollTop = g.scrollHeight); + const v = p.current; + v && !u && (v.scrollTop = v.scrollHeight); }, [e, u]); - const p = e.length > 1 && r || e.length === 1; + const g = e.length > 1 && r || e.length === 1; return /* @__PURE__ */ Y.jsxs( dt, { @@ -94650,7 +94647,11 @@ function Yrt({ okText: "Yes", cancelText: "No", onConfirm: () => { - n([]); + if (d) { + d(); + return; + } else + n([]); }, children: /* @__PURE__ */ Y.jsx( Er, @@ -94669,7 +94670,7 @@ function Yrt({ /* @__PURE__ */ Y.jsxs( dt, { - ref: f, + ref: p, vertical: !0, style: { width: "58vw", @@ -94684,29 +94685,29 @@ function Yrt({ rootClassName: "chat-container", gap: 48, children: [ - !p && e.length === 0 && c && c, - e.filter(Boolean).map((g, v) => g.type === "ai" ? /* @__PURE__ */ Y.jsx( - z9e, + !g && e.length === 0 && c && c, + e.filter(Boolean).map((v, m) => v.type === "ai" ? /* @__PURE__ */ Y.jsx( + G9e, { - index: v, + index: m, messages: e, hideActionCardItems: o, showMessageActionCard: i, - customMessageComponent: (a == null ? void 0 : a.type) === g.type ? a : void 0, + customMessageComponent: (a == null ? void 0 : a.type) === v.type ? a : void 0, handleRegenerateResponse: t, customMessageActionCardItem: s }, - v + m ) : /* @__PURE__ */ Y.jsx( - G9e, + W9e, { - index: v, + index: m, messages: e, - customMessageComponent: (a == null ? void 0 : a.type) === g.type ? a : void 0 + customMessageComponent: (a == null ? void 0 : a.type) === v.type ? a : void 0 }, - v + m )), - p && /* @__PURE__ */ Y.jsx(aRe, {}) + g && /* @__PURE__ */ Y.jsx(sRe, {}) ] } ), @@ -94714,13 +94715,13 @@ function Yrt({ Vm, { inputRef: null, - userQuery: d, - setUserQuery: h, + userQuery: h, + setUserQuery: f, handleSendMessage: () => { - t(d), h(""); + t(h), f(""); }, placeholder: "Follow up with your question here...", - isFollowupDisabled: p + isFollowupDisabled: g } ) ] @@ -94754,7 +94755,7 @@ const LH = ({ ) } ); -function W9e({ +function j9e({ adGroup: e, handleUpdateAdGroup: t, areHeadingsDescriptionsLoading: r @@ -95095,7 +95096,7 @@ function W9e({ } ); } -function qrt({ +function Xrt({ pageHeading: e, forecast: t, adGroups: r, @@ -95251,7 +95252,7 @@ function qrt({ children: [ /* @__PURE__ */ Y.jsx(Tt.Text, { type: "secondary", children: "Your Ad Groups" }), d ? /* @__PURE__ */ Y.jsx(el, { active: !0 }) : /* @__PURE__ */ Y.jsx(dt, { vertical: !0, gap: 24, children: r == null ? void 0 : r.map((v, m) => /* @__PURE__ */ Y.jsx( - W9e, + j9e, { adGroup: v, areHeadingsDescriptionsLoading: s[m], @@ -95342,7 +95343,7 @@ function qrt({ } ); } -function j9e({ +function U9e({ dataSource: e, columns: t, onRowClick: r, @@ -95410,7 +95411,7 @@ function j9e({ } ); } -function Xrt({ +function Qrt({ pageHeading: e, keywordsData: t, handleStartFresh: r, @@ -95767,7 +95768,7 @@ function Xrt({ } ), /* @__PURE__ */ Y.jsx( - j9e, + U9e, { style: { width: "100%" @@ -95878,7 +95879,7 @@ function Xrt({ } ); } -function Qrt({ +function Jrt({ campaignName: e, channelType: t, suggestions: r, @@ -96143,7 +96144,7 @@ function _r(e) { function rh(e, t, r) { return e == null && t == null ? !0 : e != null && t != null && e.length === t.length && e.every((n, i) => r ? r(n, t[i]) : t[i] === n); } -function U9e(e) { +function K9e(e) { return e.sort((t, r) => t - r); } function See(e, t) { @@ -96154,11 +96155,11 @@ function Xi(e, t) { const r = e.indexOf(t); r >= 0 && e.splice(r, 1); } -function K9e(e, t) { +function Z9e(e, t) { for (let r = 0; r < t.length; r++) See(e, t[r]); } -function Z9e(e, t) { +function Y9e(e, t) { for (let r = 0; r < t.length; r++) Xi(e, t[r]); } @@ -96166,18 +96167,18 @@ function CS(e, t, r) { e.splice(r, 0, t); } function wee(e, t, r) { - Z9e(e, t), t.slice().reverse().forEach((n) => CS(e, n, r)); + Y9e(e, t), t.slice().reverse().forEach((n) => CS(e, n, r)); } function yd(e, t) { return e.indexOf(t) > -1; } -function Y9e(e) { +function q9e(e) { return [].concat.apply([], e); } function FH(e, t) { t == null || e == null || t.forEach((r) => e.push(r)); } -var xee = "__ag_Grid_Stop_Propagation", q9e = ["touchstart", "touchend", "touchmove", "touchcancel", "scroll"], JR = {}; +var xee = "__ag_Grid_Stop_Propagation", X9e = ["touchstart", "touchend", "touchmove", "touchcancel", "scroll"], JR = {}; function Uf(e) { e[xee] = !0; } @@ -96211,22 +96212,22 @@ function tM(e, t, r) { } return null; } -function X9e(e, t) { - return !t || !e ? !1 : J9e(t).indexOf(e) >= 0; +function Q9e(e, t) { + return !t || !e ? !1 : eje(t).indexOf(e) >= 0; } -function Q9e(e) { +function J9e(e) { const t = []; let r = e.target; for (; r; ) t.push(r), r = r.parentElement; return t; } -function J9e(e) { +function eje(e) { const t = e; - return t.path ? t.path : t.composedPath ? t.composedPath() : Q9e(t); + return t.path ? t.path : t.composedPath ? t.composedPath() : J9e(t); } -function eje(e, t, r, n) { - const o = yd(q9e, r) ? { passive: !0 } : void 0; +function tje(e, t, r, n) { + const o = yd(X9e, r) ? { passive: !0 } : void 0; e && e.addEventListener && e.addEventListener(t, r, n, o); } var De = class { @@ -96292,7 +96293,7 @@ var De = class { _setupListener(e, t, r) { if (this.destroyed) return () => null; - e instanceof HTMLElement ? eje(this.getFrameworkOverrides(), e, t, r) : e.addEventListener(t, r); + e instanceof HTMLElement ? tje(this.getFrameworkOverrides(), e, t, r) : e.addEventListener(t, r); const n = () => (e.removeEventListener(t, r), null); return this.destroyFunctions.push(n), () => (n(), this.destroyFunctions = this.destroyFunctions.filter((i) => i !== n), null); } @@ -96424,7 +96425,7 @@ function bS(e, t) { const r = e ? JSON.stringify(e) : null, n = t ? JSON.stringify(t) : null; return r === n; } -function tje(e, t, r = !1) { +function rje(e, t, r = !1) { const n = e == null, i = t == null; if (e && e.toNumber && (e = e.toNumber()), t && t.toNumber && (t = t.toNumber()), n && i) return 0; @@ -96519,12 +96520,12 @@ function hv(e, t, r) { function sM(e) { return typeof e == "object" && e !== null; } -var rje = { +var nje = { resizable: !0, sortable: !0 -}, nje = 0; +}, ije = 0; function Pee() { - return nje++; + return ije++; } function Zc(e) { return e instanceof _ee; @@ -96672,7 +96673,7 @@ var Tee = 20, _ee = class extends De { } /** Get value from ColDef or default if it exists. */ getColDefValue(e) { - return this.colDef[e] ?? rje[e]; + return this.colDef[e] ?? nje[e]; } isColumnFunc(e, t) { if (typeof t == "boolean") @@ -97036,7 +97037,7 @@ var $C = class extends De { onColumnVisibilityChanged() { this.setExpandable(); } -}, ije = { +}, oje = { numericColumn: { headerClass: "ag-right-aligned-header", cellClass: "ag-right-aligned-cell" @@ -97061,8 +97062,8 @@ function Hr(e, ...t) { function GO(e) { return !!(e && e.constructor && e.call && e.apply); } -function oje(e) { - aje(e, 400); +function aje(e) { + sje(e, 400); } var e2 = [], t2 = !1; function kH(e) { @@ -97071,7 +97072,7 @@ function kH(e) { e2.length = 0, t2 = !1, t.forEach((r) => r()); }, 0)); } -function aje(e, t = 0) { +function sje(e, t = 0) { e.length > 0 && window.setTimeout(() => e.forEach((r) => r()), t); } function Qi(e, t) { @@ -97090,7 +97091,7 @@ function $H(e, t) { o - r < t || (r = o, e.apply(i, n)); }; } -function sje(e, t, r = 100, n) { +function lje(e, t, r = 100, n) { const i = (/* @__PURE__ */ new Date()).getTime(); let o = null, a = !1; const s = () => { @@ -97099,10 +97100,10 @@ function sje(e, t, r = 100, n) { }; s(), a || (o = window.setInterval(s, 10)); } -function lje(...e) { +function cje(...e) { return (t) => e.reduce((r, n) => n(r), t); } -var cje = class { +var uje = class { constructor() { this.existingKeys = {}; } @@ -97152,7 +97153,7 @@ function VC(e) { let t = []; return e instanceof Array ? e.some((n) => typeof n != "string") ? Ve("if colDef.type is supplied an array it should be of type 'string[]'") : t = e : typeof e == "string" ? t = e.split(",") : Ve("colDef.type should be of type 'string' | 'string[]'"), t; } -var uje = class extends De { +var dje = class extends De { constructor() { super(...arguments), this.beanName = "columnFactory"; } @@ -97160,7 +97161,7 @@ var uje = class extends De { this.dataTypeService = e.dataTypeService; } createColumnTree(e, t, r, n) { - const i = new cje(), { existingCols: o, existingGroups: a, existingColKeys: s } = this.extractExistingTreeData(r); + const i = new uje(), { existingCols: o, existingGroups: a, existingColKeys: s } = this.extractExistingTreeData(r); i.addExistingKeys(s); const l = this.recursivelyCreateColumns( e, @@ -97380,7 +97381,7 @@ var uje = class extends De { assignColumnTypes(e, t) { if (!e.length) return; - const r = Object.assign({}, ije), n = this.gos.get("columnTypes") || {}; + const r = Object.assign({}, oje), n = this.gos.get("columnTypes") || {}; Ua(n, (i, o) => { i in r ? Ve(`the column type '${i}' is a default column type and cannot be overridden.`) : (o.type && Ve( "Column type definitions 'columnTypes' with a 'type' attribute are not supported because a column type cannot refer to another column type. Only column definitions 'columnDefs' can use the 'type' attribute to refer to a column type." @@ -97402,7 +97403,7 @@ function Yl(e, t, r) { qi(i) && Yl(i, i.getChildren(), r), r(i, e); } } -var dje = class extends De { +var hje = class extends De { constructor() { super(...arguments), this.beanName = "columnModel", this.pivotMode = !1, this.autoHeightActiveAtLeastOnce = !1, this.ready = !1, this.changeEventsDispatching = !1, this.shouldQueueResizeOperations = !1, this.resizeOperationQueue = []; } @@ -97482,7 +97483,7 @@ var dje = class extends De { }); } addAutoCols() { - this.autoCols != null && (this.cols.list = this.autoCols.list.concat(this.cols.list), this.cols.tree = this.autoCols.tree.concat(this.cols.tree), hje(this.cols)); + this.autoCols != null && (this.cols.list = this.autoCols.list.concat(this.cols.list), this.cols.tree = this.autoCols.tree.concat(this.cols.tree), fje(this.cols)); } createAutoCols() { var p, g; @@ -97493,7 +97494,7 @@ var dje = class extends De { o(); return; } - const a = this.autoColService.createAutoCols(r) ?? [], s = fje(a, ((p = this.autoCols) == null ? void 0 : p.list) || null), l = this.cols.treeDepth, u = (this.autoCols ? this.autoCols.treeDepth : -1) == l; + const a = this.autoColService.createAutoCols(r) ?? [], s = pje(a, ((p = this.autoCols) == null ? void 0 : p.list) || null), l = this.cols.treeDepth, u = (this.autoCols ? this.autoCols.treeDepth : -1) == l; if (s && u) return; o(); @@ -97835,17 +97836,17 @@ var dje = class extends De { function lf(e) { return e === "gridOptionsUpdated" ? "gridOptionsChanged" : e; } -function hje(e) { +function fje(e) { e.map = {}, e.list.forEach((t) => e.map[t.getId()] = t); } function BH(e, t) { const r = e === t, n = e.getColDef() === t, i = e.getColId() == t; return r || n || i; } -function fje(e, t) { +function pje(e, t) { return rh(e, t, (r, n) => r.getColId() === n.getColId()); } -var pje = class extends De { +var gje = class extends De { constructor() { super(...arguments), this.beanName = "columnAutosizeService", this.timesDelayed = 0; } @@ -97920,7 +97921,7 @@ var pje = class extends De { const n = e.getMaxWidth(); return e.isGreaterThanMax(t) && (t = n), t; } -}, gje = class extends De { +}, vje = class extends De { constructor() { super(...arguments), this.beanName = "funcColsService", this.rowGroupCols = [], this.valueCols = [], this.pivotCols = []; } @@ -98259,7 +98260,7 @@ var pje = class extends De { "initialPivotIndex" ), Object.values(r); } -}, vje = class extends De { +}, mje = class extends De { constructor() { super(...arguments), this.beanName = "columnApplyStateService"; } @@ -98504,7 +98505,7 @@ var pje = class extends De { return 1; const l = t.indexOf(r), c = t.indexOf(n), u = l >= 0, d = c >= 0; return u && d ? l - c : u ? -1 : 1; -}, mje = class extends De { +}, yje = class extends De { constructor() { super(...arguments), this.beanName = "columnMoveService"; } @@ -98573,7 +98574,7 @@ var pje = class extends De { a === "right" ? n.push(o) : a === "left" || a === !0 ? t.push(o) : r.push(o); }), this.gos.get("enableRtl") ? [...n, ...r, ...t] : [...t, ...r, ...n]; } -}, yje = /[&<>"']/g, Cje = { +}, Cje = /[&<>"']/g, bje = { "&": "&", "<": "<", ">": ">", @@ -98584,15 +98585,15 @@ function zs(e, t) { if (e == null) return null; const r = e.toString().toString(); - return t ? r : r.replace(yje, (n) => Cje[n]); + return t ? r : r.replace(Cje, (n) => bje[n]); } -function bje(e) { +function Sje(e) { if (!e || e == null) return null; const t = /([a-z])([A-Z])/g, r = /([A-Z]+)([A-Z])([a-z])/g; return e.replace(t, "$1 $2").replace(r, "$1 $2$3").replace(/\./g, " ").split(" ").map((i) => i.substring(0, 1).toUpperCase() + (i.length > 1 ? i.substring(1, i.length) : "")).join(" "); } -var Sje = class extends De { +var wje = class extends De { constructor() { super(...arguments), this.beanName = "columnNameService"; } @@ -98628,7 +98629,7 @@ var Sje = class extends De { if (e.headerName != null) return e.headerName; if (e.field) - return bje(e.field); + return Sje(e.field); } return ""; } @@ -98652,7 +98653,7 @@ var Sje = class extends De { } return t; } -}, wje = class extends De { +}, xje = class extends De { constructor() { super(...arguments), this.beanName = "pivotResultColsService"; } @@ -98716,7 +98717,7 @@ var Sje = class extends De { }; e && n(e); } -}, xje = class extends De { +}, Eje = class extends De { constructor() { super(...arguments), this.beanName = "columnSizeService"; } @@ -99108,7 +99109,7 @@ var Dee = class extends De { let r; return typeof t != "number" ? r = 0 : r = t + 1, this.existingIds[e] = r, r; } -}, Eje = class extends De { +}, Rje = class extends De { constructor() { super(...arguments), this.beanName = "visibleColsService", this.colsAndGroupsMap = {}, this.columnsLeft = [], this.columnsRight = [], this.columnsCenter = [], this.columns = [], this.bodyWidth = 0, this.leftWidth = 0, this.rightWidth = 0, this.bodyWidthDirty = !0; } @@ -99203,7 +99204,7 @@ var Dee = class extends De { a.setLeft(o, e), o += a.getActualWidth(); }); } - K9e(r, i); + Z9e(r, i); }), r.forEach((i) => { i.setLeft(null, e); }); @@ -99570,7 +99571,7 @@ var Aee = [ "rowDragMove", "rowDragLeave", "rowDragEnd" -], Rje = [ +], Pje = [ "scrollbarWidthChanged", "keyShortcutChangedCellStart", "keyShortcutChangedCellEnd", @@ -99614,7 +99615,7 @@ var Aee = [ "chartTitleEdit", "recalculateRowBounds", "stickyTopOffsetChanged" -], Pje = [...Aee, ...Rje], Tje = { +], Tje = [...Aee, ...Pje], _je = { enableBrowserTooltips: !0, tooltipTrigger: !0, tooltipMouseTrack: !0, @@ -100030,13 +100031,13 @@ var hm = Oi, ba = class { }; ba.VUE_OMITTED_PROPERTY = "AG-VUE-OMITTED-PROPERTY"; ba.PUBLIC_EVENTS = Aee; -ba.EVENT_CALLBACKS = Pje.map((e) => ba.getCallbackForEvent(e)); +ba.EVENT_CALLBACKS = Tje.map((e) => ba.getCallbackForEvent(e)); ba.BOOLEAN_PROPERTIES = hm.BOOLEAN_PROPERTIES; ba.ALL_PROPERTIES = hm.ALL_PROPERTIES; ba.ALL_PROPERTIES_AND_CALLBACKS = [...ba.ALL_PROPERTIES, ...ba.EVENT_CALLBACKS]; ba.ALL_PROPERTIES_AND_CALLBACKS_SET = new Set(ba.ALL_PROPERTIES_AND_CALLBACKS); var fm = ba; -function _je(e, t) { +function Mje(e, t) { typeof e != "object" && (e = {}); const r = { ...e }; return fm.ALL_PROPERTIES_AND_CALLBACKS.forEach((i) => { @@ -100044,7 +100045,7 @@ function _je(e, t) { typeof o < "u" && o !== fm.VUE_OMITTED_PROPERTY && (r[i] = o); }), r; } -function Mje(e, t) { +function Dje(e, t) { if (!e) return; const r = {}; @@ -100126,11 +100127,11 @@ function Lee(e) { function cs(e, t) { t ? e.setAttribute("role", t) : e.removeAttribute("role"); } -function Dje(e) { +function Ije(e) { let t; return e === "asc" ? t = "ascending" : e === "desc" ? t = "descending" : e === "mixed" ? t = "other" : t = "none", t; } -function Ije(e) { +function Aje(e) { return e.getAttribute("aria-label"); } function Kf(e, t) { @@ -100142,13 +100143,13 @@ function pm(e, t) { function Fee(e, t) { Jl(e, "live", t); } -function Aje(e, t) { +function Oje(e, t) { Jl(e, "atomic", t); } -function Oje(e, t) { +function Lje(e, t) { Jl(e, "relevant", t); } -function Lje(e, t) { +function Fje(e, t) { Jl(e, "disabled", t); } function jO(e, t) { @@ -100157,37 +100158,37 @@ function jO(e, t) { function SS(e, t) { ol(e, "expanded", t); } -function Fje(e, t) { +function Nje(e, t) { ol(e, "setsize", t); } -function Nje(e, t) { +function kje(e, t) { ol(e, "posinset", t); } -function kje(e, t) { +function $je(e, t) { ol(e, "rowcount", t); } -function $je(e, t) { +function Vje(e, t) { ol(e, "rowindex", t); } -function Vje(e, t) { +function Bje(e, t) { ol(e, "colcount", t); } function Nee(e, t) { ol(e, "colindex", t); } -function Bje(e, t) { +function Hje(e, t) { ol(e, "colspan", t); } -function Hje(e, t) { +function zje(e, t) { ol(e, "sort", t); } -function zje(e) { +function Gje(e) { Oee(e, "sort"); } function wS(e, t) { Jl(e, "selected", t); } -function Gje(e, t) { +function Wje(e, t) { Jl(e, "controls", t.id), pm(t, e.id); } function UO(e, t) { @@ -100231,7 +100232,7 @@ function uM(e) { const t = e.tabIndex, r = e.getAttribute("tabIndex"); return t === -1 && (r === null || r === "" && !$ee()) ? null : t.toString(); } -function Wje() { +function jje() { if (!document.body) return -1; let e = 1e6; @@ -100244,15 +100245,15 @@ function Wje() { } return document.body.removeChild(r), e; } -function jje() { +function Uje() { var e, t; return ((e = document.body) == null ? void 0 : e.clientWidth) ?? (window.innerHeight || ((t = document.documentElement) == null ? void 0 : t.clientWidth) || -1); } -function Uje() { +function Kje() { var e, t; return ((e = document.body) == null ? void 0 : e.clientHeight) ?? (window.innerHeight || ((t = document.documentElement) == null ? void 0 : t.clientHeight) || -1); } -function Kje() { +function Zje() { return cM == null && Bee(), cM; } function Bee() { @@ -100264,7 +100265,7 @@ function Bee() { function Hee() { return lM == null && Bee(), lM; } -var K0, Zje = "[tabindex], input, select, button, textarea, [href]", zee = "[disabled], .ag-disabled:not(.ag-button), .ag-disabled *"; +var K0, Yje = "[tabindex], input, select, button, textarea, [href]", zee = "[disabled], .ag-disabled:not(.ag-button), .ag-disabled *"; function ZO(e) { const t = Element.prototype.matches || Element.prototype.msMatchesSelector, n = t.call(e, "input, select, button, textarea"), i = t.call(e, zee), o = Ys(e); return n && !i && o; @@ -100273,7 +100274,7 @@ function In(e, t, r = {}) { const { skipAriaHidden: n } = r; e.classList.toggle("ag-hidden", !t), n || jO(e, !t); } -function Yje(e, t, r = {}) { +function qje(e, t, r = {}) { const { skipAriaHidden: n } = r; e.classList.toggle("ag-invisible", !t), n || jO(e, !t); } @@ -100390,10 +100391,10 @@ function Zf(e) { const t = document.createElement("div"); return t.innerHTML = (e || "").trim(), t.firstChild; } -function qje(e) { +function Xje(e) { return e.clientWidth < e.scrollWidth; } -function Xje(e) { +function Qje(e) { return e.clientHeight < e.scrollHeight; } function TS(e, t) { @@ -100411,13 +100412,13 @@ function qO(e) { function XO(e) { return e instanceof Node || e instanceof HTMLElement; } -function Qje(e) { +function Jje(e) { if (e == null) return []; const t = []; return Uee(e, (r) => t.push(r)), t; } -function Jje(e, t) { +function eUe(e, t) { if (e) for (let r = 0; r < e.length; r++) { const n = e[r]; @@ -100446,7 +100447,7 @@ var Yf = class { skip(e) { this.nextValue += e; } -}, eUe = 1e3, tUe = 1e3, GH = 100, Kee = class Bu extends De { +}, tUe = 1e3, rUe = 1e3, GH = 100, Kee = class Bu extends De { constructor(t, r, n, i) { super(), this.parentComp = t, this.tooltipShowDelayOverride = r, this.tooltipHideDelayOverride = n, this.shouldDisplayTooltip = i, this.interactionEnabled = !1, this.isInteractingWithTooltip = !1, this.state = 0, this.tooltipInstanceCount = 0, this.tooltipMouseTrack = !1; } @@ -100514,7 +100515,7 @@ var Yf = class { } isLastTooltipHiddenRecently() { const t = (/* @__PURE__ */ new Date()).getTime(), r = Bu.lastTooltipHideTime; - return t - r < eUe; + return t - r < tUe; } setToDoNothing() { this.state === 2 && this.hideTooltip(), this.onBodyScrollEventCallback && (this.onBodyScrollEventCallback(), this.onBodyScrollEventCallback = void 0), this.onColumnMovedEventCallback && (this.onColumnMovedEventCallback(), this.onColumnMovedEventCallback = void 0), this.clearTimeouts(), this.state = 0, this.lastMouseEvent = null; @@ -100610,7 +100611,7 @@ var Yf = class { } destroyTooltipComp() { this.tooltipComp.getGui().classList.add("ag-tooltip-hiding"); - const t = this.tooltipPopupDestroyFunc, r = this.tooltipComp, n = this.tooltipTrigger === 0 ? tUe : 0; + const t = this.tooltipPopupDestroyFunc, r = this.tooltipComp, n = this.tooltipTrigger === 0 ? rUe : 0; window.setTimeout(() => { t(), this.destroyBean(r); }, n), this.clearTooltipListeners(), this.tooltipPopupDestroyFunc = void 0, this.tooltipComp = void 0; @@ -100650,7 +100651,7 @@ var Yf = class { } }; Kee.isLocked = !1; -var rUe = Kee, _p = class extends De { +var nUe = Kee, _p = class extends De { constructor(e, t) { super(), this.ctrl = e, t && (this.beans = t); } @@ -100676,7 +100677,7 @@ var rUe = Kee, _p = class extends De { getGui: () => this.ctrl.getGui() }; this.tooltipManager = this.createBean( - new rUe( + new nUe( e, (r = (t = this.ctrl).getTooltipShowDelayOverride) == null ? void 0 : r.call(t), (i = (n = this.ctrl).getTooltipHideDelayOverride) == null ? void 0 : i.call(n), @@ -100713,9 +100714,9 @@ var rUe = Kee, _p = class extends De { destroy() { this.tooltipManager && (this.tooltipManager = this.destroyBean(this.tooltipManager, this.beans.context)), super.destroy(); } -}, nUe = new Yf(), Gt = null, yn = class Zee extends De { +}, iUe = new Yf(), Gt = null, yn = class Zee extends De { constructor(t, r) { - super(), this.suppressDataRefValidation = !1, this.displayed = !0, this.visible = !0, this.compId = nUe.next(), this.cssClassManager = new py(() => this.eGui), this.componentSelectors = new Map((r ?? []).map((n) => [n.selector, n])), t && this.setTemplate(t); + super(), this.suppressDataRefValidation = !1, this.displayed = !0, this.visible = !0, this.compId = iUe.next(), this.cssClassManager = new py(() => this.eGui), this.componentSelectors = new Map((r ?? []).map((n) => [n.selector, n])), t && this.setTemplate(t); } preWireBeans(t) { super.preWireBeans(t); @@ -100768,7 +100769,7 @@ var rUe = Kee, _p = class extends De { } // for registered components only, eg creates AgCheckbox instance from ag-checkbox HTML tag createChildComponentsFromTags(t, r) { - Qje(t.childNodes).forEach((i) => { + Jje(t.childNodes).forEach((i) => { if (!(i instanceof HTMLElement)) return; const o = this.createComponentFromElement( @@ -100799,7 +100800,7 @@ var rUe = Kee, _p = class extends De { return this.applyElementsToComponent(t, o, n, l), l; } copyAttributesFromNode(t, r) { - Jje(t.attributes, (n, i) => r.setAttribute(n, i)); + eUe(t.attributes, (n, i) => r.setAttribute(n, i)); } swapComponentForNode(t, r, n) { const i = t.getGui(); @@ -100869,7 +100870,7 @@ var rUe = Kee, _p = class extends De { if (t !== this.visible) { this.visible = t; const { skipAriaHidden: n } = r; - Yje(this.eGui, t, { skipAriaHidden: n }); + qje(this.eGui, t, { skipAriaHidden: n }); } } setDisplayed(t, r = {}) { @@ -100902,7 +100903,7 @@ var rUe = Kee, _p = class extends De { addOrRemoveCssClass(t, r) { this.cssClassManager.addOrRemoveCssClass(t, r); } -}, iUe = { +}, oUe = { // header column group shown when expanded (click to contract) columnGroupOpened: "expanded", // header column group shown when contracted (click to expand) @@ -101085,7 +101086,7 @@ function zo(e, t, r, n) { Ve("iconRenderer should return back a string or a dom object"); } else { const a = document.createElement("span"); - let s = iUe[e]; + let s = oUe[e]; return s || (Ve(`Did not find icon ${e}`), s = ""), a.setAttribute("class", `ag-icon ag-icon-${s}`), a.setAttribute("unselectable", "on"), cs(a, "presentation"), a; } } @@ -101170,7 +101171,7 @@ var Lc = class { destroy() { this.destroyFuncs.forEach((e) => e()); } -}, oUe = ( +}, aUe = ( /* html */ ` @@ -101181,7 +101182,7 @@ var Lc = class { ` ), QO = class extends yn { constructor(e) { - super(), this.eSortOrder = Gt, this.eSortAsc = Gt, this.eSortDesc = Gt, this.eSortMixed = Gt, this.eSortNone = Gt, e || this.setTemplate(oUe); + super(), this.eSortOrder = Gt, this.eSortAsc = Gt, this.eSortDesc = Gt, this.eSortMixed = Gt, this.eSortNone = Gt, e || this.setTemplate(aUe); } wireBeans(e) { this.sortController = e.sortController; @@ -101249,10 +101250,10 @@ var Lc = class { ), n = t >= 0 && r; In(this.eSortOrder, n, { skipAriaHidden: !0 }), t >= 0 ? this.eSortOrder.textContent = (t + 1).toString() : Uo(this.eSortOrder); } -}, aUe = { +}, sUe = { selector: "AG-SORT-INDICATOR", component: QO -}, sUe = ( +}, lUe = ( /* html */ `