@factorialco/f0-react 8.15.0 → 8.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ChatPdfThumbnail-CsiuO9oP.js → ChatPdfThumbnail-C1SJmtGu.js} +1 -1
- package/dist/{ChatPostComposerDialog-DVwKloFa.js → ChatPostComposerDialog-CWQjLNj_.js} +2 -2
- package/dist/{DocumentToolbar-CcD4C-Jg.js → DocumentToolbar-c6fYhage.js} +1 -1
- package/dist/{DocxViewer-CGS53Aqk.js → DocxViewer-BuFtxAm5.js} +1 -1
- package/dist/{F0Map-JM3oeRpm.js → F0Map-zPEzpa7c.js} +2 -2
- package/dist/{F0VideoPlayer-DL82tE4N.js → F0VideoPlayer-DTAJodv_.js} +1 -1
- package/dist/{MapProvider-DQ09_kIy.js → MapProvider-C0Pm68Nz.js} +9213 -9167
- package/dist/{SheetViewer-D6KrcSU1.js → SheetViewer-DS9G1QPI.js} +1 -1
- package/dist/{TextViewer-BBgoHN09.js → TextViewer-BN5Dsxmb.js} +1 -1
- package/dist/component-status.js +1 -1
- package/dist/{experimental-nzuHu9re.js → experimental-CdsK3mLK.js} +6 -6
- package/dist/experimental.d.ts +18 -0
- package/dist/experimental.js +3 -3
- package/dist/f0.d.ts +18 -0
- package/dist/f0.js +417 -408
- package/dist/index-BTASKoTh.js +4 -0
- package/dist/{index-CVZ_U0_h.js → index-Bj9LskuL.js} +2 -2
- package/dist/{index-C0iQVTCw.js → index-D9SNDC4b.js} +2 -2
- package/dist/{index-CP96ooCt.js → index-DXJ4Y_fZ.js} +1 -1
- package/dist/{pdfWorker-Be2sPFEm.js → pdfWorker-D4oJ8ZbR.js} +1 -1
- package/package.json +1 -1
- package/dist/index-DWleZhT1.js +0 -4
package/dist/f0.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { iF as AI, B as yt, et as vx, cQ as Wn, hP as MI, ge as K5, ab as Va, fK as Q5, iG as J5, iH as EI, E as sr, ck as If, iI as RS, iJ as kr, iK as no, iL as eG, iM as Mi, u as Be, ad as Ep, iN as nu, iO as LI, iP as NI, cp as bl, hL as T0, iQ as tG, S as ae, G as px, iR as rG, iS as nG, iT as OS, cV as iG, iU as aG, iV as oG, iW as II, iX as sG, H as Pf, J as kf, y as lt, K as Rf, L as qr, $ as lG, a0 as uG, M as Pl, N as kl, aY as Fa, Q as Rl, gV as D0, dR as Ft, v as ut, aG as Ol, gU as Ga, dl as gx, iY as cG, s as fG, t as BS, z as PI, w as Bl, aa as kI, x as dG, e_ as tv, ep as RI, iZ as hG, hO as zS, de as vG, i_ as VS, a4 as pG, i$ as gG, cu as OI, el as BI, gE as A0, hf as iu, hg as Of, hW as mG, gC as zI, r as yG, av as M0, au as mx, hi as VI, gA as bG, j0 as Lp, bx as yx, hy as _G, cB as FI, gm as xG, aV as wG, iA as bx, bA as GI, cx as SG, cy as CG, cz as TG, d as DG, c6 as HI, aI as gs, cb as WI, bw as $I, aE as _x, cd as UI, a7 as xx, U as _l, V as xl, X as wl, Y as Sl, gW as Fi, an as YI, j as AG, W as Br, eK as MG, bu as rv, aS as zl, co as Sx, by as E0, cN as Yc, cK as EG, bj as Bf, ai as au, aH as XI, dI as qI, dw as ZI, hs as Wr, j1 as LG, j2 as NG, j3 as IG, j4 as Cx, j5 as PG, j6 as kG, a3 as En, a1 as jI, a2 as KI, m as RG, j7 as OG, cD as QI, ej as BG, ek as zG, cl as Cl, di as ou, ew as su, fl as zf, ce as VG, eu as FG, bY as GG, aK as JI, a9 as e2, aJ as HG, bo as FS, ca as Xc, hU as WG, be as $G, j8 as UG, j9 as YG, ja as XG, b as t2, df as r2, cJ as qG, br as ZG, l as n2, aw as jG, at as KG, jb as QG, jc as JG, jd as eH, hT as tH, af as i2, je as rH, cw as nH, d4 as iH, jf as a2, jg as aH, jh as oH, I as sH, ji as lH, jj as uH, jk as cH, jl as fH } from "./F0CanvasPanel-CqHQYY7O.js";
|
|
2
2
|
import { jD as xme, C as wme, D as Sme, dC as Cme, c as Tme, F as Dme, a as Ame, jv as Mme, f as Eme, cT as Lme, dD as Nme, ey as Ime, cE as Pme, cF as kme, q as Rme, cC as Ome, cS as Bme, dr as zme, eG as Vme, g as Fme, cA as Gme, cq as Hme, jq as Wme, jJ as $me, cn as Ume, e as Yme, er as Xme, k as qme, jx as Zme, cU as jme, jy as Kme, dO as Qme, jz as Jme, jB as eye, jC as tye, f1 as rye, jF as nye, jG as iye, eW as aye, eX as oye, P as sye, e$ as lye, jA as uye, eY as cye, jE as fye, jK as dye, jn as hye, jo as vye, jp as pye, jm as gye, eZ as mye, jI as yye, jw as bye, jt as _ye, js as xye, f0 as wye, gQ as Sye, hF as Cye, jH as Tye, dF as Dye, eV as Aye, eS as Mye, eU as Eye, eQ as Lye, ju as Nye, hA as Iye, hv as Pye, hj as kye, jN as Rye, eC as Oye, eT as Bye, jM as zye, ef as Vye, eR as Fye, cH as Gye, gP as Hye, hl as Wye, ei as $ye, hV as Uye, dE as Yye, cI as Xye, jr as qye, hx as Zye, hw as jye, jL as Kye } from "./F0CanvasPanel-CqHQYY7O.js";
|
|
3
3
|
import { jsx as x, jsxs as B, Fragment as nt } from "react/jsx-runtime";
|
|
4
|
-
import { t as dH, W as hH, a3 as vH, a4 as pH, a5 as gH, a6 as GS, ba as mH, bb as yH, ad as bH, a7 as _H, a9 as xH, ab as wH, ac as SH, I as CH, a as qc, ai as o2, bc as TH, bd as DH, be as AH, bf as MH, bg as EH, bh as s2, bi as LH, n as Tx, bj as io, bk as Ns, bl as l2, bm as NH, bn as IH, bo as PH, bp as kH, bq as RH, br as OH, bs as BH, bt as zH, bu as VH, a1 as Dx, bv as Ax, av as FH, bw as GH, bx as HH, by as WH, bz as $H, aM as UH, a$ as YH, bA as XH, aF as qH, E as ZH, h as jH, x as Np, R as Mx, y as Ex, aK as u2, O as Lx, bB as c2, bC as HS, U as Nx, aj as KH, bD as L0, K as QH, z as f2, aQ as d2, bE as JH, bF as e3, bG as t3, bH as r3, bI as n3, p as i3, bJ as Ng, bK as a3, bL as o3, bM as s3, b0 as l3, bN as u3, M as c3 } from "./MapProvider-
|
|
5
|
-
import { al as Jye, am as e0e, aw as t0e, an as r0e, as as n0e, c8 as i0e, c7 as a0e, c1 as o0e, bQ as s0e, bO as l0e, bP as u0e, bR as c0e, bS as f0e, bU as d0e, a2 as h0e, w as v0e, b2 as p0e, b1 as g0e, aG as m0e, F as y0e, aI as b0e, aJ as _0e, aD as x0e, aB as w0e, b6 as S0e, bY as C0e, aC as T0e, ao as D0e, c9 as A0e, b3 as M0e, b4 as E0e, aE as L0e, ap as N0e, v as I0e, ar as P0e, at as k0e, b5 as R0e, aH as O0e, b7 as B0e, aq as z0e, au as V0e, cb as F0e, ah as G0e, af as H0e, ag as W0e, c0 as $0e, o as U0e, o as Y0e, c6 as X0e, bX as q0e, bW as Z0e, ca as j0e, aZ as K0e, b_ as Q0e, b$ as J0e, aA as ebe, az as tbe, cc as rbe, cd as nbe, H as ibe, A as abe, c2 as obe, c3 as sbe, c4 as lbe, bT as ube, bZ as cbe, B as fbe, c5 as dbe, bV as hbe, ce as vbe } from "./MapProvider-
|
|
4
|
+
import { t as dH, W as hH, a3 as vH, a4 as pH, a5 as gH, a6 as GS, ba as mH, bb as yH, ad as bH, a7 as _H, a9 as xH, ab as wH, ac as SH, I as CH, a as qc, ai as o2, bc as TH, bd as DH, be as AH, bf as MH, bg as EH, bh as s2, bi as LH, n as Tx, bj as io, bk as Ns, bl as l2, bm as NH, bn as IH, bo as PH, bp as kH, bq as RH, br as OH, bs as BH, bt as zH, bu as VH, a1 as Dx, bv as Ax, av as FH, bw as GH, bx as HH, by as WH, bz as $H, aM as UH, a$ as YH, bA as XH, aF as qH, E as ZH, h as jH, x as Np, R as Mx, y as Ex, aK as u2, O as Lx, bB as c2, bC as HS, U as Nx, aj as KH, bD as L0, K as QH, z as f2, aQ as d2, bE as JH, bF as e3, bG as t3, bH as r3, bI as n3, p as i3, bJ as Ng, bK as a3, bL as o3, bM as s3, b0 as l3, bN as u3, M as c3 } from "./MapProvider-C0Pm68Nz.js";
|
|
5
|
+
import { al as Jye, am as e0e, aw as t0e, an as r0e, as as n0e, c8 as i0e, c7 as a0e, c1 as o0e, bQ as s0e, bO as l0e, bP as u0e, bR as c0e, bS as f0e, bU as d0e, a2 as h0e, w as v0e, b2 as p0e, b1 as g0e, aG as m0e, F as y0e, aI as b0e, aJ as _0e, aD as x0e, aB as w0e, b6 as S0e, bY as C0e, aC as T0e, ao as D0e, c9 as A0e, b3 as M0e, b4 as E0e, aE as L0e, ap as N0e, v as I0e, ar as P0e, at as k0e, b5 as R0e, aH as O0e, b7 as B0e, aq as z0e, au as V0e, cb as F0e, ah as G0e, af as H0e, ag as W0e, c0 as $0e, o as U0e, o as Y0e, c6 as X0e, bX as q0e, bW as Z0e, ca as j0e, aZ as K0e, b_ as Q0e, b$ as J0e, aA as ebe, az as tbe, cc as rbe, cd as nbe, H as ibe, A as abe, c2 as obe, c3 as sbe, c4 as lbe, bT as ube, bZ as cbe, B as fbe, c5 as dbe, bV as hbe, ce as vbe } from "./MapProvider-C0Pm68Nz.js";
|
|
6
6
|
import * as ge from "react";
|
|
7
|
-
import f3, { forwardRef as Hr, useRef as
|
|
7
|
+
import f3, { forwardRef as Hr, useRef as ce, useImperativeHandle as h2, Children as nv, createContext as na, useContext as ia, useState as ve, useMemo as _e, useEffect as Te, useCallback as de, useLayoutEffect as as, isValidElement as v2, Fragment as lu, memo as Ix, useSyncExternalStore as Zc, useId as Tl, createElement as WS } from "react";
|
|
8
8
|
import * as Px from "react-dom";
|
|
9
9
|
import { createPortal as Vf } from "react-dom";
|
|
10
10
|
import { d as ne, u as Ff, h as d3, i as fl, j as Gf, g as uu, k as h3, f as _n } from "./tooltip-CrXp1Uaz.js";
|
|
11
|
-
import { l as N0, c as p2, d as iv, r as I0 } from "./F0VideoPlayer-
|
|
12
|
-
import { F as gbe } from "./F0VideoPlayer-
|
|
13
|
-
import { F as ybe, c as bbe, p as _be } from "./index-
|
|
14
|
-
import { c as wbe } from "./pdfWorker-
|
|
11
|
+
import { l as N0, c as p2, d as iv, r as I0 } from "./F0VideoPlayer-DTAJodv_.js";
|
|
12
|
+
import { F as gbe } from "./F0VideoPlayer-DTAJodv_.js";
|
|
13
|
+
import { F as ybe, c as bbe, p as _be } from "./index-D9SNDC4b.js";
|
|
14
|
+
import { c as wbe } from "./pdfWorker-D4oJ8ZbR.js";
|
|
15
15
|
import { H as v3, I as av, J as kx, K as g2, L as p3, M as g3, N as m3, O as y3, P as b3, F as _3 } from "./F0AiProcessingOverlay-C8BRJj9F.js";
|
|
16
16
|
import { A as Cbe, C as Tbe, t as Dbe, s as Abe, v as Mbe, y as Ebe, B as Lbe, l as Nbe, i as Ibe, q as Pbe, E as kbe, G as Rbe, p as Obe, r as Bbe, j as zbe, e as Vbe, g as Fbe, k as Gbe, T as Hbe, w as Wbe, h as $be, a as Ube, n as Ybe, z as Xbe, m as qbe, o as Zbe, D as jbe, b as Kbe, f as Qbe, x as Jbe, c as e_e, d as t_e, u as r_e } from "./F0AiProcessingOverlay-C8BRJj9F.js";
|
|
17
17
|
import { utils as Dl, write as m2 } from "./xlsx-CzlURDDb.js";
|
|
@@ -22,7 +22,7 @@ import './f0.css';const x3 = {
|
|
|
22
22
|
md: 2,
|
|
23
23
|
lg: 2
|
|
24
24
|
}, w3 = Hr(function({ widgets: e, children: t }, n) {
|
|
25
|
-
const i =
|
|
25
|
+
const i = ce(null);
|
|
26
26
|
h2(n, () => i.current);
|
|
27
27
|
const a = nv.toArray(e).filter((o) => !!o).map((o, s) => /* @__PURE__ */ x("div", { className: "h-full @5xl:h-auto [&>div]:h-full", children: o }, s));
|
|
28
28
|
return /* @__PURE__ */ x(AI, { layout: "home", children: /* @__PURE__ */ B("div", { ref: i, className: "@container", children: [
|
|
@@ -202,10 +202,10 @@ function N3({
|
|
|
202
202
|
static: a,
|
|
203
203
|
forcePositionSync: o
|
|
204
204
|
}) {
|
|
205
|
-
const [s, l] =
|
|
205
|
+
const [s, l] = ve(null), u = ce(null), c = ce(!1), f = _e(() => ({
|
|
206
206
|
...e,
|
|
207
207
|
children: (i || []).map((C) => ol(C))
|
|
208
|
-
}), [e, i]), [d, h] =
|
|
208
|
+
}), [e, i]), [d, h] = ve(() => {
|
|
209
209
|
const C = /* @__PURE__ */ new Map(), T = i || [], D = (A) => {
|
|
210
210
|
A.id && A.content && C.set(A.id, A.content), A.subGridOpts?.children && A.subGridOpts.children.forEach((M) => {
|
|
211
211
|
D(M);
|
|
@@ -214,11 +214,11 @@ function N3({
|
|
|
214
214
|
return T.forEach((A) => {
|
|
215
215
|
D(A);
|
|
216
216
|
}), C;
|
|
217
|
-
}), v =
|
|
217
|
+
}), v = ce(d);
|
|
218
218
|
Te(() => {
|
|
219
219
|
v.current = d;
|
|
220
220
|
}, [d]);
|
|
221
|
-
const [p, g] =
|
|
221
|
+
const [p, g] = ve(() => {
|
|
222
222
|
const C = /* @__PURE__ */ new Map(), T = i || [], D = (A) => {
|
|
223
223
|
A.id && A._originalContent !== void 0 && C.set(A.id, A._originalContent), A.subGridOpts?.children && A.subGridOpts.children.forEach((M) => {
|
|
224
224
|
D(M);
|
|
@@ -227,15 +227,15 @@ function N3({
|
|
|
227
227
|
return T.forEach((A) => {
|
|
228
228
|
D(A);
|
|
229
229
|
}), C;
|
|
230
|
-
}), m =
|
|
230
|
+
}), m = ce(p);
|
|
231
231
|
Te(() => {
|
|
232
232
|
m.current = p;
|
|
233
233
|
}, [p]);
|
|
234
|
-
const y =
|
|
234
|
+
const y = ce(n);
|
|
235
235
|
Te(() => {
|
|
236
236
|
y.current = n;
|
|
237
237
|
}, [n]);
|
|
238
|
-
const [b, _] =
|
|
238
|
+
const [b, _] = ve(() => {
|
|
239
239
|
const C = /* @__PURE__ */ new Map(), T = i || [], D = (A) => {
|
|
240
240
|
if (A.id) {
|
|
241
241
|
const M = ol(A);
|
|
@@ -423,7 +423,7 @@ function N3({
|
|
|
423
423
|
}, [i]), Te(() => {
|
|
424
424
|
!s || a === void 0 || s.setStatic(a);
|
|
425
425
|
}, [s, a]);
|
|
426
|
-
const w =
|
|
426
|
+
const w = ce(o);
|
|
427
427
|
Te(() => {
|
|
428
428
|
if (!s || o === void 0 || o === w.current)
|
|
429
429
|
return;
|
|
@@ -455,7 +455,7 @@ function N3({
|
|
|
455
455
|
}, 0);
|
|
456
456
|
return () => clearTimeout(C);
|
|
457
457
|
}, [s, f.handle, f.children]);
|
|
458
|
-
const S =
|
|
458
|
+
const S = de(() => {
|
|
459
459
|
if (!s)
|
|
460
460
|
return;
|
|
461
461
|
const C = s.save();
|
|
@@ -3943,7 +3943,7 @@ function V3({ children: r }) {
|
|
|
3943
3943
|
const {
|
|
3944
3944
|
_gridStack: { value: e, set: t },
|
|
3945
3945
|
options: n
|
|
3946
|
-
} = _2(), i =
|
|
3946
|
+
} = _2(), i = ce(/* @__PURE__ */ new Map()), a = ce(null), o = ce(n), s = de(
|
|
3947
3947
|
(c, f) => {
|
|
3948
3948
|
if (f.id && f.grid) {
|
|
3949
3949
|
let d = fd.get(f.grid);
|
|
@@ -3951,7 +3951,7 @@ function V3({ children: r }) {
|
|
|
3951
3951
|
}
|
|
3952
3952
|
},
|
|
3953
3953
|
[]
|
|
3954
|
-
), l =
|
|
3954
|
+
), l = de(() => {
|
|
3955
3955
|
if (a.current) {
|
|
3956
3956
|
ze.renderCB = s;
|
|
3957
3957
|
const c = ze.init(o.current, a.current);
|
|
@@ -4063,7 +4063,7 @@ const F3 = (r, e, t) => /* @__PURE__ */ x("div", { children: r }), Pp = ({
|
|
|
4063
4063
|
main: i = !1,
|
|
4064
4064
|
deps: a
|
|
4065
4065
|
}) => {
|
|
4066
|
-
const o =
|
|
4066
|
+
const o = de(
|
|
4067
4067
|
(w, S, C) => /* @__PURE__ */ x(
|
|
4068
4068
|
Va.div,
|
|
4069
4069
|
{
|
|
@@ -4119,11 +4119,11 @@ const F3 = (r, e, t) => /* @__PURE__ */ x("div", { children: r }), Pp = ({
|
|
|
4119
4119
|
content: o(D, T.meta, S)
|
|
4120
4120
|
};
|
|
4121
4121
|
return T.x !== void 0 && (A.x = T.x), T.y !== void 0 && (A.y = T.y), A;
|
|
4122
|
-
}), [c, f] =
|
|
4122
|
+
}), [c, f] = ve(
|
|
4123
4123
|
u(r, e)
|
|
4124
|
-
), d =
|
|
4124
|
+
), d = ce(e), h = ce(r), v = ce(!1), p = ce(/* @__PURE__ */ new Map()), g = ce(r);
|
|
4125
4125
|
g.current = r;
|
|
4126
|
-
const m =
|
|
4126
|
+
const m = ce(a), y = _e(() => {
|
|
4127
4127
|
const w = /* @__PURE__ */ new Map();
|
|
4128
4128
|
return !a || Object.keys(a).length === 0 || r.forEach((S) => {
|
|
4129
4129
|
if (S.deps && S.deps.length > 0) {
|
|
@@ -4131,7 +4131,7 @@ const F3 = (r, e, t) => /* @__PURE__ */ x("div", { children: r }), Pp = ({
|
|
|
4131
4131
|
w.set(S.id, C);
|
|
4132
4132
|
}
|
|
4133
4133
|
}), w;
|
|
4134
|
-
}, [r, a]), b =
|
|
4134
|
+
}, [r, a]), b = de(
|
|
4135
4135
|
(w) => {
|
|
4136
4136
|
f(w), v.current || t(
|
|
4137
4137
|
w.map((S) => {
|
|
@@ -4408,7 +4408,7 @@ const q3 = ({
|
|
|
4408
4408
|
}, zx = Hr(
|
|
4409
4409
|
({ children: r, onSort: e, ...t }, n) => {
|
|
4410
4410
|
C2("GroupLinear", r, ["block"]);
|
|
4411
|
-
const [i, a] =
|
|
4411
|
+
const [i, a] = ve(nv.toArray(r));
|
|
4412
4412
|
return Te(() => {
|
|
4413
4413
|
a(nv.toArray(r));
|
|
4414
4414
|
}, [r]), Te(() => {
|
|
@@ -4434,7 +4434,7 @@ const YS = ({ id: r, children: e }) => {
|
|
|
4434
4434
|
},
|
|
4435
4435
|
main: n = !1
|
|
4436
4436
|
}) => {
|
|
4437
|
-
const [i, a] =
|
|
4437
|
+
const [i, a] = ve([]);
|
|
4438
4438
|
MI(() => {
|
|
4439
4439
|
a(
|
|
4440
4440
|
r.map((f, d) => ({
|
|
@@ -4443,7 +4443,7 @@ const YS = ({ id: r, children: e }) => {
|
|
|
4443
4443
|
}))
|
|
4444
4444
|
);
|
|
4445
4445
|
}, [r]);
|
|
4446
|
-
const [o, s] =
|
|
4446
|
+
const [o, s] = ve(null), l = gH(
|
|
4447
4447
|
GS(bH),
|
|
4448
4448
|
GS(yH, {
|
|
4449
4449
|
coordinateGetter: mH
|
|
@@ -4720,9 +4720,9 @@ function lW(r) {
|
|
|
4720
4720
|
return e;
|
|
4721
4721
|
}
|
|
4722
4722
|
function xn(r) {
|
|
4723
|
-
const [e, t] =
|
|
4723
|
+
const [e, t] = ve(
|
|
4724
4724
|
() => Ig(r.current)
|
|
4725
|
-
), n =
|
|
4725
|
+
), n = de(() => {
|
|
4726
4726
|
t(Ig(r.current));
|
|
4727
4727
|
}, [r]);
|
|
4728
4728
|
return Te(() => {
|
|
@@ -4740,7 +4740,7 @@ function xn(r) {
|
|
|
4740
4740
|
}, [r, n]), e;
|
|
4741
4741
|
}
|
|
4742
4742
|
function Pr(r) {
|
|
4743
|
-
const [e, t] =
|
|
4743
|
+
const [e, t] = ve({ width: 0, height: 0 });
|
|
4744
4744
|
return Te(() => {
|
|
4745
4745
|
const n = r.current;
|
|
4746
4746
|
if (!n)
|
|
@@ -5019,7 +5019,7 @@ function wW(r, e) {
|
|
|
5019
5019
|
return r.apply(e, t.concat(Gx.call(arguments)));
|
|
5020
5020
|
};
|
|
5021
5021
|
}
|
|
5022
|
-
var
|
|
5022
|
+
var fe = dd && we(dd.bind) ? dd.call.bind(dd.bind) : wW;
|
|
5023
5023
|
function Ve(r) {
|
|
5024
5024
|
for (var e = [], t = 1; t < arguments.length; t++)
|
|
5025
5025
|
e[t - 1] = arguments[t];
|
|
@@ -5181,7 +5181,7 @@ function I2(r) {
|
|
|
5181
5181
|
var e = r.style;
|
|
5182
5182
|
e.webkitUserSelect = "none", e.userSelect = "none", e.webkitTapHighlightColor = "rgba(0,0,0,0)", e["-webkit-touch-callout"] = "none";
|
|
5183
5183
|
}
|
|
5184
|
-
function
|
|
5184
|
+
function pe(r, e) {
|
|
5185
5185
|
return r.hasOwnProperty(e);
|
|
5186
5186
|
}
|
|
5187
5187
|
function kt() {
|
|
@@ -9922,8 +9922,8 @@ var Si = (function() {
|
|
|
9922
9922
|
if (h) {
|
|
9923
9923
|
var M = v[m++];
|
|
9924
9924
|
if (g + M > y) {
|
|
9925
|
-
var
|
|
9926
|
-
e.moveTo(f, d), e.lineTo(f + um(
|
|
9925
|
+
var he = y - g;
|
|
9926
|
+
e.moveTo(f, d), e.lineTo(f + um(he, Z), d), he -= Z, he > 0 && e.lineTo(f + Z, d + um(he, J)), he -= J, he > 0 && e.lineTo(f + cm(Z - he, 0), d + J), he -= Z, he > 0 && e.lineTo(f, d + cm(J - he, 0));
|
|
9927
9927
|
break e;
|
|
9928
9928
|
}
|
|
9929
9929
|
g += M;
|
|
@@ -11973,7 +11973,7 @@ function sa(r) {
|
|
|
11973
11973
|
s[a + "Index"] = o;
|
|
11974
11974
|
var l = r.formatterParamsExtra;
|
|
11975
11975
|
l && L(Ke(l), function(c) {
|
|
11976
|
-
|
|
11976
|
+
pe(s, c) || (s[c] = l[c], s.$vars.push(c));
|
|
11977
11977
|
});
|
|
11978
11978
|
var u = ke(r.el);
|
|
11979
11979
|
u.componentMainType = a, u.componentIndex = o, u.tooltipConfig = {
|
|
@@ -13272,7 +13272,7 @@ function Ti(r, e, t) {
|
|
|
13272
13272
|
if ($h(u, function(y) {
|
|
13273
13273
|
h[y] = r[y];
|
|
13274
13274
|
}), $h(u, function(y) {
|
|
13275
|
-
|
|
13275
|
+
pe(e, y) && (f[y] = h[y] = e[y]), s(f, y) && d++, s(h, y) && v++;
|
|
13276
13276
|
}), n[c])
|
|
13277
13277
|
return s(e, u[1]) ? h[u[2]] = null : s(e, u[2]) && (h[u[1]] = null), h;
|
|
13278
13278
|
if (v === p || !d)
|
|
@@ -13281,7 +13281,7 @@ function Ti(r, e, t) {
|
|
|
13281
13281
|
return f;
|
|
13282
13282
|
for (var g = 0; g < u.length; g++) {
|
|
13283
13283
|
var m = u[g];
|
|
13284
|
-
if (!
|
|
13284
|
+
if (!pe(f, m) && pe(r, m)) {
|
|
13285
13285
|
f[m] = r[m];
|
|
13286
13286
|
break;
|
|
13287
13287
|
}
|
|
@@ -13302,7 +13302,7 @@ function ws(r) {
|
|
|
13302
13302
|
}
|
|
13303
13303
|
function Tk(r, e) {
|
|
13304
13304
|
return e && r && $h(xk, function(t) {
|
|
13305
|
-
|
|
13305
|
+
pe(e, t) && (r[t] = e[t]);
|
|
13306
13306
|
}), r;
|
|
13307
13307
|
}
|
|
13308
13308
|
var B8 = $e(), Ye = (
|
|
@@ -14120,7 +14120,7 @@ var J8 = [
|
|
|
14120
14120
|
/* @__PURE__ */ (function() {
|
|
14121
14121
|
function r(e) {
|
|
14122
14122
|
L(J8, function(t) {
|
|
14123
|
-
this[t] =
|
|
14123
|
+
this[t] = fe(e[t], e);
|
|
14124
14124
|
}, this);
|
|
14125
14125
|
}
|
|
14126
14126
|
return r;
|
|
@@ -14503,7 +14503,7 @@ function Bk(r) {
|
|
|
14503
14503
|
}
|
|
14504
14504
|
} else if (Ae(r)) {
|
|
14505
14505
|
for (var a in r)
|
|
14506
|
-
if (
|
|
14506
|
+
if (pe(r, a) && mr(r[a])) {
|
|
14507
14507
|
e = Un;
|
|
14508
14508
|
break;
|
|
14509
14509
|
}
|
|
@@ -14617,9 +14617,9 @@ var So, Co, To, Do, BT, zT, Vk = (
|
|
|
14617
14617
|
o.getItem = t, o.count = i, o.fillStorage = n;
|
|
14618
14618
|
else {
|
|
14619
14619
|
var v = Fk(u, c);
|
|
14620
|
-
o.getItem =
|
|
14620
|
+
o.getItem = fe(v, null, s, f, d);
|
|
14621
14621
|
var p = Gk(u, c);
|
|
14622
|
-
o.count =
|
|
14622
|
+
o.count = fe(p, null, s, f, d);
|
|
14623
14623
|
}
|
|
14624
14624
|
};
|
|
14625
14625
|
var t = function(o, s) {
|
|
@@ -14978,7 +14978,7 @@ var $k = {
|
|
|
14978
14978
|
})()
|
|
14979
14979
|
);
|
|
14980
14980
|
function A6(r, e) {
|
|
14981
|
-
return r === "eq" || r === "ne" ? new D6(r === "eq", e) :
|
|
14981
|
+
return r === "eq" || r === "ne" ? new D6(r === "eq", e) : pe($k, r) ? new T6(r, e) : null;
|
|
14982
14982
|
}
|
|
14983
14983
|
var M6 = (
|
|
14984
14984
|
/** @class */
|
|
@@ -15013,7 +15013,7 @@ function E6(r, e) {
|
|
|
15013
15013
|
};
|
|
15014
15014
|
if (s.push(y), m != null) {
|
|
15015
15015
|
var b = "";
|
|
15016
|
-
|
|
15016
|
+
pe(l, m) && (process.env.NODE_ENV !== "production" && (b = 'dimension name "' + m + '" duplicated.'), at(b)), l[m] = y;
|
|
15017
15017
|
}
|
|
15018
15018
|
});
|
|
15019
15019
|
else
|
|
@@ -15024,9 +15024,9 @@ function E6(r, e) {
|
|
|
15024
15024
|
var f = Fk(i, On);
|
|
15025
15025
|
e.__isBuiltIn && (t.getRawDataItem = function(p) {
|
|
15026
15026
|
return f(n, a, s, p);
|
|
15027
|
-
}, t.getRawData =
|
|
15027
|
+
}, t.getRawData = fe(L6, null, r)), t.cloneRawData = fe(N6, null, r);
|
|
15028
15028
|
var d = Gk(i, On);
|
|
15029
|
-
t.count =
|
|
15029
|
+
t.count = fe(d, null, n, a, s);
|
|
15030
15030
|
var h = Hk(i);
|
|
15031
15031
|
t.retrieveValue = function(p, g) {
|
|
15032
15032
|
var m = f(n, a, s, p);
|
|
@@ -15039,7 +15039,7 @@ function E6(r, e) {
|
|
|
15039
15039
|
return h(p, g, m.name);
|
|
15040
15040
|
}
|
|
15041
15041
|
};
|
|
15042
|
-
return t.getDimensionInfo =
|
|
15042
|
+
return t.getDimensionInfo = fe(I6, null, s, l), t.cloneAllDimensionInfo = fe(P6, null, s), t;
|
|
15043
15043
|
}
|
|
15044
15044
|
function L6(r) {
|
|
15045
15045
|
var e = r.sourceFormat;
|
|
@@ -15067,9 +15067,9 @@ function N6(r) {
|
|
|
15067
15067
|
}
|
|
15068
15068
|
function I6(r, e, t) {
|
|
15069
15069
|
if (t != null) {
|
|
15070
|
-
if (et(t) || !isNaN(t) && !
|
|
15070
|
+
if (et(t) || !isNaN(t) && !pe(e, t))
|
|
15071
15071
|
return r[t];
|
|
15072
|
-
if (
|
|
15072
|
+
if (pe(e, t))
|
|
15073
15073
|
return e[t];
|
|
15074
15074
|
}
|
|
15075
15075
|
}
|
|
@@ -15738,7 +15738,7 @@ function W6(r, e, t, n) {
|
|
|
15738
15738
|
valueAsc: "asc",
|
|
15739
15739
|
valueDesc: "desc"
|
|
15740
15740
|
};
|
|
15741
|
-
if (
|
|
15741
|
+
if (pe(u, l)) {
|
|
15742
15742
|
var c = new Uk(u[l], null);
|
|
15743
15743
|
s.sort(function(p, g) {
|
|
15744
15744
|
return c.evaluate(p.sortParam, g.sortParam);
|
|
@@ -17625,7 +17625,7 @@ function Ul(r, e) {
|
|
|
17625
17625
|
E += m[N], ++k, ++N, N === m.length && (N = 0);
|
|
17626
17626
|
}
|
|
17627
17627
|
function j(Y, re, U, Z, J) {
|
|
17628
|
-
var
|
|
17628
|
+
var he = i ? 1 : t, Se = Yt(J, Y * he, re * he, U * he, Z * he, o.color, o.symbolKeepAspect);
|
|
17629
17629
|
if (i) {
|
|
17630
17630
|
var Le = n.painter.renderOneToVNode(Se);
|
|
17631
17631
|
Le && S.children.push(Le);
|
|
@@ -17816,12 +17816,12 @@ var Ao, Pm, Vd, Pi, Fd, km, Rm, Ws, $s, yD, bD, Om, _D, Gd, xD, ER, rn, wD, Us,
|
|
|
17816
17816
|
useCoarsePointer: ye(i.useCoarsePointer, s),
|
|
17817
17817
|
pointerSize: i.pointerSize
|
|
17818
17818
|
});
|
|
17819
|
-
a._ssr = i.ssr, a._throttledZrFlush = Iw(
|
|
17819
|
+
a._ssr = i.ssr, a._throttledZrFlush = Iw(fe(c.flush, c), 17), a._updateTheme(n), a._locale = y8(i.locale || sk), a._coordSysMgr = new yu();
|
|
17820
17820
|
var f = a._api = xD(a);
|
|
17821
17821
|
function d(h, v) {
|
|
17822
17822
|
return h.__prio - v.__prio;
|
|
17823
17823
|
}
|
|
17824
|
-
return Rh(Hv, d), Rh(zb, d), a._scheduler = new sR(a, f, zb, Hv), a._messageCenter = new AR(), a._initEvents(), a.resize =
|
|
17824
|
+
return Rh(Hv, d), Rh(zb, d), a._scheduler = new sR(a, f, zb, Hv), a._messageCenter = new AR(), a._initEvents(), a.resize = fe(a.resize, a), c.animation.on("frame", a._onframe, a), yD(c, a), bD(c, a), dv(a), a;
|
|
17825
17825
|
}
|
|
17826
17826
|
return e.prototype._onframe = function() {
|
|
17827
17827
|
if (!this._disposed) {
|
|
@@ -19217,11 +19217,11 @@ var $u = Ae, va = ee, LX = typeof Int32Array > "u" ? Array : Int32Array, NX = "e
|
|
|
19217
19217
|
}, r.prototype.each = function(e, t, n) {
|
|
19218
19218
|
we(e) && (n = t, t = e, e = []);
|
|
19219
19219
|
var i = n || this, a = va(Ys(e), this._getStoreDimIndex, this);
|
|
19220
|
-
this._store.each(a, i ?
|
|
19220
|
+
this._store.each(a, i ? fe(t, i) : t);
|
|
19221
19221
|
}, r.prototype.filterSelf = function(e, t, n) {
|
|
19222
19222
|
we(e) && (n = t, t = e, e = []);
|
|
19223
19223
|
var i = n || this, a = va(Ys(e), this._getStoreDimIndex, this);
|
|
19224
|
-
return this._store = this._store.filter(a, i ?
|
|
19224
|
+
return this._store = this._store.filter(a, i ? fe(t, i) : t), this;
|
|
19225
19225
|
}, r.prototype.selectRange = function(e) {
|
|
19226
19226
|
var t = this, n = {}, i = Ke(e);
|
|
19227
19227
|
return L(i, function(a) {
|
|
@@ -19236,7 +19236,7 @@ var $u = Ae, va = ee, LX = typeof Int32Array > "u" ? Array : Int32Array, NX = "e
|
|
|
19236
19236
|
}, n), i;
|
|
19237
19237
|
}, r.prototype.map = function(e, t, n, i) {
|
|
19238
19238
|
var a = n || i || this, o = va(Ys(e), this._getStoreDimIndex, this), s = Yu(this);
|
|
19239
|
-
return s._store = this._store.map(o, a ?
|
|
19239
|
+
return s._store = this._store.map(o, a ? fe(t, a) : t), s;
|
|
19240
19240
|
}, r.prototype.modify = function(e, t, n, i) {
|
|
19241
19241
|
var a = this, o = n || i || this;
|
|
19242
19242
|
process.env.NODE_ENV !== "production" && L(Ys(e), function(l) {
|
|
@@ -19244,7 +19244,7 @@ var $u = Ae, va = ee, LX = typeof Int32Array > "u" ? Array : Int32Array, NX = "e
|
|
|
19244
19244
|
u.isCalculationCoord || console.error("Danger: only stack dimension can be modified");
|
|
19245
19245
|
});
|
|
19246
19246
|
var s = va(Ys(e), this._getStoreDimIndex, this);
|
|
19247
|
-
this._store.modify(s, o ?
|
|
19247
|
+
this._store.modify(s, o ? fe(t, o) : t);
|
|
19248
19248
|
}, r.prototype.downSample = function(e, t, n, i) {
|
|
19249
19249
|
var a = Yu(this);
|
|
19250
19250
|
return a._store = this._store.downSample(this._getStoreDimIndex(e), t, n, i), a;
|
|
@@ -19671,7 +19671,7 @@ var ZX = (
|
|
|
19671
19671
|
this.normalize = LD, this.scale = ND;
|
|
19672
19672
|
}
|
|
19673
19673
|
return r.prototype.updateMethods = function(e) {
|
|
19674
|
-
e.hasBreaks() ? (this.normalize =
|
|
19674
|
+
e.hasBreaks() ? (this.normalize = fe(e.normalize, e), this.scale = fe(e.scale, e)) : (this.normalize = LD, this.scale = ND);
|
|
19675
19675
|
}, r;
|
|
19676
19676
|
})()
|
|
19677
19677
|
);
|
|
@@ -19715,7 +19715,7 @@ var Ja = (
|
|
|
19715
19715
|
isNaN(e) || (n[0] = e), isNaN(t) || (n[1] = t), this._brkCtx && this._brkCtx.update(n);
|
|
19716
19716
|
}, r.prototype.setBreaksFromOption = function(e) {
|
|
19717
19717
|
var t = Wt();
|
|
19718
|
-
t && this._innerSetBreak(t.parseAxisBreakOption(e,
|
|
19718
|
+
t && this._innerSetBreak(t.parseAxisBreakOption(e, fe(this.parse, this)));
|
|
19719
19719
|
}, r.prototype._innerSetBreak = function(e) {
|
|
19720
19720
|
this._brkCtx && (this._brkCtx.setBreaks(e), this._calculator.updateMethods(this._brkCtx), this._brkCtx.update(this._extent));
|
|
19721
19721
|
}, r.prototype._innerGetBreaks = function() {
|
|
@@ -20483,7 +20483,7 @@ var $b = Gt, f7 = Math.floor, d7 = Math.ceil, $d = Math.pow, Ud = Math.log, JR =
|
|
|
20483
20483
|
}, e.prototype.setBreaksFromOption = function(t) {
|
|
20484
20484
|
var n = Wt();
|
|
20485
20485
|
if (n) {
|
|
20486
|
-
var i = n.logarithmicParseBreaksFromOption(t, this.base,
|
|
20486
|
+
var i = n.logarithmicParseBreaksFromOption(t, this.base, fe(this.parse, this)), a = i.parsedOriginal, o = i.parsedLogged;
|
|
20487
20487
|
this._originalScale._innerSetBreak(a), this._innerSetBreak(o);
|
|
20488
20488
|
}
|
|
20489
20489
|
}, e.type = "log", e;
|
|
@@ -21081,7 +21081,7 @@ function R7(r, e) {
|
|
|
21081
21081
|
isNaN(_) && (_ = 1 / 0), isNaN(w) && (w = 1 / 0);
|
|
21082
21082
|
var S = Math.max(0, Math.floor(Math.min(_, w)));
|
|
21083
21083
|
if (t === Fn.estimate)
|
|
21084
|
-
return e.out.noPxChangeTryDetermine.push(
|
|
21084
|
+
return e.out.noPxChangeTryDetermine.push(fe(O7, null, r, S, l)), S;
|
|
21085
21085
|
var C = fO(r, S, l);
|
|
21086
21086
|
return C ?? S;
|
|
21087
21087
|
}
|
|
@@ -22107,9 +22107,9 @@ function pg(r, e, t, n) {
|
|
|
22107
22107
|
var b = y[1], _ = b.length, w = {}, S = {}, C = {}, T = "animation-timing-function";
|
|
22108
22108
|
function D(j, Y, re) {
|
|
22109
22109
|
for (var U = j.getTracks(), Z = j.getMaxTime(), J = 0; J < U.length; J++) {
|
|
22110
|
-
var
|
|
22111
|
-
if (
|
|
22112
|
-
var Se =
|
|
22110
|
+
var he = U[J];
|
|
22111
|
+
if (he.needsAnimate()) {
|
|
22112
|
+
var Se = he.keyframes, Le = he.propName;
|
|
22113
22113
|
if (re && (Le = re(Le)), Le)
|
|
22114
22114
|
for (var Ze = 0; Ze < Se.length; Ze++) {
|
|
22115
22115
|
var oe = Se[Ze], xe = Math.round(oe.time / Z * 100) + "%", Pe = YD(oe.easing), ct = oe.rawValue;
|
|
@@ -23961,7 +23961,7 @@ var tq = (
|
|
|
23961
23961
|
}
|
|
23962
23962
|
return e.prototype.init = function() {
|
|
23963
23963
|
var t = new Ce(), n = new ed();
|
|
23964
|
-
this.group.add(n.group), this._symbolDraw = n, this._lineGroup = t, this._changePolyState =
|
|
23964
|
+
this.group.add(n.group), this._symbolDraw = n, this._lineGroup = t, this._changePolyState = fe(this._changePolyState, this);
|
|
23965
23965
|
}, e.prototype.render = function(t, n, i) {
|
|
23966
23966
|
var a = t.coordinateSystem, o = this.group, s = t.getData(), l = t.getModel("lineStyle"), u = t.getModel("areaStyle"), c = s.getLayout("points") || [], f = a.type === "polar", d = this._coordSys, h = this._symbolDraw, v = this._polyline, p = this._polygon, g = this._lineGroup, m = !n.ssr && t.get("animation"), y = !u.isEmpty(), b = u.get("origin"), _ = OO(a, s, b), w = y && Y9(a, s, _), S = t.get("showSymbol"), C = t.get("connectNulls"), T = S && !f && Z9(t, s, a), D = this._data;
|
|
23967
23967
|
D && D.eachItemGraphicEl(function(ie, te) {
|
|
@@ -25260,8 +25260,8 @@ function Cq(r) {
|
|
|
25260
25260
|
else {
|
|
25261
25261
|
var Y = (j ? (T.r + T.r0) / 2 * H : T.r * H) + n, re = (j ? (T.r + T.r0) / 2 * $ : T.r * $) + i;
|
|
25262
25262
|
if (q = Y + H * 3, ie = re + $ * 3, !j) {
|
|
25263
|
-
var U = Y + H * (z + l - T.r), Z = re + $ * (z + l - T.r), J = U + (H < 0 ? -1 : 1) * V,
|
|
25264
|
-
k === "edge" ? q = H < 0 ? c + P : c + u - P : q = J + (H < 0 ? -N : N), ie =
|
|
25263
|
+
var U = Y + H * (z + l - T.r), Z = re + $ * (z + l - T.r), J = U + (H < 0 ? -1 : 1) * V, he = Z;
|
|
25264
|
+
k === "edge" ? q = H < 0 ? c + P : c + u - P : q = J + (H < 0 ? -N : N), ie = he, te = [[Y, re], [U, Z], [J, he]];
|
|
25265
25265
|
}
|
|
25266
25266
|
se = j ? "center" : k === "edge" ? H > 0 ? "right" : "left" : H > 0 ? "left" : "right";
|
|
25267
25267
|
}
|
|
@@ -25505,7 +25505,7 @@ var Tu = (
|
|
|
25505
25505
|
return r !== null && r.apply(this, arguments) || this;
|
|
25506
25506
|
}
|
|
25507
25507
|
return e.prototype.init = function(t) {
|
|
25508
|
-
r.prototype.init.apply(this, arguments), this.legendVisualProvider = new Tu(
|
|
25508
|
+
r.prototype.init.apply(this, arguments), this.legendVisualProvider = new Tu(fe(this.getData, this), fe(this.getRawData, this)), this._defaultLabelLine(t);
|
|
25509
25509
|
}, e.prototype.mergeOption = function() {
|
|
25510
25510
|
r.prototype.mergeOption.apply(this, arguments);
|
|
25511
25511
|
}, e.prototype.getInitialData = function() {
|
|
@@ -27839,7 +27839,7 @@ var OZ = (
|
|
|
27839
27839
|
return t.type = e.type, t.hasSymbolVisual = !0, t;
|
|
27840
27840
|
}
|
|
27841
27841
|
return e.prototype.init = function(t) {
|
|
27842
|
-
r.prototype.init.apply(this, arguments), this.legendVisualProvider = new Tu(
|
|
27842
|
+
r.prototype.init.apply(this, arguments), this.legendVisualProvider = new Tu(fe(this.getData, this), fe(this.getRawData, this));
|
|
27843
27843
|
}, e.prototype.getInitialData = function(t, n) {
|
|
27844
27844
|
return Cu(this, {
|
|
27845
27845
|
generateCoord: "indicator_",
|
|
@@ -28212,7 +28212,7 @@ var As = (
|
|
|
28212
28212
|
function e(t) {
|
|
28213
28213
|
var n = r.call(this) || this;
|
|
28214
28214
|
n._zr = t;
|
|
28215
|
-
var i =
|
|
28215
|
+
var i = fe(n._mousedownHandler, n), a = fe(n._mousemoveHandler, n), o = fe(n._mouseupHandler, n), s = fe(n._mousewheelHandler, n), l = fe(n._pinchHandler, n);
|
|
28216
28216
|
return n.enable = function(u, c) {
|
|
28217
28217
|
var f = c.zInfo, d = ds(f.component), h = d.z, v = d.zlevel, p = {
|
|
28218
28218
|
component: f.component,
|
|
@@ -28371,7 +28371,7 @@ function ZZ(r, e) {
|
|
|
28371
28371
|
n[e] && (r.off(e, n[e]), n[e] = null);
|
|
28372
28372
|
}
|
|
28373
28373
|
function FA(r, e, t, n, i) {
|
|
28374
|
-
i.isAvailableBehavior =
|
|
28374
|
+
i.isAvailableBehavior = fe(Xh, null, t, n), r.trigger(e, i);
|
|
28375
28375
|
}
|
|
28376
28376
|
function Xh(r, e, t) {
|
|
28377
28377
|
var n = t[r];
|
|
@@ -28524,7 +28524,7 @@ var ay, tp = {
|
|
|
28524
28524
|
else {
|
|
28525
28525
|
if (!a) {
|
|
28526
28526
|
var c = ay[s];
|
|
28527
|
-
if (c &&
|
|
28527
|
+
if (c && pe(ay, s)) {
|
|
28528
28528
|
l = c.call(this, e, t);
|
|
28529
28529
|
var f = e.getAttribute("name");
|
|
28530
28530
|
if (f) {
|
|
@@ -28545,7 +28545,7 @@ var ay, tp = {
|
|
|
28545
28545
|
}
|
|
28546
28546
|
}
|
|
28547
28547
|
var h = $A[s];
|
|
28548
|
-
if (h &&
|
|
28548
|
+
if (h && pe($A, s)) {
|
|
28549
28549
|
var v = h.call(this, e), p = e.getAttribute("id");
|
|
28550
28550
|
p && (this._defs[p] = v);
|
|
28551
28551
|
}
|
|
@@ -28812,9 +28812,9 @@ function wB(r, e, t) {
|
|
|
28812
28812
|
if (n) {
|
|
28813
28813
|
ZA.lastIndex = 0;
|
|
28814
28814
|
for (var i; (i = ZA.exec(n)) != null; ) {
|
|
28815
|
-
var a = i[1], o =
|
|
28815
|
+
var a = i[1], o = pe(tp, a) ? tp[a] : null;
|
|
28816
28816
|
o && (e[o] = i[2]);
|
|
28817
|
-
var s =
|
|
28817
|
+
var s = pe(rp, a) ? rp[a] : null;
|
|
28818
28818
|
s && (t[s] = i[2]);
|
|
28819
28819
|
}
|
|
28820
28820
|
}
|
|
@@ -29000,7 +29000,7 @@ var vj = "name", pj = (
|
|
|
29000
29000
|
var a = be(), o = [];
|
|
29001
29001
|
return L(n.regions, function(s) {
|
|
29002
29002
|
var l = s.name;
|
|
29003
|
-
e &&
|
|
29003
|
+
e && pe(e, l) && (s = s.cloneShallow(l = e[l])), o.push(s), a.set(l, s);
|
|
29004
29004
|
}), {
|
|
29005
29005
|
regions: o,
|
|
29006
29006
|
boundingRect: n.boundingRect || new Ie(0, 0, 0, 0),
|
|
@@ -31452,7 +31452,7 @@ var c_ = Ce, pM = We, gM = 3, mM = "label", yM = "upperLabel", pK = vu * 10, gK
|
|
|
31452
31452
|
opacity: 1
|
|
31453
31453
|
})), c.add(h, g, l, 0, u));
|
|
31454
31454
|
});
|
|
31455
|
-
}, this), this._state = "animating", c.finished(
|
|
31455
|
+
}, this), this._state = "animating", c.finished(fe(function() {
|
|
31456
31456
|
this._state = "ready", n.renderFinally();
|
|
31457
31457
|
}, this)).start();
|
|
31458
31458
|
}, e.prototype._resetController = function(t) {
|
|
@@ -31461,7 +31461,7 @@ var c_ = Ce, pM = We, gM = 3, mM = "label", yM = "upperLabel", pK = vu * 10, gK
|
|
|
31461
31461
|
target: this.group
|
|
31462
31462
|
}, a = this._controllerHost);
|
|
31463
31463
|
var o = this.seriesModel;
|
|
31464
|
-
i || (i = this._controller = new As(t.getZr()), i.on("pan",
|
|
31464
|
+
i || (i = this._controller = new As(t.getZr()), i.on("pan", fe(this._onPan, this)), i.on("zoom", fe(this._onZoom, this))), i.enable(o.get("roam"), {
|
|
31465
31465
|
api: t,
|
|
31466
31466
|
zInfo: {
|
|
31467
31467
|
component: o
|
|
@@ -31646,8 +31646,8 @@ function bK(r, e, t, n, i, a, o, s, l, u) {
|
|
|
31646
31646
|
H(Y);
|
|
31647
31647
|
else {
|
|
31648
31648
|
Y.invisible = !1;
|
|
31649
|
-
var Z = o.getVisual("style"), J = Z.stroke,
|
|
31650
|
-
|
|
31649
|
+
var Z = o.getVisual("style"), J = Z.stroke, he = bM(S);
|
|
31650
|
+
he.fill = J;
|
|
31651
31651
|
var Se = ko(C);
|
|
31652
31652
|
Se.fill = C.get("borderColor");
|
|
31653
31653
|
var Le = ko(T);
|
|
@@ -31669,7 +31669,7 @@ function bK(r, e, t, n, i, a, o, s, l, u) {
|
|
|
31669
31669
|
);
|
|
31670
31670
|
} else
|
|
31671
31671
|
Y.removeTextContent();
|
|
31672
|
-
Y.setStyle(
|
|
31672
|
+
Y.setStyle(he), Y.ensureState("emphasis").style = Se, Y.ensureState("blur").style = Le, Y.ensureState("select").style = Ze, cs(Y);
|
|
31673
31673
|
}
|
|
31674
31674
|
j.add(Y);
|
|
31675
31675
|
}
|
|
@@ -31687,10 +31687,10 @@ function bK(r, e, t, n, i, a, o, s, l, u) {
|
|
|
31687
31687
|
H(Y);
|
|
31688
31688
|
else {
|
|
31689
31689
|
Y.invisible = !1;
|
|
31690
|
-
var J = o.getVisual("style"),
|
|
31691
|
-
Se.fill =
|
|
31690
|
+
var J = o.getVisual("style"), he = J.fill, Se = bM(S);
|
|
31691
|
+
Se.fill = he, Se.decal = J.decal;
|
|
31692
31692
|
var Le = ko(C), Ze = ko(T), oe = ko(D);
|
|
31693
|
-
$(Y,
|
|
31693
|
+
$(Y, he, J.opacity, null), Y.setStyle(Se), Y.ensureState("emphasis").style = Le, Y.ensureState("blur").style = Ze, Y.ensureState("select").style = oe, cs(Y);
|
|
31694
31694
|
}
|
|
31695
31695
|
j.add(Y);
|
|
31696
31696
|
}
|
|
@@ -31698,9 +31698,9 @@ function bK(r, e, t, n, i, a, o, s, l, u) {
|
|
|
31698
31698
|
!j.invisible && a.push(j);
|
|
31699
31699
|
}
|
|
31700
31700
|
function $(j, Y, re, U) {
|
|
31701
|
-
var Z = d.getModel(U ? yM : mM), J = jt(d.get("name"), null),
|
|
31701
|
+
var Z = d.getModel(U ? yM : mM), J = jt(d.get("name"), null), he = Z.getShallow("show");
|
|
31702
31702
|
nr(j, Qt(d, U ? yM : mM), {
|
|
31703
|
-
defaultText:
|
|
31703
|
+
defaultText: he ? J : null,
|
|
31704
31704
|
inheritColor: Y,
|
|
31705
31705
|
defaultOpacity: re,
|
|
31706
31706
|
labelFetcher: r,
|
|
@@ -31740,10 +31740,10 @@ function bK(r, e, t, n, i, a, o, s, l, u) {
|
|
|
31740
31740
|
function se(j, Y) {
|
|
31741
31741
|
var re = j[m] = {}, U = o.parentNode, Z = Y instanceof Ce;
|
|
31742
31742
|
if (U && (!n || n.direction === "drillDown")) {
|
|
31743
|
-
var J = 0,
|
|
31744
|
-
!n && Se && Se.oldShape && (J = Se.oldShape.width,
|
|
31743
|
+
var J = 0, he = 0, Se = i.background[U.getRawIndex()];
|
|
31744
|
+
!n && Se && Se.oldShape && (J = Se.oldShape.width, he = Se.oldShape.height), Z ? (re.oldX = 0, re.oldY = he) : re.oldShape = {
|
|
31745
31745
|
x: J,
|
|
31746
|
-
y:
|
|
31746
|
+
y: he,
|
|
31747
31747
|
width: 0,
|
|
31748
31748
|
height: 0
|
|
31749
31749
|
};
|
|
@@ -31767,7 +31767,7 @@ var _f = L, xK = Ae, ip = -1, rr = (
|
|
|
31767
31767
|
var t = this._normalizeData(e);
|
|
31768
31768
|
return this._normalizedToVisual(t, e);
|
|
31769
31769
|
}, r.prototype.getNormalizer = function() {
|
|
31770
|
-
return
|
|
31770
|
+
return fe(this._normalizeData, this);
|
|
31771
31771
|
}, r.listVisualTypes = function() {
|
|
31772
31772
|
return Ke(r.visualHandlers);
|
|
31773
31773
|
}, r.isValidType = function(e) {
|
|
@@ -31834,7 +31834,7 @@ var _f = L, xK = Ae, ip = -1, rr = (
|
|
|
31834
31834
|
applyVisual: rc("color"),
|
|
31835
31835
|
getColorMapper: function() {
|
|
31836
31836
|
var e = this.option;
|
|
31837
|
-
return
|
|
31837
|
+
return fe(e.mappingMethod === "category" ? function(t, n) {
|
|
31838
31838
|
return !n && (t = this._normalizeData(t)), Tc.call(this, t);
|
|
31839
31839
|
} : function(t, n, i) {
|
|
31840
31840
|
var a = !!i;
|
|
@@ -33875,7 +33875,7 @@ var fQ = Math.PI / 180, dQ = (
|
|
|
33875
33875
|
return t.type = e.type, t;
|
|
33876
33876
|
}
|
|
33877
33877
|
return e.prototype.init = function(t) {
|
|
33878
|
-
r.prototype.init.apply(this, arguments), this.fillDataTextStyle(t.edges || t.links), this.legendVisualProvider = new Tu(
|
|
33878
|
+
r.prototype.init.apply(this, arguments), this.fillDataTextStyle(t.edges || t.links), this.legendVisualProvider = new Tu(fe(this.getData, this), fe(this.getRawData, this));
|
|
33879
33879
|
}, e.prototype.mergeOption = function(t) {
|
|
33880
33880
|
r.prototype.mergeOption.apply(this, arguments), this.fillDataTextStyle(t.edges || t.links);
|
|
33881
33881
|
}, e.prototype.getInitialData = function(t, n) {
|
|
@@ -34620,7 +34620,7 @@ var SQ = ["itemStyle", "opacity"], CQ = (
|
|
|
34620
34620
|
return t.type = e.type, t;
|
|
34621
34621
|
}
|
|
34622
34622
|
return e.prototype.init = function(t) {
|
|
34623
|
-
r.prototype.init.apply(this, arguments), this.legendVisualProvider = new Tu(
|
|
34623
|
+
r.prototype.init.apply(this, arguments), this.legendVisualProvider = new Tu(fe(this.getData, this), fe(this.getRawData, this)), this._defaultLabelLine(t);
|
|
34624
34624
|
}, e.prototype.getInitialData = function(t, n) {
|
|
34625
34625
|
return Cu(this, {
|
|
34626
34626
|
coordDimensions: ["value"],
|
|
@@ -34882,7 +34882,7 @@ var RQ = (
|
|
|
34882
34882
|
}
|
|
34883
34883
|
return e.prototype.getInitialData = function(t, n) {
|
|
34884
34884
|
return la(null, this, {
|
|
34885
|
-
useEncodeDefaulter:
|
|
34885
|
+
useEncodeDefaulter: fe(OQ, null, this)
|
|
34886
34886
|
});
|
|
34887
34887
|
}, e.prototype.getRawIndicesByActiveState = function(t) {
|
|
34888
34888
|
var n = this.coordinateSystem, i = this.getData(), a = [];
|
|
@@ -34981,7 +34981,7 @@ var WQ = 5, $Q = (
|
|
|
34981
34981
|
}
|
|
34982
34982
|
return e.prototype.render = function(t, n, i) {
|
|
34983
34983
|
this._model = t, this._api = i, this._handlers || (this._handlers = {}, L(UQ, function(a, o) {
|
|
34984
|
-
i.getZr().on(o, this._handlers[o] =
|
|
34984
|
+
i.getZr().on(o, this._handlers[o] = fe(a, this));
|
|
34985
34985
|
}, this)), _u(this, "_throttledDispatchExpand", t.get("axisExpandRate"), "fixRate");
|
|
34986
34986
|
}, e.prototype.dispose = function(t, n) {
|
|
34987
34987
|
uf(this, "_throttledDispatchExpand"), L(this._handlers, function(i, a) {
|
|
@@ -35375,7 +35375,7 @@ var vs = !0, Sf = Math.min, Ql = Math.max, tJ = Math.pow, rJ = 1e4, nJ = 6, iJ =
|
|
|
35375
35375
|
function e(t) {
|
|
35376
35376
|
var n = r.call(this) || this;
|
|
35377
35377
|
return n._track = [], n._covers = [], n._handlers = {}, process.env.NODE_ENV !== "production" && me(t), n._zr = t, n.group = new Ce(), n._uid = "brushController_" + sJ++, L(vJ, function(i, a) {
|
|
35378
|
-
this._handlers[a] =
|
|
35378
|
+
this._handlers[a] = fe(i, this);
|
|
35379
35379
|
}, n), n;
|
|
35380
35380
|
}
|
|
35381
35381
|
return e.prototype.enableBrush = function(t) {
|
|
@@ -35826,7 +35826,7 @@ var gJ = (
|
|
|
35826
35826
|
return t.type = e.type, t;
|
|
35827
35827
|
}
|
|
35828
35828
|
return e.prototype.init = function(t, n) {
|
|
35829
|
-
r.prototype.init.apply(this, arguments), (this._brushController = new b1(n.getZr())).on("brush",
|
|
35829
|
+
r.prototype.init.apply(this, arguments), (this._brushController = new b1(n.getZr())).on("brush", fe(this._onBrush, this));
|
|
35830
35830
|
}, e.prototype.render = function(t, n, i, a) {
|
|
35831
35831
|
if (!mJ(t, n, a)) {
|
|
35832
35832
|
this.axisModel = t, this.api = i, this.group.removeAll();
|
|
@@ -38499,7 +38499,7 @@ var Jee = (
|
|
|
38499
38499
|
return g.name;
|
|
38500
38500
|
}
|
|
38501
38501
|
var h = new ea(this._layersSeries || [], l, d, d), v = [];
|
|
38502
|
-
h.add(
|
|
38502
|
+
h.add(fe(p, this, "add")).update(fe(p, this, "update")).remove(fe(p, this, "remove")).execute();
|
|
38503
38503
|
function p(g, m, y) {
|
|
38504
38504
|
var b = o._layers;
|
|
38505
38505
|
if (g === "remove") {
|
|
@@ -38580,7 +38580,7 @@ var Ry = 2, tte = (
|
|
|
38580
38580
|
return t.type = e.type, t;
|
|
38581
38581
|
}
|
|
38582
38582
|
return e.prototype.init = function(t) {
|
|
38583
|
-
r.prototype.init.apply(this, arguments), this.legendVisualProvider = new Tu(
|
|
38583
|
+
r.prototype.init.apply(this, arguments), this.legendVisualProvider = new Tu(fe(this.getData, this), fe(this.getRawData, this));
|
|
38584
38584
|
}, e.prototype.fixData = function(t) {
|
|
38585
38585
|
var n = t.length, i = {}, a = ab(t, function(d) {
|
|
38586
38586
|
return i.hasOwnProperty(d[0] + "") || (i[d[0] + ""] = -1), d[2];
|
|
@@ -39233,7 +39233,7 @@ function yte(r) {
|
|
|
39233
39233
|
coord: function(t) {
|
|
39234
39234
|
return r.dataToPoint(t);
|
|
39235
39235
|
},
|
|
39236
|
-
size:
|
|
39236
|
+
size: fe(mte, r)
|
|
39237
39237
|
}
|
|
39238
39238
|
};
|
|
39239
39239
|
}
|
|
@@ -39258,7 +39258,7 @@ function _te(r) {
|
|
|
39258
39258
|
coord: function(t) {
|
|
39259
39259
|
return r.dataToPoint(t);
|
|
39260
39260
|
},
|
|
39261
|
-
size:
|
|
39261
|
+
size: fe(bte, r)
|
|
39262
39262
|
}
|
|
39263
39263
|
};
|
|
39264
39264
|
}
|
|
@@ -39280,7 +39280,7 @@ function wte(r) {
|
|
|
39280
39280
|
coord: function(t) {
|
|
39281
39281
|
return r.dataToPoint(t);
|
|
39282
39282
|
},
|
|
39283
|
-
size:
|
|
39283
|
+
size: fe(xte, r)
|
|
39284
39284
|
}
|
|
39285
39285
|
};
|
|
39286
39286
|
}
|
|
@@ -39305,7 +39305,7 @@ function Cte(r) {
|
|
|
39305
39305
|
var a = e.dataToRadius(i[0]), o = t.dataToAngle(i[1]), s = r.coordToPoint([a, o]);
|
|
39306
39306
|
return s.push(a, o * Math.PI / 180), s;
|
|
39307
39307
|
},
|
|
39308
|
-
size:
|
|
39308
|
+
size: fe(Ste, r)
|
|
39309
39309
|
}
|
|
39310
39310
|
};
|
|
39311
39311
|
}
|
|
@@ -39359,14 +39359,14 @@ function Dte(r) {
|
|
|
39359
39359
|
}
|
|
39360
39360
|
var hE = {};
|
|
39361
39361
|
function Nz(r, e, t, n) {
|
|
39362
|
-
return r && (r.legacy || r.legacy !== !1 && !t && !n && e !== "tspan" && (e === "text" ||
|
|
39362
|
+
return r && (r.legacy || r.legacy !== !1 && !t && !n && e !== "tspan" && (e === "text" || pe(r, "text")));
|
|
39363
39363
|
}
|
|
39364
39364
|
function Iz(r, e, t) {
|
|
39365
39365
|
var n = r, i, a, o;
|
|
39366
39366
|
if (e === "text")
|
|
39367
39367
|
o = n;
|
|
39368
39368
|
else {
|
|
39369
|
-
o = {},
|
|
39369
|
+
o = {}, pe(n, "text") && (o.text = n.text), pe(n, "rich") && (o.rich = n.rich), pe(n, "textFill") && (o.fill = n.textFill), pe(n, "textStroke") && (o.stroke = n.textStroke), pe(n, "fontFamily") && (o.fontFamily = n.fontFamily), pe(n, "fontSize") && (o.fontSize = n.fontSize), pe(n, "fontStyle") && (o.fontStyle = n.fontStyle), pe(n, "fontWeight") && (o.fontWeight = n.fontWeight), a = {
|
|
39370
39370
|
type: "text",
|
|
39371
39371
|
style: o,
|
|
39372
39372
|
// ec4 does not support rectText trigger.
|
|
@@ -39376,8 +39376,8 @@ function Iz(r, e, t) {
|
|
|
39376
39376
|
// That might cause incorrect state.
|
|
39377
39377
|
silent: !0
|
|
39378
39378
|
}, i = {};
|
|
39379
|
-
var s =
|
|
39380
|
-
t ? i.position = s ? n.textPosition : "inside" : s && (i.position = n.textPosition),
|
|
39379
|
+
var s = pe(n, "textPosition");
|
|
39380
|
+
t ? i.position = s ? n.textPosition : "inside" : s && (i.position = n.textPosition), pe(n, "textPosition") && (i.position = n.textPosition), pe(n, "textOffset") && (i.offset = n.textOffset), pe(n, "textRotation") && (i.rotation = n.textRotation), pe(n, "textDistance") && (i.distance = n.textDistance);
|
|
39381
39381
|
}
|
|
39382
39382
|
return vE(o, r), L(o.rich, function(l) {
|
|
39383
39383
|
vE(l, l);
|
|
@@ -39387,7 +39387,7 @@ function Iz(r, e, t) {
|
|
|
39387
39387
|
};
|
|
39388
39388
|
}
|
|
39389
39389
|
function vE(r, e) {
|
|
39390
|
-
e && (e.font = e.textFont || e.font,
|
|
39390
|
+
e && (e.font = e.textFont || e.font, pe(e, "textStrokeWidth") && (r.lineWidth = e.textStrokeWidth), pe(e, "textAlign") && (r.align = e.textAlign), pe(e, "textVerticalAlign") && (r.verticalAlign = e.textVerticalAlign), pe(e, "textLineHeight") && (r.lineHeight = e.textLineHeight), pe(e, "textWidth") && (r.width = e.textWidth), pe(e, "textHeight") && (r.height = e.textHeight), pe(e, "textBackgroundColor") && (r.backgroundColor = e.textBackgroundColor), pe(e, "textPadding") && (r.padding = e.textPadding), pe(e, "textBorderColor") && (r.borderColor = e.textBorderColor), pe(e, "textBorderWidth") && (r.borderWidth = e.textBorderWidth), pe(e, "textBorderRadius") && (r.borderRadius = e.textBorderRadius), pe(e, "textBoxShadowColor") && (r.shadowColor = e.textBoxShadowColor), pe(e, "textBoxShadowBlur") && (r.shadowBlur = e.textBoxShadowBlur), pe(e, "textBoxShadowOffsetX") && (r.shadowOffsetX = e.textBoxShadowOffsetX), pe(e, "textBoxShadowOffsetY") && (r.shadowOffsetY = e.textBoxShadowOffsetY));
|
|
39391
39391
|
}
|
|
39392
39392
|
function pE(r, e, t) {
|
|
39393
39393
|
var n = r;
|
|
@@ -39400,7 +39400,7 @@ function pE(r, e, t) {
|
|
|
39400
39400
|
}), n;
|
|
39401
39401
|
}
|
|
39402
39402
|
function gE(r, e) {
|
|
39403
|
-
e && (
|
|
39403
|
+
e && (pe(e, "fill") && (r.textFill = e.fill), pe(e, "stroke") && (r.textStroke = e.fill), pe(e, "lineWidth") && (r.textStrokeWidth = e.lineWidth), pe(e, "font") && (r.font = e.font), pe(e, "fontStyle") && (r.fontStyle = e.fontStyle), pe(e, "fontWeight") && (r.fontWeight = e.fontWeight), pe(e, "fontSize") && (r.fontSize = e.fontSize), pe(e, "fontFamily") && (r.fontFamily = e.fontFamily), pe(e, "align") && (r.textAlign = e.align), pe(e, "verticalAlign") && (r.textVerticalAlign = e.verticalAlign), pe(e, "lineHeight") && (r.textLineHeight = e.lineHeight), pe(e, "width") && (r.textWidth = e.width), pe(e, "height") && (r.textHeight = e.height), pe(e, "backgroundColor") && (r.textBackgroundColor = e.backgroundColor), pe(e, "padding") && (r.textPadding = e.padding), pe(e, "borderColor") && (r.textBorderColor = e.borderColor), pe(e, "borderWidth") && (r.textBorderWidth = e.borderWidth), pe(e, "borderRadius") && (r.textBorderRadius = e.borderRadius), pe(e, "shadowColor") && (r.textBoxShadowColor = e.shadowColor), pe(e, "shadowBlur") && (r.textBoxShadowBlur = e.shadowBlur), pe(e, "shadowOffsetX") && (r.textBoxShadowOffsetX = e.shadowOffsetX), pe(e, "shadowOffsetY") && (r.textBoxShadowOffsetY = e.shadowOffsetY), pe(e, "textShadowColor") && (r.textShadowColor = e.textShadowColor), pe(e, "textShadowBlur") && (r.textShadowBlur = e.textShadowBlur), pe(e, "textShadowOffsetX") && (r.textShadowOffsetX = e.textShadowOffsetX), pe(e, "textShadowOffsetY") && (r.textShadowOffsetY = e.textShadowOffsetY));
|
|
39404
39404
|
}
|
|
39405
39405
|
function mE(r, e) {
|
|
39406
39406
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -39417,7 +39417,7 @@ var Pz = {
|
|
|
39417
39417
|
}, {}), bE = xi.join(", "), lp = ["", "style", "shape", "extra"], Jl = $e();
|
|
39418
39418
|
function E1(r, e, t, n, i) {
|
|
39419
39419
|
var a = r + "Animation", o = pu(r, n, i) || {}, s = Jl(e).userDuring;
|
|
39420
|
-
return o.duration > 0 && (o.during = s ?
|
|
39420
|
+
return o.duration > 0 && (o.during = s ? fe(Nte, {
|
|
39421
39421
|
el: e,
|
|
39422
39422
|
userDuring: s
|
|
39423
39423
|
}) : null, o.setToFinal = !0, o.scope = r), X(o, t[a]), o;
|
|
@@ -39489,15 +39489,15 @@ function Mte(r, e, t, n, i) {
|
|
|
39489
39489
|
}
|
|
39490
39490
|
}
|
|
39491
39491
|
function Ete(r, e) {
|
|
39492
|
-
|
|
39492
|
+
pe(e, "silent") && (r.silent = e.silent), pe(e, "ignore") && (r.ignore = e.ignore), r instanceof yn && pe(e, "invisible") && (r.invisible = e.invisible), r instanceof Xe && pe(e, "autoBatch") && (r.autoBatch = e.autoBatch);
|
|
39493
39493
|
}
|
|
39494
39494
|
var ei = {}, Lte = {
|
|
39495
39495
|
// Usually other props do not need to be changed in animation during.
|
|
39496
39496
|
setTransform: function(r, e) {
|
|
39497
|
-
return process.env.NODE_ENV !== "production" && me(
|
|
39497
|
+
return process.env.NODE_ENV !== "production" && me(pe(sp, r), "Only " + bE + " available in `setTransform`."), ei.el[r] = e, this;
|
|
39498
39498
|
},
|
|
39499
39499
|
getTransform: function(r) {
|
|
39500
|
-
return process.env.NODE_ENV !== "production" && me(
|
|
39500
|
+
return process.env.NODE_ENV !== "production" && me(pe(sp, r), "Only " + bE + " available in `getTransform`."), ei.el[r];
|
|
39501
39501
|
},
|
|
39502
39502
|
setShape: function(r, e) {
|
|
39503
39503
|
process.env.NODE_ENV !== "production" && Js(r);
|
|
@@ -39632,7 +39632,7 @@ function Rte(r, e) {
|
|
|
39632
39632
|
}
|
|
39633
39633
|
var Rz;
|
|
39634
39634
|
process.env.NODE_ENV !== "production" && (Rz = function(r, e) {
|
|
39635
|
-
|
|
39635
|
+
pe(sp, r) || Tt("Prop `" + r + "` is not a permitted in `" + e + "`. Only `" + Ke(sp).join("`, `") + "` are permitted.");
|
|
39636
39636
|
});
|
|
39637
39637
|
var Oz = $e(), Ote = ["percent", "easing", "shape", "style", "extra"];
|
|
39638
39638
|
function Bz(r) {
|
|
@@ -39814,7 +39814,7 @@ function P1(r, e, t, n, i, a, o) {
|
|
|
39814
39814
|
if (l) {
|
|
39815
39815
|
if (e.type === "text") {
|
|
39816
39816
|
var u = l;
|
|
39817
|
-
|
|
39817
|
+
pe(u, "textFill") && (u.fill = u.textFill), pe(u, "textStroke") && (u.stroke = u.textStroke);
|
|
39818
39818
|
}
|
|
39819
39819
|
var c = void 0, f = cp(e) ? l.decal : null;
|
|
39820
39820
|
r && f && (f.dirty = !0, c = Ul(f, r)), l.__decalPattern = c;
|
|
@@ -39943,17 +39943,17 @@ function wE(r, e, t, n) {
|
|
|
39943
39943
|
}
|
|
39944
39944
|
function D(k, P) {
|
|
39945
39945
|
for (var O in P)
|
|
39946
|
-
|
|
39946
|
+
pe(P, O) && (k[O] = P[O]);
|
|
39947
39947
|
}
|
|
39948
39948
|
function A(k, P) {
|
|
39949
39949
|
k && (k.textFill && (P.textFill = k.textFill), k.textPosition && (P.textPosition = k.textPosition));
|
|
39950
39950
|
}
|
|
39951
39951
|
function M(k, P) {
|
|
39952
|
-
if (P == null && (P = c),
|
|
39952
|
+
if (P == null && (P = c), pe(dE, k)) {
|
|
39953
39953
|
var O = e.getItemVisual(P, "style");
|
|
39954
39954
|
return O ? O[dE[k]] : null;
|
|
39955
39955
|
}
|
|
39956
|
-
if (
|
|
39956
|
+
if (pe(pte, k))
|
|
39957
39957
|
return e.getItemVisual(P, k);
|
|
39958
39958
|
}
|
|
39959
39959
|
function I(k) {
|
|
@@ -39994,7 +39994,7 @@ function k1(r, e, t, n, i, a) {
|
|
|
39994
39994
|
var o = -1, s = e;
|
|
39995
39995
|
e && Vz(e, n, i) && (o = Fe(a.childrenRef(), e), e = null);
|
|
39996
39996
|
var l = !e, u = e;
|
|
39997
|
-
u ? u.clearStates() : (u = I1(n), s && Vte(s, u)), n.morph === !1 ? u.disableMorphing = !0 : u.disableMorphing && (u.disableMorphing = !1), n.tooltipDisabled && (u.tooltipDisabled = !0), an.normal.cfg = an.normal.conOpt = an.emphasis.cfg = an.emphasis.conOpt = an.blur.cfg = an.blur.conOpt = an.select.cfg = an.select.conOpt = null, an.isLegacy = !1, Ute(u, t, n, i, l, an), $te(u, t, n, i, l), P1(r, u, t, n, an, i, l),
|
|
39997
|
+
u ? u.clearStates() : (u = I1(n), s && Vte(s, u)), n.morph === !1 ? u.disableMorphing = !0 : u.disableMorphing && (u.disableMorphing = !1), n.tooltipDisabled && (u.tooltipDisabled = !0), an.normal.cfg = an.normal.conOpt = an.emphasis.cfg = an.emphasis.conOpt = an.blur.cfg = an.blur.conOpt = an.select.cfg = an.select.conOpt = null, an.isLegacy = !1, Ute(u, t, n, i, l, an), $te(u, t, n, i, l), P1(r, u, t, n, an, i, l), pe(n, "info") && (Yi(u).info = n.info);
|
|
39998
39998
|
for (var c = 0; c < Za.length; c++) {
|
|
39999
39999
|
var f = Za[c];
|
|
40000
40000
|
if (f !== Na) {
|
|
@@ -40009,7 +40009,7 @@ function Vz(r, e, t) {
|
|
|
40009
40009
|
return (
|
|
40010
40010
|
// Always create new if universal transition is enabled.
|
|
40011
40011
|
// Because we do transition after render. It needs to know what old element is. Replacement will loose it.
|
|
40012
|
-
t.isUniversalTransitionEnabled() || i != null && i !== n.customGraphicType || i === "path" && jte(a) && Fz(a) !== n.customPathData || i === "image" &&
|
|
40012
|
+
t.isUniversalTransitionEnabled() || i != null && i !== n.customGraphicType || i === "path" && jte(a) && Fz(a) !== n.customPathData || i === "image" && pe(o, "image") && o.image !== n.customImagePath
|
|
40013
40013
|
);
|
|
40014
40014
|
}
|
|
40015
40015
|
function $te(r, e, t, n, i) {
|
|
@@ -40115,12 +40115,12 @@ function Fz(r) {
|
|
|
40115
40115
|
return r && (r.pathData || r.d);
|
|
40116
40116
|
}
|
|
40117
40117
|
function jte(r) {
|
|
40118
|
-
return r && (
|
|
40118
|
+
return r && (pe(r, "pathData") || pe(r, "d"));
|
|
40119
40119
|
}
|
|
40120
40120
|
function Kte(r) {
|
|
40121
40121
|
r.registerChartView(Fte), r.registerSeriesModel(gte);
|
|
40122
40122
|
}
|
|
40123
|
-
var Fo = $e(), DE = De, Fy =
|
|
40123
|
+
var Fo = $e(), DE = De, Fy = fe, O1 = (
|
|
40124
40124
|
/** @class */
|
|
40125
40125
|
(function() {
|
|
40126
40126
|
function r() {
|
|
@@ -40628,7 +40628,7 @@ function Xz(r, e) {
|
|
|
40628
40628
|
}
|
|
40629
40629
|
var kE = $e();
|
|
40630
40630
|
function lre(r, e, t) {
|
|
40631
|
-
var n = r.currTrigger, i = [r.x, r.y], a = r, o = r.dispatchAction ||
|
|
40631
|
+
var n = r.currTrigger, i = [r.x, r.y], a = r, o = r.dispatchAction || fe(t.dispatchAction, t), s = e.getComponent("axisPointer").coordSysAxesInfo;
|
|
40632
40632
|
if (s) {
|
|
40633
40633
|
Zh(i) && (i = Xz({
|
|
40634
40634
|
seriesIndex: a.seriesIndex,
|
|
@@ -43300,7 +43300,7 @@ var Mne = (
|
|
|
43300
43300
|
);
|
|
43301
43301
|
function E_(r) {
|
|
43302
43302
|
process.env.NODE_ENV !== "production" && me(r, "graphic type MUST be set");
|
|
43303
|
-
var e =
|
|
43303
|
+
var e = pe(uL, r) ? uL[r] : Mv(r);
|
|
43304
43304
|
process.env.NODE_ENV !== "production" && me(e, "graphic type " + r + " can not be found");
|
|
43305
43305
|
var t = new e({});
|
|
43306
43306
|
return cn(t).type = r, t;
|
|
@@ -43326,13 +43326,13 @@ function fL(r, e, t, n) {
|
|
|
43326
43326
|
["z2", 0]
|
|
43327
43327
|
], function(i) {
|
|
43328
43328
|
var a = i[0];
|
|
43329
|
-
|
|
43329
|
+
pe(e, a) ? r[a] = ye(e[a], i[1]) : r[a] == null && (r[a] = i[1]);
|
|
43330
43330
|
}), L(Ke(e), function(i) {
|
|
43331
43331
|
if (i.indexOf("on") === 0) {
|
|
43332
43332
|
var a = e[i];
|
|
43333
43333
|
r[i] = we(a) ? a : null;
|
|
43334
43334
|
}
|
|
43335
|
-
}),
|
|
43335
|
+
}), pe(e, "draggable") && (r.draggable = e.draggable), e.name != null && (r.name = e.name), e.id != null && (r.id = e.id);
|
|
43336
43336
|
}
|
|
43337
43337
|
function Lne(r) {
|
|
43338
43338
|
return r = X({}, r), L(["id", "parentId", "$action", "hv", "bounding", "textContent", "clipPath"].concat(xk), function(e) {
|
|
@@ -43994,7 +43994,7 @@ var $ne = (
|
|
|
43994
43994
|
}), P.ignore = !t.get("showTitle"), i.enterEmphasis(this);
|
|
43995
43995
|
}).on("mouseout", function() {
|
|
43996
43996
|
y.get(["iconStatus", E]) !== "emphasis" && i.leaveEmphasis(this), P.hide();
|
|
43997
|
-
}), (y.get(["iconStatus", E]) === "emphasis" ? Qi : Ji)(N), o.add(N), N.on("click",
|
|
43997
|
+
}), (y.get(["iconStatus", E]) === "emphasis" ? Qi : Ji)(N), o.add(N), N.on("click", fe(b.onclick, b, n, i, E)), M[E] = N;
|
|
43998
43998
|
});
|
|
43999
43999
|
}
|
|
44000
44000
|
var v = Jt(t, i).refContainer, p = t.getBoxLayoutParams(), g = t.get("padding"), m = wt(p, v, g);
|
|
@@ -44738,7 +44738,7 @@ var I_ = L, hie = o$("toolbox-dataZoom_"), vie = (
|
|
|
44738
44738
|
return r !== null && r.apply(this, arguments) || this;
|
|
44739
44739
|
}
|
|
44740
44740
|
return e.prototype.render = function(t, n, i, a) {
|
|
44741
|
-
this._brushController || (this._brushController = new b1(i.getZr()), this._brushController.on("brush",
|
|
44741
|
+
this._brushController || (this._brushController = new b1(i.getZr()), this._brushController.on("brush", fe(this._onBrush, this)).mount()), mie(t, n, this, a, i), gie(t, n);
|
|
44742
44742
|
}, e.prototype.onclick = function(t, n, i) {
|
|
44743
44743
|
pie[i].call(this);
|
|
44744
44744
|
}, e.prototype.remove = function(t, n) {
|
|
@@ -45106,7 +45106,7 @@ var Eie = (
|
|
|
45106
45106
|
return e._longHide = !0;
|
|
45107
45107
|
}, 500);
|
|
45108
45108
|
}, r.prototype.hideLater = function(e) {
|
|
45109
|
-
this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent && (e ? (this._hideDelay = e, this._show = !1, this._hideTimeout = setTimeout(
|
|
45109
|
+
this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent && (e ? (this._hideDelay = e, this._show = !1, this._hideTimeout = setTimeout(fe(this.hide, this), e)) : this.hide());
|
|
45110
45110
|
}, r.prototype.isShow = function() {
|
|
45111
45111
|
return this._show;
|
|
45112
45112
|
}, r.prototype.dispose = function() {
|
|
@@ -45181,7 +45181,7 @@ var Eie = (
|
|
|
45181
45181
|
}, r.prototype.hide = function() {
|
|
45182
45182
|
this.el && this.el.hide(), this._show = !1;
|
|
45183
45183
|
}, r.prototype.hideLater = function(e) {
|
|
45184
|
-
this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent && (e ? (this._hideDelay = e, this._show = !1, this._hideTimeout = setTimeout(
|
|
45184
|
+
this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent && (e ? (this._hideDelay = e, this._show = !1, this._hideTimeout = setTimeout(fe(this.hide, this), e)) : this.hide());
|
|
45185
45185
|
}, r.prototype.isShow = function() {
|
|
45186
45186
|
return this._show;
|
|
45187
45187
|
}, r.prototype.dispose = function() {
|
|
@@ -45234,7 +45234,7 @@ var Nie = new We({
|
|
|
45234
45234
|
}
|
|
45235
45235
|
}, e.prototype._initGlobalListener = function() {
|
|
45236
45236
|
var t = this._tooltipModel, n = t.get("triggerOn");
|
|
45237
|
-
Yz("itemTooltip", this._api,
|
|
45237
|
+
Yz("itemTooltip", this._api, fe(function(i, a, o) {
|
|
45238
45238
|
n !== "none" && (n.indexOf(i) >= 0 ? this._tryShow(a, o) : i === "leave" && this._hide(o));
|
|
45239
45239
|
}, this));
|
|
45240
45240
|
}, e.prototype._keepShow = function() {
|
|
@@ -45348,7 +45348,7 @@ var Nie = new We({
|
|
|
45348
45348
|
}
|
|
45349
45349
|
}, e.prototype._showOrMove = function(t, n) {
|
|
45350
45350
|
var i = t.get("showDelay");
|
|
45351
|
-
n =
|
|
45351
|
+
n = fe(n, this), clearTimeout(this._showTimout), i > 0 ? this._showTimout = setTimeout(n, i) : n();
|
|
45352
45352
|
}, e.prototype._showAxisTooltip = function(t, n) {
|
|
45353
45353
|
var i = this._ecModel, a = this._tooltipModel, o = [n.offsetX, n.offsetY], s = ac([n.tooltipOption], a), l = this._renderMode, u = [], c = Ut("section", {
|
|
45354
45354
|
blocks: [],
|
|
@@ -45448,7 +45448,7 @@ var Nie = new We({
|
|
|
45448
45448
|
var g = t.ecModel.get("useUTC"), m = Q(i) ? i[0] : i, y = m && m.axisType && m.axisType.indexOf("time") >= 0;
|
|
45449
45449
|
h = d, y && (h = sg(m.axisValue, h, g)), h = yk(h, i, !0);
|
|
45450
45450
|
} else if (we(d)) {
|
|
45451
|
-
var b =
|
|
45451
|
+
var b = fe(function(_, w) {
|
|
45452
45452
|
_ === this._ticket && (f.setContent(w, c, t, p, l), this._updatePosition(t, l, o, s, f, i, u));
|
|
45453
45453
|
}, this);
|
|
45454
45454
|
this._ticket = a, h = d(i, a, b);
|
|
@@ -45531,7 +45531,7 @@ function ac(r, e, t) {
|
|
|
45531
45531
|
return i;
|
|
45532
45532
|
}
|
|
45533
45533
|
function EL(r, e) {
|
|
45534
|
-
return r.dispatchAction ||
|
|
45534
|
+
return r.dispatchAction || fe(e.dispatchAction, e);
|
|
45535
45535
|
}
|
|
45536
45536
|
function Pie(r, e, t, n, i, a, o) {
|
|
45537
45537
|
var s = t.getSize(), l = s[0], u = s[1];
|
|
@@ -45906,7 +45906,7 @@ var Zie = (
|
|
|
45906
45906
|
return t.type = e.type, t;
|
|
45907
45907
|
}
|
|
45908
45908
|
return e.prototype.init = function(t, n) {
|
|
45909
|
-
this.ecModel = t, this.api = n, this.model, (this._brushController = new b1(n.getZr())).on("brush",
|
|
45909
|
+
this.ecModel = t, this.api = n, this.model, (this._brushController = new b1(n.getZr())).on("brush", fe(this._onBrush, this)).mount();
|
|
45910
45910
|
}, e.prototype.render = function(t, n, i, a) {
|
|
45911
45911
|
this.model = t, this._updateController(t, n, i, a);
|
|
45912
45912
|
}, e.prototype.updateTransform = function(t, n, i, a) {
|
|
@@ -46527,7 +46527,7 @@ var nae = (
|
|
|
46527
46527
|
var c = i.dataToCoord(u.value), f = s.getItemModel(u.value), d = f.getModel("itemStyle"), h = f.getModel(["emphasis", "itemStyle"]), v = f.getModel(["progress", "itemStyle"]), p = {
|
|
46528
46528
|
x: c,
|
|
46529
46529
|
y: 0,
|
|
46530
|
-
onclick:
|
|
46530
|
+
onclick: fe(o._changeTimeline, o, u.value)
|
|
46531
46531
|
}, g = GL(f, d, n, p);
|
|
46532
46532
|
g.ensureState("emphasis").style = h.getItemStyle(), g.ensureState("progress").style = v.getItemStyle(), es(g);
|
|
46533
46533
|
var m = ke(g);
|
|
@@ -46542,7 +46542,7 @@ var nae = (
|
|
|
46542
46542
|
x: g,
|
|
46543
46543
|
y: 0,
|
|
46544
46544
|
rotation: t.labelRotation - t.rotation,
|
|
46545
|
-
onclick:
|
|
46545
|
+
onclick: fe(o._changeTimeline, o, f),
|
|
46546
46546
|
silent: !1,
|
|
46547
46547
|
style: vt(h, {
|
|
46548
46548
|
text: c.formattedLabel,
|
|
@@ -46555,7 +46555,7 @@ var nae = (
|
|
|
46555
46555
|
}
|
|
46556
46556
|
}, e.prototype._renderControl = function(t, n, i, a) {
|
|
46557
46557
|
var o = t.controlSize, s = t.rotation, l = a.getModel("controlStyle").getItemStyle(), u = a.getModel(["emphasis", "controlStyle"]).getItemStyle(), c = a.getPlayState(), f = a.get("inverse", !0);
|
|
46558
|
-
d(t.nextBtnPosition, "next",
|
|
46558
|
+
d(t.nextBtnPosition, "next", fe(this._changeTimeline, this, f ? "-" : "+")), d(t.prevBtnPosition, "prev", fe(this._changeTimeline, this, f ? "+" : "-")), d(t.playPosition, c ? "stop" : "play", fe(this._handlePlayClick, this, !c), !0);
|
|
46559
46559
|
function d(h, v, p, g) {
|
|
46560
46560
|
if (h) {
|
|
46561
46561
|
var m = Vn(ye(a.get(["controlStyle", v + "BtnSize"]), o), o), y = [0, -m / 2, m, m], b = lae(a, v + "Icon", y, {
|
|
@@ -46574,7 +46574,7 @@ var nae = (
|
|
|
46574
46574
|
}, e.prototype._renderCurrentPointer = function(t, n, i, a) {
|
|
46575
46575
|
var o = a.getData(), s = a.getCurrentIndex(), l = o.getItemModel(s).getModel("checkpointStyle"), u = this, c = {
|
|
46576
46576
|
onCreate: function(f) {
|
|
46577
|
-
f.draggable = !0, f.drift =
|
|
46577
|
+
f.draggable = !0, f.drift = fe(u._handlePointerDrag, u), f.ondragend = fe(u._handlePointerDragend, u), HL(f, u._progressLine, s, i, a, !0);
|
|
46578
46578
|
},
|
|
46579
46579
|
onUpdate: function(f) {
|
|
46580
46580
|
HL(f, u._progressLine, s, i, a);
|
|
@@ -47952,7 +47952,7 @@ function jL(r, e) {
|
|
|
47952
47952
|
if (!(i === `
|
|
47953
47953
|
` || i === "")) {
|
|
47954
47954
|
var a = r.isSelected(i);
|
|
47955
|
-
|
|
47955
|
+
pe(t, i) ? t[i] = t[i] && a : t[i] = a;
|
|
47956
47956
|
}
|
|
47957
47957
|
}), t;
|
|
47958
47958
|
}
|
|
@@ -48040,7 +48040,7 @@ var QL = Ce, e0 = ["width", "height"], t0 = ["x", "y"], Vae = (
|
|
|
48040
48040
|
var m = p + "DataIndex", y = Xf(n.get("pageIcons", !0)[n.getOrient().name][g], {
|
|
48041
48041
|
// Buttons will be created in each render, so we do not need
|
|
48042
48042
|
// to worry about avoiding using legendModel kept in scope.
|
|
48043
|
-
onclick:
|
|
48043
|
+
onclick: fe(u._pageGo, u, m, n, a)
|
|
48044
48044
|
}, {
|
|
48045
48045
|
x: -d[0] / 2,
|
|
48046
48046
|
y: -d[1] / 2,
|
|
@@ -48351,9 +48351,9 @@ var Kae = (
|
|
|
48351
48351
|
return;
|
|
48352
48352
|
}
|
|
48353
48353
|
this.range = t.getPercentRange(), $ae(i, t, {
|
|
48354
|
-
pan:
|
|
48355
|
-
zoom:
|
|
48356
|
-
scrollMove:
|
|
48354
|
+
pan: fe(r0.pan, this),
|
|
48355
|
+
zoom: fe(r0.zoom, this),
|
|
48356
|
+
scrollMove: fe(r0.scrollMove, this)
|
|
48357
48357
|
});
|
|
48358
48358
|
}, e.prototype.dispose = function() {
|
|
48359
48359
|
this._clear(), r.prototype.dispose.apply(this, arguments);
|
|
@@ -48503,7 +48503,7 @@ var Qae = (
|
|
|
48503
48503
|
return t.type = e.type, t._displayables = {}, t;
|
|
48504
48504
|
}
|
|
48505
48505
|
return e.prototype.init = function(t, n) {
|
|
48506
|
-
this.api = n, this._onBrush =
|
|
48506
|
+
this.api = n, this._onBrush = fe(this._onBrush, this), this._onBrushEnd = fe(this._onBrushEnd, this);
|
|
48507
48507
|
}, e.prototype.render = function(t, n, i, a) {
|
|
48508
48508
|
if (r.prototype.render.apply(this, arguments), _u(this, "_dispatchZoomAction", t.get("throttle"), "fixRate"), this._orient = t.getOrient(), t.get("show") === !1) {
|
|
48509
48509
|
this.group.removeAll();
|
|
@@ -48594,7 +48594,7 @@ var Qae = (
|
|
|
48594
48594
|
fill: "transparent"
|
|
48595
48595
|
},
|
|
48596
48596
|
z2: 0,
|
|
48597
|
-
onclick:
|
|
48597
|
+
onclick: fe(this._onClickPanel, this)
|
|
48598
48598
|
}), s = this.api.getZr();
|
|
48599
48599
|
a ? (o.on("mousedown", this._onBrushStart, this), o.cursor = "crosshair", s.on("mousemove", this._onBrush), s.on("mouseup", this._onBrushEnd)) : (s.off("mousemove", this._onBrush), s.off("mouseup", this._onBrushEnd)), i.add(o);
|
|
48600
48600
|
}, e.prototype._renderDataShadow = function() {
|
|
@@ -48700,10 +48700,10 @@ var Qae = (
|
|
|
48700
48700
|
w.attr({
|
|
48701
48701
|
cursor: ooe(this._orient),
|
|
48702
48702
|
draggable: !0,
|
|
48703
|
-
drift:
|
|
48704
|
-
ondragend:
|
|
48705
|
-
onmouseover:
|
|
48706
|
-
onmouseout:
|
|
48703
|
+
drift: fe(this._onDragMove, this, b),
|
|
48704
|
+
ondragend: fe(this._onDragEnd, this),
|
|
48705
|
+
onmouseover: fe(this._showDataInfo, this, !0),
|
|
48706
|
+
onmouseout: fe(this._showDataInfo, this, !1),
|
|
48707
48707
|
z2: 5
|
|
48708
48708
|
});
|
|
48709
48709
|
var S = w.getBoundingRect(), C = l.get("handleSize");
|
|
@@ -48754,11 +48754,11 @@ var Qae = (
|
|
|
48754
48754
|
h.attr({
|
|
48755
48755
|
draggable: !0,
|
|
48756
48756
|
cursor: "default",
|
|
48757
|
-
drift:
|
|
48758
|
-
ondragstart:
|
|
48759
|
-
ondragend:
|
|
48760
|
-
onmouseover:
|
|
48761
|
-
onmouseout:
|
|
48757
|
+
drift: fe(this._onDragMove, this, "all"),
|
|
48758
|
+
ondragstart: fe(this._showDataInfo, this, !0),
|
|
48759
|
+
ondragend: fe(this._onDragEnd, this),
|
|
48760
|
+
onmouseover: fe(this._showDataInfo, this, !0),
|
|
48761
|
+
onmouseout: fe(this._showDataInfo, this, !1)
|
|
48762
48762
|
});
|
|
48763
48763
|
}, e.prototype._resetInterval = function() {
|
|
48764
48764
|
var t = this._range = this.dataZoomModel.getPercentRange(), n = this._getViewExtent();
|
|
@@ -48985,7 +48985,7 @@ var SV = {
|
|
|
48985
48985
|
!n && dV(i, t, this.replacableOptionKeys), this.textStyleModel = this.getModel("textStyle"), this.resetItemSize(), this.completeVisualOption();
|
|
48986
48986
|
}, e.prototype.resetVisual = function(t) {
|
|
48987
48987
|
var n = this.stateList;
|
|
48988
|
-
t =
|
|
48988
|
+
t = fe(t, this), this.controllerVisuals = P_(this.option.controller, n, t), this.targetVisuals = P_(this.option.target, n, t);
|
|
48989
48989
|
}, e.prototype.getItemSymbol = function() {
|
|
48990
48990
|
return null;
|
|
48991
48991
|
}, e.prototype.getTargetSeriesIndices = function() {
|
|
@@ -49315,7 +49315,7 @@ var ti = ot, voe = L, oN = Math.min, a0 = Math.max, poe = 12, goe = 6, moe = (
|
|
|
49315
49315
|
return t.type = e.type, t._shapes = {}, t._dataInterval = [], t._handleEnds = [], t._hoverLinkDataIndices = [], t;
|
|
49316
49316
|
}
|
|
49317
49317
|
return e.prototype.init = function(t, n) {
|
|
49318
|
-
r.prototype.init.call(this, t, n), this._hoverLinkFromSeriesMouseOver =
|
|
49318
|
+
r.prototype.init.call(this, t, n), this._hoverLinkFromSeriesMouseOver = fe(this._hoverLinkFromSeriesMouseOver, this), this._hideIndicator = fe(this._hideIndicator, this);
|
|
49319
49319
|
}, e.prototype.doRender = function(t, n, i, a) {
|
|
49320
49320
|
(!a || a.type !== "selectDataRange" || a.from !== this.uid) && this._buildView();
|
|
49321
49321
|
}, e.prototype._buildView = function() {
|
|
@@ -49341,7 +49341,7 @@ var ti = ot, voe = L, oN = Math.min, a0 = Math.max, poe = 12, goe = 6, moe = (
|
|
|
49341
49341
|
}
|
|
49342
49342
|
}, e.prototype._renderBar = function(t) {
|
|
49343
49343
|
var n = this.visualMapModel, i = this._shapes, a = n.itemSize, o = this._orient, s = this._useHandle, l = TV(n, this.api, a), u = i.mainGroup = this._createBarGroup(l), c = new Ce();
|
|
49344
|
-
u.add(c), c.add(i.outOfRange = sN()), c.add(i.inRange = sN(null, s ? uN(this._orient) : null,
|
|
49344
|
+
u.add(c), c.add(i.outOfRange = sN()), c.add(i.inRange = sN(null, s ? uN(this._orient) : null, fe(this._dragHandle, this, "all", !1), fe(this._dragHandle, this, "all", !0))), c.setClipPath(new We({
|
|
49345
49345
|
shape: {
|
|
49346
49346
|
x: 0,
|
|
49347
49347
|
y: 0,
|
|
@@ -49353,7 +49353,7 @@ var ti = ot, voe = L, oN = Math.min, a0 = Math.max, poe = 12, goe = 6, moe = (
|
|
|
49353
49353
|
var f = n.textStyleModel.getTextRect("国"), d = a0(f.width, f.height);
|
|
49354
49354
|
s && (i.handleThumbs = [], i.handleLabels = [], i.handleLabelPoints = [], this._createHandle(n, u, 0, a, d, o), this._createHandle(n, u, 1, a, d, o)), this._createIndicator(n, u, a, d, o), t.add(u);
|
|
49355
49355
|
}, e.prototype._createHandle = function(t, n, i, a, o, s) {
|
|
49356
|
-
var l =
|
|
49356
|
+
var l = fe(this._dragHandle, this, i, !1), u = fe(this._dragHandle, this, i, !0), c = Vn(t.get("handleSize"), a[0]), f = Yt(t.get("handleIcon"), -c / 2, -c / 2, c, c, null, !0), d = uN(this._orient);
|
|
49357
49357
|
f.attr({
|
|
49358
49358
|
cursor: d,
|
|
49359
49359
|
draggable: !0,
|
|
@@ -49683,7 +49683,7 @@ var boe = {
|
|
|
49683
49683
|
var t = [];
|
|
49684
49684
|
return e.eachComponent("visualMap", function(n) {
|
|
49685
49685
|
var i = r.pipelineContext;
|
|
49686
|
-
!n.isTargetSeries(r) || i && i.large || t.push(Hie(n.stateList, n.targetVisuals,
|
|
49686
|
+
!n.isTargetSeries(r) || i && i.large || t.push(Hie(n.stateList, n.targetVisuals, fe(n.getValueState, n), n.getDataDimensionIndex(r.getData())));
|
|
49687
49687
|
}), t;
|
|
49688
49688
|
}
|
|
49689
49689
|
},
|
|
@@ -49694,7 +49694,7 @@ var boe = {
|
|
|
49694
49694
|
var t = r.getData(), n = [];
|
|
49695
49695
|
e.eachComponent("visualMap", function(i) {
|
|
49696
49696
|
if (i.isTargetSeries(r)) {
|
|
49697
|
-
var a = i.getVisualMeta(
|
|
49697
|
+
var a = i.getVisualMeta(fe(woe, null, r, i)) || {
|
|
49698
49698
|
stops: [],
|
|
49699
49699
|
outerColors: []
|
|
49700
49700
|
}, o = i.getDataDimensionIndex(t);
|
|
@@ -49967,7 +49967,7 @@ var Doe = (
|
|
|
49967
49967
|
var n = this.visualMapModel, i = n.get("textGap"), a = n.textStyleModel, o = this._getItemAlign(), s = n.itemSize, l = this._getViewData(), u = l.endsText, c = Zt(n.get("showLabel", !0), !u), f = !n.get("selectedMode");
|
|
49968
49968
|
u && this._renderEndsText(t, u[0], s, c, o), L(l.viewPieceList, function(d) {
|
|
49969
49969
|
var h = d.piece, v = new Ce();
|
|
49970
|
-
v.onclick =
|
|
49970
|
+
v.onclick = fe(this._onItemClick, this, h), this._enableHoverLink(v, d.indexInModelPieceList);
|
|
49971
49971
|
var p = n.getRepresentValue(h);
|
|
49972
49972
|
if (this._createItemSymbol(v, p, [0, 0, s[0], s[1]], f), c) {
|
|
49973
49973
|
var g = this.visualMapModel.getValueState(p), m = a.get("align") || o;
|
|
@@ -50238,7 +50238,7 @@ var Moe = (
|
|
|
50238
50238
|
return n._contentRect.contain(s, l);
|
|
50239
50239
|
}
|
|
50240
50240
|
}
|
|
50241
|
-
}), a.off("pan").off("zoom").on("pan",
|
|
50241
|
+
}), a.off("pan").off("zoom").on("pan", fe(this._onPan, this)).on("zoom", fe(this._onZoom, this));
|
|
50242
50242
|
}, e.prototype._onPan = function(t) {
|
|
50243
50243
|
var n = this._transThisToTarget;
|
|
50244
50244
|
if (!(!this._isEnabled() || !n)) {
|
|
@@ -50539,7 +50539,7 @@ function Woe(r, e) {
|
|
|
50539
50539
|
for (var t = "", n = e.prepareGetValue(r), i = [], a = Ke(r), o = r.parser, s = o ? Wk(o) : null, l = 0; l < a.length; l++) {
|
|
50540
50540
|
var u = a[l];
|
|
50541
50541
|
if (!(u === "parser" || e.valueGetterAttrMap.get(u))) {
|
|
50542
|
-
var c =
|
|
50542
|
+
var c = pe(gN, u) ? gN[u] : u, f = r[u], d = s ? s(f) : f, h = A6(c, d) || c === "reg" && new Ooe(d);
|
|
50543
50543
|
h || (process.env.NODE_ENV !== "production" && (t = Nr('Illegal relational operation: "' + u + '" in condition:', r)), at(t)), i.push(h);
|
|
50544
50544
|
}
|
|
50545
50545
|
}
|
|
@@ -50574,7 +50574,7 @@ var Yoe = {
|
|
|
50574
50574
|
}),
|
|
50575
50575
|
prepareGetValue: function(s) {
|
|
50576
50576
|
var l = "", u = s.dimension;
|
|
50577
|
-
|
|
50577
|
+
pe(s, "dimension") || (process.env.NODE_ENV !== "production" && (l = Nr('Relation condition must has prop "dimension" specified.', "Illegal condition:", s)), at(l));
|
|
50578
50578
|
var c = e.getDimensionInfo(u);
|
|
50579
50579
|
return c || (process.env.NODE_ENV !== "production" && (l = Nr("Can not find dimension info via: " + u + `.
|
|
50580
50580
|
`, "Existing dimensions: ", e.cloneAllDimensionInfo(), `.
|
|
@@ -52030,17 +52030,17 @@ function Vse(r, e, t, n, i) {
|
|
|
52030
52030
|
fill: "none"
|
|
52031
52031
|
}, P = E ? 0 : 1, O = 1 - P, R = n[Oe[O]] + n[$t[O]];
|
|
52032
52032
|
function z(J) {
|
|
52033
|
-
var
|
|
52034
|
-
|
|
52033
|
+
var he = [], Se = [];
|
|
52034
|
+
he[P] = Se[P] = J, he[O] = n[Oe[O]], Se[O] = R;
|
|
52035
52035
|
var Le = {
|
|
52036
|
-
x1:
|
|
52037
|
-
y1:
|
|
52036
|
+
x1: he[0],
|
|
52037
|
+
y1: he[1],
|
|
52038
52038
|
x2: Se[0],
|
|
52039
52039
|
y2: Se[1]
|
|
52040
52040
|
};
|
|
52041
52041
|
return Qp(Le, Le, {
|
|
52042
52042
|
lineWidth: 1
|
|
52043
|
-
}),
|
|
52043
|
+
}), he[0] = Le.x1, he[1] = Le.y1, he[P];
|
|
52044
52044
|
}
|
|
52045
52045
|
M = z(M), I = z(I);
|
|
52046
52046
|
for (var V = [], G = [], H = !0, $ = n[Oe[O]], q = 0; ; q++) {
|
|
@@ -52284,7 +52284,7 @@ He(Use);
|
|
|
52284
52284
|
He(PZ);
|
|
52285
52285
|
He(EV);
|
|
52286
52286
|
function eo(r, e) {
|
|
52287
|
-
const t =
|
|
52287
|
+
const t = ce(null);
|
|
52288
52288
|
return Te(() => {
|
|
52289
52289
|
if (r.current) {
|
|
52290
52290
|
t.current = mX(r.current);
|
|
@@ -52300,7 +52300,7 @@ function eo(r, e) {
|
|
|
52300
52300
|
}, [e]), t;
|
|
52301
52301
|
}
|
|
52302
52302
|
function Du(r, e) {
|
|
52303
|
-
const t =
|
|
52303
|
+
const t = ce(null), n = ce(e);
|
|
52304
52304
|
n.current = e, Te(() => {
|
|
52305
52305
|
const i = r.current;
|
|
52306
52306
|
if (!i || typeof i.on != "function")
|
|
@@ -52380,7 +52380,7 @@ function Zse(r, e, t, n) {
|
|
|
52380
52380
|
}), a ? { series: i, nearest: a } : null;
|
|
52381
52381
|
}
|
|
52382
52382
|
function to(r, e, t = "mark") {
|
|
52383
|
-
const n =
|
|
52383
|
+
const n = ce(e);
|
|
52384
52384
|
n.current = e, Te(() => {
|
|
52385
52385
|
const i = r.current;
|
|
52386
52386
|
if (!i)
|
|
@@ -52989,7 +52989,7 @@ function BN(r, e) {
|
|
|
52989
52989
|
});
|
|
52990
52990
|
}
|
|
52991
52991
|
function sle() {
|
|
52992
|
-
const [r, e] =
|
|
52992
|
+
const [r, e] = ve(
|
|
52993
52993
|
() => typeof document > "u" || document.fonts === void 0
|
|
52994
52994
|
);
|
|
52995
52995
|
return Te(() => {
|
|
@@ -53486,7 +53486,7 @@ function Ble(r, {
|
|
|
53486
53486
|
const xe = oe.data.map((Pe) => Af(Pe));
|
|
53487
53487
|
xe.some((Pe) => Pe !== void 0) && Z.set(oe.name, xe);
|
|
53488
53488
|
}
|
|
53489
|
-
const J = g ?? p,
|
|
53489
|
+
const J = g ?? p, he = Hn(
|
|
53490
53490
|
g,
|
|
53491
53491
|
p
|
|
53492
53492
|
), Se = ZV({
|
|
@@ -53556,7 +53556,7 @@ function Ble(r, {
|
|
|
53556
53556
|
return ole(
|
|
53557
53557
|
_,
|
|
53558
53558
|
xe.dataIndex,
|
|
53559
|
-
|
|
53559
|
+
he,
|
|
53560
53560
|
T
|
|
53561
53561
|
);
|
|
53562
53562
|
const ct = xe.dataIndex ?? 0, Dt = Pe.endsWith(Z_), Re = Dt ? Pe.slice(0, -Z_.length) : Pe, qe = Dt ? t.find((Bt) => Bt.name === Re)?.data[ct] : void 0;
|
|
@@ -53571,7 +53571,7 @@ function Ble(r, {
|
|
|
53571
53571
|
marker: At,
|
|
53572
53572
|
title: Re,
|
|
53573
53573
|
subtitle: String(xe.name ?? ""),
|
|
53574
|
-
value:
|
|
53574
|
+
value: he(it),
|
|
53575
53575
|
rows: [
|
|
53576
53576
|
Li && Lu !== 0 && {
|
|
53577
53577
|
// Same sign on both sides, so the ratio is positive even
|
|
@@ -53580,11 +53580,11 @@ function Ble(r, {
|
|
|
53580
53580
|
label: D.dataChart.tooltip.ofTotal
|
|
53581
53581
|
},
|
|
53582
53582
|
Li && {
|
|
53583
|
-
value:
|
|
53583
|
+
value: he(Lu),
|
|
53584
53584
|
label: D.dataChart.tooltip.total
|
|
53585
53585
|
},
|
|
53586
53586
|
gt !== void 0 && {
|
|
53587
|
-
value:
|
|
53587
|
+
value: he(gt),
|
|
53588
53588
|
label: D.dataChart.tooltip.target
|
|
53589
53589
|
},
|
|
53590
53590
|
o && gt !== void 0 && gt !== 0 && {
|
|
@@ -53654,12 +53654,12 @@ function Ble(r, {
|
|
|
53654
53654
|
]);
|
|
53655
53655
|
}
|
|
53656
53656
|
const zle = (r) => {
|
|
53657
|
-
const e =
|
|
53657
|
+
const e = ce(null), { width: t, height: n } = Pr(e), i = ms(t), [a, o] = ve(null), s = Ble(e, r, i, a), l = eo(e, s);
|
|
53658
53658
|
to(l, r.onPointClick);
|
|
53659
53659
|
const u = xn(e);
|
|
53660
53660
|
Rp(l, e, u), Du(l, r.onLegendSelectionChange), qse(
|
|
53661
53661
|
l,
|
|
53662
|
-
|
|
53662
|
+
de(
|
|
53663
53663
|
(v) => o(v),
|
|
53664
53664
|
[]
|
|
53665
53665
|
)
|
|
@@ -53867,7 +53867,7 @@ const Wle = (r) => {
|
|
|
53867
53867
|
showConversion: i = !1,
|
|
53868
53868
|
showLabels: a = !0,
|
|
53869
53869
|
valueFormatter: o
|
|
53870
|
-
} = r, s =
|
|
53870
|
+
} = r, s = ce(null), l = Gle(s, r), u = eo(s, l);
|
|
53871
53871
|
to(u, r.onPointClick), Du(u, r.onLegendSelectionChange);
|
|
53872
53872
|
const c = Hle(e.data ?? [], t), f = c[0]?.value ?? 0, d = n === "horizontal";
|
|
53873
53873
|
return /* @__PURE__ */ B("div", { className: "relative h-full w-full", children: [
|
|
@@ -54056,7 +54056,7 @@ function Ule(r, {
|
|
|
54056
54056
|
]);
|
|
54057
54057
|
}
|
|
54058
54058
|
const Yle = (r) => {
|
|
54059
|
-
const e =
|
|
54059
|
+
const e = ce(null), { width: t } = Pr(e), n = ms(t), i = Ule(e, r, n), a = eo(e, i);
|
|
54060
54060
|
return to(a, r.onPointClick), /* @__PURE__ */ x("div", { ref: e, className: "h-full w-full" });
|
|
54061
54061
|
};
|
|
54062
54062
|
function Xle(r) {
|
|
@@ -54212,7 +54212,7 @@ function Qle(r, {
|
|
|
54212
54212
|
]);
|
|
54213
54213
|
}
|
|
54214
54214
|
const Jle = (r) => {
|
|
54215
|
-
const e = Be(), t =
|
|
54215
|
+
const e = Be(), t = ce(null), { width: n } = Pr(t), i = ms(n), a = Qle(t, r, i), o = eo(t, a);
|
|
54216
54216
|
to(o, r.onPointClick);
|
|
54217
54217
|
const s = xn(t);
|
|
54218
54218
|
return Rp(o, t, s), /* @__PURE__ */ B("div", { className: "relative h-full w-full", children: [
|
|
@@ -54418,7 +54418,7 @@ function aue(r, {
|
|
|
54418
54418
|
]);
|
|
54419
54419
|
}
|
|
54420
54420
|
const oue = (r) => {
|
|
54421
|
-
const e =
|
|
54421
|
+
const e = ce(null), { width: t } = Pr(e), n = ms(t), i = aue(e, r, n), a = eo(e, i);
|
|
54422
54422
|
to(a, r.onPointClick, "plot");
|
|
54423
54423
|
const o = xn(e);
|
|
54424
54424
|
return Rp(a, e, o), Du(a, r.onLegendSelectionChange), /* @__PURE__ */ x("div", { ref: e, className: "h-full w-full" });
|
|
@@ -54549,7 +54549,7 @@ function lue(r, {
|
|
|
54549
54549
|
]);
|
|
54550
54550
|
}
|
|
54551
54551
|
const uue = (r) => {
|
|
54552
|
-
const e =
|
|
54552
|
+
const e = ce(null), { width: t } = Pr(e), n = ms(t), i = lue(e, r, n), a = eo(e, i);
|
|
54553
54553
|
return to(a, r.onPointClick), Du(a, r.onLegendSelectionChange), /* @__PURE__ */ x("div", { ref: e, className: "h-full w-full" });
|
|
54554
54554
|
};
|
|
54555
54555
|
function cue(r) {
|
|
@@ -54684,7 +54684,7 @@ function fue(r, {
|
|
|
54684
54684
|
]);
|
|
54685
54685
|
}
|
|
54686
54686
|
const due = (r) => {
|
|
54687
|
-
const e =
|
|
54687
|
+
const e = ce(null), { width: t } = Pr(e), n = ms(t), i = fue(e, r, n), a = eo(e, i);
|
|
54688
54688
|
return to(a, r.onPointClick), Du(a, r.onLegendSelectionChange), /* @__PURE__ */ x("div", { ref: e, className: "h-full w-full" });
|
|
54689
54689
|
};
|
|
54690
54690
|
function hue(r) {
|
|
@@ -54951,7 +54951,7 @@ function bue(r, {
|
|
|
54951
54951
|
]);
|
|
54952
54952
|
}
|
|
54953
54953
|
const _ue = (r) => {
|
|
54954
|
-
const e =
|
|
54954
|
+
const e = ce(null), { width: t } = Pr(e), n = ms(t), i = bue(e, r, n), a = eo(e, i);
|
|
54955
54955
|
to(a, r.onPointClick);
|
|
54956
54956
|
const o = xn(e);
|
|
54957
54957
|
return Rp(a, e, o), Du(a, r.onLegendSelectionChange), /* @__PURE__ */ x(
|
|
@@ -56080,36 +56080,45 @@ const vF = Jue, pF = ece, nce = tce, gF = rce, mF = (r) => Object.fromEntries(
|
|
|
56080
56080
|
disabled: n,
|
|
56081
56081
|
onSeek: i
|
|
56082
56082
|
}) => {
|
|
56083
|
-
const a = Be(), [o, s] =
|
|
56083
|
+
const a = Be(), [o, s] = ve(null), l = ce(!1), u = e > 0 ? e : 0, c = o ?? r, f = Math.min(Math.max(c, 0), u), d = u > 0 ? f / u * 100 : 0, h = u > 0 ? Math.min(t / u * 100, 100) : 0, v = n || u === 0, p = ce(null), [g, m] = ve(0);
|
|
56084
56084
|
Te(() => {
|
|
56085
|
-
const
|
|
56086
|
-
if (!
|
|
56085
|
+
const T = p.current;
|
|
56086
|
+
if (!T)
|
|
56087
56087
|
return;
|
|
56088
|
-
const
|
|
56089
|
-
|
|
56090
|
-
const
|
|
56091
|
-
return
|
|
56088
|
+
const D = () => m(T.clientWidth);
|
|
56089
|
+
D();
|
|
56090
|
+
const A = new ResizeObserver(D);
|
|
56091
|
+
return A.observe(T), () => A.disconnect();
|
|
56092
56092
|
}, []);
|
|
56093
|
-
const
|
|
56094
|
-
const [
|
|
56095
|
-
|
|
56096
|
-
}, []),
|
|
56097
|
-
(
|
|
56098
|
-
const [
|
|
56099
|
-
|
|
56093
|
+
const y = g > 0 ? `${Math.round(g * d / 100)}px` : `${d}%`, b = de((T) => {
|
|
56094
|
+
const [D] = T;
|
|
56095
|
+
D === void 0 || !l.current || s(D);
|
|
56096
|
+
}, []), _ = de(
|
|
56097
|
+
(T) => {
|
|
56098
|
+
const [D] = T;
|
|
56099
|
+
D === void 0 || l.current || i(D);
|
|
56100
56100
|
},
|
|
56101
56101
|
[i]
|
|
56102
|
-
)
|
|
56102
|
+
), w = de(() => {
|
|
56103
|
+
l.current = !0;
|
|
56104
|
+
}, []), S = de(() => {
|
|
56105
|
+
l.current = !1, s(null);
|
|
56106
|
+
}, []), C = de(() => {
|
|
56107
|
+
l.current && (l.current = !1, s(null), o !== null && i(o));
|
|
56108
|
+
}, [o, i]);
|
|
56103
56109
|
return /* @__PURE__ */ B(
|
|
56104
56110
|
vF,
|
|
56105
56111
|
{
|
|
56106
|
-
value: [
|
|
56107
|
-
onValueChange:
|
|
56108
|
-
onValueCommit:
|
|
56112
|
+
value: [c],
|
|
56113
|
+
onValueChange: b,
|
|
56114
|
+
onValueCommit: _,
|
|
56115
|
+
onPointerDown: w,
|
|
56116
|
+
onPointerCancel: S,
|
|
56117
|
+
onLostPointerCapture: C,
|
|
56109
56118
|
min: 0,
|
|
56110
|
-
max:
|
|
56119
|
+
max: u || 1,
|
|
56111
56120
|
step: 1,
|
|
56112
|
-
disabled:
|
|
56121
|
+
disabled: v,
|
|
56113
56122
|
className: ne(
|
|
56114
56123
|
"group relative flex w-full touch-none select-none items-center py-2",
|
|
56115
56124
|
n && "opacity-50"
|
|
@@ -56118,7 +56127,7 @@ const vF = Jue, pF = ece, nce = tce, gF = rce, mF = (r) => Object.fromEntries(
|
|
|
56118
56127
|
/* @__PURE__ */ B(
|
|
56119
56128
|
pF,
|
|
56120
56129
|
{
|
|
56121
|
-
ref:
|
|
56130
|
+
ref: p,
|
|
56122
56131
|
className: "relative h-2 grow overflow-hidden rounded bg-f1-background-tertiary",
|
|
56123
56132
|
children: [
|
|
56124
56133
|
/* @__PURE__ */ x(
|
|
@@ -56126,7 +56135,7 @@ const vF = Jue, pF = ece, nce = tce, gF = rce, mF = (r) => Object.fromEntries(
|
|
|
56126
56135
|
{
|
|
56127
56136
|
"aria-hidden": !0,
|
|
56128
56137
|
className: "absolute h-full bg-f1-background-secondary",
|
|
56129
|
-
style: { width: `${
|
|
56138
|
+
style: { width: `${h}%` }
|
|
56130
56139
|
}
|
|
56131
56140
|
),
|
|
56132
56141
|
/* @__PURE__ */ x(
|
|
@@ -56134,17 +56143,17 @@ const vF = Jue, pF = ece, nce = tce, gF = rce, mF = (r) => Object.fromEntries(
|
|
|
56134
56143
|
{
|
|
56135
56144
|
"aria-hidden": !0,
|
|
56136
56145
|
className: "absolute h-full bg-f1-background-selected-bold",
|
|
56137
|
-
style: { width: `${
|
|
56146
|
+
style: { width: `${d}%` }
|
|
56138
56147
|
}
|
|
56139
56148
|
)
|
|
56140
56149
|
]
|
|
56141
56150
|
}
|
|
56142
56151
|
),
|
|
56143
|
-
|
|
56152
|
+
v ? null : /* @__PURE__ */ x(
|
|
56144
56153
|
"span",
|
|
56145
56154
|
{
|
|
56146
56155
|
"aria-hidden": !0,
|
|
56147
|
-
style: { left:
|
|
56156
|
+
style: { left: y },
|
|
56148
56157
|
className: ne(
|
|
56149
56158
|
"pointer-events-none absolute top-1/2 size-3 -translate-x-1/2 -translate-y-1/2 rounded-full bg-f1-background-selected-bold opacity-0 transition-opacity",
|
|
56150
56159
|
"group-hover:opacity-100 group-has-[:focus-visible]:opacity-100",
|
|
@@ -56157,8 +56166,8 @@ const vF = Jue, pF = ece, nce = tce, gF = rce, mF = (r) => Object.fromEntries(
|
|
|
56157
56166
|
{
|
|
56158
56167
|
"aria-label": a.audioPlayer.seek,
|
|
56159
56168
|
"aria-valuetext": a.t("audioPlayer.position", {
|
|
56160
|
-
current: Mf(
|
|
56161
|
-
total: Mf(
|
|
56169
|
+
current: Mf(c),
|
|
56170
|
+
total: Mf(u)
|
|
56162
56171
|
}),
|
|
56163
56172
|
className: "block size-3 opacity-0 focus-visible:outline-none"
|
|
56164
56173
|
}
|
|
@@ -56173,7 +56182,7 @@ function bF({
|
|
|
56173
56182
|
onChange: t,
|
|
56174
56183
|
kind: n
|
|
56175
56184
|
}) {
|
|
56176
|
-
const [i, a] =
|
|
56185
|
+
const [i, a] = ve(!1), o = e.find((u) => u.locale === r), s = o ? N0(o) : r, l = (u) => {
|
|
56177
56186
|
const c = Array.from(
|
|
56178
56187
|
u.currentTarget.querySelectorAll(
|
|
56179
56188
|
'[role="menuitemradio"]'
|
|
@@ -56295,7 +56304,7 @@ const oce = Wn({
|
|
|
56295
56304
|
);
|
|
56296
56305
|
};
|
|
56297
56306
|
function wF(r, e) {
|
|
56298
|
-
const t = _e(() => p2(r), [r]), [n, i] =
|
|
56307
|
+
const t = _e(() => p2(r), [r]), [n, i] = ve(
|
|
56299
56308
|
() => iv(t, e)
|
|
56300
56309
|
), a = t.some((s) => s.locale === n) ? n : iv(t, e), o = I0(r, a) ?? "";
|
|
56301
56310
|
return { languages: t, activeLocale: a, resolvedSrc: o, setLocale: i };
|
|
@@ -56322,7 +56331,7 @@ const CF = (r) => {
|
|
|
56322
56331
|
onTimeUpdate: u,
|
|
56323
56332
|
onEnded: c,
|
|
56324
56333
|
onError: f
|
|
56325
|
-
} = r, d = typeof e == "function" ? e : void 0, h = typeof e == "function" ? void 0 : e, v =
|
|
56334
|
+
} = r, d = typeof e == "function" ? e : void 0, h = typeof e == "function" ? void 0 : e, v = ce(null), [p, g] = ve(h), m = ce(null), [y, b] = ve(null), _ = ce(!1), w = ce(!1), S = ce(!1), C = de(async () => {
|
|
56326
56335
|
if (!(!d || _.current)) {
|
|
56327
56336
|
_.current = !0;
|
|
56328
56337
|
try {
|
|
@@ -56333,9 +56342,9 @@ const CF = (r) => {
|
|
|
56333
56342
|
_.current = !1;
|
|
56334
56343
|
}
|
|
56335
56344
|
}
|
|
56336
|
-
}, [d, f]), T =
|
|
56345
|
+
}, [d, f]), T = de(() => {
|
|
56337
56346
|
S.current = !1, o?.();
|
|
56338
|
-
}, [o]), D =
|
|
56347
|
+
}, [o]), D = de(
|
|
56339
56348
|
(P) => {
|
|
56340
56349
|
f?.(P), !(!d || S.current) && (S.current = !0, w.current = !0, g(void 0), C());
|
|
56341
56350
|
},
|
|
@@ -56351,7 +56360,7 @@ const CF = (r) => {
|
|
|
56351
56360
|
onError: D
|
|
56352
56361
|
},
|
|
56353
56362
|
t ?? 0
|
|
56354
|
-
), M = A.seek, I =
|
|
56363
|
+
), M = A.seek, I = de(
|
|
56355
56364
|
(P) => {
|
|
56356
56365
|
const O = v.current, R = Math.max(P, 0);
|
|
56357
56366
|
if (O && p && O.readyState >= O.HAVE_METADATA) {
|
|
@@ -56376,7 +56385,7 @@ const CF = (r) => {
|
|
|
56376
56385
|
}, [h]), Te(() => {
|
|
56377
56386
|
!p || !w.current || (w.current = !1, A.play());
|
|
56378
56387
|
}, [p, A]);
|
|
56379
|
-
const E =
|
|
56388
|
+
const E = de(() => {
|
|
56380
56389
|
if (!A.isPlaying && !p && d) {
|
|
56381
56390
|
w.current = !0, C();
|
|
56382
56391
|
return;
|
|
@@ -56386,7 +56395,7 @@ const CF = (r) => {
|
|
|
56386
56395
|
Te(() => {
|
|
56387
56396
|
n !== void 0 && (n && !A.isPlaying ? !p && d ? (w.current = !0, C()) : A.play() : !n && A.isPlaying && A.pause());
|
|
56388
56397
|
}, [n, A, p, d, C]);
|
|
56389
|
-
const N =
|
|
56398
|
+
const N = ce(A.isPlaying);
|
|
56390
56399
|
Te(() => {
|
|
56391
56400
|
N.current !== A.isPlaying && (N.current = A.isPlaying, i?.(A.isPlaying));
|
|
56392
56401
|
}, [A.isPlaying, i]);
|
|
@@ -56608,12 +56617,12 @@ const lce = ({
|
|
|
56608
56617
|
onSeek: i,
|
|
56609
56618
|
cueRefs: a
|
|
56610
56619
|
}) {
|
|
56611
|
-
const o = Be(), { startTime: s } = e, l = i && s !== void 0, u =
|
|
56620
|
+
const o = Be(), { startTime: s } = e, l = i && s !== void 0, u = de(
|
|
56612
56621
|
(f) => {
|
|
56613
56622
|
a?.current && (a.current[t] = f);
|
|
56614
56623
|
},
|
|
56615
56624
|
[a, t]
|
|
56616
|
-
), c =
|
|
56625
|
+
), c = de(() => {
|
|
56617
56626
|
s !== void 0 && i?.(s);
|
|
56618
56627
|
}, [i, s]);
|
|
56619
56628
|
return /* @__PURE__ */ x("li", { ref: u, children: l ? /* @__PURE__ */ x(
|
|
@@ -56677,7 +56686,7 @@ const lce = ({
|
|
|
56677
56686
|
return t.join(`
|
|
56678
56687
|
`);
|
|
56679
56688
|
}, vce = (r, e, t) => {
|
|
56680
|
-
const [n, i] =
|
|
56689
|
+
const [n, i] = ve();
|
|
56681
56690
|
return Te(() => {
|
|
56682
56691
|
if (!t) {
|
|
56683
56692
|
i(void 0);
|
|
@@ -56754,7 +56763,7 @@ const lce = ({
|
|
|
56754
56763
|
}, D = !d && !!(v && v.length > 0), A = _e(
|
|
56755
56764
|
() => p2(d?.summary, d?.transcription),
|
|
56756
56765
|
[d?.summary, d?.transcription]
|
|
56757
|
-
), [M, I] =
|
|
56766
|
+
), [M, I] = ve(
|
|
56758
56767
|
() => iv(A, h)
|
|
56759
56768
|
), E = A.some((Pe) => Pe.locale === M) ? M : iv(A, h), N = I0(d?.summary, E), k = I0(
|
|
56760
56769
|
d?.transcription,
|
|
@@ -56766,7 +56775,7 @@ const lce = ({
|
|
|
56766
56775
|
), O = k ?? P, R = Array.isArray(O) ? O : void 0, z = typeof O == "string" ? O : void 0, V = !!(z || R?.length), G = _e(() => R ? ice(R) : [], [R]), H = G.length > 0, $ = w.pendingTime ?? w.currentTime, q = _e(
|
|
56767
56776
|
() => H ? ace(G, $) : -1,
|
|
56768
56777
|
[H, G, $]
|
|
56769
|
-
), ie =
|
|
56778
|
+
), ie = ce(null), te = ce([]), se = ce(!1), j = de(
|
|
56770
56779
|
(Pe) => {
|
|
56771
56780
|
se.current = !1, w.seek(Pe);
|
|
56772
56781
|
},
|
|
@@ -56820,13 +56829,13 @@ const lce = ({
|
|
|
56820
56829
|
j,
|
|
56821
56830
|
b.audioPlayer.summary,
|
|
56822
56831
|
b.audioPlayer.transcription
|
|
56823
|
-
]), re = V ? "available" : "missing", U = Y.length > 0, Z = Y.length === 1 ? Y[0] : void 0, J = (Pe) => Z?.value === "transcription" ? Pe ? b.audioPlayer.hideTranscription : b.audioPlayer.viewTranscription : Z?.value === "summary" ? Pe ? b.audioPlayer.hideSummary : b.audioPlayer.viewSummary : Pe ? b.audioPlayer.hideDetail : b.audioPlayer.viewDetail, [
|
|
56832
|
+
]), re = V ? "available" : "missing", U = Y.length > 0, Z = Y.length === 1 ? Y[0] : void 0, J = (Pe) => Z?.value === "transcription" ? Pe ? b.audioPlayer.hideTranscription : b.audioPlayer.viewTranscription : Z?.value === "summary" ? Pe ? b.audioPlayer.hideSummary : b.audioPlayer.viewSummary : Pe ? b.audioPlayer.hideDetail : b.audioPlayer.viewDetail, [he = !1, Se] = Ff({
|
|
56824
56833
|
prop: p,
|
|
56825
56834
|
defaultProp: g,
|
|
56826
56835
|
onChange: m
|
|
56827
56836
|
});
|
|
56828
56837
|
Te(() => {
|
|
56829
|
-
if (!
|
|
56838
|
+
if (!he || q < 0 || se.current)
|
|
56830
56839
|
return;
|
|
56831
56840
|
const Pe = ie.current, ct = te.current[q];
|
|
56832
56841
|
if (!Pe || !ct)
|
|
@@ -56836,8 +56845,8 @@ const lce = ({
|
|
|
56836
56845
|
top: Pe.scrollTop + (qe < 0 ? qe : it),
|
|
56837
56846
|
behavior: C ? "auto" : "smooth"
|
|
56838
56847
|
});
|
|
56839
|
-
}, [q,
|
|
56840
|
-
const [Le, Ze] =
|
|
56848
|
+
}, [q, he, C]);
|
|
56849
|
+
const [Le, Ze] = ve(Y[0]?.value), oe = Y.some((Pe) => Pe.value === Le) ? Le : Y[0]?.value, xe = Y.find((Pe) => Pe.value === oe)?.content;
|
|
56841
56850
|
return /* @__PURE__ */ B(
|
|
56842
56851
|
"div",
|
|
56843
56852
|
{
|
|
@@ -56882,9 +56891,9 @@ const lce = ({
|
|
|
56882
56891
|
{
|
|
56883
56892
|
variant: "outline",
|
|
56884
56893
|
size: "sm",
|
|
56885
|
-
label: J(
|
|
56886
|
-
onClick: () => Se(!
|
|
56887
|
-
"aria-expanded":
|
|
56894
|
+
label: J(he),
|
|
56895
|
+
onClick: () => Se(!he),
|
|
56896
|
+
"aria-expanded": he
|
|
56888
56897
|
}
|
|
56889
56898
|
) : null,
|
|
56890
56899
|
w.playbackRates.length > 0 || _.languages.length > 1 || i ? /* @__PURE__ */ x(
|
|
@@ -56929,10 +56938,10 @@ const lce = ({
|
|
|
56929
56938
|
"aria-label": Z ? Z.label : b.audioPlayer.details,
|
|
56930
56939
|
initial: !1,
|
|
56931
56940
|
animate: {
|
|
56932
|
-
height:
|
|
56933
|
-
marginTop:
|
|
56934
|
-
opacity:
|
|
56935
|
-
visibility:
|
|
56941
|
+
height: he ? "auto" : 0,
|
|
56942
|
+
marginTop: he ? 0 : "-0.625rem",
|
|
56943
|
+
opacity: he ? 1 : 0,
|
|
56944
|
+
visibility: he ? "visible" : "hidden"
|
|
56936
56945
|
},
|
|
56937
56946
|
transition: {
|
|
56938
56947
|
duration: C ? 0 : 0.15,
|
|
@@ -57135,7 +57144,7 @@ const Bge = yt(
|
|
|
57135
57144
|
"critical",
|
|
57136
57145
|
"positive"
|
|
57137
57146
|
], rx = ({ count: r, list: e }) => {
|
|
57138
|
-
const [t, n] =
|
|
57147
|
+
const [t, n] = ve(!1), i = /* @__PURE__ */ x(tv, { label: `+${r}` });
|
|
57139
57148
|
return e?.length ? /* @__PURE__ */ B(Pf, { open: t, onOpenChange: n, children: [
|
|
57140
57149
|
/* @__PURE__ */ x(kf, { asChild: !0, children: /* @__PURE__ */ x("button", { className: _n("inline-flex flex-shrink-0 items-center"), children: i }) }),
|
|
57141
57150
|
/* @__PURE__ */ x(
|
|
@@ -57249,7 +57258,7 @@ const Vge = yt(
|
|
|
57249
57258
|
container: m,
|
|
57250
57259
|
onWidthChange: y
|
|
57251
57260
|
}) => {
|
|
57252
|
-
const [b, _] =
|
|
57261
|
+
const [b, _] = ve(t);
|
|
57253
57262
|
Te(() => {
|
|
57254
57263
|
_(t);
|
|
57255
57264
|
}, [t]);
|
|
@@ -57326,7 +57335,7 @@ function NF({
|
|
|
57326
57335
|
applyButtonLabel: s,
|
|
57327
57336
|
dataTestId: l
|
|
57328
57337
|
}) {
|
|
57329
|
-
const u = Be(), c = Object.keys(r)[0] ?? null, [f, d] =
|
|
57338
|
+
const u = Be(), c = Object.keys(r)[0] ?? null, [f, d] = ve(c), [h, v] = ve(e);
|
|
57330
57339
|
Te(() => {
|
|
57331
57340
|
v(e);
|
|
57332
57341
|
}, [e]), Te(() => {
|
|
@@ -57415,7 +57424,7 @@ const Yge = NF, wce = ({
|
|
|
57415
57424
|
), Sce = 200, Cce = async (r) => Promise.resolve(
|
|
57416
57425
|
typeof r.value == "function" ? await r.value() : r.value
|
|
57417
57426
|
), Tce = ({ items: r }) => {
|
|
57418
|
-
const [e, t] =
|
|
57427
|
+
const [e, t] = ve({}), [n, i] = ve(r), a = ce(r), o = ce(/* @__PURE__ */ new Map());
|
|
57419
57428
|
Te(() => {
|
|
57420
57429
|
const d = new Set(r.map((v) => v.id)), h = a.current;
|
|
57421
57430
|
a.current = r;
|
|
@@ -57549,7 +57558,7 @@ const Yge = NF, wce = ({
|
|
|
57549
57558
|
io.subscribe,
|
|
57550
57559
|
io.getSnapshot,
|
|
57551
57560
|
io.getServerSnapshot
|
|
57552
|
-
), t = Be(), [n, i] =
|
|
57561
|
+
), t = Be(), [n, i] = ve(null);
|
|
57553
57562
|
Te(() => {
|
|
57554
57563
|
const s = io.acquireRenderer();
|
|
57555
57564
|
return i(s.id), s.release;
|
|
@@ -57575,7 +57584,7 @@ const Yge = NF, wce = ({
|
|
|
57575
57584
|
Ns.subscribe,
|
|
57576
57585
|
Ns.getSnapshot,
|
|
57577
57586
|
Ns.getServerSnapshot
|
|
57578
|
-
), [t, n] =
|
|
57587
|
+
), [t, n] = ve(null);
|
|
57579
57588
|
Te(() => {
|
|
57580
57589
|
const o = Ns.acquireRenderer();
|
|
57581
57590
|
return n(o.id), o.release;
|
|
@@ -57590,7 +57599,7 @@ const Yge = NF, wce = ({
|
|
|
57590
57599
|
r
|
|
57591
57600
|
] });
|
|
57592
57601
|
}, Ece = ({ items: r }) => {
|
|
57593
|
-
const [e, t] =
|
|
57602
|
+
const [e, t] = ve(r), n = ce(r), i = ce(/* @__PURE__ */ new Map());
|
|
57594
57603
|
Te(() => {
|
|
57595
57604
|
const o = new Set(r.map((l) => l.id)), s = n.current;
|
|
57596
57605
|
n.current = r;
|
|
@@ -57879,17 +57888,17 @@ function Vce({
|
|
|
57879
57888
|
autoCloseOnLastStepSubmit: a = !1,
|
|
57880
57889
|
onClose: o
|
|
57881
57890
|
}) {
|
|
57882
|
-
const [s, l] =
|
|
57891
|
+
const [s, l] = ve(e), [u, c] = ve(!1), f = ce(r);
|
|
57883
57892
|
f.current = r;
|
|
57884
|
-
const d =
|
|
57893
|
+
const d = de(
|
|
57885
57894
|
(m) => {
|
|
57886
57895
|
l(m), n?.(m);
|
|
57887
57896
|
},
|
|
57888
57897
|
[n]
|
|
57889
|
-
), h =
|
|
57898
|
+
), h = de(
|
|
57890
57899
|
(m) => m < 0 || m >= f.current.length || f.current[s]?.hasErrors?.() === !0 || !i && m > s + 1 || m > s && f.current.slice(s, m).some((b) => b.hasErrors?.() === !0) ? !1 : f.current.slice(0, m).every((y) => y.isCompleted?.() !== !1),
|
|
57891
57900
|
[s, i]
|
|
57892
|
-
), v =
|
|
57901
|
+
), v = de(
|
|
57893
57902
|
async (m) => {
|
|
57894
57903
|
if (h(m)) {
|
|
57895
57904
|
if (m > s) {
|
|
@@ -57910,7 +57919,7 @@ function Vce({
|
|
|
57910
57919
|
}
|
|
57911
57920
|
},
|
|
57912
57921
|
[d, s, h]
|
|
57913
|
-
), p =
|
|
57922
|
+
), p = de(async () => {
|
|
57914
57923
|
const m = f.current[s];
|
|
57915
57924
|
if (m) {
|
|
57916
57925
|
c(!0);
|
|
@@ -57921,7 +57930,7 @@ function Vce({
|
|
|
57921
57930
|
c(!1);
|
|
57922
57931
|
}
|
|
57923
57932
|
}
|
|
57924
|
-
}, [s, t, d, a, o]), g =
|
|
57933
|
+
}, [s, t, d, a, o]), g = de(() => {
|
|
57925
57934
|
s > 0 && d(s - 1);
|
|
57926
57935
|
}, [s, d]);
|
|
57927
57936
|
return {
|
|
@@ -58058,11 +58067,11 @@ function kF(r, e, t) {
|
|
|
58058
58067
|
}
|
|
58059
58068
|
const Hce = 3e3;
|
|
58060
58069
|
function RF() {
|
|
58061
|
-
const { forms: r } = Be(), [e, t] =
|
|
58070
|
+
const { forms: r } = Be(), [e, t] = ve("idle"), [n, i] = ve(), a = ce(null);
|
|
58062
58071
|
Te(() => () => {
|
|
58063
58072
|
a.current && clearTimeout(a.current);
|
|
58064
58073
|
}, []);
|
|
58065
|
-
const o =
|
|
58074
|
+
const o = de((u) => {
|
|
58066
58075
|
a.current && (clearTimeout(a.current), a.current = null), i(u), t("success"), a.current = setTimeout(() => {
|
|
58067
58076
|
t("idle"), i(void 0), a.current = null;
|
|
58068
58077
|
}, Hce);
|
|
@@ -58147,27 +58156,27 @@ function Wce({
|
|
|
58147
58156
|
nextLabel: Z.nextLabel,
|
|
58148
58157
|
previousLabel: Z.previousLabel
|
|
58149
58158
|
}))
|
|
58150
|
-
)) : D : void 0, [D, y]), M =
|
|
58159
|
+
)) : D : void 0, [D, y]), M = ce({}), I = ce(s ?? 0), E = _e(
|
|
58151
58160
|
() => Object.fromEntries(T.map((U) => [U, null])),
|
|
58152
58161
|
[T]
|
|
58153
|
-
), [N, k] =
|
|
58162
|
+
), [N, k] = ve({}), P = ce(N);
|
|
58154
58163
|
P.current = N;
|
|
58155
|
-
const O =
|
|
58164
|
+
const O = de(
|
|
58156
58165
|
(U) => U.every((Z) => {
|
|
58157
58166
|
const J = m[Z];
|
|
58158
58167
|
return J ? PF(J) : !1;
|
|
58159
58168
|
}),
|
|
58160
58169
|
[m]
|
|
58161
|
-
), R =
|
|
58170
|
+
), R = de(
|
|
58162
58171
|
(U) => async () => {
|
|
58163
58172
|
const Z = Mc(U, T, A);
|
|
58164
58173
|
for (const J of Z) {
|
|
58165
|
-
const
|
|
58166
|
-
|
|
58174
|
+
const he = E[J];
|
|
58175
|
+
he && await he.submit();
|
|
58167
58176
|
}
|
|
58168
58177
|
},
|
|
58169
58178
|
[T, A, E]
|
|
58170
|
-
), z =
|
|
58179
|
+
), z = de(
|
|
58171
58180
|
(U) => Mc(U, T, A).some((J) => P.current[J] === !0),
|
|
58172
58181
|
[T, A]
|
|
58173
58182
|
), V = _e(
|
|
@@ -58176,17 +58185,17 @@ function Wce({
|
|
|
58176
58185
|
sectionIds: [U]
|
|
58177
58186
|
})),
|
|
58178
58187
|
[A, T, y]
|
|
58179
|
-
), G =
|
|
58188
|
+
), G = de(
|
|
58180
58189
|
(U) => {
|
|
58181
58190
|
if (!v)
|
|
58182
58191
|
return !1;
|
|
58183
58192
|
const Z = V[U];
|
|
58184
58193
|
return Z ? Z.sectionIds.every((J) => {
|
|
58185
|
-
const
|
|
58186
|
-
if (!
|
|
58194
|
+
const he = m[J];
|
|
58195
|
+
if (!he)
|
|
58187
58196
|
return !1;
|
|
58188
58197
|
const Se = b?.[J] ?? M.current[J];
|
|
58189
|
-
return kF(
|
|
58198
|
+
return kF(he, Se, Z.isCompleted);
|
|
58190
58199
|
}) : !1;
|
|
58191
58200
|
},
|
|
58192
58201
|
[v, V, m, b]
|
|
@@ -58221,7 +58230,7 @@ function Wce({
|
|
|
58221
58230
|
v,
|
|
58222
58231
|
G
|
|
58223
58232
|
]
|
|
58224
|
-
), q =
|
|
58233
|
+
), q = ce(null), { showSuccess: ie, ActionBar: te } = RF(), se = de(
|
|
58225
58234
|
(U) => async (Z) => {
|
|
58226
58235
|
M.current[U] = Z;
|
|
58227
58236
|
const J = await _({
|
|
@@ -58232,7 +58241,7 @@ function Wce({
|
|
|
58232
58241
|
return q.current = J, J.success && J.message && ie(J.message), J;
|
|
58233
58242
|
},
|
|
58234
58243
|
[_, ie]
|
|
58235
|
-
), j =
|
|
58244
|
+
), j = de(() => {
|
|
58236
58245
|
if (q.current?.success) {
|
|
58237
58246
|
if (h) {
|
|
58238
58247
|
const Z = h({
|
|
@@ -58243,7 +58252,7 @@ function Wce({
|
|
|
58243
58252
|
}
|
|
58244
58253
|
d && n?.();
|
|
58245
58254
|
}
|
|
58246
|
-
}, [d, h, n]), Y =
|
|
58255
|
+
}, [d, h, n]), Y = de(() => {
|
|
58247
58256
|
const U = Mc(
|
|
58248
58257
|
I.current,
|
|
58249
58258
|
T,
|
|
@@ -58253,7 +58262,7 @@ function Wce({
|
|
|
58253
58262
|
const J = E[Z];
|
|
58254
58263
|
J && (M.current[Z] = J.getValues());
|
|
58255
58264
|
}
|
|
58256
|
-
}, [T, A, E]), re =
|
|
58265
|
+
}, [T, A, E]), re = de(
|
|
58257
58266
|
(U) => {
|
|
58258
58267
|
Y(), I.current = U, c?.(U);
|
|
58259
58268
|
},
|
|
@@ -58282,8 +58291,8 @@ function Wce({
|
|
|
58282
58291
|
);
|
|
58283
58292
|
return /* @__PURE__ */ B(nt, { children: [
|
|
58284
58293
|
/* @__PURE__ */ x("div", { className: "flex flex-col gap-6 pb-5", children: Z.map((J) => {
|
|
58285
|
-
const
|
|
58286
|
-
if (!
|
|
58294
|
+
const he = m[J];
|
|
58295
|
+
if (!he)
|
|
58287
58296
|
return null;
|
|
58288
58297
|
const Se = y?.[J], Le = M.current[J], Ze = b?.[J];
|
|
58289
58298
|
return /* @__PURE__ */ x(
|
|
@@ -58291,7 +58300,7 @@ function Wce({
|
|
|
58291
58300
|
{
|
|
58292
58301
|
sectionId: J,
|
|
58293
58302
|
formName: g,
|
|
58294
|
-
schema:
|
|
58303
|
+
schema: he,
|
|
58295
58304
|
sectionConfig: Se,
|
|
58296
58305
|
defaultValues: Le ?? Ze,
|
|
58297
58306
|
onSubmit: se(J),
|
|
@@ -58331,7 +58340,7 @@ function $ce({
|
|
|
58331
58340
|
Te(() => (l[r] = d, () => {
|
|
58332
58341
|
l[r] = null;
|
|
58333
58342
|
}), [l, r, d]);
|
|
58334
|
-
const h =
|
|
58343
|
+
const h = ce(u);
|
|
58335
58344
|
return h.current = u, Te(() => {
|
|
58336
58345
|
h.current(d.hasErrors);
|
|
58337
58346
|
}, [d.hasErrors]), /* @__PURE__ */ x(
|
|
@@ -58383,20 +58392,20 @@ function Uce({
|
|
|
58383
58392
|
} = r, C = w?.label, T = _e(() => iu(m), [m]), D = _e(
|
|
58384
58393
|
() => Gce(m, y),
|
|
58385
58394
|
[m, y]
|
|
58386
|
-
), A =
|
|
58395
|
+
), A = de(
|
|
58387
58396
|
(j) => {
|
|
58388
58397
|
const Y = f0(T, j);
|
|
58389
58398
|
return PF(Y);
|
|
58390
58399
|
},
|
|
58391
58400
|
[T]
|
|
58392
|
-
), M = Dx(), I =
|
|
58401
|
+
), M = Dx(), I = ce(
|
|
58393
58402
|
b ? { ...b } : {}
|
|
58394
|
-
), E =
|
|
58403
|
+
), E = ce(s ?? 0), N = de(
|
|
58395
58404
|
(j) => async () => {
|
|
58396
58405
|
await M.submit();
|
|
58397
58406
|
},
|
|
58398
58407
|
[M]
|
|
58399
|
-
), k =
|
|
58408
|
+
), k = de(
|
|
58400
58409
|
(j) => M.hasErrors,
|
|
58401
58410
|
[M.hasErrors]
|
|
58402
58411
|
), P = e ?? r.steps, O = _e(
|
|
@@ -58405,7 +58414,7 @@ function Uce({
|
|
|
58405
58414
|
sectionIds: [j]
|
|
58406
58415
|
})),
|
|
58407
58416
|
[P, D, y]
|
|
58408
|
-
), R =
|
|
58417
|
+
), R = de(
|
|
58409
58418
|
(j) => {
|
|
58410
58419
|
if (!v)
|
|
58411
58420
|
return !1;
|
|
@@ -58448,7 +58457,7 @@ function Uce({
|
|
|
58448
58457
|
v,
|
|
58449
58458
|
R
|
|
58450
58459
|
]
|
|
58451
|
-
), G =
|
|
58460
|
+
), G = ce(null), H = ce(null), { showSuccess: $, ActionBar: q } = RF(), ie = de(
|
|
58452
58461
|
async (j) => {
|
|
58453
58462
|
Object.assign(I.current, j);
|
|
58454
58463
|
const Y = { ...I.current };
|
|
@@ -58457,7 +58466,7 @@ function Uce({
|
|
|
58457
58466
|
return G.current = re, re;
|
|
58458
58467
|
},
|
|
58459
58468
|
[_]
|
|
58460
|
-
), te =
|
|
58469
|
+
), te = de(() => {
|
|
58461
58470
|
const j = G.current;
|
|
58462
58471
|
if (j?.success) {
|
|
58463
58472
|
if ($(j.message), h) {
|
|
@@ -58469,7 +58478,7 @@ function Uce({
|
|
|
58469
58478
|
}
|
|
58470
58479
|
d && n?.();
|
|
58471
58480
|
}
|
|
58472
|
-
}, [d, h, n, $]), se =
|
|
58481
|
+
}, [d, h, n, $]), se = de(
|
|
58473
58482
|
(j) => {
|
|
58474
58483
|
const Y = M.getValues();
|
|
58475
58484
|
Object.assign(I.current, Y), E.current = j, c?.(j);
|
|
@@ -58563,7 +58572,7 @@ function qce({
|
|
|
58563
58572
|
isOpen: e,
|
|
58564
58573
|
onResolve: t
|
|
58565
58574
|
}) {
|
|
58566
|
-
const { formDefinition: n, onStepChanged: i, ...a } = r, o =
|
|
58575
|
+
const { formDefinition: n, onStepChanged: i, ...a } = r, o = ce(!1), s = ce(void 0), l = _e(
|
|
58567
58576
|
() => Xce(n, (d) => {
|
|
58568
58577
|
o.current = !0, s.current = d;
|
|
58569
58578
|
}),
|
|
@@ -58712,19 +58721,19 @@ const Zge = { open: jce }, Kce = ({
|
|
|
58712
58721
|
prop: c,
|
|
58713
58722
|
defaultProp: f ?? v,
|
|
58714
58723
|
onChange: d
|
|
58715
|
-
}), I = A ?? v, E = Math.min(p, Math.max(v, I)), N = p !== v ? (E - v) / (p - v) * 100 : 0, k = d0 * (0.5 - N / 100), P =
|
|
58724
|
+
}), I = A ?? v, E = Math.min(p, Math.max(v, I)), N = p !== v ? (E - v) / (p - v) * 100 : 0, k = d0 * (0.5 - N / 100), P = de(
|
|
58716
58725
|
(re) => {
|
|
58717
58726
|
const [U] = re;
|
|
58718
58727
|
U !== void 0 && M(U);
|
|
58719
58728
|
},
|
|
58720
58729
|
[M]
|
|
58721
|
-
), O =
|
|
58730
|
+
), O = de(
|
|
58722
58731
|
(re) => {
|
|
58723
58732
|
const [U] = re;
|
|
58724
58733
|
U !== void 0 && h?.(U);
|
|
58725
58734
|
},
|
|
58726
58735
|
[h]
|
|
58727
|
-
), [R, z] =
|
|
58736
|
+
), [R, z] = ve(!1), [V, G] = ve(!1), [H, $] = ve(!1), q = ce(!1), ie = _ === "always" || _ === "onHover" && (R || V || H), te = o?.type ?? "default", se = !i && t.trim().length > 0, j = o ?? (a ? { type: "default", message: a } : void 0), Y = a || o?.message ? T : void 0;
|
|
58728
58737
|
return /* @__PURE__ */ B(
|
|
58729
58738
|
"div",
|
|
58730
58739
|
{
|
|
@@ -59241,10 +59250,10 @@ function mfe({
|
|
|
59241
59250
|
}
|
|
59242
59251
|
const v0 = "[role='menu']";
|
|
59243
59252
|
function yfe(r, e) {
|
|
59244
|
-
const t =
|
|
59253
|
+
const t = ce(null), n = de(() => {
|
|
59245
59254
|
t.current?.(), t.current = null;
|
|
59246
59255
|
}, []);
|
|
59247
|
-
return Te(() => n, [n]), { deferClose:
|
|
59256
|
+
return Te(() => n, [n]), { deferClose: de(() => {
|
|
59248
59257
|
if (!document.querySelector(v0))
|
|
59249
59258
|
return !1;
|
|
59250
59259
|
n();
|
|
@@ -59290,9 +59299,9 @@ function HF({
|
|
|
59290
59299
|
variant: c = "light",
|
|
59291
59300
|
portalContainer: f
|
|
59292
59301
|
}) {
|
|
59293
|
-
const [d, h] =
|
|
59302
|
+
const [d, h] = ve(!1), v = ce(!1), p = ce(null), { deferClose: g } = yfe(p, () => h(!1)), m = (b) => {
|
|
59294
59303
|
!b && g() || (b && !d && (v.current = !0), h(b));
|
|
59295
|
-
}, y =
|
|
59304
|
+
}, y = de((b) => {
|
|
59296
59305
|
p.current = b, !(!b || !v.current) && (v.current = !1, requestAnimationFrame(() => {
|
|
59297
59306
|
b.querySelector("[data-active]")?.scrollIntoView({ block: "center", behavior: "smooth" });
|
|
59298
59307
|
}));
|
|
@@ -59519,15 +59528,15 @@ function fS({
|
|
|
59519
59528
|
labels: d,
|
|
59520
59529
|
skipDefaultSection: h
|
|
59521
59530
|
}) {
|
|
59522
|
-
const v =
|
|
59531
|
+
const v = ce(r);
|
|
59523
59532
|
v.current = r;
|
|
59524
|
-
const p =
|
|
59533
|
+
const p = ce(a);
|
|
59525
59534
|
p.current = a;
|
|
59526
59535
|
const g = _e(() => {
|
|
59527
59536
|
const N = r[r.length - 1];
|
|
59528
59537
|
if (N)
|
|
59529
59538
|
return N.type === "section" ? N.section.id : N.question.id;
|
|
59530
|
-
}, [r]), m =
|
|
59539
|
+
}, [r]), m = de((N) => {
|
|
59531
59540
|
const k = N.id, P = v.current.map((O) => {
|
|
59532
59541
|
if (O.type === "question")
|
|
59533
59542
|
return O.question.id === k ? {
|
|
@@ -59555,7 +59564,7 @@ function fS({
|
|
|
59555
59564
|
return O;
|
|
59556
59565
|
});
|
|
59557
59566
|
p.current(P);
|
|
59558
|
-
}, []), y =
|
|
59567
|
+
}, []), y = de((N) => {
|
|
59559
59568
|
const k = N.id, P = v.current.map((O) => O.type === "section" && O.section.id === k ? {
|
|
59560
59569
|
...O,
|
|
59561
59570
|
section: {
|
|
@@ -59564,7 +59573,7 @@ function fS({
|
|
|
59564
59573
|
}
|
|
59565
59574
|
} : O);
|
|
59566
59575
|
p.current(P);
|
|
59567
|
-
}, []), b =
|
|
59576
|
+
}, []), b = de(
|
|
59568
59577
|
({
|
|
59569
59578
|
element: N,
|
|
59570
59579
|
afterId: k
|
|
@@ -59594,7 +59603,7 @@ function fS({
|
|
|
59594
59603
|
}), p.current(P);
|
|
59595
59604
|
},
|
|
59596
59605
|
[]
|
|
59597
|
-
), _ =
|
|
59606
|
+
), _ = de(
|
|
59598
59607
|
({ type: N, afterId: k, datasetKey: P }) => {
|
|
59599
59608
|
if ((N === "dropdown-single" || N === "dropdown-multi") && !P)
|
|
59600
59609
|
throw new Error(`${N} questions require a datasetKey`);
|
|
@@ -59633,7 +59642,7 @@ function fS({
|
|
|
59633
59642
|
b({ element: z, afterId: k });
|
|
59634
59643
|
},
|
|
59635
59644
|
[b, o]
|
|
59636
|
-
), w =
|
|
59645
|
+
), w = de(
|
|
59637
59646
|
({ elementId: N }) => {
|
|
59638
59647
|
const P = v.current.flatMap(
|
|
59639
59648
|
(R) => R.type === "section" ? [R, ...R.section.questions ?? []] : [R.question]
|
|
@@ -59653,9 +59662,9 @@ function fS({
|
|
|
59653
59662
|
}), O && b({ element: O, afterId: N });
|
|
59654
59663
|
},
|
|
59655
59664
|
[b]
|
|
59656
|
-
), S =
|
|
59665
|
+
), S = de((N) => v.current.flatMap(
|
|
59657
59666
|
(P) => P.type === "question" ? [P.question] : P.section.questions ?? []
|
|
59658
|
-
).find((P) => P?.id === N), []), C =
|
|
59667
|
+
).find((P) => P?.id === N), []), C = de((N) => {
|
|
59659
59668
|
let k = v.current.filter((P) => P.type === "section" ? P.section.id !== N : P.type === "question" ? P.question.id !== N : !0);
|
|
59660
59669
|
k.length === v.current.length && (k = k.map((P) => P.type === "section" ? {
|
|
59661
59670
|
...P,
|
|
@@ -59666,23 +59675,23 @@ function fS({
|
|
|
59666
59675
|
)
|
|
59667
59676
|
}
|
|
59668
59677
|
} : P)), p.current(k);
|
|
59669
|
-
}, []), T =
|
|
59678
|
+
}, []), T = de((N) => {
|
|
59670
59679
|
const k = v.current.find((P) => P.type === "section" ? P.section.questions?.some(
|
|
59671
59680
|
(O) => O.id === N
|
|
59672
59681
|
) : !1);
|
|
59673
59682
|
return k?.type === "section" && k?.section.questions?.length === 1;
|
|
59674
|
-
}, []), D =
|
|
59683
|
+
}, []), D = de((N) => {
|
|
59675
59684
|
const k = v.current.find((P) => P.type === "section" ? P.section.questions?.some(
|
|
59676
59685
|
(O) => O.id === N
|
|
59677
59686
|
) : !1);
|
|
59678
59687
|
return k?.type === "section" ? k.section : void 0;
|
|
59679
|
-
}, []), A =
|
|
59688
|
+
}, []), A = ce(!0), M = !r.length;
|
|
59680
59689
|
Te(() => {
|
|
59681
59690
|
A.current && (A.current = !1, M && !t && !n && !h && _({
|
|
59682
59691
|
type: "section"
|
|
59683
59692
|
}));
|
|
59684
59693
|
}, [M, _, t, n, h]);
|
|
59685
|
-
const I =
|
|
59694
|
+
const I = de(
|
|
59686
59695
|
(N) => N === "file" && !u ? !1 : !o || o.includes(N),
|
|
59687
59696
|
[o, u]
|
|
59688
59697
|
), E = _e(
|
|
@@ -59741,7 +59750,7 @@ function Ot() {
|
|
|
59741
59750
|
}
|
|
59742
59751
|
const YF = na(void 0);
|
|
59743
59752
|
function dS({ children: r }) {
|
|
59744
|
-
const [e, t] =
|
|
59753
|
+
const [e, t] = ve(!1), [n, i] = ve(null);
|
|
59745
59754
|
return /* @__PURE__ */ x(
|
|
59746
59755
|
YF.Provider,
|
|
59747
59756
|
{
|
|
@@ -59842,7 +59851,7 @@ const hS = () => {
|
|
|
59842
59851
|
onAddNewElement: t,
|
|
59843
59852
|
isQuestionTypeAllowed: n,
|
|
59844
59853
|
labels: i
|
|
59845
|
-
} = Ot(), [a, o] =
|
|
59854
|
+
} = Ot(), [a, o] = ve(!1), s = hS(), { t: l } = Be(), u = i?.addQuestion ?? l("surveyFormBuilder.actions.addQuestion"), c = (v, p) => {
|
|
59846
59855
|
t?.({ type: v, datasetKey: p });
|
|
59847
59856
|
}, f = () => {
|
|
59848
59857
|
t?.({ type: "section" });
|
|
@@ -59971,7 +59980,7 @@ function XF() {
|
|
|
59971
59980
|
disallowOptionalQuestions: i,
|
|
59972
59981
|
datasets: a
|
|
59973
59982
|
} = Ot(), o = hS();
|
|
59974
|
-
return { getActionsForQuestion:
|
|
59983
|
+
return { getActionsForQuestion: de(
|
|
59975
59984
|
(l, u, c) => {
|
|
59976
59985
|
const f = e(l), d = f && "datasetKey" in f && typeof f.datasetKey == "string" ? f.datasetKey : void 0, h = Nfe(u, f), v = (T) => {
|
|
59977
59986
|
r?.({
|
|
@@ -60369,7 +60378,7 @@ const jN = ({
|
|
|
60369
60378
|
isQuestionTypeAllowed: g,
|
|
60370
60379
|
placeholders: m,
|
|
60371
60380
|
labels: y
|
|
60372
|
-
} = Ot(), b = p(r), _ = !!b?.locked || !!s, w = _ || !!l?.includes("title"), S = _ || !!l?.includes("description"), C = !_ && (w || S), T = !!b, [D, A] =
|
|
60381
|
+
} = Ot(), b = p(r), _ = !!b?.locked || !!s, w = _ || !!l?.includes("title"), S = _ || !!l?.includes("description"), C = !_ && (w || S), T = !!b, [D, A] = ve(!1), [M, I] = ve(!1), { isDragging: E } = Mu(), { t: N } = Be(), k = m?.questionTitle ?? N("surveyFormBuilder.labels.titlePlaceholder"), P = y?.addQuestion ?? N("surveyFormBuilder.actions.addQuestion"), O = m?.questionDescription ?? N("surveyFormBuilder.labels.questionDescriptionPlaceholder"), R = (J) => {
|
|
60373
60382
|
c?.({
|
|
60374
60383
|
id: r,
|
|
60375
60384
|
type: a,
|
|
@@ -60381,11 +60390,11 @@ const jN = ({
|
|
|
60381
60390
|
type: a,
|
|
60382
60391
|
description: J.target.value
|
|
60383
60392
|
});
|
|
60384
|
-
}, V = (J,
|
|
60393
|
+
}, V = (J, he) => {
|
|
60385
60394
|
f?.({
|
|
60386
60395
|
type: J,
|
|
60387
60396
|
afterId: r,
|
|
60388
|
-
datasetKey:
|
|
60397
|
+
datasetKey: he
|
|
60389
60398
|
});
|
|
60390
60399
|
}, G = () => {
|
|
60391
60400
|
f?.({
|
|
@@ -60396,7 +60405,7 @@ const jN = ({
|
|
|
60396
60405
|
new Set(
|
|
60397
60406
|
H.filter((J) => !!J.datasetKey).map((J) => J.datasetKey)
|
|
60398
60407
|
)
|
|
60399
|
-
), ie = v(r), te =
|
|
60408
|
+
), ie = v(r), te = ce(null), se = ce(!ie);
|
|
60400
60409
|
Te(() => {
|
|
60401
60410
|
se.current && te.current?.focus({ preventScroll: !0 });
|
|
60402
60411
|
}, []);
|
|
@@ -60596,13 +60605,13 @@ const jN = ({
|
|
|
60596
60605
|
q.length > 0 ? /* @__PURE__ */ B(nt, { children: [
|
|
60597
60606
|
/* @__PURE__ */ x(Ga, {}),
|
|
60598
60607
|
q.map((J) => {
|
|
60599
|
-
const
|
|
60608
|
+
const he = H.find(
|
|
60600
60609
|
(Se) => Se.datasetKey === J && Se.questionType === "dropdown-single"
|
|
60601
60610
|
);
|
|
60602
60611
|
return /* @__PURE__ */ B(_l, { children: [
|
|
60603
60612
|
/* @__PURE__ */ x(xl, { className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover", children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2", children: [
|
|
60604
|
-
|
|
60605
|
-
/* @__PURE__ */ x("span", { className: "flex-1 text-base font-medium", children:
|
|
60613
|
+
he ? /* @__PURE__ */ x(ut, { icon: he.icon, color: "default" }) : null,
|
|
60614
|
+
/* @__PURE__ */ x("span", { className: "flex-1 text-base font-medium", children: he?.label ?? J })
|
|
60606
60615
|
] }) }),
|
|
60607
60616
|
/* @__PURE__ */ x(wl, { children: /* @__PURE__ */ B(Sl, { children: [
|
|
60608
60617
|
g("dropdown-single") ? /* @__PURE__ */ x(
|
|
@@ -60903,7 +60912,7 @@ const jN = ({
|
|
|
60903
60912
|
disabled: i,
|
|
60904
60913
|
isEmojiMode: a = !1
|
|
60905
60914
|
}) => {
|
|
60906
|
-
const { value: o, label: s } = r, [l, u] =
|
|
60915
|
+
const { value: o, label: s } = r, [l, u] = ve(!1);
|
|
60907
60916
|
Te(() => {
|
|
60908
60917
|
i && u(!1);
|
|
60909
60918
|
}, [i]);
|
|
@@ -61529,7 +61538,7 @@ const qfe = ({
|
|
|
61529
61538
|
deleteElement: c,
|
|
61530
61539
|
onDuplicateElement: f,
|
|
61531
61540
|
placeholders: d
|
|
61532
|
-
} = Ot(), [h, v] =
|
|
61541
|
+
} = Ot(), [h, v] = ve(!1), { t: p } = Be(), g = d?.sectionTitle ?? p("surveyFormBuilder.labels.sectionTitlePlaceholder"), m = _e(
|
|
61533
61542
|
() => ({
|
|
61534
61543
|
id: r,
|
|
61535
61544
|
title: e,
|
|
@@ -61561,7 +61570,7 @@ const qfe = ({
|
|
|
61561
61570
|
onClick: S,
|
|
61562
61571
|
critical: !0
|
|
61563
61572
|
}
|
|
61564
|
-
], T = l || a || u, D = !T || !!e, A = !T || !!t, M =
|
|
61573
|
+
], T = l || a || u, D = !T || !!e, A = !T || !!t, M = ce(null);
|
|
61565
61574
|
Te(() => {
|
|
61566
61575
|
M.current?.focus({ preventScroll: !0 });
|
|
61567
61576
|
}, []);
|
|
@@ -61749,9 +61758,9 @@ const qfe = ({
|
|
|
61749
61758
|
questionTypeLabel: c,
|
|
61750
61759
|
singleSelectionLabel: f,
|
|
61751
61760
|
multiSelectionLabel: d
|
|
61752
|
-
} = e, { deleteElement: h, onDuplicateElement: v, disabled: p, answering: g } = Ot(), { getActionsForQuestion: m, questionTypes: y } = XF(), b =
|
|
61761
|
+
} = e, { deleteElement: h, onDuplicateElement: v, disabled: p, answering: g } = Ot(), { getActionsForQuestion: m, questionTypes: y } = XF(), b = de((w) => {
|
|
61753
61762
|
Jfe(w);
|
|
61754
|
-
}, []), _ =
|
|
61763
|
+
}, []), _ = de(
|
|
61755
61764
|
(w, S, C) => {
|
|
61756
61765
|
const {
|
|
61757
61766
|
question: T,
|
|
@@ -61984,7 +61993,7 @@ const JF = ({
|
|
|
61984
61993
|
questionTypeLabel: a?.questionType ?? n("surveyFormBuilder.labels.questionType"),
|
|
61985
61994
|
singleSelectionLabel: n("surveyFormBuilder.labels.singleSelection"),
|
|
61986
61995
|
multiSelectionLabel: n("surveyFormBuilder.labels.multiSelection")
|
|
61987
|
-
}), l =
|
|
61996
|
+
}), l = de(
|
|
61988
61997
|
(u) => {
|
|
61989
61998
|
e(tde(u, r));
|
|
61990
61999
|
},
|
|
@@ -62092,9 +62101,9 @@ function ade({
|
|
|
62092
62101
|
flatItems: r,
|
|
62093
62102
|
onChange: e
|
|
62094
62103
|
}) {
|
|
62095
|
-
const [t, n] =
|
|
62104
|
+
const [t, n] = ve(
|
|
62096
62105
|
null
|
|
62097
|
-
), [i, a] =
|
|
62106
|
+
), [i, a] = ve(!1), o = de(
|
|
62098
62107
|
(u) => {
|
|
62099
62108
|
const c = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Set();
|
|
62100
62109
|
let d = null;
|
|
@@ -62165,7 +62174,7 @@ function ade({
|
|
|
62165
62174
|
e(QN(_));
|
|
62166
62175
|
},
|
|
62167
62176
|
[e, r]
|
|
62168
|
-
), s =
|
|
62177
|
+
), s = de(() => {
|
|
62169
62178
|
if (t) {
|
|
62170
62179
|
const u = /* @__PURE__ */ new Set();
|
|
62171
62180
|
for (let f = 0; f < t.length; f++) {
|
|
@@ -62179,7 +62188,7 @@ function ade({
|
|
|
62179
62188
|
e(QN(c));
|
|
62180
62189
|
}
|
|
62181
62190
|
a(!1), n(null);
|
|
62182
|
-
}, [t, e]), l =
|
|
62191
|
+
}, [t, e]), l = de(() => {
|
|
62183
62192
|
a(!1), n(null);
|
|
62184
62193
|
}, []);
|
|
62185
62194
|
return {
|
|
@@ -62564,13 +62573,13 @@ function vde() {
|
|
|
62564
62573
|
);
|
|
62565
62574
|
}
|
|
62566
62575
|
function pde(r) {
|
|
62567
|
-
const [e, t] =
|
|
62576
|
+
const [e, t] = ve(0), [n, i] = ve(null), a = r.length, o = a > 0 ? e / a * 100 : 0, s = n ?? o, l = r[e], u = e === 0, c = e === a - 1, f = de(() => {
|
|
62568
62577
|
i(null), t((p) => Math.min(p + 1, a - 1));
|
|
62569
|
-
}, [a]), d =
|
|
62578
|
+
}, [a]), d = de(() => {
|
|
62570
62579
|
i(null), t((p) => Math.max(p - 1, 0));
|
|
62571
|
-
}, []), h =
|
|
62580
|
+
}, []), h = de(() => {
|
|
62572
62581
|
i(null), t(0);
|
|
62573
|
-
}, []), v =
|
|
62582
|
+
}, []), v = de((p) => {
|
|
62574
62583
|
i(p);
|
|
62575
62584
|
}, []);
|
|
62576
62585
|
return {
|
|
@@ -63231,7 +63240,7 @@ function Tde({
|
|
|
63231
63240
|
useUpload: g,
|
|
63232
63241
|
datasets: m
|
|
63233
63242
|
}) {
|
|
63234
|
-
const { t: y } = Be(), b = l === "fullscreen", _ = l === "fullscreen" ? "center" : l, [w, S] =
|
|
63243
|
+
const { t: y } = Be(), b = l === "fullscreen", _ = l === "fullscreen" ? "center" : l, [w, S] = ve(b), { formRef: C, submit: T, isSubmitting: D, hasErrors: A } = Dx(), M = ce({}), I = _e(
|
|
63235
63244
|
() => pS(r),
|
|
63236
63245
|
[r]
|
|
63237
63246
|
), E = pde(I), N = I.length > 0, k = {
|
|
@@ -63253,17 +63262,17 @@ function Tde({
|
|
|
63253
63262
|
disableFields: R,
|
|
63254
63263
|
useUpload: g,
|
|
63255
63264
|
datasets: m
|
|
63256
|
-
}), q = w ? "fullscreen" : _, ie = q === "center" ? "xl" : void 0, te =
|
|
63265
|
+
}), q = w ? "fullscreen" : _, ie = q === "center" ? "xl" : void 0, te = ce(null), se = de(
|
|
63257
63266
|
(xe) => {
|
|
63258
63267
|
te.current && clearTimeout(te.current), te.current = setTimeout(() => {
|
|
63259
63268
|
te.current = null, s();
|
|
63260
63269
|
}, xe);
|
|
63261
63270
|
},
|
|
63262
63271
|
[s]
|
|
63263
|
-
), j =
|
|
63272
|
+
), j = de(
|
|
63264
63273
|
(xe) => xe.success ? (se(xe.message ? 1e3 : 0), { success: !0, message: xe.message }) : { success: !1, errors: xe.errors },
|
|
63265
63274
|
[se]
|
|
63266
|
-
), Y =
|
|
63275
|
+
), Y = de(
|
|
63267
63276
|
async (xe) => {
|
|
63268
63277
|
if (p)
|
|
63269
63278
|
return { success: !0 };
|
|
@@ -63294,12 +63303,12 @@ function Tde({
|
|
|
63294
63303
|
E.goToNext,
|
|
63295
63304
|
E.setProgress
|
|
63296
63305
|
]
|
|
63297
|
-
), re =
|
|
63306
|
+
), re = de(async () => {
|
|
63298
63307
|
try {
|
|
63299
63308
|
await T();
|
|
63300
63309
|
} catch {
|
|
63301
63310
|
}
|
|
63302
|
-
}, [T]), U =
|
|
63311
|
+
}, [T]), U = de(() => {
|
|
63303
63312
|
const xe = C.current?.getValues() ?? {};
|
|
63304
63313
|
M.current = {
|
|
63305
63314
|
...M.current,
|
|
@@ -63328,7 +63337,7 @@ function Tde({
|
|
|
63328
63337
|
onClick: re,
|
|
63329
63338
|
disabled: D || A,
|
|
63330
63339
|
loading: D
|
|
63331
|
-
} : void 0,
|
|
63340
|
+
} : void 0, he = N ? h || R ? void 0 : P && !E.isFirstStep ? {
|
|
63332
63341
|
label: y("surveyAnsweringForm.actions.previous"),
|
|
63333
63342
|
onClick: U,
|
|
63334
63343
|
icon: mx
|
|
@@ -63343,7 +63352,7 @@ function Tde({
|
|
|
63343
63352
|
position: q,
|
|
63344
63353
|
width: ie,
|
|
63345
63354
|
primaryAction: J,
|
|
63346
|
-
secondaryAction:
|
|
63355
|
+
secondaryAction: he,
|
|
63347
63356
|
otherActions: Z,
|
|
63348
63357
|
disableContentPadding: oe,
|
|
63349
63358
|
children: /* @__PURE__ */ x(
|
|
@@ -63664,7 +63673,7 @@ function Ide({
|
|
|
63664
63673
|
module: i,
|
|
63665
63674
|
portalContainer: a
|
|
63666
63675
|
}) {
|
|
63667
|
-
const [o, s] =
|
|
63676
|
+
const [o, s] = ve(r);
|
|
63668
63677
|
return Te(() => {
|
|
63669
63678
|
s(r);
|
|
63670
63679
|
}, [r]), /* @__PURE__ */ x(BG, { open: o, onOpenChange: (u) => {
|
|
@@ -63725,7 +63734,7 @@ function Pde({
|
|
|
63725
63734
|
promoTag: g,
|
|
63726
63735
|
showResponseDialog: m = !0
|
|
63727
63736
|
}) {
|
|
63728
|
-
const [y, b] =
|
|
63737
|
+
const [y, b] = ve(r), [_, w] = ve(null), [S, C] = ve(!1), T = async () => {
|
|
63729
63738
|
if (c?.onClick) {
|
|
63730
63739
|
C(!0);
|
|
63731
63740
|
try {
|
|
@@ -63813,7 +63822,7 @@ function kde({
|
|
|
63813
63822
|
actions: s,
|
|
63814
63823
|
showConfirmation: l = !0
|
|
63815
63824
|
}) {
|
|
63816
|
-
const [u, c] =
|
|
63825
|
+
const [u, c] = ve(!1), f = () => {
|
|
63817
63826
|
c(!0), n && n();
|
|
63818
63827
|
};
|
|
63819
63828
|
Te(() => {
|
|
@@ -64034,7 +64043,7 @@ function zde({
|
|
|
64034
64043
|
onClick: p,
|
|
64035
64044
|
hideLabel: g = !1
|
|
64036
64045
|
}) {
|
|
64037
|
-
const [m, y] =
|
|
64046
|
+
const [m, y] = ve(!1), [b, _] = ve(null), [w, S] = ve(null), C = (I) => {
|
|
64038
64047
|
e(I), p && p();
|
|
64039
64048
|
}, T = async (I) => {
|
|
64040
64049
|
if (I.type === "upsell") {
|
|
@@ -64202,12 +64211,12 @@ const ume = yt(zde), cme = ({
|
|
|
64202
64211
|
onExpandedChange: i,
|
|
64203
64212
|
allowMultiple: a = !1
|
|
64204
64213
|
}) => {
|
|
64205
|
-
const l = Be()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", u = r ?? GG, [c, f] =
|
|
64214
|
+
const l = Be()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", u = r ?? GG, [c, f] = ve(
|
|
64206
64215
|
() => new Set(t ? [t] : [])
|
|
64207
|
-
), d = n !== void 0, h =
|
|
64216
|
+
), d = n !== void 0, h = de(
|
|
64208
64217
|
(p) => d ? n === p : c.has(p),
|
|
64209
64218
|
[d, n, c]
|
|
64210
|
-
), v =
|
|
64219
|
+
), v = de(
|
|
64211
64220
|
(p) => {
|
|
64212
64221
|
d ? i?.(n === p ? null : p) : f((g) => {
|
|
64213
64222
|
const m = new Set(g);
|
|
@@ -64323,7 +64332,7 @@ const ume = yt(zde), cme = ({
|
|
|
64323
64332
|
sendAsMessage: n = !1,
|
|
64324
64333
|
onSendMessage: i
|
|
64325
64334
|
}) => {
|
|
64326
|
-
const [a, o] =
|
|
64335
|
+
const [a, o] = ve(0), [s, l] = ve({}), u = Be(), c = r.length, f = r[a], d = s[a] ?? [], h = de(
|
|
64327
64336
|
(b, _) => {
|
|
64328
64337
|
l((w) => {
|
|
64329
64338
|
const S = w[a] ?? [], C = _ ? [...S, b] : S.filter((T) => T !== b);
|
|
@@ -64331,9 +64340,9 @@ const ume = yt(zde), cme = ({
|
|
|
64331
64340
|
});
|
|
64332
64341
|
},
|
|
64333
64342
|
[a]
|
|
64334
|
-
), v =
|
|
64343
|
+
), v = de(() => {
|
|
64335
64344
|
a > 0 && o((b) => b - 1);
|
|
64336
|
-
}, [a]), p =
|
|
64345
|
+
}, [a]), p = de(() => {
|
|
64337
64346
|
if (a < c - 1)
|
|
64338
64347
|
o((b) => b + 1);
|
|
64339
64348
|
else {
|
|
@@ -64856,7 +64865,7 @@ function hhe({
|
|
|
64856
64865
|
data: t,
|
|
64857
64866
|
title: n
|
|
64858
64867
|
}) {
|
|
64859
|
-
const { t: i } = Be(), a =
|
|
64868
|
+
const { t: i } = Be(), a = de(
|
|
64860
64869
|
(u) => {
|
|
64861
64870
|
const c = dhe(r);
|
|
64862
64871
|
if (!c)
|
|
@@ -64874,12 +64883,12 @@ function hhe({
|
|
|
64874
64883
|
return e;
|
|
64875
64884
|
const u = sd(t, e.type);
|
|
64876
64885
|
return u !== e.type ? { ...e, type: u } : e;
|
|
64877
|
-
}, [e, t]), s =
|
|
64886
|
+
}, [e, t]), s = de(() => {
|
|
64878
64887
|
if (!t)
|
|
64879
64888
|
return;
|
|
64880
64889
|
const u = Ap(o, t);
|
|
64881
64890
|
a5(u.columns, u.rows, n, u.keys);
|
|
64882
|
-
}, [o, t, n]), l =
|
|
64891
|
+
}, [o, t, n]), l = de(() => {
|
|
64883
64892
|
if (!t)
|
|
64884
64893
|
return;
|
|
64885
64894
|
const u = Ap(o, t);
|
|
@@ -64912,11 +64921,11 @@ function hhe({
|
|
|
64912
64921
|
] : [], [t, i, a, s, l]);
|
|
64913
64922
|
}
|
|
64914
64923
|
function s5(r, e, t, n = "") {
|
|
64915
|
-
const [i, a] =
|
|
64924
|
+
const [i, a] = ve(void 0), [o, s] = ve(!0), [l, u] = ve(void 0), c = ce(0), f = ce(r);
|
|
64916
64925
|
f.current = r;
|
|
64917
|
-
const d =
|
|
64926
|
+
const d = ce(e);
|
|
64918
64927
|
d.current = e;
|
|
64919
|
-
const h =
|
|
64928
|
+
const h = de(() => {
|
|
64920
64929
|
const g = ++c.current;
|
|
64921
64930
|
s(!0), u(void 0);
|
|
64922
64931
|
const m = t ? d.current : {};
|
|
@@ -64929,7 +64938,7 @@ function s5(r, e, t, n = "") {
|
|
|
64929
64938
|
Te(() => {
|
|
64930
64939
|
h();
|
|
64931
64940
|
}, [v, n, h]);
|
|
64932
|
-
const p =
|
|
64941
|
+
const p = de(() => {
|
|
64933
64942
|
h();
|
|
64934
64943
|
}, [h]);
|
|
64935
64944
|
return { data: i, isLoading: o, error: l, retry: p };
|
|
@@ -64940,7 +64949,7 @@ function oI({
|
|
|
64940
64949
|
onChange: t,
|
|
64941
64950
|
onOpenChange: n
|
|
64942
64951
|
}) {
|
|
64943
|
-
const i = Be(), a = Tl(), o =
|
|
64952
|
+
const i = Be(), a = Tl(), o = ce(null), s = ce(void 0), l = ce(n), [u, c] = ve(!1), [f, d] = ve(null), [h, v] = ve(e);
|
|
64944
64953
|
Te(() => {
|
|
64945
64954
|
l.current = n;
|
|
64946
64955
|
}, [n]), Te(
|
|
@@ -65097,7 +65106,7 @@ function ghe({
|
|
|
65097
65106
|
enabled: e,
|
|
65098
65107
|
actionsCollapse: t
|
|
65099
65108
|
}) {
|
|
65100
|
-
const n =
|
|
65109
|
+
const n = ce(null), i = ce(null), a = ce(null), [o, s] = ve(!0);
|
|
65101
65110
|
return as(() => {
|
|
65102
65111
|
const l = n.current;
|
|
65103
65112
|
if (!e || !l)
|
|
@@ -65147,7 +65156,7 @@ function Dg({
|
|
|
65147
65156
|
fitContent: w = !1,
|
|
65148
65157
|
onFullscreenChange: S
|
|
65149
65158
|
}) {
|
|
65150
|
-
const [C, T] =
|
|
65159
|
+
const [C, T] = ve(!1), [D, A] = ve(!1), M = ce(!1), [I, E] = ve(!1), N = Be(), {
|
|
65151
65160
|
enabled: k,
|
|
65152
65161
|
setPendingQuote: P,
|
|
65153
65162
|
setOpen: O,
|
|
@@ -65168,7 +65177,7 @@ function Dg({
|
|
|
65168
65177
|
title: r,
|
|
65169
65178
|
enabled: _ > 2,
|
|
65170
65179
|
actionsCollapse: !y
|
|
65171
|
-
}), J = Z.fits ? 1 : 2,
|
|
65180
|
+
}), J = Z.fits ? 1 : 2, he = _ - J, Se = () => {
|
|
65172
65181
|
if (h) {
|
|
65173
65182
|
if (!p)
|
|
65174
65183
|
return;
|
|
@@ -65461,7 +65470,7 @@ function Dg({
|
|
|
65461
65470
|
e ? /* @__PURE__ */ x(
|
|
65462
65471
|
bl,
|
|
65463
65472
|
{
|
|
65464
|
-
lines:
|
|
65473
|
+
lines: he,
|
|
65465
65474
|
className: "text-base text-f1-foreground-secondary",
|
|
65466
65475
|
children: e
|
|
65467
65476
|
}
|
|
@@ -65505,7 +65514,7 @@ function mhe({
|
|
|
65505
65514
|
onDismiss: t,
|
|
65506
65515
|
returnFocusTo: n
|
|
65507
65516
|
}) {
|
|
65508
|
-
const i = Be(), a =
|
|
65517
|
+
const i = Be(), a = ce(null), [o, s] = ve(
|
|
65509
65518
|
null
|
|
65510
65519
|
);
|
|
65511
65520
|
return as(() => {
|
|
@@ -65897,12 +65906,12 @@ function Lhe({
|
|
|
65897
65906
|
isFullscreen: c,
|
|
65898
65907
|
onFullscreenChange: f
|
|
65899
65908
|
}) {
|
|
65900
|
-
const d = Be(), [h, v] =
|
|
65909
|
+
const d = Be(), [h, v] = ve("chart"), {
|
|
65901
65910
|
enabled: p,
|
|
65902
65911
|
setPendingQuote: g,
|
|
65903
65912
|
setOpen: m,
|
|
65904
65913
|
focusChatInput: y
|
|
65905
|
-
} = t2(), b = !gS(r.chart), _ = b ? The : r.chart, [w, S] =
|
|
65914
|
+
} = t2(), b = !gS(r.chart), _ = b ? The : r.chart, [w, S] = ve(null), C = r.useDashboardFilters !== !1, T = JSON.stringify(n?.value ?? {}), { data: D, isLoading: A, error: M, retry: I } = s5(r.fetchData, e, C, T), E = ce(null), N = _e(
|
|
65906
65915
|
() => D && !b ? Ahe(r, D) : void 0,
|
|
65907
65916
|
[r, D, b]
|
|
65908
65917
|
);
|
|
@@ -65913,7 +65922,7 @@ function Lhe({
|
|
|
65913
65922
|
Te(() => {
|
|
65914
65923
|
S(null);
|
|
65915
65924
|
}, [k]);
|
|
65916
|
-
const O =
|
|
65925
|
+
const O = de(
|
|
65917
65926
|
(oe) => {
|
|
65918
65927
|
if (s) {
|
|
65919
65928
|
s({ id: r.id, title: r.title, point: oe }), S(null);
|
|
@@ -65948,7 +65957,7 @@ function Lhe({
|
|
|
65948
65957
|
}), V = _e(
|
|
65949
65958
|
() => [...t ?? [], ...z],
|
|
65950
65959
|
[t, z]
|
|
65951
|
-
), G =
|
|
65960
|
+
), G = de(() => S(null), []), H = _.type === "bar" ? "orientation" in _ ? _.orientation ?? "vertical" : "vertical" : void 0, $ = D ? sd(D, _.type) : _.type, q = _e(
|
|
65952
65961
|
() => ehe($),
|
|
65953
65962
|
[$]
|
|
65954
65963
|
), ie = D && Array.isArray(D.series) ? D.series.length : 1, te = R.filter((oe) => {
|
|
@@ -65965,13 +65974,13 @@ function Lhe({
|
|
|
65965
65974
|
xe ? v("table") : (v("chart"), (_.type !== oe.type || oe.type === "bar" && H !== oe.orientation) && u(r.id, oe.type, oe.orientation));
|
|
65966
65975
|
}
|
|
65967
65976
|
};
|
|
65968
|
-
}) : void 0, Y = !!c && lx(r), [re, U] =
|
|
65977
|
+
}) : void 0, Y = !!c && lx(r), [re, U] = ve(0), Z = !!f && lx(r), J = Z && !c && re > 0, he = Z && !!c, Se = D?.categories?.length ?? 0, Le = J ? d.dataChart.windowedCategories.replace(
|
|
65969
65978
|
"{{count}}",
|
|
65970
65979
|
String(Math.max(0, Se - re))
|
|
65971
65980
|
).replace("{{total}}", String(Se)) : void 0, Ze = J ? {
|
|
65972
65981
|
label: d.actions.showAll,
|
|
65973
65982
|
onClick: () => f?.(!0)
|
|
65974
|
-
} :
|
|
65983
|
+
} : he ? {
|
|
65975
65984
|
label: d.actions.showLess,
|
|
65976
65985
|
onClick: () => f?.(!1)
|
|
65977
65986
|
} : void 0;
|
|
@@ -66128,7 +66137,7 @@ function Phe({
|
|
|
66128
66137
|
columns: t,
|
|
66129
66138
|
tableSettings: n
|
|
66130
66139
|
}) {
|
|
66131
|
-
const { t: i } = Be(), [a, o] =
|
|
66140
|
+
const { t: i } = Be(), [a, o] = ve(!1), s = de(
|
|
66132
66141
|
async (c) => {
|
|
66133
66142
|
if (!(!r || a)) {
|
|
66134
66143
|
o(!0);
|
|
@@ -66149,7 +66158,7 @@ function Phe({
|
|
|
66149
66158
|
}
|
|
66150
66159
|
},
|
|
66151
66160
|
[r, t, n, e, a]
|
|
66152
|
-
), l =
|
|
66161
|
+
), l = de(() => s("excel"), [s]), u = de(() => s("csv"), [s]);
|
|
66153
66162
|
return _e(() => r ? [
|
|
66154
66163
|
{
|
|
66155
66164
|
label: i("ai.dataDownload.download", { format: "Excel" }),
|
|
@@ -66183,7 +66192,7 @@ function khe({
|
|
|
66183
66192
|
), g = f2(p, [
|
|
66184
66193
|
h,
|
|
66185
66194
|
v
|
|
66186
|
-
]), [m, y] =
|
|
66195
|
+
]), [m, y] = ve(), b = _e(() => (r.visualizations?.find(
|
|
66187
66196
|
(C) => C?.type === "table"
|
|
66188
66197
|
)?.options?.columns ?? []).filter(
|
|
66189
66198
|
(C) => typeof C?.id == "string" && typeof C?.label == "string"
|
|
@@ -66278,7 +66287,7 @@ function zhe({
|
|
|
66278
66287
|
trend: e,
|
|
66279
66288
|
comparison: t
|
|
66280
66289
|
}) {
|
|
66281
|
-
const n =
|
|
66290
|
+
const n = ce(null), { height: i, width: a } = Pr(n), [o, s] = ve(!1), l = i > 220;
|
|
66282
66291
|
return as(() => {
|
|
66283
66292
|
const u = n.current;
|
|
66284
66293
|
s(
|
|
@@ -66449,7 +66458,7 @@ function $he({
|
|
|
66449
66458
|
onAskAiTarget: u,
|
|
66450
66459
|
onFullscreenChange: c
|
|
66451
66460
|
}) {
|
|
66452
|
-
const f =
|
|
66461
|
+
const f = ce(null), [d, h] = ve(!1), [v, p] = ve(null);
|
|
66453
66462
|
Te(() => {
|
|
66454
66463
|
c?.(!!v);
|
|
66455
66464
|
}, [v, c]);
|
|
@@ -66458,12 +66467,12 @@ function $he({
|
|
|
66458
66467
|
for (const se of r)
|
|
66459
66468
|
te.set(se.id, se);
|
|
66460
66469
|
return te;
|
|
66461
|
-
}, [r]), [m, y] =
|
|
66470
|
+
}, [r]), [m, y] = ve(() => y0(r)), b = ce(hI(r));
|
|
66462
66471
|
Te(() => {
|
|
66463
66472
|
const te = hI(r);
|
|
66464
66473
|
te !== b.current && (b.current = te, y(y0(r)));
|
|
66465
66474
|
}, [r]);
|
|
66466
|
-
const _ =
|
|
66475
|
+
const _ = ce(o);
|
|
66467
66476
|
Te(() => {
|
|
66468
66477
|
o !== void 0 && o !== _.current && (_.current = o, y(y0(r)));
|
|
66469
66478
|
}, [o, r]), Te(() => {
|
|
@@ -66478,7 +66487,7 @@ function $he({
|
|
|
66478
66487
|
}, []), Te(() => {
|
|
66479
66488
|
v && !g.has(v) && p(null);
|
|
66480
66489
|
}, [v, g]);
|
|
66481
|
-
const w =
|
|
66490
|
+
const w = de(
|
|
66482
66491
|
(te) => {
|
|
66483
66492
|
if (!a)
|
|
66484
66493
|
return;
|
|
@@ -66487,14 +66496,14 @@ function $he({
|
|
|
66487
66496
|
for (const Y of te) {
|
|
66488
66497
|
const re = Math.floor(12 / Math.max(1, Y.ids.length)), U = Math.round(Y.height / 48), Z = Y.height;
|
|
66489
66498
|
let J = 0;
|
|
66490
|
-
for (const
|
|
66491
|
-
se.push({ id:
|
|
66499
|
+
for (const he of Y.ids)
|
|
66500
|
+
se.push({ id: he, colSpan: re, rowSpan: U, itemHeight: Z, x: J, y: j }), J += re;
|
|
66492
66501
|
j += U;
|
|
66493
66502
|
}
|
|
66494
66503
|
a(se);
|
|
66495
66504
|
},
|
|
66496
66505
|
[a]
|
|
66497
|
-
), S =
|
|
66506
|
+
), S = de(
|
|
66498
66507
|
(te, se) => {
|
|
66499
66508
|
if (se <= 0)
|
|
66500
66509
|
return;
|
|
@@ -66508,7 +66517,7 @@ function $he({
|
|
|
66508
66517
|
});
|
|
66509
66518
|
},
|
|
66510
66519
|
[]
|
|
66511
|
-
), C =
|
|
66520
|
+
), C = de(
|
|
66512
66521
|
(te) => {
|
|
66513
66522
|
y((se) => {
|
|
66514
66523
|
const j = se.map((Y) => ({
|
|
@@ -66519,13 +66528,13 @@ function $he({
|
|
|
66519
66528
|
});
|
|
66520
66529
|
},
|
|
66521
66530
|
[w]
|
|
66522
|
-
), [T, D] =
|
|
66531
|
+
), [T, D] = ve(null), [A, M] = ve(null), I = ce(m);
|
|
66523
66532
|
I.current = m;
|
|
66524
|
-
const E =
|
|
66533
|
+
const E = ce(g);
|
|
66525
66534
|
E.current = g;
|
|
66526
|
-
const N =
|
|
66535
|
+
const N = ce(null), k = ce(null);
|
|
66527
66536
|
k.current = A;
|
|
66528
|
-
const P =
|
|
66537
|
+
const P = ce(null), O = ce([]), R = ce(null), z = de(
|
|
66529
66538
|
(te, se) => {
|
|
66530
66539
|
y((j) => {
|
|
66531
66540
|
let Y = j.map((Z) => ({
|
|
@@ -66556,7 +66565,7 @@ function $he({
|
|
|
66556
66565
|
});
|
|
66557
66566
|
},
|
|
66558
66567
|
[w]
|
|
66559
|
-
), V =
|
|
66568
|
+
), V = de(
|
|
66560
66569
|
(te, se) => {
|
|
66561
66570
|
if (Yhe(O.current, te, se))
|
|
66562
66571
|
return null;
|
|
@@ -66567,7 +66576,7 @@ function $he({
|
|
|
66567
66576
|
) : [], Y = I.current;
|
|
66568
66577
|
if (j.length === 0 || j.length !== Y.length)
|
|
66569
66578
|
return null;
|
|
66570
|
-
const re = j.map((xe) => xe.getBoundingClientRect()), U = Xhe(re, se), Z = re[U], J = Y[U],
|
|
66579
|
+
const re = j.map((xe) => xe.getBoundingClientRect()), U = Xhe(re, se), Z = re[U], J = Y[U], he = N.current, Se = he ? J.ids.includes(he) : !1, Le = Z.height / 3;
|
|
66571
66580
|
if (se < Z.top + Le)
|
|
66572
66581
|
return { type: "new-row", afterRowIdx: U - 1 };
|
|
66573
66582
|
if (se > Z.bottom - Le)
|
|
@@ -66580,7 +66589,7 @@ function $he({
|
|
|
66580
66589
|
return { type: "into-row", rowIdx: U, position: oe };
|
|
66581
66590
|
},
|
|
66582
66591
|
[]
|
|
66583
|
-
), G =
|
|
66592
|
+
), G = de(
|
|
66584
66593
|
(te, se) => {
|
|
66585
66594
|
if (typeof se.button == "number" && se.button !== 0)
|
|
66586
66595
|
return;
|
|
@@ -66607,29 +66616,29 @@ function $he({
|
|
|
66607
66616
|
const Ze = V(Se.clientX, Se.clientY);
|
|
66608
66617
|
JSON.stringify(Ze) !== JSON.stringify(k.current) && (k.current = Ze, M(Ze));
|
|
66609
66618
|
}, Z = (Se) => {
|
|
66610
|
-
document.removeEventListener("pointermove", U), document.removeEventListener("pointerup", J), document.removeEventListener("pointercancel",
|
|
66619
|
+
document.removeEventListener("pointermove", U), document.removeEventListener("pointerup", J), document.removeEventListener("pointercancel", he), R.current = null;
|
|
66611
66620
|
const Le = N.current, Ze = k.current;
|
|
66612
66621
|
Se && re && Le && Ze && z(Le, Ze), N.current = null, k.current = null, O.current = [], D(null), M(null), re && window.dispatchEvent(new CustomEvent(JG));
|
|
66613
66622
|
}, J = (Se) => {
|
|
66614
66623
|
re && (O.current = Array.from(
|
|
66615
66624
|
document.querySelectorAll("[data-ai-chat-dropzone]")
|
|
66616
66625
|
), k.current = V(Se.clientX, Se.clientY)), Z(!0);
|
|
66617
|
-
},
|
|
66618
|
-
R.current = () => Z(!1), document.addEventListener("pointermove", U), document.addEventListener("pointerup", J), document.addEventListener("pointercancel",
|
|
66626
|
+
}, he = () => Z(!1);
|
|
66627
|
+
R.current = () => Z(!1), document.addEventListener("pointermove", U), document.addEventListener("pointerup", J), document.addEventListener("pointercancel", he);
|
|
66619
66628
|
},
|
|
66620
66629
|
[z, l, u, V]
|
|
66621
66630
|
);
|
|
66622
66631
|
Te(() => () => R.current?.(), []);
|
|
66623
|
-
const H =
|
|
66632
|
+
const H = de(
|
|
66624
66633
|
(te, se, j, Y) => {
|
|
66625
66634
|
const re = Math.max(
|
|
66626
66635
|
vI(m[te], g),
|
|
66627
66636
|
Y
|
|
66628
66637
|
), U = (J) => {
|
|
66629
|
-
const
|
|
66638
|
+
const he = Math.max(re, j + J.clientY - se);
|
|
66630
66639
|
y(
|
|
66631
66640
|
(Se) => Se.map(
|
|
66632
|
-
(Le, Ze) => Ze === te ? { ...Le, height:
|
|
66641
|
+
(Le, Ze) => Ze === te ? { ...Le, height: he } : Le
|
|
66633
66642
|
)
|
|
66634
66643
|
);
|
|
66635
66644
|
}, Z = () => {
|
|
@@ -66725,13 +66734,13 @@ function $he({
|
|
|
66725
66734
|
const Z = g.get(re);
|
|
66726
66735
|
if (!Z)
|
|
66727
66736
|
return null;
|
|
66728
|
-
const J = T === re,
|
|
66737
|
+
const J = T === re, he = j && A?.type === "into-row" && A.position === U, Se = j && A?.type === "into-row" && A.position === te.ids.length && U === te.ids.length - 1;
|
|
66729
66738
|
return /* @__PURE__ */ x(
|
|
66730
66739
|
Uhe,
|
|
66731
66740
|
{
|
|
66732
66741
|
id: re,
|
|
66733
66742
|
isDragging: J,
|
|
66734
|
-
showIndicatorBefore: !!
|
|
66743
|
+
showIndicatorBefore: !!he,
|
|
66735
66744
|
showIndicatorAfter: !!Se,
|
|
66736
66745
|
draggable: q,
|
|
66737
66746
|
onGripPointerDown: G,
|
|
@@ -66769,7 +66778,7 @@ function $he({
|
|
|
66769
66778
|
U?.getBoundingClientRect().height ?? 0,
|
|
66770
66779
|
te.height
|
|
66771
66780
|
), J = new Set(
|
|
66772
|
-
te.ids.filter((
|
|
66781
|
+
te.ids.filter((he) => g.get(he)?.type !== "chart")
|
|
66773
66782
|
);
|
|
66774
66783
|
H(
|
|
66775
66784
|
se,
|
|
@@ -66805,7 +66814,7 @@ function Uhe({
|
|
|
66805
66814
|
onContentHeightChange: o,
|
|
66806
66815
|
children: s
|
|
66807
66816
|
}) {
|
|
66808
|
-
const l =
|
|
66817
|
+
const l = ce(null);
|
|
66809
66818
|
return Te(() => {
|
|
66810
66819
|
const u = l.current;
|
|
66811
66820
|
if (!u)
|
|
@@ -67227,12 +67236,12 @@ function ave({
|
|
|
67227
67236
|
filters: e,
|
|
67228
67237
|
filename: t = "dashboard"
|
|
67229
67238
|
}) {
|
|
67230
|
-
const [n, i] =
|
|
67239
|
+
const [n, i] = ve(!1), a = ce(r);
|
|
67231
67240
|
a.current = r;
|
|
67232
|
-
const o =
|
|
67241
|
+
const o = ce(e);
|
|
67233
67242
|
o.current = e;
|
|
67234
|
-
const s =
|
|
67235
|
-
return s.current = t, { exportAsExcel:
|
|
67243
|
+
const s = ce(t);
|
|
67244
|
+
return s.current = t, { exportAsExcel: de(async () => {
|
|
67236
67245
|
i(!0);
|
|
67237
67246
|
try {
|
|
67238
67247
|
const u = await ive(a.current, o.current);
|
|
@@ -67276,7 +67285,7 @@ const c5 = ({
|
|
|
67276
67285
|
P[O] = z.valueConverter?.(R.defaultValue, R, b) ?? R.defaultValue;
|
|
67277
67286
|
}
|
|
67278
67287
|
return P;
|
|
67279
|
-
}, []), [C, T] =
|
|
67288
|
+
}, []), [C, T] = ve(
|
|
67280
67289
|
S
|
|
67281
67290
|
), { exportAsExcel: D, isExporting: A } = ave({
|
|
67282
67291
|
items: a,
|
|
@@ -67290,7 +67299,7 @@ const c5 = ({
|
|
|
67290
67299
|
}
|
|
67291
67300
|
return d?.(D), () => d?.(void 0);
|
|
67292
67301
|
}, [D, d, M]);
|
|
67293
|
-
const I = a.length === 1, [E, N] =
|
|
67302
|
+
const I = a.length === 1, [E, N] = ve(!1), k = I || E;
|
|
67294
67303
|
return /* @__PURE__ */ B(
|
|
67295
67304
|
"div",
|
|
67296
67305
|
{
|
|
@@ -68831,7 +68840,7 @@ const xpe = "--toast-index", wpe = "--toast-offset-y", Spe = "--toast-height", C
|
|
|
68831
68840
|
y: qe.y
|
|
68832
68841
|
}), v(void 0));
|
|
68833
68842
|
});
|
|
68834
|
-
function
|
|
68843
|
+
function he(Re) {
|
|
68835
68844
|
if (Re.button !== 0 || (Re.pointerType === "touch" && d.pauseTimers(), Zo(Re.nativeEvent)?.closest(`button,a,input,textarea,[role="button"],${Lpe}`)))
|
|
68836
68845
|
return;
|
|
68837
68846
|
z.current = !1, O.current = void 0, R.current = 0, $.current = Re.pointerId, k.current = {
|
|
@@ -68933,7 +68942,7 @@ const xpe = "--toast-index", wpe = "--toast-offset-y", Spe = "--toast-height", C
|
|
|
68933
68942
|
"aria-labelledby": C,
|
|
68934
68943
|
"aria-describedby": D,
|
|
68935
68944
|
"aria-hidden": oe && !j ? !0 : void 0,
|
|
68936
|
-
onPointerDown: f ?
|
|
68945
|
+
onPointerDown: f ? he : void 0,
|
|
68937
68946
|
onPointerMove: f ? Se : void 0,
|
|
68938
68947
|
onPointerUp: f ? J : void 0,
|
|
68939
68948
|
onPointerCancel: f ? J : void 0,
|
|
@@ -69437,7 +69446,7 @@ const Gpe = ne(
|
|
|
69437
69446
|
onClose: i
|
|
69438
69447
|
}
|
|
69439
69448
|
), qpe = 6, Zpe = (r) => {
|
|
69440
|
-
const e =
|
|
69449
|
+
const e = ce(
|
|
69441
69450
|
null
|
|
69442
69451
|
);
|
|
69443
69452
|
return r ? {
|
|
@@ -69524,7 +69533,7 @@ const Gpe = ne(
|
|
|
69524
69533
|
stackRef: t,
|
|
69525
69534
|
onHasToastsChange: n
|
|
69526
69535
|
}) => {
|
|
69527
|
-
const { toasts: i } = Mg(), a =
|
|
69536
|
+
const { toasts: i } = Mg(), a = ce(null), o = i.filter(
|
|
69528
69537
|
(c) => c.transitionStatus !== "ending"
|
|
69529
69538
|
);
|
|
69530
69539
|
rge(o), h2(
|
|
@@ -69575,7 +69584,7 @@ const Gpe = ne(
|
|
|
69575
69584
|
}
|
|
69576
69585
|
);
|
|
69577
69586
|
}, nge = "#content", ige = (r) => {
|
|
69578
|
-
const [e, t] =
|
|
69587
|
+
const [e, t] = ve({ inset: 0 });
|
|
69579
69588
|
return a2(
|
|
69580
69589
|
function() {
|
|
69581
69590
|
if (!r || typeof document > "u")
|
|
@@ -69603,7 +69612,7 @@ const Gpe = ne(
|
|
|
69603
69612
|
[r]
|
|
69604
69613
|
), e;
|
|
69605
69614
|
}, age = () => {
|
|
69606
|
-
const [r, e] =
|
|
69615
|
+
const [r, e] = ve(!1);
|
|
69607
69616
|
return Te(function() {
|
|
69608
69617
|
const n = () => e(!0), i = () => e(!1);
|
|
69609
69618
|
return window.addEventListener("blur", n), window.addEventListener("focus", i), () => {
|
|
@@ -69614,7 +69623,7 @@ const Gpe = ne(
|
|
|
69614
69623
|
messages: r,
|
|
69615
69624
|
app: e
|
|
69616
69625
|
}) => {
|
|
69617
|
-
const [t, n] =
|
|
69626
|
+
const [t, n] = ve(!1), [i, a] = ve(!1), o = ige(t || i), s = age(), l = Be();
|
|
69618
69627
|
return /* @__PURE__ */ x(
|
|
69619
69628
|
"div",
|
|
69620
69629
|
{
|
|
@@ -69660,7 +69669,7 @@ const Gpe = ne(
|
|
|
69660
69669
|
desktop: "#f0-overlay-root"
|
|
69661
69670
|
}
|
|
69662
69671
|
}) => {
|
|
69663
|
-
const t =
|
|
69672
|
+
const t = ce(null), n = Zc(
|
|
69664
69673
|
Ng.subscribeRenderer,
|
|
69665
69674
|
Ng.getActiveRendererId,
|
|
69666
69675
|
() => null
|
|
@@ -69669,7 +69678,7 @@ const Gpe = ne(
|
|
|
69669
69678
|
const { id: d, release: h } = Ng.acquireRenderer();
|
|
69670
69679
|
return t.current = d, h;
|
|
69671
69680
|
}, []);
|
|
69672
|
-
const i = n !== null && n === t.current, a = ove(), [o, s] =
|
|
69681
|
+
const i = n !== null && n === t.current, a = ove(), [o, s] = ve(null), [l, u] = ve(0), c = ce(null);
|
|
69673
69682
|
return Te(
|
|
69674
69683
|
function() {
|
|
69675
69684
|
if (typeof document > "u")
|
|
@@ -69688,7 +69697,7 @@ const Gpe = ne(
|
|
|
69688
69697
|
}, lge = na(
|
|
69689
69698
|
null
|
|
69690
69699
|
), uge = ({ children: r, fullScreen: e = !0 }) => {
|
|
69691
|
-
const t =
|
|
69700
|
+
const t = ce(null), [n, i] = ve(t.current);
|
|
69692
69701
|
return a2(() => {
|
|
69693
69702
|
i(t.current);
|
|
69694
69703
|
}, []), /* @__PURE__ */ x(lge.Provider, { value: { element: n }, children: /* @__PURE__ */ B(
|