locust-ui 2.37.15-next-16670512068 → 2.37.15-next-16775934476

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.
Files changed (2) hide show
  1. package/lib/webui.js +410 -411
  2. package/package.json +1 -1
package/lib/webui.js CHANGED
@@ -2,8 +2,8 @@ var HT = Object.defineProperty;
2
2
  var UT = (e, t, r) => t in e ? HT(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var pf = (e, t, r) => UT(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import * as ve from "react";
5
- import Z1, { useCallback as on, useState as je, useEffect as Ee, createElement as X1, useDebugValue as Pg, useMemo as gt, useRef as Ut, useLayoutEffect as YT } from "react";
6
- import { useSelector as K1, useDispatch as Q1, connect as Jt, useStore as qT, batch as ZT, shallowEqual as ns, Provider as XT } from "react-redux";
5
+ import Z1, { useCallback as on, useState as je, useEffect as Oe, createElement as X1, useDebugValue as Pg, useMemo as ct, useRef as ur, useLayoutEffect as YT } from "react";
6
+ import { useSelector as K1, useDispatch as Q1, connect as Qt, useStore as qT, batch as ZT, shallowEqual as ns, Provider as XT } from "react-redux";
7
7
  import { Modal as KT, Container as Hs, IconButton as Us, Box as pe, Button as Tr, Typography as he, Link as mt, Tooltip as J1, Divider as po, FormControl as eb, InputLabel as kp, OutlinedInput as QT, InputAdornment as JT, Select as eE, FormControlLabel as tb, Checkbox as id, TextField as Oa, Accordion as Np, AccordionSummary as Lp, AccordionDetails as Bp, FormGroup as rb, TableContainer as nb, Paper as lc, Table as ib, TableHead as ab, TableRow as Cl, TableCell as Ei, TableBody as ob, Autocomplete as tE, Alert as vf, useTheme as rE, AppBar as nE, Toolbar as iE, Drawer as aE, Card as oE, CardContent as sE, List as sb, ListItem as wi, ListItemIcon as uE, ListItemText as lE, Stack as cE, Popover as fE, Switch as hE, Tabs as dE, Tab as pE, createTheme as vE } from "@mui/material";
8
8
  import gE from "@emotion/styled";
9
9
  import { Global as mE, ThemeContext as ub } from "@emotion/react";
@@ -65,8 +65,8 @@ function wE() {
65
65
  }
66
66
  function _(O, j, K) {
67
67
  {
68
- var ce = m.ReactDebugCurrentFrame, Ae = ce.getStackAddendum();
69
- Ae !== "" && (j += "%s", K = K.concat([Ae]));
68
+ var ce = m.ReactDebugCurrentFrame, De = ce.getStackAddendum();
69
+ De !== "" && (j += "%s", K = K.concat([De]));
70
70
  var Be = K.map(function(xe) {
71
71
  return String(xe);
72
72
  });
@@ -86,8 +86,8 @@ function wE() {
86
86
  var ce = O.displayName;
87
87
  if (ce)
88
88
  return ce;
89
- var Ae = j.displayName || j.name || "";
90
- return Ae !== "" ? K + "(" + Ae + ")" : K;
89
+ var De = j.displayName || j.name || "";
90
+ return De !== "" ? K + "(" + De + ")" : K;
91
91
  }
92
92
  function M(O) {
93
93
  return O.displayName || "Context";
@@ -127,7 +127,7 @@ function wE() {
127
127
  var ce = O.displayName || null;
128
128
  return ce !== null ? ce : I(O.type) || "Memo";
129
129
  case h: {
130
- var Ae = O, Be = Ae._payload, xe = Ae._init;
130
+ var De = O, Be = De._payload, xe = De._init;
131
131
  try {
132
132
  return I(xe(Be));
133
133
  } catch {
@@ -205,8 +205,8 @@ function wE() {
205
205
  if (re === void 0)
206
206
  try {
207
207
  throw Error();
208
- } catch (Ae) {
209
- var ce = Ae.stack.trim().match(/\n( *(at )?)/);
208
+ } catch (De) {
209
+ var ce = De.stack.trim().match(/\n( *(at )?)/);
210
210
  re = ce && ce[1] || "";
211
211
  }
212
212
  return `
@@ -228,7 +228,7 @@ function wE() {
228
228
  }
229
229
  var ce;
230
230
  oe = !0;
231
- var Ae = Error.prepareStackTrace;
231
+ var De = Error.prepareStackTrace;
232
232
  Error.prepareStackTrace = void 0;
233
233
  var Be;
234
234
  Be = X.current, X.current = null, Y();
@@ -275,16 +275,16 @@ function wE() {
275
275
  if (Qe !== 1 || rt !== 1)
276
276
  do
277
277
  if (Qe--, rt--, rt < 0 || be[Qe] !== wt[rt]) {
278
- var tr = `
278
+ var er = `
279
279
  ` + be[Qe].replace(" at new ", " at ");
280
- return O.displayName && tr.includes("<anonymous>") && (tr = tr.replace("<anonymous>", O.displayName)), typeof O == "function" && ne.set(O, tr), tr;
280
+ return O.displayName && er.includes("<anonymous>") && (er = er.replace("<anonymous>", O.displayName)), typeof O == "function" && ne.set(O, er), er;
281
281
  }
282
282
  while (Qe >= 1 && rt >= 0);
283
283
  break;
284
284
  }
285
285
  }
286
286
  } finally {
287
- oe = !1, X.current = Be, ae(), Error.prepareStackTrace = Ae;
287
+ oe = !1, X.current = Be, ae(), Error.prepareStackTrace = De;
288
288
  }
289
289
  var ta = O ? O.displayName || O.name : "", Jn = ta ? le(ta) : "";
290
290
  return typeof O == "function" && ne.set(O, Jn), Jn;
@@ -316,9 +316,9 @@ function wE() {
316
316
  case f:
317
317
  return jt(O.type, j, K);
318
318
  case h: {
319
- var ce = O, Ae = ce._payload, Be = ce._init;
319
+ var ce = O, De = ce._payload, Be = ce._init;
320
320
  try {
321
- return jt(Be(Ae), j, K);
321
+ return jt(Be(De), j, K);
322
322
  } catch {
323
323
  }
324
324
  }
@@ -326,14 +326,14 @@ function wE() {
326
326
  return "";
327
327
  }
328
328
  var Or = Object.prototype.hasOwnProperty, uo = {}, Qi = m.ReactDebugCurrentFrame;
329
- function dt(O) {
329
+ function pt(O) {
330
330
  if (O) {
331
331
  var j = O._owner, K = jt(O.type, O._source, j ? j.type : null);
332
332
  Qi.setExtraStackFrame(K);
333
333
  } else
334
334
  Qi.setExtraStackFrame(null);
335
335
  }
336
- function Ji(O, j, K, ce, Ae) {
336
+ function Ji(O, j, K, ce, De) {
337
337
  {
338
338
  var Be = Function.call.bind(Or);
339
339
  for (var xe in O)
@@ -348,7 +348,7 @@ function wE() {
348
348
  } catch (Qe) {
349
349
  be = Qe;
350
350
  }
351
- be && !(be instanceof Error) && (dt(Ae), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ce || "React class", K, xe, typeof be), dt(null)), be instanceof Error && !(be.message in uo) && (uo[be.message] = !0, dt(Ae), y("Failed %s type: %s", K, be.message), dt(null));
351
+ be && !(be instanceof Error) && (pt(De), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ce || "React class", K, xe, typeof be), pt(null)), be instanceof Error && !(be.message in uo) && (uo[be.message] = !0, pt(De), y("Failed %s type: %s", K, be.message), pt(null));
352
352
  }
353
353
  }
354
354
  }
@@ -398,7 +398,7 @@ function wE() {
398
398
  }
399
399
  return O.key !== void 0;
400
400
  }
401
- function er(O, j) {
401
+ function Jt(O, j) {
402
402
  typeof O.ref == "string" && fo.current;
403
403
  }
404
404
  function Gt(O, j) {
@@ -423,7 +423,7 @@ function wE() {
423
423
  });
424
424
  }
425
425
  }
426
- var PT = function(O, j, K, ce, Ae, Be, xe) {
426
+ var PT = function(O, j, K, ce, De, Be, xe) {
427
427
  var be = {
428
428
  // This tag allows us to uniquely identify this as a React Element
429
429
  $$typeof: t,
@@ -449,13 +449,13 @@ function wE() {
449
449
  configurable: !1,
450
450
  enumerable: !1,
451
451
  writable: !1,
452
- value: Ae
452
+ value: De
453
453
  }), Object.freeze && (Object.freeze(be.props), Object.freeze(be)), be;
454
454
  };
455
- function kT(O, j, K, ce, Ae) {
455
+ function kT(O, j, K, ce, De) {
456
456
  {
457
457
  var Be, xe = {}, be = null, wt = null;
458
- K !== void 0 && (co(K), be = "" + K), Kr(j) && (co(j.key), be = "" + j.key), qe(j) && (wt = j.ref, er(j, Ae));
458
+ K !== void 0 && (co(K), be = "" + K), Kr(j) && (co(j.key), be = "" + j.key), qe(j) && (wt = j.ref, Jt(j, De));
459
459
  for (Be in j)
460
460
  Or.call(j, Be) && !du.hasOwnProperty(Be) && (xe[Be] = j[Be]);
461
461
  if (O && O.defaultProps) {
@@ -467,7 +467,7 @@ function wE() {
467
467
  var rt = typeof O == "function" ? O.displayName || O.name || "Unknown" : O;
468
468
  be && Gt(xe, rt), wt && lf(xe, rt);
469
469
  }
470
- return PT(O, be, wt, Ae, ce, fo.current, xe);
470
+ return PT(O, be, wt, De, ce, fo.current, xe);
471
471
  }
472
472
  }
473
473
  var cf = m.ReactCurrentOwner, Eg = m.ReactDebugCurrentFrame;
@@ -536,9 +536,9 @@ Check the top-level render call using <` + K + ">.");
536
536
  else if (hf(O))
537
537
  O._store && (O._store.validated = !0);
538
538
  else if (O) {
539
- var Ae = g(O);
540
- if (typeof Ae == "function" && Ae !== O.entries)
541
- for (var Be = Ae.call(O), xe; !(xe = Be.next()).done; )
539
+ var De = g(O);
540
+ if (typeof De == "function" && De !== O.entries)
541
+ for (var Be = De.call(O), xe; !(xe = Be.next()).done; )
542
542
  hf(xe.value) && Mg(xe.value, j);
543
543
  }
544
544
  }
@@ -562,8 +562,8 @@ Check the top-level render call using <` + K + ">.");
562
562
  Ji(K, O.props, "prop", ce, O);
563
563
  } else if (j.PropTypes !== void 0 && !ff) {
564
564
  ff = !0;
565
- var Ae = I(j);
566
- y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Ae || "Unknown");
565
+ var De = I(j);
566
+ y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", De || "Unknown");
567
567
  }
568
568
  typeof j.getDefaultProps == "function" && !j.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
569
569
  }
@@ -581,7 +581,7 @@ Check the top-level render call using <` + K + ">.");
581
581
  }
582
582
  }
583
583
  var Og = {};
584
- function Ig(O, j, K, ce, Ae, Be) {
584
+ function Ig(O, j, K, ce, De, Be) {
585
585
  {
586
586
  var xe = w(O);
587
587
  if (!xe) {
@@ -592,21 +592,21 @@ Check the top-level render call using <` + K + ">.");
592
592
  var Qe;
593
593
  O === null ? Qe = "null" : Xr(O) ? Qe = "array" : O !== void 0 && O.$$typeof === t ? (Qe = "<" + (I(O.type) || "Unknown") + " />", be = " Did you accidentally export a JSX literal instead of a component?") : Qe = typeof O, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Qe, be);
594
594
  }
595
- var rt = kT(O, j, K, Ae, Be);
595
+ var rt = kT(O, j, K, De, Be);
596
596
  if (rt == null)
597
597
  return rt;
