@arcgis/charts-components 5.2.0-next.132 → 5.2.0-next.134

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.
@@ -15,26 +15,26 @@ import { html as eo, css as _m } from "lit";
15
15
  import { createRef as Gm, ref as hl } from "lit/directives/ref.js";
16
16
  import { debounce as yt, cloneDeep as ke, isEqual as pt, isEmpty as Sa } from "es-toolkit/compat";
17
17
  import { H as Bt } from "../../chunks/resources.js";
18
- import { XYChart as fe, PieChart as we, AxisFill as Xm, AxisFillCircular as Ym, GaugeChart as kt, DateAxis as Ne, ValueAxis as Ae, CategoryAxis as ct, CategoryAxisDataItem as Aa, DateAxisDataItem as fn, LineSeries as Ce, ColumnSeries as dt, PieSeries as Wt, XYCursor as Ec, XYSeries as bi, SerialChart as Ys, Cursor as Um, AxisLabel as Us, ColumnSeriesDataItem as js, LineSeriesDataItem as Pa, CandlestickSeries as We, StepLineSeries as Ft, LegendDataItem as na, Series as zc, CandlestickSeriesDataItem as jm, PieSeriesDataItem as yi, Legend as qm, AxisRendererX as At, AxisRendererCircular as mn, AxisLabelCircular as qs, ValueAxisDataItem as Zs, AxisRendererY as Va, ClockHand as Zm, Chart as Hc } from "@amcharts/amcharts4/charts.js";
18
+ import { XYChart as fe, PieChart as $e, AxisFill as Xm, AxisFillCircular as Ym, GaugeChart as kt, DateAxis as Ne, ValueAxis as Ae, CategoryAxis as ct, CategoryAxisDataItem as Aa, DateAxisDataItem as fn, LineSeries as Ce, ColumnSeries as dt, PieSeries as Wt, XYCursor as Ec, XYSeries as bi, SerialChart as Ys, Cursor as Um, AxisLabel as Us, ColumnSeriesDataItem as js, LineSeriesDataItem as Pa, CandlestickSeries as We, StepLineSeries as Ft, LegendDataItem as na, Series as zc, CandlestickSeriesDataItem as jm, PieSeriesDataItem as yi, Legend as qm, AxisRendererX as At, AxisRendererCircular as mn, AxisLabelCircular as qs, ValueAxisDataItem as Zs, AxisRendererY as Va, ClockHand as Zm, Chart as Hc } from "@amcharts/amcharts4/charts.js";
19
19
  import { Color as Ho, percent as gt, LinePattern as _c, RectPattern as Gc, color as gn, DateFormatter as Xc, NumberFormatter as Yc, Group as Km, MouseCursorStyle as qt, Label as _o, DropShadowFilter as Qm, Sprite as Ks, utils as Uc, Tooltip as jc, Container as Jm, RoundedRectangle as eg, Percent as Go, Slice as tg, options as to, useTheme as ig, unuseTheme as ag, create as Qs } from "@amcharts/amcharts4/core.js";
20
20
  import pl from "@amcharts/amcharts4/themes/animated.js";
21
21
  import { W as Se, a as y, b as as, c as ie, S as qc, d as Ut, e as Ye, f as _, g as hn, h as Zc, i as bl, j as Ca, k as yl, l as os, m as Sl, n as xa, o as og } from "../../chunks/chart-object-literals.js";
22
- import { e as ho, i as oo, a as Xo, b as Kc, m as Qc, c as pn, d as Jc, f as jt, h as ed, g as td, j as Js, s as er, k as id, l as ad, n as Yo, o as ng, p as j, q as tt, r as sa, t as Lt, u as Et, v as tr, w as ii, x as ns, y as va, A as gi, z as hi, B as bt, C as De, D as po, E as Wa, F as Si, G as ir, H as ai, I as Ta, J as oi, K as ar, L as Ct, M as or, N as Qt, O as Li, P as ee, Q as ye, R as sg, S as bn, T as Ni, U as ui, V as Fi, W as Pi, X as nr, Y as Ea, Z as $t, _ as sr, $ as od, a0 as rr, a1 as lr, a2 as _t, a3 as bo, a4 as no, a5 as cr, a6 as za, a7 as nd, a8 as sd, a9 as Ci, aa as rd, ab as ld, ac as yn, ad as dr, ae as Sn, af as ur, ag as fr, ah as cd, ai as dd, aj as ud, ak as mr, al as fd, am as Cl, an as Cn, ao as md, ap as gr, aq as hr, ar as Uo, as as rg, at as gd, au as hd, av as io, aw as xn, ax as pd, ay as bd, az as lg, aA as cg, aB as dg, aC as ug, aD as yd, aE as Sd, aF as fg, aG as mg, aH as gg, aI as vn, aJ as F, aK as hg, aL as Cd, aM as pg, aN as bg, aO as xd, aP as ni, aQ as yg, aR as Sg, aS as so, aT as Ln, aU as Ki, aV as Cg, aW as vd, aX as xg, aY as vg, aZ as Lg, a_ as Fg, a$ as Ag, b0 as ss, b1 as Tg, b2 as kg, b3 as Ld, b4 as Ig, b5 as Rg, b6 as Og, b7 as wg, b8 as Dg, b9 as $g, ba as Mg, bb as Bg, bc as Ng, bd as Vo, be as Fd, bf as Ad, bg as xl, bh as Pg, bi as Vg, bj as Wg, bk as Eg, bl as rs, bm as zg, bn as Oi, bo as Hg, bp as _g, bq as Gg, br as Xg, bs as Yg, bt as vl, bu as Ug, bv as jg, bw as qg, bx as Zg, by as Kg, bz as Ll, bA as Qg, bB as Jg, bC as eh, bD as th, bE as ih, bF as ah, bG as oh, bH as nh, bI as sh } from "../../chunks/index.js";
22
+ import { e as ho, i as oo, a as Xo, b as Kc, m as Qc, c as pn, d as Jc, f as jt, h as ed, g as td, j as Js, s as er, k as id, l as ad, n as Yo, o as ng, p as j, q as tt, r as sa, t as Lt, u as Et, v as tr, w as ii, x as ns, y as va, A as gi, z as hi, B as bt, C as Oe, D as po, E as Wa, F as Si, G as ir, H as ai, I as Ta, J as oi, K as ar, L as Ct, M as or, N as Qt, O as Li, P as ee, Q as ye, R as sg, S as bn, T as Ni, U as ui, V as Fi, W as Pi, X as nr, Y as Ea, Z as $t, _ as sr, $ as od, a0 as rr, a1 as lr, a2 as _t, a3 as bo, a4 as no, a5 as cr, a6 as za, a7 as nd, a8 as sd, a9 as Ci, aa as rd, ab as ld, ac as yn, ad as dr, ae as Sn, af as ur, ag as fr, ah as cd, ai as dd, aj as ud, ak as mr, al as fd, am as Cl, an as Cn, ao as md, ap as gr, aq as hr, ar as Uo, as as rg, at as gd, au as hd, av as io, aw as xn, ax as pd, ay as bd, az as lg, aA as cg, aB as dg, aC as ug, aD as yd, aE as Sd, aF as fg, aG as mg, aH as gg, aI as vn, aJ as F, aK as hg, aL as Cd, aM as pg, aN as bg, aO as xd, aP as ni, aQ as yg, aR as Sg, aS as so, aT as Ln, aU as Ki, aV as Cg, aW as vd, aX as xg, aY as vg, aZ as Lg, a_ as Fg, a$ as Ag, b0 as ss, b1 as Tg, b2 as kg, b3 as Ld, b4 as Ig, b5 as Rg, b6 as wg, b7 as Og, b8 as Dg, b9 as $g, ba as Mg, bb as Bg, bc as Ng, bd as Vo, be as Fd, bf as Ad, bg as xl, bh as Pg, bi as Vg, bj as Wg, bk as Eg, bl as rs, bm as zg, bn as wi, bo as Hg, bp as _g, bq as Gg, br as Xg, bs as Yg, bt as vl, bu as Ug, bv as jg, bw as qg, bx as Zg, by as Kg, bz as Ll, bA as Qg, bB as Jg, bC as eh, bD as th, bE as ih, bF as ah, bG as oh, bH as nh, bI as sh } from "../../chunks/index.js";
23
23
  import { C as E, g as _i, a as V, b as Me, s as _e, i as Fe, c as Fn, d as ls, A as Q, e as Qe, f as st, S as ge, n as Td, h as kd, j as jo, k as Wo, O as Ie, l as Id, u as rh } from "../../chunks/index2.js";
24
24
  import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
25
25
  import { R as Xe, a as et, b as Z, c as cs, d as An, e as qo } from "../../chunks/rest-js-object-literals.js";
26
- import { g as ta, r as pr, f as yo, a as Fl, p as Pt, b as ka, c as ys, d as lh, e as ch, h as dh, q as $i, i as Re, j as Tn, k as br, l as yr, m as Sr, n as Rd, o as Ia, s as Od, t as kn, u as wd, v as Cr, w as uh, x as fh, y as mh, z as Dd, A as $d, B as gh, C as So, D as hh, E as Ra, F as Al, G as ph, H as bh, L as yh } from "../../chunks/index3.js";
26
+ import { g as ta, r as pr, f as yo, a as Fl, p as Pt, b as ka, c as ys, d as lh, e as ch, h as dh, q as $i, i as Re, j as Tn, k as br, l as yr, m as Sr, n as Rd, o as Ia, s as wd, t as kn, u as Od, v as Cr, w as uh, x as fh, y as mh, z as Dd, A as $d, B as gh, C as So, D as hh, E as Ra, F as Al, G as ph, H as bh, L as yh } from "../../chunks/index3.js";
27
27
  import { i as Ge, a as si } from "../../chunks/type-guards.js";
28
28
  import { g as W, a as Sh } from "../../chunks/series-types.js";
29
29
  import { isLight as Ch } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
30
30
  import { Scrollbar as Tl } from "@amcharts/amcharts4/.internal/core/elements/Scrollbar.js";
31
- import { color as ro, Series as Oa, percent as it, LinePattern as Md, RectanglePattern as xh, p50 as de, p0 as $e, p100 as he, Graphics as Rt, SerialChart as lo, Label as nt, Rectangle as wa, DateFormatter as vh, NumberFormatter as Bd, Bullet as Ai, Tooltip as Gi, Template as ra, RoundedRectangle as Ss, Slice as kl, time as Lh, Timezone as Fh, DataItem as xr, Container as pi, Color as Ah, HeatLegend as Zo, LinearGradient as Th, Legend as Nd, Scrollbar as Cs, addLicense as kh, registry as Ih, Root as Rh } from "@amcharts/amcharts5";
31
+ import { color as ro, Series as wa, percent as it, LinePattern as Md, RectanglePattern as xh, p50 as de, p0 as De, p100 as he, Graphics as Rt, SerialChart as lo, Label as nt, Rectangle as Oa, DateFormatter as vh, NumberFormatter as Bd, Bullet as Ai, Tooltip as Gi, Template as ra, RoundedRectangle as Ss, Slice as kl, time as Lh, Timezone as Fh, DataItem as xr, Container as pi, Color as Ah, HeatLegend as Zo, LinearGradient as Th, Legend as Nd, Scrollbar as Cs, addLicense as kh, registry as Ih, Root as Rh } from "@amcharts/amcharts5";
32
32
  import { PieSeries as Je, PieChart as Kt } from "@amcharts/amcharts5/percent.js";
33
- import { RadarCursor as vr, AxisRendererCircular as Jt, ClockHand as xs, RadarChart as Vi, AxisRendererRadial as Oh, RadarLineSeries as Lr } from "@amcharts/amcharts5/radar.js";
34
- import { AxisRendererY as xi, LineSeries as ne, ColumnSeries as xe, CategoryAxis as Ve, XYCursor as Pd, XYChart as pe, CandlestickSeries as Ti, StepLineSeries as la, XYSeries as Fr, AxisRendererX as ut, DateAxis as Be, ValueAxis as be, AxisBullet as wh, AxisLabel as Il } from "@amcharts/amcharts5/xy.js";
33
+ import { RadarCursor as vr, AxisRendererCircular as Jt, ClockHand as xs, RadarChart as Vi, AxisRendererRadial as wh, RadarLineSeries as Lr } from "@amcharts/amcharts5/radar.js";
34
+ import { AxisRendererY as xi, LineSeries as ne, ColumnSeries as xe, CategoryAxis as Ve, XYCursor as Pd, XYChart as pe, CandlestickSeries as Ti, StepLineSeries as la, XYSeries as Fr, AxisRendererX as ut, DateAxis as Be, ValueAxis as be, AxisBullet as Oh, AxisLabel as Il } from "@amcharts/amcharts5/xy.js";
35
35
  import Dh from "@amcharts/amcharts5/themes/Animated.js";
36
36
  import $h from "@amcharts/amcharts5/themes/Responsive.js";
37
- import { g as Rl, a as Mh, b as Bh, c as Nh, d as Ol, t as wl, e as Dl } from "../../chunks/web-component-utils.js";
37
+ import { g as Rl, a as Mh, b as Bh, c as Nh, d as wl, t as Ol, e as Dl } from "../../chunks/web-component-utils.js";
38
38
  import { curveLinearClosed as Ph, curveLinear as Vh, curveCardinal as Wh, curveMonotoneY as Eh, curveMonotoneX as zh } from "d3-shape";
39
39
  import { u as $l } from "../../chunks/useT9n.js";
40
40
  import { S as Hh } from "../../chunks/interfaces.js";
@@ -150,7 +150,7 @@ function _d(t, e) {
150
150
  }
151
151
  function Sp(t) {
152
152
  let e;
153
- return t.baseSprite instanceof fe || t.baseSprite instanceof we ? e = t.baseSprite : (t instanceof Xm || t instanceof Ym) && (e = t.axis.chart), e;
153
+ return t.baseSprite instanceof fe || t.baseSprite instanceof $e ? e = t.baseSprite : (t instanceof Xm || t instanceof Ym) && (e = t.axis.chart), e;
154
154
  }
155
155
  function Cp(t) {
156
156
  return Hd(t.background.fill);
@@ -529,14 +529,14 @@ function Gl(t, e) {
529
529
  a !== void 0 && (i.fill = ia(a), i.fillOpacity = gn(i.fill.toString()).alpha === 0 ? 0 : 1), o !== void 0 && (i.stroke = ia(o)), n !== void 0 && (i.strokeWidth = n), s !== void 0 && (i.rotation = s), c !== void 0 && (i.scale = c), l !== void 0 && (i.fillOpacity = (i.fillOpacity ?? 1) * l, i.strokeOpacity = (i.strokeOpacity ?? 1) * l);
530
530
  }
531
531
  }
