@arcgis/charts-components 5.2.0-next.117 → 5.2.0-next.119

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 (134) hide show
  1. package/dist/cdn/{PS2SISM7.js → 2FT66YGB.js} +1 -1
  2. package/dist/cdn/{QXAP7DRB.js → 3FB4VL4V.js} +1 -1
  3. package/dist/cdn/{34JAB5UH.js → 3IQDYASN.js} +1 -1
  4. package/dist/cdn/{CO3FBKOL.js → 4DQNFHA4.js} +1 -1
  5. package/dist/cdn/{JMVO446U.js → 4E34FLKY.js} +1 -1
  6. package/dist/cdn/4GT67VUK.js +3 -0
  7. package/dist/cdn/{GVQYJBVB.js → 4OJBV64G.js} +1 -1
  8. package/dist/cdn/{3YIN5ZR6.js → 54FEODDO.js} +1 -1
  9. package/dist/cdn/{I75CEBPU.js → 57NA55CF.js} +1 -1
  10. package/dist/cdn/{MAUH77PP.js → 5ZFQZ42H.js} +1 -1
  11. package/dist/cdn/{JG6GHMP7.js → 6M7E3THQ.js} +1 -1
  12. package/dist/cdn/{VBESINVQ.js → 6NJAJVK7.js} +1 -1
  13. package/dist/cdn/{CNKLZHH7.js → 6WJOSZSP.js} +1 -1
  14. package/dist/cdn/{3HPWU5ID.js → 7B7BSHUY.js} +1 -1
  15. package/dist/cdn/{2KF6G3TW.js → 7DQL3RAS.js} +1 -1
  16. package/dist/cdn/{F7JZQQEQ.js → 7PYIBZ33.js} +1 -1
  17. package/dist/cdn/{XFWCKK3S.js → 7UMPX2LQ.js} +1 -1
  18. package/dist/cdn/{566ODMCM.js → BK2RYOSA.js} +2 -2
  19. package/dist/cdn/{AQAGHRYN.js → BXZFICFB.js} +1 -1
  20. package/dist/cdn/{PKBRCR4Y.js → CBRWW752.js} +1 -1
  21. package/dist/cdn/{JOAG4YGY.js → CEBD3FDQ.js} +1 -1
  22. package/dist/cdn/{SZAJUT6D.js → CWVNLMZX.js} +1 -1
  23. package/dist/cdn/{D6PBW53D.js → DMQBOIFP.js} +1 -1
  24. package/dist/cdn/{NDW5WZHO.js → E4NQOCML.js} +1 -1
  25. package/dist/cdn/{FIIRJDC2.js → EFNGBCII.js} +1 -1
  26. package/dist/cdn/{NJOQ5MC6.js → EO7T3USZ.js} +22 -22
  27. package/dist/cdn/{JPMGLG7L.js → GNQMXAHH.js} +1 -1
  28. package/dist/cdn/{75EPETWU.js → GWEJGUQW.js} +1 -1
  29. package/dist/cdn/{JRNZ74TV.js → I4OUQANJ.js} +1 -1
  30. package/dist/cdn/{HAVT2ATQ.js → IK6MY2HE.js} +1 -1
  31. package/dist/cdn/{7GYKQBI2.js → ILETGW72.js} +1 -1
  32. package/dist/cdn/{4EEANOMS.js → JFR5JVI4.js} +1 -1
  33. package/dist/cdn/{OJ4IPOIX.js → JTMG4KRE.js} +1 -1
  34. package/dist/cdn/{LVMKNGET.js → KQE3QJXP.js} +1 -1
  35. package/dist/cdn/{HHW3YRII.js → LLDSFQI7.js} +1 -1
  36. package/dist/cdn/{2RX7CFJZ.js → LSF3Q5BI.js} +1 -1
  37. package/dist/cdn/{DWXKIA5H.js → LU5W5OGX.js} +1 -1
  38. package/dist/cdn/{5JACBJVQ.js → MCN2YAVQ.js} +1 -1
  39. package/dist/cdn/{3P5DXQON.js → ME2KXZR6.js} +1 -1
  40. package/dist/cdn/{TPNCYNX4.js → MM5DWG4Z.js} +1 -1
  41. package/dist/cdn/{D5NCBP6F.js → MQ7D32MU.js} +1 -1
  42. package/dist/cdn/{SYCVCYOW.js → MWRN4NMP.js} +1 -1
  43. package/dist/cdn/{5OD74CU7.js → N6LRLTXP.js} +1 -1
  44. package/dist/cdn/{KTMIUASB.js → NFNBC6UE.js} +1 -1
  45. package/dist/cdn/{2M6NOWZH.js → NKN5XA65.js} +1 -1
  46. package/dist/cdn/{CMECSKKT.js → NSBQKGDJ.js} +1 -1
  47. package/dist/cdn/{IBEXJF3Q.js → NT6PULFX.js} +1 -1
  48. package/dist/cdn/{QWBGD3GZ.js → O7B23KPW.js} +1 -1
  49. package/dist/cdn/{6RFRWYM2.js → OXS3BUVP.js} +1 -1
  50. package/dist/cdn/{6FXRJNB7.js → PA4HXFQK.js} +1 -1
  51. package/dist/cdn/{3BLSEO47.js → PBXZMEVT.js} +1 -1
  52. package/dist/cdn/{ZEQQTM2Z.js → PFP7IW2P.js} +1 -1
  53. package/dist/cdn/{KMM4522Z.js → PMDOO6MT.js} +1 -1
  54. package/dist/cdn/{2T7ZUVHP.js → PR2Q6DG2.js} +1 -1
  55. package/dist/cdn/{CIK43DDR.js → PVEQBJJK.js} +1 -1
  56. package/dist/cdn/{V5FIMV2Y.js → QDZAPDWO.js} +1 -1
  57. package/dist/cdn/{UYMG3L2D.js → RAWLJTGB.js} +1 -1
  58. package/dist/cdn/{KOXVXSWF.js → SDIXQEHK.js} +1 -1
  59. package/dist/cdn/{GXHUAPY5.js → SG5JZOJ4.js} +1 -1
  60. package/dist/cdn/{7D5IELSU.js → T2H5CAKE.js} +1 -1
  61. package/dist/cdn/{IUBSW7JZ.js → T6PAF3J4.js} +1 -1
  62. package/dist/cdn/{7DX2X2M6.js → TMWU4SXC.js} +1 -1
  63. package/dist/cdn/{QBMK6EE3.js → TOMROR3N.js} +1 -1
  64. package/dist/cdn/{AOZG77WL.js → TSXJ54LN.js} +1 -1
  65. package/dist/cdn/{53TSMZAM.js → TT5NFCCN.js} +1 -1
  66. package/dist/cdn/{GQDSTKYF.js → TTM72ER2.js} +1 -1
  67. package/dist/cdn/{4YMHNMGU.js → TUB6DD6P.js} +1 -1
  68. package/dist/cdn/V6MYWJ43.js +2 -0
  69. package/dist/cdn/{TH2ZBUJD.js → VCE423TR.js} +1 -1
  70. package/dist/cdn/{DCW2ZBK4.js → VLKYXLGM.js} +1 -1
  71. package/dist/cdn/{NORI6CPC.js → VNVHYLZL.js} +1 -1
  72. package/dist/cdn/{BKHAERW7.js → VRUHRMTR.js} +1 -1
  73. package/dist/cdn/{3DN2BHOQ.js → VZJ3P6H4.js} +1 -1
  74. package/dist/cdn/{AKJDIMQC.js → W4FQX5MZ.js} +1 -1
  75. package/dist/cdn/{7CLOBWEI.js → WIIKUAWF.js} +2 -2
  76. package/dist/cdn/{6OFVY2BU.js → WKDCLXKD.js} +1 -1
  77. package/dist/cdn/{IVRYUXG3.js → XFVY54OH.js} +1 -1
  78. package/dist/cdn/{WCK7BM4P.js → XTBDGM2C.js} +1 -1
  79. package/dist/cdn/{ACY2RJG6.js → XUUBAZXM.js} +1 -1
  80. package/dist/cdn/{7L6JYKL3.js → YCEGV32W.js} +1 -1
  81. package/dist/cdn/{CHV2N66C.js → ZFETT6QS.js} +1 -1
  82. package/dist/cdn/{HPQZQRHD.js → ZLBGJEXZ.js} +1 -1
  83. package/dist/cdn/{HCDDOFOP.js → ZMOIBU57.js} +1 -1
  84. package/dist/cdn/{7ESDYEUI.js → ZMV4LQYC.js} +1 -1
  85. package/dist/cdn/index.js +1 -1
  86. package/dist/cdn/model/shared/setup-utils.js +1 -1
  87. package/dist/chunks/box-plot-data.js +1 -1
  88. package/dist/chunks/box-plot-model.js +1 -1
  89. package/dist/chunks/chart-ui-utils.js +11 -11
  90. package/dist/chunks/class-breaks.js +1 -1
  91. package/dist/chunks/combo-bar-line-chart-model.js +4 -4
  92. package/dist/chunks/data.js +19 -19
  93. package/dist/chunks/index.js +750 -723
  94. package/dist/chunks/index2.js +26 -25
  95. package/dist/chunks/index4.js +7 -7
  96. package/dist/chunks/model-setter.js +1 -1
  97. package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
  98. package/dist/chunks/rounded-corners.js +3 -3
  99. package/dist/chunks/scatterplot-model.js +9 -9
  100. package/dist/chunks/serial-chart-data.js +81 -81
  101. package/dist/chunks/serial-chart-model.js +14 -14
  102. package/dist/chunks/utils.js +8 -8
  103. package/dist/chunks/web-component-utils.js +19 -19
  104. package/dist/chunks/x-bounds.js +13 -13
  105. package/dist/components/arcgis-chart/customElement.js +3484 -3423
  106. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  107. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +4 -4
  108. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +12 -12
  109. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  110. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  111. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  112. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  113. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  114. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  115. package/dist/components/arcgis-charts-config-guide/customElement.js +10 -10
  116. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  117. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
  118. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  119. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  120. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  121. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  122. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  123. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -4
  124. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  125. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  126. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  127. package/dist/docs/api.json +1 -1
  128. package/dist/docs/docs.json +1 -1
  129. package/dist/docs/web-types.json +1 -1
  130. package/dist/index.js +85 -85
  131. package/dist/utils/chart-config/converter/index.js +20 -20
  132. package/package.json +4 -4
  133. package/dist/cdn/5NLH5NS2.js +0 -3
  134. package/dist/cdn/PB2TARKD.js +0 -2
@@ -1,18 +1,18 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { cloneDeep as Re, isEqual as nt, isArray as hi, isNil as Ea, isEmpty as qa, memoize as Qe, sortBy as Oi } from "lodash-es";
2
+ import { cloneDeep as Re, isEqual as st, isArray as hi, isNil as Ea, isEmpty as qa, memoize as Qe, sortBy as Oi } from "lodash-es";
3
3
  import { C, i as ne, a as S, v as Kt, g as ur, f as Si, w as ai, x as Pe, y as Ht, z as cr, b as ni, t as Ra, r as Va, B as $a, e as Ei, n as dr } from "./index2.js";
4
- import { a as si, b as xe, d as X, e as et, c as ce } from "./rest-js-object-literals.js";
5
- import { a as h, f as ka, e as _, d as D, b as ie, l as he, s as ee, G as fr, g as ye, c as Ae, t as Ee, h as Se, S as mr, o as tt } from "./chart-object-literals.js";
4
+ import { a as si, b as xe, d as X, e as tt, c as de } from "./rest-js-object-literals.js";
5
+ import { a as h, f as ka, e as _, d as D, b as ie, l as he, s as ee, G as fr, g as ye, c as Ae, t as Ee, h as Se, S as mr, o as it } from "./chart-object-literals.js";
6
6
  import Qa from "@arcgis/core/Graphic.js";
7
7
  import * as Ut from "@arcgis/core/renderers/support/jsonUtils.js";
8
8
  import * as ei from "@arcgis/core/symbols/support/symbolUtils.js";
9
- import { g as Q, s as _a } from "./series-types.js";
10
- import { q as k, g as gr, Q as Ha, l as zt, i as G, R as ct, S as Gt, T as Ua, U as dt, a as qi, V as qe, C as yr, L as za, M as Ga, r as pr, p as oi } from "./index3.js";
11
- import { i as te, c as st, d as hr, a as yt, e as Wa, f as ja, g as Xa } from "./type-guards.js";
9
+ import { g as $, s as _a } from "./series-types.js";
10
+ import { q as Q, g as gr, Q as Ha, l as zt, i as G, R as ct, S as Gt, T as Ua, U as dt, a as qi, V as qe, C as yr, L as za, M as Ga, r as pr, p as oi } from "./index3.js";
11
+ import { i as te, c as Ue, d as hr, a as yt, e as Wa, f as ja, g as Xa } from "./type-guards.js";
12
12
  import Ri from "@arcgis/core/layers/support/FeatureFilter.js";
13
13
  import Ya from "@arcgis/core/smartMapping/statistics/histogram.js";
14
14
  import Vi from "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
15
- import { computeStatisticsHistograms as Za, computeRasterAttributeTable as Ja, getCurrentRasterInfo as Xe, fetchPixelFeatureSet as Ka } from "@arcgis/core/applications/Components/imageryUtils.js";
15
+ import { computeStatisticsHistograms as Za, computeRasterAttributeTable as Ja, getCurrentRasterInfo as Ye, fetchPixelFeatureSet as Ka } from "@arcgis/core/applications/Components/imageryUtils.js";
16
16
  import * as Fi from "@arcgis/core/core/promiseUtils.js";
17
17
  import Sr from "@arcgis/core/geometry/Point.js";
18
18
  import * as Fr from "@arcgis/core/geometry/support/jsonUtils.js";
@@ -25,7 +25,7 @@ import an from "@arcgis/core/layers/support/CodedValueDomain.js";
25
25
  import nn from "@arcgis/core/layers/support/Field.js";
26
26
  import * as sn from "@arcgis/core/layers/support/fieldUtils.js";
27
27
  import on from "@arcgis/core/portal/Portal.js";
28
- import It from "@arcgis/core/request.js";
28
+ import Dt from "@arcgis/core/request.js";
29
29
  import xr from "@arcgis/core/rest/support/FeatureSet.js";
30
30
  import ln from "@arcgis/core/layers/ImageryLayer.js";
31
31
  import un from "@arcgis/core/layers/ImageryTileLayer.js";
@@ -33,18 +33,18 @@ import cn from "@arcgis/core/layers/WCSLayer.js";
33
33
  import dn from "@arcgis/core/geometry/Extent.js";
34
34
  import { linearRegression as fn, linearRegressionLine as mn, rSquared as gn } from "simple-statistics";
35
35
  import { fetchT9nStringsBundle as pt, supportedLocales as Cr } from "@arcgis/toolkit/intl";
36
- import { getElementLocale as Ue } from "@arcgis/toolkit/intl/dom";
36
+ import { getElementLocale as ze } from "@arcgis/toolkit/intl/dom";
37
37
  import { g as ht } from "./runtime.js";
38
38
  import { DateTime as ge } from "luxon";
39
39
  import yn from "@arcgis/core/AttributeBinsGraphic.js";
40
40
  import { substitute as be } from "@arcgis/core/intl.js";
41
41
  import { unsafeGetElementDirection as pn } from "@arcgis/toolkit/dom";
42
42
  import { sqlLiteral as hn } from "@arcgis/core/core/sql.js";