598
598
  if (xe) {
599
- var tr = j.children;
600
- if (tr !== void 0)
599
+ var er = j.children;
600
+ if (er !== void 0)
601
601
  if (ce)
602
- if (Xr(tr)) {
603
- for (var ta = 0; ta < tr.length; ta++)
604
- Rg(tr[ta], O);
605
- Object.freeze && Object.freeze(tr);
602
+ if (Xr(er)) {
603
+ for (var ta = 0; ta < er.length; ta++)
604
+ Rg(er[ta], O);
605
+ Object.freeze && Object.freeze(er);
606
606
  } else
607
607
  y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
608
608
  else
609
- Rg(tr, O);
609
+ Rg(er, O);
610
610
  }
611
611
  if (Or.call(j, "key")) {
612
612
  var Jn = I(O), It = Object.keys(j).filter(function(WT) {
@@ -639,7 +639,7 @@ var Lg;
639
639
  function xE() {
640
640
  return Lg || (Lg = 1, process.env.NODE_ENV === "production" ? pu.exports = SE() : pu.exports = wE()), pu.exports;
641
641
  }
642
- var E = xE(), vu = { exports: {} }, gu = { exports: {} }, Me = {};
642
+ var E = xE(), vu = { exports: {} }, gu = { exports: {} }, Ae = {};
643
643
  /** @license React v16.13.1
644
644
  * react-is.production.min.js
645
645
  *
@@ -650,7 +650,7 @@ var E = xE(), vu = { exports: {} }, gu = { exports: {} }, Me = {};
650
650
  */
651
651
  var Bg;
652
652
  function CE() {
653
- if (Bg) return Me;
653
+ if (Bg) return Ae;
654
654
  Bg = 1;
655
655
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, d = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, g = e ? Symbol.for("react.fundamental") : 60117, m = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
656
656
  function _(S) {
@@ -686,35 +686,35 @@ function CE() {
686
686
  function b(S) {
687
687
  return _(S) === l;
688
688
  }
689
- return Me.AsyncMode = u, Me.ConcurrentMode = l, Me.ContextConsumer = s, Me.ContextProvider = o, Me.Element = t, Me.ForwardRef = c, Me.Fragment = n, Me.Lazy = p, Me.Memo = d, Me.Portal = r, Me.Profiler = a, Me.StrictMode = i, Me.Suspense = f, Me.isAsyncMode = function(S) {
689
+ return Ae.AsyncMode = u, Ae.ConcurrentMode = l, Ae.ContextConsumer = s, Ae.ContextProvider = o, Ae.Element = t, Ae.ForwardRef = c, Ae.Fragment = n, Ae.Lazy = p, Ae.Memo = d, Ae.Portal = r, Ae.Profiler = a, Ae.StrictMode = i, Ae.Suspense = f, Ae.isAsyncMode = function(S) {
690
690
  return b(S) || _(S) === u;
691
- }, Me.isConcurrentMode = b, Me.isContextConsumer = function(S) {
691
+ }, Ae.isConcurrentMode = b, Ae.isContextConsumer = function(S) {
692
692
  return _(S) === s;
693
- }, Me.isContextProvider = function(S) {
693
+ }, Ae.isContextProvider = function(S) {
694
694
  return _(S) === o;
695
- }, Me.isElement = function(S) {
695
+ }, Ae.isElement = function(S) {
696
696
  return typeof S == "object" && S !== null && S.$$typeof === t;
697
- }, Me.isForwardRef = function(S) {
697
+ }, Ae.isForwardRef = function(S) {
698
698
  return _(S) === c;
699
- }, Me.isFragment = function(S) {
699
+ }, Ae.isFragment = function(S) {
700
700
  return _(S) === n;
701
- }, Me.isLazy = function(S) {
701
+ }, Ae.isLazy = function(S) {
702
702
  return _(S) === p;
703
- }, Me.isMemo = function(S) {
703
+ }, Ae.isMemo = function(S) {
704
704
  return _(S) === d;
705
- }, Me.isPortal = function(S) {
705
+ }, Ae.isPortal = function(S) {
706
706
  return _(S) === r;
707
- }, Me.isProfiler = function(S) {
707
+ }, Ae.isProfiler = function(S) {
708
708
  return _(S) === a;
709
- }, Me.isStrictMode = function(S) {
709
+ }, Ae.isStrictMode = function(S) {
710
710
  return _(S) === i;
711
- }, Me.isSuspense = function(S) {
711
+ }, Ae.isSuspense = function(S) {
712
712
  return _(S) === f;
713
- }, Me.isValidElementType = function(S) {
713
+ }, Ae.isValidElementType = function(S) {
714
714
  return typeof S == "string" || typeof S == "function" || S === n || S === l || S === a || S === i || S === f || S === h || typeof S == "object" && S !== null && (S.$$typeof === p || S.$$typeof === d || S.$$typeof === o || S.$$typeof === s || S.$$typeof === c || S.$$typeof === g || S.$$typeof === m || S.$$typeof === y || S.$$typeof === v);
715
- }, Me.typeOf = _, Me;
715
+ }, Ae.typeOf = _, Ae;
716
716
  }
717
- var Re = {};
717
+ var Me = {};
718
718
  /** @license React v16.13.1
719
719
  * react-is.development.js
720
720
  *
@@ -803,8 +803,8 @@ function TE() {
803
803
  function ee(z) {
804
804
  return b(z) === f;
805
805
  }
806
- Re.AsyncMode = S, Re.ConcurrentMode = x, Re.ContextConsumer = C, Re.ContextProvider = T, Re.Element = A, Re.ForwardRef = w, Re.Fragment = D, Re.Lazy = M, Re.Memo = I, Re.Portal = P, Re.Profiler = N, Re.StrictMode = L, Re.Suspense = U, Re.isAsyncMode = W, Re.isConcurrentMode = k, Re.isContextConsumer = B, Re.isContextProvider = F, Re.isElement = H, Re.isForwardRef = Y, Re.isFragment = ae, Re.isLazy = X, Re.isMemo = re, Re.isPortal = le, Re.isProfiler = oe, Re.isStrictMode = ne, Re.isSuspense = ee, Re.isValidElementType = _, Re.typeOf = b;
807
- }()), Re;
806
+ Me.AsyncMode = S, Me.ConcurrentMode = x, Me.ContextConsumer = C, Me.ContextProvider = T, Me.Element = A, Me.ForwardRef = w, Me.Fragment = D, Me.Lazy = M, Me.Memo = I, Me.Portal = P, Me.Profiler = N, Me.StrictMode = L, Me.Suspense = U, Me.isAsyncMode = W, Me.isConcurrentMode = k, Me.isContextConsumer = B, Me.isContextProvider = F, Me.isElement = H, Me.isForwardRef = Y, Me.isFragment = ae, Me.isLazy = X, Me.isMemo = re, Me.isPortal = le, Me.isProfiler = oe, Me.isStrictMode = ne, Me.isSuspense = ee, Me.isValidElementType = _, Me.typeOf = b;
807
+ }()), Me;
808
808
  }
809
809
  var Fg;
810
810
  function lb() {
@@ -1478,7 +1478,7 @@ function fb(e) {
1478
1478
  t[r] = fb(e[r]);
1479
1479
  }), t;
1480
1480
  }
1481
- function Zt(e, t, r = {
1481
+ function qt(e, t, r = {
1482
1482
  clone: !0
1483
1483
  }) {
1484
1484
  const n = r.clone ? {
@@ -1486,11 +1486,11 @@ function Zt(e, t, r = {
1486
1486
  } : e;
1487
1487
  return an(e) && an(t) && Object.keys(t).forEach((i) => {
1488
1488
  /* @__PURE__ */ ve.isValidElement(t[i]) || Tl.isValidElementType(t[i]) ? n[i] = t[i] : an(t[i]) && // Avoid prototype pollution
1489
- Object.prototype.hasOwnProperty.call(e, i) && an(e[i]) ? n[i] = Zt(e[i], t[i], r) : r.clone ? n[i] = an(t[i]) ? fb(t[i]) : t[i] : n[i] = t[i];
1489
+ Object.prototype.hasOwnProperty.call(e, i) && an(e[i]) ? n[i] = qt(e[i], t[i], r) : r.clone ? n[i] = an(t[i]) ? fb(t[i]) : t[i] : n[i] = t[i];
1490
1490
  }), n;
1491
1491
  }
1492
1492
  function is(e, t) {
1493
- return t ? Zt(e, t, {
1493
+ return t ? qt(e, t, {
1494
1494
  clone: !1
1495
1495
  // No need to clone deep, it's way faster.
1496
1496
  }) : e;
@@ -1815,12 +1815,12 @@ const gD = tt({
1815
1815
  transform: Ia
1816
1816
  });
1817
1817
  pc(gD, mD, yD);
1818
- function qt(e) {
1818
+ function Yt(e) {
1819
1819
  return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1820
1820
  }
1821
1821
  const _D = tt({
1822
1822
  prop: "width",
1823
- transform: qt
1823
+ transform: Yt
1824
1824
  }), zp = (e) => {
1825
1825
  if (e.maxWidth !== void 0 && e.maxWidth !== null) {
1826
1826
  const t = (r) => {
@@ -1831,7 +1831,7 @@ const _D = tt({
1831
1831
  } : {
1832
1832
  maxWidth: n
1833
1833
  } : {
1834
- maxWidth: qt(r)
1834
+ maxWidth: Yt(r)
1835
1835
  };
1836
1836
  };
1837
1837
  return hn(e, e.maxWidth, t);
@@ -1841,26 +1841,26 @@ const _D = tt({
1841
1841
  zp.filterProps = ["maxWidth"];
1842
1842
  const bD = tt({
1843
1843
  prop: "minWidth",
1844
- transform: qt
1844
+ transform: Yt
1845
1845
  }), SD = tt({
1846
1846
  prop: "height",
1847
- transform: qt
1847
+ transform: Yt
1848
1848
  }), wD = tt({
1849
1849
  prop: "maxHeight",
1850
- transform: qt
1850
+ transform: Yt
1851
1851
  }), xD = tt({
1852
1852
  prop: "minHeight",
1853
- transform: qt
1853
+ transform: Yt
1854
1854
  });
1855
1855
  tt({
1856
1856
  prop: "size",
1857
1857
  cssProperty: "width",
1858
- transform: qt
1858
+ transform: Yt
1859
1859
  });
1860
1860
  tt({
1861
1861
  prop: "size",
1862
1862
  cssProperty: "height",
1863
- transform: qt
1863
+ transform: Yt
1864
1864
  });
1865
1865
  const CD = tt({
1866
1866
  prop: "boxSizing"
@@ -2111,22 +2111,22 @@ const _c = {
2111
2111
  },
2112
2112
  // sizing
2113
2113
  width: {
2114
- transform: qt
2114
+ transform: Yt
2115
2115
  },
2116
2116
  maxWidth: {
2117
2117
  style: zp
2118
2118
  },
2119
2119
  minWidth: {
2120
- transform: qt
2120
+ transform: Yt
2121
2121
  },
2122
2122
  height: {
2123
- transform: qt
2123
+ transform: Yt
2124
2124
  },
2125
2125
  maxHeight: {
2126
- transform: qt
2126
+ transform: Yt
2127
2127
  },
2128
2128
  minHeight: {
2129
- transform: qt
2129
+ transform: Yt
2130
2130
  },
2131
2131
  boxSizing: {},
2132
2132
  // typography
@@ -2557,7 +2557,7 @@ function jp(e = {}, ...t) {
2557
2557
  shape: a = {},
2558
2558
  ...o
2559
2559
  } = e, s = FD(r), u = pb(i);
2560
- let l = Zt({
2560
+ let l = qt({
2561
2561
  breakpoints: s,
2562
2562
  direction: "ltr",
2563
2563
  components: {},
@@ -2572,7 +2572,7 @@ function jp(e = {}, ...t) {
2572
2572
  ...a
2573
2573
  }
2574
2574
  }, o);
2575
- return l = VE(l), l.applyStyles = $D, l = t.reduce((c, f) => Zt(c, f), l), l.unstable_sxConfig = {
2575
+ return l = VE(l), l.applyStyles = $D, l = t.reduce((c, f) => qt(c, f), l), l.unstable_sxConfig = {
2576
2576
  ..._c,
2577
2577
  ...o == null ? void 0 : o.unstable_sxConfig
2578
2578
  }, l.unstable_sx = function(f) {
@@ -3495,10 +3495,10 @@ function E2(e) {
3495
3495
  storageWindow: T,
3496
3496
  noSsr: N
3497
3497
  });
3498
- let Qi = ee, dt = Or;
3499
- W && (Qi = $.mode, dt = $.colorScheme), process.env.NODE_ENV !== "production" && P && !F.vars && console.warn(["MUI: The `forceThemeRerender` prop should only be used with CSS theme variables.", "Note that it will slow down the app when changing between modes, so only do this when you cannot find a better solution."].join(`
3498
+ let Qi = ee, pt = Or;
3499
+ W && (Qi = $.mode, pt = $.colorScheme), process.env.NODE_ENV !== "production" && P && !F.vars && console.warn(["MUI: The `forceThemeRerender` prop should only be used with CSS theme variables.", "Note that it will slow down the app when changing between modes, so only do this when you cannot find a better solution."].join(`
3500
3500
  `));
3501
- let Ji = dt || F.defaultColorScheme;
3501
+ let Ji = pt || F.defaultColorScheme;
3502
3502
  F.vars && !P && (Ji = F.defaultColorScheme);
3503
3503
  const _n = ve.useMemo(() => {
3504
3504
  var Kr;
@@ -3510,34 +3510,34 @@ function E2(e) {
3510
3510
  vars: ot
3511
3511
  };
3512
3512
  if (typeof qe.generateSpacing == "function" && (qe.spacing = qe.generateSpacing()), Ji) {
3513
- const er = H[Ji];
3514
- er && typeof er == "object" && Object.keys(er).forEach((Gt) => {
3515
- er[Gt] && typeof er[Gt] == "object" ? qe[Gt] = {
3513
+ const Jt = H[Ji];
3514
+ Jt && typeof Jt == "object" && Object.keys(Jt).forEach((Gt) => {
3515
+ Jt[Gt] && typeof Jt[Gt] == "object" ? qe[Gt] = {
3516
3516
  ...qe[Gt],
3517
- ...er[Gt]
3518
- } : qe[Gt] = er[Gt];
3517
+ ...Jt[Gt]
3518
+ } : qe[Gt] = Jt[Gt];
3519
3519
  });
3520
3520
  }
3521
3521
  return s ? s(qe) : qe;
3522
3522
  }, [F, Ji, Y, H, ae]), Xr = F.colorSchemeSelector;
3523
3523
  a2(() => {
3524
- if (dt && w && Xr && Xr !== "media") {
3524
+ if (pt && w && Xr && Xr !== "media") {
3525
3525
  const ot = Xr;
3526
3526
  let qe = Xr;
3527
3527
  if (ot === "class" && (qe = ".%s"), ot === "data" && (qe = "[data-%s]"), ot != null && ot.startsWith("data-") && !ot.includes("%s") && (qe = `[${ot}="%s"]`), qe.startsWith("."))
3528
- w.classList.remove(...re.map((Kr) => qe.substring(1).replace("%s", Kr))), w.classList.add(qe.substring(1).replace("%s", dt));
3528
+ w.classList.remove(...re.map((Kr) => qe.substring(1).replace("%s", Kr))), w.classList.add(qe.substring(1).replace("%s", pt));
3529
3529
  else {
3530
- const Kr = qe.replace("%s", dt).match(/\[([^\]]+)\]/);
3530
+ const Kr = qe.replace("%s", pt).match(/\[([^\]]+)\]/);
3531
3531
  if (Kr) {
3532
- const [er, Gt] = Kr[1].split("=");
3532
+ const [Jt, Gt] = Kr[1].split("=");
3533
3533
  Gt || re.forEach((lf) => {
3534
- w.removeAttribute(er.replace(dt, lf));
3535
- }), w.setAttribute(er, Gt ? Gt.replace(/"|'/g, "") : "");
3534
+ w.removeAttribute(Jt.replace(pt, lf));
3535
+ }), w.setAttribute(Jt, Gt ? Gt.replace(/"|'/g, "") : "");
3536
3536
  } else
3537
- w.setAttribute(qe, dt);
3537
+ w.setAttribute(qe, pt);
3538
3538
  }
3539
3539
  }
3540
- }, [dt, Xr, w, re]), ve.useEffect(() => {
3540
+ }, [pt, Xr, w, re]), ve.useEffect(() => {
3541
3541
  let ot;
3542
3542
  if (x && L.current && A) {
3543
3543
  const qe = A.createElement("style");
@@ -3548,12 +3548,12 @@ function E2(e) {
3548
3548
  return () => {
3549
3549
  clearTimeout(ot);
3550
3550
  };
3551
- }, [dt, x, A]), ve.useEffect(() => (L.current = !0, () => {
3551
+ }, [pt, x, A]), ve.useEffect(() => (L.current = !0, () => {
3552
3552
  L.current = !1;
3553
3553
  }), []);
3554
3554
  const uf = ve.useMemo(() => ({
3555
3555
  allColorSchemes: re,
3556
- colorScheme: dt,
3556
+ colorScheme: pt,
3557
3557
  darkColorScheme: jt,
3558
3558
  lightColorScheme: $e,
3559
3559
  mode: Qi,
@@ -3563,7 +3563,7 @@ function E2(e) {
3563
3563
  `)), z(ot);
3564
3564
  },
3565
3565
  systemMode: Ye
3566
- }), [re, dt, jt, $e, Qi, uo, z, Ye, _n.colorSchemeSelector]);
3566
+ }), [re, pt, jt, $e, Qi, uo, z, Ye, _n.colorSchemeSelector]);
3567
3567
  let hu = !0;
3568
3568
  (M || F.cssVariables === !1 || W && (U == null ? void 0 : U.cssVarPrefix) === ae) && (hu = !1);
3569
3569
  const lo = /* @__PURE__ */ E.jsxs(ve.Fragment, {
@@ -3728,7 +3728,7 @@ function R2(e, t = {}) {
3728
3728
  css: x,
3729
3729
  varsWithDefaults: C
3730
3730
  } = Tf(b, t);
3731
- h = Zt(h, C), d[_] = {
3731
+ h = qt(h, C), d[_] = {
3732
3732
  css: x,
3733
3733
  vars: S
3734
3734
  };
@@ -3738,7 +3738,7 @@ function R2(e, t = {}) {
3738
3738
  vars: b,
3739
3739
  varsWithDefaults: S
3740
3740
  } = Tf(p, t);
3741
- h = Zt(h, S), d[s] = {
3741
+ h = qt(h, S), d[s] = {
3742
3742
  css: _,
3743
3743
  vars: b
3744
3744
  };
@@ -3767,7 +3767,7 @@ function R2(e, t = {}) {
3767
3767
  return Object.entries(d).forEach(([, {
3768
3768
  vars: b
3769
3769
  }]) => {
3770
- _ = Zt(_, b);
3770
+ _ = qt(_, b);
3771
3771
  }), _;
3772
3772
  },
3773
3773
  generateStyleSheets: () => {
@@ -4081,7 +4081,7 @@ const theme2 = createTheme({ palette: {
4081
4081
  return hm(v, "light", y, n), hm(v, "dark", _, n), v.contrastText || (v.contrastText = f(v.main)), v;
4082
4082
  };
4083
4083
  let d;
4084
- return t === "light" ? d = Ab() : t === "dark" && (d = Mb()), process.env.NODE_ENV !== "production" && (d || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), Zt({
4084
+ return t === "light" ? d = Ab() : t === "dark" && (d = Mb()), process.env.NODE_ENV !== "production" && (d || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), qt({
4085
4085
  // A collection of common colors.
4086
4086
  common: {
4087
4087
  ...Ss
@@ -4223,7 +4223,7 @@ function Rb(e, t) {
4223
4223
  letterSpacing: "inherit"
4224
4224
  }
4225
4225
  };
4226
- return Zt({
4226
+ return qt({
4227
4227
  htmlFontSize: u,
4228
4228
  pxToRem: d,
4229
4229
  fontFamily: r,
@@ -4354,7 +4354,7 @@ function ud(e = {}, ...t) {
4354
4354
  e.generateThemeVars === void 0)
4355
4355
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : Gn(20));
4356
4356
  const c = Kp(a), f = jp(e);
4357
- let h = Zt(f, {
4357
+ let h = qt(f, {
4358
4358
  mixins: $2(f.breakpoints, n),
4359
4359
  palette: c,
4360
4360
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
@@ -4365,7 +4365,7 @@ function ud(e = {}, ...t) {
4365
4365
  ...K2
4366
4366
  }
4367
4367
  });
4368
- if (h = Zt(h, l), h = t.reduce((d, p) => Zt(d, p), h), process.env.NODE_ENV !== "production") {
4368
+ if (h = qt(h, l), h = t.reduce((d, p) => qt(d, p), h), process.env.NODE_ENV !== "production") {
4369
4369
  const d = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], p = (v, g) => {
4370
4370
  let m;
4371
4371
  for (m in v) {
@@ -4599,7 +4599,7 @@ function uA(e = {}, ...t) {
4599
4599
  const I = w[M];
4600
4600
  M !== "tonalOffset" && I && typeof I == "object" && (I.main && V(w[M], "mainChannel", Wo(Ho(I.main))), I.light && V(w[M], "lightChannel", Wo(Ho(I.light))), I.dark && V(w[M], "darkChannel", Wo(Ho(I.dark))), I.contrastText && V(w[M], "contrastTextChannel", Wo(Ho(I.contrastText))), M === "text" && (Qr(w[M], "primary"), Qr(w[M], "secondary")), M === "action" && (I.active && Qr(w[M], "active"), I.selected && Qr(w[M], "selected")));
4601
4601
  });
4602
- }), b = t.reduce((A, w) => Zt(A, w), b);
4602
+ }), b = t.reduce((A, w) => qt(A, w), b);
4603
4603
  const S = {
4604
4604
  prefix: a,
4605
4605
  disableCssColorScheme: i,
@@ -6232,14 +6232,14 @@ function QA() {
6232
6232
  generateReplacementPatches_: u
6233
6233
  });
6234
6234
  }
6235
- var Kt = new KA(), Ks = Kt.produce, Zb = Kt.produceWithPatches.bind(
6236
- Kt
6235
+ var Xt = new KA(), Ks = Xt.produce, Zb = Xt.produceWithPatches.bind(
6236
+ Xt
6237
6237
  );
6238
- Kt.setAutoFreeze.bind(Kt);
6239
- Kt.setUseStrictShallowCopy.bind(Kt);
6240
- var xm = Kt.applyPatches.bind(Kt);
6241
- Kt.createDraft.bind(Kt);
6242
- Kt.finishDraft.bind(Kt);
6238
+ Xt.setAutoFreeze.bind(Xt);
6239
+ Xt.setUseStrictShallowCopy.bind(Xt);
6240
+ var xm = Xt.applyPatches.bind(Xt);
6241
+ Xt.createDraft.bind(Xt);
6242
+ Xt.finishDraft.bind(Xt);
6243
6243
  var JA = (e, t, r) => {
6244
6244
  if (t.length === 1 && t[0] === r) {
6245
6245
  let n = !1;
@@ -7416,7 +7416,7 @@ const YM = {
7416
7416
  }), qM = lS.actions, ZM = lS.reducer;
7417
7417
  function Om() {
7418
7418
  const e = Ot(({ theme: { isDarkMode: n } }) => n), t = vr(qM.setIsDarkMode);
7419
- Ee(() => {
7419
+ Oe(() => {
7420
7420
  t(IA === zr.DARK);
7421
7421
  }, []);
7422
7422
  const r = () => {
@@ -7461,7 +7461,7 @@ const sv = (e, t) => Object.entries(e).reduce(
7461
7461
  if (e === 0) return "N/A";
7462
7462
  const r = 1024, n = t < 0 ? 0 : t, i = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], a = Math.floor(Math.log(e) / Math.log(r));
7463
7463
  return parseFloat((e / Math.pow(r, a)).toFixed(n)) + " " + i[a];
7464
- }, ht = {
7464
+ }, dt = {
7465
7465
  READY: "ready",
7466
7466
  RUNNING: "running",
7467
7467
  STOPPED: "stopped",
@@ -7511,7 +7511,7 @@ function tR({
7511
7511
  /* @__PURE__ */ E.jsx(he, { sx: { fontWeight: "bold" }, children: "Status" }),
7512
7512
  /* @__PURE__ */ E.jsx(he, { variant: "button", children: t })
7513
7513
  ] }),
7514
- (t === ht.RUNNING || t === ht.SPAWNING) && /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
7514
+ (t === dt.RUNNING || t === dt.SPAWNING) && /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
7515
7515
  /* @__PURE__ */ E.jsx(po, { flexItem: !0, orientation: "vertical" }),
7516
7516
  /* @__PURE__ */ E.jsxs(pe, { sx: { display: "flex", flexDirection: "column", alignItems: { md: "center" } }, children: [
7517
7517
  /* @__PURE__ */ E.jsx(he, { sx: { fontWeight: "bold" }, children: "Users" }),
@@ -7550,7 +7550,7 @@ const rR = ({
7550
7550
  failRatio: a,
7551
7551
  userCount: o,
7552
7552
  workerCount: n
7553
- }), Pm = Jt(rR)(tR), uv = Rt(/* @__PURE__ */ E.jsx("path", {
7553
+ }), Pm = Qt(rR)(tR), uv = Rt(/* @__PURE__ */ E.jsx("path", {
7554
7554
  d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
7555
7555
  }), "ExpandMore");
7556
7556
  function nR({
@@ -7677,7 +7677,7 @@ function km({ defaultValue: e, ...t }) {
7677
7677
  const [r, n] = je(e || ""), i = (a) => {
7678
7678
  t.onChange && t.onChange(a), !((a.target.value.match(/\./g) || []).length > 1) && n(a.target.value.replace(/[^0-9.]/g, ""));
7679
7679
  };
7680
- return Ee(() => {
7680
+ return Oe(() => {
7681
7681
  e && n(e);
7682
7682
  }, [e]), /* @__PURE__ */ E.jsx(Oa, { ...t, onChange: i, value: r });
7683
7683
  }
@@ -9427,25 +9427,25 @@ var aa = WeakMap ? /* @__PURE__ */ new WeakMap() : void 0, VR = ({
9427
9427
  return `${e}(${r})`;
9428
9428
  }, Pf = Symbol();
9429
9429
  function qm(e, t, r, n) {
9430
- const i = gt(() => ({
9430
+ const i = ct(() => ({
9431
9431
  queryArgs: e,
9432
9432
  serialized: typeof e == "object" ? t({
9433
9433
  queryArgs: e,
9434
9434
  endpointDefinition: r,
9435
9435
  endpointName: n
9436
9436
  }) : e
9437
- }), [e, t, r, n]), a = Ut(i);
9438
- return Ee(() => {
9437
+ }), [e, t, r, n]), a = ur(i);
9438
+ return Oe(() => {
9439
9439
  a.current.serialized !== i.serialized && (a.current = i);
9440
9440
  }, [i]), a.current.serialized === i.serialized ? a.current.queryArgs : e;
9441
9441
  }
9442
9442
  function kf(e) {
9443
- const t = Ut(e);
9444
- return Ee(() => {
9443
+ const t = ur(e);
9444
+ return Oe(() => {
9445
9445
  ns(t.current, e) || (t.current = e);
9446
9446
  }, [e]), ns(t.current, e) ? t.current : e;
9447
9447
  }
9448
- var FR = () => typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", zR = /* @__PURE__ */ FR(), $R = () => typeof navigator < "u" && navigator.product === "ReactNative", jR = /* @__PURE__ */ $R(), GR = () => zR || jR ? YT : Ee, WR = /* @__PURE__ */ GR(), HR = (e) => e.isUninitialized ? {
9448
+ var FR = () => typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", zR = /* @__PURE__ */ FR(), $R = () => typeof navigator < "u" && navigator.product === "ReactNative", jR = /* @__PURE__ */ $R(), GR = () => zR || jR ? YT : Oe, WR = /* @__PURE__ */ GR(), HR = (e) => e.isUninitialized ? {
9449
9449
  ...e,
9450
9450
  isUninitialized: !1,
9451
9451
  isFetching: !0,
@@ -9467,7 +9467,7 @@ function UR({
9467
9467
  serializeQueryArgs: s,
9468
9468
  context: u
9469
9469
  }) {
9470
- const l = a ? (p) => p() : Ee;
9470
+ const l = a ? (p) => p() : Oe;
9471
9471
  return {
9472
9472
  buildQueryHooks: h,
9473
9473
  buildMutationHook: d,
@@ -9518,7 +9518,7 @@ function UR({
9518
9518
  } = {}) => {
9519
9519
  const {
9520
9520
  initiate: A
9521
- } = e.endpoints[p], w = r(), D = Ut(void 0);
9521
+ } = e.endpoints[p], w = r(), D = ur(void 0);
9522
9522
  if (!D.current) {
9523
9523
  const k = w(e.internalActions.internal_getRTKQSubscriptions());
9524
9524
  if (process.env.NODE_ENV !== "production" && (typeof k != "object" || typeof (k == null ? void 0 : k.type) == "string"))
@@ -9541,7 +9541,7 @@ function UR({
9541
9541
  refetchOnFocus: b,
9542
9542
  pollingInterval: C,
9543
9543
  skipPollingIfUnfocused: T
9544
- }), P = Ut(!1), N = Ut(void 0);
9544
+ }), P = ur(!1), N = ur(void 0);
9545
9545
  let {
9546
9546
  queryCacheKey: L,
9547
9547
  requestId: U
@@ -9568,10 +9568,10 @@ function UR({
9568
9568
  }));
9569
9569
  N.current = H;
9570
9570
  } else I !== B && k.updateSubscriptionOptions(I);
9571
- }, [w, A, S, M, I, W]), Ee(() => () => {
9571
+ }, [w, A, S, M, I, W]), Oe(() => () => {
9572
9572
  var k;
9573
9573
  (k = N.current) == null || k.unsubscribe(), N.current = void 0;
9574
- }, []), gt(() => ({
9574
+ }, []), ct(() => ({
9575
9575
  /**
9576
9576
  * A method to manually refetch data for the query
9577
9577
  */
@@ -9590,7 +9590,7 @@ function UR({
9590
9590
  } = {}) => {
9591
9591
  const {
9592
9592
  initiate: x
9593
- } = e.endpoints[p], C = r(), [T, A] = je(Pf), w = Ut(void 0), D = kf({
9593
+ } = e.endpoints[p], C = r(), [T, A] = je(Pf), w = ur(void 0), D = kf({
9594
9594
  refetchOnReconnect: y,
9595
9595
  refetchOnFocus: _,
9596
9596
  pollingInterval: b,
@@ -9601,7 +9601,7 @@ function UR({
9601
9601
  const P = (N = w.current) == null ? void 0 : N.subscriptionOptions;
9602
9602
  D !== P && ((L = w.current) == null || L.updateSubscriptionOptions(D));
9603
9603
  }, [D]);
9604
- const M = Ut(D);
9604
+ const M = ur(D);
9605
9605
  l(() => {
9606
9606
  M.current = D;
9607
9607
  }, [D]);
@@ -9615,23 +9615,23 @@ function UR({
9615
9615
  })), A(P);
9616
9616
  }), L;
9617
9617
  }, [C, x]);
9618
- return Ee(() => () => {
9618
+ return Oe(() => () => {
9619
9619
  var P;
9620
9620
  (P = w == null ? void 0 : w.current) == null || P.unsubscribe();
9621
- }, []), Ee(() => {
9621
+ }, []), Oe(() => {
9622
9622
  T !== Pf && !w.current && I(T, !0);
9623
- }, [T, I]), gt(() => [I, T], [I, T]);
9623
+ }, [T, I]), ct(() => [I, T], [I, T]);
9624
9624
  }, m = (y, {
9625
9625
  skip: _ = !1,
9626
9626
  selectFromResult: b
9627
9627
  } = {}) => {
9628
9628
  const {
9629
9629
  select: S
9630
- } = e.endpoints[p], x = qm(_ ? Ai : y, s, u.endpointDefinitions[p], p), C = Ut(void 0), T = gt(() => o([S(x), (I, P) => P, (I) => x], c, {
9630
+ } = e.endpoints[p], x = qm(_ ? Ai : y, s, u.endpointDefinitions[p], p), C = ur(void 0), T = ct(() => o([S(x), (I, P) => P, (I) => x], c, {
9631
9631
  memoizeOptions: {
9632
9632
  resultEqualityCheck: ns
9633
9633
  }
9634
- }), [S, x]), A = gt(() => b ? o([T], b, {
9634
+ }), [S, x]), A = ct(() => b ? o([T], b, {
9635
9635
  devModeChecks: {
9636
9636
  identityFunctionCheck: "never"
9637
9637
  }
@@ -9648,10 +9648,10 @@ function UR({
9648
9648
  const [_, b] = g(y), S = m(b, {
9649
9649
  ...y,
9650
9650
  skip: b === Pf
9651
- }), x = gt(() => ({
9651
+ }), x = ct(() => ({
9652
9652
  lastArg: b
9653
9653
  }), [b]);
9654
- return gt(() => [_, S, x], [_, S, x]);
9654
+ return ct(() => [_, S, x], [_, S, x]);
9655
9655
  },
9656
9656
  useQuery(y, _) {
9657
9657
  const b = v(y, _), S = m(y, {
@@ -9672,7 +9672,7 @@ function UR({
9672
9672
  isSuccess: A,
9673
9673
  isError: w,
9674
9674
  error: D
9675
- }), gt(() => ({
9675
+ }), ct(() => ({
9676
9676
  ...S,
9677
9677
  ...b
9678
9678
  }), [S, b]);
@@ -9688,7 +9688,7 @@ function UR({
9688
9688
  select: m,
9689
9689
  initiate: y
9690
9690
  } = e.endpoints[p], _ = r(), [b, S] = je();
9691
- Ee(() => () => {
9691
+ Oe(() => () => {
9692
9692
  b != null && b.arg.fixedCacheKey || b == null || b.reset();
9693
9693
  }, [b]);
9694
9694
  const x = on(function(B) {
@@ -9698,10 +9698,10 @@ function UR({
9698
9698
  return S(F), F;
9699
9699
  }, [_, y, g]), {
9700
9700
  requestId: C
9701
- } = b || {}, T = gt(() => m({
9701
+ } = b || {}, T = ct(() => m({
9702
9702
  fixedCacheKey: g,
9703
9703
  requestId: b == null ? void 0 : b.requestId
9704
- }), [g, b, m]), A = gt(() => v ? o([T], v) : T, [v, T]), w = n(A, ns), D = g == null ? b == null ? void 0 : b.arg.originalArgs : void 0, M = on(() => {
9704
+ }), [g, b, m]), A = ct(() => v ? o([T], v) : T, [v, T]), w = n(A, ns), D = g == null ? b == null ? void 0 : b.arg.originalArgs : void 0, M = on(() => {
9705
9705
  t(() => {
9706
9706
  b && S(void 0), g && _(e.internalActions.removeMutationResult({
9707
9707
  requestId: C,
@@ -9726,12 +9726,12 @@ function UR({
9726
9726
  isError: $,
9727
9727
  error: W
9728
9728
  });
9729
- const k = gt(() => ({
9729
+ const k = ct(() => ({
9730
9730
  ...w,
9731
9731
  originalArgs: D,
9732
9732
  reset: M
9733
9733
  }), [w, D, M]);
9734
- return gt(() => [x, k], [x, k]);
9734
+ return ct(() => [x, k], [x, k]);
9735
9735
  };
9736
9736
  }
9737
9737
  }
@@ -10002,7 +10002,7 @@ const fO = {
10002
10002
  }, hO = ({ swarm: { availableUserTasks: e, users: t } }) => ({
10003
10003
  availableUserTasks: e,
10004
10004
  users: t
10005
- }), dO = Jt(hO, fO)(cO);
10005
+ }), dO = Qt(hO, fO)(cO);
10006
10006
  function pO() {
10007
10007
  const [e, t] = je({}), [r, n] = je(!0), i = (o, s, u, { onlyDelete: l } = { onlyDelete: !1 }) => {
10008
10008
  const c = { ...e };
@@ -10058,7 +10058,7 @@ function mO({
10058
10058
  onFormSubmit: S,
10059
10059
  advancedOptions: x
10060
10060
  }) {
10061
- const [C] = nO(), [T, A] = je(""), [w, D] = je(r), [M, I] = je(n || ""), P = Ot(({ swarm: B }) => B), { register: N } = pO(), { reason: L, isFormDisabled: U } = gt(
10061
+ const [C] = nO(), [T, A] = je(""), [w, D] = je(r), [M, I] = je(n || ""), P = Ot(({ swarm: B }) => B), { register: N } = pO(), { reason: L, isFormDisabled: U } = ct(
10062
10062
  () => gO({ isDisabled: m, ...P }),
10063
10063
  [m, P]
10064
10064
  ), $ = async (B) => {
@@ -10067,7 +10067,7 @@ function mO({
10067
10067
  ...p && w ? { userClasses: w } : {}
10068
10068
  });
10069
10069
  F && F.success ? d({
10070
- state: ht.RUNNING,
10070
+ state: dt.RUNNING,
10071
10071
  host: B.host || n,
10072
10072
  runTime: B.runTime,
10073
10073
  spawnRate: B.spawnRate,
@@ -10245,7 +10245,7 @@ const yO = ({
10245
10245
  spawnRate: p
10246
10246
  }), _O = {
10247
10247
  setSwarm: eu.setSwarm
10248
- }, dv = Jt(yO, _O)(mO);
10248
+ }, dv = Qt(yO, _O)(mO);
10249
10249
  function bO(e) {
10250
10250
  const [t, r] = je(!1), { hideCommonOptions: n } = Ot(({ swarm: i }) => i);
10251
10251
  return /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
@@ -10279,7 +10279,7 @@ function wO() {
10279
10279
  }
10280
10280
  function xO() {
10281
10281
  const [e, t] = je(!1), [r] = aO();
10282
- Ee(() => {
10282
+ Oe(() => {
10283
10283
  t(!1);
10284
10284
  }, []);
10285
10285
  const n = () => {
@@ -10299,8 +10299,8 @@ function xO() {
10299
10299
  }
10300
10300
  function Zm() {
10301
10301
  const e = Ot(({ swarm: t }) => t.state);
10302
- return e === ht.READY ? null : /* @__PURE__ */ E.jsxs(pe, { sx: { display: "flex", columnGap: 2, marginY: "auto", height: "50px" }, children: [
10303
- e === ht.STOPPED ? /* @__PURE__ */ E.jsx(SO, {}) : /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
10302
+ return e === dt.READY ? null : /* @__PURE__ */ E.jsxs(pe, { sx: { display: "flex", columnGap: 2, marginY: "auto", height: "50px" }, children: [
10303
+ e === dt.STOPPED ? /* @__PURE__ */ E.jsx(SO, {}) : /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
10304
10304
  /* @__PURE__ */ E.jsx(bO, {}),
10305
10305
  /* @__PURE__ */ E.jsx(xO, {})
10306
10306
  ] }),
@@ -10309,7 +10309,7 @@ function Zm() {
10309
10309
  }
10310
10310
  function CO() {
10311
10311
  const e = rE(), [t, r] = je(!1);
10312
- Ee(() => {
10312
+ Oe(() => {
10313
10313
  const i = () => {
10314
10314
  window.innerWidth >= e.breakpoints.values.md && r(!1);
10315
10315
  };
@@ -10390,10 +10390,10 @@ function tu(e, t, { shouldRunInterval: r, immediate: n } = {
10390
10390
  shouldRunInterval: !0,
10391
10391
  immediate: !1
10392
10392
  }) {
10393
- const i = Ut(e);
10394
- Ee(() => {
10393
+ const i = ur(e);
10394
+ Oe(() => {
10395
10395
  i.current = e;
10396
- }, [e]), Ee(() => {
10396
+ }, [e]), Oe(() => {
10397
10397
  if (!r)
10398
10398
  return;
10399
10399
  n && i.current();
@@ -10412,7 +10412,7 @@ const EO = {}, DS = cr({
10412
10412
  }), AS = DS.actions, DO = DS.reducer;
10413
10413
  function AO(e, { key: t, shouldNotify: r }) {
10414
10414
  const n = vr(AS.setNotification), i = Ot(({ url: { query: o } }) => o && o.tab), a = `${t}Notification`;
10415
- Ee(() => {
10415
+ Oe(() => {
10416
10416
  e.length > 0 && e.length < localStorage[a] && (localStorage[a] = e.length), e.length > (localStorage[a] || 0) && // no current page means no tabs have been clicked and notifications should be shown
10417
10417
  // don't show notifications for current page
10418
10418
  (!i || i !== t) && // allows to customize if notification should be shown
@@ -10433,16 +10433,16 @@ const MO = {
10433
10433
  []
10434
10434
  ), IO = { master: [], workers: {} };
10435
10435
  function PO() {
10436
- const e = Ot(({ swarm: u }) => u), t = vr(RO.setLogs), { data: r, refetch: n } = tO(), i = r || IO, a = gt(() => RS(Object.values(i.workers)), [i.workers]), o = gt(() => [...i.master].concat(a), [i.master, i.workers]), s = on(
10436
+ const e = Ot(({ swarm: u }) => u), t = vr(RO.setLogs), { data: r, refetch: n } = tO(), i = r || IO, a = ct(() => RS(Object.values(i.workers)), [i.workers]), o = ct(() => [...i.master].concat(a), [i.master, i.workers]), s = on(
10437
10437
  (u) => o.slice(localStorage[u]).some(TS),
10438
10438
  [o]
10439
10439
  );
10440
10440
  return tu(n, 5e3, {
10441
- shouldRunInterval: e.state === ht.SPAWNING || e.state == ht.RUNNING
10441
+ shouldRunInterval: e.state === dt.SPAWNING || e.state == dt.RUNNING
10442
10442
  }), AO(o, {
10443
10443
  key: ES,
10444
10444
  shouldNotify: s
10445
- }), Ee(() => {
10445
+ }), Oe(() => {
10446
10446
  t(i);
10447
10447
  }, [i]), i;
10448
10448
  }
@@ -10464,33 +10464,32 @@ function NO(e, { hasTotalRow: t = !1, defaultSortKey: r = "name" } = {
10464
10464
  hasTotalRow: !1,
10465
10465
  defaultSortKey: "name"
10466
10466
  }) {
10467
- const [n, i] = je(e), [a, o] = je(!1), s = Ut(), u = (c) => {
10468
- const h = (t ? e.slice(0, -1) : [...e]).sort(
10469
- // reverse will only happen when clicking twice on the same field
10470
- kO(c, c === s.current && !a)
10471
- );
10472
- i(t ? [...h, ...e.slice(-1)] : h);
10473
- }, l = on(
10474
- (c) => {
10475
- s.current || (s.current = r);
10476
- const f = c.target.getAttribute("data-sortkey");
10477
- if (f === s.current)
10467
+ const [n, i] = je(void 0), [a, o] = je(!1), s = on(
10468
+ (l) => {
10469
+ const c = l.target.getAttribute(
10470
+ "data-sortkey"
10471
+ );
10472
+ if (c === n)
10478
10473
  if (a) {
10479
- o(!1), s.current = void 0, u(r);
10474
+ o(!1), i(void 0);
10480
10475
  return;
10481
10476
  } else
10482
10477
  o(!0);
10483
10478
  else a && o(!1);
10484
- u(f), s.current = f;
10479
+ i(c);
10485
10480
  },
10486
- [s, e, a]
10487
- );
10488
- return Ee(() => {
10489
- e.length ? u(s.current || r) : u.length && i(e);
10490
- }, [e]), {
10491
- onTableHeadClick: l,
10492
- sortedRows: n,
10493
- currentSortField: s.current
10481
+ [e, a, n]
10482
+ ), u = ct(() => {
10483
+ const c = (t ? e.slice(0, -1) : [...e]).sort(
10484
+ // reverse will only happen when clicking twice on the same field
10485
+ kO(n || r, a)
10486
+ );
10487
+ return t ? [...c, ...e.slice(-1)] : c;
10488
+ }, [e, n, a]);
10489
+ return {
10490
+ onTableHeadClick: s,
10491
+ sortedRows: u,
10492
+ currentSortField: n
10494
10493
  };
10495
10494
  }
10496
10495
  const Yo = (e, t = 0) => {
@@ -10554,7 +10553,7 @@ const VO = ({
10554
10553
  })) : null,
10555
10554
  rows: i ? i.data : []
10556
10555
  };
10557
- }, FO = Jt(VO)(BO), zO = [
10556
+ }, FO = Qt(VO)(BO), zO = [
10558
10557
  { key: "count", title: "# occurrences" },
10559
10558
  { key: "msg", title: "Message" },
10560
10559
  { key: "traceback", title: "Traceback" }
@@ -10562,7 +10561,7 @@ const VO = ({
10562
10561
  function $O({ exceptions: e }) {
10563
10562
  return /* @__PURE__ */ E.jsx(ru, { rows: e, structure: zO });
10564
10563
  }
10565
- const jO = ({ ui: { exceptions: e } }) => ({ exceptions: e }), GO = Jt(jO)($O), WO = {
10564
+ const jO = ({ ui: { exceptions: e } }) => ({ exceptions: e }), GO = Qt(jO)($O), WO = {
10566
10565
  totalRps: 0,
10567
10566
  failRatio: 0,
10568
10567
  startTime: "",
@@ -10606,8 +10605,8 @@ const HO = (q1 = $r.percentilesToChart) == null ? void 0 : q1.reduce(
10606
10605
  }
10607
10606
  }), ka = IS.actions, YO = IS.reducer;
10608
10607
  function qO() {
10609
- const { data: e, refetch: t } = eO(), r = vr(ka.setUi), n = Ot(({ swarm: a }) => a.state), i = n === ht.SPAWNING || n == ht.RUNNING;
10610
- Ee(() => {
10608
+ const { data: e, refetch: t } = eO(), r = vr(ka.setUi), n = Ot(({ swarm: a }) => a.state), i = n === dt.SPAWNING || n == dt.RUNNING;
10609
+ Oe(() => {
10611
10610
  e && r({ exceptions: e.exceptions });
10612
10611
  }, [e]), tu(t, 5e3, {
10613
10612
  shouldRunInterval: i,
@@ -10626,13 +10625,13 @@ const XO = [
10626
10625
  function KO({ errors: e }) {
10627
10626
  return /* @__PURE__ */ E.jsx(ru, { rows: e, structure: XO });
10628
10627
  }
10629
- const QO = ({ ui: { errors: e } }) => ({ errors: e }), JO = Jt(QO)(KO), eI = Rt(/* @__PURE__ */ E.jsx("path", {
10628
+ const QO = ({ ui: { errors: e } }) => ({ errors: e }), JO = Qt(QO)(KO), eI = Rt(/* @__PURE__ */ E.jsx("path", {
10630
10629
  d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"
10631
10630
  }), "ArrowForward"), tI = {
10632
10631
  900: "#ff6f00"
10633
10632
  }, Xm = 0.5, rI = () => {
10634
- const [e, t] = je(!1), r = Ut(null);
10635
- return Ee(() => {
10633
+ const [e, t] = je(!1), r = ur(null);
10634
+ return Oe(() => {
10636
10635
  const n = new IntersectionObserver(
10637
10636
  ([i]) => {
10638
10637
  i.isIntersecting && t(!0);
@@ -11031,7 +11030,7 @@ function NS({ log: e }) {
11031
11030
  }
11032
11031
  function cI({ workerId: e, logs: t }) {
11033
11032
  const [r, n] = je(!1);
11034
- Ee(() => {
11033
+ Oe(() => {
11035
11034
  t.slice(localStorage[e]).some(TS) && n(!0);
11036
11035
  }, [t]);
11037
11036
  const i = on(() => {
@@ -11082,7 +11081,7 @@ function hI({
11082
11081
  const dI = ({ swarm: { extendedCsvFiles: e, statsHistoryEnabled: t } }) => ({
11083
11082
  extendedCsvFiles: e,
11084
11083
  statsHistoryEnabled: t
11085
- }), pI = Jt(dI)(hI), vI = Rt(/* @__PURE__ */ E.jsx("path", {
11084
+ }), pI = Qt(dI)(hI), vI = Rt(/* @__PURE__ */ E.jsx("path", {
11086
11085
  d: "M14.67 5v14H9.33V5zm1 14H21V5h-5.33zm-7.34 0V5H3v14z"
11087
11086
  }), "ViewColumn");
11088
11087
  function gI({
@@ -11181,7 +11180,7 @@ function bI({ stats: e, tableStructure: t = _I }) {
11181
11180
  }
11182
11181
  );
11183
11182
  }
11184
- const SI = ({ ui: { stats: e } }) => ({ stats: e }), wI = Jt(SI)(bI);
11183
+ const SI = ({ ui: { stats: e } }) => ({ stats: e }), wI = Qt(SI)(bI);
11185
11184
  /*! *****************************************************************************
11186
11185
  Copyright (c) Microsoft Corporation.
11187
11186
 
@@ -11919,7 +11918,7 @@ var Le = function() {
11919
11918
  var a = 1 - i;
11920
11919
  t.x = a * r.x + i * n.x, t.y = a * r.y + i * n.y;
11921
11920
  }, e;
11922
- }(), Du = Math.min, Au = Math.max, ti = new Le(), ri = new Le(), ni = new Le(), ii = new Le(), So = new Le(), wo = new Le(), De = function() {
11921
+ }(), Du = Math.min, Au = Math.max, ti = new Le(), ri = new Le(), ni = new Le(), ii = new Le(), So = new Le(), wo = new Le(), Ee = function() {
11923
11922
  function e(t, r, n, i) {
11924
11923
  n < 0 && (t = t + n, n = -n), i < 0 && (r = r + i, i = -i), this.x = t, this.y = r, this.width = n, this.height = i;
11925
11924
  }
@@ -11978,7 +11977,7 @@ var Le = function() {
11978
11977
  t.width = u - t.x, t.height = l - t.y;
11979
11978
  }, e;
11980
11979
  }(), ey = {};
11981
- function Xt(e, t) {
11980
+ function Zt(e, t) {
11982
11981
  t = t || ji;
11983
11982
  var r = ey[t];
11984
11983
  r || (r = ey[t] = new nu(500));
@@ -11986,7 +11985,7 @@ function Xt(e, t) {
11986
11985
  return n == null && (n = to.measureText(e, t).width, r.put(e, n)), n;
11987
11986
  }
11988
11987
  function ty(e, t, r, n) {
11989
- var i = Xt(e, t), a = Tv(t), o = qo(0, i, r), s = xa(0, a, n), u = new De(o, s, i, a);
11988
+ var i = Zt(e, t), a = Tv(t), o = qo(0, i, r), s = xa(0, a, n), u = new Ee(o, s, i, a);
11990
11989
  return u;
11991
11990
  }
11992
11991
  function Oc(e, t, r, n) {
@@ -11994,7 +11993,7 @@ function Oc(e, t, r, n) {
11994
11993
  `), a = i.length;
11995
11994
  if (a === 1)
11996
11995
  return ty(i[0], t, r, n);
11997
- for (var o = new De(0, 0, 0, 0), s = 0; s < i.length; s++) {
11996
+ for (var o = new Ee(0, 0, 0, 0), s = 0; s < i.length; s++) {
11998
11997
  var u = ty(i[s], t, r, n);
11999
11998
  s === 0 ? o.copy(u) : o.union(u);
12000
11999
  }
@@ -12007,7 +12006,7 @@ function xa(e, t, r) {
12007
12006
  return r === "middle" ? e -= t / 2 : r === "bottom" && (e -= t), e;
12008
12007
  }
12009
12008
  function Tv(e) {
12010
- return Xt("国", e);
12009
+ return Zt("国", e);
12011
12010
  }
12012
12011
  function Hi(e, t) {
12013
12012
  return typeof e == "string" ? e.lastIndexOf("%") >= 0 ? parseFloat(e) / 100 * t : parseFloat(e) : e;
@@ -12077,19 +12076,19 @@ function qS(e, t, r, n) {
12077
12076
  var i = Z({}, n);
12078
12077
  i.font = t, r = me(r, "..."), i.maxIterations = me(n.maxIterations, 2);
12079
12078
  var a = i.minChar = me(n.minChar, 0);
12080
- i.cnCharWidth = Xt("国", t);
12081
- var o = i.ascCharWidth = Xt("a", t);
12079
+ i.cnCharWidth = Zt("国", t);
12080
+ var o = i.ascCharWidth = Zt("a", t);
12082
12081
  i.placeholder = me(n.placeholder, "");
12083
12082
  for (var s = e = Math.max(0, e - 1), u = 0; u < a && s >= o; u++)
12084
12083
  s -= o;
12085
- var l = Xt(r, t);
12084
+ var l = Zt(r, t);
12086
12085
  return l > s && (r = "", l = 0), s = e - l, i.ellipsis = r, i.ellipsisWidth = l, i.contentWidth = s, i.containerWidth = e, i;
12087
12086
  }
12088
12087
  function ZS(e, t) {
12089
12088
  var r = t.containerWidth, n = t.font, i = t.contentWidth;
12090
12089
  if (!r)
12091
12090
  return "";
12092
- var a = Xt(e, n);
12091
+ var a = Zt(e, n);
12093
12092
  if (a <= r)
12094
12093
  return e;
12095
12094
  for (var o = 0; ; o++) {
@@ -12098,7 +12097,7 @@ function ZS(e, t) {
12098
12097
  break;
12099
12098
  }
12100
12099
  var s = o === 0 ? sP(e, i, t.ascCharWidth, t.cnCharWidth) : a > 0 ? Math.floor(e.length * i / a) : 0;
12101
- e = e.substr(0, s), a = Xt(e, n);
12100
+ e = e.substr(0, s), a = Zt(e, n);
12102
12101
  }
12103
12102
  return e === "" && (e = t.placeholder), e;
12104
12103
  }
@@ -12126,7 +12125,7 @@ function uP(e, t) {
12126
12125
  }), g = 0; g < f.length; g++)
12127
12126
  f[g] = ZS(f[g], v);
12128
12127
  for (var m = d, y = 0, g = 0; g < f.length; g++)
12129
- y = Math.max(Xt(f[g], i), y);
12128
+ y = Math.max(Zt(f[g], i), y);
12130
12129
  c == null && (c = y);
12131
12130
  var _ = y;
12132
12131
  return n && (m += n[0] + n[2], _ += n[1] + n[3], c += n[1] + n[3]), u && (_ = c), {
@@ -12180,14 +12179,14 @@ function fP(e, t) {
12180
12179
  }
12181
12180
  var M = C.width, I = M == null || M === "auto";
12182
12181
  if (typeof M == "string" && M.charAt(M.length - 1) === "%")
12183
- x.percentWidth = M, c.push(x), x.contentWidth = Xt(x.text, w);
12182
+ x.percentWidth = M, c.push(x), x.contentWidth = Zt(x.text, w);
12184
12183
  else {
12185
12184
  if (I) {
12186
12185
  var P = C.backgroundColor, N = P && P.image;
12187
12186
  N && (N = nP(N), Rc(N) && (x.width = Math.max(x.width, N.width * D / N.height)));
12188
12187
  }
12189
12188
  var L = p && n != null ? n - b : null;
12190
- L != null && L < x.width ? !I || L < A ? (x.text = "", x.width = x.contentWidth = 0) : (x.text = oP(x.text, L - A, w, t.ellipsis, { minChar: t.truncateMinChar }), x.width = x.contentWidth = Xt(x.text, w)) : x.contentWidth = Xt(x.text, w);
12189
+ L != null && L < x.width ? !I || L < A ? (x.text = "", x.width = x.contentWidth = 0) : (x.text = oP(x.text, L - A, w, t.ellipsis, { minChar: t.truncateMinChar }), x.width = x.contentWidth = Zt(x.text, w)) : x.contentWidth = Zt(x.text, w);
12191
12190
  }
12192
12191
  x.width += A, b += x.width, C && (_ = Math.max(_, x.lineHeight));
12193
12192
  }
@@ -12217,7 +12216,7 @@ function Bf(e, t, r, n, i) {
12217
12216
  `);
12218
12217
  for (var g = 0; g < c.length; g++) {
12219
12218
  var m = c[g], y = new lP();
12220
- if (y.styleName = i, y.text = m, y.isLineHolder = !m && !a, typeof o.width == "number" ? y.width = o.width : y.width = f ? f[g] : Xt(m, u), !g && !l) {
12219
+ if (y.styleName = i, y.text = m, y.isLineHolder = !m && !a, typeof o.width == "number" ? y.width = o.width : y.width = f ? f[g] : Zt(m, u), !g && !l) {
12221
12220
  var _ = (s[s.length - 1] || (s[0] = new ry())).tokens, b = _.length;
12222
12221
  b === 1 && _[0].isLineHolder ? _[0] = y : (m || !b || a) && _.push(y);
12223
12222
  } else
@@ -12242,7 +12241,7 @@ function XS(e, t, r, n, i) {
12242
12241
  u && (s += u, c += l), a.push(s), o.push(c), s = "", u = "", l = 0, c = 0;
12243
12242
  continue;
12244
12243
  }
12245
- var d = Xt(h, t), p = n ? !1 : !pP(h);
12244
+ var d = Zt(h, t), p = n ? !1 : !pP(h);
12246
12245
  if (a.length ? c + d > r : i + c + d > r) {
12247
12246
  c ? (s || u) && (p ? (s || (s = u, u = "", l = 0, c = l), a.push(s), o.push(c - l), u += h, l += d, s = "", c = l) : (u && (s += u, u = "", l = 0), a.push(s), o.push(c), s = h, c = d)) : p ? (a.push(u), o.push(l), u = h, l = d) : (a.push(h), o.push(d));
12248
12247
  continue;
@@ -12503,7 +12502,7 @@ function Ln(e) {
12503
12502
  function JS(e) {
12504
12503
  return e > KS || e < -1e-8;
12505
12504
  }
12506
- function ct(e, t, r, n, i) {
12505
+ function ft(e, t, r, n, i) {
12507
12506
  var a = 1 - i;
12508
12507
  return a * a * (a * e + 3 * i * t) + i * i * (i * n + 3 * a * r);
12509
12508
  }
@@ -12563,15 +12562,15 @@ function CP(e, t, r, n, i, a, o, s, u, l, c) {
12563
12562
  var f, h = 5e-3, d = 1 / 0, p, v, g, m;
12564
12563
  Br[0] = u, Br[1] = l;
12565
12564
  for (var y = 0; y < 1; y += 0.05)
12566
- fr[0] = ct(e, r, i, o, y), fr[1] = ct(t, n, a, s, y), g = Va(Br, fr), g < d && (f = y, d = g);
12565
+ fr[0] = ft(e, r, i, o, y), fr[1] = ft(t, n, a, s, y), g = Va(Br, fr), g < d && (f = y, d = g);
12567
12566
  d = 1 / 0;
12568
12567
  for (var _ = 0; _ < 32 && !(h < QS); _++)
12569
- p = f - h, v = f + h, fr[0] = ct(e, r, i, o, p), fr[1] = ct(t, n, a, s, p), g = Va(fr, Br), p >= 0 && g < d ? (f = p, d = g) : (Fa[0] = ct(e, r, i, o, v), Fa[1] = ct(t, n, a, s, v), m = Va(Fa, Br), v <= 1 && m < d ? (f = v, d = m) : h *= 0.5);
12568
+ p = f - h, v = f + h, fr[0] = ft(e, r, i, o, p), fr[1] = ft(t, n, a, s, p), g = Va(fr, Br), p >= 0 && g < d ? (f = p, d = g) : (Fa[0] = ft(e, r, i, o, v), Fa[1] = ft(t, n, a, s, v), m = Va(Fa, Br), v <= 1 && m < d ? (f = v, d = m) : h *= 0.5);
12570
12569
  return zn(d);
12571
12570
  }
12572
12571
  function TP(e, t, r, n, i, a, o, s, u) {
12573
12572
  for (var l = e, c = t, f = 0, h = 1 / u, d = 1; d <= u; d++) {
12574
- var p = d * h, v = ct(e, r, i, o, p), g = ct(t, n, a, s, p), m = v - l, y = g - c;
12573
+ var p = d * h, v = ft(e, r, i, o, p), g = ft(t, n, a, s, p), m = v - l, y = g - c;
12575
12574
  f += Math.sqrt(m * m + y * y), l = v, c = g;
12576
12575
  }
12577
12576
  return f;
@@ -12649,7 +12648,7 @@ function rw(e) {
12649
12648
  return;
12650
12649
  var s = [];
12651
12650
  return function(u) {
12652
- return u <= 0 ? 0 : u >= 1 ? 1 : kl(0, n, a, 1, u, s) && ct(0, i, o, 1, s[0]);
12651
+ return u <= 0 ? 0 : u >= 1 ? 1 : kl(0, n, a, 1, u, s) && ft(0, i, o, 1, s[0]);
12653
12652
  };
12654
12653
  }
12655
12654
  }
@@ -12849,7 +12848,7 @@ function jf(e, t, r) {
12849
12848
  function Ou(e, t, r) {
12850
12849
  return e + (t - e) * r;
12851
12850
  }
12852
- function ar(e, t, r, n, i) {
12851
+ function ir(e, t, r, n, i) {
12853
12852
  return e[0] = t, e[1] = r, e[2] = n, e[3] = i, e;
12854
12853
  }
12855
12854
  function Dd(e, t) {
@@ -12874,17 +12873,17 @@ function ln(e, t) {
12874
12873
  if (i === 4 || i === 5) {
12875
12874
  var a = parseInt(n.slice(1, 4), 16);
12876
12875
  if (!(a >= 0 && a <= 4095)) {
12877
- ar(t, 0, 0, 0, 1);
12876
+ ir(t, 0, 0, 0, 1);
12878
12877
  return;
12879
12878
  }
12880
- return ar(t, (a & 3840) >> 4 | (a & 3840) >> 8, a & 240 | (a & 240) >> 4, a & 15 | (a & 15) << 4, i === 5 ? parseInt(n.slice(4), 16) / 15 : 1), sa(e, t), t;
12879
+ return ir(t, (a & 3840) >> 4 | (a & 3840) >> 8, a & 240 | (a & 240) >> 4, a & 15 | (a & 15) << 4, i === 5 ? parseInt(n.slice(4), 16) / 15 : 1), sa(e, t), t;
12881
12880
  } else if (i === 7 || i === 9) {
12882
12881
  var a = parseInt(n.slice(1, 7), 16);
12883
12882
  if (!(a >= 0 && a <= 16777215)) {
12884
- ar(t, 0, 0, 0, 1);
12883
+ ir(t, 0, 0, 0, 1);
12885
12884
  return;
12886
12885
  }
12887
- return ar(t, (a & 16711680) >> 16, (a & 65280) >> 8, a & 255, i === 9 ? parseInt(n.slice(7), 16) / 255 : 1), sa(e, t), t;
12886
+ return ir(t, (a & 16711680) >> 16, (a & 65280) >> 8, a & 255, i === 9 ? parseInt(n.slice(7), 16) / 255 : 1), sa(e, t), t;
12888
12887
  }
12889
12888
  return;
12890
12889
  }
@@ -12894,22 +12893,22 @@ function ln(e, t) {
12894
12893
  switch (u) {
12895
12894
  case "rgba":
12896
12895
  if (l.length !== 4)
12897
- return l.length === 3 ? ar(t, +l[0], +l[1], +l[2], 1) : ar(t, 0, 0, 0, 1);
12896
+ return l.length === 3 ? ir(t, +l[0], +l[1], +l[2], 1) : ir(t, 0, 0, 0, 1);
12898
12897
  c = ls(l.pop());
12899
12898
  case "rgb":
12900
12899
  if (l.length >= 3)
12901
- return ar(t, $f(l[0]), $f(l[1]), $f(l[2]), l.length === 3 ? c : ls(l[3])), sa(e, t), t;
12902
- ar(t, 0, 0, 0, 1);
12900
+ return ir(t, $f(l[0]), $f(l[1]), $f(l[2]), l.length === 3 ? c : ls(l[3])), sa(e, t), t;
12901
+ ir(t, 0, 0, 0, 1);
12903
12902
  return;
12904
12903
  case "hsla":
12905
12904
  if (l.length !== 4) {
12906
- ar(t, 0, 0, 0, 1);
12905
+ ir(t, 0, 0, 0, 1);
12907
12906
  return;
12908
12907
  }
12909
12908
  return l[3] = ls(l[3]), ly(l, t), sa(e, t), t;
12910
12909
  case "hsl":
12911
12910
  if (l.length !== 3) {
12912
- ar(t, 0, 0, 0, 1);
12911
+ ir(t, 0, 0, 0, 1);
12913
12912
  return;
12914
12913
  }
12915
12914
  return ly(l, t), sa(e, t), t;
@@ -12917,12 +12916,12 @@ function ln(e, t) {
12917
12916
  return;
12918
12917
  }
12919
12918
  }
12920
- ar(t, 0, 0, 0, 1);
12919
+ ir(t, 0, 0, 0, 1);
12921
12920
  }
12922
12921
  }
12923
12922
  function ly(e, t) {
12924
12923
  var r = (parseFloat(e[0]) % 360 + 360) % 360 / 360, n = ls(e[1]), i = ls(e[2]), a = i <= 0.5 ? i * (n + 1) : i + n - i * n, o = i * 2 - a;
12925
- return t = t || [], ar(t, $n(jf(o, a, r + 1 / 3) * 255), $n(jf(o, a, r) * 255), $n(jf(o, a, r - 1 / 3) * 255), 1), e.length === 4 && (t[3] = e[3]), t;
12924
+ return t = t || [], ir(t, $n(jf(o, a, r + 1 / 3) * 255), $n(jf(o, a, r) * 255), $n(jf(o, a, r - 1 / 3) * 255), 1), e.length === 4 && (t[3] = e[3]), t;
12926
12925
  }
12927
12926
  function cy(e, t) {
12928
12927
  var r = ln(e);
@@ -13456,7 +13455,7 @@ var xo = [0, 0, 0, 0], VP = function() {
13456
13455
  fe.hasGlobalWindow && (aw = Math.max(window.devicePixelRatio || window.screen && window.screen.deviceXDPI / window.screen.logicalXDPI || 1, 1));
13457
13456
  var Vl = aw, Od = 0.4, Id = "#333", Pd = "#ccc", FP = "#eee", jr = 1, pl = 2, Xo = 4, Wf = "__zr_normal__", Hf = Is.concat(["ignore"]), zP = no(Is, function(e, t) {
13458
13457
  return e[t] = !0, e;
13459
- }, { ignore: !1 }), ua = {}, $P = new De(0, 0, 0, 0), Pc = function() {
13458
+ }, { ignore: !1 }), ua = {}, $P = new Ee(0, 0, 0, 0), Pc = function() {
13460
13459
  function e(t) {
13461
13460
  this.id = VS(), this.animators = [], this.currentStates = [], this.states = {}, this._init(t);
13462
13461
  }
@@ -13954,13 +13953,13 @@ var gy = ["z", "z2", "invisible"], UP = ["invisible"], iu = function(e) {
13954
13953
  var r = this._paintRect;
13955
13954
  if (!this._paintRect || this.__dirty) {
13956
13955
  var n = this.transform, i = this.getBoundingRect(), a = this.style, o = a.shadowBlur || 0, s = a.shadowOffsetX || 0, u = a.shadowOffsetY || 0;
13957
- r = this._paintRect || (this._paintRect = new De(0, 0, 0, 0)), n ? De.applyTransform(r, i, n) : r.copy(i), (o || s || u) && (r.width += o * 2 + Math.abs(s), r.height += o * 2 + Math.abs(u), r.x = Math.min(r.x, r.x + s - o), r.y = Math.min(r.y, r.y + u - o));
13956
+ r = this._paintRect || (this._paintRect = new Ee(0, 0, 0, 0)), n ? Ee.applyTransform(r, i, n) : r.copy(i), (o || s || u) && (r.width += o * 2 + Math.abs(s), r.height += o * 2 + Math.abs(u), r.x = Math.min(r.x, r.x + s - o), r.y = Math.min(r.y, r.y + u - o));
13958
13957
  var l = this.dirtyRectTolerance;
13959
13958
  r.isZero() || (r.x = Math.floor(r.x - l), r.y = Math.floor(r.y - l), r.width = Math.ceil(r.width + 1 + l * 2), r.height = Math.ceil(r.height + 1 + l * 2));
13960
13959
  }
13961
13960
  return r;
13962
13961
  }, t.prototype.setPrevPaintRect = function(r) {
13963
- r ? (this._prevPaintRect = this._prevPaintRect || new De(0, 0, 0, 0), this._prevPaintRect.copy(r)) : this._prevPaintRect = null;
13962
+ r ? (this._prevPaintRect = this._prevPaintRect || new Ee(0, 0, 0, 0), this._prevPaintRect.copy(r)) : this._prevPaintRect = null;
13964
13963
  }, t.prototype.getPrevPaintRect = function() {
13965
13964
  return this._prevPaintRect;
13966
13965
  }, t.prototype.animateStyle = function(r) {
@@ -14027,7 +14026,7 @@ var gy = ["z", "z2", "invisible"], UP = ["invisible"], iu = function(e) {
14027
14026
  var r = t.prototype;
14028
14027
  r.type = "displayable", r.invisible = !1, r.z = 0, r.z2 = 0, r.zlevel = 0, r.culling = !1, r.cursor = "pointer", r.rectHover = !1, r.incremental = !1, r._rect = null, r.dirtyRectTolerance = 0, r.__dirty = jr | pl;
14029
14028
  }(), t;
14030
- }(Pc), qf = new De(0, 0, 0, 0), Zf = new De(0, 0, 0, 0);
14029
+ }(Pc), qf = new Ee(0, 0, 0, 0), Zf = new Ee(0, 0, 0, 0);
14031
14030
  function YP(e, t, r) {
14032
14031
  return qf.copy(e.getBoundingRect()), e.transform && qf.applyTransform(e.transform), Zf.width = t, Zf.height = r, !qf.intersect(Zf);
14033
14032
  }
@@ -14037,7 +14036,7 @@ function my(e, t, r, n, i, a) {
14037
14036
  }
14038
14037
  var yy = [], _y = [];
14039
14038
  function qP(e, t, r, n, i, a, o, s, u, l) {
14040
- var c = ew, f = ct, h = c(e, r, i, o, yy);
14039
+ var c = ew, f = ft, h = c(e, r, i, o, yy);
14041
14040
  u[0] = 1 / 0, u[1] = 1 / 0, l[0] = -1 / 0, l[1] = -1 / 0;
14042
14041
  for (var d = 0; d < h; d++) {
14043
14042
  var p = f(e, r, i, o, yy[d]);
@@ -14067,7 +14066,7 @@ function XP(e, t, r, n, i, a, o, s, u) {
14067
14066
  for (var d = 0; d < a; d += Math.PI / 2)
14068
14067
  d > i && (Vu[0] = Kf(d) * r + e, Vu[1] = Xf(d) * n + t, l(s, Vu, s), c(u, Vu, u));
14069
14068
  }
14070
- var Oe = {
14069
+ var Re = {
14071
14070
  M: 1,
14072
14071
  L: 2,
14073
14072
  C: 3,
@@ -14107,10 +14106,10 @@ var Ui = function() {
14107
14106
  }, e.prototype.reset = function() {
14108
14107
  this._saveData && (this._len = 0), this._pathSegLen && (this._pathSegLen = null, this._pathLen = 0), this._version++;
14109
14108
  }, e.prototype.moveTo = function(t, r) {
14110
- return this._drawPendingPt(), this.addData(Oe.M, t, r), this._ctx && this._ctx.moveTo(t, r), this._x0 = t, this._y0 = r, this._xi = t, this._yi = r, this;
14109
+ return this._drawPendingPt(), this.addData(Re.M, t, r), this._ctx && this._ctx.moveTo(t, r), this._x0 = t, this._y0 = r, this._xi = t, this._yi = r, this;
14111
14110
  }, e.prototype.lineTo = function(t, r) {
14112
14111
  var n = Jr(t - this._xi), i = Jr(r - this._yi), a = n > this._ux || i > this._uy;
14113
- if (this.addData(Oe.L, t, r), this._ctx && a && this._ctx.lineTo(t, r), a)
14112
+ if (this.addData(Re.L, t, r), this._ctx && a && this._ctx.lineTo(t, r), a)
14114
14113
  this._xi = t, this._yi = r, this._pendingPtDist = 0;
14115
14114
  else {
14116
14115
  var o = n * n + i * i;
@@ -14118,19 +14117,19 @@ var Ui = function() {
14118
14117
  }
14119
14118
  return this;
14120
14119
  }, e.prototype.bezierCurveTo = function(t, r, n, i, a, o) {
14121
- return this._drawPendingPt(), this.addData(Oe.C, t, r, n, i, a, o), this._ctx && this._ctx.bezierCurveTo(t, r, n, i, a, o), this._xi = a, this._yi = o, this;
14120
+ return this._drawPendingPt(), this.addData(Re.C, t, r, n, i, a, o), this._ctx && this._ctx.bezierCurveTo(t, r, n, i, a, o), this._xi = a, this._yi = o, this;
14122
14121
  }, e.prototype.quadraticCurveTo = function(t, r, n, i) {
14123
- return this._drawPendingPt(), this.addData(Oe.Q, t, r, n, i), this._ctx && this._ctx.quadraticCurveTo(t, r, n, i), this._xi = n, this._yi = i, this;
14122
+ return this._drawPendingPt(), this.addData(Re.Q, t, r, n, i), this._ctx && this._ctx.quadraticCurveTo(t, r, n, i), this._xi = n, this._yi = i, this;
14124
14123
  }, e.prototype.arc = function(t, r, n, i, a, o) {
14125
14124
  this._drawPendingPt(), Co[0] = i, Co[1] = a, KP(Co, o), i = Co[0], a = Co[1];
14126
14125
  var s = a - i;
14127
- return this.addData(Oe.A, t, r, n, n, i, s, 0, o ? 0 : 1), this._ctx && this._ctx.arc(t, r, n, i, a, o), this._xi = ci(a) * n + t, this._yi = fi(a) * n + r, this;
14126
+ return this.addData(Re.A, t, r, n, n, i, s, 0, o ? 0 : 1), this._ctx && this._ctx.arc(t, r, n, i, a, o), this._xi = ci(a) * n + t, this._yi = fi(a) * n + r, this;
14128
14127
  }, e.prototype.arcTo = function(t, r, n, i, a) {
14129
14128
  return this._drawPendingPt(), this._ctx && this._ctx.arcTo(t, r, n, i, a), this;
14130
14129
  }, e.prototype.rect = function(t, r, n, i) {
14131
- return this._drawPendingPt(), this._ctx && this._ctx.rect(t, r, n, i), this.addData(Oe.R, t, r, n, i), this;
14130
+ return this._drawPendingPt(), this._ctx && this._ctx.rect(t, r, n, i), this.addData(Re.R, t, r, n, i), this;
14132
14131
  }, e.prototype.closePath = function() {
14133
- this._drawPendingPt(), this.addData(Oe.Z);
14132
+ this._drawPendingPt(), this.addData(Re.Z);
14134
14133
  var t = this._ctx, r = this._x0, n = this._y0;
14135
14134
  return t && t.closePath(), this._xi = r, this._yi = n, this;
14136
14135
  }, e.prototype.fill = function(t) {
@@ -14181,36 +14180,36 @@ var Ui = function() {
14181
14180
  for (o = 0; o < this._len; ) {
14182
14181
  var s = t[o++], u = o === 1;
14183
14182
  switch (u && (r = t[o], n = t[o + 1], i = r, a = n), s) {
14184
- case Oe.M:
14183
+ case Re.M:
14185
14184
  r = i = t[o++], n = a = t[o++], kr[0] = i, kr[1] = a, Nr[0] = i, Nr[1] = a;
14186
14185
  break;
14187
- case Oe.L:
14186
+ case Re.L:
14188
14187
  my(r, n, t[o], t[o + 1], kr, Nr), r = t[o++], n = t[o++];
14189
14188
  break;
14190
- case Oe.C:
14189
+ case Re.C:
14191
14190
  qP(r, n, t[o++], t[o++], t[o++], t[o++], t[o], t[o + 1], kr, Nr), r = t[o++], n = t[o++];
14192
14191
  break;
14193
- case Oe.Q:
14192
+ case Re.Q:
14194
14193
  ZP(r, n, t[o++], t[o++], t[o], t[o + 1], kr, Nr), r = t[o++], n = t[o++];
14195
14194
  break;
14196
- case Oe.A:
14195
+ case Re.A:
14197
14196
  var l = t[o++], c = t[o++], f = t[o++], h = t[o++], d = t[o++], p = t[o++] + d;
14198
14197
  o += 1;
14199
14198
  var v = !t[o++];
14200
14199
  u && (i = ci(d) * f + l, a = fi(d) * h + c), XP(l, c, f, h, d, p, v, kr, Nr), r = ci(p) * f + l, n = fi(p) * h + c;
14201
14200
  break;
14202
- case Oe.R:
14201
+ case Re.R:
14203
14202
  i = r = t[o++], a = n = t[o++];
14204
14203
  var g = t[o++], m = t[o++];
14205
14204
  my(i, a, i + g, a + m, kr, Nr);
14206
14205
  break;
14207
- case Oe.Z:
14206
+ case Re.Z:
14208
14207
  r = i, n = a;
14209
14208
  break;
14210
14209
  }
14211
14210
  Ea(Pr, Pr, kr), Da(wn, wn, Nr);
14212
14211
  }
14213
- return o === 0 && (Pr[0] = Pr[1] = wn[0] = wn[1] = 0), new De(Pr[0], Pr[1], wn[0] - Pr[0], wn[1] - Pr[1]);
14212
+ return o === 0 && (Pr[0] = Pr[1] = wn[0] = wn[1] = 0), new Ee(Pr[0], Pr[1], wn[0] - Pr[0], wn[1] - Pr[1]);
14214
14213
  }, e.prototype._calculateLength = function() {
14215
14214
  var t = this.data, r = this._len, n = this._ux, i = this._uy, a = 0, o = 0, s = 0, u = 0;
14216
14215
  this._pathSegLen || (this._pathSegLen = []);
@@ -14219,35 +14218,35 @@ var Ui = function() {
14219
14218
  p && (a = t[h], o = t[h + 1], s = a, u = o);
14220
14219
  var v = -1;
14221
14220
  switch (d) {
14222
- case Oe.M:
14221
+ case Re.M:
14223
14222
  a = s = t[h++], o = u = t[h++];
14224
14223
  break;
14225
- case Oe.L: {
14224
+ case Re.L: {
14226
14225
  var g = t[h++], m = t[h++], y = g - a, _ = m - o;
14227
14226
  (Jr(y) > n || Jr(_) > i || h === r - 1) && (v = Math.sqrt(y * y + _ * _), a = g, o = m);
14228
14227
  break;
14229
14228
  }
14230
- case Oe.C: {
14229
+ case Re.C: {
14231
14230
  var b = t[h++], S = t[h++], g = t[h++], m = t[h++], x = t[h++], C = t[h++];
14232
14231
  v = TP(a, o, b, S, g, m, x, C, 10), a = x, o = C;
14233
14232
  break;
14234
14233
  }
14235
- case Oe.Q: {
14234
+ case Re.Q: {
14236
14235
  var b = t[h++], S = t[h++], g = t[h++], m = t[h++];
14237
14236
  v = AP(a, o, b, S, g, m, 10), a = g, o = m;
14238
14237
  break;
14239
14238
  }
14240
- case Oe.A:
14239
+ case Re.A:
14241
14240
  var T = t[h++], A = t[h++], w = t[h++], D = t[h++], M = t[h++], I = t[h++], P = I + M;
14242
14241
  h += 1, p && (s = ci(M) * w + T, u = fi(M) * D + A), v = Jf(w, D) * Qf(In, Math.abs(I)), a = ci(P) * w + T, o = fi(P) * D + A;
14243
14242
  break;
14244
- case Oe.R: {
14243
+ case Re.R: {
14245
14244
  s = a = t[h++], u = o = t[h++];
14246
14245
  var N = t[h++], L = t[h++];
14247
14246
  v = N * 2 + L * 2;
14248
14247
  break;
14249
14248
  }
14250
- case Oe.Z: {
14249
+ case Re.Z: {
14251
14250
  var y = s - a, _ = u - o;
14252
14251
  v = Math.sqrt(y * y + _ * _), a = s, o = u;
14253
14252
  break;
@@ -14261,11 +14260,11 @@ var Ui = function() {
14261
14260
  if (!(d && (this._pathSegLen || this._calculateLength(), p = this._pathSegLen, v = this._pathLen, y = r * v, !y)))
14262
14261
  e: for (var x = 0; x < o; ) {
14263
14262
  var C = n[x++], T = x === 1;
14264
- switch (T && (l = n[x], c = n[x + 1], s = l, u = c), C !== Oe.L && _ > 0 && (t.lineTo(b, S), _ = 0), C) {
14265
- case Oe.M:
14263
+ switch (T && (l = n[x], c = n[x + 1], s = l, u = c), C !== Re.L && _ > 0 && (t.lineTo(b, S), _ = 0), C) {
14264
+ case Re.M:
14266
14265
  s = l = n[x++], u = c = n[x++], t.moveTo(l, c);
14267
14266
  break;
14268
- case Oe.L: {
14267
+ case Re.L: {
14269
14268
  f = n[x++], h = n[x++];
14270
14269
  var A = Jr(f - l), w = Jr(h - c);
14271
14270
  if (A > i || w > a) {
@@ -14285,7 +14284,7 @@ var Ui = function() {
14285
14284
  }
14286
14285
  break;
14287
14286
  }
14288
- case Oe.C: {
14287
+ case Re.C: {
14289
14288
  var P = n[x++], N = n[x++], L = n[x++], U = n[x++], $ = n[x++], W = n[x++];
14290
14289
  if (d) {
14291
14290
  var D = p[m++];
@@ -14299,7 +14298,7 @@ var Ui = function() {
14299
14298
  t.bezierCurveTo(P, N, L, U, $, W), l = $, c = W;
14300
14299
  break;
14301
14300
  }
14302
- case Oe.Q: {
14301
+ case Re.Q: {
14303
14302
  var P = n[x++], N = n[x++], L = n[x++], U = n[x++];
14304
14303
  if (d) {
14305
14304
  var D = p[m++];
@@ -14313,7 +14312,7 @@ var Ui = function() {
14313
14312
  t.quadraticCurveTo(P, N, L, U), l = L, c = U;
14314
14313
  break;
14315
14314
  }
14316
- case Oe.A:
14315
+ case Re.A:
14317
14316
  var k = n[x++], B = n[x++], F = n[x++], H = n[x++], Y = n[x++], ae = n[x++], X = n[x++], re = !n[x++], le = F > H ? F : H, oe = Jr(F - H) > 1e-3, ne = Y + ae, ee = !1;
14318
14317
  if (d) {
14319
14318
  var D = p[m++];
@@ -14323,7 +14322,7 @@ var Ui = function() {
14323
14322
  break e;
14324
14323
  T && (s = ci(Y) * F + k, u = fi(Y) * H + B), l = ci(ne) * F + k, c = fi(ne) * H + B;
14325
14324
  break;
14326
- case Oe.R:
14325
+ case Re.R:
14327
14326
  s = l = n[x], u = c = n[x + 1], f = n[x++], h = n[x++];
14328
14327
  var z = n[x++], Ye = n[x++];
14329
14328
  if (d) {
@@ -14337,7 +14336,7 @@ var Ui = function() {
14337
14336
  }
14338
14337
  t.rect(f, h, z, Ye);
14339
14338
  break;
14340
- case Oe.Z:
14339
+ case Re.Z:
14341
14340
  if (d) {
14342
14341
  var D = p[m++];
14343
14342
  if (g + D > y) {
@@ -14353,7 +14352,7 @@ var Ui = function() {
14353
14352
  }, e.prototype.clone = function() {
14354
14353
  var t = new e(), r = this.data;
14355
14354
  return t.data = r.slice ? r.slice() : Array.prototype.slice.call(r), t._len = this._len, t;
14356
- }, e.CMD = Oe, e.initDefaultProps = function() {
14355
+ }, e.CMD = Re, e.initDefaultProps = function() {
14357
14356
  var t = e.prototype;
14358
14357
  t._saveData = !0, t._ux = 0, t._uy = 0, t._pendingPtDist = 0, t._version = 0;
14359
14358
  }(), e;
@@ -14425,10 +14424,10 @@ var xn = Ui.CMD, di = Math.PI * 2, tk = 1e-4;
14425
14424
  function rk(e, t) {
14426
14425
  return Math.abs(e - t) < tk;
14427
14426
  }
14428
- var Ct = [-1, -1, -1], ur = [-1, -1];
14427
+ var Ct = [-1, -1, -1], sr = [-1, -1];
14429
14428
  function nk() {
14430
- var e = ur[0];
14431
- ur[0] = ur[1], ur[1] = e;
14429
+ var e = sr[0];
14430
+ sr[0] = sr[1], sr[1] = e;
14432
14431
  }
14433
14432
  function ik(e, t, r, n, i, a, o, s, u, l) {
14434
14433
  if (l > t && l > n && l > a && l > s || l < t && l < n && l < a && l < s)
@@ -14437,8 +14436,8 @@ function ik(e, t, r, n, i, a, o, s, u, l) {
14437
14436
  if (c === 0)
14438
14437
  return 0;
14439
14438
  for (var f = 0, h = -1, d = void 0, p = void 0, v = 0; v < c; v++) {
14440
- var g = Ct[v], m = g === 0 || g === 1 ? 0.5 : 1, y = ct(e, r, i, o, g);
14441
- y < u || (h < 0 && (h = ew(t, n, a, s, ur), ur[1] < ur[0] && h > 1 && nk(), d = ct(t, n, a, s, ur[0]), h > 1 && (p = ct(t, n, a, s, ur[1]))), h === 2 ? g < ur[0] ? f += d < t ? m : -m : g < ur[1] ? f += p < d ? m : -m : f += s < p ? m : -m : g < ur[0] ? f += d < t ? m : -m : f += s < d ? m : -m);
14439
+ var g = Ct[v], m = g === 0 || g === 1 ? 0.5 : 1, y = ft(e, r, i, o, g);
14440
+ y < u || (h < 0 && (h = ew(t, n, a, s, sr), sr[1] < sr[0] && h > 1 && nk(), d = ft(t, n, a, s, sr[0]), h > 1 && (p = ft(t, n, a, s, sr[1]))), h === 2 ? g < sr[0] ? f += d < t ? m : -m : g < sr[1] ? f += p < d ? m : -m : f += s < p ? m : -m : g < sr[0] ? f += d < t ? m : -m : f += s < d ? m : -m);
14442
14441
  }
14443
14442
  return f;
14444
14443
  }
@@ -14843,7 +14842,7 @@ var Qn = function(e) {
14843
14842
  return hk;
14844
14843
  }, t.prototype.getBoundingRect = function() {
14845
14844
  var r = this.style;
14846
- return this._rect || (this._rect = new De(r.x || 0, r.y || 0, this.getWidth(), this.getHeight())), this._rect;
14845
+ return this._rect || (this._rect = new Ee(r.x || 0, r.y || 0, this.getWidth(), this.getHeight())), this._rect;
14847
14846
  }, t;
14848
14847
  }(iu);
14849
14848
  Qn.prototype.type = "image";
@@ -14958,7 +14957,7 @@ var Sy = {
14958
14957
  this._children[n].__zr = null;
14959
14958
  }, t.prototype.getBoundingRect = function() {
14960
14959
  if (this.styleChanged() && this._updateSubTexts(), !this._rect) {
14961
- for (var r = new De(0, 0, 0, 0), n = this._children, i = [], a = null, o = 0; o < n.length; o++) {
14960
+ for (var r = new Ee(0, 0, 0, 0), n = this._children, i = [], a = null, o = 0; o < n.length; o++) {
14962
14961
  var s = n[o], u = s.getBoundingRect(), l = s.getLocalTransform(i);
14963
14962
  l ? (r.copy(u), r.applyTransform(l), a = a || r.clone(), a.union(r)) : (a = a || u.clone(), a.union(u));
14964
14963
  }
@@ -14994,7 +14993,7 @@ var Sy = {
14994
14993
  b += d / 2, i && (_ = Ay(v, m, i), y === "top" ? b += i[0] : y === "bottom" && (b -= i[2]));
14995
14994
  for (var C = 0, T = !1, A = Dy("fill" in r ? r.fill : (T = !0, p.fill)), w = Ey("stroke" in r ? r.stroke : !u && (!p.autoStroke || T) ? (C = wy, p.stroke) : null), D = r.textShadowBlur > 0, M = r.width != null && (r.overflow === "truncate" || r.overflow === "break" || r.overflow === "breakAll"), I = o.calculatedLineHeight, P = 0; P < h.length; P++) {
14996
14995
  var N = this._getOrCreateChild(Fl), L = N.createStyle();
14997
- N.useStyle(L), L.text = h[P], L.x = _, L.y = b, L.textAlign = m, L.textBaseline = "middle", L.opacity = r.opacity, L.strokeFirst = !0, D && (L.shadowBlur = r.textShadowBlur || 0, L.shadowColor = r.textShadowColor || "transparent", L.shadowOffsetX = r.textShadowOffsetX || 0, L.shadowOffsetY = r.textShadowOffsetY || 0), L.stroke = w, L.fill = A, w && (L.lineWidth = r.lineWidth || C, L.lineDash = r.lineDash, L.lineDashOffset = r.lineDashOffset || 0), L.font = n, Cy(L, r), b += d, M && N.setBoundingRect(new De(qo(L.x, r.width, L.textAlign), xa(L.y, I, L.textBaseline), f, I));
14996
+ N.useStyle(L), L.text = h[P], L.x = _, L.y = b, L.textAlign = m, L.textBaseline = "middle", L.opacity = r.opacity, L.strokeFirst = !0, D && (L.shadowBlur = r.textShadowBlur || 0, L.shadowColor = r.textShadowColor || "transparent", L.shadowOffsetX = r.textShadowOffsetX || 0, L.shadowOffsetY = r.textShadowOffsetY || 0), L.stroke = w, L.fill = A, w && (L.lineWidth = r.lineWidth || C, L.lineDash = r.lineDash, L.lineDashOffset = r.lineDashOffset || 0), L.font = n, Cy(L, r), b += d, M && N.setBoundingRect(new Ee(qo(L.x, r.width, L.textAlign), xa(L.y, I, L.textBaseline), f, I));
14998
14997
  }
14999
14998
  }, t.prototype._updateRichTexts = function() {
15000
14999
  var r = this.style, n = My(r), i = fP(n, r), a = i.width, o = i.outerWidth, s = i.outerHeight, u = r.padding, l = r.x || 0, c = r.y || 0, f = this._defaultStyle, h = r.align || f.align, d = r.verticalAlign || f.verticalAlign, p = qo(l, o, h), v = xa(c, s, d), g = p, m = v;
@@ -15024,7 +15023,7 @@ var Sy = {
15024
15023
  var m = this._defaultStyle, y = !1, _ = 0, b = Dy("fill" in l ? l.fill : "fill" in n ? n.fill : (y = !0, m.fill)), S = Ey("stroke" in l ? l.stroke : "stroke" in n ? n.stroke : !d && !u && (!m.autoStroke || y) ? (_ = wy, m.stroke) : null), x = l.textShadowBlur > 0 || n.textShadowBlur > 0;
15025
15024
  g.text = r.text, g.x = o, g.y = f, x && (g.shadowBlur = l.textShadowBlur || n.textShadowBlur || 0, g.shadowColor = l.textShadowColor || n.textShadowColor || "transparent", g.shadowOffsetX = l.textShadowOffsetX || n.textShadowOffsetX || 0, g.shadowOffsetY = l.textShadowOffsetY || n.textShadowOffsetY || 0), g.textAlign = s, g.textBaseline = "middle", g.font = r.font || ji, g.opacity = Na(l.opacity, n.opacity, 1), Cy(g, l), S && (g.lineWidth = Na(l.lineWidth, n.lineWidth, _), g.lineDash = me(l.lineDash, n.lineDash), g.lineDashOffset = n.lineDashOffset || 0, g.stroke = S), b && (g.fill = b);
15026
15025
  var C = r.contentWidth, T = r.contentHeight;
15027
- v.setBoundingRect(new De(qo(g.x, C, g.textAlign), xa(g.y, T, g.textBaseline), C, T));
15026
+ v.setBoundingRect(new Ee(qo(g.x, C, g.textAlign), xa(g.y, T, g.textBaseline), C, T));
15028
15027
  }, t.prototype._renderBackground = function(r, n, i, a, o, s) {
15029
15028
  var u = r.backgroundColor, l = r.borderWidth, c = r.borderColor, f = u && u.image, h = u && !f, d = r.borderRadius, p = this, v, g;
15030
15029
  if (h || r.lineHeight || l && c) {
@@ -15128,7 +15127,7 @@ function yt(e, t, r, n) {
15128
15127
  }
15129
15128
  return (e - i) / u * l + o;
15130
15129
  }
15131
- function ft(e, t) {
15130
+ function ht(e, t) {
15132
15131
  switch (e) {
15133
15132
  case "center":
15134
15133
  case "middle":
@@ -16169,11 +16168,11 @@ var et = function(e) {
16169
16168
  i.removeSelfFromZr(r);
16170
16169
  }
16171
16170
  }, t.prototype.getBoundingRect = function(r) {
16172
- for (var n = new De(0, 0, 0, 0), i = r || this._children, a = [], o = null, s = 0; s < i.length; s++) {
16171
+ for (var n = new Ee(0, 0, 0, 0), i = r || this._children, a = [], o = null, s = 0; s < i.length; s++) {
16173
16172
  var u = i[s];
16174
16173
  if (!(u.ignore || u.invisible)) {
16175
16174
  var l = u.getBoundingRect(), c = u.getLocalTransform(a);
16176
- c ? (De.applyTransform(n, l, c), o = o || n.clone(), o.union(n)) : (o = o || l.clone(), o.union(l));
16175
+ c ? (Ee.applyTransform(n, l, c), o = o || n.clone(), o.union(n)) : (o = o || l.clone(), o.union(l));
16177
16176
  }
16178
16177
  }
16179
16178
  return o || n;
@@ -16215,7 +16214,7 @@ var CN = /* @__PURE__ */ function() {
16215
16214
  }, t;
16216
16215
  }(ze);
16217
16216
  kv.prototype.type = "ellipse";
16218
- var Nw = Math.PI, oh = Nw * 2, pi = Math.sin, ha = Math.cos, TN = Math.acos, pt = Math.atan2, Qy = Math.abs, ps = Math.sqrt, Qo = Math.max, Lr = Math.min, Sr = 1e-4;
16217
+ var Nw = Math.PI, oh = Nw * 2, pi = Math.sin, ha = Math.cos, TN = Math.acos, vt = Math.atan2, Qy = Math.abs, ps = Math.sqrt, Qo = Math.max, Lr = Math.min, Sr = 1e-4;
16219
16218
  function EN(e, t, r, n, i, a, o, s) {
16220
16219
  var u = r - e, l = n - t, c = o - i, f = s - a, h = f * u - c * l;
16221
16220
  if (!(h * h < Sr))
@@ -16275,14 +16274,14 @@ function AN(e, t) {
16275
16274
  e.moveTo(c + N, f + L);
16276
16275
  else if (A > Sr) {
16277
16276
  var oe = Lr(m, A), ne = Lr(y, A), ee = ju(I, P, N, L, n, oe, h), z = ju(D, M, U, $, n, ne, h);
16278
- e.moveTo(c + ee.cx + ee.x0, f + ee.cy + ee.y0), A < C && oe === ne ? e.arc(c + ee.cx, f + ee.cy, A, pt(ee.y0, ee.x0), pt(z.y0, z.x0), !h) : (oe > 0 && e.arc(c + ee.cx, f + ee.cy, oe, pt(ee.y0, ee.x0), pt(ee.y1, ee.x1), !h), e.arc(c, f, n, pt(ee.cy + ee.y1, ee.cx + ee.x1), pt(z.cy + z.y1, z.cx + z.x1), !h), ne > 0 && e.arc(c + z.cx, f + z.cy, ne, pt(z.y1, z.x1), pt(z.y0, z.x0), !h));
16277
+ e.moveTo(c + ee.cx + ee.x0, f + ee.cy + ee.y0), A < C && oe === ne ? e.arc(c + ee.cx, f + ee.cy, A, vt(ee.y0, ee.x0), vt(z.y0, z.x0), !h) : (oe > 0 && e.arc(c + ee.cx, f + ee.cy, oe, vt(ee.y0, ee.x0), vt(ee.y1, ee.x1), !h), e.arc(c, f, n, vt(ee.cy + ee.y1, ee.cx + ee.x1), vt(z.cy + z.y1, z.cx + z.x1), !h), ne > 0 && e.arc(c + z.cx, f + z.cy, ne, vt(z.y1, z.x1), vt(z.y0, z.x0), !h));
16279
16278
  } else
16280
16279
  e.moveTo(c + N, f + L), e.arc(c, f, n, u, l, !h);
16281
16280
  if (!(i > Sr) || !W)
16282
16281
  e.lineTo(c + U, f + $);
16283
16282
  else if (w > Sr) {
16284
16283
  var oe = Lr(v, w), ne = Lr(g, w), ee = ju(U, $, D, M, i, -ne, h), z = ju(N, L, I, P, i, -oe, h);
16285
- e.lineTo(c + ee.cx + ee.x0, f + ee.cy + ee.y0), w < T && oe === ne ? e.arc(c + ee.cx, f + ee.cy, w, pt(ee.y0, ee.x0), pt(z.y0, z.x0), !h) : (ne > 0 && e.arc(c + ee.cx, f + ee.cy, ne, pt(ee.y0, ee.x0), pt(ee.y1, ee.x1), !h), e.arc(c, f, i, pt(ee.cy + ee.y1, ee.cx + ee.x1), pt(z.cy + z.y1, z.cx + z.x1), h), oe > 0 && e.arc(c + z.cx, f + z.cy, oe, pt(z.y1, z.x1), pt(z.y0, z.x0), !h));
16284
+ e.lineTo(c + ee.cx + ee.x0, f + ee.cy + ee.y0), w < T && oe === ne ? e.arc(c + ee.cx, f + ee.cy, w, vt(ee.y0, ee.x0), vt(z.y0, z.x0), !h) : (ne > 0 && e.arc(c + ee.cx, f + ee.cy, ne, vt(ee.y0, ee.x0), vt(ee.y1, ee.x1), !h), e.arc(c, f, i, vt(ee.cy + ee.y1, ee.cx + ee.x1), vt(z.cy + z.y1, z.cx + z.x1), h), oe > 0 && e.arc(c + z.cx, f + z.cy, oe, vt(z.y1, z.x1), vt(z.y0, z.x0), !h));
16286
16285
  } else
16287
16286
  e.lineTo(c + U, f + $), e.arc(c, f, i, l, u, h);
16288
16287
  }
@@ -16453,8 +16452,8 @@ var Pt = [], LN = /* @__PURE__ */ function() {
16453
16452
  function Jy(e, t, r) {
16454
16453
  var n = e.cpx2, i = e.cpy2;
16455
16454
  return n != null || i != null ? [
16456
- (r ? oy : ct)(e.x1, e.cpx1, e.cpx2, e.x2, t),
16457
- (r ? oy : ct)(e.y1, e.cpy1, e.cpy2, e.y2, t)
16455
+ (r ? oy : ft)(e.x1, e.cpx1, e.cpx2, e.x2, t),
16456
+ (r ? oy : ft)(e.y1, e.cpy1, e.cpy2, e.y2, t)
16458
16457
  ] : [
16459
16458
  (r ? sy : Nt)(e.x1, e.cpx1, e.x2, t),
16460
16459
  (r ? sy : Nt)(e.y1, e.cpy1, e.y2, t)
@@ -16639,7 +16638,7 @@ var VN = function(e) {
16639
16638
  }
16640
16639
  }, t.prototype.getBoundingRect = function() {
16641
16640
  if (!this._rect) {
16642
- for (var r = new De(1 / 0, 1 / 0, -1 / 0, -1 / 0), n = 0; n < this._displayables.length; n++) {
16641
+ for (var r = new Ee(1 / 0, 1 / 0, -1 / 0, -1 / 0), n = 0; n < this._displayables.length; n++) {
16643
16642
  var i = this._displayables[n], a = i.getBoundingRect().clone();
16644
16643
  i.needLocalTransform() && a.applyTransform(i.getLocalTransform(zN)), r.union(a);
16645
16644
  }
@@ -16954,7 +16953,7 @@ const nL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16954
16953
  __proto__: null,
16955
16954
  Arc: jc,
16956
16955
  BezierCurve: Lv,
16957
- BoundingRect: De,
16956
+ BoundingRect: Ee,
16958
16957
  Circle: zc,
16959
16958
  CompoundPath: VN,
16960
16959
  Ellipse: kv,
@@ -19139,7 +19138,7 @@ var o5 = /([&<>"'])/g, s5 = {
19139
19138
  '"': "&quot;",
19140
19139
  "'": "&#39;"
19141
19140
  };
19142
- function Yt(e) {
19141
+ function Ut(e) {
19143
19142
  return e == null ? "" : (e + "").replace(o5, function(t, r) {
19144
19143
  return s5[r];
19145
19144
  });
@@ -19594,7 +19593,7 @@ function Ax(e, t, r) {
19594
19593
  for (var s = 0; s < n; s++)
19595
19594
  for (var u = 0; u < i.length; u++) {
19596
19595
  var l = t[s][i[u]];
19597
- e = e.replace(yh(T0[u], s), r ? Yt(l) : l);
19596
+ e = e.replace(yh(T0[u], s), r ? Ut(l) : l);
19598
19597
  }
19599
19598
  return e;
19600
19599
  }
@@ -19608,7 +19607,7 @@ function m5(e, t) {
19608
19607
  if (!n)
19609
19608
  return "";
19610
19609
  if (a === "html")
19611
- return i === "subItem" ? '<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:' + Yt(n) + ";" + (t || "") + '"></span>' : '<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:' + Yt(n) + ";" + (t || "") + '"></span>';
19610
+ return i === "subItem" ? '<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:' + Ut(n) + ";" + (t || "") + '"></span>' : '<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:' + Ut(n) + ";" + (t || "") + '"></span>';
19612
19611
  var o = r.markerId || "markerX";
19613
19612
  return {
19614
19613
  renderMode: a,
@@ -19658,7 +19657,7 @@ Pe(Qv, "vertical");
19658
19657
  Pe(Qv, "horizontal");
19659
19658
  function qn(e, t, r) {
19660
19659
  r = ef(r || 0);
19661
- var n = t.width, i = t.height, a = ft(e.left, n), o = ft(e.top, i), s = ft(e.right, n), u = ft(e.bottom, i), l = ft(e.width, n), c = ft(e.height, i), f = r[2] + r[0], h = r[1] + r[3], d = e.aspect;
19660
+ var n = t.width, i = t.height, a = ht(e.left, n), o = ht(e.top, i), s = ht(e.right, n), u = ht(e.bottom, i), l = ht(e.width, n), c = ht(e.height, i), f = r[2] + r[0], h = r[1] + r[3], d = e.aspect;
19662
19661
  switch (isNaN(l) && (l = n - s - h - a), isNaN(c) && (c = i - u - f - o), d != null && (isNaN(l) && isNaN(c) && (d > n / i ? l = n * 0.8 : c = i * 0.8), isNaN(l) && (l = d * c), isNaN(c) && (c = l / d)), isNaN(a) && (a = n - s - l - h), isNaN(o) && (o = i - u - c - f), e.left || e.right) {
19663
19662
  case "center":
19664
19663
  a = n / 2 - l / 2 - r[3];
@@ -19677,7 +19676,7 @@ function qn(e, t, r) {
19677
19676
  break;
19678
19677
  }
19679
19678
  a = a || 0, o = o || 0, isNaN(l) && (l = n - h - a - (s || 0)), isNaN(c) && (c = i - f - o - (u || 0));
19680
- var p = new De(a + r[3], o + r[0], l, c);
19679
+ var p = new Ee(a + r[3], o + r[0], l, c);
19681
19680
  return p.margin = r, p;
19682
19681
  }
19683
19682
  function _5(e, t, r, n, i, a) {
@@ -20287,9 +20286,9 @@ function Ox(e, t) {
20287
20286
  var r = e.color || "#6e7079", n = e.fontSize || 12, i = e.fontWeight || "400", a = e.color || "#464646", o = e.fontSize || 14, s = e.fontWeight || "900";
20288
20287
  return t === "html" ? {
20289
20288
  // eslint-disable-next-line max-len
20290
- nameStyle: "font-size:" + Yt(n + "") + "px;color:" + Yt(r) + ";font-weight:" + Yt(i + ""),
20289
+ nameStyle: "font-size:" + Ut(n + "") + "px;color:" + Ut(r) + ";font-weight:" + Ut(i + ""),
20291
20290
  // eslint-disable-next-line max-len
20292
- valueStyle: "font-size:" + Yt(o + "") + "px;color:" + Yt(a) + ";font-weight:" + Yt(s + "")
20291
+ valueStyle: "font-size:" + Ut(o + "") + "px;color:" + Ut(a) + ";font-weight:" + Ut(s + "")
20293
20292
  } : {
20294
20293
  nameStyle: {
20295
20294
  fontSize: n,
@@ -20363,7 +20362,7 @@ function $5(e, t, r, n) {
20363
20362
  if (i)
20364
20363
  return f;
20365
20364
  var h = qd(t.header, "ordinal", e.useUTC), d = Ox(n, e.renderMode).nameStyle;
20366
- return e.renderMode === "richText" ? kx(e, h, d) + a.richText + f : Xd('<div style="' + d + ";" + Rx + ';">' + Yt(h) + "</div>" + f, r);
20365
+ return e.renderMode === "richText" ? kx(e, h, d) + a.richText + f : Xd('<div style="' + d + ";" + Rx + ';">' + Ut(h) + "</div>" + f, r);
20367
20366
  }
20368
20367
  function j5(e, t, r, n) {
20369
20368
  var i = e.renderMode, a = t.noName, o = t.noValue, s = !t.markerType, u = t.name, l = e.useUTC, c = t.valueFormatter || e.valueFormatter || function(b) {
@@ -20400,12 +20399,12 @@ function Xd(e, t) {
20400
20399
  }
20401
20400
  function W5(e, t, r) {
20402
20401
  var n = t ? "margin-left:2px" : "";
20403
- return '<span style="' + r + ";" + n + '">' + Yt(e) + "</span>";
20402
+ return '<span style="' + r + ";" + n + '">' + Ut(e) + "</span>";
20404
20403
  }
20405
20404
  function H5(e, t, r, n) {
20406
20405
  var i = r ? "10px" : "20px", a = t ? "float:right;margin-left:" + i : "";
20407
20406
  return e = Q(e) ? e : [e], '<span style="' + a + ";" + n + '">' + te(e, function(o) {
20408
- return Yt(o);
20407
+ return Ut(o);
20409
20408
  }).join("&nbsp;&nbsp;") + "</span>";
20410
20409
  }
20411
20410
  function kx(e, t, r) {
@@ -20846,7 +20845,7 @@ function Xn(e, t, r, n, i, a, o) {
20846
20845
  var s = e.indexOf("empty") === 0;
20847
20846
  s && (e = e.substr(5, 1).toLowerCase() + e.substr(6));
20848
20847
  var u;
20849
- return e.indexOf("image://") === 0 ? u = Fw(e.slice(8), new De(t, r, n, i), o ? "center" : "cover") : e.indexOf("path://") === 0 ? u = Vv(e.slice(7), {}, new De(t, r, n, i), o ? "center" : "cover") : u = new u3({
20848
+ return e.indexOf("image://") === 0 ? u = Fw(e.slice(8), new Ee(t, r, n, i), o ? "center" : "cover") : e.indexOf("path://") === 0 ? u = Vv(e.slice(7), {}, new Ee(t, r, n, i), o ? "center" : "cover") : u = new u3({
20850
20849
  shape: {
20851
20850
  symbolType: e,
20852
20851
  x: t,
@@ -20861,7 +20860,7 @@ function c3(e) {
20861
20860
  }
20862
20861
  function Lx(e, t) {
20863
20862
  if (e != null)
20864
- return Q(e) || (e = [e, e]), [ft(e[0], t[0]) || 0, ft(me(e[1], e[0]), t[1]) || 0];
20863
+ return Q(e) || (e = [e, e]), [ht(e[0], t[0]) || 0, ht(me(e[1], e[0]), t[1]) || 0];
20865
20864
  }
20866
20865
  var f3 = (
20867
20866
  /** @class */
@@ -21410,7 +21409,7 @@ var $x = (
21410
21409
  for (var x = 0; x < S; x++) {
21411
21410
  var C = c[x];
21412
21411
  if (C <= 1 && C >= 0) {
21413
- var b = l ? ct(u, p, g, y, C) : ct(s, d, v, m, C);
21412
+ var b = l ? ft(u, p, g, y, C) : ft(s, d, v, m, C);
21414
21413
  return l ? [r, b] : [b, r];
21415
21414
  }
21416
21415
  }
@@ -22252,7 +22251,7 @@ function q3(e) {
22252
22251
  var d = n.getData();
22253
22252
  s = Math.abs(o[1] - o[0]) / d.count();
22254
22253
  }
22255
- var p = ft(n.get("barWidth"), s), v = ft(n.get("barMaxWidth"), s), g = ft(
22254
+ var p = ht(n.get("barWidth"), s), v = ht(n.get("barMaxWidth"), s), g = ht(
22256
22255
  // barMinWidth by default is 0.5 / 1 in cartesian. Because in value axis,
22257
22256
  // the auto-calculated bar width might be less than 0.5 / 1.
22258
22257
  n.get("barMinWidth") || (Q3(n) ? 0.5 : 1),
@@ -22306,7 +22305,7 @@ function Z3(e) {
22306
22305
  var u = We(a).length;
22307
22306
  s = Math.max(35 - u * 4, 15) + "%";
22308
22307
  }
22309
- var l = ft(s, o), c = ft(n.gap, 1), f = n.remainedWidth, h = n.autoWidthCount, d = (f - l) / (h + (h - 1) * c);
22308
+ var l = ht(s, o), c = ht(n.gap, 1), f = n.remainedWidth, h = n.autoWidthCount, d = (f - l) / (h + (h - 1) * c);
22310
22309
  d = Math.max(d, 0), R(a, function(m) {
22311
22310
  var y = m.maxWidth, _ = m.minWidth;
22312
22311
  if (m.width) {
@@ -22431,7 +22430,7 @@ function tB(e) {
22431
22430
  e.sort(function(v, g) {
22432
22431
  return g.priority - v.priority;
22433
22432
  });
22434
- var r = new De(0, 0, 0, 0);
22433
+ var r = new Ee(0, 0, 0, 0);
22435
22434
  function n(v) {
22436
22435
  if (!v.ignore) {
22437
22436
  var g = v.ensureState("emphasis");
@@ -22504,7 +22503,7 @@ function H0(e, t, r) {
22504
22503
  function ng(e) {
22505
22504
  return e || window.event;
22506
22505
  }
22507
- function or(e, t, r) {
22506
+ function ar(e, t, r) {
22508
22507
  if (t = ng(t), t.zrX != null)
22509
22508
  return t;
22510
22509
  var n = t.type, i = n && n.indexOf("touch") >= 0;
@@ -22641,7 +22640,7 @@ var fB = function(e) {
22641
22640
  "mousedown",
22642
22641
  "mousemove",
22643
22642
  "contextmenu"
22644
- ], Ch = new De(0, 0, 0, 0), qx = function(e) {
22643
+ ], Ch = new Ee(0, 0, 0, 0), qx = function(e) {
22645
22644
  q(t, e);
22646
22645
  function t(r, n, i, a, o) {
22647
22646
  var s = e.call(this) || this;
@@ -22682,7 +22681,7 @@ var fB = function(e) {
22682
22681
  }, t.prototype.findHover = function(r, n, i) {
22683
22682
  var a = this.storage.getDisplayList(), o = new Io(r, n);
22684
22683
  if (Y0(a, o, r, n, i), this._pointerSize && !o.target) {
22685
- for (var s = [], u = this._pointerSize, l = u / 2, c = new De(r - l, n - l, u, u), f = a.length - 1; f >= 0; f--) {
22684
+ for (var s = [], u = this._pointerSize, l = u / 2, c = new Ee(r - l, n - l, u, u), f = a.length - 1; f >= 0; f--) {
22686
22685
  var h = a[f];
22687
22686
  h !== i && !h.ignore && !h.ignoreCoarsePointer && (!h.parent || !h.parent.ignoreCoarsePointer) && (Ch.copy(h.getBoundingRect()), h.transform && Ch.applyTransform(h.transform), Ch.intersect(c) && s.push(h));
22688
22687
  }
@@ -23210,7 +23209,7 @@ function Rh(e) {
23210
23209
  e && (e.zrByTouch = !0);
23211
23210
  }
23212
23211
  function SB(e, t) {
23213
- return or(e.dom, new wB(e, t), !0);
23212
+ return ar(e.dom, new wB(e, t), !0);
23214
23213
  }
23215
23214
  function Kx(e, t) {
23216
23215
  for (var r = t, n = !1; r && r.nodeType !== 9 && !(n = r.domBelongToZr || r !== t && r === e.painterRoot); )
@@ -23224,35 +23223,35 @@ var wB = /* @__PURE__ */ function() {
23224
23223
  return e;
23225
23224
  }(), wr = {
23226
23225
  mousedown: function(e) {
23227
- e = or(this.dom, e), this.__mayPointerCapture = [e.zrX, e.zrY], this.trigger("mousedown", e);
23226
+ e = ar(this.dom, e), this.__mayPointerCapture = [e.zrX, e.zrY], this.trigger("mousedown", e);
23228
23227
  },
23229
23228
  mousemove: function(e) {
23230
- e = or(this.dom, e);
23229
+ e = ar(this.dom, e);
23231
23230
  var t = this.__mayPointerCapture;
23232
23231
  t && (e.zrX !== t[0] || e.zrY !== t[1]) && this.__togglePointerCapture(!0), this.trigger("mousemove", e);
23233
23232
  },
23234
23233
  mouseup: function(e) {
23235
- e = or(this.dom, e), this.__togglePointerCapture(!1), this.trigger("mouseup", e);
23234
+ e = ar(this.dom, e), this.__togglePointerCapture(!1), this.trigger("mouseup", e);
23236
23235
  },
23237
23236
  mouseout: function(e) {
23238
- e = or(this.dom, e);
23237
+ e = ar(this.dom, e);
23239
23238
  var t = e.toElement || e.relatedTarget;
23240
23239
  Kx(this, t) || (this.__pointerCapturing && (e.zrEventControl = "no_globalout"), this.trigger("mouseout", e));
23241
23240
  },
23242
23241
  wheel: function(e) {
23243
- J0 = !0, e = or(this.dom, e), this.trigger("mousewheel", e);
23242
+ J0 = !0, e = ar(this.dom, e), this.trigger("mousewheel", e);
23244
23243
  },
23245
23244
  mousewheel: function(e) {
23246
- J0 || (e = or(this.dom, e), this.trigger("mousewheel", e));
23245
+ J0 || (e = ar(this.dom, e), this.trigger("mousewheel", e));
23247
23246
  },
23248
23247
  touchstart: function(e) {
23249
- e = or(this.dom, e), Rh(e), this.__lastTouchMoment = /* @__PURE__ */ new Date(), this.handler.processGesture(e, "start"), wr.mousemove.call(this, e), wr.mousedown.call(this, e);
23248
+ e = ar(this.dom, e), Rh(e), this.__lastTouchMoment = /* @__PURE__ */ new Date(), this.handler.processGesture(e, "start"), wr.mousemove.call(this, e), wr.mousedown.call(this, e);
23250
23249
  },
23251
23250
  touchmove: function(e) {
23252
- e = or(this.dom, e), Rh(e), this.handler.processGesture(e, "change"), wr.mousemove.call(this, e);
23251
+ e = ar(this.dom, e), Rh(e), this.handler.processGesture(e, "change"), wr.mousemove.call(this, e);
23253
23252
  },
23254
23253
  touchend: function(e) {
23255
- e = or(this.dom, e), Rh(e), this.handler.processGesture(e, "end"), wr.mouseup.call(this, e), +/* @__PURE__ */ new Date() - +this.__lastTouchMoment < _B && wr.click.call(this, e);
23254
+ e = ar(this.dom, e), Rh(e), this.handler.processGesture(e, "end"), wr.mouseup.call(this, e), +/* @__PURE__ */ new Date() - +this.__lastTouchMoment < _B && wr.click.call(this, e);
23256
23255
  },
23257
23256
  pointerdown: function(e) {
23258
23257
  wr.mousedown.call(this, e);
@@ -23269,7 +23268,7 @@ var wB = /* @__PURE__ */ function() {
23269
23268
  };
23270
23269
  R(["click", "dblclick", "contextmenu"], function(e) {
23271
23270
  wr[e] = function(t) {
23272
- t = or(this.dom, t), this.trigger(e, t);
23271
+ t = ar(this.dom, t), this.trigger(e, t);
23273
23272
  };
23274
23273
  });
23275
23274
  var rp = {
@@ -24012,7 +24011,7 @@ function GB(e, t, r) {
24012
24011
  function WB(e, t) {
24013
24012
  return e.join(",") === t.join(",");
24014
24013
  }
24015
- var rr = R, Fs = ie, s_ = ["areaStyle", "lineStyle", "nodeStyle", "linkStyle", "chordStyle", "label", "labelLine"];
24014
+ var tr = R, Fs = ie, s_ = ["areaStyle", "lineStyle", "nodeStyle", "linkStyle", "chordStyle", "label", "labelLine"];
24016
24015
  function Ph(e) {
24017
24016
  var t = e && e.itemStyle;
24018
24017
  if (t)
@@ -24040,38 +24039,38 @@ function Je(e, t) {
24040
24039
  }
24041
24040
  }
24042
24041
  }
24043
- function sr(e) {
24042
+ function or(e) {
24044
24043
  e && (ts(e), Je(e, "label"), e.emphasis && Je(e.emphasis, "label"));
24045
24044
  }
24046
24045
  function HB(e) {
24047
24046
  if (Fs(e)) {
24048
24047
  Ph(e), ts(e), Je(e, "label"), Je(e, "upperLabel"), Je(e, "edgeLabel"), e.emphasis && (Je(e.emphasis, "label"), Je(e.emphasis, "upperLabel"), Je(e.emphasis, "edgeLabel"));
24049
24048
  var t = e.markPoint;
24050
- t && (Ph(t), sr(t));
24049
+ t && (Ph(t), or(t));
24051
24050
  var r = e.markLine;
24052
- r && (Ph(r), sr(r));
24051
+ r && (Ph(r), or(r));
24053
24052
  var n = e.markArea;
24054
- n && sr(n);
24053
+ n && or(n);
24055
24054
  var i = e.data;
24056
24055
  if (e.type === "graph") {
24057
24056
  i = i || e.nodes;
24058
24057
  var a = e.links || e.edges;
24059
24058
  if (a && !Mt(a))
24060
24059
  for (var o = 0; o < a.length; o++)
24061
- sr(a[o]);
24060
+ or(a[o]);
24062
24061
  R(e.categories, function(l) {
24063
24062
  ts(l);
24064
24063
  });
24065
24064
  }
24066
24065
  if (i && !Mt(i))
24067
24066
  for (var o = 0; o < i.length; o++)
24068
- sr(i[o]);
24067
+ or(i[o]);
24069
24068
  if (t = e.markPoint, t && t.data)
24070
24069
  for (var s = t.data, o = 0; o < s.length; o++)
24071
- sr(s[o]);
24070
+ or(s[o]);
24072
24071
  if (r = e.markLine, r && r.data)
24073
24072
  for (var u = r.data, o = 0; o < u.length; o++)
24074
- Q(u[o]) ? (sr(u[o][0]), sr(u[o][1])) : sr(u[o]);
24073
+ Q(u[o]) ? (or(u[o][0]), or(u[o][1])) : or(u[o]);
24075
24074
  e.type === "gauge" ? (Je(e, "axisLabel"), Je(e, "title"), Je(e, "detail")) : e.type === "treemap" ? (_t(e.breadcrumb, "itemStyle"), R(e.levels, function(l) {
24076
24075
  ts(l);
24077
24076
  })) : e.type === "tree" && ts(e.leaves);
@@ -24084,35 +24083,35 @@ function u_(e) {
24084
24083
  return (Q(e) ? e[0] : e) || {};
24085
24084
  }
24086
24085
  function UB(e, t) {
24087
- rr(en(e.series), function(n) {
24086
+ tr(en(e.series), function(n) {
24088
24087
  Fs(n) && HB(n);
24089
24088
  });
24090
24089
  var r = ["xAxis", "yAxis", "radiusAxis", "angleAxis", "singleAxis", "parallelAxis", "radar"];
24091
- t && r.push("valueAxis", "categoryAxis", "logAxis", "timeAxis"), rr(r, function(n) {
24092
- rr(en(e[n]), function(i) {
24090
+ t && r.push("valueAxis", "categoryAxis", "logAxis", "timeAxis"), tr(r, function(n) {
24091
+ tr(en(e[n]), function(i) {
24093
24092
  i && (Je(i, "axisLabel"), Je(i.axisPointer, "label"));
24094
24093
  });
24095
- }), rr(en(e.parallel), function(n) {
24094
+ }), tr(en(e.parallel), function(n) {
24096
24095
  var i = n && n.parallelAxisDefault;
24097
24096
  Je(i, "axisLabel"), Je(i && i.axisPointer, "label");
24098
- }), rr(en(e.calendar), function(n) {
24097
+ }), tr(en(e.calendar), function(n) {
24099
24098
  _t(n, "itemStyle"), Je(n, "dayLabel"), Je(n, "monthLabel"), Je(n, "yearLabel");
24100
- }), rr(en(e.radar), function(n) {
24101
- Je(n, "name"), n.name && n.axisName == null && (n.axisName = n.name, delete n.name, process.env.NODE_ENV !== "production" && Ar("name property in radar component has been changed to axisName")), n.nameGap != null && n.axisNameGap == null && (n.axisNameGap = n.nameGap, delete n.nameGap, process.env.NODE_ENV !== "production" && Ar("nameGap property in radar component has been changed to axisNameGap")), process.env.NODE_ENV !== "production" && rr(n.indicator, function(i) {
24099
+ }), tr(en(e.radar), function(n) {
24100
+ Je(n, "name"), n.name && n.axisName == null && (n.axisName = n.name, delete n.name, process.env.NODE_ENV !== "production" && Ar("name property in radar component has been changed to axisName")), n.nameGap != null && n.axisNameGap == null && (n.axisNameGap = n.nameGap, delete n.nameGap, process.env.NODE_ENV !== "production" && Ar("nameGap property in radar component has been changed to axisNameGap")), process.env.NODE_ENV !== "production" && tr(n.indicator, function(i) {
24102
24101
  i.text && ut("text", "name", "radar.indicator");
24103
24102
  });
24104
- }), rr(en(e.geo), function(n) {
24105
- Fs(n) && (sr(n), rr(en(n.regions), function(i) {
24106
- sr(i);
24103
+ }), tr(en(e.geo), function(n) {
24104
+ Fs(n) && (or(n), tr(en(n.regions), function(i) {
24105
+ or(i);
24107
24106
  }));
24108
- }), rr(en(e.timeline), function(n) {
24109
- sr(n), _t(n, "label"), _t(n, "itemStyle"), _t(n, "controlStyle", !0);
24107
+ }), tr(en(e.timeline), function(n) {
24108
+ or(n), _t(n, "label"), _t(n, "itemStyle"), _t(n, "controlStyle", !0);
24110
24109
  var i = n.data;
24111
24110
  Q(i) && R(i, function(a) {
24112
24111
  ie(a) && (_t(a, "label"), _t(a, "itemStyle"));
24113
24112
  });
24114
- }), rr(en(e.toolbox), function(n) {
24115
- _t(n, "iconStyle"), rr(n.feature, function(i) {
24113
+ }), tr(en(e.toolbox), function(n) {
24114
+ _t(n, "iconStyle"), tr(n.feature, function(i) {
24116
24115
  _t(i, "iconStyle");
24117
24116
  });
24118
24117
  }), Je(u_(e.axisPointer), "label"), Je(u_(e.tooltip).axisPointer, "label");
@@ -24235,7 +24234,7 @@ function JB(e) {
24235
24234
  });
24236
24235
  });
24237
24236
  }
24238
- var Qt = (
24237
+ var Kt = (
24239
24238
  /** @class */
24240
24239
  function() {
24241
24240
  function e() {
@@ -24254,8 +24253,8 @@ var Qt = (
24254
24253
  }, e;
24255
24254
  }()
24256
24255
  );
24257
- Sv(Qt);
24258
- Mc(Qt);
24256
+ Sv(Kt);
24257
+ Mc(Kt);
24259
24258
  var h_ = at(), d_ = {
24260
24259
  itemStyle: Os(qw, !0),
24261
24260
  lineStyle: Os(Yw, !0)
@@ -25414,7 +25413,7 @@ var $V = 1, jV = 800, GV = 900, WV = 1e3, HV = 2e3, UV = 5e3, mC = 1e3, YV = 110
25414
25413
  ARIA: KV,
25415
25414
  DECAL: _C
25416
25415
  }
25417
- }, vt = "__flagInMainProcess", kt = "__pendingUpdate", Lh = "__needsUpdateStatus", R_ = /^[a-zA-Z0-9_]+$/, Bh = "__connectUpdateStatus", O_ = 0, JV = 1, e4 = 2;
25416
+ }, gt = "__flagInMainProcess", kt = "__pendingUpdate", Lh = "__needsUpdateStatus", R_ = /^[a-zA-Z0-9_]+$/, Bh = "__connectUpdateStatus", O_ = 0, JV = 1, e4 = 2;
25418
25417
  function bC(e) {
25419
25418
  return function() {
25420
25419
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -25448,7 +25447,7 @@ var xC = (
25448
25447
  ), CC = xC.prototype;
25449
25448
  CC.on = SC("on");
25450
25449
  CC.off = SC("off");
25451
- var _a, Vh, tl, Rn, Fh, zh, $h, Bo, Vo, I_, P_, jh, k_, rl, N_, TC, nr, L_, ac = (
25450
+ var _a, Vh, tl, Rn, Fh, zh, $h, Bo, Vo, I_, P_, jh, k_, rl, N_, TC, rr, L_, ac = (
25452
25451
  /** @class */
25453
25452
  function(e) {
25454
25453
  q(t, e);
@@ -25487,13 +25486,13 @@ var _a, Vh, tl, Rn, Fh, zh, $h, Bo, Vo, I_, P_, jh, k_, rl, N_, TC, nr, L_, ac =
25487
25486
  var r = this._scheduler;
25488
25487
  if (this[kt]) {
25489
25488
  var n = this[kt].silent;
25490
- this[vt] = !0;
25489
+ this[gt] = !0;
25491
25490
  try {
25492
25491
  _a(this), Rn.update.call(this, null, this[kt].updateParams);
25493
25492
  } catch (u) {
25494
- throw this[vt] = !1, this[kt] = null, u;
25493
+ throw this[gt] = !1, this[kt] = null, u;
25495
25494
  }
25496
- this._zr.flush(), this[vt] = !1, this[kt] = null, Bo.call(this, n), Vo.call(this, n);
25495
+ this._zr.flush(), this[gt] = !1, this[kt] = null, Bo.call(this, n), Vo.call(this, n);
25497
25496
  } else if (r.unfinished) {
25498
25497
  var i = $V, a = this._model, o = this._api;
25499
25498
  r.unfinished = !1;
@@ -25513,7 +25512,7 @@ var _a, Vh, tl, Rn, Fh, zh, $h, Bo, Vo, I_, P_, jh, k_, rl, N_, TC, nr, L_, ac =
25513
25512
  }, t.prototype.isSSR = function() {
25514
25513
  return this._ssr;
25515
25514
  }, t.prototype.setOption = function(r, n, i) {
25516
- if (this[vt]) {
25515
+ if (this[gt]) {
25517
25516
  process.env.NODE_ENV !== "production" && St("`setOption` should not be called during main process.");
25518
25517
  return;
25519
25518
  }
@@ -25522,7 +25521,7 @@ var _a, Vh, tl, Rn, Fh, zh, $h, Bo, Vo, I_, P_, jh, k_, rl, N_, TC, nr, L_, ac =
25522
25521
  return;
25523
25522
  }
25524
25523
  var a, o, s;
25525
- if (ie(n) && (i = n.lazyUpdate, a = n.silent, o = n.replaceMerge, s = n.transition, n = n.notMerge), this[vt] = !0, !this._model || n) {
25524
+ if (ie(n) && (i = n.lazyUpdate, a = n.silent, o = n.replaceMerge, s = n.transition, n = n.notMerge), this[gt] = !0, !this._model || n) {
25526
25525
  var u = new zB(this._api), l = this._theme, c = this._model = new ig();
25527
25526
  c.scheduler = this._scheduler, c.ssr = this._ssr, c.init(null, null, null, l, this._locale, u);
25528
25527
  }
@@ -25537,14 +25536,14 @@ var _a, Vh, tl, Rn, Fh, zh, $h, Bo, Vo, I_, P_, jh, k_, rl, N_, TC, nr, L_, ac =
25537
25536
  this[kt] = {
25538
25537
  silent: a,
25539
25538
  updateParams: f
25540
- }, this[vt] = !1, this.getZr().wakeUp();
25539
+ }, this[gt] = !1, this.getZr().wakeUp();
25541
25540
  else {
25542
25541
  try {
25543
25542
  _a(this), Rn.update.call(this, null, f);
25544
25543
  } catch (h) {
25545
- throw this[kt] = null, this[vt] = !1, h;
25544
+ throw this[kt] = null, this[gt] = !1, h;
25546
25545
  }
25547
- this._ssr || this._zr.flush(), this[kt] = null, this[vt] = !1, Bo.call(this, a), Vo.call(this, a);
25546
+ this._ssr || this._zr.flush(), this[kt] = null, this[gt] = !1, Bo.call(this, a), Vo.call(this, a);
25548
25547
  }
25549
25548
  }, t.prototype.setTheme = function() {
25550
25549
  Ar("ECharts#setTheme() is DEPRECATED in ECharts 3.0");
@@ -25748,7 +25747,7 @@ var _a, Vh, tl, Rn, Fh, zh, $h, Bo, Vo, I_, P_, jh, k_, rl, N_, TC, nr, L_, ac =
25748
25747
  o.dispose(a, i);
25749
25748
  }), n._zr.dispose(), n._dom = n._model = n._chartsMap = n._componentsMap = n._chartsViews = n._componentsViews = n._scheduler = n._api = n._zr = n._throttledZrFlush = n._theme = n._coordSysMgr = n._messageCenter = null, delete Wa[n.id];
25750
25749
  }, t.prototype.resize = function(r) {
25751
- if (this[vt]) {
25750
+ if (this[gt]) {
25752
25751
  process.env.NODE_ENV !== "production" && St("`resize` should not be called during main process.");
25753
25752
  return;
25754
25753
  }
@@ -25760,7 +25759,7 @@ var _a, Vh, tl, Rn, Fh, zh, $h, Bo, Vo, I_, P_, jh, k_, rl, N_, TC, nr, L_, ac =
25760
25759
  var n = this._model;
25761
25760
  if (this._loadingFX && this._loadingFX.resize(), !!n) {
25762
25761
  var i = n.resetOption("media"), a = r && r.silent;
25763
- this[kt] && (a == null && (a = this[kt].silent), i = !0, this[kt] = null), this[vt] = !0;
25762
+ this[kt] && (a == null && (a = this[kt].silent), i = !0, this[kt] = null), this[gt] = !0;
25764
25763
  try {
25765
25764
  i && _a(this), Rn.update.call(this, {
25766
25765
  type: "resize",
@@ -25770,9 +25769,9 @@ var _a, Vh, tl, Rn, Fh, zh, $h, Bo, Vo, I_, P_, jh, k_, rl, N_, TC, nr, L_, ac =
25770
25769
  }, r && r.animation)
25771
25770
  });
25772
25771
  } catch (o) {
25773
- throw this[vt] = !1, o;
25772
+ throw this[gt] = !1, o;
25774
25773
  }
25775
- this[vt] = !1, Bo.call(this, a), Vo.call(this, a);
25774
+ this[gt] = !1, Bo.call(this, a), Vo.call(this, a);
25776
25775
  }
25777
25776
  }, t.prototype.showLoading = function(r, n) {
25778
25777
  if (this._disposed) {
@@ -25802,7 +25801,7 @@ var _a, Vh, tl, Rn, Fh, zh, $h, Bo, Vo, I_, P_, jh, k_, rl, N_, TC, nr, L_, ac =
25802
25801
  if (ie(n) || (n = {
25803
25802
  silent: !!n
25804
25803
  }), !!oc[r.type] && this._model) {
25805
- if (this[vt]) {
25804
+ if (this[gt]) {
25806
25805
  this._pendingActions.push(r);
25807
25806
  return;
25808
25807
  }
@@ -25839,7 +25838,7 @@ var _a, Vh, tl, Rn, Fh, zh, $h, Bo, Vo, I_, P_, jh, k_, rl, N_, TC, nr, L_, ac =
25839
25838
  x.__requireNewView = !1;
25840
25839
  var T = "_ec_" + x.id + "_" + x.type, A = !C && g[T];
25841
25840
  if (!A) {
25842
- var w = Fr(x.type), D = h ? Qt.getClass(w.main, w.sub) : (
25841
+ var w = Fr(x.type), D = h ? Kt.getClass(w.main, w.sub) : (
25843
25842
  // FIXME:TS
25844
25843
  // (ChartView as ChartViewConstructor).getClass('series', classType.sub)
25845
25844
  // For backward compat, still support a chart type declared as only subType
@@ -25887,7 +25886,7 @@ var _a, Vh, tl, Rn, Fh, zh, $h, Bo, Vo, I_, P_, jh, k_, rl, N_, TC, nr, L_, ac =
25887
25886
  d.type === Ni ? qa(D) : Za(D);
25888
25887
  });
25889
25888
  }
25890
- else zd(d) && x instanceof Zn && (sN(x, d, f._api), Wy(x), nr(f));
25889
+ else zd(d) && x instanceof Zn && (sN(x, d, f._api), Wy(x), rr(f));
25891
25890
  }, f), g && g.eachComponent(y, function(x) {
25892
25891
  var C = b && b.get(x.id) != null;
25893
25892
  C || S(f[p === "series" ? "_chartsMap" : "_componentsMap"][x.__viewId]);
@@ -25986,7 +25985,7 @@ var _a, Vh, tl, Rn, Fh, zh, $h, Bo, Vo, I_, P_, jh, k_, rl, N_, TC, nr, L_, ac =
25986
25985
  });
25987
25986
  }, $h = function(f, h) {
25988
25987
  var d = this, p = this.getModel(), v = f.type, g = f.escapeConnect, m = oc[v], y = m.actionInfo, _ = (y.update || "update").split(":"), b = _.pop(), S = _[0] != null && Fr(_[0]);
25989
- this[vt] = !0;
25988
+ this[gt] = !0;
25990
25989
  var x = [f], C = !1;
25991
25990
  f.batch && (C = !0, x = te(f.batch, function(P) {
25992
25991
  return P = Ce(Z({}, P), f), P.batch = null, P;
@@ -25995,19 +25994,19 @@ var _a, Vh, tl, Rn, Fh, zh, $h, Bo, Vo, I_, P_, jh, k_, rl, N_, TC, nr, L_, ac =
25995
25994
  if (D && Rw(this._api), R(x, function(P) {
25996
25995
  if (A = m.action(P, d._model, d._api), A = A || Z({}, P), A.type = y.event || A.type, T.push(A), D) {
25997
25996
  var N = Mv(f), L = N.queryOptionMap, U = N.mainTypeSpecified, $ = U ? L.keys()[0] : "series";
25998
- tl(d, b, P, $), nr(d);
25999
- } else w ? (tl(d, b, P, "series"), nr(d)) : S && tl(d, b, P, S.main, S.sub);
25997
+ tl(d, b, P, $), rr(d);
25998
+ } else w ? (tl(d, b, P, "series"), rr(d)) : S && tl(d, b, P, S.main, S.sub);
26000
25999
  }), b !== "none" && !D && !w && !S)
26001
26000
  try {
26002
26001
  this[kt] ? (_a(this), Rn.update.call(this, f), this[kt] = null) : Rn[b].call(this, f);
26003
26002
  } catch (P) {
26004
- throw this[vt] = !1, P;
26003
+ throw this[gt] = !1, P;
26005
26004
  }
26006
26005
  if (C ? A = {
26007
26006
  type: y.event || v,
26008
26007
  escapeConnect: g,
26009
26008
  batch: T
26010
- } : A = T[0], this[vt] = !1, !h) {
26009
+ } : A = T[0], this[gt] = !1, !h) {
26011
26010
  var M = this._messageCenter;
26012
26011
  if (M.trigger(A.type, A), w) {
26013
26012
  var I = {
@@ -26038,10 +26037,10 @@ var _a, Vh, tl, Rn, Fh, zh, $h, Bo, Vo, I_, P_, jh, k_, rl, N_, TC, nr, L_, ac =
26038
26037
  }, P_ = function(f, h) {
26039
26038
  f.on("mouseover", function(d) {
26040
26039
  var p = d.target, v = rs(p, Xa);
26041
- v && (aN(v, d, h._api), nr(h));
26040
+ v && (aN(v, d, h._api), rr(h));
26042
26041
  }).on("mouseout", function(d) {
26043
26042
  var p = d.target, v = rs(p, Xa);
26044
- v && (oN(v, d, h._api), nr(h));
26043
+ v && (oN(v, d, h._api), rr(h));
26045
26044
  }).on("click", function(d) {
26046
26045
  var p = d.target, v = rs(p, function(y) {
26047
26046
  return Ie(y).dataIndex != null;
@@ -26110,7 +26109,7 @@ var _a, Vh, tl, Rn, Fh, zh, $h, Bo, Vo, I_, P_, jh, k_, rl, N_, TC, nr, L_, ac =
26110
26109
  var b = f._chartsMap[_.__viewId];
26111
26110
  s(_, b), c(_, b);
26112
26111
  }), a(f, h), xr.trigger("series:afterupdate", h, d, v);
26113
- }, nr = function(f) {
26112
+ }, rr = function(f) {
26114
26113
  f[Lh] = !0, f.getZr().wakeUp();
26115
26114
  }, L_ = function(f) {
26116
26115
  f[Lh] && (f.getZr().storage.traverse(function(h) {
@@ -26213,17 +26212,17 @@ var _a, Vh, tl, Rn, Fh, zh, $h, Bo, Vo, I_, P_, jh, k_, rl, N_, TC, nr, L_, ac =
26213
26212
  p = p.parent;
26214
26213
  }
26215
26214
  }, d.prototype.enterEmphasis = function(p, v) {
26216
- qa(p, v), nr(f);
26215
+ qa(p, v), rr(f);
26217
26216
  }, d.prototype.leaveEmphasis = function(p, v) {
26218
- Za(p, v), nr(f);
26217
+ Za(p, v), rr(f);
26219
26218
  }, d.prototype.enterBlur = function(p) {
26220
- nN(p), nr(f);
26219
+ nN(p), rr(f);
26221
26220
  }, d.prototype.leaveBlur = function(p) {
26222
- Ew(p), nr(f);
26221
+ Ew(p), rr(f);
26223
26222
  }, d.prototype.enterSelect = function(p) {
26224
- Dw(p), nr(f);
26223
+ Dw(p), rr(f);
26225
26224
  }, d.prototype.leaveSelect = function(p) {
26226
- Aw(p), nr(f);
26225
+ Aw(p), rr(f);
26227
26226
  }, d.prototype.getModel = function() {
26228
26227
  return f.getModel();
26229
26228
  }, d.prototype.getViewOfComponentModel = function(p) {
@@ -26415,7 +26414,7 @@ var V_ = [], d4 = {
26415
26414
  registerImpl: FV,
26416
26415
  PRIORITY: QV,
26417
26416
  ComponentModel: Te,
26418
- ComponentView: Qt,
26417
+ ComponentView: Kt,
26419
26418
  SeriesModel: Zn,
26420
26419
  ChartView: Wr,
26421
26420
  // TODO Use ComponentModel and SeriesModel instead of Constructor
@@ -26423,7 +26422,7 @@ var V_ = [], d4 = {
26423
26422
  Te.registerClass(e);
26424
26423
  },
26425
26424
  registerComponentView: function(e) {
26426
- Qt.registerClass(e);
26425
+ Kt.registerClass(e);
26427
26426
  },
26428
26427
  registerSeriesModel: function(e) {
26429
26428
  Zn.registerClass(e);
@@ -27427,7 +27426,7 @@ function G4(e) {
27427
27426
  }
27428
27427
  }
27429
27428
  function W4(e, t) {
27430
- var r = t * Math.PI / 180, n = e.width, i = e.height, a = n * Math.abs(Math.cos(r)) + Math.abs(i * Math.sin(r)), o = n * Math.abs(Math.sin(r)) + Math.abs(i * Math.cos(r)), s = new De(e.x, e.y, a, o);
27429
+ var r = t * Math.PI / 180, n = e.width, i = e.height, a = n * Math.abs(Math.cos(r)) + Math.abs(i * Math.sin(r)), o = n * Math.abs(Math.sin(r)) + Math.abs(i * Math.cos(r)), s = new Ee(e.x, e.y, a, o);
27431
27430
  return s;
27432
27431
  }
27433
27432
  function pg(e) {
@@ -27500,7 +27499,7 @@ var Y4 = (
27500
27499
  }, t.prototype.containData = function(r) {
27501
27500
  return this.getAxis("x").containData(r[0]) && this.getAxis("y").containData(r[1]);
27502
27501
  }, t.prototype.containZone = function(r, n) {
27503
- var i = this.dataToPoint(r), a = this.dataToPoint(n), o = this.getArea(), s = new De(i[0], i[1], a[0] - i[0], a[1] - i[1]);
27502
+ var i = this.dataToPoint(r), a = this.dataToPoint(n), o = this.getArea(), s = new Ee(i[0], i[1], a[0] - i[0], a[1] - i[1]);
27504
27503
  return o.intersect(s);
27505
27504
  }, t.prototype.dataToPoint = function(r, n, i) {
27506
27505
  i = i || [];
@@ -27523,7 +27522,7 @@ var Y4 = (
27523
27522
  }, t.prototype.getArea = function(r) {
27524
27523
  r = r || 0;
27525
27524
  var n = this.getAxis("x").getGlobalExtent(), i = this.getAxis("y").getGlobalExtent(), a = Math.min(n[0], n[1]) - r, o = Math.min(i[0], i[1]) - r, s = Math.max(n[0], n[1]) - a + r, u = Math.max(i[0], i[1]) - o + r;
27526
- return new De(a, o, s, u);
27525
+ return new Ee(a, o, s, u);
27527
27526
  }, t;
27528
27527
  }(U4)
27529
27528
  ), js = at();
@@ -28272,10 +28271,10 @@ function lF(e, t, r) {
28272
28271
  var n = e.get(["axisLabel", "showMinLabel"]), i = e.get(["axisLabel", "showMaxLabel"]);
28273
28272
  t = t || [], r = r || [];
28274
28273
  var a = t[0], o = t[1], s = t[t.length - 1], u = t[t.length - 2], l = r[0], c = r[1], f = r[r.length - 1], h = r[r.length - 2];
28275
- n === !1 ? (ir(a), ir(l)) : J_(a, o) && (n ? (ir(o), ir(c)) : (ir(a), ir(l))), i === !1 ? (ir(s), ir(f)) : J_(u, s) && (i ? (ir(u), ir(h)) : (ir(s), ir(f)));
28274
+ n === !1 ? (nr(a), nr(l)) : J_(a, o) && (n ? (nr(o), nr(c)) : (nr(a), nr(l))), i === !1 ? (nr(s), nr(f)) : J_(u, s) && (i ? (nr(u), nr(h)) : (nr(s), nr(f)));
28276
28275
  }
28277
28276
  }
28278
- function ir(e) {
28277
+ function nr(e) {
28279
28278
  e && (e.ignore = !0);
28280
28279
  }
28281
28280
  function J_(e, t) {
@@ -28531,7 +28530,7 @@ var Yh = {}, qC = (
28531
28530
  }, t.getAxisPointerClass = function(r) {
28532
28531
  return r && Yh[r];
28533
28532
  }, t.type = "axis", t;
28534
- }(Qt)
28533
+ }(Kt)
28535
28534
  ), yp = at();
28536
28535
  function bF(e, t, r, n) {
28537
28536
  var i = r.axis;
@@ -28700,7 +28699,7 @@ var wF = ["axisLine", "axisTickLabel", "axisName"], xF = ["splitArea", "splitLin
28700
28699
  z2: -1
28701
28700
  }));
28702
28701
  }, t.type = "grid", t;
28703
- }(Qt)
28702
+ }(Kt)
28704
28703
  ), t1 = {
28705
28704
  // gridIndex: 0,
28706
28705
  // gridId: '',
@@ -29232,7 +29231,7 @@ function XF(e, t, r) {
29232
29231
  };
29233
29232
  }
29234
29233
  function wg(e) {
29235
- return De.create(e);
29234
+ return Ee.create(e);
29236
29235
  }
29237
29236
  var Di = at(), l1 = ge, Zh = _e, KF = (
29238
29237
  /** @class */
@@ -29708,7 +29707,7 @@ var hz = (
29708
29707
  }, t.prototype.dispose = function(r, n) {
29709
29708
  Cp("axisPointer", n);
29710
29709
  }, t.type = "axisPointer", t;
29711
- }(Qt)
29710
+ }(Kt)
29712
29711
  );
29713
29712
  function dT(e, t) {
29714
29713
  var r = [], n = e.seriesIndex, i;
@@ -30214,7 +30213,7 @@ var Ez = (
30214
30213
  return t.prototype.render = function(r, n, i, a) {
30215
30214
  this.dataZoomModel = r, this.ecModel = n, this.api = i;
30216
30215
  }, t.type = "dataZoom", t;
30217
- }(Qt)
30216
+ }(Kt)
30218
30217
  ), Dz = (
30219
30218
  /** @class */
30220
30219
  function(e) {
@@ -30621,7 +30620,7 @@ var Nz = (
30621
30620
  i instanceof Cr && i.dispose && i.dispose(r, n);
30622
30621
  });
30623
30622
  }, t.type = "toolbox", t;
30624
- }(Qt)
30623
+ }(Kt)
30625
30624
  );
30626
30625
  function Lz(e) {
30627
30626
  return e.indexOf("my") === 0;
@@ -31645,7 +31644,7 @@ var b$ = (
31645
31644
  }, n.onmousemove = function(u) {
31646
31645
  if (u = u || window.event, !s._enterable) {
31647
31646
  var l = i.handler, c = i.painter.getViewportRoot();
31648
- or(c, u, !0), l.dispatch("mousemove", u);
31647
+ ar(c, u, !0), l.dispatch("mousemove", u);
31649
31648
  }
31650
31649
  }, n.onmouseleave = function() {
31651
31650
  s._inContent = !1, s._enterable && s._show && s.hideLater(s._hideDelay);
@@ -32011,7 +32010,7 @@ var w$ = new Ue({
32011
32010
  formatter: c
32012
32011
  }, l = !0;
32013
32012
  }
32014
- l && a && u.content && (u = ge(u), u.content = Yt(u.content));
32013
+ l && a && u.content && (u = ge(u), u.content = Ut(u.content));
32015
32014
  var f = [u], h = this._ecModel.getComponent(o.componentMainType, o.componentIndex);
32016
32015
  h && f.push(h), f.push({
32017
32016
  formatter: u.content
@@ -32063,7 +32062,7 @@ var w$ = new Ue({
32063
32062
  viewSize: [l, c],
32064
32063
  contentSize: f.slice()
32065
32064
  })), Q(n))
32066
- i = ft(n[0], l), a = ft(n[1], c);
32065
+ i = ht(n[0], l), a = ht(n[1], c);
32067
32066
  else if (ie(n)) {
32068
32067
  var v = n;
32069
32068
  v.width = f[0], v.height = f[1];
@@ -32107,7 +32106,7 @@ var w$ = new Ue({
32107
32106
  }, t.prototype.dispose = function(r, n) {
32108
32107
  fe.node || !n.getDom() || (Kl(this, "_updatePosition"), this._tooltipContent.dispose(), Cp("itemTooltip", n));
32109
32108
  }, t.type = "tooltip", t;
32110
- }(Qt)
32109
+ }(Kt)
32111
32110
  );
32112
32111
  function zo(e, t, r) {
32113
32112
  var n = t.ecModel, i;
@@ -32291,7 +32290,7 @@ var M$ = (
32291
32290
  a.add(C);
32292
32291
  }
32293
32292
  }, t.type = "title", t;
32294
- }(Qt)
32293
+ }(Kt)
32295
32294
  );
32296
32295
  function O$(e) {
32297
32296
  e.registerComponentModel(M$), e.registerComponentView(R$);
@@ -32658,7 +32657,7 @@ var I$ = function(e, t) {
32658
32657
  }, t.prototype.remove = function() {
32659
32658
  this.getContentGroup().removeAll(), this._isFirstRender = !0;
32660
32659
  }, t.type = "legend.plain", t;
32661
- }(Qt)
32660
+ }(Kt)
32662
32661
  );
32663
32662
  function P$(e, t, r, n, i, a, o) {
32664
32663
  function s(g, m) {
@@ -33274,7 +33273,7 @@ var j$ = (
33274
33273
  z2: 5
33275
33274
  });
33276
33275
  var x = S.getBoundingRect(), C = u.get("handleSize");
33277
- this._handleHeight = ft(C, this._size[1]), this._handleWidth = x.width / x.height * this._handleHeight, S.setStyle(u.getModel("handleStyle").getItemStyle()), S.style.strokeNoScale = !0, S.rectHover = !0, S.ensureState("emphasis").style = u.getModel(["emphasis", "handleStyle"]).getItemStyle(), Gl(S);
33276
+ this._handleHeight = ht(C, this._size[1]), this._handleWidth = x.width / x.height * this._handleHeight, S.setStyle(u.getModel("handleStyle").getItemStyle()), S.style.strokeNoScale = !0, S.rectHover = !0, S.ensureState("emphasis").style = u.getModel(["emphasis", "handleStyle"]).getItemStyle(), Gl(S);
33278
33277
  var T = u.get("handleColor");
33279
33278
  T != null && (S.style.fill = T), o.add(i[_] = S);
33280
33279
  var A = u.getModel("textStyle");
@@ -33295,7 +33294,7 @@ var j$ = (
33295
33294
  }, this);
33296
33295
  var d = h;
33297
33296
  if (f) {
33298
- var p = ft(u.get("moveHandleSize"), s[1]), v = n.moveHandle = new Ue({
33297
+ var p = ht(u.get("moveHandleSize"), s[1]), v = n.moveHandle = new Ue({
33299
33298
  style: u.getModel("moveHandleStyle").getItemStyle(),
33300
33299
  silent: !0,
33301
33300
  shape: {
@@ -33521,17 +33520,17 @@ var rd = function(e) {
33521
33520
  }, t.prototype.createRepaintRects = function(r, n, i, a) {
33522
33521
  if (this.__firstTimePaint)
33523
33522
  return this.__firstTimePaint = !1, null;
33524
- var o = [], s = this.maxRepaintRectCount, u = !1, l = new De(0, 0, 0, 0);
33523
+ var o = [], s = this.maxRepaintRectCount, u = !1, l = new Ee(0, 0, 0, 0);
33525
33524
  function c(y) {
33526
33525
  if (!(!y.isFinite() || y.isZero()))
33527
33526
  if (o.length === 0) {
33528
- var _ = new De(0, 0, 0, 0);
33527
+ var _ = new Ee(0, 0, 0, 0);
33529
33528
  _.copy(y), o.push(_);
33530
33529
  } else {
33531
33530
  for (var b = !1, S = 1 / 0, x = 0, C = 0; C < o.length; ++C) {
33532
33531
  var T = o[C];
33533
33532
  if (T.intersect(y)) {
33534
- var A = new De(0, 0, 0, 0);
33533
+ var A = new Ee(0, 0, 0, 0);
33535
33534
  A.copy(T), A.union(y), o[C] = A, b = !0;
33536
33535
  break;
33537
33536
  } else if (u) {
@@ -33541,7 +33540,7 @@ var rd = function(e) {
33541
33540
  }
33542
33541
  }
33543
33542
  if (u && (o[x].union(y), b = !0), !b) {
33544
- var _ = new De(0, 0, 0, 0);
33543
+ var _ = new Ee(0, 0, 0, 0);
33545
33544
  _.copy(y), o.push(_);
33546
33545
  }
33547
33546
  u || (u = o.length >= s);
@@ -34063,8 +34062,8 @@ function cj({
34063
34062
  shouldReplaceMergeLines: c = !1,
34064
34063
  isDarkMode: f = !1
34065
34064
  }) {
34066
- const [h, d] = je(null), p = Ut(null);
34067
- return Ee(() => {
34065
+ const [h, d] = je(null), p = ur(null);
34066
+ return Oe(() => {
34068
34067
  if (!p.current)
34069
34068
  return;
34070
34069
  const v = i4(p.current);
@@ -34088,7 +34087,7 @@ function cj({
34088
34087
  return window.addEventListener("resize", g), v.group = "swarmCharts", a4("swarmCharts"), d(v), () => {
34089
34088
  o4(v), window.removeEventListener("resize", g);
34090
34089
  };
34091
- }, [p]), Ee(() => {
34090
+ }, [p]), Oe(() => {
34092
34091
  const v = r.every(({ key: g }) => !!e[g]);
34093
34092
  h && v && h.setOption({
34094
34093
  series: r.map(({ key: g, yAxisIndex: m, ...y }, _) => ({
@@ -34098,7 +34097,7 @@ function cj({
34098
34097
  ..._ === 0 ? { markLine: uj(e) } : {}
34099
34098
  }))
34100
34099
  });
34101
- }, [e, h, r]), Ee(() => {
34100
+ }, [e, h, r]), Oe(() => {
34102
34101
  if (h) {
34103
34102
  const { textColor: v, axisColor: g, backgroundColor: m, splitLine: y } = f ? U1.DARK : U1.LIGHT;
34104
34103
  h.setOption({
@@ -34118,7 +34117,7 @@ function cj({
34118
34117
  }
34119
34118
  });
34120
34119
  }
34121
- }, [h, f]), Ee(() => {
34120
+ }, [h, f]), Oe(() => {
34122
34121
  h && h.setOption(
34123
34122
  {
34124
34123
  series: RT({ charts: e, lines: r, scatterplot: l })
@@ -34175,7 +34174,7 @@ function pj({
34175
34174
  const vj = ({ theme: { isDarkMode: e }, ui: { charts: t } }) => ({
34176
34175
  charts: t,
34177
34176
  isDarkMode: e
34178
- }), gj = Jt(vj)(pj);
34177
+ }), gj = Qt(vj)(pj);
34179
34178
  function mj(e) {
34180
34179
  return (e * 100).toFixed(1) + "%";
34181
34180
  }
@@ -34201,10 +34200,10 @@ function yj({
34201
34200
  }
34202
34201
  const _j = ({ ui: { ratios: e } }) => ({
34203
34202
  ratios: e
34204
- }), bj = Jt(_j)(yj);
34203
+ }), bj = Qt(_j)(yj);
34205
34204
  function Sj() {
34206
- const { data: e, refetch: t } = JR(), r = vr(ka.setUi), n = Ot(({ swarm: a }) => a.state), i = n === ht.SPAWNING || n == ht.RUNNING;
34207
- Ee(() => {
34205
+ const { data: e, refetch: t } = JR(), r = vr(ka.setUi), n = Ot(({ swarm: a }) => a.state), i = n === dt.SPAWNING || n == dt.RUNNING;
34206
+ Oe(() => {
34208
34207
  e && r({ ratios: e });
34209
34208
  }, [e]), tu(t, 5e3, {
34210
34209
  shouldRunInterval: i,
@@ -34224,7 +34223,7 @@ const xj = [
34224
34223
  function Cj({ workers: e = [] }) {
34225
34224
  return /* @__PURE__ */ E.jsx(ru, { defaultSortKey: "id", rows: e, structure: xj });
34226
34225
  }
34227
- const Tj = ({ ui: { workers: e } }) => ({ workers: e }), Ej = Jt(Tj)(Cj), rn = {
34226
+ const Tj = ({ ui: { workers: e } }) => ({ workers: e }), Ej = Qt(Tj)(Cj), rn = {
34228
34227
  stats: {
34229
34228
  component: wI,
34230
34229
  key: "stats",
@@ -34306,7 +34305,7 @@ function kj({ currentTabIndexFromQuery: e, notification: t, setNotification: r,
34306
34305
  const c = i[l].key;
34307
34306
  t[c] && r({ [c]: !1 }), Aj({ tab: c }), n({ query: { tab: c } }), o(l);
34308
34307
  };
34309
- return Ee(() => {
34308
+ return Oe(() => {
34310
34309
  o(e);
34311
34310
  }, [e]), /* @__PURE__ */ E.jsxs(Hs, { maxWidth: "xl", children: [
34312
34311
  /* @__PURE__ */ E.jsx(pe, { sx: { mb: 2 }, children: /* @__PURE__ */ E.jsx(
@@ -34346,7 +34345,7 @@ const Nj = (e, { tabs: t, extendedTabs: r }) => {
34346
34345
  }, Lj = {
34347
34346
  setNotification: AS.setNotification,
34348
34347
  setUrl: Oj.setUrl
34349
- }, Bj = Jt(Nj, Lj)(kj), Vj = (e) => vE({
34348
+ }, Bj = Qt(Nj, Lj)(kj), Vj = (e) => vE({
34350
34349
  palette: {
34351
34350
  mode: e,
34352
34351
  primary: {
@@ -34370,15 +34369,15 @@ const Nj = (e, { tabs: t, extendedTabs: r }) => {
34370
34369
  });
34371
34370
  function Fj() {
34372
34371
  const e = Ot(({ theme: { isDarkMode: r } }) => r);
34373
- return gt(
34372
+ return ct(
34374
34373
  () => Vj(e ? zr.DARK : zr.LIGHT),
34375
34374
  [e]
34376
34375
  );
34377
34376
  }
34378
34377
  const zj = 2e3;
34379
34378
  function $j() {
34380
- const e = vr(eu.setSwarm), t = vr(ka.setUi), r = vr(ka.updateCharts), n = vr(ka.updateChartMarkers), i = Ot(({ swarm: f }) => f), a = Ut(i.state), [o, s] = je(!1), { data: u, refetch: l } = QR(), c = i.state === ht.SPAWNING || i.state == ht.RUNNING;
34381
- Ee(() => {
34379
+ const e = vr(eu.setSwarm), t = vr(ka.setUi), r = vr(ka.updateCharts), n = vr(ka.updateChartMarkers), i = Ot(({ swarm: f }) => f), a = ur(i.state), [o, s] = je(!1), { data: u, refetch: l } = QR(), c = i.state === dt.SPAWNING || i.state == dt.RUNNING;
34380
+ Oe(() => {
34382
34381
  if (!u)
34383
34382
  return;
34384
34383
  const {
@@ -34421,17 +34420,17 @@ function $j() {
34421
34420
  }), r(M), e({ state: f, workerCount: b });
34422
34421
  }, [u]), tu(l, zj, {
34423
34422
  shouldRunInterval: c
34424
- }), Ee(() => {
34425
- i.state === ht.RUNNING && a.current === ht.STOPPED && s(!0), a.current = i.state;
34423
+ }), Oe(() => {
34424
+ i.state === dt.RUNNING && a.current === dt.STOPPED && s(!0), a.current = i.state;
34426
34425
  }, [i.state, a]);
34427
34426
  }
34428
34427
  const jj = 2e3;
34429
34428
  function Gj() {
34430
34429
  const { data: e, refetch: t } = rO(), r = vr(eu.setSwarm), n = Ot(({ swarm: i }) => i);
34431
- Ee(() => {
34430
+ Oe(() => {
34432
34431
  e && r({ workerCount: e.workerCount });
34433
34432
  }, [e]), tu(t, jj, {
34434
- shouldRunInterval: n.isDistributed && n.state === ht.READY
34433
+ shouldRunInterval: n.isDistributed && n.state === dt.READY
34435
34434
  });
34436
34435
  }
34437
34436
  function Wj({ swarmState: e, tabs: t, extendedTabs: r }) {
@@ -34439,12 +34438,12 @@ function Wj({ swarmState: e, tabs: t, extendedTabs: r }) {
34439
34438
  const n = Fj();
34440
34439
  return /* @__PURE__ */ E.jsxs(_A, { theme: n, children: [
34441
34440
  /* @__PURE__ */ E.jsx(zb, {}),
34442
- /* @__PURE__ */ E.jsx(TO, { children: e === ht.READY ? /* @__PURE__ */ E.jsx(dv, {}) : /* @__PURE__ */ E.jsx(Bj, { extendedTabs: r, tabs: t }) })
34441
+ /* @__PURE__ */ E.jsx(TO, { children: e === dt.READY ? /* @__PURE__ */ E.jsx(dv, {}) : /* @__PURE__ */ E.jsx(Bj, { extendedTabs: r, tabs: t }) })
34443
34442
  ] });
34444
34443
  }
34445
34444
  const Hj = ({ swarm: { state: e } }) => ({
34446
34445
  swarmState: e
34447
- }), Uj = Jt(Hj)(Wj), IT = Qp({
34446
+ }), Uj = Qt(Hj)(Wj), IT = Qp({
34448
34447
  [Ms.reducerPath]: Ms.reducer,
34449
34448
  logViewer: OO,
34450
34449
  notification: DO,
@@ -34468,9 +34467,9 @@ function t6({
34468
34467
  tabs: i
34469
34468
  }) {
34470
34469
  const a = vr(eu.setSwarm, nd.dispatch), o = vr(ka.setUi, nd.dispatch);
34471
- return Ee(() => {
34470
+ return Oe(() => {
34472
34471
  a({ extendedTables: t, extendedCsvFiles: r });
34473
- }, [t, r]), Ee(() => {
34472
+ }, [t, r]), Oe(() => {
34474
34473
  o({ extendedStats: n });
34475
34474
  }, [n]), /* @__PURE__ */ E.jsx(XT, { store: nd, children: /* @__PURE__ */ E.jsx(Uj, { extendedTabs: e, tabs: i }) });
34476
34475
  }
@@ -34484,7 +34483,7 @@ export {
34484
34483
  CO as Navbar,
34485
34484
  SO as NewTestButton,
34486
34485
  wO as ResetButton,
34487
- ht as SWARM_STATE,
34486
+ dt as SWARM_STATE,
34488
34487
  lv as Select,
34489
34488
  Zm as StateButtons,
34490
34489
  xO as StopButton,