@arcgis/charts-components 6.0.0-next.41 → 6.0.0-next.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/cdn/{RTKJNT6E.js → WJE2YWFP.js} +29 -27
  2. package/dist/cdn/index.js +1 -1
  3. package/dist/components/arcgis-chart/customElement.d.ts +12 -1
  4. package/dist/components/arcgis-chart/customElement.js +723 -717
  5. package/dist/docs/api.json +1 -1
  6. package/dist/docs/docs.json +1 -1
  7. package/dist/docs/vscode.html-custom-data.json +1 -1
  8. package/dist/docs/web-types.json +1 -1
  9. package/dist/loader.js +1 -1
  10. package/dist/types/lumina.d.ts +1 -1
  11. package/dist/types/preact.d.ts +1 -1
  12. package/dist/types/react.d.ts +1 -1
  13. package/dist/types/stencil.d.ts +1 -1
  14. package/package.json +5 -5
  15. /package/dist/cdn/{KQ36C2RK.js → 326ZXBZ3.js} +0 -0
  16. /package/dist/cdn/{T7LKXFIZ.js → 3BOCK4XI.js} +0 -0
  17. /package/dist/cdn/{Z5DYKSTK.js → 3WQAQ6ZP.js} +0 -0
  18. /package/dist/cdn/{GOVIUHKT.js → 4MQZ5GEZ.js} +0 -0
  19. /package/dist/cdn/{7N2LSD5J.js → 5MYNCOJQ.js} +0 -0
  20. /package/dist/cdn/{IQSNWDU6.js → 6253AQJJ.js} +0 -0
  21. /package/dist/cdn/{CZKZMSFJ.js → 65SSSTQF.js} +0 -0
  22. /package/dist/cdn/{SWHSL245.js → ANAG7BIL.js} +0 -0
  23. /package/dist/cdn/{55OFHBXV.js → ATWHGKKA.js} +0 -0
  24. /package/dist/cdn/{6IIBIZJH.js → B76C2EYW.js} +0 -0
  25. /package/dist/cdn/{5OSVKP4N.js → D32ND4UY.js} +0 -0
  26. /package/dist/cdn/{7AWJIBMG.js → DOX4XMM5.js} +0 -0
  27. /package/dist/cdn/{XQTLPFTW.js → E2COEKI7.js} +0 -0
  28. /package/dist/cdn/{5QLZ66AU.js → EIV2Y4HO.js} +0 -0
  29. /package/dist/cdn/{IDVYAUPY.js → GBOIHW4K.js} +0 -0
  30. /package/dist/cdn/{KMZIRJIR.js → GT73OEKU.js} +0 -0
  31. /package/dist/cdn/{JETTF7E2.js → HKHA3DBO.js} +0 -0
  32. /package/dist/cdn/{M4AD4UJU.js → IFASUVT3.js} +0 -0
  33. /package/dist/cdn/{JE32QM44.js → JNOZULQZ.js} +0 -0
  34. /package/dist/cdn/{5SOADBYD.js → KUV5PKV7.js} +0 -0
  35. /package/dist/cdn/{D66GTKJ7.js → MQI4EQUW.js} +0 -0
  36. /package/dist/cdn/{A6DV5ILW.js → MSC3FE63.js} +0 -0
  37. /package/dist/cdn/{NUH2GAPZ.js → NFNND3VJ.js} +0 -0
  38. /package/dist/cdn/{HJUHYEJT.js → O27L5BEO.js} +0 -0
  39. /package/dist/cdn/{JSOFN65T.js → O7SG6AJR.js} +0 -0
  40. /package/dist/cdn/{6QY2OFUO.js → RL2VBXWI.js} +0 -0
  41. /package/dist/cdn/{BGHJMVNV.js → S6GX7T7X.js} +0 -0
  42. /package/dist/cdn/{HL6ANDJH.js → SNCJJJYE.js} +0 -0
  43. /package/dist/cdn/{QCFAV626.js → TIWJTSDJ.js} +0 -0
  44. /package/dist/cdn/{DJGQM3EK.js → TUVWF2QN.js} +0 -0
  45. /package/dist/cdn/{OWEVDN6C.js → UAZKSSTU.js} +0 -0
  46. /package/dist/cdn/{2PUVZIJ6.js → VBLQV3Y2.js} +0 -0
  47. /package/dist/cdn/{QMBHZ5JE.js → VJL3JO2N.js} +0 -0
  48. /package/dist/cdn/{CYZPIC2B.js → VNP4DHCW.js} +0 -0
  49. /package/dist/cdn/{BGVIOGAX.js → WQWVMCCF.js} +0 -0
  50. /package/dist/cdn/{FOHR4IFG.js → X7VPCAD7.js} +0 -0
  51. /package/dist/cdn/{5ZZZKI7V.js → YPONWLK4.js} +0 -0
  52. /package/dist/cdn/{H44RQIWN.js → Z7TIF3KD.js} +0 -0
  53. /package/dist/cdn/{33NEGHM6.js → ZZUSKBXK.js} +0 -0
@@ -6,27 +6,27 @@ import rg from "@arcgis/core/layers/Layer.js";
6
6
  import lg from "@arcgis/core/portal/PortalItem.js";
7
7
  import { LitElement as cg, createEvent as gt, safeClassMap as ds } from "@arcgis/lumina";
8
8
  import { unsafeGetElementDirection as or, getClosestElement as dg, observeAncestorsMutation as Il, unsafeGetCalciteModeName as wl } from "@arcgis/toolkit/dom";
9
- import { getElementLocale as Va } from "@arcgis/toolkit/intl/dom";
9
+ import { getElementLocale as Wa } from "@arcgis/toolkit/intl/dom";
10
10
  import { log as ug } from "@arcgis/toolkit/log";
11
11
  import { Task as ai, shallowArrayEquals as fg, TaskStatus as Dl } from "@lit/task";
12
12
  import { snapdom as mg } from "@zumer/snapdom";
13
13
  import { debounce as yt, cloneDeep as Te, isEqual as pt, isEmpty as Sa } from "es-toolkit/compat";
14
14
  import gg from "jszip";
15
- import { html as io, css as hg } from "lit";
15
+ import { html as ao, css as hg } from "lit";
16
16
  import { createRef as pg, ref as Rl } from "lit/directives/ref.js";
17
17
  import { H as $t } from "../../chunks/resources.js";
18
- import { XYChart as me, PieChart as $e, AxisFill as bg, AxisFillCircular as yg, GaugeChart as It, DateAxis as Ve, ValueAxis as ke, CategoryAxis as ut, CategoryAxisDataItem as Ta, DateAxisDataItem as Cn, LineSeries as ye, ColumnSeries as ft, PieSeries as Et, XYCursor as od, XYSeries as bi, SerialChart as nr, Cursor as Sg, AxisLabel as sr, ColumnSeriesDataItem as rr, LineSeriesDataItem as Wa, CandlestickSeries as ze, StepLineSeries as At, LegendDataItem as oa, Series as nd, CandlestickSeriesDataItem as Cg, PieSeriesDataItem as yi, Legend as xg, AxisRendererX as Tt, AxisRendererCircular as xn, AxisLabelCircular as lr, ValueAxisDataItem as cr, AxisRendererY as Ea, ClockHand as vg, Chart as sd } from "@amcharts/amcharts4/charts.js";
19
- import { Color as qo, percent as ot, LinePattern as rd, RectPattern as ld, color as vn, DateFormatter as cd, NumberFormatter as dd, Group as Lg, MouseCursorStyle as qt, Label as Zo, DropShadowFilter as Fg, Sprite as dr, utils as ud, Tooltip as fd, Container as Ag, RoundedRectangle as Tg, Percent as Ko, Slice as kg, options as ao, useTheme as Ig, unuseTheme as wg, create as ur } from "@amcharts/amcharts4/core.js";
18
+ import { XYChart as me, PieChart as $e, AxisFill as bg, AxisFillCircular as yg, GaugeChart as It, DateAxis as Ve, ValueAxis as ke, CategoryAxis as ut, CategoryAxisDataItem as ka, DateAxisDataItem as Cn, LineSeries as ye, ColumnSeries as ft, PieSeries as Et, XYCursor as od, XYSeries as bi, SerialChart as nr, Cursor as Sg, AxisLabel as sr, ColumnSeriesDataItem as rr, LineSeriesDataItem as Ea, CandlestickSeries as ze, StepLineSeries as At, LegendDataItem as oa, Series as nd, CandlestickSeriesDataItem as Cg, PieSeriesDataItem as yi, Legend as xg, AxisRendererX as Tt, AxisRendererCircular as xn, AxisLabelCircular as lr, ValueAxisDataItem as cr, AxisRendererY as za, ClockHand as vg, Chart as sd } from "@amcharts/amcharts4/charts.js";
19
+ import { Color as qo, percent as ot, LinePattern as rd, RectPattern as ld, color as vn, DateFormatter as cd, NumberFormatter as dd, Group as Lg, MouseCursorStyle as qt, Label as Zo, DropShadowFilter as Fg, Sprite as dr, utils as ud, Tooltip as fd, Container as Ag, RoundedRectangle as Tg, Percent as Ko, Slice as kg, options as oo, useTheme as Ig, unuseTheme as wg, create as ur } from "@amcharts/amcharts4/core.js";
20
20
  import Ml from "@amcharts/amcharts4/themes/animated.js";
21
- import { W as ve, a as y, b as us, c as te, S as md, d as Ut, e as Ke, f as H, g as Ln, h as gd, i as Ol, j as Ca, k as Bl, l as fs, m as Nl, n as xa, o as Dg } from "../../chunks/chart-object-literals.js";
22
- import { C as E, f as hd, e as yo, i as so, a as Qo, b as pd, m as bd, c as Fn, d as yd, g as jt, h as Sd, j as Cd, k as fr, s as mr, l as Ye, n as xd, o as vd, p as Jo, q as Rg, r as Z, t as nt, u as na, v as Ft, w as _i, x as Be, y as V, z as zt, A as gr, B as ni, D as ms, E as va, F as gi, G as hi, H as bt, I as Me, J as So, K as za, L as _e, M as Si, N as hr, O as Fe, P as si, Q as ka, R as An, S as Fi, T as Mg, U as pr, V as gs, W as J, X as xt, Y as br, Z as Jt, _ as Ai, $ as ae, a0 as xe, a1 as Og, a2 as it, a3 as Tn, a4 as je, a5 as Vi, a6 as ui, a7 as Ti, a8 as Wi, a9 as pe, aa as yr, ab as Ha, ac as Bt, ad as Ld, ae as Sr, af as Cr, ag as Fd, ah as xr, ai as vr, aj as Gt, ak as Co, al as ro, am as Lr, an as _a, ao as Ad, ap as Td, aq as Ci, ar as kd, as as Id, at as kn, au as Fr, av as In, aw as Ar, ax as Tr, ay as wd, az as Dd, aA as Rd, aB as kr, aC as Md, aD as $l, aE as wn, aF as Od, aG as Bd, aH as Ir, aI as wr, aJ as en, aK as ri, aL as Bg, aM as Nd, aN as $d, aO as oo, aP as Dn, aQ as Pd, aR as Vd, aS as Ng, aT as $g, aU as tn, aV as Pg, aW as Vg, aX as Wd, aY as Ed, aZ as Wg, a_ as Eg, a$ as zg, b0 as Rn, b1 as Hg, b2 as L, b3 as _g, b4 as zd, b5 as Gg, b6 as Xg, b7 as Yg, b8 as Dt, b9 as Go, ba as Ie, bb as Mn, bc as Ki, bd as lo, be as Hd, bf as _d, bg as Gd, bh as Ug, bi as jg, bj as qg, bk as Zg, bl as Kg, bm as hs, bn as Qg, bo as Jg, bp as Xd, bq as eh, br as th, bs as ih, bt as ah, bu as oh, bv as nh, bw as sh, bx as rh, by as lh, bz as Xo, bA as Yd, bB as Ts, bC as Pl, bD as ch, bE as dh, bF as uh, bG as fh, bH as $o, bI as Vl, bJ as oi, bK as mh, bL as gh, bM as hh, bN as ph, bO as bh, bP as Wl, bQ as yh, bR as Sh, bS as Ch, bT as xh, bU as vh, bV as Lh, bW as El, bX as Fh, bY as Ah, bZ as Th, b_ as kh, b$ as Ih, c0 as wh, c1 as Dh, c2 as Rh, c3 as Mh } from "../../chunks/index.js";
21
+ import { W as ve, a as y, b as us, c as te, S as md, d as Ut, e as Ke, f as _, g as Ln, h as gd, i as Ol, j as Ca, k as Bl, l as fs, m as Nl, n as xa, o as Dg } from "../../chunks/chart-object-literals.js";
22
+ import { C as E, f as hd, e as yo, i as so, a as Qo, b as pd, m as bd, c as Fn, d as yd, g as jt, h as Sd, j as Cd, k as fr, s as mr, l as Ye, n as xd, o as vd, p as Jo, q as Rg, r as Z, t as nt, u as na, v as Ft, w as _i, x as Be, y as P, z as zt, A as gr, B as si, D as ms, E as va, F as ni, G as hi, H as bt, I as Me, J as So, K as Ha, L as _e, M as Si, N as hr, O as Fe, P as ri, Q as Ia, R as An, S as Fi, T as Mg, U as pr, V as gs, W as J, X as xt, Y as br, Z as Jt, _ as Ai, $ as ae, a0 as xe, a1 as Og, a2 as it, a3 as Tn, a4 as je, a5 as Vi, a6 as fi, a7 as Ti, a8 as Wi, a9 as pe, aa as yr, ab as _a, ac as Bt, ad as Ld, ae as Sr, af as Cr, ag as Fd, ah as xr, ai as vr, aj as Gt, ak as Co, al as ro, am as Lr, an as Ga, ao as Ad, ap as Td, aq as Ci, ar as kd, as as Id, at as kn, au as Fr, av as In, aw as Ar, ax as Tr, ay as wd, az as Dd, aA as Rd, aB as kr, aC as Md, aD as $l, aE as wn, aF as Od, aG as Bd, aH as Ir, aI as wr, aJ as en, aK as li, aL as Bg, aM as Nd, aN as $d, aO as La, aP as Dn, aQ as Pd, aR as Vd, aS as Ng, aT as $g, aU as tn, aV as Pg, aW as Vg, aX as Wd, aY as Ed, aZ as Wg, a_ as Eg, a$ as zg, b0 as Rn, b1 as Hg, b2 as L, b3 as _g, b4 as zd, b5 as Gg, b6 as Xg, b7 as Yg, b8 as Dt, b9 as Go, ba as Ie, bb as Mn, bc as Ki, bd as lo, be as Hd, bf as _d, bg as Gd, bh as Ug, bi as jg, bj as qg, bk as Zg, bl as Kg, bm as hs, bn as Qg, bo as Jg, bp as Xd, bq as eh, br as th, bs as ih, bt as ah, bu as oh, bv as nh, bw as sh, bx as rh, by as lh, bz as Xo, bA as Yd, bB as Ts, bC as Pl, bD as ch, bE as dh, bF as uh, bG as fh, bH as $o, bI as Vl, bJ as oi, bK as mh, bL as gh, bM as hh, bN as ph, bO as bh, bP as Wl, bQ as yh, bR as Sh, bS as Ch, bT as xh, bU as vh, bV as Lh, bW as El, bX as Fh, bY as Ah, bZ as Th, b_ as kh, b$ as Ih, c0 as wh, c1 as Dh, c2 as Rh, c3 as Mh } from "../../chunks/index.js";
23
23
  import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
24
24
  import { R as Ze, a as at, b as K, c as ps, d as On, e as an } from "../../chunks/rest-js-object-literals.js";
25
- import { g as ea, r as Dr, f as xo, a as zl, p as Vt, b as Ia, c as ks, d as Oh, e as Bh, h as Nh, q as pi, i as we, j as Bn, k as Rr, l as Mr, m as Or, n as Ud, o as wa, s as jd, t as Nn, u as qd, v as Br, w as Zd, x as $h, y as Kd, z as vo, A as Ph, B as Vh, C as Wh, D as Eh, E as Da, F as Hl, G as zh, H as Hh, L as _h, I as _l } from "../../chunks/index2.js";
25
+ import { g as ea, r as Dr, f as xo, a as zl, p as Vt, b as wa, c as ks, d as Oh, e as Bh, h as Nh, q as pi, i as we, j as Bn, k as Rr, l as Mr, m as Or, n as Ud, o as Da, s as jd, t as Nn, u as qd, v as Br, w as Zd, x as $h, y as Kd, z as vo, A as Ph, B as Vh, C as Wh, D as Eh, E as Ra, F as Hl, G as zh, H as Hh, L as _h, I as _l } from "../../chunks/index2.js";
26
26
  import { g as W, a as Gh } from "../../chunks/series-types.js";
27
27
  import { isLight as Xh } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
28
28
  import { Scrollbar as Gl } from "@amcharts/amcharts4/.internal/core/elements/Scrollbar.js";
29
- import { color as co, Series as Ra, SerialChart as uo, percent as Ue, LinePattern as Qd, RectanglePattern as Yh, p50 as de, p0 as Oe, p100 as be, Graphics as St, DateFormatter as Uh, NumberFormatter as Jd, Disposer as jh, Tooltip as Gi, Template as sa, Bullet as ki, RoundedRectangle as Is, Slice as Xl, time as qh, Label as rt, Rectangle as Lo, DataItem as Nr, Timezone as Zh, Container as Ni, Color as Kh, HeatLegend as Ma, LinearGradient as Qh, Legend as ws, Scrollbar as Ds, addLicense as Jh, registry as ep, Root as tp } from "@amcharts/amcharts5";
29
+ import { color as co, Series as Ma, SerialChart as uo, percent as Ue, LinePattern as Qd, RectanglePattern as Yh, p50 as de, p0 as Oe, p100 as be, Graphics as St, DateFormatter as Uh, NumberFormatter as Jd, Disposer as jh, Tooltip as Gi, Template as sa, Bullet as ki, RoundedRectangle as Is, Slice as Xl, time as qh, Label as rt, Rectangle as Lo, DataItem as Nr, Timezone as Zh, Container as Ni, Color as Kh, HeatLegend as Oa, LinearGradient as Qh, Legend as ws, Scrollbar as Ds, addLicense as Jh, registry as ep, Root as tp } from "@amcharts/amcharts5";
30
30
  import { PieSeries as qe, PieChart as Qt } from "@amcharts/amcharts5/percent.js";
31
31
  import { RadarCursor as $r, AxisRendererCircular as ei, ClockHand as Rs, RadarChart as Ei, AxisRendererRadial as ip, RadarLineSeries as Pr } from "@amcharts/amcharts5/radar.js";
32
32
  import { XYSeries as on, StepLineSeries as ra, LineSeries as le, ColumnSeries as Se, CategoryAxis as Ee, XYCursor as eu, XYChart as se, CandlestickSeries as Ii, ValueAxis as he, DateAxis as Re, AxisRendererX as mt, AxisLabel as Yl, AxisRendererY as xi, AxisBullet as ap } from "@amcharts/amcharts5/xy.js";
@@ -45,7 +45,7 @@ import { s as Ip, a as wp } from "../../chunks/store.js";
45
45
  import { f as ic, i as Zi, v as ac, a as Dp } from "../../chunks/index3.js";
46
46
  import { u as Rp, o as Mp } from "../../chunks/action-bar-utils.js";
47
47
  import { d as Op } from "../../chunks/chart-ui-utils.js";
48
- import { getCssColor as Ja } from "@arcgis/toolkit/dom/color";
48
+ import { getCssColor as eo } from "@arcgis/toolkit/dom/color";
49
49
  import { d as oc } from "../../chunks/default.js";
50
50
  import { V as tu, S as Ms, E as Vo } from "../../chunks/index4.js";
51
51
  import { g as Bp, a as Np } from "../../chunks/class-breaks.js";
@@ -478,7 +478,7 @@ function rn(t, e, i) {
478
478
  function ru(t, e, i) {
479
479
  i !== void 0 && t.tooltip !== void 0 && (t.tooltip.getFillFromObject = !1, t.tooltip.background.fill = e), t.fill = i ?? e, t.fillOpacity = vn(t.fill.toString()).alpha === 0 ? 0 : 1;
480
480
  }
481
- function La(t, e) {
481
+ function Fa(t, e) {
482
482
  t.stroke = e.stroke, t.strokeOpacity = e.stroke.alpha === 0 ? 0 : 1, t.strokeDasharray = e.strokeDasharray, t.strokeLinecap = e.strokeLinecap, t.strokeWidth = e.strokeWidth;
483
483
  }
484
484
  function ln(t) {
@@ -488,7 +488,7 @@ function ln(t) {
488
488
  symbol: i,
489
489
  defaultToColorFromRamp: o,
490
490
  colorRampIndex: n
491
- }), s !== void 0 && (e.path = s.path, e.rotation = s.angle, e.dx = s.xOffset, e.dy = s.yOffset, ru(e, s.fill), La(e, s.outline)), ce(e, a), e.disabled = a === !1) : e.disabled = !0, s;
491
+ }), s !== void 0 && (e.path = s.path, e.rotation = s.angle, e.dx = s.xOffset, e.dy = s.yOffset, ru(e, s.fill), Fa(e, s.outline)), ce(e, a), e.disabled = a === !1) : e.disabled = !0, s;
492
492
  }
493
493
  function Ji(t) {
494
494
  const { element: e, lineSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
@@ -497,7 +497,7 @@ function Ji(t) {
497
497
  symbol: i,
498
498
  defaultToColorFromRamp: o,
499
499
  colorRampIndex: n
500
- }), s !== void 0 && La(e, s), ce(e, a)) : ce(e, !1), s;
500
+ }), s !== void 0 && Fa(e, s), ce(e, a)) : ce(e, !1), s;
501
501
  }
502
502
  function go(t) {
503
503
  const { element: e, fillSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n, isChartFillSymbol: s } = t;
@@ -513,7 +513,7 @@ function go(t) {
513
513
  colorRampIndex: n,
514
514
  isChartFillSymbol: s,
515
515
  chartBackgroundColor: l
516
- }), r !== void 0 && (ru(e, r.fill, r.pattern), La(e, r.outline)), e.disabled = a === !1;
516
+ }), r !== void 0 && (ru(e, r.fill, r.pattern), Fa(e, r.outline)), e.disabled = a === !1;
517
517
  } else
518
518
  e.disabled = !0;
519
519
  return r;
@@ -573,7 +573,7 @@ function lb(t, e) {
573
573
  return i === E.nullValue ? "null" : i?.toString();
574
574
  }
575
575
  function cb(t) {
576
- const { chartConfig: e, queryObject: i, popupTemplateFieldInfosEnabled: a, labelUpdateNeeded: o, utilsStrings: n } = t, { series: s } = e, r = s[0], { x: l } = r, c = !Rg({ chartConfig: e }), d = Z([r]), u = d === V.PieFromFields, f = nt(i), m = na(f).idField, p = Ft(i, a);
576
+ const { chartConfig: e, queryObject: i, popupTemplateFieldInfosEnabled: a, labelUpdateNeeded: o, utilsStrings: n } = t, { series: s } = e, r = s[0], { x: l } = r, c = !Rg({ chartConfig: e }), d = Z([r]), u = d === P.PieFromFields, f = nt(i), m = na(f).idField, p = Ft(i, a);
577
577
  return {
578
578
  x: l,
579
579
  isNonAggregatedChart: c,
@@ -800,13 +800,13 @@ function fb(t) {
800
800
  {
801
801
  ...n,
802
802
  start: t.minimum ?? Number.NaN,
803
- name: Ia.gaugeFirstLabelId,
803
+ name: wa.gaugeFirstLabelId,
804
804
  label: { ...e.content, text: `${t.minimum}` }
805
805
  },
806
806
  {
807
807
  ...n,
808
808
  start: t.maximum ?? Number.NaN,
809
- name: Ia.gaugeLastLabelId,
809
+ name: wa.gaugeLastLabelId,
810
810
  label: { ...e.content, text: `${t.maximum}` }
811
811
  }
812
812
  );
@@ -885,7 +885,7 @@ function bb(t) {
885
885
  return `${Vt.sliceIdPrefix}-${e[a ?? ""]?.toString() ?? i}`;
886
886
  }
887
887
  function yb(t) {
888
- const { chartConfig: e, chartData: i, fieldList: a } = t, o = Z(e.series) === V.PieFromFields;
888
+ const { chartConfig: e, chartData: i, fieldList: a } = t, o = Z(e.series) === P.PieFromFields;
889
889
  if (e.orderOptions?.data !== void 0 || o) {
890
890
  gr({
891
891
  arrayToSort: i,
@@ -910,7 +910,7 @@ function Ns(t, e) {
910
910
  function Sb(t) {
911
911
  const { dataContext: e, isNonAggregatedChart: i, x: a, dataIndex: o, objectIdField: n, isPieFromFields: s } = t;
912
912
  let r = "";
913
- return s === !0 ? r = e[E.originalXValue] ?? e[ni] : i ? r = bb({
913
+ return s === !0 ? r = e[E.originalXValue] ?? e[si] : i ? r = bb({
914
914
  dataContext: e,
915
915
  dataIndex: o,
916
916
  objectIdField: n
@@ -932,7 +932,7 @@ function lc(t) {
932
932
  utilsStrings: c
933
933
  } = t, { sliceGrouping: d } = o;
934
934
  let { x: u } = o;
935
- s && (u = ni);
935
+ s && (u = si);
936
936
  const f = e[u] ?? e[E.originalXValue], m = e[E.originalXValue] ?? f;
937
937
  let p = f;
938
938
  if (r) {
@@ -985,10 +985,10 @@ function Cb(t) {
985
985
  return m[Vt.defaultGroupOfSlicesId] === !0 && (l = m, p = !1), p;
986
986
  });
987
987
  if (s > 0 && r.length > 0) {
988
- const m = c / n * 100, p = Z(i) === V.PieFromFields, b = {
988
+ const m = c / n * 100, p = Z(i) === P.PieFromFields, b = {
989
989
  ...l,
990
990
  [Vt.defaultGroupOfSlicesId]: !0,
991
- [p ? ni : o.x]: o.sliceGrouping?.label ?? a?.pieChart.defaultSliceGroupingLabel,
991
+ [p ? si : o.x]: o.sliceGrouping?.label ?? a?.pieChart.defaultSliceGroupingLabel,
992
992
  [p ? va : o.y]: c,
993
993
  [E.pieChart.technicalFieldSlicePercent]: m,
994
994
  [E.pieChart.technicalFieldGroupedSlices]: r
@@ -1043,7 +1043,7 @@ function vb(t) {
1043
1043
  i === void 0 ? e[E.originalXValue] !== void 0 && (e[a] = e[E.originalXValue]) : e[a] !== i && (e[E.originalXValue] === void 0 && (e[E.originalXValue] = e[a]), e[a] = i);
1044
1044
  }
1045
1045
  function Lb(t) {
1046
- const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: o } = t, n = i.series[0], s = Z(i.series) === V.PieFromFields ? ni : n.x;
1046
+ const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: o } = t, n = i.series[0], s = Z(i.series) === P.PieFromFields ? si : n.x;
1047
1047
  e.forEach((r) => {
1048
1048
  const l = wi(r), c = r[E.pieChart.technicalFieldSliceId], d = l ? n.sliceGrouping?.label : Ns(a?.slices, c)?.label;
1049
1049
  vb({ dataContext: r, x: s, newLabel: d });
@@ -1053,7 +1053,7 @@ function Lb(t) {
1053
1053
  }
1054
1054
  function $n(t, e) {
1055
1055
  const i = e.errors[t];
1056
- throw new gi(e.modalHeaders.error, i ?? e.errors.simpleError);
1056
+ throw new ni(e.modalHeaders.error, i ?? e.errors.simpleError);
1057
1057
  }
1058
1058
  function Fb(t) {
1059
1059
  return Me(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || Me(t[2].valueFormat));
@@ -1124,7 +1124,7 @@ const ue = {
1124
1124
  Median: "median",
1125
1125
  Outliers: "outliers"
1126
1126
  };
1127
- function li(t) {
1127
+ function ci(t) {
1128
1128
  const { type: e, iLocale: i, formatLocale: a = So(document.documentElement) } = t;
1129
1129
  let o;
1130
1130
  switch (e) {
@@ -1140,7 +1140,7 @@ function li(t) {
1140
1140
  return o;
1141
1141
  }
1142
1142
  function $s(t) {
1143
- const { axis: e, valueFormat: i, chartType: a } = t, o = za({
1143
+ const { axis: e, valueFormat: i, chartType: a } = t, o = Ha({
1144
1144
  isXAxis: !0,
1145
1145
  chartType: a,
1146
1146
  valueFormat: i
@@ -1163,12 +1163,12 @@ function fu(t) {
1163
1163
  const { axis: e, defaultOutput: i, dataItem: a } = t;
1164
1164
  let o = i;
1165
1165
  const n = st(e.uid, "categoryFormatter"), s = st(e.uid, "numberFormatter");
1166
- if ((s !== void 0 || n !== void 0) && a instanceof Ta && a.dataContext) {
1166
+ if ((s !== void 0 || n !== void 0) && a instanceof ka && a.dataContext) {
1167
1167
  const r = M(e.chart.uid, "config"), l = Z(r?.series), c = M(e.chart.uid, "rendererFieldNames");
1168
- let d = si({
1168
+ let d = ri({
1169
1169
  value: An(l, r?.series?.[0]),
1170
1170
  dataContext: a.dataContext,
1171
- useRendererLabel: ka(r, c),
1171
+ useRendererLabel: Ia(r, c),
1172
1172
  config: r
1173
1173
  });
1174
1174
  if (typeof d == "number" && s !== void 0)
@@ -1176,11 +1176,11 @@ function fu(t) {
1176
1176
  else if (n !== void 0) {
1177
1177
  const u = d;
1178
1178
  if ([
1179
- V.BoxPlotC1MonoField,
1180
- V.BoxPlotC2MultiFields,
1181
- V.BoxPlotC5MonoFieldAndSplitBy,
1182
- V.BoxPlotC6MultiFieldsAndSplitBy,
1183
- V.BarAndLineFromFields
1179
+ P.BoxPlotC1MonoField,
1180
+ P.BoxPlotC2MultiFields,
1181
+ P.BoxPlotC5MonoFieldAndSplitBy,
1182
+ P.BoxPlotC6MultiFieldsAndSplitBy,
1183
+ P.BarAndLineFromFields
1184
1184
  ].includes(l) && typeof d == "string") {
1185
1185
  const p = M(e.chart.uid, "fieldList");
1186
1186
  d = Be(p, d);
@@ -1281,7 +1281,7 @@ function Vb(t) {
1281
1281
  e.renderer.labels.template.html = A.htmlEmptyContent, e.renderer.labels.template.adapter.enableKey("htmlOutput");
1282
1282
  }
1283
1283
  function Wb(t, e, i, a) {
1284
- const o = li({
1284
+ const o = ci({
1285
1285
  type: y.NumberAxisFormat,
1286
1286
  iLocale: e,
1287
1287
  formatLocale: i
@@ -1337,7 +1337,7 @@ function Hb(t) {
1337
1337
  setTimeZone: c,
1338
1338
  outTimeZone: d,
1339
1339
  errorStrings: u
1340
- } = t, f = za({
1340
+ } = t, f = Ha({
1341
1341
  isXAxis: i,
1342
1342
  chartType: s,
1343
1343
  valueFormat: a
@@ -1542,7 +1542,7 @@ function Qb(t) {
1542
1542
  return o === n;
1543
1543
  }
1544
1544
  function Jb(t) {
1545
- const { chartSubType: e, yAxisField: i, splitBy: a, showOutliers: o } = t, n = e === V.BoxPlotC4MultiFieldsAndCategory ? i : void 0, s = { y: n, splitBy: a }, r = xe({
1545
+ const { chartSubType: e, yAxisField: i, splitBy: a, showOutliers: o } = t, n = e === P.BoxPlotC4MultiFieldsAndCategory ? i : void 0, s = { y: n, splitBy: a }, r = xe({
1546
1546
  ...s,
1547
1547
  key: ae.Outlier
1548
1548
  }), l = xe({
@@ -1655,9 +1655,9 @@ function Hr(t) {
1655
1655
  n = a[e]?.toString() === i[e]?.toString();
1656
1656
  else {
1657
1657
  let s = i[E.originalXValue];
1658
- s === void 0 && (s = i[o]), s === void 0 && (s = i[ni]);
1658
+ s === void 0 && (s = i[o]), s === void 0 && (s = i[si]);
1659
1659
  let r = a[E.originalXValue];
1660
- r === void 0 && (r = a[o]), r === void 0 && (r = a[ni]), n = s !== void 0 && r !== void 0 && s === r;
1660
+ r === void 0 && (r = a[o]), r === void 0 && (r = a[si]), n = s !== void 0 && r !== void 0 && s === r;
1661
1661
  }
1662
1662
  return n;
1663
1663
  }
@@ -1713,7 +1713,7 @@ function Vn(t) {
1713
1713
  const h = i;
1714
1714
  f = (S) => {
1715
1715
  let C, v = o;
1716
- if (c === V.BarAndLineSplitByNoAggregation) {
1716
+ if (c === P.BarAndLineSplitByNoAggregation) {
1717
1717
  const x = Ai({ where: l, keepSurroundingQuotes: !1, escape: !1 });
1718
1718
  v = `${o}_${x}`;
1719
1719
  }
@@ -1751,11 +1751,11 @@ function Vn(t) {
1751
1751
  };
1752
1752
  else {
1753
1753
  const { dataContextXMinField: S, dataContextXMaxField: C, dataContextYMinField: v, dataContextYMaxField: x } = E.scatterplotAggregationFields, { [S]: F, [C]: k } = h, T = n !== s ? h[v] : F, I = n !== s ? h[x] : k, R = (O) => {
1754
- const B = O[n] ?? Number.NaN, $ = F ?? Number.NaN, P = k ?? Number.NaN;
1755
- return F === k ? B === $ : (B ?? Number.NaN) >= $ && (B ?? Number.NaN) < P;
1754
+ const B = O[n] ?? Number.NaN, $ = F ?? Number.NaN, V = k ?? Number.NaN;
1755
+ return F === k ? B === $ : (B ?? Number.NaN) >= $ && (B ?? Number.NaN) < V;
1756
1756
  }, D = (O) => {
1757
- const B = O[s] ?? Number.NaN, $ = T ?? Number.NaN, P = I ?? Number.NaN;
1758
- return T === I ? B === $ : B >= $ && B < P;
1757
+ const B = O[s] ?? Number.NaN, $ = T ?? Number.NaN, V = I ?? Number.NaN;
1758
+ return T === I ? B === $ : B >= $ && B < V;
1759
1759
  };
1760
1760
  f = (O) => R(O) && D(O);
1761
1761
  }
@@ -1806,10 +1806,10 @@ function Li(t) {
1806
1806
  let d = { ...i };
1807
1807
  if (i !== void 0) {
1808
1808
  if (r === y.RadarSeries || r === y.BarSeries || r === y.LineSeries || r === y.ComboLineAndBarSeries || r === y.PieSeries) {
1809
- r !== y.PieSeries && (e || l !== V.BarAndLineNoAggregation && l !== V.BarAndLineSplitByNoAggregation) && o.forEach((f) => {
1809
+ r !== y.PieSeries && (e || l !== P.BarAndLineNoAggregation && l !== P.BarAndLineSplitByNoAggregation) && o.forEach((f) => {
1810
1810
  f !== a && (delete d[f], delete d[`${pi.uniqueIds}_${f}`], delete d[`${E.rendererSymbolField}_${f}`]);
1811
1811
  });
1812
- const u = si({
1812
+ const u = ri({
1813
1813
  value: i[n],
1814
1814
  dataContext: i,
1815
1815
  keepNullValues: !0
@@ -1826,7 +1826,7 @@ function Li(t) {
1826
1826
  ].forEach((f) => {
1827
1827
  i[f] !== void 0 && (d[f] = i[f]);
1828
1828
  });
1829
- const u = l === V.BoxPlotC4MultiFieldsAndCategory ? a : void 0;
1829
+ const u = l === P.BoxPlotC4MultiFieldsAndCategory ? a : void 0;
1830
1830
  Object.values(ae).forEach((f) => {
1831
1831
  const m = xe({ key: f, y: u, splitBy: s, showOutliers: c });
1832
1832
  i[m] !== void 0 && (d[m] = i[m]);
@@ -1837,14 +1837,14 @@ function Li(t) {
1837
1837
  }
1838
1838
  function xu(t) {
1839
1839
  const { data: e, colorMatch: i, chartSubType: a, rendererType: o } = t;
1840
- return e !== void 0 && i && o !== void 0 && (a === V.BoxPlotC2MultiFields && (o === ps.UniqueValue || o === ps.PieChart) || a === V.BoxPlotC3MonoFieldAndCategory && o === ps.UniqueValue) && e.some(
1840
+ return e !== void 0 && i && o !== void 0 && (a === P.BoxPlotC2MultiFields && (o === ps.UniqueValue || o === ps.PieChart) || a === P.BoxPlotC3MonoFieldAndCategory && o === ps.UniqueValue) && e.some(
1841
1841
  (n) => Object.keys(n).some((s) => s.includes(E.rendererSymbolField))
1842
1842
  );
1843
1843
  }
1844
1844
  function ho(t) {
1845
1845
  const { value: e, valueFormat: i, iLocale: a, formatLocale: o } = t;
1846
1846
  let n = e?.toString();
1847
- const s = li({
1847
+ const s = ci({
1848
1848
  type: i.type,
1849
1849
  iLocale: a,
1850
1850
  formatLocale: o
@@ -1881,7 +1881,7 @@ function Eo(t) {
1881
1881
  function Wn(t, e) {
1882
1882
  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 = ou(e.verticalCenter)), e.horizontalCenter !== void 0 && (t.horizontalCenter = Vr(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));
1883
1883
  }
1884
- function ci(t, e) {
1884
+ function di(t, e) {
1885
1885
  const i = e?.createChild(Zo) ?? new Zo();
1886
1886
  return Wn(i, t), i;
1887
1887
  }
@@ -1960,7 +1960,7 @@ function Es(t, e) {
1960
1960
  (i, a) => {
1961
1961
  let o = i;
1962
1962
  const { dataItem: n } = a;
1963
- if (fo(t) && (e instanceof ft && n instanceof rr || e instanceof ye && n instanceof Wa)) {
1963
+ if (fo(t) && (e instanceof ft && n instanceof rr || e instanceof ye && n instanceof Ea)) {
1964
1964
  const s = et(
1965
1965
  e.uid,
1966
1966
  e instanceof ft ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
@@ -2015,7 +2015,7 @@ function Tu(t) {
2015
2015
  let u = d;
2016
2016
  const f = s?.type === y.NumberAxisFormat ? s.intlOptions : void 0, m = n?.content ?? { type: K.TS };
2017
2017
  if (d === void 0 && c !== void 0 && f !== void 0) {
2018
- const b = M(e.chart.uid, "formatLocale"), h = li({
2018
+ const b = M(e.chart.uid, "formatLocale"), h = ci({
2019
2019
  type: y.NumberAxisFormat,
2020
2020
  iLocale: e.chart.language.locale,
2021
2021
  formatLocale: b
@@ -2058,7 +2058,7 @@ function ku(t, e) {
2058
2058
  let i;
2059
2059
  return t instanceof Ve ? i = e === !0 ? "dateY" : "dateX" : t instanceof ut ? i = e === !0 ? "categoryY" : "categoryX" : i = e === !0 ? "valueY" : "valueX", i;
2060
2060
  }
2061
- function Ga(t, e) {
2061
+ function Xa(t, e) {
2062
2062
  t.name = e;
2063
2063
  }
2064
2064
  function _r(t) {
@@ -2122,22 +2122,22 @@ function Ss(t) {
2122
2122
  function cy(t, e) {
2123
2123
  let i = 0;
2124
2124
  if (t !== void 0 && e !== void 0) {
2125
- const a = ui(e.series), o = Z(e.series), n = Ti(e);
2125
+ const a = fi(e.series), o = Z(e.series), n = Ti(e);
2126
2126
  t.data.forEach((s) => {
2127
2127
  switch (o) {
2128
- case V.BoxPlotC1MonoField:
2129
- case V.BoxPlotC2MultiFields:
2130
- case V.BoxPlotC3MonoFieldAndCategory:
2128
+ case P.BoxPlotC1MonoField:
2129
+ case P.BoxPlotC2MultiFields:
2130
+ case P.BoxPlotC3MonoFieldAndCategory:
2131
2131
  Ss({ dataItem: s, showOutliers: n }) && (i += 1);
2132
2132
  break;
2133
- case V.BoxPlotC4MultiFieldsAndCategory:
2133
+ case P.BoxPlotC4MultiFieldsAndCategory:
2134
2134
  a.forEach((r) => {
2135
2135
  Ss({ dataItem: s, y: r, showOutliers: n }) && (i += 1);
2136
2136
  });
2137
2137
  break;
2138
- case V.BoxPlotC5MonoFieldAndSplitBy:
2139
- case V.BoxPlotC6MultiFieldsAndSplitBy:
2140
- case V.BoxPlotC7MonoFieldAndCategoryAndSplitBy:
2138
+ case P.BoxPlotC5MonoFieldAndSplitBy:
2139
+ case P.BoxPlotC6MultiFieldsAndSplitBy:
2140
+ case P.BoxPlotC7MonoFieldAndCategoryAndSplitBy:
2141
2141
  e.series.forEach((r) => {
2142
2142
  Ss({ dataItem: s, splitBy: r.query?.where, showOutliers: n }) && (i += 1);
2143
2143
  });
@@ -2574,7 +2574,7 @@ function Sy(t) {
2574
2574
  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));
2575
2575
  } else t instanceof me && (t.xAxes.each((e) => un(e, !1)), t.yAxes.each((e) => un(e, !1)), t.events.enableType(N.Up));
2576
2576
  }
2577
- function Oa(t) {
2577
+ function Ba(t) {
2578
2578
  const { element: e, stylingInfo: i, stateKey: a = "default" } = t;
2579
2579
  if (e !== void 0 && i !== void 0) {
2580
2580
  const o = e.states.getKey(a)?.properties ?? e.defaultState.properties;
@@ -2584,7 +2584,7 @@ function Oa(t) {
2584
2584
  }
2585
2585
  }
2586
2586
  }
2587
- function Ba(t, e) {
2587
+ function Na(t, e) {
2588
2588
  return e != null && e !== "" ? e : t;
2589
2589
  }
2590
2590
  function Mu(t, e) {
@@ -2641,10 +2641,10 @@ function Ou(t) {
2641
2641
  const { config: e, fieldList: i, objectIdField: a, seriesIndex: o, isStacked100: n, utilsStrings: s } = t;
2642
2642
  let r = "";
2643
2643
  const l = e.series[o].name, c = e.series[o], d = [c.y].flat()[0], u = e.axes, f = Z(e.series), m = a ?? pi.outStatistics.onStatisticField, p = c.query?.outStatistics?.[0].onStatisticField ?? m, b = Be(i, p), h = c.query?.outStatistics?.[0].statisticType ?? md.statisticType, S = Mu(h, s);
2644
- return f === V.BarAndLineNoAggregation ? r = l ?? Be(i, d) : f === V.BarAndLineSplitByNoAggregation ? r = Be(i, d) : (r = h === Ut.Count && p === m ? s.statistics.count : Qi(s.statistics.aggregation, {
2644
+ return f === P.BarAndLineNoAggregation ? r = l ?? Be(i, d) : f === P.BarAndLineSplitByNoAggregation ? r = Be(i, d) : (r = h === Ut.Count && p === m ? s.statistics.count : Qi(s.statistics.aggregation, {
2645
2645
  statistics: S,
2646
2646
  fieldName: b ?? l
2647
- }), f === V.BarAndLineMonoField && !n && (r = Ba(r, u[1].title?.content?.text))), r;
2647
+ }), f === P.BarAndLineMonoField && !n && (r = Na(r, u[1].title?.content?.text))), r;
2648
2648
  }
2649
2649
  function Bu(t) {
2650
2650
  const { xAxisValueFormat: e, isTimeOnlyField: i, timeIntervalInfo: a, chartConfig: o, options: n, queryObject: s } = t;
@@ -2653,7 +2653,7 @@ function Bu(t) {
2653
2653
  hour: "numeric",
2654
2654
  minute: "numeric"
2655
2655
  }, i || (r = { ...r, month: "numeric", day: "numeric", year: "numeric" }, a?.unit === Ke.Second && (r = { ...r, second: "numeric" }))), yr({ chartConfig: o, queryObject: s, options: n })) {
2656
- const l = o && Ha(o.series[0]) ? o.series[0].temporalBinning?.outTimeZone : void 0;
2656
+ const l = o && _a(o.series[0]) ? o.series[0].temporalBinning?.outTimeZone : void 0;
2657
2657
  r.timeZone = l ?? e.intlOptions.timeZone;
2658
2658
  }
2659
2659
  return r;
@@ -2711,13 +2711,13 @@ function $u(t, e) {
2711
2711
  );
2712
2712
  if (l !== void 0 && e.isReady()) {
2713
2713
  const { dataItem: c } = a;
2714
- if ((c instanceof rr || c instanceof Wa) && r !== void 0) {
2714
+ if ((c instanceof rr || c instanceof Ea) && r !== void 0) {
2715
2715
  const d = Rt({ config: s }), u = d ? c.valueX : c.valueY, f = (d ? c.values.valueX.totalPercent : c.values.valueY.totalPercent) / 100, m = c.dataContext ?? {};
2716
2716
  if (m !== void 0) {
2717
- const p = M(n.uid, "rendererFieldNames"), b = si({
2717
+ const p = M(n.uid, "rendererFieldNames"), b = ri({
2718
2718
  value: An(Z([r]), r),
2719
2719
  dataContext: m,
2720
- useRendererLabel: ka(s, p),
2720
+ useRendererLabel: Ia(s, p),
2721
2721
  config: s
2722
2722
  });
2723
2723
  let h = Fi(m);
@@ -2782,7 +2782,7 @@ function Ly(t) {
2782
2782
  queryObject: d
2783
2783
  }), f = new Date(i[0]), m = new Date(i[1]);
2784
2784
  if (!Number.isNaN(f.valueOf())) {
2785
- const p = M(e.chart.uid, "formatLocale"), b = li({
2785
+ const p = M(e.chart.uid, "formatLocale"), b = ci({
2786
2786
  type: y.DateAxisFormat,
2787
2787
  iLocale: e.chart.language.locale,
2788
2788
  formatLocale: p
@@ -2843,7 +2843,7 @@ function Fy(t) {
2843
2843
  if (p === !1 || b === !1)
2844
2844
  u = () => "";
2845
2845
  else {
2846
- const h = m.axes, S = h[0].valueFormat, C = h[1].valueFormat, v = Z(m.series), x = i?.find((O) => O.name === s.x)?.type === On.TimeOnly, F = je(m) === te.Stacked100, k = na(nt(a)).idField, T = Be(i, s.x), I = Ba(T, h[0].title?.content.text), R = Ou({
2846
+ const h = m.axes, S = h[0].valueFormat, C = h[1].valueFormat, v = Z(m.series), x = i?.find((O) => O.name === s.x)?.type === On.TimeOnly, F = je(m) === te.Stacked100, k = na(nt(a)).idField, T = Be(i, s.x), I = Na(T, h[0].title?.content.text), R = Ou({
2847
2847
  config: m,
2848
2848
  fieldList: i,
2849
2849
  objectIdField: k,
@@ -2852,14 +2852,14 @@ function Fy(t) {
2852
2852
  isStacked100: F
2853
2853
  }), D = Bt(f.rtl);
2854
2854
  u = (O) => {
2855
- const { statValue: B, percentValue: $, xValue: P, dateBinningRange: X } = O, G = Pu({
2855
+ const { statValue: B, percentValue: $, xValue: V, dateBinningRange: X } = O, H = Pu({
2856
2856
  seriesConfig: s,
2857
2857
  xAxisValueFormat: S,
2858
2858
  dataTooltipValueFormat: l,
2859
2859
  dataTooltipDateFormat: d,
2860
2860
  setTimeBinningInfoWhenNotProvided: o,
2861
2861
  series: e,
2862
- xValue: P,
2862
+ xValue: V,
2863
2863
  dateBinningRange: X,
2864
2864
  isTimeOnlyField: x,
2865
2865
  queryObject: a
@@ -2871,35 +2871,35 @@ function Fy(t) {
2871
2871
  series: e,
2872
2872
  statValue: B,
2873
2873
  percentValue: $
2874
- }), _ = [`<b>${I}${D} </b>${G}`];
2874
+ }), G = [`<b>${I}${D} </b>${H}`];
2875
2875
  switch (v) {
2876
- case V.BarAndLineFromFields: {
2877
- _.pop();
2876
+ case P.BarAndLineFromFields: {
2877
+ G.pop();
2878
2878
  const j = Yr({
2879
2879
  config: m,
2880
- fieldName: Be(i, G ?? ""),
2880
+ fieldName: Be(i, H ?? ""),
2881
2881
  utilsStrings: r
2882
2882
  });
2883
- _.push(`<b>${j}${D} </b>${Y}`);
2883
+ G.push(`<b>${j}${D} </b>${Y}`);
2884
2884
  break;
2885
2885
  }
2886
- case V.BarAndLineMonoField:
2887
- case V.BarAndLineNoAggregation:
2888
- case V.BarAndLineMultiFields:
2889
- _.push(`<b>${R}${D} </b>${Y}`);
2886
+ case P.BarAndLineMonoField:
2887
+ case P.BarAndLineNoAggregation:
2888
+ case P.BarAndLineMultiFields:
2889
+ G.push(`<b>${R}${D} </b>${Y}`);
2890
2890
  break;
2891
- case V.BarAndLineSplitByNoAggregation:
2892
- case V.BarAndLineSplitBy:
2891
+ case P.BarAndLineSplitByNoAggregation:
2892
+ case P.BarAndLineSplitBy:
2893
2893
  {
2894
2894
  const j = Jt(s.query?.where, !1), z = Ld({
2895
2895
  value: Be(i, j),
2896
2896
  escape: !0
2897
2897
  });
2898
- _.push(`<b>${z}${D} </b>${e.name}`), (v === V.BarAndLineSplitBy || "y" in m.series[0] && j !== m.series[0].y) && _.push(`<b>${R}${D} </b>${Y}`);
2898
+ G.push(`<b>${z}${D} </b>${e.name}`), (v === P.BarAndLineSplitBy || "y" in m.series[0] && j !== m.series[0].y) && G.push(`<b>${R}${D} </b>${Y}`);
2899
2899
  }
2900
2900
  break;
2901
2901
  }
2902
- return F && _.push(`<b>${r.statistics.percent}${D} </b>${U}`), _.join("<br />");
2902
+ return F && G.push(`<b>${r.statistics.percent}${D} </b>${U}`), G.join("<br />");
2903
2903
  };
2904
2904
  }
2905
2905
  }
@@ -2951,7 +2951,7 @@ function Ay(t) {
2951
2951
  if (c !== void 0) {
2952
2952
  const d = l?.dataContext ?? {};
2953
2953
  if (d !== void 0) {
2954
- const u = si({
2954
+ const u = ri({
2955
2955
  value: d[c.x],
2956
2956
  dataContext: d,
2957
2957
  useRendererLabel: _i(a),
@@ -2976,12 +2976,12 @@ function Ty(t) {
2976
2976
  const r = o.dataItems.values.find(
2977
2977
  (l) => (l.categories.categoryX ?? l.categories.categoryY) === (e.dataItem?.categories.categoryX ?? e.dataItem?.categories.categoryY)
2978
2978
  );
2979
- if (r instanceof Wa) {
2979
+ if (r instanceof Ea) {
2980
2980
  const l = a.series.find((c) => c.id === o.id);
2981
2981
  if (l !== void 0) {
2982
2982
  const c = r.dataContext ?? {};
2983
2983
  if (c !== void 0) {
2984
- const d = si({
2984
+ const d = ri({
2985
2985
  value: c[l.x],
2986
2986
  dataContext: c,
2987
2987
  useRendererLabel: _i(a),
@@ -3012,7 +3012,7 @@ function ky(t) {
3012
3012
  if (l !== void 0) {
3013
3013
  const c = r.dataContext ?? {};
3014
3014
  if (c !== void 0) {
3015
- const d = si({
3015
+ const d = ri({
3016
3016
  value: c[l.x],
3017
3017
  dataContext: c,
3018
3018
  useRendererLabel: _i(a),
@@ -3130,7 +3130,7 @@ function My(t) {
3130
3130
  escape: !1
3131
3131
  }), S = Be(i, a.x);
3132
3132
  let C;
3133
- a.x !== Mr && (C = Ba(S, d?.[0].title?.content.text));
3133
+ a.x !== Mr && (C = Na(S, d?.[0].title?.content.text));
3134
3134
  const v = Bt(l.rtl);
3135
3135
  r = (x) => {
3136
3136
  const { dataContext: F, xValue: k } = x, T = Pu({
@@ -3141,12 +3141,12 @@ function My(t) {
3141
3141
  queryObject: n
3142
3142
  }), I = [], R = T !== void 0 && !Sa(T) ? Be(i, T) : "", D = f === !0 ? [c.series[0].y].flat()[0] : [a.y].flat()[0], O = Be(i, D);
3143
3143
  switch (m) {
3144
- case V.BoxPlotC1MonoField:
3145
- case V.BoxPlotC2MultiFields:
3146
- case V.BoxPlotC5MonoFieldAndSplitBy:
3147
- case V.BoxPlotC6MultiFieldsAndSplitBy: {
3144
+ case P.BoxPlotC1MonoField:
3145
+ case P.BoxPlotC2MultiFields:
3146
+ case P.BoxPlotC5MonoFieldAndSplitBy:
3147
+ case P.BoxPlotC6MultiFieldsAndSplitBy: {
3148
3148
  if (T !== void 0 && !Sa(T)) {
3149
- const Y = m === V.BoxPlotC1MonoField ? a.name ?? R : R;
3149
+ const Y = m === P.BoxPlotC1MonoField ? a.name ?? R : R;
3150
3150
  I.push(
3151
3151
  Oi({
3152
3152
  label: o.field,
@@ -3164,8 +3164,8 @@ function My(t) {
3164
3164
  );
3165
3165
  break;
3166
3166
  }
3167
- case V.BoxPlotC3MonoFieldAndCategory:
3168
- case V.BoxPlotC4MultiFieldsAndCategory: {
3167
+ case P.BoxPlotC3MonoFieldAndCategory:
3168
+ case P.BoxPlotC4MultiFieldsAndCategory: {
3169
3169
  I.push(
3170
3170
  Oi({
3171
3171
  label: o.field,
@@ -3181,7 +3181,7 @@ function My(t) {
3181
3181
  );
3182
3182
  break;
3183
3183
  }
3184
- case V.BoxPlotC7MonoFieldAndCategoryAndSplitBy:
3184
+ case P.BoxPlotC7MonoFieldAndCategoryAndSplitBy:
3185
3185
  I.push(
3186
3186
  Oi({
3187
3187
  label: o.field,
@@ -3203,16 +3203,16 @@ function My(t) {
3203
3203
  );
3204
3204
  break;
3205
3205
  }
3206
- const B = [V.BoxPlotC4MultiFieldsAndCategory], $ = F[A.boxPlot.boxPlotMeanLineMarkerId] !== void 0, P = I.length > 0 && !$, X = Ry({
3206
+ const B = [P.BoxPlotC4MultiFieldsAndCategory], $ = F[A.boxPlot.boxPlotMeanLineMarkerId] !== void 0, V = I.length > 0 && !$, X = Ry({
3207
3207
  dataContext: F,
3208
3208
  series: e,
3209
3209
  dataTooltipValueFormat: s,
3210
3210
  splitBy: a.query?.where,
3211
3211
  y: B.includes(m) ? [a.y].flat()[0] : void 0,
3212
3212
  utilsStrings: o,
3213
- useTable: P
3213
+ useTable: V
3214
3214
  });
3215
- return P ? `${I.join("<br>")}<table>${X.join("")}</table>` : `${I.join("<br>")}${X.join("<br>")}`;
3215
+ return V ? `${I.join("<br>")}<table>${X.join("")}</table>` : `${I.join("<br>")}${X.join("<br>")}`;
3216
3216
  };
3217
3217
  }
3218
3218
  }
@@ -3225,7 +3225,7 @@ function Oy(t) {
3225
3225
  }), _n(e, i);
3226
3226
  }
3227
3227
  function By(t) {
3228
- const e = ci(A.dataLabelInitialize);
3228
+ const e = di(A.dataLabelInitialize);
3229
3229
  return vi(e.uid, { isDataLabel: !0 }), t.bullets.push(e), Au(e), vu(y.LineSeries, e), Lu(y.LineSeries, e), Es(e, t), e.html = "{valueX}", e;
3230
3230
  }
3231
3231
  function Ny(t) {
@@ -3437,10 +3437,10 @@ function Ey(t, e) {
3437
3437
  const l = Py(r), c = r.legend?.position;
3438
3438
  if (l)
3439
3439
  switch (c) {
3440
- case H.Top:
3440
+ case _.Top:
3441
3441
  a.chartAndLegendContainer.paddingTop = o.bbox.height ?? 0, a.chartContainer.paddingBottom = n.paddingBottom ?? 0;
3442
3442
  break;
3443
- case H.Bottom:
3443
+ case _.Bottom:
3444
3444
  a.chartContainer.paddingBottom = o.bbox.height ?? 0, a.chartAndLegendContainer.paddingTop = s.paddingTop ?? 0;
3445
3445
  break;
3446
3446
  default:
@@ -3467,11 +3467,11 @@ function jr(t) {
3467
3467
  valueSuffix: l,
3468
3468
  percentagePrefix: c,
3469
3469
  percentageSuffix: d
3470
- } = t, u = M(i.uid, "formatLocale"), f = li({
3470
+ } = t, u = M(i.uid, "formatLocale"), f = ci({
3471
3471
  type: y.NumberAxisFormat,
3472
3472
  iLocale: e,
3473
3473
  formatLocale: u
3474
- }), m = li({
3474
+ }), m = ci({
3475
3475
  type: y.NumberAxisFormat,
3476
3476
  iLocale: e,
3477
3477
  formatLocale: u
@@ -3489,7 +3489,7 @@ function jr(t) {
3489
3489
  }
3490
3490
  function Hu(t) {
3491
3491
  let e = !1;
3492
- if (t.position === H.Right || t.position === H.Left)
3492
+ if (t.position === _.Right || t.position === _.Left)
3493
3493
  e = !0;
3494
3494
  else {
3495
3495
  const i = t.labels.getIndex(0)?.parent?.x;
@@ -3613,7 +3613,7 @@ function hc(t, e) {
3613
3613
  const { legendLabelReducedOpacity: i } = A.legendProperties;
3614
3614
  t !== void 0 && (t.fillOpacity = e === !1 ? i : 1);
3615
3615
  }
3616
- function eo(t) {
3616
+ function to(t) {
3617
3617
  const { labels: e, seriesId: i, sliceCategory: a } = t;
3618
3618
  e.each((o) => {
3619
3619
  a !== void 0 ? a === o.dataItem.category && hc(o, o.dataItem.slice.visible ?? !0) : i === o.dataItem?.component?.id && hc(o, o.dataItem?.component?.visible ?? !0);
@@ -3622,25 +3622,25 @@ function eo(t) {
3622
3622
  function qr(t) {
3623
3623
  t instanceof Et ? (t.slices.template.events.on(N.Shown, (e) => {
3624
3624
  const i = e.target.dataItem.category;
3625
- eo({
3625
+ to({
3626
3626
  labels: t.chart?.legend?.labels,
3627
3627
  sliceCategory: i
3628
- }), eo({
3628
+ }), to({
3629
3629
  labels: t.chart?.legend?.valueLabels,
3630
3630
  sliceCategory: i
3631
3631
  });
3632
3632
  }), t.slices.template.events.on(N.Hidden, (e) => {
3633
3633
  const i = e.target.dataItem.category;
3634
- eo({
3634
+ to({
3635
3635
  labels: t.chart?.legend?.labels,
3636
3636
  sliceCategory: i
3637
- }), eo({
3637
+ }), to({
3638
3638
  labels: t.chart?.legend?.valueLabels,
3639
3639
  sliceCategory: i
3640
3640
  });
3641
3641
  })) : t.events.on(N.VisibilityChanged, (e) => {
3642
3642
  const i = e.target.id;
3643
- eo({ labels: t.chart?.legend?.labels, seriesId: i });
3643
+ to({ labels: t.chart?.legend?.labels, seriesId: i });
3644
3644
  });
3645
3645
  }
3646
3646
  function Gu(t) {
@@ -3649,9 +3649,9 @@ function Gu(t) {
3649
3649
  }
3650
3650
  function Yy(t, e) {
3651
3651
  const { legendProperties: i } = A;
3652
- if (t.position === H.Bottom)
3652
+ if (t.position === _.Bottom)
3653
3653
  t.marginTop = i.marginTop ?? 0, t.marginBottom = 0, t.dy = 0;
3654
- else if (t.position === H.Top)
3654
+ else if (t.position === _.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 $e)) {
3657
3657
  const a = Gu(e), o = e.title?.content?.font?.size ?? A.generalFontSize;
@@ -3668,16 +3668,16 @@ function Uy(t) {
3668
3668
  const l = e.rtl ? g.RTL : g.LTR;
3669
3669
  let c;
3670
3670
  switch (a?.legend?.position) {
3671
- case H.Left:
3671
+ case _.Left:
3672
3672
  c = g.LegendLeft;
3673
3673
  break;
3674
- case H.Top:
3674
+ case _.Top:
3675
3675
  c = g.LegendTop;
3676
3676
  break;
3677
- case H.Bottom:
3677
+ case _.Bottom:
3678
3678
  c = g.LegendBottom;
3679
3679
  break;
3680
- case H.Right:
3680
+ case _.Right:
3681
3681
  default:
3682
3682
  c = g.LegendRight;
3683
3683
  break;
@@ -3770,7 +3770,7 @@ function Qy(t) {
3770
3770
  t.scrollable = !0;
3771
3771
  }
3772
3772
  function Jy(t) {
3773
- const e = ci(void 0, t);
3773
+ const e = di(void 0, t);
3774
3774
  return e.adapter.add("paddingTop", (i) => {
3775
3775
  let a = i;
3776
3776
  const o = e.bbox.height;
@@ -3801,13 +3801,13 @@ function eS(t) {
3801
3801
  };
3802
3802
  Mt({ label: i, labelConfig: r, defaults: n }), i.marginLeft = n.marginLeft ?? 0;
3803
3803
  }
3804
- 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);
3804
+ o === _.Top || o === _.Bottom ? (i.maxWidth = Number.NaN, i.isMeasured = !1) : (i.maxWidth = n.maxWidth ?? Number.NaN, i.marginTop = s ? i.bbox?.height ?? a?.content?.font?.size ?? A.generalFontSize : 0, i.isMeasured = !0);
3805
3805
  }
3806
3806
  function tS(t) {
3807
3807
  const e = A.legendProperties;
3808
- t.labels.template = ci(e.legendLabels), t.valueLabels.template = ci(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) => {
3808
+ t.labels.template = di(e.legendLabels), t.valueLabels.template = di(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) => {
3809
3809
  let a = i, o;
3810
- if (t.baseSprite instanceof $e && (o = M(t.baseSprite.uid, "config")?.legend?.labelMaxWidth), t.position === H.Right || t.position === H.Left)
3810
+ if (t.baseSprite instanceof $e && (o = M(t.baseSprite.uid, "config")?.legend?.labelMaxWidth), t.position === _.Right || t.position === _.Left)
3811
3811
  a = o ?? A.legendProperties.legendLabels.maxWidth;
3812
3812
  else if (o !== void 0)
3813
3813
  a = o;
@@ -3825,14 +3825,14 @@ function tS(t) {
3825
3825
  if (s !== void 0) {
3826
3826
  const { series: l } = s;
3827
3827
  if (W(l) === y.PieSeries) {
3828
- const d = Z(l) === V.PieFromFields ? ni : l[0].x, u = a.dataItem?.dataContext?.[d];
3828
+ const d = Z(l) === P.PieFromFields ? si : l[0].x, u = a.dataItem?.dataContext?.[d];
3829
3829
  typeof u == "string" ? n = u : u && typeof u != "object" && (n = u.toString());
3830
3830
  } else a.dataItem?.component instanceof nd && (n = a.dataItem.component.name);
3831
3831
  }
3832
3832
  return (n !== void 0 && !Fe(n) ? yo(n) : n) ?? o;
3833
3833
  }), t.valueLabels.template.adapter.add("maxWidth", (i) => {
3834
3834
  let a = i, o;
3835
- return t.baseSprite instanceof $e && (o = M(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;
3835
+ return t.baseSprite instanceof $e && (o = M(t.baseSprite.uid, "config")?.legend?.valueLabelMaxWidth), t.position === _.Right || t.position === _.Left ? a = o ?? A.legendProperties.valueLabels.maxWidth : a = o ?? Number.NaN, a;
3836
3836
  });
3837
3837
  }
3838
3838
  function iS(t, e) {
@@ -3843,7 +3843,7 @@ function aS(t) {
3843
3843
  }
3844
3844
  function oS(t) {
3845
3845
  t.events.on(N.LayoutValidated, () => {
3846
- const e = t.rtl && (t.position === H.Top || t.position === H.Bottom), i = t.itemContainers.values.filter((n) => !n.disabled), a = Math.min(...i.map((n) => n.pixelX)), o = Math.max(...i.map((n) => n.pixelX + n.measuredWidth));
3846
+ const e = t.rtl && (t.position === _.Top || t.position === _.Bottom), i = t.itemContainers.values.filter((n) => !n.disabled), a = Math.min(...i.map((n) => n.pixelX)), o = Math.max(...i.map((n) => n.pixelX + n.measuredWidth));
3847
3847
  i.forEach((n) => {
3848
3848
  const s = a + o - 2 * n.pixelX - n.measuredWidth;
3849
3849
  n.dx = e ? s : 0;
@@ -3899,14 +3899,14 @@ function rS(t, e) {
3899
3899
  N.SizeChanged,
3900
3900
  yt(() => {
3901
3901
  let a = M(e.uid, "config")?.legend?.maxHeight ?? Number.NaN;
3902
- Number.isFinite(a) || (t.position === H.Top || t.position === H.Bottom ? a = A.legendProperties.maxHeight : a = e instanceof $e ? e.chartContainer.measuredHeight : e.seriesContainer.measuredHeight), t.maxHeight = a, t.invalidateLayout();
3902
+ Number.isFinite(a) || (t.position === _.Top || t.position === _.Bottom ? a = A.legendProperties.maxHeight : a = e instanceof $e ? e.chartContainer.measuredHeight : e.seriesContainer.measuredHeight), t.maxHeight = a, t.invalidateLayout();
3903
3903
  }),
3904
3904
  A.debounceTime
3905
3905
  );
3906
3906
  }
3907
3907
  function lS(t, e) {
3908
3908
  const { position: i } = e;
3909
- i === H.Top || i === H.Bottom ? t.contentAlign = "center" : t.contentAlign = "none";
3909
+ i === _.Top || i === _.Bottom ? t.contentAlign = "center" : t.contentAlign = "none";
3910
3910
  }
3911
3911
  function cS(t, e) {
3912
3912
  const { legend: i } = t;
@@ -3915,7 +3915,7 @@ function cS(t, e) {
3915
3915
  });
3916
3916
  }
3917
3917
  function dS(t, e) {
3918
- e === H.Right || e === H.Left ? t.width = Number.NaN : t.maxWidth = Number.MAX_SAFE_INTEGER;
3918
+ e === _.Right || e === _.Left ? t.width = Number.NaN : t.maxWidth = Number.MAX_SAFE_INTEGER;
3919
3919
  }
3920
3920
  function Yu(t, e) {
3921
3921
  let i = qt.pointer;
@@ -3944,7 +3944,7 @@ function Zr(t) {
3944
3944
  M(s.uid, "options")?.legendInteractionsDisabled
3945
3945
  );
3946
3946
  } else
3947
- o.position = H.Right, o.width = 0, ce(o, !1);
3947
+ o.position = _.Right, o.width = 0, ce(o, !1);
3948
3948
  }
3949
3949
  function fS(t) {
3950
3950
  const {
@@ -3957,10 +3957,10 @@ function fS(t) {
3957
3957
  ignoreSmoothRenderingLimit: r,
3958
3958
  errorStrings: l
3959
3959
  } = t, c = i.series.length, { rotated: d } = i, u = i.series[a], { y: f, name: m, id: p, assignToSecondValueAxis: b } = u, h = new ye();
3960
- h.id = p, Ga(h, m);
3960
+ h.id = p, Xa(h, m);
3961
3961
  let S, C;
3962
3962
  d !== !0 ? (S = o[0], C = b === !0 && o[2] ? o[2] : o[1]) : (S = b === !0 && o[2] ? o[2] : o[0], C = o[1]), S !== void 0 && (h.xAxis = S), C !== void 0 && (h.yAxis = C);
3963
- const v = Rt({ chart: e }), x = Z(i.series), F = x === V.BarAndLineSplitByNoAggregation ? `${f.toString()}_${Ai({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [f].flat()[0];
3963
+ const v = Rt({ chart: e }), x = Z(i.series), F = x === P.BarAndLineSplitByNoAggregation ? `${f.toString()}_${Ai({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [f].flat()[0];
3964
3964
  v ? h.dataFields.valueX = F : h.dataFields.valueY = F;
3965
3965
  const k = v ? o[1] : o[0];
3966
3966
  if (k !== void 0) {
@@ -4014,9 +4014,9 @@ function mS(t) {
4014
4014
  colorMatch: n,
4015
4015
  rendererSymbol: v
4016
4016
  });
4017
- d = k.symbolWithColorInfo, p = k.stylingInfo, Oa({ element: h, stylingInfo: p }), C || (m.add(JSON.stringify(p)), u = k.symbolWithColorInfo, b = p);
4017
+ d = k.symbolWithColorInfo, p = k.stylingInfo, Ba({ element: h, stylingInfo: p }), C || (m.add(JSON.stringify(p)), u = k.symbolWithColorInfo, b = p);
4018
4018
  }
4019
- }), c = m.size > 1, d = u ?? d, c || Oa({ element: l, stylingInfo: b ?? p });
4019
+ }), c = m.size > 1, d = u ?? d, c || Ba({ element: l, stylingInfo: b ?? p });
4020
4020
  }
4021
4021
  return c ? void 0 : d;
4022
4022
  }
@@ -4108,11 +4108,11 @@ function bS(t) {
4108
4108
  i.id = e.id, ce(i, u);
4109
4109
  let S = f;
4110
4110
  const C = i.dataFields?.customValue ?? "";
4111
- (h === V.BarAndLineSplitBy || h === V.BarAndLineSplitByNoAggregation) && (S = vr({
4111
+ (h === P.BarAndLineSplitBy || h === P.BarAndLineSplitByNoAggregation) && (S = vr({
4112
4112
  queryObject: l,
4113
4113
  fieldName: Jt(C),
4114
4114
  fieldValue: S
4115
- }) ?? S), Ga(i, S), Gr({ series: i, seriesConfig: e, rotationChanged: o, stackedType: r, isRotated: b }), pS(i, e), zn({
4115
+ }) ?? S), Xa(i, S), Gr({ series: i, seriesConfig: e, rotationChanged: o, stackedType: r, isRotated: b }), pS(i, e), zn({
4116
4116
  styleCallback: () => qu(t),
4117
4117
  series: i,
4118
4118
  seriesConfig: e
@@ -4176,17 +4176,17 @@ function SS(t) {
4176
4176
  return u.hoverable = !0, r || (fa({
4177
4177
  element: u.columns.template,
4178
4178
  customSelectionTheme: n
4179
- }), Ao({ chart: e, element: u.columns.template, errorStrings: s })), u.id = l.id, c !== void 0 && (u.xAxis = c), d !== void 0 && (u.yAxis = d), u.simplifiedProcessing = !0, u.columns.template.applyOnClones = !0, u.riseFromOpenState.reset(), u.riseFromPreviousState.reset(), u.dropFromOpenState.reset(), u.dropFromPreviousState.reset(), Ga(u, l.name), Wt({
4179
+ }), Ao({ chart: e, element: u.columns.template, errorStrings: s })), u.id = l.id, c !== void 0 && (u.xAxis = c), d !== void 0 && (u.yAxis = d), u.simplifiedProcessing = !0, u.columns.template.applyOnClones = !0, u.riseFromOpenState.reset(), u.riseFromPreviousState.reset(), u.dropFromOpenState.reset(), u.dropFromPreviousState.reset(), Xa(u, l.name), Wt({
4180
4180
  seriesConfig: l,
4181
4181
  seriesIndex: o,
4182
- seriesSymbol: l.fillSymbol ?? wa(o),
4182
+ seriesSymbol: l.fillSymbol ?? Da(o),
4183
4183
  element: u,
4184
4184
  colorMatch: !1,
4185
4185
  isChartFillSymbol: !0
4186
4186
  }), Wt({
4187
4187
  seriesConfig: l,
4188
4188
  seriesIndex: o,
4189
- seriesSymbol: l.fillSymbol ?? wa(o),
4189
+ seriesSymbol: l.fillSymbol ?? Da(o),
4190
4190
  element: u.columns.template,
4191
4191
  colorMatch: !1,
4192
4192
  isChartFillSymbol: !0
@@ -4198,7 +4198,7 @@ function xs(t) {
4198
4198
  element: c.segments.template,
4199
4199
  customSelectionTheme: n
4200
4200
  });
4201
- const d = s.fillSymbol ?? wa(a);
4201
+ const d = s.fillSymbol ?? Da(a);
4202
4202
  return Wt({
4203
4203
  seriesConfig: s,
4204
4204
  seriesIndex: a,
@@ -4220,7 +4220,7 @@ function CS(t) {
4220
4220
  customSelectionTheme: n
4221
4221
  }), Ao({ chart: e, element: f, errorStrings: s })), ua(u), u;
4222
4222
  }
4223
- function Xa(t) {
4223
+ function Ya(t) {
4224
4224
  const {
4225
4225
  chartConfig: e,
4226
4226
  seriesConfig: i,
@@ -4238,18 +4238,18 @@ function Xa(t) {
4238
4238
  if (e !== void 0) {
4239
4239
  const { showOutliers: v, standardizeValues: x, showMean: F } = e, k = Rt({ config: e });
4240
4240
  if (a instanceof ye && C) {
4241
- const B = Z(e.series), $ = i?.query?.where, P = xe({
4242
- y: B === V.BoxPlotC4MultiFieldsAndCategory ? p : void 0,
4241
+ const B = Z(e.series), $ = i?.query?.where, V = xe({
4242
+ y: B === P.BoxPlotC4MultiFieldsAndCategory ? p : void 0,
4243
4243
  chartSubType: B,
4244
4244
  splitBy: $,
4245
4245
  showOutliers: v,
4246
4246
  standardizeValues: ro(B) ? x : !1,
4247
4247
  key: ae.Average
4248
4248
  });
4249
- k ? (a.dataFields.valueX = P, a.dataFields.categoryY = m) : (a.dataFields.valueY = P, a.dataFields.categoryX = m), a.dataFields.customValue = $;
4249
+ k ? (a.dataFields.valueX = V, a.dataFields.categoryY = m) : (a.dataFields.valueY = V, a.dataFields.categoryX = m), a.dataFields.customValue = $;
4250
4250
  }
4251
4251
  const T = Lr(e), I = Z(T.series), R = F === !0 ? void 0 : i?.query?.where, D = {
4252
- y: I === V.BoxPlotC4MultiFieldsAndCategory ? p : void 0,
4252
+ y: I === P.BoxPlotC4MultiFieldsAndCategory ? p : void 0,
4253
4253
  chartSubType: I,
4254
4254
  splitBy: R,
4255
4255
  showOutliers: v,
@@ -4263,14 +4263,14 @@ function Xa(t) {
4263
4263
  }), $ = xe({
4264
4264
  ...D,
4265
4265
  key: ae.FirstQuartile
4266
- }), P = xe({
4266
+ }), V = xe({
4267
4267
  ...D,
4268
4268
  key: ae.Max
4269
4269
  }), X = xe({
4270
4270
  ...D,
4271
4271
  key: ae.ThirdQuartile
4272
4272
  });
4273
- k ? (o.dataFields.lowValueX = B, o.dataFields.openValueX = $, o.dataFields.highValueX = P, o.dataFields.valueX = X, o.dataFields.categoryY = m) : (o.dataFields.lowValueY = B, o.dataFields.openValueY = $, o.dataFields.highValueY = P, o.dataFields.valueY = X, o.dataFields.categoryX = m), o.dataFields.customValue = R;
4273
+ k ? (o.dataFields.lowValueX = B, o.dataFields.openValueX = $, o.dataFields.highValueX = V, o.dataFields.valueX = X, o.dataFields.categoryY = m) : (o.dataFields.lowValueY = B, o.dataFields.openValueY = $, o.dataFields.highValueY = V, o.dataFields.valueY = X, o.dataFields.categoryX = m), o.dataFields.customValue = R;
4274
4274
  }
4275
4275
  if (n instanceof At && s instanceof At && r instanceof At) {
4276
4276
  const B = xe({
@@ -4279,11 +4279,11 @@ function Xa(t) {
4279
4279
  }), $ = xe({
4280
4280
  key: ae.Median,
4281
4281
  ...D
4282
- }), P = xe({
4282
+ }), V = xe({
4283
4283
  key: ae.Min,
4284
4284
  ...D
4285
4285
  });
4286
- k ? (n.dataFields.valueX = B, s.dataFields.valueX = $, r.dataFields.valueX = P, n.dataFields.categoryY = m, s.dataFields.categoryY = m, r.dataFields.categoryY = m) : (n.dataFields.valueY = B, s.dataFields.valueY = $, r.dataFields.valueY = P, n.dataFields.categoryX = m, s.dataFields.categoryX = m, r.dataFields.categoryX = m), n.dataFields.customValue = R, r.dataFields.customValue = R, s.dataFields.customValue = R;
4286
+ k ? (n.dataFields.valueX = B, s.dataFields.valueX = $, r.dataFields.valueX = V, n.dataFields.categoryY = m, s.dataFields.categoryY = m, r.dataFields.categoryY = m) : (n.dataFields.valueY = B, s.dataFields.valueY = $, r.dataFields.valueY = V, n.dataFields.categoryX = m, s.dataFields.categoryX = m, r.dataFields.categoryX = m), n.dataFields.customValue = R, r.dataFields.customValue = R, s.dataFields.customValue = R;
4287
4287
  }
4288
4288
  }
4289
4289
  if (l instanceof ye && S) {
@@ -4307,7 +4307,7 @@ function xS(t) {
4307
4307
  seriesSymbol: r.lineSymbol ?? Or(o),
4308
4308
  element: d,
4309
4309
  colorMatch: !1
4310
- }), ua(d), Dy(d), Xa({
4310
+ }), ua(d), Dy(d), Ya({
4311
4311
  chartConfig: a,
4312
4312
  seriesConfig: r,
4313
4313
  meanLineSeries: d,
@@ -4327,7 +4327,7 @@ function vS(t) {
4327
4327
  ...t,
4328
4328
  type: ge.Bottom
4329
4329
  }), d = CS(t);
4330
- Iy(s), wy(d, s), Xa({
4330
+ Iy(s), wy(d, s), Ya({
4331
4331
  chartConfig: e,
4332
4332
  seriesConfig: a,
4333
4333
  candleStickSeries: s,
@@ -4364,7 +4364,7 @@ function LS(t) {
4364
4364
  e.id
4365
4365
  );
4366
4366
  if (c !== void 0 && d !== void 0 && u !== void 0 && r.outline !== void 0) {
4367
- r.outline.strokeWidth = A.boxPlot.boxPlotLineWidth, La(c, r.outline), La(d, r.outline), La(u, r.outline);
4367
+ r.outline.strokeWidth = A.boxPlot.boxPlotLineWidth, Fa(c, r.outline), Fa(d, r.outline), Fa(u, r.outline);
4368
4368
  const f = i.visible !== !1;
4369
4369
  ce(c, f), ce(d, f), ce(u, f);
4370
4370
  }
@@ -4405,7 +4405,7 @@ function AS(t) {
4405
4405
  let c, d, u;
4406
4406
  const f = /* @__PURE__ */ new Set();
4407
4407
  let m = !1;
4408
- const p = i.fillSymbol ?? wa(a);
4408
+ const p = i.fillSymbol ?? Da(a);
4409
4409
  if (e.columns.length === 0 ? (u = Wt({
4410
4410
  seriesConfig: i,
4411
4411
  seriesIndex: a,
@@ -4431,8 +4431,8 @@ function AS(t) {
4431
4431
  }), c = u.symbolWithColorInfo, d = u.stylingInfo, f.add(JSON.stringify(c));
4432
4432
  }), m = f.size > 1, o > 1) {
4433
4433
  const b = e.legendDataItem?.marker.children.getIndex(0);
4434
- b !== void 0 ? Oa({ element: b, stylingInfo: d }) : e.chart.legend.events.once(N.Validated, () => {
4435
- Oa({
4434
+ b !== void 0 ? Ba({ element: b, stylingInfo: d }) : e.chart.legend.events.once(N.Validated, () => {
4435
+ Ba({
4436
4436
  element: e.legendDataItem?.marker.children.getIndex(0),
4437
4437
  stylingInfo: d
4438
4438
  }), e.chart.legend.invalidate();
@@ -4535,7 +4535,7 @@ function IS(t) {
4535
4535
  const u = Kr(n, a.visible);
4536
4536
  d.disabled = !u;
4537
4537
  }
4538
- Xa({
4538
+ Ya({
4539
4539
  chartConfig: i,
4540
4540
  seriesConfig: a,
4541
4541
  outliersVisibilityChanged: r,
@@ -4554,7 +4554,7 @@ function wS(t) {
4554
4554
  outliersVisibilityChanged: n,
4555
4555
  standardizeValuesVisibilityChanged: s
4556
4556
  } = t;
4557
- Ga(e, i?.name), Xa({
4557
+ Xa(e, i?.name), Ya({
4558
4558
  chartConfig: o,
4559
4559
  seriesConfig: i,
4560
4560
  meanLineSeries: e,
@@ -4572,7 +4572,7 @@ function DS(t) {
4572
4572
  outliersVisibilityChanged: n,
4573
4573
  standardizeValuesVisibilityChanged: s
4574
4574
  } = t;
4575
- Ga(e, a?.name), e.hiddenInLegend = xt(i), Xa({
4575
+ Xa(e, a?.name), e.hiddenInLegend = xt(i), Ya({
4576
4576
  chartConfig: i,
4577
4577
  seriesConfig: a,
4578
4578
  candleStickSeries: e,
@@ -4594,7 +4594,7 @@ function RS(t) {
4594
4594
  e,
4595
4595
  o
4596
4596
  );
4597
- c !== void 0 && ce(c, l), d !== void 0 && ce(d, l), u !== void 0 && ce(u, l), Xa({
4597
+ c !== void 0 && ce(c, l), d !== void 0 && ce(d, l), u !== void 0 && ce(u, l), Ya({
4598
4598
  chartConfig: i,
4599
4599
  seriesConfig: a,
4600
4600
  outliersVisibilityChanged: n,
@@ -4716,13 +4716,13 @@ function BS(t, e = !0) {
4716
4716
  }
4717
4717
  });
4718
4718
  }
4719
- function Ya(t) {
4719
+ function Ua(t) {
4720
4720
  const { chart: e, selectionSource: i, clearOnlyVisibleSeries: a, disposeStyleAndSelection: o } = t;
4721
4721
  o !== !1 && Iu(e, "updateSelectionCallbackDisposer"), ne(e.uid, {
4722
4722
  computedSelectionItems: void 0,
4723
4723
  computedSelectionIndexes: void 0,
4724
4724
  pendingSelectionQueries: !1
4725
- }), Nt(e) && (e instanceof me ? BS(e, a ?? !0) : e instanceof $e && OS(e)), M(e.uid, "options")?.selectionData?.selectionItems?.[0] && _a({
4725
+ }), Nt(e) && (e instanceof me ? BS(e, a ?? !0) : e instanceof $e && OS(e)), M(e.uid, "options")?.selectionData?.selectionItems?.[0] && Ga({
4726
4726
  data: {
4727
4727
  selectionSource: i ?? pe.ClearSelection
4728
4728
  },
@@ -4730,7 +4730,7 @@ function Ya(t) {
4730
4730
  });
4731
4731
  }
4732
4732
  function NS(t) {
4733
- Ad(), Td(t.htmlContainer), Ya({ chart: t });
4733
+ Ad(), Td(t.htmlContainer), Ua({ chart: t });
4734
4734
  }
4735
4735
  function $S(t) {
4736
4736
  const { chart: e, chartType: i, showMean: a } = t;
@@ -4744,7 +4744,7 @@ function PS(t) {
4744
4744
  function Zu(t, e) {
4745
4745
  const i = M(t.uid, "actionMode");
4746
4746
  if ((i === J.MonoSelection || i === J.None) && e.length > 1)
4747
- Ya({ chart: t });
4747
+ Ua({ chart: t });
4748
4748
  else {
4749
4749
  const o = t instanceof $e;
4750
4750
  e.forEach((n) => {
@@ -4768,11 +4768,11 @@ function VS(t) {
4768
4768
  xAxisField: l,
4769
4769
  yAxisField: c,
4770
4770
  queryObject: d
4771
- } = t, u = W(i.series), f = Z(i.series), m = Ti(i), p = In(i), b = [], h = [], S = [], C = ui(i.series), v = a instanceof bi ? a.dataFields?.customValue ?? "" : "";
4771
+ } = t, u = W(i.series), f = Z(i.series), m = Ti(i), p = In(i), b = [], h = [], S = [], C = fi(i.series), v = a instanceof bi ? a.dataFields?.customValue ?? "" : "";
4772
4772
  return n.forEach((x) => {
4773
4773
  if (!(x instanceof oa)) {
4774
4774
  let F = x.dataItem?.dataContext;
4775
- if (F !== void 0 && (u === y.BoxPlotSeries && F[A.boxPlot.boxPlotOutlierId] !== !0 || f === V.BarAndLineMultiFields) && (F = Li({
4775
+ if (F !== void 0 && (u === y.BoxPlotSeries && F[A.boxPlot.boxPlotOutlierId] !== !0 || f === P.BarAndLineMultiFields) && (F = Li({
4776
4776
  dataContext: F,
4777
4777
  yAxisField: c,
4778
4778
  yList: C,
@@ -4795,7 +4795,7 @@ function VS(t) {
4795
4795
  showOutliers: m,
4796
4796
  timeAggregationType: p
4797
4797
  }))
4798
- if (b.push(x), x.dataItem !== void 0 && h.push(x.dataItem.index), u === y.BoxPlotSeries && x?.dataItem instanceof Wa && F !== void 0)
4798
+ if (b.push(x), x.dataItem !== void 0 && h.push(x.dataItem.index), u === y.BoxPlotSeries && x?.dataItem instanceof Ea && F !== void 0)
4799
4799
  S.push(F);
4800
4800
  else {
4801
4801
  const T = /* @__PURE__ */ new Set();
@@ -4835,7 +4835,7 @@ function VS(t) {
4835
4835
  }), Zu(e, b), { selectedIndexes: h, newSelectionItems: S };
4836
4836
  }
4837
4837
  function WS(t) {
4838
- const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = M(e.uid, "config"), r = Ti(s), l = ui(s?.series ?? []), c = Z(s?.series);
4838
+ const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = M(e.uid, "config"), r = Ti(s), l = fi(s?.series ?? []), c = Z(s?.series);
4839
4839
  return e.series.each((d, u) => {
4840
4840
  if (s && d.visible) {
4841
4841
  const f = s.series[0].x, m = Yi(d), p = d instanceof bi ? d.dataFields?.customValue ?? "" : "", b = Pn(d, u), h = i.get(u);
@@ -4846,7 +4846,7 @@ function WS(t) {
4846
4846
  S.each((v, x) => {
4847
4847
  if (v && (C === void 0 || C.includes(x))) {
4848
4848
  let F;
4849
- b === y.BoxPlotSeries && v.dataItem instanceof Wa ? F = v.dataItem.dataContext : v.dataItem instanceof oa || (F = Li({
4849
+ b === y.BoxPlotSeries && v.dataItem instanceof Ea ? F = v.dataItem.dataContext : v.dataItem instanceof oa || (F = Li({
4850
4850
  dataContext: v.dataItem?.dataContext,
4851
4851
  yList: l,
4852
4852
  yAxisField: m,
@@ -4937,10 +4937,10 @@ function zS(t) {
4937
4937
  chartType: R,
4938
4938
  showMean: I
4939
4939
  }), O = Z(x?.series), B = nt(a), $ = na(B).idField;
4940
- let P = !1, X = !1, G;
4940
+ let V = !1, X = !1, H;
4941
4941
  if (D?.[0] !== void 0) {
4942
4942
  if (o?.viewExtentUpdated !== !0) {
4943
- G = o?.selectionData?.selectionItems, P = s === !0 || n === !0 || r === !0 || d === !0 || G !== void 0 && h;
4943
+ H = o?.selectionData?.selectionItems, V = s === !0 || n === !0 || r === !0 || d === !0 || H !== void 0 && h;
4944
4944
  let Y = !0;
4945
4945
  if (S !== void 0 && S.size > 0) {
4946
4946
  const { indexesToSelect: U } = S.get(i ?? 0) ?? {};
@@ -4948,24 +4948,24 @@ function zS(t) {
4948
4948
  }
4949
4949
  X = n === !0 || r === !0 || d === !0 || !Y && b;
4950
4950
  }
4951
- if (P && G !== void 0 && G.length > 0) {
4951
+ if (V && H !== void 0 && H.length > 0) {
4952
4952
  const { selectedIndexes: Y, newSelectionItems: U } = VS({
4953
4953
  chart: v,
4954
4954
  chartConfig: x,
4955
4955
  options: o,
4956
4956
  series: e,
4957
4957
  elementsToApplySelectionTo: D,
4958
- selectionItems: G,
4958
+ selectionItems: H,
4959
4959
  layerOidField: $,
4960
4960
  xAxisField: l,
4961
4961
  yAxisField: c
4962
4962
  });
4963
- let _ = M(v.uid, "computedSelectionItems") ?? [];
4964
- if (_.push(...U), x.series.length > 1 && O !== V.BarAndLineNoAggregation && O !== V.BarAndLineSplitByNoAggregation && (_ = kn({
4965
- data: _,
4963
+ let G = M(v.uid, "computedSelectionItems") ?? [];
4964
+ if (G.push(...U), x.series.length > 1 && O !== P.BarAndLineNoAggregation && O !== P.BarAndLineSplitByNoAggregation && (G = kn({
4965
+ data: G,
4966
4966
  x: x.series[0].x,
4967
4967
  splitByField: Jt(x.series[0].query?.where)
4968
- })), ne(v.uid, { computedSelectionItems: _ }), m === !0) {
4968
+ })), ne(v.uid, { computedSelectionItems: G }), m === !0) {
4969
4969
  const j = Array.from(new Set(Y));
4970
4970
  let z = M(
4971
4971
  v.uid,
@@ -4976,14 +4976,14 @@ function zS(t) {
4976
4976
  }), ne(v.uid, { computedSelectionIndexes: z });
4977
4977
  }
4978
4978
  } else if (S !== void 0 && X)
4979
- G = WS({ chart: v, selectionIndexes: S, queryObject: a });
4979
+ H = WS({ chart: v, selectionIndexes: S, queryObject: a });
4980
4980
  else {
4981
- const Y = G === void 0 || G.length === 0, U = e instanceof bi ? e.dataFields?.customValue ?? "" : "", _ = (j) => {
4981
+ const Y = H === void 0 || H.length === 0, U = e instanceof bi ? e.dataFields?.customValue ?? "" : "", G = (j) => {
4982
4982
  let z = j.dataItem?.dataContext;
4983
4983
  return z !== void 0 && R === y.BoxPlotSeries && z[A.boxPlot.boxPlotOutlierId] !== !0 && (z = Li({
4984
4984
  dataContext: z,
4985
4985
  yAxisField: c,
4986
- yList: ui(x.series),
4986
+ yList: fi(x.series),
4987
4987
  xAxisField: l,
4988
4988
  splitBy: U,
4989
4989
  chartType: R,
@@ -4993,7 +4993,7 @@ function zS(t) {
4993
4993
  })), Vn({
4994
4994
  elementDataContext: z,
4995
4995
  options: o,
4996
- selectionItems: G ?? [],
4996
+ selectionItems: H ?? [],
4997
4997
  layerOidField: $,
4998
4998
  xAxisField: l,
4999
4999
  yAxisField: c,
@@ -5005,7 +5005,7 @@ function zS(t) {
5005
5005
  });
5006
5006
  };
5007
5007
  D.forEach((j) => {
5008
- const z = j.isActive || _(j);
5008
+ const z = j.isActive || G(j);
5009
5009
  Ht({
5010
5010
  element: j,
5011
5011
  selected: z,
@@ -5016,27 +5016,27 @@ function zS(t) {
5016
5016
  }
5017
5017
  }
5018
5018
  if (Xt(e.uid, { isSelectionApplied: !0 }), $S({ chart: v, chartType: R, showMean: I }) && (PS(v), h || X)) {
5019
- let Y = M(v.uid, "computedSelectionItems") ?? G;
5020
- Y = Array.from(new Set(Y?.map((_) => JSON.stringify(_)))).map(
5021
- (_) => JSON.parse(_)
5019
+ let Y = M(v.uid, "computedSelectionItems") ?? H;
5020
+ Y = Array.from(new Set(Y?.map((G) => JSON.stringify(G)))).map(
5021
+ (G) => JSON.parse(G)
5022
5022
  );
5023
5023
  let U;
5024
5024
  if (m === !0 && (U = M(v.uid, "computedSelectionIndexes") ?? S), Y === void 0 || Y.length === 0)
5025
- Ya({
5025
+ Ua({
5026
5026
  chart: v,
5027
5027
  selectionSource: pe.ProgrammaticSelection
5028
5028
  });
5029
5029
  else {
5030
- const _ = {
5030
+ const G = {
5031
5031
  selectionItems: Y,
5032
5032
  selectionSource: pe.ProgrammaticSelection
5033
5033
  };
5034
- C?.[0] && (_.selectionFilters = C), m === !0 && (_.selectionIndexes = U), p !== !1 && (_.selectionOIDs = f?.selectionOIDs), F && (_.selectionPixelTarget = Fr({
5034
+ C?.[0] && (G.selectionFilters = C), m === !0 && (G.selectionIndexes = U), p !== !1 && (G.selectionOIDs = f?.selectionOIDs), F && (G.selectionPixelTarget = Fr({
5035
5035
  chartConfig: x,
5036
5036
  layer: a,
5037
5037
  selectionItems: Y
5038
- })), _a({
5039
- data: _,
5038
+ })), Ga({
5039
+ data: G,
5040
5040
  htmlContainer: v.htmlContainer
5041
5041
  });
5042
5042
  }
@@ -5077,7 +5077,7 @@ async function ko(t) {
5077
5077
  const { chart: e, listSelectedElements: i, selectionSource: a, errorStrings: o } = t, n = M(e.uid, "options"), s = M(e.uid, "config"), r = M(e.uid, "queryObject"), l = Ye(r);
5078
5078
  if (s && r)
5079
5079
  if (i.length === 0)
5080
- Ya({
5080
+ Ua({
5081
5081
  chart: e,
5082
5082
  selectionSource: a,
5083
5083
  clearOnlyVisibleSeries: !1,
@@ -5088,7 +5088,7 @@ async function ko(t) {
5088
5088
  Iu(e, "updateSelectionCallbackDisposer");
5089
5089
  const c = nt(r), d = "objectIdField" in c ? c.objectIdField : void 0, u = Ti(s), f = [], m = [];
5090
5090
  let p = [], b = [];
5091
- const h = /* @__PURE__ */ new Map(), { xAxisField: S } = i[0] ?? {}, C = W(s?.series), v = Z(s?.series), x = ui(s?.series ?? []), F = Ft(r), k = F.find((R) => R.name === S)?.type, T = F.find((R) => R.name === x[0])?.type;
5091
+ const h = /* @__PURE__ */ new Map(), { xAxisField: S } = i[0] ?? {}, C = W(s?.series), v = Z(s?.series), x = fi(s?.series ?? []), F = Ft(r), k = F.find((R) => R.name === S)?.type, T = F.find((R) => R.name === x[0])?.type;
5092
5092
  if (i.forEach((R) => {
5093
5093
  const { elementDataContext: D, yAxisField: O, splitBy: B } = R, $ = Li({
5094
5094
  dataContext: D,
@@ -5102,18 +5102,18 @@ async function ko(t) {
5102
5102
  isFeatureCollectionLayer: Ci(r)
5103
5103
  });
5104
5104
  $ !== void 0 && p.push($);
5105
- const { seriesIndex: P, elementIndex: X } = R;
5105
+ const { seriesIndex: V, elementIndex: X } = R;
5106
5106
  if (X !== void 0) {
5107
- const G = h.get(P)?.indexesToSelect ?? [];
5108
- G.push(X), h.set(P, {
5109
- indexesToSelect: Array.from(new Set(G))
5107
+ const H = h.get(V)?.indexesToSelect ?? [];
5108
+ H.push(X), h.set(V, {
5109
+ indexesToSelect: Array.from(new Set(H))
5110
5110
  });
5111
5111
  }
5112
5112
  if (!l && D !== void 0)
5113
5113
  if (d && D[d] !== void 0 && (typeof D[d] == "number" || typeof D[d] == "string"))
5114
5114
  b.push(D[d]);
5115
5115
  else {
5116
- const G = br(B) ? pi.uniqueIds : `${pi.uniqueIds}_${C === y.BoxPlotSeries ? Ai({ where: B }) : O}`, Y = D[G] ?? D[pi.uniqueIds] ?? [], U = kd({
5116
+ const H = br(B) ? pi.uniqueIds : `${pi.uniqueIds}_${C === y.BoxPlotSeries ? Ai({ where: B }) : O}`, Y = D[H] ?? D[pi.uniqueIds] ?? [], U = kd({
5117
5117
  dataContext: D,
5118
5118
  options: n,
5119
5119
  xAxisField: S,
@@ -5125,8 +5125,8 @@ async function ko(t) {
5125
5125
  queryObject: r
5126
5126
  });
5127
5127
  if (D[E.boxPlot.boxPlotOutlierId] || m.push(U), Array.isArray(Y) && Y.length > 0)
5128
- for (const _ of Y)
5129
- b.push(_);
5128
+ for (const G of Y)
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) {
@@ -5144,7 +5144,7 @@ async function ko(t) {
5144
5144
  for (let B = 0; B < O.length; B += 1)
5145
5145
  b.push(O[B]);
5146
5146
  }
5147
- s.series.length > 1 && v !== V.BarAndLineNoAggregation && v !== V.BarAndLineSplitByNoAggregation && (p = kn({
5147
+ s.series.length > 1 && v !== P.BarAndLineNoAggregation && v !== P.BarAndLineSplitByNoAggregation && (p = kn({
5148
5148
  data: p,
5149
5149
  x: s.series[0].x,
5150
5150
  splitByField: Jt(s.series[0].query?.where)
@@ -5157,14 +5157,14 @@ async function ko(t) {
5157
5157
  chartConfig: s,
5158
5158
  layer: r,
5159
5159
  selectionItems: p
5160
- })), _a({
5160
+ })), Ga({
5161
5161
  data: I,
5162
5162
  htmlContainer: e.htmlContainer
5163
5163
  });
5164
5164
  } catch (c) {
5165
5165
  ne(e.uid, { pendingSelectionQueries: !1 });
5166
5166
  let d = -1;
5167
- if (c && typeof c == "object" && "details" in c && ({ httpStatus: d } = c instanceof gi ? c.details.details : c.details ?? {}), d === 429)
5167
+ if (c && typeof c == "object" && "details" in c && ({ httpStatus: d } = c instanceof ni ? c.details.details : c.details ?? {}), d === 429)
5168
5168
  NS(e);
5169
5169
  else
5170
5170
  throw c;
@@ -5284,7 +5284,7 @@ function qS(t, e, i) {
5284
5284
  );
5285
5285
  if (c !== void 0) {
5286
5286
  let d = "", u;
5287
- r instanceof cr ? (d = r.value, u = r.endValue) : r instanceof Ta ? (d = r.category, u = r.endCategory) : r instanceof Cn && (d = r.date, u = r.endDate), s = c({
5287
+ r instanceof cr ? (d = r.value, u = r.endValue) : r instanceof ka ? (d = r.category, u = r.endCategory) : r instanceof Cn && (d = r.date, u = r.endDate), s = c({
5288
5288
  guideName: r.id ?? "",
5289
5289
  start: d,
5290
5290
  end: u,
@@ -5312,7 +5312,7 @@ function ZS(t, e) {
5312
5312
  let x = new cd(), F;
5313
5313
  if (r !== void 0) {
5314
5314
  const k = M(t.chart.uid, "formatLocale");
5315
- x = li({
5315
+ x = ci({
5316
5316
  type: y.DateAxisFormat,
5317
5317
  iLocale: r.language.locale,
5318
5318
  formatLocale: k
@@ -5415,7 +5415,7 @@ function kt(t, e) {
5415
5415
  s = n === !0 && a.value !== void 0;
5416
5416
  break;
5417
5417
  case Ae.GaugeFirstAndLastGuides:
5418
- s = o === !0 && (a.id === Ia.gaugeFirstLabelId || a.id === Ia.gaugeLastLabelId);
5418
+ s = o === !0 && (a.id === wa.gaugeFirstLabelId || a.id === wa.gaugeLastLabelId);
5419
5419
  break;
5420
5420
  }
5421
5421
  return s;
@@ -5425,12 +5425,12 @@ function eC(t, e) {
5425
5425
  let i = t.axisRanges.length;
5426
5426
  {
5427
5427
  const o = t.axisRanges.values.findIndex(
5428
- (n) => n.id === Ia.gaugeFirstLabelId
5428
+ (n) => n.id === wa.gaugeFirstLabelId
5429
5429
  );
5430
5430
  o !== -1 && (i = o);
5431
5431
  }
5432
5432
  let a;
5433
- return t instanceof ut ? a = new Ta() : t instanceof Ve ? a = new Cn() : a = new cr(), t.axisRanges.insertIndex(i, a), a.label = US(t, e), a.axisFill.fillOpacity = 1, a.axisFill.disabled = !0, a.grid.strokeOpacity = 1, a;
5433
+ return t instanceof ut ? a = new ka() : t instanceof Ve ? a = new Cn() : a = new cr(), t.axisRanges.insertIndex(i, a), a.label = US(t, e), a.axisFill.fillOpacity = 1, a.axisFill.disabled = !0, a.grid.strokeOpacity = 1, a;
5434
5434
  }
5435
5435
  function tC(t, e) {
5436
5436
  const i = eC(t, !0);
@@ -5456,7 +5456,7 @@ function aC(t, e) {
5456
5456
  if (i !== void 0) {
5457
5457
  const { chart: o } = t?.component ?? {};
5458
5458
  let n;
5459
- if (t instanceof Ta && o instanceof me && M(o.uid, "isNonAggregatedChart") === !0) {
5459
+ if (t instanceof ka && o instanceof me && M(o.uid, "isNonAggregatedChart") === !0) {
5460
5460
  const { modifiedStart: s, modifiedEnd: r } = iC(o, e);
5461
5461
  n = {
5462
5462
  isValidGuide: !0,
@@ -5465,7 +5465,7 @@ function aC(t, e) {
5465
5465
  };
5466
5466
  } else
5467
5467
  n = Qr(t.axisFill.axis, e);
5468
- n.isValidGuide && (t instanceof Ta ? (t.category = `${n.start?.toString()}`, t.endCategory = `${n.end?.toString()}`) : t instanceof Cn ? (t.date = n.start, t.endDate = n.end) : (t.value = n.start, t.endValue = n.end));
5468
+ n.isValidGuide && (t instanceof ka ? (t.category = `${n.start?.toString()}`, t.endCategory = `${n.end?.toString()}`) : t instanceof Cn ? (t.date = n.start, t.endDate = n.end) : (t.value = n.start, t.endValue = n.end));
5469
5469
  }
5470
5470
  }
5471
5471
  function oC(t, e) {
@@ -5736,7 +5736,7 @@ function FC(t) {
5736
5736
  o.content.angle !== null && o.content.angle === void 0 && yc(e);
5737
5737
  break;
5738
5738
  }
5739
- } else e.renderer instanceof Ea && (a !== ve.Hide ? vC(e) : SC(e));
5739
+ } else e.renderer instanceof za && (a !== ve.Hide ? vC(e) : SC(e));
5740
5740
  }
5741
5741
  function AC(t) {
5742
5742
  const {
@@ -5750,7 +5750,7 @@ function AC(t) {
5750
5750
  r.axis = e;
5751
5751
  const { labels: l } = i, c = e.renderer instanceof Tt && r.rotation === A.rotatedAxisLabel.rotation, d = l;
5752
5752
  let u;
5753
- c ? (d.content.angle = void 0, d.content.horizontalAlignment = void 0, d.content.verticalAlignment = void 0, d.content.yoffset = void 0, u = A.rotatedAxisLabel) : e.renderer instanceof Tt && (a === ve.Stagger || a === ve.Wrap) && (u = { wrap: !0, dy: A.axisLabel.dy }), e.renderer instanceof Ea && o !== ve.Hide && (u = { wrap: !0 }), Mt({ label: r, labelConfig: d, defaults: u }), e.renderer.labels.template.paddingTop = e.renderer instanceof Tt ? 0 : A.axisLabel.dy, r.align = "none", r.valign = "none", FC({
5753
+ c ? (d.content.angle = void 0, d.content.horizontalAlignment = void 0, d.content.verticalAlignment = void 0, d.content.yoffset = void 0, u = A.rotatedAxisLabel) : e.renderer instanceof Tt && (a === ve.Stagger || a === ve.Wrap) && (u = { wrap: !0, dy: A.axisLabel.dy }), e.renderer instanceof za && o !== ve.Hide && (u = { wrap: !0 }), Mt({ label: r, labelConfig: d, defaults: u }), e.renderer.labels.template.paddingTop = e.renderer instanceof Tt ? 0 : A.axisLabel.dy, r.align = "none", r.valign = "none", FC({
5754
5754
  axis: e,
5755
5755
  horizontalAxisLabelsBehavior: a,
5756
5756
  verticalAxisLabelsBehavior: o,
@@ -5772,9 +5772,9 @@ function TC(t, e = !0) {
5772
5772
  }
5773
5773
  function kC(t, e) {
5774
5774
  let i, a;
5775
- const o = ci(A.dataLabelInitialize);
5775
+ const o = di(A.dataLabelInitialize);
5776
5776
  vi(o.uid, { isDataLabel: !0 }), t.bullets.push(o);
5777
- const n = ci(A.dataLabelInitialize, t.columns.template);
5777
+ const n = di(A.dataLabelInitialize, t.columns.template);
5778
5778
  return vi(n.uid, { isDataLabel: !0 }), Es(n, t), Es(o, t), t.events.on(
5779
5779
  N.Validated,
5780
5780
  yt(() => {
@@ -5812,7 +5812,7 @@ function wC(t) {
5812
5812
  }
5813
5813
  function DC(t) {
5814
5814
  const e = t.title, i = 98;
5815
- if (t.renderer instanceof Ea)
5815
+ if (t.renderer instanceof za)
5816
5816
  e.adapter.add(
5817
5817
  "y",
5818
5818
  (a) => {
@@ -5853,7 +5853,7 @@ function Xn(t) {
5853
5853
  t !== void 0 && (t.xAxes !== void 0 && t.xAxes.each((e) => zs({ axis: e })), t.yAxes !== void 0 && t.yAxes.each((e) => zs({ axis: e })), Cc(t.scrollbarX), Cc(t.scrollbarY), ce(t.zoomOutButton, !1));
5854
5854
  }
5855
5855
  function Io(t, e) {
5856
- return t instanceof Tt && e !== !0 || t instanceof Ea && e === !0;
5856
+ return t instanceof Tt && e !== !0 || t instanceof za && e === !0;
5857
5857
  }
5858
5858
  function RC(t) {
5859
5859
  Nt(t.labels.template) && (t.labels.template.events.on(N.Over, (e) => {
@@ -5896,7 +5896,7 @@ function OC(t) {
5896
5896
  minimum: e.min,
5897
5897
  maximum: e.max
5898
5898
  });
5899
- else if (e.renderer instanceof (i !== !0 ? Ea : Tt)) {
5899
+ else if (e.renderer instanceof (i !== !0 ? za : Tt)) {
5900
5900
  e.maxZoomFactor = 1;
5901
5901
  const o = t.target, n = o.chart, s = i !== !0 ? n.xAxes.getIndex(0) : n.yAxes.getIndex(0), r = n.yAxes.getIndex(1) ?? n.xAxes.getIndex(1);
5902
5902
  a = [
@@ -5931,10 +5931,10 @@ function NC(t) {
5931
5931
  for (let l = 0; l < r.length; l += 1) {
5932
5932
  a = !1, o = !1, n = !1;
5933
5933
  const c = r[l], { category: d, endCategory: u, axisFill: f, grid: m, label: p } = c;
5934
- if (c instanceof Ta && c.visible)
5934
+ if (c instanceof ka && c.visible)
5935
5935
  for (let b = 0; b < s.length; b += 1) {
5936
5936
  let h;
5937
- i === !0 ? h = si({
5937
+ i === !0 ? h = ri({
5938
5938
  value: s[b].category,
5939
5939
  dataContext: s[b].dataContext
5940
5940
  }) : h = s[b].category.toString(), d === h && (o = !0), u === h && (n = !0);
@@ -5976,14 +5976,14 @@ function $C(t) {
5976
5976
  function no(t) {
5977
5977
  const { axes: e, isSecondaryYAxis: i = !1, isXAxis: a, valueFormat: o, chartType: n, errorStrings: s } = t;
5978
5978
  let r;
5979
- if (za({ isXAxis: a, chartType: n, valueFormat: o }) && !i)
5979
+ if (Ha({ isXAxis: a, chartType: n, valueFormat: o }) && !i)
5980
5980
  r = e.push(new ut());
5981
5981
  else if (bt(o))
5982
5982
  r = e.push(new Ve());
5983
5983
  else if (Me(o)) {
5984
5984
  r = e.push(new ke());
5985
5985
  const l = M(r.chart.uid, "formatLocale");
5986
- r.numberFormatter = li({
5986
+ r.numberFormatter = ci({
5987
5987
  type: y.NumberAxisFormat,
5988
5988
  iLocale: r.chart.language.locale,
5989
5989
  formatLocale: l
@@ -6157,7 +6157,7 @@ function GC(t, e) {
6157
6157
  function XC(t, e) {
6158
6158
  const i = t.renderer instanceof Tt;
6159
6159
  t.events.once(N.Validated, () => {
6160
- let a = t.renderer instanceof Ea ? A.yAxisTitleLabel : A.xAxisTitleLabel;
6160
+ let a = t.renderer instanceof za ? A.yAxisTitleLabel : A.xAxisTitleLabel;
6161
6161
  i && (a = { ...a, dy: a.dy ?? 0 }), Mt({ label: t.title, labelConfig: e, defaults: a }), zi({
6162
6162
  chart: t.chart,
6163
6163
  label: t.title,
@@ -6242,9 +6242,9 @@ function Yo(t) {
6242
6242
  displayZeroLine: O,
6243
6243
  displayCursorTooltip: B,
6244
6244
  tickSpacing: $,
6245
- dateBaseInterval: P
6245
+ dateBaseInterval: V
6246
6246
  } = i;
6247
- HC({ axis: e, timeIntervalInfo: o, dateBaseInterval: P }), Ji({
6247
+ HC({ axis: e, timeIntervalInfo: o, dateBaseInterval: V }), Ji({
6248
6248
  element: e.renderer.grid.template,
6249
6249
  lineSymbol: k,
6250
6250
  visible: v
@@ -6309,8 +6309,8 @@ function jC(t) {
6309
6309
  queryObject: p
6310
6310
  } = t;
6311
6311
  let { axisLabelsBehaviorChanged: b } = t;
6312
- const h = M(e.uid, "config"), S = h.axes, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: v } = h, x = W(h.series), F = je(h), T = M(e.uid, "fieldList")?.some((Le) => Le.name === h.series[0].x && Le.type === On.TimeOnly) ?? !1, I = yr({ chartConfig: h, queryObject: p, options: u }), R = Ha(h.series[0]) ? h.series[0].temporalBinning?.outTimeZone : void 0, D = a === !0 ? 1 : 0, O = a === !0 ? 0 : 1, B = S?.[D], $ = S?.[O];
6313
- let P = e.xAxes.getIndex(0);
6312
+ const h = M(e.uid, "config"), S = h.axes, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: v } = h, x = W(h.series), F = je(h), T = M(e.uid, "fieldList")?.some((Le) => Le.name === h.series[0].x && Le.type === On.TimeOnly) ?? !1, I = yr({ chartConfig: h, queryObject: p, options: u }), R = _a(h.series[0]) ? h.series[0].temporalBinning?.outTimeZone : void 0, D = a === !0 ? 1 : 0, O = a === !0 ? 0 : 1, B = S?.[D], $ = S?.[O];
6313
+ let V = e.xAxes.getIndex(0);
6314
6314
  of({
6315
6315
  chart: e,
6316
6316
  dualAxisChanged: o,
@@ -6323,8 +6323,8 @@ function jC(t) {
6323
6323
  isRotated: a,
6324
6324
  chartType: x,
6325
6325
  errorStrings: m
6326
- }), b = [!0, !0]), P = e.xAxes.getIndex(0);
6327
- const X = e.yAxes.getIndex(0), G = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1), Y = P?.start, U = P?.end, _ = X?.start, j = X?.end, z = G?.start, ie = G?.end, Ce = {
6326
+ }), b = [!0, !0]), V = e.xAxes.getIndex(0);
6327
+ const X = e.yAxes.getIndex(0), H = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1), Y = V?.start, U = V?.end, G = X?.start, j = X?.end, z = H?.start, ie = H?.end, Ce = {
6328
6328
  timeIntervalInfo: s,
6329
6329
  chartType: x,
6330
6330
  horizontalAxisLabelsBehavior: C,
@@ -6338,9 +6338,9 @@ function jC(t) {
6338
6338
  utilsStrings: f,
6339
6339
  errorStrings: m
6340
6340
  };
6341
- P !== void 0 && B !== void 0 && Yo({
6341
+ V !== void 0 && B !== void 0 && Yo({
6342
6342
  ...Ce,
6343
- axis: P,
6343
+ axis: V,
6344
6344
  axisConfig: B,
6345
6345
  axisConfigIndex: D,
6346
6346
  axisValueFormatter: D === 0 ? l : c,
@@ -6352,24 +6352,24 @@ function jC(t) {
6352
6352
  axisConfigIndex: O,
6353
6353
  axisValueFormatter: O === 1 ? c : l,
6354
6354
  isTimeOnlyField: T
6355
- }), G !== void 0 && S?.[2] !== void 0 && Yo({
6355
+ }), H !== void 0 && S?.[2] !== void 0 && Yo({
6356
6356
  ...Ce,
6357
- axis: G,
6357
+ axis: H,
6358
6358
  axisConfig: S[2],
6359
6359
  axisConfigIndex: 2,
6360
6360
  axisValueFormatter: d,
6361
6361
  isSecondaryYAxis: !0,
6362
6362
  isTimeOnlyField: T
6363
6363
  }), i === !0 && [
6364
- { axis: P, start: Y, end: U },
6365
- { axis: X, start: _, end: j },
6366
- { axis: G, start: z, end: ie }
6364
+ { axis: V, start: Y, end: U },
6365
+ { axis: X, start: G, end: j },
6366
+ { axis: H, start: z, end: ie }
6367
6367
  ].forEach((Le) => {
6368
6368
  const { axis: Xe, start: ii, end: Mi } = Le;
6369
6369
  Xe !== void 0 && Xe.events.once(N.Validated, () => {
6370
6370
  zs({ axis: Xe, start: ii, end: Mi });
6371
6371
  });
6372
- }), P !== void 0 && P.ghostLabel.setPropertyValue("disabled", !0), X !== void 0 && X.ghostLabel.setPropertyValue("disabled", !0), G !== void 0 && G.ghostLabel.setPropertyValue("disabled", !0);
6372
+ }), V !== void 0 && V.ghostLabel.setPropertyValue("disabled", !0), X !== void 0 && X.ghostLabel.setPropertyValue("disabled", !0), H !== void 0 && H.ghostLabel.setPropertyValue("disabled", !0);
6373
6373
  }
6374
6374
  function of(t) {
6375
6375
  const { chart: e, dualAxisChanged: i, rotationChanged: a, timeIntervalInfoWasReset: o, axisLabelsBehaviorChanged: n } = t, s = M(e.uid, "config"), { rotated: r, series: l } = s, c = s.axes, d = W(l), u = r === !0 ? 1 : 0, f = r === !0 ? 0 : 1, m = c?.[u]?.valueFormat, p = c?.[f]?.valueFormat, b = e.xAxes.getIndex(0), h = e.yAxes.getIndex(0), S = b === void 0 || a || m !== void 0 && $s({
@@ -6705,8 +6705,8 @@ function Gs(t, e) {
6705
6705
  const c = (s.bbox.width + 5) * s.scale, d = (r.bbox.height + 5) * r.scale, u = typeof i.renderer.labels.template.radius == "number" ? i.renderer.labels.template.radius : i.renderer.labels.template.radius.value, f = (c + u) * 2 + t.radarContainer.measuredWidth + Eo(t.paddingLeft) + Eo(t.paddingRight), m = 80, p = 170, b = t.htmlContainer?.clientHeight ?? 0, h = Math.max(
6706
6706
  0,
6707
6707
  Math.min(1, (b - m) / (p - m))
6708
- ), S = t.radarContainer.measuredHeight + (d + u * h) * 2 + Eo(t.paddingTop) + Eo(t.paddingBottom), C = t.measuredWidth, v = t.measuredHeight, x = C / f, F = v / S, k = (typeof t.radius == "number" ? t.radius : t.radius.value) * 100, T = Number((k * x).toFixed(2)), I = Number((k * F).toFixed(2)), R = T / k, D = I / k, O = t.radarContainer.measuredWidth * R, B = t.radarContainer.measuredWidth * D, [$, P] = O < B ? [T, R] : [I, D];
6709
- Number.isFinite($) && $ >= 10 && $ <= A.gauge.radius && (P < 0.98 || P > 1.02) && (t.radius = new Ko($));
6708
+ ), S = t.radarContainer.measuredHeight + (d + u * h) * 2 + Eo(t.paddingTop) + Eo(t.paddingBottom), C = t.measuredWidth, v = t.measuredHeight, x = C / f, F = v / S, k = (typeof t.radius == "number" ? t.radius : t.radius.value) * 100, T = Number((k * x).toFixed(2)), I = Number((k * F).toFixed(2)), R = T / k, D = I / k, O = t.radarContainer.measuredWidth * R, B = t.radarContainer.measuredWidth * D, [$, V] = O < B ? [T, R] : [I, D];
6709
+ Number.isFinite($) && $ >= 10 && $ <= A.gauge.radius && (V < 0.98 || V > 1.02) && (t.radius = new Ko($));
6710
6710
  }
6711
6711
  }
6712
6712
  }
@@ -6741,7 +6741,7 @@ function rx(t) {
6741
6741
  }
6742
6742
  }
6743
6743
  function lx(t) {
6744
- const e = ci(void 0, t.radarContainer);
6744
+ const e = di(void 0, t.radarContainer);
6745
6745
  e.isMeasured = !1, vi(e.uid, { isGaugeAxisInnerLabel: !0 }), ix(t, e);
6746
6746
  }
6747
6747
  function cx(t) {
@@ -6830,7 +6830,7 @@ function px(t) {
6830
6830
  const n = M(t.chart.uid, "config")?.axes?.[0], s = Pe(i.label.uid, "originalWidth"), r = _s(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
- ), i.id === Ia.gaugeLastLabelId && (o *= -1);
6833
+ ), i.id === wa.gaugeLastLabelId && (o *= -1);
6834
6834
  }
6835
6835
  return o;
6836
6836
  }), i.label.adapter.keys().includes("dy") || i.label.adapter.add("dy", (a) => {
@@ -6874,7 +6874,7 @@ function Sx(t) {
6874
6874
  if (s !== void 0)
6875
6875
  r = s(n);
6876
6876
  else {
6877
- const l = Si(e), c = li({
6877
+ const l = Si(e), c = ci({
6878
6878
  type: y.NumberAxisFormat,
6879
6879
  iLocale: i,
6880
6880
  formatLocale: a
@@ -6897,7 +6897,7 @@ function rf(t) {
6897
6897
  if (s !== void 0)
6898
6898
  r = s(n);
6899
6899
  else {
6900
- const l = Si(e), c = li({
6900
+ const l = Si(e), c = ci({
6901
6901
  type: y.NumberAxisFormat,
6902
6902
  iLocale: i,
6903
6903
  formatLocale: a
@@ -6988,7 +6988,7 @@ function Un(t, e) {
6988
6988
  t.background.fill = wt(e ?? A.backgroundColor);
6989
6989
  }
6990
6990
  function vx(t) {
6991
- const e = Eu(A.headerContainer, t), i = ci(A.title, e), a = ci(A.subtitle, e);
6991
+ const e = Eu(A.headerContainer, t), i = di(A.title, e), a = di(A.subtitle, e);
6992
6992
  return t instanceof sd && (sn(t, i), sn(t, a), mo({ chart: t, label: i, labelType: q.ChartTitle }), mo({ chart: t, label: a, labelType: q.ChartSubTitle })), Vy(e), { headerContainer: e, title: i, subtitle: a };
6993
6993
  }
6994
6994
  function jn(t, e) {
@@ -7004,7 +7004,7 @@ function jn(t, e) {
7004
7004
  });
7005
7005
  }
7006
7006
  function Lx(t) {
7007
- const e = Eu(A.footerContainer, t), i = ci(A.footer, e);
7007
+ const e = Eu(A.footerContainer, t), i = di(A.footer, e);
7008
7008
  return t instanceof sd && (sn(t, i), mo({ chart: t, label: i, labelType: q.ChartFooter })), { footerContainer: e, footer: i };
7009
7009
  }
7010
7010
  function qn(t, e) {
@@ -7184,7 +7184,7 @@ function Ox(t) {
7184
7184
  seriesSymbol: (v && x !== void 0 ? x : u) ?? b,
7185
7185
  element: h,
7186
7186
  rendererSymbol: C
7187
- }), Oa({ element: h, stylingInfo: m.stylingInfo }), v || (c.add(JSON.stringify(m.symbolWithColorInfo)), p = m);
7187
+ }), Ba({ element: h, stylingInfo: m.stylingInfo }), v || (c.add(JSON.stringify(m.symbolWithColorInfo)), p = m);
7188
7188
  }
7189
7189
  }), o > 1) {
7190
7190
  const h = p.symbolWithColorInfo ?? u ?? b;
@@ -7231,11 +7231,11 @@ function uf(t) {
7231
7231
  ce(i, e.visible);
7232
7232
  let b = u;
7233
7233
  const h = i.dataFields?.customValue ?? "";
7234
- (p === V.BarAndLineSplitBy || p === V.BarAndLineSplitByNoAggregation) && (b = vr({
7234
+ (p === P.BarAndLineSplitBy || p === P.BarAndLineSplitByNoAggregation) && (b = vr({
7235
7235
  queryObject: d,
7236
7236
  fieldName: Jt(h),
7237
7237
  fieldValue: b
7238
- }) ?? b), Ga(i, b), Gr({
7238
+ }) ?? b), Xa(i, b), Gr({
7239
7239
  series: i,
7240
7240
  seriesConfig: e,
7241
7241
  rotationChanged: o,
@@ -7273,7 +7273,7 @@ function $x(t) {
7273
7273
  f.id = c.id;
7274
7274
  let m, p;
7275
7275
  l !== !0 ? (m = o[0], p = u === !0 && o[2] ? o[2] : o[1]) : (m = u === !0 && o[2] ? o[2] : o[0], p = o[1]), m !== void 0 && (f.xAxis = m), p !== void 0 && (f.yAxis = p);
7276
- const b = e instanceof me ? Rt({ chart: e }) : !1, S = Z(i.series) !== V.BarAndLineSplitByNoAggregation ? d : `${d}_${Ai({ where: c.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`;
7276
+ const b = e instanceof me ? Rt({ chart: e }) : !1, S = Z(i.series) !== P.BarAndLineSplitByNoAggregation ? d : `${d}_${Ai({ where: c.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`;
7277
7277
  b ? f.dataFields.valueX = S : f.dataFields.valueY = S;
7278
7278
  const C = b ? o[1] : o[0];
7279
7279
  if (C !== void 0) {
@@ -7533,7 +7533,7 @@ function qx(t) {
7533
7533
  colorRampIndex: s,
7534
7534
  isChartFillSymbol: !0
7535
7535
  });
7536
- o !== void 0 && o.selectedElementsTheme === void 0 && Oa({
7536
+ o !== void 0 && o.selectedElementsTheme === void 0 && Ba({
7537
7537
  element: n,
7538
7538
  stylingInfo: c,
7539
7539
  stateKey: lt.Active
@@ -7554,7 +7554,7 @@ function Kx(t) {
7554
7554
  const { chart: e, seriesConfig: i, series: a, pieSlicesSymbols: o, options: n } = t, { tooltipFormatter: s, dataLabelFormatter: r } = n ?? {}, { x: l, y: c, id: d, innerRadius: u, startAngle: f, endAngle: m } = i;
7555
7555
  a.id = d;
7556
7556
  const p = Z([i]), b = A.pieChart;
7557
- a.dataFields.value = p !== V.PieFromFields ? c : va, a.dataFields.category = p !== V.PieFromFields ? l : ni;
7557
+ a.dataFields.value = p !== P.PieFromFields ? c : va, a.dataFields.category = p !== P.PieFromFields ? l : si;
7558
7558
  const h = e.radius instanceof Ko ? e.radius.value : e.radius;
7559
7559
  e.innerRadius = ot((u ?? b.innerRadius) * h), a.startAngle = f ?? b.min, a.endAngle = m ?? 360 + a.startAngle, zx({
7560
7560
  pieSeries: a,
@@ -7793,7 +7793,7 @@ function hf(t) {
7793
7793
  });
7794
7794
  }
7795
7795
  f >= 0 && (t.chartContainer.paddingRight = f), t.chartContainer.paddingTop = d ? s : r.paddingTop;
7796
- const m = Cr(l ?? []) && a?.legend?.visible !== !1 && a?.legend?.position === H.Right;
7796
+ const m = Cr(l ?? []) && a?.legend?.visible !== !1 && a?.legend?.position === _.Right;
7797
7797
  t.paddingRight = m ? o : n;
7798
7798
  };
7799
7799
  let i = 0;
@@ -7807,10 +7807,10 @@ function hf(t) {
7807
7807
  function iv(t, e) {
7808
7808
  t.adapter.add("criticalError", (i) => (i.message = e.errors.simpleError, i));
7809
7809
  }
7810
- ao.classNamePrefix = "arcgis-charts-";
7810
+ oo.classNamePrefix = "arcgis-charts-";
7811
7811
  function tl(t) {
7812
7812
  const { chart: e, localeInfo: i, chartLocale: a } = t;
7813
- ao.defaultLocale = a, e.language.locale = a, ne(e.uid, { formatLocale: i.formatLocale }), e.rtl = i.rtl;
7813
+ oo.defaultLocale = a, e.language.locale = a, ne(e.uid, { formatLocale: i.formatLocale }), e.rtl = i.rtl;
7814
7814
  }
7815
7815
  function Zn(t) {
7816
7816
  const { chart: e, actionMode: i, cursorRange: a } = t;
@@ -7828,7 +7828,7 @@ function Zn(t) {
7828
7828
  Cs(e);
7829
7829
  break;
7830
7830
  case J.None:
7831
- Ya({
7831
+ Ua({
7832
7832
  chart: e,
7833
7833
  selectionSource: pe.ClearSelection,
7834
7834
  clearOnlyVisibleSeries: !1,
@@ -7846,7 +7846,7 @@ function ov(t) {
7846
7846
  const { chart: e, axesConfig: i, chartType: a, isRotated: o, errorStrings: n, queryObject: s } = t;
7847
7847
  switch (Xi({ chartType: a, axesConfig: i, errorStrings: n }), a) {
7848
7848
  case y.GaugeSeries: {
7849
- ri(s), e instanceof It && i?.[0]?.valueFormat !== void 0 && yx({ chart: e, valueFormat: i[0].valueFormat, errorStrings: n });
7849
+ li(s), e instanceof It && i?.[0]?.valueFormat !== void 0 && yx({ chart: e, valueFormat: i[0].valueFormat, errorStrings: n });
7850
7850
  break;
7851
7851
  }
7852
7852
  case y.BarSeries:
@@ -7912,7 +7912,7 @@ function il(t) {
7912
7912
  break;
7913
7913
  }
7914
7914
  case y.GaugeSeries: {
7915
- e instanceof It && (ri(u), Cx({
7915
+ e instanceof It && (li(u), Cx({
7916
7916
  chart: e,
7917
7917
  chartConfig: i,
7918
7918
  data: d?.dataItems ?? [],
@@ -7957,7 +7957,7 @@ function pf(t) {
7957
7957
  break;
7958
7958
  }
7959
7959
  case y.LineSeries: {
7960
- ri(s), c = fS({
7960
+ li(s), c = fS({
7961
7961
  ...p,
7962
7962
  chart: e,
7963
7963
  chartConfig: i,
@@ -7998,11 +7998,11 @@ function al(t) {
7998
7998
  utilsStrings: v,
7999
7999
  errorStrings: x
8000
8000
  } = t, F = e.series.values, k = /* @__PURE__ */ new Map(), T = i.series.length, I = _i(i), R = je(i), D = W(i.series), O = Ft(f, m?.popupTemplateFieldInfosEnabled), B = nt(f), $ = xr(n, Ye(B) ? void 0 : B?.renderer);
8001
- e instanceof me && D === y.BoxPlotSeries && (r || p || b || l || C) && yS(e, u), a.forEach((P, X) => {
8002
- const G = W([P]), Y = F[X], U = {
8001
+ e instanceof me && D === y.BoxPlotSeries && (r || p || b || l || C) && yS(e, u), a.forEach((V, X) => {
8002
+ const H = W([V]), Y = F[X], U = {
8003
8003
  numberOfSeries: T,
8004
8004
  series: Y,
8005
- seriesConfig: P,
8005
+ seriesConfig: V,
8006
8006
  seriesIndex: X,
8007
8007
  colorMatch: I,
8008
8008
  queryObject: f,
@@ -8013,14 +8013,14 @@ function al(t) {
8013
8013
  fieldList: O,
8014
8014
  sortChanged: b,
8015
8015
  utilsStrings: v
8016
- }, _ = {
8016
+ }, G = {
8017
8017
  ...U,
8018
8018
  axes: o,
8019
8019
  seriesIndexMapper: s
8020
8020
  };
8021
8021
  let j = Y;
8022
8022
  if (e instanceof me && Wi(i))
8023
- j = F.find((z) => z.id === P.id), Y !== void 0 && (j instanceof ze || j instanceof ye) && MS({
8023
+ j = F.find((z) => z.id === V.id), Y !== void 0 && (j instanceof ze || j instanceof ye) && MS({
8024
8024
  ...U,
8025
8025
  chart: e,
8026
8026
  series: j,
@@ -8034,10 +8034,10 @@ function al(t) {
8034
8034
  options: m
8035
8035
  });
8036
8036
  else
8037
- switch (G) {
8037
+ switch (H) {
8038
8038
  case y.BarSeries:
8039
8039
  Px({
8040
- ..._,
8040
+ ...G,
8041
8041
  stackedType: R,
8042
8042
  seriesSymbolMapForEvent: k,
8043
8043
  rotationChanged: r
@@ -8045,7 +8045,7 @@ function al(t) {
8045
8045
  break;
8046
8046
  case y.LineSeries:
8047
8047
  bS({
8048
- ..._,
8048
+ ...G,
8049
8049
  stackedType: R,
8050
8050
  seriesSymbolMapForEvent: k,
8051
8051
  rotationChanged: r
@@ -8116,11 +8116,11 @@ function ol(t) {
8116
8116
  chartId: i.id,
8117
8117
  colorMatchApplied: n === !0
8118
8118
  });
8119
- const { title: $, subtitle: P, footer: X, series: G, background: Y } = e, U = vx(i);
8120
- jn(U, { title: $, subtitle: P });
8121
- const _ = Lx(i);
8122
- qn(_, X);
8123
- const j = uS(i, G);
8119
+ const { title: $, subtitle: V, footer: X, series: H, background: Y } = e, U = vx(i);
8120
+ jn(U, { title: $, subtitle: V });
8121
+ const G = Lx(i);
8122
+ qn(G, X);
8123
+ const j = uS(i, H);
8124
8124
  Wy(i);
8125
8125
  const z = Rt({ config: e });
8126
8126
  ne(i.uid, {
@@ -8165,7 +8165,7 @@ function ol(t) {
8165
8165
  errorStrings: c
8166
8166
  }), Zr({
8167
8167
  legendElements: j,
8168
- seriesConfig: G,
8168
+ seriesConfig: H,
8169
8169
  webChartLegend: e.legend,
8170
8170
  pieChartLegendValueLabelFormatter: p
8171
8171
  }), lf(i), xx(i), Un(i, Y), cf({
@@ -8174,7 +8174,7 @@ function ol(t) {
8174
8174
  scrollbarYConfig: e.axes?.[1]?.scrollbar
8175
8175
  }), pu(i), bu(i, e?.cursorCrosshair), Zn({ chart: i, actionMode: m, cursorRange: f });
8176
8176
  const ie = So(i.htmlContainer ?? document.documentElement);
8177
- return i.dateFormatter.intlLocales = ie, av(i, o?.enableResponsiveFeatures), hf(i), { headerElements: U, footerElements: _, legendElements: j };
8177
+ return i.dateFormatter.intlLocales = ie, av(i, o?.enableResponsiveFeatures), hf(i), { headerElements: U, footerElements: G, legendElements: j };
8178
8178
  }
8179
8179
  function bf(t) {
8180
8180
  t.series.each((e) => {
@@ -8186,7 +8186,7 @@ function bf(t) {
8186
8186
  function nv(t) {
8187
8187
  const { chartContainer: e, chartConfig: i, queryObject: a, colorMatchApplied: o, dataInfo: n, t9nStrings: s, options: r, globalOptions: l } = t, { errorStrings: c, utilsStrings: d, amChartsStrings: u } = s, f = ur(e, me);
8188
8188
  f.id = i?.id ?? f.uid, ne(f.uid, { queryObject: a });
8189
- const { t9nLocale: m } = Va(f.htmlContainer ?? document.documentElement), p = So(f.htmlContainer ?? document.documentElement), b = or(f.htmlContainer ?? document.documentElement) === "rtl";
8189
+ const { t9nLocale: m } = Wa(f.htmlContainer ?? document.documentElement), p = So(f.htmlContainer ?? document.documentElement), b = or(f.htmlContainer ?? document.documentElement) === "rtl";
8190
8190
  tl({ chart: f, localeInfo: { locale: m, formatLocale: p, rtl: b }, chartLocale: u }), f.events.on(N.Inited, () => f.zoomOutButton.deepInvalidate());
8191
8191
  const S = W(i?.series);
8192
8192
  f instanceof me && S !== y.BoxPlotSeries && (f.maskBullets = !1);
@@ -8290,7 +8290,7 @@ function lv(t) {
8290
8290
  oldConfig: c ? l : p,
8291
8291
  newConfig: e,
8292
8292
  dataWasUpdated: o
8293
- }), P = Wd({
8293
+ }), V = Wd({
8294
8294
  oldConfig: p,
8295
8295
  newConfig: e,
8296
8296
  rotationChanged: T
@@ -8299,9 +8299,9 @@ function lv(t) {
8299
8299
  dualAxisChanged: I,
8300
8300
  rotationChanged: T,
8301
8301
  timeIntervalInfoWasReset: k,
8302
- axisLabelsBehaviorChanged: P
8302
+ axisLabelsBehaviorChanged: V
8303
8303
  });
8304
- let G = !1;
8304
+ let H = !1;
8305
8305
  const Y = jt(s?.data), U = Z(h);
8306
8306
  if (ne(i.uid, { isNonAggregatedChart: !Rn(U) }), o) {
8307
8307
  const { count: Le, data: Xe, queryConfig: ii } = s ?? {};
@@ -8313,12 +8313,12 @@ function lv(t) {
8313
8313
  });
8314
8314
  } else if (S === y.BarSeries || S === y.LineSeries || S === y.RadarSeries || S === y.ComboLineAndBarSeries || S === y.BoxPlotSeries) {
8315
8315
  const Le = Ed(b, h);
8316
- if (Le.length > 0 && (jp(i.series, Le), i.feedLegend(), G = !0), Ha(h[0])) {
8316
+ if (Le.length > 0 && (jp(i.series, Le), i.feedLegend(), H = !0), _a(h[0])) {
8317
8317
  const { binTemporalData: Xe } = h[0], { unit: ii, size: Mi } = h[0].temporalBinning ?? {};
8318
8318
  Xe === !1 && ii !== void 0 && Mi !== void 0 && ne(i.uid, { timeIntervalInfo: { unit: ii, size: Mi } });
8319
8319
  }
8320
8320
  }
8321
- const _ = $ && !o, j = /* @__PURE__ */ new Map();
8321
+ const G = $ && !o, j = /* @__PURE__ */ new Map();
8322
8322
  (l ?? e).series.forEach((Le, Xe) => {
8323
8323
  j.set(Le.id, Xe);
8324
8324
  }), F = F || c, Y && (o || $) && (i.data = Y), e.axes !== void 0 && il({
@@ -8327,7 +8327,7 @@ function lv(t) {
8327
8327
  data: s?.data,
8328
8328
  rotationChanged: T,
8329
8329
  timeIntervalInfoWasReset: k,
8330
- axisLabelsBehaviorChanged: P,
8330
+ axisLabelsBehaviorChanged: V,
8331
8331
  chartType: S,
8332
8332
  isRotated: C,
8333
8333
  dualAxisChanged: I,
@@ -8356,7 +8356,7 @@ function lv(t) {
8356
8356
  chartConfig: e,
8357
8357
  seriesIndexMapper: j,
8358
8358
  rotationChanged: T,
8359
- seriesReordered: G,
8359
+ seriesReordered: H,
8360
8360
  outliersVisibilityChanged: O,
8361
8361
  standardizeValuesVisibilityChanged: B,
8362
8362
  queryObject: d,
@@ -8367,7 +8367,7 @@ function lv(t) {
8367
8367
  seriesWereReinitialized: ie,
8368
8368
  utilsStrings: u,
8369
8369
  errorStrings: f
8370
- }), _ && (i.validateData(), S === y.BoxPlotSeries && i.series.each((Le) => {
8370
+ }), G && (i.validateData(), S === y.BoxPlotSeries && i.series.each((Le) => {
8371
8371
  Le instanceof ye && !(Le instanceof At) && Le.id.includes(ge.Outliers) && Le.validateData();
8372
8372
  })), jn(a.headerElements, { title: e.title, subtitle: e.subtitle }), qn(a.footerElements, e.footer), Zr({
8373
8373
  legendElements: a.legendElements,
@@ -8477,11 +8477,11 @@ function uv(t) {
8477
8477
  options: l,
8478
8478
  globalOptions: c
8479
8479
  } = t;
8480
- ao.commercialLicense = !(c?.showLicenseWatermark ?? c?.hideLicenseWatermark === !1), ao.queue = c?.queueChartCreation !== !1, ao.autoDispose = c?.autoDisposeChart === !0, c?.animationsEnabled || c?.animationEnabled || c?.useAnimatedCharts ? Ig(Ml) : wg(Ml);
8480
+ oo.commercialLicense = !(c?.showLicenseWatermark ?? c?.hideLicenseWatermark === !1), oo.queue = c?.queueChartCreation !== !1, oo.autoDispose = c?.autoDisposeChart === !0, c?.animationsEnabled || c?.animationEnabled || c?.useAnimatedCharts ? Ig(Ml) : wg(Ml);
8481
8481
  let d;
8482
8482
  switch (W(i?.series)) {
8483
8483
  case y.PieSeries:
8484
- ri(n), d = sv({
8484
+ li(n), d = sv({
8485
8485
  chartContainer: e,
8486
8486
  chartConfig: i,
8487
8487
  queryObject: n,
@@ -8494,7 +8494,7 @@ function uv(t) {
8494
8494
  });
8495
8495
  break;
8496
8496
  case y.GaugeSeries:
8497
- ri(n), d = rv({
8497
+ li(n), d = rv({
8498
8498
  chartContainer: e,
8499
8499
  chartConfig: i,
8500
8500
  queryObject: n,
@@ -8562,13 +8562,13 @@ function fv(t) {
8562
8562
  queryObject: O,
8563
8563
  options: B,
8564
8564
  t9nStrings: { utilsStrings: $ },
8565
- configWithAllSeries: P,
8565
+ configWithAllSeries: V,
8566
8566
  hasSeriesFilteredOut: X,
8567
- pieSlicesSymbols: G,
8567
+ pieSlicesSymbols: H,
8568
8568
  dataInfo: Y
8569
- } = T, U = M(h.uid, "config"), _ = I?.series, j = _ !== void 0 ? W(_) : void 0;
8569
+ } = T, U = M(h.uid, "config"), G = I?.series, j = G !== void 0 ? W(G) : void 0;
8570
8570
  if (h.isDisposed() || S === void 0 || !$d(U, I))
8571
- throw new gi(oo.ChartDisposed);
8571
+ throw new ni(La.ChartDisposed);
8572
8572
  switch (j) {
8573
8573
  case y.BoxPlotSeries:
8574
8574
  case y.BarSeries:
@@ -8582,7 +8582,7 @@ function fv(t) {
8582
8582
  dataUpdateDetails: D,
8583
8583
  dataInfo: Y,
8584
8584
  newConfig: I,
8585
- configWithAllSeries: P,
8585
+ configWithAllSeries: V,
8586
8586
  hasSeriesFilteredOut: X,
8587
8587
  options: B,
8588
8588
  utilsStrings: $,
@@ -8590,21 +8590,21 @@ function fv(t) {
8590
8590
  });
8591
8591
  break;
8592
8592
  case y.PieSeries:
8593
- ri(O), cv({
8593
+ li(O), cv({
8594
8594
  chart: h,
8595
8595
  chartElements: S,
8596
8596
  queryObject: O,
8597
8597
  dataWasUpdated: R,
8598
8598
  dataInfo: Y,
8599
8599
  newConfig: I,
8600
- pieSlicesSymbols: G,
8600
+ pieSlicesSymbols: H,
8601
8601
  options: B,
8602
8602
  utilsStrings: $,
8603
8603
  errorStrings: f
8604
8604
  });
8605
8605
  break;
8606
8606
  case y.GaugeSeries:
8607
- ri(O), dv({
8607
+ li(O), dv({
8608
8608
  chart: h,
8609
8609
  chartElements: S,
8610
8610
  newConfig: I,
@@ -8626,33 +8626,33 @@ function fv(t) {
8626
8626
  dataUpdateDetails: O,
8627
8627
  configWithAllSeries: B,
8628
8628
  hasSeriesFilteredOut: $,
8629
- pieSlicesSymbols: P,
8629
+ pieSlicesSymbols: V,
8630
8630
  colorMatchApplied: X,
8631
- rendererFieldNames: G,
8631
+ rendererFieldNames: H,
8632
8632
  globalOptions: Y,
8633
8633
  t9nStrings: U,
8634
- queryObject: _,
8634
+ queryObject: G,
8635
8635
  dataInfo: j
8636
8636
  } = T;
8637
8637
  ne(h.uid, { renderingCompleteNotified: !1 });
8638
- const z = !Tc(e), ie = Ft(_, R?.popupTemplateFieldInfosEnabled);
8638
+ const z = !Tc(e), ie = Ft(G, R?.popupTemplateFieldInfosEnabled);
8639
8639
  ne(h.uid, {
8640
8640
  chartWasUpdatedWhileHidden: z,
8641
8641
  options: R,
8642
8642
  fieldList: ie,
8643
- queryObject: _,
8643
+ queryObject: G,
8644
8644
  colorMatchApplied: X,
8645
- rendererFieldNames: G
8645
+ rendererFieldNames: H
8646
8646
  }), v({
8647
8647
  chartConfig: I,
8648
8648
  options: R,
8649
8649
  dataWasUpdated: D,
8650
8650
  dataUpdateDetails: O,
8651
- pieSlicesSymbols: P,
8651
+ pieSlicesSymbols: V,
8652
8652
  t9nStrings: U,
8653
8653
  configWithAllSeries: B,
8654
8654
  hasSeriesFilteredOut: $,
8655
- queryObject: _,
8655
+ queryObject: G,
8656
8656
  dataInfo: j
8657
8657
  }), Lc(h);
8658
8658
  }
@@ -8669,7 +8669,7 @@ function fv(t) {
8669
8669
  update: x,
8670
8670
  dispose: C,
8671
8671
  resetZoom: k,
8672
- clearSelection: () => Ya({ chart: h }),
8672
+ clearSelection: () => Ua({ chart: h }),
8673
8673
  switchSelection: async () => await F(a.errorStrings),
8674
8674
  setActionMode: (T, I) => Zn({ chart: h, actionMode: T, cursorRange: I })
8675
8675
  };
@@ -8720,11 +8720,11 @@ function yv(t) {
8720
8720
  let e;
8721
8721
  if (t != null) {
8722
8722
  const i = t;
8723
- if (i instanceof Ra)
8723
+ if (i instanceof Ma)
8724
8724
  e = i.chart;
8725
8725
  else {
8726
8726
  const a = i.dataItem?.component;
8727
- a instanceof Ra && (e = a.chart);
8727
+ a instanceof Ma && (e = a.chart);
8728
8728
  }
8729
8729
  }
8730
8730
  return e;
@@ -8785,7 +8785,7 @@ function xv(t, e) {
8785
8785
  function Ne(t, e) {
8786
8786
  return ga(t, e);
8787
8787
  }
8788
- function Fa(t, e) {
8788
+ function Aa(t, e) {
8789
8789
  ma(t, e);
8790
8790
  }
8791
8791
  function vv(t, e) {
@@ -8835,7 +8835,7 @@ function fe(t) {
8835
8835
  function dt(t, e) {
8836
8836
  return `${t}${e}`;
8837
8837
  }
8838
- function fi(t, e = 100) {
8838
+ function mi(t, e = 100) {
8839
8839
  return setTimeout(() => t(), e);
8840
8840
  }
8841
8841
  function Cf(t, e) {
@@ -9292,7 +9292,7 @@ function wo(t) {
9292
9292
  }
9293
9293
  function wf(t) {
9294
9294
  let e = !1, i;
9295
- if (t.target.dataItem?.component instanceof Ra ? { chart: i } = t.target.dataItem.component : t.target.dataItem?.component instanceof Ee ? i = t.target.dataItem.component.chart : (t.target instanceof eu || t.target instanceof $r) && ({ chart: i } = t.target), i instanceof se || i instanceof Qt) {
9295
+ if (t.target.dataItem?.component instanceof Ma ? { chart: i } = t.target.dataItem.component : t.target.dataItem?.component instanceof Ee ? i = t.target.dataItem.component.chart : (t.target instanceof eu || t.target instanceof $r) && ({ chart: i } = t.target), i instanceof se || i instanceof Qt) {
9296
9296
  const a = w(i.uid, "actionMode");
9297
9297
  if (a !== void 0) {
9298
9298
  const { originalEvent: o } = t;
@@ -9308,7 +9308,7 @@ function De(t) {
9308
9308
  const r = Yt(e.uid, "selected") ?? !1;
9309
9309
  s = r, a !== !0 ? o === !0 ? s = r ? !1 : r !== i : s = i : s = r !== i;
9310
9310
  const l = n === !0 ? lt.Default : lt.CustomInactive;
9311
- if (e.states.apply(lt.Default), e.states.apply(s ? lt.CustomActive : l), s !== r && (xv(e.uid, { selected: s }), s && (e.toFront(), e.dataItem?.component instanceof Ra))) {
9311
+ if (e.states.apply(lt.Default), e.states.apply(s ? lt.CustomActive : l), s !== r && (xv(e.uid, { selected: s }), s && (e.toFront(), e.dataItem?.component instanceof Ma))) {
9312
9312
  const c = e.dataItem.component, d = c.chart;
9313
9313
  (d ? w(d.uid, "config") : void 0)?.series[0]?.type !== y.HistogramSeries && c.toFront(), c instanceof le && c.bulletsContainer.toFront();
9314
9314
  }
@@ -9338,7 +9338,7 @@ function _t(t) {
9338
9338
  }
9339
9339
  return n;
9340
9340
  }
9341
- function Na(t) {
9341
+ function $a(t) {
9342
9342
  const { value: e, valueFormat: i, formatLocale: a, root: o } = t;
9343
9343
  let n = e?.toString();
9344
9344
  const s = _t({
@@ -9457,8 +9457,8 @@ function _v(t) {
9457
9457
  scatterplotTooltipFormatter: o ?? zv(t)
9458
9458
  });
9459
9459
  }
9460
- function Ua(t, e) {
9461
- const { y: i, query: a } = e, n = Z(t.series) === V.BarAndLineSplitByNoAggregation ? `${i.toString()}_${Ai({ where: a?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [i].flat()[0], s = L.xAxisField, r = t.rotated === !0 ? "categoryYField" : "categoryXField", l = t.rotated === !0 ? "valueYField" : "valueXField", c = t.axes?.[0]?.valueFormat?.type === y.CategoryAxisFormat ? r : l, d = t.rotated === !0 ? "valueXField" : "valueYField";
9460
+ function ja(t, e) {
9461
+ const { y: i, query: a } = e, n = Z(t.series) === P.BarAndLineSplitByNoAggregation ? `${i.toString()}_${Ai({ where: a?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [i].flat()[0], s = L.xAxisField, r = t.rotated === !0 ? "categoryYField" : "categoryXField", l = t.rotated === !0 ? "valueYField" : "valueXField", c = t.axes?.[0]?.valueFormat?.type === y.CategoryAxisFormat ? r : l, d = t.rotated === !0 ? "valueXField" : "valueYField";
9462
9462
  return { xField: s, yField: n, xAxisField: c, yAxisField: d };
9463
9463
  }
9464
9464
  function Di(t) {
@@ -9534,7 +9534,7 @@ function ll(t) {
9534
9534
  }
9535
9535
  }
9536
9536
  }
9537
- function ja(t, e) {
9537
+ function qa(t, e) {
9538
9538
  t.set("name", e);
9539
9539
  }
9540
9540
  function Gv(t) {
@@ -9614,14 +9614,14 @@ function cl(t) {
9614
9614
  if (n) {
9615
9615
  const s = Z(e.series);
9616
9616
  let r = n.name;
9617
- if (s === V.BarAndLineSplitBy || s === V.BarAndLineSplitByNoAggregation) {
9617
+ if (s === P.BarAndLineSplitBy || s === P.BarAndLineSplitByNoAggregation) {
9618
9618
  const l = Jt(n.query?.where);
9619
9619
  r = vr({ queryObject: o, fieldName: l, fieldValue: r }) ?? r;
9620
9620
  }
9621
- ja(i, r);
9621
+ qa(i, r);
9622
9622
  }
9623
9623
  }
9624
- function qa(t, e) {
9624
+ function Za(t, e) {
9625
9625
  const i = W(e?.series);
9626
9626
  let a, o;
9627
9627
  return e?.series.forEach((n, s) => {
@@ -9710,13 +9710,13 @@ function Pf(t) {
9710
9710
  });
9711
9711
  }
9712
9712
  }
9713
- function Za(t, e) {
9713
+ function Ka(t, e) {
9714
9714
  let i = e;
9715
9715
  i === void 0 && (i = w(t.uid, "config"));
9716
9716
  const a = w(t.uid, "colorMatchApplied") ?? !1;
9717
9717
  return (i?.colorMatch ?? !1) && a;
9718
9718
  }
9719
- function $a(t, e) {
9719
+ function Pa(t, e) {
9720
9720
  t.set("turboMode", e === !0);
9721
9721
  }
9722
9722
  function Zv() {
@@ -9738,7 +9738,7 @@ function Kv(t) {
9738
9738
  let r;
9739
9739
  const l = w(a.chart?.uid ?? 0, "rtl") ?? !1, c = Bt(l);
9740
9740
  return s === !1 ? r = (d, u, f) => "" : r = (d, u, f) => {
9741
- const m = Be(o, i.x), p = Ba(m, e?.[0].title?.content?.text), b = Ba(n?.statistics.count ?? "", e?.[1]?.title?.content?.text ?? ""), h = re(
9741
+ const m = Be(o, i.x), p = Na(m, e?.[0].title?.content?.text), b = Na(n?.statistics.count ?? "", e?.[1]?.title?.content?.text ?? ""), h = re(
9742
9742
  a.uid,
9743
9743
  "tooltipValueXNumberFormatCallback"
9744
9744
  ), S = re(
@@ -10069,7 +10069,7 @@ function rL(t) {
10069
10069
  });
10070
10070
  }
10071
10071
  function Rc(t, e) {
10072
- const i = w(e.chart?.uid ?? Number.NaN, "config"), { seriesConfig: a } = i ? qa(e, i) : { seriesConfig: void 0 }, o = a?.dataTooltipFontSize ?? L.tooltipFontSize;
10072
+ const i = w(e.chart?.uid ?? Number.NaN, "config"), { seriesConfig: a } = i ? Za(e, i) : { seriesConfig: void 0 }, o = a?.dataTooltipFontSize ?? L.tooltipFontSize;
10073
10073
  t.label.get("fontSize") !== o && t.label.set("fontSize", o);
10074
10074
  }
10075
10075
  function Do(t) {
@@ -10106,7 +10106,7 @@ function dL(t, e) {
10106
10106
  if (i && t) {
10107
10107
  const a = w(i.uid, "config");
10108
10108
  if (a) {
10109
- const { seriesConfig: o } = qa(e, a);
10109
+ const { seriesConfig: o } = Za(e, a);
10110
10110
  if (o) {
10111
10111
  const { dataTooltipReverseColor: n } = o;
10112
10112
  _f(t, n);
@@ -10125,10 +10125,10 @@ function uL(t) {
10125
10125
  const r = s.get("valueX"), l = s.get("valueY"), c = s.get("valueXTotalPercent"), d = s.get("valueYTotalPercent"), u = o ? r : l;
10126
10126
  let f;
10127
10127
  o && typeof c == "number" ? f = c : !o && typeof d == "number" && (f = d), f && (f /= 100);
10128
- const m = s.dataContext ?? {}, p = w(i.chart?.uid ?? 0, "config"), b = w(i.chart?.uid ?? 0, "rendererFieldNames"), h = si({
10128
+ const m = s.dataContext ?? {}, p = w(i.chart?.uid ?? 0, "config"), b = w(i.chart?.uid ?? 0, "rendererFieldNames"), h = ri({
10129
10129
  value: An(Z([e]), e),
10130
10130
  dataContext: m,
10131
- useRendererLabel: ka(p, b),
10131
+ useRendererLabel: Ia(p, b),
10132
10132
  config: p
10133
10133
  });
10134
10134
  let S = Fi(m);
@@ -10159,7 +10159,7 @@ function Ro(t) {
10159
10159
  let o;
10160
10160
  const { chart: n } = i;
10161
10161
  if (n !== void 0) {
10162
- const r = w(n.uid, "config"), { seriesConfig: l } = qa(i, r), { dataTooltipVisible: c } = l ?? {};
10162
+ const r = w(n.uid, "config"), { seriesConfig: l } = Za(i, r), { dataTooltipVisible: c } = l ?? {};
10163
10163
  if (c === !1 || !l || !bv(i))
10164
10164
  o = "", Mc(e, !0);
10165
10165
  else
@@ -10257,12 +10257,12 @@ function mL(t) {
10257
10257
  dateRange: l,
10258
10258
  xAxisValueFormat: i,
10259
10259
  isTimeOnlyField: c
10260
- }) : bt(i) ? c && typeof r == "number" ? f = new Date(r).toLocaleTimeString(m) : (r instanceof Date || typeof r == "number" && Number.isFinite(r)) && (f = Na({
10260
+ }) : bt(i) ? c && typeof r == "number" ? f = new Date(r).toLocaleTimeString(m) : (r instanceof Date || typeof r == "number" && Number.isFinite(r)) && (f = $a({
10261
10261
  root: u,
10262
10262
  value: r,
10263
10263
  valueFormat: n ?? i,
10264
10264
  formatLocale: m
10265
- })) : typeof r == "number" && Me(i) ? f = Na({
10265
+ })) : typeof r == "number" && Me(i) ? f = $a({
10266
10266
  root: u,
10267
10267
  value: r,
10268
10268
  valueFormat: o ?? i,
@@ -10281,7 +10281,7 @@ function gL(t) {
10281
10281
  } = t, l = i.chart?.uid ?? 0, { root: c } = i;
10282
10282
  let d = s;
10283
10283
  d === void 0 && (Me(n) && n ? (d = n, e && (d.intlOptions.style = "decimal")) : d = Rr());
10284
- const u = w(l, "formatLocale"), f = a !== void 0 ? Na({
10284
+ const u = w(l, "formatLocale"), f = a !== void 0 ? $a({
10285
10285
  root: c,
10286
10286
  value: a,
10287
10287
  valueFormat: d,
@@ -10290,7 +10290,7 @@ function gL(t) {
10290
10290
  let m = "";
10291
10291
  if (e && o !== void 0 && c !== void 0) {
10292
10292
  let p = r;
10293
- p === void 0 && (p = Bn(), p.intlOptions.minimumFractionDigits = 2, p.intlOptions.maximumFractionDigits = 2), m = Na({
10293
+ p === void 0 && (p = Bn(), p.intlOptions.minimumFractionDigits = 2, p.intlOptions.maximumFractionDigits = 2), m = $a({
10294
10294
  root: c,
10295
10295
  value: o,
10296
10296
  valueFormat: p,
@@ -10307,7 +10307,7 @@ function hL(t) {
10307
10307
  if (m !== void 0) {
10308
10308
  const { dataTooltipVisible: p } = n, b = o instanceof le ? n.markerVisible : void 0;
10309
10309
  if (p !== !1 && b !== !1) {
10310
- const h = m.axes, S = h[0].valueFormat, C = h[1].valueFormat, v = i?.find(($) => $.name === n.x)?.type === On.TimeOnly, x = Z(m.series), F = je(m) === te.Stacked100, k = nt(a), T = na(k).idField, I = Be(i, n.x), R = Ba(I, h[0].title?.content.text), D = Ou({
10310
+ const h = m.axes, S = h[0].valueFormat, C = h[1].valueFormat, v = i?.find(($) => $.name === n.x)?.type === On.TimeOnly, x = Z(m.series), F = je(m) === te.Stacked100, k = nt(a), T = na(k).idField, I = Be(i, n.x), R = Na(I, h[0].title?.content.text), D = Ou({
10311
10311
  config: m,
10312
10312
  fieldList: i,
10313
10313
  objectIdField: T,
@@ -10316,7 +10316,7 @@ function hL(t) {
10316
10316
  isStacked100: F
10317
10317
  }), O = w(l.uid, "rtl"), B = Bt(O ?? !1);
10318
10318
  f = ($) => {
10319
- const { seriesName: P, statValue: X, percentValue: G, xValue: Y, dateBinningRange: U } = $, _ = mL({
10319
+ const { seriesName: V, statValue: X, percentValue: H, xValue: Y, dateBinningRange: U } = $, G = mL({
10320
10320
  seriesConfig: n,
10321
10321
  xAxisValueFormat: S,
10322
10322
  dataTooltipValueFormat: u,
@@ -10334,32 +10334,32 @@ function hL(t) {
10334
10334
  dataTooltipPercentFormat: d,
10335
10335
  series: o,
10336
10336
  statValue: X,
10337
- percentValue: G
10338
- }), ie = [`[bold]${R}${B} [/]${_}`];
10337
+ percentValue: H
10338
+ }), ie = [`[bold]${R}${B} [/]${G}`];
10339
10339
  switch (x) {
10340
- case V.BarAndLineFromFields: {
10340
+ case P.BarAndLineFromFields: {
10341
10341
  ie.pop();
10342
10342
  const Ce = Yr({
10343
10343
  config: m,
10344
- fieldName: Be(i, _ ?? ""),
10344
+ fieldName: Be(i, G ?? ""),
10345
10345
  utilsStrings: e
10346
10346
  });
10347
10347
  ie.push(`[bold]${Ce}${B} [/]${j}`);
10348
10348
  break;
10349
10349
  }
10350
- case V.BarAndLineMonoField:
10351
- case V.BarAndLineNoAggregation:
10352
- case V.BarAndLineMultiFields:
10350
+ case P.BarAndLineMonoField:
10351
+ case P.BarAndLineNoAggregation:
10352
+ case P.BarAndLineMultiFields:
10353
10353
  ie.push(`[bold]${D}${B} [/]${j}`);
10354
10354
  break;
10355
- case V.BarAndLineSplitByNoAggregation:
10356
- case V.BarAndLineSplitBy:
10355
+ case P.BarAndLineSplitByNoAggregation:
10356
+ case P.BarAndLineSplitBy:
10357
10357
  {
10358
10358
  const Ce = Jt(n.query?.where, !1), Le = Ld({
10359
10359
  value: Be(i, Ce),
10360
10360
  escape: !0
10361
10361
  });
10362
- ie.push(`[bold]${Le}${B} [/]${P}`), (x === V.BarAndLineSplitBy || "y" in m.series[0] && Ce !== m.series[0].y) && ie.push(`[bold]${D}${B} [/]${j}`);
10362
+ ie.push(`[bold]${Le}${B} [/]${V}`), (x === P.BarAndLineSplitBy || "y" in m.series[0] && Ce !== m.series[0].y) && ie.push(`[bold]${D}${B} [/]${j}`);
10363
10363
  }
10364
10364
  break;
10365
10365
  }
@@ -10545,7 +10545,7 @@ function vL(t) {
10545
10545
  valueXField: h,
10546
10546
  valueYField: S
10547
10547
  }), i.data.setAll(a.trendLinePoints ?? L.scatterplotSeries.trendLinePoints);
10548
- const C = Number.isFinite(a.r2) ? Na({
10548
+ const C = Number.isFinite(a.r2) ? $a({
10549
10549
  root: e,
10550
10550
  value: a.r2 ?? p.r2,
10551
10551
  valueFormat: s,
@@ -10571,7 +10571,7 @@ function LL(t) {
10571
10571
  const p = zt({
10572
10572
  dataItem: f?.dataContext,
10573
10573
  seriesConfig: n,
10574
- chartSubType: V.NonSpecific,
10574
+ chartSubType: P.NonSpecific,
10575
10575
  colorMatch: s
10576
10576
  }), b = vt({
10577
10577
  root: e,
@@ -10588,7 +10588,7 @@ function LL(t) {
10588
10588
  data: u,
10589
10589
  htmlContainer: e.dom,
10590
10590
  chartId: a.chart?.get("id"),
10591
- colorMatchApplied: Za(o)
10591
+ colorMatchApplied: Ka(o)
10592
10592
  });
10593
10593
  }
10594
10594
  }
@@ -10680,7 +10680,7 @@ function ji(t) {
10680
10680
  const { chart: e, selectionSource: i } = t;
10681
10681
  ct(e.uid, {
10682
10682
  pendingSelectionQueries: !1
10683
- }), nl(e) && TL(e), w(e.uid, "options")?.selectionData?.selectionItems?.[0] && _a({
10683
+ }), nl(e) && TL(e), w(e.uid, "options")?.selectionData?.selectionItems?.[0] && Ga({
10684
10684
  data: {
10685
10685
  selectionSource: i ?? pe.ClearSelection
10686
10686
  },
@@ -10707,7 +10707,7 @@ function ml(t) {
10707
10707
  if (a) {
10708
10708
  const o = W(a?.series);
10709
10709
  let n = [];
10710
- o === y.HistogramSeries ? n = [lo.Count] : o === y.HeatSeries ? n = [we.valueField] : n = ui(a?.series, [t.get("id") ?? ""]), e = t.columns.values.filter((s) => {
10710
+ o === y.HistogramSeries ? n = [lo.Count] : o === y.HeatSeries ? n = [we.valueField] : n = fi(a?.series, [t.get("id") ?? ""]), e = t.columns.values.filter((s) => {
10711
10711
  let r = !1;
10712
10712
  const l = s.dataItem?.dataContext;
10713
10713
  return l && (r = o === y.HeatSeries || n.some((c) => c in l && Number.isFinite(l[c]))), r;
@@ -10728,7 +10728,7 @@ function Xf(t, e) {
10728
10728
  });
10729
10729
  }
10730
10730
  function IL(t) {
10731
- const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = w(e.uid, "config"), r = Ti(s), l = ui(s?.series ?? []), c = Z(s?.series), d = W(s?.series);
10731
+ const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = w(e.uid, "config"), r = Ti(s), l = fi(s?.series ?? []), c = Z(s?.series), d = W(s?.series);
10732
10732
  return e.series.each((u, f) => {
10733
10733
  if (s && i && wo(u) && u.get("visible") === !0) {
10734
10734
  const m = s.series[0].x, p = pa(u), b = i.get(f);
@@ -10775,7 +10775,7 @@ function wL(t) {
10775
10775
  };
10776
10776
  e.series.each((d) => {
10777
10777
  if (wo(d)) {
10778
- const { seriesConfig: u } = qa(d, i);
10778
+ const { seriesConfig: u } = Za(d, i);
10779
10779
  if (u) {
10780
10780
  const f = u.query?.where ?? "", m = u.x, p = u.type === y.BoxPlotSeries || u.type === y.HeatSeries ? u.y.toString() : pa(d);
10781
10781
  ml(d).forEach((h) => {
@@ -10792,10 +10792,10 @@ function wL(t) {
10792
10792
  function DL(t) {
10793
10793
  const { chart: e, chartConfig: i, options: a, selectionItems: o, layerOidField: n, queryObject: s } = t, r = W(i.series), l = Z(i.series), c = Ti(i), d = In(i), u = [];
10794
10794
  let f = [];
10795
- const m = /* @__PURE__ */ new Map(), p = ui(i.series);
10795
+ const m = /* @__PURE__ */ new Map(), p = fi(i.series);
10796
10796
  return e.series.each((b, h) => {
10797
10797
  if (wo(b)) {
10798
- const { seriesConfig: S } = qa(b, i);
10798
+ const { seriesConfig: S } = Za(b, i);
10799
10799
  if (S) {
10800
10800
  const C = [], v = S.query?.where ?? "", x = S.x, F = S.type === y.BoxPlotSeries || S.type === y.HeatSeries ? S.y.toString() : pa(b), k = ml(b);
10801
10801
  k.forEach((I, R) => {
@@ -10825,23 +10825,23 @@ function DL(t) {
10825
10825
  showOutliers: c,
10826
10826
  timeAggregationType: d
10827
10827
  }))
10828
- if (u.push(I), C.push(R), r === y.BoxPlotSeries && I?.dataItem instanceof Wa)
10828
+ if (u.push(I), C.push(R), r === y.BoxPlotSeries && I?.dataItem instanceof Ea)
10829
10829
  f.push(D);
10830
10830
  else {
10831
10831
  const B = /* @__PURE__ */ new Set();
10832
10832
  r === y.PieSeries && wi(D) ? (Fo({
10833
10833
  groupOfSlicesDataContext: D
10834
- }) ?? []).forEach((P) => {
10834
+ }) ?? []).forEach((V) => {
10835
10835
  o.forEach((X) => {
10836
10836
  Hr({
10837
10837
  layerOidField: n,
10838
- sliceDataContext: P,
10838
+ sliceDataContext: V,
10839
10839
  selectionDataContext: X,
10840
10840
  xAxisField: x
10841
- }) && B.add(P);
10841
+ }) && B.add(V);
10842
10842
  });
10843
10843
  }) : B.add(D), Array.from(B)?.forEach(($) => {
10844
- const P = Li({
10844
+ const V = Li({
10845
10845
  dataContext: $,
10846
10846
  yAxisField: F,
10847
10847
  yList: p,
@@ -10852,7 +10852,7 @@ function DL(t) {
10852
10852
  showOutliers: c,
10853
10853
  isFeatureCollectionLayer: Ci(s)
10854
10854
  });
10855
- P !== void 0 && f.push(P);
10855
+ V !== void 0 && f.push(V);
10856
10856
  });
10857
10857
  }
10858
10858
  else
@@ -10863,7 +10863,7 @@ function DL(t) {
10863
10863
  T.length === k.length ? m.set(h, {}) : m.set(h, { indexesToSelect: T });
10864
10864
  }
10865
10865
  }
10866
- }), i.series.length > 1 && l !== V.BarAndLineNoAggregation && l !== V.BarAndLineSplitByNoAggregation && (f = kn({
10866
+ }), i.series.length > 1 && l !== P.BarAndLineNoAggregation && l !== P.BarAndLineSplitByNoAggregation && (f = kn({
10867
10867
  data: f,
10868
10868
  x: i.series[0].x,
10869
10869
  splitByField: Jt(i.series[0].query?.where)
@@ -10931,7 +10931,7 @@ function Jn(t) {
10931
10931
  selectionItems: k,
10932
10932
  selectionSource: pe.ProgrammaticSelection
10933
10933
  };
10934
- d === !0 && T && (D.selectionIndexes = T), u !== !1 && C && (D.selectionOIDs = C), v?.[0] && (D.selectionFilters = v), _a({
10934
+ d === !0 && T && (D.selectionIndexes = T), u !== !1 && C && (D.selectionOIDs = C), v?.[0] && (D.selectionFilters = v), Ga({
10935
10935
  data: D,
10936
10936
  htmlContainer: e.root.dom
10937
10937
  });
@@ -10942,9 +10942,9 @@ function Jn(t) {
10942
10942
  async function Mo(t) {
10943
10943
  const { chart: e, selectionSource: i, errorStrings: a } = t, o = w(e.uid, "config"), n = w(e.uid, "queryObject"), s = Ye(n);
10944
10944
  if (o && n) {
10945
- const r = w(e.uid, "options"), l = W(o.series), c = Z(o.series), d = Ti(o), u = ui(o.series), f = o.series[0].x, m = Ki(n), p = s ? void 0 : Mn(nt(n))?.dateFieldsTimeZone;
10945
+ const r = w(e.uid, "options"), l = W(o.series), c = Z(o.series), d = Ti(o), u = fi(o.series), f = o.series[0].x, m = Ki(n), p = s ? void 0 : Mn(nt(n))?.dateFieldsTimeZone;
10946
10946
  let b;
10947
- Dt(o) ? b = o.outTimeZone : Ha(o.series[0]) && (b = o.series[0].temporalBinning?.outTimeZone);
10947
+ Dt(o) ? b = o.outTimeZone : _a(o.series[0]) && (b = o.series[0].temporalBinning?.outTimeZone);
10948
10948
  const h = nt(n), S = "objectIdField" in h ? h.objectIdField : void 0, C = Ft(n), v = C.find((F) => F.name === f)?.type, x = C.find((F) => F.name === u[0])?.type;
10949
10949
  try {
10950
10950
  const F = /* @__PURE__ */ new Set();
@@ -10952,16 +10952,16 @@ async function Mo(t) {
10952
10952
  const T = /* @__PURE__ */ new Map(), I = [], R = [];
10953
10953
  let D = [], O = 0;
10954
10954
  if (e.series.each((B, $) => {
10955
- const { seriesConfig: P } = qa(B, o), X = P?.query?.where ?? "", G = P?.type === y.BoxPlotSeries ? P.y.toString() : pa(B);
10955
+ const { seriesConfig: V } = Za(B, o), X = V?.query?.where ?? "", H = V?.type === y.BoxPlotSeries ? V.y.toString() : pa(B);
10956
10956
  let Y;
10957
- B instanceof le ? Y = B.dataItems : B instanceof Se ? Y = B.columns.values : B instanceof qe && (Y = B.slices.values), Y?.forEach((U, _) => {
10957
+ B instanceof le ? Y = B.dataItems : B instanceof Se ? Y = B.columns.values : B instanceof qe && (Y = B.slices.values), Y?.forEach((U, G) => {
10958
10958
  const j = U instanceof Is || U instanceof Xl ? U : U.bullets?.[0]?.get("sprite");
10959
10959
  if (j !== void 0 && Yt(j.uid, "selected") === !0) {
10960
10960
  O += 1;
10961
10961
  let z = U instanceof Is || U instanceof Xl ? U.dataItem?.dataContext : U.dataContext;
10962
10962
  if (!s && z !== void 0 && (z = Li({
10963
10963
  dataContext: z,
10964
- yAxisField: G,
10964
+ yAxisField: H,
10965
10965
  yList: u,
10966
10966
  xAxisField: f,
10967
10967
  splitBy: X,
@@ -10969,9 +10969,9 @@ async function Mo(t) {
10969
10969
  chartSubType: c,
10970
10970
  showOutliers: d,
10971
10971
  isFeatureCollectionLayer: Ci(n)
10972
- })), F.has(JSON.stringify(z)) || (F.add(JSON.stringify(z)), k.push(z)), _ !== void 0) {
10972
+ })), F.has(JSON.stringify(z)) || (F.add(JSON.stringify(z)), k.push(z)), G !== void 0) {
10973
10973
  const ie = T.get($)?.indexesToSelect ?? [];
10974
- ie.push(_), T.set($, {
10974
+ ie.push(G), T.set($, {
10975
10975
  indexesToSelect: Array.from(new Set(ie))
10976
10976
  });
10977
10977
  }
@@ -10979,11 +10979,11 @@ async function Mo(t) {
10979
10979
  if (S && z[S] !== void 0 && (typeof z[S] == "number" || typeof z[S] == "string"))
10980
10980
  D.push(z[S]);
10981
10981
  else {
10982
- const ie = br(X) ? pi.uniqueIds : `${pi.uniqueIds}_${l === y.BoxPlotSeries ? Ai({ where: X }) : G}`, Ce = z[ie] ?? z[pi.uniqueIds] ?? [], Le = kd({
10982
+ const ie = br(X) ? pi.uniqueIds : `${pi.uniqueIds}_${l === y.BoxPlotSeries ? Ai({ where: X }) : H}`, Ce = z[ie] ?? z[pi.uniqueIds] ?? [], Le = kd({
10983
10983
  dataContext: z,
10984
10984
  options: r,
10985
10985
  xAxisField: f,
10986
- yAxisField: G ?? "",
10986
+ yAxisField: H ?? "",
10987
10987
  splitBy: X,
10988
10988
  xAxisFieldType: v,
10989
10989
  yAxisFieldType: x,
@@ -11004,21 +11004,21 @@ async function Mo(t) {
11004
11004
  ji({ chart: e, selectionSource: i });
11005
11005
  else {
11006
11006
  if (!s && r?.returnSelectionOIDs !== !1 && I.length > 0) {
11007
- const P = { ...w(e.uid, "queryConfig") };
11008
- delete P.groupByFieldsForStatistics, delete P.orderByFields, delete P.outStatistics;
11007
+ const V = { ...w(e.uid, "queryConfig") };
11008
+ delete V.groupByFieldsForStatistics, delete V.orderByFields, delete V.outStatistics;
11009
11009
  const X = await Id({
11010
11010
  whereList: I,
11011
11011
  queryObject: n,
11012
- queryConfig: P,
11012
+ queryConfig: V,
11013
11013
  errorStrings: a
11014
11014
  });
11015
11015
  if (I.length === O)
11016
11016
  D = X;
11017
11017
  else
11018
- for (let G = 0; G < X.length; G += 1)
11019
- D.push(X[G]);
11018
+ for (let H = 0; H < X.length; H += 1)
11019
+ D.push(X[H]);
11020
11020
  }
11021
- D = Array.from(new Set(D)), o.series.length > 1 && c !== V.BarAndLineNoAggregation && c !== V.BarAndLineSplitByNoAggregation && (k = kn({
11021
+ D = Array.from(new Set(D)), o.series.length > 1 && c !== P.BarAndLineNoAggregation && c !== P.BarAndLineSplitByNoAggregation && (k = kn({
11022
11022
  data: k,
11023
11023
  x: o.series[0].x,
11024
11024
  splitByField: Jt(o.series[0].query?.where)
@@ -11031,14 +11031,14 @@ async function Mo(t) {
11031
11031
  chartConfig: o,
11032
11032
  layer: n,
11033
11033
  selectionItems: k
11034
- })), _a({
11034
+ })), Ga({
11035
11035
  data: B,
11036
11036
  htmlContainer: e.root.dom
11037
11037
  });
11038
11038
  }
11039
11039
  } catch (F) {
11040
11040
  ct(e.uid, { pendingSelectionQueries: !1 });
11041
- const { httpStatus: k } = F instanceof gi ? F.details.details : F.details ?? {};
11041
+ const { httpStatus: k } = F instanceof ni ? F.details.details : F.details ?? {};
11042
11042
  if (k === 429)
11043
11043
  kL(e);
11044
11044
  else
@@ -11208,7 +11208,7 @@ function VL(t, e) {
11208
11208
  function qf(t, e) {
11209
11209
  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", Tf(e.verticalCenter)), e.horizontalCenter !== void 0 && t.set("x", Af(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));
11210
11210
  }
11211
- function Pa(t) {
11211
+ function Va(t) {
11212
11212
  const { root: e, parent: i, defaults: a, index: o, id: n } = t, s = rt.new(e, {
11213
11213
  text: "",
11214
11214
  textAlign: "center",
@@ -11625,7 +11625,7 @@ function bl(t, e) {
11625
11625
  }
11626
11626
  }
11627
11627
  function jL(t) {
11628
- t !== void 0 && fi(() => {
11628
+ t !== void 0 && mi(() => {
11629
11629
  bl(t);
11630
11630
  });
11631
11631
  }
@@ -11743,7 +11743,7 @@ function QL(t) {
11743
11743
  data: d,
11744
11744
  htmlContainer: n.dom,
11745
11745
  chartId: s.get("id"),
11746
- colorMatchApplied: Za(s)
11746
+ colorMatchApplied: Ka(s)
11747
11747
  });
11748
11748
  }
11749
11749
  }
@@ -11761,7 +11761,7 @@ function Ho(t) {
11761
11761
  yAxis: a,
11762
11762
  visible: !1
11763
11763
  });
11764
- return o === Ie.Normal && ja(s, n.overlays.normal), He(s.uid, { isOverlay: !0, type: o }), s.set("connect", !1), s;
11764
+ return o === Ie.Normal && qa(s, n.overlays.normal), He(s.uid, { isOverlay: !0, type: o }), s.set("connect", !1), s;
11765
11765
  }
11766
11766
  function e0(t) {
11767
11767
  const { root: e, seriesConfig: i, xAxis: a, yAxis: o, options: n, chartConfig: s, errorStrings: r } = t, { id: l, name: c } = i, d = Se.new(e, {
@@ -11883,13 +11883,13 @@ function i0(t) {
11883
11883
  f = o.overlays.stdDev;
11884
11884
  break;
11885
11885
  }
11886
- const m = w(e.chart?.uid ?? Number.NaN, "formatLocale"), p = Na({
11886
+ const m = w(e.chart?.uid ?? Number.NaN, "formatLocale"), p = $a({
11887
11887
  root: e.root,
11888
11888
  value: u,
11889
11889
  valueFormat: Kd(),
11890
11890
  formatLocale: m
11891
11891
  }), b = `${f}: ${p}`;
11892
- ja(e, b);
11892
+ qa(e, b);
11893
11893
  }
11894
11894
  }
11895
11895
  }
@@ -11928,7 +11928,7 @@ function a0(t) {
11928
11928
  }
11929
11929
  function o0(t) {
11930
11930
  const { series: e, seriesConfig: i, seriesWereReinitialized: a, dataWasUpdated: o, data: n, options: s } = t;
11931
- e.set("id", i.id), oe(e, i.visible), Ge(e.columns.template, s?.selectionTheme), ja(e, i.name);
11931
+ e.set("id", i.id), oe(e, i.visible), Ge(e.columns.template, s?.selectionTheme), qa(e, i.name);
11932
11932
  const r = n?.bins.find((l) => "symbol" in l)?.symbol;
11933
11933
  Di(t) && Ri({
11934
11934
  styleCallback: () => QL({ ...t, rendererSymbol: r }),
@@ -12120,7 +12120,7 @@ function p0(t) {
12120
12120
  function Pc(t) {
12121
12121
  return t === q.XAxisTitle || t === q.ChartTitle || t === q.ChartSubTitle || t === q.ChartFooter || t === q.YAxisTitle;
12122
12122
  }
12123
- function di(t) {
12123
+ function ui(t) {
12124
12124
  const { chart: e, label: i, labelType: a } = t, { legendTitle: o } = L.legendProperties, n = w(e.uid, "config");
12125
12125
  let s = o.maxWidth ?? Number.NaN;
12126
12126
  switch (a) {
@@ -12142,13 +12142,13 @@ function di(t) {
12142
12142
  s = e.chartContainer.width() - 20;
12143
12143
  break;
12144
12144
  case q.LegendTitle:
12145
- n?.legend?.position !== void 0 && (n?.legend?.position === H.Top || n?.legend?.position === H.Bottom) && (s = e.chartContainer.width() - 20);
12145
+ n?.legend?.position !== void 0 && (n?.legend?.position === _.Top || n?.legend?.position === _.Bottom) && (s = e.chartContainer.width() - 20);
12146
12146
  break;
12147
12147
  }
12148
12148
  if (s > 0)
12149
12149
  if (w(e.uid, "options")?.truncateLongTitles === !0 && Pc(a)) {
12150
12150
  const l = Number(i.get("fontSize")) || L.generalFontSize, c = l * 2.4, d = Math.max(1, Math.floor(s / Math.max(l * 0.5, 1)));
12151
- if (Fa(i.uid, { textTruncationCharsPerLine: d }), Ne(i.uid, "textTruncationAdapterDisposer") === void 0) {
12151
+ if (Aa(i.uid, { textTruncationCharsPerLine: d }), Ne(i.uid, "textTruncationAdapterDisposer") === void 0) {
12152
12152
  const u = i.adapters.add(
12153
12153
  "text",
12154
12154
  (f) => hd({
@@ -12156,7 +12156,7 @@ function di(t) {
12156
12156
  charsPerLine: Ne(i.uid, "textTruncationCharsPerLine") ?? d
12157
12157
  })
12158
12158
  );
12159
- Fa(i.uid, { textTruncationAdapterDisposer: u });
12159
+ Aa(i.uid, { textTruncationAdapterDisposer: u });
12160
12160
  }
12161
12161
  i.setAll({
12162
12162
  // Chart text uses a vertical cap independent of its horizontal width; the rotated y-axis title keeps its available-length cap.
@@ -12166,7 +12166,7 @@ function di(t) {
12166
12166
  oversizedBehavior: "none"
12167
12167
  });
12168
12168
  } else
12169
- Pc(a) && (Ne(i.uid, "textTruncationAdapterDisposer")?.dispose(), Fa(i.uid, {
12169
+ Pc(a) && (Ne(i.uid, "textTruncationAdapterDisposer")?.dispose(), Aa(i.uid, {
12170
12170
  textTruncationAdapterDisposer: void 0,
12171
12171
  textTruncationCharsPerLine: void 0
12172
12172
  }), i.setAll({
@@ -12179,9 +12179,9 @@ function di(t) {
12179
12179
  }
12180
12180
  function aa(t) {
12181
12181
  const { chart: e } = t;
12182
- di(t), e.events.onDebounced(
12182
+ ui(t), e.events.onDebounced(
12183
12183
  ee.BoundsChanged,
12184
- () => di(t),
12184
+ () => ui(t),
12185
12185
  L.debounceTime
12186
12186
  );
12187
12187
  }
@@ -12254,7 +12254,7 @@ function Ys(t) {
12254
12254
  const h = n > 0 && s > 0 && (e ? o > 0 : a > 0);
12255
12255
  return { location: u, centerX: f, centerY: m, dx: p, dy: b, offsetsReady: h };
12256
12256
  }
12257
- function Aa(t, e) {
12257
+ function Ta(t, e) {
12258
12258
  const i = e.get("axisFill"), a = e.get("label");
12259
12259
  if (i !== void 0 && a !== void 0) {
12260
12260
  const o = Ne(a.uid, "guideLabelConfig"), n = Ne(a.uid, "guideType"), s = t.get("renderer") instanceof mt, r = n === K.SFS, l = Math.round(i.width()), c = Math.round(i.height()), d = Math.round(a.height()), u = Math.round(a.width()), { horizontalAlignment: f, verticalAlignment: m, xoffset: p, yoffset: b } = o ?? {}, { location: h, centerX: S, centerY: C, dx: v, dy: x, offsetsReady: F } = Ys({
@@ -12320,24 +12320,24 @@ function y0(t) {
12320
12320
  const s = e.get("renderer") instanceof mt ? o.yAxes.getIndex(0) : o.xAxes.getIndex(0);
12321
12321
  s && (s.events.onDebounced(
12322
12322
  ee.BoundsChanged,
12323
- () => Aa(e, i),
12323
+ () => Ta(e, i),
12324
12324
  L.debounceTime
12325
12325
  ), e.events.onDebounced(
12326
12326
  ee.BoundsChanged,
12327
- () => Aa(e, i),
12327
+ () => Ta(e, i),
12328
12328
  L.debounceTime
12329
12329
  ));
12330
12330
  }
12331
12331
  i.get("axisFill")?.events.onDebounced(
12332
12332
  ee.BoundsChanged,
12333
- () => Aa(e, i),
12333
+ () => Ta(e, i),
12334
12334
  L.debounceTime
12335
12335
  ), a.setAll(L.guideLabelPadding);
12336
12336
  }
12337
12337
  function S0(t) {
12338
12338
  const { guide: e, axis: i, guideLabelConfig: a, guideType: o } = t, n = e.get("label");
12339
12339
  if (n !== void 0) {
12340
- qf(n), n.set("layer", L.zIndexes.defaultLayer30), Fa(n.uid, { isGuide: !0, guideLabelConfig: a, guideType: o });
12340
+ qf(n), n.set("layer", L.zIndexes.defaultLayer30), Aa(n.uid, { isGuide: !0, guideLabelConfig: a, guideType: o });
12341
12341
  const { chart: s } = i;
12342
12342
  s !== void 0 && aa({
12343
12343
  chart: s,
@@ -12352,7 +12352,7 @@ function C0(t) {
12352
12352
  if (a.label !== void 0) {
12353
12353
  const s = e.get("renderer") instanceof mt;
12354
12354
  let r;
12355
- e instanceof ei || (s ? o === K.SFS ? r = L.verticalSurfaceGuideLabels : r = L.verticalLineGuideLabels : o === K.SFS ? r = L.horizontalSurfaceGuideLabels : r = L.horizontalLineGuideLabels), Fa(n.uid, { guideLabelConfig: a.label, guideType: o });
12355
+ e instanceof ei || (s ? o === K.SFS ? r = L.verticalSurfaceGuideLabels : r = L.verticalLineGuideLabels : o === K.SFS ? r = L.horizontalSurfaceGuideLabels : r = L.horizontalLineGuideLabels), Aa(n.uid, { guideLabelConfig: a.label, guideType: o });
12356
12356
  const l = {
12357
12357
  type: y.Text,
12358
12358
  visible: a.visible,
@@ -12368,10 +12368,10 @@ function C0(t) {
12368
12368
  rightToLeft: n.get("direction") === "rtl"
12369
12369
  }
12370
12370
  };
12371
- Ot({ label: n, labelConfig: l, defaults: r, skipSettingAbsoluteXY: !0 }), Aa(e, i), n.events.once(ee.BoundsChanged, () => {
12372
- Aa(e, i);
12371
+ Ot({ label: n, labelConfig: l, defaults: r, skipSettingAbsoluteXY: !0 }), Ta(e, i), n.events.once(ee.BoundsChanged, () => {
12372
+ Ta(e, i);
12373
12373
  }), e.root.events.once(ee.FrameEnded, () => {
12374
- Aa(e, i);
12374
+ Ta(e, i);
12375
12375
  });
12376
12376
  } else
12377
12377
  oe(n, !1);
@@ -12450,11 +12450,11 @@ function L0(t) {
12450
12450
  else if (i.type === y.CategoryAxisFormat) {
12451
12451
  const d = Z(c?.series);
12452
12452
  if ([
12453
- V.BoxPlotC1MonoField,
12454
- V.BoxPlotC2MultiFields,
12455
- V.BoxPlotC5MonoFieldAndSplitBy,
12456
- V.BoxPlotC6MultiFieldsAndSplitBy,
12457
- V.BarAndLineFromFields
12453
+ P.BoxPlotC1MonoField,
12454
+ P.BoxPlotC2MultiFields,
12455
+ P.BoxPlotC5MonoFieldAndSplitBy,
12456
+ P.BoxPlotC6MultiFieldsAndSplitBy,
12457
+ P.BarAndLineFromFields
12458
12458
  ].includes(d) && typeof s == "string") {
12459
12459
  const m = w(e.uid, "fieldList");
12460
12460
  s = Be(m, s);
@@ -12544,7 +12544,7 @@ function A0(t) {
12544
12544
  }
12545
12545
  }
12546
12546
  function Vc(t) {
12547
- const { axis: e, valueFormat: i, chartType: a } = t, o = za({
12547
+ const { axis: e, valueFormat: i, chartType: a } = t, o = Ha({
12548
12548
  isXAxis: !0,
12549
12549
  chartType: a,
12550
12550
  valueFormat: i
@@ -12554,20 +12554,20 @@ function Vc(t) {
12554
12554
  function dm(t) {
12555
12555
  const { dataContext: e, defaultValue: i, chartUID: a } = t;
12556
12556
  let o = Fi(e);
12557
- const n = o, s = w(a, "config"), r = w(a, "rendererFieldNames"), l = W(s?.series), c = Z(s?.series), d = (u) => si({
12557
+ const n = o, s = w(a, "config"), r = w(a, "rendererFieldNames"), l = W(s?.series), c = Z(s?.series), d = (u) => ri({
12558
12558
  value: u,
12559
12559
  dataContext: e,
12560
- useRendererLabel: ka(s, r),
12560
+ useRendererLabel: Ia(s, r),
12561
12561
  config: s
12562
12562
  });
12563
- if (c === V.BarAndLineFromFields && typeof o == "string") {
12563
+ if (c === P.BarAndLineFromFields && typeof o == "string") {
12564
12564
  o = d(o);
12565
12565
  const u = w(a, "fieldList");
12566
12566
  typeof o == "string" && (o = Be(u, o));
12567
- } else l === y.BoxPlotSeries && (c === V.BoxPlotC1MonoField || c === V.BoxPlotC2MultiFields || c === V.BoxPlotC5MonoFieldAndSplitBy || c === V.BoxPlotC6MultiFieldsAndSplitBy) ? o = e?.[Mr] : l === y.HistogramSeries ? o = e?.[lo.Start] : (l === y.BarSeries || l === y.LineSeries || l === y.RadarSeries || l === y.ComboLineAndBarSeries) && s !== void 0 ? o = d(An(c, s.series?.[0])) : o = si({
12567
+ } else l === y.BoxPlotSeries && (c === P.BoxPlotC1MonoField || c === P.BoxPlotC2MultiFields || c === P.BoxPlotC5MonoFieldAndSplitBy || c === P.BoxPlotC6MultiFieldsAndSplitBy) ? o = e?.[Mr] : l === y.HistogramSeries ? o = e?.[lo.Start] : (l === y.BarSeries || l === y.LineSeries || l === y.RadarSeries || l === y.ComboLineAndBarSeries) && s !== void 0 ? o = d(An(c, s.series?.[0])) : o = ri({
12568
12568
  value: i ?? "",
12569
12569
  dataContext: e,
12570
- useRendererLabel: ka(s, r),
12570
+ useRendererLabel: Ia(s, r),
12571
12571
  specificField: E.xAxisField
12572
12572
  });
12573
12573
  return {
@@ -12660,7 +12660,7 @@ function w0(t) {
12660
12660
  errorStrings: u
12661
12661
  } = t, { chart: f } = e;
12662
12662
  if (f !== void 0) {
12663
- const m = za({
12663
+ const m = Ha({
12664
12664
  isXAxis: i,
12665
12665
  chartType: a,
12666
12666
  valueFormat: o
@@ -12823,7 +12823,7 @@ function Wc(t) {
12823
12823
  function V0(t) {
12824
12824
  const { dataItems: e, seriesConfig: i, filteredSeriesIds: a, isXAxis: o } = t;
12825
12825
  let n = [];
12826
- return o && i[0] !== void 0 ? n = [i[0].x] : o || (n = ui(i, a)), qg(e, n);
12826
+ return o && i[0] !== void 0 ? n = [i[0].x] : o || (n = fi(i, a)), qg(e, n);
12827
12827
  }
12828
12828
  function W0(t) {
12829
12829
  const { rawDataMin: e, dataItems: i, seriesConfig: a, filteredSeriesIds: o, isXAxis: n, stackedType: s } = t;
@@ -13593,14 +13593,14 @@ function pF(t) {
13593
13593
  const { axis: e, isHorizontalAxis: i, label: a } = t, { chart: o } = e;
13594
13594
  if (o) {
13595
13595
  const n = i ? "width" : "height", s = i ? q.XAxisTitle : q.YAxisTitle;
13596
- di({ chart: o, label: a, labelType: s }), e.onPrivateDebounced(
13596
+ ui({ chart: o, label: a, labelType: s }), e.onPrivateDebounced(
13597
13597
  n,
13598
- () => di({ chart: o, label: a, labelType: s }),
13598
+ () => ui({ chart: o, label: a, labelType: s }),
13599
13599
  L.debounceTime
13600
13600
  );
13601
13601
  }
13602
13602
  }
13603
- const is = "arcgis_charts_title_container", Cl = "arcgis_charts_subtitle_container", as = "arcgis_charts_footer_container", pm = "arcgis_charts_title", bm = "arcgis_charts_subtitle", ym = "arcgis_charts_footer", Ct = "arcgis_charts_legend_container", mi = "arcgis_charts_legend_title", js = "arcgis_charts_axis_title_id";
13603
+ const is = "arcgis_charts_title_container", Cl = "arcgis_charts_subtitle_container", as = "arcgis_charts_footer_container", pm = "arcgis_charts_title", bm = "arcgis_charts_subtitle", ym = "arcgis_charts_footer", Ct = "arcgis_charts_legend_container", gi = "arcgis_charts_legend_title", js = "arcgis_charts_axis_title_id";
13604
13604
  function bF(t, e) {
13605
13605
  let i = e ?? null;
13606
13606
  if (e != null) {
@@ -13777,7 +13777,7 @@ function TF(t) {
13777
13777
  t instanceof he && (t.onPrivate("min", Ec), t.onPrivate("max", Ec));
13778
13778
  }
13779
13779
  function kF(t) {
13780
- const { axis: e, isHorizontalAxis: i, isSecondaryYAxis: a } = t, { root: o } = e, n = i ? { ...L.xAxisTitleLabel, verticalCenter: "top" } : L.yAxisTitleLabel, s = Pa({ root: o, id: Sm(e, i), defaults: n });
13780
+ const { axis: e, isHorizontalAxis: i, isSecondaryYAxis: a } = t, { root: o } = e, n = i ? { ...L.xAxisTitleLabel, verticalCenter: "top" } : L.yAxisTitleLabel, s = Va({ root: o, id: Sm(e, i), defaults: n });
13781
13781
  return e.get("renderer") instanceof xi && a !== !0 || e.get("renderer") instanceof mt && a === !0 ? e.children.unshift(s) : e.children.push(s), i && a !== !0 && (e.events.onDebounced(
13782
13782
  ee.BoundsChanged,
13783
13783
  () => qs(e, s),
@@ -13806,7 +13806,7 @@ function Pi(t) {
13806
13806
  errorStrings: d
13807
13807
  } = t;
13808
13808
  let u;
13809
- if (za({ isXAxis: a, chartType: r, valueFormat: o, isAxisForHistogramOverlaySeries: c }) && !s) {
13809
+ if (Ha({ isXAxis: a, chartType: r, valueFormat: o, isAxisForHistogramOverlaySeries: c }) && !s) {
13810
13810
  let f;
13811
13811
  switch (r) {
13812
13812
  case y.HeatSeries:
@@ -13896,7 +13896,7 @@ function wF(t) {
13896
13896
  label: r,
13897
13897
  labelType: s ? q.XAxisTitle : q.YAxisTitle
13898
13898
  };
13899
- di(c);
13899
+ ui(c);
13900
13900
  }
13901
13901
  }
13902
13902
  }
@@ -13932,43 +13932,43 @@ function xl(t) {
13932
13932
  grid: O,
13933
13933
  displayCursorTooltip: B,
13934
13934
  displayZeroLine: $,
13935
- valueFormat: P,
13935
+ valueFormat: V,
13936
13936
  guides: X,
13937
- tickSpacing: G,
13937
+ tickSpacing: H,
13938
13938
  dateBaseInterval: Y
13939
- } = r, { root: U } = e, _ = W(h.series), j = je(h), z = it(h), { chart: ie } = e, Ce = ie ? w(ie.uid, "config") : void 0, Le = ie ? w(ie.uid, "options") : void 0, Xe = nt(F), Mi = Ft(Xe).find((Bo) => Bo.name === Ce?.series?.[0]?.x), Ka = Zg(Mi), Oo = yr({ chartConfig: h, queryObject: F, options: Le }), ls = Ha(h.series[0]) ? h.series[0].temporalBinning?.outTimeZone : void 0, Qa = e.get("renderer");
13939
+ } = r, { root: U } = e, G = W(h.series), j = je(h), z = it(h), { chart: ie } = e, Ce = ie ? w(ie.uid, "config") : void 0, Le = ie ? w(ie.uid, "options") : void 0, Xe = nt(F), Mi = Ft(Xe).find((Bo) => Bo.name === Ce?.series?.[0]?.x), Qa = Zg(Mi), Oo = yr({ chartConfig: h, queryObject: F, options: Le }), ls = _a(h.series[0]) ? h.series[0].temporalBinning?.outTimeZone : void 0, Ja = e.get("renderer");
13940
13940
  ha(e.uid, {
13941
13941
  zeroGridLine: { displayZeroLine: $, strokeWidth: O?.width ?? L.lineWidth, visible: O !== void 0 }
13942
13942
  }), M0({ axis: e, isLogarithmic: D, axisConfigIndex: l }), w0({
13943
13943
  axis: e,
13944
13944
  isXAxis: qi(e.get("renderer"), z),
13945
- chartType: _,
13946
- formatOptions: P,
13945
+ chartType: G,
13946
+ formatOptions: V,
13947
13947
  isNonAggregatedChart: p,
13948
13948
  overridePercentMultiplication: j === te.Stacked100,
13949
13949
  externalAxisLabelFormatter: S,
13950
- isTimeOnlyField: Ka,
13950
+ isTimeOnlyField: Qa,
13951
13951
  setTimeZone: Oo,
13952
13952
  outTimeZone: ls,
13953
13953
  errorStrings: x
13954
- }), I0({ axis: e, isRotated: z, chartConfig: h }), N0({ axis: e, timeIntervalInfo: c, dateBaseInterval: Y, xFieldIsTimeOnly: Ka }), Kt({
13955
- element: Qa,
13954
+ }), I0({ axis: e, isRotated: z, chartConfig: h }), N0({ axis: e, timeIntervalInfo: c, dateBaseInterval: Y, xFieldIsTimeOnly: Qa }), Kt({
13955
+ element: Ja,
13956
13956
  lineSymbol: { color: [...L.color], ...T ?? Nn() },
13957
13957
  visible: k
13958
- }), Kt({ element: Qa.ticks.template, lineSymbol: T, visible: k }), Kt({ element: Qa.grid.template, lineSymbol: O, visible: k }), O === void 0 && (e.get("renderer").grid.template.set("strokeWidth", L.lineWidth), e.markDirtyValues()), hF({
13958
+ }), Kt({ element: Ja.ticks.template, lineSymbol: T, visible: k }), Kt({ element: Ja.grid.template, lineSymbol: O, visible: k }), O === void 0 && (e.get("renderer").grid.template.set("strokeWidth", L.lineWidth), e.markDirtyValues()), hF({
13959
13959
  axis: e,
13960
13960
  axisConfig: r,
13961
- chartType: _,
13961
+ chartType: G,
13962
13962
  horizontalAxisLabelsBehavior: d,
13963
13963
  verticalAxisLabelsBehavior: u,
13964
13964
  axisLabelsBehaviorChanged: f
13965
13965
  }), wF({ axis: e, axisTitleConfig: I, isSecondaryYAxis: b }), O0(e, r), cF({
13966
13966
  axis: e,
13967
- chartType: _,
13967
+ chartType: G,
13968
13968
  labelConfig: R,
13969
13969
  horizontalAxisLabelsBehavior: d,
13970
13970
  isSecondaryYAxis: b,
13971
- tickSpacing: G
13971
+ tickSpacing: H
13972
13972
  }), B0({ root: U, axis: e, displayCursorTooltip: B }), rF({ axis: e, guideConfigs: X, guideTooltipFormatter: C, anyGuideAboveChanged: m, utilsStrings: v }), IF({
13973
13973
  axis: e,
13974
13974
  data: i,
@@ -14077,7 +14077,7 @@ function MF(t) {
14077
14077
  queryObject: S
14078
14078
  } = t, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: v, axes: x } = i, F = it(i), k = W(i.series), T = w(e.uid, "isNonAggregatedChart"), I = e.xAxes.getIndex(0), R = e.yAxes.getIndex(0), D = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1);
14079
14079
  Xi({ chartType: k, axesConfig: x, errorStrings: h });
14080
- const O = F ? 1 : 0, B = F ? 0 : 1, $ = x?.[O], P = x?.[B];
14080
+ const O = F ? 1 : 0, B = F ? 0 : 1, $ = x?.[O], V = x?.[B];
14081
14081
  [
14082
14082
  {
14083
14083
  axis: I,
@@ -14087,7 +14087,7 @@ function MF(t) {
14087
14087
  },
14088
14088
  {
14089
14089
  axis: R,
14090
- axisConfig: P,
14090
+ axisConfig: V,
14091
14091
  externalAxisLabelFormatter: F ? u : f,
14092
14092
  axisConfigIndex: B
14093
14093
  },
@@ -14099,9 +14099,9 @@ function MF(t) {
14099
14099
  axisConfigIndex: 2
14100
14100
  }
14101
14101
  ].forEach((X) => {
14102
- const { axis: G, axisConfig: Y, axisConfigIndex: U, externalAxisLabelFormatter: _, isSecondaryYAxis: j } = X;
14103
- G !== void 0 && !G.isDisposed() && Y !== void 0 && xl({
14104
- axis: G,
14102
+ const { axis: H, axisConfig: Y, axisConfigIndex: U, externalAxisLabelFormatter: G, isSecondaryYAxis: j } = X;
14103
+ H !== void 0 && !H.isDisposed() && Y !== void 0 && xl({
14104
+ axis: H,
14105
14105
  data: s,
14106
14106
  dataWasUpdated: r,
14107
14107
  axesInitializationNeeded: l,
@@ -14118,7 +14118,7 @@ function MF(t) {
14118
14118
  isSecondaryYAxis: j,
14119
14119
  utilsStrings: b,
14120
14120
  chartConfig: i,
14121
- externalAxisLabelFormatter: _,
14121
+ externalAxisLabelFormatter: G,
14122
14122
  guideTooltipFormatter: p,
14123
14123
  errorStrings: h,
14124
14124
  queryObject: S
@@ -14240,12 +14240,12 @@ function VF(t, e) {
14240
14240
  parent: e,
14241
14241
  id: dt(Cl, e.uid),
14242
14242
  index: 1
14243
- }), o = Pa({
14243
+ }), o = Va({
14244
14244
  root: t,
14245
14245
  parent: i,
14246
14246
  defaults: L.titleLabel,
14247
14247
  id: dt(pm, i.uid)
14248
- }), n = Pa({
14248
+ }), n = Va({
14249
14249
  root: t,
14250
14250
  parent: a,
14251
14251
  defaults: L.subtitleLabel,
@@ -14262,7 +14262,7 @@ function VF(t, e) {
14262
14262
  });
14263
14263
  }
14264
14264
  function Tm(t, e) {
14265
- const { title: i, subtitle: a } = e ?? {}, o = w(t.uid, "config"), s = o?.legend?.visible !== !1 && o?.legend?.position === H.Top ? 0 : L.headerContainer.paddingBottom ?? 0, r = fe({ childId: is, parent: t });
14265
+ const { title: i, subtitle: a } = e ?? {}, o = w(t.uid, "config"), s = o?.legend?.visible !== !1 && o?.legend?.position === _.Top ? 0 : L.headerContainer.paddingBottom ?? 0, r = fe({ childId: is, parent: t });
14266
14266
  if (r !== void 0) {
14267
14267
  r.set("paddingBottom", s);
14268
14268
  const c = fe({ childId: pm, parent: r });
@@ -14270,7 +14270,7 @@ function Tm(t, e) {
14270
14270
  label: c,
14271
14271
  labelConfig: i,
14272
14272
  defaults: L.titleLabel
14273
- }), di({
14273
+ }), ui({
14274
14274
  chart: t,
14275
14275
  label: c,
14276
14276
  labelType: q.ChartTitle
@@ -14284,7 +14284,7 @@ function Tm(t, e) {
14284
14284
  label: c,
14285
14285
  labelConfig: a,
14286
14286
  defaults: L.subtitleLabel
14287
- }), di({
14287
+ }), ui({
14288
14288
  chart: t,
14289
14289
  label: c,
14290
14290
  labelType: q.ChartSubTitle
@@ -14300,7 +14300,7 @@ function WF(t) {
14300
14300
  defaults: L.footerContainer,
14301
14301
  parent: t,
14302
14302
  id: dt(as, t.uid)
14303
- }), a = Pa({
14303
+ }), a = Va({
14304
14304
  root: e,
14305
14305
  parent: i,
14306
14306
  id: dt(ym, i.uid)
@@ -14319,7 +14319,7 @@ function km(t, e) {
14319
14319
  label: a,
14320
14320
  labelConfig: e,
14321
14321
  defaults: L.footer
14322
- }), di({
14322
+ }), ui({
14323
14323
  chart: t,
14324
14324
  label: a,
14325
14325
  labelType: q.ChartFooter
@@ -14440,8 +14440,8 @@ function XF(t) {
14440
14440
  const $ = I?.[E.rendererSymbolField];
14441
14441
  if (so($)) {
14442
14442
  O = Te($);
14443
- const { outlineSymbol: P } = yn(s);
14444
- O.outline = P;
14443
+ const { outlineSymbol: V } = yn(s);
14444
+ O.outline = V;
14445
14445
  } else
14446
14446
  B = !0;
14447
14447
  }
@@ -14484,7 +14484,7 @@ function UF(t) {
14484
14484
  queryObject: d,
14485
14485
  chartConfig: u
14486
14486
  } = t, f = a === !0 || o === !0 || n || s === !0;
14487
- e.set("id", r.id), oe(e, r.visible), $a(e, !1), Ge(e.columns.template, c?.selectionTheme), sL(t), YF(e, r.gridLine), XF({
14487
+ e.set("id", r.id), oe(e, r.visible), Pa(e, !1), Ge(e.columns.template, c?.selectionTheme), sL(t), YF(e, r.gridLine), XF({
14488
14488
  columnSeries: e,
14489
14489
  seriesConfig: r
14490
14490
  }), f && GF(e, i), HF({
@@ -14496,7 +14496,7 @@ function UF(t) {
14496
14496
  externalDataLabelFormatter: c?.dataLabelFormatter
14497
14497
  });
14498
14498
  const { chart: m } = e;
14499
- m && jF({ seriesConfig: r, queryObject: d, chartConfig: u, chart: m }), c?.interactionsDisabled && $a(e, !0);
14499
+ m && jF({ seriesConfig: r, queryObject: d, chartConfig: u, chart: m }), c?.interactionsDisabled && Pa(e, !0);
14500
14500
  }
14501
14501
  function jF(t) {
14502
14502
  const { seriesConfig: e, queryObject: i, chartConfig: a, chart: o } = t;
@@ -14614,8 +14614,8 @@ function QF(t, e) {
14614
14614
  o instanceof Ee && o.set("paddingLeft", i);
14615
14615
  }
14616
14616
  function JF(t, e) {
14617
- const { root: i } = t, a = w(t.uid, "rtl") ?? !1, o = w(t.uid, "config") ?? e, n = o?.series[0], { start: s, end: r } = os(a, n), l = o?.legend?.position ?? L.heatChart.legend.position, c = l === H.Top || l === H.Bottom;
14618
- return Ma.new(i, {
14617
+ const { root: i } = t, a = w(t.uid, "rtl") ?? !1, o = w(t.uid, "config") ?? e, n = o?.series[0], { start: s, end: r } = os(a, n), l = o?.legend?.position ?? L.heatChart.legend.position, c = l === _.Top || l === _.Bottom;
14618
+ return Oa.new(i, {
14619
14619
  orientation: c ? "horizontal" : "vertical",
14620
14620
  startColor: s.color,
14621
14621
  endColor: r.color,
@@ -14661,16 +14661,16 @@ function Rm(t) {
14661
14661
  const i = L.heatChart.legend, a = e?.legend?.position ?? i.position, o = dt(Ct, t.uid);
14662
14662
  let n, s = !1;
14663
14663
  switch (a) {
14664
- case H.Top:
14664
+ case _.Top:
14665
14665
  n = t.topAxesContainer, s = !0;
14666
14666
  break;
14667
- case H.Bottom:
14667
+ case _.Bottom:
14668
14668
  n = t.bottomAxesContainer, s = !1;
14669
14669
  break;
14670
- case H.Left:
14670
+ case _.Left:
14671
14671
  n = t.leftAxesContainer, s = !0;
14672
14672
  break;
14673
- case H.Right:
14673
+ case _.Right:
14674
14674
  n = t.rightAxesContainer, s = !1;
14675
14675
  break;
14676
14676
  default:
@@ -14692,12 +14692,12 @@ function Rm(t) {
14692
14692
  function Mm(t) {
14693
14693
  const { chart: e, legend: i, legendContainer: a } = t, { root: o } = e, n = w(e.uid, "config"), s = L.heatChart.legend, r = n?.legend?.position ?? s.position;
14694
14694
  let l;
14695
- const c = L.chartPadding, d = r === H.Left || r === H.Top, u = r === H.Left || r === H.Right;
14695
+ const c = L.chartPadding, d = r === _.Left || r === _.Top, u = r === _.Left || r === _.Right;
14696
14696
  switch (i.setAll({
14697
14697
  orientation: u ? "vertical" : "horizontal",
14698
14698
  width: be
14699
14699
  }), Ll(e), r) {
14700
- case H.Left:
14700
+ case _.Left:
14701
14701
  a.setAll({
14702
14702
  layout: o.verticalLayout,
14703
14703
  paddingRight: s.legendPadding,
@@ -14706,7 +14706,7 @@ function Mm(t) {
14706
14706
  width: s.width
14707
14707
  }), QF(e, a), l = e.leftAxesContainer;
14708
14708
  break;
14709
- case H.Right:
14709
+ case _.Right:
14710
14710
  a.setAll({
14711
14711
  layout: o.verticalLayout,
14712
14712
  paddingLeft: s.legendPadding,
@@ -14718,7 +14718,7 @@ function Mm(t) {
14718
14718
  paddingRight: s.chartPadding
14719
14719
  }), l = e.rightAxesContainer;
14720
14720
  break;
14721
- case H.Top:
14721
+ case _.Top:
14722
14722
  a.setAll({
14723
14723
  layout: o.verticalLayout,
14724
14724
  // Gap under the title (header padding is removed when the legend is on top).
@@ -14728,7 +14728,7 @@ function Mm(t) {
14728
14728
  width: be
14729
14729
  }), l = e.topAxesContainer;
14730
14730
  break;
14731
- case H.Bottom:
14731
+ case _.Bottom:
14732
14732
  a.setAll({
14733
14733
  layout: o.verticalLayout,
14734
14734
  // Gap under the x-axis title.
@@ -14743,7 +14743,7 @@ function Mm(t) {
14743
14743
  chartPaddingBottom: c,
14744
14744
  chartPaddingLeft: c,
14745
14745
  chartPaddingRight: c
14746
- }), fi(() => {
14746
+ }), mi(() => {
14747
14747
  l && (l.children.indexOf(a) !== -1 || (d ? l.children.unshift(a) : l.children.push(a)), e.markDirty(), i.markDirty(), l.markDirty());
14748
14748
  });
14749
14749
  }
@@ -14778,7 +14778,7 @@ function Om(t, e) {
14778
14778
  function iA(t) {
14779
14779
  const { series: e, legend: i, chart: a } = t, o = w(a.uid, "config"), n = (s) => {
14780
14780
  const r = s.getPrivate("valueLow"), l = s.getPrivate("valueHigh");
14781
- r !== void 0 && l !== void 0 && (i.get("orientation") === "vertical" ? (i.set("startValue", l), i.set("endValue", r)) : (i.set("startValue", r), i.set("endValue", l))), fi(() => {
14781
+ r !== void 0 && l !== void 0 && (i.get("orientation") === "vertical" ? (i.set("startValue", l), i.set("endValue", r)) : (i.set("startValue", r), i.set("endValue", l))), mi(() => {
14782
14782
  Om(i, () => {
14783
14783
  const c = w(a.uid, "config");
14784
14784
  $m({ legend: i, series: s, chartConfig: c });
@@ -14937,18 +14937,18 @@ function bo(t) {
14937
14937
  parent: i,
14938
14938
  useChildId: !0
14939
14939
  });
14940
- a && (a.children.values.filter((n) => n instanceof Ma).forEach((n) => {
14940
+ a && (a.children.values.filter((n) => n instanceof Oa).forEach((n) => {
14941
14941
  n.dispose();
14942
14942
  }), i.children.removeValue(a), a.dispose()), i.markDirty();
14943
14943
  }
14944
14944
  ), vl(t, {}), Ll(t), lA(t);
14945
14945
  }
14946
14946
  function Vm(t, e) {
14947
- const i = Pa({
14947
+ const i = Va({
14948
14948
  root: e.root,
14949
14949
  parent: e,
14950
14950
  index: 0,
14951
- id: dt(mi, e.uid)
14951
+ id: dt(gi, e.uid)
14952
14952
  });
14953
14953
  return i.set("paddingTop", L.heatChart.legend.titlePadding), aa({
14954
14954
  chart: t,
@@ -14969,7 +14969,7 @@ function Wm(t) {
14969
14969
  r && (n = r);
14970
14970
  }
14971
14971
  ), n !== void 0) {
14972
- const s = fe({ childId: mi, parent: n }) ?? Vm(e, n);
14972
+ const s = fe({ childId: gi, parent: n }) ?? Vm(e, n);
14973
14973
  if (i !== void 0) {
14974
14974
  const { title: r, visible: l } = i, { legendTitle: c } = L.legendProperties;
14975
14975
  if (r !== void 0) {
@@ -14979,7 +14979,7 @@ function Wm(t) {
14979
14979
  defaults: { ...c, verticalCenter: "top" }
14980
14980
  });
14981
14981
  const u = w(e.uid, "config")?.legend?.position ?? L.heatChart.legend.position;
14982
- u === H.Left || u === H.Right ? (s.set("maxWidth", 250), di({
14982
+ u === _.Left || u === _.Right ? (s.set("maxWidth", 250), ui({
14983
14983
  chart: e,
14984
14984
  label: s,
14985
14985
  labelType: q.LegendTitle
@@ -15005,24 +15005,24 @@ function ns(t, e) {
15005
15005
  })), n;
15006
15006
  }
15007
15007
  function Em(t) {
15008
- const { legend: e, chart: i, legendContainer: a } = t, o = w(i.uid, "config"), n = L.heatChart.legend, s = o?.legend?.position ?? n.position, r = o?.legend ? o.legend.visible ?? !0 : !1, l = s === H.Left || s === H.Right;
15008
+ const { legend: e, chart: i, legendContainer: a } = t, o = w(i.uid, "config"), n = L.heatChart.legend, s = o?.legend?.position ?? n.position, r = o?.legend ? o.legend.visible ?? !0 : !1, l = s === _.Left || s === _.Right;
15009
15009
  r ? l ? (e.set("height", be), a.set("height", be), zm({ legendContainer: a, chart: i })) : (e.set("height", n.topHeight), a.set("height", void 0)) : (e.set("height", 0), a.set("height", 0), l && a.set("width", 0));
15010
15010
  }
15011
15011
  function rA(t) {
15012
15012
  const { chart: e, legend: i, legendContainer: a } = t, o = w(e.uid, "config"), n = L.heatChart.legend, s = o?.legend?.position ?? n.position;
15013
- tA(e), Ll(e), i.set("height", 0), a.set("height", 0), (s === H.Left || s === H.Right) && a.set("width", 0);
15013
+ tA(e), Ll(e), i.set("height", 0), a.set("height", 0), (s === _.Left || s === _.Right) && a.set("width", 0);
15014
15014
  let r;
15015
15015
  switch (s) {
15016
- case H.Top:
15016
+ case _.Top:
15017
15017
  r = e.topAxesContainer;
15018
15018
  break;
15019
- case H.Bottom:
15019
+ case _.Bottom:
15020
15020
  r = e.bottomAxesContainer;
15021
15021
  break;
15022
- case H.Left:
15022
+ case _.Left:
15023
15023
  r = e.leftAxesContainer;
15024
15024
  break;
15025
- case H.Right:
15025
+ case _.Right:
15026
15026
  r = e.rightAxesContainer;
15027
15027
  break;
15028
15028
  default:
@@ -15032,9 +15032,9 @@ function rA(t) {
15032
15032
  }
15033
15033
  function zm(t) {
15034
15034
  const { legendContainer: e, chart: i } = t, a = w(i.uid, "config"), o = L.heatChart.legend, n = a?.legend?.position ?? o.position;
15035
- if (n !== H.Left && n !== H.Right)
15035
+ if (n !== _.Left && n !== _.Right)
15036
15036
  return;
15037
- const s = fe({ childId: mi, parent: e }), r = a?.legend?.title ? a.legend.title.visible ?? !0 : !1;
15037
+ const s = fe({ childId: gi, parent: e }), r = a?.legend?.title ? a.legend.title.visible ?? !0 : !1;
15038
15038
  if (s instanceof rt && r) {
15039
15039
  const l = () => {
15040
15040
  const c = s.width(), d = o.width, u = Math.max(c + o.legendPadding * 2, d);
@@ -15059,13 +15059,13 @@ function cA(t) {
15059
15059
  useChildId: !0
15060
15060
  });
15061
15061
  if (o) {
15062
- const s = o.children.values.find((r) => r instanceof Ma);
15062
+ const s = o.children.values.find((r) => r instanceof Oa);
15063
15063
  if (s) {
15064
15064
  e = s;
15065
15065
  return;
15066
15066
  }
15067
15067
  }
15068
- const n = a.children.values.find((s) => s instanceof Ma);
15068
+ const n = a.children.values.find((s) => s instanceof Oa);
15069
15069
  if (n) {
15070
15070
  e = n;
15071
15071
  return;
@@ -15081,7 +15081,7 @@ function dA(t) {
15081
15081
  return s.children.push(n), Vm(e, s), Wm({ chart: e, legendConfig: a, container: s }), iA({ series: i, legend: n, chart: e }), { legend: n, legendContainer: s };
15082
15082
  }
15083
15083
  function Zc(t) {
15084
- fi(() => {
15084
+ mi(() => {
15085
15085
  const e = ns(t);
15086
15086
  Dm(t, e);
15087
15087
  });
@@ -15106,7 +15106,7 @@ function uA(t) {
15106
15106
  legend: u,
15107
15107
  chart: e,
15108
15108
  legendContainer: m
15109
- })) : (m && (oe(m, !1), rA({ chart: e, legend: u, legendContainer: m })), oe(u, !1)), eA(u, e), fi(() => {
15109
+ })) : (m && (oe(m, !1), rA({ chart: e, legend: u, legendContainer: m })), oe(u, !1)), eA(u, e), mi(() => {
15110
15110
  Om(u, () => {
15111
15111
  const p = w(e.uid, "config");
15112
15112
  $m({ legend: u, series: c, chartConfig: p ?? i });
@@ -15118,7 +15118,7 @@ function uA(t) {
15118
15118
  }
15119
15119
  function fA(t, e) {
15120
15120
  let i = !1;
15121
- if (e === H.Right || e === H.Left)
15121
+ if (e === _.Right || e === _.Left)
15122
15122
  i = !0;
15123
15123
  else {
15124
15124
  const a = t.dataItems[0]?.get("itemContainer").bounds().left;
@@ -15134,7 +15134,7 @@ function mA(t) {
15134
15134
  )), e;
15135
15135
  }
15136
15136
  function gA(t) {
15137
- Fa(t.uid, { isLegendValueLabel: !0 }), t.valueLabels.template.adapters.add("html", (e, i) => {
15137
+ Aa(t.uid, { isLegendValueLabel: !0 }), t.valueLabels.template.adapters.add("html", (e, i) => {
15138
15138
  let a = e ?? "";
15139
15139
  const o = Sv(
15140
15140
  t.uid,
@@ -15171,7 +15171,7 @@ function Hm(t) {
15171
15171
  percentagePrefix: b,
15172
15172
  percentageSuffix: h
15173
15173
  });
15174
- x = (P, X) => $("", P, X);
15174
+ x = (V, X) => $("", V, X);
15175
15175
  }
15176
15176
  Cv(e.uid, {
15177
15177
  pieChartLegendValueLabelsFormatter: x
@@ -15213,7 +15213,7 @@ function hA(t, e) {
15213
15213
  t.labels.template.adapters.add("maxWidth", (i) => {
15214
15214
  let a = i;
15215
15215
  const o = w(e.uid, "config"), n = o?.legend?.labelMaxWidth, s = o?.legend?.position ?? L.legendProperties.position;
15216
- if (s === H.Right || s === H.Left)
15216
+ if (s === _.Right || s === _.Left)
15217
15217
  a = n ?? L.legendProperties.legendLabels.maxWidth;
15218
15218
  else if (n !== void 0)
15219
15219
  a = n;
@@ -15230,7 +15230,7 @@ function hA(t, e) {
15230
15230
  }), t.valueLabels.template.adapters.add("maxWidth", (i) => {
15231
15231
  let a = i;
15232
15232
  const o = w(e.uid, "config"), n = o?.legend?.valueLabelMaxWidth, s = o?.legend?.position ?? L.legendProperties.position;
15233
- return s === H.Right || s === H.Left ? a = n ?? L.legendProperties.valueLabels.maxWidth : a = n ?? Number.NaN, a;
15233
+ return s === _.Right || s === _.Left ? a = n ?? L.legendProperties.valueLabels.maxWidth : a = n ?? Number.NaN, a;
15234
15234
  });
15235
15235
  }
15236
15236
  function _m(t, e) {
@@ -15254,8 +15254,8 @@ function bA(t, e) {
15254
15254
  return Math.ceil(i) + L.legendPadding;
15255
15255
  }
15256
15256
  function Gm(t, e) {
15257
- fi(() => {
15258
- const i = mA(t), a = e === H.Right || e === H.Left || !i;
15257
+ mi(() => {
15258
+ const i = mA(t), a = e === _.Right || e === _.Left || !i;
15259
15259
  pA(
15260
15260
  t,
15261
15261
  a ? _m(t) : void 0
@@ -15268,7 +15268,7 @@ function yA(t) {
15268
15268
  forceHidden: s === !1,
15269
15269
  direction: r ? "rtl" : "ltr",
15270
15270
  oversizedBehavior: o?.labelMaxWidth !== void 0 && !Number.isNaN(o.labelMaxWidth) ? "wrap" : "none"
15271
- }), fi(() => {
15271
+ }), mi(() => {
15272
15272
  const l = _m(e, o?.labelMaxWidth), c = bA(e, l);
15273
15273
  e.itemContainers.template.setAll({
15274
15274
  width: c,
@@ -15290,7 +15290,7 @@ function SA(t) {
15290
15290
  const e = t.target.dataItem;
15291
15291
  if (e?.dataContext !== void 0) {
15292
15292
  const { dataContext: i } = e, a = typeof i == "object" && i !== null && "component" in i ? i.component : i;
15293
- if (a instanceof Ra) {
15293
+ if (a instanceof Ma) {
15294
15294
  const n = { visible: !a.get("visible") };
15295
15295
  Ui(a) || es(a) ? n.overlayType = re(a.uid, "type") : n.seriesId = a.get("id"), Fd(n, a.root.dom);
15296
15296
  }
@@ -15356,7 +15356,7 @@ function vA(t) {
15356
15356
  if (!o) {
15357
15357
  const u = a.series.find((f) => f.id === c.get("id"));
15358
15358
  if (u !== void 0 && "y" in u && typeof u.y == "string") {
15359
- const { x: f, y: m } = u, p = l === V.BarAndLineSplitByNoAggregation ? `${m}_${Ai({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : m;
15359
+ const { x: f, y: m } = u, p = l === P.BarAndLineSplitByNoAggregation ? `${m}_${Ai({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : m;
15360
15360
  d = c.data.values.some(
15361
15361
  (h) => Kg({
15362
15362
  dataItem: h,
@@ -15406,24 +15406,24 @@ function Kc(t) {
15406
15406
  function ya(t, e) {
15407
15407
  const { root: i } = t, a = fe({ childId: Ct, parent: t });
15408
15408
  if (a !== void 0) {
15409
- const o = w(t.uid, "config"), n = w(t.uid, "rtl"), s = o?.title ? o.title.visible ?? !0 : !1, r = o?.subtitle ? o.subtitle.visible ?? !0 : !1, l = o?.footer ? o.footer.visible ?? !0 : !1, c = o?.legend ? o.legend.visible ?? !0 : !1, d = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, u = fe({ childId: is, parent: t }), f = u instanceof Ni && s ? u.height() : 0, m = fe({ childId: Cl, parent: t }), p = m instanceof Ni && r ? m.height() : 0, b = fe({ childId: as, parent: t }), h = b instanceof Ni && l ? b.height() : 0, S = fe({ childId: mi, parent: a }), C = S instanceof rt && c && d ? S?.height() : 0, v = o?.legend?.position ?? L.legendProperties.position;
15409
+ const o = w(t.uid, "config"), n = w(t.uid, "rtl"), s = o?.title ? o.title.visible ?? !0 : !1, r = o?.subtitle ? o.subtitle.visible ?? !0 : !1, l = o?.footer ? o.footer.visible ?? !0 : !1, c = o?.legend ? o.legend.visible ?? !0 : !1, d = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, u = fe({ childId: is, parent: t }), f = u instanceof Ni && s ? u.height() : 0, m = fe({ childId: Cl, parent: t }), p = m instanceof Ni && r ? m.height() : 0, b = fe({ childId: as, parent: t }), h = b instanceof Ni && l ? b.height() : 0, S = fe({ childId: gi, parent: a }), C = S instanceof rt && c && d ? S?.height() : 0, v = o?.legend?.position ?? L.legendProperties.position;
15410
15410
  let x;
15411
15411
  const F = e.get("verticalScrollbar");
15412
- let k = de, T = de, I = i.verticalLayout, R = de, D = de, O = de, B = de, $ = 0, P;
15413
- const G = e.height() + C;
15414
- let Y = 0, U = 0, _ = 0, j = 0, z, ie;
15412
+ let k = de, T = de, I = i.verticalLayout, R = de, D = de, O = de, B = de, $ = 0, V;
15413
+ const H = e.height() + C;
15414
+ let Y = 0, U = 0, G = 0, j = 0, z, ie;
15415
15415
  switch (v) {
15416
- case H.Left:
15417
- I = i.verticalLayout, R = Oe, O = Oe, D = Oe, B = Oe, P = void 0, k = Oe, T = Oe, Y = a.width(), $ = f + p, G < t.seriesContainer.height() && ($ += t.seriesContainer.height() / 2 - G / 2), e.setPrivate("width", void 0), x = Kc(e), F?.width() !== void 0 && x && F.isVisible() && (x += F.width() + L.scrollbarPadding), n && (z = be, ie = x);
15416
+ case _.Left:
15417
+ I = i.verticalLayout, R = Oe, O = Oe, D = Oe, B = Oe, V = void 0, k = Oe, T = Oe, Y = a.width(), $ = f + p, H < t.seriesContainer.height() && ($ += t.seriesContainer.height() / 2 - H / 2), e.setPrivate("width", void 0), x = Kc(e), F?.width() !== void 0 && x && F.isVisible() && (x += F.width() + L.scrollbarPadding), n && (z = be, ie = x);
15418
15418
  break;
15419
- case H.Right:
15420
- I = i.verticalLayout, R = be, O = be, D = Oe, B = Oe, P = void 0, k = Oe, T = Oe, U = a.width(), $ = f + p, G < t.seriesContainer.height() && ($ += t.seriesContainer.height() / 2 - G / 2), e.setPrivate("width", void 0), x = Kc(e), F?.width() !== void 0 && x && F.isVisible() && (x += F.width() + L.scrollbarPadding), n && (z = be, ie = x);
15419
+ case _.Right:
15420
+ I = i.verticalLayout, R = be, O = be, D = Oe, B = Oe, V = void 0, k = Oe, T = Oe, U = a.width(), $ = f + p, H < t.seriesContainer.height() && ($ += t.seriesContainer.height() / 2 - H / 2), e.setPrivate("width", void 0), x = Kc(e), F?.width() !== void 0 && x && F.isVisible() && (x += F.width() + L.scrollbarPadding), n && (z = be, ie = x);
15421
15421
  break;
15422
- case H.Top:
15423
- I = i.gridLayout, R = de, O = de, D = Oe, B = Oe, P = be, k = de, T = de, _ += G, $ += f + p, x = void 0, n && (z = void 0);
15422
+ case _.Top:
15423
+ I = i.gridLayout, R = de, O = de, D = Oe, B = Oe, V = be, k = de, T = de, G += H, $ += f + p, x = void 0, n && (z = void 0);
15424
15424
  break;
15425
- case H.Bottom:
15426
- I = i.gridLayout, R = de, O = de, D = be, B = be, P = be, k = de, T = de, j = G, $ = -j - h, x = void 0, n && (z = void 0);
15425
+ case _.Bottom:
15426
+ I = i.gridLayout, R = de, O = de, D = be, B = be, V = be, k = de, T = de, j = H, $ = -j - h, x = void 0, n && (z = void 0);
15427
15427
  break;
15428
15428
  }
15429
15429
  (x === void 0 || x > 0) && (e.setPrivate("width", x), n && e.itemContainers.template.setAll({
@@ -15435,18 +15435,18 @@ function ya(t, e) {
15435
15435
  centerX: O,
15436
15436
  centerY: B,
15437
15437
  dy: $,
15438
- width: P,
15438
+ width: V,
15439
15439
  height: 0
15440
15440
  }), t.chartContainer.setAll({
15441
15441
  paddingBottom: j,
15442
- paddingTop: _,
15442
+ paddingTop: G,
15443
15443
  paddingLeft: Y,
15444
15444
  paddingRight: U
15445
- }), bl(t, !0), P === void 0 && (a.setPrivate("width", void 0), a.markDirty()), t instanceof Qt && Gm(e, v);
15445
+ }), bl(t, !0), V === void 0 && (a.setPrivate("width", void 0), a.markDirty()), t instanceof Qt && Gm(e, v);
15446
15446
  }
15447
15447
  }
15448
15448
  function LA(t) {
15449
- const { chart: e, legend: i, legendContainer: a } = t, o = fe({ childId: mi, parent: a });
15449
+ const { chart: e, legend: i, legendContainer: a } = t, o = fe({ childId: gi, parent: a });
15450
15450
  o && o.on("visible", () => {
15451
15451
  i.root.events.once(ee.FrameEnded, () => {
15452
15452
  ya(e, i);
@@ -15464,11 +15464,11 @@ function LA(t) {
15464
15464
  });
15465
15465
  }
15466
15466
  function Xm(t, e) {
15467
- const i = Pa({
15467
+ const i = Va({
15468
15468
  root: e.root,
15469
15469
  parent: e,
15470
15470
  index: 0,
15471
- id: dt(mi, e.uid)
15471
+ id: dt(gi, e.uid)
15472
15472
  });
15473
15473
  return i.set("paddingTop", 10), aa({
15474
15474
  chart: t,
@@ -15500,7 +15500,7 @@ function FA(t, e) {
15500
15500
  if (r instanceof qe) {
15501
15501
  const l = r.get("categoryField") ?? "", c = a.dataItem, d = c?.get("category"), u = c?.dataContext;
15502
15502
  o = d ?? (u?.[l] ?? i)?.toString();
15503
- } else r instanceof Ra && (o = r.get("name"));
15503
+ } else r instanceof Ma && (o = r.get("name"));
15504
15504
  }
15505
15505
  return o;
15506
15506
  });
@@ -15510,11 +15510,11 @@ function AA(t, e) {
15510
15510
  let a = 0;
15511
15511
  const o = w(e.uid, "config"), n = o?.legend, s = fe({ childId: Ct, parent: e });
15512
15512
  if (s !== void 0) {
15513
- const l = fe({ childId: mi, parent: s });
15513
+ const l = fe({ childId: gi, parent: s });
15514
15514
  l !== void 0 && n?.visible !== !1 && n?.title?.visible !== !1 && (a = l.height());
15515
15515
  }
15516
15516
  let r = o?.legend?.maxHeight ?? Number.NaN;
15517
- Number.isFinite(r) || (o?.legend?.position === H.Top || o?.legend?.position === H.Bottom ? r = L.legendProperties.maxHeight : typeof i == "number" && (r = i - a)), t.set("maxHeight", r);
15517
+ Number.isFinite(r) || (o?.legend?.position === _.Top || o?.legend?.position === _.Bottom ? r = L.legendProperties.maxHeight : typeof i == "number" && (r = i - a)), t.set("maxHeight", r);
15518
15518
  });
15519
15519
  }
15520
15520
  function TA(t, e, i) {
@@ -15526,7 +15526,7 @@ function kA(t) {
15526
15526
  let e;
15527
15527
  if (t !== void 0) {
15528
15528
  const i = w(t?.uid, "config");
15529
- e = w(t.uid, "rtl") && (i?.legend?.position === H.Top || i?.legend?.position === H.Bottom);
15529
+ e = w(t.uid, "rtl") && (i?.legend?.position === _.Top || i?.legend?.position === _.Bottom);
15530
15530
  }
15531
15531
  return e ?? !1;
15532
15532
  }
@@ -15539,16 +15539,16 @@ function IA(t) {
15539
15539
  const r = w(t.uid, "rtl") ? g.RTL : g.LTR;
15540
15540
  let l;
15541
15541
  switch (i?.legend?.position) {
15542
- case H.Left:
15542
+ case _.Left:
15543
15543
  l = g.LegendLeft;
15544
15544
  break;
15545
- case H.Top:
15545
+ case _.Top:
15546
15546
  l = g.LegendTop;
15547
15547
  break;
15548
- case H.Bottom:
15548
+ case _.Bottom:
15549
15549
  l = g.LegendBottom;
15550
15550
  break;
15551
- case H.Right:
15551
+ case _.Right:
15552
15552
  default:
15553
15553
  l = g.LegendRight;
15554
15554
  break;
@@ -15582,14 +15582,14 @@ function Ym(t, e, i) {
15582
15582
  function DA(t, e) {
15583
15583
  const i = fe({ childId: Ct, parent: t });
15584
15584
  if (i !== void 0) {
15585
- const a = fe({ childId: mi, parent: i }) ?? Xm(t, i);
15585
+ const a = fe({ childId: gi, parent: i }) ?? Xm(t, i);
15586
15586
  if (e !== void 0) {
15587
15587
  const { title: o, visible: n } = e, { legendTitle: s } = L.legendProperties;
15588
15588
  o !== void 0 ? (Ot({
15589
15589
  label: a,
15590
15590
  labelConfig: { ...o, visible: n !== !1 && o.visible !== !1 },
15591
15591
  defaults: { ...s, verticalCenter: "top" }
15592
- }), di({
15592
+ }), ui({
15593
15593
  chart: t,
15594
15594
  label: a,
15595
15595
  labelType: q.LegendTitle
@@ -15621,7 +15621,7 @@ function MA(t) {
15621
15621
  };
15622
15622
  if (a === y.PieSeries) {
15623
15623
  const r = fe({ childId: Ct, parent: n });
15624
- r !== void 0 && fe({ childId: mi, parent: r }) !== void 0 && Hm({
15624
+ r !== void 0 && fe({ childId: gi, parent: r }) !== void 0 && Hm({
15625
15625
  legend: e,
15626
15626
  seriesConfig: o,
15627
15627
  webChartLegend: i,
@@ -15689,7 +15689,7 @@ function Jc(t) {
15689
15689
  if (a) {
15690
15690
  const { title: o, visible: n } = a, s = o !== void 0 && n !== !1 && o.visible !== !1, r = fe({ childId: Ct, parent: e });
15691
15691
  if (r) {
15692
- const l = fe({ childId: mi, parent: r });
15692
+ const l = fe({ childId: gi, parent: r });
15693
15693
  l && (o ? oe(l, s) : oe(l, i));
15694
15694
  }
15695
15695
  }
@@ -15710,12 +15710,12 @@ function Um(t) {
15710
15710
  if (jo(n) && f instanceof ws && e instanceof se) {
15711
15711
  const p = fe({ childId: Ct, parent: e });
15712
15712
  p && (e.children.removeValue(p), p.dispose()), f = ns(e, i), m = !0;
15713
- } else !jo(n) && f instanceof Ma && e instanceof se && (bo(e), f = tr(e, i));
15713
+ } else !jo(n) && f instanceof Oa && e instanceof se && (bo(e), f = tr(e, i));
15714
15714
  if (!m && jo(n) && a && e instanceof se)
15715
15715
  r && f && (Qc({ chart: e, legend: f, showLegend: !1 }), Jc({ chart: e, showLegend: !1, legendConfig: d })), f = uA({
15716
15716
  chart: e,
15717
15717
  chartConfig: i,
15718
- legend: f instanceof Ma ? f : void 0,
15718
+ legend: f instanceof Oa ? f : void 0,
15719
15719
  heatLegendPositionChanged: l,
15720
15720
  heatRulesTypeChanged: r,
15721
15721
  seriesWereReinitialized: c
@@ -15873,7 +15873,7 @@ function _A(t) {
15873
15873
  });
15874
15874
  }
15875
15875
  function GA(t) {
15876
- const { root: e, chartConfig: i, seriesConfig: a, xAxis: o, yAxis: n, options: s, errorStrings: r } = t, { id: l, name: c } = a, { xField: d, yField: u, xAxisField: f, yAxisField: m } = Ua(i, a), p = Ir(i), b = Se.new(e, {
15876
+ const { root: e, chartConfig: i, seriesConfig: a, xAxis: o, yAxis: n, options: s, errorStrings: r } = t, { id: l, name: c } = a, { xField: d, yField: u, xAxisField: f, yAxisField: m } = ja(i, a), p = Ir(i), b = Se.new(e, {
15877
15877
  id: l,
15878
15878
  name: c,
15879
15879
  stacked: p,
@@ -15986,7 +15986,7 @@ function YA(t) {
15986
15986
  } = t, c = e.chart;
15987
15987
  if (c !== void 0) {
15988
15988
  const d = w(c.uid, "config"), u = d?.series.length ?? 0, f = Z(d?.series);
15989
- $a(e, !1);
15989
+ Pa(e, !1);
15990
15990
  const m = XA({
15991
15991
  series: e,
15992
15992
  seriesConfig: i,
@@ -15996,11 +15996,11 @@ function YA(t) {
15996
15996
  colorMatch: s,
15997
15997
  rendererType: r
15998
15998
  });
15999
- l && $a(e, !0), a.set(o?.get(i.id) ?? n, m), a.size === u && Gt({
15999
+ l && Pa(e, !0), a.set(o?.get(i.id) ?? n, m), a.size === u && Gt({
16000
16000
  data: a,
16001
16001
  htmlContainer: e.root.dom,
16002
16002
  chartId: c.get("id"),
16003
- colorMatchApplied: Za(c)
16003
+ colorMatchApplied: Ka(c)
16004
16004
  });
16005
16005
  }
16006
16006
  }
@@ -16018,7 +16018,7 @@ function UA(t) {
16018
16018
  sortChanged: d
16019
16019
  } = t, u = o.series[a];
16020
16020
  if (i && u?.type === y.BarSeries && (r === !0 || n === !0 || d === !0 || l === !0 || c || s === !0)) {
16021
- const { xField: f, yField: m, xAxisField: p, yAxisField: b } = Ua(o, u);
16021
+ const { xField: f, yField: m, xAxisField: p, yAxisField: b } = ja(o, u);
16022
16022
  e.setAll({
16023
16023
  [p]: f,
16024
16024
  [b]: m
@@ -16104,7 +16104,7 @@ function jA(t) {
16104
16104
  }
16105
16105
  function qA(t) {
16106
16106
  const { chartConfig: e, seriesConfig: i } = t, a = it(e), o = e.showOutliers, n = e.standardizeValues, s = xt(e), { y: r } = i, l = Lr(e), c = Z(l.series), d = s ? void 0 : i?.query?.where, u = {
16107
- y: c === V.BoxPlotC4MultiFieldsAndCategory && typeof r == "string" ? r : void 0,
16107
+ y: c === P.BoxPlotC4MultiFieldsAndCategory && typeof r == "string" ? r : void 0,
16108
16108
  chartSubType: c,
16109
16109
  splitBy: d,
16110
16110
  showOutliers: o,
@@ -16152,7 +16152,7 @@ function ZA(t) {
16152
16152
  (n === !0 || r === !0 || s === !0 || l === !0) && a.data.setAll(Co({ chartConfig: e, seriesConfig: i, data: o, seriesType: "candleStick" }));
16153
16153
  }
16154
16154
  function KA(t) {
16155
- const { candleStickSeries: e, seriesConfig: i, seriesIndex: a, chartSubType: o, colorMatch: n, showMean: s, rendererType: r, options: l } = t, { root: c } = e, d = i.fillSymbol ?? wa(a);
16155
+ const { candleStickSeries: e, seriesConfig: i, seriesIndex: a, chartSubType: o, colorMatch: n, showMean: s, rendererType: r, options: l } = t, { root: c } = e, d = i.fillSymbol ?? Da(a);
16156
16156
  let u = {};
16157
16157
  const f = {
16158
16158
  root: c,
@@ -16161,7 +16161,7 @@ function KA(t) {
16161
16161
  colorMatch: n,
16162
16162
  isChartFillSymbol: !0
16163
16163
  };
16164
- $a(e, !1), e.columns.length === 0 ? u = vt({
16164
+ Pa(e, !1), e.columns.length === 0 ? u = vt({
16165
16165
  ...f,
16166
16166
  seriesSymbol: d,
16167
16167
  element: St.new(c, {})
@@ -16183,11 +16183,11 @@ function KA(t) {
16183
16183
  seriesSymbol: u?.symbolWithColorInfo ?? d,
16184
16184
  element: e.columns.template,
16185
16185
  colorMatch: n
16186
- }), l?.interactionsDisabled && $a(e, !0);
16186
+ }), l?.interactionsDisabled && Pa(e, !0);
16187
16187
  }
16188
16188
  function QA(t) {
16189
16189
  const { candleStickSeries: e, seriesConfig: i, options: a } = t;
16190
- Ge(e.columns.template, a?.selectionTheme), ja(e, i.name), ZA(t), Di(t) && Ri({
16190
+ Ge(e.columns.template, a?.selectionTheme), qa(e, i.name), ZA(t), Di(t) && Ri({
16191
16191
  styleCallback: () => KA(t),
16192
16192
  series: e,
16193
16193
  seriesConfig: i
@@ -16223,7 +16223,7 @@ function eT(t) {
16223
16223
  seriesConfig: i,
16224
16224
  key: ae.Average
16225
16225
  }), d = xe({
16226
- y: a === V.BoxPlotC4MultiFieldsAndCategory && typeof s == "string" ? s : void 0,
16226
+ y: a === P.BoxPlotC4MultiFieldsAndCategory && typeof s == "string" ? s : void 0,
16227
16227
  chartSubType: a,
16228
16228
  splitBy: r,
16229
16229
  showOutliers: o,
@@ -16257,7 +16257,7 @@ function iT(t) {
16257
16257
  seriesWereReinitialized: l,
16258
16258
  options: c
16259
16259
  } = t, d = re(e.uid, "bulletTemplate");
16260
- d && Ge(d, c?.selectionTheme), ja(e, a?.name), tT({
16260
+ d && Ge(d, c?.selectionTheme), qa(e, a?.name), tT({
16261
16261
  chartConfig: i,
16262
16262
  meanLineSeries: e,
16263
16263
  data: o,
@@ -16462,7 +16462,7 @@ function mT(t) {
16462
16462
  colorMatch: n,
16463
16463
  chartSubType: s,
16464
16464
  rendererType: r
16465
- }), d = (a.fillSymbol ?? wa(o)).color, u = {
16465
+ }), d = (a.fillSymbol ?? Da(o)).color, u = {
16466
16466
  type: K.SLS,
16467
16467
  width: L.boxPlot.boxPlotLineWidth,
16468
16468
  color: c ? L.boxPlot.boxPlotWhiskersColor : d
@@ -16524,12 +16524,12 @@ function Ls(t) {
16524
16524
  }
16525
16525
  function ss(t) {
16526
16526
  const { chartConfig: e, seriesConfig: i, key: a } = t, o = it(e), n = e.showOutliers, s = e.standardizeValues, r = xt(e), l = Z(e.series), { x: c, y: d } = i, u = r ? void 0 : i?.query?.where, f = {
16527
- y: l === V.BoxPlotC4MultiFieldsAndCategory && typeof d == "string" ? d : void 0,
16527
+ y: l === P.BoxPlotC4MultiFieldsAndCategory && typeof d == "string" ? d : void 0,
16528
16528
  chartSubType: l,
16529
16529
  splitBy: u,
16530
16530
  showOutliers: n,
16531
16531
  standardizeValues: ro(l) ? s : !1
16532
- }, m = l === V.BoxPlotC1MonoField || l === V.BoxPlotC2MultiFields || l === V.BoxPlotC5MonoFieldAndSplitBy || l === V.BoxPlotC6MultiFieldsAndSplitBy ? Mr : c;
16532
+ }, m = l === P.BoxPlotC1MonoField || l === P.BoxPlotC2MultiFields || l === P.BoxPlotC5MonoFieldAndSplitBy || l === P.BoxPlotC6MultiFieldsAndSplitBy ? Mr : c;
16533
16533
  return {
16534
16534
  dataFields: {
16535
16535
  value: o ? "valueXField" : "valueYField",
@@ -16558,7 +16558,7 @@ function Km(t, e) {
16558
16558
  return { topStepLineSeries: i, medianStepLineSeries: a, bottomStepLineSeries: o };
16559
16559
  }
16560
16560
  function Qm(t) {
16561
- return t !== V.BoxPlotC1MonoField && t !== V.BoxPlotC2MultiFields && t !== V.BoxPlotC3MonoFieldAndCategory;
16561
+ return t !== P.BoxPlotC1MonoField && t !== P.BoxPlotC2MultiFields && t !== P.BoxPlotC3MonoFieldAndCategory;
16562
16562
  }
16563
16563
  function Jm(t) {
16564
16564
  const { chart: e, candleSeriesIndex: i, numberOfCandleStickSeries: a } = t;
@@ -16821,12 +16821,12 @@ function eg(t) {
16821
16821
  data: Te(d),
16822
16822
  htmlContainer: m.dom,
16823
16823
  chartId: e.chart?.get("id"),
16824
- colorMatchApplied: Za(f)
16824
+ colorMatchApplied: Ka(f)
16825
16825
  }), d.clear());
16826
16826
  }
16827
16827
  }
16828
16828
  function kT(t) {
16829
- const { root: e, chart: i, chartConfig: a, xAxis: o, yAxis: n, seriesConfig: s, options: r, errorStrings: l, playAppearAnimation: c } = t, { id: d, name: u } = s, { xField: f, yField: m, xAxisField: p, yAxisField: b } = Ua(a, s), h = le.new(e, {
16829
+ const { root: e, chart: i, chartConfig: a, xAxis: o, yAxis: n, seriesConfig: s, options: r, errorStrings: l, playAppearAnimation: c } = t, { id: d, name: u } = s, { xField: f, yField: m, xAxisField: p, yAxisField: b } = ja(a, s), h = le.new(e, {
16830
16830
  id: d,
16831
16831
  name: u,
16832
16832
  xAxis: o,
@@ -16890,7 +16890,7 @@ function IT(t) {
16890
16890
  sortChanged: d
16891
16891
  } = t, u = o.series[a];
16892
16892
  if (i !== void 0 && a >= 0 && a < o.series.length && u.type === y.LineSeries && (r === !0 || n === !0 || l === !0 || c || s === !0 || d === !0)) {
16893
- const { xField: f, yField: m, xAxisField: p, yAxisField: b } = Ua(o, u);
16893
+ const { xField: f, yField: m, xAxisField: p, yAxisField: b } = ja(o, u);
16894
16894
  e.setAll({ [p]: f, [b]: m }), e.data.setAll(i.dataItems);
16895
16895
  }
16896
16896
  }
@@ -17163,11 +17163,11 @@ function ET(t) {
17163
17163
  seriesWereReinitialized: s,
17164
17164
  labelUpdateNeeded: r,
17165
17165
  groupOfSlicesUpdateNeeded: l
17166
- } = t, { x: c, y: d } = a, u = Z([a]), f = u === V.PieFromFields ? ni : c;
17166
+ } = t, { x: c, y: d } = a, u = Z([a]), f = u === P.PieFromFields ? si : c;
17167
17167
  if (i && (o === !0 || s === !0 || n === !0 || l === !0))
17168
17168
  e.setAll({
17169
17169
  categoryField: f,
17170
- valueField: u === V.PieFromFields ? va : d
17170
+ valueField: u === P.PieFromFields ? va : d
17171
17171
  }), e.data.setAll(i.dataItems);
17172
17172
  else if (i && r) {
17173
17173
  const m = e.dataItems, { originalXValue: p } = E;
@@ -17199,8 +17199,8 @@ function _T(t) {
17199
17199
  const { root: e, seriesConfig: i, options: a, chart: o, chartConfig: n, errorStrings: s } = t, { id: r, name: l, x: c, y: d } = i, u = Z([i]), f = qe.new(e, {
17200
17200
  id: r,
17201
17201
  name: l,
17202
- categoryField: u === V.PieFromFields ? ni : c,
17203
- valueField: u === V.PieFromFields ? va : d
17202
+ categoryField: u === P.PieFromFields ? si : c,
17203
+ valueField: u === P.PieFromFields ? va : d
17204
17204
  });
17205
17205
  return NT({
17206
17206
  pieSeries: f,
@@ -17277,7 +17277,7 @@ function tg(t, e) {
17277
17277
  a = Ue(I * 100);
17278
17278
  } else
17279
17279
  a = Ue(L.pieChart.chartRadius);
17280
- i.value.toFixed(1) !== a.value.toFixed(1) && (ct(t.uid, { pieChartRadius: a.percent }), Fs && clearTimeout(Fs), Fs = fi(() => {
17280
+ i.value.toFixed(1) !== a.value.toFixed(1) && (ct(t.uid, { pieChartRadius: a.percent }), Fs && clearTimeout(Fs), Fs = mi(() => {
17281
17281
  const b = t.chartContainer.height();
17282
17282
  if (t.chartContainer.set("height", b + 0.1), t.set("radius", a), l && !Number.isNaN(l) && l > 0) {
17283
17283
  const h = (l ?? L.pieChart.innerRadius) * a.value;
@@ -17307,7 +17307,7 @@ function ig(t, e) {
17307
17307
  }
17308
17308
  }
17309
17309
  function YT(t) {
17310
- fi(() => {
17310
+ mi(() => {
17311
17311
  t.chartContainer.set("height", Ue(100)), t.root.resize();
17312
17312
  });
17313
17313
  }
@@ -17332,7 +17332,7 @@ function UT(t) {
17332
17332
  return o;
17333
17333
  }
17334
17334
  function jT(t) {
17335
- const { root: e, chartConfig: i, xAxis: a, yAxis: o, seriesConfig: n, options: s, errorStrings: r, playAppearAnimation: l } = t, { id: c, name: d } = n, { xField: u, yField: f, xAxisField: m, yAxisField: p } = Ua(i, n), b = Pr.new(e, {
17335
+ const { root: e, chartConfig: i, xAxis: a, yAxis: o, seriesConfig: n, options: s, errorStrings: r, playAppearAnimation: l } = t, { id: c, name: d } = n, { xField: u, yField: f, xAxisField: m, yAxisField: p } = ja(i, n), b = Pr.new(e, {
17336
17336
  id: c,
17337
17337
  name: d,
17338
17338
  xAxis: a,
@@ -17381,7 +17381,7 @@ function qT(t) {
17381
17381
  timeZoneChanged: l
17382
17382
  } = t, c = o.series[a];
17383
17383
  if (i !== void 0 && c?.type === y.RadarSeries && (n || l || s || r)) {
17384
- const { xField: d, yField: u, xAxisField: f, yAxisField: m } = Ua(o, c);
17384
+ const { xField: d, yField: u, xAxisField: f, yAxisField: m } = ja(o, c);
17385
17385
  e.setAll({ [f]: d, [m]: u }), e.data.setAll(i.dataItems);
17386
17386
  }
17387
17387
  }
@@ -17475,7 +17475,7 @@ function Tl(t) {
17475
17475
  const p = i.series[m], { assignToSecondValueAxis: b, type: h } = p, S = e instanceof se ? Gv({ chart: e, chartType: d, rotated: l, assignToSecondValueAxis: b }) : void 0, { xAxis: C, xAxisForHistogramOverlaySeries: v, yAxis: x } = S ?? {};
17476
17476
  switch (!0) {
17477
17477
  case h === y.HeatSeries: {
17478
- ri(n), C && x && f.push(
17478
+ li(n), C && x && f.push(
17479
17479
  _F({
17480
17480
  ...u,
17481
17481
  xAxis: C,
@@ -17587,7 +17587,7 @@ function rs(t) {
17587
17587
  utilsStrings: S,
17588
17588
  groupOfSlicesUpdateNeeded: C,
17589
17589
  labelUpdateNeeded: v
17590
- } = t, { chartRenderer: x } = i, { root: F } = e, { series: k } = i, T = W(i.series), I = Z(i.series), R = e.series.values, D = _i(i), O = i.series.length, B = /* @__PURE__ */ new Map(), $ = Ft(h, a?.popupTemplateFieldInfosEnabled), P = nt(h), X = Ye(P) ? void 0 : xr(x, P.renderer), G = l || s || r || c || u, Y = {
17590
+ } = t, { chartRenderer: x } = i, { root: F } = e, { series: k } = i, T = W(i.series), I = Z(i.series), R = e.series.values, D = _i(i), O = i.series.length, B = /* @__PURE__ */ new Map(), $ = Ft(h, a?.popupTemplateFieldInfosEnabled), V = nt(h), X = Ye(V) ? void 0 : xr(x, V.renderer), H = l || s || r || c || u, Y = {
17591
17591
  root: F,
17592
17592
  chartConfig: i,
17593
17593
  queryObject: h,
@@ -17614,9 +17614,9 @@ function rs(t) {
17614
17614
  seriesSymbolMapForEvent: B,
17615
17615
  timeZoneChanged: m
17616
17616
  };
17617
- for (let _ = 0; _ < k.length; _++) {
17618
- const j = k[_];
17619
- let z = R[_];
17617
+ for (let G = 0; G < k.length; G++) {
17618
+ const j = k[G];
17619
+ let z = R[G];
17620
17620
  const ie = j.type;
17621
17621
  switch (!0) {
17622
17622
  case T === y.HeatSeries: {
@@ -17624,7 +17624,7 @@ function rs(t) {
17624
17624
  ...U,
17625
17625
  series: z,
17626
17626
  data: o,
17627
- seriesConfig: i.series[_],
17627
+ seriesConfig: i.series[G],
17628
17628
  chartConfig: i
17629
17629
  });
17630
17630
  break;
@@ -17636,7 +17636,7 @@ function rs(t) {
17636
17636
  chart: e,
17637
17637
  series: z,
17638
17638
  data: o,
17639
- seriesIndex: _,
17639
+ seriesIndex: G,
17640
17640
  seriesConfig: j,
17641
17641
  chartConfig: i,
17642
17642
  showMean: xt(i),
@@ -17650,7 +17650,7 @@ function rs(t) {
17650
17650
  series: z,
17651
17651
  allChartSeries: R,
17652
17652
  data: o,
17653
- seriesIndex: _,
17653
+ seriesIndex: G,
17654
17654
  seriesConfig: j,
17655
17655
  axes: i.axes
17656
17656
  });
@@ -17675,11 +17675,11 @@ function rs(t) {
17675
17675
  ...U,
17676
17676
  series: z,
17677
17677
  data: o,
17678
- seriesIndex: _
17678
+ seriesIndex: G
17679
17679
  }) : ie === y.LineSeries && z instanceof le && DT({
17680
17680
  ...U,
17681
17681
  series: z,
17682
- seriesIndex: _,
17682
+ seriesIndex: G,
17683
17683
  seriesConfig: j,
17684
17684
  data: o
17685
17685
  }));
@@ -17702,14 +17702,14 @@ function rs(t) {
17702
17702
  ...U,
17703
17703
  series: z,
17704
17704
  data: o,
17705
- seriesIndex: _,
17705
+ seriesIndex: G,
17706
17706
  seriesConfig: j,
17707
17707
  chartConfig: i
17708
17708
  });
17709
17709
  break;
17710
17710
  }
17711
17711
  }
17712
- G && T && z && pL({ chartType: T, series: z, tooltipFormatter: a?.tooltipFormatter });
17712
+ H && T && z && pL({ chartType: T, series: z, tooltipFormatter: a?.tooltipFormatter });
17713
17713
  }
17714
17714
  }
17715
17715
  function KT(t) {
@@ -17820,7 +17820,7 @@ function ak(t) {
17820
17820
  t.dispose();
17821
17821
  }
17822
17822
  function ok(t) {
17823
- const { chart: e, chartContainer: i, chartLocale: a } = t, { root: o } = e, { t9nLocale: n } = Va(i ?? document.documentElement), s = So(i ?? document.documentElement);
17823
+ const { chart: e, chartContainer: i, chartLocale: a } = t, { root: o } = e, { t9nLocale: n } = Wa(i ?? document.documentElement), s = So(i ?? document.documentElement);
17824
17824
  o.locale = a, ct(e.uid, {
17825
17825
  locale: n,
17826
17826
  formatLocale: s,
@@ -17905,7 +17905,7 @@ function rk(t) {
17905
17905
  data: c,
17906
17906
  htmlContainer: e.root.dom,
17907
17907
  chartId: e.get("id"),
17908
- colorMatchApplied: Za(e)
17908
+ colorMatchApplied: Ka(e)
17909
17909
  });
17910
17910
  }
17911
17911
  function lk(t) {
@@ -18027,7 +18027,7 @@ function ck(t) {
18027
18027
  throw new Error();
18028
18028
  let T = w(e.uid, "config");
18029
18029
  if (e.isDisposed() || !$d(T, n))
18030
- throw new gi(oo.ChartDisposed);
18030
+ throw new ni(La.ChartDisposed);
18031
18031
  T ??= n;
18032
18032
  const I = Z(n.series), R = it(n);
18033
18033
  ct(e.uid, {
@@ -18040,7 +18040,7 @@ function ck(t) {
18040
18040
  rendererFieldNames: m,
18041
18041
  queryObject: h
18042
18042
  });
18043
- const D = Ft(h, k), O = eh(T, n), B = Vd(T, n), $ = Cd(T, n), P = th(T, n), X = tk(T, n), G = JSON.stringify(tn(T.series)) !== JSON.stringify(tn(n.series)), Y = fr(T, n), U = ih(T, n), _ = Pd(T, n), j = Xd(T, n), z = ah(T, n), ie = Dn({
18043
+ const D = Ft(h, k), O = eh(T, n), B = Vd(T, n), $ = Cd(T, n), V = th(T, n), X = tk(T, n), H = JSON.stringify(tn(T.series)) !== JSON.stringify(tn(n.series)), Y = fr(T, n), U = ih(T, n), G = Pd(T, n), j = Xd(T, n), z = ah(T, n), ie = Dn({
18044
18044
  oldConfig: d ? p : T,
18045
18045
  newConfig: n,
18046
18046
  dataWasUpdated: l
@@ -18051,7 +18051,7 @@ function ck(t) {
18051
18051
  oldConfig: T,
18052
18052
  newConfig: n,
18053
18053
  rotationChanged: B
18054
- }), Ka = T.series, Oo = n.series;
18054
+ }), Qa = T.series, Oo = n.series;
18055
18055
  if (l) {
18056
18056
  const { queryConfig: ba, count: cs } = S ?? {};
18057
18057
  ct(e.uid, {
@@ -18061,11 +18061,11 @@ function ck(t) {
18061
18061
  timeIntervalInfo: C !== void 0 && "timeIntervalInfo" in C ? C.timeIntervalInfo : void 0
18062
18062
  });
18063
18063
  }
18064
- e instanceof uo && h0({ chartSeries: e.series, oldSeries: Ka, newSeries: Oo });
18064
+ e instanceof uo && h0({ chartSeries: e.series, oldSeries: Qa, newSeries: Oo });
18065
18065
  const ls = e instanceof Qt ? Er(
18066
- Ka,
18066
+ Qa,
18067
18067
  Oo
18068
- ) : !1, Qa = Sd({ oldConfig: T, newConfig: n }), Bo = /* @__PURE__ */ new Map();
18068
+ ) : !1, Ja = Sd({ oldConfig: T, newConfig: n }), Bo = /* @__PURE__ */ new Map();
18069
18069
  (p ?? n).series.forEach((ba, cs) => {
18070
18070
  Bo.set(ba.id, cs);
18071
18071
  }), vm(e, n.background), Tm(e, { title: n.title, subtitle: n.subtitle }), km(e, n.footer), Am({
@@ -18079,13 +18079,13 @@ function ck(t) {
18079
18079
  let No = !1;
18080
18080
  switch (og) {
18081
18081
  case y.PieSeries: {
18082
- e instanceof Qt && (ri(h), rk({
18082
+ e instanceof Qt && (li(h), rk({
18083
18083
  chart: e,
18084
18084
  chartConfig: n,
18085
18085
  options: s,
18086
18086
  data: C,
18087
18087
  dataWasUpdated: l,
18088
- slicesConfigChangedSinceLastUpdate: Qa,
18088
+ slicesConfigChangedSinceLastUpdate: Ja,
18089
18089
  pieSlicesSymbols: u,
18090
18090
  chartRendererChanged: Y,
18091
18091
  sortChanged: ie,
@@ -18121,11 +18121,11 @@ function ck(t) {
18121
18121
  anyGuideAboveChanged: O,
18122
18122
  rotationChanged: B,
18123
18123
  colorMatchChanged: $,
18124
- stackedTypeChanged: P,
18124
+ stackedTypeChanged: V,
18125
18125
  seriesStyleChanged: X,
18126
- seriesCompositionChanged: G,
18126
+ seriesCompositionChanged: H,
18127
18127
  timeZoneChanged: U,
18128
- timeIntervalInfoWasReset: _,
18128
+ timeIntervalInfoWasReset: G,
18129
18129
  sizePolicyChanged: j,
18130
18130
  sizePolicyChangesRequireSeriesReinit: z,
18131
18131
  queryObject: h,
@@ -18152,7 +18152,7 @@ function ck(t) {
18152
18152
  })
18153
18153
  );
18154
18154
  };
18155
- No ? fi(ba) : ba();
18155
+ No ? mi(ba) : ba();
18156
18156
  }
18157
18157
  ir({ chart: e, actionMode: s?.actionMode, cursorRange: s?.cursorRange }), Of(e), vf({ chart: e, chartConfig: n, delayCallback: l });
18158
18158
  }
@@ -18177,7 +18177,7 @@ function dk(t) {
18177
18177
  data: o,
18178
18178
  htmlContainer: e.root.dom,
18179
18179
  chartId: e.get("id"),
18180
- colorMatchApplied: Za(e)
18180
+ colorMatchApplied: Ka(e)
18181
18181
  });
18182
18182
  }
18183
18183
  function uk(t) {
@@ -18282,7 +18282,7 @@ function fk(t) {
18282
18282
  queryObject: c,
18283
18283
  utilsStrings: f,
18284
18284
  errorStrings: u
18285
- }) : C instanceof Qt && p && "dataItems" in p && (ri(c), dk({
18285
+ }) : C instanceof Qt && p && "dataItems" in p && (li(c), dk({
18286
18286
  chart: C,
18287
18287
  data: p,
18288
18288
  chartConfig: i,
@@ -18355,6 +18355,10 @@ class As extends EventTarget {
18355
18355
  return pp(this._revision, this._config, this._configHistory, e);
18356
18356
  }
18357
18357
  }
18358
+ function mk(t, e) {
18359
+ const i = t instanceof ni ? t.message : e?.errors.simpleError, a = t instanceof ni && t.name === La.QueryFeaturesError ? t.details : void 0, o = typeof a == "object" && a !== null && "name" in a && a.name === "parquet:cannot-execute-query" ? e?.modalHeaders.tooManyFeatures : e?.errorHeading;
18360
+ return { message: i, heading: o };
18361
+ }
18358
18362
  function ad(t) {
18359
18363
  let e = "";
18360
18364
  for (let a = 0; a < t.length; a += 1) {
@@ -18367,12 +18371,12 @@ function ad(t) {
18367
18371
  const i = t.length > 1 ? "ol" : "div";
18368
18372
  return `<${i}>${e}</${i}>`;
18369
18373
  }
18370
- function mk(t) {
18374
+ function gk(t) {
18371
18375
  const { chartConfig: e, createMessage: i, status: a, errorStrings: o } = t, { schemaErrors: n, customErrors: s, warnings: r } = a;
18372
18376
  let l = "", c = "";
18373
18377
  return e === void 0 ? (c = i === void 0 ? o.modalHeaders.newChart : "", l = i ?? o.errors.newChartRequest) : n.length > 0 ? (c = o.modalHeaders.error, l = o.errors.simpleError) : s.length > 0 ? (c = o.modalHeaders.error, l = ad(s)) : r.length > 0 && (c = o.modalHeaders.warning, l = `<p>${o.errors.warningRequest}</p>${ad(r)}`), { title: c, message: l };
18374
18378
  }
18375
- function gk(t, e) {
18379
+ function hk(t, e) {
18376
18380
  let i;
18377
18381
  switch (t) {
18378
18382
  case y.PieSeries:
@@ -18408,7 +18412,7 @@ function gk(t, e) {
18408
18412
  }
18409
18413
  return i;
18410
18414
  }
18411
- function to(t) {
18415
+ function io(t) {
18412
18416
  let e;
18413
18417
  if (t) {
18414
18418
  const i = Sf(t);
@@ -18416,73 +18420,73 @@ function to(t) {
18416
18420
  }
18417
18421
  return e;
18418
18422
  }
18419
- function hk(t, e) {
18423
+ function pk(t, e) {
18420
18424
  return {
18421
- backgroundColor: to(Ja(t, e.background)),
18422
- textColor: to(Ja(t, e.text)),
18423
- lineColor: to(Ja(t, e.line)),
18424
- secondaryLineColor: to(Ja(t, e.secondaryLine)),
18425
- spinnerColor: to(Ja(t, e.spinner))
18425
+ backgroundColor: io(eo(t, e.background)),
18426
+ textColor: io(eo(t, e.text)),
18427
+ lineColor: io(eo(t, e.line)),
18428
+ secondaryLineColor: io(eo(t, e.secondaryLine)),
18429
+ spinnerColor: io(eo(t, e.spinner))
18426
18430
  };
18427
18431
  }
18428
- function pk(t) {
18429
- const { config: e, themeColors: i } = t, a = Da().toString();
18432
+ function bk(t) {
18433
+ const { config: e, themeColors: i } = t, a = Ra().toString();
18430
18434
  e?.axes?.forEach((o) => {
18431
18435
  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));
18432
- const n = Da();
18436
+ const n = Ra();
18433
18437
  n[3] = Hl, o?.grid && i.secondaryLineColor && (!o.grid.color || o.grid.color.toString() === n.toString()) && (o.grid.color = i.secondaryLineColor, o.grid.color[3] = Hl), o?.lineSymbol && i.lineColor && (!o.lineSymbol.color || o.lineSymbol.color.toString() === zh.toString()) && (o.lineSymbol.color = i.lineColor), o?.guides?.forEach((s) => {
18434
18438
  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() === oc.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() === oc.style.color?.toString()) && (s.style.outline.color = i.lineColor));
18435
18439
  });
18436
18440
  });
18437
18441
  }
18438
- function bk(t) {
18442
+ function yk(t) {
18439
18443
  const { config: e, themeColors: i } = t;
18440
18444
  e && i.backgroundColor && (!e.background || e.background.toString() === Eh().toString()) && (e.background = i.backgroundColor);
18441
18445
  }
18442
- function yk(t) {
18443
- const { config: e, themeColors: i } = t, a = Da().toString();
18446
+ function Sk(t) {
18447
+ const { config: e, themeColors: i } = t, a = Ra().toString();
18444
18448
  i.textColor && (e?.title?.content && (!e.title.content.color || e.title.content.color.toString() === a) && (e.title.content.color = i.textColor), e?.subtitle?.content && (!e.subtitle.content.color || e.subtitle.content.color.toString() === a) && (e.subtitle.content.color = i.textColor), e?.footer?.content && (!e.footer.content.color || e.footer.content.color.toString() === a) && (e.footer.content.color = i.textColor));
18445
18449
  }
18446
- function Sk(t) {
18450
+ function Ck(t) {
18447
18451
  const { config: e, themeColors: i } = t;
18448
18452
  e && i.textColor && e.series.forEach((a) => {
18449
- a.dataLabels?.content && (!a.dataLabels.content.color || a.dataLabels.content.color.toString() === Da().toString()) && (a.dataLabels.content.color = i.textColor);
18453
+ a.dataLabels?.content && (!a.dataLabels.content.color || a.dataLabels.content.color.toString() === Ra().toString()) && (a.dataLabels.content.color = i.textColor);
18450
18454
  });
18451
18455
  }
18452
- function Ck(t) {
18456
+ function xk(t) {
18453
18457
  const { config: e, themeColors: i } = t, a = e?.series[0];
18454
18458
  a?.type === y.PieSeries && a.ticks?.lineSymbol && i.secondaryLineColor && (!a.ticks.lineSymbol.color || a.ticks.lineSymbol.color.toString() === Br.toString()) && (a.ticks.lineSymbol.color = i.secondaryLineColor);
18455
18459
  }
18456
- function xk(t) {
18457
- const { config: e, themeColors: i } = t, a = Da().toString();
18460
+ function vk(t) {
18461
+ const { config: e, themeColors: i } = t, a = Ra().toString();
18458
18462
  e?.legend && i.textColor && (e.legend.title?.content && (!e.legend.title.content.color || e.legend.title.content.color.toString() === a) && (e.legend.title.content.color = i.textColor), e.legend.body && (!e.legend.body.color || e.legend.body.color.toString() === a) && (e.legend.body.color = i.textColor));
18459
18463
  }
18460
- function vk(t) {
18464
+ function Lk(t) {
18461
18465
  const { config: e, themeColors: i } = t;
18462
18466
  if (Xo(e) && i.textColor) {
18463
- const a = Da().toString();
18467
+ const a = Ra().toString();
18464
18468
  e.axes?.forEach((o) => {
18465
18469
  o.innerLabel?.content && (!o.innerLabel.content.color || o.innerLabel.content.color.toString() === a) && (o.innerLabel.content.color = i.textColor), o.needle?.symbol && (!o.needle.symbol.color || o.needle.symbol.color.toString() === a) && (o.needle.symbol.color = i.textColor);
18466
18470
  });
18467
18471
  }
18468
18472
  }
18469
- function Lk(t) {
18473
+ function Fk(t) {
18470
18474
  const { config: e, themeColors: i } = t;
18471
18475
  Dt(e) && i.lineColor && e.series.forEach((a) => {
18472
18476
  a.gridLine && !a.gridLine.color && (a.gridLine.color = i.lineColor);
18473
18477
  });
18474
18478
  }
18475
- function Fk(t, e) {
18479
+ function Ak(t, e) {
18476
18480
  const i = Te(t), a = {
18477
18481
  config: i,
18478
18482
  themeColors: e
18479
18483
  };
18480
- return bk(a), yk(a), pk(a), Sk(a), xk(a), vk(a), Ck(a), Lk(a), i;
18484
+ return yk(a), Sk(a), bk(a), Ck(a), vk(a), Lk(a), xk(a), Fk(a), i;
18481
18485
  }
18482
- function Ak() {
18486
+ function Tk() {
18483
18487
  return !0;
18484
18488
  }
18485
- function Tk(t, e) {
18489
+ function kk(t, e) {
18486
18490
  let i;
18487
18491
  const a = Mn(e);
18488
18492
  return a !== void 0 && "definitionExpression" in a && (i = Lt.watch(
@@ -18492,20 +18496,20 @@ function Tk(t, e) {
18492
18496
  }
18493
18497
  )), i;
18494
18498
  }
18495
- function kk(t, e) {
18499
+ function Ik(t, e) {
18496
18500
  let i;
18497
18501
  return e && (i = Lt.watch(
18498
18502
  () => e.renderer,
18499
18503
  () => {
18500
18504
  const { model: a } = t, o = ht(a) ? a.config : a;
18501
18505
  if (_i(o)) {
18502
- const n = Ak();
18506
+ const n = Tk();
18503
18507
  t.refresh({ updateData: n });
18504
18508
  }
18505
18509
  }
18506
18510
  )), i;
18507
18511
  }
18508
- function Ik(t, e) {
18512
+ function wk(t, e) {
18509
18513
  const { view: i } = t;
18510
18514
  let a;
18511
18515
  if (i && e) {
@@ -18516,7 +18520,7 @@ function Ik(t, e) {
18516
18520
  }
18517
18521
  return a;
18518
18522
  }
18519
- function wk(t) {
18523
+ function Dk(t) {
18520
18524
  const { view: e } = t;
18521
18525
  let i;
18522
18526
  return e && (i = Lt.watch(
@@ -18529,9 +18533,9 @@ function wk(t) {
18529
18533
  }
18530
18534
  function ar(t) {
18531
18535
  const { syncViewTimeZone: e, syncViewTimeZoneInclusionList: i, chartConfig: a } = t, o = W(a?.series);
18532
- return (e || (o && i.includes(o)) === !0) && (Dt(a) || Ha(a?.series[0]) && a.axes?.[0].valueFormat?.type === y.DateAxisFormat);
18536
+ return (e || (o && i.includes(o)) === !0) && (Dt(a) || _a(a?.series[0]) && a.axes?.[0].valueFormat?.type === y.DateAxisFormat);
18533
18537
  }
18534
- function Dk(t) {
18538
+ function Rk(t) {
18535
18539
  const { view: e, syncViewTimeZone: i, syncViewTimeZoneInclusionList: a } = t;
18536
18540
  let o;
18537
18541
  return e && "timeZone" in e && (o = Lt.watch(
@@ -18542,7 +18546,7 @@ function Dk(t) {
18542
18546
  }
18543
18547
  )), o;
18544
18548
  }
18545
- function Rk(t, e) {
18549
+ function Mk(t, e) {
18546
18550
  let i;
18547
18551
  const a = Mn(e);
18548
18552
  return a !== void 0 && "fields" in a && (i = Lt.watch(
@@ -18556,7 +18560,7 @@ function Rk(t, e) {
18556
18560
  }
18557
18561
  )), i;
18558
18562
  }
18559
- function Mk(t) {
18563
+ function Ok(t) {
18560
18564
  const { view: e } = t, i = e?.map;
18561
18565
  return i ? Lt.watch(
18562
18566
  // observe initialization changes so unsupported clones can be retried after loading.
@@ -18578,23 +18582,23 @@ function ag(t, e) {
18578
18582
  }
18579
18583
  );
18580
18584
  }
18581
- function Ok(t) {
18585
+ function Bk(t) {
18582
18586
  const { view: e } = t;
18583
18587
  let i;
18584
18588
  return e?.selectionManager && (i = ag(t, e.selectionManager)), i;
18585
18589
  }
18586
- function Bk(t) {
18590
+ function Nk(t) {
18587
18591
  const { selectionManager: e } = t;
18588
18592
  let i;
18589
18593
  return e && (i = ag(t, e)), i;
18590
18594
  }
18591
- async function Nk(t) {
18595
+ async function $k(t) {
18592
18596
  const e = ng(`assets/common/t9n/messages.${t}.json`), i = await fetch(e);
18593
18597
  if (!i.ok)
18594
18598
  throw new Error(`Failed to load t9n file: ${e}`);
18595
18599
  return await i.json();
18596
18600
  }
18597
- async function $k(t = Va(document.documentElement).t9nLocale) {
18601
+ async function Pk(t = Wa(document.documentElement).t9nLocale) {
18598
18602
  let e = (await import("@amcharts/amcharts4/lang/en_US.js")).default;
18599
18603
  switch (t) {
18600
18604
  case "ar":
@@ -18714,7 +18718,7 @@ async function $k(t = Va(document.documentElement).t9nLocale) {
18714
18718
  }
18715
18719
  return e;
18716
18720
  }
18717
- async function Pk(t = Va(document.documentElement).t9nLocale) {
18721
+ async function Vk(t = Wa(document.documentElement).t9nLocale) {
18718
18722
  let e = (await import("@amcharts/amcharts5/locales/en_US.js")).default;
18719
18723
  switch (t) {
18720
18724
  case "ar":
@@ -18837,35 +18841,35 @@ async function Pk(t = Va(document.documentElement).t9nLocale) {
18837
18841
  }
18838
18842
  return e;
18839
18843
  }
18840
- async function Vk(t = Va(document.documentElement).t9nLocale, e) {
18841
- const i = e ? await Pk(t) : await $k(t), a = (await Nk(t)).customAmchartsStrings;
18844
+ async function Wk(t = Wa(document.documentElement).t9nLocale, e) {
18845
+ const i = e ? await Vk(t) : await Pk(t), a = (await $k(t)).customAmchartsStrings;
18842
18846
  return { ...i, ...a };
18843
18847
  }
18844
- const Wk = ({ message: t, heading: e, options: i }) => io`<calcite-alert .icon=${i?.icon ?? "exclamation-mark-triangle"} .open=${i?.active === !0} .autoClose=${i?.autoClose ?? !1} .autoCloseDuration=${i?.duration ?? "medium"} scale=m .kind=${i?.kind ?? "danger"} .ariaHidden=${i?.active !== !0} dir=ltr role=alertdialog label="arcgis charts notify panel">${e !== void 0 ? io`<div slot=title>${e}</div>` : null}${t !== void 0 ? io`<div slot=message>${t}</div>` : null}</calcite-alert>`, Ek = hg`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart{flex-grow:1}.chart>div{justify-content:center;align-items:center}.chart{overflow-y:hidden}:host{width:var(--chart-width, var(--arcgis-charts-default-width));height:var(--chart-height, var(--arcgis-charts-default-height));display:flex;flex-direction:row;position:relative;overflow:hidden}.chart-wrapper{position:relative;width:100%}.chart-container{height:100%;overflow:hidden}`;
18845
- class zk extends $p {
18848
+ const Ek = ({ message: t, heading: e, options: i }) => ao`<calcite-alert .icon=${i?.icon ?? "exclamation-mark-triangle"} .open=${i?.active === !0} .autoClose=${i?.autoClose ?? !1} .autoCloseDuration=${i?.duration ?? "medium"} scale=m .kind=${i?.kind ?? "danger"} .ariaHidden=${i?.active !== !0} dir=ltr role=alertdialog label="arcgis charts notify panel">${e !== void 0 ? ao`<div slot=title>${e}</div>` : null}${t !== void 0 ? ao`<div slot=message>${t}</div>` : null}</calcite-alert>`, zk = hg`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart{flex-grow:1}.chart>div{justify-content:center;align-items:center}.chart{overflow-y:hidden}:host{width:var(--chart-width, var(--arcgis-charts-default-width));height:var(--chart-height, var(--arcgis-charts-default-height));display:flex;flex-direction:row;position:relative;overflow:hidden}.chart-wrapper{position:relative;width:100%}.chart-container{height:100%;overflow:hidden}`;
18849
+ class Hk extends $p {
18846
18850
  constructor(e) {
18847
18851
  super(e);
18848
18852
  }
18849
18853
  addLayerWatchHandlers(e) {
18850
- this.removeLayerWatchHandlers(), this.layerFilterWatchHandler = Tk(this.component, e), this.layerRendererWatchHandler = kk(this.component, e), this.layerFieldsWatchHandler = Rk(this.component, e);
18854
+ this.removeLayerWatchHandlers(), this.layerFilterWatchHandler = kk(this.component, e), this.layerRendererWatchHandler = Ik(this.component, e), this.layerFieldsWatchHandler = Mk(this.component, e);
18851
18855
  }
18852
18856
  setViewExtentChangeWatchHandler(e, i) {
18853
- (e ?? this.component.filterByViewExtent) && (this.removeViewExtentChangeWatchHandlers(), this.viewExtentChangeWatchHandlers = Ik(this.component, i));
18857
+ (e ?? this.component.filterByViewExtent) && (this.removeViewExtentChangeWatchHandlers(), this.viewExtentChangeWatchHandlers = wk(this.component, i));
18854
18858
  }
18855
18859
  setLayerReplacementWatchHandler() {
18856
- this.removeLayerReplacementWatchHandler(), this.layerReplacementWatchHandler = Mk(this.component);
18860
+ this.removeLayerReplacementWatchHandler(), this.layerReplacementWatchHandler = Ok(this.component);
18857
18861
  }
18858
18862
  setViewTimeZoneWatchHandler() {
18859
- this.removeViewTimeZoneChangeWatchHandler(), this.viewTimeZoneChangeWatchHandler = Dk(this.component);
18863
+ this.removeViewTimeZoneChangeWatchHandler(), this.viewTimeZoneChangeWatchHandler = Rk(this.component);
18860
18864
  }
18861
18865
  setViewTimeExtentChangeWatchHandler() {
18862
- this.removeViewTimeExtentChangeWatchHandler(), this.viewTimeExtentChangeWatchHandler = wk(this.component);
18866
+ this.removeViewTimeExtentChangeWatchHandler(), this.viewTimeExtentChangeWatchHandler = Dk(this.component);
18863
18867
  }
18864
18868
  setViewSelectionsChangeWatchHandler() {
18865
- this.removeViewSelectionsChangeWatchHandler(), this.viewSelectionsChangeWatchHandler = Ok(this.component);
18869
+ this.removeViewSelectionsChangeWatchHandler(), this.viewSelectionsChangeWatchHandler = Bk(this.component);
18866
18870
  }
18867
18871
  setSelectionManagerChangeWatchHandler() {
18868
- this.removeSelectionManagerChangeWatchHandler(), this.selectionManagerChangeWatchHandler = Bk(this.component);
18872
+ this.removeSelectionManagerChangeWatchHandler(), this.selectionManagerChangeWatchHandler = Nk(this.component);
18869
18873
  }
18870
18874
  removeLayerWatchHandlers() {
18871
18875
  this.removeLayerFilterWatchHandler(), this.removeLayerRendererWatchHandler(), this.removeLayerFieldsWatchHandler();
@@ -18901,24 +18905,24 @@ class zk extends $p {
18901
18905
  this.viewTimeExtentChangeWatchHandler?.remove(), this.component.runtimeDataFilters?.timeExtent && delete this.component.runtimeDataFilters.timeExtent;
18902
18906
  }
18903
18907
  }
18904
- function Hk(t) {
18905
- return _k(t) || Gk(t) || Xk(t);
18906
- }
18907
18908
  function _k(t) {
18908
- return kl(t) && t.localName === "arcgis-map";
18909
+ return Gk(t) || Xk(t) || Yk(t);
18909
18910
  }
18910
18911
  function Gk(t) {
18911
- return kl(t) && t.localName === "arcgis-scene";
18912
+ return kl(t) && t.localName === "arcgis-map";
18912
18913
  }
18913
18914
  function Xk(t) {
18915
+ return kl(t) && t.localName === "arcgis-scene";
18916
+ }
18917
+ function Yk(t) {
18914
18918
  return kl(t) && t.localName === "arcgis-link-chart";
18915
18919
  }
18916
18920
  function kl(t) {
18917
18921
  return t !== void 0 && "componentOnReady" in t && typeof t.componentOnReady == "function";
18918
18922
  }
18919
- class Yk extends cg {
18923
+ class Uk extends cg {
18920
18924
  constructor() {
18921
- super(), this._messages = Kl(), this._chartRef = pg(), this._commonStrings = Kl({ name: "common", blocking: !0 }), this._watchHandlersController = new zk(this), this._rotated = !1, this._legendVisibility = !1, this._showLoader = !1, this._lastRenderedRevision = 0, this._noRenderingUpdateProps = [
18925
+ super(), this._messages = Kl(), this._chartRef = pg(), this._commonStrings = Kl({ name: "common", blocking: !0 }), this._watchHandlersController = new Hk(this), this._rotated = !1, this._legendVisibility = !1, this._showLoader = !1, this._lastRenderedRevision = 0, this._noRenderingUpdateProps = [
18922
18926
  "_messages",
18923
18927
  "showLoader",
18924
18928
  "infoModalMessage",
@@ -18929,7 +18933,7 @@ class Yk extends cg {
18929
18933
  args: () => [this.referenceElement],
18930
18934
  task: async ([e]) => {
18931
18935
  const i = e ? Pp(this, e) : dg(this.el, "arcgis-map,arcgis-scene,arcgis-link-chart");
18932
- if (Hk(i))
18936
+ if (_k(i))
18933
18937
  return await i?.componentOnReady(), i;
18934
18938
  },
18935
18939
  onComplete: (e) => {
@@ -19119,41 +19123,42 @@ class Yk extends cg {
19119
19123
  this.setTimeBinningInfoWhenNotProvided,
19120
19124
  this.returnFeaturesExtent,
19121
19125
  this.returnSelectionOIDs,
19126
+ this.returnSelectionOIDsDisabled,
19122
19127
  this.chartLimits,
19123
19128
  this._commonStrings?.errorStrings,
19124
19129
  this.timeZone,
19125
19130
  this.queryObject,
19126
19131
  this._checkIfDataUpdateIsNeeded.value?.dataUpdateNeeded
19127
19132
  ],
19128
- task: async ([e, i, a, o, n, s, r, l, c, d, u, f, m, p, b, h], { signal: S }) => {
19129
- const C = this.internalModel?.config, v = b !== this._lastRenderedProps?.extraProps?.layer, x = this.filterByViewExtent !== this._lastRenderedProps?.extraProps?.filterByViewExtent, F = a === !0 && (h || v || x), k = jl({
19133
+ task: async ([e, i, a, o, n, s, r, l, c, d, u, f, m, p, b, h, S], { signal: C }) => {
19134
+ const v = this.internalModel?.config, x = h !== this._lastRenderedProps?.extraProps?.layer, F = this.filterByViewExtent !== this._lastRenderedProps?.extraProps?.filterByViewExtent, k = a === !0 && (S || x || F), T = jl({
19130
19135
  runtimeDataFilters: o,
19131
19136
  view: n,
19132
19137
  viewTimeExtentChangePolicy: s,
19133
19138
  syncViewTimeExtent: r
19134
- }), T = this.getEffectiveTimeZone(C, p), { alteredConfig: I, preFetchedQueryResponse: R } = await yp({
19135
- configToAlter: C,
19139
+ }), I = this.getEffectiveTimeZone(v, b), { alteredConfig: R, preFetchedQueryResponse: D } = await yp({
19140
+ configToAlter: v,
19136
19141
  updateSplitBySeries: i,
19137
- addMissingSeries: F,
19142
+ addMissingSeries: k,
19138
19143
  chartContainer: this.el,
19139
- queryObject: b,
19140
- layer: b,
19141
- abortSignal: S,
19142
- runtimeDataFilters: k,
19144
+ queryObject: h,
19145
+ layer: h,
19146
+ abortSignal: C,
19147
+ runtimeDataFilters: T,
19143
19148
  ignoreViewExtent: l,
19144
19149
  setTimeBinningInfoWhenNotProvided: c,
19145
19150
  returnFeaturesExtent: d,
19146
- // For now the only reason we have to not return the aggregate ids is when returnSelectionOIDs is set to false
19147
- returnStatisticsAggregatedIds: u !== !1,
19148
- timeZone: T,
19149
- chartLimits: f,
19150
- errorStrings: m
19151
+ // For now the only reason we have to not return the aggregate ids is when returnSelectionOIDs is set to false or returnSelectionOIDsDisabled to true
19152
+ returnStatisticsAggregatedIds: u !== !1 && !f,
19153
+ timeZone: I,
19154
+ chartLimits: m,
19155
+ errorStrings: p
19151
19156
  });
19152
- if (this.internalModel?.config?.series.length !== I?.series.length) {
19153
- const D = I?.series.filter((O) => !this.internalModel?.config?.series.some((B) => B.id === O.id)) ?? [];
19154
- this.internalModel?.config?.series.push(...D);
19157
+ if (this.internalModel?.config?.series.length !== R?.series.length) {
19158
+ const O = R?.series.filter((B) => !this.internalModel?.config?.series.some(($) => $.id === B.id)) ?? [];
19159
+ this.internalModel?.config?.series.push(...O);
19155
19160
  }
19156
- return { alteredConfig: I, preFetchedQueryResponse: R };
19161
+ return { alteredConfig: R, preFetchedQueryResponse: D };
19157
19162
  },
19158
19163
  onComplete: () => {
19159
19164
  this.taskCompletionTick++;
@@ -19190,6 +19195,7 @@ class Yk extends cg {
19190
19195
  this.setTimeBinningInfoWhenNotProvided,
19191
19196
  this.returnFeaturesExtent,
19192
19197
  this.returnSelectionOIDs,
19198
+ this.returnSelectionOIDsDisabled,
19193
19199
  this.chartLimits,
19194
19200
  this.hideZeroCountCategories,
19195
19201
  this.replaceNoValueCategoryWithZero,
@@ -19205,61 +19211,61 @@ class Yk extends cg {
19205
19211
  this._prepareConfigForRendering.value?.alteredConfig,
19206
19212
  this._prepareConfigForRendering.value?.preFetchedQueryResponse
19207
19213
  ],
19208
- task: async ([e, i, a, o, n, s, r, l, c, d, u, f, m, p, b, h, S, C, v, x, F, k, T, I], { signal: R }) => {
19209
- let D;
19210
- const { dataUpdateNeeded: O, dataUpdateDetails: B } = await this._checkIfDataUpdateIsNeeded.taskComplete;
19211
- if (T && x && !Zi(T)) {
19212
- const $ = ac({
19213
- input: T,
19214
- queryObject: x,
19215
- allowUsingObjectIdStat: b,
19214
+ task: async ([e, i, a, o, n, s, r, l, c, d, u, f, m, p, b, h, S, C, v, x, F, k, T, I, R], { signal: D }) => {
19215
+ let O;
19216
+ const { dataUpdateNeeded: B, dataUpdateDetails: $ } = await this._checkIfDataUpdateIsNeeded.taskComplete;
19217
+ if (I && F && !Zi(I)) {
19218
+ const V = ac({
19219
+ input: I,
19220
+ queryObject: F,
19221
+ allowUsingObjectIdStat: h,
19216
19222
  errorStrings: i,
19217
19223
  layerLoadError: this.layerLoadError
19218
19224
  });
19219
- if ($.valid && O) {
19220
- const P = Ft(x, a || o), X = ar({
19221
- syncViewTimeZone: C,
19222
- syncViewTimeZoneInclusionList: v,
19223
- chartConfig: T
19225
+ if (V.valid && B) {
19226
+ const X = Ft(F, a || o), H = ar({
19227
+ syncViewTimeZone: v,
19228
+ syncViewTimeZoneInclusionList: x,
19229
+ chartConfig: I
19224
19230
  });
19225
- (bs(k) || ys(k)) && k.splitBySeriesLimitReached && Hh(f).behaviorAfterLimit === _h.Reject ? (D = { valid: !1, seriesCount: k.splitBySeriesCount }, uh({
19226
- dataInfo: D,
19227
- chartType: W(T.series)
19228
- })) : (D = await fh({
19229
- chartConfig: T,
19230
- preFetchedQueryResponse: I,
19231
- queryObject: x,
19231
+ (bs(T) || ys(T)) && T.splitBySeriesLimitReached && Hh(m).behaviorAfterLimit === _h.Reject ? (O = { valid: !1, seriesCount: T.splitBySeriesCount }, uh({
19232
+ dataInfo: O,
19233
+ chartType: W(I.series)
19234
+ })) : (O = await fh({
19235
+ chartConfig: I,
19236
+ preFetchedQueryResponse: R,
19237
+ queryObject: F,
19232
19238
  runtimeDataFilters: n,
19233
19239
  ignoreViewExtent: s,
19234
19240
  filterBySelection: r,
19235
19241
  selectionData: l,
19236
19242
  setTimeBinningInfoWhenNotProvided: c,
19237
19243
  returnFeaturesExtent: d,
19238
- // For now the only reason we have to not return the aggregate ids is when returnSelectionOIDs is set to false
19239
- returnStatisticsAggregatedIds: u !== !1,
19240
- chartLimits: f,
19244
+ // For now the only reason we have to not return the aggregate ids is when returnSelectionOIDs is set to false or returnSelectionOIDsDisabled to true
19245
+ returnStatisticsAggregatedIds: u !== !1 && !f,
19246
+ chartLimits: m,
19241
19247
  popupTemplateFieldInfosEnabled: o,
19242
- hideZeroCountCategories: m,
19243
- replaceNoValueCategoryWithZero: p,
19244
- view: h,
19245
- filterByViewExtent: S,
19246
- syncViewTimeZone: X,
19247
- fieldList: P,
19248
+ hideZeroCountCategories: p,
19249
+ replaceNoValueCategoryWithZero: b,
19250
+ view: S,
19251
+ filterByViewExtent: C,
19252
+ syncViewTimeZone: H,
19253
+ fieldList: X,
19248
19254
  currentSelectionItems: e,
19249
- dataForFilterBySelectionChanged: B?.common?.dataForFilterBySelectionChanged,
19255
+ dataForFilterBySelectionChanged: $?.common?.dataForFilterBySelectionChanged,
19250
19256
  errorStrings: i,
19251
- abortSignal: R
19252
- }), Po(k) && Ip(wp, D.data));
19253
- } else if ($.valid && $o(T) && T.series[0].type === y.GaugeSeries && T.series[0].featureIndex !== void 0 && this._processedChartData) {
19254
- const P = "dataItems" in this._processedChartData ? this._processedChartData.dataItems : [], X = Vl({
19255
- featureIndex: T.series[0].featureIndex,
19256
- chartData: P,
19257
- x: T.series[0].x
19257
+ abortSignal: D
19258
+ }), Po(T) && Ip(wp, O.data));
19259
+ } else if (V.valid && $o(I) && I.series[0].type === y.GaugeSeries && I.series[0].featureIndex !== void 0 && this._processedChartData) {
19260
+ const X = "dataItems" in this._processedChartData ? this._processedChartData.dataItems : [], H = Vl({
19261
+ featureIndex: I.series[0].featureIndex,
19262
+ chartData: X,
19263
+ x: I.series[0].x
19258
19264
  });
19259
- D = { valid: !Number.isNaN(X), data: { ...this._processedChartData } }, Number.isNaN(X) && P.length > 0 && (D.invalidType = oi.NoValue, D.count = P.length);
19265
+ O = { valid: !Number.isNaN(H), data: { ...this._processedChartData } }, Number.isNaN(H) && X.length > 0 && (O.invalidType = oi.NoValue, O.count = X.length);
19260
19266
  }
19261
19267
  }
19262
- return { dataInfo: D, dataWasUpdated: !!D };
19268
+ return { dataInfo: O, dataWasUpdated: !!O };
19263
19269
  },
19264
19270
  onComplete: () => {
19265
19271
  this.taskCompletionTick++;
@@ -19269,10 +19275,10 @@ class Yk extends cg {
19269
19275
  }
19270
19276
  }), this._fetchAmChartsStrings = new ai(this, {
19271
19277
  args: () => [
19272
- Va(this._chartRef.value ?? document.documentElement).t9nLocale,
19278
+ Wa(this._chartRef.value ?? document.documentElement).t9nLocale,
19273
19279
  this._useAmCharts5()
19274
19280
  ],
19275
- task: async ([e, i]) => await Vk(e, i),
19281
+ task: async ([e, i]) => await Wk(e, i),
19276
19282
  onComplete: () => {
19277
19283
  this.taskCompletionTick++;
19278
19284
  },
@@ -19285,13 +19291,13 @@ class Yk extends cg {
19285
19291
  line: "--calcite-color-border-1",
19286
19292
  secondaryLine: "--calcite-color-text-3",
19287
19293
  spinner: "--calcite-color-brand-hover"
19288
- }, this.allowUsingObjectIdStat = !1, this.nullAsValid = !1, this.zeroCountAsValid = !1, this.hideUIMessages = !1, this.showEmptySeries = !1, this.columnGapsEnabled = !1, this.truncateLongTitles = !1, this.autoInverseDataLabelTextColor = !1, this.hideZeroCountCategories = !1, this.ignoreSmoothRenderingLimit = !1, this.returnSelectionIndexes = !1, this.returnFeaturesExtent = !1, this.filterBySelection = !1, this.filterByViewExtent = !1, this.disableInteractions = !1, this.interactionsDisabled = !1, this.skipChartCreationQueue = !1, this.useAnimatedCharts = !1, this.animationsEnabled = !1, this.showLicenseWatermark = !1, this.enableResponsiveFeatures = !1, this.autoDisposeChart = !1, this.setTimeBinningInfoWhenNotProvided = !1, this.errorPolicy = Vo.Throw, this.disableTogglingLegendItems = !1, this.legendInteractionsDisabled = !1, this.hideLoaderAnimation = !1, this.usePopupTemplateFieldsInfo = !1, this.syncViewTimeZoneInclusionList = [y.HeatSeries], this.syncViewTimeZone = !1, this.viewTimeExtentChangePolicy = tu.Ignore, this.syncViewTimeExtent = !1, this.syncSelectionsBetweenChartAndLayerViewPolicy = Ms.Disabled, this.syncViewSelection = !1, this.syncSelection = !1, this.syncChartsSelection = !1, this.ignoreViewExtent = !1, this.autoDestroyDisabled = !1, this.arcgisAxesMinMaxChange = gt(), this.arcgisBadDataWarningRaise = gt(), this.arcgisChartNotFoundWarning = gt(), this.arcgisConfigChange = gt(), this.arcgisDataFetchComplete = gt(), this.arcgisDataProcessComplete = gt(), this.arcgisDataProcessError = gt(), this.arcgisInvalidConfigWarningRaise = gt(), this.arcgisLegendItemVisibilityChange = gt(), this.arcgisNoRenderPropChange = gt(), this.arcgisRenderingComplete = gt(), this.arcgisRuntimeError = gt(), this.arcgisSelectionComplete = gt(), this.arcgisSeriesColorChange = gt(), this.arcgisSeriesOrder = gt(), this.arcgisUpdateComplete = gt(), this.listen("arcgisChartsJSLegendItemVisibilityChange", this._handleLegendItemVisibilityChanged), this.listen("arcgisChartsJSInvalidConfigWarningRaise", this._handleInvalidConfigWarningRaise), this.listen("arcgisChartsJSSeriesColorChange", this._handleSeriesColorsChange), this.listen("arcgisChartsJSSelectionComplete", this._handleSelection), this.listen("arcgisChartsJSTooManySelectedElements", this._handleTooManySelectedElements), this.listen("calciteAlertClose", this._handleAlertClosed), this.listen("arcgisChartsJSAxesMinMaxChange", this._handleAxesMinMaxChange), this.listen("arcgisChartsJSSeriesOrder", this._handleSeriesOrder), this.listen("arcgisChartsJSRenderingComplete", this._handleRenderingComplete), this._addConfigListeners(), this.listenOn(document, "arcgisSelectionComplete", this._handleExternalSelection);
19294
+ }, this.allowUsingObjectIdStat = !1, this.nullAsValid = !1, this.zeroCountAsValid = !1, this.hideUIMessages = !1, this.showEmptySeries = !1, this.columnGapsEnabled = !1, this.truncateLongTitles = !1, this.autoInverseDataLabelTextColor = !1, this.hideZeroCountCategories = !1, this.ignoreSmoothRenderingLimit = !1, this.returnSelectionOIDsDisabled = !1, this.returnSelectionIndexes = !1, this.returnFeaturesExtent = !1, this.filterBySelection = !1, this.filterByViewExtent = !1, this.disableInteractions = !1, this.interactionsDisabled = !1, this.skipChartCreationQueue = !1, this.useAnimatedCharts = !1, this.animationsEnabled = !1, this.showLicenseWatermark = !1, this.enableResponsiveFeatures = !1, this.autoDisposeChart = !1, this.setTimeBinningInfoWhenNotProvided = !1, this.errorPolicy = Vo.Throw, this.disableTogglingLegendItems = !1, this.legendInteractionsDisabled = !1, this.hideLoaderAnimation = !1, this.usePopupTemplateFieldsInfo = !1, this.syncViewTimeZoneInclusionList = [y.HeatSeries], this.syncViewTimeZone = !1, this.viewTimeExtentChangePolicy = tu.Ignore, this.syncViewTimeExtent = !1, this.syncSelectionsBetweenChartAndLayerViewPolicy = Ms.Disabled, this.syncViewSelection = !1, this.syncSelection = !1, this.syncChartsSelection = !1, this.ignoreViewExtent = !1, this.autoDestroyDisabled = !1, this.arcgisAxesMinMaxChange = gt(), this.arcgisBadDataWarningRaise = gt(), this.arcgisChartNotFoundWarning = gt(), this.arcgisConfigChange = gt(), this.arcgisDataFetchComplete = gt(), this.arcgisDataProcessComplete = gt(), this.arcgisDataProcessError = gt(), this.arcgisInvalidConfigWarningRaise = gt(), this.arcgisLegendItemVisibilityChange = gt(), this.arcgisNoRenderPropChange = gt(), this.arcgisRenderingComplete = gt(), this.arcgisRuntimeError = gt(), this.arcgisSelectionComplete = gt(), this.arcgisSeriesColorChange = gt(), this.arcgisSeriesOrder = gt(), this.arcgisUpdateComplete = gt(), this.listen("arcgisChartsJSLegendItemVisibilityChange", this._handleLegendItemVisibilityChanged), this.listen("arcgisChartsJSInvalidConfigWarningRaise", this._handleInvalidConfigWarningRaise), this.listen("arcgisChartsJSSeriesColorChange", this._handleSeriesColorsChange), this.listen("arcgisChartsJSSelectionComplete", this._handleSelection), this.listen("arcgisChartsJSTooManySelectedElements", this._handleTooManySelectedElements), this.listen("calciteAlertClose", this._handleAlertClosed), this.listen("arcgisChartsJSAxesMinMaxChange", this._handleAxesMinMaxChange), this.listen("arcgisChartsJSSeriesOrder", this._handleSeriesOrder), this.listen("arcgisChartsJSRenderingComplete", this._handleRenderingComplete), this._addConfigListeners(), this.listenOn(document, "arcgisSelectionComplete", this._handleExternalSelection);
19289
19295
  }
19290
19296
  static {
19291
- this.properties = { layerFromPortalItem: 16, layerLoadError: 16, layerView: 16, queryObject: 16, internalModel: 16, forceDataUpdateTick: 16, taskCompletionTick: 16, infoModalMessage: 16, notifyMessage: 16, showLoader: 16, modelRevision: 16, internalView: 16, enableBetaFeatures: 5, model: 0, enableConfiguration: 5, configurationEnabled: 5, calciteThemingCSSVariables: 0, rotated: [5, { hasChanged: () => !1 }], actionMode: 1, cursorRange: 1, legendVisibility: [5, { hasChanged: () => !1 }], allowUsingObjectIdStat: 5, nullAsValid: 5, zeroCountAsValid: 5, showUIMessages: 5, hideUIMessages: 5, hideEmptySeries: 5, showEmptySeries: 5, columnGapsEnabled: 5, truncateLongTitles: 5, autoInverseDataLabelTextColor: 5, replaceNoValueCategoryWithZero: 5, hideZeroCountCategories: 5, ignoreSmoothRenderingLimit: 5, chartWillRender: 0, legendValueLabelFormatter: 0, timeZone: 1, view: [0, { hasChanged: () => !1 }], layer: 0, layerItemId: 1, chartIndex: 9, selectionData: 0, returnSelectionOIDs: 5, returnSelectionIndexes: 5, returnFeaturesExtent: 5, filterBySelection: 5, filterByViewExtent: 5, disableInteractions: 5, interactionsDisabled: 5, queueChartCreation: 5, skipChartCreationQueue: 5, useAnimatedCharts: 5, animationEnabled: 5, animationsEnabled: 5, hideLicenseWatermark: 5, showLicenseWatermark: 5, enableResponsiveFeatures: 5, autoDisposeChart: 5, featureIndex: [9, { hasChanged: () => !1 }], placeholder: 1, selectionTheme: 0, setTimeBinningInfoWhenNotProvided: 5, chartLimits: 0, aria: 0, tooltipFormatter: 0, dataLabelFormatter: 0, guideTooltipFormatter: 0, xAxisLabelFormatter: 0, yAxisLabelFormatter: 0, secondaryYAxisLabelFormatter: 0, gaugeInnerLabelFormatter: 0, errorPolicy: 1, disableTogglingLegendItems: 5, togglingLegendItemsDisabled: 5, legendInteractionsDisabled: 5, hideLoaderAnimation: 5, loaderColors: 0, runtimeDataFilters: 0, usePopupTemplateFieldsInfo: 5, syncViewTimeZoneInclusionList: 0, syncViewTimeZone: 5, popupTemplateFieldInfosEnabled: 5, viewTimeExtentChangePolicy: 1, syncViewTimeExtent: 5, syncSelectionsBetweenChartAndLayerViewPolicy: 1, syncViewSelection: 5, syncSelection: 5, syncChartsSelection: 5, ignoreViewExtent: 5, updateSplitBySeries: 0, messageOverrides: 0, autoDestroyDisabled: 5, selectionManager: 0, referenceElement: 1, mapLayerId: 1 };
19297
+ this.properties = { layerFromPortalItem: 16, layerLoadError: 16, layerView: 16, queryObject: 16, internalModel: 16, forceDataUpdateTick: 16, taskCompletionTick: 16, infoModalMessage: 16, notifyMessage: 16, showLoader: 16, modelRevision: 16, internalView: 16, enableBetaFeatures: 5, model: 0, enableConfiguration: 5, configurationEnabled: 5, calciteThemingCSSVariables: 0, rotated: [5, { hasChanged: () => !1 }], actionMode: 1, cursorRange: 1, legendVisibility: [5, { hasChanged: () => !1 }], allowUsingObjectIdStat: 5, nullAsValid: 5, zeroCountAsValid: 5, showUIMessages: 5, hideUIMessages: 5, hideEmptySeries: 5, showEmptySeries: 5, columnGapsEnabled: 5, truncateLongTitles: 5, autoInverseDataLabelTextColor: 5, replaceNoValueCategoryWithZero: 5, hideZeroCountCategories: 5, ignoreSmoothRenderingLimit: 5, chartWillRender: 0, legendValueLabelFormatter: 0, timeZone: 1, view: [0, { hasChanged: () => !1 }], layer: 0, layerItemId: 1, chartIndex: 9, selectionData: 0, returnSelectionOIDs: 5, returnSelectionOIDsDisabled: 5, returnSelectionIndexes: 5, returnFeaturesExtent: 5, filterBySelection: 5, filterByViewExtent: 5, disableInteractions: 5, interactionsDisabled: 5, queueChartCreation: 5, skipChartCreationQueue: 5, useAnimatedCharts: 5, animationEnabled: 5, animationsEnabled: 5, hideLicenseWatermark: 5, showLicenseWatermark: 5, enableResponsiveFeatures: 5, autoDisposeChart: 5, featureIndex: [9, { hasChanged: () => !1 }], placeholder: 1, selectionTheme: 0, setTimeBinningInfoWhenNotProvided: 5, chartLimits: 0, aria: 0, tooltipFormatter: 0, dataLabelFormatter: 0, guideTooltipFormatter: 0, xAxisLabelFormatter: 0, yAxisLabelFormatter: 0, secondaryYAxisLabelFormatter: 0, gaugeInnerLabelFormatter: 0, errorPolicy: 1, disableTogglingLegendItems: 5, togglingLegendItemsDisabled: 5, legendInteractionsDisabled: 5, hideLoaderAnimation: 5, loaderColors: 0, runtimeDataFilters: 0, usePopupTemplateFieldsInfo: 5, syncViewTimeZoneInclusionList: 0, syncViewTimeZone: 5, popupTemplateFieldInfosEnabled: 5, viewTimeExtentChangePolicy: 1, syncViewTimeExtent: 5, syncSelectionsBetweenChartAndLayerViewPolicy: 1, syncViewSelection: 5, syncSelection: 5, syncChartsSelection: 5, ignoreViewExtent: 5, updateSplitBySeries: 0, messageOverrides: 0, autoDestroyDisabled: 5, selectionManager: 0, referenceElement: 1, mapLayerId: 1 };
19292
19298
  }
19293
19299
  static {
19294
- this.styles = Ek;
19300
+ this.styles = zk;
19295
19301
  }
19296
19302
  get _isSelectionManagerEnabled() {
19297
19303
  return this.selectionManager !== void 0 || this.view?.selectionManager !== void 0 && (this.syncViewSelection || this.syncSelectionsBetweenChartAndLayerViewPolicy === Ms.Enabled);
@@ -19369,7 +19375,7 @@ class Yk extends cg {
19369
19375
  };
19370
19376
  if (this._sanitizedChartData) {
19371
19377
  await this._loadQueryObject.taskComplete;
19372
- const n = this.queryObject, s = n ? Ft(n, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled) : void 0, r = this.internalModel?.config, l = mh(this.getEffectiveTimeZone(r)), c = this._processedChartData ?? this._sanitizedChartData, d = await gh(nt(n)), u = r?.chartRenderer ? hh(r.chartRenderer) : [], f = [.../* @__PURE__ */ new Set([...d, ...u])], m = ka(r, f), p = ht(this.internalModel) ? this.internalModel?.titleText : this.internalModel?.config ? Jl(this.internalModel.config) : this._commonStrings.utilsStrings.chartType.chart;
19378
+ const n = this.queryObject, s = n ? Ft(n, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled) : void 0, r = this.internalModel?.config, l = mh(this.getEffectiveTimeZone(r)), c = this._processedChartData ?? this._sanitizedChartData, d = await gh(nt(n)), u = r?.chartRenderer ? hh(r.chartRenderer) : [], f = [.../* @__PURE__ */ new Set([...d, ...u])], m = Ia(r, f), p = ht(this.internalModel) ? this.internalModel?.titleText : this.internalModel?.config ? Jl(this.internalModel.config) : this._commonStrings.utilsStrings.chartType.chart;
19373
19379
  if (Object.values(c).filter((h) => Array.isArray(h) && h.length > 0).length > 1) {
19374
19380
  const h = new gg();
19375
19381
  Object.entries(c).forEach(([C, v]) => {
@@ -19485,9 +19491,9 @@ class Yk extends cg {
19485
19491
  }
19486
19492
  }
19487
19493
  _handleRuntimeError(e) {
19488
- if (e instanceof gi && e.name === oo.QueryFeaturesError ? this.arcgisDataProcessError.emit(e.details) : e instanceof gi && this.arcgisRuntimeError.emit(e.details ?? e), typeof e == "object" && e && "message" in e && !zp(e)) {
19489
- const i = e instanceof gi ? e.message : this._commonStrings?.errorStrings.errors.simpleError;
19490
- this.notify(i, this._commonStrings?.errorStrings.errorHeading);
19494
+ if (e instanceof ni && e.name === La.QueryFeaturesError ? this.arcgisDataProcessError.emit(e.details) : e instanceof ni && this.arcgisRuntimeError.emit(e.details ?? e), typeof e == "object" && e && "message" in e && !zp(e)) {
19495
+ const { message: i, heading: a } = mk(e, this._commonStrings?.errorStrings);
19496
+ this.notify(i, a);
19491
19497
  }
19492
19498
  }
19493
19499
  getEffectiveTimeZone(e, i) {
@@ -19535,7 +19541,7 @@ class Yk extends cg {
19535
19541
  try {
19536
19542
  (!e && !this.loadedLayer || Ql(e, this.loadedLayer) && !Zi(e) && await this._isChartSupportedByDataSource.taskComplete) && await this._renderChart();
19537
19543
  } catch (i) {
19538
- this._chartRef.value !== void 0 && (i instanceof gi && i.name === oo.ChartDisposed ? (this._chart?.dispose(), this._chart = void 0, this._chartRef.value.innerHTML = "", await this._createChartInstance(!1)) : this._handleRuntimeError(i));
19544
+ this._chartRef.value !== void 0 && (i instanceof ni && i.name === La.ChartDisposed ? (this._chart?.dispose(), this._chart = void 0, this._chartRef.value.innerHTML = "", await this._createChartInstance(!1)) : this._handleRuntimeError(i));
19539
19545
  }
19540
19546
  else this._chart === void 0 && await this._createChartInstance();
19541
19547
  this.placeholder !== void 0 ? await this.notify(this.placeholder) : (this.enableConfiguration || this.configurationEnabled) && Zi(e) && this._applyPlaceholderForPartialConfig(e);
@@ -19621,7 +19627,7 @@ class Yk extends cg {
19621
19627
  if (e.schemaErrors.length > 0 && !Zi(a))
19622
19628
  this.notify(i?.invalidConfig, void 0);
19623
19629
  else if (e.customErrors.length > 0 && !Zi(a)) {
19624
- const o = e.customErrors.find((n) => n.keyword === oo.LayerFieldsNotFound);
19630
+ const o = e.customErrors.find((n) => n.keyword === La.LayerFieldsNotFound);
19625
19631
  if (o)
19626
19632
  if (Ye(this.loadedLayer)) {
19627
19633
  const n = Qi(i?.invalidConfigForRaster ?? "", {
@@ -19764,7 +19770,7 @@ class Yk extends cg {
19764
19770
  this._watchHandlersController.removeSelectionManagerChangeWatchHandler();
19765
19771
  }
19766
19772
  _applyPlaceholderForPartialConfig(e) {
19767
- const i = tc(this.internalModel) ? y.ComboLineAndBarSeries : W(e?.series), a = gk(i, this._commonStrings?.errorStrings);
19773
+ const i = tc(this.internalModel) ? y.ComboLineAndBarSeries : W(e?.series), a = hk(i, this._commonStrings?.errorStrings);
19768
19774
  this.notify(a);
19769
19775
  }
19770
19776
  _checkForIncompatibleChartVersion() {
@@ -19862,7 +19868,7 @@ class Yk extends cg {
19862
19868
  i.selectionByIndexesChanged = this.selectionData?.selectionSource !== pe.SelectionByClick && this.selectionData?.selectionSource !== pe.SelectionByRange && !pt(r?.selectionIndexes, this.selectionData?.selectionIndexes), i.selectionByItemsChanged = this.selectionData?.selectionSource !== pe.SelectionByClick && this.selectionData?.selectionSource !== pe.SelectionByRange && Th({
19863
19869
  itemsA: r?.selectionItems,
19864
19870
  itemsB: this.selectionData?.selectionItems,
19865
- isPieFromFields: l === V.PieFromFields,
19871
+ isPieFromFields: l === P.PieFromFields,
19866
19872
  x: a.series[0].x,
19867
19873
  y: "y" in a.series[0] && typeof a.series[0].y == "string" ? a.series[0].y : void 0,
19868
19874
  // currently ony used for heat chart
@@ -19892,7 +19898,7 @@ class Yk extends cg {
19892
19898
  cursorRange: this.cursorRange,
19893
19899
  selectionTheme: this.selectionTheme,
19894
19900
  setTimeBinningInfoWhenNotProvided: this.setTimeBinningInfoWhenNotProvided,
19895
- returnSelectionOIDs: Ye(this.loadedLayer) ? !1 : this.returnSelectionOIDs,
19901
+ returnSelectionOIDs: Ye(this.loadedLayer) ? !1 : this.returnSelectionOIDs !== !1 && !this.returnSelectionOIDsDisabled,
19896
19902
  returnSelectionIndexes: this.returnSelectionIndexes,
19897
19903
  returnFeaturesExtent: this.returnFeaturesExtent,
19898
19904
  hideEmptySeries: this.hideEmptySeries,
@@ -19962,7 +19968,7 @@ class Yk extends cg {
19962
19968
  this._handleUpdateCompleted(e);
19963
19969
  else {
19964
19970
  this.showLoader = !1;
19965
- const { title: a, message: o } = mk({
19971
+ const { title: a, message: o } = gk({
19966
19972
  chartConfig: i,
19967
19973
  createMessage: this.placeholder,
19968
19974
  status: e,
@@ -20090,11 +20096,11 @@ class Yk extends cg {
20090
20096
  queryObject: o,
20091
20097
  chartConfig: u,
20092
20098
  allowColorMatch: vd({ chartConfig: u, queryObject: o })
20093
- })), this._calciteThemeColors && (u = Fk(u, this._calciteThemeColors), this._calciteThemeApplied = wl(this.el));
20099
+ })), this._calciteThemeColors && (u = Ak(u, this._calciteThemeColors), this._calciteThemeApplied = wl(this.el));
20094
20100
  let O = !1, B;
20095
20101
  if (u.series[0].type === y.PieSeries) {
20096
- const P = jt(this._processedChartData), X = jt(b.data);
20097
- O = du(P, X), B = lu({
20102
+ const V = jt(this._processedChartData), X = jt(b.data);
20103
+ O = du(V, X), B = lu({
20098
20104
  creation: a,
20099
20105
  dataInfo: b,
20100
20106
  pieChartDataActuallyChanged: O,
@@ -20123,17 +20129,17 @@ class Yk extends cg {
20123
20129
  allowUsingObjectIdStat: this.allowUsingObjectIdStat,
20124
20130
  errorStrings: this._commonStrings?.errorStrings
20125
20131
  }), m.valid && (u = $.alteredConfig, B = $.alteredPieSlicesSymbols, this._colorMatchApplied = $.colorMatchApplied, this._rendererFieldNames = $.rendererFieldNames, $o(u) && u.series[0].type === y.GaugeSeries && u.series[0].featureIndex !== void 0 && b.data && "dataItems" in b.data))) {
20126
- const P = Vl({
20132
+ const V = Vl({
20127
20133
  featureIndex: u.series[0].featureIndex,
20128
20134
  chartData: b.data.dataItems,
20129
20135
  x: u.series[0].x
20130
20136
  });
20131
- !S && Number.isNaN(P) && b.data.dataItems.length > 0 ? (S = !0, this._raiseInvalidDataWarning({
20137
+ !S && Number.isNaN(V) && b.data.dataItems.length > 0 ? (S = !0, this._raiseInvalidDataWarning({
20132
20138
  invalidType: oi.NoValue,
20133
20139
  seriesCount: b.seriesCount,
20134
20140
  elementCount: b.count,
20135
20141
  queryObject: o
20136
- })) : S && !Number.isNaN(P) && (S = !1, this._hideInfoModal());
20142
+ })) : S && !Number.isNaN(V) && (S = !1, this._hideInfoModal());
20137
20143
  }
20138
20144
  if (u.series[0]?.type === y.PieSeries && b.data && "dataItems" in b.data && Lb({
20139
20145
  data: b.data.dataItems,
@@ -20150,12 +20156,12 @@ class Yk extends cg {
20150
20156
  dataUpdateNeeded: l,
20151
20157
  dataUpdateDetails: r
20152
20158
  }), this._hideInfoModal();
20153
- const P = await this._fetchAmChartsStrings.taskComplete;
20159
+ const V = await this._fetchAmChartsStrings.taskComplete;
20154
20160
  Xo(u) && hb({
20155
20161
  chartConfig: u,
20156
20162
  chartData: b.data
20157
20163
  });
20158
- const G = {
20164
+ const H = {
20159
20165
  ...{
20160
20166
  chartConfig: u,
20161
20167
  options: c,
@@ -20174,7 +20180,7 @@ class Yk extends cg {
20174
20180
  t9nStrings: {
20175
20181
  errorStrings: this._commonStrings?.errorStrings,
20176
20182
  utilsStrings: this._commonStrings?.utilsStrings,
20177
- amChartsStrings: P
20183
+ amChartsStrings: V
20178
20184
  },
20179
20185
  dataUpdateNeededProps: this._getDataUpdateNeededProps()
20180
20186
  },
@@ -20186,10 +20192,10 @@ class Yk extends cg {
20186
20192
  };
20187
20193
  if (a) {
20188
20194
  const Y = this._useAmCharts5() ? fk : fv;
20189
- this._chart = Y(G);
20195
+ this._chart = Y(H);
20190
20196
  } else
20191
- this._chart?.update(G), this._handleUpdateCompleted(m);
20192
- this._lastRenderedProps = G, this._lastRenderedRevision = i ?? 0;
20197
+ this._chart?.update(H), this._handleUpdateCompleted(m);
20198
+ this._lastRenderedProps = H, this._lastRenderedRevision = i ?? 0;
20193
20199
  }
20194
20200
  }
20195
20201
  }
@@ -20200,8 +20206,8 @@ class Yk extends cg {
20200
20206
  }
20201
20207
  }
20202
20208
  render() {
20203
- this._calciteThemeColors = hk(this.el, this.calciteThemingCSSVariables);
20204
- const e = this.notifyMessage ? Wk({ heading: this._notifyHeading, message: this.notifyMessage, options: this._notifyOptions }) : null, i = this.infoModalMessage !== void 0 && this.showUIMessages !== !1 && !this.hideUIMessages || this.showLoader, a = this.notifyMessage && this._notifyOptions?.kind === "danger" || i, o = {
20209
+ this._calciteThemeColors = pk(this.el, this.calciteThemingCSSVariables);
20210
+ const e = this.notifyMessage ? Ek({ heading: this._notifyHeading, message: this.notifyMessage, options: this._notifyOptions }) : null, i = this.infoModalMessage !== void 0 && this.showUIMessages !== !1 && !this.hideUIMessages || this.showLoader, a = this.notifyMessage && this._notifyOptions?.kind === "danger" || i, o = {
20205
20211
  [$t.ChartWrapper]: !0,
20206
20212
  [$t.Hide]: a,
20207
20213
  [$t.Show]: !a,
@@ -20213,12 +20219,12 @@ class Yk extends cg {
20213
20219
  [$t.Chart]: !a,
20214
20220
  [$t.DisableInteractions]: this.interactionsDisabled || this.disableInteractions
20215
20221
  }, s = this.notifyMessage !== void 0 ? { [$t.NotifyPanel]: !0, [$t.Show]: !0 } : { [$t.Hide]: !0 };
20216
- return io`<slot name=${gp.actionBar} @slotchange=${(r) => {
20222
+ return ao`<slot name=${gp.actionBar} @slotchange=${(r) => {
20217
20223
  this._actionBarElement = Mp(r, this.el, this.internalModel?.config);
20218
- }} ${Rl(this._actionBarSlotRef)}></slot>${i ? io`<arcgis-charts-info-modal .heading=${this._infoModalHeading} .message=${this.infoModalMessage} .showLoader=${this.showLoader} .loaderColors=${this.loaderColors} .calciteThemeColors=${this._calciteThemeColors}></arcgis-charts-info-modal>` : null}<div class=${ds(o)}><div class=${ds(n)} ${Rl(this._chartRef)}></div></div><div class=${ds(s)}>${e}</div>`;
20224
+ }} ${Rl(this._actionBarSlotRef)}></slot>${i ? ao`<arcgis-charts-info-modal .heading=${this._infoModalHeading} .message=${this.infoModalMessage} .showLoader=${this.showLoader} .loaderColors=${this.loaderColors} .calciteThemeColors=${this._calciteThemeColors}></arcgis-charts-info-modal>` : null}<div class=${ds(o)}><div class=${ds(n)} ${Rl(this._chartRef)}></div></div><div class=${ds(s)}>${e}</div>`;
20219
20225
  }
20220
20226
  }
20221
- sg("arcgis-chart", Yk);
20227
+ sg("arcgis-chart", Uk);
20222
20228
  export {
20223
- Yk as ArcgisChart
20229
+ Uk as ArcgisChart
20224
20230
  };