43
- function Dt(t) {
43
+ function Ot(t) {
44
44
  return t?.type === h.NumberAxisFormat;
45
45
  }
46
46
  function Vc(t) {
47
- return Dt(t) && t.intlOptions?.style === "percent";
47
+ return Ot(t) && t.intlOptions?.style === "percent";
48
48
  }
49
49
  function Be(t) {
50
50
  return t.axes?.[0]?.valueFormat?.type;
@@ -52,7 +52,7 @@ function Be(t) {
52
52
  function $c(t) {
53
53
  return t.intlOptions;
54
54
  }
55
- function Ot(t) {
55
+ function Et(t) {
56
56
  return t?.type === h.CategoryAxisFormat;
57
57
  }
58
58
  function Br(t) {
@@ -67,7 +67,7 @@ function kc(t) {
67
67
  }
68
68
  function Sn(t) {
69
69
  const { isXAxis: e, chartType: i, valueFormat: r, isAxisForHistogramOverlaySeries: a } = t;
70
- return i === h.HeatSeries || e && (Ot(r) || i === h.HistogramSeries && !a || i === h.BarSeries && Dt(r));
70
+ return i === h.HeatSeries || e && (Et(r) || i === h.HistogramSeries && !a || i === h.BarSeries && Ot(r));
71
71
  }
72
72
  const St = {
73
73
  ...C,
@@ -272,7 +272,7 @@ function vn(t) {
272
272
  return t?.capabilities?.queryAttributeBins?.supportsFixedInterval === !0 && t?.capabilities?.queryAttributeBins?.supportsStackBy;
273
273
  }
274
274
  function Gc(t) {
275
- const { chartConfig: e, queryObject: i, options: r } = t, a = Q(e?.series), n = ae(e?.series[0]?.query?.where);
275
+ const { chartConfig: e, queryObject: i, options: r } = t, a = $(e?.series), n = re(e?.series[0]?.query?.where);
276
276
  return !(a === h.HeatSeries || e && De({
277
277
  xAxisValueFormatType: Be(e),
278
278
  setTimeBinningInfoWhenNotProvided: r?.setTimeBinningInfoWhenNotProvided,
@@ -317,7 +317,7 @@ function Xc(t) {
317
317
  let r;
318
318
  if (i) {
319
319
  const a = W(i);
320
- st(a) ? r = {
320
+ Ue(a) ? r = {
321
321
  id: a.id,
322
322
  layerType: "ArcGISImageServiceLayer"
323
323
  } : hr(a) ? r = {
@@ -330,7 +330,7 @@ function Xc(t) {
330
330
  }
331
331
  return { ...e, iLayer: r };
332
332
  }
333
- const ze = /* @__PURE__ */ new Map();
333
+ const Ge = /* @__PURE__ */ new Map();
334
334
  function An(t) {
335
335
  let e;
336
336
  switch (t) {
@@ -360,7 +360,7 @@ async function wn(t) {
360
360
  let m;
361
361
  const g = W(e), y = pe(g);
362
362
  if (y) {
363
- const F = { where: Y([l, y.definitionExpression]) }, x = { query: F, signal: o }, T = Ye(c)?.extent?.toJSON();
363
+ const F = { where: Y([l, y.definitionExpression]) }, x = { query: F, signal: o }, T = Ze(c)?.extent?.toJSON();
364
364
  if (T !== void 0) {
365
365
  const b = An(d), { xmin: v, ymin: N, xmax: A, ymax: P } = T;
366
366
  F.geometryType = "esriGeometryEnvelope", F.geometry = `${v},${N},${A},${P}`, u !== void 0 && (F.distance = u.toString()), b !== void 0 && (F.units = b, c?.spatialReference?.wkid != null && (F.inSR = c.spatialReference.wkid.toString()));
@@ -368,10 +368,10 @@ async function wn(t) {
368
368
  f && (F.time = `${f[0]},${f[1]}`);
369
369
  const B = `${y.url}/${y.layerId}/queryAnalytic?f=${r}&dataFormat=${a}&outAnalytics=${n}`;
370
370
  try {
371
- m = (await It(B, x)).data?.features?.[0]?.attributes;
371
+ m = (await Dt(B, x)).data?.features?.[0]?.attributes;
372
372
  } catch (b) {
373
373
  const v = s ?? (await pt(
374
- Ue(document.documentElement).t9nLocale,
374
+ ze(document.documentElement).t9nLocale,
375
375
  ht("./assets/common/t9n"),
376
376
  "messages."
377
377
  )).errorStrings;
@@ -512,7 +512,7 @@ async function In(t) {
512
512
  }
513
513
  return o;
514
514
  }
515
- async function Bt(t) {
515
+ async function vt(t) {
516
516
  const { queryObject: e, queryConfig: i, abortKey: r, errorStrings: a, abortSignal: n } = t, { outStatistics: s } = i, o = /* @__PURE__ */ new Map();
517
517
  if (s !== void 0 && s.length > 0) {
518
518
  const l = s.map((f) => {
@@ -532,12 +532,12 @@ async function Bt(t) {
532
532
  let u;
533
533
  try {
534
534
  u = await e.queryFeatures(c, {
535
- signal: n ?? (r !== void 0 ? ze.get(r)?.signal : void 0)
535
+ signal: n ?? (r !== void 0 ? Ge.get(r)?.signal : void 0)
536
536
  });
537
537
  } catch (f) {
538
538
  if (!Fi.isAbortError(f)) {
539
539
  const m = a ?? (await pt(
540
- Ue(document.documentElement).t9nLocale,
540
+ ze(document.documentElement).t9nLocale,
541
541
  ht("./assets/common/t9n"),
542
542
  "messages."
543
543
  )).errorStrings;
@@ -566,7 +566,7 @@ async function wr(t) {
566
566
  abortSignal: o
567
567
  } = t;
568
568
  let l = [];
569
- const c = W(e), u = o || (n !== void 0 ? ze.get(n)?.signal : void 0), d = r === !0 ? void 0 : zn(c), f = xi({
569
+ const c = W(e), u = o || (n !== void 0 ? Ge.get(n)?.signal : void 0), d = r === !0 ? void 0 : zn(c), f = xi({
570
570
  queryObject: e,
571
571
  queryConfig: i,
572
572
  maxRecordCountFactor: d,
@@ -577,7 +577,7 @@ async function wr(t) {
577
577
  } catch (m) {
578
578
  if (!Fi.isAbortError(m)) {
579
579
  const g = s ?? (await pt(
580
- Ue(document.documentElement).t9nLocale,
580
+ ze(document.documentElement).t9nLocale,
581
581
  ht("./assets/common/t9n"),
582
582
  "messages."
583
583
  )).errorStrings;
@@ -589,7 +589,7 @@ async function wr(t) {
589
589
  async function Dn(t) {
590
590
  const e = [], { featureCount: i, maxRecords: r, queryConfig: a, abortSignal: n } = t;
591
591
  let s = [], o = 0, l = a?.start ?? 0;
592
- for (; o < k.maxParallelRequests && l < i; ) {
592
+ for (; o < Q.maxParallelRequests && l < i; ) {
593
593
  const u = { ...t };
594
594
  u.queryConfig = {
595
595
  ...a,
@@ -615,9 +615,9 @@ async function Fe(t) {
615
615
  const d = W(e), f = a ?? 1, m = Pr(d);
616
616
  if (n !== !0 && f > m && d?.capabilities?.query.supportsPagination) {
617
617
  let g = 0, y = 0;
618
- const p = Math.ceil(f / m), F = Math.ceil(p / k.maxParallelRequests), x = [];
618
+ const p = Math.ceil(f / m), F = Math.ceil(p / Q.maxParallelRequests), x = [];
619
619
  for (; y < F; ) {
620
- g = y * k.maxParallelRequests * m;
620
+ g = y * Q.maxParallelRequests * m;
621
621
  const B = Dn({
622
622
  queryConfig: { ...i, start: g },
623
623
  queryObject: e,
@@ -658,8 +658,8 @@ async function On(t) {
658
658
  }
659
659
  function En(t) {
660
660
  if (t !== void 0) {
661
- const e = ze.get(t);
662
- e !== void 0 && e.abort(), ze.set(t, new AbortController());
661
+ const e = Ge.get(t);
662
+ e !== void 0 && e.abort(), Ge.set(t, new AbortController());
663
663
  }
664
664
  }
665
665
  function Lr(t) {
@@ -702,7 +702,7 @@ async function qn(t) {
702
702
  }
703
703
  } catch (y) {
704
704
  const p = o ?? (await pt(
705
- Ue(document.documentElement).t9nLocale,
705
+ ze(document.documentElement).t9nLocale,
706
706
  ht("./assets/common/t9n"),
707
707
  "messages."
708
708
  )).errorStrings;
@@ -711,7 +711,7 @@ async function qn(t) {
711
711
  }
712
712
  if (m === !1) {
713
713
  const g = o ?? (await pt(
714
- Ue(document.documentElement).t9nLocale,
714
+ ze(document.documentElement).t9nLocale,
715
715
  ht("./assets/common/t9n"),
716
716
  "messages."
717
717
  )).errorStrings;
@@ -729,10 +729,10 @@ function Rn(t) {
729
729
  return e && r;
730
730
  }
731
731
  function Pr(t) {
732
- let e = k.maxRecords;
732
+ let e = Q.maxRecords;
733
733
  if (t && "sourceJSON" in t && t.sourceJSON?.maxRecordCount) {
734
734
  const { sourceJSON: i } = t;
735
- e = i.maxRecordCount, i.advancedQueryCapabilities?.supportsMaxRecordCountFactor === !0 && (e *= k.maxRecordCountFactor);
735
+ e = i.maxRecordCount, i.advancedQueryCapabilities?.supportsMaxRecordCountFactor === !0 && (e *= Q.maxRecordCountFactor);
736
736
  }
737
737
  return e;
738
738
  }
@@ -765,7 +765,7 @@ function Yc(t) {
765
765
  end: new Date(t[1])
766
766
  })), e;
767
767
  }
768
- function Ye(t) {
768
+ function Ze(t) {
769
769
  let e;
770
770
  return t !== void 0 && (e = Fr.fromJSON(t)), e;
771
771
  }
@@ -796,7 +796,7 @@ function Wt(t) {
796
796
  (N) => N.statisticType !== D.EnvelopeAggregate || v
797
797
  ).map((N) => tn.fromJSON(N));
798
798
  }
799
- const b = Ye(d);
799
+ const b = Ze(d);
800
800
  return b !== void 0 && (x.geometry = b, r?.spatialRelationship && (x.spatialRelationship = r.spatialRelationship), Nr(p) && (f !== void 0 && (x.distance = f), m !== void 0 && (x.units = m))), g && (x.timeExtent = new br({
801
801
  start: g?.[0],
802
802
  end: g?.[1]
@@ -961,7 +961,7 @@ function Hn(t) {
961
961
  p.binParameters = {
962
962
  type: "fixed-interval",
963
963
  interval: 1
964
- }, p.lowerBoundaryAlias = k.heatChartLowerBoundaryAlias, p.upperBoundaryAlias = k.heatChartUpperBoundaryAlias, o !== void 0 && (p.binParameters.firstDayOfWeek = o);
964
+ }, p.lowerBoundaryAlias = Q.heatChartLowerBoundaryAlias, p.upperBoundaryAlias = Q.heatChartUpperBoundaryAlias, o !== void 0 && (p.binParameters.firstDayOfWeek = o);
965
965
  const F = ki({
966
966
  temporalBinning: n,
967
967
  xOrY: r,
@@ -1019,7 +1019,7 @@ function xi(t) {
1019
1019
  return d.outFields = Mr(u), d.groupByFieldsForStatistics = n ?? d.groupByFieldsForStatistics, d.orderByFields = s ?? [], d.objectIds = i?.objectIds, r !== void 0 && (d.maxRecordCountFactor = r), o !== void 0 && o !== "" && (d.gdbVersion = o), c !== void 0 && (d.num = c), l !== void 0 && (d.start = l, d.num = d.num ?? Pr(f)), d;
1020
1020
  }
1021
1021
  function zn(t) {
1022
- return t && "sourceJSON" in t && t.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor === !0 ? k.maxRecordCountFactor : void 0;
1022
+ return t && "sourceJSON" in t && t.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor === !0 ? Q.maxRecordCountFactor : void 0;
1023
1023
  }
1024
1024
  const Zc = {
1025
1025
  sanitizeOutFields: Mr
@@ -1035,7 +1035,7 @@ const Zc = {
1035
1035
  AdditionalProperties: "additionalProperties",
1036
1036
  Enum: "enum",
1037
1037
  AnyOf: "anyOf"
1038
- }, $ = {
1038
+ }, k = {
1039
1039
  BadData: "badData",
1040
1040
  EmptyDataSet: "emptyDataSet",
1041
1041
  NoValue: "noValue",
@@ -1072,18 +1072,18 @@ function Wn(t) {
1072
1072
  return e;
1073
1073
  }
1074
1074
  async function jn(t) {
1075
- const { chartConfig: e, queryConfig: i, queryObject: r, filterByViewExtent: a, view: n, abortKey: s, abortSignal: o } = t, l = o ?? (s !== void 0 ? ze.get(s)?.signal : void 0), c = e.series[0], { x: u, dataTransformationType: d, binCount: f } = c, m = W(r);
1075
+ const { chartConfig: e, queryConfig: i, queryObject: r, filterByViewExtent: a, view: n, abortKey: s, abortSignal: o } = t, l = o ?? (s !== void 0 ? Ge.get(s)?.signal : void 0), c = e.series[0], { x: u, dataTransformationType: d, binCount: f } = c, m = W(r);
1076
1076
  if (!te(m))
1077
1077
  throw new oe(le.LayerNotSupported);
1078
1078
  const g = await ft(m, l);
1079
1079
  if (!g)
1080
1080
  throw new Error("Raster info is not available for the layer.");
1081
- let y = Ye(i.geometry);
1082
- const p = $t(m, u);
1081
+ let y = Ze(i.geometry);
1082
+ const p = kt(m, u);
1083
1083
  if (p < 0)
1084
1084
  throw new Error("Band ID not found for `${x}`.");
1085
1085
  let F, x;
1086
- if (!a && (d === void 0 || d === ee.None) && !(st(m) && kt(m)) && f && Array.isArray(g.histograms) && g.histograms.length > p && g.histograms[p].size % f === 0 && Array.isArray(g.statistics) && g?.statistics?.length > p)
1086
+ if (!a && (d === void 0 || d === ee.None) && !(Ue(m) && Ct(m)) && f && Array.isArray(g.histograms) && g.histograms.length > p && g.histograms[p].size % f === 0 && Array.isArray(g.statistics) && g?.statistics?.length > p)
1087
1087
  F = g.histograms[p], x = g.statistics[p];
1088
1088
  else {
1089
1089
  let T, B, b;
@@ -1092,7 +1092,7 @@ async function jn(t) {
1092
1092
  else {
1093
1093
  const N = Gn, A = 2;
1094
1094
  let P = g.width, M = g.height;
1095
- if (!a && !y && st(m) && kt(m))
1095
+ if (!a && !y && Ue(m) && Ct(m))
1096
1096
  try {
1097
1097
  const L = m.createQuery(), { extent: O } = await m.queryExtent(L, { signal: l });
1098
1098
  O && (P = O.width, M = O.height, y = O);
@@ -1190,12 +1190,12 @@ async function Yn(t) {
1190
1190
  }
1191
1191
  } : l = {
1192
1192
  valid: !1,
1193
- invalidType: $.EmptyDataSet
1193
+ invalidType: k.EmptyDataSet
1194
1194
  };
1195
1195
  } else
1196
1196
  l = {
1197
1197
  valid: !1,
1198
- invalidType: $.NoValue
1198
+ invalidType: k.NoValue
1199
1199
  // for #17296
1200
1200
  // invalidType: DataWarningKeywords.BadData, // 2DO: review whether to use BadData or NoValue after future enhancement
1201
1201
  };
@@ -1203,7 +1203,7 @@ async function Yn(t) {
1203
1203
  }
1204
1204
  const Zn = (t) => t.series[0].x;
1205
1205
  function Jn(t) {
1206
- const { chartConfig: e, layer: i, selectionItems: r } = t, a = $t(i, Zn(e)), s = r.map((c) => [
1206
+ const { chartConfig: e, layer: i, selectionItems: r } = t, a = kt(i, Zn(e)), s = r.map((c) => [
1207
1207
  c.minValue,
1208
1208
  c.maxValue
1209
1209
  ]).reduce((c, u, d) => {
@@ -1287,7 +1287,7 @@ async function is(t) {
1287
1287
  if (a && s?.url !== void 0 && s.url !== null) {
1288
1288
  const o = `${s.url}/${s.layerId}?f=json`;
1289
1289
  try {
1290
- const l = (await It(o, { signal: i })).data, c = l?.advancedQueryCapabilities?.supportsQueryAnalytic === !0, u = l?.sqlParserVersion === void 0 || s.version != null && s.version >= 10.91;
1290
+ const l = (await Dt(o, { signal: i })).data, c = l?.advancedQueryCapabilities?.supportsQueryAnalytic === !0, u = l?.sqlParserVersion === void 0 || s.version != null && s.version >= 10.91;
1291
1291
  r = c && u;
1292
1292
  } catch {
1293
1293
  }
@@ -1382,22 +1382,22 @@ function rd(t, e) {
1382
1382
  let i = "";
1383
1383
  const n = (e ?? 0) / 2, s = 0 - n, o = 0 + n, l = 0 - n, c = 0 + n;
1384
1384
  switch (t) {
1385
- case et.Circle:
1385
+ case tt.Circle:
1386
1386
  i = `M ${s},0 a ${n},${n} 0 1,0 ${n * 2},0 a ${n},${n} 0 1,0 ${-n * 2},0`;
1387
1387
  break;
1388
- case et.Cross:
1388
+ case tt.Cross:
1389
1389
  i = `M ${s},0 L ${o},0 M 0,${l} L 0,${c} E`;
1390
1390
  break;
1391
- case et.Diamond:
1391
+ case tt.Diamond:
1392
1392
  i = `M ${s},0 L 0,${l} L ${o},0 L 0,${c} L ${s},0 Z`;
1393
1393
  break;
1394
- case et.Square:
1394
+ case tt.Square:
1395
1395
  i = `M ${s},${c} L ${s},${l} L ${o},${l} L ${o},${c} L ${s},${c} Z`;
1396
1396
  break;
1397
- case et.Triangle:
1397
+ case tt.Triangle:
1398
1398
  i = `M ${s},${c} L 0,${l} L ${o},${c} L ${s},${c} Z`;
1399
1399
  break;
1400
- case et.X:
1400
+ case tt.X:
1401
1401
  i = `M ${s},${c} L ${o},${l} M ${s},${l} L ${o},${c} E`;
1402
1402
  break;
1403
1403
  }
@@ -1444,14 +1444,14 @@ function ld(t) {
1444
1444
  function os(t) {
1445
1445
  return t ? t.replace(/[A-Z]/gu, (e) => `-${e.toLowerCase()}`) : void 0;
1446
1446
  }
1447
- function Ge(t) {
1448
- return Q(t?.series) === h.HeatSeries;
1447
+ function We(t) {
1448
+ return $(t?.series) === h.HeatSeries;
1449
1449
  }
1450
- function de(t) {
1451
- return Q(t?.series) === h.BoxPlotSeries;
1450
+ function fe(t) {
1451
+ return $(t?.series) === h.BoxPlotSeries;
1452
1452
  }
1453
1453
  function ud(t) {
1454
- return t !== void 0 && Q(t.series) === h.GaugeSeries;
1454
+ return t !== void 0 && $(t.series) === h.GaugeSeries;
1455
1455
  }
1456
1456
  function jt(t) {
1457
1457
  return "subType" in t && t.subType === fr.FeatureGauge;
@@ -1464,7 +1464,7 @@ function us(t, e) {
1464
1464
  }
1465
1465
  function cd(t, e) {
1466
1466
  let i = !0;
1467
- const r = Q(t?.series), a = Q(e?.series);
1467
+ const r = $(t?.series), a = $(e?.series);
1468
1468
  return r && r !== a && (i = r === h.ComboLineAndBarSeries && (a === h.BarSeries || a === h.LineSeries) || a === h.ComboLineAndBarSeries && (r === h.BarSeries || r === h.LineSeries) || r === h.BarSeries && a === h.LineSeries || r === h.LineSeries && a === h.BarSeries), i;
1469
1469
  }
1470
1470
  function li(t, e) {
@@ -1475,7 +1475,7 @@ function dd(t) {
1475
1475
  let a = [];
1476
1476
  const n = z(e.series), s = ur(e), o = W(i), l = e.chartRenderer ?? o?.renderer?.toJSON();
1477
1477
  return a = e.series.map((c, u) => {
1478
- const d = Q([c]);
1478
+ const d = $([c]);
1479
1479
  let f;
1480
1480
  return (d === h.BarSeries || d === h.LineSeries || d === h.RadarSeries) && (c.type === h.BarSeries ? f = c.fillSymbol?.color : (c.type === h.RadarSeries || c.type === h.LineSeries) && (f = c.lineSymbol?.color), s ? f = Xl({
1481
1481
  dataItem: r[0],
@@ -1493,11 +1493,11 @@ function cs(t) {
1493
1493
  const e = z(t.series);
1494
1494
  return e === S.BarAndLineFromFields || e === S.PieFromFields || e === S.BoxPlotC1MonoField || e === S.BoxPlotC2MultiFields || e === S.BoxPlotC5MonoFieldAndSplitBy || e === S.BoxPlotC6MultiFieldsAndSplitBy;
1495
1495
  }
1496
- function We(t) {
1497
- return de(t) ? t?.showMean ?? !1 : !1;
1496
+ function je(t) {
1497
+ return fe(t) ? t?.showMean ?? !1 : !1;
1498
1498
  }
1499
1499
  function ds(t) {
1500
- return de(t) ? t?.showOutliers : void 0;
1500
+ return fe(t) ? t?.showOutliers : void 0;
1501
1501
  }
1502
1502
  function Er(t) {
1503
1503
  return t?.series?.[0] && "temporalBinning" in t?.series?.[0] ? t?.series[0].temporalBinning?.timeAggregationType : void 0;
@@ -1515,7 +1515,7 @@ const gd = [
1515
1515
  h.PieSeries,
1516
1516
  h.HistogramSeries,
1517
1517
  h.ScatterSeries
1518
- ], yd = { PNG: "png" }, rt = {
1518
+ ], yd = { PNG: "png" }, at = {
1519
1519
  ChartRenderer: 1,
1520
1520
  LayerRenderer: 2
1521
1521
  }, qr = [
@@ -1528,13 +1528,13 @@ const gd = [
1528
1528
  S.BoxPlotC7MonoFieldAndCategoryAndSplitBy,
1529
1529
  S.BarAndLineNoAggregation,
1530
1530
  S.BarAndLineSplitByNoAggregation
1531
- ], Qi = 1e4, vt = 1e4;
1531
+ ], Qi = 1e4, Tt = 1e4;
1532
1532
  function fs(t = ee.None, e) {
1533
1533
  return t === ee.None || t === ee.Log && e > 0 || t === ee.Sqrt && e >= 0;
1534
1534
  }
1535
1535
  function Rr(t, e) {
1536
1536
  const i = { valid: !1 };
1537
- return e === !0 ? i.invalidType = $.HistogramEmptyField : t === ee.Log ? i.invalidType = $.NegativeValueInLogCalculation : t === ee.Sqrt && (i.invalidType = $.NegativeValueInSqrtCalculation), i;
1537
+ return e === !0 ? i.invalidType = k.HistogramEmptyField : t === ee.Log ? i.invalidType = k.NegativeValueInLogCalculation : t === ee.Sqrt && (i.invalidType = k.NegativeValueInSqrtCalculation), i;
1538
1538
  }
1539
1539
  function ms(t, e) {
1540
1540
  let i = t;
@@ -1597,7 +1597,7 @@ async function ys(t) {
1597
1597
  outStatisticFieldName: g
1598
1598
  }
1599
1599
  ]
1600
- }, p = await Bt({
1600
+ }, p = await vt({
1601
1601
  queryObject: e,
1602
1602
  queryConfig: y,
1603
1603
  errorStrings: a,
@@ -1681,7 +1681,7 @@ function bs(t, e) {
1681
1681
  }
1682
1682
  function xs(t) {
1683
1683
  const { view: e, queryConfig: i, layer: r, ignoreViewExtent: a } = t;
1684
- let n, s = Ye(i?.geometry)?.extent;
1684
+ let n, s = Ze(i?.geometry)?.extent;
1685
1685
  if (!a && e?.extent !== void 0 && (s = e?.extent), s !== void 0 && (n = new Ri({ geometry: s }), e?.extent !== void 0 && Nr(r))) {
1686
1686
  const { distance: o, units: l } = i;
1687
1687
  o !== void 0 && (n.distance = o), l !== void 0 && (n.units = l);
@@ -1708,7 +1708,7 @@ async function Cs(t) {
1708
1708
  const m = W(r);
1709
1709
  if (!Wa(m))
1710
1710
  return { valid: !1 };
1711
- const g = Ye(i?.geometry)?.extent?.toJSON() !== void 0, y = xs({ view: s, queryConfig: i, layer: m, ignoreViewExtent: o }), p = Ss({
1711
+ const g = Ze(i?.geometry)?.extent?.toJSON() !== void 0, y = xs({ view: s, queryConfig: i, layer: m, ignoreViewExtent: o }), p = Ss({
1712
1712
  seriesConfig: u,
1713
1713
  layer: m,
1714
1714
  view: s,
@@ -1762,7 +1762,7 @@ async function Cs(t) {
1762
1762
  isLastBin: O === M.bins.length - 1
1763
1763
  // adding a flag on the last bin - useful for the selection feature
1764
1764
  };
1765
- return "aggregateIds" in E && (Array.isArray(E.aggregateIds) && E.aggregateIds.length !== vt && (E.arcgisChartsUniqueIds = E.aggregateIds), delete E.aggregateIds), E;
1765
+ return "aggregateIds" in E && (Array.isArray(E.aggregateIds) && E.aggregateIds.length !== Tt && (E.arcgisChartsUniqueIds = E.aggregateIds), delete E.aggregateIds), E;
1766
1766
  }), I = bs(n, a);
1767
1767
  f.data = {
1768
1768
  mean: x,
@@ -1834,7 +1834,7 @@ const _i = {
1834
1834
  Count: "count",
1835
1835
  Start: "minValue",
1836
1836
  End: "maxValue"
1837
- }, je = {
1837
+ }, Xe = {
1838
1838
  groupByCaseBegin: "CASE",
1839
1839
  groupByOutKeyword: "OUT",
1840
1840
  groupByCaseEnd: "ELSE 'OUT' END"
@@ -2082,28 +2082,30 @@ function zi(t, e) {
2082
2082
  } : i = { groupKey: t, display: t, original: t }, i;
2083
2083
  }
2084
2084
  async function Ps(t) {
2085
- const { layer: e, geometry: i, filterByViewExtent: r, view: a, abortKey: n, abortSignal: s } = t, o = s ?? (n !== void 0 ? ze.get(n)?.signal : void 0);
2085
+ const { layer: e, geometry: i, filterByViewExtent: r, view: a, abortKey: n, abortSignal: s } = t, o = s ?? (n !== void 0 ? Ge.get(n)?.signal : void 0);
2086
2086
  e.loaded || await e.load({ signal: o });
2087
- const l = await ft(e, s), c = Ye(i) ?? e.fullExtent;
2088
- let u = l?.attributeTable;
2089
- if (r) {
2090
- const d = a ? new Sr({
2091
- x: a.resolution,
2092
- y: a.resolution,
2093
- spatialReference: a.spatialReference
2094
- }) : void 0;
2095
- u = await Ja(
2096
- e,
2097
- {
2098
- geometry: c,
2099
- pixelSize: d,
2100
- downsampleOnly: !0
2101
- },
2102
- { signal: o }
2103
- );
2104
- }
2105
- return {
2106
- attributeTable: u,
2087
+ const l = await ft(e, s), c = Ze(i), u = a ? new Sr({
2088
+ x: a.resolution,
2089
+ y: a.resolution,
2090
+ spatialReference: a.spatialReference
2091
+ }) : void 0;
2092
+ let d = l?.attributeTable, f = c;
2093
+ if (!r && !f && Ue(e) && Ct(e))
2094
+ try {
2095
+ const { extent: m } = await e.queryExtent(e.createQuery(), { signal: o });
2096
+ f = m ?? void 0;
2097
+ } catch {
2098
+ }
2099
+ return (r || f) && (d = await Ja(
2100
+ e,
2101
+ {
2102
+ geometry: f ?? e.fullExtent,
2103
+ pixelSize: u,
2104
+ downsampleOnly: !0
2105
+ },
2106
+ { signal: o }
2107
+ )), {
2108
+ attributeTable: d,
2107
2109
  hasColormap: l?.colormap != null
2108
2110
  };
2109
2111
  }
@@ -2126,7 +2128,7 @@ async function Ms(t) {
2126
2128
  if (!u || !f)
2127
2129
  l = {
2128
2130
  valid: !1,
2129
- invalidType: $.NoValue
2131
+ invalidType: k.NoValue
2130
2132
  // for #17296
2131
2133
  // invalidType: DataWarningKeywords.BadData, // 2DO: review whether to use BadData or NoValue after future enhancement
2132
2134
  };
@@ -2135,13 +2137,13 @@ async function Ms(t) {
2135
2137
  if (!m || m.length === 0)
2136
2138
  l = {
2137
2139
  valid: !1,
2138
- invalidType: $.InvalidConfig
2140
+ invalidType: k.InvalidConfig
2139
2141
  // for #17296
2140
2142
  };
2141
2143
  else if (f.length === 0)
2142
2144
  l = {
2143
2145
  valid: !1,
2144
- invalidType: $.EmptyDataSet
2146
+ invalidType: k.EmptyDataSet
2145
2147
  // for #17296
2146
2148
  };
2147
2149
  else {
@@ -2169,7 +2171,7 @@ async function Ms(t) {
2169
2171
  M && (v[C.rendererSymbolField] = M);
2170
2172
  }
2171
2173
  m.forEach((M) => {
2172
- const w = ae(M.query?.where), I = fe({
2174
+ const w = re(M.query?.where), I = ce({
2173
2175
  where: M.query?.where,
2174
2176
  keepSurroundingQuotes: !1,
2175
2177
  escape: !1
@@ -2247,7 +2249,7 @@ function Ds(t, e) {
2247
2249
  function Os(t) {
2248
2250
  const { chartConfig: e, layer: i, selectionItems: r } = t;
2249
2251
  let a;
2250
- const n = i.serviceRasterInfo?.attributeTable ?? Xe(i)?.attributeTable, s = e.series?.[0]?.x, o = n?.features, l = n?.fields?.find(({ name: c }) => c.toLowerCase() === "value")?.name;
2252
+ const n = i.serviceRasterInfo?.attributeTable ?? Ye(i)?.attributeTable, s = e.series?.[0]?.x, o = n?.features, l = n?.fields?.find(({ name: c }) => c.toLowerCase() === "value")?.name;
2251
2253
  if (r.length > 0 && s && o && o.length > 0 && l) {
2252
2254
  const c = new Set(
2253
2255
  r.map((u) => u[s]).filter((u) => u !== void 0)
@@ -2276,7 +2278,7 @@ function Sd(t) {
2276
2278
  h.LineSeries,
2277
2279
  h.ComboLineAndBarSeries,
2278
2280
  h.BoxPlotSeries
2279
- ], i = Q(t?.series);
2281
+ ], i = $(t?.series);
2280
2282
  return i !== void 0 ? e.includes(i) : !1;
2281
2283
  }
2282
2284
  function Fd(t) {
@@ -2285,7 +2287,7 @@ function Fd(t) {
2285
2287
  h.LineSeries,
2286
2288
  h.ComboLineAndBarSeries,
2287
2289
  h.RadarSeries
2288
- ], i = Q(t?.series);
2290
+ ], i = $(t?.series);
2289
2291
  return i !== void 0 ? e.includes(i) : !1;
2290
2292
  }
2291
2293
  function Es(t) {
@@ -2321,7 +2323,7 @@ function Vs(t) {
2321
2323
  function Nd(t) {
2322
2324
  return t?.type === h.HeatSeries;
2323
2325
  }
2324
- const Ad = (t) => Q(t) === h.BarSeries, wd = (t) => Q(t) === h.LineSeries, Ld = (t) => Q(t) === h.RadarSeries, Pd = (t) => Q(t) === h.HeatSeries;
2326
+ const Ad = (t) => $(t) === h.BarSeries, wd = (t) => $(t) === h.LineSeries, Ld = (t) => $(t) === h.RadarSeries, Pd = (t) => $(t) === h.HeatSeries;
2325
2327
  function Md(t) {
2326
2328
  return t.every((e) => e.type === h.PieSeries);
2327
2329
  }
@@ -2344,7 +2346,7 @@ function Rd(t) {
2344
2346
  return "value" in t;
2345
2347
  }
2346
2348
  function Vd(t) {
2347
- return Q(t.series) !== h.BoxPlotSeries ? C.xAxisField : t.series[0].x;
2349
+ return $(t.series) !== h.BoxPlotSeries ? C.xAxisField : t.series[0].x;
2348
2350
  }
2349
2351
  function $d(t) {
2350
2352
  const e = Si(t);
@@ -2370,7 +2372,7 @@ function $s(t) {
2370
2372
  return t.showMean === !0 && (e.series = [e.series[0]], e.series[0].query?.where !== void 0 && delete e.series[0].query.where), e;
2371
2373
  }
2372
2374
  function ks(t) {
2373
- return Ge(t) && Ot(t?.axes?.[0]?.valueFormat) && Ot(t?.axes?.[1]?.valueFormat);
2375
+ return We(t) && Et(t?.axes?.[0]?.valueFormat) && Et(t?.axes?.[1]?.valueFormat);
2374
2376
  }
2375
2377
  const Qs = [
2376
2378
  ...Cr,
@@ -2387,7 +2389,7 @@ const Qs = [
2387
2389
  "it-IT"
2388
2390
  ];
2389
2391
  function _d(t) {
2390
- const { t9nLocale: e } = Ue(t ?? document.documentElement), i = _r(t ?? document.documentElement), r = pn(t ?? document.documentElement) === "rtl";
2392
+ const { t9nLocale: e } = ze(t ?? document.documentElement), i = _r(t ?? document.documentElement), r = pn(t ?? document.documentElement) === "rtl";
2391
2393
  return { locale: e, formatLocale: i, rtl: r };
2392
2394
  }
2393
2395
  function Hd(t) {
@@ -2421,33 +2423,33 @@ function _s(t) {
2421
2423
  return Qs.includes(t) && !e.includes(t);
2422
2424
  }
2423
2425
  function _r(t) {
2424
- const { lang: e, t9nLocale: i } = Ue(t);
2426
+ const { lang: e, t9nLocale: i } = ze(t);
2425
2427
  return _s(e) ? e : i;
2426
2428
  }
2427
- function Et(t) {
2429
+ function qt(t) {
2428
2430
  const { dataInfo: e, chartType: i, subError: r } = t;
2429
2431
  switch (e.valid = !1, i) {
2430
2432
  case h.BarSeries:
2431
2433
  case h.ComboLineAndBarSeries:
2432
- e.invalidType = $.BarElementExceedsLimit;
2434
+ e.invalidType = k.BarElementExceedsLimit;
2433
2435
  break;
2434
2436
  case h.LineSeries:
2435
- e.invalidType = $.LineChartExceedsLimit;
2437
+ e.invalidType = k.LineChartExceedsLimit;
2436
2438
  break;
2437
2439
  case h.RadarSeries:
2438
- e.invalidType = $.RadarChartExceedsLimit;
2440
+ e.invalidType = k.RadarChartExceedsLimit;
2439
2441
  break;
2440
2442
  case h.PieSeries:
2441
- e.invalidType = $.PieChartExceedsLimit;
2443
+ e.invalidType = k.PieChartExceedsLimit;
2442
2444
  break;
2443
2445
  case h.GaugeSeries:
2444
- e.invalidType = $.GaugeExceedsLimit;
2446
+ e.invalidType = k.GaugeExceedsLimit;
2445
2447
  break;
2446
2448
  case h.BoxPlotSeries:
2447
- r?.outlierLimit === !0 ? e.invalidType = $.BoxPlotOutliersExceedsLimit : e.invalidType = $.BoxPlotExceedsLimit;
2449
+ r?.outlierLimit === !0 ? e.invalidType = k.BoxPlotOutliersExceedsLimit : e.invalidType = k.BoxPlotExceedsLimit;
2448
2450
  break;
2449
2451
  case h.HeatSeries:
2450
- e.invalidType = $.HeatChartExceedsLimit;
2452
+ e.invalidType = k.HeatChartExceedsLimit;
2451
2453
  break;
2452
2454
  }
2453
2455
  }
@@ -2474,7 +2476,7 @@ function Wd(t) {
2474
2476
  } = y;
2475
2477
  let x = u.modalHeaders.invalidChart;
2476
2478
  switch (e) {
2477
- case $.BarElementExceedsLimit:
2479
+ case k.BarElementExceedsLimit:
2478
2480
  {
2479
2481
  x = u.modalHeaders.tooManyFeatures;
2480
2482
  let B = Number.NaN, b = Number.NaN, v = "";
@@ -2491,7 +2493,7 @@ function Wd(t) {
2491
2493
  };
2492
2494
  }
2493
2495
  break;
2494
- case $.LineChartExceedsLimit:
2496
+ case k.LineChartExceedsLimit:
2495
2497
  {
2496
2498
  x = u.modalHeaders.tooManyFeatures;
2497
2499
  let B = Number.NaN, b = Number.NaN, v = "";
@@ -2508,7 +2510,7 @@ function Wd(t) {
2508
2510
  };
2509
2511
  }
2510
2512
  break;
2511
- case $.RadarChartExceedsLimit:
2513
+ case k.RadarChartExceedsLimit:
2512
2514
  {
2513
2515
  x = u.modalHeaders.tooManyFeatures;
2514
2516
  let B = Number.NaN, b = Number.NaN, v = "";
@@ -2525,7 +2527,7 @@ function Wd(t) {
2525
2527
  };
2526
2528
  }
2527
2529
  break;
2528
- case $.BoxPlotExceedsLimit:
2530
+ case k.BoxPlotExceedsLimit:
2529
2531
  {
2530
2532
  x = u.modalHeaders.tooManyFeatures;
2531
2533
  let B = Number.NaN, b = Number.NaN, v = "";
@@ -2542,7 +2544,7 @@ function Wd(t) {
2542
2544
  };
2543
2545
  }
2544
2546
  break;
2545
- case $.BoxPlotOutliersExceedsLimit:
2547
+ case k.BoxPlotOutliersExceedsLimit:
2546
2548
  {
2547
2549
  x = u.modalHeaders.tooManyFeatures;
2548
2550
  const B = u.errors.boxSeriesOutlierCannotExceedLimit, b = y.maxBoxPlotOutlierLimit ?? y.boxPlot?.outliers, v = g.format(b);
@@ -2551,7 +2553,7 @@ function Wd(t) {
2551
2553
  }), m = { actualCount: r ?? Number.NaN, totalLimit: b };
2552
2554
  }
2553
2555
  break;
2554
- case $.HeatChartExceedsLimit:
2556
+ case k.HeatChartExceedsLimit:
2555
2557
  {
2556
2558
  x = u.modalHeaders.tooManyFeatures;
2557
2559
  const B = u.errors.heatChartCannotExceedLimit, b = y.maxHeatChartCellLimit ?? y.heatChart?.cells, v = g.format(b), N = r !== void 0 ? g.format(r) : "";
@@ -2564,7 +2566,7 @@ function Wd(t) {
2564
2566
  };
2565
2567
  }
2566
2568
  break;
2567
- case $.PieChartExceedsLimit:
2569
+ case k.PieChartExceedsLimit:
2568
2570
  {
2569
2571
  x = u.modalHeaders.tooManyFeatures;
2570
2572
  const B = u.errors.pieChartSlicesCannotExceedLimit, b = y.maxPieChartSliceCountTotal ?? y.pieChart?.slices, v = g.format(b), N = r !== void 0 ? g.format(r) : "";
@@ -2577,7 +2579,7 @@ function Wd(t) {
2577
2579
  };
2578
2580
  }
2579
2581
  break;
2580
- case $.GaugeExceedsLimit:
2582
+ case k.GaugeExceedsLimit:
2581
2583
  {
2582
2584
  x = u.modalHeaders.tooManyFeatures;
2583
2585
  const B = u.errors.gaugeCannotExceedLimit, b = y.maxGaugeByFeaturesLimit ?? y.gauge?.features, v = g.format(b), N = r !== void 0 ? g.format(r) : "";
@@ -2590,33 +2592,33 @@ function Wd(t) {
2590
2592
  };
2591
2593
  }
2592
2594
  break;
2593
- case $.PieChartMixOfNegativePositiveSlices:
2595
+ case k.PieChartMixOfNegativePositiveSlices:
2594
2596
  x = u.modalHeaders.cannotCombineNegativeAndPositiveSlices, f = u.errors.pieChartCannotHaveMixtureOfPositiveAndNegativeSlices;
2595
2597
  break;
2596
- case $.NegativeValueInSqrtCalculation:
2598
+ case k.NegativeValueInSqrtCalculation:
2597
2599
  x = u.modalHeaders.invalidData, f = u.errors.negativeValueInDataForSqrtTransformation;
2598
2600
  break;
2599
- case $.NegativeValueInLogCalculation:
2601
+ case k.NegativeValueInLogCalculation:
2600
2602
  x = u.modalHeaders.invalidData, f = u.errors.negativeValueInDataForLogTransformation;
2601
2603
  break;
2602
- case $.HistogramEmptyField:
2604
+ case k.HistogramEmptyField:
2603
2605
  s === !0 ? (x = u.modalHeaders.noDataAvailable, f = u.errors.noDataFBSMessage) : Ve(n) ? (x = u.modalHeaders.noDataAvailable, f = u.errors.noDataFBEMessage) : (x = u.modalHeaders.invalidChart, f = u.errors.histogramEmptyField);
2604
2606
  break;
2605
- case $.EmptyDataSet:
2607
+ case k.EmptyDataSet:
2606
2608
  x = u.modalHeaders.noDataAvailable, s === !0 ? f = u.errors.noDataFBSMessage : Ve(n) ? f = u.errors.noDataFBEMessage : f = u.errors.noDataMessage;
2607
2609
  break;
2608
- case $.NoValue:
2610
+ case k.NoValue:
2609
2611
  c && r ? (x = void 0, f = u.errors.noValue) : d && (x = u.modalHeaders.noDataAvailable, f = u.errors.noDataMessage);
2610
2612
  break;
2611
- case $.NegativeValueInXAxisLogScale:
2613
+ case k.NegativeValueInXAxisLogScale:
2612
2614
  f = u.errors.logarithmicXAxisNotPossible;
2613
2615
  break;
2614
- case $.NegativeValueInYAxisLogScale:
2616
+ case k.NegativeValueInYAxisLogScale:
2615
2617
  f = u.errors.logarithmicYAxisNotPossible;
2616
2618
  break;
2617
- case $.BadData:
2619
+ case k.BadData:
2618
2620
  }
2619
- if (f === u.errors.defaultInvalidChart && (e === $.BarElementExceedsLimit || e === $.LineChartExceedsLimit || e === $.RadarChartExceedsLimit || e === $.HeatChartExceedsLimit || e === $.PieChartExceedsLimit || e === $.GaugeExceedsLimit || e === $.BoxPlotExceedsLimit) && typeof r == "number" && typeof a == "number" && r / a > (p ?? F)) {
2621
+ if (f === u.errors.defaultInvalidChart && (e === k.BarElementExceedsLimit || e === k.LineChartExceedsLimit || e === k.RadarChartExceedsLimit || e === k.HeatChartExceedsLimit || e === k.PieChartExceedsLimit || e === k.GaugeExceedsLimit || e === k.BoxPlotExceedsLimit) && typeof r == "number" && typeof a == "number" && r / a > (p ?? F)) {
2620
2622
  const B = r / a;
2621
2623
  f = be(u.errors.categoryCountCannotExceedLimit, {
2622
2624
  categoryCount: g.format(B),
@@ -2624,7 +2626,7 @@ function Wd(t) {
2624
2626
  });
2625
2627
  }
2626
2628
  return {
2627
- keyword: e ?? $.BadData,
2629
+ keyword: e ?? k.BadData,
2628
2630
  header: x,
2629
2631
  message: f,
2630
2632
  params: m
@@ -2644,15 +2646,15 @@ function Ci(t) {
2644
2646
  y: r,
2645
2647
  splitByValue: a
2646
2648
  };
2647
- const c = re({
2649
+ const c = ae({
2648
2650
  ...l,
2649
2651
  key: q.Average
2650
- }), u = re({
2652
+ }), u = ae({
2651
2653
  ...l,
2652
2654
  key: q.StandardDeviation
2653
2655
  }), d = n ?? Number(e[c]), f = s ?? Number(e[u]);
2654
2656
  return Number.isFinite(d) && Number.isFinite(f) && Object.values(q).forEach((m) => {
2655
- const g = re({
2657
+ const g = ae({
2656
2658
  key: m,
2657
2659
  y: r,
2658
2660
  chartSubType: i,
@@ -2667,19 +2669,19 @@ function Ci(t) {
2667
2669
  showOutliers: !1,
2668
2670
  standardizeValues: !0
2669
2671
  };
2670
- let F = re(l);
2672
+ let F = ae(l);
2671
2673
  if (o[F] = ci({ mean: d, stdDev: f, value: p }), m === q.Min || m === q.Max) {
2672
2674
  l = {
2673
2675
  ...l,
2674
2676
  key: m,
2675
2677
  showOutliers: !0,
2676
2678
  standardizeValues: !0
2677
- }, F = re(l), l = {
2679
+ }, F = ae(l), l = {
2678
2680
  ...l,
2679
2681
  standardizeValues: !1,
2680
2682
  splitByValue: a
2681
2683
  };
2682
- const x = re(l);
2684
+ const x = ae(l);
2683
2685
  p = Number(e[x]), Number.isFinite(p) && (o[F] = ci({
2684
2686
  mean: d,
2685
2687
  stdDev: f,
@@ -2709,7 +2711,7 @@ function zs(t) {
2709
2711
  return e.forEach((s) => {
2710
2712
  const o = s[i];
2711
2713
  o !== void 0 && Object.keys(s).forEach((l) => {
2712
- l === C.rendererSymbolField || l === k.uniqueIds ? a[`${l}_${o?.toString()}`] = s[l] : l === C.boxPlot.boxPlotMeanLineMarkerId ? a[l] = s[l] : a[`${o?.toString()}_${l}`] = s[l];
2714
+ l === C.rendererSymbolField || l === Q.uniqueIds ? a[`${l}_${o?.toString()}`] = s[l] : l === C.boxPlot.boxPlotMeanLineMarkerId ? a[l] = s[l] : a[`${o?.toString()}_${l}`] = s[l];
2713
2715
  });
2714
2716
  }), [a];
2715
2717
  }
@@ -2722,7 +2724,7 @@ function Gs(t) {
2722
2724
  [C.boxPlot.boxPlotCategory]: u
2723
2725
  };
2724
2726
  Object.entries(l).forEach(([f, m]) => {
2725
- f.startsWith(`${u}_`) ? d[`${c}_${f.replace(`${u}_`, "")}`] = m : f.includes(C.rendererSymbolField) || f === k.uniqueIds ? d[`${f}_${c}`] = m : f === C.boxPlot.boxPlotMeanLineMarkerId && (d[f] = l[f]);
2727
+ f.startsWith(`${u}_`) ? d[`${c}_${f.replace(`${u}_`, "")}`] = m : f.includes(C.rendererSymbolField) || f === Q.uniqueIds ? d[`${f}_${c}`] = m : f === C.boxPlot.boxPlotMeanLineMarkerId && (d[f] = l[f]);
2726
2728
  }), a && (d = Ci({
2727
2729
  dataItem: d,
2728
2730
  chartSubType: S.BoxPlotC6MultiFieldsAndSplitBy,
@@ -2757,8 +2759,8 @@ function js(t) {
2757
2759
  Object.entries(s).forEach(([u, d]) => {
2758
2760
  if (u.includes(C.rendererSymbolField))
2759
2761
  l[`${C.rendererSymbolField}_${c?.toString()}`] = d;
2760
- else if (u.includes(k.uniqueIds))
2761
- l[`${k.uniqueIds}_${c?.toString()}`] = d;
2762
+ else if (u.includes(Q.uniqueIds))
2763
+ l[`${Q.uniqueIds}_${c?.toString()}`] = d;
2762
2764
  else if (u === C.boxPlot.boxPlotMeanLineMarkerId)
2763
2765
  l[u] = s[u];
2764
2766
  else if (u !== e && u !== i) {
@@ -2776,7 +2778,7 @@ function Xs(t, e) {
2776
2778
  y: n === S.BoxPlotC4MultiFieldsAndCategory ? a : void 0,
2777
2779
  chartSubType: n
2778
2780
  }, o = t.series.map((l) => {
2779
- let c = fe({
2781
+ let c = ce({
2780
2782
  where: l.query?.where,
2781
2783
  normalize: !1,
2782
2784
  escape: !0
@@ -2786,19 +2788,19 @@ function Xs(t, e) {
2786
2788
  o.length === 0 && o.push(" "), e.forEach((l) => {
2787
2789
  o.forEach((c) => {
2788
2790
  s.splitByValue = c;
2789
- const u = re({
2791
+ const u = ae({
2790
2792
  ...s,
2791
2793
  key: q.Min,
2792
2794
  showOutliers: !0
2793
- }), d = re({
2795
+ }), d = ae({
2794
2796
  ...s,
2795
2797
  key: q.Min,
2796
2798
  showOutliers: !1
2797
- }), f = re({
2799
+ }), f = ae({
2798
2800
  ...s,
2799
2801
  key: q.Max,
2800
2802
  showOutliers: !0
2801
- }), m = re({
2803
+ }), m = ae({
2802
2804
  ...s,
2803
2805
  key: q.Max,
2804
2806
  showOutliers: !1
@@ -2834,7 +2836,7 @@ function Gi(t) {
2834
2836
  return l === "outliers" && o !== s ? d = `(${e}<${o} OR ${e}>${s})` : l === "alternativeData" && (o === s ? d = `(${e}=${o})` : d = `(${e}>=${o} AND ${e}<=${s})`), [c, u, d].filter((m) => m !== void 0).join(" AND ");
2835
2837
  }
2836
2838
  function Hr(t) {
2837
- const { data: e, yField: i, x: r, chartSubType: a, splitByField: n } = t, s = a === S.BoxPlotC1MonoField || a === S.BoxPlotC3MonoFieldAndCategory || a === S.BoxPlotC5MonoFieldAndSplitBy || a === S.BoxPlotC7MonoFieldAndCategoryAndSplitBy ? void 0 : i, o = at(s), l = [], c = [], { maxOperandsPerWhereClause: u } = Gt();
2839
+ const { data: e, yField: i, x: r, chartSubType: a, splitByField: n } = t, s = a === S.BoxPlotC1MonoField || a === S.BoxPlotC3MonoFieldAndCategory || a === S.BoxPlotC5MonoFieldAndSplitBy || a === S.BoxPlotC7MonoFieldAndCategoryAndSplitBy ? void 0 : i, o = nt(s), l = [], c = [], { maxOperandsPerWhereClause: u } = Gt();
2838
2840
  let d = [], f = [], m = 1;
2839
2841
  return e.forEach((g, y) => {
2840
2842
  const { outlierMinThreshold: p, outlierMaxThreshold: F } = Ys(g, o);
@@ -2862,14 +2864,14 @@ function Zs(t) {
2862
2864
  if (l === void 0 && c === void 0)
2863
2865
  switch (r) {
2864
2866
  case S.BoxPlotC2MultiFields: {
2865
- const u = at(n), d = e[0];
2867
+ const u = nt(n), d = e[0];
2866
2868
  l = Number(d[u[q.Average]]), c = Number(d[u[q.StandardDeviation]]);
2867
2869
  break;
2868
2870
  }
2869
2871
  case S.BoxPlotC4MultiFieldsAndCategory: {
2870
2872
  const u = e.find((d) => d[a] === i[a]);
2871
2873
  if (u !== void 0) {
2872
- const d = at(n);
2874
+ const d = nt(n);
2873
2875
  l = Number(u[d[q.Average]]), c = Number(u[d[q.StandardDeviation]]);
2874
2876
  }
2875
2877
  break;
@@ -2877,7 +2879,7 @@ function Zs(t) {
2877
2879
  case S.BoxPlotC6MultiFieldsAndSplitBy: {
2878
2880
  const u = e.find((d) => d[o] === i[o]);
2879
2881
  if (u !== void 0) {
2880
- const d = at(n);
2882
+ const d = nt(n);
2881
2883
  l = Number(u[d[q.Average]]), c = Number(u[d[q.StandardDeviation]]);
2882
2884
  }
2883
2885
  break;
@@ -2886,7 +2888,7 @@ function Zs(t) {
2886
2888
  return { mean: l, stdDev: c };
2887
2889
  }
2888
2890
  async function Js(t) {
2889
- const { seriesConfig: e, data: i, uniqueQuery: r, queryObject: a, meanAndStdDevPerField: n, errorStrings: s, abortKey: o, abortSignal: l } = t, c = z(e), u = e[0], { x: d } = u, f = ae(u.query?.where), m = W(a), g = we(m).idField, y = ue(e), p = [];
2891
+ const { seriesConfig: e, data: i, uniqueQuery: r, queryObject: a, meanAndStdDevPerField: n, errorStrings: s, abortKey: o, abortSignal: l } = t, c = z(e), u = e[0], { x: d } = u, f = re(u.query?.where), m = W(a), g = we(m).idField, y = ue(e), p = [];
2890
2892
  for (let T = 0; T < y.length; T += 1) {
2891
2893
  const B = y[T], { outliersFilterBatches: b } = Hr({
2892
2894
  data: i,
@@ -2951,14 +2953,14 @@ async function Js(t) {
2951
2953
  };
2952
2954
  break;
2953
2955
  }
2954
- const P = re(A), M = N[b];
2956
+ const P = ae(A), M = N[b];
2955
2957
  N[P] = M;
2956
2958
  const w = `${N[d]}-${N[f]}-${M}`, I = x.get(w);
2957
- if (N[k.uniqueIds] = [
2958
- ...I?.[k.uniqueIds] ?? [],
2959
+ if (N[Q.uniqueIds] = [
2960
+ ...I?.[Q.uniqueIds] ?? [],
2959
2961
  N[g]
2960
2962
  ], delete N[g], na(c)) {
2961
- const L = re({
2963
+ const L = ae({
2962
2964
  ...A,
2963
2965
  standardizeValues: !0
2964
2966
  }), { mean: O, stdDev: E } = Zs({
@@ -2976,7 +2978,7 @@ async function Js(t) {
2976
2978
  stdDev: E
2977
2979
  }));
2978
2980
  }
2979
- delete N[b], N[C.boxPlot.boxPlotOutlierId] = !0, x.set(w, N);
2981
+ delete N[b], N[C.boxPlot.boxPlotY] = b, N[C.boxPlot.boxPlotOutlierId] = !0, x.set(w, N);
2980
2982
  }
2981
2983
  });
2982
2984
  }
@@ -2995,7 +2997,7 @@ async function Ks(t) {
2995
2997
  abortSignal: c
2996
2998
  } = t;
2997
2999
  let u = [];
2998
- const { series: d, showMean: f } = n, m = wi({ showMean: f, seriesConfig: d }), g = z(d), y = _e(n), { x: p } = y, F = ae(y.query?.where), x = [];
3000
+ const { series: d, showMean: f } = n, m = wi({ showMean: f, seriesConfig: d }), g = z(d), y = _e(n), { x: p } = y, F = re(y.query?.where), x = [];
2999
3001
  for (let B = 0; B < m.length; B += 1) {
3000
3002
  const b = m[B], { dataWithoutOutliersFilterBatches: v } = Hr({
3001
3003
  data: e,
@@ -3078,7 +3080,7 @@ async function eo(t) {
3078
3080
  return o;
3079
3081
  }
3080
3082
  function to(t) {
3081
- const { data: e, additionalData: i, chartConfig: r } = t, a = r.series[0], { x: n } = a, s = ae(a.query?.where);
3083
+ const { data: e, additionalData: i, chartConfig: r } = t, a = r.series[0], { x: n } = a, s = re(a.query?.where);
3082
3084
  return e.map((o) => {
3083
3085
  let l = o;
3084
3086
  const c = i.find(
@@ -3091,7 +3093,7 @@ function Ur(t) {
3091
3093
  const { chartConfig: e, data: i, calculateZScore: r = !1, meanAndStdDevPerField: a } = t, { series: n, showMean: s } = e, o = _e(e), l = z(e.series), { x: c } = o, u = wi({ showMean: s, seriesConfig: n });
3092
3094
  let d = i;
3093
3095
  if (i?.[0] !== void 0) {
3094
- const f = ae(o.query?.where);
3096
+ const f = re(o.query?.where);
3095
3097
  switch (l) {
3096
3098
  case S.BoxPlotC1MonoField:
3097
3099
  d[0][C.boxPlot.boxPlotCategory] = u[0];
@@ -3199,6 +3201,28 @@ async function io(t) {
3199
3201
  }
3200
3202
  return { dataItems: d, outliers: f };
3201
3203
  }
3204
+ function jd(t) {
3205
+ const { chartConfig: e, data: i, seriesConfig: r, seriesType: a } = t;
3206
+ let n = [];
3207
+ const s = ce({ where: r.query?.where }), o = re(r.query?.where), l = a === "outliers" && e.series.length > 1 && "y" in r && (!Array.isArray(r.y) || r.y.length === 1), c = a === "outliers" && e.series.length > 1 && !ne(o);
3208
+ if (i)
3209
+ switch (a) {
3210
+ case "outliers":
3211
+ n = "outliers" in i ? i.outliers : void 0;
3212
+ break;
3213
+ case "meanLines":
3214
+ n = "meanLines" in i ? i.meanLines : void 0;
3215
+ break;
3216
+ case "candleStick":
3217
+ case "stepLine":
3218
+ n = "dataItems" in i ? i.dataItems : void 0;
3219
+ break;
3220
+ }
3221
+ return n?.filter((u) => {
3222
+ let d = !0;
3223
+ return (c || l) && (l && (d = "y" in r && u[C.boxPlot.boxPlotY] === (typeof r.y == "string" ? r.y : r.y[0])), d && c && (d = u[o] === s)), d;
3224
+ }) ?? [];
3225
+ }
3202
3226
  function Wi(t) {
3203
3227
  const { orderBy: e, axisFormatOptions: i } = t;
3204
3228
  return e !== void 0 && i !== void 0 && (!Array.isArray(e) || i?.type === h.CategoryAxisFormat);
@@ -3241,11 +3265,11 @@ function ao(t) {
3241
3265
  chartData: i.dataItems
3242
3266
  });
3243
3267
  }
3244
- function qt(t) {
3268
+ function Rt(t) {
3245
3269
  const { arrayToSort: e, chartConfig: i, fieldList: r, isTimeBinningSeries: a } = t;
3246
3270
  if (a !== !0 && e[0] !== void 0) {
3247
- const { series: n } = i, s = z(n), o = Q(n), l = Be(i), c = _t(i);
3248
- if (Ge(i) && e !== void 0)
3271
+ const { series: n } = i, s = z(n), o = $(n), l = Be(i), c = _t(i);
3272
+ if (We(i) && e !== void 0)
3249
3273
  ro({
3250
3274
  arrayToSort: e,
3251
3275
  chartConfig: i,
@@ -3280,9 +3304,9 @@ function qt(t) {
3280
3304
  }
3281
3305
  }
3282
3306
  }
3283
- function jd(t) {
3307
+ function Xd(t) {
3284
3308
  const { alteredConfig: e, dataInfo: i, fieldList: r, options: a, queryObject: n } = t, s = Ni(i.data);
3285
- if (s && qt({
3309
+ if (s && Rt({
3286
3310
  arrayToSort: s,
3287
3311
  chartConfig: e,
3288
3312
  fieldList: r,
@@ -3292,9 +3316,9 @@ function jd(t) {
3292
3316
  setTimeBinningInfoWhenNotProvided: a?.setTimeBinningInfoWhenNotProvided,
3293
3317
  queryObject: n
3294
3318
  })
3295
- }), de(e)) {
3319
+ }), fe(e)) {
3296
3320
  const o = i?.data && "meanLines" in i.data ? i.data.meanLines : void 0, l = i?.data && "outliers" in i.data ? i.data.outliers : void 0;
3297
- if (o && qt({
3321
+ if (o && Rt({
3298
3322
  arrayToSort: o,
3299
3323
  chartConfig: e
3300
3324
  }), l && s) {
@@ -3302,7 +3326,7 @@ function jd(t) {
3302
3326
  l.sort((d, f) => u.indexOf(d[c]) - u.indexOf(f[c]));
3303
3327
  }
3304
3328
  }
3305
- Ge(e) && i.data && ao({ chartConfig: e, chartData: i.data });
3329
+ We(e) && i.data && ao({ chartConfig: e, chartData: i.data });
3306
3330
  }
3307
3331
  function no(t) {
3308
3332
  return t?.type === "uniqueValue" && (t.uniqueValueInfos = t.uniqueValueInfos.map((e) => {
@@ -3310,17 +3334,17 @@ function no(t) {
3310
3334
  return { ...e, value: i };
3311
3335
  })), t;
3312
3336
  }
3313
- async function Xd(t) {
3337
+ async function Yd(t) {
3314
3338
  const { data: e, queryObject: i, chartConfig: r, allowColorMatch: a } = t;
3315
3339
  let n = !1, s = [];
3316
3340
  if (a && !te(i)) {
3317
- const { series: o, chartRenderer: l } = r, c = no(l), u = c ? rt.ChartRenderer : rt.LayerRenderer, d = i ? W(i) : void 0, f = c ?? d?.renderer;
3341
+ const { series: o, chartRenderer: l } = r, c = no(l), u = c ? at.ChartRenderer : at.LayerRenderer, d = i ? W(i) : void 0, f = c ?? d?.renderer;
3318
3342
  let m;
3319
- d && u === rt.LayerRenderer ? s = await ha(d) : u === rt.ChartRenderer && (s = Zl(f));
3343
+ d && u === at.LayerRenderer ? s = await ha(d) : u === at.ChartRenderer && (s = Zl(f));
3320
3344
  const g = _l(c, d?.renderer), y = Wl({
3321
3345
  chartRenderer: l,
3322
3346
  queryObject: i
3323
- }), p = Q(o), F = z(o), x = _e(r), T = ae(x.query?.where);
3347
+ }), p = $(o), F = z(o), x = _e(r), T = re(x.query?.where);
3324
3348
  m = /* @__PURE__ */ new Map();
3325
3349
  for (let B = 0; B < (p === h.HistogramSeries && e.length > 0 ? 1 : e.length); B += 1) {
3326
3350
  const b = e[B], v = await jl({
@@ -3368,11 +3392,11 @@ function so(t) {
3368
3392
  x !== void 0 && n && (p[n] = x), a && p[G.xField] !== void 0 && (p[a] = p[C.originalXValue] !== void 0 ? p[C.originalXValue] : p[G.xField], delete p[G.xField]), n && p[G.yField] !== void 0 && (p[n] = p[C.originalYCategoryValue] !== void 0 ? p[C.originalYCategoryValue] : p[G.yField], delete p[G.yField]), s && p[G.valueField] !== void 0 && (p[s] = p[G.valueField], delete p[G.valueField]);
3369
3393
  const T = {};
3370
3394
  return Object.keys(p).forEach((B) => {
3371
- !u.includes(B) && !B.includes(C.rendererSymbolField) && !B.includes(k.uniqueIds) && (T[B] = p[B]);
3395
+ !u.includes(B) && !B.includes(C.rendererSymbolField) && !B.includes(Q.uniqueIds) && (T[B] = p[B]);
3372
3396
  }), y.push(T), y;
3373
3397
  }, f = (y, p) => JSON.stringify(y).localeCompare(JSON.stringify(p));
3374
3398
  let m = o?.reduce(d, [])?.sort(f), g = l?.reduce(d, [])?.sort(f);
3375
- m && g && a && m.length !== g.length && (m = bt({ data: m, x: a }), g = bt({ data: g, x: a })), c = m?.length !== g?.length || !nt(m, g);
3399
+ m && g && a && m.length !== g.length && (m = bt({ data: m, x: a }), g = bt({ data: g, x: a })), c = m?.length !== g?.length || !st(m, g);
3376
3400
  }
3377
3401
  return c;
3378
3402
  }
@@ -3389,10 +3413,10 @@ function oo(t) {
3389
3413
  y: "y" in e.series[0] ? e.series[0].y.toString() : void 0,
3390
3414
  outStatisticFieldName: e.series[0].query?.outStatistics?.[0]?.outStatisticFieldName
3391
3415
  }) ? a = o : a = i ?? [], n.length > 1 && s !== S.BarAndLineNoAggregation && s !== S.BarAndLineSplitByNoAggregation) {
3392
- const l = ae(n[0].query?.where);
3416
+ const l = re(n[0].query?.where);
3393
3417
  a = bt({ data: a, x: n[0].x, splitByField: l });
3394
3418
  }
3395
- qt({
3419
+ Rt({
3396
3420
  arrayToSort: a,
3397
3421
  chartConfig: e
3398
3422
  });
@@ -3469,9 +3493,9 @@ async function uo(t) {
3469
3493
  calculatedAxisMinimum: F,
3470
3494
  calculatedAxisMaximum: x,
3471
3495
  gaugeValue: T
3472
- }, l.count = p.length, Number.isNaN(T) && p.length > 0 && (l.valid = !1, l.invalidType = $.NoValue);
3496
+ }, l.count = p.length, Number.isNaN(T) && p.length > 0 && (l.valid = !1, l.invalidType = k.NoValue);
3473
3497
  } else
3474
- l.count = y, Et({
3498
+ l.count = y, qt({
3475
3499
  dataInfo: l,
3476
3500
  chartType: h.GaugeSeries
3477
3501
  });
@@ -3514,7 +3538,7 @@ async function fo(t) {
3514
3538
  num: void 0
3515
3539
  };
3516
3540
  yt(e);
3517
- const d = await Bt({
3541
+ const d = await vt({
3518
3542
  queryObject: e,
3519
3543
  queryConfig: u,
3520
3544
  errorStrings: a
@@ -3539,7 +3563,7 @@ function Gr(t) {
3539
3563
  }
3540
3564
  return r;
3541
3565
  }
3542
- function Yd(t) {
3566
+ function Zd(t) {
3543
3567
  const { chartData: e, chartConfig: i } = t, { x: r } = i.series?.[0];
3544
3568
  let a = Number.NaN;
3545
3569
  if (jt(i)) {
@@ -3649,12 +3673,12 @@ function Xr(t) {
3649
3673
  const l = Ie({ where: r ?? "", normalize: !1, escape: !0 });
3650
3674
  let c = "";
3651
3675
  if (ds(s)) {
3652
- const d = z(s.series) === S.BoxPlotC4MultiFieldsAndCategory ? i : void 0, f = re({
3676
+ const d = z(s.series) === S.BoxPlotC4MultiFieldsAndCategory ? i : void 0, f = ae({
3653
3677
  key: q.Min,
3654
3678
  showOutliers: !0,
3655
3679
  splitBy: r,
3656
3680
  y: d
3657
- }), m = re({
3681
+ }), m = ae({
3658
3682
  key: q.Max,
3659
3683
  showOutliers: !0,
3660
3684
  splitBy: r,
@@ -3770,8 +3794,8 @@ function So(t) {
3770
3794
  }
3771
3795
  return a;
3772
3796
  }
3773
- function Zd(t) {
3774
- const { chartConfig: e } = t, i = Q(e.series);
3797
+ function Jd(t) {
3798
+ const { chartConfig: e } = t, i = $(e.series);
3775
3799
  let r = "";
3776
3800
  switch (i) {
3777
3801
  case h.ScatterSeries:
@@ -3821,14 +3845,14 @@ async function Fo(t) {
3821
3845
  const x = _e(r), { x: T } = x, B = "y" in x ? x.y : "", v = ve(e).find((I) => I.name === T)?.type, N = [], A = a.reduce(
3822
3846
  (I, L) => {
3823
3847
  const O = [];
3824
- if (k.uniqueIds in L)
3825
- N.push(L[k.uniqueIds]);
3848
+ if (Q.uniqueIds in L)
3849
+ N.push(L[Q.uniqueIds]);
3826
3850
  else {
3827
3851
  switch (p) {
3828
3852
  case S.BoxPlotC5MonoFieldAndSplitBy:
3829
3853
  case S.BoxPlotC6MultiFieldsAndSplitBy:
3830
3854
  case S.BoxPlotC7MonoFieldAndCategoryAndSplitBy: {
3831
- const U = ae(x.query?.where ?? ""), R = `_${q.Average}`;
3855
+ const U = re(x.query?.where ?? ""), R = `_${q.Average}`;
3832
3856
  Object.keys(L).forEach((Z) => {
3833
3857
  if (Z.includes(R)) {
3834
3858
  const j = Z.replace(R, "");
@@ -3905,7 +3929,7 @@ async function bo(t) {
3905
3929
  abortSignal: F
3906
3930
  } = t;
3907
3931
  yt(e);
3908
- const { series: x } = r, T = Q(x), B = Be(r);
3932
+ const { series: x } = r, T = $(x), B = Be(r);
3909
3933
  let b = { valid: !0 }, v = s?.selectionItems ?? [];
3910
3934
  n || (v = oo({ chartConfig: r, currentSelectionItems: a, selectionData: s }));
3911
3935
  let N = !1;
@@ -3924,7 +3948,7 @@ async function bo(t) {
3924
3948
  b.count = v.length, N = !0;
3925
3949
  break;
3926
3950
  case h.BoxPlotSeries:
3927
- de(r) && (b = await Fo({
3951
+ fe(r) && (b = await Fo({
3928
3952
  queryObject: e,
3929
3953
  queryConfig: i,
3930
3954
  chartConfig: r,
@@ -4022,7 +4046,7 @@ async function bo(t) {
4022
4046
  break;
4023
4047
  }
4024
4048
  }
4025
- return N && b.data !== void 0 && qt({
4049
+ return N && b.data !== void 0 && Rt({
4026
4050
  arrayToSort: "dataItems" in b.data ? b.data.dataItems : b.data,
4027
4051
  chartConfig: r
4028
4052
  }), b;
@@ -4045,7 +4069,7 @@ async function Bi(t) {
4045
4069
  view: g
4046
4070
  } = t;
4047
4071
  let y = { valid: !0 };
4048
- const p = We(i), F = await di({
4072
+ const p = je(i), F = await di({
4049
4073
  queryObject: e,
4050
4074
  queryConfig: r,
4051
4075
  fetchFullBoxPlotData: !p,
@@ -4088,7 +4112,7 @@ async function Bi(t) {
4088
4112
  }
4089
4113
  return y;
4090
4114
  }
4091
- async function Jd(t) {
4115
+ async function Kd(t) {
4092
4116
  const {
4093
4117
  queryObject: e,
4094
4118
  chartConfig: i,
@@ -4115,7 +4139,7 @@ async function Jd(t) {
4115
4139
  preFetchedQueryResponse: N
4116
4140
  } = t, { series: A } = i;
4117
4141
  let P = { valid: !0 };
4118
- const M = Q(A), w = Fa({
4142
+ const M = $(A), w = Fa({
4119
4143
  queryObject: e,
4120
4144
  chartConfig: i,
4121
4145
  runtimeDataFilters: l,
@@ -4162,7 +4186,7 @@ async function Jd(t) {
4162
4186
  });
4163
4187
  break;
4164
4188
  case h.BoxPlotSeries:
4165
- de(i) && (P = await Bi({
4189
+ fe(i) && (P = await Bi({
4166
4190
  queryObject: e,
4167
4191
  // @REV: temporary
4168
4192
  chartConfig: i,
@@ -4633,7 +4657,7 @@ async function Mo(t) {
4633
4657
  ]
4634
4658
  };
4635
4659
  delete u.groupByFieldsForStatistics, delete u.orderByFields;
4636
- const d = await Bt({
4660
+ const d = await vt({
4637
4661
  queryObject: e,
4638
4662
  queryConfig: u,
4639
4663
  errorStrings: n,
@@ -4641,7 +4665,7 @@ async function Mo(t) {
4641
4665
  });
4642
4666
  let f = d.get(o), m = d.get(l);
4643
4667
  const g = d.get(c);
4644
- return typeof f == "string" && (f = a === X.TimeOnly ? Rt(f) ?? 0 : new Date(f).valueOf()), typeof m == "string" && (m = a === X.TimeOnly ? Rt(m) ?? 0 : new Date(m).valueOf()), { dateRange: { dateMinTimestamp: f, dateMaxTimestamp: m }, numberOfFeatures: g };
4668
+ return typeof f == "string" && (f = a === X.TimeOnly ? Vt(f) ?? 0 : new Date(f).valueOf()), typeof m == "string" && (m = a === X.TimeOnly ? Vt(m) ?? 0 : new Date(m).valueOf()), { dateRange: { dateMinTimestamp: f, dateMaxTimestamp: m }, numberOfFeatures: g };
4645
4669
  }
4646
4670
  function Io(t) {
4647
4671
  const {
@@ -4693,7 +4717,7 @@ function Do(t) {
4693
4717
  }
4694
4718
  function Oo(t) {
4695
4719
  const { groupByFieldsForStatistics: e, dateField: i, queryStartDate: r, queryEndDate: a, y: n, binIndex: s, lastBin: o } = t;
4696
- let l = e === "" ? je.groupByCaseBegin : e;
4720
+ let l = e === "" ? Xe.groupByCaseBegin : e;
4697
4721
  return l = be(vo, {
4698
4722
  groupByFieldsForStatistics: l,
4699
4723
  dateField: i,
@@ -4716,7 +4740,7 @@ function* Eo(t) {
4716
4740
  statisticParameters: { value: 0.5 }
4717
4741
  }
4718
4742
  ];
4719
- let g = je.groupByCaseBegin;
4743
+ let g = Xe.groupByCaseBegin;
4720
4744
  for (let p = 0; p < a.length; p += 1) {
4721
4745
  const F = a[p], [x, T] = F[C.dateBinningRange], B = ut(x), b = ut(T);
4722
4746
  g = Oo({
@@ -4729,7 +4753,7 @@ function* Eo(t) {
4729
4753
  lastBin: p === a.length - 1
4730
4754
  });
4731
4755
  }
4732
- g = `${g} ${je.groupByCaseEnd}`;
4756
+ g = `${g} ${Xe.groupByCaseEnd}`;
4733
4757
  const y = {
4734
4758
  ...r,
4735
4759
  groupByFieldsForStatistics: [g],
@@ -4794,7 +4818,7 @@ function Ji(t) {
4794
4818
  function Ki(t, e) {
4795
4819
  let i = t;
4796
4820
  if (e === X.TimeOnly && typeof t == "string")
4797
- i = Rt(t);
4821
+ i = Vt(t);
4798
4822
  else if (e === X.DateOnly && (typeof t == "string" && t.length === 10 || typeof t == "number"))
4799
4823
  if (typeof t == "string") {
4800
4824
  const r = t.split("-");
@@ -4818,11 +4842,11 @@ function Ro(t) {
4818
4842
  const P = N, M = A;
4819
4843
  if (N = Ki(N, d), A = Ki(A, d), typeof N == "number" && typeof A == "number") {
4820
4844
  const w = { ...B };
4821
- w[C.originalServerBinningRange] = [P, M], w[n] = N, w[C.xAxisField] = N, w[C.dateBinningRange] = [N, A], v && v.length !== vt && (w[k.uniqueIds] = v), delete w[c.lowerBoundaryAlias], delete w[c.upperBoundaryAlias], b && a && !ne(a) && r ? b.forEach((O) => {
4845
+ w[C.originalServerBinningRange] = [P, M], w[n] = N, w[C.xAxisField] = N, w[C.dateBinningRange] = [N, A], v && v.length !== Tt && (w[Q.uniqueIds] = v), delete w[c.lowerBoundaryAlias], delete w[c.upperBoundaryAlias], b && a && !ne(a) && r ? b.forEach((O) => {
4822
4846
  const E = O[a];
4823
4847
  if (E === null || typeof E == "string" || typeof E == "number") {
4824
4848
  const H = r?.get(E);
4825
- H !== void 0 && (w[H] = O[k.outStatistics?.outStatisticFieldName ?? ""], "aggregateIds" in O && Array.isArray(O.aggregateIds) && O.aggregateIds.length > 0 && (w[`${k.uniqueIds}_${H}`] = O.aggregateIds), Ji({ dataItem: w, statField: H, nullPolicy: o }));
4849
+ H !== void 0 && (w[H] = O[Q.outStatistics?.outStatisticFieldName ?? ""], "aggregateIds" in O && Array.isArray(O.aggregateIds) && O.aggregateIds.length > 0 && (w[`${Q.uniqueIds}_${H}`] = O.aggregateIds), Ji({ dataItem: w, statField: H, nullPolicy: o }));
4826
4850
  }
4827
4851
  }) : typeof s == "string" && Ji({ dataItem: w, statField: s, nullPolicy: o });
4828
4852
  const { featureExtent: I, featureExtentKey: L } = Kr({
@@ -4941,7 +4965,7 @@ function _o(t) {
4941
4965
  Number(e[5] ?? 0)
4942
4966
  ).valueOf();
4943
4967
  }
4944
- function Rt(t) {
4968
+ function Vt(t) {
4945
4969
  let e;
4946
4970
  const [i, r, a] = t.split(":");
4947
4971
  return Number.isFinite(Number(i)) && Number.isFinite(Number(r)) && Number.isFinite(Number(a)) && (e = new Date(2e3, 0, 1, Number(i), Number(r), Number(a)).valueOf()), e;
@@ -4960,7 +4984,7 @@ function Kr(t) {
4960
4984
  return n !== void 0 && i !== void 0 && r === S.BarAndLineSplitBy && (s = e.attributes[i] !== void 0 ? `${qe}_${e.attributes[i]}` : qe), { featureExtent: n, featureExtentKey: s };
4961
4985
  }
4962
4986
  function Ho(t, e) {
4963
- const i = t, r = Q(e);
4987
+ const i = t, r = $(e);
4964
4988
  if (r !== h.PieSeries && r !== h.BoxPlotSeries) {
4965
4989
  const a = ue(e), n = e[0].y;
4966
4990
  t.forEach((s) => {
@@ -4980,17 +5004,17 @@ function Ho(t, e) {
4980
5004
  return i;
4981
5005
  }
4982
5006
  function Uo(t, e) {
4983
- if (de(t)) {
5007
+ if (fe(t)) {
4984
5008
  const i = ue(t.series), r = i.length === 1;
4985
5009
  i.forEach((a) => {
4986
- const n = at(r ? void 0 : a), s = e[n[q.FirstQuartile]], o = e[n[q.ThirdQuartile]];
5010
+ const n = nt(r ? void 0 : a), s = e[n[q.FirstQuartile]], o = e[n[q.ThirdQuartile]];
4987
5011
  Number.isFinite(s) && Number.isFinite(o) && o >= s && (e[n[q.IQR]] = o - s);
4988
5012
  });
4989
5013
  }
4990
5014
  }
4991
5015
  function zo(t) {
4992
5016
  const { x: e, attributes: i, fieldList: r } = t;
4993
- typeof i[e] == "string" && r?.find((a) => a.name === e)?.type === X.TimeOnly && (i[e] = Rt(i[e]));
5017
+ typeof i[e] == "string" && r?.find((a) => a.name === e)?.type === X.TimeOnly && (i[e] = Vt(i[e]));
4994
5018
  }
4995
5019
  function Go(t) {
4996
5020
  const { chartType: e, x: i, attributes: r } = t;
@@ -5009,7 +5033,7 @@ function Xo(t) {
5009
5033
  n && (a[s] = n);
5010
5034
  }
5011
5035
  function Yo(t) {
5012
- const { chartSubType: e, attributes: i, splitByField: r, mapToStatField: a } = t, { outStatisticFieldName: n } = k.outStatistics ?? {}, s = ea(i, r);
5036
+ const { chartSubType: e, attributes: i, splitByField: r, mapToStatField: a } = t, { outStatisticFieldName: n } = Q.outStatistics ?? {}, s = ea(i, r);
5013
5037
  if (e === S.BarAndLineSplitBy && n && s !== void 0) {
5014
5038
  const o = a?.get(s);
5015
5039
  o !== void 0 && (s === r && (i[C.technicalFieldSplitByField] = i[o]), i[o] = i[n]), delete i[n];
@@ -5031,7 +5055,7 @@ function vi(t, e) {
5031
5055
  }
5032
5056
  function Jo(t, e) {
5033
5057
  let i = [];
5034
- k.outStatistics.outStatisticFieldName && (Object.keys(t).includes(k.outStatistics.outStatisticFieldName) || Object.keys(t).includes(k.outStatistics.outStatisticFieldName.toUpperCase())) ? i = [k.outStatistics.outStatisticFieldName] : i = Array.from(
5058
+ Q.outStatistics.outStatisticFieldName && (Object.keys(t).includes(Q.outStatistics.outStatisticFieldName) || Object.keys(t).includes(Q.outStatistics.outStatisticFieldName.toUpperCase())) ? i = [Q.outStatistics.outStatisticFieldName] : i = Array.from(
5035
5059
  new Set(
5036
5060
  e.flatMap((r) => r.query?.outStatistics?.map((a) => a.outStatisticFieldName))
5037
5061
  )
@@ -5119,7 +5143,7 @@ function sl(t) {
5119
5143
  let u, d;
5120
5144
  if (o !== S.PieFromFields) {
5121
5145
  const f = e[i], m = typeof r == "string" ? r : r?.[0], g = typeof m == "string" ? e[m] : void 0;
5122
- a && (typeof f == "string" || typeof f == "number") && (u = pi(f, a)), n && s === h.HeatSeries && (typeof g == "string" || typeof g == "number") && (d = pi(g, n)), u !== void 0 && u !== f && (typeof u != "string" || !Dt(l)) && (e[C.originalXValue] = f, e[i] = u, e[C.xAxisDisplayField] = u), typeof r == "string" && !Dt(c) && d !== void 0 && d !== g && (e[C.originalYCategoryValue] = e[r], e[r] = d);
5146
+ a && (typeof f == "string" || typeof f == "number") && (u = pi(f, a)), n && s === h.HeatSeries && (typeof g == "string" || typeof g == "number") && (d = pi(g, n)), u !== void 0 && u !== f && (typeof u != "string" || !Ot(l)) && (e[C.originalXValue] = f, e[i] = u, e[C.xAxisDisplayField] = u), typeof r == "string" && !Ot(c) && d !== void 0 && d !== g && (e[C.originalYCategoryValue] = e[r], e[r] = d);
5123
5147
  }
5124
5148
  }
5125
5149
  function ol(t) {
@@ -5131,8 +5155,8 @@ function ol(t) {
5131
5155
  const l = a.getObjectId();
5132
5156
  l != null && (o = [l]);
5133
5157
  }
5134
- if (Array.isArray(o) && o.length !== vt) {
5135
- const l = ea(e, n), c = l ? s?.get(l) : void 0, u = c ? `${k.uniqueIds}_${c}` : k.uniqueIds;
5158
+ if (Array.isArray(o) && o.length !== Tt) {
5159
+ const l = ea(e, n), c = l ? s?.get(l) : void 0, u = c ? `${Q.uniqueIds}_${c}` : Q.uniqueIds;
5136
5160
  e[u] = o;
5137
5161
  }
5138
5162
  }
@@ -5163,7 +5187,7 @@ function ta(t) {
5163
5187
  resultLimit: o,
5164
5188
  chartLimits: l,
5165
5189
  fieldList: c
5166
- } = t, { series: u } = r, d = z(u), f = Q(u), { x: m } = u[0], g = "y" in u[0] ? u[0].y : void 0, y = u[0].query?.outStatistics ?? [], p = Ot(r?.axes?.[0]?.valueFormat), F = yi(e, m), x = typeof g == "string" ? yi(e, g) : void 0, B = Bu(c ?? []).includes(m), b = We(r), v = [];
5190
+ } = t, { series: u } = r, d = z(u), f = $(u), { x: m } = u[0], g = "y" in u[0] ? u[0].y : void 0, y = u[0].query?.outStatistics ?? [], p = Et(r?.axes?.[0]?.valueFormat), F = yi(e, m), x = typeof g == "string" ? yi(e, g) : void 0, B = Bu(c ?? []).includes(m), b = je(r), v = [];
5167
5191
  let N = 0;
5168
5192
  const A = /* @__PURE__ */ new Set(), {
5169
5193
  maxCategoryCount: P,
@@ -5240,7 +5264,7 @@ async function Xt(t) {
5240
5264
  abortSignal: m
5241
5265
  } = t, { series: g } = r, y = z(g);
5242
5266
  let p = [];
5243
- const F = y === S.BarAndLineSplitBy || y === S.BarAndLineSplitByNoAggregation ? ae(g[0].query?.where) : "", x = u ?? await Fe({
5267
+ const F = y === S.BarAndLineSplitBy || y === S.BarAndLineSplitByNoAggregation ? re(g[0].query?.where) : "", x = u ?? await Fe({
5244
5268
  queryObject: e,
5245
5269
  queryConfig: i,
5246
5270
  featureCount: n,
@@ -5308,17 +5332,17 @@ async function di(t) {
5308
5332
  popupTemplateFieldInfosEnabled: g,
5309
5333
  hideZeroCountCategories: y
5310
5334
  } = t;
5311
- We(e);
5335
+ je(e);
5312
5336
  const p = t.replaceNoValueCategoryWithZero ?? C.options.replaceNoValueCategoryWithZero, F = !(y ?? !p), { behaviorAfterLimit: x } = m ?? {};
5313
5337
  let T;
5314
5338
  const B = { valid: !0 };
5315
5339
  let b, v = !1;
5316
5340
  const N = e.series, A = N[0], P = z(e.series);
5317
5341
  if (te(a))
5318
- T = Q(N) === h.BarSeries ? await Ms(t) : B;
5342
+ T = $(N) === h.BarSeries ? await Ms(t) : B;
5319
5343
  else {
5320
5344
  if (A !== void 0) {
5321
- const M = Q(N), { uniqueQuery: w, mapToStatField: I } = Ii({
5345
+ const M = $(N), { uniqueQuery: w, mapToStatField: I } = Ii({
5322
5346
  chartConfig: e,
5323
5347
  queryObject: a,
5324
5348
  queryConfig: i,
@@ -5357,7 +5381,7 @@ async function di(t) {
5357
5381
  errorStrings: l,
5358
5382
  abortKey: n,
5359
5383
  abortSignal: c
5360
- }), de(e) && b !== void 0) {
5384
+ }), fe(e) && b !== void 0) {
5361
5385
  B.data = await io({
5362
5386
  data: b,
5363
5387
  queryObject: a,
@@ -5380,15 +5404,15 @@ async function di(t) {
5380
5404
  chartLimits: m
5381
5405
  })), U) {
5382
5406
  if (M === h.PieSeries) {
5383
- P === S.PieFromFields && (b = Vt({
5407
+ P === S.PieFromFields && (b = $t({
5384
5408
  dataToConvert: b[0],
5385
5409
  x: me,
5386
5410
  y: Ne,
5387
5411
  fieldList: s
5388
5412
  }));
5389
5413
  let R = "";
5390
- P === S.PieFromFields ? R = Ne : "y" in A && typeof A.y == "string" && (R = A.y), iu(b, R) ? B.data = { dataItems: b } : Hs(B, $.PieChartMixOfNegativePositiveSlices);
5391
- } else if ((M === h.RadarSeries || M === h.BarSeries || M === h.LineSeries || M === h.ComboLineAndBarSeries) && (P === S.BarAndLineFromFields && "y" in A && typeof A.y == "string" ? b = Vt({
5414
+ P === S.PieFromFields ? R = Ne : "y" in A && typeof A.y == "string" && (R = A.y), iu(b, R) ? B.data = { dataItems: b } : Hs(B, k.PieChartMixOfNegativePositiveSlices);
5415
+ } else if ((M === h.RadarSeries || M === h.BarSeries || M === h.LineSeries || M === h.ComboLineAndBarSeries) && (P === S.BarAndLineFromFields && "y" in A && typeof A.y == "string" ? b = $t({
5392
5416
  dataToConvert: b[0],
5393
5417
  x: A.x,
5394
5418
  y: A.y,
@@ -5419,7 +5443,7 @@ async function di(t) {
5419
5443
  }
5420
5444
  }
5421
5445
  }
5422
- U || Et({
5446
+ U || qt({
5423
5447
  dataInfo: B,
5424
5448
  chartType: M,
5425
5449
  subError: { outlierLimit: v }
@@ -5509,7 +5533,7 @@ async function ra(t) {
5509
5533
  abortSignal: g
5510
5534
  } = t, y = { valid: !0 };
5511
5535
  let p;
5512
- if (Ge(e)) {
5536
+ if (We(e)) {
5513
5537
  const { nullPolicy: F } = e, x = e.series[0], { x: T, y: B, query: b, xTemporalBinning: v, yTemporalBinning: N } = x, A = b?.outStatistics?.[0]?.outStatisticFieldName ?? "", P = b?.outStatistics?.[0]?.statisticType ?? D.Count, M = dl(e), w = G.valueField, I = F === Se.Zero ? 0 : null;
5514
5538
  if (ks(e)) {
5515
5539
  const L = n ? await ti({
@@ -5533,7 +5557,7 @@ async function ra(t) {
5533
5557
  chartType: h.HeatSeries,
5534
5558
  chartLimits: c
5535
5559
  }))
5536
- Et({ dataInfo: y, chartType: h.HeatSeries });
5560
+ qt({ dataInfo: y, chartType: h.HeatSeries });
5537
5561
  else {
5538
5562
  const H = await Pn({
5539
5563
  chartConfig: e,
@@ -5593,24 +5617,24 @@ async function ra(t) {
5593
5617
  const V = `${J[B]}`;
5594
5618
  j.push(V);
5595
5619
  const K = {
5596
- [G.xField]: `${R[k.heatChartLowerBoundaryAlias]}`,
5620
+ [G.xField]: `${R[Q.heatChartLowerBoundaryAlias]}`,
5597
5621
  [G.yField]: V,
5598
5622
  [w]: J[A]
5599
5623
  };
5600
- Array.isArray(J.aggregateIds) && J.aggregateIds.length !== vt && (K[k.uniqueIds] = J.aggregateIds), U.push(K);
5624
+ Array.isArray(J.aggregateIds) && J.aggregateIds.length !== Tt && (K[Q.uniqueIds] = J.aggregateIds), U.push(K);
5601
5625
  }), a && O && j.length !== O?.length) {
5602
5626
  const J = O.filter((V) => !j.includes(V.toString()));
5603
5627
  M && (J.length !== O.length || j.length === 0) || J.forEach((V) => {
5604
- Number.isFinite(Number(R[k.heatChartLowerBoundaryAlias])) && Number.isFinite(Number(V)) && (v?.unit === he.DayOfMonth && N?.unit === he.MonthOfYear && er({
5605
- day: Number(R[k.heatChartLowerBoundaryAlias]),
5628
+ Number.isFinite(Number(R[Q.heatChartLowerBoundaryAlias])) && Number.isFinite(Number(V)) && (v?.unit === he.DayOfMonth && N?.unit === he.MonthOfYear && er({
5629
+ day: Number(R[Q.heatChartLowerBoundaryAlias]),
5606
5630
  month: Number(V),
5607
5631
  includeLeapDay: e.includeLeapDay
5608
5632
  }) || N?.unit === he.DayOfMonth && v?.unit === he.MonthOfYear && er({
5609
5633
  day: Number(V),
5610
- month: Number(R[k.heatChartLowerBoundaryAlias]),
5634
+ month: Number(R[Q.heatChartLowerBoundaryAlias]),
5611
5635
  includeLeapDay: e.includeLeapDay
5612
5636
  })) || U.push({
5613
- [G.xField]: `${R[k.heatChartLowerBoundaryAlias]}`,
5637
+ [G.xField]: `${R[Q.heatChartLowerBoundaryAlias]}`,
5614
5638
  [G.yField]: V,
5615
5639
  [w]: F === Se.Zero ? 0 : null,
5616
5640
  [yr]: !0
@@ -5624,7 +5648,7 @@ async function ra(t) {
5624
5648
  seriesCount: 1,
5625
5649
  chartType: h.HeatSeries,
5626
5650
  chartLimits: c
5627
- }) || Et({ dataInfo: y, chartType: h.HeatSeries });
5651
+ }) || qt({ dataInfo: y, chartType: h.HeatSeries });
5628
5652
  }
5629
5653
  p && (y.data = {
5630
5654
  dataItems: p,
@@ -5677,7 +5701,7 @@ async function Ti(t) {
5677
5701
  popupTemplateFieldInfosEnabled: f,
5678
5702
  view: m,
5679
5703
  syncViewTimeZone: g
5680
- } = t, { behaviorAfterLimit: y } = d ?? {}, p = e.series, F = p[0], { x } = F, T = ae(F.query?.where), B = { valid: !0 };
5704
+ } = t, { behaviorAfterLimit: y } = d ?? {}, p = e.series, F = p[0], { x } = F, T = re(F.query?.where), B = { valid: !0 };
5681
5705
  let b;
5682
5706
  if (Ce(F)) {
5683
5707
  const { temporalBinning: v } = F;
@@ -5703,8 +5727,8 @@ async function Ti(t) {
5703
5727
  returnFeaturesExtent: c,
5704
5728
  chartLimits: d
5705
5729
  });
5706
- let J = h.LineSeries, V = $.LineChartExceedsLimit;
5707
- Vs(F) ? (J = h.BarSeries, V = $.BarElementExceedsLimit) : Rs(F) && (J = h.RadarSeries, V = $.RadarChartExceedsLimit);
5730
+ let J = h.LineSeries, V = k.LineChartExceedsLimit;
5731
+ Vs(F) ? (J = h.BarSeries, V = k.BarElementExceedsLimit) : Rs(F) && (J = h.RadarSeries, V = k.RadarChartExceedsLimit);
5708
5732
  let K = Pe({
5709
5733
  count: I ?? 0,
5710
5734
  seriesCount: p.length,
@@ -5741,8 +5765,8 @@ async function Ti(t) {
5741
5765
  chartType: J,
5742
5766
  chartLimits: d
5743
5767
  })) {
5744
- const Tt = ue(p), gt = b.filter(
5745
- (Le) => Tt.some((Te) => Te in Le && Number.isFinite(Le[Te]))
5768
+ const Nt = ue(p), gt = b.filter(
5769
+ (Le) => Nt.some((Te) => Te in Le && Number.isFinite(Le[Te]))
5746
5770
  ).length;
5747
5771
  Pe({
5748
5772
  count: gt,
@@ -5806,7 +5830,7 @@ async function yl(t) {
5806
5830
  chartLimits: l,
5807
5831
  popupTemplateFieldInfosEnabled: c,
5808
5832
  errorStrings: u
5809
- } = t, d = We(e), f = { valid: !0 }, m = e.series, g = De({
5833
+ } = t, d = je(e), f = { valid: !0 }, m = e.series, g = De({
5810
5834
  seriesConfig: m[0],
5811
5835
  xAxisValueFormatType: Be(e),
5812
5836
  setTimeBinningInfoWhenNotProvided: n,
@@ -5834,7 +5858,7 @@ async function yl(t) {
5834
5858
  errorStrings: u,
5835
5859
  abortKey: a
5836
5860
  });
5837
- return de(e) && (F = Ur({ chartConfig: e, data: F, calculateZScore: !1 })), f.data = { dataItems: F }, f;
5861
+ return fe(e) && (F = Ur({ chartConfig: e, data: F, calculateZScore: !1 })), f.data = { dataItems: F }, f;
5838
5862
  }
5839
5863
  async function pl(t) {
5840
5864
  const {
@@ -5853,8 +5877,8 @@ async function pl(t) {
5853
5877
  errorStrings: m
5854
5878
  } = t;
5855
5879
  let g = { valid: !0 };
5856
- if (de(e)) {
5857
- const y = de(e) ? e.showMean : !1;
5880
+ if (fe(e)) {
5881
+ const y = fe(e) ? e.showMean : !1;
5858
5882
  g = await Bi({
5859
5883
  queryObject: r,
5860
5884
  chartConfig: e,
@@ -5892,7 +5916,7 @@ async function Sl(t) {
5892
5916
  returnDistinctValues: !0
5893
5917
  // this parameters guarantees the 2 count stats bring back distinct values. It has no impact on the other stats.
5894
5918
  };
5895
- return await Bt({
5919
+ return await vt({
5896
5920
  queryObject: i,
5897
5921
  queryConfig: f,
5898
5922
  errorStrings: a,
@@ -5928,7 +5952,7 @@ async function Fl(t) {
5928
5952
  }
5929
5953
  function bl(t) {
5930
5954
  const { groupByFieldsForStatistics: e, x: i, y: r, xValue: a, yValue: n, xStep: s, yStep: o, endOfRow: l, endOfColumn: c } = t;
5931
- let u = e === "" ? je.groupByCaseBegin : e;
5955
+ let u = e === "" ? Xe.groupByCaseBegin : e;
5932
5956
  return u = be(hl, {
5933
5957
  groupByFieldsForStatistics: u,
5934
5958
  x: i,
@@ -5985,13 +6009,13 @@ async function Cl(t) {
5985
6009
  if (B != null && N !== void 0 && N !== null && b !== void 0 && b !== null && A !== void 0 && A !== null && !Number.isNaN(B + b + N + A)) {
5986
6010
  const P = W(r), { idField: M, isTraditionalTypeOID: w } = we(P), I = w ? M : "*", L = e?.get(C.scatterplotAggregationFields.xStep), O = e?.get(C.scatterplotAggregationFields.yStep), E = e?.get(C.scatterplotAggregationFields.realGridSize), H = e?.get(C.scatterplotAggregationFields.rowCount), U = e?.get(C.scatterplotAggregationFields.columnCount), R = /* @__PURE__ */ new Map(), Z = ve(r);
5987
6011
  if (Z?.forEach((V) => {
5988
- Ct(V) && R.set(V.name, {
6012
+ Bt(V) && R.set(V.name, {
5989
6013
  onStatisticField: V.name,
5990
6014
  outStatisticFieldName: V.name,
5991
6015
  statisticType: D.Maximum
5992
6016
  });
5993
6017
  }), (Z.filter((V) => u?.additionalTooltipFields?.includes(V.name)) ?? [])?.forEach((V) => {
5994
- Ct(V) || R.set(V.name, {
6018
+ Bt(V) || R.set(V.name, {
5995
6019
  onStatisticField: V.name,
5996
6020
  outStatisticFieldName: V.name,
5997
6021
  statisticType: D.Maximum
@@ -6035,47 +6059,47 @@ async function Cl(t) {
6035
6059
  });
6036
6060
  } else if (H !== void 0 && U !== void 0) {
6037
6061
  let V = 0;
6038
- const { maxScatterCellsPerQuery: K, maxScatterCellsPerQueryForStandard: se } = Gt(), mt = await vu(P, c) ? se : K, Tt = [];
6039
- let gt = !0, Le = B, Te = N, Ke = "", Nt = 1, Jt = 1, At = Number.MAX_SAFE_INTEGER, wt = Number.MIN_SAFE_INTEGER, Lt = Number.MAX_SAFE_INTEGER, Pt = Number.MIN_SAFE_INTEGER;
6062
+ const { maxScatterCellsPerQuery: K, maxScatterCellsPerQueryForStandard: se } = Gt(), mt = await vu(P, c) ? se : K, Nt = [];
6063
+ let gt = !0, Le = B, Te = N, et = "", At = 1, Jt = 1, wt = Number.MAX_SAFE_INTEGER, Lt = Number.MIN_SAFE_INTEGER, Pt = Number.MAX_SAFE_INTEGER, Mt = Number.MIN_SAFE_INTEGER;
6040
6064
  for (; Jt <= U && gt; ) {
6041
- for (Te = N, Nt = 1; Nt <= H && gt; ) {
6042
- if (Ke = bl({
6043
- groupByFieldsForStatistics: Ke,
6065
+ for (Te = N, At = 1; At <= H && gt; ) {
6066
+ if (et = bl({
6067
+ groupByFieldsForStatistics: et,
6044
6068
  x: d,
6045
6069
  y: f,
6046
6070
  xValue: Le,
6047
6071
  yValue: Te,
6048
6072
  xStep: L,
6049
6073
  yStep: O,
6050
- endOfRow: Nt === H,
6074
+ endOfRow: At === H,
6051
6075
  endOfColumn: Jt === U
6052
- }), Le < At && (At = Le), Le + L > wt && (wt = Le + L), Te < Lt && (Lt = Te), Te + L > Pt && (Pt = Te + O), V += 1, V % mt === 0 || V === E || V === v) {
6053
- Ke = `${Ke} ${je.groupByCaseEnd}`;
6076
+ }), Le < wt && (wt = Le), Le + L > Lt && (Lt = Le + L), Te < Pt && (Pt = Te), Te + L > Mt && (Mt = Te + O), V += 1, V % mt === 0 || V === E || V === v) {
6077
+ et = `${et} ${Xe.groupByCaseEnd}`;
6054
6078
  const Oa = {
6055
6079
  ...a,
6056
- groupByFieldsForStatistics: [Ke],
6080
+ groupByFieldsForStatistics: [et],
6057
6081
  outStatistics: [...R.values()]
6058
6082
  };
6059
- Tt.push(
6083
+ Nt.push(
6060
6084
  xl({
6061
6085
  chartConfig: i,
6062
6086
  queryConfig: Oa,
6063
6087
  queryObject: r,
6064
- xMin: At,
6065
- xMax: wt,
6066
- yMin: Lt,
6067
- yMax: Pt,
6088
+ xMin: wt,
6089
+ xMax: Lt,
6090
+ yMin: Pt,
6091
+ yMax: Mt,
6068
6092
  errorStrings: o,
6069
6093
  abortKey: l,
6070
6094
  abortSignal: c
6071
6095
  })
6072
- ), At = Number.MAX_SAFE_INTEGER, wt = Number.MIN_SAFE_INTEGER, Lt = Number.MAX_SAFE_INTEGER, Pt = Number.MIN_SAFE_INTEGER, Ke = "", V === E && (gt = !1);
6096
+ ), wt = Number.MAX_SAFE_INTEGER, Lt = Number.MIN_SAFE_INTEGER, Pt = Number.MAX_SAFE_INTEGER, Mt = Number.MIN_SAFE_INTEGER, et = "", V === E && (gt = !1);
6073
6097
  }
6074
- Te += O, Nt += 1;
6098
+ Te += O, At += 1;
6075
6099
  }
6076
6100
  Le += L, Jt += 1;
6077
6101
  }
6078
- T = (await Promise.all(Tt)).flat();
6102
+ T = (await Promise.all(Nt)).flat();
6079
6103
  }
6080
6104
  }
6081
6105
  }
@@ -6120,7 +6144,7 @@ async function Bl(t) {
6120
6144
  }
6121
6145
  );
6122
6146
  const B = { ...i };
6123
- return B.outStatistics = T, u = await Bt({
6147
+ return B.outStatistics = T, u = await vt({
6124
6148
  queryObject: r,
6125
6149
  queryConfig: B,
6126
6150
  errorStrings: a,
@@ -6128,12 +6152,12 @@ async function Bl(t) {
6128
6152
  abortSignal: s
6129
6153
  }), l === c && (u.set(m, u.get(d) ?? Number.NaN), u.set(g, u.get(f) ?? Number.NaN)), u;
6130
6154
  }
6131
- function Mt(t) {
6155
+ function It(t) {
6132
6156
  const { value: e, valueMin: i, valueMax: r } = t;
6133
6157
  return e === i || e === r ? e : Math.random() * (r - i) + i;
6134
6158
  }
6135
6159
  function vl(t) {
6136
- const { useQueryAttributeBins: e, graphic: i, x: r, y: a, yStep: n } = t, { groupByOutKeyword: s } = je, { dataContextXMinField: o, dataContextXMaxField: l, dataContextYMinField: c, dataContextYMaxField: u } = C.scatterplotAggregationFields;
6160
+ const { useQueryAttributeBins: e, graphic: i, x: r, y: a, yStep: n } = t, { groupByOutKeyword: s } = Xe, { dataContextXMinField: o, dataContextXMaxField: l, dataContextYMinField: c, dataContextYMaxField: u } = C.scatterplotAggregationFields;
6137
6161
  let d = [];
6138
6162
  if (e && "stackedAttributes" in i && i.stackedAttributes) {
6139
6163
  const f = Ar(r, a), m = i.attributes[f.lowerBoundaryAlias], g = i.attributes[f.upperBoundaryAlias];
@@ -6144,14 +6168,14 @@ function vl(t) {
6144
6168
  if (typeof p == "number" && typeof F == "number" && typeof x == "number" && typeof T == "number") {
6145
6169
  const B = {
6146
6170
  ...y,
6147
- [r]: Mt({ value: x, valueMin: m, valueMax: g }),
6148
- [a]: Mt({ value: T, valueMin: p, valueMax: F }),
6171
+ [r]: It({ value: x, valueMin: m, valueMax: g }),
6172
+ [a]: It({ value: T, valueMin: p, valueMax: F }),
6149
6173
  [o]: Math.min(m, g),
6150
6174
  [l]: Math.max(m, g),
6151
6175
  [c]: p,
6152
6176
  [u]: F
6153
6177
  };
6154
- Array.isArray(y.aggregateIds) && y.aggregateIds.length !== vt && (B[k.uniqueIds] = y.aggregateIds), d.push(B);
6178
+ Array.isArray(y.aggregateIds) && y.aggregateIds.length !== Tt && (B[Q.uniqueIds] = y.aggregateIds), d.push(B);
6155
6179
  }
6156
6180
  });
6157
6181
  } else {
@@ -6166,11 +6190,11 @@ function vl(t) {
6166
6190
  [c]: p,
6167
6191
  [u]: F
6168
6192
  };
6169
- x[r] = Mt({
6193
+ x[r] = It({
6170
6194
  value: x[r],
6171
6195
  valueMin: g,
6172
6196
  valueMax: y
6173
- }), x[a] = Mt({
6197
+ }), x[a] = It({
6174
6198
  value: x[a],
6175
6199
  valueMin: p,
6176
6200
  valueMax: F
@@ -6189,17 +6213,17 @@ function Tl(t) {
6189
6213
  x: o,
6190
6214
  y: l,
6191
6215
  yStep: a
6192
- }) : f[0][k.uniqueIds] = d.getObjectId(), f;
6216
+ }) : f[0][Q.uniqueIds] = d.getObjectId(), f;
6193
6217
  });
6194
6218
  return u = u?.filter((d) => {
6195
6219
  const { expr: f } = Ht(d);
6196
- return Number.isFinite(d[o]) && Number.isFinite(d[l]) && (f === void 0 || d[f] !== je.groupByOutKeyword);
6220
+ return Number.isFinite(d[o]) && Number.isFinite(d[l]) && (f === void 0 || d[f] !== Xe.groupByOutKeyword);
6197
6221
  }), u ?? [];
6198
6222
  }
6199
6223
  async function Nl(t) {
6200
6224
  const { queryObject: e, queryConfig: i, chartConfig: r, featureCount: a, errorStrings: n, abortKey: s, abortSignal: o } = t, l = r.series[0], { x: c, y: u } = l, d = W(e);
6201
6225
  let f = [];
6202
- const m = ve(e), g = Yt(d).idFields, y = (m?.filter((B) => Ct(B) && B.name !== c && B.name !== u) ?? []).map(
6226
+ const m = ve(e), g = Yt(d).idFields, y = (m?.filter((B) => Bt(B) && B.name !== c && B.name !== u) ?? []).map(
6203
6227
  (B) => B.name
6204
6228
  ) ?? [], p = l?.additionalTooltipFields ?? [], F = Array.from(
6205
6229
  /* @__PURE__ */ new Set([c, u, ...g ?? [], ...y, ...p])
@@ -6347,7 +6371,7 @@ function* wl(t) {
6347
6371
  });
6348
6372
  }
6349
6373
  }
6350
- async function Kd(t) {
6374
+ async function ef(t) {
6351
6375
  const { whereList: e, queryObject: i, queryFilter: r, queryConfig: a, errorStrings: n } = t;
6352
6376
  let s = [];
6353
6377
  if (e.length > 0) {
@@ -6366,7 +6390,7 @@ async function Kd(t) {
6366
6390
  }
6367
6391
  return s;
6368
6392
  }
6369
- function at(t) {
6393
+ function nt(t) {
6370
6394
  const e = t === void 0 || t === "";
6371
6395
  return {
6372
6396
  [q.Average]: `${e ? "" : `${t}_`}${q.Average}`,
@@ -6380,7 +6404,7 @@ function at(t) {
6380
6404
  [q.StandardDeviation]: `${e ? "" : `${t}_`}${q.StandardDeviation}`
6381
6405
  };
6382
6406
  }
6383
- function ef(t) {
6407
+ function tf(t) {
6384
6408
  return "subType" in t && t.subType === fr.FeatureGauge;
6385
6409
  }
6386
6410
  function Ni(t) {
@@ -6390,13 +6414,13 @@ function Ni(t) {
6390
6414
  function na(t) {
6391
6415
  return t === S.BoxPlotC2MultiFields || t === S.BoxPlotC4MultiFieldsAndCategory || t === S.BoxPlotC6MultiFieldsAndSplitBy;
6392
6416
  }
6393
- function re(t) {
6417
+ function ae(t) {
6394
6418
  const { key: e, y: i, chartSubType: r, splitBy: a, splitByValue: n, showOutliers: s, standardizeValues: o } = t;
6395
- let l = n, u = at(i)[e];
6396
- return s === !0 && (e === q.Min || e === q.Max) && (u = `${u}${za}`), o === !0 && (na(r) || e === q.Outlier) && (u = `${u}${Ga}`), (n === void 0 || `${n}`.trim() === "") && (l = fe({ where: a, normalize: !0, escape: !1 })), l !== void 0 && `${l}`.trim() !== "" && (u = `${l}${u !== "" ? `_${u}` : ""}`), u;
6419
+ let l = n, u = nt(i)[e];
6420
+ return s === !0 && (e === q.Min || e === q.Max) && (u = `${u}${za}`), o === !0 && (na(r) || e === q.Outlier) && (u = `${u}${Ga}`), (n === void 0 || `${n}`.trim() === "") && (l = ce({ where: a, normalize: !0, escape: !1 })), l !== void 0 && `${l}`.trim() !== "" && (u = `${l}${u !== "" ? `_${u}` : ""}`), u;
6397
6421
  }
6398
6422
  function ii(t) {
6399
- const { dataItem: e, y: i, splitBy: r, showOutliers: a } = t, n = re({ key: q.FirstQuartile, y: i, splitBy: r, showOutliers: a }), s = re({ key: q.ThirdQuartile, y: i, splitBy: r, showOutliers: a });
6423
+ const { dataItem: e, y: i, splitBy: r, showOutliers: a } = t, n = ae({ key: q.FirstQuartile, y: i, splitBy: r, showOutliers: a }), s = ae({ key: q.ThirdQuartile, y: i, splitBy: r, showOutliers: a });
6400
6424
  return Number.isFinite(e[n]) || Number.isFinite(e[s]);
6401
6425
  }
6402
6426
  function Ll(t) {
@@ -6438,7 +6462,7 @@ function ue(t, e) {
6438
6462
  const r = e ?? Ai(t), a = z(t);
6439
6463
  return i = t.filter((n) => r.includes(n.id)).map((n) => {
6440
6464
  let s = "y" in n ? n.y : void 0;
6441
- return s !== void 0 && a === S.BarAndLineSplitByNoAggregation && (s = `${s.toString()}_${fe({ where: n.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), s;
6465
+ return s !== void 0 && a === S.BarAndLineSplitByNoAggregation && (s = `${s.toString()}_${ce({ where: n.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), s;
6442
6466
  }).filter((n) => n !== void 0), Array.from(new Set(i.flat()));
6443
6467
  }
6444
6468
  function wi(t) {
@@ -6458,11 +6482,11 @@ function Pl(t) {
6458
6482
  const { dataItem: e, x: i, y: r, nullAsValid: a = !1, zeroCountAsValid: n = !1, aggregationType: s } = t, o = e[i], l = e[r];
6459
6483
  return o !== void 0 && (typeof o != "number" || Number.isFinite(o)) && Oe(l, a) && (s !== D.Count || l !== 0 || n);
6460
6484
  }
6461
- function tf(t) {
6485
+ function rf(t) {
6462
6486
  const { chartConfig: e, nullAsValid: i = !1, zeroCountAsValid: r = !1, dataSet: a } = t;
6463
6487
  let n = !0;
6464
6488
  if (e !== void 0) {
6465
- const s = Q(e.series);
6489
+ const s = $(e.series);
6466
6490
  if (a === void 0 || a.length === 0)
6467
6491
  n = !0;
6468
6492
  else {
@@ -6500,7 +6524,7 @@ function tf(t) {
6500
6524
  break;
6501
6525
  }
6502
6526
  case h.BoxPlotSeries: {
6503
- if (de(e)) {
6527
+ if (fe(e)) {
6504
6528
  const u = e.series;
6505
6529
  c = Ll({
6506
6530
  configSeries: u,
@@ -6548,39 +6572,41 @@ function Ml(t, e) {
6548
6572
  }), i;
6549
6573
  }
6550
6574
  function Il(t) {
6551
- const { seriesConfig: e, filteredSeriesIds: i, filteredData: r } = t, a = Ml(e, i), n = e.find(
6552
- (c) => c.type === h.LineSeries || c.type === h.RadarSeries
6575
+ const { seriesConfig: e, filteredSeriesIds: i, filteredData: r } = t, a = e.find(
6576
+ (u) => u.type === h.LineSeries || u.type === h.RadarSeries
6553
6577
  )?.stackNegativeValuesToBaseline ?? !0;
6554
- let s = Number.MIN_SAFE_INTEGER, o = Number.MAX_SAFE_INTEGER, l = !1;
6555
- return r.forEach((c) => {
6556
- a.forEach((u) => {
6557
- if (n) {
6558
- let d = 0, f = 0, m = !1, g = !1;
6559
- for (let y = 0; y < u.length; y += 1) {
6560
- const p = c[u[y]];
6561
- Number.isFinite(p) && (p < 0 ? (f += p, g = !0, l = !0) : (d += p, m = !0));
6578
+ let n = Number.MIN_SAFE_INTEGER, s = Number.MAX_SAFE_INTEGER, o = !1;
6579
+ const l = Ml(e, i), c = i ? $(e.filter((u) => i?.includes(u.id))) : $(e);
6580
+ return r.forEach((u) => {
6581
+ l.forEach((d, f) => {
6582
+ const m = c !== h.ComboLineAndBarSeries || f === h.BarSeries;
6583
+ if (a) {
6584
+ let g = 0, y = 0, p = !1, F = !1;
6585
+ for (let x = 0; x < d.length; x += 1) {
6586
+ const T = u[d[x]];
6587
+ Number.isFinite(T) && (T < 0 ? (y += T, F = !0, m && (o = !0)) : (g += T, p = !0));
6562
6588
  }
6563
- s = m ? Math.max(s, d) : s, o = g ? Math.min(o, f) : o, m && !g && (o = Math.min(o, d)), !m && g && (s = Math.max(s, f)), m && d <= 0 && (l = !0);
6589
+ n = p ? Math.max(n, g) : n, s = F ? Math.min(s, y) : s, p && !F && (s = Math.min(s, g)), !p && F && (n = Math.max(n, y)), m && p && g <= 0 && (o = !0);
6564
6590
  } else {
6565
- let d = 0;
6566
- for (let f = 0; f < u.length; f += 1) {
6567
- const m = c[u[f]];
6568
- d += m, s = Math.max(s, d), o = Math.min(o, d);
6591
+ let g = 0;
6592
+ for (let y = 0; y < d.length; y += 1) {
6593
+ const p = u[d[y]];
6594
+ g += p, n = Math.max(n, g), s = Math.min(s, g);
6569
6595
  }
6570
- (s <= 0 || o <= 0) && (l = !0);
6596
+ m && (n <= 0 || s <= 0) && (o = !0);
6571
6597
  }
6572
6598
  });
6573
- }), { stackedMinY: o, stackedMaxY: s, dataHasNegativeValues: l };
6599
+ }), { stackedMinY: s, stackedMaxY: n, dataHasNegativeValues: o };
6574
6600
  }
6575
6601
  function Dl(t) {
6576
- const { dataItem: e, ...i } = t, r = re({ key: q.Min, ...i }), a = re({ key: q.Max, ...i }), n = e[r], s = e[a];
6602
+ const { dataItem: e, ...i } = t, r = ae({ key: q.Min, ...i }), a = ae({ key: q.Max, ...i }), n = e[r], s = e[a];
6577
6603
  return { min: n, max: s };
6578
6604
  }
6579
6605
  function tr(t) {
6580
6606
  let e = Number.NaN, i = Number.NaN, r, a;
6581
6607
  const { chartConfig: n, chartData: s, filteredSeriesIds: o } = t, { series: l } = n;
6582
6608
  if (l?.length > 0) {
6583
- const { x: c } = l[0], u = Q(n.series);
6609
+ const { x: c } = l[0], u = $(n.series);
6584
6610
  if (u === h.HistogramSeries && s.length > 0) {
6585
6611
  const d = s[0]?.[_i.Start], f = s[s.length - 1]?.[_i.End];
6586
6612
  r = typeof d == "number" ? d : r, a = typeof f == "number" ? f : a;
@@ -6589,7 +6615,7 @@ function tr(t) {
6589
6615
  if ({ min: r, max: a } = Ft(d, (m) => m[c]), n.axes?.[0]?.valueFormat.type === h.DateAxisFormat && r !== void 0 && a !== void 0 && ([r, a] = [new Date(r).valueOf(), new Date(a).valueOf()]), u === h.BoxPlotSeries) {
6590
6616
  e = Number.MAX_SAFE_INTEGER, i = Number.MIN_SAFE_INTEGER;
6591
6617
  const m = ue(l, o), g = z(l), y = "standardizeValues" in n ? n.standardizeValues === !0 : void 0, p = n.series.map(
6592
- (F) => F.visible !== !1 ? fe({ where: F.query?.where }) : ""
6618
+ (F) => F.visible !== !1 ? ce({ where: F.query?.where }) : ""
6593
6619
  );
6594
6620
  p.length === 0 && p.push(" "), d.forEach((F) => {
6595
6621
  m.forEach((x) => {
@@ -6680,7 +6706,7 @@ function oa(t) {
6680
6706
  }
6681
6707
  return a;
6682
6708
  }
6683
- function rf(t) {
6709
+ function af(t) {
6684
6710
  const { chartConfig: e, axisConfigIndex: i, chartData: r } = t;
6685
6711
  let a = !0;
6686
6712
  const n = e?.axes?.[i];
@@ -6695,7 +6721,7 @@ function El(t, e) {
6695
6721
  return i;
6696
6722
  }
6697
6723
  function ql(t, e) {
6698
- const i = Q(e);
6724
+ const i = $(e);
6699
6725
  let r = t;
6700
6726
  const a = e?.[0];
6701
6727
  if ((i === h.PieSeries || i === h.BoxPlotSeries || i === h.LineSeries || i === h.RadarSeries || i === h.BarSeries || i === h.HeatSeries || i === h.ComboLineAndBarSeries) && a !== void 0) {
@@ -6719,7 +6745,7 @@ function ql(t, e) {
6719
6745
  }
6720
6746
  function ir(t) {
6721
6747
  const e = { ...t };
6722
- delete e[C.technicalSortingFieldBySum], delete e[C.technicalSortingFieldByPercent], delete e[C.pieChart.technicalFieldSlicePercent], delete e[C.pieChart.technicalFieldGroupedSlices], delete e[C.firstTemporalBin], delete e[C.lastTemporalBin], delete e[C.originalServerBinningRange], delete e[C.technicalFieldSplitByField], delete e[k.uniqueIds], Object.keys(e).filter(
6748
+ delete e[C.technicalSortingFieldBySum], delete e[C.technicalSortingFieldByPercent], delete e[C.pieChart.technicalFieldSlicePercent], delete e[C.pieChart.technicalFieldGroupedSlices], delete e[C.firstTemporalBin], delete e[C.lastTemporalBin], delete e[C.originalServerBinningRange], delete e[C.technicalFieldSplitByField], delete e[Q.uniqueIds], Object.keys(e).filter(
6723
6749
  (a) => a.includes(C.rendererSymbolField)
6724
6750
  ).forEach((a) => delete e[a]);
6725
6751
  const r = Ht(e);
@@ -6727,7 +6753,7 @@ function ir(t) {
6727
6753
  }
6728
6754
  function Rl(t, e) {
6729
6755
  let i = t;
6730
- const r = Q(e);
6756
+ const r = $(e);
6731
6757
  let a = Ni(i);
6732
6758
  if (a !== void 0)
6733
6759
  switch (r) {
@@ -6751,17 +6777,17 @@ function Rl(t, e) {
6751
6777
  }
6752
6778
  return i;
6753
6779
  }
6754
- const af = (t, e) => {
6780
+ const nf = (t, e) => {
6755
6781
  const i = 10 ** e;
6756
6782
  return Math.round(t * i) / i;
6757
6783
  };
6758
- function nf(t) {
6784
+ function sf(t) {
6759
6785
  const { data: e, seriesConfig: i } = t;
6760
6786
  let r = Re(e);
6761
6787
  return r !== void 0 && (r = ql(r, i), r = Rl(r, i), r = El(r, i)), r;
6762
6788
  }
6763
6789
  function Vl(t) {
6764
- const { dataFetchingResults: e, series: i } = t, r = Q(i), a = z(i);
6790
+ const { dataFetchingResults: e, series: i } = t, r = $(i), a = z(i);
6765
6791
  let n = [];
6766
6792
  const s = /* @__PURE__ */ new Map(), o = e.length;
6767
6793
  for (let l = 0; l < o; l += 1) {
@@ -6790,11 +6816,11 @@ function Vl(t) {
6790
6816
  [f]: m[f]
6791
6817
  }))
6792
6818
  );
6793
- } else c.valid && (a === S.PieFromFields ? n = Vt({
6819
+ } else c.valid && (a === S.PieFromFields ? n = $t({
6794
6820
  dataToConvert: u[0],
6795
6821
  x: me,
6796
6822
  y: Ne
6797
- }) : a === S.BarAndLineFromFields ? n = Vt({
6823
+ }) : a === S.BarAndLineFromFields ? n = $t({
6798
6824
  dataToConvert: u[0],
6799
6825
  x: i[0].x,
6800
6826
  y: i[0].y
@@ -6820,7 +6846,7 @@ async function $l(t) {
6820
6846
  returnStatisticsAggregatedIds: m,
6821
6847
  popupTemplateFieldInfosEnabled: g,
6822
6848
  view: y
6823
- } = t, { series: p } = r, F = Q(p), x = [], { maxOIDsPerSelectionQuery: T, maxElementsPerSelectionQuery: B } = Gt(), b = i && i.length > 0 ? Math.ceil(i.length / B) : void 0, v = Math.ceil(e.length / T), N = b ? b <= v : !1, A = (N ? b : v) ?? 1;
6849
+ } = t, { series: p } = r, F = $(p), x = [], { maxOIDsPerSelectionQuery: T, maxElementsPerSelectionQuery: B } = Gt(), b = i && i.length > 0 ? Math.ceil(i.length / B) : void 0, v = Math.ceil(e.length / T), N = b ? b <= v : !1, A = (N ? b : v) ?? 1;
6824
6850
  for (let M = 0; M < A; M += 1) {
6825
6851
  const w = { ...a };
6826
6852
  if (N && i) {
@@ -6953,7 +6979,7 @@ async function $l(t) {
6953
6979
  }
6954
6980
  return await Promise.all(x);
6955
6981
  }
6956
- async function sf(t) {
6982
+ async function of(t) {
6957
6983
  const {
6958
6984
  chartConfig: e,
6959
6985
  chartData: i,
@@ -6975,7 +7001,7 @@ async function sf(t) {
6975
7001
  selectionData: x
6976
7002
  } = t, { series: T } = e, { selectionItems: B, selectionOIDs: b } = x ?? {};
6977
7003
  let v;
6978
- const N = Q(T), A = W(s), P = N !== h.HistogramSeries && N !== h.HeatSeries && B !== void 0 && B.length > 0 && !(T[0].x in B[0]) && !(me in B[0]) && !(C.boxPlot.boxPlotCategory in B[0]);
7004
+ const N = $(T), A = W(s), P = N !== h.HistogramSeries && N !== h.HeatSeries && B !== void 0 && B.length > 0 && !(T[0].x in B[0]) && !(me in B[0]) && !(C.boxPlot.boxPlotCategory in B[0]);
6979
7005
  if (y !== !0 && f !== !1 && b !== void 0 && b.length > 0 && (r === !0 || P || l)) {
6980
7006
  const w = Ni(i), I = Fa({
6981
7007
  queryObject: s,
@@ -6983,7 +7009,7 @@ async function sf(t) {
6983
7009
  runtimeDataFilters: p,
6984
7010
  ignoreViewExtent: F,
6985
7011
  view: g
6986
- }), L = ae(e.series[0]?.query?.where), O = ue(e.series), E = Me(e.series[0].query?.where);
7012
+ }), L = re(e.series[0]?.query?.where), O = ue(e.series), E = Me(e.series[0].query?.where);
6987
7013
  if (w && !kl(w) && w.some((H) => A.objectIdField in H))
6988
7014
  v = w.filter((H) => {
6989
7015
  const U = H[A.objectIdField];
@@ -6994,7 +7020,7 @@ async function sf(t) {
6994
7020
  w?.some(
6995
7021
  (j) => Object.keys(j).some((J) => {
6996
7022
  let V = !1;
6997
- if (J.startsWith(k.uniqueIds)) {
7023
+ if (J.startsWith(Q.uniqueIds)) {
6998
7024
  const K = j[J];
6999
7025
  V = Array.isArray(K) && K.length > 0;
7000
7026
  }
@@ -7004,14 +7030,14 @@ async function sf(t) {
7004
7030
  let J = !1;
7005
7031
  const V = [];
7006
7032
  return Object.keys(j).forEach((K) => {
7007
- if (K.startsWith(k.uniqueIds)) {
7033
+ if (K.startsWith(Q.uniqueIds)) {
7008
7034
  const se = j[K];
7009
7035
  se?.some(
7010
7036
  (mt) => b.includes(mt)
7011
- ) && se && (H.push(...se), V.push(K.replace(`${k.uniqueIds}_`, "")));
7037
+ ) && se && (H.push(...se), V.push(K.replace(`${Q.uniqueIds}_`, "")));
7012
7038
  }
7013
7039
  }), J = V.length > 0, E || O.forEach((K) => {
7014
- V.includes(K) || (delete j[K], delete j[`${k.uniqueIds}_${K}`], delete j[`${C.rendererSymbolField}_${K}`]);
7040
+ V.includes(K) || (delete j[K], delete j[`${Q.uniqueIds}_${K}`], delete j[`${C.rendererSymbolField}_${K}`]);
7015
7041
  }), J;
7016
7042
  }));
7017
7043
  const R = new Set(H), Z = b.filter((j) => !R.has(j));
@@ -7047,7 +7073,7 @@ async function sf(t) {
7047
7073
  function kl(t) {
7048
7074
  return t.length > 0 && t[0].type === h.HistogramBin;
7049
7075
  }
7050
- const of = {
7076
+ const lf = {
7051
7077
  shouldCheckDataMinMaxForLogScaleOnXAxis: sa,
7052
7078
  minMaxHasZeroOrNegativeValues: mi,
7053
7079
  isChartWithZeroOrNegativeValues: oa,
@@ -7059,29 +7085,29 @@ function Ql(t) {
7059
7085
  if (e.chartRenderer)
7060
7086
  r = !0;
7061
7087
  else {
7062
- const { series: a } = e, n = Q(a), s = z(a), o = _e(e), l = De({
7088
+ const { series: a } = e, n = $(a), s = z(a), o = _e(e), l = De({
7063
7089
  seriesConfig: o,
7064
7090
  queryObject: i
7065
7091
  }), c = W(i), u = c?.renderer;
7066
7092
  switch (u?.type) {
7067
- case ce.Simple:
7093
+ case de.Simple:
7068
7094
  r = n === h.HistogramSeries || n === h.ScatterSeries || s === S.BarAndLineMonoField || s === S.BoxPlotC1MonoField || s === S.BoxPlotC2MultiFields || s === S.BoxPlotC3MonoFieldAndCategory || s === S.BarAndLineNoAggregation && a.length === 1 && !l;
7069
7095
  break;
7070
- case ce.UniqueValue:
7096
+ case de.UniqueValue:
7071
7097
  {
7072
- const f = u?.field, m = ae(o.query?.where), { x: g } = o;
7098
+ const f = u?.field, m = re(o.query?.where), { x: g } = o;
7073
7099
  r = (s === S.BoxPlotC5MonoFieldAndSplitBy || s === S.BoxPlotC6MultiFieldsAndSplitBy || s === S.BoxPlotC7MonoFieldAndCategoryAndSplitBy || s === S.BarAndLineSplitByNoAggregation || s === S.BarAndLineSplitBy) && f === m || (s === S.BoxPlotC3MonoFieldAndCategory || s === S.PieFromCategory || s === S.BarAndLineMonoField) && f === g || s === S.BarAndLineNoAggregation || s === S.PieNoAggregation || n === h.ScatterSeries;
7074
7100
  }
7075
7101
  break;
7076
- case ce.PieChart:
7102
+ case de.PieChart:
7077
7103
  r = s === S.PieFromFields || s === S.BarAndLineFromFields || s === S.BarAndLineMultiFields || s === S.BarAndLineMonoField || s === S.BoxPlotC1MonoField || s === S.BoxPlotC2MultiFields || s === S.BoxPlotC3MonoFieldAndCategory || s === S.BoxPlotC4MultiFieldsAndCategory;
7078
7104
  break;
7079
- case ce.ClassBreaks:
7105
+ case de.ClassBreaks:
7080
7106
  r = n === h.HeatSeries || n === h.ScatterSeries || s === S.BarAndLineNoAggregation || s === S.PieNoAggregation;
7081
7107
  break;
7082
- case ce.Dictionary:
7083
- case ce.DotDensity:
7084
- case ce.Heatmap:
7108
+ case de.Dictionary:
7109
+ case de.DotDensity:
7110
+ case de.Heatmap:
7085
7111
  break;
7086
7112
  default:
7087
7113
  r = te(c) && (s === S.BarAndLineMonoField || s === S.BarAndLineSplitBy || s === S.BarAndLineSplitByNoAggregation);
@@ -7115,14 +7141,14 @@ function la(t) {
7115
7141
  delete i[e];
7116
7142
  else {
7117
7143
  const s = { ...r };
7118
- s.color !== void 0 && a === rt.LayerRenderer && (s.color[3] = pr * 255), a === rt.LayerRenderer && (delete s.style, delete s.outline, delete s.label), i[e] = s, n = !0;
7144
+ s.color !== void 0 && a === at.LayerRenderer && (s.color[3] = pr * 255), a === at.LayerRenderer && (delete s.style, delete s.outline, delete s.label), i[e] = s, n = !0;
7119
7145
  }
7120
7146
  return n;
7121
7147
  }
7122
7148
  function zl(t) {
7123
7149
  const { renderer: e, seriesConfig: i, chartSubType: r, dataItem: a, rendererOrigin: n } = t;
7124
7150
  let s, o = !1;
7125
- const l = Q(i), { outline: c, attributes: u } = e;
7151
+ const l = $(i), { outline: c, attributes: u } = e;
7126
7152
  return u.forEach(
7127
7153
  (d) => {
7128
7154
  let { field: f } = d;
@@ -7164,16 +7190,16 @@ function zl(t) {
7164
7190
  function Gl(t) {
7165
7191
  const { seriesConfig: e, chartSubType: i, rendererType: r } = t, a = C.rendererSymbolField, n = r === void 0;
7166
7192
  let s = a;
7167
- if (r === ce.UniqueValue || n) {
7193
+ if (r === de.UniqueValue || n) {
7168
7194
  if (cr(i)) {
7169
- const o = fe({
7195
+ const o = ce({
7170
7196
  where: e.query?.where,
7171
7197
  keepSurroundingQuotes: !1,
7172
7198
  escape: !1
7173
7199
  });
7174
7200
  o === null ? s = C.nullValue : i === S.BarAndLineSplitBy && typeof e.y == "string" ? s = e.y : i === S.BarAndLineSplitByNoAggregation && typeof e.y == "string" ? s = `${e.y}_${o}` : s = `${o}`;
7175
7201
  }
7176
- } else if (r === ce.PieChart)
7202
+ } else if (r === de.PieChart)
7177
7203
  switch (i) {
7178
7204
  case S.BoxPlotC2MultiFields:
7179
7205
  s = Array.isArray(e.y) ? e.y.flat() : e.y;
@@ -7195,7 +7221,7 @@ function ua(t) {
7195
7221
  chartSubType: i,
7196
7222
  rendererType: r
7197
7223
  });
7198
- return n instanceof Array && e.type === h.BoxPlotSeries && r === ce.PieChart && a !== void 0 && (n = n.find((s) => s === a[zt]) ?? n[0]), n = n !== C.rendererSymbolField ? `${C.rendererSymbolField}_${n.toString()}` : n, n;
7224
+ return n instanceof Array && e.type === h.BoxPlotSeries && r === de.PieChart && a !== void 0 && (n = n.find((s) => s === a[zt]) ?? n[0]), n = n !== C.rendererSymbolField ? `${C.rendererSymbolField}_${n.toString()}` : n, n;
7199
7225
  }
7200
7226
  function Wl(t) {
7201
7227
  const { chartRenderer: e, queryObject: i } = t, r = e !== void 0 ? {
@@ -7222,7 +7248,7 @@ async function jl(t) {
7222
7248
  mapAttributesToSymbol: u
7223
7249
  } = t;
7224
7250
  let d, f = !1;
7225
- if (a === ce.PieChart) {
7251
+ if (a === de.PieChart) {
7226
7252
  const m = zl({
7227
7253
  renderer: r,
7228
7254
  seriesConfig: e,
@@ -7240,7 +7266,7 @@ async function jl(t) {
7240
7266
  chartSubType: s,
7241
7267
  rendererType: a,
7242
7268
  dataItem: i
7243
- }), F = fe({
7269
+ }), F = ce({
7244
7270
  where: y.query?.where,
7245
7271
  normalize: !0,
7246
7272
  keepSurroundingQuotes: !1,
@@ -7251,10 +7277,10 @@ async function jl(t) {
7251
7277
  [o]: F
7252
7278
  });
7253
7279
  }
7254
- }) : e[0].type === h.HeatSeries && a === ce.ClassBreaks ? g.set(C.rendererSymbolField, {
7280
+ }) : e[0].type === h.HeatSeries && a === de.ClassBreaks ? g.set(C.rendererSymbolField, {
7255
7281
  [G.valueField]: i[G.valueField]
7256
7282
  }) : g.set(
7257
- Q(e) === h.HistogramSeries ? C.rendererSymbolFieldForHistogram : C.rendererSymbolField,
7283
+ $(e) === h.HistogramSeries ? C.rendererSymbolFieldForHistogram : C.rendererSymbolField,
7258
7284
  {
7259
7285
  ...i,
7260
7286
  [m]: Kl(i)
@@ -7323,7 +7349,7 @@ function Xl(t) {
7323
7349
  }
7324
7350
  return s;
7325
7351
  }
7326
- function lf(t) {
7352
+ function uf(t) {
7327
7353
  const { seriesSymbol: e, rendererSymbol: i, colorIndex: r } = t;
7328
7354
  let a = i?.color ?? e.color;
7329
7355
  a = a ?? gr({ colorIndex: r, opacity: pr });
@@ -7342,7 +7368,7 @@ function Yl(t) {
7342
7368
  let e = [];
7343
7369
  return t && (e = t.series.flatMap((i) => i.query?.outStatistics?.map((r) => r.onStatisticField)).filter((i) => i !== void 0), e.length === 0 && (e = ue(t.series))), e;
7344
7370
  }
7345
- function uf(t, e) {
7371
+ function cf(t, e) {
7346
7372
  let i = !1;
7347
7373
  if (t && e && e.length > 0 && ur(t)) {
7348
7374
  const a = cs(t), n = _e(t);
@@ -7461,7 +7487,7 @@ function ut(t) {
7461
7487
  let e = new Date(t).valueOf();
7462
7488
  return Number.isNaN(e) || (e = new Intl.DateTimeFormat("en-US", C.dateFormatUTC).format(t).replace(",", "")), e;
7463
7489
  }
7464
- function Vt(t) {
7490
+ function $t(t) {
7465
7491
  const { dataToConvert: e, x: i, y: r, fieldList: a } = t, n = [];
7466
7492
  if (e) {
7467
7493
  const s = e[qe];
@@ -7490,7 +7516,7 @@ function iu(t, e) {
7490
7516
  }
7491
7517
  return i;
7492
7518
  }
7493
- function it(t) {
7519
+ function rt(t) {
7494
7520
  const { countTotal: e, countPerSeries: i, numberOfSeries: r } = t;
7495
7521
  let a;
7496
7522
  const n = [];
@@ -7522,37 +7548,37 @@ function ca(t, e) {
7522
7548
  serialChart: { series: N, elements: A },
7523
7549
  pieChart: { slices: P },
7524
7550
  gauge: { features: M }
7525
- } = ct(e), w = Q(t.series), I = t.series.length === 0 ? 1 : t.series.length, L = z(t.series);
7551
+ } = ct(e), w = $(t.series), I = t.series.length === 0 ? 1 : t.series.length, L = z(t.series);
7526
7552
  switch (w) {
7527
7553
  case h.ComboLineAndBarSeries:
7528
7554
  case h.BarSeries:
7529
- I <= (r ?? N) && (I === 1 ? i = a ?? A : I === 2 ? i = it({
7555
+ I <= (r ?? N) && (I === 1 ? i = a ?? A : I === 2 ? i = rt({
7530
7556
  countTotal: s ?? A,
7531
7557
  countPerSeries: n,
7532
7558
  numberOfSeries: I
7533
- }) : I > 2 && (i = it({
7559
+ }) : I > 2 && (i = rt({
7534
7560
  countTotal: l ?? A,
7535
7561
  countPerSeries: o,
7536
7562
  numberOfSeries: I
7537
7563
  })));
7538
7564
  break;
7539
7565
  case h.LineSeries:
7540
- I <= (c ?? N) && (I === 1 ? i = u ?? A : I === 2 ? i = it({
7566
+ I <= (c ?? N) && (I === 1 ? i = u ?? A : I === 2 ? i = rt({
7541
7567
  countTotal: f ?? A,
7542
7568
  countPerSeries: d,
7543
7569
  numberOfSeries: I
7544
- }) : I > 2 && (i = it({
7570
+ }) : I > 2 && (i = rt({
7545
7571
  countTotal: g ?? A,
7546
7572
  countPerSeries: m,
7547
7573
  numberOfSeries: I
7548
7574
  })));
7549
7575
  break;
7550
7576
  case h.RadarSeries:
7551
- I <= (F ?? N) && (I === 1 ? i = x ?? A : I === 2 ? i = it({
7577
+ I <= (F ?? N) && (I === 1 ? i = x ?? A : I === 2 ? i = rt({
7552
7578
  countTotal: B ?? A,
7553
7579
  countPerSeries: T,
7554
7580
  numberOfSeries: I
7555
- }) : I > 2 && (i = it({
7581
+ }) : I > 2 && (i = rt({
7556
7582
  countTotal: v ?? A,
7557
7583
  countPerSeries: b,
7558
7584
  numberOfSeries: I
@@ -7588,7 +7614,7 @@ function ru(t) {
7588
7614
  }
7589
7615
  return e;
7590
7616
  }
7591
- function cf(t) {
7617
+ function df(t) {
7592
7618
  let e;
7593
7619
  if (ru(t)) {
7594
7620
  const i = /%(\d{1,3}(.\d+)?)$/u, r = /(\d{1,3}(.\d+)?)%$/u, a = t.replace(" ", ""), n = i.exec(a)?.[1] ?? r.exec(a)?.[1];
@@ -7600,7 +7626,7 @@ const au = 50, nu = 4194304;
7600
7626
  function su(t) {
7601
7627
  const { layer: e, chartConfig: i, rawData: r } = t;
7602
7628
  let a;
7603
- const n = i.series[0], { x: s, y: o } = n, { idField: l } = we(e), c = Xe(e);
7629
+ const n = i.series[0], { x: s, y: o } = n, { idField: l } = we(e), c = Ye(e);
7604
7630
  if (c) {
7605
7631
  const u = c.bandInfos, d = u.length === 1, f = d ? u?.[0].name : "";
7606
7632
  a = r.map((m) => ({
@@ -7609,20 +7635,20 @@ function su(t) {
7609
7635
  [o]: m.attributes?.[f]
7610
7636
  },
7611
7637
  ...m.attributes,
7612
- [k.uniqueIds]: m.attributes?.[l]
7638
+ [Q.uniqueIds]: m.attributes?.[l]
7613
7639
  }));
7614
7640
  }
7615
7641
  return a ?? [];
7616
7642
  }
7617
7643
  async function ou(t) {
7618
- const { queryObject: e, queryConfig: i, filterByViewExtent: r, abortKey: a, abortSignal: n } = t, s = n ?? (a !== void 0 ? ze.get(a)?.signal : void 0);
7644
+ const { queryObject: e, queryConfig: i, filterByViewExtent: r, abortKey: a, abortSignal: n } = t, s = n ?? (a !== void 0 ? Ge.get(a)?.signal : void 0);
7619
7645
  if (!e || !te(e))
7620
7646
  throw new oe(le.LayerNotSupported);
7621
7647
  const o = W(e), l = await ft(o, s);
7622
7648
  if (!l)
7623
7649
  throw new Error("Raster info is not available for the layer.");
7624
7650
  let c = l.extent;
7625
- if (!r && !i.geometry && st(o) && kt(o))
7651
+ if (!r && !i.geometry && Ue(o) && Ct(o))
7626
7652
  try {
7627
7653
  const d = o.createQuery(), { extent: f } = await o.queryExtent(d, { signal: s });
7628
7654
  f && (c = f);
@@ -7686,7 +7712,7 @@ function cu(t) {
7686
7712
  const { chartConfig: e, layer: i, selectionItems: r } = t;
7687
7713
  let a;
7688
7714
  if (r.length > 0) {
7689
- const { x: n, y: s } = uu(e), o = $t(i, n), l = $t(i, s);
7715
+ const { x: n, y: s } = uu(e), o = kt(i, n), l = kt(i, s);
7690
7716
  if (o !== void 0 && l !== void 0 && o !== l) {
7691
7717
  let c = Number.MAX_SAFE_INTEGER, u = Number.MIN_SAFE_INTEGER, d = Number.MAX_SAFE_INTEGER, f = Number.MIN_SAFE_INTEGER;
7692
7718
  r.forEach((m) => {
@@ -7715,11 +7741,11 @@ const gi = "PixelID", du = "Pixel ID", fu = [
7715
7741
  h.HistogramSeries,
7716
7742
  h.ScatterSeries
7717
7743
  ];
7718
- async function df(t) {
7744
+ async function ff(t) {
7719
7745
  let e = !1;
7720
7746
  const { config: i, layer: r, abortSignal: a } = t;
7721
7747
  if (Va(fu, i))
7722
- switch (Q(i?.series)) {
7748
+ switch ($(i?.series)) {
7723
7749
  case h.BarSeries:
7724
7750
  r.loaded || await r.load({ signal: a }), e = !!(await ft(r, a))?.attributeTable;
7725
7751
  break;
@@ -7754,7 +7780,7 @@ function da(t) {
7754
7780
  if (!t.loaded)
7755
7781
  throw new Error("Raster layer must be loaded to get its ID field name");
7756
7782
  let e;
7757
- const i = Xe(t);
7783
+ const i = Ye(t);
7758
7784
  if (i?.attributeTable) {
7759
7785
  const r = i.attributeTable.fields, a = r.find((n) => n.type === "oid")?.name;
7760
7786
  a ? e = a : e = r.find((s) => s.name.toLowerCase() === "value")?.name;
@@ -7766,7 +7792,7 @@ function fa(t) {
7766
7792
  const { layer: e, chartType: i, rasterInfo: r, popupTemplateFieldInfosEnabled: a } = t;
7767
7793
  if (!e.loaded)
7768
7794
  throw new Error("Raster layer must be loaded to get its fields info");
7769
- const n = r ?? Xe(e);
7795
+ const n = r ?? Ye(e);
7770
7796
  if (!n)
7771
7797
  throw new Error("Raster info must be provided or generated beforehand to get raster layer fields info");
7772
7798
  let s = [];
@@ -7776,7 +7802,7 @@ function sr(t) {
7776
7802
  const { layer: e, rasterInfo: i, popupTemplateFieldInfosEnabled: r } = t;
7777
7803
  if (!e.loaded)
7778
7804
  throw new Error("Raster layer must be loaded to get its fields info");
7779
- const a = i ?? Xe(e);
7805
+ const a = i ?? Ye(e);
7780
7806
  if (!a)
7781
7807
  throw new Error("Raster info must be provided or generated beforehand to get raster layer fields info");
7782
7808
  let n;
@@ -7802,9 +7828,9 @@ function sr(t) {
7802
7828
  return n;
7803
7829
  }
7804
7830
  async function ft(t, e) {
7805
- return t.loaded || await t.load({ signal: e }), ja(t) ? Xe(t) ?? void 0 : await t.generateRasterInfo(t.rasterFunction, { signal: e });
7831
+ return t.loaded || await t.load({ signal: e }), ja(t) ? Ye(t) ?? void 0 : await t.generateRasterInfo(t.rasterFunction, { signal: e });
7806
7832
  }
7807
- async function ff(t, e) {
7833
+ async function mf(t, e) {
7808
7834
  t.loaded || await t.load();
7809
7835
  const i = await ft(t);
7810
7836
  return fa({ layer: t, rasterInfo: i, popupTemplateFieldInfosEnabled: e });
@@ -7851,11 +7877,11 @@ const ma = Qe(
7851
7877
  },
7852
7878
  (t) => JSON.stringify(t, Object.keys(t).sort())
7853
7879
  // stringify with sorted keys
7854
- ), $t = (t, e) => {
7880
+ ), kt = (t, e) => {
7855
7881
  let i = -1;
7856
7882
  if (!t.loaded)
7857
7883
  throw new Error("Raster layer must be loaded to get its band ID by name");
7858
- const r = Xe(t)?.bandInfos;
7884
+ const r = Ye(t)?.bandInfos;
7859
7885
  if (r?.length === 1)
7860
7886
  i = 0;
7861
7887
  else if (e && r?.length) {
@@ -7863,8 +7889,8 @@ const ma = Qe(
7863
7889
  n > -1 && (i = n);
7864
7890
  }
7865
7891
  return i;
7866
- }, mf = (t) => {
7867
- const { chartConfig: e, layer: i, selectionItems: r } = t, a = Q(e.series);
7892
+ }, gf = (t) => {
7893
+ const { chartConfig: e, layer: i, selectionItems: r } = t, a = $(e.series);
7868
7894
  let n;
7869
7895
  switch (a) {
7870
7896
  case h.BarSeries:
@@ -7894,7 +7920,7 @@ const ma = Qe(
7894
7920
  }
7895
7921
  return n;
7896
7922
  };
7897
- function kt(t) {
7923
+ function Ct(t) {
7898
7924
  const { definitionExpression: e, mosaicRule: i } = t;
7899
7925
  return !!(e || i?.objectIds?.length || i?.method === "lock-raster" && i?.lockRasterIds?.length || i?.where);
7900
7926
  }
@@ -7904,7 +7930,7 @@ async function Fu(t) {
7904
7930
  if (e !== void 0)
7905
7931
  try {
7906
7932
  const l = W(e), u = {
7907
- geometry: Ye(i.geometry) ?? n ?? l.fullExtent,
7933
+ geometry: Ze(i.geometry) ?? n ?? l.fullExtent,
7908
7934
  autoResample: !0,
7909
7935
  maxPixelCount: a,
7910
7936
  skipFactor: r
@@ -7930,7 +7956,7 @@ function bu(t) {
7930
7956
  spatialReference: a.spatialReference.toJSON()
7931
7957
  };
7932
7958
  } else if (!s && n.fullExtent)
7933
- if (st(n) && kt(n))
7959
+ if (Ue(n) && Ct(n))
7934
7960
  s = void 0;
7935
7961
  else {
7936
7962
  const { xmin: o, xmax: l, ymin: c, ymax: u, zmin: d, zmax: f } = n.fullExtent;
@@ -7948,7 +7974,7 @@ function bu(t) {
7948
7974
  }
7949
7975
  function xu(t) {
7950
7976
  let e, i, r;
7951
- return t !== void 0 && (e = t.type, (e === ce.UniqueValue || e === ce.ClassBreaks) && (i = t.field ?? void 0, e === ce.ClassBreaks && (r = t.normalizationField ?? void 0))), { rendererType: e, rendererField: i, rendererNormalizationField: r };
7977
+ return t !== void 0 && (e = t.type, (e === de.UniqueValue || e === de.ClassBreaks) && (i = t.field ?? void 0, e === de.ClassBreaks && (r = t.normalizationField ?? void 0))), { rendererType: e, rendererField: i, rendererNormalizationField: r };
7952
7978
  }
7953
7979
  const ya = Qe(
7954
7980
  (t) => {
@@ -7983,7 +8009,7 @@ const ya = Qe(
7983
8009
  (t) => JSON.stringify(t)
7984
8010
  // stringify with sorted keys
7985
8011
  );
7986
- async function gf(t, e) {
8012
+ async function yf(t, e) {
7987
8013
  let i;
7988
8014
  switch (t?.layerType ?? "") {
7989
8015
  case "ArcGISFeatureLayer":
@@ -8003,7 +8029,7 @@ async function gf(t, e) {
8003
8029
  }
8004
8030
  return i;
8005
8031
  }
8006
- function yf(t) {
8032
+ function pf(t) {
8007
8033
  const { layerOrLayerView: e, iLayer: i, view: r, layerItemId: a } = t, n = W(e), s = pe(n), o = te(s) || Xa(i);
8008
8034
  let l;
8009
8035
  return o ? l = mu({ layer: e, iLayer: i }) : s !== void 0 ? (s.isTable || (s.outFields = ["*"]), l = e) : i?.layerType === "ArcGISFeatureLayer" && (l = ya(i)), !l && a && (l = Mu({
@@ -8029,7 +8055,7 @@ function ve(t, e) {
8029
8055
  }
8030
8056
  return r;
8031
8057
  }
8032
- function pf(t, e = []) {
8058
+ function hf(t, e = []) {
8033
8059
  return e.find((i) => i.name === t);
8034
8060
  }
8035
8061
  function Yt(t) {
@@ -8052,7 +8078,7 @@ function we(t) {
8052
8078
  }
8053
8079
  return { idField: e, isTraditionalTypeOID: i };
8054
8080
  }
8055
- function Ct(t) {
8081
+ function Bt(t) {
8056
8082
  const e = [
8057
8083
  X.Single,
8058
8084
  X.Double,
@@ -8065,13 +8091,13 @@ function Ct(t) {
8065
8091
  function Cu(t) {
8066
8092
  return t?.type === X.Date || t?.type === X.DateOnly || t?.type === X.TimestampOffset;
8067
8093
  }
8068
- function hf(t) {
8094
+ function Sf(t) {
8069
8095
  return t?.type === X.String;
8070
8096
  }
8071
- function Sf(t) {
8097
+ function Ff(t) {
8072
8098
  return t?.type === X.TimeOnly;
8073
8099
  }
8074
- function Ff(t) {
8100
+ function bf(t) {
8075
8101
  const e = [
8076
8102
  X.SmallInteger,
8077
8103
  X.Integer,
@@ -8082,8 +8108,8 @@ function Ff(t) {
8082
8108
  function Bu(t) {
8083
8109
  return t.filter((e) => Cu(e)).map((e) => e.name);
8084
8110
  }
8085
- function bf(t) {
8086
- return t.filter((e) => Ct(e)).map((e) => e.name);
8111
+ function xf(t) {
8112
+ return t.filter((e) => Bt(e)).map((e) => e.name);
8087
8113
  }
8088
8114
  function yi(t, e) {
8089
8115
  let i;
@@ -8117,9 +8143,9 @@ async function vu(t, e) {
8117
8143
  if (a && n && pe(t)?.sourceJSON?.serviceItemId !== void 0) {
8118
8144
  const s = Sa(a);
8119
8145
  try {
8120
- const o = (await It(s, { query: { f: "json" }, signal: e })).data;
8146
+ const o = (await Dt(s, { query: { f: "json" }, signal: e })).data;
8121
8147
  if (o.owningTenant !== void 0 && o.owningSystemUrl !== void 0) {
8122
- const l = `${o.owningSystemUrl}/sharing/rest/portals/${o.owningTenant}`, c = (await It(l, {
8148
+ const l = `${o.owningSystemUrl}/sharing/rest/portals/${o.owningTenant}`, c = (await Dt(l, {
8123
8149
  authMode: "auto",
8124
8150
  query: { f: "json" },
8125
8151
  signal: e
@@ -8177,11 +8203,11 @@ function Fa(t) {
8177
8203
  ignoreViewExtent: n
8178
8204
  }), L.distance = b ?? m, L.units = v ?? g, L.objectIds = N ?? y, L.spatialRelationship = A ?? p, M?.outStatistics?.[0]?.statisticType === D.Count && (L.returnDistinctValues = M?.returnDistinctValues ?? !1), L?.outStatistics?.forEach((O) => {
8179
8205
  Mi(O) && !("statisticParameters" in O) && (O.statisticParameters = {
8180
- value: k.defaultStatParameterValue
8206
+ value: Q.defaultStatParameterValue
8181
8207
  });
8182
8208
  }), L;
8183
8209
  }
8184
- async function xf(t) {
8210
+ async function Cf(t) {
8185
8211
  let e = [];
8186
8212
  return t !== void 0 && (e = await Lu(t)), e;
8187
8213
  }
@@ -8191,7 +8217,7 @@ async function wu(t, e) {
8191
8217
  const a = t.series;
8192
8218
  let n = e;
8193
8219
  if (t.iLayer?.layerType === "ArcGISFeatureLayer" && (n = await pa(t.iLayer)), n !== void 0) {
8194
- const s = a[0].x ?? "", o = a.map((f) => "y" in f ? f.y : "").flat(), l = ae(t.series[0].query?.where), c = $a(t), u = t?.series.map((f) => {
8220
+ const s = a[0].x ?? "", o = a.map((f) => "y" in f ? f.y : "").flat(), l = re(t.series[0].query?.where), c = $a(t), u = t?.series.map((f) => {
8195
8221
  const m = f.query?.outStatistics?.map((g) => g.onStatisticField) ?? [];
8196
8222
  return m?.length > 0 ? m : "";
8197
8223
  }).flat();
@@ -8229,17 +8255,17 @@ function Mu(t) {
8229
8255
  }
8230
8256
  return r;
8231
8257
  }
8232
- const Cf = {
8258
+ const Bf = {
8233
8259
  getServerRestInfo: Sa
8234
8260
  };
8235
8261
  async function Pi(t, e) {
8236
- await t?.load({ signal: e }), t && (st(t) || hr(t)) && await t.generateRasterInfo(t.rasterFunction, {
8262
+ await t?.load({ signal: e }), t && (Ue(t) || hr(t)) && await t.generateRasterInfo(t.rasterFunction, {
8237
8263
  signal: e
8238
8264
  });
8239
8265
  }
8240
8266
  function Iu(t) {
8241
8267
  const { whereValue: e, outStatistics: i, y: r } = t;
8242
- let a = k.outStatistics.outStatisticFieldName ?? "";
8268
+ let a = Q.outStatistics.outStatisticFieldName ?? "";
8243
8269
  return i?.outStatisticFieldName !== void 0 ? a = i.outStatisticFieldName : i?.onStatisticField !== void 0 && i.statisticType !== void 0 ? a = `${i.statisticType}_${i.onStatisticField}_${e}` : r !== void 0 && (a = [r].flat()[0]), a;
8244
8270
  }
8245
8271
  function Du(t) {
@@ -8247,7 +8273,7 @@ function Du(t) {
8247
8273
  for (let i = 0; i < t.length; i += 1) {
8248
8274
  const r = t[i], a = r.query?.where;
8249
8275
  if (a !== void 0 && "y" in r) {
8250
- const n = fe({ where: a, normalize: !0, escape: !1 });
8276
+ const n = ce({ where: a, normalize: !0, escape: !1 });
8251
8277
  if (n !== "") {
8252
8278
  const s = Iu({
8253
8279
  whereValue: n,
@@ -8279,7 +8305,7 @@ function Eu(t) {
8279
8305
  isTimeBinningSeries: s,
8280
8306
  returnFeaturesExtent: o,
8281
8307
  splitByField: l
8282
- } = t, c = k.outStatistics;
8308
+ } = t, c = Q.outStatistics;
8283
8309
  if (e.outStatistics?.[0] !== void 0) {
8284
8310
  n !== S.PieFromFields && n !== S.BarAndLineFromFields && (e.outStatistics[0].outStatisticFieldName = r ? c.outStatisticFieldName : [i].flat()[0]);
8285
8311
  const { outStatistics: u } = e;
@@ -8288,7 +8314,7 @@ function Eu(t) {
8288
8314
  f !== void 0 && Mi(f) && (s && !ot(l, a) ? (u[d].statisticType = D.Count, delete u[d].statisticParameters) : u[d] = {
8289
8315
  ...u[d],
8290
8316
  statisticParameters: u[d].statisticParameters ?? {
8291
- value: k.defaultStatParameterValue
8317
+ value: Q.defaultStatParameterValue
8292
8318
  }
8293
8319
  });
8294
8320
  }
@@ -8305,7 +8331,7 @@ function Eu(t) {
8305
8331
  o === !0 && (!s || ne(l)) && e.outStatistics?.push({ statisticType: D.EnvelopeAggregate, onStatisticField: "1" });
8306
8332
  }
8307
8333
  function qu(t) {
8308
- const { chartConfig: e, fetchFullBoxPlotData: i } = t, { series: r } = e, a = We(e);
8334
+ const { chartConfig: e, fetchFullBoxPlotData: i } = t, { series: r } = e, a = je(e);
8309
8335
  let n = [
8310
8336
  { statisticType: D.Average, suffix: q.Average }
8311
8337
  ];
@@ -8402,7 +8428,7 @@ function Ii(t) {
8402
8428
  let p = /* @__PURE__ */ new Map(), F = !1, x = !1, T = !1, B = !1, b = !1, v = {};
8403
8429
  if (f !== void 0) {
8404
8430
  v = Re(f);
8405
- const E = ae(f.where);
8431
+ const E = re(f.where);
8406
8432
  let H = "";
8407
8433
  switch (i.fetchNullValues !== !0 && (m !== C.boxPlot.boxPlotCategory && (H = `${m} IS NOT NULL`), E.trim() !== "" && E !== m && !Me(f.where) && (H = Y([H, `${E} IS NOT NULL`]))), u) {
8408
8434
  case S.BarAndLineSplitBy: {
@@ -8445,7 +8471,7 @@ function Ii(t) {
8445
8471
  isTimeBinningSeries: y,
8446
8472
  returnFeaturesExtent: o,
8447
8473
  splitByField: E
8448
- }), B && Ou({ uniqueQuery: v, splitByField: E, x: m }), de(e) && b && (v.outStatistics = qu({ chartConfig: e, fetchFullBoxPlotData: s })), T ? delete v.orderByFields : i.orderByFields !== void 0 && (v.orderByFields = i.orderByFields.filter((U) => {
8474
+ }), B && Ou({ uniqueQuery: v, splitByField: E, x: m }), fe(e) && b && (v.outStatistics = qu({ chartConfig: e, fetchFullBoxPlotData: s })), T ? delete v.orderByFields : i.orderByFields !== void 0 && (v.orderByFields = i.orderByFields.filter((U) => {
8449
8475
  const R = U.split(" ");
8450
8476
  return !ne(R[0]);
8451
8477
  })), y && Ce(c[0])) {
@@ -8453,7 +8479,7 @@ function Ii(t) {
8453
8479
  ve(r).find((J) => J.name === m)?.type !== X.DateOnly && R && Vu({
8454
8480
  uniqueQuery: v,
8455
8481
  x: m,
8456
- splitByField: ae(f.where),
8482
+ splitByField: re(f.where),
8457
8483
  unit: a?.unit ?? c[0].temporalBinning?.unit,
8458
8484
  chartSubType: u,
8459
8485
  objectIdFields: R,
@@ -8466,7 +8492,7 @@ function Ii(t) {
8466
8492
  const { gdbVersion: N, geometry: A, distance: P, units: M, timeExtent: w, where: I, objectIds: L, spatialRelationship: O } = i;
8467
8493
  return N !== void 0 && (v.gdbVersion = N), A !== void 0 && (v.geometry = A), P !== void 0 && (v.distance = P), M !== void 0 && (v.units = M), w !== void 0 && (v.timeExtent = w), L !== void 0 && (v.objectIds = L), O !== void 0 && (v.spatialRelationship = O), I !== void 0 && (v.where = Y([v.where, I])), { uniqueQuery: v, mapToStatField: p };
8468
8494
  }
8469
- const Ze = {
8495
+ const Je = {
8470
8496
  LegendItemVisibilityChange: "arcgisChartsJSLegendItemVisibilityChange",
8471
8497
  RenderingComplete: "arcgisChartsJSRenderingComplete",
8472
8498
  SeriesColorsChange: "arcgisChartsJSSeriesColorChange",
@@ -8475,7 +8501,7 @@ const Ze = {
8475
8501
  TooManySelectedElements: "arcgisChartsJSTooManySelectedElements",
8476
8502
  SeriesOrder: "arcgisChartsJSSeriesOrder"
8477
8503
  };
8478
- function Je(t) {
8504
+ function Ke(t) {
8479
8505
  return {
8480
8506
  detail: t,
8481
8507
  composed: !0,
@@ -8483,27 +8509,27 @@ function Je(t) {
8483
8509
  bubbles: !0
8484
8510
  };
8485
8511
  }
8486
- function Bf(t, e) {
8512
+ function vf(t, e) {
8487
8513
  e && e.dispatchEvent(
8488
- new window.CustomEvent(Ze.LegendItemVisibilityChange, Je(t))
8514
+ new window.CustomEvent(Je.LegendItemVisibilityChange, Ke(t))
8489
8515
  );
8490
8516
  }
8491
- function vf(t) {
8492
- t && t.dispatchEvent(new window.CustomEvent(Ze.RenderingComplete, Je()));
8493
- }
8494
8517
  function Tf(t) {
8495
- const { data: e, htmlContainer: i } = t;
8496
- i && i.dispatchEvent(new window.CustomEvent(Ze.SelectionComplete, Je(e)));
8518
+ t && t.dispatchEvent(new window.CustomEvent(Je.RenderingComplete, Ke()));
8497
8519
  }
8498
8520
  function Nf(t) {
8499
- t && t.dispatchEvent(new window.CustomEvent(Ze.TooManySelectedElements, Je()));
8521
+ const { data: e, htmlContainer: i } = t;
8522
+ i && i.dispatchEvent(new window.CustomEvent(Je.SelectionComplete, Ke(e)));
8500
8523
  }
8501
8524
  function Af(t) {
8525
+ t && t.dispatchEvent(new window.CustomEvent(Je.TooManySelectedElements, Ke()));
8526
+ }
8527
+ function wf(t) {
8502
8528
  const { data: e, htmlContainer: i, chartId: r, colorMatchApplied: a } = t;
8503
8529
  i && i.dispatchEvent(
8504
8530
  new window.CustomEvent(
8505
- Ze.SeriesColorsChange,
8506
- Je({
8531
+ Je.SeriesColorsChange,
8532
+ Ke({
8507
8533
  chartId: r,
8508
8534
  data: e,
8509
8535
  colorMatchApplied: a
@@ -8511,12 +8537,12 @@ function Af(t) {
8511
8537
  )
8512
8538
  );
8513
8539
  }
8514
- function wf(t, e) {
8515
- e && e.dispatchEvent(new window.CustomEvent(Ze.AxesMinMaxChange, Je(t)));
8540
+ function Lf(t, e) {
8541
+ e && e.dispatchEvent(new window.CustomEvent(Je.AxesMinMaxChange, Ke(t)));
8516
8542
  }
8517
8543
  function $u(t) {
8518
8544
  const { data: e, htmlContainer: i } = t;
8519
- i && e && i.dispatchEvent(new window.CustomEvent(Ze.SeriesOrder, Je(e)));
8545
+ i && e && i.dispatchEvent(new window.CustomEvent(Je.SeriesOrder, Ke(e)));
8520
8546
  }
8521
8547
  const He = [
8522
8548
  "1.0.0",
@@ -8636,12 +8662,12 @@ function ri(t, e) {
8636
8662
  function Hu(t) {
8637
8663
  return t !== void 0 ? /^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(t) : !1;
8638
8664
  }
8639
- function Lf(t) {
8640
- let e = tt.Same, i = [];
8665
+ function Pf(t) {
8666
+ let e = it.Same, i = [];
8641
8667
  if (Hu(t) && t !== void 0) {
8642
8668
  He.sort(ri);
8643
8669
  const a = ri(t, He[He.length - 1]);
8644
- if (a === 1 ? e = tt.Newer : a === -1 && (e = tt.Older), e === tt.Newer || e === tt.Same)
8670
+ if (a === 1 ? e = it.Newer : a === -1 && (e = it.Older), e === it.Newer || e === it.Same)
8645
8671
  i.push(t);
8646
8672
  else {
8647
8673
  for (let n = He.length - 2; n >= 0; n -= 1)
@@ -8652,7 +8678,7 @@ function Lf(t) {
8652
8678
  i.length === 0 && i.push(ku);
8653
8679
  }
8654
8680
  } else
8655
- e = tt.Unrecognized, i.push(Qu);
8681
+ e = it.Unrecognized, i.push(Qu);
8656
8682
  return { versionStatus: e, versions: i };
8657
8683
  }
8658
8684
  function _e(t) {
@@ -8660,15 +8686,15 @@ function _e(t) {
8660
8686
  let r = ("showMean" in t ? t.showMean : !1) === !0 ? e.find((a) => a.type === h.LineSeries) : e[0];
8661
8687
  return r ??= e[0], r;
8662
8688
  }
8663
- function Pf(t, e) {
8689
+ function Mf(t, e) {
8664
8690
  const i = t !== null ? t.toString() : null, r = e != null ? e.toString() : null;
8665
8691
  return r !== null && r !== i ? xe.SFS : xe.SLS;
8666
8692
  }
8667
- function ae(t, e) {
8693
+ function re(t, e) {
8668
8694
  let i = "";
8669
8695
  return t?.includes("=") && (i = e !== !1 ? dr({ value: t.split("=")[0], escape: !1 }) : t.split("=")[0].trim()), i;
8670
8696
  }
8671
- function fe(t) {
8697
+ function ce(t) {
8672
8698
  const { where: e, normalize: i, keepSurroundingQuotes: r, escape: a = !1 } = t;
8673
8699
  let n = "";
8674
8700
  return e?.includes("=") && (n = e.split("=").slice(1).join("=").trim(), n === "null" ? n = null : n.trim() !== "" && !Number.isNaN(Number(n)) ? n = Number(n) : i === !1 ? a && (n = ai(n)) : n = dr({ value: n, keepSurroundingQuotes: r, escape: a })), n;
@@ -8678,13 +8704,13 @@ function Me(t) {
8678
8704
  if (t === void 0 || t === "")
8679
8705
  e = !0;
8680
8706
  else if (typeof t == "string" && t.includes("=")) {
8681
- const i = ae(t, !1), r = fe({ where: t, normalize: !1 });
8707
+ const i = re(t, !1), r = ce({ where: t, normalize: !1 });
8682
8708
  e = i === `${r}`;
8683
8709
  }
8684
8710
  return e;
8685
8711
  }
8686
8712
  function Ie(t) {
8687
- const { where: e, normalize: i, escape: r } = t, a = i === void 0 ? !0 : i, n = ae(e), s = fe({
8713
+ const { where: e, normalize: i, escape: r } = t, a = i === void 0 ? !0 : i, n = re(e), s = ce({
8688
8714
  where: e,
8689
8715
  normalize: a,
8690
8716
  keepSurroundingQuotes: !0,
@@ -8710,7 +8736,7 @@ function Uu(t) {
8710
8736
  function z(t) {
8711
8737
  let e = S.NonSpecific;
8712
8738
  if (t?.[0] !== void 0)
8713
- switch (Q(t)) {
8739
+ switch ($(t)) {
8714
8740
  case h.PieSeries:
8715
8741
  e = xa(t);
8716
8742
  break;
@@ -8731,7 +8757,7 @@ function zu(t) {
8731
8757
  }
8732
8758
  function Gu(t) {
8733
8759
  let e = !0;
8734
- const i = Q(t.series);
8760
+ const i = $(t.series);
8735
8761
  if (i === h.BarSeries || i === h.LineSeries || i === h.ComboLineAndBarSeries) {
8736
8762
  const r = z(t.series);
8737
8763
  e = r !== S.BarAndLineNoAggregation && r !== S.BarAndLineSplitByNoAggregation;
@@ -8750,11 +8776,11 @@ function Ba(t) {
8750
8776
  } else i !== void 0 && (a = C.scatterplotAggregationFields.dataContextXMinField in i);
8751
8777
  return a;
8752
8778
  }
8753
- function Mf(t) {
8779
+ function If(t) {
8754
8780
  const { dataContext: e, chartConfig: i, chartLimits: r } = t;
8755
8781
  let a = !0;
8756
8782
  if (i !== void 0)
8757
- switch (Q(i.series)) {
8783
+ switch ($(i.series)) {
8758
8784
  case h.BarSeries:
8759
8785
  case h.LineSeries:
8760
8786
  case h.ComboLineAndBarSeries:
@@ -8787,7 +8813,7 @@ function Ce(t) {
8787
8813
  function va(t) {
8788
8814
  const { previousConfig: e, newConfig: i, behaviorAfterLimit: r } = t, a = e.series, n = i.series;
8789
8815
  let s = !1, o = !1;
8790
- (r === dt.RenderUpToTheLimit || e.orderOptions?.data === void 0 || i.orderOptions?.data === void 0) && (o = !nt(
8816
+ (r === dt.RenderUpToTheLimit || e.orderOptions?.data === void 0 || i.orderOptions?.data === void 0) && (o = !st(
8791
8817
  e.orderOptions?.orderByFields,
8792
8818
  i.orderOptions?.orderByFields
8793
8819
  ));
@@ -8795,11 +8821,11 @@ function va(t) {
8795
8821
  const m = f.query;
8796
8822
  return m?.outStatistics?.forEach((g) => {
8797
8823
  Mi(g) && !("statisticParameters" in g) && (g.statisticParameters = {
8798
- value: k.defaultStatParameterValue
8824
+ value: Q.defaultStatParameterValue
8799
8825
  });
8800
8826
  }), m;
8801
8827
  }, c = ["where", "outStatistics[0].outStatisticFieldName", "outStatistics[0].onStatisticField"], u = Oi(a.map(l), c), d = Oi(n.map(l), c);
8802
- return s = !nt(u, d), s || o;
8828
+ return s = !st(u, d), s || o;
8803
8829
  }
8804
8830
  function Wu(t, e) {
8805
8831
  return JSON.stringify(t.dataFilters) !== JSON.stringify(e.dataFilters);
@@ -8810,7 +8836,7 @@ function ju(t, e) {
8810
8836
  if (e[0].x !== t[0].x)
8811
8837
  i = !0;
8812
8838
  else {
8813
- const r = Q(t);
8839
+ const r = $(t);
8814
8840
  if (r !== h.HistogramSeries && r !== h.GaugeSeries) {
8815
8841
  const a = ue(t).sort(), n = ue(e).sort();
8816
8842
  i = JSON.stringify(a) !== JSON.stringify(n);
@@ -8846,7 +8872,7 @@ function lr(t, e) {
8846
8872
  return e.length !== t.length;
8847
8873
  }
8848
8874
  function wa(t, e) {
8849
- return We(t) !== We(e);
8875
+ return je(t) !== je(e);
8850
8876
  }
8851
8877
  function La(t, e) {
8852
8878
  return JSON.stringify(t.series[0]?.valueConversion) !== JSON.stringify(e.series[0]?.valueConversion);
@@ -8869,41 +8895,41 @@ function Ju(t) {
8869
8895
  let s = !1;
8870
8896
  if (a.type === h.ScatterSeries && n.type === h.ScatterSeries && r && r.length > 0) {
8871
8897
  const o = new Set(a.additionalTooltipFields || []), l = new Set(n.additionalTooltipFields || []);
8872
- if (!nt(o, l)) {
8898
+ if (!st(o, l)) {
8873
8899
  const c = Array.from(l).filter((u) => !o.has(u));
8874
- c.length > 0 && (s = r?.some((u) => c.includes(u.name) && !Ct(u)));
8900
+ c.length > 0 && (s = r?.some((u) => c.includes(u.name) && !Bt(u)));
8875
8901
  }
8876
8902
  }
8877
8903
  return s;
8878
8904
  }
8879
- function If(t, e) {
8905
+ function Df(t, e) {
8880
8906
  return (t?.colorMatch ?? !1) !== (e.colorMatch ?? !1);
8881
8907
  }
8882
- function Df(t, e) {
8908
+ function Of(t, e) {
8883
8909
  return (t.stackedType ?? Ae.Side) !== (e.stackedType ?? Ae.Side);
8884
8910
  }
8885
8911
  function Qt(t) {
8886
8912
  const e = { ...t };
8887
8913
  return e.position === void 0 && (e.position = St.heatChart.legend.position), e;
8888
8914
  }
8889
- function Of(t, e) {
8915
+ function Ef(t, e) {
8890
8916
  const i = t.legend ?? { type: h.Legend }, r = e.legend ?? { type: h.Legend }, a = Qt(i), n = Qt(r);
8891
- return !nt(a, n);
8917
+ return !st(a, n);
8892
8918
  }
8893
- function Ef(t, e) {
8919
+ function qf(t, e) {
8894
8920
  const i = t.legend ?? { type: h.Legend }, r = e.legend ?? { type: h.Legend }, a = Qt(i), n = Qt(r);
8895
8921
  return a.position !== n.position;
8896
8922
  }
8897
- function qf(t, e) {
8923
+ function Rf(t, e) {
8898
8924
  return JSON.stringify(t.series[0]?.gradientRules) !== JSON.stringify(e.series[0]?.gradientRules);
8899
8925
  }
8900
- function Rf(t, e) {
8926
+ function Vf(t, e) {
8901
8927
  return t.series[0].heatRulesType !== e.series[0].heatRulesType;
8902
8928
  }
8903
- function Vf(t) {
8929
+ function $f(t) {
8904
8930
  const { oldConfig: e, newConfig: i } = t;
8905
8931
  let r = !1;
8906
- const a = e?.series[0], n = i.series[0], s = Q(e?.series), o = Q(i.series);
8932
+ const a = e?.series[0], n = i.series[0], s = $(e?.series), o = $(i.series);
8907
8933
  if (s === h.PieSeries && o === h.PieSeries) {
8908
8934
  const { slices: l, sliceGrouping: c } = a, { slices: u, sliceGrouping: d } = n, f = l?.map((p) => ({
8909
8935
  sliceId: p.sliceId,
@@ -8919,49 +8945,49 @@ function Vf(t) {
8919
8945
  function Ku(t) {
8920
8946
  const { previousSelectionOIDs: e, selectionData: i, filterBySelection: r } = t;
8921
8947
  let a = !1;
8922
- return r === !0 && (a = e?.length !== i?.selectionOIDs?.length || !nt(e, i?.selectionOIDs)), a;
8948
+ return r === !0 && (a = e?.length !== i?.selectionOIDs?.length || !st(e, i?.selectionOIDs)), a;
8923
8949
  }
8924
- function $f(t, e) {
8950
+ function kf(t, e) {
8925
8951
  return t?.length !== e?.length || t?.some((i, r) => {
8926
- const a = fe({ where: i?.query?.where }), n = fe({ where: e?.[r]?.query?.where });
8952
+ const a = ce({ where: i?.query?.where }), n = ce({ where: e?.[r]?.query?.where });
8927
8953
  return a !== n;
8928
8954
  });
8929
8955
  }
8930
- function kf(t, e) {
8956
+ function Qf(t, e) {
8931
8957
  const i = ue(t), r = ue(e);
8932
8958
  return JSON.stringify(i) !== JSON.stringify(r);
8933
8959
  }
8934
- function Qf(t, e) {
8960
+ function _f(t, e) {
8935
8961
  let i, r, a, n;
8936
8962
  return Ce(t.series[0]) && (i = t.series[0].temporalBinning?.unit, a = t.series[0].temporalBinning?.size), Ce(e.series[0]) && (r = e.series[0].temporalBinning?.unit, n = e.series[0].temporalBinning?.size), li(i, a) && !li(r, n);
8937
8963
  }
8938
- function _f(t, e) {
8964
+ function Hf(t, e) {
8939
8965
  return t.axes?.length === 3 && e.axes?.length === 2 || t.axes?.length === 2 && e.axes?.length === 3;
8940
8966
  }
8941
- function Hf(t, e) {
8967
+ function Uf(t, e) {
8942
8968
  return JSON.stringify(t.series.map((i) => i.assignToSecondValueAxis ?? !1)) !== JSON.stringify(e.series.map((i) => i.assignToSecondValueAxis ?? !1));
8943
8969
  }
8944
- function Uf(t, e) {
8970
+ function zf(t, e) {
8945
8971
  const i = t.axes?.map((a) => a?.guides?.map((n) => n?.above === !0)), r = e.axes?.map((a) => a?.guides?.map((n) => n?.above === !0));
8946
8972
  return JSON.stringify(i) !== JSON.stringify(r);
8947
8973
  }
8948
- function zf(t, e) {
8974
+ function Gf(t, e) {
8949
8975
  return Ei(t) !== Ei(e);
8950
8976
  }
8951
- function Gf(t, e) {
8977
+ function Wf(t, e) {
8952
8978
  return (t.showOutliers ?? C.boxPlot.boxPlotOutliersVisibility) !== (e.showOutliers ?? C.boxPlot.boxPlotOutliersVisibility);
8953
8979
  }
8954
- function Wf(t, e) {
8980
+ function jf(t, e) {
8955
8981
  return (t.standardizeValues ?? C.boxPlot.boxPlotStandardizeValuesVisibility) !== (e.standardizeValues ?? C.boxPlot.boxPlotStandardizeValuesVisibility);
8956
8982
  }
8957
- function jf(t, e) {
8983
+ function Xf(t, e) {
8958
8984
  return JSON.stringify(t?.chartRenderer) !== JSON.stringify(e?.chartRenderer);
8959
8985
  }
8960
- function Xf(t, e) {
8986
+ function Yf(t, e) {
8961
8987
  const i = t.axes?.[0].valueFormat.type === h.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0, r = e.axes?.[0].valueFormat.type === h.DateAxisFormat ? e.axes[0].valueFormat.intlOptions.timeZone : void 0;
8962
8988
  return i !== r;
8963
8989
  }
8964
- function Yf(t, e) {
8990
+ function Zf(t, e) {
8965
8991
  let i = !1;
8966
8992
  const r = t.series[0], a = e.series[0];
8967
8993
  if (r.type === h.ScatterSeries && a.type === h.ScatterSeries) {
@@ -8970,7 +8996,7 @@ function Yf(t, e) {
8970
8996
  }
8971
8997
  return i;
8972
8998
  }
8973
- function Zf(t, e) {
8999
+ function Jf(t, e) {
8974
9000
  let i = !1;
8975
9001
  const r = t.series[0], a = e.series[0];
8976
9002
  if (r.type === h.ScatterSeries && a.type === h.ScatterSeries) {
@@ -8979,7 +9005,7 @@ function Zf(t, e) {
8979
9005
  }
8980
9006
  return i;
8981
9007
  }
8982
- function Jf(t) {
9008
+ function Kf(t) {
8983
9009
  const {
8984
9010
  previousConfig: e,
8985
9011
  newConfig: i,
@@ -8991,7 +9017,7 @@ function Jf(t) {
8991
9017
  selectionData: l,
8992
9018
  setTimeBinningInfoWhenNotProvided: c,
8993
9019
  chartLimits: u
8994
- } = t, { series: d } = i, { series: f } = e, m = Q(d);
9020
+ } = t, { series: d } = i, { series: f } = e, m = $(d);
8995
9021
  let g = !1, y = !1, p = !1;
8996
9022
  const F = {
8997
9023
  common: {
@@ -9057,7 +9083,7 @@ function Jf(t) {
9057
9083
  F.common.numberOfSeriesChanged = lr(f, d);
9058
9084
  break;
9059
9085
  case h.BoxPlotSeries:
9060
- de(e) && de(i) && (F.common.numberOfSeriesChanged = lr(f, d), F.boxPlot.showMeanChanged = wa(e, i));
9086
+ fe(e) && fe(i) && (F.common.numberOfSeriesChanged = lr(f, d), F.boxPlot.showMeanChanged = wa(e, i));
9061
9087
  break;
9062
9088
  case h.GaugeSeries:
9063
9089
  F.gauge.valueConversionChanged = La(e, i), F.gauge.minMaxFromFieldsChanged = Pa(
@@ -9066,7 +9092,7 @@ function Jf(t) {
9066
9092
  );
9067
9093
  break;
9068
9094
  case h.HeatSeries:
9069
- Ge(e) && Ge(i) && (F.heatChart.binningChanged = Ma(e, i), F.heatChart.hideEmptyRowsAndColumnsChanged = Yu(
9095
+ We(e) && We(i) && (F.heatChart.binningChanged = Ma(e, i), F.heatChart.hideEmptyRowsAndColumnsChanged = Yu(
9070
9096
  e,
9071
9097
  i
9072
9098
  ), F.heatChart.includeLeapDay = Zu(e, i));
@@ -9081,7 +9107,7 @@ function Jf(t) {
9081
9107
  }
9082
9108
  return y = Object.values(F.common).some((x) => x), (F.gauge.valueConversionChanged || F.gauge.minMaxFromFieldsChanged || F.histogram.dataPropsChanged || F.boxPlot.showMeanChanged || F.heatChart.binningChanged || F.heatChart.hideEmptyRowsAndColumnsChanged || F.heatChart.includeLeapDay || F.scatterPlot.tooltipFieldsChanged) && (p = !0), g = y || p, { dataUpdateNeeded: g, dataUpdateDetails: F };
9083
9109
  }
9084
- function Kf(t, e) {
9110
+ function em(t, e) {
9085
9111
  const i = Re(t);
9086
9112
  if (i && i.series.length > 1) {
9087
9113
  const { preferLabel: r, orderBy: a } = i.orderOptions?.series ?? {};
@@ -9094,7 +9120,7 @@ function Kf(t, e) {
9094
9120
  n = "name";
9095
9121
  i.series.sort((s, o) => {
9096
9122
  let l, c;
9097
- n === "splitByValue" ? (l = fe({ where: s.query?.where }) ?? "", c = fe({ where: o.query?.where }) ?? "") : (l = s.name, c = o.name);
9123
+ n === "splitByValue" ? (l = ce({ where: s.query?.where }) ?? "", c = ce({ where: o.query?.where }) ?? "") : (l = s.name, c = o.name);
9098
9124
  const [u, d] = a.toUpperCase() === ye.Descending ? [c, l] : [l, c];
9099
9125
  return typeof u == "string" && typeof d == "string" ? u.localeCompare(d) : Number(u) - Number(d);
9100
9126
  });
@@ -9131,10 +9157,10 @@ function Ia(t) {
9131
9157
  r = t.series[0].x;
9132
9158
  else {
9133
9159
  r === Ee.Mean ? r = q.Average : r === Ee.Median && (r = q.Median);
9134
- const n = e === S.BoxPlotC4MultiFieldsAndCategory && typeof t.series[0].y == "string" ? t.series[0].y : void 0, s = ae(t.series[0].query?.where), o = fe({
9160
+ const n = e === S.BoxPlotC4MultiFieldsAndCategory && typeof t.series[0].y == "string" ? t.series[0].y : void 0, s = re(t.series[0].query?.where), o = ce({
9135
9161
  where: t.series[0].query?.where
9136
9162
  });
9137
- r = re({
9163
+ r = ae({
9138
9164
  key: r,
9139
9165
  y: n,
9140
9166
  chartSubType: e,
@@ -9157,7 +9183,7 @@ function Da(t) {
9157
9183
  const c = t.orderOptions.data && "preferLabel" in t.orderOptions.data ? t.orderOptions.data.preferLabel : !0;
9158
9184
  if (o = t.orderOptions?.data?.orderType ?? Ee.Category, l = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : void 0, o === Ee.Category ? a ? o = me : o = c ? i : St.originalXValue : o = a ? Ne : [r].flat()[0], o !== void 0 && o !== "") {
9159
9185
  const u = Si(t);
9160
- if (Q(t.series) !== h.PieSeries && o !== i && t.series?.length > 1)
9186
+ if ($(t.series) !== h.PieSeries && o !== i && t.series?.length > 1)
9161
9187
  switch (u) {
9162
9188
  case Ae.Stacked:
9163
9189
  o = C.technicalSortingFieldBySum;
@@ -9184,15 +9210,15 @@ function Da(t) {
9184
9210
  }
9185
9211
  function _t(t) {
9186
9212
  let e;
9187
- const i = Q(t?.series);
9213
+ const i = $(t?.series);
9188
9214
  if (t?.series && t.series.length > 0) {
9189
9215
  let r;
9190
9216
  switch (i) {
9191
9217
  case h.HeatSeries:
9192
- Ge(t) && (e = Di(t));
9218
+ We(t) && (e = Di(t));
9193
9219
  break;
9194
9220
  case h.BoxPlotSeries:
9195
- de(t) && (r = Ia(t));
9221
+ fe(t) && (r = Ia(t));
9196
9222
  break;
9197
9223
  case h.LineSeries:
9198
9224
  case h.BarSeries:
@@ -9206,8 +9232,8 @@ function _t(t) {
9206
9232
  }
9207
9233
  return e;
9208
9234
  }
9209
- function em(t) {
9210
- const { oldConfig: e, newConfig: i, dataWasUpdated: r } = t, a = Q(i.series), n = z(i.series);
9235
+ function tm(t) {
9236
+ const { oldConfig: e, newConfig: i, dataWasUpdated: r } = t, a = $(i.series), n = z(i.series);
9211
9237
  let s = !1, o = !1;
9212
9238
  if (n !== S.BoxPlotC1MonoField && n !== S.BoxPlotC5MonoFieldAndSplitBy && i.orderOptions?.data !== void 0) {
9213
9239
  const l = _t(e), c = _t(i);
@@ -9221,10 +9247,10 @@ function em(t) {
9221
9247
  }
9222
9248
  return s;
9223
9249
  }
9224
- function tm(t) {
9250
+ function im(t) {
9225
9251
  return t?.fillSymbol ?? (Es(t?.symbol) ? t?.symbol : void 0);
9226
9252
  }
9227
- const im = {
9253
+ const rm = {
9228
9254
  getPieChartChartSubType: xa,
9229
9255
  getBarLineChartSubType: Ca,
9230
9256
  hasQueryChanged: va,
@@ -9247,296 +9273,297 @@ function tc(t) {
9247
9273
  return i && "nullCategory" in i && (e = i.nullCategory?.text), e;
9248
9274
  }
9249
9275
  export {
9250
- Bf as $,
9276
+ vf as $,
9251
9277
  oe as A,
9252
9278
  Br as B,
9253
- Dt as C,
9279
+ Ot as C,
9254
9280
  _r as D,
9255
9281
  Sn as E,
9256
9282
  $c as F,
9257
9283
  od as G,
9258
9284
  ar as H,
9259
- uf as I,
9285
+ cf as I,
9260
9286
  Kl as J,
9261
9287
  Gd as K,
9262
- We as L,
9288
+ je as L,
9263
9289
  Me as M,
9264
- ae as N,
9265
- fe as O,
9290
+ re as N,
9291
+ ce as O,
9266
9292
  q as P,
9267
- re as Q,
9293
+ ae as Q,
9268
9294
  Ba as R,
9269
- cf as S,
9295
+ df as S,
9270
9296
  fd as T,
9271
9297
  ue as U,
9272
9298
  ds as V,
9273
- de as W,
9299
+ fe as W,
9274
9300
  Gc as X,
9275
9301
  Ce as Y,
9276
9302
  sd as Z,
9277
9303
  De as _,
9278
9304
  xd as a,
9279
- Uf as a$,
9305
+ Zf as a$,
9280
9306
  _l as a0,
9281
9307
  or as a1,
9282
- Af as a2,
9283
- na as a3,
9284
- $s as a4,
9285
- Tf as a5,
9286
- En as a6,
9287
- Nf as a7,
9288
- Qc as a8,
9289
- Zd as a9,
9290
- Wf as aA,
9291
- kc as aB,
9292
- kd as aC,
9293
- kf as aD,
9294
- $f as aE,
9295
- dd as aF,
9296
- ui as aG,
9297
- St as aH,
9298
- Qd as aI,
9299
- ss as aJ,
9300
- nd as aK,
9301
- ed as aL,
9302
- Ge as aM,
9303
- Ct as aN,
9304
- Cu as aO,
9305
- _i as aP,
9306
- pe as aQ,
9307
- Ve as aR,
9308
- md as aS,
9309
- Or as aT,
9310
- Il as aU,
9311
- Sf as aV,
9312
- Pl as aW,
9313
- Ed as aX,
9314
- qd as aY,
9315
- Od as aZ,
9316
- Yf as a_,
9317
- Kd as aa,
9318
- bt as ab,
9319
- mf as ac,
9320
- Er as ad,
9321
- Vd as ae,
9322
- Ol as af,
9323
- tr as ag,
9324
- Dd as ah,
9325
- rf as ai,
9326
- wf as aj,
9327
- nr as ak,
9328
- Rd as al,
9329
- Yd as am,
9330
- $d as an,
9331
- tm as ao,
9332
- vf as ap,
9333
- ze as aq,
9334
- _d as ar,
9335
- cd as as,
9336
- le as at,
9337
- em as au,
9338
- Qf as av,
9339
- zf as aw,
9308
+ wf as a2,
9309
+ jd as a3,
9310
+ na as a4,
9311
+ $s as a5,
9312
+ Nf as a6,
9313
+ En as a7,
9314
+ Af as a8,
9315
+ Qc as a9,
9316
+ Uf as aA,
9317
+ Wf as aB,
9318
+ jf as aC,
9319
+ kc as aD,
9320
+ kd as aE,
9321
+ Qf as aF,
9322
+ kf as aG,
9323
+ dd as aH,
9324
+ ui as aI,
9325
+ St as aJ,
9326
+ Qd as aK,
9327
+ ss as aL,
9328
+ nd as aM,
9329
+ ed as aN,
9330
+ We as aO,
9331
+ Bt as aP,
9332
+ Cu as aQ,
9333
+ _i as aR,
9334
+ pe as aS,
9335
+ Ve as aT,
9336
+ md as aU,
9337
+ Or as aV,
9338
+ Ff as aW,
9339
+ Pl as aX,
9340
+ Ed as aY,
9341
+ qd as aZ,
9342
+ Od as a_,
9343
+ Jd as aa,
9344
+ ef as ab,
9345
+ bt as ac,
9346
+ gf as ad,
9347
+ Er as ae,
9348
+ Vd as af,
9349
+ Ol as ag,
9350
+ Il as ah,
9351
+ tr as ai,
9352
+ Dd as aj,
9353
+ af as ak,
9354
+ Lf as al,
9355
+ nr as am,
9356
+ Rd as an,
9357
+ Zd as ao,
9358
+ $d as ap,
9359
+ im as aq,
9360
+ Tf as ar,
9361
+ Ge as as,
9362
+ _d as at,
9363
+ cd as au,
9364
+ le as av,
9365
+ tm as aw,
9340
9366
  _f as ax,
9341
- Hf as ay,
9342
- Gf as az,
9367
+ Gf as ay,
9368
+ Hf as az,
9343
9369
  bd as b,
9344
- wd as b$,
9345
- Df as b0,
9346
- Xf as b1,
9347
- Zf as b2,
9348
- Rf as b3,
9349
- Ef as b4,
9350
- Of as b5,
9351
- qf as b6,
9352
- Yu as b7,
9353
- ud as b8,
9354
- Pi as b9,
9355
- td as bA,
9356
- Ff as bB,
9357
- Bd as bC,
9358
- gf as bD,
9359
- ks as bE,
9360
- gd as bF,
9361
- ft as bG,
9362
- fu as bH,
9363
- Hl as bI,
9364
- Cd as bJ,
9365
- Pf as bK,
9366
- Ud as bL,
9367
- zd as bM,
9368
- Kf as bN,
9369
- df as bO,
9370
- ii as bP,
9371
- Xc as bQ,
9372
- pf as bR,
9373
- Fa as bS,
9374
- ot as bT,
9375
- Ii as bU,
9376
- qn as bV,
9377
- ia as bW,
9378
- Fe as bX,
9379
- Nu as bY,
9380
- hf as bZ,
9381
- Vs as b_,
9382
- Bn as ba,
9383
- Wu as bb,
9384
- Jf as bc,
9385
- Jd as bd,
9386
- ef as be,
9387
- zr as bf,
9388
- $ as bg,
9389
- jc as bh,
9390
- Hd as bi,
9391
- ha as bj,
9392
- Zl as bk,
9393
- yd as bl,
9394
- yf as bm,
9395
- Jc as bn,
9396
- ql as bo,
9397
- ir as bp,
9398
- El as bq,
9399
- Uc as br,
9400
- Lf as bs,
9401
- sf as bt,
9402
- so as bu,
9403
- tf as bv,
9404
- Be as bw,
9405
- Wd as bx,
9406
- lr as by,
9407
- jd as bz,
9370
+ Vs as b$,
9371
+ zf as b0,
9372
+ Of as b1,
9373
+ Yf as b2,
9374
+ Jf as b3,
9375
+ Vf as b4,
9376
+ qf as b5,
9377
+ Ef as b6,
9378
+ Rf as b7,
9379
+ Yu as b8,
9380
+ ud as b9,
9381
+ Xd as bA,
9382
+ td as bB,
9383
+ bf as bC,
9384
+ Bd as bD,
9385
+ yf as bE,
9386
+ ks as bF,
9387
+ gd as bG,
9388
+ ft as bH,
9389
+ fu as bI,
9390
+ Hl as bJ,
9391
+ Cd as bK,
9392
+ Mf as bL,
9393
+ Ud as bM,
9394
+ zd as bN,
9395
+ em as bO,
9396
+ ff as bP,
9397
+ ii as bQ,
9398
+ Xc as bR,
9399
+ hf as bS,
9400
+ Fa as bT,
9401
+ ot as bU,
9402
+ Ii as bV,
9403
+ qn as bW,
9404
+ ia as bX,
9405
+ Fe as bY,
9406
+ Nu as bZ,
9407
+ Sf as b_,
9408
+ Pi as ba,
9409
+ Bn as bb,
9410
+ Wu as bc,
9411
+ Kf as bd,
9412
+ Kd as be,
9413
+ tf as bf,
9414
+ zr as bg,
9415
+ k as bh,
9416
+ jc as bi,
9417
+ Hd as bj,
9418
+ ha as bk,
9419
+ Zl as bl,
9420
+ yd as bm,
9421
+ pf as bn,
9422
+ Jc as bo,
9423
+ ql as bp,
9424
+ ir as bq,
9425
+ El as br,
9426
+ Uc as bs,
9427
+ Pf as bt,
9428
+ of as bu,
9429
+ so as bv,
9430
+ rf as bw,
9431
+ Be as bx,
9432
+ Wd as by,
9433
+ lr as bz,
9408
9434
  ad as c,
9409
- Vn as c$,
9410
- Ld as c0,
9411
- Td as c1,
9412
- Rs as c2,
9413
- Nd as c3,
9414
- Kc as c4,
9415
- fa as c5,
9416
- _e as c6,
9417
- wi as c7,
9418
- id as c8,
9419
- pa as c9,
9420
- Ms as cA,
9421
- Yn as cB,
9422
- lu as cC,
9423
- Fu as cD,
9424
- ff as cE,
9425
- Mu as cF,
9426
- Uu as cG,
9427
- at as cH,
9428
- bi as cI,
9429
- _t as cJ,
9430
- ya as cK,
9431
- yi as cL,
9432
- pi as cM,
9433
- xf as cN,
9434
- ec as cO,
9435
- yu as cP,
9436
- ma as cQ,
9437
- pu as cR,
9438
- ga as cS,
9439
- Nn as cT,
9440
- Yt as cU,
9441
- zn as cV,
9442
- Pr as cW,
9443
- tc as cX,
9444
- Ar as cY,
9445
- Lr as cZ,
9446
- $n as c_,
9447
- af as ca,
9448
- bf as cb,
9449
- Y as cc,
9450
- hd as cd,
9451
- ti as ce,
9452
- ku as cf,
9453
- Qu as cg,
9454
- Tu as ch,
9455
- Au as ci,
9456
- Sd as cj,
9457
- Fd as ck,
9458
- qs as cl,
9459
- Id as cm,
9460
- Bu as cn,
9461
- da as co,
9462
- Qs as cp,
9463
- pd as cq,
9464
- im as cr,
9465
- He as cs,
9466
- of as ct,
9467
- Nr as cu,
9468
- Wc as cv,
9469
- vn as cw,
9470
- Tn as cx,
9471
- Lu as cy,
9472
- wu as cz,
9473
- lf as d,
9474
- $t as d0,
9475
- Os as d1,
9476
- Jn as d2,
9477
- mu as d3,
9478
- bu as d4,
9479
- cu as d5,
9480
- xu as d6,
9481
- Su as d7,
9482
- hu as d8,
9483
- vo as d9,
9484
- wn as dA,
9485
- Ln as dB,
9486
- Mn as dC,
9487
- In as dD,
9488
- Pn as dE,
9489
- Zc as dF,
9490
- Bt as dG,
9491
- On as dH,
9492
- Rl as dI,
9493
- Zi as dJ,
9494
- _u as dK,
9495
- Ju as da,
9496
- Ku as db,
9497
- Zu as dc,
9498
- Ad as dd,
9499
- vd as de,
9500
- xn as df,
9501
- Cn as dg,
9502
- Pd as dh,
9503
- kt as di,
9504
- Hc as dj,
9505
- Rn as dk,
9506
- _c as dl,
9507
- vu as dm,
9508
- zc as dn,
9509
- Tr as dp,
9510
- kl as dq,
9511
- Cf as dr,
9512
- Hn as ds,
9513
- Un as dt,
9514
- Qn as du,
9515
- xi as dv,
9516
- Ye as dw,
9517
- Yc as dx,
9518
- Qt as dy,
9519
- Ie as dz,
9435
+ $n as c$,
9436
+ wd as c0,
9437
+ Ld as c1,
9438
+ Td as c2,
9439
+ Rs as c3,
9440
+ Nd as c4,
9441
+ Kc as c5,
9442
+ fa as c6,
9443
+ _e as c7,
9444
+ wi as c8,
9445
+ id as c9,
9446
+ wu as cA,
9447
+ Ms as cB,
9448
+ Yn as cC,
9449
+ lu as cD,
9450
+ Fu as cE,
9451
+ mf as cF,
9452
+ Mu as cG,
9453
+ Uu as cH,
9454
+ nt as cI,
9455
+ bi as cJ,
9456
+ _t as cK,
9457
+ ya as cL,
9458
+ yi as cM,
9459
+ pi as cN,
9460
+ Cf as cO,
9461
+ ec as cP,
9462
+ yu as cQ,
9463
+ ma as cR,
9464
+ pu as cS,
9465
+ ga as cT,
9466
+ Nn as cU,
9467
+ Yt as cV,
9468
+ zn as cW,
9469
+ Pr as cX,
9470
+ tc as cY,
9471
+ Ar as cZ,
9472
+ Lr as c_,
9473
+ pa as ca,
9474
+ nf as cb,
9475
+ xf as cc,
9476
+ Y as cd,
9477
+ hd as ce,
9478
+ ti as cf,
9479
+ ku as cg,
9480
+ Qu as ch,
9481
+ Tu as ci,
9482
+ Au as cj,
9483
+ Sd as ck,
9484
+ Fd as cl,
9485
+ qs as cm,
9486
+ Id as cn,
9487
+ Bu as co,
9488
+ da as cp,
9489
+ Qs as cq,
9490
+ pd as cr,
9491
+ rm as cs,
9492
+ He as ct,
9493
+ lf as cu,
9494
+ Nr as cv,
9495
+ Wc as cw,
9496
+ vn as cx,
9497
+ Tn as cy,
9498
+ Lu as cz,
9499
+ uf as d,
9500
+ Vn as d0,
9501
+ kt as d1,
9502
+ Os as d2,
9503
+ Jn as d3,
9504
+ mu as d4,
9505
+ bu as d5,
9506
+ cu as d6,
9507
+ xu as d7,
9508
+ Su as d8,
9509
+ hu as d9,
9510
+ Ie as dA,
9511
+ wn as dB,
9512
+ Ln as dC,
9513
+ Mn as dD,
9514
+ In as dE,
9515
+ Pn as dF,
9516
+ Zc as dG,
9517
+ vt as dH,
9518
+ On as dI,
9519
+ Rl as dJ,
9520
+ Zi as dK,
9521
+ _u as dL,
9522
+ vo as da,
9523
+ Ju as db,
9524
+ Ku as dc,
9525
+ Zu as dd,
9526
+ Ad as de,
9527
+ vd as df,
9528
+ xn as dg,
9529
+ Cn as dh,
9530
+ Pd as di,
9531
+ Ct as dj,
9532
+ Hc as dk,
9533
+ Rn as dl,
9534
+ _c as dm,
9535
+ vu as dn,
9536
+ zc as dp,
9537
+ Tr as dq,
9538
+ kl as dr,
9539
+ Bf as ds,
9540
+ Hn as dt,
9541
+ Un as du,
9542
+ Qn as dv,
9543
+ xi as dw,
9544
+ Ze as dx,
9545
+ Yc as dy,
9546
+ Qt as dz,
9520
9547
  ld as e,
9521
9548
  Ni as f,
9522
- If as g,
9523
- Vf as h,
9549
+ Df as g,
9550
+ $f as h,
9524
9551
  Es as i,
9525
- jf as j,
9526
- Xd as k,
9552
+ Xf as j,
9553
+ Yd as k,
9527
9554
  Ql as l,
9528
9555
  rd as m,
9529
9556
  Vc as n,
9530
- Mf as o,
9557
+ If as o,
9531
9558
  z as p,
9532
9559
  W as q,
9533
9560
  we as r,
9534
- nf as s,
9561
+ sf as s,
9535
9562
  ve as t,
9536
9563
  Xl as u,
9537
- qt as v,
9564
+ Rt as v,
9538
9565
  me as w,
9539
9566
  Md as x,
9540
9567
  Ne as y,
9541
- Ot as z
9568
+ Et as z
9542
9569
  };