@arcgis/charts-components 5.2.0-next.157 → 5.2.0-next.158

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.
@@ -19,14 +19,14 @@ import { XYChart as ue, PieChart as Me, AxisFill as Km, AxisFillCircular as Qm,
19
19
  import { Color as Go, percent as gt, LinePattern as Yc, RectPattern as Uc, color as bn, DateFormatter as jc, NumberFormatter as qc, Group as ag, MouseCursorStyle as qt, Label as Xo, DropShadowFilter as og, Sprite as ir, utils as Zc, Tooltip as Kc, Container as ng, RoundedRectangle as sg, Percent as Yo, Slice as rg, options as io, useTheme as lg, unuseTheme as cg, create as ar } from "@amcharts/amcharts4/core.js";
20
20
  import vl from "@amcharts/amcharts4/themes/animated.js";
21
21
  import { W as xe, a as y, b as ss, c as te, S as Qc, d as Ut, e as Ue, f as H, g as yn, h as Jc, i as Ll, j as Sa, k as Fl, l as rs, m as Al, n as Ca, o as dg } from "../../chunks/chart-object-literals.js";
22
- import { C as _, f as ed, e as po, i as no, a as Uo, b as td, m as id, c as Sn, d as ad, g as jt, h as od, j as nd, k as or, s as nr, l as Ee, n as sd, o as rd, p as jo, q as ug, r as Z, t as it, u as na, v as vt, w as _i, x as V, y as Et, z as sr, A as ai, B as $e, D as ls, E as xa, F as hi, G as pi, H as bt, I as Oe, J as bo, K as Ea, L as Xe, M as Ci, N as rr, O as Ae, P as oi, Q as Ta, R as Cn, S as ni, T as lr, U as cs, V as J, W as St, X as cr, Y as Qt, Z as Ti, _ as ie, $ as Ce, a0 as fg, a1 as Qe, a2 as xn, a3 as nt, a4 as Vi, a5 as di, a6 as ki, a7 as ge, a8 as Wi, a9 as dr, aa as za, ab as Mt, ac as ld, ad as ur, ae as fr, af as cd, ag as mr, ah as gr, ai as Gt, aj as yo, ak as so, al as hr, am as Ha, an as dd, ao as ud, ap as xi, aq as fd, ar as md, as as vn, at as pr, au as Ln, av as br, aw as yr, ax as gd, ay as hd, az as pd, aA as Sr, aB as bd, aC as Tl, aD as Fn, aE as yd, aF as Cr, aG as xr, aH as qo, aI as si, aJ as mg, aK as Sd, aL as Cd, aM as ao, aN as An, aO as xd, aP as vd, aQ as gg, aR as hg, aS as Zo, aT as pg, aU as bg, aV as Ld, aW as Fd, aX as yg, aY as Sg, aZ as Cg, a_ as Tn, a$ as xg, b0 as F, b1 as vg, b2 as Ad, b3 as Lg, b4 as Fg, b5 as Ag, b6 as zt, b7 as Eo, b8 as Ie, b9 as kn, ba as Ki, bb as ro, bc as Td, bd as kd, be as Id, bf as Tg, bg as kg, bh as Ig, bi as Rg, bj as wg, bk as ds, bl as Og, bm as Dg, bn as Rd, bo as Mg, bp as $g, bq as Bg, br as Ng, bs as Pg, bt as Vg, bu as Wg, bv as Eg, bw as zg, bx as zo, by as wd, bz as Ls, bA as kl, bB as Hg, bC as _g, bD as Gg, bE as Xg, bF as us, bG as Yg, bH as gi, bI as Ug, bJ as jg, bK as qg, bL as Zg, bM as Kg, bN as Il, bO as Qg, bP as Jg, bQ as eh, bR as th, bS as ih, bT as ah, bU as Rl, bV as oh, bW as nh, bX as sh, bY as rh, bZ as lh, b_ as ch, b$ as dh, c0 as uh, c1 as fh } from "../../chunks/index.js";
22
+ import { C as _, f as ed, e as po, i as no, a as Uo, b as td, m as id, c as Sn, d as ad, g as jt, h as od, j as nd, k as or, s as nr, l as Ee, n as sd, o as rd, p as jo, q as ug, r as Z, t as it, u as na, v as vt, w as _i, x as V, y as Et, z as sr, A as ai, B as $e, D as ls, E as xa, F as hi, G as pi, H as bt, I as De, J as bo, K as Ea, L as Xe, M as Ci, N as rr, O as Ae, P as oi, Q as Ta, R as Cn, S as ni, T as lr, U as cs, V as J, W as St, X as cr, Y as Qt, Z as Ti, _ as ie, $ as Ce, a0 as fg, a1 as Qe, a2 as xn, a3 as nt, a4 as Vi, a5 as di, a6 as ki, a7 as ge, a8 as Wi, a9 as dr, aa as za, ab as Mt, ac as ld, ad as ur, ae as fr, af as cd, ag as mr, ah as gr, ai as Gt, aj as yo, ak as so, al as hr, am as Ha, an as dd, ao as ud, ap as xi, aq as fd, ar as md, as as vn, at as pr, au as Ln, av as br, aw as yr, ax as gd, ay as hd, az as pd, aA as Sr, aB as bd, aC as Tl, aD as Fn, aE as yd, aF as Cr, aG as xr, aH as qo, aI as si, aJ as mg, aK as Sd, aL as Cd, aM as ao, aN as An, aO as xd, aP as vd, aQ as gg, aR as hg, aS as Zo, aT as pg, aU as bg, aV as Ld, aW as Fd, aX as yg, aY as Sg, aZ as Cg, a_ as Tn, a$ as xg, b0 as F, b1 as vg, b2 as Ad, b3 as Lg, b4 as Fg, b5 as Ag, b6 as zt, b7 as Eo, b8 as Ie, b9 as kn, ba as Ki, bb as ro, bc as Td, bd as kd, be as Id, bf as Tg, bg as kg, bh as Ig, bi as Rg, bj as wg, bk as ds, bl as Dg, bm as Og, bn as Rd, bo as Mg, bp as $g, bq as Bg, br as Ng, bs as Pg, bt as Vg, bu as Wg, bv as Eg, bw as zg, bx as zo, by as wd, bz as Ls, bA as kl, bB as Hg, bC as _g, bD as Gg, bE as Xg, bF as us, bG as Yg, bH as gi, bI as Ug, bJ as jg, bK as qg, bL as Zg, bM as Kg, bN as Il, bO as Qg, bP as Jg, bQ as eh, bR as th, bS as ih, bT as ah, bU as Rl, bV as oh, bW as nh, bX as sh, bY as rh, bZ as lh, b_ as ch, b$ as dh, c0 as uh, c1 as fh } from "../../chunks/index.js";
23
23
  import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
24
24
  import { R as Ye, a as tt, b as K, c as fs, d as In, e as Ko } from "../../chunks/rest-js-object-literals.js";
25
- import { g as ea, r as vr, f as So, a as wl, p as Pt, b as ka, c as Fs, d as mh, e as gh, h as hh, q as bi, i as Re, j as Rn, k as Lr, l as Fr, m as Ar, n as Od, o as Ia, s as Dd, t as wn, u as Md, v as Tr, w as $d, x as ph, y as Bd, z as Co, A as bh, B as yh, C as Sh, D as Ch, E as Ra, F as Ol, G as xh, H as vh, L as Lh, I as Dl } from "../../chunks/index2.js";
25
+ import { g as ea, r as vr, f as So, a as wl, p as Pt, b as ka, c as Fs, d as mh, e as gh, h as hh, q as bi, i as Re, j as Rn, k as Lr, l as Fr, m as Ar, n as Dd, o as Ia, s as Od, t as wn, u as Md, v as Tr, w as $d, x as ph, y as Bd, z as Co, A as bh, B as yh, C as Sh, D as Ch, E as Ra, F as Dl, G as xh, H as vh, L as Lh, I as Ol } from "../../chunks/index2.js";
26
26
  import { g as W, a as Fh } from "../../chunks/series-types.js";
27
27
  import { isLight as Ah } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
28
28
  import { Scrollbar as Ml } from "@amcharts/amcharts4/.internal/core/elements/Scrollbar.js";
29
- import { color as lo, Series as wa, SerialChart as co, percent as at, LinePattern as Nd, RectanglePattern as Th, p50 as ce, p0 as De, p100 as he, Graphics as Rt, DateFormatter as kh, NumberFormatter as Pd, Tooltip as Gi, Template as sa, Bullet as Ii, RoundedRectangle as As, Slice as $l, time as Ih, Label as ht, Rectangle as Oa, DataItem as kr, Timezone as Rh, Container as Bi, Color as wh, HeatLegend as Qo, LinearGradient as Oh, Legend as Vd, Scrollbar as Ts, addLicense as Dh, registry as Mh, Root as $h } from "@amcharts/amcharts5";
29
+ import { color as lo, Series as wa, SerialChart as co, percent as at, LinePattern as Nd, RectanglePattern as Th, p50 as ce, p0 as Oe, p100 as he, Graphics as Rt, DateFormatter as kh, NumberFormatter as Pd, Tooltip as Gi, Template as sa, Bullet as Ii, RoundedRectangle as As, Slice as $l, time as Ih, Label as ht, Rectangle as Da, DataItem as kr, Timezone as Rh, Container as Bi, Color as wh, HeatLegend as Qo, LinearGradient as Dh, Legend as Vd, Scrollbar as Ts, addLicense as Oh, registry as Mh, Root as $h } from "@amcharts/amcharts5";
30
30
  import { PieSeries as Je, PieChart as Kt } from "@amcharts/amcharts5/percent.js";
31
31
  import { RadarCursor as Ir, AxisRendererCircular as Jt, ClockHand as ks, RadarChart as Ei, AxisRendererRadial as Bh, RadarLineSeries as Rr } from "@amcharts/amcharts5/radar.js";
32
32
  import { XYSeries as wr, StepLineSeries as ra, LineSeries as se, ColumnSeries as ye, CategoryAxis as ze, XYCursor as Wd, XYChart as pe, CandlestickSeries as Ri, ValueAxis as Se, DateAxis as Pe, AxisRendererX as dt, AxisLabel as Bl, AxisRendererY as vi, AxisBullet as Nh } from "@amcharts/amcharts5/xy.js";
@@ -78,7 +78,7 @@ function Fp(t, e) {
78
78
  function Ap(t, e) {
79
79
  la(t, e);
80
80
  }
81
- function D(t, e) {
81
+ function O(t, e) {
82
82
  return ca(t, e);
83
83
  }
84
84
  function ae(t, e) {
@@ -161,7 +161,7 @@ function wp(t) {
161
161
  const A = {
162
162
  ..._
163
163
  };
164
- function Op(t) {
164
+ function Dp(t) {
165
165
  const { fill: e, rotation: i, isLinePattern: a, chartBackgroundColor: o } = t;
166
166
  let n;
167
167
  return a !== !1 ? (n = new Yc(), n.width = A.patternLineProperties.width ?? Number.NaN, n.height = A.patternLineProperties.height ?? Number.NaN, n.strokeWidth = A.patternLineProperties.strokeWidth ?? Number.NaN, n.stroke = e, n.rotation = i ?? Number.NaN) : (n = new Uc(), n.rectWidth = A.patternRectProperties.rectWidth ?? Number.NaN, n.rectHeight = A.patternRectProperties.rectHeight ?? Number.NaN, n.width = A.patternRectProperties.width ?? Number.NaN, n.height = A.patternRectProperties.height ?? Number.NaN, n.fillOpacity = A.patternRectProperties.fillOpacity ?? Number.NaN, n.strokeWidth = A.patternRectProperties.strokeWidth ?? Number.NaN, n.fill = ta(o), n.stroke = e, n.rotation = i ?? Number.NaN), n;
@@ -176,7 +176,7 @@ function ql(t) {
176
176
  }
177
177
  return e;
178
178
  }
179
- function Dp(t) {
179
+ function Op(t) {
180
180
  const { fill: e, style: i, chartBackgroundColor: a } = t;
181
181
  let o, n, s = !0;
182
182
  switch (i) {
@@ -206,7 +206,7 @@ function Dp(t) {
206
206
  }
207
207
  case tt.Solid:
208
208
  }
209
- return n !== void 0 && (o = Op({ fill: e, rotation: n, isLinePattern: s, chartBackgroundColor: a })), o;
209
+ return n !== void 0 && (o = Dp({ fill: e, rotation: n, isLinePattern: s, chartBackgroundColor: a })), o;
210
210
  }
211
211
  function It(t, e) {
212
212
  let i;
@@ -237,7 +237,7 @@ function Rs(t, e) {
237
237
  }
238
238
  return i;
239
239
  }
240
- function Or(t, e) {
240
+ function Dr(t, e) {
241
241
  let i = "middle";
242
242
  switch (t ?? e) {
243
243
  case "right":
@@ -346,7 +346,7 @@ function zi(t) {
346
346
  i.maxWidth = o;
347
347
  let s = !1;
348
348
  if (n) {
349
- const r = D(e.uid, "options")?.truncateLongTitles === !0, l = Be(i.uid, "renderedText"), c = Be(i.uid, "sourceText");
349
+ const r = O(e.uid, "options")?.truncateLongTitles === !0, l = Be(i.uid, "renderedText"), c = Be(i.uid, "sourceText");
350
350
  if (r) {
351
351
  const u = Number(i.fontSize) || A.generalFontSize, d = Math.max(1, Math.floor(o / Math.max(u * 0.5, 1)));
352
352
  s = i.wrap, i.wrap = !1;
@@ -421,7 +421,7 @@ function jd(t, e) {
421
421
  function Wp(t, e) {
422
422
  const { color: i, outline: a, style: o } = t, n = It(i);
423
423
  return {
424
- pattern: Dp({ fill: n, style: o, chartBackgroundColor: e }),
424
+ pattern: Op({ fill: n, style: o, chartBackgroundColor: e }),
425
425
  fill: n,
426
426
  outline: jd(a, i)
427
427
  };
@@ -437,7 +437,7 @@ function Ep(t) {
437
437
  angle: c
438
438
  };
439
439
  }
440
- function Dr(t) {
440
+ function Or(t) {
441
441
  const { symbol: e, defaultToColorFromRamp: i, colorRampIndex: a, isChartFillSymbol: o = !1, chartBackgroundColor: n } = t;
442
442
  let s;
443
443
  if (i === !0) {
@@ -450,7 +450,7 @@ function Dr(t) {
450
450
  return td(e) ? s = Ud(e, !0) : Uo(e) ? (e.style ??= A.lineSeries.marker.markerStyle, e.size ??= A.lineSeries.marker.markerBigSize, s = Ep(e)) : no(e) && (s = Wp(e, n)), s;
451
451
  }
452
452
  function tn(t, e, i) {
453
- const a = Or(t.horizontalAlignment, i?.horizontalCenter), o = Rs(t.horizontalAlignment, i?.align), n = Yd(t.verticalAlignment, i?.verticalCenter), s = $p(t.verticalAlignment, i?.valign);
453
+ const a = Dr(t.horizontalAlignment, i?.horizontalCenter), o = Rs(t.horizontalAlignment, i?.align), n = Yd(t.verticalAlignment, i?.verticalCenter), s = $p(t.verticalAlignment, i?.valign);
454
454
  return {
455
455
  fill: It(t.color, A.color),
456
456
  fontFamily: t.font?.family ?? "Arial, Helvetica, sans-serif",
@@ -484,7 +484,7 @@ function va(t, e) {
484
484
  function an(t) {
485
485
  const { element: e, markerSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
486
486
  let s;
487
- return i !== void 0 ? (s = Dr({
487
+ return i !== void 0 ? (s = Or({
488
488
  symbol: i,
489
489
  defaultToColorFromRamp: o,
490
490
  colorRampIndex: n
@@ -493,7 +493,7 @@ function an(t) {
493
493
  function Ji(t) {
494
494
  const { element: e, lineSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
495
495
  let s;
496
- return i !== void 0 ? (s = Dr({
496
+ return i !== void 0 ? (s = Or({
497
497
  symbol: i,
498
498
  defaultToColorFromRamp: o,
499
499
  colorRampIndex: n
@@ -507,7 +507,7 @@ function mo(t) {
507
507
  const c = Rp(e);
508
508
  c !== void 0 && (l = wp(c));
509
509
  }
510
- r = Dr({
510
+ r = Or({
511
511
  symbol: i,
512
512
  defaultToColorFromRamp: o,
513
513
  colorRampIndex: n,
@@ -645,10 +645,10 @@ function Kl(t, e) {
645
645
  isPieFromFields: n
646
646
  });
647
647
  p[_.pieChart.technicalFieldSliceId] = C;
648
- const x = Os(s.slices, C);
648
+ const x = Ds(s.slices, C);
649
649
  x?.fillSymbol?.color !== void 0 && b.add(ws(x.fillSymbol.color));
650
650
  }), e?.forEach((p, S) => {
651
- const C = p[_.pieChart.technicalFieldSliceId], x = Os(s.slices, C), L = wi(p), v = _p({
651
+ const C = p[_.pieChart.technicalFieldSliceId], x = Ds(s.slices, C), L = wi(p), v = _p({
652
652
  dataContext: p,
653
653
  seriesConfig: s,
654
654
  existingSlicesColors: b,
@@ -890,7 +890,7 @@ function Kp(t) {
890
890
  });
891
891
  }
892
892
  }
893
- function Os(t, e) {
893
+ function Ds(t, e) {
894
894
  let i;
895
895
  return t !== void 0 && e !== void 0 && (i = t.find((a) => a.sliceId === e)), i;
896
896
  }
@@ -1020,37 +1020,37 @@ function ib(t) {
1020
1020
  function ab(t) {
1021
1021
  const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: o } = t, n = i.series[0], s = Z(i.series) === V.PieFromFields ? ai : n.x;
1022
1022
  e.forEach((r) => {
1023
- const l = wi(r), c = r[_.pieChart.technicalFieldSliceId], u = l ? n.sliceGrouping?.label : Os(a?.slices, c)?.label;
1023
+ const l = wi(r), c = r[_.pieChart.technicalFieldSliceId], u = l ? n.sliceGrouping?.label : Ds(a?.slices, c)?.label;
1024
1024
  ib({ dataContext: r, x: s, newLabel: u });
1025
1025
  }), Kp({ chartConfig: i, chartData: e, fieldList: o });
1026
1026
  }
1027
- function On(t, e) {
1027
+ function Dn(t, e) {
1028
1028
  const i = e.errors[t];
1029
1029
  throw new hi(e.modalHeaders.error, i ?? e.errors.simpleError);
1030
1030
  }
1031
1031
  function ob(t) {
1032
- return Oe(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || Oe(t[2].valueFormat));
1032
+ return De(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || De(t[2].valueFormat));
1033
1033
  }
1034
1034
  function nb(t) {
1035
- return Oe(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || Oe(t[2].valueFormat));
1035
+ return De(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || De(t[2].valueFormat));
1036
1036
  }
1037
1037
  function sb(t) {
1038
- return (pi(t?.[0]?.valueFormat) || bt(t?.[0]?.valueFormat)) && Oe(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || Oe(t[2].valueFormat));
1038
+ return (pi(t?.[0]?.valueFormat) || bt(t?.[0]?.valueFormat)) && De(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || De(t[2].valueFormat));
1039
1039
  }
1040
1040
  function rb(t) {
1041
1041
  return pi(t?.[0]?.valueFormat) && pi(t?.[1]?.valueFormat) || bt(t?.[0]?.valueFormat) && pi(t?.[1]?.valueFormat) || bt(t?.[0]?.valueFormat) && bt(t?.[1]?.valueFormat);
1042
1042
  }
1043
1043
  function lb(t) {
1044
- return (pi(t?.[0]?.valueFormat) || bt(t?.[0]?.valueFormat)) && Oe(t?.[1]?.valueFormat);
1044
+ return (pi(t?.[0]?.valueFormat) || bt(t?.[0]?.valueFormat)) && De(t?.[1]?.valueFormat);
1045
1045
  }
1046
1046
  function cb(t) {
1047
- return Oe(t?.[0]?.valueFormat) && Oe(t?.[1]?.valueFormat);
1047
+ return De(t?.[0]?.valueFormat) && De(t?.[1]?.valueFormat);
1048
1048
  }
1049
1049
  function db(t) {
1050
- return Oe(t?.[0]?.valueFormat) && Oe(t?.[1]?.valueFormat);
1050
+ return De(t?.[0]?.valueFormat) && De(t?.[1]?.valueFormat);
1051
1051
  }
1052
1052
  function ub(t) {
1053
- return Oe(t?.[0]?.valueFormat);
1053
+ return De(t?.[0]?.valueFormat);
1054
1054
  }
1055
1055
  function Xi(t) {
1056
1056
  const { chartType: e, axesConfig: i, errorStrings: a } = t;
@@ -1081,7 +1081,7 @@ function Xi(t) {
1081
1081
  o = rb, n = "invalidValueFormatForHeatChart";
1082
1082
  break;
1083
1083
  }
1084
- o !== void 0 && n !== void 0 && (o(i) || On(n, a));
1084
+ o !== void 0 && n !== void 0 && (o(i) || Dn(n, a));
1085
1085
  }
1086
1086
  const de = {
1087
1087
  SelectXY: "selectXY",
@@ -1112,12 +1112,12 @@ function ri(t) {
1112
1112
  }
1113
1113
  return o;
1114
1114
  }
1115
- function Ds(t) {
1115
+ function Os(t) {
1116
1116
  const { axis: e, valueFormat: i, chartType: a } = t, o = Ea({
1117
1117
  isXAxis: !0,
1118
1118
  chartType: a,
1119
1119
  valueFormat: i
1120
- }), n = bt(i) && e instanceof Ve, s = Oe(i) && e instanceof Te && !(e instanceof Ve), r = o && e instanceof lt;
1120
+ }), n = bt(i) && e instanceof Ve, s = De(i) && e instanceof Te && !(e instanceof Ve), r = o && e instanceof lt;
1121
1121
  return !n && !s && !r;
1122
1122
  }
1123
1123
  function Qd(t, e) {
@@ -1137,7 +1137,7 @@ function Jd(t) {
1137
1137
  let o = i;
1138
1138
  const n = ot(e.uid, "categoryFormatter"), s = ot(e.uid, "numberFormatter");
1139
1139
  if ((s !== void 0 || n !== void 0) && a instanceof Aa && a.dataContext) {
1140
- const r = D(e.chart.uid, "config"), l = Z(r?.series), c = D(e.chart.uid, "rendererFieldNames");
1140
+ const r = O(e.chart.uid, "config"), l = Z(r?.series), c = O(e.chart.uid, "rendererFieldNames");
1141
1141
  let u = oi({
1142
1142
  value: Cn(l, r?.series?.[0]),
1143
1143
  dataContext: a.dataContext,
@@ -1154,7 +1154,7 @@ function Jd(t) {
1154
1154
  V.BoxPlotC6MultiFieldsAndSplitBy,
1155
1155
  V.BarAndLineFromFields
1156
1156
  ].includes(l) && typeof u == "string") {
1157
- const g = D(e.chart.uid, "fieldList");
1157
+ const g = O(e.chart.uid, "fieldList");
1158
1158
  u = $e(g, u);
1159
1159
  }
1160
1160
  let f = ni(a.dataContext);
@@ -1264,7 +1264,7 @@ function Sb(t, e, i, a) {
1264
1264
  };
1265
1265
  }
1266
1266
  function Jl(t) {
1267
- const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, n = Ci(i), s = D(e.chart.uid, "formatLocale");
1267
+ const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, n = Ci(i), s = O(e.chart.uid, "formatLocale");
1268
1268
  Ke(e.uid, {
1269
1269
  numberFormatter: o ?? Sb(
1270
1270
  n,
@@ -1279,7 +1279,7 @@ function Cb(t) {
1279
1279
  Ke(e.uid, { categoryFormatter: o });
1280
1280
  }
1281
1281
  function xb(t) {
1282
- const { axis: e, labelsTextSymbol: i, axisValueFormatter: a } = t, n = D(e.chart.uid, "config")?.horizontalAxisLabelsBehavior;
1282
+ const { axis: e, labelsTextSymbol: i, axisValueFormatter: a } = t, n = O(e.chart.uid, "config")?.horizontalAxisLabelsBehavior;
1283
1283
  if (Ke(e.uid, { axisLabelsBehavior: n }), a !== void 0)
1284
1284
  Ke(e.uid, { fontStyleCallback: void 0 });
1285
1285
  else if (ot(e.uid, "fontStyleCallback") === void 0) {
@@ -1315,7 +1315,7 @@ function vb(t) {
1315
1315
  valueFormat: a
1316
1316
  });
1317
1317
  let g = !1;
1318
- !(e instanceof Ve) && Oe(a) ? Jl({
1318
+ !(e instanceof Ve) && De(a) ? Jl({
1319
1319
  axis: e,
1320
1320
  formatOptions: a,
1321
1321
  overridePercentMultiplication: n,
@@ -1331,12 +1331,12 @@ function vb(t) {
1331
1331
  axis: e,
1332
1332
  formatOptions: a,
1333
1333
  categoryAxisFormatter: r
1334
- }), Ke(e.uid, { numberFormatter: void 0 })) : Oe(a) ? (Jl({
1334
+ }), Ke(e.uid, { numberFormatter: void 0 })) : De(a) ? (Jl({
1335
1335
  axis: e,
1336
1336
  formatOptions: a,
1337
1337
  overridePercentMultiplication: n,
1338
1338
  valueAxisFormatter: r
1339
- }), Ke(e.uid, { categoryFormatter: void 0 })) : g = !0 : g = !0, g && On("mismatchAxisAndValueFormat", d), xb({ axis: e, labelsTextSymbol: o, axisValueFormatter: r }), e.invalidateLabels();
1339
+ }), Ke(e.uid, { categoryFormatter: void 0 })) : g = !0 : g = !0, g && Dn("mismatchAxisAndValueFormat", d), xb({ axis: e, labelsTextSymbol: o, axisValueFormatter: r }), e.invalidateLabels();
1340
1340
  }
1341
1341
  function eu(t) {
1342
1342
  let e = t;
@@ -1431,10 +1431,10 @@ function Ab(t) {
1431
1431
  }
1432
1432
  }
1433
1433
  function Tb(t) {
1434
- const { chart: e, actionMode: i, cursorRange: a } = t, o = D(e.uid, "isRotated"), n = D(e.uid, "config"), s = St(n), r = W(n?.series), l = r === y.LineSeries && Oe(n?.axes?.[0]?.valueFormat), c = r === y.LineSeries && pi(n?.axes?.[0]?.valueFormat), u = r === y.LineSeries && bt(n?.axes?.[0]?.valueFormat);
1434
+ const { chart: e, actionMode: i, cursorRange: a } = t, o = O(e.uid, "isRotated"), n = O(e.uid, "config"), s = St(n), r = W(n?.series), l = r === y.LineSeries && De(n?.axes?.[0]?.valueFormat), c = r === y.LineSeries && pi(n?.axes?.[0]?.valueFormat), u = r === y.LineSeries && bt(n?.axes?.[0]?.valueFormat);
1435
1435
  let d, f = !1;
1436
- const g = i ?? D(e.uid, "actionMode") ?? A.actionMode;
1437
- if (D(e.uid, "filterBySelection") === !0)
1436
+ const g = i ?? O(e.uid, "actionMode") ?? A.actionMode;
1437
+ if (O(e.uid, "filterBySelection") === !0)
1438
1438
  d = de.None, f = !1;
1439
1439
  else if (a !== void 0)
1440
1440
  d = iu({ actionMode: g, cursorRange: a, isRotated: o });
@@ -1465,13 +1465,13 @@ function su(t) {
1465
1465
  return t instanceof yi ? e = t.dataFields?.categoryY ?? t.dataFields?.dateY ?? t.dataFields?.valueY ?? "" : t instanceof Wt && (e = t.dataFields?.value ?? ""), e;
1466
1466
  }
1467
1467
  function ru(t) {
1468
- return D(t.chart.uid, "isRotated") === !0 ? su(t) : nu(t);
1468
+ return O(t.chart.uid, "isRotated") === !0 ? su(t) : nu(t);
1469
1469
  }
1470
1470
  function Yi(t) {
1471
- return D(t.chart.uid, "isRotated") === !0 ? nu(t) : su(t);
1471
+ return O(t.chart.uid, "isRotated") === !0 ? nu(t) : su(t);
1472
1472
  }
1473
- function Dn(t, e = 0) {
1474
- const i = D(t.chart.uid, "config");
1473
+ function On(t, e = 0) {
1474
+ const i = O(t.chart.uid, "config");
1475
1475
  return W(i?.series, e);
1476
1476
  }
1477
1477
  const $i = {
@@ -1502,14 +1502,14 @@ function wb(t) {
1502
1502
  const r = n in o;
1503
1503
  return s !== !1 && r;
1504
1504
  }
1505
- function Ob(t) {
1505
+ function Db(t) {
1506
1506
  const { selectedMin: e, selectedMax: i, elementMin: a, oneSelectedItem: o, elementMax: n, iqrField: s } = t;
1507
1507
  let r;
1508
1508
  typeof a == "number" && typeof n == "number" && typeof e == "number" && typeof i == "number" && (r = !(a >= i || n <= e));
1509
1509
  const l = s in o;
1510
1510
  return r !== !1 && l;
1511
1511
  }
1512
- function Db(t) {
1512
+ function Ob(t) {
1513
1513
  const { oneSelectedItem: e, dataContext: i, xAxisField: a } = t, o = i[_.originalXValue] ?? i[_.boxPlot.boxPlotCategory] ?? i[a], n = e[_.originalXValue] ?? e[_.boxPlot.boxPlotCategory] ?? e[a];
1514
1514
  return o === n;
1515
1515
  }
@@ -1584,8 +1584,8 @@ function $b(t) {
1584
1584
  selectedMaxFieldWithOutliers: C,
1585
1585
  selectedMinFieldWithOutliers: x,
1586
1586
  iqrField: L
1587
- } = Mb({ chartSubType: s, yAxisField: n, splitBy: o, showOutliers: r }), v = l[g], T = d[g], k = l[b], I = l[h], R = d[S] ?? d[x], O = d[p] ?? d[C];
1588
- let $ = Db({ oneSelectedItem: d, dataContext: l, xAxisField: a });
1587
+ } = Mb({ chartSubType: s, yAxisField: n, splitBy: o, showOutliers: r }), v = l[g], T = d[g], k = l[b], I = l[h], R = d[S] ?? d[x], D = d[p] ?? d[C];
1588
+ let $ = Ob({ oneSelectedItem: d, dataContext: l, xAxisField: a });
1589
1589
  if ($)
1590
1590
  switch (kb(d, v)) {
1591
1591
  case $i.OutlierToOutlier:
@@ -1597,16 +1597,16 @@ function $b(t) {
1597
1597
  case $i.BoxToOutlier:
1598
1598
  $ = wb({
1599
1599
  selectedMin: R,
1600
- selectedMax: O,
1600
+ selectedMax: D,
1601
1601
  elementOutlierValue: v,
1602
1602
  oneSelectedItem: d,
1603
1603
  iqrField: L
1604
1604
  });
1605
1605
  break;
1606
1606
  case $i.BoxToBox:
1607
- $ = Ob({
1607
+ $ = Db({
1608
1608
  selectedMin: R,
1609
- selectedMax: O,
1609
+ selectedMax: D,
1610
1610
  elementMin: k,
1611
1611
  oneSelectedItem: d,
1612
1612
  elementMax: I,
@@ -1694,8 +1694,8 @@ function Mn(t) {
1694
1694
  else if (x !== void 0 && x in S && x in p)
1695
1695
  C = S[x] === p[x];
1696
1696
  else if (_.dateBinningRange in p && typeof S[n] == "number") {
1697
- const L = S[n], v = S[_.dateBinningRange], T = Array.isArray(v) && Number.isFinite(v[0]) && Number.isFinite(v[1]), [k, I] = T ? v : [0, 0], [R, O] = p[_.dateBinningRange], $ = u === ss.Start || p[_.firstTemporalBin] === !0 ? L >= R : L > R, M = u === ss.End || p[_.lastTemporalBin] === !0 ? L <= O : L < O;
1698
- C = (T ? k < O && R < I : $ && M) && s in S && Number.isFinite(S[s]);
1697
+ const L = S[n], v = S[_.dateBinningRange], T = Array.isArray(v) && Number.isFinite(v[0]) && Number.isFinite(v[1]), [k, I] = T ? v : [0, 0], [R, D] = p[_.dateBinningRange], $ = u === ss.Start || p[_.firstTemporalBin] === !0 ? L >= R : L > R, M = u === ss.End || p[_.lastTemporalBin] === !0 ? L <= D : L < D;
1698
+ C = (T ? k < D && R < I : $ && M) && s in S && Number.isFinite(S[s]);
1699
1699
  } else {
1700
1700
  const L = (k) => {
1701
1701
  let I = k[_.originalXValue];
@@ -1725,11 +1725,11 @@ function Mn(t) {
1725
1725
  const { dataContextXMinField: S, dataContextXMaxField: C, dataContextYMinField: x, dataContextYMaxField: L } = _.scatterplotAggregationFields, { [S]: v, [C]: T } = p, k = n !== s ? p[x] : v, I = n !== s ? p[L] : T, R = ($) => {
1726
1726
  const M = $[n] ?? Number.NaN, B = v ?? Number.NaN, P = T ?? Number.NaN;
1727
1727
  return v === T ? M === B : (M ?? Number.NaN) >= B && (M ?? Number.NaN) < P;
1728
- }, O = ($) => {
1728
+ }, D = ($) => {
1729
1729
  const M = $[s] ?? Number.NaN, B = k ?? Number.NaN, P = I ?? Number.NaN;
1730
1730
  return k === I ? M === B : M >= B && M < P;
1731
1731
  };
1732
- f = ($) => R($) && O($);
1732
+ f = ($) => R($) && D($);
1733
1733
  }
1734
1734
  }
1735
1735
  break;
@@ -1826,7 +1826,7 @@ function go(t) {
1826
1826
  function wt(t) {
1827
1827
  const { chart: e, config: i } = t;
1828
1828
  let a = i;
1829
- return i === void 0 && e !== void 0 && (a = D(e.uid, "config")), Qe(a);
1829
+ return i === void 0 && e !== void 0 && (a = O(e.uid, "config")), Qe(a);
1830
1830
  }
1831
1831
  function Bb(t) {
1832
1832
  t instanceof Ks && t.series.each((e) => {
@@ -1851,7 +1851,7 @@ function No(t) {
1851
1851
  return typeof t == "number" ? t : t.value;
1852
1852
  }
1853
1853
  function $n(t, e) {
1854
- 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 = Yd(e.verticalCenter)), e.horizontalCenter !== void 0 && (t.horizontalCenter = Or(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));
1854
+ 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 = Yd(e.verticalCenter)), e.horizontalCenter !== void 0 && (t.horizontalCenter = Dr(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));
1855
1855
  }
1856
1856
  function li(t, e) {
1857
1857
  const i = e?.createChild(Xo) ?? new Xo();
@@ -1886,7 +1886,7 @@ function ec(t) {
1886
1886
  } else
1887
1887
  e[a] = i;
1888
1888
  }
1889
- function Ot(t) {
1889
+ function Dt(t) {
1890
1890
  const { label: e, labelConfig: i, defaults: a, skipSettingText: o } = t;
1891
1891
  if (i !== void 0) {
1892
1892
  const n = tn(i.content, e.rtl, a);
@@ -1906,11 +1906,11 @@ function du(t, e) {
1906
1906
  e !== void 0 && (t === y.BarSeries && e.adapter.add("dx", (i, a) => {
1907
1907
  let o = i ?? 0;
1908
1908
  const n = a.dataItem, { chart: s } = n?.component ?? {};
1909
- return (s !== void 0 ? D(s.uid, "isRotated") : !1) === !0 && (n.valueX ?? n.valueY) < 0 && (o -= a.measuredWidth + A.dataLabelNegative.paddingRight), o;
1909
+ return (s !== void 0 ? O(s.uid, "isRotated") : !1) === !0 && (n.valueX ?? n.valueY) < 0 && (o -= a.measuredWidth + A.dataLabelNegative.paddingRight), o;
1910
1910
  }), (t === y.BarSeries || t === y.LineSeries) && e.adapter.add("dy", (i, a) => {
1911
1911
  let o = i ?? 0;
1912
1912
  const n = a.dataItem, { chart: s } = n?.component ?? {};
1913
- return (s !== void 0 ? D(s.uid, "isRotated") : !1) !== !0 && (n.valueX ?? n.valueY) < 0 && (o += a.measuredHeight + A.dataLabelNegative.paddingTop), o;
1913
+ return (s !== void 0 ? O(s.uid, "isRotated") : !1) !== !0 && (n.valueX ?? n.valueY) < 0 && (o += a.measuredHeight + A.dataLabelNegative.paddingTop), o;
1914
1914
  }));
1915
1915
  }
1916
1916
  function $s(t) {
@@ -1938,7 +1938,7 @@ function Ns(t, e) {
1938
1938
  e instanceof ct ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
1939
1939
  );
1940
1940
  if (s !== void 0) {
1941
- const r = D(e.chart.uid, "isRotated"), l = D(e.chart.uid, "config"), c = nt(l), u = r === !0 ? n.valueX : n.valueY, d = r === !0 ? n.values?.valueX?.totalPercent : n.values?.valueY?.totalPercent, f = r === !0 ? (n.component?.xAxis).min : (n.component?.yAxis).min, g = c === te.Stacked100 ? d : u;
1941
+ const r = O(e.chart.uid, "isRotated"), l = O(e.chart.uid, "config"), c = nt(l), u = r === !0 ? n.valueX : n.valueY, d = r === !0 ? n.values?.valueX?.totalPercent : n.values?.valueY?.totalPercent, f = r === !0 ? (n.component?.xAxis).min : (n.component?.yAxis).min, g = c === te.Stacked100 ? d : u;
1942
1942
  o = Wb({
1943
1943
  dataValue: g,
1944
1944
  series: e,
@@ -1987,7 +1987,7 @@ function mu(t) {
1987
1987
  let d = u;
1988
1988
  const f = s?.type === y.NumberAxisFormat ? s.intlOptions : void 0, g = n?.content ?? { type: K.TS };
1989
1989
  if (u === void 0 && c !== void 0 && f !== void 0) {
1990
- const b = D(e.chart.uid, "formatLocale"), p = ri({
1990
+ const b = O(e.chart.uid, "formatLocale"), p = ri({
1991
1991
  type: y.NumberAxisFormat,
1992
1992
  iLocale: e.chart.language.locale,
1993
1993
  formatLocale: b
@@ -2013,7 +2013,7 @@ function mu(t) {
2013
2013
  }
2014
2014
  h !== void 0 && Xt(e.uid, {
2015
2015
  [h]: d
2016
- }), n !== void 0 && (n.content.text = l === !0 ? "{valueX}" : "{valueY}", n.visible = n.visible !== !1), Ot({
2016
+ }), n !== void 0 && (n.content.text = l === !0 ? "{valueX}" : "{valueY}", n.visible = n.visible !== !1), Dt({
2017
2017
  label: a,
2018
2018
  labelConfig: n,
2019
2019
  defaults: o ?? A.dataLabel
@@ -2022,8 +2022,8 @@ function mu(t) {
2022
2022
  }
2023
2023
  function Bn(t, e) {
2024
2024
  let i = e;
2025
- i === void 0 && (i = D(t.uid, "config"));
2026
- const a = D(t.uid, "colorMatchApplied") ?? !1;
2025
+ i === void 0 && (i = O(t.uid, "config"));
2026
+ const a = O(t.uid, "colorMatchApplied") ?? !1;
2027
2027
  return (i?.colorMatch ?? !1) && a;
2028
2028
  }
2029
2029
  function gu(t, e) {
@@ -2121,7 +2121,7 @@ function _b(t, e) {
2121
2121
  }
2122
2122
  function tc() {
2123
2123
  return (t) => {
2124
- const e = D(t.chart.uid, "config");
2124
+ const e = O(t.chart.uid, "config");
2125
2125
  let i = !1;
2126
2126
  if (e !== void 0 && t instanceof yi) {
2127
2127
  const a = _b(t.chart, e);
@@ -2234,7 +2234,7 @@ function ua(t) {
2234
2234
  }) : t instanceof Wt && (t.slices.template.properties.role = e, t.slices.template.hoverOnFocus = !0, t.itemReaderText = "{category} {value.formatNumber('#.#')} {value.percent.formatNumber('#.#')}%");
2235
2235
  }
2236
2236
  function Yb(t) {
2237
- const e = D(t.uid, "config");
2237
+ const e = O(t.uid, "config");
2238
2238
  t.series.each((i) => {
2239
2239
  const a = e?.series?.find((o) => o.id === i.id);
2240
2240
  a !== void 0 && a.visible !== !1 && !i.visible && le(i);
@@ -2278,7 +2278,7 @@ function Ht(t) {
2278
2278
  function Pn(t, e) {
2279
2279
  let i = !1;
2280
2280
  if (e instanceof ue || e instanceof Me) {
2281
- const a = D(e.uid, "actionMode");
2281
+ const a = O(e.uid, "actionMode");
2282
2282
  a !== void 0 && (i = a === J.MultiSelection || a === J.MultiSelectionWithCtrlKey && (t?.event?.ctrlKey || t?.event?.metaKey));
2283
2283
  }
2284
2284
  return i;
@@ -2292,7 +2292,7 @@ function bu(t) {
2292
2292
  ), o = t.yAxes.values.some(
2293
2293
  (l) => l.renderer.labels.template.events.has(N.Hit) && l.renderer.isHover
2294
2294
  ), n = a || o;
2295
- const r = D(t.uid, "config");
2295
+ const r = O(t.uid, "config");
2296
2296
  St(r) && (s = t.series.values.find((c) => c instanceof He)?.isHover ?? !1);
2297
2297
  }
2298
2298
  return !e && !i && !n && !s;
@@ -2303,7 +2303,7 @@ function Vr(t, e) {
2303
2303
  const o = !i.isActive;
2304
2304
  if (!(i.dataItem instanceof oa)) {
2305
2305
  i.isActive = !i.isActive;
2306
- const s = D(e.uid, "filterBySelection") !== !0 && o;
2306
+ const s = O(e.uid, "filterBySelection") !== !0 && o;
2307
2307
  Ht({ element: i, selected: s }), a = o;
2308
2308
  }
2309
2309
  return a;
@@ -2311,9 +2311,9 @@ function Vr(t, e) {
2311
2311
  }
2312
2312
  function ic(t, e) {
2313
2313
  let i = [];
2314
- const { columns: a, chart: o } = t, n = D(o.uid, "config");
2314
+ const { columns: a, chart: o } = t, n = O(o.uid, "config");
2315
2315
  if (n && a !== void 0 && t.visible) {
2316
- const s = n?.series[0].x, r = t?.dataFields?.customValue ?? "", l = Dn(t, e), c = ia(t, n), u = l === y.BoxPlotSeries ? c?.y : Yi(t), d = {
2316
+ const s = n?.series[0].x, r = t?.dataFields?.customValue ?? "", l = On(t, e), c = ia(t, n), u = l === y.BoxPlotSeries ? c?.y : Yi(t), d = {
2317
2317
  element: {},
2318
2318
  yAxisField: u,
2319
2319
  xAxisField: s,
@@ -2337,7 +2337,7 @@ function ac(t, e) {
2337
2337
  if (t.visible) {
2338
2338
  const a = We(t)?.clones;
2339
2339
  if (a !== void 0) {
2340
- const { chart: o } = t, n = D(o.uid, "config");
2340
+ const { chart: o } = t, n = O(o.uid, "config");
2341
2341
  if (n) {
2342
2342
  const s = n.series[0].x ?? "", r = Yi(t), l = t?.dataFields?.customValue ?? "", c = {
2343
2343
  element: {},
@@ -2363,7 +2363,7 @@ function ac(t, e) {
2363
2363
  function jb(t) {
2364
2364
  const e = [];
2365
2365
  if (t.visible) {
2366
- const { chart: i } = t, a = D(i.uid, "config");
2366
+ const { chart: i } = t, a = O(i.uid, "config");
2367
2367
  if (a) {
2368
2368
  const o = ru(t), n = Yi(t), s = {
2369
2369
  element: {},
@@ -2412,7 +2412,7 @@ function qb(t) {
2412
2412
  ), n;
2413
2413
  }
2414
2414
  async function yu(t) {
2415
- const { chart: e, cursorSelectionRectangle: i, multiSelect: a, selectionSource: o, hitElement: n, errorStrings: s } = t, r = D(e.uid, "config"), l = r?.series[0]?.x ?? "";
2415
+ const { chart: e, cursorSelectionRectangle: i, multiSelect: a, selectionSource: o, hitElement: n, errorStrings: s } = t, r = O(e.uid, "config"), l = r?.series[0]?.x ?? "";
2416
2416
  let c = [];
2417
2417
  ae(e.uid, { pendingSelectionQueries: !0 });
2418
2418
  let u = [], d = !0;
@@ -2423,7 +2423,7 @@ async function yu(t) {
2423
2423
  }).forEach((g, h) => {
2424
2424
  const b = ia(g, r);
2425
2425
  if (r && g.visible && g instanceof yi) {
2426
- const S = Dn(g, h) === y.BoxPlotSeries ? b?.y : Yi(g), C = g.dataFields?.customValue ?? "", x = {
2426
+ const S = On(g, h) === y.BoxPlotSeries ? b?.y : Yi(g), C = g.dataFields?.customValue ?? "", x = {
2427
2427
  element: {},
2428
2428
  yAxisField: S,
2429
2429
  xAxisField: l,
@@ -2490,7 +2490,7 @@ function Zb(t, e) {
2490
2490
  });
2491
2491
  }
2492
2492
  async function nn(t) {
2493
- const { hitEvent: e, chart: i, errorStrings: a } = t, { target: o } = e, n = D(i.uid, "actionMode");
2493
+ const { hitEvent: e, chart: i, errorStrings: a } = t, { target: o } = e, n = O(i.uid, "actionMode");
2494
2494
  if (i !== void 0 && bu(i) && n !== J.None && n !== J.Zoom && (o instanceof ue || e.point === void 0)) {
2495
2495
  const s = e.svgPoint ? { x: e.svgPoint.x, y: e.svgPoint.y, width: 0, height: 0 } : void 0, r = Pn(e, i);
2496
2496
  await yu({
@@ -2514,7 +2514,7 @@ async function Qb(t, e) {
2514
2514
  const { series: i } = t;
2515
2515
  if (i.length > 0) {
2516
2516
  ae(t.uid, { pendingSelectionQueries: !0 });
2517
- const a = D(t.uid, "config"), n = i.values.map(
2517
+ const a = O(t.uid, "config"), n = i.values.map(
2518
2518
  (s, r) => {
2519
2519
  let l = [];
2520
2520
  if (s.visible) {
@@ -2546,7 +2546,7 @@ function Jb(t) {
2546
2546
  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));
2547
2547
  } else t instanceof ue && (t.xAxes.each((e) => sn(e, !1)), t.yAxes.each((e) => sn(e, !1)), t.events.enableType(N.Up));
2548
2548
  }
2549
- function Da(t) {
2549
+ function Oa(t) {
2550
2550
  const { element: e, stylingInfo: i, stateKey: a = "default" } = t;
2551
2551
  if (e !== void 0 && i !== void 0) {
2552
2552
  const o = e.states.getKey(a)?.properties ?? e.defaultState.properties;
@@ -2654,9 +2654,9 @@ function Vn(t, e) {
2654
2654
  function ey(t) {
2655
2655
  const e = t.tooltip ?? new Kc();
2656
2656
  e.pointerOrientation = "vertical", t instanceof He || t instanceof Lt ? e.label.maxWidth = A.boxPlot.boxPlotTooltipLabelWidth : e.label.maxWidth = A.tooltipWidth, e.label.wrap = !0;
2657
- const i = D(t.chart?.uid, "config"), a = i ? ia(t, i) : void 0;
2657
+ const i = O(t.chart?.uid, "config"), a = i ? ia(t, i) : void 0;
2658
2658
  a !== void 0 && Vn(t, a), e.events.on(N.Shown, (o) => {
2659
- const n = D(t.chart.uid, "config");
2659
+ const n = O(t.chart.uid, "config");
2660
2660
  if (n !== void 0) {
2661
2661
  const s = ia(t, n), { dataTooltipReverseColor: r } = s ?? {};
2662
2662
  vu(o.target, r);
@@ -2673,7 +2673,7 @@ function Lu(t, e) {
2673
2673
  let o = i ?? "";
2674
2674
  const { chart: n } = e;
2675
2675
  if (n !== void 0) {
2676
- const s = D(n.uid, "config"), r = s ? ia(e, s) : void 0;
2676
+ const s = O(n.uid, "config"), r = s ? ia(e, s) : void 0;
2677
2677
  if (r?.dataTooltipVisible === !1)
2678
2678
  o = "";
2679
2679
  else {
@@ -2686,7 +2686,7 @@ function Lu(t, e) {
2686
2686
  if ((c instanceof Js || c instanceof Va) && r !== void 0) {
2687
2687
  const u = wt({ config: s }), d = u ? c.valueX : c.valueY, f = (u ? c.values.valueX.totalPercent : c.values.valueY.totalPercent) / 100, g = c.dataContext ?? {};
2688
2688
  if (g !== void 0) {
2689
- const h = D(n.uid, "rendererFieldNames"), b = oi({
2689
+ const h = O(n.uid, "rendererFieldNames"), b = oi({
2690
2690
  value: Cn(Z([r]), r),
2691
2691
  dataContext: g,
2692
2692
  useRendererLabel: Ta(s, h),
@@ -2722,8 +2722,8 @@ function iy(t) {
2722
2722
  dataTooltipPercentFormat: r
2723
2723
  } = t;
2724
2724
  let l = s;
2725
- l === void 0 && (Oe(n) && n ? (l = n, e && (l.intlOptions.style = "decimal")) : l = Lr());
2726
- const c = D(i.chart.uid, "formatLocale"), u = a !== void 0 ? go({
2725
+ l === void 0 && (De(n) && n ? (l = n, e && (l.intlOptions.style = "decimal")) : l = Lr());
2726
+ const c = O(i.chart.uid, "formatLocale"), u = a !== void 0 ? go({
2727
2727
  value: a,
2728
2728
  valueFormat: l,
2729
2729
  iLocale: i.chart.language.locale,
@@ -2745,7 +2745,7 @@ function ay(t) {
2745
2745
  const { series: e, dateRange: i, xAxisValueFormat: a, isTimeOnlyField: o } = t;
2746
2746
  let n;
2747
2747
  if (i !== void 0 && i.length > 0) {
2748
- const s = e.chart?.uid, r = D(s, "timeIntervalInfo"), l = D(s, "config"), c = D(s, "options"), u = D(s, "queryObject"), d = xu({
2748
+ const s = e.chart?.uid, r = O(s, "timeIntervalInfo"), l = O(s, "config"), c = O(s, "options"), u = O(s, "queryObject"), d = xu({
2749
2749
  xAxisValueFormat: a,
2750
2750
  isTimeOnlyField: o,
2751
2751
  timeIntervalInfo: r,
@@ -2754,7 +2754,7 @@ function ay(t) {
2754
2754
  queryObject: u
2755
2755
  }), f = new Date(i[0]), g = new Date(i[1]);
2756
2756
  if (!Number.isNaN(f.valueOf())) {
2757
- const h = D(e.chart.uid, "formatLocale"), b = ri({
2757
+ const h = O(e.chart.uid, "formatLocale"), b = ri({
2758
2758
  type: y.DateAxisFormat,
2759
2759
  iLocale: e.chart.language.locale,
2760
2760
  formatLocale: h
@@ -2781,7 +2781,7 @@ function Fu(t) {
2781
2781
  queryObject: u
2782
2782
  } = t;
2783
2783
  let d;
2784
- const f = D(s.chart.uid, "formatLocale");
2784
+ const f = O(s.chart.uid, "formatLocale");
2785
2785
  return /* case 1: temporal binning chart */ ur({
2786
2786
  seriesConfig: e,
2787
2787
  xAxisValueFormatType: i?.type,
@@ -2797,7 +2797,7 @@ function Fu(t) {
2797
2797
  valueFormat: n ?? i,
2798
2798
  iLocale: s.chart.language.locale,
2799
2799
  formatLocale: f
2800
- })) : typeof r == "number" && Oe(i) ? d = go({
2800
+ })) : typeof r == "number" && De(i) ? d = go({
2801
2801
  value: r,
2802
2802
  valueFormat: o ?? i,
2803
2803
  iLocale: s.chart.language.locale,
@@ -2809,7 +2809,7 @@ function oy(t) {
2809
2809
  let d = () => "";
2810
2810
  const { chart: f } = e;
2811
2811
  if (f !== void 0) {
2812
- const g = D(f.uid, "config");
2812
+ const g = O(f.uid, "config");
2813
2813
  if (g !== void 0) {
2814
2814
  const { dataTooltipVisible: h } = s, b = e instanceof be ? s.markerVisible : void 0;
2815
2815
  if (h === !1 || b === !1)
@@ -2822,7 +2822,7 @@ function oy(t) {
2822
2822
  seriesIndex: n,
2823
2823
  utilsStrings: r,
2824
2824
  isStacked100: v
2825
- }), O = Mt(f.rtl);
2825
+ }), D = Mt(f.rtl);
2826
2826
  d = ($) => {
2827
2827
  const { statValue: M, percentValue: B, xValue: P, dateBinningRange: X } = $, z = Fu({
2828
2828
  seriesConfig: s,
@@ -2843,7 +2843,7 @@ function oy(t) {
2843
2843
  series: e,
2844
2844
  statValue: M,
2845
2845
  percentValue: B
2846
- }), G = [`<b>${I}${O} </b>${z}`];
2846
+ }), G = [`<b>${I}${D} </b>${z}`];
2847
2847
  switch (x) {
2848
2848
  case V.BarAndLineFromFields: {
2849
2849
  G.pop();
@@ -2852,13 +2852,13 @@ function oy(t) {
2852
2852
  fieldName: $e(i, z ?? ""),
2853
2853
  utilsStrings: r
2854
2854
  });
2855
- G.push(`<b>${j}${O} </b>${Y}`);
2855
+ G.push(`<b>${j}${D} </b>${Y}`);
2856
2856
  break;
2857
2857
  }
2858
2858
  case V.BarAndLineMonoField:
2859
2859
  case V.BarAndLineNoAggregation:
2860
2860
  case V.BarAndLineMultiFields:
2861
- G.push(`<b>${R}${O} </b>${Y}`);
2861
+ G.push(`<b>${R}${D} </b>${Y}`);
2862
2862
  break;
2863
2863
  case V.BarAndLineSplitByNoAggregation:
2864
2864
  case V.BarAndLineSplitBy:
@@ -2867,11 +2867,11 @@ function oy(t) {
2867
2867
  value: $e(i, j),
2868
2868
  escape: !0
2869
2869
  });
2870
- G.push(`<b>${E}${O} </b>${e.name}`), (x === V.BarAndLineSplitBy || "y" in g.series[0] && j !== g.series[0].y) && G.push(`<b>${R}${O} </b>${Y}`);
2870
+ G.push(`<b>${E}${D} </b>${e.name}`), (x === V.BarAndLineSplitBy || "y" in g.series[0] && j !== g.series[0].y) && G.push(`<b>${R}${D} </b>${Y}`);
2871
2871
  }
2872
2872
  break;
2873
2873
  }
2874
- return v && G.push(`<b>${r.statistics.percent}${O} </b>${U}`), G.join("<br />");
2874
+ return v && G.push(`<b>${r.statistics.percent}${D} </b>${U}`), G.join("<br />");
2875
2875
  };
2876
2876
  }
2877
2877
  }
@@ -2891,7 +2891,7 @@ function Er(t) {
2891
2891
  if (l !== void 0) {
2892
2892
  const { chart: c } = l;
2893
2893
  if (c !== void 0) {
2894
- const u = D(c.uid, "config"), { dataTooltipVisible: d } = u?.series[0] ?? {};
2894
+ const u = O(c.uid, "config"), { dataTooltipVisible: d } = u?.series[0] ?? {};
2895
2895
  if (d === !1)
2896
2896
  r = "";
2897
2897
  else {
@@ -3048,7 +3048,7 @@ function uy(t) {
3048
3048
  return c.forEach((f) => {
3049
3049
  const g = Ce({ key: f, y: o, splitBy: n }), h = e[g];
3050
3050
  if (h != null && typeof h == "number") {
3051
- const b = D(i.chart.uid, "formatLocale"), p = go({
3051
+ const b = O(i.chart.uid, "formatLocale"), p = go({
3052
3052
  value: h,
3053
3053
  valueFormat: l,
3054
3054
  iLocale: i.chart.language.locale,
@@ -3095,7 +3095,7 @@ function fy(t) {
3095
3095
  let r = () => "";
3096
3096
  const { chart: l } = e;
3097
3097
  if (l !== void 0) {
3098
- const c = D(l.uid, "config");
3098
+ const c = O(l.uid, "config");
3099
3099
  if (c !== void 0) {
3100
3100
  const u = c.axes, d = u?.[0].valueFormat, { showMean: f } = c, g = Z(c.series), h = Qt(a.query?.where), b = $e(i, h), p = Ti({
3101
3101
  where: a.query?.where,
@@ -3111,7 +3111,7 @@ function fy(t) {
3111
3111
  series: e,
3112
3112
  xValue: T,
3113
3113
  queryObject: n
3114
- }), I = [], R = k !== void 0 && !ya(k) ? $e(i, k) : "", O = f === !0 ? [c.series[0].y].flat()[0] : [a.y].flat()[0], $ = $e(i, O);
3114
+ }), I = [], R = k !== void 0 && !ya(k) ? $e(i, k) : "", D = f === !0 ? [c.series[0].y].flat()[0] : [a.y].flat()[0], $ = $e(i, D);
3115
3115
  switch (g) {
3116
3116
  case V.BoxPlotC1MonoField:
3117
3117
  case V.BoxPlotC2MultiFields:
@@ -3432,7 +3432,7 @@ function Sy(t) {
3432
3432
  }
3433
3433
  function Cy(t, e) {
3434
3434
  const i = (a, o) => {
3435
- const { chartContainer: n, chartAndLegendContainer: s } = A, r = D(a.uid, "config");
3435
+ const { chartContainer: n, chartAndLegendContainer: s } = A, r = O(a.uid, "config");
3436
3436
  if (r !== void 0) {
3437
3437
  const l = by(r), c = r.legend?.position;
3438
3438
  if (l)
@@ -3467,7 +3467,7 @@ function zr(t) {
3467
3467
  valueSuffix: l,
3468
3468
  percentagePrefix: c,
3469
3469
  percentageSuffix: u
3470
- } = t, d = D(i.uid, "formatLocale"), f = ri({
3470
+ } = t, d = O(i.uid, "formatLocale"), f = ri({
3471
3471
  type: y.NumberAxisFormat,
3472
3472
  iLocale: e,
3473
3473
  formatLocale: d
@@ -3505,7 +3505,7 @@ function wu(t) {
3505
3505
  function xy(t) {
3506
3506
  t.events.on(N.LayoutValidated, () => {
3507
3507
  const e = Ru(t), i = wu(t), a = e || !i ? "right" : "center", o = t.valueLabels.template.align !== Rs(a);
3508
- t.valueLabels.template.horizontalCenter = Or(a), t.valueLabels.template.align = Rs(a), o && (a === "center" && (t.labels.each((n) => {
3508
+ t.valueLabels.template.horizontalCenter = Dr(a), t.valueLabels.template.align = Rs(a), o && (a === "center" && (t.labels.each((n) => {
3509
3509
  n.width = Number.NaN;
3510
3510
  }), t.valueLabels.each((n) => {
3511
3511
  n.width = Number.NaN;
@@ -3523,7 +3523,7 @@ function vy(t) {
3523
3523
  i.dataItem?.values?.value?.value ?? 0,
3524
3524
  i.dataItem?.values?.value?.percent ?? 0
3525
3525
  )), Ae(a) && (a = A.htmlEmptyContent), t.baseSprite instanceof Ks) {
3526
- const n = D(t.baseSprite.uid, "config");
3526
+ const n = O(t.baseSprite.uid, "config");
3527
3527
  n?.legend?.body !== void 0 && (a = da({
3528
3528
  textSymbol: { ...n.legend.body, text: a },
3529
3529
  format: "html"
@@ -3561,7 +3561,7 @@ function Ly(t) {
3561
3561
  percentagePrefix: b,
3562
3562
  percentageSuffix: p
3563
3563
  });
3564
- L = (R, O) => I("", R, O);
3564
+ L = (R, D) => I("", R, D);
3565
3565
  }
3566
3566
  Ap(e.uid, {
3567
3567
  pieChartLegendValueLabelsFormatter: L
@@ -3578,7 +3578,7 @@ function Ly(t) {
3578
3578
  horizontalAlignment: v || !T ? "right" : "center"
3579
3579
  }
3580
3580
  };
3581
- Ot({
3581
+ Dt({
3582
3582
  label: e.valueLabels.template,
3583
3583
  labelConfig: k,
3584
3584
  defaults: A.legendProperties.valueLabels
@@ -3643,7 +3643,7 @@ function Hr(t) {
3643
3643
  Ja({ labels: t.chart?.legend?.labels, seriesId: i });
3644
3644
  });
3645
3645
  }
3646
- function Ou(t) {
3646
+ function Du(t) {
3647
3647
  const { title: e, visible: i } = t;
3648
3648
  return e !== void 0 && i !== !1 && e?.visible !== !1;
3649
3649
  }
@@ -3654,7 +3654,7 @@ function Ty(t, e) {
3654
3654
  else if (t.position === H.Top)
3655
3655
  t.marginBottom = i.marginBottom ?? 0, t.marginTop = 0, t.dy = 0;
3656
3656
  else if (t.marginTop = 0, t.marginBottom = 0, !(t.baseSprite instanceof Me)) {
3657
- const a = Ou(e), o = e.title?.content?.font?.size ?? A.generalFontSize;
3657
+ const a = Du(e), o = e.title?.content?.font?.size ?? A.generalFontSize;
3658
3658
  t.dy = -(a ? o : 15);
3659
3659
  }
3660
3660
  }
@@ -3662,7 +3662,7 @@ function ky(t) {
3662
3662
  const e = t.baseSprite;
3663
3663
  let i;
3664
3664
  if (e !== void 0) {
3665
- const a = D(e?.uid, "config");
3665
+ const a = O(e?.uid, "config");
3666
3666
  i = e?.rtl && (a?.legend?.position === H.Top || a?.legend?.position === H.Bottom);
3667
3667
  }
3668
3668
  return i ?? !1;
@@ -3671,7 +3671,7 @@ function Iy(t) {
3671
3671
  const e = t.baseSprite;
3672
3672
  let i = "";
3673
3673
  if (e instanceof ue) {
3674
- const a = D(e.uid, "config"), o = Qe(a), n = o ? m.Rotated : m.NonRotated, s = nt(a);
3674
+ const a = O(e.uid, "config"), o = Qe(a), n = o ? m.Rotated : m.NonRotated, s = nt(a);
3675
3675
  let r = m.SideBySide;
3676
3676
  s === te.Stacked ? r = m.Stacked : s === te.Stacked100 && (r = m.Stacked100);
3677
3677
  const l = e.rtl ? m.RTL : m.LTR;
@@ -3703,7 +3703,7 @@ function Ry(t) {
3703
3703
  const e = Iy(t);
3704
3704
  return Tu.has(e);
3705
3705
  }
3706
- function Du(t, e) {
3706
+ function Ou(t, e) {
3707
3707
  const { legend: i, legendTitle: a } = t ?? {};
3708
3708
  switch (e) {
3709
3709
  case y.PieSeries:
@@ -3720,7 +3720,7 @@ function Du(t, e) {
3720
3720
  }
3721
3721
  function wy(t) {
3722
3722
  if (t.visible) {
3723
- const i = D(t.chart.uid, "config")?.series.find(
3723
+ const i = O(t.chart.uid, "config")?.series.find(
3724
3724
  (a) => a.id === t.id
3725
3725
  );
3726
3726
  if (i !== void 0 && W([i]) === y.LineSeries) {
@@ -3729,16 +3729,16 @@ function wy(t) {
3729
3729
  }
3730
3730
  }
3731
3731
  }
3732
- function Oy(t, e) {
3732
+ function Dy(t, e) {
3733
3733
  const i = t.target.dataItem, a = t.target.isActive;
3734
3734
  if (i?.dataContext !== void 0) {
3735
3735
  const { dataContext: o } = i, n = { visible: a };
3736
3736
  if (o instanceof Si)
3737
- D(e.uid, "isNonAggregatedChart") === !0 ? n.sliceData = o.dataContext : n.sliceId = o.category;
3737
+ O(e.uid, "isNonAggregatedChart") === !0 ? n.sliceData = o.dataContext : n.sliceId = o.category;
3738
3738
  else if (o instanceof He) {
3739
3739
  const r = o.id, l = Lo(e, r);
3740
3740
  if (l !== void 0) {
3741
- const f = D(e.uid, "config"), g = Gr(f?.showOutliers, a), h = We(l);
3741
+ const f = O(e.uid, "config"), g = Gr(f?.showOutliers, a), h = We(l);
3742
3742
  h !== void 0 && (h.disabled = !g), le(l, g);
3743
3743
  }
3744
3744
  const { topStepLineSeries: c, medianStepLineSeries: u, bottomStepLineSeries: d } = Wn(
@@ -3754,7 +3754,7 @@ function Oy(t, e) {
3754
3754
  type: N.Validated,
3755
3755
  target: s
3756
3756
  }));
3757
- const r = s instanceof Wt, l = D(e.uid, "options")?.selectionData?.selectionItems, c = l !== void 0 && l.length > 0, u = D(e.uid, "actionMode") ?? A.actionMode;
3757
+ const r = s instanceof Wt, l = O(e.uid, "options")?.selectionData?.selectionItems, c = l !== void 0 && l.length > 0, u = O(e.uid, "actionMode") ?? A.actionMode;
3758
3758
  let d;
3759
3759
  s instanceof ct ? d = s.columns : r ? d = s.slices : s instanceof be && (wy(s), d = We(s)?.clones), d?.each((f) => {
3760
3760
  f.dataItem instanceof oa || (Ht({
@@ -3768,7 +3768,7 @@ function Oy(t, e) {
3768
3768
  }), cd(n, e.htmlContainer);
3769
3769
  }
3770
3770
  }
3771
- function Dy(t) {
3771
+ function Oy(t) {
3772
3772
  const { legendProperties: e, legendProperties: i } = A;
3773
3773
  t.adapter.add(
3774
3774
  "paddingRight",
@@ -3787,7 +3787,7 @@ function $y(t) {
3787
3787
  }), e.adapter.add("x", (i) => {
3788
3788
  let a = i;
3789
3789
  const { marginLeft: o, marginRight: n } = A.legendProperties.legendTitle;
3790
- switch (D(t.baseSprite.uid, "config")?.legend?.title?.content?.horizontalAlignment) {
3790
+ switch (O(t.baseSprite.uid, "config")?.legend?.title?.content?.horizontalAlignment) {
3791
3791
  case "left":
3792
3792
  a = e.measuredWidth + (o ?? 0);
3793
3793
  break;
@@ -3802,13 +3802,13 @@ function $y(t) {
3802
3802
  }), e.adapter.add("disabled", (i) => (i === !1 && e.validate(), i)), e;
3803
3803
  }
3804
3804
  function By(t) {
3805
- const { legendConfig: e, legendTitle: i } = t, { title: a, position: o } = e, { legendTitle: n } = A.legendProperties, s = Ou(e);
3805
+ const { legendConfig: e, legendTitle: i } = t, { title: a, position: o } = e, { legendTitle: n } = A.legendProperties, s = Du(e);
3806
3806
  if (a !== void 0) {
3807
3807
  const r = {
3808
3808
  ...a,
3809
3809
  visible: s
3810
3810
  };
3811
- Ot({ label: i, labelConfig: r, defaults: n }), i.marginLeft = n.marginLeft ?? 0;
3811
+ Dt({ label: i, labelConfig: r, defaults: n }), i.marginLeft = n.marginLeft ?? 0;
3812
3812
  }
3813
3813
  o === H.Top || o === H.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);
3814
3814
  }
@@ -3816,7 +3816,7 @@ function Ny(t) {
3816
3816
  const e = A.legendProperties;
3817
3817
  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) => {
3818
3818
  let a = i, o;
3819
- if (t.baseSprite instanceof Me && (o = D(t.baseSprite.uid, "config")?.legend?.labelMaxWidth), t.position === H.Right || t.position === H.Left)
3819
+ if (t.baseSprite instanceof Me && (o = O(t.baseSprite.uid, "config")?.legend?.labelMaxWidth), t.position === H.Right || t.position === H.Left)
3820
3820
  a = o ?? A.legendProperties.legendLabels.maxWidth;
3821
3821
  else if (o !== void 0)
3822
3822
  a = o;
@@ -3830,7 +3830,7 @@ function Ny(t) {
3830
3830
  }), t.labels.template.adapter.add("textOutput", (i, a) => {
3831
3831
  const o = a.dataItem?.label?.currentText;
3832
3832
  let n;
3833
- const s = D(t.baseSprite.uid, "config");
3833
+ const s = O(t.baseSprite.uid, "config");
3834
3834
  if (s !== void 0) {
3835
3835
  const { series: l } = s;
3836
3836
  if (W(l) === y.PieSeries) {
@@ -3841,11 +3841,11 @@ function Ny(t) {
3841
3841
  return (n !== void 0 && !Ae(n) ? po(n) : n) ?? o;
3842
3842
  }), t.valueLabels.template.adapter.add("maxWidth", (i) => {
3843
3843
  let a = i, o;
3844
- return t.baseSprite instanceof Me && (o = D(t.baseSprite.uid, "config")?.legend?.valueLabelMaxWidth), t.position === H.Right || t.position === H.Left ? a = o ?? A.legendProperties.valueLabels.maxWidth : a = o ?? Number.NaN, a;
3844
+ return t.baseSprite instanceof Me && (o = O(t.baseSprite.uid, "config")?.legend?.valueLabelMaxWidth), t.position === H.Right || t.position === H.Left ? a = o ?? A.legendProperties.valueLabels.maxWidth : a = o ?? Number.NaN, a;
3845
3845
  });
3846
3846
  }
3847
3847
  function Py(t, e) {
3848
- t.itemContainers.template.events.on(N.Hit, (i) => Oy(i, e)), e instanceof Me && t.itemContainers.template.events.on(N.Over, (i) => Fy(i));
3848
+ t.itemContainers.template.events.on(N.Hit, (i) => Dy(i, e)), e instanceof Me && t.itemContainers.template.events.on(N.Over, (i) => Fy(i));
3849
3849
  }
3850
3850
  function Vy(t) {
3851
3851
  t.itemContainers.template.reverseOrder = t.rtl;
@@ -3857,7 +3857,7 @@ function Po(t, e) {
3857
3857
  if (o !== void 0) {
3858
3858
  const n = o instanceof Si ? o.component?.chart : o.chart;
3859
3859
  if (n !== void 0) {
3860
- const s = D(n.uid, "config"), { rectangleMarkerRadius: r, roundedMarkerRadius: l } = A.legendProperties;
3860
+ const s = O(n.uid, "config"), { rectangleMarkerRadius: r, roundedMarkerRadius: l } = A.legendProperties;
3861
3861
  a = s?.legend?.roundMarkers === !0 ? l : r;
3862
3862
  }
3863
3863
  }
@@ -3892,13 +3892,13 @@ function Ey(t) {
3892
3892
  // using a non empty string to kick in the adapter on `textOutput`
3893
3893
  }
3894
3894
  };
3895
- Ot({ label: e.labels.template, labelConfig: r, defaults: A.legendProperties.legendLabels }), e.labels.template.valign = "middle", e.valueLabels.template.valign = "middle", s === y.PieSeries && Ly(t), e.valueLabels.template.width = Number.NaN;
3895
+ Dt({ label: e.labels.template, labelConfig: r, defaults: A.legendProperties.legendLabels }), e.labels.template.valign = "middle", e.valueLabels.template.valign = "middle", s === y.PieSeries && Ly(t), e.valueLabels.template.width = Number.NaN;
3896
3896
  }
3897
3897
  function zy(t, e) {
3898
3898
  e.chartContainer.events.on(
3899
3899
  N.SizeChanged,
3900
3900
  yt(() => {
3901
- let a = D(e.uid, "config")?.legend?.maxHeight ?? Number.NaN;
3901
+ let a = O(e.uid, "config")?.legend?.maxHeight ?? Number.NaN;
3902
3902
  Number.isFinite(a) || (t.position === H.Top || t.position === H.Bottom ? a = A.legendProperties.maxHeight : a = e instanceof Me ? e.chartContainer.measuredHeight : e.seriesContainer.measuredHeight), t.maxHeight = a, t.invalidateLayout();
3903
3903
  }),
3904
3904
  A.debounceTime
@@ -3911,7 +3911,7 @@ function Hy(t, e) {
3911
3911
  function _y(t, e) {
3912
3912
  const { legend: i } = t;
3913
3913
  i.events.on(N.DataItemsValidated, () => {
3914
- i.dataItems.length > 0 && Du(t, e);
3914
+ i.dataItems.length > 0 && Ou(t, e);
3915
3915
  });
3916
3916
  }
3917
3917
  function Gy(t, e) {
@@ -3927,8 +3927,8 @@ function Xy(t, e) {
3927
3927
  const i = new tg();
3928
3928
  t.legend = i, My(i);
3929
3929
  const a = $y(i);
3930
- return Ny(i), vy(i), Py(i, t), Vy(i), Dy(i), _y({ legend: i, legendTitle: a }, W(e)), zy(i, t), Cy(t, a), Ay(i), t.legend.events.on(N.ChildAdded, () => {
3931
- const o = D(t.uid, "options");
3930
+ return Ny(i), vy(i), Py(i, t), Vy(i), Oy(i), _y({ legend: i, legendTitle: a }, W(e)), zy(i, t), Cy(t, a), Ay(i), t.legend.events.on(N.ChildAdded, () => {
3931
+ const o = O(t.uid, "options");
3932
3932
  Mu(i, o?.legendInteractionsDisabled);
3933
3933
  }), { legend: i, legendTitle: a };
3934
3934
  }
@@ -3939,9 +3939,9 @@ function _r(t) {
3939
3939
  le(o, !0), By({
3940
3940
  legendConfig: a,
3941
3941
  legendTitle: n
3942
- }), Wy(o), Ey(t), Hy(o, a), Du(e, W(i)), o.position = c, Gy(o, c), Ty(o, a), Mu(
3942
+ }), Wy(o), Ey(t), Hy(o, a), Ou(e, W(i)), o.position = c, Gy(o, c), Ty(o, a), Mu(
3943
3943
  o,
3944
- D(s.uid, "options")?.legendInteractionsDisabled
3944
+ O(s.uid, "options")?.legendInteractionsDisabled
3945
3945
  );
3946
3946
  } else
3947
3947
  o.position = H.Right, o.width = 0, le(o, !1);
@@ -3993,7 +3993,7 @@ function Uy(t) {
3993
3993
  if (l !== void 0) {
3994
3994
  o.markerVisible !== !1 && o.visible !== !1 ? e.bulletsContainer.show() : e.bulletsContainer.hide();
3995
3995
  let { markerSymbol: f } = o;
3996
- f === void 0 && (f = Od(), f.color = s), n ? f.color = s : f.color ??= s;
3996
+ f === void 0 && (f = Dd(), f.color = s), n ? f.color = s : f.color ??= s;
3997
3997
  const g = /* @__PURE__ */ new Set();
3998
3998
  let h, b;
3999
3999
  an({ element: l, markerSymbol: f }), l.clones.each((p) => {
@@ -4014,9 +4014,9 @@ function Uy(t) {
4014
4014
  colorMatch: n,
4015
4015
  rendererSymbol: x
4016
4016
  });
4017
- u = T.symbolWithColorInfo, h = T.stylingInfo, Da({ element: p, stylingInfo: h }), C || (g.add(JSON.stringify(h)), d = T.symbolWithColorInfo, b = h);
4017
+ u = T.symbolWithColorInfo, h = T.stylingInfo, Oa({ element: p, stylingInfo: h }), C || (g.add(JSON.stringify(h)), d = T.symbolWithColorInfo, b = h);
4018
4018
  }
4019
- }), c = g.size > 1, u = d ?? u, c || Da({ element: l, stylingInfo: b ?? h });
4019
+ }), c = g.size > 1, u = d ?? u, c || Oa({ element: l, stylingInfo: b ?? h });
4020
4020
  }
4021
4021
  return c ? void 0 : u;
4022
4022
  }
@@ -4056,7 +4056,7 @@ function Bu(t, e) {
4056
4056
  t.showArea === !0 ? t.areaColor !== void 0 ? (e.fill = It(t.areaColor), e.fillOpacity = e.fill.alpha === 0 ? 0 : 1) : (e.fill = bn(e.stroke.hex, 1), e.fillOpacity = A.lineSeries.areaOpacity) : e.fillOpacity = 0;
4057
4057
  }
4058
4058
  function Nu(t) {
4059
- const { series: e, seriesIndexMapper: i, seriesSymbolMapForEvent: a, seriesIndex: o, colorMatch: n, rendererType: s } = t, r = t.seriesConfig, l = D(e.chart.uid, "config"), c = l?.series.length ?? 0, u = Z(l?.series);
4059
+ const { series: e, seriesIndexMapper: i, seriesSymbolMapForEvent: a, seriesIndex: o, colorMatch: n, rendererType: s } = t, r = t.seriesConfig, l = O(e.chart.uid, "config"), c = l?.series.length ?? 0, u = Z(l?.series);
4060
4060
  le(e, r.visible);
4061
4061
  const d = $u({
4062
4062
  series: e,
@@ -4104,7 +4104,7 @@ function Ky(t) {
4104
4104
  queryObject: l,
4105
4105
  options: c,
4106
4106
  utilsStrings: u
4107
- } = t, { visible: d, name: f } = e, g = a[1].valueFormat, h = D(i.chart.uid, "config"), b = wt({ config: h }), p = Z(h?.series);
4107
+ } = t, { visible: d, name: f } = e, g = a[1].valueFormat, h = O(i.chart.uid, "config"), b = wt({ config: h }), p = Z(h?.series);
4108
4108
  i.id = e.id, le(i, d);
4109
4109
  let S = f;
4110
4110
  const C = i.dataFields?.customValue ?? "";
@@ -4151,7 +4151,7 @@ function Gr(t, e) {
4151
4151
  return (t ?? A.boxPlot.boxPlotOutliersVisibility) && e !== !1;
4152
4152
  }
4153
4153
  function Qy(t, e) {
4154
- const i = D(t.uid, "config");
4154
+ const i = O(t.uid, "config");
4155
4155
  i && t.series.each((a) => {
4156
4156
  let o;
4157
4157
  switch (!0) {
@@ -4248,7 +4248,7 @@ function Ga(t) {
4248
4248
  });
4249
4249
  T ? (a.dataFields.valueX = P, a.dataFields.categoryY = g) : (a.dataFields.valueY = P, a.dataFields.categoryX = g), a.dataFields.customValue = B;
4250
4250
  }
4251
- const k = hr(e), I = Z(k.series), R = v === !0 ? void 0 : i?.query?.where, O = {
4251
+ const k = hr(e), I = Z(k.series), R = v === !0 ? void 0 : i?.query?.where, D = {
4252
4252
  y: I === V.BoxPlotC4MultiFieldsAndCategory ? h : void 0,
4253
4253
  chartSubType: I,
4254
4254
  splitBy: R,
@@ -4258,16 +4258,16 @@ function Ga(t) {
4258
4258
  if (p) {
4259
4259
  if (o instanceof He) {
4260
4260
  const M = Ce({
4261
- ...O,
4261
+ ...D,
4262
4262
  key: ie.Min
4263
4263
  }), B = Ce({
4264
- ...O,
4264
+ ...D,
4265
4265
  key: ie.FirstQuartile
4266
4266
  }), P = Ce({
4267
- ...O,
4267
+ ...D,
4268
4268
  key: ie.Max
4269
4269
  }), X = Ce({
4270
- ...O,
4270
+ ...D,
4271
4271
  key: ie.ThirdQuartile
4272
4272
  });
4273
4273
  T ? (o.dataFields.lowValueX = M, o.dataFields.openValueX = B, o.dataFields.highValueX = P, o.dataFields.valueX = X, o.dataFields.categoryY = g) : (o.dataFields.lowValueY = M, o.dataFields.openValueY = B, o.dataFields.highValueY = P, o.dataFields.valueY = X, o.dataFields.categoryX = g), o.dataFields.customValue = R;
@@ -4275,20 +4275,20 @@ function Ga(t) {
4275
4275
  if (n instanceof Lt && s instanceof Lt && r instanceof Lt) {
4276
4276
  const M = Ce({
4277
4277
  key: ie.Max,
4278
- ...O
4278
+ ...D
4279
4279
  }), B = Ce({
4280
4280
  key: ie.Median,
4281
- ...O
4281
+ ...D
4282
4282
  }), P = Ce({
4283
4283
  key: ie.Min,
4284
- ...O
4284
+ ...D
4285
4285
  });
4286
4286
  T ? (n.dataFields.valueX = M, s.dataFields.valueX = B, r.dataFields.valueX = P, n.dataFields.categoryY = g, s.dataFields.categoryY = g, r.dataFields.categoryY = g) : (n.dataFields.valueY = M, s.dataFields.valueY = B, r.dataFields.valueY = P, n.dataFields.categoryX = g, s.dataFields.categoryX = g, r.dataFields.categoryX = g), n.dataFields.customValue = R, r.dataFields.customValue = R, s.dataFields.customValue = R;
4287
4287
  }
4288
4288
  }
4289
4289
  if (l instanceof be && S) {
4290
4290
  const M = Ce({
4291
- ...O,
4291
+ ...D,
4292
4292
  key: ie.Outlier
4293
4293
  });
4294
4294
  T ? (l.dataFields.valueX = M, l.dataFields.categoryY = g) : (l.dataFields.valueY = M, l.dataFields.categoryX = g), l.dataFields.customValue = R, l.invalidateRawData();
@@ -4431,8 +4431,8 @@ function nS(t) {
4431
4431
  }), c = d.symbolWithColorInfo, u = d.stylingInfo, f.add(JSON.stringify(c));
4432
4432
  }), g = f.size > 1, o > 1) {
4433
4433
  const b = e.legendDataItem?.marker.children.getIndex(0);
4434
- b !== void 0 ? Da({ element: b, stylingInfo: u }) : e.chart.legend.events.once(N.Validated, () => {
4435
- Da({
4434
+ b !== void 0 ? Oa({ element: b, stylingInfo: u }) : e.chart.legend.events.once(N.Validated, () => {
4435
+ Oa({
4436
4436
  element: e.legendDataItem?.marker.children.getIndex(0),
4437
4437
  stylingInfo: u
4438
4438
  }), e.chart.legend.invalidate();
@@ -4455,7 +4455,7 @@ function sS(t) {
4455
4455
  seriesConfig: r,
4456
4456
  rendererType: l,
4457
4457
  queryObject: c
4458
- } = t, u = D(e.chart.uid, "config"), d = St(u), f = u?.series.length ?? 0, g = Z(u?.series);
4458
+ } = t, u = O(e.chart.uid, "config"), d = St(u), f = u?.series.length ?? 0, g = Z(u?.series);
4459
4459
  let h = !1, b;
4460
4460
  if (e instanceof He && r.type === y.BoxPlotSeries) {
4461
4461
  const p = nS({
@@ -4625,7 +4625,7 @@ function fS(t) {
4625
4625
  chart: e,
4626
4626
  showMean: s
4627
4627
  });
4628
- const h = D(e.uid, "config");
4628
+ const h = O(e.uid, "config");
4629
4629
  if (h !== void 0) {
4630
4630
  if (i instanceof He && r.type === y.BoxPlotSeries) {
4631
4631
  const { id: b } = i;
@@ -4690,7 +4690,7 @@ function gS(t, e = !0) {
4690
4690
  let i;
4691
4691
  t.series.each((a, o) => {
4692
4692
  if (!e || a.visible) {
4693
- i = Dn(a, o);
4693
+ i = On(a, o);
4694
4694
  let n = [];
4695
4695
  if (i === y.BarSeries)
4696
4696
  n = a.columns?.values;
@@ -4722,7 +4722,7 @@ function Xa(t) {
4722
4722
  computedSelectionItems: void 0,
4723
4723
  computedSelectionIndexes: void 0,
4724
4724
  pendingSelectionQueries: !1
4725
- }), $t(e) && (e instanceof ue ? gS(e, a ?? !0) : e instanceof Me && mS(e)), D(e.uid, "options")?.selectionData?.selectionItems?.[0] && Ha({
4725
+ }), $t(e) && (e instanceof ue ? gS(e, a ?? !0) : e instanceof Me && mS(e)), O(e.uid, "options")?.selectionData?.selectionItems?.[0] && Ha({
4726
4726
  data: {
4727
4727
  selectionSource: i ?? ge.ClearSelection
4728
4728
  },
@@ -4742,7 +4742,7 @@ function bS(t) {
4742
4742
  t.series.each((e) => Xt(e.uid, { isSelectionApplied: void 0 }));
4743
4743
  }
4744
4744
  function Pu(t, e) {
4745
- const i = D(t.uid, "actionMode");
4745
+ const i = O(t.uid, "actionMode");
4746
4746
  if ((i === J.MonoSelection || i === J.None) && e.length > 1)
4747
4747
  Xa({ chart: t });
4748
4748
  else {
@@ -4802,11 +4802,11 @@ function yS(t) {
4802
4802
  d === y.PieSeries && wi(v) ? (xo({
4803
4803
  groupOfSlicesDataContext: v
4804
4804
  }) ?? []).forEach((R) => {
4805
- s.forEach((O) => {
4805
+ s.forEach((D) => {
4806
4806
  Br({
4807
4807
  layerOidField: r,
4808
4808
  sliceDataContext: R,
4809
- selectionDataContext: O,
4809
+ selectionDataContext: D,
4810
4810
  xAxisField: l
4811
4811
  }) && k.add(R);
4812
4812
  });
@@ -4835,10 +4835,10 @@ function yS(t) {
4835
4835
  }), Pu(e, b), { selectedIndexes: p, newSelectionItems: S };
4836
4836
  }
4837
4837
  function SS(t) {
4838
- const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = D(e.uid, "config"), r = ki(s), l = di(s?.series ?? []), c = Z(s?.series);
4838
+ const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = O(e.uid, "config"), r = ki(s), l = di(s?.series ?? []), c = Z(s?.series);
4839
4839
  return e.series.each((u, d) => {
4840
4840
  if (s && u.visible) {
4841
- const f = s.series[0].x, g = Yi(u), h = u instanceof yi ? u.dataFields?.customValue ?? "" : "", b = Dn(u, d), p = i.get(d);
4841
+ const f = s.series[0].x, g = Yi(u), h = u instanceof yi ? u.dataFields?.customValue ?? "" : "", b = On(u, d), p = i.get(d);
4842
4842
  if (p !== void 0) {
4843
4843
  let S;
4844
4844
  if (u instanceof ct ? S = u.columns : u instanceof Wt ? S = u.slices : S = We(u)?.clones, S !== void 0) {
@@ -4930,15 +4930,15 @@ function xS(t) {
4930
4930
  returnSelectionOIDs: h,
4931
4931
  selectionByIndexesChanged: b = !1,
4932
4932
  selectionByItemsChanged: p = !1
4933
- } = o ?? {}, { selectionIndexes: S, selectionFilters: C } = f ?? {}, { chart: x } = e, L = D(x.uid, "config"), v = Ee(a), T = ki(L), k = Ln(L), I = St(L), R = W(L?.series);
4933
+ } = o ?? {}, { selectionIndexes: S, selectionFilters: C } = f ?? {}, { chart: x } = e, L = O(x.uid, "config"), v = Ee(a), T = ki(L), k = Ln(L), I = St(L), R = W(L?.series);
4934
4934
  if (d !== !0 && L !== void 0) {
4935
- const O = CS({
4935
+ const D = CS({
4936
4936
  series: e,
4937
4937
  chartType: R,
4938
4938
  showMean: I
4939
4939
  }), $ = Z(L?.series), M = it(a), B = na(M).idField;
4940
4940
  let P = !1, X = !1, z;
4941
- if (O?.[0] !== void 0) {
4941
+ if (D?.[0] !== void 0) {
4942
4942
  if (o?.viewExtentUpdated !== !0) {
4943
4943
  z = o?.selectionData?.selectionItems, P = s === !0 || n === !0 || r === !0 || u === !0 || z !== void 0 && p;
4944
4944
  let Y = !0;
@@ -4954,24 +4954,24 @@ function xS(t) {
4954
4954
  chartConfig: L,
4955
4955
  options: o,
4956
4956
  series: e,
4957
- elementsToApplySelectionTo: O,
4957
+ elementsToApplySelectionTo: D,
4958
4958
  selectionItems: z,
4959
4959
  layerOidField: B,
4960
4960
  xAxisField: l,
4961
4961
  yAxisField: c
4962
4962
  });
4963
- let G = D(x.uid, "computedSelectionItems") ?? [];
4963
+ let G = O(x.uid, "computedSelectionItems") ?? [];
4964
4964
  if (G.push(...U), L.series.length > 1 && $ !== V.BarAndLineNoAggregation && $ !== V.BarAndLineSplitByNoAggregation && (G = vn({
4965
4965
  data: G,
4966
4966
  x: L.series[0].x,
4967
4967
  splitByField: Qt(L.series[0].query?.where)
4968
4968
  })), ae(x.uid, { computedSelectionItems: G }), g === !0) {
4969
4969
  const j = Array.from(new Set(Y));
4970
- let E = D(
4970
+ let E = O(
4971
4971
  x.uid,
4972
4972
  "computedSelectionIndexes"
4973
4973
  );
4974
- E === void 0 && (E = /* @__PURE__ */ new Map()), j.length === O.length ? E.set(i ?? 0, {}) : E.set(i ?? 0, {
4974
+ E === void 0 && (E = /* @__PURE__ */ new Map()), j.length === D.length ? E.set(i ?? 0, {}) : E.set(i ?? 0, {
4975
4975
  indexesToSelect: j
4976
4976
  }), ae(x.uid, { computedSelectionIndexes: E });
4977
4977
  }
@@ -5004,7 +5004,7 @@ function xS(t) {
5004
5004
  timeAggregationType: k
5005
5005
  });
5006
5006
  };
5007
- O.forEach((j) => {
5007
+ D.forEach((j) => {
5008
5008
  const E = j.isActive || G(j);
5009
5009
  Ht({
5010
5010
  element: j,
@@ -5016,12 +5016,12 @@ function xS(t) {
5016
5016
  }
5017
5017
  }
5018
5018
  if (Xt(e.uid, { isSelectionApplied: !0 }), pS({ chart: x, chartType: R, showMean: I }) && (bS(x), p || X)) {
5019
- let Y = D(x.uid, "computedSelectionItems") ?? z;
5019
+ let Y = O(x.uid, "computedSelectionItems") ?? z;
5020
5020
  Y = Array.from(new Set(Y?.map((G) => JSON.stringify(G)))).map(
5021
5021
  (G) => JSON.parse(G)
5022
5022
  );
5023
5023
  let U;
5024
- if (g === !0 && (U = D(x.uid, "computedSelectionIndexes") ?? S), Y === void 0 || Y.length === 0)
5024
+ if (g === !0 && (U = O(x.uid, "computedSelectionIndexes") ?? S), Y === void 0 || Y.length === 0)
5025
5025
  Xa({
5026
5026
  chart: x,
5027
5027
  selectionSource: ge.ProgrammaticSelection
@@ -5074,7 +5074,7 @@ function vS(t) {
5074
5074
  }
5075
5075
  }
5076
5076
  async function Fo(t) {
5077
- const { chart: e, listSelectedElements: i, selectionSource: a, errorStrings: o } = t, n = D(e.uid, "options"), s = D(e.uid, "config"), r = D(e.uid, "queryObject"), l = Ee(r);
5077
+ const { chart: e, listSelectedElements: i, selectionSource: a, errorStrings: o } = t, n = O(e.uid, "options"), s = O(e.uid, "config"), r = O(e.uid, "queryObject"), l = Ee(r);
5078
5078
  if (s && r)
5079
5079
  if (i.length === 0)
5080
5080
  Xa({
@@ -5090,8 +5090,8 @@ async function Fo(t) {
5090
5090
  let h = [], b = [];
5091
5091
  const p = /* @__PURE__ */ new Map(), { xAxisField: S } = i[0] ?? {}, C = W(s?.series), x = Z(s?.series), L = di(s?.series ?? []), v = vt(r), T = v.find((R) => R.name === S)?.type, k = v.find((R) => R.name === L[0])?.type;
5092
5092
  if (i.forEach((R) => {
5093
- const { elementDataContext: O, yAxisField: $, splitBy: M } = R, B = Fi({
5094
- dataContext: O,
5093
+ const { elementDataContext: D, yAxisField: $, splitBy: M } = R, B = Fi({
5094
+ dataContext: D,
5095
5095
  yAxisField: $,
5096
5096
  yList: L,
5097
5097
  xAxisField: S,
@@ -5109,12 +5109,12 @@ async function Fo(t) {
5109
5109
  indexesToSelect: Array.from(new Set(z))
5110
5110
  });
5111
5111
  }
5112
- if (!l && O !== void 0)
5113
- if (u && O[u] !== void 0 && (typeof O[u] == "number" || typeof O[u] == "string"))
5114
- b.push(O[u]);
5112
+ if (!l && D !== void 0)
5113
+ if (u && D[u] !== void 0 && (typeof D[u] == "number" || typeof D[u] == "string"))
5114
+ b.push(D[u]);
5115
5115
  else {
5116
- const z = cr(M) ? bi.uniqueIds : `${bi.uniqueIds}_${C === y.BoxPlotSeries ? Ti({ where: M }) : $}`, Y = O[z] ?? O[bi.uniqueIds] ?? [], U = fd({
5117
- dataContext: O,
5116
+ const z = cr(M) ? bi.uniqueIds : `${bi.uniqueIds}_${C === y.BoxPlotSeries ? Ti({ where: M }) : $}`, Y = D[z] ?? D[bi.uniqueIds] ?? [], U = fd({
5117
+ dataContext: D,
5118
5118
  options: n,
5119
5119
  xAxisField: S,
5120
5120
  yAxisField: $ ?? "",
@@ -5124,18 +5124,18 @@ async function Fo(t) {
5124
5124
  chartConfig: s,
5125
5125
  queryObject: r
5126
5126
  });
5127
- if (O[_.boxPlot.boxPlotOutlierId] || g.push(U), Array.isArray(Y) && Y.length > 0)
5127
+ if (D[_.boxPlot.boxPlotOutlierId] || g.push(U), Array.isArray(Y) && Y.length > 0)
5128
5128
  for (const G of Y)
5129
5129
  b.push(G);
5130
5130
  else U && n?.returnSelectionOIDs !== !1 && f.push(U);
5131
5131
  }
5132
5132
  }), !l && n?.returnSelectionOIDs !== !1 && f.length > 0) {
5133
- const O = { ...D(e.uid, "queryConfig") };
5134
- delete O.groupByFieldsForStatistics, delete O.orderByFields, delete O.outStatistics;
5133
+ const D = { ...O(e.uid, "queryConfig") };
5134
+ delete D.groupByFieldsForStatistics, delete D.orderByFields, delete D.outStatistics;
5135
5135
  const $ = await md({
5136
5136
  whereList: f,
5137
5137
  queryObject: r,
5138
- queryConfig: O,
5138
+ queryConfig: D,
5139
5139
  errorStrings: o
5140
5140
  });
5141
5141
  if (f.length === i.length)
@@ -5189,7 +5189,7 @@ async function FS(t, e) {
5189
5189
  }
5190
5190
  }
5191
5191
  });
5192
- const r = Pn(t, o), l = a instanceof Ve || a instanceof lt, c = [], u = D(o.uid, "config");
5192
+ const r = Pn(t, o), l = a instanceof Ve || a instanceof lt, c = [], u = O(o.uid, "config");
5193
5193
  if (u) {
5194
5194
  const d = u.series[0].x ?? "";
5195
5195
  o.series.each((f, g) => {
@@ -5228,7 +5228,7 @@ function AS(t, e) {
5228
5228
  t.renderer.labels.template.events.on(N.Hit, async (o) => {
5229
5229
  t.renderer.labels.template.events.isEnabled(N.Hit) && await FS(o, e);
5230
5230
  });
5231
- const a = D(t.chart.uid, "filterBySelection") === !0 ? qt.default : qt.pointer;
5231
+ const a = O(t.chart.uid, "filterBySelection") === !0 ? qt.default : qt.pointer;
5232
5232
  Ms(t, a);
5233
5233
  }
5234
5234
  }
@@ -5238,7 +5238,7 @@ function sn(t, e) {
5238
5238
  t.renderer.labels.template.events.disableType(N.Hit), Ms(t, qt.default);
5239
5239
  else {
5240
5240
  t.renderer.labels.template.events.enableType(N.Hit);
5241
- const a = D(t.chart.uid, "filterBySelection") === !0 ? qt.default : qt.pointer;
5241
+ const a = O(t.chart.uid, "filterBySelection") === !0 ? qt.default : qt.pointer;
5242
5242
  Ms(t, a);
5243
5243
  }
5244
5244
  }
@@ -5267,7 +5267,7 @@ function IS(t) {
5267
5267
  let n;
5268
5268
  e instanceof er || (o ? a === K.SFS ? n = A.verticalSurfaceGuideLabels : n = A.verticalLineGuideLabels : a === K.SFS ? n = A.horizontalSurfaceGuideLabels : n = A.horizontalLineGuideLabels);
5269
5269
  const s = { ...i };
5270
- s.content.rightToLeft = e.axis.rtl, Ot({ label: e, labelConfig: s, defaults: n }), e.axis.invalidateLabels();
5270
+ s.content.rightToLeft = e.axis.rtl, Dt({ label: e, labelConfig: s, defaults: n }), e.axis.invalidateLabels();
5271
5271
  }
5272
5272
  function RS(t, e, i) {
5273
5273
  const a = i.chart;
@@ -5294,9 +5294,9 @@ function RS(t, e, i) {
5294
5294
  }
5295
5295
  return s;
5296
5296
  }), t.axisFill.tooltip.events.on(N.Shown, (o) => {
5297
- const n = D(t.axisFill.axis.chart.uid, "config");
5297
+ const n = O(t.axisFill.axis.chart.uid, "config");
5298
5298
  if (n !== void 0) {
5299
- const s = D(t.axisFill.axis.chart.uid, "isRotated"), l = !Ao(t.axisFill.axis.renderer, s) ? 1 : 0, u = n.axes?.[l]?.guides, { tooltipReverseColor: d } = u?.[e] ?? {};
5299
+ const s = O(t.axisFill.axis.chart.uid, "isRotated"), l = !Ao(t.axisFill.axis.renderer, s) ? 1 : 0, u = n.axes?.[l]?.guides, { tooltipReverseColor: d } = u?.[e] ?? {};
5300
5300
  vu(o.target, d);
5301
5301
  }
5302
5302
  });
@@ -5306,12 +5306,12 @@ function wS(t, e) {
5306
5306
  const { guideName: a, start: o, end: n, guideIndex: s } = i, { chart: r } = t;
5307
5307
  let l = "";
5308
5308
  if (r !== void 0) {
5309
- const c = D(r.uid, "config"), u = D(r.uid, "isRotated"), f = !Ao(t.renderer, u) ? 1 : 0, h = c?.axes?.[f]?.guides;
5309
+ const c = O(r.uid, "config"), u = O(r.uid, "isRotated"), f = !Ao(t.renderer, u) ? 1 : 0, h = c?.axes?.[f]?.guides;
5310
5310
  let b = o, p = n;
5311
5311
  if (t instanceof Ve) {
5312
5312
  let L = new jc(), v;
5313
5313
  if (r !== void 0) {
5314
- const T = D(t.chart.uid, "formatLocale");
5314
+ const T = O(t.chart.uid, "formatLocale");
5315
5315
  L = ri({
5316
5316
  type: y.DateAxisFormat,
5317
5317
  iLocale: r.language.locale,
@@ -5336,13 +5336,13 @@ function wS(t, e) {
5336
5336
  return l;
5337
5337
  };
5338
5338
  }
5339
- function OS(t) {
5339
+ function DS(t) {
5340
5340
  const { axis: e, guideTooltipFormatter: i, utilsStrings: a } = t;
5341
5341
  Ke(e.uid, {
5342
5342
  guideTooltipFormatter: i ?? wS(e, a)
5343
5343
  });
5344
5344
  }
5345
- function DS(t) {
5345
+ function OS(t) {
5346
5346
  let e = Sa.Value;
5347
5347
  return t instanceof Ve ? e = Sa.Date : t instanceof lt && (e = Sa.Category), e;
5348
5348
  }
@@ -5370,7 +5370,7 @@ function Xr(t, e) {
5370
5370
  const { start: i, end: a } = e ?? {};
5371
5371
  let o;
5372
5372
  if (e !== void 0 && i !== void 0 && i !== null) {
5373
- const n = DS(t), s = t instanceof Te ? t.min : void 0, r = t instanceof Te ? t.max : void 0, l = sc({
5373
+ const n = OS(t), s = t instanceof Te ? t.min : void 0, r = t instanceof Te ? t.max : void 0, l = sc({
5374
5374
  inputValue: i,
5375
5375
  axisType: n,
5376
5376
  axisMin: s,
@@ -5437,7 +5437,7 @@ function BS(t, e) {
5437
5437
  RS(i, e, t), i.tick !== void 0 && (i.tick.disabled = !0), i.label !== void 0 && (i.label.inside = !0), i.grid !== void 0 && (i.grid.disabled = !0);
5438
5438
  }
5439
5439
  function NS(t, e) {
5440
- const { start: i, end: a } = e, o = D(t.uid, "config"), n = br(o);
5440
+ const { start: i, end: a } = e, o = O(t.uid, "config"), n = br(o);
5441
5441
  let s = i !== null ? i : void 0;
5442
5442
  s = t.data.find((c) => c[A.originalXValue] === i)?.[n] ?? s;
5443
5443
  let l = a !== null ? a : void 0;
@@ -5456,7 +5456,7 @@ function PS(t, e) {
5456
5456
  if (i !== void 0) {
5457
5457
  const { chart: o } = t?.component ?? {};
5458
5458
  let n;
5459
- if (t instanceof Aa && o instanceof ue && D(o.uid, "isNonAggregatedChart") === !0) {
5459
+ if (t instanceof Aa && o instanceof ue && O(o.uid, "isNonAggregatedChart") === !0) {
5460
5460
  const { modifiedStart: s, modifiedEnd: r } = NS(o, e);
5461
5461
  n = {
5462
5462
  isValidGuide: !0,
@@ -5519,7 +5519,7 @@ function zS(t) {
5519
5519
  const r = At(e, Fe.Guides)[n];
5520
5520
  r !== void 0 && WS(r, i[n]);
5521
5521
  }
5522
- OS({ axis: e, guideTooltipFormatter: a, utilsStrings: o });
5522
+ DS({ axis: e, guideTooltipFormatter: a, utilsStrings: o });
5523
5523
  }
5524
5524
  }
5525
5525
  function HS(t, e) {
@@ -5548,7 +5548,7 @@ function Vu(t) {
5548
5548
  }
5549
5549
  function XS(t) {
5550
5550
  const { target: e } = t;
5551
- if ((D(e.chart.uid, "config")?.horizontalAxisLabelsBehavior ?? xe.Rotate) === xe.Wrap) {
5551
+ if ((O(e.chart.uid, "config")?.horizontalAxisLabelsBehavior ?? xe.Rotate) === xe.Wrap) {
5552
5552
  let o = Number.MAX_SAFE_INTEGER;
5553
5553
  e.renderer.labels.each((s) => {
5554
5554
  Be(s.uid, "isGuide") !== !0 && s.measuredWidth > 0 && (o = Math.min(
@@ -5609,7 +5609,7 @@ function US(t) {
5609
5609
  function jS(t) {
5610
5610
  const { target: e } = t;
5611
5611
  if (e.chart !== void 0) {
5612
- const a = D(e.chart.uid, "config")?.axes?.[0].labels;
5612
+ const a = O(e.chart.uid, "config")?.axes?.[0].labels;
5613
5613
  if ((a?.visible ?? !0) && a !== void 0 && e.renderer.labels.length > 1) {
5614
5614
  let n = 0;
5615
5615
  e.renderer.labels.each((c) => {
@@ -5632,7 +5632,7 @@ function qS(t, e = 1) {
5632
5632
  }
5633
5633
  function ZS(t) {
5634
5634
  const { target: e } = t;
5635
- if (D(e.chart.uid, "config")?.axes?.[0].labels?.visible !== !1) {
5635
+ if (O(e.chart.uid, "config")?.axes?.[0].labels?.visible !== !1) {
5636
5636
  let o = 0;
5637
5637
  e.dataItems.each((n) => {
5638
5638
  const { label: s, itemIndex: r } = n;
@@ -5653,7 +5653,7 @@ function KS(t) {
5653
5653
  if (i !== void 0 && (t.events.off(N.Validated, i), Ke(t.uid, {
5654
5654
  debouncedAxisLabelRotationCallback: void 0
5655
5655
  })), e !== void 0) {
5656
- const o = D(e.uid, "config")?.axes?.[0].labels;
5656
+ const o = O(e.uid, "config")?.axes?.[0].labels;
5657
5657
  if (o !== void 0) {
5658
5658
  const n = tn(o.content, e.rtl, A.axisLabel), s = t.renderer.labels.template;
5659
5659
  s.rotation = n.angle, s.verticalCenter = n.verticalCenter, s.horizontalCenter = n.horizontalCenter, Number.isFinite(n.yOffset) && (s.dy = n.yOffset);
@@ -5750,7 +5750,7 @@ function nC(t) {
5750
5750
  r.axis = e;
5751
5751
  const { labels: l } = i, c = e.renderer instanceof Ft && r.rotation === A.rotatedAxisLabel.rotation, u = l;
5752
5752
  let d;
5753
- c ? (u.content.angle = void 0, u.content.horizontalAlignment = void 0, u.content.verticalAlignment = void 0, u.content.yoffset = void 0, d = A.rotatedAxisLabel) : e.renderer instanceof Ft && (a === xe.Stagger || a === xe.Wrap) && (d = { wrap: !0, dy: A.axisLabel.dy }), e.renderer instanceof Wa && o !== xe.Hide && (d = { wrap: !0 }), Ot({ label: r, labelConfig: u, defaults: d }), e.renderer.labels.template.paddingTop = e.renderer instanceof Ft ? 0 : A.axisLabel.dy, r.align = "none", r.valign = "none", oC({
5753
+ c ? (u.content.angle = void 0, u.content.horizontalAlignment = void 0, u.content.verticalAlignment = void 0, u.content.yoffset = void 0, d = A.rotatedAxisLabel) : e.renderer instanceof Ft && (a === xe.Stagger || a === xe.Wrap) && (d = { wrap: !0, dy: A.axisLabel.dy }), e.renderer instanceof Wa && o !== xe.Hide && (d = { wrap: !0 }), Dt({ label: r, labelConfig: u, defaults: d }), e.renderer.labels.template.paddingTop = e.renderer instanceof Ft ? 0 : A.axisLabel.dy, r.align = "none", r.valign = "none", oC({
5754
5754
  axis: e,
5755
5755
  horizontalAxisLabelsBehavior: a,
5756
5756
  verticalAxisLabelsBehavior: o,
@@ -5760,7 +5760,7 @@ function nC(t) {
5760
5760
  }), r.axis.invalidateLabels();
5761
5761
  }
5762
5762
  function Yr(t) {
5763
- return (t ?? Dd()) === te.Side;
5763
+ return (t ?? Od()) === te.Side;
5764
5764
  }
5765
5765
  function Eu(t, e) {
5766
5766
  let i, a;
@@ -5887,7 +5887,7 @@ function fC(t) {
5887
5887
  ));
5888
5888
  }
5889
5889
  function mC(t) {
5890
- const e = t.target, i = D(e.chart.uid, "isRotated");
5890
+ const e = t.target, i = O(e.chart.uid, "isRotated");
5891
5891
  let a = [];
5892
5892
  if (e instanceof Te) {
5893
5893
  if (e.renderer instanceof pn)
@@ -5946,7 +5946,7 @@ function dc(t) {
5946
5946
  const { axis: e, axisMinimum: i, axisMaximum: a } = t;
5947
5947
  let o;
5948
5948
  if (e instanceof Te && a !== void 0 && i !== void 0) {
5949
- const n = e.axisRanges.values, s = D(e.chart.uid, "config"), r = D(e.chart.uid, "isRotated"), c = !Ao(e.renderer, r) ? 1 : 0, d = s?.axes?.[c]?.guides;
5949
+ const n = e.axisRanges.values, s = O(e.chart.uid, "config"), r = O(e.chart.uid, "isRotated"), c = !Ao(e.renderer, r) ? 1 : 0, d = s?.axes?.[c]?.guides;
5950
5950
  for (let f = 0; f < n.length; f += 1) {
5951
5951
  const g = n[f], { value: h, endValue: b, axisFill: p, grid: S, label: C } = g;
5952
5952
  if (Be(C?.uid, "isGuide") === !0) {
@@ -5969,7 +5969,7 @@ function pC(t) {
5969
5969
  axisMinimum: t.min,
5970
5970
  axisMaximum: e
5971
5971
  }), e))) : t instanceof lt && t.events.on(N.Validated, () => {
5972
- const e = D(t.chart.uid, "isNonAggregatedChart");
5972
+ const e = O(t.chart.uid, "isNonAggregatedChart");
5973
5973
  hC({ axis: t, isNonAggregatedChart: e });
5974
5974
  });
5975
5975
  }
@@ -5980,9 +5980,9 @@ function oo(t) {
5980
5980
  r = e.push(new lt());
5981
5981
  else if (bt(o))
5982
5982
  r = e.push(new Ve());
5983
- else if (Oe(o)) {
5983
+ else if (De(o)) {
5984
5984
  r = e.push(new Te());
5985
- const l = D(r.chart.uid, "formatLocale");
5985
+ const l = O(r.chart.uid, "formatLocale");
5986
5986
  r.numberFormatter = ri({
5987
5987
  type: y.NumberAxisFormat,
5988
5988
  iLocale: r.chart.language.locale,
@@ -6022,7 +6022,7 @@ function zu(t) {
6022
6022
  }));
6023
6023
  }
6024
6024
  function bC(t) {
6025
- const { axis: e, isLogarithmic: i, axisConfigIndex: a } = t, o = D(e.chart.uid, "config"), n = i === !0 && Sr({ chartConfig: o, chartData: e.chart.data, axisConfigIndex: a });
6025
+ const { axis: e, isLogarithmic: i, axisConfigIndex: a } = t, o = O(e.chart.uid, "config"), n = i === !0 && Sr({ chartConfig: o, chartData: e.chart.data, axisConfigIndex: a });
6026
6026
  (e instanceof Ve || e instanceof Te) && (e.logarithmic = n, e.treatZeroAs = n ? A.treatZeroValueAs : 0);
6027
6027
  }
6028
6028
  function yC(t, e) {
@@ -6037,10 +6037,10 @@ function SC(t, e) {
6037
6037
  function CC(t) {
6038
6038
  const { axis: e, axisConfig: i, chartType: a, isSecondaryYAxis: o } = t, n = i?.minimum, s = i?.maximum, r = i?.isLogarithmic ?? !1;
6039
6039
  let l = n, c = s;
6040
- const { chart: u } = e, d = D(u.uid, "config");
6040
+ const { chart: u } = e, d = O(u.uid, "config");
6041
6041
  let f = 0;
6042
6042
  if (!(Number.isFinite(n) && Number.isFinite(s) && s > n && (!r || n > 0)) && u instanceof ue && d !== void 0) {
6043
- const h = D(u.uid, "isRotated"), b = nt(d), p = Ao(e.renderer, h), S = Hb(u), C = yr({
6043
+ const h = O(u.uid, "isRotated"), b = nt(d), p = Ao(e.renderer, h), S = Hb(u), C = yr({
6044
6044
  chartConfig: d,
6045
6045
  isSecondaryYAxis: o,
6046
6046
  seriesIds: S
@@ -6158,7 +6158,7 @@ function AC(t, e) {
6158
6158
  const i = t.renderer instanceof Ft;
6159
6159
  t.events.once(N.Validated, () => {
6160
6160
  let a = t.renderer instanceof Wa ? A.yAxisTitleLabel : A.xAxisTitleLabel;
6161
- i && (a = { ...a, dy: a.dy ?? 0 }), Ot({ label: t.title, labelConfig: e, defaults: a }), zi({
6161
+ i && (a = { ...a, dy: a.dy ?? 0 }), Dt({ label: t.title, labelConfig: e, defaults: a }), zi({
6162
6162
  chart: t.chart,
6163
6163
  label: t.title,
6164
6164
  labelType: t.renderer instanceof Ft ? q.XAxisTitle : q.YAxisTitle
@@ -6171,11 +6171,11 @@ function TC(t, e) {
6171
6171
  }
6172
6172
  function _u(t) {
6173
6173
  const e = yt(() => {
6174
- const { chart: i } = t, a = D(i.uid, "config");
6174
+ const { chart: i } = t, a = O(i.uid, "config");
6175
6175
  if (i !== void 0 && a !== void 0) {
6176
6176
  const o = W(a?.series);
6177
6177
  if (TC(t, o)) {
6178
- const n = D(i.uid, "isRotated"), s = nt(a);
6178
+ const n = O(i.uid, "isRotated"), s = nt(a);
6179
6179
  s === te.Stacked100 && !t.visible && le(t, !1);
6180
6180
  const l = i.xAxes.getIndex(0), c = i.yAxes.getIndex(0), u = i.yAxes.getIndex(1), d = n === !0 ? 1 : 0, f = a.axes?.[d], g = n === !0 ? 0 : 1, h = a.axes?.[g], b = a.axes?.[2];
6181
6181
  [
@@ -6238,7 +6238,7 @@ function Ho(t) {
6238
6238
  lineSymbol: k,
6239
6239
  labels: I,
6240
6240
  guides: R,
6241
- valueFormat: O,
6241
+ valueFormat: D,
6242
6242
  displayZeroLine: $,
6243
6243
  displayCursorTooltip: M,
6244
6244
  tickSpacing: B,
@@ -6277,7 +6277,7 @@ function Ho(t) {
6277
6277
  isXAxis: Ao(e.renderer, g),
6278
6278
  chartType: n,
6279
6279
  labelsTextSymbol: i.labels.content,
6280
- formatOptions: O,
6280
+ formatOptions: D,
6281
6281
  overridePercentMultiplication: u === te.Stacked100,
6282
6282
  axisValueFormatter: d,
6283
6283
  isTimeOnlyField: h,
@@ -6309,7 +6309,7 @@ function IC(t) {
6309
6309
  queryObject: h
6310
6310
  } = t;
6311
6311
  let { axisLabelsBehaviorChanged: b } = t;
6312
- const p = D(e.uid, "config"), S = p.axes, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x } = p, L = W(p.series), v = nt(p), k = D(e.uid, "fieldList")?.some((Le) => Le.name === p.series[0].x && Le.type === In.TimeOnly) ?? !1, I = dr({ chartConfig: p, queryObject: h, options: d }), R = za(p.series[0]) ? p.series[0].temporalBinning?.outTimeZone : void 0, O = a === !0 ? 1 : 0, $ = a === !0 ? 0 : 1, M = S?.[O], B = S?.[$];
6312
+ const p = O(e.uid, "config"), S = p.axes, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x } = p, L = W(p.series), v = nt(p), k = O(e.uid, "fieldList")?.some((Le) => Le.name === p.series[0].x && Le.type === In.TimeOnly) ?? !1, I = dr({ chartConfig: p, queryObject: h, options: d }), R = za(p.series[0]) ? p.series[0].temporalBinning?.outTimeZone : void 0, D = a === !0 ? 1 : 0, $ = a === !0 ? 0 : 1, M = S?.[D], B = S?.[$];
6313
6313
  let P = e.xAxes.getIndex(0);
6314
6314
  Gu({
6315
6315
  chart: e,
@@ -6342,8 +6342,8 @@ function IC(t) {
6342
6342
  ...ve,
6343
6343
  axis: P,
6344
6344
  axisConfig: M,
6345
- axisConfigIndex: O,
6346
- axisValueFormatter: O === 0 ? l : c,
6345
+ axisConfigIndex: D,
6346
+ axisValueFormatter: D === 0 ? l : c,
6347
6347
  isTimeOnlyField: k
6348
6348
  }), X !== void 0 && B !== void 0 && Ho({
6349
6349
  ...ve,
@@ -6372,11 +6372,11 @@ function IC(t) {
6372
6372
  }), P !== void 0 && P.ghostLabel.setPropertyValue("disabled", !0), X !== void 0 && X.ghostLabel.setPropertyValue("disabled", !0), z !== void 0 && z.ghostLabel.setPropertyValue("disabled", !0);
6373
6373
  }
6374
6374
  function Gu(t) {
6375
- const { chart: e, dualAxisChanged: i, rotationChanged: a, timeIntervalInfoWasReset: o, axisLabelsBehaviorChanged: n } = t, s = D(e.uid, "config"), { rotated: r, series: l } = s, c = s.axes, u = W(l), d = r === !0 ? 1 : 0, f = r === !0 ? 0 : 1, g = c?.[d]?.valueFormat, h = c?.[f]?.valueFormat, b = e.xAxes.getIndex(0), p = e.yAxes.getIndex(0), S = b === void 0 || a || g !== void 0 && Ds({
6375
+ const { chart: e, dualAxisChanged: i, rotationChanged: a, timeIntervalInfoWasReset: o, axisLabelsBehaviorChanged: n } = t, s = O(e.uid, "config"), { rotated: r, series: l } = s, c = s.axes, u = W(l), d = r === !0 ? 1 : 0, f = r === !0 ? 0 : 1, g = c?.[d]?.valueFormat, h = c?.[f]?.valueFormat, b = e.xAxes.getIndex(0), p = e.yAxes.getIndex(0), S = b === void 0 || a || g !== void 0 && Os({
6376
6376
  axis: b,
6377
6377
  valueFormat: g,
6378
6378
  chartType: u
6379
- }), C = p === void 0 || a || h !== void 0 && Ds({
6379
+ }), C = p === void 0 || a || h !== void 0 && Os({
6380
6380
  axis: p,
6381
6381
  valueFormat: h,
6382
6382
  chartType: u
@@ -6463,7 +6463,7 @@ function Xu(t) {
6463
6463
  numberOfIntervals: u
6464
6464
  };
6465
6465
  }
6466
- function OC(t) {
6466
+ function DC(t) {
6467
6467
  const { oldConfig: e, axisMax: i, min: a, max: o, labelsIncrement: n, numberOfIntervals: s, valueFormat: r, minimumFromField: l } = t, c = jo(r);
6468
6468
  let u = !0;
6469
6469
  if (e !== void 0) {
@@ -6500,11 +6500,11 @@ function Ni(t, e) {
6500
6500
  break;
6501
6501
  }
6502
6502
  if (i !== void 0) {
6503
- let a = D(t.uid, i);
6503
+ let a = O(t.uid, i);
6504
6504
  a !== void 0 && (a.dispose(), a = void 0, ae(t.uid, { [i]: void 0 }));
6505
6505
  }
6506
6506
  }
6507
- function DC(t) {
6507
+ function OC(t) {
6508
6508
  const { chart: e, labelList: i, scaleToAdjust: a, fontSize: o, type: n, axisConfig: s } = t;
6509
6509
  let r = Number.NaN, l = Number.NaN, c = a;
6510
6510
  if (n === qe.InnerLabel) {
@@ -6542,7 +6542,7 @@ function Ur(t) {
6542
6542
  const u = c / l;
6543
6543
  if (u > 0) {
6544
6544
  const { axisLabelToInnerChartRatio: d, innerLabelToInnerChartRatio: f } = A.gauge, g = i === qe.InnerLabel ? f : d;
6545
- r = o * (g / u), r = DC({
6545
+ r = o * (g / u), r = OC({
6546
6546
  chart: e,
6547
6547
  labelList: a,
6548
6548
  axisConfig: s,
@@ -6595,7 +6595,7 @@ function $C(t) {
6595
6595
  }
6596
6596
  }
6597
6597
  function BC(t, e) {
6598
- const a = D(t.uid, "config")?.axes?.[0];
6598
+ const a = O(t.uid, "config")?.axes?.[0];
6599
6599
  if (a?.innerLabel?.visible !== !1 && a?.innerLabel?.content?.font?.size === void 0) {
6600
6600
  const o = t.xAxes.getIndex(0)?.measuredWidth;
6601
6601
  if (o !== void 0 && o > 0) {
@@ -6628,7 +6628,7 @@ function Ws(t) {
6628
6628
  return t?.labels.content.font?.size === void 0 && t?.onlyShowFirstAndLastLabels === !0;
6629
6629
  }
6630
6630
  function PC(t) {
6631
- const e = t.chart, i = D(e.uid, "config")?.axes?.[0], a = At(t, Fe.GaugeFirstAndLastGuides);
6631
+ const e = t.chart, i = O(e.uid, "config")?.axes?.[0], a = At(t, Fe.GaugeFirstAndLastGuides);
6632
6632
  if (zn(a)) {
6633
6633
  const o = a.map((l) => l.label), n = o[0].scale, s = o[0].fontSize, r = Ur({
6634
6634
  chart: e,
@@ -6669,7 +6669,7 @@ function VC(t) {
6669
6669
  function Es(t, e) {
6670
6670
  const i = t.xAxes.getIndex(0);
6671
6671
  if (i !== void 0) {
6672
- const a = e ?? D(t.uid, "config"), { onlyShowFirstAndLastLabels: o } = a?.axes?.[0] ?? {};
6672
+ const a = e ?? O(t.uid, "config"), { onlyShowFirstAndLastLabels: o } = a?.axes?.[0] ?? {};
6673
6673
  if (!i.renderer.labels.template.visible || o === !0)
6674
6674
  t.radius = new Yo(A.gauge.radius);
6675
6675
  else {
@@ -6705,7 +6705,7 @@ function Es(t, e) {
6705
6705
  const c = (s.bbox.width + 5) * s.scale, u = (r.bbox.height + 5) * r.scale, d = typeof i.renderer.labels.template.radius == "number" ? i.renderer.labels.template.radius : i.renderer.labels.template.radius.value, f = (c + d) * 2 + t.radarContainer.measuredWidth + No(t.paddingLeft) + No(t.paddingRight), g = 80, h = 170, b = t.htmlContainer?.clientHeight ?? 0, p = Math.max(
6706
6706
  0,
6707
6707
  Math.min(1, (b - g) / (h - g))
6708
- ), S = t.radarContainer.measuredHeight + (u + d * p) * 2 + No(t.paddingTop) + No(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)), I = Number((T * v).toFixed(2)), R = k / T, O = I / T, $ = t.radarContainer.measuredWidth * R, M = t.radarContainer.measuredWidth * O, [B, P] = $ < M ? [k, R] : [I, O];
6708
+ ), S = t.radarContainer.measuredHeight + (u + d * p) * 2 + No(t.paddingTop) + No(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)), I = Number((T * v).toFixed(2)), R = k / T, D = I / T, $ = t.radarContainer.measuredWidth * R, M = t.radarContainer.measuredWidth * D, [B, P] = $ < M ? [k, R] : [I, D];
6709
6709
  Number.isFinite(B) && B >= 10 && B <= A.gauge.radius && (P < 0.98 || P > 1.02) && (t.radius = new Yo(B));
6710
6710
  }
6711
6711
  }
@@ -6727,7 +6727,7 @@ function Yu(t) {
6727
6727
  function EC(t, e) {
6728
6728
  let i = e ?? null;
6729
6729
  if (e != null) {
6730
- 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;
6730
+ const a = t.xAxes.getIndex(0), o = O(t.uid, "config"), n = a.min ?? o?.axes?.[0].minimum ?? A.gauge.axisMinimum, s = a.max ?? o?.axes?.[0].maximum ?? A.gauge.axisMaximum;
6731
6731
  e < n ? i = n : e > s && (i = s);
6732
6732
  }
6733
6733
  return i;
@@ -6749,8 +6749,8 @@ function _C(t) {
6749
6749
  (r) => Be(r.uid, "isGaugeAxisInnerLabel") === !0
6750
6750
  );
6751
6751
  if (s !== void 0) {
6752
- Ot({ label: s, labelConfig: i, defaults: A.gaugeInnerLabel });
6753
- const r = D(e.uid, "formatLocale");
6752
+ Dt({ label: s, labelConfig: i, defaults: A.gaugeInnerLabel });
6753
+ const r = O(e.uid, "formatLocale");
6754
6754
  s.html = JC({
6755
6755
  valueFormat: a,
6756
6756
  iLocale: e.language.locale,
@@ -6790,9 +6790,9 @@ function UC(t) {
6790
6790
  if (!a) {
6791
6791
  const r = At(i, Fe.GaugeTicksWithLabels);
6792
6792
  if (zn(r)) {
6793
- const l = D(e.uid, "formatLocale");
6793
+ const l = O(e.uid, "formatLocale");
6794
6794
  r.forEach((c) => {
6795
- Ot({ label: c.label, labelConfig: n }), Fn(c) && (c.label.html = Uu({
6795
+ Dt({ label: c.label, labelConfig: n }), Fn(c) && (c.label.html = Uu({
6796
6796
  valueFormat: o,
6797
6797
  iLocale: e.language.locale,
6798
6798
  formatLocale: l,
@@ -6827,7 +6827,7 @@ function ZC(t) {
6827
6827
  i.label.adapter.keys().includes("dx") || i.label.adapter.add("dx", (a) => {
6828
6828
  let o = a;
6829
6829
  if (i.label.measuredWidth > 0) {
6830
- const n = D(t.chart.uid, "config")?.axes?.[0], s = Be(i.label.uid, "originalWidth"), r = Ws(n) && s !== void 0 && s === i.label.measuredWidth && i.label.scale !== 1;
6830
+ const n = O(t.chart.uid, "config")?.axes?.[0], s = Be(i.label.uid, "originalWidth"), r = Ws(n) && s !== void 0 && s === i.label.measuredWidth && i.label.scale !== 1;
6831
6831
  o = Math.round(
6832
6832
  (r ? s * i.label.scale : i.label.measuredWidth) / 2
6833
6833
  ), i.id === ka.gaugeLastLabelId && (o *= -1);
@@ -6836,7 +6836,7 @@ function ZC(t) {
6836
6836
  }), i.label.adapter.keys().includes("dy") || i.label.adapter.add("dy", (a) => {
6837
6837
  let o = a;
6838
6838
  if (i.label.measuredHeight > 0) {
6839
- const n = D(t.chart.uid, "config")?.axes?.[0], s = Be(i.label.uid, "originalHeight"), r = Ws(n) && s !== void 0 && s === i.label.measuredHeight && i.label.scale !== 1;
6839
+ const n = O(t.chart.uid, "config")?.axes?.[0], s = Be(i.label.uid, "originalHeight"), r = Ws(n) && s !== void 0 && s === i.label.measuredHeight && i.label.scale !== 1;
6840
6840
  o = Math.round(
6841
6841
  (r ? s * i.label.scale : i.label.measuredHeight) / 2
6842
6842
  );
@@ -6848,7 +6848,7 @@ function ZC(t) {
6848
6848
  function KC(t) {
6849
6849
  const { chart: e, axis: i, onlyShowFirstAndLastLabels: a, valueFormat: o, gaugeLabelConfigContent: n, axisValueFormatter: s } = t;
6850
6850
  if (a) {
6851
- const r = At(i, Fe.GaugeFirstAndLastGuides), l = D(e.uid, "formatLocale");
6851
+ const r = At(i, Fe.GaugeFirstAndLastGuides), l = O(e.uid, "formatLocale");
6852
6852
  r.forEach((c) => {
6853
6853
  c?.label !== void 0 && Fn(c) && (c.label.html = Uu({
6854
6854
  valueFormat: o,
@@ -6917,10 +6917,10 @@ function ex(t) {
6917
6917
  const { chart: e, chartConfig: i, data: a, axisValueFormatter: o, gaugeInnerLabelFormatter: n, utilsStrings: s, errorStrings: r } = t, { axes: l } = i, c = W(i.series), u = l?.[0], d = e.xAxes.getIndex(0);
6918
6918
  if (d !== void 0 && u !== void 0) {
6919
6919
  const { valueFormat: f, needle: g, innerLabel: h, onlyShowFirstAndLastLabels: b } = u;
6920
- Ds({ axis: d, valueFormat: f, chartType: c }) && oo({ isXAxis: !0, axes: e.xAxes, valueFormat: f, errorStrings: r });
6920
+ Os({ axis: d, valueFormat: f, chartType: c }) && oo({ isXAxis: !0, axes: e.xAxes, valueFormat: f, errorStrings: r });
6921
6921
  const { min: p, max: S, labelsIncrement: C, numberOfIntervals: x } = Xu(u);
6922
- OC({
6923
- oldConfig: D(d.chart.uid, "config"),
6922
+ DC({
6923
+ oldConfig: O(d.chart.uid, "config"),
6924
6924
  axisMax: d.max,
6925
6925
  min: p,
6926
6926
  max: S,
@@ -6993,7 +6993,7 @@ function ix(t) {
6993
6993
  }
6994
6994
  function _n(t, e) {
6995
6995
  const { title: i, subtitle: a, headerContainer: o } = t;
6996
- Ot({ label: i, labelConfig: e?.title, defaults: A.titleLabel }), Ot({ label: a, labelConfig: e?.subtitle, defaults: A.titleLabel }), Iu(o, i.disabled && a.disabled), zi({
6996
+ Dt({ label: i, labelConfig: e?.title, defaults: A.titleLabel }), Dt({ label: a, labelConfig: e?.subtitle, defaults: A.titleLabel }), Iu(o, i.disabled && a.disabled), zi({
6997
6997
  chart: o.parent,
6998
6998
  label: i,
6999
6999
  labelType: q.ChartTitle
@@ -7009,7 +7009,7 @@ function ax(t) {
7009
7009
  }
7010
7010
  function Gn(t, e) {
7011
7011
  const { footer: i, footerContainer: a } = t;
7012
- Ot({ label: i, labelConfig: e, defaults: A.footer }), Iu(a, i.disabled || e?.content.text === ""), zi({
7012
+ Dt({ label: i, labelConfig: e, defaults: A.footer }), Iu(a, i.disabled || e?.content.text === ""), zi({
7013
7013
  chart: a.parent,
7014
7014
  label: i,
7015
7015
  labelType: q.ChartFooter
@@ -7065,7 +7065,7 @@ function lx(t, e) {
7065
7065
  function qu(t) {
7066
7066
  const { chart: e, scrollbarXConfig: i, scrollbarYConfig: a } = t;
7067
7067
  if (e instanceof ue) {
7068
- const o = D(e.uid, "isRotated");
7068
+ const o = O(e.uid, "isRotated");
7069
7069
  (e.scrollbarX === void 0 || e.scrollbarY === void 0) && ju(e);
7070
7070
  const { scrollbarX: n, scrollbarY: s } = e;
7071
7071
  [n, s].forEach((r) => {
@@ -7089,7 +7089,7 @@ function dx(t, e, i, a) {
7089
7089
  let o = 0;
7090
7090
  const n = t.dataItem;
7091
7091
  if (e && n) {
7092
- const s = D(e.uid, "config"), r = s?.roundCorners;
7092
+ const s = O(e.uid, "config"), r = s?.roundCorners;
7093
7093
  if (r?.rounded === !0) {
7094
7094
  const l = n.component ?? a, c = l.dataFields.valueY ?? l.dataFields.valueX ?? "", u = Number(n.dataContext?.[c]);
7095
7095
  if (Number.isFinite(u) && u !== 0) {
@@ -7180,7 +7180,7 @@ function mx(t) {
7180
7180
  seriesSymbol: (x && L !== void 0 ? L : d) ?? b,
7181
7181
  element: p,
7182
7182
  rendererSymbol: C
7183
- }), Da({ element: p, stylingInfo: g.stylingInfo }), x || (c.add(JSON.stringify(g.symbolWithColorInfo)), h = g);
7183
+ }), Oa({ element: p, stylingInfo: g.stylingInfo }), x || (c.add(JSON.stringify(g.symbolWithColorInfo)), h = g);
7184
7184
  }
7185
7185
  }), o > 1) {
7186
7186
  const p = h.symbolWithColorInfo ?? d ?? b;
@@ -7193,7 +7193,7 @@ function mx(t) {
7193
7193
  return c.size <= 1 && (u = h.symbolWithColorInfo ?? d), cx(e, l), u;
7194
7194
  }
7195
7195
  function gx(t) {
7196
- const { series: e, seriesSymbolMapForEvent: i, seriesIndexMapper: a, seriesIndex: o, colorMatch: n, rendererType: s } = t, r = t.seriesConfig, l = D(e.chart.uid, "config"), c = l?.series.length ?? 0, u = Z(l?.series), d = mx({
7196
+ const { series: e, seriesSymbolMapForEvent: i, seriesIndexMapper: a, seriesIndex: o, colorMatch: n, rendererType: s } = t, r = t.seriesConfig, l = O(e.chart.uid, "config"), c = l?.series.length ?? 0, u = Z(l?.series), d = mx({
7197
7197
  series: e,
7198
7198
  seriesConfig: r,
7199
7199
  seriesIndex: o,
@@ -7221,7 +7221,7 @@ function Zu(t) {
7221
7221
  seriesIndex: l,
7222
7222
  seriesSymbolMapForEvent: c,
7223
7223
  queryObject: u
7224
- } = t, { name: d } = e, f = D(i.chart.uid, "config"), g = wt({ config: f }), h = Z(f?.series);
7224
+ } = t, { name: d } = e, f = O(i.chart.uid, "config"), g = wt({ config: f }), h = Z(f?.series);
7225
7225
  le(i, e.visible);
7226
7226
  let b = d;
7227
7227
  const p = i.dataFields?.customValue ?? "";
@@ -7386,7 +7386,7 @@ function xx(t) {
7386
7386
  const { pieSeries: e, seriesConfig: i, dataLabelFormatter: a } = t, { dataLabels: o } = i, n = i.dataLabelsOffset ?? A.pieChart.dataLabelsOffset, s = i.dataLabelsInside ?? A.pieChart.dataLabelsInside;
7387
7387
  Xt(e.uid, {
7388
7388
  pieChartDataLabelFormatter: a ?? Cx(e, i)
7389
- }), Ot({
7389
+ }), Dt({
7390
7390
  label: e.labels.template,
7391
7391
  labelConfig: o,
7392
7392
  defaults: {
@@ -7446,7 +7446,7 @@ function Fx(t) {
7446
7446
  let o = i ?? "";
7447
7447
  const { chart: n } = t;
7448
7448
  if (n !== void 0 && a.tooltip !== void 0) {
7449
- const s = D(n.uid, "config"), { dataTooltipVisible: r } = s?.series[0] ?? {};
7449
+ const s = O(n.uid, "config"), { dataTooltipVisible: r } = s?.series[0] ?? {};
7450
7450
  if (r === !1)
7451
7451
  a.tooltip.disabled = !0;
7452
7452
  else {
@@ -7527,7 +7527,7 @@ function Rx(t) {
7527
7527
  colorRampIndex: s,
7528
7528
  isChartFillSymbol: !0
7529
7529
  });
7530
- o !== void 0 && o.selectedElementsTheme === void 0 && Da({
7530
+ o !== void 0 && o.selectedElementsTheme === void 0 && Oa({
7531
7531
  element: n,
7532
7532
  stylingInfo: c,
7533
7533
  stateKey: st.Active
@@ -7544,7 +7544,7 @@ function wx(t, e) {
7544
7544
  visible: !a
7545
7545
  });
7546
7546
  }
7547
- function Ox(t) {
7547
+ function Dx(t) {
7548
7548
  const { chart: e, seriesConfig: i, series: a, pieSlicesSymbols: o, options: n } = t, { tooltipFormatter: s, dataLabelFormatter: r } = n ?? {}, { x: l, y: c, id: u, innerRadius: d, startAngle: f, endAngle: g } = i;
7549
7549
  a.id = u;
7550
7550
  const h = Z([i]), b = A.pieChart;
@@ -7575,12 +7575,12 @@ function Ku(t) {
7575
7575
  function fc(t) {
7576
7576
  t instanceof Tt ? qo(t.htmlContainer) : t instanceof Ks && t.series.each((e) => {
7577
7577
  const i = e.events.on(N.Validated, () => {
7578
- t && Ku(t.series) && !D(t.uid, "renderingCompleteNotified") && (ae(t.uid, { renderingCompleteNotified: !0 }), Yb(t), qo(t.htmlContainer), i.dispose());
7578
+ t && Ku(t.series) && !O(t.uid, "renderingCompleteNotified") && (ae(t.uid, { renderingCompleteNotified: !0 }), Yb(t), qo(t.htmlContainer), i.dispose());
7579
7579
  });
7580
7580
  });
7581
7581
  }
7582
7582
  async function mc(t) {
7583
- const { chart: e, hitSlice: i, multiSelect: a = !1, errorStrings: o } = t, n = [], s = D(e.uid, "config"), r = e.series.getIndex(0);
7583
+ const { chart: e, hitSlice: i, multiSelect: a = !1, errorStrings: o } = t, n = [], s = O(e.uid, "config"), r = e.series.getIndex(0);
7584
7584
  if (s && r !== void 0) {
7585
7585
  const l = ru(r), c = Yi(r), u = {
7586
7586
  element: {},
@@ -7623,7 +7623,7 @@ async function mc(t) {
7623
7623
  });
7624
7624
  }
7625
7625
  }
7626
- function Dx(t, e) {
7626
+ function Ox(t, e) {
7627
7627
  const i = async (n) => {
7628
7628
  const { target: s } = n;
7629
7629
  if (bu(t) && t.series.getIndex(0)?.slices.template.togglable) {
@@ -7666,11 +7666,11 @@ function hc(t) {
7666
7666
  function $x(t, e) {
7667
7667
  t !== void 0 && e !== void 0 && window.IntersectionObserver !== void 0 && new IntersectionObserver(
7668
7668
  (a) => {
7669
- a[0].intersectionRatio > 0 && (D(t.uid, "chartWasCreatedWhileHidden") === !0 ? (t instanceof Me && t.events.once(N.Validated, () => {
7669
+ a[0].intersectionRatio > 0 && (O(t.uid, "chartWasCreatedWhileHidden") === !0 ? (t instanceof Me && t.events.once(N.Validated, () => {
7670
7670
  t.isDisposed() || rn(t), t.reinit();
7671
7671
  }), t.reinit(), t instanceof ue && En(t), ae(t.uid, {
7672
7672
  chartWasCreatedWhileHidden: !1
7673
- })) : D(t.uid, "chartWasUpdatedWhileHidden") === !0 && (t instanceof Me && t.events.once(N.Validated, () => {
7673
+ })) : O(t.uid, "chartWasUpdatedWhileHidden") === !0 && (t instanceof Me && t.events.once(N.Validated, () => {
7674
7674
  t.isDisposed() || rn(t), t.reinit();
7675
7675
  }), t.reinit(), ae(t.uid, {
7676
7676
  chartWasUpdatedWhileHidden: !1
@@ -7682,10 +7682,10 @@ function $x(t, e) {
7682
7682
  ).observe(e);
7683
7683
  }
7684
7684
  function rn(t) {
7685
- const e = D(t.uid, "config");
7685
+ const e = O(t.uid, "config");
7686
7686
  if (e !== void 0) {
7687
7687
  const i = gt(
7688
- D(t.uid, "pieChartRadius") ?? A.pieChart.chartOptimizedRadius
7688
+ O(t.uid, "pieChartRadius") ?? A.pieChart.chartOptimizedRadius
7689
7689
  );
7690
7690
  let a = i;
7691
7691
  const { series: o } = e, {
@@ -7759,14 +7759,14 @@ function ef(t) {
7759
7759
  Qu(t), Ju(t);
7760
7760
  else if (!(t instanceof Tt)) {
7761
7761
  const e = () => {
7762
- const a = D(t.uid, "config"), {
7762
+ const a = O(t.uid, "config"), {
7763
7763
  chartPaddingMinSize: o,
7764
7764
  chartPaddingRightWhenLegendNotOnRight: n,
7765
7765
  chartContainerPaddingTopWhenRotated: s,
7766
7766
  chartContainer: r
7767
7767
  } = A, l = a?.series, c = W(l), u = wt({ config: a }), d = l?.[0]?.dataLabels?.visible ?? !0;
7768
7768
  let f = A.chartDefaultPaddingRight;
7769
- if (u && d && (c === y.LineSeries || c === y.ComboLineAndBarSeries || c === y.BarSeries && (a?.stackedType ?? Dd()) === te.Side)) {
7769
+ if (u && d && (c === y.LineSeries || c === y.ComboLineAndBarSeries || c === y.BarSeries && (a?.stackedType ?? Od()) === te.Side)) {
7770
7770
  let h = 0;
7771
7771
  const b = (p) => Be(p.uid, "isDataLabel") ?? !1;
7772
7772
  t.series.each((p) => {
@@ -7809,9 +7809,9 @@ function jr(t) {
7809
7809
  function Xn(t) {
7810
7810
  const { chart: e, actionMode: i, cursorRange: a } = t;
7811
7811
  if ($t(e)) {
7812
- const o = i ?? D(e.uid, "actionMode") ?? A.actionMode;
7812
+ const o = i ?? O(e.uid, "actionMode") ?? A.actionMode;
7813
7813
  ae(e.uid, { actionMode: o });
7814
- const n = D(e.uid, "filterBySelection");
7814
+ const n = O(e.uid, "filterBySelection");
7815
7815
  switch (o) {
7816
7816
  case J.MonoSelection:
7817
7817
  case J.MultiSelection:
@@ -7893,7 +7893,7 @@ function qr(t) {
7893
7893
  isRotated: r,
7894
7894
  dualAxisChanged: l,
7895
7895
  timeIntervalInfoWasReset: c,
7896
- timeIntervalInfo: u?.timeIntervalInfo ?? D(e.uid, "timeIntervalInfo"),
7896
+ timeIntervalInfo: u?.timeIntervalInfo ?? O(e.uid, "timeIntervalInfo"),
7897
7897
  guideTooltipFormatter: f,
7898
7898
  xAxisLabelFormatter: g,
7899
7899
  yAxisLabelFormatter: h,
@@ -7990,8 +7990,8 @@ function Zr(t) {
7990
7990
  seriesWereReinitialized: C,
7991
7991
  utilsStrings: x,
7992
7992
  errorStrings: L
7993
- } = t, v = e.series.values, T = /* @__PURE__ */ new Map(), k = i.series.length, I = _i(i), R = nt(i), O = W(i.series), $ = vt(f, g?.popupTemplateFieldInfosEnabled), M = it(f), B = mr(n, Ee(M) ? void 0 : M?.renderer);
7994
- e instanceof ue && O === y.BoxPlotSeries && (r || h || b || l || C) && Qy(e, d), a.forEach((P, X) => {
7993
+ } = t, v = e.series.values, T = /* @__PURE__ */ new Map(), k = i.series.length, I = _i(i), R = nt(i), D = W(i.series), $ = vt(f, g?.popupTemplateFieldInfosEnabled), M = it(f), B = mr(n, Ee(M) ? void 0 : M?.renderer);
7994
+ e instanceof ue && D === y.BoxPlotSeries && (r || h || b || l || C) && Qy(e, d), a.forEach((P, X) => {
7995
7995
  const z = W([P]), Y = v[X], U = {
7996
7996
  numberOfSeries: k,
7997
7997
  series: Y,
@@ -8045,7 +8045,7 @@ function Zr(t) {
8045
8045
  });
8046
8046
  break;
8047
8047
  case y.PieSeries:
8048
- Ox({
8048
+ Dx({
8049
8049
  ...U,
8050
8050
  chart: e,
8051
8051
  pieSlicesSymbols: S,
@@ -8096,9 +8096,9 @@ function Kr(t) {
8096
8096
  timeIntervalInfo: v?.timeIntervalInfo,
8097
8097
  serverLimitReached: v?.serverLimitReached
8098
8098
  });
8099
- const O = /* @__PURE__ */ new Map();
8099
+ const D = /* @__PURE__ */ new Map();
8100
8100
  e.series.forEach((Le, et) => {
8101
- O.set(Le.id, et);
8101
+ D.set(Le.id, et);
8102
8102
  });
8103
8103
  const $ = jt(v);
8104
8104
  $ !== void 0 && (i.data = $);
@@ -8145,7 +8145,7 @@ function Kr(t) {
8145
8145
  }), Zr({
8146
8146
  chart: i,
8147
8147
  chartConfig: e,
8148
- seriesIndexMapper: O,
8148
+ seriesIndexMapper: D,
8149
8149
  rotationChanged: !1,
8150
8150
  queryObject: r,
8151
8151
  chartData: v,
@@ -8227,7 +8227,7 @@ function Ex(t) {
8227
8227
  config: ke(i),
8228
8228
  queryObject: a,
8229
8229
  filterBySelection: u?.filterBySelection
8230
- }), Dx(f, r), { chart: f, chartElements: h };
8230
+ }), Ox(f, r), { chart: f, chartElements: h };
8231
8231
  }
8232
8232
  function zx(t) {
8233
8233
  const {
@@ -8272,11 +8272,11 @@ function Hx(t) {
8272
8272
  queryObject: u,
8273
8273
  utilsStrings: d,
8274
8274
  errorStrings: f
8275
- } = t, { guideTooltipFormatter: g } = r ?? {}, h = D(i.uid, "config"), b = h?.series, p = e.series, S = W(p), C = wt({ config: e });
8275
+ } = t, { guideTooltipFormatter: g } = r ?? {}, h = O(i.uid, "config"), b = h?.series, p = e.series, S = W(p), C = wt({ config: e });
8276
8276
  ae(i.uid, { config: ke(e), isRotated: C }), ae(i.uid, { filterBySelection: r?.filterBySelection }), Xn({ chart: i, actionMode: r?.actionMode, cursorRange: r?.cursorRange });
8277
8277
  const { xOrYChanged: x, layerChanged: L } = n?.common ?? {};
8278
8278
  let { numberOfSeriesChanged: v } = n?.common ?? {};
8279
- const T = xd(h, e), k = vd(h, e), I = gg(h, e), R = hg(h, e), O = JSON.stringify(Zo(b)) !== JSON.stringify(Zo(p));
8279
+ const T = xd(h, e), k = vd(h, e), I = gg(h, e), R = hg(h, e), D = JSON.stringify(Zo(b)) !== JSON.stringify(Zo(p));
8280
8280
  let $ = !1, M = !1;
8281
8281
  Wi(e) && Wi(h) && ($ = pg(h, e), M = bg(h, e));
8282
8282
  const B = An({
@@ -8335,7 +8335,7 @@ function Hx(t) {
8335
8335
  });
8336
8336
  const E = S === y.BoxPlotSeries && (yg(p, b) || Sg(p, b));
8337
8337
  let ee = !1;
8338
- (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 || X || R || // NOTE: This fix is here to resolve the issue: https://devtopia.esri.com/webgis/arcgis-charts/issues/6537
8338
+ (i.series === void 0 || i.series.length === 0 || x || L || v || D || (S === y.BarSeries || S === y.LineSeries || S === y.RadarSeries || S === y.ComboLineAndBarSeries) && i.series.length !== e.series.length || X || R || // NOTE: This fix is here to resolve the issue: https://devtopia.esri.com/webgis/arcgis-charts/issues/6537
8339
8339
  // TODO: find a better way to order legends for box plot with split by field rather than re-initializing the series in the future.
8340
8340
  E || n?.boxPlot?.showMeanChanged) && (ee = !0, !o && (k || E || X) && i.invalidateData(), tf({
8341
8341
  chart: i,
@@ -8387,7 +8387,7 @@ function _x(t) {
8387
8387
  dataInfo: l,
8388
8388
  utilsStrings: c,
8389
8389
  errorStrings: u
8390
- } = t, d = D(e.uid, "config"), f = d?.series, g = o?.series, h = An({ oldConfig: d, newConfig: o, dataWasUpdated: a }), b = Mr(f, g), { count: p, data: S, queryConfig: C } = l ?? {}, x = jt(S);
8390
+ } = t, d = O(e.uid, "config"), f = d?.series, g = o?.series, h = An({ oldConfig: d, newConfig: o, dataWasUpdated: a }), b = Mr(f, g), { count: p, data: S, queryConfig: C } = l ?? {}, x = jt(S);
8391
8391
  ae(e.uid, { filterBySelection: r?.filterBySelection, config: ke(o) });
8392
8392
  const L = x !== void 0 && (e.data.length !== x.length || Kd(e.data, x));
8393
8393
  L && (ae(e.uid, { elementCount: p, queryConfig: C }), e.data = x), (h || b) && e.validateData(), Gt({
@@ -8551,7 +8551,7 @@ function Yx(t) {
8551
8551
  const {
8552
8552
  chartConfig: I,
8553
8553
  dataWasUpdated: R,
8554
- dataUpdateDetails: O,
8554
+ dataUpdateDetails: D,
8555
8555
  queryObject: $,
8556
8556
  options: M,
8557
8557
  t9nStrings: { utilsStrings: B },
@@ -8559,7 +8559,7 @@ function Yx(t) {
8559
8559
  hasSeriesFilteredOut: X,
8560
8560
  pieSlicesSymbols: z,
8561
8561
  dataInfo: Y
8562
- } = k, U = D(p.uid, "config"), G = I?.series, j = G !== void 0 ? W(G) : void 0;
8562
+ } = k, U = O(p.uid, "config"), G = I?.series, j = G !== void 0 ? W(G) : void 0;
8563
8563
  if (p.isDisposed() || S === void 0 || !Cd(U, I))
8564
8564
  throw new hi(ao.ChartDisposed);
8565
8565
  switch (j) {
@@ -8572,7 +8572,7 @@ function Yx(t) {
8572
8572
  chartElements: S,
8573
8573
  queryObject: $,
8574
8574
  dataWasUpdated: R,
8575
- dataUpdateDetails: O,
8575
+ dataUpdateDetails: D,
8576
8576
  dataInfo: Y,
8577
8577
  newConfig: I,
8578
8578
  configWithAllSeries: P,
@@ -8615,7 +8615,7 @@ function Yx(t) {
8615
8615
  const {
8616
8616
  chartConfig: I,
8617
8617
  options: R,
8618
- dataWasUpdated: O,
8618
+ dataWasUpdated: D,
8619
8619
  dataUpdateDetails: $,
8620
8620
  configWithAllSeries: M,
8621
8621
  hasSeriesFilteredOut: B,
@@ -8639,7 +8639,7 @@ function Yx(t) {
8639
8639
  }), x({
8640
8640
  chartConfig: I,
8641
8641
  options: R,
8642
- dataWasUpdated: O,
8642
+ dataWasUpdated: D,
8643
8643
  dataUpdateDetails: $,
8644
8644
  pieSlicesSymbols: P,
8645
8645
  t9nStrings: U,
@@ -8651,7 +8651,7 @@ function Yx(t) {
8651
8651
  }
8652
8652
  async function v(k) {
8653
8653
  if ($t(p) && (p instanceof ue || p instanceof Me)) {
8654
- const I = D(p.uid, "actionMode");
8654
+ const I = O(p.uid, "actionMode");
8655
8655
  I !== J.MonoSelection && I !== J.None && await Qb(p, k);
8656
8656
  }
8657
8657
  }
@@ -9050,7 +9050,7 @@ function uf(t, e) {
9050
9050
  i = he;
9051
9051
  break;
9052
9052
  case "left":
9053
- i = De;
9053
+ i = Oe;
9054
9054
  break;
9055
9055
  }
9056
9056
  return i;
@@ -9059,7 +9059,7 @@ function ff(t, e) {
9059
9059
  let i = ce;
9060
9060
  switch (t ?? e) {
9061
9061
  case "top":
9062
- i = De;
9062
+ i = Oe;
9063
9063
  break;
9064
9064
  case "bottom":
9065
9065
  i = he;
@@ -9071,7 +9071,7 @@ function yv(t) {
9071
9071
  const { angle: e, mappedHAlignment: i, mappedVAlignment: a, isGuideLabel: o } = t;
9072
9072
  let n = i, s = a, r = i;
9073
9073
  const l = a;
9074
- 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 === ce && (n = ce)), { align: n, valign: s, horizontalCenter: r, verticalCenter: l };
9074
+ return (Math.abs(e) === 270 || Math.abs(e) === 90) && (o || (r = void 0, s = void 0), l === Oe ? n = he : l === he ? n = Oe : l === ce && (n = ce)), { align: n, valign: s, horizontalCenter: r, verticalCenter: l };
9075
9075
  }
9076
9076
  function Jr(t) {
9077
9077
  const {
@@ -9402,15 +9402,15 @@ function xv(t) {
9402
9402
  [bold]${k}${c} [/]${I}`;
9403
9403
  }
9404
9404
  return i.additionalTooltipFields?.forEach((k) => {
9405
- const I = $e(o, k), R = o?.find((M) => M.name === k), O = g?.[k];
9405
+ const I = $e(o, k), R = o?.find((M) => M.name === k), D = g?.[k];
9406
9406
  let $ = "";
9407
- if (O != null && O !== void 0 && R)
9408
- if (Lg(R) && typeof O == "number")
9409
- $ = String(L ? L(O) : O);
9407
+ if (D != null && D !== void 0 && R)
9408
+ if (Lg(R) && typeof D == "number")
9409
+ $ = String(L ? L(D) : D);
9410
9410
  else if (Fg(R)) {
9411
- const M = new Date(O), B = r ? w(r.uid, "formatLocale") : void 0;
9411
+ const M = new Date(D), B = r ? w(r.uid, "formatLocale") : void 0;
9412
9412
  $ = new Intl.DateTimeFormat(B, {}).format(M);
9413
- } else R.type === In.String && typeof O == "string" && ($ = O);
9413
+ } else R.type === In.String && typeof D == "string" && ($ = D);
9414
9414
  T += l ? `
9415
9415
  ${$}[bold]${I}${c} [/]` : `
9416
9416
  [bold]${I}${c} [/]${$}`;
@@ -9450,7 +9450,7 @@ function Ua(t, e) {
9450
9450
  const { y: i, query: a } = e, n = Z(t.series) === V.BarAndLineSplitByNoAggregation ? `${i.toString()}_${Ti({ where: a?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [i].flat()[0], s = F.xAxisField, r = t.rotated === !0 ? "categoryYField" : "categoryXField", l = t.rotated === !0 ? "valueYField" : "valueXField", c = t.axes?.[0]?.valueFormat?.type === y.CategoryAxisFormat ? r : l, u = t.rotated === !0 ? "valueXField" : "valueYField";
9451
9451
  return { xField: s, yField: n, xAxisField: c, yAxisField: u };
9452
9452
  }
9453
- function Oi(t) {
9453
+ function Di(t) {
9454
9454
  const {
9455
9455
  chartConfig: e,
9456
9456
  seriesWereReinitialized: i,
@@ -9475,7 +9475,7 @@ function Oi(t) {
9475
9475
  }
9476
9476
  return d || f;
9477
9477
  }
9478
- function Di(t) {
9478
+ function Oi(t) {
9479
9479
  const { series: e, styleCallback: i, seriesConfig: a } = t, o = w(e.chart?.uid ?? Number.NaN, "config");
9480
9480
  o && cv({
9481
9481
  series: e,
@@ -9659,7 +9659,7 @@ function xf(t, e) {
9659
9659
  (o, n) => Io({ element: n, series: t, isHTML: e !== void 0 })
9660
9660
  );
9661
9661
  }
9662
- function Ov(t) {
9662
+ function Dv(t) {
9663
9663
  const { axes: e, seriesConfig: i, series: a, fieldList: o, utilsStrings: n } = t, { dataTooltipVisible: s } = i;
9664
9664
  let r;
9665
9665
  const l = w(a.chart?.uid ?? 0, "rtl") ?? !1, c = Mt(l);
@@ -9675,7 +9675,7 @@ function Ov(t) {
9675
9675
  [bold]${b}${c} [/]${L}`;
9676
9676
  }, r;
9677
9677
  }
9678
- function Dv(t) {
9678
+ function Ov(t) {
9679
9679
  const { seriesConfig: e, series: i, tooltip: a } = t, { dataTooltipVisible: o } = e;
9680
9680
  if (o !== !1) {
9681
9681
  const n = re(
@@ -9711,7 +9711,7 @@ function Mv(t) {
9711
9711
  currentSeries: e,
9712
9712
  tooltipValueFormat: o.dataTooltipValueFormat
9713
9713
  }), Ge(e.uid, {
9714
- histogramTooltipFormatter: i ?? Ov(t)
9714
+ histogramTooltipFormatter: i ?? Dv(t)
9715
9715
  });
9716
9716
  }
9717
9717
  function il(t) {
@@ -10103,7 +10103,7 @@ function Io(t) {
10103
10103
  });
10104
10104
  break;
10105
10105
  case y.HistogramSeries:
10106
- o = Dv({
10106
+ o = Ov({
10107
10107
  seriesConfig: l,
10108
10108
  series: i,
10109
10109
  tooltip: e
@@ -10183,7 +10183,7 @@ function Yv(t) {
10183
10183
  value: r,
10184
10184
  valueFormat: n ?? i,
10185
10185
  formatLocale: g
10186
- })) : typeof r == "number" && Oe(i) ? f = $a({
10186
+ })) : typeof r == "number" && De(i) ? f = $a({
10187
10187
  root: d,
10188
10188
  value: r,
10189
10189
  valueFormat: o ?? i,
@@ -10201,7 +10201,7 @@ function Uv(t) {
10201
10201
  dataTooltipPercentFormat: r
10202
10202
  } = t, l = i.chart?.uid ?? 0, { root: c } = i;
10203
10203
  let u = s;
10204
- u === void 0 && (Oe(n) && n ? (u = n, e && (u.intlOptions.style = "decimal")) : u = Lr());
10204
+ u === void 0 && (De(n) && n ? (u = n, e && (u.intlOptions.style = "decimal")) : u = Lr());
10205
10205
  const d = w(l, "formatLocale"), f = a !== void 0 ? $a({
10206
10206
  root: c,
10207
10207
  value: a,
@@ -10228,7 +10228,7 @@ function jv(t) {
10228
10228
  if (g !== void 0) {
10229
10229
  const { dataTooltipVisible: h } = n, b = o instanceof se ? n.markerVisible : void 0;
10230
10230
  if (h !== !1 && b !== !1) {
10231
- const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = i?.find((B) => B.name === n.x)?.type === In.TimeOnly, L = Z(g.series), v = nt(g) === te.Stacked100, T = it(a), k = na(T).idField, I = $e(i, n.x), R = Ma(I, p[0].title?.content.text), O = Cu({
10231
+ const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = i?.find((B) => B.name === n.x)?.type === In.TimeOnly, L = Z(g.series), v = nt(g) === te.Stacked100, T = it(a), k = na(T).idField, I = $e(i, n.x), R = Ma(I, p[0].title?.content.text), D = Cu({
10232
10232
  config: g,
10233
10233
  fieldList: i,
10234
10234
  objectIdField: k,
@@ -10271,7 +10271,7 @@ function jv(t) {
10271
10271
  case V.BarAndLineMonoField:
10272
10272
  case V.BarAndLineNoAggregation:
10273
10273
  case V.BarAndLineMultiFields:
10274
- ee.push(`[bold]${O}${M} [/]${j}`);
10274
+ ee.push(`[bold]${D}${M} [/]${j}`);
10275
10275
  break;
10276
10276
  case V.BarAndLineSplitByNoAggregation:
10277
10277
  case V.BarAndLineSplitBy:
@@ -10280,7 +10280,7 @@ function jv(t) {
10280
10280
  value: $e(i, ve),
10281
10281
  escape: !0
10282
10282
  });
10283
- ee.push(`[bold]${Le}${M} [/]${P}`), (L === V.BarAndLineSplitBy || "y" in g.series[0] && ve !== g.series[0].y) && ee.push(`[bold]${O}${M} [/]${j}`);
10283
+ ee.push(`[bold]${Le}${M} [/]${P}`), (L === V.BarAndLineSplitBy || "y" in g.series[0] && ve !== g.series[0].y) && ee.push(`[bold]${D}${M} [/]${j}`);
10284
10284
  }
10285
10285
  break;
10286
10286
  }
@@ -10534,7 +10534,7 @@ function oL(t) {
10534
10534
  seriesWereReinitialized: u,
10535
10535
  valueFormat: Bd(),
10536
10536
  defaultR2Value: f.notAvailable
10537
- }), Zv({ seriesConfig: a, series: s, sizePolicyChanged: d }), Oi(t) && Di({
10537
+ }), Zv({ seriesConfig: a, series: s, sizePolicyChanged: d }), Di(t) && Oi({
10538
10538
  styleCallback: () => iL({ root: e, chartConfig: i, markerSeries: s }),
10539
10539
  series: s,
10540
10540
  seriesConfig: a
@@ -10700,10 +10700,10 @@ function cL(t) {
10700
10700
  const C = [], x = S.query?.where ?? "", L = S.x, v = S.type === y.BoxPlotSeries || S.type === y.HeatSeries ? S.y.toString() : ha(b), T = ol(b);
10701
10701
  T.forEach((I, R) => {
10702
10702
  if (I !== void 0) {
10703
- let O = I.dataItem?.dataContext;
10704
- if (O)
10705
- if (r === y.BoxPlotSeries && O[F.boxPlot.boxPlotOutlierId] !== !0 && (O = Fi({
10706
- dataContext: O,
10703
+ let D = I.dataItem?.dataContext;
10704
+ if (D)
10705
+ if (r === y.BoxPlotSeries && D[F.boxPlot.boxPlotOutlierId] !== !0 && (D = Fi({
10706
+ dataContext: D,
10707
10707
  yAxisField: v,
10708
10708
  yList: h,
10709
10709
  xAxisField: L,
@@ -10713,7 +10713,7 @@ function cL(t) {
10713
10713
  showOutliers: c,
10714
10714
  isFeatureCollectionLayer: xi(s)
10715
10715
  })), Mn({
10716
- elementDataContext: O,
10716
+ elementDataContext: D,
10717
10717
  options: a,
10718
10718
  selectionItems: o,
10719
10719
  layerOidField: n,
@@ -10726,11 +10726,11 @@ function cL(t) {
10726
10726
  timeAggregationType: u
10727
10727
  }))
10728
10728
  if (d.push(I), C.push(R), r === y.BoxPlotSeries && I?.dataItem instanceof Va)
10729
- f.push(O);
10729
+ f.push(D);
10730
10730
  else {
10731
10731
  const M = /* @__PURE__ */ new Set();
10732
- r === y.PieSeries && wi(O) ? (xo({
10733
- groupOfSlicesDataContext: O
10732
+ r === y.PieSeries && wi(D) ? (xo({
10733
+ groupOfSlicesDataContext: D
10734
10734
  }) ?? []).forEach((P) => {
10735
10735
  o.forEach((X) => {
10736
10736
  Br({
@@ -10740,7 +10740,7 @@ function cL(t) {
10740
10740
  xAxisField: L
10741
10741
  }) && M.add(P);
10742
10742
  });
10743
- }) : M.add(O), Array.from(M)?.forEach((B) => {
10743
+ }) : M.add(D), Array.from(M)?.forEach((B) => {
10744
10744
  const P = Fi({
10745
10745
  dataContext: B,
10746
10746
  yAxisField: v,
@@ -10827,12 +10827,12 @@ function jn(t) {
10827
10827
  T = Array.from(new Set(T?.map(($) => JSON.stringify($)))).map(
10828
10828
  ($) => JSON.parse($)
10829
10829
  );
10830
- const O = {
10830
+ const D = {
10831
10831
  selectionItems: T,
10832
10832
  selectionSource: ge.ProgrammaticSelection
10833
10833
  };
10834
- u === !0 && k && (O.selectionIndexes = k), d !== !1 && C && (O.selectionOIDs = C), x?.[0] && (O.selectionFilters = x), Ha({
10835
- data: O,
10834
+ u === !0 && k && (D.selectionIndexes = k), d !== !1 && C && (D.selectionOIDs = C), x?.[0] && (D.selectionFilters = x), Ha({
10835
+ data: D,
10836
10836
  htmlContainer: e.root.dom
10837
10837
  });
10838
10838
  }
@@ -10850,7 +10850,7 @@ async function Ro(t) {
10850
10850
  const v = /* @__PURE__ */ new Set();
10851
10851
  let T = [];
10852
10852
  const k = /* @__PURE__ */ new Map(), I = [], R = [];
10853
- let O = [], $ = 0;
10853
+ let D = [], $ = 0;
10854
10854
  if (e.series.each((M, B) => {
10855
10855
  const { seriesConfig: P } = qa(M, o), X = P?.query?.where ?? "", z = P?.type === y.BoxPlotSeries ? P.y.toString() : ha(M);
10856
10856
  let Y;
@@ -10877,7 +10877,7 @@ async function Ro(t) {
10877
10877
  }
10878
10878
  if (!s)
10879
10879
  if (S && E[S] !== void 0 && (typeof E[S] == "number" || typeof E[S] == "string"))
10880
- O.push(E[S]);
10880
+ D.push(E[S]);
10881
10881
  else {
10882
10882
  const ee = cr(X) ? bi.uniqueIds : `${bi.uniqueIds}_${l === y.BoxPlotSeries ? Ti({ where: X }) : z}`, ve = E[ee] ?? E[bi.uniqueIds] ?? [], Le = fd({
10883
10883
  dataContext: E,
@@ -10895,7 +10895,7 @@ async function Ro(t) {
10895
10895
  });
10896
10896
  if (E[_.boxPlot.boxPlotOutlierId] || R.push(Le), Array.isArray(ve) && ve.length > 0)
10897
10897
  for (const et of ve)
10898
- O.push(et);
10898
+ D.push(et);
10899
10899
  else r?.returnSelectionOIDs !== !1 && I.push(Le);
10900
10900
  }
10901
10901
  }
@@ -10913,12 +10913,12 @@ async function Ro(t) {
10913
10913
  errorStrings: a
10914
10914
  });
10915
10915
  if (I.length === $)
10916
- O = X;
10916
+ D = X;
10917
10917
  else
10918
10918
  for (let z = 0; z < X.length; z += 1)
10919
- O.push(X[z]);
10919
+ D.push(X[z]);
10920
10920
  }
10921
- O = Array.from(new Set(O)), o.series.length > 1 && c !== V.BarAndLineNoAggregation && c !== V.BarAndLineSplitByNoAggregation && (T = vn({
10921
+ D = Array.from(new Set(D)), o.series.length > 1 && c !== V.BarAndLineNoAggregation && c !== V.BarAndLineSplitByNoAggregation && (T = vn({
10922
10922
  data: T,
10923
10923
  x: o.series[0].x,
10924
10924
  splitByField: Qt(o.series[0].query?.where)
@@ -10927,7 +10927,7 @@ async function Ro(t) {
10927
10927
  selectionItems: T,
10928
10928
  selectionSource: i
10929
10929
  };
10930
- R?.[0] && (M.selectionFilters = Array.from(new Set(R))), r?.returnSelectionIndexes === !0 && (M.selectionIndexes = k), r?.returnSelectionOIDs !== !1 && (M.selectionOIDs = O), s && (M.selectionPixelTarget = pr({
10930
+ R?.[0] && (M.selectionFilters = Array.from(new Set(R))), r?.returnSelectionIndexes === !0 && (M.selectionIndexes = k), r?.returnSelectionOIDs !== !1 && (M.selectionOIDs = D), s && (M.selectionPixelTarget = pr({
10931
10931
  chartConfig: o,
10932
10932
  layer: n,
10933
10933
  selectionItems: T
@@ -10959,7 +10959,7 @@ function nl(t) {
10959
10959
  const e = w(t, "filterBySelection");
10960
10960
  return wf(t) && e !== !0;
10961
10961
  }
10962
- function Of(t) {
10962
+ function Df(t) {
10963
10963
  const e = w(t, "config"), i = w(t, "queryObject"), a = W(e?.series);
10964
10964
  return Ee(i) && a === y.ScatterSeries;
10965
10965
  }
@@ -10968,7 +10968,7 @@ async function vc(t) {
10968
10968
  if (o) {
10969
10969
  const n = o instanceof pe ? o.get("cursor") : void 0;
10970
10970
  if (!Rf(n) && nl(o.uid)) {
10971
- const s = e.target, r = Of(o.uid) || pf(e, i);
10971
+ const s = e.target, r = Df(o.uid) || pf(e, i);
10972
10972
  s.dataItem?.dataContext?.[Co] ? ji({ chart: o, selectionSource: ge.SelectionByClick }) : (we({
10973
10973
  element: s,
10974
10974
  selected: Yt(s.uid, "selected") !== !0
@@ -11087,7 +11087,7 @@ function bL(t, e) {
11087
11087
  if (o === J.MultiSelection || o === J.MultiSelectionWithCtrlKey) {
11088
11088
  const n = t.xAxes.getIndex(0), s = t.yAxes.getIndex(0);
11089
11089
  if (n && s) {
11090
- const r = w(t.uid, "config"), l = W(r?.series), c = t.get("cursor"), u = pL({ cursor: c, xAxis: n, yAxis: s }), d = !Of(t.uid) && hf(a);
11090
+ const r = w(t.uid, "config"), l = W(r?.series), c = t.get("cursor"), u = pL({ cursor: c, xAxis: n, yAxis: s }), d = !Df(t.uid) && hf(a);
11091
11091
  t.series.each((f) => {
11092
11092
  !Ui(f) && !Zn(f) && (f instanceof ye ? mL({ series: f, cursorBounds: u, multiSelect: d }) : f instanceof se && (l === y.RadarSeries ? hL({ xAxis: n, series: f, cursorBounds: u, multiSelect: d }) : gL({ series: f, cursorBounds: u, multiSelect: d })));
11093
11093
  }), oe(c.selection, !1), await Ro({
@@ -11099,20 +11099,20 @@ function bL(t, e) {
11099
11099
  }
11100
11100
  });
11101
11101
  }
11102
- function Df(t, e) {
11102
+ function Of(t, e) {
11103
11103
  e !== void 0 && (e.marginBottom !== void 0 && t.set("marginBottom", e.marginBottom), e.marginTop !== void 0 && t.set("marginTop", e.marginTop), e.marginRight !== void 0 && t.set("marginRight", e.marginRight), e.marginLeft !== void 0 && t.set("marginLeft", e.marginLeft), e.verticalCenter !== void 0 && t.set("y", ff(e.verticalCenter)), e.horizontalCenter !== void 0 && t.set("x", uf(e.horizontalCenter)), e.strokeWidth !== void 0 && t.get("background")?.set("strokeWidth", e.strokeWidth), e.paddingBottom !== void 0 && t.set("paddingBottom", e.paddingBottom), e.paddingTop !== void 0 && t.set("paddingTop", e.paddingTop), e.paddingLeft !== void 0 && t.set("paddingLeft", e.paddingLeft), e.paddingRight !== void 0 && t.set("paddingRight", e.paddingRight), e.maxWidth !== void 0 && t.set("maxWidth", e.maxWidth));
11104
11104
  }
11105
11105
  function Na(t) {
11106
11106
  const { root: e, parent: i, defaults: a, index: o, id: n } = t, s = ht.new(e, {
11107
11107
  text: "",
11108
11108
  textAlign: "center",
11109
- background: Oa.new(e, {}),
11109
+ background: Da.new(e, {}),
11110
11110
  paddingBottom: 0,
11111
11111
  paddingTop: 0,
11112
11112
  paddingLeft: 0,
11113
11113
  paddingRight: 0
11114
11114
  });
11115
- return n !== void 0 && s.set("id", n), Df(s, a), i !== void 0 && i.children.insertIndex(o ?? i.children.length, s), s;
11115
+ return n !== void 0 && s.set("id", n), Of(s, a), i !== void 0 && i.children.insertIndex(o ?? i.children.length, s), s;
11116
11116
  }
11117
11117
  function Fc(t) {
11118
11118
  const { label: e, offset: i, offsetProperty: a } = t;
@@ -11126,7 +11126,7 @@ function Fc(t) {
11126
11126
  }
11127
11127
  });
11128
11128
  }
11129
- function Dt(t) {
11129
+ function Ot(t) {
11130
11130
  const { label: e, labelConfig: i, defaults: a, skipSettingText: o, skipSettingXAndY: n, skipSettingAbsoluteXY: s } = t, r = e instanceof ht ? e.root : e.entities[0]?.root, l = i?.visible ?? !0;
11131
11131
  if (e !== void 0 && !e.isDisposed() && i !== void 0) {
11132
11132
  const c = e instanceof ht && Ne(e.uid, "isGuide"), u = Sv({ root: r, input: i.content, isGuideLabel: c, defaults: a });
@@ -11282,7 +11282,7 @@ function LL(t) {
11282
11282
  text: s ? "{valueX}" : "{valueY}",
11283
11283
  populateText: !0,
11284
11284
  centerY: he,
11285
- centerX: c ? ce : De,
11285
+ centerX: c ? ce : Oe,
11286
11286
  // remove padding so if they fit in the label, it shows
11287
11287
  paddingBottom: 0,
11288
11288
  paddingTop: 0,
@@ -11418,7 +11418,7 @@ function qn(t) {
11418
11418
  [h]: d
11419
11419
  }), n !== void 0 && (r === y.HeatSeries ? n.content.text = "{value}" : n.content.text = s === !0 ? "{valueX}" : "{valueY}", n.visible = n.visible !== !1);
11420
11420
  const b = r === y.LineSeries || r === y.RadarSeries, p = n !== void 0 && b ? CL(n) : n;
11421
- Dt({
11421
+ Ot({
11422
11422
  label: a,
11423
11423
  labelConfig: p,
11424
11424
  defaults: o ?? F.dataLabel,
@@ -11619,7 +11619,7 @@ function Zn(t) {
11619
11619
  F.overlayId.histogramNormalDistribution
11620
11620
  ].includes(t.get("id") ?? "");
11621
11621
  }
11622
- function OL(t) {
11622
+ function DL(t) {
11623
11623
  let e = "";
11624
11624
  switch (t) {
11625
11625
  case Ie.Mean:
@@ -11637,7 +11637,7 @@ function OL(t) {
11637
11637
  }
11638
11638
  return e;
11639
11639
  }
11640
- function DL(t) {
11640
+ function OL(t) {
11641
11641
  const { series: e, seriesConfig: i, colorMatch: a, rendererSymbol: o } = t, { root: n } = e, s = e.chart;
11642
11642
  if (s) {
11643
11643
  const r = i.fillSymbol ?? Sh(), c = Ct({
@@ -11665,7 +11665,7 @@ function ML(t) {
11665
11665
  }
11666
11666
  function Vo(t) {
11667
11667
  const { root: e, xAxis: i, yAxis: a, type: o, utilsStrings: n } = t, s = se.new(e, {
11668
- id: OL(o),
11668
+ id: DL(o),
11669
11669
  valueXField: "x",
11670
11670
  valueYField: "y",
11671
11671
  xAxis: i,
@@ -11841,8 +11841,8 @@ function VL(t) {
11841
11841
  const { series: e, seriesConfig: i, seriesWereReinitialized: a, dataWasUpdated: o, data: n, options: s } = t;
11842
11842
  e.set("id", i.id), oe(e, i.visible), _e(e.columns.template, s?.selectionTheme), ja(e, i.name);
11843
11843
  const r = n?.bins.find((l) => "symbol" in l)?.symbol;
11844
- Oi(t) && Di({
11845
- styleCallback: () => DL({ ...t, rendererSymbol: r }),
11844
+ Di(t) && Oi({
11845
+ styleCallback: () => OL({ ...t, rendererSymbol: r }),
11846
11846
  series: e,
11847
11847
  seriesConfig: i
11848
11848
  }), ML({
@@ -11970,7 +11970,7 @@ function YL(t) {
11970
11970
  }), t.labels.template.setup = (e) => {
11971
11971
  e.set(
11972
11972
  "background",
11973
- Oa.new(e.root, {
11973
+ Da.new(e.root, {
11974
11974
  fill: e.root.interfaceColors.get("alternativeBackground"),
11975
11975
  fillOpacity: 0
11976
11976
  })
@@ -12101,7 +12101,7 @@ function Hs(t) {
12101
12101
  f = he;
12102
12102
  break;
12103
12103
  case "right":
12104
- f = De;
12104
+ f = Oe;
12105
12105
  break;
12106
12106
  default:
12107
12107
  f = ce;
@@ -12109,13 +12109,13 @@ function Hs(t) {
12109
12109
  }
12110
12110
  switch (l) {
12111
12111
  case "bottom":
12112
- g = i ? he : De, b = 0;
12112
+ g = i ? he : Oe, b = 0;
12113
12113
  break;
12114
12114
  case "middle":
12115
12115
  g = ce, b = -o / 2;
12116
12116
  break;
12117
12117
  default:
12118
- i ? (g = De, b = -o) : (g = he, b = -o);
12118
+ i ? (g = Oe, b = -o) : (g = he, b = -o);
12119
12119
  break;
12120
12120
  }
12121
12121
  i || (h = 0);
@@ -12123,7 +12123,7 @@ function Hs(t) {
12123
12123
  if (i)
12124
12124
  switch (l) {
12125
12125
  case "top":
12126
- d = 1, g = De;
12126
+ d = 1, g = Oe;
12127
12127
  break;
12128
12128
  case "bottom":
12129
12129
  d = 0, g = he;
@@ -12244,7 +12244,7 @@ function QL(t) {
12244
12244
  function JL(t) {
12245
12245
  const { guide: e, axis: i, guideLabelConfig: a, guideType: o } = t, n = e.get("label");
12246
12246
  if (n !== void 0) {
12247
- Df(n), n.set("layer", F.zIndexes.defaultLayer30), La(n.uid, { isGuide: !0, guideLabelConfig: a, guideType: o });
12247
+ Of(n), n.set("layer", F.zIndexes.defaultLayer30), La(n.uid, { isGuide: !0, guideLabelConfig: a, guideType: o });
12248
12248
  const { chart: s } = i;
12249
12249
  s !== void 0 && aa({
12250
12250
  chart: s,
@@ -12275,7 +12275,7 @@ function e0(t) {
12275
12275
  rightToLeft: n.get("direction") === "rtl"
12276
12276
  }
12277
12277
  };
12278
- Dt({ label: n, labelConfig: l, defaults: r, skipSettingAbsoluteXY: !0 }), Fa(e, i), n.events.once(ne.BoundsChanged, () => {
12278
+ Ot({ label: n, labelConfig: l, defaults: r, skipSettingAbsoluteXY: !0 }), Fa(e, i), n.events.once(ne.BoundsChanged, () => {
12279
12279
  Fa(e, i);
12280
12280
  }), e.root.events.once(ne.FrameEnded, () => {
12281
12281
  Fa(e, i);
@@ -12455,7 +12455,7 @@ function Tc(t) {
12455
12455
  isXAxis: !0,
12456
12456
  chartType: a,
12457
12457
  valueFormat: i
12458
- }), n = bt(i) && e instanceof Pe, s = Oe(i) && e instanceof Se && !(e instanceof Pe), r = o && e instanceof ze;
12458
+ }), n = bt(i) && e instanceof Pe, s = De(i) && e instanceof Se && !(e instanceof Pe), r = o && e instanceof ze;
12459
12459
  return !n && !s && !r;
12460
12460
  }
12461
12461
  function Yf(t) {
@@ -12560,9 +12560,9 @@ function c0(t) {
12560
12560
  isXAxis: i,
12561
12561
  chartType: a,
12562
12562
  valueFormat: o
12563
- }), h = e instanceof Se && !(e instanceof Pe) && Oe(o), b = e instanceof Pe && bt(o), p = e instanceof ze && g;
12563
+ }), h = e instanceof Se && !(e instanceof Pe) && De(o), b = e instanceof Pe && bt(o), p = e instanceof ze && g;
12564
12564
  if (!(h || b || p))
12565
- On("mismatchAxisAndValueFormat", d);
12565
+ Dn("mismatchAxisAndValueFormat", d);
12566
12566
  else {
12567
12567
  const C = r !== void 0 ? "html" : "text", x = Ai(e.uid, "labelFormatSignature"), L = x === void 0, v = x !== void 0 && x.outputMode !== C, T = x === void 0 || x.outputMode !== C || x.externalAxisLabelFormatter !== r || !mt(x.valueFormat, o);
12568
12568
  (L || v) && s0(e, r);
@@ -13059,7 +13059,7 @@ function w0(t) {
13059
13059
  }));
13060
13060
  }
13061
13061
  }
13062
- function O0(t, e) {
13062
+ function D0(t, e) {
13063
13063
  return (i) => {
13064
13064
  const { guideName: a, start: o, end: n } = i, { chart: s, root: r } = t;
13065
13065
  let l = "";
@@ -13097,13 +13097,13 @@ function O0(t, e) {
13097
13097
  return l;
13098
13098
  };
13099
13099
  }
13100
- function D0(t) {
13100
+ function O0(t) {
13101
13101
  const { axis: e, guideTooltipFormatter: i, utilsStrings: a } = t;
13102
13102
  Ya(e.uid, {
13103
- guideTooltipFormatter: i ?? O0(e, a)
13103
+ guideTooltipFormatter: i ?? D0(e, a)
13104
13104
  });
13105
13105
  }
13106
- function Oc(t) {
13106
+ function Dc(t) {
13107
13107
  const { inputValue: e, axis: i, axisMin: a, axisMax: o } = t;
13108
13108
  let n = e;
13109
13109
  if (e != null)
@@ -13188,7 +13188,7 @@ function Zf(t, e) {
13188
13188
  const { start: i, end: a } = e ?? {};
13189
13189
  let o;
13190
13190
  if (e !== void 0 && i !== void 0 && i !== null) {
13191
- const n = t instanceof Se ? t.get("min") : void 0, s = t instanceof Se ? t.get("max") : void 0, r = Oc({ inputValue: i, axis: t, axisMin: n, axisMax: s }), l = e.style?.type === K.SFS && a !== null && a !== void 0 ? Oc({ inputValue: a, axis: t, axisMin: n, axisMax: s }) : r;
13191
+ const n = t instanceof Se ? t.get("min") : void 0, s = t instanceof Se ? t.get("max") : void 0, r = Dc({ inputValue: i, axis: t, axisMin: n, axisMax: s }), l = e.style?.type === K.SFS && a !== null && a !== void 0 ? Dc({ inputValue: a, axis: t, axisMin: n, axisMax: s }) : r;
13192
13192
  o = {
13193
13193
  isValidGuide: r != null && (a === void 0 || l != null),
13194
13194
  start: r,
@@ -13250,7 +13250,7 @@ function W0(t) {
13250
13250
  const n = cl(e, Fe.Guides);
13251
13251
  i.forEach((s, r) => {
13252
13252
  V0({ axis: e, guide: n[r], guideConfig: s });
13253
- }), D0({ axis: e, guideTooltipFormatter: a, utilsStrings: o });
13253
+ }), O0({ axis: e, guideTooltipFormatter: a, utilsStrings: o });
13254
13254
  }
13255
13255
  }
13256
13256
  function E0(t) {
@@ -13263,7 +13263,7 @@ function E0(t) {
13263
13263
  for (let r = 0; r < o.length; r += 1)
13264
13264
  e.axisRanges.removeValue(o[r]);
13265
13265
  }
13266
- function Dc(t, e) {
13266
+ function Oc(t, e) {
13267
13267
  const a = cl(t, Fe.Guides).length, o = e?.length ?? 0, n = a - o;
13268
13268
  E0({
13269
13269
  axis: t,
@@ -13273,7 +13273,7 @@ function Dc(t, e) {
13273
13273
  }
13274
13274
  function z0(t) {
13275
13275
  const { axis: e, guideConfigs: i, anyGuideAboveChanged: a } = t;
13276
- a && Dc(e), B0(e, i), W0(t), Dc(e, i);
13276
+ a && Oc(e), B0(e, i), W0(t), Oc(e, i);
13277
13277
  }
13278
13278
  function Kf(t) {
13279
13279
  return t.getCellWidthPosition() * t.width();
@@ -13382,7 +13382,7 @@ function ys(t) {
13382
13382
  e.labels.template.setAll({
13383
13383
  rotation: l,
13384
13384
  centerX: r ? ce : he,
13385
- centerY: De,
13385
+ centerY: Oe,
13386
13386
  paddingTop: r ? F.axisLabel.paddingTop : F.rotatedAxisLabel.paddingTop,
13387
13387
  paddingLeft: r ? F.axisLabel.paddingLeft : F.rotatedAxisLabel.paddingLeft,
13388
13388
  paddingRight: r ? F.axisLabel.paddingRight : F.rotatedAxisLabel.paddingRight
@@ -13473,7 +13473,7 @@ function q0(t) {
13473
13473
  axisLabelsBehaviorChanged: n,
13474
13474
  chartType: s
13475
13475
  } = t, r = { ...i }, l = e.get("renderer"), c = l?.get("opposite");
13476
- Kn(l) ? (r.content.horizontalAlignment = "center", r.content.verticalAlignment = c ? "bottom" : "top") : (r.content.horizontalAlignment = c ? "left" : "right", r.content.verticalAlignment = "middle"), l instanceof Jt ? j0({ renderer: l, axisConfig: t.axisConfig, labelConfig: i }) : r.content.angle = r.content.angle ?? l.labels.template.get("rotation"), Dt({
13476
+ Kn(l) ? (r.content.horizontalAlignment = "center", r.content.verticalAlignment = c ? "bottom" : "top") : (r.content.horizontalAlignment = c ? "left" : "right", r.content.verticalAlignment = "middle"), l instanceof Jt ? j0({ renderer: l, axisConfig: t.axisConfig, labelConfig: i }) : r.content.angle = r.content.angle ?? l.labels.template.get("rotation"), Ot({
13477
13477
  label: l.labels.template,
13478
13478
  labelConfig: r
13479
13479
  }), U0({
@@ -13731,7 +13731,7 @@ function Pi(t) {
13731
13731
  ));
13732
13732
  } else if (bt(o))
13733
13733
  d = i.push(Pe.new(e, { strictMinMax: !0, baseInterval: { timeUnit: "day", count: 1 }, renderer: n }));
13734
- else if (Oe(o) && (d = i.push(Se.new(e, { strictMinMax: !0, renderer: n })), s && d instanceof Se)) {
13734
+ else if (De(o) && (d = i.push(Se.new(e, { strictMinMax: !0, renderer: n })), s && d instanceof Se)) {
13735
13735
  const f = i.getIndex(0);
13736
13736
  f instanceof Se && d.set("syncWithAxis", f);
13737
13737
  }
@@ -13786,7 +13786,7 @@ function cF(t) {
13786
13786
  const { axis: e, axisTitleConfig: i, isSecondaryYAxis: a } = t, o = e.get("renderer"), { chart: n } = e, s = Kn(o), r = me({ childId: tm(e, s), parent: e, useChildId: !0 }) ?? rF({ axis: e, isHorizontalAxis: s, isSecondaryYAxis: a });
13787
13787
  if (r instanceof ht) {
13788
13788
  const l = s ? { ...F.xAxisTitleLabel, verticalCenter: "top" } : F.yAxisTitleLabel;
13789
- if (Dt({ label: r, labelConfig: i, defaults: l }), s && a !== !0 && Xs(e, r), n) {
13789
+ if (Ot({ label: r, labelConfig: i, defaults: l }), s && a !== !0 && Xs(e, r), n) {
13790
13790
  const c = {
13791
13791
  chart: n,
13792
13792
  label: r,
@@ -13824,7 +13824,7 @@ function ul(t) {
13824
13824
  lineSymbol: k,
13825
13825
  title: I,
13826
13826
  labels: R,
13827
- isLogarithmic: O,
13827
+ isLogarithmic: D,
13828
13828
  grid: $,
13829
13829
  displayCursorTooltip: M,
13830
13830
  displayZeroLine: B,
@@ -13832,10 +13832,10 @@ function ul(t) {
13832
13832
  guides: X,
13833
13833
  tickSpacing: z,
13834
13834
  dateBaseInterval: Y
13835
- } = r, { root: U } = e, G = W(p.series), j = nt(p), E = Qe(p), { chart: ee } = e, ve = ee ? w(ee.uid, "config") : void 0, Le = ee ? w(ee.uid, "options") : void 0, et = it(v), mi = vt(et).find((Do) => Do.name === ve?.series?.[0]?.x), wo = Rg(mi), as = dr({ chartConfig: p, queryObject: v, options: Le }), Oo = za(p.series[0]) ? p.series[0].temporalBinning?.outTimeZone : void 0, Ka = e.get("renderer");
13835
+ } = r, { root: U } = e, G = W(p.series), j = nt(p), E = Qe(p), { chart: ee } = e, ve = ee ? w(ee.uid, "config") : void 0, Le = ee ? w(ee.uid, "options") : void 0, et = it(v), mi = vt(et).find((Oo) => Oo.name === ve?.series?.[0]?.x), wo = Rg(mi), as = dr({ chartConfig: p, queryObject: v, options: Le }), Do = za(p.series[0]) ? p.series[0].temporalBinning?.outTimeZone : void 0, Ka = e.get("renderer");
13836
13836
  Ya(e.uid, {
13837
13837
  zeroGridLine: { displayZeroLine: B, strokeWidth: $?.width ?? F.lineWidth, visible: $ !== void 0 }
13838
- }), f0({ axis: e, isLogarithmic: O, axisConfigIndex: l }), c0({
13838
+ }), f0({ axis: e, isLogarithmic: D, axisConfigIndex: l }), c0({
13839
13839
  axis: e,
13840
13840
  isXAxis: qi(e.get("renderer"), E),
13841
13841
  chartType: G,
@@ -13845,7 +13845,7 @@ function ul(t) {
13845
13845
  externalAxisLabelFormatter: S,
13846
13846
  isTimeOnlyField: wo,
13847
13847
  setTimeZone: as,
13848
- outTimeZone: Oo,
13848
+ outTimeZone: Do,
13849
13849
  errorStrings: L
13850
13850
  }), l0({ axis: e, isRotated: E, chartConfig: p }), h0({ axis: e, timeIntervalInfo: c, dateBaseInterval: Y, xFieldIsTimeOnly: wo }), Zt({
13851
13851
  element: Ka,
@@ -13971,7 +13971,7 @@ function fF(t) {
13971
13971
  utilsStrings: b,
13972
13972
  errorStrings: p,
13973
13973
  queryObject: S
13974
- } = t, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x, axes: L } = i, v = Qe(i), T = W(i.series), k = w(e.uid, "isNonAggregatedChart"), I = e.xAxes.getIndex(0), R = e.yAxes.getIndex(0), O = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1);
13974
+ } = t, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x, axes: L } = i, v = Qe(i), T = W(i.series), k = w(e.uid, "isNonAggregatedChart"), I = e.xAxes.getIndex(0), R = e.yAxes.getIndex(0), D = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1);
13975
13975
  Xi({ chartType: T, axesConfig: L, errorStrings: p });
13976
13976
  const $ = v ? 1 : 0, M = v ? 0 : 1, B = L?.[$], P = L?.[M];
13977
13977
  [
@@ -13988,7 +13988,7 @@ function fF(t) {
13988
13988
  axisConfigIndex: M
13989
13989
  },
13990
13990
  {
13991
- axis: O,
13991
+ axis: D,
13992
13992
  axisConfig: L?.[2],
13993
13993
  externalAxisLabelFormatter: g,
13994
13994
  isSecondaryYAxis: !0,
@@ -14029,7 +14029,7 @@ function mF(t, e) {
14029
14029
  const i = Q(F.backgroundColor);
14030
14030
  e.set(
14031
14031
  "background",
14032
- Oa.new(t, {
14032
+ Da.new(t, {
14033
14033
  fill: i.color,
14034
14034
  fillOpacity: i.opacity
14035
14035
  })
@@ -14088,7 +14088,7 @@ function hF(t) {
14088
14088
  });
14089
14089
  }
14090
14090
  function pF(t) {
14091
- 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) && pi(n?.axes?.[0]?.valueFormat), u = (s === y.LineSeries || s === y.RadarSeries) && bt(n?.axes?.[0]?.valueFormat);
14091
+ 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) && De(n?.axes?.[0]?.valueFormat), c = (s === y.LineSeries || s === y.RadarSeries) && pi(n?.axes?.[0]?.valueFormat), u = (s === y.LineSeries || s === y.RadarSeries) && bt(n?.axes?.[0]?.valueFormat);
14092
14092
  let d, f = !1;
14093
14093
  const g = i ?? w(e.uid, "actionMode") ?? F.actionMode;
14094
14094
  if (w(e.uid, "filterBySelection") === !0)
@@ -14162,7 +14162,7 @@ function lm(t, e) {
14162
14162
  if (r !== void 0) {
14163
14163
  r.set("paddingBottom", s);
14164
14164
  const c = me({ childId: Qf, parent: r });
14165
- c !== void 0 && (Dt({
14165
+ c !== void 0 && (Ot({
14166
14166
  label: c,
14167
14167
  labelConfig: i,
14168
14168
  defaults: F.titleLabel
@@ -14176,7 +14176,7 @@ function lm(t, e) {
14176
14176
  if (l !== void 0) {
14177
14177
  l.set("paddingBottom", s), r !== void 0 && r.set("paddingBottom", F.titleAndSubtitlePaddingBottom);
14178
14178
  const c = me({ childId: Jf, parent: l });
14179
- c !== void 0 && (Dt({
14179
+ c !== void 0 && (Ot({
14180
14180
  label: c,
14181
14181
  labelConfig: a,
14182
14182
  defaults: F.subtitleLabel
@@ -14211,7 +14211,7 @@ function cm(t, e) {
14211
14211
  const i = me({ childId: Jn, parent: t });
14212
14212
  if (i !== void 0) {
14213
14213
  const a = me({ childId: em, parent: i });
14214
- a !== void 0 && (Dt({
14214
+ a !== void 0 && (Ot({
14215
14215
  label: a,
14216
14216
  labelConfig: e,
14217
14217
  defaults: F.footer
@@ -14254,7 +14254,7 @@ function vF(t) {
14254
14254
  text: "{value}",
14255
14255
  populateText: !0,
14256
14256
  centerY: he,
14257
- centerX: De,
14257
+ centerX: Oe,
14258
14258
  // remove padding so if they fit in the label, it shows
14259
14259
  paddingBottom: 0,
14260
14260
  paddingTop: 0,
@@ -14339,7 +14339,7 @@ function TF(t) {
14339
14339
  customFunction: (L, v, T, k) => {
14340
14340
  const I = L.dataItem?.dataContext;
14341
14341
  if (L instanceof Rt) {
14342
- let R, O, $, M = !1;
14342
+ let R, D, $, M = !1;
14343
14343
  if (n === Ca.Renderer) {
14344
14344
  const B = I?.[_.rendererSymbolField];
14345
14345
  if (no(B)) {
@@ -14362,7 +14362,7 @@ function TF(t) {
14362
14362
  });
14363
14363
  ho(L, B);
14364
14364
  } else
14365
- typeof f == "number" && k < f ? { color: R, opacity: O } = C : typeof g == "number" && k > g ? { color: R, opacity: O } = x : v === T ? (R = h, O = b) : (R = wh.interpolate((k - v) / (T - v), h, p, "rgb"), O = b + (k - v) / (T - v) * (S - b)), R && L.set("fill", R), O !== void 0 && L.set("fillOpacity", O);
14365
+ typeof f == "number" && k < f ? { color: R, opacity: D } = C : typeof g == "number" && k > g ? { color: R, opacity: D } = x : v === T ? (R = h, D = b) : (R = wh.interpolate((k - v) / (T - v), h, p, "rgb"), D = b + (k - v) / (T - v) * (S - b)), R && L.set("fill", R), D !== void 0 && L.set("fillOpacity", D);
14366
14366
  }
14367
14367
  }
14368
14368
  }
@@ -14461,7 +14461,7 @@ function wF(t) {
14461
14461
  }
14462
14462
  return e;
14463
14463
  }
14464
- function OF(t) {
14464
+ function DF(t) {
14465
14465
  let e;
14466
14466
  const { legendItemLabel: i, legendItemColor: a, legendItemStrokeColor: o } = dm(t, !1);
14467
14467
  return Array.isArray(a) && (!o || Array.isArray(o)) && (e = {
@@ -14494,12 +14494,12 @@ function um(t) {
14494
14494
  classBreakIndex: p,
14495
14495
  numberOfClassBreaks: l.classBreakInfos.length,
14496
14496
  evaluateUpTo: h
14497
- }) : S = OF(b), S;
14497
+ }) : S = DF(b), S;
14498
14498
  }).filter(Boolean);
14499
14499
  }
14500
14500
  return n;
14501
14501
  }
14502
- function DF(t) {
14502
+ function OF(t) {
14503
14503
  const e = t.yAxes.getIndex(0);
14504
14504
  if (e) {
14505
14505
  const i = me({
@@ -14642,7 +14642,7 @@ function gm(t) {
14642
14642
  }), l = e.bottomAxesContainer;
14643
14643
  break;
14644
14644
  }
14645
- DF(e), i.markDirty(), fl(e, {
14645
+ OF(e), i.markDirty(), fl(e, {
14646
14646
  chartPaddingTop: c,
14647
14647
  chartPaddingBottom: c,
14648
14648
  chartPaddingLeft: c,
@@ -14711,8 +14711,8 @@ function pm(t) {
14711
14711
  { color: p.color, opacity: p.opacity, offset: h },
14712
14712
  { color: x, opacity: L, offset: h },
14713
14713
  { color: x, opacity: L, offset: 1 }
14714
- ], T = (I, R, O) => {
14715
- const $ = rt(`heatLegendLabel${O}`, e.uid), M = e.markerContainer.children.values.find(
14714
+ ], T = (I, R, D) => {
14715
+ const $ = rt(`heatLegendLabel${D}`, e.uid), M = e.markerContainer.children.values.find(
14716
14716
  (X) => X instanceof ht && X.get("id") === $
14717
14717
  );
14718
14718
  let B = M && !M.isDisposed() ? M : void 0;
@@ -14739,19 +14739,19 @@ function pm(t) {
14739
14739
  } else {
14740
14740
  B.set("x", at(R * 100));
14741
14741
  const z = e.startLabel.localBounds().bottom, Y = F.heatChart.legend.minMaxLabelPadding;
14742
- B.set("y", -z - Y), B.set("centerX", De);
14742
+ B.set("y", -z - Y), B.set("centerX", Oe);
14743
14743
  }
14744
14744
  };
14745
14745
  g > 0 && g < 1 && T(d, g, "Min"), h > 0 && h < 1 && T(f, h, "Max");
14746
14746
  const k = () => {
14747
14747
  let I;
14748
14748
  if (e.markerContainer.children.length > 0 && e.markerContainer.children.each((R) => {
14749
- R instanceof Oa && (I = R);
14749
+ R instanceof Da && (I = R);
14750
14750
  }), I) {
14751
14751
  let R = 0;
14752
14752
  e.get("orientation") === "vertical" && (R = 90), I.set(
14753
14753
  "fillGradient",
14754
- Oh.new(e.root, {
14754
+ Dh.new(e.root, {
14755
14755
  stops: v,
14756
14756
  rotation: R
14757
14757
  })
@@ -14771,7 +14771,7 @@ function pm(t) {
14771
14771
  if (e.get("orientation") === "vertical") {
14772
14772
  let r;
14773
14773
  e.markerContainer.children.length > 0 && e.markerContainer.children.each((l) => {
14774
- l instanceof Oa && (r = l);
14774
+ l instanceof Da && (r = l);
14775
14775
  }), r && r.set("rotation", 180);
14776
14776
  }
14777
14777
  };
@@ -14797,7 +14797,7 @@ function bm(t, e) {
14797
14797
  }
14798
14798
  };
14799
14799
  [t.startLabel, t.endLabel].forEach((a) => {
14800
- Dt({ label: a, labelConfig: i, skipSettingText: !0, skipSettingXAndY: !0 });
14800
+ Ot({ label: a, labelConfig: i, skipSettingText: !0, skipSettingXAndY: !0 });
14801
14801
  });
14802
14802
  }
14803
14803
  }
@@ -14846,7 +14846,7 @@ function Sm(t) {
14846
14846
  if (i !== void 0) {
14847
14847
  const { title: r, visible: l } = i, { legendTitle: c } = F.legendProperties;
14848
14848
  if (r !== void 0) {
14849
- Dt({
14849
+ Ot({
14850
14850
  label: s,
14851
14851
  labelConfig: { ...r, visible: l !== !1 && r.visible !== !1 },
14852
14852
  defaults: { ...c, verticalCenter: "top" }
@@ -15048,20 +15048,20 @@ function Lm(t) {
15048
15048
  horizontalAlignment: k ? "right" : "center"
15049
15049
  }
15050
15050
  };
15051
- Dt({
15051
+ Ot({
15052
15052
  label: e.valueLabels.template,
15053
15053
  labelConfig: I,
15054
15054
  defaults: F.legendProperties.valueLabels
15055
15055
  });
15056
- const R = w(n?.uid ?? 0, "rtl") ?? !1, O = T !== void 0 && !Number.isNaN(T);
15056
+ const R = w(n?.uid ?? 0, "rtl") ?? !1, D = T !== void 0 && !Number.isNaN(T);
15057
15057
  e.valueLabels.template.setAll({
15058
15058
  x: void 0,
15059
15059
  y: void 0,
15060
15060
  paddingRight: 5,
15061
15061
  textAlign: R ? "right" : "left",
15062
15062
  disabled: S === !1 && C === !1,
15063
- width: O ? T : null,
15064
- oversizedBehavior: O ? "wrap" : "none"
15063
+ width: D ? T : null,
15064
+ oversizedBehavior: D ? "wrap" : "none"
15065
15065
  });
15066
15066
  }
15067
15067
  }
@@ -15265,21 +15265,21 @@ function ba(t, e) {
15265
15265
  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, u = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, d = me({ childId: Qn, parent: t }), f = d instanceof Bi && s ? d.height() : 0, g = me({ childId: dl, parent: t }), h = g instanceof Bi && r ? g.height() : 0, b = me({ childId: Jn, parent: t }), p = b instanceof Bi && l ? b.height() : 0, S = me({ childId: fi, parent: a }), C = S instanceof ht && c && u ? S?.height() : 0, x = o?.legend?.position ?? F.legendProperties.position;
15266
15266
  let L;
15267
15267
  const v = e.get("verticalScrollbar");
15268
- let T = ce, k = ce, I = i.verticalLayout, R = ce, O = ce, $ = ce, M = ce, B = 0, P;
15268
+ let T = ce, k = ce, I = i.verticalLayout, R = ce, D = ce, $ = ce, M = ce, B = 0, P;
15269
15269
  const z = e.height() + C;
15270
15270
  let Y = 0, U = 0, G = 0, j = 0, E, ee;
15271
15271
  switch (x) {
15272
15272
  case H.Left:
15273
- I = i.verticalLayout, R = De, $ = De, O = De, M = De, P = void 0, T = De, k = De, Y = a.width(), B = f + h, z < t.seriesContainer.height() && (B += t.seriesContainer.height() / 2 - z / 2), e.setPrivate("width", void 0), L = Pc(e), v?.width() !== void 0 && L && v.isVisible() && (L += v.width() + F.scrollbarPadding), n && (E = he, ee = L);
15273
+ I = i.verticalLayout, R = Oe, $ = Oe, D = Oe, M = Oe, P = void 0, T = Oe, k = Oe, Y = a.width(), B = f + h, z < t.seriesContainer.height() && (B += t.seriesContainer.height() / 2 - z / 2), e.setPrivate("width", void 0), L = Pc(e), v?.width() !== void 0 && L && v.isVisible() && (L += v.width() + F.scrollbarPadding), n && (E = he, ee = L);
15274
15274
  break;
15275
15275
  case H.Right:
15276
- I = i.verticalLayout, R = he, $ = he, O = De, M = De, P = void 0, T = De, k = De, U = a.width(), B = f + h, z < t.seriesContainer.height() && (B += t.seriesContainer.height() / 2 - z / 2), e.setPrivate("width", void 0), L = Pc(e), v?.width() !== void 0 && L && v.isVisible() && (L += v.width() + F.scrollbarPadding), n && (E = he, ee = L);
15276
+ I = i.verticalLayout, R = he, $ = he, D = Oe, M = Oe, P = void 0, T = Oe, k = Oe, U = a.width(), B = f + h, z < t.seriesContainer.height() && (B += t.seriesContainer.height() / 2 - z / 2), e.setPrivate("width", void 0), L = Pc(e), v?.width() !== void 0 && L && v.isVisible() && (L += v.width() + F.scrollbarPadding), n && (E = he, ee = L);
15277
15277
  break;
15278
15278
  case H.Top:
15279
- I = i.gridLayout, R = ce, $ = ce, O = De, M = De, P = he, T = ce, k = ce, G += z, B += f + h, L = void 0, n && (E = void 0);
15279
+ I = i.gridLayout, R = ce, $ = ce, D = Oe, M = Oe, P = he, T = ce, k = ce, G += z, B += f + h, L = void 0, n && (E = void 0);
15280
15280
  break;
15281
15281
  case H.Bottom:
15282
- I = i.gridLayout, R = ce, $ = ce, O = he, M = he, P = he, T = ce, k = ce, j = z, B = -j - p, L = void 0, n && (E = void 0);
15282
+ I = i.gridLayout, R = ce, $ = ce, D = he, M = he, P = he, T = ce, k = ce, j = z, B = -j - p, L = void 0, n && (E = void 0);
15283
15283
  break;
15284
15284
  }
15285
15285
  (L === void 0 || L > 0) && (e.setPrivate("width", L), n && e.itemContainers.template.setAll({
@@ -15287,7 +15287,7 @@ function ba(t, e) {
15287
15287
  dx: ee
15288
15288
  })), e.setAll({ layout: I, x: T, centerX: k }), a.setAll({
15289
15289
  x: R,
15290
- y: O,
15290
+ y: D,
15291
15291
  centerX: $,
15292
15292
  centerY: M,
15293
15293
  dy: B,
@@ -15441,7 +15441,7 @@ function rA(t, e) {
15441
15441
  const a = me({ childId: fi, parent: i }) ?? km(t, i);
15442
15442
  if (e !== void 0) {
15443
15443
  const { title: o, visible: n } = e, { legendTitle: s } = F.legendProperties;
15444
- o !== void 0 ? (Dt({
15444
+ o !== void 0 ? (Ot({
15445
15445
  label: a,
15446
15446
  labelConfig: { ...o, visible: n !== !1 && o.visible !== !1 },
15447
15447
  defaults: { ...s, verticalCenter: "top" }
@@ -15484,7 +15484,7 @@ function cA(t) {
15484
15484
  chart: n
15485
15485
  });
15486
15486
  }
15487
- Dt({ label: e.labels.template, labelConfig: s }), e.labels.template.setAll({ x: void 0, y: void 0, paddingRight: 5 });
15487
+ Ot({ label: e.labels.template, labelConfig: s }), e.labels.template.setAll({ x: void 0, y: void 0, paddingRight: 5 });
15488
15488
  }
15489
15489
  }
15490
15490
  function dA(t, e) {
@@ -15641,7 +15641,7 @@ function hA(t, e) {
15641
15641
  function zc(t, e) {
15642
15642
  typeof e == "number" && Number.isFinite(e) && (t.get("orientation") === "horizontal" ? t.set("marginBottom", e) : t.set("marginLeft", e), t.markDirtyBounds());
15643
15643
  }
15644
- function Om(t) {
15644
+ function Dm(t) {
15645
15645
  const { chart: e, scrollbarXConfig: i, scrollbarYConfig: a } = t;
15646
15646
  if (!(e instanceof Ei) && e instanceof pe) {
15647
15647
  const o = w(e.uid, "isRotated");
@@ -15920,7 +15920,7 @@ function AA(t) {
15920
15920
  seriesIndex: n,
15921
15921
  tooltipFormatter: o?.tooltipFormatter,
15922
15922
  utilsStrings: u
15923
- }), Oi(t)) {
15923
+ }), Di(t)) {
15924
15924
  const T = {
15925
15925
  series: e,
15926
15926
  seriesConfig: L,
@@ -15931,7 +15931,7 @@ function AA(t) {
15931
15931
  rendererType: x,
15932
15932
  interactionsDisabled: o?.interactionsDisabled
15933
15933
  };
15934
- Di({
15934
+ Oi({
15935
15935
  styleCallback: () => LA(T),
15936
15936
  series: e,
15937
15937
  seriesConfig: L
@@ -16029,7 +16029,7 @@ function IA(t) {
16029
16029
  }
16030
16030
  function RA(t) {
16031
16031
  const { candleStickSeries: e, seriesConfig: i, options: a } = t;
16032
- _e(e.columns.template, a?.selectionTheme), ja(e, i.name), kA(t), Oi(t) && Di({
16032
+ _e(e.columns.template, a?.selectionTheme), ja(e, i.name), kA(t), Di(t) && Oi({
16033
16033
  styleCallback: () => IA(t),
16034
16034
  series: e,
16035
16035
  seriesConfig: i
@@ -16059,7 +16059,7 @@ function wA(t) {
16059
16059
  }
16060
16060
  return c;
16061
16061
  }
16062
- function OA(t) {
16062
+ function DA(t) {
16063
16063
  const { chartConfig: e, seriesConfig: i } = t, a = Z(e.series), { showOutliers: o, standardizeValues: n } = e, { y: s } = i, r = i?.query?.where, l = hr(e), c = ts({
16064
16064
  chartConfig: l,
16065
16065
  seriesConfig: i,
@@ -16074,7 +16074,7 @@ function OA(t) {
16074
16074
  });
16075
16075
  return c.properties.value = u, c;
16076
16076
  }
16077
- function DA(t) {
16077
+ function OA(t) {
16078
16078
  const {
16079
16079
  chartConfig: e,
16080
16080
  seriesConfig: i,
@@ -16099,7 +16099,7 @@ function MA(t) {
16099
16099
  seriesWereReinitialized: l,
16100
16100
  options: c
16101
16101
  } = t, u = re(e.uid, "bulletTemplate");
16102
- u && _e(u, c?.selectionTheme), ja(e, a?.name), DA({
16102
+ u && _e(u, c?.selectionTheme), ja(e, a?.name), OA({
16103
16103
  chartConfig: i,
16104
16104
  meanLineSeries: e,
16105
16105
  data: o,
@@ -16114,7 +16114,7 @@ function $A(t) {
16114
16114
  const { root: e, xAxis: i, yAxis: a, chartConfig: o, seriesIndex: n, options: s, errorStrings: r } = t, l = o.series[n];
16115
16115
  let c;
16116
16116
  if (l.type === y.LineSeries) {
16117
- const u = OA({ chartConfig: o, seriesConfig: l });
16117
+ const u = DA({ chartConfig: o, seriesConfig: l });
16118
16118
  c = se.new(e, {
16119
16119
  id: l.id,
16120
16120
  xAxis: i,
@@ -16224,7 +16224,7 @@ function EA(t) {
16224
16224
  seriesWereReinitialized: c
16225
16225
  });
16226
16226
  const f = VA(n, o.visible);
16227
- oe(e, f), Oi(t) && Di({
16227
+ oe(e, f), Di(t) && Oi({
16228
16228
  styleCallback: () => WA(t),
16229
16229
  series: e,
16230
16230
  seriesConfig: o
@@ -16329,7 +16329,7 @@ function XA(t) {
16329
16329
  dataWasUpdated: r,
16330
16330
  seriesWereReinitialized: l
16331
16331
  } = t, c = o.visible !== !1;
16332
- i !== void 0 && o.type === y.BoxPlotSeries && (oe(i, c), Oi(t) && Di({
16332
+ i !== void 0 && o.type === y.BoxPlotSeries && (oe(i, c), Di(t) && Oi({
16333
16333
  styleCallback: () => GA(t),
16334
16334
  series: i,
16335
16335
  seriesConfig: o
@@ -16389,7 +16389,7 @@ function ts(t) {
16389
16389
  function YA(t, e) {
16390
16390
  return t.series.values.find((i) => BA(i, e));
16391
16391
  }
16392
- function Dm(t, e) {
16392
+ function Om(t, e) {
16393
16393
  const i = t.series.values.find(
16394
16394
  (n) => n.get("id") === `${e}_${fe.Top}`
16395
16395
  ), a = t.series.values.find(
@@ -16445,7 +16445,7 @@ function jA(t) {
16445
16445
  if (s && r) {
16446
16446
  const l = t.series.values.filter((c) => c instanceof Ri);
16447
16447
  l.forEach((c, u) => {
16448
- const { topStepLineSeries: d, medianStepLineSeries: f, bottomStepLineSeries: g } = Dm(
16448
+ const { topStepLineSeries: d, medianStepLineSeries: f, bottomStepLineSeries: g } = Om(
16449
16449
  t,
16450
16450
  c.get("id") ?? ""
16451
16451
  );
@@ -16502,7 +16502,7 @@ function ZA(t) {
16502
16502
  a.set("id", o.id);
16503
16503
  const n = a.get("id") ?? "";
16504
16504
  RA({ ...t, seriesConfig: o, candleStickSeries: a });
16505
- const { topStepLineSeries: s, medianStepLineSeries: r, bottomStepLineSeries: l } = Dm(
16505
+ const { topStepLineSeries: s, medianStepLineSeries: r, bottomStepLineSeries: l } = Om(
16506
16506
  e,
16507
16507
  n
16508
16508
  ), c = [
@@ -16566,7 +16566,7 @@ function eT(t) {
16566
16566
  if (u !== void 0) {
16567
16567
  oe(e.bulletsContainer, o.markerVisible !== !1 && o.visible !== !1);
16568
16568
  let { markerSymbol: d } = o;
16569
- d === void 0 && (d = Od(), d.color = s), n ? d.color = s : d.color ??= s;
16569
+ d === void 0 && (d = Dd(), d.color = s), n ? d.color = s : d.color ??= s;
16570
16570
  const f = Et({
16571
16571
  dataItem: e.dataItems[0]?.dataContext,
16572
16572
  seriesConfig: o,
@@ -16786,7 +16786,7 @@ function sT(t) {
16786
16786
  seriesIndex: n,
16787
16787
  tooltipFormatter: o?.tooltipFormatter,
16788
16788
  utilsStrings: c
16789
- }), Oi(t) && Di({
16789
+ }), Di(t) && Oi({
16790
16790
  styleCallback: () => oT(t),
16791
16791
  series: e,
16792
16792
  seriesConfig: b
@@ -16800,7 +16800,7 @@ function lT(t, e) {
16800
16800
  i.set("cursorOverStyle", "pointer"), i.setup = (a) => {
16801
16801
  a.set(
16802
16802
  "background",
16803
- Oa.new(a.root, {
16803
+ Da.new(a.root, {
16804
16804
  fill: a.root.interfaceColors.get("alternativeBackground"),
16805
16805
  fillOpacity: 0
16806
16806
  })
@@ -16910,7 +16910,7 @@ function mT(t) {
16910
16910
  const { pieSeries: e, seriesConfig: i, dataLabelFormatter: a } = t, { dataLabels: o } = i, n = i.dataLabelsOffset ?? F.pieChart.dataLabelsOffset, s = i.dataLabelsInside ?? F.pieChart.dataLabelsInside;
16911
16911
  Ge(e.uid, {
16912
16912
  pieChartDataLabelFormatter: a ?? fT(e, i)
16913
- }), Dt({
16913
+ }), Ot({
16914
16914
  label: e.labels.template,
16915
16915
  labelConfig: o,
16916
16916
  defaults: {
@@ -17051,7 +17051,7 @@ function xT(t) {
17051
17051
  data: s,
17052
17052
  labelUpdateNeeded: l,
17053
17053
  groupOfSlicesUpdateNeeded: u
17054
- }), Oi(t) && Di({
17054
+ }), Di(t) && Oi({
17055
17055
  styleCallback: () => hT(t),
17056
17056
  series: e,
17057
17057
  seriesConfig: i
@@ -17253,7 +17253,7 @@ function IT(t) {
17253
17253
  seriesIndex: s,
17254
17254
  tooltipFormatter: n?.tooltipFormatter,
17255
17255
  utilsStrings: f
17256
- }), Oi(t) && Di({
17256
+ }), Di(t) && Oi({
17257
17257
  styleCallback: () => kT(t),
17258
17258
  series: e,
17259
17259
  seriesConfig: g
@@ -17388,13 +17388,13 @@ function is(t) {
17388
17388
  utilsStrings: S,
17389
17389
  groupOfSlicesUpdateNeeded: C,
17390
17390
  labelUpdateNeeded: x
17391
- } = t, { chartRenderer: L } = i, { root: v } = e, { series: T } = i, k = W(i.series), I = Z(i.series), R = e.series.values, O = _i(i), $ = i.series.length, M = /* @__PURE__ */ new Map(), B = vt(p, a?.popupTemplateFieldInfosEnabled), P = it(p), X = Ee(P) ? void 0 : mr(L, P.renderer), z = l || s || r || c || d, Y = {
17391
+ } = t, { chartRenderer: L } = i, { root: v } = e, { series: T } = i, k = W(i.series), I = Z(i.series), R = e.series.values, D = _i(i), $ = i.series.length, M = /* @__PURE__ */ new Map(), B = vt(p, a?.popupTemplateFieldInfosEnabled), P = it(p), X = Ee(P) ? void 0 : mr(L, P.renderer), z = l || s || r || c || d, Y = {
17392
17392
  root: v,
17393
17393
  chartConfig: i,
17394
17394
  queryObject: p,
17395
17395
  // @REV: temporary
17396
17396
  options: a,
17397
- colorMatch: O,
17397
+ colorMatch: D,
17398
17398
  dataWasUpdated: s,
17399
17399
  sortChanged: r,
17400
17400
  seriesWereReinitialized: l,
@@ -17446,7 +17446,7 @@ function is(t) {
17446
17446
  break;
17447
17447
  }
17448
17448
  case ee === y.HistogramSeries: {
17449
- E instanceof ye && e instanceof pe && Dg(o) && WL({
17449
+ E instanceof ye && e instanceof pe && Og(o) && WL({
17450
17450
  ...U,
17451
17451
  series: E,
17452
17452
  allChartSeries: R,
@@ -17488,7 +17488,7 @@ function is(t) {
17488
17488
  case ee === y.ScatterSeries: {
17489
17489
  E = Kv(e);
17490
17490
  const ve = kf(e);
17491
- E instanceof se && ve instanceof se && Og(o) && oL({
17491
+ E instanceof se && ve instanceof se && Dg(o) && oL({
17492
17492
  ...U,
17493
17493
  series: E,
17494
17494
  seriesConfig: j,
@@ -17530,13 +17530,13 @@ function wT(t) {
17530
17530
  }
17531
17531
  });
17532
17532
  }
17533
- function OT(t) {
17533
+ function DT(t) {
17534
17534
  t.slices.each((e) => {
17535
17535
  const i = Yt(e.uid, "selected") !== !0;
17536
17536
  we({ element: e, selected: i });
17537
17537
  });
17538
17538
  }
17539
- async function DT(t, e) {
17539
+ async function OT(t, e) {
17540
17540
  if (Qr(t)) {
17541
17541
  const i = w(t.uid, "actionMode");
17542
17542
  i !== J.MonoSelection && i !== J.None && (t.series.each((a) => {
@@ -17548,7 +17548,7 @@ async function DT(t, e) {
17548
17548
  RT(a);
17549
17549
  break;
17550
17550
  case a instanceof Je:
17551
- OT(a);
17551
+ DT(a);
17552
17552
  break;
17553
17553
  }
17554
17554
  }), await Ro({
@@ -17615,7 +17615,7 @@ function MT(t, e) {
17615
17615
  return i = c || d, i;
17616
17616
  }
17617
17617
  function $T() {
17618
- Dh(Ux);
17618
+ Oh(Ux);
17619
17619
  }
17620
17620
  function BT(t) {
17621
17621
  t.dispose();
@@ -17742,7 +17742,7 @@ function ET(t) {
17742
17742
  rotationChanged: f,
17743
17743
  axisLabelsBehaviorChanged: I,
17744
17744
  timeIntervalInfoWasReset: x
17745
- }), O = R || Tv({
17745
+ }), D = R || Tv({
17746
17746
  currentChartSeriesCount: e.series.length,
17747
17747
  chartConfig: i,
17748
17748
  dataUpdateDetails: s,
@@ -17750,7 +17750,7 @@ function ET(t) {
17750
17750
  sizePolicyChangesRequireSeriesReinit: v,
17751
17751
  seriesCompositionChanged: b
17752
17752
  });
17753
- return R && (im({ chart: e, chartConfig: i, errorStrings: k }), I = [!0, !0]), O && (e.series.clear(), pl({ chart: e, chartConfig: i, options: u, utilsStrings: T, queryObject: d, errorStrings: k }), e.gridContainer?.toBack?.()), am({
17753
+ return R && (im({ chart: e, chartConfig: i, errorStrings: k }), I = [!0, !0]), D && (e.series.clear(), pl({ chart: e, chartConfig: i, options: u, utilsStrings: T, queryObject: d, errorStrings: k }), e.gridContainer?.toBack?.()), am({
17754
17754
  chart: e,
17755
17755
  chartConfig: i,
17756
17756
  queryObject: d,
@@ -17777,7 +17777,7 @@ function ET(t) {
17777
17777
  dataWasUpdated: n,
17778
17778
  sortChanged: c,
17779
17779
  seriesIndexMapper: r,
17780
- seriesWereReinitialized: O,
17780
+ seriesWereReinitialized: D,
17781
17781
  rotationChanged: f,
17782
17782
  colorMatchChanged: g,
17783
17783
  stackedTypeChanged: h,
@@ -17792,11 +17792,11 @@ function ET(t) {
17792
17792
  dataWasUpdated: n,
17793
17793
  chartConfig: i,
17794
17794
  queryObject: d
17795
- }), W(i.series) === y.HeatSeries && mm(e), Om({
17795
+ }), W(i.series) === y.HeatSeries && mm(e), Dm({
17796
17796
  chart: e,
17797
17797
  scrollbarXConfig: i.axes?.[0]?.scrollbar,
17798
17798
  scrollbarYConfig: i.axes?.[1]?.scrollbar
17799
- }), O;
17799
+ }), D;
17800
17800
  }
17801
17801
  function zT(t) {
17802
17802
  const { chart: e, legend: i, updateProps: a } = t, {
@@ -17830,7 +17830,7 @@ function zT(t) {
17830
17830
  rendererFieldNames: d,
17831
17831
  queryObject: h
17832
17832
  });
17833
- const I = vt(h, L), R = Mg(v, o), O = vd(v, o), $ = nd(v, o), M = $g(v, o), B = MT(v, o), P = JSON.stringify(Zo(v.series)) !== JSON.stringify(Zo(o.series)), X = or(v, o), z = Bg(v, o), Y = xd(v, o), U = Rd(v, o), G = Ng(v, o), j = An({
17833
+ const I = vt(h, L), R = Mg(v, o), D = vd(v, o), $ = nd(v, o), M = $g(v, o), B = MT(v, o), P = JSON.stringify(Zo(v.series)) !== JSON.stringify(Zo(o.series)), X = or(v, o), z = Bg(v, o), Y = xd(v, o), U = Rd(v, o), G = Ng(v, o), j = An({
17834
17834
  oldConfig: l ? f : v,
17835
17835
  newConfig: o,
17836
17836
  dataWasUpdated: s
@@ -17840,7 +17840,7 @@ function zT(t) {
17840
17840
  const et = Ld({
17841
17841
  oldConfig: v,
17842
17842
  newConfig: o,
17843
- rotationChanged: O
17843
+ rotationChanged: D
17844
17844
  }), ti = v.series, mi = o.series;
17845
17845
  if (s) {
17846
17846
  const { queryConfig: pa, count: os } = b ?? {};
@@ -17855,9 +17855,9 @@ function zT(t) {
17855
17855
  const wo = e instanceof Kt ? Mr(
17856
17856
  ti,
17857
17857
  mi
17858
- ) : !1, as = od({ oldConfig: v, newConfig: o }), Oo = /* @__PURE__ */ new Map();
17858
+ ) : !1, as = od({ oldConfig: v, newConfig: o }), Do = /* @__PURE__ */ new Map();
17859
17859
  (f ?? o).series.forEach((pa, os) => {
17860
- Oo.set(pa.id, os);
17860
+ Do.set(pa.id, os);
17861
17861
  }), om(e, o.background), lm(e, { title: o.title, subtitle: o.subtitle }), cm(e, o.footer), rm({
17862
17862
  root: x,
17863
17863
  chart: e,
@@ -17866,7 +17866,7 @@ function zT(t) {
17866
17866
  errorStrings: C
17867
17867
  });
17868
17868
  const Ka = W(o.series);
17869
- let Do = !1;
17869
+ let Oo = !1;
17870
17870
  switch (Ka) {
17871
17871
  case y.PieSeries: {
17872
17872
  e instanceof Kt && (si(h), WT({
@@ -17896,20 +17896,20 @@ function zT(t) {
17896
17896
  case y.GaugeSeries:
17897
17897
  case y.HistogramSeries:
17898
17898
  case y.BoxPlotSeries:
17899
- e instanceof pe && (Do = ET({
17899
+ e instanceof pe && (Oo = ET({
17900
17900
  chart: e,
17901
17901
  chartConfig: o,
17902
17902
  options: n,
17903
17903
  data: p,
17904
17904
  dataWasUpdated: s,
17905
- seriesIndexMapper: Oo,
17905
+ seriesIndexMapper: Do,
17906
17906
  dataUpdateDetails: r,
17907
17907
  seriesFilteredOut: l,
17908
17908
  heatChartHideEmptyRowsAndColumnsChanged: Le,
17909
17909
  sortChanged: j,
17910
17910
  axisLabelsBehaviorChanged: et,
17911
17911
  anyGuideAboveChanged: R,
17912
- rotationChanged: O,
17912
+ rotationChanged: D,
17913
17913
  colorMatchChanged: $,
17914
17914
  stackedTypeChanged: M,
17915
17915
  seriesStyleChanged: B,
@@ -17938,7 +17938,7 @@ function zT(t) {
17938
17938
  queryObject: h
17939
17939
  });
17940
17940
  };
17941
- Do ? ui(pa) : pa();
17941
+ Oo ? ui(pa) : pa();
17942
17942
  }
17943
17943
  js({ chart: e, actionMode: n?.actionMode, cursorRange: n?.cursorRange }), Sf(e), lf({ chart: e, chartConfig: o, delayCallback: s });
17944
17944
  }
@@ -17968,7 +17968,7 @@ function HT(t) {
17968
17968
  }
17969
17969
  function _T(t) {
17970
17970
  const { chart: e, data: i, chartConfig: a, options: o, queryObject: n, seriesIndexMapper: s, utilsStrings: r, errorStrings: l } = t;
17971
- wm(e), Om({
17971
+ wm(e), Dm({
17972
17972
  chart: e,
17973
17973
  scrollbarXConfig: a.axes?.[0]?.scrollbar,
17974
17974
  scrollbarYConfig: a.axes?.[1]?.scrollbar
@@ -18047,8 +18047,8 @@ function GT(t) {
18047
18047
  });
18048
18048
  const { title: k, subtitle: I, footer: R } = i;
18049
18049
  yF(S, C), lm(C, { title: k, subtitle: I }), SF(C), cm(C, R), mF(S, C), om(C, i.background);
18050
- const O = vt(c, a?.popupTemplateFieldInfosEnabled);
18051
- pt(C.uid, { fieldList: O }), pt(C.uid, {
18050
+ const D = vt(c, a?.popupTemplateFieldInfosEnabled);
18051
+ pt(C.uid, { fieldList: D }), pt(C.uid, {
18052
18052
  options: a,
18053
18053
  queryConfig: b,
18054
18054
  elementCount: p,
@@ -18096,7 +18096,7 @@ function GT(t) {
18096
18096
  dispose: () => BT(S),
18097
18097
  resetZoom: L,
18098
18098
  clearSelection: () => ji({ chart: C }),
18099
- switchSelection: async () => await DT(C, l.errorStrings),
18099
+ switchSelection: async () => await OT(C, l.errorStrings),
18100
18100
  setActionMode: (v, T) => js({ chart: C, actionMode: v, cursorRange: T })
18101
18101
  };
18102
18102
  }
@@ -18209,7 +18209,7 @@ function jT(t) {
18209
18209
  e?.axes?.forEach((o) => {
18210
18210
  i.textColor && (o?.title?.content && (!o.title.content.color || o.title.content.color.toString() === a) && (o.title.content.color = i.textColor), o?.labels?.content && (!o.labels.content.color || o.labels.content.color.toString() === a) && (o.labels.content.color = i.textColor));
18211
18211
  const n = Ra();
18212
- n[3] = Ol, o?.grid && i.secondaryLineColor && (!o.grid.color || o.grid.color.toString() === n.toString()) && (o.grid.color = i.secondaryLineColor, o.grid.color[3] = Ol), o?.lineSymbol && i.lineColor && (!o.lineSymbol.color || o.lineSymbol.color.toString() === xh.toString()) && (o.lineSymbol.color = i.lineColor), o?.guides?.forEach((s) => {
18212
+ n[3] = Dl, o?.grid && i.secondaryLineColor && (!o.grid.color || o.grid.color.toString() === n.toString()) && (o.grid.color = i.secondaryLineColor, o.grid.color[3] = Dl), o?.lineSymbol && i.lineColor && (!o.lineSymbol.color || o.lineSymbol.color.toString() === xh.toString()) && (o.lineSymbol.color = i.lineColor), o?.guides?.forEach((s) => {
18213
18213
  s.label && i.textColor && (!s.label.color || s.label.color.toString() === a) && (s.label.color = i.textColor), i.lineColor && (s.style?.type === K.SLS && (!s.style.color || s.style.color.toString() === Ul.style.color?.toString()) ? s.style.color = i.lineColor : s.style?.type === K.SFS && s.style?.outline && (!s.style.outline.color || s.style.outline.color.toString() === Ul.style.color?.toString()) && (s.style.outline.color = i.lineColor));
18214
18214
  });
18215
18215
  });
@@ -18929,8 +18929,8 @@ class Fk extends _m {
18929
18929
  errorStrings: g
18930
18930
  });
18931
18931
  if (this.internalModel?.config?.series.length !== I?.series.length) {
18932
- const O = I?.series.filter(($) => !this.internalModel?.config?.series.some((M) => M.id === $.id)) ?? [];
18933
- this.internalModel?.config?.series.push(...O);
18932
+ const D = I?.series.filter(($) => !this.internalModel?.config?.series.some((M) => M.id === $.id)) ?? [];
18933
+ this.internalModel?.config?.series.push(...D);
18934
18934
  }
18935
18935
  return { alteredConfig: I, preFetchedQueryResponse: R };
18936
18936
  },
@@ -18985,7 +18985,7 @@ class Fk extends _m {
18985
18985
  ],
18986
18986
  task: async ([e, i, a, o, n, s, r, l, c, u, d, f, g, h, b, p, S, C, x, L, v, T, k], { signal: I }) => {
18987
18987
  let R;
18988
- const { dataUpdateNeeded: O, dataUpdateDetails: $ } = await this._checkIfDataUpdateIsNeeded.taskComplete;
18988
+ const { dataUpdateNeeded: D, dataUpdateDetails: $ } = await this._checkIfDataUpdateIsNeeded.taskComplete;
18989
18989
  if (T && x && !Zi(T)) {
18990
18990
  const M = Yl({
18991
18991
  input: T,
@@ -18994,7 +18994,7 @@ class Fk extends _m {
18994
18994
  errorStrings: i,
18995
18995
  layerLoadError: this.layerLoadError
18996
18996
  });
18997
- if (M.valid && O) {
18997
+ if (M.valid && D) {
18998
18998
  const B = vt(x, a || o), P = qs({
18999
18999
  syncViewTimeZone: S,
19000
19000
  syncViewTimeZoneInclusionList: C,
@@ -19102,7 +19102,7 @@ class Fk extends _m {
19102
19102
  return e || (ft(this.internalModel) ? e = this.internalModel : e = this.internalModel?.config), e;
19103
19103
  }
19104
19104
  set model(e) {
19105
- this._model = e, ft(e) ? this.internalModel = e : this.internalModel instanceof vs ? this.internalModel.config = e : this.internalModel = new vs(e);
19105
+ e !== this._model && (this._model = e, ft(e) ? this.internalModel = e : this.internalModel instanceof vs ? this.internalModel.config = e : this.internalModel = new vs(e));
19106
19106
  }
19107
19107
  get rotation() {
19108
19108
  return this._rotated;
@@ -19294,8 +19294,8 @@ class Fk extends _m {
19294
19294
  async _generateHeatChartClassBreaks(e, i) {
19295
19295
  if (!Ee(this.loadedLayer) && (Mo(this.internalModel) || zt(this.internalModel?.config)) && e?.data && "dataItems" in e.data) {
19296
19296
  const a = this.internalModel, o = Mo(a);
19297
- let n, s = Dl, r, l, c, u, d;
19298
- o ? (n = a.classificationMethod, s = a.breaksCount, r = a.colorRampName, l = a.xAxisField, c = a.chartRenderer?.classBreakInfos, u = a.isColorRampFlipped, d = a.chartRenderer) : a && zt(a.config) && (n = a.config.series[0]?.classBreaksRules?.classificationMethod, s = a.config.series[0]?.classBreaksRules?.breaksCount ?? Dl, r = a.config.series[0]?.classBreaksRules?.colorRampInfo?.name, l = a.config.series[0]?.x, c = a.config.chartRenderer?.classBreakInfos, u = a.config.series[0]?.classBreaksRules?.colorRampInfo?.flipped, d = a.config.chartRenderer);
19297
+ let n, s = Ol, r, l, c, u, d;
19298
+ o ? (n = a.classificationMethod, s = a.breaksCount, r = a.colorRampName, l = a.xAxisField, c = a.chartRenderer?.classBreakInfos, u = a.isColorRampFlipped, d = a.chartRenderer) : a && zt(a.config) && (n = a.config.series[0]?.classBreaksRules?.classificationMethod, s = a.config.series[0]?.classBreaksRules?.breaksCount ?? Ol, r = a.config.series[0]?.classBreaksRules?.colorRampInfo?.name, l = a.config.series[0]?.x, c = a.config.chartRenderer?.classBreakInfos, u = a.config.series[0]?.classBreaksRules?.colorRampInfo?.flipped, d = a.config.chartRenderer);
19299
19299
  const f = await gp({
19300
19300
  data: e.data,
19301
19301
  classificationMethod: n,
@@ -19374,7 +19374,7 @@ class Fk extends _m {
19374
19374
  this._actionBarElement = e && "assignedElements" in e ? e.assignedElements().find((i) => i.tagName.toLowerCase() === "arcgis-charts-action-bar") : void 0;
19375
19375
  }
19376
19376
  _checkForInvalidContainer() {
19377
- this._chartRef.value || On("divNode", this._commonStrings?.errorStrings);
19377
+ this._chartRef.value || Dn("divNode", this._commonStrings?.errorStrings);
19378
19378
  }
19379
19379
  _handleRenderingComplete(e) {
19380
19380
  this.arcgisRenderingComplete.emit(e.detail), this.showLoader = !1;
@@ -19858,9 +19858,9 @@ class Fk extends _m {
19858
19858
  options: n,
19859
19859
  queryObject: o
19860
19860
  }), await this._generateHeatChartClassBreaks(b, d), or(f, d) && (p = !0);
19861
- const I = Wi(d) ? d.showMean : void 0, R = b?.data ?? this._sanitizedChartData, O = R && I && "meanLines" in R ? R.meanLines : jt(R);
19862
- O && (a || p) && ({ colorMatchApplied: this._colorMatchApplied, rendererFieldNames: this._rendererFieldNames } = await sd({
19863
- data: O,
19861
+ const I = Wi(d) ? d.showMean : void 0, R = b?.data ?? this._sanitizedChartData, D = R && I && "meanLines" in R ? R.meanLines : jt(R);
19862
+ D && (a || p) && ({ colorMatchApplied: this._colorMatchApplied, rendererFieldNames: this._rendererFieldNames } = await sd({
19863
+ data: D,
19864
19864
  queryObject: o,
19865
19865
  chartConfig: d,
19866
19866
  allowColorMatch: rd({ chartConfig: d, queryObject: o })