532
- function Op(t, e, i) {
532
+ function wp(t, e, i) {
533
533
  const a = new Set(Array.from(e)), o = t.findIndex((n) => !a.has(Ls(n)));
534
534
  return o !== -1 ? o : i;
535
535
  }
536
536
  function Ls(t) {
537
537
  return `${t[0]},${t[1]},${t[2]}`;
538
538
  }
539
- function wp(t) {
539
+ function Op(t) {
540
540
  const { chartConfig: e, queryObject: i, popupTemplateFieldInfosEnabled: a, labelUpdateNeeded: o, utilsStrings: n } = t, { series: s } = e, r = s[0], { x: l } = r, c = !ng({ chartConfig: e }), d = j([r]), u = d === V.PieFromFields, f = tt(i), g = sa(f).idField, h = Lt(i, a);
541
541
  return {
542
542
  x: l,
@@ -571,7 +571,7 @@ function Dp(t) {
571
571
  colorMatch: r
572
572
  });
573
573
  let u = s;
574
- c?.color || (u = Op(dh, a, s));
574
+ c?.color || (u = wp(dh, a, s));
575
575
  const f = {
576
576
  dataItem: {
577
577
  dataContext: e
@@ -667,7 +667,7 @@ function qd(t) {
667
667
  const d = jt(i.data), u = ed({
668
668
  oldConfig: n,
669
669
  newConfig: o
670
- }), f = td(n, o), g = Js(n, o), b = wp({
670
+ }), f = td(n, o), g = Js(n, o), b = Op({
671
671
  chartConfig: o,
672
672
  queryObject: s,
673
673
  popupTemplateFieldInfosEnabled: r,
@@ -997,28 +997,28 @@ function In(t, e) {
997
997
  throw new gi(e.modalHeaders.error, i ?? e.errors.simpleError);
998
998
  }
999
999
  function Up(t) {
1000
- return De(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || De(t[2].valueFormat));
1000
+ return Oe(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || Oe(t[2].valueFormat));
1001
1001
  }
1002
1002
  function jp(t) {
1003
- return De(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || De(t[2].valueFormat));
1003
+ return Oe(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || Oe(t[2].valueFormat));
1004
1004
  }
1005
1005
  function qp(t) {
1006
- return (hi(t?.[0]?.valueFormat) || bt(t?.[0]?.valueFormat)) && De(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || De(t[2].valueFormat));
1006
+ return (hi(t?.[0]?.valueFormat) || bt(t?.[0]?.valueFormat)) && Oe(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || Oe(t[2].valueFormat));
1007
1007
  }
1008
1008
  function Zp(t) {
1009
1009
  return hi(t?.[0]?.valueFormat) && hi(t?.[1]?.valueFormat) || bt(t?.[0]?.valueFormat) && hi(t?.[1]?.valueFormat) || bt(t?.[0]?.valueFormat) && bt(t?.[1]?.valueFormat);
1010
1010
  }
1011
1011
  function Kp(t) {
1012
- return (hi(t?.[0]?.valueFormat) || bt(t?.[0]?.valueFormat)) && De(t?.[1]?.valueFormat);
1012
+ return (hi(t?.[0]?.valueFormat) || bt(t?.[0]?.valueFormat)) && Oe(t?.[1]?.valueFormat);
1013
1013
  }
1014
1014
  function Qp(t) {
1015
- return De(t?.[0]?.valueFormat) && De(t?.[1]?.valueFormat);
1015
+ return Oe(t?.[0]?.valueFormat) && Oe(t?.[1]?.valueFormat);
1016
1016
  }
1017
1017
  function Jp(t) {
1018
- return De(t?.[0]?.valueFormat) && De(t?.[1]?.valueFormat);
1018
+ return Oe(t?.[0]?.valueFormat) && Oe(t?.[1]?.valueFormat);
1019
1019
  }
1020
1020
  function eb(t) {
1021
- return De(t?.[0]?.valueFormat);
1021
+ return Oe(t?.[0]?.valueFormat);
1022
1022
  }
1023
1023
  function Xi(t) {
1024
1024
  const { chartType: e, axesConfig: i, errorStrings: a } = t;
@@ -1085,7 +1085,7 @@ function As(t) {
1085
1085
  isXAxis: !0,
1086
1086
  chartType: a,
1087
1087
  valueFormat: i
1088
- }), n = bt(i) && e instanceof Ne, s = De(i) && e instanceof Ae && !(e instanceof Ne), r = o && e instanceof ct;
1088
+ }), n = bt(i) && e instanceof Ne, s = Oe(i) && e instanceof Ae && !(e instanceof Ne), r = o && e instanceof ct;
1089
1089
  return !n && !s && !r;
1090
1090
  }
1091
1091
  function Kd(t, e) {
@@ -1283,7 +1283,7 @@ function ub(t) {
1283
1283
  valueFormat: a
1284
1284
  });
1285
1285
  let g = !1;
1286
- !(e instanceof Ne) && De(a) ? Ul({
1286
+ !(e instanceof Ne) && Oe(a) ? Ul({
1287
1287
  axis: e,
1288
1288
  formatOptions: a,
1289
1289
  overridePercentMultiplication: n,
@@ -1299,7 +1299,7 @@ function ub(t) {
1299
1299
  axis: e,
1300
1300
  formatOptions: a,
1301
1301
  categoryAxisFormatter: r
1302
- }), Ke(e.uid, { numberFormatter: void 0 })) : De(a) ? (Ul({
1302
+ }), Ke(e.uid, { numberFormatter: void 0 })) : Oe(a) ? (Ul({
1303
1303
  axis: e,
1304
1304
  formatOptions: a,
1305
1305
  overridePercentMultiplication: n,
@@ -1340,14 +1340,14 @@ function fb(t, e) {
1340
1340
  Ji({ element: t.cursor.lineX, lineSymbol: a }), Ji({ element: t.cursor.lineY, lineSymbol: a });
1341
1341
  }
1342
1342
  function iu(t) {
1343
- if (!(t instanceof kt) && !(t instanceof we)) {
1343
+ if (!(t instanceof kt) && !(t instanceof $e)) {
1344
1344
  t.cursor = new Ec();
1345
1345
  const e = "userAgentData" in navigator && navigator.userAgentData && typeof navigator.userAgentData == "object" && "mobile" in navigator.userAgentData && navigator.userAgentData.mobile === !0 || /Mobi|Android/iu.test(navigator.userAgent);
1346
1346
  t.cursor.hideSeriesTooltipsOnSelection = !e;
1347
1347
  }
1348
1348
  }
1349
1349
  function au(t, e) {
1350
- if (!(t instanceof kt) && !(t instanceof we)) {
1350
+ if (!(t instanceof kt) && !(t instanceof $e)) {
1351
1351
  const i = t, a = i.cursor ?? new Ec();
1352
1352
  e?.style !== void 0 && fb(i, e.style);
1353
1353
  const o = A.cursorCrosshair;
@@ -1399,7 +1399,7 @@ function gb(t) {
1399
1399
  }
1400
1400
  }
1401
1401
  function hb(t) {
1402
- const { chart: e, actionMode: i, cursorRange: a } = t, o = D(e.uid, "isRotated"), n = D(e.uid, "config"), s = Ct(n), r = W(n?.series), l = r === y.LineSeries && De(n?.axes?.[0]?.valueFormat), c = r === y.LineSeries && hi(n?.axes?.[0]?.valueFormat), d = r === y.LineSeries && bt(n?.axes?.[0]?.valueFormat);
1402
+ const { chart: e, actionMode: i, cursorRange: a } = t, o = D(e.uid, "isRotated"), n = D(e.uid, "config"), s = Ct(n), r = W(n?.series), l = r === y.LineSeries && Oe(n?.axes?.[0]?.valueFormat), c = r === y.LineSeries && hi(n?.axes?.[0]?.valueFormat), d = r === y.LineSeries && bt(n?.axes?.[0]?.valueFormat);
1403
1403
  let u, f = !1;
1404
1404
  const g = i ?? D(e.uid, "actionMode") ?? A.actionMode;
1405
1405
  if (D(e.uid, "filterBySelection") === !0)
@@ -1552,7 +1552,7 @@ function Lb(t) {
1552
1552
  selectedMaxFieldWithOutliers: C,
1553
1553
  selectedMinFieldWithOutliers: x,
1554
1554
  iqrField: L
1555
- } = vb({ chartSubType: s, yAxisField: n, splitBy: o, showOutliers: r }), v = l[g], T = u[g], k = l[b], R = l[h], I = u[S] ?? u[x], w = u[p] ?? u[C];
1555
+ } = vb({ chartSubType: s, yAxisField: n, splitBy: o, showOutliers: r }), v = l[g], T = u[g], k = l[b], R = l[h], I = u[S] ?? u[x], O = u[p] ?? u[C];
1556
1556
  let $ = xb({ oneSelectedItem: u, dataContext: l, xAxisField: a });
1557
1557
  if ($)
1558
1558
  switch (pb(u, v)) {
@@ -1565,7 +1565,7 @@ function Lb(t) {
1565
1565
  case Di.BoxToOutlier:
1566
1566
  $ = Sb({
1567
1567
  selectedMin: I,
1568
- selectedMax: w,
1568
+ selectedMax: O,
1569
1569
  elementOutlierValue: v,
1570
1570
  oneSelectedItem: u,
1571
1571
  iqrField: L
@@ -1574,7 +1574,7 @@ function Lb(t) {
1574
1574
  case Di.BoxToBox:
1575
1575
  $ = Cb({
1576
1576
  selectedMin: I,
1577
- selectedMax: w,
1577
+ selectedMax: O,
1578
1578
  elementMin: k,
1579
1579
  oneSelectedItem: u,
1580
1580
  elementMax: R,
@@ -1606,7 +1606,7 @@ function $o(t) {
1606
1606
  let o = e[a === "x" ? E.originalXValue : E.originalYCategoryValue];
1607
1607
  return o === void 0 && i && (o = e[i]), o === void 0 && (o = e[a === "x" ? Re.xField : Re.yField]), o;
1608
1608
  }
1609
- function On(t) {
1609
+ function wn(t) {
1610
1610
  const {
1611
1611
  options: e,
1612
1612
  elementDataContext: i,
@@ -1662,8 +1662,8 @@ function On(t) {
1662
1662
  else if (x !== void 0 && x in S && x in p)
1663
1663
  C = S[x] === p[x];
1664
1664
  else if (E.dateBinningRange in p && typeof S[n] == "number") {
1665
- const L = S[n], v = S[E.dateBinningRange], T = Array.isArray(v) && Number.isFinite(v[0]) && Number.isFinite(v[1]), [k, R] = T ? v : [0, 0], [I, w] = p[E.dateBinningRange], $ = d === as.Start || p[E.firstTemporalBin] === !0 ? L >= I : L > I, B = d === as.End || p[E.lastTemporalBin] === !0 ? L <= w : L < w;
1666
- C = (T ? k < w && I < R : $ && B) && s in S && Number.isFinite(S[s]);
1665
+ const L = S[n], v = S[E.dateBinningRange], T = Array.isArray(v) && Number.isFinite(v[0]) && Number.isFinite(v[1]), [k, R] = T ? v : [0, 0], [I, O] = p[E.dateBinningRange], $ = d === as.Start || p[E.firstTemporalBin] === !0 ? L >= I : L > I, B = d === as.End || p[E.lastTemporalBin] === !0 ? L <= O : L < O;
1666
+ C = (T ? k < O && I < R : $ && B) && s in S && Number.isFinite(S[s]);
1667
1667
  } else {
1668
1668
  const L = (k) => {
1669
1669
  let R = k[E.originalXValue];
@@ -1693,11 +1693,11 @@ function On(t) {
1693
1693
  const { dataContextXMinField: S, dataContextXMaxField: C, dataContextYMinField: x, dataContextYMaxField: L } = E.scatterplotAggregationFields, { [S]: v, [C]: T } = p, k = n !== s ? p[x] : v, R = n !== s ? p[L] : T, I = ($) => {
1694
1694
  const B = $[n] ?? Number.NaN, M = v ?? Number.NaN, P = T ?? Number.NaN;
1695
1695
  return v === T ? B === M : (B ?? Number.NaN) >= M && (B ?? Number.NaN) < P;
1696
- }, w = ($) => {
1696
+ }, O = ($) => {
1697
1697
  const B = $[s] ?? Number.NaN, M = k ?? Number.NaN, P = R ?? Number.NaN;
1698
1698
  return k === R ? B === M : B >= M && B < P;
1699
1699
  };
1700
- f = ($) => I($) && w($);
1700
+ f = ($) => I($) && O($);
1701
1701
  }
1702
1702
  }
1703
1703
  break;
@@ -1791,7 +1791,7 @@ function mo(t) {
1791
1791
  });
1792
1792
  return typeof e == "number" && i.type === y.NumberAxisFormat ? n = s.format(e, Si(i)) : (typeof e == "number" || e instanceof Date) && i.type === y.DateAxisFormat && (n = s.format(e, Si(i))), n;
1793
1793
  }
1794
- function Ot(t) {
1794
+ function wt(t) {
1795
1795
  const { chart: e, config: i } = t;
1796
1796
  let a = i;
1797
1797
  return i === void 0 && e !== void 0 && (a = D(e.uid, "config")), Qe(a);
@@ -1811,19 +1811,19 @@ function Fb(t) {
1811
1811
  }
1812
1812
  ), t instanceof kt && t.radarContainer.children.each((e) => {
1813
1813
  Nt(e.uid);
1814
- }), t instanceof we && t.series.getIndex(0)?.slices.each((e) => {
1814
+ }), t instanceof $e && t.series.getIndex(0)?.slices.each((e) => {
1815
1815
  Nt(e.uid);
1816
1816
  }), "cursor" in t && t.cursor instanceof Um && Nt(t.cursor?.uid), "legend" in t && t.legend !== void 0 && (Nt(t.legend.uid), Nt(t.legend.valueLabels?.template?.uid)), Nt(t.uid);
1817
1817
  }
1818
1818
  function Mo(t) {
1819
1819
  return typeof t == "number" ? t : t.value;
1820
1820
  }
1821
- function wn(t, e) {
1821
+ function On(t, e) {
1822
1822
  e !== void 0 && (e.marginBottom !== void 0 && (t.marginBottom = e.marginBottom), e.marginTop !== void 0 && (t.marginTop = e.marginTop), e.marginRight !== void 0 && (t.marginRight = e.marginRight), e.marginLeft !== void 0 && (t.marginLeft = e.marginLeft), e.verticalCenter !== void 0 && (t.verticalCenter = Xd(e.verticalCenter)), e.horizontalCenter !== void 0 && (t.horizontalCenter = Ar(e.horizontalCenter)), e.strokeWidth !== void 0 && (t.strokeWidth = e.strokeWidth), e.wrap !== void 0 && (t.wrap = e.wrap), e.truncate !== void 0 && (t.truncate = e.truncate), e.maxWidth !== void 0 && (t.maxWidth = e.maxWidth), e.applyOnClones !== void 0 && (t.applyOnClones = e.applyOnClones, t.background.applyOnClones = e.applyOnClones));
1823
1823
  }
1824
1824
  function li(t, e) {
1825
1825
  const i = e?.createChild(_o) ?? new _o();
1826
- return wn(i, t), i;
1826
+ return On(i, t), i;
1827
1827
  }
1828
1828
  function Ab(t) {
1829
1829
  const e = t.push(new Qm());
@@ -1854,7 +1854,7 @@ function jl(t) {
1854
1854
  } else
1855
1855
  e[a] = i;
1856
1856
  }
1857
- function wt(t) {
1857
+ function Ot(t) {
1858
1858
  const { label: e, labelConfig: i, defaults: a, skipSettingText: o } = t;
1859
1859
  if (i !== void 0) {
1860
1860
  const n = Jo(i.content, e.rtl, a);
@@ -1981,7 +1981,7 @@ function fu(t) {
1981
1981
  }
1982
1982
  h !== void 0 && Gt(e.uid, {
1983
1983
  [h]: u
1984
- }), n !== void 0 && (n.content.text = l === !0 ? "{valueX}" : "{valueY}", n.visible = n.visible !== !1), wt({
1984
+ }), n !== void 0 && (n.content.text = l === !0 ? "{valueX}" : "{valueY}", n.visible = n.visible !== !1), Ot({
1985
1985
  label: a,
1986
1986
  labelConfig: n,
1987
1987
  defaults: o ?? A.dataLabel
@@ -2001,11 +2001,11 @@ function mu(t, e) {
2001
2001
  function Ha(t, e) {
2002
2002
  t.name = e;
2003
2003
  }
2004
- function Or(t) {
2004
+ function wr(t) {
2005
2005
  const { chart: e, lineSeries: i, applyPropertiesToClones: a } = t, o = i.bullets.push(new Ks());
2006
2006
  return bp(o.uid, { isBulletMarker: !0 }), a !== !1 && (o.applyOnClones = !0), i.bulletsContainer.parent = e.seriesContainer, o;
2007
2007
  }
2008
- function wr(t) {
2008
+ function Or(t) {
2009
2009
  const { series: e, seriesConfig: i, rotationChanged: a, stackedType: o, isRotated: n } = t;
2010
2010
  switch (o) {
2011
2011
  case ie.Stacked: {
@@ -2031,7 +2031,7 @@ function Rb(t) {
2031
2031
  });
2032
2032
  };
2033
2033
  }
2034
- function Ob(t) {
2034
+ function wb(t) {
2035
2035
  const { chart: e, series: i, seriesType: a, marker: o, numberOfChartSeries: n, ignoreSmoothRenderingLimit: s } = t;
2036
2036
  let r = Rb({ marker: o, chart: e });
2037
2037
  const l = n ?? 1, c = e.data.length * l + l;
@@ -2047,7 +2047,7 @@ function gu(t, e) {
2047
2047
  a !== void 0 && !a.isDisposed() && a.dispose();
2048
2048
  });
2049
2049
  }
2050
- function wb(t) {
2050
+ function Ob(t) {
2051
2051
  let e;
2052
2052
  return t !== void 0 && t.series.length > 0 && (e = t.series.values.map((i) => i.visible ? i.id : "").filter((i) => i !== "")), e;
2053
2053
  }
@@ -2125,7 +2125,7 @@ function $b(t, e) {
2125
2125
  i = (a, o) => {
2126
2126
  let n = !1;
2127
2127
  if (a instanceof dt) {
2128
- const s = Ot({ chart: a.chart });
2128
+ const s = wt({ chart: a.chart });
2129
2129
  let r = 0;
2130
2130
  if (o.type === y.BarSeries) {
2131
2131
  const l = (s ? a.dataFields.valueX : a.dataFields.valueY) ?? o.y;
@@ -2142,7 +2142,7 @@ function $b(t, e) {
2142
2142
  e === !0 ? i = ql() : i = (a, o) => {
2143
2143
  let n = !1;
2144
2144
  if (a instanceof Ce) {
2145
- const s = Ot({ chart: a.chart }), r = Pe(a);
2145
+ const s = wt({ chart: a.chart }), r = Pe(a);
2146
2146
  let l = 0;
2147
2147
  if (o.type === y.LineSeries) {
2148
2148
  const { y: c } = o, d = (s ? a.dataFields.valueX : a.dataFields.valueY) ?? [c].flat()[0];
@@ -2241,7 +2241,7 @@ function zt(t) {
2241
2241
  }
2242
2242
  function Mn(t, e) {
2243
2243
  let i = !1;
2244
- if (e instanceof fe || e instanceof we) {
2244
+ if (e instanceof fe || e instanceof $e) {
2245
2245
  const a = D(e.uid, "actionMode");
2246
2246
  a !== void 0 && (i = a === Q.MultiSelection || a === Q.MultiSelectionWithCtrlKey && (t?.event?.ctrlKey || t?.event?.metaKey));
2247
2247
  }
@@ -2403,13 +2403,13 @@ async function bu(t) {
2403
2403
  if (!(T.dataItem instanceof na)) {
2404
2404
  const R = T.isActive, I = T === n || Nb(T, i);
2405
2405
  I && (f = !1);
2406
- let w = !1;
2407
- R ? I ? w = o !== ge.SelectionByClick : w = a === !0 : w = I, w && d.push({
2406
+ let O = !1;
2407
+ R ? I ? O = o !== ge.SelectionByClick : O = a === !0 : O = I, O && d.push({
2408
2408
  ...L,
2409
2409
  element: T,
2410
2410
  elementDataContext: T.dataItem?.dataContext,
2411
2411
  elementIndex: k
2412
- }), zt({ element: T, selected: w });
2412
+ }), zt({ element: T, selected: O });
2413
2413
  }
2414
2414
  }));
2415
2415
  }
@@ -2513,19 +2513,19 @@ async function zb(t) {
2513
2513
  selectionSource: ge.ProgrammaticSelection,
2514
2514
  queryObject: i,
2515
2515
  errorStrings: a
2516
- }), e instanceof we && e.feedLegend();
2516
+ });
2517
2517
  }
2518
2518
  }
2519
2519
  function ms(t) {
2520
2520
  if (Mt(t))
2521
- if (t.events.disableType(N.Hit), t.events.disableType(N.DoubleHit), t instanceof we) {
2521
+ if (t.events.disableType(N.Hit), t.events.disableType(N.DoubleHit), t instanceof $e) {
2522
2522
  const e = t.series.getIndex(0);
2523
2523
  e !== void 0 && (e.slices.template.clickable = !1, e.slices.template.togglable = !1, e.slices.template.events.disableType(N.Hit), e.slices.template.events.disableType(N.DoubleHit), e.labels.template.clickable = !1, e.labels.template.togglable = !1, e.labels.template.events.disableType(N.Hit), e.labels.template.events.disableType(N.DoubleHit));
2524
2524
  } else t instanceof fe && (t.xAxes.each((e) => on(e, !0)), t.yAxes.each((e) => on(e, !0)), t.events.disableType(N.Up));
2525
2525
  }
2526
2526
  function Hb(t) {
2527
2527
  if (Mt(t))
2528
- if (t.events.enableType(N.Hit), t.events.enableType(N.DoubleHit), t instanceof we) {
2528
+ if (t.events.enableType(N.Hit), t.events.enableType(N.DoubleHit), t instanceof $e) {
2529
2529
  const e = t.series.getIndex(0);
2530
2530
  e !== void 0 && (e.slices.template.clickable = !0, e.slices.template.togglable = !0, e.slices.template.events.enableType(N.Hit), e.slices.template.events.enableType(N.DoubleHit), e.labels.template.clickable = !0, e.labels.template.togglable = !0, e.labels.template.events.enableType(N.Hit), e.labels.template.events.enableType(N.DoubleHit));
2531
2531
  } else t instanceof fe && (t.xAxes.each((e) => on(e, !1)), t.yAxes.each((e) => on(e, !1)), t.events.enableType(N.Up));
@@ -2668,7 +2668,7 @@ function vu(t, e) {
2668
2668
  if (l !== void 0 && e.isReady()) {
2669
2669
  const { dataItem: c } = a;
2670
2670
  if ((c instanceof js || c instanceof Pa) && r !== void 0) {
2671
- const d = Ot({ config: s }), u = d ? c.valueX : c.valueY, f = (d ? c.values.valueX.totalPercent : c.values.valueY.totalPercent) / 100, g = c.dataContext ?? {};
2671
+ const d = wt({ config: s }), u = d ? c.valueX : c.valueY, f = (d ? c.values.valueX.totalPercent : c.values.valueY.totalPercent) / 100, g = c.dataContext ?? {};
2672
2672
  if (g !== void 0) {
2673
2673
  const h = D(n.uid, "rendererFieldNames"), b = ai({
2674
2674
  value: Fn(j([r]), r),
@@ -2706,7 +2706,7 @@ function Xb(t) {
2706
2706
  dataTooltipPercentFormat: r
2707
2707
  } = t;
2708
2708
  let l = s;
2709
- l === void 0 && (De(n) && n ? (l = n, e && (l.intlOptions.style = "decimal")) : l = br());
2709
+ l === void 0 && (Oe(n) && n ? (l = n, e && (l.intlOptions.style = "decimal")) : l = br());
2710
2710
  const c = D(i.chart.uid, "formatLocale"), d = a !== void 0 ? mo({
2711
2711
  value: a,
2712
2712
  valueFormat: l,
@@ -2781,7 +2781,7 @@ function Lu(t) {
2781
2781
  valueFormat: n ?? i,
2782
2782
  iLocale: s.chart.language.locale,
2783
2783
  formatLocale: f
2784
- })) : typeof r == "number" && De(i) ? u = mo({
2784
+ })) : typeof r == "number" && Oe(i) ? u = mo({
2785
2785
  value: r,
2786
2786
  valueFormat: o ?? i,
2787
2787
  iLocale: s.chart.language.locale,
@@ -2806,7 +2806,7 @@ function Ub(t) {
2806
2806
  seriesIndex: n,
2807
2807
  utilsStrings: r,
2808
2808
  isStacked100: v
2809
- }), w = $t(f.rtl);
2809
+ }), O = $t(f.rtl);
2810
2810
  u = ($) => {
2811
2811
  const { statValue: B, percentValue: M, xValue: P, dateBinningRange: U } = $, z = Lu({
2812
2812
  seriesConfig: s,
@@ -2827,7 +2827,7 @@ function Ub(t) {
2827
2827
  series: e,
2828
2828
  statValue: B,
2829
2829
  percentValue: M
2830
- }), X = [`<b>${R}${w} </b>${z}`];
2830
+ }), X = [`<b>${R}${O} </b>${z}`];
2831
2831
  switch (x) {
2832
2832
  case V.BarAndLineFromFields: {
2833
2833
  X.pop();
@@ -2836,13 +2836,13 @@ function Ub(t) {
2836
2836
  fieldName: Me(i, z ?? ""),
2837
2837
  utilsStrings: r
2838
2838
  });
2839
- X.push(`<b>${Y}${w} </b>${G}`);
2839
+ X.push(`<b>${Y}${O} </b>${G}`);
2840
2840
  break;
2841
2841
  }
2842
2842
  case V.BarAndLineMonoField:
2843
2843
  case V.BarAndLineNoAggregation:
2844
2844
  case V.BarAndLineMultiFields:
2845
- X.push(`<b>${I}${w} </b>${G}`);
2845
+ X.push(`<b>${I}${O} </b>${G}`);
2846
2846
  break;
2847
2847
  case V.BarAndLineSplitByNoAggregation:
2848
2848
  case V.BarAndLineSplitBy:
@@ -2852,12 +2852,12 @@ function Ub(t) {
2852
2852
  escape: !0
2853
2853
  });
2854
2854
  X.push(
2855
- `<b>${H}${w} </b>${e.name}<br /><b>${I}${w} </b>${G}`
2855
+ `<b>${H}${O} </b>${e.name}<br /><b>${I}${O} </b>${G}`
2856
2856
  );
2857
2857
  }
2858
2858
  break;
2859
2859
  }
2860
- return v && X.push(`<b>${r.statistics.percent}${w} </b>${q}`), X.join("<br />");
2860
+ return v && X.push(`<b>${r.statistics.percent}${O} </b>${q}`), X.join("<br />");
2861
2861
  };
2862
2862
  }
2863
2863
  }
@@ -3025,7 +3025,7 @@ function Jb(t) {
3025
3025
  })
3026
3026
  ));
3027
3027
  }
3028
- function wi(t) {
3028
+ function Oi(t) {
3029
3029
  const { label: e, value: i, strongColon: a, useTable: o } = t, n = `<b>${e}${a}</b> ${i}`;
3030
3030
  return o !== !1 ? `<tr><td>${n}</td></tr>` : n;
3031
3031
  }
@@ -3066,7 +3066,7 @@ function ey(t) {
3066
3066
  case ee.StandardDeviation:
3067
3067
  }
3068
3068
  Sa(S) || u.push(
3069
- wi({
3069
+ Oi({
3070
3070
  label: S,
3071
3071
  value: p,
3072
3072
  strongColon: d,
@@ -3097,7 +3097,7 @@ function ty(t) {
3097
3097
  series: e,
3098
3098
  xValue: T,
3099
3099
  queryObject: n
3100
- }), R = [], I = k !== void 0 && !Sa(k) ? Me(i, k) : "", w = f === !0 ? [c.series[0].y].flat()[0] : [a.y].flat()[0], $ = Me(i, w);
3100
+ }), R = [], I = k !== void 0 && !Sa(k) ? Me(i, k) : "", O = f === !0 ? [c.series[0].y].flat()[0] : [a.y].flat()[0], $ = Me(i, O);
3101
3101
  switch (g) {
3102
3102
  case V.BoxPlotC1MonoField:
3103
3103
  case V.BoxPlotC2MultiFields:
@@ -3106,7 +3106,7 @@ function ty(t) {
3106
3106
  if (k !== void 0 && !Sa(k)) {
3107
3107
  const G = g === V.BoxPlotC1MonoField ? a.name ?? I : I;
3108
3108
  R.push(
3109
- wi({
3109
+ Oi({
3110
3110
  label: o.field,
3111
3111
  strongColon: x,
3112
3112
  value: G
@@ -3114,7 +3114,7 @@ function ty(t) {
3114
3114
  );
3115
3115
  }
3116
3116
  Fe(b) || R.push(
3117
- wi({
3117
+ Oi({
3118
3118
  label: b,
3119
3119
  strongColon: x,
3120
3120
  value: a.name ?? p?.toString()
@@ -3125,13 +3125,13 @@ function ty(t) {
3125
3125
  case V.BoxPlotC3MonoFieldAndCategory:
3126
3126
  case V.BoxPlotC4MultiFieldsAndCategory: {
3127
3127
  R.push(
3128
- wi({
3128
+ Oi({
3129
3129
  label: o.field,
3130
3130
  strongColon: x,
3131
3131
  value: a.name ?? $
3132
3132
  })
3133
3133
  ), k !== void 0 && !Sa(k) && R.push(
3134
- wi({
3134
+ Oi({
3135
3135
  label: C,
3136
3136
  strongColon: x,
3137
3137
  value: I
@@ -3141,19 +3141,19 @@ function ty(t) {
3141
3141
  }
3142
3142
  case V.BoxPlotC7MonoFieldAndCategoryAndSplitBy:
3143
3143
  R.push(
3144
- wi({
3144
+ Oi({
3145
3145
  label: o.field,
3146
3146
  strongColon: x,
3147
3147
  value: $
3148
3148
  })
3149
3149
  ), k !== void 0 && !Sa(k) && R.push(
3150
- wi({
3150
+ Oi({
3151
3151
  label: C,
3152
3152
  strongColon: x,
3153
3153
  value: I
3154
3154
  })
3155
3155
  ), Fe(b) || R.push(
3156
- wi({
3156
+ Oi({
3157
3157
  label: b,
3158
3158
  strongColon: x,
3159
3159
  value: a.name ?? p?.toString()
@@ -3560,7 +3560,7 @@ function my(t) {
3560
3560
  horizontalAlignment: v ? "right" : "center"
3561
3561
  }
3562
3562
  };
3563
- wt({
3563
+ Ot({
3564
3564
  label: e.valueLabels.template,
3565
3565
  labelConfig: T,
3566
3566
  defaults: A.legendProperties.valueLabels
@@ -3635,7 +3635,7 @@ function py(t, e) {
3635
3635
  t.marginTop = i.marginTop ?? 0, t.marginBottom = 0, t.dy = 0;
3636
3636
  else if (t.position === _.Top)
3637
3637
  t.marginBottom = i.marginBottom ?? 0, t.marginTop = 0, t.dy = 0;
3638
- else if (t.marginTop = 0, t.marginBottom = 0, !(t.baseSprite instanceof we)) {
3638
+ else if (t.marginTop = 0, t.marginBottom = 0, !(t.baseSprite instanceof $e)) {
3639
3639
  const a = Ru(e), o = e.title?.content?.font?.size ?? A.generalFontSize;
3640
3640
  t.dy = -(a ? o : 15);
3641
3641
  }
@@ -3685,7 +3685,7 @@ function Sy(t) {
3685
3685
  const e = yy(t);
3686
3686
  return Au.has(e);
3687
3687
  }
3688
- function Ou(t, e) {
3688
+ function wu(t, e) {
3689
3689
  const { legend: i, legendTitle: a } = t ?? {};
3690
3690
  switch (e) {
3691
3691
  case y.PieSeries:
@@ -3790,7 +3790,7 @@ function Ay(t) {
3790
3790
  ...a,
3791
3791
  visible: s
3792
3792
  };
3793
- wt({ label: i, labelConfig: r, defaults: n }), i.marginLeft = n.marginLeft ?? 0;
3793
+ Ot({ label: i, labelConfig: r, defaults: n }), i.marginLeft = n.marginLeft ?? 0;
3794
3794
  }
3795
3795
  o === _.Top || o === _.Bottom ? (i.maxWidth = Number.NaN, i.isMeasured = !1) : (i.maxWidth = n.maxWidth ?? Number.NaN, i.marginTop = s ? i.bbox?.height ?? a?.content?.font?.size ?? A.generalFontSize : 0, i.isMeasured = !0);
3796
3796
  }
@@ -3798,7 +3798,7 @@ function Ty(t) {
3798
3798
  const e = A.legendProperties;
3799
3799
  t.labels.template = li(e.legendLabels), t.valueLabels.template = li(e.legendLabels), t.markers.template.width = e.legendMarkersSize, t.markers.template.height = e.legendMarkersSize, t.labels.template.adapter.add("wrap", () => !0), t.labels.template.adapter.add("maxWidth", (i) => {
3800
3800
  let a = i, o;
3801
- if (t.baseSprite instanceof we && (o = D(t.baseSprite.uid, "config")?.legend?.labelMaxWidth), t.position === _.Right || t.position === _.Left)
3801
+ if (t.baseSprite instanceof $e && (o = D(t.baseSprite.uid, "config")?.legend?.labelMaxWidth), t.position === _.Right || t.position === _.Left)
3802
3802
  a = o ?? A.legendProperties.legendLabels.maxWidth;
3803
3803
  else if (o !== void 0)
3804
3804
  a = o;
@@ -3823,11 +3823,11 @@ function Ty(t) {
3823
3823
  return (n !== void 0 && !Fe(n) ? ho(n) : n) ?? o;
3824
3824
  }), t.valueLabels.template.adapter.add("maxWidth", (i) => {
3825
3825
  let a = i, o;
3826
- return t.baseSprite instanceof we && (o = D(t.baseSprite.uid, "config")?.legend?.valueLabelMaxWidth), t.position === _.Right || t.position === _.Left ? a = o ?? A.legendProperties.valueLabels.maxWidth : a = o ?? Number.NaN, a;
3826
+ return t.baseSprite instanceof $e && (o = D(t.baseSprite.uid, "config")?.legend?.valueLabelMaxWidth), t.position === _.Right || t.position === _.Left ? a = o ?? A.legendProperties.valueLabels.maxWidth : a = o ?? Number.NaN, a;
3827
3827
  });
3828
3828
  }
3829
3829
  function ky(t, e) {
3830
- t.itemContainers.template.events.on(N.Hit, (i) => xy(i, e)), e instanceof we && t.itemContainers.template.events.on(N.Over, (i) => gy(i));
3830
+ t.itemContainers.template.events.on(N.Hit, (i) => xy(i, e)), e instanceof $e && t.itemContainers.template.events.on(N.Over, (i) => gy(i));
3831
3831
  }
3832
3832
  function Iy(t) {
3833
3833
  t.itemContainers.template.reverseOrder = t.rtl;
@@ -3859,7 +3859,7 @@ function Ry(t) {
3859
3859
  Jl(t);
3860
3860
  });
3861
3861
  }
3862
- function Oy(t) {
3862
+ function wy(t) {
3863
3863
  const {
3864
3864
  legendElements: { legend: e },
3865
3865
  seriesConfig: i,
@@ -3874,14 +3874,14 @@ function Oy(t) {
3874
3874
  // using a non empty string to kick in the adapter on `textOutput`
3875
3875
  }
3876
3876
  };
3877
- wt({ label: e.labels.template, labelConfig: r, defaults: A.legendProperties.legendLabels }), e.labels.template.valign = "middle", e.valueLabels.template.valign = "middle", s === y.PieSeries && my(t), e.valueLabels.template.width = Number.NaN;
3877
+ Ot({ label: e.labels.template, labelConfig: r, defaults: A.legendProperties.legendLabels }), e.labels.template.valign = "middle", e.valueLabels.template.valign = "middle", s === y.PieSeries && my(t), e.valueLabels.template.width = Number.NaN;
3878
3878
  }
3879
- function wy(t, e) {
3879
+ function Oy(t, e) {
3880
3880
  e.chartContainer.events.on(
3881
3881
  N.SizeChanged,
3882
3882
  yt(() => {
3883
3883
  let a = D(e.uid, "config")?.legend?.maxHeight ?? Number.NaN;
3884
- Number.isFinite(a) || (t.position === _.Top || t.position === _.Bottom ? a = A.legendProperties.maxHeight : a = e instanceof we ? e.chartContainer.measuredHeight : e.seriesContainer.measuredHeight), t.maxHeight = a, t.invalidateLayout();
3884
+ Number.isFinite(a) || (t.position === _.Top || t.position === _.Bottom ? a = A.legendProperties.maxHeight : a = e instanceof $e ? e.chartContainer.measuredHeight : e.seriesContainer.measuredHeight), t.maxHeight = a, t.invalidateLayout();
3885
3885
  }),
3886
3886
  A.debounceTime
3887
3887
  );
@@ -3893,13 +3893,13 @@ function Dy(t, e) {
3893
3893
  function $y(t, e) {
3894
3894
  const { legend: i } = t;
3895
3895
  i.events.on(N.DataItemsValidated, () => {
3896
- i.dataItems.length > 0 && Ou(t, e);
3896
+ i.dataItems.length > 0 && wu(t, e);
3897
3897
  });
3898
3898
  }
3899
3899
  function My(t, e) {
3900
3900
  e === _.Right || e === _.Left ? t.width = Number.NaN : t.maxWidth = Number.MAX_SAFE_INTEGER;
3901
3901
  }
3902
- function wu(t, e) {
3902
+ function Ou(t, e) {
3903
3903
  let i = qt.pointer;
3904
3904
  e === !0 ? (t.itemContainers.template.clickable = !1, t.itemContainers.template.focusable = !1, i = qt.default) : (t.itemContainers.template.clickable = !0, t.itemContainers.template.focusable = !0), t.itemContainers.values.forEach((a) => {
3905
3905
  a.cursorOverStyle = i;
@@ -3909,9 +3909,9 @@ function By(t, e) {
3909
3909
  const i = new qm();
3910
3910
  t.legend = i, Ly(i);
3911
3911
  const a = Fy(i);
3912
- return Ty(i), fy(i), ky(i, t), Iy(i), vy(i), $y({ legend: i, legendTitle: a }, W(e)), wy(i, t), cy(t, a), hy(i), t.legend.events.on(N.ChildAdded, () => {
3912
+ return Ty(i), fy(i), ky(i, t), Iy(i), vy(i), $y({ legend: i, legendTitle: a }, W(e)), Oy(i, t), cy(t, a), hy(i), t.legend.events.on(N.ChildAdded, () => {
3913
3913
  const o = D(t.uid, "options");
3914
- wu(i, o?.legendInteractionsDisabled);
3914
+ Ou(i, o?.legendInteractionsDisabled);
3915
3915
  }), { legend: i, legendTitle: a };
3916
3916
  }
3917
3917
  function Pr(t) {
@@ -3921,7 +3921,7 @@ function Pr(t) {
3921
3921
  ce(o, !0), Ay({
3922
3922
  legendConfig: a,
3923
3923
  legendTitle: n
3924
- }), Ry(o), Oy(t), Dy(o, a), Ou(e, W(i)), o.position = c, My(o, c), py(o, a), wu(
3924
+ }), Ry(o), wy(t), Dy(o, a), wu(e, W(i)), o.position = c, My(o, c), py(o, a), Ou(
3925
3925
  o,
3926
3926
  D(s.uid, "options")?.legendInteractionsDisabled
3927
3927
  );
@@ -3942,7 +3942,7 @@ function Ny(t) {
3942
3942
  p.id = h, Ha(p, g);
3943
3943
  let S, C;
3944
3944
  d !== !0 ? (S = o[0], C = b === !0 && o[2] ? o[2] : o[1]) : (S = b === !0 && o[2] ? o[2] : o[0], C = o[1]), S !== void 0 && (p.xAxis = S), C !== void 0 && (p.yAxis = C);
3945
- const x = Ot({ chart: e }), L = j(i.series), v = L === V.BarAndLineSplitByNoAggregation ? `${f.toString()}_${Li({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [f].flat()[0];
3945
+ const x = wt({ chart: e }), L = j(i.series), v = L === V.BarAndLineSplitByNoAggregation ? `${f.toString()}_${Li({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [f].flat()[0];
3946
3946
  x ? p.dataFields.valueX = v : p.dataFields.valueY = v;
3947
3947
  const T = x ? o[1] : o[0];
3948
3948
  if (T !== void 0) {
@@ -3959,8 +3959,8 @@ function Ny(t) {
3959
3959
  colorMatch: i.colorMatch === !0,
3960
3960
  rendererType: rr(i.chartRenderer, k?.renderer)
3961
3961
  }), $u(u, p);
3962
- const R = Or({ chart: e, lineSeries: p, applyPropertiesToClones: !1 });
3963
- return vu(R, p), ay(p), ma({ element: R, customSelectionTheme: s }), xo({ chart: e, element: R, queryObject: n, errorStrings: l }), Ob({
3962
+ const R = wr({ chart: e, lineSeries: p, applyPropertiesToClones: !1 });
3963
+ return vu(R, p), ay(p), ma({ element: R, customSelectionTheme: s }), xo({ chart: e, element: R, queryObject: n, errorStrings: l }), wb({
3964
3964
  chart: e,
3965
3965
  numberOfChartSeries: c,
3966
3966
  series: p,
@@ -4086,7 +4086,7 @@ function zy(t) {
4086
4086
  queryObject: l,
4087
4087
  options: c,
4088
4088
  utilsStrings: d
4089
- } = t, { visible: u, name: f } = e, g = a[1].valueFormat, h = D(i.chart.uid, "config"), b = Ot({ config: h }), p = j(h?.series);
4089
+ } = t, { visible: u, name: f } = e, g = a[1].valueFormat, h = D(i.chart.uid, "config"), b = wt({ config: h }), p = j(h?.series);
4090
4090
  i.id = e.id, ce(i, u);
4091
4091
  let S = f;
4092
4092
  const C = i.dataFields?.customValue ?? "";
@@ -4094,7 +4094,7 @@ function zy(t) {
4094
4094
  queryObject: l,
4095
4095
  fieldName: Qt(C),
4096
4096
  fieldValue: S
4097
- }) ?? S), Ha(i, S), wr({ series: i, seriesConfig: e, rotationChanged: o, stackedType: r, isRotated: b }), Ey(i, e), $n({
4097
+ }) ?? S), Ha(i, S), Or({ series: i, seriesConfig: e, rotationChanged: o, stackedType: r, isRotated: b }), Ey(i, e), $n({
4098
4098
  styleCallback: () => Mu(t),
4099
4099
  series: i,
4100
4100
  seriesConfig: e
@@ -4196,7 +4196,7 @@ function gs(t) {
4196
4196
  function Gy(t) {
4197
4197
  const { chart: e, axisList: i = [], chartConfig: a, seriesIndex: o, selectionTheme: n, queryObject: s, errorStrings: r } = t, l = a.series[o], c = Ct(a), [d, u] = i, f = new Ce();
4198
4198
  Gt(f.uid, { isBoxPlotOutliersSeries: !0 }), f.id = `${l.id}_${me.Outliers}`, d !== void 0 && (f.xAxis = d), u !== void 0 && (f.yAxis = u), f.simplifiedProcessing = !0, f.hiddenInLegend = !0, f.strokeOpacity = 0;
4199
- const g = Or({ chart: e, lineSeries: f });
4199
+ const g = wr({ chart: e, lineSeries: f });
4200
4200
  return c || (ma({
4201
4201
  element: g,
4202
4202
  customSelectionTheme: n
@@ -4218,7 +4218,7 @@ function _a(t) {
4218
4218
  standardizeValuesVisibilityChanged: f
4219
4219
  } = t, { x: g, y: h } = i, b = c || d === !0 || f === !0, p = b || u === !0, S = b, C = b;
4220
4220
  if (e !== void 0) {
4221
- const { showOutliers: x, standardizeValues: L, showMean: v } = e, T = Ot({ config: e });
4221
+ const { showOutliers: x, standardizeValues: L, showMean: v } = e, T = wt({ config: e });
4222
4222
  if (a instanceof Ce && C) {
4223
4223
  const B = j(e.series), M = i?.query?.where, P = ye({
4224
4224
  y: B === V.BoxPlotC4MultiFieldsAndCategory ? h : void 0,
@@ -4230,7 +4230,7 @@ function _a(t) {
4230
4230
  });
4231
4231
  T ? (a.dataFields.valueX = P, a.dataFields.categoryY = g) : (a.dataFields.valueY = P, a.dataFields.categoryX = g), a.dataFields.customValue = M;
4232
4232
  }
4233
- const k = cr(e), R = j(k.series), I = v === !0 ? void 0 : i?.query?.where, w = {
4233
+ const k = cr(e), R = j(k.series), I = v === !0 ? void 0 : i?.query?.where, O = {
4234
4234
  y: R === V.BoxPlotC4MultiFieldsAndCategory ? h : void 0,
4235
4235
  chartSubType: R,
4236
4236
  splitBy: I,
@@ -4240,16 +4240,16 @@ function _a(t) {
4240
4240
  if (p) {
4241
4241
  if (o instanceof We) {
4242
4242
  const B = ye({
4243
- ...w,
4243
+ ...O,
4244
4244
  key: ee.Min
4245
4245
  }), M = ye({
4246
- ...w,
4246
+ ...O,
4247
4247
  key: ee.FirstQuartile
4248
4248
  }), P = ye({
4249
- ...w,
4249
+ ...O,
4250
4250
  key: ee.Max
4251
4251
  }), U = ye({
4252
- ...w,
4252
+ ...O,
4253
4253
  key: ee.ThirdQuartile
4254
4254
  });
4255
4255
  T ? (o.dataFields.lowValueX = B, o.dataFields.openValueX = M, o.dataFields.highValueX = P, o.dataFields.valueX = U, o.dataFields.categoryY = g) : (o.dataFields.lowValueY = B, o.dataFields.openValueY = M, o.dataFields.highValueY = P, o.dataFields.valueY = U, o.dataFields.categoryX = g), o.dataFields.customValue = I;
@@ -4257,20 +4257,20 @@ function _a(t) {
4257
4257
  if (n instanceof Ft && s instanceof Ft && r instanceof Ft) {
4258
4258
  const B = ye({
4259
4259
  key: ee.Max,
4260
- ...w
4260
+ ...O
4261
4261
  }), M = ye({
4262
4262
  key: ee.Median,
4263
- ...w
4263
+ ...O
4264
4264
  }), P = ye({
4265
4265
  key: ee.Min,
4266
- ...w
4266
+ ...O
4267
4267
  });
4268
4268
  T ? (n.dataFields.valueX = B, s.dataFields.valueX = M, r.dataFields.valueX = P, n.dataFields.categoryY = g, s.dataFields.categoryY = g, r.dataFields.categoryY = g) : (n.dataFields.valueY = B, s.dataFields.valueY = M, r.dataFields.valueY = P, n.dataFields.categoryX = g, s.dataFields.categoryX = g, r.dataFields.categoryX = g), n.dataFields.customValue = I, r.dataFields.customValue = I, s.dataFields.customValue = I;
4269
4269
  }
4270
4270
  }
4271
4271
  if (l instanceof Ce && S) {
4272
4272
  const B = ye({
4273
- ...w,
4273
+ ...O,
4274
4274
  key: ee.Outlier
4275
4275
  });
4276
4276
  T ? (l.dataFields.valueX = B, l.dataFields.categoryY = g) : (l.dataFields.valueY = B, l.dataFields.categoryX = g), l.dataFields.customValue = I, l.invalidateRawData();
@@ -4282,7 +4282,7 @@ function _a(t) {
4282
4282
  function Xy(t) {
4283
4283
  const { chart: e, axisList: i = [], chartConfig: a, seriesIndex: o, selectionTheme: n, queryObject: s, errorStrings: r } = t, l = a.series[o], [c, d] = i, u = new Ce();
4284
4284
  Gt(u.uid, { isBoxPlotMeanLineSeries: !0 }), u.id = l.id, c !== void 0 && (u.xAxis = c), d !== void 0 && (u.yAxis = d), u.simplifiedProcessing = !0;
4285
- const f = Or({ chart: e, lineSeries: u });
4285
+ const f = wr({ chart: e, lineSeries: u });
4286
4286
  return ma({ element: f, customSelectionTheme: n }), xo({ chart: e, element: f, queryObject: s, errorStrings: r }), Vt({
4287
4287
  seriesConfig: l,
4288
4288
  seriesIndex: o,
@@ -4483,7 +4483,7 @@ function Zy(t) {
4483
4483
  });
4484
4484
  }
4485
4485
  function Ky(t) {
4486
- const { numberOfSeries: e, chart: i, showMean: a } = t, o = Ot({ chart: i }), n = o ? i.yAxes.getIndex(0)?.renderer : i.xAxes.getIndex(0)?.renderer;
4486
+ const { numberOfSeries: e, chart: i, showMean: a } = t, o = wt({ chart: i }), n = o ? i.yAxes.getIndex(0)?.renderer : i.xAxes.getIndex(0)?.renderer;
4487
4487
  if (n !== void 0) {
4488
4488
  const { cellStartLocation: s, cellEndLocation: r } = n, l = s / (a === !0 ? 1 : e), c = i.series.values.filter((d) => d instanceof We);
4489
4489
  c.forEach((d, u) => {
@@ -4660,16 +4660,13 @@ function iS(t) {
4660
4660
  }
4661
4661
  function aS(t) {
4662
4662
  const e = t.series.getIndex(0);
4663
- if (e !== void 0) {
4664
- let i = !1;
4665
- e.slices.each((a) => {
4666
- a.isActive && (i = !0), zt({
4667
- element: a,
4668
- selected: !1,
4669
- backToDefaultState: !0
4670
- });
4671
- }), i && t.feedLegend();
4672
- }
4663
+ e !== void 0 && e.slices.each((i) => {
4664
+ zt({
4665
+ element: i,
4666
+ selected: !1,
4667
+ backToDefaultState: !0
4668
+ });
4669
+ });
4673
4670
  }
4674
4671
  function oS(t, e = !0) {
4675
4672
  let i;
@@ -4707,7 +4704,7 @@ function Ga(t) {
4707
4704
  computedSelectionItems: void 0,
4708
4705
  computedSelectionIndexes: void 0,
4709
4706
  pendingSelectionQueries: !1
4710
- }), Mt(e) && (e instanceof fe ? oS(e, a ?? !0) : e instanceof we && aS(e)), D(e.uid, "options")?.selectionData?.selectionItems?.[0] && za({
4707
+ }), Mt(e) && (e instanceof fe ? oS(e, a ?? !0) : e instanceof $e && aS(e)), D(e.uid, "options")?.selectionData?.selectionItems?.[0] && za({
4711
4708
  data: {
4712
4709
  selectionSource: i ?? ge.ClearSelection
4713
4710
  },
@@ -4731,7 +4728,7 @@ function Bu(t, e) {
4731
4728
  if ((i === Q.MonoSelection || i === Q.None) && e.length > 1)
4732
4729
  Ga({ chart: t });
4733
4730
  else {
4734
- const o = t instanceof we;
4731
+ const o = t instanceof $e;
4735
4732
  e.forEach((n) => {
4736
4733
  zt({
4737
4734
  element: n,
@@ -4767,7 +4764,7 @@ function lS(t) {
4767
4764
  chartSubType: f,
4768
4765
  showOutliers: g,
4769
4766
  isFeatureCollectionLayer: Ci(d)
4770
- })), On({
4767
+ })), wn({
4771
4768
  elementDataContext: v,
4772
4769
  options: o,
4773
4770
  selectionItems: s,
@@ -4787,11 +4784,11 @@ function lS(t) {
4787
4784
  u === y.PieSeries && ki(v) ? (Co({
4788
4785
  groupOfSlicesDataContext: v
4789
4786
  }) ?? []).forEach((I) => {
4790
- s.forEach((w) => {
4787
+ s.forEach((O) => {
4791
4788
  Rr({
4792
4789
  layerOidField: r,
4793
4790
  sliceDataContext: I,
4794
- selectionDataContext: w,
4791
+ selectionDataContext: O,
4795
4792
  xAxisField: l
4796
4793
  }) && k.add(I);
4797
4794
  });
@@ -4813,7 +4810,7 @@ function lS(t) {
4813
4810
  else
4814
4811
  zt({
4815
4812
  element: L,
4816
- useNativeState: e instanceof we,
4813
+ useNativeState: e instanceof $e,
4817
4814
  selected: !1
4818
4815
  });
4819
4816
  }
@@ -4845,7 +4842,7 @@ function cS(t) {
4845
4842
  } else
4846
4843
  zt({
4847
4844
  element: x,
4848
- useNativeState: e instanceof we,
4845
+ useNativeState: e instanceof $e,
4849
4846
  selected: !1
4850
4847
  });
4851
4848
  });
@@ -4917,13 +4914,13 @@ function uS(t) {
4917
4914
  selectionByItemsChanged: p = !1
4918
4915
  } = o ?? {}, { selectionIndexes: S, selectionFilters: C } = f ?? {}, { chart: x } = e, L = D(x.uid, "config"), v = Ge(a), T = Fi(L), k = Sn(L), R = Ct(L), I = W(L?.series);
4919
4916
  if (u !== !0 && L !== void 0) {
4920
- const w = dS({
4917
+ const O = dS({
4921
4918
  series: e,
4922
4919
  chartType: I,
4923
4920
  showMean: R
4924
4921
  }), $ = j(L?.series), B = tt(a), M = sa(B).idField;
4925
4922
  let P = !1, U = !1, z;
4926
- if (w?.[0] !== void 0) {
4923
+ if (O?.[0] !== void 0) {
4927
4924
  if (o?.viewExtentUpdated !== !0) {
4928
4925
  z = o?.selectionData?.selectionItems, P = s === !0 || n === !0 || r === !0 || d === !0 || z !== void 0 && p;
4929
4926
  let G = !0;
@@ -4939,7 +4936,7 @@ function uS(t) {
4939
4936
  chartConfig: L,
4940
4937
  options: o,
4941
4938
  series: e,
4942
- elementsToApplySelectionTo: w,
4939
+ elementsToApplySelectionTo: O,
4943
4940
  selectionItems: z,
4944
4941
  layerOidField: M,
4945
4942
  xAxisField: l,
@@ -4956,7 +4953,7 @@ function uS(t) {
4956
4953
  x.uid,
4957
4954
  "computedSelectionIndexes"
4958
4955
  );
4959
- H === void 0 && (H = /* @__PURE__ */ new Map()), Y.length === w.length ? H.set(i ?? 0, {}) : H.set(i ?? 0, {
4956
+ H === void 0 && (H = /* @__PURE__ */ new Map()), Y.length === O.length ? H.set(i ?? 0, {}) : H.set(i ?? 0, {
4960
4957
  indexesToSelect: Y
4961
4958
  }), ae(x.uid, { computedSelectionIndexes: H });
4962
4959
  }
@@ -4975,7 +4972,7 @@ function uS(t) {
4975
4972
  chartSubType: $,
4976
4973
  showOutliers: T,
4977
4974
  isFeatureCollectionLayer: Ci(a)
4978
- })), On({
4975
+ })), wn({
4979
4976
  elementDataContext: H,
4980
4977
  options: o,
4981
4978
  selectionItems: z ?? [],
@@ -4989,12 +4986,12 @@ function uS(t) {
4989
4986
  timeAggregationType: k
4990
4987
  });
4991
4988
  };
4992
- w.forEach((Y) => {
4989
+ O.forEach((Y) => {
4993
4990
  const H = Y.isActive || X(Y);
4994
4991
  zt({
4995
4992
  element: Y,
4996
4993
  selected: H,
4997
- useNativeState: x instanceof we,
4994
+ useNativeState: x instanceof $e,
4998
4995
  backToDefaultState: G
4999
4996
  });
5000
4997
  });
@@ -5075,9 +5072,9 @@ async function Lo(t) {
5075
5072
  let h = [], b = [];
5076
5073
  const p = /* @__PURE__ */ new Map(), { xAxisField: S } = i[0] ?? {}, C = W(r?.series), x = j(r?.series), L = ui(r?.series ?? []), T = Lt(o).find((R) => R.name === S)?.type;
5077
5074
  if (i.forEach((R) => {
5078
- const { elementDataContext: I, yAxisField: w, splitBy: $ } = R, B = vi({
5075
+ const { elementDataContext: I, yAxisField: O, splitBy: $ } = R, B = vi({
5079
5076
  dataContext: I,
5080
- yAxisField: w,
5077
+ yAxisField: O,
5081
5078
  yList: L,
5082
5079
  xAxisField: S,
5083
5080
  splitBy: $,
@@ -5098,11 +5095,11 @@ async function Lo(t) {
5098
5095
  if (d && I[d] !== void 0 && (typeof I[d] == "number" || typeof I[d] == "string"))
5099
5096
  b.push(I[d]);
5100
5097
  else {
5101
- const U = or($) ? $i.uniqueIds : `${$i.uniqueIds}_${C === y.BoxPlotSeries ? Li({ where: $ }) : w}`, z = I[U] ?? I[$i.uniqueIds] ?? [], G = rd({
5098
+ const U = or($) ? $i.uniqueIds : `${$i.uniqueIds}_${C === y.BoxPlotSeries ? Li({ where: $ }) : O}`, z = I[U] ?? I[$i.uniqueIds] ?? [], G = rd({
5102
5099
  dataContext: I,
5103
5100
  options: s,
5104
5101
  xAxisField: S,
5105
- yAxisField: w ?? "",
5102
+ yAxisField: O ?? "",
5106
5103
  splitBy: $,
5107
5104
  xAxisFieldType: T,
5108
5105
  chartConfig: r,
@@ -5116,17 +5113,17 @@ async function Lo(t) {
5116
5113
  }), !l && s?.returnSelectionOIDs !== !1 && f.length > 0) {
5117
5114
  const I = { ...D(e.uid, "queryConfig") };
5118
5115
  delete I.groupByFieldsForStatistics, delete I.orderByFields, delete I.outStatistics;
5119
- const w = await ld({
5116
+ const O = await ld({
5120
5117
  whereList: f,
5121
5118
  queryObject: o,
5122
5119
  queryConfig: I,
5123
5120
  errorStrings: n
5124
5121
  });
5125
5122
  if (f.length === i.length)
5126
- b = w;
5123
+ b = O;
5127
5124
  else
5128
- for (let $ = 0; $ < w.length; $ += 1)
5129
- b.push(w[$]);
5125
+ for (let $ = 0; $ < O.length; $ += 1)
5126
+ b.push(O[$]);
5130
5127
  }
5131
5128
  r.series.length > 1 && x !== V.BarAndLineNoAggregation && x !== V.BarAndLineSplitByNoAggregation && (h = yn({
5132
5129
  data: h,
@@ -5246,14 +5243,14 @@ function pS(t, e) {
5246
5243
  }
5247
5244
  function bS(t, e) {
5248
5245
  const i = t.renderer instanceof mn ? new qs() : new Us();
5249
- return i.disabled = !0, i.axis = t, wn(i), Wi(i.uid, { isGuide: e }), uo({ chart: t.chart, label: i, labelType: J.GuideLabel }), pS(t, i), i;
5246
+ return i.disabled = !0, i.axis = t, On(i), Wi(i.uid, { isGuide: e }), uo({ chart: t.chart, label: i, labelType: J.GuideLabel }), pS(t, i), i;
5250
5247
  }
5251
5248
  function yS(t) {
5252
5249
  const { label: e, labelConfig: i, guideType: a } = t, o = e.axis.renderer instanceof At;
5253
5250
  let n;
5254
5251
  e instanceof qs || (o ? a === Z.SFS ? n = A.verticalSurfaceGuideLabels : n = A.verticalLineGuideLabels : a === Z.SFS ? n = A.horizontalSurfaceGuideLabels : n = A.horizontalLineGuideLabels);
5255
5252
  const s = { ...i };
5256
- s.content.rightToLeft = e.axis.rtl, wt({ label: e, labelConfig: s, defaults: n }), e.axis.invalidateLabels();
5253
+ s.content.rightToLeft = e.axis.rtl, Ot({ label: e, labelConfig: s, defaults: n }), e.axis.invalidateLabels();
5257
5254
  }
5258
5255
  function SS(t, e, i) {
5259
5256
  const a = i.chart;
@@ -5493,12 +5490,12 @@ function RS(t, e) {
5493
5490
  } else
5494
5491
  i.disabled = !0, a.disabled = !0;
5495
5492
  }
5496
- function OS(t, e) {
5493
+ function wS(t, e) {
5497
5494
  const a = Tt(t, ve.Guides).length, o = e?.length ?? a;
5498
5495
  for (let n = a; n < o; n += 1)
5499
5496
  AS(t, n);
5500
5497
  }
5501
- function wS(t) {
5498
+ function OS(t) {
5502
5499
  const { axis: e, guides: i, guideTooltipFormatter: a, utilsStrings: o } = t;
5503
5500
  if (i !== void 0) {
5504
5501
  for (let n = 0; n < i.length; n += 1) {
@@ -5518,7 +5515,7 @@ function DS(t, e) {
5518
5515
  }
5519
5516
  function $S(t) {
5520
5517
  const { axis: e, guides: i } = t;
5521
- OS(e, i), wS(t), DS(e, i);
5518
+ wS(e, i), OS(t), DS(e, i);
5522
5519
  }
5523
5520
  function MS(t) {
5524
5521
  const { axis: e, labels: i, restoreLabelsVisibility: a = !0 } = t;
@@ -5736,7 +5733,7 @@ function qS(t) {
5736
5733
  r.axis = e;
5737
5734
  const { labels: l } = i, c = e.renderer instanceof At && r.rotation === A.rotatedAxisLabel.rotation, d = l;
5738
5735
  let u;
5739
- c ? (d.content.angle = void 0, d.content.horizontalAlignment = void 0, d.content.verticalAlignment = void 0, d.content.yoffset = void 0, u = A.rotatedAxisLabel) : e.renderer instanceof At && (a === Se.Stagger || a === Se.Wrap) && (u = { wrap: !0, dy: A.axisLabel.dy }), e.renderer instanceof Va && o !== Se.Hide && (u = { wrap: !0 }), wt({ label: r, labelConfig: d, defaults: u }), e.renderer.labels.template.paddingTop = e.renderer instanceof At ? 0 : A.axisLabel.dy, r.align = "none", r.valign = "none", jS({
5736
+ c ? (d.content.angle = void 0, d.content.horizontalAlignment = void 0, d.content.verticalAlignment = void 0, d.content.yoffset = void 0, u = A.rotatedAxisLabel) : e.renderer instanceof At && (a === Se.Stagger || a === Se.Wrap) && (u = { wrap: !0, dy: A.axisLabel.dy }), e.renderer instanceof Va && o !== Se.Hide && (u = { wrap: !0 }), Ot({ label: r, labelConfig: d, defaults: u }), e.renderer.labels.template.paddingTop = e.renderer instanceof At ? 0 : A.axisLabel.dy, r.align = "none", r.valign = "none", jS({
5740
5737
  axis: e,
5741
5738
  horizontalAxisLabelsBehavior: a,
5742
5739
  verticalAxisLabelsBehavior: o,
@@ -5746,7 +5743,7 @@ function qS(t) {
5746
5743
  }), r.axis.invalidateLabels();
5747
5744
  }
5748
5745
  function Er(t) {
5749
- return (t ?? Od()) === ie.Side;
5746
+ return (t ?? wd()) === ie.Side;
5750
5747
  }
5751
5748
  function Vu(t, e) {
5752
5749
  let i, a;
@@ -5828,7 +5825,7 @@ function eC(t) {
5828
5825
  i
5829
5826
  );
5830
5827
  }
5831
- function Os(t) {
5828
+ function ws(t) {
5832
5829
  const { axis: e, start: i, end: a } = t;
5833
5830
  e.zoom({ start: i ?? 0, end: a ?? 1 });
5834
5831
  }
@@ -5836,7 +5833,7 @@ function ac(t) {
5836
5833
  t !== void 0 && (t.start = 0, t.end = 1);
5837
5834
  }
5838
5835
  function Pn(t) {
5839
- t !== void 0 && (t.xAxes !== void 0 && t.xAxes.each((e) => Os({ axis: e })), t.yAxes !== void 0 && t.yAxes.each((e) => Os({ axis: e })), ac(t.scrollbarX), ac(t.scrollbarY), ce(t.zoomOutButton, !1));
5836
+ t !== void 0 && (t.xAxes !== void 0 && t.xAxes.each((e) => ws({ axis: e })), t.yAxes !== void 0 && t.yAxes.each((e) => ws({ axis: e })), ac(t.scrollbarX), ac(t.scrollbarY), ce(t.zoomOutButton, !1));
5840
5837
  }
5841
5838
  function Fo(t, e) {
5842
5839
  return t instanceof At && e !== !0 || t instanceof Va && e === !0;
@@ -5852,7 +5849,7 @@ function tC(t) {
5852
5849
  }
5853
5850
  function iC(t) {
5854
5851
  const { axis: e, valueFormat: i, axisRenderer: a, queryObject: o, errorStrings: n } = t;
5855
- a.grid.template.applyOnClones = !0, a.ticks.template.applyOnClones = !0, a.labels.template.applyOnClones = !0, a.hoverable = !0, a.line.strokeOpacity = 1, a.grid.template.strokeOpacity = 1, a.ticks.template.strokeOpacity = 1, wn(a.labels.template, A.axisLabel), a.ticks.template.disabled = !1, a.labels.template.disabled = !0, JS(e), hi(i) && (tC(a), hS({ axis: e, queryObject: o, errorStrings: n })), Qo(e.chart, e.title), uo({
5852
+ a.grid.template.applyOnClones = !0, a.ticks.template.applyOnClones = !0, a.labels.template.applyOnClones = !0, a.hoverable = !0, a.line.strokeOpacity = 1, a.grid.template.strokeOpacity = 1, a.ticks.template.strokeOpacity = 1, On(a.labels.template, A.axisLabel), a.ticks.template.disabled = !1, a.labels.template.disabled = !0, JS(e), hi(i) && (tC(a), hS({ axis: e, queryObject: o, errorStrings: n })), Qo(e.chart, e.title), uo({
5856
5853
  chart: e.chart,
5857
5854
  label: e.title,
5858
5855
  labelType: e.renderer instanceof At ? J.XAxisTitle : J.YAxisTitle
@@ -5966,7 +5963,7 @@ function ao(t) {
5966
5963
  l = e.push(new ct());
5967
5964
  else if (bt(o))
5968
5965
  l = e.push(new Ne());
5969
- else if (De(o)) {
5966
+ else if (Oe(o)) {
5970
5967
  l = e.push(new Ae());
5971
5968
  const c = D(l.chart.uid, "formatLocale");
5972
5969
  l.numberFormatter = ri({
@@ -6030,7 +6027,7 @@ function dC(t) {
6030
6027
  const { chart: d } = e, u = D(d.uid, "config");
6031
6028
  let f = 0;
6032
6029
  if (!(Number.isFinite(n) && Number.isFinite(s) && s > n && (!r || n > 0)) && d instanceof fe && u !== void 0) {
6033
- const h = D(d.uid, "isRotated"), b = st(u), p = Fo(e.renderer, h), S = wb(d), C = fr({
6030
+ const h = D(d.uid, "isRotated"), b = st(u), p = Fo(e.renderer, h), S = Ob(d), C = fr({
6034
6031
  chartConfig: u,
6035
6032
  isSecondaryYAxis: o,
6036
6033
  seriesIds: S
@@ -6148,7 +6145,7 @@ function hC(t, e) {
6148
6145
  const i = t.renderer instanceof At;
6149
6146
  t.events.once(N.Validated, () => {
6150
6147
  let a = t.renderer instanceof Va ? A.yAxisTitleLabel : A.xAxisTitleLabel;
6151
- i && (a = { ...a, dy: a.dy ?? 0 }), wt({ label: t.title, labelConfig: e, defaults: a }), Ei({
6148
+ i && (a = { ...a, dy: a.dy ?? 0 }), Ot({ label: t.title, labelConfig: e, defaults: a }), Ei({
6152
6149
  chart: t.chart,
6153
6150
  label: t.title,
6154
6151
  labelType: t.renderer instanceof At ? J.XAxisTitle : J.YAxisTitle
@@ -6228,7 +6225,7 @@ function Eo(t) {
6228
6225
  lineSymbol: k,
6229
6226
  labels: R,
6230
6227
  guides: I,
6231
- valueFormat: w,
6228
+ valueFormat: O,
6232
6229
  displayZeroLine: $,
6233
6230
  displayCursorTooltip: B,
6234
6231
  tickSpacing: M,
@@ -6267,7 +6264,7 @@ function Eo(t) {
6267
6264
  isXAxis: Fo(e.renderer, g),
6268
6265
  chartType: n,
6269
6266
  labelsTextSymbol: i.labels.content,
6270
- formatOptions: w,
6267
+ formatOptions: O,
6271
6268
  overridePercentMultiplication: d === ie.Stacked100,
6272
6269
  axisValueFormatter: u,
6273
6270
  isTimeOnlyField: h,
@@ -6299,7 +6296,7 @@ function yC(t) {
6299
6296
  queryObject: h
6300
6297
  } = t;
6301
6298
  let { axisLabelsBehaviorChanged: b } = t;
6302
- const p = D(e.uid, "config"), S = p.axes, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x } = p, L = W(p.series), v = st(p), k = D(e.uid, "fieldList")?.some((Le) => Le.name === p.series[0].x && Le.type === An.TimeOnly) ?? !1, R = nr({ chartConfig: p, queryObject: h, options: u }), I = Ea(p.series[0]) ? p.series[0].temporalBinning?.outTimeZone : void 0, w = a === !0 ? 1 : 0, $ = a === !0 ? 0 : 1, B = S?.[w], M = S?.[$];
6299
+ const p = D(e.uid, "config"), S = p.axes, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x } = p, L = W(p.series), v = st(p), k = D(e.uid, "fieldList")?.some((Le) => Le.name === p.series[0].x && Le.type === An.TimeOnly) ?? !1, R = nr({ chartConfig: p, queryObject: h, options: u }), I = Ea(p.series[0]) ? p.series[0].temporalBinning?.outTimeZone : void 0, O = a === !0 ? 1 : 0, $ = a === !0 ? 0 : 1, B = S?.[O], M = S?.[$];
6303
6300
  let P = e.xAxes.getIndex(0);
6304
6301
  Hu({
6305
6302
  chart: e,
@@ -6333,8 +6330,8 @@ function yC(t) {
6333
6330
  ...Te,
6334
6331
  axis: P,
6335
6332
  axisConfig: B,
6336
- axisConfigIndex: w,
6337
- axisValueFormatter: w === 0 ? l : c,
6333
+ axisConfigIndex: O,
6334
+ axisValueFormatter: O === 0 ? l : c,
6338
6335
  isTimeOnlyField: k
6339
6336
  }), U !== void 0 && M !== void 0 && Eo({
6340
6337
  ...Te,
@@ -6358,7 +6355,7 @@ function yC(t) {
6358
6355
  ].forEach((Le) => {
6359
6356
  const { axis: ft, start: ti, end: fi } = Le;
6360
6357
  ft !== void 0 && ft.events.once(N.Validated, () => {
6361
- Os({ axis: ft, start: ti, end: fi });
6358
+ ws({ axis: ft, start: ti, end: fi });
6362
6359
  });
6363
6360
  }), P !== void 0 && P.ghostLabel.setPropertyValue("disabled", !0), U !== void 0 && U.ghostLabel.setPropertyValue("disabled", !0), z !== void 0 && z.ghostLabel.setPropertyValue("disabled", !0);
6364
6361
  }
@@ -6425,7 +6422,7 @@ function CC(t) {
6425
6422
  const x = n === !0 ? e.xAxes.getIndex(0) : e.yAxes.getIndex(0), L = n === !0 ? e.xAxes.getIndex(1) : e.yAxes.getIndex(1);
6426
6423
  S === ie.Stacked100 ? (x instanceof Ae && (x.calculateTotals = !0), L instanceof Ae && (L.calculateTotals = !0)) : (x instanceof Ae && (x.calculateTotals = !1), L instanceof Ae && (L.calculateTotals = !1));
6427
6424
  }
6428
- function ws(t) {
6425
+ function Os(t) {
6429
6426
  return t != null && t !== 0;
6430
6427
  }
6431
6428
  function _u(t) {
@@ -6438,8 +6435,8 @@ function _u(t) {
6438
6435
  } = t;
6439
6436
  let s = e ?? E.gauge.axisMinimum, r = i ?? E.gauge.axisMaximum;
6440
6437
  s = Cl(s, o), r = Cl(r, n);
6441
- const l = ws(a);
6442
- let c = ws(a) ? a : Math.abs(r - s) / E.gauge.numberOfLabelIntervals, d = l ? Math.round(Math.abs(r - s) / c) : E.gauge.numberOfLabelIntervals;
6438
+ const l = Os(a);
6439
+ let c = Os(a) ? a : Math.abs(r - s) / E.gauge.numberOfLabelIntervals, d = l ? Math.round(Math.abs(r - s) / c) : E.gauge.numberOfLabelIntervals;
6443
6440
  if (l)
6444
6441
  if (d > E.gauge.maximumNumberOfLabelIntervals)
6445
6442
  c = Math.abs(r - s), d = 1;
@@ -6463,7 +6460,7 @@ function xC(t) {
6463
6460
  minimumFromField: f,
6464
6461
  labelsIncrement: g,
6465
6462
  valueFormat: h
6466
- } = e.axes[0], b = h?.intlOptions?.style !== r?.intlOptions?.style, p = ws(g) ? g !== n : s !== E.gauge.numberOfLabelIntervals;
6463
+ } = e.axes[0], b = h?.intlOptions?.style !== r?.intlOptions?.style, p = Os(g) ? g !== n : s !== E.gauge.numberOfLabelIntervals;
6467
6464
  d = b || a !== u || l !== f || !c && o !== i || p;
6468
6465
  }
6469
6466
  return d;
@@ -6696,7 +6693,7 @@ function $s(t, e) {
6696
6693
  const c = (s.bbox.width + 5) * s.scale, d = (r.bbox.height + 5) * r.scale, u = typeof i.renderer.labels.template.radius == "number" ? i.renderer.labels.template.radius : i.renderer.labels.template.radius.value, f = (c + u) * 2 + t.radarContainer.measuredWidth + Mo(t.paddingLeft) + Mo(t.paddingRight), g = 80, h = 170, b = t.htmlContainer?.clientHeight ?? 0, p = Math.max(
6697
6694
  0,
6698
6695
  Math.min(1, (b - g) / (h - g))
6699
- ), S = t.radarContainer.measuredHeight + (d + u * p) * 2 + Mo(t.paddingTop) + Mo(t.paddingBottom), C = t.measuredWidth, x = t.measuredHeight, L = C / f, v = x / S, T = (typeof t.radius == "number" ? t.radius : t.radius.value) * 100, k = Number((T * L).toFixed(2)), R = Number((T * v).toFixed(2)), I = k / T, w = R / T, $ = t.radarContainer.measuredWidth * I, B = t.radarContainer.measuredWidth * w, [M, P] = $ < B ? [k, I] : [R, w];
6696
+ ), S = t.radarContainer.measuredHeight + (d + u * p) * 2 + Mo(t.paddingTop) + Mo(t.paddingBottom), C = t.measuredWidth, x = t.measuredHeight, L = C / f, v = x / S, T = (typeof t.radius == "number" ? t.radius : t.radius.value) * 100, k = Number((T * L).toFixed(2)), R = Number((T * v).toFixed(2)), I = k / T, O = R / T, $ = t.radarContainer.measuredWidth * I, B = t.radarContainer.measuredWidth * O, [M, P] = $ < B ? [k, I] : [R, O];
6700
6697
  Number.isFinite(M) && M >= 10 && M <= A.gauge.radius && (P < 0.98 || P > 1.02) && (t.radius = new Go(M));
6701
6698
  }
6702
6699
  }
@@ -6715,7 +6712,7 @@ function Gu(t) {
6715
6712
  const s = t.xAxes.getIndex(0);
6716
6713
  return s !== void 0 && (e.axis = s), e;
6717
6714
  }
6718
- function OC(t, e) {
6715
+ function wC(t, e) {
6719
6716
  let i = e ?? null;
6720
6717
  if (e != null) {
6721
6718
  const a = t.xAxes.getIndex(0), o = D(t.uid, "config"), n = a.min ?? o?.axes?.[0].minimum ?? A.gauge.axisMinimum, s = a.max ?? o?.axes?.[0].maximum ?? A.gauge.axisMaximum;
@@ -6723,12 +6720,12 @@ function OC(t, e) {
6723
6720
  }
6724
6721
  return i;
6725
6722
  }
6726
- function wC(t) {
6723
+ function OC(t) {
6727
6724
  const { chart: e, needle: i, gaugeValue: a } = t, o = e.hands.getIndex(0) ?? Gu(e);
6728
6725
  if (o !== void 0) {
6729
6726
  fo({ element: o, fillSymbol: i?.symbol });
6730
6727
  const { startWidth: n, endWidth: s, innerRadius: r } = A.gaugeNeedle;
6731
- o.value = OC(e, a), o.pin.disabled = i?.displayPin !== !0, o.visible = i?.visible ?? !0, o.startWidth = i?.startWidth ?? n, o.endWidth = i?.endWidth ?? s, o.innerRadius = gt(i?.innerRadius ?? r);
6728
+ o.value = wC(e, a), o.pin.disabled = i?.displayPin !== !0, o.visible = i?.visible ?? !0, o.startWidth = i?.startWidth ?? n, o.endWidth = i?.endWidth ?? s, o.innerRadius = gt(i?.innerRadius ?? r);
6732
6729
  }
6733
6730
  }
6734
6731
  function DC(t) {
@@ -6740,7 +6737,7 @@ function $C(t) {
6740
6737
  (r) => ze(r.uid, "isGaugeAxisInnerLabel") === !0
6741
6738
  );
6742
6739
  if (s !== void 0) {
6743
- wt({ label: s, labelConfig: i, defaults: A.gaugeInnerLabel });
6740
+ Ot({ label: s, labelConfig: i, defaults: A.gaugeInnerLabel });
6744
6741
  const r = D(e.uid, "formatLocale");
6745
6742
  s.html = _C({
6746
6743
  valueFormat: a,
@@ -6758,7 +6755,7 @@ function MC(t) {
6758
6755
  }
6759
6756
  function BC(t) {
6760
6757
  const e = new qs();
6761
- return e.disabled = !0, e.axis = t, wn(e), e.padding(10, 10, 10, 10), Wi(e.uid, { isGaugeAxisLabel: !0 }), e;
6758
+ return e.disabled = !0, e.axis = t, On(e), e.padding(10, 10, 10, 10), Wi(e.uid, { isGaugeAxisLabel: !0 }), e;
6762
6759
  }
6763
6760
  function NC(t) {
6764
6761
  const { axis: e, min: i, max: a, labelsIncrement: o, numberOfIntervals: n, valueFormat: s } = t, r = Yo(s);
@@ -6783,7 +6780,7 @@ function PC(t) {
6783
6780
  if (Vn(r)) {
6784
6781
  const l = D(e.uid, "formatLocale");
6785
6782
  r.forEach((c) => {
6786
- wt({ label: c.label, labelConfig: n }), Cn(c) && (c.label.html = Xu({
6783
+ Ot({ label: c.label, labelConfig: n }), Cn(c) && (c.label.html = Xu({
6787
6784
  valueFormat: o,
6788
6785
  iLocale: e.language.locale,
6789
6786
  formatLocale: l,
@@ -6968,7 +6965,7 @@ function GC(t) {
6968
6965
  axisValueFormatter: n
6969
6966
  });
6970
6967
  const T = md({ chartData: o, chartConfig: i });
6971
- wC({
6968
+ OC({
6972
6969
  chart: e,
6973
6970
  needle: h,
6974
6971
  gaugeValue: T
@@ -6993,7 +6990,7 @@ function YC(t) {
6993
6990
  }
6994
6991
  function En(t, e) {
6995
6992
  const { title: i, subtitle: a, headerContainer: o } = t;
6996
- wt({ label: i, labelConfig: e?.title, defaults: A.titleLabel }), wt({ label: a, labelConfig: e?.subtitle, defaults: A.titleLabel }), ku(o, i.disabled && a.disabled), Ei({
6993
+ Ot({ label: i, labelConfig: e?.title, defaults: A.titleLabel }), Ot({ label: a, labelConfig: e?.subtitle, defaults: A.titleLabel }), ku(o, i.disabled && a.disabled), Ei({
6997
6994
  chart: i.parent,
6998
6995
  label: i,
6999
6996
  labelType: J.ChartTitle
@@ -7009,7 +7006,7 @@ function UC(t) {
7009
7006
  }
7010
7007
  function zn(t, e) {
7011
7008
  const { footer: i, footerContainer: a } = t;
7012
- wt({ label: i, labelConfig: e, defaults: A.footer }), ku(a, i.disabled || e?.content.text === ""), Ei({
7009
+ Ot({ label: i, labelConfig: e, defaults: A.footer }), ku(a, i.disabled || e?.content.text === ""), Ei({
7013
7010
  chart: i.parent,
7014
7011
  label: i,
7015
7012
  labelType: J.ChartFooter
@@ -7155,7 +7152,7 @@ function ax(t) {
7155
7152
  isChartFillSymbol: !0
7156
7153
  };
7157
7154
  let g = {}, h = {};
7158
- const b = wd(a);
7155
+ const b = Od(a);
7159
7156
  if (e.columns.length === 0)
7160
7157
  g = Vt({
7161
7158
  seriesConfig: i,
@@ -7221,7 +7218,7 @@ function ju(t) {
7221
7218
  seriesIndex: l,
7222
7219
  seriesSymbolMapForEvent: c,
7223
7220
  queryObject: d
7224
- } = t, { name: u } = e, f = D(i.chart.uid, "config"), g = Ot({ config: f }), h = j(f?.series);
7221
+ } = t, { name: u } = e, f = D(i.chart.uid, "config"), g = wt({ config: f }), h = j(f?.series);
7225
7222
  ce(i, e.visible);
7226
7223
  let b = u;
7227
7224
  const p = i.dataFields?.customValue ?? "";
@@ -7229,7 +7226,7 @@ function ju(t) {
7229
7226
  queryObject: d,
7230
7227
  fieldName: Qt(p),
7231
7228
  fieldValue: b
7232
- }) ?? b), Ha(i, b), wr({
7229
+ }) ?? b), Ha(i, b), Or({
7233
7230
  series: i,
7234
7231
  seriesConfig: e,
7235
7232
  rotationChanged: o,
@@ -7267,14 +7264,14 @@ function sx(t) {
7267
7264
  f.id = c.id;
7268
7265
  let g, h;
7269
7266
  l !== !0 ? (g = o[0], h = u === !0 && o[2] ? o[2] : o[1]) : (g = u === !0 && o[2] ? o[2] : o[0], h = o[1]), g !== void 0 && (f.xAxis = g), h !== void 0 && (f.yAxis = h);
7270
- const b = e instanceof fe ? Ot({ chart: e }) : !1, S = j(i.series) !== V.BarAndLineSplitByNoAggregation ? d : `${d}_${Li({ where: c.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`;
7267
+ const b = e instanceof fe ? wt({ chart: e }) : !1, S = j(i.series) !== V.BarAndLineSplitByNoAggregation ? d : `${d}_${Li({ where: c.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`;
7271
7268
  b ? f.dataFields.valueX = S : f.dataFields.valueY = S;
7272
7269
  const C = b ? o[1] : o[0];
7273
7270
  if (C !== void 0) {
7274
7271
  const x = mu(C, b);
7275
7272
  f.dataFields[x] = A.xAxisField, f.baseAxis = C;
7276
7273
  }
7277
- return wr({
7274
+ return Or({
7278
7275
  series: f,
7279
7276
  seriesConfig: c,
7280
7277
  rotationChanged: !1,
@@ -7288,7 +7285,7 @@ function sx(t) {
7288
7285
  function rx(t) {
7289
7286
  const { seriesConfig: e, series: i, seriesIndex: a, axes: o, utilsStrings: n, fieldList: s, queryObject: r, stackedType: l, options: c } = t;
7290
7287
  i.id = e.id;
7291
- const d = Ot({ chart: i.chart });
7288
+ const d = wt({ chart: i.chart });
7292
7289
  QS({
7293
7290
  series: i,
7294
7291
  seriesType: y.BarSeries,
@@ -7386,7 +7383,7 @@ function ux(t) {
7386
7383
  const { pieSeries: e, seriesConfig: i, dataLabelFormatter: a } = t, { dataLabels: o } = i, n = i.dataLabelsOffset ?? A.pieChart.dataLabelsOffset, s = i.dataLabelsInside ?? A.pieChart.dataLabelsInside;
7387
7384
  Gt(e.uid, {
7388
7385
  pieChartDataLabelFormatter: a ?? dx(e, i)
7389
- }), wt({
7386
+ }), Ot({
7390
7387
  label: e.labels.template,
7391
7388
  labelConfig: o,
7392
7389
  defaults: {
@@ -7623,7 +7620,6 @@ async function rc(t) {
7623
7620
  errorStrings: n
7624
7621
  });
7625
7622
  }
7626
- e.feedLegend();
7627
7623
  }
7628
7624
  function vx(t, e, i) {
7629
7625
  const a = async (s) => {
@@ -7669,11 +7665,11 @@ function cc(t) {
7669
7665
  function Fx(t, e) {
7670
7666
  t !== void 0 && e !== void 0 && window.IntersectionObserver !== void 0 && new IntersectionObserver(
7671
7667
  (a) => {
7672
- a[0].intersectionRatio > 0 && (D(t.uid, "chartWasCreatedWhileHidden") === !0 ? (t instanceof we && t.events.once(N.Validated, () => {
7668
+ a[0].intersectionRatio > 0 && (D(t.uid, "chartWasCreatedWhileHidden") === !0 ? (t instanceof $e && t.events.once(N.Validated, () => {
7673
7669
  t.isDisposed() || nn(t), t.reinit();
7674
7670
  }), t.reinit(), t instanceof fe && Pn(t), ae(t.uid, {
7675
7671
  chartWasCreatedWhileHidden: !1
7676
- })) : D(t.uid, "chartWasUpdatedWhileHidden") === !0 && (t instanceof we && t.events.once(N.Validated, () => {
7672
+ })) : D(t.uid, "chartWasUpdatedWhileHidden") === !0 && (t instanceof $e && t.events.once(N.Validated, () => {
7677
7673
  t.isDisposed() || nn(t), t.reinit();
7678
7674
  }), t.reinit(), ae(t.uid, {
7679
7675
  chartWasUpdatedWhileHidden: !1
@@ -7758,7 +7754,7 @@ function Ku(t) {
7758
7754
  }
7759
7755
  }
7760
7756
  function Qu(t) {
7761
- if (t instanceof we)
7757
+ if (t instanceof $e)
7762
7758
  Zu(t), Ku(t);
7763
7759
  else if (!(t instanceof kt)) {
7764
7760
  const e = () => {
@@ -7767,9 +7763,9 @@ function Qu(t) {
7767
7763
  chartPaddingRightWhenLegendNotOnRight: n,
7768
7764
  chartContainerPaddingTopWhenRotated: s,
7769
7765
  chartContainer: r
7770
- } = A, l = a?.series, c = W(l), d = Ot({ config: a }), u = l?.[0]?.dataLabels?.visible ?? !0;
7766
+ } = A, l = a?.series, c = W(l), d = wt({ config: a }), u = l?.[0]?.dataLabels?.visible ?? !0;
7771
7767
  let f = A.chartDefaultPaddingRight;
7772
- if (d && u && (c === y.LineSeries || c === y.ComboLineAndBarSeries || c === y.BarSeries && (a?.stackedType ?? Od()) === ie.Side)) {
7768
+ if (d && u && (c === y.LineSeries || c === y.ComboLineAndBarSeries || c === y.BarSeries && (a?.stackedType ?? wd()) === ie.Side)) {
7773
7769
  let h = 0;
7774
7770
  const b = (p) => ze(p.uid, "isDataLabel") ?? !1;
7775
7771
  t.series.each((p) => {
@@ -7969,7 +7965,7 @@ function Ju(t) {
7969
7965
  }
7970
7966
  }
7971
7967
  }
7972
- else e instanceof we && i.series[0].type === y.PieSeries && (c = yx({ ...g, seriesConfig: i.series[0] }), u.push(c));
7968
+ else e instanceof $e && i.series[0].type === y.PieSeries && (c = yx({ ...g, seriesConfig: i.series[0] }), u.push(c));
7973
7969
  const b = gg({ chartConfig: i, queryObject: s, chartData: e.data });
7974
7970
  b.length > 0 && (e.colors.list = b.map((p) => {
7975
7971
  const [S, C, x, L] = p;
@@ -7996,8 +7992,8 @@ function Gr(t) {
7996
7992
  seriesWereReinitialized: C,
7997
7993
  utilsStrings: x,
7998
7994
  errorStrings: L
7999
- } = t, v = e.series.values, T = /* @__PURE__ */ new Map(), k = i.series.length, R = _i(i), I = st(i), w = W(i.series), $ = Lt(f, g?.popupTemplateFieldInfosEnabled), B = tt(f), M = rr(n, Ge(B) ? void 0 : B?.renderer);
8000
- e instanceof fe && w === y.BoxPlotSeries && (r || h || b || l || C) && Hy(e, u), a.forEach((P, U) => {
7995
+ } = t, v = e.series.values, T = /* @__PURE__ */ new Map(), k = i.series.length, R = _i(i), I = st(i), O = W(i.series), $ = Lt(f, g?.popupTemplateFieldInfosEnabled), B = tt(f), M = rr(n, Ge(B) ? void 0 : B?.renderer);
7996
+ e instanceof fe && O === y.BoxPlotSeries && (r || h || b || l || C) && Hy(e, u), a.forEach((P, U) => {
8001
7997
  const z = W([P]), G = v[U], q = {
8002
7998
  numberOfSeries: k,
8003
7999
  series: G,
@@ -8102,14 +8098,14 @@ function Xr(t) {
8102
8098
  timeIntervalInfo: v?.timeIntervalInfo,
8103
8099
  serverLimitReached: v?.serverLimitReached
8104
8100
  });
8105
- const w = /* @__PURE__ */ new Map();
8101
+ const O = /* @__PURE__ */ new Map();
8106
8102
  e.series.forEach((Le, ft) => {
8107
- w.set(Le.id, ft);
8103
+ O.set(Le.id, ft);
8108
8104
  });
8109
8105
  const $ = jt(v);
8110
8106
  $ !== void 0 && (i.data = $);
8111
8107
  const B = j(e.series);
8112
- i instanceof we && _t({
8108
+ i instanceof $e && _t({
8113
8109
  data: s,
8114
8110
  htmlContainer: i.htmlContainer,
8115
8111
  chartId: i.id,
@@ -8121,7 +8117,7 @@ function Xr(t) {
8121
8117
  zn(X, U);
8122
8118
  const Y = By(i, z);
8123
8119
  ly(i);
8124
- const H = Ot({ config: e });
8120
+ const H = wt({ config: e });
8125
8121
  ae(i.uid, {
8126
8122
  config: e,
8127
8123
  isRotated: H,
@@ -8151,7 +8147,7 @@ function Xr(t) {
8151
8147
  }), Gr({
8152
8148
  chart: i,
8153
8149
  chartConfig: e,
8154
- seriesIndexMapper: w,
8150
+ seriesIndexMapper: O,
8155
8151
  rotationChanged: !1,
8156
8152
  queryObject: r,
8157
8153
  chartData: v,
@@ -8202,7 +8198,7 @@ function Rx(t) {
8202
8198
  });
8203
8199
  return ae(f.uid, { config: ke(i) }), ef(f), Wb({ chart: f, queryObject: a, errorStrings: c }), Eb({ chart: f, queryObject: a, errorStrings: c }), { chart: f, chartElements: C };
8204
8200
  }
8205
- function Ox(t) {
8201
+ function wx(t) {
8206
8202
  const {
8207
8203
  chartContainer: e,
8208
8204
  chartConfig: i,
@@ -8213,7 +8209,7 @@ function Ox(t) {
8213
8209
  t9nStrings: { errorStrings: r, utilsStrings: l, amChartsStrings: c },
8214
8210
  options: d,
8215
8211
  globalOptions: u
8216
- } = t, f = Qs(e, we);
8212
+ } = t, f = Qs(e, $e);
8217
8213
  f.id = i?.id ?? f.uid;
8218
8214
  const g = gd(f.htmlContainer);
8219
8215
  Hr({ chart: f, localeInfo: g, chartLocale: c }), f.radius = gt(A.pieChart.chartRadius);
@@ -8231,7 +8227,7 @@ function Ox(t) {
8231
8227
  });
8232
8228
  return ae(f.uid, { config: ke(i), filterBySelection: d?.filterBySelection }), vx(f, a, r), { chart: f, chartElements: h };
8233
8229
  }
8234
- function wx(t) {
8230
+ function Ox(t) {
8235
8231
  const {
8236
8232
  chartContainer: e,
8237
8233
  chartConfig: i,
@@ -8274,11 +8270,11 @@ function Dx(t) {
8274
8270
  queryObject: d,
8275
8271
  utilsStrings: u,
8276
8272
  errorStrings: f
8277
- } = t, { guideTooltipFormatter: g } = r ?? {}, h = D(i.uid, "config"), b = h?.series, p = e.series, S = W(p), C = Ot({ config: e });
8273
+ } = t, { guideTooltipFormatter: g } = r ?? {}, h = D(i.uid, "config"), b = h?.series, p = e.series, S = W(p), C = wt({ config: e });
8278
8274
  ae(i.uid, { config: ke(e), isRotated: C }), ae(i.uid, { filterBySelection: r?.filterBySelection }), Hn({ chart: i, actionMode: r?.actionMode, cursorRange: r?.cursorRange });
8279
8275
  const { xOrYChanged: x, layerChanged: L } = n?.common ?? {};
8280
8276
  let { numberOfSeriesChanged: v } = n?.common ?? {};
8281
- const T = pd(h, e), k = bd(h, e), R = lg(h, e), I = cg(h, e), w = JSON.stringify(jo(b)) !== JSON.stringify(jo(p));
8277
+ const T = pd(h, e), k = bd(h, e), R = lg(h, e), I = cg(h, e), O = JSON.stringify(jo(b)) !== JSON.stringify(jo(p));
8282
8278
  let $ = !1, B = !1;
8283
8279
  Pi(e) && Pi(h) && ($ = dg(h, e), B = ug(h, e));
8284
8280
  const M = xn({
@@ -8337,7 +8333,7 @@ function Dx(t) {
8337
8333
  });
8338
8334
  const H = S === y.BoxPlotSeries && (fg(p, b) || mg(p, b));
8339
8335
  let te = !1;
8340
- (i.series === void 0 || i.series.length === 0 || x || L || v || w || (S === y.BarSeries || S === y.LineSeries || S === y.RadarSeries || S === y.ComboLineAndBarSeries) && i.series.length !== e.series.length || U || I || // NOTE: This fix is here to resolve the issue: https://devtopia.esri.com/webgis/arcgis-charts/issues/6537
8336
+ (i.series === void 0 || i.series.length === 0 || x || L || v || O || (S === y.BarSeries || S === y.LineSeries || S === y.RadarSeries || S === y.ComboLineAndBarSeries) && i.series.length !== e.series.length || U || I || // NOTE: This fix is here to resolve the issue: https://devtopia.esri.com/webgis/arcgis-charts/issues/6537
8341
8337
  // TODO: find a better way to order legends for box plot with split by field rather than re-initializing the series in the future.
8342
8338
  H || n?.boxPlot?.showMeanChanged) && (te = !0, !o && (k || H || U) && i.invalidateData(), Ju({
8343
8339
  chart: i,
@@ -8474,7 +8470,7 @@ function Bx(t) {
8474
8470
  let d;
8475
8471
  switch (W(i?.series)) {
8476
8472
  case y.PieSeries:
8477
- si(n), d = Ox({
8473
+ si(n), d = wx({
8478
8474
  chartContainer: e,
8479
8475
  chartConfig: i,
8480
8476
  queryObject: n,
@@ -8487,7 +8483,7 @@ function Bx(t) {
8487
8483
  });
8488
8484
  break;
8489
8485
  case y.GaugeSeries:
8490
- si(n), d = wx({
8486
+ si(n), d = Ox({
8491
8487
  chartContainer: e,
8492
8488
  chartConfig: i,
8493
8489
  queryObject: n,
@@ -8551,7 +8547,7 @@ function Nx(t) {
8551
8547
  const {
8552
8548
  chartConfig: R,
8553
8549
  dataWasUpdated: I,
8554
- dataUpdateDetails: w,
8550
+ dataUpdateDetails: O,
8555
8551
  queryObject: $,
8556
8552
  options: B,
8557
8553
  t9nStrings: { utilsStrings: M },
@@ -8572,7 +8568,7 @@ function Nx(t) {
8572
8568
  chartElements: S,
8573
8569
  queryObject: $,
8574
8570
  dataWasUpdated: I,
8575
- dataUpdateDetails: w,
8571
+ dataUpdateDetails: O,
8576
8572
  dataInfo: G,
8577
8573
  newConfig: R,
8578
8574
  configWithAllSeries: P,
@@ -8615,7 +8611,7 @@ function Nx(t) {
8615
8611
  const {
8616
8612
  chartConfig: R,
8617
8613
  options: I,
8618
- dataWasUpdated: w,
8614
+ dataWasUpdated: O,
8619
8615
  dataUpdateDetails: $,
8620
8616
  configWithAllSeries: B,
8621
8617
  hasSeriesFilteredOut: M,
@@ -8639,7 +8635,7 @@ function Nx(t) {
8639
8635
  }), x({
8640
8636
  chartConfig: R,
8641
8637
  options: I,
8642
- dataWasUpdated: w,
8638
+ dataWasUpdated: O,
8643
8639
  dataUpdateDetails: $,
8644
8640
  pieSlicesSymbols: P,
8645
8641
  t9nStrings: q,
@@ -8650,7 +8646,7 @@ function Nx(t) {
8650
8646
  }), sc(p);
8651
8647
  }
8652
8648
  async function v(k, R) {
8653
- if (Mt(p) && (p instanceof fe || p instanceof we)) {
8649
+ if (Mt(p) && (p instanceof fe || p instanceof $e)) {
8654
8650
  const I = D(p.uid, "actionMode");
8655
8651
  I !== Q.MonoSelection && I !== Q.None && await zb({ chart: p, queryObject: k, errorStrings: R });
8656
8652
  }
@@ -8688,7 +8684,7 @@ function ga(t, e) {
8688
8684
  function ha(t, e) {
8689
8685
  return Ms.get(t)?.[e];
8690
8686
  }
8691
- function O(t, e) {
8687
+ function w(t, e) {
8692
8688
  return ha(t, e);
8693
8689
  }
8694
8690
  function ht(t, e) {
@@ -8744,11 +8740,11 @@ function Yx(t) {
8744
8740
  let e;
8745
8741
  if (t != null) {
8746
8742
  const i = t;
8747
- if (i instanceof Oa)
8743
+ if (i instanceof wa)
8748
8744
  e = i.chart;
8749
8745
  else {
8750
8746
  const a = i.dataItem?.component;
8751
- a instanceof Oa && (e = a.chart);
8747
+ a instanceof wa && (e = a.chart);
8752
8748
  }
8753
8749
  }
8754
8750
  return e;
@@ -8938,7 +8934,7 @@ function sf(t, e) {
8938
8934
  i = he;
8939
8935
  break;
8940
8936
  case "left":
8941
- i = $e;
8937
+ i = De;
8942
8938
  break;
8943
8939
  }
8944
8940
  return i;
@@ -8947,7 +8943,7 @@ function rf(t, e) {
8947
8943
  let i = de;
8948
8944
  switch (t ?? e) {
8949
8945
  case "top":
8950
- i = $e;
8946
+ i = De;
8951
8947
  break;
8952
8948
  case "bottom":
8953
8949
  i = he;
@@ -8959,7 +8955,7 @@ function iv(t) {
8959
8955
  const { angle: e, mappedHAlignment: i, mappedVAlignment: a, isGuideLabel: o } = t;
8960
8956
  let n = i, s = a, r = i;
8961
8957
  const l = a;
8962
- return (Math.abs(e) === 270 || Math.abs(e) === 90) && (o || (r = void 0, s = void 0), l === $e ? n = he : l === he ? n = $e : l === de && (n = de)), { align: n, valign: s, horizontalCenter: r, verticalCenter: l };
8958
+ return (Math.abs(e) === 270 || Math.abs(e) === 90) && (o || (r = void 0, s = void 0), l === De ? n = he : l === he ? n = De : l === de && (n = de)), { align: n, valign: s, horizontalCenter: r, verticalCenter: l };
8963
8959
  }
8964
8960
  function jr(t) {
8965
8961
  const {
@@ -9164,13 +9160,13 @@ function uc(t, e) {
9164
9160
  }
9165
9161
  }
9166
9162
  function Ao(t) {
9167
- const { chart: e } = t, i = O(e?.uid ?? Number.NaN, "config"), a = Ct(i);
9163
+ const { chart: e } = t, i = w(e?.uid ?? Number.NaN, "config"), a = Ct(i);
9168
9164
  return se(t.uid, "isOverlay") !== !0 && t.get("id") !== F.overlayId.scatterplotTrendLine && (!(t instanceof Ti) || !a) && !(t instanceof la);
9169
9165
  }
9170
9166
  function df(t) {
9171
9167
  let e = !1, i;
9172
- if (t.target.dataItem?.component instanceof Oa ? { chart: i } = t.target.dataItem.component : t.target.dataItem?.component instanceof Ve ? i = t.target.dataItem.component.chart : (t.target instanceof Pd || t.target instanceof vr) && ({ chart: i } = t.target), i instanceof pe || i instanceof Kt) {
9173
- const a = O(i.uid, "actionMode");
9168
+ if (t.target.dataItem?.component instanceof wa ? { chart: i } = t.target.dataItem.component : t.target.dataItem?.component instanceof Ve ? i = t.target.dataItem.component.chart : (t.target instanceof Pd || t.target instanceof vr) && ({ chart: i } = t.target), i instanceof pe || i instanceof Kt) {
9169
+ const a = w(i.uid, "actionMode");
9174
9170
  if (a !== void 0) {
9175
9171
  const { originalEvent: o } = t;
9176
9172
  e = a === Q.MultiSelection || a === Q.MultiSelectionWithCtrlKey && ("ctrlKey" in o && o.ctrlKey || "metaKey" in o && o.metaKey);
@@ -9178,14 +9174,14 @@ function df(t) {
9178
9174
  }
9179
9175
  return e;
9180
9176
  }
9181
- function Oe(t) {
9177
+ function we(t) {
9182
9178
  const { element: e, selected: i, multiSelect: a, isDateOrCategoryAxis: o, backToDefaultState: n } = t;
9183
9179
  let s = !1;
9184
9180
  if (e !== void 0) {
9185
9181
  const r = Xt(e.uid, "selected") ?? !1;
9186
9182
  s = r, a !== !0 ? o === !0 ? s = r ? !1 : r !== i : s = i : s = r !== i;
9187
9183
  const l = n === !0 ? lt.Default : lt.CustomInactive;
9188
- if (e.states.apply(lt.Default), e.states.apply(s ? lt.CustomActive : l), s !== r && (Ex(e.uid, { selected: s }), s && (e.toFront(), e.dataItem?.component instanceof Oa))) {
9184
+ if (e.states.apply(lt.Default), e.states.apply(s ? lt.CustomActive : l), s !== r && (Ex(e.uid, { selected: s }), s && (e.toFront(), e.dataItem?.component instanceof wa))) {
9189
9185
  const c = e.dataItem.component;
9190
9186
  c.toFront(), c instanceof ne && c.bulletsContainer.toFront();
9191
9187
  }
@@ -9193,7 +9189,7 @@ function Oe(t) {
9193
9189
  return s;
9194
9190
  }
9195
9191
  function uf(t, e) {
9196
- const i = O(e.chart?.uid ?? Number.NaN, "actionMode"), a = df(t);
9192
+ const i = w(e.chart?.uid ?? Number.NaN, "actionMode"), a = df(t);
9197
9193
  return i === Q.MonoSelection || i === Q.MultiSelectionWithCtrlKey && !a;
9198
9194
  }
9199
9195
  function Ee(t, e) {
@@ -9211,7 +9207,7 @@ function sv(t) {
9211
9207
  function pa(t) {
9212
9208
  let e = "";
9213
9209
  const { chart: i } = t;
9214
- return i !== void 0 && (e = O(i.uid, "isRotated") === !0 ? nv(t) : sv(t)), e;
9210
+ return i !== void 0 && (e = w(i.uid, "isRotated") === !0 ? nv(t) : sv(t)), e;
9215
9211
  }
9216
9212
  function rv(t, e) {
9217
9213
  e && t.setThemes([$h.new(t)]);
@@ -9304,7 +9300,7 @@ function Ma(t) {
9304
9300
  const { root: e, parent: i, defaults: a, index: o, id: n } = t, s = nt.new(e, {
9305
9301
  text: "",
9306
9302
  textAlign: "center",
9307
- background: wa.new(e, {}),
9303
+ background: Oa.new(e, {}),
9308
9304
  paddingBottom: 0,
9309
9305
  paddingTop: 0,
9310
9306
  paddingLeft: 0,
@@ -9357,7 +9353,7 @@ function Dt(t) {
9357
9353
  }
9358
9354
  }
9359
9355
  function di(t) {
9360
- const { chart: e, label: i, labelType: a } = t, { legendTitle: o } = F.legendProperties, n = O(e.uid, "config");
9356
+ const { chart: e, label: i, labelType: a } = t, { legendTitle: o } = F.legendProperties, n = w(e.uid, "config");
9361
9357
  let s = o.maxWidth ?? Number.NaN;
9362
9358
  switch (a) {
9363
9359
  case J.GuideLabel:
@@ -9417,7 +9413,7 @@ function Bs(t) {
9417
9413
  f = he;
9418
9414
  break;
9419
9415
  case "right":
9420
- f = $e;
9416
+ f = De;
9421
9417
  break;
9422
9418
  default:
9423
9419
  f = de;
@@ -9425,13 +9421,13 @@ function Bs(t) {
9425
9421
  }
9426
9422
  switch (l) {
9427
9423
  case "bottom":
9428
- g = i ? he : $e, b = 0;
9424
+ g = i ? he : De, b = 0;
9429
9425
  break;
9430
9426
  case "middle":
9431
9427
  g = de, b = -o / 2;
9432
9428
  break;
9433
9429
  default:
9434
- i ? (g = $e, b = -o) : (g = he, b = -o);
9430
+ i ? (g = De, b = -o) : (g = he, b = -o);
9435
9431
  break;
9436
9432
  }
9437
9433
  i || (h = 0);
@@ -9439,7 +9435,7 @@ function Bs(t) {
9439
9435
  if (i)
9440
9436
  switch (l) {
9441
9437
  case "top":
9442
- u = 1, g = $e;
9438
+ u = 1, g = De;
9443
9439
  break;
9444
9440
  case "bottom":
9445
9441
  u = 0, g = he;
@@ -9654,7 +9650,7 @@ function rn(t) {
9654
9650
  if (t.isDisposed())
9655
9651
  t.root.events.off(oe.FrameEnded, () => rn(t));
9656
9652
  else {
9657
- const e = O(t.uid, "config"), i = xd(e) && Qe(e) && Cf(e) && t.series.length > 0, a = i ? Sf(t) : 0;
9653
+ const e = w(t.uid, "config"), i = xd(e) && Qe(e) && Cf(e) && t.series.length > 0, a = i ? Sf(t) : 0;
9658
9654
  (!i || a > 0) && (t.root.events.off(oe.FrameEnded, () => rn(t)), Zr(t));
9659
9655
  }
9660
9656
  }
@@ -9722,7 +9718,7 @@ function xv(t) {
9722
9718
  i.adapters.add("y", (s, r) => {
9723
9719
  let l = s;
9724
9720
  if (typeof s == "number") {
9725
- const { chart: c } = e, d = c !== void 0 ? O(c.uid, "isRotated") : !1;
9721
+ const { chart: c } = e, d = c !== void 0 ? w(c.uid, "isRotated") : !1;
9726
9722
  let u = s;
9727
9723
  const f = r.dataItem;
9728
9724
  if (f !== void 0 && u !== void 0 && u !== null) {
@@ -9749,7 +9745,7 @@ function xv(t) {
9749
9745
  }), i.adapters.add("x", (s, r) => {
9750
9746
  let l = s;
9751
9747
  if (typeof s == "number" && !o) {
9752
- const { chart: c } = e, d = c !== void 0 ? O(c.uid, "isRotated") : !1;
9748
+ const { chart: c } = e, d = c !== void 0 ? w(c.uid, "isRotated") : !1;
9753
9749
  let u = s;
9754
9750
  const f = r.dataItem;
9755
9751
  if (f !== void 0 && u !== void 0 && u !== null && d === !0) {
@@ -9764,7 +9760,7 @@ function xv(t) {
9764
9760
  function vv(t) {
9765
9761
  const { series: e, externalDataLabelFormatter: i } = t;
9766
9762
  e.bullets.push(() => {
9767
- const a = O(e.chart?.uid ?? Number.NaN, "config"), n = a?.series?.find((f) => f.id === e.get("id"))?.dataLabels ?? t.dataLabelsConfig, s = Qe(a), r = t.seriesType === y.LineSeries || t.seriesType === y.RadarSeries ? F.zIndexes.defaultLayer30 : 0, l = e.get("stacked"), c = t.seriesType === y.LineSeries || t.seriesType === y.RadarSeries, d = Ai.new(e.root, {
9763
+ const a = w(e.chart?.uid ?? Number.NaN, "config"), n = a?.series?.find((f) => f.id === e.get("id"))?.dataLabels ?? t.dataLabelsConfig, s = Qe(a), r = t.seriesType === y.LineSeries || t.seriesType === y.RadarSeries ? F.zIndexes.defaultLayer30 : 0, l = e.get("stacked"), c = t.seriesType === y.LineSeries || t.seriesType === y.RadarSeries, d = Ai.new(e.root, {
9768
9764
  ...c ? {} : {
9769
9765
  locationY: !l && !s ? 1 : void 0,
9770
9766
  locationX: !l && s ? 1 : void 0
@@ -9773,7 +9769,7 @@ function vv(t) {
9773
9769
  text: s ? "{valueX}" : "{valueY}",
9774
9770
  populateText: !0,
9775
9771
  centerY: he,
9776
- centerX: c ? de : $e,
9772
+ centerX: c ? de : De,
9777
9773
  // remove padding so if they fit in the label, it shows
9778
9774
  paddingBottom: 0,
9779
9775
  paddingTop: 0,
@@ -9845,7 +9841,7 @@ function Fv(t) {
9845
9841
  i instanceof xe ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
9846
9842
  );
9847
9843
  if (c !== void 0 && i.chart && l) {
9848
- const d = O(i.chart.uid, "config"), u = Qe(d), f = u ? l.get("valueX") : l.get("valueY"), g = u ? l.get("valueXTotalPercent") : l.get("valueYTotalPercent"), h = st(d);
9844
+ const d = w(i.chart.uid, "config"), u = Qe(d), f = u ? l.get("valueX") : l.get("valueY"), g = u ? l.get("valueXTotalPercent") : l.get("valueYTotalPercent"), h = st(d);
9849
9845
  i instanceof xe && h !== ie.Side && Number(f) === 0 ? r = "" : r = c(
9850
9846
  st(d) === ie.Stacked100 ? g : f
9851
9847
  );
@@ -9868,9 +9864,9 @@ function _n(t) {
9868
9864
  if (a !== void 0) {
9869
9865
  const { chart: d } = e;
9870
9866
  let u = c;
9871
- const f = n?.content ?? { type: Z.TS }, g = d ? O(d.uid, "config") : void 0;
9867
+ const f = n?.content ?? { type: Z.TS }, g = d ? w(d.uid, "config") : void 0;
9872
9868
  if (d && c === void 0 && l !== void 0 && g?.axes?.[1]?.valueFormat?.type === y.NumberAxisFormat) {
9873
- const L = O(d.uid, "formatLocale"), v = r === y.HeatSeries ? { type: y.NumberAxisFormat, intlOptions: {} } : g?.axes?.[1]?.valueFormat, T = st(g), k = T === ie.Stacked100 ? {
9869
+ const L = w(d.uid, "formatLocale"), v = r === y.HeatSeries ? { type: y.NumberAxisFormat, intlOptions: {} } : g?.axes?.[1]?.valueFormat, T = st(g), k = T === ie.Stacked100 ? {
9874
9870
  ...Tn().intlOptions,
9875
9871
  ...v.intlOptions,
9876
9872
  style: "percent"
@@ -9977,9 +9973,9 @@ function Cf(t) {
9977
9973
  }
9978
9974
  function Zr(t, e) {
9979
9975
  if (t instanceof pe) {
9980
- const i = O(t.uid, "config"), a = Qe(i), o = xd(i);
9976
+ const i = w(t.uid, "config"), a = Qe(i), o = xd(i);
9981
9977
  e && ht(t.uid, { dataLabelsPaddingHorizontal: 0, dataLabelsPaddingTop: 0 });
9982
- const n = O(t.uid, "dataLabelsPaddingHorizontal") ?? 0, s = O(t.uid, "dataLabelsPaddingTop") ?? 0;
9978
+ const n = w(t.uid, "dataLabelsPaddingHorizontal") ?? 0, s = w(t.uid, "dataLabelsPaddingTop") ?? 0;
9983
9979
  let r = 0, l = 0, c = !0;
9984
9980
  if (o && !a && (l = F.chartContainer.paddingTop ?? 0), o && a && Cf(i) && (r = Sf(t), r === 0 && t.series.length > 0 && (bv(t), c = !1)), c) {
9985
9981
  const d = t.chartContainer.get("paddingRight") ?? 0, u = t.chartContainer.get("paddingTop") ?? 0;
@@ -10031,7 +10027,7 @@ function vf(t) {
10031
10027
  function kv(t) {
10032
10028
  const { series: e, labelDefaults: i, externalDataLabelFormatter: a, seriesType: o } = t;
10033
10029
  e.bullets.push(() => {
10034
- const s = O(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, r = Ai.new(e.root, {
10030
+ const s = w(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, r = Ai.new(e.root, {
10035
10031
  locationY: 1,
10036
10032
  sprite: nt.new(e.root, {
10037
10033
  populateText: !0,
@@ -10103,7 +10099,7 @@ function Ff(t) {
10103
10099
  function Af(t) {
10104
10100
  const { axesConfig: e, currentSeries: i, tooltipValueFormat: a } = t, { root: o, chart: n } = i;
10105
10101
  if (n) {
10106
- const s = e?.[1]?.valueFormat, r = e?.[0].valueFormat, l = O(n.uid, "formatLocale");
10102
+ const s = e?.[1]?.valueFormat, r = e?.[0].valueFormat, l = w(n.uid, "formatLocale");
10107
10103
  if (s?.type === y.NumberAxisFormat) {
10108
10104
  const c = Ht({
10109
10105
  root: o,
@@ -10150,7 +10146,7 @@ function Kr(t) {
10150
10146
  valueSuffix: r,
10151
10147
  percentagePrefix: l,
10152
10148
  percentageSuffix: c
10153
- } = t, { root: d } = e, u = O(e.uid, "formatLocale"), f = Ht({
10149
+ } = t, { root: d } = e, u = w(e.uid, "formatLocale"), f = Ht({
10154
10150
  root: d,
10155
10151
  type: y.NumberAxisFormat,
10156
10152
  intlOptions: i,
@@ -10160,7 +10156,7 @@ function Kr(t) {
10160
10156
  type: y.NumberAxisFormat,
10161
10157
  intlOptions: { ...a, style: "percent" },
10162
10158
  formatLocale: u
10163
- }), h = $t(O(e.uid, "rtl") ?? !1, " ");
10159
+ }), h = $t(w(e.uid, "rtl") ?? !1, " ");
10164
10160
  return (p, S, C) => {
10165
10161
  let x = "";
10166
10162
  if (S !== void 0 && C !== void 0) {
@@ -10170,7 +10166,7 @@ function Kr(t) {
10170
10166
  return x;
10171
10167
  };
10172
10168
  }
10173
- function Ov(t, e) {
10169
+ function wv(t, e) {
10174
10170
  let i = (h, b, p) => "";
10175
10171
  const {
10176
10172
  numericValueFormat: a,
@@ -10209,7 +10205,7 @@ ${T}` : T;
10209
10205
  return S;
10210
10206
  }, i;
10211
10207
  }
10212
- function wv(t) {
10208
+ function Ov(t) {
10213
10209
  const e = t.get("tooltip");
10214
10210
  if (e !== void 0) {
10215
10211
  let i = t.get("fill");
@@ -10221,7 +10217,7 @@ function Dv(t) {
10221
10217
  let a = "";
10222
10218
  const { chart: o } = e;
10223
10219
  if (o !== void 0 && i !== void 0) {
10224
- const n = O(o.uid, "config"), { dataTooltipVisible: s } = n?.series[0] ?? {};
10220
+ const n = w(o.uid, "config"), { dataTooltipVisible: s } = n?.series[0] ?? {};
10225
10221
  if (s !== !1) {
10226
10222
  const r = se(
10227
10223
  e.uid,
@@ -10234,7 +10230,7 @@ function Dv(t) {
10234
10230
  let f = oi(u);
10235
10231
  f === void 0 && (f = d);
10236
10232
  const g = c.get("value"), h = c.get("valuePercentTotal");
10237
- typeof g == "number" && g !== 0 && n?.series?.[0]?.dataTooltipVisible !== !1 ? (i.set("disabled", !1), wv(c.get("slice")), a = r(d, g, h, f)) : i.set("disabled", !0);
10233
+ typeof g == "number" && g !== 0 && n?.series?.[0]?.dataTooltipVisible !== !1 ? (i.set("disabled", !1), Ov(c.get("slice")), a = r(d, g, h, f)) : i.set("disabled", !0);
10238
10234
  }
10239
10235
  }
10240
10236
  } else
@@ -10265,14 +10261,14 @@ function kf(t, e) {
10265
10261
  function $v(t) {
10266
10262
  const { series: e, seriesConfig: i, tooltipFormatter: a } = t;
10267
10263
  He(e.uid, {
10268
- pieChartTooltipFormatter: a ?? Ov(e, i)
10264
+ pieChartTooltipFormatter: a ?? wv(e, i)
10269
10265
  });
10270
10266
  }
10271
10267
  function Mv(t) {
10272
10268
  const { columnSeries: e, seriesConfig: i, utilsStrings: a, fieldList: o, queryObject: n } = t;
10273
10269
  return (s, r, l) => {
10274
10270
  let c = "", d = s;
10275
- const u = O(e.chart?.uid ?? 0, "rtl"), f = O(e.chart?.uid ?? 0, "config");
10271
+ const u = w(e.chart?.uid ?? 0, "rtl"), f = w(e.chart?.uid ?? 0, "config");
10276
10272
  if (ni(f)) {
10277
10273
  d !== null ? e.chart && (d = Ht({
10278
10274
  root: e.chart.root,
@@ -10286,7 +10282,7 @@ function Mv(t) {
10286
10282
  fieldName: Me(o, i.query?.outStatistics?.[0].onStatisticField ?? ""),
10287
10283
  utilsStrings: a
10288
10284
  }));
10289
- const S = O(e.chart?.uid ?? 0, "formatLocale");
10285
+ const S = w(e.chart?.uid ?? 0, "formatLocale");
10290
10286
  let C = { label: i.x, value: r }, x = { label: i.y, value: l };
10291
10287
  if (i.xTemporalBinning !== void 0) {
10292
10288
  const { label: L, value: v } = Rl({
@@ -10320,7 +10316,7 @@ function Bv(t) {
10320
10316
  let a = "";
10321
10317
  const { chart: o } = e;
10322
10318
  if (o !== void 0 && i !== void 0) {
10323
- const n = O(o.uid, "config"), { dataTooltipVisible: s } = n?.series[0] ?? {};
10319
+ const n = w(o.uid, "config"), { dataTooltipVisible: s } = n?.series[0] ?? {};
10324
10320
  if (s !== !1) {
10325
10321
  const r = se(
10326
10322
  e.uid,
@@ -10367,7 +10363,7 @@ function Nv(t) {
10367
10363
  function Pv(t) {
10368
10364
  const { axesConfig: e, seriesConfig: i, series: a, fieldList: o } = t, { dataTooltipVisible: n } = i;
10369
10365
  let s;
10370
- const { chart: r } = a, l = r?.uid !== void 0 ? O(r.uid, "rtl") : !1, c = $t(l ?? !1);
10366
+ const { chart: r } = a, l = r?.uid !== void 0 ? w(r.uid, "rtl") : !1, c = $t(l ?? !1);
10371
10367
  return n === !1 ? s = (d, u, f, g) => "" : s = (d, u, f, g) => {
10372
10368
  const h = Me(o, i.x), b = Fe(e?.[0].title?.content?.text) ? h : e?.[0].title?.content?.text, p = Me(o, i.y), S = Fe(e?.[1]?.title?.content?.text) ? p : e?.[1]?.title?.content?.text, C = se(
10373
10369
  a.uid,
@@ -10384,15 +10380,15 @@ function Pv(t) {
10384
10380
  [bold]${k}${c} [/]${R}`;
10385
10381
  }
10386
10382
  return i.additionalTooltipFields?.forEach((k) => {
10387
- const R = Me(o, k), I = o?.find((B) => B.name === k), w = g?.[k];
10383
+ const R = Me(o, k), I = o?.find((B) => B.name === k), O = g?.[k];
10388
10384
  let $ = "";
10389
- if (w != null && w !== void 0 && I)
10390
- if (yg(I) && typeof w == "number")
10391
- $ = String(L ? L(w) : w);
10385
+ if (O != null && O !== void 0 && I)
10386
+ if (yg(I) && typeof O == "number")
10387
+ $ = String(L ? L(O) : O);
10392
10388
  else if (Sg(I)) {
10393
- const B = new Date(w), M = r ? O(r.uid, "formatLocale") : void 0;
10389
+ const B = new Date(O), M = r ? w(r.uid, "formatLocale") : void 0;
10394
10390
  $ = new Intl.DateTimeFormat(M, {}).format(B);
10395
- } else I.type === An.String && typeof w == "string" && ($ = w);
10391
+ } else I.type === An.String && typeof O == "string" && ($ = O);
10396
10392
  T += l ? `
10397
10393
  ${$}[bold]${R}${c} [/]` : `
10398
10394
  [bold]${R}${c} [/]${$}`;
@@ -10442,7 +10438,7 @@ function Rf(t) {
10442
10438
  paddingBottom: 4
10443
10439
  });
10444
10440
  }
10445
- function Of(t, e) {
10441
+ function wf(t, e) {
10446
10442
  const { dataTooltipStyleReversed: i, dataTooltipStyle: a } = F;
10447
10443
  if (e === !0) {
10448
10444
  const o = t.get("background")?.get("fill");
@@ -10484,7 +10480,7 @@ function Ev(t) {
10484
10480
  });
10485
10481
  }
10486
10482
  function hc(t, e) {
10487
- const i = O(e.chart?.uid ?? Number.NaN, "config"), { seriesConfig: a } = i ? ja(e, i) : { seriesConfig: void 0 }, o = a?.dataTooltipFontSize ?? F.tooltipFontSize;
10483
+ const i = w(e.chart?.uid ?? Number.NaN, "config"), { seriesConfig: a } = i ? ja(e, i) : { seriesConfig: void 0 }, o = a?.dataTooltipFontSize ?? F.tooltipFontSize;
10488
10484
  t.label.get("fontSize") !== o && t.label.set("fontSize", o);
10489
10485
  }
10490
10486
  function To(t) {
@@ -10507,19 +10503,19 @@ function Gn(t) {
10507
10503
  }
10508
10504
  function zv(t, e) {
10509
10505
  if (t) {
10510
- const i = O(e?.uid ?? 0, "rtl");
10506
+ const i = w(e?.uid ?? 0, "rtl");
10511
10507
  t.label.set("direction", i ? "rtl" : "ltr"), Rf(t);
10512
10508
  }
10513
10509
  }
10514
10510
  function Hv(t, e) {
10515
10511
  const { chart: i } = e;
10516
10512
  if (i && t) {
10517
- const a = O(i.uid, "config");
10513
+ const a = w(i.uid, "config");
10518
10514
  if (a) {
10519
10515
  const { seriesConfig: o } = ja(e, a);
10520
10516
  if (o) {
10521
10517
  const { dataTooltipReverseColor: n } = o;
10522
- Of(t, n);
10518
+ wf(t, n);
10523
10519
  }
10524
10520
  }
10525
10521
  }
@@ -10535,7 +10531,7 @@ function _v(t) {
10535
10531
  const r = s.get("valueX"), l = s.get("valueY"), c = s.get("valueXTotalPercent"), d = s.get("valueYTotalPercent"), u = o ? r : l;
10536
10532
  let f;
10537
10533
  o && typeof c == "number" ? f = c : !o && typeof d == "number" && (f = d), f && (f /= 100);
10538
- const g = s.dataContext ?? {}, h = O(i.chart?.uid ?? 0, "config"), b = O(i.chart?.uid ?? 0, "rendererFieldNames"), p = ai({
10534
+ const g = s.dataContext ?? {}, h = w(i.chart?.uid ?? 0, "config"), b = w(i.chart?.uid ?? 0, "rendererFieldNames"), p = ai({
10539
10535
  value: Fn(j([e]), e),
10540
10536
  dataContext: g,
10541
10537
  useRendererLabel: Ta(h, b),
@@ -10569,7 +10565,7 @@ function ko(t) {
10569
10565
  let o;
10570
10566
  const { chart: n } = i;
10571
10567
  if (n !== void 0) {
10572
- const r = O(n.uid, "config"), { seriesConfig: l } = ja(i, r), { dataTooltipVisible: c } = l ?? {};
10568
+ const r = w(n.uid, "config"), { seriesConfig: l } = ja(i, r), { dataTooltipVisible: c } = l ?? {};
10573
10569
  if (c === !1 || !l || !Xx(i))
10574
10570
  o = "", pc(e, !0);
10575
10571
  else
@@ -10619,7 +10615,7 @@ function Gv(t) {
10619
10615
  const { series: e, dateRange: i, xAxisValueFormat: a, isTimeOnlyField: o } = t;
10620
10616
  let n;
10621
10617
  if (i !== void 0 && i.length > 0) {
10622
- const s = e.chart?.uid ?? Number.NaN, r = O(s, "timeIntervalInfo"), l = O(s, "config"), c = O(s, "options"), d = O(s, "queryObject"), u = Cu({
10618
+ const s = e.chart?.uid ?? Number.NaN, r = w(s, "timeIntervalInfo"), l = w(s, "config"), c = w(s, "options"), d = w(s, "queryObject"), u = Cu({
10623
10619
  xAxisValueFormat: a,
10624
10620
  isTimeOnlyField: o,
10625
10621
  timeIntervalInfo: r,
@@ -10628,7 +10624,7 @@ function Gv(t) {
10628
10624
  queryObject: d
10629
10625
  }), f = new Date(i[0]), g = new Date(i[1]), { root: h } = e;
10630
10626
  if (!Number.isNaN(f.valueOf()) && e.chart !== void 0) {
10631
- const b = O(e.chart.uid, "formatLocale"), p = Ht({
10627
+ const b = w(e.chart.uid, "formatLocale"), p = Ht({
10632
10628
  root: h,
10633
10629
  type: y.DateAxisFormat,
10634
10630
  formatLocale: b,
@@ -10656,7 +10652,7 @@ function Xv(t) {
10656
10652
  queryObject: d
10657
10653
  } = t, { root: u } = s;
10658
10654
  let f;
10659
- const g = O(s.chart?.uid ?? 0, "formatLocale");
10655
+ const g = w(s.chart?.uid ?? 0, "formatLocale");
10660
10656
  return /* case 1: time binning chart */ sr({
10661
10657
  seriesConfig: e,
10662
10658
  xAxisValueFormatType: i?.type,
@@ -10672,7 +10668,7 @@ function Xv(t) {
10672
10668
  value: r,
10673
10669
  valueFormat: n ?? i,
10674
10670
  formatLocale: g
10675
- })) : typeof r == "number" && De(i) ? f = Ba({
10671
+ })) : typeof r == "number" && Oe(i) ? f = Ba({
10676
10672
  root: u,
10677
10673
  value: r,
10678
10674
  valueFormat: o ?? i,
@@ -10690,8 +10686,8 @@ function Yv(t) {
10690
10686
  dataTooltipPercentFormat: r
10691
10687
  } = t, l = i.chart?.uid ?? 0, { root: c } = i;
10692
10688
  let d = s;
10693
- d === void 0 && (De(n) && n ? (d = n, e && (d.intlOptions.style = "decimal")) : d = br());
10694
- const u = O(l, "formatLocale"), f = a !== void 0 ? Ba({
10689
+ d === void 0 && (Oe(n) && n ? (d = n, e && (d.intlOptions.style = "decimal")) : d = br());
10690
+ const u = w(l, "formatLocale"), f = a !== void 0 ? Ba({
10695
10691
  root: c,
10696
10692
  value: a,
10697
10693
  valueFormat: d,
@@ -10713,18 +10709,18 @@ function Uv(t) {
10713
10709
  const { utilsStrings: e, fieldList: i, queryObject: a, series: o, seriesConfig: n, seriesIndex: s, setTimeBinningInfoWhenNotProvided: r } = t, { chart: l } = o, { dataTooltipDateFormat: c, dataTooltipPercentFormat: d, dataTooltipValueFormat: u } = n;
10714
10710
  let f = () => "";
10715
10711
  if (l !== void 0) {
10716
- const g = O(l.uid, "config");
10712
+ const g = w(l.uid, "config");
10717
10713
  if (g !== void 0) {
10718
10714
  const { dataTooltipVisible: h } = n, b = o instanceof ne ? n.markerVisible : void 0;
10719
10715
  if (h !== !1 && b !== !1) {
10720
- const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = i?.find((M) => M.name === n.x)?.type === An.TimeOnly, L = j(g.series), v = st(g) === ie.Stacked100, T = tt(a), k = sa(T).idField, R = Me(i, n.x), I = $a(R, p[0].title?.content.text), w = Su({
10716
+ const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = i?.find((M) => M.name === n.x)?.type === An.TimeOnly, L = j(g.series), v = st(g) === ie.Stacked100, T = tt(a), k = sa(T).idField, R = Me(i, n.x), I = $a(R, p[0].title?.content.text), O = Su({
10721
10717
  config: g,
10722
10718
  fieldList: i,
10723
10719
  objectIdField: k,
10724
10720
  seriesIndex: s,
10725
10721
  utilsStrings: e,
10726
10722
  isStacked100: v
10727
- }), $ = O(l.uid, "rtl"), B = $t($ ?? !1);
10723
+ }), $ = w(l.uid, "rtl"), B = $t($ ?? !1);
10728
10724
  f = (M) => {
10729
10725
  const { seriesName: P, statValue: U, percentValue: z, xValue: G, dateBinningRange: q } = M, X = Xv({
10730
10726
  seriesConfig: n,
@@ -10760,7 +10756,7 @@ function Uv(t) {
10760
10756
  case V.BarAndLineMonoField:
10761
10757
  case V.BarAndLineNoAggregation:
10762
10758
  case V.BarAndLineMultiFields:
10763
- te.push(`[bold]${w}${B} [/]${Y}`);
10759
+ te.push(`[bold]${O}${B} [/]${Y}`);
10764
10760
  break;
10765
10761
  case V.BarAndLineSplitByNoAggregation:
10766
10762
  case V.BarAndLineSplitBy:
@@ -10771,7 +10767,7 @@ function Uv(t) {
10771
10767
  });
10772
10768
  te.push(
10773
10769
  `[bold]${Le}${B} [/]${P}
10774
- [bold]${w}${B} [/]${Y}`
10770
+ [bold]${O}${B} [/]${Y}`
10775
10771
  );
10776
10772
  }
10777
10773
  break;
@@ -10794,7 +10790,7 @@ function jv(t) {
10794
10790
  const { chartType: e, series: i, tooltipFormatter: a } = t;
10795
10791
  switch (!0) {
10796
10792
  case (e === y.HistogramSeries && i instanceof xe): {
10797
- wf(i, a);
10793
+ Of(i, a);
10798
10794
  break;
10799
10795
  }
10800
10796
  case (e === y.PieSeries && i instanceof Je): {
@@ -10828,7 +10824,7 @@ function jv(t) {
10828
10824
  function qv(t) {
10829
10825
  const { axes: e, seriesConfig: i, series: a, fieldList: o, utilsStrings: n } = t, { dataTooltipVisible: s } = i;
10830
10826
  let r;
10831
- const l = O(a.chart?.uid ?? 0, "rtl") ?? !1, c = $t(l);
10827
+ const l = w(a.chart?.uid ?? 0, "rtl") ?? !1, c = $t(l);
10832
10828
  return s === !1 ? r = (d, u, f) => "" : r = (d, u, f) => {
10833
10829
  const g = Me(o, i.x), h = $a(g, e?.[0].title?.content?.text), b = $a(n?.statistics.count ?? "", e?.[1]?.title?.content?.text ?? ""), p = se(
10834
10830
  a.uid,
@@ -10858,7 +10854,7 @@ function Zv(t) {
10858
10854
  }
10859
10855
  return "";
10860
10856
  }
10861
- function wf(t, e) {
10857
+ function Of(t, e) {
10862
10858
  const i = To(t);
10863
10859
  t.columns.template.set("tooltip", i);
10864
10860
  const a = e !== void 0 ? "tooltipHTML" : "tooltipText";
@@ -10984,7 +10980,7 @@ function iL(t) {
10984
10980
  queryObject: c,
10985
10981
  errorStrings: d
10986
10982
  });
10987
- return u.push(f), wf(f, r?.tooltipFormatter), o && (u.push(
10983
+ return u.push(f), Of(f, r?.tooltipFormatter), o && (u.push(
10988
10984
  No({
10989
10985
  root: e,
10990
10986
  xAxis: o,
@@ -11074,7 +11070,7 @@ function aL(t) {
11074
11070
  f = o.overlays.stdDev;
11075
11071
  break;
11076
11072
  }
11077
- const g = O(e.chart?.uid ?? Number.NaN, "formatLocale"), h = Ba({
11073
+ const g = w(e.chart?.uid ?? Number.NaN, "formatLocale"), h = Ba({
11078
11074
  root: e.root,
11079
11075
  value: u,
11080
11076
  valueFormat: Dd(),
@@ -11314,7 +11310,7 @@ function fL(t) {
11314
11310
  type: Z.SLS
11315
11311
  }, g = u?.created === !0 && u.visible !== !1;
11316
11312
  if (a && (o || n)) {
11317
- const h = F.scatterplotSeries, b = c !== void 0 ? O(c.uid, "formatLocale") : void 0, { x: p, y: S } = d;
11313
+ const h = F.scatterplotSeries, b = c !== void 0 ? w(c.uid, "formatLocale") : void 0, { x: p, y: S } = d;
11318
11314
  i.setAll({
11319
11315
  valueXField: p,
11320
11316
  valueYField: S
@@ -11430,19 +11426,19 @@ function pL(t) {
11430
11426
  t.series.each((e) => {
11431
11427
  e instanceof ne ? e.dataItems.forEach((i) => {
11432
11428
  const a = i.bullets?.[0];
11433
- a && Oe({
11429
+ a && we({
11434
11430
  element: a.get("sprite"),
11435
11431
  selected: !1,
11436
11432
  backToDefaultState: !0
11437
11433
  });
11438
11434
  }) : e instanceof xe ? e.columns.each((i) => {
11439
- Oe({
11435
+ we({
11440
11436
  element: i,
11441
11437
  selected: !1,
11442
11438
  backToDefaultState: !0
11443
11439
  });
11444
11440
  }) : e instanceof Je && e.slices.each((i) => {
11445
- Oe({
11441
+ we({
11446
11442
  element: i,
11447
11443
  selected: !1,
11448
11444
  backToDefaultState: !0
@@ -11454,7 +11450,7 @@ function ji(t) {
11454
11450
  const { chart: e, selectionSource: i } = t;
11455
11451
  ht(e.uid, {
11456
11452
  pendingSelectionQueries: !1
11457
- }), Ur(e) && pL(e), O(e.uid, "options")?.selectionData?.selectionItems?.[0] && za({
11453
+ }), Ur(e) && pL(e), w(e.uid, "options")?.selectionData?.selectionItems?.[0] && za({
11458
11454
  data: {
11459
11455
  selectionSource: i ?? ge.ClearSelection
11460
11456
  },
@@ -11477,7 +11473,7 @@ function Jr(t) {
11477
11473
  case t instanceof xe:
11478
11474
  const { chart: i } = t;
11479
11475
  if (i) {
11480
- const a = O(i.uid, "config");
11476
+ const a = w(i.uid, "config");
11481
11477
  if (a) {
11482
11478
  const o = W(a?.series);
11483
11479
  let n = [];
@@ -11496,13 +11492,13 @@ function Jr(t) {
11496
11492
  return e;
11497
11493
  }
11498
11494
  function $f(t, e) {
11499
- const i = O(t.uid, "actionMode");
11495
+ const i = w(t.uid, "actionMode");
11500
11496
  (i === Q.MonoSelection || i === Q.None) && e.length > 1 ? ji({ chart: t }) : e.forEach((o) => {
11501
- Oe({ element: o, selected: !0 });
11497
+ we({ element: o, selected: !0 });
11502
11498
  });
11503
11499
  }
11504
11500
  function yL(t) {
11505
- const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = O(e.uid, "config"), r = Fi(s), l = ui(s?.series ?? []), c = j(s?.series), d = W(s?.series);
11501
+ const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = w(e.uid, "config"), r = Fi(s), l = ui(s?.series ?? []), c = j(s?.series), d = W(s?.series);
11506
11502
  return e.series.each((u, f) => {
11507
11503
  if (s && i && Ao(u) && u.get("visible") === !0) {
11508
11504
  const g = s.series[0].x, h = pa(u), b = i.get(f);
@@ -11524,7 +11520,7 @@ function yL(t) {
11524
11520
  });
11525
11521
  L !== void 0 && o.push(L), n.push(C);
11526
11522
  } else
11527
- Oe({ element: C, selected: !1 });
11523
+ we({ element: C, selected: !1 });
11528
11524
  });
11529
11525
  }
11530
11526
  }
@@ -11534,7 +11530,7 @@ function yL(t) {
11534
11530
  function SL(t) {
11535
11531
  const { chart: e, chartConfig: i, selectionItems: a = [], options: o, layerOidField: n } = t, s = j(i.series), r = W(i.series), l = Sn(i), c = (d) => {
11536
11532
  const { element: u, xAxisField: f, yAxisField: g, splitBy: h } = d, b = u.dataItem?.dataContext;
11537
- return On({
11533
+ return wn({
11538
11534
  elementDataContext: b,
11539
11535
  options: o,
11540
11536
  selectionItems: a,
@@ -11553,7 +11549,7 @@ function SL(t) {
11553
11549
  if (u) {
11554
11550
  const f = u.query?.where ?? "", g = u.x, h = u.type === y.BoxPlotSeries || u.type === y.HeatSeries ? u.y.toString() : pa(d);
11555
11551
  Jr(d).forEach((p) => {
11556
- p !== void 0 && Oe({
11552
+ p !== void 0 && we({
11557
11553
  element: p,
11558
11554
  selected: Xt(p.uid, "selected") === !0 || c({ element: p, xAxisField: g, yAxisField: h, splitBy: f }),
11559
11555
  backToDefaultState: a === void 0 || a.length === 0
@@ -11574,10 +11570,10 @@ function CL(t) {
11574
11570
  const C = [], x = S.query?.where ?? "", L = S.x, v = S.type === y.BoxPlotSeries || S.type === y.HeatSeries ? S.y.toString() : pa(b), T = Jr(b);
11575
11571
  T.forEach((R, I) => {
11576
11572
  if (R !== void 0) {
11577
- let w = R.dataItem?.dataContext;
11578
- if (w)
11579
- if (r === y.BoxPlotSeries && w[F.boxPlot.boxPlotOutlierId] !== !0 && (w = vi({
11580
- dataContext: w,
11573
+ let O = R.dataItem?.dataContext;
11574
+ if (O)
11575
+ if (r === y.BoxPlotSeries && O[F.boxPlot.boxPlotOutlierId] !== !0 && (O = vi({
11576
+ dataContext: O,
11581
11577
  yAxisField: v,
11582
11578
  yList: h,
11583
11579
  xAxisField: L,
@@ -11586,8 +11582,8 @@ function CL(t) {
11586
11582
  chartSubType: l,
11587
11583
  showOutliers: c,
11588
11584
  isFeatureCollectionLayer: Ci(s)
11589
- })), On({
11590
- elementDataContext: w,
11585
+ })), wn({
11586
+ elementDataContext: O,
11591
11587
  options: a,
11592
11588
  selectionItems: o,
11593
11589
  layerOidField: n,
@@ -11600,11 +11596,11 @@ function CL(t) {
11600
11596
  timeAggregationType: d
11601
11597
  }))
11602
11598
  if (u.push(R), C.push(I), R?.dataItem instanceof Pa)
11603
- f.push(w);
11599
+ f.push(O);
11604
11600
  else {
11605
11601
  const B = /* @__PURE__ */ new Set();
11606
- r === y.PieSeries && ki(w) ? (Co({
11607
- groupOfSlicesDataContext: w
11602
+ r === y.PieSeries && ki(O) ? (Co({
11603
+ groupOfSlicesDataContext: O
11608
11604
  }) ?? []).forEach((P) => {
11609
11605
  o.forEach((U) => {
11610
11606
  Rr({
@@ -11614,7 +11610,7 @@ function CL(t) {
11614
11610
  xAxisField: L
11615
11611
  }) && B.add(P);
11616
11612
  });
11617
- }) : B.add(w), Array.from(B)?.forEach((M) => {
11613
+ }) : B.add(O), Array.from(B)?.forEach((M) => {
11618
11614
  const P = vi({
11619
11615
  dataContext: M,
11620
11616
  yAxisField: v,
@@ -11630,7 +11626,7 @@ function CL(t) {
11630
11626
  });
11631
11627
  }
11632
11628
  else
11633
- Oe({ element: R, selected: !1 });
11629
+ we({ element: R, selected: !1 });
11634
11630
  }
11635
11631
  });
11636
11632
  const k = Array.from(new Set(C));
@@ -11701,12 +11697,12 @@ function Yn(t) {
11701
11697
  T = Array.from(new Set(T?.map(($) => JSON.stringify($)))).map(
11702
11698
  ($) => JSON.parse($)
11703
11699
  );
11704
- const w = {
11700
+ const O = {
11705
11701
  selectionItems: T,
11706
11702
  selectionSource: ge.ProgrammaticSelection
11707
11703
  };
11708
- d === !0 && k && (w.selectionIndexes = k), u !== !1 && C && (w.selectionOIDs = C), x?.[0] && (w.selectionFilters = x), za({
11709
- data: w,
11704
+ d === !0 && k && (O.selectionIndexes = k), u !== !1 && C && (O.selectionOIDs = C), x?.[0] && (O.selectionFilters = x), za({
11705
+ data: O,
11710
11706
  htmlContainer: e.root.dom
11711
11707
  });
11712
11708
  }
@@ -11714,9 +11710,9 @@ function Yn(t) {
11714
11710
  });
11715
11711
  }
11716
11712
  async function Io(t) {
11717
- const { chart: e, selectionSource: i, queryObject: a, errorStrings: o } = t, n = O(e.uid, "config"), s = Ge(a);
11713
+ const { chart: e, selectionSource: i, queryObject: a, errorStrings: o } = t, n = w(e.uid, "config"), s = Ge(a);
11718
11714
  if (n) {
11719
- const r = O(e.uid, "options"), l = W(n.series), c = j(n.series), d = Fi(n), u = ui(n.series), f = n.series[0].x, g = Ki(a), h = s ? void 0 : Ln(tt(a))?.dateFieldsTimeZone;
11715
+ const r = w(e.uid, "options"), l = W(n.series), c = j(n.series), d = Fi(n), u = ui(n.series), f = n.series[0].x, g = Ki(a), h = s ? void 0 : Ln(tt(a))?.dateFieldsTimeZone;
11720
11716
  let b;
11721
11717
  ni(n) ? b = n.outTimeZone : Ea(n.series[0]) && (b = n.series[0].temporalBinning?.outTimeZone);
11722
11718
  const p = tt(a), S = "objectIdField" in p ? p.objectIdField : void 0, x = Lt(a).find((L) => L.name === f)?.type;
@@ -11724,14 +11720,14 @@ async function Io(t) {
11724
11720
  const L = /* @__PURE__ */ new Set();
11725
11721
  let v = [];
11726
11722
  const T = /* @__PURE__ */ new Map(), k = [], R = [];
11727
- let I = [], w = 0;
11723
+ let I = [], O = 0;
11728
11724
  if (e.series.each(($, B) => {
11729
11725
  const { seriesConfig: M } = ja($, n), P = M?.query?.where ?? "", U = M?.type === y.BoxPlotSeries ? M.y.toString() : pa($);
11730
11726
  let z;
11731
11727
  $ instanceof ne ? z = $.dataItems : $ instanceof xe ? z = $.columns.values : $ instanceof Je && (z = $.slices.values), z?.forEach((G, q) => {
11732
11728
  const X = G instanceof Ss || G instanceof kl ? G : G.bullets?.[0]?.get("sprite");
11733
11729
  if (X !== void 0 && Xt(X.uid, "selected") === !0) {
11734
- w += 1;
11730
+ O += 1;
11735
11731
  let Y = G instanceof Ss || G instanceof kl ? G.dataItem?.dataContext : G.dataContext;
11736
11732
  if (!s && Y !== void 0 && (Y = vi({
11737
11733
  dataContext: Y,
@@ -11773,11 +11769,11 @@ async function Io(t) {
11773
11769
  }
11774
11770
  }
11775
11771
  });
11776
- }), w === 0)
11772
+ }), O === 0)
11777
11773
  ji({ chart: e, selectionSource: i });
11778
11774
  else {
11779
11775
  if (!s && r?.returnSelectionOIDs !== !1 && k.length > 0) {
11780
- const M = { ...O(e.uid, "queryConfig") };
11776
+ const M = { ...w(e.uid, "queryConfig") };
11781
11777
  delete M.groupByFieldsForStatistics, delete M.orderByFields, delete M.outStatistics;
11782
11778
  const P = await ld({
11783
11779
  whereList: k,
@@ -11785,7 +11781,7 @@ async function Io(t) {
11785
11781
  queryConfig: M,
11786
11782
  errorStrings: o
11787
11783
  });
11788
- if (k.length === w)
11784
+ if (k.length === O)
11789
11785
  I = P;
11790
11786
  else
11791
11787
  for (let U = 0; U < P.length; U += 1)
@@ -11825,11 +11821,11 @@ function Mf(t) {
11825
11821
  return e !== void 0 && e > 0 && e !== 2e7;
11826
11822
  }
11827
11823
  function Bf(t) {
11828
- const e = O(t, "actionMode");
11824
+ const e = w(t, "actionMode");
11829
11825
  return e !== Q.None && e !== Q.Zoom;
11830
11826
  }
11831
11827
  function el(t) {
11832
- const e = O(t, "filterBySelection");
11828
+ const e = w(t, "filterBySelection");
11833
11829
  return Bf(t) && e !== !0;
11834
11830
  }
11835
11831
  async function bc(t) {
@@ -11838,18 +11834,18 @@ async function bc(t) {
11838
11834
  const s = n instanceof pe ? n.get("cursor") : void 0;
11839
11835
  if (!Mf(s) && el(n.uid)) {
11840
11836
  const r = e.target, l = uf(e, i);
11841
- r.dataItem?.dataContext?.[So] ? ji({ chart: n, selectionSource: ge.SelectionByClick }) : (Oe({
11837
+ r.dataItem?.dataContext?.[So] ? ji({ chart: n, selectionSource: ge.SelectionByClick }) : (we({
11842
11838
  element: r,
11843
11839
  selected: Xt(r.uid, "selected") !== !0
11844
11840
  // switching the bullet state,
11845
11841
  }), l && n.series.each((c) => {
11846
11842
  c instanceof ne ? c.dataItems.forEach((d) => {
11847
11843
  const u = d.bullets?.[0]?.get("sprite");
11848
- u !== r && Oe({ element: u, selected: !1 });
11844
+ u !== r && we({ element: u, selected: !1 });
11849
11845
  }) : c instanceof xe ? c.columns.each((d) => {
11850
- d !== r && Oe({ element: d, selected: !1 });
11846
+ d !== r && we({ element: d, selected: !1 });
11851
11847
  }) : c instanceof Je && c.slices.each((d) => {
11852
- d !== r && Oe({ element: d, selected: !1 });
11848
+ d !== r && we({ element: d, selected: !1 });
11853
11849
  });
11854
11850
  }), await Io({
11855
11851
  chart: n,
@@ -11888,13 +11884,13 @@ function yc(t, e) {
11888
11884
  }
11889
11885
  function LL(t) {
11890
11886
  const e = () => {
11891
- const i = t instanceof pe ? t.get("cursor") : void 0, a = O(t.uid, "filterBySelection");
11887
+ const i = t instanceof pe ? t.get("cursor") : void 0, a = w(t.uid, "filterBySelection");
11892
11888
  (i === void 0 || !Mf(i)) && !a && ji({ chart: t });
11893
11889
  };
11894
11890
  t.get("background")?.events.on(oe.Click, e), t instanceof pe && t.plotContainer.events.on(oe.PointerUp, e);
11895
11891
  }
11896
11892
  function FL(t) {
11897
- const { series: e, cursorBounds: i, multiSelect: a } = t, o = O(e.chart?.uid ?? NaN, "config"), n = W(o?.series);
11893
+ const { series: e, cursorBounds: i, multiSelect: a } = t, o = w(e.chart?.uid ?? NaN, "config"), n = W(o?.series);
11898
11894
  e.columns.each((s) => {
11899
11895
  if (!s.dataItem?.dataContext?.[So]) {
11900
11896
  const r = s.get("x"), l = s.get("y"), c = s.height() < 0 && n !== y.HeatSeries, d = c ? Math.abs(s.height()) : s.height();
@@ -11910,7 +11906,7 @@ function FL(t) {
11910
11906
  f.top = f.bottom, f.bottom = b;
11911
11907
  }
11912
11908
  const h = !(f.left > i.right || f.right < i.left || f.top > i.bottom || f.bottom < i.top) || a && Xt(s.uid, "selected") === !0;
11913
- Oe({ element: s, selected: h });
11909
+ we({ element: s, selected: h });
11914
11910
  }
11915
11911
  }
11916
11912
  });
@@ -11921,7 +11917,7 @@ function AL(t) {
11921
11917
  const n = o.bullets?.[0]?.get("sprite");
11922
11918
  if (n) {
11923
11919
  const s = o.bullets?.[0]?.get("sprite").get("x"), r = o.bullets?.[0]?.get("sprite").get("y"), c = typeof s == "number" && typeof r == "number" && s >= i.left && s <= i.right && r >= i.top && r <= i.bottom || a && Xt(n.uid, "selected") === !0;
11924
- Oe({ element: n, selected: c });
11920
+ we({ element: n, selected: c });
11925
11921
  }
11926
11922
  });
11927
11923
  }
@@ -11938,7 +11934,7 @@ function TL(t) {
11938
11934
  typeof g == "string" && (l = e.categoryToIndex(g));
11939
11935
  }
11940
11936
  const d = typeof l == "number" && l >= a.left && l <= a.right, u = typeof c == "number" && c >= a.top && c <= a.bottom, f = d && u || o && Xt(s.uid, "selected") === !0;
11941
- Oe({ element: s, selected: f });
11937
+ we({ element: s, selected: f });
11942
11938
  }
11943
11939
  });
11944
11940
  }
@@ -11954,11 +11950,11 @@ function kL(t) {
11954
11950
  function IL(t) {
11955
11951
  const { chart: e, queryObject: i, errorStrings: a } = t;
11956
11952
  e.get("cursor")?.events.on(oe.SelectEnded, async (n) => {
11957
- const s = O(e.uid, "actionMode");
11953
+ const s = w(e.uid, "actionMode");
11958
11954
  if (s === Q.MultiSelection || s === Q.MultiSelectionWithCtrlKey) {
11959
11955
  const r = e.xAxes.getIndex(0), l = e.yAxes.getIndex(0);
11960
11956
  if (r && l) {
11961
- const c = O(e.uid, "config"), d = W(c?.series), u = e.get("cursor"), f = kL({ cursor: u, xAxis: r, yAxis: l }), g = df(n);
11957
+ const c = w(e.uid, "config"), d = W(c?.series), u = e.get("cursor"), f = kL({ cursor: u, xAxis: r, yAxis: l }), g = df(n);
11962
11958
  e.series.each((h) => {
11963
11959
  !Ui(h) && !Xn(h) && (h instanceof xe ? FL({ series: h, cursorBounds: f, multiSelect: g }) : h instanceof ne && (d === y.RadarSeries ? TL({ xAxis: r, series: h, cursorBounds: f, multiSelect: g }) : AL({ series: h, cursorBounds: f, multiSelect: g })));
11964
11960
  }), re(u.selection, !1), await Io({
@@ -12001,7 +11997,7 @@ function Ii(t) {
12001
11997
  return u || f;
12002
11998
  }
12003
11999
  function Ri(t) {
12004
- const { series: e, styleCallback: i, seriesConfig: a } = t, o = O(e.chart?.uid ?? Number.NaN, "config");
12000
+ const { series: e, styleCallback: i, seriesConfig: a } = t, o = w(e.chart?.uid ?? Number.NaN, "config");
12005
12001
  o && cv({
12006
12002
  series: e,
12007
12003
  chartConfig: o,
@@ -12075,7 +12071,7 @@ function Un(t, e) {
12075
12071
  break;
12076
12072
  }
12077
12073
  }
12078
- function OL(t) {
12074
+ function wL(t) {
12079
12075
  const { element: e, numberOfItems: i, chartUid: a } = t, o = i < F.focusableThreshold, n = a === void 0 || Bf(a);
12080
12076
  e.setAll({ focusable: o && n });
12081
12077
  }
@@ -12090,10 +12086,10 @@ function Pf(t) {
12090
12086
  o && i.push(o);
12091
12087
  } else a instanceof Je && i.push(a.slices.template);
12092
12088
  }), i.forEach((a) => {
12093
- OL({ element: a, numberOfItems: e, chartUid: t.uid });
12089
+ wL({ element: a, numberOfItems: e, chartUid: t.uid });
12094
12090
  });
12095
12091
  }
12096
- function wL(t) {
12092
+ function OL(t) {
12097
12093
  const {
12098
12094
  currentChartSeriesCount: e,
12099
12095
  chartConfig: i,
@@ -12163,8 +12159,8 @@ function Vf(t, e) {
12163
12159
  }
12164
12160
  function qa(t, e) {
12165
12161
  let i = e;
12166
- i === void 0 && (i = O(t.uid, "config"));
12167
- const a = O(t.uid, "colorMatchApplied") ?? !1;
12162
+ i === void 0 && (i = w(t.uid, "config"));
12163
+ const a = w(t.uid, "colorMatchApplied") ?? !1;
12168
12164
  return (i?.colorMatch ?? !1) && a;
12169
12165
  }
12170
12166
  function Na(t, e) {
@@ -12215,7 +12211,7 @@ function Wf(t) {
12215
12211
  };
12216
12212
  }
12217
12213
  function PL(t) {
12218
- const { axis: e, intlOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, { chart: n, root: s } = e, r = n !== void 0 ? O(n.uid, "formatLocale") : void 0, l = o ?? Wf({
12214
+ const { axis: e, intlOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, { chart: n, root: s } = e, r = n !== void 0 ? w(n.uid, "formatLocale") : void 0, l = o ?? Wf({
12219
12215
  root: s,
12220
12216
  intlOptions: i,
12221
12217
  formatLocale: r,
@@ -12230,7 +12226,7 @@ function VL(t) {
12230
12226
  const { chart: e, formatOptions: i, isNonAggregatedChart: a } = t, { root: o } = e;
12231
12227
  return (s) => {
12232
12228
  let r = s ?? "";
12233
- const l = O(e.uid, "formatLocale"), c = O(e.uid, "config");
12229
+ const l = w(e.uid, "formatLocale"), c = w(e.uid, "config");
12234
12230
  if (typeof s == "number" && i.type === y.NumberAxisFormat)
12235
12231
  r = Wf({
12236
12232
  root: o,
@@ -12253,7 +12249,7 @@ function VL(t) {
12253
12249
  V.BoxPlotC6MultiFieldsAndSplitBy,
12254
12250
  V.BarAndLineFromFields
12255
12251
  ].includes(d) && typeof s == "string") {
12256
- const g = O(e.uid, "fieldList");
12252
+ const g = w(e.uid, "fieldList");
12257
12253
  s = Me(g, s);
12258
12254
  }
12259
12255
  const { characterLimit: f } = i;
@@ -12266,7 +12262,7 @@ function WL(t) {
12266
12262
  const { chart: e, isXAxis: i = !0, formatOptions: a } = t, { root: o } = e;
12267
12263
  return (s) => {
12268
12264
  let r = s ?? "";
12269
- const l = O(e.uid, "formatLocale"), c = O(e.uid, "config");
12265
+ const l = w(e.uid, "formatLocale"), c = w(e.uid, "config");
12270
12266
  if (ni(c)) {
12271
12267
  const d = Sh(c.series[0], i);
12272
12268
  if (d && s !== void 0 && s !== "") {
@@ -12345,15 +12341,15 @@ function Cc(t) {
12345
12341
  isXAxis: !0,
12346
12342
  chartType: a,
12347
12343
  valueFormat: i
12348
- }), n = bt(i) && e instanceof Be, s = De(i) && e instanceof be && !(e instanceof Be), r = o && e instanceof Ve;
12344
+ }), n = bt(i) && e instanceof Be, s = Oe(i) && e instanceof be && !(e instanceof Be), r = o && e instanceof Ve;
12349
12345
  return !n && !s && !r;
12350
12346
  }
12351
12347
  function Ef(t) {
12352
12348
  const { dataContext: e, defaultValue: i, chartUID: a } = t;
12353
12349
  let o = oi(e);
12354
- const n = O(a, "config"), s = O(a, "rendererFieldNames"), r = W(n?.series), l = j(n?.series), c = oi(e) ?? o;
12350
+ const n = w(a, "config"), s = w(a, "rendererFieldNames"), r = W(n?.series), l = j(n?.series), c = oi(e) ?? o;
12355
12351
  if (l === V.BarAndLineFromFields && typeof o == "string") {
12356
- const d = O(a, "fieldList");
12352
+ const d = w(a, "fieldList");
12357
12353
  o = Me(d, o);
12358
12354
  } else r === y.BoxPlotSeries && (l === V.BoxPlotC1MonoField || l === V.BoxPlotC2MultiFields || l === V.BoxPlotC5MonoFieldAndSplitBy || l === V.BoxPlotC6MultiFieldsAndSplitBy) ? o = e?.[yr] : r === y.HistogramSeries ? o = e?.[so.Start] : (r === y.BarSeries || r === y.LineSeries || r === y.RadarSeries || r === y.ComboLineAndBarSeries) && n !== void 0 ? o = ai({
12359
12355
  value: Fn(l, n?.series?.[0]),
@@ -12390,7 +12386,7 @@ function zL(t, e) {
12390
12386
  case t instanceof Ve:
12391
12387
  {
12392
12388
  let f = n;
12393
- const g = s.dataItem?.dataContext, h = O(t.chart?.uid ?? Number.NaN, "config");
12389
+ const g = s.dataItem?.dataContext, h = w(t.chart?.uid ?? Number.NaN, "config");
12394
12390
  if (W(h?.series) === y.HeatSeries) {
12395
12391
  const C = qi(t.get("renderer")) ? g?.[Re.xField] : g?.[Re.yField];
12396
12392
  typeof C == "string" && (f = C);
@@ -12440,7 +12436,7 @@ function _L(t) {
12440
12436
  isXAxis: i,
12441
12437
  chartType: a,
12442
12438
  valueFormat: o
12443
- }), h = e instanceof be && !(e instanceof Be) && De(o), b = e instanceof Be && bt(o), p = e instanceof Ve && g;
12439
+ }), h = e instanceof be && !(e instanceof Be) && Oe(o), b = e instanceof Be && bt(o), p = e instanceof Ve && g;
12444
12440
  if (!(h || b || p))
12445
12441
  In("mismatchAxisAndValueFormat", u);
12446
12442
  else {
@@ -12493,7 +12489,7 @@ function XL(t) {
12493
12489
  return t instanceof xi;
12494
12490
  }
12495
12491
  function YL(t) {
12496
- const { axis: e, isLogarithmic: i, axisConfigIndex: a } = t, o = O(e.chart?.uid ?? Number.NaN, "config"), n = i === !0 && mr({
12492
+ const { axis: e, isLogarithmic: i, axisConfigIndex: a } = t, o = w(e.chart?.uid ?? Number.NaN, "config"), n = i === !0 && mr({
12497
12493
  chartConfig: o,
12498
12494
  axisConfigIndex: a,
12499
12495
  chartData: e.chart?.series.getIndex(0)?.data.values
@@ -12618,7 +12614,7 @@ function e0(t) {
12618
12614
  y.RadarSeries
12619
12615
  ];
12620
12616
  if (o !== void 0 && l.includes(o) && n === ie.Stacked100 && !s && e instanceof be && !i) {
12621
- const c = O(e.chart?.uid ?? Number.NaN, "config"), d = e.chart?.series.getIndex(0)?.data.values;
12617
+ const c = w(e.chart?.uid ?? Number.NaN, "config"), d = e.chart?.series.getIndex(0)?.data.values;
12622
12618
  if (c && d) {
12623
12619
  const u = Nf(e.chart), f = fr({ chartConfig: c, isSecondaryYAxis: a, seriesIds: u });
12624
12620
  r = !cd({
@@ -12648,7 +12644,7 @@ function Hf(t) {
12648
12644
  let l = n, c = s;
12649
12645
  const { chart: d } = e;
12650
12646
  if (d) {
12651
- const u = O(d.uid, "config");
12647
+ const u = w(d.uid, "config");
12652
12648
  if (d instanceof pe && u) {
12653
12649
  const f = W(u.series), g = st(u) ?? ie.Side, h = Nf(d), b = h !== void 0 && h.length === 0 ? void 0 : h, p = fr({
12654
12650
  chartConfig: u,
@@ -12766,7 +12762,7 @@ function s0(t) {
12766
12762
  }
12767
12763
  function ln(t, e) {
12768
12764
  if (t !== void 0) {
12769
- const i = O(t.uid, "config");
12765
+ const i = w(t.uid, "config");
12770
12766
  if (i !== void 0) {
12771
12767
  const a = W(i?.series), o = st(i) ?? ie.Side, n = Qe(i), s = n ? 1 : 0, r = n ? 0 : 1, l = t.xAxes.getIndex(0), c = t.yAxes.getIndex(0), d = t.xAxes.getIndex(1) ?? t.yAxes.getIndex(1), u = i.axes?.[s], f = i.axes?.[r], g = i.axes?.[2];
12772
12768
  [
@@ -12838,7 +12834,7 @@ function vc(t, e) {
12838
12834
  if (e) {
12839
12835
  const { chart: i } = e;
12840
12836
  if (i) {
12841
- const a = O(i.uid, "isRotated"), o = O(i.uid, "config"), n = W(o?.series), s = [], r = (l, c) => {
12837
+ const a = w(i.uid, "isRotated"), o = w(i.uid, "config"), n = W(o?.series), s = [], r = (l, c) => {
12842
12838
  if (l instanceof be) {
12843
12839
  const d = l.get("renderer") instanceof Jt;
12844
12840
  s.push({
@@ -12878,7 +12874,7 @@ function d0(t) {
12878
12874
  "maxWidth",
12879
12875
  () => Math.min(F.tooltipWidth, n.seriesContainer.width())
12880
12876
  ), r.get("background")?.set("fillOpacity", pr);
12881
- const l = O(n.uid, "rtl");
12877
+ const l = w(n.uid, "rtl");
12882
12878
  r.label.set("direction", l ? "rtl" : "ltr");
12883
12879
  }
12884
12880
  if (s !== void 0) {
@@ -12918,12 +12914,12 @@ function d0(t) {
12918
12914
  l && (Rf(l), l.adapters.add("x", (c, d) => {
12919
12915
  const { chart: u } = e;
12920
12916
  if (u && d) {
12921
- const f = O(u.uid, "config"), g = O(u.uid, "isRotated");
12917
+ const f = w(u.uid, "config"), g = w(u.uid, "isRotated");
12922
12918
  if (f) {
12923
12919
  const b = !qi(e.get("renderer"), g) ? 1 : 0, S = f?.axes?.[b]?.guides?.[a];
12924
12920
  if (S) {
12925
12921
  const { tooltipReverseColor: C } = S;
12926
- Of(d, C);
12922
+ wf(d, C);
12927
12923
  }
12928
12924
  }
12929
12925
  }
@@ -12936,12 +12932,12 @@ function u0(t, e) {
12936
12932
  const { guideName: a, start: o, end: n } = i, { chart: s, root: r } = t;
12937
12933
  let l = "";
12938
12934
  if (s !== void 0) {
12939
- const c = O(s.uid, "config"), d = O(s.uid, "isRotated"), f = !qi(t.get("renderer"), d) ? 1 : 0, h = c?.axes?.[f]?.guides;
12935
+ const c = w(s.uid, "config"), d = w(s.uid, "isRotated"), f = !qi(t.get("renderer"), d) ? 1 : 0, h = c?.axes?.[f]?.guides;
12940
12936
  let b = o, p = n;
12941
12937
  if (t instanceof Be) {
12942
12938
  let v;
12943
12939
  if (s !== void 0) {
12944
- const T = O(t.chart?.uid ?? Number.NaN, "formatLocale");
12940
+ const T = w(t.chart?.uid ?? Number.NaN, "formatLocale");
12945
12941
  v = Ht({
12946
12942
  root: t.root,
12947
12943
  type: y.DateAxisFormat,
@@ -12963,7 +12959,7 @@ function u0(t, e) {
12963
12959
  guideStart: S,
12964
12960
  guideEnd: C
12965
12961
  }) : l = S;
12966
- const x = O(s.uid, "rtl"), L = $t(x ?? !1);
12962
+ const x = w(s.uid, "rtl"), L = $t(x ?? !1);
12967
12963
  l = `${a}${L} ${l}`;
12968
12964
  }
12969
12965
  return l;
@@ -13040,7 +13036,7 @@ function h0(t, e) {
13040
13036
  function p0(t, e) {
13041
13037
  const { start: i, end: a } = e;
13042
13038
  let o = i !== null ? i : void 0, n = a !== null ? a : void 0;
13043
- const { chart: s } = t, r = O(s?.uid ?? Number.NaN, "config");
13039
+ const { chart: s } = t, r = w(s?.uid ?? Number.NaN, "config");
13044
13040
  if (r !== void 0) {
13045
13041
  const l = ur(r), c = t.data.values, u = c.find(
13046
13042
  (f) => f[F.originalXValue] === i
@@ -13075,7 +13071,7 @@ function b0(t) {
13075
13071
  if (o !== void 0) {
13076
13072
  const { chart: s } = e;
13077
13073
  let r;
13078
- if (e instanceof Ve && s instanceof pe && O(s.uid, "isNonAggregatedChart") === !0) {
13074
+ if (e instanceof Ve && s instanceof pe && w(s.uid, "isNonAggregatedChart") === !0) {
13079
13075
  const { modifiedStart: l, modifiedEnd: c } = p0(e, a);
13080
13076
  r = { isValidGuide: !0, start: l ?? o, end: c ?? n };
13081
13077
  } else
@@ -13239,7 +13235,7 @@ function F0(t) {
13239
13235
  function hs(t) {
13240
13236
  if (t?.chart !== void 0) {
13241
13237
  const e = t.get("renderer");
13242
- if (O(t.chart.uid, "config")?.axes?.[0].labels !== void 0 && e.labels.length > 1) {
13238
+ if (w(t.chart.uid, "config")?.axes?.[0].labels !== void 0 && e.labels.length > 1) {
13243
13239
  const o = e.labels.getIndex(0)?.get("rotation");
13244
13240
  let n = 0;
13245
13241
  e.labels.each((l) => {
@@ -13254,7 +13250,7 @@ function hs(t) {
13254
13250
  e.labels.template.setAll({
13255
13251
  rotation: l,
13256
13252
  centerX: r ? de : he,
13257
- centerY: $e,
13253
+ centerY: De,
13258
13254
  paddingTop: r ? F.axisLabel.paddingTop : F.rotatedAxisLabel.paddingTop,
13259
13255
  paddingLeft: r ? F.axisLabel.paddingLeft : F.rotatedAxisLabel.paddingLeft,
13260
13256
  paddingRight: r ? F.axisLabel.paddingRight : F.rotatedAxisLabel.paddingRight
@@ -13269,8 +13265,8 @@ function Rc(t) {
13269
13265
  multiLocation: 0.5
13270
13266
  })), t.events.on(oe.BoundsChanged, () => hs(t)), t.events.on(oe.DataValidated, () => hs(t)), hs();
13271
13267
  }
13272
- function Oc(t) {
13273
- if (t && O(t.chart?.uid ?? Number.NaN, "config")?.axes?.[0].labels?.visible !== !1) {
13268
+ function wc(t) {
13269
+ if (t && w(t.chart?.uid ?? Number.NaN, "config")?.axes?.[0].labels?.visible !== !1) {
13274
13270
  let a = 0;
13275
13271
  t.dataItems.forEach((o, n) => {
13276
13272
  const s = o.get("label");
@@ -13285,7 +13281,7 @@ function Oc(t) {
13285
13281
  }
13286
13282
  }
13287
13283
  function A0(t) {
13288
- t.get("renderer").labels.template.set("oversizedBehavior", "wrap"), t.events.on(oe.BoundsChanged, () => Oc(t)), Oc(t);
13284
+ t.get("renderer").labels.template.set("oversizedBehavior", "wrap"), t.events.on(oe.BoundsChanged, () => wc(t)), wc(t);
13289
13285
  }
13290
13286
  function T0(t) {
13291
13287
  t.get("renderer").labels.template.setAll({
@@ -13357,7 +13353,7 @@ function R0(t) {
13357
13353
  chartType: s
13358
13354
  });
13359
13355
  }
13360
- function O0(t) {
13356
+ function w0(t) {
13361
13357
  const { axis: e, isHorizontalAxis: i, label: a } = t, { chart: o } = e;
13362
13358
  if (o) {
13363
13359
  const n = i ? "width" : "height", s = i ? J.XAxisTitle : J.YAxisTitle;
@@ -13369,10 +13365,10 @@ function O0(t) {
13369
13365
  }
13370
13366
  }
13371
13367
  const qn = "arcgis_charts_title_container", nl = "arcgis_charts_subtitle_container", Zn = "arcgis_charts_footer_container", Yf = "arcgis_charts_title", Uf = "arcgis_charts_subtitle", jf = "arcgis_charts_footer", St = "arcgis_charts_legend_container", Yt = "arcgis_charts_legend_title", Ps = "arcgis_charts_axis_title_id";
13372
- function w0(t, e) {
13368
+ function O0(t, e) {
13373
13369
  let i = e ?? null;
13374
13370
  if (e != null) {
13375
- const a = t.xAxes.getIndex(0), o = O(t.uid, "config"), n = a.get("min") ?? o?.axes?.[0].minimum ?? F.gauge.axisMinimum, s = a.get("max") ?? o?.axes?.[0].maximum ?? F.gauge.axisMaximum;
13371
+ const a = t.xAxes.getIndex(0), o = w(t.uid, "config"), n = a.get("min") ?? o?.axes?.[0].minimum ?? F.gauge.axisMinimum, s = a.get("max") ?? o?.axes?.[0].maximum ?? F.gauge.axisMaximum;
13376
13372
  e < n ? i = n : e > s && (i = s);
13377
13373
  }
13378
13374
  return i ?? void 0;
@@ -13382,7 +13378,7 @@ function D0(t) {
13382
13378
  radius: it(100)
13383
13379
  }), a = t.makeDataItem({
13384
13380
  value: 0,
13385
- bullet: wh.new(e, {
13381
+ bullet: Oh.new(e, {
13386
13382
  sprite: i
13387
13383
  })
13388
13384
  });
@@ -13394,7 +13390,7 @@ function $0(t) {
13394
13390
  ), s = n?.get("bullet")?.get("sprite");
13395
13391
  if (n && s instanceof xs) {
13396
13392
  const { startWidth: r, endWidth: l, innerRadius: c } = F.gaugeNeedle;
13397
- Hi({ root: i.root, element: s.hand, fillSymbol: a?.symbol }), Hi({ root: i.root, element: s.pin, fillSymbol: a?.symbol }), n.set("value", w0(e, o)), s.pin.set("visible", a?.displayPin === !0), s.setAll({
13393
+ Hi({ root: i.root, element: s.hand, fillSymbol: a?.symbol }), Hi({ root: i.root, element: s.pin, fillSymbol: a?.symbol }), n.set("value", O0(e, o)), s.pin.set("visible", a?.displayPin === !0), s.setAll({
13398
13394
  visible: a?.visible ?? !0,
13399
13395
  innerRadius: it(a?.innerRadius ?? c),
13400
13396
  bottomWidth: a?.startWidth ?? r,
@@ -13583,7 +13579,7 @@ function Y0(t) {
13583
13579
  }), t.labels.template.setup = (e) => {
13584
13580
  e.set(
13585
13581
  "background",
13586
- wa.new(e.root, {
13582
+ Oa.new(e.root, {
13587
13583
  fill: e.root.interfaceColors.get("alternativeBackground"),
13588
13584
  fillOpacity: 0
13589
13585
  })
@@ -13608,19 +13604,19 @@ function j0(t) {
13608
13604
  !b.isHidden() && !Xn(b) && !Ui(b) && (b instanceof ne ? b.dataItems.forEach((p) => {
13609
13605
  if (qf(p)) {
13610
13606
  const S = cn(dn(p, c), d), C = p.bullets?.[0]?.get("sprite");
13611
- u ? S && Oe({
13607
+ u ? S && we({
13612
13608
  element: C,
13613
13609
  selected: !g
13614
- }) : Oe(h ? { element: C, selected: !1 } : { element: C, selected: S });
13610
+ }) : we(h ? { element: C, selected: !1 } : { element: C, selected: S });
13615
13611
  }
13616
13612
  }) : b instanceof xe && b.dataItems.forEach((p) => {
13617
13613
  const S = Zf(p);
13618
13614
  if (S !== void 0 && !Kf(S)) {
13619
13615
  const C = cn(dn(p, c), d);
13620
- u ? C && Oe({
13616
+ u ? C && we({
13621
13617
  element: S,
13622
13618
  selected: !g
13623
- }) : Oe(h ? { element: S, selected: !1 } : { element: S, selected: C });
13619
+ }) : we(h ? { element: S, selected: !1 } : { element: S, selected: C });
13624
13620
  }
13625
13621
  }));
13626
13622
  }), X0(r.get("cursor")), Io({
@@ -13636,7 +13632,7 @@ function Qf(t, e) {
13636
13632
  return e ? `${Ps}_x_${t.uid}` : `${Ps}_y_${t.uid}`;
13637
13633
  }
13638
13634
  function Vs(t, e) {
13639
- const i = O(t.chart?.uid ?? Number.NaN, "config"), a = Qe(i) ? 1 : 0, o = i?.axes?.[a]?.title?.content?.verticalAlignment, n = l0(t);
13635
+ const i = w(t.chart?.uid ?? Number.NaN, "config"), a = Qe(i) ? 1 : 0, o = i?.axes?.[a]?.title?.content?.verticalAlignment, n = l0(t);
13640
13636
  let s = n;
13641
13637
  switch (o) {
13642
13638
  case "baseline":
@@ -13662,7 +13658,7 @@ function Z0(t) {
13662
13658
  oe.DataValidated,
13663
13659
  () => Vs(e, s),
13664
13660
  F.debounceTime
13665
- ), O0({ axis: e, isHorizontalAxis: i, label: s })), !i && e.chart && oa({
13661
+ ), w0({ axis: e, isHorizontalAxis: i, label: s })), !i && e.chart && oa({
13666
13662
  chart: e.chart,
13667
13663
  label: s,
13668
13664
  labelType: J.YAxisTitle
@@ -13702,7 +13698,7 @@ function Bi(t) {
13702
13698
  g && (f = i.push(Ve.new(e, { categoryField: g, renderer: n })));
13703
13699
  } else if (bt(o))
13704
13700
  f = i.push(Be.new(e, { strictMinMax: !0, baseInterval: { timeUnit: "day", count: 1 }, renderer: n }));
13705
- else if (De(o) && (f = i.push(be.new(e, { strictMinMax: !0, renderer: n })), s && f instanceof be)) {
13701
+ else if (Oe(o) && (f = i.push(be.new(e, { strictMinMax: !0, renderer: n })), s && f instanceof be)) {
13706
13702
  const g = i.getIndex(0);
13707
13703
  g instanceof be && f.set("syncWithAxis", g);
13708
13704
  }
@@ -13786,7 +13782,7 @@ function sl(t) {
13786
13782
  lineSymbol: k,
13787
13783
  title: R,
13788
13784
  labels: I,
13789
- isLogarithmic: w,
13785
+ isLogarithmic: O,
13790
13786
  grid: $,
13791
13787
  displayCursorTooltip: B,
13792
13788
  displayZeroLine: M,
@@ -13794,10 +13790,10 @@ function sl(t) {
13794
13790
  guides: U,
13795
13791
  tickSpacing: z,
13796
13792
  dateBaseInterval: G
13797
- } = r, { root: q } = e, X = W(p.series), Y = st(p), H = Qe(p), { chart: te } = e, Te = te ? O(te.uid, "config") : void 0, Le = te ? O(te.uid, "options") : void 0, ft = tt(v), fi = Lt(ft).find((wo) => wo.name === Te?.series?.[0]?.x), Ro = Fg(fi), es = nr({ chartConfig: p, queryObject: v, options: Le }), Oo = Ea(p.series[0]) ? p.series[0].temporalBinning?.outTimeZone : void 0, Za = e.get("renderer");
13793
+ } = r, { root: q } = e, X = W(p.series), Y = st(p), H = Qe(p), { chart: te } = e, Te = te ? w(te.uid, "config") : void 0, Le = te ? w(te.uid, "options") : void 0, ft = tt(v), fi = Lt(ft).find((Oo) => Oo.name === Te?.series?.[0]?.x), Ro = Fg(fi), es = nr({ chartConfig: p, queryObject: v, options: Le }), wo = Ea(p.series[0]) ? p.series[0].temporalBinning?.outTimeZone : void 0, Za = e.get("renderer");
13798
13794
  Xa(e.uid, {
13799
13795
  zeroGridLine: { displayZeroLine: M, strokeWidth: $?.width ?? F.lineWidth, visible: $ !== void 0 }
13800
- }), YL({ axis: e, isLogarithmic: w, axisConfigIndex: l }), _L({
13796
+ }), YL({ axis: e, isLogarithmic: O, axisConfigIndex: l }), _L({
13801
13797
  axis: e,
13802
13798
  isXAxis: qi(e.get("renderer"), H),
13803
13799
  chartType: X,
@@ -13807,7 +13803,7 @@ function sl(t) {
13807
13803
  externalAxisLabelFormatter: S,
13808
13804
  isTimeOnlyField: Ro,
13809
13805
  setTimeZone: es,
13810
- outTimeZone: Oo,
13806
+ outTimeZone: wo,
13811
13807
  errorStrings: L
13812
13808
  }), HL({ axis: e, isRotated: H, chartConfig: p }), qL({ axis: e, timeIntervalInfo: c, dateBaseInterval: G, xFieldIsTimeOnly: Ro }), Zt({
13813
13809
  element: Za,
@@ -13838,7 +13834,7 @@ function sl(t) {
13838
13834
  });
13839
13835
  }
13840
13836
  function J0(t) {
13841
- const { chart: e, errorStrings: i, queryObject: a } = t, { root: o } = e, n = O(e.uid, "config");
13837
+ const { chart: e, errorStrings: i, queryObject: a } = t, { root: o } = e, n = w(e.uid, "config");
13842
13838
  if (n) {
13843
13839
  const { x: s } = n.series[0], r = Qe(n), { axes: l } = n, c = W(n.series);
13844
13840
  Xi({ chartType: c, axesConfig: l, errorStrings: i });
@@ -13886,7 +13882,7 @@ function eF(t) {
13886
13882
  ...d,
13887
13883
  axes: e.yAxes,
13888
13884
  valueFormat: c.valueFormat,
13889
- axisRenderer: Oh.new(r, {}),
13885
+ axisRenderer: wh.new(r, {}),
13890
13886
  isXAxis: !1,
13891
13887
  x: o
13892
13888
  });
@@ -13933,7 +13929,7 @@ function tF(t) {
13933
13929
  utilsStrings: b,
13934
13930
  errorStrings: p,
13935
13931
  queryObject: S
13936
- } = t, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x, axes: L } = i, v = Qe(i), T = W(i.series), k = O(e.uid, "isNonAggregatedChart"), R = e.xAxes.getIndex(0), I = e.yAxes.getIndex(0), w = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1);
13932
+ } = t, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x, axes: L } = i, v = Qe(i), T = W(i.series), k = w(e.uid, "isNonAggregatedChart"), R = e.xAxes.getIndex(0), I = e.yAxes.getIndex(0), O = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1);
13937
13933
  Xi({ chartType: T, axesConfig: L, errorStrings: p });
13938
13934
  const $ = v ? 1 : 0, B = v ? 0 : 1, M = L?.[$], P = L?.[B];
13939
13935
  [
@@ -13950,7 +13946,7 @@ function tF(t) {
13950
13946
  axisConfigIndex: B
13951
13947
  },
13952
13948
  {
13953
- axis: w,
13949
+ axis: O,
13954
13950
  axisConfig: L?.[2],
13955
13951
  externalAxisLabelFormatter: g,
13956
13952
  isSecondaryYAxis: !0,
@@ -13991,7 +13987,7 @@ function iF(t, e) {
13991
13987
  const i = K(F.backgroundColor);
13992
13988
  e.set(
13993
13989
  "background",
13994
- wa.new(t, {
13990
+ Oa.new(t, {
13995
13991
  fill: i.color,
13996
13992
  fillOpacity: i.opacity
13997
13993
  })
@@ -14050,10 +14046,10 @@ function oF(t) {
14050
14046
  });
14051
14047
  }
14052
14048
  function nF(t) {
14053
- const { chart: e, actionMode: i, cursorRange: a } = t, o = O(e.uid, "isRotated"), n = O(e.uid, "config"), s = W(n?.series), r = s === y.ScatterSeries, l = (s === y.LineSeries || s === y.RadarSeries) && De(n?.axes?.[0]?.valueFormat), c = (s === y.LineSeries || s === y.RadarSeries) && hi(n?.axes?.[0]?.valueFormat), d = (s === y.LineSeries || s === y.RadarSeries) && bt(n?.axes?.[0]?.valueFormat);
14049
+ const { chart: e, actionMode: i, cursorRange: a } = t, o = w(e.uid, "isRotated"), n = w(e.uid, "config"), s = W(n?.series), r = s === y.ScatterSeries, l = (s === y.LineSeries || s === y.RadarSeries) && Oe(n?.axes?.[0]?.valueFormat), c = (s === y.LineSeries || s === y.RadarSeries) && hi(n?.axes?.[0]?.valueFormat), d = (s === y.LineSeries || s === y.RadarSeries) && bt(n?.axes?.[0]?.valueFormat);
14054
14050
  let u, f = !1;
14055
- const g = i ?? O(e.uid, "actionMode") ?? F.actionMode;
14056
- if (O(e.uid, "filterBySelection") === !0)
14051
+ const g = i ?? w(e.uid, "actionMode") ?? F.actionMode;
14052
+ if (w(e.uid, "filterBySelection") === !0)
14057
14053
  u = ue.None, f = !1;
14058
14054
  else if (a !== void 0)
14059
14055
  u = tu({ actionMode: g, cursorRange: a, isRotated: o });
@@ -14120,7 +14116,7 @@ function rF(t, e) {
14120
14116
  });
14121
14117
  }
14122
14118
  function nm(t, e) {
14123
- const { title: i, subtitle: a } = e ?? {}, o = O(t.uid, "config"), s = o?.legend?.visible !== !1 && o?.legend?.position === _.Top ? 0 : F.headerContainer.paddingBottom ?? 0, r = le({ childId: qn, parent: t });
14119
+ const { title: i, subtitle: a } = e ?? {}, o = w(t.uid, "config"), s = o?.legend?.visible !== !1 && o?.legend?.position === _.Top ? 0 : F.headerContainer.paddingBottom ?? 0, r = le({ childId: qn, parent: t });
14124
14120
  if (r !== void 0) {
14125
14121
  r.set("paddingBottom", s);
14126
14122
  const c = le({ childId: Yf, parent: r });
@@ -14193,7 +14189,7 @@ function cF(t) {
14193
14189
  const l = s.dataItem, c = se(
14194
14190
  i.uid,
14195
14191
  "heatChartDataLabelFormatter"
14196
- ), d = O(i.chart?.uid ?? NaN, "config");
14192
+ ), d = w(i.chart?.uid ?? NaN, "config");
14197
14193
  if (c !== void 0 && l) {
14198
14194
  const u = l.get("value"), f = l.get("categoryX"), g = l.get("categoryY");
14199
14195
  u === null ? r = d?.series[0].emptyCells?.text ?? F.heatChart.emptyCells?.text ?? "" : u !== void 0 && (r = c(u, f, g));
@@ -14211,12 +14207,12 @@ function dF(t) {
14211
14207
  function uF(t) {
14212
14208
  const { series: e, externalDataLabelFormatter: i } = t;
14213
14209
  e.bullets.push(() => {
14214
- const o = O(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, n = Ai.new(e.root, {
14210
+ const o = w(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, n = Ai.new(e.root, {
14215
14211
  sprite: nt.new(e.root, {
14216
14212
  text: "{value}",
14217
14213
  populateText: !0,
14218
14214
  centerY: he,
14219
- centerX: $e,
14215
+ centerX: De,
14220
14216
  // remove padding so if they fit in the label, it shows
14221
14217
  paddingBottom: 0,
14222
14218
  paddingTop: 0,
@@ -14301,7 +14297,7 @@ function hF(t) {
14301
14297
  customFunction: (L, v, T, k) => {
14302
14298
  const R = L.dataItem?.dataContext;
14303
14299
  if (L instanceof Rt) {
14304
- let I, w, $, B = !1;
14300
+ let I, O, $, B = !1;
14305
14301
  if (n === xa.Renderer) {
14306
14302
  const M = R?.[E.rendererSymbolField];
14307
14303
  if (oo(M)) {
@@ -14324,7 +14320,7 @@ function hF(t) {
14324
14320
  });
14325
14321
  go(L, M);
14326
14322
  } else
14327
- typeof f == "number" && k < f ? { color: I, opacity: w } = C : typeof g == "number" && k > g ? { color: I, opacity: w } = x : v === T ? (I = h, w = b) : (I = Ah.interpolate((k - v) / (T - v), h, p, "rgb"), w = b + (k - v) / (T - v) * (S - b)), I && L.set("fill", I), w !== void 0 && L.set("fillOpacity", w);
14323
+ typeof f == "number" && k < f ? { color: I, opacity: O } = C : typeof g == "number" && k > g ? { color: I, opacity: O } = x : v === T ? (I = h, O = b) : (I = Ah.interpolate((k - v) / (T - v), h, p, "rgb"), O = b + (k - v) / (T - v) * (S - b)), I && L.set("fill", I), O !== void 0 && L.set("fillOpacity", O);
14328
14324
  }
14329
14325
  }
14330
14326
  }
@@ -14480,7 +14476,7 @@ function vF(t, e) {
14480
14476
  o instanceof Ve && o.set("paddingLeft", i);
14481
14477
  }
14482
14478
  function cm(t, e) {
14483
- const { root: i } = t, a = O(t.uid, "rtl") ?? !1, o = O(t.uid, "config") ?? e, n = o?.series[0], { start: s, end: r } = Kn(a, n), l = o?.legend?.position ?? F.heatChart.legend.position, c = l === _.Top || l === _.Bottom;
14479
+ const { root: i } = t, a = w(t.uid, "rtl") ?? !1, o = w(t.uid, "config") ?? e, n = o?.series[0], { start: s, end: r } = Kn(a, n), l = o?.legend?.position ?? F.heatChart.legend.position, c = l === _.Top || l === _.Bottom;
14484
14480
  return Zo.new(i, {
14485
14481
  orientation: c ? "horizontal" : "vertical",
14486
14482
  startColor: s.color,
@@ -14491,7 +14487,7 @@ function cm(t, e) {
14491
14487
  });
14492
14488
  }
14493
14489
  function LF(t, e) {
14494
- const i = O(e.uid, "rtl") ?? !1, a = O(e.uid, "config");
14490
+ const i = w(e.uid, "rtl") ?? !1, a = w(e.uid, "config");
14495
14491
  if (a?.series[0].type === y.HeatSeries) {
14496
14492
  const o = a?.series[0], { start: n, end: s } = Kn(i, o);
14497
14493
  t.setAll({
@@ -14517,12 +14513,12 @@ function Kn(t = !1, e) {
14517
14513
  }
14518
14514
  };
14519
14515
  }
14520
- function wc(t, e) {
14521
- const i = O(t.uid, "rtl") ?? !1, o = O(t.uid, "config")?.series[0], { start: n, end: s } = Kn(i, o);
14516
+ function Oc(t, e) {
14517
+ const i = w(t.uid, "rtl") ?? !1, o = w(t.uid, "config")?.series[0], { start: n, end: s } = Kn(i, o);
14522
14518
  e.setAll({ startColor: n.color, endColor: s.color });
14523
14519
  }
14524
14520
  function dm(t) {
14525
- const e = O(t.uid, "config");
14521
+ const e = w(t.uid, "config");
14526
14522
  if (e?.series?.[0]?.type === y.HeatSeries && e?.legend?.visible !== !1) {
14527
14523
  const i = F.heatChart.legend, a = e?.legend?.position ?? i.position, o = ot(St, t.uid);
14528
14524
  let n, s = !1;
@@ -14556,7 +14552,7 @@ function dm(t) {
14556
14552
  }
14557
14553
  }
14558
14554
  function um(t) {
14559
- const { chart: e, legend: i, legendContainer: a } = t, { root: o } = e, n = O(e.uid, "config"), s = F.heatChart.legend, r = n?.legend?.position ?? s.position;
14555
+ const { chart: e, legend: i, legendContainer: a } = t, { root: o } = e, n = w(e.uid, "config"), s = F.heatChart.legend, r = n?.legend?.position ?? s.position;
14560
14556
  let l, c, d;
14561
14557
  const u = r === _.Left || r === _.Top, f = le({ childId: Yt, parent: a }), g = n?.legend ? n.legend.visible ?? !0 : !1, h = n?.legend?.title ? n.legend.title.visible ?? !0 : !1, b = f instanceof nt && g && h ? f.height() > 0 ? f.height() : s.titleHeight : 0, p = r === _.Left || r === _.Right;
14562
14558
  switch (i.setAll({
@@ -14621,7 +14617,7 @@ function mm(t, e) {
14621
14617
  });
14622
14618
  }
14623
14619
  function gm(t) {
14624
- const { series: e, legend: i, chart: a } = t, o = O(a.uid, "config"), n = (s) => {
14620
+ const { series: e, legend: i, chart: a } = t, o = w(a.uid, "config"), n = (s) => {
14625
14621
  const r = s.getPrivate("valueLow"), l = s.getPrivate("valueHigh");
14626
14622
  r !== void 0 && l !== void 0 && (i.get("orientation") === "vertical" ? (i.set("startValue", l), i.set("endValue", r)) : (i.set("startValue", r), i.set("endValue", l))), ci(() => {
14627
14623
  mm(i, () => {
@@ -14652,8 +14648,8 @@ function hm(t) {
14652
14648
  { color: p.color, opacity: p.opacity, offset: h },
14653
14649
  { color: x, opacity: L, offset: h },
14654
14650
  { color: x, opacity: L, offset: 1 }
14655
- ], T = (R, I, w) => {
14656
- const $ = ot(`heatLegendLabel${w}`, e.uid), B = e.markerContainer.children.values.find(
14651
+ ], T = (R, I, O) => {
14652
+ const $ = ot(`heatLegendLabel${O}`, e.uid), B = e.markerContainer.children.values.find(
14657
14653
  (U) => U instanceof nt && U.get("id") === $
14658
14654
  );
14659
14655
  let M = B && !B.isDisposed() ? B : void 0;
@@ -14680,14 +14676,14 @@ function hm(t) {
14680
14676
  } else {
14681
14677
  M.set("x", it(I * 100));
14682
14678
  const z = e.startLabel.localBounds().bottom, G = F.heatChart.legend.minMaxLabelPadding;
14683
- M.set("y", -z - G), M.set("centerX", $e);
14679
+ M.set("y", -z - G), M.set("centerX", De);
14684
14680
  }
14685
14681
  };
14686
14682
  g > 0 && g < 1 && T(u, g, "Min"), h > 0 && h < 1 && T(f, h, "Max");
14687
14683
  const k = () => {
14688
14684
  let R;
14689
14685
  if (e.markerContainer.children.length > 0 && e.markerContainer.children.each((I) => {
14690
- I instanceof wa && (R = I);
14686
+ I instanceof Oa && (R = I);
14691
14687
  }), R) {
14692
14688
  let I = 0;
14693
14689
  e.get("orientation") === "vertical" && (I = 90), R.set(
@@ -14712,7 +14708,7 @@ function hm(t) {
14712
14708
  if (e.get("orientation") === "vertical") {
14713
14709
  let r;
14714
14710
  e.markerContainer.children.length > 0 && e.markerContainer.children.each((l) => {
14715
- l instanceof wa && (r = l);
14711
+ l instanceof Oa && (r = l);
14716
14712
  }), r && r.set("rotation", 180);
14717
14713
  }
14718
14714
  };
@@ -14792,7 +14788,7 @@ function zs(t) {
14792
14788
  labelConfig: { ...r, visible: l !== !1 && r.visible !== !1 },
14793
14789
  defaults: { ...c, verticalCenter: "top" }
14794
14790
  });
14795
- const u = O(e.uid, "config")?.legend?.position ?? F.heatChart.legend.position;
14791
+ const u = w(e.uid, "config")?.legend?.position ?? F.heatChart.legend.position;
14796
14792
  u === _.Left || u === _.Right ? (s.set("maxWidth", 250), di({
14797
14793
  chart: e,
14798
14794
  label: s,
@@ -14804,7 +14800,7 @@ function zs(t) {
14804
14800
  }
14805
14801
  }
14806
14802
  function FF(t, e) {
14807
- const { root: i } = t, a = O(t.uid, "config"), o = a?.legend, n = t.series.values[0];
14803
+ const { root: i } = t, a = w(t.uid, "config"), o = a?.legend, n = t.series.values[0];
14808
14804
  rl(t);
14809
14805
  const s = cm(t, a ?? e), r = pi.new(i, {
14810
14806
  id: ot(St, t.uid),
@@ -14817,7 +14813,7 @@ function FF(t, e) {
14817
14813
  })), s;
14818
14814
  }
14819
14815
  function Hs(t) {
14820
- const { legend: e, chart: i, legendContainer: a } = t, o = O(i.uid, "config"), n = F.heatChart.legend, s = o?.legend?.position ?? n.position;
14816
+ const { legend: e, chart: i, legendContainer: a } = t, o = w(i.uid, "config"), n = F.heatChart.legend, s = o?.legend?.position ?? n.position;
14821
14817
  if (s === _.Left || s === _.Right)
14822
14818
  e.set("height", he), a.set("height", he), bm({ legendContainer: a, chart: i });
14823
14819
  else {
@@ -14826,7 +14822,7 @@ function Hs(t) {
14826
14822
  }
14827
14823
  }
14828
14824
  function bm(t) {
14829
- const { legendContainer: e, chart: i } = t, a = O(i.uid, "config"), o = F.heatChart.legend, n = a?.legend?.position ?? o.position;
14825
+ const { legendContainer: e, chart: i } = t, a = w(i.uid, "config"), o = F.heatChart.legend, n = a?.legend?.position ?? o.position;
14830
14826
  if (n !== _.Left && n !== _.Right)
14831
14827
  return;
14832
14828
  const s = le({ childId: Yt, parent: e }), r = a?.legend?.title ? a.legend.title.visible ?? !0 : !1;
@@ -14876,7 +14872,7 @@ function kF(t) {
14876
14872
  id: ot(St, e.uid),
14877
14873
  layout: e.root.verticalLayout
14878
14874
  });
14879
- c.children.push(l), ll(e, c), zs({ chart: e, legendConfig: n, container: c }), wc(e, l), um({ chart: e, legend: l, legendContainer: c }), gm({ series: r, legend: l, chart: e }), Hs({
14875
+ c.children.push(l), ll(e, c), zs({ chart: e, legendConfig: n, container: c }), Oc(e, l), um({ chart: e, legend: l, legendContainer: c }), gm({ series: r, legend: l, chart: e }), Hs({
14880
14876
  legend: l,
14881
14877
  chart: e,
14882
14878
  legendContainer: c
@@ -14885,7 +14881,7 @@ function kF(t) {
14885
14881
  else if (r instanceof xe) {
14886
14882
  const l = TF(e);
14887
14883
  if (l) {
14888
- wc(e, l), zs({ chart: e, legendConfig: n }), pm(l, n);
14884
+ Oc(e, l), zs({ chart: e, legendConfig: n }), pm(l, n);
14889
14885
  const c = l.parent;
14890
14886
  c?.get("id") === ot(St, e.uid) && re(c, s), re(l, s), LF(l, e), c && Hs({
14891
14887
  legend: l,
@@ -14916,7 +14912,7 @@ function RF(t) {
14916
14912
  (a) => a.get("itemContainer").bounds().bottom !== i
14917
14913
  )), e;
14918
14914
  }
14919
- function OF(t) {
14915
+ function wF(t) {
14920
14916
  Yr(t.uid, { isLegendValueLabel: !0 }), t.valueLabels.template.adapters.add("text", (e, i) => {
14921
14917
  let a = e ?? "";
14922
14918
  const o = Vx(
@@ -14956,7 +14952,7 @@ function ym(t) {
14956
14952
  Wx(e.uid, {
14957
14953
  pieChartLegendValueLabelsFormatter: x
14958
14954
  });
14959
- const v = O(n?.uid ?? 0, "config")?.legend?.position ?? F.legendProperties.position, T = a?.valueLabelMaxWidth, k = IF(e, v), R = {
14955
+ const v = w(n?.uid ?? 0, "config")?.legend?.position ?? F.legendProperties.position, T = a?.valueLabelMaxWidth, k = IF(e, v), R = {
14960
14956
  type: y.Text,
14961
14957
  visible: s,
14962
14958
  content: {
@@ -14973,22 +14969,22 @@ function ym(t) {
14973
14969
  labelConfig: R,
14974
14970
  defaults: F.legendProperties.valueLabels
14975
14971
  });
14976
- const I = O(n?.uid ?? 0, "rtl") ?? !1, w = T !== void 0 && !Number.isNaN(T);
14972
+ const I = w(n?.uid ?? 0, "rtl") ?? !1, O = T !== void 0 && !Number.isNaN(T);
14977
14973
  e.valueLabels.template.setAll({
14978
14974
  x: void 0,
14979
14975
  y: void 0,
14980
14976
  paddingRight: 5,
14981
14977
  textAlign: I ? "right" : "left",
14982
14978
  disabled: S === !1 && C === !1,
14983
- width: w ? T : null,
14984
- oversizedBehavior: w ? "wrap" : "none"
14979
+ width: O ? T : null,
14980
+ oversizedBehavior: O ? "wrap" : "none"
14985
14981
  });
14986
14982
  }
14987
14983
  }
14988
- function wF(t, e) {
14984
+ function OF(t, e) {
14989
14985
  t.labels.template.adapters.add("maxWidth", (i) => {
14990
14986
  let a = i;
14991
- const o = O(e.uid, "config"), n = o?.legend?.labelMaxWidth, s = o?.legend?.position ?? F.legendProperties.position;
14987
+ const o = w(e.uid, "config"), n = o?.legend?.labelMaxWidth, s = o?.legend?.position ?? F.legendProperties.position;
14992
14988
  if (s === _.Right || s === _.Left)
14993
14989
  a = n ?? F.legendProperties.legendLabels.maxWidth;
14994
14990
  else if (n !== void 0)
@@ -15005,7 +15001,7 @@ function wF(t, e) {
15005
15001
  return a;
15006
15002
  }), t.valueLabels.template.adapters.add("maxWidth", (i) => {
15007
15003
  let a = i;
15008
- const o = O(e.uid, "config"), n = o?.legend?.valueLabelMaxWidth, s = o?.legend?.position ?? F.legendProperties.position;
15004
+ const o = w(e.uid, "config"), n = o?.legend?.valueLabelMaxWidth, s = o?.legend?.position ?? F.legendProperties.position;
15009
15005
  return s === _.Right || s === _.Left ? a = n ?? F.legendProperties.valueLabels.maxWidth : a = n ?? Number.NaN, a;
15010
15006
  });
15011
15007
  }
@@ -15039,7 +15035,7 @@ function Cm(t, e) {
15039
15035
  });
15040
15036
  }
15041
15037
  function MF(t) {
15042
- const { legend: e, chart: i, seriesConfig: a, legendConfig: o } = t, { displayCategory: n } = o ?? {}, s = n ?? F.pieChart.displayCategoryOnLegend, r = O(i?.uid ?? 0, "rtl") ?? !1;
15038
+ const { legend: e, chart: i, seriesConfig: a, legendConfig: o } = t, { displayCategory: n } = o ?? {}, s = n ?? F.pieChart.displayCategoryOnLegend, r = w(i?.uid ?? 0, "rtl") ?? !1;
15043
15039
  e.labels.template.setAll({
15044
15040
  forceHidden: s === !1,
15045
15041
  direction: r ? "rtl" : "ltr",
@@ -15049,7 +15045,7 @@ function MF(t) {
15049
15045
  e.itemContainers.template.setAll({
15050
15046
  width: c,
15051
15047
  layout: i.root.horizontalLayout
15052
- }), wF(e, i), ym({
15048
+ }), OF(e, i), ym({
15053
15049
  legend: e,
15054
15050
  seriesConfig: a,
15055
15051
  webChartLegend: o,
@@ -15066,7 +15062,7 @@ function BF(t) {
15066
15062
  const e = t.target.dataItem;
15067
15063
  if (e?.dataContext !== void 0) {
15068
15064
  const { dataContext: i } = e, a = typeof i == "object" && i !== null && "component" in i ? i.component : i;
15069
- if (a instanceof Oa) {
15065
+ if (a instanceof wa) {
15070
15066
  const n = { visible: !a.get("visible") };
15071
15067
  Ui(a) || Xn(a) ? n.overlayType = se(a.uid, "type") : n.seriesId = a.get("id"), od(n, a.root.dom);
15072
15068
  }
@@ -15076,7 +15072,7 @@ function NF(t) {
15076
15072
  t.itemContainers.template.events.on(oe.Click, BF);
15077
15073
  }
15078
15074
  function PF(t, e) {
15079
- const i = O(e.uid, "rtl") ?? !1;
15075
+ const i = w(e.uid, "rtl") ?? !1;
15080
15076
  t.itemContainers.template.setAll({ reverseChildren: i });
15081
15077
  }
15082
15078
  function VF(t) {
@@ -15182,24 +15178,24 @@ function Dc(t) {
15182
15178
  function ya(t, e) {
15183
15179
  const { root: i } = t, a = le({ childId: St, parent: t });
15184
15180
  if (a !== void 0) {
15185
- const o = O(t.uid, "config"), n = O(t.uid, "rtl"), s = o?.title ? o.title.visible ?? !0 : !1, r = o?.subtitle ? o.subtitle.visible ?? !0 : !1, l = o?.footer ? o.footer.visible ?? !0 : !1, c = o?.legend ? o.legend.visible ?? !0 : !1, d = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, u = le({ childId: qn, parent: t }), f = u instanceof pi && s ? u.height() : 0, g = le({ childId: nl, parent: t }), h = g instanceof pi && r ? g.height() : 0, b = le({ childId: Zn, parent: t }), p = b instanceof pi && l ? b.height() : 0, S = le({ childId: Yt, parent: a }), C = S instanceof nt && c && d ? S?.height() : 0, x = o?.legend?.position ?? F.legendProperties.position;
15181
+ const o = w(t.uid, "config"), n = w(t.uid, "rtl"), s = o?.title ? o.title.visible ?? !0 : !1, r = o?.subtitle ? o.subtitle.visible ?? !0 : !1, l = o?.footer ? o.footer.visible ?? !0 : !1, c = o?.legend ? o.legend.visible ?? !0 : !1, d = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, u = le({ childId: qn, parent: t }), f = u instanceof pi && s ? u.height() : 0, g = le({ childId: nl, parent: t }), h = g instanceof pi && r ? g.height() : 0, b = le({ childId: Zn, parent: t }), p = b instanceof pi && l ? b.height() : 0, S = le({ childId: Yt, parent: a }), C = S instanceof nt && c && d ? S?.height() : 0, x = o?.legend?.position ?? F.legendProperties.position;
15186
15182
  let L;
15187
15183
  const v = e.get("verticalScrollbar");
15188
- let T = de, k = de, R = i.verticalLayout, I = de, w = de, $ = de, B = de, M = 0, P;
15184
+ let T = de, k = de, R = i.verticalLayout, I = de, O = de, $ = de, B = de, M = 0, P;
15189
15185
  const z = e.height() + C;
15190
15186
  let G = 0, q = 0, X = 0, Y = 0, H, te;
15191
15187
  switch (x) {
15192
15188
  case _.Left:
15193
- R = i.verticalLayout, I = $e, $ = $e, w = $e, B = $e, P = void 0, T = $e, k = $e, G = a.width(), M = f + h, z < t.seriesContainer.height() && (M += t.seriesContainer.height() / 2 - z / 2), e.setPrivate("width", void 0), L = Dc(e), v?.width() !== void 0 && L && v.isVisible() && (L += v.width() + F.scrollbarPadding), n && (H = he, te = L);
15189
+ R = i.verticalLayout, I = De, $ = De, O = De, B = De, P = void 0, T = De, k = De, G = a.width(), M = f + h, z < t.seriesContainer.height() && (M += t.seriesContainer.height() / 2 - z / 2), e.setPrivate("width", void 0), L = Dc(e), v?.width() !== void 0 && L && v.isVisible() && (L += v.width() + F.scrollbarPadding), n && (H = he, te = L);
15194
15190
  break;
15195
15191
  case _.Right:
15196
- R = i.verticalLayout, I = he, $ = he, w = $e, B = $e, P = void 0, T = $e, k = $e, q = a.width(), M = f + h, z < t.seriesContainer.height() && (M += t.seriesContainer.height() / 2 - z / 2), e.setPrivate("width", void 0), L = Dc(e), v?.width() !== void 0 && L && v.isVisible() && (L += v.width() + F.scrollbarPadding), n && (H = he, te = L);
15192
+ R = i.verticalLayout, I = he, $ = he, O = De, B = De, P = void 0, T = De, k = De, q = a.width(), M = f + h, z < t.seriesContainer.height() && (M += t.seriesContainer.height() / 2 - z / 2), e.setPrivate("width", void 0), L = Dc(e), v?.width() !== void 0 && L && v.isVisible() && (L += v.width() + F.scrollbarPadding), n && (H = he, te = L);
15197
15193
  break;
15198
15194
  case _.Top:
15199
- R = i.gridLayout, I = de, $ = de, w = $e, B = $e, P = he, T = de, k = de, X += z, M += f + h, L = void 0, n && (H = void 0);
15195
+ R = i.gridLayout, I = de, $ = de, O = De, B = De, P = he, T = de, k = de, X += z, M += f + h, L = void 0, n && (H = void 0);
15200
15196
  break;
15201
15197
  case _.Bottom:
15202
- R = i.gridLayout, I = de, $ = de, w = he, B = he, P = he, T = de, k = de, Y = z, M = -Y - p, L = void 0, n && (H = void 0);
15198
+ R = i.gridLayout, I = de, $ = de, O = he, B = he, P = he, T = de, k = de, Y = z, M = -Y - p, L = void 0, n && (H = void 0);
15203
15199
  break;
15204
15200
  }
15205
15201
  (L === void 0 || L > 0) && (e.setPrivate("width", L), n && e.itemContainers.template.setAll({
@@ -15207,7 +15203,7 @@ function ya(t, e) {
15207
15203
  dx: te
15208
15204
  })), e.setAll({ layout: R, x: T, centerX: k }), a.setAll({
15209
15205
  x: I,
15210
- y: w,
15206
+ y: O,
15211
15207
  centerX: $,
15212
15208
  centerY: B,
15213
15209
  dy: M,
@@ -15270,13 +15266,13 @@ function EF(t, e) {
15270
15266
  }
15271
15267
  ), e.labels.template.adapters.add("text", (i, a) => {
15272
15268
  let o = i;
15273
- const n = O(t.uid, "config");
15269
+ const n = w(t.uid, "config");
15274
15270
  if (W(n?.series) !== y.HeatSeries) {
15275
15271
  const r = a.dataItem?.component;
15276
15272
  if (r instanceof Je) {
15277
15273
  const l = r.get("categoryField") ?? "", c = a.dataItem, d = c?.get("category"), u = c?.dataContext;
15278
15274
  o = d ?? (u?.[l] ?? i)?.toString();
15279
- } else r instanceof Oa && (o = r.get("name"));
15275
+ } else r instanceof wa && (o = r.get("name"));
15280
15276
  }
15281
15277
  return o;
15282
15278
  });
@@ -15284,7 +15280,7 @@ function EF(t, e) {
15284
15280
  function zF(t, e) {
15285
15281
  e.seriesContainer.onPrivate("height", (i) => {
15286
15282
  let a = 0;
15287
- const o = O(e.uid, "config"), n = o?.legend, s = le({ childId: St, parent: e });
15283
+ const o = w(e.uid, "config"), n = o?.legend, s = le({ childId: St, parent: e });
15288
15284
  if (s !== void 0) {
15289
15285
  const l = le({ childId: Yt, parent: s });
15290
15286
  l !== void 0 && n?.visible !== !1 && n?.title?.visible !== !1 && (a = l.height());
@@ -15301,18 +15297,18 @@ function HF(t, e, i) {
15301
15297
  function _F(t) {
15302
15298
  let e;
15303
15299
  if (t !== void 0) {
15304
- const i = O(t?.uid, "config");
15305
- e = O(t.uid, "rtl") && (i?.legend?.position === _.Top || i?.legend?.position === _.Bottom);
15300
+ const i = w(t?.uid, "config");
15301
+ e = w(t.uid, "rtl") && (i?.legend?.position === _.Top || i?.legend?.position === _.Bottom);
15306
15302
  }
15307
15303
  return e ?? !1;
15308
15304
  }
15309
15305
  function GF(t) {
15310
15306
  let e = "";
15311
15307
  if (t instanceof pe) {
15312
- const i = O(t.uid, "config"), a = Qe(i), o = a ? m.Rotated : m.NonRotated, n = st(i);
15308
+ const i = w(t.uid, "config"), a = Qe(i), o = a ? m.Rotated : m.NonRotated, n = st(i);
15313
15309
  let s = m.SideBySide;
15314
15310
  n === ie.Stacked ? s = m.Stacked : n === ie.Stacked100 && (s = m.Stacked100);
15315
- const r = O(t.uid, "rtl") ? m.RTL : m.LTR;
15311
+ const r = w(t.uid, "rtl") ? m.RTL : m.LTR;
15316
15312
  let l;
15317
15313
  switch (i?.legend?.position) {
15318
15314
  case _.Left:
@@ -15416,7 +15412,7 @@ function ZF(t) {
15416
15412
  const { legend: e, chart: i, seriesConfig: a } = t;
15417
15413
  a?.[0].type !== y.HeatSeries && e.itemContainers.template.adapters.add(
15418
15414
  "cursorOverStyle",
15419
- () => O(i.uid, "options")?.legendInteractionsDisabled === !0 ? "default" : "pointer"
15415
+ () => w(i.uid, "options")?.legendInteractionsDisabled === !0 ? "default" : "pointer"
15420
15416
  );
15421
15417
  }
15422
15418
  function $c(t, e) {
@@ -15435,12 +15431,12 @@ function $c(t, e) {
15435
15431
  fillOpacityField: Ue.fillOpacityField,
15436
15432
  strokeOpacityField: Ue.strokeOpacityField
15437
15433
  } : {};
15438
- a = Nd.new(i, { ...n, verticalScrollbar: Cs.new(i, { orientation: "vertical" }) }), t instanceof Kt ? OF(a) : a.valueLabels.template.setAll({ forceHidden: !0, textAlign: "left" }), EF(t, a), vm(t, o), NF(a), PF(a, t), WF({ chart: t, legend: a, legendContainer: o }), zF(a, t), HF(a, t, W(e?.series)), ZF({ legend: a, chart: t, seriesConfig: e?.series }), o.children.push(a), t.children.push(o);
15434
+ a = Nd.new(i, { ...n, verticalScrollbar: Cs.new(i, { orientation: "vertical" }) }), t instanceof Kt ? wF(a) : a.valueLabels.template.setAll({ forceHidden: !0, textAlign: "left" }), EF(t, a), vm(t, o), NF(a), PF(a, t), WF({ chart: t, legend: a, legendContainer: o }), zF(a, t), HF(a, t, W(e?.series)), ZF({ legend: a, chart: t, seriesConfig: e?.series }), o.children.push(a), t.children.push(o);
15439
15435
  }
15440
15436
  return a;
15441
15437
  }
15442
15438
  function KF(t) {
15443
- const e = O(t.uid ?? NaN, "config"), i = e?.series[0].heatRulesType === xa.Renderer, o = t.series.values[0].data.values.some(
15439
+ const e = w(t.uid ?? NaN, "config"), i = e?.series[0].heatRulesType === xa.Renderer, o = t.series.values[0].data.values.some(
15444
15440
  (s) => s[Re.valueField] === null || i && !s[E.rendererSymbolField]
15445
15441
  );
15446
15442
  let n;
@@ -15499,7 +15495,7 @@ function Fm(t) {
15499
15495
  seriesConfig: s,
15500
15496
  chart: e
15501
15497
  }), Lm(a, e, W(u)), VF({ chart: e, legend: a, chartConfig: i, showEmptySeries: n, queryObject: r }), YF(e, d), ya(e, a);
15502
- const h = O(e.uid, "options");
15498
+ const h = w(e.uid, "options");
15503
15499
  qF(a, h?.legendInteractionsDisabled), e instanceof Kt && MF({ legend: a, chart: e, seriesConfig: s, legendConfig: d });
15504
15500
  }
15505
15501
  }
@@ -15563,7 +15559,7 @@ function Nc(t, e) {
15563
15559
  function Tm(t) {
15564
15560
  const { chart: e, scrollbarXConfig: i, scrollbarYConfig: a } = t;
15565
15561
  if (!(e instanceof Vi) && e instanceof pe) {
15566
- const o = O(e.uid, "isRotated");
15562
+ const o = w(e.uid, "isRotated");
15567
15563
  (e.get("scrollbarX") === void 0 || e.get("scrollbarY") === void 0) && Am(e);
15568
15564
  const n = e.get("scrollbarX"), s = e.get("scrollbarY");
15569
15565
  [n, s].forEach((r) => {
@@ -15630,7 +15626,7 @@ function nA(t) {
15630
15626
  const n = o.dataItem, s = t.chart;
15631
15627
  let r = 0;
15632
15628
  if (s) {
15633
- const l = O(s.uid, "config"), c = l?.roundCorners, d = n ? cl(n, t) : Number.NaN;
15629
+ const l = w(s.uid, "config"), c = l?.roundCorners, d = n ? cl(n, t) : Number.NaN;
15634
15630
  if (c?.rounded === !0 && Number.isFinite(d) && d !== 0 && (l === void 0 || !gr(l) || oA(n))) {
15635
15631
  const f = c?.cornerRadius ?? 0;
15636
15632
  r = (l?.rotated === !0 ? ["cornerRadiusTR", "cornerRadiusBR"] : ["cornerRadiusTL", "cornerRadiusTR"]).includes(i) ? f : 0;
@@ -15673,7 +15669,7 @@ function rA(t) {
15673
15669
  isChartFillSymbol: !0
15674
15670
  };
15675
15671
  let b = {}, p = {};
15676
- const S = wd(a), C = se(e.uid, "bulletTemplate");
15672
+ const S = Od(a), C = se(e.uid, "bulletTemplate");
15677
15673
  if (C && g?.style && g.style !== et.Solid && Hi({
15678
15674
  root: l,
15679
15675
  element: C,
@@ -15746,7 +15742,7 @@ function lA(t) {
15746
15742
  interactionsDisabled: l
15747
15743
  } = t, c = e.chart;
15748
15744
  if (c !== void 0) {
15749
- const d = O(c.uid, "config"), u = d?.series.length ?? 0, f = j(d?.series);
15745
+ const d = w(c.uid, "config"), u = d?.series.length ?? 0, f = j(d?.series);
15750
15746
  Na(e, !1);
15751
15747
  const g = rA({
15752
15748
  series: e,
@@ -16238,7 +16234,7 @@ function RA(t) {
16238
16234
  });
16239
16235
  }
16240
16236
  }
16241
- function OA(t) {
16237
+ function wA(t) {
16242
16238
  const {
16243
16239
  chartConfig: e,
16244
16240
  stepLineSeries: i,
@@ -16307,7 +16303,7 @@ function Qn(t) {
16307
16303
  }
16308
16304
  };
16309
16305
  }
16310
- function wA(t, e) {
16306
+ function OA(t, e) {
16311
16307
  return t.series.values.find((i) => CA(i, e));
16312
16308
  }
16313
16309
  function km(t, e) {
@@ -16326,7 +16322,7 @@ function Im(t) {
16326
16322
  function Rm(t) {
16327
16323
  const { chart: e, candleSeriesIndex: i, numberOfCandleStickSeries: a } = t;
16328
16324
  let o, n;
16329
- const s = O(e.uid, "config");
16325
+ const s = w(e.uid, "config");
16330
16326
  if (s) {
16331
16327
  const r = Qe(s), l = Ct(s), c = r ? e.yAxes.getIndex(0)?.get("renderer") : e.xAxes.getIndex(0)?.get("renderer"), d = c?.get("cellStartLocation"), u = c?.get("cellEndLocation");
16332
16328
  if (d && u) {
@@ -16341,7 +16337,7 @@ function DA(t) {
16341
16337
  if (e) {
16342
16338
  const { chart: o } = e;
16343
16339
  if (o) {
16344
- const n = O(o.uid, "config");
16340
+ const n = w(o.uid, "config");
16345
16341
  if (n) {
16346
16342
  const s = j(n.series);
16347
16343
  if (Im(s)) {
@@ -16360,7 +16356,7 @@ function DA(t) {
16360
16356
  }
16361
16357
  }
16362
16358
  function $A(t) {
16363
- const e = O(t.uid, "config");
16359
+ const e = w(t.uid, "config");
16364
16360
  if (e) {
16365
16361
  const i = j(e.series), a = e.series.length, n = Qe(e) ? t.yAxes.getIndex(0)?.get("renderer") : t.xAxes.getIndex(0)?.get("renderer"), s = n?.get("cellStartLocation"), r = n?.get("cellEndLocation");
16366
16362
  if (s && r) {
@@ -16432,9 +16428,9 @@ function BA(t) {
16432
16428
  me.Bottom
16433
16429
  ];
16434
16430
  [s, r, l].forEach((u, f) => {
16435
- u && (u.set("id", `${o.id}_${c[f]}`), OA({ ...t, stepLineSeries: u }));
16431
+ u && (u.set("id", `${o.id}_${c[f]}`), wA({ ...t, stepLineSeries: u }));
16436
16432
  });
16437
- const d = wA(e, n);
16433
+ const d = OA(e, n);
16438
16434
  d && (d.set("id", `${o.id}_${me.Outliers}`), AA({ ...t, outlierSeries: d }));
16439
16435
  } else a instanceof ne && o.type === y.LineSeries && yA({ ...t, meanLineSeries: a });
16440
16436
  }
@@ -16529,7 +16525,7 @@ function EA(t, e) {
16529
16525
  }
16530
16526
  e.fills.template.set("visible", t.showArea === !0);
16531
16527
  }
16532
- function Om(t) {
16528
+ function wm(t) {
16533
16529
  const {
16534
16530
  series: e,
16535
16531
  seriesConfig: i,
@@ -16643,8 +16639,8 @@ function _A(t) {
16643
16639
  seriesSymbolMapForEvent: l
16644
16640
  } = t, { chart: c } = e;
16645
16641
  if (c !== void 0) {
16646
- const d = O(c.uid, "config"), u = O(c.uid, "isRotated") ?? !1, f = j(d?.series);
16647
- Om({
16642
+ const d = w(c.uid, "config"), u = w(c.uid, "isRotated") ?? !1, f = j(d?.series);
16643
+ wm({
16648
16644
  series: e,
16649
16645
  seriesConfig: i,
16650
16646
  seriesIndex: a,
@@ -16721,7 +16717,7 @@ function UA(t) {
16721
16717
  o.set("cursorOverStyle", "pointer"), o.setup = (n) => {
16722
16718
  n.set(
16723
16719
  "background",
16724
- wa.new(n.root, {
16720
+ Oa.new(n.root, {
16725
16721
  fill: n.root.interfaceColors.get("alternativeBackground"),
16726
16722
  fillOpacity: 0
16727
16723
  })
@@ -16730,11 +16726,11 @@ function UA(t) {
16730
16726
  const { chart: s } = e, { dataItem: r } = n.target, c = (r instanceof xr && YA(r) ? r : void 0)?.get("slice");
16731
16727
  if (s && c && el(s.uid)) {
16732
16728
  const d = uf(n, e);
16733
- Oe({
16729
+ we({
16734
16730
  element: c,
16735
16731
  selected: Xt(c.uid, "selected") !== !0
16736
16732
  }), d && e.slices.each((u) => {
16737
- u !== c && Oe({ element: u, selected: !1 });
16733
+ u !== c && we({ element: u, selected: !1 });
16738
16734
  }), Io({
16739
16735
  chart: s,
16740
16736
  selectionSource: ge.SelectionByClick,
@@ -16768,9 +16764,9 @@ function qA(t) {
16768
16764
  const e = t.dataItem?.component;
16769
16765
  let i;
16770
16766
  if (e instanceof Je) {
16771
- const a = O(e.chart?.uid ?? Number.NaN, "config");
16767
+ const a = w(e.chart?.uid ?? Number.NaN, "config");
16772
16768
  if (a?.series[0].type === y.PieSeries) {
16773
- const o = a.series[0].dataLabelsInside ?? F.pieChart.dataLabelsInside, n = K(a?.series[0].dataLabels?.content?.color).color, s = e.chart?.get("background")?.get("fill") ?? K(F.backgroundColor).color, l = O(e.chart?.uid ?? Number.NaN, "options")?.autoInverseDataLabelTextColor ?? E.options.autoInverseDataLabelTextColor, d = t.dataItem?.dataContext?.[E.pieChart.technicalFieldSliceId], f = e.slices.values.find(
16769
+ const o = a.series[0].dataLabelsInside ?? F.pieChart.dataLabelsInside, n = K(a?.series[0].dataLabels?.content?.color).color, s = e.chart?.get("background")?.get("fill") ?? K(F.backgroundColor).color, l = w(e.chart?.uid ?? Number.NaN, "options")?.autoInverseDataLabelTextColor ?? E.options.autoInverseDataLabelTextColor, d = t.dataItem?.dataContext?.[E.pieChart.technicalFieldSliceId], f = e.slices.values.find(
16774
16770
  (h) => (h.dataItem?.dataContext)[E.pieChart.technicalFieldSliceId] === d
16775
16771
  )?.get("fill") ?? K(a.series[0].fillSymbol?.color).color, g = n ?? t.text.get("fill");
16776
16772
  i = g, g && f && l && o && (i = yf({ textBackgroundColor: f, chartBackgroundColor: s }));
@@ -16817,7 +16813,7 @@ function KA(t, e) {
16817
16813
  percentagePrefix: c,
16818
16814
  percentageSuffix: d
16819
16815
  }), b = ir(u), p = $t(
16820
- O(t.chart?.uid ?? Number.NaN, "rtl") ?? !1,
16816
+ w(t.chart?.uid ?? Number.NaN, "rtl") ?? !1,
16821
16817
  " "
16822
16818
  );
16823
16819
  g = (S, C, x) => {
@@ -16840,7 +16836,7 @@ function QA(t) {
16840
16836
  wrap: i.optimizeDataLabelsOverlapping ?? F.pieChart.alignDataLabels
16841
16837
  }
16842
16838
  });
16843
- const r = O(e.chart?.uid ?? 0, "rtl"), l = !s && (i.alignDataLabels ?? F.pieChart.alignDataLabels), c = i.optimizeDataLabelsOverlapping === !0;
16839
+ const r = w(e.chart?.uid ?? 0, "rtl"), l = !s && (i.alignDataLabels ?? F.pieChart.alignDataLabels), c = i.optimizeDataLabelsOverlapping === !0;
16844
16840
  e.set("alignLabels", l), e.labels.template.setAll({
16845
16841
  forceHidden: !(o && o?.visible !== !1),
16846
16842
  breakWords: c ? !1 : void 0,
@@ -16990,12 +16986,12 @@ function sT(t) {
16990
16986
  const { chart: g } = e;
16991
16987
  g instanceof Kt && Dm(g, e);
16992
16988
  }
16993
- function wm(t, e) {
16989
+ function Om(t, e) {
16994
16990
  const i = it(
16995
- O(t.uid, "pieChartRadius") ?? F.pieChart.chartOptimizedRadius
16991
+ w(t.uid, "pieChartRadius") ?? F.pieChart.chartOptimizedRadius
16996
16992
  );
16997
16993
  let a = i;
16998
- const n = t.series?.values?.[0] ?? e, s = O(t.uid, "config");
16994
+ const n = t.series?.values?.[0] ?? e, s = w(t.uid, "config");
16999
16995
  if (s !== void 0) {
17000
16996
  const { series: r } = s, {
17001
16997
  innerRadius: l,
@@ -17035,14 +17031,14 @@ function wm(t, e) {
17035
17031
  function rT(t) {
17036
17032
  t.isDisposed() || t.events.onDebounced(
17037
17033
  oe.BoundsChanged,
17038
- () => wm(t),
17034
+ () => Om(t),
17039
17035
  F.debounceTime
17040
17036
  );
17041
17037
  }
17042
17038
  function Dm(t, e) {
17043
17039
  if (!t.isDisposed()) {
17044
17040
  const i = t.radius();
17045
- ht(t.uid, { pieChartRadius: i }), wm(t, e);
17041
+ ht(t.uid, { pieChartRadius: i }), Om(t, e);
17046
17042
  }
17047
17043
  }
17048
17044
  function lT(t) {
@@ -17136,8 +17132,8 @@ function fT(t) {
17136
17132
  seriesSymbolMapForEvent: l
17137
17133
  } = t, { chart: c } = e;
17138
17134
  if (c !== void 0) {
17139
- const d = O(c.uid, "config"), u = O(c.uid, "isRotated") ?? !1, f = j(d?.series);
17140
- Om({
17135
+ const d = w(c.uid, "config"), u = w(c.uid, "isRotated") ?? !1, f = j(d?.series);
17136
+ wm({
17141
17137
  series: e,
17142
17138
  seriesConfig: i,
17143
17139
  seriesIndex: a,
@@ -17312,13 +17308,13 @@ function Jn(t) {
17312
17308
  utilsStrings: S,
17313
17309
  groupOfSlicesUpdateNeeded: C,
17314
17310
  labelUpdateNeeded: x
17315
- } = t, { chartRenderer: L } = i, { root: v } = e, { series: T } = i, k = W(i.series), R = j(i.series), I = e.series.values, w = _i(i), $ = i.series.length, B = /* @__PURE__ */ new Map(), M = Lt(p, a?.popupTemplateFieldInfosEnabled), P = tt(p), U = Ge(P) ? void 0 : rr(L, P.renderer), z = l || s || r || c || u, G = {
17311
+ } = t, { chartRenderer: L } = i, { root: v } = e, { series: T } = i, k = W(i.series), R = j(i.series), I = e.series.values, O = _i(i), $ = i.series.length, B = /* @__PURE__ */ new Map(), M = Lt(p, a?.popupTemplateFieldInfosEnabled), P = tt(p), U = Ge(P) ? void 0 : rr(L, P.renderer), z = l || s || r || c || u, G = {
17316
17312
  root: v,
17317
17313
  chartConfig: i,
17318
17314
  queryObject: p,
17319
17315
  // @REV: temporary
17320
17316
  options: a,
17321
- colorMatch: w,
17317
+ colorMatch: O,
17322
17318
  dataWasUpdated: s,
17323
17319
  sortChanged: r,
17324
17320
  seriesWereReinitialized: l,
@@ -17442,7 +17438,7 @@ function gT(t) {
17442
17438
  const i = e.bullets?.[0];
17443
17439
  if (i) {
17444
17440
  const a = i.get("sprite"), o = Xt(a.uid, "selected") !== !0;
17445
- Oe({ element: a, selected: o });
17441
+ we({ element: a, selected: o });
17446
17442
  }
17447
17443
  });
17448
17444
  }
@@ -17450,20 +17446,20 @@ function hT(t) {
17450
17446
  t.columns.each((e) => {
17451
17447
  if (!e.dataItem?.dataContext?.[So]) {
17452
17448
  const i = Xt(e.uid, "selected") !== !0;
17453
- Oe({ element: e, selected: i });
17449
+ we({ element: e, selected: i });
17454
17450
  }
17455
17451
  });
17456
17452
  }
17457
17453
  function pT(t) {
17458
17454
  t.slices.each((e) => {
17459
17455
  const i = Xt(e.uid, "selected") !== !0;
17460
- Oe({ element: e, selected: i });
17456
+ we({ element: e, selected: i });
17461
17457
  });
17462
17458
  }
17463
17459
  async function bT(t) {
17464
17460
  const { chart: e, queryObject: i, errorStrings: a } = t;
17465
17461
  if (Ur(e)) {
17466
- const o = O(e.uid, "actionMode");
17462
+ const o = w(e.uid, "actionMode");
17467
17463
  o !== Q.MonoSelection && o !== Q.None && (e.series.each((n) => {
17468
17464
  switch (!0) {
17469
17465
  case n instanceof xe:
@@ -17557,7 +17553,7 @@ function xT(t) {
17557
17553
  function _s(t) {
17558
17554
  const { chart: e, actionMode: i, cursorRange: a } = t;
17559
17555
  if (Ur(e)) {
17560
- const o = O(e.uid, "actionMode"), n = i ?? o ?? F.actionMode;
17556
+ const o = w(e.uid, "actionMode"), n = i ?? o ?? F.actionMode;
17561
17557
  ht(e.uid, { actionMode: n }), n === Q.None && ji({ chart: e, selectionSource: ge.ClearSelection }), nF({ chart: e, actionMode: n, cursorRange: a });
17562
17558
  }
17563
17559
  }
@@ -17668,7 +17664,7 @@ function AT(t) {
17668
17664
  rotationChanged: f,
17669
17665
  axisLabelsBehaviorChanged: R,
17670
17666
  timeIntervalInfoWasReset: x
17671
- }), w = I || wL({
17667
+ }), O = I || OL({
17672
17668
  currentChartSeriesCount: e.series.length,
17673
17669
  chartConfig: i,
17674
17670
  dataUpdateDetails: s,
@@ -17676,7 +17672,7 @@ function AT(t) {
17676
17672
  sizePolicyChangesRequireSeriesReinit: v,
17677
17673
  seriesCompositionChanged: b
17678
17674
  });
17679
- return I && (Jf({ chart: e, chartConfig: i, errorStrings: k, queryObject: u }), R = [!0, !0]), w && (e.series.clear(), ul({ chart: e, chartConfig: i, options: d, utilsStrings: T, queryObject: u, errorStrings: k }), e.gridContainer?.toBack?.()), em({
17675
+ return I && (Jf({ chart: e, chartConfig: i, errorStrings: k, queryObject: u }), R = [!0, !0]), O && (e.series.clear(), ul({ chart: e, chartConfig: i, options: d, utilsStrings: T, queryObject: u, errorStrings: k }), e.gridContainer?.toBack?.()), em({
17680
17676
  chart: e,
17681
17677
  chartConfig: i,
17682
17678
  queryObject: u,
@@ -17685,7 +17681,7 @@ function AT(t) {
17685
17681
  axesInitializationNeeded: I,
17686
17682
  heatChartHideEmptyRowsAndColumnsChanged: p,
17687
17683
  sortChanged: c,
17688
- timeIntervalInfo: a?.timeIntervalInfo ?? O(e.uid, "timeIntervalInfo"),
17684
+ timeIntervalInfo: a?.timeIntervalInfo ?? w(e.uid, "timeIntervalInfo"),
17689
17685
  axisLabelsBehaviorChanged: R,
17690
17686
  anyGuideAboveChanged: o,
17691
17687
  xAxisLabelFormatter: d?.xAxisLabelFormatter,
@@ -17703,7 +17699,7 @@ function AT(t) {
17703
17699
  dataWasUpdated: n,
17704
17700
  sortChanged: c,
17705
17701
  seriesIndexMapper: r,
17706
- seriesWereReinitialized: w,
17702
+ seriesWereReinitialized: O,
17707
17703
  rotationChanged: f,
17708
17704
  colorMatchChanged: g,
17709
17705
  stackedTypeChanged: h,
@@ -17722,7 +17718,7 @@ function AT(t) {
17722
17718
  chart: e,
17723
17719
  scrollbarXConfig: i.axes?.[0]?.scrollbar,
17724
17720
  scrollbarYConfig: i.axes?.[1]?.scrollbar
17725
- }), w;
17721
+ }), O;
17726
17722
  }
17727
17723
  function TT(t) {
17728
17724
  const { chart: e, legend: i, updateProps: a } = t, {
@@ -17741,7 +17737,7 @@ function TT(t) {
17741
17737
  } = a, { data: p } = b, { utilsStrings: S, errorStrings: C } = g, { root: x } = e, { popupTemplateFieldInfosEnabled: L } = n ?? {};
17742
17738
  if (o === void 0)
17743
17739
  throw new Error();
17744
- let v = O(e.uid, "config");
17740
+ let v = w(e.uid, "config");
17745
17741
  if (e.isDisposed() || !hd(v, o))
17746
17742
  throw new gi(io.ChartDisposed);
17747
17743
  v ??= o, ht(e.uid, { queryObject: h });
@@ -17755,7 +17751,7 @@ function TT(t) {
17755
17751
  colorMatchApplied: d,
17756
17752
  rendererFieldNames: u
17757
17753
  });
17758
- const R = Lt(h, L), I = Ig(v, o), w = bd(v, o), $ = td(v, o), B = Rg(v, o), M = yT(v, o), P = JSON.stringify(jo(v.series)) !== JSON.stringify(jo(o.series)), U = Js(v, o), z = Og(v, o), G = pd(v, o), q = Ld(v, o), X = wg(v, o), Y = xn({
17754
+ const R = Lt(h, L), I = Ig(v, o), O = bd(v, o), $ = td(v, o), B = Rg(v, o), M = yT(v, o), P = JSON.stringify(jo(v.series)) !== JSON.stringify(jo(o.series)), U = Js(v, o), z = wg(v, o), G = pd(v, o), q = Ld(v, o), X = Og(v, o), Y = xn({
17759
17755
  oldConfig: l ? f : v,
17760
17756
  newConfig: o,
17761
17757
  dataWasUpdated: s
@@ -17765,7 +17761,7 @@ function TT(t) {
17765
17761
  const ft = yd({
17766
17762
  oldConfig: v,
17767
17763
  newConfig: o,
17768
- rotationChanged: w
17764
+ rotationChanged: O
17769
17765
  }), ti = v.series, fi = o.series;
17770
17766
  if (s) {
17771
17767
  const { queryConfig: ba, count: ts } = b ?? {};
@@ -17780,9 +17776,9 @@ function TT(t) {
17780
17776
  const Ro = e instanceof Kt ? kr(
17781
17777
  ti,
17782
17778
  fi
17783
- ) : !1, es = ed({ oldConfig: v, newConfig: o }), Oo = /* @__PURE__ */ new Map();
17779
+ ) : !1, es = ed({ oldConfig: v, newConfig: o }), wo = /* @__PURE__ */ new Map();
17784
17780
  (f ?? o).series.forEach((ba, ts) => {
17785
- Oo.set(ba.id, ts);
17781
+ wo.set(ba.id, ts);
17786
17782
  }), tm(e, o.background), nm(e, { title: o.title, subtitle: o.subtitle }), sm(e, o.footer), om({
17787
17783
  root: x,
17788
17784
  chart: e,
@@ -17792,7 +17788,7 @@ function TT(t) {
17792
17788
  errorStrings: C
17793
17789
  });
17794
17790
  const Za = W(o.series);
17795
- let wo = !1;
17791
+ let Oo = !1;
17796
17792
  switch (Za) {
17797
17793
  case y.PieSeries: {
17798
17794
  e instanceof Kt && (si(h), FT({
@@ -17822,20 +17818,20 @@ function TT(t) {
17822
17818
  case y.GaugeSeries:
17823
17819
  case y.HistogramSeries:
17824
17820
  case y.BoxPlotSeries:
17825
- e instanceof pe && (wo = AT({
17821
+ e instanceof pe && (Oo = AT({
17826
17822
  chart: e,
17827
17823
  chartConfig: o,
17828
17824
  options: n,
17829
17825
  data: p,
17830
17826
  dataWasUpdated: s,
17831
- seriesIndexMapper: Oo,
17827
+ seriesIndexMapper: wo,
17832
17828
  dataUpdateDetails: r,
17833
17829
  seriesFilteredOut: l,
17834
17830
  heatChartHideEmptyRowsAndColumnsChanged: Le,
17835
17831
  sortChanged: Y,
17836
17832
  axisLabelsBehaviorChanged: ft,
17837
17833
  anyGuideAboveChanged: I,
17838
- rotationChanged: w,
17834
+ rotationChanged: O,
17839
17835
  colorMatchChanged: $,
17840
17836
  stackedTypeChanged: B,
17841
17837
  seriesStyleChanged: M,
@@ -17864,7 +17860,7 @@ function TT(t) {
17864
17860
  queryObject: h
17865
17861
  });
17866
17862
  };
17867
- wo ? ci(ba) : ba();
17863
+ Oo ? ci(ba) : ba();
17868
17864
  }
17869
17865
  _s({ chart: e, actionMode: n?.actionMode, cursorRange: n?.cursorRange }), Pf(e), gf({ chart: e, chartConfig: o, delayCallback: s });
17870
17866
  }
@@ -17971,8 +17967,8 @@ function RT(t) {
17971
17967
  });
17972
17968
  const { title: k, subtitle: R, footer: I } = i;
17973
17969
  rF(S, C), nm(C, { title: k, subtitle: R }), lF(C), sm(C, I), iF(S, C), tm(C, i.background);
17974
- const w = Lt(c, a?.popupTemplateFieldInfosEnabled);
17975
- ht(C.uid, { fieldList: w }), ht(C.uid, {
17970
+ const O = Lt(c, a?.popupTemplateFieldInfosEnabled);
17971
+ ht(C.uid, { fieldList: O }), ht(C.uid, {
17976
17972
  options: a,
17977
17973
  queryConfig: b,
17978
17974
  elementCount: p,
@@ -18070,12 +18066,12 @@ function Vc(t) {
18070
18066
  const i = t.length > 1 ? "ol" : "div";
18071
18067
  return `<${i}>${e}</${i}>`;
18072
18068
  }
18073
- function OT(t) {
18069
+ function wT(t) {
18074
18070
  const { chartConfig: e, createMessage: i, status: a, errorStrings: o } = t, { schemaErrors: n, customErrors: s, warnings: r } = a;
18075
18071
  let l = "", c = "";
18076
18072
  return e === void 0 ? (c = i === void 0 ? o.modalHeaders.newChart : "", l = i ?? o.errors.newChartRequest) : n.length > 0 ? (c = o.modalHeaders.error, l = o.errors.simpleError) : s.length > 0 ? (c = o.modalHeaders.error, l = Vc(s)) : r.length > 0 && (c = o.modalHeaders.warning, l = `<p>${o.errors.warningRequest}</p>${Vc(r)}`), { title: c, message: l };
18077
18073
  }
18078
- function wT(t, e) {
18074
+ function OT(t, e) {
18079
18075
  let i;
18080
18076
  switch (t) {
18081
18077
  case y.PieSeries:
@@ -18793,7 +18789,7 @@ class ok extends Vm {
18793
18789
  this._checkIfDataUpdateIsNeeded.value?.dataUpdateNeeded
18794
18790
  ],
18795
18791
  task: async ([e, i, a, o, n, s, r, l, c, d, u, f, g, h, b, p], { signal: S }) => {
18796
- const C = this.internalModel?.config, x = b !== this._lastRenderedProps?.extraProps?.layer, L = this.filterByExtent !== this._lastRenderedProps?.extraProps?.filterByExtent || this.filterByViewExtent !== this._lastRenderedProps?.extraProps?.filterByViewExtent, v = a === !0 && (p || x || L), T = Ol({
18792
+ const C = this.internalModel?.config, x = b !== this._lastRenderedProps?.extraProps?.layer, L = this.filterByExtent !== this._lastRenderedProps?.extraProps?.filterByExtent || this.filterByViewExtent !== this._lastRenderedProps?.extraProps?.filterByViewExtent, v = a === !0 && (p || x || L), T = wl({
18797
18793
  runtimeDataFilters: o,
18798
18794
  view: n,
18799
18795
  viewTimeExtentChangePolicy: s,
@@ -18817,8 +18813,8 @@ class ok extends Vm {
18817
18813
  errorStrings: g
18818
18814
  });
18819
18815
  if (this.internalModel?.config?.series.length !== R?.series.length) {
18820
- const w = R?.series.filter(($) => !this.internalModel?.config?.series.some((B) => B.id === $.id)) ?? [];
18821
- this.internalModel?.config?.series.push(...w);
18816
+ const O = R?.series.filter(($) => !this.internalModel?.config?.series.some((B) => B.id === $.id)) ?? [];
18817
+ this.internalModel?.config?.series.push(...O);
18822
18818
  }
18823
18819
  return { alteredConfig: R, preFetchedQueryResponse: I };
18824
18820
  },
@@ -18873,7 +18869,7 @@ class ok extends Vm {
18873
18869
  ],
18874
18870
  task: async ([e, i, a, o, n, s, r, l, c, d, u, f, g, h, b, p, S, C, x, L, v, T, k], { signal: R }) => {
18875
18871
  let I;
18876
- const { dataUpdateNeeded: w, dataUpdateDetails: $ } = await this._checkIfDataUpdateIsNeeded.taskComplete;
18872
+ const { dataUpdateNeeded: O, dataUpdateDetails: $ } = await this._checkIfDataUpdateIsNeeded.taskComplete;
18877
18873
  if (T && x && !Zi(T)) {
18878
18874
  const B = El({
18879
18875
  input: T,
@@ -18882,7 +18878,7 @@ class ok extends Vm {
18882
18878
  errorStrings: i,
18883
18879
  layerLoadError: this.layerLoadError
18884
18880
  });
18885
- if (B.valid && w) {
18881
+ if (B.valid && O) {
18886
18882
  const M = Lt(x, a || o), P = Gs({
18887
18883
  syncViewTimeZone: S,
18888
18884
  syncViewTimeZoneInclusionList: C,
@@ -18922,7 +18918,7 @@ class ok extends Vm {
18922
18918
  chartData: M,
18923
18919
  x: T.series[0].x
18924
18920
  });
18925
- I = { valid: !Number.isNaN(P), data: { ...this._processedChartData } }, Number.isNaN(P) && M.length > 0 && (I.invalidType = Oi.NoValue, I.count = M.length);
18921
+ I = { valid: !Number.isNaN(P), data: { ...this._processedChartData } }, Number.isNaN(P) && M.length > 0 && (I.invalidType = wi.NoValue, I.count = M.length);
18926
18922
  }
18927
18923
  }
18928
18924
  return { dataInfo: I, dataWasUpdated: !!I };
@@ -19052,7 +19048,7 @@ class ok extends Vm {
19052
19048
  const p = new Hm();
19053
19049
  Object.entries(c).forEach(([C, x]) => {
19054
19050
  if (Array.isArray(x) && x.length > 0) {
19055
- const L = wl({
19051
+ const L = Ol({
19056
19052
  rawData: x,
19057
19053
  config: r,
19058
19054
  layer: n,
@@ -19071,7 +19067,7 @@ class ok extends Vm {
19071
19067
  } else {
19072
19068
  let p;
19073
19069
  if ("bins" in c ? p = c.bins : "dataItems" in c && (p = c.dataItems), p) {
19074
- const S = wl({
19070
+ const S = Ol({
19075
19071
  rawData: p,
19076
19072
  config: r,
19077
19073
  layer: n,
@@ -19106,7 +19102,7 @@ class ok extends Vm {
19106
19102
  }
19107
19103
  async refresh(e) {
19108
19104
  const { updateData: i = !0, resetAxesBounds: a = !1 } = e ?? {};
19109
- if (i && this.forceDataUpdateTick++, a && this.internalModel) {
19105
+ if (i && this.forceDataUpdateTick++, a && this.internalModel && this._chart !== void 0) {
19110
19106
  const o = this.internalModel.config;
19111
19107
  delete o?.axes?.[0]?.minimum, delete o?.axes?.[0]?.maximum, delete o?.axes?.[1]?.minimum, delete o?.axes?.[1]?.maximum, this.internalModel.config = o;
19112
19108
  }
@@ -19427,7 +19423,7 @@ class ok extends Vm {
19427
19423
  this._watchHandlersController.removeSelectionManagerChangeWatchHandler();
19428
19424
  }
19429
19425
  _applyPlaceholderForPartialConfig(e) {
19430
- const i = Vl(this.internalModel) ? y.ComboLineAndBarSeries : W(e?.series), a = wT(i, this._commonStrings?.errorStrings);
19426
+ const i = Vl(this.internalModel) ? y.ComboLineAndBarSeries : W(e?.series), a = OT(i, this._commonStrings?.errorStrings);
19431
19427
  this.notify(a);
19432
19428
  }
19433
19429
  _checkForIncompatibleChartVersion() {
@@ -19484,7 +19480,7 @@ class ok extends Vm {
19484
19480
  async _completeChartOptionsWithSelectionInfo(e) {
19485
19481
  const { options: i, alteredConfig: a, queryObject: o, dataUpdateNeeded: n, dataUpdateDetails: s } = e, r = this._lastRenderedProps?.options?.selectionData, l = j(a.series);
19486
19482
  if (!this.filterBySelection && !s?.common?.filterBySelectionChanged && !Ge(o)) {
19487
- const c = Ol({
19483
+ const c = wl({
19488
19484
  runtimeDataFilters: this.runtimeDataFilters,
19489
19485
  view: this.view,
19490
19486
  viewTimeExtentChangePolicy: this.viewTimeExtentChangePolicy,
@@ -19570,7 +19566,7 @@ class ok extends Vm {
19570
19566
  axisConfigIndex: n,
19571
19567
  chartData: jt(i?.data ?? this._sanitizedChartData)
19572
19568
  }) || (a = !1, this._raiseInvalidDataWarning({
19573
- invalidType: n === 0 ? Oi.NegativeValueInXAxisLogScale : Oi.NegativeValueInYAxisLogScale,
19569
+ invalidType: n === 0 ? wi.NegativeValueInXAxisLogScale : wi.NegativeValueInYAxisLogScale,
19574
19570
  queryObject: e
19575
19571
  }));
19576
19572
  }), a;
@@ -19580,13 +19576,13 @@ class ok extends Vm {
19580
19576
  let n = !1;
19581
19577
  if (i?.data) {
19582
19578
  const s = jt(i.data);
19583
- let r = Oi.EmptyDataSet;
19579
+ let r = wi.EmptyDataSet;
19584
19580
  th({
19585
19581
  chartConfig: a,
19586
19582
  nullAsValid: this.nullAsValid,
19587
19583
  zeroCountAsValid: this.zeroCountAsValid,
19588
19584
  dataSet: s
19589
- }) && (Vo(this.internalModel?.config) && rs(this.internalModel?.config) && i.count && i.count > 0 && (r = Oi.NoValue), n = !0, this.showLoader = !1, this._raiseInvalidDataWarning({ invalidType: r, elementCount: i.count, queryObject: o }));
19585
+ }) && (Vo(this.internalModel?.config) && rs(this.internalModel?.config) && i.count && i.count > 0 && (r = wi.NoValue), n = !0, this.showLoader = !1, this._raiseInvalidDataWarning({ invalidType: r, elementCount: i.count, queryObject: o }));
19590
19586
  }
19591
19587
  return n;
19592
19588
  }
@@ -19607,21 +19603,21 @@ class ok extends Vm {
19607
19603
  isByFeatureGauge: l,
19608
19604
  errorStrings: this._commonStrings?.errorStrings
19609
19605
  });
19610
- (c.keyword !== Oi.EmptyDataSet || this.infoModalMessage === void 0 || c.keyword === Oi.EmptyDataSet && l) && (this.arcgisBadDataWarningRaise.emit(c), this.notify(c.message, c.header));
19606
+ (c.keyword !== wi.EmptyDataSet || this.infoModalMessage === void 0 || c.keyword === wi.EmptyDataSet && l) && (this.arcgisBadDataWarningRaise.emit(c), this.notify(c.message, c.header));
19611
19607
  }
19612
19608
  _processInvalidConfigStatus(e, i) {
19613
19609
  if (this.enableConfiguration || this.configurationEnabled)
19614
19610
  this._handleUpdateCompleted(e);
19615
19611
  else {
19616
19612
  this.showLoader = !1;
19617
- const { title: a, message: o } = OT({
19613
+ const { title: a, message: o } = wT({
19618
19614
  chartConfig: i,
19619
19615
  createMessage: this.placeholder,
19620
19616
  status: e,
19621
19617
  errorStrings: this._commonStrings?.errorStrings
19622
19618
  });
19623
19619
  this.arcgisInvalidConfigWarningRaise.emit({
19624
- keyword: Oi.InvalidConfig,
19620
+ keyword: wi.InvalidConfig,
19625
19621
  header: a,
19626
19622
  message: o
19627
19623
  }), this.notify(o, a);
@@ -19742,13 +19738,13 @@ class ok extends Vm {
19742
19738
  chartConfig: u,
19743
19739
  allowColorMatch: ad({ chartConfig: u, queryObject: o })
19744
19740
  })), this._calciteThemeColors && (u = zT(u, this._calciteThemeColors), this._calciteThemeApplied = ml(this.el));
19745
- let w = !1, $;
19741
+ let O = !1, $;
19746
19742
  if (u.series[0].type === y.PieSeries) {
19747
19743
  const M = jt(this._processedChartData), P = jt(b.data);
19748
- w = Zd(M, P), $ = qd({
19744
+ O = Zd(M, P), $ = qd({
19749
19745
  creation: a,
19750
19746
  dataInfo: b,
19751
- pieChartDataActuallyChanged: w,
19747
+ pieChartDataActuallyChanged: O,
19752
19748
  chartConfig: u,
19753
19749
  previousConfig: f,
19754
19750
  queryObject: o,
@@ -19759,7 +19755,7 @@ class ok extends Vm {
19759
19755
  const B = await $p({
19760
19756
  creation: a,
19761
19757
  dataInfo: b,
19762
- pieChartDataActuallyChanged: w,
19758
+ pieChartDataActuallyChanged: O,
19763
19759
  chartConfig: u,
19764
19760
  previousConfig: f,
19765
19761
  pieSlicesSymbols: $,